@farris/ui-vue 1.2.5 → 1.2.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (261) hide show
  1. package/components/accordion/index.esm.js +147 -139
  2. package/components/accordion/index.umd.cjs +1 -1
  3. package/components/accordion/package.json +1 -1
  4. package/components/avatar/index.esm.js +122 -131
  5. package/components/avatar/index.umd.cjs +1 -1
  6. package/components/avatar/package.json +1 -1
  7. package/components/border-editor/package.json +1 -1
  8. package/components/button/package.json +1 -1
  9. package/components/button-edit/index.css +1 -0
  10. package/components/button-edit/package.json +1 -1
  11. package/components/button-group/package.json +1 -1
  12. package/components/calculator/package.json +1 -1
  13. package/components/calendar/package.json +1 -1
  14. package/components/capsule/package.json +1 -1
  15. package/components/checkbox/index.esm.js +216 -223
  16. package/components/checkbox/index.umd.cjs +1 -1
  17. package/components/checkbox/package.json +1 -1
  18. package/components/color-picker/package.json +1 -1
  19. package/components/combo-list/index.esm.js +201 -181
  20. package/components/combo-list/index.umd.cjs +1 -1
  21. package/components/combo-list/package.json +1 -1
  22. package/components/combo-tree/index.esm.js +340 -107
  23. package/components/combo-tree/index.umd.cjs +1 -1
  24. package/components/combo-tree/package.json +1 -1
  25. package/components/common/package.json +1 -1
  26. package/components/component/index.esm.js +36 -29
  27. package/components/component/index.umd.cjs +1 -1
  28. package/components/component/package.json +1 -1
  29. package/components/condition/index.esm.js +341 -338
  30. package/components/condition/index.umd.cjs +1 -1
  31. package/components/condition/package.json +1 -1
  32. package/components/content-container/index.esm.js +9 -13
  33. package/components/content-container/index.umd.cjs +1 -1
  34. package/components/content-container/package.json +1 -1
  35. package/components/{tree-grid/style.css → data-grid/index.css} +1 -1
  36. package/components/data-grid/index.esm.js +3415 -3295
  37. package/components/data-grid/index.umd.cjs +1 -1
  38. package/components/data-grid/package.json +1 -1
  39. package/components/data-view/index.esm.js +2719 -2717
  40. package/components/data-view/index.umd.cjs +1 -1
  41. package/components/data-view/package.json +1 -1
  42. package/components/date-picker/index.esm.js +31 -40
  43. package/components/date-picker/index.umd.cjs +1 -1
  44. package/components/date-picker/package.json +1 -1
  45. package/components/designer-canvas/index.esm.js +23 -20
  46. package/components/designer-canvas/index.umd.cjs +1 -1
  47. package/components/designer-canvas/package.json +1 -1
  48. package/components/designer-outline/package.json +1 -1
  49. package/components/designer-toolbox/package.json +1 -1
  50. package/components/discussion-editor/package.json +1 -1
  51. package/components/discussion-list/package.json +1 -1
  52. package/components/drawer/package.json +1 -1
  53. package/components/dropdown/index.esm.js +86 -86
  54. package/components/dropdown/index.umd.cjs +1 -1
  55. package/components/dropdown/package.json +1 -1
  56. package/components/dynamic-form/index.esm.js +578 -584
  57. package/components/dynamic-form/index.umd.cjs +1 -1
  58. package/components/dynamic-form/package.json +1 -1
  59. package/components/dynamic-resolver/index.esm.js +56 -47
  60. package/components/dynamic-resolver/index.umd.cjs +1 -1
  61. package/components/dynamic-resolver/package.json +1 -1
  62. package/components/dynamic-view/index.esm.js +287 -278
  63. package/components/dynamic-view/index.umd.cjs +1 -1
  64. package/components/dynamic-view/package.json +1 -1
  65. package/components/enum-editor/package.json +1 -1
  66. package/components/events-editor/package.json +1 -1
  67. package/components/expression-editor/package.json +1 -1
  68. package/components/external-container/index.css +1 -0
  69. package/components/external-container/index.esm.js +1923 -1908
  70. package/components/external-container/index.umd.cjs +1 -1
  71. package/components/external-container/package.json +1 -1
  72. package/components/field-selector/index.css +1 -0
  73. package/components/field-selector/index.esm.js +3719 -3604
  74. package/components/field-selector/index.umd.cjs +1 -1
  75. package/components/field-selector/package.json +1 -1
  76. package/components/filter-bar/{style.css → index.css} +1 -1
  77. package/components/filter-bar/index.esm.js +483 -470
  78. package/components/filter-bar/index.umd.cjs +1 -1
  79. package/components/filter-bar/package.json +1 -1
  80. package/components/flow-canvas/index.esm.js +37 -34
  81. package/components/flow-canvas/index.umd.cjs +1 -1
  82. package/components/flow-canvas/package.json +1 -1
  83. package/components/image-cropper/package.json +1 -1
  84. package/components/input-group/index.esm.js +258 -267
  85. package/components/input-group/index.umd.cjs +1 -1
  86. package/components/input-group/package.json +1 -1
  87. package/components/layout/package.json +1 -1
  88. package/components/list-nav/package.json +1 -1
  89. package/components/list-view/index.esm.js +1452 -1450
  90. package/components/list-view/index.umd.cjs +1 -1
  91. package/components/list-view/package.json +1 -1
  92. package/components/loading/package.json +1 -1
  93. package/components/locale/package.json +1 -1
  94. package/components/lookup/index.css +1 -0
  95. package/components/lookup/index.esm.js +4860 -4657
  96. package/components/lookup/index.umd.cjs +1 -1
  97. package/components/lookup/package.json +1 -1
  98. package/components/mapping-editor/index.css +1 -0
  99. package/components/mapping-editor/index.esm.js +4411 -4259
  100. package/components/mapping-editor/index.umd.cjs +1 -1
  101. package/components/mapping-editor/package.json +1 -1
  102. package/components/message-box/index.css +1 -0
  103. package/components/message-box/index.esm.js +397 -386
  104. package/components/message-box/index.umd.cjs +1 -1
  105. package/components/message-box/package.json +1 -1
  106. package/components/modal/index.css +1 -0
  107. package/components/modal/index.esm.js +308 -297
  108. package/components/modal/index.umd.cjs +1 -1
  109. package/components/modal/package.json +1 -1
  110. package/components/nav/package.json +1 -1
  111. package/components/notify/package.json +1 -1
  112. package/components/order/index.esm.js +763 -741
  113. package/components/order/index.umd.cjs +1 -1
  114. package/components/order/package.json +1 -1
  115. package/components/page-footer/package.json +1 -1
  116. package/components/page-header/index.esm.js +948 -945
  117. package/components/page-header/index.umd.cjs +1 -1
  118. package/components/page-header/package.json +1 -1
  119. package/components/pagination/package.json +1 -1
  120. package/components/popover/package.json +1 -1
  121. package/components/progress/package.json +1 -1
  122. package/components/property-editor/index.esm.js +485 -466
  123. package/components/property-editor/index.umd.cjs +2 -2
  124. package/components/property-editor/package.json +1 -1
  125. package/components/property-panel/index.esm.js +437 -426
  126. package/components/property-panel/index.umd.cjs +1 -1
  127. package/components/property-panel/package.json +1 -1
  128. package/components/radio-button/package.json +1 -1
  129. package/components/radio-group/index.esm.js +98 -107
  130. package/components/radio-group/index.umd.cjs +1 -1
  131. package/components/radio-group/package.json +1 -1
  132. package/components/rate/package.json +1 -1
  133. package/components/response-layout/package.json +1 -1
  134. package/components/response-layout-editor/{style.css → index.css} +1 -1
  135. package/components/response-layout-editor/index.esm.js +840 -800
  136. package/components/response-layout-editor/index.umd.cjs +1 -1
  137. package/components/response-layout-editor/package.json +1 -1
  138. package/components/response-toolbar/index.esm.js +757 -760
  139. package/components/response-toolbar/index.umd.cjs +1 -1
  140. package/components/response-toolbar/package.json +1 -1
  141. package/components/schema-selector/index.css +1 -0
  142. package/components/schema-selector/index.esm.js +3659 -3432
  143. package/components/schema-selector/index.umd.cjs +8 -1
  144. package/components/schema-selector/package.json +1 -1
  145. package/components/search-box/package.json +1 -1
  146. package/components/section/index.esm.js +21 -14
  147. package/components/section/index.umd.cjs +1 -1
  148. package/components/section/package.json +1 -1
  149. package/components/smoke-detector/package.json +1 -1
  150. package/components/spacing-editor/package.json +1 -1
  151. package/components/splitter/package.json +1 -1
  152. package/components/step/package.json +1 -1
  153. package/components/switch/index.esm.js +126 -135
  154. package/components/switch/index.umd.cjs +1 -1
  155. package/components/switch/package.json +1 -1
  156. package/components/tabs/index.css +1 -0
  157. package/components/tabs/index.esm.js +1400 -1379
  158. package/components/tabs/index.umd.cjs +1 -1
  159. package/components/tabs/package.json +1 -1
  160. package/components/tags/package.json +1 -1
  161. package/components/text/package.json +1 -1
  162. package/components/textarea/index.esm.js +97 -106
  163. package/components/textarea/index.umd.cjs +1 -1
  164. package/components/textarea/package.json +1 -1
  165. package/components/time-picker/index.css +1 -0
  166. package/components/time-picker/index.esm.js +393 -402
  167. package/components/time-picker/index.umd.cjs +1 -1
  168. package/components/time-picker/package.json +1 -1
  169. package/components/tooltip/package.json +1 -1
  170. package/components/transfer/index.esm.js +124 -122
  171. package/components/transfer/index.umd.cjs +1 -1
  172. package/components/transfer/package.json +1 -1
  173. package/components/{data-grid/style.css → tree-grid/index.css} +1 -1
  174. package/components/tree-grid/index.esm.js +3531 -3412
  175. package/components/tree-grid/index.umd.cjs +1 -1
  176. package/components/tree-grid/package.json +1 -1
  177. package/components/tree-view/index.esm.js +2046 -2044
  178. package/components/tree-view/index.umd.cjs +1 -1
  179. package/components/tree-view/package.json +1 -1
  180. package/components/uploader/package.json +1 -1
  181. package/components/verify-detail/package.json +1 -1
  182. package/components/video/package.json +1 -1
  183. package/components/weather/package.json +1 -1
  184. package/farris.all.esm.js +12370 -11917
  185. package/farris.all.umd.cjs +9 -9
  186. package/index.css +1 -0
  187. package/package.json +2 -2
  188. package/types/combo-list/src/components/list-container.component.d.ts +6 -0
  189. package/types/combo-list/src/components/list-container.props.d.ts +9 -1
  190. package/types/combo-tree/src/combo-tree.props.d.ts +4 -0
  191. package/types/combo-tree/src/components/tree-container.component.d.ts +13 -3
  192. package/types/combo-tree/src/components/tree-container.props.d.ts +15 -1
  193. package/types/combo-tree/src/schema/schema-mapper.d.ts +2 -0
  194. package/types/combo-tree/src/schema/schema-resolver.d.ts +2 -0
  195. package/types/components.d.ts +1 -0
  196. package/types/data-grid/index.d.ts +5 -5
  197. package/types/data-grid/src/data-grid.component.d.ts +2 -2
  198. package/types/data-grid/src/data-grid.props.d.ts +1 -0
  199. package/types/data-grid/src/designer/data-grid.design.component.d.ts +2 -2
  200. package/types/data-grid/src/property-config/data-grid.property-config.d.ts +1 -1
  201. package/types/designer-canvas/src/composition/dg-control.d.ts +8 -8
  202. package/types/designer-canvas/src/composition/types.d.ts +1 -0
  203. package/types/dynamic-form/src/types.d.ts +1 -1
  204. package/types/dynamic-resolver/index.d.ts +1 -0
  205. package/types/dynamic-resolver/src/converter/pagination.converter.d.ts +6 -0
  206. package/types/dynamic-resolver/src/visible-prop-resolver.d.ts +3 -0
  207. package/types/lookup/src/designer/use-lookup-rules.d.ts +3 -0
  208. package/types/lookup/src/property-config/converters/lookup-property.converter.d.ts +7 -3
  209. package/types/lookup/src/property-config/lookup.property-config.d.ts +31 -27
  210. package/types/mapping-editor/src/mapping-editor.props.d.ts +8 -0
  211. package/types/modal/src/modal.component.d.ts +3 -3
  212. package/types/modal/src/modal.props.d.ts +3 -5
  213. package/types/page-header/src/page-header.props.d.ts +7 -0
  214. package/types/page-header/src/property-config/page-header.property-config.d.ts +1 -1
  215. package/types/property-panel/src/composition/entity/base-property.d.ts +2 -16
  216. package/types/property-panel/src/composition/entity/input-base-property.d.ts +21 -0
  217. package/types/response-toolbar/index.d.ts +9 -3
  218. package/types/response-toolbar/src/property-config/response-toolbar-item.property-config.d.ts +1 -1
  219. package/types/response-toolbar/src/property-config/response-toolbar.property-config.d.ts +1 -1
  220. package/types/response-toolbar/src/response-toolbar.component.d.ts +4 -2
  221. package/types/response-toolbar/src/response-toolbar.props.d.ts +9 -2
  222. package/types/schema-selector/src/composition/types.d.ts +3 -1
  223. package/types/schema-selector/src/schema-selector-editor.component.d.ts +5 -1
  224. package/types/tabs/src/designer/tab-toolbar.design.component.d.ts +1 -1
  225. package/types/tabs/src/tabs.props.d.ts +8 -0
  226. package/components/button-edit/style.css +0 -1
  227. package/components/external-container/style.css +0 -1
  228. package/components/field-selector/style.css +0 -1
  229. package/components/lookup/style.css +0 -1
  230. package/components/mapping-editor/style.css +0 -1
  231. package/components/message-box/style.css +0 -1
  232. package/components/modal/style.css +0 -1
  233. package/components/schema-selector/style.css +0 -1
  234. package/components/tabs/style.css +0 -1
  235. package/components/time-picker/style.css +0 -1
  236. package/style.css +0 -1
  237. package/types/tabs/src/designer/tab-toolbar-item.props.d.ts +0 -19
  238. /package/components/border-editor/{style.css → index.css} +0 -0
  239. /package/components/checkbox/{style.css → index.css} +0 -0
  240. /package/components/date-picker/{style.css → index.css} +0 -0
  241. /package/components/designer-canvas/{style.css → index.css} +0 -0
  242. /package/components/designer-outline/{style.css → index.css} +0 -0
  243. /package/components/designer-toolbox/{style.css → index.css} +0 -0
  244. /package/components/discussion-editor/{style.css → index.css} +0 -0
  245. /package/components/discussion-list/{style.css → index.css} +0 -0
  246. /package/components/drawer/{style.css → index.css} +0 -0
  247. /package/components/events-editor/{style.css → index.css} +0 -0
  248. /package/components/flow-canvas/{style.css → index.css} +0 -0
  249. /package/components/list-view/{style.css → index.css} +0 -0
  250. /package/components/order/{style.css → index.css} +0 -0
  251. /package/components/property-editor/{style.css → index.css} +0 -0
  252. /package/components/property-panel/{style.css → index.css} +0 -0
  253. /package/components/radio-button/{style.css → index.css} +0 -0
  254. /package/components/radio-group/{style.css → index.css} +0 -0
  255. /package/components/smoke-detector/{style.css → index.css} +0 -0
  256. /package/components/spacing-editor/{style.css → index.css} +0 -0
  257. /package/components/splitter/{style.css → index.css} +0 -0
  258. /package/components/switch/{style.css → index.css} +0 -0
  259. /package/components/transfer/{style.css → index.css} +0 -0
  260. /package/components/uploader/{style.css → index.css} +0 -0
  261. /package/components/weather/{style.css → index.css} +0 -0
