yc-design-vue 1.9.6 → 1.9.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 (389) hide show
  1. package/es/Alert/index.css +1 -1
  2. package/es/Alert/index.vue.js +4 -4
  3. package/es/Anchor/index.css +1 -1
  4. package/es/Avatar/Avatar.vue.js +3 -1
  5. package/es/Avatar/index.css +1 -1
  6. package/es/BackTop/index.vue.js +3 -1
  7. package/es/Badge/index.css +1 -1
  8. package/es/Breadcrumb/BreadcrumbItem.vue.js +3 -1
  9. package/es/Breadcrumb/BreadcrumbMore.vue.js +3 -1
  10. package/es/Breadcrumb/BreadcrumbSeparator.vue.js +4 -2
  11. package/es/Breadcrumb/index.css +1 -1
  12. package/es/Button/index.css +1 -1
  13. package/es/Calendar/Calendar.vue.js +4 -4
  14. package/es/Calendar/index.css +1 -1
  15. package/es/Card/index.css +1 -1
  16. package/es/Carousel/CarouselArrow.vue.js +3 -1
  17. package/es/Carousel/index.css +1 -1
  18. package/es/Cascader/CascaderIcon.vue.js +4 -4
  19. package/es/Cascader/CascaderOption.vue.d.ts +2 -2
  20. package/es/Cascader/CascaderOption.vue.js +3 -1
  21. package/es/Cascader/index.css +1 -1
  22. package/es/Checkbox/Checkbox.vue.js +4 -4
  23. package/es/Checkbox/index.css +1 -1
  24. package/es/Collapse/CollapseItem.vue.js +5 -5
  25. package/es/Collapse/index.css +1 -1
  26. package/es/ColorPicker/index.css +1 -1
  27. package/es/Descriptions/index.css +1 -1
  28. package/es/Drawer/Drawer.vue.js +4 -4
  29. package/es/Dropdown/DropdownButton.vue.js +3 -1
  30. package/es/Dropdown/Dsubmenu.vue.js +3 -1
  31. package/es/Dropdown/index.css +1 -1
  32. package/es/Empty/index.vue.js +3 -1
  33. package/es/Image/Image.vue.js +3 -1
  34. package/es/Image/ImagePreview.vue.js +3 -1
  35. package/es/Image/ImagePreviewArrow.vue.js +3 -1
  36. package/es/Image/ImagePreviewToolbar.vue.js +3 -1
  37. package/es/Image/index.css +1 -1
  38. package/es/Input/Input.vue.js +5 -5
  39. package/es/Input/InputSuffix.vue.js +5 -5
  40. package/es/Input/index.css +1 -1
  41. package/es/InputNumber/InputOperaBtn.vue.js +4 -2
  42. package/es/InputTag/index.css +1 -1
  43. package/es/InputTag/index.vue.js +5 -5
  44. package/es/Layout/LayoutSider.vue.js +3 -1
  45. package/es/Layout/index.css +1 -1
  46. package/es/Link/index.vue.js +3 -1
  47. package/es/List/List.vue.d.ts +1 -1
  48. package/es/List/index.css +1 -1
  49. package/es/List/index.d.ts +3 -3
  50. package/es/Mention/index.d.ts +3 -3
  51. package/es/Mention/index.vue.d.ts +1 -1
  52. package/es/Menu/Menu.vue.js +3 -1
  53. package/es/Menu/MenuEllipsis.vue.js +3 -1
  54. package/es/Menu/SubMenu.vue.js +4 -4
  55. package/es/Menu/index.css +1 -1
  56. package/es/Message/Message.vue.js +4 -4
  57. package/es/Modal/Modal.vue.js +4 -4
  58. package/es/Notification/Notification.vue.js +4 -4
  59. package/es/PageHeader/index.vue.js +4 -4
  60. package/es/Pagination/PaginationItem.vue.js +3 -1
  61. package/es/Pagination/index.css +1 -1
  62. package/es/Popconfirm/index.css +1 -1
  63. package/es/Popover/index.css +1 -1
  64. package/es/Progress/ProgressCircle.vue.js +3 -1
  65. package/es/Radio/Radio.vue.js +4 -4
  66. package/es/Radio/index.css +1 -1
  67. package/es/Rate/index.vue.js +3 -1
  68. package/es/ResizeBox/index.vue.js +3 -1
  69. package/es/Result/index.css +1 -1
  70. package/es/Select/SelectIcon.vue.js +4 -4
  71. package/es/Select/index.css +1 -1
  72. package/es/Skeleton/index.css +1 -1
  73. package/es/Slider/index.css +1 -1
  74. package/es/Spin/index.css +1 -1
  75. package/es/Spin/index.vue.js +3 -1
  76. package/es/Split/index.vue.js +3 -1
  77. package/es/Statistic/Statistic.vue.d.ts +1 -1
  78. package/es/Statistic/index.d.ts +3 -3
  79. package/es/Steps/Step.vue.js +3 -1
  80. package/es/Steps/index.css +1 -1
  81. package/es/Switch/index.css +1 -1
  82. package/es/Tabs/TabButton.vue.js +4 -4
  83. package/es/Tabs/Tabs.vue.js +3 -1
  84. package/es/Tabs/index.css +1 -1
  85. package/es/Tag/index.css +1 -1
  86. package/es/Tag/index.vue.js +4 -4
  87. package/es/Textarea/index.css +1 -1
  88. package/es/Textarea/index.vue.js +5 -5
  89. package/es/TimePicker/TimePicker.vue.js +4 -4
  90. package/es/TimePicker/index.css +1 -1
  91. package/es/Timeline/index.css +1 -1
  92. package/es/Tooltip/index.css +1 -1
  93. package/es/Transfer/Transfer.vue.d.ts +2 -2
  94. package/es/Transfer/Transfer.vue.js +3 -1
  95. package/es/Transfer/TransferPanel.vue.js +4 -4
  96. package/es/Transfer/index.css +1 -1
  97. package/es/Transfer/index.d.ts +5 -5
  98. package/es/Trigger/index.vue.js +4 -4
  99. package/es/Typography/TypographyBase.vue.js +3 -1
  100. package/es/_shared/components/{ExpandTransition.vue.js → ExpandTransition/index.vue2.js} +5 -5
  101. package/es/_shared/components/ExpandTransition/index.vue3.js +5 -0
  102. package/es/_shared/components/Icon/index.vue2.js +5 -0
  103. package/es/_shared/components/{Icon.vue3.js → Icon/index.vue3.js} +5 -5
  104. package/es/_shared/components/{IconButton.vue.js → IconButton/index.vue2.js} +9 -7
  105. package/es/_shared/components/IconButton/index.vue3.js +5 -0
  106. package/es/_shared/components/{PreventFocus.vue.js → PreventFocus/index.vue.js} +1 -1
  107. package/es/_shared/components/PreventFocus/index.vue2.js +4 -0
  108. package/es/_shared/components/index.d.ts +4 -4
  109. package/es/_shared/constants/index.js +3 -1
  110. package/es/_shared/icons/IconArrowDown.vue.js +10 -4
  111. package/es/_shared/icons/IconArrowRight.vue.js +10 -4
  112. package/es/_shared/icons/IconCheck.vue.js +10 -4
  113. package/es/_shared/icons/IconCheckboxChecked.vue.js +10 -4
  114. package/es/_shared/icons/IconClose.vue.js +10 -4
  115. package/es/_shared/icons/IconCopy.vue2.js +10 -4
  116. package/es/_shared/icons/IconDelete.vue.js +10 -4
  117. package/es/_shared/icons/IconDragDot.vue.js +10 -4
  118. package/es/_shared/icons/IconEdit.vue2.js +10 -4
  119. package/es/_shared/icons/IconEmpty.vue.js +10 -4
  120. package/es/_shared/icons/IconError.vue.js +10 -4
  121. package/es/_shared/icons/IconExclamation.vue2.js +10 -4
  122. package/es/_shared/icons/IconEyeClose.vue2.js +10 -4
  123. package/es/_shared/icons/IconEyeOpen.vue2.js +10 -4
  124. package/es/_shared/icons/IconFaceSmile.vue.js +10 -4
  125. package/es/_shared/icons/IconFullScreen.vue2.js +10 -4
  126. package/es/_shared/icons/IconImageClose.vue.js +10 -4
  127. package/es/_shared/icons/IconInfo.vue.js +10 -4
  128. package/es/_shared/icons/IconInfoLine.vue.js +10 -4
  129. package/es/_shared/icons/IconLink.vue.js +10 -4
  130. package/es/_shared/icons/IconLoading.vue.js +10 -4
  131. package/es/_shared/icons/IconMenuFold.vue.js +10 -4
  132. package/es/_shared/icons/IconMenuUnfold.vue.js +10 -4
  133. package/es/_shared/icons/IconMinus.vue.js +23 -1
  134. package/es/_shared/icons/IconMinus.vue2.js +1 -17
  135. package/es/_shared/icons/IconMore.vue.js +10 -4
  136. package/es/_shared/icons/IconOriginSize.vue2.js +10 -4
  137. package/es/_shared/icons/IconPlus.vue.js +10 -4
  138. package/es/_shared/icons/IconRight.vue.js +10 -4
  139. package/es/_shared/icons/IconRotateLeft.vue2.js +10 -4
  140. package/es/_shared/icons/IconRotateRight.vue2.js +10 -4
  141. package/es/_shared/icons/IconSearch.vue.js +10 -4
  142. package/es/_shared/icons/IconSeparator.vue.js +1 -17
  143. package/es/_shared/icons/IconSeparator.vue2.js +23 -1
  144. package/es/_shared/icons/IconStar.vue.js +10 -4
  145. package/es/_shared/icons/IconSuccess.vue.js +10 -4
  146. package/es/_shared/icons/IconTime.vue.js +10 -4
  147. package/es/_shared/icons/IconToTop.vue.js +10 -4
  148. package/es/_shared/icons/IconWarning.vue.js +10 -4
  149. package/es/_shared/icons/IconZoomIn.vue2.js +10 -4
  150. package/es/_shared/icons/IconZoomOut.vue2.js +10 -4
  151. package/es/shared.css +1 -1
  152. package/es/style.css +1 -1
  153. package/lib/Alert/index.css +1 -1
  154. package/lib/Alert/index.js +1 -1
  155. package/lib/Alert/index.vue.js +1 -1
  156. package/lib/Alert/index.vue3.js +1 -1
  157. package/lib/Anchor/index.css +1 -1
  158. package/lib/AutoComplete/index.js +1 -1
  159. package/lib/AutoComplete/index.vue3.js +1 -1
  160. package/lib/Avatar/Avatar.vue.js +1 -1
  161. package/lib/Avatar/index.css +1 -1
  162. package/lib/BackTop/index.js +1 -1
  163. package/lib/BackTop/index.vue.js +1 -1
  164. package/lib/BackTop/index.vue3.js +1 -1
  165. package/lib/Badge/index.css +1 -1
  166. package/lib/Badge/index.js +1 -1
  167. package/lib/Badge/index.vue3.js +1 -1
  168. package/lib/Breadcrumb/BreadcrumbItem.vue.js +1 -1
  169. package/lib/Breadcrumb/BreadcrumbMore.vue.js +1 -1
  170. package/lib/Breadcrumb/BreadcrumbSeparator.vue.js +1 -1
  171. package/lib/Breadcrumb/index.css +1 -1
  172. package/lib/Button/index.css +1 -1
  173. package/lib/Calendar/Calendar.vue.js +1 -1
  174. package/lib/Calendar/index.css +1 -1
  175. package/lib/Card/index.css +1 -1
  176. package/lib/Carousel/CarouselArrow.vue.js +1 -1
  177. package/lib/Carousel/index.css +1 -1
  178. package/lib/Cascader/Cascader.vue.js +1 -1
  179. package/lib/Cascader/CascaderIcon.vue.js +1 -1
  180. package/lib/Cascader/CascaderIcon.vue3.js +1 -1
  181. package/lib/Cascader/CascaderOption.vue.d.ts +2 -2
  182. package/lib/Cascader/CascaderOption.vue.js +1 -1
  183. package/lib/Cascader/index.css +1 -1
  184. package/lib/Checkbox/Checkbox.vue.js +1 -1
  185. package/lib/Checkbox/index.css +1 -1
  186. package/lib/Collapse/CollapseItem.vue.js +1 -1
  187. package/lib/Collapse/index.css +1 -1
  188. package/lib/ColorPicker/index.css +1 -1
  189. package/lib/Comment/index.js +1 -1
  190. package/lib/Comment/index.vue3.js +1 -1
  191. package/lib/Descriptions/index.css +1 -1
  192. package/lib/Divider/index.js +1 -1
  193. package/lib/Divider/index.vue3.js +1 -1
  194. package/lib/Drawer/Drawer.vue.js +1 -1
  195. package/lib/Dropdown/DropdownButton.vue.js +1 -1
  196. package/lib/Dropdown/Dsubmenu.vue.js +1 -1
  197. package/lib/Dropdown/index.css +1 -1
  198. package/lib/Empty/index.js +1 -1
  199. package/lib/Empty/index.vue.js +1 -1
  200. package/lib/Empty/index.vue3.js +1 -1
  201. package/lib/Image/Image.vue.js +1 -1
  202. package/lib/Image/ImagePreview.vue.js +1 -1
  203. package/lib/Image/ImagePreviewArrow.vue.js +1 -1
  204. package/lib/Image/ImagePreviewToolbar.vue.js +1 -1
  205. package/lib/Image/index.css +1 -1
  206. package/lib/Input/Input.vue.js +1 -1
  207. package/lib/Input/InputSuffix.vue.js +1 -1
  208. package/lib/Input/index.css +1 -1
  209. package/lib/InputNumber/InputOperaBtn.vue.js +1 -1
  210. package/lib/InputTag/index.css +1 -1
  211. package/lib/InputTag/index.js +1 -1
  212. package/lib/InputTag/index.vue.js +1 -1
  213. package/lib/InputTag/index.vue3.js +1 -1
  214. package/lib/Layout/LayoutSider.vue.js +1 -1
  215. package/lib/Layout/index.css +1 -1
  216. package/lib/Link/index.js +1 -1
  217. package/lib/Link/index.vue.js +1 -1
  218. package/lib/Link/index.vue3.js +1 -1
  219. package/lib/List/List.vue.d.ts +1 -1
  220. package/lib/List/index.css +1 -1
  221. package/lib/List/index.d.ts +3 -3
  222. package/lib/Mention/index.d.ts +3 -3
  223. package/lib/Mention/index.vue.d.ts +1 -1
  224. package/lib/Menu/Menu.vue.js +1 -1
  225. package/lib/Menu/MenuEllipsis.vue.js +1 -1
  226. package/lib/Menu/SubMenu.vue.js +1 -1
  227. package/lib/Menu/index.css +1 -1
  228. package/lib/Message/Message.vue.js +1 -1
  229. package/lib/Modal/Modal.vue.js +1 -1
  230. package/lib/Notification/Notification.vue.js +1 -1
  231. package/lib/OverflowList/index.js +1 -1
  232. package/lib/OverflowList/index.vue3.js +1 -1
  233. package/lib/PageHeader/index.js +1 -1
  234. package/lib/PageHeader/index.vue.js +1 -1
  235. package/lib/PageHeader/index.vue3.js +1 -1
  236. package/lib/Pagination/PaginationItem.vue.js +1 -1
  237. package/lib/Pagination/index.css +1 -1
  238. package/lib/Popconfirm/index.css +1 -1
  239. package/lib/Popconfirm/index.js +1 -1
  240. package/lib/Popconfirm/index.vue3.js +1 -1
  241. package/lib/Popover/index.css +1 -1
  242. package/lib/Popover/index.js +1 -1
  243. package/lib/Popover/index.vue3.js +1 -1
  244. package/lib/Progress/ProgressCircle.vue.js +1 -1
  245. package/lib/Radio/Radio.vue.js +1 -1
  246. package/lib/Radio/index.css +1 -1
  247. package/lib/Rate/index.js +1 -1
  248. package/lib/Rate/index.vue.js +1 -1
  249. package/lib/Rate/index.vue3.js +1 -1
  250. package/lib/ResizeBox/index.js +1 -1
  251. package/lib/ResizeBox/index.vue.js +1 -1
  252. package/lib/ResizeBox/index.vue3.js +1 -1
  253. package/lib/Result/index.css +1 -1
  254. package/lib/Result/index.js +1 -1
  255. package/lib/Result/index.vue3.js +1 -1
  256. package/lib/Select/Select.vue.js +1 -1
  257. package/lib/Select/SelectIcon.vue.js +1 -1
  258. package/lib/Select/SelectIcon.vue3.js +1 -1
  259. package/lib/Select/index.css +1 -1
  260. package/lib/Skeleton/index.css +1 -1
  261. package/lib/Slider/index.css +1 -1
  262. package/lib/Space/index.js +1 -1
  263. package/lib/Space/index.vue3.js +1 -1
  264. package/lib/Spin/index.css +1 -1
  265. package/lib/Spin/index.js +1 -1
  266. package/lib/Spin/index.vue.js +1 -1
  267. package/lib/Spin/index.vue3.js +1 -1
  268. package/lib/Split/index.js +1 -1
  269. package/lib/Split/index.vue.js +1 -1
  270. package/lib/Split/index.vue3.js +1 -1
  271. package/lib/Statistic/Statistic.vue.d.ts +1 -1
  272. package/lib/Statistic/index.d.ts +3 -3
  273. package/lib/Steps/Step.vue.js +1 -1
  274. package/lib/Steps/index.css +1 -1
  275. package/lib/Switch/index.css +1 -1
  276. package/lib/Switch/index.js +1 -1
  277. package/lib/Switch/index.vue3.js +1 -1
  278. package/lib/Tabs/TabButton.vue.js +1 -1
  279. package/lib/Tabs/Tabs.vue.js +1 -1
  280. package/lib/Tabs/index.css +1 -1
  281. package/lib/Tag/index.css +1 -1
  282. package/lib/Tag/index.js +1 -1
  283. package/lib/Tag/index.vue.js +1 -1
  284. package/lib/Tag/index.vue3.js +1 -1
  285. package/lib/Textarea/index.css +1 -1
  286. package/lib/Textarea/index.js +1 -1
  287. package/lib/Textarea/index.vue.js +1 -1
  288. package/lib/Textarea/index.vue3.js +1 -1
  289. package/lib/TimePicker/TimePicker.vue.js +1 -1
  290. package/lib/TimePicker/index.css +1 -1
  291. package/lib/Timeline/index.css +1 -1
  292. package/lib/Tooltip/index.css +1 -1
  293. package/lib/Tooltip/index.js +1 -1
  294. package/lib/Tooltip/index.vue3.js +1 -1
  295. package/lib/Transfer/Transfer.vue.d.ts +2 -2
  296. package/lib/Transfer/Transfer.vue.js +1 -1
  297. package/lib/Transfer/TransferPanel.vue.js +1 -1
  298. package/lib/Transfer/index.css +1 -1
  299. package/lib/Transfer/index.d.ts +5 -5
  300. package/lib/Trigger/index.js +1 -1
  301. package/lib/Trigger/index.vue.js +1 -1
  302. package/lib/Trigger/index.vue3.js +1 -1
  303. package/lib/Typography/TypographyBase.vue.js +1 -1
  304. package/lib/VerificationCode/index.js +1 -1
  305. package/lib/VerificationCode/index.vue3.js +1 -1
  306. package/lib/Watermark/index.js +1 -1
  307. package/lib/Watermark/index.vue3.js +1 -1
  308. package/lib/_shared/components/ExpandTransition/index.vue2.js +1 -0
  309. package/lib/_shared/components/ExpandTransition/index.vue3.js +1 -0
  310. package/lib/_shared/components/Icon/index.vue2.js +1 -0
  311. package/lib/_shared/components/Icon/index.vue3.js +1 -0
  312. package/lib/_shared/components/IconButton/index.vue2.js +1 -0
  313. package/lib/_shared/components/IconButton/index.vue3.js +1 -0
  314. package/lib/_shared/components/PreventFocus/index.vue.js +1 -0
  315. package/lib/_shared/components/PreventFocus/index.vue2.js +1 -0
  316. package/lib/_shared/components/index.d.ts +4 -4
  317. package/lib/_shared/constants/index.js +1 -1
  318. package/lib/_shared/icons/IconArrowDown.vue.js +1 -1
  319. package/lib/_shared/icons/IconArrowRight.vue.js +1 -1
  320. package/lib/_shared/icons/IconCheck.vue.js +1 -1
  321. package/lib/_shared/icons/IconCheckboxChecked.vue.js +1 -1
  322. package/lib/_shared/icons/IconClose.vue.js +1 -1
  323. package/lib/_shared/icons/IconCopy.vue2.js +1 -1
  324. package/lib/_shared/icons/IconDelete.vue.js +1 -1
  325. package/lib/_shared/icons/IconDragDot.vue.js +1 -1
  326. package/lib/_shared/icons/IconEdit.vue2.js +1 -1
  327. package/lib/_shared/icons/IconEmpty.vue.js +1 -1
  328. package/lib/_shared/icons/IconError.vue.js +1 -1
  329. package/lib/_shared/icons/IconExclamation.vue2.js +1 -1
  330. package/lib/_shared/icons/IconEyeClose.vue2.js +1 -1
  331. package/lib/_shared/icons/IconEyeOpen.vue2.js +1 -1
  332. package/lib/_shared/icons/IconFaceSmile.vue.js +1 -1
  333. package/lib/_shared/icons/IconFullScreen.vue2.js +1 -1
  334. package/lib/_shared/icons/IconImageClose.vue.js +1 -1
  335. package/lib/_shared/icons/IconInfo.vue.js +1 -1
  336. package/lib/_shared/icons/IconInfoLine.vue.js +1 -1
  337. package/lib/_shared/icons/IconLink.vue.js +1 -1
  338. package/lib/_shared/icons/IconLoading.vue.js +1 -1
  339. package/lib/_shared/icons/IconMenuFold.vue.js +1 -1
  340. package/lib/_shared/icons/IconMenuUnfold.vue.js +1 -1
  341. package/lib/_shared/icons/IconMinus.vue.js +1 -1
  342. package/lib/_shared/icons/IconMinus.vue2.js +1 -1
  343. package/lib/_shared/icons/IconMore.vue.js +1 -1
  344. package/lib/_shared/icons/IconOriginSize.vue2.js +1 -1
  345. package/lib/_shared/icons/IconPlus.vue.js +1 -1
  346. package/lib/_shared/icons/IconRight.vue.js +1 -1
  347. package/lib/_shared/icons/IconRotateLeft.vue2.js +1 -1
  348. package/lib/_shared/icons/IconRotateRight.vue2.js +1 -1
  349. package/lib/_shared/icons/IconSearch.vue.js +1 -1
  350. package/lib/_shared/icons/IconSeparator.vue.js +1 -1
  351. package/lib/_shared/icons/IconSeparator.vue2.js +1 -1
  352. package/lib/_shared/icons/IconStar.vue.js +1 -1
  353. package/lib/_shared/icons/IconSuccess.vue.js +1 -1
  354. package/lib/_shared/icons/IconTime.vue.js +1 -1
  355. package/lib/_shared/icons/IconToTop.vue.js +1 -1
  356. package/lib/_shared/icons/IconWarning.vue.js +1 -1
  357. package/lib/_shared/icons/IconZoomIn.vue2.js +1 -1
  358. package/lib/_shared/icons/IconZoomOut.vue2.js +1 -1
  359. package/lib/shared.css +1 -1
  360. package/lib/style.css +1 -1
  361. package/package.json +2 -3
  362. package/es/Drawer/index.css +0 -1
  363. package/es/Message/index.css +0 -1
  364. package/es/Modal/index.css +0 -1
  365. package/es/Notification/index.css +0 -1
  366. package/es/_shared/components/ExpandTransition.vue3.js +0 -5
  367. package/es/_shared/components/Icon.vue2.js +0 -5
  368. package/es/_shared/components/IconButton.vue3.js +0 -5
  369. package/es/_shared/components/PreventFocus.vue2.js +0 -4
  370. package/lib/Drawer/index.css +0 -1
  371. package/lib/Message/index.css +0 -1
  372. package/lib/Modal/index.css +0 -1
  373. package/lib/Notification/index.css +0 -1
  374. package/lib/_shared/components/ExpandTransition.vue.js +0 -1
  375. package/lib/_shared/components/ExpandTransition.vue3.js +0 -1
  376. package/lib/_shared/components/Icon.vue2.js +0 -1
  377. package/lib/_shared/components/Icon.vue3.js +0 -1
  378. package/lib/_shared/components/IconButton.vue.js +0 -1
  379. package/lib/_shared/components/IconButton.vue3.js +0 -1
  380. package/lib/_shared/components/PreventFocus.vue.js +0 -1
  381. package/lib/_shared/components/PreventFocus.vue2.js +0 -1
  382. /package/es/_shared/components/{ExpandTransition.vue.d.ts → ExpandTransition/index.vue.d.ts} +0 -0
  383. /package/es/_shared/components/{Icon.vue.d.ts → Icon/index.vue.d.ts} +0 -0
  384. /package/es/_shared/components/{IconButton.vue.d.ts → IconButton/index.vue.d.ts} +0 -0
  385. /package/es/_shared/components/{PreventFocus.vue.d.ts → PreventFocus/index.vue.d.ts} +0 -0
  386. /package/lib/_shared/components/{ExpandTransition.vue.d.ts → ExpandTransition/index.vue.d.ts} +0 -0
  387. /package/lib/_shared/components/{Icon.vue.d.ts → Icon/index.vue.d.ts} +0 -0
  388. /package/lib/_shared/components/{IconButton.vue.d.ts → IconButton/index.vue.d.ts} +0 -0
  389. /package/lib/_shared/components/{PreventFocus.vue.d.ts → PreventFocus/index.vue.d.ts} +0 -0
