yc-design-vue 2.0.2 → 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 (516) 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 +2 -2
  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 +1 -1
  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.vue.js +1 -23
  245. package/es/_shared/icons/IconSeparator.vue2.js +23 -1
  246. package/es/_shared/icons/IconStar.vue.js +1 -1
  247. package/es/_shared/icons/IconSuccess.vue.js +1 -1
  248. package/es/_shared/icons/IconTime.vue.js +1 -1
  249. package/es/_shared/icons/IconToTop.vue.js +1 -1
  250. package/es/_shared/icons/IconWarning.vue.js +1 -1
  251. package/es/_shared/icons/IconZoomIn.vue2.js +1 -1
  252. package/es/_shared/icons/IconZoomOut.vue2.js +1 -1
  253. package/es/_shared/type/index.d.ts +22 -5
  254. package/es/_shared/utils/dom.d.ts +1 -1
  255. package/es/_shared/utils/dom.js +1 -1
  256. package/es/_shared/utils/global-config.d.ts +4 -4
  257. package/es/_shared/utils/vue-utils.d.ts +3 -3
  258. package/es/index.d.ts +59 -59
  259. package/lib/Affix/type.d.ts +1 -1
  260. package/lib/Alert/index.vue.js +1 -1
  261. package/lib/Alert/type.d.ts +1 -1
  262. package/lib/Anchor/hooks/useContext.d.ts +2 -2
  263. package/lib/Anchor/type.d.ts +1 -1
  264. package/lib/AutoComplete/index.d.ts +27 -27
  265. package/lib/AutoComplete/index.vue.d.ts +49 -49
  266. package/lib/AutoComplete/type.d.ts +6 -8
  267. package/lib/Avatar/Avatar.vue.d.ts +1 -1
  268. package/lib/Avatar/Avatar.vue.js +1 -1
  269. package/lib/Avatar/hooks/useContext.d.ts +3 -3
  270. package/lib/Avatar/index.d.ts +3 -3
  271. package/lib/Avatar/type.d.ts +2 -2
  272. package/lib/BackTop/index.vue.js +1 -1
  273. package/lib/BackTop/type.d.ts +1 -1
  274. package/lib/Badge/type.d.ts +1 -1
  275. package/lib/Breadcrumb/BreadcrumbItem.vue.js +1 -1
  276. package/lib/Breadcrumb/BreadcrumbMore.vue.js +1 -1
  277. package/lib/Breadcrumb/BreadcrumbSeparator.vue.js +1 -1
  278. package/lib/Breadcrumb/type.d.ts +1 -1
  279. package/lib/Button/Button.vue.d.ts +1 -1
  280. package/lib/Button/ButtonGroup.vue.d.ts +1 -1
  281. package/lib/Button/hooks/useContext.d.ts +5 -5
  282. package/lib/Button/index.d.ts +6 -6
  283. package/lib/Button/type.d.ts +4 -5
  284. package/lib/Calendar/Calendar.vue.js +1 -1
  285. package/lib/Card/type.d.ts +2 -1
  286. package/lib/Carousel/Carousel.vue.d.ts +3 -3
  287. package/lib/Carousel/CarouselArrow.vue.js +1 -1
  288. package/lib/Carousel/CarouselIndicator.vue.d.ts +3 -3
  289. package/lib/Carousel/hooks/useContext.d.ts +3 -3
  290. package/lib/Carousel/index.d.ts +9 -9
  291. package/lib/Carousel/type.d.ts +2 -3
  292. package/lib/Cascader/Cascader.vue.d.ts +13 -25
  293. package/lib/Cascader/Cascader.vue.js +1 -1
  294. package/lib/Cascader/CascaderIcon.vue.js +1 -1
  295. package/lib/Cascader/CascaderOption.vue.js +1 -1
  296. package/lib/Cascader/hooks/useContext.d.ts +5 -17
  297. package/lib/Cascader/index.d.ts +17 -29
  298. package/lib/Cascader/type.d.ts +5 -7
  299. package/lib/Checkbox/Checkbox.vue.js +1 -1
  300. package/lib/Checkbox/hooks/useContext.d.ts +3 -3
  301. package/lib/Checkbox/type.d.ts +3 -3
  302. package/lib/Collapse/CollapseItem.vue.js +1 -1
  303. package/lib/Collapse/hooks/useContext.d.ts +5 -5
  304. package/lib/Collapse/type.d.ts +2 -2
  305. package/lib/ColorPicker/hooks/useContext.d.ts +2 -2
  306. package/lib/ConfigProvider/index.d.ts +3 -3
  307. package/lib/ConfigProvider/index.vue.d.ts +1 -1
  308. package/lib/ConfigProvider/type.d.ts +2 -3
  309. package/lib/Descriptions/hooks/useContext.d.ts +2 -2
  310. package/lib/Descriptions/type.d.ts +1 -2
  311. package/lib/Drawer/Drawer.vue.js +1 -1
  312. package/lib/Drawer/DrawerService.vue.d.ts +1 -1
  313. package/lib/Dropdown/Doption.vue.js +1 -1
  314. package/lib/Dropdown/Dropdown.vue.d.ts +1 -1
  315. package/lib/Dropdown/Dropdown.vue.js +1 -1
  316. package/lib/Dropdown/DropdownButton.vue.js +1 -1
  317. package/lib/Dropdown/Dsubmenu.vue.d.ts +20 -20
  318. package/lib/Dropdown/Dsubmenu.vue.js +1 -1
  319. package/lib/Dropdown/hooks/useContext.d.ts +2 -2
  320. package/lib/Dropdown/index.d.ts +18 -18
  321. package/lib/Dropdown/type.d.ts +5 -6
  322. package/lib/Empty/index.vue.js +1 -1
  323. package/lib/Grid/Grid.vue.d.ts +3 -3
  324. package/lib/Grid/GridCol.vue.d.ts +2 -2
  325. package/lib/Grid/GridItem.vue.d.ts +2 -2
  326. package/lib/Grid/GridRow.vue.d.ts +1 -1
  327. package/lib/Grid/hooks/useContext.d.ts +4 -4
  328. package/lib/Grid/index.d.ts +24 -24
  329. package/lib/Grid/type.d.ts +4 -12
  330. package/lib/Image/Image.vue.d.ts +1 -1
  331. package/lib/Image/Image.vue.js +1 -1
  332. package/lib/Image/ImagePreview.vue.js +1 -1
  333. package/lib/Image/ImagePreviewArrow.vue.js +1 -1
  334. package/lib/Image/ImagePreviewToolbar.vue.js +1 -1
  335. package/lib/Image/hooks/useContext.d.ts +2 -2
  336. package/lib/Image/index.d.ts +3 -3
  337. package/lib/Image/type.d.ts +2 -3
  338. package/lib/Input/Input.vue.d.ts +1 -1
  339. package/lib/Input/Input.vue.js +1 -1
  340. package/lib/Input/InputSuffix.vue.js +1 -1
  341. package/lib/Input/hooks/useLimitedInput.d.ts +3 -3
  342. package/lib/Input/index.d.ts +3 -3
  343. package/lib/Input/type.d.ts +2 -2
  344. package/lib/InputNumber/InputNumber.vue.d.ts +7 -7
  345. package/lib/InputNumber/InputOperaBtn.vue.js +1 -1
  346. package/lib/InputNumber/index.d.ts +6 -6
  347. package/lib/InputNumber/type.d.ts +3 -4
  348. package/lib/InputTag/index.vue.js +1 -1
  349. package/lib/InputTag/type.d.ts +5 -6
  350. package/lib/Layout/LayoutSider.vue.d.ts +7 -7
  351. package/lib/Layout/LayoutSider.vue.js +1 -1
  352. package/lib/Layout/hooks/useSiderContext.d.ts +2 -2
  353. package/lib/Layout/index.d.ts +19 -19
  354. package/lib/Layout/type.d.ts +4 -5
  355. package/lib/Link/index.vue.js +1 -1
  356. package/lib/Link/type.d.ts +1 -1
  357. package/lib/List/List.vue.d.ts +15 -15
  358. package/lib/List/ListVirtual.vue.d.ts +3 -3
  359. package/lib/List/index.d.ts +10 -10
  360. package/lib/List/type.d.ts +3 -3
  361. package/lib/Mention/index.d.ts +35 -35
  362. package/lib/Mention/index.vue.d.ts +46 -46
  363. package/lib/Mention/type.d.ts +6 -5
  364. package/lib/Menu/Menu.vue.d.ts +6 -6
  365. package/lib/Menu/Menu.vue.js +1 -1
  366. package/lib/Menu/MenuEllipsis.vue.js +1 -1
  367. package/lib/Menu/SubMenu.vue.d.ts +1 -1
  368. package/lib/Menu/SubMenu.vue.js +1 -1
  369. package/lib/Menu/hooks/useContext.d.ts +5 -5
  370. package/lib/Menu/index.d.ts +20 -20
  371. package/lib/Menu/type.d.ts +3 -6
  372. package/lib/Message/Message.vue.d.ts +1 -1
  373. package/lib/Message/Message.vue.js +1 -1
  374. package/lib/Message/index.d.ts +3 -3
  375. package/lib/Message/type.d.ts +5 -5
  376. package/lib/Modal/Modal.vue.d.ts +2 -2
  377. package/lib/Modal/Modal.vue.js +1 -1
  378. package/lib/Modal/ModalService.vue.d.ts +4 -4
  379. package/lib/Modal/index.d.ts +6 -6
  380. package/lib/Modal/type.d.ts +8 -8
  381. package/lib/Notification/Notification.vue.d.ts +3 -3
  382. package/lib/Notification/Notification.vue.js +1 -1
  383. package/lib/Notification/index.d.ts +9 -9
  384. package/lib/Notification/type.d.ts +4 -4
  385. package/lib/PageHeader/index.vue.js +1 -1
  386. package/lib/Pagination/PaginationItem.vue.js +1 -1
  387. package/lib/Pagination/hooks/useContext.d.ts +2 -2
  388. package/lib/Popconfirm/index.d.ts +18 -18
  389. package/lib/Popconfirm/index.vue.d.ts +21 -21
  390. package/lib/Popconfirm/type.d.ts +4 -4
  391. package/lib/Popover/index.d.ts +9 -9
  392. package/lib/Popover/index.vue.d.ts +3 -3
  393. package/lib/Popover/type.d.ts +3 -3
  394. package/lib/Progress/ProgressCircle.vue.js +1 -1
  395. package/lib/Progress/type.d.ts +1 -1
  396. package/lib/Radio/Radio.vue.js +1 -1
  397. package/lib/Radio/hooks/useContext.d.ts +3 -3
  398. package/lib/Radio/type.d.ts +2 -2
  399. package/lib/Rate/index.vue.js +1 -1
  400. package/lib/ResizeBox/index.vue.js +1 -1
  401. package/lib/Result/type.d.ts +1 -1
  402. package/lib/Scrollbar/Scrollbar.vue.d.ts +1 -1
  403. package/lib/Scrollbar/index.d.ts +3 -3
  404. package/lib/Select/Option.vue.d.ts +1 -1
  405. package/lib/Select/Option.vue.js +1 -1
  406. package/lib/Select/Select.vue.d.ts +27 -27
  407. package/lib/Select/Select.vue.js +1 -1
  408. package/lib/Select/SelectIcon.vue.js +1 -1
  409. package/lib/Select/SelectRealList.vue.js +1 -1
  410. package/lib/Select/hooks/useContext.d.ts +13 -13
  411. package/lib/Select/hooks/useSelectOptions.d.ts +13 -13
  412. package/lib/Select/index.d.ts +26 -26
  413. package/lib/Select/type.d.ts +13 -16
  414. package/lib/Skeleton/type.d.ts +3 -2
  415. package/lib/Slider/Slider.vue.d.ts +1 -1
  416. package/lib/Slider/SliderTicks.vue.d.ts +2 -2
  417. package/lib/Slider/hooks/useContext.d.ts +4 -4
  418. package/lib/Slider/index.d.ts +3 -3
  419. package/lib/Slider/type.d.ts +2 -3
  420. package/lib/Space/index.d.ts +3 -3
  421. package/lib/Space/index.vue.d.ts +1 -1
  422. package/lib/Spin/index.vue.js +1 -1
  423. package/lib/Split/index.vue.js +1 -1
  424. package/lib/Steps/Step.vue.js +1 -1
  425. package/lib/Steps/hooks/useContext.d.ts +3 -3
  426. package/lib/Switch/type.d.ts +2 -1
  427. package/lib/Tabs/TabButton.vue.js +1 -1
  428. package/lib/Tabs/Tabs.vue.d.ts +1 -1
  429. package/lib/Tabs/Tabs.vue.js +1 -1
  430. package/lib/Tabs/TabsNavInk.vue.d.ts +2 -2
  431. package/lib/Tabs/hooks/useContext.d.ts +5 -5
  432. package/lib/Tabs/hooks/useTabsScroll.d.ts +2 -2
  433. package/lib/Tabs/index.d.ts +3 -3
  434. package/lib/Tabs/type.d.ts +2 -3
  435. package/lib/Tag/index.vue.js +1 -1
  436. package/lib/Tag/type.d.ts +2 -1
  437. package/lib/Textarea/index.vue.js +1 -1
  438. package/lib/TimePicker/TimePicker.vue.js +1 -1
  439. package/lib/TimePicker/hooks/useContext.d.ts +2 -2
  440. package/lib/TimePicker/type.d.ts +1 -1
  441. package/lib/Timeline/hooks/useContext.d.ts +4 -4
  442. package/lib/Tooltip/index.d.ts +9 -9
  443. package/lib/Tooltip/index.vue.d.ts +3 -3
  444. package/lib/Tooltip/type.d.ts +3 -3
  445. package/lib/Transfer/Transfer.vue.js +1 -1
  446. package/lib/Transfer/TransferPanel.vue.js +1 -1
  447. package/lib/Transfer/hooks/useContext.d.ts +2 -2
  448. package/lib/Trigger/hooks/useContext.d.ts +2 -2
  449. package/lib/Trigger/hooks/useTriggerPosition.d.ts +3 -4
  450. package/lib/Trigger/hooks/useTriggerVisible.d.ts +2 -2
  451. package/lib/Trigger/index.d.ts +9 -9
  452. package/lib/Trigger/index.vue.d.ts +3 -3
  453. package/lib/Trigger/index.vue.js +1 -1
  454. package/lib/Trigger/type.d.ts +3 -4
  455. package/lib/Typography/TypographyBase.vue.d.ts +6 -7
  456. package/lib/Typography/TypographyBase.vue.js +1 -1
  457. package/lib/Typography/TypographyParagraph.vue.d.ts +1 -1
  458. package/lib/Typography/TypographyParagraph.vue.js +1 -1
  459. package/lib/Typography/TypographyText.vue.js +1 -1
  460. package/lib/Typography/TypographyTitle.vue.d.ts +1 -1
  461. package/lib/Typography/TypographyTitle.vue.js +1 -1
  462. package/lib/Typography/type.d.ts +4 -14
  463. package/lib/_shared/components/IconButton/index.vue2.js +1 -0
  464. package/lib/_shared/components/IconButton/index.vue3.js +1 -1
  465. package/lib/_shared/constants/index.d.ts +4 -4
  466. package/lib/_shared/constants/index.js +1 -1
  467. package/lib/_shared/icons/IconArrowDown.vue.js +1 -1
  468. package/lib/_shared/icons/IconArrowRight.vue.js +1 -1
  469. package/lib/_shared/icons/IconCheck.vue.js +1 -1
  470. package/lib/_shared/icons/IconCheckboxChecked.vue.js +1 -1
  471. package/lib/_shared/icons/IconClose.vue.js +1 -1
  472. package/lib/_shared/icons/IconCopy.vue.js +1 -1
  473. package/lib/_shared/icons/IconCopy.vue2.js +1 -1
  474. package/lib/_shared/icons/IconDelete.vue2.js +1 -1
  475. package/lib/_shared/icons/IconDragDot.vue.js +1 -1
  476. package/lib/_shared/icons/IconEdit.vue.js +1 -1
  477. package/lib/_shared/icons/IconEdit.vue2.js +1 -1
  478. package/lib/_shared/icons/IconEmpty.vue.js +1 -1
  479. package/lib/_shared/icons/IconError.vue.js +1 -1
  480. package/lib/_shared/icons/IconExclamation.vue2.js +1 -1
  481. package/lib/_shared/icons/IconEyeClose.vue2.js +1 -1
  482. package/lib/_shared/icons/IconEyeOpen.vue2.js +1 -1
  483. package/lib/_shared/icons/IconFaceSmile.vue.js +1 -1
  484. package/lib/_shared/icons/IconFullScreen.vue2.js +1 -1
  485. package/lib/_shared/icons/IconImageClose.vue.js +1 -1
  486. package/lib/_shared/icons/IconInfo.vue.js +1 -1
  487. package/lib/_shared/icons/IconInfoLine.vue.js +1 -1
  488. package/lib/_shared/icons/IconLink.vue.js +1 -1
  489. package/lib/_shared/icons/IconLoading.vue.js +1 -1
  490. package/lib/_shared/icons/IconMenuFold.vue.js +1 -1
  491. package/lib/_shared/icons/IconMenuUnfold.vue.js +1 -1
  492. package/lib/_shared/icons/IconMinus.vue2.js +1 -1
  493. package/lib/_shared/icons/IconMore.vue.js +1 -1
  494. package/lib/_shared/icons/IconOriginSize.vue2.js +1 -1
  495. package/lib/_shared/icons/IconPlus.vue.js +1 -1
  496. package/lib/_shared/icons/IconRight.vue.js +1 -1
  497. package/lib/_shared/icons/IconRotateLeft.vue2.js +1 -1
  498. package/lib/_shared/icons/IconRotateRight.vue2.js +1 -1
  499. package/lib/_shared/icons/IconSearch.vue2.js +1 -1
  500. package/lib/_shared/icons/IconSeparator.vue.js +1 -1
  501. package/lib/_shared/icons/IconSeparator.vue2.js +1 -1
  502. package/lib/_shared/icons/IconStar.vue.js +1 -1
  503. package/lib/_shared/icons/IconSuccess.vue.js +1 -1
  504. package/lib/_shared/icons/IconTime.vue.js +1 -1
  505. package/lib/_shared/icons/IconToTop.vue.js +1 -1
  506. package/lib/_shared/icons/IconWarning.vue.js +1 -1
  507. package/lib/_shared/icons/IconZoomIn.vue2.js +1 -1
  508. package/lib/_shared/icons/IconZoomOut.vue2.js +1 -1
  509. package/lib/_shared/type/index.d.ts +22 -5
  510. package/lib/_shared/utils/dom.d.ts +1 -1
  511. package/lib/_shared/utils/dom.js +1 -1
  512. package/lib/_shared/utils/global-config.d.ts +4 -4
  513. package/lib/_shared/utils/vue-utils.d.ts +3 -3
  514. package/lib/index.d.ts +59 -59
  515. package/package.json +1 -1
  516. package/lib/_shared/components/IconButton/index.vue.js +0 -1
