@farris/ui-vue 1.7.1 → 1.7.2-beta.2

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 (431) hide show
  1. package/components/accordion/index.esm.js +312 -61
  2. package/components/accordion/index.umd.cjs +1 -1
  3. package/components/avatar/index.esm.js +1492 -59
  4. package/components/avatar/index.umd.cjs +1 -1
  5. package/components/binding-selector/index.esm.js +752 -8
  6. package/components/binding-selector/index.umd.cjs +1 -1
  7. package/components/button-edit/index.esm.js +1 -1
  8. package/components/button-edit/index.umd.cjs +1 -1
  9. package/components/button-group/index.esm.js +266 -110
  10. package/components/button-group/index.umd.cjs +1 -1
  11. package/components/calendar/index.esm.js +344 -341
  12. package/components/calendar/index.umd.cjs +3 -3
  13. package/components/code-editor/index.esm.js +237 -169
  14. package/components/code-editor/index.umd.cjs +3 -3
  15. package/components/collection-property-editor/index.esm.js +302 -299
  16. package/components/collection-property-editor/index.umd.cjs +2 -2
  17. package/components/color-picker/index.esm.js +812 -502
  18. package/components/color-picker/index.umd.cjs +1 -1
  19. package/components/combo-list/index.esm.js +329 -292
  20. package/components/combo-list/index.umd.cjs +1 -1
  21. package/components/combo-tree/index.esm.js +355 -174
  22. package/components/combo-tree/index.umd.cjs +1 -1
  23. package/components/comment/index.esm.js +294 -291
  24. package/components/comment/index.umd.cjs +6 -6
  25. package/components/common/index.esm.js +1 -1
  26. package/components/common/index.umd.cjs +1 -1
  27. package/components/component/index.esm.js +4390 -2708
  28. package/components/component/index.umd.cjs +8 -1
  29. package/components/condition/index.esm.js +3140 -487
  30. package/components/condition/index.umd.cjs +8 -1
  31. package/components/data-grid/index.esm.js +4 -2
  32. package/components/data-grid/index.umd.cjs +1 -1
  33. package/components/data-view/index.esm.js +1859 -1832
  34. package/components/data-view/index.umd.cjs +1 -1
  35. package/components/date-picker/index.esm.js +1 -1
  36. package/components/date-picker/index.umd.cjs +1 -1
  37. package/components/designer-canvas/index.esm.js +3731 -2717
  38. package/components/designer-canvas/index.umd.cjs +1 -1
  39. package/components/drawer/index.esm.js +417 -405
  40. package/components/drawer/index.umd.cjs +2 -2
  41. package/components/dropdown/index.esm.js +373 -124
  42. package/components/dropdown/index.umd.cjs +2 -2
  43. package/components/dynamic-form/index.esm.js +1245 -1895
  44. package/components/dynamic-form/index.umd.cjs +1 -1
  45. package/components/dynamic-resolver/index.esm.js +275 -271
  46. package/components/dynamic-resolver/index.umd.cjs +2 -2
  47. package/components/dynamic-view/index.esm.js +529 -450
  48. package/components/dynamic-view/index.umd.cjs +1 -1
  49. package/components/event-parameter/index.esm.js +1 -1
  50. package/components/event-parameter/index.umd.cjs +1 -1
  51. package/components/events-editor/index.esm.js +2613 -1544
  52. package/components/events-editor/index.umd.cjs +3 -3
  53. package/components/expression-editor/index.css +1 -1
  54. package/components/expression-editor/index.esm.js +7376 -2
  55. package/components/expression-editor/index.umd.cjs +427 -1
  56. package/components/fieldset/index.esm.js +1 -1
  57. package/components/fieldset/index.umd.cjs +1 -1
  58. package/components/filter-bar/index.esm.js +423 -415
  59. package/components/filter-bar/index.umd.cjs +2 -2
  60. package/components/filter-condition-editor/index.css +1 -1
  61. package/components/filter-condition-editor/index.esm.js +9049 -425
  62. package/components/filter-condition-editor/index.umd.cjs +427 -1
  63. package/components/html-template/index.esm.js +33 -36
  64. package/components/html-template/index.umd.cjs +1 -1
  65. package/components/image/index.esm.js +364 -355
  66. package/components/image/index.umd.cjs +2 -2
  67. package/components/image-cropper/index.esm.js +615 -361
  68. package/components/image-cropper/index.umd.cjs +1 -1
  69. package/components/json-editor/index.esm.js +325 -247
  70. package/components/json-editor/index.umd.cjs +1 -1
  71. package/components/language-textbox/index.esm.js +411 -409
  72. package/components/language-textbox/index.umd.cjs +2 -2
  73. package/components/layout/index.esm.js +549 -163
  74. package/components/layout/index.umd.cjs +1 -1
  75. package/components/list-nav/index.esm.js +837 -39
  76. package/components/list-nav/index.umd.cjs +1 -1
  77. package/components/list-view/index.esm.js +427 -646
  78. package/components/list-view/index.umd.cjs +6 -6
  79. package/components/lookup/index.esm.js +3624 -3625
  80. package/components/lookup/index.umd.cjs +1 -1
  81. package/components/mapping-editor/index.esm.js +5 -3
  82. package/components/mapping-editor/index.umd.cjs +1 -1
  83. package/components/menu-lookup/index.esm.js +577 -536
  84. package/components/menu-lookup/index.umd.cjs +6 -6
  85. package/components/nav/index.esm.js +311 -31
  86. package/components/nav/index.umd.cjs +1 -1
  87. package/components/number-range/index.esm.js +1641 -189
  88. package/components/number-range/index.umd.cjs +1 -1
  89. package/components/number-spinner/index.esm.js +82 -82
  90. package/components/number-spinner/index.umd.cjs +1 -1
  91. package/components/order/index.esm.js +1196 -851
  92. package/components/order/index.umd.cjs +6 -6
  93. package/components/page-footer/index.esm.js +331 -48
  94. package/components/page-footer/index.umd.cjs +1 -1
  95. package/components/page-header/index.esm.js +110 -116
  96. package/components/page-header/index.umd.cjs +1 -1
  97. package/components/pagination/index.esm.js +509 -232
  98. package/components/pagination/index.umd.cjs +1 -1
  99. package/components/progress/index.esm.js +353 -148
  100. package/components/progress/index.umd.cjs +3 -3
  101. package/components/property-editor/index.esm.js +157 -153
  102. package/components/property-editor/index.umd.cjs +1 -1
  103. package/components/property-panel/index.esm.js +1817 -854
  104. package/components/property-panel/index.umd.cjs +12 -5
  105. package/components/query-solution/index.css +1 -1
  106. package/components/query-solution/index.esm.js +6858 -3984
  107. package/components/query-solution/index.umd.cjs +13 -6
  108. package/components/response-layout/index.esm.js +1 -1
  109. package/components/response-layout/index.umd.cjs +1 -1
  110. package/components/schema-selector/index.esm.js +2448 -2222
  111. package/components/schema-selector/index.umd.cjs +7 -7
  112. package/components/search-box/index.esm.js +244 -72
  113. package/components/search-box/index.umd.cjs +1 -1
  114. package/components/section/index.esm.js +212 -209
  115. package/components/section/index.umd.cjs +2 -2
  116. package/components/smoke-detector/index.esm.js +179 -8
  117. package/components/smoke-detector/index.umd.cjs +1 -1
  118. package/components/sort-condition-editor/index.css +1 -0
  119. package/components/sort-condition-editor/index.esm.js +9493 -4
  120. package/components/sort-condition-editor/index.umd.cjs +427 -1
  121. package/components/splitter/index.esm.js +1172 -142
  122. package/components/splitter/index.umd.cjs +1 -1
  123. package/components/step/index.esm.js +47 -48
  124. package/components/step/index.umd.cjs +1 -1
  125. package/components/tabs/index.esm.js +490 -419
  126. package/components/tabs/index.umd.cjs +1 -1
  127. package/components/text/index.esm.js +217 -73
  128. package/components/text/index.umd.cjs +1 -1
  129. package/components/textarea/index.esm.js +29 -27
  130. package/components/textarea/index.umd.cjs +2 -2
  131. package/components/transfer/index.esm.js +760 -543
  132. package/components/transfer/index.umd.cjs +5 -5
  133. package/components/tree-grid/index.esm.js +129 -128
  134. package/components/tree-grid/index.umd.cjs +1 -1
  135. package/components/tree-view/index.esm.js +320 -153
  136. package/components/tree-view/index.umd.cjs +1 -1
  137. package/components/uploader/index.esm.js +1112 -607
  138. package/components/uploader/index.umd.cjs +2 -2
  139. package/components/verify-detail/index.esm.js +359 -106
  140. package/components/verify-detail/index.umd.cjs +1 -1
  141. package/components/video/index.esm.js +222 -89
  142. package/components/video/index.umd.cjs +1 -1
  143. package/components/weather/index.esm.js +290 -199
  144. package/components/weather/index.umd.cjs +1 -1
  145. package/designer/data-grid/index.esm.js +5301 -4507
  146. package/designer/data-grid/index.umd.cjs +17 -10
  147. package/designer/drawer/index.esm.js +626 -615
  148. package/designer/drawer/index.umd.cjs +2 -2
  149. package/designer/dynamic-form/index.esm.js +2043 -1290
  150. package/designer/dynamic-form/index.umd.cjs +8 -1
  151. package/designer/farris-designer.all.esm.js +14263 -12505
  152. package/designer/farris-designer.all.umd.cjs +16 -16
  153. package/designer/list-view/index.esm.js +327 -327
  154. package/designer/list-view/index.umd.cjs +3 -3
  155. package/designer/modal/index.esm.js +29 -137
  156. package/designer/modal/index.umd.cjs +1 -1
  157. package/designer/radio-group/index.esm.js +238 -232
  158. package/designer/radio-group/index.umd.cjs +1 -1
  159. package/designer/response-layout-editor/index.esm.js +178 -171
  160. package/designer/response-layout-editor/index.umd.cjs +1 -1
  161. package/designer/response-toolbar/index.esm.js +1 -1
  162. package/designer/response-toolbar/index.umd.cjs +1 -1
  163. package/designer/section/index.esm.js +1 -6
  164. package/designer/section/index.umd.cjs +1 -1
  165. package/designer/tabs/index.esm.js +3431 -2493
  166. package/designer/tabs/index.umd.cjs +2 -2
  167. package/designer/time-picker/index.esm.js +195 -188
  168. package/designer/time-picker/index.umd.cjs +1 -1
  169. package/designer/tree-grid/index.esm.js +822 -464
  170. package/designer/tree-grid/index.umd.cjs +1 -1
  171. package/farris.all.esm.js +77525 -74884
  172. package/farris.all.umd.cjs +93 -93
  173. package/index.css +1 -1
  174. package/package.json +1 -1
  175. package/types/accordion/src/accordion.props.d.ts +1 -0
  176. package/types/accordion/src/components/accordion-item.props.d.ts +1 -0
  177. package/types/avatar/src/avatar.props.d.ts +1 -0
  178. package/types/binding-selector/index.d.ts +54 -0
  179. package/types/binding-selector/src/binding-selector.props.d.ts +1 -0
  180. package/types/button-group/index.d.ts +0 -15
  181. package/types/button-group/src/button-group.props.d.ts +1 -0
  182. package/types/code-editor/index.d.ts +1 -0
  183. package/types/code-editor/src/code-textbox.component.d.ts +6 -6
  184. package/types/code-editor/src/code-textbox.props.d.ts +2 -0
  185. package/types/color-picker/index.d.ts +15 -0
  186. package/types/color-picker/src/color-picker.props.d.ts +1 -0
  187. package/types/combo-list/src/composition/use-data-source.d.ts +2 -1
  188. package/types/combo-tree/src/combo-tree.props.d.ts +1 -0
  189. package/types/component/index.d.ts +2 -0
  190. package/types/component/src/component.props.d.ts +8 -0
  191. package/types/components.d.ts +8 -1
  192. package/types/condition/index.d.ts +55 -0
  193. package/types/condition/src/composition/condition-value/dropdown-value.d.ts +4 -0
  194. package/types/data-view/composition/types.d.ts +1 -1
  195. package/types/designer-canvas/src/composition/dg-control.d.ts +24 -0
  196. package/types/designer-toolbox/index.d.ts +3 -0
  197. package/types/designer-toolbox/src/toolbox.component.d.ts +14 -0
  198. package/types/designer-toolbox/src/toolbox.props.d.ts +29 -0
  199. package/types/designer-toolbox/src/types.d.ts +21 -0
  200. package/types/designer.d.ts +13 -0
  201. package/types/dropdown/index.d.ts +6 -27
  202. package/types/dropdown/src/dropdown.item.component.d.ts +1 -1
  203. package/types/dropdown/src/dropdown.props.d.ts +1 -0
  204. package/types/dynamic-form/designer.d.ts +1 -4
  205. package/types/dynamic-form/index.d.ts +6 -11
  206. package/types/dynamic-form/src/component/dynamic-form-label/dynamic-form-label.component.d.ts +3 -3
  207. package/types/dynamic-form/src/designer/dynamic-form.design.component.d.ts +8 -0
  208. package/types/dynamic-form/src/designer/response-form.design.props.d.ts +14 -0
  209. package/types/dynamic-form/src/designer/use-dynamic-form-rules.d.ts +2 -0
  210. package/types/dynamic-form/src/dynamic-form.component.d.ts +8 -0
  211. package/types/dynamic-form/src/response-form.props.d.ts +13 -1
  212. package/types/dynamic-form/src/schema/response-form-schema-resolver.d.ts +1 -0
  213. package/types/dynamic-form/src/types.d.ts +1 -0
  214. package/types/dynamic-resolver/index.d.ts +0 -3
  215. package/types/dynamic-resolver/src/resolver/property-config/property-config-resolver-design.d.ts +1 -1
  216. package/types/dynamic-resolver/src/resolver/property-config/property-config-resolver.d.ts +1 -1
  217. package/types/dynamic-resolver/src/resolver/property-config/use-property-config-resolver.d.ts +2 -2
  218. package/types/dynamic-resolver/src/resolver/schema/schema-resolver-design.d.ts +1 -1
  219. package/types/dynamic-resolver/src/resolver/schema/schema-resolver.d.ts +1 -1
  220. package/types/dynamic-resolver/src/types.d.ts +1 -0
  221. package/types/dynamic-view/index.d.ts +43 -3
  222. package/types/dynamic-view/src/components/maps.d.ts +110 -98
  223. package/types/dynamic-view/src/composition/index.d.ts +5 -0
  224. package/types/dynamic-view/src/composition/use-utils.d.ts +12 -0
  225. package/types/dynamic-view/src/dynamic-view.component.d.ts +6 -6
  226. package/types/{binding-selector/designer.d.ts → expression-editor/index.d.ts} +6 -6
  227. package/types/filter-condition-editor/index.d.ts +9 -0
  228. package/types/filter-condition-editor/src/components/filter-condition-grid.component.d.ts +12 -12
  229. package/types/filter-condition-editor/src/components/sort-editor-grid.component.d.ts +12 -12
  230. package/types/filter-condition-editor/src/filter-condition-editor.props.d.ts +1 -0
  231. package/types/flow-canvas/index.d.ts +3 -0
  232. package/types/flow-canvas/src/components/flow-node-item.component.d.ts +8 -0
  233. package/types/flow-canvas/src/components/flow-node-item.props.d.ts +3 -0
  234. package/types/flow-canvas/src/composition/types.d.ts +42 -0
  235. package/types/flow-canvas/src/composition/use-bezier-curve.d.ts +2 -0
  236. package/types/flow-canvas/src/composition/use-connections.d.ts +2 -0
  237. package/types/flow-canvas/src/composition/use-curve.d.ts +4 -0
  238. package/types/flow-canvas/src/composition/use-drawing-bezier.d.ts +2 -0
  239. package/types/flow-canvas/src/composition/use-drawing.d.ts +4 -0
  240. package/types/flow-canvas/src/flow-canvas.component.d.ts +8 -0
  241. package/types/flow-canvas/src/flow-canvas.props.d.ts +3 -0
  242. package/types/image-cropper/src/image-cropper.props.d.ts +1 -0
  243. package/types/index.d.ts +1 -0
  244. package/types/json-editor/src/json-editor.props.d.ts +1 -0
  245. package/types/language-textbox/index.d.ts +3 -3
  246. package/types/language-textbox/src/components/language-contents.component.d.ts +1 -1
  247. package/types/language-textbox/src/language-textbox.component.d.ts +1 -1
  248. package/types/layout/index.d.ts +0 -1
  249. package/types/layout/src/components/layout-pane.props.d.ts +1 -0
  250. package/types/layout/src/designer/layout-pane-use-designer-rules.d.ts +2 -0
  251. package/types/layout/src/designer/layout-pane.design.component.d.ts +8 -0
  252. package/types/layout/src/designer/layout-use-designer-rules.d.ts +2 -0
  253. package/types/layout/src/designer/layout.design.component.d.ts +8 -0
  254. package/types/layout/src/layout.props.d.ts +1 -0
  255. package/types/layout/src/schema/schema-mapper.d.ts +2 -0
  256. package/types/layout/src/schema/schema-resolver.d.ts +2 -0
  257. package/types/list-nav/index.d.ts +5 -24
  258. package/types/list-nav/src/designer/use-designer-rules.d.ts +2 -0
  259. package/types/list-nav/src/list-nav.props.d.ts +1 -0
  260. package/types/list-nav/src/property-config/list-nav.property-config.d.ts +8 -0
  261. package/types/list-nav/src/schema/schema-mapper.d.ts +2 -0
  262. package/types/list-nav/src/schema/schema-resolver.d.ts +2 -0
  263. package/types/list-view/index.d.ts +0 -1
  264. package/types/list-view/src/composition/use-draggable.d.ts +1 -1
  265. package/types/lookup/index.d.ts +1 -1
  266. package/types/lookup/src/components/popup-container.component.d.ts +3 -3
  267. package/types/menu-lookup/src/menu-lookup.props.d.ts +1 -0
  268. package/types/modal/designer.d.ts +0 -2
  269. package/types/nav/index.d.ts +20 -24
  270. package/types/nav/src/nav.props.d.ts +1 -0
  271. package/types/number-range/src/number-range.props.d.ts +1 -0
  272. package/types/order/index.d.ts +5 -36
  273. package/types/order/src/designer/order.design.component.d.ts +1 -1
  274. package/types/order/src/order.props.d.ts +1 -0
  275. package/types/page-footer/index.d.ts +2 -0
  276. package/types/page-footer/src/page-footer.props.d.ts +1 -0
  277. package/types/pagination/index.d.ts +0 -15
  278. package/types/pagination/src/pagination.props.d.ts +1 -0
  279. package/types/progress/src/progress.props.d.ts +1 -0
  280. package/types/property-panel/src/property-panel.component.d.ts +3 -3
  281. package/types/query-solution/index.d.ts +2 -1
  282. package/types/radio-group/designer.d.ts +1 -2
  283. package/types/search-box/index.d.ts +17 -1
  284. package/types/search-box/src/search-box.props.d.ts +1 -0
  285. package/types/section/designer.d.ts +0 -1
  286. package/types/smoke-detector/index.d.ts +2 -0
  287. package/types/smoke-detector/src/smoke-detector.props.d.ts +1 -0
  288. package/types/sort-condition-editor/index.d.ts +7 -2
  289. package/types/sort-condition-editor/src/sort-condition-editor.props.d.ts +1 -0
  290. package/types/splitter/index.d.ts +0 -1
  291. package/types/splitter/src/components/splitter-pane.props.d.ts +1 -0
  292. package/types/splitter/src/splitter.props.d.ts +1 -0
  293. package/types/tabs/designer.d.ts +0 -1
  294. package/types/tabs/index.d.ts +1 -0
  295. package/types/text/index.d.ts +20 -24
  296. package/types/text/src/text.props.d.ts +1 -0
  297. package/types/transfer/src/transfer.props.d.ts +1 -0
  298. package/types/tree-view/src/tree-view.props.d.ts +1 -0
  299. package/types/uploader/src/uploader.props.d.ts +1 -0
  300. package/types/verify-detail/index.d.ts +5 -58
  301. package/types/verify-detail/src/designer/verify-detail.design.component.d.ts +8 -8
  302. package/types/verify-detail/src/verify-detail.props.d.ts +1 -0
  303. package/types/video/index.d.ts +20 -24
  304. package/types/video/src/video.props.d.ts +1 -0
  305. package/components/dynamic-form/index.css +0 -1
  306. package/designer/accordion/index.esm.js +0 -257
  307. package/designer/accordion/index.umd.cjs +0 -1
  308. package/designer/avatar/index.esm.js +0 -1460
  309. package/designer/avatar/index.umd.cjs +0 -1
  310. package/designer/binding-selector/index.esm.js +0 -792
  311. package/designer/binding-selector/index.umd.cjs +0 -1
  312. package/designer/button-group/index.esm.js +0 -282
  313. package/designer/button-group/index.umd.cjs +0 -1
  314. package/designer/code-editor/index.esm.js +0 -75
  315. package/designer/code-editor/index.umd.cjs +0 -1
  316. package/designer/color-picker/index.esm.js +0 -1096
  317. package/designer/color-picker/index.umd.cjs +0 -1
  318. package/designer/combo-list/index.esm.js +0 -1095
  319. package/designer/combo-list/index.umd.cjs +0 -1
  320. package/designer/combo-tree/index.esm.js +0 -186
  321. package/designer/combo-tree/index.umd.cjs +0 -1
  322. package/designer/component/index.css +0 -1
  323. package/designer/component/index.esm.js +0 -5002
  324. package/designer/component/index.umd.cjs +0 -1
  325. package/designer/condition/index.esm.js +0 -1899
  326. package/designer/condition/index.umd.cjs +0 -1
  327. package/designer/dropdown/index.esm.js +0 -261
  328. package/designer/dropdown/index.umd.cjs +0 -1
  329. package/designer/expression-editor/index.css +0 -1
  330. package/designer/expression-editor/index.esm.js +0 -7006
  331. package/designer/expression-editor/index.umd.cjs +0 -427
  332. package/designer/filter-condition-editor/index.css +0 -1
  333. package/designer/filter-condition-editor/index.esm.js +0 -4795
  334. package/designer/filter-condition-editor/index.umd.cjs +0 -1
  335. package/designer/html-template/index.esm.js +0 -718
  336. package/designer/html-template/index.umd.cjs +0 -1
  337. package/designer/image-cropper/index.esm.js +0 -765
  338. package/designer/image-cropper/index.umd.cjs +0 -1
  339. package/designer/json-editor/index.esm.js +0 -83
  340. package/designer/json-editor/index.umd.cjs +0 -1
  341. package/designer/language-textbox/index.esm.js +0 -783
  342. package/designer/language-textbox/index.umd.cjs +0 -8
  343. package/designer/layout/index.esm.js +0 -430
  344. package/designer/layout/index.umd.cjs +0 -1
  345. package/designer/list-nav/index.esm.js +0 -802
  346. package/designer/list-nav/index.umd.cjs +0 -1
  347. package/designer/lookup/index.esm.js +0 -2083
  348. package/designer/lookup/index.umd.cjs +0 -1
  349. package/designer/menu-lookup/index.esm.js +0 -46
  350. package/designer/menu-lookup/index.umd.cjs +0 -1
  351. package/designer/nav/index.esm.js +0 -284
  352. package/designer/nav/index.umd.cjs +0 -1
  353. package/designer/number-range/index.esm.js +0 -1616
  354. package/designer/number-range/index.umd.cjs +0 -1
  355. package/designer/order/index.css +0 -1
  356. package/designer/order/index.esm.js +0 -2196
  357. package/designer/order/index.umd.cjs +0 -18
  358. package/designer/page-footer/index.esm.js +0 -290
  359. package/designer/page-footer/index.umd.cjs +0 -1
  360. package/designer/page-header/index.esm.js +0 -1003
  361. package/designer/page-header/index.umd.cjs +0 -1
  362. package/designer/pagination/index.esm.js +0 -591
  363. package/designer/pagination/index.umd.cjs +0 -1
  364. package/designer/progress/index.esm.js +0 -213
  365. package/designer/progress/index.umd.cjs +0 -1
  366. package/designer/search-box/index.esm.js +0 -245
  367. package/designer/search-box/index.umd.cjs +0 -1
  368. package/designer/smoke-detector/index.css +0 -1
  369. package/designer/smoke-detector/index.esm.js +0 -178
  370. package/designer/smoke-detector/index.umd.cjs +0 -1
  371. package/designer/sort-condition-editor/index.esm.js +0 -138
  372. package/designer/sort-condition-editor/index.umd.cjs +0 -1
  373. package/designer/splitter/index.esm.js +0 -1120
  374. package/designer/splitter/index.umd.cjs +0 -1
  375. package/designer/step/index.esm.js +0 -226
  376. package/designer/step/index.umd.cjs +0 -1
  377. package/designer/text/index.esm.js +0 -147
  378. package/designer/text/index.umd.cjs +0 -1
  379. package/designer/transfer/index.esm.js +0 -254
  380. package/designer/transfer/index.umd.cjs +0 -1
  381. package/designer/tree-view/index.esm.js +0 -313
  382. package/designer/tree-view/index.umd.cjs +0 -1
  383. package/designer/uploader/index.esm.js +0 -1190
  384. package/designer/uploader/index.umd.cjs +0 -2
  385. package/designer/verify-detail/index.esm.js +0 -258
  386. package/designer/verify-detail/index.umd.cjs +0 -1
  387. package/designer/video/index.esm.js +0 -136
  388. package/designer/video/index.umd.cjs +0 -1
  389. package/designer/weather/index.css +0 -1
  390. package/designer/weather/index.esm.js +0 -6244
  391. package/designer/weather/index.umd.cjs +0 -14
  392. package/types/accordion/designer.d.ts +0 -44
  393. package/types/avatar/designer.d.ts +0 -29
  394. package/types/button-group/designer.d.ts +0 -29
  395. package/types/code-editor/designer.d.ts +0 -5
  396. package/types/color-picker/designer.d.ts +0 -29
  397. package/types/combo-list/designer.d.ts +0 -29
  398. package/types/combo-list/src/designer/combo-list.design.props.d.ts +0 -6
  399. package/types/combo-tree/designer.d.ts +0 -5
  400. package/types/component/designer.d.ts +0 -35
  401. package/types/condition/designer.d.ts +0 -56
  402. package/types/dropdown/designer.d.ts +0 -6
  403. package/types/dynamic-form/src/composition/use-input-type-resolver.d.ts +0 -11
  404. package/types/expression-editor/designer.d.ts +0 -9
  405. package/types/filter-condition-editor/designer.d.ts +0 -10
  406. package/types/html-template/designer.d.ts +0 -31
  407. package/types/html-template/src/designer/html-template.design.props.d.ts +0 -9
  408. package/types/image-cropper/designer.d.ts +0 -4
  409. package/types/json-editor/designer.d.ts +0 -5
  410. package/types/menu-lookup/designer.d.ts +0 -5
  411. package/types/nav/designer.d.ts +0 -6
  412. package/types/number-range/designer.d.ts +0 -29
  413. package/types/order/designer.d.ts +0 -6
  414. package/types/page-footer/designer.d.ts +0 -6
  415. package/types/page-header/src/designer/page-header.design.props.d.ts +0 -20
  416. package/types/pagination/designer.d.ts +0 -29
  417. package/types/progress/designer.d.ts +0 -29
  418. package/types/search-box/designer.d.ts +0 -52
  419. package/types/smoke-detector/designer.d.ts +0 -6
  420. package/types/sort-condition-editor/designer.d.ts +0 -9
  421. package/types/splitter/designer.d.ts +0 -32
  422. package/types/step/designer.d.ts +0 -6
  423. package/types/text/designer.d.ts +0 -6
  424. package/types/transfer/designer.d.ts +0 -35
  425. package/types/tree-view/designer.d.ts +0 -29
  426. package/types/uploader/designer.d.ts +0 -141
  427. package/types/verify-detail/designer.d.ts +0 -6
  428. package/types/video/designer.d.ts +0 -6
  429. /package/{designer → components}/condition/index.css +0 -0
  430. /package/{designer → components}/uploader/index.css +0 -0
  431. /package/types/{dynamic-form/src/component/form-control/form-control.component.d.ts → list-nav/src/designer/list-nav.design.component.d.ts} +0 -0
