@aplus-frontend/ui 0.6.0-beta.0 → 0.6.0-beta.10

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 (335) hide show
  1. package/es/src/ap-action/group/index.vue.d.ts +1 -1
  2. package/es/src/ap-action/item-dropdown/index.vue.d.ts +1 -1
  3. package/es/src/ap-button/ap-button.vue.mjs +1 -1
  4. package/es/src/ap-field/date/helper.mjs +12 -12
  5. package/es/src/ap-field/date/index.vue.d.ts +1 -1
  6. package/es/src/ap-field/date-range/index.vue.d.ts +1 -1
  7. package/es/src/ap-field/number/index.vue.d.ts +1 -1
  8. package/es/src/ap-field/rate/index.vue.d.ts +1 -1
  9. package/es/src/ap-field/select/index.vue.d.ts +1 -1
  10. package/es/src/ap-field/tree-select/index.vue.d.ts +1 -1
  11. package/es/src/ap-form/ap-form.vue2.mjs +57 -58
  12. package/es/src/ap-form/interface.d.ts +8 -0
  13. package/es/src/ap-form/item/index.vue.d.ts +1 -1
  14. package/es/src/ap-form/item/index.vue.mjs +33 -28
  15. package/es/src/ap-form/items/checkbox/index.vue.mjs +1 -0
  16. package/es/src/ap-form/items/date/index.vue.mjs +8 -7
  17. package/es/src/ap-form/items/date-range/index.vue.mjs +1 -0
  18. package/es/src/ap-form/items/number/index.vue.d.ts +8 -8
  19. package/es/src/ap-form/items/number/index.vue.mjs +9 -8
  20. package/es/src/ap-form/items/radio/index.vue.mjs +1 -0
  21. package/es/src/ap-form/items/select/index.vue.d.ts +8 -8
  22. package/es/src/ap-form/items/select/index.vue.mjs +7 -6
  23. package/es/src/ap-form/items/switch/index.vue.mjs +1 -0
  24. package/es/src/ap-form/items/text/index.vue.d.ts +2 -2
  25. package/es/src/ap-form/items/text/index.vue2.mjs +8 -7
  26. package/es/src/ap-form/items/text/password.vue.d.ts +2 -2
  27. package/es/src/ap-form/items/text/password.vue.mjs +1 -0
  28. package/es/src/ap-form/items/text-area/index.vue.mjs +1 -0
  29. package/es/src/ap-form/items/tree-select/index.vue.d.ts +8 -8
  30. package/es/src/ap-form/items/tree-select/index.vue.mjs +6 -5
  31. package/es/src/ap-form/render/item.vue.d.ts +1 -1
  32. package/es/src/ap-form/render/item.vue.mjs +5 -4
  33. package/es/src/ap-form/search-form/components/popover-filter.vue.d.ts +131 -2
  34. package/es/src/ap-form/search-form/components/popover-filter.vue2.mjs +41 -37
  35. package/es/src/ap-form/search-form/components/popover-sorter/index.vue2.mjs +88 -69
  36. package/es/src/ap-form/search-form/components/popover-sorter/sortable-item.vue2.mjs +8 -8
  37. package/es/src/ap-form/search-form/index.vue.d.ts +6 -2
  38. package/es/src/ap-form/search-form/index.vue.mjs +91 -89
  39. package/es/src/ap-grid/constants.d.ts +3 -3
  40. package/es/src/ap-grid/constants.mjs +9 -9
  41. package/es/src/ap-grid/editable/form-item.vue.mjs +95 -84
  42. package/es/src/ap-grid/editable/index.vue.mjs +90 -79
  43. package/es/src/ap-grid/hooks/use-inner-params.d.ts +2 -1
  44. package/es/src/ap-grid/hooks/use-inner-params.mjs +24 -35
  45. package/es/src/ap-grid/index.vue.mjs +171 -148
  46. package/es/src/ap-grid/interface.d.ts +3 -3
  47. package/es/src/ap-grid/utils/table.mjs +32 -32
  48. package/es/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue.d.ts +1 -1
  49. package/es/src/ap-table/ap-table.vue2.mjs +209 -198
  50. package/es/src/ap-table/components/setting/tree-select/index.vue2.mjs +1 -1
  51. package/es/src/ap-table/constants.d.ts +30 -30
  52. package/es/src/ap-table/hooks/use-table-paging-ng.d.ts +9 -2
  53. package/es/src/ap-table/hooks/use-table-paging-ng.mjs +147 -130
  54. package/es/src/ap-table/utils.d.ts +14 -14
  55. package/es/src/ap-tag/ap-tag-group.vue.mjs +32 -28
  56. package/es/src/ap-tag/ap-tag.vue.d.ts +1 -0
  57. package/es/src/ap-tag/ap-tag.vue.mjs +18 -12
  58. package/es/src/ap-tag/interface.d.ts +4 -0
  59. package/es/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +3 -3
  60. package/es/src/business/ap-expand-alert/ApExpandAlert.vue2.mjs +93 -73
  61. package/es/src/business/ap-expand-alert/index.d.ts +4 -4
  62. package/es/src/business/ap-export-group/ApExportGroup.vue.d.ts +1 -0
  63. package/es/src/business/ap-export-group/ApExportGroup.vue2.mjs +109 -99
  64. package/es/src/business/ap-export-group/index.d.ts +3 -0
  65. package/es/src/business/ap-export-group/interface.d.ts +7 -2
  66. package/es/src/business/ap-input-radio/ApInputRadio.vue2.mjs +27 -25
  67. package/es/src/business/ap-label/ApLabel.d.ts +1 -1
  68. package/es/src/business/ap-label/constans.mjs +1 -1
  69. package/es/src/business/ap-label/index.d.ts +3 -3
  70. package/es/src/business/ap-ladder/ApLadder.d.ts +1 -1
  71. package/es/src/business/ap-ladder/index.d.ts +3 -3
  72. package/es/src/business/ap-status/interface.d.ts +1 -1
  73. package/es/src/business/ap-table-modal/modal-title.vue2.mjs +2 -2
  74. package/es/src/business/ap-view/ap-view.vue.d.ts +1 -0
  75. package/es/src/business/ap-view/ap-view.vue2.mjs +136 -117
  76. package/es/src/business/ap-view/components/main-button-content.vue2.mjs +60 -48
  77. package/es/src/business/ap-view/components/menu-list-content.vue2.mjs +86 -80
  78. package/es/src/business/ap-view/hooks/use-view-provide.d.ts +1 -0
  79. package/es/src/business/ap-view/index.d.ts +3 -0
  80. package/es/src/business/ap-view/interface.d.ts +8 -0
  81. package/es/src/business/batch-input-group/form-item.vue.d.ts +1 -1
  82. package/es/src/business/batch-input-group/form-item.vue.mjs +1 -0
  83. package/es/src/business/batch-input-group/index.vue.d.ts +1 -1
  84. package/es/src/business/hooks/usePageListApGrid.mjs +3 -5
  85. package/es/src/check-card/group.vue.d.ts +1 -1
  86. package/es/src/check-card/index.vue2.mjs +1 -1
  87. package/es/src/config-provider/config-provider-props.d.ts +0 -5
  88. package/es/src/config-provider/config-provider-props.mjs +0 -4
  89. package/es/src/config-provider/config-provider.d.ts +0 -138
  90. package/es/src/config-provider/config-provider.mjs +21 -26
  91. package/es/src/config-provider/hooks/use-global-config.d.ts +0 -5
  92. package/es/src/config-provider/index.d.ts +0 -652
  93. package/es/src/design-token/index.mjs +9 -3
  94. package/es/src/editable-table/form-item.vue.d.ts +2 -14
  95. package/es/src/editable-table/form-item.vue.mjs +85 -77
  96. package/es/src/editable-table/index.vue.d.ts +2 -16
  97. package/es/src/editable-table/index.vue.mjs +86 -78
  98. package/es/src/editable-table/interface.d.ts +7 -0
  99. package/es/src/locale/lang/en.mjs +1 -1
  100. package/es/src/locale/lang/zh-cn.mjs +1 -1
  101. package/lib/src/ap-action/group/index.vue.d.ts +1 -1
  102. package/lib/src/ap-action/item-dropdown/index.vue.d.ts +1 -1
  103. package/lib/src/ap-button/ap-button.vue.js +1 -1
  104. package/lib/src/ap-field/date/helper.js +1 -1
  105. package/lib/src/ap-field/date/index.vue.d.ts +1 -1
  106. package/lib/src/ap-field/date-range/index.vue.d.ts +1 -1
  107. package/lib/src/ap-field/number/index.vue.d.ts +1 -1
  108. package/lib/src/ap-field/rate/index.vue.d.ts +1 -1
  109. package/lib/src/ap-field/select/index.vue.d.ts +1 -1
  110. package/lib/src/ap-field/tree-select/index.vue.d.ts +1 -1
  111. package/lib/src/ap-form/ap-form.vue2.js +1 -1
  112. package/lib/src/ap-form/interface.d.ts +8 -0
  113. package/lib/src/ap-form/item/index.vue.d.ts +1 -1
  114. package/lib/src/ap-form/item/index.vue.js +1 -1
  115. package/lib/src/ap-form/items/checkbox/index.vue.js +1 -1
  116. package/lib/src/ap-form/items/date/index.vue.js +1 -1
  117. package/lib/src/ap-form/items/date-range/index.vue.js +1 -1
  118. package/lib/src/ap-form/items/number/index.vue.d.ts +8 -8
  119. package/lib/src/ap-form/items/number/index.vue.js +1 -1
  120. package/lib/src/ap-form/items/radio/index.vue.js +1 -1
  121. package/lib/src/ap-form/items/select/index.vue.d.ts +8 -8
  122. package/lib/src/ap-form/items/select/index.vue.js +1 -1
  123. package/lib/src/ap-form/items/switch/index.vue.js +1 -1
  124. package/lib/src/ap-form/items/text/index.vue.d.ts +2 -2
  125. package/lib/src/ap-form/items/text/index.vue2.js +1 -1
  126. package/lib/src/ap-form/items/text/password.vue.d.ts +2 -2
  127. package/lib/src/ap-form/items/text/password.vue.js +1 -1
  128. package/lib/src/ap-form/items/text-area/index.vue.js +1 -1
  129. package/lib/src/ap-form/items/tree-select/index.vue.d.ts +8 -8
  130. package/lib/src/ap-form/items/tree-select/index.vue.js +1 -1
  131. package/lib/src/ap-form/render/item.vue.d.ts +1 -1
  132. package/lib/src/ap-form/render/item.vue.js +1 -1
  133. package/lib/src/ap-form/search-form/components/popover-filter.vue.d.ts +131 -2
  134. package/lib/src/ap-form/search-form/components/popover-filter.vue2.js +1 -1
  135. package/lib/src/ap-form/search-form/components/popover-sorter/index.vue2.js +1 -1
  136. package/lib/src/ap-form/search-form/components/popover-sorter/sortable-item.vue2.js +1 -1
  137. package/lib/src/ap-form/search-form/index.vue.d.ts +6 -2
  138. package/lib/src/ap-form/search-form/index.vue.js +1 -1
  139. package/lib/src/ap-grid/constants.d.ts +3 -3
  140. package/lib/src/ap-grid/constants.js +1 -1
  141. package/lib/src/ap-grid/editable/form-item.vue.js +1 -1
  142. package/lib/src/ap-grid/editable/index.vue.js +1 -1
  143. package/lib/src/ap-grid/hooks/use-inner-params.d.ts +2 -1
  144. package/lib/src/ap-grid/hooks/use-inner-params.js +1 -1
  145. package/lib/src/ap-grid/index.vue.js +1 -1
  146. package/lib/src/ap-grid/interface.d.ts +3 -3
  147. package/lib/src/ap-grid/utils/table.js +1 -1
  148. package/lib/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue.d.ts +1 -1
  149. package/lib/src/ap-table/ap-table.vue2.js +1 -1
  150. package/lib/src/ap-table/components/setting/tree-select/index.vue2.js +1 -1
  151. package/lib/src/ap-table/constants.d.ts +30 -30
  152. package/lib/src/ap-table/hooks/use-table-paging-ng.d.ts +9 -2
  153. package/lib/src/ap-table/hooks/use-table-paging-ng.js +1 -1
  154. package/lib/src/ap-table/utils.d.ts +14 -14
  155. package/lib/src/ap-tag/ap-tag-group.vue.js +1 -1
  156. package/lib/src/ap-tag/ap-tag.vue.d.ts +1 -0
  157. package/lib/src/ap-tag/ap-tag.vue.js +1 -1
  158. package/lib/src/ap-tag/interface.d.ts +4 -0
  159. package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +3 -3
  160. package/lib/src/business/ap-expand-alert/ApExpandAlert.vue2.js +1 -1
  161. package/lib/src/business/ap-expand-alert/index.d.ts +4 -4
  162. package/lib/src/business/ap-export-group/ApExportGroup.vue.d.ts +1 -0
  163. package/lib/src/business/ap-export-group/ApExportGroup.vue2.js +1 -1
  164. package/lib/src/business/ap-export-group/index.d.ts +3 -0
  165. package/lib/src/business/ap-export-group/interface.d.ts +7 -2
  166. package/lib/src/business/ap-input-radio/ApInputRadio.vue2.js +1 -1
  167. package/lib/src/business/ap-label/ApLabel.d.ts +1 -1
  168. package/lib/src/business/ap-label/constans.js +1 -1
  169. package/lib/src/business/ap-label/index.d.ts +3 -3
  170. package/lib/src/business/ap-ladder/ApLadder.d.ts +1 -1
  171. package/lib/src/business/ap-ladder/index.d.ts +3 -3
  172. package/lib/src/business/ap-status/interface.d.ts +1 -1
  173. package/lib/src/business/ap-table-modal/modal-title.vue2.js +1 -1
  174. package/lib/src/business/ap-view/ap-view.vue.d.ts +1 -0
  175. package/lib/src/business/ap-view/ap-view.vue2.js +1 -1
  176. package/lib/src/business/ap-view/components/main-button-content.vue2.js +1 -1
  177. package/lib/src/business/ap-view/components/menu-list-content.vue2.js +1 -1
  178. package/lib/src/business/ap-view/hooks/use-view-provide.d.ts +1 -0
  179. package/lib/src/business/ap-view/index.d.ts +3 -0
  180. package/lib/src/business/ap-view/interface.d.ts +8 -0
  181. package/lib/src/business/batch-input-group/form-item.vue.d.ts +1 -1
  182. package/lib/src/business/batch-input-group/form-item.vue.js +1 -1
  183. package/lib/src/business/batch-input-group/index.vue.d.ts +1 -1
  184. package/lib/src/business/hooks/usePageListApGrid.js +1 -1
  185. package/lib/src/check-card/group.vue.d.ts +1 -1
  186. package/lib/src/check-card/index.vue2.js +1 -1
  187. package/lib/src/config-provider/config-provider-props.d.ts +0 -5
  188. package/lib/src/config-provider/config-provider-props.js +1 -1
  189. package/lib/src/config-provider/config-provider.d.ts +0 -138
  190. package/lib/src/config-provider/config-provider.js +1 -1
  191. package/lib/src/config-provider/hooks/use-global-config.d.ts +0 -5
  192. package/lib/src/config-provider/index.d.ts +0 -652
  193. package/lib/src/design-token/index.js +1 -1
  194. package/lib/src/editable-table/form-item.vue.d.ts +2 -14
  195. package/lib/src/editable-table/form-item.vue.js +1 -1
  196. package/lib/src/editable-table/index.vue.d.ts +2 -16
  197. package/lib/src/editable-table/index.vue.js +1 -1
  198. package/lib/src/editable-table/interface.d.ts +7 -0
  199. package/lib/src/locale/lang/en.js +1 -1
  200. package/lib/src/locale/lang/zh-cn.js +1 -1
  201. package/package.json +4 -4
  202. package/theme/antd-global-overwrite/admin/index.css +14 -27
  203. package/theme/antd-global-overwrite/admin/index.less +1 -0
  204. package/theme/antd-global-overwrite/admin/modal.css +8 -24
  205. package/theme/antd-global-overwrite/admin/modal.less +9 -24
  206. package/theme/antd-global-overwrite/admin/table.css +3 -3
  207. package/theme/antd-global-overwrite/admin/table.less +3 -3
  208. package/theme/antd-global-overwrite/admin/tooltip.css +3 -0
  209. package/theme/antd-global-overwrite/admin/tooltip.less +3 -0
  210. package/theme/antd-global-overwrite/aplus/index.css +13 -20
  211. package/theme/antd-global-overwrite/aplus/index.less +1 -0
  212. package/theme/antd-global-overwrite/aplus/modal.css +7 -17
  213. package/theme/antd-global-overwrite/aplus/modal.less +8 -18
  214. package/theme/antd-global-overwrite/aplus/table.css +3 -3
  215. package/theme/antd-global-overwrite/aplus/table.less +3 -3
  216. package/theme/antd-global-overwrite/aplus/tooltip.css +3 -0
  217. package/theme/antd-global-overwrite/aplus/tooltip.less +3 -0
  218. package/theme/ap-action/item-dropdown.css +24 -6
  219. package/theme/ap-action/item-dropdown.less +1 -1
  220. package/theme/ap-action/item.css +25 -7
  221. package/theme/ap-action/item.less +1 -1
  222. package/theme/ap-appendix/ap-appendix.css +28 -8
  223. package/theme/ap-appendix/ap-appendix.less +6 -4
  224. package/theme/ap-attachment/ap-attachment.css +28 -9
  225. package/theme/ap-attachment/ap-attachment.less +6 -6
  226. package/theme/ap-batch-action/ap-batch-action.css +28 -7
  227. package/theme/ap-batch-action/ap-batch-action.less +6 -3
  228. package/theme/ap-button/ap-button.css +22 -4
  229. package/theme/ap-card/ap-card.css +22 -4
  230. package/theme/ap-descriptions/ap-descriptions.css +27 -9
  231. package/theme/ap-descriptions/ap-descriptions.less +5 -5
  232. package/theme/ap-download/ap-download.css +29 -14
  233. package/theme/ap-download/ap-download.less +8 -11
  234. package/theme/ap-expand-alert/ap-expand-alert.css +24 -6
  235. package/theme/ap-expand-alert/ap-expand-alert.less +5 -5
  236. package/theme/ap-field/checkbox.css +23 -5
  237. package/theme/ap-field/checkbox.less +2 -1
  238. package/theme/ap-field/index.css +24 -6
  239. package/theme/ap-field/number.css +22 -4
  240. package/theme/ap-field/radio.css +23 -5
  241. package/theme/ap-field/radio.less +1 -1
  242. package/theme/ap-field/text-area.css +22 -4
  243. package/theme/ap-form/ap-form-item-group.css +22 -4
  244. package/theme/ap-form/ap-form-item.css +33 -10
  245. package/theme/ap-form/ap-form-item.less +17 -9
  246. package/theme/ap-form/drawer-form.css +22 -4
  247. package/theme/ap-form/index.css +61 -26
  248. package/theme/ap-form/item-text-group.css +22 -4
  249. package/theme/ap-form/item-text.css +22 -4
  250. package/theme/ap-form/modal-form.css +22 -4
  251. package/theme/ap-form/search-form-sorter.css +36 -17
  252. package/theme/ap-form/search-form-sorter.less +8 -7
  253. package/theme/ap-form/search-form.css +61 -26
  254. package/theme/ap-form/search-form.less +17 -6
  255. package/theme/ap-grid/editable.css +24 -6
  256. package/theme/ap-grid/editable.less +3 -2
  257. package/theme/ap-grid/index.css +117 -43
  258. package/theme/ap-grid/index.less +35 -11
  259. package/theme/ap-group-search/ap-extension-select.css +22 -4
  260. package/theme/ap-group-search/ap-group-search.css +22 -4
  261. package/theme/ap-group-search/ap-popover-select.css +22 -4
  262. package/theme/ap-image/ap-image.css +22 -4
  263. package/theme/ap-input-radio/ap-input-radio.css +22 -4
  264. package/theme/ap-label/ap-label.css +22 -4
  265. package/theme/ap-ladder/ap-ladder.css +26 -7
  266. package/theme/ap-ladder/ap-ladder.less +4 -3
  267. package/theme/ap-layout/ap-info-layout.css +22 -4
  268. package/theme/ap-list/index.css +23 -5
  269. package/theme/ap-list/index.less +2 -1
  270. package/theme/ap-product-info/ap-product-info.css +22 -4
  271. package/theme/ap-select-layout/ap-select-layout.css +30 -12
  272. package/theme/ap-select-layout/ap-select-layout.less +8 -8
  273. package/theme/ap-size-input/ap-size-input.css +22 -4
  274. package/theme/ap-status/ap-status.css +24 -7
  275. package/theme/ap-status/ap-status.less +2 -4
  276. package/theme/ap-summary/index.css +25 -7
  277. package/theme/ap-summary/index.less +3 -3
  278. package/theme/ap-table/ap-table-index.css +27 -9
  279. package/theme/ap-table/ap-table-index.less +5 -5
  280. package/theme/ap-table/ap-table-paragraph-ellipsis.css +22 -4
  281. package/theme/ap-table/ap-table-paragraph-ellipsis.less +1 -1
  282. package/theme/ap-table/ap-table.css +109 -55
  283. package/theme/ap-table/ap-table.less +11 -9
  284. package/theme/ap-table/setting/index.css +30 -13
  285. package/theme/ap-table/setting/modal.css +26 -9
  286. package/theme/ap-table/setting/modal.less +1 -2
  287. package/theme/ap-table/setting/select-group.css +24 -5
  288. package/theme/ap-table/setting/select-group.less +2 -1
  289. package/theme/ap-table/setting/sortable-item-meta.css +22 -4
  290. package/theme/ap-table/setting/sortable-item.css +22 -4
  291. package/theme/ap-table/setting/sorter.css +24 -7
  292. package/theme/ap-table-modal/index.css +109 -55
  293. package/theme/ap-tag/ap-tag-group.css +24 -6
  294. package/theme/ap-tag/ap-tag-group.less +4 -5
  295. package/theme/ap-tag/ap-tag.css +45 -18
  296. package/theme/ap-tag/ap-tag.less +37 -24
  297. package/theme/ap-title/ap-title.css +29 -9
  298. package/theme/ap-title/ap-title.less +7 -5
  299. package/theme/ap-upload/index.css +30 -12
  300. package/theme/ap-upload/multiple-file.css +24 -6
  301. package/theme/ap-upload/multiple-file.less +2 -2
  302. package/theme/ap-upload/picture.css +26 -8
  303. package/theme/ap-upload/picture.less +4 -4
  304. package/theme/ap-upload/single-file.css +24 -6
  305. package/theme/ap-upload/single-file.less +2 -2
  306. package/theme/ap-upload/upload.css +22 -4
  307. package/theme/ap-upload-single/index.css +22 -4
  308. package/theme/ap-view/ap-view.css +26 -4
  309. package/theme/ap-view/ap-view.less +4 -0
  310. package/theme/batch-input-group/index.css +25 -6
  311. package/theme/batch-input-group/popover-input.css +23 -4
  312. package/theme/batch-input-group/popover-input.less +1 -0
  313. package/theme/check-card/index.css +44 -26
  314. package/theme/check-card/index.less +17 -15
  315. package/theme/editable-table/index.css +77 -40
  316. package/theme/editable-table/index.less +9 -7
  317. package/theme/full-screen/index.css +22 -4
  318. package/theme/index.css +390 -182
  319. package/theme/index.less +1 -0
  320. package/theme/mask/index.css +22 -4
  321. package/theme/mixins/config.less +27 -5
  322. package/theme/mixins/mixins.css +22 -4
  323. package/theme/mixins/mixins.less +25 -0
  324. package/theme/scroll-bar/index.css +22 -4
  325. package/theme/scroll-view/index.css +22 -4
  326. package/theme/splitter/index.css +29 -11
  327. package/theme/text/group.css +22 -4
  328. package/theme/text/index.css +25 -7
  329. package/theme/ui-mode.css +94 -0
  330. package/theme/ui-mode.less +95 -0
  331. package/theme/work-order-modal/index.css +22 -4
  332. package/es/src/config-provider/css-var.d.ts +0 -139
  333. package/es/src/config-provider/css-var.mjs +0 -278
  334. package/lib/src/config-provider/css-var.d.ts +0 -139
  335. package/lib/src/config-provider/css-var.js +0 -1
