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

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 (457) hide show
  1. package/es/index.d.ts +7 -7
  2. package/es/src/ap-action/group/index.vue.d.ts +35 -35
  3. package/es/src/ap-action/index.d.ts +9 -9
  4. package/es/src/ap-action/interface.d.ts +80 -80
  5. package/es/src/ap-action/item/index.vue.d.ts +42 -42
  6. package/es/src/ap-action/item-dropdown/index.vue.d.ts +54 -54
  7. package/es/src/ap-action/item-modal/index.vue.d.ts +38 -38
  8. package/es/src/ap-action/item-popconfirm/index.vue.d.ts +332 -332
  9. package/es/src/ap-custom-column/column-select.vue.d.ts +16 -16
  10. package/es/src/ap-custom-column/custom-column.vue.d.ts +16 -16
  11. package/es/src/ap-custom-column/index.d.ts +5 -5
  12. package/es/src/ap-custom-column/interfaces.d.ts +40 -40
  13. package/es/src/ap-custom-column/storage.d.ts +8 -8
  14. package/es/src/ap-custom-column/useCacheColumnSetting.d.ts +9 -9
  15. package/es/src/ap-custom-column/utils.d.ts +2 -2
  16. package/es/src/ap-field/checkbox/helper.d.ts +3 -3
  17. package/es/src/ap-field/checkbox/index.vue.d.ts +36 -36
  18. package/es/src/ap-field/date/constant.d.ts +9 -9
  19. package/es/src/ap-field/date/helper.d.ts +3 -3
  20. package/es/src/ap-field/date/index.vue.d.ts +54 -54
  21. package/es/src/ap-field/date/interface.d.ts +2 -2
  22. package/es/src/ap-field/date-range/index.vue.d.ts +56 -56
  23. package/es/src/ap-field/index.d.ts +15 -15
  24. package/es/src/ap-field/interface.d.ts +86 -86
  25. package/es/src/ap-field/number/helper.d.ts +1 -1
  26. package/es/src/ap-field/number/index.vue.d.ts +69 -69
  27. package/es/src/ap-field/radio/helper.d.ts +3 -3
  28. package/es/src/ap-field/radio/index.vue.d.ts +38 -38
  29. package/es/src/ap-field/select/index.vue.d.ts +226 -226
  30. package/es/src/ap-field/switch/index.vue.d.ts +52 -52
  31. package/es/src/ap-field/text/index.vue.d.ts +63 -63
  32. package/es/src/ap-field/text-area/index.vue.d.ts +46 -46
  33. package/es/src/ap-form/ap-form-item-group/helper.d.ts +17 -17
  34. package/es/src/ap-form/ap-form-item-group/index.vue.d.ts +41 -41
  35. package/es/src/ap-form/ap-form-item.vue.d.ts +66 -66
  36. package/es/src/ap-form/ap-form-list.vue.d.ts +33 -33
  37. package/es/src/ap-form/ap-form.vue.d.ts +63 -63
  38. package/es/src/ap-form/constant.d.ts +2 -2
  39. package/es/src/ap-form/context.d.ts +9 -9
  40. package/es/src/ap-form/index.d.ts +11 -11
  41. package/es/src/ap-form/interface.d.ts +46 -46
  42. package/es/src/ap-form/items/date/index.vue.d.ts +62 -62
  43. package/es/src/ap-form/items/date-range/index.vue.d.ts +61 -61
  44. package/es/src/ap-form/items/index.d.ts +2 -2
  45. package/es/src/ap-form/items/interface.d.ts +39 -39
  46. package/es/src/ap-form/items/number/index.vue.d.ts +60 -60
  47. package/es/src/ap-form/items/radio/index.vue.d.ts +47 -47
  48. package/es/src/ap-form/items/select/index.vue.d.ts +66 -66
  49. package/es/src/ap-form/items/switch/index.vue.d.ts +57 -57
  50. package/es/src/ap-form/items/text/index.vue.d.ts +62 -62
  51. package/es/src/ap-form/items/text-area/index.vue.d.ts +48 -48
  52. package/es/src/ap-form/search-form/index.vue.d.ts +73 -73
  53. package/es/src/ap-tag/ap-tag-group.vue.d.ts +32 -32
  54. package/es/src/ap-tag/ap-tag.vue.d.ts +32 -32
  55. package/es/src/ap-tag/index.d.ts +3 -3
  56. package/es/src/ap-tag/interface.d.ts +35 -35
  57. package/es/src/ap-upload/apUpload.vue.d.ts +109 -109
  58. package/es/src/ap-upload/apUploadTypes.d.ts +89 -89
  59. package/es/src/ap-upload/components/MultipleFile.vue.d.ts +3 -3
  60. package/es/src/ap-upload/components/Picture.vue.d.ts +3 -3
  61. package/es/src/ap-upload/components/SingleFile.vue.d.ts +3 -3
  62. package/es/src/ap-upload/hooks/useOss.d.ts +18 -18
  63. package/es/src/ap-upload/index.d.ts +4 -4
  64. package/es/src/ap-upload/utils/accept.d.ts +13 -13
  65. package/es/src/ap-upload/utils/returnData.d.ts +19 -19
  66. package/es/src/base-button/button.vue.d.ts +34 -34
  67. package/es/src/base-button/constants.d.ts +25 -25
  68. package/es/src/base-button/index.d.ts +134 -134
  69. package/es/src/base-button/interface.d.ts +15 -15
  70. package/es/src/base-button/modal-button.vue.d.ts +25 -25
  71. package/es/src/base-button/pop-confirm-button.vue.d.ts +16 -16
  72. package/es/src/basic/arrow.vue.d.ts +12 -12
  73. package/es/src/basic/help.vue.d.ts +103 -103
  74. package/es/src/basic/index.d.ts +276 -276
  75. package/es/src/basic/interface.d.ts +20 -20
  76. package/es/src/basic/title.vue.d.ts +33 -33
  77. package/es/src/button/__tests__/button.test.d.ts +1 -1
  78. package/es/src/button/index.d.ts +50 -50
  79. package/es/src/config-provider/config-provider-props.d.ts +143 -143
  80. package/es/src/config-provider/config-provider.d.ts +312 -312
  81. package/es/src/config-provider/constants.d.ts +27 -27
  82. package/es/src/config-provider/hooks/use-global-config.d.ts +142 -142
  83. package/es/src/config-provider/hooks/use-locale.d.ts +13 -13
  84. package/es/src/config-provider/hooks/use-namespace.d.ts +23 -23
  85. package/es/src/config-provider/index.d.ts +680 -680
  86. package/es/src/container/collapse/header.vue.d.ts +35 -35
  87. package/es/src/container/collapse/index.vue.d.ts +120 -120
  88. package/es/src/container/index.d.ts +177 -177
  89. package/es/src/container/interface.d.ts +18 -18
  90. package/es/src/container/scroll-container.vue.d.ts +22 -22
  91. package/es/src/count-down/button.vue.d.ts +26 -26
  92. package/es/src/count-down/index.d.ts +149 -149
  93. package/es/src/count-down/input.vue.d.ts +31 -31
  94. package/es/src/count-down/interface.d.ts +12 -12
  95. package/es/src/cropper/cropper-avatar.vue.d.ts +44 -44
  96. package/es/src/cropper/cropper-image.vue.d.ts +49 -49
  97. package/es/src/cropper/cropper-modal.vue.d.ts +46 -46
  98. package/es/src/cropper/index.d.ts +366 -366
  99. package/es/src/cropper/interface.d.ts +29 -29
  100. package/es/src/description/description.vue.d.ts +93 -93
  101. package/es/src/description/index.d.ts +211 -211
  102. package/es/src/description/interface.d.ts +37 -37
  103. package/es/src/description/use-description.d.ts +2 -2
  104. package/es/src/design-token/index.d.ts +3 -3
  105. package/es/src/dropdown/dropdown.vue.d.ts +43 -43
  106. package/es/src/dropdown/index.d.ts +110 -110
  107. package/es/src/dropdown/interface.d.ts +16 -16
  108. package/es/src/hooks/index.d.ts +2 -2
  109. package/es/src/hooks/useControllableValue.d.ts +11 -11
  110. package/es/src/hooks/useMessage.d.ts +59 -59
  111. package/es/src/icon/icon.vue.d.ts +32 -32
  112. package/es/src/icon/index.d.ts +207 -207
  113. package/es/src/icon/interface.d.ts +28 -28
  114. package/es/src/icon/svg-icon.vue.d.ts +32 -32
  115. package/es/src/icon-picker/data.d.ts +5 -5
  116. package/es/src/icon-picker/icon-picker.vue.d.ts +50 -50
  117. package/es/src/icon-picker/index.d.ts +189 -189
  118. package/es/src/icon-picker/interface.d.ts +13 -13
  119. package/es/src/index.d.ts +25 -25
  120. package/es/src/locale/index.d.ts +3 -3
  121. package/es/src/locale/interface.d.ts +8 -8
  122. package/es/src/locale/lang/en.d.ts +3 -3
  123. package/es/src/locale/lang/zh-cn.d.ts +3 -3
  124. package/es/src/modal/basic.vue.d.ts +459 -459
  125. package/es/src/modal/components/modal-close.vue.d.ts +32 -32
  126. package/es/src/modal/components/modal-footer.vue.d.ts +451 -451
  127. package/es/src/modal/components/modal-header.vue.d.ts +12 -12
  128. package/es/src/modal/components/modal-wrapper.vue.d.ts +101 -101
  129. package/es/src/modal/components/modal.d.ts +437 -437
  130. package/es/src/modal/hooks/use-moda-full-screen.d.ts +11 -11
  131. package/es/src/modal/hooks/use-modal-context.d.ts +7 -7
  132. package/es/src/modal/hooks/use-modal-drag.d.ts +7 -7
  133. package/es/src/modal/hooks/use-modal.d.ts +6 -6
  134. package/es/src/modal/index.d.ts +957 -957
  135. package/es/src/modal/interface.d.ts +180 -180
  136. package/es/src/modal/props.d.ts +277 -277
  137. package/es/src/pro-form/component-map.d.ts +5 -5
  138. package/es/src/pro-form/components/api-cascader.vue.d.ts +50 -50
  139. package/es/src/pro-form/components/api-radio-group.vue.d.ts +49 -49
  140. package/es/src/pro-form/components/api-select.vue.d.ts +71 -71
  141. package/es/src/pro-form/components/api-transfer.vue.d.ts +53 -53
  142. package/es/src/pro-form/components/api-tree-select.vue.d.ts +55 -55
  143. package/es/src/pro-form/components/api-tree.vue.d.ts +43 -43
  144. package/es/src/pro-form/components/form-action.vue.d.ts +58 -58
  145. package/es/src/pro-form/components/form-item.vue.d.ts +70 -70
  146. package/es/src/pro-form/components/interface.d.ts +113 -113
  147. package/es/src/pro-form/components/radio-button-group.vue.d.ts +26 -26
  148. package/es/src/pro-form/helper.d.ts +9 -9
  149. package/es/src/pro-form/hooks/use-advanced.d.ts +14 -14
  150. package/es/src/pro-form/hooks/use-auto-focus.d.ts +9 -9
  151. package/es/src/pro-form/hooks/use-break-point.d.ts +23 -23
  152. package/es/src/pro-form/hooks/use-component-register.d.ts +2 -2
  153. package/es/src/pro-form/hooks/use-form-context.d.ts +8 -8
  154. package/es/src/pro-form/hooks/use-form-events.d.ts +26 -26
  155. package/es/src/pro-form/hooks/use-form-item.d.ts +2 -2
  156. package/es/src/pro-form/hooks/use-form-values.d.ts +12 -12
  157. package/es/src/pro-form/hooks/use-form.d.ts +8 -8
  158. package/es/src/pro-form/hooks/use-label-width.d.ts +309 -309
  159. package/es/src/pro-form/index.d.ts +17 -17
  160. package/es/src/pro-form/interface.d.ts +4 -4
  161. package/es/src/pro-form/pro-form.vue.d.ts +106 -106
  162. package/es/src/pro-form/types/form-item.d.ts +80 -80
  163. package/es/src/pro-form/types/form.d.ts +147 -147
  164. package/es/src/pro-form/types/index.d.ts +158 -158
  165. package/es/src/pro-table/component-map.d.ts +6 -6
  166. package/es/src/pro-table/components/edit-table-header-icon.vue.d.ts +21 -21
  167. package/es/src/pro-table/components/editable/cell-component.d.ts +11 -11
  168. package/es/src/pro-table/components/editable/editable-cell.vue.d.ts +80 -80
  169. package/es/src/pro-table/components/editable/helper.d.ts +5 -5
  170. package/es/src/pro-table/components/editable/index.d.ts +21 -21
  171. package/es/src/pro-table/components/header-cell.vue.d.ts +15 -15
  172. package/es/src/pro-table/components/settings/column-setting.vue.d.ts +7 -7
  173. package/es/src/pro-table/components/settings/full-screen-setting.vue.d.ts +2 -2
  174. package/es/src/pro-table/components/settings/index.vue.d.ts +19 -19
  175. package/es/src/pro-table/components/settings/redo-setting.vue.d.ts +2 -2
  176. package/es/src/pro-table/components/settings/size-setting.vue.d.ts +2 -2
  177. package/es/src/pro-table/components/table-action.vue.d.ts +56 -56
  178. package/es/src/pro-table/components/table-footer.vue.d.ts +42 -42
  179. package/es/src/pro-table/components/table-header.vue.d.ts +71 -71
  180. package/es/src/pro-table/components/table-image.vue.d.ts +47 -47
  181. package/es/src/pro-table/components/table-selection-bar.vue.d.ts +32 -32
  182. package/es/src/pro-table/components/table-title.vue.d.ts +23 -23
  183. package/es/src/pro-table/const.d.ts +6 -6
  184. package/es/src/pro-table/directives/click-outside.d.ts +3 -3
  185. package/es/src/pro-table/helper.d.ts +3 -3
  186. package/es/src/pro-table/hooks/use-columns.d.ts +12 -12
  187. package/es/src/pro-table/hooks/use-custom-row.d.ts +18 -18
  188. package/es/src/pro-table/hooks/use-data-source.d.ts +26 -26
  189. package/es/src/pro-table/hooks/use-loading.d.ts +5 -5
  190. package/es/src/pro-table/hooks/use-pagination.d.ts +8 -8
  191. package/es/src/pro-table/hooks/use-row-selection.d.ts +11 -11
  192. package/es/src/pro-table/hooks/use-scroll-to.d.ts +4 -4
  193. package/es/src/pro-table/hooks/use-table-context.d.ts +11 -11
  194. package/es/src/pro-table/hooks/use-table-expand.d.ts +16 -16
  195. package/es/src/pro-table/hooks/use-table-footer.d.ts +4 -4
  196. package/es/src/pro-table/hooks/use-table-form.d.ts +7 -7
  197. package/es/src/pro-table/hooks/use-table-header.d.ts +4 -4
  198. package/es/src/pro-table/hooks/use-table-scroll.d.ts +10 -10
  199. package/es/src/pro-table/hooks/use-table-style.d.ts +4 -4
  200. package/es/src/pro-table/hooks/use-table.d.ts +15 -15
  201. package/es/src/pro-table/index.d.ts +10 -10
  202. package/es/src/pro-table/interface.d.ts +62 -62
  203. package/es/src/pro-table/pro-table.vue.d.ts +162 -162
  204. package/es/src/pro-table/types/pagination.d.ts +92 -92
  205. package/es/src/pro-table/types/table-action.d.ts +22 -22
  206. package/es/src/pro-table/types/table.d.ts +376 -376
  207. package/es/src/prompt/dialog.vue.d.ts +12 -12
  208. package/es/src/prompt/index.d.ts +9 -9
  209. package/es/src/prompt/interface.d.ts +22 -22
  210. package/es/src/prompt/utils.d.ts +9 -9
  211. package/es/src/scroll-bar/bar-item.d.ts +15 -15
  212. package/es/src/scroll-bar/index.d.ts +174 -174
  213. package/es/src/scroll-bar/interface.d.ts +31 -31
  214. package/es/src/scroll-bar/scroll-bar.vue.d.ts +50 -50
  215. package/es/src/scroll-bar/utils.d.ts +9 -9
  216. package/es/src/strength-meter/index.d.ts +88 -88
  217. package/es/src/strength-meter/interface.d.ts +5 -5
  218. package/es/src/strength-meter/strength-meter.vue.d.ts +37 -37
  219. package/es/src/transition/collapse-transition.vue.d.ts +10 -10
  220. package/es/src/transition/create-transition.d.ts +47 -47
  221. package/es/src/transition/expand-transition.d.ts +19 -19
  222. package/es/src/transition/index.d.ts +368 -368
  223. package/es/src/type.d.ts +29 -29
  224. package/es/src/utils/copy-text-to-clipboard.d.ts +1 -1
  225. package/es/src/utils/index.d.ts +14 -14
  226. package/es/src/utils/slot.d.ts +15 -15
  227. package/es/src/utils/tree.d.ts +38 -38
  228. package/es/src/utils/uuid.d.ts +2 -2
  229. package/lib/index.d.ts +7 -7
  230. package/lib/src/ap-action/group/index.vue.d.ts +35 -35
  231. package/lib/src/ap-action/index.d.ts +9 -9
  232. package/lib/src/ap-action/interface.d.ts +80 -80
  233. package/lib/src/ap-action/item/index.vue.d.ts +42 -42
  234. package/lib/src/ap-action/item-dropdown/index.vue.d.ts +54 -54
  235. package/lib/src/ap-action/item-modal/index.vue.d.ts +38 -38
  236. package/lib/src/ap-action/item-popconfirm/index.vue.d.ts +332 -332
  237. package/lib/src/ap-custom-column/column-select.vue.d.ts +16 -16
  238. package/lib/src/ap-custom-column/custom-column.vue.d.ts +16 -16
  239. package/lib/src/ap-custom-column/index.d.ts +5 -5
  240. package/lib/src/ap-custom-column/interfaces.d.ts +40 -40
  241. package/lib/src/ap-custom-column/storage.d.ts +8 -8
  242. package/lib/src/ap-custom-column/useCacheColumnSetting.d.ts +9 -9
  243. package/lib/src/ap-custom-column/utils.d.ts +2 -2
  244. package/lib/src/ap-field/checkbox/helper.d.ts +3 -3
  245. package/lib/src/ap-field/checkbox/index.vue.d.ts +36 -36
  246. package/lib/src/ap-field/date/constant.d.ts +9 -9
  247. package/lib/src/ap-field/date/helper.d.ts +3 -3
  248. package/lib/src/ap-field/date/index.vue.d.ts +54 -54
  249. package/lib/src/ap-field/date/interface.d.ts +2 -2
  250. package/lib/src/ap-field/date-range/index.vue.d.ts +56 -56
  251. package/lib/src/ap-field/index.d.ts +15 -15
  252. package/lib/src/ap-field/interface.d.ts +86 -86
  253. package/lib/src/ap-field/number/helper.d.ts +1 -1
  254. package/lib/src/ap-field/number/index.vue.d.ts +69 -69
  255. package/lib/src/ap-field/radio/helper.d.ts +3 -3
  256. package/lib/src/ap-field/radio/index.vue.d.ts +38 -38
  257. package/lib/src/ap-field/select/index.vue.d.ts +226 -226
  258. package/lib/src/ap-field/switch/index.vue.d.ts +52 -52
  259. package/lib/src/ap-field/text/index.vue.d.ts +63 -63
  260. package/lib/src/ap-field/text-area/index.vue.d.ts +46 -46
  261. package/lib/src/ap-form/ap-form-item-group/helper.d.ts +17 -17
  262. package/lib/src/ap-form/ap-form-item-group/index.vue.d.ts +41 -41
  263. package/lib/src/ap-form/ap-form-item.vue.d.ts +66 -66
  264. package/lib/src/ap-form/ap-form-list.vue.d.ts +33 -33
  265. package/lib/src/ap-form/ap-form.vue.d.ts +63 -63
  266. package/lib/src/ap-form/constant.d.ts +2 -2
  267. package/lib/src/ap-form/context.d.ts +9 -9
  268. package/lib/src/ap-form/index.d.ts +11 -11
  269. package/lib/src/ap-form/interface.d.ts +46 -46
  270. package/lib/src/ap-form/items/date/index.vue.d.ts +62 -62
  271. package/lib/src/ap-form/items/date-range/index.vue.d.ts +61 -61
  272. package/lib/src/ap-form/items/index.d.ts +2 -2
  273. package/lib/src/ap-form/items/interface.d.ts +39 -39
  274. package/lib/src/ap-form/items/number/index.vue.d.ts +60 -60
  275. package/lib/src/ap-form/items/radio/index.vue.d.ts +47 -47
  276. package/lib/src/ap-form/items/select/index.vue.d.ts +66 -66
  277. package/lib/src/ap-form/items/switch/index.vue.d.ts +57 -57
  278. package/lib/src/ap-form/items/text/index.vue.d.ts +62 -62
  279. package/lib/src/ap-form/items/text-area/index.vue.d.ts +48 -48
  280. package/lib/src/ap-form/search-form/index.vue.d.ts +73 -73
  281. package/lib/src/ap-tag/ap-tag-group.vue.d.ts +32 -32
  282. package/lib/src/ap-tag/ap-tag.vue.d.ts +32 -32
  283. package/lib/src/ap-tag/index.d.ts +3 -3
  284. package/lib/src/ap-tag/interface.d.ts +35 -35
  285. package/lib/src/ap-upload/apUpload.vue.d.ts +109 -109
  286. package/lib/src/ap-upload/apUploadTypes.d.ts +89 -89
  287. package/lib/src/ap-upload/components/MultipleFile.vue.d.ts +3 -3
  288. package/lib/src/ap-upload/components/Picture.vue.d.ts +3 -3
  289. package/lib/src/ap-upload/components/SingleFile.vue.d.ts +3 -3
  290. package/lib/src/ap-upload/hooks/useOss.d.ts +18 -18
  291. package/lib/src/ap-upload/index.d.ts +4 -4
  292. package/lib/src/ap-upload/utils/accept.d.ts +13 -13
  293. package/lib/src/ap-upload/utils/returnData.d.ts +19 -19
  294. package/lib/src/base-button/button.vue.d.ts +34 -34
  295. package/lib/src/base-button/constants.d.ts +25 -25
  296. package/lib/src/base-button/index.d.ts +134 -134
  297. package/lib/src/base-button/interface.d.ts +15 -15
  298. package/lib/src/base-button/modal-button.vue.d.ts +25 -25
  299. package/lib/src/base-button/pop-confirm-button.vue.d.ts +16 -16
  300. package/lib/src/basic/arrow.vue.d.ts +12 -12
  301. package/lib/src/basic/help.vue.d.ts +103 -103
  302. package/lib/src/basic/index.d.ts +276 -276
  303. package/lib/src/basic/interface.d.ts +20 -20
  304. package/lib/src/basic/title.vue.d.ts +33 -33
  305. package/lib/src/button/__tests__/button.test.d.ts +1 -1
  306. package/lib/src/button/index.d.ts +50 -50
  307. package/lib/src/config-provider/config-provider-props.d.ts +143 -143
  308. package/lib/src/config-provider/config-provider.d.ts +312 -312
  309. package/lib/src/config-provider/constants.d.ts +27 -27
  310. package/lib/src/config-provider/hooks/use-global-config.d.ts +142 -142
  311. package/lib/src/config-provider/hooks/use-locale.d.ts +13 -13
  312. package/lib/src/config-provider/hooks/use-namespace.d.ts +23 -23
  313. package/lib/src/config-provider/index.d.ts +680 -680
  314. package/lib/src/container/collapse/header.vue.d.ts +35 -35
  315. package/lib/src/container/collapse/index.vue.d.ts +120 -120
  316. package/lib/src/container/index.d.ts +177 -177
  317. package/lib/src/container/interface.d.ts +18 -18
  318. package/lib/src/container/scroll-container.vue.d.ts +22 -22
  319. package/lib/src/count-down/button.vue.d.ts +26 -26
  320. package/lib/src/count-down/index.d.ts +149 -149
  321. package/lib/src/count-down/input.vue.d.ts +31 -31
  322. package/lib/src/count-down/interface.d.ts +12 -12
  323. package/lib/src/cropper/cropper-avatar.vue.d.ts +44 -44
  324. package/lib/src/cropper/cropper-image.vue.d.ts +49 -49
  325. package/lib/src/cropper/cropper-modal.vue.d.ts +46 -46
  326. package/lib/src/cropper/index.d.ts +366 -366
  327. package/lib/src/cropper/interface.d.ts +29 -29
  328. package/lib/src/description/description.vue.d.ts +93 -93
  329. package/lib/src/description/index.d.ts +211 -211
  330. package/lib/src/description/interface.d.ts +37 -37
  331. package/lib/src/description/use-description.d.ts +2 -2
  332. package/lib/src/design-token/index.d.ts +3 -3
  333. package/lib/src/dropdown/dropdown.vue.d.ts +43 -43
  334. package/lib/src/dropdown/index.d.ts +110 -110
  335. package/lib/src/dropdown/interface.d.ts +16 -16
  336. package/lib/src/hooks/index.d.ts +2 -2
  337. package/lib/src/hooks/useControllableValue.d.ts +11 -11
  338. package/lib/src/hooks/useMessage.d.ts +59 -59
  339. package/lib/src/icon/icon.vue.d.ts +32 -32
  340. package/lib/src/icon/index.d.ts +207 -207
  341. package/lib/src/icon/interface.d.ts +28 -28
  342. package/lib/src/icon/svg-icon.vue.d.ts +32 -32
  343. package/lib/src/icon-picker/data.d.ts +5 -5
  344. package/lib/src/icon-picker/icon-picker.vue.d.ts +50 -50
  345. package/lib/src/icon-picker/index.d.ts +189 -189
  346. package/lib/src/icon-picker/interface.d.ts +13 -13
  347. package/lib/src/index.d.ts +25 -25
  348. package/lib/src/locale/index.d.ts +3 -3
  349. package/lib/src/locale/interface.d.ts +8 -8
  350. package/lib/src/locale/lang/en.d.ts +3 -3
  351. package/lib/src/locale/lang/zh-cn.d.ts +3 -3
  352. package/lib/src/modal/basic.vue.d.ts +459 -459
  353. package/lib/src/modal/components/modal-close.vue.d.ts +32 -32
  354. package/lib/src/modal/components/modal-footer.vue.d.ts +451 -451
  355. package/lib/src/modal/components/modal-header.vue.d.ts +12 -12
  356. package/lib/src/modal/components/modal-wrapper.vue.d.ts +101 -101
  357. package/lib/src/modal/components/modal.d.ts +437 -437
  358. package/lib/src/modal/hooks/use-moda-full-screen.d.ts +11 -11
  359. package/lib/src/modal/hooks/use-modal-context.d.ts +7 -7
  360. package/lib/src/modal/hooks/use-modal-drag.d.ts +7 -7
  361. package/lib/src/modal/hooks/use-modal.d.ts +6 -6
  362. package/lib/src/modal/index.d.ts +957 -957
  363. package/lib/src/modal/interface.d.ts +180 -180
  364. package/lib/src/modal/props.d.ts +277 -277
  365. package/lib/src/pro-form/component-map.d.ts +5 -5
  366. package/lib/src/pro-form/components/api-cascader.vue.d.ts +50 -50
  367. package/lib/src/pro-form/components/api-radio-group.vue.d.ts +49 -49
  368. package/lib/src/pro-form/components/api-select.vue.d.ts +71 -71
  369. package/lib/src/pro-form/components/api-transfer.vue.d.ts +53 -53
  370. package/lib/src/pro-form/components/api-tree-select.vue.d.ts +55 -55
  371. package/lib/src/pro-form/components/api-tree.vue.d.ts +43 -43
  372. package/lib/src/pro-form/components/form-action.vue.d.ts +58 -58
  373. package/lib/src/pro-form/components/form-item.vue.d.ts +70 -70
  374. package/lib/src/pro-form/components/interface.d.ts +113 -113
  375. package/lib/src/pro-form/components/radio-button-group.vue.d.ts +26 -26
  376. package/lib/src/pro-form/helper.d.ts +9 -9
  377. package/lib/src/pro-form/hooks/use-advanced.d.ts +14 -14
  378. package/lib/src/pro-form/hooks/use-auto-focus.d.ts +9 -9
  379. package/lib/src/pro-form/hooks/use-break-point.d.ts +23 -23
  380. package/lib/src/pro-form/hooks/use-component-register.d.ts +2 -2
  381. package/lib/src/pro-form/hooks/use-form-context.d.ts +8 -8
  382. package/lib/src/pro-form/hooks/use-form-events.d.ts +26 -26
  383. package/lib/src/pro-form/hooks/use-form-item.d.ts +2 -2
  384. package/lib/src/pro-form/hooks/use-form-values.d.ts +12 -12
  385. package/lib/src/pro-form/hooks/use-form.d.ts +8 -8
  386. package/lib/src/pro-form/hooks/use-label-width.d.ts +309 -309
  387. package/lib/src/pro-form/index.d.ts +17 -17
  388. package/lib/src/pro-form/interface.d.ts +4 -4
  389. package/lib/src/pro-form/pro-form.vue.d.ts +106 -106
  390. package/lib/src/pro-form/types/form-item.d.ts +80 -80
  391. package/lib/src/pro-form/types/form.d.ts +147 -147
  392. package/lib/src/pro-form/types/index.d.ts +158 -158
  393. package/lib/src/pro-table/component-map.d.ts +6 -6
  394. package/lib/src/pro-table/components/edit-table-header-icon.vue.d.ts +21 -21
  395. package/lib/src/pro-table/components/editable/cell-component.d.ts +11 -11
  396. package/lib/src/pro-table/components/editable/editable-cell.vue.d.ts +80 -80
  397. package/lib/src/pro-table/components/editable/helper.d.ts +5 -5
  398. package/lib/src/pro-table/components/editable/index.d.ts +21 -21
  399. package/lib/src/pro-table/components/header-cell.vue.d.ts +15 -15
  400. package/lib/src/pro-table/components/settings/column-setting.vue.d.ts +7 -7
  401. package/lib/src/pro-table/components/settings/full-screen-setting.vue.d.ts +2 -2
  402. package/lib/src/pro-table/components/settings/index.vue.d.ts +19 -19
  403. package/lib/src/pro-table/components/settings/redo-setting.vue.d.ts +2 -2
  404. package/lib/src/pro-table/components/settings/size-setting.vue.d.ts +2 -2
  405. package/lib/src/pro-table/components/table-action.vue.d.ts +56 -56
  406. package/lib/src/pro-table/components/table-footer.vue.d.ts +42 -42
  407. package/lib/src/pro-table/components/table-header.vue.d.ts +71 -71
  408. package/lib/src/pro-table/components/table-image.vue.d.ts +47 -47
  409. package/lib/src/pro-table/components/table-selection-bar.vue.d.ts +32 -32
  410. package/lib/src/pro-table/components/table-title.vue.d.ts +23 -23
  411. package/lib/src/pro-table/const.d.ts +6 -6
  412. package/lib/src/pro-table/directives/click-outside.d.ts +3 -3
  413. package/lib/src/pro-table/helper.d.ts +3 -3
  414. package/lib/src/pro-table/hooks/use-columns.d.ts +12 -12
  415. package/lib/src/pro-table/hooks/use-custom-row.d.ts +18 -18
  416. package/lib/src/pro-table/hooks/use-data-source.d.ts +26 -26
  417. package/lib/src/pro-table/hooks/use-loading.d.ts +5 -5
  418. package/lib/src/pro-table/hooks/use-pagination.d.ts +8 -8
  419. package/lib/src/pro-table/hooks/use-row-selection.d.ts +11 -11
  420. package/lib/src/pro-table/hooks/use-scroll-to.d.ts +4 -4
  421. package/lib/src/pro-table/hooks/use-table-context.d.ts +11 -11
  422. package/lib/src/pro-table/hooks/use-table-expand.d.ts +16 -16
  423. package/lib/src/pro-table/hooks/use-table-footer.d.ts +4 -4
  424. package/lib/src/pro-table/hooks/use-table-form.d.ts +7 -7
  425. package/lib/src/pro-table/hooks/use-table-header.d.ts +4 -4
  426. package/lib/src/pro-table/hooks/use-table-scroll.d.ts +10 -10
  427. package/lib/src/pro-table/hooks/use-table-style.d.ts +4 -4
  428. package/lib/src/pro-table/hooks/use-table.d.ts +15 -15
  429. package/lib/src/pro-table/index.d.ts +10 -10
  430. package/lib/src/pro-table/interface.d.ts +62 -62
  431. package/lib/src/pro-table/pro-table.vue.d.ts +162 -162
  432. package/lib/src/pro-table/types/pagination.d.ts +92 -92
  433. package/lib/src/pro-table/types/table-action.d.ts +22 -22
  434. package/lib/src/pro-table/types/table.d.ts +376 -376
  435. package/lib/src/prompt/dialog.vue.d.ts +12 -12
  436. package/lib/src/prompt/index.d.ts +9 -9
  437. package/lib/src/prompt/interface.d.ts +22 -22
  438. package/lib/src/prompt/utils.d.ts +9 -9
  439. package/lib/src/scroll-bar/bar-item.d.ts +15 -15
  440. package/lib/src/scroll-bar/index.d.ts +174 -174
  441. package/lib/src/scroll-bar/interface.d.ts +31 -31
  442. package/lib/src/scroll-bar/scroll-bar.vue.d.ts +50 -50
  443. package/lib/src/scroll-bar/utils.d.ts +9 -9
  444. package/lib/src/strength-meter/index.d.ts +88 -88
  445. package/lib/src/strength-meter/interface.d.ts +5 -5
  446. package/lib/src/strength-meter/strength-meter.vue.d.ts +37 -37
  447. package/lib/src/transition/collapse-transition.vue.d.ts +10 -10
  448. package/lib/src/transition/create-transition.d.ts +47 -47
  449. package/lib/src/transition/expand-transition.d.ts +19 -19
  450. package/lib/src/transition/index.d.ts +368 -368
  451. package/lib/src/type.d.ts +29 -29
  452. package/lib/src/utils/copy-text-to-clipboard.d.ts +1 -1
  453. package/lib/src/utils/index.d.ts +14 -14
  454. package/lib/src/utils/slot.d.ts +15 -15
  455. package/lib/src/utils/tree.d.ts +38 -38
  456. package/lib/src/utils/uuid.d.ts +2 -2
  457. package/package.json +5 -3
