yc-design-vue 1.9.5 → 1.9.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 (373) hide show
  1. package/es/Alert/index.vue.js +4 -4
  2. package/es/AutoComplete/index.d.ts +3 -3
  3. package/es/AutoComplete/index.vue.d.ts +6 -6
  4. package/es/Avatar/Avatar.vue.js +3 -1
  5. package/es/BackTop/index.vue.js +3 -1
  6. package/es/Breadcrumb/BreadcrumbItem.vue.js +3 -1
  7. package/es/Breadcrumb/BreadcrumbMore.vue.js +3 -1
  8. package/es/Breadcrumb/BreadcrumbSeparator.vue.js +3 -1
  9. package/es/Calendar/Calendar.vue.js +4 -4
  10. package/es/Carousel/CarouselArrow.vue.js +3 -1
  11. package/es/Cascader/CascaderIcon.vue.js +4 -4
  12. package/es/Cascader/CascaderOption.vue.d.ts +2 -2
  13. package/es/Cascader/CascaderOption.vue.js +3 -1
  14. package/es/Checkbox/Checkbox.vue.js +4 -4
  15. package/es/Collapse/CollapseItem.vue.js +5 -5
  16. package/es/ConfigProvider/index.d.ts +0 -6
  17. package/es/ConfigProvider/index.vue.d.ts +0 -2
  18. package/es/ConfigProvider/index.vue.js +3 -8
  19. package/es/ConfigProvider/type.d.ts +0 -2
  20. package/es/Drawer/Drawer.vue.js +6 -7
  21. package/es/Dropdown/Doption.vue.js +0 -3
  22. package/es/Dropdown/Dropdown.vue.js +1 -3
  23. package/es/Dropdown/DropdownButton.vue.js +3 -1
  24. package/es/Dropdown/Dsubmenu.vue.d.ts +6 -6
  25. package/es/Dropdown/Dsubmenu.vue.js +10 -11
  26. package/es/Dropdown/index.css +1 -1
  27. package/es/Dropdown/index.d.ts +3 -3
  28. package/es/Empty/index.vue.js +3 -1
  29. package/es/Image/Image.vue.js +3 -1
  30. package/es/Image/ImagePreview.vue.js +6 -5
  31. package/es/Image/ImagePreviewArrow.vue.js +3 -1
  32. package/es/Image/ImagePreviewToolbar.vue.js +3 -1
  33. package/es/Input/Input.vue.js +4 -4
  34. package/es/Input/InputSuffix.vue.js +5 -5
  35. package/es/InputNumber/InputOperaBtn.vue.js +3 -1
  36. package/es/InputTag/index.vue.js +4 -4
  37. package/es/Layout/LayoutSider.vue.js +3 -1
  38. package/es/Layout/index.css +1 -1
  39. package/es/Link/index.vue.js +3 -1
  40. package/es/List/List.vue.d.ts +1 -1
  41. package/es/List/index.d.ts +3 -3
  42. package/es/Mention/index.d.ts +6 -6
  43. package/es/Mention/index.vue.d.ts +7 -7
  44. package/es/Menu/Menu.vue.js +3 -1
  45. package/es/Menu/MenuEllipsis.vue.js +5 -2
  46. package/es/Menu/MenuItem.vue.js +2 -1
  47. package/es/Menu/SubMenu.vue.js +3 -3
  48. package/es/Menu/hooks/useContext.js +2 -4
  49. package/es/Menu/index.css +1 -1
  50. package/es/Message/Message.vue.js +3 -3
  51. package/es/Modal/Modal.vue.js +6 -7
  52. package/es/Notification/Notification.vue.js +3 -3
  53. package/es/PageHeader/index.vue.js +4 -4
  54. package/es/Pagination/PaginationItem.vue.js +3 -1
  55. package/es/Popconfirm/index.d.ts +3 -3
  56. package/es/Popconfirm/index.vue.d.ts +6 -6
  57. package/es/Progress/ProgressCircle.vue.js +3 -1
  58. package/es/Radio/Radio.vue.js +3 -3
  59. package/es/Rate/index.vue.js +3 -1
  60. package/es/ResizeBox/index.vue.js +3 -1
  61. package/es/Select/Select.vue.d.ts +6 -6
  62. package/es/Select/SelectIcon.vue.js +4 -4
  63. package/es/Select/index.d.ts +3 -3
  64. package/es/Spin/index.vue.js +3 -1
  65. package/es/Split/index.vue.js +3 -1
  66. package/es/Statistic/Statistic.vue.d.ts +1 -1
  67. package/es/Statistic/index.d.ts +3 -3
  68. package/es/Steps/Step.vue.js +3 -1
  69. package/es/Tabs/TabButton.vue.js +4 -4
  70. package/es/Tabs/Tabs.vue.js +3 -1
  71. package/es/Tag/index.vue.js +3 -3
  72. package/es/Textarea/index.vue.js +5 -5
  73. package/es/TimePicker/TimePicker.vue.js +3 -3
  74. package/es/Transfer/Transfer.vue.d.ts +2 -2
  75. package/es/Transfer/Transfer.vue.js +3 -1
  76. package/es/Transfer/TransferPanel.vue.js +4 -4
  77. package/es/Transfer/index.d.ts +5 -5
  78. package/es/Trigger/hooks/useTriggerPosition.js +2 -1
  79. package/es/Trigger/hooks/useTriggerVisible.js +1 -2
  80. package/es/Trigger/index.css +1 -1
  81. package/es/Trigger/index.d.ts +3 -3
  82. package/es/Trigger/index.vue.d.ts +1 -1
  83. package/es/Trigger/index.vue.js +8 -9
  84. package/es/Typography/TypographyBase.vue.js +3 -1
  85. package/es/Watermark/index.d.ts +3 -3
  86. package/es/Watermark/index.vue.d.ts +1 -1
  87. package/es/_shared/components/{ExpandTransition.vue2.js → ExpandTransition/index.vue2.js} +5 -5
  88. package/es/_shared/components/ExpandTransition/index.vue3.js +5 -0
  89. package/es/_shared/components/Icon/index.vue2.js +5 -0
  90. package/es/_shared/components/{Icon.vue3.js → Icon/index.vue3.js} +5 -5
  91. package/es/_shared/components/{IconButton.vue.js → IconButton/index.vue2.js} +9 -7
  92. package/es/_shared/components/IconButton/index.vue3.js +5 -0
  93. package/es/_shared/components/{PreventFocus.vue.js → PreventFocus/index.vue.js} +1 -1
  94. package/es/_shared/components/PreventFocus/index.vue2.js +4 -0
  95. package/es/_shared/components/index.d.ts +4 -4
  96. package/es/_shared/constants/index.js +3 -1
  97. package/es/_shared/icons/IconArrowDown.vue.js +10 -4
  98. package/es/_shared/icons/IconArrowRight.vue.js +10 -4
  99. package/es/_shared/icons/IconCheck.vue.js +10 -4
  100. package/es/_shared/icons/IconCheckboxChecked.vue.js +10 -4
  101. package/es/_shared/icons/IconClose.vue.js +10 -4
  102. package/es/_shared/icons/IconCopy.vue2.js +10 -4
  103. package/es/_shared/icons/IconDelete.vue2.js +10 -4
  104. package/es/_shared/icons/IconDragDot.vue.js +10 -4
  105. package/es/_shared/icons/IconEdit.vue2.js +10 -4
  106. package/es/_shared/icons/IconEmpty.vue.js +10 -4
  107. package/es/_shared/icons/IconError.vue.js +10 -4
  108. package/es/_shared/icons/IconExclamation.vue2.js +10 -4
  109. package/es/_shared/icons/IconEyeClose.vue2.js +10 -4
  110. package/es/_shared/icons/IconEyeOpen.vue2.js +10 -4
  111. package/es/_shared/icons/IconFaceSmile.vue.js +10 -4
  112. package/es/_shared/icons/IconFullScreen.vue2.js +10 -4
  113. package/es/_shared/icons/IconImageClose.vue.js +10 -4
  114. package/es/_shared/icons/IconInfo.vue.js +10 -4
  115. package/es/_shared/icons/IconInfoLine.vue.js +10 -4
  116. package/es/_shared/icons/IconLink.vue.js +10 -4
  117. package/es/_shared/icons/IconLoading.vue.js +10 -4
  118. package/es/_shared/icons/IconMenuFold.vue.js +10 -4
  119. package/es/_shared/icons/IconMenuUnfold.vue.js +10 -4
  120. package/es/_shared/icons/IconMinus.vue2.js +10 -4
  121. package/es/_shared/icons/IconMore.vue.js +10 -4
  122. package/es/_shared/icons/IconOriginSize.vue2.js +10 -4
  123. package/es/_shared/icons/IconPlus.vue.js +10 -4
  124. package/es/_shared/icons/IconRight.vue.js +10 -4
  125. package/es/_shared/icons/IconRotateLeft.vue2.js +10 -4
  126. package/es/_shared/icons/IconRotateRight.vue2.js +10 -4
  127. package/es/_shared/icons/IconSearch.vue2.js +10 -4
  128. package/es/_shared/icons/IconSeparator.vue2.js +10 -4
  129. package/es/_shared/icons/IconStar.vue.js +10 -4
  130. package/es/_shared/icons/IconSuccess.vue.js +10 -4
  131. package/es/_shared/icons/IconTime.vue.js +10 -4
  132. package/es/_shared/icons/IconToTop.vue.js +10 -4
  133. package/es/_shared/icons/IconWarning.vue.js +10 -4
  134. package/es/_shared/icons/IconZoomIn.vue2.js +10 -4
  135. package/es/_shared/icons/IconZoomOut.vue2.js +10 -4
  136. package/es/_shared/utils/global-config.d.ts +1 -6
  137. package/es/_shared/utils/global-config.js +7 -10
  138. package/es/_shared/utils/locale.js +1 -1
  139. package/es/index.d.ts +3 -3
  140. package/es/shared.css +1 -1
  141. package/es/style.css +1 -1
  142. package/lib/Alert/index.js +1 -1
  143. package/lib/Alert/index.vue.js +1 -1
  144. package/lib/Alert/index.vue3.js +1 -1
  145. package/lib/AutoComplete/index.d.ts +3 -3
  146. package/lib/AutoComplete/index.js +1 -1
  147. package/lib/AutoComplete/index.vue.d.ts +6 -6
  148. package/lib/AutoComplete/index.vue3.js +1 -1
  149. package/lib/Avatar/Avatar.vue.js +1 -1
  150. package/lib/BackTop/index.js +1 -1
  151. package/lib/BackTop/index.vue.js +1 -1
  152. package/lib/BackTop/index.vue3.js +1 -1
  153. package/lib/Badge/index.js +1 -1
  154. package/lib/Badge/index.vue3.js +1 -1
  155. package/lib/Breadcrumb/BreadcrumbItem.vue.js +1 -1
  156. package/lib/Breadcrumb/BreadcrumbMore.vue.js +1 -1
  157. package/lib/Breadcrumb/BreadcrumbSeparator.vue.js +1 -1
  158. package/lib/Calendar/Calendar.vue.js +1 -1
  159. package/lib/Carousel/CarouselArrow.vue.js +1 -1
  160. package/lib/Cascader/Cascader.vue.js +1 -1
  161. package/lib/Cascader/CascaderIcon.vue.js +1 -1
  162. package/lib/Cascader/CascaderIcon.vue3.js +1 -1
  163. package/lib/Cascader/CascaderOption.vue.d.ts +2 -2
  164. package/lib/Cascader/CascaderOption.vue.js +1 -1
  165. package/lib/Checkbox/Checkbox.vue.js +1 -1
  166. package/lib/Collapse/CollapseItem.vue.js +1 -1
  167. package/lib/Comment/index.js +1 -1
  168. package/lib/Comment/index.vue3.js +1 -1
  169. package/lib/ConfigProvider/index.d.ts +0 -6
  170. package/lib/ConfigProvider/index.vue.d.ts +0 -2
  171. package/lib/ConfigProvider/index.vue.js +1 -1
  172. package/lib/ConfigProvider/type.d.ts +0 -2
  173. package/lib/Divider/index.js +1 -1
  174. package/lib/Divider/index.vue3.js +1 -1
  175. package/lib/Drawer/Drawer.vue.js +1 -1
  176. package/lib/Dropdown/Doption.vue.js +1 -1
  177. package/lib/Dropdown/Dropdown.vue.js +1 -1
  178. package/lib/Dropdown/DropdownButton.vue.js +1 -1
  179. package/lib/Dropdown/Dsubmenu.vue.d.ts +6 -6
  180. package/lib/Dropdown/Dsubmenu.vue.js +1 -1
  181. package/lib/Dropdown/index.css +1 -1
  182. package/lib/Dropdown/index.d.ts +3 -3
  183. package/lib/Empty/index.js +1 -1
  184. package/lib/Empty/index.vue.js +1 -1
  185. package/lib/Empty/index.vue3.js +1 -1
  186. package/lib/Image/Image.vue.js +1 -1
  187. package/lib/Image/ImagePreview.vue.js +1 -1
  188. package/lib/Image/ImagePreviewArrow.vue.js +1 -1
  189. package/lib/Image/ImagePreviewToolbar.vue.js +1 -1
  190. package/lib/Input/Input.vue.js +1 -1
  191. package/lib/Input/InputSuffix.vue.js +1 -1
  192. package/lib/InputNumber/InputOperaBtn.vue.js +1 -1
  193. package/lib/InputTag/index.js +1 -1
  194. package/lib/InputTag/index.vue.js +1 -1
  195. package/lib/InputTag/index.vue3.js +1 -1
  196. package/lib/Layout/LayoutSider.vue.js +1 -1
  197. package/lib/Layout/index.css +1 -1
  198. package/lib/Link/index.js +1 -1
  199. package/lib/Link/index.vue.js +1 -1
  200. package/lib/Link/index.vue3.js +1 -1
  201. package/lib/List/List.vue.d.ts +1 -1
  202. package/lib/List/index.d.ts +3 -3
  203. package/lib/Mention/index.d.ts +6 -6
  204. package/lib/Mention/index.vue.d.ts +7 -7
  205. package/lib/Menu/Menu.vue.js +1 -1
  206. package/lib/Menu/MenuEllipsis.vue.js +1 -1
  207. package/lib/Menu/MenuItem.vue.js +1 -1
  208. package/lib/Menu/SubMenu.vue.js +1 -1
  209. package/lib/Menu/hooks/useContext.js +1 -1
  210. package/lib/Menu/index.css +1 -1
  211. package/lib/Message/Message.vue.js +1 -1
  212. package/lib/Modal/Modal.vue.js +1 -1
  213. package/lib/Notification/Notification.vue.js +1 -1
  214. package/lib/OverflowList/index.js +1 -1
  215. package/lib/OverflowList/index.vue3.js +1 -1
  216. package/lib/PageHeader/index.js +1 -1
  217. package/lib/PageHeader/index.vue.js +1 -1
  218. package/lib/PageHeader/index.vue3.js +1 -1
  219. package/lib/Pagination/PaginationItem.vue.js +1 -1
  220. package/lib/Popconfirm/index.d.ts +3 -3
  221. package/lib/Popconfirm/index.js +1 -1
  222. package/lib/Popconfirm/index.vue.d.ts +6 -6
  223. package/lib/Popconfirm/index.vue3.js +1 -1
  224. package/lib/Popover/index.js +1 -1
  225. package/lib/Popover/index.vue3.js +1 -1
  226. package/lib/Progress/ProgressCircle.vue.js +1 -1
  227. package/lib/Radio/Radio.vue.js +1 -1
  228. package/lib/Rate/index.js +1 -1
  229. package/lib/Rate/index.vue.js +1 -1
  230. package/lib/Rate/index.vue3.js +1 -1
  231. package/lib/ResizeBox/index.js +1 -1
  232. package/lib/ResizeBox/index.vue.js +1 -1
  233. package/lib/ResizeBox/index.vue3.js +1 -1
  234. package/lib/Result/index.js +1 -1
  235. package/lib/Result/index.vue3.js +1 -1
  236. package/lib/Select/Select.vue.d.ts +6 -6
  237. package/lib/Select/Select.vue.js +1 -1
  238. package/lib/Select/SelectIcon.vue.js +1 -1
  239. package/lib/Select/SelectIcon.vue3.js +1 -1
  240. package/lib/Select/index.d.ts +3 -3
  241. package/lib/Space/index.js +1 -1
  242. package/lib/Space/index.vue3.js +1 -1
  243. package/lib/Spin/index.js +1 -1
  244. package/lib/Spin/index.vue.js +1 -1
  245. package/lib/Spin/index.vue3.js +1 -1
  246. package/lib/Split/index.js +1 -1
  247. package/lib/Split/index.vue.js +1 -1
  248. package/lib/Split/index.vue3.js +1 -1
  249. package/lib/Statistic/Statistic.vue.d.ts +1 -1
  250. package/lib/Statistic/index.d.ts +3 -3
  251. package/lib/Steps/Step.vue.js +1 -1
  252. package/lib/Switch/index.js +1 -1
  253. package/lib/Switch/index.vue3.js +1 -1
  254. package/lib/Tabs/TabButton.vue.js +1 -1
  255. package/lib/Tabs/Tabs.vue.js +1 -1
  256. package/lib/Tag/index.js +1 -1
  257. package/lib/Tag/index.vue.js +1 -1
  258. package/lib/Tag/index.vue3.js +1 -1
  259. package/lib/Textarea/index.js +1 -1
  260. package/lib/Textarea/index.vue.js +1 -1
  261. package/lib/Textarea/index.vue3.js +1 -1
  262. package/lib/TimePicker/TimePicker.vue.js +1 -1
  263. package/lib/Tooltip/index.js +1 -1
  264. package/lib/Tooltip/index.vue3.js +1 -1
  265. package/lib/Transfer/Transfer.vue.d.ts +2 -2
  266. package/lib/Transfer/Transfer.vue.js +1 -1
  267. package/lib/Transfer/TransferPanel.vue.js +1 -1
  268. package/lib/Transfer/index.d.ts +5 -5
  269. package/lib/Trigger/hooks/useTriggerPosition.js +1 -1
  270. package/lib/Trigger/hooks/useTriggerVisible.js +1 -1
  271. package/lib/Trigger/index.css +1 -1
  272. package/lib/Trigger/index.d.ts +3 -3
  273. package/lib/Trigger/index.js +1 -1
  274. package/lib/Trigger/index.vue.d.ts +1 -1
  275. package/lib/Trigger/index.vue.js +1 -1
  276. package/lib/Trigger/index.vue3.js +1 -1
  277. package/lib/Typography/TypographyBase.vue.js +1 -1
  278. package/lib/VerificationCode/index.js +1 -1
  279. package/lib/VerificationCode/index.vue3.js +1 -1
  280. package/lib/Watermark/index.d.ts +3 -3
  281. package/lib/Watermark/index.js +1 -1
  282. package/lib/Watermark/index.vue.d.ts +1 -1
  283. package/lib/Watermark/index.vue3.js +1 -1
  284. package/lib/_shared/components/ExpandTransition/index.vue2.js +1 -0
  285. package/lib/_shared/components/ExpandTransition/index.vue3.js +1 -0
  286. package/lib/_shared/components/Icon/index.vue2.js +1 -0
  287. package/lib/_shared/components/Icon/index.vue3.js +1 -0
  288. package/lib/_shared/components/IconButton/index.vue2.js +1 -0
  289. package/lib/_shared/components/IconButton/index.vue3.js +1 -0
  290. package/lib/_shared/components/PreventFocus/index.vue.js +1 -0
  291. package/lib/_shared/components/PreventFocus/index.vue2.js +1 -0
  292. package/lib/_shared/components/index.d.ts +4 -4
  293. package/lib/_shared/constants/index.js +1 -1
  294. package/lib/_shared/icons/IconArrowDown.vue.js +1 -1
  295. package/lib/_shared/icons/IconArrowRight.vue.js +1 -1
  296. package/lib/_shared/icons/IconCheck.vue.js +1 -1
  297. package/lib/_shared/icons/IconCheckboxChecked.vue.js +1 -1
  298. package/lib/_shared/icons/IconClose.vue.js +1 -1
  299. package/lib/_shared/icons/IconCopy.vue2.js +1 -1
  300. package/lib/_shared/icons/IconDelete.vue2.js +1 -1
  301. package/lib/_shared/icons/IconDragDot.vue.js +1 -1
  302. package/lib/_shared/icons/IconEdit.vue2.js +1 -1
  303. package/lib/_shared/icons/IconEmpty.vue.js +1 -1
  304. package/lib/_shared/icons/IconError.vue.js +1 -1
  305. package/lib/_shared/icons/IconExclamation.vue2.js +1 -1
  306. package/lib/_shared/icons/IconEyeClose.vue2.js +1 -1
  307. package/lib/_shared/icons/IconEyeOpen.vue2.js +1 -1
  308. package/lib/_shared/icons/IconFaceSmile.vue.js +1 -1
  309. package/lib/_shared/icons/IconFullScreen.vue2.js +1 -1
  310. package/lib/_shared/icons/IconImageClose.vue.js +1 -1
  311. package/lib/_shared/icons/IconInfo.vue.js +1 -1
  312. package/lib/_shared/icons/IconInfoLine.vue.js +1 -1
  313. package/lib/_shared/icons/IconLink.vue.js +1 -1
  314. package/lib/_shared/icons/IconLoading.vue.js +1 -1
  315. package/lib/_shared/icons/IconMenuFold.vue.js +1 -1
  316. package/lib/_shared/icons/IconMenuUnfold.vue.js +1 -1
  317. package/lib/_shared/icons/IconMinus.vue2.js +1 -1
  318. package/lib/_shared/icons/IconMore.vue.js +1 -1
  319. package/lib/_shared/icons/IconOriginSize.vue2.js +1 -1
  320. package/lib/_shared/icons/IconPlus.vue.js +1 -1
  321. package/lib/_shared/icons/IconRight.vue.js +1 -1
  322. package/lib/_shared/icons/IconRotateLeft.vue2.js +1 -1
  323. package/lib/_shared/icons/IconRotateRight.vue2.js +1 -1
  324. package/lib/_shared/icons/IconSearch.vue2.js +1 -1
  325. package/lib/_shared/icons/IconSeparator.vue2.js +1 -1
  326. package/lib/_shared/icons/IconStar.vue.js +1 -1
  327. package/lib/_shared/icons/IconSuccess.vue.js +1 -1
  328. package/lib/_shared/icons/IconTime.vue.js +1 -1
  329. package/lib/_shared/icons/IconToTop.vue.js +1 -1
  330. package/lib/_shared/icons/IconWarning.vue.js +1 -1
  331. package/lib/_shared/icons/IconZoomIn.vue2.js +1 -1
  332. package/lib/_shared/icons/IconZoomOut.vue2.js +1 -1
  333. package/lib/_shared/utils/global-config.d.ts +1 -6
  334. package/lib/_shared/utils/global-config.js +1 -1
  335. package/lib/_shared/utils/locale.js +1 -1
  336. package/lib/index.d.ts +3 -3
  337. package/lib/shared.css +1 -1
  338. package/lib/style.css +1 -1
  339. package/package.json +1 -1
  340. package/es/Drawer/index.css +0 -1
  341. package/es/Layout/hooks/useTheme.d.ts +0 -4
  342. package/es/Layout/hooks/useTheme.js +0 -33
  343. package/es/Message/index.css +0 -1
  344. package/es/Modal/index.css +0 -1
  345. package/es/Notification/index.css +0 -1
  346. package/es/_shared/components/ExpandTransition.vue3.js +0 -5
  347. package/es/_shared/components/Icon.vue2.js +0 -5
  348. package/es/_shared/components/IconButton.vue3.js +0 -5
  349. package/es/_shared/components/PreventFocus.vue2.js +0 -4
  350. package/lib/Drawer/index.css +0 -1
  351. package/lib/Layout/hooks/useTheme.d.ts +0 -4
  352. package/lib/Layout/hooks/useTheme.js +0 -1
  353. package/lib/Message/index.css +0 -1
  354. package/lib/Modal/index.css +0 -1
  355. package/lib/Notification/index.css +0 -1
  356. package/lib/_shared/components/ExpandTransition.vue2.js +0 -1
  357. package/lib/_shared/components/ExpandTransition.vue3.js +0 -1
  358. package/lib/_shared/components/Icon.vue2.js +0 -1
  359. package/lib/_shared/components/Icon.vue3.js +0 -1
  360. package/lib/_shared/components/IconButton.vue.js +0 -1
  361. package/lib/_shared/components/IconButton.vue3.js +0 -1
  362. package/lib/_shared/components/PreventFocus.vue.js +0 -1
  363. package/lib/_shared/components/PreventFocus.vue2.js +0 -1
  364. /package/es/_shared/components/{ExpandTransition.vue.d.ts → ExpandTransition/index.vue.d.ts} +0 -0
  365. /package/es/_shared/components/{Icon.vue.d.ts → Icon/index.vue.d.ts} +0 -0
  366. /package/es/_shared/components/{IconButton.vue.d.ts → IconButton/index.vue.d.ts} +0 -0
  367. /package/es/_shared/components/{PreventFocus.vue.d.ts → PreventFocus/index.vue.d.ts} +0 -0
  368. /package/es/{public → src/lang}/lang-es/zh-cn.js +0 -0
  369. /package/lib/_shared/components/{ExpandTransition.vue.d.ts → ExpandTransition/index.vue.d.ts} +0 -0
  370. /package/lib/_shared/components/{Icon.vue.d.ts → Icon/index.vue.d.ts} +0 -0
  371. /package/lib/_shared/components/{IconButton.vue.d.ts → IconButton/index.vue.d.ts} +0 -0
  372. /package/lib/_shared/components/{PreventFocus.vue.d.ts → PreventFocus/index.vue.d.ts} +0 -0
  373. /package/lib/{public → src/lang}/lang-es/zh-cn.js +0 -0
