@farris/ui-vue 1.2.8 → 1.2.9

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 (215) hide show
  1. package/components/accordion/index.esm.js +129 -129
  2. package/components/accordion/index.umd.cjs +1 -0
  3. package/components/avatar/index.esm.js +166 -157
  4. package/components/avatar/index.umd.cjs +1 -0
  5. package/components/border-editor/index.umd.cjs +1 -0
  6. package/components/button/index.umd.cjs +1 -0
  7. package/components/button-edit/index.esm.js +343 -325
  8. package/components/button-edit/index.umd.cjs +1 -0
  9. package/components/button-group/index.umd.cjs +1 -0
  10. package/components/calculator/index.umd.cjs +1 -0
  11. package/components/calendar/index.esm.js +338 -338
  12. package/components/calendar/index.umd.cjs +1 -0
  13. package/components/capsule/index.esm.js +182 -182
  14. package/components/capsule/index.umd.cjs +1 -0
  15. package/components/checkbox/index.esm.js +326 -317
  16. package/components/checkbox/index.umd.cjs +1 -0
  17. package/components/color-picker/index.esm.js +118 -118
  18. package/components/color-picker/index.umd.cjs +3 -0
  19. package/components/combo-list/index.esm.js +338 -325
  20. package/components/combo-list/index.umd.cjs +1 -0
  21. package/components/combo-tree/index.esm.js +62 -62
  22. package/components/combo-tree/index.umd.cjs +1 -0
  23. package/components/common/index.umd.cjs +1 -0
  24. package/components/component/index.esm.js +382 -270
  25. package/components/component/index.umd.cjs +1 -0
  26. package/components/condition/index.esm.js +1018 -895
  27. package/components/condition/index.umd.cjs +1 -0
  28. package/components/content-container/index.esm.js +285 -212
  29. package/components/content-container/index.umd.cjs +1 -0
  30. package/components/data-grid/index.css +1 -1
  31. package/components/data-grid/index.esm.js +4761 -4319
  32. package/components/data-grid/index.umd.cjs +1 -0
  33. package/components/data-view/index.esm.js +2901 -2664
  34. package/components/data-view/index.umd.cjs +1 -0
  35. package/components/date-picker/index.esm.js +1502 -1488
  36. package/components/date-picker/index.umd.cjs +1 -0
  37. package/components/designer-canvas/index.css +1 -1
  38. package/components/designer-canvas/index.esm.js +938 -928
  39. package/components/designer-canvas/index.umd.cjs +1 -0
  40. package/components/designer-outline/index.css +1 -1
  41. package/components/designer-outline/index.esm.js +27 -27
  42. package/components/designer-outline/index.umd.cjs +1 -0
  43. package/components/designer-toolbox/index.esm.js +36 -12
  44. package/components/designer-toolbox/index.umd.cjs +1 -0
  45. package/components/discussion-editor/index.umd.cjs +3 -0
  46. package/components/discussion-list/index.umd.cjs +1 -0
  47. package/components/drawer/index.umd.cjs +1 -0
  48. package/components/dropdown/index.esm.js +241 -241
  49. package/components/dropdown/index.umd.cjs +2 -0
  50. package/components/dynamic-form/index.esm.js +1074 -885
  51. package/components/dynamic-form/index.umd.cjs +1 -0
  52. package/components/dynamic-resolver/index.esm.js +99 -94
  53. package/components/dynamic-resolver/index.umd.cjs +1 -0
  54. package/components/dynamic-view/index.umd.cjs +1 -0
  55. package/components/enum-editor/index.umd.cjs +1 -0
  56. package/components/events-editor/index.esm.js +577 -522
  57. package/components/events-editor/index.umd.cjs +1 -0
  58. package/components/expression-editor/index.esm.js +70 -70
  59. package/components/expression-editor/index.umd.cjs +1 -0
  60. package/components/external-container/index.css +1 -1
  61. package/components/external-container/index.esm.js +2938 -2619
  62. package/components/external-container/index.umd.cjs +1 -0
  63. package/components/field-selector/index.css +1 -1
  64. package/components/field-selector/index.esm.js +4766 -4325
  65. package/components/field-selector/index.umd.cjs +1 -0
  66. package/components/filter-bar/index.css +1 -1
  67. package/components/filter-bar/index.esm.js +1231 -1215
  68. package/components/filter-bar/index.umd.cjs +1 -0
  69. package/components/flow-canvas/index.css +1 -1
  70. package/components/flow-canvas/index.esm.js +1062 -1052
  71. package/components/flow-canvas/index.umd.cjs +1 -0
  72. package/components/image-cropper/index.esm.js +373 -373
  73. package/components/image-cropper/index.umd.cjs +1 -0
  74. package/components/input-group/index.esm.js +398 -394
  75. package/components/input-group/index.umd.cjs +1 -0
  76. package/components/layout/index.esm.js +268 -268
  77. package/components/layout/index.umd.cjs +1 -0
  78. package/components/list-nav/index.esm.js +234 -161
  79. package/components/list-nav/index.umd.cjs +1 -0
  80. package/components/list-view/index.css +1 -1
  81. package/components/list-view/index.esm.js +2288 -2048
  82. package/components/list-view/index.umd.cjs +1 -0
  83. package/components/loading/index.umd.cjs +8 -0
  84. package/components/locale/index.umd.cjs +1 -0
  85. package/components/lookup/index.css +1 -1
  86. package/components/lookup/index.esm.js +5776 -5305
  87. package/components/lookup/index.umd.cjs +1 -0
  88. package/components/mapping-editor/index.css +1 -1
  89. package/components/mapping-editor/index.esm.js +5496 -5036
  90. package/components/mapping-editor/index.umd.cjs +1 -0
  91. package/components/message-box/index.umd.cjs +1 -0
  92. package/components/modal/index.umd.cjs +1 -0
  93. package/components/nav/index.esm.js +383 -322
  94. package/components/nav/index.umd.cjs +3 -0
  95. package/components/notify/index.umd.cjs +1 -0
  96. package/components/number-range/index.esm.js +273 -269
  97. package/components/number-range/index.umd.cjs +1 -0
  98. package/components/number-spinner/index.esm.js +292 -283
  99. package/components/number-spinner/index.umd.cjs +1 -0
  100. package/components/order/index.css +1 -1
  101. package/components/order/index.esm.js +1008 -925
  102. package/components/order/index.umd.cjs +1 -0
  103. package/components/page-footer/index.esm.js +98 -98
  104. package/components/page-footer/index.umd.cjs +1 -0
  105. package/components/page-header/index.esm.js +949 -847
  106. package/components/page-header/index.umd.cjs +1 -0
  107. package/components/pagination/index.esm.js +464 -403
  108. package/components/pagination/index.umd.cjs +1 -0
  109. package/components/popover/index.umd.cjs +1 -0
  110. package/components/progress/index.esm.js +226 -226
  111. package/components/progress/index.umd.cjs +3 -0
  112. package/components/property-editor/index.esm.js +1110 -1092
  113. package/components/property-editor/index.umd.cjs +3 -0
  114. package/components/property-panel/index.esm.js +520 -513
  115. package/components/property-panel/index.umd.cjs +1 -0
  116. package/components/query-solution/index.css +1 -1
  117. package/components/query-solution/index.esm.js +1714 -1575
  118. package/components/query-solution/index.umd.cjs +1 -0
  119. package/components/radio-button/index.esm.js +67 -67
  120. package/components/radio-button/index.umd.cjs +1 -0
  121. package/components/radio-group/index.esm.js +298 -289
  122. package/components/radio-group/index.umd.cjs +1 -0
  123. package/components/rate/index.esm.js +195 -190
  124. package/components/rate/index.umd.cjs +1 -0
  125. package/components/response-layout/index.esm.js +112 -112
  126. package/components/response-layout/index.umd.cjs +1 -0
  127. package/components/response-layout-editor/index.esm.js +902 -877
  128. package/components/response-layout-editor/index.umd.cjs +1 -0
  129. package/components/response-toolbar/index.esm.js +874 -778
  130. package/components/response-toolbar/index.umd.cjs +1 -0
  131. package/components/schema-selector/index.css +1 -1
  132. package/components/schema-selector/index.esm.js +4594 -4289
  133. package/components/schema-selector/index.umd.cjs +8 -0
  134. package/components/search-box/index.esm.js +126 -126
  135. package/components/search-box/index.umd.cjs +1 -0
  136. package/components/section/index.esm.js +645 -503
  137. package/components/section/index.umd.cjs +1 -0
  138. package/components/smoke-detector/index.esm.js +120 -120
  139. package/components/smoke-detector/index.umd.cjs +1 -0
  140. package/components/spacing-editor/index.umd.cjs +1 -0
  141. package/components/splitter/index.esm.js +421 -348
  142. package/components/splitter/index.umd.cjs +1 -0
  143. package/components/step/index.esm.js +219 -219
  144. package/components/step/index.umd.cjs +1 -0
  145. package/components/switch/index.esm.js +232 -222
  146. package/components/switch/index.umd.cjs +1 -0
  147. package/components/tabs/index.esm.js +1823 -1744
  148. package/components/tabs/index.umd.cjs +1 -0
  149. package/components/tags/index.esm.js +399 -401
  150. package/components/tags/index.umd.cjs +1 -0
  151. package/components/text/index.esm.js +164 -164
  152. package/components/text/index.umd.cjs +1 -0
  153. package/components/textarea/index.esm.js +220 -215
  154. package/components/textarea/index.umd.cjs +1 -0
  155. package/components/time-picker/index.esm.js +693 -666
  156. package/components/time-picker/index.umd.cjs +1 -0
  157. package/components/tooltip/index.umd.cjs +1 -0
  158. package/components/transfer/index.css +1 -1
  159. package/components/transfer/index.esm.js +422 -413
  160. package/components/transfer/index.umd.cjs +1 -0
  161. package/components/tree-grid/index.css +1 -1
  162. package/components/tree-grid/index.esm.js +4799 -4358
  163. package/components/tree-grid/index.umd.cjs +1 -0
  164. package/components/tree-view/index.esm.js +2448 -2215
  165. package/components/tree-view/index.umd.cjs +1 -0
  166. package/components/uploader/index.esm.js +164 -164
  167. package/components/uploader/index.umd.cjs +2 -0
  168. package/components/verify-detail/index.esm.js +143 -143
  169. package/components/verify-detail/index.umd.cjs +1 -0
  170. package/components/video/index.esm.js +410 -331
  171. package/components/video/index.umd.cjs +1 -0
  172. package/components/weather/index.esm.js +901 -901
  173. package/components/weather/index.umd.cjs +16 -0
  174. package/farris.all.esm.js +12305 -11403
  175. package/farris.all.umd.cjs +8 -8
  176. package/index.css +1 -1
  177. package/package.json +1 -1
  178. package/types/button-edit/src/designer/button-group.design.component.d.ts +7 -0
  179. package/types/combo-list/src/components/list-container.component.d.ts +3 -0
  180. package/types/combo-list/src/components/list-container.props.d.ts +5 -1
  181. package/types/common/entity/entity-schema.d.ts +258 -0
  182. package/types/component/src/component-ref.props.d.ts +4 -0
  183. package/types/component/src/composition/inner-component-build-info.d.ts +27 -0
  184. package/types/component/src/designer/use-designer-rules.d.ts +2 -2
  185. package/types/data-grid/index.d.ts +5 -2
  186. package/types/data-grid/src/composition/data-grid-component-creator.service.d.ts +33 -0
  187. package/types/data-grid/src/data-grid.component.d.ts +2 -1
  188. package/types/data-grid/src/data-grid.props.d.ts +2 -2
  189. package/types/data-grid/src/designer/use-group-column.d.ts +20 -0
  190. package/types/data-grid/src/property-config/data-grid.property-config.d.ts +4 -0
  191. package/types/data-grid/src/schema/schema-resolver.d.ts +2 -1
  192. package/types/data-view/components/column-format/boolean.component.d.ts +4 -0
  193. package/types/data-view/components/column-format/column-format.component.d.ts +4 -0
  194. package/types/data-view/components/column-format/date.component.d.ts +4 -0
  195. package/types/data-view/components/column-format/enum.component.d.ts +4 -0
  196. package/types/data-view/components/column-format/number.component.d.ts +4 -0
  197. package/types/data-view/composition/pagination/use-pagination.d.ts +1 -0
  198. package/types/data-view/composition/types.d.ts +18 -6
  199. package/types/data-view/composition/use-edit.d.ts +2 -1
  200. package/types/designer-canvas/src/composition/function/use-dragula.d.ts +2 -2
  201. package/types/designer-canvas/src/types.d.ts +2 -2
  202. package/types/dynamic-form/index.d.ts +2 -1
  203. package/types/dynamic-form/src/composition/response-form-component-creator.service.d.ts +31 -0
  204. package/types/dynamic-form/src/schema/schema-resolver.d.ts +2 -1
  205. package/types/dynamic-resolver/src/schema-resolver.d.ts +2 -1
  206. package/types/dynamic-resolver/src/types.d.ts +3 -2
  207. package/types/response-toolbar/src/response-toolbar.props.d.ts +2 -2
  208. package/types/response-toolbar/src/schema/schema-mapper.d.ts +4 -0
  209. package/types/section/src/property-config/section.property-config.d.ts +93 -0
  210. package/types/section/src/schema/schema-resolver.d.ts +2 -1
  211. package/types/tabs/src/composition/types.d.ts +2 -2
  212. package/types/tabs/src/designer/tab-header-item.design.component.d.ts +3 -1
  213. package/types/tabs/src/property-config/tab-page.property-config.d.ts +60 -0
  214. package/types/tabs/src/schema/schema-resolver.d.ts +2 -1
  215. package/types/tags/index.d.ts +36 -5
@@ -1,7 +1,7 @@
1
1
  var rt = Object.defineProperty;
2
2
  var it = (e, t, n) => t in e ? rt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
3
  var V = (e, t, n) => it(e, typeof t != "symbol" ? t + "" : t, n);
4
- import { ref as f, computed as k, createVNode as r, createTextVNode as Y, defineComponent as U, watch as W, inject as de, onMounted as Q, nextTick as oe, reactive as st, withDirectives as pe, resolveDirective as ut, Fragment as J, mergeProps as Pe, onBeforeMount as ct, withModifiers as dt, vModelText as pt, Teleport as ft, createApp as mt, onUnmounted as vt, vShow as yt } from "vue";
4
+ import { ref as f, computed as k, createVNode as i, createTextVNode as Y, defineComponent as U, watch as W, inject as fe, onMounted as Q, nextTick as oe, reactive as st, withDirectives as me, resolveDirective as ut, Fragment as K, mergeProps as Ie, onBeforeMount as ct, withModifiers as dt, vModelText as pt, Teleport as ft, createApp as mt, onUnmounted as vt, vShow as yt } from "vue";
5
5
  import { cloneDeep as X } from "lodash-es";
6
6
  import "bignumber.js";
7
7
  import gt, { useNumber as ht, useFormat as bt, useSpinner as Ct, useTextBox as wt } from "../number-spinner/index.esm.js";
@@ -11,17 +11,17 @@ import St from "../button-edit/index.esm.js";
11
11
  import xt from "../button-group/index.esm.js";
12
12
  import kt from "../calendar/index.esm.js";
13
13
  import Bt from "../capsule/index.esm.js";
14
- import Pt, { FCheckBox as fe } from "../checkbox/index.esm.js";
14
+ import Pt, { FCheckBox as ve } from "../checkbox/index.esm.js";
15
15
  import It from "../combo-list/index.esm.js";
16
16
  import Vt from "../combo-tree/index.esm.js";
17
17
  import $t from "../component/index.esm.js";
18
- import Mt from "../color-picker/index.esm.js";
19
- import Et from "../content-container/index.esm.js";
18
+ import Et from "../color-picker/index.esm.js";
19
+ import Mt from "../content-container/index.esm.js";
20
20
  import Ot from "../date-picker/index.esm.js";
21
21
  import jt from "../data-grid/index.esm.js";
22
- import Dt from "../dropdown/index.esm.js";
23
- import Rt from "../dynamic-form/index.esm.js";
24
- import At from "../events-editor/index.esm.js";
22
+ import At from "../dropdown/index.esm.js";
23
+ import Dt from "../dynamic-form/index.esm.js";
24
+ import Rt from "../events-editor/index.esm.js";
25
25
  import Lt from "../filter-bar/index.esm.js";
26
26
  import Nt from "../field-selector/index.esm.js";
27
27
  import qt from "../image-cropper/index.esm.js";
@@ -33,8 +33,8 @@ import Ut from "../lookup/index.esm.js";
33
33
  import zt from "../mapping-editor/index.esm.js";
34
34
  import Xt from "../nav/index.esm.js";
35
35
  import Qt from "../number-range/index.esm.js";
36
- import Kt from "../order/index.esm.js";
37
- import Jt from "../page-header/index.esm.js";
36
+ import Jt from "../order/index.esm.js";
37
+ import Kt from "../page-header/index.esm.js";
38
38
  import Zt from "../page-footer/index.esm.js";
39
39
  import Yt from "../pagination/index.esm.js";
40
40
  import en from "../progress/index.esm.js";
@@ -51,7 +51,7 @@ import dn from "../splitter/index.esm.js";
51
51
  import pn from "../step/index.esm.js";
52
52
  import fn from "../switch/index.esm.js";
53
53
  import mn from "../tabs/index.esm.js";
54
- import Ie from "../tags/index.esm.js";
54
+ import Ve from "../tags/index.esm.js";
55
55
  import vn from "../text/index.esm.js";
56
56
  import yn from "../time-picker/index.esm.js";
57
57
  import gn from "../transfer/index.esm.js";
@@ -63,104 +63,109 @@ import Tn from "../video/index.esm.js";
63
63
  import Fn from "../textarea/index.esm.js";
64
64
  import Sn from "../schema-selector/index.esm.js";
65
65
  import xn from "../tree-grid/index.esm.js";
66
- import { useIdentify as kn, useHierarchy as Bn, useGroupData as Pn, usePagination as In, useDataView as Vn, useSelection as $n, useEdit as Mn, useVisualDataBound as En, useVisualDataCell as On, useVisualDataRow as jn, useVisualGroupRow as Dn, useVisualSummaryRow as Rn, useVisualData as An } from "../data-view/index.esm.js";
66
+ import { useIdentify as kn, useHierarchy as Bn, useGroupData as Pn, usePagination as In, useDataView as Vn, useSelection as $n, useEdit as En, useVisualDataBound as Mn, useVisualDataCell as On, useVisualDataRow as jn, useVisualGroupRow as An, useVisualSummaryRow as Dn, useVisualData as Rn } from "../data-view/index.esm.js";
67
67
  import { resolveAppearance as Ln } from "../dynamic-resolver/index.esm.js";
68
68
  import Nn from "../popover/index.esm.js";
