@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,6 +1,6 @@
1
1
  var zt = Object.defineProperty;
2
2
  var Yt = (e, t, n) => t in e ? zt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
- var z = (e, t, n) => Yt(e, typeof t != "symbol" ? t + "" : t, n);
3
+ var Y = (e, t, n) => Yt(e, typeof t != "symbol" ? t + "" : t, n);
4
4
  import { ref as T, watch as Z, createVNode as M, resolveComponent as Xt, createTextVNode as Oe, computed as B, defineComponent as ye, onBeforeUnmount as Kt, onMounted as Ve, nextTick as lt, reactive as dt, withDirectives as Ut, resolveDirective as Qt, Fragment as Ae, mergeProps as Ze, createApp as Jt, onUnmounted as Zt, inject as en } from "vue";
5
5
  import { cloneDeep as Te } from "lodash-es";
6
6
  import "@farris/ui-vue/components/modal";
@@ -64,8 +64,9 @@ import lo from "@farris/ui-vue/components/weather";
64
64
  import so from "@farris/ui-vue/components/video";
65
65
  import uo from "@farris/ui-vue/components/textarea";
66
66
  import co from "@farris/ui-vue/components/schema-selector";
67
+ import fo from "@farris/ui-vue/components/tree-grid";
67
68
  import "@farris/ui-vue/components/external-container";
68
- import { withInstall as fo } from "@farris/ui-vue/components/common";
69
+ import { withInstall as ho } from "@farris/ui-vue/components/common";
69
70
  const ft = {}, ht = {};
70
71
  function et(e) {
71
72
  const { properties: t, title: n } = e, o = Object.keys(t).reduce((r, l) => (r[l] = t[l].type === "object" && t[l].properties ? et(t[l]) : Te(t[l].default), r), {});
@@ -80,11 +81,11 @@ function Qe(e, t = {}) {
80
81
  }
81
82
  return null;
82
83
  }
