@aplus-frontend/ui 0.1.0 → 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 (636) 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 +21 -22
  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-popconfirm/index.vue.d.ts +26 -25
  10. package/es/src/ap-action/style/item.css +5 -5
  11. package/es/src/ap-custom-column/column-select.vue.d.ts +3 -4
  12. package/es/src/ap-custom-column/custom-column.vue.d.ts +3 -4
  13. package/es/src/ap-custom-column/index.d.ts +0 -1
  14. package/es/src/ap-custom-column/interfaces.d.ts +0 -1
  15. package/es/src/ap-custom-column/storage.mjs +11 -11
  16. package/es/src/ap-custom-column/useCacheColumnSetting.d.ts +0 -1
  17. package/es/src/ap-custom-column/utils.d.ts +0 -1
  18. package/es/src/ap-descriptions/ap-descriptions.vue.d.ts +11 -10
  19. package/es/src/ap-descriptions/formatter/index.d.ts +0 -1
  20. package/es/src/ap-descriptions/help-message/index.vue.d.ts +14 -12
  21. package/es/src/ap-descriptions/helper.d.ts +0 -1
  22. package/es/src/ap-descriptions/index.d.ts +0 -1
  23. package/es/src/ap-descriptions/interface.d.ts +0 -1
  24. package/es/src/ap-download/ap-download.vue.d.ts +18 -17
  25. package/es/src/ap-download/ap-download.vue.mjs +4 -1
  26. package/es/src/ap-download/hooks/index.d.ts +0 -1
  27. package/es/src/ap-download/index.d.ts +0 -1
  28. package/es/src/ap-download/interface.d.ts +0 -1
  29. package/es/src/ap-field/checkbox/helper.d.ts +0 -1
  30. package/es/src/ap-field/checkbox/index.vue.d.ts +11 -12
  31. package/es/src/ap-field/date/constant.d.ts +0 -1
  32. package/es/src/ap-field/date/helper.d.ts +0 -1
  33. package/es/src/ap-field/date/index.vue.d.ts +25 -24
  34. package/es/src/ap-field/date/index.vue.mjs +4 -1
  35. package/es/src/ap-field/date-range/index.vue.d.ts +23 -22
  36. package/es/src/ap-field/date-range/index.vue.mjs +7 -1
  37. package/es/src/ap-field/hooks/use-default-placeholder.d.ts +3 -3
  38. package/es/src/ap-field/index.d.ts +0 -1
  39. package/es/src/ap-field/interface.d.ts +0 -1
  40. package/es/src/ap-field/number/helper.d.ts +0 -1
  41. package/es/src/ap-field/number/index.vue.d.ts +14 -13
  42. package/es/src/ap-field/radio/helper.d.ts +0 -1
  43. package/es/src/ap-field/radio/index.vue.d.ts +11 -12
  44. package/es/src/ap-field/rate/index.vue.d.ts +19 -18
  45. package/es/src/ap-field/segmented/index.vue.d.ts +23 -22
  46. package/es/src/ap-field/select/index.vue.d.ts +20 -19
  47. package/es/src/ap-field/slider/index.vue.d.ts +14 -13
  48. package/es/src/ap-field/slider/index.vue.mjs +1 -4
  49. package/es/src/ap-field/switch/index.vue.d.ts +15 -14
  50. package/es/src/ap-field/text/index.d.ts +0 -1
  51. package/es/src/ap-field/text/index.vue.d.ts +17 -16
  52. package/es/src/ap-field/text/input-password-props.d.ts +0 -1
  53. package/es/src/ap-field/text/password.vue.d.ts +18 -17
  54. package/es/src/ap-field/text-area/index.vue.d.ts +13 -14
  55. package/es/src/ap-form/ap-form-item-group/helper.d.ts +0 -1
  56. package/es/src/ap-form/ap-form-item-group/index.vue.d.ts +19 -18
  57. package/es/src/ap-form/ap-form-item.vue.d.ts +15 -14
  58. package/es/src/ap-form/ap-form-list.vue.d.ts +9 -8
  59. package/es/src/ap-form/ap-form.vue.d.ts +22 -21
  60. package/es/src/ap-form/constant.d.ts +0 -1
  61. package/es/src/ap-form/context.d.ts +0 -1
  62. package/es/src/ap-form/hooks/use-watch.d.ts +0 -1
  63. package/es/src/ap-form/hooks/use-watch.mjs +7 -7
  64. package/es/src/ap-form/index.d.ts +0 -1
  65. package/es/src/ap-form/interface.d.ts +0 -1
  66. package/es/src/ap-form/items/checkbox/index.vue.d.ts +17 -16
  67. package/es/src/ap-form/items/date/index.vue.d.ts +38 -37
  68. package/es/src/ap-form/items/date-range/index.vue.d.ts +38 -37
  69. package/es/src/ap-form/items/index.d.ts +0 -1
  70. package/es/src/ap-form/items/interface.d.ts +0 -1
  71. package/es/src/ap-form/items/number/index.vue.d.ts +31 -30
  72. package/es/src/ap-form/items/radio/index.vue.d.ts +17 -16
  73. package/es/src/ap-form/items/select/index.vue.d.ts +41 -40
  74. package/es/src/ap-form/items/switch/index.vue.d.ts +25 -24
  75. package/es/src/ap-form/items/text/index.d.ts +0 -1
  76. package/es/src/ap-form/items/text/index.vue.d.ts +31 -30
  77. package/es/src/ap-form/items/text/password.vue.d.ts +31 -30
  78. package/es/src/ap-form/items/text-area/index.vue.d.ts +18 -17
  79. package/es/src/ap-form/modal-form/index.vue.d.ts +30 -29
  80. package/es/src/ap-form/search-form/index.vue.d.ts +23 -22
  81. package/es/src/ap-form/search-form/utils.d.ts +0 -1
  82. package/es/src/ap-form/search-form/utils.mjs +1 -2
  83. package/es/src/ap-form/style/ap-form-item.css +6 -6
  84. package/es/src/ap-layout/ap-info-layout/ap-info-layout.vue.d.ts +20 -19
  85. package/es/src/ap-layout/index.d.ts +0 -1
  86. package/es/src/ap-list/hooks/use-offline-list.d.ts +0 -1
  87. package/es/src/ap-list/index.d.ts +0 -1
  88. package/es/src/ap-list/index.vue.d.ts +9 -122
  89. package/es/src/ap-list/interface.d.ts +0 -1
  90. package/es/src/ap-modal/index.d.ts +0 -1
  91. package/es/src/ap-modal/type.d.ts +0 -1
  92. package/es/src/ap-modal/utils/createModal.d.ts +0 -1
  93. package/es/src/ap-table/ap-table.vue.d.ts +16 -2222
  94. package/es/src/ap-table/components/index/index.vue.d.ts +11 -12
  95. package/es/src/ap-table/components/interface.d.ts +0 -1
  96. package/es/src/ap-table/components/status/index.vue.d.ts +2 -3
  97. package/es/src/ap-table/constants.d.ts +4804 -6359
  98. package/es/src/ap-table/hooks/use-table-paging.d.ts +0 -1
  99. package/es/src/ap-table/hooks/use-table-row-selection.d.ts +0 -1
  100. package/es/src/ap-table/index.d.ts +0 -1
  101. package/es/src/ap-table/interface.d.ts +0 -1
  102. package/es/src/ap-table/style/ap-table.css +1 -1
  103. package/es/src/ap-table/utils.d.ts +1 -2
  104. package/es/src/ap-tag/ap-tag-group.vue.d.ts +14 -13
  105. package/es/src/ap-tag/ap-tag-group.vue.mjs +8 -7
  106. package/es/src/ap-tag/ap-tag.vue.d.ts +13 -14
  107. package/es/src/ap-tag/index.d.ts +0 -1
  108. package/es/src/ap-tag/interface.d.ts +0 -1
  109. package/es/src/ap-upload/apUpload.vue.d.ts +2 -3
  110. package/es/src/ap-upload/apUpload.vue.mjs +4 -1
  111. package/es/src/ap-upload/apUploadTypes.d.ts +0 -1
  112. package/es/src/ap-upload/components/MultipleFile.vue.d.ts +0 -1
  113. package/es/src/ap-upload/components/Picture.vue.d.ts +0 -1
  114. package/es/src/ap-upload/components/Picture.vue2.mjs +15 -5
  115. package/es/src/ap-upload/components/SingleFile.vue.d.ts +0 -1
  116. package/es/src/ap-upload/components/SingleFile.vue2.mjs +5 -1
  117. package/es/src/ap-upload/hooks/useOss.d.ts +0 -1
  118. package/es/src/ap-upload/index.d.ts +0 -1
  119. package/es/src/ap-upload/utils/accept.d.ts +0 -1
  120. package/es/src/ap-upload/utils/accept.mjs +1 -2
  121. package/es/src/base-button/button.vue.d.ts +17 -16
  122. package/es/src/base-button/constants.d.ts +0 -1
  123. package/es/src/base-button/index.d.ts +55 -55
  124. package/es/src/base-button/interface.d.ts +0 -1
  125. package/es/src/basic/arrow.vue.d.ts +2 -3
  126. package/es/src/basic/help.vue.d.ts +4 -9
  127. package/es/src/basic/index.d.ts +27 -35
  128. package/es/src/basic/interface.d.ts +0 -1
  129. package/es/src/basic/title.vue.d.ts +16 -15
  130. package/es/src/business/ap-export-group/ApExportGroup.vue.d.ts +2 -3
  131. package/es/src/business/ap-export-group/ApExportGroup.vue2.mjs +1 -2
  132. package/es/src/business/ap-export-group/interface.d.ts +0 -1
  133. package/es/src/business/ap-label/ApLabel.vue.d.ts +17 -16
  134. package/es/src/business/ap-label/index.d.ts +0 -1
  135. package/es/src/business/ap-label/interface.d.ts +0 -1
  136. package/es/src/business/ap-select-layout/index.css +8 -0
  137. package/es/src/business/ap-select-layout/index.d.ts +0 -1
  138. package/es/src/business/ap-select-layout/select-layout.vue.d.ts +16 -58
  139. package/es/src/business/ap-status/ApStatus.vue.d.ts +11 -12
  140. package/es/src/business/ap-status/ApStatusGroup.vue.d.ts +14 -17
  141. package/es/src/business/ap-status/index.d.ts +0 -1
  142. package/es/src/business/expandAlert/ApExpandAlert.vue.d.ts +18 -17
  143. package/es/src/business/index.d.ts +213 -248
  144. package/es/src/business/title/ApTitle.vue.d.ts +19 -18
  145. package/es/src/button/button.vue.d.ts +25 -0
  146. package/es/src/button/index.d.ts +7 -7
  147. package/es/src/check-card/checked.svg.mjs +2 -2
  148. package/es/src/check-card/context.d.ts +0 -1
  149. package/es/src/check-card/group.vue.d.ts +21 -20
  150. package/es/src/check-card/index.d.ts +0 -1
  151. package/es/src/check-card/index.vue.d.ts +16 -15
  152. package/es/src/check-card/index.vue2.mjs +16 -16
  153. package/es/src/check-card/interface.d.ts +0 -1
  154. package/es/src/check-card/style/index.css +5 -5
  155. package/es/src/config-provider/config-provider-props.d.ts +22 -23
  156. package/es/src/config-provider/config-provider.d.ts +59 -204
  157. package/es/src/config-provider/constants.d.ts +0 -1
  158. package/es/src/config-provider/hooks/use-global-config.d.ts +24 -25
  159. package/es/src/config-provider/hooks/use-locale.d.ts +0 -1
  160. package/es/src/config-provider/hooks/use-namespace.d.ts +0 -1
  161. package/es/src/config-provider/index.d.ts +129 -130
  162. package/es/src/container/collapse/header.vue.d.ts +4 -5
  163. package/es/src/container/collapse/index.vue.d.ts +5 -6
  164. package/es/src/container/index.d.ts +26 -26
  165. package/es/src/container/scroll-container.vue.d.ts +13 -12
  166. package/es/src/count-down/button.vue.d.ts +11 -12
  167. package/es/src/count-down/index.d.ts +13 -13
  168. package/es/src/count-down/input.vue.d.ts +14 -13
  169. package/es/src/count-down/interface.d.ts +0 -1
  170. package/es/src/cropper/cropper-avatar.vue.d.ts +12 -13
  171. package/es/src/cropper/cropper-image.vue.d.ts +12 -13
  172. package/es/src/cropper/cropper-modal.vue.d.ts +0 -1
  173. package/es/src/cropper/index.d.ts +63 -63
  174. package/es/src/cropper/interface.d.ts +0 -1
  175. package/es/src/description/description.vue.d.ts +1 -2
  176. package/es/src/description/index.d.ts +10 -10
  177. package/es/src/description/interface.d.ts +0 -1
  178. package/es/src/description/use-description.d.ts +0 -1
  179. package/es/src/design-token/index.d.ts +0 -1
  180. package/es/src/dropdown/dropdown.vue.d.ts +18 -17
  181. package/es/src/dropdown/index.d.ts +18 -18
  182. package/es/src/dropdown/interface.d.ts +0 -1
  183. package/es/src/editable-table/form-item.vue.d.ts +14 -915
  184. package/es/src/editable-table/hooks/use-get-columns.d.ts +0 -1
  185. package/es/src/editable-table/index.d.ts +0 -1
  186. package/es/src/editable-table/index.vue.d.ts +18 -568
  187. package/es/src/editable-table/interface.d.ts +0 -1
  188. package/es/src/editable-table/style/index.css +1 -1
  189. package/es/src/editable-table/utils.d.ts +0 -1
  190. package/es/src/hooks/useControllableValue.d.ts +0 -1
  191. package/es/src/hooks/useMessage.d.ts +0 -1
  192. package/es/src/icon/icon.vue.d.ts +12 -12
  193. package/es/src/icon/icon.vue2.mjs +3 -6
  194. package/es/src/icon/index.d.ts +36 -36
  195. package/es/src/icon/svg-icon.vue.d.ts +11 -12
  196. package/es/src/icon-picker/icon-picker.vue.d.ts +12 -13
  197. package/es/src/icon-picker/index.d.ts +25 -25
  198. package/es/src/locale/index.d.ts +0 -1
  199. package/es/src/locale/lang/en.d.ts +0 -1
  200. package/es/src/locale/lang/zh-cn.d.ts +0 -1
  201. package/es/src/modal/basic.vue.d.ts +18 -206
  202. package/es/src/modal/components/modal-close.vue.d.ts +11 -12
  203. package/es/src/modal/components/modal-footer.vue.d.ts +20 -209
  204. package/es/src/modal/components/modal-header.vue.d.ts +2 -3
  205. package/es/src/modal/components/modal-wrapper.vue.d.ts +7 -5
  206. package/es/src/modal/components/modal-wrapper.vue2.mjs +4 -8
  207. package/es/src/modal/components/modal.d.ts +11 -201
  208. package/es/src/modal/hooks/use-moda-full-screen.d.ts +0 -1
  209. package/es/src/modal/hooks/use-modal-drag.d.ts +0 -1
  210. package/es/src/modal/hooks/use-modal-drag.mjs +3 -6
  211. package/es/src/modal/hooks/use-modal.d.ts +0 -1
  212. package/es/src/modal/hooks/use-modal.mjs +1 -2
  213. package/es/src/modal/index.d.ts +37 -130
  214. package/es/src/modal/interface.d.ts +0 -1
  215. package/es/src/modal/props.d.ts +6 -103
  216. package/es/src/pro-form/component-map.d.ts +0 -1
  217. package/es/src/pro-form/components/api-cascader.vue.d.ts +11 -12
  218. package/es/src/pro-form/components/api-radio-group.vue.d.ts +12 -13
  219. package/es/src/pro-form/components/api-select.vue.d.ts +15 -14
  220. package/es/src/pro-form/components/api-transfer.vue.d.ts +14 -15
  221. package/es/src/pro-form/components/api-tree-select.vue.d.ts +14 -13
  222. package/es/src/pro-form/components/api-tree-select.vue.mjs +1 -2
  223. package/es/src/pro-form/components/api-tree.vue.d.ts +15 -14
  224. package/es/src/pro-form/components/api-tree.vue.mjs +1 -2
  225. package/es/src/pro-form/components/form-action.vue.d.ts +19 -18
  226. package/es/src/pro-form/components/form-item.vue.d.ts +0 -1
  227. package/es/src/pro-form/components/interface.d.ts +0 -1
  228. package/es/src/pro-form/components/radio-button-group.vue.d.ts +11 -12
  229. package/es/src/pro-form/helper.d.ts +1 -2
  230. package/es/src/pro-form/helper.mjs +4 -4
  231. package/es/src/pro-form/hooks/use-advanced.d.ts +0 -1
  232. package/es/src/pro-form/hooks/use-auto-focus.d.ts +0 -1
  233. package/es/src/pro-form/hooks/use-component-register.d.ts +0 -1
  234. package/es/src/pro-form/hooks/use-form-events.d.ts +0 -1
  235. package/es/src/pro-form/hooks/use-form-events.mjs +11 -11
  236. package/es/src/pro-form/hooks/use-form-item.d.ts +0 -1
  237. package/es/src/pro-form/hooks/use-form-values.d.ts +0 -1
  238. package/es/src/pro-form/hooks/use-form.d.ts +0 -1
  239. package/es/src/pro-form/hooks/use-label-width.d.ts +122 -123
  240. package/es/src/pro-form/index.d.ts +0 -1
  241. package/es/src/pro-form/pro-form.vue.d.ts +24 -23
  242. package/es/src/pro-form/table-form-inner.vue.d.ts +13 -14
  243. package/es/src/pro-form/table-form.vue.d.ts +12 -13
  244. package/es/src/pro-form/types/form-item.d.ts +0 -1
  245. package/es/src/pro-form/types/form.d.ts +0 -1
  246. package/es/src/pro-form/types/index.d.ts +37 -38
  247. package/es/src/pro-form/types/table-form.d.ts +0 -1
  248. package/es/src/pro-table/component-map.d.ts +0 -1
  249. package/es/src/pro-table/components/edit-table-header-icon.vue.d.ts +6 -4
  250. package/es/src/pro-table/components/editable/cell-component.d.ts +0 -1
  251. package/es/src/pro-table/components/editable/editable-cell.vue.d.ts +7 -8
  252. package/es/src/pro-table/components/editable/editable-cell.vue2.mjs +38 -42
  253. package/es/src/pro-table/components/editable/helper.d.ts +0 -1
  254. package/es/src/pro-table/components/editable/index.d.ts +0 -1
  255. package/es/src/pro-table/components/header-cell.vue.d.ts +0 -1
  256. package/es/src/pro-table/components/settings/column-setting.vue.d.ts +0 -1
  257. package/es/src/pro-table/components/settings/index.vue.d.ts +0 -1
  258. package/es/src/pro-table/components/table-action.vue.d.ts +7 -6
  259. package/es/src/pro-table/components/table-action.vue.mjs +4 -3
  260. package/es/src/pro-table/components/table-footer.vue.d.ts +19 -20
  261. package/es/src/pro-table/components/table-header.vue.d.ts +11 -10
  262. package/es/src/pro-table/components/table-image.vue.d.ts +12 -13
  263. package/es/src/pro-table/components/table-selection-bar.vue.d.ts +15 -16
  264. package/es/src/pro-table/components/table-title.vue.d.ts +0 -1
  265. package/es/src/pro-table/const.d.ts +0 -1
  266. package/es/src/pro-table/directives/click-outside.d.ts +0 -1
  267. package/es/src/pro-table/helper.d.ts +0 -1
  268. package/es/src/pro-table/hooks/use-columns.d.ts +0 -1
  269. package/es/src/pro-table/hooks/use-columns.mjs +3 -6
  270. package/es/src/pro-table/hooks/use-custom-row.d.ts +0 -1
  271. package/es/src/pro-table/hooks/use-custom-row.mjs +4 -8
  272. package/es/src/pro-table/hooks/use-data-source.d.ts +1 -2
  273. package/es/src/pro-table/hooks/use-data-source.mjs +2 -4
  274. package/es/src/pro-table/hooks/use-loading.d.ts +0 -1
  275. package/es/src/pro-table/hooks/use-pagination.d.ts +0 -1
  276. package/es/src/pro-table/hooks/use-row-selection.d.ts +0 -1
  277. package/es/src/pro-table/hooks/use-scroll-to.d.ts +0 -1
  278. package/es/src/pro-table/hooks/use-scroll-to.mjs +1 -2
  279. package/es/src/pro-table/hooks/use-table-context.d.ts +0 -1
  280. package/es/src/pro-table/hooks/use-table-expand.d.ts +0 -1
  281. package/es/src/pro-table/hooks/use-table-footer.d.ts +0 -1
  282. package/es/src/pro-table/hooks/use-table-footer.mjs +1 -2
  283. package/es/src/pro-table/hooks/use-table-form.d.ts +0 -1
  284. package/es/src/pro-table/hooks/use-table-header.d.ts +0 -1
  285. package/es/src/pro-table/hooks/use-table-scroll.d.ts +3 -4
  286. package/es/src/pro-table/hooks/use-table-scroll.mjs +25 -27
  287. package/es/src/pro-table/hooks/use-table-style.d.ts +0 -1
  288. package/es/src/pro-table/hooks/use-table.d.ts +0 -1
  289. package/es/src/pro-table/interface.d.ts +0 -1
  290. package/es/src/pro-table/pro-table.vue.d.ts +43 -42
  291. package/es/src/pro-table/types/pagination.d.ts +0 -1
  292. package/es/src/pro-table/types/table-action.d.ts +0 -1
  293. package/es/src/pro-table/types/table.d.ts +0 -1
  294. package/es/src/prompt/dialog.vue.d.ts +2 -3
  295. package/es/src/prompt/index.d.ts +0 -1
  296. package/es/src/prompt/interface.d.ts +0 -1
  297. package/es/src/prompt/utils.d.ts +2 -2
  298. package/es/src/scroll-bar/bar-item.d.ts +0 -1
  299. package/es/src/scroll-bar/bar-item.mjs +2 -4
  300. package/es/src/scroll-bar/index.d.ts +27 -27
  301. package/es/src/scroll-bar/interface.d.ts +0 -1
  302. package/es/src/scroll-bar/scroll-bar.vue.d.ts +18 -17
  303. package/es/src/scroll-bar/scroll-bar.vue2.mjs +1 -2
  304. package/es/src/scroll-bar/utils.d.ts +0 -1
  305. package/es/src/strength-meter/index.d.ts +19 -19
  306. package/es/src/strength-meter/strength-meter.vue.d.ts +14 -13
  307. package/es/src/strength-meter/strength-meter.vue2.mjs +1 -2
  308. package/es/src/tests/wrapper.d.ts +8 -0
  309. package/es/src/theme/antd-global-overwrite/admin/index.css +5 -5
  310. package/es/src/theme/antd-global-overwrite/admin/steps.css +5 -5
  311. package/es/src/theme/antd-global-overwrite/aplus/form.css +1 -1
  312. package/es/src/theme/antd-global-overwrite/aplus/index.css +6 -6
  313. package/es/src/theme/antd-global-overwrite/aplus/steps.css +5 -5
  314. package/es/src/theme/ap-action/item.css +5 -5
  315. package/es/src/theme/ap-form/ap-form-item.css +6 -6
  316. package/es/src/theme/ap-select-layout/ap-select-layout.css +8 -0
  317. package/es/src/theme/ap-table/ap-table.css +1 -1
  318. package/es/src/theme/check-card/index.css +5 -5
  319. package/es/src/theme/editable-table/index.css +1 -1
  320. package/es/src/transition/collapse-transition.vue.d.ts +4 -3
  321. package/es/src/transition/create-transition.d.ts +0 -1
  322. package/es/src/type.d.ts +0 -1
  323. package/es/src/utils/config-provider-preset.d.ts +16 -17
  324. package/es/src/utils/index.d.ts +0 -1
  325. package/es/src/utils/slot.d.ts +0 -1
  326. package/es/src/utils/slot.mjs +1 -2
  327. package/es/src/utils/tree.d.ts +0 -1
  328. package/es/src/utils/tree.mjs +1 -2
  329. package/es/src/work-order-modal/createWorkOrder.d.ts +0 -1
  330. package/es/src/work-order-modal/index.d.ts +0 -1
  331. package/es/src/work-order-modal/interfaces.d.ts +0 -1
  332. package/es/src/work-order-modal/work-order-modal.vue.d.ts +3 -4
  333. package/lib/index.d.ts +0 -1
  334. package/lib/src/ap-action/group/index.vue.d.ts +12 -13
  335. package/lib/src/ap-action/index.d.ts +0 -1
  336. package/lib/src/ap-action/interface.d.ts +0 -1
  337. package/lib/src/ap-action/item/index.vue.d.ts +16 -15
  338. package/lib/src/ap-action/item/index.vue2.js +1 -1
  339. package/lib/src/ap-action/item-dropdown/index.vue.d.ts +19 -18
  340. package/lib/src/ap-action/item-modal/index.vue.d.ts +16 -15
  341. package/lib/src/ap-action/item-popconfirm/index.vue.d.ts +26 -25
  342. package/lib/src/ap-action/style/item.css +5 -5
  343. package/lib/src/ap-custom-column/column-select.vue.d.ts +3 -4
  344. package/lib/src/ap-custom-column/custom-column.vue.d.ts +3 -4
  345. package/lib/src/ap-custom-column/index.d.ts +0 -1
  346. package/lib/src/ap-custom-column/interfaces.d.ts +0 -1
  347. package/lib/src/ap-custom-column/storage.js +1 -1
  348. package/lib/src/ap-custom-column/useCacheColumnSetting.d.ts +0 -1
  349. package/lib/src/ap-custom-column/utils.d.ts +0 -1
  350. package/lib/src/ap-descriptions/ap-descriptions.vue.d.ts +11 -10
  351. package/lib/src/ap-descriptions/formatter/index.d.ts +0 -1
  352. package/lib/src/ap-descriptions/help-message/index.vue.d.ts +14 -12
  353. package/lib/src/ap-descriptions/helper.d.ts +0 -1
  354. package/lib/src/ap-descriptions/index.d.ts +0 -1
  355. package/lib/src/ap-descriptions/interface.d.ts +0 -1
  356. package/lib/src/ap-download/ap-download.vue.d.ts +18 -17
  357. package/lib/src/ap-download/hooks/index.d.ts +0 -1
  358. package/lib/src/ap-download/index.d.ts +0 -1
  359. package/lib/src/ap-download/interface.d.ts +0 -1
  360. package/lib/src/ap-field/checkbox/helper.d.ts +0 -1
  361. package/lib/src/ap-field/checkbox/index.vue.d.ts +11 -12
  362. package/lib/src/ap-field/date/constant.d.ts +0 -1
  363. package/lib/src/ap-field/date/helper.d.ts +0 -1
  364. package/lib/src/ap-field/date/index.vue.d.ts +25 -24
  365. package/lib/src/ap-field/date-range/index.vue.d.ts +23 -22
  366. package/lib/src/ap-field/hooks/use-default-placeholder.d.ts +3 -3
  367. package/lib/src/ap-field/index.d.ts +0 -1
  368. package/lib/src/ap-field/interface.d.ts +0 -1
  369. package/lib/src/ap-field/number/helper.d.ts +0 -1
  370. package/lib/src/ap-field/number/index.vue.d.ts +14 -13
  371. package/lib/src/ap-field/radio/helper.d.ts +0 -1
  372. package/lib/src/ap-field/radio/index.vue.d.ts +11 -12
  373. package/lib/src/ap-field/rate/index.vue.d.ts +19 -18
  374. package/lib/src/ap-field/segmented/index.vue.d.ts +23 -22
  375. package/lib/src/ap-field/select/index.vue.d.ts +20 -19
  376. package/lib/src/ap-field/slider/index.vue.d.ts +14 -13
  377. package/lib/src/ap-field/switch/index.vue.d.ts +15 -14
  378. package/lib/src/ap-field/text/index.d.ts +0 -1
  379. package/lib/src/ap-field/text/index.vue.d.ts +17 -16
  380. package/lib/src/ap-field/text/input-password-props.d.ts +0 -1
  381. package/lib/src/ap-field/text/password.vue.d.ts +18 -17
  382. package/lib/src/ap-field/text-area/index.vue.d.ts +13 -14
  383. package/lib/src/ap-form/ap-form-item-group/helper.d.ts +0 -1
  384. package/lib/src/ap-form/ap-form-item-group/index.vue.d.ts +19 -18
  385. package/lib/src/ap-form/ap-form-item.vue.d.ts +15 -14
  386. package/lib/src/ap-form/ap-form-list.vue.d.ts +9 -8
  387. package/lib/src/ap-form/ap-form.vue.d.ts +22 -21
  388. package/lib/src/ap-form/constant.d.ts +0 -1
  389. package/lib/src/ap-form/context.d.ts +0 -1
  390. package/lib/src/ap-form/hooks/use-watch.d.ts +0 -1
  391. package/lib/src/ap-form/index.d.ts +0 -1
  392. package/lib/src/ap-form/interface.d.ts +0 -1
  393. package/lib/src/ap-form/items/checkbox/index.vue.d.ts +17 -16
  394. package/lib/src/ap-form/items/date/index.vue.d.ts +38 -37
  395. package/lib/src/ap-form/items/date-range/index.vue.d.ts +38 -37
  396. package/lib/src/ap-form/items/index.d.ts +0 -1
  397. package/lib/src/ap-form/items/interface.d.ts +0 -1
  398. package/lib/src/ap-form/items/number/index.vue.d.ts +31 -30
  399. package/lib/src/ap-form/items/radio/index.vue.d.ts +17 -16
  400. package/lib/src/ap-form/items/select/index.vue.d.ts +41 -40
  401. package/lib/src/ap-form/items/switch/index.vue.d.ts +25 -24
  402. package/lib/src/ap-form/items/text/index.d.ts +0 -1
  403. package/lib/src/ap-form/items/text/index.vue.d.ts +31 -30
  404. package/lib/src/ap-form/items/text/password.vue.d.ts +31 -30
  405. package/lib/src/ap-form/items/text-area/index.vue.d.ts +18 -17
  406. package/lib/src/ap-form/modal-form/index.vue.d.ts +30 -29
  407. package/lib/src/ap-form/search-form/index.vue.d.ts +23 -22
  408. package/lib/src/ap-form/search-form/utils.d.ts +0 -1
  409. package/lib/src/ap-form/style/ap-form-item.css +6 -6
  410. package/lib/src/ap-layout/ap-info-layout/ap-info-layout.vue.d.ts +20 -19
  411. package/lib/src/ap-layout/index.d.ts +0 -1
  412. package/lib/src/ap-list/hooks/use-offline-list.d.ts +0 -1
  413. package/lib/src/ap-list/index.d.ts +0 -1
  414. package/lib/src/ap-list/index.vue.d.ts +9 -122
  415. package/lib/src/ap-list/interface.d.ts +0 -1
  416. package/lib/src/ap-modal/index.d.ts +0 -1
  417. package/lib/src/ap-modal/type.d.ts +0 -1
  418. package/lib/src/ap-modal/utils/createModal.d.ts +0 -1
  419. package/lib/src/ap-table/ap-table.vue.d.ts +16 -2222
  420. package/lib/src/ap-table/components/index/index.vue.d.ts +11 -12
  421. package/lib/src/ap-table/components/interface.d.ts +0 -1
  422. package/lib/src/ap-table/components/status/index.vue.d.ts +2 -3
  423. package/lib/src/ap-table/constants.d.ts +4804 -6359
  424. package/lib/src/ap-table/hooks/use-table-paging.d.ts +0 -1
  425. package/lib/src/ap-table/hooks/use-table-row-selection.d.ts +0 -1
  426. package/lib/src/ap-table/index.d.ts +0 -1
  427. package/lib/src/ap-table/interface.d.ts +0 -1
  428. package/lib/src/ap-table/style/ap-table.css +1 -1
  429. package/lib/src/ap-table/utils.d.ts +1 -2
  430. package/lib/src/ap-tag/ap-tag-group.vue.d.ts +14 -13
  431. package/lib/src/ap-tag/ap-tag.vue.d.ts +13 -14
  432. package/lib/src/ap-tag/index.d.ts +0 -1
  433. package/lib/src/ap-tag/interface.d.ts +0 -1
  434. package/lib/src/ap-upload/apUpload.vue.d.ts +2 -3
  435. package/lib/src/ap-upload/apUploadTypes.d.ts +0 -1
  436. package/lib/src/ap-upload/components/MultipleFile.vue.d.ts +0 -1
  437. package/lib/src/ap-upload/components/Picture.vue.d.ts +0 -1
  438. package/lib/src/ap-upload/components/SingleFile.vue.d.ts +0 -1
  439. package/lib/src/ap-upload/hooks/useOss.d.ts +0 -1
  440. package/lib/src/ap-upload/index.d.ts +0 -1
  441. package/lib/src/ap-upload/utils/accept.d.ts +0 -1
  442. package/lib/src/base-button/button.vue.d.ts +17 -16
  443. package/lib/src/base-button/constants.d.ts +0 -1
  444. package/lib/src/base-button/index.d.ts +55 -55
  445. package/lib/src/base-button/interface.d.ts +0 -1
  446. package/lib/src/basic/arrow.vue.d.ts +2 -3
  447. package/lib/src/basic/help.vue.d.ts +4 -9
  448. package/lib/src/basic/index.d.ts +27 -35
  449. package/lib/src/basic/interface.d.ts +0 -1
  450. package/lib/src/basic/title.vue.d.ts +16 -15
  451. package/lib/src/business/ap-export-group/ApExportGroup.vue.d.ts +2 -3
  452. package/lib/src/business/ap-export-group/interface.d.ts +0 -1
  453. package/lib/src/business/ap-label/ApLabel.vue.d.ts +17 -16
  454. package/lib/src/business/ap-label/index.d.ts +0 -1
  455. package/lib/src/business/ap-label/interface.d.ts +0 -1
  456. package/lib/src/business/ap-select-layout/index.css +8 -0
  457. package/lib/src/business/ap-select-layout/index.d.ts +0 -1
  458. package/lib/src/business/ap-select-layout/select-layout.vue.d.ts +16 -58
  459. package/lib/src/business/ap-status/ApStatus.vue.d.ts +11 -12
  460. package/lib/src/business/ap-status/ApStatusGroup.vue.d.ts +14 -17
  461. package/lib/src/business/ap-status/index.d.ts +0 -1
  462. package/lib/src/business/expandAlert/ApExpandAlert.vue.d.ts +18 -17
  463. package/lib/src/business/index.d.ts +213 -248
  464. package/lib/src/business/title/ApTitle.vue.d.ts +19 -18
  465. package/lib/src/button/button.vue.d.ts +25 -0
  466. package/lib/src/button/index.d.ts +7 -7
  467. package/lib/src/check-card/checked.svg.js +1 -1
  468. package/lib/src/check-card/context.d.ts +0 -1
  469. package/lib/src/check-card/group.vue.d.ts +21 -20
  470. package/lib/src/check-card/index.d.ts +0 -1
  471. package/lib/src/check-card/index.vue.d.ts +16 -15
  472. package/lib/src/check-card/index.vue2.js +1 -1
  473. package/lib/src/check-card/interface.d.ts +0 -1
  474. package/lib/src/check-card/style/index.css +5 -5
  475. package/lib/src/config-provider/config-provider-props.d.ts +22 -23
  476. package/lib/src/config-provider/config-provider.d.ts +59 -204
  477. package/lib/src/config-provider/constants.d.ts +0 -1
  478. package/lib/src/config-provider/hooks/use-global-config.d.ts +24 -25
  479. package/lib/src/config-provider/hooks/use-locale.d.ts +0 -1
  480. package/lib/src/config-provider/hooks/use-namespace.d.ts +0 -1
  481. package/lib/src/config-provider/index.d.ts +129 -130
  482. package/lib/src/container/collapse/header.vue.d.ts +4 -5
  483. package/lib/src/container/collapse/index.vue.d.ts +5 -6
  484. package/lib/src/container/index.d.ts +26 -26
  485. package/lib/src/container/scroll-container.vue.d.ts +13 -12
  486. package/lib/src/count-down/button.vue.d.ts +11 -12
  487. package/lib/src/count-down/index.d.ts +13 -13
  488. package/lib/src/count-down/input.vue.d.ts +14 -13
  489. package/lib/src/count-down/interface.d.ts +0 -1
  490. package/lib/src/cropper/cropper-avatar.vue.d.ts +12 -13
  491. package/lib/src/cropper/cropper-image.vue.d.ts +12 -13
  492. package/lib/src/cropper/cropper-modal.vue.d.ts +0 -1
  493. package/lib/src/cropper/index.d.ts +63 -63
  494. package/lib/src/cropper/interface.d.ts +0 -1
  495. package/lib/src/description/description.vue.d.ts +1 -2
  496. package/lib/src/description/index.d.ts +10 -10
  497. package/lib/src/description/interface.d.ts +0 -1
  498. package/lib/src/description/use-description.d.ts +0 -1
  499. package/lib/src/design-token/index.d.ts +0 -1
  500. package/lib/src/dropdown/dropdown.vue.d.ts +18 -17
  501. package/lib/src/dropdown/index.d.ts +18 -18
  502. package/lib/src/dropdown/interface.d.ts +0 -1
  503. package/lib/src/editable-table/form-item.vue.d.ts +14 -915
  504. package/lib/src/editable-table/hooks/use-get-columns.d.ts +0 -1
  505. package/lib/src/editable-table/index.d.ts +0 -1
  506. package/lib/src/editable-table/index.vue.d.ts +18 -568
  507. package/lib/src/editable-table/interface.d.ts +0 -1
  508. package/lib/src/editable-table/style/index.css +1 -1
  509. package/lib/src/editable-table/utils.d.ts +0 -1
  510. package/lib/src/hooks/useControllableValue.d.ts +0 -1
  511. package/lib/src/hooks/useMessage.d.ts +0 -1
  512. package/lib/src/icon/icon.vue.d.ts +12 -12
  513. package/lib/src/icon/index.d.ts +36 -36
  514. package/lib/src/icon/svg-icon.vue.d.ts +11 -12
  515. package/lib/src/icon-picker/icon-picker.vue.d.ts +12 -13
  516. package/lib/src/icon-picker/index.d.ts +25 -25
  517. package/lib/src/locale/index.d.ts +0 -1
  518. package/lib/src/locale/lang/en.d.ts +0 -1
  519. package/lib/src/locale/lang/zh-cn.d.ts +0 -1
  520. package/lib/src/modal/basic.vue.d.ts +18 -206
  521. package/lib/src/modal/components/modal-close.vue.d.ts +11 -12
  522. package/lib/src/modal/components/modal-footer.vue.d.ts +20 -209
  523. package/lib/src/modal/components/modal-header.vue.d.ts +2 -3
  524. package/lib/src/modal/components/modal-wrapper.vue.d.ts +7 -5
  525. package/lib/src/modal/components/modal.d.ts +11 -201
  526. package/lib/src/modal/hooks/use-moda-full-screen.d.ts +0 -1
  527. package/lib/src/modal/hooks/use-modal-drag.d.ts +0 -1
  528. package/lib/src/modal/hooks/use-modal.d.ts +0 -1
  529. package/lib/src/modal/index.d.ts +37 -130
  530. package/lib/src/modal/interface.d.ts +0 -1
  531. package/lib/src/modal/props.d.ts +6 -103
  532. package/lib/src/pro-form/component-map.d.ts +0 -1
  533. package/lib/src/pro-form/components/api-cascader.vue.d.ts +11 -12
  534. package/lib/src/pro-form/components/api-radio-group.vue.d.ts +12 -13
  535. package/lib/src/pro-form/components/api-select.vue.d.ts +15 -14
  536. package/lib/src/pro-form/components/api-transfer.vue.d.ts +14 -15
  537. package/lib/src/pro-form/components/api-tree-select.vue.d.ts +14 -13
  538. package/lib/src/pro-form/components/api-tree.vue.d.ts +15 -14
  539. package/lib/src/pro-form/components/form-action.vue.d.ts +19 -18
  540. package/lib/src/pro-form/components/form-item.vue.d.ts +0 -1
  541. package/lib/src/pro-form/components/interface.d.ts +0 -1
  542. package/lib/src/pro-form/components/radio-button-group.vue.d.ts +11 -12
  543. package/lib/src/pro-form/helper.d.ts +1 -2
  544. package/lib/src/pro-form/helper.js +1 -1
  545. package/lib/src/pro-form/hooks/use-advanced.d.ts +0 -1
  546. package/lib/src/pro-form/hooks/use-auto-focus.d.ts +0 -1
  547. package/lib/src/pro-form/hooks/use-component-register.d.ts +0 -1
  548. package/lib/src/pro-form/hooks/use-form-events.d.ts +0 -1
  549. package/lib/src/pro-form/hooks/use-form-events.js +1 -1
  550. package/lib/src/pro-form/hooks/use-form-item.d.ts +0 -1
  551. package/lib/src/pro-form/hooks/use-form-values.d.ts +0 -1
  552. package/lib/src/pro-form/hooks/use-form.d.ts +0 -1
  553. package/lib/src/pro-form/hooks/use-label-width.d.ts +122 -123
  554. package/lib/src/pro-form/index.d.ts +0 -1
  555. package/lib/src/pro-form/pro-form.vue.d.ts +24 -23
  556. package/lib/src/pro-form/table-form-inner.vue.d.ts +13 -14
  557. package/lib/src/pro-form/table-form.vue.d.ts +12 -13
  558. package/lib/src/pro-form/types/form-item.d.ts +0 -1
  559. package/lib/src/pro-form/types/form.d.ts +0 -1
  560. package/lib/src/pro-form/types/index.d.ts +37 -38
  561. package/lib/src/pro-form/types/table-form.d.ts +0 -1
  562. package/lib/src/pro-table/component-map.d.ts +0 -1
  563. package/lib/src/pro-table/components/edit-table-header-icon.vue.d.ts +6 -4
  564. package/lib/src/pro-table/components/editable/cell-component.d.ts +0 -1
  565. package/lib/src/pro-table/components/editable/editable-cell.vue.d.ts +7 -8
  566. package/lib/src/pro-table/components/editable/editable-cell.vue2.js +1 -1
  567. package/lib/src/pro-table/components/editable/helper.d.ts +0 -1
  568. package/lib/src/pro-table/components/editable/index.d.ts +0 -1
  569. package/lib/src/pro-table/components/header-cell.vue.d.ts +0 -1
  570. package/lib/src/pro-table/components/settings/column-setting.vue.d.ts +0 -1
  571. package/lib/src/pro-table/components/settings/index.vue.d.ts +0 -1
  572. package/lib/src/pro-table/components/table-action.vue.d.ts +7 -6
  573. package/lib/src/pro-table/components/table-footer.vue.d.ts +19 -20
  574. package/lib/src/pro-table/components/table-header.vue.d.ts +11 -10
  575. package/lib/src/pro-table/components/table-image.vue.d.ts +12 -13
  576. package/lib/src/pro-table/components/table-selection-bar.vue.d.ts +15 -16
  577. package/lib/src/pro-table/components/table-title.vue.d.ts +0 -1
  578. package/lib/src/pro-table/const.d.ts +0 -1
  579. package/lib/src/pro-table/directives/click-outside.d.ts +0 -1
  580. package/lib/src/pro-table/helper.d.ts +0 -1
  581. package/lib/src/pro-table/hooks/use-columns.d.ts +0 -1
  582. package/lib/src/pro-table/hooks/use-custom-row.d.ts +0 -1
  583. package/lib/src/pro-table/hooks/use-data-source.d.ts +1 -2
  584. package/lib/src/pro-table/hooks/use-loading.d.ts +0 -1
  585. package/lib/src/pro-table/hooks/use-pagination.d.ts +0 -1
  586. package/lib/src/pro-table/hooks/use-row-selection.d.ts +0 -1
  587. package/lib/src/pro-table/hooks/use-scroll-to.d.ts +0 -1
  588. package/lib/src/pro-table/hooks/use-table-context.d.ts +0 -1
  589. package/lib/src/pro-table/hooks/use-table-expand.d.ts +0 -1
  590. package/lib/src/pro-table/hooks/use-table-footer.d.ts +0 -1
  591. package/lib/src/pro-table/hooks/use-table-form.d.ts +0 -1
  592. package/lib/src/pro-table/hooks/use-table-header.d.ts +0 -1
  593. package/lib/src/pro-table/hooks/use-table-scroll.d.ts +3 -4
  594. package/lib/src/pro-table/hooks/use-table-scroll.js +1 -1
  595. package/lib/src/pro-table/hooks/use-table-style.d.ts +0 -1
  596. package/lib/src/pro-table/hooks/use-table.d.ts +0 -1
  597. package/lib/src/pro-table/interface.d.ts +0 -1
  598. package/lib/src/pro-table/pro-table.vue.d.ts +43 -42
  599. package/lib/src/pro-table/types/pagination.d.ts +0 -1
  600. package/lib/src/pro-table/types/table-action.d.ts +0 -1
  601. package/lib/src/pro-table/types/table.d.ts +0 -1
  602. package/lib/src/prompt/dialog.vue.d.ts +2 -3
  603. package/lib/src/prompt/index.d.ts +0 -1
  604. package/lib/src/prompt/interface.d.ts +0 -1
  605. package/lib/src/prompt/utils.d.ts +2 -2
  606. package/lib/src/scroll-bar/bar-item.d.ts +0 -1
  607. package/lib/src/scroll-bar/index.d.ts +27 -27
  608. package/lib/src/scroll-bar/interface.d.ts +0 -1
  609. package/lib/src/scroll-bar/scroll-bar.vue.d.ts +18 -17
  610. package/lib/src/scroll-bar/utils.d.ts +0 -1
  611. package/lib/src/strength-meter/index.d.ts +19 -19
  612. package/lib/src/strength-meter/strength-meter.vue.d.ts +14 -13
  613. package/lib/src/tests/wrapper.d.ts +8 -0
  614. package/lib/src/theme/antd-global-overwrite/admin/index.css +5 -5
  615. package/lib/src/theme/antd-global-overwrite/admin/steps.css +5 -5
  616. package/lib/src/theme/antd-global-overwrite/aplus/form.css +1 -1
  617. package/lib/src/theme/antd-global-overwrite/aplus/index.css +6 -6
  618. package/lib/src/theme/antd-global-overwrite/aplus/steps.css +5 -5
  619. package/lib/src/theme/ap-action/item.css +5 -5
  620. package/lib/src/theme/ap-form/ap-form-item.css +6 -6
  621. package/lib/src/theme/ap-select-layout/ap-select-layout.css +8 -0
  622. package/lib/src/theme/ap-table/ap-table.css +1 -1
  623. package/lib/src/theme/check-card/index.css +5 -5
  624. package/lib/src/theme/editable-table/index.css +1 -1
  625. package/lib/src/transition/collapse-transition.vue.d.ts +4 -3
  626. package/lib/src/transition/create-transition.d.ts +0 -1
  627. package/lib/src/type.d.ts +0 -1
  628. package/lib/src/utils/config-provider-preset.d.ts +16 -17
  629. package/lib/src/utils/index.d.ts +0 -1
  630. package/lib/src/utils/slot.d.ts +0 -1
  631. package/lib/src/utils/tree.d.ts +0 -1
  632. package/lib/src/work-order-modal/createWorkOrder.d.ts +0 -1
  633. package/lib/src/work-order-modal/index.d.ts +0 -1
  634. package/lib/src/work-order-modal/interfaces.d.ts +0 -1
  635. package/lib/src/work-order-modal/work-order-modal.vue.d.ts +3 -4
  636. package/package.json +2 -2
