@aplus-frontend/ui 0.0.40 → 0.1.1

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 (666) hide show
  1. package/es/index.d.ts +0 -1
  2. package/es/src/ap-action/group/index.vue.d.ts +12 -13
  3. package/es/src/ap-action/index.d.ts +0 -1
  4. package/es/src/ap-action/interface.d.ts +0 -1
  5. package/es/src/ap-action/item/index.vue.d.ts +16 -15
  6. package/es/src/ap-action/item/index.vue2.mjs +24 -26
  7. package/es/src/ap-action/item-dropdown/index.vue.d.ts +19 -18
  8. package/es/src/ap-action/item-modal/index.vue.d.ts +16 -15
  9. package/es/src/ap-action/item-modal/index.vue.mjs +7 -6
  10. package/es/src/ap-action/item-popconfirm/index.vue.d.ts +26 -25
  11. package/es/src/ap-action/style/item.css +10 -25
  12. package/es/src/ap-custom-column/column-select.vue.d.ts +3 -4
  13. package/es/src/ap-custom-column/custom-column.vue.d.ts +3 -4
  14. package/es/src/ap-custom-column/index.d.ts +0 -1
  15. package/es/src/ap-custom-column/interfaces.d.ts +0 -1
  16. package/es/src/ap-custom-column/storage.mjs +11 -11
  17. package/es/src/ap-custom-column/useCacheColumnSetting.d.ts +0 -1
  18. package/es/src/ap-custom-column/utils.d.ts +0 -1
  19. package/es/src/ap-descriptions/ap-descriptions.vue.d.ts +11 -10
  20. package/es/src/ap-descriptions/formatter/index.d.ts +0 -1
  21. package/es/src/ap-descriptions/help-message/index.vue.d.ts +14 -12
  22. package/es/src/ap-descriptions/helper.d.ts +0 -1
  23. package/es/src/ap-descriptions/index.d.ts +0 -1
  24. package/es/src/ap-descriptions/interface.d.ts +0 -1
  25. package/es/src/ap-download/ap-download.vue.d.ts +18 -17
  26. package/es/src/ap-download/ap-download.vue.mjs +4 -1
  27. package/es/src/ap-download/hooks/index.d.ts +0 -1
  28. package/es/src/ap-download/index.d.ts +0 -1
  29. package/es/src/ap-download/interface.d.ts +0 -1
  30. package/es/src/ap-field/checkbox/helper.d.ts +0 -1
  31. package/es/src/ap-field/checkbox/index.vue.d.ts +11 -12
  32. package/es/src/ap-field/checkbox/index.vue.mjs +32 -27
  33. package/es/src/ap-field/checkbox/style.css +7 -0
  34. package/es/src/ap-field/date/constant.d.ts +0 -1
  35. package/es/src/ap-field/date/helper.d.ts +0 -1
  36. package/es/src/ap-field/date/index.vue.d.ts +25 -24
  37. package/es/src/ap-field/date/index.vue.mjs +4 -1
  38. package/es/src/ap-field/date-range/index.vue.d.ts +23 -22
  39. package/es/src/ap-field/date-range/index.vue.mjs +7 -1
  40. package/es/src/ap-field/hooks/use-default-placeholder.d.ts +3 -3
  41. package/es/src/ap-field/index.d.ts +0 -1
  42. package/es/src/ap-field/interface.d.ts +2 -1
  43. package/es/src/ap-field/number/helper.d.ts +0 -1
  44. package/es/src/ap-field/number/index.vue.d.ts +14 -13
  45. package/es/src/ap-field/radio/helper.d.ts +0 -1
  46. package/es/src/ap-field/radio/index.vue.d.ts +14 -12
  47. package/es/src/ap-field/radio/index.vue.mjs +44 -29
  48. package/es/src/ap-field/radio/style.css +4 -0
  49. package/es/src/ap-field/rate/index.vue.d.ts +19 -18
  50. package/es/src/ap-field/segmented/index.vue.d.ts +23 -22
  51. package/es/src/ap-field/select/index.vue.d.ts +20 -19
  52. package/es/src/ap-field/slider/index.vue.d.ts +14 -13
  53. package/es/src/ap-field/slider/index.vue.mjs +1 -4
  54. package/es/src/ap-field/switch/index.vue.d.ts +15 -14
  55. package/es/src/ap-field/text/index.d.ts +0 -1
  56. package/es/src/ap-field/text/index.vue.d.ts +17 -16
  57. package/es/src/ap-field/text/input-password-props.d.ts +0 -1
  58. package/es/src/ap-field/text/password.vue.d.ts +18 -17
  59. package/es/src/ap-field/text-area/index.vue.d.ts +13 -14
  60. package/es/src/ap-form/ap-form-item-group/helper.d.ts +0 -1
  61. package/es/src/ap-form/ap-form-item-group/index.vue.d.ts +19 -18
  62. package/es/src/ap-form/ap-form-item.vue.d.ts +15 -14
  63. package/es/src/ap-form/ap-form-list.vue.d.ts +9 -8
  64. package/es/src/ap-form/ap-form.vue.d.ts +22 -21
  65. package/es/src/ap-form/constant.d.ts +0 -1
  66. package/es/src/ap-form/context.d.ts +0 -1
  67. package/es/src/ap-form/hooks/use-watch.d.ts +0 -1
  68. package/es/src/ap-form/hooks/use-watch.mjs +7 -7
  69. package/es/src/ap-form/index.d.ts +0 -1
  70. package/es/src/ap-form/interface.d.ts +0 -1
  71. package/es/src/ap-form/items/checkbox/index.vue.d.ts +17 -16
  72. package/es/src/ap-form/items/date/index.vue.d.ts +38 -37
  73. package/es/src/ap-form/items/date-range/index.vue.d.ts +38 -37
  74. package/es/src/ap-form/items/index.d.ts +0 -1
  75. package/es/src/ap-form/items/interface.d.ts +0 -1
  76. package/es/src/ap-form/items/number/index.vue.d.ts +31 -30
  77. package/es/src/ap-form/items/radio/index.vue.d.ts +17 -16
  78. package/es/src/ap-form/items/select/index.vue.d.ts +41 -40
  79. package/es/src/ap-form/items/switch/index.vue.d.ts +25 -24
  80. package/es/src/ap-form/items/text/index.d.ts +0 -1
  81. package/es/src/ap-form/items/text/index.vue.d.ts +31 -30
  82. package/es/src/ap-form/items/text/password.vue.d.ts +31 -30
  83. package/es/src/ap-form/items/text-area/index.vue.d.ts +18 -17
  84. package/es/src/ap-form/modal-form/index.vue.d.ts +30 -29
  85. package/es/src/ap-form/search-form/index.vue.d.ts +23 -22
  86. package/es/src/ap-form/search-form/utils.d.ts +0 -1
  87. package/es/src/ap-form/search-form/utils.mjs +1 -2
  88. package/es/src/ap-form/style/ap-form-item.css +6 -6
  89. package/es/src/ap-layout/ap-info-layout/ap-info-layout.vue.d.ts +20 -19
  90. package/es/src/ap-layout/index.d.ts +0 -1
  91. package/es/src/ap-list/hooks/use-offline-list.d.ts +0 -1
  92. package/es/src/ap-list/index.d.ts +0 -1
  93. package/es/src/ap-list/index.vue.d.ts +9 -122
  94. package/es/src/ap-list/interface.d.ts +0 -1
  95. package/es/src/ap-modal/index.d.ts +0 -1
  96. package/es/src/ap-modal/type.d.ts +0 -1
  97. package/es/src/ap-modal/utils/createModal.d.ts +0 -1
  98. package/es/src/ap-table/ap-table.vue.d.ts +16 -2222
  99. package/es/src/ap-table/ap-table.vue.mjs +125 -126
  100. package/es/src/ap-table/components/index/index.vue.d.ts +11 -12
  101. package/es/src/ap-table/components/interface.d.ts +0 -1
  102. package/es/src/ap-table/components/status/index.vue.d.ts +2 -3
  103. package/es/src/ap-table/constants.d.ts +4816 -6356
  104. package/es/src/ap-table/hooks/use-table-paging.d.ts +0 -1
  105. package/es/src/ap-table/hooks/use-table-row-selection.d.ts +0 -1
  106. package/es/src/ap-table/index.d.ts +0 -1
  107. package/es/src/ap-table/interface.d.ts +0 -1
  108. package/es/src/ap-table/style/ap-table.css +1 -21
  109. package/es/src/ap-table/utils.d.ts +1 -2
  110. package/es/src/ap-tag/ap-tag-group.vue.d.ts +14 -13
  111. package/es/src/ap-tag/ap-tag-group.vue.mjs +8 -7
  112. package/es/src/ap-tag/ap-tag.vue.d.ts +13 -14
  113. package/es/src/ap-tag/index.d.ts +0 -1
  114. package/es/src/ap-tag/interface.d.ts +0 -1
  115. package/es/src/ap-upload/apUpload.vue.d.ts +2 -3
  116. package/es/src/ap-upload/apUpload.vue.mjs +4 -1
  117. package/es/src/ap-upload/apUploadTypes.d.ts +0 -1
  118. package/es/src/ap-upload/components/MultipleFile.vue.d.ts +0 -1
  119. package/es/src/ap-upload/components/Picture.vue.d.ts +0 -1
  120. package/es/src/ap-upload/components/Picture.vue2.mjs +15 -5
  121. package/es/src/ap-upload/components/SingleFile.vue.d.ts +0 -1
  122. package/es/src/ap-upload/components/SingleFile.vue2.mjs +5 -1
  123. package/es/src/ap-upload/hooks/useOss.d.ts +0 -1
  124. package/es/src/ap-upload/index.d.ts +0 -1
  125. package/es/src/ap-upload/utils/accept.d.ts +0 -1
  126. package/es/src/ap-upload/utils/accept.mjs +1 -2
  127. package/es/src/base-button/button.vue.d.ts +17 -16
  128. package/es/src/base-button/constants.d.ts +0 -1
  129. package/es/src/base-button/index.d.ts +55 -55
  130. package/es/src/base-button/interface.d.ts +0 -1
  131. package/es/src/basic/arrow.vue.d.ts +2 -3
  132. package/es/src/basic/help.vue.d.ts +4 -9
  133. package/es/src/basic/index.d.ts +27 -35
  134. package/es/src/basic/interface.d.ts +0 -1
  135. package/es/src/basic/title.vue.d.ts +16 -15
  136. package/es/src/business/ap-export-group/ApExportGroup.vue.d.ts +2 -3
  137. package/es/src/business/ap-export-group/ApExportGroup.vue2.mjs +1 -2
  138. package/es/src/business/ap-export-group/interface.d.ts +0 -1
  139. package/es/src/business/ap-label/ApLabel.vue.d.ts +17 -16
  140. package/es/src/business/ap-label/index.d.ts +0 -1
  141. package/es/src/business/ap-label/interface.d.ts +0 -1
  142. package/es/src/business/ap-select-layout/index.css +8 -0
  143. package/es/src/business/ap-select-layout/index.d.ts +0 -1
  144. package/es/src/business/ap-select-layout/select-layout.vue.d.ts +16 -58
  145. package/es/src/business/ap-status/ApStatus.vue.d.ts +11 -12
  146. package/es/src/business/ap-status/ApStatusGroup.vue.d.ts +14 -17
  147. package/es/src/business/ap-status/ApStatusGroup.vue2.mjs +10 -9
  148. package/es/src/business/ap-status/index.d.ts +0 -1
  149. package/es/src/business/expandAlert/ApExpandAlert.vue.d.ts +18 -17
  150. package/es/src/business/index.d.ts +213 -248
  151. package/es/src/business/title/ApTitle.vue.d.ts +19 -18
  152. package/es/src/button/button.vue.d.ts +25 -0
  153. package/es/src/button/index.d.ts +7 -7
  154. package/es/src/check-card/checked.svg.mjs +2 -2
  155. package/es/src/check-card/context.d.ts +0 -1
  156. package/es/src/check-card/group.vue.d.ts +21 -20
  157. package/es/src/check-card/index.d.ts +0 -1
  158. package/es/src/check-card/index.vue.d.ts +16 -15
  159. package/es/src/check-card/index.vue2.mjs +45 -49
  160. package/es/src/check-card/interface.d.ts +0 -1
  161. package/es/src/check-card/style/index.css +10 -42
  162. package/es/src/config-provider/config-provider-props.d.ts +22 -23
  163. package/es/src/config-provider/config-provider.d.ts +59 -204
  164. package/es/src/config-provider/constants.d.ts +0 -1
  165. package/es/src/config-provider/hooks/use-global-config.d.ts +24 -25
  166. package/es/src/config-provider/hooks/use-locale.d.ts +0 -1
  167. package/es/src/config-provider/hooks/use-namespace.d.ts +0 -1
  168. package/es/src/config-provider/index.d.ts +129 -130
  169. package/es/src/container/collapse/header.vue.d.ts +4 -5
  170. package/es/src/container/collapse/index.vue.d.ts +5 -6
  171. package/es/src/container/index.d.ts +26 -26
  172. package/es/src/container/scroll-container.vue.d.ts +13 -12
  173. package/es/src/count-down/button.vue.d.ts +11 -12
  174. package/es/src/count-down/index.d.ts +13 -13
  175. package/es/src/count-down/input.vue.d.ts +14 -13
  176. package/es/src/count-down/interface.d.ts +0 -1
  177. package/es/src/cropper/cropper-avatar.vue.d.ts +12 -13
  178. package/es/src/cropper/cropper-image.vue.d.ts +12 -13
  179. package/es/src/cropper/cropper-modal.vue.d.ts +0 -1
  180. package/es/src/cropper/index.d.ts +63 -63
  181. package/es/src/cropper/interface.d.ts +0 -1
  182. package/es/src/description/description.vue.d.ts +1 -2
  183. package/es/src/description/index.d.ts +10 -10
  184. package/es/src/description/interface.d.ts +0 -1
  185. package/es/src/description/use-description.d.ts +0 -1
  186. package/es/src/design-token/index.d.ts +0 -1
  187. package/es/src/design-token/index.mjs +4 -2
  188. package/es/src/dropdown/dropdown.vue.d.ts +18 -17
  189. package/es/src/dropdown/index.d.ts +18 -18
  190. package/es/src/dropdown/interface.d.ts +0 -1
  191. package/es/src/editable-table/form-item.vue.d.ts +14 -915
  192. package/es/src/editable-table/form-item.vue.mjs +57 -58
  193. package/es/src/editable-table/hooks/use-get-columns.d.ts +0 -1
  194. package/es/src/editable-table/index.d.ts +0 -1
  195. package/es/src/editable-table/index.vue.d.ts +18 -568
  196. package/es/src/editable-table/index.vue.mjs +54 -55
  197. package/es/src/editable-table/interface.d.ts +0 -1
  198. package/es/src/editable-table/style/index.css +1 -21
  199. package/es/src/editable-table/utils.d.ts +0 -1
  200. package/es/src/hooks/useControllableValue.d.ts +0 -1
  201. package/es/src/hooks/useMessage.d.ts +0 -1
  202. package/es/src/icon/icon.vue.d.ts +12 -12
  203. package/es/src/icon/icon.vue2.mjs +3 -6
  204. package/es/src/icon/index.d.ts +36 -36
  205. package/es/src/icon/svg-icon.vue.d.ts +11 -12
  206. package/es/src/icon-picker/icon-picker.vue.d.ts +12 -13
  207. package/es/src/icon-picker/index.d.ts +25 -25
  208. package/es/src/locale/index.d.ts +0 -1
  209. package/es/src/locale/lang/en.d.ts +0 -1
  210. package/es/src/locale/lang/en.mjs +1 -1
  211. package/es/src/locale/lang/zh-cn.d.ts +0 -1
  212. package/es/src/locale/lang/zh-cn.mjs +22 -22
  213. package/es/src/modal/basic.vue.d.ts +18 -206
  214. package/es/src/modal/components/modal-close.vue.d.ts +11 -12
  215. package/es/src/modal/components/modal-footer.vue.d.ts +20 -209
  216. package/es/src/modal/components/modal-header.vue.d.ts +2 -3
  217. package/es/src/modal/components/modal-wrapper.vue.d.ts +7 -5
  218. package/es/src/modal/components/modal-wrapper.vue2.mjs +4 -8
  219. package/es/src/modal/components/modal.d.ts +11 -201
  220. package/es/src/modal/hooks/use-moda-full-screen.d.ts +0 -1
  221. package/es/src/modal/hooks/use-modal-drag.d.ts +0 -1
  222. package/es/src/modal/hooks/use-modal-drag.mjs +3 -6
  223. package/es/src/modal/hooks/use-modal.d.ts +0 -1
  224. package/es/src/modal/hooks/use-modal.mjs +1 -2
  225. package/es/src/modal/index.d.ts +37 -130
  226. package/es/src/modal/interface.d.ts +0 -1
  227. package/es/src/modal/props.d.ts +6 -103
  228. package/es/src/pro-form/component-map.d.ts +0 -1
  229. package/es/src/pro-form/components/api-cascader.vue.d.ts +11 -12
  230. package/es/src/pro-form/components/api-radio-group.vue.d.ts +12 -13
  231. package/es/src/pro-form/components/api-select.vue.d.ts +15 -14
  232. package/es/src/pro-form/components/api-transfer.vue.d.ts +14 -15
  233. package/es/src/pro-form/components/api-tree-select.vue.d.ts +14 -13
  234. package/es/src/pro-form/components/api-tree-select.vue.mjs +1 -2
  235. package/es/src/pro-form/components/api-tree.vue.d.ts +15 -14
  236. package/es/src/pro-form/components/api-tree.vue.mjs +1 -2
  237. package/es/src/pro-form/components/form-action.vue.d.ts +19 -18
  238. package/es/src/pro-form/components/form-item.vue.d.ts +0 -1
  239. package/es/src/pro-form/components/interface.d.ts +0 -1
  240. package/es/src/pro-form/components/radio-button-group.vue.d.ts +11 -12
  241. package/es/src/pro-form/helper.d.ts +1 -2
  242. package/es/src/pro-form/helper.mjs +4 -4
  243. package/es/src/pro-form/hooks/use-advanced.d.ts +0 -1
  244. package/es/src/pro-form/hooks/use-auto-focus.d.ts +0 -1
  245. package/es/src/pro-form/hooks/use-component-register.d.ts +0 -1
  246. package/es/src/pro-form/hooks/use-form-events.d.ts +0 -1
  247. package/es/src/pro-form/hooks/use-form-events.mjs +11 -11
  248. package/es/src/pro-form/hooks/use-form-item.d.ts +0 -1
  249. package/es/src/pro-form/hooks/use-form-values.d.ts +0 -1
  250. package/es/src/pro-form/hooks/use-form.d.ts +0 -1
  251. package/es/src/pro-form/hooks/use-label-width.d.ts +122 -123
  252. package/es/src/pro-form/index.d.ts +0 -1
  253. package/es/src/pro-form/pro-form.vue.d.ts +24 -23
  254. package/es/src/pro-form/table-form-inner.vue.d.ts +13 -14
  255. package/es/src/pro-form/table-form.vue.d.ts +12 -13
  256. package/es/src/pro-form/types/form-item.d.ts +0 -1
  257. package/es/src/pro-form/types/form.d.ts +0 -1
  258. package/es/src/pro-form/types/index.d.ts +37 -38
  259. package/es/src/pro-form/types/table-form.d.ts +0 -1
  260. package/es/src/pro-table/component-map.d.ts +0 -1
  261. package/es/src/pro-table/components/edit-table-header-icon.vue.d.ts +6 -4
  262. package/es/src/pro-table/components/editable/cell-component.d.ts +0 -1
  263. package/es/src/pro-table/components/editable/editable-cell.vue.d.ts +7 -8
  264. package/es/src/pro-table/components/editable/editable-cell.vue2.mjs +38 -42
  265. package/es/src/pro-table/components/editable/helper.d.ts +0 -1
  266. package/es/src/pro-table/components/editable/index.d.ts +0 -1
  267. package/es/src/pro-table/components/header-cell.vue.d.ts +0 -1
  268. package/es/src/pro-table/components/settings/column-setting.vue.d.ts +0 -1
  269. package/es/src/pro-table/components/settings/index.vue.d.ts +0 -1
  270. package/es/src/pro-table/components/table-action.vue.d.ts +7 -6
  271. package/es/src/pro-table/components/table-action.vue.mjs +4 -3
  272. package/es/src/pro-table/components/table-footer.vue.d.ts +19 -20
  273. package/es/src/pro-table/components/table-header.vue.d.ts +11 -10
  274. package/es/src/pro-table/components/table-image.vue.d.ts +12 -13
  275. package/es/src/pro-table/components/table-selection-bar.vue.d.ts +15 -16
  276. package/es/src/pro-table/components/table-title.vue.d.ts +0 -1
  277. package/es/src/pro-table/const.d.ts +0 -1
  278. package/es/src/pro-table/directives/click-outside.d.ts +0 -1
  279. package/es/src/pro-table/helper.d.ts +0 -1
  280. package/es/src/pro-table/hooks/use-columns.d.ts +0 -1
  281. package/es/src/pro-table/hooks/use-columns.mjs +3 -6
  282. package/es/src/pro-table/hooks/use-custom-row.d.ts +0 -1
  283. package/es/src/pro-table/hooks/use-custom-row.mjs +4 -8
  284. package/es/src/pro-table/hooks/use-data-source.d.ts +1 -2
  285. package/es/src/pro-table/hooks/use-data-source.mjs +2 -4
  286. package/es/src/pro-table/hooks/use-loading.d.ts +0 -1
  287. package/es/src/pro-table/hooks/use-pagination.d.ts +0 -1
  288. package/es/src/pro-table/hooks/use-row-selection.d.ts +0 -1
  289. package/es/src/pro-table/hooks/use-scroll-to.d.ts +0 -1
  290. package/es/src/pro-table/hooks/use-scroll-to.mjs +1 -2
  291. package/es/src/pro-table/hooks/use-table-context.d.ts +0 -1
  292. package/es/src/pro-table/hooks/use-table-expand.d.ts +0 -1
  293. package/es/src/pro-table/hooks/use-table-footer.d.ts +0 -1
  294. package/es/src/pro-table/hooks/use-table-footer.mjs +1 -2
  295. package/es/src/pro-table/hooks/use-table-form.d.ts +0 -1
  296. package/es/src/pro-table/hooks/use-table-header.d.ts +0 -1
  297. package/es/src/pro-table/hooks/use-table-scroll.d.ts +3 -4
  298. package/es/src/pro-table/hooks/use-table-scroll.mjs +25 -27
  299. package/es/src/pro-table/hooks/use-table-style.d.ts +0 -1
  300. package/es/src/pro-table/hooks/use-table.d.ts +0 -1
  301. package/es/src/pro-table/interface.d.ts +0 -1
  302. package/es/src/pro-table/pro-table.vue.d.ts +43 -42
  303. package/es/src/pro-table/types/pagination.d.ts +0 -1
  304. package/es/src/pro-table/types/table-action.d.ts +0 -1
  305. package/es/src/pro-table/types/table.d.ts +0 -1
  306. package/es/src/prompt/dialog.vue.d.ts +2 -3
  307. package/es/src/prompt/index.d.ts +0 -1
  308. package/es/src/prompt/interface.d.ts +0 -1
  309. package/es/src/prompt/utils.d.ts +2 -2
  310. package/es/src/scroll-bar/bar-item.d.ts +0 -1
  311. package/es/src/scroll-bar/bar-item.mjs +2 -4
  312. package/es/src/scroll-bar/index.d.ts +27 -27
  313. package/es/src/scroll-bar/interface.d.ts +0 -1
  314. package/es/src/scroll-bar/scroll-bar.vue.d.ts +18 -17
  315. package/es/src/scroll-bar/scroll-bar.vue2.mjs +1 -2
  316. package/es/src/scroll-bar/utils.d.ts +0 -1
  317. package/es/src/strength-meter/index.d.ts +19 -19
  318. package/es/src/strength-meter/strength-meter.vue.d.ts +14 -13
  319. package/es/src/strength-meter/strength-meter.vue2.mjs +1 -2
  320. package/es/src/tests/wrapper.d.ts +8 -0
  321. package/es/src/theme/antd-global-overwrite/admin/index.css +5 -5
  322. package/es/src/theme/antd-global-overwrite/admin/steps.css +5 -5
  323. package/es/src/theme/antd-global-overwrite/aplus/form.css +1 -1
  324. package/es/src/theme/antd-global-overwrite/aplus/index.css +6 -6
  325. package/es/src/theme/antd-global-overwrite/aplus/steps.css +5 -5
  326. package/es/src/theme/ap-action/item.css +10 -25
  327. package/es/src/theme/ap-field/checkbox.css +7 -0
  328. package/es/src/theme/ap-field/radio.css +4 -0
  329. package/es/src/theme/ap-form/ap-form-item.css +6 -6
  330. package/es/src/theme/ap-select-layout/ap-select-layout.css +8 -0
  331. package/es/src/theme/ap-table/ap-table.css +1 -21
  332. package/es/src/theme/check-card/index.css +10 -42
  333. package/es/src/theme/css-var/index.mjs +83 -19
  334. package/es/src/theme/editable-table/index.css +1 -21
  335. package/es/src/transition/collapse-transition.vue.d.ts +4 -3
  336. package/es/src/transition/create-transition.d.ts +0 -1
  337. package/es/src/type.d.ts +0 -1
  338. package/es/src/utils/config-provider-preset.d.ts +16 -17
  339. package/es/src/utils/index.d.ts +0 -1
  340. package/es/src/utils/slot.d.ts +0 -1
  341. package/es/src/utils/slot.mjs +1 -2
  342. package/es/src/utils/tree.d.ts +0 -1
  343. package/es/src/utils/tree.mjs +1 -2
  344. package/es/src/work-order-modal/createWorkOrder.d.ts +0 -1
  345. package/es/src/work-order-modal/index.d.ts +0 -1
  346. package/es/src/work-order-modal/interfaces.d.ts +0 -1
  347. package/es/src/work-order-modal/work-order-modal.vue.d.ts +3 -4
  348. package/lib/index.d.ts +0 -1
  349. package/lib/src/ap-action/group/index.vue.d.ts +12 -13
  350. package/lib/src/ap-action/index.d.ts +0 -1
  351. package/lib/src/ap-action/interface.d.ts +0 -1
  352. package/lib/src/ap-action/item/index.vue.d.ts +16 -15
  353. package/lib/src/ap-action/item/index.vue2.js +1 -1
  354. package/lib/src/ap-action/item-dropdown/index.vue.d.ts +19 -18
  355. package/lib/src/ap-action/item-modal/index.vue.d.ts +16 -15
  356. package/lib/src/ap-action/item-modal/index.vue.js +1 -1
  357. package/lib/src/ap-action/item-popconfirm/index.vue.d.ts +26 -25
  358. package/lib/src/ap-action/style/item.css +10 -25
  359. package/lib/src/ap-custom-column/column-select.vue.d.ts +3 -4
  360. package/lib/src/ap-custom-column/custom-column.vue.d.ts +3 -4
  361. package/lib/src/ap-custom-column/index.d.ts +0 -1
  362. package/lib/src/ap-custom-column/interfaces.d.ts +0 -1
  363. package/lib/src/ap-custom-column/storage.js +1 -1
  364. package/lib/src/ap-custom-column/useCacheColumnSetting.d.ts +0 -1
  365. package/lib/src/ap-custom-column/utils.d.ts +0 -1
  366. package/lib/src/ap-descriptions/ap-descriptions.vue.d.ts +11 -10
  367. package/lib/src/ap-descriptions/formatter/index.d.ts +0 -1
  368. package/lib/src/ap-descriptions/help-message/index.vue.d.ts +14 -12
  369. package/lib/src/ap-descriptions/helper.d.ts +0 -1
  370. package/lib/src/ap-descriptions/index.d.ts +0 -1
  371. package/lib/src/ap-descriptions/interface.d.ts +0 -1
  372. package/lib/src/ap-download/ap-download.vue.d.ts +18 -17
  373. package/lib/src/ap-download/hooks/index.d.ts +0 -1
  374. package/lib/src/ap-download/index.d.ts +0 -1
  375. package/lib/src/ap-download/interface.d.ts +0 -1
  376. package/lib/src/ap-field/checkbox/helper.d.ts +0 -1
  377. package/lib/src/ap-field/checkbox/index.vue.d.ts +11 -12
  378. package/lib/src/ap-field/checkbox/index.vue.js +1 -1
  379. package/lib/src/ap-field/checkbox/style.css +7 -0
  380. package/lib/src/ap-field/date/constant.d.ts +0 -1
  381. package/lib/src/ap-field/date/helper.d.ts +0 -1
  382. package/lib/src/ap-field/date/index.vue.d.ts +25 -24
  383. package/lib/src/ap-field/date-range/index.vue.d.ts +23 -22
  384. package/lib/src/ap-field/hooks/use-default-placeholder.d.ts +3 -3
  385. package/lib/src/ap-field/index.d.ts +0 -1
  386. package/lib/src/ap-field/interface.d.ts +2 -1
  387. package/lib/src/ap-field/number/helper.d.ts +0 -1
  388. package/lib/src/ap-field/number/index.vue.d.ts +14 -13
  389. package/lib/src/ap-field/radio/helper.d.ts +0 -1
  390. package/lib/src/ap-field/radio/index.vue.d.ts +14 -12
  391. package/lib/src/ap-field/radio/index.vue.js +1 -1
  392. package/lib/src/ap-field/radio/style.css +4 -0
  393. package/lib/src/ap-field/rate/index.vue.d.ts +19 -18
  394. package/lib/src/ap-field/segmented/index.vue.d.ts +23 -22
  395. package/lib/src/ap-field/select/index.vue.d.ts +20 -19
  396. package/lib/src/ap-field/slider/index.vue.d.ts +14 -13
  397. package/lib/src/ap-field/switch/index.vue.d.ts +15 -14
  398. package/lib/src/ap-field/text/index.d.ts +0 -1
  399. package/lib/src/ap-field/text/index.vue.d.ts +17 -16
  400. package/lib/src/ap-field/text/input-password-props.d.ts +0 -1
  401. package/lib/src/ap-field/text/password.vue.d.ts +18 -17
  402. package/lib/src/ap-field/text-area/index.vue.d.ts +13 -14
  403. package/lib/src/ap-form/ap-form-item-group/helper.d.ts +0 -1
  404. package/lib/src/ap-form/ap-form-item-group/index.vue.d.ts +19 -18
  405. package/lib/src/ap-form/ap-form-item.vue.d.ts +15 -14
  406. package/lib/src/ap-form/ap-form-list.vue.d.ts +9 -8
  407. package/lib/src/ap-form/ap-form.vue.d.ts +22 -21
  408. package/lib/src/ap-form/constant.d.ts +0 -1
  409. package/lib/src/ap-form/context.d.ts +0 -1
  410. package/lib/src/ap-form/hooks/use-watch.d.ts +0 -1
  411. package/lib/src/ap-form/index.d.ts +0 -1
  412. package/lib/src/ap-form/interface.d.ts +0 -1
  413. package/lib/src/ap-form/items/checkbox/index.vue.d.ts +17 -16
  414. package/lib/src/ap-form/items/date/index.vue.d.ts +38 -37
  415. package/lib/src/ap-form/items/date-range/index.vue.d.ts +38 -37
  416. package/lib/src/ap-form/items/index.d.ts +0 -1
  417. package/lib/src/ap-form/items/interface.d.ts +0 -1
  418. package/lib/src/ap-form/items/number/index.vue.d.ts +31 -30
  419. package/lib/src/ap-form/items/radio/index.vue.d.ts +17 -16
  420. package/lib/src/ap-form/items/select/index.vue.d.ts +41 -40
  421. package/lib/src/ap-form/items/switch/index.vue.d.ts +25 -24
  422. package/lib/src/ap-form/items/text/index.d.ts +0 -1
  423. package/lib/src/ap-form/items/text/index.vue.d.ts +31 -30
  424. package/lib/src/ap-form/items/text/password.vue.d.ts +31 -30
  425. package/lib/src/ap-form/items/text-area/index.vue.d.ts +18 -17
  426. package/lib/src/ap-form/modal-form/index.vue.d.ts +30 -29
  427. package/lib/src/ap-form/search-form/index.vue.d.ts +23 -22
  428. package/lib/src/ap-form/search-form/utils.d.ts +0 -1
  429. package/lib/src/ap-form/style/ap-form-item.css +6 -6
  430. package/lib/src/ap-layout/ap-info-layout/ap-info-layout.vue.d.ts +20 -19
  431. package/lib/src/ap-layout/index.d.ts +0 -1
  432. package/lib/src/ap-list/hooks/use-offline-list.d.ts +0 -1
  433. package/lib/src/ap-list/index.d.ts +0 -1
  434. package/lib/src/ap-list/index.vue.d.ts +9 -122
  435. package/lib/src/ap-list/interface.d.ts +0 -1
  436. package/lib/src/ap-modal/index.d.ts +0 -1
  437. package/lib/src/ap-modal/type.d.ts +0 -1
  438. package/lib/src/ap-modal/utils/createModal.d.ts +0 -1
  439. package/lib/src/ap-table/ap-table.vue.d.ts +16 -2222
  440. package/lib/src/ap-table/ap-table.vue.js +1 -1
  441. package/lib/src/ap-table/components/index/index.vue.d.ts +11 -12
  442. package/lib/src/ap-table/components/interface.d.ts +0 -1
  443. package/lib/src/ap-table/components/status/index.vue.d.ts +2 -3
  444. package/lib/src/ap-table/constants.d.ts +4816 -6356
  445. package/lib/src/ap-table/hooks/use-table-paging.d.ts +0 -1
  446. package/lib/src/ap-table/hooks/use-table-row-selection.d.ts +0 -1
  447. package/lib/src/ap-table/index.d.ts +0 -1
  448. package/lib/src/ap-table/interface.d.ts +0 -1
  449. package/lib/src/ap-table/style/ap-table.css +1 -21
  450. package/lib/src/ap-table/utils.d.ts +1 -2
  451. package/lib/src/ap-tag/ap-tag-group.vue.d.ts +14 -13
  452. package/lib/src/ap-tag/ap-tag.vue.d.ts +13 -14
  453. package/lib/src/ap-tag/index.d.ts +0 -1
  454. package/lib/src/ap-tag/interface.d.ts +0 -1
  455. package/lib/src/ap-upload/apUpload.vue.d.ts +2 -3
  456. package/lib/src/ap-upload/apUploadTypes.d.ts +0 -1
  457. package/lib/src/ap-upload/components/MultipleFile.vue.d.ts +0 -1
  458. package/lib/src/ap-upload/components/Picture.vue.d.ts +0 -1
  459. package/lib/src/ap-upload/components/SingleFile.vue.d.ts +0 -1
  460. package/lib/src/ap-upload/hooks/useOss.d.ts +0 -1
  461. package/lib/src/ap-upload/index.d.ts +0 -1
  462. package/lib/src/ap-upload/utils/accept.d.ts +0 -1
  463. package/lib/src/base-button/button.vue.d.ts +17 -16
  464. package/lib/src/base-button/constants.d.ts +0 -1
  465. package/lib/src/base-button/index.d.ts +55 -55
  466. package/lib/src/base-button/interface.d.ts +0 -1
  467. package/lib/src/basic/arrow.vue.d.ts +2 -3
  468. package/lib/src/basic/help.vue.d.ts +4 -9
  469. package/lib/src/basic/index.d.ts +27 -35
  470. package/lib/src/basic/interface.d.ts +0 -1
  471. package/lib/src/basic/title.vue.d.ts +16 -15
  472. package/lib/src/business/ap-export-group/ApExportGroup.vue.d.ts +2 -3
  473. package/lib/src/business/ap-export-group/interface.d.ts +0 -1
  474. package/lib/src/business/ap-label/ApLabel.vue.d.ts +17 -16
  475. package/lib/src/business/ap-label/index.d.ts +0 -1
  476. package/lib/src/business/ap-label/interface.d.ts +0 -1
  477. package/lib/src/business/ap-select-layout/index.css +8 -0
  478. package/lib/src/business/ap-select-layout/index.d.ts +0 -1
  479. package/lib/src/business/ap-select-layout/select-layout.vue.d.ts +16 -58
  480. package/lib/src/business/ap-status/ApStatus.vue.d.ts +11 -12
  481. package/lib/src/business/ap-status/ApStatusGroup.vue.d.ts +14 -17
  482. package/lib/src/business/ap-status/ApStatusGroup.vue2.js +1 -1
  483. package/lib/src/business/ap-status/index.d.ts +0 -1
  484. package/lib/src/business/expandAlert/ApExpandAlert.vue.d.ts +18 -17
  485. package/lib/src/business/index.d.ts +213 -248
  486. package/lib/src/business/title/ApTitle.vue.d.ts +19 -18
  487. package/lib/src/button/button.vue.d.ts +25 -0
  488. package/lib/src/button/index.d.ts +7 -7
  489. package/lib/src/check-card/checked.svg.js +1 -1
  490. package/lib/src/check-card/context.d.ts +0 -1
  491. package/lib/src/check-card/group.vue.d.ts +21 -20
  492. package/lib/src/check-card/index.d.ts +0 -1
  493. package/lib/src/check-card/index.vue.d.ts +16 -15
  494. package/lib/src/check-card/index.vue2.js +1 -1
  495. package/lib/src/check-card/interface.d.ts +0 -1
  496. package/lib/src/check-card/style/index.css +10 -42
  497. package/lib/src/config-provider/config-provider-props.d.ts +22 -23
  498. package/lib/src/config-provider/config-provider.d.ts +59 -204
  499. package/lib/src/config-provider/constants.d.ts +0 -1
  500. package/lib/src/config-provider/hooks/use-global-config.d.ts +24 -25
  501. package/lib/src/config-provider/hooks/use-locale.d.ts +0 -1
  502. package/lib/src/config-provider/hooks/use-namespace.d.ts +0 -1
  503. package/lib/src/config-provider/index.d.ts +129 -130
  504. package/lib/src/container/collapse/header.vue.d.ts +4 -5
  505. package/lib/src/container/collapse/index.vue.d.ts +5 -6
  506. package/lib/src/container/index.d.ts +26 -26
  507. package/lib/src/container/scroll-container.vue.d.ts +13 -12
  508. package/lib/src/count-down/button.vue.d.ts +11 -12
  509. package/lib/src/count-down/index.d.ts +13 -13
  510. package/lib/src/count-down/input.vue.d.ts +14 -13
  511. package/lib/src/count-down/interface.d.ts +0 -1
  512. package/lib/src/cropper/cropper-avatar.vue.d.ts +12 -13
  513. package/lib/src/cropper/cropper-image.vue.d.ts +12 -13
  514. package/lib/src/cropper/cropper-modal.vue.d.ts +0 -1
  515. package/lib/src/cropper/index.d.ts +63 -63
  516. package/lib/src/cropper/interface.d.ts +0 -1
  517. package/lib/src/description/description.vue.d.ts +1 -2
  518. package/lib/src/description/index.d.ts +10 -10
  519. package/lib/src/description/interface.d.ts +0 -1
  520. package/lib/src/description/use-description.d.ts +0 -1
  521. package/lib/src/design-token/index.d.ts +0 -1
  522. package/lib/src/design-token/index.js +1 -1
  523. package/lib/src/dropdown/dropdown.vue.d.ts +18 -17
  524. package/lib/src/dropdown/index.d.ts +18 -18
  525. package/lib/src/dropdown/interface.d.ts +0 -1
  526. package/lib/src/editable-table/form-item.vue.d.ts +14 -915
  527. package/lib/src/editable-table/form-item.vue.js +1 -1
  528. package/lib/src/editable-table/hooks/use-get-columns.d.ts +0 -1
  529. package/lib/src/editable-table/index.d.ts +0 -1
  530. package/lib/src/editable-table/index.vue.d.ts +18 -568
  531. package/lib/src/editable-table/index.vue.js +1 -1
  532. package/lib/src/editable-table/interface.d.ts +0 -1
  533. package/lib/src/editable-table/style/index.css +1 -21
  534. package/lib/src/editable-table/utils.d.ts +0 -1
  535. package/lib/src/hooks/useControllableValue.d.ts +0 -1
  536. package/lib/src/hooks/useMessage.d.ts +0 -1
  537. package/lib/src/icon/icon.vue.d.ts +12 -12
  538. package/lib/src/icon/index.d.ts +36 -36
  539. package/lib/src/icon/svg-icon.vue.d.ts +11 -12
  540. package/lib/src/icon-picker/icon-picker.vue.d.ts +12 -13
  541. package/lib/src/icon-picker/index.d.ts +25 -25
  542. package/lib/src/locale/index.d.ts +0 -1
  543. package/lib/src/locale/lang/en.d.ts +0 -1
  544. package/lib/src/locale/lang/en.js +1 -1
  545. package/lib/src/locale/lang/zh-cn.d.ts +0 -1
  546. package/lib/src/locale/lang/zh-cn.js +1 -1
  547. package/lib/src/modal/basic.vue.d.ts +18 -206
  548. package/lib/src/modal/components/modal-close.vue.d.ts +11 -12
  549. package/lib/src/modal/components/modal-footer.vue.d.ts +20 -209
  550. package/lib/src/modal/components/modal-header.vue.d.ts +2 -3
  551. package/lib/src/modal/components/modal-wrapper.vue.d.ts +7 -5
  552. package/lib/src/modal/components/modal.d.ts +11 -201
  553. package/lib/src/modal/hooks/use-moda-full-screen.d.ts +0 -1
  554. package/lib/src/modal/hooks/use-modal-drag.d.ts +0 -1
  555. package/lib/src/modal/hooks/use-modal.d.ts +0 -1
  556. package/lib/src/modal/index.d.ts +37 -130
  557. package/lib/src/modal/interface.d.ts +0 -1
  558. package/lib/src/modal/props.d.ts +6 -103
  559. package/lib/src/pro-form/component-map.d.ts +0 -1
  560. package/lib/src/pro-form/components/api-cascader.vue.d.ts +11 -12
  561. package/lib/src/pro-form/components/api-radio-group.vue.d.ts +12 -13
  562. package/lib/src/pro-form/components/api-select.vue.d.ts +15 -14
  563. package/lib/src/pro-form/components/api-transfer.vue.d.ts +14 -15
  564. package/lib/src/pro-form/components/api-tree-select.vue.d.ts +14 -13
  565. package/lib/src/pro-form/components/api-tree.vue.d.ts +15 -14
  566. package/lib/src/pro-form/components/form-action.vue.d.ts +19 -18
  567. package/lib/src/pro-form/components/form-item.vue.d.ts +0 -1
  568. package/lib/src/pro-form/components/interface.d.ts +0 -1
  569. package/lib/src/pro-form/components/radio-button-group.vue.d.ts +11 -12
  570. package/lib/src/pro-form/helper.d.ts +1 -2
  571. package/lib/src/pro-form/helper.js +1 -1
  572. package/lib/src/pro-form/hooks/use-advanced.d.ts +0 -1
  573. package/lib/src/pro-form/hooks/use-auto-focus.d.ts +0 -1
  574. package/lib/src/pro-form/hooks/use-component-register.d.ts +0 -1
  575. package/lib/src/pro-form/hooks/use-form-events.d.ts +0 -1
  576. package/lib/src/pro-form/hooks/use-form-events.js +1 -1
  577. package/lib/src/pro-form/hooks/use-form-item.d.ts +0 -1
  578. package/lib/src/pro-form/hooks/use-form-values.d.ts +0 -1
  579. package/lib/src/pro-form/hooks/use-form.d.ts +0 -1
  580. package/lib/src/pro-form/hooks/use-label-width.d.ts +122 -123
  581. package/lib/src/pro-form/index.d.ts +0 -1
  582. package/lib/src/pro-form/pro-form.vue.d.ts +24 -23
  583. package/lib/src/pro-form/table-form-inner.vue.d.ts +13 -14
  584. package/lib/src/pro-form/table-form.vue.d.ts +12 -13
  585. package/lib/src/pro-form/types/form-item.d.ts +0 -1
  586. package/lib/src/pro-form/types/form.d.ts +0 -1
  587. package/lib/src/pro-form/types/index.d.ts +37 -38
  588. package/lib/src/pro-form/types/table-form.d.ts +0 -1
  589. package/lib/src/pro-table/component-map.d.ts +0 -1
  590. package/lib/src/pro-table/components/edit-table-header-icon.vue.d.ts +6 -4
  591. package/lib/src/pro-table/components/editable/cell-component.d.ts +0 -1
  592. package/lib/src/pro-table/components/editable/editable-cell.vue.d.ts +7 -8
  593. package/lib/src/pro-table/components/editable/editable-cell.vue2.js +1 -1
  594. package/lib/src/pro-table/components/editable/helper.d.ts +0 -1
  595. package/lib/src/pro-table/components/editable/index.d.ts +0 -1
  596. package/lib/src/pro-table/components/header-cell.vue.d.ts +0 -1
  597. package/lib/src/pro-table/components/settings/column-setting.vue.d.ts +0 -1
  598. package/lib/src/pro-table/components/settings/index.vue.d.ts +0 -1
  599. package/lib/src/pro-table/components/table-action.vue.d.ts +7 -6
  600. package/lib/src/pro-table/components/table-footer.vue.d.ts +19 -20
  601. package/lib/src/pro-table/components/table-header.vue.d.ts +11 -10
  602. package/lib/src/pro-table/components/table-image.vue.d.ts +12 -13
  603. package/lib/src/pro-table/components/table-selection-bar.vue.d.ts +15 -16
  604. package/lib/src/pro-table/components/table-title.vue.d.ts +0 -1
  605. package/lib/src/pro-table/const.d.ts +0 -1
  606. package/lib/src/pro-table/directives/click-outside.d.ts +0 -1
  607. package/lib/src/pro-table/helper.d.ts +0 -1
  608. package/lib/src/pro-table/hooks/use-columns.d.ts +0 -1
  609. package/lib/src/pro-table/hooks/use-custom-row.d.ts +0 -1
  610. package/lib/src/pro-table/hooks/use-data-source.d.ts +1 -2
  611. package/lib/src/pro-table/hooks/use-loading.d.ts +0 -1
  612. package/lib/src/pro-table/hooks/use-pagination.d.ts +0 -1
  613. package/lib/src/pro-table/hooks/use-row-selection.d.ts +0 -1
  614. package/lib/src/pro-table/hooks/use-scroll-to.d.ts +0 -1
  615. package/lib/src/pro-table/hooks/use-table-context.d.ts +0 -1
  616. package/lib/src/pro-table/hooks/use-table-expand.d.ts +0 -1
  617. package/lib/src/pro-table/hooks/use-table-footer.d.ts +0 -1
  618. package/lib/src/pro-table/hooks/use-table-form.d.ts +0 -1
  619. package/lib/src/pro-table/hooks/use-table-header.d.ts +0 -1
  620. package/lib/src/pro-table/hooks/use-table-scroll.d.ts +3 -4
  621. package/lib/src/pro-table/hooks/use-table-scroll.js +1 -1
  622. package/lib/src/pro-table/hooks/use-table-style.d.ts +0 -1
  623. package/lib/src/pro-table/hooks/use-table.d.ts +0 -1
  624. package/lib/src/pro-table/interface.d.ts +0 -1
  625. package/lib/src/pro-table/pro-table.vue.d.ts +43 -42
  626. package/lib/src/pro-table/types/pagination.d.ts +0 -1
  627. package/lib/src/pro-table/types/table-action.d.ts +0 -1
  628. package/lib/src/pro-table/types/table.d.ts +0 -1
  629. package/lib/src/prompt/dialog.vue.d.ts +2 -3
  630. package/lib/src/prompt/index.d.ts +0 -1
  631. package/lib/src/prompt/interface.d.ts +0 -1
  632. package/lib/src/prompt/utils.d.ts +2 -2
  633. package/lib/src/scroll-bar/bar-item.d.ts +0 -1
  634. package/lib/src/scroll-bar/index.d.ts +27 -27
  635. package/lib/src/scroll-bar/interface.d.ts +0 -1
  636. package/lib/src/scroll-bar/scroll-bar.vue.d.ts +18 -17
  637. package/lib/src/scroll-bar/utils.d.ts +0 -1
  638. package/lib/src/strength-meter/index.d.ts +19 -19
  639. package/lib/src/strength-meter/strength-meter.vue.d.ts +14 -13
  640. package/lib/src/tests/wrapper.d.ts +8 -0
  641. package/lib/src/theme/antd-global-overwrite/admin/index.css +5 -5
  642. package/lib/src/theme/antd-global-overwrite/admin/steps.css +5 -5
  643. package/lib/src/theme/antd-global-overwrite/aplus/form.css +1 -1
  644. package/lib/src/theme/antd-global-overwrite/aplus/index.css +6 -6
  645. package/lib/src/theme/antd-global-overwrite/aplus/steps.css +5 -5
  646. package/lib/src/theme/ap-action/item.css +10 -25
  647. package/lib/src/theme/ap-field/checkbox.css +7 -0
  648. package/lib/src/theme/ap-field/radio.css +4 -0
  649. package/lib/src/theme/ap-form/ap-form-item.css +6 -6
  650. package/lib/src/theme/ap-select-layout/ap-select-layout.css +8 -0
  651. package/lib/src/theme/ap-table/ap-table.css +1 -21
  652. package/lib/src/theme/check-card/index.css +10 -42
  653. package/lib/src/theme/css-var/index.js +1 -1
  654. package/lib/src/theme/editable-table/index.css +1 -21
  655. package/lib/src/transition/collapse-transition.vue.d.ts +4 -3
  656. package/lib/src/transition/create-transition.d.ts +0 -1
  657. package/lib/src/type.d.ts +0 -1
  658. package/lib/src/utils/config-provider-preset.d.ts +16 -17
  659. package/lib/src/utils/index.d.ts +0 -1
  660. package/lib/src/utils/slot.d.ts +0 -1
  661. package/lib/src/utils/tree.d.ts +0 -1
  662. package/lib/src/work-order-modal/createWorkOrder.d.ts +0 -1
  663. package/lib/src/work-order-modal/index.d.ts +0 -1
  664. package/lib/src/work-order-modal/interfaces.d.ts +0 -1
  665. package/lib/src/work-order-modal/work-order-modal.vue.d.ts +3 -4
  666. package/package.json +3 -3