@@ -4,150 +4,150 @@ import { ButtonProps as AntdButtonProps } from '../../base-button';
4
4
  import { ProFormItem } from './form-item';
5
5
  import { ColEx, ComponentType, ComponentProps } from './';
6
6
  import { RowProps } from 'ant-design-vue/lib/grid/Row';
7
-
8
- export type FieldMapToTime = [
9
- string,
10
- [
11
- string,
12
- string
13
- ],
14
- (string | [string, string])?
15
- ][];
16
- export type Rule = RuleObject & {
17
- trigger?: 'blur' | 'change' | ['change', 'blur'];
18
- };
19
- export interface RenderCallbackParams {
20
- schema: FormSchemaInner;
21
- values: Record<string, any>;
22
- model: Record<string, any>;
23
- field: string;
24
- }
25
- interface ButtonProps extends AntdButtonProps {
26
- text?: string;
27
- }
28
- export interface FormActionType {
29
- submit: () => Promise<void>;
30
- setFieldsValue: (values: Record<string, any>) => Promise<void>;
31
- resetFields: () => Promise<void>;
32
- getFieldsValue: () => Record<string, any>;
33
- clearValidate: (name?: string | string[]) => Promise<void>;
34
- updateSchema: (data: Partial<FormSchemaInner> | Partial<FormSchemaInner>[]) => Promise<void>;
35
- resetSchema: (data: Partial<FormSchemaInner> | Partial<FormSchemaInner>[]) => Promise<void>;
36
- setProps: (formProps: Partial<ProFormProps>) => Promise<void>;
37
- removeSchemaByField: (field: string | string[]) => Promise<void>;
38
- appendSchemaByField: (schema: FormSchemaInner | FormSchemaInner[], prefixField: string | undefined, first?: boolean | undefined) => Promise<void>;
39
- validateFields: (nameList?: NamePath[]) => Promise<any>;
40
- validate: <T = Record<string, any>>(nameList?: NamePath[] | false) => Promise<T>;
41
- scrollToField: (name: NamePath, options?: ScrollOptions) => Promise<void>;
42
- }
43
- type RegisterFn = (formInstance: FormActionType) => void;
44
- export type UseFormReturnType = [RegisterFn, FormActionType];
45
- export interface ProFormProps {
46
- name?: string;
47
- layout?: 'vertical' | 'inline' | 'horizontal';
48
- model?: Record<string, any>;
49
- labelWidth?: number | string;
50
- labelAlign?: 'left' | 'right';
51
- rowProps?: RowProps;
52
- submitOnReset?: boolean;
53
- submitOnChange?: boolean;
54
- labelCol?: Partial<ColEx>;
55
- wrapperCol?: Partial<ColEx>;
56
- baseRowStyle?: CSSProperties;
57
- baseColProps?: Partial<ColEx>;
58
- schemas?: FormSchema<any>[];
59
- mergeDynamicData?: Record<string, any>;
60
- compact?: boolean;
61
- emptySpan?: number | Partial<ColEx>;
62
- size?: 'default' | 'small' | 'large';
63
- disabled?: boolean;
64
- readonly?: boolean;
65
- fieldMapToTime?: FieldMapToTime;
66
- autoSetPlaceHolder?: boolean;
67
- autoSubmitOnEnter?: boolean;
68
- rulesMessageJoinLabel?: boolean;
69
- showAdvancedButton?: boolean;
70
- autoFocusFirstItem?: boolean;
71
- autoAdvancedLine?: number;
72
- alwaysShowLines?: number;
73
- showActionButtonGroup?: boolean;
74
- resetButtonOptions?: Partial<ButtonProps>;
75
- submitButtonOptions?: Partial<ButtonProps>;
76
- actionColOptions?: Partial<ColEx>;
77
- showResetButton?: boolean;
78
- showSubmitButton?: boolean;
79
- resetFunc?: () => Promise<void>;
80
- submitFunc?: () => Promise<void>;
81
- transformDateFunc?: (date: any) => string;
82
- colon?: boolean;
83
- tableAction?: any;
84
- }
85
- export type RenderOpts = {
86
- disabled: boolean;
87
- [key: string]: any;
88
- };
89
- interface BaseFormSchema<T extends ComponentType = any, E = any> {
90
- field: string;
91
- fields?: string[];
92
- changeEvent?: string;
93
- valueField?: string;
94
- label?: string | VNode | ((renderCallbackParams: RenderCallbackParams) => string | VNode);
95
- subLabel?: string;
96
- helpMessage?: string | string[] | ((renderCallbackParams: RenderCallbackParams) => string | string[]);
97
- helpComponentProps?: Partial<HelpComponentProps>;
98
- labelWidth?: string | number;
99
- disabledLabelWidth?: boolean;
100
- componentProps?: ((opt: {
101
- schema: FormSchema;
102
- tableAction: any;
103
- formActionType: FormActionType;
104
- formModel: Record<string, any>;
105
- }) => (ComponentProps & E)[T]) | (ComponentProps & E)[T];
106
- required?: boolean | ((renderCallbackParams: RenderCallbackParams) => boolean);
107
- suffix?: string | number | ((values: RenderCallbackParams) => string | number);
108
- rules?: Rule[];
109
- rulesMessageJoinLabel?: boolean;
110
- itemProps?: Partial<ProFormItem>;
111
- colProps?: Partial<ColEx>;
112
- defaultValue?: any;
113
- defaultValueObj?: {
114
- [key: string]: any;
115
- };
116
- isHandleDateDefaultValue?: boolean;
117
- /**
118
- * @description 内部自动计算,手动配置无效
119
- */
120
- isAdvanced?: boolean;
121
- span?: number;
122
- ifShow?: boolean | ((renderCallbackParams: RenderCallbackParams) => boolean);
123
- show?: boolean | ((renderCallbackParams: RenderCallbackParams) => boolean);
124
- render?: (renderCallbackParams: RenderCallbackParams, opts: RenderOpts) => VNode | VNode[] | string;
125
- renderColContent?: (renderCallbackParams: RenderCallbackParams, opts: RenderOpts) => VNode | VNode[] | string;
126
- renderComponentContent?: ((renderCallbackParams: RenderCallbackParams, opts: RenderOpts) => any) | VNode | VNode[] | string;
127
- colSlot?: string;
128
- dynamicDisabled?: boolean | ((renderCallbackParams: RenderCallbackParams) => boolean);
129
- dynamicReadonly?: boolean | ((renderCallbackParams: RenderCallbackParams) => boolean);
130
- dynamicRules?: (renderCallbackParams: RenderCallbackParams) => Rule[];
131
- }
132
- export interface ComponentFormSchema<T extends ComponentType = any, E = any> extends BaseFormSchema<T, E> {
133
- component: T | keyof E;
134
- }
135
- export interface SlotFormSchema extends BaseFormSchema {
136
- slot: string;
137
- }
138
- type ComponentFormSchemaType<T extends ComponentType = ComponentType, E = any> = ComponentFormSchema<T, E>;
139
- export type FormSchema<ExtraComponentRecordsTypes = {}> = ComponentFormSchemaType<ComponentType, ExtraComponentRecordsTypes> | SlotFormSchema;
140
- export type FormSchemaInner = Partial<ComponentFormSchema<ComponentType, {}>> & Partial<SlotFormSchema> & BaseFormSchema;
141
- export declare function isSlotFormSchema(schema: FormSchemaInner): schema is SlotFormSchema;
142
- export declare function isComponentFormSchema(schema: FormSchemaInner): schema is ComponentFormSchema;
143
- export interface HelpComponentProps {
144
- maxWidth: string;
145
- showIndex: boolean;
146
- text: any;
147
- color: string;
148
- fontSize: string;
149
- icon: string;
150
- absolute: boolean;
151
- position: any;
152
- }
153
- export {};
7
+
8
+ export type FieldMapToTime = [
9
+ string,
10
+ [
11
+ string,
12
+ string
13
+ ],
14
+ (string | [string, string])?
15
+ ][];
16
+ export type Rule = RuleObject & {
17
+ trigger?: 'blur' | 'change' | ['change', 'blur'];
18
+ };
19
+ export interface RenderCallbackParams {
20
+ schema: FormSchemaInner;
21
+ values: Record<string, any>;
22
+ model: Record<string, any>;
23
+ field: string;
24
+ }
25
+ interface ButtonProps extends AntdButtonProps {
26
+ text?: string;
27
+ }
28
+ export interface FormActionType {
29
+ submit: () => Promise<void>;
30
+ setFieldsValue: (values: Record<string, any>) => Promise<void>;
31
+ resetFields: () => Promise<void>;
32
+ getFieldsValue: () => Record<string, any>;
33
+ clearValidate: (name?: string | string[]) => Promise<void>;
34
+ updateSchema: (data: Partial<FormSchemaInner> | Partial<FormSchemaInner>[]) => Promise<void>;
35
+ resetSchema: (data: Partial<FormSchemaInner> | Partial<FormSchemaInner>[]) => Promise<void>;
36
+ setProps: (formProps: Partial<ProFormProps>) => Promise<void>;
37
+ removeSchemaByField: (field: string | string[]) => Promise<void>;
38
+ appendSchemaByField: (schema: FormSchemaInner | FormSchemaInner[], prefixField: string | undefined, first?: boolean | undefined) => Promise<void>;
39
+ validateFields: (nameList?: NamePath[]) => Promise<any>;
40
+ validate: <T = Record<string, any>>(nameList?: NamePath[] | false) => Promise<T>;
41
+ scrollToField: (name: NamePath, options?: ScrollOptions) => Promise<void>;
42
+ }
43
+ type RegisterFn = (formInstance: FormActionType) => void;
44
+ export type UseFormReturnType = [RegisterFn, FormActionType];
45
+ export interface ProFormProps {
46
+ name?: string;
47
+ layout?: 'vertical' | 'inline' | 'horizontal';
48
+ model?: Record<string, any>;
49
+ labelWidth?: number | string;
50
+ labelAlign?: 'left' | 'right';
51
+ rowProps?: RowProps;
52
+ submitOnReset?: boolean;
53
+ submitOnChange?: boolean;
54
+ labelCol?: Partial<ColEx>;
55
+ wrapperCol?: Partial<ColEx>;
56
+ baseRowStyle?: CSSProperties;
57
+ baseColProps?: Partial<ColEx>;
58
+ schemas?: FormSchema<any>[];
59
+ mergeDynamicData?: Record<string, any>;
60
+ compact?: boolean;
61
+ emptySpan?: number | Partial<ColEx>;
62
+ size?: 'default' | 'small' | 'large';
63
+ disabled?: boolean;
64
+ readonly?: boolean;
65
+ fieldMapToTime?: FieldMapToTime;
66
+ autoSetPlaceHolder?: boolean;
67
+ autoSubmitOnEnter?: boolean;
68
+ rulesMessageJoinLabel?: boolean;
69
+ showAdvancedButton?: boolean;
70
+ autoFocusFirstItem?: boolean;
71
+ autoAdvancedLine?: number;
72
+ alwaysShowLines?: number;
73
+ showActionButtonGroup?: boolean;
74
+ resetButtonOptions?: Partial<ButtonProps>;
75
+ submitButtonOptions?: Partial<ButtonProps>;
76
+ actionColOptions?: Partial<ColEx>;
77
+ showResetButton?: boolean;
78
+ showSubmitButton?: boolean;
79
+ resetFunc?: () => Promise<void>;
80
+ submitFunc?: () => Promise<void>;
81
+ transformDateFunc?: (date: any) => string;
82
+ colon?: boolean;
83
+ tableAction?: any;
84
+ }
85
+ export type RenderOpts = {
86
+ disabled: boolean;
87
+ [key: string]: any;
88
+ };
89
+ interface BaseFormSchema<T extends ComponentType = any, E = any> {
90
+ field: string;
91
+ fields?: string[];
92
+ changeEvent?: string;
93
+ valueField?: string;
94
+ label?: string | VNode | ((renderCallbackParams: RenderCallbackParams) => string | VNode);
95
+ subLabel?: string;
96
+ helpMessage?: string | string[] | ((renderCallbackParams: RenderCallbackParams) => string | string[]);
97
+ helpComponentProps?: Partial<HelpComponentProps>;
98
+ labelWidth?: string | number;
99
+ disabledLabelWidth?: boolean;
100
+ componentProps?: ((opt: {
101
+ schema: FormSchema;
102
+ tableAction: any;
103
+ formActionType: FormActionType;
104
+ formModel: Record<string, any>;
105
+ }) => (ComponentProps & E)[T]) | (ComponentProps & E)[T];
106
+ required?: boolean | ((renderCallbackParams: RenderCallbackParams) => boolean);
107
+ suffix?: string | number | ((values: RenderCallbackParams) => string | number);
108
+ rules?: Rule[];
109
+ rulesMessageJoinLabel?: boolean;
110
+ itemProps?: Partial<ProFormItem>;
111
+ colProps?: Partial<ColEx>;
112
+ defaultValue?: any;
113
+ defaultValueObj?: {
114
+ [key: string]: any;
115
+ };
116
+ isHandleDateDefaultValue?: boolean;
117
+ /**
118
+ * @description 内部自动计算,手动配置无效
119
+ */
120
+ isAdvanced?: boolean;
121
+ span?: number;
122
+ ifShow?: boolean | ((renderCallbackParams: RenderCallbackParams) => boolean);
123
+ show?: boolean | ((renderCallbackParams: RenderCallbackParams) => boolean);
124
+ render?: (renderCallbackParams: RenderCallbackParams, opts: RenderOpts) => VNode | VNode[] | string;
125
+ renderColContent?: (renderCallbackParams: RenderCallbackParams, opts: RenderOpts) => VNode | VNode[] | string;
126
+ renderComponentContent?: ((renderCallbackParams: RenderCallbackParams, opts: RenderOpts) => any) | VNode | VNode[] | string;
127
+ colSlot?: string;
128
+ dynamicDisabled?: boolean | ((renderCallbackParams: RenderCallbackParams) => boolean);
129
+ dynamicReadonly?: boolean | ((renderCallbackParams: RenderCallbackParams) => boolean);
130
+ dynamicRules?: (renderCallbackParams: RenderCallbackParams) => Rule[];
131
+ }
132
+ export interface ComponentFormSchema<T extends ComponentType = any, E = any> extends BaseFormSchema<T, E> {
133
+ component: T | keyof E;
134
+ }
135
+ export interface SlotFormSchema extends BaseFormSchema {
136
+ slot: string;
137
+ }
138
+ type ComponentFormSchemaType<T extends ComponentType = ComponentType, E = any> = ComponentFormSchema<T, E>;
139
+ export type FormSchema<ExtraComponentRecordsTypes = {}> = ComponentFormSchemaType<ComponentType, ExtraComponentRecordsTypes> | SlotFormSchema;
140
+ export type FormSchemaInner = Partial<ComponentFormSchema<ComponentType, {}>> & Partial<SlotFormSchema> & BaseFormSchema;
141
+ export declare function isSlotFormSchema(schema: FormSchemaInner): schema is SlotFormSchema;
142
+ export declare function isComponentFormSchema(schema: FormSchemaInner): schema is ComponentFormSchema;
143
+ export interface HelpComponentProps {
144
+ maxWidth: string;
145
+ showIndex: boolean;
146
+ text: any;
147
+ color: string;
148
+ fontSize: string;
149
+ icon: string;
150
+ absolute: boolean;
151
+ position: any;
152
+ }
153
+ export {};
@@ -1,159 +1,159 @@
1
1
  import { Component, VNodeProps } from 'vue';