@@ -5,11 +5,11 @@
5
5
  display: flex;
6
6
  }
7
7
  .ant-steps .ant-steps-item-icon {
8
- line-height: 27px;
8
+ flex-shrink: 0;
9
9
  width: 28px;
10
10
  height: 28px;
11
11
  margin-top: 3px;
12
- flex-shrink: 0;
12
+ line-height: 27px;
13
13
  }
14
14
  .ant-steps .ant-steps-item.ant-steps-item-process .ant-steps-item-icon .ant-steps-icon {
15
15
  font-weight: 500;
@@ -107,10 +107,10 @@
107
107
  margin-top: 3px;
108
108
  }
109
109
  .ant-steps.ant-steps-vertical.ant-steps-small .ant-steps-item-icon {
110
- line-height: 25px;
111
110
  width: 24px;
112
111
  height: 24px;
113
112
  margin-top: 3px;
113
+ line-height: 25px;
114
114
  }
115
115
  .ant-steps.ant-steps-vertical.ant-steps-small .ant-steps-item .ant-steps-item-content {
116
116
  margin-top: 2px;
@@ -120,8 +120,8 @@
120
120
  margin: 3px -1px;
121
121
  }
122
122
  .ant-steps.ant-steps-horizontal.ant-steps-small .ant-steps-item-icon {
123
- line-height: 25px;
123
+ flex-shrink: 0;
124
124
  width: 24px;
125
125
  height: 24px;
126
- flex-shrink: 0;
126
+ line-height: 25px;
127
127
  }
