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

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