@aplus-frontend/ui 0.1.5 → 0.1.6

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 (315) hide show
  1. package/es/src/ap-action/group/index.vue.d.ts +3 -30
  2. package/es/src/ap-action/item/index.vue.d.ts +3 -30
  3. package/es/src/ap-action/item-dropdown/index.vue.d.ts +10 -39
  4. package/es/src/ap-action/item-modal/index.vue.d.ts +6 -33
  5. package/es/src/ap-action/item-popconfirm/index.vue.d.ts +7 -33
  6. package/es/src/ap-custom-column/column-select.vue.d.ts +5 -14
  7. package/es/src/ap-custom-column/column-select.vue.mjs +32 -32
  8. package/es/src/ap-custom-column/custom-column.vue.d.ts +5 -14
  9. package/es/src/ap-custom-column/custom-column.vue.mjs +46 -46
  10. package/es/src/ap-descriptions/ap-descriptions.vue.d.ts +2 -11
  11. package/es/src/ap-descriptions/help-message/index.vue.d.ts +4 -13
  12. package/es/src/ap-download/ap-download.vue.d.ts +3 -28
  13. package/es/src/ap-field/checkbox/index.vue.d.ts +40 -31
  14. package/es/src/ap-field/date/index.vue.d.ts +19 -64
  15. package/es/src/ap-field/date-range/index.vue.d.ts +20 -66
  16. package/es/src/ap-field/number/index.vue.d.ts +138 -42
  17. package/es/src/ap-field/radio/index.vue.d.ts +51 -31
  18. package/es/src/ap-field/rate/index.vue.d.ts +46 -39
  19. package/es/src/ap-field/segmented/index.vue.d.ts +47 -32
  20. package/es/src/ap-field/select/index.vue.d.ts +192 -59
  21. package/es/src/ap-field/select/index.vue.mjs +10 -8
  22. package/es/src/ap-field/slider/index.vue.d.ts +115 -40
  23. package/es/src/ap-field/switch/index.vue.d.ts +60 -35
  24. package/es/src/ap-field/text/index.vue.d.ts +105 -38
  25. package/es/src/ap-field/text/password.vue.d.ts +113 -45
  26. package/es/src/ap-field/text-area/index.vue.d.ts +117 -38
  27. package/es/src/ap-form/ap-form-item-group/index.vue.d.ts +50 -32
  28. package/es/src/ap-form/ap-form-item-group/index.vue.mjs +30 -28
  29. package/es/src/ap-form/ap-form-item.vue.d.ts +128 -38
  30. package/es/src/ap-form/ap-form-list.vue.d.ts +2 -11
  31. package/es/src/ap-form/ap-form.vue.d.ts +238 -36
  32. package/es/src/ap-form/hooks/use-watch.d.ts +1 -1
  33. package/es/src/ap-form/items/checkbox/index.vue.d.ts +7 -37
  34. package/es/src/ap-form/items/date/index.vue.d.ts +131 -37
  35. package/es/src/ap-form/items/date-range/index.vue.d.ts +131 -37
  36. package/es/src/ap-form/items/number/index.vue.d.ts +132 -38
  37. package/es/src/ap-form/items/radio/index.vue.d.ts +8 -38
  38. package/es/src/ap-form/items/select/index.vue.d.ts +132 -38
  39. package/es/src/ap-form/items/switch/index.vue.d.ts +7 -39
  40. package/es/src/ap-form/items/text/index.vue.d.ts +132 -38
  41. package/es/src/ap-form/items/text/password.vue.d.ts +132 -38
  42. package/es/src/ap-form/items/text-area/index.vue.d.ts +9 -38
  43. package/es/src/ap-form/modal-form/index.vue.d.ts +17 -52
  44. package/es/src/ap-form/search-form/index.vue.d.ts +254 -50
  45. package/es/src/ap-layout/ap-info-layout/ap-info-layout.vue.d.ts +3 -26
  46. package/es/src/ap-list/index.vue.d.ts +3 -3
  47. package/es/src/ap-table/ap-table.vue.d.ts +2 -2
  48. package/es/src/ap-table/components/index/index.vue.d.ts +3 -24
  49. package/es/src/ap-table/components/status/index.vue.d.ts +2 -11
  50. package/es/src/ap-table/constants.d.ts +4015 -11858
  51. package/es/src/ap-table/hooks/use-table-content-height.d.ts +1 -1
  52. package/es/src/ap-table/hooks/use-table-paging.d.ts +7 -3
  53. package/es/src/ap-tag/ap-tag-group.vue.d.ts +3 -28
  54. package/es/src/ap-tag/ap-tag-group.vue.mjs +78 -78
  55. package/es/src/ap-tag/ap-tag.vue.d.ts +3 -28
  56. package/es/src/ap-upload/apUpload.vue.d.ts +23 -48
  57. package/es/src/ap-upload/components/MultipleFile.vue.d.ts +2 -2
  58. package/es/src/ap-upload/components/Picture.vue.d.ts +2 -2
  59. package/es/src/ap-upload/components/SingleFile.vue.d.ts +2 -2
  60. package/es/src/base-button/button.vue.d.ts +3 -24
  61. package/es/src/base-button/index.d.ts +7 -110
  62. package/es/src/base-button/modal-button.vue.d.ts +8 -14
  63. package/es/src/base-button/pop-confirm-button.vue.d.ts +7 -10
  64. package/es/src/basic/arrow.vue.d.ts +2 -11
  65. package/es/src/basic/help.vue.d.ts +324 -50
  66. package/es/src/basic/index.d.ts +667 -202
  67. package/es/src/basic/title.vue.d.ts +3 -24
  68. package/es/src/business/ap-batch-action/ApBatchAction.vue.d.ts +3 -21
  69. package/es/src/business/ap-batch-action/interface.d.ts +10 -0
  70. package/es/src/business/ap-export-group/ApExportGroup.vue.d.ts +2 -11
  71. package/es/src/business/ap-input-radio/ApInputRadio.vue.d.ts +34 -31
  72. package/es/src/business/ap-label/ApLabel.vue.d.ts +43 -32
  73. package/es/src/business/ap-select-layout/select-layout.vue.d.ts +6 -6
  74. package/es/src/business/ap-select-layout/select-layout.vue2.mjs +23 -23
  75. package/es/src/business/ap-status/ApStatus.vue.d.ts +3 -28
  76. package/es/src/business/ap-status/ApStatusGroup.vue.d.ts +3 -30
  77. package/es/src/business/expandAlert/ApExpandAlert.vue.d.ts +6 -73
  78. package/es/src/business/index.d.ts +196 -927
  79. package/es/src/business/title/ApTitle.vue.d.ts +3 -32
  80. package/es/src/button/button.vue.d.ts +2 -11
  81. package/es/src/button/index.d.ts +16 -32
  82. package/es/src/check-card/group.vue.d.ts +17 -41
  83. package/es/src/check-card/index.vue.d.ts +20 -35
  84. package/es/src/config-provider/config-provider.d.ts +41 -137
  85. package/es/src/config-provider/index.d.ts +161 -545
  86. package/es/src/container/collapse/header.vue.d.ts +11 -13
  87. package/es/src/container/collapse/index.vue.d.ts +11 -40
  88. package/es/src/container/index.d.ts +40 -119
  89. package/es/src/container/scroll-container.vue.d.ts +3 -12
  90. package/es/src/count-down/button.vue.d.ts +3 -24
  91. package/es/src/count-down/index.d.ts +12 -111
  92. package/es/src/count-down/input.vue.d.ts +3 -24
  93. package/es/src/cropper/cropper-avatar.vue.d.ts +6 -33
  94. package/es/src/cropper/cropper-image.vue.d.ts +5 -36
  95. package/es/src/cropper/cropper-modal.vue.d.ts +13 -21
  96. package/es/src/cropper/index.d.ts +24 -269
  97. package/es/src/description/description.vue.d.ts +15 -45
  98. package/es/src/description/index.d.ts +51 -171
  99. package/es/src/dropdown/dropdown.vue.d.ts +5 -30
  100. package/es/src/dropdown/index.d.ts +12 -76
  101. package/es/src/editable-table/form-item.vue.d.ts +4 -4
  102. package/es/src/editable-table/index.vue.d.ts +6 -7
  103. package/es/src/hooks/useControllableValue.d.ts +2 -2
  104. package/es/src/icon/icon.vue.d.ts +3 -29
  105. package/es/src/icon/index.d.ts +12 -159
  106. package/es/src/icon/svg-icon.vue.d.ts +3 -28
  107. package/es/src/icon-picker/icon-picker.vue.d.ts +5 -38
  108. package/es/src/icon-picker/index.d.ts +12 -139
  109. package/es/src/modal/basic.vue.d.ts +147 -117
  110. package/es/src/modal/components/modal-close.vue.d.ts +5 -26
  111. package/es/src/modal/components/modal-footer.vue.d.ts +146 -116
  112. package/es/src/modal/components/modal-header.vue.d.ts +2 -11
  113. package/es/src/modal/components/modal-wrapper.vue.d.ts +19 -43
  114. package/es/src/modal/components/modal.d.ts +145 -115
  115. package/es/src/modal/hooks/use-moda-full-screen.d.ts +1 -1
  116. package/es/src/modal/index.d.ts +287 -462
  117. package/es/src/pro-form/components/api-cascader.vue.d.ts +5 -38
  118. package/es/src/pro-form/components/api-radio-group.vue.d.ts +5 -36
  119. package/es/src/pro-form/components/api-select.vue.d.ts +5 -38
  120. package/es/src/pro-form/components/api-transfer.vue.d.ts +5 -40
  121. package/es/src/pro-form/components/api-tree-select.vue.d.ts +5 -36
  122. package/es/src/pro-form/components/api-tree.vue.d.ts +5 -28
  123. package/es/src/pro-form/components/form-action.vue.d.ts +5 -38
  124. package/es/src/pro-form/components/form-item.vue.d.ts +14 -34
  125. package/es/src/pro-form/components/radio-button-group.vue.d.ts +3 -24
  126. package/es/src/pro-form/hooks/use-break-point.d.ts +1 -1
  127. package/es/src/pro-form/pro-form.vue.d.ts +6 -57
  128. package/es/src/pro-form/table-form-inner.vue.d.ts +5 -34
  129. package/es/src/pro-form/table-form.vue.d.ts +4 -29
  130. package/es/src/pro-table/components/edit-table-header-icon.vue.d.ts +6 -9
  131. package/es/src/pro-table/components/editable/editable-cell.vue.d.ts +96 -26
  132. package/es/src/pro-table/components/header-cell.vue.d.ts +726 -9
  133. package/es/src/pro-table/components/settings/column-setting.vue.d.ts +3 -3
  134. package/es/src/pro-table/components/settings/full-screen-setting.vue.d.ts +2 -2
  135. package/es/src/pro-table/components/settings/index.vue.d.ts +8 -11
  136. package/es/src/pro-table/components/settings/redo-setting.vue.d.ts +2 -2
  137. package/es/src/pro-table/components/settings/size-setting.vue.d.ts +2 -2
  138. package/es/src/pro-table/components/table-action.vue.d.ts +10 -24
  139. package/es/src/pro-table/components/table-footer.vue.d.ts +5 -30
  140. package/es/src/pro-table/components/table-header.vue.d.ts +15 -31
  141. package/es/src/pro-table/components/table-image.vue.d.ts +3 -32
  142. package/es/src/pro-table/components/table-selection-bar.vue.d.ts +5 -26
  143. package/es/src/pro-table/components/table-title.vue.d.ts +7 -13
  144. package/es/src/pro-table/pro-table.vue.d.ts +8 -61
  145. package/es/src/prompt/dialog.vue.d.ts +2 -11
  146. package/es/src/scroll-bar/bar-item.d.ts +10 -9
  147. package/es/src/scroll-bar/index.d.ts +12 -135
  148. package/es/src/scroll-bar/scroll-bar.vue.d.ts +5 -36
  149. package/es/src/strength-meter/index.d.ts +12 -55
  150. package/es/src/strength-meter/strength-meter.vue.d.ts +5 -26
  151. package/es/src/tests/wrapper.d.ts +3 -6
  152. package/es/src/transition/collapse-transition.vue.d.ts +2 -2
  153. package/es/src/transition/create-transition.d.ts +13 -25
  154. package/es/src/transition/index.d.ts +88 -193
  155. package/es/src/work-order-modal/help-message.vue.d.ts +2 -2
  156. package/es/src/work-order-modal/help-message.vue2.mjs +19 -19
  157. package/es/src/work-order-modal/work-order-modal.vue.d.ts +6 -15
  158. package/lib/src/ap-action/group/index.vue.d.ts +3 -30
  159. package/lib/src/ap-action/item/index.vue.d.ts +3 -30
  160. package/lib/src/ap-action/item-dropdown/index.vue.d.ts +10 -39
  161. package/lib/src/ap-action/item-modal/index.vue.d.ts +6 -33
  162. package/lib/src/ap-action/item-popconfirm/index.vue.d.ts +7 -33
  163. package/lib/src/ap-custom-column/column-select.vue.d.ts +5 -14
  164. package/lib/src/ap-custom-column/column-select.vue.js +1 -1
  165. package/lib/src/ap-custom-column/custom-column.vue.d.ts +5 -14
  166. package/lib/src/ap-custom-column/custom-column.vue.js +1 -1
  167. package/lib/src/ap-descriptions/ap-descriptions.vue.d.ts +2 -11
  168. package/lib/src/ap-descriptions/help-message/index.vue.d.ts +4 -13
  169. package/lib/src/ap-download/ap-download.vue.d.ts +3 -28
  170. package/lib/src/ap-field/checkbox/index.vue.d.ts +40 -31
  171. package/lib/src/ap-field/date/index.vue.d.ts +19 -64
  172. package/lib/src/ap-field/date-range/index.vue.d.ts +20 -66
  173. package/lib/src/ap-field/number/index.vue.d.ts +138 -42
  174. package/lib/src/ap-field/radio/index.vue.d.ts +51 -31
  175. package/lib/src/ap-field/rate/index.vue.d.ts +46 -39
  176. package/lib/src/ap-field/segmented/index.vue.d.ts +47 -32
  177. package/lib/src/ap-field/select/index.vue.d.ts +192 -59
  178. package/lib/src/ap-field/select/index.vue.js +1 -1
  179. package/lib/src/ap-field/slider/index.vue.d.ts +115 -40
  180. package/lib/src/ap-field/switch/index.vue.d.ts +60 -35
  181. package/lib/src/ap-field/text/index.vue.d.ts +105 -38
  182. package/lib/src/ap-field/text/password.vue.d.ts +113 -45
  183. package/lib/src/ap-field/text-area/index.vue.d.ts +117 -38
  184. package/lib/src/ap-form/ap-form-item-group/index.vue.d.ts +50 -32
  185. package/lib/src/ap-form/ap-form-item-group/index.vue.js +1 -1
  186. package/lib/src/ap-form/ap-form-item.vue.d.ts +128 -38
  187. package/lib/src/ap-form/ap-form-list.vue.d.ts +2 -11
  188. package/lib/src/ap-form/ap-form.vue.d.ts +238 -36
  189. package/lib/src/ap-form/hooks/use-watch.d.ts +1 -1
  190. package/lib/src/ap-form/items/checkbox/index.vue.d.ts +7 -37
  191. package/lib/src/ap-form/items/date/index.vue.d.ts +131 -37
  192. package/lib/src/ap-form/items/date-range/index.vue.d.ts +131 -37
  193. package/lib/src/ap-form/items/number/index.vue.d.ts +132 -38
  194. package/lib/src/ap-form/items/radio/index.vue.d.ts +8 -38
  195. package/lib/src/ap-form/items/select/index.vue.d.ts +132 -38
  196. package/lib/src/ap-form/items/switch/index.vue.d.ts +7 -39
  197. package/lib/src/ap-form/items/text/index.vue.d.ts +132 -38
  198. package/lib/src/ap-form/items/text/password.vue.d.ts +132 -38
  199. package/lib/src/ap-form/items/text-area/index.vue.d.ts +9 -38
  200. package/lib/src/ap-form/modal-form/index.vue.d.ts +17 -52
  201. package/lib/src/ap-form/search-form/index.vue.d.ts +254 -50
  202. package/lib/src/ap-layout/ap-info-layout/ap-info-layout.vue.d.ts +3 -26
  203. package/lib/src/ap-list/index.vue.d.ts +3 -3
  204. package/lib/src/ap-table/ap-table.vue.d.ts +2 -2
  205. package/lib/src/ap-table/components/index/index.vue.d.ts +3 -24
  206. package/lib/src/ap-table/components/status/index.vue.d.ts +2 -11
  207. package/lib/src/ap-table/constants.d.ts +4015 -11858
  208. package/lib/src/ap-table/hooks/use-table-content-height.d.ts +1 -1
  209. package/lib/src/ap-table/hooks/use-table-paging.d.ts +7 -3
  210. package/lib/src/ap-tag/ap-tag-group.vue.d.ts +3 -28
  211. package/lib/src/ap-tag/ap-tag-group.vue.js +1 -1
  212. package/lib/src/ap-tag/ap-tag.vue.d.ts +3 -28
  213. package/lib/src/ap-upload/apUpload.vue.d.ts +23 -48
  214. package/lib/src/ap-upload/components/MultipleFile.vue.d.ts +2 -2
  215. package/lib/src/ap-upload/components/Picture.vue.d.ts +2 -2
  216. package/lib/src/ap-upload/components/SingleFile.vue.d.ts +2 -2
  217. package/lib/src/base-button/button.vue.d.ts +3 -24
  218. package/lib/src/base-button/index.d.ts +7 -110
  219. package/lib/src/base-button/modal-button.vue.d.ts +8 -14
  220. package/lib/src/base-button/pop-confirm-button.vue.d.ts +7 -10
  221. package/lib/src/basic/arrow.vue.d.ts +2 -11
  222. package/lib/src/basic/help.vue.d.ts +324 -50
  223. package/lib/src/basic/index.d.ts +667 -202
  224. package/lib/src/basic/title.vue.d.ts +3 -24
  225. package/lib/src/business/ap-batch-action/ApBatchAction.vue.d.ts +3 -21
  226. package/lib/src/business/ap-batch-action/interface.d.ts +10 -0
  227. package/lib/src/business/ap-export-group/ApExportGroup.vue.d.ts +2 -11
  228. package/lib/src/business/ap-input-radio/ApInputRadio.vue.d.ts +34 -31
  229. package/lib/src/business/ap-label/ApLabel.vue.d.ts +43 -32
  230. package/lib/src/business/ap-select-layout/select-layout.vue.d.ts +6 -6
  231. package/lib/src/business/ap-select-layout/select-layout.vue2.js +1 -1
  232. package/lib/src/business/ap-status/ApStatus.vue.d.ts +3 -28
  233. package/lib/src/business/ap-status/ApStatusGroup.vue.d.ts +3 -30
  234. package/lib/src/business/expandAlert/ApExpandAlert.vue.d.ts +6 -73
  235. package/lib/src/business/index.d.ts +196 -927
  236. package/lib/src/business/title/ApTitle.vue.d.ts +3 -32
  237. package/lib/src/button/button.vue.d.ts +2 -11
  238. package/lib/src/button/index.d.ts +16 -32
  239. package/lib/src/check-card/group.vue.d.ts +17 -41
  240. package/lib/src/check-card/index.vue.d.ts +20 -35
  241. package/lib/src/config-provider/config-provider.d.ts +41 -137
  242. package/lib/src/config-provider/index.d.ts +161 -545
  243. package/lib/src/container/collapse/header.vue.d.ts +11 -13
  244. package/lib/src/container/collapse/index.vue.d.ts +11 -40
  245. package/lib/src/container/index.d.ts +40 -119
  246. package/lib/src/container/scroll-container.vue.d.ts +3 -12
  247. package/lib/src/count-down/button.vue.d.ts +3 -24
  248. package/lib/src/count-down/index.d.ts +12 -111
  249. package/lib/src/count-down/input.vue.d.ts +3 -24
  250. package/lib/src/cropper/cropper-avatar.vue.d.ts +6 -33
  251. package/lib/src/cropper/cropper-image.vue.d.ts +5 -36
  252. package/lib/src/cropper/cropper-modal.vue.d.ts +13 -21
  253. package/lib/src/cropper/index.d.ts +24 -269
  254. package/lib/src/description/description.vue.d.ts +15 -45
  255. package/lib/src/description/index.d.ts +51 -171
  256. package/lib/src/dropdown/dropdown.vue.d.ts +5 -30
  257. package/lib/src/dropdown/index.d.ts +12 -76
  258. package/lib/src/editable-table/form-item.vue.d.ts +4 -4
  259. package/lib/src/editable-table/index.vue.d.ts +6 -7
  260. package/lib/src/hooks/useControllableValue.d.ts +2 -2
  261. package/lib/src/icon/icon.vue.d.ts +3 -29
  262. package/lib/src/icon/index.d.ts +12 -159
  263. package/lib/src/icon/svg-icon.vue.d.ts +3 -28
  264. package/lib/src/icon-picker/icon-picker.vue.d.ts +5 -38
  265. package/lib/src/icon-picker/index.d.ts +12 -139
  266. package/lib/src/modal/basic.vue.d.ts +147 -117
  267. package/lib/src/modal/components/modal-close.vue.d.ts +5 -26
  268. package/lib/src/modal/components/modal-footer.vue.d.ts +146 -116
  269. package/lib/src/modal/components/modal-header.vue.d.ts +2 -11
  270. package/lib/src/modal/components/modal-wrapper.vue.d.ts +19 -43
  271. package/lib/src/modal/components/modal.d.ts +145 -115
  272. package/lib/src/modal/hooks/use-moda-full-screen.d.ts +1 -1
  273. package/lib/src/modal/index.d.ts +287 -462
  274. package/lib/src/pro-form/components/api-cascader.vue.d.ts +5 -38
  275. package/lib/src/pro-form/components/api-radio-group.vue.d.ts +5 -36
  276. package/lib/src/pro-form/components/api-select.vue.d.ts +5 -38
  277. package/lib/src/pro-form/components/api-transfer.vue.d.ts +5 -40
  278. package/lib/src/pro-form/components/api-tree-select.vue.d.ts +5 -36
  279. package/lib/src/pro-form/components/api-tree.vue.d.ts +5 -28
  280. package/lib/src/pro-form/components/form-action.vue.d.ts +5 -38
  281. package/lib/src/pro-form/components/form-item.vue.d.ts +14 -34
  282. package/lib/src/pro-form/components/radio-button-group.vue.d.ts +3 -24
  283. package/lib/src/pro-form/hooks/use-break-point.d.ts +1 -1
  284. package/lib/src/pro-form/pro-form.vue.d.ts +6 -57
  285. package/lib/src/pro-form/table-form-inner.vue.d.ts +5 -34
  286. package/lib/src/pro-form/table-form.vue.d.ts +4 -29
  287. package/lib/src/pro-table/components/edit-table-header-icon.vue.d.ts +6 -9
  288. package/lib/src/pro-table/components/editable/editable-cell.vue.d.ts +96 -26
  289. package/lib/src/pro-table/components/header-cell.vue.d.ts +726 -9
  290. package/lib/src/pro-table/components/settings/column-setting.vue.d.ts +3 -3
  291. package/lib/src/pro-table/components/settings/full-screen-setting.vue.d.ts +2 -2
  292. package/lib/src/pro-table/components/settings/index.vue.d.ts +8 -11
  293. package/lib/src/pro-table/components/settings/redo-setting.vue.d.ts +2 -2
  294. package/lib/src/pro-table/components/settings/size-setting.vue.d.ts +2 -2
  295. package/lib/src/pro-table/components/table-action.vue.d.ts +10 -24
  296. package/lib/src/pro-table/components/table-footer.vue.d.ts +5 -30
  297. package/lib/src/pro-table/components/table-header.vue.d.ts +15 -31
  298. package/lib/src/pro-table/components/table-image.vue.d.ts +3 -32
  299. package/lib/src/pro-table/components/table-selection-bar.vue.d.ts +5 -26
  300. package/lib/src/pro-table/components/table-title.vue.d.ts +7 -13
  301. package/lib/src/pro-table/pro-table.vue.d.ts +8 -61
  302. package/lib/src/prompt/dialog.vue.d.ts +2 -11
  303. package/lib/src/scroll-bar/bar-item.d.ts +10 -9
  304. package/lib/src/scroll-bar/index.d.ts +12 -135
  305. package/lib/src/scroll-bar/scroll-bar.vue.d.ts +5 -36
  306. package/lib/src/strength-meter/index.d.ts +12 -55
  307. package/lib/src/strength-meter/strength-meter.vue.d.ts +5 -26
  308. package/lib/src/tests/wrapper.d.ts +3 -6
  309. package/lib/src/transition/collapse-transition.vue.d.ts +2 -2
  310. package/lib/src/transition/create-transition.d.ts +13 -25
  311. package/lib/src/transition/index.d.ts +88 -193
  312. package/lib/src/work-order-modal/help-message.vue.d.ts +2 -2
  313. package/lib/src/work-order-modal/help-message.vue2.js +1 -1
  314. package/lib/src/work-order-modal/work-order-modal.vue.d.ts +6 -15
  315. package/package.json +2 -2
