@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,4 +1,4 @@
1
- import { ApDownLoadProps } from '../../ap-download/interface';
1
+ import { ApDownLoadProps } from '../../business/ap-download/interface';
2
2
  import { TooltipPlacement } from '@aplus-frontend/antdv/es/tooltip';
3
3
  export type AttachmentItemProps = {
4
4
  fileName?: string;
@@ -3,10 +3,10 @@ import { Descriptions as z, DescriptionsItem as d } from "@aplus-frontend/antdv"
3
3
  import { mixinsAttachmentExtraProps as F, transformValue as G, isEmptyWithType as I } from "./helper.mjs";
4
4
  import { get as b } from "lodash-unified";
5
5
  import "./help-message/index.vue.mjs";
6
- import "../config-provider/index.mjs";
6
+ import "../../config-provider/index.mjs";
7
7
  import L from "./style/index.mjs";
8
- import { useGlobalConfig as m } from "../config-provider/hooks/use-global-config.mjs";
9
- import { useNamespace as M } from "../config-provider/hooks/use-namespace.mjs";
8
+ import { useGlobalConfig as m } from "../../config-provider/hooks/use-global-config.mjs";
9
+ import { useNamespace as M } from "../../config-provider/hooks/use-namespace.mjs";
10
10
  import R from "./help-message/index.vue2.mjs";
11
11
  const $ = { key: 0 }, Z = /* @__PURE__ */ V({
12
12
  name: "ApDescriptions",
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as r, computed as m, createVNode as t, createElementBlock as d, openBlock as o, createBlock as l, createCommentVNode as u, resolveDynamicComponent as f, unref as s, withCtx as h } from "vue";
2
- import "../../config-provider/index.mjs";
2
+ import "../../../config-provider/index.mjs";
3
3
  import { QuestionCircleOutlined as b } from "@ant-design/icons-vue";
4
4
  import { TypographyText as _, Tooltip as y } from "@aplus-frontend/antdv";
5
- import { useNamespace as x } from "../../config-provider/hooks/use-namespace.mjs";
5
+ import { useNamespace as x } from "../../../config-provider/hooks/use-namespace.mjs";
6
6
  const C = {
7
7
  style: {
8
8
  display: "inline-flex"
@@ -1,4 +1,4 @@
1
- import { genComponentStyleHook as n } from "../../utils/cssinjs/index.mjs";
1
+ import { genComponentStyleHook as n } from "../../../utils/cssinjs/index.mjs";
2
2
  const e = (t) => {
3
3
  const { componentCls: i } = t;
4
4
  return {
@@ -1,13 +1,13 @@
1
1
  import { defineComponent as O, ref as z, useSlots as A, computed as s, unref as t, createBlock as L, openBlock as i, mergeProps as S, withCtx as x, createElementVNode as m, normalizeClass as j, createElementBlock as f, createCommentVNode as u, createVNode as I, renderSlot as F, toDisplayString as T } from "vue";
2
2
  import { Button as U } from "@aplus-frontend/antdv";
3
3
  import { LoadingOutlined as V } from "@ant-design/icons-vue";
4
- import "../config-provider/index.mjs";
4
+ import "../../config-provider/index.mjs";
5
5
  import { useOssInit as D } from "./hooks/index.mjs";
6
6
  import { getFileInfo as g } from "./utils/getFileInfo.mjs";
7
7
  import { useStyle as E } from "./hooks/useStyle.mjs";
8
8
  import { omit as P } from "lodash-unified";
9
- import { useLocale as G } from "../config-provider/hooks/use-locale.mjs";
10
- import { useGlobalConfig as y } from "../config-provider/hooks/use-global-config.mjs";
9
+ import { useLocale as G } from "../../config-provider/hooks/use-locale.mjs";
10
+ import { useGlobalConfig as y } from "../../config-provider/hooks/use-global-config.mjs";
11
11
  const M = {
12
12
  key: 0,
13
13
  class: "spin"
@@ -1,9 +1,9 @@
1
1
  import { computed as o } from "vue";
2
2
  import { getHexWithOpacity as c } from "../utils/getFileInfo.mjs";
3
- import "../../config-provider/index.mjs";
3
+ import "../../../config-provider/index.mjs";
4
4
  import m from "../style/index.mjs";
5
- import { useToken as d } from "../../config-provider/hooks/use-token.mjs";
6
- import { useNamespace as w } from "../../config-provider/hooks/use-namespace.mjs";
5
+ import { useToken as d } from "../../../config-provider/hooks/use-token.mjs";
6
+ import { useNamespace as w } from "../../../config-provider/hooks/use-namespace.mjs";
7
7
  function g(a, l) {
8
8
  const { b: r, bm: e } = w("ap-download"), n = m("ap-download"), { token: p } = d(), s = o(() => ({
9
9
  "--download-main-color": p.value?.colorLink,
@@ -1,4 +1,4 @@
1
- import { genComponentStyleHook as l } from "../../utils/cssinjs/index.mjs";
1
+ import { genComponentStyleHook as l } from "../../../utils/cssinjs/index.mjs";
2
2
  const r = (o) => {
3
3
  const { componentCls: e, textColor3: n } = o, i = `${e}-inner-wrapper`;
4
4
  return {
@@ -1,16 +1,16 @@
1
- import { defineComponent as S, computed as n, ref as I, watchEffect as U, createBlock as p, openBlock as l, unref as a, mergeProps as f, withCtx as j, renderSlot as B, normalizeProps as E, guardReactiveProps as L, createElementVNode as g, normalizeClass as D, createElementBlock as M, Fragment as P, renderList as R, resolveDynamicComponent as T, createVNode as x } from "vue";
2
- import { Image as z } from "@aplus-frontend/antdv";
3
- import { DownloadOutlined as V } from "@ant-design/icons-vue";
4
- import { injectLocaleToOss as W, getOssInstance as G, getSignatureUrl as $ } from "./hooks/useOss.mjs";
1
+ import { defineComponent as M, computed as n, ref as S, watchEffect as U, createBlock as p, openBlock as l, unref as a, mergeProps as f, withCtx as j, renderSlot as B, normalizeProps as E, guardReactiveProps as L, createElementVNode as g, normalizeClass as x, createElementBlock as D, Fragment as P, renderList as R, resolveDynamicComponent as T, createVNode as z } from "vue";
2
+ import { Image as V } from "@aplus-frontend/antdv";
3
+ import { DownloadOutlined as W } from "@ant-design/icons-vue";
4
+ import { injectLocaleToOss as G, getOssInstance as $, getSignatureUrl as q } from "./hooks/useOss.mjs";
5
5
  import "../../config-provider/index.mjs";
6
- import q from "./style/index.mjs";
7
- import H from "./imgs/admin-fallback.jpg.mjs";
8
- import J from "./imgs/aplus-fallback.jpg.mjs";
9
- import { omit as K } from "lodash-unified";
10
- import { useNamespace as Q } from "../../config-provider/hooks/use-namespace.mjs";
6
+ import H from "./style/index.mjs";
7
+ import J from "./imgs/admin-fallback.jpg.mjs";
8
+ import K from "./imgs/aplus-fallback.jpg.mjs";
9
+ import { omit as Q } from "lodash-unified";
10
+ import { useNamespace as X } from "../../config-provider/hooks/use-namespace.mjs";
11
11
  import { useGlobalConfig as c } from "../../config-provider/hooks/use-global-config.mjs";
12
- import { useLocale as X } from "../../config-provider/hooks/use-locale.mjs";
13
- const me = /* @__PURE__ */ S({
12
+ import { useLocale as Y } from "../../config-provider/hooks/use-locale.mjs";
13
+ const ue = /* @__PURE__ */ M({
14
14
  __name: "ApImage",
15
15
  props: {
16
16
  getOssAccess: {},
@@ -20,20 +20,23 @@ const me = /* @__PURE__ */ S({
20
20
  fallback: {},
21
21
  src: {},
22
22
  fileName: {},
23
+ uiMode: {},
23
24
  preview: { type: [Boolean, Object], default: !0 }
24
25
  },
25
- setup(b) {
26
- const { b: i } = Q("ap-image"), m = q("ap-image"), e = b, u = {
27
- aplus: J,
28
- admin: H
29
- }, v = c("uiMode"), h = c("apUpload"), d = c(
26
+ setup(v) {
27
+ const { b: i } = X("ap-image"), m = H("ap-image"), e = v, u = {
28
+ aplus: K,
29
+ admin: J
30
+ }, b = c("apImage", { uiMode: "aplus" }), h = c("apUpload"), d = c(
30
31
  "downloadCenterTriggerConfig"
31
- ), { t: k, lang: w } = X(), C = n(
32
+ ), k = n(
33
+ () => e.uiMode || b.value?.uiMode
34
+ ), { t: w, lang: C } = Y(), O = n(
32
35
  () => e.getOssAccess || h.value?.getOssAccess
33
- ), O = n(
34
- () => u[v.value] || u.aplus
35
- ), y = n(() => e?.fallback || O.value), s = I("");
36
- W(k, w), U(async () => {
36
+ ), y = n(
37
+ () => u[k.value] || u.aplus
38
+ ), A = n(() => e?.fallback || y.value), s = S("");
39
+ G(w, C), U(async () => {
37
40
  if (!e?.src) {
38
41
  s.value = "";
39
42
  return;
@@ -43,55 +46,55 @@ const me = /* @__PURE__ */ S({
43
46
  return;
44
47
  }
45
48
  try {
46
- const t = await G(C.value), o = await $({
49
+ const t = await $(O.value), r = await q({
47
50
  oss: t,
48
51
  fileName: e.src
49
52
  });
50
- o && (s.value = o);
53
+ r && (s.value = r);
51
54
  } catch {
52
55
  s.value = "";
53
56
  }
54
57
  });
55
- async function A() {
58
+ async function N() {
56
59
  if (!e?.src)
57
60
  return;
58
- const t = e.src, o = e.fileName ?? e.src;
61
+ const t = e.src, r = e.fileName ?? e.src;
59
62
  if (!e.src?.startsWith("Frontend-Upload")) {
60
- N(t, o);
63
+ I(t, r);
61
64
  return;
62
65
  }
63
66
  if (d.value?.trigger) {
64
- let r = [
67
+ let o = [
65
68
  {
66
69
  objectName: t,
67
- fileName: o
70
+ fileName: r
68
71
  }
69
72
  ];
70
- await d.value?.trigger(r);
73
+ await d.value?.trigger(o);
71
74
  }
72
75
  }
73
- const N = (t, o) => {
74
- const r = document.createElement("a");
75
- r.href = t, r.rel = "noopener noreferrer", r.setAttribute("download", o), document.body.appendChild(r), r.click(), document.body.removeChild(r);
76
+ const I = (t, r) => {
77
+ const o = document.createElement("a");
78
+ o.href = t, o.rel = "noopener noreferrer", o.setAttribute("download", r), document.body.appendChild(o), o.click(), document.body.removeChild(o);
76
79
  };
77
- return (t, o) => (l(), p(a(z), f({
80
+ return (t, r) => (l(), p(a(V), f({
78
81
  class: [a(i)(), a(m)]
79
82
  }, {
80
- ...a(K)(e, ["src", "getOssAccess"]),
81
- fallback: y.value,
83
+ ...a(Q)(e, ["src", "getOssAccess"]),
84
+ fallback: A.value,
82
85
  src: s.value
83
86
  }), {
84
- toolbarRender: j((r) => [
85
- B(t.$slots, "toolbarRender", E(L({ ...r })), () => [
87
+ toolbarRender: j((o) => [
88
+ B(t.$slots, "toolbarRender", E(L({ ...o })), () => [
86
89
  g("div", {
87
- class: D([a(i)("toolbar"), a(m)])
90
+ class: x([a(i)("toolbar"), a(m)])
88
91
  }, [
89
- (l(!0), M(P, null, R(r.originalNodes, (_, F) => (l(), p(T(_), f({ ref_for: !0 }, e, { key: F }), null, 16))), 128)),
92
+ (l(!0), D(P, null, R(o.originalNodes, (_, F) => (l(), p(T(_), f({ ref_for: !0 }, e, { key: F }), null, 16))), 128)),
90
93
  g("div", {
91
94
  class: "ant-image-preview-operations-operation",
92
- onClick: A
95
+ onClick: N
93
96
  }, [
94
- x(a(V))
97
+ z(a(W))
95
98
  ])
96
99
  ], 2)
97
100
  ])
@@ -101,5 +104,5 @@ const me = /* @__PURE__ */ S({
101
104
  }
102
105
  });
103
106
  export {
104
- me as default
107
+ ue as default
105
108
  };
@@ -1,4 +1,5 @@
1
1
  import { accessCreate } from '@aplus-frontend/oss';
2
+ import { UiModeType } from '../../config-provider';
2
3
  export interface ApImageProps {
3
4
  getOssAccess?: () => Promise<accessCreate>;
4
5
  width?: number | string;
@@ -7,6 +8,7 @@ export interface ApImageProps {
7
8
  fallback?: string;
8
9
  src?: string;
9
10
  fileName?: string;
11
+ uiMode?: UiModeType;
10
12
  preview?: boolean | {
11
13
  visible?: boolean;
12
14
  onVisibleChange?: (visible: boolean, prevVisible: boolean) => void;
@@ -1,29 +1,30 @@
1
- import { defineComponent as l, createVNode as o, mergeProps as t, createTextVNode as m } from "vue";
1
+ import { defineComponent as l, createVNode as u, mergeProps as o, createTextVNode as m } from "vue";
2
2
  import "../../../config-provider/index.mjs";
3
3
  import s from "../ApLabel.mjs";
4
4
  import { omit as n } from "lodash-unified";
5
5
  import { ApLabelGroupProps as i } from "../constans.mjs";
6
- import "../../../ap-tag/index.mjs";
6
+ import "../../ap-tag/index.mjs";
7
7
  import { useNamespace as p } from "../../../config-provider/hooks/use-namespace.mjs";
8
- import c from "../../../ap-tag/ap-tag.vue.mjs";
8
+ import c from "../../ap-tag/ap-tag.vue.mjs";
9
9
  const {
10
10
  b: f
11
11
  } = p("ap-label-group"), _ = /* @__PURE__ */ l({
12
12
  name: "ApLabelGroup",
13
13
  props: i(),
14
14
  setup(r) {
15
- const a = (e) => (r.tagValue || r.tagValue === 0) && e.tagConfig && e.tagConfig.length > 0 ? () => e.tagConfig.filter((u) => r.tagValue === u.value).map((u) => o(c, t(n(u, ["type", "size"]), {
15
+ const a = (e) => (r.tagValue || r.tagValue === 0) && e.tagConfig && e.tagConfig.length > 0 ? () => e.tagConfig.filter((t) => r.tagValue === t.value).map((t) => u(c, o(n(t, ["type", "size"]), {
16
16
  size: "small",
17
- type: "border"
18
- }), null)) : e.customRender ? () => o("div", null, [e.customRender(r.record)]) : null;
19
- return () => o("div", {
17
+ type: "border",
18
+ text: ""
19
+ }), null)) : e.customRender ? () => u("div", null, [e.customRender(r.record)]) : null;
20
+ return () => u("div", {
20
21
  class: f()
21
- }, [r.columns ? r.columns.map((e, u) => o(s, t({
22
- key: u,
22
+ }, [r.columns ? r.columns.map((e, t) => u(s, o({
23
+ key: t,
23
24
  show: r.value === e.value
24
25
  }, n(e, ["value", "tagConfig", "customRender"])), {
25
26
  custom: a(e)
26
- })) : o("div", null, [m("columns数组不能为空")])]);
27
+ })) : u("div", null, [m("columns数组不能为空")])]);
27
28
  }
28
29
  });
29
30
  export {
@@ -1,6 +1,6 @@
1
1
  import { BadgeProps } from '@aplus-frontend/antdv';
2
2
  import { TooltipPlacement } from '@aplus-frontend/antdv/es/tooltip/Tooltip';
3
- import { ApTagProps } from '../../ap-tag';
3
+ import { ApTagProps } from '../ap-tag';
4
4
  import { VNode, VNodeChild } from 'vue';
5
5
  type Recordable = Record<string, any>;
6
6
  export type ApLabelProps = BadgeProps & Partial<{
@@ -2,16 +2,16 @@ import { defineComponent as j, ref as x, computed as n, unref as p, watch as I,
2
2
  import { Tooltip as J } from "@aplus-frontend/antdv";
3
3
  import K from "@ant-design/icons-vue";
4
4
  import "./ap-tag.vue2.mjs";
5
- import "../config-provider/index.mjs";
5
+ import "../../config-provider/index.mjs";
6
6
  import { omit as O } from "lodash-unified";
7
7
  import { getTextWidth as W } from "./utils.mjs";
8
- import "../hooks/index.mjs";
9
- import { useDevWarning as Q } from "../utils/warning.mjs";
8
+ import "../../hooks/index.mjs";
9
+ import { useDevWarning as Q } from "../../utils/warning.mjs";
10
10
  import X from "./style/group.mjs";
11
- import { useToken as Y } from "../config-provider/hooks/use-token.mjs";
12
- import { useLocale as Z } from "../config-provider/hooks/use-locale.mjs";
13
- import { useNamespace as ee } from "../config-provider/hooks/use-namespace.mjs";
14
- import { useResize as te } from "../hooks/useResize.mjs";
11
+ import { useToken as Y } from "../../config-provider/hooks/use-token.mjs";
12
+ import { useLocale as Z } from "../../config-provider/hooks/use-locale.mjs";
13
+ import { useNamespace as ee } from "../../config-provider/hooks/use-namespace.mjs";
14
+ import { useResize as te } from "../../hooks/useResize.mjs";
15
15
  import oe from "./ap-tag.vue.mjs";
16
16
  const xe = /* @__PURE__ */ j({
17
17
  __name: "ap-tag-group",
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as S, computed as n, createElementBlock as $, openBlock as b, normalizeClass as i, normalizeStyle as w, createElementVNode as B, toDisplayString as _ } from "vue";
2
- import "../config-provider/index.mjs";
2
+ import "../../config-provider/index.mjs";
3
3
  import z from "./style/index.mjs";
4
- import { useNamespace as I } from "../config-provider/hooks/use-namespace.mjs";
4
+ import { useNamespace as I } from "../../config-provider/hooks/use-namespace.mjs";
5
5
  const v = ["title"], A = /* @__PURE__ */ S({
6
6
  name: "ApTag",
7
7
  __name: "ap-tag",
@@ -1,4 +1,4 @@
1
- import { GenStyleFunc } from '../../design-token/interface';
1
+ import { GenStyleFunc } from '../../../design-token/interface';
2
2
  import { ComputedRef } from 'vue';
3
3
  export declare const genTagGroupStyle: GenStyleFunc;
4
4
  declare const _default: (prefixCls: string) => ComputedRef<string>;
@@ -1,4 +1,4 @@
1
- import { genComponentStyleHook as t } from "../../utils/cssinjs/index.mjs";
1
+ import { genComponentStyleHook as t } from "../../../utils/cssinjs/index.mjs";
2
2
  const n = (e) => {
3
3
  const { componentCls: o } = e;
4
4
  return {
@@ -1,4 +1,4 @@
1
- import { GenStyleFunc } from '../../design-token/interface';
1
+ import { GenStyleFunc } from '../../../design-token/interface';
2
2
  import { ComputedRef } from 'vue';
3
3
  export declare const genApTagStyle: GenStyleFunc;
4
4
  declare const _default: (prefixCls: string) => ComputedRef<string>;
@@ -1,4 +1,4 @@
1
- import { genComponentStyleHook as l } from "../../utils/cssinjs/index.mjs";
1
+ import { genComponentStyleHook as l } from "../../../utils/cssinjs/index.mjs";
2
2
  const a = (o) => {
3
3
  const { componentCls: e } = o, r = `${e}-wrapper`, i = `${e}-inner-wrapper`;
4
4
  return {
@@ -1,11 +1,11 @@
1
- import { defineComponent as g, computed as h, createElementBlock as a, openBlock as o, normalizeClass as l, unref as t, createElementVNode as r, renderSlot as n, Fragment as y, createBlock as C, createCommentVNode as k, toDisplayString as v, withCtx as I, createVNode as M, normalizeStyle as S } from "vue";
1
+ import { defineComponent as y, computed as a, createElementBlock as n, openBlock as l, normalizeClass as r, unref as t, createElementVNode as i, renderSlot as p, Fragment as C, createBlock as M, createCommentVNode as v, toDisplayString as k, withCtx as I, createVNode as S, normalizeStyle as T } from "vue";
2
2
  import { Tooltip as $ } from "@aplus-frontend/antdv";
3
3
  import { QuestionCircleOutlined as N } from "@ant-design/icons-vue";
4
4
  import "../../config-provider/index.mjs";
5
- import B from "./style/index.mjs";
6
- import { useNamespace as T } from "../../config-provider/hooks/use-namespace.mjs";
5
+ import A from "./style/index.mjs";
6
+ import { useNamespace as B } from "../../config-provider/hooks/use-namespace.mjs";
7
7
  import { useGlobalConfig as V } from "../../config-provider/hooks/use-global-config.mjs";
8
- const O = /* @__PURE__ */ g({
8
+ const O = /* @__PURE__ */ y({
9
9
  name: "ApTitle",
10
10
  __name: "ApTitle",
11
11
  props: {
@@ -13,39 +13,42 @@ const O = /* @__PURE__ */ g({
13
13
  helpMessage: { default: "" },
14
14
  helpIconColor: { default: "" },
15
15
  placement: { default: "top" },
16
- trigger: { default: "hover" }
16
+ trigger: { default: "hover" },
17
+ uiMode: {}
17
18
  },
18
- setup(p) {
19
- const s = p, { b: m, e: i, m: u } = T("ap-title"), c = B("ap-title"), f = V("uiMode", "aplus"), d = h(() => s.helpIconColor ? {
20
- color: `${s.helpIconColor}`
19
+ setup(m) {
20
+ const o = m, { b: u, e: s, m: c } = B("ap-title"), d = A("ap-title"), f = V("apTitle", { uiMode: "aplus" }), g = a(
21
+ () => o.uiMode || f.value?.uiMode
22
+ ), h = a(() => o.helpIconColor ? {
23
+ color: `${o.helpIconColor}`
21
24
  } : {});
22
- return (e, b) => (o(), a("div", {
23
- class: l([t(m)(), `${t(u)(t(f))}`, t(c)])
25
+ return (e, b) => (l(), n("div", {
26
+ class: r([t(u)(), `${t(c)(g.value)}`, t(d)])
24
27
  }, [
25
- r("div", {
26
- class: l(t(i)("prefix"))
28
+ i("div", {
29
+ class: r(t(s)("prefix"))
27
30
  }, [
28
- e.$slots.prefix ? n(e.$slots, "prefix", { key: 0 }) : (o(), a(y, { key: 1 }, [
29
- r("span", null, v(e.title), 1),
30
- e.helpMessage ? (o(), C(t($), {
31
+ e.$slots.prefix ? p(e.$slots, "prefix", { key: 0 }) : (l(), n(C, { key: 1 }, [
32
+ i("span", null, k(e.title), 1),
33
+ e.helpMessage ? (l(), M(t($), {
31
34
  key: 0,
32
35
  title: e.helpMessage,
33
36
  placement: e.placement,
34
37
  trigger: e.trigger
35
38
  }, {
36
39
  default: I(() => [
37
- M(t(N), {
38
- style: S(d.value)
40
+ S(t(N), {
41
+ style: T(h.value)
39
42
  }, null, 8, ["style"])
40
43
  ]),
41
44
  _: 1
42
- }, 8, ["title", "placement", "trigger"])) : k("", !0)
45
+ }, 8, ["title", "placement", "trigger"])) : v("", !0)
43
46
  ], 64))
44
47
  ], 2),
45
- r("div", {
46
- class: l(t(i)("suffix"))
48
+ i("div", {
49
+ class: r(t(s)("suffix"))
47
50
  }, [
48
- n(e.$slots, "suffix")
51
+ p(e.$slots, "suffix")
49
52
  ], 2)
50
53
  ], 2));
51
54
  }
@@ -1,3 +1,4 @@
1
+ import { UiModeType } from '../../config-provider';
1
2
  /**
2
3
  * ApTitle Props 属性类型声明
3
4
  */
@@ -22,4 +23,5 @@ export interface ApTitleProps {
22
23
  * 气泡触发行为 默认hover
23
24
  */
24
25
  trigger?: 'hover' | 'focus' | 'click' | 'contextmenu';
26
+ uiMode?: UiModeType;
25
27
  }
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as h, ref as m, computed as c, provide as t, createElementBlock as N, openBlock as d, normalizeClass as U, unref as a, createBlock as O, resolveDynamicComponent as R, mergeProps as z, createSlots as j, renderList as A, withCtx as $, renderSlot as k, normalizeProps as B, guardReactiveProps as T } from "vue";
2
- import "../config-provider/index.mjs";
2
+ import "../../config-provider/index.mjs";
3
3
  import "./components/SingleFile.vue.mjs";
4
4
  import "./components/MultipleFile.vue.mjs";
5
5
  import "./components/Picture.vue.mjs";
@@ -7,12 +7,12 @@ import { injectLocaleToAccept as w } from "./utils/accept.mjs";
7
7
  import { injectLocaleToOss as I } from "./hooks/useOss.mjs";
8
8
  import { Form as L } from "@aplus-frontend/antdv";
9
9
  import q from "./style/index.mjs";
10
- import { useLocale as P } from "../config-provider/hooks/use-locale.mjs";
11
- import { useNamespace as V } from "../config-provider/hooks/use-namespace.mjs";
10
+ import { useLocale as P } from "../../config-provider/hooks/use-locale.mjs";
11
+ import { useNamespace as V } from "../../config-provider/hooks/use-namespace.mjs";
12
12
  import D from "./components/Picture.vue2.mjs";
13
13
  import G from "./components/MultipleFile.vue2.mjs";
14
14
  import H from "./components/SingleFile.vue2.mjs";
15
- import { useGlobalConfig as J } from "../config-provider/hooks/use-global-config.mjs";
15
+ import { useGlobalConfig as J } from "../../config-provider/hooks/use-global-config.mjs";
16
16
  const K = ["id"], me = /* @__PURE__ */ h({
17
17
  name: "AplusFileUpload",
18
18
  __name: "apUpload",
@@ -1,14 +1,14 @@
1
1
  import { defineComponent as Q, inject as a, ref as X, watch as Y, nextTick as Z, createElementBlock as U, openBlock as w, normalizeClass as ee, unref as s, createVNode as x, withCtx as k, createElementVNode as I, createTextVNode as oe, toDisplayString as M, withModifiers as te, createCommentVNode as ae, createBlock as se, resolveDynamicComponent as ne } from "vue";
2
- import "../../config-provider/index.mjs";
2
+ import "../../../config-provider/index.mjs";
3
3
  import { getPath as re, getName as le, getReturnData as S } from "../utils/returnData.mjs";
4
4
  import { useOss as ie, getOssInstance as L } from "../hooks/useOss.mjs";
5
5
  import { message as c, Upload as ue, Button as ce } from "@aplus-frontend/antdv";
6
6
  import { UploadOutlined as pe, VerticalAlignBottomOutlined as de } from "@ant-design/icons-vue";
7
7
  import { fileMatchesAccept as me, getAcceptText as fe } from "../utils/accept.mjs";
8
8
  import ge from "../style/index.mjs";
9
- import { useGlobalConfig as he } from "../../config-provider/hooks/use-global-config.mjs";
10
- import { useLocale as ve } from "../../config-provider/hooks/use-locale.mjs";
11
- import { useNamespace as we } from "../../config-provider/hooks/use-namespace.mjs";
9
+ import { useGlobalConfig as he } from "../../../config-provider/hooks/use-global-config.mjs";
10
+ import { useLocale as ve } from "../../../config-provider/hooks/use-locale.mjs";
11
+ import { useNamespace as we } from "../../../config-provider/hooks/use-namespace.mjs";
12
12
  const xe = { class: "multiple-file-context" }, ye = { key: 0 }, Ce = { key: 1 }, Se = /* @__PURE__ */ Q({
13
13
  __name: "MultipleFile",
14
14
  setup(Ue, { expose: z }) {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as Z, inject as r, ref as P, watch as F, nextTick as ee, createElementBlock as g, openBlock as h, normalizeClass as te, unref as n, createElementVNode as d, renderSlot as ae, createCommentVNode as I, Fragment as oe, renderList as se, withDirectives as ne, createVNode as k, vShow as ie, toDisplayString as C } from "vue";
2
- import "../../config-provider/index.mjs";
2
+ import "../../../config-provider/index.mjs";
3
3
  import { getPath as re, getName as ce, getReturnData as $ } from "../utils/returnData.mjs";
4
4
  import { CloseOutlined as ue, PlusOutlined as le } from "@ant-design/icons-vue";
5
5
  import { useOss as pe, getOssInstance as V } from "../hooks/useOss.mjs";
@@ -7,8 +7,8 @@ import { fileMatchesAccept as de, getAcceptText as me } from "../utils/accept.mj
7
7
  import { message as m, Progress as fe } from "@aplus-frontend/antdv";
8
8
  import { omit as ge } from "lodash-unified";
9
9
  import he from "../style/index.mjs";
10
- import { useLocale as ve } from "../../config-provider/hooks/use-locale.mjs";
11
- import { useNamespace as xe } from "../../config-provider/hooks/use-namespace.mjs";
10
+ import { useLocale as ve } from "../../../config-provider/hooks/use-locale.mjs";
11
+ import { useNamespace as xe } from "../../../config-provider/hooks/use-namespace.mjs";
12
12
  const ye = ["accept"], we = { class: "picture-context" }, _e = { class: "picture-item-box" }, Ue = ["src"], ke = { class: "picture-item-shadow" }, Ce = ["onClick"], Ee = {
13
13
  key: 0,
14
14
  class: "picture-item-uploading"
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as ne, inject as l, ref as g, watch as se, computed as re, createElementBlock as E, openBlock as h, normalizeClass as ie, unref as a, createElementVNode as r, createCommentVNode as N, toDisplayString as x, normalizeStyle as ce, createBlock as ue, withModifiers as pe, createVNode as de } from "vue";
2
- import "../../config-provider/index.mjs";
2
+ import "../../../config-provider/index.mjs";
3
3
  import { getName as ve, getReturnData as $ } from "../utils/returnData.mjs";
4
4
  import { useOss as fe, useOssInit as me } from "../hooks/useOss.mjs";
5
5
  import { fileMatchesAccept as ge, getAcceptText as he } from "../utils/accept.mjs";
@@ -7,9 +7,9 @@ import { message as c, Progress as _e } from "@aplus-frontend/antdv";
7
7
  import { DeleteOutlined as ke } from "@ant-design/icons-vue";
8
8
  import q from "../assets/single-file-icon.png.mjs";
9
9
  import ye from "../style/index.mjs";
10
- import { useToken as we } from "../../config-provider/hooks/use-token.mjs";
11
- import { useLocale as Ue } from "../../config-provider/hooks/use-locale.mjs";
12
- import { useNamespace as Ce } from "../../config-provider/hooks/use-namespace.mjs";
10
+ import { useToken as we } from "../../../config-provider/hooks/use-token.mjs";
11
+ import { useLocale as Ue } from "../../../config-provider/hooks/use-locale.mjs";
12
+ import { useNamespace as Ce } from "../../../config-provider/hooks/use-namespace.mjs";
13
13
  const De = ["accept"], Fe = {
14
14
  key: 0,
15
15
  class: "state-un"
@@ -1,5 +1,5 @@
1
1
  import { accessCreate, Oss } from '@aplus-frontend/oss';
2
- import { Translator } from '../../config-provider';
2
+ import { Translator } from '../../../config-provider';
3
3
  import { Ref } from 'vue';
4
4
  export type { Oss } from '@aplus-frontend/oss';
5
5
  export type GetOssAccess = () => Promise<accessCreate>;
@@ -1,4 +1,4 @@
1
- import { genComponentStyleHook as o } from "../../utils/cssinjs/index.mjs";
1
+ import { genComponentStyleHook as o } from "../../../utils/cssinjs/index.mjs";
2
2
  import { singleFileStyle as t } from "./single-file.mjs";
3
3
  import { multipleFileStyle as l } from "./multiple-file.mjs";
4
4
  import { pictureStyle as m } from "./picture.mjs";
@@ -0,0 +1,2 @@
1
+ import { BaseToken, GenStyleFunc } from '../../../design-token/interface';
2
+ export declare const multipleFileStyle: GenStyleFunc<BaseToken>;
@@ -0,0 +1,2 @@
1
+ import { BaseToken, GenStyleFunc } from '../../../design-token/interface';
2
+ export declare const pictureStyle: GenStyleFunc<BaseToken>;
@@ -0,0 +1,2 @@
1
+ import { BaseToken, GenStyleFunc } from '../../../design-token/interface';
2
+ export declare const singleFileStyle: GenStyleFunc<BaseToken>;
@@ -1,4 +1,4 @@
1
- import { Translator } from '../../config-provider';
1
+ import { Translator } from '../../../config-provider';
2
2
  export declare function injectLocaleToAccept(value: Translator): void;
3
3
  /**
4
4
  * 校验文件是否满足指定的格式
@@ -18,8 +18,8 @@ declare const __VLS_component: DefineComponent<__VLS_Props, {}, {}, {}, {}, Comp
18
18
  }, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
19
19
  "onUpdate:fileList"?: ((...args: any[]) => any) | undefined;
20
20
  }>, {
21
- accept: string;
22
21
  maxSize: number;
22
+ accept: string;
23
23
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
24
24
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
25
25
  export default _default;
@@ -4,14 +4,14 @@ import { useViewInject as B } from "../hooks/use-view-provide.mjs";
4
4
  import { SYSTEM_VIEW_KEY as h } from "../utils/enum.mjs";
5
5
  import { Space as C, Popconfirm as F } from "@aplus-frontend/antdv";
6
6
  import L from "../icons/line-delete.vue.mjs";
7
- import "../../../ap-tag/index.mjs";
7
+ import "../../ap-tag/index.mjs";
8
8
  import "../../../ap-form/ap-form.vue.mjs";
9
9
  import { ApField as M } from "../../../ap-field/index.mjs";
10
10
  import P from "../style/index.mjs";
11
11
  import { useToken as Y } from "../../../config-provider/hooks/use-token.mjs";
12
12
  import { useNamespace as j } from "../../../config-provider/hooks/use-namespace.mjs";
13
13
  import { useLocale as A } from "../../../config-provider/hooks/use-locale.mjs";
14
- import O from "../../../ap-tag/ap-tag.vue.mjs";
14
+ import O from "../../ap-tag/ap-tag.vue.mjs";
15
15
  import x from "../../../ap-form/ap-form.vue2.mjs";
16
16
  const U = { class: "menu-list-content-name" }, W = ["title"], q = {
17
17
  key: 0,
@@ -1,5 +1,3 @@
1
1
  export * from './usePageListApTable';
2
- export * from './useTableRefresh';
3
2
  export * from './usePageListApGrid';
4
- export * from './useGridRefresh';
5
3
  export * from './usePageListAgGrid';