69
- const me = {}, Ve = {};
70
- function ve(e) {
71
- const { properties: t, title: n } = e, o = Object.keys(t).reduce((a, s) => (a[s] = t[s].type === "object" && t[s].properties ? ve(t[s]) : X(t[s].default), a), {});
72
- return o.id = `${n}-${Date.now()}`, o;
69
+ const le = {}, $e = {};
70
+ function ye(e) {
71
+ const { properties: t, title: n, ignore: o } = e, l = o && Array.isArray(o), s = Object.keys(t).reduce((d, m) => ((!l || !o.find((u) => u == m)) && (d[m] = t[m].type === "object" && t[m].properties ? ye(t[m]) : X(t[m].default)), d), {});
72
+ return (!l || !o.find((d) => d == "id")) && (s.id = `${n}-${Date.now()}`), s;
73
73
  }
74
- function se(e, t = {}) {
75
- const n = me[e];
76
- if (n) {
77
- let o = ve(n);
78
- const a = Ve[e];
79
- return o = a ? a({ getSchemaByType: se }, o, t) : o, o;
74
+ function ue(e, t = {}, n) {
75
+ const o = le[e];
76
+ if (o) {
77
+ let l = ye(o);
78
+ const s = $e[e];
79
+ return l = s ? s({ getSchemaByType: ue }, l, t, n) : l, l;
80
80
  }
81
81
  return null;
82
82
  }
83
- function $e(e, t) {
84
- const n = ve(t);
85
- return Object.keys(e).reduce((o, a) => (o[a] && typeof o[a] == "object" ? Object.assign(o[a], e[a]) : o[a] = e[a], o), n), n;
83
+ function ce(e, t) {
84
+ const n = ye(t);
85
+ return Object.keys(e).reduce((o, l) => (o[l] && typeof o[l] == "object" ? Object.assign(o[l], e[l]) : o[l] = e[l], o), n), n;
86
86
  }
87
87
  function qn(e, t) {
88
- return Object.keys(e).filter((o) => e[o] != null).reduce((o, a) => {
89
- if (t.has(a)) {
90
- const s = t.get(a);
88
+ return Object.keys(e).filter((o) => e[o] != null).reduce((o, l) => {
89
+ if (t.has(l)) {
90
+ const s = t.get(l);
91
91
  if (typeof s == "string")
92
- o[s] = e[a];
92
+ o[s] = e[l];
93
93
  else {
94
- const p = s(a, e[a], e);
95
- Object.assign(o, p);
94
+ const d = s(l, e[l], e);
95
+ Object.assign(o, d);
96
96
  }
97
97
  } else
98
- o[a] = e[a];
98
+ o[l] = e[l];
99
99
  return o;
100
100
  }, {});
101
101
  }
102
102
  function Gn(e, t, n = /* @__PURE__ */ new Map()) {
103
- const o = $e(e, t);
103
+ const o = ce(e, t);
104
104
  return qn(o, n);
105
105
  }
106
- function Me(e) {
106
+ function Ee(e) {
107
+ var n;
107
108
  const t = e.type;
108
109
  if (t) {
109
- const n = me[t];
110
- return $e(e, n);
110
+ const o = le[t], l = ce(e, o), s = ((n = e.editor) == null ? void 0 : n.type) || "";
111
+ if (s) {
112
+ const d = le[s], m = ce(e.editor, d);
113
+ l.editor = m;
114
+ }
115
+ return l;
111
116
  }
112
117
  return e;
113
118
  }
114
119
  function Wn(e = {}) {
115
- function t(i, m, l, v) {
116
- if (typeof l == "number")
117
- return v[i].length === l;
118
- if (typeof l == "object") {
119
- const c = Object.keys(l)[0], d = l[c];
120
+ function t(r, g, a, v) {
121
+ if (typeof a == "number")
122
+ return v[r].length === a;
123
+ if (typeof a == "object") {
124
+ const c = Object.keys(a)[0], p = a[c];
120
125
  if (c === "not")
121
- return Number(v[i].length) !== Number(d);
126
+ return Number(v[r].length) !== Number(p);
122
127
  if (c === "moreThan")
123
- return Number(v[i].length) >= Number(d);
128
+ return Number(v[r].length) >= Number(p);
124
129
  if (c === "lessThan")
125
- return Number(v[i].length) <= Number(d);
130
+ return Number(v[r].length) <= Number(p);
126
131
  }
127
132
  return !1;
128
133
  }
129
- function n(i, m, l, v) {
130
- return v[i] && v[i].propertyValue && String(v[i].propertyValue.value) === String(l);
134
+ function n(r, g, a, v) {
135
+ return v[r] && v[r].propertyValue && String(v[r].propertyValue.value) === String(a);
131
136
  }
132
137
  const o = /* @__PURE__ */ new Map([
133
138
  ["length", t],
134
139
  ["getProperty", n]
135
140
  ]);
136
- Object.keys(e).reduce((i, m) => (i.set(m, e[m]), i), o);
137
- function a(i, m) {
138
- const l = i;
139
- return typeof m == "number" ? [{ target: l, operator: "length", param: null, value: Number(m) }] : typeof m == "boolean" ? [{ target: l, operator: "getProperty", param: i, value: !!m }] : typeof m == "object" ? Object.keys(m).map((v) => {
141
+ Object.keys(e).reduce((r, g) => (r.set(g, e[g]), r), o);
142
+ function l(r, g) {
143
+ const a = r;
144
+ return typeof g == "number" ? [{ target: a, operator: "length", param: null, value: Number(g) }] : typeof g == "boolean" ? [{ target: a, operator: "getProperty", param: r, value: !!g }] : typeof g == "object" ? Object.keys(g).map((v) => {
140
145
  if (v === "length")
141
- return { target: l, operator: "length", param: null, value: m[v] };
142
- const c = v, d = m[v];
143
- return { target: l, operator: "getProperty", param: c, value: d };
146
+ return { target: a, operator: "length", param: null, value: g[v] };
147
+ const c = v, p = g[v];
148
+ return { target: a, operator: "getProperty", param: c, value: p };
144
149
  }) : [];
145
150
  }
146
- function s(i) {
147
- return Object.keys(i).reduce((l, v) => {
148
- const c = a(v, i[v]);
149
- return l.push(...c), l;
151
+ function s(r) {
152
+ return Object.keys(r).reduce((a, v) => {
153
+ const c = l(v, r[v]);
154
+ return a.push(...c), a;
150
155
  }, []);
151
156
  }
152
- function p(i, m) {
153
- if (o.has(i.operator)) {
154
- const l = o.get(i.operator);
155
- return l && l(i.target, i.param, i.value, m) || !1;
157
+ function d(r, g) {
158
+ if (o.has(r.operator)) {
159
+ const a = o.get(r.operator);
160
+ return a && a(r.target, r.param, r.value, g) || !1;
156
161
  }
157
162
  return !1;
158
163
  }
159
- function g(i, m) {
160
- return s(i).reduce((c, d) => c && p(d, m), !0);
164
+ function m(r, g) {
165
+ return s(r).reduce((c, p) => c && d(p, g), !0);
161
166
  }
162
- function u(i, m) {
163
- const l = Object.keys(i), v = l.includes("allOf"), c = l.includes("anyOf"), d = v || c, P = (d ? i[d ? v ? "allOf" : "anyOf" : "allOf"] : [i]).map((w) => g(w, m));
167
+ function u(r, g) {
168
+ const a = Object.keys(r), v = a.includes("allOf"), c = a.includes("anyOf"), p = v || c, P = (p ? r[p ? v ? "allOf" : "anyOf" : "allOf"] : [r]).map((C) => m(C, g));
164
169
  return v ? !P.includes(!1) : P.includes(!0);
165
170
  }
166
171
  return { parseValueSchema: u };
@@ -217,16 +222,16 @@ const Hn = {
217
222
  "tab-toolbar": { type: "tab-toolbar", name: "标签页工具栏", icon: "TabToolbar" }
218
223
  }, Xn = {
219
224
  convertFrom: (e, t, n) => {
220
- var a;
225
+ var l;
221
226
  const o = e.editor && e.editor[t] ? e.editor[t] : e[t];
222
- return ((a = zn[o]) == null ? void 0 : a.name) || o;
227
+ return ((l = zn[o]) == null ? void 0 : l.name) || o;
223
228
  }
224
229
  }, Qn = {
225
230
  convertTo: (e, t, n, o) => {
226
231
  e[t] = e[t];
227
232
  },
228
233
  convertFrom: (e, t, n) => e.editor ? n.getRealEditorType(e.editor.type) : ""
229
- }, Kn = {
234
+ }, Jn = {
230
235
  convertFrom: (e, t) => e.binding ? e.binding.path : "",
231
236
  convertTo: (e, t, n) => {
232
237
  if (n && n.length > 0) {
@@ -234,7 +239,7 @@ const Hn = {
234
239
  e.binding || (e.binding = {}), e.binding.type = "Form", e.binding.path = o.bindingField, e.binding.field = o.id, e.binding.fullPath = o.path, e.path = o.bindingPath;
235
240
  }
236
241
  }
237
- }, Jn = {
242
+ }, Kn = {
238
243
  convertTo: (e, t, n, o) => {
239
244
  e.pagination || (e.pagination = {}), e.pagination[t] = n;
240
245
  },
@@ -274,30 +279,30 @@ function Yn() {
274
279
  let e, t;
275
280
  const n = /* @__PURE__ */ new Map();
276
281
  let o = [];
277
- function a(u, i) {
278
- const l = u.split(" ").filter((h) => h.startsWith("col-"));
279
- if (l.length === 0) {
280
- i.isSupportedClass = !1;
282
+ function l(u, r) {
283
+ const a = u.split(" ").filter((h) => h.startsWith("col-"));
284
+ if (a.length === 0) {
285
+ r.isSupportedClass = !1;
281
286
  return;
282
287
  }
283
- let v = l.find((h) => /^col-([1-9]|10|11|12)$/.test(h)), c = l.find((h) => /^col-md-([1-9]|10|11|12)$/.test(h)), d = l.find((h) => /^col-xl-([1-9]|10|11|12)$/.test(h)), y = l.find((h) => /^col-el-([1-9]|10|11|12)$/.test(h));
284
- v = v || "col-12", i.columnInSM = parseInt(v.replace("col-", ""), 10), i.displayWidthInSM = i.columnInSM / 12, i.displayWidthInSM !== 1 && (i.isSupportedClass = !1), c = c || "col-md-" + i.columnInSM, i.columnInMD = parseInt(c.replace("col-md-", ""), 10), i.displayWidthInMD = i.columnInMD / 6, [1, 2].includes(i.displayWidthInMD) || (i.isSupportedClass = !1), d = d || "col-xl-" + i.columnInMD, i.columnInLG = parseInt(d.replace("col-xl-", ""), 10), i.displayWidthInLG = i.columnInLG / 3, [1, 2, 3, 4].includes(i.displayWidthInLG) || (i.isSupportedClass = !1), y = y || "col-el-" + i.columnInLG, i.columnInEL = parseInt(y.replace("col-el-", ""), 10), i.displayWidthInEL = i.columnInEL / 2, [1, 2, 3, 4, 5, 6].includes(i.displayWidthInEL) || (i.isSupportedClass = !1);
288
+ let v = a.find((h) => /^col-([1-9]|10|11|12)$/.test(h)), c = a.find((h) => /^col-md-([1-9]|10|11|12)$/.test(h)), p = a.find((h) => /^col-xl-([1-9]|10|11|12)$/.test(h)), y = a.find((h) => /^col-el-([1-9]|10|11|12)$/.test(h));
289
+ v = v || "col-12", r.columnInSM = parseInt(v.replace("col-", ""), 10), r.displayWidthInSM = r.columnInSM / 12, r.displayWidthInSM !== 1 && (r.isSupportedClass = !1), c = c || "col-md-" + r.columnInSM, r.columnInMD = parseInt(c.replace("col-md-", ""), 10), r.displayWidthInMD = r.columnInMD / 6, [1, 2].includes(r.displayWidthInMD) || (r.isSupportedClass = !1), p = p || "col-xl-" + r.columnInMD, r.columnInLG = parseInt(p.replace("col-xl-", ""), 10), r.displayWidthInLG = r.columnInLG / 3, [1, 2, 3, 4].includes(r.displayWidthInLG) || (r.isSupportedClass = !1), y = y || "col-el-" + r.columnInLG, r.columnInEL = parseInt(y.replace("col-el-", ""), 10), r.displayWidthInEL = r.columnInEL / 2, [1, 2, 3, 4, 5, 6].includes(r.displayWidthInEL) || (r.isSupportedClass = !1);
285
290
  }
286
- function s(u, i, m, l = !1) {
291
+ function s(u, r, g, a = !1) {
287
292
  let v = !1;
288
293
  u.contents.forEach((c) => {
289
294
  if (c.type === "FieldSet") {
290
- m += 1, s(c, i, m, !0), v = !0;
295
+ g += 1, s(c, r, g, !0), v = !0;
291
296
  return;
292
297
  }
293
- v && (m += 1, v = !1);
294
- const d = c.appearance && c.appearance.class, y = new Zn();
295
- d ? a(d, y) : y.isSupportedClass = !1, y.label = c.label || c.id, y.id = c.id, y.group = m, l && (y.fieldSetId = u.id), t === c.id && (e = m), n.set(c.id, c), i.push(y);
298
+ v && (g += 1, v = !1);
299
+ const p = c.appearance && c.appearance.class, y = new Zn();
300
+ p ? l(p, y) : y.isSupportedClass = !1, y.label = c.label || c.id, y.id = c.id, y.group = g, a && (y.fieldSetId = u.id), t === c.id && (e = g), n.set(c.id, c), r.push(y);
296
301
  });
297
302
  }
298
- function p(u, i, m, l) {
299
- l = l || u.id;
300
- const v = m.closest(l, "content-container");
303
+ function d(u, r, g, a) {
304
+ a = a || u.id;
305
+ const v = g.closest(a, "content-container");
301
306
  if (!v)
302
307
  return { result: !1, message: "只可以在响应式表单组件中调整响应式布局配置" };
303
308
  if (!v || !v.contents || v.contents.length === 0)
@@ -305,43 +310,43 @@ function Yn() {
305
310
  t = u.id, o = [], n.clear();
306
311
  const c = v.contents[0].type === "FieldSet" ? 0 : 1;
307
312
  s(v, o, c);
308
- const d = o.find((h) => !h.isSupportedClass);
313
+ const p = o.find((h) => !h.isSupportedClass);
309
314
  return {
310
315
  defaultState: {
311
316
  defaultGroupNumber: e || 1,
312
- model: d ? "customize" : "standard"
317
+ model: p ? "customize" : "standard"
313
318
  },
314
319
  importData: o
315
320
  };
316
321
  }
317
- function g(u, i, m, l, v) {
322
+ function m(u, r, g, a, v) {
318
323
  v = v || u.id;
319
- const c = l.closest(v, "response-form");
324
+ const c = a.closest(v, "response-form");
320
325
  if (!c)
321
326
  return;
322
- const d = [];
323
- return m.forEach((y) => {
327
+ const p = [];
328
+ return g.forEach((y) => {
324
329
  var I;
325
330
  const h = n.get(y.id), P = h.appearance && h.appearance.class;
326
331
  if (P) {
327
- const C = P.split(" ").filter((D) => !D.startsWith("col-")), T = "col-" + y.columnInSM, S = "col-md-" + y.columnInMD, F = "col-xl-" + y.columnInLG, x = "col-el-" + y.columnInEL, b = [T, S, F, x].concat(C);
332
+ const w = P.split(" ").filter((A) => !A.startsWith("col-")), T = "col-" + y.columnInSM, F = "col-md-" + y.columnInMD, S = "col-xl-" + y.columnInLG, x = "col-el-" + y.columnInEL, b = [T, F, S, x].concat(w);
328
333
  h.appearance.class = b.join(" ");
329
334
  }
330
335
  if (y.fieldSetId) {
331
- const w = c.contents.find((T) => T.id === y.fieldSetId), C = d.find((T) => T.id === y.fieldSetId);
332
- C ? (I = C.contents) == null || I.push(h) : (d.push(w), w.contents = [h]);
336
+ const C = c.contents.find((T) => T.id === y.fieldSetId), w = p.find((T) => T.id === y.fieldSetId);
337
+ w ? (I = w.contents) == null || I.push(h) : (p.push(C), C.contents = [h]);
333
338
  } else
334
- d.push(h);
335
- }), c.contents = d, c.id;
339
+ p.push(h);
340
+ }), c.contents = p, c.id;
336
341
  }
337
342
  return {
338
- convertFrom: p,
339
- convertTo: g
343
+ convertFrom: d,
344
+ convertTo: m
340
345
  };
341
346
  }
342
- const Ce = Yn(), eo = {
343
- convertTo: (e, t, n, o, a) => Ce.convertTo(e, t, n, o, a),
344
- convertFrom: (e, t, n, o) => Ce.convertFrom(e, t, n, o)
347
+ const we = Yn(), eo = {
348
+ convertTo: (e, t, n, o, l) => we.convertTo(e, t, n, o, l),
349
+ convertFrom: (e, t, n, o) => we.convertFrom(e, t, n, o)
345
350
  }, to = {
346
351
  convertFrom: (e, t, n) => e[t] && e[t].length ? `共 ${e[t].length} 项` : ""
347
352
  }, no = {
@@ -349,7 +354,7 @@ const Ce = Yn(), eo = {
349
354
  convertTo: (e, t, n) => {
350
355
  e[t] = n;
351
356
  }
352
- }, ye = {}, ue = /* @__PURE__ */ new Map([
357
+ }, ge = {}, de = /* @__PURE__ */ new Map([
353
358
  ["/converter/appearance.converter", Hn],
354
359
  ["/converter/buttons.converter", _n],
355
360
  ["/converter/property-editor.converter", Un],
@@ -358,8 +363,8 @@ const Ce = Yn(), eo = {
358
363
  ["/converter/type.converter", Xn],
359
364
  ["/converter/change-editor.converter", Qn],
360
365
  ["/converter/form-group-label.converter", no],
361
- ["/converter/field-selector.converter", Kn],
362
- ["/converter/pagination.converter", Jn]
366
+ ["/converter/field-selector.converter", Jn],
367
+ ["/converter/pagination.converter", Kn]
363
368
  ]), oo = {}, lo = /* @__PURE__ */ new Map([
364
369
  ["string", { type: "input-group", enableClear: !1 }],
365
370
  ["boolean", {
@@ -383,74 +388,74 @@ const Ce = Yn(), eo = {
383
388
  ["number", { type: "number-spinner" }],
384
389
  ["events-editor", { type: "events-editor", hide: !0 }]
385
390
  ]), ao = Wn();
386
- function Ee(e, t) {
391
+ function Me(e, t) {
387
392
  return () => ao.parseValueSchema(e, t);
388
393
  }
389
394
  function ro(e, t, n) {
390
- return e.includes("visible") && t.visible !== void 0 ? typeof t.visible == "boolean" ? () => !!t.visible : t.visible === void 0 ? !0 : Ee(t.visible, n) : () => !0;
395
+ return e.includes("visible") && t.visible !== void 0 ? typeof t.visible == "boolean" ? () => !!t.visible : t.visible === void 0 ? !0 : Me(t.visible, n) : () => !0;
391
396
  }
392
397
  function io(e, t, n) {
393
- return e.includes("readonly") && t.readonly !== void 0 ? typeof t.visible == "boolean" ? () => !!t.visible : Ee(t.readonly, n) : () => !1;
398
+ return e.includes("readonly") && t.readonly !== void 0 ? typeof t.visible == "boolean" ? () => !!t.visible : Me(t.readonly, n) : () => !1;
394
399
  }
395
400
  function so(e, t) {
396
401
  const n = e.$converter || t;
397
- return typeof n == "string" && n && ue.has(n) ? ue.get(n) || null : n || null;
402
+ return typeof n == "string" && n && de.has(n) ? de.get(n) || null : n || null;
398
403
  }
399
- function ge(e, t, n, o, a, s = "", p = "") {
404
+ function he(e, t, n, o, l, s = "", d = "") {
400
405
  return Object.keys(e).map((u) => {
401
- const i = f(1), m = u, l = e[u], v = Object.keys(l), c = l.title, d = l.type, y = lo.get(d) || { type: "input-group", enableClear: !1 }, h = l.editor ? Object.assign({}, y, l.editor) : y, P = ro(v, l, t), I = io(v, l, t), w = l.type === "cascade" ? ge(l.properties, t, n, o, a, s, p) : [], C = !0;
402
- let T = so(l, p);
403
- const S = k({
406
+ const r = f(1), g = u, a = e[u], v = Object.keys(a), c = a.title, p = a.type, y = lo.get(p) || { type: "input-group", enableClear: !1 }, h = a.editor ? Object.assign({}, y, a.editor) : y, P = ro(v, a, t), I = io(v, a, t), C = a.type === "cascade" ? he(a.properties, t, n, o, l, s, d) : [], w = !0;
407
+ let T = so(a, d);
408
+ const F = k({
404
409
  get() {
405
- if (i.value) {
406
- if (["class", "style"].find((D) => D == m) && !T && (T = ue.get("/converter/appearance.converter") || null), T && T.convertFrom)
407
- return T.convertFrom(n, u, a, s);
410
+ if (r.value) {
411
+ if (["class", "style"].find((A) => A == g) && !T && (T = de.get("/converter/appearance.converter") || null), T && T.convertFrom)
412
+ return T.convertFrom(n, u, l, s);
408
413
  const b = n[u];
409
- return typeof b == "string" && b == "" ? l.defaultValue || "" : b;
414
+ return typeof b == "string" && b == "" ? a.defaultValue || "" : b;
410
415
  }
411
416
  return null;
412
417
  },
413
418
  set(b) {
414
- i.value += 1, T && T.convertTo ? (T.convertTo(o, u, b, a, s), T.convertTo(n, u, b, a, s)) : (o[u] = b, n[u] = b);
419
+ r.value += 1, T && T.convertTo ? (T.convertTo(o, u, b, l, s), T.convertTo(n, u, b, l, s)) : (o[u] = b, n[u] = b);
415
420
  }
416
- }), F = l.refreshPanelAfterChanged, x = { propertyID: m, propertyName: c, propertyType: d, propertyValue: S, editor: h, visible: P, readonly: I, cascadeConfig: w, hideCascadeTitle: C, refreshPanelAfterChanged: F };
417
- return t[m] = x, x;
421
+ }), S = a.refreshPanelAfterChanged, x = { propertyID: g, propertyName: c, propertyType: p, propertyValue: F, editor: h, visible: P, readonly: I, cascadeConfig: C, hideCascadeTitle: w, refreshPanelAfterChanged: S };
422
+ return t[g] = x, x;
418
423
  });
419
424
  }
420
- function uo(e, t, n, o, a = "") {
421
- const s = t.$ref.schema, p = t.$ref.converter, g = n[s], u = g.type, i = Me(g), m = {}, l = ye[u];
422
- if (l && l.categories) {
423
- const v = l.categories[e], c = v == null ? void 0 : v.title;
424
- p && Object.keys(v.properties).forEach((h) => {
425
- v.properties[h].$converter = p;
425
+ function uo(e, t, n, o, l = "") {
426
+ const s = t.$ref.schema, d = t.$ref.converter, m = n[s], u = m.type, r = Ee(m), g = {}, a = ge[u];
427
+ if (a && a.categories) {
428
+ const v = a.categories[e], c = v == null ? void 0 : v.title;
429
+ d && Object.keys(v.properties).forEach((h) => {
430
+ v.properties[h].$converter = d;
426
431
  });
427
- const d = (v == null ? void 0 : v.properties) || {}, y = ge(d, m, i, g, o, a);
432
+ const p = (v == null ? void 0 : v.properties) || {}, y = he(p, g, r, m, o, l);
428
433
  return { categoryId: e, categoryName: c, properties: y };
429
434
  }
430
435
  return { categoryId: e, categoryName: "", properties: [] };
431
436
  }
432
- function re(e, t, n, o, a) {
437
+ function ie(e, t, n, o, l) {
433
438
  let s = e.type;
434
- const p = Me(e), g = {};
435
- let u = a || ye[s];
439
+ const d = Ee(e), m = {};
440
+ let u = l || ge[s];
436
441
  if (Object.keys(u).length === 0 && n && n.getPropConfig && (u = n.getPropConfig(o)), u && u.categories) {
437
- const i = [];
438
- return Object.keys(u.categories).map((m) => {
439
- const l = u.categories[m];
440
- if (l.$ref) {
441
- i.push(uo(m, l, e, t, o));
442
+ const r = [];
443
+ return Object.keys(u.categories).map((g) => {
444
+ const a = u.categories[g];
445
+ if (a.$ref) {
446
+ r.push(uo(g, a, e, t, o));
442
447
  return;
443
448
  }
444
- const v = l == null ? void 0 : l.title, c = l == null ? void 0 : l.tabId, d = l == null ? void 0 : l.tabName, y = l == null ? void 0 : l.hide, h = l == null ? void 0 : l.hideTitle, P = ge(l.properties || {}, g, p, e, t, o, l.$converter), I = l.setPropertyRelates;
445
- i.push({ categoryId: m, categoryName: v, tabId: c, tabName: d, hide: y, properties: P, hideTitle: h, setPropertyRelates: I });
446
- }), i;
449
+ const v = a == null ? void 0 : a.title, c = a == null ? void 0 : a.tabId, p = a == null ? void 0 : a.tabName, y = a == null ? void 0 : a.hide, h = a == null ? void 0 : a.hideTitle, P = he(a.properties || {}, m, d, e, t, o, a.$converter), I = a.setPropertyRelates;
450
+ r.push({ categoryId: g, categoryName: v, tabId: c, tabName: p, hide: y, properties: P, hideTitle: h, setPropertyRelates: I });
451
+ }), r;
447
452
  }
448
453
  return [];
449
454
  }
450
- function Z(e, t, n = /* @__PURE__ */ new Map(), o = (p, g, u) => g, a = {}, s = (p) => p) {
451
- return me[t.title] = t, Ve[t.title] = o, ye[t.title] = a, oo[t.title] = s, (p = {}) => {
452
- const g = Gn(p, t, n), u = Object.keys(e).reduce((i, m) => (i[m] = e[m].default, i), {});
453
- return Object.assign(u, g);
455
+ function Z(e, t, n = /* @__PURE__ */ new Map(), o = (d, m, u) => m, l = {}, s = (d) => d) {
456
+ return le[t.title] = t, $e[t.title] = o, ge[t.title] = l, oo[t.title] = s, (d = {}) => {
457
+ const m = Gn(d, t, n), u = Object.keys(e).reduce((r, g) => (r[g] = e[g].default, r), {});
458
+ return Object.assign(u, m);
454
459
  };
455
460
  }
456
461
  function ee(e, t) {
@@ -732,7 +737,7 @@ const fo = "https://json-schema.org/draft/2020-12/schema", mo = "https://farris-
732
737
  description: To,
733
738
  type: Fo,
734
739
  categories: So
735
- }, he = {
740
+ }, be = {
736
741
  /** 被绑定数据 */
737
742
  data: {
738
743
  type: Array,
@@ -759,7 +764,7 @@ const fo = "https://json-schema.org/draft/2020-12/schema", mo = "https://farris-
759
764
  resetText: { type: String, default: "清空已选" },
760
765
  /** 是否显示重置 */
761
766
  showReset: { type: Boolean, default: !1 }
762
- }, we = Z(he, Co, co, po, xo);
767
+ }, Te = Z(be, Co, co, po, xo);
763
768
  class ko {
764
769
  constructor(t = { value: [] }) {
765
770
  V(this, "editorType", "check-box");
@@ -800,7 +805,7 @@ class Bo {
800
805
  return t[n[0]];
801
806
  }
802
807
  getTextValue(t) {
803
- const n = t.split("."), o = this.value.split(",").map((a) => this.getPropValue(a, X(n)));
808
+ const n = t.split("."), o = this.value.split(",").map((l) => this.getPropValue(l, X(n)));
804
809
  return o && o.length ? o.join(",") : "";
805
810
  }
806
811
  getValue() {
@@ -834,7 +839,7 @@ class Po {
834
839
  this.value = void 0;
835
840
  }
836
841
  }
837
- class Te {
842
+ class Fe {
838
843
  constructor(t = { begin: "", end: "" }) {
839
844
  V(this, "editorType", "date-range");
840
845
  V(this, "begin", "");
@@ -923,7 +928,7 @@ class $o {
923
928
  return t[n[0]];
924
929
  }
925
930
  getTextValue(t) {
926
- const n = t.split("."), o = this.value.map((a) => this.getPropValue(a, X(n)));
931
+ const n = t.split("."), o = this.value.map((l) => this.getPropValue(l, X(n)));
927
932
  return o && o.length ? o.join(",") : "";
928
933
  }
929
934
  getValue() {
@@ -937,7 +942,7 @@ class $o {
937
942
  return !this.displayText;
938
943
  }
939
944
  }
940
- class Mo {
945
+ class Eo {
941
946
  constructor(t = { textValue: "", value: [], valueField: "", isInputText: !1 }) {
942
947
  V(this, "editorType", "lookup");
943
948
  V(this, "textValue");
@@ -959,7 +964,7 @@ class Mo {
959
964
  return t[n[0]];
960
965
  }
961
966
  getTextValue(t) {
962
- const n = t.split("."), o = this.value.map((a) => this.getPropValue(a, n));
967
+ const n = t.split("."), o = this.value.map((l) => this.getPropValue(l, n));
963
968
  return o && o.length ? o.join(",") : "";
964
969
  }
965
970
  getValue() {
@@ -973,7 +978,7 @@ class Mo {
973
978
  return !this.value.length;
974
979
  }
975
980
  }
976
- class Eo {
981
+ class Mo {
977
982
  constructor(t = { value: "" }) {
978
983
  V(this, "editorType", "month-picker");
979
984
  V(this, "value");
@@ -1038,7 +1043,7 @@ class jo {
1038
1043
  return this.begin == null && this.end == null;
1039
1044
  }
1040
1045
  }
1041
- class Do {
1046
+ class Ao {
1042
1047
  constructor(t = { value: "" }) {
1043
1048
  V(this, "editorType", "number-spinner");
1044
1049
  V(this, "value");
@@ -1058,7 +1063,7 @@ class Do {
1058
1063
  return this.value == null;
1059
1064
  }
1060
1065
  }
1061
- class Ro {
1066
+ class Do {
1062
1067
  constructor(t = { value: null }) {
1063
1068
  V(this, "editorType", "radio-group");
1064
1069
  V(this, "value");
@@ -1078,7 +1083,7 @@ class Ro {
1078
1083
  return !this.value;
1079
1084
  }
1080
1085
  }
1081
- class Ao {
1086
+ class Ro {
1082
1087
  constructor(t = { value: "" }) {
1083
1088
  V(this, "editorType", "text");
1084
1089
  V(this, "value");
@@ -1112,316 +1117,316 @@ function Lo() {
1112
1117
  case "date-picker":
1113
1118
  return new Po(n);
1114
1119
  case "date-range":
1115
- return new Te(n);
1120
+ return new Fe(n);
1116
1121
  case "datetime-picker":
1117
1122
  return new Io(n);
1118
1123
  case "datetime-range":
1119
- return new Te(n);
1124
+ return new Fe(n);
1120
1125
  case "lookup":
1121
- return new Mo(n);
1122
- case "month-picker":
1123
1126
  return new Eo(n);
1127
+ case "month-picker":
1128
+ return new Mo(n);
1124
1129
  case "month-range":
1125
1130
  return new Oo(n);
1126
1131
  case "number-range":
1127
1132
  return new jo(n);
1128
1133
  case "number-spinner":
1129
- return new Do(n);
1134
+ return new Ao(n);
1130
1135
  case "radio-group":
1131
- return new Ro(n);
1136
+ return new Do(n);
1132
1137
  default:
1133
- return new Ao(n);
1138
+ return new Ro(n);
1134
1139
  }
1135
1140
  }
1136
1141
  return { createConditionValue: e };
1137
1142
  }
1138
1143
  function Oe(e, t) {
1139
- const n = f([]), o = f([]), a = f([]), s = f(""), p = f(!1), g = f(e.mode), u = /* @__PURE__ */ new Map(), i = Lo();
1140
- function m(w) {
1141
- return !p.value && g.value === "display-only" && !!w.hasValue && !!w.displayText;
1142
- }
1143
- function l(w) {
1144
- o.value = w, o.value.reduce((C, T) => (C.set(T.labelCode, T), C), u);
1145
- }
1146
- function v(w) {
1147
- n.value = w.map((C, T) => {
1148
- var S;
1149
- if (typeof C.value == "string") {
1150
- const F = ((S = u.get(C.fieldCode)) == null ? void 0 : S.editor.type) || "text";
1151
- C.value = i.createConditionValue(F, { value: C.value });
1144
+ const n = f([]), o = f([]), l = f([]), s = f(""), d = f(!1), m = f(e.mode), u = /* @__PURE__ */ new Map(), r = Lo();
1145
+ function g(C) {
1146
+ return !d.value && m.value === "display-only" && !!C.hasValue && !!C.displayText;
1147
+ }
1148
+ function a(C) {
1149
+ o.value = C, o.value.reduce((w, T) => (w.set(T.labelCode, T), w), u);
1150
+ }
1151
+ function v(C) {
1152
+ n.value = C.map((w, T) => {
1153
+ var F;
1154
+ if (typeof w.value == "string") {
1155
+ const S = ((F = u.get(w.fieldCode)) == null ? void 0 : F.editor.type) || "text";
1156
+ w.value = r.createConditionValue(S, { value: w.value });
1152
1157
  }
1153
- return C.conditionId = T, C;
1158
+ return w.conditionId = T, w;
1154
1159
  });
1155
1160
  }
1156
1161
  function c() {
1157
- const w = o.value.map((C) => ({
1158
- id: C.id,
1159
- fieldCode: C.code,
1160
- fieldName: C.name,
1161
- editor: C.editor
1162
+ const C = o.value.map((w) => ({
1163
+ id: w.id,
1164
+ fieldCode: w.code,
1165
+ fieldName: w.name,
1166
+ editor: w.editor
1162
1167
  }));
1163
- return n.value.reduce((C, T, S) => {
1164
- const F = C.find((x) => x.fieldCode === T.fieldCode);
1165
- return F && (F.displayText = T.value.getValue(), F.hasValue = !0), C;
1166
- }, w), w;
1168
+ return n.value.reduce((w, T, F) => {
1169
+ const S = w.find((x) => x.fieldCode === T.fieldCode);
1170
+ return S && (S.displayText = T.value.getValue(), S.hasValue = !0), w;
1171
+ }, C), C;
1167
1172
  }
1168
- function d(w, C) {
1169
- l(e.fields), v(e.data), a.value = c();
1173
+ function p(C, w) {
1174
+ a(e.fields), v(e.data), l.value = c();
1170
1175
  }
1171
- function y(w) {
1172
- a.value = a.value.filter((C) => C.id !== w.id), n.value = n.value.filter((C) => C.fieldCode !== w.fieldCode), o.value = o.value.filter((C) => C.id !== w.id), t.emit("Remove", w.fieldCode);
1176
+ function y(C) {
1177
+ l.value = l.value.filter((w) => w.id !== C.id), n.value = n.value.filter((w) => w.fieldCode !== C.fieldCode), o.value = o.value.filter((w) => w.id !== C.id), t.emit("Remove", C.fieldCode);
1173
1178
  }
1174
- function h(w) {
1175
- w.displayText = "", w.hasValue = !1, n.value = n.value.filter((C) => C.fieldCode !== w.fieldCode), t.emit("Clear", w.fieldCode);
1179
+ function h(C) {
1180
+ C.displayText = "", C.hasValue = !1, n.value = n.value.filter((w) => w.fieldCode !== C.fieldCode), t.emit("Clear", C.fieldCode);
1176
1181
  }
1177
1182
  function P() {
1178
- a.value = [], n.value = [], o.value = [], t.emit("Reset");
1183
+ l.value = [], n.value = [], o.value = [], t.emit("Reset");
1179
1184
  }
1180
1185
  function I() {
1181
- a.value.forEach((w) => {
1182
- w.displayText = "", w.hasValue = !1;
1186
+ l.value.forEach((C) => {
1187
+ C.displayText = "", C.hasValue = !1;
1183
1188
  }), n.value = [], t.emit("Reset");
1184
1189
  }
1185
- return d(e.fields, e.data), {
1190
+ return p(e.fields, e.data), {
1186
1191
  clearAll: P,
1187
1192
  clearFilterItem: h,
1188
1193
  currentFilterId: s,
1189
1194
  filterFields: o,
1190
- filterItems: a,
1191
- loadFilterItems: d,
1195
+ filterItems: l,
1196
+ loadFilterItems: p,
1192
1197
  removeFilterItem: y,
1193
1198
  reset: I,
1194
- shouldShowClearButtonInFilterItem: m
1199
+ shouldShowClearButtonInFilterItem: g
1195
1200
  };
1196
1201
  }
1197
1202
  function je(e, t) {
1198
1203
  function n() {
1199
1204
  }
1200
- return () => r("div", {
1205
+ return () => i("div", {
1201
1206
  class: "f-filter-list-ellipsis",
1202
1207
  onClick: (o) => void 0
1203
1208
  }, [Y("...")]);
1204
1209
  }
1205
- function De(e, t, n) {
1210
+ function Ae(e, t, n) {
1206
1211
  const {
1207
1212
  clearFilterItem: o,
1208
- currentFilterId: a,
1213
+ currentFilterId: l,
1209
1214
  filterItems: s,
1210
- removeFilterItem: p,
1211
- shouldShowClearButtonInFilterItem: g
1212
- } = n, u = f(!1), i = function(c, d) {
1215
+ removeFilterItem: d,
1216
+ shouldShowClearButtonInFilterItem: m
1217
+ } = n, u = f(!1), r = function(c, p) {
1213
1218
  return {
1214
1219
  "f-filter-item": !0,
1215
1220
  "f-filter-item-actived": c.hasValue,
1216
- "f-filter-item-last": d === s.value.length - 1,
1217
- "f-filter-item-edit": c.id === a.value
1221
+ "f-filter-item-last": p === s.value.length - 1,
1222
+ "f-filter-item-edit": c.id === l.value
1218
1223
  };
1219
- }, m = k(() => !u.value && e.mode === "editable");
1220
- function l(c, d) {
1221
- e.mode === "display-only" ? p(d) : o(d);
1224
+ }, g = k(() => !u.value && e.mode === "editable");
1225
+ function a(c, p) {
1226
+ e.mode === "display-only" ? d(p) : o(p);
1222
1227
  }
1223
- function v(c, d, y) {
1228
+ function v(c, p, y) {
1224
1229
  }
1225
- return (c, d) => r("div", {
1230
+ return (c, p) => i("div", {
1226
1231
  id: c.id,
1227
- class: i(c, d),
1232
+ class: r(c, p),
1228
1233
  onClick: (y) => void 0
1229
- }, [r("div", {
1234
+ }, [i("div", {
1230
1235
  class: "f-filter-item-inner"
1231
- }, [c.editor.required && r("span", {
1236
+ }, [c.editor.required && i("span", {
1232
1237
  class: "f-filter-item-required text-danger"
1233
- }, [Y("*")]), r("span", {
1238
+ }, [Y("*")]), i("span", {
1234
1239
  class: "f-filter-item-text"
1235
- }, [c.fieldName]), c.hasValue && c.displayText && r("span", {
1240
+ }, [c.fieldName]), c.hasValue && c.displayText && i("span", {
1236
1241
  class: "f-filter-item-tip"
1237
- }, [Y(":")]), c.hasValue && c.displayText && r("span", {
1242
+ }, [Y(":")]), c.hasValue && c.displayText && i("span", {
1238
1243
  class: "f-filter-item-content"
1239
- }, [c.displayText]), m.value && r("span", {
1244
+ }, [c.displayText]), g.value && i("span", {
1240
1245
  class: "f-filter-item-arrow f-icon f-icon-arrow-chevron-down"
1241
- }, null)]), g(c) && r("span", {
1246
+ }, null)]), m(c) && i("span", {
1242
1247
  class: "f-filter-item-clear",
1243
- onClick: (y) => l(y, c)
1244
- }, [r("span", {
1248
+ onClick: (y) => a(y, c)
1249
+ }, [i("span", {
1245
1250
  class: "f-icon f-icon-close-circle"
1246
1251
  }, null)])]);
1247
1252
  }
1248
- function Re(e, t, n) {
1249
- const o = f([]), a = f(!1), s = f(""), p = f(e.resetText), g = f(e.showReset), {
1253
+ function De(e, t, n) {
1254
+ const o = f([]), l = f(!1), s = f(""), d = f(e.resetText), m = f(e.showReset), {
1250
1255
  clearAll: u,
1251
- reset: i
1252
- } = n, m = k(() => a.value && o.value && o.value.length > 0), l = k(() => g.value);
1253
- function v(d) {
1256
+ reset: r
1257
+ } = n, g = k(() => l.value && o.value && o.value.length > 0), a = k(() => m.value);
1258
+ function v(p) {
1254
1259
  }
1255
- function c(d) {
1256
- e.mode === "display-only" ? u() : i();
1260
+ function c(p) {
1261
+ e.mode === "display-only" ? u() : r();
1257
1262
  }
1258
- return () => r("div", {
1263
+ return () => i("div", {
1259
1264
  class: "f-filter-toolbars"
1260
- }, [m.value && r("button", {
1265
+ }, [g.value && i("button", {
1261
1266
  class: "btn btn-link",
1262
- onClick: (d) => void 0
1263
- }, [s.value]), l.value && r("button", {
1267
+ onClick: (p) => void 0
1268
+ }, [s.value]), a.value && i("button", {
1264
1269
  class: "btn btn-link",
1265
- onClick: (d) => c()
1266
- }, [p.value])]);
1270
+ onClick: (p) => c()
1271
+ }, [d.value])]);
1267
1272
  }
1268
- const ie = /* @__PURE__ */ U({
1273
+ const se = /* @__PURE__ */ U({
1269
1274
  name: "FFilterBar",
1270
- props: he,
1275
+ props: be,
1271
1276
  emits: ["Clear", "Remove", "Reset"],
1272
1277
  setup(e, t) {
1273
- const n = f(!1), o = f(!1), a = f(!1), s = f(!1), p = Oe(e, t), {
1274
- filterFields: g,
1278
+ const n = f(!1), o = f(!1), l = f(!1), s = f(!1), d = Oe(e, t), {
1279
+ filterFields: m,
1275
1280
  filterItems: u,
1276
- loadFilterItems: i
1277
- } = p, m = k(() => ({
1278
- display: g.value && g.value.length ? "" : "none"
1281
+ loadFilterItems: r
1282
+ } = d, g = k(() => ({
1283
+ display: m.value && m.value.length ? "" : "none"
1279
1284
  }));
1280
- W([() => e.data, () => e.fields], ([C, T]) => {
1281
- i(T, C);
1285
+ W([() => e.data, () => e.fields], ([w, T]) => {
1286
+ r(T, w);
1282
1287
  });
1283
- const l = k(() => o.value && n.value), v = k(() => ({
1288
+ const a = k(() => o.value && n.value), v = k(() => ({
1284
1289
  "f-filter-list": !0,
1285
- "f-filter-list-extend": l.value
1286
- })), c = k(() => u.value.length > 0), d = De(e, t, p);
1290
+ "f-filter-list-extend": a.value
1291
+ })), c = k(() => u.value.length > 0), p = Ae(e, t, d);
1287
1292
  function y() {
1288
- return r("div", {
1293
+ return i("div", {
1289
1294
  class: v.value
1290
- }, [u.value.map((C, T) => d(C, T))]);
1295
+ }, [u.value.map((w, T) => p(w, T))]);
1291
1296
  }
1292
- const h = k(() => a.value && !o.value && s.value), P = je(), I = k(() => !o.value), w = Re(e, t, p);
1293
- return () => r("div", {
1297
+ const h = k(() => l.value && !o.value && s.value), P = je(), I = k(() => !o.value), C = De(e, t, d);
1298
+ return () => i("div", {
1294
1299
  class: "f-filter-wrapper",
1295
- style: m.value
1296
- }, [r("div", {
1300
+ style: g.value
1301
+ }, [i("div", {
1297
1302
  class: "f-filter-wrapper-inner f-utils-fill"
1298
- }, [r("div", {
1303
+ }, [i("div", {
1299
1304
  class: "f-filter-main f-utils-fill"
1300
- }, [r("div", {
1305
+ }, [i("div", {
1301
1306
  class: "f-filter-list-wrapper"
1302
- }, [c.value && y(), h.value && P(), I.value && w()])])])]);
1307
+ }, [c.value && y(), h.value && P(), I.value && C()])])])]);
1303
1308
  }
1304
1309
  });
1305
1310
  function No(e, t, n) {
1306
1311
  var T;
1307
1312
  function o() {
1308
1313
  }
1309
- const a = "", s = "", p = f();
1310
- function g() {
1314
+ const l = "", s = "", d = f();
1315
+ function m() {
1311
1316
  return (t == null ? void 0 : t.schema.componentType) !== "frame";
1312
1317
  }
1313
1318
  function u() {
1314
1319
  return !1;
1315
1320
  }
1316
- function i() {
1321
+ function r() {
1317
1322
  return (t == null ? void 0 : t.schema.componentType) !== "frame";
1318
1323
  }
1319
- function m() {
1324
+ function g() {
1320
1325
  return (t == null ? void 0 : t.schema.componentType) === "frame";
1321
1326
  }
1322
- function l(S) {
1323
- if (!S || !S.value)
1327
+ function a(F) {
1328
+ if (!F || !F.value)
1324
1329
  return null;
1325
- if (S.value.schema && S.value.schema.type === "component")
1326
- return S.value;
1327
- const F = f(S == null ? void 0 : S.value.parent), x = l(F);
1330
+ if (F.value.schema && F.value.schema.type === "component")
1331
+ return F.value;
1332
+ const S = f(F == null ? void 0 : F.value.parent), x = a(S);
1328
1333
  return x || null;
1329
1334
  }
1330
- function v(S = t) {
1331
- const { componentInstance: F, designerItemElementRef: x } = S;
1332
- return !F || !F.value ? null : F.value.canMove ? x : v(S.parent);
1335
+ function v(F = t) {
1336
+ const { componentInstance: S, designerItemElementRef: x } = F;
1337
+ return !S || !S.value ? null : S.value.canMove ? x : v(F.parent);
1333
1338
  }
1334
- function c(S) {
1339
+ function c(F) {
1335
1340
  return !!n;
1336
1341
  }
1337
- function d() {
1342
+ function p() {
1338
1343
  return (t == null ? void 0 : t.schema.label) || (t == null ? void 0 : t.schema.title) || (t == null ? void 0 : t.schema.name);
1339
1344
  }
1340
1345
  function y() {
1341
1346
  }
1342
- function h(S, F) {
1347
+ function h(F, S) {
1343
1348
  }
1344
- function P(S) {
1345
- const { componentType: F } = S;
1346
- let x = se(F, S);
1347
- const b = F.toLowerCase().replace("-", "_");
1348
- return x && !x.id && x.type === F && (x.id = `${b}_${Math.random().toString().slice(2, 6)}`), x;
1349
- }
1350
- function I(S, F) {
1351
- const x = String(S.getAttribute("data-controltype")), b = S.getAttribute("data-feature"), D = b ? JSON.parse(b) : {};
1352
- D.parentComponentInstance = p.value;
1353
- let $ = se(x, D);
1349
+ function P(F, S) {
1350
+ const { componentType: x } = F;
1351
+ let b = ue(x, F, S);
1352
+ const A = x.toLowerCase().replace("-", "_");
1353
+ return b && !b.id && b.type === x && (b.id = `${A}_${Math.random().toString().slice(2, 6)}`), b;
1354
+ }
1355
+ function I(F, S) {
1356
+ const x = String(F.getAttribute("data-controltype")), b = F.getAttribute("data-feature"), A = b ? JSON.parse(b) : {};
1357
+ A.parentComponentInstance = d.value;
1358
+ let $ = ue(x, A);
1354
1359
  const N = x.toLowerCase().replace("-", "_");
1355
1360
  return $ && !$.id && $.type === x && ($.id = `${N}_${Math.random().toString().slice(2, 6)}`), $;
1356
1361
  }
1357
- function w(S) {
1362
+ function C(F) {
1358
1363
  }
1359
- function C(...S) {
1364
+ function w(...F) {
1360
1365
  }
1361
- return p.value = {
1362
- canMove: g(),
1366
+ return d.value = {
1367
+ canMove: m(),
1363
1368
  canSelectParent: u(),
1364
- canDelete: i(),
1365
- canNested: !m(),
1369
+ canDelete: r(),
1370
+ canNested: !g(),
1366
1371
  contents: t == null ? void 0 : t.schema.contents,
1367
1372
  elementRef: e,
1368
1373
  parent: (T = t == null ? void 0 : t.parent) == null ? void 0 : T.componentInstance,
1369
1374
  schema: t == null ? void 0 : t.schema,
1370
- styles: a,
1375
+ styles: l,
1371
1376
  designerClass: s,
1372
1377
  canAccepts: c,
1373
- getBelongedComponentInstance: l,
1378
+ getBelongedComponentInstance: a,
1374
1379
  getDraggableDesignItemElement: v,
1375
- getDraggingDisplayText: d,
1376
- getPropConfig: C,
1380
+ getDraggingDisplayText: p,
1381
+ getPropConfig: w,
1377
1382
  getDragScopeElement: y,
1378
1383
  onAcceptMovedChildElement: h,
1379
1384
  onAcceptNewChildElement: I,
1380
- onChildElementMovedOut: w,
1385
+ onChildElementMovedOut: C,
1381
1386
  addNewChildComponentSchema: P,
1382
1387
  updateDragAndDropRules: o,
1383
1388
  triggerBelongedComponentToMoveWhenMoved: f(!1),
1384
1389
  triggerBelongedComponentToDeleteWhenDeleted: f(!1)
1385
- }, p;
1390
+ }, d;
1386
1391
  }
1387
1392
  const qo = /* @__PURE__ */ U({
1388
1393
  name: "FFilterBarDesign",
1389
- props: he,
1394
+ props: be,
1390
1395
  emits: ["Clear", "Remove", "Reset"],
1391
1396
  setup(e, t) {
1392
- const n = f(!1), o = f(!1), a = f(!1), s = f(!1), p = Oe(e, t), {
1393
- filterFields: g,
1397
+ const n = f(!1), o = f(!1), l = f(!1), s = f(!1), d = Oe(e, t), {
1398
+ filterFields: m,
1394
1399
  filterItems: u,
1395
- loadFilterItems: i
1396
- } = p, m = k(() => ({
1397
- display: g.value && g.value.length ? "" : "none"
1398
- })), l = f(), v = de("design-item-context"), c = No(l, v);
1400
+ loadFilterItems: r
1401
+ } = d, g = k(() => ({
1402
+ display: m.value && m.value.length ? "" : "none"
1403
+ })), a = f(), v = fe("design-item-context"), c = No(a, v);
1399
1404
  Q(() => {
1400
- l.value.componentInstance = c;
1401
- }), t.expose(c.value), W([() => e.data, () => e.fields], ([F, x]) => {
1402
- i(x, F);
1405
+ a.value.componentInstance = c;
1406
+ }), t.expose(c.value), W([() => e.data, () => e.fields], ([S, x]) => {
1407
+ r(x, S);
1403
1408
  });
1404
- const d = k(() => o.value && n.value), y = k(() => ({
1409
+ const p = k(() => o.value && n.value), y = k(() => ({
1405
1410
  "f-filter-list": !0,
1406
- "f-filter-list-extend": d.value
1407
- })), h = k(() => u.value.length > 0), P = De(e, t, p);
1411
+ "f-filter-list-extend": p.value
1412
+ })), h = k(() => u.value.length > 0), P = Ae(e, t, d);
1408
1413
  function I() {
1409
- return r("div", {
1414
+ return i("div", {
1410
1415
  class: y.value
1411
- }, [u.value.map((F, x) => P(F, x))]);
1416
+ }, [u.value.map((S, x) => P(S, x))]);
1412
1417
  }
1413
- const w = k(() => a.value && !o.value && s.value), C = je(), T = k(() => !o.value), S = Re(e, t, p);
1414
- return () => r("div", {
1415
- ref: l,
1418
+ const C = k(() => l.value && !o.value && s.value), w = je(), T = k(() => !o.value), F = De(e, t, d);
1419
+ return () => i("div", {
1420
+ ref: a,
1416
1421
  class: "f-filter-wrapper",
1417
- style: m.value
1418
- }, [r("div", {
1422
+ style: g.value
1423
+ }, [i("div", {
1419
1424
  class: "f-filter-wrapper-inner f-utils-fill"
1420
- }, [r("div", {
1425
+ }, [i("div", {
1421
1426
  class: "f-filter-main f-utils-fill"
1422
- }, [r("div", {
1427
+ }, [i("div", {
1423
1428
  class: "f-filter-list-wrapper"
1424
- }, [h.value && I(), w.value && C(), T.value && S()])])])]);
1429
+ }, [h.value && I(), C.value && w(), T.value && F()])])])]);
1425
1430
  }
1426
1431
  }), Go = "https://json-schema.org/draft/2020-12/schema", Wo = "https://farris-design.gitee.io/query-solution-config.schema.json", Ho = "query-solution-config", _o = "A Farris Container Component", Uo = {
1427
1432
  fields: {
@@ -1434,7 +1439,7 @@ const qo = /* @__PURE__ */ U({
1434
1439
  title: Ho,
1435
1440
  description: _o,
1436
1441
  properties: Uo
1437
- }, Xo = "query-solution-config", Qo = "A Farris Component", Ko = "object", Jo = {
1442
+ }, Xo = "query-solution-config", Qo = "A Farris Component", Jo = "object", Ko = {
1438
1443
  basic: {
1439
1444
  description: "Basic Infomation",
1440
1445
  title: "基本信息",
@@ -1518,11 +1523,11 @@ const qo = /* @__PURE__ */ U({
1518
1523
  title: "控件",
1519
1524
  properties: {}
1520
1525
  }
1521
- }, ce = {
1526
+ }, pe = {
1522
1527
  title: Xo,
1523
1528
  description: Qo,
1524
- type: Ko,
1525
- categories: Jo
1529
+ type: Jo,
1530
+ categories: Ko
1526
1531
  }, Zo = /* @__PURE__ */ new Map([
1527
1532
  ["appearance", ee]
1528
1533
  // ['preset', resolvePreset]
@@ -1530,12 +1535,12 @@ const qo = /* @__PURE__ */ U({
1530
1535
  function Yo(e, t, n) {
1531
1536
  return t;
1532
1537
  }
1533
- const Ae = {
1538
+ const Re = {
1534
1539
  fields: { type: Array, default: [] },
1535
1540
  modelValue: { type: Array, default: [] },
1536
1541
  source: { type: String, default: "query-solution" }
1537
1542
  };
1538
- Z(Ae, zo, Zo, Yo, ce);
1543
+ Z(Re, zo, Zo, Yo, pe);
1539
1544
  const el = {
1540
1545
  width: { type: String, default: "300px" },
1541
1546
  height: { type: Number, default: 10 },
@@ -1660,19 +1665,19 @@ const pl = {
1660
1665
  props: pl,
1661
1666
  emits: [],
1662
1667
  setup(e, t) {
1663
- const n = f(e.title || e.text), o = f(e.required), a = f(e.text);
1668
+ const n = f(e.title || e.text), o = f(e.required), l = f(e.text);
1664
1669
  return W(() => e.text, () => {
1665
- a.value = e.text;
1666
- }), W(() => e.required, (s, p) => {
1667
- s !== p && (o.value = s);
1668
- }), () => r("label", {
1670
+ l.value = e.text;
1671
+ }), W(() => e.required, (s, d) => {
1672
+ s !== d && (o.value = s);
1673
+ }), () => i("label", {
1669
1674
  class: "col-form-label",
1670
1675
  title: n.value
1671
- }, [o.value && r("span", {
1676
+ }, [o.value && i("span", {
1672
1677
  class: "farris-label-info text-danger"
1673
- }, [Y("*")]), r("span", {
1678
+ }, [Y("*")]), i("span", {
1674
1679
  class: "farris-label-text"
1675
- }, [a.value])]);
1680
+ }, [l.value])]);
1676
1681
  }
1677
1682
  }), ml = /* @__PURE__ */ new Map([
1678
1683
  ["appearance", ee]
@@ -1962,7 +1967,7 @@ const yl = "https://json-schema.org/draft/2020-12/schema", gl = "https://farris-
1962
1967
  };
1963
1968
  Z(Ne, Fl, ml, vl);
1964
1969
  function Sl(e, t, n, o) {
1965
- const a = f(e.disabled), s = f(!1), p = f("text"), g = f(e.showBorder), u = f(e.textAlign), i = f(e.updateOn), m = k(() => e.editable || !e.readonly), l = k(() => e.editable && !e.disabled && !e.readonly), v = k(() => !e.disabled && s.value), c = k(() => n.value === "" || n.value === null || n.value === void 0), d = k(() => (e.disabled || e.readonly) && !e.forcePlaceholder ? "" : e.placeholder), y = k(() => e.readonly || !e.editable), h = k(() => e.enableTitle ? n.value : ""), P = k(() => ({
1970
+ const l = f(e.disabled), s = f(!1), d = f("text"), m = f(e.showBorder), u = f(e.textAlign), r = f(e.updateOn), g = k(() => e.editable || !e.readonly), a = k(() => e.editable && !e.disabled && !e.readonly), v = k(() => !e.disabled && s.value), c = k(() => n.value === "" || n.value === null || n.value === void 0), p = k(() => (e.disabled || e.readonly) && !e.forcePlaceholder ? "" : e.placeholder), y = k(() => e.readonly || !e.editable), h = k(() => e.enableTitle ? n.value : ""), P = k(() => ({
1966
1971
  "form-control": !0,
1967
1972
  "f-utils-fill": !0,
1968
1973
  "text-left": u.value === "left",
@@ -1972,14 +1977,14 @@ function Sl(e, t, n, o) {
1972
1977
  const B = {
1973
1978
  "f-cmp-inputgroup": !0,
1974
1979
  "input-group": !0,
1975
- "f-state-disable": a.value,
1976
- "f-state-editable": l.value,
1980
+ "f-state-disable": l.value,
1981
+ "f-state-editable": a.value,
1977
1982
  "f-state-readonly": y.value,
1978
1983
  "f-state-focus": v.value
1979
1984
  };
1980
1985
  return (e.customClass || "").split(" ").reduce((_, G) => (_[G] = !0, _), B), B;
1981
- }), w = k(() => g.value ? "" : "border-width : 0 ");
1982
- function C(B, q = !0) {
1986
+ }), C = k(() => m.value ? "" : "border-width : 0 ");
1987
+ function w(B, q = !0) {
1983
1988
  n.value = B, o.value !== B && (o.value = B), q && t.emit("change", B), t.emit("update:modelValue", B), t.emit("update:value", B);
1984
1989
  }
1985
1990
  W(
@@ -1988,96 +1993,96 @@ function Sl(e, t, n, o) {
1988
1993
  B !== q && (n.value = B, o.value = B);
1989
1994
  }
1990
1995
  ), W(() => e.disabled, (B, q) => {
1991
- B !== q && (a.value = B);
1996
+ B !== q && (l.value = B);
1992
1997
  });
1993
1998
  function T(B) {
1994
1999
  return s.value = !1, t.emit("blur", B), B.stopPropagation(), !1;
1995
2000
  }
1996
- function S(B) {
2001
+ function F(B) {
1997
2002
  t.emit("click", B);
1998
2003
  }
1999
- function F(B) {
2000
- e.disabled || (g.value && (s.value = !0), m.value && t.emit("focus", B));
2004
+ function S(B) {
2005
+ e.disabled || (m.value && (s.value = !0), g.value && t.emit("focus", B));
2001
2006
  }
2002
2007
  function x(B) {
2003
2008
  t.emit("input", B.target.value);
2004
2009
  const q = B.target.value;
2005
- o.value = q, i.value === "input" && (t.emit("update:modelValue", q), t.emit("update:value", q));
2010
+ o.value = q, r.value === "input" && (t.emit("update:modelValue", q), t.emit("update:value", q));
2006
2011
  }
2007
2012
  function b(B) {
2008
2013
  t.emit("keydown", B);
2009
2014
  }
2010
- function D(B) {
2015
+ function A(B) {
2011
2016
  t.emit("keyup", B);
2012
2017
  }
2013
2018
  function $(B) {
2014
2019
  B.target.tagName !== "INPUT" && B.preventDefault(), B.stopPropagation();
2015
2020
  }
2016
2021
  function N(B) {
2017
- if (i.value === "blur") {
2022
+ if (r.value === "blur") {
2018
2023
  const q = B.target.value;
2019
- B.stopPropagation(), C(q);
2024
+ B.stopPropagation(), w(q);
2020
2025
  }
2021
2026
  }
2022
2027
  return {
2023
- changeTextBoxValue: C,
2024
- disabled: a,
2028
+ changeTextBoxValue: w,
2029
+ disabled: l,
2025
2030
  displayText: o,
2026
- editable: l,
2031
+ editable: a,
2027
2032
  hasFocused: v,
2028
2033
  inputGroupClass: I,
2029
- inputType: p,
2034
+ inputType: d,
2030
2035
  isEmpty: c,
2031
2036
  modelValue: n,
2032
2037
  readonly: y,
2033
2038
  onBlur: T,
2034
- onClick: S,
2035
- onFocus: F,
2039
+ onClick: F,
2040
+ onFocus: S,
2036
2041
  onInput: x,
2037
2042
  onKeydown: b,
2038
- onKeyup: D,
2043
+ onKeyup: A,
2039
2044
  onMousedown: $,
2040
2045
  onTextBoxValueChange: N,
2041
- placeholder: d,
2046
+ placeholder: p,
2042
2047
  textBoxClass: P,
2043
2048
  textBoxTitle: h,
2044
- inputGroupStyle: w
2049
+ inputGroupStyle: C
2045
2050
  };
2046
2051
  }
2047
2052
  function xl(e, t, n) {
2048
- const o = f(!1), a = k(() => e.enableClear && !e.readonly && !e.disabled), { changeTextBoxValue: s, displayText: p, hasFocused: g, isEmpty: u } = n;
2049
- function i(y) {
2053
+ const o = f(!1), l = k(() => e.enableClear && !e.readonly && !e.disabled), { changeTextBoxValue: s, displayText: d, hasFocused: m, isEmpty: u } = n;
2054
+ function r(y) {
2050
2055
  o.value = y;
2051
2056
  }
2052
- W(p, () => {
2053
- g != null && g.value ? i(!!(p != null && p.value)) : i(!1);
2057
+ W(d, () => {
2058
+ m != null && m.value ? r(!!(d != null && d.value)) : r(!1);
2054
2059
  });
2055
- const m = k(() => ({
2060
+ const g = k(() => ({
2056
2061
  "input-group-text": !0,
2057
2062
  "input-group-clear": !0
2058
- })), l = k(() => ({
2063
+ })), a = k(() => ({
2059
2064
  width: "24px",
2060
2065
  display: o.value ? "flex" : "none"
2061
2066
  }));
2062
2067
  function v(y) {
2063
- y.stopPropagation(), a.value && (s("", !0), i(!o.value), t.emit("clear"));
2068
+ y.stopPropagation(), l.value && (s("", !0), r(!o.value), t.emit("clear"));
2064
2069
  }
2065
2070
  function c(y) {
2066
- a.value && !u.value && i(!0);
2071
+ l.value && !u.value && r(!0);
2067
2072
  }
2068
- function d(y) {
2069
- a.value && i(!1);
2073
+ function p(y) {
2074
+ l.value && r(!1);
2070
2075
  }
2071
- return { clearButtonClass: m, clearButtonStyle: l, hasShownClearButton: o, onClearValue: v, onMouseEnter: c, onMouseLeave: d, shouldShowClearButton: a };
2076
+ return { clearButtonClass: g, clearButtonStyle: a, hasShownClearButton: o, onClearValue: v, onMouseEnter: c, onMouseLeave: p, shouldShowClearButton: l };
2072
2077
  }
2073
2078
  const kl = ["moz", "ms", "webkit"];
2074
2079
  function Bl() {
2075
2080
  let e = 0;
2076
2081
  return (t) => {
2077
- const n = (/* @__PURE__ */ new Date()).getTime(), o = Math.max(0, 16 - (n - e)), a = setTimeout(() => {
2082
+ const n = (/* @__PURE__ */ new Date()).getTime(), o = Math.max(0, 16 - (n - e)), l = setTimeout(() => {
2078
2083
  t(n + o);
2079
2084
  }, o);
2080
- return e = n + o, a;
2085
+ return e = n + o, l;
2081
2086
  };
2082
2087
  }
2083
2088
  function Pl() {
@@ -2090,36 +2095,36 @@ function Pl() {
2090
2095
  }
2091
2096
  Pl();
2092
2097
  function Il(e, t) {
2093
- const n = f(e.groupText), o = k(() => e.showButtonWhenDisabled && (e.readonly || e.disabled)), a = k(() => e.enableClear || !!e.groupText);
2098
+ const n = f(e.groupText), o = k(() => e.showButtonWhenDisabled && (e.readonly || e.disabled)), l = k(() => e.enableClear || !!e.groupText);
2094
2099
  return { appendedButtonClass: k(() => ({
2095
2100
  "input-group-append": !0,
2096
2101
  "append-force-show": o.value
2097
- })), appendedContent: n, shouldShowAppendedButton: a };
2102
+ })), appendedContent: n, shouldShowAppendedButton: l };
2098
2103
  }
2099
2104
  function Vl(e, t, n, o) {
2100
- const { appendedContent: a } = o, s = f(e.enableViewPassword), p = k(() => e.type === "password"), g = '<span class="f-icon f-icon-eye" style="color: rgb(56, 143, 255);"></span>', u = '<span class="f-icon f-icon-eye"></span>', i = f(!1);
2105
+ const { appendedContent: l } = o, s = f(e.enableViewPassword), d = k(() => e.type === "password"), m = '<span class="f-icon f-icon-eye" style="color: rgb(56, 143, 255);"></span>', u = '<span class="f-icon f-icon-eye"></span>', r = f(!1);
2101
2106
  W(() => [e.readonly, e.disabled], ([v, c]) => {
2102
- p.value && (n.value = v || c ? "password" : n.value, a.value = v || c ? u : a.value);
2107
+ d.value && (n.value = v || c ? "password" : n.value, l.value = v || c ? u : l.value);
2103
2108
  });
2104
- function m() {
2105
- return i.value = !i.value, n.value = i.value ? "text" : "password", a.value = i.value ? g : u, !1;
2109
+ function g() {
2110
+ return r.value = !r.value, n.value = r.value ? "text" : "password", l.value = r.value ? m : u, !1;
2106
2111
  }
2107
- function l() {
2108
- n.value = p.value ? "password" : "text", a.value = p.value ? s.value ? u : "" : a.value;
2112
+ function a() {
2113
+ n.value = d.value ? "password" : "text", l.value = d.value ? s.value ? u : "" : l.value;
2109
2114
  }
2110
- return l(), { isPassword: p, onClickAppendedButton: m };
2115
+ return a(), { isPassword: d, onClickAppendedButton: g };
2111
2116
  }
2112
2117
  function $l(e, t, n) {
2113
2118
  const o = f(), {
2114
- onBlurTextBox: a,
2119
+ onBlurTextBox: l,
2115
2120
  onFocusTextBox: s,
2116
- onInput: p,
2117
- onKeyDown: g,
2121
+ onInput: d,
2122
+ onKeyDown: m,
2118
2123
  textBoxValue: u
2119
- } = n, i = k(() => e.disabled || e.readonly || !e.editable ? "" : e.placeholder), m = k(() => ({
2124
+ } = n, r = k(() => e.disabled || e.readonly || !e.editable ? "" : e.placeholder), g = k(() => ({
2120
2125
  "form-control": !0,
2121
2126
  "f-utils-fill": !0
2122
- })), l = k(() => ({
2127
+ })), a = k(() => ({
2123
2128
  "text-align": e.textAlign
2124
2129
  }));
2125
2130
  function v(y) {
@@ -2128,34 +2133,34 @@ function $l(e, t, n) {
2128
2133
  function c() {
2129
2134
  e.selectOnCreated, e.focusOnCreated;
2130
2135
  }
2131
- async function d(y) {
2136
+ async function p(y) {
2132
2137
  s(y), await oe, c();
2133
2138
  }
2134
2139
  return Q(async () => {
2135
2140
  await oe, c();
2136
- }), () => r("input", {
2141
+ }), () => i("input", {
2137
2142
  ref: o,
2138
- class: m.value,
2139
- style: l.value,
2143
+ class: g.value,
2144
+ style: a.value,
2140
2145
  type: "text",
2141
2146
  value: u.value,
2142
2147
  disabled: e.disabled,
2143
2148
  readonly: e.readonly || !e.editable,
2144
- placeholder: i.value,
2145
- onBlur: a,
2149
+ placeholder: r.value,
2150
+ onBlur: l,
2146
2151
  onChange: v,
2147
- onFocus: d,
2148
- onInput: p,
2149
- onKeydown: g
2152
+ onFocus: p,
2153
+ onInput: d,
2154
+ onKeydown: m
2150
2155
  }, null);
2151
2156
  }
2152
- function Ml(e, t, n) {
2157
+ function El(e, t, n) {
2153
2158
  const {
2154
2159
  canDownward: o,
2155
- canUpward: a,
2160
+ canUpward: l,
2156
2161
  onClickDownButton: s,
2157
- onClickUpButton: p
2158
- } = n, g = k(() => ({
2162
+ onClickUpButton: d
2163
+ } = n, m = k(() => ({
2159
2164
  "input-group-append": !0,
2160
2165
  "btn-group": !0,
2161
2166
  "btn-group-number": !0
@@ -2163,218 +2168,218 @@ function Ml(e, t, n) {
2163
2168
  btn: !0,
2164
2169
  "btn-secondary": !0,
2165
2170
  "btn-number-flag": !0
2166
- })), i = k(() => ({
2167
- cursor: a() ? "pointer" : "not-allowed",
2171
+ })), r = k(() => ({
2172
+ cursor: l() ? "pointer" : "not-allowed",
2168
2173
  "margin-left": 0
2169
- })), m = k(() => ({
2174
+ })), g = k(() => ({
2170
2175
  cursor: o() ? "pointer" : "not-allowed",
2171
2176
  "margin-left": 0
2172
2177
  }));
2173
- return () => r("div", {
2174
- class: g.value
2175
- }, [r("button", {
2178
+ return () => i("div", {
2179
+ class: m.value
2180
+ }, [i("button", {
2176
2181
  title: "upButton",
2177
2182
  class: u.value,
2178
- style: i.value,
2179
- onClick: p,
2180
- disabled: !a()
2181
- }, [r("span", {
2183
+ style: r.value,
2184
+ onClick: d,
2185
+ disabled: !l()
2186
+ }, [i("span", {
2182
2187
  class: "f-icon f-icon-arrow-chevron-up number-arrow-chevron"
2183
- }, null)]), r("button", {
2188
+ }, null)]), i("button", {
2184
2189
  title: "downButton",
2185
2190
  class: u.value,
2186
- style: m.value,
2191
+ style: g.value,
2187
2192
  onClick: s,
2188
2193
  disabled: !o()
2189
- }, [r("span", {
2194
+ }, [i("span", {
2190
2195
  class: "f-icon f-icon-arrow-chevron-down number-arrow-chevron"
2191
2196
  }, null)])]);
2192
2197
  }
2193
- function El(e, t) {
2194
- const n = ht(e, t), o = bt(e, t, n), a = Ct(e, t, o, n), s = wt(e, t, o, n, a), p = Ml(e, t, a), {
2195
- displayValue: g,
2198
+ function Ml(e, t) {
2199
+ const n = ht(e, t), o = bt(e, t, n), l = Ct(e, t, o, n), s = wt(e, t, o, n, l), d = El(e, t, l), {
2200
+ displayValue: m,
2196
2201
  modelValue: u,
2197
- getRealValue: i
2198
- } = n, m = $l(e, t, s), {
2199
- format: l
2202
+ getRealValue: r
2203
+ } = n, g = $l(e, t, s), {
2204
+ format: a
2200
2205
  } = o, {
2201
2206
  isFocus: v
2202
2207
  } = s, c = k(() => !e.disabled && !e.readonly);
2203
2208
  return Q(() => {
2204
- const d = i(e.modelValue);
2205
- g.value = l(d);
2206
- }), W(() => [e.value], ([d]) => {
2207
- const y = i(d);
2208
- u.value = y, g.value = l(y);
2209
- }), W(() => [e.modelValue], ([d]) => {
2210
- d !== u.value && (u.value = d, !v.value && (g.value = l(i(d))));
2209
+ const p = r(e.modelValue);
2210
+ m.value = a(p);
2211
+ }), W(() => [e.value], ([p]) => {
2212
+ const y = r(p);
2213
+ u.value = y, m.value = a(y);
2214
+ }), W(() => [e.modelValue], ([p]) => {
2215
+ p !== u.value && (u.value = p, !v.value && (m.value = a(r(p))));
2211
2216
  }), W(() => [e.precision, e.useThousands, e.prefix, e.suffix, e.showZero], () => {
2212
- g.value = l(u.value);
2213
- }), () => r("div", {
2217
+ m.value = a(u.value);
2218
+ }), () => i("div", {
2214
2219
  class: "input-group f-state-hover flex-row f-cmp-number-spinner"
2215
- }, [m(), c.value && p()]);
2220
+ }, [g(), c.value && d()]);
2216
2221
  }
2217
2222
  function Ol(e, t, n, o) {
2218
- const a = f(), s = f(e.autocomplete), p = f(e.enableTitle), {
2219
- isPassword: g
2220
- } = n, u = f(e.minLength), i = f(e.maxLength), m = f(e.tabIndex), {
2221
- disabled: l,
2223
+ const l = f(), s = f(e.autocomplete), d = f(e.enableTitle), {
2224
+ isPassword: m
2225
+ } = n, u = f(e.minLength), r = f(e.maxLength), g = f(e.tabIndex), {
2226
+ disabled: a,
2222
2227
  displayText: v,
2223
2228
  inputType: c,
2224
- onBlur: d,
2229
+ onBlur: p,
2225
2230
  onFocus: y,
2226
2231
  onInput: h,
2227
2232
  onClick: P,
2228
2233
  onKeydown: I,
2229
- onKeyup: w,
2230
- onMousedown: C,
2234
+ onKeyup: C,
2235
+ onMousedown: w,
2231
2236
  onTextBoxValueChange: T,
2232
- readonly: S,
2233
- placeholder: F,
2237
+ readonly: F,
2238
+ placeholder: S,
2234
2239
  textBoxClass: x,
2235
2240
  textBoxTitle: b
2236
2241
  } = o;
2237
2242
  return Q(() => {
2238
2243
  e.selectOnCreated, e.focusOnCreated;
2239
- }), () => r("input", {
2240
- ref: a,
2244
+ }), () => i("input", {
2245
+ ref: l,
2241
2246
  name: "input-group-value",
2242
2247
  autocomplete: s.value,
2243
2248
  class: x.value,
2244
- disabled: l == null ? void 0 : l.value,
2245
- maxlength: i.value,
2249
+ disabled: a == null ? void 0 : a.value,
2250
+ maxlength: r.value,
2246
2251
  minlength: u.value,
2247
- placeholder: F.value,
2248
- readonly: S == null ? void 0 : S.value,
2249
- tabindex: m.value,
2250
- title: p.value && !g.value ? b.value : "",
2252
+ placeholder: S.value,
2253
+ readonly: F == null ? void 0 : F.value,
2254
+ tabindex: g.value,
2255
+ title: d.value && !m.value ? b.value : "",
2251
2256
  type: c.value,
2252
2257
  value: v == null ? void 0 : v.value,
2253
- onBlur: d,
2258
+ onBlur: p,
2254
2259
  onClick: P,
2255
2260
  onChange: T,
2256
2261
  onFocus: y,
2257
2262
  onInput: h,
2258
2263
  onKeydown: I,
2259
- onKeyup: w,
2260
- onMousedown: C
2264
+ onKeyup: C,
2265
+ onMousedown: w
2261
2266
  }, null);
2262
2267
  }
2263
2268
  function jl(e, t) {
2264
2269
  const n = k(() => e.useExtendInfo && !!e.extendInfo), o = st({
2265
2270
  content: e.extendInfo
2266
2271
  });
2267
- function a() {
2272
+ function l() {
2268
2273
  t.emit("updateExtendInfo");
2269
2274
  }
2270
- return () => n.value && pe(r("span", {
2275
+ return () => n.value && me(i("span", {
2271
2276
  class: "input-group-before-tips",
2272
- onMouseenter: a
2273
- }, [r("i", {
2277
+ onMouseenter: l
2278
+ }, [i("i", {
2274
2279
  class: "f-icon f-icon-info-circle"
2275
- }, null), r("b", {
2280
+ }, null), i("b", {
2276
2281
  class: "tips-arrow"
2277
2282
  }, null)]), [[ut("tooltip"), o]]);
2278
2283
  }
2279
- function Dl(e, t, n, o, a) {
2284
+ function Al(e, t, n, o, l) {
2280
2285
  const {
2281
2286
  appendedButtonClass: s,
2282
- appendedContent: p
2283
- } = n, g = k(() => e.showButtonWhenDisabled && (!e.editable || !e.readonly) && !e.disabled), u = k(() => p.value && !t.slots.groupTextTemplate), i = k(() => !!t.slots.groupTextTemplate), {
2284
- clearButtonClass: m,
2285
- clearButtonStyle: l,
2287
+ appendedContent: d
2288
+ } = n, m = k(() => e.showButtonWhenDisabled && (!e.editable || !e.readonly) && !e.disabled), u = k(() => d.value && !t.slots.groupTextTemplate), r = k(() => !!t.slots.groupTextTemplate), {
2289
+ clearButtonClass: g,
2290
+ clearButtonStyle: a,
2286
2291
  onClearValue: v,
2287
2292
  shouldShowClearButton: c
2288
2293
  } = o;
2289
- function d() {
2290
- return r("span", {
2294
+ function p() {
2295
+ return i("span", {
2291
2296
  id: "clearIcon",
2292
- class: m.value,
2293
- style: l.value,
2294
- onClick: (F) => v(F)
2295
- }, [r("i", {
2297
+ class: g.value,
2298
+ style: a.value,
2299
+ onClick: (S) => v(S)
2300
+ }, [i("i", {
2296
2301
  class: "f-icon modal_close"
2297
2302
  }, null)]);
2298
2303
  }
2299
- function y(F) {
2300
- t.emit("iconMouseEnter", F);
2304
+ function y(S) {
2305
+ t.emit("iconMouseEnter", S);
2301
2306
  }
2302
- function h(F) {
2303
- t.emit("iconMouseLeave", F);
2307
+ function h(S) {
2308
+ t.emit("iconMouseLeave", S);
2304
2309
  }
2305
- function P(F) {
2306
- g.value && t.emit("clickHandle", {
2307
- originalEvent: F
2308
- }), F.stopPropagation();
2310
+ function P(S) {
2311
+ m.value && t.emit("clickHandle", {
2312
+ originalEvent: S
2313
+ }), S.stopPropagation();
2309
2314
  }
2310
- const I = e.type === "password" ? a.onClickAppendedButton : P;
2311
- function w() {
2312
- return r("span", {
2315
+ const I = e.type === "password" ? l.onClickAppendedButton : P;
2316
+ function C() {
2317
+ return i("span", {
2313
2318
  class: "input-group-text",
2314
- onMouseenter: (F) => y(F),
2315
- onMouseleave: (F) => h(F),
2316
- innerHTML: p.value,
2317
- onClick: (F) => I(F)
2319
+ onMouseenter: (S) => y(S),
2320
+ onMouseleave: (S) => h(S),
2321
+ innerHTML: d.value,
2322
+ onClick: (S) => I(S)
2318
2323
  }, null);
2319
2324
  }
2320
- function C() {
2325
+ function w() {
2321
2326
  return t.slots.groupTextTemplate && t.slots.groupTextTemplate();
2322
2327
  }
2323
2328
  function T() {
2324
- return u.value ? w : i.value ? C : "";
2329
+ return u.value ? C : r.value ? w : "";
2325
2330
  }
2326
- const S = T();
2327
- return () => r("div", {
2331
+ const F = T();
2332
+ return () => i("div", {
2328
2333
  class: s.value
2329
- }, [c.value && d(), S && S()]);
2334
+ }, [c.value && p(), F && F()]);
2330
2335
  }
2331
- const Rl = /* @__PURE__ */ U({
2336
+ const Dl = /* @__PURE__ */ U({
2332
2337
  name: "FInputGroup",
2333
2338
  props: Ne,
2334
2339
  emits: ["clear", "change", "blur", "click", "clickHandle", "focus", "input", "keydown", "keyup", "iconMouseEnter", "iconMouseLeave", "update:modelValue", "update:value", "updateExtendInfo", "valueChange"],
2335
2340
  setup(e, t) {
2336
- const n = f(e.modelValue), o = f(e.modelValue), a = Sl(e, t, n, o), {
2341
+ const n = f(e.modelValue), o = f(e.modelValue), l = Sl(e, t, n, o), {
2337
2342
  inputGroupClass: s,
2338
- inputType: p,
2339
- inputGroupStyle: g
2340
- } = a, u = Il(e), {
2341
- shouldShowAppendedButton: i
2342
- } = u, m = xl(e, t, a), {
2343
- onMouseEnter: l,
2343
+ inputType: d,
2344
+ inputGroupStyle: m
2345
+ } = l, u = Il(e), {
2346
+ shouldShowAppendedButton: r
2347
+ } = u, g = xl(e, t, l), {
2348
+ onMouseEnter: a,
2344
2349
  onMouseLeave: v
2345
- } = m, c = Vl(e, t, p, u), d = El(e, t), y = Ol(e, t, c, a), h = Dl(e, t, u, m, c), P = jl(e, t), I = k(() => e.type === "number");
2346
- W(() => [e.value], ([C]) => {
2347
- n.value = C, o.value = C;
2348
- }), W(() => [e.modelValue], ([C]) => {
2349
- n.value = C, o.value = C;
2350
+ } = g, c = Vl(e, t, d, u), p = Ml(e, t), y = Ol(e, t, c, l), h = Al(e, t, u, g, c), P = jl(e, t), I = k(() => e.type === "number");
2351
+ W(() => [e.value], ([w]) => {
2352
+ n.value = w, o.value = w;
2353
+ }), W(() => [e.modelValue], ([w]) => {
2354
+ n.value = w, o.value = w;
2350
2355
  }), Q(() => {
2351
2356
  e.value && (n.value = e.value, o.value = e.value);
2352
2357
  });
2353
- const w = () => r(J, null, [r("div", {
2358
+ const C = () => i(K, null, [i("div", {
2354
2359
  id: "inputGroup",
2355
2360
  class: s.value,
2356
- style: g.value,
2357
- onMouseenter: l,
2361
+ style: m.value,
2362
+ onMouseenter: a,
2358
2363
  onMouseleave: v
2359
- }, [I.value ? d() : r(J, null, [P(), y(), i.value && h()])])]);
2360
- return () => w();
2364
+ }, [I.value ? p() : i(K, null, [P(), y(), r.value && h()])])]);
2365
+ return () => C();
2361
2366
  }
2362
- }), M = {}, E = {}, O = {}, j = {};
2363
- let Fe = !1;
2364
- function Al() {
2365
- Fe || (Fe = !0, Ft.register(M, E, O, j), Tt.register(M, E, O, j), St.register(M, E, O, j), xt.register(M, E, O, j), kt.register(M, E, O, j), Bt.register(M, E, O, j), Pt.register(M, E, O, j), It.register(M, E, O, j), Vt.register(M, E, O, j), $t.register(M, E, O, j), Et.register(M, E, O, j), Mt.register(M, E, O, j), Ot.register(M, E, O, j), jt.register(M, E, O, j), Dt.register(M, E, O, j), Rt.register(M, E, O, j), At.register(M, E, O, j), Lt.register(M, E, O, j), Nt.register(M, E, O, j), qt.register(M, E, O, j), Gt.register(M, E, O, j), Wt.register(M, E, O, j), _t.register(M, E, O, j), Ht.register(M, E, O, j), Ut.register(M, E, O, j), zt.register(M, E, O, j), Xt.register(M, E, O, j), Qt.register(M, E, O, j), gt.register(M, E, O, j), Kt.register(M, E, O, j), Jt.register(M, E, O, j), Zt.register(M, E, O, j), Yt.register(M, E, O, j), en.register(M, E, O, j), tn.register(M, E, O, j), nn.register(M, E, O, j), on.register(M, E, O, j), an.register(M, E, O, j), rn.register(M, E, O, j), ln.register(M, E, O, j), Sn.register(M, E, O), sn.register(M, E, O, j), un.register(M, E, O, j), cn.register(M, E, O, j), dn.register(M, E, O, j), pn.register(M, E, O, j), fn.register(M, E, O, j), mn.register(M, E, O, j), Ie.register(M, E, O, j), vn.register(M, E, O, j), yn.register(M, E, O, j), gn.register(M, E, O, j), hn.register(M, E, O, j), Cn.register(M, E, O, j), bn.register(M, E, O, j), wn.register(M, E, O, j), Tn.register(M, E, O, j), Fn.register(M, E, O, j), xn.register(M, E, O, j));
2367
+ }), E = {}, M = {}, O = {}, j = {};
2368
+ let Se = !1;
2369
+ function Rl() {
2370
+ Se || (Se = !0, Ft.register(E, M, O, j), Tt.register(E, M, O, j), St.register(E, M, O, j), xt.register(E, M, O, j), kt.register(E, M, O, j), Bt.register(E, M, O, j), Pt.register(E, M, O, j), It.register(E, M, O, j), Vt.register(E, M, O, j), $t.register(E, M, O, j), Mt.register(E, M, O, j), Et.register(E, M, O, j), Ot.register(E, M, O, j), jt.register(E, M, O, j), At.register(E, M, O, j), Dt.register(E, M, O, j), Rt.register(E, M, O, j), Lt.register(E, M, O, j), Nt.register(E, M, O, j), qt.register(E, M, O, j), Gt.register(E, M, O, j), Wt.register(E, M, O, j), _t.register(E, M, O, j), Ht.register(E, M, O, j), Ut.register(E, M, O, j), zt.register(E, M, O, j), Xt.register(E, M, O, j), Qt.register(E, M, O, j), gt.register(E, M, O, j), Jt.register(E, M, O, j), Kt.register(E, M, O, j), Zt.register(E, M, O, j), Yt.register(E, M, O, j), en.register(E, M, O, j), tn.register(E, M, O, j), nn.register(E, M, O, j), on.register(E, M, O, j), an.register(E, M, O, j), rn.register(E, M, O, j), ln.register(E, M, O, j), Sn.register(E, M, O), sn.register(E, M, O, j), un.register(E, M, O, j), cn.register(E, M, O, j), dn.register(E, M, O, j), pn.register(E, M, O, j), fn.register(E, M, O, j), mn.register(E, M, O, j), Ve.register(E, M, O, j), vn.register(E, M, O, j), yn.register(E, M, O, j), gn.register(E, M, O, j), hn.register(E, M, O, j), Cn.register(E, M, O, j), bn.register(E, M, O, j), wn.register(E, M, O, j), Tn.register(E, M, O, j), Fn.register(E, M, O, j), xn.register(E, M, O, j));
2366
2371
  }
2367
2372
  function Ll() {
2368
- Al();
2369
- function e(a, s) {
2370
- const p = E[a];
2371
- return p ? p(s) : {};
2373
+ Rl();
2374
+ function e(l, s) {
2375
+ const d = M[l];
2376
+ return d ? d(s) : {};
2372
2377
  }
2373
- function t(a) {
2374
- return M[a] || Rl;
2378
+ function t(l) {
2379
+ return E[l] || Dl;
2375
2380
  }
2376
- function n(a) {
2377
- switch (a) {
2381
+ function n(l) {
2382
+ switch (l) {
2378
2383
  case "check-box":
2379
2384
  return "onChangeValue";
2380
2385
  case "switch":
@@ -2430,8 +2435,8 @@ function Ll() {
2430
2435
  return "onValueChange";
2431
2436
  }
2432
2437
  }
2433
- function o(a) {
2434
- switch (a) {
2438
+ function o(l) {
2439
+ switch (l) {
2435
2440
  case "combo-list":
2436
2441
  case "input-group":
2437
2442
  case "textarea":
@@ -2445,91 +2450,93 @@ const Nl = /* @__PURE__ */ U({
2445
2450
  props: Le,
2446
2451
  emits: ["change", "update:modelValue"],
2447
2452
  setup(e, t) {
2448
- const n = f(e.id), o = f(e.customClass), a = f(e.editor), s = f(e.label), p = f(e.modelValue), g = f(e.readonly), u = f(e.required), i = f(e.showLabel), m = f(e.visible);
2453
+ const n = f(e.id), o = f(e.customClass), l = f(e.editor), s = f(e.label), d = f(e.modelValue), m = f(e.readonly), u = f(e.required), r = f(e.showLabel), g = f(e.visible);
2449
2454
  f(e.type);
2450
- const l = f(), {
2455
+ const a = f(), {
2451
2456
  resolveEditorProps: v,
2452
2457
  resolveEditorType: c,
2453
- getChangeFunctionName: d,
2458
+ getChangeFunctionName: p,
2454
2459
  getClearFunctionName: y
2455
2460
  } = Ll(), h = k(() => ({
2456
2461
  "form-group": !0,
2457
2462
  "farris-form-group": !0,
2458
2463
  "common-group": !0,
2459
- "q-state-readonly": g.value
2464
+ "q-state-readonly": m.value
2460
2465
  }));
2461
- function P(C, T) {
2462
- p.value = T !== void 0 ? T : C, t.emit("update:modelValue", p.value), t.emit("change", p.value);
2466
+ function P(w, T) {
2467
+ d.value = T !== void 0 ? T : w, t.emit("update:modelValue", d.value), t.emit("change", d.value);
2463
2468
  }
2464
2469
  function I() {
2465
2470
  t.emit("update:modelValue", "");
2466
2471
  }
2467
- const w = k(() => {
2468
- const C = a.value.type || "input-group", T = c(C), S = v(C, a.value), F = d(C), x = y(a.value.type);
2469
- return S[F] = P, S[x] = I, () => r(T, Pe({
2470
- ref: l
2471
- }, S, {
2472
- modelValue: p.value,
2473
- "onUpdate:modelValue": (b) => p.value = b
2472
+ const C = k(() => {
2473
+ const w = l.value.type || "input-group", T = c(w), F = v(w, l.value), S = p(w), x = y(l.value.type);
2474
+ return F[S] = P, F[x] = I, () => i(T, Ie({
2475
+ ref: a
2476
+ }, F, {
2477
+ modelValue: d.value,
2478
+ "onUpdate:modelValue": (b) => d.value = b
2474
2479
  }), null);
2475
2480
  });
2476
- return W([() => e.id, () => e.customClass, () => e.editor, () => e.label, () => e.modelValue, () => e.readonly, () => e.required, () => e.showLabel, () => e.visible], ([C, T, S, F, x, b, D, $, N]) => {
2477
- n.value = C, o.value = T, a.value = S, s.value = F, p.value = x, g.value = b, u.value = D, i.value = $, m.value = N;
2481
+ return W([() => e.id, () => e.customClass, () => e.editor, () => e.label, () => e.modelValue, () => e.readonly, () => e.required, () => e.showLabel, () => e.visible], ([w, T, F, S, x, b, A, $, N]) => {
2482
+ n.value = w, o.value = T, l.value = F, s.value = S, d.value = x, m.value = b, u.value = A, r.value = $, g.value = N;
2478
2483
  }), t.expose({
2479
- editorRef: l
2480
- }), () => m.value && r("div", {
2484
+ editorRef: a
2485
+ }), () => g.value && i("div", {
2481
2486
  id: `${n.value}-input-group`,
2482
2487
  class: o.value
2483
- }, [r("div", {
2488
+ }, [i("div", {
2484
2489
  class: "farris-group-wrap"
2485
- }, [r("div", {
2490
+ }, [i("div", {
2486
2491
  class: h.value
2487
- }, [i.value && r(fl, {
2492
+ }, [r.value && i(fl, {
2488
2493
  id: `${n.value}-lable`,
2489
2494
  required: u.value,
2490
2495
  text: s.value,
2491
2496
  title: s.value
2492
- }, null), r("div", {
2497
+ }, null), i("div", {
2493
2498
  class: "farris-input-wrap"
2494
- }, [w.value()])])])]);
2499
+ }, [C.value()])])])]);
2495
2500
  }
2496
2501
  }), ql = /* @__PURE__ */ U({
2497
2502
  name: "FPropertyPanelItem",
2498
2503
  props: nl,
2499
2504
  emits: ["propertyChange", "triggerRefreshPanel"],
2500
2505
  setup(e, t) {
2501
- var i;
2502
- const n = f((i = e.category) == null ? void 0 : i.categoryId), o = f(e.elementConfig.propertyID), a = f(e.elementConfig.propertyName), s = f(e.elementConfig.editor), p = f(e.elementConfig.propertyValue), g = k(() => {
2503
- const m = e.elementConfig.visible;
2506
+ var u;
2507
+ const n = f((u = e.category) == null ? void 0 : u.categoryId), o = f(e.elementConfig.propertyID), l = f(e.elementConfig.propertyName);
2508
+ f(e.elementConfig.editor);
2509
+ const s = f(e.elementConfig.propertyValue), d = k(() => {
2510
+ const r = e.elementConfig.visible;
2504
2511
  return {
2505
2512
  "farris-group-wrap": !0,
2506
2513
  "property-item": !0,
2507
- "d-none": !(typeof m == "boolean" ? m : m == null ? !0 : m())
2514
+ "d-none": !(typeof r == "boolean" ? r : r == null ? !0 : r())
2508
2515
  };
2509
2516
  });
2510
2517
  W(() => {
2511
- var m;
2512
- return (m = e.elementConfig) == null ? void 0 : m.propertyValue;
2513
- }, (m) => {
2514
- p.value = m;
2518
+ var r;
2519
+ return (r = e.elementConfig) == null ? void 0 : r.propertyValue;
2520
+ }, (r) => {
2521
+ s.value = r;
2515
2522
  });
2516
- function u(m) {
2517
- e.elementConfig.propertyValue = m;
2518
- const l = {
2523
+ function m(r) {
2524
+ e.elementConfig.propertyValue = r;
2525
+ const g = {
2519
2526
  propertyID: e.elementConfig.propertyID,
2520
- propertyValue: m
2527
+ propertyValue: r
2521
2528
  };
2522
- t.emit("propertyChange", l), e.elementConfig.refreshPanelAfterChanged && t.emit("triggerRefreshPanel");
2529
+ t.emit("propertyChange", g), e.elementConfig.refreshPanelAfterChanged && t.emit("triggerRefreshPanel");
2523
2530
  }
2524
- return () => r("div", {
2525
- class: g.value
2526
- }, [r(Nl, {
2531
+ return () => i("div", {
2532
+ class: d.value
2533
+ }, [i(Nl, {
2527
2534
  id: o.value,
2528
2535
  customClass: `${n.value}-${o.value}`,
2529
- label: a.value,
2530
- editor: s.value,
2531
- modelValue: p.value,
2532
- onChange: u,
2536
+ label: l.value,
2537
+ editor: e.elementConfig.editor,
2538
+ modelValue: s.value,
2539
+ onChange: m,
2533
2540
  editorParams: e.elementConfig.editorParams
2534
2541
  }, null)]);
2535
2542
  }
@@ -2541,9 +2548,9 @@ const Nl = /* @__PURE__ */ U({
2541
2548
  const n = f(e.category);
2542
2549
  function o(c) {
2543
2550
  if (!c.hideCascadeTitle)
2544
- return r("div", {
2551
+ return i("div", {
2545
2552
  class: "farris-input-wrap"
2546
- }, [r("input", {
2553
+ }, [i("input", {
2547
2554
  title: "summary",
2548
2555
  type: "input",
2549
2556
  class: "form-control form-control-sm",
@@ -2551,38 +2558,38 @@ const Nl = /* @__PURE__ */ U({
2551
2558
  readonly: !0
2552
2559
  }, null)]);
2553
2560
  }
2554
- function a(c, d) {
2555
- d.isExpand = !d.isExpand;
2561
+ function l(c, p) {
2562
+ p.isExpand = !p.isExpand;
2556
2563
  }
2557
2564
  function s(c) {
2558
- return r("div", {
2565
+ return i("div", {
2559
2566
  class: "landscape"
2560
- }, [r("button", {
2567
+ }, [i("button", {
2561
2568
  title: "expand-button",
2562
2569
  class: ["btn f-btn-collapse-expand f-btn-mx px-1", {
2563
2570
  "f-state-expand": c.isExpand
2564
2571
  }],
2565
- onClick: (d) => a(d, c)
2566
- }, [r("span", null, null)])]);
2572
+ onClick: (p) => l(p, c)
2573
+ }, [i("span", null, null)])]);
2567
2574
  }
2568
- function p(c) {
2569
- return r("div", {
2575
+ function d(c) {
2576
+ return i("div", {
2570
2577
  class: "f-section-formgroup-legend"
2571
- }, [r("div", {
2578
+ }, [i("div", {
2572
2579
  class: "f-header px-0 my-0 col-form-label",
2573
2580
  style: "font-size: inherit;"
2574
- }, [r("div", {
2581
+ }, [i("div", {
2575
2582
  class: "wrap"
2576
- }, [r("span", {
2583
+ }, [i("span", {
2577
2584
  class: ["f-icon mr-1", {
2578
2585
  "f-icon-arrow-60-right": !c.isExpand,
2579
2586
  "f-icon-arrow-60-down": c.isExpand
2580
2587
  }]
2581
- }, null), r("span", {
2588
+ }, null), i("span", {
2582
2589
  class: "farris-label-text"
2583
2590
  }, [c.propertyName])])])]);
2584
2591
  }
2585
- function g(c) {
2592
+ function m(c) {
2586
2593
  return `${e.categoryKey}_${c.propertyID}`;
2587
2594
  }
2588
2595
  function u(c) {
@@ -2590,107 +2597,107 @@ const Nl = /* @__PURE__ */ U({
2590
2597
  changeObject: c
2591
2598
  });
2592
2599
  }
2593
- function i() {
2600
+ function r() {
2594
2601
  t.emit("triggerRefreshPanel");
2595
2602
  }
2596
- function m(c) {
2597
- return r("div", {
2603
+ function g(c) {
2604
+ return i("div", {
2598
2605
  class: "px-2 mb-2"
2599
- }, [r(ql, {
2600
- key: g(c),
2606
+ }, [i(ql, {
2607
+ key: m(c),
2601
2608
  elementConfig: c,
2602
2609
  category: n.value,
2603
2610
  onPropertyChange: u,
2604
- onTriggerRefreshPanel: i
2611
+ onTriggerRefreshPanel: r
2605
2612
  }, null)]);
2606
2613
  }
2607
- function l(c) {
2608
- var d;
2609
- return r("div", {
2614
+ function a(c) {
2615
+ var p;
2616
+ return i("div", {
2610
2617
  class: "propertyCascadeItem farris-panel px-2 mb-2"
2611
- }, [r("div", {
2618
+ }, [i("div", {
2612
2619
  class: ["farris-panel-item card", {
2613
2620
  hidden: !c.isExpand
2614
2621
  }]
2615
- }, [r("div", {
2622
+ }, [i("div", {
2616
2623
  class: "card-header",
2617
- onClick: (y) => a(y, c)
2618
- }, [r("div", {
2624
+ onClick: (y) => l(y, c)
2625
+ }, [i("div", {
2619
2626
  class: "panel-item-title"
2620
- }, [r("div", {
2627
+ }, [i("div", {
2621
2628
  class: "form-group farris-form-group line-item"
2622
- }, [p(c), o(c), s(c)])])]), r("div", {
2629
+ }, [d(c), o(c), s(c)])])]), i("div", {
2623
2630
  class: ["card-body", {
2624
2631
  hidden: !c.isExpand
2625
2632
  }]
2626
- }, [(d = c.cascadeConfig) == null ? void 0 : d.map((y) => m(y))])])]);
2633
+ }, [(p = c.cascadeConfig) == null ? void 0 : p.map((y) => g(y))])])]);
2627
2634
  }
2628
2635
  W(() => e.category, () => {
2629
2636
  n.value = e.category;
2630
2637
  });
2631
2638
  function v(c) {
2632
- return c.propertyType === "cascade" ? l : m;
2639
+ return c.propertyType === "cascade" ? a : g;
2633
2640
  }
2634
- return () => r(J, null, [n.value.properties.map((c) => v(c)(c))]);
2641
+ return () => i(K, null, [n.value.properties.map((c) => v(c)(c))]);
2635
2642
  }
2636
2643
  }), Wl = /* @__PURE__ */ U({
2637
2644
  name: "FPropertyPanel",
2638
2645
  props: el,
2639
2646
  emits: ["propertyChanged"],
2640
2647
  setup(e, t) {
2641
- const n = f(e.width), o = f(e.isWidePanel), a = f(e.enableSearch), s = f(e.mode), p = f(e.isPersitOpenState), g = f(e.isShowPanel), u = f(), i = f(), m = f(e.showCloseBtn), l = f(e.selectedTabId), v = f(!0), c = f(e.isWhiteTheme);
2642
- let d = [], y = [];
2643
- const h = f(""), P = f(), I = f(), w = de("SchemaService");
2644
- let C = [], T = null, S = "";
2645
- const F = f(), x = f(0);
2648
+ const n = f(e.width), o = f(e.isWidePanel), l = f(e.enableSearch), s = f(e.mode), d = f(e.isPersitOpenState), m = f(e.isShowPanel), u = f(), r = f(), g = f(e.showCloseBtn), a = f(e.selectedTabId), v = f(!0), c = f(e.isWhiteTheme);
2649
+ let p = [], y = [];
2650
+ const h = f(""), P = f(), I = f(), C = fe("SchemaService");
2651
+ let w = [], T = null, F = "";
2652
+ const S = f(), x = f(0);
2646
2653
  function b() {
2647
- y = [], F.value && F.value.categoryList && Array.isArray(F.value.categoryList) && F.value.categoryList.length > 0 && F.value.categoryList.forEach((A) => {
2648
- if (A.properties.forEach((R) => R.categoryId = A.categoryId), A.properties && Array.isArray(A.properties) && A.properties.length > 0) {
2649
- const R = A.properties.map((H) => (H.category = A, H));
2650
- y = y.concat(R);
2654
+ y = [], S.value && S.value.categoryList && Array.isArray(S.value.categoryList) && S.value.categoryList.length > 0 && S.value.categoryList.forEach((R) => {
2655
+ if (R.properties.forEach((D) => D.categoryId = R.categoryId), R.properties && Array.isArray(R.properties) && R.properties.length > 0) {
2656
+ const D = R.properties.map((H) => (H.category = R, H));
2657
+ y = y.concat(D);
2651
2658
  }
2652
2659
  });
2653
2660
  }
2654
- function D(L) {
2655
- let A = L.offsetTop, R = L.offsetParent;
2656
- for (; R !== null; )
2657
- A += R.offsetTop, R = R.offsetParent;
2658
- return A;
2661
+ function A(L) {
2662
+ let R = L.offsetTop, D = L.offsetParent;
2663
+ for (; D !== null; )
2664
+ R += D.offsetTop, D = D.offsetParent;
2665
+ return R;
2659
2666
  }
2660
- function $(L, A) {
2661
- L && A && Object.keys(A).length > 0 && Object.keys(A).forEach((R) => {
2662
- var K;
2663
- const H = A[R];
2664
- (K = L.style) == null || K.setProperty(R, H);
2667
+ function $(L, R) {
2668
+ L && R && Object.keys(R).length > 0 && Object.keys(R).forEach((D) => {
2669
+ var J;
2670
+ const H = R[D];
2671
+ (J = L.style) == null || J.setProperty(D, H);
2665
2672
  });
2666
2673
  }
2667
2674
  function N() {
2668
- return y.filter((A) => A.visible ? !!(A.propertyID && A.propertyID.startsWith(h.value) || A.propertyName && (A.propertyName.startsWith(h.value) || A.propertyName.includes(h.value))) : !1);
2675
+ return y.filter((R) => R.visible ? !!(R.propertyID && R.propertyID.startsWith(h.value) || R.propertyName && (R.propertyName.startsWith(h.value) || R.propertyName.includes(h.value))) : !1);
2669
2676
  }
2670
- function B(L, A, R) {
2677
+ function B(L, R, D) {
2671
2678
  if (L === 0) {
2672
- const H = D(A), ae = D(R) - H - 5;
2673
- A == null || A.scroll({
2674
- top: ae,
2679
+ const H = A(R), re = A(D) - H - 5;
2680
+ R == null || R.scroll({
2681
+ top: re,
2675
2682
  behavior: "smooth"
2676
2683
  });
2677
2684
  }
2678
2685
  }
2679
2686
  function q(L) {
2680
- C && C.length > 0 && (C.forEach((R) => {
2681
- R.style.cssText = "";
2682
- }), C = []), h.value = L || h.value;
2683
- const A = document.querySelector(".panel-body");
2687
+ w && w.length > 0 && (w.forEach((D) => {
2688
+ D.style.cssText = "";
2689
+ }), w = []), h.value = L || h.value;
2690
+ const R = document.querySelector(".panel-body");
2684
2691
  if (!h.value)
2685
- P.value && A && (A.scrollTop = 0);
2692
+ P.value && R && (R.scrollTop = 0);
2686
2693
  else if (b(), y && y.length > 0) {
2687
- const R = N();
2688
- R && R.length > 0 && (R[0].category.status === "closed" && (R[0].category.status = "open"), setTimeout(() => {
2689
- R.forEach((H, K) => {
2690
- const ae = H.propertyType === "cascade" ? `.${H.categoryId}-${H.propertyID} div.col-form-label` : `.property-item .${H.categoryId}-${H.propertyID} label.col-form-label`, ne = document.querySelector(ae);
2691
- ne && (B(K, A, ne), $(ne, {
2694
+ const D = N();
2695
+ D && D.length > 0 && (D[0].category.status === "closed" && (D[0].category.status = "open"), setTimeout(() => {
2696
+ D.forEach((H, J) => {
2697
+ const re = H.propertyType === "cascade" ? `.${H.categoryId}-${H.propertyID} div.col-form-label` : `.property-item .${H.categoryId}-${H.propertyID} label.col-form-label`, ne = document.querySelector(re);
2698
+ ne && (B(J, R, ne), $(ne, {
2692
2699
  color: "#5B89FE"
2693
- }), C.push(ne));
2700
+ }), w.push(ne));
2694
2701
  });
2695
2702
  }, 50));
2696
2703
  }
@@ -2700,125 +2707,125 @@ const Nl = /* @__PURE__ */ U({
2700
2707
  }
2701
2708
  function G(L) {
2702
2709
  const {
2703
- value: A
2710
+ value: R
2704
2711
  } = L.target;
2705
- L.key === "Enter" && _(A);
2712
+ L.key === "Enter" && _(R);
2706
2713
  }
2707
2714
  function z(L) {
2708
2715
  const {
2709
- value: A
2716
+ value: R
2710
2717
  } = L.target;
2711
- _(A);
2718
+ _(R);
2712
2719
  }
2713
2720
  function _e() {
2714
- p.value || (v.value = !1), t.emit("closePropertyPanel");
2721
+ d.value || (v.value = !1), t.emit("closePropertyPanel");
2715
2722
  }
2716
- function le(L) {
2723
+ function ae(L) {
2717
2724
  h.value = "", q();
2718
2725
  }
2719
2726
  function Ue(L) {
2720
2727
  !L.status || L.status === "open" ? L.status = "closed" : L.status = "open";
2721
2728
  }
2722
2729
  function te() {
2723
- var L, A;
2724
- if (d = [], !u.value || u.value.length === 0) {
2725
- d = [{
2730
+ var L, R;
2731
+ if (p = [], !u.value || u.value.length === 0) {
2732
+ p = [{
2726
2733
  tabId: "default",
2727
2734
  tabName: "属性",
2728
2735
  categoryList: []
2729
- }], F.value = null;
2736
+ }], S.value = null;
2730
2737
  return;
2731
2738
  }
2732
- if ((L = u == null ? void 0 : u.value) == null || L.forEach((R) => {
2733
- if (R.tabId) {
2734
- const H = d.find((K) => K.tabId === R.tabId);
2735
- H ? (H.categoryList.push(R), H.hide && (H.hide = R.hide || R.properties.length === 0)) : d.push({
2736
- tabId: R.tabId,
2737
- tabName: R.tabName,
2738
- categoryList: [R],
2739
- hide: R.hide || R.properties.length === 0
2739
+ if ((L = u == null ? void 0 : u.value) == null || L.forEach((D) => {
2740
+ if (D.tabId) {
2741
+ const H = p.find((J) => J.tabId === D.tabId);
2742
+ H ? (H.categoryList.push(D), H.hide && (H.hide = D.hide || D.properties.length === 0)) : p.push({
2743
+ tabId: D.tabId,
2744
+ tabName: D.tabName,
2745
+ categoryList: [D],
2746
+ hide: D.hide || D.properties.length === 0
2740
2747
  });
2741
2748
  } else {
2742
- const H = d.find((K) => K.tabId === "default");
2743
- H ? H.categoryList.push(R) : d.push({
2749
+ const H = p.find((J) => J.tabId === "default");
2750
+ H ? H.categoryList.push(D) : p.push({
2744
2751
  tabId: "default",
2745
2752
  tabName: "属性",
2746
- categoryList: [R]
2753
+ categoryList: [D]
2747
2754
  });
2748
2755
  }
2749
- }), l.value) {
2750
- let R = d == null ? void 0 : d.find((H) => H.tabId === l.value && !H.hide);
2751
- F.value = R || d[0];
2756
+ }), a.value) {
2757
+ let D = p == null ? void 0 : p.find((H) => H.tabId === a.value && !H.hide);
2758
+ S.value = D || p[0];
2752
2759
  } else
2753
- F.value = d[0];
2754
- l.value = (A = F.value) == null ? void 0 : A.tabId;
2760
+ S.value = p[0];
2761
+ a.value = (R = S.value) == null ? void 0 : R.tabId;
2755
2762
  }
2756
2763
  W(() => [e.schema, e.isShowPanel], () => {
2757
- i.value = e.schema, !e.schema || !e.schema.type ? u.value = [] : u.value = re(i.value, w, T, S), te(), le(h.value), x.value++;
2764
+ r.value = e.schema, !e.schema || !e.schema.type ? u.value = [] : u.value = ie(r.value, C, T, F), te(), ae(h.value), x.value++;
2758
2765
  }), Q(() => {
2759
2766
  te();
2760
2767
  });
2761
- function ze(L, A) {
2762
- (!i.value || A) && (i.value = A || e.schema), u.value = re(i.value, w, T, S, L), te(), le(h.value);
2768
+ function ze(L, R) {
2769
+ (!r.value || R) && (r.value = R || e.schema), u.value = ie(r.value, C, T, F, L), te(), ae(h.value);
2763
2770
  }
2764
- function Xe(L, A) {
2765
- T = L, S = A;
2771
+ function Xe(L, R) {
2772
+ T = L, F = R;
2766
2773
  }
2767
- function be() {
2774
+ function Ce() {
2768
2775
  s.value = s.value === "panel" ? "sidebar" : "panel", s.value === "panel" ? (setTimeout(() => {
2769
2776
  _();
2770
2777
  }, 100), n.value = "300px") : n.value = "41px";
2771
2778
  }
2772
2779
  function Qe() {
2773
- if (m.value)
2774
- return r("div", {
2780
+ if (g.value)
2781
+ return i("div", {
2775
2782
  class: "title-actions"
2776
- }, [r("div", {
2783
+ }, [i("div", {
2777
2784
  class: "monaco-toolbar"
2778
- }, [r("div", {
2785
+ }, [i("div", {
2779
2786
  class: "monaco-action-bar animated"
2780
- }, [r("ul", {
2787
+ }, [i("ul", {
2781
2788
  class: "actions-container",
2782
2789
  role: "toolbar"
2783
- }, [r("li", {
2790
+ }, [i("li", {
2784
2791
  class: "action-item",
2785
2792
  onClick: _e
2786
- }, [r("span", {
2793
+ }, [i("span", {
2787
2794
  class: "f-icon f-icon-close"
2788
2795
  }, null)])])])])]);
2789
2796
  }
2790
- function Ke() {
2791
- u.value = re(i.value, w, T, S), te();
2792
- }
2793
2797
  function Je() {
2798
+ u.value = ie(r.value, C, T, F), te();
2799
+ }
2800
+ function Ke() {
2794
2801
  var L;
2795
- if (a.value && ((L = F.value) == null ? void 0 : L.tabId) !== "commands")
2796
- return r("div", {
2802
+ if (l.value && ((L = S.value) == null ? void 0 : L.tabId) !== "commands")
2803
+ return i("div", {
2797
2804
  class: "search"
2798
- }, [r("div", {
2805
+ }, [i("div", {
2799
2806
  class: "input-group f-state-editable border-left-0 border-right-0"
2800
- }, [r("input", {
2807
+ }, [i("input", {
2801
2808
  class: "form-control f-utils-fill text-left pt-3 pb-3 textbox",
2802
2809
  type: "text",
2803
2810
  placeholder: "输入属性名称或编号快速定位",
2804
2811
  autocomplete: "off",
2805
- onKeyup: (A) => G(A),
2812
+ onKeyup: (R) => G(R),
2806
2813
  value: h.value
2807
- }, null), r("div", {
2814
+ }, null), i("div", {
2808
2815
  class: "input-group-append",
2809
2816
  style: "margin-left: 0px;"
2810
- }, [r("span", {
2817
+ }, [i("span", {
2811
2818
  class: "input-group-text input-group-clear",
2812
2819
  style: [{
2813
2820
  display: h.value && h.value.length > 0 ? "" : "none"
2814
2821
  }],
2815
- onClick: (A) => le()
2816
- }, [r("i", {
2822
+ onClick: (R) => ae()
2823
+ }, [i("i", {
2817
2824
  class: "f-icon modal_close"
2818
- }, null)]), r("span", {
2825
+ }, null)]), i("span", {
2819
2826
  class: "input-group-text input-group-clear",
2820
- onClick: (A) => z(A)
2821
- }, [r("i", {
2827
+ onClick: (R) => z(R)
2828
+ }, [i("i", {
2822
2829
  class: "f-icon f-icon-search"
2823
2830
  }, null)])])])]);
2824
2831
  }
@@ -2829,45 +2836,45 @@ const Nl = /* @__PURE__ */ U({
2829
2836
  t.emit("propertyChanged", L);
2830
2837
  }
2831
2838
  function et() {
2832
- var L, A;
2833
- if (F.value)
2834
- return r("div", {
2839
+ var L, R;
2840
+ if (S.value)
2841
+ return i("div", {
2835
2842
  class: "panel-body",
2836
2843
  ref: I
2837
- }, [r("ul", {
2844
+ }, [i("ul", {
2838
2845
  class: ["property-grid", {
2839
2846
  "wide-panel": o.value
2840
2847
  }]
2841
- }, [(A = (L = F.value) == null ? void 0 : L.categoryList) == null ? void 0 : A.map((R) => r("li", {
2842
- key: Ze(R),
2843
- "data-category-id": R == null ? void 0 : R.categoryId
2844
- }, [!R.hide && !R.hideTitle && r("span", {
2848
+ }, [(R = (L = S.value) == null ? void 0 : L.categoryList) == null ? void 0 : R.map((D) => i("li", {
2849
+ key: Ze(D),
2850
+ "data-category-id": D == null ? void 0 : D.categoryId
2851
+ }, [!D.hide && !D.hideTitle && i("span", {
2845
2852
  class: "group-label",
2846
- onClick: () => Ue(R)
2847
- }, [r("span", {
2853
+ onClick: () => Ue(D)
2854
+ }, [i("span", {
2848
2855
  class: ["f-icon mr-2", {
2849
- "f-legend-show": R.status === "closed"
2856
+ "f-legend-show": D.status === "closed"
2850
2857
  }, {
2851
- "f-legend-collapse": R.status === "open" || R.status === void 0
2858
+ "f-legend-collapse": D.status === "open" || D.status === void 0
2852
2859
  }]
2853
- }, null), R.categoryName]), r("div", {
2854
- hidden: R.status === "closed"
2855
- }, [r(Gl, {
2856
- key: `${R == null ? void 0 : R.categoryId}-${x.value}`,
2857
- category: R,
2858
- propertyData: i.value,
2859
- onTriggerRefreshPanel: Ke,
2860
+ }, null), D.categoryName]), i("div", {
2861
+ hidden: D.status === "closed"
2862
+ }, [i(Gl, {
2863
+ key: `${D == null ? void 0 : D.categoryId}-${x.value}`,
2864
+ category: D,
2865
+ propertyData: r.value,
2866
+ onTriggerRefreshPanel: Je,
2860
2867
  onValueChanged: Ye
2861
2868
  }, null)])]))])]);
2862
2869
  }
2863
2870
  function tt() {
2864
2871
  if (s.value === "sidebar")
2865
- return r("div", {
2872
+ return i("div", {
2866
2873
  class: "side-panel h-100",
2867
- onClick: be
2868
- }, [r("i", {
2874
+ onClick: Ce
2875
+ }, [i("i", {
2869
2876
  class: "f-icon f-icon-engineering w-100 icon"
2870
- }, null), r("span", null, [Y("属性")])]);
2877
+ }, null), i("span", null, [Y("属性")])]);
2871
2878
  }
2872
2879
  function nt() {
2873
2880
  return {
@@ -2876,53 +2883,53 @@ const Nl = /* @__PURE__ */ U({
2876
2883
  };
2877
2884
  }
2878
2885
  function ot() {
2879
- return r("div", {
2886
+ return i("div", {
2880
2887
  class: "switcher"
2881
- }, [r("i", {
2888
+ }, [i("i", {
2882
2889
  class: "f-icon f-icon-exhale-discount",
2883
2890
  style: [{
2884
2891
  transform: s.value === "sidebar" ? "none" : "rotate(180deg)"
2885
2892
  }],
2886
- onClick: be
2893
+ onClick: Ce
2887
2894
  }, null)]);
2888
2895
  }
2889
2896
  function lt(L) {
2890
- F.value = L, l.value = F.value.tabId, h.value = "";
2897
+ S.value = L, a.value = S.value.tabId, h.value = "";
2891
2898
  }
2892
2899
  function at() {
2893
- return d.map((L) => r("div", {
2900
+ return p.map((L) => i("div", {
2894
2901
  class: ["title-label", {
2895
- active: F.value && F.value.tabId === L.tabId
2902
+ active: S.value && S.value.tabId === L.tabId
2896
2903
  }, {
2897
2904
  hidden: L.hide
2898
2905
  }],
2899
2906
  onClick: () => lt(L)
2900
- }, [r("span", null, [L.tabName])]));
2907
+ }, [i("span", null, [L.tabName])]));
2901
2908
  }
2902
2909
  return Q(() => {
2903
2910
  _(h.value);
2904
2911
  }), ct(() => {
2905
- p.value && (v.value = g.value), te(), _(h.value);
2906
- }), W(F, () => {
2912
+ d.value && (v.value = m.value), te(), _(h.value);
2913
+ }), W(S, () => {
2907
2914
  }), t.expose({
2908
2915
  updatePropertyConfig: ze,
2909
2916
  updateDesignerItem: Xe
2910
- }), () => r(J, null, [r("div", {
2917
+ }), () => i(K, null, [i("div", {
2911
2918
  ref: P,
2912
2919
  class: ["property-panel", {
2913
2920
  "white-theme": c.value
2914
2921
  }],
2915
2922
  style: nt()
2916
- }, [r("div", {
2923
+ }, [i("div", {
2917
2924
  class: "propertyPanel panel flex-column",
2918
2925
  hidden: s.value !== "panel"
2919
- }, [r("div", {
2926
+ }, [i("div", {
2920
2927
  class: ["title d-flex", {
2921
- "p-right": m.value
2928
+ "p-right": g.value
2922
2929
  }, {
2923
- only: d.length === 1
2930
+ only: p.length === 1
2924
2931
  }]
2925
- }, [at(), Qe()]), Je(), et()]), ot(), tt()])]);
2932
+ }, [at(), Qe()]), Ke(), et()]), ot(), tt()])]);
2926
2933
  }
2927
2934
  }), Hl = {
2928
2935
  className: {
@@ -3107,7 +3114,7 @@ const Nl = /* @__PURE__ */ U({
3107
3114
  title: "显示格式",
3108
3115
  type: "string"
3109
3116
  }
3110
- }, Kl = {
3117
+ }, Jl = {
3111
3118
  className: {
3112
3119
  description: "样式",
3113
3120
  title: "样式",
@@ -3128,7 +3135,7 @@ const Nl = /* @__PURE__ */ U({
3128
3135
  title: "是否显示标签",
3129
3136
  type: "boolean"
3130
3137
  }
3131
- }, Se = {
3138
+ }, xe = {
3132
3139
  text: Hl,
3133
3140
  "single-number": {
3134
3141
  className: {
@@ -3337,7 +3344,7 @@ const Nl = /* @__PURE__ */ U({
3337
3344
  type: "string"
3338
3345
  }
3339
3346
  },
3340
- radio: Kl,
3347
+ radio: Jl,
3341
3348
  "input-group": {
3342
3349
  className: {
3343
3350
  description: "样式",
@@ -3351,34 +3358,34 @@ const Nl = /* @__PURE__ */ U({
3351
3358
  }
3352
3359
  }
3353
3360
  };
3354
- function Jl(e, t, n, o) {
3355
- const a = f(), s = f("query-solution-config"), p = f({}), g = f(), u = f(null);
3356
- W(n, (d) => {
3357
- if (d && d.controlType) {
3361
+ function Kl(e, t, n, o) {
3362
+ const l = f(), s = f("query-solution-config"), d = f({}), m = f(), u = f(null);
3363
+ W(n, (p) => {
3364
+ if (p && p.controlType) {
3358
3365
  const y = {
3359
- ...ce
3366
+ ...pe
3360
3367
  }, {
3361
3368
  controlType: h
3362
- } = d;
3363
- y.categories.control.properties = Se[h], u.value = o.value[d.id], a.value.updatePropertyConfig(y, u.value);
3369
+ } = p;
3370
+ y.categories.control.properties = xe[h], u.value = o.value[p.id], l.value.updatePropertyConfig(y, u.value);
3364
3371
  }
3365
3372
  });
3366
- function i(d) {
3373
+ function r(p) {
3367
3374
  return {
3368
- id: d.id,
3369
- code: d.code || d.id,
3370
- labelCode: d.name,
3371
- name: d.name,
3372
- controlType: d.controlType
3375
+ id: p.id,
3376
+ code: p.code || p.id,
3377
+ labelCode: p.name,
3378
+ name: p.name,
3379
+ controlType: p.controlType
3373
3380
  };
3374
3381
  }
3375
- function m(d) {
3382
+ function g(p) {
3376
3383
  const y = {
3377
3384
  className: "",
3378
3385
  require: !1
3379
3386
  };
3380
3387
  let h = {};
3381
- switch (d) {
3388
+ switch (p) {
3382
3389
  case "text":
3383
3390
  break;
3384
3391
  case "number":
@@ -3450,14 +3457,14 @@ function Jl(e, t, n, o) {
3450
3457
  ...h
3451
3458
  };
3452
3459
  }
3453
- function l(d) {
3460
+ function a(p) {
3454
3461
  const y = {
3455
3462
  className: "",
3456
3463
  require: !1,
3457
3464
  isExtend: !1
3458
3465
  };
3459
3466
  let h = {};
3460
- switch (d) {
3467
+ switch (p) {
3461
3468
  case "text":
3462
3469
  break;
3463
3470
  case "number":
@@ -3529,38 +3536,38 @@ function Jl(e, t, n, o) {
3529
3536
  ...h
3530
3537
  };
3531
3538
  }
3532
- function v(d) {
3533
- return e.source === "query-solution" ? m(d) : l(d);
3539
+ function v(p) {
3540
+ return e.source === "query-solution" ? g(p) : a(p);
3534
3541
  }
3535
3542
  W(() => {
3536
- var d;
3537
- return (d = u.value) == null ? void 0 : d.controlType;
3538
- }, (d) => {
3539
- const y = i(n.value);
3540
- y.controlType = d, u.value = {
3543
+ var p;
3544
+ return (p = u.value) == null ? void 0 : p.controlType;
3545
+ }, (p) => {
3546
+ const y = r(n.value);
3547
+ y.controlType = p, u.value = {
3541
3548
  ...y,
3542
- ...v(d)
3549
+ ...v(p)
3543
3550
  }, o.value[n.value.id] = u.value;
3544
3551
  const h = {
3545
- ...ce
3552
+ ...pe
3546
3553
  };
3547
- h.categories.control.properties = Se[d], a.value.updatePropertyConfig(h, u.value);
3554
+ h.categories.control.properties = xe[p], l.value.updatePropertyConfig(h, u.value);
3548
3555
  });
3549
3556
  function c() {
3550
- return r(J, null, [r(Wl, {
3551
- propertyConfig: g.value,
3552
- ref: a,
3557
+ return i(K, null, [i(Wl, {
3558
+ propertyConfig: m.value,
3559
+ ref: l,
3553
3560
  propertyName: s.value,
3554
- schema: p.value
3561
+ schema: d.value
3555
3562
  }, {
3556
3563
  default: () => [Y(" ")]
3557
3564
  })]);
3558
3565
  }
3559
3566
  return {
3560
3567
  renderPanel: c,
3561
- PropertyPanelInstance: a,
3568
+ PropertyPanelInstance: l,
3562
3569
  getExtendSchemaProerty: v,
3563
- getBasicSchemaProerty: i
3570
+ getBasicSchemaProerty: r
3564
3571
  };
3565
3572
  }
3566
3573
  const Zl = /* @__PURE__ */ new Map([
@@ -3834,194 +3841,197 @@ const va = "https://json-schema.org/draft/2020-12/schema", ya = "https://farris-
3834
3841
  Z(Ge, Ta, fa, ma, Ba);
3835
3842
  function Pa(e, t) {
3836
3843
  function n(s) {
3837
- const p = [];
3838
- let g = s.nextNode();
3839
- for (; g; )
3840
- p.push(g), g = s.nextNode();
3841
- return p;
3842
- }
3843
- function o(s, p) {
3844
- const g = document.createTreeWalker(s, NodeFilter.SHOW_TEXT);
3845
- return n(g).map((l) => ({ textNode: l, text: (l.textContent || "").toLocaleLowerCase() })).map(({ textNode: l, text: v }) => {
3844
+ const d = [];
3845
+ let m = s.nextNode();
3846
+ for (; m; )
3847
+ d.push(m), m = s.nextNode();
3848
+ return d;
3849
+ }
3850
+ function o(s, d) {
3851
+ const m = document.createTreeWalker(s, NodeFilter.SHOW_TEXT);
3852
+ return n(m).map((a) => ({ textNode: a, text: (a.textContent || "").toLocaleLowerCase() })).map(({ textNode: a, text: v }) => {
3846
3853
  const c = [];
3847
- let d = 0;
3848
- for (; d < v.length; ) {
3849
- const y = v.indexOf(p, d);
3854
+ let p = 0;
3855
+ for (; p < v.length; ) {
3856
+ const y = v.indexOf(d, p);
3850
3857
  if (y === -1)
3851
3858
  break;
3852
- c.push(y), d = y + p.length;
3859
+ c.push(y), p = y + d.length;
3853
3860
  }
3854
3861
  return c.map((y) => {
3855
3862
  const h = new Range();
3856
- return h.setStart(l, y), h.setEnd(l, y + p.length), h;
3863
+ return h.setStart(a, y), h.setEnd(a, y + d.length), h;
3857
3864
  });
3858
3865
  }).flat();
3859
3866
  }
3860
- function a(s) {
3867
+ function l(s) {
3861
3868
  if (!CSS.highlights || (CSS.highlights.clear(), !s || !t))
3862
3869
  return;
3863
- const p = o(t.value, s.toLocaleLowerCase()), g = new Highlight(...p);
3864
- CSS.highlights.set("search-result", g);
3870
+ const d = o(t.value, s.toLocaleLowerCase()), m = new Highlight(...d);
3871
+ CSS.highlights.set("search-result", m);
3865
3872
  }
3866
- return { search: a };
3873
+ return { search: l };
3867
3874
  }
3868
- function xe(e, t, n, o, a, s, p, g, u, i) {
3869
- const m = f(e.size), l = f(e.textField), v = f(e.titleField), c = f(e.multiSelect), d = f(e.disableField), {
3875
+ function ke(e, t, n, o, l, s, d, m, u, r) {
3876
+ const g = f(e.size), a = f(e.textField), v = f(e.titleField), c = f(e.disableField), p = k(() => {
3877
+ var x, b;
3878
+ return ((x = e.selection) == null ? void 0 : x.multiSelect) && ((b = e.selection) == null ? void 0 : b.showCheckbox);
3879
+ }), {
3870
3880
  onMouseenterItem: y,
3871
3881
  onMouseoverItem: h,
3872
3882
  onMouseoutItem: P
3873
3883
  } = s, {
3874
3884
  getKey: I,
3875
- listViewItemClass: w,
3876
- onCheckItem: C,
3885
+ listViewItemClass: C,
3886
+ onCheckItem: w,
3877
3887
  onClickItem: T
3878
- } = p, S = k(() => ({
3879
- margin: m.value === "small" ? "0.25rem 0" : "10px 0"
3888
+ } = d, F = k(() => ({
3889
+ margin: g.value === "small" ? "0.25rem 0" : "10px 0"
3880
3890
  }));
3881
- function F(x, b, D) {
3882
- return x.checked = g.findIndexInSelectedItems(x) > -1, r("li", {
3883
- class: w(x, b),
3891
+ function S(x, b, A) {
3892
+ return x.checked = m.findIndexInSelectedItems(x) > -1, i("li", {
3893
+ class: C(x, b),
3884
3894
  id: I(x, b),
3885
3895
  key: I(x, b),
3886
3896
  onClick: ($) => T($, x, b),
3887
3897
  onMouseenter: ($) => y($, x, b),
3888
3898
  onMouseover: ($) => h($, x, b),
3889
3899
  onMouseout: ($) => P($, x, b)
3890
- }, [c.value && r("div", {
3900
+ }, [p.value && i("div", {
3891
3901
  class: "f-list-select",
3892
3902
  onClick: ($) => $.stopPropagation()
3893
- }, [r(fe, {
3903
+ }, [i(ve, {
3894
3904
  id: "list-" + I(x, b),
3895
3905
  customClass: "listview-checkbox",
3896
- disabled: x[d.value],
3906
+ disabled: x[c.value],
3897
3907
  checked: x.checked,
3898
3908
  "onUpdate:checked": ($) => x.checked = $,
3899
3909
  onChange: ($) => {
3900
- C(x, b, !$.checked);
3910
+ w(x, b, !$.checked);
3901
3911
  }
3902
- }, null)]), r("div", {
3912
+ }, null)]), i("div", {
3903
3913
  class: "f-list-content"
3904
- }, [r("div", {
3905
- style: S.value,
3906
- title: x.raw[v.value] || x.raw[l.value]
3907
- }, [x.raw[l.value]])])]);
3914
+ }, [i("div", {
3915
+ style: F.value,
3916
+ title: x.raw[v.value] || x.raw[a.value]
3917
+ }, [x.raw[a.value]])])]);
3908
3918
  }
3909
3919
  return {
3910
- renderItem: F
3920
+ renderItem: S
3911
3921
  };
3912
3922
  }
3913
- function Ia(e, t, n, o, a, s, p, g, u, i) {
3914
- const m = f(e.multiSelect), l = f(e.disableField), {
3923
+ function Ia(e, t, n, o, l, s, d, m, u, r) {
3924
+ const g = f(e.multiSelect), a = f(e.disableField), {
3915
3925
  onMouseenterItem: v,
3916
3926
  onMouseoverItem: c,
3917
- onMouseoutItem: d
3927
+ onMouseoutItem: p
3918
3928
  } = s, {
3919
3929
  getKey: y,
3920
3930
  listViewItemClass: h,
3921
3931
  onCheckItem: P,
3922
3932
  onClickItem: I
3923
- } = p;
3924
- function w(T, S, F) {
3925
- return t.slots.content ? r(J, null, [t.slots.content && t.slots.content({
3933
+ } = d;
3934
+ function C(T, F, S) {
3935
+ return t.slots.content ? i(K, null, [t.slots.content && t.slots.content({
3926
3936
  item: T.raw,
3927
- index: S,
3928
- selectedItem: F
3929
- })]) : r("div", {
3937
+ index: F,
3938
+ selectedItem: S
3939
+ })]) : i("div", {
3930
3940
  style: "margin: 10px 0;"
3931
3941
  }, [T.raw.name]);
3932
3942
  }
3933
- function C(T, S, F) {
3934
- return r("li", {
3935
- class: h(T, S),
3936
- id: y(T, S),
3937
- key: y(T, S),
3938
- onClick: (x) => I(x, T, S),
3939
- onMouseenter: (x) => v(x, T, S),
3940
- onMouseover: (x) => c(x, T, S),
3941
- onMouseout: (x) => d(x, T, S)
3942
- }, [m.value && r("div", {
3943
+ function w(T, F, S) {
3944
+ return i("li", {
3945
+ class: h(T, F),
3946
+ id: y(T, F),
3947
+ key: y(T, F),
3948
+ onClick: (x) => I(x, T, F),
3949
+ onMouseenter: (x) => v(x, T, F),
3950
+ onMouseover: (x) => c(x, T, F),
3951
+ onMouseout: (x) => p(x, T, F)
3952
+ }, [g.value && i("div", {
3943
3953
  class: "f-list-select",
3944
3954
  onClick: (x) => x.stopPropagation()
3945
- }, [r(fe, {
3946
- id: "list-" + y(T, S),
3955
+ }, [i(ve, {
3956
+ id: "list-" + y(T, F),
3947
3957
  customClass: "listview-checkbox",
3948
- disabled: T[l.value] || !T.checked,
3958
+ disabled: T[a.value] || !T.checked,
3949
3959
  checked: T.checked,
3950
3960
  "onUpdate:checked": (x) => T.checked = x,
3951
- onChange: (x) => P(T, S, !x.checked)
3952
- }, null)]), r("div", {
3961
+ onChange: (x) => P(T, F, !x.checked)
3962
+ }, null)]), i("div", {
3953
3963
  class: "f-list-content"
3954
- }, [w(T, S, F)])]);
3964
+ }, [C(T, F, S)])]);
3955
3965
  }
3956
3966
  return {
3957
- renderItem: C
3967
+ renderItem: w
3958
3968
  };
3959
3969
  }
3960
- function Va(e, t, n, o, a, s, p, g, u, i) {
3961
- const m = f(e.multiSelect), l = f(e.disableField), {
3970
+ function Va(e, t, n, o, l, s, d, m, u, r) {
3971
+ const g = f(e.multiSelect), a = f(e.disableField), {
3962
3972
  onMouseenterItem: v,
3963
3973
  onMouseoverItem: c,
3964
- onMouseoutItem: d
3974
+ onMouseoutItem: p
3965
3975
  } = s, {
3966
3976
  getKey: y,
3967
3977
  listViewItemClass: h,
3968
3978
  onCheckItem: P,
3969
3979
  onClickItem: I
3970
- } = p, {
3971
- dragstart: w,
3972
- dragenter: C,
3980
+ } = d, {
3981
+ dragstart: C,
3982
+ dragenter: w,
3973
3983
  dragover: T,
3974
- dragend: S
3984
+ dragend: F
3975
3985
  } = o, {
3976
- removeItem: F
3986
+ removeItem: S
3977
3987
  } = u, x = k(() => ({
3978
- margin: m.value ? "10px 0" : "10px 0px 10px 14px"
3988
+ margin: g.value ? "10px 0" : "10px 0px 10px 14px"
3979
3989
  }));
3980
3990
  function b(B) {
3981
- return r("div", {
3991
+ return i("div", {
3982
3992
  style: x.value
3983
3993
  }, [B.raw.name]);
3984
3994
  }
3985
- function D() {
3995
+ function A() {
3986
3996
  return t.slots.itemContent ? t.slots.itemContent : b;
3987
3997
  }
3988
- const $ = D();
3998
+ const $ = A();
3989
3999
  function N(B, q, _) {
3990
- return r("li", {
4000
+ return i("li", {
3991
4001
  class: h(B, q),
3992
4002
  id: y(B, q),
3993
4003
  key: y(B, q),
3994
4004
  onClick: (G) => I(G, B, q),
3995
4005
  onMouseenter: (G) => v(G, B, q),
3996
4006
  onMouseover: (G) => c(G, B, q),
3997
- onMouseout: (G) => d(G, B, q),
4007
+ onMouseout: (G) => p(G, B, q),
3998
4008
  draggable: "true",
3999
- onDragstart: (G) => w(G, B, q),
4000
- onDragenter: (G) => C(G, q),
4001
- onDragend: (G) => S(G, B),
4009
+ onDragstart: (G) => C(G, B, q),
4010
+ onDragenter: (G) => w(G, q),
4011
+ onDragend: (G) => F(G, B),
4002
4012
  onDragover: (G) => T(G, q)
4003
- }, [m.value && r("div", {
4013
+ }, [g.value && i("div", {
4004
4014
  class: "f-list-select",
4005
4015
  onClick: (G) => G.stopPropagation()
4006
- }, [r(fe, {
4016
+ }, [i(ve, {
4007
4017
  id: "list-" + y(B, q),
4008
4018
  customClass: "listview-checkbox",
4009
- disabled: B[l.value] || !B.checked,
4019
+ disabled: B[a.value] || !B.checked,
4010
4020
  checked: B.checked,
4011
4021
  "onUpdate:checked": (G) => B.checked = G,
4012
4022
  onChange: (G) => P(B, q, !G.checked)
4013
- }, null)]), r("div", {
4023
+ }, null)]), i("div", {
4014
4024
  class: "f-list-content"
4015
- }, [$(B)]), r("div", {
4025
+ }, [$(B)]), i("div", {
4016
4026
  class: "f-list-remove",
4017
- onClick: (G) => F(q)
4018
- }, [r("div", {
4027
+ onClick: (G) => S(q)
4028
+ }, [i("div", {
4019
4029
  class: "f-list-remove-icon"
4020
- }, [r("i", {
4030
+ }, [i("i", {
4021
4031
  class: "f-icon f-icon-remove_face"
4022
- }, null)])]), r("div", {
4032
+ }, null)])]), i("div", {
4023
4033
  class: "f-list-handle"
4024
- }, [r("div", null, [r("i", {
4034
+ }, [i("div", null, [i("i", {
4025
4035
  class: "f-icon f-icon-drag-vertical"
4026
4036
  }, null)])])]);
4027
4037
  }
@@ -4029,44 +4039,44 @@ function Va(e, t, n, o, a, s, p, g, u, i) {
4029
4039
  renderItem: N
4030
4040
  };
4031
4041
  }
4032
- function $a(e, t, n, o, a, s, p, g, u, i) {
4042
+ function $a(e, t, n, o, l, s, d, m, u, r) {
4033
4043
  var y;
4034
- const m = f(((y = e.group) == null ? void 0 : y.groupFields) || []), {
4035
- collpaseGroupIconClass: l
4036
- } = a, {
4044
+ const g = f(((y = e.group) == null ? void 0 : y.groupFields) || []), {
4045
+ collpaseGroupIconClass: a
4046
+ } = l, {
4037
4047
  toggleGroupRow: v
4038
- } = i;
4048
+ } = r;
4039
4049
  function c(h, P) {
4040
4050
  P.collapse = !P.collapse, n.value = v(P.collapse ? "collapse" : "expand", P, n.value);
4041
4051
  }
4042
- function d(h, P, I) {
4043
- return h.layer > -1 && r("div", {
4052
+ function p(h, P, I) {
4053
+ return h.layer > -1 && i("div", {
4044
4054
  class: "f-navlookup-recentHeader",
4045
- onClick: (w) => c(w, h)
4046
- }, [r("div", {
4055
+ onClick: (C) => c(C, h)
4056
+ }, [i("div", {
4047
4057
  class: "fv-grid-group-row-icon"
4048
- }, [r("span", {
4049
- class: l(h)
4050
- }, null)]), r("div", {
4058
+ }, [i("span", {
4059
+ class: a(h)
4060
+ }, null)]), i("div", {
4051
4061
  class: "f-navlookup-recommandLabel"
4052
- }, [h.raw[m.value[h.layer]]])]);
4062
+ }, [h.raw[g.value[h.layer]]])]);
4053
4063
  }
4054
4064
  return {
4055
- renderItem: d
4065
+ renderItem: p
4056
4066
  };
4057
4067
  }
4058
- function Ma() {
4068
+ function Ea() {
4059
4069
  const e = f(-1), t = f(""), n = f(-1), o = f(!1);
4060
- function a(i, m, l) {
4061
- n.value = l;
4070
+ function l(r, g, a) {
4071
+ n.value = a;
4062
4072
  }
4063
- function s(i, m, l) {
4064
- o.value || (n.value = l);
4073
+ function s(r, g, a) {
4074
+ o.value || (n.value = a);
4065
4075
  }
4066
- function p(i, m, l) {
4076
+ function d(r, g, a) {
4067
4077
  n.value = -1;
4068
4078
  }
4069
- function g() {
4079
+ function m() {
4070
4080
  o.value = !0;
4071
4081
  }
4072
4082
  function u() {
@@ -4076,127 +4086,133 @@ function Ma() {
4076
4086
  activeIndex: e,
4077
4087
  focusedItemId: t,
4078
4088
  hoverIndex: n,
4079
- onMouseenterItem: a,
4089
+ onMouseenterItem: l,
4080
4090
  onMouseoverItem: s,
4081
- onMouseoutItem: p,
4091
+ onMouseoutItem: d,
4082
4092
  resumeHover: u,
4083
- suspendHover: g
4093
+ suspendHover: m
4084
4094
  };
4085
4095
  }
4086
- function Ea(e, t, n, o) {
4087
- const a = f(e.idField), { dataView: s } = n, p = f(-1), g = f(!1), { activeIndex: u, focusedItemId: i, hoverIndex: m, resumeHover: l, suspendHover: v } = o;
4088
- function c(P, I, w) {
4096
+ function Ma(e, t, n, o) {
4097
+ const l = f(e.idField), { dataView: s } = n, d = f(-1), m = f(!1), { activeIndex: u, focusedItemId: r, hoverIndex: g, resumeHover: a, suspendHover: v } = o;
4098
+ function c(P, I, C) {
4089
4099
  P.stopPropagation(), v(), I && setTimeout(() => {
4090
- p.value = w, g.value = !0, I.moving = !0;
4100
+ d.value = C, m.value = !0, I.moving = !0;
4091
4101
  });
4092
4102
  }
4093
- function d(P, I) {
4094
- if (P.preventDefault(), p.value !== I) {
4095
- const w = s.value[p.value], C = s.value;
4096
- C.splice(p.value, 1), C.splice(I, 0, w), p.value = I;
4103
+ function p(P, I) {
4104
+ if (P.preventDefault(), d.value !== I) {
4105
+ const C = s.value[d.value], w = s.value;
4106
+ w.splice(d.value, 1), w.splice(I, 0, C), d.value = I;
4097
4107
  }
4098
4108
  }
4099
4109
  function y(P, I) {
4100
4110
  P.preventDefault(), P.dataTransfer && (P.dataTransfer.dropEffect = "move");
4101
4111
  }
4102
4112
  function h(P, I) {
4103
- I && (I.moving = !1), s.value.forEach((w, C) => {
4104
- w.__fv_index__ = C;
4105
- }), g.value = !1, l(), m.value = I.raw.__fv_index__, u.value = I.raw.__fv_index__, i.value = I.raw[a.value], t.emit("change", s.value), t.emit("activeChange", I);
4113
+ I && (I.moving = !1), s.value.forEach((C, w) => {
4114
+ C.__fv_index__ = w;
4115
+ }), m.value = !1, a(), g.value = I.raw.__fv_index__, u.value = I.raw.__fv_index__, r.value = I.raw[l.value], t.emit("change", s.value), t.emit("activeChange", I);
4106
4116
  }
4107
4117
  return {
4108
4118
  dragstart: c,
4109
- dragenter: d,
4119
+ dragenter: p,
4110
4120
  dragover: y,
4111
4121
  dragend: h,
4112
- isDragging: g
4122
+ isDragging: m
4113
4123
  };
4114
4124
  }
4115
4125
  function Oa(e, t, n) {
4116
4126
  const { dataView: o } = n;
4117
- function a(s) {
4127
+ function l(s) {
4118
4128
  if (s > -1 && s < o.value.length) {
4119
- const p = o.value.splice(s, 1);
4120
- t.emit("removeItem", p[0]);
4129
+ const d = o.value.splice(s, 1);
4130
+ t.emit("removeItem", d[0]);
4121
4131
  }
4122
4132
  }
4123
- return { removeItem: a };
4133
+ return { removeItem: l };
4124
4134
  }
4125
- function ja(e, t, n, o, a, s) {
4126
- const p = f(e.idField), g = f(e.disableField), u = f(e.draggable), i = f(e.itemClass), m = f(e.selection.multiSelect ?? !1), l = f(e.selection.multiSelectMode);
4127
- f(!0);
4128
- const { isDragging: v } = o, { activeIndex: c, focusedItemId: d, hoverIndex: y } = a, { clearSelection: h, getSelectedItems: P, toggleSelectItem: I } = s, w = f(P());
4129
- function C($, N) {
4135
+ function ja(e, t, n, o, l, s) {
4136
+ const d = f(e.idField), m = f(e.disableField), u = f(e.draggable), r = f(e.itemClass), g = f(e.selection.multiSelect ?? !1), a = f(e.selection.multiSelectMode), { isDragging: v } = o, { activeIndex: c, focusedItemId: p, hoverIndex: y } = l, { clearSelection: h, getSelectedItems: P, toggleSelectItem: I } = s, C = f(P());
4137
+ function w($, N) {
4130
4138
  const B = {
4139
+ "f-listview-item": !0,
4131
4140
  "f-list-view-group-item": !0,
4132
4141
  "f-list-view-draggable-item": u.value,
4133
4142
  "f-un-click": !$.checked,
4134
- "f-un-select": !!$.raw[g.value],
4135
- "f-listview-active": $.raw.__fv_index__ === c.value,
4143
+ "f-un-select": !!$.raw[m.value],
4144
+ // 'f-listview-active': item.raw.__fv_index__ === activeIndex.value,
4145
+ // 多选
4146
+ "f-listview-active": C.value.findIndex(
4147
+ (_) => _[d.value] === $.raw[d.value]
4148
+ ) > -1,
4149
+ "f-listview-item-active": C.value.findIndex(
4150
+ (_) => _[d.value] === $.raw[d.value]
4151
+ ) > -1,
4136
4152
  "f-listview-hover": !v.value && N === y.value,
4137
4153
  moving: !!$.moving
4138
4154
  };
4139
- return i.value.split(" ").reduce((_, G) => (_[G] = !0, _), B), B;
4155
+ return r.value.split(" ").reduce((_, G) => (_[G] = !0, _), B), B;
4140
4156
  }
4141
4157
  function T($, N) {
4142
- return $.raw[p.value] || "";
4158
+ return $.raw[d.value] || "";
4143
4159
  }
4144
- const S = k(() => !m.value);
4145
- function F($, N, B) {
4146
- $.checked = B, !$.raw[g.value] && (S.value && (d.value = $.raw[p.value]), I($));
4160
+ const F = k(() => !g.value);
4161
+ function S($, N, B) {
4162
+ $.checked = B, !$.raw[m.value] && (F.value && (p.value = $.raw[d.value]), I($));
4147
4163
  }
4148
- const x = k(() => m.value && l.value === "OnCheckClearByClick"), b = k(() => !m.value || m.value && (l.value === "OnCheckAndClick" || l.value === "OnClick"));
4149
- function D($, N, B) {
4150
- if (N.raw[g.value]) {
4164
+ const x = k(() => g.value && a.value === "OnCheckClearByClick"), b = k(() => !g.value || g.value && (a.value === "OnCheckAndClick" || a.value === "OnClick"));
4165
+ function A($, N, B) {
4166
+ if (N.raw[m.value]) {
4151
4167
  $.preventDefault(), $.stopPropagation();
4152
4168
  return;
4153
4169
  }
4154
- d.value = N.raw[p.value], c.value = B, x.value && h(n.value), b.value && (I(N), w.value = P()), t.emit("clickItem", { data: w.value, index: B }), t.emit("activeChange", w.value);
4170
+ p.value = N.raw[d.value], c.value = B, x.value && h(n.value), b.value && (I(N), C.value = P()), t.emit("clickItem", { data: C.value, index: B }), t.emit("activeChange", C.value);
4155
4171
  }
4156
4172
  return {
4157
4173
  getKey: T,
4158
- listViewItemClass: C,
4159
- onCheckItem: F,
4160
- onClickItem: D
4174
+ listViewItemClass: w,
4175
+ onCheckItem: S,
4176
+ onClickItem: A
4161
4177
  };
4162
4178
  }
4163
- function Da(e, t, n, o, a, s, p) {
4164
- const g = f(e.view), u = f(e.view === "CardView"), i = f({}), m = f("暂无数据"), l = Ma(), v = Ea(e, t, o, l), c = Oa(e, t, o), d = ja(e, t, n, v, l, s), y = k(() => ({
4179
+ function Aa(e, t, n, o, l, s, d) {
4180
+ const m = f(e.view), u = f(e.view === "CardView"), r = f({}), g = f("暂无数据"), a = Ea(), v = Ma(e, t, o, a), c = Oa(e, t, o), p = ja(e, t, n, v, a, s), y = k(() => ({
4165
4181
  "f-list-view-group": !0,
4166
4182
  "d-flex": u.value,
4167
4183
  "flex-wrap": u.value
4168
4184
  })), h = k(() => !!n.value && n.value.length > 0), P = k(() => n.value.length === 0), I = k(() => P.value && !t.slots.empty);
4169
- function w() {
4170
- return g.value === "SingleView" ? xe : g.value === "DraggableView" ? Va : (g.value === "ContentView" || g.value === "CardView") && t.slots.content ? Ia : xe;
4185
+ function C() {
4186
+ return m.value === "SingleView" ? ke : m.value === "DraggableView" ? Va : (m.value === "ContentView" || m.value === "CardView") && t.slots.content ? Ia : ke;
4171
4187
  }
4172
- const C = w(), {
4188
+ const w = C(), {
4173
4189
  renderItem: T
4174
- } = C(e, t, n, v, a, l, d, s, c, p), {
4175
- renderItem: S
4176
- } = $a(e, t, n, v, a, l, d, s, c, p), F = [T, S];
4190
+ } = w(e, t, n, v, l, a, p, s, c, d), {
4191
+ renderItem: F
4192
+ } = $a(e, t, n, v, l, a, p, s, c, d), S = [T, F];
4177
4193
  function x() {
4178
- return n.value.filter(($) => $.visible !== !1).map(($, N) => F[$.type]($, N, i));
4194
+ return n.value.filter(($) => $.visible !== !1).map(($, N) => S[$.type]($, N, r));
4179
4195
  }
4180
4196
  function b() {
4181
- return r("div", {
4197
+ return i("div", {
4182
4198
  class: "f-list-view-emptydata"
4183
- }, [r("p", {
4199
+ }, [i("p", {
4184
4200
  class: "f-empty-title"
4185
- }, [m.value])]);
4201
+ }, [g.value])]);
4186
4202
  }
4187
- function D() {
4188
- return r("ul", {
4203
+ function A() {
4204
+ return i("ul", {
4189
4205
  class: y.value,
4190
4206
  style: "list-style: none;"
4191
4207
  }, [h.value && x(), I.value && b(), t.slots.empty && t.slots.empty()]);
4192
4208
  }
4193
4209
  return {
4194
- renderListArea: D
4210
+ renderListArea: A
4195
4211
  };
4196
4212
  }
4197
- function Ra(e, t, n) {
4213
+ function Da(e, t, n) {
4198
4214
  function o() {
4199
- return t.slots.header && r("div", {
4215
+ return t.slots.header && i("div", {
4200
4216
  class: "f-list-view-header"
4201
4217
  }, [t.slots.header()]);
4202
4218
  }
@@ -4204,68 +4220,68 @@ function Ra(e, t, n) {
4204
4220
  renderHeader: o
4205
4221
  };
4206
4222
  }
4207
- function ke(e, t, n) {
4208
- const o = f(e.headerClass), a = f(e.placeholder), s = f(""), p = k(() => !s.value), g = k(() => !!s.value);
4223
+ function Be(e, t, n) {
4224
+ const o = f(e.headerClass), l = f(e.placeholder), s = f(""), d = k(() => !s.value), m = k(() => !!s.value);
4209
4225
  function u(v) {
4210
4226
  s.value = "";
4211
4227
  }
4212
4228
  W(s, (v) => {
4213
4229
  e.enableHighlightSearch && n.search(v), t.emit("afterSearch", v);
4214
4230
  });
4215
- const i = k(() => {
4231
+ const r = k(() => {
4216
4232
  const v = {
4217
4233
  "form-group": !0,
4218
4234
  "farris-form-group": !0
4219
4235
  };
4220
- return o.value && o.value.split(" ").reduce((d, y) => (d[y] = !0, d), v), v;
4236
+ return o.value && o.value.split(" ").reduce((p, y) => (p[y] = !0, p), v), v;
4221
4237
  });
4222
- function m(v) {
4238
+ function g(v) {
4223
4239
  }
4224
- function l() {
4225
- return r("div", {
4240
+ function a() {
4241
+ return i("div", {
4226
4242
  class: "f-list-view-header",
4227
- onClick: dt(() => m, ["prevent", "stop"])
4228
- }, [r("div", {
4229
- class: i.value
4230
- }, [r("div", {
4243
+ onClick: dt(() => g, ["prevent", "stop"])
4244
+ }, [i("div", {
4245
+ class: r.value
4246
+ }, [i("div", {
4231
4247
  class: "farris-input-wrap"
4232
- }, [r("div", {
4248
+ }, [i("div", {
4233
4249
  class: "f-cmp-inputgroup"
4234
- }, [r("div", {
4250
+ }, [i("div", {
4235
4251
  class: "input-group f-state-editable"
4236
- }, [pe(r("input", {
4252
+ }, [me(i("input", {
4237
4253
  class: "form-control f-utils-fill text-left",
4238
4254
  "onUpdate:modelValue": (v) => s.value = v,
4239
4255
  name: "input-group-value",
4240
4256
  type: "text",
4241
- placeholder: a.value,
4257
+ placeholder: l.value,
4242
4258
  autocomplete: "off"
4243
- }, null), [[pt, s.value]]), r("div", {
4259
+ }, null), [[pt, s.value]]), i("div", {
4244
4260
  class: "input-group-append"
4245
- }, [g.value && r("span", {
4261
+ }, [m.value && i("span", {
4246
4262
  class: "input-group-text input-group-clear",
4247
4263
  onClick: (v) => u()
4248
- }, [r("i", {
4264
+ }, [i("i", {
4249
4265
  class: "f-icon f-icon-close-circle"
4250
- }, null)]), p.value && r("span", {
4266
+ }, null)]), d.value && i("span", {
4251
4267
  class: "input-group-text"
4252
- }, [r("span", {
4268
+ }, [i("span", {
4253
4269
  class: "f-icon f-icon-search"
4254
4270
  }, null)])])])])])])]);
4255
4271
  }
4256
4272
  return {
4257
- renderHeader: l
4273
+ renderHeader: a
4258
4274
  };
4259
4275
  }
4260
- const Be = /* @__PURE__ */ U({
4276
+ const Pe = /* @__PURE__ */ U({
4261
4277
  name: "FListView",
4262
4278
  props: Ge,
4263
4279
  emits: ["afterSearch", "checkValuesChange", "clickItem", "selectionChange", "removeItem", "change", "activeChange"],
4264
4280
  setup(e, t) {
4265
- const n = f(), o = f(!0), a = f(!1), s = f([]), p = 0, g = f(e.columns), u = kn(e), i = Bn(e), m = Pn(e, u), l = In(e), v = Vn(e, /* @__PURE__ */ new Map(), i, u, l), c = $n(e, v, u, s, t), d = Pa(e, n), y = k(() => v.dataView.value.length), h = Mn(e, u), P = En(), I = On(e, {}, P), w = jn(e, h, i, u, P, I), C = Dn(e, u, I, w), T = Rn(e, u, I, w), S = An(e, g, v, y, p, w, C, T), {
4266
- getVisualData: F
4267
- } = S;
4268
- s.value = F(0, y.value + p - 1);
4281
+ const n = f(), o = f(!0), l = f(!1), s = f([]), d = 0, m = f(e.columns), u = kn(e), r = Bn(e), g = Pn(e, u), a = In(e), v = Vn(e, /* @__PURE__ */ new Map(), r, u, a), c = $n(e, v, u, s, t), p = Pa(e, n), y = k(() => v.dataView.value.length), h = En(e, t, u), P = Mn(), I = On(e, {}, P), C = jn(e, h, r, u, P, I), w = An(e, u, I, C), T = Dn(e, u, I, C), F = Rn(e, m, v, y, d, C, w, T), {
4282
+ getVisualData: S
4283
+ } = F;
4284
+ s.value = S(0, y.value + d - 1);
4269
4285
  const x = k(() => {
4270
4286
  const z = {
4271
4287
  "f-list-view": !0,
@@ -4273,19 +4289,19 @@ const Be = /* @__PURE__ */ U({
4273
4289
  };
4274
4290
  return e.size !== "default" && (z[`${e.size}-item`] = !0), z;
4275
4291
  }), b = k(() => !!t.slots.footer || o.value);
4276
- function D() {
4277
- return e.header === "SearchBar" ? ke : e.header === "ContentHeader" ? Ra : ke;
4292
+ function A() {
4293
+ return e.header === "SearchBar" ? Be : e.header === "ContentHeader" ? Da : Be;
4278
4294
  }
4279
- const $ = D(), {
4295
+ const $ = A(), {
4280
4296
  renderHeader: N
4281
- } = $(e, t, d), {
4297
+ } = $(e, t, p), {
4282
4298
  renderListArea: B
4283
- } = Da(e, t, s, v, m, c, S);
4299
+ } = Aa(e, t, s, v, g, c, F);
4284
4300
  function q(z) {
4285
- d.search(z);
4301
+ p.search(z);
4286
4302
  }
4287
4303
  function _(z) {
4288
- z && (v.load(z), s.value = F(0, y.value + p - 1));
4304
+ z && (v.load(z), s.value = S(0, y.value + d - 1));
4289
4305
  }
4290
4306
  t.expose({
4291
4307
  search: q,
@@ -4294,46 +4310,46 @@ const Be = /* @__PURE__ */ U({
4294
4310
  function G(z) {
4295
4311
  e.multiSelect && (z.preventDefault(), z.stopPropagation());
4296
4312
  }
4297
- return () => r("div", {
4313
+ return () => i("div", {
4298
4314
  class: x.value,
4299
4315
  onClick: G
4300
- }, [N(), r("div", {
4316
+ }, [N(), i("div", {
4301
4317
  ref: n,
4302
4318
  class: "f-list-view-content",
4303
4319
  onMouseover: () => {
4304
- a.value = !0;
4320
+ l.value = !0;
4305
4321
  },
4306
4322
  onMouseleave: () => {
4307
- a.value = !1;
4323
+ l.value = !1;
4308
4324
  }
4309
- }, [B()]), b.value && r("div", {
4325
+ }, [B()]), b.value && i("div", {
4310
4326
  class: "f-list-view-footer"
4311
4327
  }, [t.slots.footer && t.slots.footer()])]);
4312
4328
  }
4313
- }), Aa = /* @__PURE__ */ U({
4329
+ }), Ra = /* @__PURE__ */ U({
4314
4330
  name: "FTransfer",
4315
4331
  props: qe,
4316
4332
  emits: ["change", "activeChange"],
4317
4333
  setup(e, t) {
4318
- const n = f(e.identifyField), o = f("已选:"), a = f("项数据"), s = f(e.displayType), p = f(!1), g = f(e.dataSource), u = f(e.selections || []), i = k(() => u.value.map((b) => b[n.value])), m = /* @__PURE__ */ new Map(), l = f();
4334
+ const n = f(e.identifyField), o = f("已选:"), l = f("项数据"), s = f(e.displayType), d = f(!1), m = f(e.dataSource), u = f(e.selections || []), r = k(() => u.value.map((b) => b[n.value])), g = /* @__PURE__ */ new Map(), a = f();
4319
4335
  function v() {
4320
- const b = /* @__PURE__ */ new Map(), D = e.selectionValues || [];
4321
- D.length && D.reduce((N, B) => (N.set(B, !0), N), b);
4336
+ const b = /* @__PURE__ */ new Map(), A = e.selectionValues || [];
4337
+ A.length && A.reduce((N, B) => (N.set(B, !0), N), b);
4322
4338
  const $ = e.selections || [];
4323
- $.length && (b.clear(), $.reduce((N, B) => (N.set(B[n.value], !0), N), b)), u.value.length || (u.value = g.value.filter((N) => b.has(N[n.value])).map((N) => Object.assign({}, N))), g.value.forEach((N) => {
4339
+ $.length && (b.clear(), $.reduce((N, B) => (N.set(B[n.value], !0), N), b)), u.value.length || (u.value = m.value.filter((N) => b.has(N[n.value])).map((N) => Object.assign({}, N))), m.value.forEach((N) => {
4324
4340
  const B = N[n.value], q = b.has(B);
4325
- N.checked = q, q && m.set(B, N);
4341
+ N.checked = q, q && g.set(B, N);
4326
4342
  });
4327
4343
  }
4328
4344
  v();
4329
- const c = k(() => s.value === "List"), d = k(() => s.value === "Tree");
4345
+ const c = k(() => s.value === "List"), p = k(() => s.value === "Tree");
4330
4346
  function y(b) {
4331
- u.value = b.map((D) => Object.assign({}, D)), t.emit("change", u.value);
4347
+ u.value = b.map((A) => Object.assign({}, A)), t.emit("change", u.value);
4332
4348
  }
4333
4349
  function h() {
4334
- return r(Be, {
4350
+ return i(Pe, {
4335
4351
  class: "f-utils-fill",
4336
- data: g.value,
4352
+ data: m.value,
4337
4353
  multiSelect: !0,
4338
4354
  selection: {
4339
4355
  enableSelectRow: !0,
@@ -4346,81 +4362,81 @@ const Be = /* @__PURE__ */ U({
4346
4362
  draggable: !1,
4347
4363
  header: "Search",
4348
4364
  headerClass: "transfer-search-box",
4349
- "selection-values": i.value,
4365
+ "selection-values": r.value,
4350
4366
  onSelectionChange: y
4351
4367
  }, {
4352
4368
  default: () => [Y(" ")]
4353
4369
  });
4354
4370
  }
4355
4371
  function P() {
4356
- return r(J, null, null);
4372
+ return i(K, null, null);
4357
4373
  }
4358
4374
  function I() {
4359
- return r("div", {
4375
+ return i("div", {
4360
4376
  class: "f-utils-fill option-pane d-flex flex-column"
4361
- }, [r("div", {
4377
+ }, [i("div", {
4362
4378
  class: "f-utils-flex-column option-pane-content f-utils-fill"
4363
- }, [r("div", {
4379
+ }, [i("div", {
4364
4380
  class: "container columns-box d-flex f-utils-fill"
4365
- }, [c.value && h(), d.value && P()])])]);
4381
+ }, [c.value && h(), p.value && P()])])]);
4366
4382
  }
4367
- function w(b) {
4368
- const D = b[n.value];
4369
- if (D !== null || D !== void 0) {
4370
- u.value = u.value.filter((N) => N[n.value] !== D);
4371
- const $ = m.get(D);
4372
- $ && ($.checked = !1, m.delete(D)), t.emit("change", u.value);
4383
+ function C(b) {
4384
+ const A = b[n.value];
4385
+ if (A !== null || A !== void 0) {
4386
+ u.value = u.value.filter((N) => N[n.value] !== A);
4387
+ const $ = g.get(A);
4388
+ $ && ($.checked = !1, g.delete(A)), t.emit("change", u.value);
4373
4389
  }
4374
4390
  }
4375
4391
  W(u, (b) => {
4376
- l.value.updateDataSource(b);
4392
+ a.value.updateDataSource(b);
4377
4393
  });
4378
- function C(b) {
4379
- const D = /* @__PURE__ */ new Map();
4380
- u.value.reduce(($, N) => ($.set(N[n.value], N), $), D), u.value = b.map(($) => D.get($[n.value])), t.emit("change", u.value);
4394
+ function w(b) {
4395
+ const A = /* @__PURE__ */ new Map();
4396
+ u.value.reduce(($, N) => ($.set(N[n.value], N), $), A), u.value = b.map(($) => A.get($[n.value])), t.emit("change", u.value);
4381
4397
  }
4382
4398
  function T(b) {
4383
4399
  t.emit("activeChange", b);
4384
4400
  }
4385
- function S() {
4386
- return r(Be, {
4387
- ref: l,
4401
+ function F() {
4402
+ return i(Pe, {
4403
+ ref: a,
4388
4404
  style: "flex:1",
4389
4405
  data: u.value,
4390
4406
  draggable: !0,
4391
4407
  view: "DraggableView",
4392
4408
  "keep-order": !0,
4393
- onChange: C,
4394
- onRemoveItem: w,
4409
+ onChange: w,
4410
+ onRemoveItem: C,
4395
4411
  onActiveChange: T
4396
4412
  }, null);
4397
4413
  }
4398
- function F() {
4399
- return r("div", {
4414
+ function S() {
4415
+ return i("div", {
4400
4416
  class: "f-utils-fill selection-pane d-flex flex-column"
4401
- }, [r("div", {
4417
+ }, [i("div", {
4402
4418
  class: "f-utils-flex-column selection-pane-content f-utils-fill"
4403
- }, [r("div", {
4419
+ }, [i("div", {
4404
4420
  class: "selection-pane-title"
4405
- }, [r("span", {
4421
+ }, [i("span", {
4406
4422
  class: "selection-title"
4407
- }, [o.value]), r("span", {
4423
+ }, [o.value]), i("span", {
4408
4424
  class: "selection-count"
4409
- }, [u.value && u.value.length]), r("span", {
4425
+ }, [u.value && u.value.length]), i("span", {
4410
4426
  class: "selection-item-title"
4411
- }, [a.value])]), r("div", {
4427
+ }, [l.value])]), i("div", {
4412
4428
  class: "container columns-box f-utils-fill d-flex"
4413
- }, [S()])])]);
4429
+ }, [F()])])]);
4414
4430
  }
4415
4431
  const x = k(() => ({
4416
4432
  transfer: !0,
4417
4433
  row: !0,
4418
- "f-utils-fill": p.value
4434
+ "f-utils-fill": d.value
4419
4435
  }));
4420
- return () => r("div", {
4436
+ return () => i("div", {
4421
4437
  class: x.value,
4422
4438
  style: "height:480px"
4423
- }, [I(), F()]);
4439
+ }, [I(), S()]);
4424
4440
  }
4425
4441
  }), La = [
4426
4442
  { id: "text", name: "文本", controlType: "text" },
@@ -4438,69 +4454,69 @@ const Be = /* @__PURE__ */ U({
4438
4454
  { id: "radio", name: "单选", controlType: "radio" },
4439
4455
  { id: "input-group", name: "富文本", controlType: "input-group" }
4440
4456
  ];
4441
- function Na(e, t, n, o, a) {
4442
- const s = f(!1), p = f(), g = f([]), u = f([]), i = f([]), {
4443
- getExtendSchemaProerty: m,
4444
- getBasicSchemaProerty: l
4445
- } = a;
4446
- function v(w) {
4447
- n.value = w.length ? w[0] : null;
4448
- }
4449
- function c(w) {
4450
- u.value = w;
4451
- }
4452
- function d() {
4457
+ function Na(e, t, n, o, l) {
4458
+ const s = f(!1), d = f(), m = f([]), u = f([]), r = f([]), {
4459
+ getExtendSchemaProerty: g,
4460
+ getBasicSchemaProerty: a
4461
+ } = l;
4462
+ function v(C) {
4463
+ n.value = C.length ? C[0] : null;
4464
+ }
4465
+ function c(C) {
4466
+ u.value = C;
4467
+ }
4468
+ function p() {
4453
4469
  return La;
4454
4470
  }
4455
4471
  function y() {
4456
- i.value = d();
4457
- const w = {}, C = X(e.modelValue) || [];
4458
- u.value = [], i.value.forEach((T) => {
4459
- const S = C.find((F) => F.id === T.id);
4460
- S ? (w[T.id] = {
4461
- id: S.id,
4462
- code: S.code,
4463
- labelCode: S.labelCode,
4464
- name: S.name,
4465
- controlType: S.editor.type,
4466
- ...S.editor
4467
- }, delete w[T.id].type, u.value.push(w[T.id])) : w[T.id] = {
4468
- ...l(T),
4469
- ...m(T.controlType)
4472
+ r.value = p();
4473
+ const C = {}, w = X(e.modelValue) || [];
4474
+ u.value = [], r.value.forEach((T) => {
4475
+ const F = w.find((S) => S.id === T.id);
4476
+ F ? (C[T.id] = {
4477
+ id: F.id,
4478
+ code: F.code,
4479
+ labelCode: F.labelCode,
4480
+ name: F.name,
4481
+ controlType: F.editor.type,
4482
+ ...F.editor
4483
+ }, delete C[T.id].type, u.value.push(C[T.id])) : C[T.id] = {
4484
+ ...a(T),
4485
+ ...g(T.controlType)
4470
4486
  };
4471
- }), o.value = w, s.value = !0, p.value = X(w), g.value = X(u.value);
4487
+ }), o.value = C, s.value = !0, d.value = X(C), m.value = X(u.value);
4472
4488
  }
4473
4489
  function h() {
4474
- const w = [];
4475
- u.value.forEach((C) => {
4476
- const T = o.value[C.id];
4490
+ const C = [];
4491
+ u.value.forEach((w) => {
4492
+ const T = o.value[w.id];
4477
4493
  if (T) {
4478
4494
  const {
4479
- id: S,
4480
- code: F,
4495
+ id: F,
4496
+ code: S,
4481
4497
  labelCode: x,
4482
4498
  name: b,
4483
- ...D
4499
+ ...A
4484
4500
  } = T;
4485
- D.type = D.controlType, delete D.controlType;
4501
+ A.type = A.controlType, delete A.controlType;
4486
4502
  const $ = {
4487
- id: S,
4488
- code: F,
4503
+ id: F,
4504
+ code: S,
4489
4505
  labelCode: x,
4490
4506
  name: b,
4491
- editor: D
4507
+ editor: A
4492
4508
  };
4493
- w.push($);
4509
+ C.push($);
4494
4510
  }
4495
- }), t.emit("update:modelValue", w), g.value = X(u.value);
4511
+ }), t.emit("update:modelValue", C), m.value = X(u.value);
4496
4512
  }
4497
4513
  function P() {
4498
- u.value = X(g.value);
4514
+ u.value = X(m.value);
4499
4515
  }
4500
4516
  function I() {
4501
- return s.value ? r(Aa, {
4517
+ return s.value ? i(Ra, {
4502
4518
  selections: u.value,
4503
- "data-source": i.value,
4519
+ "data-source": r.value,
4504
4520
  class: "query-solution-config-transfer",
4505
4521
  onActiveChange: v,
4506
4522
  onChange: c
@@ -4707,7 +4723,7 @@ const Wa = "https://json-schema.org/draft/2020-12/schema", Ha = "https://farris-
4707
4723
  }, Qa = [
4708
4724
  "id",
4709
4725
  "type"
4710
- ], Ka = {
4726
+ ], Ja = {
4711
4727
  $schema: Wa,
4712
4728
  $id: Ha,
4713
4729
  title: _a,
@@ -4715,7 +4731,7 @@ const Wa = "https://json-schema.org/draft/2020-12/schema", Ha = "https://farris-
4715
4731
  type: za,
4716
4732
  properties: Xa,
4717
4733
  required: Qa
4718
- }, Ja = "buttonEdit", Za = "A Farris Component", Ya = "object", er = {
4734
+ }, Ka = "buttonEdit", Za = "A Farris Component", Ya = "object", er = {
4719
4735
  basic: {
4720
4736
  description: "Basic Infomation",
4721
4737
  title: "基本信息",
@@ -4798,7 +4814,7 @@ const Wa = "https://json-schema.org/draft/2020-12/schema", Ha = "https://farris-
4798
4814
  }
4799
4815
  }
4800
4816
  }, tr = {
4801
- title: Ja,
4817
+ title: Ka,
4802
4818
  description: Za,
4803
4819
  type: Ya,
4804
4820
  categories: er
@@ -4909,7 +4925,7 @@ const Wa = "https://json-schema.org/draft/2020-12/schema", Ha = "https://farris-
4909
4925
  */
4910
4926
  beforeOpen: { type: Function, default: null }
4911
4927
  };
4912
- Z(We, Ka, qa, Ga, tr);
4928
+ Z(We, Ja, qa, Ga, tr);
4913
4929
  const nr = {
4914
4930
  popupContentPosition: { type: Object, default: { left: 0, top: 0 } },
4915
4931
  host: { type: Object },
@@ -4919,45 +4935,45 @@ const nr = {
4919
4935
  props: nr,
4920
4936
  emits: ["click"],
4921
4937
  setup(e, t) {
4922
- const n = f(e.popupContentPosition), o = f(e.host), a = k(() => ({
4938
+ const n = f(e.popupContentPosition), o = f(e.host), l = k(() => ({
4923
4939
  backgroundColor: e.backgroundColor || "",
4924
4940
  pointerEvents: "auto"
4925
4941
  }));
4926
- function s(g) {
4927
- t.emit("click"), g.preventDefault(), g.stopPropagation();
4942
+ function s(m) {
4943
+ t.emit("click"), m.preventDefault(), m.stopPropagation();
4928
4944
  }
4929
4945
  k(() => {
4930
- const g = o.value;
4931
- if (g) {
4932
- const u = g.getBoundingClientRect(), {
4933
- left: i,
4934
- top: m,
4935
- height: l
4946
+ const m = o.value;
4947
+ if (m) {
4948
+ const u = m.getBoundingClientRect(), {
4949
+ left: r,
4950
+ top: g,
4951
+ height: a
4936
4952
  } = u;
4937
4953
  return {
4938
- left: i,
4939
- top: m + l
4954
+ left: r,
4955
+ top: g + a
4940
4956
  };
4941
4957
  }
4942
4958
  return n.value;
4943
4959
  });
4944
- const p = k(() => ({
4960
+ const d = k(() => ({
4945
4961
  // position: 'relative',
4946
4962
  // left: `${position.value.left}px`,
4947
4963
  // top: `${position.value.top}px`
4948
4964
  }));
4949
- return () => r(ft, {
4965
+ return () => i(ft, {
4950
4966
  to: "body"
4951
4967
  }, {
4952
4968
  default: () => {
4953
- var g, u;
4954
- return [r("div", {
4969
+ var m, u;
4970
+ return [i("div", {
4955
4971
  class: "overlay-container",
4956
- onClick: (i) => s(i),
4957
- style: a.value
4958
- }, [r("div", {
4959
- style: p.value
4960
- }, [(u = (g = t.slots).default) == null ? void 0 : u.call(g)])])];
4972
+ onClick: (r) => s(r),
4973
+ style: l.value
4974
+ }, [i("div", {
4975
+ style: d.value
4976
+ }, [(u = (m = t.slots).default) == null ? void 0 : u.call(m)])])];
4961
4977
  }
4962
4978
  });
4963
4979
  }
@@ -4973,7 +4989,7 @@ function ar(e) {
4973
4989
  t.style.display = "contents";
4974
4990
  let n;
4975
4991
  const o = e.onClickCallback || (() => {
4976
- }), a = () => {
4992
+ }), l = () => {
4977
4993
  o(), n && n.unmount();
4978
4994
  };
4979
4995
  return n = mt({
@@ -4982,10 +4998,10 @@ function ar(e) {
4982
4998
  document.body.removeChild(t);
4983
4999
  });
4984
5000
  const s = lr(e);
4985
- return () => r(or, {
5001
+ return () => i(or, {
4986
5002
  "popup-content-position": e.popupPosition,
4987
5003
  host: e.host,
4988
- onClick: a,
5004
+ onClick: l,
4989
5005
  backgroundColor: e.backgroundColor
4990
5006
  }, {
4991
5007
  default: () => [s && s()]
@@ -5002,105 +5018,105 @@ const ir = Symbol("FModalService");
5002
5018
  function He(e, t) {
5003
5019
  function n() {
5004
5020
  const o = e.beforeOpen || e.beforeClickButton || null;
5005
- let a = Promise.resolve(!0);
5021
+ let l = Promise.resolve(!0);
5006
5022
  if (o) {
5007
5023
  const s = o(t.value);
5008
5024
  if (typeof s > "u")
5009
- return a;
5010
- typeof s == "boolean" ? a = Promise.resolve(s) : a = s;
5025
+ return l;
5026
+ typeof s == "boolean" ? l = Promise.resolve(s) : l = s;
5011
5027
  }
5012
- return a;
5028
+ return l;
5013
5029
  }
5014
5030
  return { judgeCanOpen: n };
5015
5031
  }
5016
- function sr(e, t, n, o, a) {
5017
- const s = f(e.buttonBehavior), p = f(e.popupOnInput), g = k(() => ({
5032
+ function sr(e, t, n, o, l) {
5033
+ const s = f(e.buttonBehavior), d = f(e.popupOnInput), m = k(() => ({
5018
5034
  "input-group-append": !0,
5019
5035
  "append-force-show": e.showButtonWhenDisabled && (e.readonly || e.disable)
5020
- })), { judgeCanOpen: u } = He(e, a), i = k(() => e.showButtonWhenDisabled || (!e.editable || !e.readonly) && !e.disable), m = de(ir, null), l = f();
5036
+ })), { judgeCanOpen: u } = He(e, l), r = k(() => e.showButtonWhenDisabled || (!e.editable || !e.readonly) && !e.disable), g = fe(ir, null), a = f();
5021
5037
  async function v(y) {
5022
- if (await u() && i.value) {
5038
+ if (await u() && r.value) {
5023
5039
  const h = !!t.slots.default;
5024
5040
  if (s.value === "Modal") {
5025
- const P = e.modalOptions, I = m == null ? void 0 : m.open({
5041
+ const P = e.modalOptions, I = g == null ? void 0 : g.open({
5026
5042
  ...P,
5027
5043
  render: () => t.slots.default && t.slots.default()
5028
5044
  });
5029
- l.value = I == null ? void 0 : I.modalRef;
5045
+ a.value = I == null ? void 0 : I.modalRef;
5030
5046
  }
5031
5047
  s.value === "Overlay" && rr.show({
5032
5048
  // host: buttonEditRef.value,
5033
5049
  host: document.body,
5034
5050
  backgroundColor: "rgba(0,0,0,.15)",
5035
5051
  render: () => t.slots.default && t.slots.default()
5036
- }), h && s.value === "Popup" && o.togglePopup(!0), h && p.value && o.hidePopup(), t.emit("clickButton", { origin: y, value: e.modelValue });
5052
+ }), h && s.value === "Popup" && o.togglePopup(!0), h && d.value && o.hidePopup(), t.emit("clickButton", { origin: y, value: e.modelValue });
5037
5053
  }
5038
5054
  }
5039
5055
  function c(y) {
5040
5056
  t.emit("mouseEnterIcon", y);
5041
5057
  }
5042
- function d(y) {
5058
+ function p(y) {
5043
5059
  t.emit("mouseLeaveIcon", y);
5044
5060
  }
5045
5061
  return {
5046
- buttonGroupClass: g,
5062
+ buttonGroupClass: m,
5047
5063
  onClickButton: v,
5048
5064
  onMouseEnterButton: c,
5049
- onMouseLeaveButton: d,
5050
- modalRef: l
5065
+ onMouseLeaveButton: p,
5066
+ modalRef: a
5051
5067
  };
5052
5068
  }
5053
- function ur(e, t, n, o, a, s) {
5054
- const p = f(!1), g = k(() => e.enableClear && !e.readonly && !e.disable), { changeTextBoxValue: u } = s;
5055
- function i(c) {
5056
- p.value = c;
5069
+ function ur(e, t, n, o, l, s) {
5070
+ const d = f(!1), m = k(() => e.enableClear && !e.readonly && !e.disable), { changeTextBoxValue: u } = s;
5071
+ function r(c) {
5072
+ d.value = c;
5057
5073
  }
5058
- W(a, () => {
5059
- i(!!a.value);
5074
+ W(l, () => {
5075
+ r(!!l.value);
5060
5076
  });
5061
- function m(c) {
5062
- const d = !e.readonly && !e.disable && e.editable, y = !e.editable;
5063
- c.stopPropagation(), (d || y) && (u("", !1), i(!p.value), t.emit("clear"));
5077
+ function g(c) {
5078
+ const p = !e.readonly && !e.disable && e.editable, y = !e.editable;
5079
+ c.stopPropagation(), (p || y) && (u("", !1), r(!d.value), t.emit("clear"));
5064
5080
  }
5065
- function l(c) {
5066
- if (g.value) {
5081
+ function a(c) {
5082
+ if (m.value) {
5067
5083
  if (!n.value) {
5068
- i(!1);
5084
+ r(!1);
5069
5085
  return;
5070
5086
  }
5071
- !e.disable && !e.readonly && i(!0);
5087
+ !e.disable && !e.readonly && r(!0);
5072
5088
  }
5073
5089
  }
5074
5090
  function v(c) {
5075
- g.value && i(!1);
5091
+ m.value && r(!1);
5076
5092
  }
5077
5093
  return {
5078
- enableClearButton: g,
5079
- showClearButton: p,
5080
- onClearValue: m,
5081
- onMouseEnterTextBox: l,
5094
+ enableClearButton: m,
5095
+ showClearButton: d,
5096
+ onClearValue: g,
5097
+ onMouseEnterTextBox: a,
5082
5098
  onMouseLeaveTextBox: v
5083
5099
  };
5084
5100
  }
5085
- function cr(e, t, n, o, a) {
5086
- const s = k(() => e.popupOnInput), p = k(() => e.popupOnFocus), { shouldPopupContent: g } = a, u = k(() => e.enableTitle ? n.value : ""), i = k(() => (e.disable || e.readonly) && !e.forcePlaceholder ? "" : e.placeholder), m = k(() => e.readonly || !e.editable), l = f(!1), v = k(() => !e.disable && l.value), c = k(() => ({
5101
+ function cr(e, t, n, o, l) {
5102
+ const s = k(() => e.popupOnInput), d = k(() => e.popupOnFocus), { shouldPopupContent: m } = l, u = k(() => e.enableTitle ? n.value : ""), r = k(() => (e.disable || e.readonly) && !e.forcePlaceholder ? "" : e.placeholder), g = k(() => e.readonly || !e.editable), a = f(!1), v = k(() => !e.disable && a.value), c = k(() => ({
5087
5103
  "text-left": e.textAlign === "left",
5088
5104
  "text-center": e.textAlign === "center",
5089
5105
  "text-right": e.textAlign === "right",
5090
5106
  "form-control": !0,
5091
5107
  "f-utils-fill": !0
5092
- })), d = k(() => ({
5108
+ })), p = k(() => ({
5093
5109
  "input-group": !0,
5094
5110
  "f-state-disable": e.disable,
5095
5111
  "f-state-editable": e.editable && !e.disable && !e.readonly,
5096
5112
  "f-state-readonly": e.readonly && !e.disable,
5097
5113
  "f-state-focus": v.value
5098
5114
  }));
5099
- function y(b, D = !0) {
5100
- n.value !== b && (n.value = b, D && t.emit("change", b), t.emit("update:modelValue", b));
5115
+ function y(b, A = !0) {
5116
+ n.value !== b && (n.value = b, A && t.emit("change", b), t.emit("update:modelValue", b));
5101
5117
  }
5102
5118
  function h(b) {
5103
- g.value = !1, y(b, !0);
5119
+ m.value = !1, y(b, !0);
5104
5120
  }
5105
5121
  W(
5106
5122
  () => e.modelValue,
@@ -5109,95 +5125,95 @@ function cr(e, t, n, o, a) {
5109
5125
  }
5110
5126
  );
5111
5127
  function P(b) {
5112
- l.value = !1, t.emit("blur", b), b.stopPropagation();
5128
+ a.value = !1, t.emit("blur", b), b.stopPropagation();
5113
5129
  }
5114
5130
  function I(b) {
5115
5131
  t.emit("click", b);
5116
5132
  }
5117
- function w(b) {
5118
- e.disable || (l.value = !0, m.value || (t.emit("focus", b), p.value && !g.value && a.popup()));
5119
- }
5120
5133
  function C(b) {
5134
+ e.disable || (a.value = !0, g.value || (t.emit("focus", b), d.value && !m.value && l.popup()));
5135
+ }
5136
+ function w(b) {
5121
5137
  t.emit("input", b.target.value);
5122
- const D = b.target.value;
5123
- o.value = D, n.value !== D && y(D, !0), s.value && !g.value && a.popup();
5138
+ const A = b.target.value;
5139
+ o.value = A, n.value !== A && y(A, !0), s.value && !m.value && l.popup();
5124
5140
  }
5125
5141
  function T(b) {
5126
5142
  b.target.tagName !== "INPUT" && b.preventDefault(), b.stopPropagation();
5127
5143
  }
5128
- function S(b) {
5144
+ function F(b) {
5129
5145
  t.emit("keydown", b);
5130
5146
  }
5131
- function F(b) {
5132
- b.key === "Enter" && (s.value || p.value) && a.hidePopup(), t.emit("keyup", b);
5147
+ function S(b) {
5148
+ b.key === "Enter" && (s.value || d.value) && l.hidePopup(), t.emit("keyup", b);
5133
5149
  }
5134
5150
  function x(b) {
5135
- const D = b.target.value;
5136
- b.stopPropagation(), y(D);
5151
+ const A = b.target.value;
5152
+ b.stopPropagation(), y(A);
5137
5153
  }
5138
5154
  return {
5139
5155
  hasFocusedTextBox: v,
5140
- isTextBoxReadonly: m,
5156
+ isTextBoxReadonly: g,
5141
5157
  textBoxClass: c,
5142
- textBoxPlaceholder: i,
5158
+ textBoxPlaceholder: r,
5143
5159
  textBoxTitle: u,
5144
- inputGroupClass: d,
5160
+ inputGroupClass: p,
5145
5161
  changeTextBoxValue: y,
5146
5162
  commitValue: h,
5147
5163
  onBlurTextBox: P,
5148
5164
  onClickTextBox: I,
5149
- onFocusTextBox: w,
5150
- onInput: C,
5151
- onKeyDownTextBox: S,
5152
- onKeyUpTextBox: F,
5165
+ onFocusTextBox: C,
5166
+ onInput: w,
5167
+ onKeyDownTextBox: F,
5168
+ onKeyUpTextBox: S,
5153
5169
  onMouseDownTextBox: T,
5154
5170
  onTextBoxValueChange: x
5155
5171
  };
5156
5172
  }
5157
5173
  function dr(e, t, n, o) {
5158
- const a = f(), s = f(!1), { judgeCanOpen: p } = He(e, o);
5159
- function g() {
5160
- const l = a.value;
5161
- l && l.show(n.value);
5174
+ const l = f(), s = f(!1), { judgeCanOpen: d } = He(e, o);
5175
+ function m() {
5176
+ const a = l.value;
5177
+ a && a.show(n.value);
5162
5178
  }
5163
- async function u(l = !1) {
5179
+ async function u(a = !1) {
5164
5180
  if (!!t.slots.default) {
5165
- if (!l && !s.value && !await p())
5181
+ if (!a && !s.value && !await d())
5166
5182
  return;
5167
- s.value = !s.value, await oe(), g();
5183
+ s.value = !s.value, await oe(), m();
5168
5184
  }
5169
5185
  }
5170
- async function i(l = !1) {
5186
+ async function r(a = !1) {
5171
5187
  if (!!t.slots.default) {
5172
- if (!l && !await p())
5188
+ if (!a && !await d())
5173
5189
  return;
5174
- s.value = !0, await oe(), g();
5190
+ s.value = !0, await oe(), m();
5175
5191
  }
5176
5192
  }
5177
- function m() {
5193
+ function g() {
5178
5194
  s.value = !1;
5179
5195
  }
5180
- return { hidePopup: m, popup: i, shouldPopupContent: s, togglePopup: u, popoverRef: a };
5196
+ return { hidePopup: g, popup: r, shouldPopupContent: s, togglePopup: u, popoverRef: l };
5181
5197
  }
5182
5198
  function pr(e, t, n) {
5183
5199
  const o = f(), {
5184
- isTextBoxReadonly: a,
5200
+ isTextBoxReadonly: l,
5185
5201
  textBoxClass: s,
5186
- textBoxPlaceholder: p,
5187
- textBoxTitle: g,
5202
+ textBoxPlaceholder: d,
5203
+ textBoxTitle: m,
5188
5204
  onBlurTextBox: u,
5189
- onClickTextBox: i,
5190
- onFocusTextBox: m,
5191
- onInput: l,
5205
+ onClickTextBox: r,
5206
+ onFocusTextBox: g,
5207
+ onInput: a,
5192
5208
  onKeyDownTextBox: v,
5193
5209
  onKeyUpTextBox: c,
5194
- onMouseDownTextBox: d,
5210
+ onMouseDownTextBox: p,
5195
5211
  onTextBoxValueChange: y
5196
5212
  } = n;
5197
5213
  return Q(() => {
5198
5214
  var h, P;
5199
5215
  e.selectOnCreated && ((h = o.value) == null || h.select()), e.focusOnCreated && ((P = o.value) == null || P.focus());
5200
- }), () => r("input", {
5216
+ }), () => i("input", {
5201
5217
  ref: o,
5202
5218
  name: "input-group-value",
5203
5219
  autocomplete: e.autoComplete ? "on" : "off",
@@ -5205,83 +5221,83 @@ function pr(e, t, n) {
5205
5221
  disabled: e.disable,
5206
5222
  maxlength: e.maxLength,
5207
5223
  minlength: e.minLength,
5208
- placeholder: p.value,
5209
- readonly: a.value,
5224
+ placeholder: d.value,
5225
+ readonly: l.value,
5210
5226
  tabindex: e.tabIndex,
5211
- title: g.value,
5227
+ title: m.value,
5212
5228
  type: e.inputType,
5213
5229
  value: t.value,
5214
5230
  onBlur: u,
5215
5231
  onChange: y,
5216
- onClick: i,
5217
- onFocus: m,
5218
- onInput: l,
5232
+ onClick: r,
5233
+ onFocus: g,
5234
+ onInput: a,
5219
5235
  onKeydown: v,
5220
5236
  onKeyup: c,
5221
- onMousedown: d
5237
+ onMousedown: p
5222
5238
  }, null);
5223
5239
  }
5224
5240
  function fr(e, t, n) {
5225
5241
  const o = f(e.separator), {
5226
- changeTextBoxValue: a
5227
- } = n, s = k(() => t.value ? t.value.split(o.value).map((g) => ({
5228
- name: g,
5242
+ changeTextBoxValue: l
5243
+ } = n, s = k(() => t.value ? t.value.split(o.value).map((m) => ({
5244
+ name: m,
5229
5245
  selectable: !0
5230
5246
  })) : []);
5231
- function p(g) {
5232
- a(g.map((u) => u.name).join(o.value), !0);
5247
+ function d(m) {
5248
+ l(m.map((u) => u.name).join(o.value), !0);
5233
5249
  }
5234
- return () => r(Ie, {
5250
+ return () => i(Ve, {
5235
5251
  id: `${e.id}-tag-editor`,
5236
5252
  class: "form-control",
5237
5253
  data: s.value,
5238
5254
  showClose: !0,
5239
5255
  showInput: !0,
5240
- onChange: p
5256
+ onChange: d
5241
5257
  }, null);
5242
5258
  }
5243
5259
  function mr(e, t, n, o) {
5244
5260
  const {
5245
- buttonGroupClass: a,
5261
+ buttonGroupClass: l,
5246
5262
  onClickButton: s,
5247
- onMouseEnterButton: p,
5248
- onMouseLeaveButton: g
5263
+ onMouseEnterButton: d,
5264
+ onMouseLeaveButton: m
5249
5265
  } = n, {
5250
5266
  enableClearButton: u,
5251
- showClearButton: i,
5252
- onClearValue: m
5253
- } = o, l = f();
5267
+ showClearButton: r,
5268
+ onClearValue: g
5269
+ } = o, a = f();
5254
5270
  return {
5255
- renderButtonGroup: () => r("div", {
5271
+ renderButtonGroup: () => i("div", {
5256
5272
  id: `${e.id}-button-group`,
5257
- class: a.value
5258
- }, [u.value && pe(r("span", {
5273
+ class: l.value
5274
+ }, [u.value && me(i("span", {
5259
5275
  class: "input-group-text input-group-clear",
5260
- onClick: m
5261
- }, [r("i", {
5276
+ onClick: g
5277
+ }, [i("i", {
5262
5278
  class: "f-icon modal_close"
5263
- }, null)]), [[yt, i.value]]), t.slots.buttonContent ? r("span", {
5279
+ }, null)]), [[yt, r.value]]), t.slots.buttonContent ? i("span", {
5264
5280
  class: "input-group-text input-group-append-button",
5265
5281
  onClick: s,
5266
- onMouseenter: p,
5267
- onMouseleave: g
5268
- }, [t.slots.buttonContent()]) : e.buttonContent ? r("span", {
5282
+ onMouseenter: d,
5283
+ onMouseleave: m
5284
+ }, [t.slots.buttonContent()]) : e.buttonContent ? i("span", {
5269
5285
  class: "input-group-text input-group-append-button",
5270
5286
  innerHTML: e.buttonContent,
5271
- ref: l,
5287
+ ref: a,
5272
5288
  onClick: s,
5273
- onMouseenter: p,
5274
- onMouseleave: g
5289
+ onMouseenter: d,
5290
+ onMouseleave: m
5275
5291
  }, null) : null]),
5276
- buttonHandleElement: l
5292
+ buttonHandleElement: a
5277
5293
  };
5278
5294
  }
5279
5295
  function vr(e, t, n) {
5280
5296
  const o = f(e.popupMinWidth), {
5281
- hidePopup: a,
5297
+ hidePopup: l,
5282
5298
  popoverRef: s
5283
5299
  } = n;
5284
- return () => r(Nn, {
5300
+ return () => i(Nn, {
5285
5301
  id: `${e.id}-popover`,
5286
5302
  ref: s,
5287
5303
  visible: !0,
@@ -5292,11 +5308,11 @@ function vr(e, t, n) {
5292
5308
  "right-boundary": e.popupRightBoundary,
5293
5309
  minWidth: o.value,
5294
5310
  offsetX: e.popupOffsetX,
5295
- onHidden: a
5311
+ onHidden: l
5296
5312
  }, {
5297
5313
  default: () => {
5298
- var p, g;
5299
- return [(g = (p = t.slots).default) == null ? void 0 : g.call(p)];
5314
+ var d, m;
5315
+ return [(m = (d = t.slots).default) == null ? void 0 : m.call(d)];
5300
5316
  }
5301
5317
  });
5302
5318
  }
@@ -5305,15 +5321,15 @@ const yr = /* @__PURE__ */ U({
5305
5321
  props: We,
5306
5322
  emits: ["updateExtendInfo", "clear", "change", "click", "clickButton", "blur", "focus", "mouseEnterIcon", "mouseLeaveIcon", "keyup", "keydown", "inputClick", "input", "update:modelValue"],
5307
5323
  setup(e, t) {
5308
- const n = f(), o = f(e.customClass), a = f(e.modelValue), s = dr(e, t, n, a), {
5309
- shouldPopupContent: p,
5310
- hidePopup: g,
5324
+ const n = f(), o = f(e.customClass), l = f(e.modelValue), s = dr(e, t, n, l), {
5325
+ shouldPopupContent: d,
5326
+ hidePopup: m,
5311
5327
  togglePopup: u
5312
- } = s, i = sr(e, t, n, s, a), m = f(""), l = cr(e, t, a, m, s), {
5328
+ } = s, r = sr(e, t, n, s, l), g = f(""), a = cr(e, t, l, g, s), {
5313
5329
  hasFocusedTextBox: v,
5314
5330
  commitValue: c,
5315
- inputGroupClass: d
5316
- } = l, y = ur(e, t, a, v, m, l), {
5331
+ inputGroupClass: p
5332
+ } = a, y = ur(e, t, l, v, g, a), {
5317
5333
  onMouseEnterTextBox: h,
5318
5334
  onMouseLeaveTextBox: P
5319
5335
  } = y, I = k(() => {
@@ -5322,87 +5338,87 @@ const yr = /* @__PURE__ */ U({
5322
5338
  "f-cmp-inputgroup": !0,
5323
5339
  "f-button-edit-nowrap": !e.wrapText
5324
5340
  };
5325
- return o.value && o.value.split(" ").reduce((D, $) => (D[$] = !0, D), b), b;
5341
+ return o.value && o.value.split(" ").reduce((A, $) => (A[$] = !0, A), b), b;
5326
5342
  });
5327
- function w() {
5328
- return e.multiSelect && e.inputType === "tag" ? fr(e, a, l) : pr(e, a, l);
5343
+ function C() {
5344
+ return e.multiSelect && e.inputType === "tag" ? fr(e, l, a) : pr(e, l, a);
5329
5345
  }
5330
- let C = w();
5346
+ let w = C();
5331
5347
  W([() => e.multiSelect, () => e.inputType], () => {
5332
- C = w();
5348
+ w = C();
5333
5349
  });
5334
5350
  const {
5335
5351
  renderButtonGroup: T,
5336
- buttonHandleElement: S
5337
- } = mr(e, t, i, y), F = vr(e, t, s), x = {
5352
+ buttonHandleElement: F
5353
+ } = mr(e, t, r, y), S = vr(e, t, s), x = {
5338
5354
  commitValue: c,
5339
5355
  elementRef: n,
5340
- hidePopup: g,
5341
- shouldPopupContent: p,
5356
+ hidePopup: m,
5357
+ shouldPopupContent: d,
5342
5358
  togglePopup: u,
5343
5359
  openDialog: () => {
5344
- S.value && e.buttonBehavior === "Modal" && S.value.click();
5360
+ F.value && e.buttonBehavior === "Modal" && F.value.click();
5345
5361
  },
5346
5362
  getModal: () => {
5347
5363
  var b;
5348
- return e.buttonBehavior === "Modal" ? (b = i.modalRef.value) == null ? void 0 : b.value : null;
5364
+ return e.buttonBehavior === "Modal" ? (b = r.modalRef.value) == null ? void 0 : b.value : null;
5349
5365
  }
5350
5366
  };
5351
5367
  return Q(() => {
5352
5368
  n.value.componentInstance = x, window.onresize = () => {
5353
5369
  document.body.click();
5354
5370
  };
5355
- }), t.expose(x), () => r(J, null, [r("div", Pe(t.attrs, {
5371
+ }), t.expose(x), () => i(K, null, [i("div", Ie(t.attrs, {
5356
5372
  ref: n,
5357
5373
  class: I.value,
5358
5374
  id: e.id
5359
- }), [r("div", {
5375
+ }), [i("div", {
5360
5376
  id: `${e.id}-input-group`,
5361
- class: d.value,
5377
+ class: p.value,
5362
5378
  onMouseenter: h,
5363
5379
  onMouseleave: P
5364
- }, [C(), T()])]), p.value && F()]);
5380
+ }, [w(), T()])]), d.value && S()]);
5365
5381
  }
5366
5382
  }), gr = /* @__PURE__ */ U({
5367
5383
  name: "FQuerySolutionConfig",
5368
- props: Ae,
5384
+ props: Re,
5369
5385
  emits: ["update:modelValue"],
5370
5386
  setup(e, t) {
5371
- const n = f(null), o = k(() => "共" + e.modelValue.length + "项"), a = f(), s = Jl(e, t, n, a), {
5372
- renderPanel: p
5387
+ const n = f(null), o = k(() => "共" + e.modelValue.length + "项"), l = f(), s = Kl(e, t, n, l), {
5388
+ renderPanel: d
5373
5389
  } = s, {
5374
- renderTransfer: g,
5390
+ renderTransfer: m,
5375
5391
  initData: u,
5376
- confirm: i,
5377
- cancel: m,
5378
- selectPanels: l
5379
- } = Na(e, t, n, a, s), v = {
5392
+ confirm: r,
5393
+ cancel: g,
5394
+ selectPanels: a
5395
+ } = Na(e, t, n, l, s), v = {
5380
5396
  fitContent: !1,
5381
5397
  width: 900,
5382
5398
  height: 600,
5383
5399
  title: "筛选方案配置",
5384
5400
  acceptCallback: c,
5385
- rejectCallback: d
5401
+ rejectCallback: p
5386
5402
  };
5387
5403
  function c() {
5388
- i();
5404
+ r();
5389
5405
  }
5390
- function d() {
5391
- m();
5406
+ function p() {
5407
+ g();
5392
5408
  }
5393
5409
  function y() {
5394
- return r(J, null, [g(), p()]);
5410
+ return i(K, null, [m(), d()]);
5395
5411
  }
5396
5412
  return Q(() => {
5397
5413
  u();
5398
- }), () => r(yr, {
5414
+ }), () => i(yr, {
5399
5415
  id: e.id,
5400
5416
  "button-behavior": "Modal",
5401
5417
  "modal-options": v,
5402
5418
  modelValue: o.value,
5403
5419
  "onUpdate:modelValue": (h) => o.value = h
5404
5420
  }, {
5405
- default: () => [r("div", {
5421
+ default: () => [i("div", {
5406
5422
  class: "query-solution-config d-flex f-utils-absolute-all"
5407
5423
  }, [y()])]
5408
5424
  });
@@ -5517,20 +5533,20 @@ function Vr(e, t, n) {
5517
5533
  const $r = {
5518
5534
  fields: { type: Array, default: [] },
5519
5535
  modelValue: { type: Array, default: [] }
5520
- }, Mr = Z($r, Fr, Ir, Vr, Pr), _i = {
5536
+ }, Er = Z($r, Fr, Ir, Vr, Pr), _i = {
5521
5537
  install(e) {
5522
- e.component(ie.name, ie);
5538
+ e.component(se.name, se);
5523
5539
  },
5524
5540
  register(e, t, n, o) {
5525
- e["filter-bar"] = ie, t["filter-bar"] = we, e["filter-bar-config"] = gr, t["filter-bar-config"] = Mr;
5541
+ e["filter-bar"] = se, t["filter-bar"] = Te, e["filter-bar-config"] = gr, t["filter-bar-config"] = Er;
5526
5542
  },
5527
5543
  registerDesigner(e, t, n) {
5528
- e["filter-bar"] = qo, t["filter-bar"] = we;
5544
+ e["filter-bar"] = qo, t["filter-bar"] = Te;
5529
5545
  }
5530
5546
  };
5531
5547
  export {
5532
- ie as FFilterBar,
5548
+ se as FFilterBar,
5533
5549
  _i as default,
5534
- he as filterBarProps,
5535
- we as propsResolver
5550
+ be as filterBarProps,
5551
+ Te as propsResolver
5536
5552
  };