@@ -1,7 +1,7 @@
1
1
  import { Ref, Slots } from 'vue';
2
- import { CascaderEmits, CascaderValue, CascaderOption, CascaderOptionValue, CascaderOptionProps, ExpandTrigger, LoadMore } from '../type';
2
+ import { CascaderEmits, CascaderValue, CascaderOption, CascaderOptionValue, CascaderOptionProps, LoadMore } from '../type';
3
3
  import { InputInstance } from '../../Input';
4
- import { Props } from '../../_shared/type';
4
+ import { EventTrigger, RecordType } from '../../_shared/type';
5
5
  type CascaderContext = {
6
6
  computedValue: Ref<CascaderValue>;
7
7
  computedInputValue: Ref<string>;
@@ -14,7 +14,7 @@ type CascaderContext = {
14
14
  pathMode: Ref<boolean>;
15
15
  multiple: Ref<boolean>;
16
16
  loading: Ref<boolean>;
17
- expandTrigger: Ref<ExpandTrigger>;
17
+ expandTrigger: Ref<EventTrigger>;
18
18
  expandChild: Ref<boolean>;
19
19
  slots: Slots;
20
20
  blur: () => void;
@@ -28,25 +28,13 @@ export declare const findOptions: (options: CascaderOptionProps[], level: number
28
28
  export declare function findOptionByValueAndLevel(options: CascaderOption[], value: CascaderOptionValue, level: number, currentLevel?: number): CascaderOption | undefined;
29
29
  export declare const getLeafNodes: (nodes: CascaderOptionProps[]) => CascaderOptionProps[];
30
30
  declare const _default: () => {
31
- provide: (props: Props, emits: CascaderEmits, inputRef: Ref<InputInstance | undefined>) => {
31
+ provide: (props: RecordType, emits: CascaderEmits, inputRef: Ref<InputInstance | undefined>) => {
32
32
  computedValue: import('vue').WritableComputedRef<CascaderValue, CascaderValue>;
33
33
  computedInputValue: import('vue').WritableComputedRef<string, string>;
34
34
  computedVisible: import('vue').WritableComputedRef<boolean, boolean>;
35
35
  options: import('vue').ComputedRef<CascaderOptionProps[]>;
36
36
  optionMap: import('vue').ComputedRef<any>;
37
- selectOptions: import('vue').ComputedRef<({
38
- id: string | undefined;
39
- label: string;
40
- level?: number;
41
- index?: number;
42
- nodePath?: CascaderOptionProps[];
43
- value?: CascaderOptionValue;
44
- render?: import('vue').RenderFunction;
45
- disabled?: boolean;
46
- tagProps?: import('../..').TagProps;
47
- children?: CascaderOption[];
48
- isLeaf?: boolean;
49
- } | null)[]>;
37
+ selectOptions: import('vue').ComputedRef<RecordType[]>;
50
38
  curLevel: Ref<number, number>;
51
39
  curPath: Ref<number[], number[]>;
52
40
  multiple: Ref<boolean, boolean>;
@@ -38,24 +38,24 @@ declare const Cascader: {
38
38
  modelValue: import('./type').CascaderValue;
39
39
  defaultValue: import('./type').CascaderValue;
40
40
  allowClear: boolean;
41
+ formatLabel: import('..').Format<import('./type').CascaderOption[]>;
41
42
  options: import('./type').CascaderOption[];
42
- formatLabel: (options: import('./type').CascaderOption[]) => string;
43
43
  inputValue: string;
44
44
  defaultInputValue: string;
45
45
  fieldNames: Record<string, string>;
46
46
  allowSearch: boolean;
47
47
  valueKey: string;
48
48
  maxTagCount: number;
49
- filterOption: (inputValue: string, option: import('./type').CascaderOption) => boolean;
49
+ filterOption: import('..').FilterOption<import('./type').CascaderOption>;
50
50
  triggerProps: import('..').TriggerProps;
51
51
  searchDelay: number;
52
52
  tagNowrap: boolean;
53
53
  pathMode: boolean;
54
- expandTrigger: import('./type').ExpandTrigger;
54
+ expandTrigger: import('..').EventTrigger;
55
55
  expandChild: boolean;
56
56
  searchOptionOnlyLabel: boolean;
57
57
  loadMore: import('./type').LoadMore;
58
- fallback: import('./type').FallBack;
58
+ fallback: boolean | import('..').FallBack<import('./type').CascaderOptionValue | import('./type').CascaderOptionValue[], string>;
59
59
  }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
60
60
  inputRef: ({
61
61
  $: import('vue').ComponentInternalInstance;
@@ -73,7 +73,7 @@ declare const Cascader: {
73
73
  readonly wordLength?: import('..').WordLength | undefined;
74
74
  readonly wordSlice?: import('..').WordSlice | undefined;
75
75
  readonly showWordLimit?: boolean | undefined;
76
- readonly inputAttrs?: import('../_shared/type').ObjectData | undefined;
76
+ readonly inputAttrs?: import('..').RecordType | undefined;
77
77
  readonly isPassword?: boolean | undefined;
78
78
  readonly visibility?: boolean | undefined;
79
79
  readonly defaultVisibility?: boolean | undefined;
@@ -145,7 +145,7 @@ declare const Cascader: {
145
145
  readonly: boolean;
146
146
  wordLength: import('..').WordLength;
147
147
  wordSlice: import('..').WordSlice;
148
- inputAttrs: import('../_shared/type').ObjectData;
148
+ inputAttrs: import('..').RecordType;
149
149
  isPassword: boolean;
150
150
  visibility: boolean;
151
151
  defaultVisibility: boolean;
@@ -184,7 +184,7 @@ declare const Cascader: {
184
184
  readonly: boolean;
185
185
  wordLength: import('..').WordLength;
186
186
  wordSlice: import('..').WordSlice;
187
- inputAttrs: import('../_shared/type').ObjectData;
187
+ inputAttrs: import('..').RecordType;
188
188
  isPassword: boolean;
189
189
  visibility: boolean;
190
190
  defaultVisibility: boolean;
@@ -239,24 +239,24 @@ declare const Cascader: {
239
239
  modelValue: import('./type').CascaderValue;
240
240
  defaultValue: import('./type').CascaderValue;
241
241
  allowClear: boolean;
242
+ formatLabel: import('..').Format<import('./type').CascaderOption[]>;
242
243
  options: import('./type').CascaderOption[];
243
- formatLabel: (options: import('./type').CascaderOption[]) => string;
244
244
  inputValue: string;
245
245
  defaultInputValue: string;
246
246
  fieldNames: Record<string, string>;
247
247
  allowSearch: boolean;
248
248
  valueKey: string;
249
249
  maxTagCount: number;
250
- filterOption: (inputValue: string, option: import('./type').CascaderOption) => boolean;
250
+ filterOption: import('..').FilterOption<import('./type').CascaderOption>;
251
251
  triggerProps: import('..').TriggerProps;
252
252
  searchDelay: number;
253
253
  tagNowrap: boolean;
254
254
  pathMode: boolean;
255
- expandTrigger: import('./type').ExpandTrigger;
255
+ expandTrigger: import('..').EventTrigger;
256
256
  expandChild: boolean;
257
257
  searchOptionOnlyLabel: boolean;
258
258
  loadMore: import('./type').LoadMore;
259
- fallback: import('./type').FallBack;
259
+ fallback: boolean | import('..').FallBack<import('./type').CascaderOptionValue | import('./type').CascaderOptionValue[], string>;
260
260
  }>;
261
261
  __isFragment?: never;
262
262
  __isTeleport?: never;
@@ -296,43 +296,31 @@ declare const Cascader: {
296
296
  modelValue: import('./type').CascaderValue;
297
297
  defaultValue: import('./type').CascaderValue;
298
298
  allowClear: boolean;
299
+ formatLabel: import('..').Format<import('./type').CascaderOption[]>;
299
300
  options: import('./type').CascaderOption[];
300
- formatLabel: (options: import('./type').CascaderOption[]) => string;
301
301
  inputValue: string;
302
302
  defaultInputValue: string;
303
303
  fieldNames: Record<string, string>;
304
304
  allowSearch: boolean;
305
305
  valueKey: string;
306
306
  maxTagCount: number;
307
- filterOption: (inputValue: string, option: import('./type').CascaderOption) => boolean;
307
+ filterOption: import('..').FilterOption<import('./type').CascaderOption>;
308
308
  triggerProps: import('..').TriggerProps;
309
309
  searchDelay: number;
310
310
  tagNowrap: boolean;
311
311
  pathMode: boolean;
312
- expandTrigger: import('./type').ExpandTrigger;
312
+ expandTrigger: import('..').EventTrigger;
313
313
  expandChild: boolean;
314
314
  searchOptionOnlyLabel: boolean;
315
315
  loadMore: import('./type').LoadMore;
316
- fallback: import('./type').FallBack;
316
+ fallback: boolean | import('..').FallBack<import('./type').CascaderOptionValue | import('./type').CascaderOptionValue[], string>;
317
317
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
318
318
  $slots: {
319
319
  label?(_: {
320
- tag: import('../_shared/type').ObjectData;
320
+ tag: import('..').RecordType;
321
321
  }): any;
322
322
  label?(_: {
323
- data: {
324
- id: string | undefined;
325
- label: string;
326
- level?: number;
327
- index?: number;
328
- nodePath?: import('./type').CascaderOptionProps[];
329
- value?: import('./type').CascaderOptionValue;
330
- render?: import('vue').RenderFunction;
331
- disabled?: boolean;
332
- tagProps?: import('..').TagProps;
333
- children?: import('./type').CascaderOption[];
334
- isLeaf?: boolean;
335
- } | null;
323
+ data: import('..').RecordType;
336
324
  }): any;
337
325
  prefix?(_: {}): any;
338
326
  prefix?(_: {}): any;
@@ -1,5 +1,5 @@
1
1
  import { RenderFunction, VNode } from 'vue';
2
- import { PopupContainer, Size } from '../_shared/type';
2
+ import { PopupContainer, Size, FilterOption, EventTrigger, Format, FallBack } from '../_shared/type';
3
3
  import { TagProps } from '../Tag';
4
4
  import { TriggerProps } from '../Trigger';
5
5
  export interface CascaderProps {
@@ -17,12 +17,12 @@ export interface CascaderProps {
17
17
  defaultInputValue?: string;
18
18
  popupVisible?: boolean;
19
19
  defaultPopupVisible?: boolean;
20
- expandTrigger?: ExpandTrigger;
20
+ expandTrigger?: EventTrigger;
21
21
  placeholder?: string;
22
- filterOption?: (inputValue: string, option: CascaderOption) => boolean;
22
+ filterOption?: FilterOption<CascaderOption>;
23
23
  popupContainer?: PopupContainer;
24
24
  maxTagCount?: number;
25
- formatLabel?: (options: CascaderOption[]) => string;
25
+ formatLabel?: Format<CascaderOption[]>;
26
26
  triggerProps?: TriggerProps;
27
27
  loadMore?: LoadMore;
28
28
  loading?: boolean;
@@ -30,7 +30,7 @@ export interface CascaderProps {
30
30
  searchDelay?: number;
31
31
  fieldNames?: Record<string, string>;
32
32
  valueKey?: string;
33
- fallback?: FallBack;
33
+ fallback?: boolean | FallBack<CascaderOptionValue | CascaderOptionValue[], string>;
34
34
  expandChild?: boolean;
35
35
  tagNowrap?: boolean;
36
36
  }
@@ -75,6 +75,4 @@ export type CascaderOptionProps = {
75
75
  index?: number;
76
76
  nodePath?: CascaderOptionProps[];
77
77
  } & CascaderOption;
78
- export type ExpandTrigger = 'click' | 'hover';
79
78
  export type LoadMore = (option: CascaderOption, done: (children?: CascaderOption[]) => void) => void;
80
- export type FallBack = boolean | ((value: CascaderOptionValue | CascaderOptionValue[]) => string);
@@ -6,8 +6,8 @@ import "../_shared/utils/time.js";
6
6
  import "../_shared/utils/locale.js";
7
7
  import useControlValue from "../_shared/utils/control.js";
8
8
  import useContext from "./hooks/useContext.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 _sfc_main$2 from "../_shared/icons/IconCheckboxChecked.vue.js";
@@ -1,6 +1,6 @@
1
1
  import { Ref } from 'vue';
2
2
  import { CheckboxValue, CheckboxGroupEmits } from '../type';
3
- import { ObjectData, Props } from '../../_shared/type';
3
+ import { RecordType } from '../../_shared/type';
4
4
  type CheckboxContext = {
5
5
  computedValue: Ref<CheckboxValue[]>;
6
6
  max: Ref<number>;
@@ -8,8 +8,8 @@ type CheckboxContext = {
8
8
  hasGroup: Ref<boolean>;
9
9
  };
10
10
  declare const _default: () => {
11
- provide: (props: Props, emits: CheckboxGroupEmits) => {
12
- options: import('vue').ComputedRef<ObjectData[]>;
11
+ provide: (props: RecordType, emits: CheckboxGroupEmits) => {
12
+ options: import('vue').ComputedRef<RecordType[]>;
13
13
  };
14
14
  inject: () => CheckboxContext;
15
15
  };
@@ -1,5 +1,5 @@
1
- import { Direction, ObjectData } from '../_shared/type';
2
1
  import { VNode } from 'vue';
2
+ import { Direction, RecordType } from '../_shared/type';
3
3
  export interface CheckboxProps {
4
4
  modelValue?: boolean;
5
5
  defaultChecked?: boolean;
@@ -37,13 +37,13 @@ export interface CheckboxGroupSlots {
37
37
  disabled: boolean;
38
38
  }) => void;
39
39
  label?: (scope: {
40
- data: ObjectData;
40
+ data: RecordType;
41
41
  }) => void;
42
42
  }
43
+ export type CheckboxValue = string | number | boolean;
43
44
  export type CheckboxOption = (CheckboxValue | {
44
45
  label?: string;
45
46
  value: CheckboxValue;
46
47
  disabled?: boolean;
47
48
  indeterminate?: boolean;
48
49
  })[];
49
- export type CheckboxValue = string | number | boolean;
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, toRefs, createElementBlock, openBlock, normalizeClass, unref, createElementVNode, createVNode, createBlock, createCommentVNode, withCtx, renderSlot, resolveDynamicComponent, createTextVNode, toDisplayString, withDirectives, vShow } from "vue";
2
2
  import useContext from "./hooks/useContext.js";
3
- import _sfc_main$1 from "../_shared/components/IconButton/index.vue.js";
4
- /* empty css */
3
+ import _sfc_main$1 from "../_shared/components/IconButton/index.vue2.js";
4
+ /* empty css */
5
5
  import _sfc_main$3 from "../_shared/components/ExpandTransition/index.vue2.js";
6
6
  /* empty css */
7
7
  import "../node_modules/tinycolor2/esm/tinycolor.js";
@@ -1,6 +1,6 @@
1
1
  import { Ref, Slots } from 'vue';
2
2
  import { CollapseItemProps as _CollapseItemProps, CollapseProps as _CollapseProps, CollapseEmits, CollapseValue, ExpandIconPosition } from '../type';
3
- import { Props, RequiredDeep } from '../../_shared/type';
3
+ import { RecordType, Required } from '../../_shared/type';
4
4
  export declare const COLLAPSE_CONTEXT_KEY = "collapse-context";
5
5
  export type CollapseContext = {
6
6
  computedActiveKey: Ref<CollapseValue[]>;
@@ -10,11 +10,11 @@ export type CollapseContext = {
10
10
  destroyOnHide: Ref<boolean>;
11
11
  slots: Slots;
12
12
  };
13
- export type CollapseProps = RequiredDeep<_CollapseProps>;
14
- export type CollapseItemProps = RequiredDeep<_CollapseItemProps>;
13
+ export type CollapseProps = Required<_CollapseProps>;
14
+ export type CollapseItemProps = Required<_CollapseItemProps>;
15
15
  declare const _default: () => {
16
- provide: (props: Props, emits: CollapseEmits) => void;
17
- inject: (props: Props) => {
16
+ provide: (props: RecordType, emits: CollapseEmits) => void;
17
+ inject: (props: RecordType) => {
18
18
  showExpandIcon: import('vue').ComputedRef<boolean>;
19
19
  destroyOnHide: import('vue').ComputedRef<boolean>;
20
20
  computedActiveKey: Ref<CollapseValue[]>;
@@ -17,7 +17,7 @@ export interface CollapseSlots {
17
17
  'expand-icon': (scope: {
18
18
  active: boolean;
19
19
  disabled: boolean;
20
- position: 'left' | 'right';
20
+ position: ExpandIconPosition;
21
21
  }) => VNode[];
22
22
  }
23
23
  export interface CollapseItemProps {
@@ -34,7 +34,7 @@ export interface CollapseItemSlots {
34
34
  ['expand-icon']?: (scope: {
35
35
  active: boolean;
36
36
  disabled: boolean;
37
- position: 'left' | 'right';
37
+ position: ExpandIconPosition;
38
38
  }) => VNode[];
39
39
  }
40
40
  export type CollapseValue = string | number;
@@ -1,6 +1,6 @@
1
1
  import { Ref } from 'vue';
2
2
  import { ColorPickerEmits, ColorFormat } from '../type';
3
- import { Props } from '../../_shared/type';
3
+ import { RecordType } from '../../_shared/type';
4
4
  type ColorPickerContext = {
5
5
  popupVisible: Ref<boolean>;
6
6
  computedColor: Ref<string>;
@@ -17,7 +17,7 @@ type ColorPickerContext = {
17
17
  emits: ColorPickerEmits;
18
18
  };
19
19
  declare const _default: () => {
20
- provide: (props: Props, emits: ColorPickerEmits) => {
20
+ provide: (props: RecordType, emits: ColorPickerEmits) => {
21
21
  popupVisible: Ref<boolean, boolean>;
22
22
  size: import('vue').ComputedRef<any>;
23
23
  computedColor: import('vue').WritableComputedRef<string, string>;
@@ -7,7 +7,7 @@ declare const ConfigProvider: {
7
7
  size: import('..').Size;
8
8
  popupContainer: import('..').PopupContainer;
9
9
  zIndex: number;
10
- locale: import('../_shared/type').ObjectData;
10
+ locale: import('..').RecordType;
11
11
  }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
12
12
  P: {};
13
13
  B: {};
@@ -19,7 +19,7 @@ declare const ConfigProvider: {
19
19
  size: import('..').Size;
20
20
  popupContainer: import('..').PopupContainer;
21
21
  zIndex: number;
22
- locale: import('../_shared/type').ObjectData;
22
+ locale: import('..').RecordType;
23
23
  }>;
24
24
  __isFragment?: never;
25
25
  __isTeleport?: never;
@@ -28,7 +28,7 @@ declare const ConfigProvider: {
28
28
  size: import('..').Size;
29
29
  popupContainer: import('..').PopupContainer;
30
30
  zIndex: number;
31
- locale: import('../_shared/type').ObjectData;
31
+ locale: import('..').RecordType;
32
32
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
33
33
  $slots: Readonly<import('./type').ConfigconfigSlots> & import('./type').ConfigconfigSlots;
34
34
  }) & {
@@ -10,7 +10,7 @@ declare const __VLS_component: import('vue').DefineComponent<ConfigProviderProps
10
10
  size: import('..').Size;
11
11
  popupContainer: import('..').PopupContainer;
12
12
  zIndex: number;
13
- locale: import('../_shared/type').ObjectData;
13
+ locale: import('..').RecordType;
14
14
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
15
15
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
16
16
  export default _default;
@@ -1,7 +1,7 @@
1
- import { Size, PopupContainer, ObjectData } from '../_shared/type';
1
+ import { Size, PopupContainer, RecordType } from '../_shared/type';
2
2
  import { VNode } from 'vue';
3
3
  export interface ConfigProviderProps {
4
- locale?: ObjectData;
4
+ locale?: RecordType;
5
5
  zIndex?: number;
6
6
  size?: Size;
7
7
  popupContainer?: PopupContainer;
@@ -9,4 +9,3 @@ export interface ConfigProviderProps {
9
9
  export interface ConfigconfigSlots {
10
10
  default?: () => VNode[];
11
11
  }
12
- export type YcLang = 'ar-EG' | 'de-DE' | 'en-US' | 'es-ES' | 'fr-FR' | 'id-ID' | 'it-it' | 'ja-JP' | 'km-KH' | 'ko-KR' | 'ms-MY' | 'nl-NL' | 'pt-PT' | 'ru-RU' | 'th-TH' | 'vi-VN' | 'zh-CN' | 'zh-TW';
@@ -1,6 +1,6 @@
1
1
  import { Ref, CSSProperties, Slots } from 'vue';
2
2
  import { DescriptionsAlign, DescData } from '../type';
3
- import { Props, Size } from '../../_shared/type';
3
+ import { RecordType, Size } from '../../_shared/type';
4
4
  type DescriptionsContext = {
5
5
  labelStyle: Ref<CSSProperties>;
6
6
  valueStyle: Ref<CSSProperties>;
@@ -10,7 +10,7 @@ type DescriptionsContext = {
10
10
  slots: Slots;
11
11
  };
12
12
  declare const _default: () => {
13
- provide: (props: Props) => {
13
+ provide: (props: RecordType) => {
14
14
  data: import('vue').ComputedRef<DescData[]>;
15
15
  size: import('vue').ComputedRef<any>;
16
16
  column: import('vue').ComputedRef<number>;
@@ -1,6 +1,5 @@
1
- import { RenderContent, Size } from '../_shared/type';
2
- import { ResponsiveValue } from '../Grid';
3
1
  import { CSSProperties, VNode } from 'vue';
2
+ import { RenderContent, Size, ResponsiveValue } from '../_shared/type';
4
3
  export interface DescriptionsProps {
5
4
  data?: DescData[];
6
5
  column?: DescriptionsColumn;
@@ -6,8 +6,8 @@ import { getGlobalConfig } from "../_shared/utils/global-config.js";
6
6
  import { useI18n } from "../_shared/utils/locale.js";
7
7
  import useModalClose from "../Modal/hooks/useModalClose.js";
8
8
  import Button from "../Button/index.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
  const _hoisted_1 = {
@@ -6,7 +6,7 @@ declare const _default: import('vue').DefineComponent<DrawerServiceProps, {}, {}
6
6
  height: number | string;
7
7
  footer: boolean;
8
8
  header: boolean;
9
- title: string & import('../_shared/type').RenderContent;
9
+ title: string & import('..').RenderContent;
10
10
  mask: boolean;
11
11
  closable: boolean;
12
12
  maskClosable: boolean;
@@ -15,7 +15,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
15
15
  },
16
16
  __name: "Doption",
17
17
  props: {
18
- value: { type: [String, Number, Boolean, Object] },
18
+ value: { type: [String, Number, Boolean] },
19
19
  disabled: { type: Boolean, default: false },
20
20
  isSubmenu: { type: Boolean, default: false },
21
21
  isActive: { type: Boolean, default: false }
@@ -26,7 +26,7 @@ declare const __VLS_component: import('vue').DefineComponent<DropdownProps, {
26
26
  popupContainer: import('..').PopupContainer;
27
27
  triggerProps: import('../Trigger').TriggerProps;
28
28
  hideOnSelect: boolean;
29
- popupMaxHeight: number | boolean;
29
+ popupMaxHeight: import('..').PopupMaxHeight;
30
30
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
31
31
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
32
32
  export default _default;
@@ -29,7 +29,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
29
29
  triggerProps: { default: () => {
30
30
  return {};
31
31
  } },
32
- popupMaxHeight: { type: [Number, Boolean], default: 200 }
32
+ popupMaxHeight: { type: [Boolean, Number], default: 200 }
33
33
  },
34
34
  emits: ["update:popupVisible", "popup-visible-change", "select"],
35
35
  setup(__props, { expose: __expose, emit: __emit }) {
@@ -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$3 from "../_shared/icons/IconMore.vue.js";
@@ -11,7 +11,7 @@ declare function __VLS_template(): {
11
11
  readonly popupVisible?: boolean | undefined;
12
12
  readonly defaultPopupVisible?: boolean | undefined;
13
13
  readonly trigger?: import('../Trigger').TriggerType | undefined;
14
- readonly position?: import('../Trigger').TriggerPostion | undefined;
14
+ readonly position?: import('..').PopupPosition | undefined;
15
15
  readonly disabled?: boolean | undefined;
16
16
  readonly popupOffset?: number | undefined;
17
17
  readonly popupTranslate?: number[] | undefined;
@@ -21,9 +21,9 @@ declare function __VLS_template(): {
21
21
  readonly clickToClose?: boolean | undefined;
22
22
  readonly clickOutsideToClose?: boolean | undefined;
23
23
  readonly unmountOnClose?: boolean | undefined;
24
- readonly contentClass?: import('../_shared/type').ClassName | undefined;
24
+ readonly contentClass?: import('..').ClassName | undefined;
25
25
  readonly contentStyle?: import('vue').CSSProperties | undefined;
26
- readonly arrowClass?: import('../_shared/type').ClassName | undefined;
26
+ readonly arrowClass?: import('..').ClassName | undefined;
27
27
  readonly arrowStyle?: import('vue').CSSProperties | undefined;
28
28
  readonly animationName?: string | undefined;
29
29
  readonly duration?: number | undefined;
@@ -157,14 +157,14 @@ declare function __VLS_template(): {
157
157
  scrollToClose: boolean;
158
158
  autoSetPosition: boolean;
159
159
  alignPoint: boolean;
160
- position: import('../Trigger').TriggerPostion;
160
+ position: import('..').PopupPosition;
161
161
  popupOffset: number;
162
162
  popupTranslate: number[];
163
163
  showArrow: boolean;
164
164
  unmountOnClose: boolean;
165
- contentClass: import('../_shared/type').ClassName;
165
+ contentClass: import('..').ClassName;
166
166
  contentStyle: import('vue').CSSProperties;
167
- arrowClass: import('../_shared/type').ClassName;
167
+ arrowClass: import('..').ClassName;
168
168
  arrowStyle: import('vue').CSSProperties;
169
169
  animationName: string;
170
170
  duration: number;
@@ -211,14 +211,14 @@ declare function __VLS_template(): {
211
211
  scrollToClose: boolean;
212
212
  autoSetPosition: boolean;
213
213
  alignPoint: boolean;
214
- position: import('../Trigger').TriggerPostion;
214
+ position: import('..').PopupPosition;
215
215
  popupOffset: number;
216
216
  popupTranslate: number[];
217
217
  showArrow: boolean;
218
218
  unmountOnClose: boolean;
219
- contentClass: import('../_shared/type').ClassName;
219
+ contentClass: import('..').ClassName;
220
220
  contentStyle: import('vue').CSSProperties;
221
- arrowClass: import('../_shared/type').ClassName;
221
+ arrowClass: import('..').ClassName;
222
222
  arrowStyle: import('vue').CSSProperties;
223
223
  animationName: string;
224
224
  duration: number;
@@ -317,13 +317,13 @@ declare const __VLS_component: import('vue').DefineComponent<DsubmenuProps, {
317
317
  "onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
318
318
  "onPopup-visible-change"?: ((value: boolean) => any) | undefined;
319
319
  }>, {
320
- trigger: import('./type').DsubmenuTrigger;
320
+ trigger: import('..').EventTrigger;
321
321
  popupVisible: boolean;
322
322
  defaultPopupVisible: boolean;
323
323
  disabled: boolean;
324
324
  position: import('./type').DsubmenuPosition;
325
325
  triggerProps: import('../Trigger').TriggerProps;
326
- popupMaxHeight: number;
326
+ popupMaxHeight: import('..').PopupMaxHeight;
327
327
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
328
328
  triggerRef: ({
329
329
  $: import('vue').ComponentInternalInstance;
@@ -332,7 +332,7 @@ declare const __VLS_component: import('vue').DefineComponent<DsubmenuProps, {
332
332
  readonly popupVisible?: boolean | undefined;
333
333
  readonly defaultPopupVisible?: boolean | undefined;
334
334
  readonly trigger?: import('../Trigger').TriggerType | undefined;
335
- readonly position?: import('../Trigger').TriggerPostion | undefined;
335
+ readonly position?: import('..').PopupPosition | undefined;
336
336
  readonly disabled?: boolean | undefined;
337
337
  readonly popupOffset?: number | undefined;
338
338
  readonly popupTranslate?: number[] | undefined;
@@ -342,9 +342,9 @@ declare const __VLS_component: import('vue').DefineComponent<DsubmenuProps, {
342
342
  readonly clickToClose?: boolean | undefined;
343
343
  readonly clickOutsideToClose?: boolean | undefined;
344
344
  readonly unmountOnClose?: boolean | undefined;
345
- readonly contentClass?: import('../_shared/type').ClassName | undefined;
345
+ readonly contentClass?: import('..').ClassName | undefined;
346
346
  readonly contentStyle?: import('vue').CSSProperties | undefined;
347
- readonly arrowClass?: import('../_shared/type').ClassName | undefined;
347
+ readonly arrowClass?: import('..').ClassName | undefined;
348
348
  readonly arrowStyle?: import('vue').CSSProperties | undefined;
349
349
  readonly animationName?: string | undefined;
350
350
  readonly duration?: number | undefined;
@@ -478,14 +478,14 @@ declare const __VLS_component: import('vue').DefineComponent<DsubmenuProps, {
478
478
  scrollToClose: boolean;
479
479
  autoSetPosition: boolean;
480
480
  alignPoint: boolean;
481
- position: import('../Trigger').TriggerPostion;
481
+ position: import('..').PopupPosition;
482
482
  popupOffset: number;
483
483
  popupTranslate: number[];
484
484
  showArrow: boolean;
485
485
  unmountOnClose: boolean;
486
- contentClass: import('../_shared/type').ClassName;
486
+ contentClass: import('..').ClassName;
487
487
  contentStyle: import('vue').CSSProperties;
488
- arrowClass: import('../_shared/type').ClassName;
488
+ arrowClass: import('..').ClassName;
489
489
  arrowStyle: import('vue').CSSProperties;
490
490
  animationName: string;
491
491
  duration: number;
@@ -532,14 +532,14 @@ declare const __VLS_component: import('vue').DefineComponent<DsubmenuProps, {
532
532
  scrollToClose: boolean;
533
533
  autoSetPosition: boolean;
534
534
  alignPoint: boolean;
535
- position: import('../Trigger').TriggerPostion;
535
+ position: import('..').PopupPosition;
536
536
  popupOffset: number;
537
537
  popupTranslate: number[];
538
538
  showArrow: boolean;
539
539
  unmountOnClose: boolean;
540
- contentClass: import('../_shared/type').ClassName;
540
+ contentClass: import('..').ClassName;
541
541
  contentStyle: import('vue').CSSProperties;
542
- arrowClass: import('../_shared/type').ClassName;
542
+ arrowClass: import('..').ClassName;
543
543
  arrowStyle: import('vue').CSSProperties;
544
544
  animationName: string;
545
545
  duration: number;
@@ -6,7 +6,7 @@ import { isBoolean, isUndefined } from "../_shared/utils/is.js";
6
6
  import "../_shared/utils/time.js";
7
7
  import "../_shared/utils/locale.js";
8
8
  import useControlValue from "../_shared/utils/control.js";
9
- /* empty css */
9
+ /* empty css */
10
10
  /* empty css */
11
11
  /* empty css */
12
12
  import _sfc_main$2 from "../_shared/icons/IconArrowRight.vue.js";
@@ -35,7 +35,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
35
35
  triggerProps: { default: () => {
36
36
  return {};
37
37
  } },
38
- popupMaxHeight: { default: 200 }
38
+ popupMaxHeight: { type: [Boolean, Number], default: 200 }
39
39
  },
40
40
  emits: ["update:popupVisible", "popup-visible-change"],
41
41
  setup(__props, { expose: __expose, emit: __emit }) {