yc-design-vue 2.0.5 → 2.0.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 (383) hide show
  1. package/dist/index.umd.js +1 -1
  2. package/dist/style.css +1 -1
  3. package/es/Alert/index.d.ts +3 -3
  4. package/es/Alert/index.vue.d.ts +1 -1
  5. package/es/Alert/type.d.ts +2 -2
  6. package/es/Anchor/Anchor.vue.d.ts +1 -1
  7. package/es/Anchor/hooks/useContext.d.ts +1 -1
  8. package/es/Anchor/index.d.ts +3 -3
  9. package/es/Anchor/type.d.ts +3 -2
  10. package/es/AutoComplete/index.d.ts +18 -9
  11. package/es/AutoComplete/index.vue.d.ts +36 -18
  12. package/es/Avatar/Avatar.vue.d.ts +1 -1
  13. package/es/Avatar/index.d.ts +3 -3
  14. package/es/Avatar/type.d.ts +3 -2
  15. package/es/Badge/index.d.ts +3 -3
  16. package/es/Badge/index.vue.d.ts +1 -1
  17. package/es/Badge/type.d.ts +2 -2
  18. package/es/Button/Button.vue.d.ts +2 -2
  19. package/es/Button/ButtonGroup.vue.d.ts +1 -1
  20. package/es/Button/hooks/useContext.d.ts +3 -3
  21. package/es/Button/index.d.ts +9 -9
  22. package/es/Button/type.d.ts +6 -6
  23. package/es/Card/Card.vue.d.ts +1 -1
  24. package/es/Card/index.d.ts +3 -3
  25. package/es/Card/type.d.ts +1 -2
  26. package/es/Carousel/Carousel.vue.d.ts +2 -2
  27. package/es/Carousel/hooks/useContext.d.ts +3 -3
  28. package/es/Carousel/index.d.ts +6 -6
  29. package/es/Carousel/type.d.ts +6 -6
  30. package/es/Cascader/Cascader.vue.d.ts +7 -7
  31. package/es/Cascader/index.d.ts +6 -6
  32. package/es/Collapse/hooks/useContext.d.ts +2 -13
  33. package/es/Collapse/hooks/useContext.js +0 -1
  34. package/es/Collapse/type.d.ts +2 -1
  35. package/es/Descriptions/Descriptions.vue.d.ts +3 -3
  36. package/es/Descriptions/hooks/useContext.d.ts +1 -1
  37. package/es/Descriptions/index.d.ts +9 -9
  38. package/es/Descriptions/type.d.ts +7 -6
  39. package/es/Divider/index.d.ts +6 -6
  40. package/es/Divider/index.vue.d.ts +2 -2
  41. package/es/Divider/type.d.ts +4 -3
  42. package/es/Drawer/Drawer.vue.d.ts +1 -1
  43. package/es/Drawer/DrawerService.vue.d.ts +1 -1
  44. package/es/Drawer/index.d.ts +5 -9
  45. package/es/Drawer/type.d.ts +8 -4
  46. package/es/Dropdown/Dropdown.vue.d.ts +1 -1
  47. package/es/Dropdown/DropdownButton.vue.d.ts +1 -1
  48. package/es/Dropdown/Dsubmenu.vue.d.ts +1 -1
  49. package/es/Dropdown/index.d.ts +9 -9
  50. package/es/Dropdown/type.d.ts +4 -6
  51. package/es/Grid/hooks/useContext.d.ts +0 -11
  52. package/es/Grid/hooks/useContext.js +0 -1
  53. package/es/Image/Image.vue.d.ts +2 -2
  54. package/es/Image/ImagePreview.vue.js +1 -1
  55. package/es/Image/index.d.ts +6 -6
  56. package/es/Image/type.d.ts +3 -2
  57. package/es/Input/Input.vue.d.ts +1 -1
  58. package/es/Input/InputSuffix.vue.js +1 -1
  59. package/es/Input/index.d.ts +3 -3
  60. package/es/InputNumber/InputNumber.vue.d.ts +8 -8
  61. package/es/InputNumber/InputOperaBtn.vue.d.ts +2 -2
  62. package/es/InputNumber/index.d.ts +9 -9
  63. package/es/InputNumber/type.d.ts +5 -4
  64. package/es/InputTag/index.d.ts +15 -6
  65. package/es/InputTag/index.vue.d.ts +5 -2
  66. package/es/InputTag/type.d.ts +2 -1
  67. package/es/Layout/LayoutSider.vue.d.ts +3 -3
  68. package/es/Layout/index.d.ts +8 -8
  69. package/es/Layout/type.d.ts +3 -4
  70. package/es/Link/index.d.ts +3 -3
  71. package/es/Link/index.vue.d.ts +1 -1
  72. package/es/Link/type.d.ts +2 -2
  73. package/es/List/List.vue.d.ts +7 -7
  74. package/es/List/index.d.ts +6 -6
  75. package/es/List/type.d.ts +2 -3
  76. package/es/Mention/index.d.ts +21 -12
  77. package/es/Mention/index.vue.d.ts +37 -19
  78. package/es/Mention/type.d.ts +3 -2
  79. package/es/Menu/Menu.vue.d.ts +2 -2
  80. package/es/Menu/index.d.ts +5 -5
  81. package/es/Menu/type.d.ts +2 -2
  82. package/es/Message/type.d.ts +3 -3
  83. package/es/Modal/Modal.vue.d.ts +1 -1
  84. package/es/Modal/ModalService.vue.d.ts +1 -1
  85. package/es/Modal/index.d.ts +13 -13
  86. package/es/Modal/index.js +1 -4
  87. package/es/Modal/type.d.ts +6 -9
  88. package/es/Notification/Notification.vue.d.ts +1 -1
  89. package/es/Notification/index.d.ts +4 -4
  90. package/es/Notification/type.d.ts +3 -4
  91. package/es/OverflowList/index.d.ts +3 -3
  92. package/es/OverflowList/index.vue.d.ts +1 -1
  93. package/es/OverflowList/type.d.ts +3 -2
  94. package/es/Popconfirm/index.d.ts +3 -3
  95. package/es/Popconfirm/index.vue.d.ts +1 -1
  96. package/es/Popconfirm/type.d.ts +2 -3
  97. package/es/Progress/Progress.vue.d.ts +1 -1
  98. package/es/Progress/ProgressCircle.vue.d.ts +3 -3
  99. package/es/Progress/ProgressLine.vue.d.ts +3 -3
  100. package/es/Progress/index.d.ts +3 -3
  101. package/es/Progress/type.d.ts +2 -3
  102. package/es/Radio/type.d.ts +1 -1
  103. package/es/ResizeBox/index.d.ts +3 -3
  104. package/es/ResizeBox/index.vue.d.ts +2 -2
  105. package/es/ResizeBox/type.d.ts +4 -4
  106. package/es/Result/index.d.ts +3 -3
  107. package/es/Result/index.vue.d.ts +1 -1
  108. package/es/Result/type.d.ts +3 -2
  109. package/es/Scrollbar/Scrollbar.vue.d.ts +1 -1
  110. package/es/Scrollbar/index.d.ts +3 -3
  111. package/es/Scrollbar/type.d.ts +2 -1
  112. package/es/Select/Select.vue.d.ts +31 -13
  113. package/es/Select/hooks/useContext.d.ts +2 -2
  114. package/es/Select/hooks/useSelectOptions.d.ts +2 -2
  115. package/es/Select/index.d.ts +18 -9
  116. package/es/Skeleton/SkeletonShape.vue.d.ts +2 -2
  117. package/es/Skeleton/index.d.ts +2 -2
  118. package/es/Skeleton/type.d.ts +2 -4
  119. package/es/Space/index.d.ts +6 -6
  120. package/es/Space/index.vue.d.ts +2 -2
  121. package/es/Space/type.d.ts +5 -4
  122. package/es/Switch/index.d.ts +9 -9
  123. package/es/Switch/index.vue.d.ts +3 -3
  124. package/es/Switch/type.d.ts +4 -4
  125. package/es/Tabs/Tabs.vue.d.ts +1 -1
  126. package/es/Tabs/hooks/useContext.d.ts +4 -4
  127. package/es/Tabs/index.d.ts +3 -3
  128. package/es/Tabs/type.d.ts +2 -3
  129. package/es/Tag/index.d.ts +3 -3
  130. package/es/Tag/index.vue.d.ts +1 -1
  131. package/es/Tag/type.d.ts +1 -2
  132. package/es/Textarea/type.d.ts +2 -2
  133. package/es/TimePicker/TimePicker.vue.d.ts +1 -1
  134. package/es/TimePicker/index.d.ts +3 -3
  135. package/es/Timeline/TimelineItem.vue.d.ts +1 -1
  136. package/es/Timeline/index.d.ts +3 -3
  137. package/es/Timeline/type.d.ts +3 -4
  138. package/es/Transfer/TransferPanel.vue.js +1 -1
  139. package/es/Typography/TypographyBase.vue.d.ts +7 -7
  140. package/es/Typography/TypographyBase.vue.js +2 -2
  141. package/es/Typography/TypographyParagraph.vue.d.ts +1 -1
  142. package/es/Typography/TypographyTitle.vue.d.ts +1 -1
  143. package/es/Typography/type.d.ts +5 -4
  144. package/es/Upload/Upload.vue.d.ts +53 -0
  145. package/es/Upload/Upload.vue.js +110 -0
  146. package/es/Upload/Upload.vue3.js +5 -0
  147. package/es/Upload/UploadButton.vue.d.ts +2 -0
  148. package/es/Upload/UploadButton.vue.js +39 -0
  149. package/es/Upload/UploadButton.vue3.js +5 -0
  150. package/es/Upload/UploadDrag.vue.d.ts +2 -0
  151. package/es/Upload/UploadDrag.vue.js +37 -0
  152. package/es/Upload/UploadDrag.vue3.js +5 -0
  153. package/es/Upload/UploadFileList.vue.d.ts +24 -0
  154. package/es/Upload/UploadFileList.vue.js +7 -0
  155. package/es/Upload/UploadFileList.vue2.js +126 -0
  156. package/es/Upload/UploadPictureCard.vue.d.ts +4 -0
  157. package/es/Upload/UploadPictureCard.vue.js +7 -0
  158. package/es/Upload/UploadPictureCard.vue2.js +132 -0
  159. package/es/Upload/hooks/useContext.d.ts +49 -0
  160. package/es/Upload/hooks/useContext.js +92 -0
  161. package/es/Upload/hooks/useUpload.d.ts +47 -0
  162. package/es/Upload/hooks/useUpload.js +80 -0
  163. package/es/Upload/index.css +1 -0
  164. package/es/Upload/index.d.ts +123 -0
  165. package/es/Upload/index.js +10 -0
  166. package/es/Upload/type.d.ts +72 -0
  167. package/es/VerificationCode/index.d.ts +3 -3
  168. package/es/VerificationCode/index.vue.d.ts +1 -1
  169. package/es/VerificationCode/type.d.ts +5 -4
  170. package/es/_shared/icons/IconCopy.vue.js +1 -19
  171. package/es/_shared/icons/IconCopy.vue2.js +19 -1
  172. package/es/_shared/icons/IconDelete.vue.js +19 -1
  173. package/es/_shared/icons/IconDelete.vue2.js +1 -19
  174. package/es/_shared/icons/IconEdit.vue.js +1 -19
  175. package/es/_shared/icons/IconEdit.vue2.js +19 -1
  176. package/es/_shared/icons/IconEyeClose.vue.js +23 -1
  177. package/es/_shared/icons/IconEyeClose.vue2.js +1 -23
  178. package/es/_shared/icons/IconFile.vue.d.ts +2 -0
  179. package/es/_shared/icons/IconFile.vue.js +22 -0
  180. package/es/_shared/icons/IconFile.vue2.js +4 -0
  181. package/es/_shared/icons/IconUpload.vue.d.ts +2 -0
  182. package/es/_shared/icons/IconUpload.vue.js +22 -0
  183. package/es/_shared/icons/IconUpload.vue2.js +4 -0
  184. package/es/_shared/icons/index.d.ts +2 -0
  185. package/es/_shared/type/index.d.ts +3 -1
  186. package/es/_shared/utils/vue-utils.d.ts +1 -1
  187. package/es/_virtual/_plugin-vue_export-helper.js +10 -0
  188. package/es/index.d.ts +31 -30
  189. package/es/index.js +5 -3
  190. package/es/node_modules/@vueuse/core/index.js +171 -9
  191. package/es/node_modules/@vueuse/shared/index.js +29 -0
  192. package/es/style.css +1 -1
  193. package/lib/Alert/index.d.ts +3 -3
  194. package/lib/Alert/index.vue.d.ts +1 -1
  195. package/lib/Alert/type.d.ts +2 -2
  196. package/lib/Anchor/Anchor.vue.d.ts +1 -1
  197. package/lib/Anchor/hooks/useContext.d.ts +1 -1
  198. package/lib/Anchor/index.d.ts +3 -3
  199. package/lib/Anchor/type.d.ts +3 -2
  200. package/lib/AutoComplete/index.d.ts +18 -9
  201. package/lib/AutoComplete/index.vue.d.ts +36 -18
  202. package/lib/Avatar/Avatar.vue.d.ts +1 -1
  203. package/lib/Avatar/index.d.ts +3 -3
  204. package/lib/Avatar/type.d.ts +3 -2
  205. package/lib/Badge/index.d.ts +3 -3
  206. package/lib/Badge/index.vue.d.ts +1 -1
  207. package/lib/Badge/type.d.ts +2 -2
  208. package/lib/Button/Button.vue.d.ts +2 -2
  209. package/lib/Button/ButtonGroup.vue.d.ts +1 -1
  210. package/lib/Button/hooks/useContext.d.ts +3 -3
  211. package/lib/Button/index.d.ts +9 -9
  212. package/lib/Button/type.d.ts +6 -6
  213. package/lib/Card/Card.vue.d.ts +1 -1
  214. package/lib/Card/index.d.ts +3 -3
  215. package/lib/Card/type.d.ts +1 -2
  216. package/lib/Carousel/Carousel.vue.d.ts +2 -2
  217. package/lib/Carousel/hooks/useContext.d.ts +3 -3
  218. package/lib/Carousel/index.d.ts +6 -6
  219. package/lib/Carousel/type.d.ts +6 -6
  220. package/lib/Cascader/Cascader.vue.d.ts +7 -7
  221. package/lib/Cascader/index.d.ts +6 -6
  222. package/lib/Collapse/hooks/useContext.d.ts +2 -13
  223. package/lib/Collapse/hooks/useContext.js +1 -1
  224. package/lib/Collapse/type.d.ts +2 -1
  225. package/lib/Descriptions/Descriptions.vue.d.ts +3 -3
  226. package/lib/Descriptions/hooks/useContext.d.ts +1 -1
  227. package/lib/Descriptions/index.d.ts +9 -9
  228. package/lib/Descriptions/type.d.ts +7 -6
  229. package/lib/Divider/index.d.ts +6 -6
  230. package/lib/Divider/index.vue.d.ts +2 -2
  231. package/lib/Divider/type.d.ts +4 -3
  232. package/lib/Drawer/Drawer.vue.d.ts +1 -1
  233. package/lib/Drawer/DrawerService.vue.d.ts +1 -1
  234. package/lib/Drawer/index.d.ts +5 -9
  235. package/lib/Drawer/type.d.ts +8 -4
  236. package/lib/Dropdown/Dropdown.vue.d.ts +1 -1
  237. package/lib/Dropdown/DropdownButton.vue.d.ts +1 -1
  238. package/lib/Dropdown/Dsubmenu.vue.d.ts +1 -1
  239. package/lib/Dropdown/index.d.ts +9 -9
  240. package/lib/Dropdown/type.d.ts +4 -6
  241. package/lib/Grid/hooks/useContext.d.ts +0 -11
  242. package/lib/Grid/hooks/useContext.js +1 -1
  243. package/lib/Image/Image.vue.d.ts +2 -2
  244. package/lib/Image/ImagePreview.vue.js +1 -1
  245. package/lib/Image/index.d.ts +6 -6
  246. package/lib/Image/type.d.ts +3 -2
  247. package/lib/Input/Input.vue.d.ts +1 -1
  248. package/lib/Input/InputSuffix.vue.js +1 -1
  249. package/lib/Input/index.d.ts +3 -3
  250. package/lib/InputNumber/InputNumber.vue.d.ts +8 -8
  251. package/lib/InputNumber/InputOperaBtn.vue.d.ts +2 -2
  252. package/lib/InputNumber/index.d.ts +9 -9
  253. package/lib/InputNumber/type.d.ts +5 -4
  254. package/lib/InputTag/index.d.ts +15 -6
  255. package/lib/InputTag/index.vue.d.ts +5 -2
  256. package/lib/InputTag/type.d.ts +2 -1
  257. package/lib/Layout/LayoutSider.vue.d.ts +3 -3
  258. package/lib/Layout/index.d.ts +8 -8
  259. package/lib/Layout/type.d.ts +3 -4
  260. package/lib/Link/index.d.ts +3 -3
  261. package/lib/Link/index.vue.d.ts +1 -1
  262. package/lib/Link/type.d.ts +2 -2
  263. package/lib/List/List.vue.d.ts +7 -7
  264. package/lib/List/index.d.ts +6 -6
  265. package/lib/List/type.d.ts +2 -3
  266. package/lib/Mention/index.d.ts +21 -12
  267. package/lib/Mention/index.vue.d.ts +37 -19
  268. package/lib/Mention/type.d.ts +3 -2
  269. package/lib/Menu/Menu.vue.d.ts +2 -2
  270. package/lib/Menu/index.d.ts +5 -5
  271. package/lib/Menu/type.d.ts +2 -2
  272. package/lib/Message/type.d.ts +3 -3
  273. package/lib/Modal/Modal.vue.d.ts +1 -1
  274. package/lib/Modal/ModalService.vue.d.ts +1 -1
  275. package/lib/Modal/index.d.ts +13 -13
  276. package/lib/Modal/index.js +1 -1
  277. package/lib/Modal/type.d.ts +6 -9
  278. package/lib/Notification/Notification.vue.d.ts +1 -1
  279. package/lib/Notification/index.d.ts +4 -4
  280. package/lib/Notification/type.d.ts +3 -4
  281. package/lib/OverflowList/index.d.ts +3 -3
  282. package/lib/OverflowList/index.vue.d.ts +1 -1
  283. package/lib/OverflowList/type.d.ts +3 -2
  284. package/lib/Popconfirm/index.d.ts +3 -3
  285. package/lib/Popconfirm/index.vue.d.ts +1 -1
  286. package/lib/Popconfirm/type.d.ts +2 -3
  287. package/lib/Progress/Progress.vue.d.ts +1 -1
  288. package/lib/Progress/ProgressCircle.vue.d.ts +3 -3
  289. package/lib/Progress/ProgressLine.vue.d.ts +3 -3
  290. package/lib/Progress/index.d.ts +3 -3
  291. package/lib/Progress/type.d.ts +2 -3
  292. package/lib/Radio/type.d.ts +1 -1
  293. package/lib/ResizeBox/index.d.ts +3 -3
  294. package/lib/ResizeBox/index.vue.d.ts +2 -2
  295. package/lib/ResizeBox/type.d.ts +4 -4
  296. package/lib/Result/index.d.ts +3 -3
  297. package/lib/Result/index.vue.d.ts +1 -1
  298. package/lib/Result/type.d.ts +3 -2
  299. package/lib/Scrollbar/Scrollbar.vue.d.ts +1 -1
  300. package/lib/Scrollbar/index.d.ts +3 -3
  301. package/lib/Scrollbar/type.d.ts +2 -1
  302. package/lib/Select/Select.vue.d.ts +31 -13
  303. package/lib/Select/hooks/useContext.d.ts +2 -2
  304. package/lib/Select/hooks/useSelectOptions.d.ts +2 -2
  305. package/lib/Select/index.d.ts +18 -9
  306. package/lib/Skeleton/SkeletonShape.vue.d.ts +2 -2
  307. package/lib/Skeleton/index.d.ts +2 -2
  308. package/lib/Skeleton/type.d.ts +2 -4
  309. package/lib/Space/index.d.ts +6 -6
  310. package/lib/Space/index.vue.d.ts +2 -2
  311. package/lib/Space/type.d.ts +5 -4
  312. package/lib/Switch/index.d.ts +9 -9
  313. package/lib/Switch/index.vue.d.ts +3 -3
  314. package/lib/Switch/type.d.ts +4 -4
  315. package/lib/Tabs/Tabs.vue.d.ts +1 -1
  316. package/lib/Tabs/hooks/useContext.d.ts +4 -4
  317. package/lib/Tabs/index.d.ts +3 -3
  318. package/lib/Tabs/type.d.ts +2 -3
  319. package/lib/Tag/index.d.ts +3 -3
  320. package/lib/Tag/index.vue.d.ts +1 -1
  321. package/lib/Tag/type.d.ts +1 -2
  322. package/lib/Textarea/type.d.ts +2 -2
  323. package/lib/TimePicker/TimePicker.vue.d.ts +1 -1
  324. package/lib/TimePicker/index.d.ts +3 -3
  325. package/lib/Timeline/TimelineItem.vue.d.ts +1 -1
  326. package/lib/Timeline/index.d.ts +3 -3
  327. package/lib/Timeline/type.d.ts +3 -4
  328. package/lib/Transfer/TransferPanel.vue.js +1 -1
  329. package/lib/Typography/TypographyBase.vue.d.ts +7 -7
  330. package/lib/Typography/TypographyBase.vue.js +1 -1
  331. package/lib/Typography/TypographyParagraph.vue.d.ts +1 -1
  332. package/lib/Typography/TypographyTitle.vue.d.ts +1 -1
  333. package/lib/Typography/type.d.ts +5 -4
  334. package/lib/Upload/Upload.vue.d.ts +53 -0
  335. package/lib/Upload/Upload.vue.js +1 -0
  336. package/lib/Upload/Upload.vue3.js +1 -0
  337. package/lib/Upload/UploadButton.vue.d.ts +2 -0
  338. package/lib/Upload/UploadButton.vue.js +1 -0
  339. package/lib/Upload/UploadButton.vue3.js +1 -0
  340. package/lib/Upload/UploadDrag.vue.d.ts +2 -0
  341. package/lib/Upload/UploadDrag.vue.js +1 -0
  342. package/lib/Upload/UploadDrag.vue3.js +1 -0
  343. package/lib/Upload/UploadFileList.vue.d.ts +24 -0
  344. package/lib/Upload/UploadFileList.vue.js +1 -0
  345. package/lib/Upload/UploadFileList.vue2.js +1 -0
  346. package/lib/Upload/UploadPictureCard.vue.d.ts +4 -0
  347. package/lib/Upload/UploadPictureCard.vue.js +1 -0
  348. package/lib/Upload/UploadPictureCard.vue2.js +1 -0
  349. package/lib/Upload/hooks/useContext.d.ts +49 -0
  350. package/lib/Upload/hooks/useContext.js +1 -0
  351. package/lib/Upload/hooks/useUpload.d.ts +47 -0
  352. package/lib/Upload/hooks/useUpload.js +1 -0
  353. package/lib/Upload/index.css +1 -0
  354. package/lib/Upload/index.d.ts +123 -0
  355. package/lib/Upload/index.js +1 -0
  356. package/lib/Upload/type.d.ts +72 -0
  357. package/lib/VerificationCode/index.d.ts +3 -3
  358. package/lib/VerificationCode/index.vue.d.ts +1 -1
  359. package/lib/VerificationCode/type.d.ts +5 -4
  360. package/lib/_shared/icons/IconCopy.vue.js +1 -1
  361. package/lib/_shared/icons/IconCopy.vue2.js +1 -1
  362. package/lib/_shared/icons/IconDelete.vue.js +1 -1
  363. package/lib/_shared/icons/IconDelete.vue2.js +1 -1
  364. package/lib/_shared/icons/IconEdit.vue.js +1 -1
  365. package/lib/_shared/icons/IconEdit.vue2.js +1 -1
  366. package/lib/_shared/icons/IconEyeClose.vue.js +1 -1
  367. package/lib/_shared/icons/IconEyeClose.vue2.js +1 -1
  368. package/lib/_shared/icons/IconFile.vue.d.ts +2 -0
  369. package/lib/_shared/icons/IconFile.vue.js +1 -0
  370. package/lib/_shared/icons/IconFile.vue2.js +1 -0
  371. package/lib/_shared/icons/IconUpload.vue.d.ts +2 -0
  372. package/lib/_shared/icons/IconUpload.vue.js +1 -0
  373. package/lib/_shared/icons/IconUpload.vue2.js +1 -0
  374. package/lib/_shared/icons/index.d.ts +2 -0
  375. package/lib/_shared/type/index.d.ts +3 -1
  376. package/lib/_shared/utils/vue-utils.d.ts +1 -1
  377. package/lib/_virtual/_plugin-vue_export-helper.js +1 -0
  378. package/lib/index.d.ts +31 -30
  379. package/lib/index.js +1 -1
  380. package/lib/node_modules/@vueuse/core/index.js +1 -1
  381. package/lib/node_modules/@vueuse/shared/index.js +1 -1
  382. package/lib/style.css +1 -1
  383. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { RenderContent } from '../_shared/type';
