@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,12 +1,8 @@
1
1
  import { usePageListApTable as o } from "./usePageListApTable.mjs";
2
- import { useTableRefresh as t } from "./useTableRefresh.mjs";
3
- import { usePageListApGrid as p } from "./usePageListApGrid.mjs";
4
- import { useGridRefresh as a } from "./useGridRefresh.mjs";
5
- import { usePageListAgGrid as u } from "./usePageListAgGrid.mjs";
2
+ import { usePageListApGrid as t } from "./usePageListApGrid.mjs";
3
+ import { usePageListAgGrid as p } from "./usePageListAgGrid.mjs";
6
4
  export {
7
- a as useGridRefresh,
8
- u as usePageListAgGrid,
9
- p as usePageListApGrid,
10
- o as usePageListApTable,
11
- t as useTableRefresh
5
+ p as usePageListAgGrid,
6
+ t as usePageListApGrid,
7
+ o as usePageListApTable
12
8
  };
@@ -1,4 +1,3 @@
1
- import { UseTableRefreshOption } from '..';
2
1
  import { ApGridExpose, ApGridProps } from '../../ap-grid';
3
2
  export interface UsePageListApGrid extends ApGridProps {
4
3
  /** 是否显示默认的行选择配置
@@ -18,7 +17,7 @@ export interface UsePageListApGrid extends ApGridProps {
18
17
  /**
19
18
  * 表格刷新相关
20
19
  */
21
- tableRefresh?: boolean | Omit<UseTableRefreshOption, 'apTableRef'>;
20
+ tableRefresh?: boolean | (() => boolean);
22
21
  /** 是否需要在deactivated的时候清空数据
23
22
  * @default true
24
23
  */
@@ -1,75 +1,71 @@
1
- import "../index.mjs";
2
- import { merge as i, cloneDeep as F } from "lodash-unified";
1
+ import { isFunction as F, merge as l, cloneDeep as w } from "lodash-unified";
3
2
  import { ref as R } from "vue";
4
- import { useKeepAliveFlag as w } from "./useKeepAliveFlag.mjs";
5
- import { useTableRefresh as V } from "./useTableRefresh.mjs";
6
- function W(a) {
3
+ import { useKeepAliveFlag as V } from "./useKeepAliveFlag.mjs";
4
+ function B(u) {
7
5
  const r = R(null), {
8
- isShowRowSelection: c = !0,
6
+ isShowRowSelection: d = !0,
9
7
  clearSelectionOnRequest: f = !0,
10
8
  transformSearchFormValues: o,
11
- api: s,
12
- tableRefresh: d = !0,
13
- virtual: m,
14
- clearDataOnDeactivated: p = !0,
15
- ...h
16
- } = a || {};
17
- let l = null;
18
- const n = () => {
9
+ api: a,
10
+ tableRefresh: s = !0,
11
+ virtual: p,
12
+ clearDataOnDeactivated: m = !0,
13
+ ...v
14
+ } = u || {};
15
+ let n = null;
16
+ const c = () => {
19
17
  r.value?.rowSelection?.clearAll();
20
- };
21
- V({
22
- ...b(d),
23
- apTableRef: r
24
- });
25
- const u = () => {
18
+ }, i = () => {
26
19
  r.value?.submitWith(!0);
27
- }, v = () => {
20
+ }, S = () => {
28
21
  r.value?.reset();
29
- }, { isDeactivated: S } = w({
30
- afterDeactivated: u
22
+ }, { isDeactivated: h } = V({
23
+ afterActivated() {
24
+ (F(s) ? s() : s) && i();
25
+ },
26
+ afterDeactivated: i
31
27
  });
32
- return [i(
28
+ return [l(
33
29
  {
34
30
  // scroll,tableLayout,columnResizable设置表格可拖动
35
31
  scroll: { x: "100%", y: "100%" },
36
32
  columnResizable: !0,
37
- request: s ? async (e) => {
38
- if (S() && p)
33
+ request: a ? async (e) => {
34
+ if (h() && m)
39
35
  return {
40
36
  data: [],
41
37
  total: 0
42
38
  };
43
- l = e.sort;
39
+ n = e.sort;
44
40
  const t = o ? o(e) : e;
45
- if (!s) throw new Error("api is not defined");
46
- const { records: g, total: A } = await s(t);
47
- return f && n(), {
41
+ if (!a) throw new Error("api is not defined");
42
+ const { records: g, total: A } = await a(t);
43
+ return f && c(), {
48
44
  data: g,
49
45
  total: A
50
46
  };
51
47
  } : void 0,
52
- rowSelection: c ? {
48
+ rowSelection: d ? {
53
49
  fixed: "left",
54
50
  columnWidth: 38
55
51
  } : void 0,
56
52
  ref(e) {
57
53
  r.value = e;
58
54
  },
59
- virtual: i(
55
+ virtual: l(
60
56
  {
61
57
  oSize: 20,
62
58
  y: 20
63
59
  },
64
- m
60
+ p
65
61
  ),
66
62
  // 新UI规范,需要都添加分割线
67
63
  card: !0
68
64
  },
69
- h
65
+ v
70
66
  ), {
71
- reload: u,
72
- reset: v,
67
+ reload: i,
68
+ reset: S,
73
69
  getSearchFormValues: (e = !0) => {
74
70
  const t = r.value?.getSearchFormValues(!!e) || {};
75
71
  return o ? o(t) : t;
@@ -77,16 +73,11 @@ function W(a) {
77
73
  getApGridInstance: () => r.value,
78
74
  getSearchFormValuesAndSorted: (e = !0) => {
79
75
  const t = r.value?.getSearchFormValues(!!e) || {};
80
- return t.sort = l && F(l), o ? o(t) : t;
76
+ return t.sort = n && w(n), o ? o(t) : t;
81
77
  },
82
- clearSelection: n
78
+ clearSelection: c
83
79
  }];
84
80
  }
85
- function b(a) {
86
- return a === !0 ? {} : a === !1 ? {
87
- refreshBefore: () => !1
88
- } : a;
89
- }
90
81
  export {
91
- W as usePageListApGrid
82
+ B as usePageListApGrid
92
83
  };
@@ -1,5 +1,4 @@
1
1
  import { ApTableProps } from '../../';
2
- import { UseTableRefreshOption } from './useTableRefresh';
3
2
  import { Recordable } from '../../type';
4
3
  import { TableColumnsType } from '@aplus-frontend/antdv';
5
4
  import { InternalPagingType } from '../../ap-table/hooks/use-table-paging-ng';
@@ -22,7 +21,7 @@ export interface UsePageListApTable extends ApTableProps {
22
21
  /**
23
22
  * 表格刷新相关
24
23
  */
25
- tableRefresh?: boolean | Omit<UseTableRefreshOption, 'apTableRef'>;
24
+ tableRefresh?: boolean | (() => boolean);
26
25
  }
27
26
  /**
28
27
  * 集成了列表页面的ApTable的默认配置
@@ -1,29 +1,42 @@
1
- import { merge as d, cloneDeep as h } from "lodash-unified";
2
- import { ref as S } from "vue";
3
- import { useTableRefresh as b } from "./useTableRefresh.mjs";
4
- import { warning as g } from "../../utils/warning.mjs";
5
- function v(o) {
6
- return o === !0 ? {} : o === !1 ? {
7
- refreshBefore: () => !1
8
- } : o;
9
- }
10
- function O(o) {
11
- const r = S(null), {
12
- isShowRowSelection: u = !0,
13
- clearSelectionOnRequest: i = !0,
14
- transformSearchFormValues: a,
15
- api: s,
16
- tableRefresh: f = !1,
17
- ...m
18
- } = o || {};
1
+ import { isFunction as g, merge as v, cloneDeep as b } from "lodash-unified";
2
+ import { ref as A } from "vue";
3
+ import { warning as F } from "../../utils/warning.mjs";
4
+ import { useKeepAliveFlag as w } from "./useKeepAliveFlag.mjs";
5
+ function k(u) {
6
+ const r = A(null), {
7
+ isShowRowSelection: f = !0,
8
+ clearSelectionOnRequest: m = !0,
9
+ transformSearchFormValues: o,
10
+ api: a,
11
+ tableRefresh: s = !1,
12
+ ...p
13
+ } = u || {};
19
14
  let l = null;
20
15
  const c = () => {
21
16
  r.value?.rowSelection?.clearAll();
17
+ }, d = async (e) => {
18
+ l = e.sort;
19
+ const t = o ? o(e) : e;
20
+ try {
21
+ if (!a) throw new Error("api is not defined");
22
+ const { records: n, total: S } = await a(t);
23
+ return m && c(), {
24
+ data: n,
25
+ total: S
26
+ };
27
+ } catch (n) {
28
+ return F(!1, n), {
29
+ data: [],
30
+ total: 0
31
+ };
32
+ }
22
33
  };
23
- return b({
24
- ...v(f),
25
- apTableRef: r
26
- }), [d(
34
+ w({
35
+ afterActivated() {
36
+ (g(s) ? s() : s) && i();
37
+ }
38
+ });
39
+ const h = v(
27
40
  {
28
41
  // scroll,tableLayout,columnResizable设置表格可拖动
29
42
  scroll: { x: "100%", y: "100%" },
@@ -31,24 +44,8 @@ function O(o) {
31
44
  columnResizable: !0,
32
45
  // 表格header吸顶效果
33
46
  class: "ap-table--sticky",
34
- request: s ? async (e) => {
35
- l = e.sort;
36
- const t = a ? a(e) : e;
37
- try {
38
- if (!s) throw new Error("api is not defined");
39
- const { records: n, total: p } = await s(t);
40
- return i && c(), {
41
- data: n,
42
- total: p
43
- };
44
- } catch (n) {
45
- return g(!1, n), {
46
- data: [],
47
- total: 0
48
- };
49
- }
50
- } : void 0,
51
- rowSelection: u ? {
47
+ request: a ? d : void 0,
48
+ rowSelection: f ? {
52
49
  mode: "internal",
53
50
  fixed: "left",
54
51
  columnWidth: 50
@@ -59,26 +56,27 @@ function O(o) {
59
56
  // 新UI规范,需要都添加分割线
60
57
  card: !0
61
58
  },
62
- m
63
- ), {
64
- reload: () => {
65
- r.value?.submit();
66
- },
59
+ p
60
+ ), i = () => {
61
+ r.value?.submit();
62
+ };
63
+ return [h, {
64
+ reload: i,
67
65
  reset: () => {
68
66
  r.value?.reset();
69
67
  },
70
68
  getSearchFormValues: (e) => {
71
69
  const t = r.value?.getSearchFormValues(e) || {};
72
- return a ? a(t) : t;
70
+ return o ? o(t) : t;
73
71
  },
74
72
  getApTableInstance: () => r.value,
75
73
  getSearchFormValuesAndSorted: (e) => {
76
74
  const t = r.value?.getSearchFormValues(e) || {};
77
- return t.sort = l && h(l), a ? a(t) : t;
75
+ return t.sort = l && b(l), o ? o(t) : t;
78
76
  },
79
77
  clearSelection: c
80
78
  }];
81
79
  }
82
80
  export {
83
- O as usePageListApTable
81
+ k as usePageListApTable
84
82
  };
@@ -28,3 +28,7 @@ export * from './ap-draggable-grid';
28
28
  export * from './ap-value-select-card';
29
29
  export { ApTransformDataHelper } from '../utils/ap-trans-data';
30
30
  export * from './ag-grid-modal';
31
+ export * from './ap-tag';
32
+ export * from './ap-upload';
33
+ export * from './ap-download';
34
+ export * from './ap-descriptions';
@@ -1,60 +1,64 @@
1
- import { default as A } from "./ap-table-modal/index.mjs";
2
- import { ApAttachment as x } from "./ap-attachment/index.mjs";
3
- import { ApBatchAction as u } from "./ap-batch-action/index.mjs";
4
- import { ApBatchActionGroup as l } from "./ap-batch-action-group/index.mjs";
5
- import { ApButtonGroup as n } from "./ap-button-group/index.mjs";
6
- import { ApCard as G } from "./ap-card/index.mjs";
7
- import { ApExpandAlert as b } from "./ap-expand-alert/index.mjs";
8
- import { ApExportGroup as I } from "./ap-export-group/index.mjs";
9
- import { ApImage as g } from "./ap-image/index.mjs";
10
- import { ApInputRadio as y } from "./ap-input-radio/index.mjs";
11
- import { ApLabel as C, ApLabelGroup as T } from "./ap-label/index.mjs";
12
- import { ApLadder as E } from "./ap-ladder/index.mjs";
13
- import { ApSelectLayout as V } from "./ap-select-layout/index.mjs";
14
- import { ApStatus as w, ApStatusGroup as z } from "./ap-status/index.mjs";
15
- import { ApTitle as K } from "./ap-title/index.mjs";
1
+ import { default as i } from "./ap-table-modal/index.mjs";
2
+ import { ApAttachment as l } from "./ap-attachment/index.mjs";
3
+ import { ApBatchAction as n } from "./ap-batch-action/index.mjs";
4
+ import { ApBatchActionGroup as G } from "./ap-batch-action-group/index.mjs";
5
+ import { ApButtonGroup as b } from "./ap-button-group/index.mjs";
6
+ import { ApCard as I } from "./ap-card/index.mjs";
7
+ import { ApExpandAlert as g } from "./ap-expand-alert/index.mjs";
8
+ import { ApExportGroup as y } from "./ap-export-group/index.mjs";
9
+ import { ApImage as C } from "./ap-image/index.mjs";
10
+ import { ApInputRadio as D } from "./ap-input-radio/index.mjs";
11
+ import { ApLabel as R, ApLabelGroup as V } from "./ap-label/index.mjs";
12
+ import { ApLadder as w } from "./ap-ladder/index.mjs";
13
+ import { ApSelectLayout as H } from "./ap-select-layout/index.mjs";
14
+ import { ApStatus as M, ApStatusGroup as P } from "./ap-status/index.mjs";
15
+ import { ApTitle as k } from "./ap-title/index.mjs";
16
16
  import "./hooks/index.mjs";
17
- import { ApSummary as P } from "./ap-summary/index.mjs";
18
- import { ApAppendix as k } from "./ap-appendix/index.mjs";
17
+ import { ApSummary as F } from "./ap-summary/index.mjs";
18
+ import { ApAppendix as N } from "./ap-appendix/index.mjs";
19
19
  import "./ap-upload-file/index.mjs";
20
20
  import "./batch-input-group/index.mjs";
21
- import { ApSizeInput as F } from "./ap-size-input/index.mjs";
22
- import { ApProductInfo as N } from "./ap-product-info/index.mjs";
23
- import { ApCopy as Q } from "./ap-copy/index.mjs";
24
- import { ApView as W } from "./ap-view/index.mjs";
25
- import { ApRadioGroup as Y } from "./ap-radio-group/index.mjs";
26
- import { ApKeepAlive as _ } from "./ap-keep-alive/index.mjs";
27
- import { ApDraggableGrid as oo } from "./ap-draggable-grid/index.mjs";
28
- import { ApValueSelectCard as po } from "./ap-value-select-card/index.mjs";
29
- import { ApTransformDataHelper as eo } from "../utils/ap-trans-data/index.mjs";
21
+ import { ApSizeInput as Q } from "./ap-size-input/index.mjs";
22
+ import { ApProductInfo as W } from "./ap-product-info/index.mjs";
23
+ import { ApCopy as Y } from "./ap-copy/index.mjs";
24
+ import { ApView as _ } from "./ap-view/index.mjs";
25
+ import { ApRadioGroup as oo } from "./ap-radio-group/index.mjs";
26
+ import { ApKeepAlive as po } from "./ap-keep-alive/index.mjs";
27
+ import { ApDraggableGrid as eo } from "./ap-draggable-grid/index.mjs";
28
+ import { ApValueSelectCard as Ao } from "./ap-value-select-card/index.mjs";
29
+ import { ApTransformDataHelper as xo } from "../utils/ap-trans-data/index.mjs";
30
30
  import "./ag-grid-modal/index.mjs";
31
+ import "./ap-tag/index.mjs";
32
+ import "./ap-upload/index.mjs";
33
+ import "./ap-download/index.mjs";
34
+ import "./ap-descriptions/index.mjs";
31
35
  export {
32
- k as ApAppendix,
33
- x as ApAttachment,
34
- u as ApBatchAction,
35
- l as ApBatchActionGroup,
36
- n as ApButtonGroup,
37
- G as ApCard,
38
- Q as ApCopy,
39
- oo as ApDraggableGrid,
40
- b as ApExpandAlert,
41
- I as ApExportGroup,
42
- g as ApImage,
43
- y as ApInputRadio,
44
- _ as ApKeepAlive,
45
- C as ApLabel,
46
- T as ApLabelGroup,
47
- E as ApLadder,
48
- N as ApProductInfo,
49
- Y as ApRadioGroup,
50
- V as ApSelectLayout,
51
- F as ApSizeInput,
52
- w as ApStatus,
53
- z as ApStatusGroup,
54
- P as ApSummary,
55
- A as ApTableModal,
56
- K as ApTitle,
57
- eo as ApTransformDataHelper,
58
- po as ApValueSelectCard,
59
- W as ApView
36
+ N as ApAppendix,
37
+ l as ApAttachment,
38
+ n as ApBatchAction,
39
+ G as ApBatchActionGroup,
40
+ b as ApButtonGroup,
41
+ I as ApCard,
42
+ Y as ApCopy,
43
+ eo as ApDraggableGrid,
44
+ g as ApExpandAlert,
45
+ y as ApExportGroup,
46
+ C as ApImage,
47
+ D as ApInputRadio,
48
+ po as ApKeepAlive,
49
+ R as ApLabel,
50
+ V as ApLabelGroup,
51
+ w as ApLadder,
52
+ W as ApProductInfo,
53
+ oo as ApRadioGroup,
54
+ H as ApSelectLayout,
55
+ Q as ApSizeInput,
56
+ M as ApStatus,
57
+ P as ApStatusGroup,
58
+ F as ApSummary,
59
+ i as ApTableModal,
60
+ k as ApTitle,
61
+ xo as ApTransformDataHelper,
62
+ Ao as ApValueSelectCard,
63
+ _ as ApView
60
64
  };
@@ -1,9 +1,9 @@
1
1
  import { ExtractPropTypes, PropType } from 'vue';
2
2
  import { LocaleType } from '../locale/interface';
3
- import { ApiType, ApUploadConfig, ApDescriptionsConfig, ValueTypeRenderConfig, downloadCenterTriggerConfig, ExportField, SearchFormGlobalConfig } from './constants';
3
+ import { ApiType, ApUploadConfig, ApDescriptionsConfig, ValueTypeRenderConfig, downloadCenterTriggerConfig, ExportField, SearchFormGlobalConfig, UiModeType } from './constants';
4
4
  import { ApGridProps } from '../ap-grid';
5
5
  import { AgGridProps } from '../ag-grid';
6
- import { ViewCacheOption } from '../business';
6
+ import { ApImageProps, ApTitleProps, ViewCacheOption } from '../business';
7
7
  import { FullToken } from '../design-token/interface';
8
8
  import { RecursivePartial } from '../type';
9
9
  import { default as __DTS_DEFAULT_0__ } from '@aplus-frontend/antdv/es/config-provider/renderEmpty';
@@ -14,6 +14,11 @@ import { ButtonSize } from '@aplus-frontend/antdv/es/button';
14
14
  import { ThemeConfig, InputConfig, PaginationConfig, FormConfig, SelectConfig, CascaderConfig, DatePickerConfig, RangePickerConfig, TreeSelectConfig, TextAreaConfig, InputNumberConfig, MentionsConfig, TimePickerConfig, CardConfig } from '@aplus-frontend/antdv/es/config-provider/context';
15
15
  type ApGridConfig = Pick<ApGridProps, 'rowSelection'>;
16
16
  type AgGridConfig = Pick<AgGridProps, 'rowSelection'>;
17
+ type ApProCardConfig = {
18
+ uiMode?: UiModeType;
19
+ };
20
+ type ApImageConfig = Pick<ApImageProps, 'uiMode'>;
21
+ type ApTitleConfig = Pick<ApTitleProps, 'uiMode'>;
17
22
  export declare const configProviderProps: () => {
18
23
  iconPrefixCls: StringConstructor;
19
24
  getTargetContainer: {
@@ -152,6 +157,15 @@ export declare const configProviderProps: () => {
152
157
  agGrid: {
153
158
  type: PropType<AgGridConfig>;
154
159
  };
160
+ apProCard: {
161
+ type: PropType<ApProCardConfig>;
162
+ };
163
+ apImage: {
164
+ type: PropType<ApImageConfig>;
165
+ };
166
+ apTitle: {
167
+ type: PropType<ApTitleConfig>;
168
+ };
155
169
  /**
156
170
  * @description aplus-ui的locale
157
171
  */
@@ -171,8 +185,11 @@ export declare const configProviderProps: () => {
171
185
  type: PropType<ApiType>;
172
186
  default: () => {};
173
187
  };
188
+ /**
189
+ * @deprecated 已废弃,请使用各自组件的uiMode属性
190
+ */
174
191
  uiMode: {
175
- type: PropType<"aplus" | "admin">;
192
+ type: PropType<UiModeType>;
176
193
  };
177
194
  apUpload: {
178
195
  type: PropType<ApUploadConfig>;
@@ -5,6 +5,15 @@ const t = () => ({
5
5
  },
6
6
  agGrid: {
7
7
  type: Object
8
+ },
9
+ apProCard: {
10
+ type: Object
11
+ },
12
+ apImage: {
13
+ type: Object
14
+ },
15
+ apTitle: {
16
+ type: Object
8
17
  }
9
18
  }), o = () => ({
10
19
  /**
@@ -26,6 +35,9 @@ const t = () => ({
26
35
  type: Object,
27
36
  default: () => ({})
28
37
  },
38
+ /**
39
+ * @deprecated 已废弃,请使用各自组件的uiMode属性
40
+ */
29
41
  uiMode: {
30
42
  type: String
31
43
  },
@@ -7,9 +7,9 @@ import { Locale } from '@aplus-frontend/antdv/es/locale';
7
7
  import { ButtonSize } from '@aplus-frontend/antdv/es/button';
8
8
  import { ThemeConfig, InputConfig, PaginationConfig, FormConfig, SelectConfig, CascaderConfig, DatePickerConfig, RangePickerConfig, TreeSelectConfig, TextAreaConfig, InputNumberConfig, MentionsConfig, TimePickerConfig, CardConfig } from '@aplus-frontend/antdv/es/config-provider/context';
9
9
  import { ApGridRowSelection, AgGridRowSelection, FullToken, ViewCacheOption } from '..';
10
+ import { UiModeType, ApiType, ApUploadConfig, ApDescriptionsConfig, ValueTypeRenderConfig, downloadCenterTriggerConfig, ExportField, SearchFormGlobalConfig } from './constants';
10
11
  import { LocaleType } from '../locale';
11
12
  import { RecursivePartial } from '../type';
12
- import { ApiType, ApUploadConfig, ApDescriptionsConfig, ValueTypeRenderConfig, downloadCenterTriggerConfig, ExportField, SearchFormGlobalConfig } from './constants';
13
13
  export declare const globalConfigCached: Ref<ConfigProviderProps>;
14
14
  export declare const ConfigProvider: DefineComponent<ExtractPropTypes<{
15
15
  iconPrefixCls: StringConstructor;
@@ -153,6 +153,21 @@ export declare const ConfigProvider: DefineComponent<ExtractPropTypes<{
153
153
  rowSelection?: true | AgGridRowSelection<any> | undefined;
154
154
  }>;
155
155
  };
156
+ apProCard: {
157
+ type: PropType<{
158
+ uiMode?: UiModeType;
159
+ }>;
160
+ };
161
+ apImage: {
162
+ type: PropType<{
163
+ uiMode?: UiModeType | undefined;
164
+ }>;
165
+ };
166
+ apTitle: {
167
+ type: PropType<{
168
+ uiMode?: UiModeType | undefined;
169
+ }>;
170
+ };
156
171
  aplusLocale: {
157
172
  type: PropType<LocaleType>;
158
173
  };
@@ -167,7 +182,7 @@ export declare const ConfigProvider: DefineComponent<ExtractPropTypes<{
167
182
  default: () => {};
168
183
  };
169
184
  uiMode: {
170
- type: PropType<"aplus" | "admin">;
185
+ type: PropType<UiModeType>;
171
186
  };
172
187
  apUpload: {
173
188
  type: PropType<ApUploadConfig>;
@@ -342,6 +357,21 @@ export declare const ConfigProvider: DefineComponent<ExtractPropTypes<{
342
357
  rowSelection?: true | AgGridRowSelection<any> | undefined;
343
358
  }>;
344
359
  };
360
+ apProCard: {
361
+ type: PropType<{
362
+ uiMode?: UiModeType;
363
+ }>;
364
+ };
365
+ apImage: {
366
+ type: PropType<{
367
+ uiMode?: UiModeType | undefined;
368
+ }>;
369
+ };
370
+ apTitle: {
371
+ type: PropType<{
372
+ uiMode?: UiModeType | undefined;
373
+ }>;
374
+ };
345
375
  aplusLocale: {
346
376
  type: PropType<LocaleType>;
347
377
  };
@@ -356,7 +386,7 @@ export declare const ConfigProvider: DefineComponent<ExtractPropTypes<{
356
386
  default: () => {};
357
387
  };
358
388
  uiMode: {
359
- type: PropType<"aplus" | "admin">;
389
+ type: PropType<UiModeType>;
360
390
  };
361
391
  apUpload: {
362
392
  type: PropType<ApUploadConfig>;