@aplus-frontend/ui 0.0.1-beta.17 → 0.0.1-beta.18

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 (543) hide show
  1. package/es/index.d.ts +7 -7
  2. package/es/index.mjs +171 -163
  3. package/es/src/ap-action/group/index.vue.d.ts +35 -35
  4. package/es/src/ap-action/index.d.ts +9 -9
  5. package/es/src/ap-action/interface.d.ts +80 -80
  6. package/es/src/ap-action/item/index.vue.d.ts +42 -42
  7. package/es/src/ap-action/item-dropdown/index.vue.d.ts +54 -54
  8. package/es/src/ap-action/item-modal/index.vue.d.ts +38 -38
  9. package/es/src/ap-action/item-popconfirm/index.vue.d.ts +332 -332
  10. package/es/src/ap-custom-column/column-select.vue.d.ts +16 -16
  11. package/es/src/ap-custom-column/custom-column.vue.d.ts +16 -16
  12. package/es/src/ap-custom-column/index.d.ts +5 -5
  13. package/es/src/ap-custom-column/interfaces.d.ts +40 -40
  14. package/es/src/ap-custom-column/storage.d.ts +8 -8
  15. package/es/src/ap-custom-column/useCacheColumnSetting.d.ts +9 -9
  16. package/es/src/ap-custom-column/utils.d.ts +2 -2
  17. package/es/src/ap-field/checkbox/helper.d.ts +3 -3
  18. package/es/src/ap-field/checkbox/index.vue.d.ts +36 -36
  19. package/es/src/ap-field/date/constant.d.ts +9 -9
  20. package/es/src/ap-field/date/helper.d.ts +3 -3
  21. package/es/src/ap-field/date/index.vue.d.ts +54 -54
  22. package/es/src/ap-field/date/interface.d.ts +2 -2
  23. package/es/src/ap-field/date-range/index.vue.d.ts +56 -56
  24. package/es/src/ap-field/index.d.ts +15 -15
  25. package/es/src/ap-field/interface.d.ts +86 -86
  26. package/es/src/ap-field/number/helper.d.ts +1 -1
  27. package/es/src/ap-field/number/index.vue.d.ts +69 -69
  28. package/es/src/ap-field/radio/helper.d.ts +3 -3
  29. package/es/src/ap-field/radio/index.vue.d.ts +38 -38
  30. package/es/src/ap-field/select/index.vue.d.ts +226 -226
  31. package/es/src/ap-field/switch/index.vue.d.ts +52 -52
  32. package/es/src/ap-field/text/index.vue.d.ts +63 -63
  33. package/es/src/ap-field/text-area/index.vue.d.ts +46 -46
  34. package/es/src/ap-form/ap-form-item-group/helper.d.ts +17 -17
  35. package/es/src/ap-form/ap-form-item-group/index.vue.d.ts +41 -41
  36. package/es/src/ap-form/ap-form-item.vue.d.ts +66 -66
  37. package/es/src/ap-form/ap-form-list.vue.d.ts +33 -33
  38. package/es/src/ap-form/ap-form.vue.d.ts +63 -63
  39. package/es/src/ap-form/constant.d.ts +2 -2
  40. package/es/src/ap-form/context.d.ts +9 -9
  41. package/es/src/ap-form/index.d.ts +11 -11
  42. package/es/src/ap-form/interface.d.ts +46 -46
  43. package/es/src/ap-form/items/date/index.vue.d.ts +62 -62
  44. package/es/src/ap-form/items/date-range/index.vue.d.ts +61 -61
  45. package/es/src/ap-form/items/index.d.ts +2 -2
  46. package/es/src/ap-form/items/interface.d.ts +39 -39
  47. package/es/src/ap-form/items/number/index.vue.d.ts +60 -60
  48. package/es/src/ap-form/items/radio/index.vue.d.ts +47 -47
  49. package/es/src/ap-form/items/select/index.vue.d.ts +66 -66
  50. package/es/src/ap-form/items/switch/index.vue.d.ts +57 -57
  51. package/es/src/ap-form/items/text/index.vue.d.ts +62 -62
  52. package/es/src/ap-form/items/text-area/index.vue.d.ts +48 -48
  53. package/es/src/ap-form/search-form/index.vue.d.ts +73 -73
  54. package/es/src/ap-layout/ap-info-layout/ap-info-layout.vue.d.ts +41 -0
  55. package/es/src/ap-layout/ap-info-layout/ap-info-layout.vue.mjs +44 -0
  56. package/es/src/ap-layout/ap-info-layout/ap-info-layout.vue2.mjs +4 -0
  57. package/es/src/ap-layout/index.d.ts +3 -0
  58. package/es/src/ap-layout/index.mjs +1 -0
  59. package/es/src/ap-layout/interface.d.ts +4 -0
  60. package/es/src/ap-layout/style/ap-info-layout.css +32 -0
  61. package/es/src/ap-tag/ap-tag-group.vue.d.ts +32 -32
  62. package/es/src/ap-tag/ap-tag.vue.d.ts +32 -32
  63. package/es/src/ap-tag/ap-tag.vue.mjs +20 -27
  64. package/es/src/ap-tag/index.d.ts +3 -3
  65. package/es/src/ap-tag/interface.d.ts +35 -35
  66. package/es/src/ap-tag/style/ap-tag-group.css +3 -0
  67. package/es/src/ap-tag/style/ap-tag.css +3 -19
  68. package/es/src/ap-upload/apUpload.vue.d.ts +109 -109
  69. package/es/src/ap-upload/apUploadTypes.d.ts +89 -89
  70. package/es/src/ap-upload/components/MultipleFile.vue.d.ts +3 -3
  71. package/es/src/ap-upload/components/Picture.vue.d.ts +3 -3
  72. package/es/src/ap-upload/components/SingleFile.vue.d.ts +3 -3
  73. package/es/src/ap-upload/hooks/useOss.d.ts +18 -18
  74. package/es/src/ap-upload/index.d.ts +4 -4
  75. package/es/src/ap-upload/utils/accept.d.ts +13 -13
  76. package/es/src/ap-upload/utils/returnData.d.ts +19 -19
  77. package/es/src/base-button/button.vue.d.ts +34 -34
  78. package/es/src/base-button/constants.d.ts +25 -25
  79. package/es/src/base-button/index.d.ts +134 -134
  80. package/es/src/base-button/interface.d.ts +15 -15
  81. package/es/src/base-button/modal-button.vue.d.ts +25 -25
  82. package/es/src/base-button/pop-confirm-button.vue.d.ts +16 -16
  83. package/es/src/basic/arrow.vue.d.ts +12 -12
  84. package/es/src/basic/help.vue.d.ts +103 -103
  85. package/es/src/basic/index.d.ts +276 -276
  86. package/es/src/basic/interface.d.ts +20 -20
  87. package/es/src/basic/title.vue.d.ts +33 -33
  88. package/es/src/button/__tests__/button.test.d.ts +1 -1
  89. package/es/src/button/index.d.ts +50 -50
  90. package/es/src/config-provider/config-provider-props.d.ts +143 -143
  91. package/es/src/config-provider/config-provider.d.ts +312 -312
  92. package/es/src/config-provider/config-provider.mjs +10 -9
  93. package/es/src/config-provider/constants.d.ts +27 -27
  94. package/es/src/config-provider/hooks/use-global-config.d.ts +142 -142
  95. package/es/src/config-provider/hooks/use-locale.d.ts +13 -13
  96. package/es/src/config-provider/hooks/use-namespace.d.ts +23 -23
  97. package/es/src/config-provider/index.d.ts +680 -680
  98. package/es/src/container/collapse/header.vue.d.ts +35 -35
  99. package/es/src/container/collapse/index.vue.d.ts +120 -120
  100. package/es/src/container/index.d.ts +177 -177
  101. package/es/src/container/interface.d.ts +18 -18
  102. package/es/src/container/scroll-container.vue.d.ts +22 -22
  103. package/es/src/count-down/button.vue.d.ts +26 -26
  104. package/es/src/count-down/index.d.ts +149 -149
  105. package/es/src/count-down/input.vue.d.ts +31 -31
  106. package/es/src/count-down/interface.d.ts +12 -12
  107. package/es/src/cropper/cropper-avatar.vue.d.ts +44 -44
  108. package/es/src/cropper/cropper-image.vue.d.ts +49 -49
  109. package/es/src/cropper/cropper-modal.vue.d.ts +46 -46
  110. package/es/src/cropper/index.d.ts +366 -366
  111. package/es/src/cropper/interface.d.ts +29 -29
  112. package/es/src/description/description.vue.d.ts +93 -93
  113. package/es/src/description/index.d.ts +211 -211
  114. package/es/src/description/interface.d.ts +37 -37
  115. package/es/src/description/use-description.d.ts +2 -2
  116. package/es/src/design-token/index.d.ts +3 -3
  117. package/es/src/dropdown/dropdown.vue.d.ts +43 -43
  118. package/es/src/dropdown/index.d.ts +110 -110
  119. package/es/src/dropdown/interface.d.ts +16 -16
  120. package/es/src/hooks/index.d.ts +2 -2
  121. package/es/src/hooks/useControllableValue.d.ts +11 -11
  122. package/es/src/hooks/useMessage.d.ts +59 -59
  123. package/es/src/icon/icon.vue.d.ts +32 -32
  124. package/es/src/icon/index.d.ts +207 -207
  125. package/es/src/icon/interface.d.ts +28 -28
  126. package/es/src/icon/svg-icon.vue.d.ts +32 -32
  127. package/es/src/icon-picker/data.d.ts +5 -5
  128. package/es/src/icon-picker/icon-picker.vue.d.ts +50 -50
  129. package/es/src/icon-picker/index.d.ts +189 -189
  130. package/es/src/icon-picker/interface.d.ts +13 -13
  131. package/es/src/index.d.ts +27 -25
  132. package/es/src/index.mjs +201 -191
  133. package/es/src/locale/index.d.ts +3 -3
  134. package/es/src/locale/interface.d.ts +8 -8
  135. package/es/src/locale/lang/en.d.ts +3 -3
  136. package/es/src/locale/lang/en.mjs +2 -1
  137. package/es/src/locale/lang/zh-cn.d.ts +3 -3
  138. package/es/src/locale/lang/zh-cn.mjs +2 -1
  139. package/es/src/modal/basic.vue.d.ts +459 -459
  140. package/es/src/modal/components/modal-close.vue.d.ts +32 -32
  141. package/es/src/modal/components/modal-footer.vue.d.ts +451 -451
  142. package/es/src/modal/components/modal-header.vue.d.ts +12 -12
  143. package/es/src/modal/components/modal-wrapper.vue.d.ts +101 -101
  144. package/es/src/modal/components/modal.d.ts +437 -437
  145. package/es/src/modal/hooks/use-moda-full-screen.d.ts +11 -11
  146. package/es/src/modal/hooks/use-modal-context.d.ts +7 -7
  147. package/es/src/modal/hooks/use-modal-drag.d.ts +7 -7
  148. package/es/src/modal/hooks/use-modal.d.ts +6 -6
  149. package/es/src/modal/index.d.ts +957 -957
  150. package/es/src/modal/interface.d.ts +180 -180
  151. package/es/src/modal/props.d.ts +277 -277
  152. package/es/src/pro-form/component-map.d.ts +5 -5
  153. package/es/src/pro-form/components/api-cascader.vue.d.ts +50 -50
  154. package/es/src/pro-form/components/api-radio-group.vue.d.ts +49 -49
  155. package/es/src/pro-form/components/api-select.vue.d.ts +71 -71
  156. package/es/src/pro-form/components/api-transfer.vue.d.ts +53 -53
  157. package/es/src/pro-form/components/api-tree-select.vue.d.ts +55 -55
  158. package/es/src/pro-form/components/api-tree.vue.d.ts +43 -43
  159. package/es/src/pro-form/components/form-action.vue.d.ts +58 -58
  160. package/es/src/pro-form/components/form-item.vue.d.ts +70 -70
  161. package/es/src/pro-form/components/interface.d.ts +113 -113
  162. package/es/src/pro-form/components/radio-button-group.vue.d.ts +26 -26
  163. package/es/src/pro-form/helper.d.ts +9 -9
  164. package/es/src/pro-form/hooks/use-advanced.d.ts +14 -14
  165. package/es/src/pro-form/hooks/use-auto-focus.d.ts +9 -9
  166. package/es/src/pro-form/hooks/use-break-point.d.ts +23 -23
  167. package/es/src/pro-form/hooks/use-component-register.d.ts +2 -2
  168. package/es/src/pro-form/hooks/use-form-context.d.ts +8 -8
  169. package/es/src/pro-form/hooks/use-form-events.d.ts +26 -26
  170. package/es/src/pro-form/hooks/use-form-item.d.ts +2 -2
  171. package/es/src/pro-form/hooks/use-form-values.d.ts +12 -12
  172. package/es/src/pro-form/hooks/use-form.d.ts +8 -8
  173. package/es/src/pro-form/hooks/use-label-width.d.ts +309 -309
  174. package/es/src/pro-form/index.d.ts +17 -17
  175. package/es/src/pro-form/interface.d.ts +4 -4
  176. package/es/src/pro-form/pro-form.vue.d.ts +106 -106
  177. package/es/src/pro-form/types/form-item.d.ts +80 -80
  178. package/es/src/pro-form/types/form.d.ts +147 -147
  179. package/es/src/pro-form/types/index.d.ts +158 -158
  180. package/es/src/pro-table/component-map.d.ts +6 -6
  181. package/es/src/pro-table/components/edit-table-header-icon.vue.d.ts +21 -21
  182. package/es/src/pro-table/components/editable/cell-component.d.ts +11 -11
  183. package/es/src/pro-table/components/editable/editable-cell.vue.d.ts +80 -80
  184. package/es/src/pro-table/components/editable/helper.d.ts +5 -5
  185. package/es/src/pro-table/components/editable/index.d.ts +21 -21
  186. package/es/src/pro-table/components/header-cell.vue.d.ts +15 -15
  187. package/es/src/pro-table/components/settings/column-setting.vue.d.ts +7 -7
  188. package/es/src/pro-table/components/settings/full-screen-setting.vue.d.ts +2 -2
  189. package/es/src/pro-table/components/settings/index.vue.d.ts +19 -19
  190. package/es/src/pro-table/components/settings/redo-setting.vue.d.ts +2 -2
  191. package/es/src/pro-table/components/settings/size-setting.vue.d.ts +2 -2
  192. package/es/src/pro-table/components/table-action.vue.d.ts +56 -56
  193. package/es/src/pro-table/components/table-footer.vue.d.ts +42 -42
  194. package/es/src/pro-table/components/table-header.vue.d.ts +71 -71
  195. package/es/src/pro-table/components/table-image.vue.d.ts +47 -47
  196. package/es/src/pro-table/components/table-selection-bar.vue.d.ts +32 -32
  197. package/es/src/pro-table/components/table-title.vue.d.ts +23 -23
  198. package/es/src/pro-table/const.d.ts +6 -6
  199. package/es/src/pro-table/directives/click-outside.d.ts +3 -3
  200. package/es/src/pro-table/helper.d.ts +3 -3
  201. package/es/src/pro-table/hooks/use-columns.d.ts +12 -12
  202. package/es/src/pro-table/hooks/use-custom-row.d.ts +18 -18
  203. package/es/src/pro-table/hooks/use-data-source.d.ts +26 -26
  204. package/es/src/pro-table/hooks/use-loading.d.ts +5 -5
  205. package/es/src/pro-table/hooks/use-pagination.d.ts +8 -8
  206. package/es/src/pro-table/hooks/use-row-selection.d.ts +11 -11
  207. package/es/src/pro-table/hooks/use-scroll-to.d.ts +4 -4
  208. package/es/src/pro-table/hooks/use-table-context.d.ts +11 -11
  209. package/es/src/pro-table/hooks/use-table-expand.d.ts +16 -16
  210. package/es/src/pro-table/hooks/use-table-footer.d.ts +4 -4
  211. package/es/src/pro-table/hooks/use-table-form.d.ts +7 -7
  212. package/es/src/pro-table/hooks/use-table-header.d.ts +4 -4
  213. package/es/src/pro-table/hooks/use-table-scroll.d.ts +10 -10
  214. package/es/src/pro-table/hooks/use-table-style.d.ts +4 -4
  215. package/es/src/pro-table/hooks/use-table.d.ts +15 -15
  216. package/es/src/pro-table/index.d.ts +10 -10
  217. package/es/src/pro-table/interface.d.ts +62 -62
  218. package/es/src/pro-table/pro-table.vue.d.ts +162 -162
  219. package/es/src/pro-table/types/pagination.d.ts +92 -92
  220. package/es/src/pro-table/types/table-action.d.ts +22 -22
  221. package/es/src/pro-table/types/table.d.ts +376 -376
  222. package/es/src/prompt/dialog.vue.d.ts +12 -12
  223. package/es/src/prompt/index.d.ts +9 -9
  224. package/es/src/prompt/interface.d.ts +22 -22
  225. package/es/src/prompt/utils.d.ts +9 -9
  226. package/es/src/scroll-bar/bar-item.d.ts +15 -15
  227. package/es/src/scroll-bar/index.d.ts +174 -174
  228. package/es/src/scroll-bar/interface.d.ts +31 -31
  229. package/es/src/scroll-bar/scroll-bar.vue.d.ts +50 -50
  230. package/es/src/scroll-bar/utils.d.ts +9 -9
  231. package/es/src/strength-meter/index.d.ts +88 -88
  232. package/es/src/strength-meter/interface.d.ts +5 -5
  233. package/es/src/strength-meter/strength-meter.vue.d.ts +37 -37
  234. package/es/src/theme/antd-global-overwrite/admin/index.css +44 -35
  235. package/es/src/theme/antd-global-overwrite/admin/message.css +8 -8
  236. package/es/src/theme/antd-global-overwrite/admin/modal.css +7 -1
  237. package/es/src/theme/antd-global-overwrite/admin/pagination.css +9 -6
  238. package/es/src/theme/antd-global-overwrite/admin/steps.css +20 -20
  239. package/es/src/theme/antd-global-overwrite/aplus/form.css +1 -1
  240. package/es/src/theme/antd-global-overwrite/aplus/index.css +35 -32
  241. package/es/src/theme/antd-global-overwrite/aplus/message.css +8 -8
  242. package/es/src/theme/antd-global-overwrite/aplus/pagination.css +9 -6
  243. package/es/src/theme/antd-global-overwrite/aplus/steps.css +17 -17
  244. package/es/src/theme/ap-tag/ap-tag-group.css +3 -0
  245. package/es/src/theme/ap-tag/ap-tag.css +3 -19
  246. package/es/src/theme/work-order-modal/index.css +3 -0
  247. package/es/src/transition/collapse-transition.vue.d.ts +10 -10
  248. package/es/src/transition/create-transition.d.ts +47 -47
  249. package/es/src/transition/expand-transition.d.ts +19 -19
  250. package/es/src/transition/index.d.ts +368 -368
  251. package/es/src/type.d.ts +29 -29
  252. package/es/src/utils/config-provider-preset.d.ts +36 -0
  253. package/es/src/utils/config-provider-preset.mjs +11 -0
  254. package/es/src/utils/copy-text-to-clipboard.d.ts +1 -1
  255. package/es/src/utils/index.d.ts +14 -14
  256. package/es/src/utils/slot.d.ts +15 -15
  257. package/es/src/utils/tree.d.ts +38 -38
  258. package/es/src/utils/uuid.d.ts +2 -2
  259. package/es/src/work-order-modal/createWorkOrder.d.ts +1 -0
  260. package/es/src/work-order-modal/createWorkOrder.mjs +19 -0
  261. package/es/src/work-order-modal/help-message.vue.d.ts +3 -0
  262. package/es/src/work-order-modal/help-message.vue.mjs +4 -0
  263. package/es/src/work-order-modal/help-message.vue2.mjs +33 -0
  264. package/es/src/work-order-modal/index.d.ts +5 -0
  265. package/es/src/work-order-modal/index.mjs +7 -0
  266. package/es/src/work-order-modal/interfaces.d.ts +23 -0
  267. package/es/src/work-order-modal/interfaces.mjs +4 -0
  268. package/es/src/work-order-modal/style/index.css +3 -0
  269. package/es/src/work-order-modal/work-order-modal.vue.d.ts +18 -0
  270. package/es/src/work-order-modal/work-order-modal.vue.mjs +164 -0
  271. package/es/src/work-order-modal/work-order-modal.vue2.mjs +4 -0
  272. package/lib/index.d.ts +7 -7
  273. package/lib/index.js +1 -1
  274. package/lib/src/ap-action/group/index.vue.d.ts +35 -35
  275. package/lib/src/ap-action/index.d.ts +9 -9
  276. package/lib/src/ap-action/interface.d.ts +80 -80
  277. package/lib/src/ap-action/item/index.vue.d.ts +42 -42
  278. package/lib/src/ap-action/item-dropdown/index.vue.d.ts +54 -54
  279. package/lib/src/ap-action/item-modal/index.vue.d.ts +38 -38
  280. package/lib/src/ap-action/item-popconfirm/index.vue.d.ts +332 -332
  281. package/lib/src/ap-custom-column/column-select.vue.d.ts +16 -16
  282. package/lib/src/ap-custom-column/custom-column.vue.d.ts +16 -16
  283. package/lib/src/ap-custom-column/index.d.ts +5 -5
  284. package/lib/src/ap-custom-column/interfaces.d.ts +40 -40
  285. package/lib/src/ap-custom-column/storage.d.ts +8 -8
  286. package/lib/src/ap-custom-column/useCacheColumnSetting.d.ts +9 -9
  287. package/lib/src/ap-custom-column/utils.d.ts +2 -2
  288. package/lib/src/ap-field/checkbox/helper.d.ts +3 -3
  289. package/lib/src/ap-field/checkbox/index.vue.d.ts +36 -36
  290. package/lib/src/ap-field/date/constant.d.ts +9 -9
  291. package/lib/src/ap-field/date/helper.d.ts +3 -3
  292. package/lib/src/ap-field/date/index.vue.d.ts +54 -54
  293. package/lib/src/ap-field/date/interface.d.ts +2 -2
  294. package/lib/src/ap-field/date-range/index.vue.d.ts +56 -56
  295. package/lib/src/ap-field/index.d.ts +15 -15
  296. package/lib/src/ap-field/interface.d.ts +86 -86
  297. package/lib/src/ap-field/number/helper.d.ts +1 -1
  298. package/lib/src/ap-field/number/index.vue.d.ts +69 -69
  299. package/lib/src/ap-field/radio/helper.d.ts +3 -3
  300. package/lib/src/ap-field/radio/index.vue.d.ts +38 -38
  301. package/lib/src/ap-field/select/index.vue.d.ts +226 -226
  302. package/lib/src/ap-field/switch/index.vue.d.ts +52 -52
  303. package/lib/src/ap-field/text/index.vue.d.ts +63 -63
  304. package/lib/src/ap-field/text-area/index.vue.d.ts +46 -46
  305. package/lib/src/ap-form/ap-form-item-group/helper.d.ts +17 -17
  306. package/lib/src/ap-form/ap-form-item-group/index.vue.d.ts +41 -41
  307. package/lib/src/ap-form/ap-form-item.vue.d.ts +66 -66
  308. package/lib/src/ap-form/ap-form-list.vue.d.ts +33 -33
  309. package/lib/src/ap-form/ap-form.vue.d.ts +63 -63
  310. package/lib/src/ap-form/constant.d.ts +2 -2
  311. package/lib/src/ap-form/context.d.ts +9 -9
  312. package/lib/src/ap-form/index.d.ts +11 -11
  313. package/lib/src/ap-form/interface.d.ts +46 -46
  314. package/lib/src/ap-form/items/date/index.vue.d.ts +62 -62
  315. package/lib/src/ap-form/items/date-range/index.vue.d.ts +61 -61
  316. package/lib/src/ap-form/items/index.d.ts +2 -2
  317. package/lib/src/ap-form/items/interface.d.ts +39 -39
  318. package/lib/src/ap-form/items/number/index.vue.d.ts +60 -60
  319. package/lib/src/ap-form/items/radio/index.vue.d.ts +47 -47
  320. package/lib/src/ap-form/items/select/index.vue.d.ts +66 -66
  321. package/lib/src/ap-form/items/switch/index.vue.d.ts +57 -57
  322. package/lib/src/ap-form/items/text/index.vue.d.ts +62 -62
  323. package/lib/src/ap-form/items/text-area/index.vue.d.ts +48 -48
  324. package/lib/src/ap-form/search-form/index.vue.d.ts +73 -73
  325. package/lib/src/ap-layout/ap-info-layout/ap-info-layout.vue.d.ts +41 -0
  326. package/lib/src/ap-layout/ap-info-layout/ap-info-layout.vue.js +1 -0
  327. package/lib/src/ap-layout/ap-info-layout/ap-info-layout.vue2.js +1 -0
  328. package/lib/src/ap-layout/index.d.ts +3 -0
  329. package/lib/src/ap-layout/index.js +1 -0
  330. package/lib/src/ap-layout/interface.d.ts +4 -0
  331. package/lib/src/ap-layout/style/ap-info-layout.css +32 -0
  332. package/lib/src/ap-tag/ap-tag-group.vue.d.ts +32 -32
  333. package/lib/src/ap-tag/ap-tag.vue.d.ts +32 -32
  334. package/lib/src/ap-tag/ap-tag.vue.js +1 -1
  335. package/lib/src/ap-tag/index.d.ts +3 -3
  336. package/lib/src/ap-tag/interface.d.ts +35 -35
  337. package/lib/src/ap-tag/style/ap-tag-group.css +3 -0
  338. package/lib/src/ap-tag/style/ap-tag.css +3 -19
  339. package/lib/src/ap-upload/apUpload.vue.d.ts +109 -109
  340. package/lib/src/ap-upload/apUploadTypes.d.ts +89 -89
  341. package/lib/src/ap-upload/components/MultipleFile.vue.d.ts +3 -3
  342. package/lib/src/ap-upload/components/Picture.vue.d.ts +3 -3
  343. package/lib/src/ap-upload/components/SingleFile.vue.d.ts +3 -3
  344. package/lib/src/ap-upload/hooks/useOss.d.ts +18 -18
  345. package/lib/src/ap-upload/index.d.ts +4 -4
  346. package/lib/src/ap-upload/utils/accept.d.ts +13 -13
  347. package/lib/src/ap-upload/utils/returnData.d.ts +19 -19
  348. package/lib/src/base-button/button.vue.d.ts +34 -34
  349. package/lib/src/base-button/constants.d.ts +25 -25
  350. package/lib/src/base-button/index.d.ts +134 -134
  351. package/lib/src/base-button/interface.d.ts +15 -15
  352. package/lib/src/base-button/modal-button.vue.d.ts +25 -25
  353. package/lib/src/base-button/pop-confirm-button.vue.d.ts +16 -16
  354. package/lib/src/basic/arrow.vue.d.ts +12 -12
  355. package/lib/src/basic/help.vue.d.ts +103 -103
  356. package/lib/src/basic/index.d.ts +276 -276
  357. package/lib/src/basic/interface.d.ts +20 -20
  358. package/lib/src/basic/title.vue.d.ts +33 -33
  359. package/lib/src/button/__tests__/button.test.d.ts +1 -1
  360. package/lib/src/button/index.d.ts +50 -50
  361. package/lib/src/config-provider/config-provider-props.d.ts +143 -143
  362. package/lib/src/config-provider/config-provider.d.ts +312 -312
  363. package/lib/src/config-provider/config-provider.js +1 -1
  364. package/lib/src/config-provider/constants.d.ts +27 -27
  365. package/lib/src/config-provider/hooks/use-global-config.d.ts +142 -142
  366. package/lib/src/config-provider/hooks/use-locale.d.ts +13 -13
  367. package/lib/src/config-provider/hooks/use-namespace.d.ts +23 -23
  368. package/lib/src/config-provider/index.d.ts +680 -680
  369. package/lib/src/container/collapse/header.vue.d.ts +35 -35
  370. package/lib/src/container/collapse/index.vue.d.ts +120 -120
  371. package/lib/src/container/index.d.ts +177 -177
  372. package/lib/src/container/interface.d.ts +18 -18
  373. package/lib/src/container/scroll-container.vue.d.ts +22 -22
  374. package/lib/src/count-down/button.vue.d.ts +26 -26
  375. package/lib/src/count-down/index.d.ts +149 -149
  376. package/lib/src/count-down/input.vue.d.ts +31 -31
  377. package/lib/src/count-down/interface.d.ts +12 -12
  378. package/lib/src/cropper/cropper-avatar.vue.d.ts +44 -44
  379. package/lib/src/cropper/cropper-image.vue.d.ts +49 -49
  380. package/lib/src/cropper/cropper-modal.vue.d.ts +46 -46
  381. package/lib/src/cropper/index.d.ts +366 -366
  382. package/lib/src/cropper/interface.d.ts +29 -29
  383. package/lib/src/description/description.vue.d.ts +93 -93
  384. package/lib/src/description/index.d.ts +211 -211
  385. package/lib/src/description/interface.d.ts +37 -37
  386. package/lib/src/description/use-description.d.ts +2 -2
  387. package/lib/src/design-token/index.d.ts +3 -3
  388. package/lib/src/dropdown/dropdown.vue.d.ts +43 -43
  389. package/lib/src/dropdown/index.d.ts +110 -110
  390. package/lib/src/dropdown/interface.d.ts +16 -16
  391. package/lib/src/hooks/index.d.ts +2 -2
  392. package/lib/src/hooks/useControllableValue.d.ts +11 -11
  393. package/lib/src/hooks/useMessage.d.ts +59 -59
  394. package/lib/src/icon/icon.vue.d.ts +32 -32
  395. package/lib/src/icon/index.d.ts +207 -207
  396. package/lib/src/icon/interface.d.ts +28 -28
  397. package/lib/src/icon/svg-icon.vue.d.ts +32 -32
  398. package/lib/src/icon-picker/data.d.ts +5 -5
  399. package/lib/src/icon-picker/icon-picker.vue.d.ts +50 -50
  400. package/lib/src/icon-picker/index.d.ts +189 -189
  401. package/lib/src/icon-picker/interface.d.ts +13 -13
  402. package/lib/src/index.d.ts +27 -25
  403. package/lib/src/index.js +1 -1
  404. package/lib/src/locale/index.d.ts +3 -3
  405. package/lib/src/locale/interface.d.ts +8 -8
  406. package/lib/src/locale/lang/en.d.ts +3 -3
  407. package/lib/src/locale/lang/en.js +1 -1
  408. package/lib/src/locale/lang/zh-cn.d.ts +3 -3
  409. package/lib/src/locale/lang/zh-cn.js +1 -1
  410. package/lib/src/modal/basic.vue.d.ts +459 -459
  411. package/lib/src/modal/components/modal-close.vue.d.ts +32 -32
  412. package/lib/src/modal/components/modal-footer.vue.d.ts +451 -451
  413. package/lib/src/modal/components/modal-header.vue.d.ts +12 -12
  414. package/lib/src/modal/components/modal-wrapper.vue.d.ts +101 -101
  415. package/lib/src/modal/components/modal.d.ts +437 -437
  416. package/lib/src/modal/hooks/use-moda-full-screen.d.ts +11 -11
  417. package/lib/src/modal/hooks/use-modal-context.d.ts +7 -7
  418. package/lib/src/modal/hooks/use-modal-drag.d.ts +7 -7
  419. package/lib/src/modal/hooks/use-modal.d.ts +6 -6
  420. package/lib/src/modal/index.d.ts +957 -957
  421. package/lib/src/modal/interface.d.ts +180 -180
  422. package/lib/src/modal/props.d.ts +277 -277
  423. package/lib/src/pro-form/component-map.d.ts +5 -5
  424. package/lib/src/pro-form/components/api-cascader.vue.d.ts +50 -50
  425. package/lib/src/pro-form/components/api-radio-group.vue.d.ts +49 -49
  426. package/lib/src/pro-form/components/api-select.vue.d.ts +71 -71
  427. package/lib/src/pro-form/components/api-transfer.vue.d.ts +53 -53
  428. package/lib/src/pro-form/components/api-tree-select.vue.d.ts +55 -55
  429. package/lib/src/pro-form/components/api-tree.vue.d.ts +43 -43
  430. package/lib/src/pro-form/components/form-action.vue.d.ts +58 -58
  431. package/lib/src/pro-form/components/form-item.vue.d.ts +70 -70
  432. package/lib/src/pro-form/components/interface.d.ts +113 -113
  433. package/lib/src/pro-form/components/radio-button-group.vue.d.ts +26 -26
  434. package/lib/src/pro-form/helper.d.ts +9 -9
  435. package/lib/src/pro-form/hooks/use-advanced.d.ts +14 -14
  436. package/lib/src/pro-form/hooks/use-auto-focus.d.ts +9 -9
  437. package/lib/src/pro-form/hooks/use-break-point.d.ts +23 -23
  438. package/lib/src/pro-form/hooks/use-component-register.d.ts +2 -2
  439. package/lib/src/pro-form/hooks/use-form-context.d.ts +8 -8
  440. package/lib/src/pro-form/hooks/use-form-events.d.ts +26 -26
  441. package/lib/src/pro-form/hooks/use-form-item.d.ts +2 -2
  442. package/lib/src/pro-form/hooks/use-form-values.d.ts +12 -12
  443. package/lib/src/pro-form/hooks/use-form.d.ts +8 -8
  444. package/lib/src/pro-form/hooks/use-label-width.d.ts +309 -309
  445. package/lib/src/pro-form/index.d.ts +17 -17
  446. package/lib/src/pro-form/interface.d.ts +4 -4
  447. package/lib/src/pro-form/pro-form.vue.d.ts +106 -106
  448. package/lib/src/pro-form/types/form-item.d.ts +80 -80
  449. package/lib/src/pro-form/types/form.d.ts +147 -147
  450. package/lib/src/pro-form/types/index.d.ts +158 -158
  451. package/lib/src/pro-table/component-map.d.ts +6 -6
  452. package/lib/src/pro-table/components/edit-table-header-icon.vue.d.ts +21 -21
  453. package/lib/src/pro-table/components/editable/cell-component.d.ts +11 -11
  454. package/lib/src/pro-table/components/editable/editable-cell.vue.d.ts +80 -80
  455. package/lib/src/pro-table/components/editable/helper.d.ts +5 -5
  456. package/lib/src/pro-table/components/editable/index.d.ts +21 -21
  457. package/lib/src/pro-table/components/header-cell.vue.d.ts +15 -15
  458. package/lib/src/pro-table/components/settings/column-setting.vue.d.ts +7 -7
  459. package/lib/src/pro-table/components/settings/full-screen-setting.vue.d.ts +2 -2
  460. package/lib/src/pro-table/components/settings/index.vue.d.ts +19 -19
  461. package/lib/src/pro-table/components/settings/redo-setting.vue.d.ts +2 -2
  462. package/lib/src/pro-table/components/settings/size-setting.vue.d.ts +2 -2
  463. package/lib/src/pro-table/components/table-action.vue.d.ts +56 -56
  464. package/lib/src/pro-table/components/table-footer.vue.d.ts +42 -42
  465. package/lib/src/pro-table/components/table-header.vue.d.ts +71 -71
  466. package/lib/src/pro-table/components/table-image.vue.d.ts +47 -47
  467. package/lib/src/pro-table/components/table-selection-bar.vue.d.ts +32 -32
  468. package/lib/src/pro-table/components/table-title.vue.d.ts +23 -23
  469. package/lib/src/pro-table/const.d.ts +6 -6
  470. package/lib/src/pro-table/directives/click-outside.d.ts +3 -3
  471. package/lib/src/pro-table/helper.d.ts +3 -3
  472. package/lib/src/pro-table/hooks/use-columns.d.ts +12 -12
  473. package/lib/src/pro-table/hooks/use-custom-row.d.ts +18 -18
  474. package/lib/src/pro-table/hooks/use-data-source.d.ts +26 -26
  475. package/lib/src/pro-table/hooks/use-loading.d.ts +5 -5
  476. package/lib/src/pro-table/hooks/use-pagination.d.ts +8 -8
  477. package/lib/src/pro-table/hooks/use-row-selection.d.ts +11 -11
  478. package/lib/src/pro-table/hooks/use-scroll-to.d.ts +4 -4
  479. package/lib/src/pro-table/hooks/use-table-context.d.ts +11 -11
  480. package/lib/src/pro-table/hooks/use-table-expand.d.ts +16 -16
  481. package/lib/src/pro-table/hooks/use-table-footer.d.ts +4 -4
  482. package/lib/src/pro-table/hooks/use-table-form.d.ts +7 -7
  483. package/lib/src/pro-table/hooks/use-table-header.d.ts +4 -4
  484. package/lib/src/pro-table/hooks/use-table-scroll.d.ts +10 -10
  485. package/lib/src/pro-table/hooks/use-table-style.d.ts +4 -4
  486. package/lib/src/pro-table/hooks/use-table.d.ts +15 -15
  487. package/lib/src/pro-table/index.d.ts +10 -10
  488. package/lib/src/pro-table/interface.d.ts +62 -62
  489. package/lib/src/pro-table/pro-table.vue.d.ts +162 -162
  490. package/lib/src/pro-table/types/pagination.d.ts +92 -92
  491. package/lib/src/pro-table/types/table-action.d.ts +22 -22
  492. package/lib/src/pro-table/types/table.d.ts +376 -376
  493. package/lib/src/prompt/dialog.vue.d.ts +12 -12
  494. package/lib/src/prompt/index.d.ts +9 -9
  495. package/lib/src/prompt/interface.d.ts +22 -22
  496. package/lib/src/prompt/utils.d.ts +9 -9
  497. package/lib/src/scroll-bar/bar-item.d.ts +15 -15
  498. package/lib/src/scroll-bar/index.d.ts +174 -174
  499. package/lib/src/scroll-bar/interface.d.ts +31 -31
  500. package/lib/src/scroll-bar/scroll-bar.vue.d.ts +50 -50
  501. package/lib/src/scroll-bar/utils.d.ts +9 -9
  502. package/lib/src/strength-meter/index.d.ts +88 -88
  503. package/lib/src/strength-meter/interface.d.ts +5 -5
  504. package/lib/src/strength-meter/strength-meter.vue.d.ts +37 -37
  505. package/lib/src/theme/antd-global-overwrite/admin/index.css +44 -35
  506. package/lib/src/theme/antd-global-overwrite/admin/message.css +8 -8
  507. package/lib/src/theme/antd-global-overwrite/admin/modal.css +7 -1
  508. package/lib/src/theme/antd-global-overwrite/admin/pagination.css +9 -6
  509. package/lib/src/theme/antd-global-overwrite/admin/steps.css +20 -20
  510. package/lib/src/theme/antd-global-overwrite/aplus/form.css +1 -1
  511. package/lib/src/theme/antd-global-overwrite/aplus/index.css +35 -32
  512. package/lib/src/theme/antd-global-overwrite/aplus/message.css +8 -8
  513. package/lib/src/theme/antd-global-overwrite/aplus/pagination.css +9 -6
  514. package/lib/src/theme/antd-global-overwrite/aplus/steps.css +17 -17
  515. package/lib/src/theme/ap-tag/ap-tag-group.css +3 -0
  516. package/lib/src/theme/ap-tag/ap-tag.css +3 -19
  517. package/lib/src/theme/work-order-modal/index.css +3 -0
  518. package/lib/src/transition/collapse-transition.vue.d.ts +10 -10
  519. package/lib/src/transition/create-transition.d.ts +47 -47
  520. package/lib/src/transition/expand-transition.d.ts +19 -19
  521. package/lib/src/transition/index.d.ts +368 -368
  522. package/lib/src/type.d.ts +29 -29
  523. package/lib/src/utils/config-provider-preset.d.ts +36 -0
  524. package/lib/src/utils/config-provider-preset.js +1 -0
  525. package/lib/src/utils/copy-text-to-clipboard.d.ts +1 -1
  526. package/lib/src/utils/index.d.ts +14 -14
  527. package/lib/src/utils/slot.d.ts +15 -15
  528. package/lib/src/utils/tree.d.ts +38 -38
  529. package/lib/src/utils/uuid.d.ts +2 -2
  530. package/lib/src/work-order-modal/createWorkOrder.d.ts +1 -0
  531. package/lib/src/work-order-modal/createWorkOrder.js +1 -0
  532. package/lib/src/work-order-modal/help-message.vue.d.ts +3 -0
  533. package/lib/src/work-order-modal/help-message.vue.js +1 -0
  534. package/lib/src/work-order-modal/help-message.vue2.js +1 -0
  535. package/lib/src/work-order-modal/index.d.ts +5 -0
  536. package/lib/src/work-order-modal/index.js +1 -0
  537. package/lib/src/work-order-modal/interfaces.d.ts +23 -0
  538. package/lib/src/work-order-modal/interfaces.js +1 -0
  539. package/lib/src/work-order-modal/style/index.css +3 -0
  540. package/lib/src/work-order-modal/work-order-modal.vue.d.ts +18 -0
  541. package/lib/src/work-order-modal/work-order-modal.vue.js +1 -0
  542. package/lib/src/work-order-modal/work-order-modal.vue2.js +1 -0
  543. package/package.json +11 -4
