yc-design-vue 1.7.6 → 1.7.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1053) hide show
  1. package/es/Alert/index.js +4 -3
  2. package/es/Alert/index.vue.js +100 -5
  3. package/es/Alert/index.vue3.js +5 -0
  4. package/es/Anchor/Anchor.vue.js +71 -5
  5. package/es/Anchor/Anchor.vue3.js +5 -0
  6. package/es/Anchor/AnchorLink.vue.js +75 -5
  7. package/es/Anchor/AnchorLink.vue3.js +5 -0
  8. package/es/Anchor/hooks/useContext.js +3 -2
  9. package/es/Anchor/index.css +1 -1
  10. package/es/Anchor/index.js +9 -7
  11. package/es/Avatar/Avatar.vue.js +113 -5
  12. package/es/Avatar/Avatar.vue3.js +5 -0
  13. package/es/Avatar/AvatarGroup.vue.js +93 -5
  14. package/es/Avatar/AvatarGroup.vue3.js +5 -0
  15. package/es/Avatar/index.css +1 -1
  16. package/es/Avatar/index.js +9 -7
  17. package/es/BackTop/index.js +4 -3
  18. package/es/BackTop/index.vue.js +80 -5
  19. package/es/BackTop/index.vue3.js +5 -0
  20. package/es/Badge/index.js +4 -3
  21. package/es/Badge/index.vue.js +90 -5
  22. package/es/Badge/index.vue3.js +5 -0
  23. package/es/Breadcrumb/Breadcrumb.vue.js +118 -5
  24. package/es/Breadcrumb/Breadcrumb.vue3.js +5 -0
  25. package/es/Breadcrumb/BreadcrumbItem.vue.js +75 -5
  26. package/es/Breadcrumb/BreadcrumbItem.vue3.js +5 -0
  27. package/es/Breadcrumb/BreadcrumbMore.vue.js +5 -4
  28. package/es/Breadcrumb/BreadcrumbSeparator.vue.js +42 -5
  29. package/es/Breadcrumb/BreadcrumbSeparator.vue3.js +5 -0
  30. package/es/Breadcrumb/index.css +1 -1
  31. package/es/Breadcrumb/index.js +9 -7
  32. package/es/Button/Button.vue.js +108 -5
  33. package/es/Button/Button.vue3.js +5 -0
  34. package/es/Button/index.js +7 -6
  35. package/es/Calendar/Calendar.vue.js +209 -5
  36. package/es/Calendar/Calendar.vue3.js +5 -0
  37. package/es/Calendar/CalendarMonth.vue.js +114 -5
  38. package/es/Calendar/CalendarMonth.vue3.js +5 -0
  39. package/es/Calendar/CalendarYear.vue.js +95 -5
  40. package/es/Calendar/CalendarYear.vue3.js +5 -0
  41. package/es/Calendar/index.js +4 -3
  42. package/es/Card/Card.vue.js +121 -5
  43. package/es/Card/Card.vue3.js +5 -0
  44. package/es/Card/CardGrid.vue.js +25 -5
  45. package/es/Card/CardGrid.vue3.js +5 -0
  46. package/es/Card/CardMeta.vue.js +68 -5
  47. package/es/Card/CardMeta.vue3.js +5 -0
  48. package/es/Card/index.css +1 -1
  49. package/es/Card/index.js +14 -11
  50. package/es/Carousel/Carousel.vue.js +131 -5
  51. package/es/Carousel/Carousel.vue3.js +5 -0
  52. package/es/Carousel/CarouselArrow.vue.js +53 -5
  53. package/es/Carousel/CarouselArrow.vue3.js +5 -0
  54. package/es/Carousel/CarouselIndicator.vue.js +55 -5
  55. package/es/Carousel/CarouselIndicator.vue3.js +5 -0
  56. package/es/Carousel/CarouselItem.vue.js +53 -5
  57. package/es/Carousel/CarouselItem.vue3.js +5 -0
  58. package/es/Carousel/hooks/useContext.js +3 -2
  59. package/es/Carousel/index.js +9 -7
  60. package/es/Cascader/Cascader.vue.js +288 -5
  61. package/es/Cascader/Cascader.vue3.js +5 -0
  62. package/es/Cascader/CascaderIcon.vue.js +65 -5
  63. package/es/Cascader/CascaderIcon.vue3.js +5 -0
  64. package/es/Cascader/CascaderOption.vue.js +205 -5
  65. package/es/Cascader/CascaderOption.vue3.js +5 -0
  66. package/es/Cascader/CascaderPanel.vue.js +62 -5
  67. package/es/Cascader/CascaderPanel.vue3.js +5 -0
  68. package/es/Cascader/CascaderSearchPanel.vue.js +43 -5
  69. package/es/Cascader/CascaderSearchPanel.vue3.js +5 -0
  70. package/es/Cascader/index.css +1 -1
  71. package/es/Cascader/index.js +4 -3
  72. package/es/Checkbox/Checkbox.vue.js +114 -5
  73. package/es/Checkbox/Checkbox.vue3.js +5 -0
  74. package/es/Checkbox/CheckboxGroup.vue.js +3 -2
  75. package/es/Checkbox/index.js +7 -6
  76. package/es/Collapse/Collapse.vue.js +36 -5
  77. package/es/Collapse/Collapse.vue3.js +5 -0
  78. package/es/Collapse/CollapseItem.vue.js +130 -5
  79. package/es/Collapse/CollapseItem.vue3.js +5 -0
  80. package/es/Collapse/index.css +1 -1
  81. package/es/Collapse/index.js +9 -7
  82. package/es/ColorPicker/ColorControl.vue.js +110 -5
  83. package/es/ColorPicker/ColorControl.vue3.js +5 -0
  84. package/es/ColorPicker/ColorInput.vue.js +159 -6
  85. package/es/ColorPicker/ColorInput.vue3.js +5 -0
  86. package/es/ColorPicker/ColorList.vue.js +45 -5
  87. package/es/ColorPicker/ColorList.vue3.js +5 -0
  88. package/es/ColorPicker/ColorPalette.vue.js +98 -5
  89. package/es/ColorPicker/ColorPalette.vue3.js +5 -0
  90. package/es/ColorPicker/ColorPanel.vue.js +145 -4
  91. package/es/ColorPicker/ColorPanel.vue3.js +5 -0
  92. package/es/ColorPicker/ColorPicker.vue.js +86 -5
  93. package/es/ColorPicker/ColorPicker.vue3.js +5 -0
  94. package/es/ColorPicker/index.css +1 -1
  95. package/es/ColorPicker/index.js +4 -3
  96. package/es/Comment/index.js +4 -3
  97. package/es/Comment/index.vue.js +108 -5
  98. package/es/Comment/index.vue3.js +5 -0
  99. package/es/Descriptions/Descriptions.vue.js +9 -7
  100. package/es/Descriptions/ReuseItem.vue.js +60 -5
  101. package/es/Descriptions/ReuseItem.vue3.js +5 -0
  102. package/es/Descriptions/ReuseTd.vue.js +54 -5
  103. package/es/Descriptions/ReuseTd.vue3.js +5 -0
  104. package/es/Divider/index.js +4 -3
  105. package/es/Divider/index.vue.js +52 -5
  106. package/es/Divider/index.vue3.js +5 -0
  107. package/es/Drawer/Drawer.vue.js +202 -5
  108. package/es/Drawer/Drawer.vue3.js +5 -0
  109. package/es/Drawer/DrawerService.vue.js +3 -2
  110. package/es/Drawer/index.js +7 -6
  111. package/es/Dropdown/Dgroup.vue.js +31 -5
  112. package/es/Dropdown/Dgroup.vue3.js +5 -0
  113. package/es/Dropdown/Doption.vue.js +63 -5
  114. package/es/Dropdown/Doption.vue3.js +5 -0
  115. package/es/Dropdown/Dsubmenu.vue.js +154 -5
  116. package/es/Dropdown/Dsubmenu.vue3.js +5 -0
  117. package/es/Dropdown/index.js +18 -15
  118. package/es/Empty/index.js +4 -3
  119. package/es/Empty/index.vue.js +46 -5
  120. package/es/Empty/index.vue3.js +5 -0
  121. package/es/Grid/Grid.vue.js +39 -5
  122. package/es/Grid/Grid.vue3.js +5 -0
  123. package/es/Grid/GridRow.vue.js +46 -5
  124. package/es/Grid/GridRow.vue3.js +5 -0
  125. package/es/Grid/index.js +15 -13
  126. package/es/Image/Image.vue.js +182 -5
  127. package/es/Image/Image.vue3.js +5 -0
  128. package/es/Image/ImagePreview.vue.js +212 -5
  129. package/es/Image/ImagePreview.vue3.js +5 -0
  130. package/es/Image/ImagePreviewAction.vue.js +49 -5
  131. package/es/Image/ImagePreviewAction.vue3.js +5 -0
  132. package/es/Image/ImagePreviewArrow.vue.js +25 -5
  133. package/es/Image/ImagePreviewArrow.vue3.js +5 -0
  134. package/es/Image/ImagePreviewGroup.vue.js +7 -5
  135. package/es/Image/ImagePreviewToolbar.vue.js +73 -5
  136. package/es/Image/ImagePreviewToolbar.vue3.js +5 -0
  137. package/es/Image/hooks/useContext.js +3 -2
  138. package/es/Image/index.js +17 -14
  139. package/es/Input/Input.vue.js +232 -5
  140. package/es/Input/Input.vue3.js +5 -0
  141. package/es/Input/InputSuffix.vue.js +50 -5
  142. package/es/Input/InputSuffix.vue3.js +5 -0
  143. package/es/Input/index.js +4 -3
  144. package/es/InputNumber/InputNumber.vue.js +269 -5
  145. package/es/InputNumber/InputNumber.vue3.js +5 -0
  146. package/es/InputNumber/InputOperaBtn.vue.js +56 -5
  147. package/es/InputNumber/InputOperaBtn.vue3.js +5 -0
  148. package/es/InputNumber/index.css +1 -1
  149. package/es/InputNumber/index.js +4 -3
  150. package/es/InputTag/index.css +1 -1
  151. package/es/InputTag/index.js +4 -3
  152. package/es/InputTag/index.vue.js +322 -5
  153. package/es/InputTag/index.vue3.js +5 -0
  154. package/es/Layout/Layout.vue.js +44 -5
  155. package/es/Layout/Layout.vue3.js +5 -0
  156. package/es/Layout/LayoutContent.vue.js +16 -5
  157. package/es/Layout/LayoutContent.vue3.js +5 -0
  158. package/es/Layout/LayoutFooter.vue.js +16 -5
  159. package/es/Layout/LayoutFooter.vue3.js +5 -0
  160. package/es/Layout/LayoutHeader.vue.js +16 -5
  161. package/es/Layout/LayoutHeader.vue3.js +5 -0
  162. package/es/Layout/LayoutSider.vue.js +130 -5
  163. package/es/Layout/LayoutSider.vue3.js +5 -0
  164. package/es/Layout/index.js +24 -19
  165. package/es/Link/index.js +4 -3
  166. package/es/Link/index.vue.js +69 -5
  167. package/es/Link/index.vue3.js +5 -0
  168. package/es/List/List.vue.js +207 -5
  169. package/es/List/List.vue3.js +5 -0
  170. package/es/List/ListItem.vue.js +56 -5
  171. package/es/List/ListItem.vue3.js +5 -0
  172. package/es/List/ListItemMeta.vue.js +47 -5
  173. package/es/List/ListItemMeta.vue3.js +5 -0
  174. package/es/List/index.css +1 -1
  175. package/es/List/index.js +14 -11
  176. package/es/Menu/Menu.vue.js +97 -5
  177. package/es/Menu/Menu.vue3.js +5 -0
  178. package/es/Menu/MenuEllipsis.vue.js +92 -5
  179. package/es/Menu/MenuEllipsis.vue3.js +5 -0
  180. package/es/Menu/MenuItem.vue.js +230 -5
  181. package/es/Menu/MenuItem.vue3.js +5 -0
  182. package/es/Menu/MenuItemGroup.vue.js +40 -5
  183. package/es/Menu/MenuItemGroup.vue3.js +5 -0
  184. package/es/Menu/MenuPopOption.vue.js +6 -4
  185. package/es/Menu/SubMenu.vue.js +79 -5
  186. package/es/Menu/SubMenu.vue3.js +5 -0
  187. package/es/Menu/hooks/useContext.js +7 -5
  188. package/es/Menu/index.css +1 -1
  189. package/es/Menu/index.js +19 -15
  190. package/es/Message/Message.vue.js +99 -5
  191. package/es/Message/Message.vue3.js +5 -0
  192. package/es/Message/MessageList.vue.js +30 -5
  193. package/es/Message/MessageList.vue3.js +5 -0
  194. package/es/Message/index.js +7 -5
  195. package/es/Modal/Modal.vue.js +255 -5
  196. package/es/Modal/Modal.vue3.js +5 -0
  197. package/es/Modal/ModalService.vue.js +3 -2
  198. package/es/Modal/index.js +6 -5
  199. package/es/Notification/Notification.vue.js +126 -5
  200. package/es/Notification/Notification.vue3.js +5 -0
  201. package/es/Notification/NotificationList.vue.js +34 -5
  202. package/es/Notification/NotificationList.vue3.js +5 -0
  203. package/es/Notification/index.js +7 -5
  204. package/es/OverflowList/index.css +1 -1
  205. package/es/OverflowList/index.js +4 -3
  206. package/es/OverflowList/index.vue.js +120 -5
  207. package/es/OverflowList/index.vue3.js +5 -0
  208. package/es/PageHeader/index.css +1 -1
  209. package/es/PageHeader/index.js +4 -3
  210. package/es/PageHeader/index.vue.js +95 -5
  211. package/es/PageHeader/index.vue3.js +5 -0
  212. package/es/Pagination/Pagination.vue.js +190 -5
  213. package/es/Pagination/Pagination.vue3.js +5 -0
  214. package/es/Pagination/PaginationItem.vue.js +83 -5
  215. package/es/Pagination/PaginationItem.vue3.js +5 -0
  216. package/es/Pagination/index.css +1 -1
  217. package/es/Pagination/index.js +4 -3
  218. package/es/Progress/Progress.vue.js +131 -5
  219. package/es/Progress/Progress.vue3.js +5 -0
  220. package/es/Progress/ProgressCircle.vue.js +147 -5
  221. package/es/Progress/ProgressCircle.vue3.js +5 -0
  222. package/es/Progress/ProgressLine.vue.js +97 -5
  223. package/es/Progress/ProgressLine.vue3.js +5 -0
  224. package/es/Progress/index.js +4 -3
  225. package/es/Radio/Radio.vue.js +122 -5
  226. package/es/Radio/Radio.vue3.js +5 -0
  227. package/es/Radio/RadioGroup.vue.js +3 -2
  228. package/es/Radio/index.js +7 -6
  229. package/es/Rate/index.js +4 -3
  230. package/es/Rate/index.vue.js +146 -5
  231. package/es/Rate/index.vue3.js +5 -0
  232. package/es/ResizeBox/index.js +4 -3
  233. package/es/ResizeBox/index.vue.js +159 -5
  234. package/es/ResizeBox/index.vue3.js +5 -0
  235. package/es/Result/index.js +4 -3
  236. package/es/Result/index.vue.js +72 -5
  237. package/es/Result/index.vue3.js +5 -0
  238. package/es/Scrollbar/Scrollbar.vue.js +224 -5
  239. package/es/Scrollbar/Scrollbar.vue3.js +5 -0
  240. package/es/Scrollbar/ScrollbarTrack.vue.js +112 -5
  241. package/es/Scrollbar/ScrollbarTrack.vue3.js +5 -0
  242. package/es/Scrollbar/index.css +1 -1
  243. package/es/Scrollbar/index.js +4 -3
  244. package/es/Select/Optgroup.vue.js +24 -5
  245. package/es/Select/Optgroup.vue3.js +5 -0
  246. package/es/Select/Option.vue.js +138 -5
  247. package/es/Select/Option.vue3.js +5 -0
  248. package/es/Select/Select.vue.js +302 -5
  249. package/es/Select/Select.vue3.js +5 -0
  250. package/es/Select/SelectIcon.vue.js +65 -5
  251. package/es/Select/SelectIcon.vue3.js +5 -0
  252. package/es/Select/SelectRealList.vue.js +95 -5
  253. package/es/Select/SelectRealList.vue3.js +5 -0
  254. package/es/Select/SelectView.vue.js +99 -5
  255. package/es/Select/SelectView.vue3.js +5 -0
  256. package/es/Select/SelectVirtualList.vue.js +60 -5
  257. package/es/Select/SelectVirtualList.vue3.js +5 -0
  258. package/es/Select/index.css +1 -1
  259. package/es/Select/index.js +14 -11
  260. package/es/Skeleton/SkeletonLine.vue.js +43 -5
  261. package/es/Skeleton/SkeletonLine.vue3.js +5 -0
  262. package/es/Skeleton/SkeletonShape.vue.js +29 -5
  263. package/es/Skeleton/SkeletonShape.vue3.js +5 -0
  264. package/es/Skeleton/index.js +10 -8
  265. package/es/Slider/Slider.vue.js +146 -5
  266. package/es/Slider/Slider.vue3.js +5 -0
  267. package/es/Slider/SliderBtn.vue.js +96 -5
  268. package/es/Slider/SliderBtn.vue3.js +5 -0
  269. package/es/Slider/SliderInput.vue.js +54 -5
  270. package/es/Slider/SliderInput.vue3.js +5 -0
  271. package/es/Slider/SliderTicks.vue.js +64 -5
  272. package/es/Slider/SliderTicks.vue3.js +5 -0
  273. package/es/Slider/index.css +1 -1
  274. package/es/Slider/index.js +4 -3
  275. package/es/Space/index.js +4 -3
  276. package/es/Space/index.vue.js +94 -5
  277. package/es/Space/index.vue3.js +5 -0
  278. package/es/Spin/index.js +4 -3
  279. package/es/Spin/index.vue.js +87 -5
  280. package/es/Spin/index.vue3.js +5 -0
  281. package/es/Split/index.js +4 -3
  282. package/es/Split/index.vue.js +144 -5
  283. package/es/Split/index.vue3.js +5 -0
  284. package/es/Statistic/Countdown.vue.js +3 -2
  285. package/es/Statistic/Statistic.vue.js +153 -5
  286. package/es/Statistic/Statistic.vue3.js +5 -0
  287. package/es/Statistic/index.js +7 -6
  288. package/es/Steps/Step.vue.js +113 -5
  289. package/es/Steps/Step.vue3.js +5 -0
  290. package/es/Steps/Steps.vue.js +41 -5
  291. package/es/Steps/Steps.vue3.js +5 -0
  292. package/es/Steps/index.js +9 -7
  293. package/es/Switch/index.js +4 -3
  294. package/es/Switch/index.vue.js +152 -5
  295. package/es/Switch/index.vue3.js +5 -0
  296. package/es/Tabs/TabButton.vue.js +36 -5
  297. package/es/Tabs/TabButton.vue3.js +5 -0
  298. package/es/Tabs/Tabs.vue.js +209 -5
  299. package/es/Tabs/Tabs.vue3.js +5 -0
  300. package/es/Tabs/TabsNavInk.vue.js +60 -5
  301. package/es/Tabs/TabsNavInk.vue3.js +5 -0
  302. package/es/Tabs/TabsTab.vue.js +90 -5
  303. package/es/Tabs/TabsTab.vue3.js +5 -0
  304. package/es/Tabs/index.js +6 -5
  305. package/es/Tag/index.js +4 -3
  306. package/es/Tag/index.vue.js +112 -5
  307. package/es/Tag/index.vue3.js +5 -0
  308. package/es/Textarea/index.js +4 -3
  309. package/es/Textarea/index.vue.js +163 -5
  310. package/es/Textarea/index.vue3.js +5 -0
  311. package/es/TimePicker/TimePicker.vue.js +214 -5
  312. package/es/TimePicker/TimePicker.vue3.js +5 -0
  313. package/es/TimePicker/TimePickerPanel.vue.js +215 -5
  314. package/es/TimePicker/TimePickerPanel.vue3.js +5 -0
  315. package/es/TimePicker/index.js +4 -3
  316. package/es/Timeline/Timeline.vue.js +52 -5
  317. package/es/Timeline/Timeline.vue3.js +5 -0
  318. package/es/Timeline/TimelineItem.vue.js +87 -5
  319. package/es/Timeline/TimelineItem.vue3.js +5 -0
  320. package/es/Timeline/TimelineItemPending.vue.js +3 -2
  321. package/es/Timeline/hooks/useContext.js +3 -2
  322. package/es/Timeline/index.css +1 -1
  323. package/es/Timeline/index.js +9 -7
  324. package/es/Transfer/Transfer.vue.js +104 -5
  325. package/es/Transfer/Transfer.vue3.js +5 -0
  326. package/es/Transfer/TransferPanel.vue.js +251 -5
  327. package/es/Transfer/TransferPanel.vue3.js +5 -0
  328. package/es/Transfer/index.css +1 -1
  329. package/es/Transfer/index.js +4 -3
  330. package/es/Trigger/index.js +4 -3
  331. package/es/Trigger/index.vue.js +186 -5
  332. package/es/Trigger/index.vue3.js +5 -0
  333. package/es/Typography/TypographyBase.vue.js +202 -5
  334. package/es/Typography/TypographyBase.vue3.js +5 -0
  335. package/es/Typography/TypographyParagraph.vue.js +49 -5
  336. package/es/Typography/TypographyParagraph.vue3.js +5 -0
  337. package/es/Typography/TypographyText.vue.js +3 -2
  338. package/es/Typography/TypographyTitle.vue.js +50 -5
  339. package/es/Typography/TypographyTitle.vue3.js +5 -0
  340. package/es/Typography/index.css +1 -1
  341. package/es/Typography/index.js +10 -8
  342. package/es/VerificationCode/index.css +1 -1
  343. package/es/VerificationCode/index.js +4 -3
  344. package/es/VerificationCode/index.vue.js +125 -5
  345. package/es/VerificationCode/index.vue3.js +5 -0
  346. package/es/Watermark/index.js +4 -3
  347. package/es/Watermark/index.vue.js +274 -5
  348. package/es/Watermark/index.vue3.js +5 -0
  349. package/es/_shared/components/ExpandTransition.vue2.js +47 -5
  350. package/es/_shared/components/ExpandTransition.vue3.js +2 -46
  351. package/es/_shared/components/Icon.vue2.js +1 -3
  352. package/es/_shared/components/Icon.vue3.js +1 -1
  353. package/es/_shared/components/IconButton.vue.js +44 -0
  354. package/es/_shared/components/IconButton.vue3.js +2 -41
  355. package/es/_shared/icons/IconArrowDown.vue.js +3 -2
  356. package/es/_shared/icons/IconArrowRight.vue.js +3 -2
  357. package/es/_shared/icons/IconCheck.vue.js +3 -2
  358. package/es/_shared/icons/IconCheckboxChecked.vue.js +3 -2
  359. package/es/_shared/icons/IconClose.vue.js +3 -2
  360. package/es/_shared/icons/IconCopy.vue.js +1 -16
  361. package/es/_shared/icons/IconCopy.vue2.js +17 -1
  362. package/es/_shared/icons/IconDelete.vue2.js +3 -2
  363. package/es/_shared/icons/IconDragDot.vue.js +3 -2
  364. package/es/_shared/icons/IconEdit.vue.js +1 -16
  365. package/es/_shared/icons/IconEdit.vue2.js +17 -1
  366. package/es/_shared/icons/IconEmpty.vue.js +3 -2
  367. package/es/_shared/icons/IconError.vue.js +3 -2
  368. package/es/_shared/icons/IconExclamation.vue2.js +3 -2
  369. package/es/_shared/icons/IconEyeClose.vue2.js +3 -2
  370. package/es/_shared/icons/IconEyeOpen.vue2.js +3 -2
  371. package/es/_shared/icons/IconFaceSmile.vue.js +3 -2
  372. package/es/_shared/icons/IconFullScreen.vue2.js +3 -2
  373. package/es/_shared/icons/IconImageClose.vue.js +3 -2
  374. package/es/_shared/icons/IconInfo.vue.js +3 -2
  375. package/es/_shared/icons/IconInfoLine.vue.js +3 -2
  376. package/es/_shared/icons/IconLink.vue.js +3 -2
  377. package/es/_shared/icons/IconLoading.vue.js +3 -2
  378. package/es/_shared/icons/IconMenuFold.vue.js +3 -2
  379. package/es/_shared/icons/IconMenuUnfold.vue.js +3 -2
  380. package/es/_shared/icons/IconMinus.vue2.js +3 -2
  381. package/es/_shared/icons/IconMore.vue.js +3 -2
  382. package/es/_shared/icons/IconOriginSize.vue2.js +3 -2
  383. package/es/_shared/icons/IconPlus.vue.js +3 -2
  384. package/es/_shared/icons/IconRight.vue.js +3 -2
  385. package/es/_shared/icons/IconRotateLeft.vue2.js +3 -2
  386. package/es/_shared/icons/IconRotateRight.vue2.js +3 -2
  387. package/es/_shared/icons/IconSearch.vue2.js +3 -2
  388. package/es/_shared/icons/IconSeparator.vue2.js +3 -2
  389. package/es/_shared/icons/IconStar.vue.js +3 -2
  390. package/es/_shared/icons/IconSuccess.vue.js +3 -2
  391. package/es/_shared/icons/IconTime.vue.js +3 -2
  392. package/es/_shared/icons/IconToTop.vue.js +3 -2
  393. package/es/_shared/icons/IconWarning.vue.js +3 -2
  394. package/es/_shared/icons/IconZoomIn.vue2.js +3 -2
  395. package/es/_shared/icons/IconZoomOut.vue2.js +3 -2
  396. package/es/index.js +153 -123
  397. package/es/shared.css +1 -1
  398. package/es/style.css +1 -1
  399. package/lib/Alert/index.js +1 -1
  400. package/lib/Alert/index.vue.js +1 -1
  401. package/lib/Alert/index.vue3.js +1 -0
  402. package/lib/Anchor/Anchor.vue.js +1 -1
  403. package/lib/Anchor/Anchor.vue3.js +1 -0
  404. package/lib/Anchor/AnchorLink.vue.js +1 -1
  405. package/lib/Anchor/AnchorLink.vue3.js +1 -0
  406. package/lib/Anchor/hooks/useContext.js +1 -1
  407. package/lib/Anchor/index.css +1 -1
  408. package/lib/Anchor/index.js +1 -1
  409. package/lib/Avatar/Avatar.vue.js +1 -1
  410. package/lib/Avatar/Avatar.vue3.js +1 -0
  411. package/lib/Avatar/AvatarGroup.vue.js +1 -1
  412. package/lib/Avatar/AvatarGroup.vue3.js +1 -0
  413. package/lib/Avatar/index.css +1 -1
  414. package/lib/Avatar/index.js +1 -1
  415. package/lib/BackTop/index.js +1 -1
  416. package/lib/BackTop/index.vue.js +1 -1
  417. package/lib/BackTop/index.vue3.js +1 -0
  418. package/lib/Badge/index.js +1 -1
  419. package/lib/Badge/index.vue.js +1 -1
  420. package/lib/Badge/index.vue3.js +1 -0
  421. package/lib/Breadcrumb/Breadcrumb.vue.js +1 -1
  422. package/lib/Breadcrumb/Breadcrumb.vue3.js +1 -0
  423. package/lib/Breadcrumb/BreadcrumbItem.vue.js +1 -1
  424. package/lib/Breadcrumb/BreadcrumbItem.vue3.js +1 -0
  425. package/lib/Breadcrumb/BreadcrumbMore.vue.js +1 -1
  426. package/lib/Breadcrumb/BreadcrumbSeparator.vue.js +1 -1
  427. package/lib/Breadcrumb/BreadcrumbSeparator.vue3.js +1 -0
  428. package/lib/Breadcrumb/index.css +1 -1
  429. package/lib/Breadcrumb/index.js +1 -1
  430. package/lib/Button/Button.vue.js +1 -1
  431. package/lib/Button/Button.vue3.js +1 -0
  432. package/lib/Button/index.js +1 -1
  433. package/lib/Calendar/Calendar.vue.js +1 -1
  434. package/lib/Calendar/Calendar.vue3.js +1 -0
  435. package/lib/Calendar/CalendarMonth.vue.js +1 -1
  436. package/lib/Calendar/CalendarMonth.vue3.js +1 -0
  437. package/lib/Calendar/CalendarYear.vue.js +1 -1
  438. package/lib/Calendar/CalendarYear.vue3.js +1 -0
  439. package/lib/Calendar/index.js +1 -1
  440. package/lib/Card/Card.vue.js +1 -1
  441. package/lib/Card/Card.vue3.js +1 -0
  442. package/lib/Card/CardGrid.vue.js +1 -1
  443. package/lib/Card/CardGrid.vue3.js +1 -0
  444. package/lib/Card/CardMeta.vue.js +1 -1
  445. package/lib/Card/CardMeta.vue3.js +1 -0
  446. package/lib/Card/index.css +1 -1
  447. package/lib/Card/index.js +1 -1
  448. package/lib/Carousel/Carousel.vue.js +1 -1
  449. package/lib/Carousel/Carousel.vue3.js +1 -0
  450. package/lib/Carousel/CarouselArrow.vue.js +1 -1
  451. package/lib/Carousel/CarouselArrow.vue3.js +1 -0
  452. package/lib/Carousel/CarouselIndicator.vue.js +1 -1
  453. package/lib/Carousel/CarouselIndicator.vue3.js +1 -0
  454. package/lib/Carousel/CarouselItem.vue.js +1 -1
  455. package/lib/Carousel/CarouselItem.vue3.js +1 -0
  456. package/lib/Carousel/hooks/useContext.js +1 -1
  457. package/lib/Carousel/index.js +1 -1
  458. package/lib/Cascader/Cascader.vue.js +1 -1
  459. package/lib/Cascader/Cascader.vue3.js +1 -0
  460. package/lib/Cascader/CascaderIcon.vue.js +1 -1
  461. package/lib/Cascader/CascaderIcon.vue3.js +1 -0
  462. package/lib/Cascader/CascaderOption.vue.js +1 -1
  463. package/lib/Cascader/CascaderOption.vue3.js +1 -0
  464. package/lib/Cascader/CascaderPanel.vue.js +1 -1
  465. package/lib/Cascader/CascaderPanel.vue3.js +1 -0
  466. package/lib/Cascader/CascaderSearchPanel.vue.js +1 -1
  467. package/lib/Cascader/CascaderSearchPanel.vue3.js +1 -0
  468. package/lib/Cascader/index.css +1 -1
  469. package/lib/Cascader/index.js +1 -1
  470. package/lib/Checkbox/Checkbox.vue.js +1 -1
  471. package/lib/Checkbox/Checkbox.vue3.js +1 -0
  472. package/lib/Checkbox/CheckboxGroup.vue.js +1 -1
  473. package/lib/Checkbox/index.js +1 -1
  474. package/lib/Collapse/Collapse.vue.js +1 -1
  475. package/lib/Collapse/Collapse.vue3.js +1 -0
  476. package/lib/Collapse/CollapseItem.vue.js +1 -1
  477. package/lib/Collapse/CollapseItem.vue3.js +1 -0
  478. package/lib/Collapse/index.css +1 -1
  479. package/lib/Collapse/index.js +1 -1
  480. package/lib/ColorPicker/ColorControl.vue.js +1 -1
  481. package/lib/ColorPicker/ColorControl.vue3.js +1 -0
  482. package/lib/ColorPicker/ColorInput.vue.js +1 -1
  483. package/lib/ColorPicker/ColorInput.vue3.js +1 -0
  484. package/lib/ColorPicker/ColorList.vue.js +1 -1
  485. package/lib/ColorPicker/ColorList.vue3.js +1 -0
  486. package/lib/ColorPicker/ColorPalette.vue.js +1 -1
  487. package/lib/ColorPicker/ColorPalette.vue3.js +1 -0
  488. package/lib/ColorPicker/ColorPanel.vue.js +1 -1
  489. package/lib/ColorPicker/ColorPanel.vue3.js +1 -0
  490. package/lib/ColorPicker/ColorPicker.vue.js +1 -1
  491. package/lib/ColorPicker/ColorPicker.vue3.js +1 -0
  492. package/lib/ColorPicker/index.css +1 -1
  493. package/lib/ColorPicker/index.js +1 -1
  494. package/lib/Comment/index.js +1 -1
  495. package/lib/Comment/index.vue.js +1 -1
  496. package/lib/Comment/index.vue3.js +1 -0
  497. package/lib/Descriptions/Descriptions.vue.js +1 -1
  498. package/lib/Descriptions/ReuseItem.vue.js +1 -1
  499. package/lib/Descriptions/ReuseItem.vue3.js +1 -0
  500. package/lib/Descriptions/ReuseTd.vue.js +1 -1
  501. package/lib/Descriptions/ReuseTd.vue3.js +1 -0
  502. package/lib/Divider/index.js +1 -1
  503. package/lib/Divider/index.vue.js +1 -1
  504. package/lib/Divider/index.vue3.js +1 -0
  505. package/lib/Drawer/Drawer.vue.js +1 -1
  506. package/lib/Drawer/Drawer.vue3.js +1 -0
  507. package/lib/Drawer/DrawerService.vue.js +1 -1
  508. package/lib/Drawer/index.js +1 -1
  509. package/lib/Dropdown/Dgroup.vue.js +1 -1
  510. package/lib/Dropdown/Dgroup.vue3.js +1 -0
  511. package/lib/Dropdown/Doption.vue.js +1 -1
  512. package/lib/Dropdown/Doption.vue3.js +1 -0
  513. package/lib/Dropdown/Dsubmenu.vue.js +1 -1
  514. package/lib/Dropdown/Dsubmenu.vue3.js +1 -0
  515. package/lib/Dropdown/index.js +1 -1
  516. package/lib/Empty/index.js +1 -1
  517. package/lib/Empty/index.vue.js +1 -1
  518. package/lib/Empty/index.vue3.js +1 -0
  519. package/lib/Grid/Grid.vue.js +1 -1
  520. package/lib/Grid/Grid.vue3.js +1 -0
  521. package/lib/Grid/GridRow.vue.js +1 -1
  522. package/lib/Grid/GridRow.vue3.js +1 -0
  523. package/lib/Grid/index.js +1 -1
  524. package/lib/Image/Image.vue.js +1 -1
  525. package/lib/Image/Image.vue3.js +1 -0
  526. package/lib/Image/ImagePreview.vue.js +1 -1
  527. package/lib/Image/ImagePreview.vue3.js +1 -0
  528. package/lib/Image/ImagePreviewAction.vue.js +1 -1
  529. package/lib/Image/ImagePreviewAction.vue3.js +1 -0
  530. package/lib/Image/ImagePreviewArrow.vue.js +1 -1
  531. package/lib/Image/ImagePreviewArrow.vue3.js +1 -0
  532. package/lib/Image/ImagePreviewGroup.vue.js +1 -1
  533. package/lib/Image/ImagePreviewToolbar.vue.js +1 -1
  534. package/lib/Image/ImagePreviewToolbar.vue3.js +1 -0
  535. package/lib/Image/hooks/useContext.js +1 -1
  536. package/lib/Image/index.js +1 -1
  537. package/lib/Input/Input.vue.js +1 -1
  538. package/lib/Input/Input.vue3.js +1 -0
  539. package/lib/Input/InputSuffix.vue.js +1 -1
  540. package/lib/Input/InputSuffix.vue3.js +1 -0
  541. package/lib/Input/index.js +1 -1
  542. package/lib/InputNumber/InputNumber.vue.js +1 -1
  543. package/lib/InputNumber/InputNumber.vue3.js +1 -0
  544. package/lib/InputNumber/InputOperaBtn.vue.js +1 -1
  545. package/lib/InputNumber/InputOperaBtn.vue3.js +1 -0
  546. package/lib/InputNumber/index.css +1 -1
  547. package/lib/InputNumber/index.js +1 -1
  548. package/lib/InputTag/index.css +1 -1
  549. package/lib/InputTag/index.js +1 -1
  550. package/lib/InputTag/index.vue.js +1 -1
  551. package/lib/InputTag/index.vue3.js +1 -0
  552. package/lib/Layout/Layout.vue.js +1 -1
  553. package/lib/Layout/Layout.vue3.js +1 -0
  554. package/lib/Layout/LayoutContent.vue.js +1 -1
  555. package/lib/Layout/LayoutContent.vue3.js +1 -0
  556. package/lib/Layout/LayoutFooter.vue.js +1 -1
  557. package/lib/Layout/LayoutFooter.vue3.js +1 -0
  558. package/lib/Layout/LayoutHeader.vue.js +1 -1
  559. package/lib/Layout/LayoutHeader.vue3.js +1 -0
  560. package/lib/Layout/LayoutSider.vue.js +1 -1
  561. package/lib/Layout/LayoutSider.vue3.js +1 -0
  562. package/lib/Layout/index.js +1 -1
  563. package/lib/Link/index.js +1 -1
  564. package/lib/Link/index.vue.js +1 -1
  565. package/lib/Link/index.vue3.js +1 -0
  566. package/lib/List/List.vue.js +1 -1
  567. package/lib/List/List.vue3.js +1 -0
  568. package/lib/List/ListItem.vue.js +1 -1
  569. package/lib/List/ListItem.vue3.js +1 -0
  570. package/lib/List/ListItemMeta.vue.js +1 -1
  571. package/lib/List/ListItemMeta.vue3.js +1 -0
  572. package/lib/List/index.css +1 -1
  573. package/lib/List/index.js +1 -1
  574. package/lib/Menu/Menu.vue.js +1 -1
  575. package/lib/Menu/Menu.vue3.js +1 -0
  576. package/lib/Menu/MenuEllipsis.vue.js +1 -1
  577. package/lib/Menu/MenuEllipsis.vue3.js +1 -0
  578. package/lib/Menu/MenuItem.vue.js +1 -1
  579. package/lib/Menu/MenuItem.vue3.js +1 -0
  580. package/lib/Menu/MenuItemGroup.vue.js +1 -1
  581. package/lib/Menu/MenuItemGroup.vue3.js +1 -0
  582. package/lib/Menu/MenuPopOption.vue.js +1 -1
  583. package/lib/Menu/SubMenu.vue.js +1 -1
  584. package/lib/Menu/SubMenu.vue3.js +1 -0
  585. package/lib/Menu/hooks/useContext.js +1 -1
  586. package/lib/Menu/index.css +1 -1
  587. package/lib/Menu/index.js +1 -1
  588. package/lib/Message/Message.vue.js +1 -1
  589. package/lib/Message/Message.vue3.js +1 -0
  590. package/lib/Message/MessageList.vue.js +1 -1
  591. package/lib/Message/MessageList.vue3.js +1 -0
  592. package/lib/Message/index.js +1 -1
  593. package/lib/Modal/Modal.vue.js +1 -1
  594. package/lib/Modal/Modal.vue3.js +1 -0
  595. package/lib/Modal/ModalService.vue.js +1 -1
  596. package/lib/Modal/index.js +1 -1
  597. package/lib/Notification/Notification.vue.js +1 -1
  598. package/lib/Notification/Notification.vue3.js +1 -0
  599. package/lib/Notification/NotificationList.vue.js +1 -1
  600. package/lib/Notification/NotificationList.vue3.js +1 -0
  601. package/lib/Notification/index.js +1 -1
  602. package/lib/OverflowList/index.css +1 -1
  603. package/lib/OverflowList/index.js +1 -1
  604. package/lib/OverflowList/index.vue.js +1 -1
  605. package/lib/OverflowList/index.vue3.js +1 -0
  606. package/lib/PageHeader/index.css +1 -1
  607. package/lib/PageHeader/index.js +1 -1
  608. package/lib/PageHeader/index.vue.js +1 -1
  609. package/lib/PageHeader/index.vue3.js +1 -0
  610. package/lib/Pagination/Pagination.vue.js +1 -1
  611. package/lib/Pagination/Pagination.vue3.js +1 -0
  612. package/lib/Pagination/PaginationItem.vue.js +1 -1
  613. package/lib/Pagination/PaginationItem.vue3.js +1 -0
  614. package/lib/Pagination/index.css +1 -1
  615. package/lib/Pagination/index.js +1 -1
  616. package/lib/Progress/Progress.vue.js +1 -1
  617. package/lib/Progress/Progress.vue3.js +1 -0
  618. package/lib/Progress/ProgressCircle.vue.js +1 -1
  619. package/lib/Progress/ProgressCircle.vue3.js +1 -0
  620. package/lib/Progress/ProgressLine.vue.js +1 -1
  621. package/lib/Progress/ProgressLine.vue3.js +1 -0
  622. package/lib/Progress/index.js +1 -1
  623. package/lib/Radio/Radio.vue.js +1 -1
  624. package/lib/Radio/Radio.vue3.js +1 -0
  625. package/lib/Radio/RadioGroup.vue.js +1 -1
  626. package/lib/Radio/index.js +1 -1
  627. package/lib/Rate/index.js +1 -1
  628. package/lib/Rate/index.vue.js +1 -1
  629. package/lib/Rate/index.vue3.js +1 -0
  630. package/lib/ResizeBox/index.js +1 -1
  631. package/lib/ResizeBox/index.vue.js +1 -1
  632. package/lib/ResizeBox/index.vue3.js +1 -0
  633. package/lib/Result/index.js +1 -1
  634. package/lib/Result/index.vue.js +1 -1
  635. package/lib/Result/index.vue3.js +1 -0
  636. package/lib/Scrollbar/Scrollbar.vue.js +1 -1
  637. package/lib/Scrollbar/Scrollbar.vue3.js +1 -0
  638. package/lib/Scrollbar/ScrollbarTrack.vue.js +1 -1
  639. package/lib/Scrollbar/ScrollbarTrack.vue3.js +1 -0
  640. package/lib/Scrollbar/index.css +1 -1
  641. package/lib/Scrollbar/index.js +1 -1
  642. package/lib/Select/Optgroup.vue.js +1 -1
  643. package/lib/Select/Optgroup.vue3.js +1 -0
  644. package/lib/Select/Option.vue.js +1 -1
  645. package/lib/Select/Option.vue3.js +1 -0
  646. package/lib/Select/Select.vue.js +1 -1
  647. package/lib/Select/Select.vue3.js +1 -0
  648. package/lib/Select/SelectIcon.vue.js +1 -1
  649. package/lib/Select/SelectIcon.vue3.js +1 -0
  650. package/lib/Select/SelectRealList.vue.js +1 -1
  651. package/lib/Select/SelectRealList.vue3.js +1 -0
  652. package/lib/Select/SelectView.vue.js +1 -1
  653. package/lib/Select/SelectView.vue3.js +1 -0
  654. package/lib/Select/SelectVirtualList.vue.js +1 -1
  655. package/lib/Select/SelectVirtualList.vue3.js +1 -0
  656. package/lib/Select/index.css +1 -1
  657. package/lib/Select/index.js +1 -1
  658. package/lib/Skeleton/SkeletonLine.vue.js +1 -1
  659. package/lib/Skeleton/SkeletonLine.vue3.js +1 -0
  660. package/lib/Skeleton/SkeletonShape.vue.js +1 -1
  661. package/lib/Skeleton/SkeletonShape.vue3.js +1 -0
  662. package/lib/Skeleton/index.js +1 -1
  663. package/lib/Slider/Slider.vue.js +1 -1
  664. package/lib/Slider/Slider.vue3.js +1 -0
  665. package/lib/Slider/SliderBtn.vue.js +1 -1
  666. package/lib/Slider/SliderBtn.vue3.js +1 -0
  667. package/lib/Slider/SliderInput.vue.js +1 -1
  668. package/lib/Slider/SliderInput.vue3.js +1 -0
  669. package/lib/Slider/SliderTicks.vue.js +1 -1
  670. package/lib/Slider/SliderTicks.vue3.js +1 -0
  671. package/lib/Slider/index.css +1 -1
  672. package/lib/Slider/index.js +1 -1
  673. package/lib/Space/index.js +1 -1
  674. package/lib/Space/index.vue.js +1 -1
  675. package/lib/Space/index.vue3.js +1 -0
  676. package/lib/Spin/index.js +1 -1
  677. package/lib/Spin/index.vue.js +1 -1
  678. package/lib/Spin/index.vue3.js +1 -0
  679. package/lib/Split/index.js +1 -1
  680. package/lib/Split/index.vue.js +1 -1
  681. package/lib/Split/index.vue3.js +1 -0
  682. package/lib/Statistic/Countdown.vue.js +1 -1
  683. package/lib/Statistic/Statistic.vue.js +1 -1
  684. package/lib/Statistic/Statistic.vue3.js +1 -0
  685. package/lib/Statistic/index.js +1 -1
  686. package/lib/Steps/Step.vue.js +1 -1
  687. package/lib/Steps/Step.vue3.js +1 -0
  688. package/lib/Steps/Steps.vue.js +1 -1
  689. package/lib/Steps/Steps.vue3.js +1 -0
  690. package/lib/Steps/index.js +1 -1
  691. package/lib/Switch/index.js +1 -1
  692. package/lib/Switch/index.vue.js +1 -1
  693. package/lib/Switch/index.vue3.js +1 -0
  694. package/lib/Tabs/TabButton.vue.js +1 -1
  695. package/lib/Tabs/TabButton.vue3.js +1 -0
  696. package/lib/Tabs/Tabs.vue.js +1 -1
  697. package/lib/Tabs/Tabs.vue3.js +1 -0
  698. package/lib/Tabs/TabsNavInk.vue.js +1 -1
  699. package/lib/Tabs/TabsNavInk.vue3.js +1 -0
  700. package/lib/Tabs/TabsTab.vue.js +1 -1
  701. package/lib/Tabs/TabsTab.vue3.js +1 -0
  702. package/lib/Tabs/index.js +1 -1
  703. package/lib/Tag/index.js +1 -1
  704. package/lib/Tag/index.vue.js +1 -1
  705. package/lib/Tag/index.vue3.js +1 -0
  706. package/lib/Textarea/index.js +1 -1
  707. package/lib/Textarea/index.vue.js +1 -1
  708. package/lib/Textarea/index.vue3.js +1 -0
  709. package/lib/TimePicker/TimePicker.vue.js +1 -1
  710. package/lib/TimePicker/TimePicker.vue3.js +1 -0
  711. package/lib/TimePicker/TimePickerPanel.vue.js +1 -1
  712. package/lib/TimePicker/TimePickerPanel.vue3.js +1 -0
  713. package/lib/TimePicker/index.js +1 -1
  714. package/lib/Timeline/Timeline.vue.js +1 -1
  715. package/lib/Timeline/Timeline.vue3.js +1 -0
  716. package/lib/Timeline/TimelineItem.vue.js +1 -1
  717. package/lib/Timeline/TimelineItem.vue3.js +1 -0
  718. package/lib/Timeline/TimelineItemPending.vue.js +1 -1
  719. package/lib/Timeline/hooks/useContext.js +1 -1
  720. package/lib/Timeline/index.css +1 -1
  721. package/lib/Timeline/index.js +1 -1
  722. package/lib/Transfer/Transfer.vue.js +1 -1
  723. package/lib/Transfer/Transfer.vue3.js +1 -0
  724. package/lib/Transfer/TransferPanel.vue.js +1 -1
  725. package/lib/Transfer/TransferPanel.vue3.js +1 -0
  726. package/lib/Transfer/index.css +1 -1
  727. package/lib/Transfer/index.js +1 -1
  728. package/lib/Trigger/index.js +1 -1
  729. package/lib/Trigger/index.vue.js +1 -1
  730. package/lib/Trigger/index.vue3.js +1 -0
  731. package/lib/Typography/TypographyBase.vue.js +1 -1
  732. package/lib/Typography/TypographyBase.vue3.js +1 -0
  733. package/lib/Typography/TypographyParagraph.vue.js +1 -1
  734. package/lib/Typography/TypographyParagraph.vue3.js +1 -0
  735. package/lib/Typography/TypographyText.vue.js +1 -1
  736. package/lib/Typography/TypographyTitle.vue.js +1 -1
  737. package/lib/Typography/TypographyTitle.vue3.js +1 -0
  738. package/lib/Typography/index.css +1 -1
  739. package/lib/Typography/index.js +1 -1
  740. package/lib/VerificationCode/index.css +1 -1
  741. package/lib/VerificationCode/index.js +1 -1
  742. package/lib/VerificationCode/index.vue.js +1 -1
  743. package/lib/VerificationCode/index.vue3.js +1 -0
  744. package/lib/Watermark/index.js +1 -1
  745. package/lib/Watermark/index.vue.js +1 -1
  746. package/lib/Watermark/index.vue3.js +1 -0
  747. package/lib/_shared/components/ExpandTransition.vue2.js +1 -1
  748. package/lib/_shared/components/ExpandTransition.vue3.js +1 -1
  749. package/lib/_shared/components/Icon.vue2.js +1 -1
  750. package/lib/_shared/components/Icon.vue3.js +1 -1
  751. package/lib/_shared/components/IconButton.vue.js +1 -0
  752. package/lib/_shared/components/IconButton.vue3.js +1 -1
  753. package/lib/_shared/icons/IconArrowDown.vue.js +1 -1
  754. package/lib/_shared/icons/IconArrowRight.vue.js +1 -1
  755. package/lib/_shared/icons/IconCheck.vue.js +1 -1
  756. package/lib/_shared/icons/IconCheckboxChecked.vue.js +1 -1
  757. package/lib/_shared/icons/IconClose.vue.js +1 -1
  758. package/lib/_shared/icons/IconCopy.vue.js +1 -1
  759. package/lib/_shared/icons/IconCopy.vue2.js +1 -1
  760. package/lib/_shared/icons/IconDelete.vue2.js +1 -1
  761. package/lib/_shared/icons/IconDragDot.vue.js +1 -1
  762. package/lib/_shared/icons/IconEdit.vue.js +1 -1
  763. package/lib/_shared/icons/IconEdit.vue2.js +1 -1
  764. package/lib/_shared/icons/IconEmpty.vue.js +1 -1
  765. package/lib/_shared/icons/IconError.vue.js +1 -1
  766. package/lib/_shared/icons/IconExclamation.vue2.js +1 -1
  767. package/lib/_shared/icons/IconEyeClose.vue2.js +1 -1
  768. package/lib/_shared/icons/IconEyeOpen.vue2.js +1 -1
  769. package/lib/_shared/icons/IconFaceSmile.vue.js +1 -1
  770. package/lib/_shared/icons/IconFullScreen.vue2.js +1 -1
  771. package/lib/_shared/icons/IconImageClose.vue.js +1 -1
  772. package/lib/_shared/icons/IconInfo.vue.js +1 -1
  773. package/lib/_shared/icons/IconInfoLine.vue.js +1 -1
  774. package/lib/_shared/icons/IconLink.vue.js +1 -1
  775. package/lib/_shared/icons/IconLoading.vue.js +1 -1
  776. package/lib/_shared/icons/IconMenuFold.vue.js +1 -1
  777. package/lib/_shared/icons/IconMenuUnfold.vue.js +1 -1
  778. package/lib/_shared/icons/IconMinus.vue2.js +1 -1
  779. package/lib/_shared/icons/IconMore.vue.js +1 -1
  780. package/lib/_shared/icons/IconOriginSize.vue2.js +1 -1
  781. package/lib/_shared/icons/IconPlus.vue.js +1 -1
  782. package/lib/_shared/icons/IconRight.vue.js +1 -1
  783. package/lib/_shared/icons/IconRotateLeft.vue2.js +1 -1
  784. package/lib/_shared/icons/IconRotateRight.vue2.js +1 -1
  785. package/lib/_shared/icons/IconSearch.vue2.js +1 -1
  786. package/lib/_shared/icons/IconSeparator.vue2.js +1 -1
  787. package/lib/_shared/icons/IconStar.vue.js +1 -1
  788. package/lib/_shared/icons/IconSuccess.vue.js +1 -1
  789. package/lib/_shared/icons/IconTime.vue.js +1 -1
  790. package/lib/_shared/icons/IconToTop.vue.js +1 -1
  791. package/lib/_shared/icons/IconWarning.vue.js +1 -1
  792. package/lib/_shared/icons/IconZoomIn.vue2.js +1 -1
  793. package/lib/_shared/icons/IconZoomOut.vue2.js +1 -1
  794. package/lib/index.js +1 -1
  795. package/lib/shared.css +1 -1
  796. package/lib/style.css +1 -1
  797. package/package.json +1 -1
  798. package/es/Alert/index.vue2.js +0 -101
  799. package/es/Anchor/Anchor.vue2.js +0 -73
  800. package/es/Anchor/AnchorLink.vue2.js +0 -77
  801. package/es/Avatar/Avatar.vue2.js +0 -115
  802. package/es/Avatar/AvatarGroup.vue2.js +0 -95
  803. package/es/BackTop/index.vue2.js +0 -82
  804. package/es/Badge/index.vue2.js +0 -92
  805. package/es/Breadcrumb/Breadcrumb.vue2.js +0 -118
  806. package/es/Breadcrumb/BreadcrumbItem.vue2.js +0 -76
  807. package/es/Breadcrumb/BreadcrumbSeparator.vue2.js +0 -44
  808. package/es/Button/Button.vue2.js +0 -110
  809. package/es/Calendar/Calendar.vue2.js +0 -208
  810. package/es/Calendar/CalendarMonth.vue2.js +0 -116
  811. package/es/Calendar/CalendarYear.vue2.js +0 -96
  812. package/es/Card/Card.vue2.js +0 -121
  813. package/es/Card/CardGrid.vue2.js +0 -27
  814. package/es/Card/CardMeta.vue2.js +0 -70
  815. package/es/Carousel/Carousel.vue2.js +0 -131
  816. package/es/Carousel/CarouselArrow.vue2.js +0 -55
  817. package/es/Carousel/CarouselIndicator.vue2.js +0 -57
  818. package/es/Carousel/CarouselItem.vue2.js +0 -55
  819. package/es/Cascader/Cascader.vue2.js +0 -287
  820. package/es/Cascader/CascaderIcon.vue2.js +0 -66
  821. package/es/Cascader/CascaderOption.vue2.js +0 -207
  822. package/es/Cascader/CascaderPanel.vue2.js +0 -63
  823. package/es/Cascader/CascaderSearchPanel.vue2.js +0 -44
  824. package/es/Checkbox/Checkbox.vue2.js +0 -115
  825. package/es/Collapse/Collapse.vue2.js +0 -38
  826. package/es/Collapse/CollapseItem.vue2.js +0 -130
  827. package/es/ColorPicker/ColorControl.vue2.js +0 -112
  828. package/es/ColorPicker/ColorInput.vue2.js +0 -161
  829. package/es/ColorPicker/ColorList.vue2.js +0 -47
  830. package/es/ColorPicker/ColorPalette.vue2.js +0 -100
  831. package/es/ColorPicker/ColorPanel.vue2.js +0 -144
  832. package/es/ColorPicker/ColorPicker.vue2.js +0 -87
  833. package/es/Comment/index.vue2.js +0 -110
  834. package/es/Descriptions/ReuseItem.vue2.js +0 -62
  835. package/es/Descriptions/ReuseTd.vue2.js +0 -56
  836. package/es/Divider/index.vue2.js +0 -54
  837. package/es/Drawer/Drawer.vue2.js +0 -203
  838. package/es/Dropdown/Dgroup.vue2.js +0 -33
  839. package/es/Dropdown/Doption.vue2.js +0 -65
  840. package/es/Dropdown/Dsubmenu.vue2.js +0 -155
  841. package/es/Empty/index.vue2.js +0 -48
  842. package/es/Grid/Grid.vue2.js +0 -41
  843. package/es/Grid/GridRow.vue2.js +0 -48
  844. package/es/Image/Image.vue2.js +0 -183
  845. package/es/Image/ImagePreview.vue2.js +0 -213
  846. package/es/Image/ImagePreviewAction.vue2.js +0 -51
  847. package/es/Image/ImagePreviewArrow.vue2.js +0 -27
  848. package/es/Image/ImagePreviewToolbar.vue2.js +0 -74
  849. package/es/Input/Input.vue2.js +0 -232
  850. package/es/Input/InputSuffix.vue2.js +0 -51
  851. package/es/InputNumber/InputNumber.vue2.js +0 -270
  852. package/es/InputNumber/InputOperaBtn.vue2.js +0 -58
  853. package/es/InputTag/index.vue2.js +0 -323
  854. package/es/Layout/Layout.vue2.js +0 -45
  855. package/es/Layout/LayoutContent.vue2.js +0 -18
  856. package/es/Layout/LayoutFooter.vue2.js +0 -18
  857. package/es/Layout/LayoutHeader.vue2.js +0 -18
  858. package/es/Layout/LayoutSider.vue2.js +0 -132
  859. package/es/Link/index.vue2.js +0 -71
  860. package/es/List/List.vue2.js +0 -208
  861. package/es/List/ListItem.vue2.js +0 -58
  862. package/es/List/ListItemMeta.vue2.js +0 -49
  863. package/es/Menu/Menu.vue2.js +0 -98
  864. package/es/Menu/MenuEllipsis.vue2.js +0 -94
  865. package/es/Menu/MenuItem.vue2.js +0 -232
  866. package/es/Menu/MenuItemGroup.vue2.js +0 -42
  867. package/es/Menu/SubMenu.vue2.js +0 -79
  868. package/es/Message/Message.vue2.js +0 -100
  869. package/es/Message/MessageList.vue2.js +0 -31
  870. package/es/Modal/Modal.vue2.js +0 -256
  871. package/es/Notification/Notification.vue2.js +0 -127
  872. package/es/Notification/NotificationList.vue2.js +0 -35
  873. package/es/OverflowList/index.vue2.js +0 -122
  874. package/es/PageHeader/index.vue2.js +0 -96
  875. package/es/Pagination/Pagination.vue2.js +0 -191
  876. package/es/Pagination/PaginationItem.vue2.js +0 -85
  877. package/es/Progress/Progress.vue2.js +0 -131
  878. package/es/Progress/ProgressCircle.vue2.js +0 -149
  879. package/es/Progress/ProgressLine.vue2.js +0 -99
  880. package/es/Radio/Radio.vue2.js +0 -123
  881. package/es/Rate/index.vue2.js +0 -148
  882. package/es/ResizeBox/index.vue2.js +0 -161
  883. package/es/Result/index.vue2.js +0 -74
  884. package/es/Scrollbar/Scrollbar.vue2.js +0 -225
  885. package/es/Scrollbar/ScrollbarTrack.vue2.js +0 -114
  886. package/es/Select/Optgroup.vue2.js +0 -26
  887. package/es/Select/Option.vue2.js +0 -140
  888. package/es/Select/Select.vue2.js +0 -302
  889. package/es/Select/SelectIcon.vue2.js +0 -66
  890. package/es/Select/SelectRealList.vue2.js +0 -95
  891. package/es/Select/SelectView.vue2.js +0 -99
  892. package/es/Select/SelectVirtualList.vue2.js +0 -61
  893. package/es/Skeleton/SkeletonLine.vue2.js +0 -45
  894. package/es/Skeleton/SkeletonShape.vue2.js +0 -31
  895. package/es/Slider/Slider.vue2.js +0 -145
  896. package/es/Slider/SliderBtn.vue2.js +0 -98
  897. package/es/Slider/SliderInput.vue2.js +0 -56
  898. package/es/Slider/SliderTicks.vue2.js +0 -66
  899. package/es/Space/index.vue2.js +0 -96
  900. package/es/Spin/index.vue2.js +0 -89
  901. package/es/Split/index.vue2.js +0 -146
  902. package/es/Statistic/Statistic.vue2.js +0 -155
  903. package/es/Steps/Step.vue2.js +0 -115
  904. package/es/Steps/Steps.vue2.js +0 -43
  905. package/es/Switch/index.vue2.js +0 -154
  906. package/es/Tabs/TabButton.vue2.js +0 -37
  907. package/es/Tabs/Tabs.vue2.js +0 -208
  908. package/es/Tabs/TabsNavInk.vue2.js +0 -62
  909. package/es/Tabs/TabsTab.vue2.js +0 -91
  910. package/es/Tag/index.vue2.js +0 -113
  911. package/es/Textarea/index.vue2.js +0 -164
  912. package/es/TimePicker/TimePicker.vue2.js +0 -214
  913. package/es/TimePicker/TimePickerPanel.vue2.js +0 -217
  914. package/es/Timeline/Timeline.vue2.js +0 -54
  915. package/es/Timeline/TimelineItem.vue2.js +0 -89
  916. package/es/Transfer/Transfer.vue2.js +0 -105
  917. package/es/Transfer/TransferPanel.vue2.js +0 -252
  918. package/es/Trigger/index.vue2.js +0 -188
  919. package/es/Typography/TypographyBase.vue2.js +0 -204
  920. package/es/Typography/TypographyParagraph.vue2.js +0 -50
  921. package/es/Typography/TypographyTitle.vue2.js +0 -51
  922. package/es/VerificationCode/index.vue2.js +0 -127
  923. package/es/Watermark/index.vue2.js +0 -276
  924. package/es/_shared/components/IconButton.vue2.js +0 -7
  925. package/es/_virtual/_plugin-vue_export-helper.js +0 -10
  926. package/lib/Alert/index.vue2.js +0 -1
  927. package/lib/Anchor/Anchor.vue2.js +0 -1
  928. package/lib/Anchor/AnchorLink.vue2.js +0 -1
  929. package/lib/Avatar/Avatar.vue2.js +0 -1
  930. package/lib/Avatar/AvatarGroup.vue2.js +0 -1
  931. package/lib/BackTop/index.vue2.js +0 -1
  932. package/lib/Badge/index.vue2.js +0 -1
  933. package/lib/Breadcrumb/Breadcrumb.vue2.js +0 -1
  934. package/lib/Breadcrumb/BreadcrumbItem.vue2.js +0 -1
  935. package/lib/Breadcrumb/BreadcrumbSeparator.vue2.js +0 -1
  936. package/lib/Button/Button.vue2.js +0 -1
  937. package/lib/Calendar/Calendar.vue2.js +0 -1
  938. package/lib/Calendar/CalendarMonth.vue2.js +0 -1
  939. package/lib/Calendar/CalendarYear.vue2.js +0 -1
  940. package/lib/Card/Card.vue2.js +0 -1
  941. package/lib/Card/CardGrid.vue2.js +0 -1
  942. package/lib/Card/CardMeta.vue2.js +0 -1
  943. package/lib/Carousel/Carousel.vue2.js +0 -1
  944. package/lib/Carousel/CarouselArrow.vue2.js +0 -1
  945. package/lib/Carousel/CarouselIndicator.vue2.js +0 -1
  946. package/lib/Carousel/CarouselItem.vue2.js +0 -1
  947. package/lib/Cascader/Cascader.vue2.js +0 -1
  948. package/lib/Cascader/CascaderIcon.vue2.js +0 -1
  949. package/lib/Cascader/CascaderOption.vue2.js +0 -1
  950. package/lib/Cascader/CascaderPanel.vue2.js +0 -1
  951. package/lib/Cascader/CascaderSearchPanel.vue2.js +0 -1
  952. package/lib/Checkbox/Checkbox.vue2.js +0 -1
  953. package/lib/Collapse/Collapse.vue2.js +0 -1
  954. package/lib/Collapse/CollapseItem.vue2.js +0 -1
  955. package/lib/ColorPicker/ColorControl.vue2.js +0 -1
  956. package/lib/ColorPicker/ColorInput.vue2.js +0 -1
  957. package/lib/ColorPicker/ColorList.vue2.js +0 -1
  958. package/lib/ColorPicker/ColorPalette.vue2.js +0 -1
  959. package/lib/ColorPicker/ColorPanel.vue2.js +0 -1
  960. package/lib/ColorPicker/ColorPicker.vue2.js +0 -1
  961. package/lib/Comment/index.vue2.js +0 -1
  962. package/lib/Descriptions/ReuseItem.vue2.js +0 -1
  963. package/lib/Descriptions/ReuseTd.vue2.js +0 -1
  964. package/lib/Divider/index.vue2.js +0 -1
  965. package/lib/Drawer/Drawer.vue2.js +0 -1
  966. package/lib/Dropdown/Dgroup.vue2.js +0 -1
  967. package/lib/Dropdown/Doption.vue2.js +0 -1
  968. package/lib/Dropdown/Dsubmenu.vue2.js +0 -1
  969. package/lib/Empty/index.vue2.js +0 -1
  970. package/lib/Grid/Grid.vue2.js +0 -1
  971. package/lib/Grid/GridRow.vue2.js +0 -1
  972. package/lib/Image/Image.vue2.js +0 -1
  973. package/lib/Image/ImagePreview.vue2.js +0 -1
  974. package/lib/Image/ImagePreviewAction.vue2.js +0 -1
  975. package/lib/Image/ImagePreviewArrow.vue2.js +0 -1
  976. package/lib/Image/ImagePreviewToolbar.vue2.js +0 -1
  977. package/lib/Input/Input.vue2.js +0 -1
  978. package/lib/Input/InputSuffix.vue2.js +0 -1
  979. package/lib/InputNumber/InputNumber.vue2.js +0 -1
  980. package/lib/InputNumber/InputOperaBtn.vue2.js +0 -1
  981. package/lib/InputTag/index.vue2.js +0 -1
  982. package/lib/Layout/Layout.vue2.js +0 -1
  983. package/lib/Layout/LayoutContent.vue2.js +0 -1
  984. package/lib/Layout/LayoutFooter.vue2.js +0 -1
  985. package/lib/Layout/LayoutHeader.vue2.js +0 -1
  986. package/lib/Layout/LayoutSider.vue2.js +0 -1
  987. package/lib/Link/index.vue2.js +0 -1
  988. package/lib/List/List.vue2.js +0 -1
  989. package/lib/List/ListItem.vue2.js +0 -1
  990. package/lib/List/ListItemMeta.vue2.js +0 -1
  991. package/lib/Menu/Menu.vue2.js +0 -1
  992. package/lib/Menu/MenuEllipsis.vue2.js +0 -1
  993. package/lib/Menu/MenuItem.vue2.js +0 -1
  994. package/lib/Menu/MenuItemGroup.vue2.js +0 -1
  995. package/lib/Menu/SubMenu.vue2.js +0 -1
  996. package/lib/Message/Message.vue2.js +0 -1
  997. package/lib/Message/MessageList.vue2.js +0 -1
  998. package/lib/Modal/Modal.vue2.js +0 -1
  999. package/lib/Notification/Notification.vue2.js +0 -1
  1000. package/lib/Notification/NotificationList.vue2.js +0 -1
  1001. package/lib/OverflowList/index.vue2.js +0 -1
  1002. package/lib/PageHeader/index.vue2.js +0 -1
  1003. package/lib/Pagination/Pagination.vue2.js +0 -1
  1004. package/lib/Pagination/PaginationItem.vue2.js +0 -1
  1005. package/lib/Progress/Progress.vue2.js +0 -1
  1006. package/lib/Progress/ProgressCircle.vue2.js +0 -1
  1007. package/lib/Progress/ProgressLine.vue2.js +0 -1
  1008. package/lib/Radio/Radio.vue2.js +0 -1
  1009. package/lib/Rate/index.vue2.js +0 -1
  1010. package/lib/ResizeBox/index.vue2.js +0 -1
  1011. package/lib/Result/index.vue2.js +0 -1
  1012. package/lib/Scrollbar/Scrollbar.vue2.js +0 -1
  1013. package/lib/Scrollbar/ScrollbarTrack.vue2.js +0 -1
  1014. package/lib/Select/Optgroup.vue2.js +0 -1
  1015. package/lib/Select/Option.vue2.js +0 -1
  1016. package/lib/Select/Select.vue2.js +0 -1
  1017. package/lib/Select/SelectIcon.vue2.js +0 -1
  1018. package/lib/Select/SelectRealList.vue2.js +0 -1
  1019. package/lib/Select/SelectView.vue2.js +0 -1
  1020. package/lib/Select/SelectVirtualList.vue2.js +0 -1
  1021. package/lib/Skeleton/SkeletonLine.vue2.js +0 -1
  1022. package/lib/Skeleton/SkeletonShape.vue2.js +0 -1
  1023. package/lib/Slider/Slider.vue2.js +0 -1
  1024. package/lib/Slider/SliderBtn.vue2.js +0 -1
  1025. package/lib/Slider/SliderInput.vue2.js +0 -1
  1026. package/lib/Slider/SliderTicks.vue2.js +0 -1
  1027. package/lib/Space/index.vue2.js +0 -1
  1028. package/lib/Spin/index.vue2.js +0 -1
  1029. package/lib/Split/index.vue2.js +0 -1
  1030. package/lib/Statistic/Statistic.vue2.js +0 -1
  1031. package/lib/Steps/Step.vue2.js +0 -1
  1032. package/lib/Steps/Steps.vue2.js +0 -1
  1033. package/lib/Switch/index.vue2.js +0 -1
  1034. package/lib/Tabs/TabButton.vue2.js +0 -1
  1035. package/lib/Tabs/Tabs.vue2.js +0 -1
  1036. package/lib/Tabs/TabsNavInk.vue2.js +0 -1
  1037. package/lib/Tabs/TabsTab.vue2.js +0 -1
  1038. package/lib/Tag/index.vue2.js +0 -1
  1039. package/lib/Textarea/index.vue2.js +0 -1
  1040. package/lib/TimePicker/TimePicker.vue2.js +0 -1
  1041. package/lib/TimePicker/TimePickerPanel.vue2.js +0 -1
  1042. package/lib/Timeline/Timeline.vue2.js +0 -1
  1043. package/lib/Timeline/TimelineItem.vue2.js +0 -1
  1044. package/lib/Transfer/Transfer.vue2.js +0 -1
  1045. package/lib/Transfer/TransferPanel.vue2.js +0 -1
  1046. package/lib/Trigger/index.vue2.js +0 -1
  1047. package/lib/Typography/TypographyBase.vue2.js +0 -1
  1048. package/lib/Typography/TypographyParagraph.vue2.js +0 -1
  1049. package/lib/Typography/TypographyTitle.vue2.js +0 -1
  1050. package/lib/VerificationCode/index.vue2.js +0 -1
  1051. package/lib/Watermark/index.vue2.js +0 -1
  1052. package/lib/_shared/components/IconButton.vue2.js +0 -1
  1053. package/lib/_virtual/_plugin-vue_export-helper.js +0 -1