@@ -3,7 +3,7 @@ export type TableContentHeightOptions = {
3
3
  offset?: number;
4
4
  };
5
5
  declare const useTableContentHeight: (options?: TableContentHeightOptions) => {
6
- contentRef: Ref<HTMLDivElement | undefined>;
6
+ contentRef: Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
7
7
  height: ComputedRef<number>;
8
8
  };
9
9
  export default useTableContentHeight;
@@ -52,7 +52,7 @@ export type UseTablePagingParams<DataType, ParamsType> = {
52
52
  sortFields?: string[];
53
53
  };
54
54
  export declare const useTablePaging: <DataType = any, ParamsType = Record<string, any>>({ manual, defaultCurrent, defaultPageSize, request, defaultParams, defaultData, formatParams, paramsValueTypeMap, resetFieldsIgnores, filterFields, sortFields }: UseTablePagingParams<DataType, ParamsType>) => {
55
- formRef: Ref<ApFormSearchFormExpose | undefined>;
55
+ formRef: Ref<ApFormSearchFormExpose | undefined, ApFormSearchFormExpose | undefined>;
56
56
  submit: () => void;
57
57
  reset: () => void;
58
58
  refresh: () => void;
@@ -61,9 +61,13 @@ export declare const useTablePaging: <DataType = any, ParamsType = Record<string
61
61
  total: number;
62
62
  records: DataType[];
63
63
  loading: boolean;
64
+ }, {
65
+ total: number;
66
+ records: DataType[];
67
+ loading: boolean;
64
68
  }>;