@@ -1,7 +1,7 @@
1
1
  import { ComputedRef, Ref } from 'vue';
2
2
  import { BasicTableProps } from '../types/table';
3
3
  import { ComponentRef, Recordable } from '../../type';
4
-
5
- export declare function useTableFooter(propsRef: ComputedRef<BasicTableProps>, scrollRef: ComputedRef<BasicTableProps['scroll']>, tableElRef: Ref<ComponentRef>, getDataSourceRef: ComputedRef<Recordable>): {
6
- getFooterProps: ComputedRef<Recordable<any> | undefined>;
7
- };
4
+
5
+ export declare function useTableFooter(propsRef: ComputedRef<BasicTableProps>, scrollRef: ComputedRef<BasicTableProps['scroll']>, tableElRef: Ref<ComponentRef>, getDataSourceRef: ComputedRef<Recordable>): {
6
+ getFooterProps: ComputedRef<Recordable<any> | undefined>;
7
+ };
@@ -2,10 +2,10 @@ import { ComputedRef, Slots } from 'vue';
2
2
  import { BasicTableProps, FetchParams } from '../types/table';
3
3
  import { ProFormProps } from '../../pro-form';
4
4
  import { Recordable } from '../../type';
5
-
6
- export declare function useTableForm(propsRef: ComputedRef<BasicTableProps>, slots: Slots, fetch: (opt?: FetchParams | undefined) => Promise<Recordable<any>[] | undefined>, getLoading: ComputedRef<boolean | undefined>): {
7
- getFormProps: ComputedRef<Partial<ProFormProps>>;
8
- replaceFormSlotKey: (key: string) => string;
9
- getFormSlotKeys: ComputedRef<string[]>;
10
- handleSearchInfoChange: (info: Recordable) => void;
11
- };
5
+
6
+ export declare function useTableForm(propsRef: ComputedRef<BasicTableProps>, slots: Slots, fetch: (opt?: FetchParams | undefined) => Promise<Recordable<any>[] | undefined>, getLoading: ComputedRef<boolean | undefined>): {
7
+ getFormProps: ComputedRef<Partial<ProFormProps>>;
8
+ replaceFormSlotKey: (key: string) => string;
9
+ getFormSlotKeys: ComputedRef<string[]>;
10
+ handleSearchInfoChange: (info: Recordable) => void;
11
+ };
@@ -1,7 +1,7 @@
1
1
  import { ComputedRef, Slots } from 'vue';
