@aplus-frontend/ui 0.1.0 → 0.1.2

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 (640) 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 +18 -19
  7. package/es/src/ap-action/item-dropdown/index.vue.d.ts +19 -18
  8. package/es/src/ap-action/item-modal/index.vue.d.ts +16 -15
  9. package/es/src/ap-action/item-popconfirm/index.vue.d.ts +26 -25
  10. package/es/src/ap-action/style/item.css +5 -5
  11. package/es/src/ap-custom-column/column-select.vue.d.ts +3 -4
  12. package/es/src/ap-custom-column/custom-column.vue.d.ts +3 -4
  13. package/es/src/ap-custom-column/index.d.ts +0 -1
  14. package/es/src/ap-custom-column/interfaces.d.ts +0 -1
  15. package/es/src/ap-custom-column/storage.mjs +11 -11
  16. package/es/src/ap-custom-column/useCacheColumnSetting.d.ts +0 -1
  17. package/es/src/ap-custom-column/utils.d.ts +0 -1
  18. package/es/src/ap-descriptions/ap-descriptions.vue.d.ts +11 -10
  19. package/es/src/ap-descriptions/formatter/index.d.ts +0 -1
  20. package/es/src/ap-descriptions/help-message/index.vue.d.ts +14 -12
  21. package/es/src/ap-descriptions/helper.d.ts +0 -1
  22. package/es/src/ap-descriptions/index.d.ts +0 -1
  23. package/es/src/ap-descriptions/interface.d.ts +0 -1
  24. package/es/src/ap-download/ap-download.vue.d.ts +18 -17
  25. package/es/src/ap-download/ap-download.vue.mjs +4 -1
  26. package/es/src/ap-download/hooks/index.d.ts +0 -1
  27. package/es/src/ap-download/index.d.ts +0 -1
  28. package/es/src/ap-download/interface.d.ts +0 -1
  29. package/es/src/ap-field/checkbox/helper.d.ts +0 -1
  30. package/es/src/ap-field/checkbox/index.vue.d.ts +11 -12
  31. package/es/src/ap-field/date/constant.d.ts +0 -1
  32. package/es/src/ap-field/date/helper.d.ts +0 -1
  33. package/es/src/ap-field/date/index.vue.d.ts +25 -24
  34. package/es/src/ap-field/date/index.vue.mjs +4 -1
  35. package/es/src/ap-field/date-range/index.vue.d.ts +23 -22
  36. package/es/src/ap-field/date-range/index.vue.mjs +7 -1
  37. package/es/src/ap-field/hooks/use-default-placeholder.d.ts +3 -3
  38. package/es/src/ap-field/index.d.ts +0 -1
  39. package/es/src/ap-field/interface.d.ts +0 -1
  40. package/es/src/ap-field/number/helper.d.ts +0 -1
  41. package/es/src/ap-field/number/index.vue.d.ts +14 -13
  42. package/es/src/ap-field/radio/helper.d.ts +0 -1
  43. package/es/src/ap-field/radio/index.vue.d.ts +11 -12
  44. package/es/src/ap-field/rate/index.vue.d.ts +19 -18
  45. package/es/src/ap-field/segmented/index.vue.d.ts +23 -22
  46. package/es/src/ap-field/select/index.vue.d.ts +20 -19
  47. package/es/src/ap-field/slider/index.vue.d.ts +14 -13
  48. package/es/src/ap-field/slider/index.vue.mjs +1 -4
  49. package/es/src/ap-field/switch/index.vue.d.ts +15 -14
  50. package/es/src/ap-field/text/index.d.ts +0 -1
  51. package/es/src/ap-field/text/index.vue.d.ts +17 -16
  52. package/es/src/ap-field/text/input-password-props.d.ts +0 -1
  53. package/es/src/ap-field/text/password.vue.d.ts +18 -17
  54. package/es/src/ap-field/text-area/index.vue.d.ts +13 -14
  55. package/es/src/ap-form/ap-form-item-group/helper.d.ts +0 -1
  56. package/es/src/ap-form/ap-form-item-group/index.vue.d.ts +19 -18
  57. package/es/src/ap-form/ap-form-item.vue.d.ts +15 -14
  58. package/es/src/ap-form/ap-form-list.vue.d.ts +9 -8
  59. package/es/src/ap-form/ap-form.vue.d.ts +22 -21
  60. package/es/src/ap-form/constant.d.ts +0 -1
  61. package/es/src/ap-form/context.d.ts +0 -1
  62. package/es/src/ap-form/hooks/use-watch.d.ts +0 -1
  63. package/es/src/ap-form/hooks/use-watch.mjs +7 -7
  64. package/es/src/ap-form/index.d.ts +0 -1
  65. package/es/src/ap-form/interface.d.ts +0 -1
  66. package/es/src/ap-form/items/checkbox/index.vue.d.ts +17 -16
  67. package/es/src/ap-form/items/date/index.vue.d.ts +38 -37
  68. package/es/src/ap-form/items/date-range/index.vue.d.ts +38 -37
  69. package/es/src/ap-form/items/index.d.ts +0 -1
  70. package/es/src/ap-form/items/interface.d.ts +0 -1
  71. package/es/src/ap-form/items/number/index.vue.d.ts +31 -30
  72. package/es/src/ap-form/items/radio/index.vue.d.ts +17 -16
  73. package/es/src/ap-form/items/select/index.vue.d.ts +41 -40
  74. package/es/src/ap-form/items/switch/index.vue.d.ts +25 -24
  75. package/es/src/ap-form/items/text/index.d.ts +0 -1
  76. package/es/src/ap-form/items/text/index.vue.d.ts +31 -30
  77. package/es/src/ap-form/items/text/password.vue.d.ts +31 -30
  78. package/es/src/ap-form/items/text-area/index.vue.d.ts +18 -17
  79. package/es/src/ap-form/modal-form/index.vue.d.ts +30 -29
  80. package/es/src/ap-form/search-form/index.vue.d.ts +23 -22
  81. package/es/src/ap-form/search-form/utils.d.ts +0 -1
  82. package/es/src/ap-form/search-form/utils.mjs +1 -2
  83. package/es/src/ap-form/style/ap-form-item.css +6 -6
  84. package/es/src/ap-layout/ap-info-layout/ap-info-layout.vue.d.ts +20 -19
  85. package/es/src/ap-layout/index.d.ts +0 -1
  86. package/es/src/ap-list/hooks/use-offline-list.d.ts +0 -1
  87. package/es/src/ap-list/index.d.ts +0 -1
  88. package/es/src/ap-list/index.vue.d.ts +9 -122
  89. package/es/src/ap-list/interface.d.ts +0 -1
  90. package/es/src/ap-modal/index.d.ts +0 -1
  91. package/es/src/ap-modal/type.d.ts +0 -1
  92. package/es/src/ap-modal/utils/createModal.d.ts +0 -1
  93. package/es/src/ap-table/ap-table.vue.d.ts +16 -2222
  94. package/es/src/ap-table/components/index/index.vue.d.ts +11 -12
  95. package/es/src/ap-table/components/interface.d.ts +0 -1
  96. package/es/src/ap-table/components/status/index.vue.d.ts +2 -3
  97. package/es/src/ap-table/constants.d.ts +4804 -6359
  98. package/es/src/ap-table/hooks/use-table-paging.d.ts +0 -1
  99. package/es/src/ap-table/hooks/use-table-row-selection.d.ts +0 -1
  100. package/es/src/ap-table/index.d.ts +0 -1
  101. package/es/src/ap-table/interface.d.ts +0 -1
  102. package/es/src/ap-table/style/ap-table.css +1 -1
  103. package/es/src/ap-table/utils.d.ts +1 -2
  104. package/es/src/ap-tag/ap-tag-group.vue.d.ts +14 -13
  105. package/es/src/ap-tag/ap-tag-group.vue.mjs +8 -7
  106. package/es/src/ap-tag/ap-tag.vue.d.ts +13 -14
  107. package/es/src/ap-tag/index.d.ts +0 -1
  108. package/es/src/ap-tag/interface.d.ts +0 -1
  109. package/es/src/ap-upload/apUpload.vue.d.ts +2 -3
  110. package/es/src/ap-upload/apUpload.vue.mjs +4 -1
  111. package/es/src/ap-upload/apUploadTypes.d.ts +0 -1
  112. package/es/src/ap-upload/components/MultipleFile.vue.d.ts +0 -1
  113. package/es/src/ap-upload/components/Picture.vue.d.ts +0 -1
  114. package/es/src/ap-upload/components/Picture.vue2.mjs +15 -5
  115. package/es/src/ap-upload/components/SingleFile.vue.d.ts +0 -1
  116. package/es/src/ap-upload/components/SingleFile.vue2.mjs +5 -1
  117. package/es/src/ap-upload/hooks/useOss.d.ts +0 -1
  118. package/es/src/ap-upload/index.d.ts +0 -1
  119. package/es/src/ap-upload/utils/accept.d.ts +0 -1
  120. package/es/src/ap-upload/utils/accept.mjs +1 -2
  121. package/es/src/base-button/button.vue.d.ts +17 -16
  122. package/es/src/base-button/constants.d.ts +0 -1
  123. package/es/src/base-button/index.d.ts +55 -55
  124. package/es/src/base-button/interface.d.ts +0 -1
  125. package/es/src/basic/arrow.vue.d.ts +2 -3
  126. package/es/src/basic/help.vue.d.ts +4 -9
  127. package/es/src/basic/index.d.ts +27 -35
  128. package/es/src/basic/interface.d.ts +0 -1
  129. package/es/src/basic/title.vue.d.ts +16 -15
  130. package/es/src/business/ap-export-group/ApExportGroup.vue.d.ts +2 -3
  131. package/es/src/business/ap-export-group/ApExportGroup.vue2.mjs +1 -2
  132. package/es/src/business/ap-export-group/interface.d.ts +0 -1
  133. package/es/src/business/ap-label/ApLabel.vue.d.ts +17 -16
  134. package/es/src/business/ap-label/index.d.ts +0 -1
  135. package/es/src/business/ap-label/interface.d.ts +0 -1
  136. package/es/src/business/ap-select-layout/index.css +9 -0
  137. package/es/src/business/ap-select-layout/index.d.ts +0 -1
  138. package/es/src/business/ap-select-layout/select-layout.vue.d.ts +16 -58
  139. package/es/src/business/ap-status/ApStatus.vue.d.ts +11 -12
  140. package/es/src/business/ap-status/ApStatusGroup.vue.d.ts +14 -17
  141. package/es/src/business/ap-status/index.d.ts +0 -1
  142. package/es/src/business/expandAlert/ApExpandAlert.vue.d.ts +18 -17
  143. package/es/src/business/index.d.ts +213 -248
  144. package/es/src/business/title/ApTitle.vue.d.ts +19 -18
  145. package/es/src/button/button.vue.d.ts +25 -0
  146. package/es/src/button/index.d.ts +7 -7
  147. package/es/src/check-card/checked.svg.mjs +2 -2
  148. package/es/src/check-card/context.d.ts +0 -1
  149. package/es/src/check-card/group.vue.d.ts +21 -20
  150. package/es/src/check-card/index.d.ts +0 -1
  151. package/es/src/check-card/index.vue.d.ts +16 -15
  152. package/es/src/check-card/index.vue2.mjs +16 -16
  153. package/es/src/check-card/interface.d.ts +0 -1
  154. package/es/src/check-card/style/index.css +5 -5
  155. package/es/src/config-provider/config-provider-props.d.ts +22 -23
  156. package/es/src/config-provider/config-provider.d.ts +59 -204
  157. package/es/src/config-provider/constants.d.ts +0 -1
  158. package/es/src/config-provider/hooks/use-global-config.d.ts +24 -25
  159. package/es/src/config-provider/hooks/use-locale.d.ts +0 -1
  160. package/es/src/config-provider/hooks/use-namespace.d.ts +0 -1
  161. package/es/src/config-provider/index.d.ts +129 -130
  162. package/es/src/container/collapse/header.vue.d.ts +4 -5
  163. package/es/src/container/collapse/index.vue.d.ts +5 -6
  164. package/es/src/container/index.d.ts +26 -26
  165. package/es/src/container/scroll-container.vue.d.ts +13 -12
  166. package/es/src/count-down/button.vue.d.ts +11 -12
  167. package/es/src/count-down/index.d.ts +13 -13
  168. package/es/src/count-down/input.vue.d.ts +14 -13
  169. package/es/src/count-down/interface.d.ts +0 -1
  170. package/es/src/cropper/cropper-avatar.vue.d.ts +12 -13
  171. package/es/src/cropper/cropper-image.vue.d.ts +12 -13
  172. package/es/src/cropper/cropper-modal.vue.d.ts +0 -1
  173. package/es/src/cropper/index.d.ts +63 -63
  174. package/es/src/cropper/interface.d.ts +0 -1
  175. package/es/src/description/description.vue.d.ts +1 -2
  176. package/es/src/description/index.d.ts +10 -10
  177. package/es/src/description/interface.d.ts +0 -1
  178. package/es/src/description/use-description.d.ts +0 -1
  179. package/es/src/design-token/index.d.ts +0 -1
  180. package/es/src/dropdown/dropdown.vue.d.ts +18 -17
  181. package/es/src/dropdown/index.d.ts +18 -18
  182. package/es/src/dropdown/interface.d.ts +0 -1
  183. package/es/src/editable-table/form-item.vue.d.ts +14 -915
  184. package/es/src/editable-table/hooks/use-get-columns.d.ts +0 -1
  185. package/es/src/editable-table/index.d.ts +0 -1
  186. package/es/src/editable-table/index.vue.d.ts +18 -568
  187. package/es/src/editable-table/interface.d.ts +0 -1
  188. package/es/src/editable-table/style/index.css +1 -1
  189. package/es/src/editable-table/utils.d.ts +0 -1
  190. package/es/src/hooks/useControllableValue.d.ts +0 -1
  191. package/es/src/hooks/useMessage.d.ts +0 -1
  192. package/es/src/icon/icon.vue.d.ts +12 -12
  193. package/es/src/icon/icon.vue2.mjs +3 -6
  194. package/es/src/icon/index.d.ts +36 -36
  195. package/es/src/icon/svg-icon.vue.d.ts +11 -12
  196. package/es/src/icon-picker/icon-picker.vue.d.ts +12 -13
  197. package/es/src/icon-picker/index.d.ts +25 -25
  198. package/es/src/locale/index.d.ts +0 -1
  199. package/es/src/locale/lang/en.d.ts +0 -1
  200. package/es/src/locale/lang/en.mjs +22 -22
  201. package/es/src/locale/lang/zh-cn.d.ts +0 -1
  202. package/es/src/locale/lang/zh-cn.mjs +22 -22
  203. package/es/src/modal/basic.vue.d.ts +18 -206
  204. package/es/src/modal/components/modal-close.vue.d.ts +11 -12
  205. package/es/src/modal/components/modal-footer.vue.d.ts +20 -209
  206. package/es/src/modal/components/modal-header.vue.d.ts +2 -3
  207. package/es/src/modal/components/modal-wrapper.vue.d.ts +7 -5
  208. package/es/src/modal/components/modal-wrapper.vue2.mjs +4 -8
  209. package/es/src/modal/components/modal.d.ts +11 -201
  210. package/es/src/modal/hooks/use-moda-full-screen.d.ts +0 -1
  211. package/es/src/modal/hooks/use-modal-drag.d.ts +0 -1
  212. package/es/src/modal/hooks/use-modal-drag.mjs +3 -6
  213. package/es/src/modal/hooks/use-modal.d.ts +0 -1
  214. package/es/src/modal/hooks/use-modal.mjs +1 -2
  215. package/es/src/modal/index.d.ts +37 -130
  216. package/es/src/modal/interface.d.ts +0 -1
  217. package/es/src/modal/props.d.ts +6 -103
  218. package/es/src/pro-form/component-map.d.ts +0 -1
  219. package/es/src/pro-form/components/api-cascader.vue.d.ts +11 -12
  220. package/es/src/pro-form/components/api-radio-group.vue.d.ts +12 -13
  221. package/es/src/pro-form/components/api-select.vue.d.ts +15 -14
  222. package/es/src/pro-form/components/api-transfer.vue.d.ts +14 -15
  223. package/es/src/pro-form/components/api-tree-select.vue.d.ts +14 -13
  224. package/es/src/pro-form/components/api-tree-select.vue.mjs +1 -2
  225. package/es/src/pro-form/components/api-tree.vue.d.ts +15 -14
  226. package/es/src/pro-form/components/api-tree.vue.mjs +1 -2
  227. package/es/src/pro-form/components/form-action.vue.d.ts +19 -18
  228. package/es/src/pro-form/components/form-item.vue.d.ts +0 -1
  229. package/es/src/pro-form/components/interface.d.ts +0 -1
  230. package/es/src/pro-form/components/radio-button-group.vue.d.ts +11 -12
  231. package/es/src/pro-form/helper.d.ts +1 -2
  232. package/es/src/pro-form/helper.mjs +4 -4
  233. package/es/src/pro-form/hooks/use-advanced.d.ts +0 -1
  234. package/es/src/pro-form/hooks/use-auto-focus.d.ts +0 -1
  235. package/es/src/pro-form/hooks/use-component-register.d.ts +0 -1
  236. package/es/src/pro-form/hooks/use-form-events.d.ts +0 -1
  237. package/es/src/pro-form/hooks/use-form-events.mjs +11 -11
  238. package/es/src/pro-form/hooks/use-form-item.d.ts +0 -1
  239. package/es/src/pro-form/hooks/use-form-values.d.ts +0 -1
  240. package/es/src/pro-form/hooks/use-form.d.ts +0 -1
  241. package/es/src/pro-form/hooks/use-label-width.d.ts +122 -123
  242. package/es/src/pro-form/index.d.ts +0 -1
  243. package/es/src/pro-form/pro-form.vue.d.ts +24 -23
  244. package/es/src/pro-form/table-form-inner.vue.d.ts +13 -14
  245. package/es/src/pro-form/table-form.vue.d.ts +12 -13
  246. package/es/src/pro-form/types/form-item.d.ts +0 -1
  247. package/es/src/pro-form/types/form.d.ts +0 -1
  248. package/es/src/pro-form/types/index.d.ts +37 -38
  249. package/es/src/pro-form/types/table-form.d.ts +0 -1
  250. package/es/src/pro-table/component-map.d.ts +0 -1
  251. package/es/src/pro-table/components/edit-table-header-icon.vue.d.ts +6 -4
  252. package/es/src/pro-table/components/editable/cell-component.d.ts +0 -1
  253. package/es/src/pro-table/components/editable/editable-cell.vue.d.ts +7 -8
  254. package/es/src/pro-table/components/editable/editable-cell.vue2.mjs +38 -42
  255. package/es/src/pro-table/components/editable/helper.d.ts +0 -1
  256. package/es/src/pro-table/components/editable/index.d.ts +0 -1
  257. package/es/src/pro-table/components/header-cell.vue.d.ts +0 -1
  258. package/es/src/pro-table/components/settings/column-setting.vue.d.ts +0 -1
  259. package/es/src/pro-table/components/settings/index.vue.d.ts +0 -1
  260. package/es/src/pro-table/components/table-action.vue.d.ts +7 -6
  261. package/es/src/pro-table/components/table-action.vue.mjs +4 -3
  262. package/es/src/pro-table/components/table-footer.vue.d.ts +19 -20
  263. package/es/src/pro-table/components/table-header.vue.d.ts +11 -10
  264. package/es/src/pro-table/components/table-image.vue.d.ts +12 -13
  265. package/es/src/pro-table/components/table-selection-bar.vue.d.ts +15 -16
  266. package/es/src/pro-table/components/table-title.vue.d.ts +0 -1
  267. package/es/src/pro-table/const.d.ts +0 -1
  268. package/es/src/pro-table/directives/click-outside.d.ts +0 -1
  269. package/es/src/pro-table/helper.d.ts +0 -1
  270. package/es/src/pro-table/hooks/use-columns.d.ts +0 -1
  271. package/es/src/pro-table/hooks/use-columns.mjs +3 -6
  272. package/es/src/pro-table/hooks/use-custom-row.d.ts +0 -1
  273. package/es/src/pro-table/hooks/use-custom-row.mjs +4 -8
  274. package/es/src/pro-table/hooks/use-data-source.d.ts +1 -2
  275. package/es/src/pro-table/hooks/use-data-source.mjs +2 -4
  276. package/es/src/pro-table/hooks/use-loading.d.ts +0 -1
  277. package/es/src/pro-table/hooks/use-pagination.d.ts +0 -1
  278. package/es/src/pro-table/hooks/use-row-selection.d.ts +0 -1
  279. package/es/src/pro-table/hooks/use-scroll-to.d.ts +0 -1
  280. package/es/src/pro-table/hooks/use-scroll-to.mjs +1 -2
  281. package/es/src/pro-table/hooks/use-table-context.d.ts +0 -1
  282. package/es/src/pro-table/hooks/use-table-expand.d.ts +0 -1
  283. package/es/src/pro-table/hooks/use-table-footer.d.ts +0 -1
  284. package/es/src/pro-table/hooks/use-table-footer.mjs +1 -2
  285. package/es/src/pro-table/hooks/use-table-form.d.ts +0 -1
  286. package/es/src/pro-table/hooks/use-table-header.d.ts +0 -1
  287. package/es/src/pro-table/hooks/use-table-scroll.d.ts +3 -4
  288. package/es/src/pro-table/hooks/use-table-scroll.mjs +25 -27
  289. package/es/src/pro-table/hooks/use-table-style.d.ts +0 -1
  290. package/es/src/pro-table/hooks/use-table.d.ts +0 -1
  291. package/es/src/pro-table/interface.d.ts +0 -1
  292. package/es/src/pro-table/pro-table.vue.d.ts +43 -42
  293. package/es/src/pro-table/types/pagination.d.ts +0 -1
  294. package/es/src/pro-table/types/table-action.d.ts +0 -1
  295. package/es/src/pro-table/types/table.d.ts +0 -1
  296. package/es/src/prompt/dialog.vue.d.ts +2 -3
  297. package/es/src/prompt/index.d.ts +0 -1
  298. package/es/src/prompt/interface.d.ts +0 -1
  299. package/es/src/prompt/utils.d.ts +2 -2
  300. package/es/src/scroll-bar/bar-item.d.ts +0 -1
  301. package/es/src/scroll-bar/bar-item.mjs +2 -4
  302. package/es/src/scroll-bar/index.d.ts +27 -27
  303. package/es/src/scroll-bar/interface.d.ts +0 -1
  304. package/es/src/scroll-bar/scroll-bar.vue.d.ts +18 -17
  305. package/es/src/scroll-bar/scroll-bar.vue2.mjs +1 -2
  306. package/es/src/scroll-bar/utils.d.ts +0 -1
  307. package/es/src/strength-meter/index.d.ts +19 -19
  308. package/es/src/strength-meter/strength-meter.vue.d.ts +14 -13
  309. package/es/src/strength-meter/strength-meter.vue2.mjs +1 -2
  310. package/es/src/tests/wrapper.d.ts +8 -0
  311. package/es/src/theme/antd-global-overwrite/admin/index.css +5 -5
  312. package/es/src/theme/antd-global-overwrite/admin/steps.css +5 -5
  313. package/es/src/theme/antd-global-overwrite/aplus/form.css +1 -1
  314. package/es/src/theme/antd-global-overwrite/aplus/index.css +6 -6
  315. package/es/src/theme/antd-global-overwrite/aplus/steps.css +5 -5
  316. package/es/src/theme/ap-action/item.css +5 -5
  317. package/es/src/theme/ap-form/ap-form-item.css +6 -6
  318. package/es/src/theme/ap-select-layout/ap-select-layout.css +9 -0
  319. package/es/src/theme/ap-table/ap-table.css +1 -1
  320. package/es/src/theme/check-card/index.css +5 -5
  321. package/es/src/theme/editable-table/index.css +1 -1
  322. package/es/src/transition/collapse-transition.vue.d.ts +4 -3
  323. package/es/src/transition/create-transition.d.ts +0 -1
  324. package/es/src/type.d.ts +0 -1
  325. package/es/src/utils/config-provider-preset.d.ts +16 -17
  326. package/es/src/utils/index.d.ts +0 -1
  327. package/es/src/utils/slot.d.ts +0 -1
  328. package/es/src/utils/slot.mjs +1 -2
  329. package/es/src/utils/tree.d.ts +0 -1
  330. package/es/src/utils/tree.mjs +1 -2
  331. package/es/src/work-order-modal/createWorkOrder.d.ts +0 -1
  332. package/es/src/work-order-modal/index.d.ts +0 -1
  333. package/es/src/work-order-modal/interfaces.d.ts +0 -1
  334. package/es/src/work-order-modal/work-order-modal.vue.d.ts +3 -4
  335. package/lib/index.d.ts +0 -1
  336. package/lib/src/ap-action/group/index.vue.d.ts +12 -13
  337. package/lib/src/ap-action/index.d.ts +0 -1
  338. package/lib/src/ap-action/interface.d.ts +0 -1
  339. package/lib/src/ap-action/item/index.vue.d.ts +16 -15
  340. package/lib/src/ap-action/item/index.vue2.js +1 -1
  341. package/lib/src/ap-action/item-dropdown/index.vue.d.ts +19 -18
  342. package/lib/src/ap-action/item-modal/index.vue.d.ts +16 -15
  343. package/lib/src/ap-action/item-popconfirm/index.vue.d.ts +26 -25
  344. package/lib/src/ap-action/style/item.css +5 -5
  345. package/lib/src/ap-custom-column/column-select.vue.d.ts +3 -4
  346. package/lib/src/ap-custom-column/custom-column.vue.d.ts +3 -4
  347. package/lib/src/ap-custom-column/index.d.ts +0 -1
  348. package/lib/src/ap-custom-column/interfaces.d.ts +0 -1
  349. package/lib/src/ap-custom-column/storage.js +1 -1
  350. package/lib/src/ap-custom-column/useCacheColumnSetting.d.ts +0 -1
  351. package/lib/src/ap-custom-column/utils.d.ts +0 -1
  352. package/lib/src/ap-descriptions/ap-descriptions.vue.d.ts +11 -10
  353. package/lib/src/ap-descriptions/formatter/index.d.ts +0 -1
  354. package/lib/src/ap-descriptions/help-message/index.vue.d.ts +14 -12
  355. package/lib/src/ap-descriptions/helper.d.ts +0 -1
  356. package/lib/src/ap-descriptions/index.d.ts +0 -1
  357. package/lib/src/ap-descriptions/interface.d.ts +0 -1
  358. package/lib/src/ap-download/ap-download.vue.d.ts +18 -17
  359. package/lib/src/ap-download/hooks/index.d.ts +0 -1
  360. package/lib/src/ap-download/index.d.ts +0 -1
  361. package/lib/src/ap-download/interface.d.ts +0 -1
  362. package/lib/src/ap-field/checkbox/helper.d.ts +0 -1
  363. package/lib/src/ap-field/checkbox/index.vue.d.ts +11 -12
  364. package/lib/src/ap-field/date/constant.d.ts +0 -1
  365. package/lib/src/ap-field/date/helper.d.ts +0 -1
  366. package/lib/src/ap-field/date/index.vue.d.ts +25 -24
  367. package/lib/src/ap-field/date-range/index.vue.d.ts +23 -22
  368. package/lib/src/ap-field/hooks/use-default-placeholder.d.ts +3 -3
  369. package/lib/src/ap-field/index.d.ts +0 -1
  370. package/lib/src/ap-field/interface.d.ts +0 -1
  371. package/lib/src/ap-field/number/helper.d.ts +0 -1
  372. package/lib/src/ap-field/number/index.vue.d.ts +14 -13
  373. package/lib/src/ap-field/radio/helper.d.ts +0 -1
  374. package/lib/src/ap-field/radio/index.vue.d.ts +11 -12
  375. package/lib/src/ap-field/rate/index.vue.d.ts +19 -18
  376. package/lib/src/ap-field/segmented/index.vue.d.ts +23 -22
  377. package/lib/src/ap-field/select/index.vue.d.ts +20 -19
  378. package/lib/src/ap-field/slider/index.vue.d.ts +14 -13
  379. package/lib/src/ap-field/switch/index.vue.d.ts +15 -14
  380. package/lib/src/ap-field/text/index.d.ts +0 -1
  381. package/lib/src/ap-field/text/index.vue.d.ts +17 -16
  382. package/lib/src/ap-field/text/input-password-props.d.ts +0 -1
  383. package/lib/src/ap-field/text/password.vue.d.ts +18 -17
  384. package/lib/src/ap-field/text-area/index.vue.d.ts +13 -14
  385. package/lib/src/ap-form/ap-form-item-group/helper.d.ts +0 -1
  386. package/lib/src/ap-form/ap-form-item-group/index.vue.d.ts +19 -18
  387. package/lib/src/ap-form/ap-form-item.vue.d.ts +15 -14
  388. package/lib/src/ap-form/ap-form-list.vue.d.ts +9 -8
  389. package/lib/src/ap-form/ap-form.vue.d.ts +22 -21
  390. package/lib/src/ap-form/constant.d.ts +0 -1
  391. package/lib/src/ap-form/context.d.ts +0 -1
  392. package/lib/src/ap-form/hooks/use-watch.d.ts +0 -1
  393. package/lib/src/ap-form/index.d.ts +0 -1
  394. package/lib/src/ap-form/interface.d.ts +0 -1
  395. package/lib/src/ap-form/items/checkbox/index.vue.d.ts +17 -16
  396. package/lib/src/ap-form/items/date/index.vue.d.ts +38 -37
  397. package/lib/src/ap-form/items/date-range/index.vue.d.ts +38 -37
  398. package/lib/src/ap-form/items/index.d.ts +0 -1
  399. package/lib/src/ap-form/items/interface.d.ts +0 -1
  400. package/lib/src/ap-form/items/number/index.vue.d.ts +31 -30
  401. package/lib/src/ap-form/items/radio/index.vue.d.ts +17 -16
  402. package/lib/src/ap-form/items/select/index.vue.d.ts +41 -40
  403. package/lib/src/ap-form/items/switch/index.vue.d.ts +25 -24
  404. package/lib/src/ap-form/items/text/index.d.ts +0 -1
  405. package/lib/src/ap-form/items/text/index.vue.d.ts +31 -30
  406. package/lib/src/ap-form/items/text/password.vue.d.ts +31 -30
  407. package/lib/src/ap-form/items/text-area/index.vue.d.ts +18 -17
  408. package/lib/src/ap-form/modal-form/index.vue.d.ts +30 -29
  409. package/lib/src/ap-form/search-form/index.vue.d.ts +23 -22
  410. package/lib/src/ap-form/search-form/utils.d.ts +0 -1
  411. package/lib/src/ap-form/style/ap-form-item.css +6 -6
  412. package/lib/src/ap-layout/ap-info-layout/ap-info-layout.vue.d.ts +20 -19
  413. package/lib/src/ap-layout/index.d.ts +0 -1
  414. package/lib/src/ap-list/hooks/use-offline-list.d.ts +0 -1
  415. package/lib/src/ap-list/index.d.ts +0 -1
  416. package/lib/src/ap-list/index.vue.d.ts +9 -122
  417. package/lib/src/ap-list/interface.d.ts +0 -1
  418. package/lib/src/ap-modal/index.d.ts +0 -1
  419. package/lib/src/ap-modal/type.d.ts +0 -1
  420. package/lib/src/ap-modal/utils/createModal.d.ts +0 -1
  421. package/lib/src/ap-table/ap-table.vue.d.ts +16 -2222
  422. package/lib/src/ap-table/components/index/index.vue.d.ts +11 -12
  423. package/lib/src/ap-table/components/interface.d.ts +0 -1
  424. package/lib/src/ap-table/components/status/index.vue.d.ts +2 -3
  425. package/lib/src/ap-table/constants.d.ts +4804 -6359
  426. package/lib/src/ap-table/hooks/use-table-paging.d.ts +0 -1
  427. package/lib/src/ap-table/hooks/use-table-row-selection.d.ts +0 -1
  428. package/lib/src/ap-table/index.d.ts +0 -1
  429. package/lib/src/ap-table/interface.d.ts +0 -1
  430. package/lib/src/ap-table/style/ap-table.css +1 -1
  431. package/lib/src/ap-table/utils.d.ts +1 -2
  432. package/lib/src/ap-tag/ap-tag-group.vue.d.ts +14 -13
  433. package/lib/src/ap-tag/ap-tag.vue.d.ts +13 -14
  434. package/lib/src/ap-tag/index.d.ts +0 -1
  435. package/lib/src/ap-tag/interface.d.ts +0 -1
  436. package/lib/src/ap-upload/apUpload.vue.d.ts +2 -3
  437. package/lib/src/ap-upload/apUploadTypes.d.ts +0 -1
  438. package/lib/src/ap-upload/components/MultipleFile.vue.d.ts +0 -1
  439. package/lib/src/ap-upload/components/Picture.vue.d.ts +0 -1
  440. package/lib/src/ap-upload/components/SingleFile.vue.d.ts +0 -1
  441. package/lib/src/ap-upload/hooks/useOss.d.ts +0 -1
  442. package/lib/src/ap-upload/index.d.ts +0 -1
  443. package/lib/src/ap-upload/utils/accept.d.ts +0 -1
  444. package/lib/src/base-button/button.vue.d.ts +17 -16
  445. package/lib/src/base-button/constants.d.ts +0 -1
  446. package/lib/src/base-button/index.d.ts +55 -55
  447. package/lib/src/base-button/interface.d.ts +0 -1
  448. package/lib/src/basic/arrow.vue.d.ts +2 -3
  449. package/lib/src/basic/help.vue.d.ts +4 -9
  450. package/lib/src/basic/index.d.ts +27 -35
  451. package/lib/src/basic/interface.d.ts +0 -1
  452. package/lib/src/basic/title.vue.d.ts +16 -15
  453. package/lib/src/business/ap-export-group/ApExportGroup.vue.d.ts +2 -3
  454. package/lib/src/business/ap-export-group/interface.d.ts +0 -1
  455. package/lib/src/business/ap-label/ApLabel.vue.d.ts +17 -16
  456. package/lib/src/business/ap-label/index.d.ts +0 -1
  457. package/lib/src/business/ap-label/interface.d.ts +0 -1
  458. package/lib/src/business/ap-select-layout/index.css +9 -0
  459. package/lib/src/business/ap-select-layout/index.d.ts +0 -1
  460. package/lib/src/business/ap-select-layout/select-layout.vue.d.ts +16 -58
  461. package/lib/src/business/ap-status/ApStatus.vue.d.ts +11 -12
  462. package/lib/src/business/ap-status/ApStatusGroup.vue.d.ts +14 -17
  463. package/lib/src/business/ap-status/index.d.ts +0 -1
  464. package/lib/src/business/expandAlert/ApExpandAlert.vue.d.ts +18 -17
  465. package/lib/src/business/index.d.ts +213 -248
  466. package/lib/src/business/title/ApTitle.vue.d.ts +19 -18
  467. package/lib/src/button/button.vue.d.ts +25 -0
  468. package/lib/src/button/index.d.ts +7 -7
  469. package/lib/src/check-card/checked.svg.js +1 -1
  470. package/lib/src/check-card/context.d.ts +0 -1
  471. package/lib/src/check-card/group.vue.d.ts +21 -20
  472. package/lib/src/check-card/index.d.ts +0 -1
  473. package/lib/src/check-card/index.vue.d.ts +16 -15
  474. package/lib/src/check-card/index.vue2.js +1 -1
  475. package/lib/src/check-card/interface.d.ts +0 -1
  476. package/lib/src/check-card/style/index.css +5 -5
  477. package/lib/src/config-provider/config-provider-props.d.ts +22 -23
  478. package/lib/src/config-provider/config-provider.d.ts +59 -204
  479. package/lib/src/config-provider/constants.d.ts +0 -1
  480. package/lib/src/config-provider/hooks/use-global-config.d.ts +24 -25
  481. package/lib/src/config-provider/hooks/use-locale.d.ts +0 -1
  482. package/lib/src/config-provider/hooks/use-namespace.d.ts +0 -1
  483. package/lib/src/config-provider/index.d.ts +129 -130
  484. package/lib/src/container/collapse/header.vue.d.ts +4 -5
  485. package/lib/src/container/collapse/index.vue.d.ts +5 -6
  486. package/lib/src/container/index.d.ts +26 -26
  487. package/lib/src/container/scroll-container.vue.d.ts +13 -12
  488. package/lib/src/count-down/button.vue.d.ts +11 -12
  489. package/lib/src/count-down/index.d.ts +13 -13
  490. package/lib/src/count-down/input.vue.d.ts +14 -13
  491. package/lib/src/count-down/interface.d.ts +0 -1
  492. package/lib/src/cropper/cropper-avatar.vue.d.ts +12 -13
  493. package/lib/src/cropper/cropper-image.vue.d.ts +12 -13
  494. package/lib/src/cropper/cropper-modal.vue.d.ts +0 -1
  495. package/lib/src/cropper/index.d.ts +63 -63
  496. package/lib/src/cropper/interface.d.ts +0 -1
  497. package/lib/src/description/description.vue.d.ts +1 -2
  498. package/lib/src/description/index.d.ts +10 -10
  499. package/lib/src/description/interface.d.ts +0 -1
  500. package/lib/src/description/use-description.d.ts +0 -1
  501. package/lib/src/design-token/index.d.ts +0 -1
  502. package/lib/src/dropdown/dropdown.vue.d.ts +18 -17
  503. package/lib/src/dropdown/index.d.ts +18 -18
  504. package/lib/src/dropdown/interface.d.ts +0 -1
  505. package/lib/src/editable-table/form-item.vue.d.ts +14 -915
  506. package/lib/src/editable-table/hooks/use-get-columns.d.ts +0 -1
  507. package/lib/src/editable-table/index.d.ts +0 -1
  508. package/lib/src/editable-table/index.vue.d.ts +18 -568
  509. package/lib/src/editable-table/interface.d.ts +0 -1
  510. package/lib/src/editable-table/style/index.css +1 -1
  511. package/lib/src/editable-table/utils.d.ts +0 -1
  512. package/lib/src/hooks/useControllableValue.d.ts +0 -1
  513. package/lib/src/hooks/useMessage.d.ts +0 -1
  514. package/lib/src/icon/icon.vue.d.ts +12 -12
  515. package/lib/src/icon/index.d.ts +36 -36
  516. package/lib/src/icon/svg-icon.vue.d.ts +11 -12
  517. package/lib/src/icon-picker/icon-picker.vue.d.ts +12 -13
  518. package/lib/src/icon-picker/index.d.ts +25 -25
  519. package/lib/src/locale/index.d.ts +0 -1
  520. package/lib/src/locale/lang/en.d.ts +0 -1
  521. package/lib/src/locale/lang/en.js +1 -1
  522. package/lib/src/locale/lang/zh-cn.d.ts +0 -1
  523. package/lib/src/locale/lang/zh-cn.js +1 -1
  524. package/lib/src/modal/basic.vue.d.ts +18 -206
  525. package/lib/src/modal/components/modal-close.vue.d.ts +11 -12
  526. package/lib/src/modal/components/modal-footer.vue.d.ts +20 -209
  527. package/lib/src/modal/components/modal-header.vue.d.ts +2 -3
  528. package/lib/src/modal/components/modal-wrapper.vue.d.ts +7 -5
  529. package/lib/src/modal/components/modal.d.ts +11 -201
  530. package/lib/src/modal/hooks/use-moda-full-screen.d.ts +0 -1
  531. package/lib/src/modal/hooks/use-modal-drag.d.ts +0 -1
  532. package/lib/src/modal/hooks/use-modal.d.ts +0 -1
  533. package/lib/src/modal/index.d.ts +37 -130
  534. package/lib/src/modal/interface.d.ts +0 -1
  535. package/lib/src/modal/props.d.ts +6 -103
  536. package/lib/src/pro-form/component-map.d.ts +0 -1
  537. package/lib/src/pro-form/components/api-cascader.vue.d.ts +11 -12
  538. package/lib/src/pro-form/components/api-radio-group.vue.d.ts +12 -13
  539. package/lib/src/pro-form/components/api-select.vue.d.ts +15 -14
  540. package/lib/src/pro-form/components/api-transfer.vue.d.ts +14 -15
  541. package/lib/src/pro-form/components/api-tree-select.vue.d.ts +14 -13
  542. package/lib/src/pro-form/components/api-tree.vue.d.ts +15 -14
  543. package/lib/src/pro-form/components/form-action.vue.d.ts +19 -18
  544. package/lib/src/pro-form/components/form-item.vue.d.ts +0 -1
  545. package/lib/src/pro-form/components/interface.d.ts +0 -1
  546. package/lib/src/pro-form/components/radio-button-group.vue.d.ts +11 -12
  547. package/lib/src/pro-form/helper.d.ts +1 -2
  548. package/lib/src/pro-form/helper.js +1 -1
  549. package/lib/src/pro-form/hooks/use-advanced.d.ts +0 -1
  550. package/lib/src/pro-form/hooks/use-auto-focus.d.ts +0 -1
  551. package/lib/src/pro-form/hooks/use-component-register.d.ts +0 -1
  552. package/lib/src/pro-form/hooks/use-form-events.d.ts +0 -1
  553. package/lib/src/pro-form/hooks/use-form-events.js +1 -1
  554. package/lib/src/pro-form/hooks/use-form-item.d.ts +0 -1
  555. package/lib/src/pro-form/hooks/use-form-values.d.ts +0 -1
  556. package/lib/src/pro-form/hooks/use-form.d.ts +0 -1
  557. package/lib/src/pro-form/hooks/use-label-width.d.ts +122 -123
  558. package/lib/src/pro-form/index.d.ts +0 -1
  559. package/lib/src/pro-form/pro-form.vue.d.ts +24 -23
  560. package/lib/src/pro-form/table-form-inner.vue.d.ts +13 -14
  561. package/lib/src/pro-form/table-form.vue.d.ts +12 -13
  562. package/lib/src/pro-form/types/form-item.d.ts +0 -1
  563. package/lib/src/pro-form/types/form.d.ts +0 -1
  564. package/lib/src/pro-form/types/index.d.ts +37 -38
  565. package/lib/src/pro-form/types/table-form.d.ts +0 -1
  566. package/lib/src/pro-table/component-map.d.ts +0 -1
  567. package/lib/src/pro-table/components/edit-table-header-icon.vue.d.ts +6 -4
  568. package/lib/src/pro-table/components/editable/cell-component.d.ts +0 -1
  569. package/lib/src/pro-table/components/editable/editable-cell.vue.d.ts +7 -8
  570. package/lib/src/pro-table/components/editable/editable-cell.vue2.js +1 -1
  571. package/lib/src/pro-table/components/editable/helper.d.ts +0 -1
  572. package/lib/src/pro-table/components/editable/index.d.ts +0 -1
  573. package/lib/src/pro-table/components/header-cell.vue.d.ts +0 -1
  574. package/lib/src/pro-table/components/settings/column-setting.vue.d.ts +0 -1
  575. package/lib/src/pro-table/components/settings/index.vue.d.ts +0 -1
  576. package/lib/src/pro-table/components/table-action.vue.d.ts +7 -6
  577. package/lib/src/pro-table/components/table-footer.vue.d.ts +19 -20
  578. package/lib/src/pro-table/components/table-header.vue.d.ts +11 -10
  579. package/lib/src/pro-table/components/table-image.vue.d.ts +12 -13
  580. package/lib/src/pro-table/components/table-selection-bar.vue.d.ts +15 -16
  581. package/lib/src/pro-table/components/table-title.vue.d.ts +0 -1
  582. package/lib/src/pro-table/const.d.ts +0 -1
  583. package/lib/src/pro-table/directives/click-outside.d.ts +0 -1
  584. package/lib/src/pro-table/helper.d.ts +0 -1
  585. package/lib/src/pro-table/hooks/use-columns.d.ts +0 -1
  586. package/lib/src/pro-table/hooks/use-custom-row.d.ts +0 -1
  587. package/lib/src/pro-table/hooks/use-data-source.d.ts +1 -2
  588. package/lib/src/pro-table/hooks/use-loading.d.ts +0 -1
  589. package/lib/src/pro-table/hooks/use-pagination.d.ts +0 -1
  590. package/lib/src/pro-table/hooks/use-row-selection.d.ts +0 -1
  591. package/lib/src/pro-table/hooks/use-scroll-to.d.ts +0 -1
  592. package/lib/src/pro-table/hooks/use-table-context.d.ts +0 -1
  593. package/lib/src/pro-table/hooks/use-table-expand.d.ts +0 -1
  594. package/lib/src/pro-table/hooks/use-table-footer.d.ts +0 -1
  595. package/lib/src/pro-table/hooks/use-table-form.d.ts +0 -1
  596. package/lib/src/pro-table/hooks/use-table-header.d.ts +0 -1
  597. package/lib/src/pro-table/hooks/use-table-scroll.d.ts +3 -4
  598. package/lib/src/pro-table/hooks/use-table-scroll.js +1 -1
  599. package/lib/src/pro-table/hooks/use-table-style.d.ts +0 -1
  600. package/lib/src/pro-table/hooks/use-table.d.ts +0 -1
  601. package/lib/src/pro-table/interface.d.ts +0 -1
  602. package/lib/src/pro-table/pro-table.vue.d.ts +43 -42
  603. package/lib/src/pro-table/types/pagination.d.ts +0 -1
  604. package/lib/src/pro-table/types/table-action.d.ts +0 -1
  605. package/lib/src/pro-table/types/table.d.ts +0 -1
  606. package/lib/src/prompt/dialog.vue.d.ts +2 -3
  607. package/lib/src/prompt/index.d.ts +0 -1
  608. package/lib/src/prompt/interface.d.ts +0 -1
  609. package/lib/src/prompt/utils.d.ts +2 -2
  610. package/lib/src/scroll-bar/bar-item.d.ts +0 -1
  611. package/lib/src/scroll-bar/index.d.ts +27 -27
  612. package/lib/src/scroll-bar/interface.d.ts +0 -1
  613. package/lib/src/scroll-bar/scroll-bar.vue.d.ts +18 -17
  614. package/lib/src/scroll-bar/utils.d.ts +0 -1
  615. package/lib/src/strength-meter/index.d.ts +19 -19
  616. package/lib/src/strength-meter/strength-meter.vue.d.ts +14 -13
  617. package/lib/src/tests/wrapper.d.ts +8 -0
  618. package/lib/src/theme/antd-global-overwrite/admin/index.css +5 -5
  619. package/lib/src/theme/antd-global-overwrite/admin/steps.css +5 -5
  620. package/lib/src/theme/antd-global-overwrite/aplus/form.css +1 -1
  621. package/lib/src/theme/antd-global-overwrite/aplus/index.css +6 -6
  622. package/lib/src/theme/antd-global-overwrite/aplus/steps.css +5 -5
  623. package/lib/src/theme/ap-action/item.css +5 -5
  624. package/lib/src/theme/ap-form/ap-form-item.css +6 -6
  625. package/lib/src/theme/ap-select-layout/ap-select-layout.css +9 -0
  626. package/lib/src/theme/ap-table/ap-table.css +1 -1
  627. package/lib/src/theme/check-card/index.css +5 -5
  628. package/lib/src/theme/editable-table/index.css +1 -1
  629. package/lib/src/transition/collapse-transition.vue.d.ts +4 -3
  630. package/lib/src/transition/create-transition.d.ts +0 -1
  631. package/lib/src/type.d.ts +0 -1
  632. package/lib/src/utils/config-provider-preset.d.ts +16 -17
  633. package/lib/src/utils/index.d.ts +0 -1
  634. package/lib/src/utils/slot.d.ts +0 -1
  635. package/lib/src/utils/tree.d.ts +0 -1
  636. package/lib/src/work-order-modal/createWorkOrder.d.ts +0 -1
  637. package/lib/src/work-order-modal/index.d.ts +0 -1
  638. package/lib/src/work-order-modal/interfaces.d.ts +0 -1
  639. package/lib/src/work-order-modal/work-order-modal.vue.d.ts +3 -4
  640. package/package.json +5 -5
