@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,7 +1,7 @@
1
1
  var ve = Object.defineProperty;
2
2
  var ye = (e, t, n) => t in e ? ve(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
3
  var w = (e, t, n) => ye(e, typeof t != "symbol" ? t + "" : t, n);
4
- import { ref as I, computed as P, watch as W, defineComponent as Z, onBeforeUnmount as be, createVNode as C, createTextVNode as _, onMounted as J, nextTick as te, reactive as Ce, withDirectives as Fe, resolveDirective as we, Fragment as ne, mergeProps as Te } from "vue";
4
+ import { ref as I, computed as P, watch as W, defineComponent as Z, onBeforeUnmount as be, createVNode as F, createTextVNode as _, onMounted as J, nextTick as te, reactive as Ce, withDirectives as Fe, resolveDirective as we, Fragment as ne, mergeProps as Te } from "vue";
5
5
  import xe, { FDynamicFormGroup as ke } from "@farris/ui-vue/components/dynamic-form";
6
6
  import { cloneDeep as Q } from "lodash-es";
7
7
  import K from "@farris/ui-vue/components/combo-list";
@@ -14,53 +14,55 @@ import je from "@farris/ui-vue/components/button-group";
14
14
  import Le from "@farris/ui-vue/components/calendar";
15
15
  import Ae from "@farris/ui-vue/components/capsule";
16
16
  import Ne from "@farris/ui-vue/components/checkbox";
17
- import $e from "@farris/ui-vue/components/component";
17
+ import $e from "@farris/ui-vue/components/combo-tree";
18
+ import Ge from "@farris/ui-vue/components/component";
18
19
  import Re from "@farris/ui-vue/components/color-picker";
19
- import Ge from "@farris/ui-vue/components/content-container";
20
- import qe from "@farris/ui-vue/components/date-picker";
21
- import De from "@farris/ui-vue/components/data-grid";
22
- import We from "@farris/ui-vue/components/dropdown";
23
- import ze from "@farris/ui-vue/components/events-editor";
24
- import Ue from "@farris/ui-vue/components/filter-bar";
25
- import He from "@farris/ui-vue/components/field-selector";
26
- import Qe from "@farris/ui-vue/components/image-cropper";
27
- import Ze from "@farris/ui-vue/components/input-group";
28
- import _e from "@farris/ui-vue/components/layout";
29
- import Je from "@farris/ui-vue/components/list-nav";
30
- import Xe from "@farris/ui-vue/components/list-view";
31
- import Ye from "@farris/ui-vue/components/lookup";
32
- import Ke from "@farris/ui-vue/components/mapping-editor";
33
- import et from "@farris/ui-vue/components/nav";
34
- import tt from "@farris/ui-vue/components/number-range";
35
- import nt from "@farris/ui-vue/components/order";
36
- import ot from "@farris/ui-vue/components/page-header";
37
- import rt from "@farris/ui-vue/components/page-footer";
38
- import it from "@farris/ui-vue/components/pagination";
39
- import at from "@farris/ui-vue/components/progress";
40
- import lt from "@farris/ui-vue/components/query-solution";
41
- import st from "@farris/ui-vue/components/radio-group";
42
- import ut from "@farris/ui-vue/components/rate";
43
- import ct from "@farris/ui-vue/components/response-toolbar";
44
- import dt from "@farris/ui-vue/components/response-layout";
45
- import pt from "@farris/ui-vue/components/response-layout-editor";
46
- import ft from "@farris/ui-vue/components/search-box";
47
- import mt from "@farris/ui-vue/components/section";
48
- import gt from "@farris/ui-vue/components/smoke-detector";
49
- import ht from "@farris/ui-vue/components/splitter";
50
- import vt from "@farris/ui-vue/components/step";
51
- import yt from "@farris/ui-vue/components/switch";
52
- import bt from "@farris/ui-vue/components/tabs";
53
- import Ct from "@farris/ui-vue/components/tags";
54
- import Ft from "@farris/ui-vue/components/text";
55
- import wt from "@farris/ui-vue/components/time-picker";
56
- import Tt from "@farris/ui-vue/components/transfer";
57
- import xt from "@farris/ui-vue/components/tree-view";
58
- import kt from "@farris/ui-vue/components/uploader";
59
- import Bt from "@farris/ui-vue/components/verify-detail";
60
- import It from "@farris/ui-vue/components/weather";
61
- import St from "@farris/ui-vue/components/video";
62
- import Vt from "@farris/ui-vue/components/textarea";
63
- import Et from "@farris/ui-vue/components/schema-selector";
20
+ import qe from "@farris/ui-vue/components/content-container";
21
+ import De from "@farris/ui-vue/components/date-picker";
22
+ import We from "@farris/ui-vue/components/data-grid";
23
+ import ze from "@farris/ui-vue/components/dropdown";
24
+ import Ue from "@farris/ui-vue/components/events-editor";
25
+ import He from "@farris/ui-vue/components/filter-bar";
26
+ import Qe from "@farris/ui-vue/components/field-selector";
27
+ import Ze from "@farris/ui-vue/components/image-cropper";
28
+ import _e from "@farris/ui-vue/components/input-group";
29
+ import Je from "@farris/ui-vue/components/layout";
30
+ import Xe from "@farris/ui-vue/components/list-nav";
31
+ import Ye from "@farris/ui-vue/components/list-view";
32
+ import Ke from "@farris/ui-vue/components/lookup";
33
+ import et from "@farris/ui-vue/components/mapping-editor";
34
+ import tt from "@farris/ui-vue/components/nav";
35
+ import nt from "@farris/ui-vue/components/number-range";
36
+ import ot from "@farris/ui-vue/components/order";
37
+ import rt from "@farris/ui-vue/components/page-header";
38
+ import it from "@farris/ui-vue/components/page-footer";
39
+ import at from "@farris/ui-vue/components/pagination";
40
+ import lt from "@farris/ui-vue/components/progress";
41
+ import st from "@farris/ui-vue/components/query-solution";
42
+ import ut from "@farris/ui-vue/components/radio-group";
43
+ import ct from "@farris/ui-vue/components/rate";
44
+ import dt from "@farris/ui-vue/components/response-toolbar";
45
+ import pt from "@farris/ui-vue/components/response-layout";
46
+ import ft from "@farris/ui-vue/components/response-layout-editor";
47
+ import mt from "@farris/ui-vue/components/search-box";
48
+ import gt from "@farris/ui-vue/components/section";
49
+ import ht from "@farris/ui-vue/components/smoke-detector";
50
+ import vt from "@farris/ui-vue/components/splitter";
51
+ import yt from "@farris/ui-vue/components/step";
52
+ import bt from "@farris/ui-vue/components/switch";
53
+ import Ct from "@farris/ui-vue/components/tabs";
54
+ import Ft from "@farris/ui-vue/components/tags";
55
+ import wt from "@farris/ui-vue/components/text";
56
+ import Tt from "@farris/ui-vue/components/time-picker";
57
+ import xt from "@farris/ui-vue/components/transfer";
58
+ import kt from "@farris/ui-vue/components/tree-view";
59
+ import Bt from "@farris/ui-vue/components/uploader";
60
+ import It from "@farris/ui-vue/components/verify-detail";
61
+ import St from "@farris/ui-vue/components/weather";
62
+ import Vt from "@farris/ui-vue/components/video";
63
+ import Et from "@farris/ui-vue/components/textarea";
64
+ import Mt from "@farris/ui-vue/components/schema-selector";
65
+ import Pt from "@farris/ui-vue/components/tree-grid";
64
66
  import "@farris/ui-vue/components/external-container";
65
67
  const ae = {
66
68
  conditions: { type: Array, default: [] },
@@ -71,7 +73,7 @@ const ae = {
71
73
  */
72
74
  isControlInline: { type: Boolean, default: !0 }
73
75
  };
74
- class Mt {
76
+ class Ot {
75
77
  constructor(t = { value: [] }) {
76
78
  w(this, "editorType", "check-box");
77
79
  w(this, "value");
@@ -91,7 +93,7 @@ class Mt {
91
93
  return this.value.length === 0;
92
94
  }
93
95
  }
94
- class Pt {
96
+ class jt {
95
97
  constructor(t = { textValue: "", value: "", valueField: "" }) {
96
98
  w(this, "editorType", "combo-lookup");
97
99
  w(this, "textValue");
@@ -125,7 +127,7 @@ class Pt {
125
127
  return !this.valueField;
126
128
  }
127
129
  }
128
- class Ot {
130
+ class Lt {
129
131
  constructor(t = { value: "" }) {
130
132
  w(this, "editorType", "date-picker");
131
133
  w(this, "value");
@@ -166,7 +168,7 @@ class oe {
166
168
  return !this.begin || !this.end;
167
169
  }
168
170
  }
169
- class jt {
171
+ class At {
170
172
  constructor(t = { value: "" }) {
171
173
  w(this, "editorType", "datetime-picker");
172
174
  w(this, "value");
@@ -186,7 +188,7 @@ class jt {
186
188
  return !this.value;
187
189
  }
188
190
  }
189
- class Lt {
191
+ class Nt {
190
192
  // 旧结构无,新结构为选中的value值,多选是以,分割的字符串
191
193
  constructor(t = { value: "", dispalyText: "" }) {
192
194
  w(this, "editorType", "combo-list");
@@ -209,7 +211,7 @@ class Lt {
209
211
  return !this.displayText;
210
212
  }
211
213
  }
212
- class At {
214
+ class $t {
213
215
  constructor(t = { value: [], displayText: "", displayField: "", isInputText: !1 }) {
214
216
  w(this, "editorType", "input-group");
215
217
  // 通过弹窗返回的若干个值对象构成的数组
@@ -248,7 +250,7 @@ class At {
248
250
  return !this.displayText;
249
251
  }
250
252
  }
251
- class Nt {
253
+ class Gt {
252
254
  constructor(t = { textValue: "", value: [], valueField: "", isInputText: !1 }) {
253
255
  w(this, "editorType", "lookup");
254
256
  w(this, "textValue");
@@ -284,7 +286,7 @@ class Nt {
284
286
  return !this.value.length;
285
287
  }
286
288
  }
287
- class $t {
289
+ class Rt {
288
290
  constructor(t = { value: "" }) {
289
291
  w(this, "editorType", "month-picker");
290
292
  w(this, "value");
@@ -304,7 +306,7 @@ class $t {
304
306
  return !this.value;
305
307
  }
306
308
  }
307
- class Rt {
309
+ class qt {
308
310
  constructor(t = { begin: "", end: "" }) {
309
311
  w(this, "editorType", "month-range");
310
312
  w(this, "begin");
@@ -325,7 +327,7 @@ class Rt {
325
327
  return !this.begin || !this.end;
326
328
  }
327
329
  }
328
- class Gt {
330
+ class Dt {
329
331
  constructor(t = { begin: null, end: null }) {
330
332
  w(this, "editorType", "number-range");
331
333
  w(this, "begin");
@@ -349,7 +351,7 @@ class Gt {
349
351
  return this.begin == null && this.end == null;
350
352
  }
351
353
  }
352
- class qt {
354
+ class Wt {
353
355
  constructor(t = { value: "" }) {
354
356
  w(this, "editorType", "number-spinner");
355
357
  w(this, "value");
@@ -369,7 +371,7 @@ class qt {
369
371
  return this.value == null;
370
372
  }
371
373
  }
372
- class Dt {
374
+ class zt {
373
375
  constructor(t = { value: null }) {
374
376
  w(this, "editorType", "radio-group");
375
377
  w(this, "value");
@@ -413,33 +415,33 @@ function se() {
413
415
  function e(t, n) {
414
416
  switch (t) {
415
417
  case "check-box":
416
- return new Mt(n);
418
+ return new Ot(n);
417
419
  case "combo-list":
418
- return new Lt(n);
420
+ return new Nt(n);
419
421
  case "combo-lookup":
420
- return new Pt(n);
422
+ return new jt(n);
421
423
  case "input-group":
422
- return new At(n);
424
+ return new $t(n);
423
425
  case "date-picker":
424
- return new Ot(n);
426
+ return new Lt(n);
425
427
  case "date-range":
426
428
  return new oe(n);
427
429
  case "datetime-picker":
428
- return new jt(n);
430
+ return new At(n);
429
431
  case "datetime-range":
430
432
  return new oe(n);
431
433
  case "lookup":
432
- return new Nt(n);
434
+ return new Gt(n);
433
435
  case "month-picker":
434
- return new $t(n);
435
- case "month-range":
436
436
  return new Rt(n);
437
+ case "month-range":
438
+ return new qt(n);
437
439
  case "number-range":
438
- return new Gt(n);
440
+ return new Dt(n);
439
441
  case "number-spinner":
440
- return new qt(n);
442
+ return new Wt(n);
441
443
  case "radio-group":
442
- return new Dt(n);
444
+ return new zt(n);
443
445
  default:
444
446
  return new le(n);
445
447
  }
@@ -462,7 +464,7 @@ function ue(e, t) {
462
464
  }
463
465
  return l.editor;
464
466
  }
465
- function v(l) {
467
+ function b(l) {
466
468
  return l.map((c) => Object.assign({}, c)).map((c) => (c.editor = d(c), c));
467
469
  }
468
470
  function k(l = !0) {
@@ -476,11 +478,11 @@ function ue(e, t) {
476
478
  }
477
479
  }), l;
478
480
  }
479
- return { convertToSingleControl: v, fields: n, fieldMap: r, fieldConditions: o, loadFieldConfigs: k, initialConditionValue: s };
481
+ return { convertToSingleControl: b, fields: n, fieldMap: r, fieldConditions: o, loadFieldConfigs: k, initialConditionValue: s };
480
482
  }
481
- function Wt(e, t, n) {
483
+ function Ut(e, t, n) {
482
484
  const o = I(null), r = I(n), p = I(0), d = P(() => s(p.value));
483
- function v() {
485
+ function b() {
484
486
  r.value && (o.value = new ResizeObserver(k((l) => {
485
487
  const u = l[0];
486
488
  p.value = u.contentRect.width;
@@ -500,7 +502,7 @@ function Wt(e, t, n) {
500
502
  return l > 250 * 6 ? c = "col-2" : l > 250 * 4 ? c = "col-3" : l > 250 * 3 ? c = "col-4" : l > 250 * 2 && (c = "col-6"), c;
501
503
  }
502
504
  return W([n], ([l]) => {
503
- r.value = l, v();
505
+ r.value = l, b();
504
506
  }), {
505
507
  conditionClass: d,
506
508
  resizeObserver: o
@@ -512,14 +514,14 @@ const re = /* @__PURE__ */ Z({
512
514
  emits: ["valueChange", "blur", "focus", "click", "input"],
513
515
  setup(e, t) {
514
516
  const n = I(), o = I(e.key), r = I(e.isControlInline), p = I(e.conditions), d = ue(e), {
515
- initialConditionValue: v,
517
+ initialConditionValue: b,
516
518
  fieldMap: k,
517
519
  loadFieldConfigs: s
518
- } = d, l = Wt(e, t, n), {
520
+ } = d, l = Ut(e, t, n), {
519
521
  conditionClass: u,
520
522
  resizeObserver: c
521
523
  } = l;
522
- s(!0), v(p.value), be(() => {
524
+ s(!0), b(p.value), be(() => {
523
525
  var T;
524
526
  (T = c.value) == null || T.unobserve(n.value);
525
527
  }), W(() => e.conditions, () => {
@@ -537,7 +539,7 @@ const re = /* @__PURE__ */ Z({
537
539
  function q() {
538
540
  return p.value.map((T) => {
539
541
  var x;
540
- return C(ke, {
542
+ return F(ke, {
541
543
  customClass: E.value,
542
544
  label: T.fieldName,
543
545
  editor: (x = k.get(T.fieldCode)) == null ? void 0 : x.editor,
@@ -549,22 +551,22 @@ const re = /* @__PURE__ */ Z({
549
551
  }, null);
550
552
  });
551
553
  }
552
- return () => C("div", {
554
+ return () => F("div", {
553
555
  class: V.value,
554
556
  key: o.value,
555
557
  ref: n
556
558
  }, [q()]);
557
559
  }
558
- }), zt = {}, Ut = {};
560
+ }), Ht = {}, Qt = {};
559
561
  function ce(e) {
560
562
  const { properties: t, title: n } = e, o = Object.keys(t).reduce((r, p) => (r[p] = t[p].type === "object" && t[p].properties ? ce(t[p]) : Q(t[p].default), r), {});
561
563
  return o.id = `${n}-${Date.now()}`, o;
562
564
  }
563
- function Ht(e, t) {
565
+ function Zt(e, t) {
564
566
  const n = ce(t);
565
567
  return Object.keys(e).reduce((o, r) => (o[r] = e[r], o), n), n;
566
568
  }
567
- function Qt(e, t) {
569
+ function _t(e, t) {
568
570
  return Object.keys(e).filter((o) => e[o] != null).reduce((o, r) => {
569
571
  if (t.has(r)) {
570
572
  const p = t.get(r);
@@ -579,11 +581,11 @@ function Qt(e, t) {
579
581
  return o;
580
582
  }, {});
581
583
  }
582
- function Zt(e, t, n = /* @__PURE__ */ new Map()) {
583
- const o = Ht(e, t);
584
- return Qt(o, n);
584
+ function Jt(e, t, n = /* @__PURE__ */ new Map()) {
585
+ const o = Zt(e, t);
586
+ return _t(o, n);
585
587
  }
586
- function _t(e = {}) {
588
+ function Xt(e = {}) {
587
589
  function t(s, l, u, c) {
588
590
  if (typeof u == "number")
589
591
  return c[s].length === u;
@@ -628,21 +630,21 @@ function _t(e = {}) {
628
630
  }
629
631
  return !1;
630
632
  }
631
- function v(s, l) {
633
+ function b(s, l) {
632
634
  return p(s).reduce((V, E) => V && d(E, l), !0);
633
635
  }
634
636
  function k(s, l) {
635
- const u = Object.keys(s), c = u.includes("allOf"), V = u.includes("anyOf"), E = c || V, T = (E ? s[E ? c ? "allOf" : "anyOf" : "allOf"] : [s]).map((M) => v(M, l));
637
+ const u = Object.keys(s), c = u.includes("allOf"), V = u.includes("anyOf"), E = c || V, T = (E ? s[E ? c ? "allOf" : "anyOf" : "allOf"] : [s]).map((M) => b(M, l));
636
638
  return c ? !T.includes(!1) : T.includes(!0);
637
639
  }
638
640
  return { parseValueSchema: k };
639
641
  }
640
- const Jt = {}, Xt = {};
641
- _t();
642
- function X(e, t, n = /* @__PURE__ */ new Map(), o = (d, v, k) => v, r = {}, p = (d) => d) {
643
- return zt[t.title] = t, Ut[t.title] = o, Jt[t.title] = r, Xt[t.title] = p, (d = {}) => {
644
- const v = Zt(d, t, n), k = Object.keys(e).reduce((s, l) => (s[l] = e[l].default, s), {});
645
- return Object.assign(k, v);
642
+ const Yt = {}, Kt = {};
643
+ Xt();
644
+ function X(e, t, n = /* @__PURE__ */ new Map(), o = (d, b, k) => b, r = {}, p = (d) => d) {
645
+ return Ht[t.title] = t, Qt[t.title] = o, Yt[t.title] = r, Kt[t.title] = p, (d = {}) => {
646
+ const b = Jt(d, t, n), k = Object.keys(e).reduce((s, l) => (s[l] = e[l].default, s), {});
647
+ return Object.assign(k, b);
646
648
  };
647
649
  }
648
650
  function de(e, t) {
@@ -651,22 +653,22 @@ function de(e, t) {
651
653
  const ee = /* @__PURE__ */ new Map([
652
654
  ["appearance", de]
653
655
  ]);
654
- function Yt(e, t, n, o) {
656
+ function en(e, t, n, o) {
655
657
  const r = e.getSchemaByType("section");
656
658
  return r.id = `${o}-section`, r.appearance = { class: "f-section-form f-section-in-main" }, r.mainTitle = "标题", r.contents = [t], r;
657
659
  }
658
- function Kt(e, t, n, o) {
660
+ function tn(e, t, n, o) {
659
661
  const r = e.getSchemaByType("component");
660
662
  return r.id = `${o}-component`, r.componentType = "form-col-1", r.appearance = {
661
663
  class: "f-struct-form f-struct-wrapper"
662
664
  }, r.contents = [t], r;
663
665
  }
664
- function en(e, t, n) {
666
+ function nn(e, t, n) {
665
667
  t.appearance = { class: "f-form-layout farris-form farris-form-controls-inline" };
666
- const o = Yt(e, t, n, t.id);
667
- return Kt(e, o, n, t.id);
668
+ const o = en(e, t, n, t.id);
669
+ return tn(e, o, n, t.id);
668
670
  }
669
- const tn = "https://json-schema.org/draft/2020-12/schema", nn = "https://farris-design.gitee.io/response-form.schema.json", on = "response-form", rn = "A Farris Data Collection Component", an = "object", ln = {
671
+ const on = "https://json-schema.org/draft/2020-12/schema", rn = "https://farris-design.gitee.io/response-form.schema.json", an = "response-form", ln = "A Farris Data Collection Component", sn = "object", un = {
670
672
  id: {
671
673
  description: "The unique identifier for a form group",
672
674
  type: "string"
@@ -694,18 +696,18 @@ const tn = "https://json-schema.org/draft/2020-12/schema", nn = "https://farris-
694
696
  type: "array",
695
697
  default: []
696
698
  }
697
- }, sn = [
699
+ }, cn = [
698
700
  "id",
699
701
  "type"
700
- ], un = {
701
- $schema: tn,
702
- $id: nn,
703
- title: on,
704
- description: rn,
705
- type: an,
706
- properties: ln,
707
- required: sn
708
- }, cn = "response-form", dn = "A Farris Component", pn = "object", fn = {
702
+ ], dn = {
703
+ $schema: on,
704
+ $id: rn,
705
+ title: an,
706
+ description: ln,
707
+ type: sn,
708
+ properties: un,
709
+ required: cn
710
+ }, pn = "response-form", fn = "A Farris Component", mn = "object", gn = {
709
711
  basic: {
710
712
  description: "Basic Infomation",
711
713
  title: "基本信息",
@@ -727,16 +729,16 @@ const tn = "https://json-schema.org/draft/2020-12/schema", nn = "https://farris-
727
729
  }
728
730
  }
729
731
  }
730
- }, mn = {
731
- title: cn,
732
- description: dn,
733
- type: pn,
734
- categories: fn
735
- }, gn = {
732
+ }, hn = {
733
+ title: pn,
734
+ description: fn,
735
+ type: mn,
736
+ categories: gn
737
+ }, vn = {
736
738
  customClass: { type: String, default: "" }
737
739
  };
738
- X(gn, un, ee, en, mn);
739
- const hn = "https://json-schema.org/draft/2020-12/schema", vn = "https://farris-design.gitee.io/form-group.schema.json", yn = "form-group", bn = "A Farris Input Component", Cn = "object", Fn = {
740
+ X(vn, dn, ee, nn, hn);
741
+ const yn = "https://json-schema.org/draft/2020-12/schema", bn = "https://farris-design.gitee.io/form-group.schema.json", Cn = "form-group", Fn = "A Farris Input Component", wn = "object", Tn = {
740
742
  id: {
741
743
  description: "The unique identifier for a form group",
742
744
  type: "string"
@@ -777,17 +779,17 @@ const hn = "https://json-schema.org/draft/2020-12/schema", vn = "https://farris-
777
779
  description: "",
778
780
  type: "number"
779
781
  }
780
- }, wn = [
782
+ }, xn = [
781
783
  "id",
782
784
  "type"
783
785
  ], pe = {
784
- $schema: hn,
785
- $id: vn,
786
- title: yn,
787
- description: bn,
788
- type: Cn,
789
- properties: Fn,
790
- required: wn
786
+ $schema: yn,
787
+ $id: bn,
788
+ title: Cn,
789
+ description: Fn,
790
+ type: wn,
791
+ properties: Tn,
792
+ required: xn
791
793
  }, fe = {
792
794
  id: { type: String, default: "" },
793
795
  customClass: { type: String, default: "" },
@@ -808,14 +810,14 @@ X(
808
810
  ee,
809
811
  void 0
810
812
  );
811
- const Tn = {
813
+ const kn = {
812
814
  id: { type: String },
813
815
  required: { type: Boolean, default: !1 },
814
816
  text: { type: String, default: "" },
815
817
  title: { type: String }
816
- }, xn = /* @__PURE__ */ Z({
818
+ }, Bn = /* @__PURE__ */ Z({
817
819
  name: "FDynamicFormLabel",
818
- props: Tn,
820
+ props: kn,
819
821
  emits: [],
820
822
  setup(e, t) {
821
823
  const n = I(e.title || e.text), o = I(e.required), r = I(e.text);
@@ -823,22 +825,22 @@ const Tn = {
823
825
  r.value = e.text;
824
826
  }), W(() => e.required, (p, d) => {
825
827
  p !== d && (o.value = p);
826
- }), () => C("label", {
828
+ }), () => F("label", {
827
829
  class: "col-form-label",
828
830
  title: n.value
829
- }, [o.value && C("span", {
831
+ }, [o.value && F("span", {
830
832
  class: "farris-label-info text-danger"
831
- }, [_("*")]), C("span", {
833
+ }, [_("*")]), F("span", {
832
834
  class: "farris-label-text"
833
835
  }, [r.value])]);
834
836
  }
835
- }), kn = /* @__PURE__ */ new Map([
837
+ }), In = /* @__PURE__ */ new Map([
836
838
  ["appearance", de]
837
839
  ]);
838
- function Bn(e, t, n) {
840
+ function Sn(e, t, n) {
839
841
  return t;
840
842
  }
841
- const In = "https://json-schema.org/draft/2020-12/schema", Sn = "https://farris-design.gitee.io/input-group.schema.json", Vn = "input-group", En = "A Farris Input Component", Mn = "object", Pn = {
843
+ const Vn = "https://json-schema.org/draft/2020-12/schema", En = "https://farris-design.gitee.io/input-group.schema.json", Mn = "input-group", Pn = "A Farris Input Component", On = "object", jn = {
842
844
  id: {
843
845
  description: "The unique identifier for a Input Group",
844
846
  type: "string"
@@ -1040,17 +1042,17 @@ const In = "https://json-schema.org/draft/2020-12/schema", Sn = "https://farris-
1040
1042
  type: "string",
1041
1043
  default: ""
1042
1044
  }
1043
- }, On = [
1045
+ }, Ln = [
1044
1046
  "id",
1045
1047
  "type"
1046
- ], jn = {
1047
- $schema: In,
1048
- $id: Sn,
1049
- title: Vn,
1050
- description: En,
1051
- type: Mn,
1052
- properties: Pn,
1053
- required: On
1048
+ ], An = {
1049
+ $schema: Vn,
1050
+ $id: En,
1051
+ title: Mn,
1052
+ description: Pn,
1053
+ type: On,
1054
+ properties: jn,
1055
+ required: Ln
1054
1056
  }, me = {
1055
1057
  /** 是否自动完成 */
1056
1058
  autocomplete: { Type: String, default: "off" },
@@ -1118,9 +1120,9 @@ const In = "https://json-schema.org/draft/2020-12/schema", Sn = "https://farris-
1118
1120
  */
1119
1121
  updateOn: { type: String, default: "blur" }
1120
1122
  };
1121
- X(me, jn, kn, Bn);
1122
- function Ln(e, t, n, o) {
1123
- const r = I(e.disabled), p = I(!1), d = I("text"), v = I(e.showBorder), k = I(e.textAlign), s = I(e.updateOn), l = P(() => e.editable || !e.readonly), u = P(() => e.editable && !e.disabled && !e.readonly), c = P(() => !e.disabled && p.value), V = P(() => n.value === "" || n.value === null || n.value === void 0), E = P(() => (e.disabled || e.readonly) && !e.forcePlaceholder ? "" : e.placeholder), O = P(() => e.readonly || !e.editable), q = P(() => e.enableTitle ? n.value : ""), T = P(() => ({
1123
+ X(me, An, In, Sn);
1124
+ function Nn(e, t, n, o) {
1125
+ const r = I(e.disabled), p = I(!1), d = I("text"), b = I(e.showBorder), k = I(e.textAlign), s = I(e.updateOn), l = P(() => e.editable || !e.readonly), u = P(() => e.editable && !e.disabled && !e.readonly), c = P(() => !e.disabled && p.value), V = P(() => n.value === "" || n.value === null || n.value === void 0), E = P(() => (e.disabled || e.readonly) && !e.forcePlaceholder ? "" : e.placeholder), O = P(() => e.readonly || !e.editable), q = P(() => e.enableTitle ? n.value : ""), T = P(() => ({
1124
1126
  "form-control": !0,
1125
1127
  "f-utils-fill": !0,
1126
1128
  "text-left": k.value === "left",
@@ -1136,31 +1138,31 @@ function Ln(e, t, n, o) {
1136
1138
  "f-state-focus": c.value
1137
1139
  };
1138
1140
  return (e.customClass || "").split(" ").reduce((S, D) => (S[D] = !0, S), a), a;
1139
- }), M = P(() => v.value ? "" : "border-width : 0 ");
1140
- function j(a, y = !0) {
1141
- n.value = a, o.value !== a && (o.value = a), y && t.emit("change", a), t.emit("update:modelValue", a), t.emit("update:value", a);
1141
+ }), M = P(() => b.value ? "" : "border-width : 0 ");
1142
+ function j(a, C = !0) {
1143
+ n.value = a, o.value !== a && (o.value = a), C && t.emit("change", a), t.emit("update:modelValue", a), t.emit("update:value", a);
1142
1144
  }
1143
1145
  W(
1144
1146
  () => e.modelValue,
1145
- (a, y) => {
1146
- a !== y && (n.value = a, o.value = a);
1147
+ (a, C) => {
1148
+ a !== C && (n.value = a, o.value = a);
1147
1149
  }
1148
- ), W(() => e.disabled, (a, y) => {
1149
- a !== y && (r.value = a);
1150
+ ), W(() => e.disabled, (a, C) => {
1151
+ a !== C && (r.value = a);
1150
1152
  });
1151
1153
  function $(a) {
1152
1154
  return p.value = !1, t.emit("blur", a), a.stopPropagation(), !1;
1153
1155
  }
1154
- function R(a) {
1156
+ function G(a) {
1155
1157
  t.emit("click", a);
1156
1158
  }
1157
1159
  function A(a) {
1158
- e.disabled || (v.value && (p.value = !0), l.value && t.emit("focus", a));
1160
+ e.disabled || (b.value && (p.value = !0), l.value && t.emit("focus", a));
1159
1161
  }
1160
1162
  function z(a) {
1161
1163
  t.emit("input", a.target.value);
1162
- const y = a.target.value;
1163
- o.value = y, s.value === "input" && (t.emit("update:modelValue", y), t.emit("update:value", y));
1164
+ const C = a.target.value;
1165
+ o.value = C, s.value === "input" && (t.emit("update:modelValue", C), t.emit("update:value", C));
1164
1166
  }
1165
1167
  function i(a) {
1166
1168
  t.emit("keydown", a);
@@ -1173,8 +1175,8 @@ function Ln(e, t, n, o) {
1173
1175
  }
1174
1176
  function B(a) {
1175
1177
  if (s.value === "blur") {
1176
- const y = a.target.value;
1177
- a.stopPropagation(), j(y);
1178
+ const C = a.target.value;
1179
+ a.stopPropagation(), j(C);
1178
1180
  }
1179
1181
  }
1180
1182
  return {
@@ -1189,7 +1191,7 @@ function Ln(e, t, n, o) {
1189
1191
  modelValue: n,
1190
1192
  readonly: O,
1191
1193
  onBlur: $,
1192
- onClick: R,
1194
+ onClick: G,
1193
1195
  onFocus: A,
1194
1196
  onInput: z,
1195
1197
  onKeydown: i,
@@ -1202,13 +1204,13 @@ function Ln(e, t, n, o) {
1202
1204
  inputGroupStyle: M
1203
1205
  };
1204
1206
  }
1205
- function An(e, t, n) {
1206
- const o = I(!1), r = P(() => e.enableClear && !e.readonly && !e.disabled), { changeTextBoxValue: p, displayText: d, hasFocused: v, isEmpty: k } = n;
1207
+ function $n(e, t, n) {
1208
+ const o = I(!1), r = P(() => e.enableClear && !e.readonly && !e.disabled), { changeTextBoxValue: p, displayText: d, hasFocused: b, isEmpty: k } = n;
1207
1209
  function s(O) {
1208
1210
  o.value = O;
1209
1211
  }
1210
1212
  W(d, () => {
1211
- v != null && v.value ? s(!!(d != null && d.value)) : s(!1);
1213
+ b != null && b.value ? s(!!(d != null && d.value)) : s(!1);
1212
1214
  });
1213
1215
  const l = P(() => ({
1214
1216
  "input-group-text": !0,
@@ -1228,8 +1230,8 @@ function An(e, t, n) {
1228
1230
  }
1229
1231
  return { clearButtonClass: l, clearButtonStyle: u, hasShownClearButton: o, onClearValue: c, onMouseEnter: V, onMouseLeave: E, shouldShowClearButton: r };
1230
1232
  }
1231
- const Nn = ["moz", "ms", "webkit"];
1232
- function $n() {
1233
+ const Gn = ["moz", "ms", "webkit"];
1234
+ function Rn() {
1233
1235
  let e = 0;
1234
1236
  return (t) => {
1235
1237
  const n = (/* @__PURE__ */ new Date()).getTime(), o = Math.max(0, 16 - (n - e)), r = setTimeout(() => {
@@ -1238,41 +1240,41 @@ function $n() {
1238
1240
  return e = n + o, r;
1239
1241
  };
1240
1242
  }
1241
- function Rn() {
1243
+ function qn() {
1242
1244
  if (typeof window > "u")
1243
1245
  return () => 0;
1244
1246
  if (window.requestAnimationFrame)
1245
1247
  return window.requestAnimationFrame.bind(window);
1246
- const e = Nn.filter((t) => `${t}RequestAnimationFrame` in window)[0];
1247
- return e ? window[`${e}RequestAnimationFrame`] : $n();
1248
+ const e = Gn.filter((t) => `${t}RequestAnimationFrame` in window)[0];
1249
+ return e ? window[`${e}RequestAnimationFrame`] : Rn();
1248
1250
  }
1249
- Rn();
1250
- function Gn(e, t) {
1251
+ qn();
1252
+ function Dn(e, t) {
1251
1253
  const n = I(e.groupText), o = P(() => e.showButtonWhenDisabled && (e.readonly || e.disabled)), r = P(() => e.enableClear || !!e.groupText);
1252
1254
  return { appendedButtonClass: P(() => ({
1253
1255
  "input-group-append": !0,
1254
1256
  "append-force-show": o.value
1255
1257
  })), appendedContent: n, shouldShowAppendedButton: r };
1256
1258
  }
1257
- function qn(e, t, n, o) {
1258
- const { appendedContent: r } = o, p = I(e.enableViewPassword), d = P(() => e.type === "password"), v = '<span class="f-icon f-icon-eye" style="color: rgb(56, 143, 255);"></span>', k = '<span class="f-icon f-icon-eye"></span>', s = I(!1);
1259
+ function Wn(e, t, n, o) {
1260
+ const { appendedContent: r } = o, p = I(e.enableViewPassword), d = P(() => e.type === "password"), b = '<span class="f-icon f-icon-eye" style="color: rgb(56, 143, 255);"></span>', k = '<span class="f-icon f-icon-eye"></span>', s = I(!1);
1259
1261
  W(() => [e.readonly, e.disabled], ([c, V]) => {
1260
1262
  d.value && (n.value = c || V ? "password" : n.value, r.value = c || V ? k : r.value);
1261
1263
  });
1262
1264
  function l() {
1263
- return s.value = !s.value, n.value = s.value ? "text" : "password", r.value = s.value ? v : k, !1;
1265
+ return s.value = !s.value, n.value = s.value ? "text" : "password", r.value = s.value ? b : k, !1;
1264
1266
  }
1265
1267
  function u() {
1266
1268
  n.value = d.value ? "password" : "text", r.value = d.value ? p.value ? k : "" : r.value;
1267
1269
  }
1268
1270
  return u(), { isPassword: d, onClickAppendedButton: l };
1269
1271
  }
1270
- function Dn(e, t, n) {
1272
+ function zn(e, t, n) {
1271
1273
  const o = I(), {
1272
1274
  onBlurTextBox: r,
1273
1275
  onFocusTextBox: p,
1274
1276
  onInput: d,
1275
- onKeyDown: v,
1277
+ onKeyDown: b,
1276
1278
  textBoxValue: k
1277
1279
  } = n, s = P(() => e.disabled || e.readonly || !e.editable ? "" : e.placeholder), l = P(() => ({
1278
1280
  "form-control": !0,
@@ -1291,7 +1293,7 @@ function Dn(e, t, n) {
1291
1293
  }
1292
1294
  return J(async () => {
1293
1295
  await te, V();
1294
- }), () => C("input", {
1296
+ }), () => F("input", {
1295
1297
  ref: o,
1296
1298
  class: l.value,
1297
1299
  style: u.value,
@@ -1304,16 +1306,16 @@ function Dn(e, t, n) {
1304
1306
  onChange: c,
1305
1307
  onFocus: E,
1306
1308
  onInput: d,
1307
- onKeydown: v
1309
+ onKeydown: b
1308
1310
  }, null);
1309
1311
  }
1310
- function Wn(e, t, n) {
1312
+ function Un(e, t, n) {
1311
1313
  const {
1312
1314
  canDownward: o,
1313
1315
  canUpward: r,
1314
1316
  onClickDownButton: p,
1315
1317
  onClickUpButton: d
1316
- } = n, v = P(() => ({
1318
+ } = n, b = P(() => ({
1317
1319
  "input-group-append": !0,
1318
1320
  "btn-group": !0,
1319
1321
  "btn-group-number": !0
@@ -1328,53 +1330,53 @@ function Wn(e, t, n) {
1328
1330
  cursor: o() ? "pointer" : "not-allowed",
1329
1331
  "margin-left": 0
1330
1332
  }));
1331
- return () => C("div", {
1332
- class: v.value
1333
- }, [C("button", {
1333
+ return () => F("div", {
1334
+ class: b.value
1335
+ }, [F("button", {
1334
1336
  title: "upButton",
1335
1337
  class: k.value,
1336
1338
  style: s.value,
1337
1339
  onClick: d,
1338
1340
  disabled: !r()
1339
- }, [C("span", {
1341
+ }, [F("span", {
1340
1342
  class: "f-icon f-icon-arrow-chevron-up number-arrow-chevron"
1341
- }, null)]), C("button", {
1343
+ }, null)]), F("button", {
1342
1344
  title: "downButton",
1343
1345
  class: k.value,
1344
1346
  style: l.value,
1345
1347
  onClick: p,
1346
1348
  disabled: !o()
1347
- }, [C("span", {
1349
+ }, [F("span", {
1348
1350
  class: "f-icon f-icon-arrow-chevron-down number-arrow-chevron"
1349
1351
  }, null)])]);
1350
1352
  }
1351
- function zn(e, t) {
1352
- const n = Ie(e, t), o = Se(e, t, n), r = Ve(e, t, o, n), p = Ee(e, t, o, n, r), d = Wn(e, t, r), {
1353
- displayValue: v,
1353
+ function Hn(e, t) {
1354
+ const n = Ie(e, t), o = Se(e, t, n), r = Ve(e, t, o, n), p = Ee(e, t, o, n, r), d = Un(e, t, r), {
1355
+ displayValue: b,
1354
1356
  modelValue: k,
1355
1357
  getRealValue: s
1356
- } = n, l = Dn(e, t, p), {
1358
+ } = n, l = zn(e, t, p), {
1357
1359
  format: u
1358
1360
  } = o, {
1359
1361
  isFocus: c
1360
1362
  } = p, V = P(() => !e.disabled && !e.readonly);
1361
1363
  return J(() => {
1362
1364
  const E = s(e.modelValue);
1363
- v.value = u(E);
1365
+ b.value = u(E);
1364
1366
  }), W(() => [e.value], ([E]) => {
1365
1367
  const O = s(E);
1366
- k.value = O, v.value = u(O);
1368
+ k.value = O, b.value = u(O);
1367
1369
  }), W(() => [e.modelValue], ([E]) => {
1368
- E !== k.value && (k.value = E, !c.value && (v.value = u(s(E))));
1370
+ E !== k.value && (k.value = E, !c.value && (b.value = u(s(E))));
1369
1371
  }), W(() => [e.precision, e.useThousands, e.prefix, e.suffix, e.showZero], () => {
1370
- v.value = u(k.value);
1371
- }), () => C("div", {
1372
+ b.value = u(k.value);
1373
+ }), () => F("div", {
1372
1374
  class: "input-group f-state-hover flex-row f-cmp-number-spinner"
1373
1375
  }, [l(), V.value && d()]);
1374
1376
  }
1375
- function Un(e, t, n, o) {
1377
+ function Qn(e, t, n, o) {
1376
1378
  const r = I(), p = I(e.autocomplete), d = I(e.enableTitle), {
1377
- isPassword: v
1379
+ isPassword: b
1378
1380
  } = n, k = I(e.minLength), s = I(e.maxLength), l = I(e.tabIndex), {
1379
1381
  disabled: u,
1380
1382
  displayText: c,
@@ -1387,14 +1389,14 @@ function Un(e, t, n, o) {
1387
1389
  onKeyup: M,
1388
1390
  onMousedown: j,
1389
1391
  onTextBoxValueChange: $,
1390
- readonly: R,
1392
+ readonly: G,
1391
1393
  placeholder: A,
1392
1394
  textBoxClass: z,
1393
1395
  textBoxTitle: i
1394
1396
  } = o;
1395
1397
  return J(() => {
1396
1398
  e.selectOnCreated, e.focusOnCreated;
1397
- }), () => C("input", {
1399
+ }), () => F("input", {
1398
1400
  ref: r,
1399
1401
  name: "input-group-value",
1400
1402
  autocomplete: p.value,
@@ -1403,9 +1405,9 @@ function Un(e, t, n, o) {
1403
1405
  maxlength: s.value,
1404
1406
  minlength: k.value,
1405
1407
  placeholder: A.value,
1406
- readonly: R == null ? void 0 : R.value,
1408
+ readonly: G == null ? void 0 : G.value,
1407
1409
  tabindex: l.value,
1408
- title: d.value && !v.value ? i.value : "",
1410
+ title: d.value && !b.value ? i.value : "",
1409
1411
  type: V.value,
1410
1412
  value: c == null ? void 0 : c.value,
1411
1413
  onBlur: E,
@@ -1418,39 +1420,39 @@ function Un(e, t, n, o) {
1418
1420
  onMousedown: j
1419
1421
  }, null);
1420
1422
  }
1421
- function Hn(e, t) {
1423
+ function Zn(e, t) {
1422
1424
  const n = P(() => e.useExtendInfo && !!e.extendInfo), o = Ce({
1423
1425
  content: e.extendInfo
1424
1426
  });
1425
1427
  function r() {
1426
1428
  t.emit("updateExtendInfo");
1427
1429
  }
1428
- return () => n.value && Fe(C("span", {
1430
+ return () => n.value && Fe(F("span", {
1429
1431
  class: "input-group-before-tips",
1430
1432
  onMouseenter: r
1431
- }, [C("i", {
1433
+ }, [F("i", {
1432
1434
  class: "f-icon f-icon-info-circle"
1433
- }, null), C("b", {
1435
+ }, null), F("b", {
1434
1436
  class: "tips-arrow"
1435
1437
  }, null)]), [[we("tooltip"), o]]);
1436
1438
  }
1437
- function Qn(e, t, n, o, r) {
1439
+ function _n(e, t, n, o, r) {
1438
1440
  const {
1439
1441
  appendedButtonClass: p,
1440
1442
  appendedContent: d
1441
- } = n, v = P(() => e.showButtonWhenDisabled && (!e.editable || !e.readonly) && !e.disabled), k = P(() => d.value && !t.slots.groupTextTemplate), s = P(() => !!t.slots.groupTextTemplate), {
1443
+ } = n, b = P(() => e.showButtonWhenDisabled && (!e.editable || !e.readonly) && !e.disabled), k = P(() => d.value && !t.slots.groupTextTemplate), s = P(() => !!t.slots.groupTextTemplate), {
1442
1444
  clearButtonClass: l,
1443
1445
  clearButtonStyle: u,
1444
1446
  onClearValue: c,
1445
1447
  shouldShowClearButton: V
1446
1448
  } = o;
1447
1449
  function E() {
1448
- return C("span", {
1450
+ return F("span", {
1449
1451
  id: "clearIcon",
1450
1452
  class: l.value,
1451
1453
  style: u.value,
1452
1454
  onClick: (A) => c(A)
1453
- }, [C("i", {
1455
+ }, [F("i", {
1454
1456
  class: "f-icon modal_close"
1455
1457
  }, null)]);
1456
1458
  }
@@ -1461,13 +1463,13 @@ function Qn(e, t, n, o, r) {
1461
1463
  t.emit("iconMouseLeave", A);
1462
1464
  }
1463
1465
  function T(A) {
1464
- v.value && t.emit("clickHandle", {
1466
+ b.value && t.emit("clickHandle", {
1465
1467
  originalEvent: A
1466
1468
  }), A.stopPropagation();
1467
1469
  }
1468
1470
  const x = e.type === "password" ? r.onClickAppendedButton : T;
1469
1471
  function M() {
1470
- return C("span", {
1472
+ return F("span", {
1471
1473
  class: "input-group-text",
1472
1474
  onMouseenter: (A) => O(A),
1473
1475
  onMouseleave: (A) => q(A),
@@ -1481,26 +1483,26 @@ function Qn(e, t, n, o, r) {
1481
1483
  function $() {
1482
1484
  return k.value ? M : s.value ? j : "";
1483
1485
  }
1484
- const R = $();
1485
- return () => C("div", {
1486
+ const G = $();
1487
+ return () => F("div", {
1486
1488
  class: p.value
1487
- }, [V.value && E(), R && R()]);
1489
+ }, [V.value && E(), G && G()]);
1488
1490
  }
1489
- const Zn = /* @__PURE__ */ Z({
1491
+ const Jn = /* @__PURE__ */ Z({
1490
1492
  name: "FInputGroup",
1491
1493
  props: me,
1492
1494
  emits: ["clear", "change", "blur", "click", "clickHandle", "focus", "input", "keydown", "keyup", "iconMouseEnter", "iconMouseLeave", "update:modelValue", "update:value", "updateExtendInfo", "valueChange"],
1493
1495
  setup(e, t) {
1494
- const n = I(e.modelValue), o = I(e.modelValue), r = Ln(e, t, n, o), {
1496
+ const n = I(e.modelValue), o = I(e.modelValue), r = Nn(e, t, n, o), {
1495
1497
  inputGroupClass: p,
1496
1498
  inputType: d,
1497
- inputGroupStyle: v
1498
- } = r, k = Gn(e), {
1499
+ inputGroupStyle: b
1500
+ } = r, k = Dn(e), {
1499
1501
  shouldShowAppendedButton: s
1500
- } = k, l = An(e, t, r), {
1502
+ } = k, l = $n(e, t, r), {
1501
1503
  onMouseEnter: u,
1502
1504
  onMouseLeave: c
1503
- } = l, V = qn(e, t, d, k), E = zn(e, t), O = Un(e, t, V, r), q = Qn(e, t, k, l, V), T = Hn(e, t), x = P(() => e.type === "number");
1505
+ } = l, V = Wn(e, t, d, k), E = Hn(e, t), O = Qn(e, t, V, r), q = _n(e, t, k, l, V), T = Zn(e, t), x = P(() => e.type === "number");
1504
1506
  W(() => [e.value], ([j]) => {
1505
1507
  n.value = j, o.value = j;
1506
1508
  }), W(() => [e.modelValue], ([j]) => {
@@ -1508,28 +1510,28 @@ const Zn = /* @__PURE__ */ Z({
1508
1510
  }), J(() => {
1509
1511
  e.value && (n.value = e.value, o.value = e.value);
1510
1512
  });
1511
- const M = () => C(ne, null, [C("div", {
1513
+ const M = () => F(ne, null, [F("div", {
1512
1514
  id: "inputGroup",
1513
1515
  class: p.value,
1514
- style: v.value,
1516
+ style: b.value,
1515
1517
  onMouseenter: u,
1516
1518
  onMouseleave: c
1517
- }, [x.value ? E() : C(ne, null, [T(), O(), s.value && q()])])]);
1519
+ }, [x.value ? E() : F(ne, null, [T(), O(), s.value && q()])])]);
1518
1520
  return () => M();
1519
1521
  }
1520
- }), g = {}, h = {}, b = {}, F = {};
1522
+ }), g = {}, h = {}, v = {}, y = {};
1521
1523
  let ie = !1;
1522
- function _n() {
1523
- ie || (ie = !0, Pe.register(g, h, b, F), Me.register(g, h, b, F), Oe.register(g, h, b, F), je.register(g, h, b, F), Le.register(g, h, b, F), Ae.register(g, h, b, F), Ne.register(g, h, b, F), K.register(g, h, b, F), $e.register(g, h, b, F), Ge.register(g, h, b, F), Re.register(g, h, b, F), qe.register(g, h, b, F), De.register(g, h, b, F), We.register(g, h, b, F), xe.register(g, h, b, F), ze.register(g, h, b, F), Ue.register(g, h, b, F), He.register(g, h, b, F), Qe.register(g, h, b, F), Ze.register(g, h, b, F), _e.register(g, h, b, F), Xe.register(g, h, b, F), Je.register(g, h, b, F), Ye.register(g, h, b, F), Ke.register(g, h, b, F), et.register(g, h, b, F), tt.register(g, h, b, F), Be.register(g, h, b, F), nt.register(g, h, b, F), ot.register(g, h, b, F), rt.register(g, h, b, F), it.register(g, h, b, F), at.register(g, h, b, F), lt.register(g, h, b, F), st.register(g, h, b, F), ut.register(g, h, b, F), dt.register(g, h, b, F), pt.register(g, h, b, F), ct.register(g, h, b, F), Et.register(g, h, b), ft.register(g, h, b, F), mt.register(g, h, b, F), gt.register(g, h, b, F), ht.register(g, h, b, F), vt.register(g, h, b, F), yt.register(g, h, b, F), bt.register(g, h, b, F), Ct.register(g, h, b, F), Ft.register(g, h, b, F), wt.register(g, h, b, F), Tt.register(g, h, b, F), xt.register(g, h, b, F), Bt.register(g, h, b, F), kt.register(g, h, b, F), It.register(g, h, b, F), St.register(g, h, b, F), Vt.register(g, h, b, F));
1524
+ function Xn() {
1525
+ ie || (ie = !0, Pe.register(g, h, v, y), Me.register(g, h, v, y), Oe.register(g, h, v, y), je.register(g, h, v, y), Le.register(g, h, v, y), Ae.register(g, h, v, y), Ne.register(g, h, v, y), K.register(g, h, v, y), $e.register(g, h, v, y), Ge.register(g, h, v, y), qe.register(g, h, v, y), Re.register(g, h, v, y), De.register(g, h, v, y), We.register(g, h, v, y), ze.register(g, h, v, y), xe.register(g, h, v, y), Ue.register(g, h, v, y), He.register(g, h, v, y), Qe.register(g, h, v, y), Ze.register(g, h, v, y), _e.register(g, h, v, y), Je.register(g, h, v, y), Ye.register(g, h, v, y), Xe.register(g, h, v, y), Ke.register(g, h, v, y), et.register(g, h, v, y), tt.register(g, h, v, y), nt.register(g, h, v, y), Be.register(g, h, v, y), ot.register(g, h, v, y), rt.register(g, h, v, y), it.register(g, h, v, y), at.register(g, h, v, y), lt.register(g, h, v, y), st.register(g, h, v, y), ut.register(g, h, v, y), ct.register(g, h, v, y), pt.register(g, h, v, y), ft.register(g, h, v, y), dt.register(g, h, v, y), Mt.register(g, h, v), mt.register(g, h, v, y), gt.register(g, h, v, y), ht.register(g, h, v, y), vt.register(g, h, v, y), yt.register(g, h, v, y), bt.register(g, h, v, y), Ct.register(g, h, v, y), Ft.register(g, h, v, y), wt.register(g, h, v, y), Tt.register(g, h, v, y), xt.register(g, h, v, y), kt.register(g, h, v, y), It.register(g, h, v, y), Bt.register(g, h, v, y), St.register(g, h, v, y), Vt.register(g, h, v, y), Et.register(g, h, v, y), Pt.register(g, h, v, y));
1524
1526
  }
1525
- function Jn() {
1526
- _n();
1527
+ function Yn() {
1528
+ Xn();
1527
1529
  function e(r, p) {
1528
1530
  const d = h[r];
1529
1531
  return d ? d(p) : {};
1530
1532
  }
1531
1533
  function t(r) {
1532
- return g[r] || Zn;
1534
+ return g[r] || Jn;
1533
1535
  }
1534
1536
  function n(r) {
1535
1537
  switch (r) {
@@ -1540,6 +1542,7 @@ function Jn() {
1540
1542
  case "check-group":
1541
1543
  return "onChangeValue";
1542
1544
  case "combo-list":
1545
+ case "combo-tree":
1543
1546
  return "onChange";
1544
1547
  case "combo-lookup":
1545
1548
  return "";
@@ -1594,23 +1597,23 @@ function Jn() {
1594
1597
  }
1595
1598
  return { resolveEditorProps: e, resolveEditorType: t, getChangeFunctionName: n, getClearFunctionName: o };
1596
1599
  }
1597
- const Xn = /* @__PURE__ */ Z({
1600
+ const Kn = /* @__PURE__ */ Z({
1598
1601
  name: "FDynamicFormGroup",
1599
1602
  props: fe,
1600
1603
  emits: ["change", "update:modelValue"],
1601
1604
  setup(e, t) {
1602
- const n = I(e.id), o = I(e.customClass), r = I(e.editor), p = I(e.label), d = I(e.modelValue), v = I(e.readonly), k = I(e.required), s = I(e.showLabel), l = I(e.visible);
1605
+ const n = I(e.id), o = I(e.customClass), r = I(e.editor), p = I(e.label), d = I(e.modelValue), b = I(e.readonly), k = I(e.required), s = I(e.showLabel), l = I(e.visible);
1603
1606
  I(e.type);
1604
1607
  const u = I(), {
1605
1608
  resolveEditorProps: c,
1606
1609
  resolveEditorType: V,
1607
1610
  getChangeFunctionName: E,
1608
1611
  getClearFunctionName: O
1609
- } = Jn(), q = P(() => ({
1612
+ } = Yn(), q = P(() => ({
1610
1613
  "form-group": !0,
1611
1614
  "farris-form-group": !0,
1612
1615
  "common-group": !0,
1613
- "q-state-readonly": v.value
1616
+ "q-state-readonly": b.value
1614
1617
  }));
1615
1618
  function T(j, $) {
1616
1619
  d.value = $ !== void 0 ? $ : j, t.emit("update:modelValue", d.value), t.emit("change", d.value);
@@ -1619,35 +1622,35 @@ const Xn = /* @__PURE__ */ Z({
1619
1622
  t.emit("update:modelValue", "");
1620
1623
  }
1621
1624
  const M = P(() => {
1622
- const j = r.value.type || "input-group", $ = V(j), R = c(j, r.value), A = E(j), z = O(r.value.type);
1623
- return R[A] = T, R[z] = x, () => C($, Te({
1625
+ const j = r.value.type || "input-group", $ = V(j), G = c(j, r.value), A = E(j), z = O(r.value.type);
1626
+ return G[A] = T, G[z] = x, () => F($, Te({
1624
1627
  ref: u
1625
- }, R, {
1628
+ }, G, {
1626
1629
  modelValue: d.value,
1627
1630
  "onUpdate:modelValue": (i) => d.value = i
1628
1631
  }), null);
1629
1632
  });
1630
- return W([() => e.id, () => e.customClass, () => e.editor, () => e.label, () => e.modelValue, () => e.readonly, () => e.required, () => e.showLabel, () => e.visible], ([j, $, R, A, z, i, m, f, B]) => {
1631
- n.value = j, o.value = $, r.value = R, p.value = A, d.value = z, v.value = i, k.value = m, s.value = f, l.value = B;
1633
+ return W([() => e.id, () => e.customClass, () => e.editor, () => e.label, () => e.modelValue, () => e.readonly, () => e.required, () => e.showLabel, () => e.visible], ([j, $, G, A, z, i, m, f, B]) => {
1634
+ n.value = j, o.value = $, r.value = G, p.value = A, d.value = z, b.value = i, k.value = m, s.value = f, l.value = B;
1632
1635
  }), t.expose({
1633
1636
  editorRef: u
1634
- }), () => l.value && C("div", {
1637
+ }), () => l.value && F("div", {
1635
1638
  id: `${n.value}-input-group`,
1636
1639
  class: o.value
1637
- }, [C("div", {
1640
+ }, [F("div", {
1638
1641
  class: "farris-group-wrap"
1639
- }, [C("div", {
1642
+ }, [F("div", {
1640
1643
  class: q.value
1641
- }, [s.value && C(xn, {
1644
+ }, [s.value && F(Bn, {
1642
1645
  id: `${n.value}-lable`,
1643
1646
  required: k.value,
1644
1647
  text: p.value,
1645
1648
  title: p.value
1646
- }, null), C("div", {
1649
+ }, null), F("div", {
1647
1650
  class: "farris-input-wrap"
1648
1651
  }, [M.value()])])])]);
1649
1652
  }
1650
- }), Yn = {
1653
+ }), eo = {
1651
1654
  id: { type: String, default: "" },
1652
1655
  /** 筛选组件配置器,具体配置项可查看各组件文档 */
1653
1656
  editor: { type: Object, default: {} },
@@ -1663,13 +1666,13 @@ const Xn = /* @__PURE__ */ Z({
1663
1666
  selectOnCreated: { type: Boolean, default: !1 }
1664
1667
  };
1665
1668
  X(
1666
- Yn,
1669
+ eo,
1667
1670
  pe,
1668
1671
  ee,
1669
1672
  void 0
1670
1673
  );
1671
- var Kn = /* @__PURE__ */ ((e) => (e[e.IntType = 0] = "IntType", e[e.StringType = 1] = "StringType", e[e.BoolType = 2] = "BoolType", e))(Kn || {}), ge = /* @__PURE__ */ ((e) => (e[e.Value = 0] = "Value", e[e.SmartHelp = 1] = "SmartHelp", e[e.Enum = 2] = "Enum", e[e.Express = 3] = "Express", e))(ge || {}), he = /* @__PURE__ */ ((e) => (e.Equal = "0", e.NotEqual = "1", e.Greater = "2", e.GreaterOrEqual = "3", e.Less = "4", e.LessOrEqual = "5", e.Like = "6", e.LikeStartWith = "7", e.LikeEndWith = "8", e))(he || {});
1672
- const eo = [
1674
+ var to = /* @__PURE__ */ ((e) => (e[e.IntType = 0] = "IntType", e[e.StringType = 1] = "StringType", e[e.BoolType = 2] = "BoolType", e))(to || {}), ge = /* @__PURE__ */ ((e) => (e[e.Value = 0] = "Value", e[e.SmartHelp = 1] = "SmartHelp", e[e.Enum = 2] = "Enum", e[e.Express = 3] = "Express", e))(ge || {}), he = /* @__PURE__ */ ((e) => (e.Equal = "0", e.NotEqual = "1", e.Greater = "2", e.GreaterOrEqual = "3", e.Less = "4", e.LessOrEqual = "5", e.Like = "6", e.LikeStartWith = "7", e.LikeEndWith = "8", e))(he || {});
1675
+ const no = [
1673
1676
  {
1674
1677
  value: "0",
1675
1678
  name: "等于"
@@ -1706,7 +1709,7 @@ const eo = [
1706
1709
  value: "8",
1707
1710
  name: "结束是"
1708
1711
  }
1709
- ], to = {
1712
+ ], oo = {
1710
1713
  "button-edit": ["0", "1", " 6", "7", "8"],
1711
1714
  "check-box": ["0"],
1712
1715
  "combo-list": ["0", "1"],
@@ -1726,18 +1729,18 @@ const eo = [
1726
1729
  "radio-group": ["0"],
1727
1730
  text: ["0", "1", " 6", "7", "8"]
1728
1731
  };
1729
- function no(e, t, n) {
1732
+ function ro(e, t, n) {
1730
1733
  const { fieldMap: o } = n;
1731
1734
  function r(p) {
1732
1735
  const d = o.get(p.fieldCode);
1733
1736
  if (!d)
1734
1737
  return [];
1735
- const v = d.editor.type, k = new Set(to[v]);
1736
- return eo.filter((l) => k.has(l.value));
1738
+ const b = d.editor.type, k = new Set(oo[b]);
1739
+ return no.filter((l) => k.has(l.value));
1737
1740
  }
1738
1741
  return { getCompareOperators: r };
1739
1742
  }
1740
- function oo() {
1743
+ function io() {
1741
1744
  const e = I({ relation: 0, items: [], children: [], path: [], groupId: 0, level: 0 }), t = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Map();
1742
1745
  let o = 0;
1743
1746
  function r() {
@@ -1763,51 +1766,51 @@ function oo() {
1763
1766
  m.groupId === i.groupId && t.set(f, i);
1764
1767
  }), e.value = i;
1765
1768
  }
1766
- function v(i) {
1769
+ function b(i) {
1767
1770
  const m = /* @__PURE__ */ new Map();
1768
1771
  let f = 0;
1769
1772
  return i.forEach((B, a) => {
1770
- var y, S;
1771
- if (f += ((y = B.lBracket) == null ? void 0 : y.length) || 0, m.set(a, f), f -= ((S = B.rBracket) == null ? void 0 : S.length) || 0, f < 0)
1773
+ var C, S;
1774
+ if (f += ((C = B.lBracket) == null ? void 0 : C.length) || 0, m.set(a, f), f -= ((S = B.rBracket) == null ? void 0 : S.length) || 0, f < 0)
1772
1775
  throw new Error("The right bracket is out of range.");
1773
1776
  }), m;
1774
1777
  }
1775
1778
  function k(i, m, f, B, a) {
1776
- for (let y = 0; y < m; y++) {
1777
- const S = i + (y + 1), D = p(a, S);
1779
+ for (let C = 0; C < m; C++) {
1780
+ const S = i + (C + 1), D = p(a, S);
1778
1781
  f.children.push(D), n.set(D.groupId, f), f = f.children[f.children.length - 1], B.push(f);
1779
1782
  }
1780
1783
  return f;
1781
1784
  }
1782
1785
  function s(i, m, f, B, a) {
1783
- for (let G = m; G <= 0; G++)
1786
+ for (let R = m; R <= 0; R++)
1784
1787
  B.pop();
1785
- const y = B[B.length - 1];
1786
- if (!y)
1788
+ const C = B[B.length - 1];
1789
+ if (!C)
1787
1790
  throw new Error("The group path is out of range");
1788
1791
  const S = i + m, D = p(a, S);
1789
- return y.children.push(D), n.set(D.groupId, y), f = y.children[y.children.length - 1], B.push(f), f;
1792
+ return C.children.push(D), n.set(D.groupId, C), f = C.children[C.children.length - 1], B.push(f), f;
1790
1793
  }
1791
1794
  function l(i, m, f, B) {
1792
1795
  f.pop();
1793
- const a = f[f.length - 1], y = p(B, i);
1794
- return a.children.push(y), n.set(y.groupId, a), m = a.children[a.children.length - 1], f.push(m), m;
1796
+ const a = f[f.length - 1], C = p(B, i);
1797
+ return a.children.push(C), n.set(C.groupId, a), m = a.children[a.children.length - 1], f.push(m), m;
1795
1798
  }
1796
- function u(i, m, f, B, a, y) {
1799
+ function u(i, m, f, B, a, C) {
1797
1800
  let S = i[i.length - 1];
1798
1801
  if (!S)
1799
1802
  throw new Error("The group path is out of range");
1800
- const D = m.get(B) || 0, G = m.get(f) || 0;
1803
+ const D = m.get(B) || 0, R = m.get(f) || 0;
1801
1804
  if (f < 0 || f === B)
1802
1805
  return i[i.length - 1];
1803
- const N = D - G, L = a && a.relation !== void 0 ? a.relation : 1;
1804
- return S = N > 0 ? k(G, N, S, i, L) : S, S = N < 0 ? s(G, N, S, i, L) : S, S = N === 0 && G > 0 && D > 0 && a && y && !!a.rBracket && !!y.lBracket ? l(G, S, i, L) : S, S;
1806
+ const N = D - R, L = a && a.relation !== void 0 ? a.relation : 1;
1807
+ return S = N > 0 ? k(R, N, S, i, L) : S, S = N < 0 ? s(R, N, S, i, L) : S, S = N === 0 && R > 0 && D > 0 && a && C && !!a.rBracket && !!C.lBracket ? l(R, S, i, L) : S, S;
1805
1808
  }
1806
1809
  function c(i) {
1807
- const f = { relation: i.length && i[0].relation !== void 0 ? i[0].relation : 1, items: [], children: [], path: [], groupId: 0, level: 0 }, B = [f], a = v(i);
1808
- return i.forEach((y, S) => {
1809
- const D = S - 1, G = i[D], N = u(B, a, D, S, G, y);
1810
- N.items.push(y), t.set(y.conditionId, N);
1810
+ const f = { relation: i.length && i[0].relation !== void 0 ? i[0].relation : 1, items: [], children: [], path: [], groupId: 0, level: 0 }, B = [f], a = b(i);
1811
+ return i.forEach((C, S) => {
1812
+ const D = S - 1, R = i[D], N = u(B, a, D, S, R, C);
1813
+ N.items.push(C), t.set(C.conditionId, N);
1811
1814
  }), e.value = f, f;
1812
1815
  }
1813
1816
  function V() {
@@ -1828,21 +1831,21 @@ function oo() {
1828
1831
  m && (m.items = m.items.filter((f) => f.conditionId !== i.conditionId), t.delete(i.conditionId), z(), d());
1829
1832
  }
1830
1833
  function q(i, m, f, B) {
1831
- i.reduce((a, y) => {
1832
- const S = y.conditionId !== void 0, D = y.groupId !== void 0;
1834
+ i.reduce((a, C) => {
1835
+ const S = C.conditionId !== void 0, D = C.groupId !== void 0;
1833
1836
  if (S) {
1834
- const G = y;
1835
- f.push(G), a.items.set(G.conditionId, G);
1837
+ const R = C;
1838
+ f.push(R), a.items.set(R.conditionId, R);
1836
1839
  }
1837
1840
  if (D) {
1838
- const G = y;
1839
- B.push(G), a.groups.set(G.groupId, G);
1841
+ const R = C;
1842
+ B.push(R), a.groups.set(R.groupId, R);
1840
1843
  }
1841
1844
  return a;
1842
1845
  }, m);
1843
1846
  }
1844
1847
  function T(i, m, f, B, a) {
1845
- i && (i.items = m.length ? i.items.filter((y) => !f.has(y.conditionId)) : i.items, i.children = B.length ? i.children.filter((y) => !a.has(y.groupId)) : i.children);
1848
+ i && (i.items = m.length ? i.items.filter((C) => !f.has(C.conditionId)) : i.items, i.children = B.length ? i.children.filter((C) => !a.has(C.groupId)) : i.children);
1846
1849
  }
1847
1850
  function x(i, m, f) {
1848
1851
  m.forEach((B) => {
@@ -1852,11 +1855,11 @@ function oo() {
1852
1855
  });
1853
1856
  }
1854
1857
  function M(i) {
1855
- const m = i[0], f = m.conditionId !== void 0 ? t.get(m.conditionId) : n.get(m.groupId), B = { items: /* @__PURE__ */ new Map(), groups: /* @__PURE__ */ new Map() }, a = [], y = [];
1858
+ const m = i[0], f = m.conditionId !== void 0 ? t.get(m.conditionId) : n.get(m.groupId), B = { items: /* @__PURE__ */ new Map(), groups: /* @__PURE__ */ new Map() }, a = [], C = [];
1856
1859
  if (f) {
1857
- q(i, B, a, y), T(f, a, B.items, y, B.groups);
1860
+ q(i, B, a, C), T(f, a, B.items, C, B.groups);
1858
1861
  const S = p(f.relation, f.level + 1);
1859
- x(S, a, y), f.children.push(S), n.set(S.groupId, f), d();
1862
+ x(S, a, C), f.children.push(S), n.set(S.groupId, f), d();
1860
1863
  }
1861
1864
  }
1862
1865
  function j(i) {
@@ -1870,16 +1873,16 @@ function oo() {
1870
1873
  function $(i) {
1871
1874
  i.relation = i.relation === 1 ? 2 : 1, d();
1872
1875
  }
1873
- let R;
1876
+ let G;
1874
1877
  function A(i) {
1875
1878
  const { relation: m } = i;
1876
- return (i.children && i.children.length ? i.children.map((B, a, y) => {
1877
- const S = R(B);
1878
- return S[0].lBracket = (S[0].lBracket || "") + "(", S[S.length - 1].rBracket = (S[S.length - 1].rBracket || "") + ")", S[S.length - 1].relation = a < y.length - 1 ? m : 0, S;
1879
+ return (i.children && i.children.length ? i.children.map((B, a, C) => {
1880
+ const S = G(B);
1881
+ return S[0].lBracket = (S[0].lBracket || "") + "(", S[S.length - 1].rBracket = (S[S.length - 1].rBracket || "") + ")", S[S.length - 1].relation = a < C.length - 1 ? m : 0, S;
1879
1882
  }) : []).flat();
1880
1883
  }
1881
- R = (i = e.value) => {
1882
- const { relation: m } = i, f = i.items.map((a, y, S) => (a.lBracket = y === 0 ? "(" : "", a.rBracket = y === S.length - 1 ? ")" : "", a.relation = y < S.length - 1 ? m || 1 : 0, a)), B = A(i);
1884
+ G = (i = e.value) => {
1885
+ const { relation: m } = i, f = i.items.map((a, C, S) => (a.lBracket = C === 0 ? "(" : "", a.rBracket = C === S.length - 1 ? ")" : "", a.relation = C < S.length - 1 ? m || 1 : 0, a)), B = A(i);
1883
1886
  return [...f, ...B];
1884
1887
  };
1885
1888
  function z(i) {
@@ -1895,7 +1898,7 @@ function oo() {
1895
1898
  addCondition: V,
1896
1899
  changeGroupRelation: $,
1897
1900
  conditionGroupMap: t,
1898
- getConditions: R,
1901
+ getConditions: G,
1899
1902
  group: M,
1900
1903
  groupParentMap: n,
1901
1904
  insertConditionTo: E,
@@ -1906,11 +1909,11 @@ function oo() {
1906
1909
  unGroup: j
1907
1910
  };
1908
1911
  }
1909
- function ro(e, t, n) {
1912
+ function ao(e, t, n) {
1910
1913
  const o = I(/* @__PURE__ */ new Set()), r = I(/* @__PURE__ */ new Set()), { conditionGroupMap: p, groupParentMap: d } = n;
1911
- let v, k;
1914
+ let b, k;
1912
1915
  function s(T) {
1913
- let x = v.level <= T.level ? v : T, M = v.level > T.level ? v : T;
1916
+ let x = b.level <= T.level ? b : T, M = b.level > T.level ? b : T;
1914
1917
  const j = [];
1915
1918
  for (; M && x && M !== x; )
1916
1919
  M.level > x.level ? (j.push(M), M = d.get(M.groupId)) : M.level === x.level && (x = d.get(x.groupId), x && j.unshift(x));
@@ -1921,7 +1924,7 @@ function ro(e, t, n) {
1921
1924
  }
1922
1925
  function u(T) {
1923
1926
  const { conditionId: x } = T;
1924
- o.value.add(x), v = o.value.size === 0 ? p.get(x) : v;
1927
+ o.value.add(x), b = o.value.size === 0 ? p.get(x) : b;
1925
1928
  const M = p.get(T.conditionId);
1926
1929
  s(M).forEach(($) => l($));
1927
1930
  }
@@ -1939,11 +1942,11 @@ function ro(e, t, n) {
1939
1942
  };
1940
1943
  function E(T) {
1941
1944
  const { conditionId: x } = T;
1942
- o.value.size === 0 && (v = p.get(x)), o.value.has(x) ? k(T) : u(T);
1945
+ o.value.size === 0 && (b = p.get(x)), o.value.has(x) ? k(T) : u(T);
1943
1946
  }
1944
1947
  function O() {
1945
1948
  const T = [];
1946
- return v && (v.items.filter((x) => o.value.has(x.conditionId)).forEach((x) => T.push(x)), v.children.filter((x) => r.value.has(x.groupId)).forEach((x) => T.push(x))), T;
1949
+ return b && (b.items.filter((x) => o.value.has(x.conditionId)).forEach((x) => T.push(x)), b.children.filter((x) => r.value.has(x.groupId)).forEach((x) => T.push(x))), T;
1947
1950
  }
1948
1951
  function q() {
1949
1952
  o.value.clear(), r.value.clear();
@@ -1958,9 +1961,9 @@ const Y = /* @__PURE__ */ Z({
1958
1961
  const n = I(e.key), o = I(e.conditions), r = ue(e), {
1959
1962
  convertToSingleControl: p,
1960
1963
  fields: d,
1961
- fieldMap: v,
1964
+ fieldMap: b,
1962
1965
  loadFieldConfigs: k
1963
- } = r, s = oo(), {
1966
+ } = r, s = io(), {
1964
1967
  addCondition: l,
1965
1968
  changeGroupRelation: u,
1966
1969
  getConditions: c,
@@ -1973,16 +1976,16 @@ const Y = /* @__PURE__ */ Z({
1973
1976
  unGroup: M
1974
1977
  } = s, {
1975
1978
  createConditionValue: j
1976
- } = se(), $ = ro(e, t, s), {
1977
- selectedItems: R,
1979
+ } = se(), $ = ao(e, t, s), {
1980
+ selectedItems: G,
1978
1981
  toggleSelect: A
1979
1982
  } = $, {
1980
1983
  getCompareOperators: z
1981
- } = no(e, t, r);
1984
+ } = ro(e, t, r);
1982
1985
  k(!1), d.value = p(d.value), O(o.value);
1983
1986
  function i(N) {
1984
1987
  var H;
1985
- const L = ((H = v.get(N.fieldCode)) == null ? void 0 : H.editor) || {
1988
+ const L = ((H = b.get(N.fieldCode)) == null ? void 0 : H.editor) || {
1986
1989
  type: "text"
1987
1990
  };
1988
1991
  N.value = j(L.type, void 0), t.emit("labelCodeChange", N);
@@ -2001,12 +2004,12 @@ const Y = /* @__PURE__ */ Z({
2001
2004
  function a(N) {
2002
2005
  return N.items.map((L) => {
2003
2006
  var H;
2004
- return C("div", {
2007
+ return F("div", {
2005
2008
  class: "condition-list-item",
2006
2009
  key: L.conditionId
2007
- }, [C("div", {
2010
+ }, [F("div", {
2008
2011
  class: "condition-list-item-type mr-3"
2009
- }, [C(K, {
2012
+ }, [F(K, {
2010
2013
  "value-field": "labelCode",
2011
2014
  "text-field": "name",
2012
2015
  "id-field": "id",
@@ -2014,9 +2017,9 @@ const Y = /* @__PURE__ */ Z({
2014
2017
  modelValue: L.fieldCode,
2015
2018
  "onUpdate:modelValue": (U) => L.fieldCode = U,
2016
2019
  onChange: (U) => i(L)
2017
- }, null)]), C("div", {
2020
+ }, null)]), F("div", {
2018
2021
  class: "condition-list-item-compare mr-3"
2019
- }, [C(K, {
2022
+ }, [F(K, {
2020
2023
  "value-field": "value",
2021
2024
  "text-field": "name",
2022
2025
  "id-field": "id",
@@ -2024,97 +2027,97 @@ const Y = /* @__PURE__ */ Z({
2024
2027
  modelValue: L.compareType,
2025
2028
  "onUpdate:modelValue": (U) => L.compareType = U,
2026
2029
  onChange: (U) => m(U, L)
2027
- }, null)]), C("div", {
2030
+ }, null)]), F("div", {
2028
2031
  class: "condition-list-item-control mr-3"
2029
- }, [C(Xn, {
2030
- editor: (H = v.get(L.fieldCode)) == null ? void 0 : H.editor,
2032
+ }, [F(Kn, {
2033
+ editor: (H = b.get(L.fieldCode)) == null ? void 0 : H.editor,
2031
2034
  showLabel: !1,
2032
2035
  modelValue: L.value.value,
2033
2036
  "onUpdate:modelValue": (U) => L.value.value = U,
2034
2037
  onChange: (U) => {
2035
2038
  B(U, L);
2036
2039
  }
2037
- }, null)]), C("div", {
2040
+ }, null)]), F("div", {
2038
2041
  class: "condition-list-item-extend"
2039
- }, [C("span", {
2042
+ }, [F("span", {
2040
2043
  class: "f-icon f-icon-plus-sm mr-2",
2041
2044
  onClick: () => E(L)
2042
- }, null), C("span", {
2045
+ }, null), F("span", {
2043
2046
  class: "f-icon f-icon-minus-sm",
2044
2047
  onClick: () => T(L)
2045
- }, null)]), C("div", {
2048
+ }, null)]), F("div", {
2046
2049
  class: "custom-control custom-checkbox"
2047
- }, [C("input", {
2050
+ }, [F("input", {
2048
2051
  title: "selection",
2049
2052
  class: "custom-control-input",
2050
2053
  type: "checkbox",
2051
- checked: R.value.has(L.conditionId)
2052
- }, null), C("label", {
2054
+ checked: G.value.has(L.conditionId)
2055
+ }, null), F("label", {
2053
2056
  class: "custom-control-label",
2054
2057
  onClick: () => A(L)
2055
2058
  }, null)])]);
2056
2059
  });
2057
2060
  }
2058
- function y(N) {
2059
- return C("div", {
2061
+ function C(N) {
2062
+ return F("div", {
2060
2063
  class: "condition-list-relation"
2061
- }, [C("span", {
2064
+ }, [F("span", {
2062
2065
  class: "condition-list-relation-close f-icon-filter-cancel btn-link",
2063
2066
  onClick: () => M(N)
2064
- }, null), C("span", {
2067
+ }, null), F("span", {
2065
2068
  class: "condition-list-relation-text btn-link",
2066
2069
  onClick: () => u(N)
2067
2070
  }, [N.relation === 1 ? "与" : "或"])]);
2068
2071
  }
2069
2072
  function S(N) {
2070
- return C("div", {
2073
+ return F("div", {
2071
2074
  class: "condition-list-content"
2072
- }, [C("div", {
2075
+ }, [F("div", {
2073
2076
  class: "condition-list-content-group"
2074
- }, [a(N), N.children && N.children.map((L) => S(L))]), y(N)]);
2077
+ }, [a(N), N.children && N.children.map((L) => S(L))]), C(N)]);
2075
2078
  }
2076
2079
  function D() {
2077
2080
  V($.getSelectedGroupItem()), $.clear();
2078
2081
  }
2079
- function G() {
2080
- return C("div", {
2082
+ function R() {
2083
+ return F("div", {
2081
2084
  class: "condition-list-bottom"
2082
- }, [C("div", {
2085
+ }, [F("div", {
2083
2086
  class: "add-condition-btn mb-1 mr-3",
2084
2087
  onClick: l
2085
- }, [C("span", {
2088
+ }, [F("span", {
2086
2089
  class: "f-icon f-icon-filter-add"
2087
- }, null), C("span", {
2090
+ }, null), F("span", {
2088
2091
  class: "ml-1"
2089
- }, [_("添加条件")])]), C("div", {
2092
+ }, [_("添加条件")])]), F("div", {
2090
2093
  class: "add-condition-btn mb-1",
2091
2094
  onClick: D
2092
- }, [C("span", {
2095
+ }, [F("span", {
2093
2096
  class: "f-icon f-icon-filter-grouping"
2094
- }, null), C("span", {
2097
+ }, null), F("span", {
2095
2098
  class: "ml-1"
2096
- }, [_("生成条件组")])]), C("div", {
2099
+ }, [_("生成条件组")])]), F("div", {
2097
2100
  class: "condition-list-reset add-condition-btn",
2098
2101
  onClick: f
2099
2102
  }, [_("重置")])]);
2100
2103
  }
2101
- return () => C("div", {
2104
+ return () => F("div", {
2102
2105
  class: "condition-list",
2103
2106
  key: n.value
2104
- }, [C("div", {
2107
+ }, [F("div", {
2105
2108
  class: "condition-list-body"
2106
- }, [S(x.value)]), G()]);
2109
+ }, [S(x.value)]), R()]);
2107
2110
  }
2108
2111
  });
2109
2112
  Y.install = (e) => {
2110
2113
  e.component(re.name, re).component(Y.name, Y);
2111
2114
  };
2112
2115
  export {
2113
- Kn as EnumType,
2116
+ to as EnumType,
2114
2117
  re as FConditionFields,
2115
2118
  Y as FConditionList,
2116
2119
  ge as ValueType,
2117
2120
  ae as conditionProps,
2118
2121
  Y as default,
2119
- oo as useCondition
2122
+ io as useCondition
2120
2123
  };