@@ -53,8 +53,8 @@ div[class$='-basic-table-form-container'] form[class$='-basic-form--compact'] .a
53
53
  /** 适配Aplus UI */
54
54
  }
55
55
  div[class$='-basic-table-form-container'] form[class$='-basic-form--compact'] .ant-form-item.aplus-ui-adaptation {
56
- border-radius: 4px 4px 4px 4px;
57
56
  border: 1px solid #dee4ed;
57
+ border-radius: 4px;
58
58
  }
59
59
  div[class$='-basic-table-form-container'] form[class$='-basic-form--compact'] .ant-form-item.aplus-ui-adaptation .ant-form-item-label {
60
60
  padding-left: 12px;
@@ -130,8 +130,8 @@ div[class$='-basic-table-form-container'] form[class$='-basic-form--compact'] .a
130
130
  /** 适配Aplus UI */
131
131
  }
132
132
  div[class$='-basic-table-form-container'] form[class$='-basic-form--compact'] .ant-form-item.aplus-ui-adaptation {
133
- border-radius: 4px 4px 4px 4px;
134
133
  border: 1px solid #dee4ed;
134
+ border-radius: 4px;
135
135
  }
136
136
  div[class$='-basic-table-form-container'] form[class$='-basic-form--compact'] .ant-form-item.aplus-ui-adaptation .ant-form-item-label {
137
137
  padding-left: 12px;
@@ -401,11 +401,11 @@ div[class$='-basic-table-form-container'] form[class$='-basic-form--compact'] di
401
401
  display: flex;
402
402
  }
