@farris/ui-vue 1.2.5 → 1.2.6

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 (253) hide show
  1. package/components/accordion/package.json +1 -1
  2. package/components/avatar/index.esm.js +124 -116
  3. package/components/avatar/index.umd.cjs +1 -1
  4. package/components/avatar/package.json +1 -1
  5. package/components/border-editor/package.json +1 -1
  6. package/components/button/package.json +1 -1
  7. package/components/button-edit/index.css +1 -0
  8. package/components/button-edit/package.json +1 -1
  9. package/components/button-group/package.json +1 -1
  10. package/components/calculator/package.json +1 -1
  11. package/components/calendar/package.json +1 -1
  12. package/components/capsule/package.json +1 -1
  13. package/components/checkbox/index.esm.js +219 -209
  14. package/components/checkbox/index.umd.cjs +1 -1
  15. package/components/checkbox/package.json +1 -1
  16. package/components/color-picker/package.json +1 -1
  17. package/components/combo-list/index.esm.js +36 -28
  18. package/components/combo-list/index.umd.cjs +1 -1
  19. package/components/combo-list/package.json +1 -1
  20. package/components/combo-tree/index.esm.js +340 -107
  21. package/components/combo-tree/index.umd.cjs +1 -1
  22. package/components/combo-tree/package.json +1 -1
  23. package/components/common/package.json +1 -1
  24. package/components/component/index.esm.js +36 -29
  25. package/components/component/index.umd.cjs +1 -1
  26. package/components/component/package.json +1 -1
  27. package/components/condition/index.esm.js +318 -316
  28. package/components/condition/index.umd.cjs +1 -1
  29. package/components/condition/package.json +1 -1
  30. package/components/content-container/index.esm.js +9 -13
  31. package/components/content-container/index.umd.cjs +1 -1
  32. package/components/content-container/package.json +1 -1
  33. package/components/{tree-grid/style.css → data-grid/index.css} +1 -1
  34. package/components/data-grid/index.esm.js +3771 -3622
  35. package/components/data-grid/index.umd.cjs +1 -1
  36. package/components/data-grid/package.json +1 -1
  37. package/components/data-view/index.esm.js +2408 -2405
  38. package/components/data-view/index.umd.cjs +1 -1
  39. package/components/data-view/package.json +1 -1
  40. package/components/date-picker/index.esm.js +250 -242
  41. package/components/date-picker/index.umd.cjs +1 -1
  42. package/components/date-picker/package.json +1 -1
  43. package/components/designer-canvas/index.esm.js +23 -20
  44. package/components/designer-canvas/index.umd.cjs +1 -1
  45. package/components/designer-canvas/package.json +1 -1
  46. package/components/designer-outline/package.json +1 -1
  47. package/components/designer-toolbox/package.json +1 -1
  48. package/components/discussion-editor/package.json +1 -1
  49. package/components/discussion-list/package.json +1 -1
  50. package/components/drawer/package.json +1 -1
  51. package/components/dropdown/index.esm.js +86 -86
  52. package/components/dropdown/index.umd.cjs +1 -1
  53. package/components/dropdown/package.json +1 -1
  54. package/components/dynamic-form/index.esm.js +575 -565
  55. package/components/dynamic-form/index.umd.cjs +1 -1
  56. package/components/dynamic-form/package.json +1 -1
  57. package/components/dynamic-resolver/index.esm.js +56 -47
  58. package/components/dynamic-resolver/index.umd.cjs +1 -1
  59. package/components/dynamic-resolver/package.json +1 -1
  60. package/components/dynamic-view/index.esm.js +281 -277
  61. package/components/dynamic-view/index.umd.cjs +1 -1
  62. package/components/dynamic-view/package.json +1 -1
  63. package/components/enum-editor/package.json +1 -1
  64. package/components/events-editor/package.json +1 -1
  65. package/components/expression-editor/package.json +1 -1
  66. package/components/external-container/index.css +1 -0
  67. package/components/external-container/index.esm.js +1795 -1783
  68. package/components/external-container/index.umd.cjs +1 -1
  69. package/components/external-container/package.json +1 -1
  70. package/components/field-selector/index.css +1 -0
  71. package/components/field-selector/index.esm.js +3914 -3769
  72. package/components/field-selector/index.umd.cjs +1 -1
  73. package/components/field-selector/package.json +1 -1
  74. package/components/filter-bar/{style.css → index.css} +1 -1
  75. package/components/filter-bar/index.esm.js +475 -465
  76. package/components/filter-bar/index.umd.cjs +1 -1
  77. package/components/filter-bar/package.json +1 -1
  78. package/components/flow-canvas/index.esm.js +37 -34
  79. package/components/flow-canvas/index.umd.cjs +1 -1
  80. package/components/flow-canvas/package.json +1 -1
  81. package/components/image-cropper/package.json +1 -1
  82. package/components/input-group/index.esm.js +256 -248
  83. package/components/input-group/index.umd.cjs +1 -1
  84. package/components/input-group/package.json +1 -1
  85. package/components/layout/package.json +1 -1
  86. package/components/list-nav/package.json +1 -1
  87. package/components/list-view/index.esm.js +1445 -1446
  88. package/components/list-view/index.umd.cjs +1 -1
  89. package/components/list-view/package.json +1 -1
  90. package/components/loading/package.json +1 -1
  91. package/components/locale/package.json +1 -1
  92. package/components/lookup/index.css +1 -0
  93. package/components/lookup/index.esm.js +4347 -4145
  94. package/components/lookup/index.umd.cjs +1 -1
  95. package/components/lookup/package.json +1 -1
  96. package/components/mapping-editor/index.css +1 -0
  97. package/components/mapping-editor/index.esm.js +4657 -4475
  98. package/components/mapping-editor/index.umd.cjs +1 -1
  99. package/components/mapping-editor/package.json +1 -1
  100. package/components/message-box/index.css +1 -0
  101. package/components/message-box/index.esm.js +397 -386
  102. package/components/message-box/index.umd.cjs +1 -1
  103. package/components/message-box/package.json +1 -1
  104. package/components/modal/index.css +1 -0
  105. package/components/modal/index.esm.js +308 -297
  106. package/components/modal/index.umd.cjs +1 -1
  107. package/components/modal/package.json +1 -1
  108. package/components/nav/package.json +1 -1
  109. package/components/notify/package.json +1 -1
  110. package/components/order/index.esm.js +353 -345
  111. package/components/order/index.umd.cjs +1 -1
  112. package/components/order/package.json +1 -1
  113. package/components/page-footer/package.json +1 -1
  114. package/components/page-header/index.esm.js +917 -893
  115. package/components/page-header/index.umd.cjs +1 -1
  116. package/components/page-header/package.json +1 -1
  117. package/components/pagination/package.json +1 -1
  118. package/components/popover/package.json +1 -1
  119. package/components/progress/package.json +1 -1
  120. package/components/property-editor/index.esm.js +108 -101
  121. package/components/property-editor/index.umd.cjs +2 -2
  122. package/components/property-editor/package.json +1 -1
  123. package/components/property-panel/index.esm.js +394 -384
  124. package/components/property-panel/index.umd.cjs +1 -1
  125. package/components/property-panel/package.json +1 -1
  126. package/components/radio-button/package.json +1 -1
  127. package/components/radio-group/index.esm.js +72 -64
  128. package/components/radio-group/index.umd.cjs +1 -1
  129. package/components/radio-group/package.json +1 -1
  130. package/components/rate/package.json +1 -1
  131. package/components/response-layout/package.json +1 -1
  132. package/components/response-layout-editor/{style.css → index.css} +1 -1
  133. package/components/response-layout-editor/index.esm.js +404 -393
  134. package/components/response-layout-editor/index.umd.cjs +1 -1
  135. package/components/response-layout-editor/package.json +1 -1
  136. package/components/response-toolbar/index.esm.js +610 -592
  137. package/components/response-toolbar/index.umd.cjs +1 -1
  138. package/components/response-toolbar/package.json +1 -1
  139. package/components/schema-selector/index.css +1 -0
  140. package/components/schema-selector/index.esm.js +3654 -3408
  141. package/components/schema-selector/index.umd.cjs +8 -1
  142. package/components/schema-selector/package.json +1 -1
  143. package/components/search-box/package.json +1 -1
  144. package/components/section/index.esm.js +21 -14
  145. package/components/section/index.umd.cjs +1 -1
  146. package/components/section/package.json +1 -1
  147. package/components/smoke-detector/package.json +1 -1
  148. package/components/spacing-editor/package.json +1 -1
  149. package/components/splitter/package.json +1 -1
  150. package/components/step/package.json +1 -1
  151. package/components/switch/index.esm.js +79 -71
  152. package/components/switch/index.umd.cjs +1 -1
  153. package/components/switch/package.json +1 -1
  154. package/components/tabs/index.css +1 -0
  155. package/components/tabs/index.esm.js +1448 -1406
  156. package/components/tabs/index.umd.cjs +1 -1
  157. package/components/tabs/package.json +1 -1
  158. package/components/tags/package.json +1 -1
  159. package/components/text/package.json +1 -1
  160. package/components/textarea/index.esm.js +86 -78
  161. package/components/textarea/index.umd.cjs +1 -1
  162. package/components/textarea/package.json +1 -1
  163. package/components/time-picker/index.css +1 -0
  164. package/components/time-picker/index.esm.js +387 -379
  165. package/components/time-picker/index.umd.cjs +1 -1
  166. package/components/time-picker/package.json +1 -1
  167. package/components/tooltip/package.json +1 -1
  168. package/components/transfer/package.json +1 -1
  169. package/components/{data-grid/style.css → tree-grid/index.css} +1 -1
  170. package/components/tree-grid/index.esm.js +3769 -3620
  171. package/components/tree-grid/index.umd.cjs +1 -1
  172. package/components/tree-grid/package.json +1 -1
  173. package/components/tree-view/index.esm.js +2041 -2038
  174. package/components/tree-view/index.umd.cjs +1 -1
  175. package/components/tree-view/package.json +1 -1
  176. package/components/uploader/package.json +1 -1
  177. package/components/verify-detail/package.json +1 -1
  178. package/components/video/package.json +1 -1
  179. package/components/weather/package.json +1 -1
  180. package/farris.all.esm.js +12423 -11981
  181. package/farris.all.umd.cjs +9 -9
  182. package/index.css +1 -0
  183. package/package.json +2 -2
  184. package/types/combo-tree/src/combo-tree.props.d.ts +4 -0
  185. package/types/combo-tree/src/components/tree-container.component.d.ts +13 -3
  186. package/types/combo-tree/src/components/tree-container.props.d.ts +15 -1
  187. package/types/combo-tree/src/schema/schema-mapper.d.ts +2 -0
  188. package/types/combo-tree/src/schema/schema-resolver.d.ts +2 -0
  189. package/types/components.d.ts +1 -0
  190. package/types/data-grid/index.d.ts +5 -5
  191. package/types/data-grid/src/data-grid.component.d.ts +2 -2
  192. package/types/data-grid/src/designer/data-grid.design.component.d.ts +2 -2
  193. package/types/data-grid/src/property-config/data-grid.property-config.d.ts +1 -1
  194. package/types/designer-canvas/src/composition/dg-control.d.ts +8 -8
  195. package/types/designer-canvas/src/composition/types.d.ts +1 -0
  196. package/types/dynamic-form/src/types.d.ts +1 -1
  197. package/types/dynamic-resolver/index.d.ts +1 -0
  198. package/types/dynamic-resolver/src/converter/pagination.converter.d.ts +6 -0
  199. package/types/dynamic-resolver/src/visible-prop-resolver.d.ts +3 -0
  200. package/types/lookup/src/designer/use-lookup-rules.d.ts +3 -0
  201. package/types/lookup/src/property-config/converters/lookup-property.converter.d.ts +8 -0
  202. package/types/lookup/src/property-config/lookup.property-config.d.ts +29 -25
  203. package/types/mapping-editor/src/mapping-editor.props.d.ts +8 -0
  204. package/types/modal/src/modal.component.d.ts +3 -3
  205. package/types/modal/src/modal.props.d.ts +3 -5
  206. package/types/page-header/src/page-header.props.d.ts +7 -0
  207. package/types/page-header/src/property-config/page-header.property-config.d.ts +1 -1
  208. package/types/property-panel/src/composition/entity/base-property.d.ts +2 -0
  209. package/types/response-toolbar/index.d.ts +9 -3
  210. package/types/response-toolbar/src/property-config/response-toolbar-item.property-config.d.ts +1 -1
  211. package/types/response-toolbar/src/property-config/response-toolbar.property-config.d.ts +1 -1
  212. package/types/response-toolbar/src/response-toolbar.component.d.ts +4 -2
  213. package/types/response-toolbar/src/response-toolbar.props.d.ts +9 -2
  214. package/types/schema-selector/src/composition/types.d.ts +3 -1
  215. package/types/schema-selector/src/schema-selector-editor.component.d.ts +5 -1
  216. package/types/tabs/src/designer/tab-toolbar.design.component.d.ts +1 -1
  217. package/types/tabs/src/tabs.props.d.ts +8 -0
  218. package/components/button-edit/style.css +0 -1
  219. package/components/external-container/style.css +0 -1
  220. package/components/field-selector/style.css +0 -1
  221. package/components/lookup/style.css +0 -1
  222. package/components/mapping-editor/style.css +0 -1
  223. package/components/message-box/style.css +0 -1
  224. package/components/modal/style.css +0 -1
  225. package/components/schema-selector/style.css +0 -1
  226. package/components/tabs/style.css +0 -1
  227. package/components/time-picker/style.css +0 -1
  228. package/style.css +0 -1
  229. package/types/tabs/src/designer/tab-toolbar-item.props.d.ts +0 -19
  230. /package/components/border-editor/{style.css → index.css} +0 -0
  231. /package/components/checkbox/{style.css → index.css} +0 -0
  232. /package/components/date-picker/{style.css → index.css} +0 -0
  233. /package/components/designer-canvas/{style.css → index.css} +0 -0
  234. /package/components/designer-outline/{style.css → index.css} +0 -0
  235. /package/components/designer-toolbox/{style.css → index.css} +0 -0
  236. /package/components/discussion-editor/{style.css → index.css} +0 -0
  237. /package/components/discussion-list/{style.css → index.css} +0 -0
  238. /package/components/drawer/{style.css → index.css} +0 -0
  239. /package/components/events-editor/{style.css → index.css} +0 -0
  240. /package/components/flow-canvas/{style.css → index.css} +0 -0
  241. /package/components/list-view/{style.css → index.css} +0 -0
  242. /package/components/order/{style.css → index.css} +0 -0
  243. /package/components/property-editor/{style.css → index.css} +0 -0
  244. /package/components/property-panel/{style.css → index.css} +0 -0
  245. /package/components/radio-button/{style.css → index.css} +0 -0
  246. /package/components/radio-group/{style.css → index.css} +0 -0
  247. /package/components/smoke-detector/{style.css → index.css} +0 -0
  248. /package/components/spacing-editor/{style.css → index.css} +0 -0
  249. /package/components/splitter/{style.css → index.css} +0 -0
  250. /package/components/switch/{style.css → index.css} +0 -0
  251. /package/components/transfer/{style.css → index.css} +0 -0
  252. /package/components/uploader/{style.css → index.css} +0 -0
  253. /package/components/weather/{style.css → index.css} +0 -0
@@ -1,7 +1,7 @@
1
1
  var Ae = Object.defineProperty;