@@ -1 +1 @@
1
- "use strict";const e=require("vue"),o=require("../node_modules/@vueuse/core/index.js");require("../node_modules/tinycolor2/esm/tinycolor.js");const t=require("../_shared/utils/dom.js");require("../_shared/utils/time.js"),require("../_shared/utils/locale.js");/* empty css */const n=require("../_shared/icons/IconLoading.vue.js"),l={class:"yc-spin"},i={key:0,class:"yc-dot-loading"},r={key:1,class:"yc-spin-tip"},s={key:0,class:"yc-spin-mask"},c=e.defineComponent({name:"Spin",__name:"index",props:{size:{default:20},loading:{type:Boolean,default:!1},dot:{type:Boolean,default:!1},tip:{default:""},hideIcon:{type:Boolean,default:!1},isSizeInherit:{type:Boolean,default:!1}},setup(c){const{define:a,reuse:d}=o.createReusableTemplate();return(o,c)=>(e.openBlock(),e.createElementBlock("div",l,[e.createVNode(e.unref(a),null,{default:e.withCtx(()=>[o.hideIcon?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["yc-spin-icon",{"yc-spin-icon-loading":!o.dot}]),style:e.normalizeStyle({fontSize:o.isSizeInherit?"inherit":e.unref(t.valueToPx)(o.size)})},[e.renderSlot(o.$slots,"icon",{},()=>[o.dot?(e.openBlock(),e.createElementBlock("div",i,[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(5,o=>e.createElementVNode("div",{key:o,class:"yc-dot-loading-item"})),64))])):(e.openBlock(),e.createBlock(e.unref(n),{key:1}))])],6)),o.tip?(e.openBlock(),e.createElementBlock("div",r,[e.renderSlot(o.$slots,"tip",{},()=>[e.createTextVNode(e.toDisplayString(o.tip),1)])])):e.createCommentVNode("",!0)]),_:3}),o.$slots.default?(e.openBlock(),e.createBlock(e.Transition,{key:1,name:"fade"},{default:e.withCtx(()=>[o.loading?(e.openBlock(),e.createElementBlock("div",s,[e.createVNode(e.unref(d))])):e.createCommentVNode("",!0)]),_:1})):(e.openBlock(),e.createBlock(e.unref(d),{key:0})),e.renderSlot(o.$slots,"default")]))}});module.exports=c;
1
+ "use strict";const e=require("vue"),o=require("../node_modules/@vueuse/core/index.js");require("../node_modules/tinycolor2/esm/tinycolor.js");const t=require("../_shared/utils/dom.js");require("../_shared/utils/time.js"),require("../_shared/utils/locale.js"),/* empty css */,/* empty css */;/* empty css */const n=require("../_shared/icons/IconLoading.vue.js"),l={class:"yc-spin"},i={key:0,class:"yc-dot-loading"},r={key:1,class:"yc-spin-tip"},s={key:0,class:"yc-spin-mask"},c=e.defineComponent({name:"Spin",__name:"index",props:{size:{default:20},loading:{type:Boolean,default:!1},dot:{type:Boolean,default:!1},tip:{default:""},hideIcon:{type:Boolean,default:!1},isSizeInherit:{type:Boolean,default:!1}},setup(c){const{define:a,reuse:d}=o.createReusableTemplate();return(o,c)=>(e.openBlock(),e.createElementBlock("div",l,[e.createVNode(e.unref(a),null,{default:e.withCtx(()=>[o.hideIcon?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["yc-spin-icon",{"yc-spin-icon-loading":!o.dot}]),style:e.normalizeStyle({fontSize:o.isSizeInherit?"inherit":e.unref(t.valueToPx)(o.size)})},[e.renderSlot(o.$slots,"icon",{},()=>[o.dot?(e.openBlock(),e.createElementBlock("div",i,[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(5,o=>e.createElementVNode("div",{key:o,class:"yc-dot-loading-item"})),64))])):(e.openBlock(),e.createBlock(e.unref(n),{key:1}))])],6)),o.tip?(e.openBlock(),e.createElementBlock("div",r,[e.renderSlot(o.$slots,"tip",{},()=>[e.createTextVNode(e.toDisplayString(o.tip),1)])])):e.createCommentVNode("",!0)]),_:3}),o.$slots.default?(e.openBlock(),e.createBlock(e.Transition,{key:1,name:"fade"},{default:e.withCtx(()=>[o.loading?(e.openBlock(),e.createElementBlock("div",s,[e.createVNode(e.unref(d))])):e.createCommentVNode("",!0)]),_:1})):(e.openBlock(),e.createBlock(e.unref(d),{key:0})),e.renderSlot(o.$slots,"default")]))}});module.exports=c;
@@ -1 +1 @@
1
- "use strict";const e=require("./index.vue.js");,/* empty css */module.exports=e;
1
+ "use strict";const e=;/* empty css */,/* empty css */module.exports=e;
@@ -1 +1 @@
1
- "use strict";const e=require("./index.vue.js");;/* empty css */const s=Object.assign(e,{install:s=>{s.component("Yc"+e.name,e)}});module.exports=s;
1
+ "use strict";const e=;/* empty css */;/* empty css */const s=Object.assign(e,{install:s=>{s.component("Yc"+e.name,e)}});module.exports=s;
@@ -1 +1 @@
1
- "use strict";const e=require("vue");require("../node_modules/tinycolor2/esm/tinycolor.js");const t=require("../_shared/utils/dom.js"),l=require("../_shared/utils/is.js");require("../_shared/utils/time.js"),require("../_shared/utils/locale.js");const a=require("../_shared/utils/control.js");;/* empty css */const r=require("../_shared/icons/IconDragDot.vue.js"),i=require("../node_modules/@vueuse/core/index.js"),o={class:"yc-split-trigger-icon-wrapper"},s={class:"yc-split-trigger-icon"},u={class:"yc-split-pane yc-split-pane-second"},n=e.defineComponent({name:"Split",__name:"index",props:{component:{default:"div"},direction:{default:"horizontal"},size:{default:void 0},defaultSize:{default:.5},min:{default:0},max:{default:1},disabled:{type:Boolean,default:!1}},emits:["update:size","moving-start","moving","moving-end"],setup(n,{emit:d}){const v=n,c=d,{size:m,defaultSize:p,direction:f,min:g,max:h}=e.toRefs(v),y=a(m,p.value,e=>{c("update:size",e)}),z=e.computed(()=>100*(l.isNumber(y.value)?y.value:$(y.value))+"%"),_=e.ref(),x=e.ref(),N=e.computed(()=>{var e,t;return("horizontal"==f.value?null==(e=x.value)?void 0:e.offsetWidth:null==(t=x.value)?void 0:t.offsetHeight)??6}),q=e.computed(()=>{var e;const t=null==(e=_.value)?void 0:e.getBoundingClientRect();return("horizontal"==f.value?null==t?void 0:t.width:null==t?void 0:t.height)??0}),{isDragging:j,x:S,y:b}=i.useDraggable(x,{onMove(){c("moving");const{left:e,top:t}=_.value.getBoundingClientRect(),a="horizontal"==f.value?e:t,r=a+C(g.value),i=a+C(h.value)-N.value;let o="";"horizontal"==f.value?(S.value=S.value<r?r:S.value,S.value=S.value>i?i:S.value,o=S.value-e+"px"):(b.value=b.value<r?r:b.value,b.value=b.value>i?i:b.value,o=b.value-t+"px"),y.value=l.isNumber(y.value)?$(o):o},onStart(){c("moving-start")},onEnd(){c("moving-end")}}),C=e=>l.isNumber(e)?e*q.value:Number.parseFloat(e),$=e=>Number.parseFloat(e)/q.value;return e.watch(()=>y.value,async e=>{if(j.value)return;await t.sleep(0);const{left:l,top:a}=_.value.getBoundingClientRect();S.value=l+C(e),b.value=a+C(e)},{immediate:!0}),(l,a)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(l.component),{class:e.normalizeClass(["yc-split",`yc-split-direction-${e.unref(f)}`]),ref_key:"splitRef",ref:_},{default:e.withCtx(()=>[e.createElementVNode("div",{class:"yc-split-pane yc-split-pane-first",style:e.normalizeStyle({flex:`0 0 calc(${z.value} - ${e.unref(t.valueToPx)(N.value/2)}`})},[e.renderSlot(l.$slots,"first")],4),e.createElementVNode("div",{class:"yc-split-trigger",ref_key:"triggerRef",ref:x},[e.renderSlot(l.$slots,"resize-trigger",{},()=>[e.createElementVNode("div",o,[e.createElementVNode("div",s,[e.renderSlot(l.$slots,"resize-trigger-icon",{},()=>[e.createVNode(e.unref(r),{rotate:"horizontal"==e.unref(f)?90:0,size:12},null,8,["rotate"])])])])])],512),e.createElementVNode("div",u,[e.renderSlot(l.$slots,"second")])]),_:3},8,["class"]))}});module.exports=n;
1
+ "use strict";const e=require("vue");require("../node_modules/tinycolor2/esm/tinycolor.js");const t=require("../_shared/utils/dom.js"),l=require("../_shared/utils/is.js");require("../_shared/utils/time.js"),require("../_shared/utils/locale.js");const a=require("../_shared/utils/control.js");,/* empty css */,/* empty css */;/* empty css */const r=require("../_shared/icons/IconDragDot.vue.js"),i=require("../node_modules/@vueuse/core/index.js"),o={class:"yc-split-trigger-icon-wrapper"},n={class:"yc-split-trigger-icon"},s={class:"yc-split-pane yc-split-pane-second"},u=e.defineComponent({name:"Split",__name:"index",props:{component:{default:"div"},direction:{default:"horizontal"},size:{default:void 0},defaultSize:{default:.5},min:{default:0},max:{default:1},disabled:{type:Boolean,default:!1}},emits:["update:size","moving-start","moving","moving-end"],setup(u,{emit:d}){const v=u,c=d,{size:m,defaultSize:p,direction:f,min:g,max:h}=e.toRefs(v),y=a(m,p.value,e=>{c("update:size",e)}),z=e.computed(()=>100*(l.isNumber(y.value)?y.value:C(y.value))+"%"),_=e.ref(),x=e.ref(),q=e.computed(()=>{var e,t;return("horizontal"==f.value?null==(e=x.value)?void 0:e.offsetWidth:null==(t=x.value)?void 0:t.offsetHeight)??6}),j=e.computed(()=>{var e;const t=null==(e=_.value)?void 0:e.getBoundingClientRect();return("horizontal"==f.value?null==t?void 0:t.width:null==t?void 0:t.height)??0}),{isDragging:N,x:S,y:b}=i.useDraggable(x,{onMove(){c("moving");const{left:e,top:t}=_.value.getBoundingClientRect(),a="horizontal"==f.value?e:t,r=a+B(g.value),i=a+B(h.value)-q.value;let o="";"horizontal"==f.value?(S.value=S.value<r?r:S.value,S.value=S.value>i?i:S.value,o=S.value-e+"px"):(b.value=b.value<r?r:b.value,b.value=b.value>i?i:b.value,o=b.value-t+"px"),y.value=l.isNumber(y.value)?C(o):o},onStart(){c("moving-start")},onEnd(){c("moving-end")}}),B=e=>l.isNumber(e)?e*j.value:Number.parseFloat(e),C=e=>Number.parseFloat(e)/j.value;return e.watch(()=>y.value,async e=>{if(N.value)return;await t.sleep(0);const{left:l,top:a}=_.value.getBoundingClientRect();S.value=l+B(e),b.value=a+B(e)},{immediate:!0}),(l,a)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(l.component),{class:e.normalizeClass(["yc-split",`yc-split-direction-${e.unref(f)}`]),ref_key:"splitRef",ref:_},{default:e.withCtx(()=>[e.createElementVNode("div",{class:"yc-split-pane yc-split-pane-first",style:e.normalizeStyle({flex:`0 0 calc(${z.value} - ${e.unref(t.valueToPx)(q.value/2)}`})},[e.renderSlot(l.$slots,"first")],4),e.createElementVNode("div",{class:"yc-split-trigger",ref_key:"triggerRef",ref:x},[e.renderSlot(l.$slots,"resize-trigger",{},()=>[e.createElementVNode("div",o,[e.createElementVNode("div",n,[e.renderSlot(l.$slots,"resize-trigger-icon",{},()=>[e.createVNode(e.unref(r),{rotate:"horizontal"==e.unref(f)?90:0,size:12},null,8,["rotate"])])])])])],512),e.createElementVNode("div",s,[e.renderSlot(l.$slots,"second")])]),_:3},8,["class"]))}});module.exports=u;
@@ -1 +1 @@
1
- "use strict";const e=require("./index.vue.js");,/* empty css */module.exports=e;
1
+ "use strict";const e=;/* empty css */,/* empty css */module.exports=e;
@@ -16,8 +16,8 @@ declare const __VLS_component: import('vue').DefineComponent<StatisticProps, {},
16
16
  value: import('./type').StatisticValue;
17
17
  start: boolean;
18
18
  separator: string;
19
- title: string;
20
19
  placeholder: string;
20
+ title: string;
21
21
  animation: boolean;
22
22
  animationDuration: number;
23
23
  easeing: string;
