@aplus-frontend/ui 0.1.8 → 0.1.10

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 (359) hide show
  1. package/es/index.mjs +57 -56
  2. package/es/src/ap-action/group/index.vue.d.ts +30 -3
  3. package/es/src/ap-action/item/index.vue.d.ts +30 -3
  4. package/es/src/ap-action/item-dropdown/index.vue.d.ts +39 -10
  5. package/es/src/ap-action/item-modal/index.vue.d.ts +33 -6
  6. package/es/src/ap-action/item-popconfirm/index.vue.d.ts +33 -7
  7. package/es/src/ap-custom-column/column-select.vue.d.ts +14 -5
  8. package/es/src/ap-custom-column/column-select.vue.mjs +32 -32
  9. package/es/src/ap-custom-column/custom-column.vue.d.ts +14 -5
  10. package/es/src/ap-custom-column/custom-column.vue.mjs +46 -46
  11. package/es/src/ap-descriptions/ap-descriptions.vue.d.ts +11 -2
  12. package/es/src/ap-descriptions/help-message/index.vue.d.ts +13 -4
  13. package/es/src/ap-download/ap-download.vue.d.ts +28 -3
  14. package/es/src/ap-field/checkbox/index.vue.d.ts +31 -40
  15. package/es/src/ap-field/date/index.vue.d.ts +64 -19
  16. package/es/src/ap-field/date-range/index.vue.d.ts +66 -20
  17. package/es/src/ap-field/interface.d.ts +4 -0
  18. package/es/src/ap-field/number/index.vue.d.ts +42 -138
  19. package/es/src/ap-field/radio/index.vue.d.ts +31 -51
  20. package/es/src/ap-field/rate/index.vue.d.ts +39 -46
  21. package/es/src/ap-field/segmented/index.vue.d.ts +32 -47
  22. package/es/src/ap-field/select/index.vue.d.ts +65 -192
  23. package/es/src/ap-field/select/index.vue.mjs +36 -31
  24. package/es/src/ap-field/slider/index.vue.d.ts +40 -115
  25. package/es/src/ap-field/switch/index.vue.d.ts +35 -60
  26. package/es/src/ap-field/text/index.vue.d.ts +38 -105
  27. package/es/src/ap-field/text/password.vue.d.ts +45 -113
  28. package/es/src/ap-field/text-area/index.vue.d.ts +38 -117
  29. package/es/src/ap-form/ap-form-item-group/index.vue.d.ts +32 -50
  30. package/es/src/ap-form/ap-form-item-group/index.vue.mjs +25 -30
  31. package/es/src/ap-form/ap-form-item.vue.d.ts +38 -128
  32. package/es/src/ap-form/ap-form-item.vue.mjs +52 -42
  33. package/es/src/ap-form/ap-form-list.vue.d.ts +11 -2
  34. package/es/src/ap-form/ap-form.vue.d.ts +36 -238
  35. package/es/src/ap-form/hooks/use-watch.d.ts +1 -1
  36. package/es/src/ap-form/items/checkbox/index.vue.d.ts +37 -7
  37. package/es/src/ap-form/items/date/index.vue.d.ts +37 -131
  38. package/es/src/ap-form/items/date-range/index.vue.d.ts +37 -131
  39. package/es/src/ap-form/items/number/index.vue.d.ts +38 -132
  40. package/es/src/ap-form/items/radio/index.vue.d.ts +38 -8
  41. package/es/src/ap-form/items/select/index.vue.d.ts +38 -132
  42. package/es/src/ap-form/items/switch/index.vue.d.ts +39 -7
  43. package/es/src/ap-form/items/text/index.vue.d.ts +38 -132
  44. package/es/src/ap-form/items/text/password.vue.d.ts +38 -132
  45. package/es/src/ap-form/items/text-area/index.vue.d.ts +38 -9
  46. package/es/src/ap-form/modal-form/index.vue.d.ts +52 -17
  47. package/es/src/ap-form/search-form/index.vue.d.ts +50 -254
  48. package/es/src/ap-layout/ap-info-layout/ap-info-layout.vue.d.ts +30 -3
  49. package/es/src/ap-layout/ap-info-layout/ap-info-layout.vue.mjs +33 -23
  50. package/es/src/ap-list/index.vue.d.ts +3 -3
  51. package/es/src/ap-table/ap-table.vue.d.ts +2 -2
  52. package/es/src/ap-table/ap-table.vue.mjs +158 -147
  53. package/es/src/ap-table/components/index/index.vue.d.ts +24 -3
  54. package/es/src/ap-table/components/status/index.vue.d.ts +11 -2
  55. package/es/src/ap-table/constants.d.ts +12396 -4527
  56. package/es/src/ap-table/hooks/use-table-content-height.d.ts +1 -1
  57. package/es/src/ap-table/hooks/use-table-paging.d.ts +7 -10
  58. package/es/src/ap-table/hooks/use-table-paging.mjs +63 -63
  59. package/es/src/ap-table/interface.d.ts +13 -1
  60. package/es/src/ap-tag/ap-tag-group.vue.d.ts +28 -3
  61. package/es/src/ap-tag/ap-tag-group.vue.mjs +88 -88
  62. package/es/src/ap-tag/ap-tag.vue.d.ts +28 -3
  63. package/es/src/ap-upload/apUpload.vue.d.ts +48 -23
  64. package/es/src/ap-upload/components/MultipleFile.vue.d.ts +2 -2
  65. package/es/src/ap-upload/components/Picture.vue.d.ts +2 -2
  66. package/es/src/ap-upload/components/SingleFile.vue.d.ts +2 -2
  67. package/es/src/base-button/button.vue.d.ts +24 -3
  68. package/es/src/base-button/index.d.ts +110 -7
  69. package/es/src/base-button/modal-button.vue.d.ts +14 -8
  70. package/es/src/base-button/pop-confirm-button.vue.d.ts +10 -7
  71. package/es/src/basic/arrow.vue.d.ts +11 -2
  72. package/es/src/basic/help.vue.d.ts +50 -324
  73. package/es/src/basic/index.d.ts +202 -667
  74. package/es/src/basic/title.vue.d.ts +24 -3
  75. package/es/src/business/ap-batch-action/ApBatchAction.vue.d.ts +11 -2
  76. package/es/src/business/ap-export-group/ApExportGroup.vue.d.ts +11 -2
  77. package/es/src/business/ap-export-group/ApExportGroup.vue2.mjs +53 -48
  78. package/es/src/business/ap-export-group/interface.d.ts +4 -0
  79. package/es/src/business/ap-input-radio/ApInputRadio.vue.d.ts +31 -34
  80. package/es/src/business/ap-label/ApLabel.vue.d.ts +40 -45
  81. package/es/src/business/ap-label/ApLabel.vue2.mjs +54 -39
  82. package/es/src/business/ap-label/ApLabelGroup.d.ts +43 -0
  83. package/es/src/business/ap-label/ApLabelGroup.mjs +30 -0
  84. package/es/src/business/ap-label/constans.d.ts +20 -0
  85. package/es/src/business/ap-label/constans.mjs +21 -0
  86. package/es/src/business/ap-label/interface.d.ts +21 -2
  87. package/es/src/business/ap-label/style.css +26 -1
  88. package/es/src/business/ap-select-layout/select-layout.vue.d.ts +6 -6
  89. package/es/src/business/ap-select-layout/select-layout.vue2.mjs +23 -23
  90. package/es/src/business/ap-status/ApStatus.vue.d.ts +28 -3
  91. package/es/src/business/ap-status/ApStatusGroup.vue.d.ts +30 -3
  92. package/es/src/business/expandAlert/ApExpandAlert.vue.d.ts +73 -6
  93. package/es/src/business/index.d.ts +995 -201
  94. package/es/src/business/index.mjs +21 -19
  95. package/es/src/business/title/ApTitle.vue.d.ts +32 -3
  96. package/es/src/button/button.vue.d.ts +11 -2
  97. package/es/src/button/index.d.ts +32 -16
  98. package/es/src/check-card/group.vue.d.ts +41 -17
  99. package/es/src/check-card/index.vue.d.ts +35 -20
  100. package/es/src/config-provider/config-provider.d.ts +137 -41
  101. package/es/src/config-provider/index.d.ts +545 -161
  102. package/es/src/container/collapse/header.vue.d.ts +13 -11
  103. package/es/src/container/collapse/index.vue.d.ts +40 -11
  104. package/es/src/container/index.d.ts +119 -40
  105. package/es/src/container/scroll-container.vue.d.ts +12 -3
  106. package/es/src/count-down/button.vue.d.ts +24 -3
  107. package/es/src/count-down/index.d.ts +111 -12
  108. package/es/src/count-down/input.vue.d.ts +24 -3
  109. package/es/src/cropper/cropper-avatar.vue.d.ts +33 -6
  110. package/es/src/cropper/cropper-image.vue.d.ts +36 -5
  111. package/es/src/cropper/cropper-modal.vue.d.ts +21 -13
  112. package/es/src/cropper/index.d.ts +269 -24
  113. package/es/src/description/description.vue.d.ts +45 -15
  114. package/es/src/description/index.d.ts +171 -51
  115. package/es/src/dropdown/dropdown.vue.d.ts +30 -5
  116. package/es/src/dropdown/index.d.ts +76 -12
  117. package/es/src/editable-table/form-item.vue.d.ts +4 -4
  118. package/es/src/editable-table/index.vue.d.ts +4 -4
  119. package/es/src/hooks/useControllableValue.d.ts +1 -1
  120. package/es/src/icon/icon.vue.d.ts +29 -3
  121. package/es/src/icon/index.d.ts +159 -12
  122. package/es/src/icon/svg-icon.vue.d.ts +28 -3
  123. package/es/src/icon-picker/icon-picker.vue.d.ts +38 -5
  124. package/es/src/icon-picker/index.d.ts +139 -12
  125. package/es/src/index.mjs +184 -183
  126. package/es/src/modal/basic.vue.d.ts +117 -147
  127. package/es/src/modal/components/modal-close.vue.d.ts +26 -5
  128. package/es/src/modal/components/modal-footer.vue.d.ts +116 -146
  129. package/es/src/modal/components/modal-header.vue.d.ts +11 -2
  130. package/es/src/modal/components/modal-wrapper.vue.d.ts +43 -19
  131. package/es/src/modal/components/modal.d.ts +115 -145
  132. package/es/src/modal/hooks/use-moda-full-screen.d.ts +1 -1
  133. package/es/src/modal/index.d.ts +462 -287
  134. package/es/src/pro-form/components/api-cascader.vue.d.ts +38 -5
  135. package/es/src/pro-form/components/api-radio-group.vue.d.ts +36 -5
  136. package/es/src/pro-form/components/api-select.vue.d.ts +38 -5
  137. package/es/src/pro-form/components/api-transfer.vue.d.ts +40 -5
  138. package/es/src/pro-form/components/api-tree-select.vue.d.ts +36 -5
  139. package/es/src/pro-form/components/api-tree.vue.d.ts +28 -5
  140. package/es/src/pro-form/components/form-action.vue.d.ts +38 -5
  141. package/es/src/pro-form/components/form-item.vue.d.ts +34 -14
  142. package/es/src/pro-form/components/radio-button-group.vue.d.ts +24 -3
  143. package/es/src/pro-form/hooks/use-break-point.d.ts +1 -1
  144. package/es/src/pro-form/pro-form.vue.d.ts +57 -6
  145. package/es/src/pro-form/table-form-inner.vue.d.ts +34 -5
  146. package/es/src/pro-form/table-form.vue.d.ts +29 -4
  147. package/es/src/pro-table/components/edit-table-header-icon.vue.d.ts +9 -6
  148. package/es/src/pro-table/components/editable/editable-cell.vue.d.ts +26 -96
  149. package/es/src/pro-table/components/header-cell.vue.d.ts +9 -726
  150. package/es/src/pro-table/components/settings/column-setting.vue.d.ts +3 -3
  151. package/es/src/pro-table/components/settings/full-screen-setting.vue.d.ts +2 -2
  152. package/es/src/pro-table/components/settings/index.vue.d.ts +11 -8
  153. package/es/src/pro-table/components/settings/redo-setting.vue.d.ts +2 -2
  154. package/es/src/pro-table/components/settings/size-setting.vue.d.ts +2 -2
  155. package/es/src/pro-table/components/table-action.vue.d.ts +24 -10
  156. package/es/src/pro-table/components/table-footer.vue.d.ts +30 -5
  157. package/es/src/pro-table/components/table-header.vue.d.ts +31 -15
  158. package/es/src/pro-table/components/table-image.vue.d.ts +32 -3
  159. package/es/src/pro-table/components/table-selection-bar.vue.d.ts +26 -5
  160. package/es/src/pro-table/components/table-title.vue.d.ts +13 -7
  161. package/es/src/pro-table/pro-table.vue.d.ts +61 -8
  162. package/es/src/prompt/dialog.vue.d.ts +11 -2
  163. package/es/src/scroll-bar/bar-item.d.ts +9 -10
  164. package/es/src/scroll-bar/index.d.ts +135 -12
  165. package/es/src/scroll-bar/scroll-bar.vue.d.ts +36 -5
  166. package/es/src/strength-meter/index.d.ts +55 -12
  167. package/es/src/strength-meter/strength-meter.vue.d.ts +26 -5
  168. package/es/src/tests/wrapper.d.ts +6 -3
  169. package/es/src/theme/antd-global-overwrite/admin/button.css +3 -0
  170. package/es/src/theme/antd-global-overwrite/admin/index.css +3 -0
  171. package/es/src/theme/antd-global-overwrite/aplus/button.css +3 -0
  172. package/es/src/theme/antd-global-overwrite/aplus/index.css +3 -0
  173. package/es/src/theme/ap-label/ap-label.css +26 -1
  174. package/es/src/transition/collapse-transition.vue.d.ts +2 -2
  175. package/es/src/transition/create-transition.d.ts +25 -13
  176. package/es/src/transition/index.d.ts +193 -88
  177. package/es/src/work-order-modal/help-message.vue.d.ts +2 -2
  178. package/es/src/work-order-modal/help-message.vue2.mjs +19 -19
  179. package/es/src/work-order-modal/work-order-modal.vue.d.ts +15 -6
  180. package/lib/index.js +1 -1
  181. package/lib/src/ap-action/group/index.vue.d.ts +30 -3
  182. package/lib/src/ap-action/item/index.vue.d.ts +30 -3
  183. package/lib/src/ap-action/item-dropdown/index.vue.d.ts +39 -10
  184. package/lib/src/ap-action/item-modal/index.vue.d.ts +33 -6
  185. package/lib/src/ap-action/item-popconfirm/index.vue.d.ts +33 -7
  186. package/lib/src/ap-custom-column/column-select.vue.d.ts +14 -5
  187. package/lib/src/ap-custom-column/column-select.vue.js +1 -1
  188. package/lib/src/ap-custom-column/custom-column.vue.d.ts +14 -5
  189. package/lib/src/ap-custom-column/custom-column.vue.js +1 -1
  190. package/lib/src/ap-descriptions/ap-descriptions.vue.d.ts +11 -2
  191. package/lib/src/ap-descriptions/help-message/index.vue.d.ts +13 -4
  192. package/lib/src/ap-download/ap-download.vue.d.ts +28 -3
  193. package/lib/src/ap-field/checkbox/index.vue.d.ts +31 -40
  194. package/lib/src/ap-field/date/index.vue.d.ts +64 -19
  195. package/lib/src/ap-field/date-range/index.vue.d.ts +66 -20
  196. package/lib/src/ap-field/interface.d.ts +4 -0
  197. package/lib/src/ap-field/number/index.vue.d.ts +42 -138
  198. package/lib/src/ap-field/radio/index.vue.d.ts +31 -51
  199. package/lib/src/ap-field/rate/index.vue.d.ts +39 -46
  200. package/lib/src/ap-field/segmented/index.vue.d.ts +32 -47
  201. package/lib/src/ap-field/select/index.vue.d.ts +65 -192
  202. package/lib/src/ap-field/select/index.vue.js +1 -1
  203. package/lib/src/ap-field/slider/index.vue.d.ts +40 -115
  204. package/lib/src/ap-field/switch/index.vue.d.ts +35 -60
  205. package/lib/src/ap-field/text/index.vue.d.ts +38 -105
  206. package/lib/src/ap-field/text/password.vue.d.ts +45 -113
  207. package/lib/src/ap-field/text-area/index.vue.d.ts +38 -117
  208. package/lib/src/ap-form/ap-form-item-group/index.vue.d.ts +32 -50
  209. package/lib/src/ap-form/ap-form-item-group/index.vue.js +1 -1
  210. package/lib/src/ap-form/ap-form-item.vue.d.ts +38 -128
  211. package/lib/src/ap-form/ap-form-item.vue.js +1 -1
  212. package/lib/src/ap-form/ap-form-list.vue.d.ts +11 -2
  213. package/lib/src/ap-form/ap-form.vue.d.ts +36 -238
  214. package/lib/src/ap-form/hooks/use-watch.d.ts +1 -1
  215. package/lib/src/ap-form/items/checkbox/index.vue.d.ts +37 -7
  216. package/lib/src/ap-form/items/date/index.vue.d.ts +37 -131
  217. package/lib/src/ap-form/items/date-range/index.vue.d.ts +37 -131
  218. package/lib/src/ap-form/items/number/index.vue.d.ts +38 -132
  219. package/lib/src/ap-form/items/radio/index.vue.d.ts +38 -8
  220. package/lib/src/ap-form/items/select/index.vue.d.ts +38 -132
  221. package/lib/src/ap-form/items/switch/index.vue.d.ts +39 -7
  222. package/lib/src/ap-form/items/text/index.vue.d.ts +38 -132
  223. package/lib/src/ap-form/items/text/password.vue.d.ts +38 -132
  224. package/lib/src/ap-form/items/text-area/index.vue.d.ts +38 -9
  225. package/lib/src/ap-form/modal-form/index.vue.d.ts +52 -17
  226. package/lib/src/ap-form/search-form/index.vue.d.ts +50 -254
  227. package/lib/src/ap-layout/ap-info-layout/ap-info-layout.vue.d.ts +30 -3
  228. package/lib/src/ap-layout/ap-info-layout/ap-info-layout.vue.js +1 -1
  229. package/lib/src/ap-list/index.vue.d.ts +3 -3
  230. package/lib/src/ap-table/ap-table.vue.d.ts +2 -2
  231. package/lib/src/ap-table/ap-table.vue.js +1 -1
  232. package/lib/src/ap-table/components/index/index.vue.d.ts +24 -3
  233. package/lib/src/ap-table/components/status/index.vue.d.ts +11 -2
  234. package/lib/src/ap-table/constants.d.ts +12396 -4527
  235. package/lib/src/ap-table/hooks/use-table-content-height.d.ts +1 -1
  236. package/lib/src/ap-table/hooks/use-table-paging.d.ts +7 -10
  237. package/lib/src/ap-table/hooks/use-table-paging.js +1 -1
  238. package/lib/src/ap-table/interface.d.ts +13 -1
  239. package/lib/src/ap-tag/ap-tag-group.vue.d.ts +28 -3
  240. package/lib/src/ap-tag/ap-tag-group.vue.js +1 -1
  241. package/lib/src/ap-tag/ap-tag.vue.d.ts +28 -3
  242. package/lib/src/ap-upload/apUpload.vue.d.ts +48 -23
  243. package/lib/src/ap-upload/components/MultipleFile.vue.d.ts +2 -2
  244. package/lib/src/ap-upload/components/Picture.vue.d.ts +2 -2
  245. package/lib/src/ap-upload/components/SingleFile.vue.d.ts +2 -2
  246. package/lib/src/base-button/button.vue.d.ts +24 -3
  247. package/lib/src/base-button/index.d.ts +110 -7
  248. package/lib/src/base-button/modal-button.vue.d.ts +14 -8
  249. package/lib/src/base-button/pop-confirm-button.vue.d.ts +10 -7
  250. package/lib/src/basic/arrow.vue.d.ts +11 -2
  251. package/lib/src/basic/help.vue.d.ts +50 -324
  252. package/lib/src/basic/index.d.ts +202 -667
  253. package/lib/src/basic/title.vue.d.ts +24 -3
  254. package/lib/src/business/ap-batch-action/ApBatchAction.vue.d.ts +11 -2
  255. package/lib/src/business/ap-export-group/ApExportGroup.vue.d.ts +11 -2
  256. package/lib/src/business/ap-export-group/ApExportGroup.vue2.js +1 -1
  257. package/lib/src/business/ap-export-group/interface.d.ts +4 -0
  258. package/lib/src/business/ap-input-radio/ApInputRadio.vue.d.ts +31 -34
  259. package/lib/src/business/ap-label/ApLabel.vue.d.ts +40 -45
  260. package/lib/src/business/ap-label/ApLabel.vue2.js +1 -1
  261. package/lib/src/business/ap-label/ApLabelGroup.d.ts +43 -0
  262. package/lib/src/business/ap-label/ApLabelGroup.js +1 -0
  263. package/lib/src/business/ap-label/constans.d.ts +20 -0
  264. package/lib/src/business/ap-label/constans.js +1 -0
  265. package/lib/src/business/ap-label/interface.d.ts +21 -2
  266. package/lib/src/business/ap-label/style.css +26 -1
  267. package/lib/src/business/ap-select-layout/select-layout.vue.d.ts +6 -6
  268. package/lib/src/business/ap-select-layout/select-layout.vue2.js +1 -1
  269. package/lib/src/business/ap-status/ApStatus.vue.d.ts +28 -3
  270. package/lib/src/business/ap-status/ApStatusGroup.vue.d.ts +30 -3
  271. package/lib/src/business/expandAlert/ApExpandAlert.vue.d.ts +73 -6
  272. package/lib/src/business/index.d.ts +995 -201
  273. package/lib/src/business/index.js +1 -1
  274. package/lib/src/business/title/ApTitle.vue.d.ts +32 -3
  275. package/lib/src/button/button.vue.d.ts +11 -2
  276. package/lib/src/button/index.d.ts +32 -16
  277. package/lib/src/check-card/group.vue.d.ts +41 -17
  278. package/lib/src/check-card/index.vue.d.ts +35 -20
  279. package/lib/src/config-provider/config-provider.d.ts +137 -41
  280. package/lib/src/config-provider/index.d.ts +545 -161
  281. package/lib/src/container/collapse/header.vue.d.ts +13 -11
  282. package/lib/src/container/collapse/index.vue.d.ts +40 -11
  283. package/lib/src/container/index.d.ts +119 -40
  284. package/lib/src/container/scroll-container.vue.d.ts +12 -3
  285. package/lib/src/count-down/button.vue.d.ts +24 -3
  286. package/lib/src/count-down/index.d.ts +111 -12
  287. package/lib/src/count-down/input.vue.d.ts +24 -3
  288. package/lib/src/cropper/cropper-avatar.vue.d.ts +33 -6
  289. package/lib/src/cropper/cropper-image.vue.d.ts +36 -5
  290. package/lib/src/cropper/cropper-modal.vue.d.ts +21 -13
  291. package/lib/src/cropper/index.d.ts +269 -24
  292. package/lib/src/description/description.vue.d.ts +45 -15
  293. package/lib/src/description/index.d.ts +171 -51
  294. package/lib/src/dropdown/dropdown.vue.d.ts +30 -5
  295. package/lib/src/dropdown/index.d.ts +76 -12
  296. package/lib/src/editable-table/form-item.vue.d.ts +4 -4
  297. package/lib/src/editable-table/index.vue.d.ts +4 -4
  298. package/lib/src/hooks/useControllableValue.d.ts +1 -1
  299. package/lib/src/icon/icon.vue.d.ts +29 -3
  300. package/lib/src/icon/index.d.ts +159 -12
  301. package/lib/src/icon/svg-icon.vue.d.ts +28 -3
  302. package/lib/src/icon-picker/icon-picker.vue.d.ts +38 -5
  303. package/lib/src/icon-picker/index.d.ts +139 -12
  304. package/lib/src/index.js +1 -1
  305. package/lib/src/modal/basic.vue.d.ts +117 -147
  306. package/lib/src/modal/components/modal-close.vue.d.ts +26 -5
  307. package/lib/src/modal/components/modal-footer.vue.d.ts +116 -146
  308. package/lib/src/modal/components/modal-header.vue.d.ts +11 -2
  309. package/lib/src/modal/components/modal-wrapper.vue.d.ts +43 -19
  310. package/lib/src/modal/components/modal.d.ts +115 -145
  311. package/lib/src/modal/hooks/use-moda-full-screen.d.ts +1 -1
  312. package/lib/src/modal/index.d.ts +462 -287
  313. package/lib/src/pro-form/components/api-cascader.vue.d.ts +38 -5
  314. package/lib/src/pro-form/components/api-radio-group.vue.d.ts +36 -5
  315. package/lib/src/pro-form/components/api-select.vue.d.ts +38 -5
  316. package/lib/src/pro-form/components/api-transfer.vue.d.ts +40 -5
  317. package/lib/src/pro-form/components/api-tree-select.vue.d.ts +36 -5
  318. package/lib/src/pro-form/components/api-tree.vue.d.ts +28 -5
  319. package/lib/src/pro-form/components/form-action.vue.d.ts +38 -5
  320. package/lib/src/pro-form/components/form-item.vue.d.ts +34 -14
  321. package/lib/src/pro-form/components/radio-button-group.vue.d.ts +24 -3
  322. package/lib/src/pro-form/hooks/use-break-point.d.ts +1 -1
  323. package/lib/src/pro-form/pro-form.vue.d.ts +57 -6
  324. package/lib/src/pro-form/table-form-inner.vue.d.ts +34 -5
  325. package/lib/src/pro-form/table-form.vue.d.ts +29 -4
  326. package/lib/src/pro-table/components/edit-table-header-icon.vue.d.ts +9 -6
  327. package/lib/src/pro-table/components/editable/editable-cell.vue.d.ts +26 -96
  328. package/lib/src/pro-table/components/header-cell.vue.d.ts +9 -726
  329. package/lib/src/pro-table/components/settings/column-setting.vue.d.ts +3 -3
  330. package/lib/src/pro-table/components/settings/full-screen-setting.vue.d.ts +2 -2
  331. package/lib/src/pro-table/components/settings/index.vue.d.ts +11 -8
  332. package/lib/src/pro-table/components/settings/redo-setting.vue.d.ts +2 -2
  333. package/lib/src/pro-table/components/settings/size-setting.vue.d.ts +2 -2
  334. package/lib/src/pro-table/components/table-action.vue.d.ts +24 -10
  335. package/lib/src/pro-table/components/table-footer.vue.d.ts +30 -5
  336. package/lib/src/pro-table/components/table-header.vue.d.ts +31 -15
  337. package/lib/src/pro-table/components/table-image.vue.d.ts +32 -3
  338. package/lib/src/pro-table/components/table-selection-bar.vue.d.ts +26 -5
  339. package/lib/src/pro-table/components/table-title.vue.d.ts +13 -7
  340. package/lib/src/pro-table/pro-table.vue.d.ts +61 -8
  341. package/lib/src/prompt/dialog.vue.d.ts +11 -2
  342. package/lib/src/scroll-bar/bar-item.d.ts +9 -10
  343. package/lib/src/scroll-bar/index.d.ts +135 -12
  344. package/lib/src/scroll-bar/scroll-bar.vue.d.ts +36 -5
  345. package/lib/src/strength-meter/index.d.ts +55 -12
  346. package/lib/src/strength-meter/strength-meter.vue.d.ts +26 -5
  347. package/lib/src/tests/wrapper.d.ts +6 -3
  348. package/lib/src/theme/antd-global-overwrite/admin/button.css +3 -0
  349. package/lib/src/theme/antd-global-overwrite/admin/index.css +3 -0
  350. package/lib/src/theme/antd-global-overwrite/aplus/button.css +3 -0
  351. package/lib/src/theme/antd-global-overwrite/aplus/index.css +3 -0
  352. package/lib/src/theme/ap-label/ap-label.css +26 -1
  353. package/lib/src/transition/collapse-transition.vue.d.ts +2 -2
  354. package/lib/src/transition/create-transition.d.ts +25 -13
  355. package/lib/src/transition/index.d.ts +193 -88
  356. package/lib/src/work-order-modal/help-message.vue.d.ts +2 -2
  357. package/lib/src/work-order-modal/help-message.vue2.js +1 -1
  358. package/lib/src/work-order-modal/work-order-modal.vue.d.ts +15 -6
  359. package/package.json +4 -4