@@ -48,31 +48,11 @@
48
48
  flex: 1;
49
49
  }
50
50
  .aplus-ap-table-table tr > th.ant-table-cell {
51
- background-color: #F2F6F9;
52
- border-bottom-color: #E9EDF3;
51
+ background-color: var(--ap-table-header-bg, #F2F6F9);
53
52
  }
54
53
  .aplus-ap-table-table tr > th.ant-table-cell::before {
55
54
  display: none;
56
55
  }
57
- .aplus-ap-table-table tr > td.ant-table-cell {
58
- border-top-color: #E9EDF3;
59
- }
60
- .aplus-ap-table-table-admin .ant-pagination {
61
- margin-bottom: 0 !important;
62
- }
63
- .aplus-ap-table-table-admin .ant-pagination .ant-pagination-total-text {
64
- flex: 1;
65
- }
66
- .aplus-ap-table-table-admin tr > th.ant-table-cell {
67
- background-color: #FAFAFA;
68
- border-bottom-color: #E9E9E9;
69
- }
70
- .aplus-ap-table-table-admin tr > th.ant-table-cell::before {
71
- display: none;
72
- }
73
- .aplus-ap-table-table-admin tr > td.ant-table-cell {
74
- border-top-color: #E9E9E9;
75
- }
76
56
  .aplus-ap-table .ant-table.ant-table-middle .ant-table-row .ant-table-cell {
77
57
  padding: 12px 16px;
78
58
  }
@@ -7,13 +7,13 @@
7
7
  cursor: not-allowed;
8
8
  }