@@ -13,8 +13,8 @@ declare const Statistic: {
13
13
  value: import('./type').StatisticValue;
14
14
  start: boolean;
15
15
  separator: string;
16
- title: string;
17
16
  placeholder: string;
17
+ title: string;
18
18
  animation: boolean;
19
19
  animationDuration: number;
20
20
  easeing: string;
@@ -40,8 +40,8 @@ declare const Statistic: {
40
40
  value: import('./type').StatisticValue;
41
41
  start: boolean;
42
42
  separator: string;
43
- title: string;
44
43
  placeholder: string;
44
+ title: string;
45
45
  animation: boolean;
46
46
  animationDuration: number;
47
47
  easeing: string;
@@ -64,8 +64,8 @@ declare const Statistic: {
64
64
  value: import('./type').StatisticValue;
65
65
  start: boolean;
66
66
  separator: string;
67
- title: string;
68
67
  placeholder: string;
68
+ title: string;
69
69
  animation: boolean;
70
70
  animationDuration: number;
71
71
  easeing: string;
@@ -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("../_shared/utils/locale.js");/* empty css */const t=require("../_shared/icons/IconCheck.vue.js"),s=require("../_shared/icons/IconClose.vue.js"),n=require("./hooks/useContext.js"),r={key:0,class:"yc-steps-item-tail"},o={class:"yc-steps-item-node"},l={class:"yc-steps-icon"},i={class:"yc-steps-item-content"},c={class:"yc-steps-item-title"},a={key:0,class:"yc-steps-item-description"},u=e.defineComponent({name:"Step",__name:"Step",props:{title:{default:""},description:{default:""},status:{default:void 0},disabled:{type:Boolean,default:!1}},setup(u){const d=u,{disabled:m}=e.toRefs(d),{curStep:p,stepMap:f,computedCurrent:v,type:y,changeable:k,status:B,nextStatus:h,direction:C,labelPlacement:N,lineLess:S,small:V,emits:g}=n().inject(d),j=e.computed(()=>"dot"!=y.value&&V.value),q=e.computed(()=>S.value||p.value==f.size||["arrow","navigation"].includes(y.value)),$=e=>{k.value&&!m.value&&(v.value=p.value,g("change",p.value,e))};return(n,u)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["yc-steps-item",`yc-steps-item-${e.unref(C)}`,`yc-steps-item-label-${e.unref(N)}`,`yc-steps-item-${e.unref(B)}`,`yc-steps-item-next-${e.unref(h)}`,{"yc-steps-item-active":e.unref(p)==e.unref(v)&&"navigation"==e.unref(y),"yc-steps-item-line-less":q.value,"yc-steps-item-size-small":j.value}]),onClick:$},["default"==e.unref(y)&&("vertical"==e.unref(C)||"vertical"==e.unref(N))||"dot"==e.unref(y)?(e.openBlock(),e.createElementBlock("div",r)):e.createCommentVNode("",!0),"arrow"!=e.unref(y)?e.renderSlot(n.$slots,"node",{key:1,step:e.unref(p),status:e.unref(B)},()=>[e.createElementVNode("div",o,[e.createElementVNode("div",l,[["default","navigation"].includes(e.unref(y))?e.renderSlot(n.$slots,"icon",{key:0,status:e.unref(B),step:e.unref(p)},()=>["finish"==e.unref(B)?(e.openBlock(),e.createBlock(e.unref(t),{key:0})):"error"==e.unref(B)?(e.openBlock(),e.createBlock(e.unref(s),{key:1})):(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createTextVNode(e.toDisplayString(e.unref(p)),1)],64))]):e.createCommentVNode("",!0)])])]):e.createCommentVNode("",!0),e.createElementVNode("div",i,[e.createElementVNode("div",c,[e.renderSlot(n.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(n.title),1)])]),n.$slots.description||n.description?(e.openBlock(),e.createElementBlock("div",a,[e.renderSlot(n.$slots,"description",{},()=>[e.createTextVNode(e.toDisplayString(n.description),1)])])):e.createCommentVNode("",!0)])],2))}});module.exports=u;
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("../_shared/utils/locale.js"),/* empty css */,/* empty css */;/* empty css */const t=require("../_shared/icons/IconCheck.vue.js"),s=require("../_shared/icons/IconClose.vue.js"),n=require("./hooks/useContext.js"),r={key:0,class:"yc-steps-item-tail"},o={class:"yc-steps-item-node"},i={class:"yc-steps-icon"},l={class:"yc-steps-item-content"},a={class:"yc-steps-item-title"},c={key:0,class:"yc-steps-item-description"},u=e.defineComponent({name:"Step",__name:"Step",props:{title:{default:""},description:{default:""},status:{default:void 0},disabled:{type:Boolean,default:!1}},setup(u){const d=u,{disabled:p}=e.toRefs(d),{curStep:m,stepMap:f,computedCurrent:v,type:y,changeable:k,status:B,nextStatus:h,direction:j,labelPlacement:q,lineLess:x,small:C,emits:N}=n().inject(d),S=e.computed(()=>"dot"!=y.value&&C.value),V=e.computed(()=>x.value||m.value==f.size||["arrow","navigation"].includes(y.value)),_=e=>{k.value&&!p.value&&(v.value=m.value,N("change",m.value,e))};return(n,u)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["yc-steps-item",`yc-steps-item-${e.unref(j)}`,`yc-steps-item-label-${e.unref(q)}`,`yc-steps-item-${e.unref(B)}`,`yc-steps-item-next-${e.unref(h)}`,{"yc-steps-item-active":e.unref(m)==e.unref(v)&&"navigation"==e.unref(y),"yc-steps-item-line-less":V.value,"yc-steps-item-size-small":S.value}]),onClick:_},["default"==e.unref(y)&&("vertical"==e.unref(j)||"vertical"==e.unref(q))||"dot"==e.unref(y)?(e.openBlock(),e.createElementBlock("div",r)):e.createCommentVNode("",!0),"arrow"!=e.unref(y)?e.renderSlot(n.$slots,"node",{key:1,step:e.unref(m),status:e.unref(B)},()=>[e.createElementVNode("div",o,[e.createElementVNode("div",i,[["default","navigation"].includes(e.unref(y))?e.renderSlot(n.$slots,"icon",{key:0,status:e.unref(B),step:e.unref(m)},()=>["finish"==e.unref(B)?(e.openBlock(),e.createBlock(e.unref(t),{key:0})):"error"==e.unref(B)?(e.openBlock(),e.createBlock(e.unref(s),{key:1})):(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createTextVNode(e.toDisplayString(e.unref(m)),1)],64))]):e.createCommentVNode("",!0)])])]):e.createCommentVNode("",!0),e.createElementVNode("div",l,[e.createElementVNode("div",a,[e.renderSlot(n.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(n.title),1)])]),n.$slots.description||n.description?(e.openBlock(),e.createElementBlock("div",c,[e.renderSlot(n.$slots,"description",{},()=>[e.createTextVNode(e.toDisplayString(n.description),1)])])):e.createCommentVNode("",!0)])],2))}});module.exports=u;
@@ -1 +1 @@
1
- .yc-steps{display:flex}.yc-steps-vertical{flex-direction:column}.yc-steps-changeable .yc-steps-item:not(.yc-steps-item-process){cursor:pointer}.yc-steps-changeable .yc-steps-item:not(.yc-steps-item-process):hover .yc-steps-item-content .yc-steps-item-title,.yc-steps-changeable .yc-steps-item:not(.yc-steps-item-process):hover .yc-steps-item-content .yc-steps-item-description{color:rgb(var(--primary-6))}.yc-steps-mode-default .yc-steps-item,.yc-steps-mode-navigation .yc-steps-item{position:relative;overflow:hidden;white-space:nowrap;text-align:left;margin-right:12px}.yc-steps-mode-default .yc-steps-item .yc-steps-item-node .yc-steps-icon,.yc-steps-mode-navigation .yc-steps-item .yc-steps-item-node .yc-steps-icon{width:28px;height:28px;border-radius:50%;display:flex;justify-content:center;align-items:center}.yc-steps-mode-default .yc-steps-item .yc-steps-item-content .yc-steps-item-title,.yc-steps-mode-navigation .yc-steps-item .yc-steps-item-content .yc-steps-item-title{position:relative;padding-right:12px;width:fit-content;white-space:nowrap}.yc-steps-mode-default .yc-steps-item .yc-steps-item-content .yc-steps-item-description,.yc-steps-mode-navigation .yc-steps-item .yc-steps-item-content .yc-steps-item-description{max-width:140px;margin-top:2px;white-space:normal}.yc-steps-mode-default .yc-steps-item-horizontal,.yc-steps-mode-navigation .yc-steps-item-horizontal{display:flex;gap:12px}.yc-steps-mode-default .yc-steps-item-horizontal:not(:last-child),.yc-steps-mode-navigation .yc-steps-item-horizontal:not(:last-child){flex:1}.yc-steps-mode-default .yc-steps-item-horizontal:not(.yc-steps-item-line-less):not(.yc-steps-item-label-vertical) .yc-steps-item-title::after,.yc-steps-mode-navigation .yc-steps-item-horizontal:not(.yc-steps-item-line-less):not(.yc-steps-item-label-vertical) .yc-steps-item-title::after{content:'';display:block;position:absolute;top:13.5px;left:100%;width:5000px;height:1px}.yc-steps-mode-default .yc-steps-item-horizontal .yc-steps-item-content,.yc-steps-mode-navigation .yc-steps-item-horizontal .yc-steps-item-content{display:flex;flex-direction:column;gap:2px}.yc-steps-mode-default .yc-steps-item-vertical,.yc-steps-mode-navigation .yc-steps-item-vertical{display:flex;gap:12px}.yc-steps-mode-default .yc-steps-item-vertical:not(.yc-steps-item-line-less) .yc-steps-item-tail,.yc-steps-mode-navigation .yc-steps-item-vertical:not(.yc-steps-item-line-less) .yc-steps-item-tail{top:0;left:13.5px;bottom:0;width:1px;padding:34px 0 6px}.yc-steps-mode-default .yc-steps-item-vertical:not(.yc-steps-item-line-less) .yc-steps-item-tail::after,.yc-steps-mode-navigation .yc-steps-item-vertical:not(.yc-steps-item-line-less) .yc-steps-item-tail::after{content:'';display:block;height:100%;width:100%}.yc-steps-mode-default .yc-steps-item-vertical .yc-steps-item-content,.yc-steps-mode-navigation .yc-steps-item-vertical .yc-steps-item-content{min-height:90px}.yc-steps-mode-default .yc-steps-item-label-vertical,.yc-steps-mode-navigation .yc-steps-item-label-vertical{flex-direction:column;gap:2px;overflow:visible}.yc-steps-mode-default .yc-steps-item-label-vertical:not(.yc-steps-item-line-less) .yc-steps-item-tail,.yc-steps-mode-navigation .yc-steps-item-label-vertical:not(.yc-steps-item-line-less) .yc-steps-item-tail{position:absolute;top:13.5px;left:96px;padding-right:40px;width:100%;height:1px}.yc-steps-mode-default .yc-steps-item-label-vertical:not(.yc-steps-item-line-less) .yc-steps-item-tail::after,.yc-steps-mode-navigation .yc-steps-item-label-vertical:not(.yc-steps-item-line-less) .yc-steps-item-tail::after{content:'';display:block;width:100%;height:1px}.yc-steps-mode-default .yc-steps-item-label-vertical .yc-steps-item-node,.yc-steps-mode-navigation .yc-steps-item-label-vertical .yc-steps-item-node{margin-left:56px}.yc-steps-mode-default .yc-steps-item-label-vertical .yc-steps-item-node .yc-steps-icon,.yc-steps-mode-navigation .yc-steps-item-label-vertical .yc-steps-item-node .yc-steps-icon{width:28px;height:28px;border-radius:50%;display:flex;justify-content:center;align-items:center}.yc-steps-mode-default .yc-steps-item-label-vertical .yc-steps-item-content,.yc-steps-mode-navigation .yc-steps-item-label-vertical .yc-steps-item-content{width:140px;text-align:center}.yc-steps-mode-default .yc-steps-item-label-vertical .yc-steps-item-content .yc-steps-item-title,.yc-steps-mode-navigation .yc-steps-item-label-vertical .yc-steps-item-content .yc-steps-item-title{padding-right:0;width:100%}.yc-steps-mode-default .yc-steps-item-size-small .yc-steps-item-node,.yc-steps-mode-navigation .yc-steps-item-size-small .yc-steps-item-node{font-size:14px}.yc-steps-mode-default .yc-steps-item-size-small .yc-steps-item-node .yc-steps-icon,.yc-steps-mode-navigation .yc-steps-item-size-small .yc-steps-item-node .yc-steps-icon{width:24px;height:24px}.yc-steps-mode-default .yc-steps-item-size-small .yc-steps-item-content .yc-steps-item-title,.yc-steps-mode-navigation .yc-steps-item-size-small .yc-steps-item-content .yc-steps-item-title{font-size:14px;line-height:24px}.yc-steps-mode-default .yc-steps-item-size-small:not(.yc-steps-item-line-less):not(.yc-steps-item-label-vertical) .yc-steps-item-title::after,.yc-steps-mode-navigation .yc-steps-item-size-small:not(.yc-steps-item-line-less):not(.yc-steps-item-label-vertical) .yc-steps-item-title::after{top:11.5px}.yc-steps-mode-default .yc-steps-item-size-small:not(.yc-steps-item-line-less).yc-steps-item-vertical .yc-steps-item-tail,.yc-steps-mode-navigation .yc-steps-item-size-small:not(.yc-steps-item-line-less).yc-steps-item-vertical .yc-steps-item-tail{top:0;left:11.5px;padding:30px 0 6px}.yc-steps-mode-default .yc-steps-item-size-small:not(.yc-steps-item-line-less).yc-steps-item-label-vertical .yc-steps-item-tail,.yc-steps-mode-navigation .yc-steps-item-size-small:not(.yc-steps-item-line-less).yc-steps-item-label-vertical .yc-steps-item-tail{top:11.5px;left:94px;padding-right:36px}.yc-steps-mode-default .yc-steps-item-wait .yc-steps-icon,.yc-steps-mode-navigation .yc-steps-item-wait .yc-steps-icon{color:var(--color-text-2);background-color:var(--color-fill-2)}.yc-steps-mode-default .yc-steps-item-wait .yc-steps-item-content .yc-steps-item-title,.yc-steps-mode-navigation .yc-steps-item-wait .yc-steps-item-content .yc-steps-item-title{color:var(--color-text-2)}.yc-steps-mode-default .yc-steps-item-process .yc-steps-icon,.yc-steps-mode-navigation .yc-steps-item-process .yc-steps-icon{color:var(--color-white);background-color:rgb(var(--primary-6))}.yc-steps-mode-default .yc-steps-item-finish .yc-steps-icon,.yc-steps-mode-navigation .yc-steps-item-finish .yc-steps-icon{color:rgb(var(--primary-6));background-color:rgb(var(--primary-1))}.yc-steps-mode-default .yc-steps-item-error .yc-steps-icon,.yc-steps-mode-navigation .yc-steps-item-error .yc-steps-icon{color:var(--color-white);background-color:rgb(var(--danger-6))}.yc-steps-mode-dot .yc-steps-item{position:relative}.yc-steps-mode-dot .yc-steps-item.yc-steps-item-horizontal:not(:last-child){margin-right:16px}.yc-steps-mode-dot .yc-steps-item.yc-steps-item-horizontal .yc-steps-item-tail{left:78px;width:100%;height:1px}.yc-steps-mode-dot .yc-steps-item.yc-steps-item-horizontal .yc-steps-item-node{margin-left:67px}.yc-steps-mode-dot .yc-steps-item.yc-steps-item-horizontal.yc-steps-item-process .yc-steps-item-node{margin-top:-1px;margin-left:65px}.yc-steps-mode-dot .yc-steps-item.yc-steps-item-vertical:not(:last-child){margin-bottom:4px}.yc-steps-mode-dot .yc-steps-item.yc-steps-item-vertical .yc-steps-item-tail{bottom:0;left:4px;transform:translateX(-50%);width:1px;height:100%;padding:16px 0 2px 0}.yc-steps-mode-dot .yc-steps-item.yc-steps-item-vertical .yc-steps-item-node{margin-top:8px}.yc-steps-mode-dot .yc-steps-item.yc-steps-item-vertical.yc-steps-item-process .yc-steps-item-node{margin-top:6px;margin-left:-1px}.yc-steps-mode-dot .yc-steps-item.yc-steps-item-process .yc-steps-item-node{width:10px;height:10px}.yc-steps-mode-dot .yc-steps-item:not(.yc-steps-item-line-less) .yc-steps-item-tail::after{content:'';height:100%;width:100%;display:block}.yc-steps-mode-dot .yc-steps-item .yc-steps-item-tail{position:absolute;top:3.5px;background-color:transparent}.yc-steps-mode-dot .yc-steps-item .yc-steps-item-node{width:8px;height:8px;border-radius:50%}.yc-steps-mode-dot .yc-steps-item-horizontal{display:flex;flex-direction:column;gap:4px}.yc-steps-mode-dot .yc-steps-item-horizontal:not(:last-child){flex:1}.yc-steps-mode-dot .yc-steps-item-horizontal .yc-steps-item-content{width:140px;text-align:center;gap:4px}.yc-steps-mode-dot .yc-steps-item-vertical{min-height:90px;display:flex;gap:16px}.yc-steps-mode-dot .yc-steps-item-vertical .yc-steps-item-content{gap:4px}.yc-steps-mode-dot .yc-steps-item-vertical .yc-steps-item-content .yc-steps-item-title{margin-top:-2px}.yc-steps-mode-dot .yc-steps-item-wait .yc-steps-item-node{background-color:var(--color-neutral-4);border-color:var(--color-neutral-4)}.yc-steps-mode-dot .yc-steps-item-process .yc-steps-item-node{background-color:rgb(var(--primary-6));border-color:rgb(var(--primary-6));width:10px;height:10px}.yc-steps-mode-dot .yc-steps-item-finish .yc-steps-item-node{background-color:rgb(var(--primary-6));border-color:rgb(var(--primary-6))}.yc-steps-mode-dot .yc-steps-item-error .yc-steps-item-node{background-color:rgb(var(--danger-6));border-color:rgb(var(--danger-6))}.yc-steps-mode-arrow{gap:4px}.yc-steps-mode-arrow .yc-steps-item{flex:1;position:relative;overflow:visible;height:72px}.yc-steps-mode-arrow .yc-steps-item:not(:first-child)::before{content:'';position:absolute;top:0;left:0;z-index:1;width:0;height:0;border-top:36px solid transparent;border-bottom:36px solid transparent;border-left:36px solid var(--color-bg-1)}.yc-steps-mode-arrow .yc-steps-item:not(:last-child)::after{content:'';position:absolute;top:0;right:-36px;z-index:2;width:0;height:0;background-color:transparent;border-top:36px solid transparent;border-bottom:36px solid transparent}.yc-steps-mode-arrow .yc-steps-item:first-child .yc-steps-item-content{padding-left:16px}.yc-steps-mode-arrow .yc-steps-item .yc-steps-item-content{flex:1;padding-left:52px;height:72px;justify-content:center}.yc-steps-mode-arrow.yc-steps-item-size-small{height:40px}.yc-steps-mode-arrow.yc-steps-item-size-small:not(:first-child)::before{border-top:20px solid transparent;border-bottom:20px solid transparent;border-left:20px solid var(--color-bg-1)}.yc-steps-mode-arrow.yc-steps-item-size-small:not(:last-child)::after{right:-20px;border-top:20px solid transparent;border-bottom:20px solid transparent}.yc-steps-mode-arrow.yc-steps-item-size-small .yc-steps-item-content{height:40px}.yc-steps-mode-arrow.yc-steps-item-size-small .yc-steps-item-content .yc-steps-item-description{display:none}.yc-steps-mode-arrow .yc-steps-item-wait{background-color:var(--color-fill-1)}.yc-steps-mode-arrow .yc-steps-item-wait::after{border-left:36px solid var(--color-fill-1)}.yc-steps-mode-arrow .yc-steps-item-process{background-color:rgb(var(--primary-6))}.yc-steps-mode-arrow .yc-steps-item-process::after{border-left:36px solid rgb(var(--primary-6))}.yc-steps-mode-arrow .yc-steps-item-process .yc-steps-item-content .yc-steps-item-title,.yc-steps-mode-arrow .yc-steps-item-process .yc-steps-item-content .yc-steps-item-description{color:var(--color-white)}.yc-steps-mode-arrow .yc-steps-item-finish{background-color:rgb(var(--primary-1))}.yc-steps-mode-arrow .yc-steps-item-finish::after{border-left:36px solid rgb(var(--primary-1))}.yc-steps-mode-arrow .yc-steps-item-error{background-color:rgb(var(--danger-6))}.yc-steps-mode-arrow .yc-steps-item-error::after{border-left:36px solid rgb(var(--danger-6))}.yc-steps-mode-arrow .yc-steps-item-error .yc-steps-item-content .yc-steps-item-title,.yc-steps-mode-arrow .yc-steps-item-error .yc-steps-item-content .yc-steps-item-description{color:var(--color-white)}.yc-steps-mode-navigation{gap:32px}.yc-steps-mode-navigation .yc-steps-item{flex:1;overflow:hidden;padding:0 10px 0 20px}.yc-steps-mode-navigation .yc-steps-item:not(:last-child)::before{content:'';position:absolute;top:10px;right:0;width:6px;height:6px;border:2px solid var(--color-border-3);border-bottom:none;border-left:none;background-color:var(--color-bg-1);transform:rotate(45deg)}.yc-steps-mode-navigation .yc-steps-item .yc-steps-item-content{margin-bottom:20px}.yc-steps-mode-navigation .yc-steps-item .yc-steps-item-content .yc-steps-item-description{max-width:unset;white-space:nowrap}.yc-steps-item .yc-steps-item-tail{position:absolute}.yc-steps-item .yc-steps-item-node{font-weight:500;font-size:16px}.yc-steps-item .yc-steps-item-node .yc-steps-icon{width:28px;height:28px;border-radius:50%;display:flex;justify-content:center;align-items:center}.yc-steps-item .yc-steps-item-content{display:flex;flex-direction:column;gap:2px}.yc-steps-item .yc-steps-item-content .yc-steps-item-title{line-height:28px;font-size:16px;color:var(--color-text-1);transition:all .1s cubic-bezier(0, 0, 1, 1)}.yc-steps-item .yc-steps-item-content .yc-steps-item-description{max-width:140px;font-size:12px;color:var(--color-text-3);transition:all .1s cubic-bezier(0, 0, 1, 1)}.yc-steps-item-active::after{content:'';position:absolute;display:block;height:2px;right:30px;left:0;bottom:0}.yc-steps-item-active.yc-steps-item-finish::after{background-color:var(--color-primary-light-1)}.yc-steps-item-active.yc-steps-item-wait::after{background-color:var(--color-fill-2)}.yc-steps-item-active.yc-steps-item-error::after{background-color:rgb(var(--danger-6))}.yc-steps-item-active.yc-steps-item-process::after{background-color:rgb(var(--primary-6))}.yc-steps-item-next-wait::after,.yc-steps-item-next-wait .yc-steps-item-title::after,.yc-steps-item-next-wait .yc-steps-item-tail::after{background-color:var(--color-border-2)}.yc-steps-item-next-process::after,.yc-steps-item-next-process .yc-steps-item-title::after,.yc-steps-item-next-process .yc-steps-item-tail::after{background-color:rgb(var(--primary-6))}.yc-steps-item-next-finish::after,.yc-steps-item-next-finish .yc-steps-item-title::after,.yc-steps-item-next-finish .yc-steps-item-tail::after{background-color:rgb(var(--primary-6))}.yc-steps-item-next-error::after,.yc-steps-item-next-error .yc-steps-item-title::after,.yc-steps-item-next-error .yc-steps-item-tail::after{background-color:rgb(var(--danger-6))}
1
+ .yc-steps{display:flex}.yc-steps-vertical{flex-direction:column}.yc-steps-changeable .yc-steps-item:not(.yc-steps-item-process){cursor:pointer}.yc-steps-changeable .yc-steps-item:not(.yc-steps-item-process):hover .yc-steps-item-content .yc-steps-item-title,.yc-steps-changeable .yc-steps-item:not(.yc-steps-item-process):hover .yc-steps-item-content .yc-steps-item-description{color:rgb(var(--primary-6))}.yc-steps-mode-default .yc-steps-item,.yc-steps-mode-navigation .yc-steps-item{position:relative;overflow:hidden;white-space:nowrap;text-align:left;margin-right:12px}.yc-steps-mode-default .yc-steps-item .yc-steps-item-node .yc-steps-icon,.yc-steps-mode-navigation .yc-steps-item .yc-steps-item-node .yc-steps-icon{width:28px;height:28px;border-radius:var(--border-radius-circle);display:flex;justify-content:center;align-items:center}.yc-steps-mode-default .yc-steps-item .yc-steps-item-content .yc-steps-item-title,.yc-steps-mode-navigation .yc-steps-item .yc-steps-item-content .yc-steps-item-title{position:relative;padding-right:12px;width:fit-content;white-space:nowrap}.yc-steps-mode-default .yc-steps-item .yc-steps-item-content .yc-steps-item-description,.yc-steps-mode-navigation .yc-steps-item .yc-steps-item-content .yc-steps-item-description{max-width:140px;margin-top:2px;white-space:normal}.yc-steps-mode-default .yc-steps-item-horizontal,.yc-steps-mode-navigation .yc-steps-item-horizontal{display:flex;gap:12px}.yc-steps-mode-default .yc-steps-item-horizontal:not(:last-child),.yc-steps-mode-navigation .yc-steps-item-horizontal:not(:last-child){flex:1}.yc-steps-mode-default .yc-steps-item-horizontal:not(.yc-steps-item-line-less):not(.yc-steps-item-label-vertical) .yc-steps-item-title::after,.yc-steps-mode-navigation .yc-steps-item-horizontal:not(.yc-steps-item-line-less):not(.yc-steps-item-label-vertical) .yc-steps-item-title::after{content:'';display:block;position:absolute;top:13.5px;left:100%;width:5000px;height:1px}.yc-steps-mode-default .yc-steps-item-horizontal .yc-steps-item-content,.yc-steps-mode-navigation .yc-steps-item-horizontal .yc-steps-item-content{display:flex;flex-direction:column;gap:2px}.yc-steps-mode-default .yc-steps-item-vertical,.yc-steps-mode-navigation .yc-steps-item-vertical{display:flex;gap:12px}.yc-steps-mode-default .yc-steps-item-vertical:not(.yc-steps-item-line-less) .yc-steps-item-tail,.yc-steps-mode-navigation .yc-steps-item-vertical:not(.yc-steps-item-line-less) .yc-steps-item-tail{top:0;left:13.5px;bottom:0;width:1px;padding:34px 0 6px}.yc-steps-mode-default .yc-steps-item-vertical:not(.yc-steps-item-line-less) .yc-steps-item-tail::after,.yc-steps-mode-navigation .yc-steps-item-vertical:not(.yc-steps-item-line-less) .yc-steps-item-tail::after{content:'';display:block;height:100%;width:100%}.yc-steps-mode-default .yc-steps-item-vertical .yc-steps-item-content,.yc-steps-mode-navigation .yc-steps-item-vertical .yc-steps-item-content{min-height:90px}.yc-steps-mode-default .yc-steps-item-label-vertical,.yc-steps-mode-navigation .yc-steps-item-label-vertical{flex-direction:column;gap:2px;overflow:visible}.yc-steps-mode-default .yc-steps-item-label-vertical:not(.yc-steps-item-line-less) .yc-steps-item-tail,.yc-steps-mode-navigation .yc-steps-item-label-vertical:not(.yc-steps-item-line-less) .yc-steps-item-tail{position:absolute;top:13.5px;left:96px;padding-right:40px;width:100%;height:1px}.yc-steps-mode-default .yc-steps-item-label-vertical:not(.yc-steps-item-line-less) .yc-steps-item-tail::after,.yc-steps-mode-navigation .yc-steps-item-label-vertical:not(.yc-steps-item-line-less) .yc-steps-item-tail::after{content:'';display:block;width:100%;height:1px}.yc-steps-mode-default .yc-steps-item-label-vertical .yc-steps-item-node,.yc-steps-mode-navigation .yc-steps-item-label-vertical .yc-steps-item-node{margin-left:56px}.yc-steps-mode-default .yc-steps-item-label-vertical .yc-steps-item-node .yc-steps-icon,.yc-steps-mode-navigation .yc-steps-item-label-vertical .yc-steps-item-node .yc-steps-icon{width:28px;height:28px;border-radius:var(--border-radius-circle);display:flex;justify-content:center;align-items:center}.yc-steps-mode-default .yc-steps-item-label-vertical .yc-steps-item-content,.yc-steps-mode-navigation .yc-steps-item-label-vertical .yc-steps-item-content{width:140px;text-align:center}.yc-steps-mode-default .yc-steps-item-label-vertical .yc-steps-item-content .yc-steps-item-title,.yc-steps-mode-navigation .yc-steps-item-label-vertical .yc-steps-item-content .yc-steps-item-title{padding-right:0;width:100%}.yc-steps-mode-default .yc-steps-item-size-small .yc-steps-item-node,.yc-steps-mode-navigation .yc-steps-item-size-small .yc-steps-item-node{font-size:14px}.yc-steps-mode-default .yc-steps-item-size-small .yc-steps-item-node .yc-steps-icon,.yc-steps-mode-navigation .yc-steps-item-size-small .yc-steps-item-node .yc-steps-icon{width:24px;height:24px}.yc-steps-mode-default .yc-steps-item-size-small .yc-steps-item-content .yc-steps-item-title,.yc-steps-mode-navigation .yc-steps-item-size-small .yc-steps-item-content .yc-steps-item-title{font-size:14px;line-height:24px}.yc-steps-mode-default .yc-steps-item-size-small:not(.yc-steps-item-line-less):not(.yc-steps-item-label-vertical) .yc-steps-item-title::after,.yc-steps-mode-navigation .yc-steps-item-size-small:not(.yc-steps-item-line-less):not(.yc-steps-item-label-vertical) .yc-steps-item-title::after{top:11.5px}.yc-steps-mode-default .yc-steps-item-size-small:not(.yc-steps-item-line-less).yc-steps-item-vertical .yc-steps-item-tail,.yc-steps-mode-navigation .yc-steps-item-size-small:not(.yc-steps-item-line-less).yc-steps-item-vertical .yc-steps-item-tail{top:0;left:11.5px;padding:30px 0 6px}.yc-steps-mode-default .yc-steps-item-size-small:not(.yc-steps-item-line-less).yc-steps-item-label-vertical .yc-steps-item-tail,.yc-steps-mode-navigation .yc-steps-item-size-small:not(.yc-steps-item-line-less).yc-steps-item-label-vertical .yc-steps-item-tail{top:11.5px;left:94px;padding-right:36px}.yc-steps-mode-default .yc-steps-item-wait .yc-steps-icon,.yc-steps-mode-navigation .yc-steps-item-wait .yc-steps-icon{color:var(--color-text-2);background-color:var(--color-fill-2)}.yc-steps-mode-default .yc-steps-item-wait .yc-steps-item-content .yc-steps-item-title,.yc-steps-mode-navigation .yc-steps-item-wait .yc-steps-item-content .yc-steps-item-title{color:var(--color-text-2)}.yc-steps-mode-default .yc-steps-item-process .yc-steps-icon,.yc-steps-mode-navigation .yc-steps-item-process .yc-steps-icon{color:var(--color-white);background-color:rgb(var(--primary-6))}.yc-steps-mode-default .yc-steps-item-finish .yc-steps-icon,.yc-steps-mode-navigation .yc-steps-item-finish .yc-steps-icon{color:rgb(var(--primary-6));background-color:rgb(var(--primary-1))}.yc-steps-mode-default .yc-steps-item-error .yc-steps-icon,.yc-steps-mode-navigation .yc-steps-item-error .yc-steps-icon{color:var(--color-white);background-color:rgb(var(--danger-6))}.yc-steps-mode-dot .yc-steps-item{position:relative}.yc-steps-mode-dot .yc-steps-item.yc-steps-item-horizontal:not(:last-child){margin-right:16px}.yc-steps-mode-dot .yc-steps-item.yc-steps-item-horizontal .yc-steps-item-tail{left:78px;width:100%;height:1px}.yc-steps-mode-dot .yc-steps-item.yc-steps-item-horizontal .yc-steps-item-node{margin-left:67px}.yc-steps-mode-dot .yc-steps-item.yc-steps-item-horizontal.yc-steps-item-process .yc-steps-item-node{margin-top:-1px;margin-left:65px}.yc-steps-mode-dot .yc-steps-item.yc-steps-item-vertical:not(:last-child){margin-bottom:4px}.yc-steps-mode-dot .yc-steps-item.yc-steps-item-vertical .yc-steps-item-tail{bottom:0;left:4px;transform:translateX(-50%);width:1px;height:100%;padding:16px 0 2px 0}.yc-steps-mode-dot .yc-steps-item.yc-steps-item-vertical .yc-steps-item-node{margin-top:8px}.yc-steps-mode-dot .yc-steps-item.yc-steps-item-vertical.yc-steps-item-process .yc-steps-item-node{margin-top:6px;margin-left:-1px}.yc-steps-mode-dot .yc-steps-item.yc-steps-item-process .yc-steps-item-node{width:10px;height:10px}.yc-steps-mode-dot .yc-steps-item:not(.yc-steps-item-line-less) .yc-steps-item-tail::after{content:'';height:100%;width:100%;display:block}.yc-steps-mode-dot .yc-steps-item .yc-steps-item-tail{position:absolute;top:3.5px;background-color:transparent}.yc-steps-mode-dot .yc-steps-item .yc-steps-item-node{width:8px;height:8px;border-radius:var(--border-radius-circle)}.yc-steps-mode-dot .yc-steps-item-horizontal{display:flex;flex-direction:column;gap:4px}.yc-steps-mode-dot .yc-steps-item-horizontal:not(:last-child){flex:1}.yc-steps-mode-dot .yc-steps-item-horizontal .yc-steps-item-content{width:140px;text-align:center;gap:4px}.yc-steps-mode-dot .yc-steps-item-vertical{min-height:90px;display:flex;gap:16px}.yc-steps-mode-dot .yc-steps-item-vertical .yc-steps-item-content{gap:4px}.yc-steps-mode-dot .yc-steps-item-vertical .yc-steps-item-content .yc-steps-item-title{margin-top:-2px}.yc-steps-mode-dot .yc-steps-item-wait .yc-steps-item-node{background-color:var(--color-neutral-4);border-color:var(--color-neutral-4)}.yc-steps-mode-dot .yc-steps-item-process .yc-steps-item-node{background-color:rgb(var(--primary-6));border-color:rgb(var(--primary-6));width:10px;height:10px}.yc-steps-mode-dot .yc-steps-item-finish .yc-steps-item-node{background-color:rgb(var(--primary-6));border-color:rgb(var(--primary-6))}.yc-steps-mode-dot .yc-steps-item-error .yc-steps-item-node{background-color:rgb(var(--danger-6));border-color:rgb(var(--danger-6))}.yc-steps-mode-arrow{gap:4px}.yc-steps-mode-arrow .yc-steps-item{flex:1;position:relative;overflow:visible;height:72px}.yc-steps-mode-arrow .yc-steps-item:not(:first-child)::before{content:'';position:absolute;top:0;left:0;z-index:1;width:0;height:0;border-top:36px solid transparent;border-bottom:36px solid transparent;border-left:36px solid var(--color-bg-1)}.yc-steps-mode-arrow .yc-steps-item:not(:last-child)::after{content:'';position:absolute;top:0;right:-36px;z-index:2;width:0;height:0;background-color:transparent;border-top:36px solid transparent;border-bottom:36px solid transparent}.yc-steps-mode-arrow .yc-steps-item:first-child .yc-steps-item-content{padding-left:16px}.yc-steps-mode-arrow .yc-steps-item .yc-steps-item-content{flex:1;padding-left:52px;height:72px;justify-content:center}.yc-steps-mode-arrow.yc-steps-item-size-small{height:40px}.yc-steps-mode-arrow.yc-steps-item-size-small:not(:first-child)::before{border-top:20px solid transparent;border-bottom:20px solid transparent;border-left:20px solid var(--color-bg-1)}.yc-steps-mode-arrow.yc-steps-item-size-small:not(:last-child)::after{right:-20px;border-top:20px solid transparent;border-bottom:20px solid transparent}.yc-steps-mode-arrow.yc-steps-item-size-small .yc-steps-item-content{height:40px}.yc-steps-mode-arrow.yc-steps-item-size-small .yc-steps-item-content .yc-steps-item-description{display:none}.yc-steps-mode-arrow .yc-steps-item-wait{background-color:var(--color-fill-1)}.yc-steps-mode-arrow .yc-steps-item-wait::after{border-left:36px solid var(--color-fill-1)}.yc-steps-mode-arrow .yc-steps-item-process{background-color:rgb(var(--primary-6))}.yc-steps-mode-arrow .yc-steps-item-process::after{border-left:36px solid rgb(var(--primary-6))}.yc-steps-mode-arrow .yc-steps-item-process .yc-steps-item-content .yc-steps-item-title,.yc-steps-mode-arrow .yc-steps-item-process .yc-steps-item-content .yc-steps-item-description{color:var(--color-white)}.yc-steps-mode-arrow .yc-steps-item-finish{background-color:rgb(var(--primary-1))}.yc-steps-mode-arrow .yc-steps-item-finish::after{border-left:36px solid rgb(var(--primary-1))}.yc-steps-mode-arrow .yc-steps-item-error{background-color:rgb(var(--danger-6))}.yc-steps-mode-arrow .yc-steps-item-error::after{border-left:36px solid rgb(var(--danger-6))}.yc-steps-mode-arrow .yc-steps-item-error .yc-steps-item-content .yc-steps-item-title,.yc-steps-mode-arrow .yc-steps-item-error .yc-steps-item-content .yc-steps-item-description{color:var(--color-white)}.yc-steps-mode-navigation{gap:32px}.yc-steps-mode-navigation .yc-steps-item{flex:1;overflow:hidden;padding:0 10px 0 20px}.yc-steps-mode-navigation .yc-steps-item:not(:last-child)::before{content:'';position:absolute;top:10px;right:0;width:6px;height:6px;border:2px solid var(--color-border-3);border-bottom:none;border-left:none;background-color:var(--color-bg-1);transform:rotate(45deg)}.yc-steps-mode-navigation .yc-steps-item .yc-steps-item-content{margin-bottom:20px}.yc-steps-mode-navigation .yc-steps-item .yc-steps-item-content .yc-steps-item-description{max-width:unset;white-space:nowrap}.yc-steps-item .yc-steps-item-tail{position:absolute}.yc-steps-item .yc-steps-item-node{font-weight:500;font-size:16px}.yc-steps-item .yc-steps-item-node .yc-steps-icon{width:28px;height:28px;border-radius:var(--border-radius-circle);display:flex;justify-content:center;align-items:center}.yc-steps-item .yc-steps-item-content{display:flex;flex-direction:column;gap:2px}.yc-steps-item .yc-steps-item-content .yc-steps-item-title{line-height:28px;font-size:16px;color:var(--color-text-1);transition:all .1s cubic-bezier(0, 0, 1, 1)}.yc-steps-item .yc-steps-item-content .yc-steps-item-description{max-width:140px;font-size:12px;color:var(--color-text-3);transition:all .1s cubic-bezier(0, 0, 1, 1)}.yc-steps-item-active::after{content:'';position:absolute;display:block;height:2px;right:30px;left:0;bottom:0}.yc-steps-item-active.yc-steps-item-finish::after{background-color:var(--color-primary-light-1)}.yc-steps-item-active.yc-steps-item-wait::after{background-color:var(--color-fill-2)}.yc-steps-item-active.yc-steps-item-error::after{background-color:rgb(var(--danger-6))}.yc-steps-item-active.yc-steps-item-process::after{background-color:rgb(var(--primary-6))}.yc-steps-item-next-wait::after,.yc-steps-item-next-wait .yc-steps-item-title::after,.yc-steps-item-next-wait .yc-steps-item-tail::after{background-color:var(--color-border-2)}.yc-steps-item-next-process::after,.yc-steps-item-next-process .yc-steps-item-title::after,.yc-steps-item-next-process .yc-steps-item-tail::after{background-color:rgb(var(--primary-6))}.yc-steps-item-next-finish::after,.yc-steps-item-next-finish .yc-steps-item-title::after,.yc-steps-item-next-finish .yc-steps-item-tail::after{background-color:rgb(var(--primary-6))}.yc-steps-item-next-error::after,.yc-steps-item-next-error .yc-steps-item-title::after,.yc-steps-item-next-error .yc-steps-item-tail::after{background-color:rgb(var(--danger-6))}
@@ -1 +1 @@
1
- .yc-switch{cursor:pointer;position:relative;padding:0;background-color:var(--switch-background);outline:none;border:none;border-radius:20px;vertical-align:middle;transition:background-color .2s cubic-bezier(.34, .69, .1, 1)}.yc-switch::after{background-color:var(--switch-background)}.yc-switch .yc-switch-handle{z-index:1;position:absolute;top:50%;transform:translateY(-50%);border-radius:50%;transition:all .2s cubic-bezier(.34, .69, .1, 1);display:flex;align-items:center;justify-content:center}.yc-switch .yc-switch-handle .yc-switch-handle-icon{font-size:inherit;display:flex;align-items:center;justify-content:center}.yc-switch .yc-switch-handle .yc-switch-handle-icon .yc-spin{font-size:inherit;color:inherit}.yc-switch .yc-switch-text{position:absolute;font-size:12px}.yc-switch .yc-switch-placeholder{visibility:hidden;font-size:12px;margin:0 8px 0 26px}.yc-switch-unchecked .yc-switch-handle{background-color:var(--color-bg-white);color:var(--color-neutral-3)}.yc-switch-unchecked .yc-switch-text{left:26px;color:var(--color-white)}.yc-switch-checked .yc-switch-handle{background-color:var(--color-bg-white);color:rgb(var(--primary-6))}.yc-switch-checked .yc-switch-text{left:8px;color:var(--color-white)}.yc-switch-checked .yc-switch-placeholder{margin:0 26px 0 8px}.yc-switch-loading.yc-switch-unchecked:not(.yc-switch-shape-line),.yc-switch-disabled.yc-switch-unchecked:not(.yc-switch-shape-line),.yc-switch-loading.yc-switch-unchecked.yc-switch-shape-line::after,.yc-switch-disabled.yc-switch-unchecked.yc-switch-shape-line::after{background-color:var(--color-fill-2)}.yc-switch-loading.yc-switch-unchecked .yc-switch-handle,.yc-switch-disabled.yc-switch-unchecked .yc-switch-handle{color:var(--color-neutral-3)}.yc-switch-loading.yc-switch-unchecked .yc-switch-text,.yc-switch-disabled.yc-switch-unchecked .yc-switch-text{color:var(--color-white)}.yc-switch-loading.yc-switch-checked:not(.yc-switch-shape-line),.yc-switch-disabled.yc-switch-checked:not(.yc-switch-shape-line),.yc-switch-loading.yc-switch-checked.yc-switch-shape-line::after,.yc-switch-disabled.yc-switch-checked.yc-switch-shape-line::after{background-color:var(--color-primary-light-3)}.yc-switch-loading.yc-switch-checked .yc-switch-handle,.yc-switch-disabled.yc-switch-checked .yc-switch-handle{color:var(--color-primary-light-3)}.yc-switch-loading.yc-switch-checked .yc-switch-text,.yc-switch-disabled.yc-switch-checked .yc-switch-text{color:var(--color-primary-light-1)}body[yc-design-theme='dark'] .yc-switch-loading.yc-switch-checked .yc-switch-text,body[yc-design-theme='dark'] .yc-switch-disabled.yc-switch-checked .yc-switch-text{color:var(--color-white)}.yc-switch-disabled{cursor:not-allowed}.yc-switch-size-small{min-width:28px;height:16px;line-height:16px}.yc-switch-size-small .yc-switch-handle{left:2px;width:12px;height:12px;font-size:8px}.yc-switch-size-small.yc-switch-checked .yc-switch-handle{left:calc(100% - 14px)}.yc-switch-size-small.yc-switch-shape-line{min-width:28px;height:16px;line-height:16px}.yc-switch-size-small.yc-switch-shape-line .yc-switch-handle{width:16px;height:16px}.yc-switch-size-small.yc-switch-shape-line.yc-switch-checked .yc-switch-handle{left:calc(100% - 16px)}.yc-switch-size-medium{min-width:40px;height:24px;line-height:24px}.yc-switch-size-medium .yc-switch-handle{left:4px;width:16px;height:16px;font-size:12px}.yc-switch-size-medium.yc-switch-checked .yc-switch-handle{left:calc(100% - 20px)}.yc-switch-size-medium.yc-switch-shape-line{min-width:36px;overflow:unset}.yc-switch-size-medium.yc-switch-shape-line .yc-switch-handle{left:0;width:20px;height:20px}.yc-switch-size-medium.yc-switch-shape-line.yc-switch-checked .yc-switch-handle{left:calc(100% - 20px)}.yc-switch-shape-line{background:transparent}.yc-switch-shape-line::after{content:'';position:absolute;left:0;right:0;top:50%;transform:translateY(-50%);height:6px;border-radius:3px}.yc-switch-shape-line .yc-switch-handle{box-shadow:0 1px 3px var(--color-neutral-6)}.yc-switch-shape-round{border-radius:2px}.yc-switch-shape-round .yc-switch-handle{border-radius:2px}
1
+ .yc-switch{cursor:pointer;position:relative;padding:0;background-color:var(--switch-background);outline:none;border:none;border-radius:20px;vertical-align:middle;transition:background-color .2s cubic-bezier(.34, .69, .1, 1)}.yc-switch::after{background-color:var(--switch-background)}.yc-switch .yc-switch-handle{z-index:1;position:absolute;top:50%;transform:translateY(-50%);border-radius:var(--border-radius-circle);transition:all .2s cubic-bezier(.34, .69, .1, 1);display:flex;align-items:center;justify-content:center}.yc-switch .yc-switch-handle .yc-switch-handle-icon{font-size:inherit;display:flex;align-items:center;justify-content:center}.yc-switch .yc-switch-handle .yc-switch-handle-icon .yc-spin{font-size:inherit;color:inherit}.yc-switch .yc-switch-text{position:absolute;font-size:12px}.yc-switch .yc-switch-placeholder{visibility:hidden;font-size:12px;margin:0 8px 0 26px}.yc-switch-unchecked .yc-switch-handle{background-color:var(--color-bg-white);color:var(--color-neutral-3)}.yc-switch-unchecked .yc-switch-text{left:26px;color:var(--color-white)}.yc-switch-checked .yc-switch-handle{background-color:var(--color-bg-white);color:rgb(var(--primary-6))}.yc-switch-checked .yc-switch-text{left:8px;color:var(--color-white)}.yc-switch-checked .yc-switch-placeholder{margin:0 26px 0 8px}.yc-switch-loading.yc-switch-unchecked:not(.yc-switch-shape-line),.yc-switch-disabled.yc-switch-unchecked:not(.yc-switch-shape-line),.yc-switch-loading.yc-switch-unchecked.yc-switch-shape-line::after,.yc-switch-disabled.yc-switch-unchecked.yc-switch-shape-line::after{background-color:var(--color-fill-2)}.yc-switch-loading.yc-switch-unchecked .yc-switch-handle,.yc-switch-disabled.yc-switch-unchecked .yc-switch-handle{color:var(--color-neutral-3)}.yc-switch-loading.yc-switch-unchecked .yc-switch-text,.yc-switch-disabled.yc-switch-unchecked .yc-switch-text{color:var(--color-white)}.yc-switch-loading.yc-switch-checked:not(.yc-switch-shape-line),.yc-switch-disabled.yc-switch-checked:not(.yc-switch-shape-line),.yc-switch-loading.yc-switch-checked.yc-switch-shape-line::after,.yc-switch-disabled.yc-switch-checked.yc-switch-shape-line::after{background-color:var(--color-primary-light-3)}.yc-switch-loading.yc-switch-checked .yc-switch-handle,.yc-switch-disabled.yc-switch-checked .yc-switch-handle{color:var(--color-primary-light-3)}.yc-switch-loading.yc-switch-checked .yc-switch-text,.yc-switch-disabled.yc-switch-checked .yc-switch-text{color:var(--color-primary-light-1)}body[yc-design-theme='dark'] .yc-switch-loading.yc-switch-checked .yc-switch-text,body[yc-design-theme='dark'] .yc-switch-disabled.yc-switch-checked .yc-switch-text{color:var(--color-white)}.yc-switch-disabled{cursor:not-allowed}.yc-switch-size-small{min-width:28px;height:16px;line-height:16px}.yc-switch-size-small .yc-switch-handle{left:2px;width:12px;height:12px;font-size:8px}.yc-switch-size-small.yc-switch-checked .yc-switch-handle{left:calc(100% - 14px)}.yc-switch-size-small.yc-switch-shape-line{min-width:28px;height:16px;line-height:16px}.yc-switch-size-small.yc-switch-shape-line .yc-switch-handle{width:16px;height:16px}.yc-switch-size-small.yc-switch-shape-line.yc-switch-checked .yc-switch-handle{left:calc(100% - 16px)}.yc-switch-size-medium{min-width:40px;height:24px;line-height:24px}.yc-switch-size-medium .yc-switch-handle{left:4px;width:16px;height:16px;font-size:12px}.yc-switch-size-medium.yc-switch-checked .yc-switch-handle{left:calc(100% - 20px)}.yc-switch-size-medium.yc-switch-shape-line{min-width:36px;overflow:unset}.yc-switch-size-medium.yc-switch-shape-line .yc-switch-handle{left:0;width:20px;height:20px}.yc-switch-size-medium.yc-switch-shape-line.yc-switch-checked .yc-switch-handle{left:calc(100% - 20px)}.yc-switch-shape-line{background:transparent}.yc-switch-shape-line::after{content:'';position:absolute;left:0;right:0;top:50%;transform:translateY(-50%);height:6px;border-radius:3px}.yc-switch-shape-line .yc-switch-handle{box-shadow:0 1px 3px var(--color-neutral-6)}.yc-switch-shape-round{border-radius:var(--border-radius-small)}.yc-switch-shape-round .yc-switch-handle{border-radius:var(--border-radius-small)}
@@ -1 +1 @@
1
- "use strict";const e=require("./index.vue.js");;/* empty css */const s=Object.assign(e,{install:s=>{s.component("Yc"+e.name,e)}});module.exports=s;
1
+ "use strict";const e=;/* empty css */;/* empty css */const s=Object.assign(e,{install:s=>{s.component("Yc"+e.name,e)}});module.exports=s;
@@ -1 +1 @@
1
- "use strict";const e=require("./index.vue.js");,/* empty css */module.exports=e;
1
+ "use strict";const e=;/* empty css */,/* empty css */module.exports=e;
@@ -1 +1 @@
1
- "use strict";const e=require("vue"),t=require("../_shared/components/IconButton.vue.js");,/* empty css */require("../node_modules/tinycolor2/esm/tinycolor.js"),require("../_shared/utils/dom.js"),require("../_shared/utils/time.js"),require("../_shared/utils/locale.js"),/* empty css */;/* empty css */const s=e.defineComponent({__name:"TabButton",props:{className:{type:Boolean,default:!0},type:{},direction:{}},setup:s=>(s,o)=>(e.openBlock(),e.createBlock(e.unref(t),e.mergeProps({size:14,class:[`yc-tabs-nav-${s.type?`${s.type}-`:""}button`,{[`yc-tabs-nav-button-${s.direction}`]:s.direction}]},s.$attrs),{default:e.withCtx(()=>[s.$slots.default?e.renderSlot(s.$slots,"default",{key:0}):e.createCommentVNode("",!0)]),_:3},16,["class"]))});module.exports=s;
1
+ "use strict";const e=require("vue"),t=;/* empty css */,/* empty css */require("../node_modules/tinycolor2/esm/tinycolor.js"),require("../_shared/utils/dom.js"),require("../_shared/utils/time.js"),require("../_shared/utils/locale.js"),/* empty css */;/* empty css */const s=e.defineComponent({__name:"TabButton",props:{className:{type:Boolean,default:!0},type:{},direction:{}},setup:s=>(s,o)=>(e.openBlock(),e.createBlock(e.unref(t),e.mergeProps({size:14,class:[`yc-tabs-nav-${s.type?`${s.type}-`:""}button`,{[`yc-tabs-nav-button-${s.direction}`]:s.direction}]},s.$attrs),{default:e.withCtx(()=>[s.$slots.default?e.renderSlot(s.$slots,"default",{key:0}):e.createCommentVNode("",!0)]),_:3},16,["class"]))});module.exports=s;
@@ -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 a=require("../_shared/utils/vue-utils.js");require("../_shared/utils/locale.js");const n=require("./hooks/useContext.js"),o=require("./hooks/useTabsScroll.js");;/* empty css */const l=require("../_shared/icons/IconArrowRight.vue.js"),r=require("../_shared/icons/IconPlus.vue.js"),i=require("./TabPane.vue.js");;/* empty css */const s=require("./TabsTab.vue.js");;/* empty css */const u=require("./TabsNavInk.vue.js");;/* empty css */const c=require("./TabButton.vue.js");;/* empty css */const d={class:"yc-tabs-nav"},f={key:3,class:"yc-tabs-nav-extra"},y=e.defineComponent({name:"Tabs",__name:"Tabs",props:{activeKey:{default:void 0},defaultActiveKey:{default:""},position:{default:void 0},size:{default:void 0},type:{default:"line"},direction:{default:"horizontal"},editable:{type:Boolean,default:!1},showAddButton:{type:Boolean,default:!1},destoryOnHide:{type:Boolean,default:!1},justify:{type:Boolean,default:!1},animation:{type:Boolean,default:!1},headerPadding:{type:Boolean,default:!0},autoSwitch:{type:Boolean,default:!1},hideContent:{type:Boolean,default:!1},trigger:{default:"click"}},emits:["update:activeKey","change","tab-click","add","delete"],setup(y,{emit:p}){const m=e.useSlots(),v=y,b=p,h=e.ref(),{computedActiveKey:k,size:B,direction:j,autoSwitch:z,position:C}=n().provide(v,b,h),q=e.computed(()=>{var e;return a.findComponentsFromVnodes((null==(e=m.default)?void 0:e.call(m))||[],i.name)}),x=e.computed(()=>q.value.map(e=>({title:"",path:"",disabled:!1,...e.props||{},slots:e.children}))),T=e.computed(()=>v.showAddButton&&["line","card","card-gutter"].includes(v.type)),N=e.computed(()=>{const e=x.value.findIndex(e=>e.path==k.value);return e<0?0:e}),{scrollDis:g,isScrollable:V,preDisabled:_,nextDisabled:$,navHeight:w,handleScroll:S}=o({listRef:h,panes:x,direction:j}),E=async()=>{b("add"),z.value&&(await e.nextTick(),k.value=x.value[x.value.length-1].path)};return(a,n)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["yc-tabs",`yc-tabs-${e.unref(j)}`,`yc-tabs-type-${a.type}`,`yc-tabs-size-${e.unref(B)}`,{"yc-tabs-animation":a.animation,"yc-tabs-justify":"horizontal"==e.unref(j)&&a.justify,"yc-tabs-no-padding":a.headerPadding&&["line","text"].includes(a.type)&&"horizontal"===v.direction,[`yc-tabs-${e.unref(C)}`]:e.unref(C)}])},[e.createElementVNode("div",d,[e.unref(V)?(e.openBlock(),e.createBlock(c,{key:0,disabled:e.unref(_),direction:"horizontal"==e.unref(j)?"left":"up",onClick:n[0]||(n[0]=t=>e.unref(S)("pre"))},{default:e.withCtx(()=>[e.createVNode(e.unref(l),{rotate:"horizontal"==e.unref(j)?180:-90,size:14},null,8,["rotate"])]),_:1},8,["disabled","direction"])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(["yc-tabs-nav-tab",{"yc-tabs-nav-tab-scroll":e.unref(V)}])},[e.createElementVNode("div",{class:"yc-tabs-nav-tab-list",style:e.normalizeStyle({transform:`translate${"horizontal"==e.unref(j)?"X":"Y"}(${e.unref(t.valueToPx)(e.unref(g))})`}),ref_key:"listRef",ref:h},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(x.value,(t,a)=>(e.openBlock(),e.createBlock(s,{key:a,index:a,node:t},null,8,["index","node"]))),128)),"line"==a.type?(e.openBlock(),e.createBlock(u,{key:0,"cur-index":N.value,panes:x.value},null,8,["cur-index","panes"])):e.createCommentVNode("",!0)],4)],2),e.unref(V)?(e.openBlock(),e.createBlock(c,{key:1,disabled:e.unref($),direction:"horizontal"==e.unref(j)?"right":"down",onClick:n[1]||(n[1]=t=>e.unref(S)("next"))},{default:e.withCtx(()=>[e.createVNode(e.unref(l),{rotate:"horizontal"==e.unref(j)?0:90,size:14},null,8,["rotate"])]),_:1},8,["disabled","direction"])):e.createCommentVNode("",!0),T.value?(e.openBlock(),e.createBlock(c,{key:2,type:"add",size:"12",onClick:E},{default:e.withCtx(()=>[e.createVNode(e.unref(r),{size:12})]),_:1})):e.createCommentVNode("",!0),a.$slots.extra?(e.openBlock(),e.createElementBlock("div",f,[e.renderSlot(a.$slots,"extra")])):e.createCommentVNode("",!0)]),a.hideContent?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:0,class:"yc-tabs-content",style:e.normalizeStyle({height:"vertical"==e.unref(j)?`${e.unref(t.valueToPx)(e.unref(w))}`:""})},[e.createElementVNode("div",{class:"yc-tabs-content-list",style:e.normalizeStyle({transform:`translate${"horizontal"==e.unref(j)?"X":"Y"}(${100*-N.value}%)`})},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(q.value,(t,a)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t),{key:a}))),128))],4)],4))],2))}});module.exports=y;
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 n=require("../_shared/utils/vue-utils.js");require("../_shared/utils/locale.js");const a=require("./hooks/useContext.js"),o=require("./hooks/useTabsScroll.js");,/* empty css */,/* empty css */;/* empty css */const r=require("../_shared/icons/IconArrowRight.vue.js"),l=require("../_shared/icons/IconPlus.vue.js"),i=require("./TabPane.vue.js");;/* empty css */const s=require("./TabsTab.vue.js");;/* empty css */const u=require("./TabsNavInk.vue.js");;/* empty css */const c=require("./TabButton.vue.js");;/* empty css */const d={class:"yc-tabs-nav"},f={key:3,class:"yc-tabs-nav-extra"},p=e.defineComponent({name:"Tabs",__name:"Tabs",props:{activeKey:{default:void 0},defaultActiveKey:{default:""},position:{default:void 0},size:{default:void 0},type:{default:"line"},direction:{default:"horizontal"},editable:{type:Boolean,default:!1},showAddButton:{type:Boolean,default:!1},destoryOnHide:{type:Boolean,default:!1},justify:{type:Boolean,default:!1},animation:{type:Boolean,default:!1},headerPadding:{type:Boolean,default:!0},autoSwitch:{type:Boolean,default:!1},hideContent:{type:Boolean,default:!1},trigger:{default:"click"}},emits:["update:activeKey","change","tab-click","add","delete"],setup(p,{emit:m}){const v=e.useSlots(),y=p,h=m,b=e.ref(),{computedActiveKey:k,size:B,direction:j,autoSwitch:x,position:q}=a().provide(y,h,b),z=e.computed(()=>{var e;return n.findComponentsFromVnodes((null==(e=v.default)?void 0:e.call(v))||[],i.name)}),C=e.computed(()=>z.value.map(e=>({title:"",path:"",disabled:!1,...e.props||{},slots:e.children}))),T=e.computed(()=>y.showAddButton&&["line","card","card-gutter"].includes(y.type)),_=e.computed(()=>{const e=C.value.findIndex(e=>e.path==k.value);return e<0?0:e}),{scrollDis:N,isScrollable:g,preDisabled:V,nextDisabled:$,navHeight:w,handleScroll:E}=o({listRef:b,panes:C,direction:j}),S=async()=>{h("add"),x.value&&(await e.nextTick(),k.value=C.value[C.value.length-1].path)};return(n,a)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["yc-tabs",`yc-tabs-${e.unref(j)}`,`yc-tabs-type-${n.type}`,`yc-tabs-size-${e.unref(B)}`,{"yc-tabs-animation":n.animation,"yc-tabs-justify":"horizontal"==e.unref(j)&&n.justify,"yc-tabs-no-padding":n.headerPadding&&["line","text"].includes(n.type)&&"horizontal"===y.direction,[`yc-tabs-${e.unref(q)}`]:e.unref(q)}])},[e.createElementVNode("div",d,[e.unref(g)?(e.openBlock(),e.createBlock(c,{key:0,disabled:e.unref(V),direction:"horizontal"==e.unref(j)?"left":"up",onClick:a[0]||(a[0]=t=>e.unref(E)("pre"))},{default:e.withCtx(()=>[e.createVNode(e.unref(r),{rotate:"horizontal"==e.unref(j)?180:-90,size:14},null,8,["rotate"])]),_:1},8,["disabled","direction"])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(["yc-tabs-nav-tab",{"yc-tabs-nav-tab-scroll":e.unref(g)}])},[e.createElementVNode("div",{class:"yc-tabs-nav-tab-list",style:e.normalizeStyle({transform:`translate${"horizontal"==e.unref(j)?"X":"Y"}(${e.unref(t.valueToPx)(e.unref(N))})`}),ref_key:"listRef",ref:b},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(C.value,(t,n)=>(e.openBlock(),e.createBlock(s,{key:n,index:n,node:t},null,8,["index","node"]))),128)),"line"==n.type?(e.openBlock(),e.createBlock(u,{key:0,"cur-index":_.value,panes:C.value},null,8,["cur-index","panes"])):e.createCommentVNode("",!0)],4)],2),e.unref(g)?(e.openBlock(),e.createBlock(c,{key:1,disabled:e.unref($),direction:"horizontal"==e.unref(j)?"right":"down",onClick:a[1]||(a[1]=t=>e.unref(E)("next"))},{default:e.withCtx(()=>[e.createVNode(e.unref(r),{rotate:"horizontal"==e.unref(j)?0:90,size:14},null,8,["rotate"])]),_:1},8,["disabled","direction"])):e.createCommentVNode("",!0),T.value?(e.openBlock(),e.createBlock(c,{key:2,type:"add",size:"12",onClick:S},{default:e.withCtx(()=>[e.createVNode(e.unref(l),{size:12})]),_:1})):e.createCommentVNode("",!0),n.$slots.extra?(e.openBlock(),e.createElementBlock("div",f,[e.renderSlot(n.$slots,"extra")])):e.createCommentVNode("",!0)]),n.hideContent?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:0,class:"yc-tabs-content",style:e.normalizeStyle({height:"vertical"==e.unref(j)?`${e.unref(t.valueToPx)(e.unref(w))}`:""})},[e.createElementVNode("div",{class:"yc-tabs-content-list",style:e.normalizeStyle({transform:`translate${"horizontal"==e.unref(j)?"X":"Y"}(${100*-_.value}%)`})},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(z.value,(t,n)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t),{key:n}))),128))],4)],4))],2))}});module.exports=p;
@@ -1 +1 @@
1
- .yc-tabs{position:relative;overflow:hidden;width:100%;display:flex}.yc-tabs .yc-tabs-nav{position:relative;overflow:hidden;display:flex;align-items:center}.yc-tabs .yc-tabs-nav .yc-tabs-nav-tab.yc-tabs-nav-tab-scroll{flex:1;overflow:hidden}.yc-tabs .yc-tabs-nav .yc-tabs-nav-tab .yc-tabs-nav-tab-list{position:relative;transition:transform .2s cubic-bezier(.34, .69, .1, 1);display:flex;align-items:center}.yc-tabs .yc-tabs-nav .yc-tabs-nav-tab .yc-tabs-nav-tab-list::-webkit-scrollbar{display:none}.yc-tabs .yc-tabs-nav .yc-tabs-nav-tab .yc-tabs-nav-tab-list .yc-tabs-nav-ink{position:absolute;background-color:rgb(var(--primary-6));border-radius:2px}.yc-tabs .yc-tabs-nav .yc-tabs-nav-extra{height:100%;display:flex;align-items:center}.yc-tabs .yc-tabs-content{overflow:hidden}.yc-tabs .yc-tabs-content .yc-tabs-content-list{display:flex}.yc-tabs .yc-tabs-content .yc-tabs-content-list .yc-tabs-content-item{flex-shrink:0}.yc-tabs-justify{height:100%}.yc-tabs-animation .yc-tabs-content-list{transition:all .2s cubic-bezier(.34, .69, .1, 1)}.yc-tabs-horizontal{flex-direction:column}.yc-tabs-horizontal .yc-tabs-nav{width:100%}.yc-tabs-horizontal .yc-tabs-nav .yc-tabs-nav-tab .yc-tabs-nav-tab-list .yc-tabs-nav-ink{bottom:0;height:2px;transition:left .2s cubic-bezier(.34, .69, .1, 1),width .2s cubic-bezier(.34, .69, .1, 1)}.yc-tabs-horizontal .yc-tabs-content{width:100%;padding-top:16px}.yc-tabs-horizontal .yc-tabs-content .yc-tabs-content-list{width:100%}.yc-tabs-horizontal .yc-tabs-content .yc-tabs-content-list .yc-tabs-content-item{width:100%}.yc-tabs-vertical:not(.yc-tabs-type-card):not(.yc-tabs-type-card-gutter) .yc-tabs-nav .yc-tabs-nav-tab .yc-tabs-nav-tab-list{gap:12px}.yc-tabs-vertical .yc-tabs-nav{height:100%;flex-direction:column}.yc-tabs-vertical .yc-tabs-nav .yc-tabs-nav-tab{height:100%}.yc-tabs-vertical .yc-tabs-nav .yc-tabs-nav-tab .yc-tabs-nav-tab-list{flex-direction:column}.yc-tabs-vertical .yc-tabs-nav .yc-tabs-nav-tab .yc-tabs-nav-tab-list .yc-tabs-tab{width:100%}.yc-tabs-vertical .yc-tabs-nav .yc-tabs-nav-tab .yc-tabs-nav-tab-list .yc-tabs-tab .yc-tabs-tab-title{width:100%}.yc-tabs-vertical .yc-tabs-nav .yc-tabs-nav-tab .yc-tabs-nav-tab-list .yc-tabs-nav-ink{right:0;width:2px;transition:top .2s cubic-bezier(.34, .69, .1, 1),height .2s cubic-bezier(.34, .69, .1, 1)}.yc-tabs-vertical .yc-tabs-content{flex:1;height:100%;padding-left:16px}.yc-tabs-vertical .yc-tabs-content .yc-tabs-content-list{height:100%;flex-direction:column}.yc-tabs-vertical .yc-tabs-content .yc-tabs-content-list .yc-tabs-content-item{height:100%}.yc-tabs-right{flex-direction:row-reverse}.yc-tabs-right .yc-tabs-nav::before{left:0;right:unset}.yc-tabs-right .yc-tabs-nav .yc-tabs-nav-tab .yc-tabs-nav-tab-list .yc-tabs-nav-ink{left:0;right:unset}.yc-tabs-right .yc-tabs-content{padding-left:0;padding-right:16px}.yc-tabs-bottom{flex-direction:column-reverse}.yc-tabs-bottom .yc-tabs-nav::before{top:0}.yc-tabs-bottom .yc-tabs-nav .yc-tabs-nav-tab .yc-tabs-nav-tab-list .yc-tabs-nav-ink{top:0;bottom:unset}.yc-tabs-bottom .yc-tabs-content{padding-right:0;padding-bottom:16px}.yc-tabs-type-card.yc-tabs-horizontal .yc-tabs-nav::before,.yc-tabs-type-card-gutter.yc-tabs-horizontal .yc-tabs-nav::before,.yc-tabs-type-line.yc-tabs-horizontal .yc-tabs-nav::before{content:'';position:absolute;right:0;bottom:0;left:0;display:block;height:1px;background-color:var(--color-neutral-3)}.yc-tabs-type-card.yc-tabs-vertical .yc-tabs-nav::before,.yc-tabs-type-card-gutter.yc-tabs-vertical .yc-tabs-nav::before,.yc-tabs-type-line.yc-tabs-vertical .yc-tabs-nav::before{content:'';position:absolute;top:0;bottom:0;right:0;width:1px;background-color:var(--color-neutral-3)}.yc-tabs-type-card:not(.yc-tabs-type-line).yc-tabs-horizontal .yc-tabs-content,.yc-tabs-type-card-gutter:not(.yc-tabs-type-line).yc-tabs-horizontal .yc-tabs-content,.yc-tabs-type-line:not(.yc-tabs-type-line).yc-tabs-horizontal .yc-tabs-content{border:1px solid var(--color-neutral-3);border-top:none}.yc-tabs-type-card:not(.yc-tabs-type-line).yc-tabs-horizontal.yc-tabs-bottom .yc-tabs-content,.yc-tabs-type-card-gutter:not(.yc-tabs-type-line).yc-tabs-horizontal.yc-tabs-bottom .yc-tabs-content,.yc-tabs-type-line:not(.yc-tabs-type-line).yc-tabs-horizontal.yc-tabs-bottom .yc-tabs-content{border-top:1px solid var(--color-neutral-3);border-bottom:none}.yc-tabs-type-card:not(.yc-tabs-type-line).yc-tabs-vertical.yc-tabs-right,.yc-tabs-type-card-gutter:not(.yc-tabs-type-line).yc-tabs-vertical.yc-tabs-right,.yc-tabs-type-line:not(.yc-tabs-type-line).yc-tabs-vertical.yc-tabs-right{border-right:none}.yc-tabs-type-card:not(.yc-tabs-type-line).yc-tabs-vertical .yc-tabs-content,.yc-tabs-type-card-gutter:not(.yc-tabs-type-line).yc-tabs-vertical .yc-tabs-content,.yc-tabs-type-line:not(.yc-tabs-type-line).yc-tabs-vertical .yc-tabs-content{border:1px solid var(--color-neutral-3);border-left:none}.yc-tabs-type-card:not(.yc-tabs-type-line).yc-tabs-vertical .yc-tabs-content.yc-tabs-right,.yc-tabs-type-card-gutter:not(.yc-tabs-type-line).yc-tabs-vertical .yc-tabs-content.yc-tabs-right,.yc-tabs-type-line:not(.yc-tabs-type-line).yc-tabs-vertical .yc-tabs-content.yc-tabs-right{border-right:none}.yc-tabs-type-card-gutter .yc-tabs-nav .yc-tabs-nav-tab .yc-tabs-nav-tab-list{gap:4px}.yc-tabs-type-capsule .yc-tabs-nav{justify-content:flex-end}.yc-tabs-type-capsule .yc-tabs-nav .yc-tabs-nav-tab .yc-tabs-nav-tab-list{flex:unset;padding:3px;background-color:var(--color-fill-2);border-radius:2px;line-height:1;gap:3px}.yc-tabs-tab{flex-shrink:0;position:relative;cursor:pointer;outline:none;background-color:transparent;color:var(--color-text-2);line-height:1.5715;display:flex;align-items:center;gap:8px}.yc-tabs-tab .yc-tabs-tab-title{position:relative;padding:1px 0}.yc-tabs-tab.yc-tabs-tab-active{color:rgb(var(--primary-6));font-weight:500}.yc-tabs-tab-type-line,.yc-tabs-tab-type-text{margin:0 16px;transition:color .2s cubic-bezier(0, 0, 1, 1)}.yc-tabs-tab-type-line .yc-tabs-tab-title::after,.yc-tabs-tab-type-text .yc-tabs-tab-title::after{content:'';z-index:-1;position:absolute;top:0;right:-8px;bottom:0;left:-8px;background-color:transparent;border-radius:2px;opacity:1;transition:background-color .2s cubic-bezier(0, 0, 1, 1),opacity .2s cubic-bezier(0, 0, 1, 1)}.yc-tabs-tab-type-line:not(.yc-tabs-tab-active):not(.yc-tabs-tab-disabled):hover .yc-tabs-tab-title::after,.yc-tabs-tab-type-text:not(.yc-tabs-tab-active):not(.yc-tabs-tab-disabled):hover .yc-tabs-tab-title::after{background-color:var(--color-fill-2)}.yc-tabs-tab-type-line.yc-tabs-tab-type-text,.yc-tabs-tab-type-text.yc-tabs-tab-type-text{margin:0 9px;padding:5px 0}.yc-tabs-tab-type-line.yc-tabs-tab-type-text:not(:first-child)::before,.yc-tabs-tab-type-text.yc-tabs-tab-type-text:not(:first-child)::before{content:'';position:absolute;top:50%;left:-9px;width:2px;height:12px;background-color:var(--color-fill-3);transform:translateY(-50%)}.yc-tabs-tab-type-line.yc-tabs-tab-type-text .yc-tabs-tab-title,.yc-tabs-tab-type-text.yc-tabs-tab-type-text .yc-tabs-tab-title{position:relative;padding-left:9px;padding-right:9px}.yc-tabs-tab-type-line.yc-tabs-tab-type-text .yc-tabs-tab-title::after,.yc-tabs-tab-type-text.yc-tabs-tab-type-text .yc-tabs-tab-title::after{left:0;top:0;right:0;bottom:0}.yc-tabs-tab-type-line.yc-tabs-tab-type-line.yc-tabs-tab-vertical,.yc-tabs-tab-type-text.yc-tabs-tab-type-line.yc-tabs-tab-vertical{margin:0;padding:0 20px}.yc-tabs-tab-type-line.yc-tabs-tab-no-padding,.yc-tabs-tab-type-text.yc-tabs-tab-no-padding{margin-left:0}.yc-tabs-tab-type-line.yc-tabs-tab-no-padding.yc-tabs-tab-type-text,.yc-tabs-tab-type-text.yc-tabs-tab-no-padding.yc-tabs-tab-type-text{margin-left:0}.yc-tabs-tab-type-card,.yc-tabs-tab-type-card-gutter{padding:0 16px;border:1px solid var(--color-neutral-3);transition:padding .2s cubic-bezier(0, 0, 1, 1),color .2s cubic-bezier(0, 0, 1, 1)}.yc-tabs-tab-type-card.yc-tabs-tab:not(.yc-tabs-tab-disabled):not(.yc-tabs-tab-active):hover,.yc-tabs-tab-type-card-gutter.yc-tabs-tab:not(.yc-tabs-tab-disabled):not(.yc-tabs-tab-active):hover{background-color:var(--color-fill-3)}.yc-tabs-tab-type-card.yc-tabs-tab-type-card-gutter,.yc-tabs-tab-type-card-gutter.yc-tabs-tab-type-card-gutter{background-color:var(--color-fill-1);border-radius:2px 2px 0 0}.yc-tabs-tab-type-card.yc-tabs-tab-horizontal.yc-tabs-tab-type-card:not(:first-child),.yc-tabs-tab-type-card-gutter.yc-tabs-tab-horizontal.yc-tabs-tab-type-card:not(:first-child){border-left:none}.yc-tabs-tab-type-card.yc-tabs-tab-horizontal.yc-tabs-tab-type-card:first-child,.yc-tabs-tab-type-card-gutter.yc-tabs-tab-horizontal.yc-tabs-tab-type-card:first-child{border-top-left-radius:2px}.yc-tabs-tab-type-card.yc-tabs-tab-horizontal.yc-tabs-tab-type-card:last-child,.yc-tabs-tab-type-card-gutter.yc-tabs-tab-horizontal.yc-tabs-tab-type-card:last-child{border-top-right-radius:2px}.yc-tabs-tab-type-card.yc-tabs-tab-horizontal.yc-tabs-tab-active,.yc-tabs-tab-type-card-gutter.yc-tabs-tab-horizontal.yc-tabs-tab-active{background-color:transparent;border-bottom-color:var(--color-bg-2)}.yc-tabs-tab-type-card.yc-tabs-tab-horizontal.yc-tabs-tab-active.yc-tabs-tab-bottom,.yc-tabs-tab-type-card-gutter.yc-tabs-tab-horizontal.yc-tabs-tab-active.yc-tabs-tab-bottom{border-top-color:var(--color-bg-2);border-bottom-color:var(--color-neutral-3)}.yc-tabs-tab-type-card.yc-tabs-tab-vertical,.yc-tabs-tab-type-card-gutter.yc-tabs-tab-vertical{border-bottom:none}.yc-tabs-tab-type-card.yc-tabs-tab-vertical:not(:last-child),.yc-tabs-tab-type-card-gutter.yc-tabs-tab-vertical:not(:last-child){border-bottom:1px solid var(--color-neutral-3)}.yc-tabs-tab-type-card.yc-tabs-tab-vertical.yc-tabs-tab-type-card:not(:first-child),.yc-tabs-tab-type-card-gutter.yc-tabs-tab-vertical.yc-tabs-tab-type-card:not(:first-child){border-top:none}.yc-tabs-tab-type-card.yc-tabs-tab-vertical.yc-tabs-tab-active,.yc-tabs-tab-type-card-gutter.yc-tabs-tab-vertical.yc-tabs-tab-active{background-color:transparent;border-right-color:var(--color-bg-2)}.yc-tabs-tab-type-card.yc-tabs-tab-vertical.yc-tabs-tab-active.yc-tabs-tab-right,.yc-tabs-tab-type-card-gutter.yc-tabs-tab-vertical.yc-tabs-tab-active.yc-tabs-tab-right{border-right-color:var(--color-neutral-3);border-left-color:var(--color-bg-2)}.yc-tabs-tab-type-rounded{margin:0 6px;padding:0 16px;border-radius:32px}.yc-tabs-tab-type-rounded:not(.yc-tabs-tab-disabled):hover{background-color:var(--color-fill-2)}.yc-tabs-tab-type-rounded.yc-tabs-tab-active{background-color:var(--color-fill-2)}.yc-tabs-tab-type-capsule{padding:0 10px}.yc-tabs-tab-type-capsule:not(.yc-tabs-tab-disabled):hover{background-color:var(--color-bg-2)}.yc-tabs-tab-type-capsule.yc-tabs-tab-active{background-color:var(--color-bg-2)}.yc-tabs-tab-size-mini.yc-tabs-tab-type-line{font-size:12px;padding-top:6px;padding-bottom:6px}.yc-tabs-tab-size-mini.yc-tabs-tab-type-card{font-size:12px;padding-top:1px;padding-bottom:1px}.yc-tabs-tab-size-mini.yc-tabs-tab-type-card-gutter{font-size:12px;padding-top:1px;padding-bottom:1px}.yc-tabs-tab-size-mini.yc-tabs-tab-type-capsule{font-size:12px;line-height:18px}.yc-tabs-tab-size-mini.yc-tabs-tab-type-rounded{font-size:12px;padding-top:3px;padding-bottom:3px}.yc-tabs-tab-size-small.yc-tabs-tab-type-line{font-size:14px;padding-top:6px;padding-bottom:6px}.yc-tabs-tab-size-small.yc-tabs-tab-type-card{font-size:14px;padding-top:1px;padding-bottom:1px}.yc-tabs-tab-size-small.yc-tabs-tab-type-card-gutter{font-size:14px;padding-top:1px;padding-bottom:1px}.yc-tabs-tab-size-small.yc-tabs-tab-type-capsule{font-size:14px;line-height:22px}.yc-tabs-tab-size-small.yc-tabs-tab-type-rounded{font-size:14px;padding-top:3px;padding-bottom:3px}.yc-tabs-tab-size-medium.yc-tabs-tab-type-line{font-size:14px;padding-top:8px;padding-bottom:8px}.yc-tabs-tab-size-medium.yc-tabs-tab-type-card{font-size:14px;padding-top:4px;padding-bottom:4px}.yc-tabs-tab-size-medium.yc-tabs-tab-type-card-gutter{font-size:14px;padding-top:4px;padding-bottom:4px}.yc-tabs-tab-size-medium.yc-tabs-tab-type-capsule{font-size:14px;line-height:26px}.yc-tabs-tab-size-medium.yc-tabs-tab-type-rounded{font-size:14px;padding-top:5px;padding-bottom:5px}.yc-tabs-tab-size-large.yc-tabs-tab-type-line{font-size:14px;padding-top:10px;padding-bottom:10px}.yc-tabs-tab-size-large.yc-tabs-tab-type-card{font-size:14px;padding-top:5px;padding-bottom:5px}.yc-tabs-tab-size-large.yc-tabs-tab-type-card-gutter{font-size:14px;padding-top:5px;padding-bottom:5px}.yc-tabs-tab-size-large.yc-tabs-tab-type-capsule{font-size:14px;line-height:30px}.yc-tabs-tab-size-large.yc-tabs-tab-type-rounded{font-size:14px;padding-top:7px;padding-bottom:7px}.yc-tabs-tab-disabled{cursor:not-allowed;background-color:transparent;color:var(--color-text-4)}.yc-tabs-tab-disabled.yc-tabs-tab-active{color:var(--color-primary-light-3)}.yc-icon-button{color:inherit}.yc-icon-button.yc-tabs-nav-button-left{margin:0 6px 0 10px}.yc-icon-button.yc-tabs-nav-button-right{margin:0 10px 0 6px}.yc-icon-button.yc-tabs-nav-button-up{margin-bottom:10px}.yc-icon-button.yc-tabs-nav-button-down{margin-top:10px}.yc-icon-button.yc-tabs-tab-close-button{user-select:none;color:inherit}.yc-icon-button.yc-tabs-nav-add-button{padding:0 8px}
1
+ .yc-tabs{position:relative;overflow:hidden;width:100%;display:flex}.yc-tabs .yc-tabs-nav{position:relative;overflow:hidden;display:flex;align-items:center}.yc-tabs .yc-tabs-nav .yc-tabs-nav-tab.yc-tabs-nav-tab-scroll{flex:1;overflow:hidden}.yc-tabs .yc-tabs-nav .yc-tabs-nav-tab .yc-tabs-nav-tab-list{position:relative;transition:transform .2s cubic-bezier(.34, .69, .1, 1);display:flex;align-items:center}.yc-tabs .yc-tabs-nav .yc-tabs-nav-tab .yc-tabs-nav-tab-list::-webkit-scrollbar{display:none}.yc-tabs .yc-tabs-nav .yc-tabs-nav-tab .yc-tabs-nav-tab-list .yc-tabs-nav-ink{position:absolute;background-color:rgb(var(--primary-6));border-radius:var(--border-radius-small)}.yc-tabs .yc-tabs-nav .yc-tabs-nav-extra{height:100%;display:flex;align-items:center}.yc-tabs .yc-tabs-content{overflow:hidden}.yc-tabs .yc-tabs-content .yc-tabs-content-list{display:flex}.yc-tabs .yc-tabs-content .yc-tabs-content-list .yc-tabs-content-item{flex-shrink:0}.yc-tabs-justify{height:100%}.yc-tabs-animation .yc-tabs-content-list{transition:all .2s cubic-bezier(.34, .69, .1, 1)}.yc-tabs-horizontal{flex-direction:column}.yc-tabs-horizontal .yc-tabs-nav{width:100%}.yc-tabs-horizontal .yc-tabs-nav .yc-tabs-nav-tab .yc-tabs-nav-tab-list .yc-tabs-nav-ink{bottom:0;height:2px;transition:left .2s cubic-bezier(.34, .69, .1, 1),width .2s cubic-bezier(.34, .69, .1, 1)}.yc-tabs-horizontal .yc-tabs-content{width:100%;padding-top:16px}.yc-tabs-horizontal .yc-tabs-content .yc-tabs-content-list{width:100%}.yc-tabs-horizontal .yc-tabs-content .yc-tabs-content-list .yc-tabs-content-item{width:100%}.yc-tabs-vertical:not(.yc-tabs-type-card):not(.yc-tabs-type-card-gutter) .yc-tabs-nav .yc-tabs-nav-tab .yc-tabs-nav-tab-list{gap:12px}.yc-tabs-vertical .yc-tabs-nav{height:100%;flex-direction:column}.yc-tabs-vertical .yc-tabs-nav .yc-tabs-nav-tab{height:100%}.yc-tabs-vertical .yc-tabs-nav .yc-tabs-nav-tab .yc-tabs-nav-tab-list{flex-direction:column}.yc-tabs-vertical .yc-tabs-nav .yc-tabs-nav-tab .yc-tabs-nav-tab-list .yc-tabs-tab{width:100%}.yc-tabs-vertical .yc-tabs-nav .yc-tabs-nav-tab .yc-tabs-nav-tab-list .yc-tabs-tab .yc-tabs-tab-title{width:100%}.yc-tabs-vertical .yc-tabs-nav .yc-tabs-nav-tab .yc-tabs-nav-tab-list .yc-tabs-nav-ink{right:0;width:2px;transition:top .2s cubic-bezier(.34, .69, .1, 1),height .2s cubic-bezier(.34, .69, .1, 1)}.yc-tabs-vertical .yc-tabs-content{flex:1;height:100%;padding-left:16px}.yc-tabs-vertical .yc-tabs-content .yc-tabs-content-list{height:100%;flex-direction:column}.yc-tabs-vertical .yc-tabs-content .yc-tabs-content-list .yc-tabs-content-item{height:100%}.yc-tabs-right{flex-direction:row-reverse}.yc-tabs-right .yc-tabs-nav::before{left:0;right:unset}.yc-tabs-right .yc-tabs-nav .yc-tabs-nav-tab .yc-tabs-nav-tab-list .yc-tabs-nav-ink{left:0;right:unset}.yc-tabs-right .yc-tabs-content{padding-left:0;padding-right:16px}.yc-tabs-bottom{flex-direction:column-reverse}.yc-tabs-bottom .yc-tabs-nav::before{top:0}.yc-tabs-bottom .yc-tabs-nav .yc-tabs-nav-tab .yc-tabs-nav-tab-list .yc-tabs-nav-ink{top:0;bottom:unset}.yc-tabs-bottom .yc-tabs-content{padding-right:0;padding-bottom:16px}.yc-tabs-type-card.yc-tabs-horizontal .yc-tabs-nav::before,.yc-tabs-type-card-gutter.yc-tabs-horizontal .yc-tabs-nav::before,.yc-tabs-type-line.yc-tabs-horizontal .yc-tabs-nav::before{content:'';position:absolute;right:0;bottom:0;left:0;display:block;height:1px;background-color:var(--color-neutral-3)}.yc-tabs-type-card.yc-tabs-vertical .yc-tabs-nav::before,.yc-tabs-type-card-gutter.yc-tabs-vertical .yc-tabs-nav::before,.yc-tabs-type-line.yc-tabs-vertical .yc-tabs-nav::before{content:'';position:absolute;top:0;bottom:0;right:0;width:1px;background-color:var(--color-neutral-3)}.yc-tabs-type-card:not(.yc-tabs-type-line).yc-tabs-horizontal .yc-tabs-content,.yc-tabs-type-card-gutter:not(.yc-tabs-type-line).yc-tabs-horizontal .yc-tabs-content,.yc-tabs-type-line:not(.yc-tabs-type-line).yc-tabs-horizontal .yc-tabs-content{border:1px solid var(--color-neutral-3);border-top:none}.yc-tabs-type-card:not(.yc-tabs-type-line).yc-tabs-horizontal.yc-tabs-bottom .yc-tabs-content,.yc-tabs-type-card-gutter:not(.yc-tabs-type-line).yc-tabs-horizontal.yc-tabs-bottom .yc-tabs-content,.yc-tabs-type-line:not(.yc-tabs-type-line).yc-tabs-horizontal.yc-tabs-bottom .yc-tabs-content{border-top:1px solid var(--color-neutral-3);border-bottom:none}.yc-tabs-type-card:not(.yc-tabs-type-line).yc-tabs-vertical.yc-tabs-right,.yc-tabs-type-card-gutter:not(.yc-tabs-type-line).yc-tabs-vertical.yc-tabs-right,.yc-tabs-type-line:not(.yc-tabs-type-line).yc-tabs-vertical.yc-tabs-right{border-right:none}.yc-tabs-type-card:not(.yc-tabs-type-line).yc-tabs-vertical .yc-tabs-content,.yc-tabs-type-card-gutter:not(.yc-tabs-type-line).yc-tabs-vertical .yc-tabs-content,.yc-tabs-type-line:not(.yc-tabs-type-line).yc-tabs-vertical .yc-tabs-content{border:1px solid var(--color-neutral-3);border-left:none}.yc-tabs-type-card:not(.yc-tabs-type-line).yc-tabs-vertical .yc-tabs-content.yc-tabs-right,.yc-tabs-type-card-gutter:not(.yc-tabs-type-line).yc-tabs-vertical .yc-tabs-content.yc-tabs-right,.yc-tabs-type-line:not(.yc-tabs-type-line).yc-tabs-vertical .yc-tabs-content.yc-tabs-right{border-right:none}.yc-tabs-type-card-gutter .yc-tabs-nav .yc-tabs-nav-tab .yc-tabs-nav-tab-list{gap:4px}.yc-tabs-type-capsule .yc-tabs-nav{justify-content:flex-end}.yc-tabs-type-capsule .yc-tabs-nav .yc-tabs-nav-tab .yc-tabs-nav-tab-list{flex:unset;padding:3px;background-color:var(--color-fill-2);border-radius:var(--border-radius-small);line-height:1;gap:3px}.yc-tabs-tab{flex-shrink:0;position:relative;cursor:pointer;outline:none;background-color:transparent;color:var(--color-text-2);line-height:1.5715;display:flex;align-items:center;gap:8px}.yc-tabs-tab .yc-tabs-tab-title{position:relative;padding:1px 0}.yc-tabs-tab.yc-tabs-tab-active{color:rgb(var(--primary-6));font-weight:500}.yc-tabs-tab-type-line,.yc-tabs-tab-type-text{margin:0 16px;transition:color .2s cubic-bezier(0, 0, 1, 1)}.yc-tabs-tab-type-line .yc-tabs-tab-title::after,.yc-tabs-tab-type-text .yc-tabs-tab-title::after{content:'';z-index:-1;position:absolute;top:0;right:-8px;bottom:0;left:-8px;background-color:transparent;border-radius:var(--border-radius-small);opacity:1;transition:background-color .2s cubic-bezier(0, 0, 1, 1),opacity .2s cubic-bezier(0, 0, 1, 1)}.yc-tabs-tab-type-line:not(.yc-tabs-tab-active):not(.yc-tabs-tab-disabled):hover .yc-tabs-tab-title::after,.yc-tabs-tab-type-text:not(.yc-tabs-tab-active):not(.yc-tabs-tab-disabled):hover .yc-tabs-tab-title::after{background-color:var(--color-fill-2)}.yc-tabs-tab-type-line.yc-tabs-tab-type-text,.yc-tabs-tab-type-text.yc-tabs-tab-type-text{margin:0 9px;padding:5px 0}.yc-tabs-tab-type-line.yc-tabs-tab-type-text:not(:first-child)::before,.yc-tabs-tab-type-text.yc-tabs-tab-type-text:not(:first-child)::before{content:'';position:absolute;top:50%;left:-9px;width:2px;height:12px;background-color:var(--color-fill-3);transform:translateY(-50%)}.yc-tabs-tab-type-line.yc-tabs-tab-type-text .yc-tabs-tab-title,.yc-tabs-tab-type-text.yc-tabs-tab-type-text .yc-tabs-tab-title{position:relative;padding-left:9px;padding-right:9px}.yc-tabs-tab-type-line.yc-tabs-tab-type-text .yc-tabs-tab-title::after,.yc-tabs-tab-type-text.yc-tabs-tab-type-text .yc-tabs-tab-title::after{left:0;top:0;right:0;bottom:0}.yc-tabs-tab-type-line.yc-tabs-tab-type-line.yc-tabs-tab-vertical,.yc-tabs-tab-type-text.yc-tabs-tab-type-line.yc-tabs-tab-vertical{margin:0;padding:0 20px}.yc-tabs-tab-type-line.yc-tabs-tab-no-padding,.yc-tabs-tab-type-text.yc-tabs-tab-no-padding{margin-left:0}.yc-tabs-tab-type-line.yc-tabs-tab-no-padding.yc-tabs-tab-type-text,.yc-tabs-tab-type-text.yc-tabs-tab-no-padding.yc-tabs-tab-type-text{margin-left:0}.yc-tabs-tab-type-card,.yc-tabs-tab-type-card-gutter{padding:0 16px;border:1px solid var(--color-neutral-3);transition:padding .2s cubic-bezier(0, 0, 1, 1),color .2s cubic-bezier(0, 0, 1, 1)}.yc-tabs-tab-type-card.yc-tabs-tab:not(.yc-tabs-tab-disabled):not(.yc-tabs-tab-active):hover,.yc-tabs-tab-type-card-gutter.yc-tabs-tab:not(.yc-tabs-tab-disabled):not(.yc-tabs-tab-active):hover{background-color:var(--color-fill-3)}.yc-tabs-tab-type-card.yc-tabs-tab-type-card-gutter,.yc-tabs-tab-type-card-gutter.yc-tabs-tab-type-card-gutter{background-color:var(--color-fill-1);border-radius:var(--border-radius-small) var(--border-radius-small) 0 0}.yc-tabs-tab-type-card.yc-tabs-tab-horizontal.yc-tabs-tab-type-card:not(:first-child),.yc-tabs-tab-type-card-gutter.yc-tabs-tab-horizontal.yc-tabs-tab-type-card:not(:first-child){border-left:none}.yc-tabs-tab-type-card.yc-tabs-tab-horizontal.yc-tabs-tab-type-card:first-child,.yc-tabs-tab-type-card-gutter.yc-tabs-tab-horizontal.yc-tabs-tab-type-card:first-child{border-top-left-radius:2px}.yc-tabs-tab-type-card.yc-tabs-tab-horizontal.yc-tabs-tab-type-card:last-child,.yc-tabs-tab-type-card-gutter.yc-tabs-tab-horizontal.yc-tabs-tab-type-card:last-child{border-top-right-radius:2px}.yc-tabs-tab-type-card.yc-tabs-tab-horizontal.yc-tabs-tab-active,.yc-tabs-tab-type-card-gutter.yc-tabs-tab-horizontal.yc-tabs-tab-active{background-color:transparent;border-bottom-color:var(--color-bg-2)}.yc-tabs-tab-type-card.yc-tabs-tab-horizontal.yc-tabs-tab-active.yc-tabs-tab-bottom,.yc-tabs-tab-type-card-gutter.yc-tabs-tab-horizontal.yc-tabs-tab-active.yc-tabs-tab-bottom{border-top-color:var(--color-bg-2);border-bottom-color:var(--color-neutral-3)}.yc-tabs-tab-type-card.yc-tabs-tab-vertical,.yc-tabs-tab-type-card-gutter.yc-tabs-tab-vertical{border-bottom:none}.yc-tabs-tab-type-card.yc-tabs-tab-vertical:not(:last-child),.yc-tabs-tab-type-card-gutter.yc-tabs-tab-vertical:not(:last-child){border-bottom:1px solid var(--color-neutral-3)}.yc-tabs-tab-type-card.yc-tabs-tab-vertical.yc-tabs-tab-type-card:not(:first-child),.yc-tabs-tab-type-card-gutter.yc-tabs-tab-vertical.yc-tabs-tab-type-card:not(:first-child){border-top:none}.yc-tabs-tab-type-card.yc-tabs-tab-vertical.yc-tabs-tab-active,.yc-tabs-tab-type-card-gutter.yc-tabs-tab-vertical.yc-tabs-tab-active{background-color:transparent;border-right-color:var(--color-bg-2)}.yc-tabs-tab-type-card.yc-tabs-tab-vertical.yc-tabs-tab-active.yc-tabs-tab-right,.yc-tabs-tab-type-card-gutter.yc-tabs-tab-vertical.yc-tabs-tab-active.yc-tabs-tab-right{border-right-color:var(--color-neutral-3);border-left-color:var(--color-bg-2)}.yc-tabs-tab-type-rounded{margin:0 6px;padding:0 16px;border-radius:32px}.yc-tabs-tab-type-rounded:not(.yc-tabs-tab-disabled):hover{background-color:var(--color-fill-2)}.yc-tabs-tab-type-rounded.yc-tabs-tab-active{background-color:var(--color-fill-2)}.yc-tabs-tab-type-capsule{padding:0 10px}.yc-tabs-tab-type-capsule:not(.yc-tabs-tab-disabled):hover{background-color:var(--color-bg-2)}.yc-tabs-tab-type-capsule.yc-tabs-tab-active{background-color:var(--color-bg-2)}.yc-tabs-tab-size-mini.yc-tabs-tab-type-line{font-size:12px;padding-top:6px;padding-bottom:6px}.yc-tabs-tab-size-mini.yc-tabs-tab-type-card{font-size:12px;padding-top:1px;padding-bottom:1px}.yc-tabs-tab-size-mini.yc-tabs-tab-type-card-gutter{font-size:12px;padding-top:1px;padding-bottom:1px}.yc-tabs-tab-size-mini.yc-tabs-tab-type-capsule{font-size:12px;line-height:18px}.yc-tabs-tab-size-mini.yc-tabs-tab-type-rounded{font-size:12px;padding-top:3px;padding-bottom:3px}.yc-tabs-tab-size-small.yc-tabs-tab-type-line{font-size:14px;padding-top:6px;padding-bottom:6px}.yc-tabs-tab-size-small.yc-tabs-tab-type-card{font-size:14px;padding-top:1px;padding-bottom:1px}.yc-tabs-tab-size-small.yc-tabs-tab-type-card-gutter{font-size:14px;padding-top:1px;padding-bottom:1px}.yc-tabs-tab-size-small.yc-tabs-tab-type-capsule{font-size:14px;line-height:22px}.yc-tabs-tab-size-small.yc-tabs-tab-type-rounded{font-size:14px;padding-top:3px;padding-bottom:3px}.yc-tabs-tab-size-medium.yc-tabs-tab-type-line{font-size:14px;padding-top:8px;padding-bottom:8px}.yc-tabs-tab-size-medium.yc-tabs-tab-type-card{font-size:14px;padding-top:4px;padding-bottom:4px}.yc-tabs-tab-size-medium.yc-tabs-tab-type-card-gutter{font-size:14px;padding-top:4px;padding-bottom:4px}.yc-tabs-tab-size-medium.yc-tabs-tab-type-capsule{font-size:14px;line-height:26px}.yc-tabs-tab-size-medium.yc-tabs-tab-type-rounded{font-size:14px;padding-top:5px;padding-bottom:5px}.yc-tabs-tab-size-large.yc-tabs-tab-type-line{font-size:14px;padding-top:10px;padding-bottom:10px}.yc-tabs-tab-size-large.yc-tabs-tab-type-card{font-size:14px;padding-top:5px;padding-bottom:5px}.yc-tabs-tab-size-large.yc-tabs-tab-type-card-gutter{font-size:14px;padding-top:5px;padding-bottom:5px}.yc-tabs-tab-size-large.yc-tabs-tab-type-capsule{font-size:14px;line-height:30px}.yc-tabs-tab-size-large.yc-tabs-tab-type-rounded{font-size:14px;padding-top:7px;padding-bottom:7px}.yc-tabs-tab-disabled{cursor:not-allowed;background-color:transparent;color:var(--color-text-4)}.yc-tabs-tab-disabled.yc-tabs-tab-active{color:var(--color-primary-light-3)}.yc-icon-button{color:inherit}.yc-icon-button.yc-tabs-nav-button-left{margin:0 6px 0 10px}.yc-icon-button.yc-tabs-nav-button-right{margin:0 10px 0 6px}.yc-icon-button.yc-tabs-nav-button-up{margin-bottom:10px}.yc-icon-button.yc-tabs-nav-button-down{margin-top:10px}.yc-icon-button.yc-tabs-tab-close-button{user-select:none;color:inherit}.yc-icon-button.yc-tabs-nav-add-button{padding:0 8px}
package/lib/Tag/index.css CHANGED
@@ -1 +1 @@
1
- .yc-tag{padding:0 8px;vertical-align:middle;border:1px solid transparent;border-radius:2px;font-weight:500;display:inline-flex;align-items:center}.yc-tag .yc-tag-icon{flex-shrink:0;margin-right:4px}.yc-tag .yc-tag-loading-icon,.yc-tag .yc-tag-close-button{flex-shrink:0;margin-left:4px;font-size:12px;color:inherit}.yc-tag .yc-tag-label{width:fit-content}.yc-tag-wrap{height:fit-content;white-space:pre-wrap;word-break:break-word}.yc-tag-no-wrap{overflow:hidden}.yc-tag-no-wrap .yc-tag-label{flex:1;flex-shrink:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.yc-tag-loading{opacity:.8;cursor:default}.yc-tag-checked{cursor:pointer;user-select:none}.yc-tag-size-large{min-height:32px;font-size:14px;line-height:30px}.yc-tag-size-medium{min-height:24px;font-size:12px;line-height:22px}.yc-tag-size-small{min-height:20px;font-size:12px;line-height:18px}.yc-tag-preset-color{color:var(--color-text-1);background-color:var(--color-bg-1)}.yc-tag-preset-color:hover{background-color:var(--color-fill-2)}.yc-tag-preset-color.yc-tag-bordered{border-color:var(--color-border-2)}.yc-tag-custom-color{color:var(--color-white)}.yc-tag-color-default.yc-tag-checked{color:var(--color-text-1);background-color:var(--color-fill-2)}.yc-tag-color-default.yc-tag-checked .yc-tag-icon{color:var(--color-text-2)}.yc-tag-color-default.yc-tag-checked.yc-tag-checkable:hover{border-color:transparent;background-color:var(--color-fill-3)}.yc-tag-color-default.yc-tag-checked.yc-tag-bordered{border-color:var(--color-border-2)}.yc-tag-color-red.yc-tag-checked{color:rgb(var(--red-6));background-color:rgb(var(--red-1))}.yc-tag-color-red.yc-tag-checked.yc-tag-checkable:hover{border-color:transparent;background-color:rgb(var(--red-2))}.yc-tag-color-red.yc-tag-checked.yc-tag-bordered{border-color:rgb(var(--red-6))}.yc-tag-color-orangered.yc-tag-checked{color:rgb(var(--orangered-6));background-color:rgb(var(--orangered-1))}.yc-tag-color-orangered.yc-tag-checked.yc-tag-checkable:hover{border-color:transparent;background-color:rgb(var(--orangered-2))}.yc-tag-color-orangered.yc-tag-checked.yc-tag-bordered{border-color:rgb(var(--orangered-6))}.yc-tag-color-orange.yc-tag-checked{color:rgb(var(--orange-6));background-color:rgb(var(--orange-1))}.yc-tag-color-orange.yc-tag-checked.yc-tag-checkable:hover{border-color:transparent;background-color:rgb(var(--orange-2))}.yc-tag-color-orange.yc-tag-checked.yc-tag-bordered{border-color:rgb(var(--orange-6))}.yc-tag-color-gold.yc-tag-checked{color:rgb(var(--gold-6));background-color:rgb(var(--gold-1))}.yc-tag-color-gold.yc-tag-checked.yc-tag-checkable:hover{border-color:transparent;background-color:rgb(var(--gold-3))}.yc-tag-color-gold.yc-tag-checked.yc-tag-bordered{border-color:rgb(var(--gold-6))}.yc-tag-color-lime.yc-tag-checked{color:rgb(var(--lime-6));background-color:rgb(var(--lime-1))}.yc-tag-color-lime.yc-tag-checked.yc-tag-checkable:hover{border-color:transparent;background-color:rgb(var(--lime-2))}.yc-tag-color-lime.yc-tag-checked.yc-tag-bordered{border-color:rgb(var(--lime-6))}.yc-tag-color-green.yc-tag-checked{color:rgb(var(--green-6));background-color:rgb(var(--green-1))}.yc-tag-color-green.yc-tag-checked.yc-tag-checkable:hover{border-color:transparent;background-color:rgb(var(--green-2))}.yc-tag-color-green.yc-tag-checked.yc-tag-bordered{border-color:rgb(var(--green-6))}.yc-tag-color-cyan.yc-tag-checked{color:rgb(var(--cyan-6));background-color:rgb(var(--cyan-1))}.yc-tag-color-cyan.yc-tag-checked.yc-tag-checkable:hover{border-color:transparent;background-color:rgb(var(--cyan-2))}.yc-tag-color-cyan.yc-tag-checked.yc-tag-bordered{border-color:rgb(var(--cyan-6))}.yc-tag-color-blue.yc-tag-checked{color:rgb(var(--blue-6));background-color:rgb(var(--blue-1))}.yc-tag-color-blue.yc-tag-checked.yc-tag-checkable:hover{border-color:transparent;background-color:rgb(var(--blue-2))}.yc-tag-color-blue.yc-tag-checked.yc-tag-bordered{border-color:rgb(var(--blue-6))}.yc-tag-color-arcoblue.yc-tag-checked{color:rgb(var(--primary-6));background-color:rgb(var(--primary-1))}.yc-tag-color-arcoblue.yc-tag-checked.yc-tag-checkable:hover{border-color:transparent;background-color:rgb(var(--primary-2))}.yc-tag-color-arcoblue.yc-tag-checked.yc-tag-bordered{border-color:rgb(var(--primary-6))}.yc-tag-color-purple.yc-tag-checked{color:rgb(var(--purple-6));background-color:rgb(var(--purple-1))}.yc-tag-color-purple.yc-tag-checked.yc-tag-checkable:hover{border-color:transparent;background-color:rgb(var(--purple-2))}.yc-tag-color-purple.yc-tag-checked.yc-tag-bordered{border-color:rgb(var(--purple-6))}.yc-tag-color-pinkpurple.yc-tag-checked{color:rgb(var(--pinkpurple-6));background-color:rgb(var(--pinkpurple-1))}.yc-tag-color-pinkpurple.yc-tag-checked.yc-tag-checkable:hover{border-color:transparent;background-color:rgb(var(--pinkpurple-2))}.yc-tag-color-pinkpurple.yc-tag-checked.yc-tag-bordered{border-color:rgb(var(--pinkpurple-6))}.yc-tag-color-magenta.yc-tag-checked{color:rgb(var(--magenta-6));background-color:rgb(var(--magenta-1))}.yc-tag-color-magenta.yc-tag-checked.yc-tag-checkable:hover{border-color:transparent;background-color:rgb(var(--magenta-2))}.yc-tag-color-magenta.yc-tag-checked.yc-tag-bordered{border-color:rgb(var(--magenta-6))}.yc-tag-color-gray.yc-tag-checked{color:rgb(var(--gray-6));background-color:rgb(var(--gray-2))}.yc-tag-color-gray.yc-tag-checked.yc-tag-checkable:hover{border-color:transparent;background-color:rgb(var(--gray-3))}.yc-tag-color-gray.yc-tag-checked.yc-tag-bordered{border-color:rgb(var(--gray-6))}
1
+ .yc-tag{padding:0 8px;vertical-align:middle;border:1px solid transparent;border-radius:var(--border-radius-small);font-weight:500;display:inline-flex;align-items:center}.yc-tag .yc-tag-icon{flex-shrink:0;margin-right:4px}.yc-tag .yc-tag-loading-icon,.yc-tag .yc-tag-close-button{flex-shrink:0;margin-left:4px;font-size:12px;color:inherit}.yc-tag .yc-tag-label{width:fit-content}.yc-tag-wrap{height:fit-content;white-space:pre-wrap;word-break:break-word}.yc-tag-no-wrap{overflow:hidden}.yc-tag-no-wrap .yc-tag-label{flex:1;flex-shrink:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.yc-tag-loading{opacity:.8;cursor:default}.yc-tag-checked{cursor:pointer;user-select:none}.yc-tag-size-large{min-height:32px;font-size:14px;line-height:30px}.yc-tag-size-medium{min-height:24px;font-size:12px;line-height:22px}.yc-tag-size-small{min-height:20px;font-size:12px;line-height:18px}.yc-tag-preset-color{color:var(--color-text-1);background-color:var(--color-bg-1)}.yc-tag-preset-color:hover{background-color:var(--color-fill-2)}.yc-tag-preset-color.yc-tag-bordered{border-color:var(--color-border-2)}.yc-tag-custom-color{color:var(--color-white)}.yc-tag-color-default.yc-tag-checked{color:var(--color-text-1);background-color:var(--color-fill-2)}.yc-tag-color-default.yc-tag-checked .yc-tag-icon{color:var(--color-text-2)}.yc-tag-color-default.yc-tag-checked.yc-tag-checkable:hover{border-color:transparent;background-color:var(--color-fill-3)}.yc-tag-color-default.yc-tag-checked.yc-tag-bordered{border-color:var(--color-border-2)}.yc-tag-color-red.yc-tag-checked{color:rgb(var(--red-6));background-color:rgb(var(--red-1))}.yc-tag-color-red.yc-tag-checked.yc-tag-checkable:hover{border-color:transparent;background-color:rgb(var(--red-2))}.yc-tag-color-red.yc-tag-checked.yc-tag-bordered{border-color:rgb(var(--red-6))}.yc-tag-color-orangered.yc-tag-checked{color:rgb(var(--orangered-6));background-color:rgb(var(--orangered-1))}.yc-tag-color-orangered.yc-tag-checked.yc-tag-checkable:hover{border-color:transparent;background-color:rgb(var(--orangered-2))}.yc-tag-color-orangered.yc-tag-checked.yc-tag-bordered{border-color:rgb(var(--orangered-6))}.yc-tag-color-orange.yc-tag-checked{color:rgb(var(--orange-6));background-color:rgb(var(--orange-1))}.yc-tag-color-orange.yc-tag-checked.yc-tag-checkable:hover{border-color:transparent;background-color:rgb(var(--orange-2))}.yc-tag-color-orange.yc-tag-checked.yc-tag-bordered{border-color:rgb(var(--orange-6))}.yc-tag-color-gold.yc-tag-checked{color:rgb(var(--gold-6));background-color:rgb(var(--gold-1))}.yc-tag-color-gold.yc-tag-checked.yc-tag-checkable:hover{border-color:transparent;background-color:rgb(var(--gold-3))}.yc-tag-color-gold.yc-tag-checked.yc-tag-bordered{border-color:rgb(var(--gold-6))}.yc-tag-color-lime.yc-tag-checked{color:rgb(var(--lime-6));background-color:rgb(var(--lime-1))}.yc-tag-color-lime.yc-tag-checked.yc-tag-checkable:hover{border-color:transparent;background-color:rgb(var(--lime-2))}.yc-tag-color-lime.yc-tag-checked.yc-tag-bordered{border-color:rgb(var(--lime-6))}.yc-tag-color-green.yc-tag-checked{color:rgb(var(--green-6));background-color:rgb(var(--green-1))}.yc-tag-color-green.yc-tag-checked.yc-tag-checkable:hover{border-color:transparent;background-color:rgb(var(--green-2))}.yc-tag-color-green.yc-tag-checked.yc-tag-bordered{border-color:rgb(var(--green-6))}.yc-tag-color-cyan.yc-tag-checked{color:rgb(var(--cyan-6));background-color:rgb(var(--cyan-1))}.yc-tag-color-cyan.yc-tag-checked.yc-tag-checkable:hover{border-color:transparent;background-color:rgb(var(--cyan-2))}.yc-tag-color-cyan.yc-tag-checked.yc-tag-bordered{border-color:rgb(var(--cyan-6))}.yc-tag-color-blue.yc-tag-checked{color:rgb(var(--blue-6));background-color:rgb(var(--blue-1))}.yc-tag-color-blue.yc-tag-checked.yc-tag-checkable:hover{border-color:transparent;background-color:rgb(var(--blue-2))}.yc-tag-color-blue.yc-tag-checked.yc-tag-bordered{border-color:rgb(var(--blue-6))}.yc-tag-color-arcoblue.yc-tag-checked{color:rgb(var(--primary-6));background-color:rgb(var(--primary-1))}.yc-tag-color-arcoblue.yc-tag-checked.yc-tag-checkable:hover{border-color:transparent;background-color:rgb(var(--primary-2))}.yc-tag-color-arcoblue.yc-tag-checked.yc-tag-bordered{border-color:rgb(var(--primary-6))}.yc-tag-color-purple.yc-tag-checked{color:rgb(var(--purple-6));background-color:rgb(var(--purple-1))}.yc-tag-color-purple.yc-tag-checked.yc-tag-checkable:hover{border-color:transparent;background-color:rgb(var(--purple-2))}.yc-tag-color-purple.yc-tag-checked.yc-tag-bordered{border-color:rgb(var(--purple-6))}.yc-tag-color-pinkpurple.yc-tag-checked{color:rgb(var(--pinkpurple-6));background-color:rgb(var(--pinkpurple-1))}.yc-tag-color-pinkpurple.yc-tag-checked.yc-tag-checkable:hover{border-color:transparent;background-color:rgb(var(--pinkpurple-2))}.yc-tag-color-pinkpurple.yc-tag-checked.yc-tag-bordered{border-color:rgb(var(--pinkpurple-6))}.yc-tag-color-magenta.yc-tag-checked{color:rgb(var(--magenta-6));background-color:rgb(var(--magenta-1))}.yc-tag-color-magenta.yc-tag-checked.yc-tag-checkable:hover{border-color:transparent;background-color:rgb(var(--magenta-2))}.yc-tag-color-magenta.yc-tag-checked.yc-tag-bordered{border-color:rgb(var(--magenta-6))}.yc-tag-color-gray.yc-tag-checked{color:rgb(var(--gray-6));background-color:rgb(var(--gray-2))}.yc-tag-color-gray.yc-tag-checked.yc-tag-checkable:hover{border-color:transparent;background-color:rgb(var(--gray-3))}.yc-tag-color-gray.yc-tag-checked.yc-tag-bordered{border-color:rgb(var(--gray-6))}
package/lib/Tag/index.js CHANGED
@@ -1 +1 @@
1
- "use strict";const e=require("./index.vue.js");;/* empty css */const s=Object.assign(e,{install:s=>{s.component("Yc"+e.name,e)}});module.exports=s;
1
+ "use strict";const e=;/* empty css */;/* empty css */const s=Object.assign(e,{install:s=>{s.component("Yc"+e.name,e)}});module.exports=s;
@@ -1 +1 @@
1
- "use strict";const e=require("vue"),o=require("../_shared/constants/index.js");require("../node_modules/tinycolor2/esm/tinycolor.js"),require("../_shared/utils/dom.js"),require("../_shared/utils/time.js");const l=require("../_shared/utils/global-config.js");require("../_shared/utils/locale.js");const t=require("../_shared/utils/control.js"),a=require("../Spin/index.js"),c=require("../_shared/components/IconButton.vue.js");,/* empty css */,/* empty css */;/* empty css */const s={key:0,class:"yc-tag-icon"},n={class:"yc-tag-label"},r=e.defineComponent({name:"Tag",__name:"index",props:{color:{default:"default"},size:{default:void 0},bordered:{type:Boolean,default:!1},visible:{type:Boolean,default:void 0},defaultVisible:{type:Boolean,default:!0},loading:{type:Boolean,default:!1},closable:{type:Boolean,default:!1},checkable:{type:Boolean,default:!1},checked:{type:Boolean,default:void 0},defaultChecked:{type:Boolean,default:!0},nowrap:{type:Boolean,default:!1}},emits:["update:visible","update:checked","close","check"],setup(r,{emit:u}){const d=r,i=u,{visible:m,defaultVisible:p,checked:y,defaultChecked:f,checkable:k,color:g}=e.toRefs(d),{size:h}=l.getGlobalConfig(d),v=t(m,p.value,e=>i("update:visible",e)),b=t(y,f.value,e=>i("update:checked",e)),B=e.computed(()=>o.TAG_PRESET_COLORS.includes(g.value)?"":g.value),_=(e,o)=>{"close"==e?(v.value=!1,i("close",o)):"check"==e&&k.value&&(b.value=!b.value,i("check",b.value,o))};return(l,t)=>e.unref(v)?(e.openBlock(),e.createElementBlock("label",{key:0,class:e.normalizeClass(["yc-tag",`yc-tag-color-${e.unref(g)}`,`yc-tag-size-${["small","medium","large"].includes(e.unref(h))?e.unref(h):"medium"}`,e.unref(o.TAG_PRESET_COLORS).includes(e.unref(g))?"yc-tag-preset-color":"yc-tag-custom-color",l.nowrap?"yc-tag-no-wrap":"yc-tag-wrap",{"yc-tag-loading":l.loading,"yc-tag-bordered":l.bordered,"yc-tag-checked":e.unref(b),"yc-tag-checkable":e.unref(k)}]),style:e.normalizeStyle({background:B.value}),onClick:t[1]||(t[1]=e=>_("check",e))},[l.$slots.icon?(e.openBlock(),e.createElementBlock("div",s,[e.renderSlot(l.$slots,"icon")])):e.createCommentVNode("",!0),e.createElementVNode("span",n,[e.renderSlot(l.$slots,"default")]),l.closable?(e.openBlock(),e.createBlock(e.unref(c),{key:1,"hover-size":16,"hover-color":"rgba(255, 255, 255, 0.2)",class:"yc-tag-close-button",onClick:t[0]||(t[0]=e=>_("close",e))},{default:e.withCtx(()=>[l.$slots["close-icon"]?e.renderSlot(l.$slots,"close-icon",{key:0}):e.createCommentVNode("",!0)]),_:3})):e.createCommentVNode("",!0),l.loading?(e.openBlock(),e.createBlock(e.unref(a),{key:2,size:12,class:"yc-tag-loading-icon"})):e.createCommentVNode("",!0)],6)):e.createCommentVNode("",!0)}});module.exports=r;
1
+ "use strict";const e=require("vue"),o=require("../_shared/constants/index.js");require("../node_modules/tinycolor2/esm/tinycolor.js"),require("../_shared/utils/dom.js"),require("../_shared/utils/time.js");const l=require("../_shared/utils/global-config.js");require("../_shared/utils/locale.js");const t=require("../_shared/utils/control.js"),a=require("../Spin/index.js"),c=;/* empty css */,/* empty css */,/* empty css */;/* empty css */const n={key:0,class:"yc-tag-icon"},s={class:"yc-tag-label"},r=e.defineComponent({name:"Tag",__name:"index",props:{color:{default:"default"},size:{default:void 0},bordered:{type:Boolean,default:!1},visible:{type:Boolean,default:void 0},defaultVisible:{type:Boolean,default:!0},loading:{type:Boolean,default:!1},closable:{type:Boolean,default:!1},checkable:{type:Boolean,default:!1},checked:{type:Boolean,default:void 0},defaultChecked:{type:Boolean,default:!0},nowrap:{type:Boolean,default:!1}},emits:["update:visible","update:checked","close","check"],setup(r,{emit:d}){const u=r,i=d,{visible:m,defaultVisible:p,checked:y,defaultChecked:f,checkable:k,color:g}=e.toRefs(u),{size:h}=l.getGlobalConfig(u),v=t(m,p.value,e=>i("update:visible",e)),b=t(y,f.value,e=>i("update:checked",e)),B=e.computed(()=>o.TAG_PRESET_COLORS.includes(g.value)?"":g.value),_=(e,o)=>{"close"==e?(v.value=!1,i("close",o)):"check"==e&&k.value&&(b.value=!b.value,i("check",b.value,o))};return(l,t)=>e.unref(v)?(e.openBlock(),e.createElementBlock("label",{key:0,class:e.normalizeClass(["yc-tag",`yc-tag-color-${e.unref(g)}`,`yc-tag-size-${["small","medium","large"].includes(e.unref(h))?e.unref(h):"medium"}`,e.unref(o.TAG_PRESET_COLORS).includes(e.unref(g))?"yc-tag-preset-color":"yc-tag-custom-color",l.nowrap?"yc-tag-no-wrap":"yc-tag-wrap",{"yc-tag-loading":l.loading,"yc-tag-bordered":l.bordered,"yc-tag-checked":e.unref(b),"yc-tag-checkable":e.unref(k)}]),style:e.normalizeStyle({background:B.value}),onClick:t[1]||(t[1]=e=>_("check",e))},[l.$slots.icon?(e.openBlock(),e.createElementBlock("div",n,[e.renderSlot(l.$slots,"icon")])):e.createCommentVNode("",!0),e.createElementVNode("span",s,[e.renderSlot(l.$slots,"default")]),l.closable?(e.openBlock(),e.createBlock(e.unref(c),{key:1,"hover-size":16,"hover-color":"rgba(255, 255, 255, 0.2)",class:"yc-tag-close-button",onClick:t[0]||(t[0]=e=>_("close",e))},{default:e.withCtx(()=>[l.$slots["close-icon"]?e.renderSlot(l.$slots,"close-icon",{key:0}):e.createCommentVNode("",!0)]),_:3})):e.createCommentVNode("",!0),l.loading?(e.openBlock(),e.createBlock(e.unref(a),{key:2,size:12,class:"yc-tag-loading-icon"})):e.createCommentVNode("",!0)],6)):e.createCommentVNode("",!0)}});module.exports=r;
@@ -1 +1 @@
1
- "use strict";const e=require("./index.vue.js");,/* empty css */module.exports=e;
1
+ "use strict";const e=;/* empty css */,/* empty css */module.exports=e;
@@ -1 +1 @@
1
- .yc-textarea-wrapper{overflow:hidden;position:relative;cursor:text;width:100%;height:fit-content;background-color:var(--color-fill-2);border:1px solid transparent;border-radius:2px;color:var(--color-text-1);font-size:14px;font-weight:400;display:inline-flex;align-items:center;transition:color .1s cubic-bezier(0, 0, 1, 1),border-color .1s cubic-bezier(0, 0, 1, 1),background-color .1s cubic-bezier(0, 0, 1, 1)}.yc-textarea-wrapper:not(.yc-textarea-disabled):hover{background-color:var(--color-fill-3);border-color:transparent}.yc-textarea-wrapper:not(.yc-textarea-disabled):hover .yc-textarea-clear-button{visibility:visible}.yc-textarea-wrapper:not(.yc-textarea-disabled):focus-within{background-color:var(--color-bg-1);border-color:rgb(var(--primary-6));box-shadow:0 0 0 0 var(--color-primary-light-2)}.yc-textarea-wrapper .yc-textarea-word-limit{position:absolute;right:10px;bottom:6px;user-select:none;color:var(--color-text-3);font-size:12px}.yc-textarea-wrapper .yc-textarea-clear-button{visibility:hidden;position:absolute;top:50%;right:10px;transform:translateY(-50%)}.yc-textarea-wrapper .yc-textarea,.yc-textarea-wrapper .yc-textarea-mirror{display:block;width:100%;padding:4px 12px;min-height:32px;color:inherit;outline:none;background-color:transparent;border-width:0;border-radius:0;font-weight:400;font-size:14px;line-height:1.5715;font-variant:normal;letter-spacing:normal;text-indent:0;text-rendering:auto;text-transform:none;white-space:pre-wrap;overflow-wrap:break-word}.yc-textarea-wrapper .yc-textarea{resize:vertical}.yc-textarea-wrapper .yc-textarea::placeholder{color:var(--color-text-3)}.yc-textarea-wrapper .yc-textarea-mirror{position:absolute;top:0;left:0;visibility:hidden}.yc-textarea-auto-size .yc-textarea{resize:none}.yc-textarea-error{background-color:var(--color-danger-light-1)}.yc-textarea-error:not(.yc-textarea-disabled):hover{background-color:var(--color-danger-light-2);border-color:transparent}.yc-textarea-error:not(.yc-textarea-disabled):focus-within{background-color:var(--color-bg-1);border-color:rgb(var(--danger-6));box-shadow:0 0 0 0 var(--color-danger-light-2)}.yc-textarea-disabled{cursor:not-allowed;background-color:var(--color-fill-2);border-color:transparent;color:var(--color-text-4);-webkit-text-fill-color:var(--color-text-4)}.yc-textarea-disabled .yc-textarea{cursor:not-allowed}
1
+ .yc-textarea-wrapper{overflow:hidden;position:relative;cursor:text;width:100%;height:fit-content;background-color:var(--color-fill-2);border:1px solid transparent;border-radius:var(--border-radius-small);color:var(--color-text-1);font-size:14px;font-weight:400;display:inline-flex;align-items:center;transition:color .1s cubic-bezier(0, 0, 1, 1),border-color .1s cubic-bezier(0, 0, 1, 1),background-color .1s cubic-bezier(0, 0, 1, 1)}.yc-textarea-wrapper:not(.yc-textarea-disabled):hover{background-color:var(--color-fill-3);border-color:transparent}.yc-textarea-wrapper:not(.yc-textarea-disabled):hover .yc-textarea-clear-button{visibility:visible}.yc-textarea-wrapper:not(.yc-textarea-disabled):focus-within{background-color:var(--color-bg-1);border-color:rgb(var(--primary-6));box-shadow:0 0 0 0 var(--color-primary-light-2)}.yc-textarea-wrapper .yc-textarea-word-limit{position:absolute;right:10px;bottom:6px;user-select:none;color:var(--color-text-3);font-size:12px}.yc-textarea-wrapper .yc-textarea-clear-button{visibility:hidden;position:absolute;top:50%;right:10px;transform:translateY(-50%)}.yc-textarea-wrapper .yc-textarea,.yc-textarea-wrapper .yc-textarea-mirror{display:block;width:100%;padding:4px 12px;min-height:32px;color:inherit;outline:none;background-color:transparent;border-width:0;border-radius:var(--border-radius-none);font-weight:400;font-size:14px;line-height:1.5715;font-variant:normal;letter-spacing:normal;text-indent:0;text-rendering:auto;text-transform:none;white-space:pre-wrap;overflow-wrap:break-word}.yc-textarea-wrapper .yc-textarea{resize:vertical}.yc-textarea-wrapper .yc-textarea::placeholder{color:var(--color-text-3)}.yc-textarea-wrapper .yc-textarea-mirror{position:absolute;top:0;left:0;visibility:hidden}.yc-textarea-auto-size .yc-textarea{resize:none}.yc-textarea-error{background-color:var(--color-danger-light-1)}.yc-textarea-error:not(.yc-textarea-disabled):hover{background-color:var(--color-danger-light-2);border-color:transparent}.yc-textarea-error:not(.yc-textarea-disabled):focus-within{background-color:var(--color-bg-1);border-color:rgb(var(--danger-6));box-shadow:0 0 0 0 var(--color-danger-light-2)}.yc-textarea-disabled{cursor:not-allowed;background-color:var(--color-fill-2);border-color:transparent;color:var(--color-text-4);-webkit-text-fill-color:var(--color-text-4)}.yc-textarea-disabled .yc-textarea{cursor:not-allowed}
@@ -1 +1 @@
1
- "use strict";const e=require("./index.vue.js");;/* empty css */const s=Object.assign(e,{install:s=>{s.component("Yc"+e.name,e)}});module.exports=s;
1
+ "use strict";const e=;/* empty css */;/* empty css */const s=Object.assign(e,{install:s=>{s.component("Yc"+e.name,e)}});module.exports=s;
@@ -1 +1 @@
1
- "use strict";const e=require("vue"),r=require("./hooks/useTextareaHeight.js"),t=require("../Input/hooks/useLimitedInput.js"),o=require("../_shared/components/IconButton.vue.js");;/* empty css */const a=require("../_shared/components/PreventFocus.vue.js");require("../node_modules/tinycolor2/esm/tinycolor.js"),require("../_shared/utils/dom.js"),require("../_shared/utils/time.js"),require("../_shared/utils/locale.js"),/* empty css */;/* empty css */const n=["value","disabled","readonly","placeholder"],l=e.defineComponent({name:"Textarea",__name:"index",props:{modelValue:{default:void 0},defaultValue:{default:""},placeholder:{default:""},disabled:{type:Boolean,default:!1},error:{type:[Boolean,Object],default:void 0},maxLength:{default:void 0},showWordLimit:{type:Boolean,default:!1},allowClear:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},autoSize:{type:[Boolean,Object],default:!1},wordLength:{type:Function,default:e=>e.length},wordSlice:{type:Function,default:(e,r)=>e.slice(0,r)},enterPrevent:{type:Boolean,default:!1},showMirror:{type:Boolean,default:!1}},emits:["update:modelValue","input","change","clear","focus","blur","keydown"],setup(l,{expose:u,emit:s}){const i=l,c=s,{autoSize:d}=e.toRefs(i),p=e.ref(),f=e.ref(),{error:m,computedValue:y,showWordLimit:h,showClearBtn:v,curLength:k,maxLength:B,handleInput:x,handleComposition:b}=t({props:i,emits:c,inputRef:p}),{style:g}=r(f,d.value),w=async(e,r)=>{switch(e){case"input":x(r);break;case"change":c("change",y.value,r);break;case"focus":case"blur":c(e,r);break;case"clear":y.value="",c("clear",r)}};return u({getInputRef:()=>p.value,getMirrorRef:()=>f.value,focus(){var e;null==(e=p.value)||e.focus()},blur(){var e;null==(e=p.value)||e.blur()}}),(r,t)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["yc-textarea-wrapper",{"yc-textarea-disabled":r.disabled,"yc-textarea-error":e.unref(m),"yc-textarea-auto-size":e.unref(d)}])},[e.unref(d)||r.showMirror?(e.openBlock(),e.createElementBlock("div",{key:0,class:"yc-textarea-mirror",ref_key:"mirrorRef",ref:f},e.toDisplayString(e.unref(y)),513)):e.createCommentVNode("",!0),e.createElementVNode("textarea",{value:e.unref(y),disabled:r.disabled,readonly:r.readonly,placeholder:r.placeholder,style:e.normalizeStyle(e.unref(g)),class:"yc-textarea",ref_key:"inputRef",ref:p,onCompositionstart:t[0]||(t[0]=(...r)=>e.unref(b)&&e.unref(b)(...r)),onCompositionupdate:t[1]||(t[1]=(...r)=>e.unref(b)&&e.unref(b)(...r)),onCompositionend:t[2]||(t[2]=(...r)=>e.unref(b)&&e.unref(b)(...r)),onKeydown:t[3]||(t[3]=e=>{"Enter"==e.key&&r.enterPrevent&&e.preventDefault(),r.$emit("keydown",e)}),onInput:t[4]||(t[4]=e=>w("input",e)),onChange:t[5]||(t[5]=e=>w("change",e)),onFocus:t[6]||(t[6]=e=>w("focus",e)),onBlur:t[7]||(t[7]=e=>w("blur",e))},null,44,n),e.unref(h)?(e.openBlock(),e.createBlock(e.unref(a),{key:1,tag:"span",class:"yc-textarea-word-limit"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(k))+" / "+e.toDisplayString(e.unref(B)),1)]),_:1})):e.createCommentVNode("",!0),e.unref(v)?(e.openBlock(),e.createBlock(e.unref(o),{key:2,class:"yc-textarea-clear-button",onClick:t[8]||(t[8]=e=>w("clear",e))})):e.createCommentVNode("",!0)],2))}});module.exports=l;
1
+ "use strict";const e=require("vue"),r=require("./hooks/useTextareaHeight.js"),t=require("../Input/hooks/useLimitedInput.js"),o=;/* empty css */;/* empty css */const a=;/* empty css */require("../node_modules/tinycolor2/esm/tinycolor.js"),require("../_shared/utils/dom.js"),require("../_shared/utils/time.js"),require("../_shared/utils/locale.js"),/* empty css */;/* empty css */const n=["value","disabled","readonly","placeholder"],l=e.defineComponent({name:"Textarea",__name:"index",props:{modelValue:{default:void 0},defaultValue:{default:""},placeholder:{default:""},disabled:{type:Boolean,default:!1},error:{type:[Boolean,Object],default:void 0},maxLength:{default:void 0},showWordLimit:{type:Boolean,default:!1},allowClear:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},autoSize:{type:[Boolean,Object],default:!1},wordLength:{type:Function,default:e=>e.length},wordSlice:{type:Function,default:(e,r)=>e.slice(0,r)},enterPrevent:{type:Boolean,default:!1},showMirror:{type:Boolean,default:!1}},emits:["update:modelValue","input","change","clear","focus","blur","keydown"],setup(l,{expose:u,emit:s}){const i=l,d=s,{autoSize:c}=e.toRefs(i),p=e.ref(),f=e.ref(),{error:m,computedValue:y,showWordLimit:h,showClearBtn:v,curLength:x,maxLength:k,handleInput:B,handleComposition:b}=t({props:i,emits:d,inputRef:p}),{style:g}=r(f,c.value),w=async(e,r)=>{switch(e){case"input":B(r);break;case"change":d("change",y.value,r);break;case"focus":case"blur":d(e,r);break;case"clear":y.value="",d("clear",r)}};return u({getInputRef:()=>p.value,getMirrorRef:()=>f.value,focus(){var e;null==(e=p.value)||e.focus()},blur(){var e;null==(e=p.value)||e.blur()}}),(r,t)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["yc-textarea-wrapper",{"yc-textarea-disabled":r.disabled,"yc-textarea-error":e.unref(m),"yc-textarea-auto-size":e.unref(c)}])},[e.unref(c)||r.showMirror?(e.openBlock(),e.createElementBlock("div",{key:0,class:"yc-textarea-mirror",ref_key:"mirrorRef",ref:f},e.toDisplayString(e.unref(y)),513)):e.createCommentVNode("",!0),e.createElementVNode("textarea",{value:e.unref(y),disabled:r.disabled,readonly:r.readonly,placeholder:r.placeholder,style:e.normalizeStyle(e.unref(g)),class:"yc-textarea",ref_key:"inputRef",ref:p,onCompositionstart:t[0]||(t[0]=(...r)=>e.unref(b)&&e.unref(b)(...r)),onCompositionupdate:t[1]||(t[1]=(...r)=>e.unref(b)&&e.unref(b)(...r)),onCompositionend:t[2]||(t[2]=(...r)=>e.unref(b)&&e.unref(b)(...r)),onKeydown:t[3]||(t[3]=e=>{"Enter"==e.key&&r.enterPrevent&&e.preventDefault(),r.$emit("keydown",e)}),onInput:t[4]||(t[4]=e=>w("input",e)),onChange:t[5]||(t[5]=e=>w("change",e)),onFocus:t[6]||(t[6]=e=>w("focus",e)),onBlur:t[7]||(t[7]=e=>w("blur",e))},null,44,n),e.unref(h)?(e.openBlock(),e.createBlock(e.unref(a),{key:1,tag:"span",class:"yc-textarea-word-limit"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(x))+" / "+e.toDisplayString(e.unref(k)),1)]),_:1})):e.createCommentVNode("",!0),e.unref(v)?(e.openBlock(),e.createBlock(e.unref(o),{key:2,class:"yc-textarea-clear-button",onClick:t[8]||(t[8]=e=>w("clear",e))})):e.createCommentVNode("",!0)],2))}});module.exports=l;
@@ -1 +1 @@
1
- "use strict";const e=require("./index.vue.js");,/* empty css */module.exports=e;
1
+ "use strict";const e=;/* empty css */,/* empty css */module.exports=e;
@@ -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"),o=require("../_shared/utils/time.js"),t=require("../_shared/utils/global-config.js");require("../_shared/utils/locale.js");const i=require("./hooks/useContext.js"),n=require("../_shared/components/IconButton.vue.js");,/* empty css */,/* empty css */;/* empty css */const l=require("../_shared/icons/IconTime.vue.js"),a=require("../Trigger/index.js"),u=require("./TimePickerPanel.vue.js");;/* empty css */const s={key:0,class:"yc-picker-prefix"},c=["value","placeholder","disabled","readonly"],p=["value","placeholder","disabled","readonly"],d={class:"yc-picker-suffix"},f={class:"yc-picker-suffix-icon"},m=e.defineComponent({name:"TimePicker",inheritAttrs:!1,__name:"TimePicker",props:{type:{default:"time"},modelValue:{default:void 0},defaultValue:{default:e=>"time-range"==e.type?[]:""},disabled:{type:Boolean,default:!1},allowClear:{type:Boolean,default:!0},readonly:{type:Boolean,default:!1},error:{type:Boolean,default:!1},format:{default:"HH:mm:ss"},placeholder:{default:void 0},size:{default:void 0},popupContainer:{default:void 0},step:{},disabledHours:{type:Function,default:()=>[]},disabledMinutes:{type:Function,default:()=>[]},disabledSeconds:{type:Function,default:()=>[]},hideDisabledOptions:{type:Boolean,default:!1},disableConfirm:{type:Boolean},position:{default:"bl"},popupVisible:{type:Boolean,default:void 0},defaultPopupVisible:{type:Boolean,default:!1},triggerProps:{default:()=>({})},unmountOnClose:{type:Boolean,default:!1}},emits:["update:modelValue","update:popupVisible","change","select","clear","popup-visible-change"],setup(m,{emit:y}){const v=m,k=y,{popupContainer:h,size:b}=t.getGlobalConfig(v),{type:g,computedValue:C,computedVisible:V,showClearBtn:B,readonly:x,disabled:q,curIndex:_,inputRefs:j,format:N,placeholder:E}=i().provide(v,k),w=e.ref(),P=()=>{C.value="time-range"==g.value?[]:"",k("clear")},$=e=>{var o;_.value=e,V.value=!0,null==(o=w.value)||o.scroll(r.isArray(C.value)?C.value[e]:C.value)},z=()=>{if(V.value=!1,!r.isArray(C.value))return;const e=C.value[0],t=C.value[1];e&&t?o.isValidTimeRange(e,t,N.value)||(C.value=C.value.reverse()):C.value=[]};return(o,t)=>(e.openBlock(),e.createBlock(e.unref(a),e.mergeProps({"popup-visible":e.unref(V),position:o.position,"popup-container":e.unref(h),"popup-offset":4,"unmount-on-close":o.unmountOnClose,disabled:e.unref(q)||e.unref(x),"on-click-out-side":z,"auto-fit-popup-min-width":!1,"auto-fit-popup-width":!1,trigger:"click","animation-name":"slide-dynamic-origin","prevent-focus":""},o.triggerProps),{content:e.withCtx(()=>[e.createVNode(u,{ref_key:"panelRef",ref:w},e.createSlots({_:2},[o.$slots.extra?{name:"extra",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"extra")]),key:"0"}:void 0]),1536)]),default:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(["yc-picker",`yc-picker-size-${e.unref(b)}`,o.$attrs.class,{"yc-picker-disabled":e.unref(q),"yc-picker-error":o.error,"yc-picker-focus":e.unref(V),"yc-picker-has-prefix":o.$slots.prefix,"yc-picker-allow-clear":e.unref(B),"yc-picker-range":"time-range"==e.unref(g)}]),style:e.normalizeStyle({...o.$attrs.style||{}})},[o.$slots.prefix?(e.openBlock(),e.createElementBlock("div",s,[e.renderSlot(o.$slots,"prefix")])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(["yc-picker-input",{"yc-picker-input-active":!e.unref(_)&&e.unref(V)}]),onClick:t[0]||(t[0]=e.withModifiers(e=>$(0),["stop"]))},[e.createElementVNode("input",{value:e.unref(r.isArray)(e.unref(C))?e.unref(C)[0]:e.unref(C),placeholder:e.unref(r.isArray)(e.unref(E))?e.unref(E)[0]:e.unref(E),disabled:e.unref(q),readonly:e.unref(x),ref:r=>e.unref(j)[0]=r,class:"yc-picker-start-time"},null,8,c)],2),"time-range"==e.unref(g)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[t[2]||(t[2]=e.createElementVNode("span",{class:"yc-picker-separator"}," - ",-1)),e.createElementVNode("div",{class:e.normalizeClass(["yc-picker-input",{"yc-picker-input-active":e.unref(_)&&e.unref(V)}]),onClick:t[1]||(t[1]=e.withModifiers(e=>$(1),["stop"]))},[e.createElementVNode("input",{value:e.unref(r.isArray)(e.unref(C))?e.unref(C)[1]:e.unref(C),placeholder:e.unref(r.isArray)(e.unref(E))?e.unref(E)[1]:e.unref(E),disabled:e.unref(q),readonly:e.unref(x),ref:r=>e.unref(j)[1]=r,class:"yc-picker-start-time"},null,8,p)],2)],64)):e.createCommentVNode("",!0),e.createElementVNode("div",d,[e.unref(B)?(e.openBlock(),e.createBlock(e.unref(n),{key:0,size:14,class:"yc-picker-clear-icon",onClick:P})):e.createCommentVNode("",!0),e.createElementVNode("span",f,[e.renderSlot(o.$slots,"suffix-icon",{},()=>[e.createVNode(e.unref(l))])])])],6)]),_:3},16,["popup-visible","position","popup-container","unmount-on-close","disabled"]))}});module.exports=m;
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"),i=require("../_shared/utils/time.js"),n=require("../_shared/utils/global-config.js");require("../_shared/utils/locale.js");const o=require("./hooks/useContext.js"),t=;/* empty css */,/* empty css */,/* empty css */;/* empty css */const l=require("../_shared/icons/IconTime.vue.js"),a=require("../Trigger/index.js"),u=require("./TimePickerPanel.vue.js");;/* empty css */const s={key:0,class:"yc-picker-prefix"},c=["value","placeholder","disabled","readonly"],d=["value","placeholder","disabled","readonly"],p={class:"yc-picker-suffix"},f={class:"yc-picker-suffix-icon"},m=e.defineComponent({name:"TimePicker",inheritAttrs:!1,__name:"TimePicker",props:{type:{default:"time"},modelValue:{default:void 0},defaultValue:{default:e=>"time-range"==e.type?[]:""},disabled:{type:Boolean,default:!1},allowClear:{type:Boolean,default:!0},readonly:{type:Boolean,default:!1},error:{type:Boolean,default:!1},format:{default:"HH:mm:ss"},placeholder:{default:void 0},size:{default:void 0},popupContainer:{default:void 0},step:{},disabledHours:{type:Function,default:()=>[]},disabledMinutes:{type:Function,default:()=>[]},disabledSeconds:{type:Function,default:()=>[]},hideDisabledOptions:{type:Boolean,default:!1},disableConfirm:{type:Boolean},position:{default:"bl"},popupVisible:{type:Boolean,default:void 0},defaultPopupVisible:{type:Boolean,default:!1},triggerProps:{default:()=>({})},unmountOnClose:{type:Boolean,default:!1}},emits:["update:modelValue","update:popupVisible","change","select","clear","popup-visible-change"],setup(m,{emit:y}){const v=m,k=y,{popupContainer:h,size:b}=n.getGlobalConfig(v),{type:g,computedValue:x,computedVisible:C,showClearBtn:V,readonly:B,disabled:q,curIndex:_,inputRefs:j,format:N,placeholder:E}=o().provide(v,k),w=e.ref(),P=()=>{x.value="time-range"==g.value?[]:"",k("clear")},$=e=>{var i;_.value=e,C.value=!0,null==(i=w.value)||i.scroll(r.isArray(x.value)?x.value[e]:x.value)},z=()=>{if(C.value=!1,!r.isArray(x.value))return;const e=x.value[0],n=x.value[1];e&&n?i.isValidTimeRange(e,n,N.value)||(x.value=x.value.reverse()):x.value=[]};return(i,n)=>(e.openBlock(),e.createBlock(e.unref(a),e.mergeProps({"popup-visible":e.unref(C),position:i.position,"popup-container":e.unref(h),"popup-offset":4,"unmount-on-close":i.unmountOnClose,disabled:e.unref(q)||e.unref(B),"on-click-out-side":z,"auto-fit-popup-min-width":!1,"auto-fit-popup-width":!1,trigger:"click","animation-name":"slide-dynamic-origin","prevent-focus":""},i.triggerProps),{content:e.withCtx(()=>[e.createVNode(u,{ref_key:"panelRef",ref:w},e.createSlots({_:2},[i.$slots.extra?{name:"extra",fn:e.withCtx(()=>[e.renderSlot(i.$slots,"extra")]),key:"0"}:void 0]),1536)]),default:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(["yc-picker",`yc-picker-size-${e.unref(b)}`,i.$attrs.class,{"yc-picker-disabled":e.unref(q),"yc-picker-error":i.error,"yc-picker-focus":e.unref(C),"yc-picker-has-prefix":i.$slots.prefix,"yc-picker-allow-clear":e.unref(V),"yc-picker-range":"time-range"==e.unref(g)}]),style:e.normalizeStyle({...i.$attrs.style||{}})},[i.$slots.prefix?(e.openBlock(),e.createElementBlock("div",s,[e.renderSlot(i.$slots,"prefix")])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(["yc-picker-input",{"yc-picker-input-active":!e.unref(_)&&e.unref(C)}]),onClick:n[0]||(n[0]=e.withModifiers(e=>$(0),["stop"]))},[e.createElementVNode("input",{value:e.unref(r.isArray)(e.unref(x))?e.unref(x)[0]:e.unref(x),placeholder:e.unref(r.isArray)(e.unref(E))?e.unref(E)[0]:e.unref(E),disabled:e.unref(q),readonly:e.unref(B),ref:r=>e.unref(j)[0]=r,class:"yc-picker-start-time"},null,8,c)],2),"time-range"==e.unref(g)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[n[2]||(n[2]=e.createElementVNode("span",{class:"yc-picker-separator"}," - ",-1)),e.createElementVNode("div",{class:e.normalizeClass(["yc-picker-input",{"yc-picker-input-active":e.unref(_)&&e.unref(C)}]),onClick:n[1]||(n[1]=e.withModifiers(e=>$(1),["stop"]))},[e.createElementVNode("input",{value:e.unref(r.isArray)(e.unref(x))?e.unref(x)[1]:e.unref(x),placeholder:e.unref(r.isArray)(e.unref(E))?e.unref(E)[1]:e.unref(E),disabled:e.unref(q),readonly:e.unref(B),ref:r=>e.unref(j)[1]=r,class:"yc-picker-start-time"},null,8,d)],2)],64)):e.createCommentVNode("",!0),e.createElementVNode("div",p,[e.unref(V)?(e.openBlock(),e.createBlock(e.unref(t),{key:0,size:14,class:"yc-picker-clear-icon",onClick:P})):e.createCommentVNode("",!0),e.createElementVNode("span",f,[e.renderSlot(i.$slots,"suffix-icon",{},()=>[e.createVNode(e.unref(l))])])])],6)]),_:3},16,["popup-visible","position","popup-container","unmount-on-close","disabled"]))}});module.exports=m;
@@ -1 +1 @@
1
- .yc-picker{position:relative;padding:4px 11px 4px 4px;background-color:var(--color-fill-2);border:1px solid transparent;border-radius:2px;transition:all .1s cubic-bezier(0, 0, 1, 1);line-height:1.5715;display:inline-flex;align-items:center}.yc-picker:not(.yc-picker-disabled):not(.yc-picker-focus):hover{background-color:var(--color-fill-3);border-color:transparent}.yc-picker .yc-picker-has-prefix,.yc-picker .yc-picker-input.yc-picker-suffix,.yc-picker .yc-picker-separator{flex-shrink:0}.yc-picker .yc-picker-prefix{margin-right:4px;font-size:14px;color:var(--color-text-2)}.yc-picker .yc-picker-input{flex:1;height:100%;display:flex;align-items:center}.yc-picker .yc-picker-input input{height:100%;width:100%;padding:0;padding-left:8px;background-color:transparent;border:none;outline:none;text-align:left;color:var(--color-text-2);transition:all .1s cubic-bezier(0, 0, 1, 1)}.yc-picker .yc-picker-input input::placeholder{color:var(--color-text-3)}.yc-picker .yc-picker-separator{min-width:10px;padding:0 8px;color:var(--color-text-3)}.yc-picker .yc-picker-suffix{margin-left:4px;display:flex;align-items:center}.yc-picker .yc-picker-suffix .yc-icon-button{display:none}.yc-picker .yc-picker-suffix .yc-picker-suffix-icon{color:var(--color-text-2);display:flex;justify-content:center;align-items:center}.yc-picker-has-prefix{padding-left:12px}.yc-picker-allow-clear:hover .yc-picker-suffix .yc-icon-button{display:flex}.yc-picker-allow-clear:hover .yc-picker-suffix .yc-picker-suffix-icon{display:none}.yc-picker-focus{background-color:var(--color-bg-1);border-color:rgb(var(--primary-6));box-shadow:0 0 0 0 var(--color-primary-light-2)}.yc-picker-range .yc-picker-input-active input{background:var(--color-fill-2)}.yc-picker-error{background-color:var(--color-danger-light-1);border-color:transparent}.yc-picker-error:not(.yc-picker-disabled):not(.yc-picker-focus):hover{background-color:var(--color-danger-light-2)}.yc-picker-error.yc-picker-focus{background-color:var(--color-bg-2);border-color:rgb(var(--danger-6));box-shadow:0 0 0 0 var(--color-danger-light-2)}.yc-picker-disabled{cursor:not-allowed;color:var(--color-text-4);background-color:var(--color-fill-2);border-color:transparent}.yc-picker-disabled .yc-picker-input input{cursor:not-allowed}.yc-picker-disabled .yc-picker-input input::placeholder{color:var(--color-text-4)}.yc-picker-disabled .yc-picker-suffix .yc-picker-suffix-icon{color:var(--color-text-4)}.yc-picker-size-mini{height:24px}.yc-picker-size-mini input{font-size:12px}.yc-picker-size-small{height:28px}.yc-picker-size-small input{font-size:14px}.yc-picker-size-medium{height:32px}.yc-picker-size-medium input{font-size:14px}.yc-picker-size-large{height:36px}.yc-picker-size-large input{font-size:14px}.yc-timepicker-container{overflow:hidden;background-color:var(--color-bg-popup);border:1px solid var(--color-neutral-3);border-radius:4px;box-shadow:0 2px 5px rgba(0,0,0,0.1)}.yc-timepicker-container .yc-timepicker{position:relative;display:flex;padding:0}.yc-timepicker-container .yc-timepicker .yc-timepicker-column{overflow:hidden;width:64px;height:224px}.yc-timepicker-container .yc-timepicker .yc-timepicker-column:not(:last-child){border-right:1px solid var(--color-neutral-3)}.yc-timepicker-container .yc-timepicker .yc-timepicker-column ul .yc-timepicker-cell{padding:4px 0;color:var(--color-text-1);font-weight:500;cursor:pointer}.yc-timepicker-container .yc-timepicker .yc-timepicker-column ul .yc-timepicker-cell .yc-timepicker-cell-inner{height:24px;padding-left:24px;font-size:14px;line-height:24px}.yc-timepicker-container .yc-timepicker .yc-timepicker-column ul .yc-timepicker-cell-selected .yc-timepicker-cell-inner{font-weight:500;background-color:var(--color-fill-2)}.yc-timepicker-container .yc-timepicker .yc-timepicker-column ul .yc-timepicker-cell-disabled{color:var(--color-text-4);cursor:not-allowed}.yc-timepicker-container .yc-timepicker .yc-timepicker-column ul::after{display:block;width:100%;height:192px;content:''}.yc-timepicker-container .yc-timepicker-footer-extra-wrapper{padding:8px;border-top:1px solid var(--color-neutral-3);color:var(--color-text-1);font-size:12px}.yc-timepicker-container .yc-timepicker-footer-btn-wrapper{padding:8px;border-top:1px solid var(--color-neutral-3);display:flex;justify-content:space-between}
1
+ .yc-picker{position:relative;padding:4px 11px 4px 4px;background-color:var(--color-fill-2);border:1px solid transparent;border-radius:var(--border-radius-small);transition:all .1s cubic-bezier(0, 0, 1, 1);line-height:1.5715;display:inline-flex;align-items:center}.yc-picker:not(.yc-picker-disabled):not(.yc-picker-focus):hover{background-color:var(--color-fill-3);border-color:transparent}.yc-picker .yc-picker-has-prefix,.yc-picker .yc-picker-input.yc-picker-suffix,.yc-picker .yc-picker-separator{flex-shrink:0}.yc-picker .yc-picker-prefix{margin-right:4px;font-size:14px;color:var(--color-text-2)}.yc-picker .yc-picker-input{flex:1;height:100%;display:flex;align-items:center}.yc-picker .yc-picker-input input{height:100%;width:100%;padding:0;padding-left:8px;background-color:transparent;border:none;outline:none;text-align:left;color:var(--color-text-2);transition:all .1s cubic-bezier(0, 0, 1, 1)}.yc-picker .yc-picker-input input::placeholder{color:var(--color-text-3)}.yc-picker .yc-picker-separator{min-width:10px;padding:0 8px;color:var(--color-text-3)}.yc-picker .yc-picker-suffix{margin-left:4px;display:flex;align-items:center}.yc-picker .yc-picker-suffix .yc-icon-button{display:none}.yc-picker .yc-picker-suffix .yc-picker-suffix-icon{color:var(--color-text-2);display:flex;justify-content:center;align-items:center}.yc-picker-has-prefix{padding-left:12px}.yc-picker-allow-clear:hover .yc-picker-suffix .yc-icon-button{display:flex}.yc-picker-allow-clear:hover .yc-picker-suffix .yc-picker-suffix-icon{display:none}.yc-picker-focus{background-color:var(--color-bg-1);border-color:rgb(var(--primary-6));box-shadow:0 0 0 0 var(--color-primary-light-2)}.yc-picker-range .yc-picker-input-active input{background:var(--color-fill-2)}.yc-picker-error{background-color:var(--color-danger-light-1);border-color:transparent}.yc-picker-error:not(.yc-picker-disabled):not(.yc-picker-focus):hover{background-color:var(--color-danger-light-2)}.yc-picker-error.yc-picker-focus{background-color:var(--color-bg-2);border-color:rgb(var(--danger-6));box-shadow:0 0 0 0 var(--color-danger-light-2)}.yc-picker-disabled{cursor:not-allowed;color:var(--color-text-4);background-color:var(--color-fill-2);border-color:transparent}.yc-picker-disabled .yc-picker-input input{cursor:not-allowed}.yc-picker-disabled .yc-picker-input input::placeholder{color:var(--color-text-4)}.yc-picker-disabled .yc-picker-suffix .yc-picker-suffix-icon{color:var(--color-text-4)}.yc-picker-size-mini{height:24px}.yc-picker-size-mini input{font-size:12px}.yc-picker-size-small{height:28px}.yc-picker-size-small input{font-size:14px}.yc-picker-size-medium{height:32px}.yc-picker-size-medium input{font-size:14px}.yc-picker-size-large{height:36px}.yc-picker-size-large input{font-size:14px}.yc-timepicker-container{overflow:hidden;background-color:var(--color-bg-popup);border:1px solid var(--color-neutral-3);border-radius:var(--border-radius-medium);box-shadow:0 2px 5px rgba(0,0,0,0.1)}.yc-timepicker-container .yc-timepicker{position:relative;display:flex;padding:0}.yc-timepicker-container .yc-timepicker .yc-timepicker-column{overflow:hidden;width:64px;height:224px}.yc-timepicker-container .yc-timepicker .yc-timepicker-column:not(:last-child){border-right:1px solid var(--color-neutral-3)}.yc-timepicker-container .yc-timepicker .yc-timepicker-column ul .yc-timepicker-cell{padding:4px 0;color:var(--color-text-1);font-weight:500;cursor:pointer}.yc-timepicker-container .yc-timepicker .yc-timepicker-column ul .yc-timepicker-cell .yc-timepicker-cell-inner{height:24px;padding-left:24px;font-size:14px;line-height:24px}.yc-timepicker-container .yc-timepicker .yc-timepicker-column ul .yc-timepicker-cell-selected .yc-timepicker-cell-inner{font-weight:500;background-color:var(--color-fill-2)}.yc-timepicker-container .yc-timepicker .yc-timepicker-column ul .yc-timepicker-cell-disabled{color:var(--color-text-4);cursor:not-allowed}.yc-timepicker-container .yc-timepicker .yc-timepicker-column ul::after{display:block;width:100%;height:192px;content:''}.yc-timepicker-container .yc-timepicker-footer-extra-wrapper{padding:8px;border-top:1px solid var(--color-neutral-3);color:var(--color-text-1);font-size:12px}.yc-timepicker-container .yc-timepicker-footer-btn-wrapper{padding:8px;border-top:1px solid var(--color-neutral-3);display:flex;justify-content:space-between}
@@ -1 +1 @@
1
- .yc-timeline{display:flex;flex-direction:column}.yc-timeline-direction-horizontal{flex-direction:row}.yc-timeline-reverse{flex-direction:column-reverse}.yc-timeline-reverse.yc-timeline-direction-horizontal{flex-direction:row-reverse}.yc-timeline-reverse .yc-timeline-item-direction-vertical:first-child .yc-timeline-item-dot-line{display:none}.yc-timeline-reverse .yc-timeline-item-direction-vertical:last-child .yc-timeline-item-dot-line{position:absolute;top:18px;bottom:-4px;left:50%;transform:translate(-50%);width:1px;border-left-width:1px;border-color:var(--color-neutral-3)}.yc-timeline-alternate.yc-timeline-direction-vertical .yc-timeline-item:nth-child(2n){margin-right:calc(50% - 6px)}.yc-timeline-alternate.yc-timeline-direction-vertical .yc-timeline-item:nth-child(2n + 1){margin-left:50%}.yc-timeline-alternate.yc-timeline-direction-horizontal{min-height:200px;align-items:center}.yc-timeline-alternate.yc-timeline-direction-horizontal .yc-timeline-item:nth-child(2n){transform:translateY(calc(-50% + 6px))}.yc-timeline-alternate.yc-timeline-direction-horizontal .yc-timeline-item:nth-child(2n + 1){transform:translateY(calc(50%))}.yc-timeline-item{position:relative;color:var(--color-text-1);font-size:14px}.yc-timeline-item:not(:last-child) .yc-timeline-item-dot-line,.yc-timeline-item.yc-timeline-item-reverse:last-child .yc-timeline-item-dot-line{position:absolute;border-color:var(--color-neutral-3)}.yc-timeline-item .yc-timeline-item-dot-wrapper{position:absolute}.yc-timeline-item .yc-timeline-item-dot-wrapper .yc-timeline-item-dot-content{position:relative}.yc-timeline-item .yc-timeline-item-dot-wrapper .yc-timeline-item-dot-content .yc-timeline-item-dot-custom{position:absolute;top:50%;left:50%;display:inline-flex;color:rgb(var(--primary-6));background-color:var(--color-bg-1);transform:translateX(-50%) translateY(-50%);transform-origin:center}.yc-timeline-item .yc-timeline-item-dot-wrapper .yc-timeline-item-dot-content .yc-timeline-item-dot{position:relative;width:6px;height:6px;color:rgb(var(--primary-6));border-radius:50%}.yc-timeline-item .yc-timeline-item-dot-wrapper .yc-timeline-item-dot-content .yc-timeline-item-dot.yc-timeline-item-dot-solid{background-color:rgb(var(--primary-6))}.yc-timeline-item .yc-timeline-item-dot-wrapper .yc-timeline-item-dot-content .yc-timeline-item-dot.yc-timeline-item-dot-hollow{background-color:var(--color-bg-1);border:2px solid rgb(var(--primary-6))}.yc-timeline-item .yc-timeline-item-content-wrapper{position:relative;display:flex;flex-direction:column;gap:4px}.yc-timeline-item .yc-timeline-item-content-wrapper .yc-timeline-item-content{color:var(--color-text-1);font-size:14px;line-height:1.5715}.yc-timeline-item .yc-timeline-item-label{color:var(--color-text-3);font-size:12px;line-height:1.667}.yc-timeline-item-ghost.yc-timeline-item-direction-horizontal .yc-timeline-item-dot-wrapper .yc-timeline-item-dot-content .yc-timeline-item-dot-custom{left:0}.yc-timeline-item-direction-vertical{min-height:78px}.yc-timeline-item-direction-vertical:not(:last-child) .yc-timeline-item-dot-line,.yc-timeline-item-direction-vertical.yc-timeline-item-reverse:last-child .yc-timeline-item-dot-line{top:18px;bottom:-4px;left:50%;transform:translate(-50%);width:1px;border-left-width:1px}.yc-timeline-item-direction-vertical .yc-timeline-item-dot-wrapper{height:100%;text-align:center}.yc-timeline-item-direction-vertical .yc-timeline-item-dot-wrapper .yc-timeline-item-dot-content{width:6px;height:22px;line-height:22px}.yc-timeline-item-direction-vertical .yc-timeline-item-dot-wrapper .yc-timeline-item-dot-content .yc-timeline-item-dot{top:50%;margin-top:-50%}.yc-timeline-item-direction-horizontal{flex:1}.yc-timeline-item-direction-horizontal:not(:last-child) .yc-timeline-item-dot-line,.yc-timeline-item-direction-horizontal.yc-timeline-item-reverse:last-child .yc-timeline-item-dot-line{right:4px;left:12px;top:50%;transform:translateY(-50%);height:1px;border-top-width:1px}.yc-timeline-item-direction-horizontal .yc-timeline-item-dot-wrapper{width:100%}.yc-timeline-item-direction-horizontal .yc-timeline-item-dot-wrapper .yc-timeline-item-dot-content{height:6px;line-height:6px}.yc-timeline-item-reverse:first-child .yc-timeline-item-dot-line{display:none}.yc-timeline-item-label-is-relative .yc-timeline-item-label{position:absolute;top:0;max-width:100px}.yc-timeline-item-label-is-relative:not(.yc-timeline-item-alternate).yc-timeline-item-direction-horizontal.yc-timeline-item-top{margin-top:50px}.yc-timeline-item-label-is-relative:not(.yc-timeline-item-alternate).yc-timeline-item-direction-horizontal.yc-timeline-item-top .yc-timeline-item-label{top:0;padding-bottom:16px;transform:translateY(-100%)}.yc-timeline-item-label-is-relative:not(.yc-timeline-item-alternate).yc-timeline-item-direction-horizontal.yc-timeline-item-bottom{margin-bottom:50px}.yc-timeline-item-label-is-relative:not(.yc-timeline-item-alternate).yc-timeline-item-direction-horizontal.yc-timeline-item-bottom .yc-timeline-item-label{bottom:0;padding-top:16px;transform:translateY(100%)}.yc-timeline-item-label-is-relative:not(.yc-timeline-item-alternate).yc-timeline-item-direction-vertical.yc-timeline-item-left{margin-left:100px}.yc-timeline-item-label-is-relative:not(.yc-timeline-item-alternate).yc-timeline-item-direction-vertical.yc-timeline-item-left .yc-timeline-item-label{left:0;padding-right:16px;transform:translateX(-100%)}.yc-timeline-item-label-is-relative:not(.yc-timeline-item-alternate).yc-timeline-item-direction-vertical.yc-timeline-item-right{margin-right:100px}.yc-timeline-item-label-is-relative:not(.yc-timeline-item-alternate).yc-timeline-item-direction-vertical.yc-timeline-item-right .yc-timeline-item-label{right:0;padding-left:16px;transform:translateX(100%)}.yc-timeline-item-label-is-relative:not(.yc-timeline-item-alternate).yc-timeline-item-direction-vertical.yc-timeline-item-right .yc-timeline-item-content{text-align:right}.yc-timeline-item-left{padding-left:6px}.yc-timeline-item-left .yc-timeline-item-dot-wrapper{left:0}.yc-timeline-item-left .yc-timeline-item-content-wrapper{margin-left:16px}.yc-timeline-item-top{padding-top:6px}.yc-timeline-item-top .yc-timeline-item-dot-wrapper{top:0}.yc-timeline-item-top .yc-timeline-item-content-wrapper{margin-top:16px}.yc-timeline-item-right{padding-right:6px}.yc-timeline-item-right .yc-timeline-item-dot-wrapper{right:0}.yc-timeline-item-right .yc-timeline-item-content-wrapper{margin-right:16px}.yc-timeline-item-right .yc-timeline-item-content,.yc-timeline-item-right .yc-timeline-item-label{text-align:right}.yc-timeline-item-bottom{padding-bottom:6px}.yc-timeline-item-bottom .yc-timeline-item-dot-wrapper{bottom:0}.yc-timeline-item-bottom .yc-timeline-item-content-wrapper{margin-bottom:16px}
1
+ .yc-timeline{display:flex;flex-direction:column}.yc-timeline-direction-horizontal{flex-direction:row}.yc-timeline-reverse{flex-direction:column-reverse}.yc-timeline-reverse.yc-timeline-direction-horizontal{flex-direction:row-reverse}.yc-timeline-reverse .yc-timeline-item-direction-vertical:first-child .yc-timeline-item-dot-line{display:none}.yc-timeline-reverse .yc-timeline-item-direction-vertical:last-child .yc-timeline-item-dot-line{position:absolute;top:18px;bottom:-4px;left:50%;transform:translate(-50%);width:1px;border-left-width:1px;border-color:var(--color-neutral-3)}.yc-timeline-alternate.yc-timeline-direction-vertical .yc-timeline-item:nth-child(2n){margin-right:calc(50% - 6px)}.yc-timeline-alternate.yc-timeline-direction-vertical .yc-timeline-item:nth-child(2n + 1){margin-left:50%}.yc-timeline-alternate.yc-timeline-direction-horizontal{min-height:200px;align-items:center}.yc-timeline-alternate.yc-timeline-direction-horizontal .yc-timeline-item:nth-child(2n){transform:translateY(calc(-50% + 6px))}.yc-timeline-alternate.yc-timeline-direction-horizontal .yc-timeline-item:nth-child(2n + 1){transform:translateY(calc(50%))}.yc-timeline-item{position:relative;color:var(--color-text-1);font-size:14px}.yc-timeline-item:not(:last-child) .yc-timeline-item-dot-line,.yc-timeline-item.yc-timeline-item-reverse:last-child .yc-timeline-item-dot-line{position:absolute;border-color:var(--color-neutral-3)}.yc-timeline-item .yc-timeline-item-dot-wrapper{position:absolute}.yc-timeline-item .yc-timeline-item-dot-wrapper .yc-timeline-item-dot-content{position:relative}.yc-timeline-item .yc-timeline-item-dot-wrapper .yc-timeline-item-dot-content .yc-timeline-item-dot-custom{position:absolute;top:50%;left:50%;display:inline-flex;color:rgb(var(--primary-6));background-color:var(--color-bg-1);transform:translateX(-50%) translateY(-50%);transform-origin:center}.yc-timeline-item .yc-timeline-item-dot-wrapper .yc-timeline-item-dot-content .yc-timeline-item-dot{position:relative;width:6px;height:6px;color:rgb(var(--primary-6));border-radius:var(--border-radius-circle)}.yc-timeline-item .yc-timeline-item-dot-wrapper .yc-timeline-item-dot-content .yc-timeline-item-dot.yc-timeline-item-dot-solid{background-color:rgb(var(--primary-6))}.yc-timeline-item .yc-timeline-item-dot-wrapper .yc-timeline-item-dot-content .yc-timeline-item-dot.yc-timeline-item-dot-hollow{background-color:var(--color-bg-1);border:2px solid rgb(var(--primary-6))}.yc-timeline-item .yc-timeline-item-content-wrapper{position:relative;display:flex;flex-direction:column;gap:4px}.yc-timeline-item .yc-timeline-item-content-wrapper .yc-timeline-item-content{color:var(--color-text-1);font-size:14px;line-height:1.5715}.yc-timeline-item .yc-timeline-item-label{color:var(--color-text-3);font-size:12px;line-height:1.667}.yc-timeline-item-ghost.yc-timeline-item-direction-horizontal .yc-timeline-item-dot-wrapper .yc-timeline-item-dot-content .yc-timeline-item-dot-custom{left:0}.yc-timeline-item-direction-vertical{min-height:78px}.yc-timeline-item-direction-vertical:not(:last-child) .yc-timeline-item-dot-line,.yc-timeline-item-direction-vertical.yc-timeline-item-reverse:last-child .yc-timeline-item-dot-line{top:18px;bottom:-4px;left:50%;transform:translate(-50%);width:1px;border-left-width:1px}.yc-timeline-item-direction-vertical .yc-timeline-item-dot-wrapper{height:100%;text-align:center}.yc-timeline-item-direction-vertical .yc-timeline-item-dot-wrapper .yc-timeline-item-dot-content{width:6px;height:22px;line-height:22px}.yc-timeline-item-direction-vertical .yc-timeline-item-dot-wrapper .yc-timeline-item-dot-content .yc-timeline-item-dot{top:50%;margin-top:-50%}.yc-timeline-item-direction-horizontal{flex:1}.yc-timeline-item-direction-horizontal:not(:last-child) .yc-timeline-item-dot-line,.yc-timeline-item-direction-horizontal.yc-timeline-item-reverse:last-child .yc-timeline-item-dot-line{right:4px;left:12px;top:50%;transform:translateY(-50%);height:1px;border-top-width:1px}.yc-timeline-item-direction-horizontal .yc-timeline-item-dot-wrapper{width:100%}.yc-timeline-item-direction-horizontal .yc-timeline-item-dot-wrapper .yc-timeline-item-dot-content{height:6px;line-height:6px}.yc-timeline-item-reverse:first-child .yc-timeline-item-dot-line{display:none}.yc-timeline-item-label-is-relative .yc-timeline-item-label{position:absolute;top:0;max-width:100px}.yc-timeline-item-label-is-relative:not(.yc-timeline-item-alternate).yc-timeline-item-direction-horizontal.yc-timeline-item-top{margin-top:50px}.yc-timeline-item-label-is-relative:not(.yc-timeline-item-alternate).yc-timeline-item-direction-horizontal.yc-timeline-item-top .yc-timeline-item-label{top:0;padding-bottom:16px;transform:translateY(-100%)}.yc-timeline-item-label-is-relative:not(.yc-timeline-item-alternate).yc-timeline-item-direction-horizontal.yc-timeline-item-bottom{margin-bottom:50px}.yc-timeline-item-label-is-relative:not(.yc-timeline-item-alternate).yc-timeline-item-direction-horizontal.yc-timeline-item-bottom .yc-timeline-item-label{bottom:0;padding-top:16px;transform:translateY(100%)}.yc-timeline-item-label-is-relative:not(.yc-timeline-item-alternate).yc-timeline-item-direction-vertical.yc-timeline-item-left{margin-left:100px}.yc-timeline-item-label-is-relative:not(.yc-timeline-item-alternate).yc-timeline-item-direction-vertical.yc-timeline-item-left .yc-timeline-item-label{left:0;padding-right:16px;transform:translateX(-100%)}.yc-timeline-item-label-is-relative:not(.yc-timeline-item-alternate).yc-timeline-item-direction-vertical.yc-timeline-item-right{margin-right:100px}.yc-timeline-item-label-is-relative:not(.yc-timeline-item-alternate).yc-timeline-item-direction-vertical.yc-timeline-item-right .yc-timeline-item-label{right:0;padding-left:16px;transform:translateX(100%)}.yc-timeline-item-label-is-relative:not(.yc-timeline-item-alternate).yc-timeline-item-direction-vertical.yc-timeline-item-right .yc-timeline-item-content{text-align:right}.yc-timeline-item-left{padding-left:6px}.yc-timeline-item-left .yc-timeline-item-dot-wrapper{left:0}.yc-timeline-item-left .yc-timeline-item-content-wrapper{margin-left:16px}.yc-timeline-item-top{padding-top:6px}.yc-timeline-item-top .yc-timeline-item-dot-wrapper{top:0}.yc-timeline-item-top .yc-timeline-item-content-wrapper{margin-top:16px}.yc-timeline-item-right{padding-right:6px}.yc-timeline-item-right .yc-timeline-item-dot-wrapper{right:0}.yc-timeline-item-right .yc-timeline-item-content-wrapper{margin-right:16px}.yc-timeline-item-right .yc-timeline-item-content,.yc-timeline-item-right .yc-timeline-item-label{text-align:right}.yc-timeline-item-bottom{padding-bottom:6px}.yc-timeline-item-bottom .yc-timeline-item-dot-wrapper{bottom:0}.yc-timeline-item-bottom .yc-timeline-item-content-wrapper{margin-bottom:16px}
@@ -1 +1 @@
1
- .yc-tooltip .yc-tooltip-popup-content{max-width:350px;padding:8px 12px;border-radius:2px;color:var(--color-white);background-color:var(--color-tooltip-bg);font-size:14px;line-height:1.5715;text-align:left;word-wrap:break-word}.yc-tooltip .yc-tooltip-popup-content.yc-tooltip-mini{padding:4px 12px;font-size:14px}
1
+ .yc-tooltip .yc-tooltip-popup-content{max-width:350px;padding:8px 12px;border-radius:var(--border-radius-small);color:var(--color-white);background-color:var(--color-tooltip-bg);font-size:14px;line-height:1.5715;text-align:left;word-wrap:break-word}.yc-tooltip .yc-tooltip-popup-content.yc-tooltip-mini{padding:4px 12px;font-size:14px}
@@ -1 +1 @@
1
- "use strict";const e=require("./index.vue.js");;/* empty css */const s=Object.assign(e,{install:s=>{s.component("Yc"+e.name,e)}});module.exports=s;
1
+ "use strict";const e=;/* empty css */;/* empty css */const s=Object.assign(e,{install:s=>{s.component("Yc"+e.name,e)}});module.exports=s;
@@ -1 +1 @@
1
- "use strict";const e=require("./index.vue.js");,/* empty css */module.exports=e;
1
+ "use strict";const e=;/* empty css */,/* empty css */module.exports=e;
@@ -9,13 +9,13 @@ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
9
9
  declare const __VLS_component: import('vue').DefineComponent<TransferProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