@@ -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, HTMLDivElement | undefined>;
6
+ contentRef: Ref<HTMLDivElement | undefined>;
7
7
  height: ComputedRef<number>;
8
8
  };
9
9
  export default useTableContentHeight;
@@ -1,6 +1,7 @@
1
- import { Ref, ComputedRef } from 'vue';
1
+ import { ComputedRef, Ref } from 'vue';
2
2
  import { RequestData } from '../interface';
3
3
  import { ApFormSearchFormExpose } from '../../ap-form';
4
+ import { DataIndex } from 'ant-design-vue/es/vc-table/interface';
4
5
  import { TablePaginationConfig, FilterValue, SorterResult, TableCurrentDataSource } from 'ant-design-vue/es/table/interface';
5
6
  export type UseTablePagingParams<DataType, ParamsType> = {
6
7
  request: (params: any) => Promise<RequestData<DataType>>;
@@ -45,14 +46,14 @@ export type UseTablePagingParams<DataType, ParamsType> = {
45
46
  /**
46
47
  * 需要后端筛选的字段列表
47
48
  */
48
- filterFields?: string[];
49
+ filterFields?: ComputedRef<DataIndex[]>;
49
50
  /**
50
51
  * 需要后端筛选的排序字段列表
51
52
  */
52
- sortFields?: string[];
53
+ sortFields?: ComputedRef<DataIndex[]>;
53
54
  };
54
55
  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, ApFormSearchFormExpose | undefined>;
56
+ formRef: Ref<ApFormSearchFormExpose | undefined>;
56
57
  submit: () => void;
57
58
  reset: () => void;
58
59
  refresh: () => void;
@@ -61,13 +62,9 @@ export declare const useTablePaging: <DataType = any, ParamsType = Record<string
61
62
  total: number;
62
63
  records: DataType[];
63
64
  loading: boolean;
64
- }, {
65
- total: number;
66
- records: DataType[];
67
- loading: boolean;
68
65
  }>;