403
403
  .ant-steps .ant-steps-item-icon {
404
- line-height: 27px;
404
+ flex-shrink: 0;
405
405
  width: 28px;
406
406
  height: 28px;
407
407
  margin-top: 3px;
408
- flex-shrink: 0;
408
+ line-height: 27px;
409
409
  }
410
410
  .ant-steps .ant-steps-item.ant-steps-item-process .ant-steps-item-icon .ant-steps-icon {
411
411
  font-weight: 500;
@@ -501,10 +501,10 @@ div[class$='-basic-table-form-container'] form[class$='-basic-form--compact'] di
501
501
  margin-top: 3px;
502
502
  }
503
503
  .ant-steps.ant-steps-vertical.ant-steps-small .ant-steps-item-container .ant-steps-item-icon {
504
- line-height: 25px;
505
504
  width: 24px;
506
505
  height: 24px;
507
506
  margin-top: 3px;
507
+ line-height: 25px;
508
508
  }
509
509
  .ant-steps.ant-steps-vertical.ant-steps-small .ant-steps-item-container .ant-steps-item .ant-steps-item-content {
510
510
  margin-top: 2px;
@@ -514,10 +514,10 @@ div[class$='-basic-table-form-container'] form[class$='-basic-form--compact'] di
514
514
  margin: 3px -1;
515
515
  }
