@farris/ui-vue 1.6.5-beta.7 → 1.6.5

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 (192) hide show
  1. package/components/accordion/index.esm.js +65 -65
  2. package/components/accordion/index.umd.cjs +1 -1
  3. package/components/avatar/index.esm.js +360 -361
  4. package/components/avatar/index.umd.cjs +1 -1
  5. package/components/button-edit/index.esm.js +524 -520
  6. package/components/button-edit/index.umd.cjs +1 -1
  7. package/components/calendar/index.esm.js +134 -134
  8. package/components/calendar/index.umd.cjs +1 -1
  9. package/components/capsule/index.esm.js +192 -192
  10. package/components/capsule/index.umd.cjs +1 -1
  11. package/components/code-editor/index.esm.js +8 -8
  12. package/components/code-editor/index.umd.cjs +3 -3
  13. package/components/collection-property-editor/index.esm.js +72 -72
  14. package/components/collection-property-editor/index.umd.cjs +1 -1
  15. package/components/color-picker/index.esm.js +291 -289
  16. package/components/color-picker/index.umd.cjs +1 -1
  17. package/components/combo-list/index.esm.js +190 -181
  18. package/components/combo-list/index.umd.cjs +1 -1
  19. package/components/combo-tree/index.esm.js +113 -112
  20. package/components/combo-tree/index.umd.cjs +1 -1
  21. package/components/common/index.esm.js +3 -1
  22. package/components/common/index.umd.cjs +1 -1
  23. package/components/component/index.esm.js +309 -309
  24. package/components/component/index.umd.cjs +1 -1
  25. package/components/condition/index.esm.js +1125 -1124
  26. package/components/condition/index.umd.cjs +1 -1
  27. package/components/content-container/index.esm.js +472 -472
  28. package/components/content-container/index.umd.cjs +1 -1
  29. package/components/data-grid/index.esm.js +99 -99
  30. package/components/data-grid/index.umd.cjs +1 -1
  31. package/components/data-view/index.esm.js +3387 -3321
  32. package/components/data-view/index.umd.cjs +1 -1
  33. package/components/date-picker/index.esm.js +1604 -1601
  34. package/components/date-picker/index.umd.cjs +1 -1
  35. package/components/designer-canvas/index.esm.js +1082 -1079
  36. package/components/designer-canvas/index.umd.cjs +1 -1
  37. package/components/discussion-editor/index.esm.js +973 -1040
  38. package/components/discussion-editor/index.umd.cjs +6 -6
  39. package/components/dropdown/index.esm.js +335 -330
  40. package/components/dropdown/index.umd.cjs +2 -2
  41. package/components/dynamic-form/index.esm.js +177 -177
  42. package/components/dynamic-form/index.umd.cjs +1 -1
  43. package/components/dynamic-resolver/index.esm.js +6 -6
  44. package/components/dynamic-resolver/index.umd.cjs +1 -1
  45. package/components/dynamic-view/index.esm.js +344 -344
  46. package/components/dynamic-view/index.umd.cjs +1 -1
  47. package/components/events-editor/index.esm.js +644 -644
  48. package/components/events-editor/index.umd.cjs +3 -3
  49. package/components/expression-editor/index.esm.js +1773 -1760
  50. package/components/expression-editor/index.umd.cjs +4 -4
  51. package/components/fieldset/index.esm.js +55 -55
  52. package/components/fieldset/index.umd.cjs +1 -1
  53. package/components/filter-bar/index.esm.js +879 -869
  54. package/components/filter-bar/index.umd.cjs +1 -1
  55. package/components/filter-condition-editor/index.esm.js +1091 -1077
  56. package/components/filter-condition-editor/index.umd.cjs +3 -3
  57. package/components/flow-canvas/index.esm.js +215 -215
  58. package/components/flow-canvas/index.umd.cjs +1 -1
  59. package/components/html-template/index.esm.js +164 -164
  60. package/components/html-template/index.umd.cjs +1 -1
  61. package/components/image-cropper/index.esm.js +198 -198
  62. package/components/image-cropper/index.umd.cjs +1 -1
  63. package/components/json-editor/index.esm.js +64 -64
  64. package/components/json-editor/index.umd.cjs +1 -1
  65. package/components/language-textbox/index.esm.js +140 -140
  66. package/components/language-textbox/index.umd.cjs +1 -1
  67. package/components/layout/index.esm.js +111 -111
  68. package/components/layout/index.umd.cjs +1 -1
  69. package/components/list-nav/index.esm.js +90 -90
  70. package/components/list-nav/index.umd.cjs +1 -1
  71. package/components/list-view/index.esm.js +139 -141
  72. package/components/list-view/index.umd.cjs +3 -3
  73. package/components/locale/index.esm.js +833 -901
  74. package/components/locale/index.umd.cjs +6 -6
  75. package/components/lookup/index.esm.js +1352 -1351
  76. package/components/lookup/index.umd.cjs +1 -1
  77. package/components/mapping-editor/index.esm.js +1387 -1383
  78. package/components/mapping-editor/index.umd.cjs +1 -1
  79. package/components/menu-lookup/index.esm.js +1059 -1127
  80. package/components/menu-lookup/index.umd.cjs +6 -6
  81. package/components/message-box/index.esm.js +217 -217
  82. package/components/message-box/index.umd.cjs +1 -1
  83. package/components/modal/index.esm.js +283 -283
  84. package/components/modal/index.umd.cjs +1 -1
  85. package/components/nav/index.esm.js +106 -106
  86. package/components/nav/index.umd.cjs +1 -1
  87. package/components/number-range/index.esm.js +194 -194
  88. package/components/number-range/index.umd.cjs +1 -1
  89. package/components/number-spinner/index.esm.js +463 -462
  90. package/components/number-spinner/index.umd.cjs +1 -1
  91. package/components/order/index.esm.js +883 -876
  92. package/components/order/index.umd.cjs +4 -4
  93. package/components/page-footer/index.esm.js +94 -94
  94. package/components/page-footer/index.umd.cjs +1 -1
  95. package/components/page-header/index.esm.js +942 -939
  96. package/components/page-header/index.umd.cjs +1 -1
  97. package/components/pagination/index.esm.js +82 -82
  98. package/components/pagination/index.umd.cjs +1 -1
  99. package/components/popover/index.esm.js +59 -57
  100. package/components/popover/index.umd.cjs +1 -1
  101. package/components/progress/index.esm.js +113 -113
  102. package/components/progress/index.umd.cjs +2 -2
  103. package/components/property-editor/index.esm.js +151 -150
  104. package/components/property-editor/index.umd.cjs +1 -1
  105. package/components/property-panel/index.esm.js +739 -739
  106. package/components/property-panel/index.umd.cjs +2 -2
  107. package/components/query-solution/index.esm.js +4142 -4190
  108. package/components/query-solution/index.umd.cjs +6 -6
  109. package/components/radio-button/index.esm.js +182 -182
  110. package/components/radio-button/index.umd.cjs +1 -1
  111. package/components/rate/index.esm.js +106 -106
  112. package/components/rate/index.umd.cjs +1 -1
  113. package/components/response-layout/index.esm.js +535 -535
  114. package/components/response-layout/index.umd.cjs +1 -1
  115. package/components/response-layout-editor/index.esm.js +1456 -1443
  116. package/components/response-layout-editor/index.umd.cjs +1 -1
  117. package/components/response-toolbar/index.esm.js +779 -776
  118. package/components/response-toolbar/index.umd.cjs +1 -1
  119. package/components/schema-selector/index.esm.js +1875 -1866
  120. package/components/schema-selector/index.umd.cjs +7 -7
  121. package/components/search-box/index.esm.js +151 -147
  122. package/components/search-box/index.umd.cjs +1 -1
  123. package/components/section/index.esm.js +1236 -1233
  124. package/components/section/index.umd.cjs +1 -1
  125. package/components/smoke-detector/index.esm.js +163 -163
  126. package/components/smoke-detector/index.umd.cjs +1 -1
  127. package/components/sort-condition-editor/index.esm.js +1097 -1083
  128. package/components/sort-condition-editor/index.umd.cjs +3 -3
  129. package/components/splitter/index.esm.js +3 -3
  130. package/components/splitter/index.umd.cjs +1 -1
  131. package/components/step/index.esm.js +133 -133
  132. package/components/step/index.umd.cjs +1 -1
  133. package/components/switch/index.esm.js +103 -98
  134. package/components/switch/index.umd.cjs +1 -1
  135. package/components/tabs/index.esm.js +1596 -1593
  136. package/components/tabs/index.umd.cjs +2 -2
  137. package/components/tags/index.esm.js +93 -93
  138. package/components/tags/index.umd.cjs +1 -1
  139. package/components/text/index.esm.js +138 -138
  140. package/components/text/index.umd.cjs +1 -1
  141. package/components/textarea/index.esm.js +684 -684
  142. package/components/textarea/index.umd.cjs +2 -2
  143. package/components/time-picker/index.esm.js +935 -929
  144. package/components/time-picker/index.umd.cjs +1 -1
  145. package/components/tooltip/index.esm.js +173 -171
  146. package/components/tooltip/index.umd.cjs +1 -1
  147. package/components/transfer/index.esm.js +190 -192
  148. package/components/transfer/index.umd.cjs +4 -4
  149. package/components/tree-grid/index.esm.js +124 -124
  150. package/components/tree-grid/index.umd.cjs +1 -1
  151. package/components/tree-view/index.esm.js +2363 -2278
  152. package/components/tree-view/index.umd.cjs +1 -1
  153. package/components/uploader/index.esm.js +170 -170
  154. package/components/uploader/index.umd.cjs +2 -2
  155. package/components/verify-detail/index.esm.js +196 -196
  156. package/components/verify-detail/index.umd.cjs +1 -1
  157. package/components/video/index.esm.js +227 -227
  158. package/components/video/index.umd.cjs +1 -1
  159. package/components/weather/index.esm.js +9 -9
  160. package/components/weather/index.umd.cjs +2 -2
  161. package/designer/button-edit/index.esm.js +353 -353
  162. package/designer/button-edit/index.umd.cjs +1 -1
  163. package/designer/checkbox/index.esm.js +7 -3
  164. package/designer/checkbox/index.umd.cjs +1 -1
  165. package/designer/checkbox-group/index.esm.js +38 -33
  166. package/designer/checkbox-group/index.umd.cjs +1 -1
  167. package/designer/data-grid/index.esm.js +3562 -3536
  168. package/designer/data-grid/index.umd.cjs +6 -6
  169. package/designer/data-view/index.esm.js +3 -3
  170. package/designer/data-view/index.umd.cjs +3 -3
  171. package/designer/farris-designer.all.esm.js +4203 -4193
  172. package/designer/farris-designer.all.umd.cjs +9 -9
  173. package/designer/input-group/index.esm.js +97 -97
  174. package/designer/input-group/index.umd.cjs +1 -1
  175. package/designer/list-view/index.esm.js +1868 -1854
  176. package/designer/list-view/index.umd.cjs +8 -8
  177. package/designer/radio-group/index.esm.js +954 -949
  178. package/designer/radio-group/index.umd.cjs +1 -1
  179. package/farris.all.esm.js +16195 -16126
  180. package/farris.all.umd.cjs +30 -30
  181. package/locales/data-grid/ui/en.json +2 -2
  182. package/locales/designer/en.json +7 -6
  183. package/locales/designer/zh-CHS.json +2 -1
  184. package/locales/designer/zh-CHT.json +2 -1
  185. package/locales/ui/en.json +7 -6
  186. package/locales/ui/zh-CHS.json +2 -1
  187. package/locales/ui/zh-CHT.json +2 -1
  188. package/package.json +1 -1
  189. package/types/combo-list/src/property-config/combo-list.property-config.d.ts +0 -6
  190. package/types/data-view/composition/types.d.ts +10 -4
  191. package/types/lookup/src/composition/use-dialog.d.ts +2 -0
  192. package/types/lookup/src/composition/use-input-change.d.ts +1 -0