@@ -1,26 +1,27 @@
1
- import { defineComponent as Ke, useSlots as Ee, ref as h, computed as s, unref as l, createVNode as p, Fragment as oe, watch as k, createElementBlock as B, openBlock as m, normalizeStyle as E, normalizeClass as y, createCommentVNode as re, createElementVNode as O, mergeProps as w, createSlots as ae, withCtx as v, renderList as te, createBlock as le, resolveDynamicComponent as Oe, renderSlot as R, normalizeProps as Le, guardReactiveProps as $e } from "vue";
2
- import { Divider as Ae, Table as De } from "@aplus-frontend/antdv";
3
- import { useToken as je } from "@aplus-frontend/antdv/es/theme/internal";
4
- import { ApForm as We } from "../ap-form/index.mjs";
1
+ import { defineComponent as Le, useSlots as Oe, ref as w, computed as s, unref as l, createVNode as m, Fragment as re, watch as k, createElementBlock as B, openBlock as b, normalizeStyle as K, normalizeClass as y, createCommentVNode as oe, createElementVNode as L, mergeProps as v, createSlots as ae, withCtx as R, renderList as te, createBlock as le, resolveDynamicComponent as Ae, renderSlot as C, normalizeProps as $e, guardReactiveProps as De } from "vue";
2
+ import { Divider as je, Table as We } from "@aplus-frontend/antdv";
3
+ import { useToken as _e } from "@aplus-frontend/antdv/es/theme/internal";
4
+ import { ApForm as He } from "../ap-form/index.mjs";
5
5
  import { noRenderAsFormItemValueList as ne } from "./constants.mjs";