@@ -1,214 +0,0 @@
1
- import { defineComponent, ref, createBlock, openBlock, unref, mergeProps, withCtx, createElementVNode, normalizeStyle, normalizeClass, createElementBlock, createCommentVNode, renderSlot, withModifiers, Fragment, createVNode, createSlots } from "vue";
2
- import "../node_modules/tinycolor2/esm/tinycolor.js";
3
- import "../_shared/utils/dom.js";
4
- import { isArray } from "../_shared/utils/is.js";
5
- import { isValidTimeRange } from "../_shared/utils/time.js";
6
- import { getGlobalConfig } from "../_shared/utils/global-config.js";
7
- import useContext from "./hooks/useContext.js";
8
- import IconButton from "../_shared/components/IconButton.vue2.js";
9
- /* empty css */
10
- /* empty css */
11
- import _sfc_main$1 from "../_shared/icons/IconTime.vue.js";
12
- import Trigger from "../Trigger/index.js";
13
- import TimePickerPanel from "./TimePickerPanel.vue.js";
14
- const _hoisted_1 = {
15
- key: 0,
16
- class: "yc-picker-prefix"
17
- };
18
- const _hoisted_2 = ["value", "placeholder", "disabled", "readonly"];
19
- const _hoisted_3 = ["value", "placeholder", "disabled", "readonly"];
20
- const _hoisted_4 = { class: "yc-picker-suffix" };
21
- const _hoisted_5 = { class: "yc-picker-suffix-icon" };
22
- const _sfc_main = /* @__PURE__ */ defineComponent({
23
- ...{
24
- name: "TimePicker",
25
- inheritAttrs: false
26
- },
27
- __name: "TimePicker",
28
- props: {
29
- type: { default: "time" },
30
- modelValue: { default: void 0 },
31
- defaultValue: { default: (props) => {
32
- return props.type == "time-range" ? [] : "";
33
- } },
34
- disabled: { type: Boolean, default: false },
35
- allowClear: { type: Boolean, default: true },
36
- readonly: { type: Boolean, default: false },
37
- error: { type: Boolean, default: false },
38
- format: { default: "HH:mm:ss" },
39
- placeholder: { default: (props) => {
40
- return props.type == "time-range" ? ["开始时间", "结束时间"] : "请选择时间";
41
- } },
42
- size: { default: void 0 },
43
- popupContainer: { default: void 0 },
44
- step: {},
45
- disabledHours: { type: Function, default: () => [] },
46
- disabledMinutes: { type: Function, default: () => [] },
47
- disabledSeconds: { type: Function, default: () => [] },
48
- hideDisabledOptions: { type: Boolean, default: false },
49
- disableConfirm: { type: Boolean },
50
- position: { default: "bl" },
51
- popupVisible: { type: Boolean, default: void 0 },
52
- defaultPopupVisible: { type: Boolean, default: false },
53
- triggerProps: { default: () => {
54
- return {};
55
- } },
56
- unmountOnClose: { type: Boolean, default: false }
57
- },
58
- emits: ["update:modelValue", "update:popupVisible", "change", "select", "clear", "popup-visible-change"],
59
- setup(__props, { emit: __emit }) {
60
- const props = __props;
61
- const emits = __emit;
62
- const { popupContainer, size } = getGlobalConfig(props);
63
- const {
64
- type,
65
- computedValue,
66
- computedVisible,
67
- showClearBtn,
68
- readonly,
69
- disabled,
70
- curIndex,
71
- inputRefs,
72
- format
73
- } = useContext().provide(props, emits);
74
- const panelRef = ref();
75
- const handleClear = () => {
76
- computedValue.value = type.value == "time-range" ? [] : "";
77
- emits("clear");
78
- };
79
- const handleOpenPicker = (i) => {
80
- var _a;
81
- curIndex.value = i;
82
- computedVisible.value = true;
83
- (_a = panelRef.value) == null ? void 0 : _a.scroll(
84
- isArray(computedValue.value) ? computedValue.value[i] : computedValue.value
85
- );
86
- };
87
- const handleClickOutSide = () => {
88
- computedVisible.value = false;
89
- if (!isArray(computedValue.value)) {
90
- return;
91
- }
92
- const startTime = computedValue.value[0];
93
- const endTime = computedValue.value[1];
94
- if (startTime && endTime) {
95
- if (!isValidTimeRange(startTime, endTime, format.value)) {
96
- computedValue.value = computedValue.value.reverse();
97
- }
98
- return;
99
- }
100
- computedValue.value = [];
101
- };
102
- return (_ctx, _cache) => {
103
- return openBlock(), createBlock(unref(Trigger), mergeProps({
104
- "popup-visible": unref(computedVisible),
105
- position: _ctx.position,
106
- "popup-container": unref(popupContainer),
107
- "popup-offset": 4,
108
- "unmount-on-close": _ctx.unmountOnClose,
109
- disabled: unref(disabled) || unref(readonly),
110
- "on-click-out-side": handleClickOutSide,
111
- "auto-fit-popup-min-width": false,
112
- "auto-fit-popup-width": false,
113
- trigger: "click",
114
- "animation-name": "slide-dynamic-origin",
115
- "prevent-focus": ""
116
- }, _ctx.triggerProps), {
117
- content: withCtx(() => [
118
- createVNode(TimePickerPanel, {
119
- ref_key: "panelRef",
120
- ref: panelRef
121
- }, createSlots({ _: 2 }, [
122
- _ctx.$slots.extra ? {
123
- name: "extra",
124
- fn: withCtx(() => [
125
- renderSlot(_ctx.$slots, "extra", {}, void 0, true)
126
- ]),
127
- key: "0"
128
- } : void 0
129
- ]), 1536)
130
- ]),
131
- default: withCtx(() => [
132
- createElementVNode("div", {
133
- class: normalizeClass([
134
- "yc-picker",
135
- `yc-picker-size-${unref(size)}`,
136
- _ctx.$attrs.class,
137
- {
138
- "yc-picker-disabled": unref(disabled),
139
- "yc-picker-error": _ctx.error,
140
- "yc-picker-focus": unref(computedVisible),
141
- "yc-picker-has-prefix": _ctx.$slots.prefix,
142
- "yc-picker-allow-clear": unref(showClearBtn),
143
- "yc-picker-range": unref(type) == "time-range"
144
- }
145
- ]),
146
- style: normalizeStyle({
147
- ..._ctx.$attrs.style || {}
148
- })
149
- }, [
150
- _ctx.$slots.prefix ? (openBlock(), createElementBlock("div", _hoisted_1, [
151
- renderSlot(_ctx.$slots, "prefix", {}, void 0, true)
152
- ])) : createCommentVNode("", true),
153
- createElementVNode("div", {
154
- class: normalizeClass([
155
- "yc-picker-input",
156
- {
157
- "yc-picker-input-active": !unref(curIndex) && unref(computedVisible)
158
- }
159
- ]),
160
- onClick: _cache[0] || (_cache[0] = withModifiers(($event) => handleOpenPicker(0), ["stop"]))
161
- }, [
162
- createElementVNode("input", {
163
- value: unref(isArray)(unref(computedValue)) ? unref(computedValue)[0] : unref(computedValue),
164
- placeholder: unref(isArray)(_ctx.placeholder) ? _ctx.placeholder[0] : _ctx.placeholder,
165
- disabled: unref(disabled),
166
- readonly: unref(readonly),
167
- ref: (el) => unref(inputRefs)[0] = el,
168
- class: "yc-picker-start-time"
169
- }, null, 8, _hoisted_2)
170
- ], 2),
171
- unref(type) == "time-range" ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
172
- _cache[2] || (_cache[2] = createElementVNode("span", { class: "yc-picker-separator" }, " - ", -1)),
173
- createElementVNode("div", {
174
- class: normalizeClass([
175
- "yc-picker-input",
176
- {
177
- "yc-picker-input-active": unref(curIndex) && unref(computedVisible)
178
- }
179
- ]),
180
- onClick: _cache[1] || (_cache[1] = withModifiers(($event) => handleOpenPicker(1), ["stop"]))
181
- }, [
182
- createElementVNode("input", {
183
- value: unref(isArray)(unref(computedValue)) ? unref(computedValue)[1] : unref(computedValue),
184
- placeholder: unref(isArray)(_ctx.placeholder) ? _ctx.placeholder[1] : _ctx.placeholder,
185
- disabled: unref(disabled),
186
- readonly: unref(readonly),
187
- ref: (el) => unref(inputRefs)[1] = el,
188
- class: "yc-picker-start-time"
189
- }, null, 8, _hoisted_3)
190
- ], 2)
191
- ], 64)) : createCommentVNode("", true),
192
- createElementVNode("div", _hoisted_4, [
193
- unref(showClearBtn) ? (openBlock(), createBlock(unref(IconButton), {
194
- key: 0,
195
- size: 14,
196
- class: "yc-picker-clear-icon",
197
- onClick: handleClear
198
- })) : createCommentVNode("", true),
199
- createElementVNode("span", _hoisted_5, [
200
- renderSlot(_ctx.$slots, "suffix-icon", {}, () => [
201
- createVNode(unref(_sfc_main$1))
202
- ], true)
203
- ])
204
- ])
205
- ], 6)
206
- ]),
207
- _: 3
208
- }, 16, ["popup-visible", "position", "popup-container", "unmount-on-close", "disabled"]);
209
- };
210
- }
211
- });
212
- export {
213
- _sfc_main as default
214
- };
@@ -1,217 +0,0 @@
1
- import { defineComponent, ref, computed, createElementBlock, openBlock, createElementVNode, createCommentVNode, Fragment, renderList, unref, createVNode, withCtx, withDirectives, normalizeClass, toDisplayString, vShow, renderSlot, createTextVNode } from "vue";
2
- import Tween from "../node_modules/b-tween/dist/b-tween.es.js";
3
- import dayjs from "../node_modules/dayjs/dayjs.min.js";
4
- import "../node_modules/tinycolor2/esm/tinycolor.js";
5
- import { sleep } from "../_shared/utils/dom.js";
6
- import { isUndefined, isArray } from "../_shared/utils/is.js";
7
- import "../_shared/utils/time.js";
8
- import "../Empty/index.js";
9
- /* empty css */
10
- import useContext from "./hooks/useContext.js";
11
- import Button from "../Button/index.js";
12
- import Scrollbar from "../Scrollbar/index.js";
13
- const _hoisted_1 = { class: "yc-timepicker-container" };
14
- const _hoisted_2 = { class: "yc-timepicker" };
15
- const _hoisted_3 = ["onClick"];
16
- const _hoisted_4 = { class: "yc-timepicker-cell-inner" };
17
- const _hoisted_5 = {
18
- key: 0,
19
- class: "yc-timepicker-footer-extra-wrapper"
20
- };
21
- const _hoisted_6 = {
22
- key: 1,
23
- class: "yc-timepicker-footer-btn-wrapper"
24
- };
25
- const _sfc_main = /* @__PURE__ */ defineComponent({
26
- __name: "TimePickerPanel",
27
- setup(__props, { expose: __expose }) {
28
- const {
29
- timeColumn,
30
- timeColumnCells,
31
- curValue,
32
- format,
33
- computedValue,
34
- computedVisible,
35
- disableConfirm,
36
- hideDisabledOptions,
37
- curIndex,
38
- inputRefs,
39
- disabledHours,
40
- disabledMinutes,
41
- disabledSeconds
42
- } = useContext().inject();
43
- const scrollRefs = ref([]);
44
- const disabled = computed(() => {
45
- return !curValue.value.length || curValue.value.some((val) => !`${val}`);
46
- });
47
- const disabledTime = (value, unit) => {
48
- var _a, _b, _c;
49
- if (unit == "hour") {
50
- return (_a = disabledHours == null ? void 0 : disabledHours()) == null ? void 0 : _a.includes(value);
51
- } else if (unit == "minute") {
52
- return (_b = disabledMinutes == null ? void 0 : disabledMinutes(...curValue.value)) == null ? void 0 : _b.includes(value);
53
- } else {
54
- return (_c = disabledSeconds == null ? void 0 : disabledSeconds(...curValue.value)) == null ? void 0 : _c.includes(value);
55
- }
56
- };
57
- const handleClick = (val, i, target) => {
58
- curValue.value[i] = val;
59
- timeColumn.value.forEach((_, i1) => {
60
- curValue.value[i1] = isUndefined(curValue.value[i1]) ? 0 : curValue.value[i1];
61
- });
62
- const scrollContainer = scrollRefs.value[i].getScrollRef();
63
- new Tween({
64
- from: { scroll: scrollContainer.scrollTop },
65
- to: { scroll: target.offsetTop },
66
- duration: 300,
67
- easing: "quadOut",
68
- onUpdate: (current) => {
69
- scrollContainer.scrollTo({
70
- top: current.scroll,
71
- behavior: "instant"
72
- });
73
- }
74
- }).start();
75
- if (!disableConfirm.value) {
76
- return;
77
- }
78
- handleConfirm();
79
- };
80
- const hanldeJump = (timeMap) => {
81
- const cells = scrollRefs.value.map((el) => {
82
- return el.getScrollRef().querySelectorAll(".yc-timepicker-cell");
83
- });
84
- timeColumn.value.map((v, i) => {
85
- const time = timeMap[v];
86
- handleClick(time, i, Array.from(cells[i])[time]);
87
- });
88
- };
89
- const handleConfirm = () => {
90
- var _a;
91
- let date = dayjs();
92
- timeColumn.value.forEach((v, i) => {
93
- date = date.set(v, curValue.value[i]);
94
- });
95
- const formatValue = date.format(format.value);
96
- if (!isArray(computedValue.value)) {
97
- computedVisible.value = false;
98
- computedValue.value = formatValue;
99
- } else {
100
- computedValue.value[curIndex.value] = formatValue;
101
- if (disableConfirm.value) {
102
- return;
103
- }
104
- if (curIndex.value || computedValue.value[curIndex.value + 1]) {
105
- return computedVisible.value = false;
106
- }
107
- curIndex.value++;
108
- (_a = inputRefs.value[curIndex.value]) == null ? void 0 : _a.focus();
109
- curValue.value = [];
110
- }
111
- };
112
- __expose({
113
- async scroll(value) {
114
- if (!computedVisible.value || !value) return;
115
- await sleep(0);
116
- const date = dayjs(value, format.value);
117
- const timeMap = {
118
- hour: date.hour(),
119
- minute: date.minute(),
120
- second: date.second()
121
- };
122
- curValue.value = timeColumn.value.map((v) => timeMap[v]);
123
- hanldeJump(timeMap);
124
- }
125
- });
126
- return (_ctx, _cache) => {
127
- return openBlock(), createElementBlock("div", _hoisted_1, [
128
- createElementVNode("div", _hoisted_2, [
129
- (openBlock(true), createElementBlock(Fragment, null, renderList(unref(timeColumnCells), (column, i) => {
130
- return openBlock(), createElementBlock("div", {
131
- key: i,
132
- class: "yc-timepicker-column"
133
- }, [
134
- createVNode(unref(Scrollbar), {
135
- "outer-style": {
136
- height: "100%"
137
- },
138
- style: {
139
- height: "100%",
140
- overflow: "auto"
141
- },
142
- ref_for: true,
143
- ref: (el) => scrollRefs.value[i] = el
144
- }, {
145
- default: withCtx(() => [
146
- createElementVNode("ul", null, [
147
- (openBlock(true), createElementBlock(Fragment, null, renderList(column.cells, (cell) => {
148
- return withDirectives((openBlock(), createElementBlock("li", {
149
- key: cell.value,
150
- class: normalizeClass([
151
- "yc-timepicker-cell",
152
- {
153
- "yc-timepicker-cell-selected": cell.value == unref(curValue)[i],
154
- "yc-timepicker-cell-disabled": disabledTime(
155
- cell.value,
156
- column.unit
157
- )
158
- }
159
- ]),
160
- onClick: ($event) => !disabledTime(cell.value, column.unit) && handleClick(cell.value, i, $event.target)
161
- }, [
162
- createElementVNode("div", _hoisted_4, toDisplayString(cell.label), 1)
163
- ], 10, _hoisted_3)), [
164
- [
165
- vShow,
166
- !unref(hideDisabledOptions) || !disabledTime(cell.value, column.unit)
167
- ]
168
- ]);
169
- }), 128))
170
- ])
171
- ]),
172
- _: 2
173
- }, 1536)
174
- ]);
175
- }), 128))
176
- ]),
177
- _ctx.$slots.extra ? (openBlock(), createElementBlock("div", _hoisted_5, [
178
- renderSlot(_ctx.$slots, "extra", {}, void 0, true)
179
- ])) : createCommentVNode("", true),
180
- !unref(disableConfirm) ? (openBlock(), createElementBlock("div", _hoisted_6, [
181
- createVNode(unref(Button), {
182
- size: "mini",
183
- onClick: _cache[0] || (_cache[0] = () => {
184
- const date = /* @__PURE__ */ new Date();
185
- hanldeJump({
186
- hour: date.getHours(),
187
- minute: date.getMinutes(),
188
- second: date.getSeconds()
189
- });
190
- })
191
- }, {
192
- default: withCtx(() => _cache[1] || (_cache[1] = [
193
- createTextVNode("此刻", -1)
194
- ])),
195
- _: 1,
196
- __: [1]
197
- }),
198
- createVNode(unref(Button), {
199
- type: "primary",
200
- size: "mini",
201
- disabled: disabled.value,
202
- onClick: handleConfirm
203
- }, {
204
- default: withCtx(() => _cache[2] || (_cache[2] = [
205
- createTextVNode(" 确定 ", -1)
206
- ])),
207
- _: 1,
208
- __: [2]
209
- }, 8, ["disabled"])
210
- ])) : createCommentVNode("", true)
211
- ]);
212
- };
213
- }
214
- });
215
- export {
216
- _sfc_main as default
217
- };
@@ -1,54 +0,0 @@
1
- import { defineComponent, createElementBlock, openBlock, normalizeClass, unref, Fragment, renderList, createBlock, resolveDynamicComponent } from "vue";
2
- import useContext from "./hooks/useContext.js";
3
- const _sfc_main = /* @__PURE__ */ defineComponent({
4
- ...{
5
- name: "Timeline"
6
- },
7
- __name: "Timeline",
8
- props: {
9
- reverse: { type: Boolean, default: false },
10
- direction: { default: "vertical" },
11
- mode: { default: (props) => {
12
- return props.direction == "horizontal" ? "top" : "left";
13
- } },
14
- pending: { type: [Boolean, String], default: false },
15
- labelPosition: { default: "same" }
16
- },
17
- setup(__props) {
18
- const props = __props;
19
- const { direction, mode, timelineItems } = useContext().provide(props);
20
- const getPoistion = (i) => {
21
- if (mode.value != "alternate") {
22
- return mode.value;
23
- }
24
- if (direction.value == "horizontal") {
25
- return i % 2 == 0 ? "top" : "bottom";
26
- } else {
27
- return i % 2 == 0 ? "left" : "right";
28
- }
29
- };
30
- return (_ctx, _cache) => {
31
- return openBlock(), createElementBlock("div", {
32
- role: "list",
33
- class: normalizeClass([
34
- "yc-timeline",
35
- `yc-timeline-direction-${unref(direction)}`,
36
- `yc-timeline-${unref(mode)}`,
37
- {
38
- "yc-timeline-reverse": _ctx.reverse
39
- }
40
- ])
41
- }, [
42
- (openBlock(true), createElementBlock(Fragment, null, renderList(unref(timelineItems), (node, i) => {
43
- return openBlock(), createBlock(resolveDynamicComponent(node), {
44
- key: i,
45
- mode: getPoistion(i)
46
- }, null, 8, ["mode"]);
47
- }), 128))
48
- ], 2);
49
- };
50
- }
51
- });
52
- export {
53
- _sfc_main as default
54
- };
@@ -1,89 +0,0 @@
1
- import { defineComponent, createElementBlock, openBlock, normalizeClass, unref, createElementVNode, createCommentVNode, normalizeStyle, renderSlot, createTextVNode, toDisplayString } from "vue";
2
- import useContext from "./hooks/useContext.js";
3
- const _hoisted_1 = { class: "yc-timeline-item-dot-wrapper" };
4
- const _hoisted_2 = { class: "yc-timeline-item-dot-content" };
5
- const _hoisted_3 = {
6
- key: 0,
7
- class: "yc-timeline-item-dot-custom"
8
- };
9
- const _hoisted_4 = { class: "yc-timeline-item-content-wrapper" };
10
- const _hoisted_5 = { class: "yc-timeline-item-content" };
11
- const _hoisted_6 = {
12
- key: 0,
13
- class: "yc-timeline-item-label"
14
- };
15
- const _hoisted_7 = {
16
- key: 0,
17
- class: "yc-timeline-item-label"
18
- };
19
- const _sfc_main = /* @__PURE__ */ defineComponent({
20
- ...{
21
- name: "TimelineItem"
22
- },
23
- __name: "TimelineItem",
24
- props: {
25
- dotColor: { default: "" },
26
- dotType: { default: "solid" },
27
- lineType: { default: "solid" },
28
- lineColor: { default: "" },
29
- label: { default: "" },
30
- position: { default: "top" },
31
- isGhost: { type: Boolean, default: false }
32
- },
33
- setup(__props) {
34
- const { direction, labelPosition, reverse } = useContext().inject();
35
- return (_ctx, _cache) => {
36
- return openBlock(), createElementBlock("div", {
37
- role: "listitem",
38
- class: normalizeClass([
39
- "yc-timeline-item",
40
- `yc-timeline-item-${_ctx.$attrs.mode}`,
41
- `yc-timeline-item-direction-${unref(direction)}`,
42
- {
43
- "yc-timeline-item-label-is-relative": unref(labelPosition) == "relative",
44
- "yc-timeline-item-ghost": _ctx.isGhost,
45
- "yc-timeline-item-reverse": unref(reverse)
46
- }
47
- ])
48
- }, [
49
- createElementVNode("div", _hoisted_1, [
50
- createElementVNode("div", {
51
- class: "yc-timeline-item-dot-line",
52
- style: normalizeStyle({
53
- "border-style": _ctx.lineType
54
- })
55
- }, null, 4),
56
- createElementVNode("div", _hoisted_2, [
57
- _ctx.$slots.dot ? (openBlock(), createElementBlock("div", _hoisted_3, [
58
- renderSlot(_ctx.$slots, "dot", {}, void 0, true)
59
- ])) : (openBlock(), createElementBlock("div", {
60
- key: 1,
61
- class: normalizeClass(["yc-timeline-item-dot", `yc-timeline-item-dot-${_ctx.dotType}`]),
62
- style: normalizeStyle({
63
- backgroundColor: _ctx.dotColor
64
- })
65
- }, null, 6))
66
- ])
67
- ]),
68
- createElementVNode("div", _hoisted_4, [
69
- createElementVNode("div", _hoisted_5, [
70
- renderSlot(_ctx.$slots, "default", {}, void 0, true)
71
- ]),
72
- unref(labelPosition) == "same" ? (openBlock(), createElementBlock("div", _hoisted_6, [
73
- renderSlot(_ctx.$slots, "label", {}, () => [
74
- createTextVNode(toDisplayString(_ctx.label), 1)
75
- ], true)
76
- ])) : createCommentVNode("", true)
77
- ]),
78
- unref(labelPosition) == "relative" ? (openBlock(), createElementBlock("div", _hoisted_7, [
79
- renderSlot(_ctx.$slots, "label", {}, () => [
80
- createTextVNode(toDisplayString(_ctx.label), 1)
81
- ], true)
82
- ])) : createCommentVNode("", true)
83
- ], 2);
84
- };
85
- }
86
- });
87
- export {
88
- _sfc_main as default
89
- };
@@ -1,105 +0,0 @@
1
- import { defineComponent, createElementBlock, openBlock, normalizeClass, createVNode, createCommentVNode, createBlock, unref, withCtx, renderSlot } from "vue";
2
- import useContext from "./hooks/useContext.js";
3
- import "../node_modules/tinycolor2/esm/tinycolor.js";
4
- import "../_shared/utils/dom.js";
5
- import "../_shared/utils/time.js";
6
- import "../Empty/index.js";
7
- /* empty css */
8
- import _sfc_main$1 from "../_shared/icons/IconArrowRight.vue.js";
9
- import TransferPanel from "./TransferPanel.vue.js";
10
- import Button from "../Button/index.js";
11
- const _hoisted_1 = {
12
- key: 0,
13
- class: "yc-transfer-operations"
14
- };
15
- const _sfc_main = /* @__PURE__ */ defineComponent({
16
- ...{
17
- name: "Transfer"
18
- },
19
- __name: "Transfer",
20
- props: {
21
- data: { default: () => [] },
22
- modelValue: { default: void 0 },
23
- defaultValue: { default: () => [] },
24
- selected: { default: void 0 },
25
- defaultSelected: { default: () => [] },
26
- disabled: { type: Boolean, default: false },
27
- simple: { type: Boolean, default: false },
28
- oneWay: { type: Boolean, default: false },
29
- showSearch: { type: Boolean, default: false },
30
- showSelectAll: { type: Boolean, default: true },
31
- title: { default: () => ["Source", "Target"] },
32
- sourceInputSearchProps: { default: () => {
33
- return {};
34
- } },
35
- targetInputSearchProps: { default: () => {
36
- return {};
37
- } }
38
- },
39
- emits: ["update:selected", "update:modelValue", "change", "select", "search"],
40
- setup(__props, { emit: __emit }) {
41
- const props = __props;
42
- const emits = __emit;
43
- const { computedValue, targetChecked, computedSelected, sourceChecked } = useContext().provide(props, emits);
44
- const handleAdd = () => {
45
- const checked = [...sourceChecked.value];
46
- computedValue.value = [...computedValue.value, ...sourceChecked.value];
47
- computedSelected.value = computedSelected.value.filter(
48
- (item) => !checked.includes(item)
49
- );
50
- };
51
- const handleDel = () => {
52
- const checked = [...targetChecked.value];
53
- computedValue.value = computedValue.value.filter(
54
- (item) => !checked.includes(item)
55
- );
56
- computedSelected.value = computedSelected.value.filter(
57
- (item) => !checked.includes(item)
58
- );
59
- };
60
- return (_ctx, _cache) => {
61
- return openBlock(), createElementBlock("div", {
62
- class: normalizeClass([
63
- "yc-transfer",
64
- {
65
- "yc-transfer-simple": _ctx.simple,
66
- "yc-transfer-has-search": _ctx.showSearch
67
- }
68
- ])
69
- }, [
70
- createVNode(TransferPanel, { type: "source" }),
71
- !_ctx.simple ? (openBlock(), createElementBlock("div", _hoisted_1, [
72
- createVNode(unref(Button), {
73
- disabled: !unref(sourceChecked).length || _ctx.disabled,
74
- shape: "circle",
75
- onClick: handleAdd
76
- }, {
77
- icon: withCtx(() => [
78
- renderSlot(_ctx.$slots, "to-target-icon", {}, () => [
79
- createVNode(unref(_sfc_main$1))
80
- ], true)
81
- ]),
82
- _: 3
83
- }, 8, ["disabled"]),
84
- !_ctx.oneWay ? (openBlock(), createBlock(unref(Button), {
85
- key: 0,
86
- disabled: !unref(targetChecked).length || _ctx.disabled,
87
- shape: "circle",
88
- onClick: handleDel
89
- }, {
90
- icon: withCtx(() => [
91
- renderSlot(_ctx.$slots, "to-source-icon", {}, () => [
92
- createVNode(unref(_sfc_main$1), { rotate: 180 })
93
- ], true)
94
- ]),
95
- _: 3
96
- }, 8, ["disabled"])) : createCommentVNode("", true)
97
- ])) : createCommentVNode("", true),
98
- createVNode(TransferPanel, { type: "target" })
99
- ], 2);
100
- };
101
- }
102
- });
103
- export {
104
- _sfc_main as default
105
- };