yc-design-vue 2.0.1 → 2.0.3

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 (514) hide show
  1. package/es/Affix/type.d.ts +1 -1
  2. package/es/Alert/index.vue.js +2 -2
  3. package/es/Alert/type.d.ts +1 -1
  4. package/es/Anchor/hooks/useContext.d.ts +2 -2
  5. package/es/Anchor/type.d.ts +1 -1
  6. package/es/AutoComplete/index.d.ts +27 -27
  7. package/es/AutoComplete/index.vue.d.ts +49 -49
  8. package/es/AutoComplete/type.d.ts +6 -8
  9. package/es/Avatar/Avatar.vue.d.ts +1 -1
  10. package/es/Avatar/Avatar.vue.js +1 -1
  11. package/es/Avatar/hooks/useContext.d.ts +3 -3
  12. package/es/Avatar/index.d.ts +3 -3
  13. package/es/Avatar/type.d.ts +2 -2
  14. package/es/BackTop/index.vue.js +1 -1
  15. package/es/BackTop/type.d.ts +1 -1
  16. package/es/Badge/type.d.ts +1 -1
  17. package/es/Breadcrumb/BreadcrumbItem.vue.js +1 -1
  18. package/es/Breadcrumb/BreadcrumbMore.vue.js +1 -1
  19. package/es/Breadcrumb/BreadcrumbSeparator.vue.js +1 -1
  20. package/es/Breadcrumb/type.d.ts +1 -1
  21. package/es/Button/Button.vue.d.ts +1 -1
  22. package/es/Button/ButtonGroup.vue.d.ts +1 -1
  23. package/es/Button/hooks/useContext.d.ts +5 -5
  24. package/es/Button/index.d.ts +6 -6
  25. package/es/Button/type.d.ts +4 -5
  26. package/es/Calendar/Calendar.vue.js +2 -2
  27. package/es/Card/type.d.ts +2 -1
  28. package/es/Carousel/Carousel.vue.d.ts +3 -3
  29. package/es/Carousel/CarouselArrow.vue.js +1 -1
  30. package/es/Carousel/CarouselIndicator.vue.d.ts +3 -3
  31. package/es/Carousel/hooks/useContext.d.ts +3 -3
  32. package/es/Carousel/index.d.ts +9 -9
  33. package/es/Carousel/type.d.ts +2 -3
  34. package/es/Cascader/Cascader.vue.d.ts +13 -25
  35. package/es/Cascader/Cascader.vue.js +1 -1
  36. package/es/Cascader/CascaderIcon.vue.js +2 -2
  37. package/es/Cascader/CascaderOption.vue.js +1 -1
  38. package/es/Cascader/hooks/useContext.d.ts +5 -17
  39. package/es/Cascader/index.d.ts +17 -29
  40. package/es/Cascader/type.d.ts +5 -7
  41. package/es/Checkbox/Checkbox.vue.js +2 -2
  42. package/es/Checkbox/hooks/useContext.d.ts +3 -3
  43. package/es/Checkbox/type.d.ts +3 -3
  44. package/es/Collapse/CollapseItem.vue.js +2 -2
  45. package/es/Collapse/hooks/useContext.d.ts +5 -5
  46. package/es/Collapse/type.d.ts +2 -2
  47. package/es/ColorPicker/hooks/useContext.d.ts +2 -2
  48. package/es/ConfigProvider/index.d.ts +3 -3
  49. package/es/ConfigProvider/index.vue.d.ts +1 -1
  50. package/es/ConfigProvider/type.d.ts +2 -3
  51. package/es/Descriptions/hooks/useContext.d.ts +2 -2
  52. package/es/Descriptions/type.d.ts +1 -2
  53. package/es/Drawer/Drawer.vue.js +2 -2
  54. package/es/Drawer/DrawerService.vue.d.ts +1 -1
  55. package/es/Dropdown/Doption.vue.js +1 -1
  56. package/es/Dropdown/Dropdown.vue.d.ts +1 -1
  57. package/es/Dropdown/Dropdown.vue.js +1 -1
  58. package/es/Dropdown/DropdownButton.vue.js +1 -1
  59. package/es/Dropdown/Dsubmenu.vue.d.ts +20 -20
  60. package/es/Dropdown/Dsubmenu.vue.js +2 -2
  61. package/es/Dropdown/hooks/useContext.d.ts +2 -2
  62. package/es/Dropdown/index.d.ts +18 -18
  63. package/es/Dropdown/type.d.ts +5 -6
  64. package/es/Empty/index.vue.js +1 -1
  65. package/es/Grid/Grid.vue.d.ts +3 -3
  66. package/es/Grid/GridCol.vue.d.ts +2 -2
  67. package/es/Grid/GridItem.vue.d.ts +2 -2
  68. package/es/Grid/GridRow.vue.d.ts +1 -1
  69. package/es/Grid/hooks/useContext.d.ts +4 -4
  70. package/es/Grid/index.d.ts +24 -24
  71. package/es/Grid/type.d.ts +4 -12
  72. package/es/Image/Image.vue.d.ts +1 -1
  73. package/es/Image/Image.vue.js +1 -1
  74. package/es/Image/ImagePreview.vue.js +1 -1
  75. package/es/Image/ImagePreviewArrow.vue.js +1 -1
  76. package/es/Image/ImagePreviewToolbar.vue.js +1 -1
  77. package/es/Image/hooks/useContext.d.ts +2 -2
  78. package/es/Image/index.d.ts +3 -3
  79. package/es/Image/type.d.ts +2 -3
  80. package/es/Input/Input.vue.d.ts +1 -1
  81. package/es/Input/Input.vue.js +2 -2
  82. package/es/Input/InputSuffix.vue.js +2 -2
  83. package/es/Input/hooks/useLimitedInput.d.ts +3 -3
  84. package/es/Input/index.d.ts +3 -3
  85. package/es/Input/type.d.ts +2 -2
  86. package/es/InputNumber/InputNumber.vue.d.ts +7 -7
  87. package/es/InputNumber/InputOperaBtn.vue.js +1 -1
  88. package/es/InputNumber/index.d.ts +6 -6
  89. package/es/InputNumber/type.d.ts +3 -4
  90. package/es/InputTag/index.vue.js +2 -2
  91. package/es/InputTag/type.d.ts +5 -6
  92. package/es/Layout/LayoutSider.vue.d.ts +7 -7
  93. package/es/Layout/LayoutSider.vue.js +1 -1
  94. package/es/Layout/hooks/useSiderContext.d.ts +2 -2
  95. package/es/Layout/index.d.ts +19 -19
  96. package/es/Layout/type.d.ts +4 -5
  97. package/es/Link/index.vue.js +1 -1
  98. package/es/Link/type.d.ts +1 -1
  99. package/es/List/List.vue.d.ts +15 -15
  100. package/es/List/ListVirtual.vue.d.ts +3 -3
  101. package/es/List/index.d.ts +10 -10
  102. package/es/List/type.d.ts +3 -3
  103. package/es/Mention/index.d.ts +35 -35
  104. package/es/Mention/index.vue.d.ts +46 -46
  105. package/es/Mention/type.d.ts +6 -5
  106. package/es/Menu/Menu.vue.d.ts +6 -6
  107. package/es/Menu/Menu.vue.js +1 -1
  108. package/es/Menu/MenuEllipsis.vue.js +1 -1
  109. package/es/Menu/SubMenu.vue.d.ts +1 -1
  110. package/es/Menu/SubMenu.vue.js +1 -1
  111. package/es/Menu/hooks/useContext.d.ts +5 -5
  112. package/es/Menu/index.d.ts +20 -20
  113. package/es/Menu/type.d.ts +3 -6
  114. package/es/Message/Message.vue.d.ts +1 -1
  115. package/es/Message/Message.vue.js +2 -2
  116. package/es/Message/index.d.ts +3 -3
  117. package/es/Message/type.d.ts +5 -5
  118. package/es/Modal/Modal.vue.d.ts +2 -2
  119. package/es/Modal/Modal.vue.js +2 -2
  120. package/es/Modal/ModalService.vue.d.ts +4 -4
  121. package/es/Modal/index.d.ts +6 -6
  122. package/es/Modal/index.js +1 -1
  123. package/es/Modal/type.d.ts +8 -8
  124. package/es/Notification/Notification.vue.d.ts +3 -3
  125. package/es/Notification/Notification.vue.js +2 -2
  126. package/es/Notification/index.d.ts +9 -9
  127. package/es/Notification/type.d.ts +4 -4
  128. package/es/PageHeader/index.vue.js +2 -2
  129. package/es/Pagination/PaginationItem.vue.js +1 -1
  130. package/es/Pagination/hooks/useContext.d.ts +2 -2
  131. package/es/Popconfirm/index.d.ts +18 -18
  132. package/es/Popconfirm/index.vue.d.ts +21 -21
  133. package/es/Popconfirm/type.d.ts +4 -4
  134. package/es/Popover/index.d.ts +9 -9
  135. package/es/Popover/index.vue.d.ts +3 -3
  136. package/es/Popover/type.d.ts +3 -3
  137. package/es/Progress/ProgressCircle.vue.js +1 -1
  138. package/es/Progress/type.d.ts +1 -1
  139. package/es/Radio/Radio.vue.js +2 -2
  140. package/es/Radio/hooks/useContext.d.ts +3 -3
  141. package/es/Radio/type.d.ts +2 -2
  142. package/es/Rate/index.vue.js +1 -1
  143. package/es/ResizeBox/index.vue.js +3 -3
  144. package/es/Result/type.d.ts +1 -1
  145. package/es/Scrollbar/Scrollbar.vue.d.ts +1 -1
  146. package/es/Scrollbar/index.d.ts +3 -3
  147. package/es/Select/Option.vue.d.ts +1 -1
  148. package/es/Select/Option.vue.js +1 -1
  149. package/es/Select/Select.vue.d.ts +27 -27
  150. package/es/Select/Select.vue.js +2 -2
  151. package/es/Select/SelectIcon.vue.js +2 -2
  152. package/es/Select/SelectRealList.vue.js +1 -1
  153. package/es/Select/hooks/useContext.d.ts +13 -13
  154. package/es/Select/hooks/useSelectOptions.d.ts +13 -13
  155. package/es/Select/index.d.ts +26 -26
  156. package/es/Select/type.d.ts +13 -16
  157. package/es/Skeleton/type.d.ts +3 -2
  158. package/es/Slider/Slider.vue.d.ts +1 -1
  159. package/es/Slider/SliderTicks.vue.d.ts +2 -2
  160. package/es/Slider/hooks/useContext.d.ts +4 -4
  161. package/es/Slider/index.d.ts +3 -3
  162. package/es/Slider/type.d.ts +2 -3
  163. package/es/Space/index.d.ts +3 -3
  164. package/es/Space/index.vue.d.ts +1 -1
  165. package/es/Spin/index.vue.js +1 -1
  166. package/es/Split/index.vue.js +1 -1
  167. package/es/Steps/Step.vue.js +1 -1
  168. package/es/Steps/hooks/useContext.d.ts +3 -3
  169. package/es/Switch/type.d.ts +2 -1
  170. package/es/Tabs/TabButton.vue.js +2 -2
  171. package/es/Tabs/Tabs.vue.d.ts +1 -1
  172. package/es/Tabs/Tabs.vue.js +1 -1
  173. package/es/Tabs/TabsNavInk.vue.d.ts +2 -2
  174. package/es/Tabs/hooks/useContext.d.ts +5 -5
  175. package/es/Tabs/hooks/useTabsScroll.d.ts +2 -2
  176. package/es/Tabs/index.d.ts +3 -3
  177. package/es/Tabs/type.d.ts +2 -3
  178. package/es/Tag/index.vue.js +2 -2
  179. package/es/Tag/type.d.ts +2 -1
  180. package/es/Textarea/index.vue.js +2 -2
  181. package/es/TimePicker/TimePicker.vue.js +2 -2
  182. package/es/TimePicker/hooks/useContext.d.ts +2 -2
  183. package/es/TimePicker/type.d.ts +1 -1
  184. package/es/Timeline/hooks/useContext.d.ts +4 -4
  185. package/es/Tooltip/index.d.ts +9 -9
  186. package/es/Tooltip/index.vue.d.ts +3 -3
  187. package/es/Tooltip/type.d.ts +3 -3
  188. package/es/Transfer/Transfer.vue.js +1 -1
  189. package/es/Transfer/TransferPanel.vue.js +2 -2
  190. package/es/Transfer/hooks/useContext.d.ts +2 -2
  191. package/es/Trigger/hooks/useContext.d.ts +2 -2
  192. package/es/Trigger/hooks/useTriggerPosition.d.ts +3 -4
  193. package/es/Trigger/hooks/useTriggerVisible.d.ts +2 -2
  194. package/es/Trigger/index.d.ts +9 -9
  195. package/es/Trigger/index.vue.d.ts +3 -3
  196. package/es/Trigger/index.vue.js +1 -1
  197. package/es/Trigger/type.d.ts +3 -4
  198. package/es/Typography/TypographyBase.vue.d.ts +6 -7
  199. package/es/Typography/TypographyBase.vue.js +3 -4
  200. package/es/Typography/TypographyParagraph.vue.d.ts +1 -1
  201. package/es/Typography/TypographyParagraph.vue.js +0 -7
  202. package/es/Typography/TypographyText.vue.js +0 -7
  203. package/es/Typography/TypographyTitle.vue.d.ts +1 -1
  204. package/es/Typography/TypographyTitle.vue.js +0 -7
  205. package/es/Typography/type.d.ts +4 -14
  206. package/es/_shared/components/ExpandTransition/index.vue2.js +6 -2
  207. package/es/_shared/components/IconButton/{index.vue.js → index.vue2.js} +1 -1
  208. package/es/_shared/components/IconButton/index.vue3.js +2 -2
  209. package/es/_shared/constants/index.d.ts +4 -4
  210. package/es/_shared/constants/index.js +1 -1
  211. package/es/_shared/icons/IconArrowDown.vue.js +1 -1
  212. package/es/_shared/icons/IconArrowRight.vue.js +1 -1
  213. package/es/_shared/icons/IconCheck.vue.js +1 -1
  214. package/es/_shared/icons/IconCheckboxChecked.vue.js +1 -1
  215. package/es/_shared/icons/IconClose.vue.js +1 -1
  216. package/es/_shared/icons/IconCopy.vue.js +23 -1
  217. package/es/_shared/icons/IconCopy.vue2.js +1 -23
  218. package/es/_shared/icons/IconDelete.vue2.js +1 -1
  219. package/es/_shared/icons/IconDragDot.vue.js +1 -1
  220. package/es/_shared/icons/IconEdit.vue.js +23 -1
  221. package/es/_shared/icons/IconEdit.vue2.js +1 -23
  222. package/es/_shared/icons/IconEmpty.vue.js +1 -1
  223. package/es/_shared/icons/IconError.vue.js +1 -1
  224. package/es/_shared/icons/IconExclamation.vue2.js +1 -1
  225. package/es/_shared/icons/IconEyeClose.vue2.js +1 -1
  226. package/es/_shared/icons/IconEyeOpen.vue2.js +1 -1
  227. package/es/_shared/icons/IconFaceSmile.vue.js +1 -1
  228. package/es/_shared/icons/IconFullScreen.vue2.js +1 -1
  229. package/es/_shared/icons/IconImageClose.vue.js +1 -1
  230. package/es/_shared/icons/IconInfo.vue.js +1 -1
  231. package/es/_shared/icons/IconInfoLine.vue.js +1 -1
  232. package/es/_shared/icons/IconLink.vue.js +1 -1
  233. package/es/_shared/icons/IconLoading.vue.js +1 -1
  234. package/es/_shared/icons/IconMenuFold.vue.js +1 -1
  235. package/es/_shared/icons/IconMenuUnfold.vue.js +1 -1
  236. package/es/_shared/icons/IconMinus.vue2.js +1 -1
  237. package/es/_shared/icons/IconMore.vue.js +1 -1
  238. package/es/_shared/icons/IconOriginSize.vue2.js +1 -1
  239. package/es/_shared/icons/IconPlus.vue.js +1 -1
  240. package/es/_shared/icons/IconRight.vue.js +1 -1
  241. package/es/_shared/icons/IconRotateLeft.vue2.js +1 -1
  242. package/es/_shared/icons/IconRotateRight.vue2.js +1 -1
  243. package/es/_shared/icons/IconSearch.vue2.js +1 -1
  244. package/es/_shared/icons/IconSeparator.vue2.js +1 -1
  245. package/es/_shared/icons/IconStar.vue.js +1 -1
  246. package/es/_shared/icons/IconSuccess.vue.js +1 -1
  247. package/es/_shared/icons/IconTime.vue.js +1 -1
  248. package/es/_shared/icons/IconToTop.vue.js +1 -1
  249. package/es/_shared/icons/IconWarning.vue.js +1 -1
  250. package/es/_shared/icons/IconZoomIn.vue2.js +1 -1
  251. package/es/_shared/icons/IconZoomOut.vue2.js +1 -1
  252. package/es/_shared/type/index.d.ts +22 -5
  253. package/es/_shared/utils/dom.d.ts +1 -1
  254. package/es/_shared/utils/dom.js +1 -1
  255. package/es/_shared/utils/global-config.d.ts +4 -4
  256. package/es/_shared/utils/vue-utils.d.ts +3 -3
  257. package/es/index.d.ts +59 -59
  258. package/lib/Affix/type.d.ts +1 -1
  259. package/lib/Alert/index.vue.js +1 -1
  260. package/lib/Alert/type.d.ts +1 -1
  261. package/lib/Anchor/hooks/useContext.d.ts +2 -2
  262. package/lib/Anchor/type.d.ts +1 -1
  263. package/lib/AutoComplete/index.d.ts +27 -27
  264. package/lib/AutoComplete/index.vue.d.ts +49 -49
  265. package/lib/AutoComplete/type.d.ts +6 -8
  266. package/lib/Avatar/Avatar.vue.d.ts +1 -1
  267. package/lib/Avatar/Avatar.vue.js +1 -1
  268. package/lib/Avatar/hooks/useContext.d.ts +3 -3
  269. package/lib/Avatar/index.d.ts +3 -3
  270. package/lib/Avatar/type.d.ts +2 -2
  271. package/lib/BackTop/index.vue.js +1 -1
  272. package/lib/BackTop/type.d.ts +1 -1
  273. package/lib/Badge/type.d.ts +1 -1
  274. package/lib/Breadcrumb/BreadcrumbItem.vue.js +1 -1
  275. package/lib/Breadcrumb/BreadcrumbMore.vue.js +1 -1
  276. package/lib/Breadcrumb/BreadcrumbSeparator.vue.js +1 -1
  277. package/lib/Breadcrumb/type.d.ts +1 -1
  278. package/lib/Button/Button.vue.d.ts +1 -1
  279. package/lib/Button/ButtonGroup.vue.d.ts +1 -1
  280. package/lib/Button/hooks/useContext.d.ts +5 -5
  281. package/lib/Button/index.d.ts +6 -6
  282. package/lib/Button/type.d.ts +4 -5
  283. package/lib/Calendar/Calendar.vue.js +1 -1
  284. package/lib/Card/type.d.ts +2 -1
  285. package/lib/Carousel/Carousel.vue.d.ts +3 -3
  286. package/lib/Carousel/CarouselArrow.vue.js +1 -1
  287. package/lib/Carousel/CarouselIndicator.vue.d.ts +3 -3
  288. package/lib/Carousel/hooks/useContext.d.ts +3 -3
  289. package/lib/Carousel/index.d.ts +9 -9
  290. package/lib/Carousel/type.d.ts +2 -3
  291. package/lib/Cascader/Cascader.vue.d.ts +13 -25
  292. package/lib/Cascader/Cascader.vue.js +1 -1
  293. package/lib/Cascader/CascaderIcon.vue.js +1 -1
  294. package/lib/Cascader/CascaderOption.vue.js +1 -1
  295. package/lib/Cascader/hooks/useContext.d.ts +5 -17
  296. package/lib/Cascader/index.d.ts +17 -29
  297. package/lib/Cascader/type.d.ts +5 -7
  298. package/lib/Checkbox/Checkbox.vue.js +1 -1
  299. package/lib/Checkbox/hooks/useContext.d.ts +3 -3
  300. package/lib/Checkbox/type.d.ts +3 -3
  301. package/lib/Collapse/CollapseItem.vue.js +1 -1
  302. package/lib/Collapse/hooks/useContext.d.ts +5 -5
  303. package/lib/Collapse/type.d.ts +2 -2
  304. package/lib/ColorPicker/hooks/useContext.d.ts +2 -2
  305. package/lib/ConfigProvider/index.d.ts +3 -3
  306. package/lib/ConfigProvider/index.vue.d.ts +1 -1
  307. package/lib/ConfigProvider/type.d.ts +2 -3
  308. package/lib/Descriptions/hooks/useContext.d.ts +2 -2
  309. package/lib/Descriptions/type.d.ts +1 -2
  310. package/lib/Drawer/Drawer.vue.js +1 -1
  311. package/lib/Drawer/DrawerService.vue.d.ts +1 -1
  312. package/lib/Dropdown/Doption.vue.js +1 -1
  313. package/lib/Dropdown/Dropdown.vue.d.ts +1 -1
  314. package/lib/Dropdown/Dropdown.vue.js +1 -1
  315. package/lib/Dropdown/DropdownButton.vue.js +1 -1
  316. package/lib/Dropdown/Dsubmenu.vue.d.ts +20 -20
  317. package/lib/Dropdown/Dsubmenu.vue.js +1 -1
  318. package/lib/Dropdown/hooks/useContext.d.ts +2 -2
  319. package/lib/Dropdown/index.d.ts +18 -18
  320. package/lib/Dropdown/type.d.ts +5 -6
  321. package/lib/Empty/index.vue.js +1 -1
  322. package/lib/Grid/Grid.vue.d.ts +3 -3
  323. package/lib/Grid/GridCol.vue.d.ts +2 -2
  324. package/lib/Grid/GridItem.vue.d.ts +2 -2
  325. package/lib/Grid/GridRow.vue.d.ts +1 -1
  326. package/lib/Grid/hooks/useContext.d.ts +4 -4
  327. package/lib/Grid/index.d.ts +24 -24
  328. package/lib/Grid/type.d.ts +4 -12
  329. package/lib/Image/Image.vue.d.ts +1 -1
  330. package/lib/Image/Image.vue.js +1 -1
  331. package/lib/Image/ImagePreview.vue.js +1 -1
  332. package/lib/Image/ImagePreviewArrow.vue.js +1 -1
  333. package/lib/Image/ImagePreviewToolbar.vue.js +1 -1
  334. package/lib/Image/hooks/useContext.d.ts +2 -2
  335. package/lib/Image/index.d.ts +3 -3
  336. package/lib/Image/type.d.ts +2 -3
  337. package/lib/Input/Input.vue.d.ts +1 -1
  338. package/lib/Input/Input.vue.js +1 -1
  339. package/lib/Input/InputSuffix.vue.js +1 -1
  340. package/lib/Input/hooks/useLimitedInput.d.ts +3 -3
  341. package/lib/Input/index.d.ts +3 -3
  342. package/lib/Input/type.d.ts +2 -2
  343. package/lib/InputNumber/InputNumber.vue.d.ts +7 -7
  344. package/lib/InputNumber/InputOperaBtn.vue.js +1 -1
  345. package/lib/InputNumber/index.d.ts +6 -6
  346. package/lib/InputNumber/type.d.ts +3 -4
  347. package/lib/InputTag/index.vue.js +1 -1
  348. package/lib/InputTag/type.d.ts +5 -6
  349. package/lib/Layout/LayoutSider.vue.d.ts +7 -7
  350. package/lib/Layout/LayoutSider.vue.js +1 -1
  351. package/lib/Layout/hooks/useSiderContext.d.ts +2 -2
  352. package/lib/Layout/index.d.ts +19 -19
  353. package/lib/Layout/type.d.ts +4 -5
  354. package/lib/Link/index.vue.js +1 -1
  355. package/lib/Link/type.d.ts +1 -1
  356. package/lib/List/List.vue.d.ts +15 -15
  357. package/lib/List/ListVirtual.vue.d.ts +3 -3
  358. package/lib/List/index.d.ts +10 -10
  359. package/lib/List/type.d.ts +3 -3
  360. package/lib/Mention/index.d.ts +35 -35
  361. package/lib/Mention/index.vue.d.ts +46 -46
  362. package/lib/Mention/type.d.ts +6 -5
  363. package/lib/Menu/Menu.vue.d.ts +6 -6
  364. package/lib/Menu/Menu.vue.js +1 -1
  365. package/lib/Menu/MenuEllipsis.vue.js +1 -1
  366. package/lib/Menu/SubMenu.vue.d.ts +1 -1
  367. package/lib/Menu/SubMenu.vue.js +1 -1
  368. package/lib/Menu/hooks/useContext.d.ts +5 -5
  369. package/lib/Menu/index.d.ts +20 -20
  370. package/lib/Menu/type.d.ts +3 -6
  371. package/lib/Message/Message.vue.d.ts +1 -1
  372. package/lib/Message/Message.vue.js +1 -1
  373. package/lib/Message/index.d.ts +3 -3
  374. package/lib/Message/type.d.ts +5 -5
  375. package/lib/Modal/Modal.vue.d.ts +2 -2
  376. package/lib/Modal/Modal.vue.js +1 -1
  377. package/lib/Modal/ModalService.vue.d.ts +4 -4
  378. package/lib/Modal/index.d.ts +6 -6
  379. package/lib/Modal/type.d.ts +8 -8
  380. package/lib/Notification/Notification.vue.d.ts +3 -3
  381. package/lib/Notification/Notification.vue.js +1 -1
  382. package/lib/Notification/index.d.ts +9 -9
  383. package/lib/Notification/type.d.ts +4 -4
  384. package/lib/PageHeader/index.vue.js +1 -1
  385. package/lib/Pagination/PaginationItem.vue.js +1 -1
  386. package/lib/Pagination/hooks/useContext.d.ts +2 -2
  387. package/lib/Popconfirm/index.d.ts +18 -18
  388. package/lib/Popconfirm/index.vue.d.ts +21 -21
  389. package/lib/Popconfirm/type.d.ts +4 -4
  390. package/lib/Popover/index.d.ts +9 -9
  391. package/lib/Popover/index.vue.d.ts +3 -3
  392. package/lib/Popover/type.d.ts +3 -3
  393. package/lib/Progress/ProgressCircle.vue.js +1 -1
  394. package/lib/Progress/type.d.ts +1 -1
  395. package/lib/Radio/Radio.vue.js +1 -1
  396. package/lib/Radio/hooks/useContext.d.ts +3 -3
  397. package/lib/Radio/type.d.ts +2 -2
  398. package/lib/Rate/index.vue.js +1 -1
  399. package/lib/ResizeBox/index.vue.js +1 -1
  400. package/lib/Result/type.d.ts +1 -1
  401. package/lib/Scrollbar/Scrollbar.vue.d.ts +1 -1
  402. package/lib/Scrollbar/index.d.ts +3 -3
  403. package/lib/Select/Option.vue.d.ts +1 -1
  404. package/lib/Select/Option.vue.js +1 -1
  405. package/lib/Select/Select.vue.d.ts +27 -27
  406. package/lib/Select/Select.vue.js +1 -1
  407. package/lib/Select/SelectIcon.vue.js +1 -1
  408. package/lib/Select/SelectRealList.vue.js +1 -1
  409. package/lib/Select/hooks/useContext.d.ts +13 -13
  410. package/lib/Select/hooks/useSelectOptions.d.ts +13 -13
  411. package/lib/Select/index.d.ts +26 -26
  412. package/lib/Select/type.d.ts +13 -16
  413. package/lib/Skeleton/type.d.ts +3 -2
  414. package/lib/Slider/Slider.vue.d.ts +1 -1
  415. package/lib/Slider/SliderTicks.vue.d.ts +2 -2
  416. package/lib/Slider/hooks/useContext.d.ts +4 -4
  417. package/lib/Slider/index.d.ts +3 -3
  418. package/lib/Slider/type.d.ts +2 -3
  419. package/lib/Space/index.d.ts +3 -3
  420. package/lib/Space/index.vue.d.ts +1 -1
  421. package/lib/Spin/index.vue.js +1 -1
  422. package/lib/Split/index.vue.js +1 -1
  423. package/lib/Steps/Step.vue.js +1 -1
  424. package/lib/Steps/hooks/useContext.d.ts +3 -3
  425. package/lib/Switch/type.d.ts +2 -1
  426. package/lib/Tabs/TabButton.vue.js +1 -1
  427. package/lib/Tabs/Tabs.vue.d.ts +1 -1
  428. package/lib/Tabs/Tabs.vue.js +1 -1
  429. package/lib/Tabs/TabsNavInk.vue.d.ts +2 -2
  430. package/lib/Tabs/hooks/useContext.d.ts +5 -5
  431. package/lib/Tabs/hooks/useTabsScroll.d.ts +2 -2
  432. package/lib/Tabs/index.d.ts +3 -3
  433. package/lib/Tabs/type.d.ts +2 -3
  434. package/lib/Tag/index.vue.js +1 -1
  435. package/lib/Tag/type.d.ts +2 -1
  436. package/lib/Textarea/index.vue.js +1 -1
  437. package/lib/TimePicker/TimePicker.vue.js +1 -1
  438. package/lib/TimePicker/hooks/useContext.d.ts +2 -2
  439. package/lib/TimePicker/type.d.ts +1 -1
  440. package/lib/Timeline/hooks/useContext.d.ts +4 -4
  441. package/lib/Tooltip/index.d.ts +9 -9
  442. package/lib/Tooltip/index.vue.d.ts +3 -3
  443. package/lib/Tooltip/type.d.ts +3 -3
  444. package/lib/Transfer/Transfer.vue.js +1 -1
  445. package/lib/Transfer/TransferPanel.vue.js +1 -1
  446. package/lib/Transfer/hooks/useContext.d.ts +2 -2
  447. package/lib/Trigger/hooks/useContext.d.ts +2 -2
  448. package/lib/Trigger/hooks/useTriggerPosition.d.ts +3 -4
  449. package/lib/Trigger/hooks/useTriggerVisible.d.ts +2 -2
  450. package/lib/Trigger/index.d.ts +9 -9
  451. package/lib/Trigger/index.vue.d.ts +3 -3
  452. package/lib/Trigger/index.vue.js +1 -1
  453. package/lib/Trigger/type.d.ts +3 -4
  454. package/lib/Typography/TypographyBase.vue.d.ts +6 -7
  455. package/lib/Typography/TypographyBase.vue.js +1 -1
  456. package/lib/Typography/TypographyParagraph.vue.d.ts +1 -1
  457. package/lib/Typography/TypographyParagraph.vue.js +1 -1
  458. package/lib/Typography/TypographyText.vue.js +1 -1
  459. package/lib/Typography/TypographyTitle.vue.d.ts +1 -1
  460. package/lib/Typography/TypographyTitle.vue.js +1 -1
  461. package/lib/Typography/type.d.ts +4 -14
  462. package/lib/_shared/components/IconButton/index.vue2.js +1 -0
  463. package/lib/_shared/components/IconButton/index.vue3.js +1 -1
  464. package/lib/_shared/constants/index.d.ts +4 -4
  465. package/lib/_shared/constants/index.js +1 -1
  466. package/lib/_shared/icons/IconArrowDown.vue.js +1 -1
  467. package/lib/_shared/icons/IconArrowRight.vue.js +1 -1
  468. package/lib/_shared/icons/IconCheck.vue.js +1 -1
  469. package/lib/_shared/icons/IconCheckboxChecked.vue.js +1 -1
  470. package/lib/_shared/icons/IconClose.vue.js +1 -1
  471. package/lib/_shared/icons/IconCopy.vue.js +1 -1
  472. package/lib/_shared/icons/IconCopy.vue2.js +1 -1
  473. package/lib/_shared/icons/IconDelete.vue2.js +1 -1
  474. package/lib/_shared/icons/IconDragDot.vue.js +1 -1
  475. package/lib/_shared/icons/IconEdit.vue.js +1 -1
  476. package/lib/_shared/icons/IconEdit.vue2.js +1 -1
  477. package/lib/_shared/icons/IconEmpty.vue.js +1 -1
  478. package/lib/_shared/icons/IconError.vue.js +1 -1
  479. package/lib/_shared/icons/IconExclamation.vue2.js +1 -1
  480. package/lib/_shared/icons/IconEyeClose.vue2.js +1 -1
  481. package/lib/_shared/icons/IconEyeOpen.vue2.js +1 -1
  482. package/lib/_shared/icons/IconFaceSmile.vue.js +1 -1
  483. package/lib/_shared/icons/IconFullScreen.vue2.js +1 -1
  484. package/lib/_shared/icons/IconImageClose.vue.js +1 -1
  485. package/lib/_shared/icons/IconInfo.vue.js +1 -1
  486. package/lib/_shared/icons/IconInfoLine.vue.js +1 -1
  487. package/lib/_shared/icons/IconLink.vue.js +1 -1
  488. package/lib/_shared/icons/IconLoading.vue.js +1 -1
  489. package/lib/_shared/icons/IconMenuFold.vue.js +1 -1
  490. package/lib/_shared/icons/IconMenuUnfold.vue.js +1 -1
  491. package/lib/_shared/icons/IconMinus.vue2.js +1 -1
  492. package/lib/_shared/icons/IconMore.vue.js +1 -1
  493. package/lib/_shared/icons/IconOriginSize.vue2.js +1 -1
  494. package/lib/_shared/icons/IconPlus.vue.js +1 -1
  495. package/lib/_shared/icons/IconRight.vue.js +1 -1
  496. package/lib/_shared/icons/IconRotateLeft.vue2.js +1 -1
  497. package/lib/_shared/icons/IconRotateRight.vue2.js +1 -1
  498. package/lib/_shared/icons/IconSearch.vue2.js +1 -1
  499. package/lib/_shared/icons/IconSeparator.vue2.js +1 -1
  500. package/lib/_shared/icons/IconStar.vue.js +1 -1
  501. package/lib/_shared/icons/IconSuccess.vue.js +1 -1
  502. package/lib/_shared/icons/IconTime.vue.js +1 -1
  503. package/lib/_shared/icons/IconToTop.vue.js +1 -1
  504. package/lib/_shared/icons/IconWarning.vue.js +1 -1
  505. package/lib/_shared/icons/IconZoomIn.vue2.js +1 -1
  506. package/lib/_shared/icons/IconZoomOut.vue2.js +1 -1
  507. package/lib/_shared/type/index.d.ts +22 -5
  508. package/lib/_shared/utils/dom.d.ts +1 -1
  509. package/lib/_shared/utils/dom.js +1 -1
  510. package/lib/_shared/utils/global-config.d.ts +4 -4
  511. package/lib/_shared/utils/vue-utils.d.ts +3 -3
  512. package/lib/index.d.ts +59 -59
  513. package/package.json +1 -1
  514. package/lib/_shared/components/IconButton/index.vue.js +0 -1