83
- function ho(e, t) {
84
+ function po(e, t) {
84
85
  const n = et(t);
85
86
  return Object.keys(e).reduce((o, r) => (o[r] = e[r], o), n), n;
86
87
  }
87
- function po(e, t) {
88
+ function vo(e, t) {
88
89
  return Object.keys(e).filter((o) => e[o] != null).reduce((o, r) => {
89
90
  if (t.has(r)) {
90
91
  const l = t.get(r);
@@ -99,11 +100,11 @@ function po(e, t) {
99
100
  return o;
100
101
  }, {});
101
102
  }
102
- function vo(e, t, n = /* @__PURE__ */ new Map()) {
103
- const o = ho(e, t);
104
- return po(o, n);
103
+ function mo(e, t, n = /* @__PURE__ */ new Map()) {
104
+ const o = po(e, t);
105
+ return vo(o, n);
105
106
  }
106
- function mo(e = {}) {
107
+ function go(e = {}) {
107
108
  function t(h, u, s, c) {
108
109
  if (typeof s == "number")
109
110
  return c[h].length === s;
@@ -157,24 +158,24 @@ function mo(e = {}) {
157
158
  }
158
159
  return { parseValueSchema: p };
159
160
  }
160
- const go = {}, yo = {};
161
- mo();
161
+ const yo = {}, _o = {};
162
+ go();
162
163
  function Ee(e, t, n = /* @__PURE__ */ new Map(), o = (f, C, p) => C, r = {}, l = (f) => f) {
163
- return ft[t.title] = t, ht[t.title] = o, go[t.title] = r, yo[t.title] = l, (f = {}) => {
164
- const C = vo(f, t, n), p = Object.keys(e).reduce((h, u) => (h[u] = e[u].default, h), {});
164
+ return ft[t.title] = t, ht[t.title] = o, yo[t.title] = r, _o[t.title] = l, (f = {}) => {
165
+ const C = mo(f, t, n), p = Object.keys(e).reduce((h, u) => (h[u] = e[u].default, h), {});
165
166
  return Object.assign(p, C);
166
167
  };
167
168
  }
168
169
  function tt(e, t) {
169
170
  return { customClass: t.class, customStyle: t.style };
170
171
  }
171
- const _o = /* @__PURE__ */ new Map([
172
+ const bo = /* @__PURE__ */ new Map([
172
173
  ["appearance", tt]
173
174
  ]);
174
- function bo(e, t, n) {
175
+ function wo(e, t, n) {
175
176
  return t;
176
177
  }
177
- const wo = "tree-view", Co = "A Farris Component", So = "object", xo = {
178
+ const Co = "tree-view", So = "A Farris Component", xo = "object", Fo = {
178
179
  basic: {
179
180
  description: "Basic Infomation",
180
181
  title: "基本信息",
@@ -196,12 +197,12 @@ const wo = "tree-view", Co = "A Farris Component", So = "object", xo = {
196
197
  }
197
198
  }
198
199
  }
199
- }, Fo = {
200
- title: wo,
201
- description: Co,
202
- type: So,
203
- categories: xo
204
- }, Oo = "https://json-schema.org/draft/2020-12/schema", To = "https://farris-design.gitee.io/tree-view.schema.json", ko = "tree-view", Io = "A Farris Component", No = "object", Vo = {
200
+ }, Oo = {
201
+ title: Co,
202
+ description: So,
203
+ type: xo,
204
+ categories: Fo
205
+ }, To = "https://json-schema.org/draft/2020-12/schema", ko = "https://farris-design.gitee.io/tree-view.schema.json", Io = "tree-view", No = "A Farris Component", Vo = "object", Eo = {
205
206
  id: {
206
207
  description: "The unique identifier for tree-view",
207
208
  type: "string"
@@ -263,17 +264,17 @@ const wo = "tree-view", Co = "A Farris Component", So = "object", xo = {
263
264
  type: "boolean",
264
265
  default: !0
265
266
  }
266
- }, Eo = [
267
+ }, Ro = [
267
268
  "id",
268
269
  "type"
269
- ], Ro = {
270
- $schema: Oo,
271
- $id: To,
272
- title: ko,
273
- description: Io,
274
- type: No,
275
- properties: Vo,
276
- required: Eo
270
+ ], Bo = {
271
+ $schema: To,
272
+ $id: ko,
273
+ title: Io,
274
+ description: No,
275
+ type: Vo,
276
+ properties: Eo,
277
+ required: Ro
277
278
  }, nt = {
278
279
  /** 列集合 */
279
280
  columns: {
@@ -359,7 +360,7 @@ const wo = "tree-view", Co = "A Farris Component", So = "object", xo = {
359
360
  },
360
361
  /** 行配置 */
361
362
  rowOption: { type: Object }
362
- }, pt = Ee(nt, Ro, _o, bo, Fo);
363
+ }, pt = Ee(nt, Bo, bo, wo, Oo);
363
364
  var pe = /* @__PURE__ */ ((e) => (e[e.readonly = 0] = "readonly", e[e.editable = 1] = "editable", e[e.editing = 2] = "editing", e))(pe || {}), ge = /* @__PURE__ */ ((e) => (e[e.initial = 0] = "initial", e[e.editing = 1] = "editing", e))(ge || {}), Ne = /* @__PURE__ */ ((e) => (e[e.data = 0] = "data", e[e.group = 1] = "group", e[e.summary = 2] = "summary", e))(Ne || {});
364
365
  function ot(e, t) {
365
366
  var I;
@@ -437,7 +438,7 @@ function ot(e, t) {
437
438
  summaryCellPosition: C
438
439
  };
439
440
  }
440
- function Bo(e, t, n) {
441
+ function Mo(e, t, n) {
441
442
  const { hasChildrenField: o } = n, r = T("#9399a0"), l = T(28);
442
443
  function f() {
443
444
  return [].concat(
@@ -476,7 +477,7 @@ function Bo(e, t, n) {
476
477
  }
477
478
  return { hierarchyCellContentStyle: h, handleCollapsedPaddingBottom: p };
478
479
  }
479
- function Mo(e, t, n) {
480
+ function $o(e, t, n) {
480
481
  const o = T(e.iconField);
481
482
  function r(l, f) {
482
483
  if (o.value)
@@ -503,7 +504,7 @@ function rt() {
503
504
  }
504
505
  return { updateRowPosition: e, updateVisualInfomation: t };
505
506
  }
506
- function $o(e, t, n, o, r, l) {
507
+ function Po(e, t, n, o, r, l) {
507
508
  const { dataView: f, fold: C, hasRealChildren: p, unFold: h } = o, { collapseField: u, hasChildrenField: s } = r, { updateRowPosition: c } = rt();
508
509
  function I(O, _) {
509
510
  const g = _[O].layer;
@@ -540,7 +541,7 @@ function $o(e, t, n, o, r, l) {
540
541
  }
541
542
  return { toggleTreeNode: w };
542
543
  }
543
- function Po(e, t, n, o, r, l, f, C, p, h, u) {
544
+ function jo(e, t, n, o, r, l, f, C, p, h, u) {
544
545
  const {
545
546
  onClickCell: s
546
547
  } = l, {
@@ -560,7 +561,7 @@ function Po(e, t, n, o, r, l, f, C, p, h, u) {
560
561
  shouldShowIcon: i
561
562
  } = f, {
562
563
  toggleTreeNode: b
563
- } = $o(e, t, o, r, f), {
564
+ } = Po(e, t, o, r, f), {
564
565
  toggleSelectHierarchyItem: R
565
566
  } = h, {
566
567
  cellKey: m,
@@ -569,9 +570,9 @@ function Po(e, t, n, o, r, l, f, C, p, h, u) {
569
570
  rowPosition: x
570
571
  } = ot(e, n), {
571
572
  hierarchyCellContentStyle: y
572
- } = Bo(e, o, f), {
573
+ } = Mo(e, o, f), {
573
574
  treeNodeIconsClass: F
574
- } = Mo(e, v, d);
575
+ } = $o(e, v, d);
575
576
  function N(j, D) {
576
577
  const ne = j.raw[d.value];
577
578
  return {
@@ -648,7 +649,7 @@ function Po(e, t, n, o, r, l, f, C, p, h, u) {
648
649
  renderDataRow: be
649
650
  };
650
651
  }
651
- function jo() {
652
+ function Ao() {
652
653
  function e(o, r) {
653
654
  switch (o.command) {
654
655
  case "edit":
@@ -830,11 +831,11 @@ const gt = {
830
831
  */
831
832
  isControlInline: { type: Boolean, default: !0 }
832
833
  };
833
- class Ao {
834
+ class Do {
834
835
  constructor(t = { value: [] }) {
835
- z(this, "editorType", "check-box");
836
- z(this, "value");
837
- z(this, "valueType", "boolean");
836
+ Y(this, "editorType", "check-box");
837
+ Y(this, "value");
838
+ Y(this, "valueType", "boolean");
838
839
  this.value = t.value;
839
840
  }
840
841
  clear() {
@@ -850,13 +851,13 @@ class Ao {
850
851
  return this.value.length === 0;
851
852
  }
852
853
  }
853
- class Do {
854
+ class Ho {
854
855
  constructor(t = { textValue: "", value: "", valueField: "" }) {
855
- z(this, "editorType", "combo-lookup");
856
- z(this, "textValue");
857
- z(this, "value");
858
- z(this, "valueField");
859
- z(this, "valueType", "text");
856
+ Y(this, "editorType", "combo-lookup");
857
+ Y(this, "textValue");
858
+ Y(this, "value");
859
+ Y(this, "valueField");
860
+ Y(this, "valueType", "text");
860
861
  this.textValue = t.textValue, this.value = t.value, this.valueField = t.valueField;
861
862
  }
862
863
  clear() {
@@ -884,11 +885,11 @@ class Do {
884
885
  return !this.valueField;
885
886
  }
886
887
  }
887
- class Ho {
888
+ class Lo {
888
889
  constructor(t = { value: "" }) {
889
- z(this, "editorType", "date-picker");
890
- z(this, "value");
891
- z(this, "valueType", "datetime");
890
+ Y(this, "editorType", "date-picker");
891
+ Y(this, "value");
892
+ Y(this, "valueType", "datetime");
892
893
  this.value = t.value;
893
894
  }
894
895
  setValue(t) {
@@ -906,10 +907,10 @@ class Ho {
906
907
  }
907
908
  class st {
908
909
  constructor(t = { begin: "", end: "" }) {
909
- z(this, "editorType", "date-range");
910
- z(this, "begin", "");
911
- z(this, "end", "");
912
- z(this, "valueType", "datetime");
910
+ Y(this, "editorType", "date-range");
911
+ Y(this, "begin", "");
912
+ Y(this, "end", "");
913
+ Y(this, "valueType", "datetime");
913
914
  this.begin = t.begin, this.end = t.end;
914
915
  }
915
916
  clear() {
@@ -925,11 +926,11 @@ class st {
925
926
  return !this.begin || !this.end;
926
927
  }
927
928
  }
928
- class Lo {
929
+ class Go {
929
930
  constructor(t = { value: "" }) {
930
- z(this, "editorType", "datetime-picker");
931
- z(this, "value");
932
- z(this, "valueType", "datetime");
931
+ Y(this, "editorType", "datetime-picker");
932
+ Y(this, "value");
933
+ Y(this, "valueType", "datetime");
933
934
  this.value = t.value;
934
935
  }
935
936
  clear() {
@@ -945,14 +946,14 @@ class Lo {
945
946
  return !this.value;
946
947
  }
947
948
  }
948
- class Go {
949
+ class Wo {
949
950
  // 旧结构无,新结构为选中的value值,多选是以,分割的字符串
950
951
  constructor(t = { value: "", dispalyText: "" }) {
951
- z(this, "editorType", "combo-list");
952
- z(this, "value");
952
+ Y(this, "editorType", "combo-list");
953
+ Y(this, "value");
953
954
  // 旧结构{Type: '', Content: {value: string, name: string}} 新结构Array[{value: string, name: string}]
954
- z(this, "valueType", "enum");
955
- z(this, "displayText");
955
+ Y(this, "valueType", "enum");
956
+ Y(this, "displayText");
956
957
  this.displayText = t.dispalyText, this.value = t.value;
957
958
  }
958
959
  clear() {
@@ -968,18 +969,18 @@ class Go {
968
969
  return !this.displayText;
969
970
  }
970
971
  }
971
- class Wo {
972
+ class qo {
972
973
  constructor(t = { value: [], displayText: "", displayField: "", isInputText: !1 }) {
973
- z(this, "editorType", "input-group");
974
+ Y(this, "editorType", "input-group");
974
975
  // 通过弹窗返回的若干个值对象构成的数组
975
- z(this, "value");
976
- z(this, "valueType", "text");
976
+ Y(this, "value");
977
+ Y(this, "valueType", "text");
977
978
  // 控件内显示的值
978
- z(this, "displayText");
979
+ Y(this, "displayText");
979
980
  // 弹窗模式下,取列表中哪个字段的值映射到当前字段
980
- z(this, "valueField");
981
+ Y(this, "valueField");
981
982
  // 是否是手动输入的值
982
- z(this, "isInputText");
983
+ Y(this, "isInputText");
983
984
  this.value = t.value, this.displayText = t.displayText, this.valueField = t.displayField, this.isInputText = t.isInputText;
984
985
  }
985
986
  clear() {
@@ -1007,15 +1008,15 @@ class Wo {
1007
1008
  return !this.displayText;
1008
1009
  }
1009
1010
  }
1010
- class qo {
1011
+ class zo {
1011
1012
  constructor(t = { textValue: "", value: [], valueField: "", isInputText: !1 }) {
1012
- z(this, "editorType", "lookup");
1013
- z(this, "textValue");
1014
- z(this, "value");
1015
- z(this, "valueField");
1016
- z(this, "valueType", "text");
1013
+ Y(this, "editorType", "lookup");
1014
+ Y(this, "textValue");
1015
+ Y(this, "value");
1016
+ Y(this, "valueField");
1017
+ Y(this, "valueType", "text");
1017
1018
  // 帮助的值是否为手动输入的任意值,对应帮助的任意输入属性nosearch
1018
- z(this, "isInputText");
1019
+ Y(this, "isInputText");
1019
1020
  this.value = t.value, this.valueField = t.valueField, this.textValue = t.textValue, this.isInputText = t.isInputText;
1020
1021
  }
1021
1022
  clear() {
@@ -1043,11 +1044,11 @@ class qo {
1043
1044
  return !this.value.length;
1044
1045
  }
1045
1046
  }
1046
- class zo {
1047
+ class Yo {
1047
1048
  constructor(t = { value: "" }) {
1048
- z(this, "editorType", "month-picker");
1049
- z(this, "value");
1050
- z(this, "valueType", "datetime");
1049
+ Y(this, "editorType", "month-picker");
1050
+ Y(this, "value");
1051
+ Y(this, "valueType", "datetime");
1051
1052
  this.value = t.value;
1052
1053
  }
1053
1054
  setValue(t) {
@@ -1063,12 +1064,12 @@ class zo {
1063
1064
  return !this.value;
1064
1065
  }
1065
1066
  }
1066
- class Yo {
1067
+ class Xo {
1067
1068
  constructor(t = { begin: "", end: "" }) {
1068
- z(this, "editorType", "month-range");
1069
- z(this, "begin");
1070
- z(this, "end");
1071
- z(this, "valueType", "datetime");
1069
+ Y(this, "editorType", "month-range");
1070
+ Y(this, "begin");
1071
+ Y(this, "end");
1072
+ Y(this, "valueType", "datetime");
1072
1073
  this.begin = t.begin, this.end = t.end;
1073
1074
  }
1074
1075
  clear() {
@@ -1084,12 +1085,12 @@ class Yo {
1084
1085
  return !this.begin || !this.end;
1085
1086
  }
1086
1087
  }
1087
- class Xo {
1088
+ class Ko {
1088
1089
  constructor(t = { begin: null, end: null }) {
1089
- z(this, "editorType", "number-range");
1090
- z(this, "begin");
1091
- z(this, "end");
1092
- z(this, "valueType", "number");
1090
+ Y(this, "editorType", "number-range");
1091
+ Y(this, "begin");
1092
+ Y(this, "end");
1093
+ Y(this, "valueType", "number");
1093
1094
  this.begin = t.begin == null ? null : parseFloat(t.begin), this.end = t.end == null ? null : parseFloat(t.end);
1094
1095
  }
1095
1096
  clear() {
@@ -1108,11 +1109,11 @@ class Xo {
1108
1109
  return this.begin == null && this.end == null;
1109
1110
  }
1110
1111
  }
1111
- class Ko {
1112
+ class Uo {
1112
1113
  constructor(t = { value: "" }) {
1113
- z(this, "editorType", "number-spinner");
1114
- z(this, "value");
1115
- z(this, "valueType", "number");
1114
+ Y(this, "editorType", "number-spinner");
1115
+ Y(this, "value");
1116
+ Y(this, "valueType", "number");
1116
1117
  this.value = t.value == null ? null : parseFloat(t.value);
1117
1118
  }
1118
1119
  clear() {
@@ -1128,11 +1129,11 @@ class Ko {
1128
1129
  return this.value == null;
1129
1130
  }
1130
1131
  }
1131
- class Uo {
1132
+ class Qo {
1132
1133
  constructor(t = { value: null }) {
1133
- z(this, "editorType", "radio-group");
1134
- z(this, "value");
1135
- z(this, "valueType", "enum");
1134
+ Y(this, "editorType", "radio-group");
1135
+ Y(this, "value");
1136
+ Y(this, "valueType", "enum");
1136
1137
  this.value = t.value;
1137
1138
  }
1138
1139
  clear() {
@@ -1150,9 +1151,9 @@ class Uo {
1150
1151
  }
1151
1152
  class yt {
1152
1153
  constructor(t = { value: "" }) {
1153
- z(this, "editorType", "text");
1154
- z(this, "value");
1155
- z(this, "valueType", "text");
1154
+ Y(this, "editorType", "text");
1155
+ Y(this, "value");
1156
+ Y(this, "valueType", "text");
1156
1157
  this.value = t.value;
1157
1158
  }
1158
1159
  clear() {
@@ -1172,33 +1173,33 @@ function _t() {
1172
1173
  function e(t, n) {
1173
1174
  switch (t) {
1174
1175
  case "check-box":
1175
- return new Ao(n);
1176
+ return new Do(n);
1176
1177
  case "combo-list":
1177
- return new Go(n);
1178
+ return new Wo(n);
1178
1179
  case "combo-lookup":
1179
- return new Do(n);
1180
+ return new Ho(n);
1180
1181
  case "input-group":
1181
- return new Wo(n);
1182
+ return new qo(n);
1182
1183
  case "date-picker":
1183
- return new Ho(n);
1184
+ return new Lo(n);
1184
1185
  case "date-range":
1185
1186
  return new st(n);
1186
1187
  case "datetime-picker":
1187
- return new Lo(n);
1188
+ return new Go(n);
1188
1189
  case "datetime-range":
1189
1190
  return new st(n);
1190
1191
  case "lookup":
1191
- return new qo(n);
1192
- case "month-picker":
1193
1192
  return new zo(n);
1194
- case "month-range":
1193
+ case "month-picker":
1195
1194
  return new Yo(n);
1196
- case "number-range":
1195
+ case "month-range":
1197
1196
  return new Xo(n);
1198
- case "number-spinner":
1197
+ case "number-range":
1199
1198
  return new Ko(n);
1200
- case "radio-group":
1199
+ case "number-spinner":
1201
1200
  return new Uo(n);
1201
+ case "radio-group":
1202
+ return new Qo(n);
1202
1203
  default:
1203
1204
  return new yt(n);
1204
1205
  }
@@ -1237,7 +1238,7 @@ function bt(e, t) {
1237
1238
  }
1238
1239
  return { convertToSingleControl: C, fields: n, fieldMap: r, fieldConditions: o, loadFieldConfigs: p, initialConditionValue: h };
1239
1240
  }
1240
- function Qo(e, t, n) {
1241
+ function Jo(e, t, n) {
1241
1242
  const o = T(null), r = T(n), l = T(0), f = B(() => h(l.value));
1242
1243
  function C() {
1243
1244
  r.value && (o.value = new ResizeObserver(p((u) => {
@@ -1274,7 +1275,7 @@ const ut = /* @__PURE__ */ ye({
1274
1275
  initialConditionValue: C,
1275
1276
  fieldMap: p,
1276
1277
  loadFieldConfigs: h
1277
- } = f, u = Qo(e, t, n), {
1278
+ } = f, u = Jo(e, t, n), {
1278
1279
  conditionClass: s,
1279
1280
  resizeObserver: c
1280
1281
  } = u;
@@ -1317,22 +1318,22 @@ const ut = /* @__PURE__ */ ye({
1317
1318
  }), at = /* @__PURE__ */ new Map([
1318
1319
  ["appearance", tt]
1319
1320
  ]);
1320
- function Jo(e, t, n, o) {
1321
+ function Zo(e, t, n, o) {
1321
1322
  const r = e.getSchemaByType("section");
1322
1323
  return r.id = `${o}-section`, r.appearance = { class: "f-section-form f-section-in-main" }, r.mainTitle = "标题", r.contents = [t], r;
1323
1324
  }
1324
- function Zo(e, t, n, o) {
1325
+ function er(e, t, n, o) {
1325
1326
  const r = e.getSchemaByType("component");
1326
1327
  return r.id = `${o}-component`, r.componentType = "form-col-1", r.appearance = {
1327
1328
  class: "f-struct-form f-struct-wrapper"
1328
1329
  }, r.contents = [t], r;
1329
1330
  }
1330
- function er(e, t, n) {
1331
+ function tr(e, t, n) {
1331
1332
  t.appearance = { class: "f-form-layout farris-form farris-form-controls-inline" };
1332
- const o = Jo(e, t, n, t.id);
1333
- return Zo(e, o, n, t.id);
1333
+ const o = Zo(e, t, n, t.id);
1334
+ return er(e, o, n, t.id);
1334
1335
  }
1335
- const tr = "https://json-schema.org/draft/2020-12/schema", nr = "https://farris-design.gitee.io/response-form.schema.json", or = "response-form", rr = "A Farris Data Collection Component", ar = "object", ir = {
1336
+ const nr = "https://json-schema.org/draft/2020-12/schema", or = "https://farris-design.gitee.io/response-form.schema.json", rr = "response-form", ar = "A Farris Data Collection Component", ir = "object", lr = {
1336
1337
  id: {
1337
1338
  description: "The unique identifier for a form group",
1338
1339
  type: "string"
@@ -1360,18 +1361,18 @@ const tr = "https://json-schema.org/draft/2020-12/schema", nr = "https://farris-
1360
1361
  type: "array",
1361
1362
  default: []
1362
1363
  }
1363
- }, lr = [
1364
+ }, sr = [
1364
1365
  "id",
1365
1366
  "type"
1366
- ], sr = {
1367
- $schema: tr,
1368
- $id: nr,
1369
- title: or,
1370
- description: rr,
1371
- type: ar,
1372
- properties: ir,
1373
- required: lr
1374
- }, ur = "response-form", cr = "A Farris Component", dr = "object", fr = {
1367
+ ], ur = {
1368
+ $schema: nr,
1369
+ $id: or,
1370
+ title: rr,
1371
+ description: ar,
1372
+ type: ir,
1373
+ properties: lr,
1374
+ required: sr
1375
+ }, cr = "response-form", dr = "A Farris Component", fr = "object", hr = {
1375
1376
  basic: {
1376
1377
  description: "Basic Infomation",
1377
1378
  title: "基本信息",
@@ -1393,16 +1394,16 @@ const tr = "https://json-schema.org/draft/2020-12/schema", nr = "https://farris-
1393
1394
  }
1394
1395
  }
1395
1396
  }
1396
- }, hr = {
1397
- title: ur,
1398
- description: cr,
1399
- type: dr,
1400
- categories: fr
1401
1397
  }, pr = {
1398
+ title: cr,
1399
+ description: dr,
1400
+ type: fr,
1401
+ categories: hr
1402
+ }, vr = {
1402
1403
  customClass: { type: String, default: "" }
1403
1404
  };
1404
- Ee(pr, sr, at, er, hr);
1405
- const vr = "https://json-schema.org/draft/2020-12/schema", mr = "https://farris-design.gitee.io/form-group.schema.json", gr = "form-group", yr = "A Farris Input Component", _r = "object", br = {
1405
+ Ee(vr, ur, at, tr, pr);
1406
+ const mr = "https://json-schema.org/draft/2020-12/schema", gr = "https://farris-design.gitee.io/form-group.schema.json", yr = "form-group", _r = "A Farris Input Component", br = "object", wr = {
1406
1407
  id: {
1407
1408
  description: "The unique identifier for a form group",
1408
1409
  type: "string"
@@ -1443,17 +1444,17 @@ const vr = "https://json-schema.org/draft/2020-12/schema", mr = "https://farris-
1443
1444
  description: "",
1444
1445
  type: "number"
1445
1446
  }
1446
- }, wr = [
1447
+ }, Cr = [
1447
1448
  "id",
1448
1449
  "type"
1449
1450
  ], wt = {
1450
- $schema: vr,
1451
- $id: mr,
1452
- title: gr,
1453
- description: yr,
1454
- type: _r,
1455
- properties: br,
1456
- required: wr
1451
+ $schema: mr,
1452
+ $id: gr,
1453
+ title: yr,
1454
+ description: _r,
1455
+ type: br,
1456
+ properties: wr,
1457
+ required: Cr
1457
1458
  }, Ct = {
1458
1459
  id: { type: String, default: "" },
1459
1460
  customClass: { type: String, default: "" },
@@ -1474,7 +1475,7 @@ Ee(
1474
1475
  at,
1475
1476
  void 0
1476
1477
  );
1477
- function Cr(e, t, n) {
1478
+ function Sr(e, t, n) {
1478
1479
  var a;
1479
1480
  function o() {
1480
1481
  }
@@ -1556,14 +1557,14 @@ function Cr(e, t, n) {
1556
1557
  triggerBelongedComponentToDeleteWhenDeleted: T(!1)
1557
1558
  }, f;
1558
1559
  }
1559
- const Sr = {
1560
+ const xr = {
1560
1561
  id: { type: String },
1561
1562
  required: { type: Boolean, default: !1 },
1562
1563
  text: { type: String, default: "" },
1563
1564
  title: { type: String }
1564
- }, xr = /* @__PURE__ */ ye({
1565
+ }, Fr = /* @__PURE__ */ ye({
1565
1566
  name: "FDynamicFormLabel",
1566
- props: Sr,
1567
+ props: xr,
1567
1568
  emits: [],
1568
1569
  setup(e, t) {
1569
1570
  const n = T(e.title || e.text), o = T(e.required), r = T(e.text);
@@ -1580,13 +1581,13 @@ const Sr = {
1580
1581
  class: "farris-label-text"
1581
1582
  }, [r.value])]);
1582
1583
  }
1583
- }), Fr = /* @__PURE__ */ new Map([
1584
+ }), Or = /* @__PURE__ */ new Map([
1584
1585
  ["appearance", tt]
1585
1586
  ]);
1586
- function Or(e, t, n) {
1587
+ function Tr(e, t, n) {
1587
1588
  return t;
1588
1589
  }
1589
- const Tr = "https://json-schema.org/draft/2020-12/schema", kr = "https://farris-design.gitee.io/input-group.schema.json", Ir = "input-group", Nr = "A Farris Input Component", Vr = "object", Er = {
1590
+ const kr = "https://json-schema.org/draft/2020-12/schema", Ir = "https://farris-design.gitee.io/input-group.schema.json", Nr = "input-group", Vr = "A Farris Input Component", Er = "object", Rr = {
1590
1591
  id: {
1591
1592
  description: "The unique identifier for a Input Group",
1592
1593
  type: "string"
@@ -1788,17 +1789,17 @@ const Tr = "https://json-schema.org/draft/2020-12/schema", kr = "https://farris-
1788
1789
  type: "string",
1789
1790
  default: ""
1790
1791
  }
1791
- }, Rr = [
1792
+ }, Br = [
1792
1793
  "id",
1793
1794
  "type"
1794
- ], Br = {
1795
- $schema: Tr,
1796
- $id: kr,
1797
- title: Ir,
1798
- description: Nr,
1799
- type: Vr,
1800
- properties: Er,
1801
- required: Rr
1795
+ ], Mr = {
1796
+ $schema: kr,
1797
+ $id: Ir,
1798
+ title: Nr,
1799
+ description: Vr,
1800
+ type: Er,
1801
+ properties: Rr,
1802
+ required: Br
1802
1803
  }, St = {
1803
1804
  /** 是否自动完成 */
1804
1805
  autocomplete: { Type: String, default: "off" },
@@ -1866,8 +1867,8 @@ const Tr = "https://json-schema.org/draft/2020-12/schema", kr = "https://farris-
1866
1867
  */
1867
1868
  updateOn: { type: String, default: "blur" }
1868
1869
  };
1869
- Ee(St, Br, Fr, Or);
1870
- function Mr(e, t, n, o) {
1870
+ Ee(St, Mr, Or, Tr);
1871
+ function $r(e, t, n, o) {
1871
1872
  const r = T(e.disabled), l = T(!1), f = T("text"), C = T(e.showBorder), p = T(e.textAlign), h = T(e.updateOn), u = B(() => e.editable || !e.readonly), s = B(() => e.editable && !e.disabled && !e.readonly), c = B(() => !e.disabled && l.value), I = B(() => n.value === "" || n.value === null || n.value === void 0), S = B(() => (e.disabled || e.readonly) && !e.forcePlaceholder ? "" : e.placeholder), w = B(() => e.readonly || !e.editable), O = B(() => e.enableTitle ? n.value : ""), _ = B(() => ({
1872
1873
  "form-control": !0,
1873
1874
  "f-utils-fill": !0,
@@ -1950,7 +1951,7 @@ function Mr(e, t, n, o) {
1950
1951
  inputGroupStyle: v
1951
1952
  };
1952
1953
  }
1953
- function $r(e, t, n) {
1954
+ function Pr(e, t, n) {
1954
1955
  const o = T(!1), r = B(() => e.enableClear && !e.readonly && !e.disabled), { changeTextBoxValue: l, displayText: f, hasFocused: C, isEmpty: p } = n;
1955
1956
  function h(w) {
1956
1957
  o.value = w;
@@ -1976,8 +1977,8 @@ function $r(e, t, n) {
1976
1977
  }
1977
1978
  return { clearButtonClass: u, clearButtonStyle: s, hasShownClearButton: o, onClearValue: c, onMouseEnter: I, onMouseLeave: S, shouldShowClearButton: r };
1978
1979
  }
1979
- const Pr = ["moz", "ms", "webkit"];
1980
- function jr() {
1980
+ const jr = ["moz", "ms", "webkit"];
1981
+ function Ar() {
1981
1982
  let e = 0;
1982
1983
  return (t) => {
1983
1984
  const n = (/* @__PURE__ */ new Date()).getTime(), o = Math.max(0, 16 - (n - e)), r = setTimeout(() => {
@@ -1986,23 +1987,23 @@ function jr() {
1986
1987
  return e = n + o, r;
1987
1988
  };
1988
1989
  }
1989
- function Ar() {
1990
+ function Dr() {
1990
1991
  if (typeof window > "u")
1991
1992
  return () => 0;
1992
1993
  if (window.requestAnimationFrame)
1993
1994
  return window.requestAnimationFrame.bind(window);
1994
- const e = Pr.filter((t) => `${t}RequestAnimationFrame` in window)[0];
1995
- return e ? window[`${e}RequestAnimationFrame`] : jr();
1995
+ const e = jr.filter((t) => `${t}RequestAnimationFrame` in window)[0];
1996
+ return e ? window[`${e}RequestAnimationFrame`] : Ar();
1996
1997
  }
1997
- Ar();
1998
- function Dr(e, t) {
1998
+ Dr();
1999
+ function Hr(e, t) {
1999
2000
  const n = T(e.groupText), o = B(() => e.showButtonWhenDisabled && (e.readonly || e.disabled)), r = B(() => e.enableClear || !!e.groupText);
2000
2001
  return { appendedButtonClass: B(() => ({
2001
2002
  "input-group-append": !0,
2002
2003
  "append-force-show": o.value
2003
2004
  })), appendedContent: n, shouldShowAppendedButton: r };
2004
2005
  }
2005
- function Hr(e, t, n, o) {
2006
+ function Lr(e, t, n, o) {
2006
2007
  const { appendedContent: r } = o, l = T(e.enableViewPassword), f = B(() => e.type === "password"), C = '<span class="f-icon f-icon-eye" style="color: rgb(56, 143, 255);"></span>', p = '<span class="f-icon f-icon-eye"></span>', h = T(!1);
2007
2008
  Z(() => [e.readonly, e.disabled], ([c, I]) => {
2008
2009
  f.value && (n.value = c || I ? "password" : n.value, r.value = c || I ? p : r.value);
@@ -2015,7 +2016,7 @@ function Hr(e, t, n, o) {
2015
2016
  }
2016
2017
  return s(), { isPassword: f, onClickAppendedButton: u };
2017
2018
  }
2018
- function Lr(e, t, n) {
2019
+ function Gr(e, t, n) {
2019
2020
  const o = T(), {
2020
2021
  onBlurTextBox: r,
2021
2022
  onFocusTextBox: l,
@@ -2055,7 +2056,7 @@ function Lr(e, t, n) {
2055
2056
  onKeydown: C
2056
2057
  }, null);
2057
2058
  }
2058
- function Gr(e, t, n) {
2059
+ function Wr(e, t, n) {
2059
2060
  const {
2060
2061
  canDownward: o,
2061
2062
  canUpward: r,
@@ -2096,12 +2097,12 @@ function Gr(e, t, n) {
2096
2097
  class: "f-icon f-icon-arrow-chevron-down number-arrow-chevron"
2097
2098
  }, null)])]);
2098
2099
  }
2099
- function Wr(e, t) {
2100
- const n = fn(e, t), o = hn(e, t, n), r = pn(e, t, o, n), l = vn(e, t, o, n, r), f = Gr(e, t, r), {
2100
+ function qr(e, t) {
2101
+ const n = fn(e, t), o = hn(e, t, n), r = pn(e, t, o, n), l = vn(e, t, o, n, r), f = Wr(e, t, r), {
2101
2102
  displayValue: C,
2102
2103
  modelValue: p,
2103
2104
  getRealValue: h
2104
- } = n, u = Lr(e, t, l), {
2105
+ } = n, u = Gr(e, t, l), {
2105
2106
  format: s
2106
2107
  } = o, {
2107
2108
  isFocus: c
@@ -2120,7 +2121,7 @@ function Wr(e, t) {
2120
2121
  class: "input-group f-state-hover flex-row f-cmp-number-spinner"
2121
2122
  }, [u(), I.value && f()]);
2122
2123
  }
2123
- function qr(e, t, n, o) {
2124
+ function zr(e, t, n, o) {
2124
2125
  const r = T(), l = T(e.autocomplete), f = T(e.enableTitle), {
2125
2126
  isPassword: C
2126
2127
  } = n, p = T(e.minLength), h = T(e.maxLength), u = T(e.tabIndex), {
@@ -2166,7 +2167,7 @@ function qr(e, t, n, o) {
2166
2167
  onMousedown: d
2167
2168
  }, null);
2168
2169
  }
2169
- function zr(e, t) {
2170
+ function Yr(e, t) {
2170
2171
  const n = B(() => e.useExtendInfo && !!e.extendInfo), o = dt({
2171
2172
  content: e.extendInfo
2172
2173
  });
@@ -2182,7 +2183,7 @@ function zr(e, t) {
2182
2183
  class: "tips-arrow"
2183
2184
  }, null)]), [[Qt("tooltip"), o]]);
2184
2185
  }
2185
- function Yr(e, t, n, o, r) {
2186
+ function Xr(e, t, n, o, r) {
2186
2187
  const {
2187
2188
  appendedButtonClass: l,
2188
2189
  appendedContent: f
@@ -2234,21 +2235,21 @@ function Yr(e, t, n, o, r) {
2234
2235
  class: l.value
2235
2236
  }, [I.value && S(), i && i()]);
2236
2237
  }
2237
- const Xr = /* @__PURE__ */ ye({
2238
+ const Kr = /* @__PURE__ */ ye({
2238
2239
  name: "FInputGroup",
2239
2240
  props: St,
2240
2241
  emits: ["clear", "change", "blur", "click", "clickHandle", "focus", "input", "keydown", "keyup", "iconMouseEnter", "iconMouseLeave", "update:modelValue", "update:value", "updateExtendInfo", "valueChange"],
2241
2242
  setup(e, t) {
2242
- const n = T(e.modelValue), o = T(e.modelValue), r = Mr(e, t, n, o), {
2243
+ const n = T(e.modelValue), o = T(e.modelValue), r = $r(e, t, n, o), {
2243
2244
  inputGroupClass: l,
2244
2245
  inputType: f,
2245
2246
  inputGroupStyle: C
2246
- } = r, p = Dr(e), {
2247
+ } = r, p = Hr(e), {
2247
2248
  shouldShowAppendedButton: h
2248
- } = p, u = $r(e, t, r), {
2249
+ } = p, u = Pr(e, t, r), {
2249
2250
  onMouseEnter: s,
2250
2251
  onMouseLeave: c
2251
- } = u, I = Hr(e, t, f, p), S = Wr(e, t), w = qr(e, t, I, r), O = Yr(e, t, p, u, I), _ = zr(e, t), g = B(() => e.type === "number");
2252
+ } = u, I = Lr(e, t, f, p), S = qr(e, t), w = zr(e, t, I, r), O = Xr(e, t, p, u, I), _ = Yr(e, t), g = B(() => e.type === "number");
2252
2253
  Z(() => [e.value], ([d]) => {
2253
2254
  n.value = d, o.value = d;
2254
2255
  }), Z(() => [e.modelValue], ([d]) => {
@@ -2265,19 +2266,19 @@ const Xr = /* @__PURE__ */ ye({
2265
2266
  }, [g.value ? S() : M(Ae, null, [_(), w(), h.value && O()])])]);
2266
2267
  return () => v();
2267
2268
  }
2268
- }), G = {}, W = {}, q = {}, Y = {};
2269
+ }), G = {}, W = {}, q = {}, z = {};
2269
2270
  let ct = !1;
2270
- function Kr() {
2271
- ct || (ct = !0, gn.register(G, W, q, Y), mn.register(G, W, q, Y), yn.register(G, W, q, Y), _n.register(G, W, q, Y), bn.register(G, W, q, Y), wn.register(G, W, q, Y), rn.register(G, W, q, Y), Ue.register(G, W, q, Y), Cn.register(G, W, q, Y), Sn.register(G, W, q, Y), Fn.register(G, W, q, Y), xn.register(G, W, q, Y), On.register(G, W, q, Y), Tn.register(G, W, q, Y), kn.register(G, W, q, Y), un.register(G, W, q, Y), In.register(G, W, q, Y), ln.register(G, W, q, Y), Nn.register(G, W, q, Y), Vn.register(G, W, q, Y), En.register(G, W, q, Y), Rn.register(G, W, q, Y), Mn.register(G, W, q, Y), Bn.register(G, W, q, Y), $n.register(G, W, q, Y), Pn.register(G, W, q, Y), jn.register(G, W, q, Y), An.register(G, W, q, Y), dn.register(G, W, q, Y), on.register(G, W, q, Y), Dn.register(G, W, q, Y), Hn.register(G, W, q, Y), sn.register(G, W, q, Y), Ln.register(G, W, q, Y), Gn.register(G, W, q, Y), Wn.register(G, W, q, Y), qn.register(G, W, q, Y), Yn.register(G, W, q, Y), Xn.register(G, W, q, Y), zn.register(G, W, q, Y), co.register(G, W, q), Kn.register(G, W, q, Y), Un.register(G, W, q, Y), Qn.register(G, W, q, Y), Jn.register(G, W, q, Y), Zn.register(G, W, q, Y), eo.register(G, W, q, Y), nn.register(G, W, q, Y), to.register(G, W, q, Y), no.register(G, W, q, Y), oo.register(G, W, q, Y), tn.register(G, W, q, Y), ro.register(G, W, q, Y), io.register(G, W, q, Y), ao.register(G, W, q, Y), lo.register(G, W, q, Y), so.register(G, W, q, Y), uo.register(G, W, q, Y));
2271
+ function Ur() {
2272
+ ct || (ct = !0, gn.register(G, W, q, z), mn.register(G, W, q, z), yn.register(G, W, q, z), _n.register(G, W, q, z), bn.register(G, W, q, z), wn.register(G, W, q, z), rn.register(G, W, q, z), Ue.register(G, W, q, z), Cn.register(G, W, q, z), Sn.register(G, W, q, z), Fn.register(G, W, q, z), xn.register(G, W, q, z), On.register(G, W, q, z), Tn.register(G, W, q, z), kn.register(G, W, q, z), un.register(G, W, q, z), In.register(G, W, q, z), ln.register(G, W, q, z), Nn.register(G, W, q, z), Vn.register(G, W, q, z), En.register(G, W, q, z), Rn.register(G, W, q, z), Mn.register(G, W, q, z), Bn.register(G, W, q, z), $n.register(G, W, q, z), Pn.register(G, W, q, z), jn.register(G, W, q, z), An.register(G, W, q, z), dn.register(G, W, q, z), on.register(G, W, q, z), Dn.register(G, W, q, z), Hn.register(G, W, q, z), sn.register(G, W, q, z), Ln.register(G, W, q, z), Gn.register(G, W, q, z), Wn.register(G, W, q, z), qn.register(G, W, q, z), Yn.register(G, W, q, z), Xn.register(G, W, q, z), zn.register(G, W, q, z), co.register(G, W, q), Kn.register(G, W, q, z), Un.register(G, W, q, z), Qn.register(G, W, q, z), Jn.register(G, W, q, z), Zn.register(G, W, q, z), eo.register(G, W, q, z), nn.register(G, W, q, z), to.register(G, W, q, z), no.register(G, W, q, z), oo.register(G, W, q, z), tn.register(G, W, q, z), ro.register(G, W, q, z), io.register(G, W, q, z), ao.register(G, W, q, z), lo.register(G, W, q, z), so.register(G, W, q, z), uo.register(G, W, q, z), fo.register(G, W, q, z));
2272
2273
  }
2273
2274
  function xt() {
2274
- Kr();
2275
+ Ur();
2275
2276
  function e(r, l) {
2276
2277
  const f = W[r];
2277
2278
  return f ? f(l) : {};
2278
2279
  }
2279
2280
  function t(r) {
2280
- return G[r] || Xr;
2281
+ return G[r] || Kr;
2281
2282
  }
2282
2283
  function n(r) {
2283
2284
  switch (r) {
@@ -2343,7 +2344,7 @@ function xt() {
2343
2344
  }
2344
2345
  return { resolveEditorProps: e, resolveEditorType: t, getChangeFunctionName: n, getClearFunctionName: o };
2345
2346
  }
2346
- const Ur = /* @__PURE__ */ ye({
2347
+ const Qr = /* @__PURE__ */ ye({
2347
2348
  name: "FDynamicFormGroup",
2348
2349
  props: Ct,
2349
2350
  emits: ["change", "update:modelValue"],
@@ -2387,7 +2388,7 @@ const Ur = /* @__PURE__ */ ye({
2387
2388
  class: "farris-group-wrap"
2388
2389
  }, [M("div", {
2389
2390
  class: O.value
2390
- }, [h.value && M(xr, {
2391
+ }, [h.value && M(Fr, {
2391
2392
  id: `${n.value}-lable`,
2392
2393
  required: p.value,
2393
2394
  text: l.value,
@@ -2417,7 +2418,7 @@ Ee(
2417
2418
  at,
2418
2419
  void 0
2419
2420
  );
2420
- const Qr = /* @__PURE__ */ ye({
2421
+ const Jr = /* @__PURE__ */ ye({
2421
2422
  name: "FDynamicFormInput",
2422
2423
  props: Ft,
2423
2424
  emits: ["change", "update:modelValue"],
@@ -2445,7 +2446,7 @@ const Qr = /* @__PURE__ */ ye({
2445
2446
  }
2446
2447
  });
2447
2448
  var Ot = /* @__PURE__ */ ((e) => (e[e.Value = 0] = "Value", e[e.SmartHelp = 1] = "SmartHelp", e[e.Enum = 2] = "Enum", e[e.Express = 3] = "Express", e))(Ot || {}), Tt = /* @__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))(Tt || {});
2448
- const Jr = [
2449
+ const Zr = [
2449
2450
  {
2450
2451
  value: "0",
2451
2452
  name: "等于"
@@ -2482,7 +2483,7 @@ const Jr = [
2482
2483
  value: "8",
2483
2484
  name: "结束是"
2484
2485
  }
2485
- ], Zr = {
2486
+ ], ea = {
2486
2487
  "button-edit": ["0", "1", " 6", "7", "8"],
2487
2488
  "check-box": ["0"],
2488
2489
  "combo-list": ["0", "1"],
@@ -2502,14 +2503,14 @@ const Jr = [
2502
2503
  "radio-group": ["0"],
2503
2504
  text: ["0", "1", " 6", "7", "8"]
2504
2505
  };
2505
- function ea(e, t, n) {
2506
+ function ta(e, t, n) {
2506
2507
  const { fieldMap: o } = n;
2507
2508
  function r(l) {
2508
2509
  const f = o.get(l.fieldCode);
2509
2510
  if (!f)
2510
2511
  return [];
2511
- const C = f.editor.type, p = new Set(Zr[C]);
2512
- return Jr.filter((u) => p.has(u.value));
2512
+ const C = f.editor.type, p = new Set(ea[C]);
2513
+ return Zr.filter((u) => p.has(u.value));
2513
2514
  }
2514
2515
  return { getCompareOperators: r };
2515
2516
  }
@@ -2682,7 +2683,7 @@ function kt() {
2682
2683
  unGroup: d
2683
2684
  };
2684
2685
  }
2685
- function ta(e, t, n) {
2686
+ function na(e, t, n) {
2686
2687
  const o = T(/* @__PURE__ */ new Set()), r = T(/* @__PURE__ */ new Set()), { conditionGroupMap: l, groupParentMap: f } = n;
2687
2688
  let C, p;
2688
2689
  function h(_) {
@@ -2749,12 +2750,12 @@ const Ke = /* @__PURE__ */ ye({
2749
2750
  unGroup: v
2750
2751
  } = h, {
2751
2752
  createConditionValue: d
2752
- } = _t(), a = ta(e, t, h), {
2753
+ } = _t(), a = na(e, t, h), {
2753
2754
  selectedItems: i,
2754
2755
  toggleSelect: b
2755
2756
  } = a, {
2756
2757
  getCompareOperators: R
2757
- } = ea(e, t, r);
2758
+ } = ta(e, t, r);
2758
2759
  p(!1), f.value = l(f.value), w(o.value);
2759
2760
  function m(H) {
2760
2761
  var L;
@@ -2802,7 +2803,7 @@ const Ke = /* @__PURE__ */ ye({
2802
2803
  onChange: (X) => k(X, E)
2803
2804
  }, null)]), M("div", {
2804
2805
  class: "condition-list-item-control mr-3"
2805
- }, [M(Ur, {
2806
+ }, [M(Qr, {
2806
2807
  editor: (L = C.get(E.fieldCode)) == null ? void 0 : L.editor,
2807
2808
  showLabel: !1,
2808
2809
  modelValue: E.value.value,
@@ -2885,7 +2886,7 @@ const Ke = /* @__PURE__ */ ye({
2885
2886
  Ke.install = (e) => {
2886
2887
  e.component(ut.name, ut).component(Ke.name, Ke);
2887
2888
  };
2888
- const na = [
2889
+ const oa = [
2889
2890
  "equal",
2890
2891
  "notEqual",
2891
2892
  "greaterThan",
@@ -2895,16 +2896,16 @@ const na = [
2895
2896
  "contain",
2896
2897
  "startWidth",
2897
2898
  "endWidth"
2898
- ], oa = {
2899
+ ], ra = {
2899
2900
  equal: (e, t, n) => e && e[t] === n,
2900
2901
  notEqual: (e, t, n) => e && e[t] !== n,
2901
2902
  contain: (e, t, n) => e ? (e[t] || "").indexOf(n) > -1 : !1,
2902
2903
  startWidth: (e, t, n) => e ? (e[t] || "").startsWith(n) : !1,
2903
2904
  endWidth: (e, t, n) => e ? (e[t] || "").endsWith(n) : !1
2904
- }, ra = {
2905
+ }, aa = {
2905
2906
  equal: (e, t, n) => e && e[t] === n,
2906
2907
  notEqual: (e, t, n) => e && e[t] !== n
2907
- }, aa = {
2908
+ }, ia = {
2908
2909
  equal: (e, t, n) => {
2909
2910
  if (e) {
2910
2911
  const o = new Date(new Date(n).toLocaleDateString()).valueOf();
@@ -2947,10 +2948,10 @@ const na = [
2947
2948
  }
2948
2949
  return !1;
2949
2950
  }
2950
- }, ia = {
2951
+ }, la = {
2951
2952
  equal: (e, t, n) => e ? String(n).split(",").includes(String(e[t])) : !1,
2952
2953
  notEqual: (e, t, n) => e ? String(n).split(",").findIndex((r) => r === String(e[t])) === -1 : !1
2953
- }, la = {
2954
+ }, sa = {
2954
2955
  equal: (e, t, n) => {
2955
2956
  if (e) {
2956
2957
  const o = Number.parseFloat(String(n)), r = Number.parseFloat(String(e[t]));
@@ -2994,13 +2995,13 @@ const na = [
2994
2995
  return !1;
2995
2996
  }
2996
2997
  };
2997
- function sa() {
2998
+ function ua() {
2998
2999
  const e = T([]), t = /* @__PURE__ */ new Map(), { loadConditionGroup: n } = kt(), o = /* @__PURE__ */ new Map([
2999
- ["boolean", ra],
3000
- ["datetime", aa],
3001
- ["enum", ia],
3002
- ["number", la],
3003
- ["text", oa]
3000
+ ["boolean", aa],
3001
+ ["datetime", ia],
3002
+ ["enum", la],
3003
+ ["number", sa],
3004
+ ["text", ra]
3004
3005
  ]);
3005
3006
  function r(s) {
3006
3007
  t.delete(s), e.value = Array.from(t.values());
@@ -3009,7 +3010,7 @@ function sa() {
3009
3010
  t.clear(), e.value = [];
3010
3011
  }
3011
3012
  function f(s) {
3012
- const { valueType: c } = s.value, I = s.compareType || "0", S = na[Number(I)];
3013
+ const { valueType: c } = s.value, I = s.compareType || "0", S = oa[Number(I)];
3013
3014
  return o.get(c)[S];
3014
3015
  }
3015
3016
  function C(s) {
@@ -3033,7 +3034,7 @@ function sa() {
3033
3034
  }
3034
3035
  return { apply: u, clearCondition: l, conditions: e, removeCondition: r };
3035
3036
  }
3036
- function ua(e, t) {
3037
+ function ca(e, t) {
3037
3038
  var O, _;
3038
3039
  const { idField: n } = t, o = T(e.summary), r = T(e.group), l = T(((O = e.group) == null ? void 0 : O.groupFields) || []), f = T(((_ = e.group) == null ? void 0 : _.enable) || !1), C = B(() => {
3039
3040
  const g = o.value;
@@ -3118,7 +3119,7 @@ function ua(e, t) {
3118
3119
  }
3119
3120
  return { collpaseGroupIconClass: w, generateGroupData: S, groupFields: l, shouldGroupingData: f };
3120
3121
  }
3121
- function ca(e, t, n, o) {
3122
+ function da(e, t, n, o) {
3122
3123
  const r = T(!!e.hierarchy), { idField: l } = o, { collapseField: f, hasChildrenField: C, parentIdField: p } = n, h = /* @__PURE__ */ new Map();
3123
3124
  function u(x, y) {
3124
3125
  const F = /* @__PURE__ */ new Map();
@@ -3262,7 +3263,7 @@ function ca(e, t, n, o) {
3262
3263
  }
3263
3264
  return { generateHierarchyData: R, hasRealChildren: i, insertSibling: m, insertChild: k, shouldStratifyData: r, trimmedOriginalData: V };
3264
3265
  }
3265
- const da = {
3266
+ const fa = {
3266
3267
  showCloseButton: { type: Boolean, default: !0 },
3267
3268
  position: { type: String, default: "top-center" },
3268
3269
  timeout: { type: Number, default: 3e3 },
@@ -3274,13 +3275,13 @@ const da = {
3274
3275
  id: { type: String },
3275
3276
  animate: { type: String, default: "fadeIn" },
3276
3277
  options: { type: Object }
3277
- }, fa = {
3278
+ }, ha = {
3278
3279
  showCloseButton: { type: Boolean, default: !0 },
3279
3280
  animate: { type: String, default: "fadeIn" },
3280
3281
  options: { type: Object }
3281
3282
  }, Je = /* @__PURE__ */ ye({
3282
3283
  name: "Toast",
3283
- props: fa,
3284
+ props: ha,
3284
3285
  emits: ["close", "click"],
3285
3286
  setup: (e, t) => {
3286
3287
  const n = T(e.animate), o = "fadeOut", r = B(() => e.options), l = T(!1), f = B(() => {
@@ -3353,7 +3354,7 @@ const da = {
3353
3354
  }
3354
3355
  }), je = /* @__PURE__ */ ye({
3355
3356
  name: "Notify",
3356
- props: da,
3357
+ props: fa,
3357
3358
  emits: ["close", "empty"],
3358
3359
  setup(e, t) {
3359
3360
  const n = B(() => ({
@@ -3400,8 +3401,8 @@ const da = {
3400
3401
  });
3401
3402
  class It {
3402
3403
  constructor() {
3403
- z(this, "notifyRefs", []);
3404
- z(this, "globalConfig", dt({}));
3404
+ Y(this, "notifyRefs", []);
3405
+ Y(this, "globalConfig", dt({}));
3405
3406
  }
3406
3407
  createNotifyInstance(t) {
3407
3408
  const n = this, r = Object.assign({
@@ -3503,22 +3504,22 @@ class It {
3503
3504
  }), this.notifyRefs.length = 0;
3504
3505
  }
3505
3506
  }
3506
- const ha = Symbol("NOTIFY_SERVICE_TOKEN");
3507
+ const pa = Symbol("NOTIFY_SERVICE_TOKEN");
3507
3508
  je.install = (e) => {
3508
3509
  e.component(je.name, je), e.component(Je.name, Je);
3509
3510
  const t = new It();
3510
- e.provide(ha, t), e.provide("FNotifyService", t);
3511
+ e.provide(pa, t), e.provide("FNotifyService", t);
3511
3512
  };
3512
3513
  function Nt(e, t, n, o, r) {
3513
3514
  var it;
3514
- const { pageSize: l, total: f, shouldRenderPagination: C, currentPage: p, mode: h } = r, u = /* @__PURE__ */ new Map(), s = /* @__PURE__ */ new Map(), c = /* @__PURE__ */ new Map(), I = /* @__PURE__ */ new Map(), S = /* @__PURE__ */ new Map(), w = T([]), O = T([]), _ = sa(), g = ua(e, o), { generateGroupData: v, groupFields: d, shouldGroupingData: a } = g, i = T(e.data), b = ca(e, i, n, o), {
3515
+ const { pageSize: l, total: f, shouldRenderPagination: C, currentPage: p, mode: h } = r, u = /* @__PURE__ */ new Map(), s = /* @__PURE__ */ new Map(), c = /* @__PURE__ */ new Map(), I = /* @__PURE__ */ new Map(), S = /* @__PURE__ */ new Map(), w = T([]), O = T([]), _ = ua(), g = ca(e, o), { generateGroupData: v, groupFields: d, shouldGroupingData: a } = g, i = T(e.data), b = da(e, i, n, o), {
3515
3516
  generateHierarchyData: R,
3516
3517
  hasRealChildren: m,
3517
3518
  insertSibling: k,
3518
3519
  insertChild: V,
3519
3520
  shouldStratifyData: x,
3520
3521
  trimmedOriginalData: y
3521
- } = b, { idField: F, reviseIdentifyField: N } = o, P = T(e.newDataItem), A = T(e.data), H = T(e.data), { flatTreeData: E } = va(e);
3522
+ } = b, { idField: F, reviseIdentifyField: N } = o, P = T(e.newDataItem), A = T(e.data), H = T(e.data), { flatTreeData: E } = ma(e);
3522
3523
  if (e.data && ((it = e.data[0]) != null && it.children)) {
3523
3524
  const $ = ne(e.data);
3524
3525
  i.value = $, A.value = $, H.value = $;
@@ -3738,10 +3739,10 @@ function Vt(e) {
3738
3739
  }), o = B(() => {
3739
3740
  var f;
3740
3741
  return ((f = e.hierarchy) == null ? void 0 : f.parentIdField) || "parent";
3741
- }), r = B(() => e.hierarchy && e.selection.showCheckbox && e.selection.enableSelectRow && e.selection.multiSelect), l = B(() => (e.treeNodeIconsData.fold || e.iconField) && e.showTreeNodeIcons);
3742
+ }), r = B(() => e.hierarchy && e.selection.showCheckbox), l = B(() => (e.treeNodeIconsData.fold || e.iconField) && e.showTreeNodeIcons);
3742
3743
  return { collapseField: t, hasChildrenField: n, parentIdField: o, shouldShowCheckBox: r, shouldShowIcon: l };
3743
3744
  }
3744
- function pa(e, t, n, o) {
3745
+ function va(e, t, n, o) {
3745
3746
  var w, O, _, g, v, d;
3746
3747
  const { idField: r } = n, l = T(((O = (w = e.hierarchy) == null ? void 0 : w.cascadeOption) == null ? void 0 : O.autoCheckChildren) || !1), f = T(((g = (_ = e.hierarchy) == null ? void 0 : _.cascadeOption) == null ? void 0 : g.autoCheckParent) || !1), C = T(((d = (v = e.hierarchy) == null ? void 0 : v.cascadeOption) == null ? void 0 : d.selectionRange) || "All");
3747
3748
  Z(() => {
@@ -3785,7 +3786,7 @@ function pa(e, t, n, o) {
3785
3786
  return { autoCheckChildren: l, autoCheckParent: f, interactAfterCheckHierarchyItem: S };
3786
3787
  }
3787
3788
  function Et(e, t, n, o, r) {
3788
- const { select: l, unSelect: f, indeterminate: C, getSelectedItems: p } = o, { autoCheckChildren: h, autoCheckParent: u, interactAfterCheckHierarchyItem: s } = pa(e, t, n), { idField: c } = n;
3789
+ const { select: l, unSelect: f, indeterminate: C, getSelectedItems: p } = o, { autoCheckChildren: h, autoCheckParent: u, interactAfterCheckHierarchyItem: s } = va(e, t, n), { idField: c } = n;
3789
3790
  function I() {
3790
3791
  return t.value.filter((i) => !!i.checked).map((i) => i.raw.__fv_index__);
3791
3792
  }
@@ -4019,7 +4020,7 @@ function Bt(e, t, n, o, r, l, f, C) {
4019
4020
  }
4020
4021
  function Mt(e, t, n) {
4021
4022
  var S;
4022
- const o = T(e.mergeCell), l = ((S = T(e.rowOption).value) == null ? void 0 : S.wrapContent) || !1, { updateVisualInfomation: f } = n, { renderCommandColumn: C } = jo();
4023
+ const o = T(e.mergeCell), l = ((S = T(e.rowOption).value) == null ? void 0 : S.wrapContent) || !1, { updateVisualInfomation: f } = n, { renderCommandColumn: C } = Ao();
4023
4024
  function p(w, O, _, g, v, d = 1) {
4024
4025
  const a = {
4025
4026
  colSpan: d,
@@ -4173,7 +4174,7 @@ function Pt(e, t) {
4173
4174
  const R = i.dataType, m = i.editor || {
4174
4175
  type: f.get(R) || "input-group"
4175
4176
  };
4176
- return !l.value && m.type === "text" && (m.type = "input-group"), m ? M(Qr, {
4177
+ return !l.value && m.type === "text" && (m.type = "input-group"), m ? M(Jr, {
4177
4178
  focusOnCreated: e.focusOnEditingCell,
4178
4179
  selectOnCreated: e.selectOnEditingCell,
4179
4180
  editor: m,
@@ -4249,10 +4250,8 @@ function At(e, t, n, o) {
4249
4250
  C.value && a.shiftKey || f.value ? u(i) : p(i), O(i), a.stopPropagation();
4250
4251
  }
4251
4252
  function g(a, i) {
4252
- c.value = i.index;
4253
4253
  }
4254
4254
  function v(a, i) {
4255
- c.value = -1;
4256
4255
  }
4257
4256
  function d(a) {
4258
4257
  var b;
@@ -4416,7 +4415,7 @@ function Ht(e) {
4416
4415
  mode: f
4417
4416
  };
4418
4417
  }
4419
- function va(e) {
4418
+ function ma(e) {
4420
4419
  const t = "parent", n = "layer", o = "hasChildren", r = (l, f = 1, C = [], p = null) => (l = l || [], l.reduce((h, u) => (u.id = u.id || u.data[e.idField], u.data[t] = p, u.data[n] = f, u.data[o] = !1, h.push(u.data), u.children && u.children.length && (u.data[o] = !0, r(u.children, f + 1, C, u.id)), h), C), C);
4421
4420
  return { flatTreeData: r };
4422
4421
  }
@@ -4429,7 +4428,7 @@ function Lt(e, t, n, o, r, l, f, C, p, h, u, s, c) {
4429
4428
  gridDataStyle: w
4430
4429
  } = c, {
4431
4430
  renderDataRow: O
4432
- } = Po(e, t, S, n, l, f, C, p, h, u);
4431
+ } = jo(e, t, S, n, l, f, C, p, h, u);
4433
4432
  function _() {
4434
4433
  const v = I(S.value.primaryColumns);
4435
4434
  return n.value.filter((d) => d.visible !== !1).map((d) => O(d, v));
@@ -4541,12 +4540,12 @@ const De = /* @__PURE__ */ ye({
4541
4540
  }
4542
4541
  }, [P(), w(), O()])]);
4543
4542
  }
4544
- }), ma = /* @__PURE__ */ ye({
4543
+ }), ga = /* @__PURE__ */ ye({
4545
4544
  name: "FTreeViewDesign",
4546
4545
  props: nt,
4547
4546
  emits: ["outputValue", "currentEvent", "selectionChange"],
4548
4547
  setup(e, t) {
4549
- const n = T(), o = en("design-item-context"), r = Cr(n, o);
4548
+ const n = T(), o = en("design-item-context"), r = Sr(n, o);
4550
4549
  T(e.idField);
4551
4550
  const l = T(), f = T(!1), C = T([]), p = Vt(e), h = jt(e), u = Ht(e), s = Nt(e, /* @__PURE__ */ new Map(), p, h, u), c = Dt(e, s, h, C, t), I = Et(e, C, h, c, t), S = B(() => ({
4552
4551
  "fv-tree": !0
@@ -4592,12 +4591,12 @@ De.register = (e, t, n) => {
4592
4591
  e["tree-view"] = De, t["tree-view"] = pt;
4593
4592
  };
4594
4593
  De.registerDesigner = (e, t, n) => {
4595
- e["tree-view"] = ma, t["tree-view"] = pt;
4594
+ e["tree-view"] = ga, t["tree-view"] = pt;
4596
4595
  };
4597
- const Ii = fo(De);
4596
+ const Vi = ho(De);
4598
4597
  export {
4599
4598
  De as FTreeView,
4600
- Ii as default,
4599
+ Vi as default,
4601
4600
  pt as propsResolver,
4602
4601
  nt as treeViewProps
4603
4602
  };