yc-design-vue 2.0.5 → 2.0.7

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 (371) 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/index.d.ts +3 -3
  59. package/es/InputNumber/InputNumber.vue.d.ts +8 -8
  60. package/es/InputNumber/InputOperaBtn.vue.d.ts +2 -2
  61. package/es/InputNumber/index.d.ts +9 -9
  62. package/es/InputNumber/type.d.ts +5 -4
  63. package/es/InputTag/index.d.ts +15 -6
  64. package/es/InputTag/index.vue.d.ts +5 -2
  65. package/es/InputTag/type.d.ts +2 -1
  66. package/es/Layout/LayoutSider.vue.d.ts +3 -3
  67. package/es/Layout/index.d.ts +8 -8
  68. package/es/Layout/type.d.ts +3 -4
  69. package/es/Link/index.d.ts +3 -3
  70. package/es/Link/index.vue.d.ts +1 -1
  71. package/es/Link/type.d.ts +2 -2
  72. package/es/List/List.vue.d.ts +7 -7
  73. package/es/List/index.d.ts +6 -6
  74. package/es/List/type.d.ts +2 -3
  75. package/es/Mention/index.d.ts +21 -12
  76. package/es/Mention/index.vue.d.ts +37 -19
  77. package/es/Mention/type.d.ts +3 -2
  78. package/es/Menu/Menu.vue.d.ts +2 -2
  79. package/es/Menu/index.d.ts +5 -5
  80. package/es/Menu/type.d.ts +2 -2
  81. package/es/Message/type.d.ts +3 -3
  82. package/es/Modal/Modal.vue.d.ts +1 -1
  83. package/es/Modal/ModalService.vue.d.ts +1 -1
  84. package/es/Modal/index.d.ts +13 -13
  85. package/es/Modal/index.js +1 -4
  86. package/es/Modal/type.d.ts +6 -9
  87. package/es/Notification/Notification.vue.d.ts +1 -1
  88. package/es/Notification/index.d.ts +4 -4
  89. package/es/Notification/type.d.ts +3 -4
  90. package/es/OverflowList/index.d.ts +3 -3
  91. package/es/OverflowList/index.vue.d.ts +1 -1
  92. package/es/OverflowList/type.d.ts +3 -2
  93. package/es/Popconfirm/index.d.ts +3 -3
  94. package/es/Popconfirm/index.vue.d.ts +1 -1
  95. package/es/Popconfirm/type.d.ts +2 -3
  96. package/es/Progress/Progress.vue.d.ts +1 -1
  97. package/es/Progress/ProgressCircle.vue.d.ts +3 -3
  98. package/es/Progress/ProgressLine.vue.d.ts +3 -3
  99. package/es/Progress/index.d.ts +3 -3
  100. package/es/Progress/type.d.ts +2 -3
  101. package/es/Radio/type.d.ts +1 -1
  102. package/es/ResizeBox/index.d.ts +3 -3
  103. package/es/ResizeBox/index.vue.d.ts +2 -2
  104. package/es/ResizeBox/type.d.ts +4 -4
  105. package/es/Result/index.d.ts +3 -3
  106. package/es/Result/index.vue.d.ts +1 -1
  107. package/es/Result/type.d.ts +3 -2
  108. package/es/Scrollbar/Scrollbar.vue.d.ts +1 -1
  109. package/es/Scrollbar/index.d.ts +3 -3
  110. package/es/Scrollbar/type.d.ts +2 -1
  111. package/es/Select/Select.vue.d.ts +31 -13
  112. package/es/Select/hooks/useContext.d.ts +2 -2
  113. package/es/Select/hooks/useSelectOptions.d.ts +2 -2
  114. package/es/Select/index.d.ts +18 -9
  115. package/es/Skeleton/SkeletonShape.vue.d.ts +2 -2
  116. package/es/Skeleton/index.d.ts +2 -2
  117. package/es/Skeleton/type.d.ts +2 -4
  118. package/es/Space/index.d.ts +6 -6
  119. package/es/Space/index.vue.d.ts +2 -2
  120. package/es/Space/type.d.ts +5 -4
  121. package/es/Switch/index.d.ts +9 -9
  122. package/es/Switch/index.vue.d.ts +3 -3
  123. package/es/Switch/type.d.ts +4 -4
  124. package/es/Tabs/Tabs.vue.d.ts +1 -1
  125. package/es/Tabs/hooks/useContext.d.ts +4 -4
  126. package/es/Tabs/index.d.ts +3 -3
  127. package/es/Tabs/type.d.ts +2 -3
  128. package/es/Tag/index.d.ts +3 -3
  129. package/es/Tag/index.vue.d.ts +1 -1
  130. package/es/Tag/type.d.ts +1 -2
  131. package/es/Textarea/type.d.ts +2 -2
  132. package/es/TimePicker/TimePicker.vue.d.ts +1 -1
  133. package/es/TimePicker/index.d.ts +3 -3
  134. package/es/Timeline/TimelineItem.vue.d.ts +1 -1
  135. package/es/Timeline/index.d.ts +3 -3
  136. package/es/Timeline/type.d.ts +3 -4
  137. package/es/Typography/TypographyBase.vue.d.ts +7 -7
  138. package/es/Typography/TypographyBase.vue.js +2 -2
  139. package/es/Typography/TypographyParagraph.vue.d.ts +1 -1
  140. package/es/Typography/TypographyTitle.vue.d.ts +1 -1
  141. package/es/Typography/type.d.ts +5 -4
  142. package/es/Upload/Upload.vue.d.ts +55 -0
  143. package/es/Upload/Upload.vue.js +120 -0
  144. package/es/Upload/Upload.vue3.js +5 -0
  145. package/es/Upload/UploadButton.vue.d.ts +2 -0
  146. package/es/Upload/UploadButton.vue.js +39 -0
  147. package/es/Upload/UploadButton.vue3.js +5 -0
  148. package/es/Upload/UploadDrag.vue.d.ts +2 -0
  149. package/es/Upload/UploadDrag.vue.js +37 -0
  150. package/es/Upload/UploadDrag.vue3.js +5 -0
  151. package/es/Upload/UploadFileList.vue.d.ts +24 -0
  152. package/es/Upload/UploadFileList.vue.js +7 -0
  153. package/es/Upload/UploadFileList.vue2.js +122 -0
  154. package/es/Upload/UploadPictureCard.vue.d.ts +4 -0
  155. package/es/Upload/UploadPictureCard.vue.js +7 -0
  156. package/es/Upload/UploadPictureCard.vue2.js +128 -0
  157. package/es/Upload/hooks/useContext.d.ts +53 -0
  158. package/es/Upload/hooks/useContext.js +109 -0
  159. package/es/Upload/hooks/useUpload.d.ts +51 -0
  160. package/es/Upload/hooks/useUpload.js +85 -0
  161. package/es/Upload/index.css +1 -0
  162. package/es/Upload/index.d.ts +129 -0
  163. package/es/Upload/index.js +10 -0
  164. package/es/Upload/type.d.ts +76 -0
  165. package/es/VerificationCode/index.d.ts +3 -3
  166. package/es/VerificationCode/index.vue.d.ts +1 -1
  167. package/es/VerificationCode/type.d.ts +5 -4
  168. package/es/_shared/icons/IconCopy.vue.js +1 -19
  169. package/es/_shared/icons/IconCopy.vue2.js +19 -1
  170. package/es/_shared/icons/IconEdit.vue.js +1 -19
  171. package/es/_shared/icons/IconEdit.vue2.js +19 -1
  172. package/es/_shared/icons/IconFile.vue.d.ts +2 -0
  173. package/es/_shared/icons/IconFile.vue.js +4 -0
  174. package/es/_shared/icons/IconFile.vue2.js +22 -0
  175. package/es/_shared/icons/IconUpload.vue.d.ts +2 -0
  176. package/es/_shared/icons/IconUpload.vue.js +4 -0
  177. package/es/_shared/icons/IconUpload.vue2.js +22 -0
  178. package/es/_shared/icons/index.d.ts +2 -0
  179. package/es/_shared/type/index.d.ts +3 -1
  180. package/es/_shared/utils/vue-utils.d.ts +1 -1
  181. package/es/_virtual/_plugin-vue_export-helper.js +10 -0
  182. package/es/index.d.ts +33 -31
  183. package/es/index.js +6 -3
  184. package/es/node_modules/@vueuse/core/index.js +171 -9
  185. package/es/node_modules/@vueuse/shared/index.js +29 -0
  186. package/es/style.css +1 -1
  187. package/lib/Alert/index.d.ts +3 -3
  188. package/lib/Alert/index.vue.d.ts +1 -1
  189. package/lib/Alert/type.d.ts +2 -2
  190. package/lib/Anchor/Anchor.vue.d.ts +1 -1
  191. package/lib/Anchor/hooks/useContext.d.ts +1 -1
  192. package/lib/Anchor/index.d.ts +3 -3
  193. package/lib/Anchor/type.d.ts +3 -2
  194. package/lib/AutoComplete/index.d.ts +18 -9
  195. package/lib/AutoComplete/index.vue.d.ts +36 -18
  196. package/lib/Avatar/Avatar.vue.d.ts +1 -1
  197. package/lib/Avatar/index.d.ts +3 -3
  198. package/lib/Avatar/type.d.ts +3 -2
  199. package/lib/Badge/index.d.ts +3 -3
  200. package/lib/Badge/index.vue.d.ts +1 -1
  201. package/lib/Badge/type.d.ts +2 -2
  202. package/lib/Button/Button.vue.d.ts +2 -2
  203. package/lib/Button/ButtonGroup.vue.d.ts +1 -1
  204. package/lib/Button/hooks/useContext.d.ts +3 -3
  205. package/lib/Button/index.d.ts +9 -9
  206. package/lib/Button/type.d.ts +6 -6
  207. package/lib/Card/Card.vue.d.ts +1 -1
  208. package/lib/Card/index.d.ts +3 -3
  209. package/lib/Card/type.d.ts +1 -2
  210. package/lib/Carousel/Carousel.vue.d.ts +2 -2
  211. package/lib/Carousel/hooks/useContext.d.ts +3 -3
  212. package/lib/Carousel/index.d.ts +6 -6
  213. package/lib/Carousel/type.d.ts +6 -6
  214. package/lib/Cascader/Cascader.vue.d.ts +7 -7
  215. package/lib/Cascader/index.d.ts +6 -6
  216. package/lib/Collapse/hooks/useContext.d.ts +2 -13
  217. package/lib/Collapse/hooks/useContext.js +1 -1
  218. package/lib/Collapse/type.d.ts +2 -1
  219. package/lib/Descriptions/Descriptions.vue.d.ts +3 -3
  220. package/lib/Descriptions/hooks/useContext.d.ts +1 -1
  221. package/lib/Descriptions/index.d.ts +9 -9
  222. package/lib/Descriptions/type.d.ts +7 -6
  223. package/lib/Divider/index.d.ts +6 -6
  224. package/lib/Divider/index.vue.d.ts +2 -2
  225. package/lib/Divider/type.d.ts +4 -3
  226. package/lib/Drawer/Drawer.vue.d.ts +1 -1
  227. package/lib/Drawer/DrawerService.vue.d.ts +1 -1
  228. package/lib/Drawer/index.d.ts +5 -9
  229. package/lib/Drawer/type.d.ts +8 -4
  230. package/lib/Dropdown/Dropdown.vue.d.ts +1 -1
  231. package/lib/Dropdown/DropdownButton.vue.d.ts +1 -1
  232. package/lib/Dropdown/Dsubmenu.vue.d.ts +1 -1
  233. package/lib/Dropdown/index.d.ts +9 -9
  234. package/lib/Dropdown/type.d.ts +4 -6
  235. package/lib/Grid/hooks/useContext.d.ts +0 -11
  236. package/lib/Grid/hooks/useContext.js +1 -1
  237. package/lib/Image/Image.vue.d.ts +2 -2
  238. package/lib/Image/ImagePreview.vue.js +1 -1
  239. package/lib/Image/index.d.ts +6 -6
  240. package/lib/Image/type.d.ts +3 -2
  241. package/lib/Input/Input.vue.d.ts +1 -1
  242. package/lib/Input/index.d.ts +3 -3
  243. package/lib/InputNumber/InputNumber.vue.d.ts +8 -8
  244. package/lib/InputNumber/InputOperaBtn.vue.d.ts +2 -2
  245. package/lib/InputNumber/index.d.ts +9 -9
  246. package/lib/InputNumber/type.d.ts +5 -4
  247. package/lib/InputTag/index.d.ts +15 -6
  248. package/lib/InputTag/index.vue.d.ts +5 -2
  249. package/lib/InputTag/type.d.ts +2 -1
  250. package/lib/Layout/LayoutSider.vue.d.ts +3 -3
  251. package/lib/Layout/index.d.ts +8 -8
  252. package/lib/Layout/type.d.ts +3 -4
  253. package/lib/Link/index.d.ts +3 -3
  254. package/lib/Link/index.vue.d.ts +1 -1
  255. package/lib/Link/type.d.ts +2 -2
  256. package/lib/List/List.vue.d.ts +7 -7
  257. package/lib/List/index.d.ts +6 -6
  258. package/lib/List/type.d.ts +2 -3
  259. package/lib/Mention/index.d.ts +21 -12
  260. package/lib/Mention/index.vue.d.ts +37 -19
  261. package/lib/Mention/type.d.ts +3 -2
  262. package/lib/Menu/Menu.vue.d.ts +2 -2
  263. package/lib/Menu/index.d.ts +5 -5
  264. package/lib/Menu/type.d.ts +2 -2
  265. package/lib/Message/type.d.ts +3 -3
  266. package/lib/Modal/Modal.vue.d.ts +1 -1
  267. package/lib/Modal/ModalService.vue.d.ts +1 -1
  268. package/lib/Modal/index.d.ts +13 -13
  269. package/lib/Modal/index.js +1 -1
  270. package/lib/Modal/type.d.ts +6 -9
  271. package/lib/Notification/Notification.vue.d.ts +1 -1
  272. package/lib/Notification/index.d.ts +4 -4
  273. package/lib/Notification/type.d.ts +3 -4
  274. package/lib/OverflowList/index.d.ts +3 -3
  275. package/lib/OverflowList/index.vue.d.ts +1 -1
  276. package/lib/OverflowList/type.d.ts +3 -2
  277. package/lib/Popconfirm/index.d.ts +3 -3
  278. package/lib/Popconfirm/index.vue.d.ts +1 -1
  279. package/lib/Popconfirm/type.d.ts +2 -3
  280. package/lib/Progress/Progress.vue.d.ts +1 -1
  281. package/lib/Progress/ProgressCircle.vue.d.ts +3 -3
  282. package/lib/Progress/ProgressLine.vue.d.ts +3 -3
  283. package/lib/Progress/index.d.ts +3 -3
  284. package/lib/Progress/type.d.ts +2 -3
  285. package/lib/Radio/type.d.ts +1 -1
  286. package/lib/ResizeBox/index.d.ts +3 -3
  287. package/lib/ResizeBox/index.vue.d.ts +2 -2
  288. package/lib/ResizeBox/type.d.ts +4 -4
  289. package/lib/Result/index.d.ts +3 -3
  290. package/lib/Result/index.vue.d.ts +1 -1
  291. package/lib/Result/type.d.ts +3 -2
  292. package/lib/Scrollbar/Scrollbar.vue.d.ts +1 -1
  293. package/lib/Scrollbar/index.d.ts +3 -3
  294. package/lib/Scrollbar/type.d.ts +2 -1
  295. package/lib/Select/Select.vue.d.ts +31 -13
  296. package/lib/Select/hooks/useContext.d.ts +2 -2
  297. package/lib/Select/hooks/useSelectOptions.d.ts +2 -2
  298. package/lib/Select/index.d.ts +18 -9
  299. package/lib/Skeleton/SkeletonShape.vue.d.ts +2 -2
  300. package/lib/Skeleton/index.d.ts +2 -2
  301. package/lib/Skeleton/type.d.ts +2 -4
  302. package/lib/Space/index.d.ts +6 -6
  303. package/lib/Space/index.vue.d.ts +2 -2
  304. package/lib/Space/type.d.ts +5 -4
  305. package/lib/Switch/index.d.ts +9 -9
  306. package/lib/Switch/index.vue.d.ts +3 -3
  307. package/lib/Switch/type.d.ts +4 -4
  308. package/lib/Tabs/Tabs.vue.d.ts +1 -1
  309. package/lib/Tabs/hooks/useContext.d.ts +4 -4
  310. package/lib/Tabs/index.d.ts +3 -3
  311. package/lib/Tabs/type.d.ts +2 -3
  312. package/lib/Tag/index.d.ts +3 -3
  313. package/lib/Tag/index.vue.d.ts +1 -1
  314. package/lib/Tag/type.d.ts +1 -2
  315. package/lib/Textarea/type.d.ts +2 -2
  316. package/lib/TimePicker/TimePicker.vue.d.ts +1 -1
  317. package/lib/TimePicker/index.d.ts +3 -3
  318. package/lib/Timeline/TimelineItem.vue.d.ts +1 -1
  319. package/lib/Timeline/index.d.ts +3 -3
  320. package/lib/Timeline/type.d.ts +3 -4
  321. package/lib/Typography/TypographyBase.vue.d.ts +7 -7
  322. package/lib/Typography/TypographyBase.vue.js +1 -1
  323. package/lib/Typography/TypographyParagraph.vue.d.ts +1 -1
  324. package/lib/Typography/TypographyTitle.vue.d.ts +1 -1
  325. package/lib/Typography/type.d.ts +5 -4
  326. package/lib/Upload/Upload.vue.d.ts +55 -0
  327. package/lib/Upload/Upload.vue.js +1 -0
  328. package/lib/Upload/Upload.vue3.js +1 -0
  329. package/lib/Upload/UploadButton.vue.d.ts +2 -0
  330. package/lib/Upload/UploadButton.vue.js +1 -0
  331. package/lib/Upload/UploadButton.vue3.js +1 -0
  332. package/lib/Upload/UploadDrag.vue.d.ts +2 -0
  333. package/lib/Upload/UploadDrag.vue.js +1 -0
  334. package/lib/Upload/UploadDrag.vue3.js +1 -0
  335. package/lib/Upload/UploadFileList.vue.d.ts +24 -0
  336. package/lib/Upload/UploadFileList.vue.js +1 -0
  337. package/lib/Upload/UploadFileList.vue2.js +1 -0
  338. package/lib/Upload/UploadPictureCard.vue.d.ts +4 -0
  339. package/lib/Upload/UploadPictureCard.vue.js +1 -0
  340. package/lib/Upload/UploadPictureCard.vue2.js +1 -0
  341. package/lib/Upload/hooks/useContext.d.ts +53 -0
  342. package/lib/Upload/hooks/useContext.js +1 -0
  343. package/lib/Upload/hooks/useUpload.d.ts +51 -0
  344. package/lib/Upload/hooks/useUpload.js +1 -0
  345. package/lib/Upload/index.css +1 -0
  346. package/lib/Upload/index.d.ts +129 -0
  347. package/lib/Upload/index.js +1 -0
  348. package/lib/Upload/type.d.ts +76 -0
  349. package/lib/VerificationCode/index.d.ts +3 -3
  350. package/lib/VerificationCode/index.vue.d.ts +1 -1
  351. package/lib/VerificationCode/type.d.ts +5 -4
  352. package/lib/_shared/icons/IconCopy.vue.js +1 -1
  353. package/lib/_shared/icons/IconCopy.vue2.js +1 -1
  354. package/lib/_shared/icons/IconEdit.vue.js +1 -1
  355. package/lib/_shared/icons/IconEdit.vue2.js +1 -1
  356. package/lib/_shared/icons/IconFile.vue.d.ts +2 -0
  357. package/lib/_shared/icons/IconFile.vue.js +1 -0
  358. package/lib/_shared/icons/IconFile.vue2.js +1 -0
  359. package/lib/_shared/icons/IconUpload.vue.d.ts +2 -0
  360. package/lib/_shared/icons/IconUpload.vue.js +1 -0
  361. package/lib/_shared/icons/IconUpload.vue2.js +1 -0
  362. package/lib/_shared/icons/index.d.ts +2 -0
  363. package/lib/_shared/type/index.d.ts +3 -1
  364. package/lib/_shared/utils/vue-utils.d.ts +1 -1
  365. package/lib/_virtual/_plugin-vue_export-helper.js +1 -0
  366. package/lib/index.d.ts +33 -31
  367. package/lib/index.js +1 -1
  368. package/lib/node_modules/@vueuse/core/index.js +1 -1
  369. package/lib/node_modules/@vueuse/shared/index.js +1 -1
  370. package/lib/style.css +1 -1
  371. package/package.json +1 -1