65
- current: Ref<number>;
66
- pageSize: Ref<number>;
69
+ current: Ref<number, number>;
70
+ pageSize: Ref<number, number>;
67
71
  handleTableChange: (pagination: TablePaginationConfig, filters: Record<string, FilterValue | null>, sorter: SorterResult<any> | SorterResult<any>[], extra: TableCurrentDataSource<any>) => void;
68
72
  tableProps: ComputedRef<{
69
73
  loading: boolean;
@@ -1,45 +1,20 @@
1
1
  import { ApTagGroupProps, ApTagProps, EllipsisProps } from './interface';
2
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
3
  type ApTagGroupSlots = {
4
4
  tooltip?: (props: {
5
5
  tags: ApTagProps[];
6
6
  }) => void;
7
7
  };
8
8
  declare function __VLS_template(): Readonly<ApTagGroupSlots> & ApTagGroupSlots;
9
- declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ApTagGroupProps>, {
10
- list: () => ApTagProps[];
11
- space: number;
12
- ellipsis: () => {};
13
- }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ApTagGroupProps>, {
14
- list: () => ApTagProps[];
15
- space: number;
16
- ellipsis: () => {};
17
- }>>>, {
9
+ declare const __VLS_component: DefineComponent<ApTagGroupProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApTagGroupProps & {}>, {
18
10
  ellipsis: EllipsisProps;
19
11
  space: number;
20
12
  list: ApTagProps[];
21
- }, {}>;
13
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}>;
22
14
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
23
15
  export default _default;
24
- type __VLS_WithDefaults<P, D> = {
25
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
26
- default: D[K];
27
- }> : P[K];
28
- };
29
- type __VLS_Prettify<T> = {
30
- [K in keyof T]: T[K];
31
- } & {};
32
16
  type __VLS_WithTemplateSlots<T, S> = T & {
33
17
  new (): {
34
18
  $slots: S;
35
19
  };
36
20
  };