@@ -1,69 +1,71 @@
1
- var lt = Object.defineProperty;
2
- var it = (e, t, n) => t in e ? lt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
- var V = (e, t, n) => it(e, typeof t != "symbol" ? t + "" : t, n);
4
- import { ref as m, computed as B, createVNode as i, createTextVNode as Y, defineComponent as _, watch as H, inject as de, onMounted as K, nextTick as oe, reactive as rt, withDirectives as pe, resolveDirective as st, Fragment as J, mergeProps as Pe, onBeforeMount as ut, withModifiers as ct, vModelText as dt, Teleport as pt, createApp as ft, onUnmounted as mt, vShow as vt } from "vue";
1
+ var it = Object.defineProperty;
2
+ var rt = (e, t, n) => t in e ? it(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
+ var V = (e, t, n) => rt(e, typeof t != "symbol" ? t + "" : t, n);
4
+ import { ref as m, computed as B, createVNode as i, createTextVNode as Y, defineComponent as z, watch as H, inject as de, onMounted as K, nextTick as oe, reactive as st, withDirectives as pe, resolveDirective as ut, Fragment as J, mergeProps as Pe, getCurrentInstance as ct, onBeforeMount as dt, withModifiers as pt, vModelText as ft, Teleport as mt, createApp as vt, onUnmounted as yt, vShow as gt } from "vue";
5
5
  import { cloneDeep as Q } from "lodash-es";
6
6
  import "bignumber.js";
7
- import yt, { useNumber as gt, useFormat as ht, useSpinner as bt, useTextBox as Ct } from "@farris/ui-vue/components/number-spinner";
8
- import Tt from "@farris/ui-vue/components/accordion";
9
- import St from "@farris/ui-vue/components/avatar";
10
- import Ft from "@farris/ui-vue/components/button-edit";
11
- import wt from "@farris/ui-vue/components/button-group";
12
- import xt from "@farris/ui-vue/components/calendar";
13
- import Bt from "@farris/ui-vue/components/capsule";
14
- import kt, { FCheckBox as fe } from "@farris/ui-vue/components/checkbox";
15
- import Pt from "@farris/ui-vue/components/combo-list";
16
- import It from "@farris/ui-vue/components/component";
17
- import Vt from "@farris/ui-vue/components/color-picker";
18
- import Mt from "@farris/ui-vue/components/content-container";
19
- import Et from "@farris/ui-vue/components/date-picker";
20
- import $t from "@farris/ui-vue/components/data-grid";
21
- import Ot from "@farris/ui-vue/components/dropdown";
22
- import Dt from "@farris/ui-vue/components/dynamic-form";
23
- import Rt from "@farris/ui-vue/components/events-editor";
24
- import jt from "@farris/ui-vue/components/filter-bar";
25
- import Lt from "@farris/ui-vue/components/field-selector";
26
- import At from "@farris/ui-vue/components/image-cropper";
27
- import Nt from "@farris/ui-vue/components/input-group";
28
- import qt from "@farris/ui-vue/components/layout";
29
- import Gt from "@farris/ui-vue/components/list-nav";
30
- import Ht from "@farris/ui-vue/components/list-view";
31
- import Wt from "@farris/ui-vue/components/lookup";
32
- import _t from "@farris/ui-vue/components/mapping-editor";
33
- import zt from "@farris/ui-vue/components/nav";
34
- import Ut from "@farris/ui-vue/components/number-range";
35
- import Qt from "@farris/ui-vue/components/order";
36
- import Kt from "@farris/ui-vue/components/page-header";
37
- import Xt from "@farris/ui-vue/components/page-footer";
38
- import Jt from "@farris/ui-vue/components/pagination";
39
- import Zt from "@farris/ui-vue/components/progress";
40
- import Yt from "@farris/ui-vue/components/query-solution";
41
- import en from "@farris/ui-vue/components/radio-group";
42
- import tn from "@farris/ui-vue/components/rate";
43
- import nn from "@farris/ui-vue/components/response-toolbar";
44
- import on from "@farris/ui-vue/components/response-layout";
45
- import an from "@farris/ui-vue/components/response-layout-editor";
46
- import ln from "@farris/ui-vue/components/search-box";
47
- import rn from "@farris/ui-vue/components/section";
48
- import sn from "@farris/ui-vue/components/smoke-detector";
49
- import un from "@farris/ui-vue/components/splitter";
50
- import cn from "@farris/ui-vue/components/step";
51
- import dn from "@farris/ui-vue/components/switch";
52
- import pn from "@farris/ui-vue/components/tabs";
7
+ import ht, { useNumber as bt, useFormat as Ct, useSpinner as Tt, useTextBox as St } from "@farris/ui-vue/components/number-spinner";
8
+ import Ft from "@farris/ui-vue/components/accordion";
9
+ import wt from "@farris/ui-vue/components/avatar";
10
+ import xt from "@farris/ui-vue/components/button-edit";
11
+ import Bt from "@farris/ui-vue/components/button-group";
12
+ import kt from "@farris/ui-vue/components/calendar";
13
+ import Pt from "@farris/ui-vue/components/capsule";
14
+ import It, { FCheckBox as fe } from "@farris/ui-vue/components/checkbox";
15
+ import Vt from "@farris/ui-vue/components/combo-list";
16
+ import Mt from "@farris/ui-vue/components/combo-tree";
17
+ import Et from "@farris/ui-vue/components/component";
18
+ import $t from "@farris/ui-vue/components/color-picker";
19
+ import Ot from "@farris/ui-vue/components/content-container";
20
+ import Dt from "@farris/ui-vue/components/date-picker";
21
+ import Rt from "@farris/ui-vue/components/data-grid";
22
+ import jt from "@farris/ui-vue/components/dropdown";
23
+ import Lt from "@farris/ui-vue/components/dynamic-form";
24
+ import At from "@farris/ui-vue/components/events-editor";
25
+ import Nt from "@farris/ui-vue/components/filter-bar";
26
+ import qt from "@farris/ui-vue/components/field-selector";
27
+ import Gt from "@farris/ui-vue/components/image-cropper";
28
+ import Ht from "@farris/ui-vue/components/input-group";
29
+ import Wt from "@farris/ui-vue/components/layout";
30
+ import _t from "@farris/ui-vue/components/list-nav";
31
+ import zt from "@farris/ui-vue/components/list-view";
32
+ import Ut from "@farris/ui-vue/components/lookup";
33
+ import Qt from "@farris/ui-vue/components/mapping-editor";
34
+ import Kt from "@farris/ui-vue/components/nav";
35
+ import Xt from "@farris/ui-vue/components/number-range";
36
+ import Jt from "@farris/ui-vue/components/order";
37
+ import Zt from "@farris/ui-vue/components/page-header";
38
+ import Yt from "@farris/ui-vue/components/page-footer";
39
+ import en from "@farris/ui-vue/components/pagination";
40
+ import tn from "@farris/ui-vue/components/progress";
41
+ import nn from "@farris/ui-vue/components/query-solution";
42
+ import on from "@farris/ui-vue/components/radio-group";
43
+ import an from "@farris/ui-vue/components/rate";
44
+ import ln from "@farris/ui-vue/components/response-toolbar";
45
+ import rn from "@farris/ui-vue/components/response-layout";
46
+ import sn from "@farris/ui-vue/components/response-layout-editor";
47
+ import un from "@farris/ui-vue/components/search-box";
48
+ import cn from "@farris/ui-vue/components/section";
49
+ import dn from "@farris/ui-vue/components/smoke-detector";
50
+ import pn from "@farris/ui-vue/components/splitter";
51
+ import fn from "@farris/ui-vue/components/step";
52
+ import mn from "@farris/ui-vue/components/switch";
53
+ import vn from "@farris/ui-vue/components/tabs";
53
54
  import Ie from "@farris/ui-vue/components/tags";
54
- import fn from "@farris/ui-vue/components/text";
55
- import mn from "@farris/ui-vue/components/time-picker";
56
- import vn from "@farris/ui-vue/components/transfer";
57
- import yn from "@farris/ui-vue/components/tree-view";
58
- import gn from "@farris/ui-vue/components/uploader";
59
- import hn from "@farris/ui-vue/components/verify-detail";
60
- import bn from "@farris/ui-vue/components/weather";
61
- import Cn from "@farris/ui-vue/components/video";
62
- import Tn from "@farris/ui-vue/components/textarea";
63
- import Sn from "@farris/ui-vue/components/schema-selector";
64
- import { useIdentify as Fn, useHierarchy as wn, useGroupData as xn, usePagination as Bn, useDataView as kn, useSelection as Pn, useEdit as In, useVisualDataBound as Vn, useVisualDataCell as Mn, useVisualDataRow as En, useVisualGroupRow as $n, useVisualSummaryRow as On, useVisualData as Dn } from "@farris/ui-vue/components/data-view";
65
- import { resolveAppearance as Rn } from "@farris/ui-vue/components/dynamic-resolver";
66
- import jn from "@farris/ui-vue/components/popover";
55
+ import yn from "@farris/ui-vue/components/text";
56
+ import gn from "@farris/ui-vue/components/time-picker";
57
+ import hn from "@farris/ui-vue/components/transfer";
58
+ import bn from "@farris/ui-vue/components/tree-view";
59
+ import Cn from "@farris/ui-vue/components/uploader";
60
+ import Tn from "@farris/ui-vue/components/verify-detail";
61
+ import Sn from "@farris/ui-vue/components/weather";
62
+ import Fn from "@farris/ui-vue/components/video";
63
+ import wn from "@farris/ui-vue/components/textarea";
64
+ import xn from "@farris/ui-vue/components/schema-selector";
65
+ import Bn from "@farris/ui-vue/components/tree-grid";
66
+ import { useIdentify as kn, useHierarchy as Pn, useGroupData as In, usePagination as Vn, useDataView as Mn, useSelection as En, useEdit as $n, useVisualDataBound as On, useVisualDataCell as Dn, useVisualDataRow as Rn, useVisualGroupRow as jn, useVisualSummaryRow as Ln, useVisualData as An } from "@farris/ui-vue/components/data-view";
67
+ import { resolveAppearance as Nn } from "@farris/ui-vue/components/dynamic-resolver";
68
+ import qn from "@farris/ui-vue/components/popover";
67
69
  const me = {}, Ve = {};
68
70
  function ve(e) {
69
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]) : Q(t[s].default), a), {});
@@ -82,7 +84,7 @@ function Me(e, t) {
82
84
  const n = ve(t);
83
85
  return Object.keys(e).reduce((o, a) => (o[a] = e[a], o), n), n;
84
86
  }
