yc-design-vue 1.8.7 → 1.8.8

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 (681) hide show
  1. package/es/Affix/index.vue.js +1 -0
  2. package/es/Alert/index.d.ts +3 -3
  3. package/es/Alert/index.vue.d.ts +1 -1
  4. package/es/Alert/index.vue.js +1 -0
  5. package/es/Anchor/Anchor.vue.js +1 -0
  6. package/es/Anchor/AnchorLink.vue.js +1 -0
  7. package/es/Anchor/hooks/useContext.js +1 -0
  8. package/es/AutoComplete/index.d.ts +19 -19
  9. package/es/AutoComplete/index.vue.d.ts +33 -33
  10. package/es/AutoComplete/index.vue.js +1 -0
  11. package/es/Avatar/Avatar.vue.d.ts +2 -2
  12. package/es/Avatar/Avatar.vue.js +1 -0
  13. package/es/Avatar/AvatarGroup.vue.js +1 -0
  14. package/es/Avatar/index.d.ts +5 -5
  15. package/es/BackTop/index.vue.js +1 -0
  16. package/es/Badge/index.vue.js +1 -0
  17. package/es/Breadcrumb/Breadcrumb.vue.js +1 -0
  18. package/es/Breadcrumb/BreadcrumbItem.vue.js +1 -0
  19. package/es/Breadcrumb/BreadcrumbMore.vue.js +1 -0
  20. package/es/Breadcrumb/BreadcrumbSeparator.vue.js +2 -1
  21. package/es/Button/Button.vue.d.ts +3 -3
  22. package/es/Button/ButtonGroup.vue.d.ts +1 -1
  23. package/es/Button/hooks/useContext.js +1 -0
  24. package/es/Button/index.d.ts +12 -12
  25. package/es/Calendar/Calendar.vue.js +2 -1
  26. package/es/Calendar/CalendarMonth.vue.d.ts +1 -1
  27. package/es/Calendar/CalendarMonth.vue.js +1 -1
  28. package/es/Calendar/CalendarYear.vue.js +1 -1
  29. package/es/Card/Card.vue.d.ts +1 -1
  30. package/es/Card/Card.vue.js +1 -0
  31. package/es/Card/CardMeta.vue.d.ts +1 -1
  32. package/es/Card/CardMeta.vue.js +1 -0
  33. package/es/Card/index.d.ts +6 -6
  34. package/es/Carousel/Carousel.vue.js +1 -0
  35. package/es/Carousel/CarouselArrow.vue.js +1 -0
  36. package/es/Carousel/CarouselIndicator.vue.js +1 -0
  37. package/es/Carousel/hooks/useContext.js +1 -0
  38. package/es/Cascader/Cascader.vue.d.ts +17 -17
  39. package/es/Cascader/Cascader.vue.js +1 -0
  40. package/es/Cascader/CascaderIcon.vue.js +1 -0
  41. package/es/Cascader/CascaderOption.vue.js +1 -0
  42. package/es/Cascader/CascaderPanel.vue.js +1 -0
  43. package/es/Cascader/CascaderSearchPanel.vue.js +1 -0
  44. package/es/Cascader/hooks/useContext.js +1 -0
  45. package/es/Cascader/index.d.ts +16 -16
  46. package/es/Checkbox/Checkbox.vue.js +1 -0
  47. package/es/Checkbox/CheckboxGroup.vue.d.ts +1 -1
  48. package/es/Checkbox/hooks/useContext.js +1 -0
  49. package/es/Checkbox/index.d.ts +3 -3
  50. package/es/Collapse/CollapseItem.vue.js +1 -0
  51. package/es/Collapse/hooks/useContext.js +1 -0
  52. package/es/ColorPicker/ColorControl.vue.js +1 -0
  53. package/es/ColorPicker/ColorInput.vue.js +1 -0
  54. package/es/ColorPicker/ColorList.vue.js +7 -1
  55. package/es/ColorPicker/ColorPalette.vue.js +1 -0
  56. package/es/ColorPicker/ColorPanel.vue.js +7 -1
  57. package/es/ColorPicker/hooks/useContext.js +1 -0
  58. package/es/Comment/index.vue.js +1 -0
  59. package/es/ConfigProvider/index.d.ts +3 -3
  60. package/es/ConfigProvider/index.vue.d.ts +1 -1
  61. package/es/ConfigProvider/index.vue.js +4 -12
  62. package/es/ConfigProvider/type.d.ts +3 -2
  63. package/es/Descriptions/ReuseItem.vue.js +1 -0
  64. package/es/Descriptions/ReuseTd.vue.js +1 -0
  65. package/es/Descriptions/hooks/useContext.js +1 -0
  66. package/es/Divider/index.d.ts +3 -3
  67. package/es/Divider/index.vue.d.ts +1 -1
  68. package/es/Divider/index.vue.js +1 -0
  69. package/es/Drawer/Drawer.vue.d.ts +4 -4
  70. package/es/Drawer/Drawer.vue.js +2 -1
  71. package/es/Drawer/DrawerService.vue.d.ts +2 -2
  72. package/es/Drawer/DrawerService.vue.js +1 -0
  73. package/es/Drawer/index.d.ts +11 -11
  74. package/es/Dropdown/Dropdown.vue.js +1 -0
  75. package/es/Dropdown/DropdownButton.vue.d.ts +1 -1
  76. package/es/Dropdown/DropdownButton.vue.js +1 -0
  77. package/es/Dropdown/Dsubmenu.vue.js +1 -0
  78. package/es/Dropdown/hooks/useContext.js +1 -0
  79. package/es/Dropdown/index.d.ts +3 -3
  80. package/es/Empty/index.vue.js +2 -1
  81. package/es/Grid/Grid.vue.js +1 -0
  82. package/es/Grid/GridCol.vue.js +1 -0
  83. package/es/Grid/GridItem.vue.js +1 -0
  84. package/es/Grid/GridRow.vue.js +1 -0
  85. package/es/Grid/hooks/useContext.js +1 -0
  86. package/es/Image/Image.vue.d.ts +2 -2
  87. package/es/Image/Image.vue.js +2 -1
  88. package/es/Image/ImagePreview.vue.js +1 -0
  89. package/es/Image/ImagePreviewArrow.vue.js +1 -0
  90. package/es/Image/ImagePreviewToolbar.vue.js +8 -7
  91. package/es/Image/hooks/useContext.js +1 -0
  92. package/es/Image/index.d.ts +6 -6
  93. package/es/Input/Input.vue.d.ts +3 -3
  94. package/es/Input/Input.vue.js +1 -0
  95. package/es/Input/InputSuffix.vue.js +1 -0
  96. package/es/Input/hooks/useLimitedInput.js +1 -0
  97. package/es/Input/index.d.ts +9 -9
  98. package/es/InputNumber/InputNumber.vue.d.ts +18 -18
  99. package/es/InputNumber/InputNumber.vue.js +1 -0
  100. package/es/InputNumber/InputOperaBtn.vue.js +1 -0
  101. package/es/InputNumber/index.d.ts +19 -19
  102. package/es/InputTag/index.d.ts +6 -6
  103. package/es/InputTag/index.vue.d.ts +2 -2
  104. package/es/InputTag/index.vue.js +1 -0
  105. package/es/Layout/Layout.vue.js +1 -0
  106. package/es/Layout/LayoutSider.vue.js +1 -0
  107. package/es/Layout/hooks/useSiderContext.js +1 -0
  108. package/es/Link/index.d.ts +3 -3
  109. package/es/Link/index.vue.d.ts +1 -1
  110. package/es/Link/index.vue.js +1 -0
  111. package/es/List/List.vue.d.ts +7 -7
  112. package/es/List/List.vue.js +1 -0
  113. package/es/List/ListItemMeta.vue.d.ts +1 -1
  114. package/es/List/hooks/useScrollReach.js +1 -0
  115. package/es/List/index.d.ts +9 -9
  116. package/es/Mention/index.d.ts +22 -22
  117. package/es/Mention/index.vue.d.ts +39 -39
  118. package/es/Mention/index.vue.js +1 -0
  119. package/es/Menu/Menu.vue.js +1 -0
  120. package/es/Menu/MenuEllipsis.vue.js +1 -0
  121. package/es/Menu/MenuItem.vue.js +1 -0
  122. package/es/Menu/MenuItemGroup.vue.js +1 -0
  123. package/es/Menu/SubMenu.vue.js +1 -0
  124. package/es/Menu/hooks/useContext.js +1 -0
  125. package/es/Message/Message.vue.d.ts +1 -1
  126. package/es/Message/Message.vue.js +1 -0
  127. package/es/Message/index.d.ts +3 -3
  128. package/es/Message/index.js +1 -0
  129. package/es/Modal/Modal.vue.d.ts +4 -4
  130. package/es/Modal/Modal.vue.js +2 -1
  131. package/es/Modal/ModalService.vue.d.ts +2 -2
  132. package/es/Modal/ModalService.vue.js +1 -0
  133. package/es/Modal/hooks/useModalClose.js +1 -0
  134. package/es/Modal/hooks/useModalDraggable.js +1 -0
  135. package/es/Modal/hooks/useOnBeforeClose.js +1 -0
  136. package/es/Modal/index.d.ts +11 -11
  137. package/es/Notification/Notification.vue.d.ts +1 -1
  138. package/es/Notification/Notification.vue.js +1 -0
  139. package/es/Notification/index.d.ts +3 -3
  140. package/es/Notification/index.js +1 -0
  141. package/es/OverflowList/index.d.ts +3 -3
  142. package/es/OverflowList/index.vue.d.ts +1 -1
  143. package/es/OverflowList/index.vue.js +1 -0
  144. package/es/PageHeader/index.vue.js +1 -0
  145. package/es/Pagination/Pagination.vue.js +6 -2
  146. package/es/Pagination/PaginationItem.vue.js +1 -0
  147. package/es/Pagination/hooks/useContext.d.ts +1 -256
  148. package/es/Pagination/hooks/useContext.js +2 -1
  149. package/es/Popconfirm/index.d.ts +19 -19
  150. package/es/Popconfirm/index.vue.d.ts +7 -7
  151. package/es/Popconfirm/index.vue.js +2 -1
  152. package/es/Popover/index.vue.js +1 -0
  153. package/es/Progress/Progress.vue.d.ts +1 -1
  154. package/es/Progress/Progress.vue.js +1 -0
  155. package/es/Progress/ProgressCircle.vue.js +1 -0
  156. package/es/Progress/ProgressLine.vue.js +1 -0
  157. package/es/Progress/ProgressSteps.vue.js +1 -0
  158. package/es/Progress/index.d.ts +3 -3
  159. package/es/Radio/Radio.vue.d.ts +1 -1
  160. package/es/Radio/Radio.vue.js +1 -0
  161. package/es/Radio/RadioGroup.vue.d.ts +1 -1
  162. package/es/Radio/hooks/useContext.js +1 -0
  163. package/es/Radio/index.d.ts +6 -6
  164. package/es/Rate/index.vue.js +1 -0
  165. package/es/ResizeBox/index.vue.js +1 -0
  166. package/es/Scrollbar/Scrollbar.vue.d.ts +1 -1
  167. package/es/Scrollbar/Scrollbar.vue.js +1 -0
  168. package/es/Scrollbar/ScrollbarTrack.vue.js +1 -0
  169. package/es/Scrollbar/index.d.ts +3 -3
  170. package/es/Select/Option.vue.js +1 -0
  171. package/es/Select/Select.vue.d.ts +26 -26
  172. package/es/Select/Select.vue.js +1 -0
  173. package/es/Select/SelectIcon.vue.js +1 -0
  174. package/es/Select/SelectRealList.vue.js +1 -0
  175. package/es/Select/SelectView.vue.js +1 -0
  176. package/es/Select/SelectVirtualList.vue.js +1 -0
  177. package/es/Select/hooks/useContext.js +1 -0
  178. package/es/Select/hooks/useSelectOptions.js +1 -0
  179. package/es/Select/index.d.ts +14 -14
  180. package/es/Skeleton/SkeletonLine.vue.js +1 -0
  181. package/es/Skeleton/SkeletonShape.vue.js +1 -0
  182. package/es/Slider/Slider.vue.d.ts +3 -3
  183. package/es/Slider/SliderBtn.vue.js +1 -0
  184. package/es/Slider/hooks/useContext.js +1 -0
  185. package/es/Slider/hooks/useSliderDraggable.js +1 -0
  186. package/es/Slider/index.d.ts +9 -9
  187. package/es/Space/index.d.ts +3 -3
  188. package/es/Space/index.vue.d.ts +1 -1
  189. package/es/Space/index.vue.js +1 -0
  190. package/es/Spin/index.d.ts +3 -3
  191. package/es/Spin/index.vue.d.ts +1 -1
  192. package/es/Spin/index.vue.js +1 -0
  193. package/es/Split/index.d.ts +6 -6
  194. package/es/Split/index.vue.d.ts +2 -2
  195. package/es/Split/index.vue.js +1 -0
  196. package/es/Statistic/Countdown.vue.d.ts +2 -2
  197. package/es/Statistic/Countdown.vue.js +1 -0
  198. package/es/Statistic/Statistic.vue.d.ts +2 -2
  199. package/es/Statistic/Statistic.vue.js +1 -0
  200. package/es/Statistic/index.d.ts +12 -12
  201. package/es/Steps/Step.vue.d.ts +1 -1
  202. package/es/Steps/Step.vue.js +1 -0
  203. package/es/Steps/Steps.vue.d.ts +1 -1
  204. package/es/Steps/hooks/useContext.js +1 -0
  205. package/es/Steps/index.d.ts +6 -6
  206. package/es/Switch/index.d.ts +6 -6
  207. package/es/Switch/index.vue.d.ts +2 -2
  208. package/es/Switch/index.vue.js +1 -0
  209. package/es/Tabs/TabButton.vue.js +1 -0
  210. package/es/Tabs/TabPane.vue.js +1 -0
  211. package/es/Tabs/Tabs.vue.d.ts +3 -3
  212. package/es/Tabs/Tabs.vue.js +1 -0
  213. package/es/Tabs/TabsNavInk.vue.js +1 -0
  214. package/es/Tabs/TabsTab.vue.js +1 -0
  215. package/es/Tabs/hooks/useContext.js +1 -0
  216. package/es/Tabs/hooks/useTabsScroll.js +1 -0
  217. package/es/Tabs/index.d.ts +8 -8
  218. package/es/Tag/index.d.ts +3 -3
  219. package/es/Tag/index.vue.d.ts +1 -1
  220. package/es/Tag/index.vue.js +1 -0
  221. package/es/Textarea/hooks/useTextareaHeight.js +1 -0
  222. package/es/Textarea/index.d.ts +6 -6
  223. package/es/Textarea/index.vue.d.ts +2 -2
  224. package/es/Textarea/index.vue.js +1 -0
  225. package/es/TimePicker/TimePicker.vue.d.ts +3 -3
  226. package/es/TimePicker/TimePicker.vue.js +6 -6
  227. package/es/TimePicker/TimePickerPanel.vue.js +10 -10
  228. package/es/TimePicker/hooks/useContext.d.ts +1 -0
  229. package/es/TimePicker/hooks/useContext.js +11 -2
  230. package/es/TimePicker/index.d.ts +9 -9
  231. package/es/Timeline/TimelineItemPending.vue.js +1 -0
  232. package/es/Timeline/hooks/useContext.js +1 -0
  233. package/es/Tooltip/index.vue.js +1 -0
  234. package/es/Transfer/Transfer.vue.js +1 -0
  235. package/es/Transfer/TransferPanel.vue.js +1 -0
  236. package/es/Transfer/hooks/useContext.js +1 -0
  237. package/es/Trigger/hooks/useContext.js +1 -0
  238. package/es/Trigger/hooks/useTriggerPosition.js +1 -0
  239. package/es/Trigger/hooks/useTriggerVisible.js +1 -0
  240. package/es/Trigger/index.vue.js +1 -0
  241. package/es/Typography/TypographyBase.vue.d.ts +19 -19
  242. package/es/Typography/TypographyBase.vue.js +2 -1
  243. package/es/VerificationCode/index.d.ts +6 -6
  244. package/es/VerificationCode/index.vue.d.ts +2 -2
  245. package/es/VerificationCode/index.vue.js +1 -0
  246. package/es/Watermark/index.d.ts +3 -3
  247. package/es/Watermark/index.vue.d.ts +1 -1
  248. package/es/Watermark/index.vue.js +1 -0
  249. package/es/_shared/components/ExpandTransition.vue2.js +1 -0
  250. package/es/_shared/components/Icon.vue3.js +1 -0
  251. package/es/_shared/components/IconButton.vue.js +1 -0
  252. package/es/_shared/constants/index.js +1 -0
  253. package/es/_shared/icons/IconFullScreen.vue.js +1 -17
  254. package/es/_shared/icons/IconFullScreen.vue2.js +17 -1
  255. package/es/_shared/icons/IconOriginSize.vue.js +1 -23
  256. package/es/_shared/icons/IconOriginSize.vue2.js +23 -1
  257. package/es/_shared/icons/IconRotateLeft.vue.js +1 -17
  258. package/es/_shared/icons/IconRotateLeft.vue2.js +17 -1
  259. package/es/_shared/icons/IconRotateRight.vue.js +1 -17
  260. package/es/_shared/icons/IconRotateRight.vue2.js +17 -1
  261. package/es/_shared/icons/IconSeparator.vue.js +17 -1
  262. package/es/_shared/icons/IconSeparator.vue2.js +1 -17
  263. package/es/_shared/icons/IconZoomIn.vue.js +1 -17
  264. package/es/_shared/icons/IconZoomIn.vue2.js +17 -1
  265. package/es/_shared/icons/IconZoomOut.vue.js +1 -17
  266. package/es/_shared/icons/IconZoomOut.vue2.js +17 -1
  267. package/es/_shared/utils/control.js +1 -0
  268. package/es/_shared/utils/global-config.d.ts +3 -1
  269. package/es/_shared/utils/global-config.js +4 -0
  270. package/es/_shared/utils/index.d.ts +1 -0
  271. package/es/_shared/utils/locale.d.ts +22 -0
  272. package/es/_shared/utils/locale.js +39 -0
  273. package/es/index.d.ts +27 -27
  274. package/es/index.js +0 -2
  275. package/es/lang/ar-eg.js +156 -0
  276. package/es/lang/de-de.js +157 -0
  277. package/es/lang/en-us.js +161 -0
  278. package/es/lang/es-es.js +156 -0
  279. package/es/lang/fr-fr.js +158 -0
  280. package/es/lang/id-id.js +157 -0
  281. package/es/lang/it-it.js +157 -0
  282. package/es/lang/ja-jp.js +204 -0
  283. package/es/lang/km-kh.js +156 -0
  284. package/es/lang/ko-kr.js +156 -0
  285. package/es/lang/ms-my.js +156 -0
  286. package/es/lang/nl-nl.js +204 -0
  287. package/es/lang/pt-pt.js +156 -0
  288. package/es/lang/ru-ru.js +204 -0
  289. package/es/lang/th-th.js +156 -0
  290. package/es/lang/vi-vn.js +156 -0
  291. package/es/lang/zh-cn.js +204 -0
  292. package/es/lang/zh-tw.js +204 -0
  293. package/es/public/lang/zh-cn.js +202 -0
  294. package/lib/Affix/index.vue.js +1 -1
  295. package/lib/Alert/index.d.ts +3 -3
  296. package/lib/Alert/index.vue.d.ts +1 -1
  297. package/lib/Alert/index.vue.js +1 -1
  298. package/lib/Anchor/Anchor.vue.js +1 -1
  299. package/lib/Anchor/AnchorLink.vue.js +1 -1
  300. package/lib/Anchor/hooks/useContext.js +1 -1
  301. package/lib/AutoComplete/index.d.ts +19 -19
  302. package/lib/AutoComplete/index.vue.d.ts +33 -33
  303. package/lib/AutoComplete/index.vue.js +1 -1
  304. package/lib/Avatar/Avatar.vue.d.ts +2 -2
  305. package/lib/Avatar/Avatar.vue.js +1 -1
  306. package/lib/Avatar/AvatarGroup.vue.js +1 -1
  307. package/lib/Avatar/index.d.ts +5 -5
  308. package/lib/BackTop/index.vue.js +1 -1
  309. package/lib/Badge/index.vue.js +1 -1
  310. package/lib/Breadcrumb/Breadcrumb.vue.js +1 -1
  311. package/lib/Breadcrumb/BreadcrumbItem.vue.js +1 -1
  312. package/lib/Breadcrumb/BreadcrumbMore.vue.js +1 -1
  313. package/lib/Breadcrumb/BreadcrumbSeparator.vue.js +1 -1
  314. package/lib/Button/Button.vue.d.ts +3 -3
  315. package/lib/Button/ButtonGroup.vue.d.ts +1 -1
  316. package/lib/Button/hooks/useContext.js +1 -1
  317. package/lib/Button/index.d.ts +12 -12
  318. package/lib/Calendar/Calendar.vue.js +1 -1
  319. package/lib/Calendar/CalendarMonth.vue.d.ts +1 -1
  320. package/lib/Calendar/CalendarMonth.vue.js +1 -1
  321. package/lib/Calendar/CalendarYear.vue.js +1 -1
  322. package/lib/Card/Card.vue.d.ts +1 -1
  323. package/lib/Card/Card.vue.js +1 -1
  324. package/lib/Card/CardMeta.vue.d.ts +1 -1
  325. package/lib/Card/CardMeta.vue.js +1 -1
  326. package/lib/Card/index.d.ts +6 -6
  327. package/lib/Carousel/Carousel.vue.js +1 -1
  328. package/lib/Carousel/CarouselArrow.vue.js +1 -1
  329. package/lib/Carousel/CarouselIndicator.vue.js +1 -1
  330. package/lib/Carousel/hooks/useContext.js +1 -1
  331. package/lib/Cascader/Cascader.vue.d.ts +17 -17
  332. package/lib/Cascader/Cascader.vue.js +1 -1
  333. package/lib/Cascader/CascaderIcon.vue.js +1 -1
  334. package/lib/Cascader/CascaderOption.vue.js +1 -1
  335. package/lib/Cascader/CascaderPanel.vue.js +1 -1
  336. package/lib/Cascader/CascaderSearchPanel.vue.js +1 -1
  337. package/lib/Cascader/hooks/useContext.js +1 -1
  338. package/lib/Cascader/index.d.ts +16 -16
  339. package/lib/Checkbox/Checkbox.vue.js +1 -1
  340. package/lib/Checkbox/CheckboxGroup.vue.d.ts +1 -1
  341. package/lib/Checkbox/hooks/useContext.js +1 -1
  342. package/lib/Checkbox/index.d.ts +3 -3
  343. package/lib/Collapse/CollapseItem.vue.js +1 -1
  344. package/lib/Collapse/hooks/useContext.js +1 -1
  345. package/lib/ColorPicker/ColorControl.vue.js +1 -1
  346. package/lib/ColorPicker/ColorInput.vue.js +1 -1
  347. package/lib/ColorPicker/ColorList.vue.js +1 -1
  348. package/lib/ColorPicker/ColorPalette.vue.js +1 -1
  349. package/lib/ColorPicker/ColorPanel.vue.js +1 -1
  350. package/lib/ColorPicker/hooks/useContext.js +1 -1
  351. package/lib/Comment/index.vue.js +1 -1
  352. package/lib/ConfigProvider/index.d.ts +3 -3
  353. package/lib/ConfigProvider/index.vue.d.ts +1 -1
  354. package/lib/ConfigProvider/index.vue.js +1 -1
  355. package/lib/ConfigProvider/type.d.ts +3 -2
  356. package/lib/Descriptions/ReuseItem.vue.js +1 -1
  357. package/lib/Descriptions/ReuseTd.vue.js +1 -1
  358. package/lib/Descriptions/hooks/useContext.js +1 -1
  359. package/lib/Divider/index.d.ts +3 -3
  360. package/lib/Divider/index.vue.d.ts +1 -1
  361. package/lib/Divider/index.vue.js +1 -1
  362. package/lib/Drawer/Drawer.vue.d.ts +4 -4
  363. package/lib/Drawer/Drawer.vue.js +1 -1
  364. package/lib/Drawer/DrawerService.vue.d.ts +2 -2
  365. package/lib/Drawer/DrawerService.vue.js +1 -1
  366. package/lib/Drawer/index.d.ts +11 -11
  367. package/lib/Dropdown/Dropdown.vue.js +1 -1
  368. package/lib/Dropdown/DropdownButton.vue.d.ts +1 -1
  369. package/lib/Dropdown/DropdownButton.vue.js +1 -1
  370. package/lib/Dropdown/Dsubmenu.vue.js +1 -1
  371. package/lib/Dropdown/hooks/useContext.js +1 -1
  372. package/lib/Dropdown/index.d.ts +3 -3
  373. package/lib/Empty/index.vue.js +1 -1
  374. package/lib/Grid/Grid.vue.js +1 -1
  375. package/lib/Grid/GridCol.vue.js +1 -1
  376. package/lib/Grid/GridItem.vue.js +1 -1
  377. package/lib/Grid/GridRow.vue.js +1 -1
  378. package/lib/Grid/hooks/useContext.js +1 -1
  379. package/lib/Image/Image.vue.d.ts +2 -2
  380. package/lib/Image/Image.vue.js +1 -1
  381. package/lib/Image/ImagePreview.vue.js +1 -1
  382. package/lib/Image/ImagePreviewArrow.vue.js +1 -1
  383. package/lib/Image/ImagePreviewToolbar.vue.js +1 -1
  384. package/lib/Image/hooks/useContext.js +1 -1
  385. package/lib/Image/index.d.ts +6 -6
  386. package/lib/Input/Input.vue.d.ts +3 -3
  387. package/lib/Input/Input.vue.js +1 -1
  388. package/lib/Input/InputSuffix.vue.js +1 -1
  389. package/lib/Input/hooks/useLimitedInput.js +1 -1
  390. package/lib/Input/index.d.ts +9 -9
  391. package/lib/InputNumber/InputNumber.vue.d.ts +18 -18
  392. package/lib/InputNumber/InputNumber.vue.js +1 -1
  393. package/lib/InputNumber/InputOperaBtn.vue.js +1 -1
  394. package/lib/InputNumber/index.d.ts +19 -19
  395. package/lib/InputTag/index.d.ts +6 -6
  396. package/lib/InputTag/index.vue.d.ts +2 -2
  397. package/lib/InputTag/index.vue.js +1 -1
  398. package/lib/Layout/Layout.vue.js +1 -1
  399. package/lib/Layout/LayoutSider.vue.js +1 -1
  400. package/lib/Layout/hooks/useSiderContext.js +1 -1
  401. package/lib/Link/index.d.ts +3 -3
  402. package/lib/Link/index.vue.d.ts +1 -1
  403. package/lib/Link/index.vue.js +1 -1
  404. package/lib/List/List.vue.d.ts +7 -7
  405. package/lib/List/List.vue.js +1 -1
  406. package/lib/List/ListItemMeta.vue.d.ts +1 -1
  407. package/lib/List/hooks/useScrollReach.js +1 -1
  408. package/lib/List/index.d.ts +9 -9
  409. package/lib/Mention/index.d.ts +22 -22
  410. package/lib/Mention/index.vue.d.ts +39 -39
  411. package/lib/Mention/index.vue.js +1 -1
  412. package/lib/Menu/Menu.vue.js +1 -1
  413. package/lib/Menu/MenuEllipsis.vue.js +1 -1
  414. package/lib/Menu/MenuItem.vue.js +1 -1
  415. package/lib/Menu/MenuItemGroup.vue.js +1 -1
  416. package/lib/Menu/SubMenu.vue.js +1 -1
  417. package/lib/Menu/hooks/useContext.js +1 -1
  418. package/lib/Message/Message.vue.d.ts +1 -1
  419. package/lib/Message/Message.vue.js +1 -1
  420. package/lib/Message/index.d.ts +3 -3
  421. package/lib/Message/index.js +1 -1
  422. package/lib/Modal/Modal.vue.d.ts +4 -4
  423. package/lib/Modal/Modal.vue.js +1 -1
  424. package/lib/Modal/ModalService.vue.d.ts +2 -2
  425. package/lib/Modal/ModalService.vue.js +1 -1
  426. package/lib/Modal/hooks/useModalClose.js +1 -1
  427. package/lib/Modal/hooks/useModalDraggable.js +1 -1
  428. package/lib/Modal/hooks/useOnBeforeClose.js +1 -1
  429. package/lib/Modal/index.d.ts +11 -11
  430. package/lib/Notification/Notification.vue.d.ts +1 -1
  431. package/lib/Notification/Notification.vue.js +1 -1
  432. package/lib/Notification/index.d.ts +3 -3
  433. package/lib/Notification/index.js +1 -1
  434. package/lib/OverflowList/index.d.ts +3 -3
  435. package/lib/OverflowList/index.vue.d.ts +1 -1
  436. package/lib/OverflowList/index.vue.js +1 -1
  437. package/lib/PageHeader/index.vue.js +1 -1
  438. package/lib/Pagination/Pagination.vue.js +1 -1
  439. package/lib/Pagination/PaginationItem.vue.js +1 -1
  440. package/lib/Pagination/hooks/useContext.d.ts +1 -256
  441. package/lib/Pagination/hooks/useContext.js +1 -1
  442. package/lib/Popconfirm/index.d.ts +19 -19
  443. package/lib/Popconfirm/index.vue.d.ts +7 -7
  444. package/lib/Popconfirm/index.vue.js +1 -1
  445. package/lib/Popover/index.vue.js +1 -1
  446. package/lib/Progress/Progress.vue.d.ts +1 -1
  447. package/lib/Progress/Progress.vue.js +1 -1
  448. package/lib/Progress/ProgressCircle.vue.js +1 -1
  449. package/lib/Progress/ProgressLine.vue.js +1 -1
  450. package/lib/Progress/ProgressSteps.vue.js +1 -1
  451. package/lib/Progress/index.d.ts +3 -3
  452. package/lib/Radio/Radio.vue.d.ts +1 -1
  453. package/lib/Radio/Radio.vue.js +1 -1
  454. package/lib/Radio/RadioGroup.vue.d.ts +1 -1
  455. package/lib/Radio/hooks/useContext.js +1 -1
  456. package/lib/Radio/index.d.ts +6 -6
  457. package/lib/Rate/index.vue.js +1 -1
  458. package/lib/ResizeBox/index.vue.js +1 -1
  459. package/lib/Scrollbar/Scrollbar.vue.d.ts +1 -1
  460. package/lib/Scrollbar/Scrollbar.vue.js +1 -1
  461. package/lib/Scrollbar/ScrollbarTrack.vue.js +1 -1
  462. package/lib/Scrollbar/index.d.ts +3 -3
  463. package/lib/Select/Option.vue.js +1 -1
  464. package/lib/Select/Select.vue.d.ts +26 -26
  465. package/lib/Select/Select.vue.js +1 -1
  466. package/lib/Select/SelectIcon.vue.js +1 -1
  467. package/lib/Select/SelectRealList.vue.js +1 -1
  468. package/lib/Select/SelectView.vue.js +1 -1
  469. package/lib/Select/SelectVirtualList.vue.js +1 -1
  470. package/lib/Select/hooks/useContext.js +1 -1
  471. package/lib/Select/hooks/useSelectOptions.js +1 -1
  472. package/lib/Select/index.d.ts +14 -14
  473. package/lib/Skeleton/SkeletonLine.vue.js +1 -1
  474. package/lib/Skeleton/SkeletonShape.vue.js +1 -1
  475. package/lib/Slider/Slider.vue.d.ts +3 -3
  476. package/lib/Slider/SliderBtn.vue.js +1 -1
  477. package/lib/Slider/hooks/useContext.js +1 -1
  478. package/lib/Slider/hooks/useSliderDraggable.js +1 -1
  479. package/lib/Slider/index.d.ts +9 -9
  480. package/lib/Space/index.d.ts +3 -3
  481. package/lib/Space/index.vue.d.ts +1 -1
  482. package/lib/Space/index.vue.js +1 -1
  483. package/lib/Spin/index.d.ts +3 -3
  484. package/lib/Spin/index.vue.d.ts +1 -1
  485. package/lib/Spin/index.vue.js +1 -1
  486. package/lib/Split/index.d.ts +6 -6
  487. package/lib/Split/index.vue.d.ts +2 -2
  488. package/lib/Split/index.vue.js +1 -1
  489. package/lib/Statistic/Countdown.vue.d.ts +2 -2
  490. package/lib/Statistic/Countdown.vue.js +1 -1
  491. package/lib/Statistic/Statistic.vue.d.ts +2 -2
  492. package/lib/Statistic/Statistic.vue.js +1 -1
  493. package/lib/Statistic/index.d.ts +12 -12
  494. package/lib/Steps/Step.vue.d.ts +1 -1
  495. package/lib/Steps/Step.vue.js +1 -1
  496. package/lib/Steps/Steps.vue.d.ts +1 -1
  497. package/lib/Steps/hooks/useContext.js +1 -1
  498. package/lib/Steps/index.d.ts +6 -6
  499. package/lib/Switch/index.d.ts +6 -6
  500. package/lib/Switch/index.vue.d.ts +2 -2
  501. package/lib/Switch/index.vue.js +1 -1
  502. package/lib/Tabs/TabButton.vue.js +1 -1
  503. package/lib/Tabs/TabPane.vue.js +1 -1
  504. package/lib/Tabs/Tabs.vue.d.ts +3 -3
  505. package/lib/Tabs/Tabs.vue.js +1 -1
  506. package/lib/Tabs/TabsNavInk.vue.js +1 -1
  507. package/lib/Tabs/TabsTab.vue.js +1 -1
  508. package/lib/Tabs/hooks/useContext.js +1 -1
  509. package/lib/Tabs/hooks/useTabsScroll.js +1 -1
  510. package/lib/Tabs/index.d.ts +8 -8
  511. package/lib/Tag/index.d.ts +3 -3
  512. package/lib/Tag/index.vue.d.ts +1 -1
  513. package/lib/Tag/index.vue.js +1 -1
  514. package/lib/Textarea/hooks/useTextareaHeight.js +1 -1
  515. package/lib/Textarea/index.d.ts +6 -6
  516. package/lib/Textarea/index.vue.d.ts +2 -2
  517. package/lib/Textarea/index.vue.js +1 -1
  518. package/lib/TimePicker/TimePicker.vue.d.ts +3 -3
  519. package/lib/TimePicker/TimePicker.vue.js +1 -1
  520. package/lib/TimePicker/TimePickerPanel.vue.js +1 -1
  521. package/lib/TimePicker/hooks/useContext.d.ts +1 -0
  522. package/lib/TimePicker/hooks/useContext.js +1 -1
  523. package/lib/TimePicker/index.d.ts +9 -9
  524. package/lib/Timeline/TimelineItemPending.vue.js +1 -1
  525. package/lib/Timeline/hooks/useContext.js +1 -1
  526. package/lib/Tooltip/index.vue.js +1 -1
  527. package/lib/Transfer/Transfer.vue.js +1 -1
  528. package/lib/Transfer/TransferPanel.vue.js +1 -1
  529. package/lib/Transfer/hooks/useContext.js +1 -1
  530. package/lib/Trigger/hooks/useContext.js +1 -1
  531. package/lib/Trigger/hooks/useTriggerPosition.js +1 -1
  532. package/lib/Trigger/hooks/useTriggerVisible.js +1 -1
  533. package/lib/Trigger/index.vue.js +1 -1
  534. package/lib/Typography/TypographyBase.vue.d.ts +19 -19
  535. package/lib/Typography/TypographyBase.vue.js +1 -1
  536. package/lib/VerificationCode/index.d.ts +6 -6
  537. package/lib/VerificationCode/index.vue.d.ts +2 -2
  538. package/lib/VerificationCode/index.vue.js +1 -1
  539. package/lib/Watermark/index.d.ts +3 -3
  540. package/lib/Watermark/index.vue.d.ts +1 -1
  541. package/lib/Watermark/index.vue.js +1 -1
  542. package/lib/_shared/components/ExpandTransition.vue2.js +1 -1
  543. package/lib/_shared/components/Icon.vue3.js +1 -1
  544. package/lib/_shared/components/IconButton.vue.js +1 -1
  545. package/lib/_shared/constants/index.js +1 -1
  546. package/lib/_shared/icons/IconFullScreen.vue.js +1 -1
  547. package/lib/_shared/icons/IconFullScreen.vue2.js +1 -1
  548. package/lib/_shared/icons/IconOriginSize.vue.js +1 -1
  549. package/lib/_shared/icons/IconOriginSize.vue2.js +1 -1
  550. package/lib/_shared/icons/IconRotateLeft.vue.js +1 -1
  551. package/lib/_shared/icons/IconRotateLeft.vue2.js +1 -1
  552. package/lib/_shared/icons/IconRotateRight.vue.js +1 -1
  553. package/lib/_shared/icons/IconRotateRight.vue2.js +1 -1
  554. package/lib/_shared/icons/IconSeparator.vue.js +1 -1
  555. package/lib/_shared/icons/IconSeparator.vue2.js +1 -1
  556. package/lib/_shared/icons/IconZoomIn.vue.js +1 -1
  557. package/lib/_shared/icons/IconZoomIn.vue2.js +1 -1
  558. package/lib/_shared/icons/IconZoomOut.vue.js +1 -1
  559. package/lib/_shared/icons/IconZoomOut.vue2.js +1 -1
  560. package/lib/_shared/utils/control.js +1 -1
  561. package/lib/_shared/utils/global-config.d.ts +3 -1
  562. package/lib/_shared/utils/global-config.js +1 -1
  563. package/lib/_shared/utils/index.d.ts +1 -0
  564. package/lib/_shared/utils/locale.d.ts +22 -0
  565. package/lib/_shared/utils/locale.js +1 -0
  566. package/lib/index.d.ts +27 -27
  567. package/lib/index.js +1 -1
  568. package/lib/lang/ar-eg.js +156 -0
  569. package/lib/lang/de-de.js +157 -0
  570. package/lib/lang/en-us.js +161 -0
  571. package/lib/lang/es-es.js +156 -0
  572. package/lib/lang/fr-fr.js +158 -0
  573. package/lib/lang/id-id.js +157 -0
  574. package/lib/lang/it-it.js +157 -0
  575. package/lib/lang/ja-jp.js +204 -0
  576. package/lib/lang/km-kh.js +156 -0
  577. package/lib/lang/ko-kr.js +156 -0
  578. package/lib/lang/ms-my.js +156 -0
  579. package/lib/lang/nl-nl.js +204 -0
  580. package/lib/lang/pt-pt.js +156 -0
  581. package/lib/lang/ru-ru.js +204 -0
  582. package/lib/lang/th-th.js +156 -0
  583. package/lib/lang/vi-vn.js +156 -0
  584. package/lib/lang/zh-cn.js +204 -0
  585. package/lib/lang/zh-tw.js +204 -0
  586. package/lib/public/lang/zh-cn.js +1 -0
  587. package/package.json +2 -4
  588. package/es/_shared/locale/i18n.d.ts +0 -512
  589. package/es/_shared/locale/i18n.js +0 -43
  590. package/es/_shared/locale/lang/ar-eg.json.js +0 -251
  591. package/es/_shared/locale/lang/de-de.json.d.ts +0 -207
  592. package/es/_shared/locale/lang/de-de.json.js +0 -251
  593. package/es/_shared/locale/lang/en-us.json.d.ts +0 -210
  594. package/es/_shared/locale/lang/en-us.json.js +0 -256
  595. package/es/_shared/locale/lang/es-es.json.d.ts +0 -207
  596. package/es/_shared/locale/lang/es-es.json.js +0 -251
  597. package/es/_shared/locale/lang/fr-fr.json.d.ts +0 -207
  598. package/es/_shared/locale/lang/fr-fr.json.js +0 -251
  599. package/es/_shared/locale/lang/id-id.json.d.ts +0 -207
  600. package/es/_shared/locale/lang/id-id.json.js +0 -251
  601. package/es/_shared/locale/lang/it-it.json.d.ts +0 -207
  602. package/es/_shared/locale/lang/it-it.json.js +0 -251
  603. package/es/_shared/locale/lang/ja-jp.json.d.ts +0 -255
  604. package/es/_shared/locale/lang/ja-jp.json.js +0 -301
  605. package/es/_shared/locale/lang/km-kh.json.d.ts +0 -207
  606. package/es/_shared/locale/lang/km-kh.json.js +0 -251
  607. package/es/_shared/locale/lang/ko-kr.json.d.ts +0 -207
  608. package/es/_shared/locale/lang/ko-kr.json.js +0 -251
  609. package/es/_shared/locale/lang/ms-my.json.d.ts +0 -207
  610. package/es/_shared/locale/lang/ms-my.json.js +0 -251
  611. package/es/_shared/locale/lang/nl-nl.json.d.ts +0 -255
  612. package/es/_shared/locale/lang/nl-nl.json.js +0 -301
  613. package/es/_shared/locale/lang/pt-pt.json.d.ts +0 -207
  614. package/es/_shared/locale/lang/pt-pt.json.js +0 -251
  615. package/es/_shared/locale/lang/ru-ru.json.d.ts +0 -255
  616. package/es/_shared/locale/lang/ru-ru.json.js +0 -301
  617. package/es/_shared/locale/lang/th-th.json.d.ts +0 -207
  618. package/es/_shared/locale/lang/th-th.json.js +0 -251
  619. package/es/_shared/locale/lang/vi-vn.json.d.ts +0 -207
  620. package/es/_shared/locale/lang/vi-vn.json.js +0 -251
  621. package/es/_shared/locale/lang/zh-cn.d.ts +0 -253
  622. package/es/_shared/locale/lang/zh-cn.json.d.ts +0 -255
  623. package/es/_shared/locale/lang/zh-cn.json.js +0 -301
  624. package/es/_shared/locale/lang/zh-tw.json.d.ts +0 -255
  625. package/es/_shared/locale/lang/zh-tw.json.js +0 -301
  626. package/es/node_modules/@intlify/core-base/dist/core-base.js +0 -1126
  627. package/es/node_modules/@intlify/message-compiler/dist/message-compiler.js +0 -65
  628. package/es/node_modules/@intlify/shared/dist/shared.js +0 -199
  629. package/es/node_modules/@intlify/vue-i18n-core/dist/vue-i18n-core.js +0 -1375
  630. package/es/node_modules/@vue/devtools-api/lib/esm/const.js +0 -6
  631. package/es/node_modules/@vue/devtools-api/lib/esm/env.js +0 -12
  632. package/es/node_modules/@vue/devtools-api/lib/esm/index.js +0 -26
  633. package/es/node_modules/@vue/devtools-api/lib/esm/proxy.js +0 -103
  634. package/es/node_modules/@vue/devtools-api/lib/esm/time.js +0 -25
  635. package/lib/_shared/locale/i18n.d.ts +0 -512
  636. package/lib/_shared/locale/i18n.js +0 -1
  637. package/lib/_shared/locale/lang/ar-eg.json.js +0 -1
  638. package/lib/_shared/locale/lang/de-de.json.d.ts +0 -207
  639. package/lib/_shared/locale/lang/de-de.json.js +0 -1
  640. package/lib/_shared/locale/lang/en-us.json.d.ts +0 -210
  641. package/lib/_shared/locale/lang/en-us.json.js +0 -1
  642. package/lib/_shared/locale/lang/es-es.json.d.ts +0 -207
  643. package/lib/_shared/locale/lang/es-es.json.js +0 -1
  644. package/lib/_shared/locale/lang/fr-fr.json.d.ts +0 -207
  645. package/lib/_shared/locale/lang/fr-fr.json.js +0 -1
  646. package/lib/_shared/locale/lang/id-id.json.d.ts +0 -207
  647. package/lib/_shared/locale/lang/id-id.json.js +0 -1
  648. package/lib/_shared/locale/lang/it-it.json.d.ts +0 -207
  649. package/lib/_shared/locale/lang/it-it.json.js +0 -1
  650. package/lib/_shared/locale/lang/ja-jp.json.d.ts +0 -255
  651. package/lib/_shared/locale/lang/ja-jp.json.js +0 -1
  652. package/lib/_shared/locale/lang/km-kh.json.d.ts +0 -207
  653. package/lib/_shared/locale/lang/km-kh.json.js +0 -1
  654. package/lib/_shared/locale/lang/ko-kr.json.d.ts +0 -207
  655. package/lib/_shared/locale/lang/ko-kr.json.js +0 -1
  656. package/lib/_shared/locale/lang/ms-my.json.d.ts +0 -207
  657. package/lib/_shared/locale/lang/ms-my.json.js +0 -1
  658. package/lib/_shared/locale/lang/nl-nl.json.d.ts +0 -255
  659. package/lib/_shared/locale/lang/nl-nl.json.js +0 -1
  660. package/lib/_shared/locale/lang/pt-pt.json.d.ts +0 -207
  661. package/lib/_shared/locale/lang/pt-pt.json.js +0 -1
  662. package/lib/_shared/locale/lang/ru-ru.json.d.ts +0 -255
  663. package/lib/_shared/locale/lang/ru-ru.json.js +0 -1
  664. package/lib/_shared/locale/lang/th-th.json.d.ts +0 -207
  665. package/lib/_shared/locale/lang/th-th.json.js +0 -1
  666. package/lib/_shared/locale/lang/vi-vn.json.d.ts +0 -207
  667. package/lib/_shared/locale/lang/vi-vn.json.js +0 -1
  668. package/lib/_shared/locale/lang/zh-cn.d.ts +0 -253
  669. package/lib/_shared/locale/lang/zh-cn.json.d.ts +0 -255
  670. package/lib/_shared/locale/lang/zh-cn.json.js +0 -1
  671. package/lib/_shared/locale/lang/zh-tw.json.d.ts +0 -255
  672. package/lib/_shared/locale/lang/zh-tw.json.js +0 -1
  673. package/lib/node_modules/@intlify/core-base/dist/core-base.js +0 -1
  674. package/lib/node_modules/@intlify/message-compiler/dist/message-compiler.js +0 -6
  675. package/lib/node_modules/@intlify/shared/dist/shared.js +0 -7
  676. package/lib/node_modules/@intlify/vue-i18n-core/dist/vue-i18n-core.js +0 -1
  677. package/lib/node_modules/@vue/devtools-api/lib/esm/const.js +0 -1
  678. package/lib/node_modules/@vue/devtools-api/lib/esm/env.js +0 -1
  679. package/lib/node_modules/@vue/devtools-api/lib/esm/index.js +0 -1
  680. package/lib/node_modules/@vue/devtools-api/lib/esm/proxy.js +0 -1
  681. package/lib/node_modules/@vue/devtools-api/lib/esm/time.js +0 -1
