@aplus-frontend/ui 0.0.40 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (666) hide show
  1. package/es/index.d.ts +0 -1
  2. package/es/src/ap-action/group/index.vue.d.ts +12 -13
  3. package/es/src/ap-action/index.d.ts +0 -1
  4. package/es/src/ap-action/interface.d.ts +0 -1
  5. package/es/src/ap-action/item/index.vue.d.ts +16 -15
  6. package/es/src/ap-action/item/index.vue2.mjs +24 -26
  7. package/es/src/ap-action/item-dropdown/index.vue.d.ts +19 -18
  8. package/es/src/ap-action/item-modal/index.vue.d.ts +16 -15
  9. package/es/src/ap-action/item-modal/index.vue.mjs +7 -6
  10. package/es/src/ap-action/item-popconfirm/index.vue.d.ts +26 -25
  11. package/es/src/ap-action/style/item.css +10 -25
  12. package/es/src/ap-custom-column/column-select.vue.d.ts +3 -4
  13. package/es/src/ap-custom-column/custom-column.vue.d.ts +3 -4
  14. package/es/src/ap-custom-column/index.d.ts +0 -1
  15. package/es/src/ap-custom-column/interfaces.d.ts +0 -1
  16. package/es/src/ap-custom-column/storage.mjs +11 -11
  17. package/es/src/ap-custom-column/useCacheColumnSetting.d.ts +0 -1
  18. package/es/src/ap-custom-column/utils.d.ts +0 -1
  19. package/es/src/ap-descriptions/ap-descriptions.vue.d.ts +11 -10
  20. package/es/src/ap-descriptions/formatter/index.d.ts +0 -1
  21. package/es/src/ap-descriptions/help-message/index.vue.d.ts +14 -12
  22. package/es/src/ap-descriptions/helper.d.ts +0 -1
  23. package/es/src/ap-descriptions/index.d.ts +0 -1
  24. package/es/src/ap-descriptions/interface.d.ts +0 -1
  25. package/es/src/ap-download/ap-download.vue.d.ts +18 -17
  26. package/es/src/ap-download/ap-download.vue.mjs +4 -1
  27. package/es/src/ap-download/hooks/index.d.ts +0 -1
  28. package/es/src/ap-download/index.d.ts +0 -1
  29. package/es/src/ap-download/interface.d.ts +0 -1
  30. package/es/src/ap-field/checkbox/helper.d.ts +0 -1
  31. package/es/src/ap-field/checkbox/index.vue.d.ts +11 -12
  32. package/es/src/ap-field/checkbox/index.vue.mjs +32 -27
  33. package/es/src/ap-field/checkbox/style.css +7 -0
  34. package/es/src/ap-field/date/constant.d.ts +0 -1
  35. package/es/src/ap-field/date/helper.d.ts +0 -1
  36. package/es/src/ap-field/date/index.vue.d.ts +25 -24
  37. package/es/src/ap-field/date/index.vue.mjs +4 -1
  38. package/es/src/ap-field/date-range/index.vue.d.ts +23 -22
  39. package/es/src/ap-field/date-range/index.vue.mjs +7 -1
  40. package/es/src/ap-field/hooks/use-default-placeholder.d.ts +3 -3
  41. package/es/src/ap-field/index.d.ts +0 -1
  42. package/es/src/ap-field/interface.d.ts +2 -1
  43. package/es/src/ap-field/number/helper.d.ts +0 -1
  44. package/es/src/ap-field/number/index.vue.d.ts +14 -13
  45. package/es/src/ap-field/radio/helper.d.ts +0 -1
  46. package/es/src/ap-field/radio/index.vue.d.ts +14 -12
  47. package/es/src/ap-field/radio/index.vue.mjs +44 -29
  48. package/es/src/ap-field/radio/style.css +4 -0
  49. package/es/src/ap-field/rate/index.vue.d.ts +19 -18
  50. package/es/src/ap-field/segmented/index.vue.d.ts +23 -22
  51. package/es/src/ap-field/select/index.vue.d.ts +20 -19
  52. package/es/src/ap-field/slider/index.vue.d.ts +14 -13
  53. package/es/src/ap-field/slider/index.vue.mjs +1 -4
  54. package/es/src/ap-field/switch/index.vue.d.ts +15 -14
  55. package/es/src/ap-field/text/index.d.ts +0 -1
  56. package/es/src/ap-field/text/index.vue.d.ts +17 -16
  57. package/es/src/ap-field/text/input-password-props.d.ts +0 -1
  58. package/es/src/ap-field/text/password.vue.d.ts +18 -17
  59. package/es/src/ap-field/text-area/index.vue.d.ts +13 -14
  60. package/es/src/ap-form/ap-form-item-group/helper.d.ts +0 -1
  61. package/es/src/ap-form/ap-form-item-group/index.vue.d.ts +19 -18
  62. package/es/src/ap-form/ap-form-item.vue.d.ts +15 -14
  63. package/es/src/ap-form/ap-form-list.vue.d.ts +9 -8
  64. package/es/src/ap-form/ap-form.vue.d.ts +22 -21
  65. package/es/src/ap-form/constant.d.ts +0 -1
  66. package/es/src/ap-form/context.d.ts +0 -1
  67. package/es/src/ap-form/hooks/use-watch.d.ts +0 -1
  68. package/es/src/ap-form/hooks/use-watch.mjs +7 -7
  69. package/es/src/ap-form/index.d.ts +0 -1
  70. package/es/src/ap-form/interface.d.ts +0 -1
  71. package/es/src/ap-form/items/checkbox/index.vue.d.ts +17 -16
  72. package/es/src/ap-form/items/date/index.vue.d.ts +38 -37
  73. package/es/src/ap-form/items/date-range/index.vue.d.ts +38 -37
  74. package/es/src/ap-form/items/index.d.ts +0 -1
  75. package/es/src/ap-form/items/interface.d.ts +0 -1
  76. package/es/src/ap-form/items/number/index.vue.d.ts +31 -30
  77. package/es/src/ap-form/items/radio/index.vue.d.ts +17 -16
  78. package/es/src/ap-form/items/select/index.vue.d.ts +41 -40
  79. package/es/src/ap-form/items/switch/index.vue.d.ts +25 -24
  80. package/es/src/ap-form/items/text/index.d.ts +0 -1
  81. package/es/src/ap-form/items/text/index.vue.d.ts +31 -30
  82. package/es/src/ap-form/items/text/password.vue.d.ts +31 -30
  83. package/es/src/ap-form/items/text-area/index.vue.d.ts +18 -17
  84. package/es/src/ap-form/modal-form/index.vue.d.ts +30 -29
  85. package/es/src/ap-form/search-form/index.vue.d.ts +23 -22
  86. package/es/src/ap-form/search-form/utils.d.ts +0 -1
  87. package/es/src/ap-form/search-form/utils.mjs +1 -2
  88. package/es/src/ap-form/style/ap-form-item.css +6 -6
  89. package/es/src/ap-layout/ap-info-layout/ap-info-layout.vue.d.ts +20 -19
  90. package/es/src/ap-layout/index.d.ts +0 -1
  91. package/es/src/ap-list/hooks/use-offline-list.d.ts +0 -1
  92. package/es/src/ap-list/index.d.ts +0 -1
  93. package/es/src/ap-list/index.vue.d.ts +9 -122
  94. package/es/src/ap-list/interface.d.ts +0 -1
  95. package/es/src/ap-modal/index.d.ts +0 -1
  96. package/es/src/ap-modal/type.d.ts +0 -1
  97. package/es/src/ap-modal/utils/createModal.d.ts +0 -1
  98. package/es/src/ap-table/ap-table.vue.d.ts +16 -2222
  99. package/es/src/ap-table/ap-table.vue.mjs +125 -126
  100. package/es/src/ap-table/components/index/index.vue.d.ts +11 -12
  101. package/es/src/ap-table/components/interface.d.ts +0 -1
  102. package/es/src/ap-table/components/status/index.vue.d.ts +2 -3
  103. package/es/src/ap-table/constants.d.ts +4816 -6356
  104. package/es/src/ap-table/hooks/use-table-paging.d.ts +0 -1
  105. package/es/src/ap-table/hooks/use-table-row-selection.d.ts +0 -1
  106. package/es/src/ap-table/index.d.ts +0 -1
  107. package/es/src/ap-table/interface.d.ts +0 -1
  108. package/es/src/ap-table/style/ap-table.css +1 -21
  109. package/es/src/ap-table/utils.d.ts +1 -2
  110. package/es/src/ap-tag/ap-tag-group.vue.d.ts +14 -13
  111. package/es/src/ap-tag/ap-tag-group.vue.mjs +8 -7
  112. package/es/src/ap-tag/ap-tag.vue.d.ts +13 -14
  113. package/es/src/ap-tag/index.d.ts +0 -1
  114. package/es/src/ap-tag/interface.d.ts +0 -1
  115. package/es/src/ap-upload/apUpload.vue.d.ts +2 -3
  116. package/es/src/ap-upload/apUpload.vue.mjs +4 -1
  117. package/es/src/ap-upload/apUploadTypes.d.ts +0 -1
  118. package/es/src/ap-upload/components/MultipleFile.vue.d.ts +0 -1
  119. package/es/src/ap-upload/components/Picture.vue.d.ts +0 -1
  120. package/es/src/ap-upload/components/Picture.vue2.mjs +15 -5
  121. package/es/src/ap-upload/components/SingleFile.vue.d.ts +0 -1
  122. package/es/src/ap-upload/components/SingleFile.vue2.mjs +5 -1
  123. package/es/src/ap-upload/hooks/useOss.d.ts +0 -1
  124. package/es/src/ap-upload/index.d.ts +0 -1
  125. package/es/src/ap-upload/utils/accept.d.ts +0 -1
  126. package/es/src/ap-upload/utils/accept.mjs +1 -2
  127. package/es/src/base-button/button.vue.d.ts +17 -16
  128. package/es/src/base-button/constants.d.ts +0 -1
  129. package/es/src/base-button/index.d.ts +55 -55
  130. package/es/src/base-button/interface.d.ts +0 -1
  131. package/es/src/basic/arrow.vue.d.ts +2 -3
  132. package/es/src/basic/help.vue.d.ts +4 -9
  133. package/es/src/basic/index.d.ts +27 -35
  134. package/es/src/basic/interface.d.ts +0 -1
  135. package/es/src/basic/title.vue.d.ts +16 -15
  136. package/es/src/business/ap-export-group/ApExportGroup.vue.d.ts +2 -3
  137. package/es/src/business/ap-export-group/ApExportGroup.vue2.mjs +1 -2
  138. package/es/src/business/ap-export-group/interface.d.ts +0 -1
  139. package/es/src/business/ap-label/ApLabel.vue.d.ts +17 -16
  140. package/es/src/business/ap-label/index.d.ts +0 -1
  141. package/es/src/business/ap-label/interface.d.ts +0 -1
  142. package/es/src/business/ap-select-layout/index.css +8 -0
  143. package/es/src/business/ap-select-layout/index.d.ts +0 -1
  144. package/es/src/business/ap-select-layout/select-layout.vue.d.ts +16 -58
  145. package/es/src/business/ap-status/ApStatus.vue.d.ts +11 -12
  146. package/es/src/business/ap-status/ApStatusGroup.vue.d.ts +14 -17
  147. package/es/src/business/ap-status/ApStatusGroup.vue2.mjs +10 -9
  148. package/es/src/business/ap-status/index.d.ts +0 -1
  149. package/es/src/business/expandAlert/ApExpandAlert.vue.d.ts +18 -17
  150. package/es/src/business/index.d.ts +213 -248
  151. package/es/src/business/title/ApTitle.vue.d.ts +19 -18
  152. package/es/src/button/button.vue.d.ts +25 -0
  153. package/es/src/button/index.d.ts +7 -7
  154. package/es/src/check-card/checked.svg.mjs +2 -2
  155. package/es/src/check-card/context.d.ts +0 -1
  156. package/es/src/check-card/group.vue.d.ts +21 -20
  157. package/es/src/check-card/index.d.ts +0 -1
  158. package/es/src/check-card/index.vue.d.ts +16 -15
  159. package/es/src/check-card/index.vue2.mjs +45 -49
  160. package/es/src/check-card/interface.d.ts +0 -1
  161. package/es/src/check-card/style/index.css +10 -42
  162. package/es/src/config-provider/config-provider-props.d.ts +22 -23
  163. package/es/src/config-provider/config-provider.d.ts +59 -204
  164. package/es/src/config-provider/constants.d.ts +0 -1
  165. package/es/src/config-provider/hooks/use-global-config.d.ts +24 -25
  166. package/es/src/config-provider/hooks/use-locale.d.ts +0 -1
  167. package/es/src/config-provider/hooks/use-namespace.d.ts +0 -1
  168. package/es/src/config-provider/index.d.ts +129 -130
  169. package/es/src/container/collapse/header.vue.d.ts +4 -5
  170. package/es/src/container/collapse/index.vue.d.ts +5 -6
  171. package/es/src/container/index.d.ts +26 -26
  172. package/es/src/container/scroll-container.vue.d.ts +13 -12
  173. package/es/src/count-down/button.vue.d.ts +11 -12
  174. package/es/src/count-down/index.d.ts +13 -13
  175. package/es/src/count-down/input.vue.d.ts +14 -13
  176. package/es/src/count-down/interface.d.ts +0 -1
  177. package/es/src/cropper/cropper-avatar.vue.d.ts +12 -13
  178. package/es/src/cropper/cropper-image.vue.d.ts +12 -13
  179. package/es/src/cropper/cropper-modal.vue.d.ts +0 -1
  180. package/es/src/cropper/index.d.ts +63 -63
  181. package/es/src/cropper/interface.d.ts +0 -1
  182. package/es/src/description/description.vue.d.ts +1 -2
  183. package/es/src/description/index.d.ts +10 -10
  184. package/es/src/description/interface.d.ts +0 -1
  185. package/es/src/description/use-description.d.ts +0 -1
  186. package/es/src/design-token/index.d.ts +0 -1
  187. package/es/src/design-token/index.mjs +4 -2
  188. package/es/src/dropdown/dropdown.vue.d.ts +18 -17
  189. package/es/src/dropdown/index.d.ts +18 -18
  190. package/es/src/dropdown/interface.d.ts +0 -1
  191. package/es/src/editable-table/form-item.vue.d.ts +14 -915
  192. package/es/src/editable-table/form-item.vue.mjs +57 -58
  193. package/es/src/editable-table/hooks/use-get-columns.d.ts +0 -1
  194. package/es/src/editable-table/index.d.ts +0 -1
  195. package/es/src/editable-table/index.vue.d.ts +18 -568
  196. package/es/src/editable-table/index.vue.mjs +54 -55
  197. package/es/src/editable-table/interface.d.ts +0 -1
  198. package/es/src/editable-table/style/index.css +1 -21
  199. package/es/src/editable-table/utils.d.ts +0 -1
  200. package/es/src/hooks/useControllableValue.d.ts +0 -1
  201. package/es/src/hooks/useMessage.d.ts +0 -1
  202. package/es/src/icon/icon.vue.d.ts +12 -12
  203. package/es/src/icon/icon.vue2.mjs +3 -6
  204. package/es/src/icon/index.d.ts +36 -36
  205. package/es/src/icon/svg-icon.vue.d.ts +11 -12
  206. package/es/src/icon-picker/icon-picker.vue.d.ts +12 -13
  207. package/es/src/icon-picker/index.d.ts +25 -25
  208. package/es/src/locale/index.d.ts +0 -1
  209. package/es/src/locale/lang/en.d.ts +0 -1
  210. package/es/src/locale/lang/en.mjs +1 -1
  211. package/es/src/locale/lang/zh-cn.d.ts +0 -1
  212. package/es/src/locale/lang/zh-cn.mjs +22 -22
  213. package/es/src/modal/basic.vue.d.ts +18 -206
  214. package/es/src/modal/components/modal-close.vue.d.ts +11 -12
  215. package/es/src/modal/components/modal-footer.vue.d.ts +20 -209
  216. package/es/src/modal/components/modal-header.vue.d.ts +2 -3
  217. package/es/src/modal/components/modal-wrapper.vue.d.ts +7 -5
  218. package/es/src/modal/components/modal-wrapper.vue2.mjs +4 -8
  219. package/es/src/modal/components/modal.d.ts +11 -201
  220. package/es/src/modal/hooks/use-moda-full-screen.d.ts +0 -1
  221. package/es/src/modal/hooks/use-modal-drag.d.ts +0 -1
  222. package/es/src/modal/hooks/use-modal-drag.mjs +3 -6
  223. package/es/src/modal/hooks/use-modal.d.ts +0 -1
  224. package/es/src/modal/hooks/use-modal.mjs +1 -2
  225. package/es/src/modal/index.d.ts +37 -130
  226. package/es/src/modal/interface.d.ts +0 -1
  227. package/es/src/modal/props.d.ts +6 -103
  228. package/es/src/pro-form/component-map.d.ts +0 -1
  229. package/es/src/pro-form/components/api-cascader.vue.d.ts +11 -12
  230. package/es/src/pro-form/components/api-radio-group.vue.d.ts +12 -13
  231. package/es/src/pro-form/components/api-select.vue.d.ts +15 -14
  232. package/es/src/pro-form/components/api-transfer.vue.d.ts +14 -15
  233. package/es/src/pro-form/components/api-tree-select.vue.d.ts +14 -13
  234. package/es/src/pro-form/components/api-tree-select.vue.mjs +1 -2
  235. package/es/src/pro-form/components/api-tree.vue.d.ts +15 -14
  236. package/es/src/pro-form/components/api-tree.vue.mjs +1 -2
  237. package/es/src/pro-form/components/form-action.vue.d.ts +19 -18
  238. package/es/src/pro-form/components/form-item.vue.d.ts +0 -1
  239. package/es/src/pro-form/components/interface.d.ts +0 -1
  240. package/es/src/pro-form/components/radio-button-group.vue.d.ts +11 -12
  241. package/es/src/pro-form/helper.d.ts +1 -2
  242. package/es/src/pro-form/helper.mjs +4 -4
  243. package/es/src/pro-form/hooks/use-advanced.d.ts +0 -1
  244. package/es/src/pro-form/hooks/use-auto-focus.d.ts +0 -1
  245. package/es/src/pro-form/hooks/use-component-register.d.ts +0 -1
  246. package/es/src/pro-form/hooks/use-form-events.d.ts +0 -1
  247. package/es/src/pro-form/hooks/use-form-events.mjs +11 -11
  248. package/es/src/pro-form/hooks/use-form-item.d.ts +0 -1
  249. package/es/src/pro-form/hooks/use-form-values.d.ts +0 -1
  250. package/es/src/pro-form/hooks/use-form.d.ts +0 -1
  251. package/es/src/pro-form/hooks/use-label-width.d.ts +122 -123
  252. package/es/src/pro-form/index.d.ts +0 -1
  253. package/es/src/pro-form/pro-form.vue.d.ts +24 -23
  254. package/es/src/pro-form/table-form-inner.vue.d.ts +13 -14
  255. package/es/src/pro-form/table-form.vue.d.ts +12 -13
  256. package/es/src/pro-form/types/form-item.d.ts +0 -1
  257. package/es/src/pro-form/types/form.d.ts +0 -1
  258. package/es/src/pro-form/types/index.d.ts +37 -38
  259. package/es/src/pro-form/types/table-form.d.ts +0 -1
  260. package/es/src/pro-table/component-map.d.ts +0 -1
  261. package/es/src/pro-table/components/edit-table-header-icon.vue.d.ts +6 -4
  262. package/es/src/pro-table/components/editable/cell-component.d.ts +0 -1
  263. package/es/src/pro-table/components/editable/editable-cell.vue.d.ts +7 -8
  264. package/es/src/pro-table/components/editable/editable-cell.vue2.mjs +38 -42
  265. package/es/src/pro-table/components/editable/helper.d.ts +0 -1
  266. package/es/src/pro-table/components/editable/index.d.ts +0 -1
  267. package/es/src/pro-table/components/header-cell.vue.d.ts +0 -1
  268. package/es/src/pro-table/components/settings/column-setting.vue.d.ts +0 -1
  269. package/es/src/pro-table/components/settings/index.vue.d.ts +0 -1
  270. package/es/src/pro-table/components/table-action.vue.d.ts +7 -6
  271. package/es/src/pro-table/components/table-action.vue.mjs +4 -3
  272. package/es/src/pro-table/components/table-footer.vue.d.ts +19 -20
  273. package/es/src/pro-table/components/table-header.vue.d.ts +11 -10
  274. package/es/src/pro-table/components/table-image.vue.d.ts +12 -13
  275. package/es/src/pro-table/components/table-selection-bar.vue.d.ts +15 -16
  276. package/es/src/pro-table/components/table-title.vue.d.ts +0 -1
  277. package/es/src/pro-table/const.d.ts +0 -1
  278. package/es/src/pro-table/directives/click-outside.d.ts +0 -1
  279. package/es/src/pro-table/helper.d.ts +0 -1
  280. package/es/src/pro-table/hooks/use-columns.d.ts +0 -1
  281. package/es/src/pro-table/hooks/use-columns.mjs +3 -6
  282. package/es/src/pro-table/hooks/use-custom-row.d.ts +0 -1
  283. package/es/src/pro-table/hooks/use-custom-row.mjs +4 -8
  284. package/es/src/pro-table/hooks/use-data-source.d.ts +1 -2
  285. package/es/src/pro-table/hooks/use-data-source.mjs +2 -4
  286. package/es/src/pro-table/hooks/use-loading.d.ts +0 -1
  287. package/es/src/pro-table/hooks/use-pagination.d.ts +0 -1
  288. package/es/src/pro-table/hooks/use-row-selection.d.ts +0 -1
  289. package/es/src/pro-table/hooks/use-scroll-to.d.ts +0 -1
  290. package/es/src/pro-table/hooks/use-scroll-to.mjs +1 -2
  291. package/es/src/pro-table/hooks/use-table-context.d.ts +0 -1
  292. package/es/src/pro-table/hooks/use-table-expand.d.ts +0 -1
  293. package/es/src/pro-table/hooks/use-table-footer.d.ts +0 -1
  294. package/es/src/pro-table/hooks/use-table-footer.mjs +1 -2
  295. package/es/src/pro-table/hooks/use-table-form.d.ts +0 -1
  296. package/es/src/pro-table/hooks/use-table-header.d.ts +0 -1
  297. package/es/src/pro-table/hooks/use-table-scroll.d.ts +3 -4
  298. package/es/src/pro-table/hooks/use-table-scroll.mjs +25 -27
  299. package/es/src/pro-table/hooks/use-table-style.d.ts +0 -1
  300. package/es/src/pro-table/hooks/use-table.d.ts +0 -1
  301. package/es/src/pro-table/interface.d.ts +0 -1
  302. package/es/src/pro-table/pro-table.vue.d.ts +43 -42
  303. package/es/src/pro-table/types/pagination.d.ts +0 -1
  304. package/es/src/pro-table/types/table-action.d.ts +0 -1
  305. package/es/src/pro-table/types/table.d.ts +0 -1
  306. package/es/src/prompt/dialog.vue.d.ts +2 -3
  307. package/es/src/prompt/index.d.ts +0 -1
  308. package/es/src/prompt/interface.d.ts +0 -1
  309. package/es/src/prompt/utils.d.ts +2 -2
  310. package/es/src/scroll-bar/bar-item.d.ts +0 -1
  311. package/es/src/scroll-bar/bar-item.mjs +2 -4
  312. package/es/src/scroll-bar/index.d.ts +27 -27
  313. package/es/src/scroll-bar/interface.d.ts +0 -1
  314. package/es/src/scroll-bar/scroll-bar.vue.d.ts +18 -17
  315. package/es/src/scroll-bar/scroll-bar.vue2.mjs +1 -2
  316. package/es/src/scroll-bar/utils.d.ts +0 -1
  317. package/es/src/strength-meter/index.d.ts +19 -19
  318. package/es/src/strength-meter/strength-meter.vue.d.ts +14 -13
  319. package/es/src/strength-meter/strength-meter.vue2.mjs +1 -2
  320. package/es/src/tests/wrapper.d.ts +8 -0
  321. package/es/src/theme/antd-global-overwrite/admin/index.css +5 -5
  322. package/es/src/theme/antd-global-overwrite/admin/steps.css +5 -5
  323. package/es/src/theme/antd-global-overwrite/aplus/form.css +1 -1
  324. package/es/src/theme/antd-global-overwrite/aplus/index.css +6 -6
  325. package/es/src/theme/antd-global-overwrite/aplus/steps.css +5 -5
  326. package/es/src/theme/ap-action/item.css +10 -25
  327. package/es/src/theme/ap-field/checkbox.css +7 -0
  328. package/es/src/theme/ap-field/radio.css +4 -0
  329. package/es/src/theme/ap-form/ap-form-item.css +6 -6
  330. package/es/src/theme/ap-select-layout/ap-select-layout.css +8 -0
  331. package/es/src/theme/ap-table/ap-table.css +1 -21
  332. package/es/src/theme/check-card/index.css +10 -42
  333. package/es/src/theme/css-var/index.mjs +83 -19
  334. package/es/src/theme/editable-table/index.css +1 -21
  335. package/es/src/transition/collapse-transition.vue.d.ts +4 -3
  336. package/es/src/transition/create-transition.d.ts +0 -1
  337. package/es/src/type.d.ts +0 -1
  338. package/es/src/utils/config-provider-preset.d.ts +16 -17
  339. package/es/src/utils/index.d.ts +0 -1
  340. package/es/src/utils/slot.d.ts +0 -1
  341. package/es/src/utils/slot.mjs +1 -2
  342. package/es/src/utils/tree.d.ts +0 -1
  343. package/es/src/utils/tree.mjs +1 -2
  344. package/es/src/work-order-modal/createWorkOrder.d.ts +0 -1
  345. package/es/src/work-order-modal/index.d.ts +0 -1
  346. package/es/src/work-order-modal/interfaces.d.ts +0 -1
  347. package/es/src/work-order-modal/work-order-modal.vue.d.ts +3 -4
  348. package/lib/index.d.ts +0 -1
  349. package/lib/src/ap-action/group/index.vue.d.ts +12 -13
  350. package/lib/src/ap-action/index.d.ts +0 -1
  351. package/lib/src/ap-action/interface.d.ts +0 -1
  352. package/lib/src/ap-action/item/index.vue.d.ts +16 -15
  353. package/lib/src/ap-action/item/index.vue2.js +1 -1
  354. package/lib/src/ap-action/item-dropdown/index.vue.d.ts +19 -18
  355. package/lib/src/ap-action/item-modal/index.vue.d.ts +16 -15
  356. package/lib/src/ap-action/item-modal/index.vue.js +1 -1
  357. package/lib/src/ap-action/item-popconfirm/index.vue.d.ts +26 -25
  358. package/lib/src/ap-action/style/item.css +10 -25
  359. package/lib/src/ap-custom-column/column-select.vue.d.ts +3 -4
  360. package/lib/src/ap-custom-column/custom-column.vue.d.ts +3 -4
  361. package/lib/src/ap-custom-column/index.d.ts +0 -1
  362. package/lib/src/ap-custom-column/interfaces.d.ts +0 -1
  363. package/lib/src/ap-custom-column/storage.js +1 -1
  364. package/lib/src/ap-custom-column/useCacheColumnSetting.d.ts +0 -1
  365. package/lib/src/ap-custom-column/utils.d.ts +0 -1
  366. package/lib/src/ap-descriptions/ap-descriptions.vue.d.ts +11 -10
  367. package/lib/src/ap-descriptions/formatter/index.d.ts +0 -1
  368. package/lib/src/ap-descriptions/help-message/index.vue.d.ts +14 -12
  369. package/lib/src/ap-descriptions/helper.d.ts +0 -1
  370. package/lib/src/ap-descriptions/index.d.ts +0 -1
  371. package/lib/src/ap-descriptions/interface.d.ts +0 -1
  372. package/lib/src/ap-download/ap-download.vue.d.ts +18 -17
  373. package/lib/src/ap-download/hooks/index.d.ts +0 -1
  374. package/lib/src/ap-download/index.d.ts +0 -1
  375. package/lib/src/ap-download/interface.d.ts +0 -1
  376. package/lib/src/ap-field/checkbox/helper.d.ts +0 -1
  377. package/lib/src/ap-field/checkbox/index.vue.d.ts +11 -12
  378. package/lib/src/ap-field/checkbox/index.vue.js +1 -1
  379. package/lib/src/ap-field/checkbox/style.css +7 -0
  380. package/lib/src/ap-field/date/constant.d.ts +0 -1
  381. package/lib/src/ap-field/date/helper.d.ts +0 -1
  382. package/lib/src/ap-field/date/index.vue.d.ts +25 -24
  383. package/lib/src/ap-field/date-range/index.vue.d.ts +23 -22
  384. package/lib/src/ap-field/hooks/use-default-placeholder.d.ts +3 -3
  385. package/lib/src/ap-field/index.d.ts +0 -1
  386. package/lib/src/ap-field/interface.d.ts +2 -1
  387. package/lib/src/ap-field/number/helper.d.ts +0 -1
  388. package/lib/src/ap-field/number/index.vue.d.ts +14 -13
  389. package/lib/src/ap-field/radio/helper.d.ts +0 -1
  390. package/lib/src/ap-field/radio/index.vue.d.ts +14 -12
  391. package/lib/src/ap-field/radio/index.vue.js +1 -1
  392. package/lib/src/ap-field/radio/style.css +4 -0
  393. package/lib/src/ap-field/rate/index.vue.d.ts +19 -18
  394. package/lib/src/ap-field/segmented/index.vue.d.ts +23 -22
  395. package/lib/src/ap-field/select/index.vue.d.ts +20 -19
  396. package/lib/src/ap-field/slider/index.vue.d.ts +14 -13
  397. package/lib/src/ap-field/switch/index.vue.d.ts +15 -14
  398. package/lib/src/ap-field/text/index.d.ts +0 -1
  399. package/lib/src/ap-field/text/index.vue.d.ts +17 -16
  400. package/lib/src/ap-field/text/input-password-props.d.ts +0 -1
  401. package/lib/src/ap-field/text/password.vue.d.ts +18 -17
  402. package/lib/src/ap-field/text-area/index.vue.d.ts +13 -14
  403. package/lib/src/ap-form/ap-form-item-group/helper.d.ts +0 -1
  404. package/lib/src/ap-form/ap-form-item-group/index.vue.d.ts +19 -18
  405. package/lib/src/ap-form/ap-form-item.vue.d.ts +15 -14
  406. package/lib/src/ap-form/ap-form-list.vue.d.ts +9 -8
  407. package/lib/src/ap-form/ap-form.vue.d.ts +22 -21
  408. package/lib/src/ap-form/constant.d.ts +0 -1
  409. package/lib/src/ap-form/context.d.ts +0 -1
  410. package/lib/src/ap-form/hooks/use-watch.d.ts +0 -1
  411. package/lib/src/ap-form/index.d.ts +0 -1
  412. package/lib/src/ap-form/interface.d.ts +0 -1
  413. package/lib/src/ap-form/items/checkbox/index.vue.d.ts +17 -16
  414. package/lib/src/ap-form/items/date/index.vue.d.ts +38 -37
  415. package/lib/src/ap-form/items/date-range/index.vue.d.ts +38 -37
  416. package/lib/src/ap-form/items/index.d.ts +0 -1
  417. package/lib/src/ap-form/items/interface.d.ts +0 -1
  418. package/lib/src/ap-form/items/number/index.vue.d.ts +31 -30
  419. package/lib/src/ap-form/items/radio/index.vue.d.ts +17 -16
  420. package/lib/src/ap-form/items/select/index.vue.d.ts +41 -40
  421. package/lib/src/ap-form/items/switch/index.vue.d.ts +25 -24
  422. package/lib/src/ap-form/items/text/index.d.ts +0 -1
  423. package/lib/src/ap-form/items/text/index.vue.d.ts +31 -30
  424. package/lib/src/ap-form/items/text/password.vue.d.ts +31 -30
  425. package/lib/src/ap-form/items/text-area/index.vue.d.ts +18 -17
  426. package/lib/src/ap-form/modal-form/index.vue.d.ts +30 -29
  427. package/lib/src/ap-form/search-form/index.vue.d.ts +23 -22
  428. package/lib/src/ap-form/search-form/utils.d.ts +0 -1
  429. package/lib/src/ap-form/style/ap-form-item.css +6 -6
  430. package/lib/src/ap-layout/ap-info-layout/ap-info-layout.vue.d.ts +20 -19
  431. package/lib/src/ap-layout/index.d.ts +0 -1
  432. package/lib/src/ap-list/hooks/use-offline-list.d.ts +0 -1
  433. package/lib/src/ap-list/index.d.ts +0 -1
  434. package/lib/src/ap-list/index.vue.d.ts +9 -122
  435. package/lib/src/ap-list/interface.d.ts +0 -1
  436. package/lib/src/ap-modal/index.d.ts +0 -1
  437. package/lib/src/ap-modal/type.d.ts +0 -1
  438. package/lib/src/ap-modal/utils/createModal.d.ts +0 -1
  439. package/lib/src/ap-table/ap-table.vue.d.ts +16 -2222
  440. package/lib/src/ap-table/ap-table.vue.js +1 -1
  441. package/lib/src/ap-table/components/index/index.vue.d.ts +11 -12
  442. package/lib/src/ap-table/components/interface.d.ts +0 -1
  443. package/lib/src/ap-table/components/status/index.vue.d.ts +2 -3
  444. package/lib/src/ap-table/constants.d.ts +4816 -6356
  445. package/lib/src/ap-table/hooks/use-table-paging.d.ts +0 -1
  446. package/lib/src/ap-table/hooks/use-table-row-selection.d.ts +0 -1
  447. package/lib/src/ap-table/index.d.ts +0 -1
  448. package/lib/src/ap-table/interface.d.ts +0 -1
  449. package/lib/src/ap-table/style/ap-table.css +1 -21
  450. package/lib/src/ap-table/utils.d.ts +1 -2
  451. package/lib/src/ap-tag/ap-tag-group.vue.d.ts +14 -13
  452. package/lib/src/ap-tag/ap-tag.vue.d.ts +13 -14
  453. package/lib/src/ap-tag/index.d.ts +0 -1
  454. package/lib/src/ap-tag/interface.d.ts +0 -1
  455. package/lib/src/ap-upload/apUpload.vue.d.ts +2 -3
  456. package/lib/src/ap-upload/apUploadTypes.d.ts +0 -1
  457. package/lib/src/ap-upload/components/MultipleFile.vue.d.ts +0 -1
  458. package/lib/src/ap-upload/components/Picture.vue.d.ts +0 -1
  459. package/lib/src/ap-upload/components/SingleFile.vue.d.ts +0 -1
  460. package/lib/src/ap-upload/hooks/useOss.d.ts +0 -1
  461. package/lib/src/ap-upload/index.d.ts +0 -1
  462. package/lib/src/ap-upload/utils/accept.d.ts +0 -1
  463. package/lib/src/base-button/button.vue.d.ts +17 -16
  464. package/lib/src/base-button/constants.d.ts +0 -1
  465. package/lib/src/base-button/index.d.ts +55 -55
  466. package/lib/src/base-button/interface.d.ts +0 -1
  467. package/lib/src/basic/arrow.vue.d.ts +2 -3
  468. package/lib/src/basic/help.vue.d.ts +4 -9
  469. package/lib/src/basic/index.d.ts +27 -35
  470. package/lib/src/basic/interface.d.ts +0 -1
  471. package/lib/src/basic/title.vue.d.ts +16 -15
  472. package/lib/src/business/ap-export-group/ApExportGroup.vue.d.ts +2 -3
  473. package/lib/src/business/ap-export-group/interface.d.ts +0 -1
  474. package/lib/src/business/ap-label/ApLabel.vue.d.ts +17 -16
  475. package/lib/src/business/ap-label/index.d.ts +0 -1
  476. package/lib/src/business/ap-label/interface.d.ts +0 -1
  477. package/lib/src/business/ap-select-layout/index.css +8 -0
  478. package/lib/src/business/ap-select-layout/index.d.ts +0 -1
  479. package/lib/src/business/ap-select-layout/select-layout.vue.d.ts +16 -58
  480. package/lib/src/business/ap-status/ApStatus.vue.d.ts +11 -12
  481. package/lib/src/business/ap-status/ApStatusGroup.vue.d.ts +14 -17
  482. package/lib/src/business/ap-status/ApStatusGroup.vue2.js +1 -1
  483. package/lib/src/business/ap-status/index.d.ts +0 -1
  484. package/lib/src/business/expandAlert/ApExpandAlert.vue.d.ts +18 -17
  485. package/lib/src/business/index.d.ts +213 -248
  486. package/lib/src/business/title/ApTitle.vue.d.ts +19 -18
  487. package/lib/src/button/button.vue.d.ts +25 -0
  488. package/lib/src/button/index.d.ts +7 -7
  489. package/lib/src/check-card/checked.svg.js +1 -1
  490. package/lib/src/check-card/context.d.ts +0 -1
  491. package/lib/src/check-card/group.vue.d.ts +21 -20
  492. package/lib/src/check-card/index.d.ts +0 -1
  493. package/lib/src/check-card/index.vue.d.ts +16 -15
  494. package/lib/src/check-card/index.vue2.js +1 -1
  495. package/lib/src/check-card/interface.d.ts +0 -1
  496. package/lib/src/check-card/style/index.css +10 -42
  497. package/lib/src/config-provider/config-provider-props.d.ts +22 -23
  498. package/lib/src/config-provider/config-provider.d.ts +59 -204
  499. package/lib/src/config-provider/constants.d.ts +0 -1
  500. package/lib/src/config-provider/hooks/use-global-config.d.ts +24 -25
  501. package/lib/src/config-provider/hooks/use-locale.d.ts +0 -1
  502. package/lib/src/config-provider/hooks/use-namespace.d.ts +0 -1
  503. package/lib/src/config-provider/index.d.ts +129 -130
  504. package/lib/src/container/collapse/header.vue.d.ts +4 -5
  505. package/lib/src/container/collapse/index.vue.d.ts +5 -6
  506. package/lib/src/container/index.d.ts +26 -26
  507. package/lib/src/container/scroll-container.vue.d.ts +13 -12
  508. package/lib/src/count-down/button.vue.d.ts +11 -12
  509. package/lib/src/count-down/index.d.ts +13 -13
  510. package/lib/src/count-down/input.vue.d.ts +14 -13
  511. package/lib/src/count-down/interface.d.ts +0 -1
  512. package/lib/src/cropper/cropper-avatar.vue.d.ts +12 -13
  513. package/lib/src/cropper/cropper-image.vue.d.ts +12 -13
  514. package/lib/src/cropper/cropper-modal.vue.d.ts +0 -1
  515. package/lib/src/cropper/index.d.ts +63 -63
  516. package/lib/src/cropper/interface.d.ts +0 -1
  517. package/lib/src/description/description.vue.d.ts +1 -2
  518. package/lib/src/description/index.d.ts +10 -10
  519. package/lib/src/description/interface.d.ts +0 -1
  520. package/lib/src/description/use-description.d.ts +0 -1
  521. package/lib/src/design-token/index.d.ts +0 -1
  522. package/lib/src/design-token/index.js +1 -1
  523. package/lib/src/dropdown/dropdown.vue.d.ts +18 -17
  524. package/lib/src/dropdown/index.d.ts +18 -18
  525. package/lib/src/dropdown/interface.d.ts +0 -1
  526. package/lib/src/editable-table/form-item.vue.d.ts +14 -915
  527. package/lib/src/editable-table/form-item.vue.js +1 -1
  528. package/lib/src/editable-table/hooks/use-get-columns.d.ts +0 -1
  529. package/lib/src/editable-table/index.d.ts +0 -1
  530. package/lib/src/editable-table/index.vue.d.ts +18 -568
  531. package/lib/src/editable-table/index.vue.js +1 -1
  532. package/lib/src/editable-table/interface.d.ts +0 -1
  533. package/lib/src/editable-table/style/index.css +1 -21
  534. package/lib/src/editable-table/utils.d.ts +0 -1
  535. package/lib/src/hooks/useControllableValue.d.ts +0 -1
  536. package/lib/src/hooks/useMessage.d.ts +0 -1
  537. package/lib/src/icon/icon.vue.d.ts +12 -12
  538. package/lib/src/icon/index.d.ts +36 -36
  539. package/lib/src/icon/svg-icon.vue.d.ts +11 -12
  540. package/lib/src/icon-picker/icon-picker.vue.d.ts +12 -13
  541. package/lib/src/icon-picker/index.d.ts +25 -25
  542. package/lib/src/locale/index.d.ts +0 -1
  543. package/lib/src/locale/lang/en.d.ts +0 -1
  544. package/lib/src/locale/lang/en.js +1 -1
  545. package/lib/src/locale/lang/zh-cn.d.ts +0 -1
  546. package/lib/src/locale/lang/zh-cn.js +1 -1
  547. package/lib/src/modal/basic.vue.d.ts +18 -206
  548. package/lib/src/modal/components/modal-close.vue.d.ts +11 -12
  549. package/lib/src/modal/components/modal-footer.vue.d.ts +20 -209
  550. package/lib/src/modal/components/modal-header.vue.d.ts +2 -3
  551. package/lib/src/modal/components/modal-wrapper.vue.d.ts +7 -5
  552. package/lib/src/modal/components/modal.d.ts +11 -201
  553. package/lib/src/modal/hooks/use-moda-full-screen.d.ts +0 -1
  554. package/lib/src/modal/hooks/use-modal-drag.d.ts +0 -1
  555. package/lib/src/modal/hooks/use-modal.d.ts +0 -1
  556. package/lib/src/modal/index.d.ts +37 -130
  557. package/lib/src/modal/interface.d.ts +0 -1
  558. package/lib/src/modal/props.d.ts +6 -103
  559. package/lib/src/pro-form/component-map.d.ts +0 -1
  560. package/lib/src/pro-form/components/api-cascader.vue.d.ts +11 -12
  561. package/lib/src/pro-form/components/api-radio-group.vue.d.ts +12 -13
  562. package/lib/src/pro-form/components/api-select.vue.d.ts +15 -14
  563. package/lib/src/pro-form/components/api-transfer.vue.d.ts +14 -15
  564. package/lib/src/pro-form/components/api-tree-select.vue.d.ts +14 -13
  565. package/lib/src/pro-form/components/api-tree.vue.d.ts +15 -14
  566. package/lib/src/pro-form/components/form-action.vue.d.ts +19 -18
  567. package/lib/src/pro-form/components/form-item.vue.d.ts +0 -1
  568. package/lib/src/pro-form/components/interface.d.ts +0 -1
  569. package/lib/src/pro-form/components/radio-button-group.vue.d.ts +11 -12
  570. package/lib/src/pro-form/helper.d.ts +1 -2
  571. package/lib/src/pro-form/helper.js +1 -1
  572. package/lib/src/pro-form/hooks/use-advanced.d.ts +0 -1
  573. package/lib/src/pro-form/hooks/use-auto-focus.d.ts +0 -1
  574. package/lib/src/pro-form/hooks/use-component-register.d.ts +0 -1
  575. package/lib/src/pro-form/hooks/use-form-events.d.ts +0 -1
  576. package/lib/src/pro-form/hooks/use-form-events.js +1 -1
  577. package/lib/src/pro-form/hooks/use-form-item.d.ts +0 -1
  578. package/lib/src/pro-form/hooks/use-form-values.d.ts +0 -1
  579. package/lib/src/pro-form/hooks/use-form.d.ts +0 -1
  580. package/lib/src/pro-form/hooks/use-label-width.d.ts +122 -123
  581. package/lib/src/pro-form/index.d.ts +0 -1
  582. package/lib/src/pro-form/pro-form.vue.d.ts +24 -23
  583. package/lib/src/pro-form/table-form-inner.vue.d.ts +13 -14
  584. package/lib/src/pro-form/table-form.vue.d.ts +12 -13
  585. package/lib/src/pro-form/types/form-item.d.ts +0 -1
  586. package/lib/src/pro-form/types/form.d.ts +0 -1
  587. package/lib/src/pro-form/types/index.d.ts +37 -38
  588. package/lib/src/pro-form/types/table-form.d.ts +0 -1
  589. package/lib/src/pro-table/component-map.d.ts +0 -1
  590. package/lib/src/pro-table/components/edit-table-header-icon.vue.d.ts +6 -4
  591. package/lib/src/pro-table/components/editable/cell-component.d.ts +0 -1
  592. package/lib/src/pro-table/components/editable/editable-cell.vue.d.ts +7 -8
  593. package/lib/src/pro-table/components/editable/editable-cell.vue2.js +1 -1
  594. package/lib/src/pro-table/components/editable/helper.d.ts +0 -1
  595. package/lib/src/pro-table/components/editable/index.d.ts +0 -1
  596. package/lib/src/pro-table/components/header-cell.vue.d.ts +0 -1
  597. package/lib/src/pro-table/components/settings/column-setting.vue.d.ts +0 -1
  598. package/lib/src/pro-table/components/settings/index.vue.d.ts +0 -1
  599. package/lib/src/pro-table/components/table-action.vue.d.ts +7 -6
  600. package/lib/src/pro-table/components/table-footer.vue.d.ts +19 -20
  601. package/lib/src/pro-table/components/table-header.vue.d.ts +11 -10
  602. package/lib/src/pro-table/components/table-image.vue.d.ts +12 -13
  603. package/lib/src/pro-table/components/table-selection-bar.vue.d.ts +15 -16
  604. package/lib/src/pro-table/components/table-title.vue.d.ts +0 -1
  605. package/lib/src/pro-table/const.d.ts +0 -1
  606. package/lib/src/pro-table/directives/click-outside.d.ts +0 -1
  607. package/lib/src/pro-table/helper.d.ts +0 -1
  608. package/lib/src/pro-table/hooks/use-columns.d.ts +0 -1
  609. package/lib/src/pro-table/hooks/use-custom-row.d.ts +0 -1
  610. package/lib/src/pro-table/hooks/use-data-source.d.ts +1 -2
  611. package/lib/src/pro-table/hooks/use-loading.d.ts +0 -1
  612. package/lib/src/pro-table/hooks/use-pagination.d.ts +0 -1
  613. package/lib/src/pro-table/hooks/use-row-selection.d.ts +0 -1
  614. package/lib/src/pro-table/hooks/use-scroll-to.d.ts +0 -1
  615. package/lib/src/pro-table/hooks/use-table-context.d.ts +0 -1
  616. package/lib/src/pro-table/hooks/use-table-expand.d.ts +0 -1
  617. package/lib/src/pro-table/hooks/use-table-footer.d.ts +0 -1
  618. package/lib/src/pro-table/hooks/use-table-form.d.ts +0 -1
  619. package/lib/src/pro-table/hooks/use-table-header.d.ts +0 -1
  620. package/lib/src/pro-table/hooks/use-table-scroll.d.ts +3 -4
  621. package/lib/src/pro-table/hooks/use-table-scroll.js +1 -1
  622. package/lib/src/pro-table/hooks/use-table-style.d.ts +0 -1
  623. package/lib/src/pro-table/hooks/use-table.d.ts +0 -1
  624. package/lib/src/pro-table/interface.d.ts +0 -1
  625. package/lib/src/pro-table/pro-table.vue.d.ts +43 -42
  626. package/lib/src/pro-table/types/pagination.d.ts +0 -1
  627. package/lib/src/pro-table/types/table-action.d.ts +0 -1
  628. package/lib/src/pro-table/types/table.d.ts +0 -1
  629. package/lib/src/prompt/dialog.vue.d.ts +2 -3
  630. package/lib/src/prompt/index.d.ts +0 -1
  631. package/lib/src/prompt/interface.d.ts +0 -1
  632. package/lib/src/prompt/utils.d.ts +2 -2
  633. package/lib/src/scroll-bar/bar-item.d.ts +0 -1
  634. package/lib/src/scroll-bar/index.d.ts +27 -27
  635. package/lib/src/scroll-bar/interface.d.ts +0 -1
  636. package/lib/src/scroll-bar/scroll-bar.vue.d.ts +18 -17
  637. package/lib/src/scroll-bar/utils.d.ts +0 -1
  638. package/lib/src/strength-meter/index.d.ts +19 -19
  639. package/lib/src/strength-meter/strength-meter.vue.d.ts +14 -13
  640. package/lib/src/tests/wrapper.d.ts +8 -0
  641. package/lib/src/theme/antd-global-overwrite/admin/index.css +5 -5
  642. package/lib/src/theme/antd-global-overwrite/admin/steps.css +5 -5
  643. package/lib/src/theme/antd-global-overwrite/aplus/form.css +1 -1
  644. package/lib/src/theme/antd-global-overwrite/aplus/index.css +6 -6
  645. package/lib/src/theme/antd-global-overwrite/aplus/steps.css +5 -5
  646. package/lib/src/theme/ap-action/item.css +10 -25
  647. package/lib/src/theme/ap-field/checkbox.css +7 -0
  648. package/lib/src/theme/ap-field/radio.css +4 -0
  649. package/lib/src/theme/ap-form/ap-form-item.css +6 -6
  650. package/lib/src/theme/ap-select-layout/ap-select-layout.css +8 -0
  651. package/lib/src/theme/ap-table/ap-table.css +1 -21
  652. package/lib/src/theme/check-card/index.css +10 -42
  653. package/lib/src/theme/css-var/index.js +1 -1
  654. package/lib/src/theme/editable-table/index.css +1 -21
  655. package/lib/src/transition/collapse-transition.vue.d.ts +4 -3
  656. package/lib/src/transition/create-transition.d.ts +0 -1
  657. package/lib/src/type.d.ts +0 -1
  658. package/lib/src/utils/config-provider-preset.d.ts +16 -17
  659. package/lib/src/utils/index.d.ts +0 -1
  660. package/lib/src/utils/slot.d.ts +0 -1
  661. package/lib/src/utils/tree.d.ts +0 -1
  662. package/lib/src/work-order-modal/createWorkOrder.d.ts +0 -1
  663. package/lib/src/work-order-modal/index.d.ts +0 -1
  664. package/lib/src/work-order-modal/interfaces.d.ts +0 -1
  665. package/lib/src/work-order-modal/work-order-modal.vue.d.ts +3 -4
  666. package/package.json +3 -3
