@aplus-frontend/ui 7.1.1 → 7.3.0

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