@@ -2,7 +2,6 @@ import { ComputedRef, Ref } from 'vue';
2
2
  import { BasicTableProps } from '../types/table';
3
3
  import { Key } from 'ant-design-vue/lib/table/interface';
4
4
  import { EmitType, Recordable } from '../../type';
5
-
6
5
  export declare function useTableExpand(propsRef: ComputedRef<BasicTableProps>, tableData: Ref<Recordable[]>, emit: EmitType): {
7
6
  getExpandOption: ComputedRef<{
8
7
  expandedRowKeys?: undefined;
@@ -1,7 +1,6 @@
1
1
  import { ComputedRef, Ref } from 'vue';
2
2
  import { BasicTableProps } from '../types/table';
3
3
  import { ComponentRef, Recordable } from '../../type';
4
-
5
4
  export declare function useTableFooter(propsRef: ComputedRef<BasicTableProps>, scrollRef: ComputedRef<BasicTableProps['scroll']>, tableElRef: Ref<ComponentRef>, getDataSourceRef: ComputedRef<Recordable>): {
6
5
  getFooterProps: ComputedRef<Recordable | undefined>;
7
6
  };
@@ -2,7 +2,6 @@ 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
5
  export declare function useTableForm(propsRef: ComputedRef<BasicTableProps>, slots: Slots, fetch: (opt?: FetchParams | undefined) => Promise<Recordable<any>[] | undefined>, getLoading: ComputedRef<boolean | undefined>): {
7
6
  getFormProps: ComputedRef<Partial<ProFormProps>>;
8
7
  replaceFormSlotKey: (key: string) => string;
@@ -1,7 +1,6 @@
1
1
  import { ComputedRef, Slots } from 'vue';
2
2
  import { BasicTableProps, InnerHandlers, InnerMethods } from '../types/table';
3
3
  import { Recordable } from '../../type';
4
-
5
4
  export declare function useTableHeader(propsRef: ComputedRef<BasicTableProps>, slots: Slots, handlers: InnerHandlers, methods: InnerMethods): {
6
5
  getHeaderProps: ComputedRef<Recordable>;
7
6
  };
@@ -1,13 +1,12 @@
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
4
  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
5
  getScrollRef: ComputedRef<({
7
- x?: string | number | true | undefined;
8
- y?: string | number | undefined;
6
+ x?: string | number | true;
7
+ y?: string | number;
9
8
  } & {
10
- scrollToFirstRowOnChange?: boolean | undefined;
9
+ scrollToFirstRowOnChange?: boolean;
11
10
  }) | undefined>;
12
11
  redoHeight: () => void;
13
12
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("vue"),M=require("@aplus-frontend/utils"),C=require("lodash-unified"),W=require("@aplus-frontend/hooks");require("../../modal/index.js");const X=require("@vueuse/core"),j=require("../../modal/hooks/use-modal-context.js");function U(a,T,I,P,q,H,z){const w=n.ref(167),f=j.useModalContext(),x=X.useDebounceFn(L,100),B=n.computed(()=>{const{canResize:t,scroll:e}=n.unref(a);return t&&!(e||{}).y});n.watch(()=>{var t;return[n.unref(B),(t=n.unref(q))==null?void 0:t.length]},()=>{x()},{flush:"post"});function L(){n.nextTick(()=>{y()})}function O(t){var e;w.value=t,(e=f==null?void 0:f.redoModalHeight)==null||e.call(f)}let h,m,d;const b=6;function v(t,e){const o=t.scrollHeight>t.clientHeight,r=t.scrollWidth>t.clientWidth;o?e.classList.contains("hide-scrollbar-y")&&e.classList.remove("hide-scrollbar-y"):!e.classList.contains("hide-scrollbar-y")&&e.classList.add("hide-scrollbar-y"),r?e.classList.contains("hide-scrollbar-x")&&e.classList.remove("hide-scrollbar-x"):!e.classList.contains("hide-scrollbar-x")&&e.classList.add("hide-scrollbar-x")}function k(t){const{pagination:e}=n.unref(a);let o=0;if(C.isBoolean(e))o=0;else if(h||(h=t.querySelector(".ant-pagination")),h){const r=parseInt(getComputedStyle(h).marginTop);o=h.offsetHeight+r}else o=10+24;return o}function F(t){const{pagination:e}=n.unref(a);let o=0;if(!C.isBoolean(e))if(!m)m=t.querySelector(".ant-table-footer");else{const r=m.offsetHeight;o+=r||0}return o}function A(t){let e=0;return t&&(e=t.offsetHeight),e}function $(t,e){var i,s;const{isCanResizeParent:o}=n.unref(a);let r=0;if(n.unref(H)&&o){const u=((i=n.unref(H))==null?void 0:i.offsetHeight)??0;let l=((s=n.unref(z))==null?void 0:s.$el.offsetHeight)??0;l&&(l+=16+16*2),r=u-b-l}else r=M.getViewportOffset(e).bottomIncludeBody;return r}function D(t){let e=null,o=null,r=null,i=t.parentElement,s=!1;for(;i!==document.body;){if(i.classList.contains("ant-modal")){e=i,o=e.parentElement,r=i.querySelector(".ant-modal-content>.ant-modal-footer"),s=(o==null?void 0:o.classList.contains("fullscreen-modal"))??!1;break}i=i.parentElement}if(e){const{top:u=0}=e?M.getViewportOffset(e):{},l=s?0:24,c=(r==null?void 0:r.offsetHeight)??0,S=r?s?0:parseInt(getComputedStyle(r).marginTop):0,p=14;return(u>l?u:l)+c+S+p}return 0}function N(){const{isCanResizeParent:t}=n.unref(a);return n.unref(H)&&t?b:b+16}async function y(){const{resizeHeightOffset:t,maxHeight:e}=n.unref(a),o=n.unref(q),r=n.unref(T);if(!r)return;const i=r.$el;if(!i||!d&&(d=i.querySelector(".ant-table-body"),!d)||(v(d,i),d.style.height="unset",!n.unref(B)||!n.unref(o)||o.length===0))return;await n.nextTick();const s=i.querySelector(".ant-table-thead");if(!s)return;const u=k(i),l=F(i),c=A(s),S=$(i,s),p=D(i),V=N();let g=Math.floor(S-(t||0)-u-l-c-p-V-1);g=(g>e?e:g)??g,O(g)}W.useWindowSizeFn(y,{wait:280}),W.onMountedOrActivated(()=>{y(),n.nextTick(()=>{x()})});const R=n.computed(()=>{var l;let t=0;n.unref(P)&&(t+=60);const e=150,o=n.unref(I).filter(c=>!c.defaultHidden);o.forEach(c=>{t+=Number.parseFloat(c.width)||0});const i=o.filter(c=>!Reflect.has(c,"width")&&c.ifShow!==!1).length;i!==0&&(t+=i*e);const s=n.unref(T);return(((l=s==null?void 0:s.$el)==null?void 0:l.offsetWidth)??0)>t?"100%":t});return{getScrollRef:n.computed(()=>{const t=n.unref(w),{canResize:e,scroll:o}=n.unref(a);return{x:n.unref(R),y:e?t:null,scrollToFirstRowOnChange:!1,...o}}),redoHeight:L}}exports.useTableScroll=U;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("vue"),M=require("@aplus-frontend/utils"),C=require("lodash-unified"),W=require("@aplus-frontend/hooks");require("../../modal/index.js");const X=require("@vueuse/core"),j=require("../../modal/hooks/use-modal-context.js");function U(a,p,I,P,T,H,z){const q=n.ref(167),f=j.useModalContext(),B=X.useDebounceFn(x,100),w=n.computed(()=>{const{canResize:t,scroll:e}=n.unref(a);return t&&!(e||{}).y});n.watch(()=>{var t;return[n.unref(w),(t=n.unref(T))==null?void 0:t.length]},()=>{B()},{flush:"post"});function x(){n.nextTick(()=>{y()})}function O(t){var e;q.value=t,(e=f==null?void 0:f.redoModalHeight)==null||e.call(f)}let h,m,d;const b=6;function v(t,e){const o=t.scrollHeight>t.clientHeight,r=t.scrollWidth>t.clientWidth;o?e.classList.contains("hide-scrollbar-y")&&e.classList.remove("hide-scrollbar-y"):!e.classList.contains("hide-scrollbar-y")&&e.classList.add("hide-scrollbar-y"),r?e.classList.contains("hide-scrollbar-x")&&e.classList.remove("hide-scrollbar-x"):!e.classList.contains("hide-scrollbar-x")&&e.classList.add("hide-scrollbar-x")}function k(t){const{pagination:e}=n.unref(a);let o=0;if(C.isBoolean(e))o=0;else if(h||(h=t.querySelector(".ant-pagination")),h){const r=parseInt(getComputedStyle(h).marginTop);o=h.offsetHeight+r}else o=34;return o}function F(t){const{pagination:e}=n.unref(a);let o=0;if(!C.isBoolean(e))if(!m)m=t.querySelector(".ant-table-footer");else{const r=m.offsetHeight;o+=r||0}return o}function A(t){let e=0;return t&&(e=t.offsetHeight),e}function $(t,e){var i,l;const{isCanResizeParent:o}=n.unref(a);let r=0;if(n.unref(H)&&o){const u=((i=n.unref(H))==null?void 0:i.offsetHeight)??0;let s=((l=n.unref(z))==null?void 0:l.$el.offsetHeight)??0;s&&(s+=16+16*2),r=u-b-s}else r=M.getViewportOffset(e).bottomIncludeBody;return r}function D(t){let e=null,o=null,r=null,i=t.parentElement,l=!1;for(;i!==document.body;){if(i.classList.contains("ant-modal")){e=i,o=e.parentElement,r=i.querySelector(".ant-modal-content>.ant-modal-footer"),l=(o==null?void 0:o.classList.contains("fullscreen-modal"))??!1;break}i=i.parentElement}if(e){const{top:u=0}=e?M.getViewportOffset(e):{},s=l?0:24,c=(r==null?void 0:r.offsetHeight)??0,S=r?l?0:parseInt(getComputedStyle(r).marginTop):0;return(u>s?u:s)+c+S+14}return 0}function N(){const{isCanResizeParent:t}=n.unref(a);return n.unref(H)&&t?b:b+16}async function y(){const{resizeHeightOffset:t,maxHeight:e}=n.unref(a),o=n.unref(T),r=n.unref(p);if(!r)return;const i=r.$el;if(!i||!d&&(d=i.querySelector(".ant-table-body"),!d)||(v(d,i),d.style.height="unset",!n.unref(w)||!n.unref(o)||o.length===0))return;await n.nextTick();const l=i.querySelector(".ant-table-thead");if(!l)return;const u=k(i),s=F(i),c=A(l),S=$(i,l),L=D(i),V=N();let g=Math.floor(S-(t||0)-u-s-c-L-V-1);g=(g>e?e:g)??g,O(g)}W.useWindowSizeFn(y,{wait:280}),W.onMountedOrActivated(()=>{y(),n.nextTick(()=>{B()})});const R=n.computed(()=>{var s;let t=0;n.unref(P)&&(t+=60);const e=150,o=n.unref(I).filter(c=>!c.defaultHidden);o.forEach(c=>{t+=Number.parseFloat(c.width)||0});const i=o.filter(c=>!Reflect.has(c,"width")&&c.ifShow!==!1).length;i!==0&&(t+=i*e);const l=n.unref(p);return(((s=l==null?void 0:l.$el)==null?void 0:s.offsetWidth)??0)>t?"100%":t});return{getScrollRef:n.computed(()=>{const t=n.unref(q),{canResize:e,scroll:o}=n.unref(a);return{x:n.unref(R),y:e?t:null,scrollToFirstRowOnChange:!1,...o}}),redoHeight:x}}exports.useTableScroll=U;
@@ -1,6 +1,5 @@
1
1
  import { ComputedRef } from 'vue';
2
2
  import { BasicTableProps, TableCustomRecord } from '../types/table';
3
-
4
3
  export declare function useTableStyle(propsRef: ComputedRef<BasicTableProps>, prefixCls: string): {
5
4
  getRowClassName: (record: TableCustomRecord<any>, index: number) => string;
6
5
  };
@@ -1,7 +1,6 @@
1
1
  import { BasicTableProps, TableActionType } from '../types/table';
2
2
  import { FormActionType } from '../../pro-form';
3
3
  import { ComputedRef, Ref } from 'vue';
4
-
5
4
  type DynamicProps<T> = {
6
5
  [P in keyof T]: Ref<T[P]> | T[P] | ComputedRef<T[P]>;
7
6
  };
@@ -2,7 +2,6 @@ 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
5
  type Key = string | number;
7
6
  export type ProTableProps = {
8
7
  clickToRowSelect?: boolean;
@@ -1,14 +1,25 @@
1
1
  import { BasicTableProps, SizeType, FetchParams, GetColumnsParams, BasicColumn, TableRowSelection, TableSetting } from './types/table';
2
2
  import { ProTableProps } from './interface';
3
+ import { TableColumnType, ColumnType } from 'ant-design-vue';
3
4
  import { DefineComponent, Ref, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
4
- import { Recordable } from 'src/type';
5
+ import { Recordable } from '../type';
5
6
  import { Key } from 'ant-design-vue/es/table/interface';
6
- import { PaginationProps } from 'src';
7
+ import { PaginationProps } from '.';
7
8
  import { GetRowKey } from 'ant-design-vue/es/vc-table/interface';
8
- import { TableColumnType } from 'ant-design-vue';
9
-
10
9
  type ProTableSlots = 'emptyText' | 'expandIcon' | 'title' | 'footer' | 'summary' | 'bodyCell' | 'expandColumnTitle' | 'headerCell' | 'customFilterIcon' | 'customFilterDropdown';
11
- declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ProTableProps>, {
10
+ declare function __VLS_template(): Partial<Record<string, (_: any) => any>> & Partial<Record<NonNullable<ProTableSlots>, (_: any) => any>> & {
11
+ headerCell?(_: {
12
+ column: TableColumnType<any>;
13
+ }): any;
14
+ bodyCell?(_: {
15
+ text: any;
16
+ value: any;
17
+ record: Record<string, any>;
18
+ index: number;
19
+ column: ColumnType<any>;
20
+ }): any;
21
+ };
22
+ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ProTableProps>, {
12
23
  clickToRowSelect: boolean;
13
24
  tableSetting: () => {};
14
25
  autoCreateKey: boolean;
@@ -27,7 +38,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
27
38
  divideSpace: string;
28
39
  pagination: null;
29
40
  }>, {
30
- reload: (opt?: FetchParams | undefined) => Promise< Recordable<any>[] | undefined>;
41
+ reload: (opt?: FetchParams) => Promise< Recordable<any>[] | undefined>;
31
42
  setSelectedRows: (rows: Recordable[]) => void;
32
43
  getSelectRows: <T = Recordable>() => T[];
33
44
  clearSelectedRowKeys: () => void;
@@ -39,29 +50,29 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
39
50
  getSelectRowKeys: () => Key[];
40
51
  deleteSelectRowByKey: (keyValue: Key) => void;
41
52
  setPagination: (info: Partial< PaginationProps>) => void;
42
- setTableData: <T_1 = Recordable>(values: T_1[]) => void;
43
- updateTableDataRecord: (keyValue: Key, record: Recordable) => void | Recordable;
53
+ setTableData: <T = Recordable>(values: T[]) => void;
54
+ updateTableDataRecord: (keyValue: Key, record: Recordable) => Recordable | void;
44
55
  deleteTableDataRecord: (keyValues: Key | Key[]) => void;
45
- insertTableDataRecord: (record: Recordable | Recordable[], index?: number | undefined) => void | Recordable[];
46
- findTableDataRecord: (keyValue: Key) => void | Recordable;
47
- getColumns: (opt?: GetColumnsParams | undefined) => BasicColumn[];
48
- setColumns: (columns: string[] | BasicColumn[]) => void;
49
- getDataSource: <T_2 = Recordable>() => T_2[];
50
- getRawDataSource: <T_3 = Recordable>() => T_3;
56
+ insertTableDataRecord: (record: Recordable | Recordable[], index?: number) => Recordable[] | void;
57
+ findTableDataRecord: (keyValue: Key) => Recordable | void;
58
+ getColumns: (opt?: GetColumnsParams) => BasicColumn[];
59
+ setColumns: (columns: BasicColumn[] | string[]) => void;
60
+ getDataSource: <T = Recordable>() => T[];
61
+ getRawDataSource: <T = Recordable>() => T;
51
62
  setLoading: (loading: boolean) => void;
52
- setProps: (props: Partial<BasicTableProps<any>>) => void;
63
+ setProps: (props: Partial<BasicTableProps>) => void;
53
64
  redoHeight: () => void;
54
65
  setSelectedRowKeys: (keyValues: Key[]) => void;
55
- getPaginationRef: () => boolean | PaginationProps;
66
+ getPaginationRef: () => PaginationProps | boolean;
56
67
  getSize: () => SizeType;
57
68
  getRowSelection: () => TableRowSelection<Recordable>;
58
69
  getCacheColumns: () => BasicColumn[];
59
- emit?: ((...args: any[]) => any) | ((evt: string, ...args: any[]) => void) | undefined;
70
+ emit?: ReturnType<typeof globalThis.defineEmits>;
60
71
  updateTableData: (index: number, key: string, value: any) => Recordable;
61
72
  setShowPagination: (show: boolean) => Promise<void>;
62
73
  getShowPagination: () => boolean;
63
- setCacheColumnsByField?: ((dataIndex: string | undefined, value: BasicColumn) => void) | undefined;
64
- setCacheColumns?: ((columns: BasicColumn[]) => void) | undefined;
74
+ setCacheColumnsByField?: (dataIndex: string | undefined, value: BasicColumn) => void;
75
+ setCacheColumns?: (columns: BasicColumn[]) => void;
65
76
  tableElRef: Ref<null>;
66
77
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
67
78
  change: (...args: any[]) => void;
@@ -80,7 +91,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
80
91
  "row-mouseleave": (...args: any[]) => void;
81
92
  "columns-change": (...args: any[]) => void;
82
93
  "expanded-rows-change": (...args: any[]) => void;
83
- }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ProTableProps>, {
94
+ }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ProTableProps>, {
84
95
  clickToRowSelect: boolean;
85
96
  tableSetting: () => {};
86
97
  autoCreateKey: boolean;
@@ -117,7 +128,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
117
128
  "onExpanded-rows-change"?: ((...args: any[]) => any) | undefined;
118
129
  }, {
119
130
  ellipsis: boolean;
120
- pagination: boolean | PaginationProps | null;
131
+ pagination: PaginationProps | boolean | null;
121
132
  immediate: boolean;
122
133
  columns: BasicColumn[];
123
134
  rowKey: string | GetRowKey<any>;
@@ -133,28 +144,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
133
144
  canColDrag: boolean;
134
145
  emptyDataIsShowTable: boolean;
135
146
  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
- }>;
147
+ }, {}>;
148
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
148
149
  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
150
  type __VLS_WithDefaults<P, D> = {
159
151
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
160
152
  default: D[K];
@@ -168,3 +160,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
168
160
  $slots: S;
169
161
  };
170
162
  };
163
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
164
+ type __VLS_TypePropsToOption<T> = {
165
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
166
+ type: PropType<__VLS_NonUndefinedable<T[K]>>;
167
+ } : {
168
+ type: PropType<T[K]>;
169
+ required: true;
170
+ };
171
+ };
@@ -1,6 +1,5 @@
1
1
  import { default as Pagination } from 'ant-design-vue/lib/pagination';
2
2
  import { VNode, VNodeChild } from 'vue';
3
-
4
3
  interface PaginationRenderProps {
5
4
  page: number;
6
5
  type: 'page' | 'prev' | 'next';
@@ -1,7 +1,6 @@
1
1
  import { ButtonProps } from 'ant-design-vue/es/button/buttonTypes';
2
2
  import { TooltipProps } from 'ant-design-vue/es/tooltip/Tooltip';
3
3
  import { Fn } from '../../type';
4
-
5
4
  export interface ActionItem extends ButtonProps {
6
5
  onClick?: Fn;
7
6
  label?: string;
@@ -6,7 +6,6 @@ import { ProFormProps } from '../../pro-form';
6
6
  import { PaginationProps } from './pagination';
7
7
  import { TableRowSelection as AntdTableRowSelection, Key } from 'ant-design-vue/es/table/interface';
8
8
  import { FixedType } from 'ant-design-vue/es/vc-table/interface';
9
-
10
9
  export type CellFormat = string | ((text: string, record: Recordable, index: number) => string | number) | Map<string | number, any>;
11
10
  export interface BasicColumn extends Omit<ColumnProps<Recordable>, 'filters'> {
12
11
  children?: BasicColumn[];
@@ -1,10 +1,9 @@
1
1
  import { PromptDialogProps } from './interface';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
3
-
4
- declare const _default: DefineComponent<__VLS_TypePropsToRuntimeProps<PromptDialogProps>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToRuntimeProps<PromptDialogProps>>>, {}, {}>;
3
+ declare const _default: DefineComponent<__VLS_TypePropsToOption<PromptDialogProps>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToOption<PromptDialogProps>>>, {}, {}>;
5
4
  export default _default;
6
5
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
7
- type __VLS_TypePropsToRuntimeProps<T> = {
6
+ type __VLS_TypePropsToOption<T> = {
8
7
  [K in keyof T]-?: {} extends Pick<T, K> ? {
9
8
  type: PropType<__VLS_NonUndefinedable<T[K]>>;
10
9
  } : {
@@ -1,6 +1,5 @@
1
1
  import { VNode, RendererNode, RendererElement } from 'vue';
2
2
  import { PromptProps } from './interface';
3
-
4
3
  export declare function createPrompt(props: PromptProps): {
5
4
  vm: VNode< RendererNode, RendererElement, {
6
5
  [key: string]: any;
@@ -1,6 +1,5 @@
1
1
  import { Fn } from '../type';
2
2
  import { FormSchema } from '../pro-form';
3
-
4
3
  export type PromptDialogProps = {
5
4
  title: string;
6
5
  addFormSchemas: FormSchema[];
@@ -1,5 +1,5 @@
1
- import { ComponentFormSchema } from 'src/pro-form/types/form';
2
- import { ComponentProps } from 'src/pro-form/types';
1
+ import { ComponentFormSchema } from '../pro-form';
2
+ import { ComponentProps } from '../pro-form/types';
3
3
  type InputType = 'InputTextArea' | 'InputNumber' | 'Input';
4
4
  interface GenFormSchemasOptions {
5
5
  label?: string;
@@ -1,5 +1,4 @@
1
1
  import { DefineComponent, VNode, RendererNode, RendererElement, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
2
-
3
2
  declare const _default: DefineComponent<{
4
3
  vertical: BooleanConstructor;
5
4
  size: StringConstructor;
@@ -1,19 +1,19 @@
1
1
  import { CreateComponentPublicInstance, ExtractPropTypes, PropType, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase, Plugin } from 'vue';
2
- import { StyleValue } from 'src/type';
2
+ import { StyleValue } from '../type';
3
3
  export * from './interface';
4
4
  export declare const Scrollbar: {
5
5
  new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
6
6
  native: {
7
7
  type: PropType<boolean>;
8
8
  };
9
- wrapStyle: {
10
- type: PropType<StyleValue>;
11
- default: string;
12
- };
13
9
  scrollHeight: {
14
10
  type: PropType<number>;
15
11
  default: number;
16
12
  };
13
+ wrapStyle: {
14
+ type: PropType<StyleValue>;
15
+ default: string;
16
+ };
17
17
  wrapClass: {
18
18
  type: PropType<string | string[]>;
19
19
  default: string;
@@ -39,14 +39,14 @@ export declare const Scrollbar: {
39
39
  native: {
40
40
  type: PropType<boolean>;
41
41
  };
42
- wrapStyle: {
43
- type: PropType<StyleValue>;
44
- default: string;
45
- };
46
42
  scrollHeight: {
47
43
  type: PropType<number>;
48
44
  default: number;
49
45
  };
46
+ wrapStyle: {
47
+ type: PropType<StyleValue>;
48
+ default: string;
49
+ };
50
50
  wrapClass: {
51
51
  type: PropType<string | string[]>;
52
52
  default: string;
@@ -67,8 +67,8 @@ export declare const Scrollbar: {
67
67
  default: string;
68
68
  };
69
69
  }>>, {
70
- wrapStyle: StyleValue;
71
70
  scrollHeight: number;
71
+ wrapStyle: StyleValue;
72
72
  wrapClass: string | string[];
73
73
  viewClass: string | string[];
74
74
  viewStyle: string | string[];
@@ -84,14 +84,14 @@ export declare const Scrollbar: {
84
84
  native: {
85
85
  type: PropType<boolean>;
86
86
  };
87
- wrapStyle: {
88
- type: PropType<StyleValue>;
89
- default: string;
90
- };
91
87
  scrollHeight: {
92
88
  type: PropType<number>;
93
89
  default: number;
94
90
  };
91
+ wrapStyle: {
92
+ type: PropType<StyleValue>;
93
+ default: string;
94
+ };
95
95
  wrapClass: {
96
96
  type: PropType<string | string[]>;
97
97
  default: string;
@@ -114,28 +114,28 @@ export declare const Scrollbar: {
114
114
  }>>, {
115
115
  wrap: Ref<any>;
116
116
  }, {}, {}, {}, {
117
- wrapStyle: StyleValue;
118
117
  scrollHeight: number;
118
+ wrapStyle: StyleValue;
119
119
  wrapClass: string | string[];
120
120
  viewClass: string | string[];
121
121
  viewStyle: string | string[];
122
122
  tag: string;
123
123
  }>;
124
- __isFragment?: undefined;
125
- __isTeleport?: undefined;
126
- __isSuspense?: undefined;
124
+ __isFragment?: never;
125
+ __isTeleport?: never;
126
+ __isSuspense?: never;
127
127
  } & ComponentOptionsBase<Readonly< ExtractPropTypes<{
128
128
  native: {
129
129
  type: PropType<boolean>;
130
130
  };
131
- wrapStyle: {
132
- type: PropType<StyleValue>;
133
- default: string;
134
- };
135
131
  scrollHeight: {
136
132
  type: PropType<number>;
137
133
  default: number;
138
134
  };
135
+ wrapStyle: {
136
+ type: PropType<StyleValue>;
137
+ default: string;
138
+ };
139
139
  wrapClass: {
140
140
  type: PropType<string | string[]>;
141
141
  default: string;
@@ -158,19 +158,19 @@ export declare const Scrollbar: {
158
158
  }>>, {
159
159
  wrap: Ref<any>;
160
160
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
161
- wrapStyle: StyleValue;
162
161
  scrollHeight: number;
162
+ wrapStyle: StyleValue;
163
163
  wrapClass: string | string[];
164
164
  viewClass: string | string[];
165
165
  viewStyle: string | string[];
166
166
  tag: string;
167
- }, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
167
+ }, {}, string, {}> & ( VNodeProps & AllowedComponentProps & ( ComponentCustomProps & (new () => {
168
168
  $slots: {
169
169
  default?(_: {}): any;
170
170
  };
171
- }) & Plugin & (new (...args: any[]) => {
171
+ }) & ( Plugin & (new (...args: any[]) => {
172
172
  $props: {
173
- onClick?: (() => void) | undefined;
173
+ onClick?: () => void;
174
174
  };
175
- });
175
+ }))));
176
176
  export default Scrollbar;
@@ -1,5 +1,4 @@
1
1
  import { StyleValue } from '../type';
2
-
3
2
  export interface BarMapItem {
4
3
  offset: string;
5
4
  scroll: string;
@@ -1,8 +1,10 @@
1
1
  import { ScrollbarProps } from './interface';
2
2
  import { DefineComponent, Ref, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
3
- import { StyleValue } from 'src/type';
4
-
5
- declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ScrollbarProps>, {
3
+ import { StyleValue } from '../type';
4
+ declare function __VLS_template(): {
5
+ default?(_: {}): any;
6
+ };
7
+ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ScrollbarProps>, {
6
8
  wrapStyle: string;
7
9
  wrapClass: string;
8
10
  viewStyle: string;
@@ -11,7 +13,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
11
13
  scrollHeight: number;
12
14
  }>, {
13
15
  wrap: Ref<any>;
14
- }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ScrollbarProps>, {
16
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ScrollbarProps>, {
15
17
  wrapStyle: string;
16
18
  wrapClass: string;
17
19
  viewStyle: string;
@@ -19,25 +21,15 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
19
21
  tag: string;
20
22
  scrollHeight: number;
21
23
  }>>>, {
22
- wrapStyle: StyleValue;
23
24
  scrollHeight: number;
25
+ wrapStyle: StyleValue;
24
26
  wrapClass: string | string[];
25
27
  viewClass: string | string[];
26
28
  viewStyle: string | string[];
27
29
  tag: string;
28
- }, {}>, {
29
- default?(_: {}): any;
30
- }>;
30
+ }, {}>;
31
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
31
32
  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
33
  type __VLS_WithDefaults<P, D> = {
42
34
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
43
35
  default: D[K];
@@ -51,3 +43,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
51
43
  $slots: S;
52
44
  };
53
45
  };
46
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
47
+ type __VLS_TypePropsToOption<T> = {
48
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
49
+ type: PropType<__VLS_NonUndefinedable<T[K]>>;
50
+ } : {
51
+ type: PropType<T[K]>;
52
+ required: true;
53
+ };
54
+ };
@@ -1,5 +1,4 @@
1
1
  import { BarMap, BarMapItem } from './interface';
2
-
3
2
  export declare const BAR_MAP: BarMap;
4
3
  type RenderThumbStyleParams = {
5
4
  move?: number;
@@ -2,12 +2,12 @@ import { CreateComponentPublicInstance, ExtractPropTypes, PropType, ComponentOpt
2
2
  export * from './interface';
3
3
  export declare const StrengthMeter: {
4
4
  new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
5
- disabled: {
6
- type: PropType<boolean>;
7
- };
8
5
  value: {
9
6
  type: PropType<string>;
10
7
  };
8
+ disabled: {
9
+ type: PropType<boolean>;
10
+ };
11
11
  showInput: {
12
12
  type: PropType<boolean>;
13
13
  default: boolean;
@@ -19,12 +19,12 @@ export declare const StrengthMeter: {
19
19
  change: (...args: any[]) => void;
20
20
  "score-change": (...args: any[]) => void;
21
21
  }, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
22
- disabled: {
23
- type: PropType<boolean>;
24
- };
25
22
  value: {
26
23
  type: PropType<string>;
27
24
  };
25
+ disabled: {
26
+ type: PropType<boolean>;
27
+ };
28
28
  showInput: {
29
29
  type: PropType<boolean>;
30
30
  default: boolean;
@@ -42,12 +42,12 @@ export declare const StrengthMeter: {
42
42
  M: {};
43
43
  Defaults: {};
44
44
  }, Readonly< ExtractPropTypes<{
45
- disabled: {
46
- type: PropType<boolean>;
47
- };
48
45
  value: {
49
46
  type: PropType<string>;
50
47
  };
48
+ disabled: {
49
+ type: PropType<boolean>;
50
+ };
51
51
  showInput: {
52
52
  type: PropType<boolean>;
53
53
  default: boolean;
@@ -58,16 +58,16 @@ export declare const StrengthMeter: {
58
58
  }, {}, {}, {}, {}, {
59
59
  showInput: boolean;
60
60
  }>;
61
- __isFragment?: undefined;
62
- __isTeleport?: undefined;
63
- __isSuspense?: undefined;
61
+ __isFragment?: never;
62
+ __isTeleport?: never;
63
+ __isSuspense?: never;
64
64
  } & ComponentOptionsBase<Readonly< ExtractPropTypes<{
65
- disabled: {
66
- type: PropType<boolean>;
67
- };
68
65
  value: {
69
66
  type: PropType<string>;
70
67
  };
68
+ disabled: {
69
+ type: PropType<boolean>;
70
+ };
71
71
  showInput: {
72
72
  type: PropType<boolean>;
73
73
  default: boolean;
@@ -80,10 +80,10 @@ export declare const StrengthMeter: {
80
80
  "score-change": (...args: any[]) => void;
81
81
  }, string, {
82
82
  showInput: boolean;
83
- }, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
83
+ }, {}, string, {}> & ( VNodeProps & AllowedComponentProps & ( ComponentCustomProps & (new () => {
84
84
  $slots: Partial<Record<string, (_: any) => any>>;
85
- }) & Plugin & (new (...args: any[]) => {
85
+ }) & ( Plugin & (new (...args: any[]) => {
86
86
  $props: {
87
- onClick?: (() => void) | undefined;
87
+ onClick?: () => void;
88
88
  };
89
- });
89
+ }))));