85
- function Ln(e, t) {
87
+ function Gn(e, t) {
86
88
  return Object.keys(e).filter((o) => e[o] != null).reduce((o, a) => {
87
89
  if (t.has(a)) {
88
90
  const s = t.get(a);
@@ -97,9 +99,9 @@ function Ln(e, t) {
97
99
  return o;
98
100
  }, {});
99
101
  }
100
- function An(e, t, n = /* @__PURE__ */ new Map()) {
102
+ function Hn(e, t, n = /* @__PURE__ */ new Map()) {
101
103
  const o = Me(e, t);
102
- return Ln(o, n);
104
+ return Gn(o, n);
103
105
  }
104
106
  function Ee(e) {
105
107
  const t = e.type;
@@ -109,7 +111,7 @@ function Ee(e) {
109
111
  }
110
112
  return e;
111
113
  }
112
- function Nn(e = {}) {
114
+ function Wn(e = {}) {
113
115
  function t(r, v, l, d) {
114
116
  if (typeof l == "number")
115
117
  return d[r].length === l;
@@ -163,24 +165,24 @@ function Nn(e = {}) {
163
165
  }
164
166
  return { parseValueSchema: u };
165
167
  }
166
- const qn = {
168
+ const _n = {
167
169
  convertTo: (e, t, n, o) => {
168
170
  e.appearance && (e.appearance[t] = n);
169
171
  },
170
172
  convertFrom: (e, t, n) => e.appearance ? e.appearance[t] : e[t]
171
- }, Gn = {
173
+ }, zn = {
172
174
  convertFrom: (e, t, n) => e.buttons && e.buttons.length ? `共 ${e.buttons.length} 项` : "无"
173
- }, Hn = {
175
+ }, Un = {
174
176
  convertTo: (e, t, n, o) => {
175
177
  e.editor && (e.editor[t] = n);
176
178
  },
177
179
  convertFrom: (e, t, n) => e.editor && e.editor.hasOwnProperty(t) ? e.editor[t] : e[t]
178
- }, Wn = {
180
+ }, Qn = {
179
181
  Button: { type: "Button", name: "按钮", icon: "Button" },
180
182
  ButtonGroup: { type: "ButtonGroup", name: "按钮组", icon: "ButtonGroup" },
181
- ToolBar: { type: "ToolBar", name: "工具栏", icon: "ButtonGroup" },
182
- ToolBarItem: { type: "ToolBarItem", name: "工具栏项", icon: "Button" },
183
- ContentContainer: { type: "ContentContainer", name: "容器", icon: "ContentContainer" },
183
+ "response-toolbar": { type: "response-toolbar", name: "工具栏", icon: "ButtonGroup" },
184
+ "response-toolbar-item": { type: "response-toolbar-item", name: "工具栏项", icon: "Button" },
185
+ "content-container": { type: "content-container", name: "容器", icon: "ContentContainer" },
184
186
  DisplayField: { type: "DisplayField", name: "标签", icon: "DisplayField" },
185
187
  "input-group": { type: "input-group", name: "文本", icon: "TextBox" },
186
188
  textarea: { type: "textarea", name: "多行文本", icon: "MultiTextBox" },
@@ -207,15 +209,15 @@ const qn = {
207
209
  "data-grid-column": { type: "data-grid-column", name: "表格列" },
208
210
  Panel: { type: "Panel", name: "面板", icon: "ContentContainer" },
209
211
  Module: { type: "Module", name: "模块", icon: "Module" },
210
- Component: { type: "Component", name: "组件", icon: "Component" },
212
+ component: { type: "component", name: "组件", icon: "Component" },
211
213
  ExternalContainer: { type: "ExternalContainer", name: "外部容器", icon: "ContentContainer" },
212
214
  Image: { type: "Image", name: "图像", icon: "Image" },
213
215
  ImageUpload: { type: "ImageUpload", name: "图片上传", icon: "imageupload" },
214
216
  HiddenContainer: { type: "HiddenContainer", name: "隐藏区域", icon: "ContentContainer" },
215
217
  ModalContainer: { type: "ModalContainer", name: "弹窗容器", icon: "ContentContainer" },
216
218
  RouteContainer: { type: "RouteContainer", name: "路由区域", icon: "ContentContainer" },
217
- Tab: { type: "Tab", name: "标签页", icon: "Tab" },
218
- TabPage: { type: "TabPage", name: "标签页项", dependentParentControl: "Tab" },
219
+ tabs: { type: "tabs", name: "标签页", icon: "Tab" },
220
+ "tab-page": { type: "tab-page", name: "标签页项", dependentParentControl: "Tab" },
219
221
  "tab-toolbar-item": { type: "tab-toolbar-item", name: "标签页工具栏按钮", icon: "Button" },
220
222
  Tag: { type: "Tag", name: "Tag", icon: "Tag" },
221
223
  Sidebar: { type: "Sidebar", name: "侧边栏", icon: "Sidebar" },
@@ -224,7 +226,7 @@ const qn = {
224
226
  RichTextBox: { type: "RichTextBox", name: "富文本", icon: "RichTextBox" },
225
227
  TimeSpinner: { type: "TimeSpinner", name: "时间调节器", icon: "TimePicker" },
226
228
  TimePicker: { type: "TimePicker", name: "时间选择", icon: "TimePicker" },
227
- Section: { type: "Section", name: "分组面板", icon: "Section" },
229
+ section: { type: "section", name: "分组面板", icon: "Section" },
228
230
  SectionToolbar: { type: "SectionToolbar", name: "分组面板工具栏" },
229
231
  SectionToolbarItem: { type: "SectionToolbarItem", name: "分组面板按钮" },
230
232
  QueryScheme: { type: "QueryScheme", name: "筛选方案", icon: "QueryScheme" },
@@ -254,7 +256,7 @@ const qn = {
254
256
  NavTab: { type: "NavTab", name: "标签类导航", icon: "NavTab" },
255
257
  Tags: { type: "Tags", name: "标记组", icon: "Tags" },
256
258
  Portlet: { type: "Portlet", name: "小部件", icon: "dingzhi" },
257
- Header: { type: "Header", name: "页头", icon: "Header" },
259
+ "page-header": { type: "page-header", name: "页头", icon: "Header" },
258
260
  ModalFooter: { type: "ModalFooter", name: "弹窗页脚", icon: "ModalFooter" },
259
261
  ScrollCollapsibleArea: { type: "ScrollCollapsibleArea", name: "滚动收折区域", icon: "ScrollCollapsibleArea" },
260
262
  PersonnelSelector: { type: "PersonnelSelector", name: "人员选择", icon: "PersonnelSelector" },
@@ -286,27 +288,32 @@ const qn = {
286
288
  ApprovalLogs: { type: "ApprovalLogs", name: "审批记录", icon: "ApprovalLogs" },
287
289
  ApprovalComments: { type: "ApprovalComments", name: "审批意见", icon: "shenpiyijian" }
288
290
  /** 审批类 end */
289
- }, _n = {
291
+ }, Kn = {
290
292
  convertFrom: (e, t, n) => {
291
293
  var a;
292
294
  const o = e.editor && e.editor[t] ? e.editor[t] : e[t];
293
- return ((a = Wn[o]) == null ? void 0 : a.name) || o;
295
+ return ((a = Qn[o]) == null ? void 0 : a.name) || o;
294
296
  }
295
- }, zn = {
297
+ }, Xn = {
296
298
  convertTo: (e, t, n, o) => {
297
299
  e[t] = e[t];
298
300
  },
299
301
  convertFrom: (e, t, n) => e.editor ? n.getRealEditorType(e.editor.type) : ""
300
- }, Un = {
301
- convertFrom: (e, t) => e.binding ? e.binding.type + ":" + e.binding.path : "",
302
+ }, Jn = {
303
+ convertFrom: (e, t) => e.binding ? e.binding.path : "",
302
304
  convertTo: (e, t, n) => {
303
305
  if (n && n.length > 0) {
304
306
  const o = n[0];
305
- e.binding || (e.binding = {}), e.binding.type = "Form", e.binding.path = o.path, e.binding.field = o.refElementId, e.binding.fullPath = o.bindingPath;
307
+ 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;
306
308
  }
307
309
  }
310
+ }, Zn = {
311
+ convertTo: (e, t, n, o) => {
312
+ typeof e.pagination == "boolean" && (e.pagination = {}), e.pagination && (e.pagination[t] = n);
313
+ },
314
+ convertFrom: (e, t, n) => e.pagination ? e.pagination[t] : e[t]
308
315
  };
309
- class Qn {
316
+ class Yn {
310
317
  constructor() {
311
318
  /** 控件标题 */
312
319
  V(this, "label", "");
@@ -336,7 +343,7 @@ class Qn {
336
343
  V(this, "fieldSetId", "");
337
344
  }
338
345
  }
339
- function Kn() {
346
+ function eo() {
340
347
  let e, t;
341
348
  const n = /* @__PURE__ */ new Map();
342
349
  let o = [];
@@ -357,7 +364,7 @@ function Kn() {
357
364
  return;
358
365
  }
359
366
  d && (v += 1, d = !1);
360
- const p = c.appearance && c.appearance.class, y = new Qn();
367
+ const p = c.appearance && c.appearance.class, y = new Yn();
361
368
  p ? a(p, y) : y.isSupportedClass = !1, y.label = c.label || c.id, y.id = c.id, y.group = v, l && (y.fieldSetId = u.id), t === c.id && (e = v), n.set(c.id, c), r.push(y);
362
369
  });
363
370
  }
@@ -405,27 +412,28 @@ function Kn() {
405
412
  convertTo: g
406
413
  };
407
414
  }
408
- const Ce = Kn(), Xn = {
415
+ const Ce = eo(), to = {
409
416
  convertTo: (e, t, n, o, a) => Ce.convertTo(e, t, n, o, a),
410
417
  convertFrom: (e, t, n, o) => Ce.convertFrom(e, t, n, o)
411
- }, Jn = {
418
+ }, no = {
412
419
  convertFrom: (e, t, n) => e[t] && e[t].length ? `共 ${e[t].length} 项` : ""
413
- }, Zn = {
420
+ }, oo = {
414
421
  convertFrom: (e, t) => e[t] || "",
415
422
  convertTo: (e, t, n) => {
416
423
  e[t] = n;
417
424
  }
418
425
  }, ye = {}, ue = /* @__PURE__ */ new Map([
419
- ["/converter/appearance.converter", qn],
420
- ["/converter/buttons.converter", Gn],
421
- ["/converter/property-editor.converter", Hn],
422
- ["/converter/response-form-layout.converter", Xn],
423
- ["/converter/items-count.converter", Jn],
424
- ["/converter/type.converter", _n],
425
- ["/converter/change-editor.converter", zn],
426
- ["/converter/form-group-label.converter", Zn],
427
- ["/converter/field-selector.converter", Un]
428
- ]), Yn = {}, eo = /* @__PURE__ */ new Map([
426
+ ["/converter/appearance.converter", _n],
427
+ ["/converter/buttons.converter", zn],
428
+ ["/converter/property-editor.converter", Un],
429
+ ["/converter/response-form-layout.converter", to],
430
+ ["/converter/items-count.converter", no],
431
+ ["/converter/type.converter", Kn],
432
+ ["/converter/change-editor.converter", Xn],
433
+ ["/converter/form-group-label.converter", oo],
434
+ ["/converter/field-selector.converter", Jn],
435
+ ["/converter/pagination.converter", Zn]
436
+ ]), ao = {}, lo = /* @__PURE__ */ new Map([
429
437
  ["string", { type: "input-group", enableClear: !1 }],
430
438
  ["boolean", {
431
439
  type: "combo-list",
@@ -447,24 +455,24 @@ const Ce = Kn(), Xn = {
447
455
  ["array", { type: "button-edit" }],
448
456
  ["number", { type: "number-spinner" }],
449
457
  ["events-editor", { type: "events-editor", hide: !0 }]
450
- ]), to = Nn();
458
+ ]), io = Wn();
451
459
  function $e(e, t) {
452
- return () => to.parseValueSchema(e, t);
460
+ return () => io.parseValueSchema(e, t);
453
461
  }
454
- function no(e, t, n) {
462
+ function ro(e, t, n) {
455
463
  return e.includes("visible") && t.visible !== void 0 ? typeof t.visible == "boolean" ? () => !!t.visible : t.visible === void 0 ? !0 : $e(t.visible, n) : () => !0;
456
464
  }
457
- function oo(e, t, n) {
465
+ function so(e, t, n) {
458
466
  return e.includes("readonly") && t.readonly !== void 0 ? typeof t.visible == "boolean" ? () => !!t.visible : $e(t.readonly, n) : () => !1;
459
467
  }
460
- function ao(e, t) {
468
+ function uo(e, t) {
461
469
  const n = e.$converter || t;
462
470
  return typeof n == "string" && n && ue.has(n) ? ue.get(n) || null : n || null;
463
471
  }
464
472
  function ge(e, t, n, o, a, s = "", f = "") {
465
473
  return Object.keys(e).map((u) => {
466
- const r = m(1), v = u, l = e[u], d = Object.keys(l), c = l.title, p = l.type, y = eo.get(p) || { type: "input-group", enableClear: !1 }, h = l.editor ? Object.assign({}, y, l.editor) : y, P = no(d, l, t), I = oo(d, l, t), C = l.type === "cascade" ? ge(l.properties, t, n, o, a, s, f) : [], T = !0;
467
- let S = ao(l, f);
474
+ const r = m(1), v = u, l = e[u], d = Object.keys(l), c = l.title, p = l.type, y = lo.get(p) || { type: "input-group", enableClear: !1 }, h = l.editor ? Object.assign({}, y, l.editor) : y, P = ro(d, l, t), I = so(d, l, t), C = l.type === "cascade" ? ge(l.properties, t, n, o, a, s, f) : [], T = !0;
475
+ let S = uo(l, f);
468
476
  const w = B({
469
477
  get() {
470
478
  if (r.value) {
@@ -482,7 +490,7 @@ function ge(e, t, n, o, a, s = "", f = "") {
482
490
  return t[v] = x, x;
483
491
  });
484
492
  }
485
- function lo(e, t, n, o, a = "") {
493
+ function co(e, t, n, o, a = "") {
486
494
  const s = t.$ref.schema, f = t.$ref.converter, g = n[s], u = g.type, r = Ee(g), v = {}, l = ye[u];
487
495
  if (l && l.categories) {
488
496
  const d = l.categories[e], c = d == null ? void 0 : d.title;
@@ -505,7 +513,7 @@ function ie(e, t, n, o, a) {
505
513
  return Object.keys(u.categories).map((l) => {
506
514
  const d = u.categories[l];
507
515
  if (d.$ref) {
508
- v.push(lo(l, d, e, t, o));
516
+ v.push(co(l, d, e, t, o));
509
517
  return;
510
518
  }
511
519
  const c = d == null ? void 0 : d.title, p = d == null ? void 0 : d.tabId, y = d == null ? void 0 : d.tabName, h = d == null ? void 0 : d.hide, P = d == null ? void 0 : d.hideTitle, I = ge(d.properties || {}, g, f, e, t, o, d.$converter), C = d.setPropertyRelates;
@@ -515,21 +523,21 @@ function ie(e, t, n, o, a) {
515
523
  return [];
516
524
  }
517
525
  function Z(e, t, n = /* @__PURE__ */ new Map(), o = (f, g, u) => g, a = {}, s = (f) => f) {
518
- return me[t.title] = t, Ve[t.title] = o, ye[t.title] = a, Yn[t.title] = s, (f = {}) => {
519
- const g = An(f, t, n), u = Object.keys(e).reduce((r, v) => (r[v] = e[v].default, r), {});
526
+ return me[t.title] = t, Ve[t.title] = o, ye[t.title] = a, ao[t.title] = s, (f = {}) => {
527
+ const g = Hn(f, t, n), u = Object.keys(e).reduce((r, v) => (r[v] = e[v].default, r), {});
520
528
  return Object.assign(u, g);
521
529
  };
522
530
  }
523
531
  function ee(e, t) {
524
532
  return { customClass: t.class, customStyle: t.style };
525
533
  }
526
- const io = /* @__PURE__ */ new Map([
534
+ const po = /* @__PURE__ */ new Map([
527
535
  ["appearance", ee]
528
536
  ]);
529
- function ro(e, t, n) {
537
+ function fo(e, t, n) {
530
538
  return t;
531
539
  }
532
- const so = "https://json-schema.org/draft/2020-12/schema", uo = "https://farris-design.gitee.io/filter-bar.schema.json", co = "filter-bar", po = "A Farris Component", fo = "object", mo = {
540
+ const mo = "https://json-schema.org/draft/2020-12/schema", vo = "https://farris-design.gitee.io/filter-bar.schema.json", yo = "filter-bar", go = "A Farris Component", ho = "object", bo = {
533
541
  id: {
534
542
  description: "The unique identifier for filter-bar",
535
543
  type: "string"
@@ -591,18 +599,18 @@ const so = "https://json-schema.org/draft/2020-12/schema", uo = "https://farris-
591
599
  type: "boolean",
592
600
  default: !0
593
601
  }
594
- }, vo = [
602
+ }, Co = [
595
603
  "id",
596
604
  "type"
597
- ], yo = {
598
- $schema: so,
599
- $id: uo,
600
- title: co,
601
- description: po,
602
- type: fo,
603
- properties: mo,
604
- required: vo
605
- }, go = "filter-bar", ho = "A Farris Component", bo = "object", Co = {
605
+ ], To = {
606
+ $schema: mo,
607
+ $id: vo,
608
+ title: yo,
609
+ description: go,
610
+ type: ho,
611
+ properties: bo,
612
+ required: Co
613
+ }, So = "filter-bar", Fo = "A Farris Component", wo = "object", xo = {
606
614
  basic: {
607
615
  description: "Basic Infomation",
608
616
  title: "基本信息",
@@ -794,11 +802,11 @@ const so = "https://json-schema.org/draft/2020-12/schema", uo = "https://farris-
794
802
  }
795
803
  }
796
804
  }
797
- }, To = {
798
- title: go,
799
- description: ho,
800
- type: bo,
801
- categories: Co
805
+ }, Bo = {
806
+ title: So,
807
+ description: Fo,
808
+ type: wo,
809
+ categories: xo
802
810
  }, he = {
803
811
  /** 被绑定数据 */
804
812
  data: {
@@ -826,8 +834,8 @@ const so = "https://json-schema.org/draft/2020-12/schema", uo = "https://farris-
826
834
  resetText: { type: String, default: "清空已选" },
827
835
  /** 是否显示重置 */
828
836
  showReset: { type: Boolean, default: !1 }
829
- }, Te = Z(he, yo, io, ro, To);
830
- class So {
837
+ }, Te = Z(he, To, po, fo, Bo);
838
+ class ko {
831
839
  constructor(t = { value: [] }) {
832
840
  V(this, "editorType", "check-box");
833
841
  V(this, "value");
@@ -847,7 +855,7 @@ class So {
847
855
  return this.value.length === 0;
848
856
  }
849
857
  }
850
- class Fo {
858
+ class Po {
851
859
  constructor(t = { textValue: "", value: "", valueField: "" }) {
852
860
  V(this, "editorType", "combo-lookup");
853
861
  V(this, "textValue");
@@ -881,7 +889,7 @@ class Fo {
881
889
  return !this.valueField;
882
890
  }
883
891
  }
884
- class wo {
892
+ class Io {
885
893
  constructor(t = { value: "" }) {
886
894
  V(this, "editorType", "date-picker");
887
895
  V(this, "value");
@@ -922,7 +930,7 @@ class Se {
922
930
  return !this.begin || !this.end;
923
931
  }
924
932
  }
925
- class xo {
933
+ class Vo {
926
934
  constructor(t = { value: "" }) {
927
935
  V(this, "editorType", "datetime-picker");
928
936
  V(this, "value");
@@ -942,7 +950,7 @@ class xo {
942
950
  return !this.value;
943
951
  }
944
952
  }
945
- class Bo {
953
+ class Mo {
946
954
  // 旧结构无,新结构为选中的value值,多选是以,分割的字符串
947
955
  constructor(t = { value: "", dispalyText: "" }) {
948
956
  V(this, "editorType", "combo-list");
@@ -965,7 +973,7 @@ class Bo {
965
973
  return !this.displayText;
966
974
  }
967
975
  }
968
- class ko {
976
+ class Eo {
969
977
  constructor(t = { value: [], displayText: "", displayField: "", isInputText: !1 }) {
970
978
  V(this, "editorType", "input-group");
971
979
  // 通过弹窗返回的若干个值对象构成的数组
@@ -1004,7 +1012,7 @@ class ko {
1004
1012
  return !this.displayText;
1005
1013
  }
1006
1014
  }
1007
- class Po {
1015
+ class $o {
1008
1016
  constructor(t = { textValue: "", value: [], valueField: "", isInputText: !1 }) {
1009
1017
  V(this, "editorType", "lookup");
1010
1018
  V(this, "textValue");
@@ -1040,7 +1048,7 @@ class Po {
1040
1048
  return !this.value.length;
1041
1049
  }
1042
1050
  }
1043
- class Io {
1051
+ class Oo {
1044
1052
  constructor(t = { value: "" }) {
1045
1053
  V(this, "editorType", "month-picker");
1046
1054
  V(this, "value");
@@ -1060,7 +1068,7 @@ class Io {
1060
1068
  return !this.value;
1061
1069
  }
1062
1070
  }
1063
- class Vo {
1071
+ class Do {
1064
1072
  constructor(t = { begin: "", end: "" }) {
1065
1073
  V(this, "editorType", "month-range");
1066
1074
  V(this, "begin");
@@ -1081,7 +1089,7 @@ class Vo {
1081
1089
  return !this.begin || !this.end;
1082
1090
  }
1083
1091
  }
1084
- class Mo {
1092
+ class Ro {
1085
1093
  constructor(t = { begin: null, end: null }) {
1086
1094
  V(this, "editorType", "number-range");
1087
1095
  V(this, "begin");
@@ -1105,7 +1113,7 @@ class Mo {
1105
1113
  return this.begin == null && this.end == null;
1106
1114
  }
1107
1115
  }
1108
- class Eo {
1116
+ class jo {
1109
1117
  constructor(t = { value: "" }) {
1110
1118
  V(this, "editorType", "number-spinner");
1111
1119
  V(this, "value");
@@ -1125,7 +1133,7 @@ class Eo {
1125
1133
  return this.value == null;
1126
1134
  }
1127
1135
  }
1128
- class $o {
1136
+ class Lo {
1129
1137
  constructor(t = { value: null }) {
1130
1138
  V(this, "editorType", "radio-group");
1131
1139
  V(this, "value");
@@ -1145,7 +1153,7 @@ class $o {
1145
1153
  return !this.value;
1146
1154
  }
1147
1155
  }
1148
- class Oo {
1156
+ class Ao {
1149
1157
  constructor(t = { value: "" }) {
1150
1158
  V(this, "editorType", "text");
1151
1159
  V(this, "value");
@@ -1165,45 +1173,45 @@ class Oo {
1165
1173
  return !this.value;
1166
1174
  }
1167
1175
  }
1168
- function Do() {
1176
+ function No() {
1169
1177
  function e(t, n) {
1170
1178
  switch (t) {
1171
1179
  case "check-box":
1172
- return new So(n);
1180
+ return new ko(n);
1173
1181
  case "combo-list":
1174
- return new Bo(n);
1182
+ return new Mo(n);
1175
1183
  case "combo-lookup":
1176
- return new Fo(n);
1184
+ return new Po(n);
1177
1185
  case "input-group":
1178
- return new ko(n);
1186
+ return new Eo(n);
1179
1187
  case "date-picker":
1180
- return new wo(n);
1188
+ return new Io(n);
1181
1189
  case "date-range":
1182
1190
  return new Se(n);
1183
1191
  case "datetime-picker":
1184
- return new xo(n);
1192
+ return new Vo(n);
1185
1193
  case "datetime-range":
1186
1194
  return new Se(n);
1187
1195
  case "lookup":
1188
- return new Po(n);
1196
+ return new $o(n);
1189
1197
  case "month-picker":
1190
- return new Io(n);
1198
+ return new Oo(n);
1191
1199
  case "month-range":
1192
- return new Vo(n);
1200
+ return new Do(n);
1193
1201
  case "number-range":
1194
- return new Mo(n);
1202
+ return new Ro(n);
1195
1203
  case "number-spinner":
1196
- return new Eo(n);
1204
+ return new jo(n);
1197
1205
  case "radio-group":
1198
- return new $o(n);
1206
+ return new Lo(n);
1199
1207
  default:
1200
- return new Oo(n);
1208
+ return new Ao(n);
1201
1209
  }
1202
1210
  }
1203
1211
  return { createConditionValue: e };
1204
1212
  }
1205
1213
  function Oe(e, t) {
1206
- const n = m([]), o = m([]), a = m([]), s = m(""), f = m(!1), g = m(e.mode), u = /* @__PURE__ */ new Map(), r = Do();
1214
+ const n = m([]), o = m([]), a = m([]), s = m(""), f = m(!1), g = m(e.mode), u = /* @__PURE__ */ new Map(), r = No();
1207
1215
  function v(C) {
1208
1216
  return !f.value && g.value === "display-only" && !!C.hasValue && !!C.displayText;
1209
1217
  }
@@ -1332,7 +1340,7 @@ function je(e, t, n) {
1332
1340
  onClick: (p) => c()
1333
1341
  }, [f.value])]);
1334
1342
  }
1335
- const re = /* @__PURE__ */ _({
1343
+ const re = /* @__PURE__ */ z({
1336
1344
  name: "FFilterBar",
1337
1345
  props: he,
1338
1346
  emits: ["Clear", "Remove", "Reset"],
@@ -1369,7 +1377,7 @@ const re = /* @__PURE__ */ _({
1369
1377
  }, [c.value && y(), h.value && P(), I.value && C()])])])]);
1370
1378
  }
1371
1379
  });
1372
- function Ro(e, t, n) {
1380
+ function qo(e, t, n) {
1373
1381
  var S;
1374
1382
  function o() {
1375
1383
  }
@@ -1451,7 +1459,7 @@ function Ro(e, t, n) {
1451
1459
  triggerBelongedComponentToDeleteWhenDeleted: m(!1)
1452
1460
  }, f;
1453
1461
  }
1454
- const jo = /* @__PURE__ */ _({
1462
+ const Go = /* @__PURE__ */ z({
1455
1463
  name: "FFilterBarDesign",
1456
1464
  props: he,
1457
1465
  emits: ["Clear", "Remove", "Reset"],
@@ -1462,7 +1470,7 @@ const jo = /* @__PURE__ */ _({
1462
1470
  loadFilterItems: r
1463
1471
  } = f, v = B(() => ({
1464
1472
  display: g.value && g.value.length ? "" : "none"
1465
- })), l = m(), d = de("design-item-context"), c = Ro(l, d);
1473
+ })), l = m(), d = de("design-item-context"), c = qo(l, d);
1466
1474
  K(() => {
1467
1475
  l.value.componentInstance = c;
1468
1476
  }), t.expose(c.value), H([() => e.data, () => e.fields], ([F, x]) => {
@@ -1490,18 +1498,18 @@ const jo = /* @__PURE__ */ _({
1490
1498
  class: "f-filter-list-wrapper"
1491
1499
  }, [h.value && I(), C.value && T(), S.value && w()])])])]);
1492
1500
  }
1493
- }), Lo = "https://json-schema.org/draft/2020-12/schema", Ao = "https://farris-design.gitee.io/query-solution-config.schema.json", No = "query-solution-config", qo = "A Farris Container Component", Go = {
1501
+ }), Ho = "https://json-schema.org/draft/2020-12/schema", Wo = "https://farris-design.gitee.io/query-solution-config.schema.json", _o = "query-solution-config", zo = "A Farris Container Component", Uo = {
1494
1502
  fields: {
1495
1503
  description: "The unique identifier for a query solution",
1496
1504
  type: "array"
1497
1505
  }
1498
- }, Ho = {
1499
- $schema: Lo,
1500
- $id: Ao,
1501
- title: No,
1502
- description: qo,
1503
- properties: Go
1504
- }, Wo = "query-solution-config", _o = "A Farris Component", zo = "object", Uo = {
1506
+ }, Qo = {
1507
+ $schema: Ho,
1508
+ $id: Wo,
1509
+ title: _o,
1510
+ description: zo,
1511
+ properties: Uo
1512
+ }, Ko = "query-solution-config", Xo = "A Farris Component", Jo = "object", Zo = {
1505
1513
  basic: {
1506
1514
  description: "Basic Infomation",
1507
1515
  title: "基本信息",
@@ -1586,15 +1594,15 @@ const jo = /* @__PURE__ */ _({
1586
1594
  properties: {}
1587
1595
  }
1588
1596
  }, ce = {
1589
- title: Wo,
1590
- description: _o,
1591
- type: zo,
1592
- categories: Uo
1593
- }, Qo = /* @__PURE__ */ new Map([
1597
+ title: Ko,
1598
+ description: Xo,
1599
+ type: Jo,
1600
+ categories: Zo
1601
+ }, Yo = /* @__PURE__ */ new Map([
1594
1602
  ["appearance", ee]
1595
1603
  // ['preset', resolvePreset]
1596
1604
  ]);
1597
- function Ko(e, t, n) {
1605
+ function ea(e, t, n) {
1598
1606
  return t;
1599
1607
  }
1600
1608
  const Le = {
@@ -1602,8 +1610,8 @@ const Le = {
1602
1610
  modelValue: { type: Array, default: [] },
1603
1611
  source: { type: String, default: "query-solution" }
1604
1612
  };
1605
- Z(Le, Ho, Qo, Ko, ce);
1606
- const Xo = {
1613
+ Z(Le, Qo, Yo, ea, ce);
1614
+ const ta = {
1607
1615
  width: { type: String, default: "300px" },
1608
1616
  height: { type: Number, default: 10 },
1609
1617
  isWidePanel: { type: Boolean, default: !1 },
@@ -1631,7 +1639,7 @@ const Xo = {
1631
1639
  schema: { type: Object, default: {} },
1632
1640
  /** 属性变更后事件 */
1633
1641
  propertyChanged: { type: Function }
1634
- }, Jo = {
1642
+ }, na = {
1635
1643
  /** 某一分类下的属性配置 */
1636
1644
  // as PropType<ElementPropertyConfig>
1637
1645
  category: { type: Object, default: {} },
@@ -1640,12 +1648,12 @@ const Xo = {
1640
1648
  propertyData: { type: Object, default: {} },
1641
1649
  valueChanged: { type: Function },
1642
1650
  triggerRefreshPanel: { type: Function }
1643
- }, Zo = {
1651
+ }, oa = {
1644
1652
  elementConfig: { type: Object, default: {} },
1645
1653
  category: { type: Object, default: {} }
1646
- }, Yo = /* @__PURE__ */ new Map([
1654
+ }, aa = /* @__PURE__ */ new Map([
1647
1655
  ["appearance", ee]
1648
- ]), ea = "https://json-schema.org/draft/2020-12/schema", ta = "https://farris-design.gitee.io/form-group.schema.json", na = "form-group", oa = "A Farris Input Component", aa = "object", la = {
1656
+ ]), la = "https://json-schema.org/draft/2020-12/schema", ia = "https://farris-design.gitee.io/form-group.schema.json", ra = "form-group", sa = "A Farris Input Component", ua = "object", ca = {
1649
1657
  id: {
1650
1658
  description: "The unique identifier for a form group",
1651
1659
  type: "string"
@@ -1686,17 +1694,17 @@ const Xo = {
1686
1694
  description: "",
1687
1695
  type: "number"
1688
1696
  }
1689
- }, ia = [
1697
+ }, da = [
1690
1698
  "id",
1691
1699
  "type"
1692
- ], ra = {
1693
- $schema: ea,
1694
- $id: ta,
1695
- title: na,
1696
- description: oa,
1697
- type: aa,
1698
- properties: la,
1699
- required: ia
1700
+ ], pa = {
1701
+ $schema: la,
1702
+ $id: ia,
1703
+ title: ra,
1704
+ description: sa,
1705
+ type: ua,
1706
+ properties: ca,
1707
+ required: da
1700
1708
  }, Ae = {
1701
1709
  id: { type: String, default: "" },
1702
1710
  customClass: { type: String, default: "" },
@@ -1713,18 +1721,18 @@ const Xo = {
1713
1721
  };
1714
1722
  Z(
1715
1723
  Ae,
1716
- ra,
1717
- Yo,
1724
+ pa,
1725
+ aa,
1718
1726
  void 0
1719
1727
  );
1720
- const sa = {
1728
+ const fa = {
1721
1729
  id: { type: String },
1722
1730
  required: { type: Boolean, default: !1 },
1723
1731
  text: { type: String, default: "" },
1724
1732
  title: { type: String }
1725
- }, ua = /* @__PURE__ */ _({
1733
+ }, ma = /* @__PURE__ */ z({
1726
1734
  name: "FDynamicFormLabel",
1727
- props: sa,
1735
+ props: fa,
1728
1736
  emits: [],
1729
1737
  setup(e, t) {
1730
1738
  const n = m(e.title || e.text), o = m(e.required), a = m(e.text);
@@ -1741,13 +1749,13 @@ const sa = {
1741
1749
  class: "farris-label-text"
1742
1750
  }, [a.value])]);
1743
1751
  }
1744
- }), ca = /* @__PURE__ */ new Map([
1752
+ }), va = /* @__PURE__ */ new Map([
1745
1753
  ["appearance", ee]
1746
1754
  ]);
1747
- function da(e, t, n) {
1755
+ function ya(e, t, n) {
1748
1756
  return t;
1749
1757
  }
1750
- const pa = "https://json-schema.org/draft/2020-12/schema", fa = "https://farris-design.gitee.io/input-group.schema.json", ma = "input-group", va = "A Farris Input Component", ya = "object", ga = {
1758
+ const ga = "https://json-schema.org/draft/2020-12/schema", ha = "https://farris-design.gitee.io/input-group.schema.json", ba = "input-group", Ca = "A Farris Input Component", Ta = "object", Sa = {
1751
1759
  id: {
1752
1760
  description: "The unique identifier for a Input Group",
1753
1761
  type: "string"
@@ -1949,17 +1957,17 @@ const pa = "https://json-schema.org/draft/2020-12/schema", fa = "https://farris-
1949
1957
  type: "string",
1950
1958
  default: ""
1951
1959
  }
1952
- }, ha = [
1960
+ }, Fa = [
1953
1961
  "id",
1954
1962
  "type"
1955
- ], ba = {
1956
- $schema: pa,
1957
- $id: fa,
1958
- title: ma,
1959
- description: va,
1960
- type: ya,
1961
- properties: ga,
1962
- required: ha
1963
+ ], wa = {
1964
+ $schema: ga,
1965
+ $id: ha,
1966
+ title: ba,
1967
+ description: Ca,
1968
+ type: Ta,
1969
+ properties: Sa,
1970
+ required: Fa
1963
1971
  }, Ne = {
1964
1972
  /** 是否自动完成 */
1965
1973
  autocomplete: { Type: String, default: "off" },
@@ -2027,8 +2035,8 @@ const pa = "https://json-schema.org/draft/2020-12/schema", fa = "https://farris-
2027
2035
  */
2028
2036
  updateOn: { type: String, default: "blur" }
2029
2037
  };
2030
- Z(Ne, ba, ca, da);
2031
- function Ca(e, t, n, o) {
2038
+ Z(Ne, wa, va, ya);
2039
+ function xa(e, t, n, o) {
2032
2040
  const a = m(e.disabled), s = m(!1), f = m("text"), g = m(e.showBorder), u = m(e.textAlign), r = m(e.updateOn), v = B(() => e.editable || !e.readonly), l = B(() => e.editable && !e.disabled && !e.readonly), d = B(() => !e.disabled && s.value), c = B(() => n.value === "" || n.value === null || n.value === void 0), p = B(() => (e.disabled || e.readonly) && !e.forcePlaceholder ? "" : e.placeholder), y = B(() => e.readonly || !e.editable), h = B(() => e.enableTitle ? n.value : ""), P = B(() => ({
2033
2041
  "form-control": !0,
2034
2042
  "f-utils-fill": !0,
@@ -2044,7 +2052,7 @@ function Ca(e, t, n, o) {
2044
2052
  "f-state-readonly": y.value,
2045
2053
  "f-state-focus": d.value
2046
2054
  };
2047
- return (e.customClass || "").split(" ").reduce((U, G) => (U[G] = !0, U), k), k;
2055
+ return (e.customClass || "").split(" ").reduce((_, G) => (_[G] = !0, _), k), k;
2048
2056
  }), C = B(() => g.value ? "" : "border-width : 0 ");
2049
2057
  function T(k, q = !0) {
2050
2058
  n.value = k, o.value !== k && (o.value = k), q && t.emit("change", k), t.emit("update:modelValue", k), t.emit("update:value", k);
@@ -2111,7 +2119,7 @@ function Ca(e, t, n, o) {
2111
2119
  inputGroupStyle: C
2112
2120
  };
2113
2121
  }
2114
- function Ta(e, t, n) {
2122
+ function Ba(e, t, n) {
2115
2123
  const o = m(!1), a = B(() => e.enableClear && !e.readonly && !e.disabled), { changeTextBoxValue: s, displayText: f, hasFocused: g, isEmpty: u } = n;
2116
2124
  function r(y) {
2117
2125
  o.value = y;
@@ -2137,8 +2145,8 @@ function Ta(e, t, n) {
2137
2145
  }
2138
2146
  return { clearButtonClass: v, clearButtonStyle: l, hasShownClearButton: o, onClearValue: d, onMouseEnter: c, onMouseLeave: p, shouldShowClearButton: a };
2139
2147
  }
2140
- const Sa = ["moz", "ms", "webkit"];
2141
- function Fa() {
2148
+ const ka = ["moz", "ms", "webkit"];
2149
+ function Pa() {
2142
2150
  let e = 0;
2143
2151
  return (t) => {
2144
2152
  const n = (/* @__PURE__ */ new Date()).getTime(), o = Math.max(0, 16 - (n - e)), a = setTimeout(() => {
@@ -2147,23 +2155,23 @@ function Fa() {
2147
2155
  return e = n + o, a;
2148
2156
  };
2149
2157
  }
2150
- function wa() {
2158
+ function Ia() {
2151
2159
  if (typeof window > "u")
2152
2160
  return () => 0;
2153
2161
  if (window.requestAnimationFrame)
2154
2162
  return window.requestAnimationFrame.bind(window);
2155
- const e = Sa.filter((t) => `${t}RequestAnimationFrame` in window)[0];
2156
- return e ? window[`${e}RequestAnimationFrame`] : Fa();
2163
+ const e = ka.filter((t) => `${t}RequestAnimationFrame` in window)[0];
2164
+ return e ? window[`${e}RequestAnimationFrame`] : Pa();
2157
2165
  }
2158
- wa();
2159
- function xa(e, t) {
2166
+ Ia();
2167
+ function Va(e, t) {
2160
2168
  const n = m(e.groupText), o = B(() => e.showButtonWhenDisabled && (e.readonly || e.disabled)), a = B(() => e.enableClear || !!e.groupText);
2161
2169
  return { appendedButtonClass: B(() => ({
2162
2170
  "input-group-append": !0,
2163
2171
  "append-force-show": o.value
2164
2172
  })), appendedContent: n, shouldShowAppendedButton: a };
2165
2173
  }
2166
- function Ba(e, t, n, o) {
2174
+ function Ma(e, t, n, o) {
2167
2175
  const { appendedContent: a } = o, s = m(e.enableViewPassword), f = B(() => 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>', r = m(!1);
2168
2176
  H(() => [e.readonly, e.disabled], ([d, c]) => {
2169
2177
  f.value && (n.value = d || c ? "password" : n.value, a.value = d || c ? u : a.value);
@@ -2176,7 +2184,7 @@ function Ba(e, t, n, o) {
2176
2184
  }
2177
2185
  return l(), { isPassword: f, onClickAppendedButton: v };
2178
2186
  }
2179
- function ka(e, t, n) {
2187
+ function Ea(e, t, n) {
2180
2188
  const o = m(), {
2181
2189
  onBlurTextBox: a,
2182
2190
  onFocusTextBox: s,
@@ -2216,7 +2224,7 @@ function ka(e, t, n) {
2216
2224
  onKeydown: g
2217
2225
  }, null);
2218
2226
  }
2219
- function Pa(e, t, n) {
2227
+ function $a(e, t, n) {
2220
2228
  const {
2221
2229
  canDownward: o,
2222
2230
  canUpward: a,
@@ -2257,12 +2265,12 @@ function Pa(e, t, n) {
2257
2265
  class: "f-icon f-icon-arrow-chevron-down number-arrow-chevron"
2258
2266
  }, null)])]);
2259
2267
  }
2260
- function Ia(e, t) {
2261
- const n = gt(e, t), o = ht(e, t, n), a = bt(e, t, o, n), s = Ct(e, t, o, n, a), f = Pa(e, t, a), {
2268
+ function Oa(e, t) {
2269
+ const n = bt(e, t), o = Ct(e, t, n), a = Tt(e, t, o, n), s = St(e, t, o, n, a), f = $a(e, t, a), {
2262
2270
  displayValue: g,
2263
2271
  modelValue: u,
2264
2272
  getRealValue: r
2265
- } = n, v = ka(e, t, s), {
2273
+ } = n, v = Ea(e, t, s), {
2266
2274
  format: l
2267
2275
  } = o, {
2268
2276
  isFocus: d
@@ -2281,7 +2289,7 @@ function Ia(e, t) {
2281
2289
  class: "input-group f-state-hover flex-row f-cmp-number-spinner"
2282
2290
  }, [v(), c.value && f()]);
2283
2291
  }
2284
- function Va(e, t, n, o) {
2292
+ function Da(e, t, n, o) {
2285
2293
  const a = m(), s = m(e.autocomplete), f = m(e.enableTitle), {
2286
2294
  isPassword: g
2287
2295
  } = n, u = m(e.minLength), r = m(e.maxLength), v = m(e.tabIndex), {
@@ -2327,8 +2335,8 @@ function Va(e, t, n, o) {
2327
2335
  onMousedown: T
2328
2336
  }, null);
2329
2337
  }
2330
- function Ma(e, t) {
2331
- const n = B(() => e.useExtendInfo && !!e.extendInfo), o = rt({
2338
+ function Ra(e, t) {
2339
+ const n = B(() => e.useExtendInfo && !!e.extendInfo), o = st({
2332
2340
  content: e.extendInfo
2333
2341
  });
2334
2342
  function a() {
@@ -2341,9 +2349,9 @@ function Ma(e, t) {
2341
2349
  class: "f-icon f-icon-info-circle"
2342
2350
  }, null), i("b", {
2343
2351
  class: "tips-arrow"
2344
- }, null)]), [[st("tooltip"), o]]);
2352
+ }, null)]), [[ut("tooltip"), o]]);
2345
2353
  }
2346
- function Ea(e, t, n, o, a) {
2354
+ function ja(e, t, n, o, a) {
2347
2355
  const {
2348
2356
  appendedButtonClass: s,
2349
2357
  appendedContent: f
@@ -2395,21 +2403,21 @@ function Ea(e, t, n, o, a) {
2395
2403
  class: s.value
2396
2404
  }, [c.value && p(), w && w()]);
2397
2405
  }
2398
- const $a = /* @__PURE__ */ _({
2406
+ const La = /* @__PURE__ */ z({
2399
2407
  name: "FInputGroup",
2400
2408
  props: Ne,
2401
2409
  emits: ["clear", "change", "blur", "click", "clickHandle", "focus", "input", "keydown", "keyup", "iconMouseEnter", "iconMouseLeave", "update:modelValue", "update:value", "updateExtendInfo", "valueChange"],
2402
2410
  setup(e, t) {
2403
- const n = m(e.modelValue), o = m(e.modelValue), a = Ca(e, t, n, o), {
2411
+ const n = m(e.modelValue), o = m(e.modelValue), a = xa(e, t, n, o), {
2404
2412
  inputGroupClass: s,
2405
2413
  inputType: f,
2406
2414
  inputGroupStyle: g
2407
- } = a, u = xa(e), {
2415
+ } = a, u = Va(e), {
2408
2416
  shouldShowAppendedButton: r
2409
- } = u, v = Ta(e, t, a), {
2417
+ } = u, v = Ba(e, t, a), {
2410
2418
  onMouseEnter: l,
2411
2419
  onMouseLeave: d
2412
- } = v, c = Ba(e, t, f, u), p = Ia(e, t), y = Va(e, t, c, a), h = Ea(e, t, u, v, c), P = Ma(e, t), I = B(() => e.type === "number");
2420
+ } = v, c = Ma(e, t, f, u), p = Oa(e, t), y = Da(e, t, c, a), h = ja(e, t, u, v, c), P = Ra(e, t), I = B(() => e.type === "number");
2413
2421
  H(() => [e.value], ([T]) => {
2414
2422
  n.value = T, o.value = T;
2415
2423
  }), H(() => [e.modelValue], ([T]) => {
@@ -2428,17 +2436,17 @@ const $a = /* @__PURE__ */ _({
2428
2436
  }
2429
2437
  }), E = {}, $ = {}, O = {}, D = {};
2430
2438
  let Fe = !1;
2431
- function Oa() {
2432
- Fe || (Fe = !0, St.register(E, $, O, D), Tt.register(E, $, O, D), Ft.register(E, $, O, D), wt.register(E, $, O, D), xt.register(E, $, O, D), Bt.register(E, $, O, D), kt.register(E, $, O, D), Pt.register(E, $, O, D), It.register(E, $, O, D), Mt.register(E, $, O, D), Vt.register(E, $, O, D), Et.register(E, $, O, D), $t.register(E, $, O, D), Ot.register(E, $, O, D), Dt.register(E, $, O, D), Rt.register(E, $, O, D), jt.register(E, $, O, D), Lt.register(E, $, O, D), At.register(E, $, O, D), Nt.register(E, $, O, D), qt.register(E, $, O, D), Ht.register(E, $, O, D), Gt.register(E, $, O, D), Wt.register(E, $, O, D), _t.register(E, $, O, D), zt.register(E, $, O, D), Ut.register(E, $, O, D), yt.register(E, $, O, D), Qt.register(E, $, O, D), Kt.register(E, $, O, D), Xt.register(E, $, O, D), Jt.register(E, $, O, D), Zt.register(E, $, O, D), Yt.register(E, $, O, D), en.register(E, $, O, D), tn.register(E, $, O, D), on.register(E, $, O, D), an.register(E, $, O, D), nn.register(E, $, O, D), Sn.register(E, $, O), ln.register(E, $, O, D), rn.register(E, $, O, D), sn.register(E, $, O, D), un.register(E, $, O, D), cn.register(E, $, O, D), dn.register(E, $, O, D), pn.register(E, $, O, D), Ie.register(E, $, O, D), fn.register(E, $, O, D), mn.register(E, $, O, D), vn.register(E, $, O, D), yn.register(E, $, O, D), hn.register(E, $, O, D), gn.register(E, $, O, D), bn.register(E, $, O, D), Cn.register(E, $, O, D), Tn.register(E, $, O, D));
2439
+ function Aa() {
2440
+ Fe || (Fe = !0, wt.register(E, $, O, D), Ft.register(E, $, O, D), xt.register(E, $, O, D), Bt.register(E, $, O, D), kt.register(E, $, O, D), Pt.register(E, $, O, D), It.register(E, $, O, D), Vt.register(E, $, O, D), Mt.register(E, $, O, D), Et.register(E, $, O, D), Ot.register(E, $, O, D), $t.register(E, $, O, D), Dt.register(E, $, O, D), Rt.register(E, $, O, D), jt.register(E, $, O, D), Lt.register(E, $, O, D), At.register(E, $, O, D), Nt.register(E, $, O, D), qt.register(E, $, O, D), Gt.register(E, $, O, D), Ht.register(E, $, O, D), Wt.register(E, $, O, D), zt.register(E, $, O, D), _t.register(E, $, O, D), Ut.register(E, $, O, D), Qt.register(E, $, O, D), Kt.register(E, $, O, D), Xt.register(E, $, O, D), ht.register(E, $, O, D), Jt.register(E, $, O, D), Zt.register(E, $, O, D), Yt.register(E, $, O, D), en.register(E, $, O, D), tn.register(E, $, O, D), nn.register(E, $, O, D), on.register(E, $, O, D), an.register(E, $, O, D), rn.register(E, $, O, D), sn.register(E, $, O, D), ln.register(E, $, O, D), xn.register(E, $, O), un.register(E, $, O, D), cn.register(E, $, O, D), dn.register(E, $, O, D), pn.register(E, $, O, D), fn.register(E, $, O, D), mn.register(E, $, O, D), vn.register(E, $, O, D), Ie.register(E, $, O, D), yn.register(E, $, O, D), gn.register(E, $, O, D), hn.register(E, $, O, D), bn.register(E, $, O, D), Tn.register(E, $, O, D), Cn.register(E, $, O, D), Sn.register(E, $, O, D), Fn.register(E, $, O, D), wn.register(E, $, O, D), Bn.register(E, $, O, D));
2433
2441
  }
2434
- function Da() {
2435
- Oa();
2442
+ function Na() {
2443
+ Aa();
2436
2444
  function e(a, s) {
2437
2445
  const f = $[a];
2438
2446
  return f ? f(s) : {};
2439
2447
  }
2440
2448
  function t(a) {
2441
- return E[a] || $a;
2449
+ return E[a] || La;
2442
2450
  }
2443
2451
  function n(a) {
2444
2452
  switch (a) {
@@ -2449,6 +2457,7 @@ function Da() {
2449
2457
  case "check-group":
2450
2458
  return "onChangeValue";
2451
2459
  case "combo-list":
2460
+ case "combo-tree":
2452
2461
  return "onChange";
2453
2462
  case "combo-lookup":
2454
2463
  return "";
@@ -2503,7 +2512,7 @@ function Da() {
2503
2512
  }
2504
2513
  return { resolveEditorProps: e, resolveEditorType: t, getChangeFunctionName: n, getClearFunctionName: o };
2505
2514
  }
2506
- const Ra = /* @__PURE__ */ _({
2515
+ const qa = /* @__PURE__ */ z({
2507
2516
  name: "FDynamicFormGroup",
2508
2517
  props: Ae,
2509
2518
  emits: ["change", "update:modelValue"],
@@ -2515,7 +2524,7 @@ const Ra = /* @__PURE__ */ _({
2515
2524
  resolveEditorType: c,
2516
2525
  getChangeFunctionName: p,
2517
2526
  getClearFunctionName: y
2518
- } = Da(), h = B(() => ({
2527
+ } = Na(), h = B(() => ({
2519
2528
  "form-group": !0,
2520
2529
  "farris-form-group": !0,
2521
2530
  "common-group": !0,
@@ -2547,7 +2556,7 @@ const Ra = /* @__PURE__ */ _({
2547
2556
  class: "farris-group-wrap"
2548
2557
  }, [i("div", {
2549
2558
  class: h.value
2550
- }, [r.value && i(ua, {
2559
+ }, [r.value && i(ma, {
2551
2560
  id: `${n.value}-lable`,
2552
2561
  required: u.value,
2553
2562
  text: s.value,
@@ -2556,9 +2565,9 @@ const Ra = /* @__PURE__ */ _({
2556
2565
  class: "farris-input-wrap"
2557
2566
  }, [C.value()])])])]);
2558
2567
  }
2559
- }), ja = /* @__PURE__ */ _({
2568
+ }), Ga = /* @__PURE__ */ z({
2560
2569
  name: "FPropertyPanelItem",
2561
- props: Zo,
2570
+ props: oa,
2562
2571
  emits: ["propertyChange", "triggerRefreshPanel"],
2563
2572
  setup(e, t) {
2564
2573
  var r;
@@ -2586,7 +2595,7 @@ const Ra = /* @__PURE__ */ _({
2586
2595
  }
2587
2596
  return () => i("div", {
2588
2597
  class: g.value
2589
- }, [i(Ra, {
2598
+ }, [i(qa, {
2590
2599
  id: o.value,
2591
2600
  customClass: `${n.value}-${o.value}`,
2592
2601
  label: a.value,
@@ -2596,9 +2605,9 @@ const Ra = /* @__PURE__ */ _({
2596
2605
  editorParams: e.elementConfig.editorParams
2597
2606
  }, null)]);
2598
2607
  }
2599
- }), La = /* @__PURE__ */ _({
2608
+ }), Ha = /* @__PURE__ */ z({
2600
2609
  name: "FPropertyPanelItemList",
2601
- props: Jo,
2610
+ props: na,
2602
2611
  emits: ["valueChanged", "submitModal", "triggerRefreshPanel"],
2603
2612
  setup(e, t) {
2604
2613
  const n = m(e.category);
@@ -2659,7 +2668,7 @@ const Ra = /* @__PURE__ */ _({
2659
2668
  function v(c) {
2660
2669
  return i("div", {
2661
2670
  class: "px-2 mb-2"
2662
- }, [i(ja, {
2671
+ }, [i(Ga, {
2663
2672
  key: g(c),
2664
2673
  elementConfig: c,
2665
2674
  category: n.value,
@@ -2696,17 +2705,19 @@ const Ra = /* @__PURE__ */ _({
2696
2705
  }
2697
2706
  return () => i(J, null, [n.value.properties.map((c) => d(c)(c))]);
2698
2707
  }
2699
- }), Aa = /* @__PURE__ */ _({
2708
+ }), Wa = /* @__PURE__ */ z({
2700
2709
  name: "FPropertyPanel",
2701
- props: Xo,
2710
+ props: ta,
2702
2711
  emits: ["propertyChanged"],
2703
2712
  setup(e, t) {
2704
2713
  const n = m(e.width), o = m(e.isWidePanel), a = m(e.enableSearch), s = m(e.mode), f = m(e.isPersitOpenState), g = m(e.isShowPanel), u = m(), r = m(), v = m(e.showCloseBtn), l = m(e.selectedTabId), d = m(!0), c = m(e.isWhiteTheme);
2705
2714
  let p = [], y = [];
2706
2715
  const h = m(""), P = m(), I = m(), C = de("SchemaService");
2707
2716
  let T = [], S = null, w = "";
2708
- const F = m();
2709
- function x() {
2717
+ const F = m(), {
2718
+ proxy: x
2719
+ } = ct();
2720
+ function b() {
2710
2721
  y = [], F.value && F.value.categoryList && Array.isArray(F.value.categoryList) && F.value.categoryList.length > 0 && F.value.categoryList.forEach((j) => {
2711
2722
  if (j.properties.forEach((L) => L.categoryId = j.categoryId), j.properties && Array.isArray(j.properties) && j.properties.length > 0) {
2712
2723
  const L = j.properties.map((W) => (W.category = j, W));
@@ -2714,72 +2725,72 @@ const Ra = /* @__PURE__ */ _({
2714
2725
  }
2715
2726
  });
2716
2727
  }
2717
- function b(A) {
2728
+ function R(A) {
2718
2729
  let j = A.offsetTop, L = A.offsetParent;
2719
2730
  for (; L !== null; )
2720
2731
  j += L.offsetTop, L = L.offsetParent;
2721
2732
  return j;
2722
2733
  }
2723
- function R(A, j) {
2734
+ function M(A, j) {
2724
2735
  A && j && Object.keys(j).length > 0 && Object.keys(j).forEach((L) => {
2725
2736
  var X;
2726
2737
  const W = j[L];
2727
2738
  (X = A.style) == null || X.setProperty(L, W);
2728
2739
  });
2729
2740
  }
2730
- function M() {
2741
+ function N() {
2731
2742
  return y.filter((j) => j.visible ? !!(j.propertyID && j.propertyID.startsWith(h.value) || j.propertyName && (j.propertyName.startsWith(h.value) || j.propertyName.includes(h.value))) : !1);
2732
2743
  }
2733
- function N(A, j, L) {
2744
+ function k(A, j, L) {
2734
2745
  if (A === 0) {
2735
- const W = b(j), le = b(L) - W - 5;
2746
+ const W = R(j), le = R(L) - W - 5;
2736
2747
  j == null || j.scroll({
2737
2748
  top: le,
2738
2749
  behavior: "smooth"
2739
2750
  });
2740
2751
  }
2741
2752
  }
2742
- function k(A) {
2753
+ function q(A) {
2743
2754
  T && T.length > 0 && (T.forEach((L) => {
2744
2755
  L.style.cssText = "";
2745
2756
  }), T = []), h.value = A || h.value;
2746
2757
  const j = document.querySelector(".panel-body");
2747
2758
  if (!h.value)
2748
2759
  P.value && j && (j.scrollTop = 0);
2749
- else if (x(), y && y.length > 0) {
2750
- const L = M();
2760
+ else if (b(), y && y.length > 0) {
2761
+ const L = N();
2751
2762
  L && L.length > 0 && (L[0].category.status === "closed" && (L[0].category.status = "open"), setTimeout(() => {
2752
2763
  L.forEach((W, X) => {
2753
2764
  const le = W.propertyType === "cascade" ? `.${W.categoryId}-${W.propertyID} div.col-form-label` : `.property-item .${W.categoryId}-${W.propertyID} label.col-form-label`, ne = document.querySelector(le);
2754
- ne && (N(X, j, ne), R(ne, {
2765
+ ne && (k(X, j, ne), M(ne, {
2755
2766
  color: "#5B89FE"
2756
2767
  }), T.push(ne));
2757
2768
  });
2758
2769
  }, 50));
2759
2770
  }
2760
2771
  }
2761
- function q(A) {
2762
- k(A);
2772
+ function _(A) {
2773
+ q(A);
2763
2774
  }
2764
- function U(A) {
2775
+ function G(A) {
2765
2776
  const {
2766
2777
  value: j
2767
2778
  } = A.target;
2768
- A.key === "Enter" && q(j);
2779
+ A.key === "Enter" && _(j);
2769
2780
  }
2770
- function G(A) {
2781
+ function U(A) {
2771
2782
  const {
2772
2783
  value: j
2773
2784
  } = A.target;
2774
- q(j);
2785
+ _(j);
2775
2786
  }
2776
- function z() {
2787
+ function _e() {
2777
2788
  f.value || (d.value = !1), t.emit("closePropertyPanel");
2778
2789
  }
2779
2790
  function ae(A) {
2780
- h.value = "", k();
2791
+ h.value = "", q();
2781
2792
  }
2782
- function _e(A) {
2793
+ function ze(A) {
2783
2794
  !A.status || A.status === "open" ? A.status = "closed" : A.status = "open";
2784
2795
  }
2785
2796
  function te() {
@@ -2817,22 +2828,22 @@ const Ra = /* @__PURE__ */ _({
2817
2828
  l.value = (j = F.value) == null ? void 0 : j.tabId;
2818
2829
  }
2819
2830
  H(() => [e.schema, e.isShowPanel], () => {
2820
- r.value = e.schema, u.value = ie(r.value, C, S, w), te(), ae(h.value);
2831
+ r.value = e.schema, u.value = ie(r.value, C, S, w), te(), ae(h.value), x.$forceUpdate();
2821
2832
  }), K(() => {
2822
2833
  te();
2823
2834
  });
2824
- function ze(A, j) {
2835
+ function Ue(A, j) {
2825
2836
  (!r.value || j) && (r.value = j || e.schema), u.value = ie(r.value, C, S, w, A), te(), ae(h.value);
2826
2837
  }
2827
- function Ue(A, j) {
2838
+ function Qe(A, j) {
2828
2839
  S = A, w = j;
2829
2840
  }
2830
2841
  function be() {
2831
2842
  s.value = s.value === "panel" ? "sidebar" : "panel", s.value === "panel" ? (setTimeout(() => {
2832
- q();
2843
+ _();
2833
2844
  }, 100), n.value = "300px") : n.value = "41px";
2834
2845
  }
2835
- function Qe() {
2846
+ function Ke() {
2836
2847
  if (v.value)
2837
2848
  return i("div", {
2838
2849
  class: "title-actions"
@@ -2845,15 +2856,15 @@ const Ra = /* @__PURE__ */ _({
2845
2856
  role: "toolbar"
2846
2857
  }, [i("li", {
2847
2858
  class: "action-item",
2848
- onClick: z
2859
+ onClick: _e
2849
2860
  }, [i("span", {
2850
2861
  class: "f-icon f-icon-close"
2851
2862
  }, null)])])])])]);
2852
2863
  }
2853
- function Ke() {
2864
+ function Xe() {
2854
2865
  u.value = ie(r.value, C, S, w), te();
2855
2866
  }
2856
- function Xe() {
2867
+ function Je() {
2857
2868
  var A;
2858
2869
  if (a.value && ((A = F.value) == null ? void 0 : A.tabId) !== "commands")
2859
2870
  return i("div", {
@@ -2865,7 +2876,7 @@ const Ra = /* @__PURE__ */ _({
2865
2876
  type: "text",
2866
2877
  placeholder: "输入属性名称或编号快速定位",
2867
2878
  autocomplete: "off",
2868
- onKeyup: (j) => U(j),
2879
+ onKeyup: (j) => G(j),
2869
2880
  value: h.value
2870
2881
  }, null), i("div", {
2871
2882
  class: "input-group-append",
@@ -2880,18 +2891,18 @@ const Ra = /* @__PURE__ */ _({
2880
2891
  class: "f-icon modal_close"
2881
2892
  }, null)]), i("span", {
2882
2893
  class: "input-group-text input-group-clear",
2883
- onClick: (j) => G(j)
2894
+ onClick: (j) => U(j)
2884
2895
  }, [i("i", {
2885
2896
  class: "f-icon f-icon-search"
2886
2897
  }, null)])])])]);
2887
2898
  }
2888
- function Je(A) {
2899
+ function Ze(A) {
2889
2900
  return `${e.propertyName}_${A.categoryId}`;
2890
2901
  }
2891
- function Ze(A) {
2902
+ function Ye(A) {
2892
2903
  t.emit("propertyChanged", A);
2893
2904
  }
2894
- function Ye() {
2905
+ function et() {
2895
2906
  var A, j;
2896
2907
  if (F.value)
2897
2908
  return i("div", {
@@ -2902,11 +2913,11 @@ const Ra = /* @__PURE__ */ _({
2902
2913
  "wide-panel": o.value
2903
2914
  }]
2904
2915
  }, [(j = (A = F.value) == null ? void 0 : A.categoryList) == null ? void 0 : j.map((L) => i("li", {
2905
- key: Je(L),
2916
+ key: Ze(L),
2906
2917
  "data-category-id": L == null ? void 0 : L.categoryId
2907
2918
  }, [!L.hide && !L.hideTitle && i("span", {
2908
2919
  class: "group-label",
2909
- onClick: () => _e(L)
2920
+ onClick: () => ze(L)
2910
2921
  }, [i("span", {
2911
2922
  class: ["f-icon mr-2", {
2912
2923
  "f-legend-show": L.status === "closed"
@@ -2915,14 +2926,14 @@ const Ra = /* @__PURE__ */ _({
2915
2926
  }]
2916
2927
  }, null), L.categoryName]), i("div", {
2917
2928
  hidden: L.status === "closed"
2918
- }, [i(La, {
2929
+ }, [i(Ha, {
2919
2930
  category: L,
2920
2931
  propertyData: r.value,
2921
- onTriggerRefreshPanel: Ke,
2922
- onValueChanged: Ze
2932
+ onTriggerRefreshPanel: Xe,
2933
+ onValueChanged: Ye
2923
2934
  }, null)])]))])]);
2924
2935
  }
2925
- function et() {
2936
+ function tt() {
2926
2937
  if (s.value === "sidebar")
2927
2938
  return i("div", {
2928
2939
  class: "side-panel h-100",
@@ -2931,13 +2942,13 @@ const Ra = /* @__PURE__ */ _({
2931
2942
  class: "f-icon f-icon-engineering w-100 icon"
2932
2943
  }, null), i("span", null, [Y("属性")])]);
2933
2944
  }
2934
- function tt() {
2945
+ function nt() {
2935
2946
  return {
2936
2947
  display: d.value ? "block" : "none",
2937
2948
  width: n.value
2938
2949
  };
2939
2950
  }
2940
- function nt() {
2951
+ function ot() {
2941
2952
  return i("div", {
2942
2953
  class: "switcher"
2943
2954
  }, [i("i", {
@@ -2948,33 +2959,33 @@ const Ra = /* @__PURE__ */ _({
2948
2959
  onClick: be
2949
2960
  }, null)]);
2950
2961
  }
2951
- function ot(A) {
2962
+ function at(A) {
2952
2963
  F.value = A, l.value = F.value.tabId, h.value = "";
2953
2964
  }
2954
- function at() {
2965
+ function lt() {
2955
2966
  return p.map((A) => i("div", {
2956
2967
  class: ["title-label", {
2957
2968
  active: F.value && F.value.tabId === A.tabId
2958
2969
  }, {
2959
2970
  hidden: A.hide
2960
2971
  }],
2961
- onClick: () => ot(A)
2972
+ onClick: () => at(A)
2962
2973
  }, [i("span", null, [A.tabName])]));
2963
2974
  }
2964
2975
  return K(() => {
2965
- q(h.value);
2966
- }), ut(() => {
2967
- f.value && (d.value = g.value), te(), q(h.value);
2976
+ _(h.value);
2977
+ }), dt(() => {
2978
+ f.value && (d.value = g.value), te(), _(h.value);
2968
2979
  }), H(F, () => {
2969
2980
  }), t.expose({
2970
- updatePropertyConfig: ze,
2971
- updateDesignerItem: Ue
2981
+ updatePropertyConfig: Ue,
2982
+ updateDesignerItem: Qe
2972
2983
  }), () => i(J, null, [i("div", {
2973
2984
  ref: P,
2974
2985
  class: ["property-panel", {
2975
2986
  "white-theme": c.value
2976
2987
  }],
2977
- style: tt()
2988
+ style: nt()
2978
2989
  }, [i("div", {
2979
2990
  class: "propertyPanel panel flex-column",
2980
2991
  hidden: s.value !== "panel"
@@ -2984,9 +2995,9 @@ const Ra = /* @__PURE__ */ _({
2984
2995
  }, {
2985
2996
  only: p.length === 1
2986
2997
  }]
2987
- }, [at(), Qe()]), Xe(), Ye()]), nt(), et()])]);
2998
+ }, [lt(), Ke()]), Je(), et()]), ot(), tt()])]);
2988
2999
  }
2989
- }), Na = {
3000
+ }), _a = {
2990
3001
  className: {
2991
3002
  description: "样式",
2992
3003
  title: "样式",
@@ -2997,7 +3008,7 @@ const Ra = /* @__PURE__ */ _({
2997
3008
  title: "是否必填",
2998
3009
  type: "boolean"
2999
3010
  }
3000
- }, qa = {
3011
+ }, za = {
3001
3012
  className: {
3002
3013
  description: "样式",
3003
3014
  title: "样式",
@@ -3023,7 +3034,7 @@ const Ra = /* @__PURE__ */ _({
3023
3034
  title: "最小值",
3024
3035
  type: "number"
3025
3036
  }
3026
- }, Ga = {
3037
+ }, Ua = {
3027
3038
  className: {
3028
3039
  description: "样式",
3029
3040
  title: "样式",
@@ -3071,7 +3082,7 @@ const Ra = /* @__PURE__ */ _({
3071
3082
  title: "枚举项",
3072
3083
  type: "string"
3073
3084
  }
3074
- }, Ha = {
3085
+ }, Qa = {
3075
3086
  className: {
3076
3087
  description: "样式",
3077
3088
  title: "样式",
@@ -3127,7 +3138,7 @@ const Ra = /* @__PURE__ */ _({
3127
3138
  title: "面板宽度",
3128
3139
  type: "number"
3129
3140
  }
3130
- }, Wa = {
3141
+ }, Ka = {
3131
3142
  className: {
3132
3143
  description: "样式",
3133
3144
  title: "样式",
@@ -3148,7 +3159,7 @@ const Ra = /* @__PURE__ */ _({
3148
3159
  title: "显示格式",
3149
3160
  type: "string"
3150
3161
  }
3151
- }, _a = {
3162
+ }, Xa = {
3152
3163
  className: {
3153
3164
  description: "样式",
3154
3165
  title: "样式",
@@ -3169,7 +3180,7 @@ const Ra = /* @__PURE__ */ _({
3169
3180
  title: "显示格式",
3170
3181
  type: "string"
3171
3182
  }
3172
- }, za = {
3183
+ }, Ja = {
3173
3184
  className: {
3174
3185
  description: "样式",
3175
3186
  title: "样式",
@@ -3191,7 +3202,7 @@ const Ra = /* @__PURE__ */ _({
3191
3202
  type: "boolean"
3192
3203
  }
3193
3204
  }, we = {
3194
- text: Na,
3205
+ text: _a,
3195
3206
  "single-number": {
3196
3207
  className: {
3197
3208
  description: "样式",
@@ -3219,9 +3230,9 @@ const Ra = /* @__PURE__ */ _({
3219
3230
  type: "number"
3220
3231
  }
3221
3232
  },
3222
- number: qa,
3223
- dropdown: Ga,
3224
- help: Ha,
3233
+ number: za,
3234
+ dropdown: Ua,
3235
+ help: Qa,
3225
3236
  "combolist-help": {
3226
3237
  className: {
3227
3238
  description: "样式",
@@ -3309,7 +3320,7 @@ const Ra = /* @__PURE__ */ _({
3309
3320
  type: "boolean"
3310
3321
  }
3311
3322
  },
3312
- date: Wa,
3323
+ date: Ka,
3313
3324
  "single-date": {
3314
3325
  className: {
3315
3326
  description: "样式",
@@ -3376,7 +3387,7 @@ const Ra = /* @__PURE__ */ _({
3376
3387
  type: "string"
3377
3388
  }
3378
3389
  },
3379
- month: _a,
3390
+ month: Xa,
3380
3391
  "single-year": {
3381
3392
  className: {
3382
3393
  description: "样式",
@@ -3399,7 +3410,7 @@ const Ra = /* @__PURE__ */ _({
3399
3410
  type: "string"
3400
3411
  }
3401
3412
  },
3402
- radio: za,
3413
+ radio: Ja,
3403
3414
  "input-group": {
3404
3415
  className: {
3405
3416
  description: "样式",
@@ -3413,7 +3424,7 @@ const Ra = /* @__PURE__ */ _({
3413
3424
  }
3414
3425
  }
3415
3426
  };
3416
- function Ua(e, t, n, o) {
3427
+ function Za(e, t, n, o) {
3417
3428
  const a = m(), s = m("query-solution-config"), f = m({}), g = m(), u = m(null);
3418
3429
  H(n, (p) => {
3419
3430
  if (p && p.controlType) {
@@ -3609,7 +3620,7 @@ function Ua(e, t, n, o) {
3609
3620
  h.categories.control.properties = we[p], a.value.updatePropertyConfig(h, u.value);
3610
3621
  });
3611
3622
  function c() {
3612
- return i(J, null, [i(Aa, {
3623
+ return i(J, null, [i(Wa, {
3613
3624
  propertyConfig: g.value,
3614
3625
  ref: a,
3615
3626
  propertyName: s.value,
@@ -3625,13 +3636,13 @@ function Ua(e, t, n, o) {
3625
3636
  getBasicSchemaProerty: r
3626
3637
  };
3627
3638
  }
3628
- const Qa = /* @__PURE__ */ new Map([
3639
+ const Ya = /* @__PURE__ */ new Map([
3629
3640
  ["appearance", ee]
3630
3641
  ]);
3631
- function Ka(e, t, n) {
3642
+ function el(e, t, n) {
3632
3643
  return t;
3633
3644
  }
3634
- const Xa = "transfer", Ja = "A Farris Component", Za = "object", Ya = {
3645
+ const tl = "transfer", nl = "A Farris Component", ol = "object", al = {
3635
3646
  basic: {
3636
3647
  description: "Basic Infomation",
3637
3648
  title: "基本信息",
@@ -3653,12 +3664,12 @@ const Xa = "transfer", Ja = "A Farris Component", Za = "object", Ya = {
3653
3664
  }
3654
3665
  }
3655
3666
  }
3656
- }, el = {
3657
- title: Xa,
3658
- description: Ja,
3659
- type: Za,
3660
- categories: Ya
3661
- }, tl = "https://json-schema.org/draft/2020-12/schema", nl = "https://farris-design.gitee.io/transfer.schema.json", ol = "transfer", al = "A Farris Component", ll = "object", il = {
3667
+ }, ll = {
3668
+ title: tl,
3669
+ description: nl,
3670
+ type: ol,
3671
+ categories: al
3672
+ }, il = "https://json-schema.org/draft/2020-12/schema", rl = "https://farris-design.gitee.io/transfer.schema.json", sl = "transfer", ul = "A Farris Component", cl = "object", dl = {
3662
3673
  id: {
3663
3674
  description: "The unique identifier for transfer",
3664
3675
  type: "string"
@@ -3720,17 +3731,17 @@ const Xa = "transfer", Ja = "A Farris Component", Za = "object", Ya = {
3720
3731
  type: "boolean",
3721
3732
  default: !0
3722
3733
  }
3723
- }, rl = [
3734
+ }, pl = [
3724
3735
  "id",
3725
3736
  "type"
3726
- ], sl = {
3727
- $schema: tl,
3728
- $id: nl,
3729
- title: ol,
3730
- description: al,
3731
- type: ll,
3732
- properties: il,
3733
- required: rl
3737
+ ], fl = {
3738
+ $schema: il,
3739
+ $id: rl,
3740
+ title: sl,
3741
+ description: ul,
3742
+ type: cl,
3743
+ properties: dl,
3744
+ required: pl
3734
3745
  }, qe = {
3735
3746
  dataSource: {
3736
3747
  type: Array,
@@ -3744,14 +3755,14 @@ const Xa = "transfer", Ja = "A Farris Component", Za = "object", Ya = {
3744
3755
  selections: { type: Array, default: [] },
3745
3756
  selectionValues: { type: Array, default: [] }
3746
3757
  };
3747
- Z(qe, sl, Qa, Ka, el);
3748
- const ul = /* @__PURE__ */ new Map([
3758
+ Z(qe, fl, Ya, el, ll);
3759
+ const ml = /* @__PURE__ */ new Map([
3749
3760
  ["appearance", ee]
3750
3761
  ]);
3751
- function cl(e, t, n) {
3762
+ function vl(e, t, n) {
3752
3763
  return t;
3753
3764
  }
3754
- const dl = "https://json-schema.org/draft/2020-12/schema", pl = "https://farris-design.gitee.io/list-view.schema.json", fl = "list-view", ml = "A Farris Component", vl = "object", yl = {
3765
+ const yl = "https://json-schema.org/draft/2020-12/schema", gl = "https://farris-design.gitee.io/list-view.schema.json", hl = "list-view", bl = "A Farris Component", Cl = "object", Tl = {
3755
3766
  id: {
3756
3767
  description: "The unique identifier for list-view",
3757
3768
  type: "string"
@@ -3813,18 +3824,18 @@ const dl = "https://json-schema.org/draft/2020-12/schema", pl = "https://farris-
3813
3824
  type: "boolean",
3814
3825
  default: !0
3815
3826
  }
3816
- }, gl = [
3827
+ }, Sl = [
3817
3828
  "id",
3818
3829
  "type"
3819
- ], hl = {
3820
- $schema: dl,
3821
- $id: pl,
3822
- title: fl,
3823
- description: ml,
3824
- type: vl,
3825
- properties: yl,
3826
- required: gl
3827
- }, bl = "list-view", Cl = "A Farris Component", Tl = "object", Sl = {
3830
+ ], Fl = {
3831
+ $schema: yl,
3832
+ $id: gl,
3833
+ title: hl,
3834
+ description: bl,
3835
+ type: Cl,
3836
+ properties: Tl,
3837
+ required: Sl
3838
+ }, wl = "list-view", xl = "A Farris Component", Bl = "object", kl = {
3828
3839
  basic: {
3829
3840
  description: "Basic Infomation",
3830
3841
  title: "基本信息",
@@ -3846,11 +3857,11 @@ const dl = "https://json-schema.org/draft/2020-12/schema", pl = "https://farris-
3846
3857
  }
3847
3858
  }
3848
3859
  }
3849
- }, Fl = {
3850
- title: bl,
3851
- description: Cl,
3852
- type: Tl,
3853
- categories: Sl
3860
+ }, Pl = {
3861
+ title: wl,
3862
+ description: xl,
3863
+ type: Bl,
3864
+ categories: kl
3854
3865
  }, Ge = {
3855
3866
  /** 列集合 */
3856
3867
  columns: {
@@ -3889,10 +3900,12 @@ const dl = "https://json-schema.org/draft/2020-12/schema", pl = "https://farris-
3889
3900
  }
3890
3901
  },
3891
3902
  keepOrder: { type: Boolean, default: !1 },
3892
- disableField: { type: String, default: "disabled" }
3903
+ disableField: { type: String, default: "disabled" },
3904
+ // 搜索启用高亮
3905
+ enableHighlightSearch: { type: Boolean, default: !0 }
3893
3906
  };
3894
- Z(Ge, hl, ul, cl, Fl);
3895
- function wl(e, t) {
3907
+ Z(Ge, Fl, ml, vl, Pl);
3908
+ function Il(e, t) {
3896
3909
  function n(s) {
3897
3910
  const f = [];
3898
3911
  let g = s.nextNode();
@@ -3970,7 +3983,7 @@ function xe(e, t, n, o, a, s, f, g, u, r) {
3970
3983
  renderItem: F
3971
3984
  };
3972
3985
  }
3973
- function xl(e, t, n, o, a, s, f, g, u, r) {
3986
+ function Vl(e, t, n, o, a, s, f, g, u, r) {
3974
3987
  const v = m(e.multiSelect), l = m(e.disableField), {
3975
3988
  onMouseenterItem: d,
3976
3989
  onMouseoverItem: c,
@@ -4017,7 +4030,7 @@ function xl(e, t, n, o, a, s, f, g, u, r) {
4017
4030
  renderItem: T
4018
4031
  };
4019
4032
  }
4020
- function Bl(e, t, n, o, a, s, f, g, u, r) {
4033
+ function Ml(e, t, n, o, a, s, f, g, u, r) {
4021
4034
  const v = m(e.multiSelect), l = m(e.disableField), {
4022
4035
  onMouseenterItem: d,
4023
4036
  onMouseoverItem: c,
@@ -4046,7 +4059,7 @@ function Bl(e, t, n, o, a, s, f, g, u, r) {
4046
4059
  return t.slots.itemContent ? t.slots.itemContent : b;
4047
4060
  }
4048
4061
  const M = R();
4049
- function N(k, q, U) {
4062
+ function N(k, q, _) {
4050
4063
  return i("li", {
4051
4064
  class: h(k, q),
4052
4065
  id: y(k, q),
@@ -4089,7 +4102,7 @@ function Bl(e, t, n, o, a, s, f, g, u, r) {
4089
4102
  renderItem: N
4090
4103
  };
4091
4104
  }
4092
- function kl(e, t, n, o, a, s, f, g, u, r) {
4105
+ function El(e, t, n, o, a, s, f, g, u, r) {
4093
4106
  var y;
4094
4107
  const v = m(((y = e.group) == null ? void 0 : y.groupFields) || []), {
4095
4108
  collpaseGroupIconClass: l
@@ -4115,7 +4128,7 @@ function kl(e, t, n, o, a, s, f, g, u, r) {
4115
4128
  renderItem: p
4116
4129
  };
4117
4130
  }
4118
- function Pl() {
4131
+ function $l() {
4119
4132
  const e = m(-1), t = m(""), n = m(-1), o = m(!1);
4120
4133
  function a(r, v, l) {
4121
4134
  n.value = l;
@@ -4143,7 +4156,7 @@ function Pl() {
4143
4156
  suspendHover: g
4144
4157
  };
4145
4158
  }
4146
- function Il(e, t, n, o) {
4159
+ function Ol(e, t, n, o) {
4147
4160
  const a = m(e.idField), { dataView: s } = n, f = m(-1), g = m(!1), { activeIndex: u, focusedItemId: r, hoverIndex: v, resumeHover: l, suspendHover: d } = o;
4148
4161
  function c(P, I, C) {
4149
4162
  P.stopPropagation(), d(), I && setTimeout(() => {
@@ -4172,7 +4185,7 @@ function Il(e, t, n, o) {
4172
4185
  isDragging: g
4173
4186
  };
4174
4187
  }
4175
- function Vl(e, t, n) {
4188
+ function Dl(e, t, n) {
4176
4189
  const { dataView: o } = n;
4177
4190
  function a(s) {
4178
4191
  if (s > -1 && s < o.value.length) {
@@ -4182,7 +4195,7 @@ function Vl(e, t, n) {
4182
4195
  }
4183
4196
  return { removeItem: a };
4184
4197
  }
4185
- function Ml(e, t, n, o, a, s) {
4198
+ function Rl(e, t, n, o, a, s) {
4186
4199
  const f = m(e.idField), g = m(e.disableField), u = m(e.draggable), r = m(e.itemClass), v = m(e.selection.multiSelect ?? !1), l = m(e.selection.multiSelectMode);
4187
4200
  m(!0);
4188
4201
  const { isDragging: d } = o, { activeIndex: c, focusedItemId: p, hoverIndex: y } = a, { clearSelection: h, getSelectedItems: P, toggleSelectItem: I } = s, C = m(P());
@@ -4196,7 +4209,7 @@ function Ml(e, t, n, o, a, s) {
4196
4209
  "f-listview-hover": !d.value && N === y.value,
4197
4210
  moving: !!M.moving
4198
4211
  };
4199
- return r.value.split(" ").reduce((U, G) => (U[G] = !0, U), k), k;
4212
+ return r.value.split(" ").reduce((_, G) => (_[G] = !0, _), k), k;
4200
4213
  }
4201
4214
  function S(M, N) {
4202
4215
  return M.raw[f.value] || "";
@@ -4220,20 +4233,20 @@ function Ml(e, t, n, o, a, s) {
4220
4233
  onClickItem: R
4221
4234
  };
4222
4235
  }
4223
- function El(e, t, n, o, a, s, f) {
4224
- const g = m(e.view), u = m(e.view === "CardView"), r = m({}), v = m("暂无数据"), l = Pl(), d = Il(e, t, o, l), c = Vl(e, t, o), p = Ml(e, t, n, d, l, s), y = B(() => ({
4236
+ function jl(e, t, n, o, a, s, f) {
4237
+ const g = m(e.view), u = m(e.view === "CardView"), r = m({}), v = m("暂无数据"), l = $l(), d = Ol(e, t, o, l), c = Dl(e, t, o), p = Rl(e, t, n, d, l, s), y = B(() => ({
4225
4238
  "f-list-view-group": !0,
4226
4239
  "d-flex": u.value,
4227
4240
  "flex-wrap": u.value
4228
4241
  })), h = B(() => !!n.value && n.value.length > 0), P = B(() => n.value.length === 0), I = B(() => P.value && !t.slots.empty);
4229
4242
  function C() {
4230
- return g.value === "SingleView" ? xe : g.value === "DraggableView" ? Bl : (g.value === "ContentView" || g.value === "CardView") && t.slots.content ? xl : xe;
4243
+ return g.value === "SingleView" ? xe : g.value === "DraggableView" ? Ml : (g.value === "ContentView" || g.value === "CardView") && t.slots.content ? Vl : xe;
4231
4244
  }
4232
4245
  const T = C(), {
4233
4246
  renderItem: S
4234
4247
  } = T(e, t, n, d, a, l, p, s, c, f), {
4235
4248
  renderItem: w
4236
- } = kl(e, t, n, d, a, l, p, s, c, f), F = [S, w];
4249
+ } = El(e, t, n, d, a, l, p, s, c, f), F = [S, w];
4237
4250
  function x() {
4238
4251
  return n.value.filter((M) => M.visible !== !1).map((M, N) => F[M.type](M, N, r));
4239
4252
  }
@@ -4254,7 +4267,7 @@ function El(e, t, n, o, a, s, f) {
4254
4267
  renderListArea: R
4255
4268
  };
4256
4269
  }
4257
- function $l(e, t, n) {
4270
+ function Ll(e, t, n) {
4258
4271
  function o() {
4259
4272
  return t.slots.header && i("div", {
4260
4273
  class: "f-list-view-header"
@@ -4270,7 +4283,7 @@ function Be(e, t, n) {
4270
4283
  s.value = "";
4271
4284
  }
4272
4285
  H(s, (d) => {
4273
- n.search(d);
4286
+ e.enableHighlightSearch && n.search(d), t.emit("afterSearch", d);
4274
4287
  });
4275
4288
  const r = B(() => {
4276
4289
  const d = {
@@ -4284,7 +4297,7 @@ function Be(e, t, n) {
4284
4297
  function l() {
4285
4298
  return i("div", {
4286
4299
  class: "f-list-view-header",
4287
- onClick: ct(() => v, ["prevent", "stop"])
4300
+ onClick: pt(() => v, ["prevent", "stop"])
4288
4301
  }, [i("div", {
4289
4302
  class: r.value
4290
4303
  }, [i("div", {
@@ -4300,7 +4313,7 @@ function Be(e, t, n) {
4300
4313
  type: "text",
4301
4314
  placeholder: a.value,
4302
4315
  autocomplete: "off"
4303
- }, null), [[dt, s.value]]), i("div", {
4316
+ }, null), [[ft, s.value]]), i("div", {
4304
4317
  class: "input-group-append"
4305
4318
  }, [g.value && i("span", {
4306
4319
  class: "input-group-text input-group-clear",
@@ -4317,42 +4330,42 @@ function Be(e, t, n) {
4317
4330
  renderHeader: l
4318
4331
  };
4319
4332
  }
4320
- const ke = /* @__PURE__ */ _({
4333
+ const ke = /* @__PURE__ */ z({
4321
4334
  name: "FListView",
4322
4335
  props: Ge,
4323
- emits: ["checkValuesChange", "clickItem", "selectionChange", "removeItem", "change", "activeChange"],
4336
+ emits: ["afterSearch", "checkValuesChange", "clickItem", "selectionChange", "removeItem", "change", "activeChange"],
4324
4337
  setup(e, t) {
4325
- const n = m(), o = m(!0), a = m(!1), s = m([]), f = 0, g = m(e.columns), u = Fn(e), r = wn(e), v = xn(e, u), l = Bn(e), d = kn(e, /* @__PURE__ */ new Map(), r, u, l), c = Pn(e, d, u, s, t), p = wl(e, n), y = B(() => d.dataView.value.length), h = In(e, u), P = Vn(), I = Mn(e, {}, P), C = En(e, h, r, u, P, I), T = $n(e, u, I, C), S = On(e, u, I, C), w = Dn(e, g, d, y, f, C, T, S), {
4338
+ const n = m(), o = m(!0), a = m(!1), s = m([]), f = 0, g = m(e.columns), u = kn(e), r = Pn(e), v = In(e, u), l = Vn(e), d = Mn(e, /* @__PURE__ */ new Map(), r, u, l), c = En(e, d, u, s, t), p = Il(e, n), y = B(() => d.dataView.value.length), h = $n(e, u), P = On(), I = Dn(e, {}, P), C = Rn(e, h, r, u, P, I), T = jn(e, u, I, C), S = Ln(e, u, I, C), w = An(e, g, d, y, f, C, T, S), {
4326
4339
  getVisualData: F
4327
4340
  } = w;
4328
4341
  s.value = F(0, y.value + f - 1);
4329
4342
  const x = B(() => {
4330
- const z = {
4343
+ const U = {
4331
4344
  "f-list-view": !0,
4332
4345
  "f-list-view-multiple": e.multiSelect
4333
4346
  };
4334
- return e.size !== "default" && (z[`${e.size}-item`] = !0), z;
4347
+ return e.size !== "default" && (U[`${e.size}-item`] = !0), U;
4335
4348
  }), b = B(() => !!t.slots.footer || o.value);
4336
4349
  function R() {
4337
- return e.header === "SearchBar" ? Be : e.header === "ContentHeader" ? $l : Be;
4350
+ return e.header === "SearchBar" ? Be : e.header === "ContentHeader" ? Ll : Be;
4338
4351
  }
4339
4352
  const M = R(), {
4340
4353
  renderHeader: N
4341
4354
  } = M(e, t, p), {
4342
4355
  renderListArea: k
4343
- } = El(e, t, s, d, v, c, w);
4344
- function q(z) {
4345
- p.search(z);
4356
+ } = jl(e, t, s, d, v, c, w);
4357
+ function q(U) {
4358
+ p.search(U);
4346
4359
  }
4347
- function U(z) {
4348
- z && (d.load(z), s.value = F(0, y.value + f - 1));
4360
+ function _(U) {
4361
+ U && (d.load(U), s.value = F(0, y.value + f - 1));
4349
4362
  }
4350
4363
  t.expose({
4351
4364
  search: q,
4352
- updateDataSource: U
4365
+ updateDataSource: _
4353
4366
  });
4354
- function G(z) {
4355
- e.multiSelect && (z.preventDefault(), z.stopPropagation());
4367
+ function G(U) {
4368
+ e.multiSelect && (U.preventDefault(), U.stopPropagation());
4356
4369
  }
4357
4370
  return () => i("div", {
4358
4371
  class: x.value,
@@ -4370,7 +4383,7 @@ const ke = /* @__PURE__ */ _({
4370
4383
  class: "f-list-view-footer"
4371
4384
  }, [t.slots.footer && t.slots.footer()])]);
4372
4385
  }
4373
- }), Ol = /* @__PURE__ */ _({
4386
+ }), Al = /* @__PURE__ */ z({
4374
4387
  name: "FTransfer",
4375
4388
  props: qe,
4376
4389
  emits: ["change", "activeChange"],
@@ -4482,7 +4495,7 @@ const ke = /* @__PURE__ */ _({
4482
4495
  style: "height:480px"
4483
4496
  }, [I(), F()]);
4484
4497
  }
4485
- }), Dl = [
4498
+ }), Nl = [
4486
4499
  { id: "text", name: "文本", controlType: "text" },
4487
4500
  { id: "single-number", name: "数值", controlType: "single-number" },
4488
4501
  { id: "number", name: "数值区间", controlType: "number" },
@@ -4498,7 +4511,7 @@ const ke = /* @__PURE__ */ _({
4498
4511
  { id: "radio", name: "单选", controlType: "radio" },
4499
4512
  { id: "input-group", name: "富文本", controlType: "input-group" }
4500
4513
  ];
4501
- function Rl(e, t, n, o, a) {
4514
+ function ql(e, t, n, o, a) {
4502
4515
  const s = m(!1), f = m(), g = m([]), u = m([]), r = m([]), {
4503
4516
  getExtendSchemaProerty: v,
4504
4517
  getBasicSchemaProerty: l
@@ -4510,7 +4523,7 @@ function Rl(e, t, n, o, a) {
4510
4523
  u.value = C;
4511
4524
  }
4512
4525
  function p() {
4513
- return Dl;
4526
+ return Nl;
4514
4527
  }
4515
4528
  function y() {
4516
4529
  r.value = p();
@@ -4558,7 +4571,7 @@ function Rl(e, t, n, o, a) {
4558
4571
  u.value = Q(g.value);
4559
4572
  }
4560
4573
  function I() {
4561
- return s.value ? i(Ol, {
4574
+ return s.value ? i(Al, {
4562
4575
  selections: u.value,
4563
4576
  "data-source": r.value,
4564
4577
  class: "query-solution-config-transfer",
@@ -4574,13 +4587,13 @@ function Rl(e, t, n, o, a) {
4574
4587
  cancel: P
4575
4588
  };
4576
4589
  }
4577
- const jl = /* @__PURE__ */ new Map([
4578
- ["appearance", Rn]
4590
+ const Gl = /* @__PURE__ */ new Map([
4591
+ ["appearance", Nn]
4579
4592
  ]);
4580
- function Ll(e, t, n) {
4593
+ function Hl(e, t, n) {
4581
4594
  return t;
4582
4595
  }
4583
- const Al = "https://json-schema.org/draft/2020-12/schema", Nl = "https://farris-design.gitee.io/button-edit.schema.json", ql = "button-edit", Gl = "A Farris Input Component", Hl = "object", Wl = {
4596
+ const Wl = "https://json-schema.org/draft/2020-12/schema", _l = "https://farris-design.gitee.io/button-edit.schema.json", zl = "button-edit", Ul = "A Farris Input Component", Ql = "object", Kl = {
4584
4597
  id: {
4585
4598
  description: "The unique identifier for a Input Group",
4586
4599
  type: "string"
@@ -4764,18 +4777,18 @@ const Al = "https://json-schema.org/draft/2020-12/schema", Nl = "https://farris-
4764
4777
  type: "string",
4765
4778
  default: ""
4766
4779
  }
4767
- }, _l = [
4780
+ }, Xl = [
4768
4781
  "id",
4769
4782
  "type"
4770
- ], zl = {
4771
- $schema: Al,
4772
- $id: Nl,
4773
- title: ql,
4774
- description: Gl,
4775
- type: Hl,
4776
- properties: Wl,
4777
- required: _l
4778
- }, Ul = "buttonEdit", Ql = "A Farris Component", Kl = "object", Xl = {
4783
+ ], Jl = {
4784
+ $schema: Wl,
4785
+ $id: _l,
4786
+ title: zl,
4787
+ description: Ul,
4788
+ type: Ql,
4789
+ properties: Kl,
4790
+ required: Xl
4791
+ }, Zl = "buttonEdit", Yl = "A Farris Component", ei = "object", ti = {
4779
4792
  basic: {
4780
4793
  description: "Basic Infomation",
4781
4794
  title: "基本信息",
@@ -4857,11 +4870,11 @@ const Al = "https://json-schema.org/draft/2020-12/schema", Nl = "https://farris-
4857
4870
  }
4858
4871
  }
4859
4872
  }
4860
- }, Jl = {
4861
- title: Ul,
4862
- description: Ql,
4863
- type: Kl,
4864
- categories: Xl
4873
+ }, ni = {
4874
+ title: Zl,
4875
+ description: Yl,
4876
+ type: ei,
4877
+ categories: ti
4865
4878
  }, He = {
4866
4879
  /**
4867
4880
  * 组件标识
@@ -4969,14 +4982,14 @@ const Al = "https://json-schema.org/draft/2020-12/schema", Nl = "https://farris-
4969
4982
  */
4970
4983
  beforeOpen: { type: Function, default: null }
4971
4984
  };
4972
- Z(He, zl, jl, Ll, Jl);
4973
- const Zl = {
4985
+ Z(He, Jl, Gl, Hl, ni);
4986
+ const oi = {
4974
4987
  popupContentPosition: { type: Object, default: { left: 0, top: 0 } },
4975
4988
  host: { type: Object },
4976
4989
  backgroundColor: { type: String, default: "" }
4977
- }, Yl = /* @__PURE__ */ _({
4990
+ }, ai = /* @__PURE__ */ z({
4978
4991
  name: "FOverlay",
4979
- props: Zl,
4992
+ props: oi,
4980
4993
  emits: ["click"],
4981
4994
  setup(e, t) {
4982
4995
  const n = m(e.popupContentPosition), o = m(e.host), a = B(() => ({
@@ -5006,7 +5019,7 @@ const Zl = {
5006
5019
  // left: `${position.value.left}px`,
5007
5020
  // top: `${position.value.top}px`
5008
5021
  }));
5009
- return () => i(pt, {
5022
+ return () => i(mt, {
5010
5023
  to: "body"
5011
5024
  }, {
5012
5025
  default: () => {
@@ -5022,13 +5035,13 @@ const Zl = {
5022
5035
  });
5023
5036
  }
5024
5037
  });
5025
- function ei(e) {
5038
+ function li(e) {
5026
5039
  if (e.content && e.content.render)
5027
5040
  return e.content.render;
5028
5041
  if (e.render && typeof e.render == "function")
5029
5042
  return e.render;
5030
5043
  }
5031
- function ti(e) {
5044
+ function ii(e) {
5032
5045
  const t = document.createElement("div");
5033
5046
  t.style.display = "contents";
5034
5047
  let n;
@@ -5036,13 +5049,13 @@ function ti(e) {
5036
5049
  }), a = () => {
5037
5050
  o(), n && n.unmount();
5038
5051
  };
5039
- return n = ft({
5052
+ return n = vt({
5040
5053
  setup() {
5041
- mt(() => {
5054
+ yt(() => {
5042
5055
  document.body.removeChild(t);
5043
5056
  });
5044
- const s = ei(e);
5045
- return () => i(Yl, {
5057
+ const s = li(e);
5058
+ return () => i(ai, {
5046
5059
  "popup-content-position": e.popupPosition,
5047
5060
  host: e.host,
5048
5061
  onClick: a,
@@ -5053,12 +5066,12 @@ function ti(e) {
5053
5066
  }
5054
5067
  }), document.body.appendChild(t), n.mount(t), n;
5055
5068
  }
5056
- class ni {
5069
+ class ri {
5057
5070
  static show(t) {
5058
- return ti(t);
5071
+ return ii(t);
5059
5072
  }
5060
5073
  }
5061
- const oi = Symbol("FModalService");
5074
+ const si = Symbol("FModalService");
5062
5075
  function We(e, t) {
5063
5076
  function n() {
5064
5077
  const o = e.beforeOpen || e.beforeClickButton || null;
@@ -5073,11 +5086,11 @@ function We(e, t) {
5073
5086
  }
5074
5087
  return { judgeCanOpen: n };
5075
5088
  }
5076
- function ai(e, t, n, o, a) {
5089
+ function ui(e, t, n, o, a) {
5077
5090
  const s = m(e.buttonBehavior), f = m(e.popupOnInput), g = B(() => ({
5078
5091
  "input-group-append": !0,
5079
5092
  "append-force-show": e.showButtonWhenDisabled && (e.readonly || e.disable)
5080
- })), { judgeCanOpen: u } = We(e, a), r = B(() => e.showButtonWhenDisabled || (!e.editable || !e.readonly) && !e.disable), v = de(oi, null), l = m();
5093
+ })), { judgeCanOpen: u } = We(e, a), r = B(() => e.showButtonWhenDisabled || (!e.editable || !e.readonly) && !e.disable), v = de(si, null), l = m();
5081
5094
  async function d(y) {
5082
5095
  if (await u() && r.value) {
5083
5096
  const h = !!t.slots.default;
@@ -5088,7 +5101,7 @@ function ai(e, t, n, o, a) {
5088
5101
  });
5089
5102
  l.value = I == null ? void 0 : I.modalRef;
5090
5103
  }
5091
- s.value === "Overlay" && ni.show({
5104
+ s.value === "Overlay" && ri.show({
5092
5105
  // host: buttonEditRef.value,
5093
5106
  host: document.body,
5094
5107
  backgroundColor: "rgba(0,0,0,.15)",
@@ -5110,7 +5123,7 @@ function ai(e, t, n, o, a) {
5110
5123
  modalRef: l
5111
5124
  };
5112
5125
  }
5113
- function li(e, t, n, o, a, s) {
5126
+ function ci(e, t, n, o, a, s) {
5114
5127
  const f = m(!1), g = B(() => e.enableClear && !e.readonly && !e.disable), { changeTextBoxValue: u } = s;
5115
5128
  function r(c) {
5116
5129
  f.value = c;
@@ -5142,7 +5155,7 @@ function li(e, t, n, o, a, s) {
5142
5155
  onMouseLeaveTextBox: d
5143
5156
  };
5144
5157
  }
5145
- function ii(e, t, n, o, a) {
5158
+ function di(e, t, n, o, a) {
5146
5159
  const s = B(() => e.popupOnInput), f = B(() => e.popupOnFocus), { shouldPopupContent: g } = a, u = B(() => e.enableTitle ? n.value : ""), r = B(() => (e.disable || e.readonly) && !e.forcePlaceholder ? "" : e.placeholder), v = B(() => e.readonly || !e.editable), l = m(!1), d = B(() => !e.disable && l.value), c = B(() => ({
5147
5160
  "text-left": e.textAlign === "left",
5148
5161
  "text-center": e.textAlign === "center",
@@ -5214,7 +5227,7 @@ function ii(e, t, n, o, a) {
5214
5227
  onTextBoxValueChange: x
5215
5228
  };
5216
5229
  }
5217
- function ri(e, t, n, o) {
5230
+ function pi(e, t, n, o) {
5218
5231
  const a = m(), s = m(!1), { judgeCanOpen: f } = We(e, o);
5219
5232
  function g() {
5220
5233
  const l = a.value;
@@ -5239,7 +5252,7 @@ function ri(e, t, n, o) {
5239
5252
  }
5240
5253
  return { hidePopup: v, popup: r, shouldPopupContent: s, togglePopup: u, popoverRef: a };
5241
5254
  }
5242
- function si(e, t, n) {
5255
+ function fi(e, t, n) {
5243
5256
  const o = m(), {
5244
5257
  isTextBoxReadonly: a,
5245
5258
  textBoxClass: s,
@@ -5281,7 +5294,7 @@ function si(e, t, n) {
5281
5294
  onMousedown: p
5282
5295
  }, null);
5283
5296
  }
5284
- function ui(e, t, n) {
5297
+ function mi(e, t, n) {
5285
5298
  const o = m(e.separator), {
5286
5299
  changeTextBoxValue: a
5287
5300
  } = n, s = B(() => t.value ? t.value.split(o.value).map((g) => ({
@@ -5300,7 +5313,7 @@ function ui(e, t, n) {
5300
5313
  onChange: f
5301
5314
  }, null);
5302
5315
  }
5303
- function ci(e, t, n, o) {
5316
+ function vi(e, t, n, o) {
5304
5317
  const {
5305
5318
  buttonGroupClass: a,
5306
5319
  onClickButton: s,
@@ -5320,7 +5333,7 @@ function ci(e, t, n, o) {
5320
5333
  onClick: v
5321
5334
  }, [i("i", {
5322
5335
  class: "f-icon modal_close"
5323
- }, null)]), [[vt, r.value]]), t.slots.buttonContent ? i("span", {
5336
+ }, null)]), [[gt, r.value]]), t.slots.buttonContent ? i("span", {
5324
5337
  class: "input-group-text input-group-append-button",
5325
5338
  onClick: s,
5326
5339
  onMouseenter: f,
@@ -5336,12 +5349,12 @@ function ci(e, t, n, o) {
5336
5349
  buttonHandleElement: l
5337
5350
  };
5338
5351
  }
5339
- function di(e, t, n) {
5352
+ function yi(e, t, n) {
5340
5353
  const o = m(e.popupMinWidth), {
5341
5354
  hidePopup: a,
5342
5355
  popoverRef: s
5343
5356
  } = n;
5344
- return () => i(jn, {
5357
+ return () => i(qn, {
5345
5358
  id: `${e.id}-popover`,
5346
5359
  ref: s,
5347
5360
  visible: !0,
@@ -5360,20 +5373,20 @@ function di(e, t, n) {
5360
5373
  }
5361
5374
  });
5362
5375
  }
5363
- const pi = /* @__PURE__ */ _({
5376
+ const gi = /* @__PURE__ */ z({
5364
5377
  name: "FButtonEdit",
5365
5378
  props: He,
5366
5379
  emits: ["updateExtendInfo", "clear", "change", "click", "clickButton", "blur", "focus", "mouseEnterIcon", "mouseLeaveIcon", "keyup", "keydown", "inputClick", "input", "update:modelValue"],
5367
5380
  setup(e, t) {
5368
- const n = m(), o = m(e.customClass), a = m(e.modelValue), s = ri(e, t, n, a), {
5381
+ const n = m(), o = m(e.customClass), a = m(e.modelValue), s = pi(e, t, n, a), {
5369
5382
  shouldPopupContent: f,
5370
5383
  hidePopup: g,
5371
5384
  togglePopup: u
5372
- } = s, r = ai(e, t, n, s, a), v = m(""), l = ii(e, t, a, v, s), {
5385
+ } = s, r = ui(e, t, n, s, a), v = m(""), l = di(e, t, a, v, s), {
5373
5386
  hasFocusedTextBox: d,
5374
5387
  commitValue: c,
5375
5388
  inputGroupClass: p
5376
- } = l, y = li(e, t, a, d, v, l), {
5389
+ } = l, y = ci(e, t, a, d, v, l), {
5377
5390
  onMouseEnterTextBox: h,
5378
5391
  onMouseLeaveTextBox: P
5379
5392
  } = y, I = B(() => {
@@ -5385,7 +5398,7 @@ const pi = /* @__PURE__ */ _({
5385
5398
  return o.value && o.value.split(" ").reduce((R, M) => (R[M] = !0, R), b), b;
5386
5399
  });
5387
5400
  function C() {
5388
- return e.multiSelect && e.inputType === "tag" ? ui(e, a, l) : si(e, a, l);
5401
+ return e.multiSelect && e.inputType === "tag" ? mi(e, a, l) : fi(e, a, l);
5389
5402
  }
5390
5403
  let T = C();
5391
5404
  H([() => e.multiSelect, () => e.inputType], () => {
@@ -5394,7 +5407,7 @@ const pi = /* @__PURE__ */ _({
5394
5407
  const {
5395
5408
  renderButtonGroup: S,
5396
5409
  buttonHandleElement: w
5397
- } = ci(e, t, r, y), F = di(e, t, s), x = {
5410
+ } = vi(e, t, r, y), F = yi(e, t, s), x = {
5398
5411
  commitValue: c,
5399
5412
  elementRef: n,
5400
5413
  hidePopup: g,
@@ -5423,12 +5436,12 @@ const pi = /* @__PURE__ */ _({
5423
5436
  onMouseleave: P
5424
5437
  }, [T(), S()])]), f.value && F()]);
5425
5438
  }
5426
- }), fi = /* @__PURE__ */ _({
5439
+ }), hi = /* @__PURE__ */ z({
5427
5440
  name: "FQuerySolutionConfig",
5428
5441
  props: Le,
5429
5442
  emits: ["update:modelValue"],
5430
5443
  setup(e, t) {
5431
- const n = m(null), o = B(() => "共" + e.modelValue.length + "项"), a = m(), s = Ua(e, t, n, a), {
5444
+ const n = m(null), o = B(() => "共" + e.modelValue.length + "项"), a = m(), s = Za(e, t, n, a), {
5432
5445
  renderPanel: f
5433
5446
  } = s, {
5434
5447
  renderTransfer: g,
@@ -5436,7 +5449,7 @@ const pi = /* @__PURE__ */ _({
5436
5449
  confirm: r,
5437
5450
  cancel: v,
5438
5451
  selectPanels: l
5439
- } = Rl(e, t, n, a, s), d = {
5452
+ } = ql(e, t, n, a, s), d = {
5440
5453
  fitContent: !1,
5441
5454
  width: 900,
5442
5455
  height: 600,
@@ -5455,7 +5468,7 @@ const pi = /* @__PURE__ */ _({
5455
5468
  }
5456
5469
  return K(() => {
5457
5470
  u();
5458
- }), () => i(pi, {
5471
+ }), () => i(gi, {
5459
5472
  id: e.id,
5460
5473
  "button-behavior": "Modal",
5461
5474
  "modal-options": d,
@@ -5467,18 +5480,18 @@ const pi = /* @__PURE__ */ _({
5467
5480
  }, [y()])]
5468
5481
  });
5469
5482
  }
5470
- }), mi = "https://json-schema.org/draft/2020-12/schema", vi = "https://farris-design.gitee.io/filter-bar-config.schema.json", yi = "filter-bar-config", gi = "A Farris Container Component", hi = {
5483
+ }), bi = "https://json-schema.org/draft/2020-12/schema", Ci = "https://farris-design.gitee.io/filter-bar-config.schema.json", Ti = "filter-bar-config", Si = "A Farris Container Component", Fi = {
5471
5484
  fields: {
5472
5485
  description: "The unique identifier for a query solution",
5473
5486
  type: "array"
5474
5487
  }
5475
- }, bi = {
5476
- $schema: mi,
5477
- $id: vi,
5478
- title: yi,
5479
- description: gi,
5480
- properties: hi
5481
- }, Ci = "filter-bar-config", Ti = "A Farris Component", Si = "object", Fi = {
5488
+ }, wi = {
5489
+ $schema: bi,
5490
+ $id: Ci,
5491
+ title: Ti,
5492
+ description: Si,
5493
+ properties: Fi
5494
+ }, xi = "filter-bar-config", Bi = "A Farris Component", ki = "object", Pi = {
5482
5495
  basic: {
5483
5496
  description: "Basic Infomation",
5484
5497
  title: "基本信息",
@@ -5562,35 +5575,35 @@ const pi = /* @__PURE__ */ _({
5562
5575
  title: "控件",
5563
5576
  properties: {}
5564
5577
  }
5565
- }, wi = {
5566
- title: Ci,
5567
- description: Ti,
5568
- type: Si,
5569
- categories: Fi
5570
- }, xi = /* @__PURE__ */ new Map([
5578
+ }, Ii = {
5579
+ title: xi,
5580
+ description: Bi,
5581
+ type: ki,
5582
+ categories: Pi
5583
+ }, Vi = /* @__PURE__ */ new Map([
5571
5584
  ["appearance", ee]
5572
5585
  // ['preset', resolvePreset]
5573
5586
  ]);
5574
- function Bi(e, t, n) {
5587
+ function Mi(e, t, n) {
5575
5588
  return t;
5576
5589
  }
5577
- const ki = {
5590
+ const Ei = {
5578
5591
  fields: { type: Array, default: [] },
5579
5592
  modelValue: { type: Array, default: [] }
5580
- }, Pi = Z(ki, bi, xi, Bi, wi), Ar = {
5593
+ }, $i = Z(Ei, wi, Vi, Mi, Ii), zr = {
5581
5594
  install(e) {
5582
5595
  e.component(re.name, re);
5583
5596
  },
5584
5597
  register(e, t, n, o) {
5585
- e["filter-bar"] = re, t["filter-bar"] = Te, e["filter-bar-config"] = fi, t["filter-bar-config"] = Pi;
5598
+ e["filter-bar"] = re, t["filter-bar"] = Te, e["filter-bar-config"] = hi, t["filter-bar-config"] = $i;
5586
5599
  },
5587
5600
  registerDesigner(e, t, n) {
5588
- e["filter-bar"] = jo, t["filter-bar"] = Te;
5601
+ e["filter-bar"] = Go, t["filter-bar"] = Te;
5589
5602
  }
5590
5603
  };
5591
5604
  export {
5592
5605
  re as FFilterBar,
5593
- Ar as default,
5606
+ zr as default,
5594
5607
  he as filterBarProps,
5595
5608
  Te as propsResolver
5596
5609
  };