@@ -6,16 +6,18 @@ 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
+ /* empty css */
11
+ /* empty css */
10
12
  import _sfc_main$2 from "../_shared/icons/IconArrowRight.vue.js";
11
- import useMenuContext from "../Menu/hooks/useContext.js";
12
13
  import "./index.js";
13
14
  import Trigger from "../Trigger/index.js";
14
15
  import Scrollbar from "../Scrollbar/index.js";
15
16
  import _sfc_main$1 from "./Doption.vue.js";
16
17
  /* empty css */
17
- const _hoisted_1 = { class: "yc-dropdown-list" };
18
- const _hoisted_2 = {
18
+ const _hoisted_1 = { class: "yc-dropdown" };
19
+ const _hoisted_2 = { class: "yc-dropdown-list" };
20
+ const _hoisted_3 = {
19
21
  key: 0,
20
22
  class: "yc-dropdown-footer"
21
23
  };
@@ -46,7 +48,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
46
48
  position: _position,
47
49
  popupMaxHeight: _popupMaxHeight
48
50
  } = toRefs(props);
49
- const { theme } = useMenuContext().inject();
50
51
  const computedVisible = useControlValue(
51
52
  popupVisible,
52
53
  defaultPopupVisible.value,
@@ -108,25 +109,23 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
108
109
  ref: triggerRef
109
110
  }, _ctx.triggerProps), {
110
111
  content: withCtx(() => [
111
- createElementVNode("div", {
112
- class: normalizeClass(["yc-dropdown", `yc-dropdown-theme-${unref(theme)}`])
113
- }, [
112
+ createElementVNode("div", _hoisted_1, [
114
113
  createVNode(unref(Scrollbar), {
115
114
  style: normalizeStyle({
116
115
  maxHeight: popupMaxHeight.value
117
116
  })
118
117
  }, {
119
118
  default: withCtx(() => [
120
- createElementVNode("div", _hoisted_1, [
119
+ createElementVNode("div", _hoisted_2, [
121
120
  renderSlot(_ctx.$slots, "content")
122
121
  ])
123
122
  ]),
124
123
  _: 3
125
124
  }, 8, ["style"]),
126
- _ctx.$slots.footer ? (openBlock(), createElementBlock("div", _hoisted_2, [
125
+ _ctx.$slots.footer ? (openBlock(), createElementBlock("div", _hoisted_3, [
127
126
  renderSlot(_ctx.$slots, "footer")
128
127
  ])) : createCommentVNode("", true)
129
- ], 2)
128
+ ])
130
129
  ]),
131
130
  default: withCtx(() => [
132
131
  createVNode(unref(_sfc_main$1), {
@@ -1 +1 @@
1
- .yc-dropdown{padding:4px 0;border-radius:4px;box-shadow:0 4px 10px #0000001a}.yc-dropdown .yc-dropdown-list{display:flex;flex-direction:column}.yc-dropdown .yc-dropdown-footer{border-top:1px solid #e5e6eb}.yc-dropdown-light .yc-trigger-content .yc-dropdown{background-color:#fff;border:1px solid #e5e6eb}.yc-dropdown-light .yc-trigger-arrow{background-color:#fff;border:1px solid #e5e6eb}.yc-dropdown-dark .yc-trigger-content .yc-dropdown{background-color:#232324;border:1px solid #232324}.yc-dropdown-dark .yc-trigger-arrow{background-color:#232324;border:1px solid #232324}.yc-dropdown-option{position:relative;z-index:1;padding:0 12px;line-height:36px;font-size:14px;text-align:left;display:flex;align-items:center;transition:all .1s cubic-bezier(0, 0, 1, 1)}.yc-dropdown-option.yc-dropdown-option-disabled{cursor:not-allowed}.yc-dropdown-option .yc-dropdown-option-icon,.yc-dropdown-option .yc-dropdown-option-content,.yc-dropdown-option .yc-dropdown-option-suffix{flex-shrink:0;display:flex;align-items:center}.yc-dropdown-option .yc-dropdown-option-icon{margin-right:8px;color:inherit}.yc-dropdown-option .yc-dropdown-option-suffix{color:inherit;margin-left:12px}.yc-dropdown-option .yc-dropdown-option-content{flex:1;overflow:hidden}.yc-dropdown-option-theme-light{color:#1d2129}.yc-dropdown-option-theme-light:not(.yc-dropdown-option-disabled):hover{background-color:#f2f3f5}.yc-dropdown-option-theme-light.yc-dropdown-option-active{color:#165dff;background-color:#f2f3f5}.yc-dropdown-option-theme-light.yc-dropdown-optiond-disabled{color:#c9cdd4;background:transparent;cursor:not-allowed}.yc-dropdown-option-theme-dark{color:#c9cdd4}.yc-dropdown-option-theme-dark:not(.yc-dropdown-option-disabled):hover{background-color:rgba(255,255,255,0.04)}.yc-dropdown-option-theme-dark.yc-dropdown-option-active{color:#fff;background-color:rgba(255,255,255,0.04)}.yc-dropdown-option-theme-dark.yc-dropdown-optiond-disabled{color:#4e5969;background:transparent;cursor:not-allowed}.yc-dropdown-group-title{margin-top:8px;padding:0 12px;color:var(--color-text-3);font-size:12px;line-height:20px}
1
+ .yc-dropdown-popup .yc-dropdown{padding:4px 0;background-color:var(--color-bg-popup);border:1px solid var(--color-fill-3);border-radius:4px;box-shadow:0 4px 10px #0000001a}.yc-dropdown-popup .yc-dropdown .yc-dropdown-list{display:flex;flex-direction:column}.yc-dropdown-popup .yc-dropdown .yc-dropdown-footer{border-top:1px solid var(--color-fill-3)}.yc-dropdown-popup .yc-trigger-arrow{z-index:0;background-color:var(--color-bg-popup);border:1px solid var(--color-neutral-3)}.yc-dropdown-option{position:relative;z-index:1;padding:0 12px;line-height:36px;font-size:14px;color:var(--color-text-1);text-align:left;display:flex;align-items:center;transition:all .1s cubic-bezier(0, 0, 1, 1)}.yc-dropdown-option:not(.yc-dropdown-option-disabled).yc-dropdown-option-active,.yc-dropdown-option:not(.yc-dropdown-option-disabled):hover{background-color:var(--color-fill-2)}.yc-dropdown-option.yc-dropdown-option-disabled{cursor:not-allowed;background-color:transparent;color:var(--color-text-4)}.yc-dropdown-option .yc-dropdown-option-icon,.yc-dropdown-option .yc-dropdown-option-content,.yc-dropdown-option .yc-dropdown-option-suffix{flex-shrink:0;display:flex;align-items:center}.yc-dropdown-option .yc-dropdown-option-icon{margin-right:8px;color:inherit}.yc-dropdown-option .yc-dropdown-option-suffix{color:inherit;margin-left:12px}.yc-dropdown-option .yc-dropdown-option-content{flex:1;overflow:hidden}.yc-dropdown-group-title{margin-top:8px;padding:0 12px;color:var(--color-text-3);font-size:12px;line-height:20px}
@@ -373,6 +373,7 @@ declare const Dropdown: {
373
373
  focusDelay: number;
374
374
  disabled: boolean;
375
375
  scrollToCloseDistance: number;
376
+ scrollToClose: boolean;
376
377
  autoSetPosition: boolean;
377
378
  alignPoint: boolean;
378
379
  position: import('..').TriggerPostion;
@@ -393,7 +394,6 @@ declare const Dropdown: {
393
394
  autoFitPosition: boolean;
394
395
  updateAtScroll: boolean;
395
396
  preventFocus: boolean;
396
- scrollToClose: boolean;
397
397
  needTransformOrigin: boolean;
398
398
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
399
399
  beforeCreate?: (() => void) | (() => void)[];
@@ -427,6 +427,7 @@ declare const Dropdown: {
427
427
  focusDelay: number;
428
428
  disabled: boolean;
429
429
  scrollToCloseDistance: number;
430
+ scrollToClose: boolean;
430
431
  autoSetPosition: boolean;
431
432
  alignPoint: boolean;
432
433
  position: import('..').TriggerPostion;
@@ -447,14 +448,13 @@ declare const Dropdown: {
447
448
  autoFitPosition: boolean;
448
449
  updateAtScroll: boolean;
449
450
  preventFocus: boolean;
450
- scrollToClose: boolean;
451
451
  needTransformOrigin: boolean;
452
452
  }> & Omit<Readonly<import('..').TriggerProps> & Readonly<{
453
453
  "onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
454
454
  "onPopup-visible-change"?: ((value: boolean) => any) | undefined;
455
455
  onShow?: (() => any) | undefined;
456
456
  onHide?: (() => any) | undefined;
457
- }>, "show" | "hide" | ("trigger" | "mouseEnterDelay" | "popupVisible" | "defaultPopupVisible" | "clickToClose" | "blurToClose" | "clickOutsideToClose" | "mouseLeaveDelay" | "focusDelay" | "disabled" | "scrollToCloseDistance" | "autoSetPosition" | "alignPoint" | "position" | "popupOffset" | "popupTranslate" | "showArrow" | "unmountOnClose" | "contentClass" | "contentStyle" | "arrowClass" | "arrowStyle" | "animationName" | "duration" | "autoFitPopupWidth" | "autoFitPopupMinWidth" | "popupContainer" | "renderToBody" | "autoFitPosition" | "updateAtScroll" | "preventFocus" | "scrollToClose" | "needTransformOrigin") | "updatePosition"> & import('vue').ShallowUnwrapRef<{
457
+ }>, "show" | "hide" | ("trigger" | "mouseEnterDelay" | "popupVisible" | "defaultPopupVisible" | "clickToClose" | "blurToClose" | "clickOutsideToClose" | "mouseLeaveDelay" | "focusDelay" | "disabled" | "scrollToCloseDistance" | "scrollToClose" | "autoSetPosition" | "alignPoint" | "position" | "popupOffset" | "popupTranslate" | "showArrow" | "unmountOnClose" | "contentClass" | "contentStyle" | "arrowClass" | "arrowStyle" | "animationName" | "duration" | "autoFitPopupWidth" | "autoFitPopupMinWidth" | "popupContainer" | "renderToBody" | "autoFitPosition" | "updateAtScroll" | "preventFocus" | "needTransformOrigin") | "updatePosition"> & import('vue').ShallowUnwrapRef<{
458
458
  hide(): void;
459
459
  show(): void;
460
460
  updatePosition(x: number, y: number): void;
@@ -3,7 +3,9 @@ import "../node_modules/tinycolor2/esm/tinycolor.js";
3
3
  import "../_shared/utils/dom.js";
4
4
  import "../_shared/utils/time.js";
5
5
  import { useI18n } from "../_shared/utils/locale.js";
6
- /* empty css */
6
+ /* empty css */
7
+ /* empty css */
8
+ /* empty css */
7
9
  import _sfc_main$1 from "../_shared/icons/IconEmpty.vue.js";
8
10
  const _hoisted_1 = { class: "yc-empty" };
9
11
  const _hoisted_2 = { class: "yc-empty-image" };
@@ -4,7 +4,9 @@ import { valueToPx } from "../_shared/utils/dom.js";
4
4
  import "../_shared/utils/time.js";
5
5
  import { useI18n } from "../_shared/utils/locale.js";
6
6
  import useControlValue from "../_shared/utils/control.js";
7
- /* empty css */
7
+ /* empty css */
8
+ /* empty css */
9
+ /* empty css */
8
10
  import _sfc_main$2 from "../_shared/icons/IconImageClose.vue.js";
9
11
  import useContext from "./hooks/useContext.js";
10
12
  import Spin from "../Spin/index.js";
@@ -5,7 +5,9 @@ import "../_shared/utils/time.js";
5
5
  import { getGlobalConfig } from "../_shared/utils/global-config.js";
6
6
  import "../_shared/utils/locale.js";
7
7
  import useControlValue from "../_shared/utils/control.js";
8
- /* empty css */
8
+ /* empty css */
9
+ /* empty css */
10
+ /* empty css */
9
11
  import _sfc_main$2 from "../_shared/icons/IconClose.vue.js";
10
12
  import { useEventListener, onKeyStroke } from "../node_modules/@vueuse/core/index.js";
11
13
  import useModalClose from "../Modal/hooks/useModalClose.js";
@@ -52,10 +54,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
52
54
  defaultScale,
53
55
  zoomRate,
54
56
  wheelZoom,
55
- keyboard,
56
- popupContainer: _popupContainer
57
+ keyboard
57
58
  } = toRefs(props);
58
- const { zIndex, popupContainer } = getGlobalConfig(props);
59
+ const { zIndex, popupContainer, isAbsolute } = getGlobalConfig(props);
59
60
  const imageRef = ref();
60
61
  const scale = useControlValue(ref(), defaultScale.value);
61
62
  const rotate = ref(0);
@@ -137,7 +138,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
137
138
  "yc-image-preview",
138
139
  _ctx.$attrs.class,
139
140
  {
140
- "yc-image-preview-absolute": unref(_popupContainer)
141
+ "yc-image-preview-absolute": unref(isAbsolute)
141
142
  }
142
143
  ]),
143
144
  style: normalizeStyle({
@@ -3,7 +3,9 @@ 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
+ /* empty css */
8
+ /* empty css */
7
9
  import _sfc_main$1 from "../_shared/icons/IconArrowRight.vue.js";
8
10
  const _sfc_main = /* @__PURE__ */ defineComponent({
9
11
  __name: "ImagePreviewArrow",
@@ -3,7 +3,9 @@ import "../node_modules/tinycolor2/esm/tinycolor.js";
3
3
  import "../_shared/utils/dom.js";
4
4
  import "../_shared/utils/time.js";
5
5
  import { useI18n } from "../_shared/utils/locale.js";
6
- /* empty css */
6
+ /* empty css */
7
+ /* empty css */
8
+ /* empty css */
7
9
  import _sfc_main$6 from "../_shared/icons/IconFullScreen.vue2.js";
8
10
  import _sfc_main$1 from "../_shared/icons/IconOriginSize.vue2.js";
9
11
  import _sfc_main$4 from "../_shared/icons/IconRotateLeft.vue2.js";
@@ -6,11 +6,11 @@ import { getGlobalConfig } from "../_shared/utils/global-config.js";
6
6
  import "../_shared/utils/locale.js";
7
7
  import useControlValue from "../_shared/utils/control.js";
8
8
  import useLimitedInput from "./hooks/useLimitedInput.js";
9
- import _sfc_main$2 from "../_shared/components/IconButton.vue.js";
10
- /* empty css */
11
- import _sfc_main$1 from "../_shared/components/PreventFocus.vue.js";
9
+ import _sfc_main$2 from "../_shared/components/IconButton/index.vue2.js";
12
10
  /* empty css */
13
- /* empty css */
11
+ import _sfc_main$1 from "../_shared/components/PreventFocus/index.vue.js";
12
+ /* empty css */
13
+ /* empty css */
14
14
  import _sfc_main$3 from "./InputSuffix.vue.js";
15
15
  /* empty css */
16
16
  const _hoisted_1 = ["value", "type", "disabled", "readonly", "placeholder"];
@@ -1,15 +1,15 @@
1
1
  import { defineComponent, createBlock, openBlock, unref, withCtx, createElementBlock, createCommentVNode, renderSlot, toDisplayString } from "vue";
2
+ import _sfc_main$2 from "../_shared/components/IconButton/index.vue2.js";
3
+ /* empty css */
4
+ import _sfc_main$1 from "../_shared/components/PreventFocus/index.vue.js";
2
5
  import "../node_modules/tinycolor2/esm/tinycolor.js";
3
6
  import "../_shared/utils/dom.js";
4
7
  import "../_shared/utils/time.js";
5
8
  import "../_shared/utils/locale.js";
6
- /* empty css */
9
+ /* empty css */
10
+ /* empty css */
7
11
  import _sfc_main$4 from "../_shared/icons/IconEyeClose.vue2.js";
8
12
  import _sfc_main$3 from "../_shared/icons/IconEyeOpen.vue2.js";
9
- import _sfc_main$2 from "../_shared/components/IconButton.vue.js";
10
- /* empty css */
11
- import _sfc_main$1 from "../_shared/components/PreventFocus.vue.js";
12
- /* empty css */
13
13
  const _hoisted_1 = {
14
14
  key: 0,
15
15
  class: "yc-input-word-limit"
@@ -4,7 +4,9 @@ import "../node_modules/tinycolor2/esm/tinycolor.js";
4
4
  import "../_shared/utils/dom.js";
5
5
  import "../_shared/utils/time.js";
6
6
  import "../_shared/utils/locale.js";
7
- /* empty css */
7
+ /* empty css */
8
+ /* empty css */
9
+ /* empty css */
8
10
  import _sfc_main$2 from "../_shared/icons/IconMinus.vue2.js";
9
11
  import _sfc_main$3 from "../_shared/icons/IconPlus.vue.js";
10
12
  import Button from "../Button/index.js";
@@ -9,11 +9,11 @@ import { getGlobalConfig } from "../_shared/utils/global-config.js";
9
9
  import "../_shared/utils/locale.js";
10
10
  import useControlValue from "../_shared/utils/control.js";
11
11
  import Tag from "../Tag/index.js";
12
- import _sfc_main$2 from "../_shared/components/IconButton.vue.js";
13
- /* empty css */
14
- import _sfc_main$1 from "../_shared/components/PreventFocus.vue.js";
12
+ import _sfc_main$2 from "../_shared/components/IconButton/index.vue2.js";
15
13
  /* empty css */
16
- /* empty css */
14
+ import _sfc_main$1 from "../_shared/components/PreventFocus/index.vue.js";
15
+ /* empty css */
16
+ /* empty css */
17
17
  const _hoisted_1 = ["disabled", "readonly", "placeholder"];
18
18
  const _sfc_main = /* @__PURE__ */ defineComponent({
19
19
  ...{
@@ -3,7 +3,9 @@ import "../node_modules/tinycolor2/esm/tinycolor.js";
3
3
  import { mediaQueryHandler, valueToPx } from "../_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
+ /* empty css */
8
+ /* empty css */
7
9
  import _sfc_main$1 from "../_shared/icons/IconArrowRight.vue.js";
8
10
  import useSiderContext from "./hooks/useSiderContext.js";
9
11
  import ResizeBox from "../ResizeBox/index.js";
@@ -1 +1 @@
1
- .yc-layout{flex:1;width:100%;height:100%;display:flex;flex-direction:column}.yc-layout-has-sider{flex-direction:row}.yc-layout,.yc-layout-header,.yc-layout-footer,.yc-layout-sider,.yc-layout-content{flex-shrink:0}.yc-layout-header,.yc-layout-footer{width:100%}.yc-layout-sider{height:100%}.yc-layout-content{flex:1}.yc-layout-sider{position:relative;flex:none;margin:0;padding:0;transition:width .2s cubic-bezier(.34, .69, .1, 1)}body[yc-design-theme='dark'] .yc-layout-sider{background-color:#232324}.yc-layout-sider .yc-layout-sider-children{height:100%;overflow:auto}.yc-layout-sider .yc-layout-sider-trigger{position:absolute;left:0;bottom:0;cursor:pointer;height:48px;width:100%;display:flex;justify-content:center;align-items:center}.yc-layout-sider-has-trigger{padding-bottom:48px}.yc-layout-sider-translation{transition:width .2s cubic-bezier(.34, .69, .1, 1)}.yc-layout-sider-light{background-color:#fff;box-shadow:0 2px 5px 0 rgba(0,0,0,0.08)}.yc-layout-sider-light .yc-layout-sider-trigger{border-top:1px solid var(--color-bg-5);color:var(--color-text-1)}.yc-layout-sider-dark{background-color:#232324}.yc-layout-sider-dark .yc-layout-sider-trigger{background-color:rgba(255,255,255,0.2);color:var(--color-white)}
1
+ .yc-layout{flex:1;width:100%;height:100%;display:flex;flex-direction:column}.yc-layout-has-sider{flex-direction:row}.yc-layout,.yc-layout-header,.yc-layout-footer,.yc-layout-sider,.yc-layout-content{flex-shrink:0}.yc-layout-header,.yc-layout-footer{width:100%}.yc-layout-sider{height:100%}.yc-layout-content{flex:1}.yc-layout-sider{position:relative;flex:none;margin:0;padding:0;transition:width .2s cubic-bezier(.34, .69, .1, 1)}.yc-layout-sider .yc-layout-sider-children{height:100%;overflow:auto}.yc-layout-sider .yc-layout-sider-trigger{position:absolute;left:0;bottom:0;cursor:pointer;height:48px;width:100%;display:flex;justify-content:center;align-items:center}.yc-layout-sider-has-trigger{padding-bottom:48px}.yc-layout-sider-translation{transition:width .2s cubic-bezier(.34, .69, .1, 1)}.yc-layout-sider-light{background-color:var(--color-menu-light-bg);box-shadow:0 2px 5px 0 rgba(0,0,0,0.08)}.yc-layout-sider-light .yc-layout-sider-trigger{background-color:unset;border-top:1px solid var(--color-bg-5);color:var(--color-text-1)}.yc-layout-sider-dark{background-color:var(--color-menu-dark-bg);box-shadow:none}.yc-layout-sider-dark .yc-layout-sider-trigger{background-color:rgba(255,255,255,0.2);border-top:none;color:var(--color-white)}
@@ -3,7 +3,9 @@ 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
+ /* empty css */
8
+ /* empty css */
7
9
  import _sfc_main$1 from "../_shared/icons/IconLink.vue.js";
8
10
  import Spin from "../Spin/index.js";
9
11
  const _hoisted_1 = ["href"];
@@ -151,9 +151,9 @@ declare const __VLS_component: import('vue').DefineComponent<ListProps, {}, {},
151
151
  }>, {
152
152
  size: import('./type').ListSize;
153
153
  scrollbar: boolean;
154
- split: boolean;
155
154
  data: import('../_shared/type').ObjectData[];
156
155
  hoverable: boolean;
156
+ split: boolean;
157
157
  loading: boolean;
158
158
  bordered: boolean;
159
159
  virtualListProps: import('..').VirtualListProps;
@@ -20,9 +20,9 @@ declare const List: {
20
20
  }, import('vue').PublicProps, {
21
21
  size: import('./type').ListSize;
22
22
  scrollbar: boolean;
23
- split: boolean;
24
23
  data: import('../_shared/type').ObjectData[];
25
24
  hoverable: boolean;
25
+ split: boolean;
26
26
  loading: boolean;
27
27
  bordered: boolean;
28
28
  virtualListProps: import('..').VirtualListProps;
@@ -176,9 +176,9 @@ declare const List: {
176
176
  }>, {}, {}, {}, {}, {
177
177
  size: import('./type').ListSize;
178
178
  scrollbar: boolean;
179
- split: boolean;
180
179
  data: import('../_shared/type').ObjectData[];
181
180
  hoverable: boolean;
181
+ split: boolean;
182
182
  loading: boolean;
183
183
  bordered: boolean;
184
184
  virtualListProps: import('..').VirtualListProps;
@@ -202,9 +202,9 @@ declare const List: {
202
202
  }, string, {
203
203
  size: import('./type').ListSize;
204
204
  scrollbar: boolean;
205
- split: boolean;
206
205
  data: import('../_shared/type').ObjectData[];
207
206
  hoverable: boolean;
207
+ split: boolean;
208
208
  loading: boolean;
209
209
  bordered: boolean;
210
210
  virtualListProps: import('..').VirtualListProps;
@@ -26,9 +26,9 @@ declare const Mention: {
26
26
  "update:modelValue": (value: string) => any;
27
27
  }, import('vue').PublicProps, {
28
28
  disabled: boolean;
29
- split: string;
30
29
  type: "input" | "textarea";
31
30
  data: import('..').SelectOptions;
31
+ split: string;
32
32
  modelValue: string;
33
33
  defaultValue: string;
34
34
  allowClear: boolean;
@@ -279,6 +279,7 @@ declare const Mention: {
279
279
  focusDelay: number;
280
280
  disabled: boolean;
281
281
  scrollToCloseDistance: number;
282
+ scrollToClose: boolean;
282
283
  autoSetPosition: boolean;
283
284
  alignPoint: boolean;
284
285
  position: import('..').TriggerPostion;
@@ -299,7 +300,6 @@ declare const Mention: {
299
300
  autoFitPosition: boolean;
300
301
  updateAtScroll: boolean;
301
302
  preventFocus: boolean;
302
- scrollToClose: boolean;
303
303
  needTransformOrigin: boolean;
304
304
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
305
305
  beforeCreate?: (() => void) | (() => void)[];
@@ -333,6 +333,7 @@ declare const Mention: {
333
333
  focusDelay: number;
334
334
  disabled: boolean;
335
335
  scrollToCloseDistance: number;
336
+ scrollToClose: boolean;
336
337
  autoSetPosition: boolean;
337
338
  alignPoint: boolean;
338
339
  position: import('..').TriggerPostion;
@@ -353,14 +354,13 @@ declare const Mention: {
353
354
  autoFitPosition: boolean;
354
355
  updateAtScroll: boolean;
355
356
  preventFocus: boolean;
356
- scrollToClose: boolean;
357
357
  needTransformOrigin: boolean;
358
358
  }> & Omit<Readonly<import('..').TriggerProps> & Readonly<{
359
359
  "onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
360
360
  "onPopup-visible-change"?: ((value: boolean) => any) | undefined;
361
361
  onShow?: (() => any) | undefined;
362
362
  onHide?: (() => any) | undefined;
363
- }>, "show" | "hide" | ("trigger" | "mouseEnterDelay" | "popupVisible" | "defaultPopupVisible" | "clickToClose" | "blurToClose" | "clickOutsideToClose" | "mouseLeaveDelay" | "focusDelay" | "disabled" | "scrollToCloseDistance" | "autoSetPosition" | "alignPoint" | "position" | "popupOffset" | "popupTranslate" | "showArrow" | "unmountOnClose" | "contentClass" | "contentStyle" | "arrowClass" | "arrowStyle" | "animationName" | "duration" | "autoFitPopupWidth" | "autoFitPopupMinWidth" | "popupContainer" | "renderToBody" | "autoFitPosition" | "updateAtScroll" | "preventFocus" | "scrollToClose" | "needTransformOrigin") | "updatePosition"> & import('vue').ShallowUnwrapRef<{
363
+ }>, "show" | "hide" | ("trigger" | "mouseEnterDelay" | "popupVisible" | "defaultPopupVisible" | "clickToClose" | "blurToClose" | "clickOutsideToClose" | "mouseLeaveDelay" | "focusDelay" | "disabled" | "scrollToCloseDistance" | "scrollToClose" | "autoSetPosition" | "alignPoint" | "position" | "popupOffset" | "popupTranslate" | "showArrow" | "unmountOnClose" | "contentClass" | "contentStyle" | "arrowClass" | "arrowStyle" | "animationName" | "duration" | "autoFitPopupWidth" | "autoFitPopupMinWidth" | "popupContainer" | "renderToBody" | "autoFitPosition" | "updateAtScroll" | "preventFocus" | "needTransformOrigin") | "updatePosition"> & import('vue').ShallowUnwrapRef<{
364
364
  hide(): void;
365
365
  show(): void;
366
366
  updatePosition(x: number, y: number): void;
@@ -858,9 +858,9 @@ declare const Mention: {
858
858
  blur(): void;
859
859
  }, {}, {}, {}, {
860
860
  disabled: boolean;
861
- split: string;
862
861
  type: "input" | "textarea";
863
862
  data: import('..').SelectOptions;
863
+ split: string;
864
864
  modelValue: string;
865
865
  defaultValue: string;
866
866
  allowClear: boolean;
@@ -892,9 +892,9 @@ declare const Mention: {
892
892
  "update:modelValue": (value: string) => any;
893
893
  }, string, {
894
894
  disabled: boolean;
895
- split: string;
896
895
  type: "input" | "textarea";
897
896
  data: import('..').SelectOptions;
897
+ split: string;
898
898
  modelValue: string;
899
899
  defaultValue: string;
900
900
  allowClear: boolean;
@@ -250,6 +250,7 @@ declare function __VLS_template(): {
250
250
  focusDelay: number;
251
251
  disabled: boolean;
252
252
  scrollToCloseDistance: number;
253
+ scrollToClose: boolean;
253
254
  autoSetPosition: boolean;
254
255
  alignPoint: boolean;
255
256
  position: import('..').TriggerPostion;
@@ -270,7 +271,6 @@ declare function __VLS_template(): {
270
271
  autoFitPosition: boolean;
271
272
  updateAtScroll: boolean;
272
273
  preventFocus: boolean;
273
- scrollToClose: boolean;
274
274
  needTransformOrigin: boolean;
275
275
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
276
276
  beforeCreate?: (() => void) | (() => void)[];
@@ -304,6 +304,7 @@ declare function __VLS_template(): {
304
304
  focusDelay: number;
305
305
  disabled: boolean;
306
306
  scrollToCloseDistance: number;
307
+ scrollToClose: boolean;
307
308
  autoSetPosition: boolean;
308
309
  alignPoint: boolean;
309
310
  position: import('..').TriggerPostion;
@@ -324,14 +325,13 @@ declare function __VLS_template(): {
324
325
  autoFitPosition: boolean;
325
326
  updateAtScroll: boolean;
326
327
  preventFocus: boolean;
327
- scrollToClose: boolean;
328
328
  needTransformOrigin: boolean;
329
329
  }> & Omit<Readonly<import('..').TriggerProps> & Readonly<{
330
330
  "onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
331
331
  "onPopup-visible-change"?: ((value: boolean) => any) | undefined;
332
332
  onShow?: (() => any) | undefined;
333
333
  onHide?: (() => any) | undefined;
334
- }>, "show" | "hide" | ("trigger" | "mouseEnterDelay" | "popupVisible" | "defaultPopupVisible" | "clickToClose" | "blurToClose" | "clickOutsideToClose" | "mouseLeaveDelay" | "focusDelay" | "disabled" | "scrollToCloseDistance" | "autoSetPosition" | "alignPoint" | "position" | "popupOffset" | "popupTranslate" | "showArrow" | "unmountOnClose" | "contentClass" | "contentStyle" | "arrowClass" | "arrowStyle" | "animationName" | "duration" | "autoFitPopupWidth" | "autoFitPopupMinWidth" | "popupContainer" | "renderToBody" | "autoFitPosition" | "updateAtScroll" | "preventFocus" | "scrollToClose" | "needTransformOrigin") | "updatePosition"> & import('vue').ShallowUnwrapRef<{
334
+ }>, "show" | "hide" | ("trigger" | "mouseEnterDelay" | "popupVisible" | "defaultPopupVisible" | "clickToClose" | "blurToClose" | "clickOutsideToClose" | "mouseLeaveDelay" | "focusDelay" | "disabled" | "scrollToCloseDistance" | "scrollToClose" | "autoSetPosition" | "alignPoint" | "position" | "popupOffset" | "popupTranslate" | "showArrow" | "unmountOnClose" | "contentClass" | "contentStyle" | "arrowClass" | "arrowStyle" | "animationName" | "duration" | "autoFitPopupWidth" | "autoFitPopupMinWidth" | "popupContainer" | "renderToBody" | "autoFitPosition" | "updateAtScroll" | "preventFocus" | "needTransformOrigin") | "updatePosition"> & import('vue').ShallowUnwrapRef<{
335
335
  hide(): void;
336
336
  show(): void;
337
337
  updatePosition(x: number, y: number): void;
@@ -835,9 +835,9 @@ declare const __VLS_component: import('vue').DefineComponent<MentionProps, {
835
835
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
836
836
  }>, {
837
837
  disabled: boolean;
838
- split: string;
839
838
  type: "input" | "textarea";
840
839
  data: import('../Select').SelectOptions;
840
+ split: string;
841
841
  modelValue: string;
842
842
  defaultValue: string;
843
843
  allowClear: boolean;
@@ -1088,6 +1088,7 @@ declare const __VLS_component: import('vue').DefineComponent<MentionProps, {
1088
1088
  focusDelay: number;
1089
1089
  disabled: boolean;
1090
1090
  scrollToCloseDistance: number;
1091
+ scrollToClose: boolean;
1091
1092
  autoSetPosition: boolean;
1092
1093
  alignPoint: boolean;
1093
1094
  position: import('..').TriggerPostion;
@@ -1108,7 +1109,6 @@ declare const __VLS_component: import('vue').DefineComponent<MentionProps, {
1108
1109
  autoFitPosition: boolean;
1109
1110
  updateAtScroll: boolean;
1110
1111
  preventFocus: boolean;
1111
- scrollToClose: boolean;
1112
1112
  needTransformOrigin: boolean;
1113
1113
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
1114
1114
  beforeCreate?: (() => void) | (() => void)[];
@@ -1142,6 +1142,7 @@ declare const __VLS_component: import('vue').DefineComponent<MentionProps, {
1142
1142
  focusDelay: number;
1143
1143
  disabled: boolean;
1144
1144
  scrollToCloseDistance: number;
1145
+ scrollToClose: boolean;
1145
1146
  autoSetPosition: boolean;
1146
1147
  alignPoint: boolean;
1147
1148
  position: import('..').TriggerPostion;
@@ -1162,14 +1163,13 @@ declare const __VLS_component: import('vue').DefineComponent<MentionProps, {
1162
1163
  autoFitPosition: boolean;
1163
1164
  updateAtScroll: boolean;
1164
1165
  preventFocus: boolean;
1165
- scrollToClose: boolean;
1166
1166
  needTransformOrigin: boolean;
1167
1167
  }> & Omit<Readonly<import('..').TriggerProps> & Readonly<{
1168
1168
  "onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
1169
1169
  "onPopup-visible-change"?: ((value: boolean) => any) | undefined;
1170
1170
  onShow?: (() => any) | undefined;
1171
1171
  onHide?: (() => any) | undefined;
1172
- }>, "show" | "hide" | ("trigger" | "mouseEnterDelay" | "popupVisible" | "defaultPopupVisible" | "clickToClose" | "blurToClose" | "clickOutsideToClose" | "mouseLeaveDelay" | "focusDelay" | "disabled" | "scrollToCloseDistance" | "autoSetPosition" | "alignPoint" | "position" | "popupOffset" | "popupTranslate" | "showArrow" | "unmountOnClose" | "contentClass" | "contentStyle" | "arrowClass" | "arrowStyle" | "animationName" | "duration" | "autoFitPopupWidth" | "autoFitPopupMinWidth" | "popupContainer" | "renderToBody" | "autoFitPosition" | "updateAtScroll" | "preventFocus" | "scrollToClose" | "needTransformOrigin") | "updatePosition"> & import('vue').ShallowUnwrapRef<{
1172
+ }>, "show" | "hide" | ("trigger" | "mouseEnterDelay" | "popupVisible" | "defaultPopupVisible" | "clickToClose" | "blurToClose" | "clickOutsideToClose" | "mouseLeaveDelay" | "focusDelay" | "disabled" | "scrollToCloseDistance" | "scrollToClose" | "autoSetPosition" | "alignPoint" | "position" | "popupOffset" | "popupTranslate" | "showArrow" | "unmountOnClose" | "contentClass" | "contentStyle" | "arrowClass" | "arrowStyle" | "animationName" | "duration" | "autoFitPopupWidth" | "autoFitPopupMinWidth" | "popupContainer" | "renderToBody" | "autoFitPosition" | "updateAtScroll" | "preventFocus" | "needTransformOrigin") | "updatePosition"> & import('vue').ShallowUnwrapRef<{
1173
1173
  hide(): void;
1174
1174
  show(): void;
1175
1175
  updatePosition(x: number, y: number): void;
@@ -3,7 +3,9 @@ import "../node_modules/tinycolor2/esm/tinycolor.js";
3
3
  import { mediaQueryHandler } from "../_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
+ /* empty css */
8
+ /* empty css */
7
9
  import _sfc_main$2 from "../_shared/icons/IconMenuFold.vue.js";
8
10
  import _sfc_main$3 from "../_shared/icons/IconMenuUnfold.vue.js";
9
11
  import useMenuContext from "./hooks/useContext.js";
@@ -4,7 +4,9 @@ import "../node_modules/tinycolor2/esm/tinycolor.js";
4
4
  import "../_shared/utils/dom.js";
5
5
  import "../_shared/utils/time.js";
6
6
  import "../_shared/utils/locale.js";
7
- /* empty css */
7
+ /* empty css */
8
+ /* empty css */
9
+ /* empty css */
8
10
  import _sfc_main$1 from "../_shared/icons/IconMore.vue.js";
9
11
  import useMenuContext, { isMenuItemActive } from "./hooks/useContext.js";
10
12
  import _sfc_main$3 from "./MenuPopOption.vue.js";
@@ -51,6 +53,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
51
53
  showArrow: true,
52
54
  ...unref(triggerProps)
53
55
  },
56
+ class: normalizeClass([`yc-dropdown-popup-${unref(theme)}`]),
54
57
  onSelect: handleSelect
55
58
  }, {
56
59
  content: withCtx(() => [
@@ -84,7 +87,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
84
87
  ], 2)
85
88
  ]),
86
89
  _: 1
87
- }, 8, ["popup-max-height", "trigger-props"])
90
+ }, 8, ["popup-max-height", "trigger-props", "class"])
88
91
  ]);
89
92
  };
90
93
  }
@@ -186,6 +186,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
186
186
  showArrow: true,
187
187
  ...unref(triggerProps)
188
188
  },
189
+ class: normalizeClass([`yc-dropdown-popup-${unref(theme)}`]),
189
190
  onSelect: handleSelect
190
191
  }, {
191
192
  content: withCtx(() => [
@@ -203,7 +204,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
203
204
  createVNode(unref(ReuseTemplate))
204
205
  ]),
205
206
  _: 1
206
- }, 8, ["popup-max-height", "trigger-props"])) : !isSubmenu.value && isRoot.value && unref(computedCollapsed) ? (openBlock(), createBlock(unref(Tooltip), {
207
+ }, 8, ["popup-max-height", "trigger-props", "class"])) : !isSubmenu.value && isRoot.value && unref(computedCollapsed) ? (openBlock(), createBlock(unref(Tooltip), {
207
208
  key: 1,
208
209
  position: "rt",
209
210
  "trigger-props": {
@@ -5,10 +5,10 @@ import "../node_modules/tinycolor2/esm/tinycolor.js";
5
5
  import "../_shared/utils/dom.js";
6
6
  import "../_shared/utils/time.js";
7
7
  import "../_shared/utils/locale.js";
8
- /* empty css */
9
- /* empty css */
10
- import _sfc_main$3 from "../_shared/components/ExpandTransition.vue2.js";
11
8
  /* empty css */
9
+ import _sfc_main$3 from "../_shared/components/ExpandTransition/index.vue2.js";
10
+ /* empty css */
11
+ /* empty css */
12
12
  import "./index.js";
13
13
  import _sfc_main$1 from "./MenuItem.vue.js";
14
14
  /* empty css */
@@ -9,7 +9,6 @@ import "../index.js";
9
9
  import { nanoid } from "../../node_modules/nanoid/index.browser.js";
10
10
  import { useResizeObserver } from "../../node_modules/@vueuse/core/index.js";
11
11
  import useSiderContext from "../../Layout/hooks/useSiderContext.js";
12
- import useTheme from "../../Layout/hooks/useTheme.js";
13
12
  import _sfc_main from "../SubMenu.vue.js";
14
13
  /* empty css */
15
14
  import _sfc_main$1 from "../MenuItem.vue.js";
@@ -117,7 +116,6 @@ const getPopupMaxHeight = (popupMaxHeight) => {
117
116
  }
118
117
  };
119
118
  const useMenuContext = () => {
120
- const { theme: sysTheme } = useTheme();
121
119
  const provide$1 = (props, emits, menuRef) => {
122
120
  const {
123
121
  selectedKeys,
@@ -183,7 +181,7 @@ const useMenuContext = () => {
183
181
  const menuTree = computed(() => buildMenuTree(menuTreeNodes.value));
184
182
  const max = ref(1e6);
185
183
  const theme = computed(() => {
186
- return _theme.value || siderTheme.value || sysTheme.value;
184
+ return _theme.value || siderTheme.value || "light";
187
185
  });
188
186
  if (mode.value == "horizontal") {
189
187
  useResizeObserver(
@@ -247,7 +245,7 @@ const useMenuContext = () => {
247
245
  triggerProps: ref({}),
248
246
  autoOpenSelected: ref(false),
249
247
  mode: ref("vertical"),
250
- theme: sysTheme,
248
+ theme: ref("light"),
251
249
  popupMaxHeight: ref(),
252
250
  autoScrollIntoView: ref(false),
253
251
  scrollConfig: ref({}),