69
- current: Ref<number, number>;
70
- pageSize: Ref<number, number>;
66
+ current: Ref<number>;
67
+ pageSize: Ref<number>;
71
68
  handleTableChange: (pagination: TablePaginationConfig, filters: Record<string, FilterValue | null>, sorter: SorterResult<any> | SorterResult<any>[], extra: TableCurrentDataSource<any>) => void;
72
69
  tableProps: ComputedRef<{
73
70
  loading: boolean;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),C=require("../utils.js"),I=require("lodash-unified");require("../../config-provider/index.js");const K=require("../../config-provider/hooks/use-locale.js"),N=({manual:O=!1,defaultCurrent:j=1,defaultPageSize:S=10,request:$,defaultParams:x={},defaultData:D=[],formatParams:F,paramsValueTypeMap:T,resetFieldsIgnores:P,filterFields:L=[],sortFields:M=[]})=>{let v=0,f={};const R=e=>F?F(e):e,i=t.ref(),c=t.ref(j),d=t.ref(S),{t:b}=K.useLocale(),o=t.ref({total:0,records:D,loading:!1}),z=async e=>{var n;const a=R(e),r=Date.now();v=r,o.value.loading=!0;try{const s=await $({...x,...a});v===r&&(o.value.total=s.total||((n=s.data)==null?void 0:n.length)||0,o.value.records=[...s.data||[]])}catch{v===r&&(o.value.records=[],o.value.total=0)}finally{o.value.loading=!1}},q=e=>{const a={};return Object.entries(e).forEach(([r,n])=>{if(a[r]=n,T&&n){const s=T[r];s&&(a[r]=C.parseFieldValue(s,n))}}),a},A=async e=>{var n,s,g,p,h,l,u;const a=((s=(n=i.value)==null?void 0:n.apForm)==null?void 0:s.getFieldsValue())||{},r={};Object.entries(a).forEach(([V,H])=>{P&&P.indexOf(V)>-1&&(r[V]=H)}),await((p=(g=i.value)==null?void 0:g.apForm)==null?void 0:p.resetFields()),(u=(l=(h=i.value)==null?void 0:h.apForm)==null?void 0:l.setFieldsValue)==null||u.call(l,r),t.nextTick(()=>{e==null||e()})},m=e=>{f=e;const a=q(e);z(a)},B=e=>{m({...f,...e})},w=()=>{var a,r;const e=((r=(a=i.value)==null?void 0:a.apForm)==null?void 0:r.getFieldsValue(!0))||{};c.value=1,m({...e,current:1,pageSize:f.pageSize||S})},E=()=>{A(w)},J=()=>{m(f)},Q=e=>{const a=t.unref(o).total-e,r=Math.ceil(a/t.unref(d)),n=t.unref(c)>r?r:t.unref(c);B({current:n>0?n:1})},y=(e,a,r)=>{var h,l;const n=((l=(h=i.value)==null?void 0:h.apForm)==null?void 0:l.getFieldsValue(!0))||{};c.value=e.current,d.value=e.pageSize;const s=I.isArray(r)?[...r]:[r],g={};for(const u of s)M.includes(u.field)&&(g[C.dataIndexToStr(u.field)]=u.order);const p={};for(const u of Object.keys(a))L.includes(u)&&(p[u]=a[u]);m({...n,filter:p,sort:g,current:e.current,pageSize:e.pageSize})};t.onMounted(()=>{var a,r;const e=((r=(a=i.value)==null?void 0:a.apForm)==null?void 0:r.getFieldsValue(!0))||{};if(f={current:t.unref(c),pageSize:t.unref(d),...e},!O){const n=q(f);z(n)}});const U=t.computed(()=>t.unref(o).total===0?"-":`${t.unref(c.value)}/${Math.ceil(t.unref(o).total/t.unref(d))}`),G=t.computed(()=>({loading:t.unref(o).loading,pagination:{current:t.unref(c),pageSize:t.unref(d),total:t.unref(o).total,showSizeChanger:!0,showQuickJumper:!0,showTotal:e=>`${b("ap.apTable.pagination.totalLeft",{total:e})} ${b("ap.apTable.pagination.totalRight",{page:t.unref(U)})}`},onChange:y,dataSource:t.unref(o).records}));return{formRef:i,submit:w,reset:E,refresh:J,refreshByDelete:Q,data:o,current:c,pageSize:d,handleTableChange:y,tableProps:G,dataSource:t.computed(()=>t.unref(o).records)}};exports.useTablePaging=N;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),O=require("../utils.js"),I=require("lodash-unified");require("../../config-provider/index.js");const K=require("../../config-provider/hooks/use-locale.js"),N=({manual:j=!1,defaultCurrent:$=1,defaultPageSize:T=10,request:x,defaultParams:D={},defaultData:L=[],formatParams:P,paramsValueTypeMap:b,resetFieldsIgnores:z,filterFields:M,sortFields:R})=>{let F=0,f={};const A=e=>P?P(e):e,i=t.ref(),c=t.ref($),d=t.ref(T),{t:q}=K.useLocale(),o=t.ref({total:0,records:L,loading:!1}),w=async e=>{var n;const a=A(e),r=Date.now();F=r,o.value.loading=!0;try{const s=await x({...D,...a});F===r&&(o.value.total=s.total||((n=s.data)==null?void 0:n.length)||0,o.value.records=[...s.data||[]])}catch{F===r&&(o.value.records=[],o.value.total=0)}finally{o.value.loading=!1}},y=e=>{const a={};return Object.entries(e).forEach(([r,n])=>{if(a[r]=n,b&&n){const s=b[r];s&&(a[r]=O.parseFieldValue(s,n))}}),a},B=async e=>{var n,s,g,p,h,l,m;const a=((s=(n=i.value)==null?void 0:n.apForm)==null?void 0:s.getFieldsValue())||{},r={};Object.entries(a).forEach(([v,u])=>{z&&z.indexOf(v)>-1&&(r[v]=u)}),await((p=(g=i.value)==null?void 0:g.apForm)==null?void 0:p.resetFields()),(m=(l=(h=i.value)==null?void 0:h.apForm)==null?void 0:l.setFieldsValue)==null||m.call(l,r),t.nextTick(()=>{e==null||e()})},S=e=>{f=e;const a=y(e);w(a)},E=e=>{S({...f,...e})},V=()=>{var a,r;const e=((r=(a=i.value)==null?void 0:a.apForm)==null?void 0:r.getFieldsValue(!0))||{};c.value=1,S({...e,current:1,pageSize:f.pageSize||T})},J=()=>{B(V)},Q=()=>{S(f)},U=e=>{const a=t.unref(o).total-e,r=Math.ceil(a/t.unref(d)),n=t.unref(c)>r?r:t.unref(c);E({current:n>0?n:1})},C=(e,a,r)=>{var h,l,m,v;const n=((l=(h=i.value)==null?void 0:h.apForm)==null?void 0:l.getFieldsValue(!0))||{};c.value=e.current,d.value=e.pageSize;const s=I.isArray(r)?[...r]:[r],g={};for(const u of s)(m=t.unref(R))!=null&&m.includes(u.field)&&(g[O.dataIndexToStr(u.field)]=u.order);const p={};for(const u of Object.keys(a))(v=t.unref(M))!=null&&v.includes(u)&&(p[u]=a[u]);S({...n,filter:p,sort:g,current:e.current,pageSize:e.pageSize})};t.onMounted(()=>{var a,r;const e=((r=(a=i.value)==null?void 0:a.apForm)==null?void 0:r.getFieldsValue(!0))||{};if(f={current:t.unref(c),pageSize:t.unref(d),...e},!j){const n=y(f);w(n)}});const G=t.computed(()=>t.unref(o).total===0?"-":`${t.unref(c.value)}/${Math.ceil(t.unref(o).total/t.unref(d))}`),H=t.computed(()=>({loading:t.unref(o).loading,pagination:{current:t.unref(c),pageSize:t.unref(d),total:t.unref(o).total,showSizeChanger:!0,showQuickJumper:!0,showTotal:e=>`${q("ap.apTable.pagination.totalLeft",{total:e})} ${q("ap.apTable.pagination.totalRight",{page:t.unref(G)})}`},onChange:C,dataSource:t.unref(o).records}));return{formRef:i,submit:V,reset:J,refresh:Q,refreshByDelete:U,data:o,current:c,pageSize:d,handleTableChange:C,tableProps:H,dataSource:t.computed(()=>t.unref(o).records)}};exports.useTablePaging=N;
