@aplus-frontend/ui 6.18.0 → 6.19.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (285) hide show
  1. package/es/src/ap-action/group/index.vue.mjs +3 -3
  2. package/es/src/ap-action/item/index.vue2.mjs +5 -5
  3. package/es/src/ap-action/item-dropdown/index.vue.mjs +7 -7
  4. package/es/src/ap-action/item-modal/index.vue.mjs +2 -2
  5. package/es/src/ap-action/item-popconfirm/index.vue.mjs +2 -2
  6. package/es/src/ap-button/ap-action-button.vue.mjs +2 -2
  7. package/es/src/ap-button/ap-button.vue.mjs +2 -2
  8. package/es/src/ap-button/ap-confirm-button.vue.mjs +2 -2
  9. package/es/src/ap-descriptions/ap-descriptions.vue.mjs +4 -4
  10. package/es/src/ap-descriptions/help-message/index.vue2.mjs +4 -4
  11. package/es/src/ap-download/ap-download.vue.mjs +1 -1
  12. package/es/src/ap-drawer/components/ApDrawerClose.vue2.mjs +2 -2
  13. package/es/src/ap-field/checkbox/index.vue.mjs +1 -1
  14. package/es/src/ap-field/date/index.vue.mjs +13 -13
  15. package/es/src/ap-field/date-range/index.vue.mjs +16 -16
  16. package/es/src/ap-field/index.mjs +36 -36
  17. package/es/src/ap-field/number/index.vue.mjs +8 -8
  18. package/es/src/ap-field/radio/index.vue.mjs +1 -1
  19. package/es/src/ap-field/rate/index.vue.mjs +2 -2
  20. package/es/src/ap-field/segmented/index.vue.mjs +1 -1
  21. package/es/src/ap-field/select/index.vue.mjs +2 -2
  22. package/es/src/ap-field/select/use-select-options.d.ts +2 -2
  23. package/es/src/ap-field/slider/index.vue.mjs +4 -4
  24. package/es/src/ap-field/switch/index.vue.mjs +3 -3
  25. package/es/src/ap-field/text/index.vue2.mjs +2 -2
  26. package/es/src/ap-field/text/password.vue.mjs +2 -2
  27. package/es/src/ap-field/text-area/index.vue.mjs +3 -3
  28. package/es/src/ap-field/tree-select/index.vue.mjs +3 -3
  29. package/es/src/ap-field/tree-select/use-request.d.ts +4 -4
  30. package/es/src/ap-form/ap-form.vue.d.ts +2 -1
  31. package/es/src/ap-form/ap-form.vue2.mjs +2 -2
  32. package/es/src/ap-form/drawer-form/index.vue.d.ts +7 -6
  33. package/es/src/ap-form/drawer-form/index.vue.mjs +9 -9
  34. package/es/src/ap-form/item/index.vue.mjs +7 -7
  35. package/es/src/ap-form/item-group/index.vue.mjs +1 -1
  36. package/es/src/ap-form/items/checkbox/index.vue.mjs +2 -2
  37. package/es/src/ap-form/items/date/index.vue.mjs +2 -2
  38. package/es/src/ap-form/items/date-range/index.vue.mjs +2 -2
  39. package/es/src/ap-form/items/number/index.vue.d.ts +3 -3
  40. package/es/src/ap-form/items/number/index.vue.mjs +2 -2
  41. package/es/src/ap-form/items/radio/index.vue.mjs +2 -2
  42. package/es/src/ap-form/items/select/index.vue.d.ts +11 -11
  43. package/es/src/ap-form/items/select/index.vue.mjs +2 -2
  44. package/es/src/ap-form/items/switch/index.vue.mjs +2 -2
  45. package/es/src/ap-form/items/text/group.vue2.mjs +2 -2
  46. package/es/src/ap-form/items/text/index.vue2.mjs +2 -2
  47. package/es/src/ap-form/items/text/password.vue.mjs +2 -2
  48. package/es/src/ap-form/items/text-area/index.vue.mjs +2 -2
  49. package/es/src/ap-form/items/tree-select/index.vue.d.ts +3 -3
  50. package/es/src/ap-form/items/tree-select/index.vue.mjs +2 -2
  51. package/es/src/ap-form/modal-form/index.vue.d.ts +7 -6
  52. package/es/src/ap-form/modal-form/index.vue.mjs +7 -7
  53. package/es/src/ap-form/render/item.vue.mjs +2 -2
  54. package/es/src/ap-form/search-form/components/popover-filter.vue2.mjs +10 -10
  55. package/es/src/ap-form/search-form/components/popover-sorter/index.vue2.mjs +23 -23
  56. package/es/src/ap-form/search-form/components/popover-sorter/sortable-item.vue2.mjs +2 -2
  57. package/es/src/ap-form/search-form/index.vue.d.ts +7 -6
  58. package/es/src/ap-form/search-form/index.vue.mjs +1 -1
  59. package/es/src/ap-form/set/index.vue.mjs +1 -1
  60. package/es/src/ap-grid/editable/form-item.vue.d.ts +4 -2
  61. package/es/src/ap-grid/editable/form-item.vue.mjs +9 -9
  62. package/es/src/ap-grid/editable/index.vue.d.ts +4 -2
  63. package/es/src/ap-grid/editable/index.vue.mjs +3 -3
  64. package/es/src/ap-grid/index.vue.d.ts +4 -2
  65. package/es/src/ap-grid/index.vue.mjs +40 -40
  66. package/es/src/ap-list/index.vue.d.ts +4 -2
  67. package/es/src/ap-list/index.vue.mjs +1 -1
  68. package/es/src/ap-modal/utils/confirm.d.ts +1 -1
  69. package/es/src/ap-table/ap-table.vue.d.ts +4 -2
  70. package/es/src/ap-table/ap-table.vue2.mjs +14 -13
  71. package/es/src/ap-table/components/index/index.vue2.mjs +2 -2
  72. package/es/src/ap-table/components/paragraph-ellipsis/index.vue2.mjs +3 -3
  73. package/es/src/ap-table/components/setting/modal/index.vue2.mjs +3 -3
  74. package/es/src/ap-table/components/setting/select-group/index.vue2.mjs +1 -1
  75. package/es/src/ap-table/components/setting/sortable/index.vue2.mjs +1 -1
  76. package/es/src/ap-table/components/setting/sortable/item.vue2.mjs +1 -1
  77. package/es/src/ap-table/components/setting/sorter/index.vue2.mjs +11 -11
  78. package/es/src/ap-table/components/setting/tree-select/index.vue2.mjs +1 -1
  79. package/es/src/ap-table/components/status/index.vue2.mjs +2 -2
  80. package/es/src/ap-table/constants.d.ts +10 -10
  81. package/es/src/ap-table/constants.mjs +45 -45
  82. package/es/src/ap-table/hooks/use-table-column-state.d.ts +4 -4
  83. package/es/src/ap-table/hooks/use-table-column-state.mjs +3 -3
  84. package/es/src/ap-tag/ap-tag-group.vue.mjs +73 -78
  85. package/es/src/ap-tag/ap-tag.vue.d.ts +1 -0
  86. package/es/src/ap-tag/ap-tag.vue.mjs +17 -18
  87. package/es/src/ap-tag/interface.d.ts +6 -0
  88. package/es/src/ap-tag/utils.d.ts +1 -0
  89. package/es/src/ap-tag/utils.mjs +12 -0
  90. package/es/src/ap-upload/apUpload.vue.mjs +5 -5
  91. package/es/src/ap-upload/components/MultipleFile.vue.d.ts +1 -1
  92. package/es/src/ap-upload/components/MultipleFile.vue2.mjs +3 -3
  93. package/es/src/ap-upload/components/Picture.vue.d.ts +7 -2
  94. package/es/src/ap-upload/components/Picture.vue2.mjs +6 -6
  95. package/es/src/ap-upload/components/SingleFile.vue2.mjs +7 -7
  96. package/es/src/business/ap-appendix/ap-appendix.vue2.mjs +1 -1
  97. package/es/src/business/ap-appendix/icons/file-icon.vue.mjs +2 -2
  98. package/es/src/business/ap-batch-action/ApBatchAction.vue2.mjs +6 -6
  99. package/es/src/business/ap-batch-action-group/ApBatchActionGroup.vue2.mjs +9 -9
  100. package/es/src/business/ap-batch-action-group/MenuItemGroup.vue2.mjs +3 -4
  101. package/es/src/business/ap-batch-action-group/index.d.ts +3 -3
  102. package/es/src/business/ap-button-group/ApButtonGroup.vue2.mjs +1 -1
  103. package/es/src/business/ap-card/ApCard.vue2.mjs +9 -9
  104. package/es/src/business/ap-draggable-grid/ApDraggableGrid.vue.d.ts +3 -2
  105. package/es/src/business/ap-draggable-grid/ApDraggableGrid.vue2.mjs +212 -398
  106. package/es/src/business/ap-draggable-grid/constans.mjs +1 -1
  107. package/es/src/business/ap-draggable-grid/index.d.ts +5 -2
  108. package/es/src/business/ap-draggable-grid/interface.d.ts +3 -2
  109. package/es/src/business/ap-draggable-grid/utils/sortItemsByRowAndCol.d.ts +2 -0
  110. package/es/src/business/ap-draggable-grid/utils/sortItemsByRowAndCol.mjs +14 -0
  111. package/es/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +4 -2
  112. package/es/src/business/ap-expand-alert/ApExpandAlert.vue2.mjs +33 -33
  113. package/es/src/business/ap-expand-alert/index.d.ts +6 -4
  114. package/es/src/business/ap-export-group/ApExportGroup.vue2.mjs +7 -7
  115. package/es/src/business/ap-image/ApImage.vue2.mjs +1 -1
  116. package/es/src/business/ap-input-radio/ApInputRadio.vue2.mjs +2 -2
  117. package/es/src/business/ap-keep-alive/keep-alive.mjs +3 -3
  118. package/es/src/business/ap-ladder/components/RenderValue.mjs +2 -2
  119. package/es/src/business/ap-radio-group/ap-radio-group.vue2.mjs +1 -1
  120. package/es/src/business/ap-select-layout/index.d.ts +4 -2
  121. package/es/src/business/ap-select-layout/select-layout.vue.d.ts +4 -2
  122. package/es/src/business/ap-select-layout/select-layout.vue2.mjs +4 -4
  123. package/es/src/business/ap-status/ApStatus.vue2.mjs +8 -8
  124. package/es/src/business/ap-status/group/ApStatusGroup.vue2.mjs +4 -4
  125. package/es/src/business/ap-summary/ap-summary.vue2.mjs +1 -1
  126. package/es/src/business/ap-table-modal/index.d.ts +5 -17
  127. package/es/src/business/ap-table-modal/modal-title.vue2.mjs +2 -2
  128. package/es/src/business/ap-table-modal/table-layout/index.vue2.mjs +14 -14
  129. package/es/src/business/ap-table-modal/table-modal.vue2.mjs +3 -3
  130. package/es/src/business/ap-title/ApTitle.vue2.mjs +7 -7
  131. package/es/src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.mjs +1 -1
  132. package/es/src/business/ap-upload-file/icon/delete-icon.vue.mjs +2 -2
  133. package/es/src/business/ap-upload-file/icon/file-icon.vue.mjs +2 -2
  134. package/es/src/business/ap-view/ap-view.vue2.mjs +2 -2
  135. package/es/src/business/ap-view/components/main-button-content.vue.d.ts +5 -4
  136. package/es/src/business/ap-view/components/main-button-content.vue2.mjs +5 -5
  137. package/es/src/business/ap-view/components/menu-list-content.vue.d.ts +5 -4
  138. package/es/src/business/ap-view/components/menu-list-content.vue2.mjs +6 -6
  139. package/es/src/business/ap-view/icons/line-delete.vue.mjs +2 -2
  140. package/es/src/business/ap-view/icons/line-down.vue.mjs +2 -2
  141. package/es/src/business/ap-view/icons/line-eye.vue.mjs +2 -2
  142. package/es/src/business/batch-input-group/form-item.vue.mjs +2 -2
  143. package/es/src/business/batch-input-group/index.vue.mjs +1 -1
  144. package/es/src/business/batch-input-group/popover-input/index.vue2.mjs +2 -2
  145. package/es/src/check-card/index.vue2.mjs +3 -3
  146. package/es/src/config-provider/hooks/use-namespace.d.ts +1 -5
  147. package/es/src/editable-table/form-item.vue.d.ts +4 -2
  148. package/es/src/editable-table/form-item.vue.mjs +38 -37
  149. package/es/src/editable-table/index.vue.d.ts +4 -2
  150. package/es/src/editable-table/index.vue.mjs +16 -15
  151. package/es/src/full-screen/index.vue.mjs +3 -3
  152. package/es/src/hooks/useFullScreen.mjs +5 -5
  153. package/es/src/mask/index.vue.mjs +10 -10
  154. package/es/src/portal/index.vue.mjs +2 -2
  155. package/es/src/scroll-bar/index.vue.mjs +3 -3
  156. package/es/src/scroll-bar/internal.vue.mjs +2 -2
  157. package/es/src/scroll-view/index.vue.d.ts +5 -5
  158. package/es/src/scroll-view/index.vue.mjs +9 -9
  159. package/es/src/splitter/Panel.vue2.mjs +4 -4
  160. package/es/src/splitter/SplitBar.vue2.mjs +7 -7
  161. package/es/src/splitter/Splitter.vue2.mjs +5 -5
  162. package/es/src/tests/wrapper.d.ts +4 -4
  163. package/es/src/text/group.vue.mjs +2 -2
  164. package/es/src/text/index.vue.mjs +5 -5
  165. package/es/src/version.d.ts +1 -1
  166. package/es/src/version.mjs +1 -1
  167. package/es/src/work-order-modal/help-message.vue2.mjs +2 -2
  168. package/es/src/work-order-modal/work-order-modal.vue.d.ts +5 -4
  169. package/es/src/work-order-modal/work-order-modal.vue.mjs +2 -2
  170. package/lib/src/ap-action/item-dropdown/index.vue.js +1 -1
  171. package/lib/src/ap-field/date/index.vue.js +1 -1
  172. package/lib/src/ap-field/date-range/index.vue.js +1 -1
  173. package/lib/src/ap-field/index.js +1 -1
  174. package/lib/src/ap-field/select/use-select-options.d.ts +2 -2
  175. package/lib/src/ap-field/tree-select/use-request.d.ts +4 -4
  176. package/lib/src/ap-form/ap-form.vue.d.ts +2 -1
  177. package/lib/src/ap-form/drawer-form/index.vue.d.ts +7 -6
  178. package/lib/src/ap-form/items/number/index.vue.d.ts +3 -3
  179. package/lib/src/ap-form/items/select/index.vue.d.ts +11 -11
  180. package/lib/src/ap-form/items/tree-select/index.vue.d.ts +3 -3
  181. package/lib/src/ap-form/modal-form/index.vue.d.ts +7 -6
  182. package/lib/src/ap-form/search-form/index.vue.d.ts +7 -6
  183. package/lib/src/ap-grid/editable/form-item.vue.d.ts +4 -2
  184. package/lib/src/ap-grid/editable/form-item.vue.js +1 -1
  185. package/lib/src/ap-grid/editable/index.vue.d.ts +4 -2
  186. package/lib/src/ap-grid/editable/index.vue.js +1 -1
  187. package/lib/src/ap-grid/index.vue.d.ts +4 -2
  188. package/lib/src/ap-grid/index.vue.js +1 -1
  189. package/lib/src/ap-list/index.vue.d.ts +4 -2
  190. package/lib/src/ap-modal/utils/confirm.d.ts +1 -1
  191. package/lib/src/ap-table/ap-table.vue.d.ts +4 -2
  192. package/lib/src/ap-table/ap-table.vue2.js +1 -1
  193. package/lib/src/ap-table/constants.d.ts +10 -10
  194. package/lib/src/ap-table/constants.js +1 -1
  195. package/lib/src/ap-table/hooks/use-table-column-state.d.ts +4 -4
  196. package/lib/src/ap-tag/ap-tag-group.vue.js +1 -1
  197. package/lib/src/ap-tag/ap-tag.vue.d.ts +1 -0
  198. package/lib/src/ap-tag/ap-tag.vue.js +1 -1
  199. package/lib/src/ap-tag/interface.d.ts +6 -0
  200. package/lib/src/ap-tag/utils.d.ts +1 -0
  201. package/lib/src/ap-tag/utils.js +1 -0
  202. package/lib/src/ap-upload/apUpload.vue.js +1 -1
  203. package/lib/src/ap-upload/components/MultipleFile.vue.d.ts +1 -1
  204. package/lib/src/ap-upload/components/Picture.vue.d.ts +7 -2
  205. package/lib/src/business/ap-batch-action-group/MenuItemGroup.vue2.js +1 -1
  206. package/lib/src/business/ap-batch-action-group/index.d.ts +3 -3
  207. package/lib/src/business/ap-draggable-grid/ApDraggableGrid.vue.d.ts +3 -2
  208. package/lib/src/business/ap-draggable-grid/ApDraggableGrid.vue2.js +1 -1
  209. package/lib/src/business/ap-draggable-grid/constans.js +1 -1
  210. package/lib/src/business/ap-draggable-grid/index.d.ts +5 -2
  211. package/lib/src/business/ap-draggable-grid/interface.d.ts +3 -2
  212. package/lib/src/business/ap-draggable-grid/utils/sortItemsByRowAndCol.d.ts +2 -0
  213. package/lib/src/business/ap-draggable-grid/utils/sortItemsByRowAndCol.js +1 -0
  214. package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +4 -2
  215. package/lib/src/business/ap-expand-alert/ApExpandAlert.vue2.js +1 -1
  216. package/lib/src/business/ap-expand-alert/index.d.ts +6 -4
  217. package/lib/src/business/ap-select-layout/index.d.ts +4 -2
  218. package/lib/src/business/ap-select-layout/select-layout.vue.d.ts +4 -2
  219. package/lib/src/business/ap-table-modal/index.d.ts +5 -17
  220. package/lib/src/business/ap-view/components/main-button-content.vue.d.ts +5 -4
  221. package/lib/src/business/ap-view/components/menu-list-content.vue.d.ts +5 -4
  222. package/lib/src/config-provider/hooks/use-namespace.d.ts +1 -5
  223. package/lib/src/editable-table/form-item.vue.d.ts +4 -2
  224. package/lib/src/editable-table/form-item.vue.js +1 -1
  225. package/lib/src/editable-table/index.vue.d.ts +4 -2
  226. package/lib/src/editable-table/index.vue.js +1 -1
  227. package/lib/src/scroll-view/index.vue.d.ts +5 -5
  228. package/lib/src/tests/wrapper.d.ts +4 -4
  229. package/lib/src/version.d.ts +1 -1
  230. package/lib/src/version.js +1 -1
  231. package/lib/src/work-order-modal/work-order-modal.vue.d.ts +5 -4
  232. package/package.json +3 -3
  233. package/theme/antd-global-overwrite/admin/alert.css +37 -0
  234. package/theme/antd-global-overwrite/admin/alert.less +51 -0
  235. package/theme/antd-global-overwrite/admin/button.css +27 -0
  236. package/theme/antd-global-overwrite/admin/button.less +31 -0
  237. package/theme/antd-global-overwrite/admin/field.css +42 -0
  238. package/theme/antd-global-overwrite/admin/field.less +43 -0
  239. package/theme/antd-global-overwrite/admin/form.css +57 -0
  240. package/theme/antd-global-overwrite/admin/form.less +97 -0
  241. package/theme/antd-global-overwrite/admin/message.css +10 -0
  242. package/theme/antd-global-overwrite/admin/message.less +13 -0
  243. package/theme/antd-global-overwrite/admin/modal.css +94 -0
  244. package/theme/antd-global-overwrite/admin/modal.less +128 -0
  245. package/theme/antd-global-overwrite/admin/pagination.css +122 -0
  246. package/theme/antd-global-overwrite/admin/pagination.less +91 -0
  247. package/theme/antd-global-overwrite/admin/steps.css +127 -0
  248. package/theme/antd-global-overwrite/admin/steps.less +197 -0
  249. package/theme/antd-global-overwrite/admin/table.css +78 -0
  250. package/theme/antd-global-overwrite/admin/table.less +62 -0
  251. package/theme/antd-global-overwrite/admin/tooltip.css +3 -0
  252. package/theme/antd-global-overwrite/admin/tooltip.less +3 -0
  253. package/theme/antd-global-overwrite/aplus/alert.css +40 -0
  254. package/theme/antd-global-overwrite/aplus/alert.less +55 -0
  255. package/theme/antd-global-overwrite/aplus/button.css +27 -0
  256. package/theme/antd-global-overwrite/aplus/button.less +31 -0
  257. package/theme/antd-global-overwrite/aplus/field.css +42 -0
  258. package/theme/antd-global-overwrite/aplus/field.less +43 -0
  259. package/theme/antd-global-overwrite/aplus/form.css +87 -0
  260. package/theme/antd-global-overwrite/aplus/form.less +133 -0
  261. package/theme/antd-global-overwrite/aplus/message.css +10 -0
  262. package/theme/antd-global-overwrite/aplus/message.less +13 -0
  263. package/theme/antd-global-overwrite/aplus/modal.css +87 -0
  264. package/theme/antd-global-overwrite/aplus/modal.less +120 -0
  265. package/theme/antd-global-overwrite/aplus/pagination.css +147 -0
  266. package/theme/antd-global-overwrite/aplus/pagination.less +108 -0
  267. package/theme/antd-global-overwrite/aplus/steps.css +125 -0
  268. package/theme/antd-global-overwrite/aplus/steps.less +198 -0
  269. package/theme/antd-global-overwrite/aplus/table.css +78 -0
  270. package/theme/antd-global-overwrite/aplus/table.less +61 -0
  271. package/theme/antd-global-overwrite/aplus/tooltip.css +3 -0
  272. package/theme/antd-global-overwrite/aplus/tooltip.less +3 -0
  273. package/theme/antdv-override.css +2 -6
  274. package/theme/antdv-override.less +2 -6
  275. package/theme/ap-draggable-grid/ap-draggable-grid.css +3 -3
  276. package/theme/ap-draggable-grid/ap-draggable-grid.less +3 -4
  277. package/theme/ap-label/ap-label.css +1 -0
  278. package/theme/ap-label/ap-label.less +1 -0
  279. package/theme/ap-table/ap-table-pagination.css +12 -0
  280. package/theme/ap-table/ap-table-pagination.less +14 -0
  281. package/theme/ap-tag/ap-tag.css +5 -2
  282. package/theme/ap-tag/ap-tag.less +5 -2
  283. package/theme/index.css +11 -11
  284. package/theme/ui-mode.css +60 -0
  285. package/theme/ui-mode.less +109 -0
