@aplus-frontend/ui 0.6.0-beta.21 → 0.6.0-beta.23

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 (366) hide show
  1. package/es/index.mjs +124 -124
  2. package/es/src/ap-action/group/index.vue.mjs +3 -3
  3. package/es/src/ap-action/item/index.vue2.mjs +5 -5
  4. package/es/src/ap-action/item-dropdown/index.vue.mjs +7 -7
  5. package/es/src/ap-action/item-modal/index.vue.mjs +2 -2
  6. package/es/src/ap-action/item-popconfirm/index.vue.mjs +2 -2
  7. package/es/src/ap-button/ap-action-button.vue.mjs +2 -2
  8. package/es/src/ap-button/ap-button.vue.mjs +2 -2
  9. package/es/src/ap-button/ap-confirm-button.vue.mjs +2 -2
  10. package/es/src/ap-descriptions/ap-descriptions.vue.mjs +4 -4
  11. package/es/src/ap-descriptions/help-message/index.vue2.mjs +4 -4
  12. package/es/src/ap-download/ap-download.vue.mjs +1 -1
  13. package/es/src/ap-drawer/index.d.ts +7 -3
  14. package/es/src/ap-drawer/index.mjs +5 -10
  15. package/es/src/ap-drawer/interface.d.ts +0 -4
  16. package/es/src/ap-drawer/style/css.d.ts +1 -0
  17. package/es/src/ap-drawer/style/css.js +1 -1
  18. package/es/src/ap-drawer/style/index.d.ts +1 -0
  19. package/es/src/ap-drawer/style/index.js +1 -1
  20. package/es/src/ap-drawer/utils/createDrawer.mjs +31 -36
  21. package/es/src/ap-field/checkbox/index.vue.mjs +1 -1
  22. package/es/src/ap-field/date/index.vue.mjs +4 -4
  23. package/es/src/ap-field/date-range/index.vue.mjs +8 -8
  24. package/es/src/ap-field/index.mjs +36 -36
  25. package/es/src/ap-field/number/index.vue.mjs +8 -8
  26. package/es/src/ap-field/radio/index.vue.mjs +1 -1
  27. package/es/src/ap-field/rate/index.vue.mjs +2 -2
  28. package/es/src/ap-field/segmented/index.vue.mjs +1 -1
  29. package/es/src/ap-field/select/index.vue.mjs +2 -2
  30. package/es/src/ap-field/select/use-select-options.d.ts +2 -2
  31. package/es/src/ap-field/slider/index.vue.mjs +4 -4
  32. package/es/src/ap-field/switch/index.vue.mjs +3 -3
  33. package/es/src/ap-field/text/index.vue2.mjs +2 -2
  34. package/es/src/ap-field/text/password.vue.mjs +2 -2
  35. package/es/src/ap-field/text-area/index.vue.mjs +3 -3
  36. package/es/src/ap-field/tree-select/index.vue.mjs +3 -3
  37. package/es/src/ap-field/tree-select/use-request.d.ts +4 -4
  38. package/es/src/ap-form/ap-form.vue.d.ts +2 -1
  39. package/es/src/ap-form/ap-form.vue2.mjs +2 -2
  40. package/es/src/ap-form/drawer-form/index.vue.d.ts +4 -3
  41. package/es/src/ap-form/drawer-form/index.vue.mjs +9 -9
  42. package/es/src/ap-form/item/index.vue.mjs +75 -83
  43. package/es/src/ap-form/item-group/index.vue.mjs +34 -35
  44. package/es/src/ap-form/items/checkbox/index.vue.mjs +2 -2
  45. package/es/src/ap-form/items/date/index.vue.mjs +2 -2
  46. package/es/src/ap-form/items/date-range/index.vue.mjs +2 -2
  47. package/es/src/ap-form/items/number/index.vue.mjs +2 -2
  48. package/es/src/ap-form/items/radio/index.vue.mjs +2 -2
  49. package/es/src/ap-form/items/select/index.vue.d.ts +6 -6
  50. package/es/src/ap-form/items/select/index.vue.mjs +2 -2
  51. package/es/src/ap-form/items/switch/index.vue.mjs +2 -2
  52. package/es/src/ap-form/items/text/group.vue2.mjs +2 -2
  53. package/es/src/ap-form/items/text/index.vue2.mjs +2 -2
  54. package/es/src/ap-form/items/text/password.vue.mjs +2 -2
  55. package/es/src/ap-form/items/text-area/index.vue.mjs +2 -2
  56. package/es/src/ap-form/items/tree-select/index.vue.mjs +2 -2
  57. package/es/src/ap-form/modal-form/index.vue.d.ts +4 -3
  58. package/es/src/ap-form/modal-form/index.vue.mjs +7 -7
  59. package/es/src/ap-form/render/item.vue.mjs +2 -2
  60. package/es/src/ap-form/search-form/components/popover-filter.vue2.mjs +7 -7
  61. package/es/src/ap-form/search-form/components/popover-sorter/index.vue2.mjs +23 -23
  62. package/es/src/ap-form/search-form/components/popover-sorter/sortable-item.vue2.mjs +2 -2
  63. package/es/src/ap-form/search-form/hooks/use-count-per-row.mjs +18 -20
  64. package/es/src/ap-form/search-form/index.vue.d.ts +4 -3
  65. package/es/src/ap-form/search-form/index.vue.mjs +1 -1
  66. package/es/src/ap-form/set/index.vue.mjs +1 -1
  67. package/es/src/ap-grid/editable/form-item.vue.d.ts +4 -2
  68. package/es/src/ap-grid/editable/form-item.vue.mjs +2 -2
  69. package/es/src/ap-grid/editable/index.vue.d.ts +4 -2
  70. package/es/src/ap-grid/editable/index.vue.mjs +2 -2
  71. package/es/src/ap-grid/index.vue.d.ts +4 -2
  72. package/es/src/ap-grid/index.vue.mjs +45 -45
  73. package/es/src/ap-grid/interface.d.ts +3 -3
  74. package/es/src/ap-info-layout/ApInfoLayout.vue.mjs +2 -2
  75. package/es/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue2.mjs +2 -2
  76. package/es/src/ap-info-layout/ap-info-layout-aplus/ap-info-layout.vue2.mjs +1 -1
  77. package/es/src/ap-list/index.vue.d.ts +4 -2
  78. package/es/src/ap-list/index.vue.mjs +34 -34
  79. package/es/src/ap-list/interface.d.ts +4 -3
  80. package/es/src/ap-modal/utils/confirm.d.ts +1 -1
  81. package/es/src/ap-table/ap-table.vue.d.ts +4 -2
  82. package/es/src/ap-table/ap-table.vue2.mjs +61 -61
  83. package/es/src/ap-table/components/dynamic-component/index.vue2.mjs +2 -2
  84. package/es/src/ap-table/components/index/index.vue2.mjs +2 -2
  85. package/es/src/ap-table/components/paragraph-ellipsis/index.vue2.mjs +3 -3
  86. package/es/src/ap-table/components/setting/modal/index.vue2.mjs +3 -3
  87. package/es/src/ap-table/components/setting/select-group/index.vue2.mjs +1 -1
  88. package/es/src/ap-table/components/setting/sortable/index.vue2.mjs +1 -1
  89. package/es/src/ap-table/components/setting/sortable/item.vue2.mjs +1 -1
  90. package/es/src/ap-table/components/setting/sorter/index.vue2.mjs +11 -11
  91. package/es/src/ap-table/components/setting/tree-select/index.vue2.mjs +1 -1
  92. package/es/src/ap-table/components/status/index.vue2.mjs +2 -2
  93. package/es/src/ap-table/constants.d.ts +5 -5
  94. package/es/src/ap-table/constants.mjs +45 -45
  95. package/es/src/ap-table/hooks/use-table-column-state.d.ts +4 -4
  96. package/es/src/ap-table/hooks/use-table-column-state.mjs +3 -3
  97. package/es/src/ap-table/hooks/use-table-paging-ng.d.ts +3 -3
  98. package/es/src/ap-table/hooks/use-table-paging-ng.mjs +15 -15
  99. package/es/src/ap-table/interface.d.ts +3 -3
  100. package/es/src/ap-table/utils.d.ts +5 -5
  101. package/es/src/ap-tag/ap-tag-group.vue.mjs +8 -8
  102. package/es/src/ap-tag/ap-tag.vue.mjs +2 -2
  103. package/es/src/ap-upload/apUpload.vue.mjs +5 -5
  104. package/es/src/ap-upload/components/MultipleFile.vue.d.ts +1 -1
  105. package/es/src/ap-upload/components/MultipleFile.vue2.mjs +3 -3
  106. package/es/src/ap-upload/components/Picture.vue.d.ts +7 -2
  107. package/es/src/ap-upload/components/Picture.vue2.mjs +6 -6
  108. package/es/src/ap-upload/components/SingleFile.vue2.mjs +7 -7
  109. package/es/src/business/ap-appendix/ap-appendix.vue2.mjs +1 -1
  110. package/es/src/business/ap-appendix/icons/file-icon.vue.mjs +2 -2
  111. package/es/src/business/ap-batch-action/ApBatchAction.vue2.mjs +2 -2
  112. package/es/src/business/ap-batch-action-group/ApBatchActionGroup.vue2.mjs +9 -9
  113. package/es/src/business/ap-batch-action-group/MenuItemGroup.vue2.mjs +1 -1
  114. package/es/src/business/ap-batch-action-group/index.d.ts +3 -3
  115. package/es/src/business/ap-button-group/ApButtonGroup.vue2.mjs +1 -1
  116. package/es/src/business/ap-card/ApCard.vue2.mjs +7 -7
  117. package/es/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +4 -2
  118. package/es/src/business/ap-expand-alert/ApExpandAlert.vue2.mjs +11 -11
  119. package/es/src/business/ap-expand-alert/index.d.ts +6 -4
  120. package/es/src/business/ap-export-group/ApExportGroup.vue2.mjs +5 -5
  121. package/es/src/business/ap-group-search/ap-group-search.vue2.mjs +5 -5
  122. package/es/src/business/ap-group-search/extension-select/index.vue2.mjs +4 -4
  123. package/es/src/business/ap-group-search/images/icon-down.vue.mjs +2 -2
  124. package/es/src/business/ap-group-search/images/icon-line-select.vue.mjs +2 -2
  125. package/es/src/business/ap-group-search/popover-select/index.vue2.mjs +2 -2
  126. package/es/src/business/ap-image/ApImage.vue2.mjs +1 -1
  127. package/es/src/business/ap-input-radio/ApInputRadio.vue2.mjs +2 -2
  128. package/es/src/business/ap-keep-alive/index.d.ts +2 -1
  129. package/es/src/business/ap-keep-alive/index.mjs +11 -9
  130. package/es/src/business/ap-keep-alive/keep-alive.mjs +3 -3
  131. package/es/src/business/ap-keep-alive/keeper/ap-grid-keeper.mjs +7 -7
  132. package/es/src/business/ap-keep-alive/utils.d.ts +1 -0
  133. package/es/src/business/ap-keep-alive/utils.mjs +10 -9
  134. package/es/src/business/ap-ladder/components/RenderValue.mjs +2 -2
  135. package/es/src/business/ap-radio-group/ap-radio-group.vue.d.ts +2 -0
  136. package/es/src/business/ap-radio-group/ap-radio-group.vue2.mjs +36 -30
  137. package/es/src/business/ap-radio-group/index.d.ts +6 -0
  138. package/es/src/business/ap-select-layout/index.d.ts +4 -2
  139. package/es/src/business/ap-select-layout/select-layout.vue.d.ts +4 -2
  140. package/es/src/business/ap-select-layout/select-layout.vue2.mjs +4 -4
  141. package/es/src/business/ap-status/ApStatus.vue2.mjs +8 -8
  142. package/es/src/business/ap-status/group/ApStatusGroup.vue2.mjs +4 -4
  143. package/es/src/business/ap-summary/ap-summary.vue2.mjs +1 -1
  144. package/es/src/business/ap-table-modal/index.d.ts +4 -16
  145. package/es/src/business/ap-table-modal/modal-title.vue2.mjs +2 -2
  146. package/es/src/business/ap-table-modal/table-layout/index.vue2.mjs +14 -14
  147. package/es/src/business/ap-table-modal/table-modal.vue2.mjs +3 -3
  148. package/es/src/business/ap-title/ApTitle.vue2.mjs +7 -7
  149. package/es/src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.mjs +1 -1
  150. package/es/src/business/ap-upload-file/icon/delete-icon.vue.mjs +2 -2
  151. package/es/src/business/ap-upload-file/icon/file-icon.vue.mjs +2 -2
  152. package/es/src/business/ap-view/ap-view.vue2.mjs +2 -2
  153. package/es/src/business/ap-view/components/main-button-content.vue.d.ts +3 -2
  154. package/es/src/business/ap-view/components/main-button-content.vue2.mjs +5 -5
  155. package/es/src/business/ap-view/components/menu-list-content.vue.d.ts +3 -2
  156. package/es/src/business/ap-view/components/menu-list-content.vue2.mjs +6 -6
  157. package/es/src/business/ap-view/icons/line-delete.vue.mjs +2 -2
  158. package/es/src/business/ap-view/icons/line-down.vue.mjs +2 -2
  159. package/es/src/business/ap-view/icons/line-eye.vue.mjs +2 -2
  160. package/es/src/business/batch-input-group/form-item.vue.mjs +2 -2
  161. package/es/src/business/batch-input-group/index.vue.mjs +1 -1
  162. package/es/src/business/batch-input-group/popover-input/index.vue2.mjs +2 -2
  163. package/es/src/business/hooks/usePageListApGrid.mjs +1 -1
  164. package/es/src/check-card/index.vue2.mjs +3 -3
  165. package/es/src/config-provider/hooks/use-namespace.d.ts +1 -5
  166. package/es/src/editable-table/form-item.vue.d.ts +4 -2
  167. package/es/src/editable-table/form-item.vue.mjs +2 -2
  168. package/es/src/editable-table/index.vue.d.ts +4 -2
  169. package/es/src/editable-table/index.vue.mjs +2 -2
  170. package/es/src/full-screen/index.vue.mjs +3 -3
  171. package/es/src/hooks/useFullScreen.mjs +5 -5
  172. package/es/src/index.mjs +278 -279
  173. package/es/src/mask/index.vue.mjs +10 -10
  174. package/es/src/portal/index.vue.mjs +2 -2
  175. package/es/src/scroll-bar/index.vue.mjs +3 -3
  176. package/es/src/scroll-bar/internal.vue.mjs +2 -2
  177. package/es/src/scroll-view/index.vue.d.ts +5 -5
  178. package/es/src/scroll-view/index.vue.mjs +9 -9
  179. package/es/src/splitter/Panel.vue2.mjs +4 -4
  180. package/es/src/splitter/SplitBar.vue2.mjs +7 -7
  181. package/es/src/splitter/Splitter.vue2.mjs +5 -5
  182. package/es/src/tests/wrapper.d.ts +4 -4
  183. package/es/src/text/group.vue.mjs +2 -2
  184. package/es/src/text/index.vue.mjs +4 -4
  185. package/es/src/version.d.ts +1 -1
  186. package/es/src/version.mjs +1 -1
  187. package/es/src/work-order-modal/help-message.vue2.mjs +2 -2
  188. package/es/src/work-order-modal/work-order-modal.vue.d.ts +3 -2
  189. package/es/src/work-order-modal/work-order-modal.vue.mjs +2 -2
  190. package/lib/index.js +1 -1
  191. package/lib/src/ap-action/item-dropdown/index.vue.js +1 -1
  192. package/lib/src/ap-drawer/index.d.ts +7 -3
  193. package/lib/src/ap-drawer/index.js +1 -1
  194. package/lib/src/ap-drawer/interface.d.ts +0 -4
  195. package/lib/src/ap-drawer/style/css.cjs +1 -1
  196. package/lib/src/ap-drawer/style/css.d.ts +1 -0
  197. package/lib/src/ap-drawer/style/index.cjs +1 -1
  198. package/lib/src/ap-drawer/style/index.d.ts +1 -0
  199. package/lib/src/ap-drawer/utils/createDrawer.js +1 -1
  200. package/lib/src/ap-field/index.js +1 -1
  201. package/lib/src/ap-field/select/use-select-options.d.ts +2 -2
  202. package/lib/src/ap-field/tree-select/use-request.d.ts +4 -4
  203. package/lib/src/ap-form/ap-form.vue.d.ts +2 -1
  204. package/lib/src/ap-form/drawer-form/index.vue.d.ts +4 -3
  205. package/lib/src/ap-form/item/index.vue.js +1 -1
  206. package/lib/src/ap-form/item-group/index.vue.js +1 -1
  207. package/lib/src/ap-form/items/select/index.vue.d.ts +6 -6
  208. package/lib/src/ap-form/modal-form/index.vue.d.ts +4 -3
  209. package/lib/src/ap-form/search-form/hooks/use-count-per-row.js +1 -1
  210. package/lib/src/ap-form/search-form/index.vue.d.ts +4 -3
  211. package/lib/src/ap-grid/editable/form-item.vue.d.ts +4 -2
  212. package/lib/src/ap-grid/editable/index.vue.d.ts +4 -2
  213. package/lib/src/ap-grid/index.vue.d.ts +4 -2
  214. package/lib/src/ap-grid/index.vue.js +1 -1
  215. package/lib/src/ap-grid/interface.d.ts +3 -3
  216. package/lib/src/ap-list/index.vue.d.ts +4 -2
  217. package/lib/src/ap-list/index.vue.js +1 -1
  218. package/lib/src/ap-list/interface.d.ts +4 -3
  219. package/lib/src/ap-modal/utils/confirm.d.ts +1 -1
  220. package/lib/src/ap-table/ap-table.vue.d.ts +4 -2
  221. package/lib/src/ap-table/ap-table.vue2.js +1 -1
  222. package/lib/src/ap-table/constants.d.ts +5 -5
  223. package/lib/src/ap-table/constants.js +1 -1
  224. package/lib/src/ap-table/hooks/use-table-column-state.d.ts +4 -4
  225. package/lib/src/ap-table/hooks/use-table-paging-ng.d.ts +3 -3
  226. package/lib/src/ap-table/hooks/use-table-paging-ng.js +1 -1
  227. package/lib/src/ap-table/interface.d.ts +3 -3
  228. package/lib/src/ap-table/utils.d.ts +5 -5
  229. package/lib/src/ap-upload/apUpload.vue.js +1 -1
  230. package/lib/src/ap-upload/components/MultipleFile.vue.d.ts +1 -1
  231. package/lib/src/ap-upload/components/Picture.vue.d.ts +7 -2
  232. package/lib/src/business/ap-batch-action-group/index.d.ts +3 -3
  233. package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +4 -2
  234. package/lib/src/business/ap-expand-alert/index.d.ts +6 -4
  235. package/lib/src/business/ap-keep-alive/index.d.ts +2 -1
  236. package/lib/src/business/ap-keep-alive/index.js +1 -1
  237. package/lib/src/business/ap-keep-alive/keeper/ap-grid-keeper.js +1 -1
  238. package/lib/src/business/ap-keep-alive/utils.d.ts +1 -0
  239. package/lib/src/business/ap-keep-alive/utils.js +1 -1
  240. package/lib/src/business/ap-radio-group/ap-radio-group.vue.d.ts +2 -0
  241. package/lib/src/business/ap-radio-group/ap-radio-group.vue2.js +1 -1
  242. package/lib/src/business/ap-radio-group/index.d.ts +6 -0
  243. package/lib/src/business/ap-select-layout/index.d.ts +4 -2
  244. package/lib/src/business/ap-select-layout/select-layout.vue.d.ts +4 -2
  245. package/lib/src/business/ap-table-modal/index.d.ts +4 -16
  246. package/lib/src/business/ap-view/components/main-button-content.vue.d.ts +3 -2
  247. package/lib/src/business/ap-view/components/menu-list-content.vue.d.ts +3 -2
  248. package/lib/src/business/hooks/usePageListApGrid.js +1 -1
  249. package/lib/src/config-provider/hooks/use-namespace.d.ts +1 -5
  250. package/lib/src/editable-table/form-item.vue.d.ts +4 -2
  251. package/lib/src/editable-table/index.vue.d.ts +4 -2
  252. package/lib/src/index.js +1 -1
  253. package/lib/src/scroll-view/index.vue.d.ts +5 -5
  254. package/lib/src/tests/wrapper.d.ts +4 -4
  255. package/lib/src/version.d.ts +1 -1
  256. package/lib/src/version.js +1 -1
  257. package/lib/src/work-order-modal/work-order-modal.vue.d.ts +3 -2
  258. package/package.json +5 -5
  259. package/theme/antd-global-overwrite/admin/alert.css +1 -1
  260. package/theme/antd-global-overwrite/admin/field.css +3 -0
  261. package/theme/antd-global-overwrite/admin/field.less +4 -0
  262. package/theme/antd-global-overwrite/admin/index.css +10 -1
  263. package/theme/antd-global-overwrite/admin/modal.css +6 -0
  264. package/theme/antd-global-overwrite/admin/modal.less +8 -0
  265. package/theme/antd-global-overwrite/aplus/alert.css +1 -1
  266. package/theme/antd-global-overwrite/aplus/field.css +3 -0
  267. package/theme/antd-global-overwrite/aplus/field.less +4 -0
  268. package/theme/antd-global-overwrite/aplus/index.css +11 -2
  269. package/theme/antd-global-overwrite/aplus/modal.css +7 -1
  270. package/theme/antd-global-overwrite/aplus/modal.less +9 -1
  271. package/theme/ap-action/item-dropdown.css +1 -1
  272. package/theme/ap-action/item.css +2 -2
  273. package/theme/ap-appendix/ap-appendix.css +2 -2
  274. package/theme/ap-attachment/ap-attachment.css +2 -2
  275. package/theme/ap-batch-action/ap-batch-action.css +1 -1
  276. package/theme/ap-button/ap-button.css +1 -1
  277. package/theme/ap-card/ap-card.css +1 -1
  278. package/theme/ap-copy/ap-copy.css +1 -1
  279. package/theme/ap-descriptions/ap-descriptions.css +1 -1
  280. package/theme/ap-download/ap-download.css +4 -4
  281. package/theme/ap-drawer/ap-drawer.css +5 -6
  282. package/theme/ap-drawer/ap-drawer.less +4 -7
  283. package/theme/ap-expand-alert/ap-expand-alert.css +2 -2
  284. package/theme/ap-field/checkbox.css +1 -1
  285. package/theme/ap-field/index.css +1 -1
  286. package/theme/ap-field/number.css +1 -1
  287. package/theme/ap-field/radio.css +1 -1
  288. package/theme/ap-field/text-area.css +1 -1
  289. package/theme/ap-form/ap-form-item-group.css +1 -1
  290. package/theme/ap-form/ap-form-item.css +4 -1
  291. package/theme/ap-form/ap-form-item.less +3 -0
  292. package/theme/ap-form/drawer-form.css +1 -1
  293. package/theme/ap-form/index.css +8 -5
  294. package/theme/ap-form/item-text-group.css +1 -1
  295. package/theme/ap-form/item-text.css +1 -1
  296. package/theme/ap-form/modal-form.css +1 -1
  297. package/theme/ap-form/search-form-sorter.css +5 -5
  298. package/theme/ap-form/search-form.css +8 -5
  299. package/theme/ap-grid/editable.css +1 -1
  300. package/theme/ap-grid/index.css +16 -11
  301. package/theme/ap-grid/index.less +2 -2
  302. package/theme/ap-group-search/ap-extension-select.css +1 -1
  303. package/theme/ap-group-search/ap-group-search.css +1 -1
  304. package/theme/ap-group-search/ap-popover-select.css +1 -1
  305. package/theme/ap-image/ap-image.css +1 -1
  306. package/theme/ap-input-radio/ap-input-radio.css +1 -1
  307. package/theme/ap-label/ap-label.css +1 -1
  308. package/theme/ap-ladder/ap-ladder.css +4 -4
  309. package/theme/ap-layout/ap-info-layout.css +1 -1
  310. package/theme/ap-list/index.css +1 -1
  311. package/theme/ap-product-info/ap-product-info.css +1 -1
  312. package/theme/ap-radio-group/ap-radio-group.css +2 -1
  313. package/theme/ap-radio-group/ap-radio-group.less +1 -0
  314. package/theme/ap-select-layout/ap-select-layout.css +3 -3
  315. package/theme/ap-size-input/ap-size-input.css +1 -1
  316. package/theme/ap-status/ap-status.css +1 -1
  317. package/theme/ap-summary/index.css +1 -1
  318. package/theme/ap-table/ap-table-index.css +1 -1
  319. package/theme/ap-table/ap-table-paragraph-ellipsis.css +1 -1
  320. package/theme/ap-table/ap-table.css +12 -9
  321. package/theme/ap-table/setting/index.css +3 -3
  322. package/theme/ap-table/setting/modal.css +2 -2
  323. package/theme/ap-table/setting/select-group.css +1 -1
  324. package/theme/ap-table/setting/sortable-item-meta.css +1 -1
  325. package/theme/ap-table/setting/sortable-item.css +1 -1
  326. package/theme/ap-table/setting/sorter.css +2 -2
  327. package/theme/ap-table-modal/index.css +12 -9
  328. package/theme/ap-tag/ap-tag-group.css +1 -1
  329. package/theme/ap-tag/ap-tag.css +4 -4
  330. package/theme/ap-title/ap-title.css +1 -1
  331. package/theme/ap-upload/index.css +2 -2
  332. package/theme/ap-upload/multiple-file.css +1 -1
  333. package/theme/ap-upload/picture.css +1 -1
  334. package/theme/ap-upload/single-file.css +2 -2
  335. package/theme/ap-upload/upload.css +1 -1
  336. package/theme/ap-upload-single/index.css +1 -1
  337. package/theme/ap-view/ap-view.css +1 -1
  338. package/theme/batch-input-group/index.css +1 -1
  339. package/theme/batch-input-group/popover-input.css +1 -1
  340. package/theme/check-card/index.css +4 -4
  341. package/theme/editable-table/index.css +9 -6
  342. package/theme/full-screen/index.css +1 -1
  343. package/theme/index.css +46 -39
  344. package/theme/mask/index.css +1 -1
  345. package/theme/mixins/config.less +3 -3
  346. package/theme/mixins/mixins.css +1 -1
  347. package/theme/scroll-bar/index.css +1 -1
  348. package/theme/scroll-view/index.css +1 -1
  349. package/theme/splitter/index.css +2 -2
  350. package/theme/text/group.css +1 -1
  351. package/theme/text/index.css +2 -2
  352. package/theme/ui-mode.css +2 -0
  353. package/theme/ui-mode.less +2 -0
  354. package/theme/work-order-modal/index.css +1 -1
  355. package/es/src/ap-drawer/ApDrawer.vue.d.ts +0 -29
  356. package/es/src/ap-drawer/ApDrawer.vue.mjs +0 -91
  357. package/es/src/ap-drawer/ApDrawer.vue2.mjs +0 -4
  358. package/es/src/ap-drawer/components/ApDrawerClose.vue.d.ts +0 -8
  359. package/es/src/ap-drawer/components/ApDrawerClose.vue.mjs +0 -25
  360. package/es/src/ap-drawer/components/ApDrawerClose.vue2.mjs +0 -4
  361. package/lib/src/ap-drawer/ApDrawer.vue.d.ts +0 -29
  362. package/lib/src/ap-drawer/ApDrawer.vue.js +0 -1
  363. package/lib/src/ap-drawer/ApDrawer.vue2.js +0 -1
  364. package/lib/src/ap-drawer/components/ApDrawerClose.vue.d.ts +0 -8
  365. package/lib/src/ap-drawer/components/ApDrawerClose.vue.js +0 -1
  366. package/lib/src/ap-drawer/components/ApDrawerClose.vue2.js +0 -1
