@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 $e, useSlots as We, getCurrentInstance as Me, ref as E, computed as n, unref as a, toRef as je, nextTick as He, watch as B, createElementBlock as P, openBlock as d, normalizeStyle as V, normalizeClass as g, createCommentVNode as w, createElementVNode as b, createVNode as _, mergeProps as R, createSlots as te, withCtx as h, Fragment as oe, renderList as K, createBlock as f, resolveDynamicComponent as L, renderSlot as D, normalizeProps as qe, guardReactiveProps as Ue } from "vue";
1
+ import { defineComponent as $e, useSlots as We, getCurrentInstance as je, ref as E, computed as n, unref as a, toRef as Me, nextTick as He, watch as B, openBlock as d, createElementBlock as P, normalizeClass as g, normalizeStyle as V, createVNode as _, mergeProps as b, createSlots as te, withCtx as h, Fragment as oe, renderList as K, createBlock as f, resolveDynamicComponent as L, renderSlot as O, createCommentVNode as w, createElementVNode as R, normalizeProps as qe, guardReactiveProps as Ue } from "vue";
2
2
  import { VxeUI as ae, VxeTable as Ge, VxeColumn as re } from "vxe-table";
3
3
  import "vxe-table/es/style.css";
4
4
  import { isUndefined as x, isFunction as le, omit as Xe } from "lodash-unified";
@@ -7,12 +7,12 @@ import "../config-provider/index.mjs";
7
7
  import { noRenderAsFormItemValueList as Qe } from "../ap-table/constants.mjs";
8
8
  import { getColumnOrder as ne, updateFormProps as Ye, getFieldProps as Ze, getSearchFormItemRenderNode as et, recursionApColumns as se } from "../ap-table/utils.mjs";
9
9
  import { useTablePaging as tt } from "../ap-table/hooks/use-table-paging-ng.mjs";
10
- import { Spin as ot, Empty as ie, Pagination as at } from "@aplus-frontend/antdv";
10
+ import { Empty as ie, Spin as ot, Pagination as at } from "@aplus-frontend/antdv";
11
11
  import { useInnerParams as rt } from "./hooks/use-inner-params.mjs";
12
12
  import { toVxeProps as lt, getRowExpandProps as nt, getRowSelectionProps as st } from "./utils/table.mjs";
13
13
  import it from "./hooks/use-row-selection.mjs";
14
14
  import { useProvideApTable as dt } from "../ap-table/context.mjs";
15
- import { sizeReverseMap as ut, sizeMap as ct, ROW_SELECTION_FIELD as ft } from "./constants.mjs";
15
+ import { sizeMap as ut, sizeReverseMap as ct, ROW_SELECTION_FIELD as ft } from "./constants.mjs";
16
16
  import { useRenderColumns as pt } from "./hooks/use-render-columns.mjs";
17
17
  import { useToken as mt } from "@aplus-frontend/antdv/es/theme/internal";
18
18
  import "../scroll-bar/index.mjs";
@@ -22,7 +22,7 @@ import { useTableStyle as Ct } from "./hooks/use-table-style.mjs";
22
22
  import { useNamespace as vt } from "../config-provider/hooks/use-namespace.mjs";
23
23
  import { useGlobalConfig as yt } from "../config-provider/hooks/use-global-config.mjs";
24
24
  import { useLocale as St } from "../config-provider/hooks/use-locale.mjs";
