@farris/ui-vue 1.2.5 → 1.2.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (261) hide show
  1. package/components/accordion/index.esm.js +147 -139
  2. package/components/accordion/index.umd.cjs +1 -1
  3. package/components/accordion/package.json +1 -1
  4. package/components/avatar/index.esm.js +122 -131
  5. package/components/avatar/index.umd.cjs +1 -1
  6. package/components/avatar/package.json +1 -1
  7. package/components/border-editor/package.json +1 -1
  8. package/components/button/package.json +1 -1
  9. package/components/button-edit/index.css +1 -0
  10. package/components/button-edit/package.json +1 -1
  11. package/components/button-group/package.json +1 -1
  12. package/components/calculator/package.json +1 -1
  13. package/components/calendar/package.json +1 -1
  14. package/components/capsule/package.json +1 -1
  15. package/components/checkbox/index.esm.js +216 -223
  16. package/components/checkbox/index.umd.cjs +1 -1
  17. package/components/checkbox/package.json +1 -1
  18. package/components/color-picker/package.json +1 -1
  19. package/components/combo-list/index.esm.js +201 -181
  20. package/components/combo-list/index.umd.cjs +1 -1
  21. package/components/combo-list/package.json +1 -1
  22. package/components/combo-tree/index.esm.js +340 -107
  23. package/components/combo-tree/index.umd.cjs +1 -1
  24. package/components/combo-tree/package.json +1 -1
  25. package/components/common/package.json +1 -1
  26. package/components/component/index.esm.js +36 -29
  27. package/components/component/index.umd.cjs +1 -1
  28. package/components/component/package.json +1 -1
  29. package/components/condition/index.esm.js +341 -338
  30. package/components/condition/index.umd.cjs +1 -1
  31. package/components/condition/package.json +1 -1
  32. package/components/content-container/index.esm.js +9 -13
  33. package/components/content-container/index.umd.cjs +1 -1
  34. package/components/content-container/package.json +1 -1
  35. package/components/{tree-grid/style.css → data-grid/index.css} +1 -1
  36. package/components/data-grid/index.esm.js +3415 -3295
  37. package/components/data-grid/index.umd.cjs +1 -1
  38. package/components/data-grid/package.json +1 -1
  39. package/components/data-view/index.esm.js +2719 -2717
  40. package/components/data-view/index.umd.cjs +1 -1
  41. package/components/data-view/package.json +1 -1
  42. package/components/date-picker/index.esm.js +31 -40
  43. package/components/date-picker/index.umd.cjs +1 -1
  44. package/components/date-picker/package.json +1 -1
  45. package/components/designer-canvas/index.esm.js +23 -20
  46. package/components/designer-canvas/index.umd.cjs +1 -1
  47. package/components/designer-canvas/package.json +1 -1
  48. package/components/designer-outline/package.json +1 -1
  49. package/components/designer-toolbox/package.json +1 -1
  50. package/components/discussion-editor/package.json +1 -1
  51. package/components/discussion-list/package.json +1 -1
  52. package/components/drawer/package.json +1 -1
  53. package/components/dropdown/index.esm.js +86 -86
  54. package/components/dropdown/index.umd.cjs +1 -1
  55. package/components/dropdown/package.json +1 -1
  56. package/components/dynamic-form/index.esm.js +578 -584
  57. package/components/dynamic-form/index.umd.cjs +1 -1
  58. package/components/dynamic-form/package.json +1 -1
  59. package/components/dynamic-resolver/index.esm.js +56 -47
  60. package/components/dynamic-resolver/index.umd.cjs +1 -1
  61. package/components/dynamic-resolver/package.json +1 -1
  62. package/components/dynamic-view/index.esm.js +287 -278
  63. package/components/dynamic-view/index.umd.cjs +1 -1
  64. package/components/dynamic-view/package.json +1 -1
  65. package/components/enum-editor/package.json +1 -1
  66. package/components/events-editor/package.json +1 -1
  67. package/components/expression-editor/package.json +1 -1
  68. package/components/external-container/index.css +1 -0
  69. package/components/external-container/index.esm.js +1923 -1908
  70. package/components/external-container/index.umd.cjs +1 -1
  71. package/components/external-container/package.json +1 -1
  72. package/components/field-selector/index.css +1 -0
  73. package/components/field-selector/index.esm.js +3719 -3604
  74. package/components/field-selector/index.umd.cjs +1 -1
  75. package/components/field-selector/package.json +1 -1
  76. package/components/filter-bar/{style.css → index.css} +1 -1
  77. package/components/filter-bar/index.esm.js +483 -470
  78. package/components/filter-bar/index.umd.cjs +1 -1
  79. package/components/filter-bar/package.json +1 -1
  80. package/components/flow-canvas/index.esm.js +37 -34
  81. package/components/flow-canvas/index.umd.cjs +1 -1
  82. package/components/flow-canvas/package.json +1 -1
  83. package/components/image-cropper/package.json +1 -1
  84. package/components/input-group/index.esm.js +258 -267
  85. package/components/input-group/index.umd.cjs +1 -1
  86. package/components/input-group/package.json +1 -1
  87. package/components/layout/package.json +1 -1
  88. package/components/list-nav/package.json +1 -1
  89. package/components/list-view/index.esm.js +1452 -1450
  90. package/components/list-view/index.umd.cjs +1 -1
  91. package/components/list-view/package.json +1 -1
  92. package/components/loading/package.json +1 -1
  93. package/components/locale/package.json +1 -1
  94. package/components/lookup/index.css +1 -0
  95. package/components/lookup/index.esm.js +4860 -4657
  96. package/components/lookup/index.umd.cjs +1 -1
  97. package/components/lookup/package.json +1 -1
  98. package/components/mapping-editor/index.css +1 -0
  99. package/components/mapping-editor/index.esm.js +4411 -4259
  100. package/components/mapping-editor/index.umd.cjs +1 -1
  101. package/components/mapping-editor/package.json +1 -1
  102. package/components/message-box/index.css +1 -0
  103. package/components/message-box/index.esm.js +397 -386
  104. package/components/message-box/index.umd.cjs +1 -1
  105. package/components/message-box/package.json +1 -1
  106. package/components/modal/index.css +1 -0
  107. package/components/modal/index.esm.js +308 -297
  108. package/components/modal/index.umd.cjs +1 -1
  109. package/components/modal/package.json +1 -1
  110. package/components/nav/package.json +1 -1
  111. package/components/notify/package.json +1 -1
  112. package/components/order/index.esm.js +763 -741
  113. package/components/order/index.umd.cjs +1 -1
  114. package/components/order/package.json +1 -1
  115. package/components/page-footer/package.json +1 -1
  116. package/components/page-header/index.esm.js +948 -945
  117. package/components/page-header/index.umd.cjs +1 -1
  118. package/components/page-header/package.json +1 -1
  119. package/components/pagination/package.json +1 -1
  120. package/components/popover/package.json +1 -1
  121. package/components/progress/package.json +1 -1
  122. package/components/property-editor/index.esm.js +485 -466
  123. package/components/property-editor/index.umd.cjs +2 -2
  124. package/components/property-editor/package.json +1 -1
  125. package/components/property-panel/index.esm.js +437 -426
  126. package/components/property-panel/index.umd.cjs +1 -1
  127. package/components/property-panel/package.json +1 -1
  128. package/components/radio-button/package.json +1 -1
  129. package/components/radio-group/index.esm.js +98 -107
  130. package/components/radio-group/index.umd.cjs +1 -1
  131. package/components/radio-group/package.json +1 -1
  132. package/components/rate/package.json +1 -1
  133. package/components/response-layout/package.json +1 -1
  134. package/components/response-layout-editor/{style.css → index.css} +1 -1
  135. package/components/response-layout-editor/index.esm.js +840 -800
  136. package/components/response-layout-editor/index.umd.cjs +1 -1
  137. package/components/response-layout-editor/package.json +1 -1
  138. package/components/response-toolbar/index.esm.js +757 -760
  139. package/components/response-toolbar/index.umd.cjs +1 -1
  140. package/components/response-toolbar/package.json +1 -1
  141. package/components/schema-selector/index.css +1 -0
  142. package/components/schema-selector/index.esm.js +3659 -3432
  143. package/components/schema-selector/index.umd.cjs +8 -1
  144. package/components/schema-selector/package.json +1 -1
  145. package/components/search-box/package.json +1 -1
  146. package/components/section/index.esm.js +21 -14
  147. package/components/section/index.umd.cjs +1 -1
  148. package/components/section/package.json +1 -1
  149. package/components/smoke-detector/package.json +1 -1
  150. package/components/spacing-editor/package.json +1 -1
  151. package/components/splitter/package.json +1 -1
  152. package/components/step/package.json +1 -1
  153. package/components/switch/index.esm.js +126 -135
  154. package/components/switch/index.umd.cjs +1 -1
  155. package/components/switch/package.json +1 -1
  156. package/components/tabs/index.css +1 -0
  157. package/components/tabs/index.esm.js +1400 -1379
  158. package/components/tabs/index.umd.cjs +1 -1
  159. package/components/tabs/package.json +1 -1
  160. package/components/tags/package.json +1 -1
  161. package/components/text/package.json +1 -1
  162. package/components/textarea/index.esm.js +97 -106
  163. package/components/textarea/index.umd.cjs +1 -1
  164. package/components/textarea/package.json +1 -1
  165. package/components/time-picker/index.css +1 -0
  166. package/components/time-picker/index.esm.js +393 -402
  167. package/components/time-picker/index.umd.cjs +1 -1
  168. package/components/time-picker/package.json +1 -1
  169. package/components/tooltip/package.json +1 -1
  170. package/components/transfer/index.esm.js +124 -122
  171. package/components/transfer/index.umd.cjs +1 -1
  172. package/components/transfer/package.json +1 -1
  173. package/components/{data-grid/style.css → tree-grid/index.css} +1 -1
  174. package/components/tree-grid/index.esm.js +3531 -3412
  175. package/components/tree-grid/index.umd.cjs +1 -1
  176. package/components/tree-grid/package.json +1 -1
  177. package/components/tree-view/index.esm.js +2046 -2044
  178. package/components/tree-view/index.umd.cjs +1 -1
  179. package/components/tree-view/package.json +1 -1
  180. package/components/uploader/package.json +1 -1
  181. package/components/verify-detail/package.json +1 -1
  182. package/components/video/package.json +1 -1
  183. package/components/weather/package.json +1 -1
  184. package/farris.all.esm.js +12370 -11917
  185. package/farris.all.umd.cjs +9 -9
  186. package/index.css +1 -0
  187. package/package.json +2 -2
  188. package/types/combo-list/src/components/list-container.component.d.ts +6 -0
  189. package/types/combo-list/src/components/list-container.props.d.ts +9 -1
  190. package/types/combo-tree/src/combo-tree.props.d.ts +4 -0
  191. package/types/combo-tree/src/components/tree-container.component.d.ts +13 -3
  192. package/types/combo-tree/src/components/tree-container.props.d.ts +15 -1
  193. package/types/combo-tree/src/schema/schema-mapper.d.ts +2 -0
  194. package/types/combo-tree/src/schema/schema-resolver.d.ts +2 -0
  195. package/types/components.d.ts +1 -0
  196. package/types/data-grid/index.d.ts +5 -5
  197. package/types/data-grid/src/data-grid.component.d.ts +2 -2
  198. package/types/data-grid/src/data-grid.props.d.ts +1 -0
  199. package/types/data-grid/src/designer/data-grid.design.component.d.ts +2 -2
  200. package/types/data-grid/src/property-config/data-grid.property-config.d.ts +1 -1
  201. package/types/designer-canvas/src/composition/dg-control.d.ts +8 -8
  202. package/types/designer-canvas/src/composition/types.d.ts +1 -0
  203. package/types/dynamic-form/src/types.d.ts +1 -1
  204. package/types/dynamic-resolver/index.d.ts +1 -0
  205. package/types/dynamic-resolver/src/converter/pagination.converter.d.ts +6 -0
  206. package/types/dynamic-resolver/src/visible-prop-resolver.d.ts +3 -0
  207. package/types/lookup/src/designer/use-lookup-rules.d.ts +3 -0
  208. package/types/lookup/src/property-config/converters/lookup-property.converter.d.ts +7 -3
  209. package/types/lookup/src/property-config/lookup.property-config.d.ts +31 -27
  210. package/types/mapping-editor/src/mapping-editor.props.d.ts +8 -0
  211. package/types/modal/src/modal.component.d.ts +3 -3
  212. package/types/modal/src/modal.props.d.ts +3 -5
  213. package/types/page-header/src/page-header.props.d.ts +7 -0
  214. package/types/page-header/src/property-config/page-header.property-config.d.ts +1 -1
  215. package/types/property-panel/src/composition/entity/base-property.d.ts +2 -16
  216. package/types/property-panel/src/composition/entity/input-base-property.d.ts +21 -0
  217. package/types/response-toolbar/index.d.ts +9 -3
  218. package/types/response-toolbar/src/property-config/response-toolbar-item.property-config.d.ts +1 -1
  219. package/types/response-toolbar/src/property-config/response-toolbar.property-config.d.ts +1 -1
  220. package/types/response-toolbar/src/response-toolbar.component.d.ts +4 -2
  221. package/types/response-toolbar/src/response-toolbar.props.d.ts +9 -2
  222. package/types/schema-selector/src/composition/types.d.ts +3 -1
  223. package/types/schema-selector/src/schema-selector-editor.component.d.ts +5 -1
  224. package/types/tabs/src/designer/tab-toolbar.design.component.d.ts +1 -1
  225. package/types/tabs/src/tabs.props.d.ts +8 -0
  226. package/components/button-edit/style.css +0 -1
  227. package/components/external-container/style.css +0 -1
  228. package/components/field-selector/style.css +0 -1
  229. package/components/lookup/style.css +0 -1
  230. package/components/mapping-editor/style.css +0 -1
  231. package/components/message-box/style.css +0 -1
  232. package/components/modal/style.css +0 -1
  233. package/components/schema-selector/style.css +0 -1
  234. package/components/tabs/style.css +0 -1
  235. package/components/time-picker/style.css +0 -1
  236. package/style.css +0 -1
  237. package/types/tabs/src/designer/tab-toolbar-item.props.d.ts +0 -19
  238. /package/components/border-editor/{style.css → index.css} +0 -0
  239. /package/components/checkbox/{style.css → index.css} +0 -0
  240. /package/components/date-picker/{style.css → index.css} +0 -0
  241. /package/components/designer-canvas/{style.css → index.css} +0 -0
  242. /package/components/designer-outline/{style.css → index.css} +0 -0
  243. /package/components/designer-toolbox/{style.css → index.css} +0 -0
  244. /package/components/discussion-editor/{style.css → index.css} +0 -0
  245. /package/components/discussion-list/{style.css → index.css} +0 -0
  246. /package/components/drawer/{style.css → index.css} +0 -0
  247. /package/components/events-editor/{style.css → index.css} +0 -0
  248. /package/components/flow-canvas/{style.css → index.css} +0 -0
  249. /package/components/list-view/{style.css → index.css} +0 -0
  250. /package/components/order/{style.css → index.css} +0 -0
  251. /package/components/property-editor/{style.css → index.css} +0 -0
  252. /package/components/property-panel/{style.css → index.css} +0 -0
  253. /package/components/radio-button/{style.css → index.css} +0 -0
  254. /package/components/radio-group/{style.css → index.css} +0 -0
  255. /package/components/smoke-detector/{style.css → index.css} +0 -0
  256. /package/components/spacing-editor/{style.css → index.css} +0 -0
  257. /package/components/splitter/{style.css → index.css} +0 -0
  258. /package/components/switch/{style.css → index.css} +0 -0
  259. /package/components/transfer/{style.css → index.css} +0 -0
  260. /package/components/uploader/{style.css → index.css} +0 -0
  261. /package/components/weather/{style.css → index.css} +0 -0