516
516
  .ant-steps.ant-steps-horizontal.ant-steps-small .ant-steps-item-icon {
517
- line-height: 25px;
517
+ flex-shrink: 0;
518
518
  width: 24px;
519
519
  height: 24px;
520
- flex-shrink: 0;
520
+ line-height: 25px;
521
521
  }
522
522
  [class$='-basic-table'],
523
523
  [class$='-basic-table-form-container'] {
@@ -5,11 +5,11 @@
5
5
  display: flex;
6
6
  }
7
7
  .ant-steps .ant-steps-item-icon {
8
- line-height: 27px;
8
+ flex-shrink: 0;
9
9
  width: 28px;
10
10
  height: 28px;
11
11
  margin-top: 3px;
12
- flex-shrink: 0;
12
+ line-height: 27px;
13
13
  }
14
14
  .ant-steps .ant-steps-item.ant-steps-item-process .ant-steps-item-icon .ant-steps-icon {
15
15
  font-weight: 500;
@@ -105,10 +105,10 @@
105
105
  margin-top: 3px;
106
106
  }
107
107
  .ant-steps.ant-steps-vertical.ant-steps-small .ant-steps-item-container .ant-steps-item-icon {
108
- line-height: 25px;
109
108
  width: 24px;
110
109
  height: 24px;
111
110
  margin-top: 3px;
111
+ line-height: 25px;
112
112
  }