@@ -1,5 +1,4 @@
1
1
  import { Component } from 'vue';
2
-
3
2
  export type ComponentType = 'Input' | 'InputNumber' | 'Select' | 'ApiSelect' | 'AutoComplete' | 'ApiTreeSelect' | 'Checkbox' | 'Switch' | 'DatePicker' | 'TimePicker' | 'RadioGroup' | 'RadioButtonGroup' | 'ApiRadioGroup';
4
3
  declare const componentMap: Map<ComponentType, Component>;
5
4
  export declare function add(compName: ComponentType, component: Component): void;
@@ -1,5 +1,8 @@
1
1
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
2
- declare const _default: __VLS_WithTemplateSlots< DefineComponent<{
2
+ declare function __VLS_template(): {
3
+ default?(_: {}): any;
4
+ };
5
+ declare const __VLS_component: DefineComponent<{
3
6
  title: {
4
7
  type: StringConstructor;
5
8
  default: string;
@@ -11,9 +14,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<{
11
14
  };
12
15
  }>>, {
13
16
  title: string;
14
- }, {}>, {
15
- default?(_: {}): any;
16
- }>;
17
+ }, {}>;
18
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
17
19
  export default _default;
18
20
  type __VLS_WithTemplateSlots<T, S> = T & {
19
21
  new (): {
@@ -1,7 +1,6 @@
1
1
  import { ComponentType } from '../../component-map';
2
2
  import { Fn, Recordable } from '../../../type';
3
3
  import { VNode, RendererNode, RendererElement } from 'vue';
4
-
5
4
  export interface ComponentProps {
6
5
  component: ComponentType;
7
6
  rule: boolean;
@@ -1,8 +1,7 @@
1
1
  import { CSSProperties, PropType, DefineComponent, Ref, ComputedRef, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
2
2
  import { BasicColumn } from '../../types/table';
3
3
  import { Recordable } from '../../../type';
4
- import { ComponentType } from 'src/pro-table/component-map';
5
-
4
+ import { ComponentType } from '../../component-map';
6
5
  declare const _default: DefineComponent<{
7
6
  value: {
8
7
  type: PropType<string | number | boolean | Record<string, any>>;
@@ -24,12 +23,12 @@ declare const _default: DefineComponent<{
24
23
  ns: {
25
24
  namespace: ComputedRef<string>;
26
25
  b: (blockSuffix?: string) => string;
27
- e: (element?: string | undefined) => string;
28
- m: (modifier?: string | undefined) => string;
29
- be: (blockSuffix?: string | undefined, element?: string | undefined) => string;
30
- em: (element?: string | undefined, modifier?: string | undefined) => string;
31
- bm: (blockSuffix?: string | undefined, modifier?: string | undefined) => string;
32
- bem: (blockSuffix?: string | undefined, element?: string | undefined, modifier?: string | undefined) => string;
26
+ e: (element?: string) => string;
27
+ m: (modifier?: string) => string;
28
+ be: (blockSuffix?: string, element?: string) => string;
29
+ em: (element?: string, modifier?: string) => string;
30
+ bm: (blockSuffix?: string, modifier?: string) => string;
31
+ bem: (blockSuffix?: string, element?: string, modifier?: string) => string;
33
32
  is: {
34
33
  (name: string, state: boolean | undefined): string;
35
34
  (name: string): string;
@@ -9,7 +9,7 @@ import { isBoolean as p, set as U, pick as Re } from "lodash-unified";
9
9
  import { treeToList as Ve } from "../../../utils/tree.mjs";
10
10
  import { Spin as X } from "ant-design-vue";
11
11
  import { parseRowKey as we } from "../../helper.mjs";
12
- import { isType as P, isFunction as k, isArray as I } from "@fruits-chain/utils";
12
+ import { isType as O, isFunction as k, isArray as P } from "@fruits-chain/utils";
13
13
  import "../style/editable-cell.css";
14
14
  import { useLocale as xe } from "../../../config-provider/hooks/use-locale.mjs";
15
15
  import { useNamespace as Ee } from "../../../config-provider/hooks/use-namespace.mjs";
@@ -43,7 +43,7 @@ const Le = /* @__PURE__ */ he({
43
43
  }
44
44
  },
45
45
  setup(n) {
46
- const a = pe(), R = v(!1), j = v(), D = v(!1), g = v(""), N = v([]), u = v(n.value), B = v(n.value), T = v(!1), {
46
+ const a = pe(), R = v(!1), j = v(), I = v(!1), g = v(""), D = v([]), u = v(n.value), B = v(n.value), N = v(!1), {
47
47
  t: $
48
48
  } = xe(), Y = Ee("editable-cell"), h = f(() => {
49
49
  var e;
@@ -51,7 +51,7 @@ const Le = /* @__PURE__ */ he({
51
51
  }), Z = f(() => {
52
52
  var e;
53
53
  return (e = n.column) == null ? void 0 : e.editRule;
54
- }), ee = f(() => l(g) && l(D)), L = f(() => {
54
+ }), ee = f(() => l(g) && l(I)), L = f(() => {
55
55
  const e = l(h);
56
56
  return ["Checkbox", "Switch"].includes(e);
57
57
  }), V = f(() => {
@@ -63,7 +63,7 @@ const Le = /* @__PURE__ */ he({
63
63
  unCheckedValue: o
64
64
  } = t, c = e ? "checked" : "value", s = l(u);
65
65
  let r = s;
66
- e && (typeof i < "u" ? r = s === i ? i : o : typeof o < "u" ? r = s === o ? o : i : r = P("Number")(s) || p(s) ? s : !!s);
66
+ e && (typeof i < "u" ? r = s === i ? i : o : typeof o < "u" ? r = s === o ? o : i : r = O("Number")(s) || p(s) ? s : !!s);
67
67
  const {
68
68
  record: d,
69
69
  column: b,
@@ -83,21 +83,19 @@ const Le = /* @__PURE__ */ he({
83
83
  ...y,
84
84
  ...t,
85
85
  [c]: r,
86
- disabled: l(F)
86
+ disabled: l(T)
87
87
  };
88
88
  });
89
89
  function te(e, t, i) {
90
- if (!e)
91
- return !1;
90
+ if (!e) return !1;
92
91
  const {
93
92
  key: o,
94
93
  dataIndex: c
95
94
  } = t;
96
- if (!o && !c)
97
- return;
95
+ if (!o && !c) return;
98
96
  U(e, c || o, i);
99
97
  }
100
- const F = f(() => {
98
+ const T = f(() => {
101
99
  const {
102
100
  editDynamicDisabled: e
103
101
  } = n.column;
@@ -122,7 +120,7 @@ const Le = /* @__PURE__ */ he({
122
120
  const i = l(h);
123
121
  if (!i.includes("Select") && !i.includes("Radio"))
124
122
  return t;
125
- const c = (((s = l(V)) == null ? void 0 : s.options) ?? (l(N) || [])).find((r) => `${r.value}` == `${t}`);
123
+ const c = (((s = l(V)) == null ? void 0 : s.options) ?? (l(D) || [])).find((r) => `${r.value}` == `${t}`);
126
124
  return (c == null ? void 0 : c.label) ?? t;
127
125
  }), ie = f(() => l(L) || l(C) ? {} : {
128
126
  width: "calc(100% - 48px)"
@@ -147,7 +145,7 @@ const Le = /* @__PURE__ */ he({
147
145
  });
148
146
  function ce(e) {
149
147
  var t;
150
- e.stopPropagation(), !(l(C) || l((t = n.column) == null ? void 0 : t.editRow) || l(F)) && (g.value = "", R.value = !0, ve(() => {
148
+ e.stopPropagation(), !(l(C) || l((t = n.column) == null ? void 0 : t.editRow) || l(T)) && (g.value = "", R.value = !0, ve(() => {
151
149
  var o;
152
150
  const i = l(j);
153
151
  (o = i == null ? void 0 : i.focus) == null || o.call(i);
@@ -156,15 +154,15 @@ const Le = /* @__PURE__ */ he({
156
154
  async function oe(e) {
157
155
  var o, c;
158
156
  const t = l(h);
159
- e ? t === "Checkbox" ? u.value = e.target.checked : t === "Switch" ? u.value = e : e != null && e.target && Reflect.has(e.target, "value") ? u.value = e.target.value : (P("String")(e) || p(e) || P("Number")(e) || I(e)) && (u.value = e) : u.value = e;
157
+ e ? t === "Checkbox" ? u.value = e.target.checked : t === "Switch" ? u.value = e : e != null && e.target && Reflect.has(e.target, "value") ? u.value = e.target.value : (O("String")(e) || p(e) || O("Number")(e) || P(e)) && (u.value = e) : u.value = e;
160
158
  const i = (o = l(V)) == null ? void 0 : o.onChangeTemp;
161
159
  i && k(i) && i(...arguments), (c = a.emit) == null || c.call(a, "edit-change", {
162
160
  column: n.column,
163
161
  value: l(u),
164
162
  record: ge(n.record)
165
- }), K();
163
+ }), F();
166
164
  }
167
- async function K() {
165
+ async function F() {
168
166
  const {
169
167
  column: e,
170
168
  record: t
@@ -172,35 +170,33 @@ const Le = /* @__PURE__ */ he({
172
170
  editRule: i
173
171
  } = e, o = l(u);
174
172
  if (i) {
175
- if (p(i) && !o && !P("Number")(o)) {
176
- D.value = !0;
173
+ if (p(i) && !o && !O("Number")(o)) {
174
+ I.value = !0;
177
175
  const c = l(h);
178
176
  return g.value = Q(c, $), !1;
179
177
  }
180
178
  if (k(i)) {
181
179
  const c = await i(o, t);
182
- return c ? (g.value = c, D.value = !0, !1) : (g.value = "", !0);
180
+ return c ? (g.value = c, I.value = !0, !1) : (g.value = "", !0);
183
181
  }
184
182
  }
185
183
  return g.value = "", !0;
186
184
  }
187
185
  async function w(e = !0, t = !0) {
188
186
  var x;
189
- if (t && !await K())
187
+ if (t && !await F())
190
188
  return !1;
191
189
  const {
192
190
  column: i,
193
191
  index: o,
194
192
  record: c
195
193
  } = n;
196
- if (!c)
197
- return !1;
194
+ if (!c) return !1;
198
195
  const {
199
196
  key: s,
200
197
  dataIndex: r
201
198
  } = i, d = l(u);
202
- if (!s && !r)
203
- return;
199
+ if (!s && !r) return;
204
200
  const b = r || s;
205
201
  if (!c.editable) {
206
202
  const {
@@ -211,22 +207,22 @@ const Le = /* @__PURE__ */ he({
211
207
  rowKey: de
212
208
  } = l(E), fe = we(de, c);
213
209
  if (y && k(y)) {
214
- T.value = !0;
215
- const me = S.map((O) => O.dataIndex).filter((O) => !!O);
216
- let W = !0;
210
+ N.value = !0;
211
+ const me = S.map((W) => W.dataIndex).filter((W) => !!W);
212
+ let A = !0;
217
213
  try {
218
- W = await y({
214
+ A = await y({
219
215
  record: Re(c, [fe, ...me]),
220
216
  index: o,
221
217
  key: b,
222
218
  value: d
223
219
  });
224
220
  } catch {
225
- W = !1;
221
+ A = !1;
226
222
  } finally {
227
- T.value = !1;
223
+ N.value = !1;
228
224
  }
229
- if (W === !1)
225
+ if (A === !1)
230
226
  return;
231
227
  }
232
228
  }
@@ -244,7 +240,7 @@ const Le = /* @__PURE__ */ he({
244
240
  function ae() {
245
241
  w();
246
242
  }
247
- function M() {
243
+ function K() {
248
244
  var s;
249
245
  R.value = !1, u.value = B.value;
250
246
  const {
@@ -266,7 +262,7 @@ const Le = /* @__PURE__ */ he({
266
262
  var t;
267
263
  if ((t = n.column) != null && t.editable || l(C))
268
264
  return;
269
- l(h).includes("Input") && M();
265
+ l(h).includes("Input") && K();
270
266
  }
271
267
  function re(e) {
272
268
  const {
@@ -284,20 +280,20 @@ const Le = /* @__PURE__ */ he({
284
280
  r = r.map((d) => ({
285
281
  label: d[o],
286
282
  value: d[c]
287
- })), N.value = r;
283
+ })), D.value = r;
288
284
  } else
289
- N.value = e;
285
+ D.value = e;
290
286
  }
291
- function A(e, t) {
287
+ function M(e, t) {
292
288
  var i;
293
- n.record && (I(n.record[e]) ? (i = n.record[e]) == null || i.push(t) : n.record[e] = [t]);
289
+ n.record && (P(n.record[e]) ? (i = n.record[e]) == null || i.push(t) : n.record[e] = [t]);
294
290
  }
295
- return n.record && (A("submitCbs", w), A("validCbs", K), A("cancelCbs", M), n.column.dataIndex && (n.record.editValueRefs || (n.record.editValueRefs = {}), n.record.editValueRefs[n.column.dataIndex] = u), n.record.onCancelEdit = () => {
291
+ return n.record && (M("submitCbs", w), M("validCbs", F), M("cancelCbs", K), n.column.dataIndex && (n.record.editValueRefs || (n.record.editValueRefs = {}), n.record.editValueRefs[n.column.dataIndex] = u), n.record.onCancelEdit = () => {
296
292
  var e, t;
297
- I((e = n.record) == null ? void 0 : e.cancelCbs) && ((t = n.record) == null || t.cancelCbs.forEach((i) => i()));
293
+ P((e = n.record) == null ? void 0 : e.cancelCbs) && ((t = n.record) == null || t.cancelCbs.forEach((i) => i()));
298
294
  }, n.record.onSubmitEdit = async () => {
299
295
  var e, t, i, o, c;
300
- if (I((e = n.record) == null ? void 0 : e.submitCbs))
296
+ if (P((e = n.record) == null ? void 0 : e.submitCbs))
301
297
  return (i = (t = n.record) == null ? void 0 : t.onValid) != null && i.call(t) ? ((((o = n.record) == null ? void 0 : o.submitCbs) || []).forEach((r) => r(!1, !1)), (c = a.emit) == null || c.call(a, "edit-row-end"), !0) : void 0;
302
298
  }), {
303
299
  isEdit: R,
@@ -306,7 +302,7 @@ const Le = /* @__PURE__ */ he({
306
302
  currentValueRef: u,
307
303
  handleSubmit: w,
308
304
  handleChange: oe,
309
- handleCancel: M,
305
+ handleCancel: K,
310
306
  elRef: j,
311
307
  getComponent: h,
312
308
  getRule: Z,
@@ -321,8 +317,8 @@ const Le = /* @__PURE__ */ he({
321
317
  getValues: ne,
322
318
  handleEnter: se,
323
319
  handleSubmitClick: ae,
324
- spinning: T,
325
- getDisable: F
320
+ spinning: N,
321
+ getDisable: T
326
322
  };
327
323
  },
328
324
  render() {
@@ -1,6 +1,5 @@
1
1
  import { Translator } from '../../../config-provider';
2
2
  import { ComponentType } from '../../component-map';
3
-
4
3
  /**
5
4
  * @description: 生成placeholder
6
5
  */
@@ -1,7 +1,6 @@
1
1
  import { BasicColumn } from '../../types/table';
2
2
  import { Ref, VNode, RendererNode, RendererElement } from 'vue';
3
3
  import { Fn, Recordable } from '../../../type';
4
-
5
4
  interface Params {
6
5
  text: string;
7
6
  record: Recordable;
@@ -1,6 +1,5 @@
1
1
  import { PropType, DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
2
2
  import { ColumnType } from 'ant-design-vue/lib/table/interface';
3
-
4
3
  declare const _default: DefineComponent<{
5
4
  column: {
6
5
  type: PropType<ColumnType<any>>;
@@ -1,5 +1,4 @@
1
1
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
2
-
3
2
  declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
4
3
  "columns-change": (...args: any[]) => void;
5
4
  }, string, PublicProps, Readonly< ExtractPropTypes<{}>> & {
@@ -1,6 +1,5 @@
1
1
  import { PropType, DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
2
2
  import { TableSetting } from '../../types/table';
3
-
4
3
  declare const _default: DefineComponent<{
5
4
  setting: {
6
5
  type: PropType<TableSetting>;
@@ -1,7 +1,9 @@
1
1
  import { PropType, DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
2
2
  import { ActionItem } from '../types/table-action';
3
-
4
- declare const _default: __VLS_WithTemplateSlots< DefineComponent<{
3
+ declare function __VLS_template(): {
4
+ more?(_: {}): any;
5
+ };
6
+ declare const __VLS_component: DefineComponent<{
5
7
  actions: {
6
8
  type: PropType<ActionItem[]>;
7
9
  default: null;
@@ -42,14 +44,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<{
42
44
  default: boolean;
43
45
  };
44
46
  }>>, {
45
- actions: ActionItem[];
46
47
  outside: boolean;
48
+ actions: ActionItem[];
47
49
  dropDownActions: ActionItem[];
48
50
  divider: boolean;
49
51
  stopButtonPropagation: boolean;
50
- }, {}>, {
51
- more?(_: {}): any;
52
- }>;
52
+ }, {}>;
53
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
53
54
  export default _default;
54
55
  type __VLS_WithTemplateSlots<T, S> = T & {
55
56
  new (): {
@@ -74,7 +74,9 @@ const me = /* @__PURE__ */ O({
74
74
  });
75
75
  }), L = y(() => {
76
76
  var s;
77
- const e = (((s = l == null ? void 0 : l.getColumns) == null ? void 0 : s.call(l)) || []).find((o) => o.flag === j);
77
+ const e = (((s = l == null ? void 0 : l.getColumns) == null ? void 0 : s.call(l)) || []).find(
78
+ (o) => o.flag === j
79
+ );
78
80
  return (e == null ? void 0 : e.align) ?? "left";
79
81
  });
80
82
  function $(t) {
@@ -85,8 +87,7 @@ const me = /* @__PURE__ */ O({
85
87
  };
86
88
  }
87
89
  function M(t) {
88
- if (!m.stopButtonPropagation)
89
- return;
90
+ if (!m.stopButtonPropagation) return;
90
91
  t.composedPath().find((o) => {
91
92
  var r;
92
93
  return ((r = o.tagName) == null ? void 0 : r.toUpperCase()) === "BUTTON";
@@ -2,21 +2,20 @@ import { BasicTableProps } from '../types/table';
2
2
  import { Fn, Recordable } from '../../type';
3
3
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
4
4
  import { GetRowKey } from 'ant-design-vue/es/vc-table/interface';
5
-
6
- declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
7
- summaryFunc?: Fn<any, any> | null | undefined;
8
- summaryData?: Recordable[] | null | undefined;
9
- scroll?: BasicTableProps['scroll'];
10
- rowKey?: BasicTableProps['rowKey'];
5
+ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
6
+ summaryFunc?: Fn | null;
7
+ summaryData?: Recordable[] | null;
8
+ scroll?: BasicTableProps["scroll"];
9
+ rowKey?: BasicTableProps["rowKey"];
11
10
  }>, {
12
11
  summaryFunc: null;
13
12
  summaryData: null;
14
13
  rowKey: string;
15
- }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
16
- summaryFunc?: Fn<any, any> | null | undefined;
17
- summaryData?: Recordable[] | null | undefined;
18
- scroll?: BasicTableProps['scroll'];
19
- rowKey?: BasicTableProps['rowKey'];
14
+ }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
15
+ summaryFunc?: Fn | null;
16
+ summaryData?: Recordable[] | null;
17
+ scroll?: BasicTableProps["scroll"];
18
+ rowKey?: BasicTableProps["rowKey"];
20
19
  }>, {
21
20
  summaryFunc: null;
22
21
  summaryData: null;
@@ -27,15 +26,6 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
27
26
  summaryData: Recordable[] | null;
28
27
  }, {}>;
29
28
  export default _default;
30
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
31
- type __VLS_TypePropsToRuntimeProps<T> = {
32
- [K in keyof T]-?: {} extends Pick<T, K> ? {
33
- type: PropType<__VLS_NonUndefinedable<T[K]>>;
34
- } : {
35
- type: PropType<T[K]>;
36
- required: true;
37
- };
38
- };
39
29
  type __VLS_WithDefaults<P, D> = {
40
30
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
41
31
  default: D[K];
@@ -44,3 +34,12 @@ type __VLS_WithDefaults<P, D> = {
44
34
  type __VLS_Prettify<T> = {
45
35
  [K in keyof T]: T[K];
46
36
  } & {};
37
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
38
+ type __VLS_TypePropsToOption<T> = {
39
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
40
+ type: PropType<__VLS_NonUndefinedable<T[K]>>;
41
+ } : {
42
+ type: PropType<T[K]>;
43
+ required: true;
44
+ };
45
+ };
@@ -1,7 +1,11 @@
1
- import { TableSetting } from '../types/table';
1
+ import { TableSetting, TableActionType } from '../types/table';
2
2
  import { PropType, DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
3
-
4
- declare const _default: __VLS_WithTemplateSlots< DefineComponent<{
3
+ declare function __VLS_template(): {
4
+ headerTop?(_: {}): any;
5
+ tableTitle?(_: {}): any;
6
+ toolbar?(_: {}): any;
7
+ };
8
+ declare const __VLS_component: DefineComponent<{
5
9
  title: {
6
10
  type: PropType<string | ((data: any) => string)>;
7
11
  };
@@ -16,7 +20,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<{
16
20
  default: string;
17
21
  };
18
22
  clearSelectedRowKeys: {
19
- type: PropType<() => void>;
23
+ type: PropType<TableActionType["clearSelectedRowKeys"]>;
20
24
  };
21
25
  count: {
22
26
  type: NumberConstructor;
@@ -43,7 +47,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<{
43
47
  default: string;
44
48
  };
45
49
  clearSelectedRowKeys: {
46
- type: PropType<() => void>;
50
+ type: PropType<TableActionType["clearSelectedRowKeys"]>;
47
51
  };
48
52
  count: {
49
53
  type: NumberConstructor;
@@ -60,11 +64,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<{
60
64
  showTableSetting: boolean;
61
65
  titleHelpMessage: string | string[];
62
66
  showSelectionBar: boolean;
63
- }, {}>, {
64
- headerTop?(_: {}): any;
65
- tableTitle?(_: {}): any;
66
- toolbar?(_: {}): any;
67
- }>;
67
+ }, {}>;
68
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
68
69
  export default _default;
69
70
  type __VLS_WithTemplateSlots<T, S> = T & {
70
71
  new (): {
@@ -1,5 +1,4 @@
1
1
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
2
-
3
2
  type TableImageProps = {
4
3
  imgList?: string[];
5
4
  size?: number;
@@ -9,13 +8,13 @@ type TableImageProps = {
9
8
  srcPrefix?: string;
10
9
  fallback?: string;
11
10
  };
12
- declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<TableImageProps>, {
11
+ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<TableImageProps>, {
13
12
  size: number;
14
13
  showBadge: boolean;
15
14
  margin: number;
16
15
  srcPrefix: string;
17
16
  fallback: string;
18
- }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<TableImageProps>, {
17
+ }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<TableImageProps>, {
19
18
  size: number;
20
19
  showBadge: boolean;
21
20
  margin: number;
@@ -24,20 +23,11 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
24
23
  }>>>, {
25
24
  size: number;
26
25
  margin: number;
27
- fallback: string;
28
26
  showBadge: boolean;
29
27
  srcPrefix: string;
28
+ fallback: string;
30
29
  }, {}>;
31
30
  export default _default;
32
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
33
- type __VLS_TypePropsToRuntimeProps<T> = {
34
- [K in keyof T]-?: {} extends Pick<T, K> ? {
35
- type: PropType<__VLS_NonUndefinedable<T[K]>>;
36
- } : {
37
- type: PropType<T[K]>;
38
- required: true;
39
- };
40
- };
41
31
  type __VLS_WithDefaults<P, D> = {
42
32
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
43
33
  default: D[K];
@@ -46,3 +36,12 @@ type __VLS_WithDefaults<P, D> = {
46
36
  type __VLS_Prettify<T> = {
47
37
  [K in keyof T]: T[K];
48
38
  } & {};
39
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
40
+ type __VLS_TypePropsToOption<T> = {
41
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
42
+ type: PropType<__VLS_NonUndefinedable<T[K]>>;
43
+ } : {
44
+ type: PropType<T[K]>;
45
+ required: true;
46
+ };
47
+ };
@@ -1,29 +1,19 @@
1
1
  import { TableActionType } from '../types/table';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
3
-
4
- declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
5
- count?: number | undefined;
6
- clearSelectedRowKeys: TableActionType['clearSelectedRowKeys'];
3
+ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
4
+ count?: number;
5
+ clearSelectedRowKeys: TableActionType["clearSelectedRowKeys"];
7
6
  }>, {
8
7
  count: () => 0;
9
- }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
10
- count?: number | undefined;
11
- clearSelectedRowKeys: TableActionType['clearSelectedRowKeys'];
8
+ }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
9
+ count?: number;
10
+ clearSelectedRowKeys: TableActionType["clearSelectedRowKeys"];
12
11
  }>, {
13
12
  count: () => 0;
14
13
  }>>>, {
15
14
  count: number;
16
15
  }, {}>;
17
16
  export default _default;
18
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
19
- type __VLS_TypePropsToRuntimeProps<T> = {
20
- [K in keyof T]-?: {} extends Pick<T, K> ? {
21
- type: PropType<__VLS_NonUndefinedable<T[K]>>;
22
- } : {
23
- type: PropType<T[K]>;
24
- required: true;
25
- };
26
- };
27
17
  type __VLS_WithDefaults<P, D> = {
28
18
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
29
19
  default: D[K];
@@ -32,3 +22,12 @@ type __VLS_WithDefaults<P, D> = {
32
22
  type __VLS_Prettify<T> = {
33
23
  [K in keyof T]: T[K];
34
24
  } & {};
25
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
26
+ type __VLS_TypePropsToOption<T> = {
27
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
28
+ type: PropType<__VLS_NonUndefinedable<T[K]>>;
29
+ } : {
30
+ type: PropType<T[K]>;
31
+ required: true;
32
+ };
33
+ };
@@ -1,5 +1,4 @@
1
1
  import { PropType, DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
2
-
3
2
  declare const _default: DefineComponent<{
4
3
  title: {
5
4
  type: PropType<string | ((data: any) => string)>;
@@ -1,5 +1,4 @@
1
1
  import { SizeType } from './types/table';
2
-
3
2
  export declare const ROW_KEY = "key";
4
3
  export declare const DEFAULT_ALIGN = "left";
5
4
  export declare const INDEX_COLUMN_FLAG = "INDEX";
@@ -1,4 +1,3 @@
1
1
  import { ObjectDirective } from 'vue';
2
-
3
2
  declare const ClickOutside: ObjectDirective;
4
3
  export default ClickOutside;
@@ -1,4 +1,3 @@
1
1
  import { BasicTableProps } from './types/table';
2
-
3
2
  export declare function parseRowKey<RecordType = any>(rowKey: BasicTableProps['rowKey'], record: RecordType, autoCreateKey?: boolean): number | string;
4
3
  export declare function parseRowKeyValue<RecordType = any>(rowKey: BasicTableProps['rowKey'], record: RecordType, autoCreateKey?: boolean): number | string;
@@ -3,7 +3,6 @@ import { PaginationProps } from '../types/pagination';
3
3
  import { ComputedRef } from 'vue';
4
4
  import { ColumnType } from 'ant-design-vue/es/table';
5
5
  import { Recordable } from '../../type';
6
-
7
6
  export declare function useColumns(propsRef: ComputedRef<BasicTableProps>, getPaginationRef: ComputedRef<boolean | PaginationProps>): {
8
7
  getColumnsRef: ComputedRef<BasicColumn[]>;
9
8
  getCacheColumns: () => BasicColumn[];