2
-
3
- type ColSpanType = number | string;
4
- export interface ColEx {
5
- style?: any;
6
- /**
7
- * raster number of cells to occupy, 0 corresponds to display: none
8
- * @default none (0)
9
- * @type ColSpanType
10
- */
11
- span?: ColSpanType;
12
- /**
13
- * raster order, used in flex layout mode
14
- * @default 0
15
- * @type ColSpanType
16
- */
17
- order?: ColSpanType;
18
- /**
19
- * the layout fill of flex
20
- * @default none
21
- * @type ColSpanType
22
- */
23
- flex?: ColSpanType;
24
- /**
25
- * the number of cells to offset Col from the left
26
- * @default 0
27
- * @type ColSpanType
28
- */
29
- offset?: ColSpanType;
30
- /**
31
- * the number of cells that raster is moved to the right
32
- * @default 0
33
- * @type ColSpanType
34
- */
35
- push?: ColSpanType;
36
- /**
37
- * the number of cells that raster is moved to the left
38
- * @default 0
39
- * @type ColSpanType
40
- */
41
- pull?: ColSpanType;
42
- /**
43
- * <576px and also default setting, could be a span value or an object containing above props
44
- * @type { span: ColSpanType, offset: ColSpanType } | ColSpanType
45
- */
46
- xs?: {
47
- span: ColSpanType;
48
- offset: ColSpanType;
49
- } | ColSpanType;
50
- /**
51
- * ≥576px, could be a span value or an object containing above props
52
- * @type { span: ColSpanType, offset: ColSpanType } | ColSpanType
53
- */
54
- sm?: {
55
- span: ColSpanType;
56
- offset: ColSpanType;
57
- } | ColSpanType;
58
- /**
59
- * ≥768px, could be a span value or an object containing above props
60
- * @type { span: ColSpanType, offset: ColSpanType } | ColSpanType
61
- */
62
- md?: {
63
- span: ColSpanType;
64
- offset: ColSpanType;
65
- } | ColSpanType;
66
- /**
67
- * ≥992px, could be a span value or an object containing above props
68
- * @type { span: ColSpanType, offset: ColSpanType } | ColSpanType
69
- */
70
- lg?: {
71
- span: ColSpanType;
72
- offset: ColSpanType;
73
- } | ColSpanType;
74
- /**
75
- * ≥1200px, could be a span value or an object containing above props
76
- * @type { span: ColSpanType, offset: ColSpanType } | ColSpanType
77
- */
78
- xl?: {
79
- span: ColSpanType;
80
- offset: ColSpanType;
81
- } | ColSpanType;
82
- /**
83
- * ≥1600px, could be a span value or an object containing above props
84
- * @type { span: ColSpanType, offset: ColSpanType } | ColSpanType
85
- */
86
- xxl?: {
87
- span: ColSpanType;
88
- offset: ColSpanType;
89
- } | ColSpanType;
90
- }
91
- export type ComponentType = keyof ComponentProps;
92
- type MethodsNameToCamelCase<T extends string, M extends string = ''> = T extends `${infer F}-${infer N}${infer Tail}` ? MethodsNameToCamelCase<Tail, `${M}${F}${Uppercase<N>}`> : `${M}${T}`;
93
- type MethodsNameTransform<T> = {
94
- [K in keyof T as K extends `on${string}` ? MethodsNameToCamelCase<K> : never]: T[K];
95
- };
96
- type ExtractPropTypes<T extends Component> = T extends new (...args: any) => any ? Omit<InstanceType<T>['$props'], keyof VNodeProps> : never;
97
- interface _CustomComponents {
98
- ApiSelect: ExtractPropTypes<typeof import('../components/api-select.vue')['default']>;
99
- ApiTree: ExtractPropTypes<typeof import('../components/api-tree.vue')['default']>;
100
- ApiTreeSelect: ExtractPropTypes<typeof import('../components/api-tree-select.vue')['default']>;
101
- ApiRadioGroup: ExtractPropTypes<typeof import('../components/api-radio-group.vue')['default']>;
102
- RadioButtonGroup: ExtractPropTypes<typeof import('../components/radio-button-group.vue')['default']>;
103
- ApiCascader: ExtractPropTypes<typeof import('../components/api-cascader.vue')['default']>;
104
- StrengthMeter: ExtractPropTypes<typeof import('../../strength-meter/strength-meter.vue')['default']>;
105
- IconPicker: ExtractPropTypes<typeof import('../../icon-picker/icon-picker.vue')['default']>;
106
- ApiTransfer: ExtractPropTypes<typeof import('../components/api-transfer.vue')['default']>;
107
- CropperAvatar: ExtractPropTypes<typeof import('../../cropper/cropper-avatar.vue')['default']>;
108
- BasicTitle: ExtractPropTypes<typeof import('../../basic/title.vue')['default']>;
109
- InputCountDown: ExtractPropTypes<typeof import('../../count-down/input.vue')['default']>;
110
- }
111
- type CustomComponents<T = _CustomComponents> = {
112
- [K in keyof T]: T[K] & MethodsNameTransform<T[K]>;
113
- };
114
- export interface ComponentProps {
115
- Input: ExtractPropTypes<typeof import('ant-design-vue/es/input')['default']>;
116
- InputGroup: ExtractPropTypes<typeof import('ant-design-vue/es/input')['InputGroup']>;
117
- InputPassword: ExtractPropTypes<typeof import('ant-design-vue/es/input')['InputPassword']>;
118
- InputSearch: ExtractPropTypes<typeof import('ant-design-vue/es/input')['InputSearch']>;
119
- InputTextArea: ExtractPropTypes<typeof import('ant-design-vue/es/input')['Textarea']>;
120
- InputNumber: ExtractPropTypes<typeof import('ant-design-vue/es/input-number')['default']>;
121
- InputCountDown: CustomComponents['InputCountDown'] & ComponentProps['Input'];
122
- Select: ExtractPropTypes<typeof import('ant-design-vue/es/select')['default']>;
123
- ApiSelect: CustomComponents['ApiSelect'] & ComponentProps['Select'];
124
- TreeSelect: ExtractPropTypes<typeof import('ant-design-vue/es/tree-select')['default']>;
125
- ApiTree: CustomComponents['ApiTree'] & ExtractPropTypes<typeof import('ant-design-vue/es/tree')['default']>;
126
- ApiTreeSelect: CustomComponents['ApiTreeSelect'] & ComponentProps['TreeSelect'];
127
- ApiRadioGroup: CustomComponents['ApiRadioGroup'] & ComponentProps['RadioGroup'];
128
- RadioButtonGroup: CustomComponents['RadioButtonGroup'] & ComponentProps['RadioGroup'];
129
- RadioGroup: ExtractPropTypes<typeof import('ant-design-vue/es/radio')['RadioGroup']>;
130
- Checkbox: ExtractPropTypes<typeof import('ant-design-vue/es/checkbox')['default']>;
131
- CheckboxGroup: ExtractPropTypes<typeof import('ant-design-vue/es/checkbox')['CheckboxGroup']>;
132
- AutoComplete: ExtractPropTypes<typeof import('ant-design-vue/es/auto-complete')['default']>;
133
- ApiCascader: CustomComponents['ApiCascader'] & ComponentProps['Cascader'];
134
- Cascader: ExtractPropTypes<typeof import('ant-design-vue/es/cascader')['default']>;
135
- DatePicker: ExtractPropTypes<typeof import('ant-design-vue/es/date-picker')['default']>;
136
- MonthPicker: ExtractPropTypes<typeof import('ant-design-vue/es/date-picker')['MonthPicker']>;
137
- RangePicker: ExtractPropTypes<typeof import('ant-design-vue/es/date-picker')['RangePicker']>;
138
- WeekPicker: ExtractPropTypes<typeof import('ant-design-vue/es/date-picker')['WeekPicker']>;
139
- TimePicker: ExtractPropTypes<typeof import('ant-design-vue/es/time-picker')['TimePicker']>;
140
- TimeRangePicker: ExtractPropTypes<typeof import('ant-design-vue/es/time-picker')['TimeRangePicker']>;
141
- Switch: ExtractPropTypes<typeof import('ant-design-vue/es/switch')['default']>;
142
- StrengthMeter: CustomComponents['StrengthMeter'] & ComponentProps['InputPassword'];
143
- IconPicker: CustomComponents['IconPicker'];
144
- Render: Record<string, any>;
145
- Slider: ExtractPropTypes<typeof import('ant-design-vue/es/slider')['default']>;
146
- Rate: ExtractPropTypes<typeof import('ant-design-vue/es/rate')['default']>;
147
- Divider: ExtractPropTypes<typeof import('ant-design-vue/es/divider')['default']>;
148
- ApiTransfer: CustomComponents['ApiTransfer'] & ComponentProps['Transfer'];
149
- Transfer: ExtractPropTypes<typeof import('ant-design-vue/es/transfer')['default']>;
150
- CropperAvatar: CustomComponents['CropperAvatar'];
151
- BasicTitle: CustomComponents['BasicTitle'];
152
- }
153
- export interface AdvanceState {
154
- isAdvanced: boolean;
155
- hideAdvanceBtn: boolean;
156
- isLoad: boolean;
157
- actionSpan: number;
158
- }
159
- export {};
2
+
3
+ type ColSpanType = number | string;
4
+ export interface ColEx {
5
+ style?: any;
6
+ /**
7
+ * raster number of cells to occupy, 0 corresponds to display: none
8
+ * @default none (0)
9
+ * @type ColSpanType
10
+ */
11
+ span?: ColSpanType;
12
+ /**
13
+ * raster order, used in flex layout mode
14
+ * @default 0
15
+ * @type ColSpanType
16
+ */
17
+ order?: ColSpanType;
18
+ /**
19
+ * the layout fill of flex
20
+ * @default none
21
+ * @type ColSpanType
22
+ */
23
+ flex?: ColSpanType;
24
+ /**
25
+ * the number of cells to offset Col from the left
26
+ * @default 0
27
+ * @type ColSpanType
28
+ */
29
+ offset?: ColSpanType;
30
+ /**
31
+ * the number of cells that raster is moved to the right
32
+ * @default 0
33
+ * @type ColSpanType
34
+ */
35
+ push?: ColSpanType;
36
+ /**
37
+ * the number of cells that raster is moved to the left
38
+ * @default 0
39
+ * @type ColSpanType
40
+ */
41
+ pull?: ColSpanType;
42
+ /**
43
+ * <576px and also default setting, could be a span value or an object containing above props
44
+ * @type { span: ColSpanType, offset: ColSpanType } | ColSpanType
45
+ */
46
+ xs?: {
47
+ span: ColSpanType;
48
+ offset: ColSpanType;
49
+ } | ColSpanType;
50
+ /**
51
+ * ≥576px, could be a span value or an object containing above props
52
+ * @type { span: ColSpanType, offset: ColSpanType } | ColSpanType
53
+ */
54
+ sm?: {
55
+ span: ColSpanType;
56
+ offset: ColSpanType;
57
+ } | ColSpanType;
58
+ /**
59
+ * ≥768px, could be a span value or an object containing above props
60
+ * @type { span: ColSpanType, offset: ColSpanType } | ColSpanType
61
+ */
62
+ md?: {
63
+ span: ColSpanType;
64
+ offset: ColSpanType;
65
+ } | ColSpanType;
66
+ /**
67
+ * ≥992px, could be a span value or an object containing above props
68
+ * @type { span: ColSpanType, offset: ColSpanType } | ColSpanType
69
+ */
70
+ lg?: {
71
+ span: ColSpanType;
72
+ offset: ColSpanType;
73
+ } | ColSpanType;
74
+ /**
75
+ * ≥1200px, could be a span value or an object containing above props
76
+ * @type { span: ColSpanType, offset: ColSpanType } | ColSpanType
77
+ */
78
+ xl?: {
79
+ span: ColSpanType;
80
+ offset: ColSpanType;
81
+ } | ColSpanType;
82
+ /**
83
+ * ≥1600px, could be a span value or an object containing above props
84
+ * @type { span: ColSpanType, offset: ColSpanType } | ColSpanType
85
+ */
86
+ xxl?: {
87
+ span: ColSpanType;
88
+ offset: ColSpanType;
89
+ } | ColSpanType;
90
+ }
91
+ export type ComponentType = keyof ComponentProps;
92
+ type MethodsNameToCamelCase<T extends string, M extends string = ''> = T extends `${infer F}-${infer N}${infer Tail}` ? MethodsNameToCamelCase<Tail, `${M}${F}${Uppercase<N>}`> : `${M}${T}`;
93
+ type MethodsNameTransform<T> = {
94
+ [K in keyof T as K extends `on${string}` ? MethodsNameToCamelCase<K> : never]: T[K];
95
+ };
96
+ type ExtractPropTypes<T extends Component> = T extends new (...args: any) => any ? Omit<InstanceType<T>['$props'], keyof VNodeProps> : never;
97
+ interface _CustomComponents {
98
+ ApiSelect: ExtractPropTypes<typeof import('../components/api-select.vue')['default']>;
99
+ ApiTree: ExtractPropTypes<typeof import('../components/api-tree.vue')['default']>;
100
+ ApiTreeSelect: ExtractPropTypes<typeof import('../components/api-tree-select.vue')['default']>;
101
+ ApiRadioGroup: ExtractPropTypes<typeof import('../components/api-radio-group.vue')['default']>;
102
+ RadioButtonGroup: ExtractPropTypes<typeof import('../components/radio-button-group.vue')['default']>;
103
+ ApiCascader: ExtractPropTypes<typeof import('../components/api-cascader.vue')['default']>;
104
+ StrengthMeter: ExtractPropTypes<typeof import('../../strength-meter/strength-meter.vue')['default']>;
105
+ IconPicker: ExtractPropTypes<typeof import('../../icon-picker/icon-picker.vue')['default']>;
106
+ ApiTransfer: ExtractPropTypes<typeof import('../components/api-transfer.vue')['default']>;
107
+ CropperAvatar: ExtractPropTypes<typeof import('../../cropper/cropper-avatar.vue')['default']>;
108
+ BasicTitle: ExtractPropTypes<typeof import('../../basic/title.vue')['default']>;
109
+ InputCountDown: ExtractPropTypes<typeof import('../../count-down/input.vue')['default']>;
110
+ }
111
+ type CustomComponents<T = _CustomComponents> = {
112
+ [K in keyof T]: T[K] & MethodsNameTransform<T[K]>;
113
+ };
114
+ export interface ComponentProps {
115
+ Input: ExtractPropTypes<typeof import('ant-design-vue/es/input')['default']>;
116
+ InputGroup: ExtractPropTypes<typeof import('ant-design-vue/es/input')['InputGroup']>;
117
+ InputPassword: ExtractPropTypes<typeof import('ant-design-vue/es/input')['InputPassword']>;
118
+ InputSearch: ExtractPropTypes<typeof import('ant-design-vue/es/input')['InputSearch']>;
119
+ InputTextArea: ExtractPropTypes<typeof import('ant-design-vue/es/input')['Textarea']>;
120
+ InputNumber: ExtractPropTypes<typeof import('ant-design-vue/es/input-number')['default']>;
121
+ InputCountDown: CustomComponents['InputCountDown'] & ComponentProps['Input'];
122
+ Select: ExtractPropTypes<typeof import('ant-design-vue/es/select')['default']>;
123
+ ApiSelect: CustomComponents['ApiSelect'] & ComponentProps['Select'];
124
+ TreeSelect: ExtractPropTypes<typeof import('ant-design-vue/es/tree-select')['default']>;
125
+ ApiTree: CustomComponents['ApiTree'] & ExtractPropTypes<typeof import('ant-design-vue/es/tree')['default']>;
126
+ ApiTreeSelect: CustomComponents['ApiTreeSelect'] & ComponentProps['TreeSelect'];
127
+ ApiRadioGroup: CustomComponents['ApiRadioGroup'] & ComponentProps['RadioGroup'];
128
+ RadioButtonGroup: CustomComponents['RadioButtonGroup'] & ComponentProps['RadioGroup'];
129
+ RadioGroup: ExtractPropTypes<typeof import('ant-design-vue/es/radio')['RadioGroup']>;
130
+ Checkbox: ExtractPropTypes<typeof import('ant-design-vue/es/checkbox')['default']>;
131
+ CheckboxGroup: ExtractPropTypes<typeof import('ant-design-vue/es/checkbox')['CheckboxGroup']>;
132
+ AutoComplete: ExtractPropTypes<typeof import('ant-design-vue/es/auto-complete')['default']>;
133
+ ApiCascader: CustomComponents['ApiCascader'] & ComponentProps['Cascader'];
134
+ Cascader: ExtractPropTypes<typeof import('ant-design-vue/es/cascader')['default']>;
135
+ DatePicker: ExtractPropTypes<typeof import('ant-design-vue/es/date-picker')['default']>;
136
+ MonthPicker: ExtractPropTypes<typeof import('ant-design-vue/es/date-picker')['MonthPicker']>;
137
+ RangePicker: ExtractPropTypes<typeof import('ant-design-vue/es/date-picker')['RangePicker']>;
138
+ WeekPicker: ExtractPropTypes<typeof import('ant-design-vue/es/date-picker')['WeekPicker']>;
139
+ TimePicker: ExtractPropTypes<typeof import('ant-design-vue/es/time-picker')['TimePicker']>;
140
+ TimeRangePicker: ExtractPropTypes<typeof import('ant-design-vue/es/time-picker')['TimeRangePicker']>;
141
+ Switch: ExtractPropTypes<typeof import('ant-design-vue/es/switch')['default']>;
142
+ StrengthMeter: CustomComponents['StrengthMeter'] & ComponentProps['InputPassword'];
143
+ IconPicker: CustomComponents['IconPicker'];
144
+ Render: Record<string, any>;
145
+ Slider: ExtractPropTypes<typeof import('ant-design-vue/es/slider')['default']>;
146
+ Rate: ExtractPropTypes<typeof import('ant-design-vue/es/rate')['default']>;
147
+ Divider: ExtractPropTypes<typeof import('ant-design-vue/es/divider')['default']>;
148
+ ApiTransfer: CustomComponents['ApiTransfer'] & ComponentProps['Transfer'];
149
+ Transfer: ExtractPropTypes<typeof import('ant-design-vue/es/transfer')['default']>;
150
+ CropperAvatar: CustomComponents['CropperAvatar'];
151
+ BasicTitle: CustomComponents['BasicTitle'];
152
+ }
153
+ export interface AdvanceState {
154
+ isAdvanced: boolean;
155
+ hideAdvanceBtn: boolean;
156
+ isLoad: boolean;
157
+ actionSpan: number;
158
+ }
159
+ export {};
@@ -1,7 +1,7 @@
1
1
  import { Component, ComputedOptions, MethodOptions } from 'vue';
2
-
3
- export type ComponentType = 'Input' | 'InputNumber' | 'Select' | 'ApiSelect' | 'AutoComplete' | 'ApiTreeSelect' | 'Checkbox' | 'Switch' | 'DatePicker' | 'TimePicker' | 'RadioGroup' | 'RadioButtonGroup' | 'ApiRadioGroup';
4
- declare const componentMap: Map<ComponentType, Component<any, any, any, ComputedOptions, MethodOptions, {}, any>>;
5
- export declare function add(compName: ComponentType, component: Component): void;
6
- export declare function del(compName: ComponentType): void;
7
- export { componentMap };
2
+
3
+ export type ComponentType = 'Input' | 'InputNumber' | 'Select' | 'ApiSelect' | 'AutoComplete' | 'ApiTreeSelect' | 'Checkbox' | 'Switch' | 'DatePicker' | 'TimePicker' | 'RadioGroup' | 'RadioButtonGroup' | 'ApiRadioGroup';
4
+ declare const componentMap: Map<ComponentType, Component<any, any, any, ComputedOptions, MethodOptions, {}, any>>;
5
+ export declare function add(compName: ComponentType, component: Component): void;
6
+ export declare function del(compName: ComponentType): void;
7
+ export { componentMap };