@@ -2,12 +2,12 @@ var me = Object.defineProperty;
2
2
  var de = (e, t, n) => t in e ? me(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
3
  var G = (e, t, n) => de(e, typeof t != "symbol" ? t + "" : t, n);
4
4
  import { ref as R, computed as _, defineComponent as Z, watch as J, createVNode as v, onBeforeMount as x, createApp as ye, onUnmounted as ge, inject as be, onMounted as he } from "vue";
5
- import { isPlainObject as Q, cloneDeep as X } from "lodash-es";
6
- import { getSchemaByTypeForDesigner as we } from "../dynamic-resolver/index.esm.js";
5
+ import { cloneDeep as Q, isPlainObject as X } from "lodash-es";
6
+ import { getSchemaByTypeForDesigner as Te } from "../dynamic-resolver/index.esm.js";
7
7
  function K(e, t) {
8
8
  let n;
9
9
  function o(s) {
10
- const { properties: c, title: d, ignore: i } = s, a = i && Array.isArray(i), f = Object.keys(c).reduce((g, r) => ((!a || !i.find((b) => b === r)) && (g[r] = c[r].type === "object" && c[r].properties ? o(c[r]) : X(c[r].default)), g), {});
10
+ const { properties: l, title: d, ignore: i } = s, a = i && Array.isArray(i), f = Object.keys(l).reduce((g, r) => ((!a || !i.find((b) => b === r)) && (g[r] = l[r].type === "object" && l[r].properties ? o(l[r]) : Q(l[r].default)), g), {});
11
11
  if (d && (!a || !i.find((g) => g === "id"))) {
12
12
  const g = d.toLowerCase().replace(/-/g, "_");
13
13
  f.id = `${g}_${Math.random().toString().slice(2, 6)}`;
@@ -15,9 +15,9 @@ function K(e, t) {
15
15
  return f;
16
16
  }
17
17
  function h(s) {
18
- const { properties: c, title: d, required: i } = s;
18
+ const { properties: l, title: d, required: i } = s;
19
19
  if (i && Array.isArray(i)) {
20
- const a = i.reduce((f, g) => (f[g] = c[g].type === "object" && c[g].properties ? o(c[g]) : X(c[g].default), f), {});
20
+ const a = i.reduce((f, g) => (f[g] = l[g].type === "object" && l[g].properties ? o(l[g]) : Q(l[g].default), f), {});
21
21
  if (d && i.find((f) => f === "id")) {
22
22
  const f = d.toLowerCase().replace(/-/g, "_");
23
23
  a.id = `${f}_${Math.random().toString().slice(2, 6)}`;
@@ -28,23 +28,23 @@ function K(e, t) {
28
28
  type: d
29
29
  };
30
30
  }
31
- function j(s, c = {}, d) {
31
+ function j(s, l = {}, d) {
32
32
  const i = e[s];
33
33
  if (i) {
34
34
  let a = h(i);
35
35
  const f = t[s];
36
- return a = f ? f({ getSchemaByType: j }, a, c, d) : a, n != null && n.appendIdentifyForNewControl && n.appendIdentifyForNewControl(a), a;
36
+ return a = f ? f({ getSchemaByType: j }, a, l, d) : a, n != null && n.appendIdentifyForNewControl && n.appendIdentifyForNewControl(a), a;
37
37
  }
38
38
  return null;
39
39
  }
40
- function S(s, c) {
41
- const d = o(c);
42
- return Object.keys(d).reduce((i, a) => (Object.prototype.hasOwnProperty.call(s, a) && (i[a] && Q(i[a]) && Q(s[a] || !s[a]) ? Object.assign(i[a], s[a] || {}) : i[a] = s[a]), i), d), d;
40
+ function w(s, l) {
41
+ const d = o(l);
42
+ return Object.keys(d).reduce((i, a) => (Object.prototype.hasOwnProperty.call(s, a) && (i[a] && X(i[a]) && X(s[a] || !s[a]) ? Object.assign(i[a], s[a] || {}) : i[a] = s[a]), i), d), d;
43
43
  }
44
- function E(s, c) {
44
+ function E(s, l) {
45
45
  return Object.keys(s).filter((i) => s[i] != null).reduce((i, a) => {
46
- if (c.has(a)) {
47
- const f = c.get(a);
46
+ if (l.has(a)) {
47
+ const f = l.get(a);
48
48
  if (typeof f == "string")
49
49
  i[f] = s[a];
50
50
  else {
@@ -56,20 +56,20 @@ function K(e, t) {
56
56
  return i;
57
57
  }, {});
58
58
  }
59
- function N(s, c, d = /* @__PURE__ */ new Map()) {
60
- const i = S(s, c);
59
+ function N(s, l, d = /* @__PURE__ */ new Map()) {
60
+ const i = w(s, l);
61
61
  return E(i, d);
62
62
  }
63
63
  function m(s) {
64
64
  var d;
65
- const c = s.type;
66
- if (c) {
67
- const i = e[c];
65
+ const l = s.type;
66
+ if (l) {
67
+ const i = e[l];
68
68
  if (!i)
69
69
  return s;
70
- const a = S(s, i), f = ((d = s.editor) == null ? void 0 : d.type) || "";
70
+ const a = w(s, i), f = ((d = s.editor) == null ? void 0 : d.type) || "";
71
71
  if (f) {
72
- const g = e[f], r = S(s.editor, g);
72
+ const g = e[f], r = w(s.editor, g);
73
73
  a.editor = r;
74
74
  }
75
75
  return a;
@@ -81,24 +81,24 @@ function K(e, t) {
81
81
  }
82
82
  return { getSchemaByType: j, resolveSchemaWithDefaultValue: m, resolveSchemaToProps: N, mappingSchemaToProps: E, setDesignerContext: y };
83
83
  }
84
- const I = {}, ee = {}, { resolveSchemaWithDefaultValue: Te, resolveSchemaToProps: Se, mappingSchemaToProps: Fe } = K(I, ee);
84
+ const I = {}, ee = {}, { getSchemaByType: gt, resolveSchemaWithDefaultValue: Se, resolveSchemaToProps: we, mappingSchemaToProps: Fe, setDesignerContext: bt } = K(I, ee);
85
85
  function De(e = {}) {
86
- function t(m, y, s, c) {
86
+ function t(m, y, s, l) {
87
87
  if (typeof s == "number")
88
- return c[m].length === s;
88
+ return l[m].length === s;
89
89
  if (typeof s == "object") {
90
90
  const d = Object.keys(s)[0], i = s[d];
91
91
  if (d === "not")
92
- return Number(c[m].length) !== Number(i);
92
+ return Number(l[m].length) !== Number(i);
93
93
  if (d === "moreThan")
94
- return Number(c[m].length) >= Number(i);
94
+ return Number(l[m].length) >= Number(i);
95
95
  if (d === "lessThan")
96
- return Number(c[m].length) <= Number(i);
96
+ return Number(l[m].length) <= Number(i);
97
97
  }
98
98
  return !1;
99
99
  }
100
- function n(m, y, s, c) {
101
- return c[m] && c[m].propertyValue && String(c[m].propertyValue.value) === String(s);
100
+ function n(m, y, s, l) {
101
+ return l[m] && l[m].propertyValue && String(l[m].propertyValue.value) === String(s);
102
102
  }
103
103
  const o = /* @__PURE__ */ new Map([
104
104
  ["length", t],
@@ -107,20 +107,20 @@ function De(e = {}) {
107
107
  Object.keys(e).reduce((m, y) => (m.set(y, e[y]), m), o);
108
108
  function h(m, y) {
109
109
  const s = m;
110
- return typeof y == "number" ? [{ target: s, operator: "length", param: null, value: Number(y) }] : typeof y == "boolean" ? [{ target: s, operator: "getProperty", param: m, value: !!y }] : typeof y == "object" ? Object.keys(y).map((c) => {
111
- if (c === "length")
112
- return { target: s, operator: "length", param: null, value: y[c] };
113
- const d = c, i = y[c];
110
+ return typeof y == "number" ? [{ target: s, operator: "length", param: null, value: Number(y) }] : typeof y == "boolean" ? [{ target: s, operator: "getProperty", param: m, value: !!y }] : typeof y == "object" ? Object.keys(y).map((l) => {
111
+ if (l === "length")
112
+ return { target: s, operator: "length", param: null, value: y[l] };
113
+ const d = l, i = y[l];
114
114
  return { target: s, operator: "getProperty", param: d, value: i };
115
115
  }) : [];
116
116
  }
117
117
  function j(m) {
118
- return Object.keys(m).reduce((s, c) => {
119
- const d = h(c, m[c]);
118
+ return Object.keys(m).reduce((s, l) => {
119
+ const d = h(l, m[l]);
120
120
  return s.push(...d), s;
121
121
  }, []);
122
122
  }
123
- function S(m, y) {
123
+ function w(m, y) {
124
124
  if (o.has(m.operator)) {
125
125
  const s = o.get(m.operator);
126
126
  return s && s(m.target, m.param, m.value, y) || !1;
@@ -128,20 +128,20 @@ function De(e = {}) {
128
128
  return !1;
129
129
  }
130
130
  function E(m, y) {
131
- return j(m).reduce((d, i) => d && S(i, y), !0);
131
+ return j(m).reduce((d, i) => d && w(i, y), !0);
132
132
  }
133
133
  function N(m, y) {
134
- const s = Object.keys(m), c = s.includes("allOf"), d = s.includes("anyOf"), i = c || d, g = (i ? m[i ? c ? "allOf" : "anyOf" : "allOf"] : [m]).map((b) => E(b, y));
135
- return c ? !g.includes(!1) : g.includes(!0);
134
+ const s = Object.keys(m), l = s.includes("allOf"), d = s.includes("anyOf"), i = l || d, g = (i ? m[i ? l ? "allOf" : "anyOf" : "allOf"] : [m]).map((b) => E(b, y));
135
+ return l ? !g.includes(!1) : g.includes(!0);
136
136
  }
137
137
  return { parseValueSchema: N };
138
138
  }
139
- const Oe = {
139
+ const Pe = {
140
140
  convertTo: (e, t, n, o) => {
141
141
  e.appearance || (e.appearance = {}), e.appearance[t] = n;
142
142
  },
143
143
  convertFrom: (e, t, n) => e.appearance ? e.appearance[t] : e[t]
144
- }, Pe = {
144
+ }, Oe = {
145
145
  convertFrom: (e, t, n) => e.buttons && e.buttons.length ? `共 ${e.buttons.length} 项` : "无"
146
146
  }, ke = {
147
147
  convertTo: (e, t, n, o) => {
@@ -255,7 +255,7 @@ const Oe = {
255
255
  ]));
256
256
  },
257
257
  convertFrom: (e, t, n) => e.command && t === "enable" ? e.command.enable : ""
258
- }, Le = {
258
+ }, Ce = {
259
259
  convertTo: (e, t, n, o) => {
260
260
  e.column ? e.column[t] = n : e.column = {
261
261
  [t]: n
@@ -270,7 +270,7 @@ const Oe = {
270
270
  }
271
271
  return "";
272
272
  }
273
- }, Ce = {
273
+ }, Le = {
274
274
  convertTo: (e, t, n, o) => {
275
275
  e.summary ? e.summary[t] = n : e.summary = {
276
276
  [t]: n
@@ -280,7 +280,7 @@ const Oe = {
280
280
  });
281
281
  },
282
282
  convertFrom: (e, t, n) => e.summary && t === "enable" ? e.summary.enable : e.type === "data-grid-column" ? e.enableSummary === void 0 ? !1 : e.enableSummary : ""
283
- }, Be = {
283
+ }, $e = {
284
284
  convertTo: (e, t, n, o) => {
285
285
  e.group ? e.group[t] = n : e.group = {
286
286
  [t]: n
@@ -298,7 +298,7 @@ const Oe = {
298
298
  return e.group.showSummary;
299
299
  }
300
300
  }
301
- }, $e = {
301
+ }, Be = {
302
302
  convertFrom: (e, t) => e.binding ? e.binding.path : "",
303
303
  convertTo: (e, t, n) => {
304
304
  if (n && n.length > 0) {
@@ -379,19 +379,19 @@ const Oe = {
379
379
  };
380
380
  function ne(e, t, n) {
381
381
  const o = /* @__PURE__ */ new Map([
382
- ["/converter/appearance.converter", Oe],
383
- ["/converter/buttons.converter", Pe],
382
+ ["/converter/appearance.converter", Pe],
383
+ ["/converter/buttons.converter", Oe],
384
384
  ["/converter/property-editor.converter", ke],
385
385
  ["/converter/items-count.converter", He],
386
386
  ["/converter/type.converter", Ee],
387
387
  ["/converter/change-editor.converter", Me],
388
388
  ["/converter/change-formatter.converter", je],
389
389
  ["/converter/column-command.converter", Ne],
390
- ["/converter/column-option.converter", Le],
391
- ["/converter/summary.converter", Ce],
392
- ["/converter/group.converter", Be],
390
+ ["/converter/column-option.converter", Ce],
391
+ ["/converter/summary.converter", Le],
392
+ ["/converter/group.converter", $e],
393
393
  ["/converter/form-group-label.converter", _e],
394
- ["/converter/field-selector.converter", $e],
394
+ ["/converter/field-selector.converter", Be],
395
395
  ["/converter/pagination.converter", Re],
396
396
  ["/converter/row-number.converter", Ae],
397
397
  ["/converter/grid-selection.converter", qe],
@@ -425,75 +425,75 @@ function ne(e, t, n) {
425
425
  ["number", { type: "number-spinner", placeholder: "" }],
426
426
  ["events-editor", { type: "events-editor", hide: !0 }]
427
427
  ]), j = De();
428
- function S(i, a) {
428
+ function w(i, a) {
429
429
  return () => j.parseValueSchema(i, a);
430
430
  }
431
431
  function E(i, a, f) {
432
- return i.includes("visible") && a.visible !== void 0 ? typeof a.visible == "boolean" ? () => !!a.visible : a.visible === void 0 ? !0 : S(a.visible, f) : () => !0;
432
+ return i.includes("visible") && a.visible !== void 0 ? typeof a.visible == "boolean" ? () => !!a.visible : a.visible === void 0 ? !0 : w(a.visible, f) : () => !0;
433
433
  }
434
434
  function N(i, a, f) {
435
- return i.includes("readonly") && a.readonly !== void 0 ? typeof a.readonly == "boolean" ? () => !!a.readonly : S(a.readonly, f) : () => !1;
435
+ return i.includes("readonly") && a.readonly !== void 0 ? typeof a.readonly == "boolean" ? () => !!a.readonly : w(a.readonly, f) : () => !1;
436
436
  }
437
437
  function m(i, a) {
438
438
  const f = i.$converter || a;
439
439
  return typeof f == "string" && f && o.has(f) ? o.get(f) || null : f || null;
440
440
  }
441
- function y(i, a, f, g, r, b = "", P = "") {
441
+ function y(i, a, f, g, r, b = "", O = "") {
442
442
  return Object.keys(i).map((F) => {
443
- const L = R(1), u = F, l = i[F], O = Object.keys(l), C = l.title, p = l.type, w = h.get(p) || { type: "input-group", enableClear: !1 }, T = l.editor ? Object.assign({}, w, l.editor) : Object.assign({}, w), D = E(O, l, a), M = N(O, l, a);
444
- T.readonly = T.readonly === void 0 ? M() : T.readonly;
445
- const $ = l.type === "cascade" ? y(l.properties, a, f, g, r, b, P) : [], H = !0;
446
- let B = m(l, P);
443
+ const C = R(1), u = F, c = i[F], P = Object.keys(c), L = c.title, p = c.type, T = h.get(p) || { type: "input-group", enableClear: !1 }, S = c.editor ? Object.assign({}, T, c.editor) : Object.assign({}, T), D = E(P, c, a), M = N(P, c, a);
444
+ S.readonly = S.readonly === void 0 ? M() : S.readonly;
445
+ const B = c.type === "cascade" ? y(c.properties, a, f, g, r, b, O) : [], H = !0;
446
+ let $ = m(c, O);
447
447
  const A = _({
448
448
  get() {
449
- if (L.value) {
450
- if (["class", "style"].find((ve) => ve === u) && !B && (B = o.get("/converter/appearance.converter") || null), B && B.convertFrom)
451
- return B.convertFrom(f, F, r, b);
449
+ if (C.value) {
450
+ if (["class", "style"].find((ve) => ve === u) && !$ && ($ = o.get("/converter/appearance.converter") || null), $ && $.convertFrom)
451
+ return $.convertFrom(f, F, r, b);
452
452
  const q = f[F];
453
- return Object.prototype.hasOwnProperty.call(l, "defaultValue") && (q === void 0 || typeof q == "string" && q === "") ? l.type === "boolean" ? l.defaultValue : l.defaultValue || "" : q;
453
+ return Object.prototype.hasOwnProperty.call(c, "defaultValue") && (q === void 0 || typeof q == "string" && q === "") ? c.type === "boolean" ? c.defaultValue : c.defaultValue || "" : q;
454
454
  }
455
455
  return null;
456
456
  },
457
457
  set(q) {
458
- L.value += 1, B && B.convertTo ? (B.convertTo(g, F, q, r, b), B.convertTo(f, F, q, r, b)) : (g[F] = q, f[F] = q);
458
+ C.value += 1, $ && $.convertTo ? ($.convertTo(g, F, q, r, b), $.convertTo(f, F, q, r, b)) : (g[F] = q, f[F] = q);
459
459
  }
460
- }), { refreshPanelAfterChanged: z, description: ue, isExpand: fe, parentPropertyID: pe } = l, U = { propertyID: u, propertyName: C, propertyType: p, propertyValue: A, editor: T, visible: D, readonly: M, cascadeConfig: $, hideCascadeTitle: H, refreshPanelAfterChanged: z, description: ue, isExpand: fe, parentPropertyID: pe };
460
+ }), { refreshPanelAfterChanged: z, description: ue, isExpand: fe, parentPropertyID: pe } = c, U = { propertyID: u, propertyName: L, propertyType: p, propertyValue: A, editor: S, visible: D, readonly: M, cascadeConfig: B, hideCascadeTitle: H, refreshPanelAfterChanged: z, description: ue, isExpand: fe, parentPropertyID: pe };
461
461
  return a[u] = U, U;
462
462
  });
463
463
  }
464
464
  function s(i, a, f = {}) {
465
465
  const g = {}, r = e[i];
466
- return r && r.categories ? Object.keys(r.categories).map((P) => {
467
- const k = r.categories[P], F = k == null ? void 0 : k.title, L = y(k.properties || {}, g, {}, f, a);
468
- return { categoryId: P, categoryName: F, properties: L };
466
+ return r && r.categories ? Object.keys(r.categories).map((O) => {
467
+ const k = r.categories[O], F = k == null ? void 0 : k.title, C = y(k.properties || {}, g, {}, f, a);
468
+ return { categoryId: O, categoryName: F, properties: C };
469
469
  }) : [];
470
470
  }
471
- function c(i, a, f, g, r = "") {
472
- const b = a.$ref.schema, P = a.$ref.converter, k = f[b], F = k.type, L = n(k), u = {}, l = e[F];
473
- if (l && l.categories) {
474
- const O = l.categories[i], C = O == null ? void 0 : O.title;
475
- P && Object.keys(O.properties).forEach((T) => {
476
- O.properties[T].$converter = P;
471
+ function l(i, a, f, g, r = "") {
472
+ const b = a.$ref.schema, O = a.$ref.converter, k = f[b], F = k.type, C = n(k), u = {}, c = e[F];
473
+ if (c && c.categories) {
474
+ const P = c.categories[i], L = P == null ? void 0 : P.title;
475
+ O && Object.keys(P.properties).forEach((S) => {
476
+ P.properties[S].$converter = O;
477
477
  });
478
- const p = (O == null ? void 0 : O.properties) || {}, w = y(p, u, L, k, g, r);
479
- return { categoryId: i, categoryName: C, properties: w };
478
+ const p = (P == null ? void 0 : P.properties) || {}, T = y(p, u, C, k, g, r);
479
+ return { categoryId: i, categoryName: L, properties: T };
480
480
  }
481
481
  return { categoryId: i, categoryName: "", properties: [] };
482
482
  }
483
483
  function d(i, a, f, g, r) {
484
- const b = i.type, P = n(i), k = {};
484
+ const b = i.type, O = n(i), k = {};
485
485
  let F = r || e[b];
486
486
  if (F && Object.keys(F).length === 0 && f && f.getPropConfig && (F = f.getPropConfig(g)), F && F.categories) {
487
- const L = [];
487
+ const C = [];
488
488
  return Object.keys(F.categories).map((u) => {
489
- const l = F.categories[u];
490
- if (l.$ref) {
491
- L.push(c(u, l, i, a, g));
489
+ const c = F.categories[u];
490
+ if (c.$ref) {
491
+ C.push(l(u, c, i, a, g));
492
492
  return;
493
493
  }
494
- const O = l == null ? void 0 : l.title, C = l == null ? void 0 : l.tabId, p = l == null ? void 0 : l.tabName, w = l == null ? void 0 : l.hide, T = l == null ? void 0 : l.hideTitle, D = y(l.properties || {}, k, P, i, a, g, l.$converter), { setPropertyRelates: M } = l, $ = l == null ? void 0 : l.parentPropertyID;
495
- L.push({ categoryId: u, categoryName: O, tabId: C, tabName: p, hide: w, properties: D, hideTitle: T, setPropertyRelates: M, parentPropertyID: $ });
496
- }), L;
494
+ const P = c == null ? void 0 : c.title, L = c == null ? void 0 : c.tabId, p = c == null ? void 0 : c.tabName, T = c == null ? void 0 : c.hide, S = c == null ? void 0 : c.hideTitle, D = y(c.properties || {}, k, O, i, a, g, c.$converter), { setPropertyRelates: M } = c, B = c == null ? void 0 : c.parentPropertyID;
495
+ C.push({ categoryId: u, categoryName: P, tabId: L, tabName: p, hide: T, properties: D, hideTitle: S, setPropertyRelates: M, parentPropertyID: B });
496
+ }), C;
497
497
  }
498
498
  return [];
499
499
  }
@@ -504,14 +504,14 @@ function ne(e, t, n) {
504
504
  };
505
505
  }
506
506
  const re = {}, oe = {};
507
- ne(re, oe, Te);
508
- const ie = {}, ae = {}, { resolveSchemaWithDefaultValue: Je } = K(ie, ae), se = {}, le = {};
509
- ne(se, le, Je);
510
- function Qe(e, t, n = /* @__PURE__ */ new Map(), o = (S, E, N, m) => E, h = {}, j = (S) => S) {
511
- return I[t.title] = t, ee[t.title] = o, re[t.title] = h, oe[t.title] = j, ie[t.title] = t, ae[t.title] = o, se[t.title] = h, le[t.title] = j, (S = {}, E = !0) => {
507
+ ne(re, oe, Se);
508
+ const ie = {}, ae = {}, { getSchemaByType: ht, resolveSchemaWithDefaultValue: Je, resolveSchemaToProps: Tt, mappingSchemaToProps: St, setDesignerContext: wt } = K(ie, ae), se = {}, ce = {};
509
+ ne(se, ce, Je);
510
+ function Qe(e, t, n = /* @__PURE__ */ new Map(), o = (w, E, N, m) => E, h = {}, j = (w) => w) {
511
+ return I[t.title] = t, ee[t.title] = o, re[t.title] = h, oe[t.title] = j, ie[t.title] = t, ae[t.title] = o, se[t.title] = h, ce[t.title] = j, (w = {}, E = !0) => {
512
512
  if (!E)
513
- return Fe(S, n);
514
- const N = Se(S, t, n), m = Object.keys(e).reduce((y, s) => (y[s] = e[s].default, y), {});
513
+ return Fe(w, n);
514
+ const N = we(w, t, n), m = Object.keys(e).reduce((y, s) => (y[s] = e[s].default, y), {});
515
515
  return Object.assign(m, N);
516
516
  };
517
517
  }
@@ -597,7 +597,7 @@ const xe = "https://json-schema.org/draft/2020-12/schema", Ke = "https://farris-
597
597
  type: tt,
598
598
  properties: nt,
599
599
  required: rt
600
- }, it = "verify-detail", at = "A Farris Component", st = "object", lt = {
600
+ }, it = "verify-detail", at = "A Farris Component", st = "object", ct = {
601
601
  basic: {
602
602
  description: "Basic Infomation",
603
603
  title: "基本信息",
@@ -619,11 +619,11 @@ const xe = "https://json-schema.org/draft/2020-12/schema", Ke = "https://farris-
619
619
  }
620
620
  }
621
621
  }
622
- }, ct = {
622
+ }, lt = {
623
623
  title: it,
624
624
  description: at,
625
625
  type: st,
626
- categories: lt
626
+ categories: ct
627
627
  }, W = {
628
628
  /** 表单验证默认显示的分组信息 */
629
629
  showType: { type: String, default: "" },
@@ -638,7 +638,7 @@ const xe = "https://json-schema.org/draft/2020-12/schema", Ke = "https://farris-
638
638
  maxHeight: { type: Number, default: 200 },
639
639
  /** 验证信息条目点击事件回调 */
640
640
  onValidatorClick: { type: Function }
641
- }, Y = Qe(W, ot, Ye, Ze, ct), V = /* @__PURE__ */ Z({
641
+ }, Y = Qe(W, ot, Ye, Ze, lt), V = /* @__PURE__ */ Z({
642
642
  name: "FVerifyDetail",
643
643
  props: W,
644
644
  emits: ["validatorClick", "listshow"],
@@ -655,10 +655,10 @@ const xe = "https://json-schema.org/draft/2020-12/schema", Ke = "https://farris-
655
655
  function j() {
656
656
  o.value = !o.value, t.emit("listshow", o.value);
657
657
  }
658
- function S(r) {
658
+ function w(r) {
659
659
  var b;
660
- !r && h.value && h.value.length > 0 && (r = h.value[0].type), (b = h.value) == null || b.forEach((P) => {
661
- P.active = P.type === r;
660
+ !r && h.value && h.value.length > 0 && (r = h.value[0].type), (b = h.value) == null || b.forEach((O) => {
661
+ O.active = O.type === r;
662
662
  });
663
663
  }
664
664
  function E(r) {
@@ -667,7 +667,7 @@ const xe = "https://json-schema.org/draft/2020-12/schema", Ke = "https://farris-
667
667
  });
668
668
  }
669
669
  function N(r) {
670
- r.length <= 0 || (S(r.type), E(r.type));
670
+ r.length <= 0 || (w(r.type), E(r.type));
671
671
  }
672
672
  function m() {
673
673
  o.value = !1, t.emit("listshow", !1);
@@ -694,7 +694,7 @@ const xe = "https://json-schema.org/draft/2020-12/schema", Ke = "https://farris-
694
694
  title: r.msg
695
695
  }, [r.msg])])]);
696
696
  }
697
- function c() {
697
+ function l() {
698
698
  return n.map((r) => v("ul", {
699
699
  class: ["f-verify-list-content", {
700
700
  active: r.show
@@ -733,22 +733,22 @@ const xe = "https://json-schema.org/draft/2020-12/schema", Ke = "https://farris-
733
733
  function g() {
734
734
  var b;
735
735
  const r = [];
736
- h.value && ((b = h.value) != null && b.length) && (h.value.map((P) => {
736
+ h.value && ((b = h.value) != null && b.length) && (h.value.map((O) => {
737
737
  const k = {
738
- list: P.type === "all" ? e.verifyList : [],
738
+ list: O.type === "all" ? e.verifyList : [],
739
739
  show: !1,
740
- type: P.type
740
+ type: O.type
741
741
  };
742
742
  r.push(k);
743
- }), r.map((P, k) => {
744
- const F = e.verifyList.filter((L) => L.type === P.type);
743
+ }), r.map((O, k) => {
744
+ const F = e.verifyList.filter((C) => C.type === O.type);
745
745
  r[k].list = k !== 0 ? F : r[k].list;
746
- }), h.value.map((P, k) => {
747
- P.length = r[k].list.length;
746
+ }), h.value.map((O, k) => {
747
+ O.length = r[k].list.length;
748
748
  })), n = r;
749
749
  }
750
750
  return x(() => {
751
- g(), E(e.showType), S(e.showType);
751
+ g(), E(e.showType), w(e.showType);
752
752
  }), () => v("div", {
753
753
  class: d.value ? `f-verify-detail ${e.customClass}` : ""
754
754
  }, [d.value ? v("div", {
@@ -776,7 +776,7 @@ const xe = "https://json-schema.org/draft/2020-12/schema", Ke = "https://farris-
776
776
  style: {
777
777
  maxHeight: e.maxHeight + "px"
778
778
  }
779
- }, [c()])])])])]) : null]);
779
+ }, [l()])])])])]) : null]);
780
780
  }
781
781
  });
782
782
  function ut(e, t, n) {
@@ -788,7 +788,7 @@ function ut(e, t, n) {
788
788
  }
789
789
  }).mount(n);
790
790
  }
791
- class ce {
791
+ class le {
792
792
  static show(t, n) {
793
793
  this.clear();
794
794
  let o = 0;
@@ -799,11 +799,11 @@ class ce {
799
799
  t && (t.parentNode && t.parentNode.removeChild(t), t = null);
800
800
  }
801
801
  }
802
- G(ce, "verifyContainer", null);
802
+ G(le, "verifyContainer", null);
803
803
  function ft(e, t, n) {
804
- var C;
804
+ var L;
805
805
  const o = "", h = "", j = R();
806
- let S;
806
+ let w;
807
807
  function E() {
808
808
  return (t == null ? void 0 : t.schema.componentType) !== "frame";
809
809
  }
@@ -821,98 +821,98 @@ function ft(e, t, n) {
821
821
  return null;
822
822
  if (p.value.schema && p.value.schema.type === "component")
823
823
  return p.value;
824
- const w = R(p == null ? void 0 : p.value.parent), T = s(w);
825
- return T || null;
824
+ const T = R(p == null ? void 0 : p.value.parent), S = s(T);
825
+ return S || null;
826
826
  }
827
- function c(p = t) {
827
+ function l(p = t) {
828
828
  var M;
829
- const { componentInstance: w, designerItemElementRef: T } = p;
830
- if (!w || !w.value)
829
+ const { componentInstance: T, designerItemElementRef: S } = p;
830
+ if (!T || !T.value)
831
831
  return null;
832
- const { getCustomButtons: D } = w.value;
833
- return w.value.canMove || D && ((M = D()) != null && M.length) ? T : c(p.parent);
832
+ const { getCustomButtons: D } = T.value;
833
+ return T.value.canMove || D && ((M = D()) != null && M.length) ? S : l(p.parent);
834
834
  }
835
835
  function d(p) {
836
- return !1;
836
+ return !!n;
837
837
  }
838
838
  function i() {
839
839
  return (t == null ? void 0 : t.schema.label) || (t == null ? void 0 : t.schema.title) || (t == null ? void 0 : t.schema.name);
840
840
  }
841
841
  function a() {
842
842
  }
843
- function f(p, w) {
844
- var T;
845
- !p || !w || (T = t == null ? void 0 : t.setupContext) == null || T.emit("dragEnd");
843
+ function f(p, T) {
844
+ var S;
845
+ !p || !T || (S = t == null ? void 0 : t.setupContext) == null || S.emit("dragEnd");
846
846
  }
847
- function g(p, w) {
848
- const { componentType: T } = p;
849
- let D = we(T, p, w);
850
- const M = T.toLowerCase().replace(/-/g, "_");
851
- return D && !D.id && D.type === T && (D.id = `${M}_${Math.random().toString().slice(2, 6)}`), D;
847
+ function g(p, T) {
848
+ const { componentType: S } = p;
849
+ let D = Te(S, p, T);
850
+ const M = S.toLowerCase().replace(/-/g, "_");
851
+ return D && !D.id && D.type === S && (D.id = `${M}_${Math.random().toString().slice(2, 6)}`), D;
852
852
  }
853
853
  function r(p) {
854
854
  }
855
855
  function b(...p) {
856
856
  }
857
- function P(p) {
857
+ function O(p) {
858
858
  if (!p)
859
859
  return;
860
- const w = t == null ? void 0 : t.schema, { formSchemaUtils: T } = p;
861
- if (w && T.getExpressions().length) {
862
- const D = T.getExpressions().findIndex((M) => M.target === w.id);
863
- D > -1 && T.getExpressions().splice(D, 1);
860
+ const T = t == null ? void 0 : t.schema, { formSchemaUtils: S } = p;
861
+ if (T && S.getExpressions().length) {
862
+ const D = S.getExpressions().findIndex((M) => M.target === T.id);
863
+ D > -1 && S.getExpressions().splice(D, 1);
864
864
  }
865
865
  }
866
866
  function k(p) {
867
867
  if (!p || !(t != null && t.schema))
868
868
  return;
869
- const w = t.schema, { formSchemaUtils: T } = p;
870
- T.removeCommunicationInComponent(w);
869
+ const T = t.schema, { formSchemaUtils: S } = p;
870
+ S.removeCommunicationInComponent(T);
871
871
  }
872
872
  function F(p) {
873
- P(p), k(p), t != null && t.schema.contents && t.schema.contents.map((w) => {
874
- let T = w.id;
875
- w.type === "component-ref" && (T = w.component);
876
- const D = e.value.querySelectorAll(`#${T}-design-item`);
873
+ O(p), k(p), t != null && t.schema.contents && t.schema.contents.map((T) => {
874
+ let S = T.id;
875
+ T.type === "component-ref" && (S = T.component);
876
+ const D = e.value.querySelectorAll(`#${S}-design-item`);
877
877
  D != null && D.length && Array.from(D).map((M) => {
878
- var $;
879
- ($ = M == null ? void 0 : M.componentInstance) != null && $.value.onRemoveComponent && M.componentInstance.value.onRemoveComponent(p);
878
+ var B;
879
+ (B = M == null ? void 0 : M.componentInstance) != null && B.value.onRemoveComponent && M.componentInstance.value.onRemoveComponent(p);
880
880
  });
881
881
  });
882
882
  }
883
- function L() {
883
+ function C() {
884
884
  }
885
885
  function u(p) {
886
- var T, D;
887
- if (!((T = t == null ? void 0 : t.schema) != null && T.id))
886
+ var S, D;
887
+ if (!((S = t == null ? void 0 : t.schema) != null && S.id))
888
888
  return;
889
- !S && p && (S = p.formSchemaUtils);
890
- let w = "";
889
+ !w && p && (w = p.formSchemaUtils);
890
+ let T = "";
891
891
  {
892
- const { text: M, title: $, label: H, mainTitle: B, name: A, type: z } = t.schema;
893
- w = M || $ || H || B || A || ((D = te[z]) == null ? void 0 : D.name);
892
+ const { text: M, title: B, label: H, mainTitle: $, name: A, type: z } = t.schema;
893
+ T = M || B || H || $ || A || ((D = te[z]) == null ? void 0 : D.name);
894
894
  }
895
- w && S.getControlBasicInfoMap().set(t.schema.id, {
896
- componentTitle: w,
897
- parentPathName: w
895
+ T && w.getControlBasicInfoMap().set(t.schema.id, {
896
+ componentTitle: T,
897
+ parentPathName: T
898
898
  });
899
899
  }
900
- function l(p) {
900
+ function c(p) {
901
901
  var M;
902
- const { changeObject: w } = p, { propertyID: T, propertyValue: D } = w;
903
- if (["text", "title", "label", "name", "mainTitle"].includes((M = p == null ? void 0 : p.changeObject) == null ? void 0 : M.propertyID) && T && D && (u(), S)) {
904
- const $ = S.getControlBasicInfoMap(), H = $.keys().toArray().filter((B) => {
902
+ const { changeObject: T } = p, { propertyID: S, propertyValue: D } = T;
903
+ if (["text", "title", "label", "name", "mainTitle"].includes((M = p == null ? void 0 : p.changeObject) == null ? void 0 : M.propertyID) && S && D && (u(), w)) {
904
+ const B = w.getControlBasicInfoMap(), H = B.keys().toArray().filter(($) => {
905
905
  var A, z;
906
- return ((A = $.get(B)) == null ? void 0 : A.reliedComponentId) === ((z = t == null ? void 0 : t.schema) == null ? void 0 : z.id);
906
+ return ((A = B.get($)) == null ? void 0 : A.reliedComponentId) === ((z = t == null ? void 0 : t.schema) == null ? void 0 : z.id);
907
907
  });
908
- H != null && H.length && H.forEach((B) => {
909
- const A = $.get(B).parentPathName.split(" > ");
910
- A[0] = D, $.get(B).parentPathName = A.join(" > ");
908
+ H != null && H.length && H.forEach(($) => {
909
+ const A = B.get($).parentPathName.split(" > ");
910
+ A[0] = D, B.get($).parentPathName = A.join(" > ");
911
911
  });
912
912
  }
913
913
  }
914
- function O(p) {
915
- l(p);
914
+ function P(p) {
915
+ c(p);
916
916
  }
917
917
  return j.value = {
918
918
  canMove: E(),
@@ -921,13 +921,13 @@ function ft(e, t, n) {
921
921
  canNested: !y(),
922
922
  contents: t == null ? void 0 : t.schema.contents,
923
923
  elementRef: e,
924
- parent: (C = t == null ? void 0 : t.parent) == null ? void 0 : C.componentInstance,
924
+ parent: (L = t == null ? void 0 : t.parent) == null ? void 0 : L.componentInstance,
925
925
  schema: t == null ? void 0 : t.schema,
926
926
  styles: o,
927
927
  designerClass: h,
928
928
  canAccepts: d,
929
929
  getBelongedComponentInstance: s,
930
- getDraggableDesignItemElement: c,
930
+ getDraggableDesignItemElement: l,
931
931
  getDraggingDisplayText: i,
932
932
  getPropConfig: b,
933
933
  getDragScopeElement: a,
@@ -937,8 +937,8 @@ function ft(e, t, n) {
937
937
  triggerBelongedComponentToMoveWhenMoved: R(!1),
938
938
  triggerBelongedComponentToDeleteWhenDeleted: R(!1),
939
939
  onRemoveComponent: F,
940
- getCustomButtons: L,
941
- onPropertyChanged: O,
940
+ getCustomButtons: C,
941
+ onPropertyChanged: P,
942
942
  setComponentBasicInfoMap: u,
943
943
  updateContextSchema: t == null ? void 0 : t.updateContextSchema
944
944
  }, j;
@@ -949,26 +949,26 @@ const pt = /* @__PURE__ */ Z({
949
949
  emits: ["validatorClick", "listshow"],
950
950
  setup(e, t) {
951
951
  let n = [];
952
- const o = R(e.showList), h = R(e.maxHeight), j = R(e.verifyList), S = R(e.showType), E = R(e.verifyType), N = R(), m = be("design-item-context"), y = ft(N, m);
952
+ const o = R(e.showList), h = R(e.maxHeight), j = R(e.verifyList), w = R(e.showType), E = R(e.verifyType), N = R(), m = be("design-item-context"), y = ft(N, m);
953
953
  he(() => {
954
954
  N.value.componentInstance = y;
955
955
  }), t.expose(y.value);
956
956
  function s() {
957
957
  o.value = !o.value, t.emit("listshow", o.value);
958
958
  }
959
- function c(u) {
960
- var l;
961
- (l = E.value) == null || l.forEach((O) => {
962
- O.active = O.type === u;
959
+ function l(u) {
960
+ var c;
961
+ (c = E.value) == null || c.forEach((P) => {
962
+ P.active = P.type === u;
963
963
  });
964
964
  }
965
965
  function d(u) {
966
- n.forEach((l) => {
967
- l.show = l.type === u;
966
+ n.forEach((c) => {
967
+ c.show = c.type === u;
968
968
  });
969
969
  }
970
970
  function i(u) {
971
- u.length <= 0 || (c(u.type), d(u.type));
971
+ u.length <= 0 || (l(u.type), d(u.type));
972
972
  }
973
973
  function a() {
974
974
  o.value = !1, t.emit("listshow", !1);
@@ -999,13 +999,13 @@ const pt = /* @__PURE__ */ Z({
999
999
  class: ["f-verify-list-content", {
1000
1000
  active: u.show
1001
1001
  }]
1002
- }, [u.list && u.list.map((l) => g(l))]));
1002
+ }, [u.list && u.list.map((c) => g(c))]));
1003
1003
  }
1004
1004
  const b = _(() => {
1005
1005
  var u;
1006
1006
  return ((u = j.value) == null ? void 0 : u.length) > 0;
1007
1007
  });
1008
- function P(u) {
1008
+ function O(u) {
1009
1009
  return {
1010
1010
  "btn btn-secondary": !0,
1011
1011
  active: u.active,
@@ -1014,10 +1014,10 @@ const pt = /* @__PURE__ */ Z({
1014
1014
  }
1015
1015
  const k = _(() => {
1016
1016
  var u;
1017
- return (u = E.value) == null ? void 0 : u.map((l) => v("button", {
1018
- class: P(l),
1019
- onClick: () => i(l)
1020
- }, [l.title, v("span", null, [l.length])]));
1017
+ return (u = E.value) == null ? void 0 : u.map((c) => v("button", {
1018
+ class: O(c),
1019
+ onClick: () => i(c)
1020
+ }, [c.title, v("span", null, [c.length])]));
1021
1021
  }), F = _(() => {
1022
1022
  var u;
1023
1023
  return v("div", {
@@ -1029,25 +1029,25 @@ const pt = /* @__PURE__ */ Z({
1029
1029
  class: "nums-count"
1030
1030
  }, [(u = j.value) == null ? void 0 : u.length])]);
1031
1031
  });
1032
- function L() {
1033
- var l;
1032
+ function C() {
1033
+ var c;
1034
1034
  const u = [];
1035
- E.value && ((l = E.value) != null && l.length) && (E.value.map((O) => {
1036
- const C = {
1037
- list: O.type === "all" ? j.value : [],
1035
+ E.value && ((c = E.value) != null && c.length) && (E.value.map((P) => {
1036
+ const L = {
1037
+ list: P.type === "all" ? j.value : [],
1038
1038
  show: !1,
1039
- type: O.type
1039
+ type: P.type
1040
1040
  };
1041
- u.push(C);
1042
- }), u.map((O, C) => {
1043
- const p = j.value.filter((w) => w.type === O.type);
1044
- u[C].list = C !== 0 ? p : u[C].list;
1045
- }), E.value.map((O, C) => {
1046
- O.length = u[C].list.length;
1041
+ u.push(L);
1042
+ }), u.map((P, L) => {
1043
+ const p = j.value.filter((T) => T.type === P.type);
1044
+ u[L].list = L !== 0 ? p : u[L].list;
1045
+ }), E.value.map((P, L) => {
1046
+ P.length = u[L].list.length;
1047
1047
  })), n = u;
1048
1048
  }
1049
1049
  return x(() => {
1050
- L(), d(S.value), c(S.value);
1050
+ C(), d(w.value), l(w.value);
1051
1051
  }), () => v("div", {
1052
1052
  ref: N
1053
1053
  }, [b.value ? v("div", {
@@ -1079,9 +1079,9 @@ const pt = /* @__PURE__ */ Z({
1079
1079
  }
1080
1080
  }, [r()])])])])])]) : null]);
1081
1081
  }
1082
- }), gt = {
1082
+ }), Ft = {
1083
1083
  install(e) {
1084
- e.component(V.name, V), e.provide("FVerifyDetailService", ce);
1084
+ e.component(V.name, V), e.provide("FVerifyDetailService", le);
1085
1085
  },
1086
1086
  register(e, t, n, o) {
1087
1087
  e["verify-detail"] = V, t["verify-detail"] = Y;
@@ -1092,8 +1092,8 @@ const pt = /* @__PURE__ */ Z({
1092
1092
  };
1093
1093
  export {
1094
1094
  V as FVerifyDetail,
1095
- ce as FVerifyDetailService,
1096
- gt as default,
1095
+ le as FVerifyDetailService,
1096
+ Ft as default,
1097
1097
  Y as propsResolver,
1098
1098
  W as verifyDetailProps
1099
1099
  };