25
- import wt from "../scroll-bar/index.vue.mjs";
25
+ import bt from "../scroll-bar/index.vue.mjs";
26
26
  const Gt = /* @__PURE__ */ $e({
27
27
  name: "ApGrid",
28
28
  __name: "index",
@@ -88,7 +88,7 @@ const Gt = /* @__PURE__ */ $e({
88
88
  footerCellConfig: {},
89
89
  round: { type: Boolean, default: void 0 },
90
90
  columns: {},
91
- rowSelection: { type: Boolean },
91
+ rowSelection: { type: [Boolean, Object] },
92
92
  card: { type: Boolean, default: !1 },
93
93
  params: {},
94
94
  request: {},
@@ -116,9 +116,9 @@ const Gt = /* @__PURE__ */ $e({
116
116
  },
117
117
  setup(de, { expose: ue }) {
118
118
  var ee;
119
- const v = We(), o = de, k = (ee = Me()) == null ? void 0 : ee.appContext.app;
119
+ const v = We(), o = de, k = (ee = je()) == null ? void 0 : ee.appContext.app;
120
120
  k && !k.__VXE_PC_UI_INSTALLED__ && (k.use(ae), k.__VXE_PC_UI_INSTALLED__ = !0);
121
- const { e: F, b: u, be: ce } = vt("ap-grid"), fe = yt("valueTypeMap"), i = E([]), O = E([]), s = E(), I = E(o.size), pe = Ct(), [, me] = mt(), { t: ge } = St();
121
+ const { e: F, b: u, be: ce } = vt("ap-grid"), fe = yt("valueTypeMap"), i = E([]), D = E([]), s = E(), I = E(o.size), pe = Ct(), [, me] = mt(), { t: ge } = St();
122
122
  ae.setConfig({
123
123
  i18n: (e, t) => ge(`ap.${e}`, t)
124
124
  });
@@ -168,10 +168,10 @@ const Gt = /* @__PURE__ */ $e({
168
168
  o.card ? null : u("wrapper"),
169
169
  o.adaptive ? u("adaptive") : null,
170
170
  o.sticky ? u("sticky") : null
171
- ].filter(Boolean)), M = n(() => se(a(i), (e) => {
171
+ ].filter(Boolean)), j = n(() => se(a(i), (e) => {
172
172
  if (e.sorter === !0)
173
173
  return e.key || e.dataIndex;
174
- }).filter(Boolean)), j = n(() => se(a(i), (e) => {
174
+ }).filter(Boolean)), M = n(() => se(a(i), (e) => {
175
175
  if (e.filters && !e.onFilter)
176
176
  return e.key || e.dataIndex;
177
177
  }).filter(Boolean)), {
@@ -181,8 +181,8 @@ const Gt = /* @__PURE__ */ $e({
181
181
  refresh: H,
182
182
  data: p,
183
183
  tableProps: q,
184
- setDataSource: we,
185
- handleTableChangeOptional: be,
184
+ setDataSource: be,
185
+ handleTableChangeOptional: we,
186
186
  getPaging: Re,
187
187
  setPaging: xe,
188
188
  submitWith: U
@@ -203,26 +203,26 @@ const Gt = /* @__PURE__ */ $e({
203
203
  };
204
204
  },
205
205
  namespace: "ap-grid",
206
- filterFields: j,
207
- sortFields: M,
208
- params: je(o, "params"),
206
+ filterFields: M,
207
+ sortFields: j,
208
+ params: Me(o, "params"),
209
209
  defaultData: o.defaultData,
210
210
  manual: a(ye),
211
211
  formatParams: o.beforeSearchSubmit,
212
212
  pagination: o.pagination,
213
- onClickReset: De,
213
+ onClickReset: Oe,
214
214
  onAfterRequest: Z
215
- }), { sortChangeEvent: ke, filterChangeEvent: Fe, paginationChangeEvent: Ie } = rt(be);
215
+ }), { sortChangeEvent: ke, filterChangeEvent: Fe, paginationChangeEvent: Ie } = rt(we);
216
216
  dt({
217
217
  columns: n(() => i.value),
218
- columnsBackup: n(() => O.value),
219
- size: n(() => ct[I.value]),
218
+ columnsBackup: n(() => D.value),
219
+ size: n(() => ut[I.value]),
220
220
  updateColumns(e) {
221
221
  var t;
222
222
  i.value = e, (t = o.onShownColumnsChange) == null || t.call(o, e);
223
223
  },
224
224
  updateSize(e) {
225
- I.value = ut[e];
225
+ I.value = ct[e];
226
226
  },
227
227
  renderConfig: n(() => ({
228
228
  className: ce("table-header", "title"),
@@ -323,7 +323,7 @@ const Gt = /* @__PURE__ */ $e({
323
323
  const l = String(e[o.rowKey]), r = t.getRowById(l);
324
324
  t.setCurrentRow(r);
325
325
  }
326
- function De() {
326
+ function Oe() {
327
327
  const e = s.value;
328
328
  e && (e.clearSort(), e.clearFilter());
329
329
  }
@@ -336,7 +336,7 @@ const Gt = /* @__PURE__ */ $e({
336
336
  );
337
337
  });
338
338
  }
339
- async function Oe(e, t) {
339
+ async function De(e, t) {
340
340
  var r;
341
341
  const l = p.records[e];
342
342
  if (l)
@@ -347,7 +347,7 @@ const Gt = /* @__PURE__ */ $e({
347
347
  () => {
348
348
  var t;
349
349
  const e = _e();
350
- i.value = e, (t = o.onShownColumnsChange) == null || t.call(o, e), O.value = e;
350
+ i.value = e, (t = o.onShownColumnsChange) == null || t.call(o, e), D.value = e;
351
351
  },
352
352
  {
353
353
  deep: !0,
@@ -356,7 +356,7 @@ const Gt = /* @__PURE__ */ $e({
356
356
  ), B(
357
357
  () => o.dataSource,
358
358
  (e) => {
359
- we(e);
359
+ be(e);
360
360
  },
361
361
  { immediate: !0, deep: !0 }
362
362
  ), B(
@@ -383,7 +383,7 @@ const Gt = /* @__PURE__ */ $e({
383
383
  setSelectedRowKeys: Ke,
384
384
  clearAll: A
385
385
  },
386
- scrollToRow: Oe,
386
+ scrollToRow: De,
387
387
  getDataSource: () => a(p.records),
388
388
  setCurrentRow: Le,
389
389
  getPaging: Re,
@@ -400,7 +400,7 @@ const Gt = /* @__PURE__ */ $e({
400
400
  class: g(e.card ? a(F)("search-wrapper") : null),
401
401
  style: V(e.searchFormWrapperStyle)
402
402
  }, [
403
- _(a(Je).SearchForm, R(e.searchForm || {}, {
403
+ _(a(Je).SearchForm, b(e.searchForm || {}, {
404
404
  ref_key: "formRef",
405
405
  ref: C,
406
406
  "custom-reset": "",
@@ -418,40 +418,40 @@ const Gt = /* @__PURE__ */ $e({
418
418
  v.searchFormExtra ? {
419
419
  name: "extra",
420
420
  fn: h(() => [
421
- D(e.$slots, "searchFormExtra")
421
+ O(e.$slots, "searchFormExtra")
422
422
  ]),
423
423
  key: "0"
424
424
  } : void 0
425
425
  ]), 1040, ["submit-loading", "onSubmit", "onReset"])
426
426
  ], 6)) : w("", !0),
427
- b("div", {
427
+ R("div", {
428
428
  class: g([a(F)("table-wrapper"), e.card ? a(F)("table-wrapper-card") : null]),
429
429
  style: V(e.tableWrapperStyle)
430
430
  }, [
431
- b("div", {
431
+ R("div", {
432
432
  class: g(a(u)("header-wrapper"))
433
433
  }, [
434
- D(e.$slots, "title", {
434
+ O(e.$slots, "title", {
435
435
  selectedRows: a(z),
436
436
  selectedRowKeys: a(m).selectedRowKeys,
437
437
  shownColumns: i.value,
438
438
  clearAll: A
439
439
  })
440
440
  ], 2),
441
- b("div", {
441
+ R("div", {
442
442
  class: g(a(u)("vxe-wrapper"))
443
443
  }, [
444
- (d(), f(a(Ge), R(a(lt)(o), {
444
+ (d(), f(a(Ge), b(a(lt)(o), {
445
445
  ref_key: "tableRef",
446
446
  ref: s,
447
447
  key: a(Ce),
448
448
  data: a(p).records,
449
449
  "sort-config": {
450
- remote: M.value.length > 0,
450
+ remote: j.value.length > 0,
451
451
  trigger: "cell"
452
452
  },
453
453
  "filter-config": {
454
- remote: j.value.length > 0
454
+ remote: M.value.length > 0
455
455
  },
456
456
  loading: Be.value,
457
457
  style: a(pe),
@@ -470,20 +470,20 @@ const Gt = /* @__PURE__ */ $e({
470
470
  }, null, 8, ["image"])
471
471
  ]),
472
472
  loading: h(() => [
473
- b("div", {
473
+ R("div", {
474
474
  class: g(a(F)("table-loading-wrapper"))
475
475
  }, [
476
476
  _(a(ot))
477
477
  ], 2)
478
478
  ]),
479
479
  default: h(() => [
480
- o.expandable && i.value.length ? (d(), f(a(re), R({ key: 0 }, a(nt)(e.expandable), { fixed: Ee.value }), {
480
+ o.expandable && i.value.length ? (d(), f(a(re), b({ key: 0 }, a(nt)(e.expandable), { fixed: Ee.value }), {
481
481
  content: h((l) => [
482
482
  (d(), f(L(o.expandable.renderContent(l))))
483
483
  ]),
484
484
  _: 1
485
485
  }, 16, ["fixed"])) : w("", !0),
486
- o.rowSelection && i.value.length ? (d(), f(a(re), R(
486
+ o.rowSelection && i.value.length ? (d(), f(a(re), b(
487
487
  { key: 1 },
488
488
  a(st)(a(m), i.value, o.size),
489
489
  {
@@ -500,15 +500,15 @@ const Gt = /* @__PURE__ */ $e({
500
500
  K(a(Xe)(v, ["searchFormExtra"]), (l, r) => ({
501
501
  name: r,
502
502
  fn: h((c) => [
503
- D(e.$slots, r, qe(Ue(c || {})))
503
+ O(e.$slots, r, qe(Ue(c || {})))
504
504
  ])
505
505
  }))
506
506
  ]), 1040, ["data", "sort-config", "filter-config", "loading", "style", "size", "onSortChange", "onFilterChange"]))
507
507
  ], 2),
508
- b("div", {
508
+ R("div", {
509
509
  class: g(a(u)("pagination-wrapper"))
510
510
  }, [
511
- e.sticky ? (d(), f(a(wt), {
511
+ e.sticky ? (d(), f(a(bt), {
512
512
  key: 0,
513
513
  direction: "horizontal",
514
514
  "scroll-container": ve.value,
@@ -516,7 +516,7 @@ const Gt = /* @__PURE__ */ $e({
516
516
  "bar-color": "var(--ap-scrollbar-thumb-color-base)",
517
517
  "track-color": "var(--ap-table-header-bg, #f2f6f9)"
518
518
  }, null, 8, ["scroll-container"])) : w("", !0),
519
- e.pagination !== !1 ? (d(), f(a(at), R({
519
+ e.pagination !== !1 ? (d(), f(a(at), b({
520
520
  key: 1,
521
521
  class: a(u)("pagination")
522
522
  }, a(q).pagination, { onChange: a(Ie) }), null, 16, ["class", "onChange"])) : w("", !0)
@@ -1,6 +1,6 @@
1
1
  import { ApListExpose, ApListProps } from './interface';
2
2
  import { Recordable } from '../type';
3
- import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, Ref, VNode } from 'vue';
3
+ import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, Ref, VNode, RendererNode, RendererElement } from 'vue';
4
4
  import { ApFormSearchFormExpose } from '..';
5
5
  declare const _default: <RecordType extends Recordable>(__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<{
6
6
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & ApListProps<RecordType> & Partial<{}>> & PublicProps;
@@ -34,7 +34,9 @@ declare const _default: <RecordType extends Recordable>(__VLS_props: NonNullable
34
34
  }): any;
35
35
  };
36
36
  emit: {};
37
- }>) => VNode & {
37
+ }>) => VNode<RendererNode, RendererElement, {
38
+ [key: string]: any;
39
+ }> & {
38
40
  __ctx?: Awaited<typeof __VLS_setup>;
39
41
  };
40
42
  export default _default;
@@ -1,4 +1,4 @@
1
- import { defineComponent as _, ref as x, toRef as ee, unref as t, computed as p, watch as te, createElementBlock as s, openBlock as i, normalizeStyle as h, normalizeClass as l, renderSlot as u, createElementVNode as ae, createCommentVNode as I, createVNode as g, Fragment as F, createBlock as V, withCtx as b, renderList as ne, mergeProps as re } from "vue";
1
+ import { defineComponent as _, ref as x, toRef as ee, unref as t, computed as p, watch as te, openBlock as i, createElementBlock as s, normalizeClass as l, normalizeStyle as h, renderSlot as u, createElementVNode as ae, createVNode as g, createCommentVNode as I, Fragment as F, createBlock as V, withCtx as b, renderList as ne, mergeProps as re } from "vue";
2
2
  import { Empty as E, Spin as oe, Pagination as ie } from "@aplus-frontend/antdv";
3
3
  import { useTablePaging as le } from "../ap-table/hooks/use-table-paging-ng.mjs";
4
4
  import "../config-provider/index.mjs";
@@ -6,7 +6,7 @@ export type ModalFunc = (props: ModalFuncProps) => {
6
6
  update: (configUpdate: ConfigUpdate) => void;
7
7
  };
8
8
  declare const confirm: (config: ModalFuncProps) => {
9
- destroy: (this: /*elided*/ any, ...args: any[]) => void;
9
+ destroy: (this: any, ...args: any[]) => void;
10
10
  update: (configUpdate: ConfigUpdate) => void;
11
11
  };
12
12
  export default confirm;
@@ -2,7 +2,7 @@ import { ApColumnType, ApTableProps } from './interface';
2
2
  import { ApFormSearchFormPopoverSorterItem } from '../ap-form';
3
3
  import { ColumnsType, ColumnType } from '@aplus-frontend/antdv/es/table';
4
4
  import { RowSelectionReturnType } from './hooks/use-table-row-selection';
5
- import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, ComputedRef, VNode } from 'vue';
5
+ import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, ComputedRef, VNode, RendererNode, RendererElement } from 'vue';
6
6
  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<{
7
7
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & ApTableProps<RecordType> & Partial<{}>> & PublicProps;
8
8
  expose(exposed: ShallowUnwrapRef<{
@@ -98,7 +98,9 @@ declare const _default: <RecordType>(__VLS_props: NonNullable<Awaited<typeof __V
98
98
  }) => void;
99
99
  };
100
100
  emit: {};
101
- }>) => VNode & {
101
+ }>) => VNode<RendererNode, RendererElement, {
102
+ [key: string]: any;
103
+ }> & {
102
104
  __ctx?: Awaited<typeof __VLS_setup>;
103
105
  };
104
106
  export default _default;
@@ -1,4 +1,4 @@
1
- import { defineComponent as je, useSlots as He, ref as v, computed as s, unref as l, toRef as _e, createVNode as y, Fragment as ne, watch as k, createElementBlock as B, openBlock as g, normalizeStyle as K, normalizeClass as b, createCommentVNode as se, createElementVNode as L, mergeProps as I, createSlots as de, withCtx as R, renderList as ue, createBlock as ie, resolveDynamicComponent as Ue, renderSlot as C, normalizeProps as qe, guardReactiveProps as Me } from "vue";
1
+ import { defineComponent as je, useSlots as He, ref as v, computed as s, unref as l, toRef as _e, createVNode as y, Fragment as ne, watch as k, openBlock as g, createElementBlock as B, normalizeClass as b, normalizeStyle as K, mergeProps as I, createSlots as se, withCtx as R, renderList as de, createBlock as ue, resolveDynamicComponent as Ue, renderSlot as C, createCommentVNode as ie, createElementVNode as L, normalizeProps as qe, guardReactiveProps as Me } from "vue";
2
2
  import { Divider as Ge, Table as Je } from "@aplus-frontend/antdv";
3
3
  import { useToken as Qe } from "@aplus-frontend/antdv/es/theme/internal";
4
4
  import { ApForm as Xe } from "../ap-form/index.mjs";
@@ -6,7 +6,7 @@ import { noRenderAsFormItemValueList as ce } from "./constants.mjs";
6
6
  import "../config-provider/index.mjs";
7
7
  import { useTablePaging as Ye } from "./hooks/use-table-paging-ng.mjs";
8
8
  import { isUndefined as S, omit as fe, isBoolean as Ze } from "lodash-unified";
9
- import { getColumnOrder as pe, updateFormProps as er, getFieldProps as rr, getSearchFormItemRenderNode as tr, recursionApColumns as me, getTableTitle as or, getTableRenderType as ar, getTableRenderProps as lr, getTableCellRenderNode as nr, apColumnToColumn as sr, falseToUndefined as dr, objectToString as ur } from "./utils.mjs";
9
+ import { getColumnOrder as pe, updateFormProps as er, getFieldProps as rr, getSearchFormItemRenderNode as tr, recursionApColumns as me, apColumnToColumn as or, getTableTitle as ar, getTableRenderType as lr, getTableRenderProps as nr, getTableCellRenderNode as sr, falseToUndefined as dr, objectToString as ur } from "./utils.mjs";
10
10
  import ir from "./hooks/use-table-content-height.mjs";
11
11
  import cr from "./hooks/use-table-row-selection.mjs";
12
12
  import { getScrollbarSize as fr, isDef as ye } from "../utils/index.mjs";
@@ -48,6 +48,7 @@ const _r = /* @__PURE__ */ je({
48
48
  },
49
49
  prefixCls: {},
50
50
  rowKey: {
51
+ type: [String, Function],
51
52
  default: "key"
52
53
  },
53
54
  tableLayout: {},
@@ -266,23 +267,23 @@ const _r = /* @__PURE__ */ je({
266
267
  function t(a, d) {
267
268
  return a.map((n) => ({
268
269
  resizable: ye(n.resizable) ? n.resizable : r.columnResizable,
269
- ...fe(sr(n), ["ellipsis"]),
270
+ ...fe(or(n), ["ellipsis"]),
270
271
  // tips: 此函数内部依赖查询&筛选的相应式值
271
272
  ...G(n),
272
273
  fixed: d ? d.fixed : n.fixed,
273
- title: or(n, A("table-header", "title"), c.headerCell, l(Se).colorTextTertiary),
274
+ title: ar(n, A("table-header", "title"), c.headerCell, l(Se).colorTextTertiary),
274
275
  customRender({
275
276
  value: m,
276
277
  ...w
277
278
  }) {
278
279
  var ae, le;
279
- const te = ar(n), We = lr({
280
+ const te = lr(n), We = nr({
280
281
  ...n,
281
282
  valueType: te
282
283
  }, {
283
284
  value: m,
284
285
  ...w
285
- }), $e = nr(te, We, w.record, l(W)), oe = ((ae = n.renderText) == null ? void 0 : ae.call(n, {
286
+ }), $e = sr(te, We, w.record, l(W)), oe = ((ae = n.renderText) == null ? void 0 : ae.call(n, {
286
287
  value: m,
287
288
  ...w
288
289
  })) || m, De = n.renderText ? y(ne, null, [(le = n.renderText) == null ? void 0 : le.call(n, {
@@ -453,8 +454,8 @@ const _r = /* @__PURE__ */ je({
453
454
  "submit-loading": l(q).loading,
454
455
  onSubmit: l(P),
455
456
  onReset: l(V)
456
- }), de({
457
- default: R(() => [(g(!0), B(ne, null, ue(U.value, (o) => (g(), ie(Ue(o.renderNode), {
457
+ }), se({
458
+ default: R(() => [(g(!0), B(ne, null, de(U.value, (o) => (g(), ue(Ue(o.renderNode), {
458
459
  key: o.dataIndex
459
460
  }))), 128))]),
460
461
  _: 2
@@ -462,7 +463,7 @@ const _r = /* @__PURE__ */ je({
462
463
  name: "extra",
463
464
  fn: R(() => [C(e.$slots, "searchFormExtra")]),
464
465
  key: "0"
465
- } : void 0]), 1040, ["submit-loading", "onSubmit", "onReset"])], 6)) : se("", !0), L("div", {
466
+ } : void 0]), 1040, ["submit-loading", "onSubmit", "onReset"])], 6)) : ie("", !0), L("div", {
466
467
  ref_key: "contentRef",
467
468
  ref: Re,
468
469
  class: b([l(z)("table-wrapper"), e.card ? l(z)("table-wrapper-card") : null]),
@@ -478,10 +479,10 @@ const _r = /* @__PURE__ */ je({
478
479
  selectedRows: l(F),
479
480
  selectedRowKeys: l(T).selectedRowKeys,
480
481
  shownColumns: u.value
481
- }, x))], 2), c.title ? (g(), ie(l(Ge), {
482
+ }, x))], 2), c.title ? (g(), ue(l(Ge), {
482
483
  key: 0,
483
484
  type: "vertical"
484
- })) : se("", !0), y(hr, {
485
+ })) : ie("", !0), y(hr, {
485
486
  config: e.settings === !0 ? {} : e.settings
486
487
  }, null, 8, ["config"])], 2)) : C(e.$slots, "title", I({
487
488
  key: 1,
@@ -497,7 +498,7 @@ const _r = /* @__PURE__ */ je({
497
498
  "table-layout": Ke.value,
498
499
  columns: u.value,
499
500
  onResizeColumn: t[0] || (t[0] = (o, a) => a.width = o)
500
- }), de({
501
+ }), se({
501
502
  summary: R(() => [C(e.$slots, "summary", {
502
503
  columns: u.value,
503
504
  records: Q.value.dataSource,
@@ -518,7 +519,7 @@ const _r = /* @__PURE__ */ je({
518
519
  }, null, 8, ["scroll-container"])];
519
520
  }),
520
521
  key: "0"
521
- } : void 0, ue(l(fe)(c, ["title", "searchFormExtra", "headerCell", "summary"]), (o, a) => ({
522
+ } : void 0, de(l(fe)(c, ["title", "searchFormExtra", "headerCell", "summary"]), (o, a) => ({
522
523
  name: a,
523
524
  fn: R((d) => [C(e.$slots, a, qe(Me(d || {})))])
524
525
  }))]), 1040, ["class", "size", "table-layout", "columns"])], 6)], 6));
@@ -1,4 +1,4 @@
1
- import { defineComponent as n, computed as l, createElementBlock as s, openBlock as p, normalizeClass as d, toDisplayString as m } from "vue";
1
+ import { defineComponent as n, computed as l, openBlock as s, createElementBlock as p, normalizeClass as d, toDisplayString as m } from "vue";
2
2
  import "../../../config-provider/index.mjs";
3
3
  import { useNamespace as c } from "../../../config-provider/hooks/use-namespace.mjs";
4
4
  const _ = /* @__PURE__ */ n({
@@ -10,7 +10,7 @@ const _ = /* @__PURE__ */ n({
10
10
  },
11
11
  setup(e) {
12
12
  const o = e, { m: a } = c("ap-table-index"), r = l(() => [o.bordered ? a("bordered") : null].filter(Boolean));
13
- return (t, i) => (p(), s("div", {
13
+ return (t, i) => (s(), p("div", {
14
14
  class: d(r.value)
15
15
  }, m(t.value), 3));
16
16
  }
@@ -1,4 +1,4 @@
1
- import { defineComponent as x, ref as _, computed as B, createElementBlock as f, openBlock as i, mergeProps as E, unref as o, createElementVNode as O, createCommentVNode as N, normalizeClass as y, createVNode as b, createSlots as V, withCtx as m, createBlock as c, resolveDynamicComponent as v, h as w } from "vue";
1
+ import { defineComponent as x, ref as _, computed as B, openBlock as i, createElementBlock as f, mergeProps as E, unref as o, createElementVNode as O, normalizeClass as y, createVNode as b, createSlots as N, withCtx as m, createBlock as c, resolveDynamicComponent as v, h as w, createCommentVNode as V } from "vue";
2
2
  import "../../../config-provider/index.mjs";
3
3
  import { Tooltip as h } from "@aplus-frontend/antdv";
4
4
  import { CopyOutlined as j, CheckOutlined as S } from "@ant-design/icons-vue";
@@ -65,7 +65,7 @@ const G = /* @__PURE__ */ x({
65
65
  O("div", {
66
66
  class: y([o(u)("content")])
67
67
  }, [
68
- b(o(h), null, V({
68
+ b(o(h), null, N({
69
69
  default: m(() => {
70
70
  var s;
71
71
  return [
@@ -98,7 +98,7 @@ const G = /* @__PURE__ */ x({
98
98
  ]),
99
99
  _: 1
100
100
  }, 8, ["title"])
101
- ], 2)) : N("", !0)
101
+ ], 2)) : V("", !0)
102
102
  ], 16);
103
103
  };
104
104
  }
@@ -1,4 +1,4 @@
1
- import { defineComponent as G, ref as y, unref as e, computed as L, useSlots as M, createVNode as l, cloneVNode as P, createElementBlock as q, openBlock as T, Fragment as H, createBlock as J, createCommentVNode as Q, resolveDynamicComponent as W, withCtx as r, createElementVNode as s, normalizeClass as i, toDisplayString as c, createTextVNode as S, isRef as X } from "vue";
1
+ import { defineComponent as G, ref as y, unref as e, computed as L, useSlots as M, createVNode as l, cloneVNode as P, openBlock as T, createElementBlock as q, Fragment as H, createBlock as J, resolveDynamicComponent as Q, createCommentVNode as W, withCtx as r, createElementVNode as s, normalizeClass as i, toDisplayString as c, createTextVNode as S, isRef as X } from "vue";
2
2
  import { Button as x, Modal as Y, RadioGroup as Z, RadioButton as B, Divider as N } from "@aplus-frontend/antdv";
3
3
  import { getSingleVNode as ee } from "../../../../utils/slot.mjs";
4
4
  import { useInjectApTable as te } from "../../../context.mjs";
@@ -58,9 +58,9 @@ const Te = /* @__PURE__ */ G({
58
58
  const p = h(o.value);
59
59
  E(p), I(p), (n = (t = m.config) == null ? void 0 : t.onChange) == null || n.call(t, p);
60
60
  }
61
- return (p, t) => (T(), q(H, null, [e(k) ? (T(), J(W(e(k)), {
61
+ return (p, t) => (T(), q(H, null, [e(k) ? (T(), J(Q(e(k)), {
62
62
  key: 0
63
- })) : Q("", !0), l(e(Y), {
63
+ })) : W("", !0), l(e(Y), {
64
64
  open: u.value,
65
65
  "onUpdate:open": t[2] || (t[2] = (n) => u.value = n),
66
66
  title: e(a)("ap.apTable.setting.title"),
@@ -1,4 +1,4 @@
1
- import { defineComponent as P, ref as U, computed as p, unref as l, watch as x, createElementBlock as v, openBlock as s, createElementVNode as k, normalizeClass as D, createVNode as u, withCtx as i, createBlock as h, resolveDynamicComponent as w, Fragment as L, renderList as j, mergeProps as z } from "vue";
1
+ import { defineComponent as P, ref as U, computed as p, unref as l, watch as x, openBlock as s, createElementBlock as v, createElementVNode as k, normalizeClass as D, createVNode as u, withCtx as i, createBlock as h, resolveDynamicComponent as w, Fragment as L, renderList as j, mergeProps as z } from "vue";
2
2
  import { Checkbox as b, Row as F, Col as I } from "@aplus-frontend/antdv";
3
3
  import "../../../../config-provider/index.mjs";
4
4
  import { useInjectApTable as R } from "../../../context.mjs";
@@ -1,4 +1,4 @@
1
- import { defineComponent as f, ref as c, createElementBlock as u, openBlock as n, normalizeClass as m, unref as r, createVNode as i, createCommentVNode as p, withCtx as k, createBlock as y } from "vue";
1
+ import { defineComponent as f, ref as c, openBlock as n, createElementBlock as u, normalizeClass as m, unref as r, createVNode as i, withCtx as k, createBlock as y, createCommentVNode as p } from "vue";
2
2
  import "./item.vue.mjs";
3
3
  import "../../../../config-provider/index.mjs";
4
4
  import V from "vuedraggable";
@@ -1,4 +1,4 @@
1
- import { defineComponent as E, createElementBlock as g, openBlock as s, normalizeClass as t, unref as e, createElementVNode as p, createVNode as c, createCommentVNode as r, createBlock as u, resolveDynamicComponent as I, withCtx as d } from "vue";
1
+ import { defineComponent as E, openBlock as s, createElementBlock as g, normalizeClass as t, unref as e, createElementVNode as p, createVNode as c, createCommentVNode as r, createBlock as u, resolveDynamicComponent as I, withCtx as d } from "vue";
2
2
  import { Space as O, Tooltip as m } from "@aplus-frontend/antdv";
3
3
  import { HolderOutlined as D, VerticalAlignTopOutlined as k, VerticalAlignMiddleOutlined as z, DeleteOutlined as A } from "@ant-design/icons-vue";
4
4
  import "../../../../config-provider/index.mjs";
@@ -1,4 +1,4 @@
1
- import { defineComponent as A, ref as L, unref as n, computed as O, watch as $, createElementBlock as y, openBlock as c, normalizeClass as d, createVNode as m, createElementVNode as v, withCtx as g, toDisplayString as k, createTextVNode as q, createCommentVNode as p, createBlock as b } from "vue";
1
+ import { defineComponent as A, ref as L, unref as n, computed as O, watch as $, openBlock as c, createElementBlock as y, normalizeClass as d, createVNode as m, withCtx as v, createElementVNode as g, toDisplayString as k, createTextVNode as q, createBlock as b, createCommentVNode as p } from "vue";
2
2
  import { Flex as G, Button as H, Divider as J } from "@aplus-frontend/antdv";
3
3
  import N from "vuedraggable";
4
4
  import "../sortable/index.vue.mjs";
@@ -112,8 +112,8 @@ const W = { key: 0 }, X = { key: 1 }, Y = { key: 2 }, re = /* @__PURE__ */ A({
112
112
  align: "center",
113
113
  justify: "space-between"
114
114
  }, {
115
- default: g(() => [
116
- v("span", {
115
+ default: v(() => [
116
+ g("span", {
117
117
  class: d(n(r)("header-title"))
118
118
  }, k(n(h)("ap.apTable.setting.selectCount", { count: z.value })), 3),
119
119
  m(n(H), {
@@ -122,7 +122,7 @@ const W = { key: 0 }, X = { key: 1 }, Y = { key: 2 }, re = /* @__PURE__ */ A({
122
122
  style: { padding: "0" },
123
123
  onClick: x.onReset
124
124
  }, {
125
- default: g(() => [
125
+ default: v(() => [
126
126
  q(k(n(h)("ap.apTable.setting.reset")), 1)
127
127
  ]),
128
128
  _: 1
@@ -131,11 +131,11 @@ const W = { key: 0 }, X = { key: 1 }, Y = { key: 2 }, re = /* @__PURE__ */ A({
131
131
  _: 1
132
132
  }, 8, ["class"]),
133
133
  m(n(J), { style: { margin: "0px" } }),
134
- v("div", {
134
+ g("div", {
135
135
  class: d(n(r)("content"))
136
136
  }, [
137
137
  i.value.length ? (c(), y("div", W, [
138
- v("span", {
138
+ g("span", {
139
139
  class: d(n(r)("section-title"))
140
140
  }, k(n(h)("ap.apTable.setting.fixToLeft")), 3),
141
141
  m(n(N), {
@@ -143,7 +143,7 @@ const W = { key: 0 }, X = { key: 1 }, Y = { key: 2 }, re = /* @__PURE__ */ A({
143
143
  "item-key": "key",
144
144
  "onUpdate:modelValue": D
145
145
  }, {
146
- item: g(({ element: o }) => [
146
+ item: v(({ element: o }) => [
147
147
  C(o) ? (c(), b(R, {
148
148
  key: 0,
149
149
  value: o
@@ -153,7 +153,7 @@ const W = { key: 0 }, X = { key: 1 }, Y = { key: 2 }, re = /* @__PURE__ */ A({
153
153
  }, 8, ["model-value"])
154
154
  ])) : p("", !0),
155
155
  s.value.length ? (c(), y("div", X, [
156
- v("span", {
156
+ g("span", {
157
157
  class: d(n(r)("section-title"))
158
158
  }, k(n(h)("ap.apTable.setting.unFixed")), 3),
159
159
  m(n(N), {
@@ -161,7 +161,7 @@ const W = { key: 0 }, X = { key: 1 }, Y = { key: 2 }, re = /* @__PURE__ */ A({
161
161
  "item-key": "key",
162
162
  "onUpdate:modelValue": E
163
163
  }, {
164
- item: g(({ element: o }) => [
164
+ item: v(({ element: o }) => [
165
165
  C(o) ? (c(), b(R, {
166
166
  key: 0,
167
167
  value: o
@@ -171,7 +171,7 @@ const W = { key: 0 }, X = { key: 1 }, Y = { key: 2 }, re = /* @__PURE__ */ A({
171
171
  }, 8, ["model-value"])
172
172
  ])) : p("", !0),
173
173
  u.value.length ? (c(), y("div", Y, [
174
- v("span", {
174
+ g("span", {
175
175
  class: d(n(r)("section-title"))
176
176
  }, k(n(h)("ap.apTable.setting.fixToRight")), 3),
177
177
  m(n(N), {
@@ -179,7 +179,7 @@ const W = { key: 0 }, X = { key: 1 }, Y = { key: 2 }, re = /* @__PURE__ */ A({
179
179
  "item-key": "key",
180
180
  "onUpdate:modelValue": j
181
181
  }, {
182
- item: g(({ element: o }) => [
182
+ item: v(({ element: o }) => [
183
183
  C(o) ? (c(), b(R, {
184
184
  key: 0,
185
185
  value: o
@@ -1,4 +1,4 @@
1
- import { defineComponent as x, computed as w, unref as o, createElementBlock as i, openBlock as c, createVNode as s, withCtx as d, Fragment as m, renderList as B, createBlock as u, mergeProps as I, resolveDynamicComponent as L } from "vue";
1
+ import { defineComponent as x, computed as w, unref as o, openBlock as c, createElementBlock as i, createVNode as s, withCtx as d, Fragment as m, renderList as B, createBlock as u, mergeProps as I, resolveDynamicComponent as L } from "vue";
2
2
  import { Row as N, Col as k, Checkbox as P } from "@aplus-frontend/antdv";
3
3
  import "../select-group/index.vue.mjs";
4
4
  import { useInjectApTable as U } from "../../../context.mjs";
@@ -1,4 +1,4 @@
1
- import { defineComponent as n, computed as o, createBlock as u, createCommentVNode as a, openBlock as m, unref as p, normalizeProps as l, mergeProps as c } from "vue";
1
+ import { defineComponent as n, computed as o, openBlock as u, createBlock as a, unref as m, normalizeProps as p, mergeProps as l, createCommentVNode as c } from "vue";
2
2
  import { Badge as s } from "@aplus-frontend/antdv";
3
3
  const _ = /* @__PURE__ */ n({
4
4
  name: "ApTableStatus",
@@ -9,7 +9,7 @@ const _ = /* @__PURE__ */ n({
9
9
  },
10
10
  setup(t) {
11
11
  const e = t, r = o(() => e.valueEnum[e.value]);
12
- return (d, f) => r.value ? (m(), u(p(s), l(c({ key: 0 }, r.value)), null, 16)) : a("", !0);
12
+ return (d, f) => r.value ? (u(), a(m(s), p(l({ key: 0 }, r.value)), null, 16)) : c("", !0);
13
13
  }
14
14
  });
15
15
  export {