37
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
38
- type __VLS_TypePropsToOption<T> = {
39
- [K in keyof T]-?: {} extends Pick<T, K> ? {
40
- type: PropType<__VLS_NonUndefinedable<T[K]>>;
41
- } : {
42
- type: PropType<T[K]>;
43
- required: true;
44
- };
45
- };
@@ -1,4 +1,4 @@
1
- import { createElementVNode as t, defineComponent as N, ref as v, computed as s, unref as o, nextTick as g, watch as P, onMounted as S, onUnmounted as j, openBlock as u, createBlock as h, mergeProps as _, withCtx as y, renderSlot as q, createTextVNode as G, toDisplayString as k, normalizeClass as b, normalizeStyle as E, createElementBlock as B, Fragment as R, renderList as I, createCommentVNode as U } from "vue";
1
+ import { defineComponent as N, ref as v, computed as s, unref as r, nextTick as g, watch as P, onMounted as S, onUnmounted as j, openBlock as u, createBlock as h, mergeProps as _, withCtx as y, renderSlot as q, createTextVNode as G, toDisplayString as k, createElementVNode as t, normalizeClass as b, normalizeStyle as E, createElementBlock as B, Fragment as R, renderList as I, createCommentVNode as U } from "vue";
2
2
  import { Tooltip as H } from "ant-design-vue";
