@aplus-frontend/ui 6.17.2 → 6.19.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 (324) hide show
  1. package/es/src/ap-action/group/index.vue.mjs +3 -3
  2. package/es/src/ap-action/item/index.vue2.mjs +5 -5
  3. package/es/src/ap-action/item-dropdown/index.vue.mjs +7 -7
  4. package/es/src/ap-action/item-modal/index.vue.mjs +2 -2
  5. package/es/src/ap-action/item-popconfirm/index.vue.d.ts +31 -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 +11 -7
  8. package/es/src/ap-button/ap-button.vue.mjs +24 -20
  9. package/es/src/ap-button/ap-confirm-button.vue.mjs +15 -11
  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 +21 -18
  13. package/es/src/ap-drawer/components/ApDrawerClose.vue2.mjs +2 -2
  14. package/es/src/ap-field/checkbox/index.vue.mjs +1 -1
  15. package/es/src/ap-field/date/index.vue.mjs +4 -4
  16. package/es/src/ap-field/date-range/index.vue.mjs +8 -8
  17. package/es/src/ap-field/index.mjs +36 -36
  18. package/es/src/ap-field/number/index.vue.d.ts +29 -29
  19. package/es/src/ap-field/number/index.vue.mjs +8 -8
  20. package/es/src/ap-field/radio/index.vue.mjs +1 -1
  21. package/es/src/ap-field/rate/index.vue.d.ts +4 -4
  22. package/es/src/ap-field/rate/index.vue.mjs +2 -2
  23. package/es/src/ap-field/segmented/index.vue.mjs +17 -12
  24. package/es/src/ap-field/select/index.vue.d.ts +97 -97
  25. package/es/src/ap-field/select/index.vue.mjs +10 -10
  26. package/es/src/ap-field/select/use-select-options.d.ts +2 -2
  27. package/es/src/ap-field/slider/index.vue.d.ts +8 -8
  28. package/es/src/ap-field/slider/index.vue.mjs +4 -4
  29. package/es/src/ap-field/switch/index.vue.mjs +3 -3
  30. package/es/src/ap-field/text/index.vue2.mjs +2 -2
  31. package/es/src/ap-field/text/password.vue.mjs +2 -2
  32. package/es/src/ap-field/text-area/index.vue.d.ts +54 -54
  33. package/es/src/ap-field/text-area/index.vue.mjs +12 -12
  34. package/es/src/ap-field/tree-select/index.vue.d.ts +93 -93
  35. package/es/src/ap-field/tree-select/index.vue.mjs +19 -19
  36. package/es/src/ap-field/tree-select/use-request.d.ts +4 -4
  37. package/es/src/ap-form/ap-form.vue.d.ts +14 -15
  38. package/es/src/ap-form/ap-form.vue2.mjs +2 -2
  39. package/es/src/ap-form/drawer-form/index.vue.d.ts +18 -19
  40. package/es/src/ap-form/drawer-form/index.vue.mjs +9 -9
  41. package/es/src/ap-form/item/index.vue.mjs +7 -7
  42. package/es/src/ap-form/item-group/index.vue.mjs +1 -1
  43. package/es/src/ap-form/items/checkbox/index.vue.mjs +2 -2
  44. package/es/src/ap-form/items/date/index.vue.mjs +2 -2
  45. package/es/src/ap-form/items/date-range/index.vue.mjs +2 -2
  46. package/es/src/ap-form/items/number/index.vue.d.ts +31 -31
  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 +105 -105
  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.vue.d.ts +3 -3
  54. package/es/src/ap-form/items/text/index.vue2.mjs +2 -2
  55. package/es/src/ap-form/items/text/password.vue.d.ts +3 -3
  56. package/es/src/ap-form/items/text/password.vue.mjs +2 -2
  57. package/es/src/ap-form/items/text-area/index.vue.d.ts +106 -106
  58. package/es/src/ap-form/items/text-area/index.vue.mjs +2 -2
  59. package/es/src/ap-form/items/tree-select/index.vue.d.ts +95 -95
  60. package/es/src/ap-form/items/tree-select/index.vue.mjs +2 -2
  61. package/es/src/ap-form/modal-form/index.vue.d.ts +48 -20
  62. package/es/src/ap-form/modal-form/index.vue.mjs +7 -7
  63. package/es/src/ap-form/render/item.vue.mjs +2 -2
  64. package/es/src/ap-form/search-form/components/popover-filter.vue.d.ts +29 -10
  65. package/es/src/ap-form/search-form/components/popover-filter.vue2.mjs +10 -10
  66. package/es/src/ap-form/search-form/components/popover-sorter/index.vue2.mjs +23 -23
  67. package/es/src/ap-form/search-form/components/popover-sorter/sortable-item.vue2.mjs +2 -2
  68. package/es/src/ap-form/search-form/index.vue.d.ts +18 -19
  69. package/es/src/ap-form/search-form/index.vue.mjs +1 -1
  70. package/es/src/ap-form/set/index.vue.mjs +1 -1
  71. package/es/src/ap-grid/editable/form-item.vue.d.ts +2 -4
  72. package/es/src/ap-grid/editable/form-item.vue.mjs +2 -2
  73. package/es/src/ap-grid/editable/index.vue.d.ts +2 -4
  74. package/es/src/ap-grid/editable/index.vue.mjs +2 -2
  75. package/es/src/ap-grid/index.vue.d.ts +2 -4
  76. package/es/src/ap-grid/index.vue.mjs +26 -19
  77. package/es/src/ap-grid/utils/table.d.ts +1 -1
  78. package/es/src/ap-grid/utils/table.mjs +31 -31
  79. package/es/src/ap-list/index.vue.d.ts +2 -4
  80. package/es/src/ap-list/index.vue.mjs +1 -1
  81. package/es/src/ap-modal/utils/confirm.d.ts +1 -1
  82. package/es/src/ap-table/ap-table.vue.d.ts +2 -4
  83. package/es/src/ap-table/ap-table.vue2.mjs +13 -13
  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 +331 -331
  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-tag/ap-tag-group.vue.mjs +73 -78
  98. package/es/src/ap-tag/ap-tag.vue.d.ts +1 -0
  99. package/es/src/ap-tag/ap-tag.vue.mjs +45 -30
  100. package/es/src/ap-tag/interface.d.ts +6 -0
  101. package/es/src/ap-tag/utils.d.ts +1 -0
  102. package/es/src/ap-tag/utils.mjs +12 -0
  103. package/es/src/ap-upload/apUpload.vue.mjs +5 -5
  104. package/es/src/ap-upload/components/MultipleFile.vue.d.ts +3 -3
  105. package/es/src/ap-upload/components/MultipleFile.vue2.mjs +3 -3
  106. package/es/src/ap-upload/components/Picture.vue.d.ts +2 -7
  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 +6 -6
  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 +33 -11
  115. package/es/src/business/ap-button-group/ApButtonGroup.vue2.mjs +1 -1
  116. package/es/src/business/ap-card/ApCard.vue2.mjs +9 -9
  117. package/es/src/business/ap-draggable-grid/ApDraggableGrid.vue.d.ts +3 -19
  118. package/es/src/business/ap-draggable-grid/ApDraggableGrid.vue2.mjs +395 -144
  119. package/es/src/business/ap-draggable-grid/constans.d.ts +0 -8
  120. package/es/src/business/ap-draggable-grid/constans.mjs +0 -8
  121. package/es/src/business/ap-draggable-grid/index.d.ts +3 -31
  122. package/es/src/business/ap-draggable-grid/interface.d.ts +2 -0
  123. package/es/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +2 -4
  124. package/es/src/business/ap-expand-alert/ApExpandAlert.vue2.mjs +11 -11
  125. package/es/src/business/ap-expand-alert/index.d.ts +4 -6
  126. package/es/src/business/ap-export-group/ApExportGroup.vue2.mjs +7 -7
  127. package/es/src/business/ap-image/ApImage.vue2.mjs +1 -1
  128. package/es/src/business/ap-input-radio/ApInputRadio.vue2.mjs +2 -2
  129. package/es/src/business/ap-keep-alive/keep-alive.mjs +3 -3
  130. package/es/src/business/ap-ladder/components/RenderValue.mjs +2 -2
  131. package/es/src/business/ap-radio-group/ap-radio-group.vue2.mjs +1 -1
  132. package/es/src/business/ap-select-layout/index.d.ts +2 -4
  133. package/es/src/business/ap-select-layout/select-layout.vue.d.ts +2 -4
  134. package/es/src/business/ap-select-layout/select-layout.vue2.mjs +4 -4
  135. package/es/src/business/ap-status/ApStatus.vue2.mjs +8 -8
  136. package/es/src/business/ap-status/group/ApStatusGroup.vue2.mjs +4 -4
  137. package/es/src/business/ap-summary/ap-summary.vue2.mjs +1 -1
  138. package/es/src/business/ap-table-modal/index.d.ts +17 -5
  139. package/es/src/business/ap-table-modal/modal-title.vue2.mjs +2 -2
  140. package/es/src/business/ap-table-modal/table-layout/index.vue2.mjs +14 -14
  141. package/es/src/business/ap-table-modal/table-modal.vue2.mjs +3 -3
  142. package/es/src/business/ap-title/ApTitle.vue2.mjs +7 -7
  143. package/es/src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.mjs +1 -1
  144. package/es/src/business/ap-upload-file/icon/delete-icon.vue.mjs +2 -2
  145. package/es/src/business/ap-upload-file/icon/file-icon.vue.mjs +2 -2
  146. package/es/src/business/ap-view/ap-view.vue2.mjs +2 -2
  147. package/es/src/business/ap-view/components/main-button-content.vue.d.ts +10 -11
  148. package/es/src/business/ap-view/components/main-button-content.vue2.mjs +5 -5
  149. package/es/src/business/ap-view/components/menu-list-content.vue.d.ts +10 -11
  150. package/es/src/business/ap-view/components/menu-list-content.vue2.mjs +6 -6
  151. package/es/src/business/ap-view/icons/line-delete.vue.mjs +2 -2
  152. package/es/src/business/ap-view/icons/line-down.vue.mjs +2 -2
  153. package/es/src/business/ap-view/icons/line-eye.vue.mjs +2 -2
  154. package/es/src/business/batch-input-group/form-item.vue.mjs +2 -2
  155. package/es/src/business/batch-input-group/index.vue.d.ts +2 -2
  156. package/es/src/business/batch-input-group/index.vue.mjs +1 -1
  157. package/es/src/business/batch-input-group/popover-input/index.vue.d.ts +54 -54
  158. package/es/src/business/batch-input-group/popover-input/index.vue2.mjs +2 -2
  159. package/es/src/check-card/index.vue2.mjs +3 -3
  160. package/es/src/config-provider/config-provider-props.d.ts +4 -5
  161. package/es/src/config-provider/config-provider.d.ts +8 -9
  162. package/es/src/config-provider/hooks/use-global-config.d.ts +4 -5
  163. package/es/src/config-provider/hooks/use-namespace.d.ts +5 -1
  164. package/es/src/config-provider/index.d.ts +13 -14
  165. package/es/src/editable-table/form-item.vue.d.ts +2 -4
  166. package/es/src/editable-table/form-item.vue.mjs +2 -2
  167. package/es/src/editable-table/index.vue.d.ts +2 -4
  168. package/es/src/editable-table/index.vue.mjs +2 -2
  169. package/es/src/full-screen/index.vue.mjs +3 -3
  170. package/es/src/hooks/useFullScreen.mjs +5 -5
  171. package/es/src/mask/index.vue.mjs +10 -10
  172. package/es/src/portal/index.vue.mjs +2 -2
  173. package/es/src/scroll-bar/index.vue.mjs +3 -3
  174. package/es/src/scroll-bar/internal.vue.mjs +2 -2
  175. package/es/src/scroll-view/index.vue.d.ts +5 -5
  176. package/es/src/scroll-view/index.vue.mjs +9 -9
  177. package/es/src/splitter/Panel.vue2.mjs +4 -4
  178. package/es/src/splitter/SplitBar.vue2.mjs +7 -7
  179. package/es/src/splitter/Splitter.vue2.mjs +5 -5
  180. package/es/src/tests/wrapper.d.ts +4 -4
  181. package/es/src/text/group.vue.mjs +2 -2
  182. package/es/src/text/index.vue.mjs +5 -5
  183. package/es/src/utils/config-provider-preset.d.ts +5 -6
  184. package/es/src/version.d.ts +1 -1
  185. package/es/src/version.mjs +1 -1
  186. package/es/src/work-order-modal/help-message.vue2.mjs +2 -2
  187. package/es/src/work-order-modal/work-order-modal.vue.d.ts +10 -11
  188. package/es/src/work-order-modal/work-order-modal.vue.mjs +2 -2
  189. package/lib/src/ap-action/item-dropdown/index.vue.js +1 -1
  190. package/lib/src/ap-action/item-popconfirm/index.vue.d.ts +31 -2
  191. package/lib/src/ap-button/ap-action-button.vue.js +1 -1
  192. package/lib/src/ap-button/ap-button.vue.js +1 -1
  193. package/lib/src/ap-button/ap-confirm-button.vue.js +1 -1
  194. package/lib/src/ap-download/ap-download.vue.js +1 -1
  195. package/lib/src/ap-field/index.js +1 -1
  196. package/lib/src/ap-field/number/index.vue.d.ts +29 -29
  197. package/lib/src/ap-field/rate/index.vue.d.ts +4 -4
  198. package/lib/src/ap-field/segmented/index.vue.js +1 -1
  199. package/lib/src/ap-field/select/index.vue.d.ts +97 -97
  200. package/lib/src/ap-field/select/index.vue.js +1 -1
  201. package/lib/src/ap-field/select/use-select-options.d.ts +2 -2
  202. package/lib/src/ap-field/slider/index.vue.d.ts +8 -8
  203. package/lib/src/ap-field/text-area/index.vue.d.ts +54 -54
  204. package/lib/src/ap-field/text-area/index.vue.js +1 -1
  205. package/lib/src/ap-field/tree-select/index.vue.d.ts +93 -93
  206. package/lib/src/ap-field/tree-select/index.vue.js +1 -1
  207. package/lib/src/ap-field/tree-select/use-request.d.ts +4 -4
  208. package/lib/src/ap-form/ap-form.vue.d.ts +14 -15
  209. package/lib/src/ap-form/drawer-form/index.vue.d.ts +18 -19
  210. package/lib/src/ap-form/items/number/index.vue.d.ts +31 -31
  211. package/lib/src/ap-form/items/select/index.vue.d.ts +105 -105
  212. package/lib/src/ap-form/items/text/index.vue.d.ts +3 -3
  213. package/lib/src/ap-form/items/text/password.vue.d.ts +3 -3
  214. package/lib/src/ap-form/items/text-area/index.vue.d.ts +106 -106
  215. package/lib/src/ap-form/items/tree-select/index.vue.d.ts +95 -95
  216. package/lib/src/ap-form/modal-form/index.vue.d.ts +48 -20
  217. package/lib/src/ap-form/search-form/components/popover-filter.vue.d.ts +29 -10
  218. package/lib/src/ap-form/search-form/index.vue.d.ts +18 -19
  219. package/lib/src/ap-grid/editable/form-item.vue.d.ts +2 -4
  220. package/lib/src/ap-grid/editable/index.vue.d.ts +2 -4
  221. package/lib/src/ap-grid/index.vue.d.ts +2 -4
  222. package/lib/src/ap-grid/index.vue.js +1 -1
  223. package/lib/src/ap-grid/utils/table.d.ts +1 -1
  224. package/lib/src/ap-grid/utils/table.js +1 -1
  225. package/lib/src/ap-list/index.vue.d.ts +2 -4
  226. package/lib/src/ap-modal/utils/confirm.d.ts +1 -1
  227. package/lib/src/ap-table/ap-table.vue.d.ts +2 -4
  228. package/lib/src/ap-table/constants.d.ts +331 -331
  229. package/lib/src/ap-table/constants.js +1 -1
  230. package/lib/src/ap-table/hooks/use-table-column-state.d.ts +4 -4
  231. package/lib/src/ap-tag/ap-tag-group.vue.js +1 -1
  232. package/lib/src/ap-tag/ap-tag.vue.d.ts +1 -0
  233. package/lib/src/ap-tag/ap-tag.vue.js +1 -1
  234. package/lib/src/ap-tag/interface.d.ts +6 -0
  235. package/lib/src/ap-tag/utils.d.ts +1 -0
  236. package/lib/src/ap-tag/utils.js +1 -0
  237. package/lib/src/ap-upload/apUpload.vue.js +1 -1
  238. package/lib/src/ap-upload/components/MultipleFile.vue.d.ts +3 -3
  239. package/lib/src/ap-upload/components/Picture.vue.d.ts +2 -7
  240. package/lib/src/business/ap-batch-action-group/index.d.ts +33 -11
  241. package/lib/src/business/ap-draggable-grid/ApDraggableGrid.vue.d.ts +3 -19
  242. package/lib/src/business/ap-draggable-grid/ApDraggableGrid.vue2.js +1 -1
  243. package/lib/src/business/ap-draggable-grid/constans.d.ts +0 -8
  244. package/lib/src/business/ap-draggable-grid/constans.js +1 -1
  245. package/lib/src/business/ap-draggable-grid/index.d.ts +3 -31
  246. package/lib/src/business/ap-draggable-grid/interface.d.ts +2 -0
  247. package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +2 -4
  248. package/lib/src/business/ap-expand-alert/index.d.ts +4 -6
  249. package/lib/src/business/ap-select-layout/index.d.ts +2 -4
  250. package/lib/src/business/ap-select-layout/select-layout.vue.d.ts +2 -4
  251. package/lib/src/business/ap-table-modal/index.d.ts +17 -5
  252. package/lib/src/business/ap-view/components/main-button-content.vue.d.ts +10 -11
  253. package/lib/src/business/ap-view/components/menu-list-content.vue.d.ts +10 -11
  254. package/lib/src/business/batch-input-group/index.vue.d.ts +2 -2
  255. package/lib/src/business/batch-input-group/popover-input/index.vue.d.ts +54 -54
  256. package/lib/src/config-provider/config-provider-props.d.ts +4 -5
  257. package/lib/src/config-provider/config-provider.d.ts +8 -9
  258. package/lib/src/config-provider/hooks/use-global-config.d.ts +4 -5
  259. package/lib/src/config-provider/hooks/use-namespace.d.ts +5 -1
  260. package/lib/src/config-provider/index.d.ts +13 -14
  261. package/lib/src/editable-table/form-item.vue.d.ts +2 -4
  262. package/lib/src/editable-table/index.vue.d.ts +2 -4
  263. package/lib/src/scroll-view/index.vue.d.ts +5 -5
  264. package/lib/src/tests/wrapper.d.ts +4 -4
  265. package/lib/src/utils/config-provider-preset.d.ts +5 -6
  266. package/lib/src/version.d.ts +1 -1
  267. package/lib/src/version.js +1 -1
  268. package/lib/src/work-order-modal/work-order-modal.vue.d.ts +10 -11
  269. package/package.json +3 -3
  270. package/theme/antdv-override.css +2 -6
  271. package/theme/antdv-override.less +2 -6
  272. package/theme/ap-descriptions/ap-descriptions.css +1 -1
  273. package/theme/ap-descriptions/ap-descriptions.less +1 -1
  274. package/theme/ap-draggable-grid/ap-draggable-grid.css +4 -3
  275. package/theme/ap-draggable-grid/ap-draggable-grid.less +4 -2
  276. package/theme/ap-label/ap-label.css +1 -0
  277. package/theme/ap-label/ap-label.less +1 -0
  278. package/theme/ap-tag/ap-tag.css +3 -1
  279. package/theme/ap-tag/ap-tag.less +3 -1
  280. package/theme/index.css +11 -11
  281. package/theme/antd-global-overwrite/admin/alert.css +0 -37
  282. package/theme/antd-global-overwrite/admin/alert.less +0 -51
  283. package/theme/antd-global-overwrite/admin/button.css +0 -27
  284. package/theme/antd-global-overwrite/admin/button.less +0 -31
  285. package/theme/antd-global-overwrite/admin/field.css +0 -42
  286. package/theme/antd-global-overwrite/admin/field.less +0 -43
  287. package/theme/antd-global-overwrite/admin/form.css +0 -57
  288. package/theme/antd-global-overwrite/admin/form.less +0 -97
  289. package/theme/antd-global-overwrite/admin/message.css +0 -10
  290. package/theme/antd-global-overwrite/admin/message.less +0 -13
  291. package/theme/antd-global-overwrite/admin/modal.css +0 -94
  292. package/theme/antd-global-overwrite/admin/modal.less +0 -128
  293. package/theme/antd-global-overwrite/admin/pagination.css +0 -122
  294. package/theme/antd-global-overwrite/admin/pagination.less +0 -91
  295. package/theme/antd-global-overwrite/admin/steps.css +0 -127
  296. package/theme/antd-global-overwrite/admin/steps.less +0 -197
  297. package/theme/antd-global-overwrite/admin/table.css +0 -78
  298. package/theme/antd-global-overwrite/admin/table.less +0 -62
  299. package/theme/antd-global-overwrite/admin/tooltip.css +0 -3
  300. package/theme/antd-global-overwrite/admin/tooltip.less +0 -3
  301. package/theme/antd-global-overwrite/aplus/alert.css +0 -40
  302. package/theme/antd-global-overwrite/aplus/alert.less +0 -55
  303. package/theme/antd-global-overwrite/aplus/button.css +0 -27
  304. package/theme/antd-global-overwrite/aplus/button.less +0 -31
  305. package/theme/antd-global-overwrite/aplus/field.css +0 -42
  306. package/theme/antd-global-overwrite/aplus/field.less +0 -43
  307. package/theme/antd-global-overwrite/aplus/form.css +0 -87
  308. package/theme/antd-global-overwrite/aplus/form.less +0 -133
  309. package/theme/antd-global-overwrite/aplus/message.css +0 -10
  310. package/theme/antd-global-overwrite/aplus/message.less +0 -13
  311. package/theme/antd-global-overwrite/aplus/modal.css +0 -87
  312. package/theme/antd-global-overwrite/aplus/modal.less +0 -120
  313. package/theme/antd-global-overwrite/aplus/pagination.css +0 -147
  314. package/theme/antd-global-overwrite/aplus/pagination.less +0 -108
  315. package/theme/antd-global-overwrite/aplus/steps.css +0 -125
  316. package/theme/antd-global-overwrite/aplus/steps.less +0 -198
  317. package/theme/antd-global-overwrite/aplus/table.css +0 -78
  318. package/theme/antd-global-overwrite/aplus/table.less +0 -61
  319. package/theme/antd-global-overwrite/aplus/tooltip.css +0 -3
  320. package/theme/antd-global-overwrite/aplus/tooltip.less +0 -3
  321. package/theme/ap-table/ap-table-pagination.css +0 -12
  322. package/theme/ap-table/ap-table-pagination.less +0 -14
  323. package/theme/ui-mode.css +0 -60
  324. package/theme/ui-mode.less +0 -109