@@ -3,57 +3,57 @@ import "../ap-field/index.mjs";
3
3
  import "../ap-form/index.mjs";
4
4
  import "./components/index/index.vue.mjs";
5
5
  import "./components/status/index.vue.mjs";
6
- import o from "../ap-form/items/tree-select/index.vue.mjs";
7
- import { ApFormItemText as m } from "../ap-form/items/text/index.mjs";
8
- import r from "../ap-form/items/checkbox/index.vue.mjs";
9
- import t from "../ap-form/items/text-area/index.vue.mjs";
10
- import i from "../ap-form/items/switch/index.vue.mjs";
6
+ import o from "../ap-form/items/date/index.vue.mjs";
7
+ import r from "../ap-form/items/date-range/index.vue.mjs";
8
+ import t from "../ap-form/items/number/index.vue.mjs";
9
+ import i from "../ap-form/items/radio/index.vue.mjs";
11
10
  import f from "../ap-form/items/select/index.vue.mjs";
12
- import a from "../ap-form/items/radio/index.vue.mjs";
13
- import e from "../ap-form/items/number/index.vue.mjs";
14
- import _ from "../ap-form/items/date-range/index.vue.mjs";
15
- import s from "../ap-form/items/date/index.vue.mjs";
16
- import c from "../ap-field/tree-select/index.vue.mjs";
17
- import p from "../ap-field/text/password.vue.mjs";
18
- import n from "./components/status/index.vue2.mjs";
19
- import $ from "./components/index/index.vue2.mjs";
20
- import d from "../ap-action/group/index.vue.mjs";
21
- import x from "../ap-field/checkbox/index.vue.mjs";
22
- import l from "../ap-field/text-area/index.vue.mjs";
23
- import { ApFieldText as b } from "../ap-field/text/index.mjs";
24
- import h from "../ap-field/switch/index.vue.mjs";
25
- import w from "../ap-field/select/index.vue.mjs";
26
- import A from "../ap-field/radio/index.vue.mjs";
27
- import u from "../ap-field/number/index.vue.mjs";
28
- import F from "../ap-field/date-range/index.vue.mjs";
29
- import I from "../ap-field/date/index.vue.mjs";
11
+ import a from "../ap-form/items/switch/index.vue.mjs";
12
+ import { ApFormItemText as m } from "../ap-form/items/text/index.mjs";
13
+ import e from "../ap-form/items/text-area/index.vue.mjs";
14
+ import _ from "../ap-form/items/checkbox/index.vue.mjs";
15
+ import s from "../ap-form/items/tree-select/index.vue.mjs";
16
+ import c from "../ap-field/date/index.vue.mjs";
17
+ import p from "../ap-field/date-range/index.vue.mjs";
18
+ import n from "../ap-field/number/index.vue.mjs";
19
+ import $ from "../ap-field/radio/index.vue.mjs";
20
+ import d from "../ap-field/select/index.vue.mjs";
21
+ import x from "../ap-field/switch/index.vue.mjs";
22
+ import { ApFieldText as l } from "../ap-field/text/index.mjs";
23
+ import b from "../ap-field/text-area/index.vue.mjs";
24
+ import h from "../ap-field/checkbox/index.vue.mjs";
25
+ import w from "../ap-action/group/index.vue.mjs";
26
+ import A from "./components/index/index.vue2.mjs";
27
+ import u from "./components/status/index.vue2.mjs";
28
+ import F from "../ap-field/text/password.vue.mjs";
29
+ import I from "../ap-field/tree-select/index.vue.mjs";
30
30
  const Z = {
31
- date: s,
32
- dateRange: _,
33
- number: e,
34
- radio: a,
31
+ date: o,
32
+ dateRange: r,
33
+ number: t,
34
+ radio: i,
35
35
  select: f,
36
- switch: i,
36
+ switch: a,
37
37
  text: m,
38
- textArea: t,
39
- checkbox: r,
38
+ textArea: e,
39
+ checkbox: _,
40
40
  password: m.Password,
41
- treeSelect: o
41
+ treeSelect: s
42
42
  }, mm = {
43
- date: I,
44
- dateRange: F,
45
- number: u,
46
- radio: A,
47
- select: w,
48
- switch: h,
49
- text: b,
50
- textArea: l,
51
- checkbox: x,
52
- action: d,
53
- index: $,
54
- status: n,
55
- password: p,
56
- treeSelect: c
43
+ date: c,
44
+ dateRange: p,
45
+ number: n,
46
+ radio: $,
47
+ select: d,
48
+ switch: x,
49
+ text: l,
50
+ textArea: b,
51
+ checkbox: h,
52
+ action: w,
53
+ index: A,
54
+ status: u,
55
+ password: F,
56
+ treeSelect: I
57
57
  }, om = [
58
58
  "action",
59
59
  "index"
@@ -4,18 +4,18 @@ export declare const useTableColumnState: (columnSetting: ApTableSettingType, pe
4
4
  columnState: Ref<{
5
5
  key: string | number;
6
6
  show?: boolean | undefined;
7
- fixed?: "left" | "right" | undefined;
7
+ fixed?: ("left" | "right") | undefined;
8
8
  disabled?: boolean | undefined;
9
9
  label?: any;
10
- children?: /*elided*/ any[] | undefined;
10
+ children?: any[] | undefined;
11
11
  order?: number | undefined;
12
12
  }[], ApColumnState[] | {
13
13
  key: string | number;
14
14
  show?: boolean | undefined;
15
- fixed?: "left" | "right" | undefined;
15
+ fixed?: ("left" | "right") | undefined;
16
16
  disabled?: boolean | undefined;
17
17
  label?: any;
18
- children?: /*elided*/ any[] | undefined;
18
+ children?: any[] | undefined;
19
19
  order?: number | undefined;
20
20
  }[]>;
21
21
  selectAll: () => void;
@@ -2,7 +2,7 @@ import { ref as P, shallowRef as W, unref as i, computed as X, watchEffect as q
2
2
  import { isDef as H } from "../../utils/index.mjs";
3
3
  import L, { customCloneColumnStates as T, getColumnStateString as Q } from "../components/setting/utils.mjs";
4
4
  import { useInjectApTable as U } from "../context.mjs";
5
- import { isObject as N, mergeWith as F, isBoolean as V, omit as Y, isString as Z, isNumber as B } from "lodash-unified";
5
+ import { isObject as N, mergeWith as F, isBoolean as V, isString as Y, omit as Z, isNumber as B } from "lodash-unified";
6
6
  import "../../config-provider/index.mjs";
7
7
  import { useToken as $ } from "@aplus-frontend/antdv/es/theme/internal";
8
8
  import { getTableTitle as K } from "../utils.mjs";
@@ -46,7 +46,7 @@ const he = (r, o, n) => {
46
46
  var y, A;
47
47
  const b = (m == null ? void 0 : m[f.key]) || {}, g = {
48
48
  key: f.key,
49
- label: Z(f.title) ? K(
49
+ label: Y(f.title) ? K(
50
50
  f,
51
51
  a("table-header", "title"),
52
52
  void 0,
@@ -60,7 +60,7 @@ const he = (r, o, n) => {
60
60
  G
61
61
  ),
62
62
  disabled: !1,
63
- ...Y(b, ["children", "fixed"])
63
+ ...Z(b, ["children", "fixed"])
64
64
  };
65
65
  return g.children = (A = f.children) != null && A.length ? d(
66
66
  f.children,
@@ -15,10 +15,10 @@ export type UseTablePagingParams<DataType, ParamsType> = {
15
15
  */
16
16
  manual?: boolean;
17
17
  /**
18
- * 额外的默认请求参数
18
+ * 额外的请求参数
19
19
  * @description 如果传入响应式数据,将会在数据改变后重新请求
20
20
  */
21
- defaultParams?: ParamsType | Ref<ParamsType>;
21
+ params?: ParamsType | Ref<ParamsType>;
22
22
  /**
23
23
  * 默认的数据源(只生效一次)
24
24
  */
@@ -76,7 +76,7 @@ type InternalDataType<DataType = Recordable> = {
76
76
  export declare const DEFAULT_CURRENT = 1;
77
77
  export declare const DEFAULT_PAGE_SIZE = 20;
78
78
  export type OptionalOnTableChange<T extends (...args: any[]) => any> = (...args: Partial<Parameters<T>>) => ReturnType<T>;
79
- export declare const useTablePaging: <DataType = any, ParamsType = Record<string, any>>({ manual, request, defaultParams, defaultData, formatParams, paramsValueTypeMap, resetFieldsIgnores, filterFields, sortFields, namespace, pagination, onClickReset, onAfterRequest }: UseTablePagingParams<DataType, ParamsType>) => {
79
+ export declare const useTablePaging: <DataType = any, ParamsType = Record<string, any>>({ manual, request, params, defaultData, formatParams, paramsValueTypeMap, resetFieldsIgnores, filterFields, sortFields, namespace, pagination, onClickReset, onAfterRequest }: UseTablePagingParams<DataType, ParamsType>) => {
80
80
  formRef: Ref<ApFormSearchFormExpose | undefined, ApFormSearchFormExpose | undefined>;
81
81
  submit: () => void;
82
82
  reset: () => void;
@@ -2,9 +2,9 @@ import { ref as le, reactive as M, unref as m, nextTick as fe, onMounted as ge,
2
2
  import { useTableSortedAndFiltered as pe } from "./use-sorted-filtered.mjs";
3
3
  import "../../config-provider/index.mjs";
4
4
  import { parseFieldValue as me, dataIndexToStr as Se, isEqualCustom as he } from "../utils.mjs";
5
- import { isArray as Q, isEqualWith as ze, isUndefined as Te } from "lodash-unified";
5
+ import { isArray as Q, isEqualWith as ze, isUndefined as Pe } from "lodash-unified";
6
6
  import { isDef as $ } from "../../utils/index.mjs";
7
- import { useLocale as Pe } from "../../config-provider/hooks/use-locale.mjs";
7
+ import { useLocale as Te } from "../../config-provider/hooks/use-locale.mjs";
8
8
  import { useNamespace as we } from "../../config-provider/hooks/use-namespace.mjs";
9
9
  const S = 1, I = 20, G = {
10
10
  defaultCurrent: S,
@@ -25,7 +25,7 @@ function be(c) {
25
25
  const Ie = ({
26
26
  manual: c = !1,
27
27
  request: f,
28
- defaultParams: V = {},
28
+ params: V = {},
29
29
  defaultData: j = [],
30
30
  formatParams: U,
31
31
  paramsValueTypeMap: _,
@@ -45,9 +45,9 @@ const Ie = ({
45
45
  sortedInfo: N,
46
46
  filteredInfo: B
47
47
  } = pe(), {
48
- t: T
49
- } = Pe(), {
50
- b: P
48
+ t: P
49
+ } = Te(), {
50
+ b: T
51
51
  } = we(H), o = M({
52
52
  total: j.length,
53
53
  records: j,
@@ -204,16 +204,16 @@ const Ie = ({
204
204
  showQuickJumper: $(n) ? n : !e,
205
205
  showLessItems: e,
206
206
  size: "default",
207
- pageSizeOptions: Te(a) ? ["10", "20", "50", "100"] : a,
207
+ pageSizeOptions: Pe(a) ? ["10", "20", "50", "100"] : a,
208
208
  showTotal: t ? (l) => C("span", {
209
- class: P("pagination-total-wrapper")
210
- }, [T("ap.apTable.pagination.totalLeftPrefix"), " ", C("span", {
211
- class: P("pagination-count-text")
212
- }, [l]), " ", T("ap.apTable.pagination.totalLeftSuffix"), C("span", {
213
- class: P("pagination--total-right")
214
- }, [T("ap.apTable.pagination.totalRightPrefix"), " ", C("span", {
215
- class: P("pagination-count-text")
216
- }, [m(oe)]), " ", T("ap.apTable.pagination.totalRightSuffix")])]) : void 0
209
+ class: T("pagination-total-wrapper")
210
+ }, [P("ap.apTable.pagination.totalLeftPrefix"), " ", C("span", {
211
+ class: T("pagination-count-text")
212
+ }, [l]), " ", P("ap.apTable.pagination.totalLeftSuffix"), C("span", {
213
+ class: T("pagination--total-right")
214
+ }, [P("ap.apTable.pagination.totalRightPrefix"), " ", C("span", {
215
+ class: T("pagination-count-text")
216
+ }, [m(oe)]), " ", P("ap.apTable.pagination.totalRightSuffix")])]) : void 0
217
217
  },
218
218
  onChange: L,
219
219
  dataSource: o.records
@@ -3,7 +3,7 @@ import { CompareFn, SortOrder, TableRowSelection } from '@aplus-frontend/antdv/e
3
3
  import { ApFormItemProps, ApFormSearchFormProps } from '../ap-form';
4
4
  import { ApFormItemCheckboxProps, ApFormItemDateProps, ApFormItemDateRangeProps, ApFormItemNumberProps, ApFormItemRadioProps, ApFormItemSelectProps, ApFormItemSwitchProps, ApFormItemTextAreaProps, ApFormItemTextPasswordProps, ApFormItemTextProps, ApFormItemTreeSelectProps } from '../ap-form/items/interface';
5
5
  import { Recordable } from '../type';
6
- import { ComputedRef, CSSProperties, Ref, VNode } from 'vue';
6
+ import { ComputedRef, CSSProperties, VNode } from 'vue';
7
7
  import { ApActionGroupProps } from '../ap-action';
8
8
  import { ApTableIndexProps } from './components/interface';
9
9
  import { EllipsisConfig } from '@aplus-frontend/antdv/es/typography/Base';
@@ -260,9 +260,9 @@ export type ApTableProps<RecordType = any, ParamsType = any> = Omit<TableProps<R
260
260
  card?: boolean;
261
261
  /**
262
262
  * request额外请求的参数
263
- * 如果传入响应式数据,将会在变更后重新执行
263
+ * 数据变化后将会重新执行网络请求
264
264
  */
265
- params?: ParamsType | Ref<ParamsType>;
265
+ params?: ParamsType;
266
266
  /**
267
267
  * 自定义渲染搜索表单
268
268
  * @deprecated 未实现 暂不可用
@@ -19,7 +19,7 @@ import { VueNode, CustomSlotsType } from '@aplus-frontend/antdv/es/_util/type';
19
19
  import { ValueType } from '@aplus-frontend/antdv/es/input-number/src/utils/MiniDecimal';
20
20
  import { RadioGroupChildOption } from '@aplus-frontend/antdv/es/radio/Group';
21
21
  import { RadioGroupButtonStyle, RadioGroupOptionType } from '@aplus-frontend/antdv/es/radio/interface';
22
- import { RadioChangeEvent, TreeSelectProps } from '@aplus-frontend/antdv';
22
+ import { RadioChangeEvent, SelectProps, TreeSelectProps } from '@aplus-frontend/antdv';
23
23
  import { SelectValue, DefaultOptionType, LabeledValue, BaseOptionType } from '@aplus-frontend/antdv/es/select';
24
24
  import { SelectHandler, FieldNames, FilterFunc } from '@aplus-frontend/antdv/es/vc-select/Select';
25
25
  import { RenderDOMFunc, DropdownRender, CustomTagProps, DisplayValueType } from '@aplus-frontend/antdv/es/vc-select/BaseSelect';
@@ -1783,14 +1783,14 @@ export declare function getSearchFormItemRenderNode(item: any, extraRenderMap?:
1783
1783
  readonly onClickOption?: ((e: MouseEvent, value: SelectValue, selected: boolean) => boolean | Promise<boolean>) | undefined;
1784
1784
  readonly labelInValue?: boolean | undefined;
1785
1785
  readonly emptyText?: string | undefined;
1786
- readonly request?: ((value?: string, extraParams?: Recordable) => Promise< DefaultOptionType[] | undefined>) | undefined;
1786
+ readonly request?: ((value?: string, extraParams?: Recordable) => Promise< SelectProps["options"]>) | undefined;
1787
1787
  readonly multiple?: boolean | undefined;
1788
- readonly value?: SelectValue;
1788
+ readonly value?: SelectProps["value"];
1789
1789
  readonly 'onUpdate:value'?: (((val: SelectValue) => void) & ((...args: any[]) => any)) | undefined;
1790
- readonly searchMode?: "filter" | "request" | undefined;
1790
+ readonly searchMode?: ("filter" | "request") | undefined;
1791
1791
  readonly refetchOnFocus?: boolean | undefined;
1792
1792
  readonly lazy?: boolean | undefined;
1793
- readonly addAll?: boolean | number | undefined;
1793
+ readonly addAll?: (boolean | number) | undefined;
1794
1794
  readonly params?: Recordable | undefined;
1795
1795
  readonly searchDelay?: number | undefined;
1796
1796
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
@@ -1,4 +1,4 @@
1
- import { defineComponent as D, ref as b, computed as n, unref as f, watch as N, nextTick as S, onMounted as j, onUnmounted as G, createBlock as d, openBlock as u, mergeProps as k, withCtx as g, createElementVNode as o, normalizeStyle as W, normalizeClass as _, createElementBlock as T, createCommentVNode as R, Fragment as A, renderList as F, toDisplayString as E, renderSlot as I, createTextVNode as U } from "vue";
1
+ import { defineComponent as D, ref as b, computed as n, unref as f, watch as N, nextTick as S, onMounted as j, onUnmounted as G, openBlock as u, createBlock as d, mergeProps as k, withCtx as g, renderSlot as R, createTextVNode as A, toDisplayString as W, createElementVNode as o, normalizeClass as _, normalizeStyle as T, createElementBlock as E, Fragment as F, renderList as I, createCommentVNode as U } from "vue";
2
2
  import { Tooltip as q } from "@aplus-frontend/antdv";
3
3
  import H from "@ant-design/icons-vue";
4
4
  import "./ap-tag.vue2.mjs";
@@ -79,8 +79,8 @@ const ce = /* @__PURE__ */ D({
79
79
  window.removeEventListener("resize", w);
80
80
  }), (e, t) => (u(), d(f(q), k({ trigger: "hover" }, B.value), {
81
81
  title: g(() => [
82
- I(e.$slots, "tooltip", { tags: e.list }, () => [
83
- U(E(L.value), 1)
82
+ R(e.$slots, "tooltip", { tags: e.list }, () => [
83
+ A(W(L.value), 1)
84
84
  ])
85
85
  ]),
86
86
  default: g(() => [
@@ -88,12 +88,12 @@ const ce = /* @__PURE__ */ D({
88
88
  ref_key: "container",
89
89
  ref: c,
90
90
  class: _(M.value),
91
- style: W({
91
+ style: T({
92
92
  pointerEvents: p.value ? "auto" : "none"
93
93
  // opacity: isUpdating ? '0' : '1'
94
94
  })
95
95
  }, [
96
- (u(!0), T(A, null, F(e.list, (s, l) => (u(), d(X, k({ ref_for: !0 }, s, {
96
+ (u(!0), E(F, null, I(e.list, (s, l) => (u(), d(X, k({ ref_for: !0 }, s, {
97
97
  key: l,
98
98
  style: {
99
99
  display: l >= m.value ? "none" : "inline-block",
@@ -102,7 +102,7 @@ const ce = /* @__PURE__ */ D({
102
102
  }), null, 16, ["style"]))), 128)),
103
103
  p.value && r.value.symbol === "icon" ? (u(), d(f(H), {
104
104
  key: 0,
105
- style: W({
105
+ style: T({
106
106
  color: e.ellipsisColor || r.value.iconColor,
107
107
  cursor: "pointer"
108
108
  })
@@ -163,11 +163,11 @@ const ce = /* @__PURE__ */ D({
163
163
  ], -1)
164
164
  ])),
165
165
  _: 1
166
- }, 8, ["style"])) : p.value && r.value.symbol === "text" ? (u(), T("span", {
166
+ }, 8, ["style"])) : p.value && r.value.symbol === "text" ? (u(), E("span", {
167
167
  key: 1,
168
168
  class: _(P.value),
169
169
  style: { cursor: "pointer" }
170
- }, E(r.value.text), 3)) : R("", !0)
170
+ }, W(r.value.text), 3)) : U("", !0)
171
171
  ], 6)
172
172
  ]),
173
173
  _: 3
@@ -1,4 +1,4 @@
1
- import { defineComponent as $, computed as n, createElementBlock as S, openBlock as b, normalizeClass as i, normalizeStyle as w, createVNode as z, unref as B } from "vue";
1
+ import { defineComponent as $, computed as n, openBlock as S, createElementBlock as b, normalizeStyle as w, normalizeClass as i, createVNode as z, unref as B } from "vue";
2
2
  import "../config-provider/index.mjs";
3
3
  import { TypographyText as v } from "@aplus-frontend/antdv";
4
4
  import { useGlobalConfig as I } from "../config-provider/hooks/use-global-config.mjs";
@@ -32,7 +32,7 @@ const A = /* @__PURE__ */ $({
32
32
  const t = [r("inner-wrapper"), a("inner-wrapper", e.size)];
33
33
  return e.disabled && (l.value === "aplus" ? t.push(a("inner-wrapper", "disabled")) : t.push(a("inner-wrapper", "disabled-admin"))), t;
34
34
  });
35
- return (t, s) => (b(), S("span", {
35
+ return (t, s) => (S(), b("span", {
36
36
  style: w(c.value),
37
37
  class: i(u.value)
38
38
  }, [
@@ -1,4 +1,4 @@
1
- import { defineComponent as A, ref as g, computed as v, provide as t, createElementBlock as R, openBlock as y, normalizeClass as U, unref as $, createBlock as k, resolveDynamicComponent as T, mergeProps as B, createSlots as L, renderList as q, withCtx as P, renderSlot as V, normalizeProps as w, guardReactiveProps as D } from "vue";
1
+ import { defineComponent as A, ref as g, computed as v, provide as t, openBlock as y, createElementBlock as R, normalizeClass as U, unref as $, createBlock as k, resolveDynamicComponent as T, mergeProps as B, createSlots as L, renderList as q, withCtx as P, renderSlot as V, normalizeProps as w, guardReactiveProps as D } from "vue";
2
2
  import "../config-provider/index.mjs";
3
3
  import "./components/SingleFile.vue.mjs";
4
4
  import "./components/MultipleFile.vue.mjs";
@@ -8,9 +8,9 @@ import { injectLocaleToOss as I } from "./hooks/useOss.mjs";
8
8
  import { Form as H } from "@aplus-frontend/antdv";
9
9
  import { useLocale as J } from "../config-provider/hooks/use-locale.mjs";
10
10
  import { useNamespace as K } from "../config-provider/hooks/use-namespace.mjs";
11
- import Q from "./components/Picture.vue2.mjs";
11
+ import Q from "./components/SingleFile.vue2.mjs";
12
12
  import W from "./components/MultipleFile.vue2.mjs";
13
- import X from "./components/SingleFile.vue2.mjs";
13
+ import X from "./components/Picture.vue2.mjs";
14
14
  import { useGlobalConfig as C } from "../config-provider/hooks/use-global-config.mjs";
15
15
  const pe = /* @__PURE__ */ A({
16
16
  name: "AplusFileUpload",
@@ -91,9 +91,9 @@ const pe = /* @__PURE__ */ A({
91
91
  const { t: u, lang: F } = J();
92
92
  G(u), I(u, F);
93
93
  const { b: M } = K("ap-upload"), n = g(null), e = S, N = x, _ = {
94
- singleFile: X,
94
+ singleFile: Q,
95
95
  multipleFile: W,
96
- picture: Q
96
+ picture: X
97
97
  }, s = H.useInjectFormItemContext(), E = v({
98
98
  get() {
99
99
  return e.value;
@@ -1,6 +1,6 @@
1
1
  import { UploadFile, UploadChangeParam } from '@aplus-frontend/antdv';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, GlobalComponents, GlobalDirectives } from 'vue';
3
- import { UploadType, UploadFile, FileType, HttpRequestHeader, ShowUploadListInterface, UploadListType, UploadLocale, UploadListProgressProps, ItemRender } from '@aplus-frontend/antdv/es/upload/interface';
3
+ import { UploadType, UploadFile, FileType, HttpRequestHeader, ShowUploadListInterface, UploadChangeParam, UploadListType, UploadLocale, UploadListProgressProps, ItemRender } from '@aplus-frontend/antdv/es/upload/interface';
4
4
  import { UploadRequestOption } from '@aplus-frontend/antdv/es/vc-upload/interface';
5
5
  import { VueNode } from '@aplus-frontend/antdv/es/_util/type';
6
6
  declare function setValue(val: (string | Record<string, any>)[]): void;
@@ -1,4 +1,4 @@
1
- import { defineComponent as G, inject as s, ref as H, watch as J, nextTick as K, createElementBlock as C, openBlock as h, normalizeClass as Q, unref as n, createVNode as U, withCtx as b, createElementVNode as S, createTextVNode as X, toDisplayString as L, withModifiers as Y, createCommentVNode as Z, createBlock as ee, resolveDynamicComponent as te } from "vue";
1
+ import { defineComponent as G, inject as s, ref as H, watch as J, nextTick as K, openBlock as h, createElementBlock as C, normalizeClass as Q, unref as n, createVNode as U, withCtx as b, createElementVNode as S, createTextVNode as X, toDisplayString as L, withModifiers as Y, createBlock as Z, resolveDynamicComponent as ee, createCommentVNode as te } from "vue";
2
2
  import "../../config-provider/index.mjs";
3
3
  import { getPath as oe, getName as se, getReturnData as M } from "../utils/returnData.mjs";
4
4
  import { useOss as ae, getOssInstance as ne } from "../hooks/useOss.mjs";
@@ -201,8 +201,8 @@ const de = { class: "multiple-file-context" }, fe = { key: 0 }, ge = { key: 1 },
201
201
  }, ["stop"]))
202
202
  }, [
203
203
  typeof n(f) == "string" ? (h(), C("div", fe, L(n(f) || `${n(r)("ap.apUpload.supportExtension")}:${n(ce)(n(y))}`), 1)) : n(f) ? (h(), C("div", ge, [
204
- (h(), ee(te(n(f))))
205
- ])) : Z("", !0)
204
+ (h(), Z(ee(n(f))))
205
+ ])) : te("", !0)
206
206
  ])
207
207
  ])
208
208
  ]),
@@ -1,5 +1,4 @@
1
1
  import { Oss } from '../hooks/useOss';
2
- import { actionResponse } from '@aplus-frontend/oss';
3
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
4
3
  declare function setValue(val?: (string | Record<string, any>)[]): void;
5
4
  interface UploadFile extends File {
@@ -18,7 +17,13 @@ declare function __VLS_template(): {
18
17
  pictureContext?(_: {
19
18
  fileList: {
20
19
  oss: {
21
- pauseUpload: (() => Promise< actionResponse>) | undefined;
20
+ pauseUpload: (() => Promise<{
21
+ status: number;
22
+ previewUrl?: string;
23
+ saveUrl?: string;
24
+ originalFileName?: string;
25
+ message: string;
26
+ }>) | undefined;
22
27
  };
23
28
  }[];
24
29
  remove: typeof handleRemove;
@@ -1,4 +1,4 @@
1
- import { defineComponent as Y, inject as c, ref as $, watch as Z, nextTick as F, createElementBlock as g, openBlock as h, normalizeClass as ee, unref as i, createElementVNode as d, renderSlot as te, createCommentVNode as I, Fragment as ne, renderList as ae, withDirectives as se, createVNode as k, vShow as oe, toDisplayString as C } from "vue";
1
+ import { defineComponent as Y, inject as c, ref as $, watch as Z, nextTick as F, openBlock as g, createElementBlock as h, normalizeClass as ee, unref as i, createElementVNode as d, renderSlot as te, Fragment as ne, renderList as ae, withDirectives as se, createVNode as k, createCommentVNode as I, vShow as oe, toDisplayString as C } from "vue";
2
2
  import "../../config-provider/index.mjs";
3
3
  import { getPath as ie, getName as re, getReturnData as M } from "../utils/returnData.mjs";
4
4
  import { CloseOutlined as ce, PlusOutlined as ue } from "@ant-design/icons-vue";
@@ -191,7 +191,7 @@ const ve = ["accept"], xe = { class: "picture-context" }, ye = { class: "picture
191
191
  );
192
192
  return o.value.splice(a, 1), Promise.resolve(!0);
193
193
  }
194
- return (e, a) => (h(), g("div", {
194
+ return (e, a) => (g(), h("div", {
195
195
  class: ee({
196
196
  [i(S)()]: !0,
197
197
  [i(S)("admin")]: i(B) === "admin"
@@ -218,7 +218,7 @@ const ve = ["accept"], xe = { class: "picture-context" }, ye = { class: "picture
218
218
  }),
219
219
  remove: R
220
220
  }, () => [
221
- (h(!0), g(ne, null, ae(i(o), (t) => (h(), g("div", {
221
+ (g(!0), h(ne, null, ae(i(o), (t) => (g(), h("div", {
222
222
  key: t.uid,
223
223
  class: "picture-item"
224
224
  }, [
@@ -234,7 +234,7 @@ const ve = ["accept"], xe = { class: "picture-context" }, ye = { class: "picture
234
234
  }, [
235
235
  k(i(ce))
236
236
  ], 8, Ue),
237
- t.status === "uploading" ? (h(), g("div", ke, [
237
+ t.status === "uploading" ? (g(), h("div", ke, [
238
238
  k(i(me), {
239
239
  percent: t.percent,
240
240
  "stroke-color": "#ffffff",
@@ -249,7 +249,7 @@ const ve = ["accept"], xe = { class: "picture-context" }, ye = { class: "picture
249
249
  ])
250
250
  ]))), 128))
251
251
  ]),
252
- i(p) === void 0 || i(o).length < i(p) ? (h(), g("div", {
252
+ i(p) === void 0 || i(o).length < i(p) ? (g(), h("div", {
253
253
  key: 0,
254
254
  class: "picture-upload",
255
255
  onClick: G
@@ -259,7 +259,7 @@ const ve = ["accept"], xe = { class: "picture-context" }, ye = { class: "picture
259
259
  ])) : I("", !0)
260
260
  ]),
261
261
  d("div", Ce, [
262
- i(E) ? (h(), g("div", Se, C(i(E)), 1)) : (h(), g("div", Ee, C(`${i(l)("ap.apUpload.supportExtension")}:${i(de)(i(w))},${i(l)(
262
+ i(E) ? (g(), h("div", Se, C(i(E)), 1)) : (g(), h("div", Ee, C(`${i(l)("ap.apUpload.supportExtension")}:${i(de)(i(w))},${i(l)(
263
263
  "ap.apUpload.maxUploadPictureSize",
264
264
  { maxSize: i(U) }
265
265
  )}`), 1))
@@ -1,4 +1,4 @@
1
- import { defineComponent as oe, inject as o, ref as _, watch as le, computed as se, createElementBlock as z, openBlock as k, normalizeClass as re, unref as a, createElementVNode as i, createCommentVNode as A, toDisplayString as b, normalizeStyle as ie, createBlock as ce, withModifiers as ue, createVNode as pe } from "vue";
1
+ import { defineComponent as oe, inject as o, ref as _, watch as le, computed as se, openBlock as k, createElementBlock as z, normalizeClass as re, unref as a, createElementVNode as i, toDisplayString as A, createCommentVNode as b, normalizeStyle as ie, createBlock as ce, withModifiers as ue, createVNode as pe } from "vue";
2
2
  import "../../config-provider/index.mjs";
3
3
  import { getName as ve, getReturnData as I } from "../utils/returnData.mjs";
4
4
  import { useOss as de, useOssInit as fe } from "../hooks/useOss.mjs";
@@ -184,13 +184,13 @@ const we = ["accept"], De = {
184
184
  class: "state-un-icon",
185
185
  src: a(j)
186
186
  }, null, 8, Ue),
187
- i("div", Fe, b(a(J)), 1),
188
- i("div", Ce, b(typeof a(F) == "string" && a(F).length > 0 ? a(F) : `${a(r)("ap.apUpload.supportExtension")}:${a(ge)(
187
+ i("div", Fe, A(a(J)), 1),
188
+ i("div", Ce, A(typeof a(F) == "string" && a(F).length > 0 ? a(F) : `${a(r)("ap.apUpload.supportExtension")}:${a(ge)(
189
189
  a(D)
190
190
  )},${a(r)("ap.apUpload.maxWarnUploadFileSize", {
191
191
  maxSize: a(U)
192
192
  })}`), 1)
193
- ])) : A("", !0),
193
+ ])) : b("", !0),
194
194
  [2, 3].includes(s.value) ? (k(), z("div", Ee, [
195
195
  i("div", Se, [
196
196
  i("img", { src: a(j) }, null, 8, Ne)
@@ -201,9 +201,9 @@ const we = ["accept"], De = {
201
201
  style: ie({
202
202
  color: P.value ? "#0070FF" : "#182948"
203
203
  })
204
- }, b((c = n.value) == null ? void 0 : c.name), 5),
204
+ }, A((c = n.value) == null ? void 0 : c.name), 5),
205
205
  i("div", ze, [
206
- P.value ? A("", !0) : (k(), ce(a(he), {
206
+ P.value ? b("", !0) : (k(), ce(a(he), {
207
207
  key: 0,
208
208
  percent: m.value,
209
209
  size: 4,
@@ -219,7 +219,7 @@ const we = ["accept"], De = {
219
219
  }, [
220
220
  pe(a(_e))
221
221
  ])
222
- ])) : A("", !0)
222
+ ])) : b("", !0)
223
223
  ], 34);
224
224
  };
225
225
  }
@@ -1,4 +1,4 @@
1
- import { defineComponent as T, computed as d, ref as V, createElementBlock as u, openBlock as s, mergeProps as S, unref as t, renderSlot as p, createVNode as g, withCtx as v, createElementVNode as c, normalizeClass as n, createBlock as C, createCommentVNode as h, Fragment as j, renderList as D, createSlots as E, createTextVNode as U, toDisplayString as z } from "vue";
1
+ import { defineComponent as T, computed as d, ref as V, openBlock as s, createElementBlock as u, mergeProps as S, unref as t, renderSlot as p, createVNode as g, withCtx as v, createElementVNode as c, normalizeClass as n, createBlock as C, createCommentVNode as h, Fragment as j, renderList as D, createSlots as E, createTextVNode as U, toDisplayString as z } from "vue";
2
2
  import G from "./icons/file-icon.vue.mjs";
3
3
  import { Tooltip as P, TypographyText as q } from "@aplus-frontend/antdv";
4
4
  import { IconVariantDownload as H } from "@aplus-frontend/icon";
@@ -1,4 +1,4 @@
1
- import { createElementBlock as t, openBlock as e, createStaticVNode as r } from "vue";
1
+ import { openBlock as t, createElementBlock as e, createStaticVNode as r } from "vue";
2
2
  import l from "../../../../_virtual/_plugin-vue_export-helper.mjs";
3
3
  const i = {}, o = {
4
4
  xmlns: "http://www.w3.org/2000/svg",
@@ -8,7 +8,7 @@ const i = {}, o = {
8
8
  viewBox: "0 0 16 16"
9
9
  };
10
10
  function c(n, Q) {
11
- return e(), t("svg", o, Q[0] || (Q[0] = [
11
+ return t(), e("svg", o, Q[0] || (Q[0] = [
12
12
  r('<defs><clipPath id="master_svg0_183_82058/183_76208"><rect x="0" y="0" width="16" height="16" rx="0"></rect></clipPath></defs><g clip-path="url(#master_svg0_183_82058/183_76208)"><g><rect x="0" y="0" width="16" height="16" rx="0" fill="#FFFFFF" fill-opacity="0.009999999776482582" style="mix-blend-mode:passthrough;"></rect></g><g><path d="M6.4678965625,11.32002357421875L11.4176265625,6.37025357421875Q11.4879565625,6.29993357421875,11.5260165625,6.20804357421875Q11.5640765625,6.11616357421875,11.5640765625,6.0167035742187505Q11.5640765625,5.967463574218749,11.5544665625,5.91916357421875Q11.5448565625,5.87086357421875,11.5260165625,5.82536357421875Q11.5071665625,5.77986357421875,11.4798065625,5.7389235742187505Q11.4524465625,5.69797357421875,11.4176265625,5.66315357421875Q11.3828065625,5.62833357421875,11.3418565625,5.6009735742187505Q11.3009165625,5.57361357421875,11.2554165625,5.55476357421875Q11.2099165625,5.535923574218749,11.1616165625,5.52631357421875Q11.1133165625,5.5167035742187505,11.0640765625,5.5167035742187505Q10.9646165625,5.5167035742187505,10.8727365625,5.55476357421875Q10.7808465625,5.59282357421875,10.7105265625,5.66315357421875L10.7102665625,5.66341357421875L5.7607865625,10.612923574218751Q5.4072265625,10.96648357421875,5.0536665625,10.612923574218751Q4.7001265624999995,10.25935357421875,5.0536765625,9.905773574218749L10.9462265625,4.01326057421875Q11.3855665625,3.57391357421875,12.0068765625,3.57391357421875Q12.6282265625,3.57391357421875,13.0675265625,4.01326157421875Q13.5069265625,4.45258357421875,13.5069265625,5.07391357421875Q13.5069265625,5.69523357421875,13.0675265625,6.13459357421875L7.1749865625,12.02712357421875Q6.4427665625,12.75934357421875,5.4072265625,12.75934357421875Q4.3716865625,12.75934357421875,3.6394565625,12.02712357421875Q2.9072265625,11.29489357421875,2.9072265625,10.25935357421875Q2.9072265625,9.22382357421875,3.6394565625,8.49159357421875L8.5891965625,3.5418455742187502Q8.6595265625,3.47151957421875,8.6975865625,3.37963357421875Q8.735646562500001,3.28774857421875,8.735646562500001,3.18829257421875Q8.735646562500001,3.13904677421875,8.7260365625,3.09074737421875Q8.7164265625,3.04244787421875,8.6975865625,2.99695077421875Q8.6787365625,2.95145357421875,8.651376562500001,2.91050757421875Q8.6240165625,2.86956157421875,8.5891965625,2.83473957421875Q8.5543765625,2.79991757421875,8.513426562500001,2.77255757421875Q8.472476562499999,2.74519857421875,8.4269865625,2.72635257421875Q8.381486562500001,2.70750757421875,8.3331865625,2.69789957421875Q8.284886562499999,2.68829257421875,8.235646562500001,2.68829257421875Q8.1361865625,2.68829257421875,8.0442965625,2.72635257421875Q7.9524165625,2.76441257421875,7.8820865625,2.83473957421875L7.8816965625,2.83512857421875L2.9323545625,7.78448357421875Q1.9072265625,8.80960357421875,1.9072265625,10.25935357421875Q1.9072265625,11.70910357421875,2.9323525625,12.73422357421875Q3.9574765625,13.75931357421875,5.4072265625,13.75931357421875Q6.8569765625,13.75931357421875,7.8820965625,12.73422357421875L13.7746265625,6.8416835742187505Q14.5069265625,6.10944357421875,14.5069265625,5.07391357421875Q14.5069265625,4.03837257421875,13.7746265625,3.30615057421875Q13.0424265625,2.57391357421875,12.0068765625,2.57391357421875Q10.9713365625,2.57391357421875,10.239126562500001,3.30615157421875L4.3465365625,9.19870357421875Q3.9072365625,9.638043574218749,3.9072365625,10.25935357421875Q3.9072365625,10.880663574218751,4.3465565625,11.32002357421875Q4.7859065625,11.75937357421875,5.4072265625,11.75937357421875Q6.0285465625,11.75937357421875,6.4678965625,11.32002357421875Z" fill-rule="evenodd" fill="currentColor" fill-opacity="1"></path></g></g>', 2)
13
13
  ]));
14
14
  }
@@ -1,4 +1,4 @@
1
- import { defineComponent as b, useSlots as x, computed as D, ref as N, watch as V, createElementBlock as E, openBlock as K, normalizeClass as f, unref as t, withDirectives as T, createElementVNode as c, renderSlot as m, vShow as z, createTextVNode as v, toDisplayString as a, createVNode as F, withCtx as O } from "vue";
1
+ import { defineComponent as b, useSlots as x, computed as D, ref as N, watch as V, openBlock as E, createElementBlock as K, normalizeClass as f, unref as t, withDirectives as T, createElementVNode as c, renderSlot as m, vShow as z, createTextVNode as v, toDisplayString as a, createVNode as F, withCtx as O } from "vue";
2
2
  import { Button as j } from "@aplus-frontend/antdv";
3
3
  import "../../config-provider/index.mjs";
4
4
  import { useNamespace as q } from "../../config-provider/hooks/use-namespace.mjs";
@@ -29,7 +29,7 @@ const I = { class: "selected-desc" }, J = { class: "selected-desc-conut" }, M =
29
29
  {
30
30
  immediate: !0
31
31
  }
32
- ), (e, l) => (K(), E("div", {
32
+ ), (e, l) => (E(), K("div", {
33
33
  class: f([t(n)()])
34
34
  }, [
35
35
  T(c("div", {