6
6
  import "../config-provider/index.mjs";
7
- import { useTablePaging as _e } from "./hooks/use-table-paging-ng.mjs";
8
- import { isUndefined as b, omit as se, isBoolean as He } from "lodash-unified";
9
- import { getColumnOrder as de, updateFormProps as Ue, getFieldProps as qe, getSearchFormItemRenderNode as Me, recursionApColumns as ue, getTableTitle as Ge, getTableRenderType as Je, getTableRenderProps as Qe, getTableCellRenderNode as Xe, apColumnToColumn as Ye, falseToUndefined as Ze, objectToString as eo } from "./utils.mjs";
10
- import oo from "./hooks/use-table-content-height.mjs";
11
- import ro from "./hooks/use-table-row-selection.mjs";
12
- import { getScrollbarSize as ao, isDef as to } from "../utils/index.mjs";
7
+ import { useTablePaging as Ue } from "./hooks/use-table-paging-ng.mjs";
8
+ import { isUndefined as g, omit as se, isBoolean as qe } from "lodash-unified";
9
+ import { getColumnOrder as de, updateFormProps as Me, getFieldProps as Ge, getSearchFormItemRenderNode as Je, recursionApColumns as ue, getTableTitle as Qe, getTableRenderType as Xe, getTableRenderProps as Ye, getTableCellRenderNode as Ze, apColumnToColumn as er, falseToUndefined as rr, objectToString as or } from "./utils.mjs";
10
+ import ar from "./hooks/use-table-content-height.mjs";
11
+ import tr from "./hooks/use-table-row-selection.mjs";
12
+ import { getScrollbarSize as lr, isDef as ie } from "../utils/index.mjs";
13
13
  import "./components/setting/modal/index.vue.mjs";