@@ -10,28 +10,27 @@ export type MenuItemGroupInstance = InstanceType<typeof _MenuItemGroup>;
10
10
  export * from './type';
11
11
  declare const Menu: {
12
12
  new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./type').MenuProps> & Readonly<{
13
- onCollapse?: ((collapsed: boolean, type: "clickTrigger" | "responsive") => any) | undefined;
13
+ onCollapse?: ((collapsed: boolean, type: import('..').collapseType) => any) | undefined;
14
14
  "onUpdate:selectedKeys"?: ((value: string) => any) | undefined;
15
15
  "onUpdate:openKeys"?: ((value: string) => any) | undefined;
16
16
  "onUpdate:collapsed"?: ((value: boolean) => any) | undefined;
17
17
  "onMenu-item-click"?: ((key: string) => any) | undefined;
18
18
  "onSub-menu-click"?: ((key: string, openKeys: string[]) => any) | undefined;
19
19
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
20
- collapse: (collapsed: boolean, type: "clickTrigger" | "responsive") => any;
20
+ collapse: (collapsed: boolean, type: import('..').collapseType) => any;
21
21
  "update:selectedKeys": (value: string) => any;
22
22
  "update:openKeys": (value: string) => any;
23
23
  "update:collapsed": (value: boolean) => any;
24
24
  "menu-item-click": (key: string) => any;
25
25
  "sub-menu-click": (key: string, openKeys: string[]) => any;
26
26
  }, import('vue').PublicProps, {
27
- mode: import('./type').MenuMode;
27
+ mode: import('..').Direction;
28
28
  triggerProps: import('..').TriggerProps;
29
- collapsed: boolean;
30
- breakpoint: import('..').BreakpointName;
31
- popupMaxHeight: import('./type').PopupMaxHeight;
29
+ popupMaxHeight: import('..').PopupMaxHeight;
32
30
  theme: import('..').Theme;
33
31
  levelIndent: number;
34
32
  autoOpen: boolean;
33
+ collapsed: boolean;
35
34
  defaultCollapsed: boolean;
36
35
  collapsedWidth: number | string;
37
36
  accordion: boolean;
@@ -40,6 +39,7 @@ declare const Menu: {
40
39
  defaultSelectedKeys: string;
41
40
  openKeys: string[];
42
41
  defaultOpenKeys: string[];
42
+ breakpoint: import('..').BreakpointName;
43
43
  tooltipProps: import('..').TooltipProps;
44
44
  autoOpenSelected: boolean;
45
45
  autoScrollIntoView: boolean;
@@ -53,21 +53,20 @@ declare const Menu: {
53
53
  M: {};
54
54
  Defaults: {};
55
55
  }, Readonly<import('./type').MenuProps> & Readonly<{
56
- onCollapse?: ((collapsed: boolean, type: "clickTrigger" | "responsive") => any) | undefined;
56
+ onCollapse?: ((collapsed: boolean, type: import('..').collapseType) => any) | undefined;
57
57
  "onUpdate:selectedKeys"?: ((value: string) => any) | undefined;
58
58
  "onUpdate:openKeys"?: ((value: string) => any) | undefined;
59
59
  "onUpdate:collapsed"?: ((value: boolean) => any) | undefined;
60
60
  "onMenu-item-click"?: ((key: string) => any) | undefined;
61
61
  "onSub-menu-click"?: ((key: string, openKeys: string[]) => any) | undefined;
62
62
  }>, {}, {}, {}, {}, {
63
- mode: import('./type').MenuMode;
63
+ mode: import('..').Direction;
64
64
  triggerProps: import('..').TriggerProps;
65
- collapsed: boolean;
66
- breakpoint: import('..').BreakpointName;
67
- popupMaxHeight: import('./type').PopupMaxHeight;
65
+ popupMaxHeight: import('..').PopupMaxHeight;
68
66
  theme: import('..').Theme;
69
67
  levelIndent: number;
70
68
  autoOpen: boolean;
69
+ collapsed: boolean;
71
70
  defaultCollapsed: boolean;
72
71
  collapsedWidth: number | string;
73
72
  accordion: boolean;
@@ -76,6 +75,7 @@ declare const Menu: {
76
75
  defaultSelectedKeys: string;
77
76
  openKeys: string[];
78
77
  defaultOpenKeys: string[];
78
+ breakpoint: import('..').BreakpointName;
79
79
  tooltipProps: import('..').TooltipProps;
80
80
  autoOpenSelected: boolean;
81
81
  autoScrollIntoView: boolean;
@@ -84,28 +84,27 @@ declare const Menu: {
84
84
  __isTeleport?: never;
85
85
  __isSuspense?: never;
86
86
  } & import('vue').ComponentOptionsBase<Readonly<import('./type').MenuProps> & Readonly<{
87
- onCollapse?: ((collapsed: boolean, type: "clickTrigger" | "responsive") => any) | undefined;
87
+ onCollapse?: ((collapsed: boolean, type: import('..').collapseType) => any) | undefined;
88
88
  "onUpdate:selectedKeys"?: ((value: string) => any) | undefined;
89
89
  "onUpdate:openKeys"?: ((value: string) => any) | undefined;
90
90
  "onUpdate:collapsed"?: ((value: boolean) => any) | undefined;
91
91
  "onMenu-item-click"?: ((key: string) => any) | undefined;
92
92
  "onSub-menu-click"?: ((key: string, openKeys: string[]) => any) | undefined;
93
93
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
94
- collapse: (collapsed: boolean, type: "clickTrigger" | "responsive") => any;
94
+ collapse: (collapsed: boolean, type: import('..').collapseType) => any;
95
95
  "update:selectedKeys": (value: string) => any;
96
96
  "update:openKeys": (value: string) => any;
97
97
  "update:collapsed": (value: boolean) => any;
98
98
  "menu-item-click": (key: string) => any;
99
99
  "sub-menu-click": (key: string, openKeys: string[]) => any;
100
100
  }, string, {
101
- mode: import('./type').MenuMode;
101
+ mode: import('..').Direction;
102
102
  triggerProps: import('..').TriggerProps;
103
- collapsed: boolean;
104
- breakpoint: import('..').BreakpointName;
105
- popupMaxHeight: import('./type').PopupMaxHeight;
103
+ popupMaxHeight: import('..').PopupMaxHeight;
106
104
  theme: import('..').Theme;
107
105
  levelIndent: number;
108
106
  autoOpen: boolean;
107
+ collapsed: boolean;
109
108
  defaultCollapsed: boolean;
110
109
  collapsedWidth: number | string;
111
110
  accordion: boolean;
@@ -114,6 +113,7 @@ declare const Menu: {
114
113
  defaultSelectedKeys: string;
115
114
  openKeys: string[];
116
115
  defaultOpenKeys: string[];
116
+ breakpoint: import('..').BreakpointName;
117
117
  tooltipProps: import('..').TooltipProps;
118
118
  autoOpenSelected: boolean;
119
119
  autoScrollIntoView: boolean;
@@ -150,7 +150,7 @@ declare const Menu: {
150
150
  new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./type').SubMenuProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
151
151
  title: string;
152
152
  path: string;
153
- popupMaxHeight: import('./type').PopupMaxHeight;
153
+ popupMaxHeight: import('..').PopupMaxHeight;
154
154
  selectable: boolean;
155
155
  popup: boolean;
156
156
  }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
@@ -163,7 +163,7 @@ declare const Menu: {
163
163
  }, Readonly<import('./type').SubMenuProps> & Readonly<{}>, {}, {}, {}, {}, {
164
164
  title: string;
165
165
  path: string;
166
- popupMaxHeight: import('./type').PopupMaxHeight;
166
+ popupMaxHeight: import('..').PopupMaxHeight;
167
167
  selectable: boolean;
168
168
  popup: boolean;
169
169
  }>;
@@ -173,7 +173,7 @@ declare const Menu: {
173
173
  } & import('vue').ComponentOptionsBase<Readonly<import('./type').SubMenuProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
174
174
  title: string;
175
175
  path: string;
176
- popupMaxHeight: import('./type').PopupMaxHeight;
176
+ popupMaxHeight: import('..').PopupMaxHeight;
177
177
  selectable: boolean;
178
178
  popup: boolean;
179
179
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
package/es/Menu/type.d.ts CHANGED
@@ -1,11 +1,10 @@
1
- import { BreakpointName } from '../Grid';
2
1
  import { TooltipProps } from '../Tooltip';
3
2
  import { TriggerProps } from '../Trigger';
4
- import { Theme } from '../_shared/type';
3
+ import { Theme, BreakpointName, PopupMaxHeight, Direction, collapseType } from '../_shared/type';
5
4
  import { VNode } from 'vue';
6
5
  export interface MenuProps {
7
6
  theme?: Theme;
8
- mode?: MenuMode;
7
+ mode?: Direction;
9
8
  levelIndent?: number;
10
9
  autoOpen?: boolean;
11
10
  collapsed?: boolean;
@@ -29,7 +28,7 @@ export interface MenuEmits {
29
28
  (e: 'update:selectedKeys', value: string): void;
30
29
  (e: 'update:openKeys', value: string): void;
31
30
  (e: 'update:collapsed', value: boolean): void;
32
- (e: 'collapse', collapsed: boolean, type: 'clickTrigger' | 'responsive'): void;
31
+ (e: 'collapse', collapsed: boolean, type: collapseType): void;
33
32
  (e: 'menu-item-click', key: string): void;
34
33
  (e: 'sub-menu-click', key: string, openKeys: string[]): void;
35
34
  }
@@ -65,5 +64,3 @@ export interface MenuItemGroupSlots {
65
64
  default?: () => VNode[];
66
65
  title?: () => VNode[];
67
66
  }
68
- export type MenuMode = 'vertical' | 'horizontal';
69
- export type PopupMaxHeight = boolean | number;
@@ -1,7 +1,7 @@
1
1
  import { MessageProps } from './type';
2
2
  declare const _default: import('vue').DefineComponent<MessageProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<MessageProps> & Readonly<{}>, {
3
3
  duration: number;
4
- content: import('../_shared/type').RenderContent;
4
+ content: import('..').RenderContent;
5
5
  icon: import('vue').RenderFunction;
6
6
  type: import('./type').MessageType;
7
7
  closable: boolean;
@@ -5,8 +5,8 @@ import { isUndefined } from "../_shared/utils/is.js";
5
5
  import "../_shared/utils/time.js";
6
6
  import "../_shared/utils/locale.js";
7
7
  import { TYPE_ICON_MAP } from "../_shared/constants/index.js";
8
- import _sfc_main$1 from "../_shared/components/IconButton/index.vue.js";
9
- /* empty css */
8
+ import _sfc_main$1 from "../_shared/components/IconButton/index.vue2.js";
9
+ /* empty css */
10
10
  /* empty css */
11
11
  /* empty css */
12
12
  import { useTimeoutFn } from "../node_modules/@vueuse/shared/index.js";
@@ -6,7 +6,7 @@ export * from './type';
6
6
  declare const Message: {
7
7
  new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<MessageProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
8
8
  duration: number;
9
- content: import('../_shared/type').RenderContent;
9
+ content: import('..').RenderContent;
10
10
  icon: import('vue').RenderFunction;
11
11
  type: MessageType;
12
12
  closable: boolean;
@@ -25,7 +25,7 @@ declare const Message: {
25
25
  Defaults: {};
26
26
  }, Readonly<MessageProps> & Readonly<{}>, {}, {}, {}, {}, {
27
27
  duration: number;
28
- content: import('../_shared/type').RenderContent;
28
+ content: import('..').RenderContent;
29
29
  icon: import('vue').RenderFunction;
30
30
  type: MessageType;
31
31
  closable: boolean;
@@ -41,7 +41,7 @@ declare const Message: {
41
41
  __isSuspense?: never;
42
42
  } & import('vue').ComponentOptionsBase<Readonly<MessageProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
43
43
  duration: number;
44
- content: import('../_shared/type').RenderContent;
44
+ content: import('..').RenderContent;
45
45
  icon: import('vue').RenderFunction;
46
46
  type: MessageType;
47
47
  closable: boolean;
@@ -17,10 +17,9 @@ 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
22
  export type MessageConfig = Omit<MessageProps, 'type' | 'onDestory'> & MessageContainerProps;
21
- export type MessageReturn = {
22
- close?: () => void;
23
- };
24
23
  export type MessageMethod = {
25
24
  info: (config: string | MessageConfig) => MessageReturn;
26
25
  success: (config: string | MessageConfig) => MessageReturn;
@@ -30,5 +29,6 @@ export type MessageMethod = {
30
29
  normoal: (config: string | MessageConfig) => MessageReturn;
31
30
  clear: (position: MessagePostion) => MessageReturn;
32
31
  };
33
- export type MessagePostion = 'top' | 'bottom';
34
- export type MessageType = 'info' | 'success' | 'warning' | 'error' | 'loading' | 'normal';
32
+ export type MessageReturn = {
33
+ close?: () => void;
34
+ };
@@ -49,14 +49,14 @@ declare const __VLS_component: import('vue').DefineComponent<ModalProps, {}, {},
49
49
  okButtonProps: import('../Button').ButtonProps;
50
50
  cancelButtonProps: import('../Button').ButtonProps;
51
51
  maskStyle: CSSProperties;
52
- modalClass: import('../_shared/type').ClassName;
52
+ modalClass: import('..').ClassName;
53
53
  modalStyle: CSSProperties;
54
54
  escToClose: boolean;
55
55
  draggable: boolean;
56
56
  fullscreen: boolean;
57
57
  maskAnimationName: string;
58
58
  modalAnimationName: string;
59
- bodyClass: import('../_shared/type').ClassName;
59
+ bodyClass: import('..').ClassName;
60
60
  hideTitle: boolean;
61
61
  simple: boolean;
62
62
  onBeforeCancel: import('./type').OnBeforeCancel;
@@ -7,8 +7,8 @@ import { useI18n } from "../_shared/utils/locale.js";
7
7
  import useModalClose from "./hooks/useModalClose.js";
8
8
  import useModalDraggable from "./hooks/useModalDraggable.js";
9
9
  import Button from "../Button/index.js";
10
- import _sfc_main$1 from "../_shared/components/IconButton/index.vue.js";
11
- /* empty css */
10
+ import _sfc_main$1 from "../_shared/components/IconButton/index.vue2.js";
11
+ /* empty css */
12
12
  /* empty css */
13
13
  /* empty css */
14
14
  const _hoisted_1 = {
@@ -4,9 +4,9 @@ declare const _default: import('vue').DefineComponent<ModalServiceProps, {}, {},
4
4
  unmountOnClose: boolean;
5
5
  renderToBody: boolean;
6
6
  width: number | string;
7
- content: import('../_shared/type').RenderContent;
7
+ content: import('..').RenderContent;
8
8
  footer: boolean;
9
- title: string & import('../_shared/type').RenderContent;
9
+ title: string & import('..').RenderContent;
10
10
  mask: boolean;
11
11
  closable: boolean;
12
12
  bodyStyle: import('vue').CSSProperties;
@@ -20,14 +20,14 @@ declare const _default: import('vue').DefineComponent<ModalServiceProps, {}, {},
20
20
  okButtonProps: import('..').ButtonProps;
21
21
  cancelButtonProps: import('..').ButtonProps;
22
22
  maskStyle: import('vue').CSSProperties;
23
- modalClass: import('../_shared/type').ClassName;
23
+ modalClass: import('..').ClassName;
24
24
  modalStyle: import('vue').CSSProperties;
25
25
  escToClose: boolean;
26
26
  draggable: boolean;
27
27
  fullscreen: boolean;
28
28
  maskAnimationName: string;
29
29
  modalAnimationName: string;
30
- bodyClass: import('../_shared/type').ClassName;
30
+ bodyClass: import('..').ClassName;
31
31
  hideTitle: boolean;
32
32
  simple: boolean;
33
33
  onBeforeCancel: import('./type').OnBeforeCancel;
@@ -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('../_shared/type').ClassName;
46
+ modalClass: import('..').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('../_shared/type').ClassName;
53
+ bodyClass: import('..').ClassName;
54
54
  hideTitle: boolean;
55
55
  simple: boolean;
56
56
  onBeforeCancel: import('./type').OnBeforeCancel;
@@ -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('../_shared/type').ClassName;
99
+ modalClass: import('..').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('../_shared/type').ClassName;
106
+ bodyClass: import('..').ClassName;
107
107
  hideTitle: boolean;
108
108
  simple: boolean;
109
109
  onBeforeCancel: import('./type').OnBeforeCancel;
@@ -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('../_shared/type').ClassName;
154
+ modalClass: import('..').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('../_shared/type').ClassName;
161
+ bodyClass: import('..').ClassName;
162
162
  hideTitle: boolean;
163
163
  simple: boolean;
164
164
  onBeforeCancel: import('./type').OnBeforeCancel;
package/es/Modal/index.js CHANGED
@@ -13,7 +13,7 @@ const open = (props) => {
13
13
  const close = () => {
14
14
  render(null, container);
15
15
  };
16
- const update = (updateProps) => {
16
+ const update = (_updateProps) => {
17
17
  };
18
18
  const vnode = h(_sfc_main$1, {
19
19
  ...props,
@@ -53,6 +53,10 @@ export interface ModalSlots {
53
53
  footer?: () => VNode[];
54
54
  title?: () => VNode[];
55
55
  }
56
+ export type ModalType = 'success' | 'warning' | 'error' | 'info';
57
+ export type ModalTitleAlign = 'start' | 'center';
58
+ export type OnBeforeOk = (done: (closed: boolean) => void) => void | boolean | Promise<boolean | void>;
59
+ export type OnBeforeCancel = () => boolean;
56
60
  export type ModalConfig = Omit<ModalProps, 'visible' | 'defaultVisible' | 'popupContainer'> & {
57
61
  title?: RenderContent;
58
62
  content?: RenderContent;
@@ -68,10 +72,6 @@ export type ModalUpdateConfig = Omit<ModalConfig, 'title' | 'content' | 'footer'
68
72
  export type ModalServiceProps = ModalConfig & {
69
73
  serviceClose?: () => void;
70
74
  };
71
- export type ModalReturn = {
72
- close: () => void;
73
- update: (config: ModalUpdateConfig) => void;
74
- };
75
75
  export type ModalMethod = {
76
76
  open: (props: ModalConfig) => ModalReturn;
77
77
  success: (props: ModalConfig) => ModalReturn;
@@ -80,7 +80,7 @@ export type ModalMethod = {
80
80
  info: (props: ModalConfig) => ModalReturn;
81
81
  confirm: (props: ModalConfig) => ModuleStatus;
82
82
  };
83
- export type ModalType = 'info' | 'warning' | 'error' | 'success';
84
- export type ModalTitleAlign = 'start' | 'center';
85
- export type OnBeforeOk = (done: (closed: boolean) => void) => void | boolean | Promise<boolean | void>;
86
- export type OnBeforeCancel = () => boolean;
83
+ export type ModalReturn = {
84
+ close: () => void;
85
+ update: (config: ModalUpdateConfig) => void;
86
+ };
@@ -1,13 +1,13 @@
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
3
  duration: number;
4
- content: import('../_shared/type').RenderContent;
4
+ content: import('..').RenderContent;
5
5
  style: import('vue').CSSProperties;
6
6
  icon: import('vue').RenderFunction;
7
7
  type: import('./type').NotificationType;
8
8
  footer: import('vue').RenderFunction;
9
- title: import('../_shared/type').RenderContent;
10
- class: import('../_shared/type').ClassName;
9
+ title: import('..').RenderContent;
10
+ class: import('..').ClassName;
11
11
  closable: boolean;
12
12
  onClose: (id: string | number) => void;
13
13
  id: string;
@@ -6,8 +6,8 @@ import { isUndefined, isFunction } from "../_shared/utils/is.js";
6
6
  import "../_shared/utils/time.js";
7
7
  import { getSlotFunction } from "../_shared/utils/vue-utils.js";
8
8
  import "../_shared/utils/locale.js";
9
- import _sfc_main$1 from "../_shared/components/IconButton/index.vue.js";
10
- /* empty css */
9
+ import _sfc_main$1 from "../_shared/components/IconButton/index.vue2.js";
10
+ /* empty css */
11
11
  /* empty css */
12
12
  /* empty css */
13
13
  import { useTimeoutFn } from "../node_modules/@vueuse/shared/index.js";
@@ -6,13 +6,13 @@ export * from './type';
6
6
  declare const Notification: {
7
7
  new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<NotificationProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
8
8
  duration: number;
9
- content: import('../_shared/type').RenderContent;
9
+ content: import('..').RenderContent;
10
10
  style: import('vue').CSSProperties;
11
11
  icon: import('vue').RenderFunction;
12
12
  type: NotificationType;
13
13
  footer: import('vue').RenderFunction;
14
- title: import('../_shared/type').RenderContent;
15
- class: import('../_shared/type').ClassName;
14
+ title: import('..').RenderContent;
15
+ class: import('..').ClassName;
16
16
  closable: boolean;
17
17
  onClose: (id: string | number) => void;
18
18
  id: string;
@@ -29,13 +29,13 @@ declare const Notification: {
29
29
  Defaults: {};
30
30
  }, Readonly<NotificationProps> & Readonly<{}>, {}, {}, {}, {}, {
31
31
  duration: number;
32
- content: import('../_shared/type').RenderContent;
32
+ content: import('..').RenderContent;
33
33
  style: import('vue').CSSProperties;
34
34
  icon: import('vue').RenderFunction;
35
35
  type: NotificationType;
36
36
  footer: import('vue').RenderFunction;
37
- title: import('../_shared/type').RenderContent;
38
- class: import('../_shared/type').ClassName;
37
+ title: import('..').RenderContent;
38
+ class: import('..').ClassName;
39
39
  closable: boolean;
40
40
  onClose: (id: string | number) => void;
41
41
  id: string;
@@ -49,13 +49,13 @@ declare const Notification: {
49
49
  __isSuspense?: never;
50
50
  } & import('vue').ComponentOptionsBase<Readonly<NotificationProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
51
51
  duration: number;
52
- content: import('../_shared/type').RenderContent;
52
+ content: import('..').RenderContent;
53
53
  style: import('vue').CSSProperties;
54
54
  icon: import('vue').RenderFunction;
55
55
  type: NotificationType;
56
56
  footer: import('vue').RenderFunction;
57
- title: import('../_shared/type').RenderContent;
58
- class: import('../_shared/type').ClassName;
57
+ title: import('..').RenderContent;
58
+ class: import('..').ClassName;
59
59
  closable: boolean;
60
60
  onClose: (id: string | number) => void;
61
61
  id: string;
@@ -23,9 +23,6 @@ export interface NotificationContainerProps {
23
23
  position?: NotificationPosition;
24
24
  }
25
25
  export type NotificationConfig = Omit<NotificationProps, 'type' | 'onDestory'> & NotificationContainerProps;
26
- export type NotificationReturn = {
27
- close?: () => void;
28
- };
29
26
  export type NotificationMethods = {
30
27
  info: (config: string | NotificationConfig) => NotificationReturn;
31
28
  success: (config: string | NotificationConfig) => NotificationReturn;
@@ -34,5 +31,8 @@ export type NotificationMethods = {
34
31
  remove: (id: string) => void;
35
32
  clear: (position: NotificationPosition) => NotificationReturn;
36
33
  };
34
+ export type NotificationReturn = {
35
+ close?: () => void;
36
+ };
37
37
  export type NotificationPosition = 'topLeft' | 'topRight' | 'bottomLeft' | 'bottomRight';
38
- export type NotificationType = 'info' | 'success' | 'warning' | 'error';
38
+ export type NotificationType = 'success' | 'warning' | 'error' | 'info';
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, createElementBlock, openBlock, createElementVNode, createCommentVNode, renderSlot, createVNode, createBlock, unref, withCtx, createTextVNode, toDisplayString } from "vue";
2
- import _sfc_main$1 from "../_shared/components/IconButton/index.vue.js";
3
- /* empty css */
2
+ import _sfc_main$1 from "../_shared/components/IconButton/index.vue2.js";
3
+ /* empty css */
4
4
  import "../node_modules/tinycolor2/esm/tinycolor.js";
5
5
  import "../_shared/utils/dom.js";
6
6
  import "../_shared/utils/time.js";
@@ -3,7 +3,7 @@ import "../node_modules/tinycolor2/esm/tinycolor.js";
3
3
  import "../_shared/utils/dom.js";
4
4
  import "../_shared/utils/time.js";
5
5
  import "../_shared/utils/locale.js";
6
- /* empty css */
6
+ /* empty css */
7
7
  /* empty css */
8
8
  /* empty css */
9
9
  import _sfc_main$1 from "../_shared/icons/IconArrowRight.vue.js";
@@ -1,6 +1,6 @@
1
1
  import { Ref, CSSProperties } from 'vue';
2
2
  import { PaginationEmits } from '../type';
3
- import { Props } from '../../_shared/type';
3
+ import { RecordType } from '../../_shared/type';
4
4
  interface PaginationContext {
5
5
  computedCurrent: Ref<number>;
6
6
  computedPageSize: Ref<number>;
@@ -12,7 +12,7 @@ interface PaginationContext {
12
12
  bufferSize: Ref<number>;
13
13
  }
14
14
  declare const _default: () => {
15
- provide: (props: Props, emits: PaginationEmits) => {
15
+ provide: (props: RecordType, emits: PaginationEmits) => {
16
16
  total: import('vue').WritableComputedRef<number, number>;
17
17
  size: import('vue').ComputedRef<any>;
18
18
  pages: import('vue').ComputedRef<number>;
@@ -19,10 +19,10 @@ declare const Popconfirm: {
19
19
  }, import('vue').PublicProps, {
20
20
  popupVisible: boolean;
21
21
  defaultPopupVisible: boolean;
22
- position: import('..').TriggerPostion;
23
- contentClass: import('../_shared/type').ClassName;
22
+ position: import('..').PopupPosition;
23
+ contentClass: import('..').ClassName;
24
24
  contentStyle: import('vue').CSSProperties;
25
- arrowClass: import('../_shared/type').ClassName;
25
+ arrowClass: import('..').ClassName;
26
26
  arrowStyle: import('vue').CSSProperties;
27
27
  popupContainer: import('..').PopupContainer;
28
28
  content: string;
@@ -43,7 +43,7 @@ declare const Popconfirm: {
43
43
  readonly popupVisible?: boolean | undefined;
44
44
  readonly defaultPopupVisible?: boolean | undefined;
45
45
  readonly trigger?: import('..').TriggerType | undefined;
46
- readonly position?: import('..').TriggerPostion | undefined;
46
+ readonly position?: import('..').PopupPosition | undefined;
47
47
  readonly disabled?: boolean | undefined;
48
48
  readonly popupOffset?: number | undefined;
49
49
  readonly popupTranslate?: number[] | undefined;
@@ -53,9 +53,9 @@ declare const Popconfirm: {
53
53
  readonly clickToClose?: boolean | undefined;
54
54
  readonly clickOutsideToClose?: boolean | undefined;
55
55
  readonly unmountOnClose?: boolean | undefined;
56
- readonly contentClass?: import('../_shared/type').ClassName | undefined;
56
+ readonly contentClass?: import('..').ClassName | undefined;
57
57
  readonly contentStyle?: import('vue').CSSProperties | undefined;
58
- readonly arrowClass?: import('../_shared/type').ClassName | undefined;
58
+ readonly arrowClass?: import('..').ClassName | undefined;
59
59
  readonly arrowStyle?: import('vue').CSSProperties | undefined;
60
60
  readonly animationName?: string | undefined;
61
61
  readonly duration?: number | undefined;
@@ -189,14 +189,14 @@ declare const Popconfirm: {
189
189
  scrollToClose: boolean;
190
190
  autoSetPosition: boolean;
191
191
  alignPoint: boolean;
192
- position: import('..').TriggerPostion;
192
+ position: import('..').PopupPosition;
193
193
  popupOffset: number;
194
194
  popupTranslate: number[];
195
195
  showArrow: boolean;
196
196
  unmountOnClose: boolean;
197
- contentClass: import('../_shared/type').ClassName;
197
+ contentClass: import('..').ClassName;
198
198
  contentStyle: import('vue').CSSProperties;
199
- arrowClass: import('../_shared/type').ClassName;
199
+ arrowClass: import('..').ClassName;
200
200
  arrowStyle: import('vue').CSSProperties;
201
201
  animationName: string;
202
202
  duration: number;
@@ -243,14 +243,14 @@ declare const Popconfirm: {
243
243
  scrollToClose: boolean;
244
244
  autoSetPosition: boolean;
245
245
  alignPoint: boolean;
246
- position: import('..').TriggerPostion;
246
+ position: import('..').PopupPosition;
247
247
  popupOffset: number;
248
248
  popupTranslate: number[];
249
249
  showArrow: boolean;
250
250
  unmountOnClose: boolean;
251
- contentClass: import('../_shared/type').ClassName;
251
+ contentClass: import('..').ClassName;
252
252
  contentStyle: import('vue').CSSProperties;
253
- arrowClass: import('../_shared/type').ClassName;
253
+ arrowClass: import('..').ClassName;
254
254
  arrowStyle: import('vue').CSSProperties;
255
255
  animationName: string;
256
256
  duration: number;
@@ -292,10 +292,10 @@ declare const Popconfirm: {
292
292
  }, {}, {}, {}, {
293
293
  popupVisible: boolean;
294
294
  defaultPopupVisible: boolean;
295
- position: import('..').TriggerPostion;
296
- contentClass: import('../_shared/type').ClassName;
295
+ position: import('..').PopupPosition;
296
+ contentClass: import('..').ClassName;
297
297
  contentStyle: import('vue').CSSProperties;
298
- arrowClass: import('../_shared/type').ClassName;
298
+ arrowClass: import('..').ClassName;
299
299
  arrowStyle: import('vue').CSSProperties;
300
300
  popupContainer: import('..').PopupContainer;
301
301
  content: string;
@@ -328,10 +328,10 @@ declare const Popconfirm: {
328
328
  }, string, {
329
329
  popupVisible: boolean;
330
330
  defaultPopupVisible: boolean;
331
- position: import('..').TriggerPostion;
332
- contentClass: import('../_shared/type').ClassName;
331
+ position: import('..').PopupPosition;
332
+ contentClass: import('..').ClassName;
333
333
  contentStyle: import('vue').CSSProperties;
334
- arrowClass: import('../_shared/type').ClassName;
334
+ arrowClass: import('..').ClassName;
335
335
  arrowStyle: import('vue').CSSProperties;
336
336
  popupContainer: import('..').PopupContainer;
337
337
  content: string;