@@ -1,67 +1,69 @@
1
- var Oe = Object.defineProperty;
2
- var Ne = (e, t, n) => t in e ? Oe(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
- var j = (e, t, n) => Ne(e, typeof t != "symbol" ? t + "" : t, n);
4
- import { ref as C, computed as E, defineComponent as H, watch as R, createVNode as c, createTextVNode as ue, onMounted as q, nextTick as ae, reactive as Ae, withDirectives as Ve, resolveDirective as je, Fragment as Z, mergeProps as Re, inject as $e, onBeforeMount as Ge } from "vue";
5
- import { cloneDeep as We } from "lodash-es";
1
+ var Ne = Object.defineProperty;
2
+ var Ae = (e, t, n) => t in e ? Ne(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
+ var V = (e, t, n) => Ae(e, typeof t != "symbol" ? t + "" : t, n);
4
+ import { ref as C, computed as E, defineComponent as z, watch as R, createVNode as c, createTextVNode as ue, onMounted as H, nextTick as ae, reactive as Ve, withDirectives as je, resolveDirective as Re, Fragment as Z, mergeProps as $e, inject as Ge, getCurrentInstance as We, onBeforeMount as qe } from "vue";
5
+ import { cloneDeep as He } from "lodash-es";
6
6
  import "bignumber.js";
7
- import qe, { useNumber as He, useFormat as ze, useSpinner as Ue, useTextBox as Qe } from "@farris/ui-vue/components/number-spinner";
8
- import _e from "@farris/ui-vue/components/accordion";
9
- import Xe from "@farris/ui-vue/components/avatar";
10
- import Ze from "@farris/ui-vue/components/button-edit";
11
- import Je from "@farris/ui-vue/components/button-group";
12
- import Ye from "@farris/ui-vue/components/calendar";
13
- import Ke from "@farris/ui-vue/components/capsule";
14
- import et from "@farris/ui-vue/components/checkbox";
15
- import tt from "@farris/ui-vue/components/combo-list";
16
- import nt from "@farris/ui-vue/components/component";
17
- import ot from "@farris/ui-vue/components/color-picker";
18
- import rt from "@farris/ui-vue/components/content-container";
19
- import at from "@farris/ui-vue/components/date-picker";
20
- import it from "@farris/ui-vue/components/data-grid";
21
- import lt from "@farris/ui-vue/components/dropdown";
22
- import st from "@farris/ui-vue/components/dynamic-form";
23
- import ut from "@farris/ui-vue/components/events-editor";
24
- import ct from "@farris/ui-vue/components/filter-bar";
25
- import dt from "@farris/ui-vue/components/field-selector";
26
- import pt from "@farris/ui-vue/components/image-cropper";
27
- import mt from "@farris/ui-vue/components/input-group";
28
- import ft from "@farris/ui-vue/components/layout";
29
- import yt from "@farris/ui-vue/components/list-nav";
30
- import gt from "@farris/ui-vue/components/list-view";
31
- import vt from "@farris/ui-vue/components/lookup";
32
- import bt from "@farris/ui-vue/components/mapping-editor";
33
- import ht from "@farris/ui-vue/components/nav";
34
- import Ct from "@farris/ui-vue/components/number-range";
35
- import Ft from "@farris/ui-vue/components/order";
36
- import Tt from "@farris/ui-vue/components/page-header";
37
- import St from "@farris/ui-vue/components/page-footer";
38
- import Bt from "@farris/ui-vue/components/pagination";
39
- import wt from "@farris/ui-vue/components/progress";
40
- import Pt from "@farris/ui-vue/components/query-solution";
41
- import xt from "@farris/ui-vue/components/radio-group";
42
- import It from "@farris/ui-vue/components/rate";
43
- import Et from "@farris/ui-vue/components/response-toolbar";
44
- import kt from "@farris/ui-vue/components/response-layout";
45
- import Lt from "@farris/ui-vue/components/response-layout-editor";
46
- import Mt from "@farris/ui-vue/components/search-box";
47
- import Dt from "@farris/ui-vue/components/section";
48
- import Ot from "@farris/ui-vue/components/smoke-detector";
49
- import Nt from "@farris/ui-vue/components/splitter";
50
- import At from "@farris/ui-vue/components/step";
51
- import Vt from "@farris/ui-vue/components/switch";
52
- import jt from "@farris/ui-vue/components/tabs";
53
- import Rt from "@farris/ui-vue/components/tags";
54
- import $t from "@farris/ui-vue/components/text";
55
- import Gt from "@farris/ui-vue/components/time-picker";
56
- import Wt from "@farris/ui-vue/components/transfer";
57
- import qt from "@farris/ui-vue/components/tree-view";
58
- import Ht from "@farris/ui-vue/components/uploader";
59
- import zt from "@farris/ui-vue/components/verify-detail";
60
- import Ut from "@farris/ui-vue/components/weather";
61
- import Qt from "@farris/ui-vue/components/video";
62
- import _t from "@farris/ui-vue/components/textarea";
63
- import Xt from "@farris/ui-vue/components/schema-selector";
64
- const Zt = {
7
+ import ze, { useNumber as Ue, useFormat as Qe, useSpinner as _e, useTextBox as Xe } from "@farris/ui-vue/components/number-spinner";
8
+ import Ze from "@farris/ui-vue/components/accordion";
9
+ import Je from "@farris/ui-vue/components/avatar";
10
+ import Ye from "@farris/ui-vue/components/button-edit";
11
+ import Ke from "@farris/ui-vue/components/button-group";
12
+ import et from "@farris/ui-vue/components/calendar";
13
+ import tt from "@farris/ui-vue/components/capsule";
14
+ import nt from "@farris/ui-vue/components/checkbox";
15
+ import ot from "@farris/ui-vue/components/combo-list";
16
+ import rt from "@farris/ui-vue/components/combo-tree";
17
+ import at from "@farris/ui-vue/components/component";
18
+ import it from "@farris/ui-vue/components/color-picker";
19
+ import lt from "@farris/ui-vue/components/content-container";
20
+ import st from "@farris/ui-vue/components/date-picker";
21
+ import ut from "@farris/ui-vue/components/data-grid";
22
+ import ct from "@farris/ui-vue/components/dropdown";
23
+ import dt from "@farris/ui-vue/components/dynamic-form";
24
+ import pt from "@farris/ui-vue/components/events-editor";
25
+ import mt from "@farris/ui-vue/components/filter-bar";
26
+ import ft from "@farris/ui-vue/components/field-selector";
27
+ import gt from "@farris/ui-vue/components/image-cropper";
28
+ import yt from "@farris/ui-vue/components/input-group";
29
+ import vt from "@farris/ui-vue/components/layout";
30
+ import bt from "@farris/ui-vue/components/list-nav";
31
+ import ht from "@farris/ui-vue/components/list-view";
32
+ import Ct from "@farris/ui-vue/components/lookup";
33
+ import Ft from "@farris/ui-vue/components/mapping-editor";
34
+ import St from "@farris/ui-vue/components/nav";
35
+ import Tt from "@farris/ui-vue/components/number-range";
36
+ import wt from "@farris/ui-vue/components/order";
37
+ import Bt from "@farris/ui-vue/components/page-header";
38
+ import Pt from "@farris/ui-vue/components/page-footer";
39
+ import xt from "@farris/ui-vue/components/pagination";
40
+ import It from "@farris/ui-vue/components/progress";
41
+ import Et from "@farris/ui-vue/components/query-solution";
42
+ import kt from "@farris/ui-vue/components/radio-group";
43
+ import Lt from "@farris/ui-vue/components/rate";
44
+ import Mt from "@farris/ui-vue/components/response-toolbar";
45
+ import Dt from "@farris/ui-vue/components/response-layout";
46
+ import Ot from "@farris/ui-vue/components/response-layout-editor";
47
+ import Nt from "@farris/ui-vue/components/search-box";
48
+ import At from "@farris/ui-vue/components/section";
49
+ import Vt from "@farris/ui-vue/components/smoke-detector";
50
+ import jt from "@farris/ui-vue/components/splitter";
51
+ import Rt from "@farris/ui-vue/components/step";
52
+ import $t from "@farris/ui-vue/components/switch";
53
+ import Gt from "@farris/ui-vue/components/tabs";
54
+ import Wt from "@farris/ui-vue/components/tags";
55
+ import qt from "@farris/ui-vue/components/text";
56
+ import Ht from "@farris/ui-vue/components/time-picker";
57
+ import zt from "@farris/ui-vue/components/transfer";
58
+ import Ut from "@farris/ui-vue/components/tree-view";
59
+ import Qt from "@farris/ui-vue/components/uploader";
60
+ import _t from "@farris/ui-vue/components/verify-detail";
61
+ import Xt from "@farris/ui-vue/components/weather";
62
+ import Zt from "@farris/ui-vue/components/video";
63
+ import Jt from "@farris/ui-vue/components/textarea";
64
+ import Yt from "@farris/ui-vue/components/schema-selector";
65
+ import Kt from "@farris/ui-vue/components/tree-grid";
66
+ const en = {
65
67
  width: { type: String, default: "300px" },
66
68
  height: { type: Number, default: 10 },
67
69
  isWidePanel: { type: Boolean, default: !1 },
@@ -90,7 +92,7 @@ const Zt = {
90
92
  /** 属性变更后事件 */
91
93
  propertyChanged: { type: Function }
92
94
  };
93
- function Jt(e = {}) {
95
+ function tn(e = {}) {
94
96
  function t(o, u, l, a) {
95
97
  if (typeof l == "number")
96
98
  return a[o].length === l;
@@ -128,49 +130,49 @@ function Jt(e = {}) {
128
130
  return l.push(...i), l;
129
131
  }, []);
130
132
  }
131
- function y(o, u) {
133
+ function g(o, u) {
132
134
  if (r.has(o.operator)) {
133
135
  const l = r.get(o.operator);
134
136
  return l && l(o.target, o.param, o.value, u) || !1;
135
137
  }
136
138
  return !1;
137
139
  }
138
- function w(o, u) {
139
- return m(o).reduce((i, p) => i && y(p, u), !0);
140
+ function B(o, u) {
141
+ return m(o).reduce((i, p) => i && g(p, u), !0);
140
142
  }
141
143
  function d(o, u) {
142
- const l = Object.keys(o), a = l.includes("allOf"), i = l.includes("anyOf"), p = a || i, O = (p ? o[p ? a ? "allOf" : "anyOf" : "allOf"] : [o]).map((L) => w(L, u));
144
+ const l = Object.keys(o), a = l.includes("allOf"), i = l.includes("anyOf"), p = a || i, O = (p ? o[p ? a ? "allOf" : "anyOf" : "allOf"] : [o]).map((L) => B(L, u));
143
145
  return a ? !O.includes(!1) : O.includes(!0);
144
146
  }
145
147
  return { parseValueSchema: d };
146
148
  }
147
- const ce = {}, Yt = {};
149
+ const ce = {}, nn = {};
148
150
  function de(e) {
149
- const { properties: t, title: n } = e, r = Object.keys(t).reduce((s, m) => (s[m] = t[m].type === "object" && t[m].properties ? de(t[m]) : We(t[m].default), s), {});
151
+ const { properties: t, title: n } = e, r = Object.keys(t).reduce((s, m) => (s[m] = t[m].type === "object" && t[m].properties ? de(t[m]) : He(t[m].default), s), {});
150
152
  return r.id = `${n}-${Date.now()}`, r;
151
153
  }
152
154
  function pe(e, t) {
153
155
  const n = de(t);
154
156
  return Object.keys(e).reduce((r, s) => (r[s] = e[s], r), n), n;
155
157
  }
156
- function Kt(e, t) {
158
+ function on(e, t) {
157
159
  return Object.keys(e).filter((r) => e[r] != null).reduce((r, s) => {
158
160
  if (t.has(s)) {
159
161
  const m = t.get(s);
160
162
  if (typeof m == "string")
161
163
  r[m] = e[s];
162
164
  else {
163
- const y = m(s, e[s], e);
164
- Object.assign(r, y);
165
+ const g = m(s, e[s], e);
166
+ Object.assign(r, g);
165
167
  }
166
168
  } else
167
169
  r[s] = e[s];
168
170
  return r;
169
171
  }, {});
170
172
  }
171
- function en(e, t, n = /* @__PURE__ */ new Map()) {
173
+ function rn(e, t, n = /* @__PURE__ */ new Map()) {
172
174
  const r = pe(e, t);
173
- return Kt(r, n);
175
+ return on(r, n);
174
176
  }
175
177
  function me(e) {
176
178
  const t = e.type;
@@ -180,24 +182,24 @@ function me(e) {
180
182
  }
181
183
  return e;
182
184
  }
183
- const tn = {
185
+ const an = {
184
186
  convertTo: (e, t, n, r) => {
185
187
  e.appearance && (e.appearance[t] = n);
186
188
  },
187
189
  convertFrom: (e, t, n) => e.appearance ? e.appearance[t] : e[t]
188
- }, nn = {
190
+ }, ln = {
189
191
  convertFrom: (e, t, n) => e.buttons && e.buttons.length ? `共 ${e.buttons.length} 项` : "无"
190
- }, on = {
192
+ }, sn = {
191
193
  convertTo: (e, t, n, r) => {
192
194
  e.editor && (e.editor[t] = n);
193
195
  },
194
196
  convertFrom: (e, t, n) => e.editor && e.editor.hasOwnProperty(t) ? e.editor[t] : e[t]
195
- }, rn = {
197
+ }, un = {
196
198
  Button: { type: "Button", name: "按钮", icon: "Button" },
197
199
  ButtonGroup: { type: "ButtonGroup", name: "按钮组", icon: "ButtonGroup" },
198
- ToolBar: { type: "ToolBar", name: "工具栏", icon: "ButtonGroup" },
199
- ToolBarItem: { type: "ToolBarItem", name: "工具栏项", icon: "Button" },
200
- ContentContainer: { type: "ContentContainer", name: "容器", icon: "ContentContainer" },
200
+ "response-toolbar": { type: "response-toolbar", name: "工具栏", icon: "ButtonGroup" },
201
+ "response-toolbar-item": { type: "response-toolbar-item", name: "工具栏项", icon: "Button" },
202
+ "content-container": { type: "content-container", name: "容器", icon: "ContentContainer" },
201
203
  DisplayField: { type: "DisplayField", name: "标签", icon: "DisplayField" },
202
204
  "input-group": { type: "input-group", name: "文本", icon: "TextBox" },
203
205
  textarea: { type: "textarea", name: "多行文本", icon: "MultiTextBox" },
@@ -224,15 +226,15 @@ const tn = {
224
226
  "data-grid-column": { type: "data-grid-column", name: "表格列" },
225
227
  Panel: { type: "Panel", name: "面板", icon: "ContentContainer" },
226
228
  Module: { type: "Module", name: "模块", icon: "Module" },
227
- Component: { type: "Component", name: "组件", icon: "Component" },
229
+ component: { type: "component", name: "组件", icon: "Component" },
228
230
  ExternalContainer: { type: "ExternalContainer", name: "外部容器", icon: "ContentContainer" },
229
231
  Image: { type: "Image", name: "图像", icon: "Image" },
230
232
  ImageUpload: { type: "ImageUpload", name: "图片上传", icon: "imageupload" },
231
233
  HiddenContainer: { type: "HiddenContainer", name: "隐藏区域", icon: "ContentContainer" },
232
234
  ModalContainer: { type: "ModalContainer", name: "弹窗容器", icon: "ContentContainer" },
233
235
  RouteContainer: { type: "RouteContainer", name: "路由区域", icon: "ContentContainer" },
234
- Tab: { type: "Tab", name: "标签页", icon: "Tab" },
235
- TabPage: { type: "TabPage", name: "标签页项", dependentParentControl: "Tab" },
236
+ tabs: { type: "tabs", name: "标签页", icon: "Tab" },
237
+ "tab-page": { type: "tab-page", name: "标签页项", dependentParentControl: "Tab" },
236
238
  "tab-toolbar-item": { type: "tab-toolbar-item", name: "标签页工具栏按钮", icon: "Button" },
237
239
  Tag: { type: "Tag", name: "Tag", icon: "Tag" },
238
240
  Sidebar: { type: "Sidebar", name: "侧边栏", icon: "Sidebar" },
@@ -241,7 +243,7 @@ const tn = {
241
243
  RichTextBox: { type: "RichTextBox", name: "富文本", icon: "RichTextBox" },
242
244
  TimeSpinner: { type: "TimeSpinner", name: "时间调节器", icon: "TimePicker" },
243
245
  TimePicker: { type: "TimePicker", name: "时间选择", icon: "TimePicker" },
244
- Section: { type: "Section", name: "分组面板", icon: "Section" },
246
+ section: { type: "section", name: "分组面板", icon: "Section" },
245
247
  SectionToolbar: { type: "SectionToolbar", name: "分组面板工具栏" },
246
248
  SectionToolbarItem: { type: "SectionToolbarItem", name: "分组面板按钮" },
247
249
  QueryScheme: { type: "QueryScheme", name: "筛选方案", icon: "QueryScheme" },
@@ -271,7 +273,7 @@ const tn = {
271
273
  NavTab: { type: "NavTab", name: "标签类导航", icon: "NavTab" },
272
274
  Tags: { type: "Tags", name: "标记组", icon: "Tags" },
273
275
  Portlet: { type: "Portlet", name: "小部件", icon: "dingzhi" },
274
- Header: { type: "Header", name: "页头", icon: "Header" },
276
+ "page-header": { type: "page-header", name: "页头", icon: "Header" },
275
277
  ModalFooter: { type: "ModalFooter", name: "弹窗页脚", icon: "ModalFooter" },
276
278
  ScrollCollapsibleArea: { type: "ScrollCollapsibleArea", name: "滚动收折区域", icon: "ScrollCollapsibleArea" },
277
279
  PersonnelSelector: { type: "PersonnelSelector", name: "人员选择", icon: "PersonnelSelector" },
@@ -303,57 +305,62 @@ const tn = {
303
305
  ApprovalLogs: { type: "ApprovalLogs", name: "审批记录", icon: "ApprovalLogs" },
304
306
  ApprovalComments: { type: "ApprovalComments", name: "审批意见", icon: "shenpiyijian" }
305
307
  /** 审批类 end */
306
- }, an = {
308
+ }, cn = {
307
309
  convertFrom: (e, t, n) => {
308
310
  var s;
309
311
  const r = e.editor && e.editor[t] ? e.editor[t] : e[t];
310
- return ((s = rn[r]) == null ? void 0 : s.name) || r;
312
+ return ((s = un[r]) == null ? void 0 : s.name) || r;
311
313
  }
312
- }, ln = {
314
+ }, dn = {
313
315
  convertTo: (e, t, n, r) => {
314
316
  e[t] = e[t];
315
317
  },
316
318
  convertFrom: (e, t, n) => e.editor ? n.getRealEditorType(e.editor.type) : ""
317
- }, sn = {
318
- convertFrom: (e, t) => e.binding ? e.binding.type + ":" + e.binding.path : "",
319
+ }, pn = {
320
+ convertFrom: (e, t) => e.binding ? e.binding.path : "",
319
321
  convertTo: (e, t, n) => {
320
322
  if (n && n.length > 0) {
321
323
  const r = n[0];
322
- e.binding || (e.binding = {}), e.binding.type = "Form", e.binding.path = r.path, e.binding.field = r.refElementId, e.binding.fullPath = r.bindingPath;
324
+ e.binding || (e.binding = {}), e.binding.type = "Form", e.binding.path = r.bindingField, e.binding.field = r.id, e.binding.fullPath = r.path, e.path = r.bindingPath;
323
325
  }
324
326
  }
327
+ }, mn = {
328
+ convertTo: (e, t, n, r) => {
329
+ typeof e.pagination == "boolean" && (e.pagination = {}), e.pagination && (e.pagination[t] = n);
330
+ },
331
+ convertFrom: (e, t, n) => e.pagination ? e.pagination[t] : e[t]
325
332
  };
326
- class un {
333
+ class fn {
327
334
  constructor() {
328
335
  /** 控件标题 */
329
- j(this, "label", "");
336
+ V(this, "label", "");
330
337
  /** 控件id */
331
- j(this, "id", "");
338
+ V(this, "id", "");
332
339
  /** 每个控件占用的栅格数 */
333
- j(this, "columnInSM", 12);
334
- j(this, "columnInMD", 6);
335
- j(this, "columnInLG", 3);
336
- j(this, "columnInEL", 2);
340
+ V(this, "columnInSM", 12);
341
+ V(this, "columnInMD", 6);
342
+ V(this, "columnInLG", 3);
343
+ V(this, "columnInEL", 2);
337
344
  /** 每个控件占用的列数 */
338
- j(this, "displayWidthInSM", 1);
339
- j(this, "displayWidthInMD", 1);
340
- j(this, "displayWidthInLG", 1);
341
- j(this, "displayWidthInEL", 1);
345
+ V(this, "displayWidthInSM", 1);
346
+ V(this, "displayWidthInMD", 1);
347
+ V(this, "displayWidthInLG", 1);
348
+ V(this, "displayWidthInEL", 1);
342
349
  /** 编辑器内部默认显示的屏幕大小-----可以去掉 */
343
- j(this, "displayColumnCountAtBreakPoint", "md");
350
+ V(this, "displayColumnCountAtBreakPoint", "md");
344
351
  /** 控件所在行,传0即可-----编辑器内部使用 */
345
- j(this, "tagRow", 0);
352
+ V(this, "tagRow", 0);
346
353
  /** 控件是否显示上方空白:传0即可-----编辑器内部使用 */
347
- j(this, "showTopBorder", 0);
354
+ V(this, "showTopBorder", 0);
348
355
  /** 区域,从1开始。卡片内的控件从上往下,从左往右划分区域,遇到分组fieldSet时group+1,分组结束后group+1 */
349
- j(this, "group", 1);
356
+ V(this, "group", 1);
350
357
  /** 控件是否符合标准的class配置(设计器用的) */
351
- j(this, "isSupportedClass", !0);
358
+ V(this, "isSupportedClass", !0);
352
359
  /** 控件所在分组id(设计器用的) */
353
- j(this, "fieldSetId", "");
360
+ V(this, "fieldSetId", "");
354
361
  }
355
362
  }
356
- function cn() {
363
+ function gn() {
357
364
  let e, t;
358
365
  const n = /* @__PURE__ */ new Map();
359
366
  let r = [];
@@ -374,11 +381,11 @@ function cn() {
374
381
  return;
375
382
  }
376
383
  a && (u += 1, a = !1);
377
- const p = i.appearance && i.appearance.class, f = new un();
384
+ const p = i.appearance && i.appearance.class, f = new fn();
378
385
  p ? s(p, f) : f.isSupportedClass = !1, f.label = i.label || i.id, f.id = i.id, f.group = u, l && (f.fieldSetId = d.id), t === i.id && (e = u), n.set(i.id, i), o.push(f);
379
386
  });
380
387
  }
381
- function y(d, o, u, l) {
388
+ function g(d, o, u, l) {
382
389
  l = l || d.id;
383
390
  const a = u.closest(l, "content-container");
384
391
  if (!a)
@@ -397,7 +404,7 @@ function cn() {
397
404
  importData: r
398
405
  };
399
406
  }
400
- function w(d, o, u, l, a) {
407
+ function B(d, o, u, l, a) {
401
408
  a = a || d.id;
402
409
  const i = l.closest(a, "response-form");
403
410
  if (!i)
@@ -418,31 +425,32 @@ function cn() {
418
425
  }), i.contents = p, i.id;
419
426
  }
420
427
  return {
421
- convertFrom: y,
422
- convertTo: w
428
+ convertFrom: g,
429
+ convertTo: B
423
430
  };
424
431
  }
425
- const ie = cn(), dn = {
432
+ const ie = gn(), yn = {
426
433
  convertTo: (e, t, n, r, s) => ie.convertTo(e, t, n, r, s),
427
434
  convertFrom: (e, t, n, r) => ie.convertFrom(e, t, n, r)
428
- }, pn = {
435
+ }, vn = {
429
436
  convertFrom: (e, t, n) => e[t] && e[t].length ? `共 ${e[t].length} 项` : ""
430
- }, mn = {
437
+ }, bn = {
431
438
  convertFrom: (e, t) => e[t] || "",
432
439
  convertTo: (e, t, n) => {
433
440
  e[t] = n;
434
441
  }
435
442
  }, ne = {}, te = /* @__PURE__ */ new Map([
436
- ["/converter/appearance.converter", tn],
437
- ["/converter/buttons.converter", nn],
438
- ["/converter/property-editor.converter", on],
439
- ["/converter/response-form-layout.converter", dn],
440
- ["/converter/items-count.converter", pn],
441
- ["/converter/type.converter", an],
442
- ["/converter/change-editor.converter", ln],
443
- ["/converter/form-group-label.converter", mn],
444
- ["/converter/field-selector.converter", sn]
445
- ]), fn = {}, yn = /* @__PURE__ */ new Map([
443
+ ["/converter/appearance.converter", an],
444
+ ["/converter/buttons.converter", ln],
445
+ ["/converter/property-editor.converter", sn],
446
+ ["/converter/response-form-layout.converter", yn],
447
+ ["/converter/items-count.converter", vn],
448
+ ["/converter/type.converter", cn],
449
+ ["/converter/change-editor.converter", dn],
450
+ ["/converter/form-group-label.converter", bn],
451
+ ["/converter/field-selector.converter", pn],
452
+ ["/converter/pagination.converter", mn]
453
+ ]), hn = {}, Cn = /* @__PURE__ */ new Map([
446
454
  ["string", { type: "input-group", enableClear: !1 }],
447
455
  ["boolean", {
448
456
  type: "combo-list",
@@ -464,24 +472,24 @@ const ie = cn(), dn = {
464
472
  ["array", { type: "button-edit" }],
465
473
  ["number", { type: "number-spinner" }],
466
474
  ["events-editor", { type: "events-editor", hide: !0 }]
467
- ]), gn = Jt();
475
+ ]), Fn = tn();
468
476
  function fe(e, t) {
469
- return () => gn.parseValueSchema(e, t);
477
+ return () => Fn.parseValueSchema(e, t);
470
478
  }
471
- function vn(e, t, n) {
479
+ function Sn(e, t, n) {
472
480
  return e.includes("visible") && t.visible !== void 0 ? typeof t.visible == "boolean" ? () => !!t.visible : t.visible === void 0 ? !0 : fe(t.visible, n) : () => !0;
473
481
  }
474
- function bn(e, t, n) {
482
+ function Tn(e, t, n) {
475
483
  return e.includes("readonly") && t.readonly !== void 0 ? typeof t.visible == "boolean" ? () => !!t.visible : fe(t.readonly, n) : () => !1;
476
484
  }
477
- function hn(e, t) {
485
+ function wn(e, t) {
478
486
  const n = e.$converter || t;
479
487
  return typeof n == "string" && n && te.has(n) ? te.get(n) || null : n || null;
480
488
  }
481
- function oe(e, t, n, r, s, m = "", y = "") {
489
+ function oe(e, t, n, r, s, m = "", g = "") {
482
490
  return Object.keys(e).map((d) => {
483
- const o = C(1), u = d, l = e[d], a = Object.keys(l), i = l.title, p = l.type, f = yn.get(p) || { type: "input-group", enableClear: !1 }, F = l.editor ? Object.assign({}, f, l.editor) : f, O = vn(a, l, t), A = bn(a, l, t), L = l.type === "cascade" ? oe(l.properties, t, n, r, s, m, y) : [], I = !0;
484
- let k = hn(l, y);
491
+ const o = C(1), u = d, l = e[d], a = Object.keys(l), i = l.title, p = l.type, f = Cn.get(p) || { type: "input-group", enableClear: !1 }, F = l.editor ? Object.assign({}, f, l.editor) : f, O = Sn(a, l, t), A = Tn(a, l, t), L = l.type === "cascade" ? oe(l.properties, t, n, r, s, m, g) : [], I = !0;
492
+ let k = wn(l, g);
485
493
  const M = E({
486
494
  get() {
487
495
  if (o.value) {
@@ -499,14 +507,14 @@ function oe(e, t, n, r, s, m = "", y = "") {
499
507
  return t[u] = $, $;
500
508
  });
501
509
  }
502
- function Cn(e, t, n, r, s = "") {
503
- const m = t.$ref.schema, y = t.$ref.converter, w = n[m], d = w.type, o = me(w), u = {}, l = ne[d];
510
+ function Bn(e, t, n, r, s = "") {
511
+ const m = t.$ref.schema, g = t.$ref.converter, B = n[m], d = B.type, o = me(B), u = {}, l = ne[d];
504
512
  if (l && l.categories) {
505
513
  const a = l.categories[e], i = a == null ? void 0 : a.title;
506
- y && Object.keys(a.properties).forEach((F) => {
507
- a.properties[F].$converter = y;
514
+ g && Object.keys(a.properties).forEach((F) => {
515
+ a.properties[F].$converter = g;
508
516
  });
509
- const p = (a == null ? void 0 : a.properties) || {}, f = oe(p, u, o, w, r, s);
517
+ const p = (a == null ? void 0 : a.properties) || {}, f = oe(p, u, o, B, r, s);
510
518
  return { categoryId: e, categoryName: i, properties: f };
511
519
  }
512
520
  return { categoryId: e, categoryName: "", properties: [] };
@@ -514,7 +522,7 @@ function Cn(e, t, n, r, s = "") {
514
522
  function ee(e, t, n, r, s) {
515
523
  var o;
516
524
  let m = e.type;
517
- const y = me(e), w = {};
525
+ const g = me(e), B = {};
518
526
  ((o = e.editor) == null ? void 0 : o.type) === "lookup" && (m = "lookup"), m === "lookup" && n.elementRef.editorRef && (n = n.elementRef.editorRef);
519
527
  let d = s || ne[m];
520
528
  if (Object.keys(d).length === 0 && n && n.getPropConfig && (d = n.getPropConfig(r)), d && d.categories) {
@@ -522,16 +530,16 @@ function ee(e, t, n, r, s) {
522
530
  return Object.keys(d.categories).map((l) => {
523
531
  const a = d.categories[l];
524
532
  if (a.$ref) {
525
- u.push(Cn(l, a, e, t, r));
533
+ u.push(Bn(l, a, e, t, r));
526
534
  return;
527
535
  }
528
- const i = a == null ? void 0 : a.title, p = a == null ? void 0 : a.tabId, f = a == null ? void 0 : a.tabName, F = a == null ? void 0 : a.hide, O = a == null ? void 0 : a.hideTitle, A = oe(a.properties || {}, w, y, e, t, r, a.$converter), L = a.setPropertyRelates;
536
+ const i = a == null ? void 0 : a.title, p = a == null ? void 0 : a.tabId, f = a == null ? void 0 : a.tabName, F = a == null ? void 0 : a.hide, O = a == null ? void 0 : a.hideTitle, A = oe(a.properties || {}, B, g, e, t, r, a.$converter), L = a.setPropertyRelates;
529
537
  u.push({ categoryId: l, categoryName: i, tabId: p, tabName: f, hide: F, properties: A, hideTitle: O, setPropertyRelates: L });
530
538
  }), u;
531
539
  }
532
540
  return [];
533
541
  }
534
- const Fn = {
542
+ const Pn = {
535
543
  /** 某一分类下的属性配置 */
536
544
  // as PropType<ElementPropertyConfig>
537
545
  category: { type: Object, default: {} },
@@ -540,22 +548,22 @@ const Fn = {
540
548
  propertyData: { type: Object, default: {} },
541
549
  valueChanged: { type: Function },
542
550
  triggerRefreshPanel: { type: Function }
543
- }, Tn = {
551
+ }, xn = {
544
552
  elementConfig: { type: Object, default: {} },
545
553
  category: { type: Object, default: {} }
546
554
  };
547
- function ye(e, t, n = /* @__PURE__ */ new Map(), r = (y, w, d) => w, s = {}, m = (y) => y) {
548
- return ce[t.title] = t, Yt[t.title] = r, ne[t.title] = s, fn[t.title] = m, (y = {}) => {
549
- const w = en(y, t, n), d = Object.keys(e).reduce((o, u) => (o[u] = e[u].default, o), {});
550
- return Object.assign(d, w);
555
+ function ge(e, t, n = /* @__PURE__ */ new Map(), r = (g, B, d) => B, s = {}, m = (g) => g) {
556
+ return ce[t.title] = t, nn[t.title] = r, ne[t.title] = s, hn[t.title] = m, (g = {}) => {
557
+ const B = rn(g, t, n), d = Object.keys(e).reduce((o, u) => (o[u] = e[u].default, o), {});
558
+ return Object.assign(d, B);
551
559
  };
552
560
  }
553
- function ge(e, t) {
561
+ function ye(e, t) {
554
562
  return { customClass: t.class, customStyle: t.style };
555
563
  }
556
- const Sn = /* @__PURE__ */ new Map([
557
- ["appearance", ge]
558
- ]), Bn = "https://json-schema.org/draft/2020-12/schema", wn = "https://farris-design.gitee.io/form-group.schema.json", Pn = "form-group", xn = "A Farris Input Component", In = "object", En = {
564
+ const In = /* @__PURE__ */ new Map([
565
+ ["appearance", ye]
566
+ ]), En = "https://json-schema.org/draft/2020-12/schema", kn = "https://farris-design.gitee.io/form-group.schema.json", Ln = "form-group", Mn = "A Farris Input Component", Dn = "object", On = {
559
567
  id: {
560
568
  description: "The unique identifier for a form group",
561
569
  type: "string"
@@ -596,17 +604,17 @@ const Sn = /* @__PURE__ */ new Map([
596
604
  description: "",
597
605
  type: "number"
598
606
  }
599
- }, kn = [
607
+ }, Nn = [
600
608
  "id",
601
609
  "type"
602
- ], Ln = {
603
- $schema: Bn,
604
- $id: wn,
605
- title: Pn,
606
- description: xn,
607
- type: In,
608
- properties: En,
609
- required: kn
610
+ ], An = {
611
+ $schema: En,
612
+ $id: kn,
613
+ title: Ln,
614
+ description: Mn,
615
+ type: Dn,
616
+ properties: On,
617
+ required: Nn
610
618
  }, ve = {
611
619
  id: { type: String, default: "" },
612
620
  customClass: { type: String, default: "" },
@@ -621,27 +629,27 @@ const Sn = /* @__PURE__ */ new Map([
621
629
  showLabel: { type: Boolean, default: !0 },
622
630
  type: { type: String, default: "input-group" }
623
631
  };
624
- ye(
632
+ ge(
625
633
  ve,
626
- Ln,
627
- Sn,
634
+ An,
635
+ In,
628
636
  void 0
629
637
  );
630
- const Mn = {
638
+ const Vn = {
631
639
  id: { type: String },
632
640
  required: { type: Boolean, default: !1 },
633
641
  text: { type: String, default: "" },
634
642
  title: { type: String }
635
- }, Dn = /* @__PURE__ */ H({
643
+ }, jn = /* @__PURE__ */ z({
636
644
  name: "FDynamicFormLabel",
637
- props: Mn,
645
+ props: Vn,
638
646
  emits: [],
639
647
  setup(e, t) {
640
648
  const n = C(e.title || e.text), r = C(e.required), s = C(e.text);
641
649
  return R(() => e.text, () => {
642
650
  s.value = e.text;
643
- }), R(() => e.required, (m, y) => {
644
- m !== y && (r.value = m);
651
+ }), R(() => e.required, (m, g) => {
652
+ m !== g && (r.value = m);
645
653
  }), () => c("label", {
646
654
  class: "col-form-label",
647
655
  title: n.value
@@ -651,13 +659,13 @@ const Mn = {
651
659
  class: "farris-label-text"
652
660
  }, [s.value])]);
653
661
  }
654
- }), On = /* @__PURE__ */ new Map([
655
- ["appearance", ge]
662
+ }), Rn = /* @__PURE__ */ new Map([
663
+ ["appearance", ye]
656
664
  ]);
657
- function Nn(e, t, n) {
665
+ function $n(e, t, n) {
658
666
  return t;
659
667
  }
660
- const An = "https://json-schema.org/draft/2020-12/schema", Vn = "https://farris-design.gitee.io/input-group.schema.json", jn = "input-group", Rn = "A Farris Input Component", $n = "object", Gn = {
668
+ const Gn = "https://json-schema.org/draft/2020-12/schema", Wn = "https://farris-design.gitee.io/input-group.schema.json", qn = "input-group", Hn = "A Farris Input Component", zn = "object", Un = {
661
669
  id: {
662
670
  description: "The unique identifier for a Input Group",
663
671
  type: "string"
@@ -859,17 +867,17 @@ const An = "https://json-schema.org/draft/2020-12/schema", Vn = "https://farris-
859
867
  type: "string",
860
868
  default: ""
861
869
  }
862
- }, Wn = [
870
+ }, Qn = [
863
871
  "id",
864
872
  "type"
865
- ], qn = {
866
- $schema: An,
867
- $id: Vn,
868
- title: jn,
869
- description: Rn,
870
- type: $n,
871
- properties: Gn,
872
- required: Wn
873
+ ], _n = {
874
+ $schema: Gn,
875
+ $id: Wn,
876
+ title: qn,
877
+ description: Hn,
878
+ type: zn,
879
+ properties: Un,
880
+ required: Qn
873
881
  }, be = {
874
882
  /** 是否自动完成 */
875
883
  autocomplete: { Type: String, default: "off" },
@@ -937,9 +945,9 @@ const An = "https://json-schema.org/draft/2020-12/schema", Vn = "https://farris-
937
945
  */
938
946
  updateOn: { type: String, default: "blur" }
939
947
  };
940
- ye(be, qn, On, Nn);
941
- function Hn(e, t, n, r) {
942
- const s = C(e.disabled), m = C(!1), y = C("text"), w = C(e.showBorder), d = C(e.textAlign), o = C(e.updateOn), u = E(() => e.editable || !e.readonly), l = E(() => e.editable && !e.disabled && !e.readonly), a = E(() => !e.disabled && m.value), i = E(() => n.value === "" || n.value === null || n.value === void 0), p = E(() => (e.disabled || e.readonly) && !e.forcePlaceholder ? "" : e.placeholder), f = E(() => e.readonly || !e.editable), F = E(() => e.enableTitle ? n.value : ""), O = E(() => ({
948
+ ge(be, _n, Rn, $n);
949
+ function Xn(e, t, n, r) {
950
+ const s = C(e.disabled), m = C(!1), g = C("text"), B = C(e.showBorder), d = C(e.textAlign), o = C(e.updateOn), u = E(() => e.editable || !e.readonly), l = E(() => e.editable && !e.disabled && !e.readonly), a = E(() => !e.disabled && m.value), i = E(() => n.value === "" || n.value === null || n.value === void 0), p = E(() => (e.disabled || e.readonly) && !e.forcePlaceholder ? "" : e.placeholder), f = E(() => e.readonly || !e.editable), F = E(() => e.enableTitle ? n.value : ""), O = E(() => ({
943
951
  "form-control": !0,
944
952
  "f-utils-fill": !0,
945
953
  "text-left": d.value === "left",
@@ -954,18 +962,18 @@ function Hn(e, t, n, r) {
954
962
  "f-state-readonly": f.value,
955
963
  "f-state-focus": a.value
956
964
  };
957
- return (e.customClass || "").split(" ").reduce((_, J) => (_[J] = !0, _), x), x;
958
- }), L = E(() => w.value ? "" : "border-width : 0 ");
959
- function I(x, V = !0) {
960
- n.value = x, r.value !== x && (r.value = x), V && t.emit("change", x), t.emit("update:modelValue", x), t.emit("update:value", x);
965
+ return (e.customClass || "").split(" ").reduce((q, J) => (q[J] = !0, q), x), x;
966
+ }), L = E(() => B.value ? "" : "border-width : 0 ");
967
+ function I(x, j = !0) {
968
+ n.value = x, r.value !== x && (r.value = x), j && t.emit("change", x), t.emit("update:modelValue", x), t.emit("update:value", x);
961
969
  }
962
970
  R(
963
971
  () => e.modelValue,
964
- (x, V) => {
965
- x !== V && (n.value = x, r.value = x);
972
+ (x, j) => {
973
+ x !== j && (n.value = x, r.value = x);
966
974
  }
967
- ), R(() => e.disabled, (x, V) => {
968
- x !== V && (s.value = x);
975
+ ), R(() => e.disabled, (x, j) => {
976
+ x !== j && (s.value = x);
969
977
  });
970
978
  function k(x) {
971
979
  return m.value = !1, t.emit("blur", x), x.stopPropagation(), !1;
@@ -974,12 +982,12 @@ function Hn(e, t, n, r) {
974
982
  t.emit("click", x);
975
983
  }
976
984
  function P(x) {
977
- e.disabled || (w.value && (m.value = !0), u.value && t.emit("focus", x));
985
+ e.disabled || (B.value && (m.value = !0), u.value && t.emit("focus", x));
978
986
  }
979
987
  function $(x) {
980
988
  t.emit("input", x.target.value);
981
- const V = x.target.value;
982
- r.value = V, o.value === "input" && (t.emit("update:modelValue", V), t.emit("update:value", V));
989
+ const j = x.target.value;
990
+ r.value = j, o.value === "input" && (t.emit("update:modelValue", j), t.emit("update:value", j));
983
991
  }
984
992
  function N(x) {
985
993
  t.emit("keydown", x);
@@ -987,13 +995,13 @@ function Hn(e, t, n, r) {
987
995
  function G(x) {
988
996
  t.emit("keyup", x);
989
997
  }
990
- function z(x) {
998
+ function U(x) {
991
999
  x.target.tagName !== "INPUT" && x.preventDefault(), x.stopPropagation();
992
1000
  }
993
- function U(x) {
1001
+ function Q(x) {
994
1002
  if (o.value === "blur") {
995
- const V = x.target.value;
996
- x.stopPropagation(), I(V);
1003
+ const j = x.target.value;
1004
+ x.stopPropagation(), I(j);
997
1005
  }
998
1006
  }
999
1007
  return {
@@ -1003,7 +1011,7 @@ function Hn(e, t, n, r) {
1003
1011
  editable: l,
1004
1012
  hasFocused: a,
1005
1013
  inputGroupClass: A,
1006
- inputType: y,
1014
+ inputType: g,
1007
1015
  isEmpty: i,
1008
1016
  modelValue: n,
1009
1017
  readonly: f,
@@ -1013,21 +1021,21 @@ function Hn(e, t, n, r) {
1013
1021
  onInput: $,
1014
1022
  onKeydown: N,
1015
1023
  onKeyup: G,
1016
- onMousedown: z,
1017
- onTextBoxValueChange: U,
1024
+ onMousedown: U,
1025
+ onTextBoxValueChange: Q,
1018
1026
  placeholder: p,
1019
1027
  textBoxClass: O,
1020
1028
  textBoxTitle: F,
1021
1029
  inputGroupStyle: L
1022
1030
  };
1023
1031
  }
1024
- function zn(e, t, n) {
1025
- const r = C(!1), s = E(() => e.enableClear && !e.readonly && !e.disabled), { changeTextBoxValue: m, displayText: y, hasFocused: w, isEmpty: d } = n;
1032
+ function Zn(e, t, n) {
1033
+ const r = C(!1), s = E(() => e.enableClear && !e.readonly && !e.disabled), { changeTextBoxValue: m, displayText: g, hasFocused: B, isEmpty: d } = n;
1026
1034
  function o(f) {
1027
1035
  r.value = f;
1028
1036
  }
1029
- R(y, () => {
1030
- w != null && w.value ? o(!!(y != null && y.value)) : o(!1);
1037
+ R(g, () => {
1038
+ B != null && B.value ? o(!!(g != null && g.value)) : o(!1);
1031
1039
  });
1032
1040
  const u = E(() => ({
1033
1041
  "input-group-text": !0,
@@ -1047,8 +1055,8 @@ function zn(e, t, n) {
1047
1055
  }
1048
1056
  return { clearButtonClass: u, clearButtonStyle: l, hasShownClearButton: r, onClearValue: a, onMouseEnter: i, onMouseLeave: p, shouldShowClearButton: s };
1049
1057
  }
1050
- const Un = ["moz", "ms", "webkit"];
1051
- function Qn() {
1058
+ const Jn = ["moz", "ms", "webkit"];
1059
+ function Yn() {
1052
1060
  let e = 0;
1053
1061
  return (t) => {
1054
1062
  const n = (/* @__PURE__ */ new Date()).getTime(), r = Math.max(0, 16 - (n - e)), s = setTimeout(() => {
@@ -1057,41 +1065,41 @@ function Qn() {
1057
1065
  return e = n + r, s;
1058
1066
  };
1059
1067
  }
1060
- function _n() {
1068
+ function Kn() {
1061
1069
  if (typeof window > "u")
1062
1070
  return () => 0;
1063
1071
  if (window.requestAnimationFrame)
1064
1072
  return window.requestAnimationFrame.bind(window);
1065
- const e = Un.filter((t) => `${t}RequestAnimationFrame` in window)[0];
1066
- return e ? window[`${e}RequestAnimationFrame`] : Qn();
1073
+ const e = Jn.filter((t) => `${t}RequestAnimationFrame` in window)[0];
1074
+ return e ? window[`${e}RequestAnimationFrame`] : Yn();
1067
1075
  }
1068
- _n();
1069
- function Xn(e, t) {
1076
+ Kn();
1077
+ function eo(e, t) {
1070
1078
  const n = C(e.groupText), r = E(() => e.showButtonWhenDisabled && (e.readonly || e.disabled)), s = E(() => e.enableClear || !!e.groupText);
1071
1079
  return { appendedButtonClass: E(() => ({
1072
1080
  "input-group-append": !0,
1073
1081
  "append-force-show": r.value
1074
1082
  })), appendedContent: n, shouldShowAppendedButton: s };
1075
1083
  }
1076
- function Zn(e, t, n, r) {
1077
- const { appendedContent: s } = r, m = C(e.enableViewPassword), y = E(() => e.type === "password"), w = '<span class="f-icon f-icon-eye" style="color: rgb(56, 143, 255);"></span>', d = '<span class="f-icon f-icon-eye"></span>', o = C(!1);
1084
+ function to(e, t, n, r) {
1085
+ const { appendedContent: s } = r, m = C(e.enableViewPassword), g = E(() => e.type === "password"), B = '<span class="f-icon f-icon-eye" style="color: rgb(56, 143, 255);"></span>', d = '<span class="f-icon f-icon-eye"></span>', o = C(!1);
1078
1086
  R(() => [e.readonly, e.disabled], ([a, i]) => {
1079
- y.value && (n.value = a || i ? "password" : n.value, s.value = a || i ? d : s.value);
1087
+ g.value && (n.value = a || i ? "password" : n.value, s.value = a || i ? d : s.value);
1080
1088
  });
1081
1089
  function u() {
1082
- return o.value = !o.value, n.value = o.value ? "text" : "password", s.value = o.value ? w : d, !1;
1090
+ return o.value = !o.value, n.value = o.value ? "text" : "password", s.value = o.value ? B : d, !1;
1083
1091
  }
1084
1092
  function l() {
1085
- n.value = y.value ? "password" : "text", s.value = y.value ? m.value ? d : "" : s.value;
1093
+ n.value = g.value ? "password" : "text", s.value = g.value ? m.value ? d : "" : s.value;
1086
1094
  }
1087
- return l(), { isPassword: y, onClickAppendedButton: u };
1095
+ return l(), { isPassword: g, onClickAppendedButton: u };
1088
1096
  }
1089
- function Jn(e, t, n) {
1097
+ function no(e, t, n) {
1090
1098
  const r = C(), {
1091
1099
  onBlurTextBox: s,
1092
1100
  onFocusTextBox: m,
1093
- onInput: y,
1094
- onKeyDown: w,
1101
+ onInput: g,
1102
+ onKeyDown: B,
1095
1103
  textBoxValue: d
1096
1104
  } = n, o = E(() => e.disabled || e.readonly || !e.editable ? "" : e.placeholder), u = E(() => ({
1097
1105
  "form-control": !0,
@@ -1108,7 +1116,7 @@ function Jn(e, t, n) {
1108
1116
  async function p(f) {
1109
1117
  m(f), await ae, i();
1110
1118
  }
1111
- return q(async () => {
1119
+ return H(async () => {
1112
1120
  await ae, i();
1113
1121
  }), () => c("input", {
1114
1122
  ref: r,
@@ -1122,17 +1130,17 @@ function Jn(e, t, n) {
1122
1130
  onBlur: s,
1123
1131
  onChange: a,
1124
1132
  onFocus: p,
1125
- onInput: y,
1126
- onKeydown: w
1133
+ onInput: g,
1134
+ onKeydown: B
1127
1135
  }, null);
1128
1136
  }
1129
- function Yn(e, t, n) {
1137
+ function oo(e, t, n) {
1130
1138
  const {
1131
1139
  canDownward: r,
1132
1140
  canUpward: s,
1133
1141
  onClickDownButton: m,
1134
- onClickUpButton: y
1135
- } = n, w = E(() => ({
1142
+ onClickUpButton: g
1143
+ } = n, B = E(() => ({
1136
1144
  "input-group-append": !0,
1137
1145
  "btn-group": !0,
1138
1146
  "btn-group-number": !0
@@ -1148,12 +1156,12 @@ function Yn(e, t, n) {
1148
1156
  "margin-left": 0
1149
1157
  }));
1150
1158
  return () => c("div", {
1151
- class: w.value
1159
+ class: B.value
1152
1160
  }, [c("button", {
1153
1161
  title: "upButton",
1154
1162
  class: d.value,
1155
1163
  style: o.value,
1156
- onClick: y,
1164
+ onClick: g,
1157
1165
  disabled: !s()
1158
1166
  }, [c("span", {
1159
1167
  class: "f-icon f-icon-arrow-chevron-up number-arrow-chevron"
@@ -1167,33 +1175,33 @@ function Yn(e, t, n) {
1167
1175
  class: "f-icon f-icon-arrow-chevron-down number-arrow-chevron"
1168
1176
  }, null)])]);
1169
1177
  }
1170
- function Kn(e, t) {
1171
- const n = He(e, t), r = ze(e, t, n), s = Ue(e, t, r, n), m = Qe(e, t, r, n, s), y = Yn(e, t, s), {
1172
- displayValue: w,
1178
+ function ro(e, t) {
1179
+ const n = Ue(e, t), r = Qe(e, t, n), s = _e(e, t, r, n), m = Xe(e, t, r, n, s), g = oo(e, t, s), {
1180
+ displayValue: B,
1173
1181
  modelValue: d,
1174
1182
  getRealValue: o
1175
- } = n, u = Jn(e, t, m), {
1183
+ } = n, u = no(e, t, m), {
1176
1184
  format: l
1177
1185
  } = r, {
1178
1186
  isFocus: a
1179
1187
  } = m, i = E(() => !e.disabled && !e.readonly);
1180
- return q(() => {
1188
+ return H(() => {
1181
1189
  const p = o(e.modelValue);
1182
- w.value = l(p);
1190
+ B.value = l(p);
1183
1191
  }), R(() => [e.value], ([p]) => {
1184
1192
  const f = o(p);
1185
- d.value = f, w.value = l(f);
1193
+ d.value = f, B.value = l(f);
1186
1194
  }), R(() => [e.modelValue], ([p]) => {
1187
- p !== d.value && (d.value = p, !a.value && (w.value = l(o(p))));
1195
+ p !== d.value && (d.value = p, !a.value && (B.value = l(o(p))));
1188
1196
  }), R(() => [e.precision, e.useThousands, e.prefix, e.suffix, e.showZero], () => {
1189
- w.value = l(d.value);
1197
+ B.value = l(d.value);
1190
1198
  }), () => c("div", {
1191
1199
  class: "input-group f-state-hover flex-row f-cmp-number-spinner"
1192
- }, [u(), i.value && y()]);
1200
+ }, [u(), i.value && g()]);
1193
1201
  }
1194
- function eo(e, t, n, r) {
1195
- const s = C(), m = C(e.autocomplete), y = C(e.enableTitle), {
1196
- isPassword: w
1202
+ function ao(e, t, n, r) {
1203
+ const s = C(), m = C(e.autocomplete), g = C(e.enableTitle), {
1204
+ isPassword: B
1197
1205
  } = n, d = C(e.minLength), o = C(e.maxLength), u = C(e.tabIndex), {
1198
1206
  disabled: l,
1199
1207
  displayText: a,
@@ -1211,7 +1219,7 @@ function eo(e, t, n, r) {
1211
1219
  textBoxClass: $,
1212
1220
  textBoxTitle: N
1213
1221
  } = r;
1214
- return q(() => {
1222
+ return H(() => {
1215
1223
  e.selectOnCreated, e.focusOnCreated;
1216
1224
  }), () => c("input", {
1217
1225
  ref: s,
@@ -1224,7 +1232,7 @@ function eo(e, t, n, r) {
1224
1232
  placeholder: P.value,
1225
1233
  readonly: M == null ? void 0 : M.value,
1226
1234
  tabindex: u.value,
1227
- title: y.value && !w.value ? N.value : "",
1235
+ title: g.value && !B.value ? N.value : "",
1228
1236
  type: i.value,
1229
1237
  value: a == null ? void 0 : a.value,
1230
1238
  onBlur: p,
@@ -1237,27 +1245,27 @@ function eo(e, t, n, r) {
1237
1245
  onMousedown: I
1238
1246
  }, null);
1239
1247
  }
1240
- function to(e, t) {
1241
- const n = E(() => e.useExtendInfo && !!e.extendInfo), r = Ae({
1248
+ function io(e, t) {
1249
+ const n = E(() => e.useExtendInfo && !!e.extendInfo), r = Ve({
1242
1250
  content: e.extendInfo
1243
1251
  });
1244
1252
  function s() {
1245
1253
  t.emit("updateExtendInfo");
1246
1254
  }
1247
- return () => n.value && Ve(c("span", {
1255
+ return () => n.value && je(c("span", {
1248
1256
  class: "input-group-before-tips",
1249
1257
  onMouseenter: s
1250
1258
  }, [c("i", {
1251
1259
  class: "f-icon f-icon-info-circle"
1252
1260
  }, null), c("b", {
1253
1261
  class: "tips-arrow"
1254
- }, null)]), [[je("tooltip"), r]]);
1262
+ }, null)]), [[Re("tooltip"), r]]);
1255
1263
  }
1256
- function no(e, t, n, r, s) {
1264
+ function lo(e, t, n, r, s) {
1257
1265
  const {
1258
1266
  appendedButtonClass: m,
1259
- appendedContent: y
1260
- } = n, w = E(() => e.showButtonWhenDisabled && (!e.editable || !e.readonly) && !e.disabled), d = E(() => y.value && !t.slots.groupTextTemplate), o = E(() => !!t.slots.groupTextTemplate), {
1267
+ appendedContent: g
1268
+ } = n, B = E(() => e.showButtonWhenDisabled && (!e.editable || !e.readonly) && !e.disabled), d = E(() => g.value && !t.slots.groupTextTemplate), o = E(() => !!t.slots.groupTextTemplate), {
1261
1269
  clearButtonClass: u,
1262
1270
  clearButtonStyle: l,
1263
1271
  onClearValue: a,
@@ -1280,7 +1288,7 @@ function no(e, t, n, r, s) {
1280
1288
  t.emit("iconMouseLeave", P);
1281
1289
  }
1282
1290
  function O(P) {
1283
- w.value && t.emit("clickHandle", {
1291
+ B.value && t.emit("clickHandle", {
1284
1292
  originalEvent: P
1285
1293
  }), P.stopPropagation();
1286
1294
  }
@@ -1290,7 +1298,7 @@ function no(e, t, n, r, s) {
1290
1298
  class: "input-group-text",
1291
1299
  onMouseenter: (P) => f(P),
1292
1300
  onMouseleave: (P) => F(P),
1293
- innerHTML: y.value,
1301
+ innerHTML: g.value,
1294
1302
  onClick: (P) => A(P)
1295
1303
  }, null);
1296
1304
  }
@@ -1305,50 +1313,50 @@ function no(e, t, n, r, s) {
1305
1313
  class: m.value
1306
1314
  }, [i.value && p(), M && M()]);
1307
1315
  }
1308
- const oo = /* @__PURE__ */ H({
1316
+ const so = /* @__PURE__ */ z({
1309
1317
  name: "FInputGroup",
1310
1318
  props: be,
1311
1319
  emits: ["clear", "change", "blur", "click", "clickHandle", "focus", "input", "keydown", "keyup", "iconMouseEnter", "iconMouseLeave", "update:modelValue", "update:value", "updateExtendInfo", "valueChange"],
1312
1320
  setup(e, t) {
1313
- const n = C(e.modelValue), r = C(e.modelValue), s = Hn(e, t, n, r), {
1321
+ const n = C(e.modelValue), r = C(e.modelValue), s = Xn(e, t, n, r), {
1314
1322
  inputGroupClass: m,
1315
- inputType: y,
1316
- inputGroupStyle: w
1317
- } = s, d = Xn(e), {
1323
+ inputType: g,
1324
+ inputGroupStyle: B
1325
+ } = s, d = eo(e), {
1318
1326
  shouldShowAppendedButton: o
1319
- } = d, u = zn(e, t, s), {
1327
+ } = d, u = Zn(e, t, s), {
1320
1328
  onMouseEnter: l,
1321
1329
  onMouseLeave: a
1322
- } = u, i = Zn(e, t, y, d), p = Kn(e, t), f = eo(e, t, i, s), F = no(e, t, d, u, i), O = to(e, t), A = E(() => e.type === "number");
1330
+ } = u, i = to(e, t, g, d), p = ro(e, t), f = ao(e, t, i, s), F = lo(e, t, d, u, i), O = io(e, t), A = E(() => e.type === "number");
1323
1331
  R(() => [e.value], ([I]) => {
1324
1332
  n.value = I, r.value = I;
1325
1333
  }), R(() => [e.modelValue], ([I]) => {
1326
1334
  n.value = I, r.value = I;
1327
- }), q(() => {
1335
+ }), H(() => {
1328
1336
  e.value && (n.value = e.value, r.value = e.value);
1329
1337
  });
1330
1338
  const L = () => c(Z, null, [c("div", {
1331
1339
  id: "inputGroup",
1332
1340
  class: m.value,
1333
- style: w.value,
1341
+ style: B.value,
1334
1342
  onMouseenter: l,
1335
1343
  onMouseleave: a
1336
1344
  }, [A.value ? p() : c(Z, null, [O(), f(), o.value && F()])])]);
1337
1345
  return () => L();
1338
1346
  }
1339
- }), g = {}, v = {}, b = {}, h = {};
1347
+ }), y = {}, v = {}, b = {}, h = {};
1340
1348
  let le = !1;
1341
- function ro() {
1342
- le || (le = !0, Xe.register(g, v, b, h), _e.register(g, v, b, h), Ze.register(g, v, b, h), Je.register(g, v, b, h), Ye.register(g, v, b, h), Ke.register(g, v, b, h), et.register(g, v, b, h), tt.register(g, v, b, h), nt.register(g, v, b, h), rt.register(g, v, b, h), ot.register(g, v, b, h), at.register(g, v, b, h), it.register(g, v, b, h), lt.register(g, v, b, h), st.register(g, v, b, h), ut.register(g, v, b, h), ct.register(g, v, b, h), dt.register(g, v, b, h), pt.register(g, v, b, h), mt.register(g, v, b, h), ft.register(g, v, b, h), gt.register(g, v, b, h), yt.register(g, v, b, h), vt.register(g, v, b, h), bt.register(g, v, b, h), ht.register(g, v, b, h), Ct.register(g, v, b, h), qe.register(g, v, b, h), Ft.register(g, v, b, h), Tt.register(g, v, b, h), St.register(g, v, b, h), Bt.register(g, v, b, h), wt.register(g, v, b, h), Pt.register(g, v, b, h), xt.register(g, v, b, h), It.register(g, v, b, h), kt.register(g, v, b, h), Lt.register(g, v, b, h), Et.register(g, v, b, h), Xt.register(g, v, b), Mt.register(g, v, b, h), Dt.register(g, v, b, h), Ot.register(g, v, b, h), Nt.register(g, v, b, h), At.register(g, v, b, h), Vt.register(g, v, b, h), jt.register(g, v, b, h), Rt.register(g, v, b, h), $t.register(g, v, b, h), Gt.register(g, v, b, h), Wt.register(g, v, b, h), qt.register(g, v, b, h), zt.register(g, v, b, h), Ht.register(g, v, b, h), Ut.register(g, v, b, h), Qt.register(g, v, b, h), _t.register(g, v, b, h));
1349
+ function uo() {
1350
+ le || (le = !0, Je.register(y, v, b, h), Ze.register(y, v, b, h), Ye.register(y, v, b, h), Ke.register(y, v, b, h), et.register(y, v, b, h), tt.register(y, v, b, h), nt.register(y, v, b, h), ot.register(y, v, b, h), rt.register(y, v, b, h), at.register(y, v, b, h), lt.register(y, v, b, h), it.register(y, v, b, h), st.register(y, v, b, h), ut.register(y, v, b, h), ct.register(y, v, b, h), dt.register(y, v, b, h), pt.register(y, v, b, h), mt.register(y, v, b, h), ft.register(y, v, b, h), gt.register(y, v, b, h), yt.register(y, v, b, h), vt.register(y, v, b, h), ht.register(y, v, b, h), bt.register(y, v, b, h), Ct.register(y, v, b, h), Ft.register(y, v, b, h), St.register(y, v, b, h), Tt.register(y, v, b, h), ze.register(y, v, b, h), wt.register(y, v, b, h), Bt.register(y, v, b, h), Pt.register(y, v, b, h), xt.register(y, v, b, h), It.register(y, v, b, h), Et.register(y, v, b, h), kt.register(y, v, b, h), Lt.register(y, v, b, h), Dt.register(y, v, b, h), Ot.register(y, v, b, h), Mt.register(y, v, b, h), Yt.register(y, v, b), Nt.register(y, v, b, h), At.register(y, v, b, h), Vt.register(y, v, b, h), jt.register(y, v, b, h), Rt.register(y, v, b, h), $t.register(y, v, b, h), Gt.register(y, v, b, h), Wt.register(y, v, b, h), qt.register(y, v, b, h), Ht.register(y, v, b, h), zt.register(y, v, b, h), Ut.register(y, v, b, h), _t.register(y, v, b, h), Qt.register(y, v, b, h), Xt.register(y, v, b, h), Zt.register(y, v, b, h), Jt.register(y, v, b, h), Kt.register(y, v, b, h));
1343
1351
  }
1344
- function ao() {
1345
- ro();
1352
+ function co() {
1353
+ uo();
1346
1354
  function e(s, m) {
1347
- const y = v[s];
1348
- return y ? y(m) : {};
1355
+ const g = v[s];
1356
+ return g ? g(m) : {};
1349
1357
  }
1350
1358
  function t(s) {
1351
- return g[s] || oo;
1359
+ return y[s] || so;
1352
1360
  }
1353
1361
  function n(s) {
1354
1362
  switch (s) {
@@ -1359,6 +1367,7 @@ function ao() {
1359
1367
  case "check-group":
1360
1368
  return "onChangeValue";
1361
1369
  case "combo-list":
1370
+ case "combo-tree":
1362
1371
  return "onChange";
1363
1372
  case "combo-lookup":
1364
1373
  return "";
@@ -1413,41 +1422,41 @@ function ao() {
1413
1422
  }
1414
1423
  return { resolveEditorProps: e, resolveEditorType: t, getChangeFunctionName: n, getClearFunctionName: r };
1415
1424
  }
1416
- const io = /* @__PURE__ */ H({
1425
+ const po = /* @__PURE__ */ z({
1417
1426
  name: "FDynamicFormGroup",
1418
1427
  props: ve,
1419
1428
  emits: ["change", "update:modelValue"],
1420
1429
  setup(e, t) {
1421
- const n = C(e.id), r = C(e.customClass), s = C(e.editor), m = C(e.label), y = C(e.modelValue), w = C(e.readonly), d = C(e.required), o = C(e.showLabel), u = C(e.visible);
1430
+ const n = C(e.id), r = C(e.customClass), s = C(e.editor), m = C(e.label), g = C(e.modelValue), B = C(e.readonly), d = C(e.required), o = C(e.showLabel), u = C(e.visible);
1422
1431
  C(e.type);
1423
1432
  const l = C(), {
1424
1433
  resolveEditorProps: a,
1425
1434
  resolveEditorType: i,
1426
1435
  getChangeFunctionName: p,
1427
1436
  getClearFunctionName: f
1428
- } = ao(), F = E(() => ({
1437
+ } = co(), F = E(() => ({
1429
1438
  "form-group": !0,
1430
1439
  "farris-form-group": !0,
1431
1440
  "common-group": !0,
1432
- "q-state-readonly": w.value
1441
+ "q-state-readonly": B.value
1433
1442
  }));
1434
1443
  function O(I, k) {
1435
- y.value = k !== void 0 ? k : I, t.emit("update:modelValue", y.value), t.emit("change", y.value);
1444
+ g.value = k !== void 0 ? k : I, t.emit("update:modelValue", g.value), t.emit("change", g.value);
1436
1445
  }
1437
1446
  function A() {
1438
1447
  t.emit("update:modelValue", "");
1439
1448
  }
1440
1449
  const L = E(() => {
1441
1450
  const I = s.value.type || "input-group", k = i(I), M = a(I, s.value), P = p(I), $ = f(s.value.type);
1442
- return M[P] = O, M[$] = A, () => c(k, Re({
1451
+ return M[P] = O, M[$] = A, () => c(k, $e({
1443
1452
  ref: l
1444
1453
  }, M, {
1445
- modelValue: y.value,
1446
- "onUpdate:modelValue": (N) => y.value = N
1454
+ modelValue: g.value,
1455
+ "onUpdate:modelValue": (N) => g.value = N
1447
1456
  }), null);
1448
1457
  });
1449
- return R([() => e.id, () => e.customClass, () => e.editor, () => e.label, () => e.modelValue, () => e.readonly, () => e.required, () => e.showLabel, () => e.visible], ([I, k, M, P, $, N, G, z, U]) => {
1450
- n.value = I, r.value = k, s.value = M, m.value = P, y.value = $, w.value = N, d.value = G, o.value = z, u.value = U;
1458
+ return R([() => e.id, () => e.customClass, () => e.editor, () => e.label, () => e.modelValue, () => e.readonly, () => e.required, () => e.showLabel, () => e.visible], ([I, k, M, P, $, N, G, U, Q]) => {
1459
+ n.value = I, r.value = k, s.value = M, m.value = P, g.value = $, B.value = N, d.value = G, o.value = U, u.value = Q;
1451
1460
  }), t.expose({
1452
1461
  editorRef: l
1453
1462
  }), () => u.value && c("div", {
@@ -1457,7 +1466,7 @@ const io = /* @__PURE__ */ H({
1457
1466
  class: "farris-group-wrap"
1458
1467
  }, [c("div", {
1459
1468
  class: F.value
1460
- }, [o.value && c(Dn, {
1469
+ }, [o.value && c(jn, {
1461
1470
  id: `${n.value}-lable`,
1462
1471
  required: d.value,
1463
1472
  text: m.value,
@@ -1466,13 +1475,13 @@ const io = /* @__PURE__ */ H({
1466
1475
  class: "farris-input-wrap"
1467
1476
  }, [L.value()])])])]);
1468
1477
  }
1469
- }), lo = /* @__PURE__ */ H({
1478
+ }), mo = /* @__PURE__ */ z({
1470
1479
  name: "FPropertyPanelItem",
1471
- props: Tn,
1480
+ props: xn,
1472
1481
  emits: ["propertyChange", "triggerRefreshPanel"],
1473
1482
  setup(e, t) {
1474
1483
  var o;
1475
- const n = C((o = e.category) == null ? void 0 : o.categoryId), r = C(e.elementConfig.propertyID), s = C(e.elementConfig.propertyName), m = C(e.elementConfig.editor), y = C(e.elementConfig.propertyValue), w = E(() => {
1484
+ const n = C((o = e.category) == null ? void 0 : o.categoryId), r = C(e.elementConfig.propertyID), s = C(e.elementConfig.propertyName), m = C(e.elementConfig.editor), g = C(e.elementConfig.propertyValue), B = E(() => {
1476
1485
  const u = e.elementConfig.visible;
1477
1486
  return {
1478
1487
  "farris-group-wrap": !0,
@@ -1484,7 +1493,7 @@ const io = /* @__PURE__ */ H({
1484
1493
  var u;
1485
1494
  return (u = e.elementConfig) == null ? void 0 : u.propertyValue;
1486
1495
  }, (u) => {
1487
- y.value = u;
1496
+ g.value = u;
1488
1497
  });
1489
1498
  function d(u) {
1490
1499
  e.elementConfig.propertyValue = u;
@@ -1495,20 +1504,20 @@ const io = /* @__PURE__ */ H({
1495
1504
  t.emit("propertyChange", l), e.elementConfig.refreshPanelAfterChanged && t.emit("triggerRefreshPanel");
1496
1505
  }
1497
1506
  return () => c("div", {
1498
- class: w.value
1499
- }, [c(io, {
1507
+ class: B.value
1508
+ }, [c(po, {
1500
1509
  id: r.value,
1501
1510
  customClass: `${n.value}-${r.value}`,
1502
1511
  label: s.value,
1503
1512
  editor: m.value,
1504
- modelValue: y.value,
1513
+ modelValue: g.value,
1505
1514
  onChange: d,
1506
1515
  editorParams: e.elementConfig.editorParams
1507
1516
  }, null)]);
1508
1517
  }
1509
- }), so = /* @__PURE__ */ H({
1518
+ }), fo = /* @__PURE__ */ z({
1510
1519
  name: "FPropertyPanelItemList",
1511
- props: Fn,
1520
+ props: Pn,
1512
1521
  emits: ["valueChanged", "submitModal", "triggerRefreshPanel"],
1513
1522
  setup(e, t) {
1514
1523
  const n = C(e.category);
@@ -1538,7 +1547,7 @@ const io = /* @__PURE__ */ H({
1538
1547
  onClick: (p) => s(p, i)
1539
1548
  }, [c("span", null, null)])]);
1540
1549
  }
1541
- function y(i) {
1550
+ function g(i) {
1542
1551
  return c("div", {
1543
1552
  class: "f-section-formgroup-legend"
1544
1553
  }, [c("div", {
@@ -1555,7 +1564,7 @@ const io = /* @__PURE__ */ H({
1555
1564
  class: "farris-label-text"
1556
1565
  }, [i.propertyName])])])]);
1557
1566
  }
1558
- function w(i) {
1567
+ function B(i) {
1559
1568
  return `${e.categoryKey}_${i.propertyID}`;
1560
1569
  }
1561
1570
  function d(i) {
@@ -1569,8 +1578,8 @@ const io = /* @__PURE__ */ H({
1569
1578
  function u(i) {
1570
1579
  return c("div", {
1571
1580
  class: "px-2 mb-2"
1572
- }, [c(lo, {
1573
- key: w(i),
1581
+ }, [c(mo, {
1582
+ key: B(i),
1574
1583
  elementConfig: i,
1575
1584
  category: n.value,
1576
1585
  onPropertyChange: d,
@@ -1592,7 +1601,7 @@ const io = /* @__PURE__ */ H({
1592
1601
  class: "panel-item-title"
1593
1602
  }, [c("div", {
1594
1603
  class: "form-group farris-form-group line-item"
1595
- }, [y(i), r(i), m(i)])])]), c("div", {
1604
+ }, [g(i), r(i), m(i)])])]), c("div", {
1596
1605
  class: ["card-body", {
1597
1606
  hidden: !i.isExpand
1598
1607
  }]
@@ -1606,94 +1615,96 @@ const io = /* @__PURE__ */ H({
1606
1615
  }
1607
1616
  return () => c(Z, null, [n.value.properties.map((i) => a(i)(i))]);
1608
1617
  }
1609
- }), se = /* @__PURE__ */ H({
1618
+ }), se = /* @__PURE__ */ z({
1610
1619
  name: "FPropertyPanel",
1611
- props: Zt,
1620
+ props: en,
1612
1621
  emits: ["propertyChanged"],
1613
1622
  setup(e, t) {
1614
- const n = C(e.width), r = C(e.isWidePanel), s = C(e.enableSearch), m = C(e.mode), y = C(e.isPersitOpenState), w = C(e.isShowPanel), d = C(), o = C(), u = C(e.showCloseBtn), l = C(e.selectedTabId), a = C(!0), i = C(e.isWhiteTheme);
1623
+ const n = C(e.width), r = C(e.isWidePanel), s = C(e.enableSearch), m = C(e.mode), g = C(e.isPersitOpenState), B = C(e.isShowPanel), d = C(), o = C(), u = C(e.showCloseBtn), l = C(e.selectedTabId), a = C(!0), i = C(e.isWhiteTheme);
1615
1624
  let p = [], f = [];
1616
- const F = C(""), O = C(), A = C(), L = $e("SchemaService");
1625
+ const F = C(""), O = C(), A = C(), L = Ge("SchemaService");
1617
1626
  let I = [], k = null, M = "";
1618
- const P = C();
1619
- function $() {
1620
- f = [], P.value && P.value.categoryList && Array.isArray(P.value.categoryList) && P.value.categoryList.length > 0 && P.value.categoryList.forEach((T) => {
1621
- if (T.properties.forEach((S) => S.categoryId = T.categoryId), T.properties && Array.isArray(T.properties) && T.properties.length > 0) {
1622
- const S = T.properties.map((D) => (D.category = T, D));
1623
- f = f.concat(S);
1627
+ const P = C(), {
1628
+ proxy: $
1629
+ } = We();
1630
+ function N() {
1631
+ f = [], P.value && P.value.categoryList && Array.isArray(P.value.categoryList) && P.value.categoryList.length > 0 && P.value.categoryList.forEach((S) => {
1632
+ if (S.properties.forEach((T) => T.categoryId = S.categoryId), S.properties && Array.isArray(S.properties) && S.properties.length > 0) {
1633
+ const T = S.properties.map((D) => (D.category = S, D));
1634
+ f = f.concat(T);
1624
1635
  }
1625
1636
  });
1626
1637
  }
1627
- function N(B) {
1628
- let T = B.offsetTop, S = B.offsetParent;
1629
- for (; S !== null; )
1630
- T += S.offsetTop, S = S.offsetParent;
1631
- return T;
1638
+ function G(w) {
1639
+ let S = w.offsetTop, T = w.offsetParent;
1640
+ for (; T !== null; )
1641
+ S += T.offsetTop, T = T.offsetParent;
1642
+ return S;
1632
1643
  }
1633
- function G(B, T) {
1634
- B && T && Object.keys(T).length > 0 && Object.keys(T).forEach((S) => {
1644
+ function U(w, S) {
1645
+ w && S && Object.keys(S).length > 0 && Object.keys(S).forEach((T) => {
1635
1646
  var W;
1636
- const D = T[S];
1637
- (W = B.style) == null || W.setProperty(S, D);
1647
+ const D = S[T];
1648
+ (W = w.style) == null || W.setProperty(T, D);
1638
1649
  });
1639
1650
  }
1640
- function z() {
1641
- return f.filter((T) => T.visible ? !!(T.propertyID && T.propertyID.startsWith(F.value) || T.propertyName && (T.propertyName.startsWith(F.value) || T.propertyName.includes(F.value))) : !1);
1651
+ function Q() {
1652
+ return f.filter((S) => S.visible ? !!(S.propertyID && S.propertyID.startsWith(F.value) || S.propertyName && (S.propertyName.startsWith(F.value) || S.propertyName.includes(F.value))) : !1);
1642
1653
  }
1643
- function U(B, T, S) {
1644
- if (B === 0) {
1645
- const D = N(T), K = N(S) - D - 5;
1646
- T == null || T.scroll({
1654
+ function x(w, S, T) {
1655
+ if (w === 0) {
1656
+ const D = G(S), K = G(T) - D - 5;
1657
+ S == null || S.scroll({
1647
1658
  top: K,
1648
1659
  behavior: "smooth"
1649
1660
  });
1650
1661
  }
1651
1662
  }
1652
- function x(B) {
1653
- I && I.length > 0 && (I.forEach((S) => {
1654
- S.style.cssText = "";
1655
- }), I = []), F.value = B || F.value;
1656
- const T = document.querySelector(".panel-body");
1663
+ function j(w) {
1664
+ I && I.length > 0 && (I.forEach((T) => {
1665
+ T.style.cssText = "";
1666
+ }), I = []), F.value = w || F.value;
1667
+ const S = document.querySelector(".panel-body");
1657
1668
  if (!F.value)
1658
- O.value && T && (T.scrollTop = 0);
1659
- else if ($(), f && f.length > 0) {
1660
- const S = z();
1661
- S && S.length > 0 && (S[0].category.status === "closed" && (S[0].category.status = "open"), setTimeout(() => {
1662
- S.forEach((D, W) => {
1669
+ O.value && S && (S.scrollTop = 0);
1670
+ else if (N(), f && f.length > 0) {
1671
+ const T = Q();
1672
+ T && T.length > 0 && (T[0].category.status === "closed" && (T[0].category.status = "open"), setTimeout(() => {
1673
+ T.forEach((D, W) => {
1663
1674
  const K = D.propertyType === "cascade" ? `.${D.categoryId}-${D.propertyID} div.col-form-label` : `.property-item .${D.categoryId}-${D.propertyID} label.col-form-label`, X = document.querySelector(K);
1664
- X && (U(W, T, X), G(X, {
1675
+ X && (x(W, S, X), U(X, {
1665
1676
  color: "#5B89FE"
1666
1677
  }), I.push(X));
1667
1678
  });
1668
1679
  }, 50));
1669
1680
  }
1670
1681
  }
1671
- function V(B) {
1672
- x(B);
1682
+ function q(w) {
1683
+ j(w);
1673
1684
  }
1674
- function _(B) {
1685
+ function J(w) {
1675
1686
  const {
1676
- value: T
1677
- } = B.target;
1678
- B.key === "Enter" && V(T);
1687
+ value: S
1688
+ } = w.target;
1689
+ w.key === "Enter" && q(S);
1679
1690
  }
1680
- function J(B) {
1691
+ function he(w) {
1681
1692
  const {
1682
- value: T
1683
- } = B.target;
1684
- V(T);
1693
+ value: S
1694
+ } = w.target;
1695
+ q(S);
1685
1696
  }
1686
- function he() {
1687
- y.value || (a.value = !1), t.emit("closePropertyPanel");
1697
+ function Ce() {
1698
+ g.value || (a.value = !1), t.emit("closePropertyPanel");
1688
1699
  }
1689
- function Y(B) {
1690
- F.value = "", x();
1700
+ function Y(w) {
1701
+ F.value = "", j();
1691
1702
  }
1692
- function Ce(B) {
1693
- !B.status || B.status === "open" ? B.status = "closed" : B.status = "open";
1703
+ function Fe(w) {
1704
+ !w.status || w.status === "open" ? w.status = "closed" : w.status = "open";
1694
1705
  }
1695
- function Q() {
1696
- var B, T;
1706
+ function _() {
1707
+ var w, S;
1697
1708
  if (p = [], !d.value || d.value.length === 0) {
1698
1709
  p = [{
1699
1710
  tabId: "default",
@@ -1702,47 +1713,47 @@ const io = /* @__PURE__ */ H({
1702
1713
  }], P.value = null;
1703
1714
  return;
1704
1715
  }
1705
- if ((B = d == null ? void 0 : d.value) == null || B.forEach((S) => {
1706
- if (S.tabId) {
1707
- const D = p.find((W) => W.tabId === S.tabId);
1708
- D ? (D.categoryList.push(S), D.hide && (D.hide = S.hide || S.properties.length === 0)) : p.push({
1709
- tabId: S.tabId,
1710
- tabName: S.tabName,
1711
- categoryList: [S],
1712
- hide: S.hide || S.properties.length === 0
1716
+ if ((w = d == null ? void 0 : d.value) == null || w.forEach((T) => {
1717
+ if (T.tabId) {
1718
+ const D = p.find((W) => W.tabId === T.tabId);
1719
+ D ? (D.categoryList.push(T), D.hide && (D.hide = T.hide || T.properties.length === 0)) : p.push({
1720
+ tabId: T.tabId,
1721
+ tabName: T.tabName,
1722
+ categoryList: [T],
1723
+ hide: T.hide || T.properties.length === 0
1713
1724
  });
1714
1725
  } else {
1715
1726
  const D = p.find((W) => W.tabId === "default");
1716
- D ? D.categoryList.push(S) : p.push({
1727
+ D ? D.categoryList.push(T) : p.push({
1717
1728
  tabId: "default",
1718
1729
  tabName: "属性",
1719
- categoryList: [S]
1730
+ categoryList: [T]
1720
1731
  });
1721
1732
  }
1722
1733
  }), l.value) {
1723
- let S = p == null ? void 0 : p.find((D) => D.tabId === l.value && !D.hide);
1724
- P.value = S || p[0];
1734
+ let T = p == null ? void 0 : p.find((D) => D.tabId === l.value && !D.hide);
1735
+ P.value = T || p[0];
1725
1736
  } else
1726
1737
  P.value = p[0];
1727
- l.value = (T = P.value) == null ? void 0 : T.tabId;
1738
+ l.value = (S = P.value) == null ? void 0 : S.tabId;
1728
1739
  }
1729
1740
  R(() => [e.schema, e.isShowPanel], () => {
1730
- o.value = e.schema, d.value = ee(o.value, L, k, M), Q(), Y(F.value);
1731
- }), q(() => {
1732
- Q();
1741
+ o.value = e.schema, d.value = ee(o.value, L, k, M), _(), Y(F.value), $.$forceUpdate();
1742
+ }), H(() => {
1743
+ _();
1733
1744
  });
1734
- function Fe(B, T) {
1735
- (!o.value || T) && (o.value = T || e.schema), d.value = ee(o.value, L, k, M, B), Q(), Y(F.value);
1745
+ function Se(w, S) {
1746
+ (!o.value || S) && (o.value = S || e.schema), d.value = ee(o.value, L, k, M, w), _(), Y(F.value);
1736
1747
  }
1737
- function Te(B, T) {
1738
- k = B, M = T;
1748
+ function Te(w, S) {
1749
+ k = w, M = S;
1739
1750
  }
1740
1751
  function re() {
1741
1752
  m.value = m.value === "panel" ? "sidebar" : "panel", m.value === "panel" ? (setTimeout(() => {
1742
- V();
1753
+ q();
1743
1754
  }, 100), n.value = "300px") : n.value = "41px";
1744
1755
  }
1745
- function Se() {
1756
+ function we() {
1746
1757
  if (u.value)
1747
1758
  return c("div", {
1748
1759
  class: "title-actions"
@@ -1755,17 +1766,17 @@ const io = /* @__PURE__ */ H({
1755
1766
  role: "toolbar"
1756
1767
  }, [c("li", {
1757
1768
  class: "action-item",
1758
- onClick: he
1769
+ onClick: Ce
1759
1770
  }, [c("span", {
1760
1771
  class: "f-icon f-icon-close"
1761
1772
  }, null)])])])])]);
1762
1773
  }
1763
1774
  function Be() {
1764
- d.value = ee(o.value, L, k, M), Q();
1775
+ d.value = ee(o.value, L, k, M), _();
1765
1776
  }
1766
- function we() {
1767
- var B;
1768
- if (s.value && ((B = P.value) == null ? void 0 : B.tabId) !== "commands")
1777
+ function Pe() {
1778
+ var w;
1779
+ if (s.value && ((w = P.value) == null ? void 0 : w.tabId) !== "commands")
1769
1780
  return c("div", {
1770
1781
  class: "search"
1771
1782
  }, [c("div", {
@@ -1775,7 +1786,7 @@ const io = /* @__PURE__ */ H({
1775
1786
  type: "text",
1776
1787
  placeholder: "输入属性名称或编号快速定位",
1777
1788
  autocomplete: "off",
1778
- onKeyup: (T) => _(T),
1789
+ onKeyup: (S) => J(S),
1779
1790
  value: F.value
1780
1791
  }, null), c("div", {
1781
1792
  class: "input-group-append",
@@ -1785,24 +1796,24 @@ const io = /* @__PURE__ */ H({
1785
1796
  style: [{
1786
1797
  display: F.value && F.value.length > 0 ? "" : "none"
1787
1798
  }],
1788
- onClick: (T) => Y()
1799
+ onClick: (S) => Y()
1789
1800
  }, [c("i", {
1790
1801
  class: "f-icon modal_close"
1791
1802
  }, null)]), c("span", {
1792
1803
  class: "input-group-text input-group-clear",
1793
- onClick: (T) => J(T)
1804
+ onClick: (S) => he(S)
1794
1805
  }, [c("i", {
1795
1806
  class: "f-icon f-icon-search"
1796
1807
  }, null)])])])]);
1797
1808
  }
1798
- function Pe(B) {
1799
- return `${e.propertyName}_${B.categoryId}`;
1809
+ function xe(w) {
1810
+ return `${e.propertyName}_${w.categoryId}`;
1800
1811
  }
1801
- function xe(B) {
1802
- t.emit("propertyChanged", B);
1812
+ function Ie(w) {
1813
+ t.emit("propertyChanged", w);
1803
1814
  }
1804
- function Ie() {
1805
- var B, T;
1815
+ function Ee() {
1816
+ var w, S;
1806
1817
  if (P.value)
1807
1818
  return c("div", {
1808
1819
  class: "panel-body",
@@ -1811,28 +1822,28 @@ const io = /* @__PURE__ */ H({
1811
1822
  class: ["property-grid", {
1812
1823
  "wide-panel": r.value
1813
1824
  }]
1814
- }, [(T = (B = P.value) == null ? void 0 : B.categoryList) == null ? void 0 : T.map((S) => c("li", {
1815
- key: Pe(S),
1816
- "data-category-id": S == null ? void 0 : S.categoryId
1817
- }, [!S.hide && !S.hideTitle && c("span", {
1825
+ }, [(S = (w = P.value) == null ? void 0 : w.categoryList) == null ? void 0 : S.map((T) => c("li", {
1826
+ key: xe(T),
1827
+ "data-category-id": T == null ? void 0 : T.categoryId
1828
+ }, [!T.hide && !T.hideTitle && c("span", {
1818
1829
  class: "group-label",
1819
- onClick: () => Ce(S)
1830
+ onClick: () => Fe(T)
1820
1831
  }, [c("span", {
1821
1832
  class: ["f-icon mr-2", {
1822
- "f-legend-show": S.status === "closed"
1833
+ "f-legend-show": T.status === "closed"
1823
1834
  }, {
1824
- "f-legend-collapse": S.status === "open" || S.status === void 0
1835
+ "f-legend-collapse": T.status === "open" || T.status === void 0
1825
1836
  }]
1826
- }, null), S.categoryName]), c("div", {
1827
- hidden: S.status === "closed"
1828
- }, [c(so, {
1829
- category: S,
1837
+ }, null), T.categoryName]), c("div", {
1838
+ hidden: T.status === "closed"
1839
+ }, [c(fo, {
1840
+ category: T,
1830
1841
  propertyData: o.value,
1831
1842
  onTriggerRefreshPanel: Be,
1832
- onValueChanged: xe
1843
+ onValueChanged: Ie
1833
1844
  }, null)])]))])]);
1834
1845
  }
1835
- function Ee() {
1846
+ function ke() {
1836
1847
  if (m.value === "sidebar")
1837
1848
  return c("div", {
1838
1849
  class: "side-panel h-100",
@@ -1841,13 +1852,13 @@ const io = /* @__PURE__ */ H({
1841
1852
  class: "f-icon f-icon-engineering w-100 icon"
1842
1853
  }, null), c("span", null, [ue("属性")])]);
1843
1854
  }
1844
- function ke() {
1855
+ function Le() {
1845
1856
  return {
1846
1857
  display: a.value ? "block" : "none",
1847
1858
  width: n.value
1848
1859
  };
1849
1860
  }
1850
- function Le() {
1861
+ function Me() {
1851
1862
  return c("div", {
1852
1863
  class: "switcher"
1853
1864
  }, [c("i", {
@@ -1858,33 +1869,33 @@ const io = /* @__PURE__ */ H({
1858
1869
  onClick: re
1859
1870
  }, null)]);
1860
1871
  }
1861
- function Me(B) {
1862
- P.value = B, l.value = P.value.tabId, F.value = "";
1872
+ function De(w) {
1873
+ P.value = w, l.value = P.value.tabId, F.value = "";
1863
1874
  }
1864
- function De() {
1865
- return p.map((B) => c("div", {
1875
+ function Oe() {
1876
+ return p.map((w) => c("div", {
1866
1877
  class: ["title-label", {
1867
- active: P.value && P.value.tabId === B.tabId
1878
+ active: P.value && P.value.tabId === w.tabId
1868
1879
  }, {
1869
- hidden: B.hide
1880
+ hidden: w.hide
1870
1881
  }],
1871
- onClick: () => Me(B)
1872
- }, [c("span", null, [B.tabName])]));
1882
+ onClick: () => De(w)
1883
+ }, [c("span", null, [w.tabName])]));
1873
1884
  }
1874
- return q(() => {
1875
- V(F.value);
1876
- }), Ge(() => {
1877
- y.value && (a.value = w.value), Q(), V(F.value);
1885
+ return H(() => {
1886
+ q(F.value);
1887
+ }), qe(() => {
1888
+ g.value && (a.value = B.value), _(), q(F.value);
1878
1889
  }), R(P, () => {
1879
1890
  }), t.expose({
1880
- updatePropertyConfig: Fe,
1891
+ updatePropertyConfig: Se,
1881
1892
  updateDesignerItem: Te
1882
1893
  }), () => c(Z, null, [c("div", {
1883
1894
  ref: O,
1884
1895
  class: ["property-panel", {
1885
1896
  "white-theme": i.value
1886
1897
  }],
1887
- style: ke()
1898
+ style: Le()
1888
1899
  }, [c("div", {
1889
1900
  class: "propertyPanel panel flex-column",
1890
1901
  hidden: m.value !== "panel"
@@ -1894,19 +1905,19 @@ const io = /* @__PURE__ */ H({
1894
1905
  }, {
1895
1906
  only: p.length === 1
1896
1907
  }]
1897
- }, [De(), Se()]), we(), Ie()]), Le(), Ee()])]);
1908
+ }, [Oe(), we()]), Pe(), Ee()]), Me(), ke()])]);
1898
1909
  }
1899
1910
  });
1900
- var uo = /* @__PURE__ */ ((e) => (e.string = "string", e.boolean = "boolean", e.number = "number", e.select = "select", e.boolOrExp = "boolOrExp", e.editableSelect = "editableSelect", e.multiSelect = "multiSelect", e.date = "date", e.datetime = "datetime", e.modal = "modal", e.cascade = "cascade", e.custom = "custom", e.unity = "unity", e.events = "events", e.switch = "switch", e.multiLanguage = "multiLanguage", e))(uo || {});
1901
- const br = {
1911
+ var go = /* @__PURE__ */ ((e) => (e.string = "string", e.boolean = "boolean", e.number = "number", e.select = "select", e.boolOrExp = "boolOrExp", e.editableSelect = "editableSelect", e.multiSelect = "multiSelect", e.date = "date", e.datetime = "datetime", e.modal = "modal", e.cascade = "cascade", e.custom = "custom", e.unity = "unity", e.events = "events", e.switch = "switch", e.multiLanguage = "multiLanguage", e))(go || {});
1912
+ const Br = {
1902
1913
  install(e) {
1903
1914
  e.component(se.name, se);
1904
1915
  }
1905
1916
  };
1906
1917
  export {
1907
1918
  se as FPropertyPanel,
1908
- uo as PropertyType,
1909
- br as default,
1910
- Tn as propertyPanelItemProps,
1911
- Zt as propertyPanelProps
1919
+ go as PropertyType,
1920
+ Br as default,
1921
+ xn as propertyPanelItemProps,
1922
+ en as propertyPanelProps
1912
1923
  };