3
3
  import J from "@ant-design/icons-vue";
4
4
  import "./ap-tag.vue2.mjs";
@@ -9,59 +9,7 @@ import { useLocale as O } from "../config-provider/hooks/use-locale.mjs";
9
9
  import { useGlobalConfig as Q } from "../config-provider/hooks/use-global-config.mjs";
10
10
  import { useNamespace as X } from "../config-provider/hooks/use-namespace.mjs";
11
11
  import Y from "./ap-tag.vue.mjs";
12
- const Z = /* @__PURE__ */ t("svg", {
13
- xmlns: "http://www.w3.org/2000/svg",
14
- "xmlns:xlink": "http://www.w3.org/1999/xlink",
15
- fill: "none",
16
- version: "1.1",
17
- width: "16",
18
- height: "16",
19
- viewBox: "0 0 16 16"
20
- }, [
21
- /* @__PURE__ */ t("defs", null, [
22
- /* @__PURE__ */ t("clipPath", { id: "master_svg0_1133_24991" }, [
23
- /* @__PURE__ */ t("rect", {
24
- x: "0",
25
- y: "0",
26
- width: "16",
27
- height: "16",
28
- rx: "0"
29
- })
30
- ])
31
- ]),
32
- /* @__PURE__ */ t("g", { "clip-path": "url(#master_svg0_1133_24991)" }, [
33
- /* @__PURE__ */ t("g", null, [
34
- /* @__PURE__ */ t("ellipse", {
35
- cx: "8",
36
- cy: "8",
37
- rx: "1",
38
- ry: "1",
39
- fill: "currentColor",
40
- "fill-opacity": "1"
41
- })
42
- ]),
43
- /* @__PURE__ */ t("g", null, [
44
- /* @__PURE__ */ t("ellipse", {
45
- cx: "3.25",
46
- cy: "8",
47
- rx: "1",
48
- ry: "1",
49
- fill: "currentColor",
50
- "fill-opacity": "1"
51
- })
52
- ]),
53
- /* @__PURE__ */ t("g", null, [
54
- /* @__PURE__ */ t("ellipse", {
55
- cx: "12.75",
56
- cy: "8",
57
- rx: "1",
58
- ry: "1",
59
- fill: "currentColor",
60
- "fill-opacity": "1"
61
- })
62
- ])
63
- ])
64
- ], -1), pe = /* @__PURE__ */ N({
12
+ const ce = /* @__PURE__ */ N({
65
13
  __name: "ap-tag-group",
66
14
  props: {
67
15
  list: { default: () => [] },
@@ -70,32 +18,32 @@ const Z = /* @__PURE__ */ t("svg", {
70
18
  ellipsis: { default: () => ({}) }
71
19
  },
72
20
  setup(T) {
73
- const { t: V } = O(), l = T, z = Q("uiMode"), { b: L, bm: x } = X("tag-group"), c = v(), r = s(() => ({
21
+ const { t: V } = O(), o = T, z = Q("uiMode"), { b: L, bm: x } = X("tag-group"), c = v(), i = s(() => ({
74
22
  ...{
75
23
  iconColor: "#34B77C",
76
24
  symbol: "icon",
77
25
  text: V("ap.common.more")
78
26
  },
79
- ...l.ellipsis
80
- })), M = s(() => r.value.tooltip && typeof r.value.tooltip == "object" ? K(r.value.tooltip, ["trigger", "title"]) : {}), d = s(() => o(n) < l.list.length), $ = s(() => l.list.slice(0, o(n))), n = v(0), p = v(0), m = v(l.list.length), W = s(() => l.list.map((e) => e.text).join("、")), A = s(() => [L()].filter(Boolean)), D = s(() => z.value === "aplus" ? [x("ellipsis-text", "aplus")] : [x("ellipsis-text", "admin")]), f = () => {
27
+ ...o.ellipsis
28
+ })), M = s(() => i.value.tooltip && typeof i.value.tooltip == "object" ? K(i.value.tooltip, ["trigger", "title"]) : {}), d = s(() => r(n) < o.list.length), $ = s(() => o.list.slice(0, r(n))), n = v(0), p = v(0), m = v(o.list.length), W = s(() => o.list.map((e) => e.text).join("、")), A = s(() => [L()].filter(Boolean)), D = s(() => z.value === "aplus" ? [x("ellipsis-text", "aplus")] : [x("ellipsis-text", "admin")]), f = () => {
81
29
  if (!c.value) return;
82
- const e = c.value.scrollWidth, i = c.value.clientWidth;
83
- if (o(p) <= o(m)) {
84
- const a = Math.floor((o(p) + o(m)) / 2);
85
- e <= i ? (n.value = a, p.value = a + 1) : m.value = a - 1, g(() => {
30
+ const e = c.value.scrollWidth, l = c.value.clientWidth;
31
+ if (r(p) <= r(m)) {
32
+ const a = Math.floor((r(p) + r(m)) / 2);
33
+ e <= l ? (n.value = a, p.value = a + 1) : m.value = a - 1, g(() => {
86
34
  requestAnimationFrame(f);
87
35
  });
88
36
  } else
89
- e > i && (n.value = n.value - 1, g(() => {
37
+ e > l && (n.value = n.value - 1, g(() => {
90
38
  requestAnimationFrame(f);
91
39
  }));
92
40
  }, w = () => {
93
- p.value = 0, m.value = l.list.length, n.value = 0;
41
+ p.value = 0, m.value = o.list.length, n.value = 0;
94
42
  };
95
43
  P(
96
- () => l.list,
97
- (e, i) => {
98
- e !== i && (w(), g(() => f()));
44
+ () => o.list,
45
+ (e, l) => {
46
+ e !== l && (w(), g(() => f()));
99
47
  },
100
48
  {
101
49
  immediate: !0
@@ -106,15 +54,15 @@ const Z = /* @__PURE__ */ t("svg", {
106
54
  };
107
55
  return S(() => {
108
56
  [["ellipsisColor", "ellipse.color"]].forEach(
109
- ([e, i]) => {
110
- l[e] && console.error(
111
- `[ApTagGroup]: \`${e}\` is deprecated, please use \`${i}\` instead.`
57
+ ([e, l]) => {
58
+ o[e] && console.error(
59
+ `[ApTagGroup]: \`${e}\` is deprecated, please use \`${l}\` instead.`
112
60
  );
113
61
  }
114
62
  ), window.addEventListener("resize", C);
115
63
  }), j(() => {
116
64
  window.removeEventListener("resize", C);
117
- }), (e, i) => (u(), h(o(H), _({ trigger: "hover" }, M.value), {
65
+ }), (e, l) => (u(), h(r(H), _({ trigger: "hover" }, M.value), {
118
66
  title: y(() => [
119
67
  q(e.$slots, "tooltip", { tags: e.list }, () => [
120
68
  G(k(W.value), 1)
@@ -135,18 +83,70 @@ const Z = /* @__PURE__ */ t("svg", {
135
83
  marginRight: `${e.space}px`
136
84
  }
137
85
  }), null, 16, ["style"]))), 128)),
138
- d.value && r.value.symbol === "icon" ? (u(), h(o(J), {
86
+ d.value && i.value.symbol === "icon" ? (u(), h(r(J), {
139
87
  key: 0,
140
- style: E({ color: e.ellipsisColor || r.value.iconColor })
88
+ style: E({ color: e.ellipsisColor || i.value.iconColor })
141
89
  }, {
142
- component: y(() => [
143
- Z
144
- ]),
90
+ component: y(() => l[0] || (l[0] = [
91
+ t("svg", {
92
+ xmlns: "http://www.w3.org/2000/svg",
93
+ "xmlns:xlink": "http://www.w3.org/1999/xlink",
94
+ fill: "none",
95
+ version: "1.1",
96
+ width: "16",
97
+ height: "16",
98
+ viewBox: "0 0 16 16"
99
+ }, [
100
+ t("defs", null, [
101
+ t("clipPath", { id: "master_svg0_1133_24991" }, [
102
+ t("rect", {
103
+ x: "0",
104
+ y: "0",
105
+ width: "16",
106
+ height: "16",
107
+ rx: "0"
108
+ })
109
+ ])
110
+ ]),
111
+ t("g", { "clip-path": "url(#master_svg0_1133_24991)" }, [
112
+ t("g", null, [
113
+ t("ellipse", {
114
+ cx: "8",
115
+ cy: "8",
116
+ rx: "1",
117
+ ry: "1",
118
+ fill: "currentColor",
119
+ "fill-opacity": "1"
120
+ })
121
+ ]),
122
+ t("g", null, [
123
+ t("ellipse", {
124
+ cx: "3.25",
125
+ cy: "8",
126
+ rx: "1",
127
+ ry: "1",
128
+ fill: "currentColor",
129
+ "fill-opacity": "1"
130
+ })
131
+ ]),
132
+ t("g", null, [
133
+ t("ellipse", {
134
+ cx: "12.75",
135
+ cy: "8",
136
+ rx: "1",
137
+ ry: "1",
138
+ fill: "currentColor",
139
+ "fill-opacity": "1"
140
+ })
141
+ ])
142
+ ])
143
+ ], -1)
144
+ ])),
145
145
  _: 1
146
- }, 8, ["style"])) : d.value && r.value.symbol === "text" ? (u(), B("span", {
146
+ }, 8, ["style"])) : d.value && i.value.symbol === "text" ? (u(), B("span", {
147
147
  key: 1,
148
148
  class: b(D.value)
149
- }, k(r.value.text), 3)) : U("", !0)
149
+ }, k(i.value.text), 3)) : U("", !0)
150
150
  ], 6)
151
151
  ]),
152
152
  _: 3
@@ -154,5 +154,5 @@ const Z = /* @__PURE__ */ t("svg", {
154
154
  }
155
155
  });
156
156
  export {
157
- pe as default
157
+ ce as default
158
158
  };
@@ -1,33 +1,8 @@
1
1
  import { ApTagProps } from './interface';
2
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
3
- declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ApTagProps>, {
4
- size: string;
5
- color: string;
6
- disabled: boolean;
7
- }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ApTagProps>, {
8
- size: string;
9
- color: string;
10
- disabled: boolean;
11
- }>>>, {
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ declare const _default: DefineComponent<ApTagProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApTagProps & {}>, {
12
4
  size: "small" | "middle" | "large";
13
5
  disabled: boolean;
14
6
  color: string;
15
- }, {}>;
7
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}>;
16
8
  export default _default;
17
- type __VLS_WithDefaults<P, D> = {
18
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
19
- default: D[K];
20
- }> : P[K];
21
- };
22
- type __VLS_Prettify<T> = {
23
- [K in keyof T]: T[K];
24
- } & {};
25
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
26
- type __VLS_TypePropsToOption<T> = {
27
- [K in keyof T]-?: {} extends Pick<T, K> ? {
28
- type: PropType<__VLS_NonUndefinedable<T[K]>>;
29
- } : {
30
- type: PropType<T[K]>;
31
- required: true;
32
- };
33
- };
@@ -1,8 +1,8 @@
1
- import { PropType, VNode, DefineComponent, ComputedRef, ComponentOptionsMixin, PublicProps, ExtractPropTypes, RendererNode, RendererElement } from 'vue';
1
+ import { PropType, VNode, DefineComponent, ExtractPropTypes, ComputedRef, ComponentOptionsMixin, PublicProps, RendererNode, RendererElement, ComponentProvideOptions } from 'vue';
2
2
  import { FileUploadType, BeforeUpload, CustomRequest } from './apUploadTypes';
3
3
  import { GetOssAccess } from './hooks/useOss';
4
4
  declare function clear(): void;
5
- declare const _default: DefineComponent<{
5
+ declare const _default: DefineComponent<ExtractPropTypes<{
6
6
  dirName: {
7
7
  type: StringConstructor;
8
8
  };
@@ -43,60 +43,35 @@ declare const _default: DefineComponent<{
43
43
  getOssAccess: {
44
44
  type: PropType<GetOssAccess>;
45
45
  };
46
- }, {
46
+ }>, {
47
47
  done: ComputedRef<boolean>;
48
48
  clear: typeof clear;
49
- }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
49
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
50
50
  "update:value": (...args: any[]) => void;
51
- }, string, PublicProps, Readonly< ExtractPropTypes<{
52
- dirName: {
53
- type: StringConstructor;
54
- };
55
- type: {
56
- type: PropType<FileUploadType>;
57
- default: string;
58
- };
59
- value: {
60
- type: (ObjectConstructor | StringConstructor | ArrayConstructor)[];
61
- default: undefined;
62
- };
63
- needName: {
64
- type: (BooleanConstructor | ObjectConstructor)[];
65
- };
66
- accept: {
67
- type: StringConstructor;
68
- };
69
- maxSize: {
70
- type: NumberConstructor;
71
- };
72
- title: {
73
- type: StringConstructor;
74
- default: string;
75
- };
76
- subTitle: {
77
- type: (StringConstructor | (() => VNode))[];
78
- default: string;
79
- };
80
- maxCount: {
81
- type: NumberConstructor;
82
- };
83
- beforeUpload: {
84
- type: PropType<BeforeUpload>;
85
- };
86
- customRequest: {
87
- type: PropType<CustomRequest>;
88
- };
89
- getOssAccess: {
90
- type: PropType<GetOssAccess>;
91
- };
92
- }>> & {
51
+ }, string, PublicProps, Readonly<{
52
+ type: FileUploadType;
53
+ title: string;
54
+ subTitle: string | VNode< RendererNode, RendererElement, {
55
+ [key: string]: any;
56
+ }>;
57
+ } & {
58
+ value?: string | unknown[] | Record<string, any> | undefined;
59
+ accept?: string | undefined;
60
+ beforeUpload?: BeforeUpload | undefined;
61
+ customRequest?: CustomRequest | undefined;
62
+ maxCount?: number | undefined;
63
+ getOssAccess?: GetOssAccess | undefined;
64
+ dirName?: string | undefined;
65
+ needName?: boolean | Record<string, any> | undefined;
66
+ maxSize?: number | undefined;
67
+ } & {
93
68
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
94
- }, {
69
+ }>, {
95
70
  type: FileUploadType;
96
71
  title: string;
97
72
  value: string | unknown[] | Record<string, any>;
98
73
  subTitle: string | VNode< RendererNode, RendererElement, {
99
74
  [key: string]: any;
100
75
  }>;
101
- }, {}>;
76
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}>;
102
77
  export default _default;
@@ -1,3 +1,3 @@
1
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
2
- declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{}>>, {}, {}>;
1
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
+ declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}>;
3
3
  export default _default;
@@ -1,3 +1,3 @@
1
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
2
- declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{}>>, {}, {}>;
1
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
+ declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}>;
3
3
  export default _default;
@@ -1,3 +1,3 @@
1
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
2
- declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{}>>, {}, {}>;
1
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
+ declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}>;
3
3
  export default _default;
@@ -1,37 +1,16 @@
1
- import { ComponentOptionsMixin, DefineComponent, PublicProps, ExtractPropTypes, PropType } from 'vue';
1
+ import { ComponentOptionsMixin, DefineComponent, PublicProps, ComponentProvideOptions } from 'vue';
2
2
  import { ButtonProps } from './interface';
3
3
  declare function __VLS_template(): {
4
4
  icon?(_: {}): any;
5
5
  default?(_: any): any;
6
6
  };
7
- declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ButtonProps>, {
7
+ declare const __VLS_component: DefineComponent<ButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ButtonProps & {}>, {
8
8
  iconSize: number;
9
- }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ButtonProps>, {
10
- iconSize: number;
11
- }>>>, {
12
- iconSize: number;
13
- }, {}>;
9
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}>;
14
10
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
15
11
  export default _default;
16
- type __VLS_WithDefaults<P, D> = {
17
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
18
- default: D[K];
19
- }> : P[K];
20
- };
21
- type __VLS_Prettify<T> = {
22
- [K in keyof T]: T[K];
23
- } & {};
24
12
  type __VLS_WithTemplateSlots<T, S> = T & {
25
13
  new (): {
26
14
  $slots: S;
27
15
  };
28
16
  };
29
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
30
- type __VLS_TypePropsToOption<T> = {
31
- [K in keyof T]-?: {} extends Pick<T, K> ? {
32
- type: PropType<__VLS_NonUndefinedable<T[K]>>;
33
- } : {
34
- type: PropType<T[K]>;
35
- required: true;
36
- };
37
- };
@@ -1,131 +1,28 @@
1
1
  import { default as ModalButton } from './modal-button.vue';
2
2
  import { default as PopConfirmButton } from './pop-confirm-button.vue';
3
- import { CreateComponentPublicInstance, ExtractPropTypes, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase, Plugin } from 'vue';
3
+ import { CreateComponentPublicInstanceWithMixins, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, ComponentOptionsBase, Plugin } from 'vue';
4
+ import { ButtonProps } from './interface';
4
5
  export * from './interface';
5
6
  export { ModalButton, PopConfirmButton };
6
7
  export declare const BaseButton: {
7
- new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
8
- onClick: {
9
- type: PropType<() => void>;
10
- };
11
- loading: {
12
- type: PropType<boolean>;
13
- };
14
- disabled: {
15
- type: PropType<boolean>;
16
- };
17
- text: {
18
- type: PropType<string>;
19
- };
20
- color: {
21
- type: PropType<"error" | "success" | "warning" | "primary">;
22
- };
23
- preIcon: {
24
- type: PropType<string>;
25
- };
26
- postIcon: {
27
- type: PropType<string>;
28
- };
29
- iconSize: {
30
- type: PropType<number>;
31
- default: number;
32
- };
33
- }>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
34
- onClick: {
35
- type: PropType<() => void>;
36
- };
37
- loading: {
38
- type: PropType<boolean>;
39
- };
40
- disabled: {
41
- type: PropType<boolean>;
42
- };
43
- text: {
44
- type: PropType<string>;
45
- };
46
- color: {
47
- type: PropType<"error" | "success" | "warning" | "primary">;
48
- };
49
- preIcon: {
50
- type: PropType<string>;
51
- };
52
- postIcon: {
53
- type: PropType<string>;
54
- };
55
- iconSize: {
56
- type: PropType<number>;
57
- default: number;
58
- };
59
- }>>, {
8
+ new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly< ButtonProps & {}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ButtonProps & {}>, {
60
9
  iconSize: number;
61
- }, true, {}, {}, {
10
+ }, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, ComponentProvideOptions, {
62
11
  P: {};
63
12
  B: {};
64
13
  D: {};
65
14
  C: {};
66
15
  M: {};
67
16
  Defaults: {};
68
- }, Readonly< ExtractPropTypes<{
69
- onClick: {
70
- type: PropType<() => void>;
71
- };
72
- loading: {
73
- type: PropType<boolean>;
74
- };
75
- disabled: {
76
- type: PropType<boolean>;
77
- };
78
- text: {
79
- type: PropType<string>;
80
- };
81
- color: {
82
- type: PropType<"error" | "success" | "warning" | "primary">;
83
- };
84
- preIcon: {
85
- type: PropType<string>;
86
- };
87
- postIcon: {
88
- type: PropType<string>;
89
- };
90
- iconSize: {
91
- type: PropType<number>;
92
- default: number;
93
- };
94
- }>>, {}, {}, {}, {}, {
17
+ }, Readonly< ButtonProps & {}>, {}, {}, {}, {}, {
95
18
  iconSize: number;
96
19
  }>;
97
20
  __isFragment?: never;
98
21
  __isTeleport?: never;
99
22
  __isSuspense?: never;
100
- } & ComponentOptionsBase<Readonly< ExtractPropTypes<{
101
- onClick: {
102
- type: PropType<() => void>;
103
- };
104
- loading: {
105
- type: PropType<boolean>;
106
- };
107
- disabled: {
108
- type: PropType<boolean>;
109
- };
110
- text: {
111
- type: PropType<string>;
112
- };
113
- color: {
114
- type: PropType<"error" | "success" | "warning" | "primary">;
115
- };
116
- preIcon: {
117
- type: PropType<string>;
118
- };
119
- postIcon: {
120
- type: PropType<string>;
121
- };
122
- iconSize: {
123
- type: PropType<number>;
124
- default: number;
125
- };
126
- }>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
23
+ } & ComponentOptionsBase<Readonly< ButtonProps & {}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
127
24
  iconSize: number;
128
- }, {}, string, {}> & ( VNodeProps & AllowedComponentProps & ( ComponentCustomProps & (new () => {
25
+ }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & ( VNodeProps & AllowedComponentProps & ( ComponentCustomProps & (new () => {
129
26
  $slots: {
130
27
  icon?(_: {}): any;
131
28
  default?(_: any): any;