@@ -1,22 +1,217 @@
1
- import { getCustomStyle as ne, getCustomClass as X, FormSchemaEntityFieldType$Type as Oe, withInstall as ue } from "../common/index.esm.js";
2
- import { ref as h, computed as L, createVNode as v, Fragment as W, watch as j, withModifiers as Pe, withDirectives as Be, vModelText as Re, defineComponent as _, onMounted as re, inject as le } from "vue";
3
- import { useFilter as Me, useIdentify as Le, useHierarchy as He, useGroupData as Ae, useDataView as Ee, useSelection as je, usePagination as Ge, useRow as Ne, useEdit as _e, useVisualDataBound as $e, useVisualDataCell as ze, useVisualDataRow as Ue, useVisualGroupRow as We, useVisualSummaryRow as De, useVisualData as qe, useSidebar as Ke, useColumn as Xe, useVirtualScroll as Ye, getPagination as Je } from "../data-view/index.esm.js";
4
- import { LocaleService as Y } from "../locale/index.esm.js";
5
- import { FCheckbox as J } from "../checkbox/index.esm.js";
6
- import Qe from "../button-edit/index.esm.js";
7
- import { resolveAppearance as Ze, createPropsResolver as ce, getPropsResolverGenerator as et } from "../dynamic-resolver/index.esm.js";
8
- import { isUndefined as tt } from "lodash-es";
9
- import nt from "../list-view/index.esm.js";
10
- import lt from "../../designer/button-edit/index.esm.js";
11
- import { useDesignerComponent as it } from "../designer-canvas/index.esm.js";
12
- import { comboListProps as de } from "../combo-list/index.esm.js";
13
- import { InputBaseProperty as at } from "../property-panel/index.esm.js";
14
- const ot = {
1
+ import { ref as g, computed as R, createVNode as u, Fragment as U, watch as j, withModifiers as Ae, withDirectives as He, vModelText as Ee, defineComponent as N, onMounted as ee, inject as Q } from "vue";
2
+ import { resolveAppearance as ue, createPropsResolver as ce, getPropsResolverGenerator as je } from "../dynamic-resolver/index.esm.js";
3
+ import { getCustomStyle as ae, getCustomClass as Z, FormSchemaEntityFieldType$Type as Y, withInstall as $e } from "../common/index.esm.js";
4
+ import { useFilter as Ge, useIdentify as Ne, useHierarchy as _e, useGroupData as ze, useDataView as Ue, useSelection as We, usePagination as qe, useRow as De, useEdit as Ke, useVisualDataBound as Xe, useVisualDataCell as Ye, useVisualDataRow as Je, useVisualGroupRow as Qe, useVisualSummaryRow as Ze, useVisualData as et, useSidebar as tt, useColumn as nt, useVirtualScroll as lt, getPagination as it } from "../data-view/index.esm.js";
5
+ import { LocaleService as te } from "../locale/index.esm.js";
6
+ import { FCheckbox as ne } from "../checkbox/index.esm.js";
7
+ import at from "../button-edit/index.esm.js";
8
+ import { isUndefined as ot } from "lodash-es";
9
+ import st from "../list-view/index.esm.js";
10
+ import rt from "../../designer/button-edit/index.esm.js";
11
+ import { useDesignerComponent as fe } from "../designer-canvas/index.esm.js";
12
+ import { InputBaseProperty as dt } from "../property-panel/index.esm.js";
13
+ const ut = /* @__PURE__ */ new Map([
14
+ ["appearance", ue]
15
+ ]), ct = "https://json-schema.org/draft/2020-12/schema", ft = "https://farris-design.gitee.io/order.schema.json", mt = "order", vt = "A Farris Component", gt = "object", ht = {
16
+ id: {
17
+ description: "The unique identifier for a order",
18
+ type: "string"
19
+ },
20
+ type: {
21
+ description: "The type string of order component",
22
+ type: "string",
23
+ default: "order"
24
+ },
25
+ appearance: {
26
+ description: "",
27
+ type: "object",
28
+ properties: {
29
+ class: {
30
+ type: "string"
31
+ },
32
+ style: {
33
+ type: "string"
34
+ }
35
+ },
36
+ default: {}
37
+ },
38
+ binding: {
39
+ description: "",
40
+ type: "object",
41
+ default: {}
42
+ },
43
+ editable: {
44
+ description: "",
45
+ type: "boolean",
46
+ default: !0
47
+ },
48
+ enableLinkLabel: {
49
+ description: "",
50
+ type: "boolean",
51
+ default: !1
52
+ },
53
+ label: {
54
+ description: "",
55
+ type: "string",
56
+ default: ""
57
+ },
58
+ lableWidth: {
59
+ description: "",
60
+ type: "number"
61
+ },
62
+ placeholder: {
63
+ description: "",
64
+ type: "string",
65
+ default: ""
66
+ },
67
+ readonly: {
68
+ description: "",
69
+ type: "boolean",
70
+ default: !1
71
+ },
72
+ required: {
73
+ description: "",
74
+ type: "boolean",
75
+ default: !1
76
+ },
77
+ tabindex: {
78
+ description: "",
79
+ type: "number",
80
+ default: -1
81
+ },
82
+ textAlign: {
83
+ description: "",
84
+ type: "string",
85
+ enum: [
86
+ "left",
87
+ "middle",
88
+ "right"
89
+ ],
90
+ default: "left"
91
+ },
92
+ visible: {
93
+ description: "",
94
+ type: "boolean",
95
+ default: !0
96
+ },
97
+ onBlur: {
98
+ description: "",
99
+ type: "string",
100
+ default: ""
101
+ },
102
+ onClickLinkLabel: {
103
+ description: "",
104
+ type: "string",
105
+ default: ""
106
+ }
107
+ }, yt = [
108
+ "id",
109
+ "type"
110
+ ], pt = {
111
+ $schema: ct,
112
+ $id: ft,
113
+ title: mt,
114
+ description: vt,
115
+ type: gt,
116
+ properties: ht,
117
+ required: yt
118
+ };
119
+ function bt(e, t, n) {
120
+ return t;
121
+ }
122
+ const Ct = "order", St = "A Farris Component", wt = "object", Ft = {
123
+ basic: {
124
+ description: "Basic Infomation",
125
+ title: "基本信息",
126
+ properties: {
127
+ id: {
128
+ description: "组件标识",
129
+ title: "标识",
130
+ type: "string",
131
+ readonly: !0
132
+ },
133
+ type: {
134
+ description: "组件类型",
135
+ title: "控件类型",
136
+ type: "select",
137
+ editor: {
138
+ type: "waiting for modification",
139
+ enum: []
140
+ }
141
+ }
142
+ }
143
+ },
144
+ behavior: {
145
+ description: "Basic Infomation",
146
+ title: "行为",
147
+ properties: {
148
+ editable: {
149
+ description: "",
150
+ title: "允许编辑",
151
+ type: "boolean"
152
+ },
153
+ readonly: {
154
+ description: "",
155
+ title: "只读",
156
+ type: "string"
157
+ },
158
+ required: {
159
+ description: "",
160
+ title: "必填",
161
+ type: "boolean"
162
+ },
163
+ visible: {
164
+ description: "",
165
+ title: "可见",
166
+ type: "boolean"
167
+ },
168
+ placeholder: {
169
+ description: "",
170
+ title: "提示文本",
171
+ type: "string"
172
+ },
173
+ tabindex: {
174
+ description: "",
175
+ title: "tab索引",
176
+ type: "number"
177
+ },
178
+ textAlign: {
179
+ description: "",
180
+ title: "对齐方式",
181
+ type: "enum",
182
+ editor: {
183
+ type: "combo-list",
184
+ textField: "name",
185
+ valueField: "value",
186
+ data: [
187
+ {
188
+ value: "left",
189
+ name: "左对齐"
190
+ },
191
+ {
192
+ value: "center",
193
+ name: "居中"
194
+ },
195
+ {
196
+ value: "right",
197
+ name: "右对齐"
198
+ }
199
+ ]
200
+ }
201
+ }
202
+ }
203
+ }
204
+ }, It = {
205
+ title: Ct,
206
+ description: St,
207
+ type: wt,
208
+ categories: Ft
209
+ }, le = {
15
210
  /** 排序列数据源 */
16
211
  dataSource: { type: Array, default: [] },
17
212
  /** 当前排序数组 */
18
213
  items: { type: Array, default: [] }
19
- }, st = {
214
+ }, oe = ce(le, pt, ut, bt, It), Vt = {
20
215
  /** 列集合 */
21
216
  columns: {
22
217
  type: Array,
@@ -84,226 +279,226 @@ const ot = {
84
279
  /** 分页 */
85
280
  pagination: { type: Object, default: { enable: !1, size: 20 } }
86
281
  };
87
- function ut(e, t) {
88
- function a(i) {
89
- const o = [];
90
- let d = i.nextNode();
91
- for (; d; )
92
- o.push(d), d = i.nextNode();
93
- return o;
94
- }
95
- function n(i, o) {
96
- const d = document.createTreeWalker(i, NodeFilter.SHOW_TEXT);
97
- return a(d).map((C) => ({ textNode: C, text: (C.textContent || "").toLocaleLowerCase() })).map(({ textNode: C, text: f }) => {
98
- const g = [];
99
- let O = 0;
100
- for (; O < f.length; ) {
101
- const c = f.indexOf(o, O);
102
- if (c === -1)
282
+ function kt(e, t) {
283
+ function n(o) {
284
+ const c = [];
285
+ let F = o.nextNode();
286
+ for (; F; )
287
+ c.push(F), F = o.nextNode();
288
+ return c;
289
+ }
290
+ function l(o, c) {
291
+ const F = document.createTreeWalker(o, NodeFilter.SHOW_TEXT);
292
+ return n(F).map((y) => ({ textNode: y, text: (y.textContent || "").toLocaleLowerCase() })).map(({ textNode: y, text: p }) => {
293
+ const C = [];
294
+ let x = 0;
295
+ for (; x < p.length; ) {
296
+ const V = p.indexOf(c, x);
297
+ if (V === -1)
103
298
  break;
104
- g.push(c), O = c + o.length;
299
+ C.push(V), x = V + c.length;
105
300
  }
106
- return g.map((c) => {
107
- const l = new Range();
108
- return l.setStart(C, c), l.setEnd(C, c + o.length), l;
301
+ return C.map((V) => {
302
+ const i = new Range();
303
+ return i.setStart(y, V), i.setEnd(y, V + c.length), i;
109
304
  });
110
305
  }).flat();
111
306
  }
112
- function r(i) {
113
- if (!CSS.highlights || (CSS.highlights.clear(), !i || !t))
307
+ function d(o) {
308
+ if (!CSS.highlights || (CSS.highlights.clear(), !o || !t))
114
309
  return;
115
- const o = n(t.value, i.toLocaleLowerCase()), d = new Highlight(...o);
116
- CSS.highlights.set("search-result", d);
310
+ const c = l(t.value, o.toLocaleLowerCase()), F = new Highlight(...c);
311
+ CSS.highlights.set("search-result", F);
117
312
  }
118
- return { search: r };
313
+ return { search: d };
119
314
  }
120
- function ie(e, t, a, n, r, i, o, d, w, b) {
121
- const V = h(e.size), C = h(e.textField), f = h(e.titleField), g = h(e.disableField), O = L(() => {
122
- var s, R;
123
- return ((s = e.selection) == null ? void 0 : s.multiSelect) && ((R = e.selection) == null ? void 0 : R.showCheckbox);
315
+ function se(e, t, n, l, d, o, c, F, T, b) {
316
+ const I = g(e.size), y = g(e.textField), p = g(e.titleField), C = g(e.disableField), x = R(() => {
317
+ var m, B;
318
+ return ((m = e.selection) == null ? void 0 : m.multiSelect) && ((B = e.selection) == null ? void 0 : B.showCheckbox);
124
319
  }), {
125
- onMouseenterItem: c,
126
- onMouseoverItem: l,
127
- onMouseoutItem: S
128
- } = i, {
129
- getKey: u,
130
- listViewItemClass: p,
131
- listViewItemStyle: T,
132
- onCheckItem: k,
133
- onClickItem: I
134
- } = o, x = L(() => {
135
- const s = {
320
+ onMouseenterItem: V,
321
+ onMouseoverItem: i,
322
+ onMouseoutItem: r
323
+ } = o, {
324
+ getKey: a,
325
+ listViewItemClass: s,
326
+ listViewItemStyle: S,
327
+ onCheckItem: v,
328
+ onClickItem: f
329
+ } = c, O = R(() => {
330
+ const m = {
136
331
  "text-overflow": "ellipsis",
137
332
  overflow: "hidden",
138
333
  "white-space": "nowrap"
139
334
  };
140
- return e.itemClass ? s : {
141
- margin: V.value === "small" ? "0.25rem 0" : "8px 0",
142
- ...s
335
+ return e.itemClass ? m : {
336
+ margin: I.value === "small" ? "0.25rem 0" : "8px 0",
337
+ ...m
143
338
  };
144
339
  });
145
- function F(s, R, A) {
146
- return s.checked = d.findIndexInSelectedItems(s) > -1, v("li", {
147
- class: p(s, R),
148
- id: u(s, R),
149
- key: u(s, R),
150
- style: T(s, R),
151
- onClick: (E) => I(s, R, E),
152
- onMouseenter: (E) => c(E, s, R),
153
- onMouseover: (E) => l(E, s, R),
154
- onMouseout: (E) => S(E, s, R)
155
- }, [O.value && v("div", {
340
+ function k(m, B, H) {
341
+ return m.checked = F.findIndexInSelectedItems(m) > -1, u("li", {
342
+ class: s(m, B),
343
+ id: a(m, B),
344
+ key: a(m, B),
345
+ style: S(m, B),
346
+ onClick: (E) => f(m, B, E),
347
+ onMouseenter: (E) => V(E, m, B),
348
+ onMouseover: (E) => i(E, m, B),
349
+ onMouseout: (E) => r(E, m, B)
350
+ }, [x.value && u("div", {
156
351
  class: "f-list-select",
157
352
  onClick: (E) => E.stopPropagation()
158
- }, [v(J, {
159
- id: "list-" + u(s, R),
353
+ }, [u(ne, {
354
+ id: "list-" + a(m, B),
160
355
  customClass: "listview-checkbox float-left",
161
- disabled: s[g.value],
162
- checked: s.checked,
163
- "onUpdate:checked": (E) => s.checked = E,
356
+ disabled: m[C.value],
357
+ checked: m.checked,
358
+ "onUpdate:checked": (E) => m.checked = E,
164
359
  onChange: (E) => {
165
- k(s, R, !E.checked);
360
+ v(m, B, !E.checked);
166
361
  }
167
- }, null)]), v("div", {
362
+ }, null)]), u("div", {
168
363
  class: "f-list-content"
169
- }, [v("div", {
364
+ }, [u("div", {
170
365
  class: e.itemContentClass,
171
- style: x.value,
172
- title: s.raw[f.value] || s.raw[C.value]
173
- }, [s.raw[C.value]])])]);
366
+ style: O.value,
367
+ title: m.raw[p.value] || m.raw[y.value]
368
+ }, [m.raw[y.value]])])]);
174
369
  }
175
370
  return {
176
- renderItem: F
371
+ renderItem: k
177
372
  };
178
373
  }
179
- function rt(e, t, a, n, r, i, o, d, w, b) {
180
- const V = h(e.multiSelect), C = h(e.disableField), f = h(e.textField), {
181
- onMouseenterItem: g,
182
- onMouseoverItem: O,
183
- onMouseoutItem: c
184
- } = i, {
185
- getKey: l,
186
- listViewItemClass: S,
187
- listViewItemStyle: u,
188
- onCheckItem: p,
189
- onClickItem: T,
190
- updateSelectedItems: k
191
- } = o;
192
- function I(F, s, R) {
193
- return e.contentTemplate ? v(W, null, [e.contentTemplate({
194
- item: F.raw,
195
- index: s,
196
- selectedItem: R
197
- })]) : t.slots.content ? v(W, null, [t.slots.content && t.slots.content({
198
- item: F.raw,
199
- index: s,
200
- selectedItem: R
201
- })]) : v("div", {
374
+ function Tt(e, t, n, l, d, o, c, F, T, b) {
375
+ const I = g(e.multiSelect), y = g(e.disableField), p = g(e.textField), {
376
+ onMouseenterItem: C,
377
+ onMouseoverItem: x,
378
+ onMouseoutItem: V
379
+ } = o, {
380
+ getKey: i,
381
+ listViewItemClass: r,
382
+ listViewItemStyle: a,
383
+ onCheckItem: s,
384
+ onClickItem: S,
385
+ updateSelectedItems: v
386
+ } = c;
387
+ function f(k, m, B) {
388
+ return e.contentTemplate ? u(U, null, [e.contentTemplate({
389
+ item: k.raw,
390
+ index: m,
391
+ selectedItem: B
392
+ })]) : t.slots.content ? u(U, null, [t.slots.content && t.slots.content({
393
+ item: k.raw,
394
+ index: m,
395
+ selectedItem: B
396
+ })]) : u("div", {
202
397
  style: "margin: 10px 0;"
203
- }, [F.raw[f.value || "name"]]);
204
- }
205
- function x(F, s, R) {
206
- return v("li", {
207
- class: S(F, s),
208
- id: l(F, s),
209
- key: l(F, s),
210
- style: u(F, s),
211
- onClick: (A) => T(F, s, A),
212
- onMouseenter: (A) => g(A, F, s),
213
- onMouseover: (A) => O(A, F, s),
214
- onMouseout: (A) => c(A, F, s)
215
- }, [V.value && v("div", {
398
+ }, [k.raw[p.value || "name"]]);
399
+ }
400
+ function O(k, m, B) {
401
+ return u("li", {
402
+ class: r(k, m),
403
+ id: i(k, m),
404
+ key: i(k, m),
405
+ style: a(k, m),
406
+ onClick: (H) => S(k, m, H),
407
+ onMouseenter: (H) => C(H, k, m),
408
+ onMouseover: (H) => x(H, k, m),
409
+ onMouseout: (H) => V(H, k, m)
410
+ }, [I.value && u("div", {
216
411
  class: "f-list-select",
217
- onClick: (A) => A.stopPropagation()
218
- }, [v(J, {
219
- id: "list-" + l(F, s),
412
+ onClick: (H) => H.stopPropagation()
413
+ }, [u(ne, {
414
+ id: "list-" + i(k, m),
220
415
  customClass: "listview-checkbox",
221
- disabled: F[C.value],
222
- checked: F.checked,
223
- "onUpdate:checked": (A) => F.checked = A,
224
- onChange: (A) => {
225
- p(F, s, !A.checked), k();
416
+ disabled: k[y.value],
417
+ checked: k.checked,
418
+ "onUpdate:checked": (H) => k.checked = H,
419
+ onChange: (H) => {
420
+ s(k, m, !H.checked), v();
226
421
  }
227
- }, null)]), v("div", {
422
+ }, null)]), u("div", {
228
423
  class: "f-list-content"
229
- }, [I(F, s, R)])]);
424
+ }, [f(k, m, B)])]);
230
425
  }
231
426
  return {
232
- renderItem: x
427
+ renderItem: O
233
428
  };
234
429
  }
235
- function ct(e, t, a, n, r, i, o, d, w, b) {
236
- const V = h(e.multiSelect), C = h(e.disableField), f = h(e.textField), {
237
- onMouseenterItem: g,
238
- onMouseoverItem: O,
239
- onMouseoutItem: c
240
- } = i, {
241
- getKey: l,
242
- listViewItemClass: S,
243
- onCheckItem: u,
244
- onClickItem: p
430
+ function xt(e, t, n, l, d, o, c, F, T, b) {
431
+ const I = g(e.multiSelect), y = g(e.disableField), p = g(e.textField), {
432
+ onMouseenterItem: C,
433
+ onMouseoverItem: x,
434
+ onMouseoutItem: V
245
435
  } = o, {
246
- dragstart: T,
247
- dragenter: k,
248
- dragover: I,
249
- dragend: x
250
- } = n, {
251
- removeItem: F
252
- } = w, s = L(() => ({
253
- margin: V.value ? "10px 0" : "10px 0px 10px 14px"
436
+ getKey: i,
437
+ listViewItemClass: r,
438
+ onCheckItem: a,
439
+ onClickItem: s
440
+ } = c, {
441
+ dragstart: S,
442
+ dragenter: v,
443
+ dragover: f,
444
+ dragend: O
445
+ } = l, {
446
+ removeItem: k
447
+ } = T, m = R(() => ({
448
+ margin: I.value ? "10px 0" : "10px 0px 10px 14px"
254
449
  }));
255
- function R(m, y = "") {
256
- const H = m.target;
257
- H.title = H.scrollWidth > H.clientWidth ? y : "";
450
+ function B(h, w = "") {
451
+ const A = h.target;
452
+ A.title = A.scrollWidth > A.clientWidth ? w : "";
258
453
  }
259
- function A(m) {
260
- return v("div", {
261
- style: s.value,
262
- onMouseenter: (y) => R(y, m.raw[f.value || "name"])
263
- }, [m.raw[f.value || "name"]]);
454
+ function H(h) {
455
+ return u("div", {
456
+ style: m.value,
457
+ onMouseenter: (w) => B(w, h.raw[p.value || "name"])
458
+ }, [h.raw[p.value || "name"]]);
264
459
  }
265
460
  function E() {
266
- return t.slots.itemContent ? t.slots.itemContent : A;
267
- }
268
- const N = E();
269
- function P(m, y, H) {
270
- return v("li", {
271
- class: S(m, y),
272
- id: l(m, y),
273
- key: l(m, y),
274
- onClick: (B) => p(m, y, B),
275
- onMouseenter: (B) => g(B, m, y),
276
- onMouseover: (B) => O(B, m, y),
277
- onMouseout: (B) => c(B, m, y),
461
+ return t.slots.itemContent ? t.slots.itemContent : H;
462
+ }
463
+ const G = E();
464
+ function P(h, w, A) {
465
+ return u("li", {
466
+ class: r(h, w),
467
+ id: i(h, w),
468
+ key: i(h, w),
469
+ onClick: (M) => s(h, w, M),
470
+ onMouseenter: (M) => C(M, h, w),
471
+ onMouseover: (M) => x(M, h, w),
472
+ onMouseout: (M) => V(M, h, w),
278
473
  draggable: "true",
279
- onDragstart: (B) => T(B, m, y),
280
- onDragenter: (B) => k(B, y),
281
- onDragend: (B) => x(B, m),
282
- onDragover: (B) => I(B)
283
- }, [V.value && v("div", {
474
+ onDragstart: (M) => S(M, h, w),
475
+ onDragenter: (M) => v(M, w),
476
+ onDragend: (M) => O(M, h),
477
+ onDragover: (M) => f(M)
478
+ }, [I.value && u("div", {
284
479
  class: "f-list-select",
285
- onClick: (B) => B.stopPropagation()
286
- }, [v(J, {
287
- id: "list-" + l(m, y),
480
+ onClick: (M) => M.stopPropagation()
481
+ }, [u(ne, {
482
+ id: "list-" + i(h, w),
288
483
  customClass: "listview-checkbox",
289
- disabled: m[C.value] || !m.checked,
290
- checked: m.checked,
291
- "onUpdate:checked": (B) => m.checked = B,
292
- onChange: (B) => u(m, y, !B.checked)
293
- }, null)]), v("div", {
484
+ disabled: h[y.value] || !h.checked,
485
+ checked: h.checked,
486
+ "onUpdate:checked": (M) => h.checked = M,
487
+ onChange: (M) => a(h, w, !M.checked)
488
+ }, null)]), u("div", {
294
489
  class: "f-list-content"
295
- }, [N(m)]), v("div", {
490
+ }, [G(h)]), u("div", {
296
491
  class: "f-list-remove",
297
- onClick: (B) => {
298
- B.stopPropagation(), F(y);
492
+ onClick: (M) => {
493
+ M.stopPropagation(), k(w);
299
494
  }
300
- }, [v("div", {
495
+ }, [u("div", {
301
496
  class: "f-list-remove-icon"
302
- }, [v("i", {
497
+ }, [u("i", {
303
498
  class: "f-icon f-icon-remove_face"
304
- }, null)])]), v("div", {
499
+ }, null)])]), u("div", {
305
500
  class: "f-list-handle"
306
- }, [v("div", null, [v("i", {
501
+ }, [u("div", null, [u("i", {
307
502
  class: "f-icon f-icon-drag-vertical"
308
503
  }, null)])])]);
309
504
  }
@@ -311,196 +506,196 @@ function ct(e, t, a, n, r, i, o, d, w, b) {
311
506
  renderItem: P
312
507
  };
313
508
  }
314
- function dt(e, t, a, n, r, i, o, d, w, b) {
315
- var l;
316
- const V = h(((l = e.group) == null ? void 0 : l.groupFields) || []), {
317
- collpaseGroupIconClass: C
318
- } = r, {
319
- toggleGroupRow: f
509
+ function Ot(e, t, n, l, d, o, c, F, T, b) {
510
+ var i;
511
+ const I = g(((i = e.group) == null ? void 0 : i.groupFields) || []), {
512
+ collpaseGroupIconClass: y
513
+ } = d, {
514
+ toggleGroupRow: p
320
515
  } = b;
321
- function g(S, u) {
322
- u.collapse = !u.collapse, a.value = f(u.collapse ? "collapse" : "expand", u, a.value);
323
- }
324
- function O(S, u, p) {
325
- return t.slots.group ? v(W, null, [t.slots.content && t.slots.group({
326
- item: S.raw,
327
- index: u,
328
- selectedItem: p
329
- })]) : v("div", {
516
+ function C(r, a) {
517
+ a.collapse = !a.collapse, n.value = p(a.collapse ? "collapse" : "expand", a, n.value);
518
+ }
519
+ function x(r, a, s) {
520
+ return t.slots.group ? u(U, null, [t.slots.content && t.slots.group({
521
+ item: r.raw,
522
+ index: a,
523
+ selectedItem: s
524
+ })]) : u("div", {
330
525
  class: "f-navlookup-recentHeader",
331
- onClick: (T) => g(T, S)
332
- }, [v("div", {
526
+ onClick: (S) => C(S, r)
527
+ }, [u("div", {
333
528
  class: "fv-grid-group-row-icon"
334
- }, [v("span", {
335
- class: C(S)
336
- }, null)]), v("div", {
529
+ }, [u("span", {
530
+ class: y(r)
531
+ }, null)]), u("div", {
337
532
  class: "f-navlookup-recommandLabel"
338
- }, [S.raw[V.value[S.layer]]])]);
533
+ }, [r.raw[I.value[r.layer]]])]);
339
534
  }
340
- function c(S, u, p) {
341
- return S.layer > -1 && O(S, u, p);
535
+ function V(r, a, s) {
536
+ return r.layer > -1 && x(r, a, s);
342
537
  }
343
538
  return {
344
- renderItem: c
539
+ renderItem: V
345
540
  };
346
541
  }
347
- function ft(e, t, a, n) {
348
- const { dataView: r } = a, { updateSelectedItems: i } = n;
349
- function o(d) {
350
- if (d > -1 && d < r.value.length) {
351
- if (e != null && e.checkBeforeRemoveItem && !e.checkBeforeRemoveItem(r.value[d]))
542
+ function Pt(e, t, n, l) {
543
+ const { dataView: d } = n, { updateSelectedItems: o } = l;
544
+ function c(F) {
545
+ if (F > -1 && F < d.value.length) {
546
+ if (e != null && e.checkBeforeRemoveItem && !e.checkBeforeRemoveItem(d.value[F]))
352
547
  return;
353
- const w = r.value.splice(d, 1);
354
- i(), t.emit("removeItem", w[0]);
548
+ const T = d.value.splice(F, 1);
549
+ o(), t.emit("removeItem", T[0]);
355
550
  }
356
551
  }
357
- return { removeItem: o };
552
+ return { removeItem: c };
358
553
  }
359
- function mt(e, t, a, n, r, i, o, d, w, b) {
360
- const V = h(e.view), C = h(e.view === "CardView"), f = h({}), g = ft(e, t, n, w), O = L(() => ({
554
+ function Mt(e, t, n, l, d, o, c, F, T, b) {
555
+ const I = g(e.view), y = g(e.view === "CardView"), p = g({}), C = Pt(e, t, l, T), x = R(() => ({
361
556
  "f-list-view-group": !0,
362
557
  "f-list-view-group-multiselect": e.multiSelect,
363
- "d-flex": C.value,
364
- "flex-wrap": C.value
365
- })), c = L(() => !!a.value && a.value.length > 0), l = L(() => a.value.length === 0);
366
- L(() => l.value && !t.slots.empty);
367
- function S() {
368
- return V.value === "SingleView" ? ie : V.value === "DraggableView" ? ct : (V.value === "ContentView" || V.value === "CardView") && (e.contentTemplate || t.slots.content) ? rt : ie;
369
- }
370
- const u = S(), {
371
- renderItem: p
372
- } = u(e, t, a, b, r, i, w, o, g, d), {
373
- renderItem: T
374
- } = dt(e, t, a, b, r, i, w, o, g, d), k = [p, T];
375
- function I() {
376
- return a.value.filter((s) => s.visible !== !1).map((s, R) => k[s.type](s, R, f));
558
+ "d-flex": y.value,
559
+ "flex-wrap": y.value
560
+ })), V = R(() => !!n.value && n.value.length > 0), i = R(() => n.value.length === 0);
561
+ R(() => i.value && !t.slots.empty);
562
+ function r() {
563
+ return I.value === "SingleView" ? se : I.value === "DraggableView" ? xt : (I.value === "ContentView" || I.value === "CardView") && (e.contentTemplate || t.slots.content) ? Tt : se;
564
+ }
565
+ const a = r(), {
566
+ renderItem: s
567
+ } = a(e, t, n, b, d, o, T, c, C, F), {
568
+ renderItem: S
569
+ } = Ot(e, t, n, b, d, o, T, c, C, F), v = [s, S];
570
+ function f() {
571
+ return n.value.filter((m) => m.visible !== !1).map((m, B) => v[m.type](m, B, p));
377
572
  }
378
- function x() {
379
- return v("div", {
573
+ function O() {
574
+ return u("div", {
380
575
  class: "f-list-view-emptydata",
381
576
  style: "margin: 0 auto;"
382
- }, [v("p", {
577
+ }, [u("p", {
383
578
  class: "f-empty-title"
384
- }, [e.emptyTemplate ? e.emptyTemplate() : t.slots.empty ? t.slots.empty() : Y.getLocaleValue("listView.emptyMessage")])]);
579
+ }, [e.emptyTemplate ? e.emptyTemplate() : t.slots.empty ? t.slots.empty() : te.getLocaleValue("listView.emptyMessage")])]);
385
580
  }
386
- function F() {
387
- return v("ul", {
388
- class: O.value,
581
+ function k() {
582
+ return u("ul", {
583
+ class: x.value,
389
584
  style: "list-style: none;"
390
- }, [c.value && I(), l.value && x()]);
585
+ }, [V.value && f(), i.value && O()]);
391
586
  }
392
587
  return {
393
- renderListArea: F
588
+ renderListArea: k
394
589
  };
395
590
  }
396
- function vt(e, t, a) {
397
- function n() {
398
- return t.slots.header && v("div", {
591
+ function Bt(e, t, n) {
592
+ function l() {
593
+ return t.slots.header && u("div", {
399
594
  class: "f-list-view-header"
400
595
  }, [t.slots.header()]);
401
596
  }
402
597
  return {
403
- renderHeader: n
598
+ renderHeader: l
404
599
  };
405
600
  }
406
- function ae(e, t, a) {
407
- const n = h(e.headerClass), r = h(e.placeholder), i = h(""), o = L(() => !i.value), d = L(() => !!i.value);
408
- function w(f) {
409
- i.value = "";
601
+ function re(e, t, n) {
602
+ const l = g(e.headerClass), d = g(e.placeholder), o = g(""), c = R(() => !o.value), F = R(() => !!o.value);
603
+ function T(p) {
604
+ o.value = "";
410
605
  }
411
- j(i, (f) => {
412
- e.enableHighlightSearch && a.search(f), t.emit("afterSearch", f);
606
+ j(o, (p) => {
607
+ e.enableHighlightSearch && n.search(p), t.emit("afterSearch", p);
413
608
  });
414
- const b = L(() => {
415
- const f = {
609
+ const b = R(() => {
610
+ const p = {
416
611
  "form-group": !0,
417
612
  "farris-form-group": !0
418
613
  };
419
- return n.value && n.value.split(" ").reduce((O, c) => (O[c] = !0, O), f), f;
614
+ return l.value && l.value.split(" ").reduce((x, V) => (x[V] = !0, x), p), p;
420
615
  });
421
- function V(f) {
616
+ function I(p) {
422
617
  }
423
- function C() {
424
- return v("div", {
618
+ function y() {
619
+ return u("div", {
425
620
  class: "f-list-view-header",
426
- onClick: Pe(() => V, ["prevent", "stop"])
427
- }, [v("div", {
621
+ onClick: Ae(() => I, ["prevent", "stop"])
622
+ }, [u("div", {
428
623
  class: b.value
429
- }, [v("div", {
624
+ }, [u("div", {
430
625
  class: "farris-input-wrap"
431
- }, [v("div", {
626
+ }, [u("div", {
432
627
  class: "f-cmp-inputgroup"
433
- }, [v("div", {
628
+ }, [u("div", {
434
629
  class: "input-group f-state-editable"
435
- }, [Be(v("input", {
630
+ }, [He(u("input", {
436
631
  class: "form-control f-utils-fill text-left",
437
- "onUpdate:modelValue": (f) => i.value = f,
632
+ "onUpdate:modelValue": (p) => o.value = p,
438
633
  name: "input-group-value",
439
634
  type: "text",
440
- placeholder: r.value,
635
+ placeholder: d.value,
441
636
  autocomplete: "off"
442
- }, null), [[Re, i.value]]), v("div", {
637
+ }, null), [[Ee, o.value]]), u("div", {
443
638
  class: "input-group-append"
444
- }, [d.value && v("span", {
639
+ }, [F.value && u("span", {
445
640
  class: "input-group-text input-group-clear",
446
- onClick: (f) => w()
447
- }, [v("i", {
641
+ onClick: (p) => T()
642
+ }, [u("i", {
448
643
  class: "f-icon f-icon-close-circle"
449
- }, null)]), o.value && v("span", {
644
+ }, null)]), c.value && u("span", {
450
645
  class: "input-group-text"
451
- }, [v("span", {
646
+ }, [u("span", {
452
647
  class: "f-icon f-icon-search"
453
648
  }, null)])])])])])])]);
454
649
  }
455
650
  return {
456
- renderHeader: C
651
+ renderHeader: y
457
652
  };
458
653
  }
459
- function gt() {
460
- const e = h(""), t = h(-1), a = h(""), n = h(-1), r = h(!1);
461
- function i(C, f, g) {
462
- n.value = g;
654
+ function Rt() {
655
+ const e = g(""), t = g(-1), n = g(""), l = g(-1), d = g(!1);
656
+ function o(y, p, C) {
657
+ l.value = C;
463
658
  }
464
- function o(C, f, g) {
465
- r.value || (n.value = g);
659
+ function c(y, p, C) {
660
+ d.value || (l.value = C);
466
661
  }
467
- function d(C, f, g) {
468
- n.value = -1;
662
+ function F(y, p, C) {
663
+ l.value = -1;
469
664
  }
470
- function w() {
471
- r.value = !0;
665
+ function T() {
666
+ d.value = !0;
472
667
  }
473
668
  function b() {
474
- r.value = !1;
669
+ d.value = !1;
475
670
  }
476
- function V() {
671
+ function I() {
477
672
  t.value = -1, e.value = "";
478
673
  }
479
674
  return {
480
675
  activeIndex: t,
481
- focusedItemId: a,
482
- hoverIndex: n,
483
- clearActiveItem: V,
484
- onMouseenterItem: i,
485
- onMouseoverItem: o,
486
- onMouseoutItem: d,
676
+ focusedItemId: n,
677
+ hoverIndex: l,
678
+ clearActiveItem: I,
679
+ onMouseenterItem: o,
680
+ onMouseoverItem: c,
681
+ onMouseoutItem: F,
487
682
  resumeHover: b,
488
- suspendHover: w
683
+ suspendHover: T
489
684
  };
490
685
  }
491
- function ht(e, t, a, n) {
492
- const r = h(e.idField), { dataView: i } = a, o = h(-1), d = h(!1), { activeIndex: w, focusedItemId: b, hoverIndex: V, resumeHover: C, suspendHover: f } = n;
493
- let g, O = 0, c = 0;
494
- function l(I, x) {
495
- const F = I - O, s = x - c;
496
- g.style.left = parseInt(g.style.left) + F + "px", g.style.top = parseInt(g.style.top) + s + "px", O = I, c = x;
497
- }
498
- function S(I) {
499
- const { left: x, top: F } = I.getBoundingClientRect(), s = I.cloneNode(!0);
500
- return s.className = s.className + " f-listview-drag-moving", s.style.cssText = `
686
+ function Lt(e, t, n, l) {
687
+ const d = g(e.idField), { dataView: o } = n, c = g(-1), F = g(!1), { activeIndex: T, focusedItemId: b, hoverIndex: I, resumeHover: y, suspendHover: p } = l;
688
+ let C, x = 0, V = 0;
689
+ function i(f, O) {
690
+ const k = f - x, m = O - V;
691
+ C.style.left = parseInt(C.style.left) + k + "px", C.style.top = parseInt(C.style.top) + m + "px", x = f, V = O;
692
+ }
693
+ function r(f) {
694
+ const { left: O, top: k } = f.getBoundingClientRect(), m = f.cloneNode(!0);
695
+ return m.className = m.className + " f-listview-drag-moving", m.style.cssText = `
501
696
  position:absolute;
502
- left:${x}px;
503
- top:${document.documentElement.scrollTop ? F + document.documentElement.scrollTop : F}px;
697
+ left:${O}px;
698
+ top:${document.documentElement.scrollTop ? k + document.documentElement.scrollTop : k}px;
504
699
  z-index: 999999;
505
700
  pointer-events: none;
506
701
  border-radius: 10px;
@@ -509,224 +704,224 @@ function ht(e, t, a, n) {
509
704
  align-items: center;
510
705
  float: none;
511
706
  text-align: initial;
512
- width:${getComputedStyle(I).width};
513
- height:${getComputedStyle(I).height};
514
- `, s.children[0].style.cssText = "overflow: hidden;flex: 1 1 auto;width: 100%;", s.children[0].children[0].style.cssText = `
707
+ width:${getComputedStyle(f).width};
708
+ height:${getComputedStyle(f).height};
709
+ `, m.children[0].style.cssText = "overflow: hidden;flex: 1 1 auto;width: 100%;", m.children[0].children[0].style.cssText = `
515
710
  margin: 10px 0px 10px 14px;
516
711
  overflow: hidden;text-overflow: ellipsis;white-space: nowrap;
517
- `, s.children[1].style.cssText = "width: 30px;padding: 0 14px 0 0", s.children[2].style.cssText = "padding: 0 14px 0 0;", document.body.appendChild(s), s;
712
+ `, m.children[1].style.cssText = "width: 30px;padding: 0 14px 0 0", m.children[2].style.cssText = "padding: 0 14px 0 0;", document.body.appendChild(m), m;
518
713
  }
519
- function u(I, x, F) {
520
- if (I.stopPropagation(), f(), x) {
521
- if (g = S(I.target), I.dataTransfer) {
522
- const s = new Image();
523
- s.src = "", I.dataTransfer.setDragImage(s, 0, 0);
714
+ function a(f, O, k) {
715
+ if (f.stopPropagation(), p(), O) {
716
+ if (C = r(f.target), f.dataTransfer) {
717
+ const m = new Image();
718
+ m.src = "", f.dataTransfer.setDragImage(m, 0, 0);
524
719
  }
525
- O = I.pageX, c = I.pageY, setTimeout(() => {
526
- o.value = F, d.value = !0, x.moving = !0;
720
+ x = f.pageX, V = f.pageY, setTimeout(() => {
721
+ c.value = k, F.value = !0, O.moving = !0;
527
722
  });
528
723
  }
529
724
  }
530
- function p(I, x) {
531
- if (I.preventDefault(), o.value !== x) {
532
- const F = i.value[o.value], s = i.value;
533
- s.splice(o.value, 1), s.splice(x, 0, F), o.value = x, l(I.pageX, I.pageY);
725
+ function s(f, O) {
726
+ if (f.preventDefault(), c.value !== O) {
727
+ const k = o.value[c.value], m = o.value;
728
+ m.splice(c.value, 1), m.splice(O, 0, k), c.value = O, i(f.pageX, f.pageY);
534
729
  }
535
730
  }
536
- function T(I) {
537
- I.preventDefault(), I.dataTransfer && (I.dataTransfer.dropEffect = "move"), l(I.pageX, I.pageY);
731
+ function S(f) {
732
+ f.preventDefault(), f.dataTransfer && (f.dataTransfer.dropEffect = "move"), i(f.pageX, f.pageY);
538
733
  }
539
- function k(I, x) {
540
- x && (x.moving = !1, g && (document.body.removeChild(g), g = null)), i.value.forEach((F, s) => {
541
- F.__fv_index__ = s;
542
- }), d.value = !1, C(), V.value = x.raw.__fv_index__, w.value = x.raw.__fv_index__, b.value = x.raw[r.value], t.emit("change", i.value), t.emit("activeChange", [x.raw]);
734
+ function v(f, O) {
735
+ O && (O.moving = !1, C && (document.body.removeChild(C), C = null)), o.value.forEach((k, m) => {
736
+ k.__fv_index__ = m;
737
+ }), F.value = !1, y(), I.value = O.raw.__fv_index__, T.value = O.raw.__fv_index__, b.value = O.raw[d.value], t.emit("change", o.value), t.emit("activeChange", [O.raw]);
543
738
  }
544
739
  return {
545
- dragstart: u,
546
- dragenter: p,
547
- dragover: T,
548
- dragend: k,
549
- isDragging: d
740
+ dragstart: a,
741
+ dragenter: s,
742
+ dragover: S,
743
+ dragend: v,
744
+ isDragging: F
550
745
  };
551
746
  }
552
- function yt(e, t, a, n, r, i) {
553
- const o = h(e.idField), d = h(e.disableField), w = h(e.draggable);
554
- h(e.itemClass);
555
- const b = h(e.selection.multiSelect ?? !1), V = h(e.selection.multiSelectMode), { isDragging: C } = n, { activeIndex: f, focusedItemId: g, hoverIndex: O } = r, { clearSelection: c, getSelectedItems: l, toggleSelectItem: S, currentSelectedDataId: u } = i, p = h(l()), T = (P) => p.value.length === 0 ? !1 : p.value.some((m) => {
556
- let y = "";
557
- return m.data ? y = m.data[o.value] : y = m[o.value], y === P;
747
+ function At(e, t, n, l, d, o) {
748
+ const c = g(e.idField), F = g(e.disableField), T = g(e.draggable);
749
+ g(e.itemClass);
750
+ const b = g(e.selection.multiSelect ?? !1), I = g(e.selection.multiSelectMode), { isDragging: y } = l, { activeIndex: p, focusedItemId: C, hoverIndex: x } = d, { clearSelection: V, getSelectedItems: i, toggleSelectItem: r, currentSelectedDataId: a } = o, s = g(i()), S = (P) => s.value.length === 0 ? !1 : s.value.some((h) => {
751
+ let w = "";
752
+ return h.data ? w = h.data[c.value] : w = h[c.value], w === P;
558
753
  });
559
- function k() {
560
- p.value = l();
754
+ function v() {
755
+ s.value = i();
561
756
  }
562
- function I(P, m) {
563
- return P.raw[o.value] != null ? P.raw[o.value] : "";
757
+ function f(P, h) {
758
+ return P.raw[c.value] != null ? P.raw[c.value] : "";
564
759
  }
565
- function x(P, m) {
566
- const y = {
760
+ function O(P, h) {
761
+ const w = {
567
762
  "f-list-view-group-item": !0,
568
- "f-list-view-draggable-item": w.value,
763
+ "f-list-view-draggable-item": T.value,
569
764
  "f-un-click": !P.checked,
570
- "f-un-select": !!P.raw[d.value],
765
+ "f-un-select": !!P.raw[F.value],
571
766
  "f-listview-active": (
572
767
  // 多选
573
- b.value && T(I(P)) || // 单选
574
- !b.value && P.raw[o.value] === u.value
768
+ b.value && S(f(P)) || // 单选
769
+ !b.value && P.raw[c.value] === a.value
575
770
  ),
576
- "f-listview-hover": !C.value && m === O.value,
771
+ "f-listview-hover": !y.value && h === x.value,
577
772
  moving: !!P.moving
578
773
  };
579
774
  if (typeof e.itemClass == "string")
580
- return X(y, e.itemClass);
775
+ return Z(w, e.itemClass);
581
776
  if (typeof e.itemClass == "function") {
582
- const H = e.itemClass(P);
583
- return X(y, H);
777
+ const A = e.itemClass(P);
778
+ return Z(w, A);
584
779
  }
585
- return y;
780
+ return w;
586
781
  }
587
- function F(P, m) {
588
- const y = {};
782
+ function k(P, h) {
783
+ const w = {};
589
784
  if (typeof e.itemStyle == "string")
590
- return ne(y, e.itemStyle);
785
+ return ae(w, e.itemStyle);
591
786
  if (typeof e.itemStyle == "function") {
592
- const H = e.itemStyle(P);
593
- return ne(y, H);
787
+ const A = e.itemStyle(P);
788
+ return ae(w, A);
594
789
  }
595
- return y;
790
+ return w;
596
791
  }
597
- const s = L(() => !b.value);
598
- function R(P, m, y) {
599
- P.checked = y, !P.raw[d.value] && (s.value && (g.value = P.raw[o.value]), S(P));
792
+ const m = R(() => !b.value);
793
+ function B(P, h, w) {
794
+ P.checked = w, !P.raw[F.value] && (m.value && (C.value = P.raw[c.value]), r(P));
600
795
  }
601
- const A = L(() => b.value && V.value === "OnCheckClearByClick"), E = L(() => !b.value || b.value && (V.value === "OnCheckAndClick" || V.value === "OnClick"));
602
- function N(P, m, y) {
603
- if (P.raw[d.value]) {
604
- y == null || y.preventDefault(), y == null || y.stopPropagation();
796
+ const H = R(() => b.value && I.value === "OnCheckClearByClick"), E = R(() => !b.value || b.value && (I.value === "OnCheckAndClick" || I.value === "OnClick"));
797
+ function G(P, h, w) {
798
+ if (P.raw[F.value]) {
799
+ w == null || w.preventDefault(), w == null || w.stopPropagation();
605
800
  return;
606
801
  }
607
- u.value = P.raw[o.value], g.value = P.raw[o.value], f.value = m, A.value && c(), E.value && (S(P), k()), t.emit("clickItem", { data: p.value, index: m, dataItem: P.raw }), t.emit("activeChange", p.value);
802
+ a.value = P.raw[c.value], C.value = P.raw[c.value], p.value = h, H.value && V(), E.value && (r(P), v()), t.emit("clickItem", { data: s.value, index: h, dataItem: P.raw }), t.emit("activeChange", s.value);
608
803
  }
609
804
  return {
610
- getKey: I,
611
- selectedItems: p,
612
- listViewItemClass: x,
613
- listViewItemStyle: F,
614
- updateSelectedItems: k,
615
- onCheckItem: R,
616
- onClickItem: N
805
+ getKey: f,
806
+ selectedItems: s,
807
+ listViewItemClass: O,
808
+ listViewItemStyle: k,
809
+ updateSelectedItems: v,
810
+ onCheckItem: B,
811
+ onClickItem: G
617
812
  };
618
813
  }
619
- const Ct = /* @__PURE__ */ _({
814
+ const me = /* @__PURE__ */ N({
620
815
  name: "FListView",
621
- props: st,
816
+ props: Vt,
622
817
  emits: ["afterSearch", "checkValuesChange", "clickItem", "selectItem", "unSelectItem", "selectionChange", "removeItem", "change", "activeChange", "pageIndexChanged", "pageSizeChanged", "changed", "selectionUpdate"],
623
818
  setup(e, t) {
624
- const a = h(), n = h(!0), r = h(!1), i = h([]), o = 0, d = h(e.columns), w = Me(e, t), b = Le(e), V = He(e), C = Ae(e, b), f = Ee(e, /* @__PURE__ */ new Map(), w, V, b), g = je(e, f, b, i, t), O = ut(e, a), c = Ge(e, f), l = L(() => f.dataView.value.length), S = Ne(e, t, g, b), u = _e(e, t, b, S, i), p = $e(e), T = ze(e, {}, p), k = Ue(e, f, u, V, b, p, T), I = We(e, b, T, k), x = De(e, b, T, k), F = qe(e, d, f, l, o, k, I, x), {
625
- getVisualData: s
626
- } = F;
627
- i.value = s(0, l.value + o - 1);
628
- const R = L(() => {
629
- const M = {
819
+ const n = g(), l = g(!0), d = g(!1), o = g([]), c = 0, F = g(e.columns), T = Ge(e, t), b = Ne(e), I = _e(e), y = ze(e, b), p = Ue(e, /* @__PURE__ */ new Map(), T, I, b), C = We(e, p, b, o, t), x = kt(e, n), V = qe(e, p), i = R(() => p.dataView.value.length), r = De(e, t, C, b), a = Ke(e, t, b, r, o), s = Xe(e), S = Ye(e, {}, s), v = Je(e, p, a, I, b, s, S), f = Qe(e, b, S, v), O = Ze(e, b, S, v), k = et(e, F, p, i, c, v, f, O), {
820
+ getVisualData: m
821
+ } = k;
822
+ o.value = m(0, i.value + c - 1);
823
+ const B = R(() => {
824
+ const L = {
630
825
  "f-list-view": !0,
631
826
  "f-list-view-multiple": e.multiSelect
632
827
  };
633
- return e.size !== "default" && (M[`${e.size}-item`] = !0), X(M, e.customClass);
634
- }), A = L(() => !!t.slots.footer || n.value);
828
+ return e.size !== "default" && (L[`${e.size}-item`] = !0), Z(L, e.customClass);
829
+ }), H = R(() => !!t.slots.footer || l.value);
635
830
  function E() {
636
- return e.header === "SearchBar" ? ae : e.header === "ContentHeader" ? vt : ae;
831
+ return e.header === "SearchBar" ? re : e.header === "ContentHeader" ? Bt : re;
637
832
  }
638
- const N = E(), {
833
+ const G = E(), {
639
834
  renderHeader: P
640
- } = N(e, t, O), m = gt(), y = ht(e, t, f, m), H = yt(e, t, i, y, m, g), {
641
- renderListArea: B
642
- } = mt(e, t, i, f, C, m, g, F, H, y);
643
- function $(M) {
644
- O.search(M);
835
+ } = G(e, t, x), h = Rt(), w = Lt(e, t, p, h), A = At(e, t, o, w, h, C), {
836
+ renderListArea: M
837
+ } = Mt(e, t, o, p, y, h, C, k, A, w);
838
+ function _(L) {
839
+ x.search(L);
645
840
  }
646
- function me(M) {
647
- M && (f.load(M), i.value = s(0, l.value + o - 1));
841
+ function be(L) {
842
+ L && (p.load(L), o.value = m(0, i.value + c - 1));
648
843
  }
649
- function ve() {
650
- g.clearSelection(), m.clearActiveItem();
844
+ function Ce() {
845
+ C.clearSelection(), h.clearActiveItem();
651
846
  }
652
- function ge() {
653
- return H.selectedItems.value;
847
+ function Se() {
848
+ return A.selectedItems.value;
654
849
  }
655
- function he() {
656
- return H.selectedItems.value.map((M) => M[b.idField.value]);
850
+ function we() {
851
+ return A.selectedItems.value.map((L) => L[b.idField.value]);
657
852
  }
658
- function te(M) {
659
- g.selectedValues.value = M, H.updateSelectedItems();
853
+ function ie(L) {
854
+ C.selectedValues.value = L, A.updateSelectedItems();
660
855
  }
661
- function ye() {
662
- return g.currentSelectedDataId.value;
856
+ function Fe() {
857
+ return C.currentSelectedDataId.value;
663
858
  }
664
- function Ce(M) {
665
- S.activeRowById(M);
859
+ function Ie(L) {
860
+ r.activeRowById(L);
666
861
  }
667
- function be(M) {
668
- const G = b.idField.value, z = i.value.find((K) => K.raw[G] === M), U = i.value.findIndex((K) => K.raw[G] === M);
669
- z && U > -1 && H.onClickItem(z, U);
862
+ function Ve(L) {
863
+ const $ = b.idField.value, z = o.value.find((X) => X.raw[$] === L), W = o.value.findIndex((X) => X.raw[$] === L);
864
+ z && W > -1 && A.onClickItem(z, W);
670
865
  }
671
- function pe(M) {
672
- const G = b.idField.value, z = i.value.find((U) => U.raw[G] === M);
673
- z && S.changeRow(z);
866
+ function ke(L) {
867
+ const $ = b.idField.value, z = o.value.find((W) => W.raw[$] === L);
868
+ z && r.changeRow(z);
674
869
  }
675
- function Se(M) {
676
- c.updatePagination(M);
870
+ function Te(L) {
871
+ V.updatePagination(L);
677
872
  }
678
- function we(M) {
679
- return i.value.filter((G) => M.includes(G.raw[e.idField]));
873
+ function xe(L) {
874
+ return o.value.filter(($) => L.includes($.raw[e.idField]));
680
875
  }
681
876
  t.expose({
682
- search: $,
683
- updateDataSource: me,
684
- clearSelection: ve,
685
- getSelections: ge,
686
- updateSelectionByIds: te,
687
- getSelectionIds: he,
688
- activeRowById: Ce,
689
- getCurrentRowId: ye,
690
- clickRowItemById: be,
691
- updatePagination: Se,
692
- getVisibleDataByIds: we,
693
- selectRowById: pe
877
+ search: _,
878
+ updateDataSource: be,
879
+ clearSelection: Ce,
880
+ getSelections: Se,
881
+ updateSelectionByIds: ie,
882
+ getSelectionIds: we,
883
+ activeRowById: Ie,
884
+ getCurrentRowId: Fe,
885
+ clickRowItemById: Ve,
886
+ updatePagination: Te,
887
+ getVisibleDataByIds: xe,
888
+ selectRowById: ke
694
889
  });
695
- function Ie(M) {
696
- e.multiSelect && (M.preventDefault(), M.stopPropagation());
890
+ function Oe(L) {
891
+ e.multiSelect && (L.preventDefault(), L.stopPropagation());
697
892
  }
698
- j(() => e.selectionValues, (M, G) => {
699
- M !== G && te(M);
893
+ j(() => e.selectionValues, (L, $) => {
894
+ L !== $ && ie(L);
700
895
  });
701
- const Fe = Ke(e, g), {
702
- sidebarWidth: Ve,
703
- showSidebarCheckBox: $t
704
- } = Fe, ke = Xe(e, t), {
705
- applyColumnSorter: zt,
706
- columnContext: Te,
707
- updateColumnRenderContext: Ut
708
- } = ke, xe = Ye(e, f, i, Te, F, l, o, Ve, u), {
709
- shouldRenderPagination: Wt
710
- } = c, {
711
- renderDataGridPagination: Dt
712
- } = Je(e, t, f, xe, c, g);
713
- return () => v("div", {
714
- class: R.value,
715
- onClick: Ie
716
- }, [P(), v("div", {
717
- ref: a,
896
+ const Pe = tt(e, C), {
897
+ sidebarWidth: Me,
898
+ showSidebarCheckBox: an
899
+ } = Pe, Be = nt(e, t), {
900
+ applyColumnSorter: on,
901
+ columnContext: Re,
902
+ updateColumnRenderContext: sn
903
+ } = Be, Le = lt(e, p, o, Re, k, i, c, Me, a), {
904
+ shouldRenderPagination: rn
905
+ } = V, {
906
+ renderDataGridPagination: dn
907
+ } = it(e, t, p, Le, V, C);
908
+ return () => u("div", {
909
+ class: B.value,
910
+ onClick: Oe
911
+ }, [P(), u("div", {
912
+ ref: n,
718
913
  class: "f-list-view-content",
719
914
  onMouseover: () => {
720
- r.value = !0;
915
+ d.value = !0;
721
916
  },
722
917
  onMouseleave: () => {
723
- r.value = !1;
918
+ d.value = !1;
724
919
  }
725
- }, [B()]), A.value && v("div", {
920
+ }, [M()]), H.value && u("div", {
726
921
  class: "f-list-view-footer"
727
922
  }, [e.footerTemplate ? e.footerTemplate() : t.slots.footer && t.slots.footer()])]);
728
923
  }
729
- }), bt = {
924
+ }), Ht = {
730
925
  /**
731
926
  * 组件标识
732
927
  */
@@ -752,58 +947,58 @@ const Ct = /* @__PURE__ */ _({
752
947
  */
753
948
  customClass: { type: Object, default: {} }
754
949
  };
755
- function pt(e, t) {
756
- function a(n) {
757
- n.stopPropagation(), e.disabled || t.emit("click", n);
950
+ function Et(e, t) {
951
+ function n(l) {
952
+ l.stopPropagation(), e.disabled || t.emit("click", l);
758
953
  }
759
954
  return {
760
- onClickButton: a
955
+ onClickButton: n
761
956
  };
762
957
  }
763
- function St(e) {
764
- const t = L(() => {
765
- const n = {
958
+ function jt(e) {
959
+ const t = R(() => {
960
+ const l = {
766
961
  "f-icon": !0
767
962
  };
768
963
  if (e.icon) {
769
- const r = e.icon.trim().split(" ");
770
- r && r.length && r.reduce((i, o) => (i[o] = !0, i), n);
964
+ const d = e.icon.trim().split(" ");
965
+ d && d.length && d.reduce((o, c) => (o[c] = !0, o), l);
771
966
  }
772
- return n;
773
- }), a = L(() => !!(e.icon && e.icon.trim()));
774
- return { iconClass: t, shouldShowIcon: a };
967
+ return l;
968
+ }), n = R(() => !!(e.icon && e.icon.trim()));
969
+ return { iconClass: t, shouldShowIcon: n };
775
970
  }
776
- const wt = /* @__PURE__ */ _({
971
+ const ve = /* @__PURE__ */ N({
777
972
  name: "FButton",
778
- props: bt,
973
+ props: Ht,
779
974
  emits: ["click"],
780
975
  setup(e, t) {
781
976
  const {
782
- onClickButton: a
783
- } = pt(e, t), {
784
- iconClass: n,
785
- shouldShowIcon: r
786
- } = St(e), i = L(() => {
787
- const o = {
977
+ onClickButton: n
978
+ } = Et(e, t), {
979
+ iconClass: l,
980
+ shouldShowIcon: d
981
+ } = jt(e), o = R(() => {
982
+ const c = {
788
983
  btn: !0,
789
984
  "btn-lg": e.size === "large",
790
985
  "btn-md": e.size !== "large" && e.size !== "small",
791
986
  "btn-sm": e.size === "small",
792
- "btn-icontext": r.value
987
+ "btn-icontext": d.value
793
988
  };
794
- return o[`btn-${e.type}`] = !0, e.customClass && Object.keys(e.customClass).reduce((d, w) => (d[w] = e.customClass[w], d), o), o;
989
+ return c[`btn-${e.type}`] = !0, e.customClass && Object.keys(e.customClass).reduce((F, T) => (F[T] = e.customClass[T], F), c), c;
795
990
  });
796
- return () => v("button", {
797
- class: i.value,
991
+ return () => u("button", {
992
+ class: o.value,
798
993
  disabled: e.disabled,
799
- onClick: (o) => a(o)
800
- }, [r.value && v("i", {
801
- class: n.value
994
+ onClick: (c) => n(c)
995
+ }, [d.value && u("i", {
996
+ class: l.value
802
997
  }, null), t.slots.default && t.slots.default()]);
803
998
  }
804
- }), Q = /* @__PURE__ */ new Map([
805
- ["appearance", Ze]
806
- ]), It = "https://json-schema.org/draft/2020-12/schema", Ft = "https://farris-design.gitee.io/combo-list.schema.json", Vt = "combo-list", kt = "A Farris Input Component", Tt = "object", xt = {
999
+ }), ge = /* @__PURE__ */ new Map([
1000
+ ["appearance", ue]
1001
+ ]), $t = "https://json-schema.org/draft/2020-12/schema", Gt = "https://farris-design.gitee.io/combo-list.schema.json", Nt = "combo-list", _t = "A Farris Input Component", zt = "object", Ut = {
807
1002
  id: {
808
1003
  description: "The unique identifier for a combo list",
809
1004
  type: "string"
@@ -894,6 +1089,10 @@ const wt = /* @__PURE__ */ _({
894
1089
  description: "",
895
1090
  type: "array"
896
1091
  },
1092
+ dataSource: {
1093
+ description: "",
1094
+ type: "string"
1095
+ },
897
1096
  remote: {
898
1097
  description: "",
899
1098
  type: "string"
@@ -1001,42 +1200,47 @@ const wt = /* @__PURE__ */ _({
1001
1200
  description: "清空事件",
1002
1201
  type: "string",
1003
1202
  default: ""
1203
+ },
1204
+ onDataChanged: {
1205
+ description: "清空事件",
1206
+ type: "string",
1207
+ default: ""
1004
1208
  }
1005
- }, Ot = [
1209
+ }, Wt = [
1006
1210
  "type"
1007
- ], Pt = [
1211
+ ], qt = [
1008
1212
  "id",
1009
1213
  "appearance",
1010
1214
  "binding",
1011
1215
  "visible"
1012
- ], Bt = {
1216
+ ], Dt = {
1013
1217
  onClear: "清空事件",
1014
1218
  onChange: "值变化事件",
1015
1219
  beforeOpen: "打开下拉面板前事件"
1016
- }, Z = {
1017
- $schema: It,
1018
- $id: Ft,
1019
- title: Vt,
1020
- description: kt,
1021
- type: Tt,
1022
- properties: xt,
1023
- required: Ot,
1024
- ignore: Pt,
1025
- events: Bt
1220
+ }, he = {
1221
+ $schema: $t,
1222
+ $id: Gt,
1223
+ title: Nt,
1224
+ description: _t,
1225
+ type: zt,
1226
+ properties: Ut,
1227
+ required: Wt,
1228
+ ignore: qt,
1229
+ events: Dt
1026
1230
  };
1027
- function ee(e, t, a) {
1231
+ function ye(e, t, n) {
1028
1232
  return t;
1029
1233
  }
1030
- function Rt() {
1031
- function e(t, a, n) {
1032
- const r = {};
1033
- return r.beforeOpen = (i) => a.call("beforeOpen", t, [i, t], n), r;
1234
+ function Kt() {
1235
+ function e(t, n, l) {
1236
+ const d = {};
1237
+ return d.beforeOpen = (o) => n.call("beforeOpen", t, [o, t], l), d;
1034
1238
  }
1035
1239
  return {
1036
1240
  resolve: e
1037
1241
  };
1038
1242
  }
1039
- const q = {
1243
+ const K = {
1040
1244
  /**
1041
1245
  * 组件标识
1042
1246
  */
@@ -1205,17 +1409,16 @@ const q = {
1205
1409
  enableHighlightSearch: { type: Boolean, default: !0 },
1206
1410
  minPanelWidth: { type: Number, default: 160 },
1207
1411
  popupOnClick: { type: Boolean, default: !0 }
1208
- };
1209
- Object.assign({}, q, {
1412
+ }, Xt = Object.assign({}, K, {
1210
1413
  readonly: {}
1211
1414
  });
1212
- ce(q, Z, Q, ee);
1213
- const fe = et(
1214
- q,
1215
- Z,
1216
- Q,
1217
- ee
1218
- ), Mt = Rt(), Lt = {
1415
+ ce(K, he, ge, ye);
1416
+ const pe = je(
1417
+ K,
1418
+ he,
1419
+ ge,
1420
+ ye
1421
+ ), Yt = Kt(), Jt = {
1219
1422
  dataSource: { type: Array, default: [] },
1220
1423
  enableSearch: { type: Boolean, default: !1 },
1221
1424
  idField: { type: String, default: "id" },
@@ -1236,311 +1439,307 @@ const fe = et(
1236
1439
  },
1237
1440
  // 搜索启用高亮
1238
1441
  enableHighlightSearch: { type: Boolean, default: !0 }
1239
- }, Ht = /* @__PURE__ */ _({
1442
+ }, Qt = /* @__PURE__ */ N({
1240
1443
  name: "FComboListContainer",
1241
- props: Lt,
1444
+ props: Jt,
1242
1445
  emits: ["selectionChange"],
1243
1446
  setup(e, t) {
1244
- const a = h(), n = h(e.dataSource), r = h([]), i = h(e.separator), o = h(e.width), d = h(e.maxHeight), w = L(() => e.multiSelect), b = h(e.multiSelect ? String(e.selectedValues).split(i.value) : [e.selectedValues]), V = L(() => ({
1447
+ const n = g(), l = g(e.dataSource), d = g([]), o = g(e.separator), c = g(e.width), F = g(e.maxHeight), T = R(() => e.multiSelect), b = g(e.multiSelect ? String(e.selectedValues).split(o.value) : [e.selectedValues]), I = R(() => ({
1245
1448
  enableSelectRow: !0,
1246
1449
  multiSelect: e.multiSelect,
1247
1450
  multiSelectMode: "OnCheckAndClick",
1248
- showCheckbox: w.value,
1451
+ showCheckbox: T.value,
1249
1452
  showSelectAll: !1,
1250
1453
  showSelection: !0
1251
1454
  }));
1252
1455
  j(e.dataSource, () => {
1253
- n.value = e.dataSource;
1254
- }), L(() => e.enableSearch ? "SearchBar" : "ContentHeader");
1255
- const C = L(() => {
1256
- const l = {};
1257
- return o.value !== void 0 && (l.width = `${o.value}px`), d.value !== void 0 && d.value > 0 && (l.maxHeight = `${d.value}px`), l;
1456
+ l.value = e.dataSource;
1457
+ }), R(() => e.enableSearch ? "SearchBar" : "ContentHeader");
1458
+ const y = R(() => {
1459
+ const i = {};
1460
+ return c.value !== void 0 && (i.width = `${c.value}px`), F.value !== void 0 && F.value > 0 && (i.maxHeight = `${F.value}px`), i;
1258
1461
  });
1259
- function f(l) {
1260
- a.value.search(l);
1462
+ function p(i) {
1463
+ n.value.search(i);
1261
1464
  }
1262
- function g(l) {
1263
- r.value = l.map((S) => Object.assign({}, S)), b.value = l.map((S) => S[e.idField]), t.emit("selectionChange", r.value);
1465
+ function C(i) {
1466
+ d.value = i.map((r) => Object.assign({}, r)), b.value = i.map((r) => r[e.idField]), t.emit("selectionChange", d.value);
1264
1467
  }
1265
- function O(l) {
1468
+ function x(i) {
1266
1469
  if (e.enableHighlightSearch)
1267
1470
  return;
1268
- let S = [];
1471
+ let r = [];
1269
1472
  const {
1270
- searchOption: u
1473
+ searchOption: a
1271
1474
  } = e;
1272
- typeof u == "function" ? S = n.value.filter((p) => u(l, p)) : S = n.value.filter((p) => p[e.valueField].indexOf(l) > -1 || p[e.textField].indexOf(l) > -1), a.value.updateDataSource(S);
1475
+ typeof a == "function" ? r = l.value.filter((s) => a(i, s)) : r = l.value.filter((s) => s[e.valueField].indexOf(i) > -1 || s[e.textField].indexOf(i) > -1), n.value.updateDataSource(r);
1273
1476
  }
1274
- j([() => e.selectedValues], ([l]) => {
1275
- e.multiSelect ? b.value = l.split(i.value) : b.value = [l];
1477
+ j([() => e.selectedValues], ([i]) => {
1478
+ e.multiSelect ? b.value = i.split(o.value) : b.value = [i];
1276
1479
  });
1277
- function c(l) {
1278
- a.value.activeRowById(l);
1480
+ function V(i) {
1481
+ n.value.activeRowById(i);
1279
1482
  }
1280
- return re(() => {
1281
- var l, S;
1483
+ return ee(() => {
1484
+ var i, r;
1282
1485
  if (!e.multiSelect) {
1283
- const u = (l = b.value) == null ? void 0 : l[0];
1284
- let p = u;
1285
- const T = n.value.map((k) => k[e.valueField || e.idField]);
1286
- if (!tt(u) && T.includes(u)) {
1287
- const k = typeof u, I = typeof ((S = n.value[0]) == null ? void 0 : S[e.valueField || e.idField]);
1288
- I === "number" && k !== I && (p = Number(u)), I === "boolean" && k !== I && (p = u === "true" ? !0 : u === "false" ? !1 : u), c(p);
1486
+ const a = (i = b.value) == null ? void 0 : i[0];
1487
+ let s = a;
1488
+ const S = l.value.map((v) => v[e.valueField || e.idField]);
1489
+ if (!ot(a) && S.includes(a)) {
1490
+ const v = typeof a, f = typeof ((r = l.value[0]) == null ? void 0 : r[e.valueField || e.idField]);
1491
+ f === "number" && v !== f && (s = Number(a)), f === "boolean" && v !== f && (s = a === "true" ? !0 : a === "false" ? !1 : a), V(s);
1289
1492
  }
1290
1493
  }
1291
1494
  }), t.expose({
1292
- search: f,
1293
- activeRowById: c
1294
- }), () => v("div", {
1495
+ search: p,
1496
+ activeRowById: V
1497
+ }), () => u("div", {
1295
1498
  class: "f-combo-list-container",
1296
- style: C.value
1297
- }, [v(nt, {
1298
- ref: a,
1499
+ style: y.value
1500
+ }, [u(st, {
1501
+ ref: n,
1299
1502
  size: "small",
1300
1503
  itemClass: "f-combo-list-item",
1301
1504
  itemContentClass: "text-truncate",
1302
1505
  header: "ContentHeader",
1303
1506
  headerClass: "f-combo-list-search-box",
1304
- data: n.value,
1507
+ data: l.value,
1305
1508
  idField: e.idField,
1306
1509
  textField: e.textField,
1307
1510
  titleField: e.titleField,
1308
1511
  multiSelect: e.multiSelect,
1309
- selection: V.value,
1512
+ selection: I.value,
1310
1513
  enableHighlightSearch: e.enableHighlightSearch,
1311
1514
  selectionValues: b.value,
1312
- onSelectionUpdate: g,
1313
- onAfterSearch: O
1515
+ onSelectionUpdate: C,
1516
+ onAfterSearch: x
1314
1517
  }, null)]);
1315
1518
  }
1316
1519
  });
1317
- function At(e) {
1318
- const t = h(""), a = h(e.modelValue), n = h(e.data || []), r = h(e.editable);
1319
- function i(c) {
1320
- const l = e.multiSelect ? String(c).split(e.separator) : [String(c)], S = l.map((T) => [T, !0]), u = new Map(S);
1321
- return n.value.filter((T) => u.has(String(T[e.valueField]))).sort((T, k) => {
1322
- const I = l.indexOf(T[e.valueField]), x = l.indexOf(k[e.valueField]);
1323
- return I - x;
1520
+ function Zt(e, t) {
1521
+ const n = g(""), l = g(e.modelValue), d = g(e.data || []), o = g(e.editable);
1522
+ function c(i) {
1523
+ const r = e.multiSelect ? String(i).split(e.separator) : [String(i)], a = r.map((v) => [v, !0]), s = new Map(a);
1524
+ return d.value.filter((v) => s.has(String(v[e.valueField]))).sort((v, f) => {
1525
+ const O = r.indexOf(v[e.valueField]), k = r.indexOf(f[e.valueField]);
1526
+ return O - k;
1324
1527
  });
1325
1528
  }
1326
- function o(c) {
1327
- const l = i(c).map((S) => S[e.textField]).join(e.separator);
1328
- t.value = r.value ? l || c : l;
1529
+ function F(i) {
1530
+ const r = c(i).map((a) => a[e.textField]).join(e.separator);
1531
+ n.value = o.value ? r || i : r;
1329
1532
  }
1330
- function d(c) {
1533
+ function T(i) {
1331
1534
  if (e.multiSelect) {
1332
- const l = c.split(e.separator).map((u) => [u, !0]), S = new Map(l);
1333
- return n.value.filter((u) => S.has(u[e.textField]));
1535
+ const r = i.split(e.separator).map((s) => [s, !0]), a = new Map(r);
1536
+ return d.value.filter((s) => a.has(s[e.textField]));
1334
1537
  }
1335
- return n.value.filter((l) => "" + l[e.textField] === c);
1538
+ return d.value.filter((r) => "" + r[e.textField] === i);
1336
1539
  }
1337
- function w(c) {
1338
- const l = {};
1339
- return l[e.idField] = c, l[e.textField] = c, [l];
1540
+ function b(i) {
1541
+ const r = {};
1542
+ return r[e.idField] = i, r[e.textField] = i, [r];
1340
1543
  }
1341
- function b(c) {
1342
- let l = d(c);
1343
- const S = l && l.length > 0;
1344
- return r.value && !S && (l = w(c)), l;
1544
+ function I(i) {
1545
+ let r = T(i);
1546
+ const a = r && r.length > 0;
1547
+ return o.value && !a && (r = b(i)), r;
1345
1548
  }
1346
- function V() {
1347
- const { url: c, method: l = "GET", headers: S = { "Content-Type": "application/json;charset=utf-8;" }, body: u = null } = e.remote;
1348
- if (!c)
1549
+ function y() {
1550
+ const { url: i, method: r = "GET", headers: a = { "Content-Type": "application/json;charset=utf-8;" }, body: s = null } = e.remote;
1551
+ if (!i)
1349
1552
  return;
1350
- const p = l.toLowerCase() === "get" ? { method: l, headers: S } : { method: l, headers: S, body: u };
1351
- let T = !1;
1352
- fetch(new Request(c, p)).then((k) => {
1353
- var x, F;
1354
- if (k.status === 200)
1355
- return T = !!((F = (x = k.headers) == null ? void 0 : x.get("content-type")) != null && F.includes("application/json")), T ? k.text() : k.json();
1356
- throw k.status === 405 ? new Error(Y.getLocaleValue("comboList.remoteError")) : new Error(k.statusText);
1357
- }).then((k) => {
1358
- k.length && (n.value = T ? JSON.parse(k) : k);
1359
- }).catch((k) => {
1360
- console.warn(k);
1553
+ const S = r.toLowerCase() === "get" ? { method: r, headers: a } : { method: r, headers: a, body: s };
1554
+ let v = !1;
1555
+ fetch(new Request(i, S)).then((f) => {
1556
+ var k, m;
1557
+ if (f.status === 200)
1558
+ return v = !!((m = (k = f.headers) == null ? void 0 : k.get("content-type")) != null && m.includes("application/json")), v ? f.text() : f.json();
1559
+ throw f.status === 405 ? new Error(te.getLocaleValue("comboList.remoteError")) : new Error(f.statusText);
1560
+ }).then((f) => {
1561
+ f.length && (d.value = v ? JSON.parse(f) : f);
1562
+ }).catch((f) => {
1563
+ console.warn(f);
1361
1564
  });
1362
1565
  }
1363
- e.remote && (e.load ? e.load().then((c) => {
1364
- n.value = c;
1365
- }).catch((c) => {
1366
- console.log(c);
1367
- }) : V()), j(() => e.data, () => {
1368
- n.value = e.data;
1369
- }), j([n], ([c]) => {
1370
- if (e.modelValue != null) {
1371
- const l = c.find((S) => S[e.valueField] === e.modelValue);
1372
- l && (t.value = l[e.textField]);
1566
+ e.remote && (e.load ? e.load().then((i) => {
1567
+ d.value = i;
1568
+ }).catch((i) => {
1569
+ console.log(i);
1570
+ }) : y()), j(() => e.data, () => {
1571
+ d.value = e.data;
1572
+ }), j([d], ([i], [r]) => {
1573
+ if (e.modelValue != null && !e.multiSelect) {
1574
+ const a = i.find((s) => s[e.valueField] === l.value);
1575
+ a ? a[e.valueField] !== l.value ? (l.value = a[e.valueField], n.value = a[e.textField], t.emit("update:modelValue", a[e.valueField]), t.emit("change", [a], a[e.valueField])) : n.value !== a[e.textField] && (n.value = a[e.textField]) : l.value !== "" && (l.value = "", n.value = "", t.emit("update:modelValue", ""), t.emit("change", [], ""));
1373
1576
  }
1374
- }), j(() => e.modelValue, (c) => {
1375
- a.value = c, o(c);
1577
+ }), j(() => e.modelValue, (i, r) => {
1578
+ r !== i && (l.value = i, F(i));
1376
1579
  });
1377
- function C(c) {
1378
- n.value = c;
1580
+ function p(i) {
1581
+ d.value = i, t.emit("dataChanged", i);
1379
1582
  }
1380
- function f() {
1381
- return n.value;
1583
+ function C() {
1584
+ return d.value;
1382
1585
  }
1383
- function g() {
1384
- return t.value;
1586
+ function x() {
1587
+ return n.value;
1385
1588
  }
1386
- function O() {
1387
- const c = typeof e.beforeOpen == "function";
1388
- return !e.beforeOpen || !c ? Promise.resolve(!0) : Promise.resolve().then(() => e.beforeOpen({ instance: { updateDataSource: C, getData: f, getDisplayText: g } })).then((l) => typeof (l == null ? void 0 : l.canOpen) == "boolean" ? l == null ? void 0 : l.canOpen : !0);
1389
- }
1390
- return o(e.modelValue), {
1391
- dataSource: n,
1392
- displayText: t,
1393
- editable: r,
1394
- modelValue: a,
1395
- beforeOpenList: O,
1396
- getItemsByDisplayText: d,
1397
- getItemsByValue: i,
1398
- getSelectedItemsByDisplayText: b
1589
+ function V() {
1590
+ const i = typeof e.beforeOpen == "function";
1591
+ return !e.beforeOpen || !i ? Promise.resolve(!0) : Promise.resolve().then(() => e.beforeOpen({ instance: { updateDataSource: p, getData: C, getDisplayText: x } })).then((r) => typeof (r == null ? void 0 : r.canOpen) == "boolean" ? r == null ? void 0 : r.canOpen : !0);
1592
+ }
1593
+ return F(e.modelValue), {
1594
+ dataSource: d,
1595
+ displayText: n,
1596
+ editable: o,
1597
+ modelValue: l,
1598
+ beforeOpenList: V,
1599
+ getItemsByDisplayText: T,
1600
+ getItemsByValue: c,
1601
+ getSelectedItemsByDisplayText: I
1399
1602
  };
1400
1603
  }
1401
- const D = /* @__PURE__ */ _({
1604
+ const q = /* @__PURE__ */ N({
1402
1605
  name: "FComboList",
1403
- props: q,
1404
- emits: ["clear", "update:modelValue", "change", "input"],
1606
+ props: K,
1607
+ emits: ["clear", "update:modelValue", "change", "input", "dataChanged"],
1405
1608
  setup(e, t) {
1406
- const a = h(), n = h(), r = h(e.disabled || e.readonly), i = h(e.enableClear), o = h(e.enableSearch), d = h(e.readonly), {
1407
- dataSource: w,
1609
+ const n = g(), l = g(), d = g(e.disabled || e.readonly), o = g(e.enableClear), c = g(e.enableSearch), F = g(e.readonly), {
1610
+ dataSource: T,
1408
1611
  displayText: b,
1409
- editable: V,
1410
- modelValue: C,
1411
- getItemsByDisplayText: f,
1412
- getItemsByValue: g,
1413
- beforeOpenList: O
1414
- } = At(e), c = h(e.dropDownIcon);
1415
- c.value === '<span class="f-icon f-icon-arrow-chevron-down"></span>' && (c.value = '<span id="' + e.id + '-icon-dropdown" class="f-icon f-icon-arrow-chevron-down"></span>');
1416
- const l = L(() => e.multiSelect), S = L(() => n.value ? n.value.elementRef.getBoundingClientRect().width : 0);
1417
- function u() {
1418
- !l.value && n.value && n.value.hidePopup();
1612
+ editable: I,
1613
+ modelValue: y,
1614
+ getItemsByDisplayText: p,
1615
+ getItemsByValue: C,
1616
+ beforeOpenList: x
1617
+ } = Zt(e, t), V = g(e.dropDownIcon);
1618
+ V.value === '<span class="f-icon f-icon-arrow-chevron-down"></span>' && (V.value = '<span id="' + e.id + '-icon-dropdown" class="f-icon f-icon-arrow-chevron-down"></span>');
1619
+ const i = R(() => e.multiSelect), r = R(() => l.value ? l.value.elementRef.getBoundingClientRect().width : 0);
1620
+ function a() {
1621
+ !i.value && l.value && l.value.hidePopup();
1419
1622
  }
1420
- function p(m) {
1421
- b.value = m.map((H) => H[e.textField]).join(e.separator) || C.value;
1422
- let y = "";
1423
- m.length === 1 ? y = m[0][e.valueField] : y = m.map((H) => H[e.valueField]).join(e.separator), C.value !== y && (C.value = y, t.emit("update:modelValue", C.value), t.emit("change", m, C.value));
1623
+ function s(h) {
1624
+ b.value = h.map((A) => A[e.textField]).join(e.separator) || y.value;
1625
+ let w = "";
1626
+ h.length === 1 ? w = h[0][e.valueField] : w = h.map((A) => A[e.valueField]).join(e.separator), y.value !== w && (y.value = w, t.emit("update:modelValue", y.value), t.emit("change", h, y.value));
1424
1627
  }
1425
- function T() {
1426
- const m = g(C.value);
1427
- p(m);
1628
+ function S() {
1629
+ const h = C(y.value);
1630
+ s(h);
1428
1631
  }
1429
- function k() {
1430
- d.value || b.value;
1632
+ function v() {
1633
+ F.value || b.value;
1431
1634
  }
1432
- function I(m) {
1433
- var y;
1434
- C.value = "", (y = a.value) == null || y.activeRowById(""), t.emit("clear");
1635
+ function f(h) {
1636
+ var w;
1637
+ y.value = "", (w = n.value) == null || w.activeRowById(""), t.emit("clear");
1435
1638
  }
1436
- function x(m) {
1437
- var y, H;
1438
- e.enableSearch && e.enableHighlightSearch && ((y = a.value) == null || y.search(m)), (H = a.value) == null || H.activeRowById(m), t.emit("change", [C.value], C.value);
1639
+ function O(h) {
1640
+ var w, A;
1641
+ e.enableSearch && e.enableHighlightSearch && ((w = n.value) == null || w.search(h)), (A = n.value) == null || A.activeRowById(h), t.emit("change", [y.value], y.value);
1439
1642
  }
1440
- function F(m) {
1643
+ function k(h) {
1441
1644
  if (e.multiSelect) {
1442
- const y = f(m);
1645
+ const w = p(h);
1443
1646
  e.viewType;
1444
- const B = y.map(($) => $[e.idField || e.valueField]).join(e.separator);
1445
- C.value !== B && (C.value = B, t.emit("update:modelValue", C.value), t.emit("change", y, C.value));
1446
- } else m !== C.value && (C.value = m, t.emit("update:modelValue", C.value), t.emit("change", [], m));
1647
+ const M = w.map((_) => _[e.idField || e.valueField]).join(e.separator);
1648
+ y.value !== M && (y.value = M, t.emit("update:modelValue", y.value), t.emit("change", w, y.value));
1649
+ } else h !== y.value && (y.value = h, t.emit("update:modelValue", y.value), t.emit("change", [], h));
1447
1650
  }
1448
- function s() {
1651
+ function m() {
1449
1652
  return b.value;
1450
1653
  }
1451
- function R(m) {
1654
+ function B(h) {
1452
1655
  const {
1453
- value: y
1454
- } = m.target;
1455
- x(y), t.emit("input", y);
1656
+ value: w
1657
+ } = h.target;
1658
+ O(w), t.emit("input", w);
1456
1659
  }
1457
- function A() {
1458
- n.value.hidePopup();
1660
+ function H() {
1661
+ l.value.hidePopup();
1459
1662
  }
1460
- function E(m) {
1461
- w.value = m;
1663
+ function E(h) {
1664
+ T.value = h;
1462
1665
  }
1463
- function N() {
1464
- return w.value;
1666
+ function G() {
1667
+ return T.value;
1465
1668
  }
1466
1669
  const P = {
1467
- getDisplayText: s,
1468
- hidePopup: A,
1670
+ getDisplayText: m,
1671
+ hidePopup: H,
1469
1672
  updateDataSource: E,
1470
- getData: N
1673
+ getData: G
1471
1674
  };
1472
- return t.expose(P), j([() => e.disabled, () => e.editable, () => e.enableClear, () => e.enableSearch, () => e.readonly], ([m, y, H, B, $]) => {
1473
- r.value = m, V.value = y, i.value = H, o.value = B, d.value = $;
1474
- }), () => v(Qe, {
1475
- ref: n,
1675
+ return t.expose(P), j([() => e.disabled, () => e.editable, () => e.enableClear, () => e.enableSearch, () => e.readonly], ([h, w, A, M, _]) => {
1676
+ d.value = h, I.value = w, o.value = A, c.value = M, F.value = _;
1677
+ }), () => u(at, {
1678
+ ref: l,
1476
1679
  id: e.id,
1477
- disable: r.value,
1478
- readonly: d.value,
1680
+ disable: d.value,
1681
+ readonly: F.value,
1479
1682
  forcePlaceholder: e.forcePlaceholder,
1480
- editable: V.value,
1481
- buttonContent: c.value,
1482
- placeholder: e.placeholder === "请选择" ? Y.getLocaleValue("comboList.placeholder") : e.placeholder,
1483
- enableClear: i.value,
1683
+ editable: I.value,
1684
+ buttonContent: V.value,
1685
+ placeholder: e.placeholder === "请选择" ? te.getLocaleValue("comboList.placeholder") : e.placeholder,
1686
+ enableClear: o.value,
1484
1687
  maxLength: e.maxLength,
1485
1688
  tabIndex: e.tabIndex,
1486
1689
  enableTitle: e.enableTitle,
1487
1690
  multiSelect: e.multiSelect,
1488
1691
  inputType: e.multiSelect ? e.viewType : "text",
1489
1692
  modelValue: b.value,
1490
- "onUpdate:modelValue": (m) => b.value = m,
1693
+ "onUpdate:modelValue": (h) => b.value = h,
1491
1694
  focusOnCreated: e.focusOnCreated,
1492
1695
  selectOnCreated: e.selectOnCreated,
1493
- onClear: I,
1494
- onClick: k,
1495
- onChange: F,
1496
- onBlur: T,
1497
- onInput: R,
1498
- beforeOpen: O,
1696
+ onClear: f,
1697
+ onClick: v,
1698
+ onChange: k,
1699
+ onBlur: S,
1700
+ onInput: B,
1701
+ beforeOpen: x,
1499
1702
  placement: e.placement,
1500
1703
  popupMinWidth: e.minPanelWidth,
1501
1704
  popupClass: "f-combo-list-wrapper",
1502
1705
  popupOnClick: e.popupOnClick,
1503
1706
  limitContentBySpace: !0
1504
1707
  }, {
1505
- default: () => [v(Ht, {
1506
- ref: a,
1708
+ default: () => [u(Qt, {
1709
+ ref: n,
1507
1710
  idField: e.idField,
1508
1711
  valueField: e.valueField,
1509
1712
  textField: e.textField,
1510
1713
  titleField: e.titleField,
1511
- dataSource: w.value,
1512
- selectedValues: C.value,
1714
+ dataSource: T.value,
1715
+ selectedValues: y.value,
1513
1716
  separator: e.separator,
1514
1717
  multiSelect: e.multiSelect,
1515
- enableSearch: o.value,
1718
+ enableSearch: c.value,
1516
1719
  maxHeight: e.maxHeight,
1517
1720
  enableHighlightSearch: e.enableHighlightSearch,
1518
- width: e.fitEditor ? S.value : void 0,
1519
- onSelectionChange: (m) => {
1520
- p(m), u();
1721
+ width: e.fitEditor ? r.value : void 0,
1722
+ onSelectionChange: (h) => {
1723
+ s(h), a();
1521
1724
  }
1522
1725
  }, null)]
1523
1726
  });
1524
1727
  }
1525
- }), Et = Object.assign({}, de, {
1526
- readonly: {}
1527
- });
1528
- ce(de, Z, Q, ee);
1529
- const oe = {
1728
+ }), de = {
1530
1729
  convertFrom: (e, t) => (e.editor.remote || {})[t],
1531
- convertTo: (e, t, a) => {
1532
- e.editor.remote = e.editor.remote || {}, e.editor.remote[t] = a;
1730
+ convertTo: (e, t, n) => {
1731
+ e.editor.remote = e.editor.remote || {}, e.editor.remote[t] = n;
1533
1732
  }
1534
1733
  };
1535
- class jt extends at {
1536
- constructor(t, a) {
1537
- super(t, a);
1734
+ class en extends dt {
1735
+ constructor(t, n) {
1736
+ super(t, n);
1538
1737
  }
1539
1738
  getCommonEditorProperties(t) {
1540
- var a, n, r;
1739
+ var n, l, d;
1541
1740
  return {
1542
1741
  viewType: {
1543
- visible: !!((a = t.editor) != null && a.multiSelect),
1742
+ visible: !!((n = t.editor) != null && n.multiSelect),
1544
1743
  description: "数据展示类型,有标签和文本两种方式",
1545
1744
  title: "数据展示类型",
1546
1745
  type: "enum",
@@ -1553,7 +1752,7 @@ class jt extends at {
1553
1752
  refreshPanelAfterChanged: !0
1554
1753
  },
1555
1754
  separator: {
1556
- visible: !!((n = t.editor) != null && n.multiSelect) && ((r = t.editor) == null ? void 0 : r.viewType) === "text",
1755
+ visible: !!((l = t.editor) != null && l.multiSelect) && ((d = t.editor) == null ? void 0 : d.viewType) === "text",
1557
1756
  description: "下拉列表启用多选且数据展示类型为文本时的分隔符",
1558
1757
  title: "分隔符",
1559
1758
  type: "enum",
@@ -1583,14 +1782,15 @@ class jt extends at {
1583
1782
  };
1584
1783
  }
1585
1784
  getEditorProperties(t) {
1586
- var i, o;
1587
- const a = this;
1588
- let n = "";
1589
- if (((i = t == null ? void 0 : t.binding) == null ? void 0 : i.type) === "Form") {
1590
- const d = this.schemaService.getFieldByIDAndVMID(t.binding.field, this.viewModelId);
1591
- (o = d == null ? void 0 : d.schemaField) != null && o.type && (n = d.schemaField.type.$type);
1785
+ var T, b, I, y, p, C, x, V, i, r, a, s;
1786
+ const n = this;
1787
+ let l = "";
1788
+ if (((T = t == null ? void 0 : t.binding) == null ? void 0 : T.type) === "Form") {
1789
+ const S = this.schemaService.getFieldByIDAndVMID(t.binding.field, this.viewModelId);
1790
+ (b = S == null ? void 0 : S.schemaField) != null && b.type && (l = S.schemaField.type.$type);
1592
1791
  }
1593
- return a.getComponentConfig(t, { type: "combo-list" }, {
1792
+ const d = this.getPropertyEditorParams(t, ["Variable"]), o = !t.editor.dataSourceType || t.editor.dataSourceType === "static", c = ((y = (I = this.designViewModelField) == null ? void 0 : I.type) == null ? void 0 : y.$type) === Y.StringType && ((p = t.editor) == null ? void 0 : p.type) === "combo-list" && ((C = t.editor) == null ? void 0 : C.dataSourceType) === "dynamic" && !((V = (x = t.editor) == null ? void 0 : x.remote) != null && V.url) && !((i = t.editor) != null && i.multiSelect);
1793
+ return n.getComponentConfig(t, { type: "combo-list" }, {
1594
1794
  // enableSearch: {
1595
1795
  // description: "编辑状态下启用搜索",
1596
1796
  // title: "允许编辑",
@@ -1614,21 +1814,33 @@ class jt extends at {
1614
1814
  },
1615
1815
  refreshPanelAfterChanged: !0
1616
1816
  },
1817
+ dataSource: {
1818
+ description: "动态数据源绑定变量",
1819
+ visible: c,
1820
+ title: "数据",
1821
+ editor: {
1822
+ ...d,
1823
+ controlName: "",
1824
+ enableClear: !0
1825
+ },
1826
+ refreshPanelAfterChanged: !0
1827
+ },
1617
1828
  data: {
1618
1829
  description: "",
1619
1830
  title: "数据",
1620
1831
  type: "array",
1621
- visible: !t.editor.dataSourceType || t.editor.dataSourceType === "static",
1622
- ...a.getItemCollectionEditor(t, t.editor.valueField, t.editor.textField),
1832
+ visible: o,
1833
+ ...n.getItemCollectionEditor(t, t.editor.valueField, t.editor.textField),
1623
1834
  // 这个属性,标记当属性变更得时候触发重新更新属性
1624
1835
  refreshPanelAfterChanged: !0
1625
1836
  },
1626
1837
  url: {
1627
- visible: t.editor.dataSourceType === "dynamic",
1628
- $converter: oe,
1838
+ visible: t.editor.dataSourceType === "dynamic" && !((r = t.editor) != null && r.dataSource),
1839
+ $converter: de,
1629
1840
  description: "",
1630
1841
  title: "服务端API",
1631
- type: "string"
1842
+ type: "string",
1843
+ refreshPanelAfterChanged: !0
1632
1844
  },
1633
1845
  // method: {
1634
1846
  // visible: propertyData.editor.dataSourceType === "dynamic",
@@ -1647,7 +1859,7 @@ class jt extends at {
1647
1859
  // },
1648
1860
  body: {
1649
1861
  visible: !1,
1650
- $converter: oe,
1862
+ $converter: de,
1651
1863
  description: "",
1652
1864
  title: "服务端API参数",
1653
1865
  type: "string"
@@ -1667,7 +1879,8 @@ class jt extends at {
1667
1879
  multiSelect: {
1668
1880
  description: "",
1669
1881
  title: "启用多选",
1670
- visible: !n || n === "StringType",
1882
+ visible: !l || l === "StringType",
1883
+ readonly: ((a = t.editor) == null ? void 0 : a.dataSourceType) === "dynamic" && !!((s = t.editor) != null && s.dataSource),
1671
1884
  type: "boolean",
1672
1885
  refreshPanelAfterChanged: !0
1673
1886
  },
@@ -1683,33 +1896,38 @@ class jt extends at {
1683
1896
  }
1684
1897
  },
1685
1898
  ...this.getCommonEditorProperties(t)
1686
- }, (d, w) => {
1687
- if (!d || !w.editor)
1899
+ }, (S, v) => {
1900
+ if (!S || !v.editor)
1688
1901
  return;
1689
- const b = this;
1690
- switch (d.propertyID) {
1902
+ const f = this;
1903
+ switch (S.propertyID) {
1691
1904
  case "dataSourceType": {
1692
- d.propertyValue === "static" ? (w.editor.valueField = "value", w.editor.textField = "name", w.editor.remote = null) : d.propertyValue === "dynamic" && (w.editor.remote = { method: "GET" }, w.editor.valueField = "value", w.editor.textField = "name");
1905
+ S.propertyValue === "static" ? (v.editor.valueField = "value", v.editor.textField = "name", v.editor.remote = null) : S.propertyValue === "dynamic" && (v.editor.remote = { method: "GET" }, v.editor.valueField = "value", v.editor.textField = "name");
1693
1906
  break;
1694
1907
  }
1695
1908
  case "data": {
1696
- !b.checkEnumDataReadonly(w) && w.formatter && (w.formatter.data = [...d.propertyValue]);
1909
+ !f.checkEnumDataReadonly(v) && v.formatter && (v.formatter.data = [...S.propertyValue]);
1910
+ break;
1911
+ }
1912
+ case "viewType": {
1913
+ S.propertyValue === "tag" && (v.editor.editable = !1);
1697
1914
  break;
1698
1915
  }
1699
- case "viewType":
1700
- d.propertyValue === "tag" && (w.editor.editable = !1);
1916
+ case "dataSource":
1917
+ f.afterMutilEditorChanged(v, S);
1701
1918
  }
1702
1919
  });
1703
1920
  }
1704
- getGridFieldEdtiorProperties(t, a) {
1705
- var o, d, w, b, V, C;
1706
- const n = this;
1707
- let r = "";
1708
- if (((o = t == null ? void 0 : t.binding) == null ? void 0 : o.type) === "Form") {
1709
- const f = this.schemaService.getFieldByIDAndVMID(t.binding.field, this.viewModelId);
1710
- (d = f == null ? void 0 : f.schemaField) != null && d.type && (r = f.schemaField.type.$type);
1921
+ getGridFieldEdtiorProperties(t, n) {
1922
+ var T, b, I, y, p, C, x, V, i, r, a, s, S;
1923
+ const l = this;
1924
+ let d = "";
1925
+ if (((T = t == null ? void 0 : t.binding) == null ? void 0 : T.type) === "Form") {
1926
+ const v = this.schemaService.getFieldByIDAndVMID(t.binding.field, this.viewModelId);
1927
+ (b = v == null ? void 0 : v.schemaField) != null && b.type && (d = v.schemaField.type.$type);
1711
1928
  }
1712
- return n.getComponentConfig(t, { type: "combo-list" }, {
1929
+ const o = ((y = (I = this.designViewModelField) == null ? void 0 : I.type) == null ? void 0 : y.$type) === Y.StringType && ((p = t.editor) == null ? void 0 : p.type) === "combo-list" && ((C = t.editor) == null ? void 0 : C.dataSourceType) === "dynamic" && !((x = t.editor) != null && x.multiSelect), c = this.getPropertyEditorParams(t, ["Variable"]);
1930
+ return l.getComponentConfig(t, { type: "combo-list" }, {
1713
1931
  // editable: {
1714
1932
  // description: "",
1715
1933
  // title: "允许编辑",
@@ -1721,25 +1939,36 @@ class jt extends at {
1721
1939
  title: "启用清空",
1722
1940
  type: "boolean"
1723
1941
  },
1724
- // dataSourceType: {
1725
- // description: "",
1726
- // title: "数据源类型",
1727
- // type: "enum",
1728
- // editor: {
1729
- // default: "static",
1730
- // data: [
1731
- // { id: "static", name: "静态" },
1732
- // { id: "dynamic", name: "动态" }
1733
- // ]
1734
- // },
1735
- // refreshPanelAfterChanged: true
1736
- // },
1942
+ dataSourceType: {
1943
+ description: "",
1944
+ title: "数据源类型",
1945
+ type: "enum",
1946
+ editor: {
1947
+ default: "static",
1948
+ data: [
1949
+ { id: "static", name: "静态" },
1950
+ { id: "dynamic", name: "动态" }
1951
+ ]
1952
+ },
1953
+ refreshPanelAfterChanged: !0
1954
+ },
1955
+ dataSource: {
1956
+ description: "动态数据源绑定变量",
1957
+ visible: o,
1958
+ title: "数据",
1959
+ editor: {
1960
+ ...c,
1961
+ controlName: "",
1962
+ enableClear: !0
1963
+ },
1964
+ refreshPanelAfterChanged: !0
1965
+ },
1737
1966
  data: {
1738
1967
  description: "",
1739
1968
  title: "数据",
1740
1969
  type: "array",
1741
- visible: !((w = t.editor) != null && w.dataSourceType) || ((b = t.editor) == null ? void 0 : b.dataSourceType) === "static",
1742
- ...n.getItemCollectionEditor(t, (V = t.editor) == null ? void 0 : V.valueField, (C = t.editor) == null ? void 0 : C.textField),
1970
+ visible: !((V = t.editor) != null && V.dataSourceType) || ((i = t.editor) == null ? void 0 : i.dataSourceType) === "static",
1971
+ ...l.getItemCollectionEditor(t, (r = t.editor) == null ? void 0 : r.valueField, (a = t.editor) == null ? void 0 : a.textField),
1743
1972
  // 这个属性,标记当属性变更得时候触发重新更新属性
1744
1973
  refreshPanelAfterChanged: !0
1745
1974
  },
@@ -1758,7 +1987,8 @@ class jt extends at {
1758
1987
  multiSelect: {
1759
1988
  description: "",
1760
1989
  title: "启用多选",
1761
- visible: r === "StringType",
1990
+ visible: d === "StringType",
1991
+ readonly: ((s = t.editor) == null ? void 0 : s.dataSourceType) === "dynamic" && !!((S = t.editor) != null && S.dataSource),
1762
1992
  type: "boolean",
1763
1993
  refreshPanelAfterChanged: !0
1764
1994
  },
@@ -1774,33 +2004,35 @@ class jt extends at {
1774
2004
  }
1775
2005
  },
1776
2006
  ...this.getCommonEditorProperties(t)
1777
- }, (f, g) => {
1778
- if (!f || !g.editor)
2007
+ }, (v, f) => {
2008
+ if (!v || !f.editor)
1779
2009
  return;
1780
2010
  const O = this;
1781
- switch (f.propertyID) {
2011
+ switch (v.propertyID) {
1782
2012
  case "dataSourceType": {
1783
- f.propertyValue === "static" ? (g.editor.valueField = "value", g.editor.textField = "name", g.editor.remote = null) : f.propertyValue === "dynamic" && (g.editor.remote = { method: "GET" }, g.editor.valueField = "value", g.editor.textField = "name");
2013
+ v.propertyValue === "static" ? (f.editor.valueField = "value", f.editor.textField = "name", f.editor.remote = null) : v.propertyValue === "dynamic" && (f.editor.remote = { method: "GET" }, f.editor.valueField = "value", f.editor.textField = "name");
1784
2014
  break;
1785
2015
  }
1786
2016
  case "data": {
1787
- !O.checkEnumDataReadonly(g) && g.formatter && (g.formatter.data = [...f.propertyValue]);
2017
+ !O.checkEnumDataReadonly(f) && f.formatter && (f.formatter.data = [...v.propertyValue]);
1788
2018
  break;
1789
2019
  }
2020
+ case "dataSource":
2021
+ O.afterMutilEditorChanged(f, v);
1790
2022
  }
1791
2023
  });
1792
2024
  }
1793
- setEditorPropertyRelates(t, a, n) {
1794
- if (!t || !a.editor)
2025
+ setEditorPropertyRelates(t, n, l) {
2026
+ if (!t || !n.editor)
1795
2027
  return;
1796
- const r = this;
2028
+ const d = this;
1797
2029
  switch (t.propertyID) {
1798
2030
  case "dataSourceType": {
1799
- t.propertyValue === "static" && (a.editor.valueField = "value", a.editor.textField = "name", a.editor.remote = {});
2031
+ t.propertyValue === "static" && (n.editor.valueField = "value", n.editor.textField = "name", n.editor.remote = {});
1800
2032
  break;
1801
2033
  }
1802
2034
  case "data": {
1803
- !r.checkEnumDataReadonly(a) && a.formatter && (a.formatter.data = [...t.propertyValue]);
2035
+ !d.checkEnumDataReadonly(n) && n.formatter && (n.formatter.data = [...t.propertyValue]);
1804
2036
  break;
1805
2037
  }
1806
2038
  }
@@ -1808,11 +2040,11 @@ class jt extends at {
1808
2040
  /**
1809
2041
  * 切换绑定属性
1810
2042
  */
1811
- changeBindingField(t, a, n) {
1812
- var i;
1813
- super.changeBindingField(t, a);
1814
- const r = n;
1815
- t.editor && ((i = r == null ? void 0 : r.type) == null ? void 0 : i.$type) === Oe.EnumType && (t.editor.data = r.type.enumValues || []);
2043
+ changeBindingField(t, n, l) {
2044
+ var o;
2045
+ super.changeBindingField(t, n);
2046
+ const d = l;
2047
+ t.editor && ((o = d == null ? void 0 : d.type) == null ? void 0 : o.$type) === Y.EnumType && (t.editor.data = d.type.enumValues || []);
1816
2048
  }
1817
2049
  /**
1818
2050
  * 组装输入类控件的交互面板:包含标签超链、绑定字段值变化前后事件等。
@@ -1821,9 +2053,9 @@ class jt extends at {
1821
2053
  * @param showPosition 面板展示位置
1822
2054
  * @param customEvent 输入控件特有的事件配置
1823
2055
  */
1824
- getEventPropertyConfig(t, a = "card", n, r) {
1825
- const i = this;
1826
- let o = [
2056
+ getEventPropertyConfig(t, n = "card", l, d) {
2057
+ const o = this;
2058
+ let c = [
1827
2059
  {
1828
2060
  label: "onChange",
1829
2061
  name: "值变化事件"
@@ -1837,42 +2069,42 @@ class jt extends at {
1837
2069
  name: "下拉面板前事件"
1838
2070
  }
1839
2071
  ];
1840
- n && (o = o.concat(n)), this.appendFieldValueChangeEvents(t, o);
1841
- const d = i.eventsEditorUtils.formProperties(t, i.viewModelId, o);
2072
+ l && (c = c.concat(l)), this.appendFieldValueChangeEvents(t, c);
2073
+ const F = o.eventsEditorUtils.formProperties(t, o.viewModelId, c);
1842
2074
  return {
1843
2075
  title: "事件",
1844
2076
  hideTitle: !0,
1845
- properties: i.createBaseEventProperty(d),
2077
+ properties: o.createBaseEventProperty(F),
1846
2078
  tabId: "commands",
1847
2079
  tabName: "交互",
1848
- setPropertyRelates(V, C) {
1849
- const f = V.propertyValue;
1850
- delete t[i.viewModelId], f && (f.setPropertyRelates = this.setPropertyRelates, i.eventsEditorUtils.saveRelatedParameters(t, i.viewModelId, f.events, f)), r && r(V, C, f);
1851
- const g = i.designViewModelUtils.getDgViewModel(i.viewModelId);
1852
- g && i.designViewModelField && g.changeField(i.designViewModelField.id, { valueChanging: t.fieldValueChanging, valueChanged: t.fieldValueChanged }), t.editor.beforeOpen !== t.beforeOpen && (t.editor.beforeOpen = t.beforeOpen), t.editor.onChange !== t.onChange && (t.editor.onChange = t.onChange), t.editor.onClear !== t.onClear && (t.editor.onClear = t.onClear);
2080
+ setPropertyRelates(I, y) {
2081
+ const p = I.propertyValue;
2082
+ delete t[o.viewModelId], p && (p.setPropertyRelates = this.setPropertyRelates, o.eventsEditorUtils.saveRelatedParameters(t, o.viewModelId, p.events, p)), d && d(I, y, p);
2083
+ const C = o.designViewModelUtils.getDgViewModel(o.viewModelId);
2084
+ C && o.designViewModelField && C.changeField(o.designViewModelField.id, { valueChanging: t.fieldValueChanging, valueChanged: t.fieldValueChanged }), t.editor.beforeOpen !== t.beforeOpen && (t.editor.beforeOpen = t.beforeOpen), t.editor.onChange !== t.onChange && (t.editor.onChange = t.onChange), t.editor.onClear !== t.onClear && (t.editor.onClear = t.onClear);
1853
2085
  }
1854
2086
  };
1855
2087
  }
1856
2088
  }
1857
- function Gt(e, t) {
1858
- const a = e.schema;
1859
- function n(r, i) {
1860
- return new jt(r, t).getPropertyConfig(a, i);
2089
+ function tn(e, t) {
2090
+ const n = e.schema;
2091
+ function l(d, o) {
2092
+ return new en(d, t).getPropertyConfig(n, o);
1861
2093
  }
1862
2094
  return {
1863
- getPropsConfig: n
2095
+ getPropsConfig: l
1864
2096
  };
1865
2097
  }
1866
- const Nt = /* @__PURE__ */ _({
2098
+ const nn = /* @__PURE__ */ N({
1867
2099
  name: "FComboListDesign",
1868
- props: Et,
2100
+ props: Xt,
1869
2101
  emits: ["clear", "update:modelValue", "change"],
1870
2102
  setup(e, t) {
1871
- const a = h(), n = le("designer-host-service"), r = le("design-item-context"), i = Gt(r, n), o = it(a, r, i);
1872
- return re(() => {
1873
- a.value.componentInstance = o;
1874
- }), t.expose(o.value), () => v(lt, {
1875
- ref: a,
2103
+ const n = g(), l = Q("designer-host-service"), d = Q("design-item-context"), o = tn(d, l), c = fe(n, d, o);
2104
+ return ee(() => {
2105
+ n.value.componentInstance = c;
2106
+ }), t.expose(c.value), () => u(rt, {
2107
+ ref: n,
1876
2108
  buttonContent: e.dropDownIcon,
1877
2109
  readonly: !0,
1878
2110
  editable: !1,
@@ -1882,125 +2114,238 @@ const Nt = /* @__PURE__ */ _({
1882
2114
  }, null);
1883
2115
  }
1884
2116
  });
1885
- D.register = (e, t, a, n, r) => {
1886
- e["combo-list"] = D, t["combo-list"] = fe(r), n["combo-list"] = { callbackResolver: Mt };
2117
+ q.register = (e, t, n, l, d) => {
2118
+ e["combo-list"] = q, t["combo-list"] = pe(d), l["combo-list"] = { callbackResolver: Yt };
1887
2119
  };
1888
- D.registerDesigner = (e, t, a, n) => {
1889
- e["combo-list"] = Nt, t["combo-list"] = fe(n);
2120
+ q.registerDesigner = (e, t, n, l) => {
2121
+ e["combo-list"] = nn, t["combo-list"] = pe(l);
1890
2122
  };
1891
- const se = ue(D), _t = /* @__PURE__ */ _({
2123
+ const D = $e(q), J = /* @__PURE__ */ N({
1892
2124
  name: "FOrder",
1893
- props: ot,
2125
+ props: le,
1894
2126
  emits: ["change"],
1895
2127
  setup(e, t) {
1896
- const a = h(), n = h(e.items);
2128
+ const n = g(), l = g(e.items);
2129
+ function d() {
2130
+ var s;
2131
+ const a = Array.isArray(e.items) ? e.items : [];
2132
+ l.value = [...a], (s = n.value) == null || s.updateDataSource(l.value);
2133
+ }
2134
+ j(() => e.items, d);
2135
+ const o = g("排序列"), c = g("排序方式"), F = g("添加排序列"), T = [{
2136
+ id: "asc",
2137
+ name: "升序"
2138
+ }, {
2139
+ id: "desc",
2140
+ name: "降序"
2141
+ }], b = g(/* @__PURE__ */ new Map());
2142
+ function I() {
2143
+ const a = l.value.map((s) => [s.id, !0]);
2144
+ b.value = new Map(a);
2145
+ }
2146
+ I();
2147
+ const y = R(() => e.dataSource.map((a) => (a.disabled = b.value.has(a.id), a))), p = R(() => ({
2148
+ "f-order": !0
2149
+ }));
2150
+ function C(a) {
2151
+ l.value = l.value.filter((s) => s.id !== a.id), I(), t.emit("change", l.value);
2152
+ }
2153
+ function x() {
2154
+ l.value = [...l.value, {
2155
+ id: Date.now().toString(),
2156
+ name: "",
2157
+ order: "asc"
2158
+ }], I(), t.emit("change", l.value);
2159
+ }
2160
+ function V(a) {
2161
+ if (a && a.length === 1) {
2162
+ const s = a[0], S = l.value.find((v) => v.id === s.id);
2163
+ S && (S.name = s.name);
2164
+ }
2165
+ I(), t.emit("change", l.value);
2166
+ }
2167
+ function i(a) {
2168
+ if (a && a.length) {
2169
+ const s = /* @__PURE__ */ new Map();
2170
+ a.reduce((S, v) => (S.set(v.id, v), S), s), l.value = a.map((S) => s.get(S.id)), t.emit("change", l.value);
2171
+ }
2172
+ }
1897
2173
  function r() {
1898
- var p;
1899
- const u = Array.isArray(e.items) ? e.items : [];
1900
- n.value = [...u], (p = a.value) == null || p.updateDataSource(n.value);
2174
+ return u(me, {
2175
+ ref: n,
2176
+ style: "flex:1",
2177
+ data: l.value,
2178
+ draggable: !0,
2179
+ view: "DraggableView",
2180
+ "keep-order": !0,
2181
+ itemClass: "f-order-item",
2182
+ onRemoveItem: C,
2183
+ onChange: i
2184
+ }, {
2185
+ header: () => u("div", {
2186
+ class: "f-order-header"
2187
+ }, [u("span", {
2188
+ class: "f-order-header-order-field"
2189
+ }, [o.value]), u("span", {
2190
+ class: "f-order-header-order-type"
2191
+ }, [c.value])]),
2192
+ itemContent: (a) => u("div", {
2193
+ class: "f-order-item-content"
2194
+ }, [u(D, {
2195
+ class: "f-order-item-content-order-field",
2196
+ data: y.value,
2197
+ valueField: "id",
2198
+ textField: "name",
2199
+ idField: "id",
2200
+ modelValue: a.raw.id,
2201
+ "onUpdate:modelValue": (s) => a.raw.id = s,
2202
+ onChange: V,
2203
+ onClear: V
2204
+ }, null), u(D, {
2205
+ class: "f-order-item-content-order-type",
2206
+ data: T,
2207
+ valueField: "id",
2208
+ textField: "name",
2209
+ idField: "id",
2210
+ modelValue: a.raw.order,
2211
+ "onUpdate:modelValue": (s) => a.raw.order = s,
2212
+ onChange: V
2213
+ }, null)]),
2214
+ footer: () => u("div", {
2215
+ class: "f-order-footer"
2216
+ }, [u(ve, {
2217
+ type: "link",
2218
+ class: "f-order-add-button",
2219
+ onClick: x
2220
+ }, {
2221
+ default: () => u(U, null, [u("span", {
2222
+ class: "f-order-add-icon"
2223
+ }, [u("i", {
2224
+ class: "f-icon f-icon-add"
2225
+ }, null)]), F.value])
2226
+ })])
2227
+ });
1901
2228
  }
1902
- j(() => e.items, r);
1903
- const i = h("排序列"), o = h("排序方式"), d = h("添加排序列"), w = [{
2229
+ return () => u("div", {
2230
+ class: p.value
2231
+ }, [r()]);
2232
+ }
2233
+ }), ln = /* @__PURE__ */ N({
2234
+ name: "FOrderDesign",
2235
+ props: le,
2236
+ emits: ["change"],
2237
+ setup(e, t) {
2238
+ const n = g(e.items), l = g("排序列"), d = g("排序方式"), o = g("添加排序列"), c = [{
1904
2239
  id: "asc",
1905
2240
  name: "升序"
1906
2241
  }, {
1907
2242
  id: "desc",
1908
2243
  name: "降序"
1909
- }], b = h(/* @__PURE__ */ new Map());
1910
- function V() {
1911
- const u = n.value.map((p) => [p.id, !0]);
1912
- b.value = new Map(u);
2244
+ }], F = g(/* @__PURE__ */ new Map()), T = g(), b = Q("design-item-context"), I = fe(T, b);
2245
+ ee(() => {
2246
+ T.value.componentInstance = I;
2247
+ }), t.expose(I.value);
2248
+ function y() {
2249
+ const s = n.value.map((S) => [S.id, !0]);
2250
+ F.value = new Map(s);
1913
2251
  }
1914
- V();
1915
- const C = L(() => e.dataSource.map((u) => (u.disabled = b.value.has(u.id), u))), f = L(() => ({
2252
+ y();
2253
+ const p = R(() => e.dataSource.map((s) => (s.disabled = F.value.has(s.id), s))), C = R(() => ({
1916
2254
  "f-order": !0
1917
2255
  }));
1918
- function g(u) {
1919
- n.value = n.value.filter((p) => p.id !== u.id), V(), t.emit("change", n.value);
2256
+ function x(s) {
2257
+ n.value = n.value.filter((S) => S.id !== s.id), y(), t.emit("change", n.value);
1920
2258
  }
1921
- function O() {
2259
+ function V() {
1922
2260
  n.value = [...n.value, {
1923
2261
  id: Date.now().toString(),
1924
2262
  name: "",
1925
2263
  order: "asc"
1926
- }], V(), t.emit("change", n.value);
2264
+ }], y(), t.emit("change", n.value);
1927
2265
  }
1928
- function c(u) {
1929
- if (u && u.length === 1) {
1930
- const p = u[0], T = n.value.find((k) => k.id === p.id);
1931
- T && (T.name = p.name);
1932
- }
1933
- V(), t.emit("change", n.value);
2266
+ function i(s) {
2267
+ y(), t.emit("change", n.value);
1934
2268
  }
1935
- function l(u) {
1936
- if (u && u.length) {
1937
- const p = /* @__PURE__ */ new Map();
1938
- u.reduce((T, k) => (T.set(k.id, k), T), p), n.value = u.map((T) => p.get(T.id)), t.emit("change", n.value);
2269
+ function r(s) {
2270
+ if (s && s.length) {
2271
+ const S = /* @__PURE__ */ new Map();
2272
+ s.reduce((v, f) => (v.set(f.id, f), v), S), n.value = s.map((v) => S.get(v.id)), t.emit("change", n.value);
1939
2273
  }
1940
2274
  }
1941
- function S() {
1942
- return v(Ct, {
1943
- ref: a,
2275
+ function a() {
2276
+ return u(me, {
1944
2277
  style: "flex:1",
1945
2278
  data: n.value,
1946
2279
  draggable: !0,
1947
2280
  view: "DraggableView",
1948
2281
  "keep-order": !0,
1949
2282
  itemClass: "f-order-item",
1950
- onRemoveItem: g,
1951
- onChange: l
2283
+ onRemoveItem: x,
2284
+ onChange: r
1952
2285
  }, {
1953
- header: () => v("div", {
2286
+ header: () => u("div", {
1954
2287
  class: "f-order-header"
1955
- }, [v("span", {
2288
+ }, [u("span", {
1956
2289
  class: "f-order-header-order-field"
1957
- }, [i.value]), v("span", {
2290
+ }, [l.value]), u("span", {
1958
2291
  class: "f-order-header-order-type"
1959
- }, [o.value])]),
1960
- itemContent: (u) => v("div", {
2292
+ }, [d.value])]),
2293
+ itemContent: (s) => u("div", {
1961
2294
  class: "f-order-item-content"
1962
- }, [v(se, {
2295
+ }, [u(D, {
1963
2296
  class: "f-order-item-content-order-field",
1964
- data: C.value,
2297
+ data: p.value,
1965
2298
  valueField: "id",
1966
2299
  textField: "name",
1967
2300
  idField: "id",
1968
- modelValue: u.raw.id,
1969
- "onUpdate:modelValue": (p) => u.raw.id = p,
1970
- onChange: c,
1971
- onClear: c
1972
- }, null), v(se, {
2301
+ modelValue: s.id,
2302
+ "onUpdate:modelValue": (S) => s.id = S,
2303
+ onChange: i,
2304
+ onClear: i
2305
+ }, null), u(D, {
1973
2306
  class: "f-order-item-content-order-type",
1974
- data: w,
2307
+ data: c,
1975
2308
  valueField: "id",
1976
2309
  textField: "name",
1977
2310
  idField: "id",
1978
- modelValue: u.raw.order,
1979
- "onUpdate:modelValue": (p) => u.raw.order = p,
1980
- onChange: c
2311
+ modelValue: s.order,
2312
+ "onUpdate:modelValue": (S) => s.order = S,
2313
+ onChange: i
1981
2314
  }, null)]),
1982
- footer: () => v("div", {
2315
+ footer: () => u("div", {
1983
2316
  class: "f-order-footer"
1984
- }, [v(wt, {
2317
+ }, [u(ve, {
1985
2318
  type: "link",
1986
2319
  class: "f-order-add-button",
1987
- onClick: O
2320
+ onClick: V
1988
2321
  }, {
1989
- default: () => v(W, null, [v("span", {
2322
+ default: () => u(U, null, [u("span", {
1990
2323
  class: "f-order-add-icon"
1991
- }, [v("i", {
2324
+ }, [u("i", {
1992
2325
  class: "f-icon f-icon-add"
1993
- }, null)]), d.value])
2326
+ }, null)]), o.value])
1994
2327
  })])
1995
2328
  });
1996
2329
  }
1997
- return () => v("div", {
1998
- class: f.value
1999
- }, [S()]);
2330
+ return () => u("div", {
2331
+ ref: T,
2332
+ class: C.value
2333
+ }, [a()]);
2334
+ }
2335
+ }), wn = {
2336
+ install(e) {
2337
+ e.component(J.name, J);
2338
+ },
2339
+ register(e, t, n, l) {
2340
+ e.order = J, t.order = oe;
2341
+ },
2342
+ registerDesigner(e, t, n) {
2343
+ e.order = ln, t.order = oe;
2000
2344
  }
2001
- }), sn = ue(_t);
2345
+ };
2002
2346
  export {
2003
- _t as FOrder,
2004
- sn as default,
2005
- ot as orderProps
2347
+ J as FOrder,
2348
+ wn as default,
2349
+ le as orderProps,
2350
+ oe as propsResolver
2006
2351
  };