@@ -101,6 +101,17 @@ export type ApColumnType<RecordType = any, ValueType extends ApTableValueTypes =
101
101
  * 自定义查询表单渲染
102
102
  */
103
103
  customRenderFormItem?: (config: ApColumnType<RecordType, ValueType>) => any;
104
+ /**
105
+ * 自定义渲染文本,和customRender相比,其必须返回字符串,并且后续的渲染(例如copy/ellipsis)都将使用这个值
106
+ */
107
+ renderText?: (option: {
108
+ value: any;
109
+ text: any;
110
+ record: RecordType;
111
+ index: number;
112
+ renderIndex: number;
113
+ column: ApColumnType<RecordType>;
114
+ }) => string;
104
115
  /**
105
116
  * 指定值类型(将会用于默认渲染和查询表单生成)
106
117
  */
@@ -126,7 +137,7 @@ export type ApColumnType<RecordType = any, ValueType extends ApTableValueTypes =
126
137
  */
127
138
  filters?: ColumnType<RecordType>['filters'] | true;
128
139
  /**
129
- * 自定义渲染,添加了`editable`以及`originalNode`
140
+ * 自定义渲染,添加了`editable`以及`originalNode、originalText`
130
141
  * @param opt
131
142
  * @returns
132
143
  */
@@ -138,6 +149,7 @@ export type ApColumnType<RecordType = any, ValueType extends ApTableValueTypes =
138
149
  renderIndex: number;