@@ -1 +1 @@
1
- "use strict";const e=require("vue");require("../node_modules/tinycolor2/esm/tinycolor.js");const o=require("../_shared/utils/dom.js"),t=require("../_shared/utils/is.js");require("../_shared/utils/time.js"),require("../Empty/index.js");/* empty css */const r=require("./hooks/useContext.js"),l=["href"],n={key:0,class:"yc-anchor-sublist"},s=e.defineComponent({name:"AnchorLink",__name:"AnchorLink",props:{title:{default:""},href:{default:""}},setup(s){const i=s,{href:u}=e.toRefs(i),{smooth:a,boundary:c,changeHash:d,curHref:f,lineLess:h,scrollContainer:m}=r().inject(),v=e=>{if(f.value=u.value,d.value)return;e.preventDefault();const r=o.getElement(u.value);if(r)if(t.isNumber(c.value)&&m.value){const{top:e}=r.getBoundingClientRect(),{top:o}=m.value.getBoundingClientRect(),{scrollTop:t}=m.value;m.value.scrollTo({top:e-o+t-c.value,behavior:a.value?"smooth":"auto"})}else r.scrollIntoView({block:c.value,behavior:a.value?"smooth":"auto"})};return(o,t)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["yc-anchor-link-item",{"yc-anchor-link-active":e.unref(f)==e.unref(u)&&!e.unref(h),"yc-anchor-link-lineless-active":e.unref(f)==e.unref(u)&&e.unref(h)}])},[e.createElementVNode("a",{href:e.unref(u),class:"yc-anchor-link",onClick:v,ref:"linkRef"},[e.renderSlot(o.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(o.title),1)])],8,l),o.$slots.sublist?(e.openBlock(),e.createElementBlock("div",n,[e.renderSlot(o.$slots,"sublist")])):e.createCommentVNode("",!0)],2))}});module.exports=s;
1
+ "use strict";const e=require("vue");require("../node_modules/tinycolor2/esm/tinycolor.js");const o=require("../_shared/utils/dom.js"),t=require("../_shared/utils/is.js");require("../_shared/utils/time.js"),require("../Empty/index.js"),/* empty css */require("../_shared/utils/locale.js");const r=require("./hooks/useContext.js"),l=["href"],s={key:0,class:"yc-anchor-sublist"},n=e.defineComponent({name:"AnchorLink",__name:"AnchorLink",props:{title:{default:""},href:{default:""}},setup(n){const i=n,{href:u}=e.toRefs(i),{smooth:a,boundary:c,changeHash:d,curHref:h,lineLess:f,scrollContainer:m}=r().inject(),v=e=>{if(h.value=u.value,d.value)return;e.preventDefault();const r=o.getElement(u.value);if(r)if(t.isNumber(c.value)&&m.value){const{top:e}=r.getBoundingClientRect(),{top:o}=m.value.getBoundingClientRect(),{scrollTop:t}=m.value;m.value.scrollTo({top:e-o+t-c.value,behavior:a.value?"smooth":"auto"})}else r.scrollIntoView({block:c.value,behavior:a.value?"smooth":"auto"})};return(o,t)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["yc-anchor-link-item",{"yc-anchor-link-active":e.unref(h)==e.unref(u)&&!e.unref(f),"yc-anchor-link-lineless-active":e.unref(h)==e.unref(u)&&e.unref(f)}])},[e.createElementVNode("a",{href:e.unref(u),class:"yc-anchor-link",onClick:v,ref:"linkRef"},[e.renderSlot(o.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(o.title),1)])],8,l),o.$slots.sublist?(e.openBlock(),e.createElementBlock("div",s,[e.renderSlot(o.$slots,"sublist")])):e.createCommentVNode("",!0)],2))}});module.exports=n;
@@ -1 +1 @@
1
- "use strict";const e=require("vue");require("../../node_modules/tinycolor2/esm/tinycolor.js");const r=require("../../_shared/utils/dom.js"),s=require("../../_shared/utils/is.js");require("../../_shared/utils/time.js");const n=require("../../_shared/utils/vue-utils.js");require("../../Empty/index.js");/* empty css */const o=require("../AnchorLink.vue.js");;/* empty css */const t="anchor-context";module.exports=()=>({provide:(i,u)=>{const{changeHash:l,smooth:a,boundary:c,lineLess:d,scrollContainer:h}=e.toRefs(i),m=e.useSlots(),f=e.ref(""),v=e.computed(()=>{var e;return n.findComponentsFromVnodes((null==(e=m.default)?void 0:e.call(m))||[],o.name).map(e=>{var r;return null==(r=e.props)?void 0:r.href})}),j=e.computed(()=>s.isUndefined(h.value)?r.findFirstScrollableParent(u.value):r.getElement(h.value));return e.provide(t,{changeHash:l,smooth:a,boundary:c,lineLess:d,curHref:f,scrollContainer:j}),{hrefs:v,curHref:f,changeHash:l,smooth:a,boundary:c,lineLess:d,scrollContainer:j}},inject:()=>e.inject(t,{changeHash:e.ref(!0),smooth:e.ref(!0),boundary:e.ref("start"),curHref:e.ref(""),lineLess:e.ref(!1),scrollContainer:e.ref()})});
1
+ "use strict";const e=require("vue");require("../../node_modules/tinycolor2/esm/tinycolor.js");const r=require("../../_shared/utils/dom.js"),s=require("../../_shared/utils/is.js");require("../../_shared/utils/time.js");const o=require("../../_shared/utils/vue-utils.js");require("../../Empty/index.js"),/* empty css */require("../../_shared/utils/locale.js");const n=require("../AnchorLink.vue.js");;/* empty css */const t="anchor-context";module.exports=()=>({provide:(i,u)=>{const{changeHash:l,smooth:a,boundary:c,lineLess:d,scrollContainer:h}=e.toRefs(i),m=e.useSlots(),f=e.ref(""),v=e.computed(()=>{var e;return o.findComponentsFromVnodes((null==(e=m.default)?void 0:e.call(m))||[],n.name).map(e=>{var r;return null==(r=e.props)?void 0:r.href})}),j=e.computed(()=>s.isUndefined(h.value)?r.findFirstScrollableParent(u.value):r.getElement(h.value));return e.provide(t,{changeHash:l,smooth:a,boundary:c,lineLess:d,curHref:f,scrollContainer:j}),{hrefs:v,curHref:f,changeHash:l,smooth:a,boundary:c,lineLess:d,scrollContainer:j}},inject:()=>e.inject(t,{changeHash:e.ref(!0),smooth:e.ref(!0),boundary:e.ref("start"),curHref:e.ref(""),lineLess:e.ref(!1),scrollContainer:e.ref()})});
@@ -34,10 +34,10 @@ declare const AutoComplete: {
34
34
  "dropdown-scroll": (ev?: Event | undefined) => any;
35
35
  "dropdown-reach-bottom": (ev?: Event | undefined) => any;
36
36
  }, import('vue').PublicProps, {
37
- type: "textarea" | "input";
38
37
  disabled: boolean;
39
38
  popupContainer: import('..').PopupContainer;
40
39
  strict: boolean;
40
+ type: "textarea" | "input";
41
41
  data: import('..').SelectOptions;
42
42
  modelValue: string;
43
43
  defaultValue: string;
@@ -417,10 +417,10 @@ declare const AutoComplete: {
417
417
  remove: (value: string | number, ev: MouseEvent | KeyboardEvent) => any;
418
418
  "press-enter": (ev: KeyboardEvent) => any;
419
419
  }, string, {
420
- error: boolean;
421
- placeholder: string;
422
420
  size: import('..').Size;
423
421
  disabled: boolean;
422
+ error: boolean;
423
+ placeholder: string;
424
424
  modelValue: import('..').InputTagValue;
425
425
  defaultValue: import('..').InputTagValue;
426
426
  allowClear: boolean;
@@ -454,10 +454,10 @@ declare const AutoComplete: {
454
454
  $nextTick: typeof import('vue').nextTick;
455
455
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
456
456
  } & Readonly<{
457
- error: boolean;
458
- placeholder: string;
459
457
  size: import('..').Size;
460
458
  disabled: boolean;
459
+ error: boolean;
460
+ placeholder: string;
461
461
  modelValue: import('..').InputTagValue;
462
462
  defaultValue: import('..').InputTagValue;
463
463
  allowClear: boolean;
@@ -480,7 +480,7 @@ declare const AutoComplete: {
480
480
  "onInput-value-change"?: ((value: string, ev: Event) => any) | undefined;
481
481
  onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
482
482
  "onPress-enter"?: ((ev: KeyboardEvent) => any) | undefined;
483
- }>, "focus" | "blur" | ("error" | "placeholder" | "size" | "disabled" | "modelValue" | "defaultValue" | "allowClear" | "readonly" | "inputValue" | "defaultInputValue" | "fieldNames" | "allowCreate" | "maxTagCount" | "tagNowrap" | "retainInputValue" | "uniqueValue")> & import('vue').ShallowUnwrapRef<{
483
+ }>, "focus" | "blur" | ("size" | "disabled" | "error" | "placeholder" | "modelValue" | "defaultValue" | "allowClear" | "readonly" | "inputValue" | "defaultInputValue" | "fieldNames" | "allowCreate" | "maxTagCount" | "tagNowrap" | "retainInputValue" | "uniqueValue")> & import('vue').ShallowUnwrapRef<{
484
484
  focus(): void;
485
485
  blur(): void;
486
486
  }> & {} & import('vue').ComponentCustomProperties & {} & {
@@ -528,16 +528,16 @@ declare const AutoComplete: {
528
528
  "dropdown-scroll": (ev: Event) => any;
529
529
  "dropdown-reach-bottom": (ev: Event) => any;
530
530
  }, string, {
531
- loading: boolean;
532
- error: boolean;
533
- placeholder: string;
534
531
  size: import('..').Size;
535
532
  popupVisible: boolean;
536
533
  defaultPopupVisible: boolean;
537
534
  disabled: boolean;
538
535
  popupContainer: import('..').PopupContainer;
536
+ loading: boolean;
537
+ error: boolean;
539
538
  scrollbar: boolean;
540
539
  multiple: boolean;
540
+ placeholder: string;
541
541
  bordered: boolean;
542
542
  modelValue: import('..').SelectValue;
543
543
  defaultValue: import('..').SelectValue;
@@ -581,16 +581,16 @@ declare const AutoComplete: {
581
581
  $nextTick: typeof import('vue').nextTick;
582
582
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
583
583
  } & Readonly<{
584
- loading: boolean;
585
- error: boolean;
586
- placeholder: string;
587
584
  size: import('..').Size;
588
585
  popupVisible: boolean;
589
586
  defaultPopupVisible: boolean;
590
587
  disabled: boolean;
591
588
  popupContainer: import('..').PopupContainer;
589
+ loading: boolean;
590
+ error: boolean;
592
591
  scrollbar: boolean;
593
592
  multiple: boolean;
593
+ placeholder: string;
594
594
  bordered: boolean;
595
595
  modelValue: import('..').SelectValue;
596
596
  defaultValue: import('..').SelectValue;
@@ -627,7 +627,7 @@ declare const AutoComplete: {
627
627
  onExceedLimit?: ((value: import('..').SelectValue, ev?: MouseEvent | undefined) => any) | undefined;
628
628
  "onDropdown-scroll"?: ((ev: Event) => any) | undefined;
629
629
  "onDropdown-reach-bottom"?: ((ev: Event) => any) | undefined;
630
- }>, "focus" | "blur" | ("loading" | "error" | "placeholder" | "size" | "popupVisible" | "defaultPopupVisible" | "disabled" | "popupContainer" | "scrollbar" | "multiple" | "bordered" | "modelValue" | "defaultValue" | "allowClear" | "showExtraOptions" | "options" | "limit" | "inputValue" | "defaultInputValue" | "fieldNames" | "allowSearch" | "valueKey" | "showEmpty" | "allowCreate" | "maxTagCount" | "filterOption" | "virtualListProps" | "triggerProps" | "searchDelay" | "showHeaderOnEmpty" | "showFooterOnEmpty" | "tagNowrap") | "getPopupRef"> & import('vue').ShallowUnwrapRef<{
630
+ }>, "focus" | "blur" | ("size" | "popupVisible" | "defaultPopupVisible" | "disabled" | "popupContainer" | "loading" | "error" | "scrollbar" | "multiple" | "placeholder" | "bordered" | "modelValue" | "defaultValue" | "allowClear" | "showExtraOptions" | "options" | "limit" | "inputValue" | "defaultInputValue" | "fieldNames" | "allowSearch" | "valueKey" | "showEmpty" | "allowCreate" | "maxTagCount" | "filterOption" | "virtualListProps" | "triggerProps" | "searchDelay" | "showHeaderOnEmpty" | "showFooterOnEmpty" | "tagNowrap") | "getPopupRef"> & import('vue').ShallowUnwrapRef<{
631
631
  focus(): void;
632
632
  blur(): void;
633
633
  getPopupRef(): import('..').TriggerInstance;
@@ -656,12 +656,12 @@ declare const AutoComplete: {
656
656
  keydown: (ev: KeyboardEvent) => any;
657
657
  "update:modelValue": (value: string) => any;
658
658
  }, import('vue').PublicProps, {
659
+ disabled: boolean;
659
660
  error: import('..').AutoSize;
660
661
  placeholder: string;
661
- maxLength: import('..').MaxLength;
662
- disabled: boolean;
663
662
  modelValue: string;
664
663
  defaultValue: string;
664
+ maxLength: import('..').MaxLength;
665
665
  showWordLimit: boolean;
666
666
  allowClear: boolean;
667
667
  readonly: boolean;
@@ -694,12 +694,12 @@ declare const AutoComplete: {
694
694
  getInputRef(): HTMLTextAreaElement;
695
695
  getMirrorRef(): HTMLDivElement;
696
696
  }, {}, {}, {}, {
697
+ disabled: boolean;
697
698
  error: import('..').AutoSize;
698
699
  placeholder: string;
699
- maxLength: import('..').MaxLength;
700
- disabled: boolean;
701
700
  modelValue: string;
702
701
  defaultValue: string;
702
+ maxLength: import('..').MaxLength;
703
703
  showWordLimit: boolean;
704
704
  allowClear: boolean;
705
705
  readonly: boolean;
@@ -735,10 +735,10 @@ declare const AutoComplete: {
735
735
  getMirrorRef(): HTMLDivElement | undefined;
736
736
  updatePosition(x: number, y: number): void;
737
737
  }, {}, {}, {}, {
738
- type: "textarea" | "input";
739
738
  disabled: boolean;
740
739
  popupContainer: import('..').PopupContainer;
741
740
  strict: boolean;
741
+ type: "textarea" | "input";
742
742
  data: import('..').SelectOptions;
743
743
  modelValue: string;
744
744
  defaultValue: string;
@@ -782,10 +782,10 @@ declare const AutoComplete: {
782
782
  "dropdown-scroll": (ev?: Event | undefined) => any;
783
783
  "dropdown-reach-bottom": (ev?: Event | undefined) => any;
784
784
  }, string, {
785
- type: "textarea" | "input";
786
785
  disabled: boolean;
787
786
  popupContainer: import('..').PopupContainer;
788
787
  strict: boolean;
788
+ type: "textarea" | "input";
789
789
  data: import('..').SelectOptions;
790
790
  modelValue: string;
791
791
  defaultValue: string;
@@ -375,10 +375,10 @@ declare function __VLS_template(): {
375
375
  remove: (value: string | number, ev: MouseEvent | KeyboardEvent) => any;
376
376
  "press-enter": (ev: KeyboardEvent) => any;
377
377
  }, string, {
378
- error: boolean;
379
- placeholder: string;
380
378
  size: import('..').Size;
381
379
  disabled: boolean;
380
+ error: boolean;
381
+ placeholder: string;
382
382
  modelValue: import('..').InputTagValue;
383
383
  defaultValue: import('..').InputTagValue;
384
384
  allowClear: boolean;
@@ -412,10 +412,10 @@ declare function __VLS_template(): {
412
412
  $nextTick: typeof nextTick;
413
413
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
414
414
  } & Readonly<{
415
- error: boolean;
416
- placeholder: string;
417
415
  size: import('..').Size;
418
416
  disabled: boolean;
417
+ error: boolean;
418
+ placeholder: string;
419
419
  modelValue: import('..').InputTagValue;
420
420
  defaultValue: import('..').InputTagValue;
421
421
  allowClear: boolean;
@@ -438,7 +438,7 @@ declare function __VLS_template(): {
438
438
  "onInput-value-change"?: ((value: string, ev: Event) => any) | undefined;
439
439
  onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
440
440
  "onPress-enter"?: ((ev: KeyboardEvent) => any) | undefined;
441
- }>, "focus" | "blur" | ("error" | "placeholder" | "size" | "disabled" | "modelValue" | "defaultValue" | "allowClear" | "readonly" | "inputValue" | "defaultInputValue" | "fieldNames" | "allowCreate" | "maxTagCount" | "tagNowrap" | "retainInputValue" | "uniqueValue")> & import('vue').ShallowUnwrapRef<{
441
+ }>, "focus" | "blur" | ("size" | "disabled" | "error" | "placeholder" | "modelValue" | "defaultValue" | "allowClear" | "readonly" | "inputValue" | "defaultInputValue" | "fieldNames" | "allowCreate" | "maxTagCount" | "tagNowrap" | "retainInputValue" | "uniqueValue")> & import('vue').ShallowUnwrapRef<{
442
442
  focus(): void;
443
443
  blur(): void;
444
444
  }> & {} & import('vue').ComponentCustomProperties & {} & {
@@ -486,16 +486,16 @@ declare function __VLS_template(): {
486
486
  "dropdown-scroll": (ev: Event) => any;
487
487
  "dropdown-reach-bottom": (ev: Event) => any;
488
488
  }, string, {
489
- loading: boolean;
490
- error: boolean;
491
- placeholder: string;
492
489
  size: import('..').Size;
493
490
  popupVisible: boolean;
494
491
  defaultPopupVisible: boolean;
495
492
  disabled: boolean;
496
493
  popupContainer: import('..').PopupContainer;
494
+ loading: boolean;
495
+ error: boolean;
497
496
  scrollbar: boolean;
498
497
  multiple: boolean;
498
+ placeholder: string;
499
499
  bordered: boolean;
500
500
  modelValue: import('../Select').SelectValue;
501
501
  defaultValue: import('../Select').SelectValue;
@@ -539,16 +539,16 @@ declare function __VLS_template(): {
539
539
  $nextTick: typeof nextTick;
540
540
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
541
541
  } & Readonly<{
542
- loading: boolean;
543
- error: boolean;
544
- placeholder: string;
545
542
  size: import('..').Size;
546
543
  popupVisible: boolean;
547
544
  defaultPopupVisible: boolean;
548
545
  disabled: boolean;
549
546
  popupContainer: import('..').PopupContainer;
547
+ loading: boolean;
548
+ error: boolean;
550
549
  scrollbar: boolean;
551
550
  multiple: boolean;
551
+ placeholder: string;
552
552
  bordered: boolean;
553
553
  modelValue: import('../Select').SelectValue;
554
554
  defaultValue: import('../Select').SelectValue;
@@ -585,7 +585,7 @@ declare function __VLS_template(): {
585
585
  onExceedLimit?: ((value: import('../Select').SelectValue, ev?: MouseEvent | undefined) => any) | undefined;
586
586
  "onDropdown-scroll"?: ((ev: Event) => any) | undefined;
587
587
  "onDropdown-reach-bottom"?: ((ev: Event) => any) | undefined;
588
- }>, "focus" | "blur" | ("loading" | "error" | "placeholder" | "size" | "popupVisible" | "defaultPopupVisible" | "disabled" | "popupContainer" | "scrollbar" | "multiple" | "bordered" | "modelValue" | "defaultValue" | "allowClear" | "showExtraOptions" | "options" | "limit" | "inputValue" | "defaultInputValue" | "fieldNames" | "allowSearch" | "valueKey" | "showEmpty" | "allowCreate" | "maxTagCount" | "filterOption" | "virtualListProps" | "triggerProps" | "searchDelay" | "showHeaderOnEmpty" | "showFooterOnEmpty" | "tagNowrap") | "getPopupRef"> & import('vue').ShallowUnwrapRef<{
588
+ }>, "focus" | "blur" | ("size" | "popupVisible" | "defaultPopupVisible" | "disabled" | "popupContainer" | "loading" | "error" | "scrollbar" | "multiple" | "placeholder" | "bordered" | "modelValue" | "defaultValue" | "allowClear" | "showExtraOptions" | "options" | "limit" | "inputValue" | "defaultInputValue" | "fieldNames" | "allowSearch" | "valueKey" | "showEmpty" | "allowCreate" | "maxTagCount" | "filterOption" | "virtualListProps" | "triggerProps" | "searchDelay" | "showHeaderOnEmpty" | "showFooterOnEmpty" | "tagNowrap") | "getPopupRef"> & import('vue').ShallowUnwrapRef<{
589
589
  focus(): void;
590
590
  blur(): void;
591
591
  getPopupRef(): import('..').TriggerInstance;
@@ -614,12 +614,12 @@ declare function __VLS_template(): {
614
614
  keydown: (ev: KeyboardEvent) => any;
615
615
  "update:modelValue": (value: string) => any;
616
616
  }, import('vue').PublicProps, {
617
+ disabled: boolean;
617
618
  error: import('../Textarea').AutoSize;
618
619
  placeholder: string;
619
- maxLength: import('../Input').MaxLength;
620
- disabled: boolean;
621
620
  modelValue: string;
622
621
  defaultValue: string;
622
+ maxLength: import('../Input').MaxLength;
623
623
  showWordLimit: boolean;
624
624
  allowClear: boolean;
625
625
  readonly: boolean;
@@ -652,12 +652,12 @@ declare function __VLS_template(): {
652
652
  getInputRef(): HTMLTextAreaElement;
653
653
  getMirrorRef(): HTMLDivElement;
654
654
  }, {}, {}, {}, {
655
+ disabled: boolean;
655
656
  error: import('../Textarea').AutoSize;
656
657
  placeholder: string;
657
- maxLength: import('../Input').MaxLength;
658
- disabled: boolean;
659
658
  modelValue: string;
660
659
  defaultValue: string;
660
+ maxLength: import('../Input').MaxLength;
661
661
  showWordLimit: boolean;
662
662
  allowClear: boolean;
663
663
  readonly: boolean;
@@ -702,10 +702,10 @@ declare const __VLS_component: import('vue').DefineComponent<AutoCompleteProps,
702
702
  "onDropdown-scroll"?: ((ev?: Event | undefined) => any) | undefined;
703
703
  "onDropdown-reach-bottom"?: ((ev?: Event | undefined) => any) | undefined;
704
704
  }>, {
705
- type: "textarea" | "input";
706
705
  disabled: boolean;
707
706
  popupContainer: import('..').PopupContainer;
708
707
  strict: boolean;
708
+ type: "textarea" | "input";
709
709
  data: SelectOptions;
710
710
  modelValue: string;
711
711
  defaultValue: string;
@@ -1085,10 +1085,10 @@ declare const __VLS_component: import('vue').DefineComponent<AutoCompleteProps,
1085
1085
  remove: (value: string | number, ev: MouseEvent | KeyboardEvent) => any;
1086
1086
  "press-enter": (ev: KeyboardEvent) => any;
1087
1087
  }, string, {
1088
- error: boolean;
1089
- placeholder: string;
1090
1088
  size: import('..').Size;
1091
1089
  disabled: boolean;
1090
+ error: boolean;
1091
+ placeholder: string;
1092
1092
  modelValue: import('..').InputTagValue;
1093
1093
  defaultValue: import('..').InputTagValue;
1094
1094
  allowClear: boolean;
@@ -1122,10 +1122,10 @@ declare const __VLS_component: import('vue').DefineComponent<AutoCompleteProps,
1122
1122
  $nextTick: typeof nextTick;
1123
1123
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
1124
1124
  } & Readonly<{
1125
- error: boolean;
1126
- placeholder: string;
1127
1125
  size: import('..').Size;
1128
1126
  disabled: boolean;
1127
+ error: boolean;
1128
+ placeholder: string;
1129
1129
  modelValue: import('..').InputTagValue;
1130
1130
  defaultValue: import('..').InputTagValue;
1131
1131
  allowClear: boolean;
@@ -1148,7 +1148,7 @@ declare const __VLS_component: import('vue').DefineComponent<AutoCompleteProps,
1148
1148
  "onInput-value-change"?: ((value: string, ev: Event) => any) | undefined;
1149
1149
  onRemove?: ((value: string | number, ev: MouseEvent | KeyboardEvent) => any) | undefined;
1150
1150
  "onPress-enter"?: ((ev: KeyboardEvent) => any) | undefined;
1151
- }>, "focus" | "blur" | ("error" | "placeholder" | "size" | "disabled" | "modelValue" | "defaultValue" | "allowClear" | "readonly" | "inputValue" | "defaultInputValue" | "fieldNames" | "allowCreate" | "maxTagCount" | "tagNowrap" | "retainInputValue" | "uniqueValue")> & import('vue').ShallowUnwrapRef<{
1151
+ }>, "focus" | "blur" | ("size" | "disabled" | "error" | "placeholder" | "modelValue" | "defaultValue" | "allowClear" | "readonly" | "inputValue" | "defaultInputValue" | "fieldNames" | "allowCreate" | "maxTagCount" | "tagNowrap" | "retainInputValue" | "uniqueValue")> & import('vue').ShallowUnwrapRef<{
1152
1152
  focus(): void;
1153
1153
  blur(): void;
1154
1154
  }> & {} & import('vue').ComponentCustomProperties & {} & {
@@ -1196,16 +1196,16 @@ declare const __VLS_component: import('vue').DefineComponent<AutoCompleteProps,
1196
1196
  "dropdown-scroll": (ev: Event) => any;
1197
1197
  "dropdown-reach-bottom": (ev: Event) => any;
1198
1198
  }, string, {
1199
- loading: boolean;
1200
- error: boolean;
1201
- placeholder: string;
1202
1199
  size: import('..').Size;
1203
1200
  popupVisible: boolean;
1204
1201
  defaultPopupVisible: boolean;
1205
1202
  disabled: boolean;
1206
1203
  popupContainer: import('..').PopupContainer;
1204
+ loading: boolean;
1205
+ error: boolean;
1207
1206
  scrollbar: boolean;
1208
1207
  multiple: boolean;
1208
+ placeholder: string;
1209
1209
  bordered: boolean;
1210
1210
  modelValue: import('../Select').SelectValue;
1211
1211
  defaultValue: import('../Select').SelectValue;
@@ -1249,16 +1249,16 @@ declare const __VLS_component: import('vue').DefineComponent<AutoCompleteProps,
1249
1249
  $nextTick: typeof nextTick;
1250
1250
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
1251
1251
  } & Readonly<{
1252
- loading: boolean;
1253
- error: boolean;
1254
- placeholder: string;
1255
1252
  size: import('..').Size;
1256
1253
  popupVisible: boolean;
1257
1254
  defaultPopupVisible: boolean;
1258
1255
  disabled: boolean;
1259
1256
  popupContainer: import('..').PopupContainer;
1257
+ loading: boolean;
1258
+ error: boolean;
1260
1259
  scrollbar: boolean;
1261
1260
  multiple: boolean;
1261
+ placeholder: string;
1262
1262
  bordered: boolean;
1263
1263
  modelValue: import('../Select').SelectValue;
1264
1264
  defaultValue: import('../Select').SelectValue;
@@ -1295,7 +1295,7 @@ declare const __VLS_component: import('vue').DefineComponent<AutoCompleteProps,
1295
1295
  onExceedLimit?: ((value: import('../Select').SelectValue, ev?: MouseEvent | undefined) => any) | undefined;
1296
1296
  "onDropdown-scroll"?: ((ev: Event) => any) | undefined;
1297
1297
  "onDropdown-reach-bottom"?: ((ev: Event) => any) | undefined;
1298
- }>, "focus" | "blur" | ("loading" | "error" | "placeholder" | "size" | "popupVisible" | "defaultPopupVisible" | "disabled" | "popupContainer" | "scrollbar" | "multiple" | "bordered" | "modelValue" | "defaultValue" | "allowClear" | "showExtraOptions" | "options" | "limit" | "inputValue" | "defaultInputValue" | "fieldNames" | "allowSearch" | "valueKey" | "showEmpty" | "allowCreate" | "maxTagCount" | "filterOption" | "virtualListProps" | "triggerProps" | "searchDelay" | "showHeaderOnEmpty" | "showFooterOnEmpty" | "tagNowrap") | "getPopupRef"> & import('vue').ShallowUnwrapRef<{
1298
+ }>, "focus" | "blur" | ("size" | "popupVisible" | "defaultPopupVisible" | "disabled" | "popupContainer" | "loading" | "error" | "scrollbar" | "multiple" | "placeholder" | "bordered" | "modelValue" | "defaultValue" | "allowClear" | "showExtraOptions" | "options" | "limit" | "inputValue" | "defaultInputValue" | "fieldNames" | "allowSearch" | "valueKey" | "showEmpty" | "allowCreate" | "maxTagCount" | "filterOption" | "virtualListProps" | "triggerProps" | "searchDelay" | "showHeaderOnEmpty" | "showFooterOnEmpty" | "tagNowrap") | "getPopupRef"> & import('vue').ShallowUnwrapRef<{
1299
1299
  focus(): void;
1300
1300
  blur(): void;
1301
1301
  getPopupRef(): import('..').TriggerInstance;
@@ -1324,12 +1324,12 @@ declare const __VLS_component: import('vue').DefineComponent<AutoCompleteProps,
1324
1324
  keydown: (ev: KeyboardEvent) => any;
1325
1325
  "update:modelValue": (value: string) => any;
1326
1326
  }, import('vue').PublicProps, {
1327
+ disabled: boolean;
1327
1328
  error: import('../Textarea').AutoSize;
1328
1329
  placeholder: string;
1329
- maxLength: import('../Input').MaxLength;
1330
- disabled: boolean;
1331
1330
  modelValue: string;
1332
1331
  defaultValue: string;
1332
+ maxLength: import('../Input').MaxLength;
1333
1333
  showWordLimit: boolean;
1334
1334
  allowClear: boolean;
1335
1335
  readonly: boolean;
@@ -1362,12 +1362,12 @@ declare const __VLS_component: import('vue').DefineComponent<AutoCompleteProps,
1362
1362
  getInputRef(): HTMLTextAreaElement;
1363
1363
  getMirrorRef(): HTMLDivElement;
1364
1364
  }, {}, {}, {}, {
1365
+ disabled: boolean;
1365
1366
  error: import('../Textarea').AutoSize;
1366
1367
  placeholder: string;
1367
- maxLength: import('../Input').MaxLength;
1368
- disabled: boolean;
1369
1368
  modelValue: string;
1370
1369
  defaultValue: string;
1370
+ maxLength: import('../Input').MaxLength;
1371
1371
  showWordLimit: boolean;
1372
1372
  allowClear: boolean;
1373
1373
  readonly: boolean;
@@ -1 +1 @@
1
- "use strict";const e=require("vue");require("../node_modules/tinycolor2/esm/tinycolor.js"),require("../_shared/utils/dom.js");const l=require("../_shared/utils/is.js");require("../_shared/utils/time.js"),require("../Empty/index.js");/* empty css */const o=require("../_shared/utils/control.js"),t=require("../Select/index.js"),r=require("../Textarea/index.js"),a=require("../Input/index.js"),u=e.defineComponent({name:"AutoComplete",__name:"index",props:{modelValue:{default:void 0},defaultValue:{default:""},disabled:{type:Boolean,default:!1},data:{default:()=>[]},popupContainer:{default:void 0},strict:{type:Boolean,default:!1},filterOption:{type:Function,default:void 0},triggerProps:{default:()=>({})},allowClear:{type:Boolean,default:!1},vistualListProps:{},isSelectSetValue:{type:Boolean,default:!0},isSearch:{type:Boolean,default:!0},type:{default:"input"}},emits:["update:modelValue","change","search","select","clear","dropdown-scroll","dropdown-reach-bottom","blur","focus","input","keydown"],setup(u,{expose:n,emit:s}){const i=u,d=s,{modelValue:p,defaultValue:c,data:f,strict:v,isSelectSetValue:m,isSearch:g}=e.toRefs(i),{filterOption:y}=i,w=e.ref(),h=e.ref(),b=e.ref(!1),k=o(p,c.value,e=>{d("update:modelValue",e)}),C=e.ref([]),S=async(o,t,r="")=>{switch(o){case"input":{d("input",r,t),d("search",r);const o=[...f.value];await e.nextTick(),JSON.stringify(o)==JSON.stringify(f.value)&&g.value?C.value=f.value.filter(e=>{const o=l.isObject(e)?e:{label:e,value:e};return(null==y?void 0:y(r,o))??((e,l)=>{const o=l.label,t=v.value?o:o.toLowerCase(),r=v.value?e:e.toLowerCase();return null==t?void 0:t.includes(r)})(r,o)}):C.value=f.value,b.value=!!C.value.length}break;case"select":b.value=!1,m.value&&(k.value=r),d("select",r);break;case"focus":b.value=!!C.value.length,d("focus",t);break;case"blur":b.value=!1,d("blur",t);break;case"clear":k.value="",d("clear",t)}};return n({focus(){var e;null==(e=w.value)||e.focus()},blur(){var e;null==(e=w.value)||e.blur()},getInputRef(){var e;return null==(e=w.value)?void 0:e.getInputRef()},getMirrorRef(){var e;return null==(e=w.value)?void 0:e.getMirrorRef()},updatePosition(e,l){var o,t;null==(t=null==(o=h.value)?void 0:o.getPopupRef())||t.updatePosition(e,l)}}),(l,o)=>(e.openBlock(),e.createBlock(e.unref(t.default),{"popup-visible":b.value,options:C.value,"popup-container":l.popupContainer,"trigger-props":l.triggerProps,"virtual-list-props":l.vistualListProps,"show-empty":!1,hotkeys:"",ref_key:"selectRef",ref:h,class:"yc-auto-complete",onDropdownScroll:o[14]||(o[14]=e=>l.$emit("dropdown-scroll",e)),onDropdownReachBottom:o[15]||(o[15]=e=>l.$emit("dropdown-reach-bottom",e)),onSelect:o[16]||(o[16]=e=>S("select",null,e))},e.createSlots({trigger:e.withCtx(()=>[e.renderSlot(l.$slots,"trigger",{},()=>["input"==l.type?(e.openBlock(),e.createBlock(e.unref(a),e.mergeProps({key:0,modelValue:e.unref(k),"onUpdate:modelValue":o[0]||(o[0]=l=>e.isRef(k)?k.value=l:null),disabled:l.disabled,"allow-clear":l.allowClear},l.$attrs,{ref_key:"inputRef",ref:w,onInput:o[1]||(o[1]=(e,l)=>S("input",l,e)),onChange:o[2]||(o[2]=e=>l.$emit("change",e)),onClear:o[3]||(o[3]=e=>S("clear",e)),onKeydown:o[4]||(o[4]=e=>S("keydown",e)),onFocus:o[5]||(o[5]=e=>S("focus",e)),onBlur:o[6]||(o[6]=e=>S("blur",e))}),null,16,["modelValue","disabled","allow-clear"])):(e.openBlock(),e.createBlock(e.unref(r),e.mergeProps({key:1,modelValue:e.unref(k),"onUpdate:modelValue":o[7]||(o[7]=l=>e.isRef(k)?k.value=l:null),disabled:l.disabled,"allow-clear":l.allowClear,"enter-prevent":"","show-mirror":""},l.$attrs,{ref_key:"inputRef",ref:w,onInput:o[8]||(o[8]=(e,l)=>S("input",l,e)),onChange:o[9]||(o[9]=e=>l.$emit("change",e)),onClear:o[10]||(o[10]=e=>S("clear",e)),onKeydown:o[11]||(o[11]=e=>l.$emit("keydown",e)),onFocus:o[12]||(o[12]=e=>S("focus",e)),onBlur:o[13]||(o[13]=e=>S("blur",e))}),null,16,["modelValue","disabled","allow-clear"]))])]),_:2},[l.$slots.option?{name:"option",fn:e.withCtx(o=>[e.renderSlot(l.$slots,"option",e.normalizeProps(e.guardReactiveProps(o)))]),key:"0"}:void 0,l.$slots.footer?{name:"footer",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"footer")]),key:"1"}:void 0]),1032,["popup-visible","options","popup-container","trigger-props","virtual-list-props"]))}});module.exports=u;
1
+ "use strict";const e=require("vue");require("../node_modules/tinycolor2/esm/tinycolor.js"),require("../_shared/utils/dom.js");const l=require("../_shared/utils/is.js");require("../_shared/utils/time.js"),require("../Empty/index.js"),/* empty css */require("../_shared/utils/locale.js");const o=require("../_shared/utils/control.js"),t=require("../Select/index.js"),r=require("../Textarea/index.js"),a=require("../Input/index.js"),u=e.defineComponent({name:"AutoComplete",__name:"index",props:{modelValue:{default:void 0},defaultValue:{default:""},disabled:{type:Boolean,default:!1},data:{default:()=>[]},popupContainer:{default:void 0},strict:{type:Boolean,default:!1},filterOption:{type:Function,default:void 0},triggerProps:{default:()=>({})},allowClear:{type:Boolean,default:!1},vistualListProps:{},isSelectSetValue:{type:Boolean,default:!0},isSearch:{type:Boolean,default:!0},type:{default:"input"}},emits:["update:modelValue","change","search","select","clear","dropdown-scroll","dropdown-reach-bottom","blur","focus","input","keydown"],setup(u,{expose:n,emit:s}){const i=u,d=s,{modelValue:p,defaultValue:c,data:f,strict:v,isSelectSetValue:m,isSearch:g}=e.toRefs(i),{filterOption:y}=i,h=e.ref(),w=e.ref(),b=e.ref(!1),k=o(p,c.value,e=>{d("update:modelValue",e)}),C=e.ref([]),S=async(o,t,r="")=>{switch(o){case"input":{d("input",r,t),d("search",r);const o=[...f.value];await e.nextTick(),JSON.stringify(o)==JSON.stringify(f.value)&&g.value?C.value=f.value.filter(e=>{const o=l.isObject(e)?e:{label:e,value:e};return(null==y?void 0:y(r,o))??((e,l)=>{const o=l.label,t=v.value?o:o.toLowerCase(),r=v.value?e:e.toLowerCase();return null==t?void 0:t.includes(r)})(r,o)}):C.value=f.value,b.value=!!C.value.length}break;case"select":b.value=!1,m.value&&(k.value=r),d("select",r);break;case"focus":b.value=!!C.value.length,d("focus",t);break;case"blur":b.value=!1,d("blur",t);break;case"clear":k.value="",d("clear",t)}};return n({focus(){var e;null==(e=h.value)||e.focus()},blur(){var e;null==(e=h.value)||e.blur()},getInputRef(){var e;return null==(e=h.value)?void 0:e.getInputRef()},getMirrorRef(){var e;return null==(e=h.value)?void 0:e.getMirrorRef()},updatePosition(e,l){var o,t;null==(t=null==(o=w.value)?void 0:o.getPopupRef())||t.updatePosition(e,l)}}),(l,o)=>(e.openBlock(),e.createBlock(e.unref(t.default),{"popup-visible":b.value,options:C.value,"popup-container":l.popupContainer,"trigger-props":l.triggerProps,"virtual-list-props":l.vistualListProps,"show-empty":!1,hotkeys:"",ref_key:"selectRef",ref:w,class:"yc-auto-complete",onDropdownScroll:o[14]||(o[14]=e=>l.$emit("dropdown-scroll",e)),onDropdownReachBottom:o[15]||(o[15]=e=>l.$emit("dropdown-reach-bottom",e)),onSelect:o[16]||(o[16]=e=>S("select",null,e))},e.createSlots({trigger:e.withCtx(()=>[e.renderSlot(l.$slots,"trigger",{},()=>["input"==l.type?(e.openBlock(),e.createBlock(e.unref(a),e.mergeProps({key:0,modelValue:e.unref(k),"onUpdate:modelValue":o[0]||(o[0]=l=>e.isRef(k)?k.value=l:null),disabled:l.disabled,"allow-clear":l.allowClear},l.$attrs,{ref_key:"inputRef",ref:h,onInput:o[1]||(o[1]=(e,l)=>S("input",l,e)),onChange:o[2]||(o[2]=e=>l.$emit("change",e)),onClear:o[3]||(o[3]=e=>S("clear",e)),onKeydown:o[4]||(o[4]=e=>S("keydown",e)),onFocus:o[5]||(o[5]=e=>S("focus",e)),onBlur:o[6]||(o[6]=e=>S("blur",e))}),null,16,["modelValue","disabled","allow-clear"])):(e.openBlock(),e.createBlock(e.unref(r),e.mergeProps({key:1,modelValue:e.unref(k),"onUpdate:modelValue":o[7]||(o[7]=l=>e.isRef(k)?k.value=l:null),disabled:l.disabled,"allow-clear":l.allowClear,"enter-prevent":"","show-mirror":""},l.$attrs,{ref_key:"inputRef",ref:h,onInput:o[8]||(o[8]=(e,l)=>S("input",l,e)),onChange:o[9]||(o[9]=e=>l.$emit("change",e)),onClear:o[10]||(o[10]=e=>S("clear",e)),onKeydown:o[11]||(o[11]=e=>l.$emit("keydown",e)),onFocus:o[12]||(o[12]=e=>S("focus",e)),onBlur:o[13]||(o[13]=e=>S("blur",e))}),null,16,["modelValue","disabled","allow-clear"]))])]),_:2},[l.$slots.option?{name:"option",fn:e.withCtx(o=>[e.renderSlot(l.$slots,"option",e.normalizeProps(e.guardReactiveProps(o)))]),key:"0"}:void 0,l.$slots.footer?{name:"footer",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"footer")]),key:"1"}:void 0]),1032,["popup-visible","options","popup-container","trigger-props","virtual-list-props"]))}});module.exports=u;
@@ -10,12 +10,12 @@ declare function __VLS_template(): {
10
10
  };
11
11
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
12
12
  declare const __VLS_component: import('vue').DefineComponent<AvatarProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
13
- error: (ev: Event) => any;
14
13
  click: (ev: MouseEvent) => any;
14
+ error: (ev: Event) => any;
15
15
  load: (ev: Event) => any;
16
16
  }, string, import('vue').PublicProps, Readonly<AvatarProps> & Readonly<{
17
- onError?: ((ev: Event) => any) | undefined;
18
17
  onClick?: ((ev: MouseEvent) => any) | undefined;
18
+ onError?: ((ev: Event) => any) | undefined;
19
19
  onLoad?: ((ev: Event) => any) | undefined;
20
20
  }>, {
21
21
  size: number;
@@ -1 +1 @@
1
- "use strict";const e=require("vue"),t=require("../node_modules/@vueuse/core/index.js");require("../node_modules/tinycolor2/esm/tinycolor.js");const r=require("../_shared/utils/dom.js");require("../_shared/utils/time.js"),require("../Empty/index.js");/* empty css */const a=require("../_shared/icons/IconImageClose.vue.js"),o=require("./hooks/useContext.js"),l={key:1,class:"yc-avatar-image"},s=["src"],i={key:1,class:"yc-avatar-image-icon"},n=e.defineComponent({name:"Avatar",__name:"Avatar",props:{shape:{default:void 0},imageUrl:{default:""},size:{default:void 0},autoFixFontSize:{type:Boolean,default:void 0},triggerType:{default:"button"},triggerIconStyle:{default:()=>({})},objectFit:{default:"cover"}},emits:["click","error","load"],setup(n,{emit:c}){const u=n,m=c,{size:d,autoFixFontSize:v,shape:y}=o().inject(u),f=e.ref(!1),g=e.ref(1),k=e.ref(),p=e.ref(),h=e.computed(()=>{var e;return null==(e=k.value)?void 0:e.querySelector("img")}),B=e=>{f.value=!0,m("error",e)};return v.value&&t.useResizeObserver(k,()=>{const e=d.value??p.value.offsetWidth,t=e/(k.value.offsetWidth+8);g.value=e&&t<1?t:1}),(t,o)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["yc-avatar",`yc-avatar-shape-${e.unref(y)}`]),style:e.normalizeStyle({width:e.unref(r.valueToPx)(e.unref(d)),height:e.unref(r.valueToPx)(e.unref(d))}),ref_key:"avatarRef",ref:p,onClick:o[1]||(o[1]=e=>t.$emit("click",e))},[t.$slots.default?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass([h.value?"yc-avatar-image":"yc-avatar-text"]),style:e.normalizeStyle({transform:h.value?"":`scale(${g.value}) translateX(-50%)`}),ref_key:"textRef",ref:k},[e.renderSlot(t.$slots,"default")],6)):t.imageUrl?(e.openBlock(),e.createElementBlock("span",l,[f.value?(e.openBlock(),e.createElementBlock("div",i,[e.createVNode(e.unref(a))])):(e.openBlock(),e.createElementBlock("img",{key:0,src:t.imageUrl,style:e.normalizeStyle({objectFit:t.objectFit}),alt:"avatar",onLoad:o[0]||(o[0]=e=>t.$emit("load",e)),onError:B},null,44,s))])):e.createCommentVNode("",!0),t.$slots["trigger-icon"]?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass([{"yc-avatar-trigger-icon-button":"button"==t.triggerType,"yc-avatar-trigger-icon-mask":"mask"==t.triggerType}]),style:e.normalizeStyle(t.triggerIconStyle)},[e.renderSlot(t.$slots,"trigger-icon")],6)):e.createCommentVNode("",!0)],6))}});module.exports=n;
1
+ "use strict";const e=require("vue"),t=require("../node_modules/@vueuse/core/index.js");require("../node_modules/tinycolor2/esm/tinycolor.js");const r=require("../_shared/utils/dom.js");require("../_shared/utils/time.js"),require("../Empty/index.js"),require("../_shared/utils/locale.js");/* empty css */const a=require("../_shared/icons/IconImageClose.vue.js"),o=require("./hooks/useContext.js"),l={key:1,class:"yc-avatar-image"},s=["src"],i={key:1,class:"yc-avatar-image-icon"},n=e.defineComponent({name:"Avatar",__name:"Avatar",props:{shape:{default:void 0},imageUrl:{default:""},size:{default:void 0},autoFixFontSize:{type:Boolean,default:void 0},triggerType:{default:"button"},triggerIconStyle:{default:()=>({})},objectFit:{default:"cover"}},emits:["click","error","load"],setup(n,{emit:c}){const u=n,m=c,{size:d,autoFixFontSize:v,shape:y}=o().inject(u),f=e.ref(!1),g=e.ref(1),k=e.ref(),p=e.ref(),h=e.computed(()=>{var e;return null==(e=k.value)?void 0:e.querySelector("img")}),j=e=>{f.value=!0,m("error",e)};return v.value&&t.useResizeObserver(k,()=>{const e=d.value??p.value.offsetWidth,t=e/(k.value.offsetWidth+8);g.value=e&&t<1?t:1}),(t,o)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["yc-avatar",`yc-avatar-shape-${e.unref(y)}`]),style:e.normalizeStyle({width:e.unref(r.valueToPx)(e.unref(d)),height:e.unref(r.valueToPx)(e.unref(d))}),ref_key:"avatarRef",ref:p,onClick:o[1]||(o[1]=e=>t.$emit("click",e))},[t.$slots.default?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass([h.value?"yc-avatar-image":"yc-avatar-text"]),style:e.normalizeStyle({transform:h.value?"":`scale(${g.value}) translateX(-50%)`}),ref_key:"textRef",ref:k},[e.renderSlot(t.$slots,"default")],6)):t.imageUrl?(e.openBlock(),e.createElementBlock("span",l,[f.value?(e.openBlock(),e.createElementBlock("div",i,[e.createVNode(e.unref(a))])):(e.openBlock(),e.createElementBlock("img",{key:0,src:t.imageUrl,style:e.normalizeStyle({objectFit:t.objectFit}),alt:"avatar",onLoad:o[0]||(o[0]=e=>t.$emit("load",e)),onError:j},null,44,s))])):e.createCommentVNode("",!0),t.$slots["trigger-icon"]?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass([{"yc-avatar-trigger-icon-button":"button"==t.triggerType,"yc-avatar-trigger-icon-mask":"mask"==t.triggerType}]),style:e.normalizeStyle(t.triggerIconStyle)},[e.renderSlot(t.$slots,"trigger-icon")],6)):e.createCommentVNode("",!0)],6))}});module.exports=n;
@@ -1 +1 @@
1
- "use strict";const e=require("vue");require("../node_modules/tinycolor2/esm/tinycolor.js");const t=require("../_shared/utils/dom.js");require("../_shared/utils/time.js");const o=require("../_shared/utils/vue-utils.js");require("../Empty/index.js");/* empty css */const l=require("./hooks/useContext.js"),n=require("./index.js"),r=require("../Popover/index.js"),a={class:"yc-avatar-group"},s=e.defineComponent({name:"AvatarGroup",__name:"AvatarGroup",props:{shape:{default:"round"},size:{default:40},autoFixFontSize:{type:Boolean,default:!0},maxCount:{default:0},zIndexAscend:{type:Boolean,default:!1},maxStyle:{default:()=>({})},maxPopoverTriggerProps:{default:()=>({})}},setup(s){const u=e.useSlots(),i=s,{maxCount:d}=e.toRefs(i);l().provide(i);const c=e.computed(()=>{var e;const t=o.findComponentsFromVnodes((null==(e=u.default)?void 0:e.call(u))||[],n.default.name);return{visible:d.value>0?t.slice(0,d.value):t,hide:t.slice(d.value)}});return(o,l)=>(e.openBlock(),e.createElementBlock("div",a,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value.visible,(l,n)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(l),{key:n,style:e.normalizeStyle({zIndex:o.zIndexAscend?n+1:c.value.visible.length-n,marginLeft:n?e.unref(t.valueToPx)(-o.size/4):""})},null,8,["style"]))),128)),e.unref(d)>0&&c.value.hide.length?(e.openBlock(),e.createBlock(e.unref(r),{key:0,"trigger-props":o.maxPopoverTriggerProps},{content:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value.hide,(l,n)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(l),{key:n,style:e.normalizeStyle({border:"2px solid #fff",zIndex:o.zIndexAscend?n+1:c.value.hide.length-n,marginLeft:n?e.unref(t.valueToPx)(-o.size/4):""})},null,8,["style"]))),128))]),default:e.withCtx(()=>[e.createVNode(e.unref(n.default),{style:e.normalizeStyle({zIndex:o.zIndexAscend?c.value.visible.length:0,marginLeft:e.unref(t.valueToPx)(-o.size/4),...o.maxStyle})},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(`+${c.value.hide.length}`),1)]),_:1},8,["style"])]),_:1},8,["trigger-props"])):e.createCommentVNode("",!0)]))}});module.exports=s;
1
+ "use strict";const e=require("vue");require("../node_modules/tinycolor2/esm/tinycolor.js");const t=require("../_shared/utils/dom.js");require("../_shared/utils/time.js");const l=require("../_shared/utils/vue-utils.js");require("../Empty/index.js"),/* empty css */require("../_shared/utils/locale.js");const o=require("./hooks/useContext.js"),r=require("./index.js"),n=require("../Popover/index.js"),s={class:"yc-avatar-group"},a=e.defineComponent({name:"AvatarGroup",__name:"AvatarGroup",props:{shape:{default:"round"},size:{default:40},autoFixFontSize:{type:Boolean,default:!0},maxCount:{default:0},zIndexAscend:{type:Boolean,default:!1},maxStyle:{default:()=>({})},maxPopoverTriggerProps:{default:()=>({})}},setup(a){const u=e.useSlots(),i=a,{maxCount:d}=e.toRefs(i);o().provide(i);const c=e.computed(()=>{var e;const t=l.findComponentsFromVnodes((null==(e=u.default)?void 0:e.call(u))||[],r.default.name);return{visible:d.value>0?t.slice(0,d.value):t,hide:t.slice(d.value)}});return(l,o)=>(e.openBlock(),e.createElementBlock("div",s,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value.visible,(o,r)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(o),{key:r,style:e.normalizeStyle({zIndex:l.zIndexAscend?r+1:c.value.visible.length-r,marginLeft:r?e.unref(t.valueToPx)(-l.size/4):""})},null,8,["style"]))),128)),e.unref(d)>0&&c.value.hide.length?(e.openBlock(),e.createBlock(e.unref(n),{key:0,"trigger-props":l.maxPopoverTriggerProps},{content:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value.hide,(o,r)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(o),{key:r,style:e.normalizeStyle({border:"2px solid #fff",zIndex:l.zIndexAscend?r+1:c.value.hide.length-r,marginLeft:r?e.unref(t.valueToPx)(-l.size/4):""})},null,8,["style"]))),128))]),default:e.withCtx(()=>[e.createVNode(e.unref(r.default),{style:e.normalizeStyle({zIndex:l.zIndexAscend?c.value.visible.length:0,marginLeft:e.unref(t.valueToPx)(-l.size/4),...l.maxStyle})},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(`+${c.value.hide.length}`),1)]),_:1},8,["style"])]),_:1},8,["trigger-props"])):e.createCommentVNode("",!0)]))}});module.exports=a;
@@ -6,12 +6,12 @@ export type AvatarGroupInstance = InstanceType<typeof _AvatarGroup>;
6
6
  export * from './type';
