@farris/ui-vue 1.7.0-beta.4 → 1.7.0

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