2
2
  import { BasicTableProps, InnerHandlers, InnerMethods } from '../types/table';
3
3
  import { Recordable } from '../../type';
4
-
5
- export declare function useTableHeader(propsRef: ComputedRef<BasicTableProps>, slots: Slots, handlers: InnerHandlers, methods: InnerMethods): {
6
- getHeaderProps: ComputedRef<Recordable<any>>;
7
- };
4
+
5
+ export declare function useTableHeader(propsRef: ComputedRef<BasicTableProps>, slots: Slots, handlers: InnerHandlers, methods: InnerMethods): {
6
+ getHeaderProps: ComputedRef<Recordable<any>>;
7
+ };
@@ -1,13 +1,13 @@
1
1
  import { BasicTableProps, TableRowSelection, BasicColumn } from '../types/table';
2
2
  import { Ref, ComputedRef } from 'vue';
3
3
  import { ComponentRef, Recordable } from '../../type';
4
-
5
- export declare function useTableScroll(propsRef: ComputedRef<BasicTableProps>, tableElRef: Ref<ComponentRef>, columnsRef: ComputedRef<BasicColumn[]>, rowSelectionRef: ComputedRef<TableRowSelection | null>, getDataSourceRef: ComputedRef<Recordable[]>, wrapRef: Ref<HTMLElement | null>, formRef: Ref<ComponentRef>): {
6
- getScrollRef: ComputedRef<({
7
- x?: string | number | true | undefined;
8
- y?: string | number | undefined;
9
- } & {
10
- scrollToFirstRowOnChange?: boolean | undefined;
11
- }) | undefined>;
12
- redoHeight: () => void;
13
- };
4
+
5
+ export declare function useTableScroll(propsRef: ComputedRef<BasicTableProps>, tableElRef: Ref<ComponentRef>, columnsRef: ComputedRef<BasicColumn[]>, rowSelectionRef: ComputedRef<TableRowSelection | null>, getDataSourceRef: ComputedRef<Recordable[]>, wrapRef: Ref<HTMLElement | null>, formRef: Ref<ComponentRef>): {
6
+ getScrollRef: ComputedRef<({
7
+ x?: string | number | true | undefined;
8
+ y?: string | number | undefined;
9
+ } & {
10
+ scrollToFirstRowOnChange?: boolean | undefined;
11
+ }) | undefined>;
12
+ redoHeight: () => void;
13
+ };
@@ -1,6 +1,6 @@
1
1
  import { ComputedRef } from 'vue';