7
7
  declare const Avatar: {
8
8
  new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./type').AvatarProps> & Readonly<{
9
- onError?: ((ev: Event) => any) | undefined;
10
9
  onClick?: ((ev: MouseEvent) => any) | undefined;
10
+ onError?: ((ev: Event) => any) | undefined;
11
11
  onLoad?: ((ev: Event) => any) | undefined;
12
12
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
13
- error: (ev: Event) => any;
14
13
  click: (ev: MouseEvent) => any;
14
+ error: (ev: Event) => any;
15
15
  load: (ev: Event) => any;
16
16
  }, import('vue').PublicProps, {
17
17
  size: number;
@@ -32,8 +32,8 @@ declare const Avatar: {
32
32
  M: {};
33
33
  Defaults: {};
34
34
  }, Readonly<import('./type').AvatarProps> & Readonly<{
35
- onError?: ((ev: Event) => any) | undefined;
36
35
  onClick?: ((ev: MouseEvent) => any) | undefined;
36
+ onError?: ((ev: Event) => any) | undefined;
37
37
  onLoad?: ((ev: Event) => any) | undefined;
38
38
  }>, {}, {}, {}, {}, {
39
39
  size: number;
@@ -48,12 +48,12 @@ declare const Avatar: {
48
48
  __isTeleport?: never;
49
49
  __isSuspense?: never;
50
50
  } & import('vue').ComponentOptionsBase<Readonly<import('./type').AvatarProps> & Readonly<{
51
- onError?: ((ev: Event) => any) | undefined;
52
51
  onClick?: ((ev: MouseEvent) => any) | undefined;
52
+ onError?: ((ev: Event) => any) | undefined;
53
53
  onLoad?: ((ev: Event) => any) | undefined;
54
54
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
55
- error: (ev: Event) => any;
56
55
  click: (ev: MouseEvent) => any;
56
+ error: (ev: Event) => any;
57
57
  load: (ev: Event) => any;
58
58
  }, string, {
59
59
  size: number;
@@ -1 +1 @@
1
- "use strict";const e=require("vue");require("../node_modules/tinycolor2/esm/tinycolor.js");const r=require("../_shared/utils/dom.js"),t=require("../_shared/utils/is.js");require("../_shared/utils/time.js");const o=require("../_shared/utils/global-config.js");;/* empty css */const s=require("../_shared/icons/IconToTop.vue.js"),l=require("../node_modules/b-tween/dist/b-tween.es.js"),n=require("../node_modules/@vueuse/core/index.js"),i=require("../Button/index.js"),a=e.defineComponent({name:"BackTop",__name:"index",props:{visibleHeight:{default:200},targetContainer:{},easeing:{default:"quadOut"},duration:{default:200}},setup(a){const u=a,{targetContainer:d,easeing:c,duration:f}=e.toRefs(u),{zIndex:v}=o.getGlobalConfig(u),m=e.ref(),p=e.ref(0),_=e.computed(()=>t.isUndefined(d.value)?r.findFirstScrollableParent(m.value):r.getElement(d.value)),g=()=>{_.value&&new l({from:{scroll:_.value.scrollTop},to:{scroll:0},duration:f.value,easing:c.value,onUpdate:e=>{_.value.scrollTop=e.scroll}}).start()};return n.useEventListener(_,"scroll",()=>{p.value=_.value.scrollTop}),(r,t)=>(e.openBlock(),e.createBlock(e.Transition,{name:"fade"},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",{class:"yc-back-top",style:e.normalizeStyle({zIndex:e.unref(v)}),ref_key:"buttonRef",ref:m,onClick:g},[e.renderSlot(r.$slots,"default",{},()=>[e.createVNode(e.unref(i.default),{type:"primary",shape:"circle",size:"large"},{default:e.withCtx(()=>[e.createVNode(e.unref(s))]),_:1})])],4),[[e.vShow,p.value>=r.visibleHeight]])]),_:3}))}});module.exports=a;
1
+ "use strict";const e=require("vue");require("../node_modules/tinycolor2/esm/tinycolor.js");const r=require("../_shared/utils/dom.js"),t=require("../_shared/utils/is.js");require("../_shared/utils/time.js");const o=require("../_shared/utils/global-config.js");require("../_shared/utils/locale.js");/* empty css */const s=require("../_shared/icons/IconToTop.vue.js"),l=require("../node_modules/b-tween/dist/b-tween.es.js"),i=require("../node_modules/@vueuse/core/index.js"),n=require("../Button/index.js"),a=e.defineComponent({name:"BackTop",__name:"index",props:{visibleHeight:{default:200},targetContainer:{},easeing:{default:"quadOut"},duration:{default:200}},setup(a){const u=a,{targetContainer:d,easeing:c,duration:f}=e.toRefs(u),{zIndex:v}=o.getGlobalConfig(u),m=e.ref(),p=e.ref(0),_=e.computed(()=>t.isUndefined(d.value)?r.findFirstScrollableParent(m.value):r.getElement(d.value)),h=()=>{_.value&&new l({from:{scroll:_.value.scrollTop},to:{scroll:0},duration:f.value,easing:c.value,onUpdate:e=>{_.value.scrollTop=e.scroll}}).start()};return i.useEventListener(_,"scroll",()=>{p.value=_.value.scrollTop}),(r,t)=>(e.openBlock(),e.createBlock(e.Transition,{name:"fade"},{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",{class:"yc-back-top",style:e.normalizeStyle({zIndex:e.unref(v)}),ref_key:"buttonRef",ref:m,onClick:h},[e.renderSlot(r.$slots,"default",{},()=>[e.createVNode(e.unref(n.default),{type:"primary",shape:"circle",size:"large"},{default:e.withCtx(()=>[e.createVNode(e.unref(s))]),_:1})])],4),[[e.vShow,p.value>=r.visibleHeight]])]),_:3}))}});module.exports=a;
@@ -1 +1 @@
1
- "use strict";const e=require("vue");require("../node_modules/tinycolor2/esm/tinycolor.js");const t=require("../_shared/utils/dom.js");require("../_shared/utils/time.js"),require("../Empty/index.js");/* empty css */const a=require("../_shared/constants/index.js"),l={key:0,class:"yc-badge-stauts-wrapper"},o={key:0,class:"yc-badge-status-text"},u=e.defineComponent({name:"Badge",__name:"index",props:{text:{default:""},dot:{type:Boolean,default:!1},dotStyle:{default:()=>({})},maxCount:{default:99},offset:{default:()=>[0,0]},color:{default:void 0},status:{default:void 0},count:{default:void 0}},setup(u){const s=e.useSlots(),n=u,{text:d,dot:r,count:c,maxCount:i,offset:v,dotStyle:m,status:y,color:f}=e.toRefs(n),g=e.computed(()=>({margin:`${t.valueToPx(v.value[1])} ${t.valueToPx(-v.value[0])} 0 0`,...m.value})),p=e.computed(()=>s.content?"yc-badge-custom-dot":f.value||y.value?"yc-badge-status":d.value?"yc-badge-text":r.value?"yc-badge-dot":"yc-badge-number"),b=e.computed(()=>f.value||y.value||d.value||r.value?d.value:c.value>=i.value?`${i.value}+`:c.value);return(t,u)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["yc-badge",{"yc-badge-no-children":!t.$slots.default}])},[e.renderSlot(t.$slots,"default"),"yc-badge-status"==p.value?(e.openBlock(),e.createElementBlock("div",l,[e.createElementVNode("div",{class:e.normalizeClass(["yc-badge-stauts-dot",{[`yc-badge-color-${e.unref(f)}`]:e.unref(f),[`yc-badge-status-${e.unref(y)}`]:e.unref(y)}]),style:e.normalizeStyle({backgroundColor:e.unref(a.TAG_PRESET_COLORS).includes(e.unref(f))?"":e.unref(f),...e.unref(m)})},null,6),b.value?(e.openBlock(),e.createElementBlock("div",o,e.toDisplayString(b.value),1)):e.createCommentVNode("",!0)])):"yc-badge-number"!=p.value||e.unref(c)>0?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass([p.value]),style:e.normalizeStyle(g.value)},[e.renderSlot(t.$slots,"content",{},()=>[e.createTextVNode(e.toDisplayString(b.value),1)])],6)):e.createCommentVNode("",!0)],2))}});module.exports=u;
1
+ "use strict";const e=require("vue");require("../node_modules/tinycolor2/esm/tinycolor.js");const t=require("../_shared/utils/dom.js");require("../_shared/utils/time.js"),require("../Empty/index.js"),/* empty css */require("../_shared/utils/locale.js");const a=require("../_shared/constants/index.js"),l={key:0,class:"yc-badge-stauts-wrapper"},o={key:0,class:"yc-badge-status-text"},u=e.defineComponent({name:"Badge",__name:"index",props:{text:{default:""},dot:{type:Boolean,default:!1},dotStyle:{default:()=>({})},maxCount:{default:99},offset:{default:()=>[0,0]},color:{default:void 0},status:{default:void 0},count:{default:void 0}},setup(u){const s=e.useSlots(),n=u,{text:r,dot:d,count:c,maxCount:i,offset:v,dotStyle:m,status:y,color:f}=e.toRefs(n),g=e.computed(()=>({margin:`${t.valueToPx(v.value[1])} ${t.valueToPx(-v.value[0])} 0 0`,...m.value})),p=e.computed(()=>s.content?"yc-badge-custom-dot":f.value||y.value?"yc-badge-status":r.value?"yc-badge-text":d.value?"yc-badge-dot":"yc-badge-number"),b=e.computed(()=>f.value||y.value||r.value||d.value?r.value:c.value>=i.value?`${i.value}+`:c.value);return(t,u)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["yc-badge",{"yc-badge-no-children":!t.$slots.default}])},[e.renderSlot(t.$slots,"default"),"yc-badge-status"==p.value?(e.openBlock(),e.createElementBlock("div",l,[e.createElementVNode("div",{class:e.normalizeClass(["yc-badge-stauts-dot",{[`yc-badge-color-${e.unref(f)}`]:e.unref(f),[`yc-badge-status-${e.unref(y)}`]:e.unref(y)}]),style:e.normalizeStyle({backgroundColor:e.unref(a.TAG_PRESET_COLORS).includes(e.unref(f))?"":e.unref(f),...e.unref(m)})},null,6),b.value?(e.openBlock(),e.createElementBlock("div",o,e.toDisplayString(b.value),1)):e.createCommentVNode("",!0)])):"yc-badge-number"!=p.value||e.unref(c)>0?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass([p.value]),style:e.normalizeStyle(g.value)},[e.renderSlot(t.$slots,"content",{},()=>[e.createTextVNode(e.toDisplayString(b.value),1)])],6)):e.createCommentVNode("",!0)],2))}});module.exports=u;
@@ -1 +1 @@
1
- "use strict";const e=require("vue");require("../node_modules/tinycolor2/esm/tinycolor.js"),require("../_shared/utils/dom.js");const r=require("../_shared/utils/is.js");require("../_shared/utils/time.js");const t=require("../_shared/utils/vue-utils.js");require("../Empty/index.js"),/* empty css */require("./index.js");const o=require("./BreadcrumbSeparator.vue.js");;/* empty css */const l=require("./BreadcrumbMore.vue.js"),a=require("./BreadcrumbItem.vue.js");;/* empty css */const s={class:"yc-breadcrumb"},n=e.defineComponent({name:"Breadcrumb",__name:"Breadcrumb",props:{maxCount:{default:0},routes:{default:()=>[]},separator:{default:""},customUrl:{type:Function,default:void 0}},setup(n){const u=n,{maxCount:c,routes:i}=e.toRefs(u),p=e.useSlots(),d=e.computed(()=>{var e;const r=t.findComponentsFromVnodes((null==(e=p.default)?void 0:e.call(p))||[],a.name);return c.value>0&&r.length>c.value?[...r.slice(0,1),{type:"more-icon"},...r.slice(r.length-c.value+1,r.length)]:r}),m=e.computed(()=>{const e=i.value.map((e,r)=>({...e,index:r}));return c.value>0&&e.length>c.value?[...e.slice(0,1),"more-icon",...e.slice(e.length-c.value+1,e.length)]:i.value}),v=e=>i.value.slice(0,e+1).map(e=>{var r;return null==(r=e.path)?void 0:r.replace(/\//g,"")});return(t,n)=>(e.openBlock(),e.createElementBlock("div",s,[t.$slots.default?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(d.value,(r,a)=>{var s,n;return e.openBlock(),e.createElementBlock(e.Fragment,{key:a},["more-icon"==(null==r?void 0:r.type)?(e.openBlock(),e.createBlock(l,{key:0,slots:e.unref(p)},null,8,["slots"])):(e.openBlock(),e.createBlock(e.resolveDynamicComponent(r),{key:1})),a<d.value.length-1?(e.openBlock(),e.createBlock(o,{key:2,separator:t.separator,"separator-slots":t.$slots.separator,"item-separator":null==(s=r.props)?void 0:s.separator,"item-separator-slots":null==(n=r.children)?void 0:n.separator},null,8,["separator","separator-slots","item-separator","item-separator-slots"])):e.createCommentVNode("",!0)],64)}),128)):(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(m.value,(s,n)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:s.path},[e.unref(r.isString)(s)?(e.openBlock(),e.createBlock(l,{key:0,slots:e.unref(p)},null,8,["slots"])):e.renderSlot(t.$slots,"item-render",{key:1,route:s,routes:e.unref(i),paths:v(s.index)},()=>{var r;return[e.createVNode(e.unref(a),{path:s.index==m.value.length-1?s.path:(null==(r=t.customUrl)?void 0:r.call(t,v(s.index)))??s.path,droplist:s.children},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(s.label),1)]),_:2},1032,["path","droplist"])]}),n<e.unref(i).length-1?(e.openBlock(),e.createBlock(o,{key:2,separator:t.separator,"separator-slots":t.$slots.separator},null,8,["separator","separator-slots"])):e.createCommentVNode("",!0)],64))),128))]))}});module.exports=n;
1
+ "use strict";const e=require("vue");require("../node_modules/tinycolor2/esm/tinycolor.js"),require("../_shared/utils/dom.js");const r=require("../_shared/utils/is.js");require("../_shared/utils/time.js");const t=require("../_shared/utils/vue-utils.js");require("../Empty/index.js"),/* empty css */require("../_shared/utils/locale.js"),require("./index.js");const o=require("./BreadcrumbSeparator.vue.js");;/* empty css */const l=require("./BreadcrumbMore.vue.js"),a=require("./BreadcrumbItem.vue.js");;/* empty css */const s={class:"yc-breadcrumb"},n=e.defineComponent({name:"Breadcrumb",__name:"Breadcrumb",props:{maxCount:{default:0},routes:{default:()=>[]},separator:{default:""},customUrl:{type:Function,default:void 0}},setup(n){const u=n,{maxCount:c,routes:i}=e.toRefs(u),p=e.useSlots(),d=e.computed(()=>{var e;const r=t.findComponentsFromVnodes((null==(e=p.default)?void 0:e.call(p))||[],a.name);return c.value>0&&r.length>c.value?[...r.slice(0,1),{type:"more-icon"},...r.slice(r.length-c.value+1,r.length)]:r}),m=e.computed(()=>{const e=i.value.map((e,r)=>({...e,index:r}));return c.value>0&&e.length>c.value?[...e.slice(0,1),"more-icon",...e.slice(e.length-c.value+1,e.length)]:i.value}),v=e=>i.value.slice(0,e+1).map(e=>{var r;return null==(r=e.path)?void 0:r.replace(/\//g,"")});return(t,n)=>(e.openBlock(),e.createElementBlock("div",s,[t.$slots.default?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(d.value,(r,a)=>{var s,n;return e.openBlock(),e.createElementBlock(e.Fragment,{key:a},["more-icon"==(null==r?void 0:r.type)?(e.openBlock(),e.createBlock(l,{key:0,slots:e.unref(p)},null,8,["slots"])):(e.openBlock(),e.createBlock(e.resolveDynamicComponent(r),{key:1})),a<d.value.length-1?(e.openBlock(),e.createBlock(o,{key:2,separator:t.separator,"separator-slots":t.$slots.separator,"item-separator":null==(s=r.props)?void 0:s.separator,"item-separator-slots":null==(n=r.children)?void 0:n.separator},null,8,["separator","separator-slots","item-separator","item-separator-slots"])):e.createCommentVNode("",!0)],64)}),128)):(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(m.value,(s,n)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:s.path},[e.unref(r.isString)(s)?(e.openBlock(),e.createBlock(l,{key:0,slots:e.unref(p)},null,8,["slots"])):e.renderSlot(t.$slots,"item-render",{key:1,route:s,routes:e.unref(i),paths:v(s.index)},()=>{var r;return[e.createVNode(e.unref(a),{path:s.index==m.value.length-1?s.path:(null==(r=t.customUrl)?void 0:r.call(t,v(s.index)))??s.path,droplist:s.children},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(s.label),1)]),_:2},1032,["path","droplist"])]}),n<e.unref(i).length-1?(e.openBlock(),e.createBlock(o,{key:2,separator:t.separator,"separator-slots":t.$slots.separator},null,8,["separator","separator-slots"])):e.createCommentVNode("",!0)],64))),128))]))}});module.exports=n;
@@ -1 +1 @@
1
- "use strict";const e=require("vue"),o=require("../_shared/icons/IconArrowDown.vue.js");require("../node_modules/tinycolor2/esm/tinycolor.js"),require("../_shared/utils/dom.js"),require("../_shared/utils/time.js"),require("../Empty/index.js");/* empty css */const t=require("../Dropdown/index.js"),r=require("../Dropdown/Doption.vue.js");;/* empty css */const l={class:"yc-breadcrumb-item"},s=["href"],n={key:2,class:"yc-breadcrumb-item-dropdown-icon"},d=e.defineComponent({name:"BreadcrumbItem",__name:"BreadcrumbItem",props:{separator:{default:""},droplist:{default:()=>[]},dropdownProps:{default:()=>({})},path:{default:""},showSeparator:{type:Boolean,default:!0}},setup(d){const a=e.ref(!1);return(d,p)=>(e.openBlock(),e.createBlock(e.unref(t.default),e.mergeProps({"popup-visible":a.value,"onUpdate:popupVisible":p[0]||(p[0]=e=>a.value=e)},d.dropdownProps,{disabled:!d.droplist.length&&!d.$slots.droplist}),{content:e.withCtx(()=>[e.renderSlot(d.$slots,"droplist",{},()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(d.droplist,o=>(e.openBlock(),e.createBlock(e.unref(r),{key:o.path,value:o.path},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.label),1)]),_:2},1032,["value"]))),128))])]),default:e.withCtx(()=>[e.createElementVNode("div",l,[d.path?(e.openBlock(),e.createElementBlock("a",{key:0,href:`#${d.path}`},[e.renderSlot(d.$slots,"default")],8,s)):e.renderSlot(d.$slots,"default",{key:1}),d.droplist.length||d.$slots.droplist?(e.openBlock(),e.createElementBlock("div",n,[e.createVNode(e.unref(o),{rotate:a.value?180:0},null,8,["rotate"])])):e.createCommentVNode("",!0)])]),_:3},16,["popup-visible","disabled"]))}});module.exports=d;
1
+ "use strict";const e=require("vue"),o=require("../_shared/icons/IconArrowDown.vue.js");require("../node_modules/tinycolor2/esm/tinycolor.js"),require("../_shared/utils/dom.js"),require("../_shared/utils/time.js"),require("../Empty/index.js"),require("../_shared/utils/locale.js");/* empty css */const r=require("../Dropdown/index.js"),t=require("../Dropdown/Doption.vue.js");;/* empty css */const l={class:"yc-breadcrumb-item"},s=["href"],a={key:2,class:"yc-breadcrumb-item-dropdown-icon"},d=e.defineComponent({name:"BreadcrumbItem",__name:"BreadcrumbItem",props:{separator:{default:""},droplist:{default:()=>[]},dropdownProps:{default:()=>({})},path:{default:""},showSeparator:{type:Boolean,default:!0}},setup(d){const n=e.ref(!1);return(d,u)=>(e.openBlock(),e.createBlock(e.unref(r.default),e.mergeProps({"popup-visible":n.value,"onUpdate:popupVisible":u[0]||(u[0]=e=>n.value=e)},d.dropdownProps,{disabled:!d.droplist.length&&!d.$slots.droplist}),{content:e.withCtx(()=>[e.renderSlot(d.$slots,"droplist",{},()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(d.droplist,o=>(e.openBlock(),e.createBlock(e.unref(t),{key:o.path,value:o.path},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.label),1)]),_:2},1032,["value"]))),128))])]),default:e.withCtx(()=>[e.createElementVNode("div",l,[d.path?(e.openBlock(),e.createElementBlock("a",{key:0,href:`#${d.path}`},[e.renderSlot(d.$slots,"default")],8,s)):e.renderSlot(d.$slots,"default",{key:1}),d.droplist.length||d.$slots.droplist?(e.openBlock(),e.createElementBlock("div",a,[e.createVNode(e.unref(o),{rotate:n.value?180:0},null,8,["rotate"])])):e.createCommentVNode("",!0)])]),_:3},16,["popup-visible","disabled"]))}});module.exports=d;
@@ -1 +1 @@
1
- "use strict";const e=require("vue");require("../node_modules/tinycolor2/esm/tinycolor.js"),require("../_shared/utils/dom.js"),require("../_shared/utils/time.js"),require("../Empty/index.js");/* empty css */const r=require("../_shared/icons/IconMore.vue.js"),o=require("./BreadcrumbItem.vue.js");;/* empty css */const s=e.defineComponent({__name:"BreadcrumbMore",props:{slots:{}},setup:s=>(s,t)=>(e.openBlock(),e.createBlock(o,null,{default:e.withCtx(()=>[s.slots["more-icon"]?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(s.slots["more-icon"]),{key:0})):(e.openBlock(),e.createBlock(e.unref(r),{key:1}))]),_:1}))});module.exports=s;
1
+ "use strict";const e=require("vue");require("../node_modules/tinycolor2/esm/tinycolor.js"),require("../_shared/utils/dom.js"),require("../_shared/utils/time.js"),require("../Empty/index.js"),require("../_shared/utils/locale.js");/* empty css */const r=require("../_shared/icons/IconMore.vue.js"),o=require("./BreadcrumbItem.vue.js");;/* empty css */const s=e.defineComponent({__name:"BreadcrumbMore",props:{slots:{}},setup:s=>(s,t)=>(e.openBlock(),e.createBlock(o,null,{default:e.withCtx(()=>[s.slots["more-icon"]?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(s.slots["more-icon"]),{key:0})):(e.openBlock(),e.createBlock(e.unref(r),{key:1}))]),_:1}))});module.exports=s;
@@ -1 +1 @@
1
- "use strict";const e=require("vue");require("../node_modules/tinycolor2/esm/tinycolor.js"),require("../_shared/utils/dom.js");const r=require("../_shared/utils/is.js");require("../_shared/utils/time.js"),require("../Empty/index.js");/* empty css */const o=require("../_shared/icons/IconSeparator.vue2.js"),t={class:"yc-breadcrumb-item-separator"},a=e.defineComponent({__name:"BreadcrumbSeparator",props:{separatorSlots:{type:Function},separator:{},itemSeparatorSlots:{type:Function},itemSeparator:{}},setup(a){const s=a,l=e.computed(()=>r.isUndefined(s.itemSeparatorSlots)?s.separatorSlots||s.separator:s.itemSeparatorSlots||s.itemSeparator||s.separatorSlots||s.separator),n=()=>{var e,o,t;return r.isUndefined(s.itemSeparatorSlots)?(null==(e=s.separatorSlots)?void 0:e.call(s))||s.separator:(null==(o=s.itemSeparatorSlots)?void 0:o.call(s))||s.itemSeparator||(null==(t=s.separatorSlots)?void 0:t.call(s))||s.separator};return(r,a)=>(e.openBlock(),e.createElementBlock("span",t,[l.value?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(n),{key:0})):(e.openBlock(),e.createBlock(e.unref(o),{key:1}))]))}});module.exports=a;
1
+ "use strict";const e=require("vue");require("../node_modules/tinycolor2/esm/tinycolor.js"),require("../_shared/utils/dom.js");const r=require("../_shared/utils/is.js");require("../_shared/utils/time.js"),require("../Empty/index.js"),require("../_shared/utils/locale.js");/* empty css */const o=require("../_shared/icons/IconSeparator.vue.js"),t={class:"yc-breadcrumb-item-separator"},a=e.defineComponent({__name:"BreadcrumbSeparator",props:{separatorSlots:{type:Function},separator:{},itemSeparatorSlots:{type:Function},itemSeparator:{}},setup(a){const s=a,l=e.computed(()=>r.isUndefined(s.itemSeparatorSlots)?s.separatorSlots||s.separator:s.itemSeparatorSlots||s.itemSeparator||s.separatorSlots||s.separator),i=()=>{var e,o,t;return r.isUndefined(s.itemSeparatorSlots)?(null==(e=s.separatorSlots)?void 0:e.call(s))||s.separator:(null==(o=s.itemSeparatorSlots)?void 0:o.call(s))||s.itemSeparator||(null==(t=s.separatorSlots)?void 0:t.call(s))||s.separator};return(r,a)=>(e.openBlock(),e.createElementBlock("span",t,[l.value?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(i),{key:0})):(e.openBlock(),e.createBlock(e.unref(o),{key:1}))]))}});module.exports=a;