10
10
  change: (value: import('./type').TransferItemValue[]) => any;
11
11
  select: (value: import('./type').TransferItemValue[]) => any;
12
- search: (value: string, type: "source" | "target") => any;
12
+ search: (value: string, type: "target" | "source") => any;
13
13
  "update:modelValue": (value: import('./type').TransferItemValue[]) => any;
14
14
  "update:selected": (value: import('./type').TransferItemValue[]) => any;
15
15
  }, string, import('vue').PublicProps, Readonly<TransferProps> & Readonly<{
16
16
  onChange?: ((value: import('./type').TransferItemValue[]) => any) | undefined;
17
17
  onSelect?: ((value: import('./type').TransferItemValue[]) => any) | undefined;
18
- onSearch?: ((value: string, type: "source" | "target") => any) | undefined;
18
+ onSearch?: ((value: string, type: "target" | "source") => any) | undefined;
19
19
  "onUpdate:modelValue"?: ((value: import('./type').TransferItemValue[]) => any) | undefined;
20
20
  "onUpdate:selected"?: ((value: import('./type').TransferItemValue[]) => any) | undefined;
21
21
  }>, {
@@ -1 +1 @@
1
- "use strict";const e=require("vue"),t=require("./hooks/useContext.js");require("../node_modules/tinycolor2/esm/tinycolor.js"),require("../_shared/utils/dom.js"),require("../_shared/utils/time.js"),require("../_shared/utils/locale.js");/* empty css */const a=require("../_shared/icons/IconArrowRight.vue.js"),r=require("./TransferPanel.vue.js");;/* empty css */const l=require("../Button/index.js"),o={key:0,class:"yc-transfer-operations"},s=e.defineComponent({name:"Transfer",__name:"Transfer",props:{data:{default:()=>[]},modelValue:{default:void 0},defaultValue:{default:()=>[]},selected:{default:void 0},defaultSelected:{default:()=>[]},disabled:{type:Boolean,default:!1},simple:{type:Boolean,default:!1},oneWay:{type:Boolean,default:!1},showSearch:{type:Boolean,default:!1},showSelectAll:{type:Boolean,default:!0},title:{default:()=>["Source","Target"]},sourceInputSearchProps:{default:()=>({})},targetInputSearchProps:{default:()=>({})}},emits:["update:selected","update:modelValue","change","select","search"],setup(s,{emit:u}){const d=s,c=u,{computedValue:n,targetChecked:i,computedSelected:f,sourceChecked:p}=t().provide(d,c),h=()=>{const e=[...p.value];n.value=[...n.value,...p.value],f.value=f.value.filter(t=>!e.includes(t))},m=()=>{const e=[...i.value];n.value=n.value.filter(t=>!e.includes(t)),f.value=f.value.filter(t=>!e.includes(t))};return(t,s)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["yc-transfer",{"yc-transfer-simple":t.simple,"yc-transfer-has-search":t.showSearch}])},[e.createVNode(r,{type:"source"}),t.simple?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",o,[e.createVNode(e.unref(l.default),{disabled:!e.unref(p).length||t.disabled,shape:"circle",onClick:h},{icon:e.withCtx(()=>[e.renderSlot(t.$slots,"to-target-icon",{},()=>[e.createVNode(e.unref(a))])]),_:3},8,["disabled"]),t.oneWay?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(e.unref(l.default),{key:0,disabled:!e.unref(i).length||t.disabled,shape:"circle",onClick:m},{icon:e.withCtx(()=>[e.renderSlot(t.$slots,"to-source-icon",{},()=>[e.createVNode(e.unref(a),{rotate:180})])]),_:3},8,["disabled"]))])),e.createVNode(r,{type:"target"})],2))}});module.exports=s;
1
+ "use strict";const e=require("vue"),t=require("./hooks/useContext.js");require("../node_modules/tinycolor2/esm/tinycolor.js"),require("../_shared/utils/dom.js"),require("../_shared/utils/time.js"),require("../_shared/utils/locale.js"),/* empty css */,/* empty css */;/* empty css */const r=require("../_shared/icons/IconArrowRight.vue.js"),a=require("./TransferPanel.vue.js");;/* empty css */const o=require("../Button/index.js"),l={key:0,class:"yc-transfer-operations"},s=e.defineComponent({name:"Transfer",__name:"Transfer",props:{data:{default:()=>[]},modelValue:{default:void 0},defaultValue:{default:()=>[]},selected:{default:void 0},defaultSelected:{default:()=>[]},disabled:{type:Boolean,default:!1},simple:{type:Boolean,default:!1},oneWay:{type:Boolean,default:!1},showSearch:{type:Boolean,default:!1},showSelectAll:{type:Boolean,default:!0},title:{default:()=>["Source","Target"]},sourceInputSearchProps:{default:()=>({})},targetInputSearchProps:{default:()=>({})}},emits:["update:selected","update:modelValue","change","select","search"],setup(s,{emit:n}){const u=s,d=n,{computedValue:c,targetChecked:i,computedSelected:f,sourceChecked:p}=t().provide(u,d),h=()=>{const e=[...p.value];c.value=[...c.value,...p.value],f.value=f.value.filter(t=>!e.includes(t))},m=()=>{const e=[...i.value];c.value=c.value.filter(t=>!e.includes(t)),f.value=f.value.filter(t=>!e.includes(t))};return(t,s)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["yc-transfer",{"yc-transfer-simple":t.simple,"yc-transfer-has-search":t.showSearch}])},[e.createVNode(a,{type:"source"}),t.simple?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",l,[e.createVNode(e.unref(o.default),{disabled:!e.unref(p).length||t.disabled,shape:"circle",onClick:h},{icon:e.withCtx(()=>[e.renderSlot(t.$slots,"to-target-icon",{},()=>[e.createVNode(e.unref(r))])]),_:3},8,["disabled"]),t.oneWay?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(e.unref(o.default),{key:0,disabled:!e.unref(i).length||t.disabled,shape:"circle",onClick:m},{icon:e.withCtx(()=>[e.renderSlot(t.$slots,"to-source-icon",{},()=>[e.createVNode(e.unref(r),{rotate:180})])]),_:3},8,["disabled"]))])),e.createVNode(a,{type:"target"})],2))}});module.exports=s;