1
+ import { Position, RenderContent, Type } from '../_shared/type';
2
2
  import { RenderFunction } from 'vue';
3
3
  export interface MessageProps {
4
4
  type?: MessageType;
@@ -17,8 +17,8 @@ export interface MessageContainerProps {
17
17
  messageList?: MessageProps[];
18
18
  position?: MessagePostion;
19
19
  }
20
- export type MessagePostion = 'top' | 'bottom';
21
- export type MessageType = 'info' | 'success' | 'warning' | 'error' | 'loading' | 'normal';
20
+ export type MessageType = Type<'loading' | 'normal'>;
21
+ export type MessagePostion = Exclude<Position, 'left' | 'right'>;
22
22
  export type MessageConfig = Omit<MessageProps, 'type' | 'onDestory'> & MessageContainerProps;
23
23
  export type MessageMethod = {
24
24
  info: (config: string | MessageConfig) => MessageReturn;
@@ -39,7 +39,7 @@ declare const __VLS_component: import('vue').DefineComponent<ModalProps, {}, {},
39
39
  defaultVisible: boolean;
40
40
  closable: boolean;
41
41
  bodyStyle: CSSProperties;
42
- titleAlign: import('./type').ModalTitleAlign;
42
+ titleAlign: "center" | "start";
43
43
  alignCenter: boolean;
44
44
  maskClosable: boolean;
45
45
  hideCancel: boolean;
@@ -10,7 +10,7 @@ declare const _default: import('vue').DefineComponent<ModalServiceProps, {}, {},
10
10
  mask: boolean;
11
11
  closable: boolean;
12
12
  bodyStyle: import('vue').CSSProperties;
13
- titleAlign: import('./type').ModalTitleAlign;
13
+ titleAlign: "center" | "start";
14
14
  alignCenter: boolean;
15
15
  maskClosable: boolean;
16
16
  hideCancel: boolean;
@@ -24,7 +24,7 @@ declare const Modal: {
24
24
  top: number;
25
25
  footer: boolean;
26
26
  title: string;
27
- popupContainer: import('..').PopupContainer;
27
+ popupContainer: import('../_shared/type').PopupContainer;
28
28
  renderToBody: boolean;
29
29
  unmountOnClose: boolean;
30
30
  width: number | string;
@@ -33,7 +33,7 @@ declare const Modal: {
33
33
  defaultVisible: boolean;
34
34
  closable: boolean;
35
35
  bodyStyle: import('vue').CSSProperties;
36
- titleAlign: import('./type').ModalTitleAlign;
36
+ titleAlign: "center" | "start";
37
37
  alignCenter: boolean;
38
38
  maskClosable: boolean;
39
39
  hideCancel: boolean;
@@ -43,14 +43,14 @@ declare const Modal: {
43
43
  okButtonProps: import('..').ButtonProps;
44
44
  cancelButtonProps: import('..').ButtonProps;
45
45
  maskStyle: import('vue').CSSProperties;
46
- modalClass: import('..').ClassName;
46
+ modalClass: import('../_shared/type').ClassName;
47
47
  modalStyle: import('vue').CSSProperties;
48
48
  escToClose: boolean;
49
49
  draggable: boolean;
50
50
  fullscreen: boolean;
51
51
  maskAnimationName: string;
52
52
  modalAnimationName: string;
53
- bodyClass: import('..').ClassName;
53
+ bodyClass: import('../_shared/type').ClassName;
54
54
  hideTitle: boolean;
55
55
  simple: boolean;
56
56
  onBeforeCancel: import('./type').OnBeforeCancel;
@@ -77,7 +77,7 @@ declare const Modal: {
77
77
  top: number;
78
78
  footer: boolean;
79
79
  title: string;
80
- popupContainer: import('..').PopupContainer;
80
+ popupContainer: import('../_shared/type').PopupContainer;
81
81
  renderToBody: boolean;
82
82
  unmountOnClose: boolean;
83
83
  width: number | string;
@@ -86,7 +86,7 @@ declare const Modal: {
86
86
  defaultVisible: boolean;
87
87
  closable: boolean;
88
88
  bodyStyle: import('vue').CSSProperties;
89
- titleAlign: import('./type').ModalTitleAlign;
89
+ titleAlign: "center" | "start";
90
90
  alignCenter: boolean;
91
91
  maskClosable: boolean;
92
92
  hideCancel: boolean;
@@ -96,14 +96,14 @@ declare const Modal: {
96
96
  okButtonProps: import('..').ButtonProps;
97
97
  cancelButtonProps: import('..').ButtonProps;
98
98
  maskStyle: import('vue').CSSProperties;
99
- modalClass: import('..').ClassName;
99
+ modalClass: import('../_shared/type').ClassName;
100
100
  modalStyle: import('vue').CSSProperties;
101
101
  escToClose: boolean;
102
102
  draggable: boolean;
103
103
  fullscreen: boolean;
104
104
  maskAnimationName: string;
105
105
  modalAnimationName: string;
106
- bodyClass: import('..').ClassName;
106
+ bodyClass: import('../_shared/type').ClassName;
107
107
  hideTitle: boolean;
108
108
  simple: boolean;
109
109
  onBeforeCancel: import('./type').OnBeforeCancel;
@@ -132,7 +132,7 @@ declare const Modal: {
132
132
  top: number;
133
133
  footer: boolean;
134
134
  title: string;
135
- popupContainer: import('..').PopupContainer;
135
+ popupContainer: import('../_shared/type').PopupContainer;
136
136
  renderToBody: boolean;
137
137
  unmountOnClose: boolean;
138
138
  width: number | string;
@@ -141,7 +141,7 @@ declare const Modal: {
141
141
  defaultVisible: boolean;
142
142
  closable: boolean;
143
143
  bodyStyle: import('vue').CSSProperties;
144
- titleAlign: import('./type').ModalTitleAlign;
144
+ titleAlign: "center" | "start";
145
145
  alignCenter: boolean;
146
146
  maskClosable: boolean;
147
147
  hideCancel: boolean;
@@ -151,14 +151,14 @@ declare const Modal: {
151
151
  okButtonProps: import('..').ButtonProps;
152
152
  cancelButtonProps: import('..').ButtonProps;
153
153
  maskStyle: import('vue').CSSProperties;
154
- modalClass: import('..').ClassName;
154
+ modalClass: import('../_shared/type').ClassName;
155
155
  modalStyle: import('vue').CSSProperties;
156
156
  escToClose: boolean;
157
157
  draggable: boolean;
158
158
  fullscreen: boolean;
159
159
  maskAnimationName: string;
160
160
  modalAnimationName: string;
161
- bodyClass: import('..').ClassName;
161
+ bodyClass: import('../_shared/type').ClassName;
162
162
  hideTitle: boolean;
163
163
  simple: boolean;
164
164
  onBeforeCancel: import('./type').OnBeforeCancel;
@@ -171,7 +171,7 @@ declare const Modal: {
171
171
  error: (props: ModalConfig) => import('./type').ModalReturn;
172
172
  warning: (props: ModalConfig) => import('./type').ModalReturn;
173
173
  info: (props: ModalConfig) => import('./type').ModalReturn;
174
- confirm: (props: ModalConfig) => import('vm').ModuleStatus;
174
+ confirm: (props: ModalConfig) => import('./type').ModalReturn;
175
175
  install: (app: App) => void;
176
176
  };
177
177
  declare module 'vue' {
package/es/Modal/index.js CHANGED
@@ -13,16 +13,13 @@ const open = (props) => {
13
13
  const close = () => {
14
14
  render(null, container);
15
15
  };
16
- const update = (_updateProps) => {
17
- };
18
16
  const vnode = h(_sfc_main$1, {
19
17
  ...props,
20
18
  serviceClose: close
21
19
  });
22
20
  render(vnode, container);
23
21
  return {
24
- close,
25
- update
22
+ close
26
23
  };
27
24
  };
28
25
  const modalMethod = {
@@ -1,7 +1,6 @@
1
1
  import { CSSProperties, VNode } from 'vue';
2
2
  import { ButtonProps } from '../Button';
3
- import { RenderContent, PopupContainer, ClassName } from '../_shared/type';
4
- import { ModuleStatus } from 'vm';
3
+ import { RenderContent, PopupContainer, ClassName, Type } from '../_shared/type';
5
4
  export interface ModalProps {
6
5
  visible?: boolean;
7
6
  defaultVisible?: boolean;
@@ -9,7 +8,7 @@ export interface ModalProps {
9
8
  top?: number;
10
9
  mask?: boolean;
11
10
  title?: string;
12
- titleAlign?: ModalTitleAlign;
11
+ titleAlign?: TitleAlign;
13
12
  alignCenter?: boolean;
14
13
  unmountOnClose?: boolean;
15
14
  maskClosable?: boolean;
@@ -53,14 +52,13 @@ export interface ModalSlots {
53
52
  footer?: () => VNode[];
54
53
  title?: () => VNode[];
55
54
  }
56
- export type ModalType = 'success' | 'warning' | 'error' | 'info';
57
- export type ModalTitleAlign = 'start' | 'center';
55
+ type TitleAlign = 'start' | 'center';
58
56
  export type OnBeforeOk = (done: (closed: boolean) => void) => void | boolean | Promise<boolean | void>;
59
57
  export type OnBeforeCancel = () => boolean;
60
58
  export type ModalConfig = Omit<ModalProps, 'visible' | 'defaultVisible' | 'popupContainer'> & {
61
59
  title?: RenderContent;
62
60
  content?: RenderContent;
63
- type?: ModalType;
61
+ type?: Type;
64
62
  onOk?: () => void | Promise<void>;
65
63
  onCancel?: () => void | Promise<void>;
66
64
  onOpen?: () => void;
@@ -68,7 +66,6 @@ export type ModalConfig = Omit<ModalProps, 'visible' | 'defaultVisible' | 'popup
68
66
  onBeforeOpen?: () => void;
69
67
  onBeforeClose?: () => void;
70
68
  };
71
- export type ModalUpdateConfig = Omit<ModalConfig, 'title' | 'content' | 'footer' | 'onOk' | 'onCancel' | 'onBeforeOk' | 'onBeforeCancel' | 'onOpen' | 'onClose' | 'onBeforeOpen' | 'onBeforeClose'>;
72
69
  export type ModalServiceProps = ModalConfig & {
73
70
  serviceClose?: () => void;
74
71
  };
@@ -78,9 +75,9 @@ export type ModalMethod = {
78
75
  error: (props: ModalConfig) => ModalReturn;
79
76
  warning: (props: ModalConfig) => ModalReturn;
80
77
  info: (props: ModalConfig) => ModalReturn;
81
- confirm: (props: ModalConfig) => ModuleStatus;
78
+ confirm: (props: ModalConfig) => ModalReturn;
82
79
  };
83
80
  export type ModalReturn = {
84
81
  close: () => void;
85
- update: (config: ModalUpdateConfig) => void;
86
82
  };
83
+ export {};
@@ -1,6 +1,6 @@
1
1
  import { NotificationProps } from './type';
2
2
  declare const _default: import('vue').DefineComponent<NotificationProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<NotificationProps> & Readonly<{}>, {
3
- type: import('./type').NotificationType;
3
+ type: import('..').Type;
4
4
  footer: import('vue').RenderFunction;
5
5
  style: import('vue').CSSProperties;
6
6
  title: import('..').RenderContent;
@@ -1,12 +1,12 @@
1
1
  import { App } from 'vue';
2
2
  import { default as _Notification } from './Notification.vue';
3
- import { NotificationMethod, NotificationConfig, NotificationProps, NotificationType, NotificationPosition } from './type';
3
+ import { NotificationMethod, NotificationConfig, NotificationProps, NotificationPosition } from './type';
4
4
  export type NotificationInstance = InstanceType<typeof _Notification>;
5
5
  export * from './type';
6
6
  declare const NotificationMethod: NotificationMethod;
7
7
  declare const Notification: {
8
8
  new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<NotificationProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
9
- type: NotificationType;
9
+ type: import('..').Type;
10
10
  footer: import('vue').RenderFunction;
11
11
  style: import('vue').CSSProperties;
12
12
  title: import('..').RenderContent;
@@ -29,7 +29,7 @@ declare const Notification: {
29
29
  M: {};
30
30
  Defaults: {};
31
31
  }, Readonly<NotificationProps> & Readonly<{}>, {}, {}, {}, {}, {
32
- type: NotificationType;
32
+ type: import('..').Type;
33
33
  footer: import('vue').RenderFunction;
34
34
  style: import('vue').CSSProperties;
35
35
  title: import('..').RenderContent;
@@ -49,7 +49,7 @@ declare const Notification: {
49
49
  __isTeleport?: never;
50
50
  __isSuspense?: never;
51
51
  } & import('vue').ComponentOptionsBase<Readonly<NotificationProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
52
- type: NotificationType;
52
+ type: import('..').Type;
53
53
  footer: import('vue').RenderFunction;
54
54
  style: import('vue').CSSProperties;
55
55
  title: import('..').RenderContent;
@@ -1,7 +1,7 @@
1
- import { ClassName, RenderContent } from '../_shared/type';
1
+ import { ClassName, RenderContent, Type } from '../_shared/type';
2
2
  import { CSSProperties, RenderFunction } from 'vue';
3
3
  export interface NotificationProps {
4
- type?: NotificationType;
4
+ type?: Type;
5
5
  content?: RenderContent;
6
6
  title?: RenderContent;
7
7
  icon?: RenderFunction;
@@ -22,6 +22,7 @@ export interface NotificationContainerProps {
22
22
  notificationList?: NotificationProps[];
23
23
  position?: NotificationPosition;
24
24
  }
25
+ export type NotificationPosition = 'topLeft' | 'topRight' | 'bottomLeft' | 'bottomRight';
25
26
  export type NotificationConfig = Omit<NotificationProps, 'type' | 'onDestory'> & NotificationContainerProps;
26
27
  export type NotificationMethod = {
27
28
  info: (config: string | NotificationConfig) => NotificationReturn;
@@ -34,5 +35,3 @@ export type NotificationMethod = {
34
35
  export type NotificationReturn = {
35
36
  close?: () => void;
36
37
  };
37
- export type NotificationPosition = 'topLeft' | 'topRight' | 'bottomLeft' | 'bottomRight';
38
- export type NotificationType = 'success' | 'warning' | 'error' | 'info';
@@ -10,7 +10,7 @@ declare const OverflowList: {
10
10
  }, import('vue').PublicProps, {
11
11
  margin: number;
12
12
  min: number;
13
- from: import('./type').OverflowListFrom;
13
+ from: "end" | "start";
14
14
  }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
15
15
  listRef: HTMLDivElement;
16
16
  overflowRef: HTMLDivElement;
@@ -26,7 +26,7 @@ declare const OverflowList: {
26
26
  }>, {}, {}, {}, {}, {
27
27
  margin: number;
28
28
  min: number;
29
- from: import('./type').OverflowListFrom;
29
+ from: "end" | "start";
30
30
  }>;
31
31
  __isFragment?: never;
32
32
  __isTeleport?: never;
@@ -38,7 +38,7 @@ declare const OverflowList: {
38
38
  }, string, {
39
39
  margin: number;
40
40
  min: number;
41
- from: import('./type').OverflowListFrom;
41
+ from: "end" | "start";
42
42
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
43
43
  $slots: any;
44
44
  }) & {
@@ -16,7 +16,7 @@ declare const __VLS_component: import('vue').DefineComponent<OverflowListProps,
16
16
  }>, {
17
17
  margin: number;
18
18
  min: number;
19
- from: import('./type').OverflowListFrom;
19
+ from: "end" | "start";
20
20
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
21
21
  listRef: HTMLDivElement;
22
22
  overflowRef: HTMLDivElement;
@@ -2,7 +2,7 @@ import { VNode } from 'vue';
2
2
  export interface OverflowListProps {
3
3
  min?: number;
4
4
  margin?: number;
5
- from?: OverflowListFrom;
5
+ from?: From;
6
6
  }
7
7
  export interface OverflowListEmits {
8
8
  (e: 'change', value: number): void;
@@ -11,4 +11,5 @@ export interface OverflowListSlots {
11
11
  default?: () => VNode[];
12
12
  overflow?: () => VNode[];
13
13
  }
14
- export type OverflowListFrom = 'start' | 'end';
14
+ type From = 'start' | 'end';
15
+ export {};
@@ -17,7 +17,7 @@ declare const Popconfirm: {
17
17
  "popup-visible-change": (value: boolean) => any;
18
18
  ok: () => any;
19
19
  }, import('vue').PublicProps, {
20
- type: import('./type').PopconfirmType;
20
+ type: import('..').Type;
21
21
  popupContainer: import('..').PopupContainer;
22
22
  popupVisible: boolean;
23
23
  defaultPopupVisible: boolean;
@@ -290,7 +290,7 @@ declare const Popconfirm: {
290
290
  hide(): void;
291
291
  show(): void;
292
292
  }, {}, {}, {}, {
293
- type: import('./type').PopconfirmType;
293
+ type: import('..').Type;
294
294
  popupContainer: import('..').PopupContainer;
295
295
  popupVisible: boolean;
296
296
  defaultPopupVisible: boolean;
@@ -326,7 +326,7 @@ declare const Popconfirm: {
326
326
  "popup-visible-change": (value: boolean) => any;
327
327
  ok: () => any;
328
328
  }, string, {
329
- type: import('./type').PopconfirmType;
329
+ type: import('..').Type;
330
330
  popupContainer: import('..').PopupContainer;
331
331
  popupVisible: boolean;
332
332
  defaultPopupVisible: boolean;
@@ -259,7 +259,7 @@ declare const __VLS_component: import('vue').DefineComponent<PopconfirmProps, {
259
259
  "onPopup-visible-change"?: ((value: boolean) => any) | undefined;
260
260
  onOk?: (() => any) | undefined;
261
261
  }>, {
262
- type: import('./type').PopconfirmType;
262
+ type: import('..').Type;
263
263
  popupContainer: import('..').PopupContainer;
264
264
  popupVisible: boolean;
265
265
  defaultPopupVisible: boolean;
@@ -1,5 +1,5 @@
1
1
  import { CSSProperties, VNode } from 'vue';
2
- import { ClassName, PopupContainer, PopupPosition } from '../_shared/type';
2
+ import { ClassName, PopupContainer, PopupPosition, Type } from '../_shared/type';
3
3
  import { OnBeforeCancel, OnBeforeOk } from '../Modal';
4
4
  import { TriggerProps } from '../Trigger';
5
5
  import { ButtonProps } from '../Button';
@@ -8,7 +8,7 @@ export interface PopconfirmProps {
8
8
  position?: PopupPosition;
9
9
  popupVisible?: boolean;
10
10
  defaultPopupVisible?: boolean;
11
- type?: PopconfirmType;
11
+ type?: Type;
12
12
  okText?: string;
13
13
  cancelText?: string;
14
14
  okLoading?: boolean;
@@ -38,4 +38,3 @@ export interface PopconfirmExpose {
38
38
  hide(): void;
39
39
  show(): void;
40
40
  }
41
- export type PopconfirmType = 'success' | 'warning' | 'error' | 'info';
@@ -20,7 +20,7 @@ declare const __VLS_component: import('vue').DefineComponent<ProgressProps, {},
20
20
  size: import('..').Size;
21
21
  type: import('./type').ProgressType;
22
22
  animation: boolean;
23
- status: import('./type').ProgressStatus;
23
+ status: import('..').Status;
24
24
  showText: boolean;
25
25
  percent: number;
26
26
  steps: number;
@@ -1,9 +1,9 @@
1
- import { ProgressColor, ProgressStatus } from './type';
2
- import { Size } from '../_shared/type';
1
+ import { ProgressColor } from './type';
2
+ import { Size, Status } from '../_shared/type';
3
3
  type __VLS_Props = {
4
4
  type: string;
5
5
  percent: number;
6
- status?: ProgressStatus;
6
+ status?: Status;
7
7
  size: Size;
8
8
  text: string;
9
9
  showText: boolean;
@@ -1,9 +1,9 @@
1
- import { ProgressColor, ProgressStatus } from './type';
2
- import { Size } from '../_shared/type';
1
+ import { ProgressColor } from './type';
2
+ import { Size, Status } from '../_shared/type';
3
3
  type __VLS_Props = {
4
4
  size: Size;
5
5
  percent: number;
6
- status?: ProgressStatus;
6
+ status?: Status;
7
7
  showText: boolean;
8
8
  text: string;
9
9
  width?: number;
@@ -7,7 +7,7 @@ declare const Progress: {
7
7
  size: import('..').Size;
8
8
  type: import('./type').ProgressType;
9
9
  animation: boolean;
10
- status: import('./type').ProgressStatus;
10
+ status: import('..').Status;
11
11
  showText: boolean;
12
12
  percent: number;
13
13
  steps: number;
@@ -22,7 +22,7 @@ declare const Progress: {
22
22
  size: import('..').Size;
23
23
  type: import('./type').ProgressType;
24
24
  animation: boolean;
25
- status: import('./type').ProgressStatus;
25
+ status: import('..').Status;
26
26
  showText: boolean;
27
27
  percent: number;
28
28
  steps: number;
@@ -34,7 +34,7 @@ declare const Progress: {
34
34
  size: import('..').Size;
35
35
  type: import('./type').ProgressType;
36
36
  animation: boolean;
37
- status: import('./type').ProgressStatus;
37
+ status: import('..').Status;
38
38
  showText: boolean;
39
39
  percent: number;
40
40
  steps: number;
@@ -1,4 +1,4 @@
1
- import { Size } from '../_shared/type';
1
+ import { Size, Status } from '../_shared/type';
2
2
  export interface ProgressProps {
3
3
  type?: ProgressType;
4
4
  size?: Size;
@@ -10,8 +10,7 @@ export interface ProgressProps {
10
10
  color?: ProgressColor;
11
11
  trackColor?: string;
12
12
  showText?: boolean;
13
- status?: ProgressStatus;
13
+ status?: Status;
14
14
  }
15
15
  export type ProgressType = 'line' | 'circle';
16
16
  export type ProgressColor = string | Record<string, string>;
17
- export type ProgressStatus = 'success' | 'warning' | 'danger' | 'normal';
@@ -41,10 +41,10 @@ export interface RadioGroupSlots {
41
41
  data: RecordType;
42
42
  }) => VNode[];
43
43
  }
44
+ export type RadioValue = string | number | boolean;
44
45
  export type RadioOption = (RadioValue | {
45
46
  label?: string;
46
47
  value: RadioValue;
47
48
  disabled?: boolean;
48
49
  })[];
49
- export type RadioValue = string | number | boolean;
50
50
  export type RadioType = 'radio' | 'button';
@@ -25,7 +25,7 @@ declare const ResizeBox: {
25
25
  width: number;
26
26
  height: number;
27
27
  component: string;
28
- directions: import('./type').ResizeBoxDirection[];
28
+ directions: import('..').Position[];
29
29
  }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
30
30
  boxRef: unknown;
31
31
  }, any, import('vue').ComponentProvideOptions, {
@@ -48,7 +48,7 @@ declare const ResizeBox: {
48
48
  width: number;
49
49
  height: number;
50
50
  component: string;
51
- directions: import('./type').ResizeBoxDirection[];
51
+ directions: import('..').Position[];
52
52
  }>;
53
53
  __isFragment?: never;
54
54
  __isTeleport?: never;
@@ -75,7 +75,7 @@ declare const ResizeBox: {
75
75
  width: number;
76
76
  height: number;
77
77
  component: string;
78
- directions: import('./type').ResizeBoxDirection[];
78
+ directions: import('..').Position[];
79
79
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
80
80
  $slots: Readonly<import('./type').ResizeBoxSlots> & import('./type').ResizeBoxSlots;
81
81
  }) & {
@@ -1,4 +1,4 @@
1
- import { ResizeBoxProps, ResizeBoxSlots, ResizeBoxDirection } from './type';
1
+ import { ResizeBoxProps, ResizeBoxSlots } from './type';
2
2
  declare function __VLS_template(): {
3
3
  attrs: Partial<{}>;
4
4
  slots: Readonly<ResizeBoxSlots> & ResizeBoxSlots;
@@ -30,7 +30,7 @@ declare const __VLS_component: import('vue').DefineComponent<ResizeBoxProps, {},
30
30
  width: number;
31
31
  height: number;
32
32
  component: string;
33
- directions: ResizeBoxDirection[];
33
+ directions: import('..').Position[];
34
34
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
35
35
  boxRef: unknown;
36
36
  }, any>;
@@ -1,9 +1,10 @@
1
1
  import { VNode } from 'vue';
2
+ import { Position } from '../_shared/type';
2
3
  export interface ResizeBoxProps {
3
4
  width?: number;
4
5
  height?: number;
5
6
  component?: string;
6
- directions?: ResizeBoxDirection[];
7
+ directions?: Position[];
7
8
  }
8
9
  export interface ResizeBoxEmits {
9
10
  (e: 'update:width', value: number): void;
@@ -18,10 +19,9 @@ export interface ResizeBoxEmits {
18
19
  export interface ResizeBoxSlots {
19
20
  default?: () => VNode[];
20
21
  'resize-trigger'?: (scope: {
21
- direction: ResizeBoxDirection;
22
+ direction: Position;
22
23
  }) => VNode[];
23
24
  'resize-trigger-icon'?: (scope: {
24
- direction: ResizeBoxDirection;
25
+ direction: Position;
25
26
  }) => VNode[];
26
27
  }
27
- export type ResizeBoxDirection = 'left' | 'right' | 'top' | 'bottom';
@@ -5,7 +5,7 @@ export * from './type';
5
5
  declare const Result: {
6
6
  new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./type').ResultProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
7
7
  title: string;
8
- status: import('./type').ResultStatus;
8
+ status: "success" | "warning" | "error" | "info" | "403" | "404" | "500" | null;
9
9
  subtitle: string;
10
10
  }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
11
11
  P: {};
@@ -16,7 +16,7 @@ declare const Result: {
16
16
  Defaults: {};
17
17
  }, Readonly<import('./type').ResultProps> & Readonly<{}>, {}, {}, {}, {}, {
18
18
  title: string;
19
- status: import('./type').ResultStatus;
19
+ status: "success" | "warning" | "error" | "info" | "403" | "404" | "500" | null;
20
20
  subtitle: string;
21
21
  }>;
22
22
  __isFragment?: never;
@@ -24,7 +24,7 @@ declare const Result: {
24
24
  __isSuspense?: never;
25
25
  } & import('vue').ComponentOptionsBase<Readonly<import('./type').ResultProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
26
26
  title: string;
27
- status: import('./type').ResultStatus;
27
+ status: "success" | "warning" | "error" | "info" | "403" | "404" | "500" | null;
28
28
  subtitle: string;
29
29
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
30
30
  $slots: any;
@@ -8,7 +8,7 @@ declare function __VLS_template(): {
8
8
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
9
9
  declare const __VLS_component: import('vue').DefineComponent<ResultProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ResultProps> & Readonly<{}>, {
10
10
  title: string;
11
- status: import('./type').ResultStatus;
11
+ status: "success" | "warning" | "error" | "info" | "403" | "404" | "500" | null;
12
12
  subtitle: string;
13
13
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
14
14
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
@@ -1,6 +1,6 @@
1
1
  import { VNode } from 'vue';
2
2
  export interface ResultProps {
3
- status?: ResultStatus;
3
+ status?: Status;
4
4
  title?: string;
5
5
  subtitle?: string;
6
6
  }
@@ -11,4 +11,5 @@ export interface ResultSlots {
11
11
  default?: () => VNode[];
12
12
  extra?: () => VNode[];
13
13
  }
14
- export type ResultStatus = 'success' | 'warning' | 'error' | 'info' | '403' | '404' | '500' | null;
14
+ type Status = 'success' | 'warning' | 'error' | 'info' | '403' | '404' | '500' | null;
15
+ export {};
@@ -19,7 +19,7 @@ declare const __VLS_component: import('vue').DefineComponent<ScrollbarProps, {
19
19
  }, string, import('vue').PublicProps, Readonly<ScrollbarProps> & Readonly<{
20
20
  onScroll?: ((left: number, top: number, ev: Event) => any) | undefined;
21
21
  }>, {
22
- type: import('./type').TackType;
22
+ type: "embed" | "track";
23
23
  scrollbar: boolean;
24
24
  outerClass: import('..').ClassName;
25
25
  outerStyle: import('vue').CSSProperties;