2
2
  import { BasicTableProps, TableCustomRecord } from '../types/table';
3
-
4
- export declare function useTableStyle(propsRef: ComputedRef<BasicTableProps>, prefixCls: string): {
5
- getRowClassName: (record: TableCustomRecord<any>, index: number) => string;
6
- };
3
+
4
+ export declare function useTableStyle(propsRef: ComputedRef<BasicTableProps>, prefixCls: string): {
5
+ getRowClassName: (record: TableCustomRecord<any>, index: number) => string;
6
+ };
@@ -1,18 +1,18 @@
1
1
  import { BasicTableProps, TableActionType } from '../types/table';
2
2
  import { FormActionType } from '../../pro-form';
3
3
  import { ComputedRef, Ref } from 'vue';
4
-
5
- type DynamicProps<T> = {
6
- [P in keyof T]: Ref<T[P]> | T[P] | ComputedRef<T[P]>;
7
- };
8
- type Props = Partial<DynamicProps<BasicTableProps>>;
9
- type UseTableMethod = TableActionType & {
10
- getForm: () => FormActionType;
11
- };
12
- export declare function useTable(tableProps?: Props): [
13
- (instance: TableActionType, formInstance: UseTableMethod) => void,
14
- TableActionType & {
15
- getForm: () => FormActionType;
16
- }
17
- ];
18
- export {};
4
+
5
+ type DynamicProps<T> = {
6
+ [P in keyof T]: Ref<T[P]> | T[P] | ComputedRef<T[P]>;
7
+ };
8
+ type Props = Partial<DynamicProps<BasicTableProps>>;
9
+ type UseTableMethod = TableActionType & {
10
+ getForm: () => FormActionType;
11
+ };
12
+ export declare function useTable(tableProps?: Props): [
13
+ (instance: TableActionType, formInstance: UseTableMethod) => void,
14
+ TableActionType & {
15
+ getForm: () => FormActionType;
16
+ }
17
+ ];
18
+ export {};
@@ -1,10 +1,10 @@
1
- export { default as ProTable } from './pro-table.vue';
2
- export { default as TableAction } from './components/table-action.vue';
3
- export { default as EditTableHeaderIcon } from './components/edit-table-header-icon.vue';
4
- export { default as TableImg } from './components/table-image.vue';
5
- export * from './types/table';
6
- export * from './types/pagination';
7
- export * from './types/table-action';
8
- export * from './interface';
9
- export { useTable } from './hooks/use-table';
10
- export type { EditRecordRow } from './components/editable';
1
+ export { default as ProTable } from './pro-table.vue';
2
+ export { default as TableAction } from './components/table-action.vue';
3
+ export { default as EditTableHeaderIcon } from './components/edit-table-header-icon.vue';
4
+ export { default as TableImg } from './components/table-image.vue';
5
+ export * from './types/table';
6
+ export * from './types/pagination';
7
+ export * from './types/table-action';
8
+ export * from './interface';
9
+ export { useTable } from './hooks/use-table';
10
+ export type { EditRecordRow } from './components/editable';
@@ -2,65 +2,65 @@ import { ProFormProps } from '../pro-form/types/form';
2
2
  import { BasicColumn, BasicTableProps, FetchSetting, SizeType, SorterResult, TableCustomRecord, TableRowSelection, TableSetting } from './types/table';