@@ -22,7 +22,7 @@ declare const __VLS_component: import('vue').DefineComponent<DropdownButtonProps
22
22
  popupVisible: boolean;
23
23
  defaultPopupVisible: boolean;
24
24
  disabled: boolean;
25
- position: import('./type').DropdownPosition;
25
+ position: Extract<import('..').PopupPosition, "top" | "tr" | "tl" | "bottom" | "br" | "bl">;
26
26
  hideOnSelect: boolean;
27
27
  buttonProps: import('../Button').ButtonProps;
28
28
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
@@ -321,7 +321,7 @@ declare const __VLS_component: import('vue').DefineComponent<DsubmenuProps, {
321
321
  popupVisible: boolean;
322
322
  defaultPopupVisible: boolean;
323
323
  disabled: boolean;
324
- position: import('./type').DsubmenuPosition;
324
+ position: Extract<import('..').PopupPosition, "rt" | "lt">;
325
325
  triggerProps: import('../Trigger').TriggerProps;
326
326
  popupMaxHeight: import('..').PopupMaxHeight;
327
327
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
@@ -28,7 +28,7 @@ declare const Dropdown: {
28
28
  popupVisible: boolean;
29
29
  defaultPopupVisible: boolean;
30
30
  alignPoint: boolean;
31
- position: import('./type').DropdownPosition;
31
+ position: Extract<import('..').PopupPosition, "top" | "tr" | "tl" | "bottom" | "br" | "bl">;
32
32
  triggerProps: import('..').TriggerProps;
33
33
  hideOnSelect: boolean;
34
34
  popupMaxHeight: import('..').PopupMaxHeight;
@@ -52,7 +52,7 @@ declare const Dropdown: {
52
52
  popupVisible: boolean;
53
53
  defaultPopupVisible: boolean;
54
54
  alignPoint: boolean;
55
- position: import('./type').DropdownPosition;
55
+ position: Extract<import('..').PopupPosition, "top" | "tr" | "tl" | "bottom" | "br" | "bl">;
56
56
  triggerProps: import('..').TriggerProps;
57
57
  hideOnSelect: boolean;
58
58
  popupMaxHeight: import('..').PopupMaxHeight;
@@ -77,7 +77,7 @@ declare const Dropdown: {
77
77
  popupVisible: boolean;
78
78
  defaultPopupVisible: boolean;
79
79
  alignPoint: boolean;
80
- position: import('./type').DropdownPosition;
80
+ position: Extract<import('..').PopupPosition, "top" | "tr" | "tl" | "bottom" | "br" | "bl">;
81
81
  triggerProps: import('..').TriggerProps;
82
82
  hideOnSelect: boolean;
83
83
  popupMaxHeight: import('..').PopupMaxHeight;
@@ -153,7 +153,7 @@ declare const Dropdown: {
153
153
  popupVisible: boolean;
154
154
  defaultPopupVisible: boolean;
155
155
  disabled: boolean;
156
- position: import('./type').DropdownPosition;
156
+ position: Extract<import('..').PopupPosition, "top" | "tr" | "tl" | "bottom" | "br" | "bl">;
157
157
  hideOnSelect: boolean;
158
158
  buttonProps: import('..').ButtonProps;
159
159
  }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
@@ -175,7 +175,7 @@ declare const Dropdown: {
175
175
  popupVisible: boolean;
176
176
  defaultPopupVisible: boolean;
177
177
  disabled: boolean;
178
- position: import('./type').DropdownPosition;
178
+ position: Extract<import('..').PopupPosition, "top" | "tr" | "tl" | "bottom" | "br" | "bl">;
179
179
  hideOnSelect: boolean;
180
180
  buttonProps: import('..').ButtonProps;
181
181
  }>;
@@ -198,7 +198,7 @@ declare const Dropdown: {
198
198
  popupVisible: boolean;
199
199
  defaultPopupVisible: boolean;
200
200
  disabled: boolean;
201
- position: import('./type').DropdownPosition;
201
+ position: Extract<import('..').PopupPosition, "top" | "tr" | "tl" | "bottom" | "br" | "bl">;
202
202
  hideOnSelect: boolean;
203
203
  buttonProps: import('..').ButtonProps;
204
204
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
@@ -219,7 +219,7 @@ declare const Dropdown: {
219
219
  popupVisible: boolean;
220
220
  defaultPopupVisible: boolean;
221
221
  disabled: boolean;
222
- position: import('./type').DsubmenuPosition;
222
+ position: Extract<import('..').PopupPosition, "rt" | "lt">;
223
223
  triggerProps: import('..').TriggerProps;
224
224
  popupMaxHeight: import('..').PopupMaxHeight;
225
225
  }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
@@ -540,7 +540,7 @@ declare const Dropdown: {
540
540
  popupVisible: boolean;
541
541
  defaultPopupVisible: boolean;
542
542
  disabled: boolean;
543
- position: import('./type').DsubmenuPosition;
543
+ position: Extract<import('..').PopupPosition, "rt" | "lt">;
544
544
  triggerProps: import('..').TriggerProps;
545
545
  popupMaxHeight: import('..').PopupMaxHeight;
546
546
  }>;
@@ -561,7 +561,7 @@ declare const Dropdown: {
561
561
  popupVisible: boolean;
562
562
  defaultPopupVisible: boolean;
563
563
  disabled: boolean;
564
- position: import('./type').DsubmenuPosition;
564
+ position: Extract<import('..').PopupPosition, "rt" | "lt">;
565
565
  triggerProps: import('..').TriggerProps;
566
566
  popupMaxHeight: import('..').PopupMaxHeight;
567
567
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
@@ -1,4 +1,4 @@
1
- import { EventTrigger, RecordType, PopupContainer, PopupMaxHeight, Size } from '../_shared/type';
1
+ import { EventTrigger, RecordType, PopupContainer, PopupMaxHeight, PopupPosition, Size } from '../_shared/type';
2
2
  import { TriggerProps, TriggerType } from '../Trigger';
3
3
  import { ButtonProps, ButtonType } from '../Button';
4
4
  import { VNode } from 'vue';
@@ -6,7 +6,7 @@ export interface DropdownProps {
6
6
  popupVisible?: boolean;
7
7
  defaultPopupVisible?: boolean;
8
8
  trigger?: TriggerType;
9
- position?: DropdownPosition;
9
+ position?: Extract<PopupPosition, 'top' | 'tr' | 'tl' | 'bottom' | 'br' | 'bl'>;
10
10
  popupContainer?: PopupContainer;
11
11
  hideOnSelect?: boolean;
12
12
  alignPoint?: boolean;
@@ -41,7 +41,7 @@ export interface DoptionSlots {
41
41
  export interface DsubmenuProps {
42
42
  disabled?: boolean;
43
43
  trigger?: EventTrigger;
44
- position?: DsubmenuPosition;
44
+ position?: Extract<PopupPosition, 'rt' | 'lt'>;
45
45
  popupVisible?: boolean;
46
46
  defaultPopupVisible?: boolean;
47
47
  triggerProps?: TriggerProps;
@@ -67,7 +67,7 @@ export interface DropdownButtonProps {
67
67
  popupVisible?: boolean;
68
68
  defaultPopupVisible?: boolean;
69
69
  trigger?: TriggerType;
70
- position?: DropdownPosition;
70
+ position?: Extract<PopupPosition, 'top' | 'tr' | 'tl' | 'bottom' | 'br' | 'bl'>;
71
71
  popupContainer?: PopupContainer;
72
72
  disabled?: boolean;
73
73
  type?: ButtonType;
@@ -81,5 +81,3 @@ export interface DropdownButtonSlots {
81
81
  icon?: () => VNode[];
82
82
  }
83
83
  export type DoptionValue = string | number | boolean | RecordType;
84
- export type DropdownPosition = 'top' | 'tr' | 'tl' | 'bottom' | 'br' | 'bl';
85
- export type DsubmenuPosition = 'rt' | 'lt';
@@ -1,17 +1,6 @@
1
1
  import { Ref, Reactive } from 'vue';
2
2
  import { GridRowGutter } from '../type';
3
3
  import { RecordType, BreakpointName } from '../../_shared/type';
4
- export declare const GRID_CONTEXT_KEY = "grid-context";
5
- export type GridContext = {
6
- breakpoint: Ref<BreakpointName>;
7
- div: Ref<boolean>;
8
- gutter: Ref<number[]>;
9
- cols: Ref<number>;
10
- colGap: Ref<number>;
11
- spanMap: Reactive<SpanMap>;
12
- collapsed: Ref<boolean>;
13
- collapsedRows: Ref<number>;
14
- };
15
4
  export type SpanMap = Map<string, {
16
5
  id: string;
17
6
  span: number;
@@ -88,6 +88,5 @@ function useGridContext() {
88
88
  };
89
89
  }
90
90
  export {
91
- GRID_CONTEXT_KEY,
92
91
  useGridContext as default
93
92
  };
@@ -16,8 +16,8 @@ declare const __VLS_component: import('vue').DefineComponent<ImageProps, {}, {},
16
16
  title: string;
17
17
  description: string;
18
18
  src: string;
19
- hideFooter: import('./type').HideFooter;
20
- footerPosition: import('./type').FooterPostion;
19
+ hideFooter: boolean | "never";
20
+ footerPosition: "outer" | "inner";
21
21
  showLoader: boolean;
22
22
  preview: boolean;
23
23
  previewVisible: boolean;
@@ -194,7 +194,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
194
194
  _ctx.closable ? (openBlock(), createElementBlock("div", {
195
195
  key: 0,
196
196
  class: "yc-image-preview-close-btn",
197
- onClick: _cache[1] || (_cache[1] = ($event) => unref(handleClose)("closeBtn", $event))
197
+ onClick: _cache[1] || (_cache[1] = ($event) => unref(handleClose)("closeBtn", $event, false))
198
198
  }, [
199
199
  createVNode(unref(_sfc_main$2))
200
200
  ])) : createCommentVNode("", true)
@@ -19,8 +19,8 @@ declare const Image: {
19
19
  title: string;
20
20
  description: string;
21
21
  src: string;
22
- hideFooter: import('./type').HideFooter;
23
- footerPosition: import('./type').FooterPostion;
22
+ hideFooter: boolean | "never";
23
+ footerPosition: "outer" | "inner";
24
24
  showLoader: boolean;
25
25
  preview: boolean;
26
26
  previewVisible: boolean;
@@ -41,8 +41,8 @@ declare const Image: {
41
41
  title: string;
42
42
  description: string;
43
43
  src: string;
44
- hideFooter: import('./type').HideFooter;
45
- footerPosition: import('./type').FooterPostion;
44
+ hideFooter: boolean | "never";
45
+ footerPosition: "outer" | "inner";
46
46
  showLoader: boolean;
47
47
  preview: boolean;
48
48
  previewVisible: boolean;
@@ -63,8 +63,8 @@ declare const Image: {
63
63
  title: string;
64
64
  description: string;
65
65
  src: string;
66
- hideFooter: import('./type').HideFooter;
67
- footerPosition: import('./type').FooterPostion;
66
+ hideFooter: boolean | "never";
67
+ footerPosition: "outer" | "inner";
68
68
  showLoader: boolean;
69
69
  preview: boolean;
70
70
  previewVisible: boolean;
@@ -78,5 +78,6 @@ export interface ImagePreviewActionEmits {
78
78
  export interface ImagePreviewActionSlots {
79
79
  default?: () => VNode[];
80
80
  }
81
- export type HideFooter = boolean | 'never';
82
- export type FooterPostion = 'inner' | 'outer';
81
+ type HideFooter = boolean | 'never';
82
+ type FooterPostion = 'inner' | 'outer';
83
+ export {};
@@ -35,8 +35,8 @@ declare const __VLS_component: import('vue').DefineComponent<InputProps, {
35
35
  "onVisibility-change"?: ((value: boolean) => any) | undefined;
36
36
  onPressEnter?: ((ev: KeyboardEvent) => any) | undefined;
37
37
  }>, {
38
- size: import('..').Size;
39
38
  error: boolean;
39
+ size: import('..').Size;
40
40
  disabled: boolean;
41
41
  placeholder: string;
42
42
  modelValue: string;
@@ -30,8 +30,8 @@ declare const Input: {
30
30
  "visibility-change": (value: boolean) => any;
31
31
  pressEnter: (ev: KeyboardEvent) => any;
32
32
  }, import('vue').PublicProps, {
33
- size: import('..').Size;
34
33
  error: boolean;
34
+ size: import('..').Size;
35
35
  disabled: boolean;
36
36
  placeholder: string;
37
37
  modelValue: string;
@@ -73,8 +73,8 @@ declare const Input: {
73
73
  blur(): void;
74
74
  getInputRef(): HTMLInputElement;
75
75
  }, {}, {}, {}, {
76
- size: import('..').Size;
77
76
  error: boolean;
77
+ size: import('..').Size;
78
78
  disabled: boolean;
79
79
  placeholder: string;
80
80
  modelValue: string;
@@ -122,8 +122,8 @@ declare const Input: {
122
122
  "visibility-change": (value: boolean) => any;
123
123
  pressEnter: (ev: KeyboardEvent) => any;
124
124
  }, string, {
125
- size: import('..').Size;
126
125
  error: boolean;
126
+ size: import('..').Size;
127
127
  disabled: boolean;
128
128
  placeholder: string;
129
129
  modelValue: string;
@@ -79,8 +79,8 @@ declare function __VLS_template(): {
79
79
  "visibility-change": (value: boolean) => any;
80
80
  pressEnter: (ev: KeyboardEvent) => any;
81
81
  }, string, {
82
- size: import('..').Size;
83
82
  error: boolean;
83
+ size: import('..').Size;
84
84
  disabled: boolean;
85
85
  placeholder: string;
86
86
  modelValue: string;
@@ -118,8 +118,8 @@ declare function __VLS_template(): {
118
118
  $nextTick: typeof import('vue').nextTick;
119
119
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
120
120
  } & Readonly<{
121
- size: import('..').Size;
122
121
  error: boolean;
122
+ size: import('..').Size;
123
123
  disabled: boolean;
124
124
  placeholder: string;
125
125
  modelValue: string;
@@ -147,7 +147,7 @@ declare function __VLS_template(): {
147
147
  "onUpdate:visibility"?: ((value: boolean) => any) | undefined;
148
148
  "onVisibility-change"?: ((value: boolean) => any) | undefined;
149
149
  onPressEnter?: ((ev: KeyboardEvent) => any) | undefined;
150
- }>, "blur" | "focus" | "getInputRef" | ("size" | "error" | "disabled" | "placeholder" | "modelValue" | "defaultValue" | "maxLength" | "showWordLimit" | "allowClear" | "readonly" | "wordLength" | "wordSlice" | "inputAttrs" | "isPassword" | "visibility" | "defaultVisibility" | "invisibleButton" | "showInput")> & import('vue').ShallowUnwrapRef<{
150
+ }>, "blur" | "focus" | "getInputRef" | ("error" | "size" | "disabled" | "placeholder" | "modelValue" | "defaultValue" | "maxLength" | "showWordLimit" | "allowClear" | "readonly" | "wordLength" | "wordSlice" | "inputAttrs" | "isPassword" | "visibility" | "defaultVisibility" | "invisibleButton" | "showInput")> & import('vue').ShallowUnwrapRef<{
151
151
  focus(): void;
152
152
  blur(): void;
153
153
  getInputRef(): HTMLInputElement;
@@ -180,9 +180,9 @@ declare const __VLS_component: import('vue').DefineComponent<InputNumberProps, {
180
180
  "onUpdate:modelValue"?: ((value: InputNumberValue) => any) | undefined;
181
181
  onPressEnter?: ((ev: KeyboardEvent) => any) | undefined;
182
182
  }>, {
183
- size: import('..').Size;
184
183
  error: boolean;
185
- mode: import('./type').InputNumberMode;
184
+ size: import('..').Size;
185
+ mode: import('./type').ButtonMode;
186
186
  disabled: boolean;
187
187
  placeholder: string;
188
188
  modelValue: InputNumberValue;
@@ -272,8 +272,8 @@ declare const __VLS_component: import('vue').DefineComponent<InputNumberProps, {
272
272
  "visibility-change": (value: boolean) => any;
273
273
  pressEnter: (ev: KeyboardEvent) => any;
274
274
  }, string, {
275
- size: import('..').Size;
276
275
  error: boolean;
276
+ size: import('..').Size;
277
277
  disabled: boolean;
278
278
  placeholder: string;
279
279
  modelValue: string;
@@ -311,8 +311,8 @@ declare const __VLS_component: import('vue').DefineComponent<InputNumberProps, {
311
311
  $nextTick: typeof import('vue').nextTick;
312
312
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
313
313
  } & Readonly<{
314
- size: import('..').Size;
315
314
  error: boolean;
315
+ size: import('..').Size;
316
316
  disabled: boolean;
317
317
  placeholder: string;
318
318
  modelValue: string;
@@ -340,7 +340,7 @@ declare const __VLS_component: import('vue').DefineComponent<InputNumberProps, {
340
340
  "onUpdate:visibility"?: ((value: boolean) => any) | undefined;
341
341
  "onVisibility-change"?: ((value: boolean) => any) | undefined;
342
342
  onPressEnter?: ((ev: KeyboardEvent) => any) | undefined;
343
- }>, "blur" | "focus" | "getInputRef" | ("size" | "error" | "disabled" | "placeholder" | "modelValue" | "defaultValue" | "maxLength" | "showWordLimit" | "allowClear" | "readonly" | "wordLength" | "wordSlice" | "inputAttrs" | "isPassword" | "visibility" | "defaultVisibility" | "invisibleButton" | "showInput")> & import('vue').ShallowUnwrapRef<{
343
+ }>, "blur" | "focus" | "getInputRef" | ("error" | "size" | "disabled" | "placeholder" | "modelValue" | "defaultValue" | "maxLength" | "showWordLimit" | "allowClear" | "readonly" | "wordLength" | "wordSlice" | "inputAttrs" | "isPassword" | "visibility" | "defaultVisibility" | "invisibleButton" | "showInput")> & import('vue').ShallowUnwrapRef<{
344
344
  focus(): void;
345
345
  blur(): void;
346
346
  getInputRef(): HTMLInputElement;
@@ -1,7 +1,7 @@
1
- import { InputNumberMode, InputNumberValue } from './type';
1
+ import { ButtonMode, InputNumberValue } from './type';
2
2
  import { Size } from '../_shared/type';
3
3
  type __VLS_Props = {
4
- mode: InputNumberMode;
4
+ mode: ButtonMode;
5
5
  type: 'minus' | 'plus';
6
6
  disabled: boolean;
7
7
  computedValue: InputNumberValue;
@@ -25,9 +25,9 @@ declare const InputNumber: {
25
25
  "update:modelValue": (value: import('./type').InputNumberValue) => any;
26
26
  pressEnter: (ev: KeyboardEvent) => any;
27
27
  }, import('vue').PublicProps, {
28
- size: import('..').Size;
29
28
  error: boolean;
30
- mode: import('./type').InputNumberMode;
29
+ size: import('..').Size;
30
+ mode: import('./type').ButtonMode;
31
31
  disabled: boolean;
32
32
  placeholder: string;
33
33
  modelValue: import('./type').InputNumberValue;
@@ -117,8 +117,8 @@ declare const InputNumber: {
117
117
  "visibility-change": (value: boolean) => any;
118
118
  pressEnter: (ev: KeyboardEvent) => any;
119
119
  }, string, {
120
- size: import('..').Size;
121
120
  error: boolean;
121
+ size: import('..').Size;
122
122
  disabled: boolean;
123
123
  placeholder: string;
124
124
  modelValue: string;
@@ -156,8 +156,8 @@ declare const InputNumber: {
156
156
  $nextTick: typeof import('vue').nextTick;
157
157
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
158
158
  } & Readonly<{
159
- size: import('..').Size;
160
159
  error: boolean;
160
+ size: import('..').Size;
161
161
  disabled: boolean;
162
162
  placeholder: string;
163
163
  modelValue: string;
@@ -185,7 +185,7 @@ declare const InputNumber: {
185
185
  "onUpdate:visibility"?: ((value: boolean) => any) | undefined;
186
186
  "onVisibility-change"?: ((value: boolean) => any) | undefined;
187
187
  onPressEnter?: ((ev: KeyboardEvent) => any) | undefined;
188
- }>, "blur" | "focus" | "getInputRef" | ("size" | "error" | "disabled" | "placeholder" | "modelValue" | "defaultValue" | "maxLength" | "showWordLimit" | "allowClear" | "readonly" | "wordLength" | "wordSlice" | "inputAttrs" | "isPassword" | "visibility" | "defaultVisibility" | "invisibleButton" | "showInput")> & import('vue').ShallowUnwrapRef<{
188
+ }>, "blur" | "focus" | "getInputRef" | ("error" | "size" | "disabled" | "placeholder" | "modelValue" | "defaultValue" | "maxLength" | "showWordLimit" | "allowClear" | "readonly" | "wordLength" | "wordSlice" | "inputAttrs" | "isPassword" | "visibility" | "defaultVisibility" | "invisibleButton" | "showInput")> & import('vue').ShallowUnwrapRef<{
189
189
  focus(): void;
190
190
  blur(): void;
191
191
  getInputRef(): HTMLInputElement;
@@ -212,9 +212,9 @@ declare const InputNumber: {
212
212
  focus(): void;
213
213
  blur(): void;
214
214
  }, {}, {}, {}, {
215
- size: import('..').Size;
216
215
  error: boolean;
217
- mode: import('./type').InputNumberMode;
216
+ size: import('..').Size;
217
+ mode: import('./type').ButtonMode;
218
218
  disabled: boolean;
219
219
  placeholder: string;
220
220
  modelValue: import('./type').InputNumberValue;
@@ -253,9 +253,9 @@ declare const InputNumber: {
253
253
  "update:modelValue": (value: import('./type').InputNumberValue) => any;
254
254
  pressEnter: (ev: KeyboardEvent) => any;
255
255
  }, string, {
256
- size: import('..').Size;
257
256
  error: boolean;
258
- mode: import('./type').InputNumberMode;
257
+ size: import('..').Size;
258
+ mode: import('./type').ButtonMode;
259
259
  disabled: boolean;
260
260
  placeholder: string;
261
261
  modelValue: import('./type').InputNumberValue;
@@ -3,7 +3,7 @@ import { VNode } from 'vue';
3
3
  export interface InputNumberProps {
4
4
  modelValue?: InputNumberValue;
5
5
  defaultValue?: InputNumberValue;
6
- mode?: InputNumberMode;
6
+ mode?: ButtonMode;
7
7
  precision?: number;
8
8
  step?: number;
9
9
  disabled?: boolean;
@@ -15,7 +15,7 @@ export interface InputNumberProps {
15
15
  size?: Size;
16
16
  allowClear?: boolean;
17
17
  formatter?: Format<string>;
18
- parser?: InputNumberParser;
18
+ parser?: Parser;
19
19
  readonly?: boolean;
20
20
  inputAttrs?: RecordType;
21
21
  }
@@ -43,5 +43,6 @@ export interface InputNumberExpose {
43
43
  blur(): void;
44
44
  }
45
45
  export type InputNumberValue = number | string;
46
- export type InputNumberMode = 'embed' | 'button';
47
- export type InputNumberParser = (value: string) => string;
46
+ export type ButtonMode = 'embed' | 'button';
47
+ type Parser = (value: string) => string;
48
+ export {};
@@ -27,8 +27,8 @@ declare const InputTag: {
27
27
  "input-value-change": (value: string, ev: Event) => any;
28
28
  "press-enter": (ev: KeyboardEvent) => any;
29
29
  }, import('vue').PublicProps, {
30
- size: import('..').Size;
31
30
  error: boolean;
31
+ size: import('..').Size;
32
32
  disabled: boolean;
33
33
  placeholder: string;
34
34
  modelValue: import('./type').InputTagValue;
@@ -41,7 +41,10 @@ declare const InputTag: {
41
41
  allowCreate: boolean;
42
42
  maxTagCount: number;
43
43
  tagNowrap: boolean;
44
- retainInputValue: import('./type').InputRetainValue;
44
+ retainInputValue: boolean | {
45
+ create?: boolean;
46
+ blur?: boolean;
47
+ };
45
48
  uniqueValue: boolean;
46
49
  }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
47
50
  mirrorRef: HTMLDivElement;
@@ -67,8 +70,8 @@ declare const InputTag: {
67
70
  focus(): void;
68
71
  blur(): void;
69
72
  }, {}, {}, {}, {
70
- size: import('..').Size;
71
73
  error: boolean;
74
+ size: import('..').Size;
72
75
  disabled: boolean;
73
76
  placeholder: string;
74
77
  modelValue: import('./type').InputTagValue;
@@ -81,7 +84,10 @@ declare const InputTag: {
81
84
  allowCreate: boolean;
82
85
  maxTagCount: number;
83
86
  tagNowrap: boolean;
84
- retainInputValue: import('./type').InputRetainValue;
87
+ retainInputValue: boolean | {
88
+ create?: boolean;
89
+ blur?: boolean;
90
+ };
85
91
  uniqueValue: boolean;
86
92
  }>;
87
93
  __isFragment?: never;
@@ -111,8 +117,8 @@ declare const InputTag: {
111
117
  "input-value-change": (value: string, ev: Event) => any;
112
118
  "press-enter": (ev: KeyboardEvent) => any;
113
119
  }, string, {
114
- size: import('..').Size;
115
120
  error: boolean;
121
+ size: import('..').Size;
116
122
  disabled: boolean;
117
123
  placeholder: string;
118
124
  modelValue: import('./type').InputTagValue;
@@ -125,7 +131,10 @@ declare const InputTag: {
125
131
  allowCreate: boolean;
126
132
  maxTagCount: number;
127
133
  tagNowrap: boolean;
128
- retainInputValue: import('./type').InputRetainValue;
134
+ retainInputValue: boolean | {
135
+ create?: boolean;
136
+ blur?: boolean;
137
+ };
129
138
  uniqueValue: boolean;
130
139
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
131
140
  $slots: any;
@@ -33,8 +33,8 @@ declare const __VLS_component: import('vue').DefineComponent<InputTagProps, {
33
33
  "onInput-value-change"?: ((value: string, ev: Event) => any) | undefined;
34
34
  "onPress-enter"?: ((ev: KeyboardEvent) => any) | undefined;
35
35
  }>, {
36
- size: import('../_shared/type').Size;
37
36
  error: boolean;
37
+ size: import('../_shared/type').Size;
38
38
  disabled: boolean;
39
39
  placeholder: string;
40
40
  modelValue: InputTagValue;
@@ -47,7 +47,10 @@ declare const __VLS_component: import('vue').DefineComponent<InputTagProps, {
47
47
  allowCreate: boolean;
48
48
  maxTagCount: number;
49
49
  tagNowrap: boolean;
50
- retainInputValue: import('./type').InputRetainValue;
50
+ retainInputValue: boolean | {
51
+ create?: boolean;
52
+ blur?: boolean;
53
+ };
51
54
  uniqueValue: boolean;
52
55
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
53
56
  mirrorRef: HTMLDivElement;
@@ -50,7 +50,8 @@ export type TagData = {
50
50
  closeable?: boolean;
51
51
  tagProps?: TagProps;
52
52
  } | RecordType;
53
- export type InputRetainValue = boolean | {
53
+ type InputRetainValue = boolean | {
54
54
  create?: boolean;
55
55
  blur?: boolean;
56
56
  };
57
+ export {};
@@ -7,11 +7,11 @@ declare function __VLS_template(): {
7
7
  };
8
8
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
9
9
  declare const __VLS_component: import('vue').DefineComponent<LayoutSiderProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
10
- collapse: (collapsed: boolean, type: import('..').collapseType) => any;
10
+ collapse: (collapsed: boolean, type: "clickTrigger" | "responsive") => any;
11
11
  "update:collapsed": (collapsed: boolean) => any;
12
12
  breakpoint: (collapsed: boolean) => any;
13
13
  }, string, import('vue').PublicProps, Readonly<LayoutSiderProps> & Readonly<{
14
- onCollapse?: ((collapsed: boolean, type: import('..').collapseType) => any) | undefined;
14
+ onCollapse?: ((collapsed: boolean, type: "clickTrigger" | "responsive") => any) | undefined;
15
15
  "onUpdate:collapsed"?: ((collapsed: boolean) => any) | undefined;
16
16
  onBreakpoint?: ((collapsed: boolean) => any) | undefined;
17
17
  }>, {
@@ -24,7 +24,7 @@ declare const __VLS_component: import('vue').DefineComponent<LayoutSiderProps, {
24
24
  collapsible: boolean;
25
25
  reverseArrow: boolean;
26
26
  hideTrigger: boolean;
27
- resizeDirections: import('../ResizeBox').ResizeBoxDirection[];
27
+ resizeDirections: import('..').Position[];
28
28
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
29
29
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
30
30
  export default _default;
@@ -78,11 +78,11 @@ declare const Layout: {
78
78
  });
79
79
  sider: {
80
80
  new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./type').LayoutSiderProps> & Readonly<{
81
- onCollapse?: ((collapsed: boolean, type: import('..').collapseType) => any) | undefined;
81
+ onCollapse?: ((collapsed: boolean, type: "clickTrigger" | "responsive") => any) | undefined;
82
82
  "onUpdate:collapsed"?: ((collapsed: boolean) => any) | undefined;
83
83
  onBreakpoint?: ((collapsed: boolean) => any) | undefined;
84
84
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
85
- collapse: (collapsed: boolean, type: import('..').collapseType) => any;
85
+ collapse: (collapsed: boolean, type: "clickTrigger" | "responsive") => any;
86
86
  "update:collapsed": (collapsed: boolean) => any;
87
87
  breakpoint: (collapsed: boolean) => any;
88
88
  }, import('vue').PublicProps, {
@@ -95,7 +95,7 @@ declare const Layout: {
95
95
  collapsible: boolean;
96
96
  reverseArrow: boolean;
97
97
  hideTrigger: boolean;
98
- resizeDirections: import('..').ResizeBoxDirection[];
98
+ resizeDirections: import('..').Position[];
99
99
  }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
100
100
  P: {};
101
101
  B: {};
@@ -104,7 +104,7 @@ declare const Layout: {
104
104
  M: {};
105
105
  Defaults: {};
106
106
  }, Readonly<import('./type').LayoutSiderProps> & Readonly<{
107
- onCollapse?: ((collapsed: boolean, type: import('..').collapseType) => any) | undefined;
107
+ onCollapse?: ((collapsed: boolean, type: "clickTrigger" | "responsive") => any) | undefined;
108
108
  "onUpdate:collapsed"?: ((collapsed: boolean) => any) | undefined;
109
109
  onBreakpoint?: ((collapsed: boolean) => any) | undefined;
110
110
  }>, {}, {}, {}, {}, {
@@ -117,17 +117,17 @@ declare const Layout: {
117
117
  collapsible: boolean;
118
118
  reverseArrow: boolean;
119
119
  hideTrigger: boolean;
120
- resizeDirections: import('..').ResizeBoxDirection[];
120
+ resizeDirections: import('..').Position[];
121
121
  }>;
122
122
  __isFragment?: never;
123
123
  __isTeleport?: never;
124
124
  __isSuspense?: never;
125
125
  } & import('vue').ComponentOptionsBase<Readonly<import('./type').LayoutSiderProps> & Readonly<{
126
- onCollapse?: ((collapsed: boolean, type: import('..').collapseType) => any) | undefined;
126
+ onCollapse?: ((collapsed: boolean, type: "clickTrigger" | "responsive") => any) | undefined;
127
127
  "onUpdate:collapsed"?: ((collapsed: boolean) => any) | undefined;
128
128
  onBreakpoint?: ((collapsed: boolean) => any) | undefined;
129
129
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
130
- collapse: (collapsed: boolean, type: import('..').collapseType) => any;
130
+ collapse: (collapsed: boolean, type: "clickTrigger" | "responsive") => any;
131
131
  "update:collapsed": (collapsed: boolean) => any;
132
132
  breakpoint: (collapsed: boolean) => any;
133
133
  }, string, {
@@ -140,7 +140,7 @@ declare const Layout: {
140
140
  collapsible: boolean;
141
141
  reverseArrow: boolean;
142
142
  hideTrigger: boolean;
143
- resizeDirections: import('..').ResizeBoxDirection[];
143
+ resizeDirections: import('..').Position[];
144
144
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
145
145
  $slots: Readonly<import('./type').LayoutSiderSlots> & import('./type').LayoutSiderSlots;
146
146
  });