14
14
  import "./components/paragraph-ellipsis/index.vue.mjs";
15
- import { useProvideApTable as lo } from "./context.mjs";
15
+ import { useProvideApTable as nr } from "./context.mjs";
16
16
  import "../scroll-bar/index.mjs";
17
- import { useStickyScroll as no } from "./hooks/use-sticky-scroll.mjs";
18
- import { useNamespace as so } from "../config-provider/hooks/use-namespace.mjs";
19
- import { useGlobalConfig as uo } from "../config-provider/hooks/use-global-config.mjs";
20
- import io from "./components/paragraph-ellipsis/index.vue2.mjs";
21
- import co from "./components/setting/modal/index.vue2.mjs";
22
- import fo from "../scroll-bar/index.vue.mjs";
23
- const Eo = /* @__PURE__ */ Ke({
17
+ import { useStickyScroll as sr } from "./hooks/use-sticky-scroll.mjs";
18
+ import { getValidVNodeList as dr } from "../utils/slot.mjs";
19
+ import { useNamespace as ur } from "../config-provider/hooks/use-namespace.mjs";
20
+ import { useGlobalConfig as ir } from "../config-provider/hooks/use-global-config.mjs";
21
+ import cr from "./components/paragraph-ellipsis/index.vue2.mjs";
22
+ import fr from "./components/setting/modal/index.vue2.mjs";
23
+ import pr from "../scroll-bar/index.vue.mjs";
24
+ const Or = /* @__PURE__ */ Le({
24
25
  name: "ApTable",
25
26
  __name: "ap-table",
26
27
  props: {
@@ -126,10 +127,10 @@ const Eo = /* @__PURE__ */ Ke({
126
127
  tableWrapperStyle: {},
127
128
  manual: {
128
129
  type: Boolean,
129
- default: !1
130
+ default: void 0
130
131
  },
131
132
  size: {
132
- default: "middle"
133
+ default: "small"
133
134
  },
134
135
  adaptive: {
135
136
  type: Boolean,
@@ -144,248 +145,256 @@ const Eo = /* @__PURE__ */ Ke({
144
145
  default: void 0
145
146
  }
146
147
  },
147
- setup(ie, {
148
- expose: ce
148
+ setup(ce, {
149
+ expose: fe
149
150
  }) {
150
- const o = ie;
151
- let L = 0;
152
- const C = Ee(), [, fe] = je(), {
151
+ const r = ce;
152
+ let O = 0;
153
+ const c = Oe(), [, pe] = _e(), {
153
154
  e: z,
154
- b: c,
155
- be: $,
156
- m: pe,
157
- cssVar: me
158
- } = so("ap-table"), A = uo("valueTypeMap"), {
155
+ b: f,
156
+ be: A,
157
+ m: me,
158
+ cssVar: be
159
+ } = ur("ap-table"), $ = ir("valueTypeMap"), {
159
160
  height: ye,
160
- contentRef: be
161
- } = oo(), D = h(), j = h(), {
161
+ contentRef: ge
162
+ } = ar(), D = w(), j = w(), {
162
163
  isStickyMode: W,
163
164
  scrollBarRef: i
164
- } = no(D), P = h(o.size), u = h([]), _ = h([]), H = ao();
165
- lo({
165
+ } = sr(D), N = w(r.size), u = w([]), _ = w([]), H = lr();
166
+ nr({
166
167
  columns: s(() => u.value),
167
168
  columnsBackup: s(() => _.value),
168
- size: s(() => P.value),
169
+ size: s(() => N.value),
169
170
  updateColumns(e) {
170
171
  u.value = e;
171
172
  },
172
173
  updateSize(e) {
173
- P.value = e;
174
+ N.value = e;
174
175
  },
175
- dataSource: s(() => l(g).records),
176
+ dataSource: s(() => l(S).records),
176
177
  getSearchFormValues: Q,
177
178
  setSearchFormValues: J,
178
- submit: () => N(),
179
+ submit: () => I(),
179
180
  reset: () => V()
180
181
  });
181
182
  const U = s(() => {
182
- var e, a, r;
183
- return L++, ((r = (a = (e = o.columns) == null ? void 0 : e.filter((t) => !t.hideInSearch && t.dataIndex && (t.valueType || t.customRenderFormItem) && !ne.includes(t.valueType))) == null ? void 0 : a.sort((t, d) => {
183
+ var e, a, o;
184
+ return O++, ((o = (a = (e = r.columns) == null ? void 0 : e.filter((t) => !t.hideInSearch && t.dataIndex && (t.valueType || t.customRenderFormItem) && !ne.includes(t.valueType))) == null ? void 0 : a.sort((t, d) => {
184
185
  let n = de(t.order);
185
186
  return de(d.order) - n;
186
- })) == null ? void 0 : r.map((t) => {
187
- const d = Ue(t, qe(t.fieldProps, {})), n = {
187
+ })) == null ? void 0 : o.map((t) => {
188
+ const d = Me(t, Ge(t.fieldProps, {})), n = {
188
189
  ...t,
189
190
  fieldProps: {
190
191
  label: t.title,
191
192
  name: t.dataIndex,
193
+ // tips: 在表格中的查询表单项默认是带边框的
194
+ bordered: !0,
192
195
  ...d || {},
193
- _signal: L
196
+ _signal: O
194
197
  },
195
198
  renderNode: void 0
196
199
  };
197
- return n.renderNode = Me(n, l(A)), n;
200
+ return n.renderNode = Je(n, l($)), n;
198
201
  })) || [];
199
- }), ge = s(() => ue(l(u), (e) => {
202
+ }), Se = s(() => ue(l(u), (e) => {
200
203
  if (e.sorter === !0)
201
204
  return e.key || (e == null ? void 0 : e.dataIndex);
202
- }).filter(Boolean)), Se = s(() => ue(l(u), (e) => {
205
+ }).filter(Boolean)), he = s(() => ue(l(u), (e) => {
203
206
  if (e.filters && !e.onFilter)
204
207
  return e.key || (e == null ? void 0 : e.dataIndex);
205
- }).filter(Boolean)), he = s(() => b(o.dataSource) ? g.records : o.dataSource), {
208
+ }).filter(Boolean)), we = s(() => g(r.dataSource) ? S.records : r.dataSource), ve = s(() => {
209
+ var a;
210
+ return ie(r.manual) ? r.manual : dr(((a = c.searchFormExtra) == null ? void 0 : a.call(c)) || []).some((o) => {
211
+ var t;
212
+ return ((t = o.type) == null ? void 0 : t.name) === "ApView";
213
+ });
214
+ }), {
206
215
  rowSelection: T,
207
- selectedRows: F,
208
- ...x
209
- } = ro({
216
+ selectedRows: x,
217
+ ...F
218
+ } = tr({
210
219
  fixed: !0,
211
- ...o.rowSelection === !0 ? {} : o.rowSelection,
212
- rowKey: o.rowKey,
213
- dataSource: he
220
+ ...r.rowSelection === !0 ? {} : r.rowSelection,
221
+ rowKey: r.rowKey,
222
+ dataSource: we
214
223
  }), {
215
- formRef: I,
216
- submit: N,
224
+ formRef: P,
225
+ submit: I,
217
226
  reset: V,
218
227
  tableProps: q,
219
- refresh: we,
220
- data: g,
221
- setDataSource: ve,
228
+ refresh: Re,
229
+ data: S,
230
+ setDataSource: Ce,
222
231
  getColumnSFConfig: M,
223
- sortedInfo: Re,
224
- filteredInfo: Ce
225
- } = _e({
232
+ sortedInfo: Te,
233
+ filteredInfo: xe
234
+ } = Ue({
226
235
  async request(e) {
227
- var r, t;
228
- if (!T.value.preserveSelectedRowKeys && b(o.dataSource) && x.clearAll(), !b(o.dataSource))
236
+ var o, t;
237
+ if (!T.value.preserveSelectedRowKeys && g(r.dataSource) && F.clearAll(), !g(r.dataSource))
229
238
  return {
230
- data: o.dataSource || [],
231
- total: o.dataSource.length || 0
239
+ data: r.dataSource || [],
240
+ total: r.dataSource.length || 0
232
241
  };
233
- const a = await ((r = o.request) == null ? void 0 : r.call(o, e));
234
- return (t = o.onLoad) == null || t.call(o, (a == null ? void 0 : a.data) || []), {
242
+ const a = await ((o = r.request) == null ? void 0 : o.call(r, e));
243
+ return (t = r.onLoad) == null || t.call(r, (a == null ? void 0 : a.data) || []), {
235
244
  data: (a == null ? void 0 : a.data) || [],
236
245
  total: (a == null ? void 0 : a.total) || 0
237
246
  };
238
247
  },
239
- filterFields: Se,
240
- sortFields: ge,
241
- defaultParams: o.params,
242
- defaultData: o.defaultData,
243
- manual: o.manual,
244
- formatParams: o.beforeSearchSubmit,
245
- pagination: o.pagination
246
- }), Te = () => {
247
- var r;
248
- let e = ((r = o.columns) == null ? void 0 : r.filter((t) => !t.hideInTable)) || [];
248
+ filterFields: he,
249
+ sortFields: Se,
250
+ defaultParams: r.params,
251
+ defaultData: r.defaultData,
252
+ manual: l(ve),
253
+ formatParams: r.beforeSearchSubmit,
254
+ pagination: r.pagination
255
+ }), Fe = () => {
256
+ var o;
257
+ let e = ((o = r.columns) == null ? void 0 : o.filter((t) => !t.hideInTable)) || [];
249
258
  function a(t, d) {
250
259
  return t.map((n) => ({
251
- resizable: to(n.resizable) ? n.resizable : o.columnResizable,
252
- ...se(Ye(n), ["ellipsis"]),
260
+ resizable: ie(n.resizable) ? n.resizable : r.columnResizable,
261
+ ...se(er(n), ["ellipsis"]),
253
262
  // tips: 此函数内部依赖查询&筛选的相应式值
254
263
  ...M(n),
255
264
  fixed: d ? d.fixed : n.fixed,
256
- title: Ge(n, $("table-header", "title"), C.headerCell, l(fe).colorPrimary),
265
+ title: Qe(n, A("table-header", "title"), c.headerCell, l(pe).colorPrimary),
257
266
  customRender({
258
- value: f,
259
- ...S
267
+ value: p,
268
+ ...h
260
269
  }) {
261
270
  var Z, ee;
262
- const X = Je(n), Ie = Qe({
271
+ const X = Xe(n), Ve = Ye({
263
272
  ...n,
264
273
  valueType: X
265
274
  }, {
266
- value: f,
267
- ...S
268
- }), Ne = Xe(X, Ie, S.record, l(A)), Y = ((Z = n.renderText) == null ? void 0 : Z.call(n, {
269
- value: f,
270
- ...S
271
- })) || f, Ve = n.renderText ? p(oe, null, [(ee = n.renderText) == null ? void 0 : ee.call(n, {
272
- value: f,
273
- ...S
274
- })]) : Ne;
275
- let K = ze(n, Y, Ve);
276
- return n.customRender && (K = n.customRender({
277
- value: f,
278
- ...S,
275
+ value: p,
276
+ ...h
277
+ }), Ee = Ze(X, Ve, h.record, l($)), Y = ((Z = n.renderText) == null ? void 0 : Z.call(n, {
278
+ value: p,
279
+ ...h
280
+ })) || p, Ke = n.renderText ? m(re, null, [(ee = n.renderText) == null ? void 0 : ee.call(n, {
281
+ value: p,
282
+ ...h
283
+ })]) : Ee;
284
+ let E = Pe(n, Y, Ke);
285
+ return n.customRender && (E = n.customRender({
286
+ value: p,
287
+ ...h,
279
288
  column: n,
280
- originalNode: K,
289
+ originalNode: E,
281
290
  originalText: Y
282
- })), K;
291
+ })), E;
283
292
  },
284
293
  children: a(n.children || [], d || n)
285
294
  }));
286
295
  }
287
296
  return a(e);
288
- }, Fe = () => {
297
+ }, ke = () => {
289
298
  function e(a) {
290
- var r;
299
+ var o;
291
300
  for (const t of a)
292
- (r = t.children) != null && r.length ? e(t.children) : M(t, !0);
301
+ (o = t.children) != null && o.length ? e(t.children) : M(t, !0);
293
302
  }
294
303
  e(u.value);
295
304
  };
296
- k(() => [o.columns, o.columnResizable], () => {
297
- const e = Te();
305
+ k(() => [r.columns, r.columnResizable], () => {
306
+ const e = Fe();
298
307
  u.value = e, _.value = e;
299
308
  }, {
300
309
  deep: !0,
301
310
  immediate: !0
302
- }), k(() => [Re.value, Ce.value], () => {
303
- Fe();
311
+ }), k(() => [Te.value, xe.value], () => {
312
+ ke();
304
313
  }, {
305
314
  deep: !0
306
315
  });
307
- const xe = s(() => {
308
- var a, r;
309
- if (o.adaptive && (g.total > 0 || ((a = o.dataSource) == null ? void 0 : a.length)))
316
+ const Be = s(() => {
317
+ var a, o;
318
+ if (r.adaptive && (S.total > 0 || ((a = r.dataSource) == null ? void 0 : a.length)))
310
319
  return {
311
320
  y: l(ye),
312
- x: ((r = o.scroll) == null ? void 0 : r.x) || "100%"
321
+ x: ((o = r.scroll) == null ? void 0 : o.x) || "100%"
313
322
  };
314
- if (o.scroll)
315
- return o.scroll;
316
- }), ke = s(() => {
323
+ if (r.scroll)
324
+ return r.scroll;
325
+ }), ze = s(() => {
317
326
  var e;
318
- if (o.tableLayout)
319
- return o.tableLayout;
320
- if ((e = o.columns) != null && e.some((a) => a.ellipsis))
327
+ if (r.tableLayout)
328
+ return r.tableLayout;
329
+ if ((e = r.columns) != null && e.some((a) => a.ellipsis))
321
330
  return "fixed";
322
331
  }), G = s(() => {
323
- var r;
332
+ var o;
324
333
  const e = l(q), a = l(T);
325
334
  return {
326
- ...o,
335
+ ...r,
327
336
  ...e,
328
- rowSelection: o.rowSelection === !0 || ((r = o.rowSelection) == null ? void 0 : r.mode) === "internal" ? {
337
+ rowSelection: r.rowSelection === !0 || ((o = r.rowSelection) == null ? void 0 : o.mode) === "internal" ? {
329
338
  ...a,
330
339
  // tips 如果是前端分页,则默认会走缓存
331
- preserveSelectedRowKeys: b(o.dataSource) ? a.preserveSelectedRowKeys : !0
332
- } : Ze(o.rowSelection),
333
- loading: b(o.loading) ? e.loading : o.loading,
334
- pagination: o.pagination === !1 ? !1 : e.pagination,
335
- scroll: l(xe)
340
+ preserveSelectedRowKeys: g(r.dataSource) ? a.preserveSelectedRowKeys : !0
341
+ } : rr(r.rowSelection),
342
+ loading: g(r.loading) ? e.loading : r.loading,
343
+ pagination: r.pagination === !1 ? !1 : e.pagination,
344
+ scroll: l(Be)
336
345
  };
337
- }), Be = s(() => {
346
+ }), Ne = s(() => {
338
347
  var e;
339
- return [c(), o.card ? null : c("wrapper"), o.adaptive ? c("adaptive") : null, W.value && ((e = i.value) != null && e.visible) ? pe(`sticky-${H === 0 ? "absolute" : "relative"}`) : null].filter(Boolean);
348
+ return [f(), r.card ? null : f("wrapper"), r.adaptive ? f("adaptive") : null, W.value && ((e = i.value) != null && e.visible) ? me(`sticky-${H === 0 ? "absolute" : "relative"}`) : null].filter(Boolean);
340
349
  });
341
- function ze(e, a, r) {
350
+ function Pe(e, a, o) {
342
351
  if (ne.includes(e.valueType))
343
- return r;
344
- const t = eo(a);
345
- return e.copyable || e.ellipsis ? p(io, {
352
+ return o;
353
+ const t = or(a);
354
+ return e.copyable || e.ellipsis ? m(cr, {
346
355
  copyable: e.copyable,
347
356
  rawValue: t,
348
- ellipsis: e.ellipsis ? He(e.ellipsis) ? {
349
- tooltip: r,
357
+ ellipsis: e.ellipsis ? qe(e.ellipsis) ? {
358
+ tooltip: o,
350
359
  rows: 1
351
360
  } : {
352
361
  ...e.ellipsis,
353
- tooltip: r
362
+ tooltip: o
354
363
  } : !1,
355
- content: r
356
- }, null) : r;
364
+ content: o
365
+ }, null) : o;
357
366
  }
358
- k(() => l(g).loading, (e) => {
367
+ k(() => l(S).loading, (e) => {
359
368
  var a;
360
- (a = o.onLoadingChange) == null || a.call(o, e);
361
- }), k(() => o.dataSource, (e) => {
362
- ve(e);
369
+ (a = r.onLoadingChange) == null || a.call(r, e);
370
+ }), k(() => r.dataSource, (e) => {
371
+ Ce(e);
363
372
  }, {
364
373
  immediate: !0
365
374
  });
366
375
  function J(e) {
367
- var a, r, t;
368
- (t = (r = (a = I.value) == null ? void 0 : a.apForm) == null ? void 0 : r.setFieldsValue) == null || t.call(r, e);
376
+ var a, o, t;
377
+ (t = (o = (a = P.value) == null ? void 0 : a.apForm) == null ? void 0 : o.setFieldsValue) == null || t.call(o, e);
369
378
  }
370
379
  function Q(e = !1) {
371
- var r, t, d;
380
+ var o, t, d;
372
381
  const a = e ? "getFieldsValueTransformed" : "getFieldsValue";
373
- return (d = (t = (r = I.value) == null ? void 0 : r.apForm) == null ? void 0 : t[a]) == null ? void 0 : d.call(t, !0);
382
+ return (d = (t = (o = P.value) == null ? void 0 : o.apForm) == null ? void 0 : t[a]) == null ? void 0 : d.call(t, !0);
374
383
  }
375
- function Pe() {
384
+ function Ie() {
376
385
  return l(u);
377
386
  }
378
- return ce({
379
- submit: () => N(),
387
+ return fe({
388
+ submit: () => I(),
380
389
  reset: () => V(),
381
- refresh: () => we(),
390
+ refresh: () => Re(),
382
391
  setSearchFormValues: J,
383
392
  getSearchFormValues: Q,
384
- getShownColumns: Pe,
385
- dataSource: s(() => l(g).records),
393
+ getShownColumns: Ie,
394
+ dataSource: s(() => l(S).records),
386
395
  rowSelection: {
387
- selectedRows: s(() => l(F)),
388
- ...x
396
+ selectedRows: s(() => l(x)),
397
+ ...F
389
398
  },
390
399
  scrollBar: {
391
400
  x: {
@@ -394,104 +403,106 @@ const Eo = /* @__PURE__ */ Ke({
394
403
  return ((e = i == null ? void 0 : i.value) == null ? void 0 : e.currentScroll) ?? 0;
395
404
  },
396
405
  scroll: (e) => {
397
- var a, r;
398
- return (r = (a = i == null ? void 0 : i.value) == null ? void 0 : a.scroll) == null ? void 0 : r.call(a, e);
406
+ var a, o;
407
+ return (o = (a = i == null ? void 0 : i.value) == null ? void 0 : a.scroll) == null ? void 0 : o.call(a, e);
399
408
  }
400
409
  },
401
410
  y: void 0
402
411
  }
403
- }), (e, a) => (m(), B("div", {
412
+ }), (e, a) => (b(), B("div", {
404
413
  ref_key: "tableWrapperRef",
405
414
  ref: D,
406
- class: y(Be.value),
407
- style: E(l(me)({
415
+ class: y(Ne.value),
416
+ style: K(l(be)({
408
417
  "scroll-bar-width": `${l(H)}px`
409
418
  }))
410
- }, [l(b)(e.dataSource) && e.searchForm !== !1 && U.value.length > 0 ? (m(), B("div", {
419
+ }, [l(g)(e.dataSource) && e.searchForm !== !1 && U.value.length > 0 ? (b(), B("div", {
411
420
  key: 0,
412
421
  class: y(e.card ? l(z)("search-wrapper") : null),
413
- style: E(e.searchFormWrapperStyle)
414
- }, [p(l(We).SearchForm, w(e.searchForm || {}, {
422
+ style: K(e.searchFormWrapperStyle)
423
+ }, [m(l(He).SearchForm, v(e.searchForm || {}, {
415
424
  ref_key: "formRef",
416
- ref: I,
425
+ ref: P,
417
426
  "custom-reset": "",
418
427
  "submit-loading": l(q).loading,
419
- onSubmit: l(N),
428
+ onSubmit: l(I),
420
429
  onReset: l(V)
421
430
  }), ae({
422
- default: v(() => [(m(!0), B(oe, null, te(U.value, (r) => (m(), le(Oe(r.renderNode.Comp), w({
423
- key: r.dataIndex,
424
- item: r,
431
+ default: R(() => [(b(!0), B(re, null, te(U.value, (o) => (b(), le(Ae(o.renderNode.Comp), v({
432
+ key: o.dataIndex,
433
+ item: o,
425
434
  ref_for: !0
426
- }, r.fieldProps || {}, {
427
- span: r.span,
428
- "custom-render": r.renderNode.render
435
+ }, o.fieldProps || {}, {
436
+ span: o.span,
437
+ "custom-render": o.renderNode.render
429
438
  }), null, 16, ["item", "span", "custom-render"]))), 128))]),
430
439
  _: 2
431
- }, [C.searchFormExtra ? {
440
+ }, [c.searchFormExtra ? {
432
441
  name: "extra",
433
- fn: v(() => [R(e.$slots, "searchFormExtra")]),
442
+ fn: R(() => [C(e.$slots, "searchFormExtra")]),
434
443
  key: "0"
435
- } : void 0]), 1040, ["submit-loading", "onSubmit", "onReset"])], 6)) : re("", !0), O("div", {
444
+ } : void 0]), 1040, ["submit-loading", "onSubmit", "onReset"])], 6)) : oe("", !0), L("div", {
436
445
  ref_key: "contentRef",
437
- ref: be,
446
+ ref: ge,
438
447
  class: y([l(z)("table-wrapper"), e.card ? l(z)("table-wrapper-card") : null]),
439
- style: E(e.tableWrapperStyle)
440
- }, [O("div", {
441
- class: y(l(c)("header-wrapper"))
442
- }, [e.settings ? (m(), B("div", {
448
+ style: K(e.tableWrapperStyle)
449
+ }, [L("div", {
450
+ class: y(l(f)("header-wrapper"))
451
+ }, [e.settings ? (b(), B("div", {
443
452
  key: 0,
444
- class: y(l(c)("header"))
445
- }, [O("div", {
446
- class: y(l($)("header", "title"))
447
- }, [R(e.$slots, "title", w({
448
- selectedRows: l(F),
453
+ class: y(l(f)("header"))
454
+ }, [L("div", {
455
+ class: y(l(A)("header", "title"))
456
+ }, [C(e.$slots, "title", v({
457
+ selectedRows: l(x),
449
458
  selectedRowKeys: l(T).selectedRowKeys,
450
459
  shownColumns: u.value
451
- }, x))], 2), C.title ? (m(), le(l(Ae), {
460
+ }, F))], 2), c.title ? (b(), le(l(je), {
452
461
  key: 0,
453
462
  type: "vertical"
454
- })) : re("", !0), p(co, {
463
+ })) : oe("", !0), m(fr, {
455
464
  config: e.settings === !0 ? {} : e.settings
456
- }, null, 8, ["config"])], 2)) : R(e.$slots, "title", w({
465
+ }, null, 8, ["config"])], 2)) : C(e.$slots, "title", v({
457
466
  key: 1,
458
- selectedRows: l(F),
467
+ selectedRows: l(x),
459
468
  selectedRowKeys: l(T).selectedRowKeys,
460
469
  shownColumns: u.value
461
- }, x))], 2), p(l(De), w({
470
+ }, F))], 2), m(l(We), v({
462
471
  ref_key: "antdTableRef",
463
472
  ref: j,
464
- class: l(c)("table")
473
+ class: l(f)("table")
465
474
  }, G.value, {
466
- size: P.value,
467
- "table-layout": ke.value,
475
+ size: N.value,
476
+ "table-layout": ze.value,
468
477
  columns: u.value,
469
- onResizeColumn: a[0] || (a[0] = (r, t) => t.width = r)
478
+ onResizeColumn: a[0] || (a[0] = (o, t) => t.width = o)
470
479
  }), ae({
471
- summary: v(() => [R(e.$slots, "summary", {
480
+ summary: R(() => [C(e.$slots, "summary", {
472
481
  columns: u.value,
473
482
  records: G.value.dataSource,
474
- selectedRows: l(F)
483
+ selectedRows: l(x)
475
484
  })]),
476
485
  _: 2
477
486
  }, [l(W) ? {
478
487
  name: "bottomPaginationTop",
479
- fn: v(() => {
480
- var r, t;
481
- return [p(l(fo), {
488
+ fn: R(() => {
489
+ var o, t;
490
+ return [m(l(pr), {
482
491
  ref_key: "scrollBarRef",
483
492
  ref: i,
484
- "scroll-container": (t = (r = j.value) == null ? void 0 : r.table) == null ? void 0 : t.scrollBodyRef,
485
- direction: "horizontal"
493
+ "scroll-container": (t = (o = j.value) == null ? void 0 : o.table) == null ? void 0 : t.scrollBodyRef,
494
+ direction: "horizontal",
495
+ "bar-color": "var(--basic-scrollbar-thumb-color-base, #bfbfbf)",
496
+ "track-color": "var(--ap-table-header-bg, #f2f6f9)"
486
497
  }, null, 8, ["scroll-container"])];
487
498
  }),
488
499
  key: "0"
489
- } : void 0, te(l(se)(C, ["title", "searchFormExtra", "headerCell", "summary"]), (r, t) => ({
500
+ } : void 0, te(l(se)(c, ["title", "searchFormExtra", "headerCell", "summary"]), (o, t) => ({
490
501
  name: t,
491
- fn: v((d) => [R(e.$slots, t, Le($e(d || {})))])
502
+ fn: R((d) => [C(e.$slots, t, $e(De(d || {})))])
492
503
  }))]), 1040, ["class", "size", "table-layout", "columns"])], 6)], 6));
493
504
  }
494
505
  });
495
506
  export {
496
- Eo as default
507
+ Or as default
497
508
  };
@@ -30,7 +30,7 @@ const q = /* @__PURE__ */ x({
30
30
  }
31
31
  return (r, e) => (c(), i("div", null, [
32
32
  s(o(N), {
33
- gutter: [24, 16],
33
+ gutter: [24, 12],
34
34
  align: "middle"
35
35
  }, {
36
36
  default: d(() => [