3
3
  import { Fn, Recordable } from '../type';
4
4
  import { PaginationProps } from './types/pagination';
5
-
6
- type Key = string | number;
7
- export type ProTableProps = {
8
- clickToRowSelect?: boolean;
9
- isTreeTable?: boolean;
10
- tableSetting?: TableSetting;
11
- inset?: boolean;
12
- sortFn?: (sortInfo: SorterResult) => any;
13
- filterFn?: (data: Partial<Recordable<string[]>>) => any;
14
- showTableSetting?: boolean;
15
- autoCreateKey?: boolean;
16
- striped?: boolean;
17
- showSummary?: boolean;
18
- summaryFunc?: (...arg: any[]) => any[];
19
- summaryData?: Recordable[];
20
- indentSize?: number;
21
- canColDrag?: boolean;
22
- api?: (...arg: any[]) => Promise<any>;
23
- beforeFetch?: Fn;
24
- afterFetch?: Fn;
25
- handleSearchInfoFn?: Fn;
26
- fetchSetting?: FetchSetting;
27
- immediate?: boolean;
28
- emptyDataIsShowTable?: boolean;
29
- searchInfo?: Recordable;
30
- defSort?: Recordable;
31
- useSearchForm?: boolean;
32
- formConfig?: ProFormProps;
33
- columns?: BasicColumn[];
34
- showIndexColumn?: boolean;
35
- indexColumnProps?: BasicColumn;
36
- actionColumn?: BasicColumn;
37
- ellipsis?: boolean;
38
- isCanResizeParent?: boolean;
39
- canResize?: boolean;
40
- clearSelectOnPageChange?: boolean;
41
- resizeHeightOffset: number;
42
- rowSelection?: TableRowSelection;
43
- showSelectionBar?: boolean;
44
- title?: string | ((data: Recordable) => string);
45
- titleHelpMessage?: string | string[];
46
- maxHeight?: number;
47
- dataSource?: Recordable[];
48
- rowKey?: string | BasicTableProps['rowKey'];
49
- bordered?: boolean;
50
- pagination?: PaginationProps | boolean | null;
51
- loading?: boolean;
52
- rowClassName?: (record: TableCustomRecord<any>, index: number) => string;
53
- scroll?: BasicTableProps['scroll'];
54
- beforeEditSubmit?: (data: {
55
- record: Recordable;
56
- index: number;
57
- key: Key;
58
- value: any;
59
- }) => Promise<any>;
60
- size?: SizeType;
61
- /**
62
- * Form和Table的分割尺寸
63
- */
64
- divideSpace?: number | SizeType;
65
- };
66
- export {};
5
+
6
+ type Key = string | number;
7
+ export type ProTableProps = {
8
+ clickToRowSelect?: boolean;
9
+ isTreeTable?: boolean;
10
+ tableSetting?: TableSetting;
11
+ inset?: boolean;
12
+ sortFn?: (sortInfo: SorterResult) => any;
13
+ filterFn?: (data: Partial<Recordable<string[]>>) => any;
14
+ showTableSetting?: boolean;
15
+ autoCreateKey?: boolean;
16
+ striped?: boolean;
17
+ showSummary?: boolean;
18
+ summaryFunc?: (...arg: any[]) => any[];
19
+ summaryData?: Recordable[];
20
+ indentSize?: number;
21
+ canColDrag?: boolean;
22
+ api?: (...arg: any[]) => Promise<any>;
23
+ beforeFetch?: Fn;
24
+ afterFetch?: Fn;
25
+ handleSearchInfoFn?: Fn;
26
+ fetchSetting?: FetchSetting;
27
+ immediate?: boolean;
28
+ emptyDataIsShowTable?: boolean;
29
+ searchInfo?: Recordable;
30
+ defSort?: Recordable;
31
+ useSearchForm?: boolean;
32
+ formConfig?: ProFormProps;
33
+ columns?: BasicColumn[];
34
+ showIndexColumn?: boolean;
35
+ indexColumnProps?: BasicColumn;
36
+ actionColumn?: BasicColumn;
37
+ ellipsis?: boolean;
38
+ isCanResizeParent?: boolean;
39
+ canResize?: boolean;
40
+ clearSelectOnPageChange?: boolean;
41
+ resizeHeightOffset: number;
42
+ rowSelection?: TableRowSelection;
43
+ showSelectionBar?: boolean;
44
+ title?: string | ((data: Recordable) => string);
45
+ titleHelpMessage?: string | string[];
46
+ maxHeight?: number;
47
+ dataSource?: Recordable[];
48
+ rowKey?: string | BasicTableProps['rowKey'];
49
+ bordered?: boolean;
50
+ pagination?: PaginationProps | boolean | null;
51
+ loading?: boolean;
52
+ rowClassName?: (record: TableCustomRecord<any>, index: number) => string;
53
+ scroll?: BasicTableProps['scroll'];
54
+ beforeEditSubmit?: (data: {
55
+ record: Recordable;
56
+ index: number;
57
+ key: Key;
58
+ value: any;
59
+ }) => Promise<any>;
60
+ size?: SizeType;
61
+ /**
62
+ * Form和Table的分割尺寸
63
+ */
64
+ divideSpace?: number | SizeType;
65
+ };
66
+ export {};
@@ -6,165 +6,165 @@ import { Key } from 'ant-design-vue/es/table/interface';
6
6
  import { PaginationProps } from '.';