113
113
  .ant-steps.ant-steps-vertical.ant-steps-small .ant-steps-item-container .ant-steps-item .ant-steps-item-content {
114
114
  margin-top: 2px;
@@ -118,8 +118,8 @@
118
118
  margin: 3px -1;
119
119
  }
120
120
  .ant-steps.ant-steps-horizontal.ant-steps-small .ant-steps-item-icon {
121
- line-height: 25px;
121
+ flex-shrink: 0;
122
122
  width: 24px;
123
123
  height: 24px;
124
- flex-shrink: 0;
124
+ line-height: 25px;
125
125
  }
@@ -5,19 +5,19 @@
5
5
  cursor: pointer;
6
6
  }
7
7
  .aplus-action-item--primary {
8
- color: var(--ap-action-color-primary-base);
8
+ color: var(--ap-action-color-primary-base, #0070FF);
9
9
  }
10
10
  .aplus-action-item--primary:not(.aplus-action-item--disabled):hover {
11
- color: var(--ap-action-color-primary-hover);
11
+ color: var(--ap-action-color-primary-hover, #66A9FF);
12
12
  }
13
13
  .aplus-action-item--success {
14
- color: var(--ap-action-color-success);
14
+ color: var(--ap-action-color-success, #2ED1A3);
15
15
  }
16
16
  .aplus-action-item--error {
17
- color: var(--ap-action-color-error);
17
+ color: var(--ap-action-color-error, #FF4D4F);
18
18
  }
19
19
  .aplus-action-item--warn {
20
- color: var(--ap-action-color-warn);
20
+ color: var(--ap-action-color-warn, #FFA940);
21
21
  }
22
22
  .aplus-action-item--loading {
23
23
  opacity: 0.35;
@@ -1,6 +1,6 @@
1
1
  .aplus-ap-form-item--bordered {
2
2
  box-sizing: border-box;
3
- border: 1px solid var(--ap-form-bordered-border-color-base);
3
+ border: 1px solid var(--ap-form-bordered-border-color-base, #DEE4ED);
4
4
  border-radius: 4px;
5
5
  padding-inline: 12px;
6
6
  }
@@ -38,15 +38,15 @@
38
38
  min-height: 30px;
39
39
  }
40
40
  .aplus-ap-form-item--bordered:hover {
41
- border-color: var(--ap-form-bordered-border-color-hover);
41
+ border-color: var(--ap-form-bordered-border-color-hover, #66a9ff);
42
42
  }
43
43
  .aplus-ap-form-item--bordered:focus {
44
- border-color: var(--ap-form-bordered-border-color-active);
45
- box-shadow: 0 0 0 2px var(--ap-form-bordered-shadow-color);
44
+ border-color: var(--ap-form-bordered-border-color-active, #66a9ff);
45
+ box-shadow: 0 0 0 2px var(--ap-form-bordered-shadow-color, rgba(5, 155, 255, 0.1));
46
46
  }
47
47
  .aplus-ap-form-item--focused {
48
- border-color: var(--ap-form-bordered-border-color-active);
49
- box-shadow: 0 0 0 2px var(--ap-form-bordered-shadow-color);
48
+ border-color: var(--ap-form-bordered-border-color-active, #66a9ff);
49
+ box-shadow: 0 0 0 2px var(--ap-form-bordered-shadow-color, rgba(5, 155, 255, 0.1));
50
50
  }
51
51
  .aplus-ap-form-item .ant-form-show-help .ant-form-item-explain-error {
52
52
  font-size: 12px;
@@ -44,6 +44,9 @@
44
44
  border-radius: 2px;
45
45
  cursor: pointer;
46
46
  font-size: 24px;
47
+ color: #999;
48
+ display: flex;
49
+ height: 24px;
47
50
  }
48
51
  .aplus-ap-select-layout-side__header--imgWrap:hover {
49
52
  background: #f5f5f5;
@@ -86,6 +89,9 @@
86
89
  color: #34b77c;
87
90
  font-weight: bold;
88
91
  }
92
+ .aplus-ap-select-layout-side__body--scroll-item.active > .ant-typography-single-line {
93
+ color: #34b77c;
94
+ }
89
95
  .aplus-ap-select-layout-content {
90
96
  flex: 1;
91
97
  overflow-x: hidden;
@@ -105,6 +111,8 @@
105
111
  border-radius: 2px;
106
112
  cursor: pointer;
107
113
  font-size: 24px;
114
+ display: flex;
115
+ height: 24px;
108
116
  }
109
117
  .aplus-ap-select-layout-content__header--imgWrap:hover {
110
118
  background: #f5f5f5;
@@ -48,7 +48,7 @@
48
48
  flex: 1;
49
49
  }
50
50
  .aplus-ap-table-table tr > th.ant-table-cell {
51
- background-color: var(--ap-table-header-bg);
51
+ background-color: var(--ap-table-header-bg, #F2F6F9);
52
52
  }
53
53
  .aplus-ap-table-table tr > th.ant-table-cell::before {
54
54
  display: none;
@@ -7,11 +7,11 @@
7
7
  cursor: not-allowed;
8
8
  }
9
9
  .aplus-check-card--bordered {
10
- outline: 1px solid var(--check-card-outline-color);
10
+ outline: 1px solid var(--check-card-outline-color, #E9EDF3);
11
11
  }
12
12
  .aplus-check-card:hover {
13
13
  cursor: pointer;
14
- outline: 1px solid var(--check-card-hover-outline-color);
14
+ outline: 1px solid var(--check-card-hover-outline-color, #0070ff);
15
15
  }
16
16
  .aplus-check-card::after {
17
17
  content: '';
@@ -26,14 +26,14 @@
26
26
  border-radius: 4px;
27
27
  }
28
28
  .aplus-check-card--checked {
29
- outline: 2px solid var(--check-card-checked-outline-color);
29
+ outline: 2px solid var(--check-card-checked-outline-color, #0070ff);
30
30
  }
31
31
  .aplus-check-card--checked:hover {
32
- outline: 2px solid var(--check-card-checked-outline-color);
32
+ outline: 2px solid var(--check-card-checked-outline-color, #0070ff);
33
33
  }
34
34
  .aplus-check-card--checked::after {
35
35
  opacity: 1;
36
- border: 16px solid var(--check-card-checked-bg);
36
+ border: 16px solid var(--check-card-checked-bg, #0070ff);
37
37
  border-inline-start: 16px solid transparent;
38
38
  border-block-end: 16px solid transparent;
39
39
  inset-block-start: -2px;
@@ -12,7 +12,7 @@
12
12
  flex: 1;
13
13
  }
14
14
  .aplus-editable-table tr > th.ant-table-cell {
15
- background-color: var(--ap-table-header-bg);
15
+ background-color: var(--ap-table-header-bg, #F2F6F9);
16
16
  }
17
17
  .aplus-editable-table tr > th.ant-table-cell::before {
18
18
  display: none;
@@ -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 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:c,m:t}=f.useNamespace("action-item"),a=e.ref(!1);function r(o){var i;e.unref(l)||n.disabled||((i=n.onClick)==null||i.call(n,o),n.onAction&&(a.value=!0,n.onAction(o).finally(()=>a.value=!1)))}const l=e.computed(()=>n.loading||e.unref(a)),u=e.computed(()=>[c(),t(n.color),n.disabled?t("disabled"):null,l.value?t("loading"):null].filter(Boolean));return(o,i)=>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(u.value)},[l.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))])],2)):e.createCommentVNode("",!0)])}});exports.default=p;
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;