@@ -1,4 +1,4 @@
1
- import { defineComponent as h, computed as s, unref as c, openBlock as t, createBlock as r, withCtx as k, createElementBlock as u, Fragment as a, renderList as A, mergeProps as i, createCommentVNode as v } from "vue";
1
+ import { defineComponent as h, computed as s, unref as c, createBlock as r, openBlock as t, withCtx as k, createElementBlock as u, createCommentVNode as A, Fragment as a, renderList as v, mergeProps as i } from "vue";
2
2
  import { Space as y } from "@aplus-frontend/antdv";
3
3
  import "../item/index.vue.mjs";
4
4
  import "../item-modal/index.vue2.mjs";
@@ -40,7 +40,7 @@ const q = /* @__PURE__ */ h({
40
40
  align: "center"
41
41
  }, {
42
42
  default: k(() => [
43
- (t(!0), u(a, null, A(l.value.showActions, (o, d) => (t(), u(a, { key: d }, [
43
+ (t(!0), u(a, null, v(l.value.showActions, (o, d) => (t(), u(a, { key: d }, [
44
44
  o.actions ? (t(), r(p, i({
45
45
  key: 0,
46
46
  ref_for: !0
@@ -61,7 +61,7 @@ const q = /* @__PURE__ */ h({
61
61
  placement: e.placement,
62
62
  trigger: e.trigger,
63
63
  text: c(_)("ap.common.more")
64
- }, null, 8, ["actions", "placement", "trigger", "text"])) : v("", !0)
64
+ }, null, 8, ["actions", "placement", "trigger", "text"])) : A("", !0)
65
65
  ]),
66
66
  _: 1
67
67
  }));
@@ -1,4 +1,4 @@
1
- import { defineComponent as b, createPropsRestProxy as k, ref as v, unref as r, computed as c, renderSlot as u, openBlock as l, createElementBlock as f, mergeProps as C, createBlock as m, createCommentVNode as p, isVNode as B, resolveDynamicComponent as A, toDisplayString as h } from "vue";
1
+ import { defineComponent as b, createPropsRestProxy as k, ref as v, unref as r, computed as c, renderSlot as u, createElementBlock as f, createCommentVNode as m, openBlock as l, mergeProps as C, createBlock as p, isVNode as B, resolveDynamicComponent as A, toDisplayString as h } from "vue";
2
2
  import "../../config-provider/index.mjs";
3
3
  import L from "@aplus-frontend/antdv/es/button/LoadingIcon";
4
4
  import { useNamespace as N } from "../../config-provider/hooks/use-namespace.mjs";
@@ -35,16 +35,16 @@ const P = { key: 1 }, I = /* @__PURE__ */ b({
35
35
  class: y.value,
36
36
  onClick: d
37
37
  }), [
38
- t.value ? (l(), m(r(L), {
38
+ t.value ? (l(), p(r(L), {
39
39
  key: 0,
40
40
  "prefix-cls": "btn",
41
41
  "exist-icon": !1,
42
42
  loading: ""
43
- })) : p("", !0),
43
+ })) : m("", !0),
44
44
  u(e.$slots, "default", {}, () => [
45
- B(e.text) ? (l(), m(A(e.text), { key: 0 })) : (l(), f("span", P, h(e.text || ""), 1))
45
+ B(e.text) ? (l(), p(A(e.text), { key: 0 })) : (l(), f("span", P, h(e.text || ""), 1))
46
46
  ])
47
- ], 16)) : p("", !0)
47
+ ], 16)) : m("", !0)
48
48
  ]);
49
49
  }
50
50
  });
@@ -1,4 +1,4 @@
1
- import { defineComponent as _, ref as v, computed as k, openBlock as t, createBlock as l, unref as r, withCtx as n, createVNode as u, createElementBlock as w, Fragment as A, renderList as B, normalizeClass as m, mergeProps as i, createElementVNode as b, normalizeProps as C, guardReactiveProps as I, renderSlot as P, createCommentVNode as D } from "vue";
1
+ import { defineComponent as _, ref as v, computed as k, createBlock as l, openBlock as t, unref as r, withCtx as n, createElementVNode as w, normalizeClass as m, createVNode as u, createCommentVNode as A, normalizeProps as B, guardReactiveProps as b, renderSlot as C, createElementBlock as I, Fragment as P, renderList as D, mergeProps as i } from "vue";
2
2
  import { Dropdown as N, Menu as $, MenuItem as h } from "@aplus-frontend/antdv";
3
3
  import "../item/index.vue.mjs";
4
4
  import "../item-modal/index.vue2.mjs";
@@ -7,9 +7,9 @@ import { IconApAdLineDown as L } from "@aplus-frontend/icon";
7
7
  import "../../config-provider/index.mjs";
8
8
  import { isUndefined as V, omit as z } from "lodash-unified";
9
9
  import { useNamespace as E } from "../../config-provider/hooks/use-namespace.mjs";
10
+ import d from "../item/index.vue2.mjs";
10
11
  import M from "../item-modal/index.vue.mjs";
11
12
  import U from "../item-popconfirm/index.vue.mjs";
12
- import d from "../item/index.vue2.mjs";
13
13
  const T = /* @__PURE__ */ _({
14
14
  name: "ApActionItemDropDown",
15
15
  __name: "index",
@@ -46,7 +46,7 @@ const T = /* @__PURE__ */ _({
46
46
  overlay: n(() => [
47
47
  u(r($), null, {
48
48
  default: n(() => [
49
- (t(!0), w(A, null, B(g.value, (o, y) => (t(), l(r(h), {
49
+ (t(!0), I(P, null, D(g.value, (o, y) => (t(), l(r(h), {
50
50
  key: y,
51
51
  class: m(r(s)("item"))
52
52
  }, {
@@ -69,19 +69,19 @@ const T = /* @__PURE__ */ _({
69
69
  })
70
70
  ]),
71
71
  default: n(() => [
72
- b("span", {
72
+ w("span", {
73
73
  class: m(r(s)("wrapper"))
74
74
  }, [
75
- u(d, C(I(r(z)(f, ["actions", "trigger", "placement"]))), {
75
+ u(d, B(b(r(z)(f, ["actions", "trigger", "placement"]))), {
76
76
  default: n(() => [
77
- P(e.$slots, "default")
77
+ C(e.$slots, "default")
78
78
  ]),
79
79
  _: 3
80
80
  }, 16),
81
81
  e.showIcon ? (t(), l(r(L), {
82
82
  key: 0,
83
83
  class: m(r(s)("icon"))
84
- }, null, 8, ["class"])) : D("", !0)
84
+ }, null, 8, ["class"])) : A("", !0)
85
85
  ], 2)
86
86
  ]),
87
87
  _: 3
@@ -1,4 +1,4 @@
1
- import { defineComponent as c, useSlots as m, openBlock as d, createBlock as p, mergeProps as f, unref as u, createSlots as _, renderList as A, withCtx as P, renderSlot as y, normalizeProps as k, guardReactiveProps as x } from "vue";
1
+ import { defineComponent as c, useSlots as m, createBlock as d, openBlock as p, mergeProps as f, unref as u, createSlots as _, renderList as A, withCtx as P, renderSlot as y, normalizeProps as k, guardReactiveProps as x } from "vue";
2
2
  import { Modal as B } from "@aplus-frontend/antdv";
3
3
  import "../item/index.vue.mjs";
4
4
  import { omit as g } from "lodash-unified";
@@ -28,7 +28,7 @@ const z = /* @__PURE__ */ c({
28
28
  }
29
29
  });
30
30
  }
31
- return (t, n) => (d(), p(h, f(u(g)(o, ["modalProps", "onAction"]), { onAction: i }), _({ _: 2 }, [
31
+ return (t, n) => (p(), d(h, f(u(g)(o, ["modalProps", "onAction"]), { onAction: i }), _({ _: 2 }, [
32
32
  A(l, (r, e) => ({
33
33
  name: e,
34
34
  fn: P((s) => [
@@ -1,8 +1,9 @@
1
1
  import { ApActionItemPopconfirmProps, ApActionItemSlots } from '../interface';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType, HTMLAttributes, CSSProperties, ComponentProvideOptions } from 'vue';
3
3
  import { ActionColor } from '..';
4
- import { LegacyButtonType, ButtonHTMLType } from '@aplus-frontend/antdv/es/button/buttonTypes';
5
- import { ButtonType, ButtonShape, ButtonSize } from '@aplus-frontend/antdv/es/button';
4
+ import { LegacyButtonType, ButtonHTMLType, ButtonIconPosition, ButtonVariantType } from '@aplus-frontend/antdv/es/button/buttonTypes';
5
+ import { ButtonType, ButtonShape } from '@aplus-frontend/antdv/es/button';
6
+ import { ButtonSize } from '@aplus-frontend/antdv/es/config-provider';
6
7
  import { VueTypeValidableDef } from '../../../node_modules/vue-types';
7
8
  import { MouseEventHandler } from '@aplus-frontend/antdv/es/_util/EventInterface';
8
9
  import { TriggerType } from '@aplus-frontend/antdv/es/tooltip/abstractTooltipProps';
@@ -104,6 +105,13 @@ declare const __VLS_component: DefineComponent<ApActionItemPopconfirmProps, {},
104
105
  onMousedown: {
105
106
  type: PropType< MouseEventHandler | MouseEventHandler[]>;
106
107
  };
108
+ autoInsertSpace: BooleanConstructor;
109
+ iconPosition: {
110
+ type: PropType<ButtonIconPosition>;
111
+ default: string;
112
+ };
113
+ color: PropType<"default" | "blue" | "cyan" | "gold" | "green" | "lime" | "magenta" | "orange" | "pink" | "purple" | "red" | "yellow" | "volcano" | "geekblue" | "primary" | "danger">;
114
+ variant: PropType<ButtonVariantType>;
107
115
  }>> & HTMLAttributes>;
108
116
  default: Partial< ExtractPropTypes<{
109
117
  prefixCls: StringConstructor;
@@ -152,6 +160,13 @@ declare const __VLS_component: DefineComponent<ApActionItemPopconfirmProps, {},
152
160
  onMousedown: {
153
161
  type: PropType< MouseEventHandler | MouseEventHandler[]>;
154
162
  };
163
+ autoInsertSpace: BooleanConstructor;
164
+ iconPosition: {
165
+ type: PropType<ButtonIconPosition>;
166
+ default: string;
167
+ };
168
+ color: PropType<"default" | "blue" | "cyan" | "gold" | "green" | "lime" | "magenta" | "orange" | "pink" | "purple" | "red" | "yellow" | "volcano" | "geekblue" | "primary" | "danger">;
169
+ variant: PropType<ButtonVariantType>;
155
170
  }>> & HTMLAttributes;
156
171
  };
157
172
  cancelButtonProps: {
@@ -202,6 +217,13 @@ declare const __VLS_component: DefineComponent<ApActionItemPopconfirmProps, {},
202
217
  onMousedown: {
203
218
  type: PropType< MouseEventHandler | MouseEventHandler[]>;
204
219
  };
220
+ autoInsertSpace: BooleanConstructor;
221
+ iconPosition: {
222
+ type: PropType<ButtonIconPosition>;
223
+ default: string;
224
+ };
225
+ color: PropType<"default" | "blue" | "cyan" | "gold" | "green" | "lime" | "magenta" | "orange" | "pink" | "purple" | "red" | "yellow" | "volcano" | "geekblue" | "primary" | "danger">;
226
+ variant: PropType<ButtonVariantType>;
205
227
  }>> & HTMLAttributes>;
206
228
  default: Partial< ExtractPropTypes<{
207
229
  prefixCls: StringConstructor;
@@ -250,6 +272,13 @@ declare const __VLS_component: DefineComponent<ApActionItemPopconfirmProps, {},
250
272
  onMousedown: {
251
273
  type: PropType< MouseEventHandler | MouseEventHandler[]>;
252
274
  };
275
+ autoInsertSpace: BooleanConstructor;
276
+ iconPosition: {
277
+ type: PropType<ButtonIconPosition>;
278
+ default: string;
279
+ };
280
+ color: PropType<"default" | "blue" | "cyan" | "gold" | "green" | "lime" | "magenta" | "orange" | "pink" | "purple" | "red" | "yellow" | "volcano" | "geekblue" | "primary" | "danger">;
281
+ variant: PropType<ButtonVariantType>;
253
282
  }>> & HTMLAttributes;
254
283
  };
255
284
  showCancel: {
@@ -1,4 +1,4 @@
1
- import { defineComponent as d, useSlots as u, openBlock as P, createBlock as _, unref as i, mergeProps as y, withCtx as a, createVNode as C, normalizeProps as p, guardReactiveProps as s, createSlots as x, renderList as A, renderSlot as B } from "vue";
1
+ import { defineComponent as d, useSlots as u, createBlock as P, openBlock as _, unref as i, mergeProps as y, withCtx as a, createVNode as C, normalizeProps as p, guardReactiveProps as s, createSlots as x, renderList as A, renderSlot as B } from "vue";
2
2
  import { Popconfirm as b } from "@aplus-frontend/antdv";
3
3
  import "../item/index.vue.mjs";
4
4
  import { omit as g } from "lodash-unified";
@@ -22,7 +22,7 @@ const I = /* @__PURE__ */ d({
22
22
  var r, t, e;
23
23
  (t = (r = o.popconfirmProps).onConfirm) == null || t.call(r, n), await ((e = o.onAction) == null ? void 0 : e.call(o, n));
24
24
  }
25
- return (n, r) => (P(), _(i(b), y(o.popconfirmProps, {
25
+ return (n, r) => (_(), P(i(b), y(o.popconfirmProps, {
26
26
  disabled: !o.popconfirmProps,
27
27
  "overlay-style": { zIndex: 1060 },
28
28
  onConfirm: m
@@ -1,7 +1,7 @@
1
- import { defineComponent as p, useSlots as i, openBlock as d, createBlock as u, normalizeProps as t, guardReactiveProps as r, createSlots as c, renderList as m, withCtx as f, renderSlot as y } from "vue";
1
+ import { defineComponent as i, useSlots as p, createBlock as c, openBlock as d, normalizeProps as t, guardReactiveProps as n, createSlots as u, renderList as m, withCtx as f, renderSlot as y } from "vue";
2
2
  import "./ap-button.vue2.mjs";
3
3
  import B from "./ap-button.vue.mjs";
4
- const C = /* @__PURE__ */ p({
4
+ const C = /* @__PURE__ */ i({
5
5
  __name: "ap-action-button",
6
6
  props: {
7
7
  prefixCls: {},
@@ -18,22 +18,26 @@ const C = /* @__PURE__ */ p({
18
18
  target: {},
19
19
  title: {},
20
20
  onMousedown: {},
21
+ autoInsertSpace: { type: Boolean },
22
+ iconPosition: {},
23
+ color: {},
24
+ variant: {},
21
25
  type: { default: "borderLink" },
22
26
  borderLinkColor: {},
23
27
  minWidth: { type: [Boolean, Number, String], default: !0 },
24
28
  lazy: { type: [Boolean, Number], default: !0 },
25
29
  onClick: {}
26
30
  },
27
- setup(n) {
28
- const a = i(), l = n;
29
- return (e, b) => (d(), u(B, t(r({
31
+ setup(r) {
32
+ const a = p(), l = r;
33
+ return (e, b) => (d(), c(B, t(n({
30
34
  ...e.$attrs,
31
35
  ...l
32
- })), c({ _: 2 }, [
36
+ })), u({ _: 2 }, [
33
37
  m(a, (_, o) => ({
34
38
  name: o,
35
39
  fn: f((s) => [
36
- y(e.$slots, o, t(r(s || {})))
40
+ y(e.$slots, o, t(n(s || {})))
37
41
  ])
38
42
  }))
39
43
  ]), 1040));
@@ -1,12 +1,12 @@
1
- import { defineComponent as W, useSlots as z, ref as L, computed as t, openBlock as w, createBlock as M, unref as l, mergeProps as T, createSlots as _, renderList as P, withCtx as $, renderSlot as x, normalizeProps as S, guardReactiveProps as N } from "vue";
1
+ import { defineComponent as W, useSlots as z, ref as L, computed as t, createBlock as w, openBlock as M, unref as a, mergeProps as P, createSlots as T, renderList as _, withCtx as S, renderSlot as $, normalizeProps as x, guardReactiveProps as N } from "vue";
2
2
  import { Button as A } from "@aplus-frontend/antdv";
3
3
  import { wait as D } from "@aplus-frontend/utils";
4
4
  import "../config-provider/index.mjs";
5
5
  import { omit as F } from "lodash-unified";
6
6
  import { transferOpacityColor as O, isAsynchronous as j } from "./utils/index.mjs";
7
7
  import { useNamespace as G } from "../config-provider/hooks/use-namespace.mjs";
8
- import { useGlobalConfig as R } from "../config-provider/hooks/use-global-config.mjs";
9
- const q = 72, E = 300, Y = /* @__PURE__ */ W({
8
+ import { useGlobalConfig as I } from "../config-provider/hooks/use-global-config.mjs";
9
+ const R = 72, q = 300, Y = /* @__PURE__ */ W({
10
10
  __name: "ap-button",
11
11
  props: {
12
12
  prefixCls: {},
@@ -23,6 +23,10 @@ const q = 72, E = 300, Y = /* @__PURE__ */ W({
23
23
  target: {},
24
24
  title: {},
25
25
  onMousedown: {},
26
+ autoInsertSpace: { type: Boolean },
27
+ iconPosition: {},
28
+ color: {},
29
+ variant: {},
26
30
  type: { default: "default" },
27
31
  borderLinkColor: {},
28
32
  minWidth: { type: [Boolean, Number, String], default: !1 },
@@ -30,18 +34,18 @@ const q = 72, E = 300, Y = /* @__PURE__ */ W({
30
34
  onClick: {}
31
35
  },
32
36
  setup(m) {
33
- const y = z(), e = m, a = {
37
+ const y = z(), e = m, l = {
34
38
  aplus: "#0070FF",
35
39
  admin: "#34b77c"
36
- }, { b: i } = G("ap-action-button"), b = R("uiMode"), n = L(!1), v = t(
37
- () => e.borderLinkColor || a[b.value] || a.aplus
40
+ }, { b: i } = G("ap-action-button"), b = I("uiMode"), n = L(!1), v = t(
41
+ () => e.borderLinkColor || l[b.value] || l.aplus
38
42
  ), s = t(
39
43
  () => e.type === "borderLink" && !e.disabled ? v.value : void 0
40
44
  ), u = t(
41
45
  () => O(s.value)
42
- ), h = t(() => e.minWidth === !0 ? `${q}px` : typeof e.minWidth == "number" ? `${e.minWidth}px` : typeof e.minWidth == "string" ? e.minWidth : void 0), g = t(
46
+ ), h = t(() => e.minWidth === !0 ? `${R}px` : typeof e.minWidth == "number" ? `${e.minWidth}px` : typeof e.minWidth == "string" ? e.minWidth : void 0), g = t(
43
47
  () => (e.type === "borderLink" ? "default" : e.type) || "default"
44
- ), d = t(() => e.loading ?? n.value ?? !1), p = t(() => e.lazy === !0 ? E : typeof e.lazy == "number" && e.lazy >= 0 ? e.lazy : 0);
48
+ ), c = t(() => e.loading ?? n.value ?? !1), d = t(() => e.lazy === !0 ? q : typeof e.lazy == "number" && e.lazy >= 0 ? e.lazy : 0);
45
49
  function k() {
46
50
  const o = F(e, [
47
51
  "type",
@@ -57,21 +61,21 @@ const q = 72, E = 300, Y = /* @__PURE__ */ W({
57
61
  } : {};
58
62
  }
59
63
  async function C() {
60
- if (d.value) return;
61
- const o = j(e.onClick), c = Date.now();
64
+ if (c.value) return;
65
+ const o = j(e.onClick), p = Date.now();
62
66
  try {
63
67
  o && (n.value = !0, await o);
64
68
  } finally {
65
69
  if (o) {
66
- const r = Date.now() - c;
67
- r < p.value && await D(p.value - r), n.value = !1;
70
+ const r = Date.now() - p;
71
+ r < d.value && await D(d.value - r), n.value = !1;
68
72
  }
69
73
  }
70
74
  }
71
- return (o, c) => (w(), M(l(A), T({
75
+ return (o, p) => (M(), w(a(A), P({
72
76
  class: {
73
- [l(i)()]: !0,
74
- [`${l(i)()}-border-link`]: u.value
77
+ [a(i)()]: !0,
78
+ [`${a(i)()}-border-link`]: u.value
75
79
  }
76
80
  }, {
77
81
  ...o.$attrs,
@@ -82,12 +86,12 @@ const q = 72, E = 300, Y = /* @__PURE__ */ W({
82
86
  minWidth: h.value,
83
87
  "--button-border-color": u.value
84
88
  },
85
- loading: d.value
86
- }), _({ _: 2 }, [
87
- P(y, (r, f) => ({
89
+ loading: c.value
90
+ }), T({ _: 2 }, [
91
+ _(y, (r, f) => ({
88
92
  name: f,
89
- fn: $((B) => [
90
- x(o.$slots, f, S(N(B || {})))
93
+ fn: S((B) => [
94
+ $(o.$slots, f, x(N(B || {})))
91
95
  ])
92
96
  }))
93
97
  ]), 1040, ["class", "style", "loading"]));
@@ -1,9 +1,9 @@
1
- import { defineComponent as f, useSlots as d, openBlock as u, createBlock as k, mergeProps as y, unref as P, createSlots as B, renderList as C, withCtx as _, renderSlot as g, normalizeProps as b, guardReactiveProps as h } from "vue";
2
- import { confirmHandle as O } from "./utils/index.mjs";
1
+ import { defineComponent as f, useSlots as d, createBlock as u, openBlock as k, mergeProps as y, unref as P, createSlots as B, renderList as C, withCtx as _, renderSlot as g, normalizeProps as b, guardReactiveProps as h } from "vue";
2
+ import { confirmHandle as S } from "./utils/index.mjs";
3
3
  import { omit as l } from "lodash-unified";
4
4
  import "./ap-button.vue2.mjs";
5
- import S from "./ap-button.vue.mjs";
6
- const N = /* @__PURE__ */ f({
5
+ import O from "./ap-button.vue.mjs";
6
+ const L = /* @__PURE__ */ f({
7
7
  __name: "ap-confirm-button",
8
8
  props: {
9
9
  prefixCls: {},
@@ -20,6 +20,10 @@ const N = /* @__PURE__ */ f({
20
20
  target: {},
21
21
  title: {},
22
22
  onMousedown: {},
23
+ autoInsertSpace: { type: Boolean },
24
+ iconPosition: {},
25
+ color: {},
26
+ variant: {},
23
27
  type: {},
24
28
  borderLinkColor: {},
25
29
  minWidth: { type: [Boolean, Number, String] },
@@ -30,19 +34,19 @@ const N = /* @__PURE__ */ f({
30
34
  },
31
35
  setup(p) {
32
36
  const o = p, a = d(), m = () => {
33
- var t, i, s;
34
- const n = ((t = o.confirmProps) == null ? void 0 : t.onOk) || o.onClick, r = ((i = o.confirmProps) == null ? void 0 : i.title) || o.title, c = ((s = o.confirmProps) == null ? void 0 : s.content) || o.content, e = {
37
+ var t, c, s;
38
+ const n = ((t = o.confirmProps) == null ? void 0 : t.onOk) || o.onClick, r = ((c = o.confirmProps) == null ? void 0 : c.title) || o.title, i = ((s = o.confirmProps) == null ? void 0 : s.content) || o.content, e = {
35
39
  centered: !0,
36
40
  // 默认居中
37
41
  onOk: n,
38
42
  title: r,
39
- content: c,
43
+ content: i,
40
44
  ...l(o.confirmProps, ["onOk", "title", "content"])
41
45
  };
42
- O(e);
46
+ S(e);
43
47
  };
44
- return (n, r) => (u(), k(S, y(P(l)(o, ["confirmProps", "onClick"]), { onClick: m }), B({ _: 2 }, [
45
- C(a, (c, e) => ({
48
+ return (n, r) => (k(), u(O, y(P(l)(o, ["confirmProps", "onClick"]), { onClick: m }), B({ _: 2 }, [
49
+ C(a, (i, e) => ({
46
50
  name: e,
47
51
  fn: _((t) => [
48
52
  g(n.$slots, e, b(h(t || {})))
@@ -52,5 +56,5 @@ const N = /* @__PURE__ */ f({
52
56
  }
53
57
  });
54
58
  export {
55
- N as default
59
+ L as default
56
60
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent as B, openBlock as r, createElementBlock as i, normalizeClass as d, unref as l, normalizeStyle as E, createVNode as _, mergeProps as w, withCtx as b, Fragment as p, renderList as A, createBlock as c, h as u, renderSlot as M, resolveDynamicComponent as j, createCommentVNode as z } from "vue";
1
+ import { defineComponent as B, createElementBlock as i, openBlock as r, normalizeStyle as E, normalizeClass as d, unref as l, createVNode as _, mergeProps as w, withCtx as b, Fragment as p, renderList as A, createBlock as c, createCommentVNode as M, h as u, renderSlot as j, resolveDynamicComponent as z } from "vue";
2
2
  import { Descriptions as F, DescriptionsItem as m } from "@aplus-frontend/antdv";
3
3
  import { mixinsAttachmentExtraProps as G, transformValue as L, isEmptyWithType as R } from "./helper.mjs";
4
4
  import { get as S } from "lodash-unified";
@@ -84,12 +84,12 @@ const O = { key: 0 }, Z = /* @__PURE__ */ B({
84
84
  }, {
85
85
  default: b(() => [
86
86
  l(R)(l(S)(e.dataSource, t.field), t) ? (r(), i("span", O, "--")) : (r(), i(p, { key: 1 }, [
87
- t.contentSlotName ? M(e.$slots, t.contentSlotName, {
87
+ t.contentSlotName ? j(e.$slots, t.contentSlotName, {
88
88
  key: 0,
89
89
  index: a,
90
90
  item: y(t),
91
91
  record: e.dataSource
92
- }) : (r(), c(j(
92
+ }) : (r(), c(z(
93
93
  u(p, [
94
94
  t.prefix,
95
95
  y(t),
@@ -99,7 +99,7 @@ const O = { key: 0 }, Z = /* @__PURE__ */ B({
99
99
  ], 64))
100
100
  ]),
101
101
  _: 2
102
- }, 1032, ["class", "label", "span", "content-style", "label-style"])) : z("", !0)
102
+ }, 1032, ["class", "label", "span", "content-style", "label-style"])) : M("", !0)
103
103
  ], 64))), 128))
104
104
  ]),
105
105
  _: 3
@@ -1,4 +1,4 @@
1
- import { defineComponent as r, computed as m, createVNode as t, openBlock as o, createElementBlock as d, createBlock as l, resolveDynamicComponent as u, unref as s, withCtx as f, createCommentVNode as h } from "vue";
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
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";
@@ -30,16 +30,16 @@ const C = {
30
30
  content: e
31
31
  }, null)]) : e;
32
32
  });
33
- return (e, c) => (o(), d("span", C, [(o(), l(u(a.value))), e.helpMessage ? (o(), l(s(y), {
33
+ return (e, c) => (o(), d("span", C, [(o(), l(f(a.value))), e.helpMessage ? (o(), l(s(y), {
34
34
  key: 0,
35
35
  placement: "topLeft",
36
36
  title: e.helpMessage
37
37
  }, {
38
- default: f(() => [t(s(b), {
38
+ default: h(() => [t(s(b), {
39
39
  class: "ap-descriptions-item-content__help"
40
40
  })]),
41
41
  _: 1
42
- }, 8, ["title"])) : h("", !0)]));
42
+ }, 8, ["title"])) : u("", !0)]));
43
43
  }
44
44
  });
45
45
  export {
@@ -1,8 +1,8 @@
1
- import { defineComponent as x, ref as A, useSlots as S, computed as t, unref as s, openBlock as r, createBlock as j, mergeProps as I, withCtx as M, createElementVNode as u, normalizeClass as T, createElementBlock as f, createVNode as U, createCommentVNode as g, renderSlot as V, toDisplayString as D } from "vue";
1
+ import { defineComponent as S, ref as x, useSlots as A, computed as t, unref as s, createBlock as j, openBlock as r, mergeProps as I, withCtx as M, createElementVNode as u, normalizeClass as T, createElementBlock as f, createCommentVNode as g, createVNode as U, renderSlot as V, toDisplayString as D } from "vue";
2
2
  import { Button as E } from "@aplus-frontend/antdv";
3
- import { LoadingOutlined as G } from "@ant-design/icons-vue";
3
+ import { LoadingOutlined as P } from "@ant-design/icons-vue";
4
4
  import "../config-provider/index.mjs";
5
- import { useOssInit as P } from "./hooks/index.mjs";
5
+ import { useOssInit as G } from "./hooks/index.mjs";
6
6
  import { getFileInfo as y } from "./utils/getFileInfo.mjs";
7
7
  import { useStyle as R } from "./hooks/useStyle.mjs";
8
8
  import { useLocale as W } from "../config-provider/hooks/use-locale.mjs";
@@ -13,7 +13,7 @@ const $ = {
13
13
  }, q = {
14
14
  key: 1,
15
15
  class: "icon"
16
- }, H = { class: "text" }, se = /* @__PURE__ */ x({
16
+ }, H = { class: "text" }, se = /* @__PURE__ */ S({
17
17
  name: "ApDownload",
18
18
  __name: "ap-download",
19
19
  props: {
@@ -33,32 +33,35 @@ const $ = {
33
33
  title: {},
34
34
  onClick: {},
35
35
  onMousedown: {},
36
- text: {},
36
+ autoInsertSpace: { type: Boolean },
37
+ iconPosition: {},
37
38
  color: {},
39
+ variant: {},
40
+ text: {},
38
41
  fileName: {},
39
42
  needName: { type: [Boolean, Object] },
40
43
  getOssAccess: {}
41
44
  },
42
45
  emits: ["downloadCallback"],
43
46
  setup(C, { emit: b }) {
44
- const h = b, l = A(!1), { lang: w } = W(), N = S(), _ = t(() => w.value === "zh-cn" ? "zh_CN" : "en_US"), k = c("uiMode"), e = C, v = c("apUpload"), d = c(
47
+ const h = b, a = x(!1), { lang: w } = W(), N = A(), _ = t(() => w.value === "zh-cn" ? "zh_CN" : "en_US"), v = c("uiMode"), e = C, k = c("apUpload"), d = c(
45
48
  "downloadCenterTriggerConfig"
46
- ), p = t(() => e.disabled), B = t(() => e.color ? e.color : k.value === "aplus" ? "#0070FF" : "#1890FF"), z = t(() => e.size), { getInnerWrapperClass: O } = R(B, z, p), F = t(() => {
49
+ ), p = t(() => e.disabled), B = t(() => e.color ? e.color : v.value === "aplus" ? "#0070FF" : "#1890FF"), z = t(() => e.size), { getInnerWrapperClass: O } = R(B, z, p), F = t(() => {
47
50
  var o;
48
- return e.getOssAccess || ((o = v.value) == null ? void 0 : o.getOssAccess);
51
+ return e.getOssAccess || ((o = k.value) == null ? void 0 : o.getOssAccess);
49
52
  }), L = async () => {
50
- var o, a;
53
+ var o, n;
51
54
  if (!e.disabled) {
52
- l.value = !0;
55
+ a.value = !0;
53
56
  try {
54
57
  if ((o = d.value) != null && o.trigger) {
55
58
  let i = y(e.needName, e.fileName).map((m) => ({
56
59
  objectName: m.path,
57
60
  fileName: m.fileName
58
61
  }));
59
- await ((a = d.value) == null ? void 0 : a.trigger(i));
62
+ await ((n = d.value) == null ? void 0 : n.trigger(i));
60
63
  } else {
61
- const i = await (await P(
64
+ const i = await (await G(
62
65
  F.value,
63
66
  s(_)
64
67
  )).downloadFile(
@@ -66,14 +69,14 @@ const $ = {
66
69
  );
67
70
  h("downloadCallback", i);
68
71
  }
69
- } catch (n) {
70
- console.error(n);
72
+ } catch (l) {
73
+ console.error(l);
71
74
  } finally {
72
- l.value = !1;
75
+ a.value = !1;
73
76
  }
74
77
  }
75
78
  };
76
- return (o, a) => (r(), j(s(E), I(e, {
79
+ return (o, n) => (r(), j(s(E), I(e, {
77
80
  type: e.type,
78
81
  size: e.size,
79
82
  disabled: p.value,
@@ -83,8 +86,8 @@ const $ = {
83
86
  u("div", {
84
87
  class: T(s(O))
85
88
  }, [
86
- l.value ? (r(), f("span", $, [
87
- U(s(G), { spin: !0 })
89
+ a.value ? (r(), f("span", $, [
90
+ U(s(P), { spin: !0 })
88
91
  ])) : g("", !0),
89
92
  s(N).icon ? (r(), f("span", q, [
90
93
  V(o.$slots, "icon")
@@ -1,4 +1,4 @@
1
- import { defineComponent as n, openBlock as a, createElementBlock as m, mergeProps as p, unref as e, createVNode as l } from "vue";
1
+ import { defineComponent as n, createElementBlock as a, openBlock as m, mergeProps as p, unref as e, createVNode as l } from "vue";
2
2
  import "../../config-provider/index.mjs";
3
3
  import { IconApAdLineCloseDrawer as i } from "@aplus-frontend/icon";
4
4
  import { useNamespace as d } from "../../config-provider/hooks/use-namespace.mjs";
@@ -10,7 +10,7 @@ const A = /* @__PURE__ */ n({
10
10
  const { b: r } = d("ap-drawer"), t = o, s = () => {
11
11
  t("close");
12
12
  };
13
- return (c, _) => (a(), m("div", p({
13
+ return (c, _) => (m(), a("div", p({
14
14
  ...c.$attrs
15
15
  }, {
16
16
  class: [e(r)("close")],
@@ -1,4 +1,4 @@
1
- import { defineComponent as h, ref as b, onMounted as C, openBlock as o, createElementBlock as l, Fragment as n, unref as e, createTextVNode as m, toDisplayString as d, createBlock as c, mergeProps as V } from "vue";
1
+ import { defineComponent as h, ref as b, onMounted as C, createElementBlock as l, openBlock as o, Fragment as n, unref as e, createTextVNode as m, toDisplayString as d, createBlock as c, mergeProps as V } from "vue";
2
2
  import { isFunction as B, isNil as O, omit as q } from "lodash-unified";
3
3
  import { Spin as T, CheckboxGroup as U } from "@aplus-frontend/antdv";
4
4
  import "../../hooks/index.mjs";
@@ -1,4 +1,4 @@
1
- import { defineComponent as E, computed as u, unref as a, openBlock as s, createElementBlock as g, Fragment as k, createTextVNode as w, toDisplayString as P, createBlock as h, normalizeStyle as N, withCtx as f, isRef as j, renderList as C, createCommentVNode as I, createVNode as U, mergeProps as H, createSlots as K, renderSlot as $, normalizeProps as G, guardReactiveProps as L } from "vue";
1
+ import { defineComponent as E, computed as u, unref as a, createElementBlock as g, createBlock as h, openBlock as s, Fragment as k, createTextVNode as w, toDisplayString as P, normalizeStyle as N, withCtx as f, createCommentVNode as j, createVNode as I, isRef as U, renderList as C, mergeProps as H, createSlots as K, renderSlot as $, normalizeProps as G, guardReactiveProps as L } from "vue";
2
2
  import d from "dayjs";
3
3
  import { InputGroup as W, Select as Y, SelectOption as Z, DatePicker as q } from "@aplus-frontend/antdv";
4
4
  import { ApFieldDatePresetFormats as J, PRESET_FORMAT_MAP as S, PRESET_FORMAT_PICK_MAP as Q, PRESET_FORMAT_TIME_MAP as X } from "./constant.mjs";
@@ -163,7 +163,7 @@ const ye = /* @__PURE__ */ E({
163
163
  Array.isArray(e.timezone) && e.timezone.length ? (s(), h(a(Y), {
164
164
  key: 0,
165
165
  value: a(i),
166
- "onUpdate:value": n[0] || (n[0] = (o) => j(i) ? i.value = o : null),
166
+ "onUpdate:value": n[0] || (n[0] = (o) => U(i) ? i.value = o : null),
167
167
  "default-active-first-option": "",
168
168
  "dropdown-match-select-width": !1,
169
169
  style: { "max-width": "50%" }
@@ -180,8 +180,8 @@ const ye = /* @__PURE__ */ E({
180
180
  }, 1032, ["value"]))), 128))
181
181
  ]),
182
182
  _: 1
183
- }, 8, ["value"])) : I("", !0),
184
- U(a(q), H(M.value, {
183
+ }, 8, ["value"])) : j("", !0),
184
+ I(a(q), H(M.value, {
185
185
  value: v.value,
186
186
  format: A.value,
187
187
  picker: R.value,