7
7
  import { GetRowKey } from 'ant-design-vue/es/vc-table/interface';
8
8
  import { TableColumnType } from 'ant-design-vue';
9
-
10
- type ProTableSlots = 'emptyText' | 'expandIcon' | 'title' | 'footer' | 'summary' | 'bodyCell' | 'expandColumnTitle' | 'headerCell' | 'customFilterIcon' | 'customFilterDropdown';
11
- declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ProTableProps>, {
12
- clickToRowSelect: boolean;
13
- tableSetting: () => {};
14
- autoCreateKey: boolean;
15
- striped: boolean;
16
- indentSize: number;
17
- canColDrag: boolean;
18
- immediate: boolean;
19
- emptyDataIsShowTable: boolean;
20
- columns: () => never[];
21
- showIndexColumn: boolean;
22
- ellipsis: boolean;
23
- isCanResizeParent: boolean;
24
- canResize: boolean;
25
- resizeHeightOffset: number;
26
- rowKey: string;
27
- divideSpace: string;
28
- pagination: null;
29
- }>, {
30
- reload: (opt?: FetchParams | undefined) => Promise< Recordable<any>[] | undefined>;
31
- setSelectedRows: (rows: Recordable<any>[]) => void;
32
- getSelectRows: <T = Recordable<any>>() => T[];
33
- clearSelectedRowKeys: () => void;
34
- expandAll: () => void;
35
- collapseAll: () => void;
36
- expandRows: (keyValues: Key[]) => void;
37
- collapseRows: (keyValues: Key[]) => void;
38
- scrollTo: (pos: string) => void;
39
- getSelectRowKeys: () => Key[];
40
- deleteSelectRowByKey: (keyValue: Key) => void;
41
- setPagination: (info: Partial< PaginationProps>) => void;
42
- setTableData: <T_1 = Recordable<any>>(values: T_1[]) => void;
43
- updateTableDataRecord: (keyValue: Key, record: Recordable<any>) => void | Recordable<any>;
44
- deleteTableDataRecord: (keyValues: Key | Key[]) => void;
45
- insertTableDataRecord: (record: Recordable<any> | Recordable<any>[], index?: number | undefined) => void | Recordable<any>[];
46
- findTableDataRecord: (keyValue: Key) => void | Recordable<any>;
47
- getColumns: (opt?: GetColumnsParams | undefined) => BasicColumn[];
48
- setColumns: (columns: string[] | BasicColumn[]) => void;
49
- getDataSource: <T_2 = Recordable<any>>() => T_2[];
50
- getRawDataSource: <T_3 = Recordable<any>>() => T_3;
51
- setLoading: (loading: boolean) => void;
52
- setProps: (props: Partial<BasicTableProps<any>>) => void;
53
- redoHeight: () => void;
54
- setSelectedRowKeys: (keyValues: Key[]) => void;
55
- getPaginationRef: () => boolean | PaginationProps;
56
- getSize: () => SizeType;
57
- getRowSelection: () => TableRowSelection<Recordable<any>>;
58
- getCacheColumns: () => BasicColumn[];
59
- emit?: ((...args: any[]) => any) | ((evt: string, ...args: any[]) => void) | undefined;
60
- updateTableData: (index: number, key: string, value: any) => Recordable<any>;
61
- setShowPagination: (show: boolean) => Promise<void>;
62
- getShowPagination: () => boolean;
63
- setCacheColumnsByField?: ((dataIndex: string | undefined, value: BasicColumn) => void) | undefined;
64
- setCacheColumns?: ((columns: BasicColumn[]) => void) | undefined;
65
- tableElRef: Ref<null>;
66
- }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
67
- change: (...args: any[]) => void;
68
- register: (...args: any[]) => void;
69
- "edit-change": (...args: any[]) => void;
70
- "edit-end": (...args: any[]) => void;
71
- "edit-cancel": (...args: any[]) => void;
72
- "edit-row-end": (...args: any[]) => void;
73
- "fetch-success": (...args: any[]) => void;
74
- "fetch-error": (...args: any[]) => void;
75
- "selection-change": (...args: any[]) => void;
76
- "row-click": (...args: any[]) => void;
77
- "row-dbClick": (...args: any[]) => void;
78
- "row-contextmenu": (...args: any[]) => void;
79
- "row-mouseenter": (...args: any[]) => void;
80
- "row-mouseleave": (...args: any[]) => void;
81
- "columns-change": (...args: any[]) => void;
82
- "expanded-rows-change": (...args: any[]) => void;
83
- }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ProTableProps>, {
84
- clickToRowSelect: boolean;
85
- tableSetting: () => {};
86
- autoCreateKey: boolean;
87
- striped: boolean;
88
- indentSize: number;
89
- canColDrag: boolean;
90
- immediate: boolean;
91
- emptyDataIsShowTable: boolean;
92
- columns: () => never[];
93
- showIndexColumn: boolean;
94
- ellipsis: boolean;
95
- isCanResizeParent: boolean;
96
- canResize: boolean;
97
- resizeHeightOffset: number;
98
- rowKey: string;
99
- divideSpace: string;
100
- pagination: null;
101
- }>>> & {
102
- onChange?: ((...args: any[]) => any) | undefined;
103
- onRegister?: ((...args: any[]) => any) | undefined;
104
- "onColumns-change"?: ((...args: any[]) => any) | undefined;
105
- "onEdit-change"?: ((...args: any[]) => any) | undefined;
106
- "onEdit-end"?: ((...args: any[]) => any) | undefined;
107
- "onEdit-cancel"?: ((...args: any[]) => any) | undefined;
108
- "onEdit-row-end"?: ((...args: any[]) => any) | undefined;
109
- "onFetch-success"?: ((...args: any[]) => any) | undefined;
110
- "onFetch-error"?: ((...args: any[]) => any) | undefined;
111
- "onSelection-change"?: ((...args: any[]) => any) | undefined;
112
- "onRow-click"?: ((...args: any[]) => any) | undefined;
113
- "onRow-dbClick"?: ((...args: any[]) => any) | undefined;
114
- "onRow-contextmenu"?: ((...args: any[]) => any) | undefined;
115
- "onRow-mouseenter"?: ((...args: any[]) => any) | undefined;
116
- "onRow-mouseleave"?: ((...args: any[]) => any) | undefined;
117
- "onExpanded-rows-change"?: ((...args: any[]) => any) | undefined;
118
- }, {
119
- ellipsis: boolean;
120
- pagination: boolean | PaginationProps | null;
121
- immediate: boolean;
122
- columns: BasicColumn[];
123
- rowKey: string | GetRowKey<any>;
124
- indentSize: number;
125
- showIndexColumn: boolean;
126
- canResize: boolean;
127
- isCanResizeParent: boolean;
128
- resizeHeightOffset: number;
129
- clickToRowSelect: boolean;
130
- striped: boolean;
131
- tableSetting: TableSetting;
132
- autoCreateKey: boolean;
133
- canColDrag: boolean;
134
- emptyDataIsShowTable: boolean;
135
- divideSpace: number | SizeType;
136
- }, {}>, Partial<Record<string, (_: any) => any>> & Partial<Record<NonNullable<ProTableSlots>, (_: any) => any>> & {
137
- headerCell?(_: {
138
- column: TableColumnType<any>;
139
- }): any;
140
- bodyCell?(_: {
141
- text: any;
142
- value: any;
143
- record: Record<string, any>;
144
- index: number;
145
- column: TableColumnType<any>;
146
- }): any;
147
- }>;
148
- export default _default;
149
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
150
- type __VLS_TypePropsToRuntimeProps<T> = {
151
- [K in keyof T]-?: {} extends Pick<T, K> ? {
152
- type: PropType<__VLS_NonUndefinedable<T[K]>>;
153
- } : {
154
- type: PropType<T[K]>;
155
- required: true;
156
- };
157
- };
158
- type __VLS_WithDefaults<P, D> = {
159
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
160
- default: D[K];
161
- }> : P[K];
162
- };
163
- type __VLS_Prettify<T> = {
164
- [K in keyof T]: T[K];
165
- } & {};
166
- type __VLS_WithTemplateSlots<T, S> = T & {
167
- new (): {
168
- $slots: S;
169
- };
170
- };
9
+
10
+ type ProTableSlots = 'emptyText' | 'expandIcon' | 'title' | 'footer' | 'summary' | 'bodyCell' | 'expandColumnTitle' | 'headerCell' | 'customFilterIcon' | 'customFilterDropdown';
11
+ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ProTableProps>, {
12
+ clickToRowSelect: boolean;
13
+ tableSetting: () => {};
14
+ autoCreateKey: boolean;
15
+ striped: boolean;
16
+ indentSize: number;
17
+ canColDrag: boolean;
18
+ immediate: boolean;
19
+ emptyDataIsShowTable: boolean;
20
+ columns: () => never[];
21
+ showIndexColumn: boolean;
22
+ ellipsis: boolean;
23
+ isCanResizeParent: boolean;
24
+ canResize: boolean;
25
+ resizeHeightOffset: number;
26
+ rowKey: string;
27
+ divideSpace: string;
28
+ pagination: null;
29
+ }>, {
30
+ reload: (opt?: FetchParams | undefined) => Promise< Recordable<any>[] | undefined>;
31
+ setSelectedRows: (rows: Recordable<any>[]) => void;
32
+ getSelectRows: <T = Recordable<any>>() => T[];
33
+ clearSelectedRowKeys: () => void;
34
+ expandAll: () => void;
35
+ collapseAll: () => void;
36
+ expandRows: (keyValues: Key[]) => void;
37
+ collapseRows: (keyValues: Key[]) => void;
38
+ scrollTo: (pos: string) => void;
39
+ getSelectRowKeys: () => Key[];
40
+ deleteSelectRowByKey: (keyValue: Key) => void;
41
+ setPagination: (info: Partial< PaginationProps>) => void;
42
+ setTableData: <T_1 = Recordable<any>>(values: T_1[]) => void;
43
+ updateTableDataRecord: (keyValue: Key, record: Recordable<any>) => void | Recordable<any>;
44
+ deleteTableDataRecord: (keyValues: Key | Key[]) => void;
45
+ insertTableDataRecord: (record: Recordable<any> | Recordable<any>[], index?: number | undefined) => void | Recordable<any>[];
46
+ findTableDataRecord: (keyValue: Key) => void | Recordable<any>;
47
+ getColumns: (opt?: GetColumnsParams | undefined) => BasicColumn[];
48
+ setColumns: (columns: string[] | BasicColumn[]) => void;
49
+ getDataSource: <T_2 = Recordable<any>>() => T_2[];
50
+ getRawDataSource: <T_3 = Recordable<any>>() => T_3;
51
+ setLoading: (loading: boolean) => void;
52
+ setProps: (props: Partial<BasicTableProps<any>>) => void;
53
+ redoHeight: () => void;
54
+ setSelectedRowKeys: (keyValues: Key[]) => void;
55
+ getPaginationRef: () => boolean | PaginationProps;
56
+ getSize: () => SizeType;
57
+ getRowSelection: () => TableRowSelection<Recordable<any>>;
58
+ getCacheColumns: () => BasicColumn[];
59
+ emit?: ((...args: any[]) => any) | ((evt: string, ...args: any[]) => void) | undefined;
60
+ updateTableData: (index: number, key: string, value: any) => Recordable<any>;
61
+ setShowPagination: (show: boolean) => Promise<void>;
62
+ getShowPagination: () => boolean;
63
+ setCacheColumnsByField?: ((dataIndex: string | undefined, value: BasicColumn) => void) | undefined;
64
+ setCacheColumns?: ((columns: BasicColumn[]) => void) | undefined;
65
+ tableElRef: Ref<null>;
66
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
67
+ change: (...args: any[]) => void;
68
+ register: (...args: any[]) => void;
69
+ "edit-change": (...args: any[]) => void;
70
+ "edit-end": (...args: any[]) => void;
71
+ "edit-cancel": (...args: any[]) => void;
72
+ "edit-row-end": (...args: any[]) => void;
73
+ "fetch-success": (...args: any[]) => void;
74
+ "fetch-error": (...args: any[]) => void;
75
+ "selection-change": (...args: any[]) => void;
76
+ "row-click": (...args: any[]) => void;
77
+ "row-dbClick": (...args: any[]) => void;
78
+ "row-contextmenu": (...args: any[]) => void;
79
+ "row-mouseenter": (...args: any[]) => void;
80
+ "row-mouseleave": (...args: any[]) => void;
81
+ "columns-change": (...args: any[]) => void;
82
+ "expanded-rows-change": (...args: any[]) => void;
83
+ }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ProTableProps>, {
84
+ clickToRowSelect: boolean;
85
+ tableSetting: () => {};
86
+ autoCreateKey: boolean;
87
+ striped: boolean;
88
+ indentSize: number;
89
+ canColDrag: boolean;
90
+ immediate: boolean;
91
+ emptyDataIsShowTable: boolean;
92
+ columns: () => never[];
93
+ showIndexColumn: boolean;
94
+ ellipsis: boolean;
95
+ isCanResizeParent: boolean;
96
+ canResize: boolean;
97
+ resizeHeightOffset: number;
98
+ rowKey: string;
99
+ divideSpace: string;
100
+ pagination: null;
101
+ }>>> & {
102
+ onChange?: ((...args: any[]) => any) | undefined;
103
+ onRegister?: ((...args: any[]) => any) | undefined;
104
+ "onColumns-change"?: ((...args: any[]) => any) | undefined;
105
+ "onEdit-change"?: ((...args: any[]) => any) | undefined;
106
+ "onEdit-end"?: ((...args: any[]) => any) | undefined;
107
+ "onEdit-cancel"?: ((...args: any[]) => any) | undefined;
108
+ "onEdit-row-end"?: ((...args: any[]) => any) | undefined;
109
+ "onFetch-success"?: ((...args: any[]) => any) | undefined;
110
+ "onFetch-error"?: ((...args: any[]) => any) | undefined;
111
+ "onSelection-change"?: ((...args: any[]) => any) | undefined;
112
+ "onRow-click"?: ((...args: any[]) => any) | undefined;
113
+ "onRow-dbClick"?: ((...args: any[]) => any) | undefined;
114
+ "onRow-contextmenu"?: ((...args: any[]) => any) | undefined;
115
+ "onRow-mouseenter"?: ((...args: any[]) => any) | undefined;
116
+ "onRow-mouseleave"?: ((...args: any[]) => any) | undefined;
117
+ "onExpanded-rows-change"?: ((...args: any[]) => any) | undefined;
118
+ }, {
119
+ ellipsis: boolean;
120
+ pagination: boolean | PaginationProps | null;
121
+ immediate: boolean;
122
+ columns: BasicColumn[];
123
+ rowKey: string | GetRowKey<any>;
124
+ indentSize: number;
125
+ showIndexColumn: boolean;
126
+ canResize: boolean;
127
+ isCanResizeParent: boolean;
128
+ resizeHeightOffset: number;
129
+ clickToRowSelect: boolean;
130
+ striped: boolean;
131
+ tableSetting: TableSetting;
132
+ autoCreateKey: boolean;
133
+ canColDrag: boolean;
134
+ emptyDataIsShowTable: boolean;
135
+ divideSpace: number | SizeType;
136
+ }, {}>, Partial<Record<string, (_: any) => any>> & Partial<Record<NonNullable<ProTableSlots>, (_: any) => any>> & {
137
+ headerCell?(_: {
138
+ column: TableColumnType<any>;
139
+ }): any;
140
+ bodyCell?(_: {
141
+ text: any;
142
+ value: any;
143
+ record: Record<string, any>;
144
+ index: number;
145
+ column: TableColumnType<any>;
146
+ }): any;
147
+ }>;
148
+ export default _default;
149
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
150
+ type __VLS_TypePropsToRuntimeProps<T> = {
151
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
152
+ type: PropType<__VLS_NonUndefinedable<T[K]>>;
153
+ } : {
154
+ type: PropType<T[K]>;
155
+ required: true;
156
+ };
157
+ };
158
+ type __VLS_WithDefaults<P, D> = {
159
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
160
+ default: D[K];
161
+ }> : P[K];
162
+ };
163
+ type __VLS_Prettify<T> = {
164
+ [K in keyof T]: T[K];
165
+ } & {};
166
+ type __VLS_WithTemplateSlots<T, S> = T & {
167
+ new (): {
168
+ $slots: S;
169
+ };
170
+ };