139
150
  column: ApColumnType<RecordType>;
140
151
  originalNode?: VNode;
152
+ originalText?: any;
141
153
  }) => any;
142
154
  } : never;
143
155
  export type RequestData<T> = {
@@ -1,20 +1,45 @@
1
1
  import { ApTagGroupProps, ApTagProps, EllipsisProps } from './interface';
2
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } 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<ApTagGroupProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApTagGroupProps & {}>, {
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
+ }>>>, {
10
18
  ellipsis: EllipsisProps;
11
19
  space: number;
12
20
  list: ApTagProps[];
13
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}>;
21
+ }, {}>;
14
22
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
15
23
  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
+ } & {};
16
32
  type __VLS_WithTemplateSlots<T, S> = T & {
17
33
  new (): {
18
34
  $slots: S;
19
35
  };
20
36
  };
37
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
38
+ type __VLS_TypePropsToOption<T> = {
39
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
40
+ type: PropType<__VLS_NonUndefinedable<T[K]>>;
41
+ } : {
42
+ type: PropType<T[K]>;
43
+ required: true;
44
+ };
45
+ };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),V=require("ant-design-vue"),_=require("@ant-design/icons-vue");require("./ap-tag.vue2.js");require("../config-provider/index.js");const b=require("lodash-unified");require("./style/ap-tag-group.css");const N=require("../config-provider/hooks/use-locale.js"),B=require("../config-provider/hooks/use-global-config.js"),T=require("../config-provider/hooks/use-namespace.js"),q=require("./ap-tag.vue.js"),W=e.defineComponent({__name:"ap-tag-group",props:{list:{default:()=>[]},space:{default:4},ellipsisColor:{},ellipsis:{default:()=>({})}},setup(v){const{t:h}=N.useLocale(),r=v,y=B.useGlobalConfig("uiMode"),{b:x,bm:p}=T.useNamespace("tag-group"),a=e.ref(),n=e.computed(()=>({...{iconColor:"#34B77C",symbol:"icon",text:h("ap.common.more")},...r.ellipsis})),C=e.computed(()=>n.value.tooltip&&typeof n.value.tooltip=="object"?b.omit(n.value.tooltip,["trigger","title"]):{}),c=e.computed(()=>e.unref(u)<r.list.length),u=e.ref(0),w=e.computed(()=>r.list.map(t=>t.text).join("、")),E=e.computed(()=>[x()].filter(Boolean)),k=e.computed(()=>y.value==="aplus"?[p("ellipsis-text","aplus")]:[p("ellipsis-text","admin")]),d=(t,l)=>{let s=document.createElement("canvas");const o=s.getContext("2d");o.font=`${t}px system-ui`;const i=o.measureText(l);return setTimeout(()=>{s=null},0),i.width},m=()=>{let t=0,l=0;if(!a.value)return;const s=a.value.offsetWidth;for(let o of r.list){const i=o.size==="large"?16:12,f=d(o.size==="large"?14:12,o.text)+i+2+r.space;if(t+=f,t>s){t-=f;break}l++}if(l<r.list.length){const i=d(12,n.value.text);r.ellipsis.symbol==="icon"?t+=16:t+=i,t>s&&l--}u.value=l};e.watch(()=>r.list,(t,l)=>{t!==l&&e.nextTick(()=>{m()})},{immediate:!0});const g=()=>{m()};return e.onMounted(()=>{[["ellipsisColor","ellipse.color"]].forEach(([t,l])=>{r[t]&&console.error(`[ApTagGroup]: \`${t}\` is deprecated, please use \`${l}\` instead.`)}),window.addEventListener("resize",g)}),e.onUnmounted(()=>{window.removeEventListener("resize",g)}),(t,l)=>(e.openBlock(),e.createBlock(e.unref(V.Tooltip),e.mergeProps({trigger:"hover"},C.value),{title:e.withCtx(()=>[e.renderSlot(t.$slots,"tooltip",{tags:t.list},()=>[e.createTextVNode(e.toDisplayString(w.value),1)])]),default:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(E.value),ref_key:"container",ref:a,style:e.normalizeStyle({pointerEvents:c.value?"auto":"none"})},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.list,(s,o)=>(e.openBlock(),e.createBlock(q.default,e.mergeProps({ref_for:!0},s,{key:o,style:{display:o>=u.value?"none":"inline-block",marginRight:`${t.space}px`}}),null,16,["style"]))),128)),c.value&&n.value.symbol==="icon"?(e.openBlock(),e.createBlock(e.unref(_),{key:0,style:e.normalizeStyle({color:t.ellipsisColor||n.value.iconColor})},{component:e.withCtx(()=>l[0]||(l[0]=[e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",fill:"none",version:"1.1",width:"16",height:"16",viewBox:"0 0 16 16"},[e.createElementVNode("defs",null,[e.createElementVNode("clipPath",{id:"master_svg0_1133_24991"},[e.createElementVNode("rect",{x:"0",y:"0",width:"16",height:"16",rx:"0"})])]),e.createElementVNode("g",{"clip-path":"url(#master_svg0_1133_24991)"},[e.createElementVNode("g",null,[e.createElementVNode("ellipse",{cx:"8",cy:"8",rx:"1",ry:"1",fill:"currentColor","fill-opacity":"1"})]),e.createElementVNode("g",null,[e.createElementVNode("ellipse",{cx:"3.25",cy:"8",rx:"1",ry:"1",fill:"currentColor","fill-opacity":"1"})]),e.createElementVNode("g",null,[e.createElementVNode("ellipse",{cx:"12.75",cy:"8",rx:"1",ry:"1",fill:"currentColor","fill-opacity":"1"})])])],-1)])),_:1},8,["style"])):c.value&&n.value.symbol==="text"?(e.openBlock(),e.createElementBlock("span",{key:1,class:e.normalizeClass(k.value)},e.toDisplayString(n.value.text),3)):e.createCommentVNode("",!0)],6)]),_:3},16))}});exports.default=W;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),k=require("ant-design-vue"),V=require("@ant-design/icons-vue");require("./ap-tag.vue2.js");require("../config-provider/index.js");const b=require("lodash-unified");require("./style/ap-tag-group.css");const N=require("../config-provider/hooks/use-locale.js"),B=require("../config-provider/hooks/use-global-config.js"),T=require("../config-provider/hooks/use-namespace.js"),q=require("./ap-tag.vue.js"),W=e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",fill:"none",version:"1.1",width:"16",height:"16",viewBox:"0 0 16 16"},[e.createElementVNode("defs",null,[e.createElementVNode("clipPath",{id:"master_svg0_1133_24991"},[e.createElementVNode("rect",{x:"0",y:"0",width:"16",height:"16",rx:"0"})])]),e.createElementVNode("g",{"clip-path":"url(#master_svg0_1133_24991)"},[e.createElementVNode("g",null,[e.createElementVNode("ellipse",{cx:"8",cy:"8",rx:"1",ry:"1",fill:"currentColor","fill-opacity":"1"})]),e.createElementVNode("g",null,[e.createElementVNode("ellipse",{cx:"3.25",cy:"8",rx:"1",ry:"1",fill:"currentColor","fill-opacity":"1"})]),e.createElementVNode("g",null,[e.createElementVNode("ellipse",{cx:"12.75",cy:"8",rx:"1",ry:"1",fill:"currentColor","fill-opacity":"1"})])])],-1),z=e.defineComponent({__name:"ap-tag-group",props:{list:{default:()=>[]},space:{default:4},ellipsisColor:{},ellipsis:{default:()=>({})}},setup(v){const{t:h}=N.useLocale(),r=v,y=B.useGlobalConfig("uiMode"),{b:x,bm:p}=T.useNamespace("tag-group"),a=e.ref(),n=e.computed(()=>({...{iconColor:"#34B77C",symbol:"icon",text:h("ap.common.more")},...r.ellipsis})),C=e.computed(()=>n.value.tooltip&&typeof n.value.tooltip=="object"?b.omit(n.value.tooltip,["trigger","title"]):{}),c=e.computed(()=>e.unref(u)<r.list.length),u=e.ref(0),w=e.computed(()=>r.list.map(t=>t.text).join("、")),_=e.computed(()=>[x()].filter(Boolean)),E=e.computed(()=>y.value==="aplus"?[p("ellipsis-text","aplus")]:[p("ellipsis-text","admin")]),d=(t,l)=>{let s=document.createElement("canvas");const o=s.getContext("2d");o.font=`${t}px system-ui`;const i=o.measureText(l);return setTimeout(()=>{s=null},0),i.width},m=()=>{let t=0,l=0;if(!a.value)return;const s=a.value.offsetWidth;for(let o of r.list){const i=o.size==="large"?16:12,f=d(o.size==="large"?14:12,o.text)+i+2+r.space;if(t+=f,t>s){t-=f;break}l++}if(l<r.list.length){const i=d(12,n.value.text);r.ellipsis.symbol==="icon"?t+=16:t+=i,t>s&&l--}u.value=l};e.watch(()=>r.list,(t,l)=>{t!==l&&e.nextTick(()=>{m()})},{immediate:!0});const g=()=>{m()};return e.onMounted(()=>{[["ellipsisColor","ellipse.color"]].forEach(([t,l])=>{r[t]&&console.error(`[ApTagGroup]: \`${t}\` is deprecated, please use \`${l}\` instead.`)}),window.addEventListener("resize",g)}),e.onUnmounted(()=>{window.removeEventListener("resize",g)}),(t,l)=>(e.openBlock(),e.createBlock(e.unref(k.Tooltip),e.mergeProps({trigger:"hover"},C.value),{title:e.withCtx(()=>[e.renderSlot(t.$slots,"tooltip",{tags:t.list},()=>[e.createTextVNode(e.toDisplayString(w.value),1)])]),default:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(_.value),ref_key:"container",ref:a,style:e.normalizeStyle({pointerEvents:c.value?"auto":"none"})},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.list,(s,o)=>(e.openBlock(),e.createBlock(q.default,e.mergeProps({ref_for:!0},s,{key:o,style:{display:o>=u.value?"none":"inline-block",marginRight:`${t.space}px`}}),null,16,["style"]))),128)),c.value&&n.value.symbol==="icon"?(e.openBlock(),e.createBlock(e.unref(V),{key:0,style:e.normalizeStyle({color:t.ellipsisColor||n.value.iconColor})},{component:e.withCtx(()=>[W]),_:1},8,["style"])):c.value&&n.value.symbol==="text"?(e.openBlock(),e.createElementBlock("span",{key:1,class:e.normalizeClass(E.value)},e.toDisplayString(n.value.text),3)):e.createCommentVNode("",!0)],6)]),_:3},16))}});exports.default=z;
@@ -1,8 +1,33 @@
1
1
  import { ApTagProps } from './interface';
2
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
- declare const _default: DefineComponent<ApTagProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApTagProps & {}>, {
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
+ }>>>, {
4
12
  size: "small" | "middle" | "large";
5
13
  disabled: boolean;
6
14
  color: string;
7
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}>;
15
+ }, {}>;
8
16
  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, ExtractPropTypes, ComputedRef, ComponentOptionsMixin, PublicProps, RendererNode, RendererElement, ComponentProvideOptions } from 'vue';
1
+ import { PropType, VNode, DefineComponent, ComputedRef, ComponentOptionsMixin, PublicProps, ExtractPropTypes, RendererNode, RendererElement } 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<ExtractPropTypes<{
5
+ declare const _default: DefineComponent<{
6
6
  dirName: {
7
7
  type: StringConstructor;
8
8
  };
@@ -43,35 +43,60 @@ declare const _default: DefineComponent<ExtractPropTypes<{
43
43
  getOssAccess: {
44
44
  type: PropType<GetOssAccess>;
45
45
  };
46
- }>, {
46
+ }, {
47
47
  done: ComputedRef<boolean>;
48
48
  clear: typeof clear;
49
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
49
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
50
50
  "update:value": (...args: any[]) => void;
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
- } & {
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
+ }>> & {
68
93
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
69
- }>, {
94
+ }, {
70
95
  type: FileUploadType;
71
96
  title: string;
72
97
  value: string | unknown[] | Record<string, any>;
73
98
  subTitle: string | VNode< RendererNode, RendererElement, {
74
99
  [key: string]: any;
75
100
  }>;
76
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}>;
101
+ }, {}>;
77
102
  export default _default;
@@ -1,3 +1,3 @@
1
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
- declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}>;
1
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
2
+ declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{}>>, {}, {}>;
3
3
  export default _default;
@@ -1,3 +1,3 @@
1
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
- declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}>;
1
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
2
+ declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{}>>, {}, {}>;
3
3
  export default _default;
@@ -1,3 +1,3 @@
1
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
- declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}>;
1
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
2
+ declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{}>>, {}, {}>;
3
3
  export default _default;
@@ -1,16 +1,37 @@
1
- import { ComponentOptionsMixin, DefineComponent, PublicProps, ComponentProvideOptions } from 'vue';
1
+ import { ComponentOptionsMixin, DefineComponent, PublicProps, ExtractPropTypes, PropType } 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<ButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ButtonProps & {}>, {
7
+ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ButtonProps>, {
8
8
  iconSize: number;
9
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}>;
9
+ }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ButtonProps>, {
10
+ iconSize: number;
11
+ }>>>, {
12
+ iconSize: number;
13
+ }, {}>;
10
14
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
11
15
  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
+ } & {};
12
24
  type __VLS_WithTemplateSlots<T, S> = T & {
13
25
  new (): {
14
26
  $slots: S;
15
27
  };
16
28
  };
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,28 +1,131 @@
1
1
  import { default as ModalButton } from './modal-button.vue';
2
2
  import { default as PopConfirmButton } from './pop-confirm-button.vue';
3
- import { CreateComponentPublicInstanceWithMixins, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, ComponentOptionsBase, Plugin } from 'vue';
4
- import { ButtonProps } from './interface';
3
+ import { CreateComponentPublicInstance, ExtractPropTypes, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase, Plugin } from 'vue';
5
4
  export * from './interface';
6
5
  export { ModalButton, PopConfirmButton };
7
6
  export declare const BaseButton: {
8
- new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly< ButtonProps & {}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ButtonProps & {}>, {
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
+ }>>, {
9
60
  iconSize: number;
10
- }, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, ComponentProvideOptions, {
61
+ }, true, {}, {}, {
11
62
  P: {};
12
63
  B: {};
13
64
  D: {};
14
65
  C: {};
15
66
  M: {};
16
67
  Defaults: {};
17
- }, Readonly< ButtonProps & {}>, {}, {}, {}, {}, {
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
+ }>>, {}, {}, {}, {}, {
18
95
  iconSize: number;
19
96
  }>;
20
97
  __isFragment?: never;
21
98
  __isTeleport?: never;
22
99
  __isSuspense?: never;
23
- } & ComponentOptionsBase<Readonly< ButtonProps & {}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
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, {
24
127
  iconSize: number;
25
- }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & ( VNodeProps & AllowedComponentProps & ( ComponentCustomProps & (new () => {
128
+ }, {}, string, {}> & ( VNodeProps & AllowedComponentProps & ( ComponentCustomProps & (new () => {
26
129
  $slots: {
27
130
  icon?(_: {}): any;
28
131
  default?(_: any): any;
@@ -1,6 +1,6 @@
1
- import { DefineComponent, ExtractPropTypes, PropType, VNode, RendererNode, RendererElement, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
1
+ import { DefineComponent, PropType, VNode, RendererNode, RendererElement, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
2
2
  import { ModalOptionsEx } from '../hooks/useMessage';
3
- declare const _default: DefineComponent<ExtractPropTypes<{
3
+ declare const _default: DefineComponent<{
4
4
  enable: {
5
5
  type: BooleanConstructor;
6
6
  default: boolean;
@@ -9,13 +9,19 @@ declare const _default: DefineComponent<ExtractPropTypes<{
9
9
  type: PropType<Partial< ModalOptionsEx>>;
10
10
  default: () => {};
11
11
  };
12
- }>, () => VNode<RendererNode, RendererElement, {
12
+ }, () => VNode<RendererNode, RendererElement, {
13
13
  [key: string]: any;
14
- }>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{
15
- enable: boolean;
16
- modalConfig: Partial< ModalOptionsEx>;
17
- } & {} & {}>, {
14
+ }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
15
+ enable: {
16
+ type: BooleanConstructor;
17
+ default: boolean;
18
+ };
19
+ modalConfig: {
20
+ type: PropType<Partial< ModalOptionsEx>>;
21
+ default: () => {};
22
+ };
23
+ }>>, {
18
24
  enable: boolean;
19
25
  modalConfig: Partial< ModalOptionsEx>;
20
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}>;
26
+ }, {}>;
21
27
  export default _default;
@@ -1,14 +1,17 @@
1
- import { DefineComponent, ExtractPropTypes, VNode, RendererNode, RendererElement, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
- declare const _default: DefineComponent<ExtractPropTypes<{
1
+ import { DefineComponent, VNode, RendererNode, RendererElement, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
2
+ declare const _default: DefineComponent<{
3
3
  enable: {
4
4
  type: BooleanConstructor;
5
5
  default: boolean;
6
6
  };
7
- }>, () => VNode<RendererNode, RendererElement, {
7
+ }, () => VNode<RendererNode, RendererElement, {
8
8
  [key: string]: any;
9
- }>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{
10
- enable: boolean;
11
- } & {} & {}>, {
9
+ }>, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
10
+ enable: {
11
+ type: BooleanConstructor;
12
+ default: boolean;
13
+ };
14
+ }>>, {
12
15
  enable: boolean;
13
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}>;
16
+ }, {}>;
14
17
  export default _default;
@@ -1,4 +1,13 @@
1
1
  import { BasicArrowProps } from './interface';
2
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
- declare const _default: DefineComponent<BasicArrowProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<BasicArrowProps & {}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}>;
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
3
+ declare const _default: DefineComponent<__VLS_TypePropsToOption<BasicArrowProps>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToOption<BasicArrowProps>>>, {}, {}>;
4
4
  export default _default;
5
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
6
+ type __VLS_TypePropsToOption<T> = {
7
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
8
+ type: PropType<__VLS_NonUndefinedable<T[K]>>;
9
+ } : {
10
+ type: PropType<T[K]>;
11
+ required: true;
12
+ };
13
+ };