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
@@ -1,13 +1,13 @@
1
1
  import { defineComponent, ref, createBlock, openBlock, Transition, withCtx, createElementBlock, createCommentVNode, normalizeClass, createElementVNode, renderSlot, resolveDynamicComponent, unref, createTextVNode, toDisplayString, createVNode } from "vue";
2
2
  import { TYPE_ICON_MAP } from "../_shared/constants/index.js";
3
- import _sfc_main$1 from "../_shared/components/IconButton.vue.js";
4
- /* empty css */
3
+ import _sfc_main$1 from "../_shared/components/IconButton/index.vue2.js";
4
+ /* empty css */
5
5
  import "../node_modules/tinycolor2/esm/tinycolor.js";
6
6
  import "../_shared/utils/dom.js";
7
7
  import "../_shared/utils/time.js";
8
8
  import "../_shared/utils/locale.js";
9
- /* empty css */
10
- /* empty css */
9
+ /* empty css */
10
+ /* empty css */
11
11
  const _hoisted_1 = {
12
12
  key: 0,
13
13
  class: "yc-alert-icon"
@@ -257,6 +257,7 @@ declare const AutoComplete: {
257
257
  focusDelay: number;
258
258
  disabled: boolean;
259
259
  scrollToCloseDistance: number;
260
+ scrollToClose: boolean;
260
261
  autoSetPosition: boolean;
261
262
  alignPoint: boolean;
262
263
  position: import('..').TriggerPostion;
@@ -277,7 +278,6 @@ declare const AutoComplete: {
277
278
  autoFitPosition: boolean;
278
279
  updateAtScroll: boolean;
279
280
  preventFocus: boolean;
280
- scrollToClose: boolean;
281
281
  needTransformOrigin: boolean;
282
282
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
283
283
  beforeCreate?: (() => void) | (() => void)[];
@@ -311,6 +311,7 @@ declare const AutoComplete: {
311
311
  focusDelay: number;
312
312
  disabled: boolean;
313
313
  scrollToCloseDistance: number;
314
+ scrollToClose: boolean;
314
315
  autoSetPosition: boolean;
315
316
  alignPoint: boolean;
316
317
  position: import('..').TriggerPostion;
@@ -331,14 +332,13 @@ declare const AutoComplete: {
331
332
  autoFitPosition: boolean;
332
333
  updateAtScroll: boolean;
333
334
  preventFocus: boolean;
334
- scrollToClose: boolean;
335
335
  needTransformOrigin: boolean;
336
336
  }> & Omit<Readonly<import('..').TriggerProps> & Readonly<{
337
337
  "onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
338
338
  "onPopup-visible-change"?: ((value: boolean) => any) | undefined;
339
339
  onShow?: (() => any) | undefined;
340
340
  onHide?: (() => any) | undefined;
341
- }>, "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<{
341
+ }>, "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<{
342
342
  hide(): void;
343
343
  show(): void;
344
344
  updatePosition(x: number, y: number): void;
@@ -215,6 +215,7 @@ declare function __VLS_template(): {
215
215
  focusDelay: number;
216
216
  disabled: boolean;
217
217
  scrollToCloseDistance: number;
218
+ scrollToClose: boolean;
218
219
  autoSetPosition: boolean;
219
220
  alignPoint: boolean;
220
221
  position: import('..').TriggerPostion;
@@ -235,7 +236,6 @@ declare function __VLS_template(): {
235
236
  autoFitPosition: boolean;
236
237
  updateAtScroll: boolean;
237
238
  preventFocus: boolean;
238
- scrollToClose: boolean;
239
239
  needTransformOrigin: boolean;
240
240
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
241
241
  beforeCreate?: (() => void) | (() => void)[];
@@ -269,6 +269,7 @@ declare function __VLS_template(): {
269
269
  focusDelay: number;
270
270
  disabled: boolean;
271
271
  scrollToCloseDistance: number;
272
+ scrollToClose: boolean;
272
273
  autoSetPosition: boolean;
273
274
  alignPoint: boolean;
274
275
  position: import('..').TriggerPostion;
@@ -289,14 +290,13 @@ declare function __VLS_template(): {
289
290
  autoFitPosition: boolean;
290
291
  updateAtScroll: boolean;
291
292
  preventFocus: boolean;
292
- scrollToClose: boolean;
293
293
  needTransformOrigin: boolean;
294
294
  }> & Omit<Readonly<import('..').TriggerProps> & Readonly<{
295
295
  "onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
296
296
  "onPopup-visible-change"?: ((value: boolean) => any) | undefined;
297
297
  onShow?: (() => any) | undefined;
298
298
  onHide?: (() => any) | undefined;
299
- }>, "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<{
299
+ }>, "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<{
300
300
  hide(): void;
301
301
  show(): void;
302
302
  updatePosition(x: number, y: number): void;
@@ -925,6 +925,7 @@ declare const __VLS_component: import('vue').DefineComponent<AutoCompleteProps,
925
925
  focusDelay: number;
926
926
  disabled: boolean;
927
927
  scrollToCloseDistance: number;
928
+ scrollToClose: boolean;
928
929
  autoSetPosition: boolean;
929
930
  alignPoint: boolean;
930
931
  position: import('..').TriggerPostion;
@@ -945,7 +946,6 @@ declare const __VLS_component: import('vue').DefineComponent<AutoCompleteProps,
945
946
  autoFitPosition: boolean;
946
947
  updateAtScroll: boolean;
947
948
  preventFocus: boolean;
948
- scrollToClose: boolean;
949
949
  needTransformOrigin: boolean;
950
950
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
951
951
  beforeCreate?: (() => void) | (() => void)[];
@@ -979,6 +979,7 @@ declare const __VLS_component: import('vue').DefineComponent<AutoCompleteProps,
979
979
  focusDelay: number;
980
980
  disabled: boolean;
981
981
  scrollToCloseDistance: number;
982
+ scrollToClose: boolean;
982
983
  autoSetPosition: boolean;
983
984
  alignPoint: boolean;
984
985
  position: import('..').TriggerPostion;
@@ -999,14 +1000,13 @@ declare const __VLS_component: import('vue').DefineComponent<AutoCompleteProps,
999
1000
  autoFitPosition: boolean;
1000
1001
  updateAtScroll: boolean;
1001
1002
  preventFocus: boolean;
1002
- scrollToClose: boolean;
1003
1003
  needTransformOrigin: boolean;
1004
1004
  }> & Omit<Readonly<import('..').TriggerProps> & Readonly<{
1005
1005
  "onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
1006
1006
  "onPopup-visible-change"?: ((value: boolean) => any) | undefined;
1007
1007
  onShow?: (() => any) | undefined;
1008
1008
  onHide?: (() => any) | undefined;
1009
- }>, "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<{
1009
+ }>, "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<{
1010
1010
  hide(): void;
1011
1011
  show(): void;
1012
1012
  updatePosition(x: number, y: number): void;
@@ -4,7 +4,9 @@ import "../node_modules/tinycolor2/esm/tinycolor.js";
4
4
  import { valueToPx } from "../_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/IconImageClose.vue.js";
9
11
  import useContext from "./hooks/useContext.js";
10
12
  const _hoisted_1 = {
@@ -5,7 +5,9 @@ import { isUndefined } from "../_shared/utils/is.js";
5
5
  import "../_shared/utils/time.js";
6
6
  import { getGlobalConfig } from "../_shared/utils/global-config.js";
7
7
  import "../_shared/utils/locale.js";
8
- /* empty css */
8
+ /* empty css */
9
+ /* empty css */
10
+ /* empty css */
9
11
  import _sfc_main$1 from "../_shared/icons/IconToTop.vue.js";
10
12
  import Tween from "../node_modules/b-tween/dist/b-tween.es.js";
11
13
  import { useEventListener } from "../node_modules/@vueuse/core/index.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 Dropdown from "../Dropdown/index.js";
9
11
  import _sfc_main$2 from "../Dropdown/Doption.vue.js";
10
12
  /* empty css */
@@ -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$2 from "../_shared/icons/IconMore.vue.js";
8
10
  import _sfc_main$1 from "./BreadcrumbItem.vue.js";
9
11
  /* empty css */
@@ -4,7 +4,9 @@ import "../_shared/utils/dom.js";
4
4
  import { isUndefined } from "../_shared/utils/is.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/IconSeparator.vue2.js";
9
11
  const _hoisted_1 = { class: "yc-breadcrumb-item-separator" };
10
12
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -5,11 +5,11 @@ import "../_shared/utils/dom.js";
5
5
  import "../_shared/utils/time.js";
6
6
  import { useI18n } from "../_shared/utils/locale.js";
7
7
  import useControlValue from "../_shared/utils/control.js";
8
- /* empty css */
9
- import _sfc_main$2 from "../_shared/icons/IconArrowRight.vue.js";
10
- import _sfc_main$1 from "../_shared/components/IconButton.vue.js";
11
- /* empty css */
8
+ import _sfc_main$1 from "../_shared/components/IconButton/index.vue2.js";
12
9
  /* empty css */
10
+ /* empty css */
11
+ /* empty css */
12
+ import _sfc_main$2 from "../_shared/icons/IconArrowRight.vue.js";
13
13
  import Button from "../Button/index.js";
14
14
  import "../Radio/index.js";
15
15
  import _sfc_main$4 from "./CalendarMonth.vue.js";
@@ -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
  import useContext from "./hooks/useContext.js";
9
11
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -1,14 +1,14 @@
1
1
  import { defineComponent, resolveComponent, createBlock, createElementBlock, openBlock, unref, createSlots, withCtx, resolveDynamicComponent, Fragment, createElementVNode, createCommentVNode, withModifiers } from "vue";
2
2
  import useContext from "./hooks/useContext.js";
3
3
  import _sfc_main$1 from "../_shared/icons/IconArrowDown.vue.js";
4
+ import _sfc_main$2 from "../_shared/components/IconButton/index.vue2.js";
5
+ /* empty css */
4
6
  import "../node_modules/tinycolor2/esm/tinycolor.js";
5
7
  import "../_shared/utils/dom.js";
6
8
  import "../_shared/utils/time.js";
7
9
  import "../_shared/utils/locale.js";
8
- /* empty css */
9
- import _sfc_main$2 from "../_shared/components/IconButton.vue.js";
10
- /* empty css */
11
- /* empty css */
10
+ /* empty css */
11
+ /* empty css */
12
12
  import Spin from "../Spin/index.js";
13
13
  const _hoisted_1 = { class: "yc-cascader-suffix-icon" };
14
14
  const _hoisted_2 = {
@@ -2,11 +2,11 @@ import { CascaderOptionProps, CascaderOptionValue } from './type';
2
2
  declare const _default: import('vue').DefineComponent<CascaderOptionProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<CascaderOptionProps> & Readonly<{}>, {
3
3
  disabled: boolean;
4
4
  value: CascaderOptionValue;
5
- label: string;
6
5
  children: import('./type').CascaderOption[];
6
+ label: string;
7
+ index: number;
7
8
  render: import('vue').RenderFunction;
8
9
  tagProps: import('..').TagProps;
9
- index: number;
10
10
  isLeaf: boolean;
11
11
  level: number;
12
12
  nodePath: CascaderOptionProps[];
@@ -4,7 +4,9 @@ import { sleep } from "../_shared/utils/dom.js";
4
4
  import { isFunction } from "../_shared/utils/is.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/IconArrowRight.vue.js";
9
11
  import _sfc_main$2 from "../_shared/icons/IconLoading.vue.js";
10
12
  import Checkbox from "../Checkbox/index.js";
@@ -6,11 +6,11 @@ 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
- /* empty css */
10
- import _sfc_main$2 from "../_shared/icons/IconCheckboxChecked.vue.js";
11
- import _sfc_main$1 from "../_shared/components/IconButton.vue.js";
12
- /* empty css */
9
+ import _sfc_main$1 from "../_shared/components/IconButton/index.vue2.js";
13
10
  /* empty css */
11
+ /* empty css */
12
+ /* empty css */
13
+ import _sfc_main$2 from "../_shared/icons/IconCheckboxChecked.vue.js";
14
14
  const _hoisted_1 = ["value", "disabled", "checked"];
15
15
  const _hoisted_2 = { class: "yc-checkbox-icon" };
16
16
  const _hoisted_3 = {
@@ -1,15 +1,15 @@
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.vue2.js";
4
+ /* empty css */
5
+ import _sfc_main$3 from "../_shared/components/ExpandTransition/index.vue2.js";
6
+ /* empty css */
3
7
  import "../node_modules/tinycolor2/esm/tinycolor.js";
4
8
  import "../_shared/utils/dom.js";
5
9
  import "../_shared/utils/time.js";
6
10
  import "../_shared/utils/locale.js";
7
- /* empty css */
11
+ /* empty css */
8
12
  import _sfc_main$2 from "../_shared/icons/IconRight.vue.js";
9
- import _sfc_main$1 from "../_shared/components/IconButton.vue.js";
10
- /* empty css */
11
- import _sfc_main$3 from "../_shared/components/ExpandTransition.vue2.js";
12
- /* empty css */
13
13
  const _hoisted_1 = { class: "yc-collapse-item-header-title text-ellipsis" };
14
14
  const _hoisted_2 = {
15
15
  key: 1,
@@ -6,8 +6,6 @@ declare const ConfigProvider: {
6
6
  new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./type').ConfigProviderProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
7
7
  size: import('..').Size;
8
8
  popupContainer: import('..').PopupContainer;
9
- updateAtScroll: boolean;
10
- scrollToClose: boolean;
11
9
  zIndex: number;
12
10
  locale: import('../_shared/type').ObjectData;
13
11
  }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
@@ -20,8 +18,6 @@ declare const ConfigProvider: {
20
18
  }, Readonly<import('./type').ConfigProviderProps> & Readonly<{}>, {}, {}, {}, {}, {
21
19
  size: import('..').Size;
22
20
  popupContainer: import('..').PopupContainer;
23
- updateAtScroll: boolean;
24
- scrollToClose: boolean;
25
21
  zIndex: number;
26
22
  locale: import('../_shared/type').ObjectData;
27
23
  }>;
@@ -31,8 +27,6 @@ declare const ConfigProvider: {
31
27
  } & import('vue').ComponentOptionsBase<Readonly<import('./type').ConfigProviderProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
32
28
  size: import('..').Size;
33
29
  popupContainer: import('..').PopupContainer;
34
- updateAtScroll: boolean;
35
- scrollToClose: boolean;
36
30
  zIndex: number;
37
31
  locale: import('../_shared/type').ObjectData;
38
32
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
@@ -9,8 +9,6 @@ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
9
9
  declare const __VLS_component: import('vue').DefineComponent<ConfigProviderProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ConfigProviderProps> & Readonly<{}>, {
10
10
  size: import('..').Size;
11
11
  popupContainer: import('..').PopupContainer;
12
- updateAtScroll: boolean;
13
- scrollToClose: boolean;
14
12
  zIndex: number;
15
13
  locale: import('../_shared/type').ObjectData;
16
14
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
@@ -13,21 +13,16 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
13
13
  locale: { default: void 0 },
14
14
  zIndex: { default: 1001 },
15
15
  size: { default: "medium" },
16
- popupContainer: { default: "body" },
17
- updateAtScroll: { type: Boolean, default: true },
18
- scrollToClose: { type: Boolean, default: false }
16
+ popupContainer: { default: "body" }
19
17
  },
20
18
  setup(__props) {
21
- const slots = useSlots();
19
+ useSlots();
22
20
  const props = __props;
23
- const { locale, zIndex, size, updateAtScroll, scrollToClose, popupContainer } = toRefs(props);
21
+ const { locale, zIndex, size, popupContainer } = toRefs(props);
24
22
  provide(CONFIG_PROVIDER_PROVIDE_KEY, {
25
- slots,
26
23
  locale,
27
24
  zIndex,
28
25
  size,
29
- updateAtScroll,
30
- scrollToClose,
31
26
  popupContainer
32
27
  });
33
28
  return (_ctx, _cache) => {
@@ -5,8 +5,6 @@ export interface ConfigProviderProps {
5
5
  zIndex?: number;
6
6
  size?: Size;
7
7
  popupContainer?: PopupContainer;
8
- updateAtScroll?: boolean;
9
- scrollToClose?: boolean;
10
8
  }
11
9
  export interface ConfigconfigSlots {
12
10
  default?: () => VNode[];
@@ -6,10 +6,10 @@ 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.vue.js";
10
- /* empty css */
9
+ import _sfc_main$1 from "../_shared/components/IconButton/index.vue2.js";
11
10
  /* empty css */
12
- /* empty css */
11
+ /* empty css */
12
+ /* empty css */
13
13
  const _hoisted_1 = {
14
14
  key: 0,
15
15
  class: "yc-drawer-header"
@@ -75,11 +75,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
75
75
  maskClosable,
76
76
  escToClose,
77
77
  drawerStyle: _drawerStyle,
78
- renderToBody,
79
- popupContainer: _popupContainer
78
+ renderToBody
80
79
  } = toRefs(props);
81
80
  const { onBeforeOk, onBeforeCancel } = props;
82
- const { zIndex, popupContainer } = getGlobalConfig(props);
81
+ const { zIndex, popupContainer, isAbsolute } = getGlobalConfig(props);
83
82
  const { t } = useI18n();
84
83
  const drawerStyle = computed(() => {
85
84
  return {
@@ -116,7 +115,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
116
115
  `yc-drawer-placement-${unref(placement)}`,
117
116
  _ctx.$attrs.class,
118
117
  {
119
- "yc-drawer-position-absolute": unref(_popupContainer) || !unref(renderToBody)
118
+ "yc-drawer-position-absolute": unref(isAbsolute)
120
119
  }
121
120
  ]),
122
121
  style: normalizeStyle({
@@ -1,6 +1,5 @@
1
1
  import { defineComponent, toRefs, createElementBlock, openBlock, normalizeClass, unref, createCommentVNode, createElementVNode, renderSlot } from "vue";
2
2
  import useContext from "./hooks/useContext.js";
3
- import useMenuContext from "../Menu/hooks/useContext.js";
4
3
  const _hoisted_1 = {
5
4
  key: 0,
6
5
  class: "yc-dropdown-option-icon"
@@ -27,7 +26,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
27
26
  const emits = __emit;
28
27
  const { value: optionValue, disabled, isSubmenu } = toRefs(props);
29
28
  const { select } = useContext().inject();
30
- const { theme } = useMenuContext().inject();
31
29
  const handleClick = (ev) => {
32
30
  if (disabled.value) return;
33
31
  emits("click", ev);
@@ -38,7 +36,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
38
36
  return openBlock(), createElementBlock("div", {
39
37
  class: normalizeClass([
40
38
  "yc-dropdown-option",
41
- `yc-dropdown-option-theme-${unref(theme)}`,
42
39
  {
43
40
  "yc-dropdown-option-active": _ctx.isActive,
44
41
  "yc-dropdown-option-disabled": unref(disabled),
@@ -5,7 +5,6 @@ import { isBoolean, isUndefined } from "../_shared/utils/is.js";
5
5
  import "../_shared/utils/time.js";
6
6
  import "../_shared/utils/locale.js";
7
7
  import useContext from "./hooks/useContext.js";
8
- import useMenuContext from "../Menu/hooks/useContext.js";
9
8
  import Trigger from "../Trigger/index.js";
10
9
  import Scrollbar from "../Scrollbar/index.js";
11
10
  const _hoisted_1 = { class: "yc-dropdown" };
@@ -42,7 +41,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
42
41
  popupMaxHeight: _popupMaxHeight
43
42
  } = toRefs(props);
44
43
  const { computedVisible } = useContext().provide(props, emits);
45
- const { theme } = useMenuContext().inject();
46
44
  const position = computed(() => {
47
45
  return ["top", "tl", "tr", "bottom", "bl", "br"].includes(_position.value) ? _position.value : "bottom";
48
46
  });
@@ -73,7 +71,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
73
71
  "mouse-leave-delay": 150,
74
72
  alignPoint: _ctx.alignPoint,
75
73
  "auto-fit-popup-min-width": !_ctx.alignPoint && ["top", "bottom"].includes(position.value),
76
- class: ["yc-dropdown-popup", , `yc-dropdown-${unref(theme)}`, _ctx.$attrs.class],
74
+ class: ["yc-dropdown-popup", _ctx.$attrs.class],
77
75
  style: _ctx.$attrs.style,
78
76
  "animation-name": "slide-dynamic-origin",
79
77
  "need-transform-origin": ""
@@ -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$3 from "../_shared/icons/IconMore.vue.js";
8
10
  import _sfc_main$2 from "./Dropdown.vue.js";
9
11
  /* empty css */
@@ -154,6 +154,7 @@ declare function __VLS_template(): {
154
154
  focusDelay: number;
155
155
  disabled: boolean;
156
156
  scrollToCloseDistance: number;
157
+ scrollToClose: boolean;
157
158
  autoSetPosition: boolean;
158
159
  alignPoint: boolean;
159
160
  position: import('../Trigger').TriggerPostion;
@@ -174,7 +175,6 @@ declare function __VLS_template(): {
174
175
  autoFitPosition: boolean;
175
176
  updateAtScroll: boolean;
176
177
  preventFocus: boolean;
177
- scrollToClose: boolean;
178
178
  needTransformOrigin: boolean;
179
179
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
180
180
  beforeCreate?: (() => void) | (() => void)[];
@@ -208,6 +208,7 @@ declare function __VLS_template(): {
208
208
  focusDelay: number;
209
209
  disabled: boolean;
210
210
  scrollToCloseDistance: number;
211
+ scrollToClose: boolean;
211
212
  autoSetPosition: boolean;
212
213
  alignPoint: boolean;
213
214
  position: import('../Trigger').TriggerPostion;
@@ -228,14 +229,13 @@ declare function __VLS_template(): {
228
229
  autoFitPosition: boolean;
229
230
  updateAtScroll: boolean;
230
231
  preventFocus: boolean;
231
- scrollToClose: boolean;
232
232
  needTransformOrigin: boolean;
233
233
  }> & Omit<Readonly<import('../Trigger').TriggerProps> & Readonly<{
234
234
  "onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
235
235
  "onPopup-visible-change"?: ((value: boolean) => any) | undefined;
236
236
  onShow?: (() => any) | undefined;
237
237
  onHide?: (() => any) | undefined;
238
- }>, "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<{
238
+ }>, "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<{
239
239
  hide(): void;
240
240
  show(): void;
241
241
  updatePosition(x: number, y: number): void;
@@ -475,6 +475,7 @@ declare const __VLS_component: import('vue').DefineComponent<DsubmenuProps, {
475
475
  focusDelay: number;
476
476
  disabled: boolean;
477
477
  scrollToCloseDistance: number;
478
+ scrollToClose: boolean;
478
479
  autoSetPosition: boolean;
479
480
  alignPoint: boolean;
480
481
  position: import('../Trigger').TriggerPostion;
@@ -495,7 +496,6 @@ declare const __VLS_component: import('vue').DefineComponent<DsubmenuProps, {
495
496
  autoFitPosition: boolean;
496
497
  updateAtScroll: boolean;
497
498
  preventFocus: boolean;
498
- scrollToClose: boolean;
499
499
  needTransformOrigin: boolean;
500
500
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
501
501
  beforeCreate?: (() => void) | (() => void)[];
@@ -529,6 +529,7 @@ declare const __VLS_component: import('vue').DefineComponent<DsubmenuProps, {
529
529
  focusDelay: number;
530
530
  disabled: boolean;
531
531
  scrollToCloseDistance: number;
532
+ scrollToClose: boolean;
532
533
  autoSetPosition: boolean;
533
534
  alignPoint: boolean;
534
535
  position: import('../Trigger').TriggerPostion;
@@ -549,14 +550,13 @@ declare const __VLS_component: import('vue').DefineComponent<DsubmenuProps, {
549
550
  autoFitPosition: boolean;
550
551
  updateAtScroll: boolean;
551
552
  preventFocus: boolean;
552
- scrollToClose: boolean;
553
553
  needTransformOrigin: boolean;
554
554
  }> & Omit<Readonly<import('../Trigger').TriggerProps> & Readonly<{
555
555
  "onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
556
556
  "onPopup-visible-change"?: ((value: boolean) => any) | undefined;
557
557
  onShow?: (() => any) | undefined;
558
558
  onHide?: (() => any) | undefined;
559
- }>, "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<{
559
+ }>, "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<{
560
560
  hide(): void;
561
561
  show(): void;
562
562
  updatePosition(x: number, y: number): void;