2
2
  var De = (e, t, n) => t in e ? Ae(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
- var $ = (e, t, n) => De(e, typeof t != "symbol" ? t + "" : t, n);
4
- import { defineComponent as G, ref as f, computed as P, createVNode as A, nextTick as te, inject as W, onMounted as U, watch as I, createTextVNode as Ee, reactive as Ve, withDirectives as Oe, resolveDirective as Le, Fragment as le, mergeProps as _ } from "vue";
3
+ var I = (e, t, n) => De(e, typeof t != "symbol" ? t + "" : t, n);
4
+ import { defineComponent as G, ref as f, computed as P, createVNode as A, nextTick as te, inject as W, onMounted as U, watch as $, createTextVNode as Ee, reactive as Ve, withDirectives as Oe, resolveDirective as Le, Fragment as le, mergeProps as _ } from "vue";
5
5
  import { cloneDeep as Ne } from "lodash-es";
6
6
  import "bignumber.js";
7
7
  import Ie, { useNumber as $e, useFormat as Re, useSpinner as Ge, useTextBox as qe } from "@farris/ui-vue/components/number-spinner";
@@ -13,142 +13,143 @@ import Qe from "@farris/ui-vue/components/calendar";
13
13
  import _e from "@farris/ui-vue/components/capsule";
14
14
  import Ze from "@farris/ui-vue/components/checkbox";
15
15
  import Xe from "@farris/ui-vue/components/combo-list";
16
- import Ye from "@farris/ui-vue/components/component";
17
- import Ke from "@farris/ui-vue/components/color-picker";
18
- import Je from "@farris/ui-vue/components/content-container";
19
- import et from "@farris/ui-vue/components/date-picker";
20
- import tt from "@farris/ui-vue/components/data-grid";
21
- import nt from "@farris/ui-vue/components/dropdown";
22
- import ot from "@farris/ui-vue/components/dynamic-form";
23
- import rt from "@farris/ui-vue/components/events-editor";
24
- import at from "@farris/ui-vue/components/filter-bar";
25
- import it from "@farris/ui-vue/components/field-selector";
26
- import st from "@farris/ui-vue/components/image-cropper";
27
- import lt from "@farris/ui-vue/components/input-group";
28
- import ct from "@farris/ui-vue/components/layout";
29
- import ut from "@farris/ui-vue/components/list-nav";
30
- import pt from "@farris/ui-vue/components/list-view";
31
- import dt from "@farris/ui-vue/components/lookup";
32
- import mt from "@farris/ui-vue/components/mapping-editor";
33
- import ft from "@farris/ui-vue/components/nav";
34
- import yt from "@farris/ui-vue/components/number-range";
35
- import gt from "@farris/ui-vue/components/order";
36
- import bt from "@farris/ui-vue/components/page-header";
37
- import ht from "@farris/ui-vue/components/page-footer";
38
- import vt from "@farris/ui-vue/components/pagination";
39
- import Ct from "@farris/ui-vue/components/progress";
40
- import Tt from "@farris/ui-vue/components/query-solution";
41
- import Ft from "@farris/ui-vue/components/radio-group";
42
- import wt from "@farris/ui-vue/components/rate";
43
- import Bt from "@farris/ui-vue/components/response-toolbar";
44
- import St from "@farris/ui-vue/components/response-layout";
45
- import Pt from "@farris/ui-vue/components/response-layout-editor";
16
+ import Ye from "@farris/ui-vue/components/combo-tree";
17
+ import Ke from "@farris/ui-vue/components/component";
18
+ import Je from "@farris/ui-vue/components/color-picker";
19
+ import et from "@farris/ui-vue/components/content-container";
20
+ import tt from "@farris/ui-vue/components/date-picker";
21
+ import nt from "@farris/ui-vue/components/data-grid";
22
+ import ot from "@farris/ui-vue/components/dropdown";
23
+ import rt from "@farris/ui-vue/components/dynamic-form";
24
+ import at from "@farris/ui-vue/components/events-editor";
25
+ import it from "@farris/ui-vue/components/filter-bar";
26
+ import st from "@farris/ui-vue/components/field-selector";
27
+ import lt from "@farris/ui-vue/components/image-cropper";
28
+ import ct from "@farris/ui-vue/components/input-group";
29
+ import ut from "@farris/ui-vue/components/layout";
30
+ import pt from "@farris/ui-vue/components/list-nav";
31
+ import dt from "@farris/ui-vue/components/list-view";
32
+ import mt from "@farris/ui-vue/components/lookup";
33
+ import ft from "@farris/ui-vue/components/mapping-editor";
34
+ import yt from "@farris/ui-vue/components/nav";
35
+ import gt from "@farris/ui-vue/components/number-range";
36
+ import bt from "@farris/ui-vue/components/order";
37
+ import ht from "@farris/ui-vue/components/page-header";
38
+ import vt from "@farris/ui-vue/components/page-footer";
39
+ import Ct from "@farris/ui-vue/components/pagination";
40
+ import Tt from "@farris/ui-vue/components/progress";
41
+ import Ft from "@farris/ui-vue/components/query-solution";
42
+ import wt from "@farris/ui-vue/components/radio-group";
43
+ import Bt from "@farris/ui-vue/components/rate";
44
+ import St from "@farris/ui-vue/components/response-toolbar";
45
+ import Pt from "@farris/ui-vue/components/response-layout";
46
+ import kt from "@farris/ui-vue/components/response-layout-editor";
46
47
  import xt from "@farris/ui-vue/components/search-box";
47
- import kt from "@farris/ui-vue/components/section";
48
- import Mt from "@farris/ui-vue/components/smoke-detector";
49
- import jt from "@farris/ui-vue/components/splitter";
50
- import At from "@farris/ui-vue/components/step";
51
- import Dt from "@farris/ui-vue/components/switch";
52
- import Et from "@farris/ui-vue/components/tabs";
53
- import Vt from "@farris/ui-vue/components/tags";
54
- import Ot from "@farris/ui-vue/components/text";
55
- import Lt from "@farris/ui-vue/components/time-picker";
56
- import Nt from "@farris/ui-vue/components/transfer";
57
- import It from "@farris/ui-vue/components/tree-view";
58
- import $t from "@farris/ui-vue/components/uploader";
59
- import Rt from "@farris/ui-vue/components/verify-detail";
60
- import Gt from "@farris/ui-vue/components/weather";
61
- import qt from "@farris/ui-vue/components/video";
62
- import Ut from "@farris/ui-vue/components/textarea";
63
- import Ht from "@farris/ui-vue/components/schema-selector";
48
+ import Mt from "@farris/ui-vue/components/section";
49
+ import jt from "@farris/ui-vue/components/smoke-detector";
50
+ import At from "@farris/ui-vue/components/splitter";
51
+ import Dt from "@farris/ui-vue/components/step";
52
+ import Et from "@farris/ui-vue/components/switch";
53
+ import Vt from "@farris/ui-vue/components/tabs";
54
+ import Ot from "@farris/ui-vue/components/tags";
55
+ import Lt from "@farris/ui-vue/components/text";
56
+ import Nt from "@farris/ui-vue/components/time-picker";
57
+ import It from "@farris/ui-vue/components/transfer";
58
+ import $t from "@farris/ui-vue/components/tree-view";
59
+ import Rt from "@farris/ui-vue/components/uploader";
60
+ import Gt from "@farris/ui-vue/components/verify-detail";
61
+ import qt from "@farris/ui-vue/components/weather";
62
+ import Ut from "@farris/ui-vue/components/video";
63
+ import Ht from "@farris/ui-vue/components/textarea";
64
+ import Wt from "@farris/ui-vue/components/schema-selector";
64
65
  import "@farris/ui-vue/components/external-container";
65
66
  const de = {}, me = {};
66
67
  function ne(e) {
67
- const { properties: t, title: n } = e, o = Object.keys(t).reduce((r, l) => (r[l] = t[l].type === "object" && t[l].properties ? ne(t[l]) : Ne(t[l].default), r), {});
68
- return o.id = `${n}-${Date.now()}`, o;
68
+ const { properties: t, title: n } = e, r = Object.keys(t).reduce((o, i) => (o[i] = t[i].type === "object" && t[i].properties ? ne(t[i]) : Ne(t[i].default), o), {});
69
+ return r.id = `${n}-${Date.now()}`, r;
69
70
  }
70
71
  function z(e, t = {}) {
71
72
  const n = de[e];
72
73
  if (n) {
73
- let o = ne(n);
74
- const r = me[e];
75
- return o = r ? r({ getSchemaByType: z }, o, t) : o, o;
74
+ let r = ne(n);
75
+ const o = me[e];
76
+ return r = o ? o({ getSchemaByType: z }, r, t) : r, r;
76
77
  }
77
78
  return null;
78
79
  }
79
- function Wt(e, t) {
80
+ function zt(e, t) {
80
81
  const n = ne(t);
81
- return Object.keys(e).reduce((o, r) => (o[r] = e[r], o), n), n;
82
+ return Object.keys(e).reduce((r, o) => (r[o] = e[o], r), n), n;
82
83
  }
83
- function zt(e, t) {
84
- return Object.keys(e).filter((o) => e[o] != null).reduce((o, r) => {
85
- if (t.has(r)) {
86
- const l = t.get(r);
87
- if (typeof l == "string")
88
- o[l] = e[r];
84
+ function Qt(e, t) {
85
+ return Object.keys(e).filter((r) => e[r] != null).reduce((r, o) => {
86
+ if (t.has(o)) {
87
+ const i = t.get(o);
88
+ if (typeof i == "string")
89
+ r[i] = e[o];
89
90
  else {
90
- const s = l(r, e[r], e);
91
- Object.assign(o, s);
91
+ const l = i(o, e[o], e);
92
+ Object.assign(r, l);
92
93
  }
93
94
  } else
94
- o[r] = e[r];
95
- return o;
95
+ r[o] = e[o];
96
+ return r;
96
97
  }, {});
97
98
  }
98
- function Qt(e, t, n = /* @__PURE__ */ new Map()) {
99
- const o = Wt(e, t);
100
- return zt(o, n);
99
+ function _t(e, t, n = /* @__PURE__ */ new Map()) {
100
+ const r = zt(e, t);
101
+ return Qt(r, n);
101
102
  }
102
- function _t(e = {}) {
103
+ function Zt(e = {}) {
103
104
  function t(a, u, c, y) {
104
105
  if (typeof c == "number")
105
106
  return y[a].length === c;
106
107
  if (typeof c == "object") {
107
- const F = Object.keys(c)[0], i = c[F];
108
+ const F = Object.keys(c)[0], s = c[F];
108
109
  if (F === "not")
109
- return Number(y[a].length) !== Number(i);
110
+ return Number(y[a].length) !== Number(s);
110
111
  if (F === "moreThan")
111
- return Number(y[a].length) >= Number(i);
112
+ return Number(y[a].length) >= Number(s);
112
113
  if (F === "lessThan")
113
- return Number(y[a].length) <= Number(i);
114
+ return Number(y[a].length) <= Number(s);
114
115
  }
115
116
  return !1;
116
117
  }
117
118
  function n(a, u, c, y) {
118
119
  return y[a] && y[a].propertyValue && String(y[a].propertyValue.value) === String(c);
119
120
  }
120
- const o = /* @__PURE__ */ new Map([
121
+ const r = /* @__PURE__ */ new Map([
121
122
  ["length", t],
122
123
  ["getProperty", n]
123
124
  ]);
124
- Object.keys(e).reduce((a, u) => (a.set(u, e[u]), a), o);
125
- function r(a, u) {
125
+ Object.keys(e).reduce((a, u) => (a.set(u, e[u]), a), r);
126
+ function o(a, u) {
126
127
  const c = a;
127
128
  return typeof u == "number" ? [{ target: c, operator: "length", param: null, value: Number(u) }] : typeof u == "boolean" ? [{ target: c, operator: "getProperty", param: a, value: !!u }] : typeof u == "object" ? Object.keys(u).map((y) => {
128
129
  if (y === "length")
129
130
  return { target: c, operator: "length", param: null, value: u[y] };
130
- const F = y, i = u[y];
131
- return { target: c, operator: "getProperty", param: F, value: i };
131
+ const F = y, s = u[y];
132
+ return { target: c, operator: "getProperty", param: F, value: s };
132
133
  }) : [];
133
134
  }
134
- function l(a) {
135
+ function i(a) {
135
136
  return Object.keys(a).reduce((c, y) => {
136
- const F = r(y, a[y]);
137
+ const F = o(y, a[y]);
137
138
  return c.push(...F), c;
138
139
  }, []);
139
140
  }
140
- function s(a, u) {
141
- if (o.has(a.operator)) {
142
- const c = o.get(a.operator);
141
+ function l(a, u) {
142
+ if (r.has(a.operator)) {
143
+ const c = r.get(a.operator);
143
144
  return c && c(a.target, a.param, a.value, u) || !1;
144
145
  }
145
146
  return !1;
146
147
  }
147
148
  function d(a, u) {
148
- return l(a).reduce((F, i) => F && s(i, u), !0);
149
+ return i(a).reduce((F, s) => F && l(s, u), !0);
149
150
  }
150
151
  function m(a, u) {
151
- const c = Object.keys(a), y = c.includes("allOf"), F = c.includes("anyOf"), i = y || F, w = (i ? a[i ? y ? "allOf" : "anyOf" : "allOf"] : [a]).map((j) => d(j, u));
152
+ const c = Object.keys(a), y = c.includes("allOf"), F = c.includes("anyOf"), s = y || F, w = (s ? a[s ? y ? "allOf" : "anyOf" : "allOf"] : [a]).map((j) => d(j, u));
152
153
  return y ? !w.includes(!1) : w.includes(!0);
153
154
  }
154
155
  return { parseValueSchema: m };
@@ -156,9 +157,9 @@ function _t(e = {}) {
156
157
  const T = {
157
158
  Button: { type: "Button", name: "按钮", icon: "Button" },
158
159
  ButtonGroup: { type: "ButtonGroup", name: "按钮组", icon: "ButtonGroup" },
159
- ToolBar: { type: "ToolBar", name: "工具栏", icon: "ButtonGroup" },
160
- ToolBarItem: { type: "ToolBarItem", name: "工具栏项", icon: "Button" },
161
- ContentContainer: { type: "ContentContainer", name: "容器", icon: "ContentContainer" },
160
+ "response-toolbar": { type: "response-toolbar", name: "工具栏", icon: "ButtonGroup" },
161
+ "response-toolbar-item": { type: "response-toolbar-item", name: "工具栏项", icon: "Button" },
162
+ "content-container": { type: "content-container", name: "容器", icon: "ContentContainer" },
162
163
  DisplayField: { type: "DisplayField", name: "标签", icon: "DisplayField" },
163
164
  "input-group": { type: "input-group", name: "文本", icon: "TextBox" },
164
165
  textarea: { type: "textarea", name: "多行文本", icon: "MultiTextBox" },
@@ -185,15 +186,15 @@ const T = {
185
186
  "data-grid-column": { type: "data-grid-column", name: "表格列" },
186
187
  Panel: { type: "Panel", name: "面板", icon: "ContentContainer" },
187
188
  Module: { type: "Module", name: "模块", icon: "Module" },
188
- Component: { type: "Component", name: "组件", icon: "Component" },
189
+ component: { type: "component", name: "组件", icon: "Component" },
189
190
  ExternalContainer: { type: "ExternalContainer", name: "外部容器", icon: "ContentContainer" },
190
191
  Image: { type: "Image", name: "图像", icon: "Image" },
191
192
  ImageUpload: { type: "ImageUpload", name: "图片上传", icon: "imageupload" },
192
193
  HiddenContainer: { type: "HiddenContainer", name: "隐藏区域", icon: "ContentContainer" },
193
194
  ModalContainer: { type: "ModalContainer", name: "弹窗容器", icon: "ContentContainer" },
194
195
  RouteContainer: { type: "RouteContainer", name: "路由区域", icon: "ContentContainer" },
195
- Tab: { type: "Tab", name: "标签页", icon: "Tab" },
196
- TabPage: { type: "TabPage", name: "标签页项", dependentParentControl: "Tab" },
196
+ tabs: { type: "tabs", name: "标签页", icon: "Tab" },
197
+ "tab-page": { type: "tab-page", name: "标签页项", dependentParentControl: "Tab" },
197
198
  "tab-toolbar-item": { type: "tab-toolbar-item", name: "标签页工具栏按钮", icon: "Button" },
198
199
  Tag: { type: "Tag", name: "Tag", icon: "Tag" },
199
200
  Sidebar: { type: "Sidebar", name: "侧边栏", icon: "Sidebar" },
@@ -202,7 +203,7 @@ const T = {
202
203
  RichTextBox: { type: "RichTextBox", name: "富文本", icon: "RichTextBox" },
203
204
  TimeSpinner: { type: "TimeSpinner", name: "时间调节器", icon: "TimePicker" },
204
205
  TimePicker: { type: "TimePicker", name: "时间选择", icon: "TimePicker" },
205
- Section: { type: "Section", name: "分组面板", icon: "Section" },
206
+ section: { type: "section", name: "分组面板", icon: "Section" },
206
207
  SectionToolbar: { type: "SectionToolbar", name: "分组面板工具栏" },
207
208
  SectionToolbarItem: { type: "SectionToolbarItem", name: "分组面板按钮" },
208
209
  QueryScheme: { type: "QueryScheme", name: "筛选方案", icon: "QueryScheme" },
@@ -232,7 +233,7 @@ const T = {
232
233
  NavTab: { type: "NavTab", name: "标签类导航", icon: "NavTab" },
233
234
  Tags: { type: "Tags", name: "标记组", icon: "Tags" },
234
235
  Portlet: { type: "Portlet", name: "小部件", icon: "dingzhi" },
235
- Header: { type: "Header", name: "页头", icon: "Header" },
236
+ "page-header": { type: "page-header", name: "页头", icon: "Header" },
236
237
  ModalFooter: { type: "ModalFooter", name: "弹窗页脚", icon: "ModalFooter" },
237
238
  ScrollCollapsibleArea: { type: "ScrollCollapsibleArea", name: "滚动收折区域", icon: "ScrollCollapsibleArea" },
238
239
  PersonnelSelector: { type: "PersonnelSelector", name: "人员选择", icon: "PersonnelSelector" },
@@ -264,18 +265,18 @@ const T = {
264
265
  ApprovalLogs: { type: "ApprovalLogs", name: "审批记录", icon: "ApprovalLogs" },
265
266
  ApprovalComments: { type: "ApprovalComments", name: "审批意见", icon: "shenpiyijian" }
266
267
  /** 审批类 end */
267
- }, fe = {}, Zt = {};
268
- _t();
269
- function Z(e, t, n = /* @__PURE__ */ new Map(), o = (s, d, m) => d, r = {}, l = (s) => s) {
270
- return de[t.title] = t, me[t.title] = o, fe[t.title] = r, Zt[t.title] = l, (s = {}) => {
271
- const d = Qt(s, t, n), m = Object.keys(e).reduce((a, u) => (a[u] = e[u].default, a), {});
268
+ }, fe = {}, Xt = {};
269
+ Zt();
270
+ function Z(e, t, n = /* @__PURE__ */ new Map(), r = (l, d, m) => d, o = {}, i = (l) => l) {
271
+ return de[t.title] = t, me[t.title] = r, fe[t.title] = o, Xt[t.title] = i, (l = {}) => {
272
+ const d = _t(l, t, n), m = Object.keys(e).reduce((a, u) => (a[u] = e[u].default, a), {});
272
273
  return Object.assign(m, d);
273
274
  };
274
275
  }
275
276
  function ye(e, t) {
276
277
  return { customClass: t.class, customStyle: t.style };
277
278
  }
278
- function Xt() {
279
+ function Yt() {
279
280
  function e(t) {
280
281
  return t.editor;
281
282
  }
@@ -286,22 +287,22 @@ function Xt() {
286
287
  const oe = /* @__PURE__ */ new Map([
287
288
  ["appearance", ye]
288
289
  ]);
289
- function Yt(e, t, n, o) {
290
- const r = e.getSchemaByType("section");
291
- return r.id = `${o}-section`, r.appearance = { class: "f-section-form f-section-in-main" }, r.mainTitle = "标题", r.contents = [t], r;
290
+ function Kt(e, t, n, r) {
291
+ const o = e.getSchemaByType("section");
292
+ return o.id = `${r}-section`, o.appearance = { class: "f-section-form f-section-in-main" }, o.mainTitle = "标题", o.contents = [t], o;
292
293
  }
293
- function Kt(e, t, n, o) {
294
- const r = e.getSchemaByType("component");
295
- return r.id = `${o}-component`, r.componentType = "form-col-1", r.appearance = {
294
+ function Jt(e, t, n, r) {
295
+ const o = e.getSchemaByType("component");
296
+ return o.id = `${r}-component`, o.componentType = "form-col-1", o.appearance = {
296
297
  class: "f-struct-form f-struct-wrapper"
297
- }, r.contents = [t], r;
298
+ }, o.contents = [t], o;
298
299
  }
299
- function Jt(e, t, n) {
300
+ function en(e, t, n) {
300
301
  t.appearance = { class: "f-form-layout farris-form farris-form-controls-inline" };
301
- const o = Yt(e, t, n, t.id);
302
- return Kt(e, o, n, t.id);
302
+ const r = Kt(e, t, n, t.id);
303
+ return Jt(e, r, n, t.id);
303
304
  }
304
- const en = "https://json-schema.org/draft/2020-12/schema", tn = "https://farris-design.gitee.io/response-form.schema.json", nn = "response-form", on = "A Farris Data Collection Component", rn = "object", an = {
305
+ 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", sn = {
305
306
  id: {
306
307
  description: "The unique identifier for a form group",
307
308
  type: "string"
@@ -329,18 +330,18 @@ const en = "https://json-schema.org/draft/2020-12/schema", tn = "https://farris-
329
330
  type: "array",
330
331
  default: []
331
332
  }
332
- }, sn = [
333
+ }, ln = [
333
334
  "id",
334
335
  "type"
335
- ], ln = {
336
- $schema: en,
337
- $id: tn,
338
- title: nn,
339
- description: on,
340
- type: rn,
341
- properties: an,
342
- required: sn
343
- }, cn = "response-form", un = "A Farris Component", pn = "object", dn = {
336
+ ], cn = {
337
+ $schema: tn,
338
+ $id: nn,
339
+ title: on,
340
+ description: rn,
341
+ type: an,
342
+ properties: sn,
343
+ required: ln
344
+ }, un = "response-form", pn = "A Farris Component", dn = "object", mn = {
344
345
  basic: {
345
346
  description: "Basic Infomation",
346
347
  title: "基本信息",
@@ -362,30 +363,30 @@ const en = "https://json-schema.org/draft/2020-12/schema", tn = "https://farris-
362
363
  }
363
364
  }
364
365
  }
365
- }, mn = {
366
- title: cn,
367
- description: un,
368
- type: pn,
369
- categories: dn
366
+ }, fn = {
367
+ title: un,
368
+ description: pn,
369
+ type: dn,
370
+ categories: mn
370
371
  }, ge = {
371
372
  customClass: { type: String, default: "" }
372
- }, ce = Z(ge, ln, oe, Jt, mn), K = /* @__PURE__ */ G({
373
+ }, ce = Z(ge, cn, oe, en, fn), K = /* @__PURE__ */ G({
373
374
  name: "FResponseForm",
374
375
  props: ge,
375
376
  emits: [],
376
377
  setup(e, t) {
377
- const n = f(), o = P(() => {
378
- const r = e.customClass.split(" "), l = {
378
+ const n = f(), r = P(() => {
379
+ const o = e.customClass.split(" "), i = {
379
380
  "drag-container": !0
380
381
  };
381
- return r.reduce((s, d) => (s[d] = !0, s), l), l;
382
+ return o.reduce((l, d) => (l[d] = !0, l), i), i;
382
383
  });
383
384
  return () => A("div", {
384
385
  ref: n,
385
- class: o.value
386
+ class: r.value
386
387
  }, [t.slots.default && t.slots.default()]);
387
388
  }
388
- }), fn = "https://json-schema.org/draft/2020-12/schema", yn = "https://farris-design.gitee.io/form-group.schema.json", gn = "form-group", bn = "A Farris Input Component", hn = "object", vn = {
389
+ }), yn = "https://json-schema.org/draft/2020-12/schema", gn = "https://farris-design.gitee.io/form-group.schema.json", bn = "form-group", hn = "A Farris Input Component", vn = "object", Cn = {
389
390
  id: {
390
391
  description: "The unique identifier for a form group",
391
392
  type: "string"
@@ -426,17 +427,17 @@ const en = "https://json-schema.org/draft/2020-12/schema", tn = "https://farris-
426
427
  description: "",
427
428
  type: "number"
428
429
  }
429
- }, Cn = [
430
+ }, Tn = [
430
431
  "id",
431
432
  "type"
432
433
  ], be = {
433
- $schema: fn,
434
- $id: yn,
435
- title: gn,
436
- description: bn,
437
- type: hn,
438
- properties: vn,
439
- required: Cn
434
+ $schema: yn,
435
+ $id: gn,
436
+ title: bn,
437
+ description: hn,
438
+ type: vn,
439
+ properties: Cn,
440
+ required: Tn
440
441
  }, Q = {
441
442
  id: { type: String, default: "" },
442
443
  customClass: { type: String, default: "" },
@@ -455,14 +456,14 @@ const en = "https://json-schema.org/draft/2020-12/schema", tn = "https://farris-
455
456
  be,
456
457
  oe,
457
458
  void 0
458
- ), Tn = Xt();
459
+ ), Fn = Yt();
459
460
  function re(e, t, n) {
460
461
  var L;
461
- function o() {
462
+ function r() {
462
463
  n != null && n.resolveComponentContext && n.resolveComponentContext();
463
464
  }
464
- o();
465
- const r = n && n.getStyles && n.getStyles() || "", l = n && n.getDesignerClass && n.getDesignerClass() || "", s = f();
465
+ r();
466
+ const o = n && n.getStyles && n.getStyles() || "", i = n && n.getDesignerClass && n.getDesignerClass() || "", l = f();
466
467
  function d() {
467
468
  return (t == null ? void 0 : t.schema.componentType) === "frame" ? !1 : n && n.checkCanMoveComponent ? n.checkCanMoveComponent() : !0;
468
469
  }
@@ -480,36 +481,36 @@ function re(e, t, n) {
480
481
  return null;
481
482
  if (S.value.schema && S.value.schema.type === "component")
482
483
  return S.value;
483
- const k = f(S == null ? void 0 : S.value.parent), B = c(k);
484
+ const x = f(S == null ? void 0 : S.value.parent), B = c(x);
484
485
  return B || null;
485
486
  }
486
487
  function y(S = t) {
487
- const { componentInstance: k, designerItemElementRef: B } = S;
488
- return !k || !k.value ? null : k.value.canMove ? B : y(S.parent);
488
+ const { componentInstance: x, designerItemElementRef: B } = S;
489
+ return !x || !x.value ? null : x.value.canMove ? B : y(S.parent);
489
490
  }
490
491
  function F(S) {
491
492
  return !!n && n.canAccepts(S);
492
493
  }
493
- function i() {
494
+ function s() {
494
495
  return (t == null ? void 0 : t.schema.label) || (t == null ? void 0 : t.schema.title) || (t == null ? void 0 : t.schema.name);
495
496
  }
496
497
  function p() {
497
498
  }
498
- function g(S, k) {
499
- k && n != null && n.onAcceptMovedChildElement && n.onAcceptMovedChildElement(k);
499
+ function g(S, x) {
500
+ x && n != null && n.onAcceptMovedChildElement && n.onAcceptMovedChildElement(x);
500
501
  }
501
502
  function w(S) {
502
- const { componentType: k } = S;
503
- let B = z(k, S);
503
+ const { componentType: x } = S;
504
+ let B = z(x, S);
504
505
  n && n.onResolveNewComponentSchema && (B = n.onResolveNewComponentSchema(S, B));
505
- const E = k.toLowerCase().replace("-", "_");
506
- return B && !B.id && B.type === k && (B.id = `${E}_${Math.random().toString().slice(2, 6)}`), B;
506
+ const E = x.toLowerCase().replace("-", "_");
507
+ return B && !B.id && B.type === x && (B.id = `${E}_${Math.random().toString().slice(2, 6)}`), B;
507
508
  }
508
- function D(S, k) {
509
+ function D(S, x) {
509
510
  const B = String(S.getAttribute("data-controltype")), E = S.getAttribute("data-feature"), N = E ? JSON.parse(E) : {};
510
- N.parentComponentInstance = s.value;
511
+ N.parentComponentInstance = l.value;
511
512
  let O = z(B, N);
512
- n && n.onAcceptNewChildElement && (O = n.onAcceptNewChildElement(S, k, O));
513
+ n && n.onAcceptNewChildElement && (O = n.onAcceptNewChildElement(S, x, O));
513
514
  const R = B.toLowerCase().replace("-", "_");
514
515
  return O && !O.id && O.type === B && (O.id = `${R}_${Math.random().toString().slice(2, 6)}`), O;
515
516
  }
@@ -519,7 +520,7 @@ function re(e, t, n) {
519
520
  if (n && n.getPropsConfig)
520
521
  return n.getPropsConfig(...S);
521
522
  }
522
- return s.value = {
523
+ return l.value = {
523
524
  canMove: d(),
524
525
  canSelectParent: m(),
525
526
  canDelete: a(),
@@ -528,34 +529,34 @@ function re(e, t, n) {
528
529
  elementRef: e,
529
530
  parent: (L = t == null ? void 0 : t.parent) == null ? void 0 : L.componentInstance,
530
531
  schema: t == null ? void 0 : t.schema,
531
- styles: r,
532
- designerClass: l,
532
+ styles: o,
533
+ designerClass: i,
533
534
  canAccepts: F,
534
535
  getBelongedComponentInstance: c,
535
536
  getDraggableDesignItemElement: y,
536
- getDraggingDisplayText: i,
537
+ getDraggingDisplayText: s,
537
538
  getPropConfig: M,
538
539
  getDragScopeElement: p,
539
540
  onAcceptMovedChildElement: g,
540
541
  onAcceptNewChildElement: D,
541
542
  onChildElementMovedOut: j,
542
543
  addNewChildComponentSchema: w,
543
- updateDragAndDropRules: o,
544
+ updateDragAndDropRules: r,
544
545
  triggerBelongedComponentToMoveWhenMoved: !!n && n.triggerBelongedComponentToMoveWhenMoved || f(!1),
545
546
  triggerBelongedComponentToDeleteWhenDeleted: !!n && n.triggerBelongedComponentToDeleteWhenDeleted || f(!1)
546
- }, s;
547
+ }, l;
547
548
  }
548
- function Fn() {
549
+ function wn() {
549
550
  function e(t) {
550
- var r, l;
551
+ var o, i;
551
552
  if (!t)
552
553
  return !1;
553
- const n = ((r = t.targetContainer) == null ? void 0 : r.componentInstance) && t.targetContainer.componentInstance.value;
554
+ const n = ((o = t.targetContainer) == null ? void 0 : o.componentInstance) && t.targetContainer.componentInstance.value;
554
555
  if (!n)
555
556
  return !1;
556
- const o = (l = n.schema.appearance) == null ? void 0 : l.class;
557
+ const r = (i = n.schema.appearance) == null ? void 0 : i.class;
557
558
  if (t.controlCategory === "input" || t.controlType === "form-group") {
558
- const s = n.schema.type, d = (s === "response-form" || s === "content-container") && o && o.includes("farris-form");
559
+ const l = n.schema.type, d = (l === "response-form" || l === "content-container") && r && r.includes("farris-form");
559
560
  if (n.schema.type !== "response-layout-item" && !d)
560
561
  return !1;
561
562
  }
@@ -565,7 +566,7 @@ function Fn() {
565
566
  basalDragulaRuleForContainer: e
566
567
  };
567
568
  }
568
- const wn = "https://json-schema.org/draft/2020-12/schema", Bn = "https://farris-design.gitee.io/dragging-rules.schema.json", Sn = "Dragging Rules", Pn = "The rules of designer canvas", xn = "object", kn = {
569
+ const Bn = "https://json-schema.org/draft/2020-12/schema", Sn = "https://farris-design.gitee.io/dragging-rules.schema.json", Pn = "Dragging Rules", kn = "The rules of designer canvas", xn = "object", Mn = {
569
570
  "f-page": {
570
571
  description: "The root class of page designed by farris.",
571
572
  type: "object",
@@ -1129,127 +1130,127 @@ const wn = "https://json-schema.org/draft/2020-12/schema", Bn = "https://farris-
1129
1130
  description: "",
1130
1131
  type: "object"
1131
1132
  }
1132
- }, Mn = [], jn = {
1133
- $schema: wn,
1134
- $id: Bn,
1135
- title: Sn,
1136
- description: Pn,
1133
+ }, jn = [], An = {
1134
+ $schema: Bn,
1135
+ $id: Sn,
1136
+ title: Pn,
1137
+ description: kn,
1137
1138
  type: xn,
1138
- properties: kn,
1139
- required: Mn
1139
+ properties: Mn,
1140
+ required: jn
1140
1141
  }, J = /* @__PURE__ */ new Map();
1141
- function An() {
1142
- function e(i, p, g, w) {
1142
+ function Dn() {
1143
+ function e(s, p, g, w) {
1143
1144
  var D;
1144
1145
  if (typeof g == "number")
1145
- return ((D = w[i]) == null ? void 0 : D.length) === g;
1146
+ return ((D = w[s]) == null ? void 0 : D.length) === g;
1146
1147
  if (typeof g == "object") {
1147
1148
  const j = Object.keys(g)[0], M = g[j];
1148
1149
  if (j === "not")
1149
- return Number(w[i].length) !== Number(M);
1150
+ return Number(w[s].length) !== Number(M);
1150
1151
  if (j === "moreThan")
1151
- return Number(w[i].length) >= Number(M);
1152
+ return Number(w[s].length) >= Number(M);
1152
1153
  if (j === "lessThan")
1153
- return Number(w[i].length) <= Number(M);
1154
+ return Number(w[s].length) <= Number(M);
1154
1155
  }
1155
1156
  return !1;
1156
1157
  }
1157
- function t(i, p, g, w) {
1158
+ function t(s, p, g, w) {
1158
1159
  return typeof g == "boolean" ? w.childrenClassList.includes(p) === !!g : !1;
1159
1160
  }
1160
- function n(i, p, g, w) {
1161
+ function n(s, p, g, w) {
1161
1162
  return typeof g == "boolean" ? w.parentClassList.includes(p) === !!g : !1;
1162
1163
  }
1163
- function o(i, p, g, w) {
1164
+ function r(s, p, g, w) {
1164
1165
  return typeof g == "boolean" ? w.parentClassList.includes(p) === !!g : !1;
1165
1166
  }
1166
- const r = /* @__PURE__ */ new Map([
1167
+ const o = /* @__PURE__ */ new Map([
1167
1168
  ["length", e],
1168
1169
  ["hasChildren", t],
1169
- ["hasSibling", o],
1170
+ ["hasSibling", r],
1170
1171
  ["hasParent", n]
1171
1172
  ]);
1172
- function l(i, p) {
1173
- const g = i;
1173
+ function i(s, p) {
1174
+ const g = s;
1174
1175
  return typeof p == "number" ? [{ target: g, operator: "length", param: null, value: Number(p) }] : typeof p == "object" ? Object.keys(p).map((w) => {
1175
1176
  if (w === "length")
1176
1177
  return { target: g, operator: "length", param: null, value: p[w] };
1177
1178
  const D = w, j = p[w];
1178
- return { target: g, operator: i === "children" ? "hasChildren" : i === "parent" ? "hasParent" : "hasSibling", param: D, value: j };
1179
+ return { target: g, operator: s === "children" ? "hasChildren" : s === "parent" ? "hasParent" : "hasSibling", param: D, value: j };
1179
1180
  }) : [];
1180
1181
  }
1181
- function s(i, p) {
1182
- if (r.has(i.operator)) {
1183
- const g = r.get(i.operator);
1184
- return g && g(i.target, i.param, i.value, p) || !1;
1182
+ function l(s, p) {
1183
+ if (o.has(s.operator)) {
1184
+ const g = o.get(s.operator);
1185
+ return g && g(s.target, s.param, s.value, p) || !1;
1185
1186
  }
1186
1187
  return !1;
1187
1188
  }
1188
- function d(i, p) {
1189
- return Object.keys(i).reduce((j, M) => {
1190
- const L = l(M, i[M]);
1189
+ function d(s, p) {
1190
+ return Object.keys(s).reduce((j, M) => {
1191
+ const L = i(M, s[M]);
1191
1192
  return j.push(...L), j;
1192
- }, []).reduce((j, M) => j && s(M, p), !0);
1193
+ }, []).reduce((j, M) => j && l(M, p), !0);
1193
1194
  }
1194
- function m(i, p) {
1195
- const g = Object.keys(i), w = g.includes("allOf"), D = g.includes("anyOf"), j = w || D, S = (j ? i[j ? w ? "allOf" : "anyOf" : "allOf"] : [i]).map((B) => d(B, p));
1195
+ function m(s, p) {
1196
+ const g = Object.keys(s), w = g.includes("allOf"), D = g.includes("anyOf"), j = w || D, S = (j ? s[j ? w ? "allOf" : "anyOf" : "allOf"] : [s]).map((B) => d(B, p));
1196
1197
  return w ? !S.includes(!1) : S.includes(!0);
1197
1198
  }
1198
- function a(i, p) {
1199
- const g = i.const;
1199
+ function a(s, p) {
1200
+ const g = s.const;
1200
1201
  return g ? typeof g == "boolean" ? g : typeof g == "object" ? m(g, p) : !1 : !1;
1201
1202
  }
1202
- function u(i) {
1203
+ function u(s) {
1203
1204
  return (p) => {
1204
1205
  const g = { canAccept: !0, fixed: !1, hidePadding: !1 };
1205
- return i && i.properties && Object.keys(i.properties).reduce((w, D) => {
1206
- const j = i.properties[D];
1206
+ return s && s.properties && Object.keys(s.properties).reduce((w, D) => {
1207
+ const j = s.properties[D];
1207
1208
  return w[D] = a(j, p), w;
1208
1209
  }, g), g;
1209
1210
  };
1210
1211
  }
1211
- function c(i, p, g) {
1212
+ function c(s, p, g) {
1212
1213
  if (p.type === "object" && p.properties) {
1213
1214
  const { rules: w, contents: D } = p.properties;
1214
- g.set(i, u(w)), D && Object.keys(D.properties).forEach(
1215
+ g.set(s, u(w)), D && Object.keys(D.properties).forEach(
1215
1216
  (j) => c(j, D.properties[j], g)
1216
1217
  );
1217
1218
  }
1218
1219
  }
1219
1220
  function y() {
1220
- const { properties: i } = jn;
1221
- Object.keys(i).forEach((p) => {
1222
- c(p, i[p], J);
1221
+ const { properties: s } = An;
1222
+ Object.keys(s).forEach((p) => {
1223
+ c(p, s[p], J);
1223
1224
  });
1224
1225
  }
1225
- function F(i, p) {
1226
+ function F(s, p) {
1226
1227
  const g = { canAccept: !0, fixed: !1, hidePadding: !0 };
1227
- return J.has(i) ? J.get(i)(p) : g;
1228
+ return J.has(s) ? J.get(s)(p) : g;
1228
1229
  }
1229
1230
  return y(), { getRuleValue: F };
1230
1231
  }
1231
- function Dn(e, t) {
1232
- var k;
1233
- const n = e.schema, o = (k = e.parent) == null ? void 0 : k.schema, r = An(), l = f(!1), s = f(!1);
1232
+ function En(e, t) {
1233
+ var x;
1234
+ const n = e.schema, r = (x = e.parent) == null ? void 0 : x.schema, o = Dn(), i = f(!1), l = f(!1);
1234
1235
  let d = !0, m = !1, a, u = !1;
1235
1236
  function c(B) {
1236
1237
  return a && a.componentClassList && a.componentClassList.includes("f-form-layout") && a.componentClassList.includes("farris-form") ? B.sourceType === "control" && B.controlCategory === "input" || B.sourceType === "move" && B.controlType === "form-group" : !0;
1237
1238
  }
1238
1239
  function y(B) {
1239
- return !(!Fn().basalDragulaRuleForContainer(B) || !d || !c(B));
1240
+ return !(!wn().basalDragulaRuleForContainer(B) || !d || !c(B));
1240
1241
  }
1241
1242
  function F() {
1242
- l.value = !1, s.value = !1;
1243
- const B = n, E = B.appearance && B.appearance.class || "", N = E.split(" "), O = B.contents || [], R = O.length ? O[0] : null, x = R && R.appearance ? R.appearance.class : "", V = x ? x.split(" ") : [], q = O.length ? O.reduce((ie, Y) => {
1243
+ i.value = !1, l.value = !1;
1244
+ const B = n, E = B.appearance && B.appearance.class || "", N = E.split(" "), O = B.contents || [], R = O.length ? O[0] : null, k = R && R.appearance ? R.appearance.class : "", V = k ? k.split(" ") : [], q = O.length ? O.reduce((ie, Y) => {
1244
1245
  const se = Y && Y.appearance ? Y.appearance.class : "", je = se ? se.split(" ") : [];
1245
1246
  return ie.push(...je), ie;
1246
- }, []) : [], H = o, X = H && H.appearance && H.appearance.class || "", Pe = X ? X.split(" ") : [];
1247
+ }, []) : [], H = r, X = H && H.appearance && H.appearance.class || "", Pe = X ? X.split(" ") : [];
1247
1248
  a = {
1248
1249
  componentClass: E,
1249
1250
  componentClassList: N,
1250
1251
  childContents: O,
1251
1252
  firstChildContent: R,
1252
- firstChildClass: x,
1253
+ firstChildClass: k,
1253
1254
  firstChildClassList: V,
1254
1255
  parent: H,
1255
1256
  parentClass: X,
@@ -1257,10 +1258,10 @@ function Dn(e, t) {
1257
1258
  children: O,
1258
1259
  childrenClassList: q
1259
1260
  };
1260
- const { canAccept: xe, fixed: ke, hidePadding: Me } = r.getRuleValue(N[0], a);
1261
- return d = xe, m = Me, u = ke, !0;
1261
+ const { canAccept: ke, fixed: xe, hidePadding: Me } = o.getRuleValue(N[0], a);
1262
+ return d = ke, m = Me, u = xe, !0;
1262
1263
  }
1263
- function i(B) {
1264
+ function s(B) {
1264
1265
  te();
1265
1266
  }
1266
1267
  function p() {
@@ -1269,8 +1270,8 @@ function Dn(e, t) {
1269
1270
  function g(B, E) {
1270
1271
  const N = n;
1271
1272
  if ((N.appearance && N.appearance.class || "").split(" ").includes("f-form-layout")) {
1272
- const { label: x } = B, V = z("form-group");
1273
- return V.editor = E, V.label = x, w(V), delete V.editor.id, delete V.editor.binding, delete V.editor.appearance, delete V.editor.visible, V;
1273
+ const { label: k } = B, V = z("form-group");
1274
+ return V.editor = E, V.label = k, w(V), delete V.editor.id, delete V.editor.binding, delete V.editor.appearance, delete V.editor.visible, V;
1274
1275
  }
1275
1276
  return E;
1276
1277
  }
@@ -1339,25 +1340,25 @@ function Dn(e, t) {
1339
1340
  getStyles: p,
1340
1341
  hideNestedPaddingInDesginerView: S,
1341
1342
  onAcceptNewChildElement: j,
1342
- onAcceptMovedChildElement: i,
1343
+ onAcceptMovedChildElement: s,
1343
1344
  resolveComponentContext: F,
1344
1345
  onResolveNewComponentSchema: g,
1345
- triggerBelongedComponentToMoveWhenMoved: l,
1346
- triggerBelongedComponentToDeleteWhenDeleted: s
1346
+ triggerBelongedComponentToMoveWhenMoved: i,
1347
+ triggerBelongedComponentToDeleteWhenDeleted: l
1347
1348
  };
1348
1349
  }
1349
- const En = /* @__PURE__ */ G({
1350
+ const Vn = /* @__PURE__ */ G({
1350
1351
  name: "FResponseFormDesign",
1351
1352
  props: Q,
1352
1353
  emits: [],
1353
1354
  setup(e, t) {
1354
- const n = f(), o = W("design-item-context");
1355
+ const n = f(), r = W("design-item-context");
1355
1356
  W("designer-host-service");
1356
- const r = Dn(o), l = re(n, o, r);
1357
+ const o = En(r), i = re(n, r, o);
1357
1358
  U(() => {
1358
- n.value.componentInstance = l;
1359
- }), t.expose(l.value);
1360
- const s = P(() => {
1359
+ n.value.componentInstance = i;
1360
+ }), t.expose(i.value);
1361
+ const l = P(() => {
1361
1362
  const d = e.customClass.split(" "), m = {
1362
1363
  "drag-container": !0
1363
1364
  };
@@ -1365,42 +1366,42 @@ const En = /* @__PURE__ */ G({
1365
1366
  });
1366
1367
  return () => A("div", {
1367
1368
  ref: n,
1368
- class: s.value,
1369
- "data-dragref": `${o.schema.id}-container`,
1370
- "data-associate": `${o.schema.id}-component`
1369
+ class: l.value,
1370
+ "data-dragref": `${r.schema.id}-container`,
1371
+ "data-associate": `${r.schema.id}-component`
1371
1372
  }, [t.slots.default && t.slots.default()]);
1372
1373
  }
1373
- }), Vn = {
1374
+ }), On = {
1374
1375
  id: { type: String },
1375
1376
  required: { type: Boolean, default: !1 },
1376
1377
  text: { type: String, default: "" },
1377
1378
  title: { type: String }
1378
1379
  }, he = /* @__PURE__ */ G({
1379
1380
  name: "FDynamicFormLabel",
1380
- props: Vn,
1381
+ props: On,
1381
1382
  emits: [],
1382
1383
  setup(e, t) {
1383
- const n = f(e.title || e.text), o = f(e.required), r = f(e.text);
1384
- return I(() => e.text, () => {
1385
- r.value = e.text;
1386
- }), I(() => e.required, (l, s) => {
1387
- l !== s && (o.value = l);
1384
+ const n = f(e.title || e.text), r = f(e.required), o = f(e.text);
1385
+ return $(() => e.text, () => {
1386
+ o.value = e.text;
1387
+ }), $(() => e.required, (i, l) => {
1388
+ i !== l && (r.value = i);
1388
1389
  }), () => A("label", {
1389
1390
  class: "col-form-label",
1390
1391
  title: n.value
1391
- }, [o.value && A("span", {
1392
+ }, [r.value && A("span", {
1392
1393
  class: "farris-label-info text-danger"
1393
1394
  }, [Ee("*")]), A("span", {
1394
1395
  class: "farris-label-text"
1395
- }, [r.value])]);
1396
+ }, [o.value])]);
1396
1397
  }
1397
- }), On = /* @__PURE__ */ new Map([
1398
+ }), Ln = /* @__PURE__ */ new Map([
1398
1399
  ["appearance", ye]
1399
1400
  ]);
1400
- function Ln(e, t, n) {
1401
+ function Nn(e, t, n) {
1401
1402
  return t;
1402
1403
  }
1403
- const Nn = "https://json-schema.org/draft/2020-12/schema", In = "https://farris-design.gitee.io/input-group.schema.json", $n = "input-group", Rn = "A Farris Input Component", Gn = "object", qn = {
1404
+ const In = "https://json-schema.org/draft/2020-12/schema", $n = "https://farris-design.gitee.io/input-group.schema.json", Rn = "input-group", Gn = "A Farris Input Component", qn = "object", Un = {
1404
1405
  id: {
1405
1406
  description: "The unique identifier for a Input Group",
1406
1407
  type: "string"
@@ -1602,17 +1603,17 @@ const Nn = "https://json-schema.org/draft/2020-12/schema", In = "https://farris-
1602
1603
  type: "string",
1603
1604
  default: ""
1604
1605
  }
1605
- }, Un = [
1606
+ }, Hn = [
1606
1607
  "id",
1607
1608
  "type"
1608
- ], Hn = {
1609
- $schema: Nn,
1610
- $id: In,
1611
- title: $n,
1612
- description: Rn,
1613
- type: Gn,
1614
- properties: qn,
1615
- required: Un
1609
+ ], Wn = {
1610
+ $schema: In,
1611
+ $id: $n,
1612
+ title: Rn,
1613
+ description: Gn,
1614
+ type: qn,
1615
+ properties: Un,
1616
+ required: Hn
1616
1617
  }, ae = {
1617
1618
  /** 是否自动完成 */
1618
1619
  autocomplete: { Type: String, default: "off" },
@@ -1680,94 +1681,94 @@ const Nn = "https://json-schema.org/draft/2020-12/schema", In = "https://farris-
1680
1681
  */
1681
1682
  updateOn: { type: String, default: "blur" }
1682
1683
  };
1683
- Z(ae, Hn, On, Ln);
1684
- function Wn(e, t, n, o) {
1685
- const r = f(e.disabled), l = f(!1), s = f("text"), d = f(e.showBorder), m = f(e.textAlign), a = f(e.updateOn), u = P(() => e.editable || !e.readonly), c = P(() => e.editable && !e.disabled && !e.readonly), y = P(() => !e.disabled && l.value), F = P(() => n.value === "" || n.value === null || n.value === void 0), i = P(() => (e.disabled || e.readonly) && !e.forcePlaceholder ? "" : e.placeholder), p = P(() => e.readonly || !e.editable), g = P(() => e.enableTitle ? n.value : ""), w = P(() => ({
1684
+ Z(ae, Wn, Ln, Nn);
1685
+ function zn(e, t, n, r) {
1686
+ const o = f(e.disabled), i = f(!1), l = f("text"), d = f(e.showBorder), m = f(e.textAlign), a = f(e.updateOn), u = P(() => e.editable || !e.readonly), c = P(() => e.editable && !e.disabled && !e.readonly), y = P(() => !e.disabled && i.value), F = P(() => n.value === "" || n.value === null || n.value === void 0), s = P(() => (e.disabled || e.readonly) && !e.forcePlaceholder ? "" : e.placeholder), p = P(() => e.readonly || !e.editable), g = P(() => e.enableTitle ? n.value : ""), w = P(() => ({
1686
1687
  "form-control": !0,
1687
1688
  "f-utils-fill": !0,
1688
1689
  "text-left": m.value === "left",
1689
1690
  "text-center": m.value === "center",
1690
1691
  "text-right": m.value === "right"
1691
1692
  })), D = P(() => {
1692
- const x = {
1693
+ const k = {
1693
1694
  "f-cmp-inputgroup": !0,
1694
1695
  "input-group": !0,
1695
- "f-state-disable": r.value,
1696
+ "f-state-disable": o.value,
1696
1697
  "f-state-editable": c.value,
1697
1698
  "f-state-readonly": p.value,
1698
1699
  "f-state-focus": y.value
1699
1700
  };
1700
- return (e.customClass || "").split(" ").reduce((q, H) => (q[H] = !0, q), x), x;
1701
+ return (e.customClass || "").split(" ").reduce((q, H) => (q[H] = !0, q), k), k;
1701
1702
  }), j = P(() => d.value ? "" : "border-width : 0 ");
1702
- function M(x, V = !0) {
1703
- n.value = x, o.value !== x && (o.value = x), V && t.emit("change", x), t.emit("update:modelValue", x), t.emit("update:value", x);
1703
+ function M(k, V = !0) {
1704
+ n.value = k, r.value !== k && (r.value = k), V && t.emit("change", k), t.emit("update:modelValue", k), t.emit("update:value", k);
1704
1705
  }
1705
- I(
1706
+ $(
1706
1707
  () => e.modelValue,
1707
- (x, V) => {
1708
- x !== V && (n.value = x, o.value = x);
1708
+ (k, V) => {
1709
+ k !== V && (n.value = k, r.value = k);
1709
1710
  }
1710
- ), I(() => e.disabled, (x, V) => {
1711
- x !== V && (r.value = x);
1711
+ ), $(() => e.disabled, (k, V) => {
1712
+ k !== V && (o.value = k);
1712
1713
  });
1713
- function L(x) {
1714
- return l.value = !1, t.emit("blur", x), x.stopPropagation(), !1;
1714
+ function L(k) {
1715
+ return i.value = !1, t.emit("blur", k), k.stopPropagation(), !1;
1715
1716
  }
1716
- function S(x) {
1717
- t.emit("click", x);
1717
+ function S(k) {
1718
+ t.emit("click", k);
1718
1719
  }
1719
- function k(x) {
1720
- e.disabled || (d.value && (l.value = !0), u.value && t.emit("focus", x));
1720
+ function x(k) {
1721
+ e.disabled || (d.value && (i.value = !0), u.value && t.emit("focus", k));
1721
1722
  }
1722
- function B(x) {
1723
- t.emit("input", x.target.value);
1724
- const V = x.target.value;
1725
- o.value = V, a.value === "input" && (t.emit("update:modelValue", V), t.emit("update:value", V));
1723
+ function B(k) {
1724
+ t.emit("input", k.target.value);
1725
+ const V = k.target.value;
1726
+ r.value = V, a.value === "input" && (t.emit("update:modelValue", V), t.emit("update:value", V));
1726
1727
  }
1727
- function E(x) {
1728
- t.emit("keydown", x);
1728
+ function E(k) {
1729
+ t.emit("keydown", k);
1729
1730
  }
1730
- function N(x) {
1731
- t.emit("keyup", x);
1731
+ function N(k) {
1732
+ t.emit("keyup", k);
1732
1733
  }
1733
- function O(x) {
1734
- x.target.tagName !== "INPUT" && x.preventDefault(), x.stopPropagation();
1734
+ function O(k) {
1735
+ k.target.tagName !== "INPUT" && k.preventDefault(), k.stopPropagation();
1735
1736
  }
1736
- function R(x) {
1737
+ function R(k) {
1737
1738
  if (a.value === "blur") {
1738
- const V = x.target.value;
1739
- x.stopPropagation(), M(V);
1739
+ const V = k.target.value;
1740
+ k.stopPropagation(), M(V);
1740
1741
  }
1741
1742
  }
1742
1743
  return {
1743
1744
  changeTextBoxValue: M,
1744
- disabled: r,
1745
- displayText: o,
1745
+ disabled: o,
1746
+ displayText: r,
1746
1747
  editable: c,
1747
1748
  hasFocused: y,
1748
1749
  inputGroupClass: D,
1749
- inputType: s,
1750
+ inputType: l,
1750
1751
  isEmpty: F,
1751
1752
  modelValue: n,
1752
1753
  readonly: p,
1753
1754
  onBlur: L,
1754
1755
  onClick: S,
1755
- onFocus: k,
1756
+ onFocus: x,
1756
1757
  onInput: B,
1757
1758
  onKeydown: E,
1758
1759
  onKeyup: N,
1759
1760
  onMousedown: O,
1760
1761
  onTextBoxValueChange: R,
1761
- placeholder: i,
1762
+ placeholder: s,
1762
1763
  textBoxClass: w,
1763
1764
  textBoxTitle: g,
1764
1765
  inputGroupStyle: j
1765
1766
  };
1766
1767
  }
1767
- function zn(e, t, n, o) {
1768
- const r = f(e.disabled), l = f(!1), s = f("text"), d = f(e.showBorder), m = f(e.textAlign);
1768
+ function Qn(e, t, n, r) {
1769
+ const o = f(e.disabled), i = f(!1), l = f("text"), d = f(e.showBorder), m = f(e.textAlign);
1769
1770
  P(() => e.editable || !e.readonly);
1770
- const a = P(() => e.editable && !e.disabled && !e.readonly), u = P(() => !e.disabled && l.value), c = P(() => n.value === "" || n.value === null || n.value === void 0), y = P(() => e.placeholder), F = P(() => e.readonly || !e.editable), i = P(() => e.enableTitle ? n.value : ""), p = P(() => ({
1771
+ const a = P(() => e.editable && !e.disabled && !e.readonly), u = P(() => !e.disabled && i.value), c = P(() => n.value === "" || n.value === null || n.value === void 0), y = P(() => e.placeholder), F = P(() => e.readonly || !e.editable), s = P(() => e.enableTitle ? n.value : ""), p = P(() => ({
1771
1772
  "form-control": !0,
1772
1773
  // 'f-utils-fill': true,
1773
1774
  "text-left": m.value === "left",
@@ -1783,12 +1784,12 @@ function zn(e, t, n, o) {
1783
1784
  })), w = P(() => d.value ? "" : "border-width : 0 ");
1784
1785
  return {
1785
1786
  // changeTextBoxValue,
1786
- disabled: r,
1787
- displayText: o,
1787
+ disabled: o,
1788
+ displayText: r,
1788
1789
  editable: a,
1789
1790
  hasFocused: u,
1790
1791
  inputGroupClass: g,
1791
- inputType: s,
1792
+ inputType: l,
1792
1793
  isEmpty: c,
1793
1794
  modelValue: n,
1794
1795
  readonly: F,
@@ -1802,80 +1803,80 @@ function zn(e, t, n, o) {
1802
1803
  // onTextBoxValueChange,
1803
1804
  placeholder: y,
1804
1805
  textBoxClass: p,
1805
- textBoxTitle: i,
1806
+ textBoxTitle: s,
1806
1807
  inputGroupStyle: w
1807
1808
  };
1808
1809
  }
1809
1810
  function ve(e, t, n) {
1810
- const o = f(!1), r = P(() => e.enableClear && !e.readonly && !e.disabled), { changeTextBoxValue: l, displayText: s, hasFocused: d, isEmpty: m } = n;
1811
+ const r = f(!1), o = P(() => e.enableClear && !e.readonly && !e.disabled), { changeTextBoxValue: i, displayText: l, hasFocused: d, isEmpty: m } = n;
1811
1812
  function a(p) {
1812
- o.value = p;
1813
+ r.value = p;
1813
1814
  }
1814
- I(s, () => {
1815
- d != null && d.value ? a(!!(s != null && s.value)) : a(!1);
1815
+ $(l, () => {
1816
+ d != null && d.value ? a(!!(l != null && l.value)) : a(!1);
1816
1817
  });
1817
1818
  const u = P(() => ({
1818
1819
  "input-group-text": !0,
1819
1820
  "input-group-clear": !0
1820
1821
  })), c = P(() => ({
1821
1822
  width: "24px",
1822
- display: o.value ? "flex" : "none"
1823
+ display: r.value ? "flex" : "none"
1823
1824
  }));
1824
1825
  function y(p) {
1825
- p.stopPropagation(), r.value && (l("", !0), a(!o.value), t.emit("clear"));
1826
+ p.stopPropagation(), o.value && (i("", !0), a(!r.value), t.emit("clear"));
1826
1827
  }
1827
1828
  function F(p) {
1828
- r.value && !m.value && a(!0);
1829
+ o.value && !m.value && a(!0);
1829
1830
  }
1830
- function i(p) {
1831
- r.value && a(!1);
1831
+ function s(p) {
1832
+ o.value && a(!1);
1832
1833
  }
1833
- return { clearButtonClass: u, clearButtonStyle: c, hasShownClearButton: o, onClearValue: y, onMouseEnter: F, onMouseLeave: i, shouldShowClearButton: r };
1834
+ return { clearButtonClass: u, clearButtonStyle: c, hasShownClearButton: r, onClearValue: y, onMouseEnter: F, onMouseLeave: s, shouldShowClearButton: o };
1834
1835
  }
1835
- const Qn = ["moz", "ms", "webkit"];
1836
- function _n() {
1836
+ const _n = ["moz", "ms", "webkit"];
1837
+ function Zn() {
1837
1838
  let e = 0;
1838
1839
  return (t) => {
1839
- const n = (/* @__PURE__ */ new Date()).getTime(), o = Math.max(0, 16 - (n - e)), r = setTimeout(() => {
1840
- t(n + o);
1841
- }, o);
1842
- return e = n + o, r;
1840
+ const n = (/* @__PURE__ */ new Date()).getTime(), r = Math.max(0, 16 - (n - e)), o = setTimeout(() => {
1841
+ t(n + r);
1842
+ }, r);
1843
+ return e = n + r, o;
1843
1844
  };
1844
1845
  }
1845
- function Zn() {
1846
+ function Xn() {
1846
1847
  if (typeof window > "u")
1847
1848
  return () => 0;
1848
1849
  if (window.requestAnimationFrame)
1849
1850
  return window.requestAnimationFrame.bind(window);
1850
- const e = Qn.filter((t) => `${t}RequestAnimationFrame` in window)[0];
1851
- return e ? window[`${e}RequestAnimationFrame`] : _n();
1851
+ const e = _n.filter((t) => `${t}RequestAnimationFrame` in window)[0];
1852
+ return e ? window[`${e}RequestAnimationFrame`] : Zn();
1852
1853
  }
1853
- Zn();
1854
+ Xn();
1854
1855
  function Ce(e, t) {
1855
- const n = f(e.groupText), o = P(() => e.showButtonWhenDisabled && (e.readonly || e.disabled)), r = P(() => e.enableClear || !!e.groupText);
1856
+ const n = f(e.groupText), r = P(() => e.showButtonWhenDisabled && (e.readonly || e.disabled)), o = P(() => e.enableClear || !!e.groupText);
1856
1857
  return { appendedButtonClass: P(() => ({
1857
1858
  "input-group-append": !0,
1858
- "append-force-show": o.value
1859
- })), appendedContent: n, shouldShowAppendedButton: r };
1859
+ "append-force-show": r.value
1860
+ })), appendedContent: n, shouldShowAppendedButton: o };
1860
1861
  }
1861
- function Te(e, t, n, o) {
1862
- const { appendedContent: r } = o, l = f(e.enableViewPassword), s = P(() => e.type === "password"), d = '<span class="f-icon f-icon-eye" style="color: rgb(56, 143, 255);"></span>', m = '<span class="f-icon f-icon-eye"></span>', a = f(!1);
1863
- I(() => [e.readonly, e.disabled], ([y, F]) => {
1864
- s.value && (n.value = y || F ? "password" : n.value, r.value = y || F ? m : r.value);
1862
+ function Te(e, t, n, r) {
1863
+ const { appendedContent: o } = r, i = f(e.enableViewPassword), l = P(() => e.type === "password"), d = '<span class="f-icon f-icon-eye" style="color: rgb(56, 143, 255);"></span>', m = '<span class="f-icon f-icon-eye"></span>', a = f(!1);
1864
+ $(() => [e.readonly, e.disabled], ([y, F]) => {
1865
+ l.value && (n.value = y || F ? "password" : n.value, o.value = y || F ? m : o.value);
1865
1866
  });
1866
1867
  function u() {
1867
- return a.value = !a.value, n.value = a.value ? "text" : "password", r.value = a.value ? d : m, !1;
1868
+ return a.value = !a.value, n.value = a.value ? "text" : "password", o.value = a.value ? d : m, !1;
1868
1869
  }
1869
1870
  function c() {
1870
- n.value = s.value ? "password" : "text", r.value = s.value ? l.value ? m : "" : r.value;
1871
+ n.value = l.value ? "password" : "text", o.value = l.value ? i.value ? m : "" : o.value;
1871
1872
  }
1872
- return c(), { isPassword: s, onClickAppendedButton: u };
1873
+ return c(), { isPassword: l, onClickAppendedButton: u };
1873
1874
  }
1874
- function Xn(e, t, n) {
1875
- const o = f(), {
1876
- onBlurTextBox: r,
1877
- onFocusTextBox: l,
1878
- onInput: s,
1875
+ function Yn(e, t, n) {
1876
+ const r = f(), {
1877
+ onBlurTextBox: o,
1878
+ onFocusTextBox: i,
1879
+ onInput: l,
1879
1880
  onKeyDown: d,
1880
1881
  textBoxValue: m
1881
1882
  } = n, a = P(() => e.disabled || e.readonly || !e.editable ? "" : e.placeholder), u = P(() => ({
@@ -1890,13 +1891,13 @@ function Xn(e, t, n) {
1890
1891
  function F() {
1891
1892
  e.selectOnCreated, e.focusOnCreated;
1892
1893
  }
1893
- async function i(p) {
1894
- l(p), await te, F();
1894
+ async function s(p) {
1895
+ i(p), await te, F();
1895
1896
  }
1896
1897
  return U(async () => {
1897
1898
  await te, F();
1898
1899
  }), () => A("input", {
1899
- ref: o,
1900
+ ref: r,
1900
1901
  class: u.value,
1901
1902
  style: c.value,
1902
1903
  type: "text",
@@ -1904,19 +1905,19 @@ function Xn(e, t, n) {
1904
1905
  disabled: e.disabled,
1905
1906
  readonly: e.readonly || !e.editable,
1906
1907
  placeholder: a.value,
1907
- onBlur: r,
1908
+ onBlur: o,
1908
1909
  onChange: y,
1909
- onFocus: i,
1910
- onInput: s,
1910
+ onFocus: s,
1911
+ onInput: l,
1911
1912
  onKeydown: d
1912
1913
  }, null);
1913
1914
  }
1914
- function Yn(e, t, n) {
1915
+ function Kn(e, t, n) {
1915
1916
  const {
1916
- canDownward: o,
1917
- canUpward: r,
1918
- onClickDownButton: l,
1919
- onClickUpButton: s
1917
+ canDownward: r,
1918
+ canUpward: o,
1919
+ onClickDownButton: i,
1920
+ onClickUpButton: l
1920
1921
  } = n, d = P(() => ({
1921
1922
  "input-group-append": !0,
1922
1923
  "btn-group": !0,
@@ -1926,10 +1927,10 @@ function Yn(e, t, n) {
1926
1927
  "btn-secondary": !0,
1927
1928
  "btn-number-flag": !0
1928
1929
  })), a = P(() => ({
1929
- cursor: r() ? "pointer" : "not-allowed",
1930
+ cursor: o() ? "pointer" : "not-allowed",
1930
1931
  "margin-left": 0
1931
1932
  })), u = P(() => ({
1932
- cursor: o() ? "pointer" : "not-allowed",
1933
+ cursor: r() ? "pointer" : "not-allowed",
1933
1934
  "margin-left": 0
1934
1935
  }));
1935
1936
  return () => A("div", {
@@ -1938,52 +1939,52 @@ function Yn(e, t, n) {
1938
1939
  title: "upButton",
1939
1940
  class: m.value,
1940
1941
  style: a.value,
1941
- onClick: s,
1942
- disabled: !r()
1942
+ onClick: l,
1943
+ disabled: !o()
1943
1944
  }, [A("span", {
1944
1945
  class: "f-icon f-icon-arrow-chevron-up number-arrow-chevron"
1945
1946
  }, null)]), A("button", {
1946
1947
  title: "downButton",
1947
1948
  class: m.value,
1948
1949
  style: u.value,
1949
- onClick: l,
1950
- disabled: !o()
1950
+ onClick: i,
1951
+ disabled: !r()
1951
1952
  }, [A("span", {
1952
1953
  class: "f-icon f-icon-arrow-chevron-down number-arrow-chevron"
1953
1954
  }, null)])]);
1954
1955
  }
1955
- function Kn(e, t) {
1956
- const n = $e(e, t), o = Re(e, t, n), r = Ge(e, t, o, n), l = qe(e, t, o, n, r), s = Yn(e, t, r), {
1956
+ function Jn(e, t) {
1957
+ const n = $e(e, t), r = Re(e, t, n), o = Ge(e, t, r, n), i = qe(e, t, r, n, o), l = Kn(e, t, o), {
1957
1958
  displayValue: d,
1958
1959
  modelValue: m,
1959
1960
  getRealValue: a
1960
- } = n, u = Xn(e, t, l), {
1961
+ } = n, u = Yn(e, t, i), {
1961
1962
  format: c
1962
- } = o, {
1963
+ } = r, {
1963
1964
  isFocus: y
1964
- } = l, F = P(() => !e.disabled && !e.readonly);
1965
+ } = i, F = P(() => !e.disabled && !e.readonly);
1965
1966
  return U(() => {
1966
- const i = a(e.modelValue);
1967
- d.value = c(i);
1968
- }), I(() => [e.value], ([i]) => {
1969
- const p = a(i);
1967
+ const s = a(e.modelValue);
1968
+ d.value = c(s);
1969
+ }), $(() => [e.value], ([s]) => {
1970
+ const p = a(s);
1970
1971
  m.value = p, d.value = c(p);
1971
- }), I(() => [e.modelValue], ([i]) => {
1972
- i !== m.value && (m.value = i, !y.value && (d.value = c(a(i))));
1973
- }), I(() => [e.precision, e.useThousands, e.prefix, e.suffix, e.showZero], () => {
1972
+ }), $(() => [e.modelValue], ([s]) => {
1973
+ s !== m.value && (m.value = s, !y.value && (d.value = c(a(s))));
1974
+ }), $(() => [e.precision, e.useThousands, e.prefix, e.suffix, e.showZero], () => {
1974
1975
  d.value = c(m.value);
1975
1976
  }), () => A("div", {
1976
1977
  class: "input-group f-state-hover flex-row f-cmp-number-spinner"
1977
- }, [u(), F.value && s()]);
1978
+ }, [u(), F.value && l()]);
1978
1979
  }
1979
- function Jn(e, t, n, o) {
1980
- const r = f(), l = f(e.autocomplete), s = f(e.enableTitle), {
1980
+ function eo(e, t, n, r) {
1981
+ const o = f(), i = f(e.autocomplete), l = f(e.enableTitle), {
1981
1982
  isPassword: d
1982
1983
  } = n, m = f(e.minLength), a = f(e.maxLength), u = f(e.tabIndex), {
1983
1984
  disabled: c,
1984
1985
  displayText: y,
1985
1986
  inputType: F,
1986
- onBlur: i,
1987
+ onBlur: s,
1987
1988
  onFocus: p,
1988
1989
  onInput: g,
1989
1990
  onClick: w,
@@ -1992,27 +1993,27 @@ function Jn(e, t, n, o) {
1992
1993
  onMousedown: M,
1993
1994
  onTextBoxValueChange: L,
1994
1995
  readonly: S,
1995
- placeholder: k,
1996
+ placeholder: x,
1996
1997
  textBoxClass: B,
1997
1998
  textBoxTitle: E
1998
- } = o;
1999
+ } = r;
1999
2000
  return U(() => {
2000
2001
  e.selectOnCreated, e.focusOnCreated;
2001
2002
  }), () => A("input", {
2002
- ref: r,
2003
+ ref: o,
2003
2004
  name: "input-group-value",
2004
- autocomplete: l.value,
2005
+ autocomplete: i.value,
2005
2006
  class: B.value,
2006
2007
  disabled: c == null ? void 0 : c.value,
2007
2008
  maxlength: a.value,
2008
2009
  minlength: m.value,
2009
- placeholder: k.value,
2010
+ placeholder: x.value,
2010
2011
  readonly: S == null ? void 0 : S.value,
2011
2012
  tabindex: u.value,
2012
- title: s.value && !d.value ? E.value : "",
2013
+ title: l.value && !d.value ? E.value : "",
2013
2014
  type: F.value,
2014
2015
  value: y == null ? void 0 : y.value,
2015
- onBlur: i,
2016
+ onBlur: s,
2016
2017
  onClick: w,
2017
2018
  onChange: L,
2018
2019
  onFocus: p,
@@ -2022,61 +2023,61 @@ function Jn(e, t, n, o) {
2022
2023
  onMousedown: M
2023
2024
  }, null);
2024
2025
  }
2025
- function eo(e, t) {
2026
- const n = P(() => e.useExtendInfo && !!e.extendInfo), o = Ve({
2026
+ function to(e, t) {
2027
+ const n = P(() => e.useExtendInfo && !!e.extendInfo), r = Ve({
2027
2028
  content: e.extendInfo
2028
2029
  });
2029
- function r() {
2030
+ function o() {
2030
2031
  t.emit("updateExtendInfo");
2031
2032
  }
2032
2033
  return () => n.value && Oe(A("span", {
2033
2034
  class: "input-group-before-tips",
2034
- onMouseenter: r
2035
+ onMouseenter: o
2035
2036
  }, [A("i", {
2036
2037
  class: "f-icon f-icon-info-circle"
2037
2038
  }, null), A("b", {
2038
2039
  class: "tips-arrow"
2039
- }, null)]), [[Le("tooltip"), o]]);
2040
+ }, null)]), [[Le("tooltip"), r]]);
2040
2041
  }
2041
- function Fe(e, t, n, o, r) {
2042
+ function Fe(e, t, n, r, o) {
2042
2043
  const {
2043
- appendedButtonClass: l,
2044
- appendedContent: s
2045
- } = n, d = P(() => e.showButtonWhenDisabled && (!e.editable || !e.readonly) && !e.disabled), m = P(() => s.value && !t.slots.groupTextTemplate), a = P(() => !!t.slots.groupTextTemplate), {
2044
+ appendedButtonClass: i,
2045
+ appendedContent: l
2046
+ } = n, d = P(() => e.showButtonWhenDisabled && (!e.editable || !e.readonly) && !e.disabled), m = P(() => l.value && !t.slots.groupTextTemplate), a = P(() => !!t.slots.groupTextTemplate), {
2046
2047
  clearButtonClass: u,
2047
2048
  clearButtonStyle: c,
2048
2049
  onClearValue: y,
2049
2050
  shouldShowClearButton: F
2050
- } = o;
2051
- function i() {
2051
+ } = r;
2052
+ function s() {
2052
2053
  return A("span", {
2053
2054
  id: "clearIcon",
2054
2055
  class: u.value,
2055
2056
  style: c.value,
2056
- onClick: (k) => y(k)
2057
+ onClick: (x) => y(x)
2057
2058
  }, [A("i", {
2058
2059
  class: "f-icon modal_close"
2059
2060
  }, null)]);
2060
2061
  }
2061
- function p(k) {
2062
- t.emit("iconMouseEnter", k);
2062
+ function p(x) {
2063
+ t.emit("iconMouseEnter", x);
2063
2064
  }
2064
- function g(k) {
2065
- t.emit("iconMouseLeave", k);
2065
+ function g(x) {
2066
+ t.emit("iconMouseLeave", x);
2066
2067
  }
2067
- function w(k) {
2068
+ function w(x) {
2068
2069
  d.value && t.emit("clickHandle", {
2069
- originalEvent: k
2070
- }), k.stopPropagation();
2070
+ originalEvent: x
2071
+ }), x.stopPropagation();
2071
2072
  }
2072
- const D = e.type === "password" ? r.onClickAppendedButton : w;
2073
+ const D = e.type === "password" ? o.onClickAppendedButton : w;
2073
2074
  function j() {
2074
2075
  return A("span", {
2075
2076
  class: "input-group-text",
2076
- onMouseenter: (k) => p(k),
2077
- onMouseleave: (k) => g(k),
2078
- innerHTML: s.value,
2079
- onClick: (k) => D(k)
2077
+ onMouseenter: (x) => p(x),
2078
+ onMouseleave: (x) => g(x),
2079
+ innerHTML: l.value,
2080
+ onClick: (x) => D(x)
2080
2081
  }, null);
2081
2082
  }
2082
2083
  function M() {
@@ -2087,56 +2088,56 @@ function Fe(e, t, n, o, r) {
2087
2088
  }
2088
2089
  const S = L();
2089
2090
  return () => A("div", {
2090
- class: l.value
2091
- }, [F.value && i(), S && S()]);
2091
+ class: i.value
2092
+ }, [F.value && s(), S && S()]);
2092
2093
  }
2093
- const to = /* @__PURE__ */ G({
2094
+ const no = /* @__PURE__ */ G({
2094
2095
  name: "FInputGroup",
2095
2096
  props: ae,
2096
2097
  emits: ["clear", "change", "blur", "click", "clickHandle", "focus", "input", "keydown", "keyup", "iconMouseEnter", "iconMouseLeave", "update:modelValue", "update:value", "updateExtendInfo", "valueChange"],
2097
2098
  setup(e, t) {
2098
- const n = f(e.modelValue), o = f(e.modelValue), r = Wn(e, t, n, o), {
2099
- inputGroupClass: l,
2100
- inputType: s,
2099
+ const n = f(e.modelValue), r = f(e.modelValue), o = zn(e, t, n, r), {
2100
+ inputGroupClass: i,
2101
+ inputType: l,
2101
2102
  inputGroupStyle: d
2102
- } = r, m = Ce(e), {
2103
+ } = o, m = Ce(e), {
2103
2104
  shouldShowAppendedButton: a
2104
- } = m, u = ve(e, t, r), {
2105
+ } = m, u = ve(e, t, o), {
2105
2106
  onMouseEnter: c,
2106
2107
  onMouseLeave: y
2107
- } = u, F = Te(e, t, s, m), i = Kn(e, t), p = Jn(e, t, F, r), g = Fe(e, t, m, u, F), w = eo(e, t), D = P(() => e.type === "number");
2108
- I(() => [e.value], ([M]) => {
2109
- n.value = M, o.value = M;
2110
- }), I(() => [e.modelValue], ([M]) => {
2111
- n.value = M, o.value = M;
2108
+ } = u, F = Te(e, t, l, m), s = Jn(e, t), p = eo(e, t, F, o), g = Fe(e, t, m, u, F), w = to(e, t), D = P(() => e.type === "number");
2109
+ $(() => [e.value], ([M]) => {
2110
+ n.value = M, r.value = M;
2111
+ }), $(() => [e.modelValue], ([M]) => {
2112
+ n.value = M, r.value = M;
2112
2113
  }), U(() => {
2113
- e.value && (n.value = e.value, o.value = e.value);
2114
+ e.value && (n.value = e.value, r.value = e.value);
2114
2115
  });
2115
2116
  const j = () => A(le, null, [A("div", {
2116
2117
  id: "inputGroup",
2117
- class: l.value,
2118
+ class: i.value,
2118
2119
  style: d.value,
2119
2120
  onMouseenter: c,
2120
2121
  onMouseleave: y
2121
- }, [D.value ? i() : A(le, null, [w(), p(), a.value && g()])])]);
2122
+ }, [D.value ? s() : A(le, null, [w(), p(), a.value && g()])])]);
2122
2123
  return () => j();
2123
2124
  }
2124
2125
  }), b = {}, h = {}, v = {}, C = {};
2125
2126
  let pe = !1;
2126
- function no() {
2127
- pe || (pe = !0, He.register(b, h, v, C), Ue.register(b, h, v, C), We.register(b, h, v, C), ze.register(b, h, v, C), Qe.register(b, h, v, C), _e.register(b, h, v, C), Ze.register(b, h, v, C), Xe.register(b, h, v, C), Ye.register(b, h, v, C), Je.register(b, h, v, C), Ke.register(b, h, v, C), et.register(b, h, v, C), tt.register(b, h, v, C), nt.register(b, h, v, C), ot.register(b, h, v, C), rt.register(b, h, v, C), at.register(b, h, v, C), it.register(b, h, v, C), st.register(b, h, v, C), lt.register(b, h, v, C), ct.register(b, h, v, C), pt.register(b, h, v, C), ut.register(b, h, v, C), dt.register(b, h, v, C), mt.register(b, h, v, C), ft.register(b, h, v, C), yt.register(b, h, v, C), Ie.register(b, h, v, C), gt.register(b, h, v, C), bt.register(b, h, v, C), ht.register(b, h, v, C), vt.register(b, h, v, C), Ct.register(b, h, v, C), Tt.register(b, h, v, C), Ft.register(b, h, v, C), wt.register(b, h, v, C), St.register(b, h, v, C), Pt.register(b, h, v, C), Bt.register(b, h, v, C), Ht.register(b, h, v), xt.register(b, h, v, C), kt.register(b, h, v, C), Mt.register(b, h, v, C), jt.register(b, h, v, C), At.register(b, h, v, C), Dt.register(b, h, v, C), Et.register(b, h, v, C), Vt.register(b, h, v, C), Ot.register(b, h, v, C), Lt.register(b, h, v, C), Nt.register(b, h, v, C), It.register(b, h, v, C), Rt.register(b, h, v, C), $t.register(b, h, v, C), Gt.register(b, h, v, C), qt.register(b, h, v, C), Ut.register(b, h, v, C));
2127
+ function oo() {
2128
+ pe || (pe = !0, He.register(b, h, v, C), Ue.register(b, h, v, C), We.register(b, h, v, C), ze.register(b, h, v, C), Qe.register(b, h, v, C), _e.register(b, h, v, C), Ze.register(b, h, v, C), Xe.register(b, h, v, C), Ye.register(b, h, v, C), Ke.register(b, h, v, C), et.register(b, h, v, C), Je.register(b, h, v, C), tt.register(b, h, v, C), nt.register(b, h, v, C), ot.register(b, h, v, C), rt.register(b, h, v, C), at.register(b, h, v, C), it.register(b, h, v, C), st.register(b, h, v, C), lt.register(b, h, v, C), ct.register(b, h, v, C), ut.register(b, h, v, C), dt.register(b, h, v, C), pt.register(b, h, v, C), mt.register(b, h, v, C), ft.register(b, h, v, C), yt.register(b, h, v, C), gt.register(b, h, v, C), Ie.register(b, h, v, C), bt.register(b, h, v, C), ht.register(b, h, v, C), vt.register(b, h, v, C), Ct.register(b, h, v, C), Tt.register(b, h, v, C), Ft.register(b, h, v, C), wt.register(b, h, v, C), Bt.register(b, h, v, C), Pt.register(b, h, v, C), kt.register(b, h, v, C), St.register(b, h, v, C), Wt.register(b, h, v), xt.register(b, h, v, C), Mt.register(b, h, v, C), jt.register(b, h, v, C), At.register(b, h, v, C), Dt.register(b, h, v, C), Et.register(b, h, v, C), Vt.register(b, h, v, C), Ot.register(b, h, v, C), Lt.register(b, h, v, C), Nt.register(b, h, v, C), It.register(b, h, v, C), $t.register(b, h, v, C), Gt.register(b, h, v, C), Rt.register(b, h, v, C), qt.register(b, h, v, C), Ut.register(b, h, v, C), Ht.register(b, h, v, C));
2128
2129
  }
2129
2130
  function we() {
2130
- no();
2131
- function e(r, l) {
2132
- const s = h[r];
2133
- return s ? s(l) : {};
2131
+ oo();
2132
+ function e(o, i) {
2133
+ const l = h[o];
2134
+ return l ? l(i) : {};
2134
2135
  }
2135
- function t(r) {
2136
- return b[r] || to;
2136
+ function t(o) {
2137
+ return b[o] || no;
2137
2138
  }
2138
- function n(r) {
2139
- switch (r) {
2139
+ function n(o) {
2140
+ switch (o) {
2140
2141
  case "check-box":
2141
2142
  return "onChangeValue";
2142
2143
  case "switch":
@@ -2144,6 +2145,7 @@ function we() {
2144
2145
  case "check-group":
2145
2146
  return "onChangeValue";
2146
2147
  case "combo-list":
2148
+ case "combo-tree":
2147
2149
  return "onChange";
2148
2150
  case "combo-lookup":
2149
2151
  return "";
@@ -2189,26 +2191,26 @@ function we() {
2189
2191
  return "onMappingFieldsChanged";
2190
2192
  }
2191
2193
  }
2192
- function o(r) {
2193
- switch (r) {
2194
+ function r(o) {
2195
+ switch (o) {
2194
2196
  case "combo-list":
2195
2197
  case "input-group":
2196
2198
  return "onClear";
2197
2199
  }
2198
2200
  }
2199
- return { resolveEditorProps: e, resolveEditorType: t, getChangeFunctionName: n, getClearFunctionName: o };
2201
+ return { resolveEditorProps: e, resolveEditorType: t, getChangeFunctionName: n, getClearFunctionName: r };
2200
2202
  }
2201
2203
  const ee = /* @__PURE__ */ G({
2202
2204
  name: "FDynamicFormGroup",
2203
2205
  props: Q,
2204
2206
  emits: ["change", "update:modelValue"],
2205
2207
  setup(e, t) {
2206
- const n = f(e.id), o = f(e.customClass), r = f(e.editor), l = f(e.label), s = f(e.modelValue), d = f(e.readonly), m = f(e.required), a = f(e.showLabel), u = f(e.visible);
2208
+ const n = f(e.id), r = f(e.customClass), o = f(e.editor), i = f(e.label), l = f(e.modelValue), d = f(e.readonly), m = f(e.required), a = f(e.showLabel), u = f(e.visible);
2207
2209
  f(e.type);
2208
2210
  const c = f(), {
2209
2211
  resolveEditorProps: y,
2210
2212
  resolveEditorType: F,
2211
- getChangeFunctionName: i,
2213
+ getChangeFunctionName: s,
2212
2214
  getClearFunctionName: p
2213
2215
  } = we(), g = P(() => ({
2214
2216
  "form-group": !0,
@@ -2217,27 +2219,27 @@ const ee = /* @__PURE__ */ G({
2217
2219
  "q-state-readonly": d.value
2218
2220
  }));
2219
2221
  function w(M, L) {
2220
- s.value = L !== void 0 ? L : M, t.emit("update:modelValue", s.value), t.emit("change", s.value);
2222
+ l.value = L !== void 0 ? L : M, t.emit("update:modelValue", l.value), t.emit("change", l.value);
2221
2223
  }
2222
2224
  function D() {
2223
2225
  t.emit("update:modelValue", "");
2224
2226
  }
2225
2227
  const j = P(() => {
2226
- const M = r.value.type || "input-group", L = F(M), S = y(M, r.value), k = i(M), B = p(r.value.type);
2227
- return S[k] = w, S[B] = D, () => A(L, _({
2228
+ const M = o.value.type || "input-group", L = F(M), S = y(M, o.value), x = s(M), B = p(o.value.type);
2229
+ return S[x] = w, S[B] = D, () => A(L, _({
2228
2230
  ref: c
2229
2231
  }, S, {
2230
- modelValue: s.value,
2231
- "onUpdate:modelValue": (E) => s.value = E
2232
+ modelValue: l.value,
2233
+ "onUpdate:modelValue": (E) => l.value = E
2232
2234
  }), null);
2233
2235
  });
2234
- return I([() => e.id, () => e.customClass, () => e.editor, () => e.label, () => e.modelValue, () => e.readonly, () => e.required, () => e.showLabel, () => e.visible], ([M, L, S, k, B, E, N, O, R]) => {
2235
- n.value = M, o.value = L, r.value = S, l.value = k, s.value = B, d.value = E, m.value = N, a.value = O, u.value = R;
2236
+ return $([() => e.id, () => e.customClass, () => e.editor, () => e.label, () => e.modelValue, () => e.readonly, () => e.required, () => e.showLabel, () => e.visible], ([M, L, S, x, B, E, N, O, R]) => {
2237
+ n.value = M, r.value = L, o.value = S, i.value = x, l.value = B, d.value = E, m.value = N, a.value = O, u.value = R;
2236
2238
  }), t.expose({
2237
2239
  editorRef: c
2238
2240
  }), () => u.value && A("div", {
2239
2241
  id: `${n.value}-input-group`,
2240
- class: o.value
2242
+ class: r.value
2241
2243
  }, [A("div", {
2242
2244
  class: "farris-group-wrap"
2243
2245
  }, [A("div", {
@@ -2245,23 +2247,23 @@ const ee = /* @__PURE__ */ G({
2245
2247
  }, [a.value && A(he, {
2246
2248
  id: `${n.value}-lable`,
2247
2249
  required: m.value,
2248
- text: l.value,
2249
- title: l.value
2250
+ text: i.value,
2251
+ title: i.value
2250
2252
  }, null), A("div", {
2251
2253
  class: "farris-input-wrap"
2252
2254
  }, [j.value()])])])]);
2253
2255
  }
2254
- }), oo = {}, ro = {};
2255
- function ao(e, t) {
2256
+ }), ro = {}, ao = {};
2257
+ function io(e, t) {
2256
2258
  e.schema;
2257
- const n = f(!0), o = f(!0);
2258
- function r(c) {
2259
+ const n = f(!0), r = f(!0);
2260
+ function o(c) {
2259
2261
  return !1;
2260
2262
  }
2261
- function l() {
2263
+ function i() {
2262
2264
  return !1;
2263
2265
  }
2264
- function s() {
2266
+ function l() {
2265
2267
  return !1;
2266
2268
  }
2267
2269
  function d() {
@@ -2275,26 +2277,27 @@ function ao(e, t) {
2275
2277
  return null;
2276
2278
  }
2277
2279
  return {
2278
- canAccepts: r,
2279
- checkCanDeleteComponent: l,
2280
- checkCanMoveComponent: s,
2280
+ canAccepts: o,
2281
+ checkCanDeleteComponent: i,
2282
+ checkCanMoveComponent: l,
2281
2283
  hideNestedPaddingInDesginerView: d,
2282
2284
  onAcceptMovedChildElement: m,
2283
2285
  resolveComponentContext: a,
2284
2286
  triggerBelongedComponentToMoveWhenMoved: n,
2285
- triggerBelongedComponentToDeleteWhenDeleted: o,
2287
+ triggerBelongedComponentToDeleteWhenDeleted: r,
2286
2288
  getPropsConfig: u
2287
2289
  };
2288
2290
  }
2289
2291
  class Be {
2290
2292
  static getEditorTypesByMDataType(t) {
2291
- return this.fieldControlTypeMapping[t];
2293
+ const n = this.fieldControlTypeMapping[t];
2294
+ return n || [{ key: "", value: "" }];
2292
2295
  }
2293
2296
  }
2294
2297
  /**
2295
2298
  * <字段类型,可配置的控件类型列表>的映射
2296
2299
  */
2297
- $(Be, "fieldControlTypeMapping", {
2300
+ I(Be, "fieldControlTypeMapping", {
2298
2301
  String: [
2299
2302
  { key: T["input-group"].type, value: T["input-group"].name },
2300
2303
  { key: T.lookup.type, value: T.lookup.name },
@@ -2349,31 +2352,36 @@ $(Be, "fieldControlTypeMapping", {
2349
2352
  { key: T.AdminOrganizationSelector.type, value: T.AdminOrganizationSelector.name }
2350
2353
  ]
2351
2354
  });
2352
- class io {
2355
+ class so {
2353
2356
  constructor(t, n) {
2354
- $(this, "componentId");
2355
- $(this, "viewModelId");
2356
- $(this, "eventsEditorUtils");
2357
- $(this, "formSchemaUtils");
2358
- $(this, "formMetadataConverter");
2359
- $(this, "designViewModelUtils");
2360
- $(this, "designViewModelField");
2361
- $(this, "controlCreatorUtils");
2362
- $(this, "designerHostService");
2363
- $(this, "metadataService", null);
2364
- $(this, "propertyConfig", {
2357
+ I(this, "componentId");
2358
+ I(this, "viewModelId");
2359
+ I(this, "eventsEditorUtils");
2360
+ I(this, "formSchemaUtils");
2361
+ I(this, "formMetadataConverter");
2362
+ I(this, "designViewModelUtils");
2363
+ I(this, "designViewModelField");
2364
+ I(this, "controlCreatorUtils");
2365
+ I(this, "designerHostService");
2366
+ I(this, "schemaService", null);
2367
+ I(this, "metadataService", null);
2368
+ I(this, "propertyConfig", {
2365
2369
  type: "object",
2366
2370
  categories: {}
2367
2371
  });
2368
- var o;
2369
- this.componentId = t, this.designerHostService = n, this.eventsEditorUtils = n.eventsEditorUtils, this.formSchemaUtils = n.formSchemaUtils, this.formMetadataConverter = n.formMetadataConverter, this.viewModelId = ((o = this.formSchemaUtils) == null ? void 0 : o.getViewModelIdByComponentId(t)) || "", this.designViewModelUtils = n.designViewModelUtils, this.controlCreatorUtils = n.controlCreatorUtils, this.metadataService = n.metadataService;
2372
+ var r;
2373
+ this.componentId = t, this.designerHostService = n, this.eventsEditorUtils = n.eventsEditorUtils, this.formSchemaUtils = n.formSchemaUtils, this.formMetadataConverter = n.formMetadataConverter, this.viewModelId = ((r = this.formSchemaUtils) == null ? void 0 : r.getViewModelIdByComponentId(t)) || "", this.designViewModelUtils = n.designViewModelUtils, this.controlCreatorUtils = n.controlCreatorUtils, this.metadataService = n.metadataService, this.schemaService = n.schemaService;
2374
+ }
2375
+ getTableInfo() {
2376
+ var t;
2377
+ return (t = this.schemaService) == null ? void 0 : t.getTableInfoByViewModelId(this.viewModelId);
2370
2378
  }
2371
2379
  setDesignViewModelField(t) {
2372
2380
  const n = t.binding && t.binding.type === "Form" && t.binding.field;
2373
2381
  if (n) {
2374
2382
  if (!this.designViewModelField) {
2375
- const o = this.designViewModelUtils.getDgViewModel(this.viewModelId);
2376
- this.designViewModelField = o.fields.find((r) => r.id === n);
2383
+ const r = this.designViewModelUtils.getDgViewModel(this.viewModelId);
2384
+ this.designViewModelField = r.fields.find((o) => o.id === n);
2377
2385
  }
2378
2386
  t.updateOn = this.designViewModelField.updateOn;
2379
2387
  }
@@ -2381,6 +2389,7 @@ class io {
2381
2389
  changeFieldEditorType(t, n) {
2382
2390
  }
2383
2391
  getBasicPropConfig(t) {
2392
+ var r, o;
2384
2393
  var n = this;
2385
2394
  return this.setDesignViewModelField(t), {
2386
2395
  description: "Basic Information",
@@ -2402,7 +2411,8 @@ class io {
2402
2411
  type: "combo-list",
2403
2412
  textField: "value",
2404
2413
  valueField: "key",
2405
- data: Be.getEditorTypesByMDataType(n.designViewModelField.type.name)
2414
+ data: Be.getEditorTypesByMDataType(((o = (r = n.designViewModelField) == null ? void 0 : r.type) == null ? void 0 : o.name) || ""),
2415
+ editable: !1
2406
2416
  }
2407
2417
  },
2408
2418
  label: {
@@ -2411,11 +2421,11 @@ class io {
2411
2421
  $converter: "/converter/form-group-label.converter"
2412
2422
  }
2413
2423
  },
2414
- setPropertyRelates(o, r) {
2415
- if (o)
2416
- switch (o && o.propertyID) {
2424
+ setPropertyRelates(i, l) {
2425
+ if (i)
2426
+ switch (i && i.propertyID) {
2417
2427
  case "type": {
2418
- n.changeControlType(t, o);
2428
+ n.changeControlType(t, i);
2419
2429
  break;
2420
2430
  }
2421
2431
  }
@@ -2429,33 +2439,33 @@ class io {
2429
2439
  */
2430
2440
  changeControlType(t, n) {
2431
2441
  var a, u, c, y, F;
2432
- const o = n.propertyValue, r = this.formSchemaUtils.getComponentById(this.componentId);
2433
- let l = this.getControlParentContainer(t.id, r);
2434
- if (!l)
2442
+ const r = n.propertyValue, o = this.formSchemaUtils.getComponentById(this.componentId);
2443
+ let i = this.getControlParentContainer(t.id, o);
2444
+ if (!i)
2435
2445
  return;
2436
- const s = l.contents.findIndex((i) => i.id === t.id), d = l.contents[s];
2446
+ const l = i.contents.findIndex((s) => s.id === t.id), d = i.contents[l];
2437
2447
  let m;
2438
2448
  this.designViewModelField && (this.designViewModelUtils.getDgViewModel(this.viewModelId).changeField(this.designViewModelField.id, {
2439
2449
  editor: {
2440
- $type: o
2450
+ $type: r
2441
2451
  },
2442
2452
  name: this.designViewModelField.name,
2443
2453
  require: this.designViewModelField.require,
2444
2454
  readonly: this.designViewModelField.readonly
2445
- }, !1), m = this.controlCreatorUtils.setFormFieldProperty("Form", this.designViewModelField, null, o)), Object.assign(m, {
2455
+ }, !1), m = this.controlCreatorUtils.setFormFieldProperty("Form", this.designViewModelField, null, r)), Object.assign(m, {
2446
2456
  id: d.id,
2447
2457
  appearance: d.appearance,
2448
2458
  size: d.size,
2449
2459
  label: d.label
2450
2460
  }), Object.assign(m.editor, {
2451
2461
  isTextArea: m.isTextArea && d.isTextArea,
2452
- type: o || "",
2462
+ type: r || "",
2453
2463
  placeHolder: (a = d.editor) == null ? void 0 : a.placeHolder,
2454
2464
  holdPlace: (u = d.editor) == null ? void 0 : u.holdPlace,
2455
2465
  readonly: (c = d.editor) == null ? void 0 : c.readonly,
2456
2466
  require: (y = d.editor) == null ? void 0 : y.require,
2457
2467
  visible: (F = d.editor) == null ? void 0 : F.visible
2458
- }), l.contents.splice(s, 1, m);
2468
+ }), i.contents.splice(l, 1, m);
2459
2469
  }
2460
2470
  getAppearanceConfig(t = null) {
2461
2471
  return {
@@ -2493,14 +2503,14 @@ class io {
2493
2503
  * @param domJson 容器
2494
2504
  */
2495
2505
  getControlParentContainer(t, n) {
2496
- let o;
2506
+ let r;
2497
2507
  if (!n || !n.contents || n.contents.length === 0)
2498
2508
  return null;
2499
- for (const r of n.contents) {
2500
- if (r.id === t)
2501
- return o = n, n;
2502
- if (o = this.getControlParentContainer(t, r), o)
2503
- return o;
2509
+ for (const o of n.contents) {
2510
+ if (o.id === t)
2511
+ return r = n, n;
2512
+ if (r = this.getControlParentContainer(t, o), r)
2513
+ return r;
2504
2514
  }
2505
2515
  }
2506
2516
  getBindingFieldEditorOptions(t) {
@@ -2517,15 +2527,15 @@ class io {
2517
2527
  { field: "bindingField", title: "绑定字段" },
2518
2528
  { field: "fieldType", title: "字段类型" }
2519
2529
  ],
2520
- beforeOpenDialog: (o) => {
2521
- const r = this.designViewModelUtils.getAllFields2TreeByVMId(this.viewModelId);
2522
- o.instance.loadData(r);
2530
+ beforeOpenDialog: (r) => {
2531
+ const o = this.designViewModelUtils.getAllFields2TreeByVMId(this.viewModelId);
2532
+ r.instance.loadData(o);
2523
2533
  },
2524
2534
  textField: "bindingField"
2525
2535
  };
2526
2536
  }
2527
2537
  }
2528
- class so extends io {
2538
+ class lo extends so {
2529
2539
  constructor(t, n) {
2530
2540
  super(t, n);
2531
2541
  }
@@ -2543,7 +2553,7 @@ class so extends io {
2543
2553
  return this.propertyConfig.categories.basic = this.getBasicProperties(t), this.propertyConfig.categories.appearance = this.getAppearanceProperties(t), this.propertyConfig.categories.editor = this.getEditorProperties(t), this.propertyConfig;
2544
2554
  }
2545
2555
  getFieldSelectorOptions(t) {
2546
- const n = this.formSchemaUtils.getFormMetadataBasicInfo(), o = this.designViewModelUtils.getAllFields2TreeByVMId(this.viewModelId);
2556
+ const n = this.formSchemaUtils.getFormMetadataBasicInfo(), r = this.designViewModelUtils.getAllFields2TreeByVMId(this.viewModelId);
2547
2557
  return {
2548
2558
  description: "绑定的表单字段",
2549
2559
  title: "绑定",
@@ -2560,17 +2570,17 @@ class so extends io {
2560
2570
  { field: "bindingField", title: "绑定字段" },
2561
2571
  { field: "fieldType", title: "字段类型" }
2562
2572
  ],
2563
- data: o
2573
+ data: r
2564
2574
  }
2565
2575
  };
2566
2576
  }
2567
- getComponentConfig(t, n = {}, o = {}) {
2568
- const r = Object.assign({
2577
+ getComponentConfig(t, n = {}, r = {}) {
2578
+ const o = Object.assign({
2569
2579
  description: "组件信息",
2570
2580
  title: "组件信息",
2571
2581
  type: "input-group",
2572
2582
  $converter: "/converter/property-editor.converter"
2573
- }, n), l = Object.assign({
2583
+ }, n), i = Object.assign({
2574
2584
  readonly: {
2575
2585
  description: "",
2576
2586
  title: "只读",
@@ -2591,64 +2601,64 @@ class so extends io {
2591
2601
  title: "提示文本",
2592
2602
  type: "string"
2593
2603
  }
2594
- }, o);
2595
- return { ...r, properties: { ...l } };
2604
+ }, r);
2605
+ return { ...o, properties: { ...i } };
2596
2606
  }
2597
2607
  }
2598
- class lo extends so {
2608
+ class co extends lo {
2599
2609
  constructor(t, n) {
2600
2610
  super(t, n);
2601
2611
  }
2602
2612
  }
2603
- function co(e, t) {
2613
+ function uo(e, t) {
2604
2614
  const {
2605
2615
  canAccepts: n,
2606
- checkCanDeleteComponent: o,
2607
- checkCanMoveComponent: r,
2608
- hideNestedPaddingInDesginerView: l,
2609
- onAcceptMovedChildElement: s,
2616
+ checkCanDeleteComponent: r,
2617
+ checkCanMoveComponent: o,
2618
+ hideNestedPaddingInDesginerView: i,
2619
+ onAcceptMovedChildElement: l,
2610
2620
  resolveComponentContext: d,
2611
2621
  triggerBelongedComponentToMoveWhenMoved: m,
2612
2622
  triggerBelongedComponentToDeleteWhenDeleted: a
2613
- } = ao(e), u = e.schema;
2623
+ } = io(e), u = e.schema;
2614
2624
  function c(y) {
2615
- return new lo(y, t).getPropertyConfig(u);
2625
+ return new co(y, t).getPropertyConfig(u);
2616
2626
  }
2617
2627
  return {
2618
2628
  canAccepts: n,
2619
- checkCanDeleteComponent: o,
2620
- checkCanMoveComponent: r,
2621
- hideNestedPaddingInDesginerView: l,
2622
- onAcceptMovedChildElement: s,
2629
+ checkCanDeleteComponent: r,
2630
+ checkCanMoveComponent: o,
2631
+ hideNestedPaddingInDesginerView: i,
2632
+ onAcceptMovedChildElement: l,
2623
2633
  resolveComponentContext: d,
2624
2634
  triggerBelongedComponentToMoveWhenMoved: m,
2625
2635
  triggerBelongedComponentToDeleteWhenDeleted: a,
2626
2636
  getPropsConfig: c
2627
2637
  };
2628
2638
  }
2629
- const uo = /* @__PURE__ */ G({
2639
+ const po = /* @__PURE__ */ G({
2630
2640
  name: "FInputGroupDesign",
2631
2641
  props: ae,
2632
2642
  emits: ["updateExtendInfo", "clear", "valueChange", "clickHandle", "blurHandle", "focusHandle", "enterHandle", "iconMouseEnter", "iconMouseLeave", "keyupHandle", "keydownHandle", "inputClick"],
2633
2643
  setup(e, t) {
2634
- const n = f(e.modelValue), o = f(e.modelValue), r = zn(e, t, n, o), {
2635
- inputGroupClass: l,
2636
- inputType: s,
2644
+ const n = f(e.modelValue), r = f(e.modelValue), o = Qn(e, t, n, r), {
2645
+ inputGroupClass: i,
2646
+ inputType: l,
2637
2647
  inputGroupStyle: d
2638
- } = r, m = Ce(e), {
2648
+ } = o, m = Ce(e), {
2639
2649
  shouldShowAppendedButton: a
2640
- } = m, u = ve(e, t, r), {
2650
+ } = m, u = ve(e, t, o), {
2641
2651
  onMouseEnter: c,
2642
2652
  onMouseLeave: y
2643
- } = u, F = Te(e, t, s, m), i = f(), p = W("designer-host-service"), g = W("design-item-context"), w = co(g, p), D = re(i, g, w);
2653
+ } = u, F = Te(e, t, l, m), s = f(), p = W("designer-host-service"), g = W("design-item-context"), w = uo(g, p), D = re(s, g, w);
2644
2654
  U(() => {
2645
- i.value.componentInstance = D;
2655
+ s.value.componentInstance = D;
2646
2656
  }), t.expose(D.value);
2647
2657
  const j = Fe(e, t, m, u, F), M = f();
2648
2658
  return () => A("div", {
2649
2659
  id: "inputGroup",
2650
- ref: i,
2651
- class: l.value,
2660
+ ref: s,
2661
+ class: i.value,
2652
2662
  style: d.value,
2653
2663
  onMouseenter: c,
2654
2664
  onMouseleave: y
@@ -2660,48 +2670,48 @@ const uo = /* @__PURE__ */ G({
2660
2670
  }, null), a.value && j()]);
2661
2671
  }
2662
2672
  });
2663
- function po() {
2664
- function e(n, o) {
2665
- const r = ro[n];
2666
- return r ? r(o) : {};
2673
+ function mo() {
2674
+ function e(n, r) {
2675
+ const o = ao[n];
2676
+ return o ? o(r) : {};
2667
2677
  }
2668
2678
  function t(n) {
2669
- return oo[n] || uo;
2679
+ return ro[n] || po;
2670
2680
  }
2671
2681
  return { resolveEditorProps: e, resolveEditorType: t };
2672
2682
  }
2673
- const mo = /* @__PURE__ */ G({
2683
+ const fo = /* @__PURE__ */ G({
2674
2684
  name: "FDynamicFormGroupDesign",
2675
2685
  props: Q,
2676
2686
  emits: ["change", "update:modelValue"],
2677
2687
  setup(e, t) {
2678
- const n = f(e.id), o = f(e.customClass), r = f(e.editor), l = f(e.label), s = f(e.modelValue), d = f(!0), m = f(e.required), a = f(e.showLabel);
2688
+ const n = f(e.id), r = f(e.customClass), o = f(e.editor), i = f(e.label), l = f(e.modelValue), d = f(!0), m = f(e.required), a = f(e.showLabel);
2679
2689
  f(e.type);
2680
2690
  const u = f(), {
2681
2691
  resolveEditorProps: c,
2682
2692
  resolveEditorType: y
2683
- } = po(), F = P(() => ({
2693
+ } = mo(), F = P(() => ({
2684
2694
  "form-group": !0,
2685
2695
  "farris-form-group": !0,
2686
2696
  "common-group": !0,
2687
2697
  "q-state-readonly": d.value,
2688
2698
  "form-group-in-canvas": !0
2689
- })), i = P(() => {
2690
- const p = r.value.type || "input-group", g = y(p), w = c(p, r.value);
2699
+ })), s = P(() => {
2700
+ const p = o.value.type || "input-group", g = y(p), w = c(p, o.value);
2691
2701
  return () => A(g, _({
2692
2702
  ref: u
2693
2703
  }, w, {
2694
- modelValue: s.value,
2695
- "onUpdate:modelValue": (D) => s.value = D
2704
+ modelValue: l.value,
2705
+ "onUpdate:modelValue": (D) => l.value = D
2696
2706
  }), null);
2697
2707
  });
2698
- return I([() => e.id, () => e.customClass, () => e.editor, () => e.label, () => e.modelValue, () => e.readonly, () => e.required, () => e.showLabel], ([p, g, w, D, j, M, L, S]) => {
2699
- n.value = p, o.value = g, r.value = w, l.value = D, s.value = j, d.value = M, m.value = L, a.value = S;
2708
+ return $([() => e.id, () => e.customClass, () => e.editor, () => e.label, () => e.modelValue, () => e.readonly, () => e.required, () => e.showLabel], ([p, g, w, D, j, M, L, S]) => {
2709
+ n.value = p, r.value = g, o.value = w, i.value = D, l.value = j, d.value = M, m.value = L, a.value = S;
2700
2710
  }), t.expose({
2701
2711
  editorRef: u
2702
2712
  }), () => A("div", {
2703
2713
  id: `${n.value}-input-group`,
2704
- class: o.value,
2714
+ class: r.value,
2705
2715
  design_test: !0
2706
2716
  }, [A("div", {
2707
2717
  class: "farris-group-wrap"
@@ -2710,25 +2720,25 @@ const mo = /* @__PURE__ */ G({
2710
2720
  }, [a.value && A(he, {
2711
2721
  id: `${n.value}-lable`,
2712
2722
  required: m.value,
2713
- text: l.value,
2714
- title: l.value
2723
+ text: i.value,
2724
+ title: i.value
2715
2725
  }, null), A("div", {
2716
2726
  class: "farris-input-wrap"
2717
- }, [i.value()])])])]);
2727
+ }, [s.value()])])])]);
2718
2728
  }
2719
- }), fo = /* @__PURE__ */ G({
2729
+ }), yo = /* @__PURE__ */ G({
2720
2730
  name: "FFormGroupDesign",
2721
2731
  props: Q,
2722
2732
  emits: [],
2723
2733
  setup(e, t) {
2724
- const n = f(), o = W("design-item-context"), r = re(n, o);
2725
- return r.value.canNested = !1, r.value.canMove = !0, r.value.canDelete = !0, U(() => {
2726
- n.value.componentInstance = r, r.value.getPropConfig = (...l) => {
2734
+ const n = f(), r = W("design-item-context"), o = re(n, r);
2735
+ return o.value.canNested = !1, o.value.canMove = !0, o.value.canDelete = !0, U(() => {
2736
+ n.value.componentInstance = o, o.value.getPropConfig = (...i) => {
2727
2737
  var d, m, a;
2728
- let s = fe[e.editor.type];
2729
- return s && Object.keys(s).length === 0 && ((d = n.value) != null && d.editorRef) && ((a = (m = n.value) == null ? void 0 : m.editorRef) != null && a.getPropConfig) && (s = n.value.editorRef.getPropConfig(...l)), s;
2738
+ let l = fe[e.editor.type];
2739
+ return l && Object.keys(l).length === 0 && ((d = n.value) != null && d.editorRef) && ((a = (m = n.value) == null ? void 0 : m.editorRef) != null && a.getPropConfig) && (l = n.value.editorRef.getPropConfig(...i)), l;
2730
2740
  };
2731
- }), t.expose(r.value), () => A(mo, _(e, {
2741
+ }), t.expose(o.value), () => A(fo, _(e, {
2732
2742
  ref: n
2733
2743
  }), null);
2734
2744
  }
@@ -2746,54 +2756,54 @@ const mo = /* @__PURE__ */ G({
2746
2756
  * 作为内嵌编辑器被创建后默认选中文本
2747
2757
  */
2748
2758
  selectOnCreated: { type: Boolean, default: !1 }
2749
- }, yo = Z(
2759
+ }, go = Z(
2750
2760
  Se,
2751
2761
  be,
2752
2762
  oe,
2753
2763
  void 0
2754
- ), go = /* @__PURE__ */ G({
2764
+ ), bo = /* @__PURE__ */ G({
2755
2765
  name: "FDynamicFormInput",
2756
2766
  props: Se,
2757
2767
  emits: ["change", "update:modelValue"],
2758
2768
  setup(e, t) {
2759
- const n = f(e.id), o = f(e.editor), r = f(e.modelValue), {
2760
- resolveEditorProps: l,
2761
- resolveEditorType: s,
2769
+ const n = f(e.id), r = f(e.editor), o = f(e.modelValue), {
2770
+ resolveEditorProps: i,
2771
+ resolveEditorType: l,
2762
2772
  getChangeFunctionName: d
2763
2773
  } = we();
2764
2774
  function m(u, c) {
2765
- r.value = c !== void 0 ? c : u, t.emit("update:modelValue", r.value), t.emit("change", r.value);
2775
+ o.value = c !== void 0 ? c : u, t.emit("update:modelValue", o.value), t.emit("change", o.value);
2766
2776
  }
2767
2777
  const a = P(() => {
2768
- const u = s(o.value.type), c = l(o.value.type, o.value);
2778
+ const u = l(r.value.type), c = i(r.value.type, r.value);
2769
2779
  c.focusOnCreated = e.focusOnCreated, c.selectOnCreated = e.selectOnCreated;
2770
- const y = d(o.value.type);
2780
+ const y = d(r.value.type);
2771
2781
  return c[y] = m, () => A(u, _(c, {
2772
- modelValue: r.value,
2773
- "onUpdate:modelValue": (F) => r.value = F
2782
+ modelValue: o.value,
2783
+ "onUpdate:modelValue": (F) => o.value = F
2774
2784
  }), null);
2775
2785
  });
2776
- return I([() => e.id, () => e.editor, () => e.modelValue], ([u, c, y]) => {
2777
- n.value = u, o.value = c, r.value = y;
2786
+ return $([() => e.id, () => e.editor, () => e.modelValue], ([u, c, y]) => {
2787
+ n.value = u, r.value = c, o.value = y;
2778
2788
  }), () => a.value();
2779
2789
  }
2780
- }), Sr = {
2790
+ }), kr = {
2781
2791
  install(e) {
2782
2792
  e.component(K.name, K).component(ee.name, ee);
2783
2793
  },
2784
- register(e, t, n, o) {
2785
- e["form-group"] = ee, t["form-group"] = ue, e["response-form"] = K, t["response-form"] = ce, e["form-input"] = go, t["form-input"] = yo, o["form-group"] = { editorResolver: Tn };
2794
+ register(e, t, n, r) {
2795
+ e["form-group"] = ee, t["form-group"] = ue, e["response-form"] = K, t["response-form"] = ce, e["form-input"] = bo, t["form-input"] = go, r["form-group"] = { editorResolver: Fn };
2786
2796
  },
2787
2797
  registerDesigner(e, t, n) {
2788
- e["form-group"] = fo, t["form-group"] = ue, e["response-form"] = En, t["response-form"] = ce;
2798
+ e["form-group"] = yo, t["form-group"] = ue, e["response-form"] = Vn, t["response-form"] = ce;
2789
2799
  }
2790
2800
  };
2791
2801
  export {
2792
2802
  ee as FDynamicFormGroup,
2793
2803
  K as FResponseForm,
2794
- Sr as default,
2804
+ kr as default,
2795
2805
  Q as dynamicFormGroupProps,
2796
- Tn as editorResolver,
2806
+ Fn as editorResolver,
2797
2807
  ue as formGroupPropsResolver,
2798
2808
  ce as formPropsResolver,
2799
2809
  ge as responseFormProps