9
9
  .aplus-check-card--bordered {
10
- outline: 1px solid var(--check-card-border-color);
10
+ outline: 1px solid var(--check-card-outline-color, #E9EDF3);
11
11
  }
12
- .aplus-check-card-aplus:hover {
12
+ .aplus-check-card:hover {
13
13
  cursor: pointer;
14
- outline: 1px solid #0070ff;
14
+ outline: 1px solid var(--check-card-hover-outline-color, #0070ff);
15
15
  }
16
- .aplus-check-card-aplus::after {
16
+ .aplus-check-card::after {
17
17
  content: '';
18
18
  position: absolute;
19
19
  width: 0;
@@ -25,47 +25,15 @@
25
25
  border-block-end: 16px solid transparent;
26
26
  border-radius: 4px;
27
27
  }
28
- .aplus-check-card-aplus--checked {
29
- outline: 2px solid #0070ff;
28
+ .aplus-check-card--checked {
29
+ outline: 2px solid var(--check-card-checked-outline-color, #0070ff);
30
30
  }
31
- .aplus-check-card-aplus--checked:hover {
32
- outline: 2px solid #0070ff;
31
+ .aplus-check-card--checked:hover {
32
+ outline: 2px solid var(--check-card-checked-outline-color, #0070ff);
33
33
  }
34
- .aplus-check-card-aplus--checked::after {
34
+ .aplus-check-card--checked::after {
35
35
  opacity: 1;
36
- border: 16px solid #0070ff;
37
- border-inline-start: 16px solid transparent;
38
- border-block-end: 16px solid transparent;
39
- inset-block-start: -2px;
40
- inset-inline-end: -2px;
41
- transition: all 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
42
- }
43
- .aplus-check-card-admin:hover {
44
- cursor: pointer;
45
- outline: 1px solid #34b77c;
46
- }
47
- .aplus-check-card-admin::after {
48
- content: '';
49
- position: absolute;
50
- width: 0px;
51
- height: 0px;
52
- opacity: 0;
53
- inset-block-start: -2px;
54
- inset-inline-end: -2px;
55
- border-inline-start: 16px solid transparent;
56
- border-block-end: 16px solid transparent;
57
- border-radius: 4px;
58
- }
59
- .aplus-check-card-admin--checked {
60
- outline: 2px solid #34b77c;
61
- }
62
- .aplus-check-card-admin--checked:hover {
63
- outline: 2px solid #34b77c;
64
- }
65
- .aplus-check-card-admin--checked::after {
66
- content: '';
67
- opacity: 1;
68
- border: 16px solid #34b77c;
36
+ border: 16px solid var(--check-card-checked-bg, #0070ff);
69
37
  border-inline-start: 16px solid transparent;
70
38
  border-block-end: 16px solid transparent;
71
39
  inset-block-start: -2px;
@@ -1,13 +1,45 @@
1
- const d = {
1
+ const i = {
2
2
  "ap-form": {
3
3
  bordered: {
4
4
  "border-color": {
5
- base: "#dee4ed",
6
- hover: "#66a9ff",
7
- active: "#66a9ff"
5
+ base: "#DEE4ED",
6
+ hover: "#66A9FF",
7
+ active: "#66A9FF"
8
8
  },
9
9
  "shadow-color": "rgba(5, 155, 255, 0.1)"
10
10
  }
11
+ },
12
+ "ap-action": {
13
+ color: {
14
+ primary: {
15
+ base: "#0070FF",
16
+ hover: "#66A9FF"
17
+ },
18
+ success: "#2ED1A3",
19
+ error: "#FF4D4F",
20
+ warn: "#FFA940"
21
+ }
22
+ },
23
+ "check-card": {
24
+ outline: {
25
+ color: "#E9EDF3"
26
+ },
27
+ hover: {
28
+ outline: {
29
+ color: "#0070FF"
30
+ }
31
+ },
32
+ checked: {
33
+ outline: {
34
+ color: "#0070FF"
35
+ },
36
+ bg: "#0070FF"
37
+ }
38
+ },
39
+ "ap-table": {
40
+ header: {
41
+ bg: "#F2F6F9"
42
+ }
11
43
  }
12
44
  }, b = {
13
45
  "ap-form": {
@@ -19,27 +51,59 @@ const d = {
19
51
  },
20
52
  "shadow-color": "rgba(11, 166, 66, 0.09)"
21
53
  }
54
+ },
55
+ "ap-action": {
56
+ color: {
57
+ primary: {
58
+ base: "#1890FF",
59
+ hover: "#5EB1FF"
60
+ },
61
+ success: "#52C41A",
62
+ error: "#FF4D4F",
63
+ warn: "#FAAD14"
64
+ }
65
+ },
66
+ "check-card": {
67
+ outline: {
68
+ color: "#D9D9D9"
69
+ },
70
+ hover: {
71
+ outline: {
72
+ color: "#34B77C"
73
+ }
74
+ },
75
+ checked: {
76
+ outline: {
77
+ color: "#34B77C"
78
+ },
79
+ bg: "#34B77C"
80
+ }
81
+ },
82
+ "ap-table": {
83
+ header: {
84
+ bg: "#FAFAFA"
85
+ }
22
86
  }
23
87
  };
24
- function c(r) {
25
- const e = {};
26
- function o(t, f) {
27
- const l = Object.keys(t);
28
- for (const a of l) {
29
- const s = t[a], n = [...f, a];
30
- s !== null && typeof s == "object" ? o(s, n) : e[`--${n.join("-")}`] = s;
88
+ function n(c) {
89
+ const o = {};
90
+ function e(s, F) {
91
+ const l = Object.keys(s);
92
+ for (const t of l) {
93
+ const r = s[t], a = [...F, t];
94
+ r !== null && typeof r == "object" ? e(r, a) : o[`--${a.join("-")}`] = r;
31
95
  }
32
96
  }
33
- return o(r, []), e;
97
+ return e(c, []), o;
34
98
  }
35
- const i = c(d), u = c(b);
36
- function m(r) {
37
- Object.entries(r).forEach(([e, o]) => {
38
- document.documentElement.style.setProperty(e, o);
99
+ const u = n(i), d = n(b);
100
+ function h(c) {
101
+ Object.entries(c).forEach(([o, e]) => {
102
+ document.documentElement.style.setProperty(o, e);
39
103
  });
40
104
  }
41
105
  export {
42
- u as adminCssVar,
43
- i as aplusCssVar,
44
- m as setCSSVariables
106
+ d as adminCssVar,
107
+ u as aplusCssVar,
108
+ h as setCSSVariables
45
109
  };
@@ -12,31 +12,11 @@
12
12
  flex: 1;
13
13
  }
14
14
  .aplus-editable-table tr > th.ant-table-cell {
15
- background-color: #F2F6F9;
16
- border-bottom-color: #E9EDF3;
15
+ background-color: var(--ap-table-header-bg, #F2F6F9);
17
16
  }
18
17
  .aplus-editable-table tr > th.ant-table-cell::before {
19
18
  display: none;
20
19
  }
21
- .aplus-editable-table tr > td.ant-table-cell {
22
- border-top-color: #E9EDF3;
23
- }
24
- .aplus-editable-table-admin .ant-pagination {
25
- margin-bottom: 0 !important;
26
- }
27
- .aplus-editable-table-admin .ant-pagination .ant-pagination-total-text {
28
- flex: 1;
29
- }
30
- .aplus-editable-table-admin tr > th.ant-table-cell {
31
- background-color: #FAFAFA;
32
- border-bottom-color: #E9E9E9;
33
- }
34
- .aplus-editable-table-admin tr > th.ant-table-cell::before {
35
- display: none;
36
- }
37
- .aplus-editable-table-admin tr > td.ant-table-cell {
38
- border-top-color: #E9E9E9;
39
- }
40
20
  .aplus-editable-table .ant-table.ant-table-middle .ant-table-row .ant-table-cell:has(.is-editable) {
41
21
  padding: 20px 16px 0px;
42
22
  }
@@ -1,8 +1,9 @@
1
1
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
2
-
3
- declare const _default: __VLS_WithTemplateSlots< DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{}>>, {}, {}>, {
2
+ declare function __VLS_template(): {
4
3
  default?(_: {}): any;
5
- }>;
4
+ };
5
+ declare const __VLS_component: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{}>>, {}, {}>;
6
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
6
7
  export default _default;
7
8
  type __VLS_WithTemplateSlots<T, S> = T & {
8
9
  new (): {
@@ -1,5 +1,4 @@
1
1
  import { PropType, DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
2
-
3
2
  type Mode = 'in-out' | 'out-in' | 'default' | undefined;
4
3
  export declare function createSimpleTransition(name: string, origin?: string, mode?: Mode): DefineComponent<{
5
4
  group: {
package/es/src/type.d.ts CHANGED
@@ -1,5 +1,4 @@
1
1
  import { CSSProperties, VNode } from 'vue';
2
-
3
2
  export type StyleValue = string | CSSProperties | Array<StyleValue>;
4
3
  export type Nullable<T> = T | null;
5
4
  export type Recordable<T = any> = Record<string, T>;
@@ -1,14 +1,13 @@
1
1
  import { TransformCellTextProps } from 'ant-design-vue/lib/table/interface';
2
2
  import { ConfigProviderProps } from 'ant-design-vue';
3
- import { ThemeConfig } from 'ant-design-vue/es/config-provider/context';
4
3
  import { ValidateMessages } from 'ant-design-vue/es/form/interface';
5
4
  import { RequiredMark } from 'ant-design-vue/es/form/Form';
6
5
  import { CSPConfig } from 'ant-design-vue/es/config-provider';
7
6
  import { Locale } from 'ant-design-vue/es/locale';
8
7
  import { ButtonSize } from 'ant-design-vue/es/button';
8
+ import { ThemeConfig } from 'ant-design-vue/es/config-provider/context';
9
9
  import { default as __DTS_DEFAULT_0__ } from 'ant-design-vue/es/config-provider/renderEmpty';
10
10
  import { TransformCellTextProps } from 'ant-design-vue/es/table/interface';
11
-
12
11
  /**
13
12
  * 弹出框(Select, Tooltip, Menu 等等)渲染父节点,默认渲染到 body 上
14
13
  * 解决弹出框滚动问题
@@ -37,39 +36,39 @@ export declare const antdConfigProviderPresets: Partial<ConfigProviderProps>;
37
36
  * @returns
38
37
  */
39
38
  export declare function mergeAntdProvideConfig(config: ConfigProviderProps): {
40
- theme?: ThemeConfig | undefined;
41
- direction?: "ltr" | "rtl" | undefined;
42
39
  input?: {
43
- autocomplete?: string | undefined;
40
+ autocomplete?: string;
44
41
  } | undefined;
45
42
  select?: {
46
- showSearch?: boolean | undefined;
43
+ showSearch?: boolean;
47
44
  } | undefined;
48
45
  form?: {
49
- validateMessages?: ValidateMessages | undefined;
50
- requiredMark?: RequiredMark | undefined;
51
- colon?: boolean | undefined;
46
+ validateMessages?: ValidateMessages;
47
+ requiredMark?: RequiredMark;
48
+ colon?: boolean;
52
49
  } | undefined;
53
50
  csp?: CSPConfig | undefined;
54
51
  locale?: Locale | undefined;
55
52
  pageHeader?: {
56
- ghost?: boolean | undefined;
53
+ ghost?: boolean;
57
54
  } | undefined;
55
+ direction?: "ltr" | "rtl" | undefined;
58
56
  space?: {
59
- size?: number | ButtonSize;
57
+ size?: ButtonSize | number;
60
58
  } | undefined;
61
59
  dropdownMatchSelectWidth?: number | boolean | undefined;
62
60
  pagination?: {
63
- showSizeChanger?: boolean | undefined;
61
+ showSizeChanger?: boolean;
64
62
  } | undefined;
63
+ theme?: ThemeConfig | undefined;
65
64
  wave?: {
66
- disabled?: boolean | undefined;
65
+ disabled?: boolean;
67
66
  } | undefined;
68
- getPopupContainer?: ((triggerNode?: HTMLElement | undefined) => HTMLElement) | undefined;
69
- prefixCls?: string | undefined;
70
67
  iconPrefixCls?: string | undefined;
71
- getTargetContainer?: (() => Window | HTMLElement) | undefined;
72
- getPrefixCls?: ((suffixCls?: string | undefined, customizePrefixCls?: string | undefined) => string) | undefined;
68
+ getTargetContainer?: (() => HTMLElement | Window) | undefined;
69
+ getPopupContainer?: ((triggerNode?: HTMLElement) => HTMLElement) | undefined;
70
+ prefixCls?: string | undefined;
71
+ getPrefixCls?: ((suffixCls?: string, customizePrefixCls?: string) => string) | undefined;
73
72
  renderEmpty?: __DTS_DEFAULT_0__ | undefined;
74
73
  transformCellText?: ((tableProps: TransformCellTextProps) => any) | undefined;
75
74
  autoInsertSpaceInButton?: boolean | undefined;
@@ -1,5 +1,4 @@
1
1
  import { Recordable } from '../type';
2
-
3
2
  /**
4
3
  * @description: Set ui mount node
5
4
  */
@@ -1,6 +1,5 @@
1
1
  import { Slots, VNode, RendererNode, RendererElement } from 'vue';
2
2
  import { FormRenderOpts } from '../pro-form/interface';
3
-
4
3
  type SlotOptions = FormRenderOpts;
5
4
  /**
6
5
  * @description: Get slot to prevent empty error
@@ -6,8 +6,7 @@ function f(n, r = "default", u, t) {
6
6
  if (!o(n[r]))
7
7
  return console.error(`${r} is not a function!`), null;
8
8
  const e = n[r];
9
- if (!e)
10
- return null;
9
+ if (!e) return null;
11
10
  const i = { ...u, ...t };
12
11
  return e(i);
13
12
  }
@@ -1,5 +1,4 @@
1
1
  import { Fn } from '../type';
2
-
3
2
  interface TreeHelperConfig {
4
3
  id: string;
5
4
  children: string;
@@ -24,8 +24,7 @@ function A(r, s, e = {}) {
24
24
  e = l(e);
25
25
  const { children: t } = e, n = [...r];
26
26
  for (const o of n) {
27
- if (s(o))
28
- return o;
27
+ if (s(o)) return o;
29
28
  o[t] && n.push(...o[t]);
30
29
  }
31
30
  return null;
@@ -1,3 +1,2 @@
1
1
  import { GetOssAccess } from './interfaces';
2
-
3
2
  export declare function createWorkOrderModal(api: (args?: any) => Promise<any>, getOssAccess: GetOssAccess): void;
@@ -1,5 +1,4 @@
1
1
  import { default as WorkOrderModal } from './work-order-modal.vue';
2
-
3
2
  export * from './interfaces';
4
3
  export * from './createWorkOrder';
5
4
  export { WorkOrderModal };
@@ -1,6 +1,5 @@
1
1
  import { client } from '@aplus-frontend/oss';
2
2
  import { ModalProps } from 'ant-design-vue';
3
-
4
3
  /**
5
4
  * 表单项
6
5
  */
@@ -1,16 +1,15 @@
1
1
  import { WorkOrderModalProps } from './interfaces';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
3
-
4
- declare const _default: DefineComponent<__VLS_TypePropsToRuntimeProps<WorkOrderModalProps>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
3
+ declare const _default: DefineComponent<__VLS_TypePropsToOption<WorkOrderModalProps>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
5
4
  modalClose: () => void;
6
5
  "update:open": () => void;
7
- }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToRuntimeProps<WorkOrderModalProps>>> & {
6
+ }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToOption<WorkOrderModalProps>>> & {
8
7
  "onUpdate:open"?: (() => any) | undefined;
9
8
  onModalClose?: (() => any) | undefined;
10
9
  }, {}, {}>;
11
10
  export default _default;
12
11
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
13
- type __VLS_TypePropsToRuntimeProps<T> = {
12
+ type __VLS_TypePropsToOption<T> = {
14
13
  [K in keyof T]-?: {} extends Pick<T, K> ? {
15
14
  type: PropType<__VLS_NonUndefinedable<T[K]>>;
16
15
  } : {
package/lib/index.d.ts CHANGED
@@ -1,5 +1,4 @@
1
1
  import { App } from 'vue';
2
-
3
2
  export * from './src/index';
4
3
  export * from './src/hooks';
5
4
  declare const _default: {
@@ -1,33 +1,23 @@
1
1
  import { ApActionGroupProps, GroupActionTypes } from '../interface';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
3
3
  import { Trigger } from 'ant-design-vue/es/dropdown/props';
4
-
5
- declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ApActionGroupProps>, {
4
+ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ApActionGroupProps>, {
6
5
  count: number;
7
6
  trigger: () => string[];
8
7
  placement: string;
9
8
  actions: () => never[];
10
- }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ApActionGroupProps>, {
9
+ }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ApActionGroupProps>, {
11
10
  count: number;
12
11
  trigger: () => string[];
13
12
  placement: string;
14
13
  actions: () => never[];
15
14
  }>>>, {
15
+ placement: "top" | "topLeft" | "topRight" | "bottomLeft" | "bottomRight" | "bottom" | "topCenter" | "bottomCenter";
16
16
  trigger: Trigger | Trigger[];
17
- placement: "top" | "bottom" | "bottomLeft" | "bottomRight" | "topLeft" | "topRight" | "topCenter" | "bottomCenter";
18
17
  count: number;
19
18
  actions: GroupActionTypes[];
20
19
  }, {}>;
21
20
  export default _default;
22
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
23
- type __VLS_TypePropsToRuntimeProps<T> = {
24
- [K in keyof T]-?: {} extends Pick<T, K> ? {
25
- type: PropType<__VLS_NonUndefinedable<T[K]>>;
26
- } : {
27
- type: PropType<T[K]>;
28
- required: true;
29
- };
30
- };
31
21
  type __VLS_WithDefaults<P, D> = {
32
22
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
33
23
  default: D[K];
@@ -36,3 +26,12 @@ type __VLS_WithDefaults<P, D> = {
36
26
  type __VLS_Prettify<T> = {
37
27
  [K in keyof T]: T[K];
38
28
  } & {};
29
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
30
+ type __VLS_TypePropsToOption<T> = {
31
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
32
+ type: PropType<__VLS_NonUndefinedable<T[K]>>;
33
+ } : {
34
+ type: PropType<T[K]>;
35
+ required: true;
36
+ };
37
+ };
@@ -3,7 +3,6 @@ import { default as ApActionItemDropdown } from './item-dropdown/index.vue';
3
3
  import { default as ApActionItemModal } from './item-modal/index.vue';
4
4
  import { default as ApActionItemPopconfirm } from './item-popconfirm/index.vue';
5
5
  import { default as ApActionGroup } from './group/index.vue';
6
-
7
6
  type ApActionItemTypes = typeof _ApActionItem & {
8
7
  Dropdown: typeof ApActionItemDropdown;
9
8
  Modal: typeof ApActionItemModal;
@@ -1,6 +1,5 @@
1
1
  import { DropdownProps, ModalFuncProps, PopconfirmProps } from 'ant-design-vue';
2
2
  import { VNode } from 'vue';
3
-
4
3
  export type ActionColor = 'primary' | 'success' | 'error' | 'warn';
5
4
  export type ApActionItemProps = {
6
5
  /**
@@ -1,32 +1,24 @@
1
1
  import { ApActionItemProps, ApActionItemSlots, ActionColor } from '../interface';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
3
-
4
- declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ApActionItemProps>, {
3
+ declare function __VLS_template(): Readonly<ApActionItemSlots> & ApActionItemSlots;
4
+ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ApActionItemProps>, {
5
5
  color: string;
6
6
  disabled: boolean;
7
7
  visible: boolean;
8
8
  loading: boolean;
9
- }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ApActionItemProps>, {
9
+ }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ApActionItemProps>, {
10
10
  color: string;
11
11
  disabled: boolean;
12
12
  visible: boolean;
13
13
  loading: boolean;
14
14
  }>>>, {
15
- color: ActionColor;
16
- disabled: boolean;
17
15
  visible: boolean;
18
16
  loading: boolean;
19
- }, {}>, Readonly<ApActionItemSlots> & ApActionItemSlots>;
17
+ disabled: boolean;
18
+ color: ActionColor;
19
+ }, {}>;
20
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
20
21
  export default _default;
21
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
22
- type __VLS_TypePropsToRuntimeProps<T> = {
23
- [K in keyof T]-?: {} extends Pick<T, K> ? {
24
- type: PropType<__VLS_NonUndefinedable<T[K]>>;
25
- } : {
26
- type: PropType<T[K]>;
27
- required: true;
28
- };
29
- };
30
22
  type __VLS_WithDefaults<P, D> = {
31
23
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
32
24
  default: D[K];
@@ -40,3 +32,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
40
32
  $slots: S;
41
33
  };
42
34
  };
35
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
36
+ type __VLS_TypePropsToOption<T> = {
37
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
38
+ type: PropType<__VLS_NonUndefinedable<T[K]>>;
39
+ } : {
40
+ type: PropType<T[K]>;
41
+ required: true;
42
+ };
43
+ };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../config-provider/index.js");const m=require("ant-design-vue/es/button/LoadingIcon");require("../style/item.css");const p=require("../../config-provider/hooks/use-namespace.js"),g=require("../../config-provider/hooks/use-global-config.js"),k={key:1},b=e.defineComponent({name:"ApActionItem",__name:"index",props:{text:{},color:{default:"primary"},disabled:{type:Boolean,default:!1},visible:{type:Boolean,default:!0},onAction:{},onClick:{},loading:{type:Boolean,default:!1}},setup(s){const n=s,{b:u,m:i,bm:c}=p.useNamespace("action-item"),d=g.useGlobalConfig("uiMode","aplus"),t=e.ref(!1);function r(o){var a;e.unref(l)||n.disabled||((a=n.onClick)==null||a.call(n,o),n.onAction&&(t.value=!0,n.onAction(o).finally(()=>t.value=!1)))}const l=e.computed(()=>n.loading||e.unref(t)),f=e.computed(()=>[u(),c(e.unref(d),n.color),n.disabled?i("disabled"):null,l.value?i("loading"):null].filter(Boolean));return(o,a)=>e.renderSlot(o.$slots,"trigger",{loading:l.value,disabled:o.disabled,onClick:r},()=>[o.visible?(e.openBlock(),e.createElementBlock("span",{key:0,onClick:r,class:e.normalizeClass(f.value)},[l.value?(e.openBlock(),e.createBlock(e.unref(m),{key:0,prefixCls:"btn",existIcon:!1,loading:""})):e.createCommentVNode("",!0),e.renderSlot(o.$slots,"default",{},()=>[e.isVNode(o.text)?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(o.text),{key:0})):(e.openBlock(),e.createElementBlock("span",k,e.toDisplayString(o.text||""),1))])],2)):e.createCommentVNode("",!0)])}});exports.default=b;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../config-provider/index.js");const d=require("ant-design-vue/es/button/LoadingIcon");require("../style/item.css");const f=require("../../config-provider/hooks/use-namespace.js"),m={key:1},p=e.defineComponent({name:"ApActionItem",__name:"index",props:{text:{},color:{default:"primary"},disabled:{type:Boolean,default:!1},visible:{type:Boolean,default:!0},onAction:{},onClick:{},loading:{type:Boolean,default:!1}},setup(s){const n=s,{b:u,m:l}=f.useNamespace("action-item"),a=e.ref(!1);function i(o){var r;e.unref(t)||n.disabled||((r=n.onClick)==null||r.call(n,o),n.onAction&&(a.value=!0,n.onAction(o).finally(()=>a.value=!1)))}const t=e.computed(()=>n.loading||e.unref(a)),c=e.computed(()=>[u(),l(n.color),n.disabled?l("disabled"):null,t.value?l("loading"):null].filter(Boolean));return(o,r)=>e.renderSlot(o.$slots,"trigger",{loading:t.value,disabled:o.disabled,onClick:i},()=>[o.visible?(e.openBlock(),e.createElementBlock("span",e.mergeProps({key:0},e.toHandlers(o.$attrs,!0),{onClick:i,class:c.value}),[t.value?(e.openBlock(),e.createBlock(e.unref(d),{key:0,prefixCls:"btn",existIcon:!1,loading:""})):e.createCommentVNode("",!0),e.renderSlot(o.$slots,"default",{},()=>[e.isVNode(o.text)?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(o.text),{key:0})):(e.openBlock(),e.createElementBlock("span",m,e.toDisplayString(o.text||""),1))])],16)):e.createCommentVNode("",!0)])}});exports.default=p;
@@ -1,8 +1,10 @@
1
1
  import { ApActionItemDropdownProps, ActionColor, MixedActionTypes } from '../interface';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
3
3
  import { Trigger } from 'ant-design-vue/es/dropdown/props';
4
-
5
- declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ApActionItemDropdownProps>, {
4
+ declare function __VLS_template(): {
5
+ default?(_: {}): any;
6
+ };
7
+ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ApActionItemDropdownProps>, {
6
8
  color: string;
7
9
  disabled: boolean;
8
10
  visible: boolean;
@@ -11,7 +13,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
11
13
  placement: string;
12
14
  actions: () => never[];
13
15
  showIcon: boolean;
14
- }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ApActionItemDropdownProps>, {
16
+ }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ApActionItemDropdownProps>, {
15
17
  color: string;
16
18
  disabled: boolean;
17
19
  visible: boolean;
@@ -21,27 +23,17 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
21
23
  actions: () => never[];
22
24
  showIcon: boolean;
23
25
  }>>>, {
24
- color: ActionColor;
25
- disabled: boolean;
26
+ placement: "top" | "topLeft" | "topRight" | "bottomLeft" | "bottomRight" | "bottom" | "topCenter" | "bottomCenter";
26
27
  visible: boolean;
27
28
  loading: boolean;
29
+ disabled: boolean;
30
+ color: ActionColor;
28
31
  trigger: Trigger | Trigger[];
29
- placement: "top" | "bottom" | "bottomLeft" | "bottomRight" | "topLeft" | "topRight" | "topCenter" | "bottomCenter";
30
32
  showIcon: boolean;
31
33
  actions: MixedActionTypes[];
32
- }, {}>, {
33
- default?(_: {}): any;
34
- }>;
34
+ }, {}>;
35
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
35
36
  export default _default;
36
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
37
- type __VLS_TypePropsToRuntimeProps<T> = {
38
- [K in keyof T]-?: {} extends Pick<T, K> ? {
39
- type: PropType<__VLS_NonUndefinedable<T[K]>>;
40
- } : {
41
- type: PropType<T[K]>;
42
- required: true;
43
- };
44
- };
45
37
  type __VLS_WithDefaults<P, D> = {
46
38
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
47
39
  default: D[K];
@@ -55,3 +47,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
55
47
  $slots: S;
56
48
  };
57
49
  };
50
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
51
+ type __VLS_TypePropsToOption<T> = {
52
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
53
+ type: PropType<__VLS_NonUndefinedable<T[K]>>;
54
+ } : {
55
+ type: PropType<T[K]>;
56
+ required: true;
57
+ };
58
+ };