@@ -1,4 +1,4 @@
1
- import { defineComponent as c, useSlots as b, ref as x, computed as h, createBlock as v, openBlock as y, normalizeProps as r, guardReactiveProps as t, unref as s, createSlots as B, withCtx as d, createVNode as A, mergeProps as g, renderList as _, renderSlot as F } from "vue";
1
+ import { defineComponent as c, useSlots as b, ref as x, computed as h, openBlock as v, createBlock as y, normalizeProps as r, guardReactiveProps as t, unref as s, createSlots as B, withCtx as d, createVNode as A, mergeProps as g, renderList as _, renderSlot as F } from "vue";
2
2
  import "../../item/index.vue2.mjs";
3
3
  import { ApField as k } from "../../../ap-field/index.mjs";
4
4
  import { omit as C } from "lodash-unified";
@@ -66,7 +66,7 @@ const $ = /* @__PURE__ */ c({
66
66
  var e;
67
67
  return (e = l.value) == null ? void 0 : e.resizableTextArea;
68
68
  })
69
- }), (e, o) => (y(), v(S, r(t(s(C)(f, ["field", "disabled", "placeholder"]))), B({
69
+ }), (e, o) => (v(), y(S, r(t(s(C)(f, ["field", "disabled", "placeholder"]))), B({
70
70
  default: d(() => [
71
71
  A(s(p), g({
72
72
  ref_key: "textAreaRef",
@@ -3,7 +3,6 @@ import { ApFormItemSlots } from '../../interface';
3
3
  import { LegacyDataNode, FieldNames, Key } from '@aplus-frontend/antdv/es/vc-tree-select/interface';
4
4
  import { ComponentInternalInstance, CSSProperties, VNodeProps, AllowedComponentProps, ComponentCustomProps, CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, Slot, ComponentPublicInstance, ComponentOptionsBase, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, DefineComponent } from 'vue';
5
5
  import { FieldMode, ApFieldTreeSelectProps } from '../../../ap-field';
6
- import { ButtonSize } from '@aplus-frontend/antdv/es/button';
7
6
  import { ChangeEventExtra, FieldNames, DefaultOptionType, BaseOptionType, SimpleModeConfig, LegacyDataNode } from '@aplus-frontend/antdv/es/vc-tree-select/TreeSelect';
8
7
  import { SelectHandler } from '@aplus-frontend/antdv/es/vc-select/Select';
9
8
  import { BaseOptionType } from '@aplus-frontend/antdv/es/select';
@@ -15,6 +14,7 @@ import { ExpandAction } from '@aplus-frontend/antdv/es/vc-tree/props';
15
14
  import { Recordable } from '../../../type';
16
15
  import { TreeSelectProps } from '@aplus-frontend/antdv';
17
16
  import { VueTypeValidableDef } from '../../../../node_modules/vue-types';
17
+ import { ButtonSize } from '@aplus-frontend/antdv/es/button';
18
18
  import { OnCleanup } from '@vue/reactivity';
19
19
  declare function __VLS_template(): {
20
20
  attrs: Partial<{}>;
@@ -51,7 +51,7 @@ declare function __VLS_template(): {
51
51
  readonly mode?: FieldMode | undefined;
52
52
  readonly class?: unknown;
53
53
  readonly style?: unknown;
54
- readonly size?: ButtonSize;
54
+ readonly size?: "small" | "large" | "middle" | undefined;
55
55
  readonly onBlur?: ((e: FocusEvent) => void) | undefined;
56
56
  readonly onChange?: ((value: unknown, labelList: any[], extra: ChangeEventExtra) => void) | undefined;
57
57
  readonly onClick?: ((e: MouseEvent) => void) | undefined;
@@ -825,7 +825,7 @@ declare const __VLS_component: DefineComponent<ApFormItemTreeSelectProps, {
825
825
  readonly mode?: FieldMode | undefined;
826
826
  readonly class?: unknown;
827
827
  readonly style?: unknown;
828
- readonly size?: ButtonSize;
828
+ readonly size?: "small" | "large" | "middle" | undefined;
829
829
  readonly onBlur?: ((e: FocusEvent) => void) | undefined;
830
830
  readonly onChange?: ((value: unknown, labelList: any[], extra: ChangeEventExtra) => void) | undefined;
831
831
  readonly onClick?: ((e: MouseEvent) => void) | undefined;
@@ -1,4 +1,4 @@
1
- import { defineComponent as B, useSlots as x, ref as S, computed as g, createBlock as F, openBlock as k, normalizeProps as n, guardReactiveProps as i, unref as l, createSlots as f, withCtx as p, createVNode as C, mergeProps as P, renderList as c, renderSlot as m } from "vue";
1
+ import { defineComponent as B, useSlots as x, ref as S, computed as g, openBlock as F, createBlock as k, normalizeProps as n, guardReactiveProps as i, unref as l, createSlots as f, withCtx as p, createVNode as C, mergeProps as P, renderList as c, renderSlot as m } from "vue";
2
2
  import "../../item/index.vue2.mjs";
3
3
  import "../../../ap-field/index.mjs";
4
4
  import { isUndefined as q, omit as b, pick as $ } from "lodash-unified";
@@ -77,7 +77,7 @@ const E = /* @__PURE__ */ B({
77
77
  var d;
78
78
  (d = a.value) == null || d.request(e, r);
79
79
  }
80
- }), (e, r) => (k(), F(N, n(i(l(b)(o, ["field", "placeholder", "disabled"]))), f({
80
+ }), (e, r) => (F(), k(N, n(i(l(b)(o, ["field", "placeholder", "disabled"]))), f({
81
81
  default: p(() => [
82
82
  C(l(R), P(y.value, {
83
83
  ref_key: "treeSelectRef",
@@ -1,13 +1,14 @@
1
1
  import { ApFormModalFormProps } from '../interface';
2
2
  import { VNode, ComponentInternalInstance, ExtractPropTypes, PropType, HTMLAttributes, VNodeProps, AllowedComponentProps, ComponentCustomProps, CreateComponentPublicInstanceWithMixins, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, Slot, ComponentPublicInstance, ComponentOptionsBase, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, DefineComponent, CSSProperties } from 'vue';
3
- import { InternalNamePath, NamePath, ValidateOptions, FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity } from '@aplus-frontend/antdv/es/form/interface';
3
+ import { InternalNamePath, NamePath, ValidateOptions, FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity, RuleObject } from '@aplus-frontend/antdv/es/form/interface';
4
4
  import { Recordable } from '../../type';
5
- import { ButtonSize, SizeType, ButtonType, ButtonShape } from '@aplus-frontend/antdv/es/button';
6
5
  import { ColSize } from '@aplus-frontend/antdv/es/grid';
7
6
  import { RuleObject } from '@aplus-frontend/antdv/es/form';
8
7
  import { RequiredMark } from '@aplus-frontend/antdv/es/form/Form';
9
8
  import { Options } from '../../../node_modules/scroll-into-view-if-needed';
10
9
  import { VueTypeDef, VueTypeValidableDef } from '../../../node_modules/vue-types';
10
+ import { SizeType } from '@aplus-frontend/antdv/es/config-provider';
11
+ import { SizeType, ButtonType, ButtonShape, ButtonSize } from '@aplus-frontend/antdv/es/button';
11
12
  import { VueNode } from '@aplus-frontend/antdv/es/_util/type';
12
13
  import { ApFormProps, UpdateModelOptimizeFn, ApFormInternalInstance, WatchFunc, ApFormSubmitterConfig } from '..';
13
14
  import { OnCleanup } from '@vue/reactivity';
@@ -27,7 +28,7 @@ declare function __VLS_template(): {
27
28
  $: ComponentInternalInstance;
28
29
  $data: {};
29
30
  $props: {
30
- readonly size?: ButtonSize;
31
+ readonly size?: "small" | "large" | "middle" | undefined;
31
32
  readonly onSubmit?: ((e: Event) => void) | undefined;
32
33
  readonly layout?: string | undefined;
33
34
  readonly disabled?: boolean | undefined;
@@ -117,7 +118,7 @@ declare function __VLS_template(): {
117
118
  readonly onValidate?: ((name: string | number | string[] | number[], status: boolean, errors: string[]) => void) | undefined;
118
119
  readonly initialValues?: Recordable | undefined;
119
120
  readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
120
- readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
121
+ readonly syncToUrl?: (boolean | ((values: Recordable, type: "get" | "set") => Recordable)) | undefined;
121
122
  readonly syncToUrlPriority?: boolean | undefined;
122
123
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
123
124
  $attrs: {
@@ -1159,7 +1160,7 @@ declare const __VLS_component: DefineComponent<ApFormModalFormProps, {
1159
1160
  $: ComponentInternalInstance;
1160
1161
  $data: {};
1161
1162
  $props: {
1162
- readonly size?: ButtonSize;
1163
+ readonly size?: "small" | "large" | "middle" | undefined;
1163
1164
  readonly onSubmit?: ((e: Event) => void) | undefined;
1164
1165
  readonly layout?: string | undefined;
1165
1166
  readonly disabled?: boolean | undefined;
@@ -1249,7 +1250,7 @@ declare const __VLS_component: DefineComponent<ApFormModalFormProps, {
1249
1250
  readonly onValidate?: ((name: string | number | string[] | number[], status: boolean, errors: string[]) => void) | undefined;
1250
1251
  readonly initialValues?: Recordable | undefined;
1251
1252
  readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
1252
- readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
1253
+ readonly syncToUrl?: (boolean | ((values: Recordable, type: "get" | "set") => Recordable)) | undefined;
1253
1254
  readonly syncToUrlPriority?: boolean | undefined;
1254
1255
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
1255
1256
  $attrs: {
@@ -1,4 +1,4 @@
1
- import { isVNode as A, defineComponent as D, useSlots as L, ref as p, watch as G, cloneVNode as I, computed as K, createVNode as u, mergeProps as b, unref as s, createElementBlock as W, openBlock as g, Fragment as H, createBlock as P, createCommentVNode as J, withCtx as h, createElementVNode as Q, normalizeClass as X, normalizeStyle as Y, renderSlot as w, resolveDynamicComponent as N, createTextVNode as Z, toDisplayString as ee } from "vue";
1
+ import { isVNode as A, defineComponent as D, useSlots as L, ref as p, watch as G, cloneVNode as I, computed as K, createVNode as u, mergeProps as b, unref as s, openBlock as g, createElementBlock as W, Fragment as H, withCtx as h, renderSlot as P, createTextVNode as J, toDisplayString as Q, createElementVNode as X, normalizeStyle as Y, normalizeClass as Z, createBlock as w, resolveDynamicComponent as N, createCommentVNode as ee } from "vue";
2
2
  import { Button as V, Flex as te, Space as le, Modal as ae } from "@aplus-frontend/antdv";
3
3
  import "../ap-form.vue.mjs";
4
4
  import "../../hooks/index.mjs";
@@ -250,7 +250,7 @@ const Re = /* @__PURE__ */ D({
250
250
  "onUpdate:open": $,
251
251
  onCancel: k
252
252
  }), {
253
- title: h(() => [w(e.$slots, "title", {}, () => [Z(ee(a.title), 1)])]),
253
+ title: h(() => [P(e.$slots, "title", {}, () => [J(Q(a.title), 1)])]),
254
254
  default: h(() => [u(de, b({
255
255
  ref_key: "formRef",
256
256
  ref: o
@@ -259,17 +259,17 @@ const Re = /* @__PURE__ */ D({
259
259
  }), {
260
260
  default: h(() => {
261
261
  var l;
262
- return [Q("div", {
262
+ return [X("div", {
263
263
  style: Y((l = e.modalProps) == null ? void 0 : l.bodyStyle),
264
- class: X(s(F)("content"))
265
- }, [w(e.$slots, "default")], 6), (g(), P(N(O.value)))];
264
+ class: Z(s(F)("content"))
265
+ }, [P(e.$slots, "default")], 6), (g(), w(N(O.value)))];
266
266
  }),
267
267
  _: 3
268
268
  }, 16)]),
269
269
  _: 3
270
- }, 16, ["open", "width", "class"]), s(B) ? (g(), P(N(s(B)), {
270
+ }, 16, ["open", "width", "class"]), s(B) ? (g(), w(N(s(B)), {
271
271
  key: 0
272
- })) : J("", !0)], 64));
272
+ })) : ee("", !0)], 64));
273
273
  }
274
274
  });
275
275
  export {
@@ -1,4 +1,4 @@
1
- import { defineComponent as m, useSlots as c, createBlock as B, openBlock as v, unref as e, normalizeProps as o, guardReactiveProps as l, createSlots as y, withCtx as t, createVNode as x, renderSlot as s, renderList as _ } from "vue";
1
+ import { defineComponent as m, useSlots as c, openBlock as B, createBlock as v, unref as e, normalizeProps as o, guardReactiveProps as l, createSlots as y, withCtx as t, createVNode as x, renderSlot as s, renderList as _ } from "vue";
2
2
  import { omit as g } from "lodash-unified";
3
3
  import { ApForm as d } from "../index.mjs";
4
4
  const S = /* @__PURE__ */ m({
@@ -49,7 +49,7 @@ const S = /* @__PURE__ */ m({
49
49
  },
50
50
  setup(p) {
51
51
  const i = p, u = c();
52
- return (a, h) => (v(), B(e(d).FormItem, o(l(i)), y({
52
+ return (a, h) => (B(), v(e(d).FormItem, o(l(i)), y({
53
53
  default: t(() => [
54
54
  x(e(d).ControlRender, null, {
55
55
  default: t((r) => [
@@ -1,5 +1,5 @@
1
- import { defineComponent as h, ref as y, toRef as w, createBlock as u, openBlock as s, unref as e, withCtx as o, createVNode as t, normalizeClass as a, withDirectives as x, createElementVNode as f, toDisplayString as g, vShow as R, createElementBlock as S, Fragment as D, renderList as L, resolveDynamicComponent as N, createTextVNode as b } from "vue";
2
- import { Popover as P, Tooltip as T, Button as d, Row as V, Col as z, Divider as A, Flex as E } from "@aplus-frontend/antdv";
1
+ import { defineComponent as h, ref as y, toRef as w, openBlock as s, createBlock as u, unref as e, withCtx as o, createElementVNode as f, normalizeClass as a, createVNode as t, createElementBlock as x, Fragment as R, renderList as S, resolveDynamicComponent as D, createTextVNode as b, toDisplayString as g, withDirectives as L, vShow as N } from "vue";
2
+ import { Popover as P, Row as T, Col as V, Divider as z, Flex as A, Button as d, Tooltip as E } from "@aplus-frontend/antdv";
3
3
  import { IconApFilterOutlined as I } from "@aplus-frontend/icon";
4
4
  import "../../../config-provider/index.mjs";
5
5
  import { useCollapseInputCount as j } from "../hooks/use-collapse-input-count.mjs";
@@ -34,14 +34,14 @@ const Q = /* @__PURE__ */ h({
34
34
  class: a([e(i)("popover-content")]),
35
35
  style: { paddingBottom: "4px", width: "825px" }
36
36
  }, [
37
- t(e(V), { gutter: 8 }, {
37
+ t(e(T), { gutter: 8 }, {
38
38
  default: o(() => [
39
- (s(!0), S(D, null, L(r.config, (n) => (s(), u(e(z), {
39
+ (s(!0), x(R, null, S(r.config, (n) => (s(), u(e(V), {
40
40
  key: n.key,
41
41
  span: 8
42
42
  }, {
43
43
  default: o(() => [
44
- (s(), u(N(n.node)))
44
+ (s(), u(D(n.node)))
45
45
  ]),
46
46
  _: 2
47
47
  }, 1024))), 128))
@@ -49,11 +49,11 @@ const Q = /* @__PURE__ */ h({
49
49
  _: 1
50
50
  })
51
51
  ], 2),
52
- t(e(A), { style: { margin: "0" } }),
52
+ t(e(z), { style: { margin: "0" } }),
53
53
  f("div", {
54
54
  class: a(e(i)("popover-footer"))
55
55
  }, [
56
- t(e(E), { justify: "end" }, {
56
+ t(e(A), { justify: "end" }, {
57
57
  default: o(() => [
58
58
  t(e(d), {
59
59
  onClick: l[0] || (l[0] = (n) => p.value = !1)
@@ -80,7 +80,7 @@ const Q = /* @__PURE__ */ h({
80
80
  ], 2)
81
81
  ]),
82
82
  default: o(() => [
83
- t(e(T), {
83
+ t(e(E), {
84
84
  title: e(m)("ap.apForm.search.moreFilter"),
85
85
  placement: "top"
86
86
  }, {
@@ -91,10 +91,10 @@ const Q = /* @__PURE__ */ h({
91
91
  class: a([e(c)("trigger-btn"), { [e(c)("trigger-btn-active")]: p.value }])
92
92
  }, {
93
93
  icon: o(() => [
94
- x(f("sup", {
94
+ L(f("sup", {
95
95
  class: a(e(c)("trigger-btn-badge"))
96
96
  }, g(e(v)), 3), [
97
- [R, e(v) !== 0]
97
+ [N, e(v) !== 0]
98
98
  ]),
99
99
  t(e(I), { size: 14 })
100
100
  ]),
@@ -1,5 +1,5 @@
1
- import { defineComponent as D, ref as y, watch as k, unref as e, createBlock as L, openBlock as P, withCtx as r, createVNode as t, normalizeClass as o, createElementVNode as n, toDisplayString as m, createTextVNode as b } from "vue";
2
- import { Popover as S, Tooltip as V, Button as g, Flex as _, Divider as j } from "@aplus-frontend/antdv";
1
+ import { defineComponent as D, ref as y, watch as k, unref as e, openBlock as L, createBlock as P, withCtx as r, createElementVNode as n, normalizeClass as t, toDisplayString as m, createVNode as o, createTextVNode as b } from "vue";
2
+ import { Popover as S, Flex as _, Divider as V, Button as g, Tooltip as j } from "@aplus-frontend/antdv";
3
3
  import { IconApLayoutOutlined as z } from "@aplus-frontend/icon";
4
4
  import "../../../../config-provider/index.mjs";
5
5
  import A from "vuedraggable";
@@ -41,7 +41,7 @@ const M = /* @__PURE__ */ D({
41
41
  }
42
42
  ), w({
43
43
  getCachedList: () => h
44
- }), (a, u) => (P(), L(e(S), {
44
+ }), (a, u) => (L(), P(e(S), {
45
45
  open: p.value,
46
46
  "onUpdate:open": u[1] || (u[1] = (d) => p.value = d),
47
47
  "overlay-class-name": e(f)("popover"),
@@ -53,25 +53,25 @@ const M = /* @__PURE__ */ D({
53
53
  }, {
54
54
  content: r(() => [
55
55
  n("div", {
56
- class: o(e(s)("header"))
56
+ class: t(e(s)("header"))
57
57
  }, [
58
58
  n("span", {
59
- class: o(e(s)("header-title"))
59
+ class: t(e(s)("header-title"))
60
60
  }, m(e(c)("ap.apForm.search.sorterTitle")), 3),
61
- t(e(_), {
61
+ o(e(_), {
62
62
  justify: "space-between",
63
63
  align: "center"
64
64
  }, {
65
65
  default: r(() => [
66
66
  n("span", {
67
- class: o(e(s)("header-desc"))
67
+ class: t(e(s)("header-desc"))
68
68
  }, m(e(c)("ap.apForm.search.sorterDesc")), 3),
69
69
  n("div", {
70
- class: o(e(s)("header-action-wrapper")),
70
+ class: t(e(s)("header-action-wrapper")),
71
71
  onClick: N
72
72
  }, [
73
73
  n("span", {
74
- class: o(e(s)("header-reset-btn"))
74
+ class: t(e(s)("header-reset-btn"))
75
75
  }, m(e(c)("ap.apForm.search.sorterReset")), 3)
76
76
  ], 2)
77
77
  ]),
@@ -79,26 +79,26 @@ const M = /* @__PURE__ */ D({
79
79
  })
80
80
  ], 2),
81
81
  n("div", {
82
- class: o([e(f)("popover-content"), e(s)("content")])
82
+ class: t([e(f)("popover-content"), e(s)("content")])
83
83
  }, [
84
- t(e(A), {
84
+ o(e(A), {
85
85
  list: i.value,
86
- class: o(e(s)("sorter-wrapper")),
86
+ class: t(e(s)("sorter-wrapper")),
87
87
  "item-key": "name"
88
88
  }, {
89
89
  item: r(({ element: d }) => [
90
- t($, { item: d }, null, 8, ["item"])
90
+ o($, { item: d }, null, 8, ["item"])
91
91
  ]),
92
92
  _: 1
93
93
  }, 8, ["list", "class"])
94
94
  ], 2),
95
- t(e(j), { style: { margin: "0" } }),
95
+ o(e(V), { style: { margin: "0" } }),
96
96
  n("div", {
97
- class: o(e(f)("popover-footer"))
97
+ class: t(e(f)("popover-footer"))
98
98
  }, [
99
- t(e(_), { justify: "end" }, {
99
+ o(e(_), { justify: "end" }, {
100
100
  default: r(() => [
101
- t(e(g), {
101
+ o(e(g), {
102
102
  onClick: u[0] || (u[0] = (d) => p.value = !1)
103
103
  }, {
104
104
  default: r(() => [
@@ -106,8 +106,8 @@ const M = /* @__PURE__ */ D({
106
106
  ]),
107
107
  _: 1
108
108
  }),
109
- t(e(g), {
110
- class: o(e(f)("popover-footer-confirm-btn")),
109
+ o(e(g), {
110
+ class: t(e(f)("popover-footer-confirm-btn")),
111
111
  type: "primary",
112
112
  onClick: T
113
113
  }, {
@@ -122,16 +122,16 @@ const M = /* @__PURE__ */ D({
122
122
  ], 2)
123
123
  ]),
124
124
  default: r(() => [
125
- t(e(V), {
125
+ o(e(j), {
126
126
  title: e(c)("ap.apForm.search.sorterTitle"),
127
127
  placement: "top"
128
128
  }, {
129
129
  default: r(() => [
130
- t(e(g), {
131
- class: o([e(C)("trigger-btn"), { [e(C)("trigger-btn-active")]: p.value }])
130
+ o(e(g), {
131
+ class: t([e(C)("trigger-btn"), { [e(C)("trigger-btn-active")]: p.value }])
132
132
  }, {
133
133
  icon: r(() => [
134
- t(e(z), { size: 14 })
134
+ o(e(z), { size: 14 })
135
135
  ]),
136
136
  _: 1
137
137
  }, 8, ["class"])
@@ -1,4 +1,4 @@
1
- import { defineComponent as i, createElementBlock as l, openBlock as m, normalizeClass as o, unref as e, createElementVNode as s, createVNode as a, toDisplayString as n } from "vue";
1
+ import { defineComponent as i, openBlock as l, createElementBlock as m, normalizeClass as o, unref as e, createElementVNode as s, createVNode as a, toDisplayString as n } from "vue";
2
2
  import { HolderOutlined as c } from "@ant-design/icons-vue";
3
3
  import "../../../../config-provider/index.mjs";
4
4
  import { useNamespace as p } from "../../../../config-provider/hooks/use-namespace.mjs";
@@ -10,7 +10,7 @@ const d = ["title"], N = /* @__PURE__ */ i({
10
10
  },
11
11
  setup(f) {
12
12
  const { b: t } = p("search-form-sorter");
13
- return (r, u) => (m(), l("div", {
13
+ return (r, u) => (l(), m("div", {
14
14
  class: o([e(t)("sorter-item"), { [e(t)("sorter-item--hidden")]: r.item.isHidden }])
15
15
  }, [
16
16
  s("div", null, [
@@ -1,13 +1,14 @@
1
1
  import { ApFormExpose, ApFormSearchFormProps } from '../interface';
2
2
  import { ComponentInternalInstance, ExtractPropTypes, PropType, HTMLAttributes, VNodeProps, AllowedComponentProps, ComponentCustomProps, CreateComponentPublicInstanceWithMixins, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, Slot, ComponentPublicInstance, ComponentOptionsBase, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, DefineComponent } from 'vue';
3
- import { ButtonSize, SizeType } from '@aplus-frontend/antdv/es/button';
4
3
  import { ColSize } from '@aplus-frontend/antdv/es/grid';
5
- import { FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity, NamePath, ValidateOptions, InternalNamePath } from '@aplus-frontend/antdv/es/form/interface';
4
+ import { FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity, NamePath, RuleObject, ValidateOptions, InternalNamePath } from '@aplus-frontend/antdv/es/form/interface';
6
5
  import { RuleObject } from '@aplus-frontend/antdv/es/form';
7
6
  import { RequiredMark } from '@aplus-frontend/antdv/es/form/Form';
8
7
  import { Options } from '../../../node_modules/scroll-into-view-if-needed';
9
8
  import { Recordable } from '../../type';
10
9
  import { VueTypeDef, VueTypeValidableDef } from '../../../node_modules/vue-types';
10
+ import { SizeType } from '@aplus-frontend/antdv/es/config-provider';
11
+ import { SizeType } from '@aplus-frontend/antdv/es/button';
11
12
  import { VueNode } from '@aplus-frontend/antdv/es/_util/type';
12
13
  import { ApFormProps, UpdateModelOptimizeFn, ApFormInternalInstance, WatchFunc, ApFormSearchFormPopoverSorterItem } from '..';
13
14
  import { OnCleanup } from '@vue/reactivity';
@@ -25,7 +26,7 @@ declare function __VLS_template(): {
25
26
  $: ComponentInternalInstance;
26
27
  $data: {};
27
28
  $props: {
28
- readonly size?: ButtonSize;
29
+ readonly size?: "small" | "large" | "middle" | undefined;
29
30
  readonly onSubmit?: ((e: Event) => void) | undefined;
30
31
  readonly layout?: string | undefined;
31
32
  readonly disabled?: boolean | undefined;
@@ -115,7 +116,7 @@ declare function __VLS_template(): {
115
116
  readonly onValidate?: ((name: string | number | string[] | number[], status: boolean, errors: string[]) => void) | undefined;
116
117
  readonly initialValues?: Recordable | undefined;
117
118
  readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
118
- readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
119
+ readonly syncToUrl?: (boolean | ((values: Recordable, type: "get" | "set") => Recordable)) | undefined;
119
120
  readonly syncToUrlPriority?: boolean | undefined;
120
121
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
121
122
  $attrs: {
@@ -864,7 +865,7 @@ declare const __VLS_component: DefineComponent<ApFormSearchFormProps, {
864
865
  $: ComponentInternalInstance;
865
866
  $data: {};
866
867
  $props: {
867
- readonly size?: ButtonSize;
868
+ readonly size?: "small" | "large" | "middle" | undefined;
868
869
  readonly onSubmit?: ((e: Event) => void) | undefined;
869
870
  readonly layout?: string | undefined;
870
871
  readonly disabled?: boolean | undefined;
@@ -954,7 +955,7 @@ declare const __VLS_component: DefineComponent<ApFormSearchFormProps, {
954
955
  readonly onValidate?: ((name: string | number | string[] | number[], status: boolean, errors: string[]) => void) | undefined;
955
956
  readonly initialValues?: Recordable | undefined;
956
957
  readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
957
- readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
958
+ readonly syncToUrl?: (boolean | ((values: Recordable, type: "get" | "set") => Recordable)) | undefined;
958
959
  readonly syncToUrlPriority?: boolean | undefined;
959
960
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
960
961
  $attrs: {
@@ -1,4 +1,4 @@
1
- import { isVNode as ne, defineComponent as le, useSlots as re, ref as D, shallowRef as U, computed as S, unref as n, watch as W, createVNode as o, Fragment as _, createBlock as x, openBlock as d, mergeProps as se, withCtx as A, resolveDynamicComponent as B, createElementBlock as ie, renderList as ue } from "vue";
1
+ import { isVNode as ne, defineComponent as le, useSlots as re, ref as D, shallowRef as U, computed as S, unref as n, watch as W, createVNode as o, Fragment as _, openBlock as d, createBlock as x, mergeProps as se, withCtx as A, resolveDynamicComponent as B, createElementBlock as ie, renderList as ue } from "vue";
2
2
  import { Col as w, Flex as I, Button as M, Row as ce } from "@aplus-frontend/antdv";
3
3
  import "../ap-form.vue.mjs";
4
4
  import "../item/index.vue2.mjs";
@@ -1,4 +1,4 @@
1
- import { defineComponent as p, useSlots as f, cloneVNode as d, onMounted as V, createElementBlock as _, openBlock as l, Fragment as y, renderList as C, createBlock as F, resolveDynamicComponent as k } from "vue";
1
+ import { defineComponent as p, useSlots as f, cloneVNode as d, onMounted as V, openBlock as l, createElementBlock as _, Fragment as y, renderList as C, createBlock as F, resolveDynamicComponent as k } from "vue";
2
2
  import { useInjectForm as g } from "../context.mjs";
3
3
  import { isFunction as h, cloneDeep as w } from "lodash-unified";
4
4
  import { isPromise as x } from "@fruits-chain/utils";
@@ -1,13 +1,15 @@
1
1
  import { EditableGridFormItemExpose, EditableGridFormItemProps } from './interface';
2
2
  import { Recordable } from '../../type';
3
- import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
3
+ import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode, RendererNode, RendererElement } from 'vue';
4
4
  declare const _default: <RecordType extends Recordable = any>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
5
5
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & EditableGridFormItemProps<RecordType> & Partial<{}>> & PublicProps;
6
6
  expose(exposed: ShallowUnwrapRef<EditableGridFormItemExpose>): void;
7
7
  attrs: any;
8
8
  slots: Readonly<Record<string, any>> & Record<string, any>;
9
9
  emit: {};
10
- }>) => VNode & {
10
+ }>) => VNode<RendererNode, RendererElement, {
11
+ [key: string]: any;
12
+ }> & {
11
13
  __ctx?: Awaited<typeof __VLS_setup>;
12
14
  };
13
15
  export default _default;
@@ -1,4 +1,4 @@
1
- import { defineComponent as K, useSlots as H, toRef as P, ref as h, unref as u, watch as A, nextTick as W, createBlock as G, openBlock as U, mergeProps as y, withCtx as g, createVNode as $, createSlots as q, renderList as J, renderSlot as Q, normalizeProps as X, guardReactiveProps as Y } from "vue";
1
+ import { defineComponent as K, useSlots as H, toRef as P, ref as h, unref as u, watch as A, nextTick as W, openBlock as G, createBlock as U, mergeProps as y, withCtx as g, createVNode as $, createSlots as q, renderList as J, renderSlot as Q, normalizeProps as X, guardReactiveProps as Y } from "vue";
2
2
  import { ApForm as C } from "../../ap-form/index.mjs";
3
3
  import { isUndefined as Z, isNumber as m, cloneDeep as I, isArray as M, omit as ee } from "lodash-unified";
4
4
  import "../../config-provider/index.mjs";
@@ -113,7 +113,7 @@ const we = /* @__PURE__ */ K({
113
113
  type: Boolean
114
114
  },
115
115
  rowSelection: {
116
- type: Boolean,
116
+ type: [Boolean, Object],
117
117
  default: void 0
118
118
  },
119
119
  onLoadingChange: {},
@@ -221,14 +221,14 @@ const we = /* @__PURE__ */ K({
221
221
  t[n] = t[n].filter((f) => !a.has(f[l.rowKey]));
222
222
  }));
223
223
  }
224
- function k() {
224
+ function j() {
225
225
  return u(d);
226
226
  }
227
- function _(e) {
227
+ function k(e) {
228
228
  var a;
229
229
  return (a = u(d)) == null ? void 0 : a[e];
230
230
  }
231
- function j(e, a, r = !0) {
231
+ function _(e, a, r = !0) {
232
232
  o == null || o.setFieldValue(l.name, void 0, !0, (t, n) => {
233
233
  if (!(!t[n] || !t[n][e])) {
234
234
  if (!r) {
@@ -257,15 +257,15 @@ const we = /* @__PURE__ */ K({
257
257
  return x({
258
258
  add: D,
259
259
  remove: L,
260
- getRowData: _,
261
- getRowsData: k,
262
- setRowData: j,
260
+ getRowData: k,
261
+ getRowsData: j,
262
+ setRowData: _,
263
263
  addMultiple: V,
264
264
  scrollTo: O,
265
265
  setTableData: E,
266
266
  clear: z,
267
267
  removeByKey: T
268
- }), (e, a) => (U(), G(u(C).FormItem, y(e.formItem, {
268
+ }), (e, a) => (G(), U(u(C).FormItem, y(e.formItem, {
269
269
  name: e.name,
270
270
  label: e.label
271
271
  }), {
@@ -1,6 +1,6 @@
1
1
  import { EditableGridExpose, EditableGridProps } from './interface';
2
2
  import { Recordable } from '../../type';
3
- import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
3
+ import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode, RendererNode, RendererElement } from 'vue';
4
4
  declare const _default: <RecordType extends Recordable = any>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
5
5
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
6
6
  readonly "onUpdate:value"?: ((...args: any[]) => any) | undefined;
@@ -9,7 +9,9 @@ declare const _default: <RecordType extends Recordable = any>(__VLS_props: NonNu
9
9
  attrs: any;
10
10
  slots: Readonly<Record<string, any>> & Record<string, any>;
11
11
  emit: (event: "update:value", ...args: any[]) => void;
12
- }>) => VNode & {
12
+ }>) => VNode<RendererNode, RendererElement, {
13
+ [key: string]: any;
14
+ }> & {
13
15
  __ctx?: Awaited<typeof __VLS_setup>;
14
16
  };
15
17
  export default _default;
@@ -1,4 +1,4 @@
1
- import { defineComponent as $, useSlots as q, ref as v, watch as x, unref as u, createBlock as J, openBlock as Q, withCtx as h, createVNode as b, mergeProps as X, createSlots as Y, renderList as Z, renderSlot as M, normalizeProps as ee, guardReactiveProps as te } from "vue";
1
+ import { defineComponent as $, useSlots as q, ref as v, watch as x, unref as u, openBlock as J, createBlock as Q, withCtx as h, createVNode as b, mergeProps as X, createSlots as Y, renderList as Z, renderSlot as M, normalizeProps as ee, guardReactiveProps as te } from "vue";
2
2
  import { ApForm as y } from "../../ap-form/index.mjs";
3
3
  import { isEqual as ae, isArray as g, isUndefined as oe, isNumber as C, cloneDeep as le, omit as ne } from "lodash-unified";
4
4
  import "../../config-provider/index.mjs";
@@ -113,7 +113,7 @@ const Re = /* @__PURE__ */ $({
113
113
  type: Boolean
114
114
  },
115
115
  rowSelection: {
116
- type: Boolean,
116
+ type: [Boolean, Object],
117
117
  default: void 0
118
118
  },
119
119
  onLoadingChange: {},
@@ -288,7 +288,7 @@ const Re = /* @__PURE__ */ $({
288
288
  clear: U,
289
289
  setTableData: I,
290
290
  removeByKey: K
291
- }), (e, t) => (Q(), J(u(y), {
291
+ }), (e, t) => (J(), Q(u(y), {
292
292
  ref_key: "formRef",
293
293
  ref: i,
294
294
  "initial-values": {
@@ -1,6 +1,6 @@
1
1
  import { VxeTableSlots } from 'vxe-table';
2
2
  import { ApGridColumnType, ApGridExpose, ApGridProps } from './interface';
3
- import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
3
+ import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode, RendererNode, RendererElement } from 'vue';
4
4
  declare const _default: <RecordType>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
5
5
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & ApGridProps<RecordType> & Partial<{}>> & PublicProps;
6
6
  expose(exposed: ShallowUnwrapRef<ApGridExpose>): void;
@@ -35,7 +35,9 @@ declare const _default: <RecordType>(__VLS_props: NonNullable<Awaited<typeof __V
35
35
  }) => any;
36
36
  };
37
37
  emit: {};
38
- }>) => VNode & {
38
+ }>) => VNode<RendererNode, RendererElement, {
39
+ [key: string]: any;
40
+ }> & {
39
41
  __ctx?: Awaited<typeof __VLS_setup>;
40
42
  };
41
43
  export default _default;