yc-design-vue 1.8.7 → 1.8.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (681) hide show
  1. package/es/Affix/index.vue.js +1 -0
  2. package/es/Alert/index.d.ts +3 -3
  3. package/es/Alert/index.vue.d.ts +1 -1
  4. package/es/Alert/index.vue.js +1 -0
  5. package/es/Anchor/Anchor.vue.js +1 -0
  6. package/es/Anchor/AnchorLink.vue.js +1 -0
  7. package/es/Anchor/hooks/useContext.js +1 -0
  8. package/es/AutoComplete/index.d.ts +19 -19
  9. package/es/AutoComplete/index.vue.d.ts +33 -33
  10. package/es/AutoComplete/index.vue.js +1 -0
  11. package/es/Avatar/Avatar.vue.d.ts +2 -2
  12. package/es/Avatar/Avatar.vue.js +1 -0
  13. package/es/Avatar/AvatarGroup.vue.js +1 -0
  14. package/es/Avatar/index.d.ts +5 -5
  15. package/es/BackTop/index.vue.js +1 -0
  16. package/es/Badge/index.vue.js +1 -0
  17. package/es/Breadcrumb/Breadcrumb.vue.js +1 -0
  18. package/es/Breadcrumb/BreadcrumbItem.vue.js +1 -0
  19. package/es/Breadcrumb/BreadcrumbMore.vue.js +1 -0
  20. package/es/Breadcrumb/BreadcrumbSeparator.vue.js +2 -1
  21. package/es/Button/Button.vue.d.ts +3 -3
  22. package/es/Button/ButtonGroup.vue.d.ts +1 -1
  23. package/es/Button/hooks/useContext.js +1 -0
  24. package/es/Button/index.d.ts +12 -12
  25. package/es/Calendar/Calendar.vue.js +2 -1
  26. package/es/Calendar/CalendarMonth.vue.d.ts +1 -1
  27. package/es/Calendar/CalendarMonth.vue.js +1 -1
  28. package/es/Calendar/CalendarYear.vue.js +1 -1
  29. package/es/Card/Card.vue.d.ts +1 -1
  30. package/es/Card/Card.vue.js +1 -0
  31. package/es/Card/CardMeta.vue.d.ts +1 -1
  32. package/es/Card/CardMeta.vue.js +1 -0
  33. package/es/Card/index.d.ts +6 -6
  34. package/es/Carousel/Carousel.vue.js +1 -0
  35. package/es/Carousel/CarouselArrow.vue.js +1 -0
  36. package/es/Carousel/CarouselIndicator.vue.js +1 -0
  37. package/es/Carousel/hooks/useContext.js +1 -0
  38. package/es/Cascader/Cascader.vue.d.ts +17 -17
  39. package/es/Cascader/Cascader.vue.js +1 -0
  40. package/es/Cascader/CascaderIcon.vue.js +1 -0
  41. package/es/Cascader/CascaderOption.vue.js +1 -0
  42. package/es/Cascader/CascaderPanel.vue.js +1 -0
  43. package/es/Cascader/CascaderSearchPanel.vue.js +1 -0
  44. package/es/Cascader/hooks/useContext.js +1 -0
  45. package/es/Cascader/index.d.ts +16 -16
  46. package/es/Checkbox/Checkbox.vue.js +1 -0
  47. package/es/Checkbox/CheckboxGroup.vue.d.ts +1 -1
  48. package/es/Checkbox/hooks/useContext.js +1 -0
  49. package/es/Checkbox/index.d.ts +3 -3
  50. package/es/Collapse/CollapseItem.vue.js +1 -0
  51. package/es/Collapse/hooks/useContext.js +1 -0
  52. package/es/ColorPicker/ColorControl.vue.js +1 -0
  53. package/es/ColorPicker/ColorInput.vue.js +1 -0
  54. package/es/ColorPicker/ColorList.vue.js +7 -1
  55. package/es/ColorPicker/ColorPalette.vue.js +1 -0
  56. package/es/ColorPicker/ColorPanel.vue.js +7 -1
  57. package/es/ColorPicker/hooks/useContext.js +1 -0
  58. package/es/Comment/index.vue.js +1 -0
  59. package/es/ConfigProvider/index.d.ts +3 -3
  60. package/es/ConfigProvider/index.vue.d.ts +1 -1
  61. package/es/ConfigProvider/index.vue.js +4 -12
  62. package/es/ConfigProvider/type.d.ts +3 -2
  63. package/es/Descriptions/ReuseItem.vue.js +1 -0
  64. package/es/Descriptions/ReuseTd.vue.js +1 -0
  65. package/es/Descriptions/hooks/useContext.js +1 -0
  66. package/es/Divider/index.d.ts +3 -3
  67. package/es/Divider/index.vue.d.ts +1 -1
  68. package/es/Divider/index.vue.js +1 -0
  69. package/es/Drawer/Drawer.vue.d.ts +4 -4
  70. package/es/Drawer/Drawer.vue.js +2 -1
  71. package/es/Drawer/DrawerService.vue.d.ts +2 -2
  72. package/es/Drawer/DrawerService.vue.js +1 -0
  73. package/es/Drawer/index.d.ts +11 -11
  74. package/es/Dropdown/Dropdown.vue.js +1 -0
  75. package/es/Dropdown/DropdownButton.vue.d.ts +1 -1
  76. package/es/Dropdown/DropdownButton.vue.js +1 -0
  77. package/es/Dropdown/Dsubmenu.vue.js +1 -0
  78. package/es/Dropdown/hooks/useContext.js +1 -0
  79. package/es/Dropdown/index.d.ts +3 -3
  80. package/es/Empty/index.vue.js +2 -1
  81. package/es/Grid/Grid.vue.js +1 -0
  82. package/es/Grid/GridCol.vue.js +1 -0
  83. package/es/Grid/GridItem.vue.js +1 -0
  84. package/es/Grid/GridRow.vue.js +1 -0
  85. package/es/Grid/hooks/useContext.js +1 -0
  86. package/es/Image/Image.vue.d.ts +2 -2
  87. package/es/Image/Image.vue.js +2 -1
  88. package/es/Image/ImagePreview.vue.js +1 -0
  89. package/es/Image/ImagePreviewArrow.vue.js +1 -0
  90. package/es/Image/ImagePreviewToolbar.vue.js +8 -7
  91. package/es/Image/hooks/useContext.js +1 -0
  92. package/es/Image/index.d.ts +6 -6
  93. package/es/Input/Input.vue.d.ts +3 -3
  94. package/es/Input/Input.vue.js +1 -0
  95. package/es/Input/InputSuffix.vue.js +1 -0
  96. package/es/Input/hooks/useLimitedInput.js +1 -0
  97. package/es/Input/index.d.ts +9 -9
  98. package/es/InputNumber/InputNumber.vue.d.ts +18 -18
  99. package/es/InputNumber/InputNumber.vue.js +1 -0
  100. package/es/InputNumber/InputOperaBtn.vue.js +1 -0
  101. package/es/InputNumber/index.d.ts +19 -19
  102. package/es/InputTag/index.d.ts +6 -6
  103. package/es/InputTag/index.vue.d.ts +2 -2
  104. package/es/InputTag/index.vue.js +1 -0
  105. package/es/Layout/Layout.vue.js +1 -0
  106. package/es/Layout/LayoutSider.vue.js +1 -0
  107. package/es/Layout/hooks/useSiderContext.js +1 -0
  108. package/es/Link/index.d.ts +3 -3
  109. package/es/Link/index.vue.d.ts +1 -1
  110. package/es/Link/index.vue.js +1 -0
  111. package/es/List/List.vue.d.ts +7 -7
  112. package/es/List/List.vue.js +1 -0
  113. package/es/List/ListItemMeta.vue.d.ts +1 -1
  114. package/es/List/hooks/useScrollReach.js +1 -0
  115. package/es/List/index.d.ts +9 -9
  116. package/es/Mention/index.d.ts +22 -22
  117. package/es/Mention/index.vue.d.ts +39 -39
  118. package/es/Mention/index.vue.js +1 -0
  119. package/es/Menu/Menu.vue.js +1 -0
  120. package/es/Menu/MenuEllipsis.vue.js +1 -0
  121. package/es/Menu/MenuItem.vue.js +1 -0
  122. package/es/Menu/MenuItemGroup.vue.js +1 -0
  123. package/es/Menu/SubMenu.vue.js +1 -0
  124. package/es/Menu/hooks/useContext.js +1 -0
  125. package/es/Message/Message.vue.d.ts +1 -1
  126. package/es/Message/Message.vue.js +1 -0
  127. package/es/Message/index.d.ts +3 -3
  128. package/es/Message/index.js +1 -0
  129. package/es/Modal/Modal.vue.d.ts +4 -4
  130. package/es/Modal/Modal.vue.js +2 -1
  131. package/es/Modal/ModalService.vue.d.ts +2 -2
  132. package/es/Modal/ModalService.vue.js +1 -0
  133. package/es/Modal/hooks/useModalClose.js +1 -0
  134. package/es/Modal/hooks/useModalDraggable.js +1 -0
  135. package/es/Modal/hooks/useOnBeforeClose.js +1 -0
  136. package/es/Modal/index.d.ts +11 -11
  137. package/es/Notification/Notification.vue.d.ts +1 -1
  138. package/es/Notification/Notification.vue.js +1 -0
  139. package/es/Notification/index.d.ts +3 -3
  140. package/es/Notification/index.js +1 -0
  141. package/es/OverflowList/index.d.ts +3 -3
  142. package/es/OverflowList/index.vue.d.ts +1 -1
  143. package/es/OverflowList/index.vue.js +1 -0
  144. package/es/PageHeader/index.vue.js +1 -0
  145. package/es/Pagination/Pagination.vue.js +6 -2
  146. package/es/Pagination/PaginationItem.vue.js +1 -0
  147. package/es/Pagination/hooks/useContext.d.ts +1 -256
  148. package/es/Pagination/hooks/useContext.js +2 -1
  149. package/es/Popconfirm/index.d.ts +19 -19
  150. package/es/Popconfirm/index.vue.d.ts +7 -7
  151. package/es/Popconfirm/index.vue.js +2 -1
  152. package/es/Popover/index.vue.js +1 -0
  153. package/es/Progress/Progress.vue.d.ts +1 -1
  154. package/es/Progress/Progress.vue.js +1 -0
  155. package/es/Progress/ProgressCircle.vue.js +1 -0
  156. package/es/Progress/ProgressLine.vue.js +1 -0
  157. package/es/Progress/ProgressSteps.vue.js +1 -0
  158. package/es/Progress/index.d.ts +3 -3
  159. package/es/Radio/Radio.vue.d.ts +1 -1
  160. package/es/Radio/Radio.vue.js +1 -0
  161. package/es/Radio/RadioGroup.vue.d.ts +1 -1
  162. package/es/Radio/hooks/useContext.js +1 -0
  163. package/es/Radio/index.d.ts +6 -6
  164. package/es/Rate/index.vue.js +1 -0
  165. package/es/ResizeBox/index.vue.js +1 -0
  166. package/es/Scrollbar/Scrollbar.vue.d.ts +1 -1
  167. package/es/Scrollbar/Scrollbar.vue.js +1 -0
  168. package/es/Scrollbar/ScrollbarTrack.vue.js +1 -0
  169. package/es/Scrollbar/index.d.ts +3 -3
  170. package/es/Select/Option.vue.js +1 -0
  171. package/es/Select/Select.vue.d.ts +26 -26
  172. package/es/Select/Select.vue.js +1 -0
  173. package/es/Select/SelectIcon.vue.js +1 -0
  174. package/es/Select/SelectRealList.vue.js +1 -0
  175. package/es/Select/SelectView.vue.js +1 -0
  176. package/es/Select/SelectVirtualList.vue.js +1 -0
  177. package/es/Select/hooks/useContext.js +1 -0
  178. package/es/Select/hooks/useSelectOptions.js +1 -0
  179. package/es/Select/index.d.ts +14 -14
  180. package/es/Skeleton/SkeletonLine.vue.js +1 -0
  181. package/es/Skeleton/SkeletonShape.vue.js +1 -0
  182. package/es/Slider/Slider.vue.d.ts +3 -3
  183. package/es/Slider/SliderBtn.vue.js +1 -0
  184. package/es/Slider/hooks/useContext.js +1 -0
  185. package/es/Slider/hooks/useSliderDraggable.js +1 -0
  186. package/es/Slider/index.d.ts +9 -9
  187. package/es/Space/index.d.ts +3 -3
  188. package/es/Space/index.vue.d.ts +1 -1
  189. package/es/Space/index.vue.js +1 -0
  190. package/es/Spin/index.d.ts +3 -3
  191. package/es/Spin/index.vue.d.ts +1 -1
  192. package/es/Spin/index.vue.js +1 -0
  193. package/es/Split/index.d.ts +6 -6
  194. package/es/Split/index.vue.d.ts +2 -2
  195. package/es/Split/index.vue.js +1 -0
  196. package/es/Statistic/Countdown.vue.d.ts +2 -2
  197. package/es/Statistic/Countdown.vue.js +1 -0
  198. package/es/Statistic/Statistic.vue.d.ts +2 -2
  199. package/es/Statistic/Statistic.vue.js +1 -0
  200. package/es/Statistic/index.d.ts +12 -12
  201. package/es/Steps/Step.vue.d.ts +1 -1
  202. package/es/Steps/Step.vue.js +1 -0
  203. package/es/Steps/Steps.vue.d.ts +1 -1
  204. package/es/Steps/hooks/useContext.js +1 -0
  205. package/es/Steps/index.d.ts +6 -6
  206. package/es/Switch/index.d.ts +6 -6
  207. package/es/Switch/index.vue.d.ts +2 -2
  208. package/es/Switch/index.vue.js +1 -0
  209. package/es/Tabs/TabButton.vue.js +1 -0
  210. package/es/Tabs/TabPane.vue.js +1 -0
  211. package/es/Tabs/Tabs.vue.d.ts +3 -3
  212. package/es/Tabs/Tabs.vue.js +1 -0
  213. package/es/Tabs/TabsNavInk.vue.js +1 -0
  214. package/es/Tabs/TabsTab.vue.js +1 -0
  215. package/es/Tabs/hooks/useContext.js +1 -0
  216. package/es/Tabs/hooks/useTabsScroll.js +1 -0
  217. package/es/Tabs/index.d.ts +8 -8
  218. package/es/Tag/index.d.ts +3 -3
  219. package/es/Tag/index.vue.d.ts +1 -1
  220. package/es/Tag/index.vue.js +1 -0
  221. package/es/Textarea/hooks/useTextareaHeight.js +1 -0
  222. package/es/Textarea/index.d.ts +6 -6
  223. package/es/Textarea/index.vue.d.ts +2 -2
  224. package/es/Textarea/index.vue.js +1 -0
  225. package/es/TimePicker/TimePicker.vue.d.ts +3 -3
  226. package/es/TimePicker/TimePicker.vue.js +6 -6
  227. package/es/TimePicker/TimePickerPanel.vue.js +10 -10
  228. package/es/TimePicker/hooks/useContext.d.ts +1 -0
  229. package/es/TimePicker/hooks/useContext.js +11 -2
  230. package/es/TimePicker/index.d.ts +9 -9
  231. package/es/Timeline/TimelineItemPending.vue.js +1 -0
  232. package/es/Timeline/hooks/useContext.js +1 -0
  233. package/es/Tooltip/index.vue.js +1 -0
  234. package/es/Transfer/Transfer.vue.js +1 -0
  235. package/es/Transfer/TransferPanel.vue.js +1 -0
  236. package/es/Transfer/hooks/useContext.js +1 -0
  237. package/es/Trigger/hooks/useContext.js +1 -0
  238. package/es/Trigger/hooks/useTriggerPosition.js +1 -0
  239. package/es/Trigger/hooks/useTriggerVisible.js +1 -0
  240. package/es/Trigger/index.vue.js +1 -0
  241. package/es/Typography/TypographyBase.vue.d.ts +19 -19
  242. package/es/Typography/TypographyBase.vue.js +2 -1
  243. package/es/VerificationCode/index.d.ts +6 -6
  244. package/es/VerificationCode/index.vue.d.ts +2 -2
  245. package/es/VerificationCode/index.vue.js +1 -0
  246. package/es/Watermark/index.d.ts +3 -3
  247. package/es/Watermark/index.vue.d.ts +1 -1
  248. package/es/Watermark/index.vue.js +1 -0
  249. package/es/_shared/components/ExpandTransition.vue2.js +1 -0
  250. package/es/_shared/components/Icon.vue3.js +1 -0
  251. package/es/_shared/components/IconButton.vue.js +1 -0
  252. package/es/_shared/constants/index.js +1 -0
  253. package/es/_shared/icons/IconFullScreen.vue.js +1 -17
  254. package/es/_shared/icons/IconFullScreen.vue2.js +17 -1
  255. package/es/_shared/icons/IconOriginSize.vue.js +1 -23
  256. package/es/_shared/icons/IconOriginSize.vue2.js +23 -1
  257. package/es/_shared/icons/IconRotateLeft.vue.js +1 -17
  258. package/es/_shared/icons/IconRotateLeft.vue2.js +17 -1
  259. package/es/_shared/icons/IconRotateRight.vue.js +1 -17
  260. package/es/_shared/icons/IconRotateRight.vue2.js +17 -1
  261. package/es/_shared/icons/IconSeparator.vue.js +17 -1
  262. package/es/_shared/icons/IconSeparator.vue2.js +1 -17
  263. package/es/_shared/icons/IconZoomIn.vue.js +1 -17
  264. package/es/_shared/icons/IconZoomIn.vue2.js +17 -1
  265. package/es/_shared/icons/IconZoomOut.vue.js +1 -17
  266. package/es/_shared/icons/IconZoomOut.vue2.js +17 -1
  267. package/es/_shared/utils/control.js +1 -0
  268. package/es/_shared/utils/global-config.d.ts +3 -1
  269. package/es/_shared/utils/global-config.js +4 -0
  270. package/es/_shared/utils/index.d.ts +1 -0
  271. package/es/_shared/utils/locale.d.ts +22 -0
  272. package/es/_shared/utils/locale.js +39 -0
  273. package/es/index.d.ts +27 -27
  274. package/es/index.js +0 -2
  275. package/es/lang/ar-eg.js +156 -0
  276. package/es/lang/de-de.js +157 -0
  277. package/es/lang/en-us.js +161 -0
  278. package/es/lang/es-es.js +156 -0
  279. package/es/lang/fr-fr.js +158 -0
  280. package/es/lang/id-id.js +157 -0
  281. package/es/lang/it-it.js +157 -0
  282. package/es/lang/ja-jp.js +204 -0
  283. package/es/lang/km-kh.js +156 -0
  284. package/es/lang/ko-kr.js +156 -0
  285. package/es/lang/ms-my.js +156 -0
  286. package/es/lang/nl-nl.js +204 -0
  287. package/es/lang/pt-pt.js +156 -0
  288. package/es/lang/ru-ru.js +204 -0
  289. package/es/lang/th-th.js +156 -0
  290. package/es/lang/vi-vn.js +156 -0
  291. package/es/lang/zh-cn.js +204 -0
  292. package/es/lang/zh-tw.js +204 -0
  293. package/es/public/lang/zh-cn.js +202 -0
  294. package/lib/Affix/index.vue.js +1 -1
  295. package/lib/Alert/index.d.ts +3 -3
  296. package/lib/Alert/index.vue.d.ts +1 -1
  297. package/lib/Alert/index.vue.js +1 -1
  298. package/lib/Anchor/Anchor.vue.js +1 -1
  299. package/lib/Anchor/AnchorLink.vue.js +1 -1
  300. package/lib/Anchor/hooks/useContext.js +1 -1
  301. package/lib/AutoComplete/index.d.ts +19 -19
  302. package/lib/AutoComplete/index.vue.d.ts +33 -33
  303. package/lib/AutoComplete/index.vue.js +1 -1
  304. package/lib/Avatar/Avatar.vue.d.ts +2 -2
  305. package/lib/Avatar/Avatar.vue.js +1 -1
  306. package/lib/Avatar/AvatarGroup.vue.js +1 -1
  307. package/lib/Avatar/index.d.ts +5 -5
  308. package/lib/BackTop/index.vue.js +1 -1
  309. package/lib/Badge/index.vue.js +1 -1
  310. package/lib/Breadcrumb/Breadcrumb.vue.js +1 -1
  311. package/lib/Breadcrumb/BreadcrumbItem.vue.js +1 -1
  312. package/lib/Breadcrumb/BreadcrumbMore.vue.js +1 -1
  313. package/lib/Breadcrumb/BreadcrumbSeparator.vue.js +1 -1
  314. package/lib/Button/Button.vue.d.ts +3 -3
  315. package/lib/Button/ButtonGroup.vue.d.ts +1 -1
  316. package/lib/Button/hooks/useContext.js +1 -1
  317. package/lib/Button/index.d.ts +12 -12
  318. package/lib/Calendar/Calendar.vue.js +1 -1
  319. package/lib/Calendar/CalendarMonth.vue.d.ts +1 -1
  320. package/lib/Calendar/CalendarMonth.vue.js +1 -1
  321. package/lib/Calendar/CalendarYear.vue.js +1 -1
  322. package/lib/Card/Card.vue.d.ts +1 -1
  323. package/lib/Card/Card.vue.js +1 -1
  324. package/lib/Card/CardMeta.vue.d.ts +1 -1
  325. package/lib/Card/CardMeta.vue.js +1 -1
  326. package/lib/Card/index.d.ts +6 -6
  327. package/lib/Carousel/Carousel.vue.js +1 -1
  328. package/lib/Carousel/CarouselArrow.vue.js +1 -1
  329. package/lib/Carousel/CarouselIndicator.vue.js +1 -1
  330. package/lib/Carousel/hooks/useContext.js +1 -1
  331. package/lib/Cascader/Cascader.vue.d.ts +17 -17
  332. package/lib/Cascader/Cascader.vue.js +1 -1
  333. package/lib/Cascader/CascaderIcon.vue.js +1 -1
  334. package/lib/Cascader/CascaderOption.vue.js +1 -1
  335. package/lib/Cascader/CascaderPanel.vue.js +1 -1
  336. package/lib/Cascader/CascaderSearchPanel.vue.js +1 -1
  337. package/lib/Cascader/hooks/useContext.js +1 -1
  338. package/lib/Cascader/index.d.ts +16 -16
  339. package/lib/Checkbox/Checkbox.vue.js +1 -1
  340. package/lib/Checkbox/CheckboxGroup.vue.d.ts +1 -1
  341. package/lib/Checkbox/hooks/useContext.js +1 -1
  342. package/lib/Checkbox/index.d.ts +3 -3
  343. package/lib/Collapse/CollapseItem.vue.js +1 -1
  344. package/lib/Collapse/hooks/useContext.js +1 -1
  345. package/lib/ColorPicker/ColorControl.vue.js +1 -1
  346. package/lib/ColorPicker/ColorInput.vue.js +1 -1
  347. package/lib/ColorPicker/ColorList.vue.js +1 -1
  348. package/lib/ColorPicker/ColorPalette.vue.js +1 -1
  349. package/lib/ColorPicker/ColorPanel.vue.js +1 -1
  350. package/lib/ColorPicker/hooks/useContext.js +1 -1
  351. package/lib/Comment/index.vue.js +1 -1
  352. package/lib/ConfigProvider/index.d.ts +3 -3
  353. package/lib/ConfigProvider/index.vue.d.ts +1 -1
  354. package/lib/ConfigProvider/index.vue.js +1 -1
  355. package/lib/ConfigProvider/type.d.ts +3 -2
  356. package/lib/Descriptions/ReuseItem.vue.js +1 -1
  357. package/lib/Descriptions/ReuseTd.vue.js +1 -1
  358. package/lib/Descriptions/hooks/useContext.js +1 -1
  359. package/lib/Divider/index.d.ts +3 -3
  360. package/lib/Divider/index.vue.d.ts +1 -1
  361. package/lib/Divider/index.vue.js +1 -1
  362. package/lib/Drawer/Drawer.vue.d.ts +4 -4
  363. package/lib/Drawer/Drawer.vue.js +1 -1
  364. package/lib/Drawer/DrawerService.vue.d.ts +2 -2
  365. package/lib/Drawer/DrawerService.vue.js +1 -1
  366. package/lib/Drawer/index.d.ts +11 -11
  367. package/lib/Dropdown/Dropdown.vue.js +1 -1
  368. package/lib/Dropdown/DropdownButton.vue.d.ts +1 -1
  369. package/lib/Dropdown/DropdownButton.vue.js +1 -1
  370. package/lib/Dropdown/Dsubmenu.vue.js +1 -1
  371. package/lib/Dropdown/hooks/useContext.js +1 -1
  372. package/lib/Dropdown/index.d.ts +3 -3
  373. package/lib/Empty/index.vue.js +1 -1
  374. package/lib/Grid/Grid.vue.js +1 -1
  375. package/lib/Grid/GridCol.vue.js +1 -1
  376. package/lib/Grid/GridItem.vue.js +1 -1
  377. package/lib/Grid/GridRow.vue.js +1 -1
  378. package/lib/Grid/hooks/useContext.js +1 -1
  379. package/lib/Image/Image.vue.d.ts +2 -2
  380. package/lib/Image/Image.vue.js +1 -1
  381. package/lib/Image/ImagePreview.vue.js +1 -1
  382. package/lib/Image/ImagePreviewArrow.vue.js +1 -1
  383. package/lib/Image/ImagePreviewToolbar.vue.js +1 -1
  384. package/lib/Image/hooks/useContext.js +1 -1
  385. package/lib/Image/index.d.ts +6 -6
  386. package/lib/Input/Input.vue.d.ts +3 -3
  387. package/lib/Input/Input.vue.js +1 -1
  388. package/lib/Input/InputSuffix.vue.js +1 -1
  389. package/lib/Input/hooks/useLimitedInput.js +1 -1
  390. package/lib/Input/index.d.ts +9 -9
  391. package/lib/InputNumber/InputNumber.vue.d.ts +18 -18
  392. package/lib/InputNumber/InputNumber.vue.js +1 -1
  393. package/lib/InputNumber/InputOperaBtn.vue.js +1 -1
  394. package/lib/InputNumber/index.d.ts +19 -19
  395. package/lib/InputTag/index.d.ts +6 -6
  396. package/lib/InputTag/index.vue.d.ts +2 -2
  397. package/lib/InputTag/index.vue.js +1 -1
  398. package/lib/Layout/Layout.vue.js +1 -1
  399. package/lib/Layout/LayoutSider.vue.js +1 -1
  400. package/lib/Layout/hooks/useSiderContext.js +1 -1
  401. package/lib/Link/index.d.ts +3 -3
  402. package/lib/Link/index.vue.d.ts +1 -1
  403. package/lib/Link/index.vue.js +1 -1
  404. package/lib/List/List.vue.d.ts +7 -7
  405. package/lib/List/List.vue.js +1 -1
  406. package/lib/List/ListItemMeta.vue.d.ts +1 -1
  407. package/lib/List/hooks/useScrollReach.js +1 -1
  408. package/lib/List/index.d.ts +9 -9
  409. package/lib/Mention/index.d.ts +22 -22
  410. package/lib/Mention/index.vue.d.ts +39 -39
  411. package/lib/Mention/index.vue.js +1 -1
  412. package/lib/Menu/Menu.vue.js +1 -1
  413. package/lib/Menu/MenuEllipsis.vue.js +1 -1
  414. package/lib/Menu/MenuItem.vue.js +1 -1
  415. package/lib/Menu/MenuItemGroup.vue.js +1 -1
  416. package/lib/Menu/SubMenu.vue.js +1 -1
  417. package/lib/Menu/hooks/useContext.js +1 -1
  418. package/lib/Message/Message.vue.d.ts +1 -1
  419. package/lib/Message/Message.vue.js +1 -1
  420. package/lib/Message/index.d.ts +3 -3
  421. package/lib/Message/index.js +1 -1
  422. package/lib/Modal/Modal.vue.d.ts +4 -4
  423. package/lib/Modal/Modal.vue.js +1 -1
  424. package/lib/Modal/ModalService.vue.d.ts +2 -2
  425. package/lib/Modal/ModalService.vue.js +1 -1
  426. package/lib/Modal/hooks/useModalClose.js +1 -1
  427. package/lib/Modal/hooks/useModalDraggable.js +1 -1
  428. package/lib/Modal/hooks/useOnBeforeClose.js +1 -1
  429. package/lib/Modal/index.d.ts +11 -11
  430. package/lib/Notification/Notification.vue.d.ts +1 -1
  431. package/lib/Notification/Notification.vue.js +1 -1
  432. package/lib/Notification/index.d.ts +3 -3
  433. package/lib/Notification/index.js +1 -1
  434. package/lib/OverflowList/index.d.ts +3 -3
  435. package/lib/OverflowList/index.vue.d.ts +1 -1
  436. package/lib/OverflowList/index.vue.js +1 -1
  437. package/lib/PageHeader/index.vue.js +1 -1
  438. package/lib/Pagination/Pagination.vue.js +1 -1
  439. package/lib/Pagination/PaginationItem.vue.js +1 -1
  440. package/lib/Pagination/hooks/useContext.d.ts +1 -256
  441. package/lib/Pagination/hooks/useContext.js +1 -1
  442. package/lib/Popconfirm/index.d.ts +19 -19
  443. package/lib/Popconfirm/index.vue.d.ts +7 -7
  444. package/lib/Popconfirm/index.vue.js +1 -1
  445. package/lib/Popover/index.vue.js +1 -1
  446. package/lib/Progress/Progress.vue.d.ts +1 -1
  447. package/lib/Progress/Progress.vue.js +1 -1
  448. package/lib/Progress/ProgressCircle.vue.js +1 -1
  449. package/lib/Progress/ProgressLine.vue.js +1 -1
  450. package/lib/Progress/ProgressSteps.vue.js +1 -1
  451. package/lib/Progress/index.d.ts +3 -3
  452. package/lib/Radio/Radio.vue.d.ts +1 -1
  453. package/lib/Radio/Radio.vue.js +1 -1
  454. package/lib/Radio/RadioGroup.vue.d.ts +1 -1
  455. package/lib/Radio/hooks/useContext.js +1 -1
  456. package/lib/Radio/index.d.ts +6 -6
  457. package/lib/Rate/index.vue.js +1 -1
  458. package/lib/ResizeBox/index.vue.js +1 -1
  459. package/lib/Scrollbar/Scrollbar.vue.d.ts +1 -1
  460. package/lib/Scrollbar/Scrollbar.vue.js +1 -1
  461. package/lib/Scrollbar/ScrollbarTrack.vue.js +1 -1
  462. package/lib/Scrollbar/index.d.ts +3 -3
  463. package/lib/Select/Option.vue.js +1 -1
  464. package/lib/Select/Select.vue.d.ts +26 -26
  465. package/lib/Select/Select.vue.js +1 -1
  466. package/lib/Select/SelectIcon.vue.js +1 -1
  467. package/lib/Select/SelectRealList.vue.js +1 -1
  468. package/lib/Select/SelectView.vue.js +1 -1
  469. package/lib/Select/SelectVirtualList.vue.js +1 -1
  470. package/lib/Select/hooks/useContext.js +1 -1
  471. package/lib/Select/hooks/useSelectOptions.js +1 -1
  472. package/lib/Select/index.d.ts +14 -14
  473. package/lib/Skeleton/SkeletonLine.vue.js +1 -1
  474. package/lib/Skeleton/SkeletonShape.vue.js +1 -1
  475. package/lib/Slider/Slider.vue.d.ts +3 -3
  476. package/lib/Slider/SliderBtn.vue.js +1 -1
  477. package/lib/Slider/hooks/useContext.js +1 -1
  478. package/lib/Slider/hooks/useSliderDraggable.js +1 -1
  479. package/lib/Slider/index.d.ts +9 -9
  480. package/lib/Space/index.d.ts +3 -3
  481. package/lib/Space/index.vue.d.ts +1 -1
  482. package/lib/Space/index.vue.js +1 -1
  483. package/lib/Spin/index.d.ts +3 -3
  484. package/lib/Spin/index.vue.d.ts +1 -1
  485. package/lib/Spin/index.vue.js +1 -1
  486. package/lib/Split/index.d.ts +6 -6
  487. package/lib/Split/index.vue.d.ts +2 -2
  488. package/lib/Split/index.vue.js +1 -1
  489. package/lib/Statistic/Countdown.vue.d.ts +2 -2
  490. package/lib/Statistic/Countdown.vue.js +1 -1
  491. package/lib/Statistic/Statistic.vue.d.ts +2 -2
  492. package/lib/Statistic/Statistic.vue.js +1 -1
  493. package/lib/Statistic/index.d.ts +12 -12
  494. package/lib/Steps/Step.vue.d.ts +1 -1
  495. package/lib/Steps/Step.vue.js +1 -1
  496. package/lib/Steps/Steps.vue.d.ts +1 -1
  497. package/lib/Steps/hooks/useContext.js +1 -1
  498. package/lib/Steps/index.d.ts +6 -6
  499. package/lib/Switch/index.d.ts +6 -6
  500. package/lib/Switch/index.vue.d.ts +2 -2
  501. package/lib/Switch/index.vue.js +1 -1
  502. package/lib/Tabs/TabButton.vue.js +1 -1
  503. package/lib/Tabs/TabPane.vue.js +1 -1
  504. package/lib/Tabs/Tabs.vue.d.ts +3 -3
  505. package/lib/Tabs/Tabs.vue.js +1 -1
  506. package/lib/Tabs/TabsNavInk.vue.js +1 -1
  507. package/lib/Tabs/TabsTab.vue.js +1 -1
  508. package/lib/Tabs/hooks/useContext.js +1 -1
  509. package/lib/Tabs/hooks/useTabsScroll.js +1 -1
  510. package/lib/Tabs/index.d.ts +8 -8
  511. package/lib/Tag/index.d.ts +3 -3
  512. package/lib/Tag/index.vue.d.ts +1 -1
  513. package/lib/Tag/index.vue.js +1 -1
  514. package/lib/Textarea/hooks/useTextareaHeight.js +1 -1
  515. package/lib/Textarea/index.d.ts +6 -6
  516. package/lib/Textarea/index.vue.d.ts +2 -2
  517. package/lib/Textarea/index.vue.js +1 -1
  518. package/lib/TimePicker/TimePicker.vue.d.ts +3 -3
  519. package/lib/TimePicker/TimePicker.vue.js +1 -1
  520. package/lib/TimePicker/TimePickerPanel.vue.js +1 -1
  521. package/lib/TimePicker/hooks/useContext.d.ts +1 -0
  522. package/lib/TimePicker/hooks/useContext.js +1 -1
  523. package/lib/TimePicker/index.d.ts +9 -9
  524. package/lib/Timeline/TimelineItemPending.vue.js +1 -1
  525. package/lib/Timeline/hooks/useContext.js +1 -1
  526. package/lib/Tooltip/index.vue.js +1 -1
  527. package/lib/Transfer/Transfer.vue.js +1 -1
  528. package/lib/Transfer/TransferPanel.vue.js +1 -1
  529. package/lib/Transfer/hooks/useContext.js +1 -1
  530. package/lib/Trigger/hooks/useContext.js +1 -1
  531. package/lib/Trigger/hooks/useTriggerPosition.js +1 -1
  532. package/lib/Trigger/hooks/useTriggerVisible.js +1 -1
  533. package/lib/Trigger/index.vue.js +1 -1
  534. package/lib/Typography/TypographyBase.vue.d.ts +19 -19
  535. package/lib/Typography/TypographyBase.vue.js +1 -1
  536. package/lib/VerificationCode/index.d.ts +6 -6
  537. package/lib/VerificationCode/index.vue.d.ts +2 -2
  538. package/lib/VerificationCode/index.vue.js +1 -1
  539. package/lib/Watermark/index.d.ts +3 -3
  540. package/lib/Watermark/index.vue.d.ts +1 -1
  541. package/lib/Watermark/index.vue.js +1 -1
  542. package/lib/_shared/components/ExpandTransition.vue2.js +1 -1
  543. package/lib/_shared/components/Icon.vue3.js +1 -1
  544. package/lib/_shared/components/IconButton.vue.js +1 -1
  545. package/lib/_shared/constants/index.js +1 -1
  546. package/lib/_shared/icons/IconFullScreen.vue.js +1 -1
  547. package/lib/_shared/icons/IconFullScreen.vue2.js +1 -1
  548. package/lib/_shared/icons/IconOriginSize.vue.js +1 -1
  549. package/lib/_shared/icons/IconOriginSize.vue2.js +1 -1
  550. package/lib/_shared/icons/IconRotateLeft.vue.js +1 -1
  551. package/lib/_shared/icons/IconRotateLeft.vue2.js +1 -1
  552. package/lib/_shared/icons/IconRotateRight.vue.js +1 -1
  553. package/lib/_shared/icons/IconRotateRight.vue2.js +1 -1
  554. package/lib/_shared/icons/IconSeparator.vue.js +1 -1
  555. package/lib/_shared/icons/IconSeparator.vue2.js +1 -1
  556. package/lib/_shared/icons/IconZoomIn.vue.js +1 -1
  557. package/lib/_shared/icons/IconZoomIn.vue2.js +1 -1
  558. package/lib/_shared/icons/IconZoomOut.vue.js +1 -1
  559. package/lib/_shared/icons/IconZoomOut.vue2.js +1 -1
  560. package/lib/_shared/utils/control.js +1 -1
  561. package/lib/_shared/utils/global-config.d.ts +3 -1
  562. package/lib/_shared/utils/global-config.js +1 -1
  563. package/lib/_shared/utils/index.d.ts +1 -0
  564. package/lib/_shared/utils/locale.d.ts +22 -0
  565. package/lib/_shared/utils/locale.js +1 -0
  566. package/lib/index.d.ts +27 -27
  567. package/lib/index.js +1 -1
  568. package/lib/lang/ar-eg.js +156 -0
  569. package/lib/lang/de-de.js +157 -0
  570. package/lib/lang/en-us.js +161 -0
  571. package/lib/lang/es-es.js +156 -0
  572. package/lib/lang/fr-fr.js +158 -0
  573. package/lib/lang/id-id.js +157 -0
  574. package/lib/lang/it-it.js +157 -0
  575. package/lib/lang/ja-jp.js +204 -0
  576. package/lib/lang/km-kh.js +156 -0
  577. package/lib/lang/ko-kr.js +156 -0
  578. package/lib/lang/ms-my.js +156 -0
  579. package/lib/lang/nl-nl.js +204 -0
  580. package/lib/lang/pt-pt.js +156 -0
  581. package/lib/lang/ru-ru.js +204 -0
  582. package/lib/lang/th-th.js +156 -0
  583. package/lib/lang/vi-vn.js +156 -0
  584. package/lib/lang/zh-cn.js +204 -0
  585. package/lib/lang/zh-tw.js +204 -0
  586. package/lib/public/lang/zh-cn.js +1 -0
  587. package/package.json +2 -4
  588. package/es/_shared/locale/i18n.d.ts +0 -512
  589. package/es/_shared/locale/i18n.js +0 -43
  590. package/es/_shared/locale/lang/ar-eg.json.js +0 -251
  591. package/es/_shared/locale/lang/de-de.json.d.ts +0 -207
  592. package/es/_shared/locale/lang/de-de.json.js +0 -251
  593. package/es/_shared/locale/lang/en-us.json.d.ts +0 -210
  594. package/es/_shared/locale/lang/en-us.json.js +0 -256
  595. package/es/_shared/locale/lang/es-es.json.d.ts +0 -207
  596. package/es/_shared/locale/lang/es-es.json.js +0 -251
  597. package/es/_shared/locale/lang/fr-fr.json.d.ts +0 -207
  598. package/es/_shared/locale/lang/fr-fr.json.js +0 -251
  599. package/es/_shared/locale/lang/id-id.json.d.ts +0 -207
  600. package/es/_shared/locale/lang/id-id.json.js +0 -251
  601. package/es/_shared/locale/lang/it-it.json.d.ts +0 -207
  602. package/es/_shared/locale/lang/it-it.json.js +0 -251
  603. package/es/_shared/locale/lang/ja-jp.json.d.ts +0 -255
  604. package/es/_shared/locale/lang/ja-jp.json.js +0 -301
  605. package/es/_shared/locale/lang/km-kh.json.d.ts +0 -207
  606. package/es/_shared/locale/lang/km-kh.json.js +0 -251
  607. package/es/_shared/locale/lang/ko-kr.json.d.ts +0 -207
  608. package/es/_shared/locale/lang/ko-kr.json.js +0 -251
  609. package/es/_shared/locale/lang/ms-my.json.d.ts +0 -207
  610. package/es/_shared/locale/lang/ms-my.json.js +0 -251
  611. package/es/_shared/locale/lang/nl-nl.json.d.ts +0 -255
  612. package/es/_shared/locale/lang/nl-nl.json.js +0 -301
  613. package/es/_shared/locale/lang/pt-pt.json.d.ts +0 -207
  614. package/es/_shared/locale/lang/pt-pt.json.js +0 -251
  615. package/es/_shared/locale/lang/ru-ru.json.d.ts +0 -255
  616. package/es/_shared/locale/lang/ru-ru.json.js +0 -301
  617. package/es/_shared/locale/lang/th-th.json.d.ts +0 -207
  618. package/es/_shared/locale/lang/th-th.json.js +0 -251
  619. package/es/_shared/locale/lang/vi-vn.json.d.ts +0 -207
  620. package/es/_shared/locale/lang/vi-vn.json.js +0 -251
  621. package/es/_shared/locale/lang/zh-cn.d.ts +0 -253
  622. package/es/_shared/locale/lang/zh-cn.json.d.ts +0 -255
  623. package/es/_shared/locale/lang/zh-cn.json.js +0 -301
  624. package/es/_shared/locale/lang/zh-tw.json.d.ts +0 -255
  625. package/es/_shared/locale/lang/zh-tw.json.js +0 -301
  626. package/es/node_modules/@intlify/core-base/dist/core-base.js +0 -1126
  627. package/es/node_modules/@intlify/message-compiler/dist/message-compiler.js +0 -65
  628. package/es/node_modules/@intlify/shared/dist/shared.js +0 -199
  629. package/es/node_modules/@intlify/vue-i18n-core/dist/vue-i18n-core.js +0 -1375
  630. package/es/node_modules/@vue/devtools-api/lib/esm/const.js +0 -6
  631. package/es/node_modules/@vue/devtools-api/lib/esm/env.js +0 -12
  632. package/es/node_modules/@vue/devtools-api/lib/esm/index.js +0 -26
  633. package/es/node_modules/@vue/devtools-api/lib/esm/proxy.js +0 -103
  634. package/es/node_modules/@vue/devtools-api/lib/esm/time.js +0 -25
  635. package/lib/_shared/locale/i18n.d.ts +0 -512
  636. package/lib/_shared/locale/i18n.js +0 -1
  637. package/lib/_shared/locale/lang/ar-eg.json.js +0 -1
  638. package/lib/_shared/locale/lang/de-de.json.d.ts +0 -207
  639. package/lib/_shared/locale/lang/de-de.json.js +0 -1
  640. package/lib/_shared/locale/lang/en-us.json.d.ts +0 -210
  641. package/lib/_shared/locale/lang/en-us.json.js +0 -1
  642. package/lib/_shared/locale/lang/es-es.json.d.ts +0 -207
  643. package/lib/_shared/locale/lang/es-es.json.js +0 -1
  644. package/lib/_shared/locale/lang/fr-fr.json.d.ts +0 -207
  645. package/lib/_shared/locale/lang/fr-fr.json.js +0 -1
  646. package/lib/_shared/locale/lang/id-id.json.d.ts +0 -207
  647. package/lib/_shared/locale/lang/id-id.json.js +0 -1
  648. package/lib/_shared/locale/lang/it-it.json.d.ts +0 -207
  649. package/lib/_shared/locale/lang/it-it.json.js +0 -1
  650. package/lib/_shared/locale/lang/ja-jp.json.d.ts +0 -255
  651. package/lib/_shared/locale/lang/ja-jp.json.js +0 -1
  652. package/lib/_shared/locale/lang/km-kh.json.d.ts +0 -207
  653. package/lib/_shared/locale/lang/km-kh.json.js +0 -1
  654. package/lib/_shared/locale/lang/ko-kr.json.d.ts +0 -207
  655. package/lib/_shared/locale/lang/ko-kr.json.js +0 -1
  656. package/lib/_shared/locale/lang/ms-my.json.d.ts +0 -207
  657. package/lib/_shared/locale/lang/ms-my.json.js +0 -1
  658. package/lib/_shared/locale/lang/nl-nl.json.d.ts +0 -255
  659. package/lib/_shared/locale/lang/nl-nl.json.js +0 -1
  660. package/lib/_shared/locale/lang/pt-pt.json.d.ts +0 -207
  661. package/lib/_shared/locale/lang/pt-pt.json.js +0 -1
  662. package/lib/_shared/locale/lang/ru-ru.json.d.ts +0 -255
  663. package/lib/_shared/locale/lang/ru-ru.json.js +0 -1
  664. package/lib/_shared/locale/lang/th-th.json.d.ts +0 -207
  665. package/lib/_shared/locale/lang/th-th.json.js +0 -1
  666. package/lib/_shared/locale/lang/vi-vn.json.d.ts +0 -207
  667. package/lib/_shared/locale/lang/vi-vn.json.js +0 -1
  668. package/lib/_shared/locale/lang/zh-cn.d.ts +0 -253
  669. package/lib/_shared/locale/lang/zh-cn.json.d.ts +0 -255
  670. package/lib/_shared/locale/lang/zh-cn.json.js +0 -1
  671. package/lib/_shared/locale/lang/zh-tw.json.d.ts +0 -255
  672. package/lib/_shared/locale/lang/zh-tw.json.js +0 -1
  673. package/lib/node_modules/@intlify/core-base/dist/core-base.js +0 -1
  674. package/lib/node_modules/@intlify/message-compiler/dist/message-compiler.js +0 -6
  675. package/lib/node_modules/@intlify/shared/dist/shared.js +0 -7
  676. package/lib/node_modules/@intlify/vue-i18n-core/dist/vue-i18n-core.js +0 -1
  677. package/lib/node_modules/@vue/devtools-api/lib/esm/const.js +0 -1
  678. package/lib/node_modules/@vue/devtools-api/lib/esm/env.js +0 -1
  679. package/lib/node_modules/@vue/devtools-api/lib/esm/index.js +0 -1
  680. package/lib/node_modules/@vue/devtools-api/lib/esm/proxy.js +0 -1
  681. package/lib/node_modules/@vue/devtools-api/lib/esm/time.js +0 -1
@@ -23,262 +23,7 @@ declare const _default: () => {
23
23
  label: string;
24
24
  value: number;
25
25
  }[]>;
26
- t: import('vue-i18n').ComposerTranslation<{
27
- 'zh-CN': {
28
- empty: {
29
- description: string;
30
- };
31
- drawer: {
32
- okText: string;
33
- cancelText: string;
34
- };
35
- popconfirm: {
36
- okText: string;
37
- cancelText: string;
38
- };
39
- modal: {
40
- okText: string;
41
- cancelText: string;
42
- };
43
- pagination: {
44
- goto: string;
45
- page: string;
46
- countPerPage: string;
47
- total: string;
48
- };
49
- calendar: {
50
- formatYear: string;
51
- formatMonth: string;
52
- today: string;
53
- view: {
54
- month: string;
55
- year: string;
56
- week: string;
57
- day: string;
58
- };
59
- month: {
60
- long: {
61
- January: string;
62
- February: string;
63
- March: string;
64
- April: string;
65
- May: string;
66
- June: string;
67
- July: string;
68
- August: string;
69
- September: string;
70
- October: string;
71
- November: string;
72
- December: string;
73
- };
74
- short: {
75
- January: string;
76
- February: string;
77
- March: string;
78
- April: string;
79
- May: string;
80
- June: string;
81
- July: string;
82
- August: string;
83
- September: string;
84
- October: string;
85
- November: string;
86
- December: string;
87
- };
88
- };
89
- week: {
90
- long: {
91
- self: string;
92
- monday: string;
93
- tuesday: string;
94
- wednesday: string;
95
- thursday: string;
96
- friday: string;
97
- saturday: string;
98
- sunday: string;
99
- };
100
- short: {
101
- self: string;
102
- monday: string;
103
- tuesday: string;
104
- wednesday: string;
105
- thursday: string;
106
- friday: string;
107
- saturday: string;
108
- sunday: string;
109
- };
110
- };
111
- };
112
- image: {
113
- loading: string;
114
- };
115
- imagePreview: {
116
- fullScreen: string;
117
- rotateRight: string;
118
- rotateLeft: string;
119
- zoomIn: string;
120
- zoomOut: string;
121
- originalSize: string;
122
- };
123
- typography: {
124
- copied: string;
125
- copy: string;
126
- expand: string;
127
- collapse: string;
128
- edit: string;
129
- };
130
- colorPicker: {
131
- history: string;
132
- preset: string;
133
- empty: string;
134
- };
135
- table: {
136
- okText: string;
137
- resetText: string;
138
- };
139
- upload: {
140
- start: string;
141
- cancel: string;
142
- delete: string;
143
- retry: string;
144
- buttonText: string;
145
- preview: string;
146
- drag: string;
147
- dragHover: string;
148
- error: string;
149
- };
150
- datePicker: {
151
- view: {
152
- month: string;
153
- year: string;
154
- week: string;
155
- day: string;
156
- };
157
- month: {
158
- long: {
159
- January: string;
160
- February: string;
161
- March: string;
162
- April: string;
163
- May: string;
164
- June: string;
165
- July: string;
166
- August: string;
167
- September: string;
168
- October: string;
169
- November: string;
170
- December: string;
171
- };
172
- short: {
173
- January: string;
174
- February: string;
175
- March: string;
176
- April: string;
177
- May: string;
178
- June: string;
179
- July: string;
180
- August: string;
181
- September: string;
182
- October: string;
183
- November: string;
184
- December: string;
185
- };
186
- };
187
- week: {
188
- long: {
189
- self: string;
190
- monday: string;
191
- tuesday: string;
192
- wednesday: string;
193
- thursday: string;
194
- friday: string;
195
- saturday: string;
196
- sunday: string;
197
- };
198
- short: {
199
- self: string;
200
- monday: string;
201
- tuesday: string;
202
- wednesday: string;
203
- thursday: string;
204
- friday: string;
205
- saturday: string;
206
- sunday: string;
207
- };
208
- };
209
- placeholder: {
210
- date: string;
211
- week: string;
212
- month: string;
213
- year: string;
214
- quarter: string;
215
- time: string;
216
- };
217
- rangePlaceholder: {
218
- date: string[];
219
- week: string[];
220
- month: string[];
221
- year: string[];
222
- quarter: string[];
223
- time: string[];
224
- };
225
- selectTime: string;
226
- today: string;
227
- now: string;
228
- ok: string;
229
- };
230
- form: {
231
- validateMessages: {
232
- required: string;
233
- type: {
234
- string: string;
235
- number: string;
236
- boolean: string;
237
- array: string;
238
- object: string;
239
- url: string;
240
- email: string;
241
- ip: string;
242
- };
243
- number: {
244
- min: string;
245
- max: string;
246
- equal: string;
247
- range: string;
248
- positive: string;
249
- negative: string;
250
- };
251
- array: {
252
- length: string;
253
- minLength: string;
254
- maxLength: string;
255
- includes: string;
256
- deepEqual: string;
257
- empty: string;
258
- };
259
- string: {
260
- minLength: string;
261
- maxLength: string;
262
- length: string;
263
- match: string;
264
- uppercase: string;
265
- lowercase: string;
266
- };
267
- object: {
268
- deepEqual: string;
269
- hasKeys: string;
270
- empty: string;
271
- };
272
- boolean: {
273
- true: string;
274
- false: string;
275
- };
276
- };
277
- };
278
- };
279
- }, "zh-CN", import('@intlify/core-base').RemoveIndexSignature<{
280
- [x: string]: import('vue-i18n').LocaleMessageValue<import('vue-i18n').VueMessageType>;
281
- }>, never, "empty.description" | "drawer.okText" | "drawer.cancelText" | "popconfirm.okText" | "popconfirm.cancelText" | "modal.okText" | "modal.cancelText" | "pagination.goto" | "pagination.page" | "pagination.countPerPage" | "pagination.total" | "calendar.formatYear" | "calendar.formatMonth" | "calendar.today" | "calendar.view.month" | "calendar.view.week" | "calendar.view.year" | "calendar.view.day" | "calendar.month.long.January" | "calendar.month.long.February" | "calendar.month.long.March" | "calendar.month.long.April" | "calendar.month.long.May" | "calendar.month.long.June" | "calendar.month.long.July" | "calendar.month.long.August" | "calendar.month.long.September" | "calendar.month.long.October" | "calendar.month.long.November" | "calendar.month.long.December" | "calendar.month.short.January" | "calendar.month.short.February" | "calendar.month.short.March" | "calendar.month.short.April" | "calendar.month.short.May" | "calendar.month.short.June" | "calendar.month.short.July" | "calendar.month.short.August" | "calendar.month.short.September" | "calendar.month.short.October" | "calendar.month.short.November" | "calendar.month.short.December" | "calendar.week.long.self" | "calendar.week.long.monday" | "calendar.week.long.tuesday" | "calendar.week.long.wednesday" | "calendar.week.long.thursday" | "calendar.week.long.friday" | "calendar.week.long.saturday" | "calendar.week.long.sunday" | "calendar.week.short.self" | "calendar.week.short.monday" | "calendar.week.short.tuesday" | "calendar.week.short.wednesday" | "calendar.week.short.thursday" | "calendar.week.short.friday" | "calendar.week.short.saturday" | "calendar.week.short.sunday" | "image.loading" | "imagePreview.fullScreen" | "imagePreview.rotateRight" | "imagePreview.rotateLeft" | "imagePreview.zoomIn" | "imagePreview.zoomOut" | "imagePreview.originalSize" | "typography.copied" | "typography.copy" | "typography.expand" | "typography.collapse" | "typography.edit" | "colorPicker.empty" | "colorPicker.history" | "colorPicker.preset" | "table.okText" | "table.resetText" | "upload.start" | "upload.cancel" | "upload.delete" | "upload.retry" | "upload.buttonText" | "upload.preview" | "upload.drag" | "upload.dragHover" | "upload.error" | "datePicker.today" | "datePicker.view.month" | "datePicker.view.week" | "datePicker.view.year" | "datePicker.view.day" | "datePicker.month.long.January" | "datePicker.month.long.February" | "datePicker.month.long.March" | "datePicker.month.long.April" | "datePicker.month.long.May" | "datePicker.month.long.June" | "datePicker.month.long.July" | "datePicker.month.long.August" | "datePicker.month.long.September" | "datePicker.month.long.October" | "datePicker.month.long.November" | "datePicker.month.long.December" | "datePicker.month.short.January" | "datePicker.month.short.February" | "datePicker.month.short.March" | "datePicker.month.short.April" | "datePicker.month.short.May" | "datePicker.month.short.June" | "datePicker.month.short.July" | "datePicker.month.short.August" | "datePicker.month.short.September" | "datePicker.month.short.October" | "datePicker.month.short.November" | "datePicker.month.short.December" | "datePicker.week.long.self" | "datePicker.week.long.monday" | "datePicker.week.long.tuesday" | "datePicker.week.long.wednesday" | "datePicker.week.long.thursday" | "datePicker.week.long.friday" | "datePicker.week.long.saturday" | "datePicker.week.long.sunday" | "datePicker.week.short.self" | "datePicker.week.short.monday" | "datePicker.week.short.tuesday" | "datePicker.week.short.wednesday" | "datePicker.week.short.thursday" | "datePicker.week.short.friday" | "datePicker.week.short.saturday" | "datePicker.week.short.sunday" | "datePicker.selectTime" | "datePicker.now" | "datePicker.ok" | "datePicker.placeholder.month" | "datePicker.placeholder.week" | "datePicker.placeholder.year" | "datePicker.placeholder.date" | "datePicker.placeholder.quarter" | "datePicker.placeholder.time" | "datePicker.rangePlaceholder.month.length" | "datePicker.rangePlaceholder.week.length" | "datePicker.rangePlaceholder.year.length" | "datePicker.rangePlaceholder.date.length" | "datePicker.rangePlaceholder.quarter.length" | "datePicker.rangePlaceholder.time.length" | "form.validateMessages.required" | "form.validateMessages.string.length" | "form.validateMessages.string.minLength" | "form.validateMessages.string.maxLength" | "form.validateMessages.string.match" | "form.validateMessages.string.uppercase" | "form.validateMessages.string.lowercase" | "form.validateMessages.number.min" | "form.validateMessages.number.max" | "form.validateMessages.number.equal" | "form.validateMessages.number.range" | "form.validateMessages.number.positive" | "form.validateMessages.number.negative" | "form.validateMessages.boolean.true" | "form.validateMessages.boolean.false" | "form.validateMessages.object.empty" | "form.validateMessages.object.deepEqual" | "form.validateMessages.object.hasKeys" | "form.validateMessages.type.string" | "form.validateMessages.type.number" | "form.validateMessages.type.boolean" | "form.validateMessages.type.object" | "form.validateMessages.type.array" | "form.validateMessages.type.url" | "form.validateMessages.type.email" | "form.validateMessages.type.ip" | "form.validateMessages.array.empty" | "form.validateMessages.array.length" | "form.validateMessages.array.includes" | "form.validateMessages.array.minLength" | "form.validateMessages.array.maxLength" | "form.validateMessages.array.deepEqual", "empty.description" | "drawer.okText" | "drawer.cancelText" | "popconfirm.okText" | "popconfirm.cancelText" | "modal.okText" | "modal.cancelText" | "pagination.goto" | "pagination.page" | "pagination.countPerPage" | "pagination.total" | "calendar.formatYear" | "calendar.formatMonth" | "calendar.today" | "calendar.view.month" | "calendar.view.week" | "calendar.view.year" | "calendar.view.day" | "calendar.month.long.January" | "calendar.month.long.February" | "calendar.month.long.March" | "calendar.month.long.April" | "calendar.month.long.May" | "calendar.month.long.June" | "calendar.month.long.July" | "calendar.month.long.August" | "calendar.month.long.September" | "calendar.month.long.October" | "calendar.month.long.November" | "calendar.month.long.December" | "calendar.month.short.January" | "calendar.month.short.February" | "calendar.month.short.March" | "calendar.month.short.April" | "calendar.month.short.May" | "calendar.month.short.June" | "calendar.month.short.July" | "calendar.month.short.August" | "calendar.month.short.September" | "calendar.month.short.October" | "calendar.month.short.November" | "calendar.month.short.December" | "calendar.week.long.self" | "calendar.week.long.monday" | "calendar.week.long.tuesday" | "calendar.week.long.wednesday" | "calendar.week.long.thursday" | "calendar.week.long.friday" | "calendar.week.long.saturday" | "calendar.week.long.sunday" | "calendar.week.short.self" | "calendar.week.short.monday" | "calendar.week.short.tuesday" | "calendar.week.short.wednesday" | "calendar.week.short.thursday" | "calendar.week.short.friday" | "calendar.week.short.saturday" | "calendar.week.short.sunday" | "image.loading" | "imagePreview.fullScreen" | "imagePreview.rotateRight" | "imagePreview.rotateLeft" | "imagePreview.zoomIn" | "imagePreview.zoomOut" | "imagePreview.originalSize" | "typography.copied" | "typography.copy" | "typography.expand" | "typography.collapse" | "typography.edit" | "colorPicker.empty" | "colorPicker.history" | "colorPicker.preset" | "table.okText" | "table.resetText" | "upload.start" | "upload.cancel" | "upload.delete" | "upload.retry" | "upload.buttonText" | "upload.preview" | "upload.drag" | "upload.dragHover" | "upload.error" | "datePicker.today" | "datePicker.view.month" | "datePicker.view.week" | "datePicker.view.year" | "datePicker.view.day" | "datePicker.month.long.January" | "datePicker.month.long.February" | "datePicker.month.long.March" | "datePicker.month.long.April" | "datePicker.month.long.May" | "datePicker.month.long.June" | "datePicker.month.long.July" | "datePicker.month.long.August" | "datePicker.month.long.September" | "datePicker.month.long.October" | "datePicker.month.long.November" | "datePicker.month.long.December" | "datePicker.month.short.January" | "datePicker.month.short.February" | "datePicker.month.short.March" | "datePicker.month.short.April" | "datePicker.month.short.May" | "datePicker.month.short.June" | "datePicker.month.short.July" | "datePicker.month.short.August" | "datePicker.month.short.September" | "datePicker.month.short.October" | "datePicker.month.short.November" | "datePicker.month.short.December" | "datePicker.week.long.self" | "datePicker.week.long.monday" | "datePicker.week.long.tuesday" | "datePicker.week.long.wednesday" | "datePicker.week.long.thursday" | "datePicker.week.long.friday" | "datePicker.week.long.saturday" | "datePicker.week.long.sunday" | "datePicker.week.short.self" | "datePicker.week.short.monday" | "datePicker.week.short.tuesday" | "datePicker.week.short.wednesday" | "datePicker.week.short.thursday" | "datePicker.week.short.friday" | "datePicker.week.short.saturday" | "datePicker.week.short.sunday" | "datePicker.selectTime" | "datePicker.now" | "datePicker.ok" | "datePicker.placeholder.month" | "datePicker.placeholder.week" | "datePicker.placeholder.year" | "datePicker.placeholder.date" | "datePicker.placeholder.quarter" | "datePicker.placeholder.time" | "datePicker.rangePlaceholder.month.length" | "datePicker.rangePlaceholder.week.length" | "datePicker.rangePlaceholder.year.length" | "datePicker.rangePlaceholder.date.length" | "datePicker.rangePlaceholder.quarter.length" | "datePicker.rangePlaceholder.time.length" | "form.validateMessages.required" | "form.validateMessages.string.length" | "form.validateMessages.string.minLength" | "form.validateMessages.string.maxLength" | "form.validateMessages.string.match" | "form.validateMessages.string.uppercase" | "form.validateMessages.string.lowercase" | "form.validateMessages.number.min" | "form.validateMessages.number.max" | "form.validateMessages.number.equal" | "form.validateMessages.number.range" | "form.validateMessages.number.positive" | "form.validateMessages.number.negative" | "form.validateMessages.boolean.true" | "form.validateMessages.boolean.false" | "form.validateMessages.object.empty" | "form.validateMessages.object.deepEqual" | "form.validateMessages.object.hasKeys" | "form.validateMessages.type.string" | "form.validateMessages.type.number" | "form.validateMessages.type.boolean" | "form.validateMessages.type.object" | "form.validateMessages.type.array" | "form.validateMessages.type.url" | "form.validateMessages.type.email" | "form.validateMessages.type.ip" | "form.validateMessages.array.empty" | "form.validateMessages.array.length" | "form.validateMessages.array.includes" | "form.validateMessages.array.minLength" | "form.validateMessages.array.maxLength" | "form.validateMessages.array.deepEqual">;
26
+ t: (key: string, ...args: any[]) => string;
282
27
  };
283
28
  inject: () => PaginationContext;
284
29
  };
@@ -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");const a=require("../../_shared/utils/global-config.js"),t=require("../../_shared/utils/control.js"),u=require("../../_shared/locale/i18n.js"),r="pagination-context";module.exports=()=>({provide:(l,i)=>{const{disabled:s,current:o,defaultCurrent:p,pageSize:n,defaultPageSize:v,pageSizeOptions:c,pageItemStyle:d,activePageItemStyle:g,baseSize:f,bufferSize:m,autoAdjust:S,total:z}=e.toRefs(l),{size:h}=a.getGlobalConfig(l),b=t(S.value?z:e.ref(),S.value?0:z.value),y=e.computed(()=>{const e=Math.ceil(b.value/q.value);return e<=1?1:e}),j=e.computed(()=>{if(y.value<f.value)return new Array(y.value).fill(void 0).map((e,a)=>a+1);const e=[],a=P.value-m.value>1,t=P.value+m.value<y.value;let u=0;u=a?t?P.value-m.value:y.value-2*m.value:2;let r=0;r=t?a?P.value+m.value:1+2*m.value:y.value-1,e.push(1),a&&e.push("more-left");for(let l=u;l<=r;l++)e.push(l);return t&&e.push("more-right"),e.push(y.value),e}),P=t(o,p.value,e=>{i("update:current",e),i("change",e)}),q=t(n,v.value,e=>{P.value=1,i("update:pageSize",e),i("page-size-change",e)}),I=e.computed(()=>c.value.map(e=>({label:`${e}${u.t("pagination.countPerPage")}`,value:e})));return e.provide(r,{computedCurrent:P,computedPageSize:q,disabled:s,pageItemStyle:d,activePageItemStyle:g,pages:y,baseSize:f,bufferSize:m}),{total:b,size:h,pages:y,pagesArray:j,computedCurrent:P,computedPageSize:q,sizeOptions:I,t:u.t}},inject:()=>e.inject(r,{computedCurrent:e.ref(1),computedPageSize:e.ref(10),disabled:e.ref(!1),pageItemStyle:e.ref({}),activePageItemStyle:e.ref({}),pages:e.ref(0),baseSize:e.ref(6),bufferSize:e.ref(2)})});
1
+ "use strict";const e=require("vue");require("../../node_modules/tinycolor2/esm/tinycolor.js"),require("../../_shared/utils/dom.js"),require("../../_shared/utils/time.js");const a=require("../../_shared/utils/global-config.js"),t=require("../../_shared/utils/locale.js"),u=require("../../_shared/utils/control.js"),r="pagination-context";module.exports=()=>({provide:(l,i)=>{const{disabled:s,current:o,defaultCurrent:p,pageSize:n,defaultPageSize:v,pageSizeOptions:c,pageItemStyle:d,activePageItemStyle:g,baseSize:f,bufferSize:m,autoAdjust:S,total:z}=e.toRefs(l),{size:h}=a.getGlobalConfig(l),{t:b}=t.useI18n(),y=u(S.value?z:e.ref(),S.value?0:z.value),j=e.computed(()=>{const e=Math.ceil(y.value/I.value);return e<=1?1:e}),P=e.computed(()=>{if(j.value<f.value)return new Array(j.value).fill(void 0).map((e,a)=>a+1);const e=[],a=q.value-m.value>1,t=q.value+m.value<j.value;let u=0;u=a?t?q.value-m.value:j.value-2*m.value:2;let r=0;r=t?a?q.value+m.value:1+2*m.value:j.value-1,e.push(1),a&&e.push("more-left");for(let l=u;l<=r;l++)e.push(l);return t&&e.push("more-right"),e.push(j.value),e}),q=u(o,p.value,e=>{i("update:current",e),i("change",e)}),I=u(n,v.value,e=>{q.value=1,i("update:pageSize",e),i("page-size-change",e)}),_=e.computed(()=>c.value.map(e=>({label:`${e}${b("pagination.countPerPage")}`,value:e})));return e.provide(r,{computedCurrent:q,computedPageSize:I,disabled:s,pageItemStyle:d,activePageItemStyle:g,pages:j,baseSize:f,bufferSize:m}),{total:y,size:h,pages:j,pagesArray:P,computedCurrent:q,computedPageSize:I,sizeOptions:_,t:b}},inject:()=>e.inject(r,{computedCurrent:e.ref(1),computedPageSize:e.ref(10),disabled:e.ref(!1),pageItemStyle:e.ref({}),activePageItemStyle:e.ref({}),pages:e.ref(0),baseSize:e.ref(6),bufferSize:e.ref(2)})});
@@ -4,22 +4,19 @@ export type PopconfirmInstance = InstanceType<typeof _Popconfirm>;
4
4
  export * from './type';
5
5
  declare const Popconfirm: {
6
6
  new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./type').PopconfirmProps> & Readonly<{
7
- onCancel?: (() => any) | undefined;
8
- onOk?: (() => any) | undefined;
9
7
  "onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
10
8
  "onPopup-visible-change"?: ((value: boolean) => any) | undefined;
9
+ onCancel?: (() => any) | undefined;
10
+ onOk?: (() => any) | undefined;
11
11
  }>, {
12
12
  hide(): void;
13
13
  show(): void;
14
14
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
15
- cancel: () => any;
16
- ok: () => any;
17
15
  "update:popupVisible": (value: boolean) => any;
18
16
  "popup-visible-change": (value: boolean) => any;
17
+ cancel: () => any;
18
+ ok: () => any;
19
19
  }, import('vue').PublicProps, {
20
- okText: string;
21
- cancelText: string;
22
- type: import('./type').PopconfirmType;
23
20
  popupVisible: boolean;
24
21
  defaultPopupVisible: boolean;
25
22
  position: import('..').TriggerPostion;
@@ -29,7 +26,10 @@ declare const Popconfirm: {
29
26
  arrowStyle: import('vue').CSSProperties;
30
27
  popupContainer: import('..').PopupContainer;
31
28
  content: string;
29
+ type: import('./type').PopconfirmType;
32
30
  triggerProps: import('..').TriggerProps;
31
+ okText: string;
32
+ cancelText: string;
33
33
  okLoading: boolean;
34
34
  okButtonProps: import('..').ButtonProps;
35
35
  cancelButtonProps: import('..').ButtonProps;
@@ -282,17 +282,14 @@ declare const Popconfirm: {
282
282
  M: {};
283
283
  Defaults: {};
284
284
  }, Readonly<import('./type').PopconfirmProps> & Readonly<{
285
- onCancel?: (() => any) | undefined;
286
- onOk?: (() => any) | undefined;
287
285
  "onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
288
286
  "onPopup-visible-change"?: ((value: boolean) => any) | undefined;
287
+ onCancel?: (() => any) | undefined;
288
+ onOk?: (() => any) | undefined;
289
289
  }>, {
290
290
  hide(): void;
291
291
  show(): void;
292
292
  }, {}, {}, {}, {
293
- okText: string;
294
- cancelText: string;
295
- type: import('./type').PopconfirmType;
296
293
  popupVisible: boolean;
297
294
  defaultPopupVisible: boolean;
298
295
  position: import('..').TriggerPostion;
@@ -302,7 +299,10 @@ declare const Popconfirm: {
302
299
  arrowStyle: import('vue').CSSProperties;
303
300
  popupContainer: import('..').PopupContainer;
304
301
  content: string;
302
+ type: import('./type').PopconfirmType;
305
303
  triggerProps: import('..').TriggerProps;
304
+ okText: string;
305
+ cancelText: string;
306
306
  okLoading: boolean;
307
307
  okButtonProps: import('..').ButtonProps;
308
308
  cancelButtonProps: import('..').ButtonProps;
@@ -313,22 +313,19 @@ declare const Popconfirm: {
313
313
  __isTeleport?: never;
314
314
  __isSuspense?: never;
315
315
  } & import('vue').ComponentOptionsBase<Readonly<import('./type').PopconfirmProps> & Readonly<{
316
- onCancel?: (() => any) | undefined;
317
- onOk?: (() => any) | undefined;
318
316
  "onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
319
317
  "onPopup-visible-change"?: ((value: boolean) => any) | undefined;
318
+ onCancel?: (() => any) | undefined;
319
+ onOk?: (() => any) | undefined;
320
320
  }>, {
321
321
  hide(): void;
322
322
  show(): void;
323
323
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
324
- cancel: () => any;
325
- ok: () => any;
326
324
  "update:popupVisible": (value: boolean) => any;
327
325
  "popup-visible-change": (value: boolean) => any;
326
+ cancel: () => any;
327
+ ok: () => any;
328
328
  }, string, {
329
- okText: string;
330
- cancelText: string;
331
- type: import('./type').PopconfirmType;
332
329
  popupVisible: boolean;
333
330
  defaultPopupVisible: boolean;
334
331
  position: import('..').TriggerPostion;
@@ -338,7 +335,10 @@ declare const Popconfirm: {
338
335
  arrowStyle: import('vue').CSSProperties;
339
336
  popupContainer: import('..').PopupContainer;
340
337
  content: string;
338
+ type: import('./type').PopconfirmType;
341
339
  triggerProps: import('..').TriggerProps;
340
+ okText: string;
341
+ cancelText: string;
342
342
  okLoading: boolean;
343
343
  okButtonProps: import('..').ButtonProps;
344
344
  cancelButtonProps: import('..').ButtonProps;
@@ -249,19 +249,16 @@ declare const __VLS_component: import('vue').DefineComponent<PopconfirmProps, {
249
249
  hide(): void;
250
250
  show(): void;
251
251
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
252
- cancel: () => any;
253
- ok: () => any;
254
252
  "update:popupVisible": (value: boolean) => any;
255
253
  "popup-visible-change": (value: boolean) => any;
254
+ cancel: () => any;
255
+ ok: () => any;
256
256
  }, string, import('vue').PublicProps, Readonly<PopconfirmProps> & Readonly<{
257
- onCancel?: (() => any) | undefined;
258
- onOk?: (() => any) | undefined;
259
257
  "onUpdate:popupVisible"?: ((value: boolean) => any) | undefined;
260
258
  "onPopup-visible-change"?: ((value: boolean) => any) | undefined;
259
+ onCancel?: (() => any) | undefined;
260
+ onOk?: (() => any) | undefined;
261
261
  }>, {
262
- okText: string;
263
- cancelText: string;
264
- type: import('./type').PopconfirmType;
265
262
  popupVisible: boolean;
266
263
  defaultPopupVisible: boolean;
267
264
  position: import('../Trigger').TriggerPostion;
@@ -271,7 +268,10 @@ declare const __VLS_component: import('vue').DefineComponent<PopconfirmProps, {
271
268
  arrowStyle: import('vue').CSSProperties;
272
269
  popupContainer: import('..').PopupContainer;
273
270
  content: string;
271
+ type: import('./type').PopconfirmType;
274
272
  triggerProps: import('../Trigger').TriggerProps;
273
+ okText: string;
274
+ cancelText: string;
275
275
  okLoading: boolean;
276
276
  okButtonProps: import('../Button').ButtonProps;
277
277
  cancelButtonProps: import('../Button').ButtonProps;
@@ -1 +1 @@
1
- "use strict";const e=require("vue"),o=require("../_shared/constants/index.js"),t=require("../_shared/locale/i18n.js");require("../node_modules/tinycolor2/esm/tinycolor.js"),require("../_shared/utils/dom.js"),require("../_shared/utils/time.js"),require("../Empty/index.js");/* empty css */const n=require("../_shared/utils/control.js"),r=require("../Modal/hooks/useOnBeforeClose.js"),i=require("../Trigger/index.js"),l=require("../Button/index.js"),a={class:"yc-popconfirm-body"},s={class:"yc-popconfirm-icon"},p={class:"yc-popconfirm-content"},c={class:"yc-popconfirm-footer"},u=e.defineComponent({name:"Popconfirm",__name:"index",props:{content:{default:""},position:{default:"top"},popupVisible:{type:Boolean,default:void 0},defaultPopupVisible:{type:Boolean,default:!1},type:{default:"info"},okText:{default:""},cancelText:{default:""},okLoading:{type:Boolean,default:!1},okButtonProps:{default:()=>({})},cancelButtonProps:{default:()=>({})},contentClass:{default:""},contentStyle:{default:()=>({})},arrowClass:{default:""},arrowStyle:{default:()=>({})},popupContainer:{default:void 0},onBeforeOk:{type:Function,default:()=>!0},onBeforeCancel:{type:Function,default:()=>!0},triggerProps:{default:()=>({})}},emits:["update:popupVisible","popup-visible-change","ok","cancel"],setup(u,{expose:d,emit:f}){const m=u,y=f,{popupVisible:g,defaultPopupVisible:v,type:k}=e.toRefs(m),{onBeforeOk:x,onBeforeCancel:B}=m,h=e.ref(!1),C=e.ref(),w=n(g,v.value,e=>{y("update:popupVisible",e),y("popup-visible-change",e)}),V=()=>{var e;r("confirmBtn",h,x,B)&&(y("ok"),null==(e=C.value)||e.hide())},_=()=>{var e;r("cancelBtn",h,x,B)&&(y("cancel"),null==(e=C.value)||e.hide())};return d({show(){w.value=!0},hide(){w.value=!1}}),(n,r)=>(e.openBlock(),e.createBlock(e.unref(i),e.mergeProps({"popup-visible":e.unref(w),"onUpdate:popupVisible":r[0]||(r[0]=o=>e.isRef(w)?w.value=o:null),position:n.position,"popup-container":n.popupContainer,"arrow-class":[" yc-popconfirm-popup-arrow",n.arrowClass],"arrow-style":n.arrowStyle,"content-class":["yc-popconfirm-popup-content",n.contentClass],"content-style":n.contentStyle,"popup-offset":10,class:["yc-popconfirm",`yc-popconfirm-${e.unref(k)}`,n.$attrs.class],style:n.$attrs.style,trigger:"click","animation-name":"zoom-in-fade-out","need-transform-origin":"","show-arrow":"",ref_key:"triggerRef",ref:C},n.triggerProps),{content:e.withCtx(()=>[e.createElementVNode("div",a,[e.createElementVNode("div",s,[e.renderSlot(n.$slots,"icon",{},()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(o.TYPE_ICON_MAP)[e.unref(k)])))])]),e.createElementVNode("div",p,[e.renderSlot(n.$slots,"content",{},()=>[e.createTextVNode(e.toDisplayString(n.content),1)])])]),e.createElementVNode("div",c,[e.createVNode(e.unref(l.default),e.mergeProps({size:"mini"},n.cancelButtonProps,{onClick:_}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.cancelText||e.unref(t.t)("popconfirm.cancelText")),1)]),_:1},16),e.createVNode(e.unref(l.default),e.mergeProps({size:"mini",type:"primary",loading:n.okLoading||h.value},n.okButtonProps,{onClick:V}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.okText||e.unref(t.t)("popconfirm.okText")),1)]),_:1},16,["loading"])])]),default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},16,["popup-visible","position","popup-container","arrow-class","arrow-style","content-class","content-style","class","style"]))}});module.exports=u;
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"),require("../Empty/index.js");/* empty css */const t=require("../_shared/utils/locale.js"),n=require("../_shared/utils/control.js"),r=require("../Modal/hooks/useOnBeforeClose.js"),l=require("../Trigger/index.js"),i=require("../Button/index.js"),s={class:"yc-popconfirm-body"},a={class:"yc-popconfirm-icon"},p={class:"yc-popconfirm-content"},c={class:"yc-popconfirm-footer"},u=e.defineComponent({name:"Popconfirm",__name:"index",props:{content:{default:""},position:{default:"top"},popupVisible:{type:Boolean,default:void 0},defaultPopupVisible:{type:Boolean,default:!1},type:{default:"info"},okText:{default:""},cancelText:{default:""},okLoading:{type:Boolean,default:!1},okButtonProps:{default:()=>({})},cancelButtonProps:{default:()=>({})},contentClass:{default:""},contentStyle:{default:()=>({})},arrowClass:{default:""},arrowStyle:{default:()=>({})},popupContainer:{default:void 0},onBeforeOk:{type:Function,default:()=>!0},onBeforeCancel:{type:Function,default:()=>!0},triggerProps:{default:()=>({})}},emits:["update:popupVisible","popup-visible-change","ok","cancel"],setup(u,{expose:d,emit:f}){const m=u,y=f,{popupVisible:g,defaultPopupVisible:v,type:k}=e.toRefs(m),{onBeforeOk:x,onBeforeCancel:B}=m,{t:h}=t.useI18n(),C=e.ref(!1),w=e.ref(),V=n(g,v.value,e=>{y("update:popupVisible",e),y("popup-visible-change",e)}),_=()=>{var e;r("confirmBtn",C,x,B)&&(y("ok"),null==(e=w.value)||e.hide())},P=()=>{var e;r("cancelBtn",C,x,B)&&(y("cancel"),null==(e=w.value)||e.hide())};return d({show(){V.value=!0},hide(){V.value=!1}}),(t,n)=>(e.openBlock(),e.createBlock(e.unref(l),e.mergeProps({"popup-visible":e.unref(V),"onUpdate:popupVisible":n[0]||(n[0]=o=>e.isRef(V)?V.value=o:null),position:t.position,"popup-container":t.popupContainer,"arrow-class":[" yc-popconfirm-popup-arrow",t.arrowClass],"arrow-style":t.arrowStyle,"content-class":["yc-popconfirm-popup-content",t.contentClass],"content-style":t.contentStyle,"popup-offset":10,class:["yc-popconfirm",`yc-popconfirm-${e.unref(k)}`,t.$attrs.class],style:t.$attrs.style,trigger:"click","animation-name":"zoom-in-fade-out","need-transform-origin":"","show-arrow":"",ref_key:"triggerRef",ref:w},t.triggerProps),{content:e.withCtx(()=>[e.createElementVNode("div",s,[e.createElementVNode("div",a,[e.renderSlot(t.$slots,"icon",{},()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(o.TYPE_ICON_MAP)[e.unref(k)])))])]),e.createElementVNode("div",p,[e.renderSlot(t.$slots,"content",{},()=>[e.createTextVNode(e.toDisplayString(t.content),1)])])]),e.createElementVNode("div",c,[e.createVNode(e.unref(i.default),e.mergeProps({size:"mini"},t.cancelButtonProps,{onClick:P}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.cancelText||e.unref(h)("popconfirm.cancelText")),1)]),_:1},16),e.createVNode(e.unref(i.default),e.mergeProps({size:"mini",type:"primary",loading:t.okLoading||C.value},t.okButtonProps,{onClick:_}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(t.okText||e.unref(h)("popconfirm.okText")),1)]),_:1},16,["loading"])])]),default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3},16,["popup-visible","position","popup-container","arrow-class","arrow-style","content-class","content-style","class","style"]))}});module.exports=u;
@@ -1 +1 @@
1
- "use strict";const e=require("vue");require("../node_modules/tinycolor2/esm/tinycolor.js"),require("../_shared/utils/dom.js"),require("../_shared/utils/time.js"),require("../Empty/index.js");/* empty css */const t=require("../_shared/utils/control.js"),o=require("../Trigger/index.js"),r={key:0,class:"yc-popover-title"},s={class:"yc-popover-content"},l=e.defineComponent({name:"Popover",__name:"index",props:{popupVisible:{type:Boolean,default:void 0},defaultPopupVisible:{type:Boolean,default:!1},title:{default:""},content:{default:""},trigger:{default:"hover"},position:{default:"bottom"},contentClass:{default:""},contentStyle:{default:()=>({})},arrowClass:{default:""},arrowStyle:{default:()=>({})},popupContainer:{default:void 0},triggerProps:{default:()=>({})}},emits:["update:popupVisible","popup-visible-change"],setup(l,{expose:p,emit:i}){const n=l,a=i,{popupVisible:u,defaultPopupVisible:c}=e.toRefs(n),d=t(u,c.value,e=>{a("update:popupVisible",e),a("popup-visible-change",e)});return p({show(){d.value=!0},hide(){d.value=!1}}),(t,l)=>(e.openBlock(),e.createBlock(e.unref(o),e.mergeProps({"popup-visible":e.unref(d),"onUpdate:popupVisible":l[0]||(l[0]=t=>e.isRef(d)?d.value=t:null),trigger:t.trigger,position:t.position,"popup-container":t.popupContainer,"arrow-class":["yc-popover-popup-arrow ",t.arrowClass],"arrow-style":t.arrowStyle,"content-class":["yc-popover-popup-content",t.contentClass],"content-style":t.contentStyle,"popup-offset":10,class:["yc-popover",t.$attrs.class],style:t.$attrs.style,"animation-name":"zoom-in-fade-out","need-transform-origin":"","show-arrow":""},t.triggerProps),{content:e.withCtx(()=>[t.$slots.title||t.title?(e.openBlock(),e.createElementBlock("div",r,[e.renderSlot(t.$slots,"title",{},()=>[e.createTextVNode(e.toDisplayString(t.title),1)])])):e.createCommentVNode("",!0),e.createElementVNode("div",s,[e.renderSlot(t.$slots,"content",{},()=>[e.createTextVNode(e.toDisplayString(t.content),1)])])]),default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3},16,["popup-visible","trigger","position","popup-container","arrow-class","arrow-style","content-class","content-style","class","style"]))}});module.exports=l;
1
+ "use strict";const e=require("vue");require("../node_modules/tinycolor2/esm/tinycolor.js"),require("../_shared/utils/dom.js"),require("../_shared/utils/time.js"),require("../Empty/index.js"),/* empty css */require("../_shared/utils/locale.js");const t=require("../_shared/utils/control.js"),o=require("../Trigger/index.js"),r={key:0,class:"yc-popover-title"},s={class:"yc-popover-content"},l=e.defineComponent({name:"Popover",__name:"index",props:{popupVisible:{type:Boolean,default:void 0},defaultPopupVisible:{type:Boolean,default:!1},title:{default:""},content:{default:""},trigger:{default:"hover"},position:{default:"bottom"},contentClass:{default:""},contentStyle:{default:()=>({})},arrowClass:{default:""},arrowStyle:{default:()=>({})},popupContainer:{default:void 0},triggerProps:{default:()=>({})}},emits:["update:popupVisible","popup-visible-change"],setup(l,{expose:i,emit:p}){const n=l,a=p,{popupVisible:u,defaultPopupVisible:c}=e.toRefs(n),d=t(u,c.value,e=>{a("update:popupVisible",e),a("popup-visible-change",e)});return i({show(){d.value=!0},hide(){d.value=!1}}),(t,l)=>(e.openBlock(),e.createBlock(e.unref(o),e.mergeProps({"popup-visible":e.unref(d),"onUpdate:popupVisible":l[0]||(l[0]=t=>e.isRef(d)?d.value=t:null),trigger:t.trigger,position:t.position,"popup-container":t.popupContainer,"arrow-class":["yc-popover-popup-arrow ",t.arrowClass],"arrow-style":t.arrowStyle,"content-class":["yc-popover-popup-content",t.contentClass],"content-style":t.contentStyle,"popup-offset":10,class:["yc-popover",t.$attrs.class],style:t.$attrs.style,"animation-name":"zoom-in-fade-out","need-transform-origin":"","show-arrow":""},t.triggerProps),{content:e.withCtx(()=>[t.$slots.title||t.title?(e.openBlock(),e.createElementBlock("div",r,[e.renderSlot(t.$slots,"title",{},()=>[e.createTextVNode(e.toDisplayString(t.title),1)])])):e.createCommentVNode("",!0),e.createElementVNode("div",s,[e.renderSlot(t.$slots,"content",{},()=>[e.createTextVNode(e.toDisplayString(t.content),1)])])]),default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3},16,["popup-visible","trigger","position","popup-container","arrow-class","arrow-style","content-class","content-style","class","style"]))}});module.exports=l;
@@ -17,8 +17,8 @@ declare function __VLS_template(): {
17
17
  };
18
18
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
19
19
  declare const __VLS_component: import('vue').DefineComponent<ProgressProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ProgressProps> & Readonly<{}>, {
20
- type: import('./type').ProgressType;
21
20
  size: import('..').Size;
21
+ type: import('./type').ProgressType;
22
22
  animation: boolean;
23
23
  status: import('./type').ProgressStatus;
24
24
  showText: boolean;
@@ -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");const t=require("../_shared/utils/global-config.js"),r=require("./ProgressLine.vue.js");;/* empty css */const o=require("./ProgressSteps.vue.js");;/* empty css */const s=require("./ProgressCircle.vue.js");;/* empty css */const l=e.defineComponent({name:"Progress",__name:"Progress",props:{type:{default:"line"},size:{default:void 0},percent:{default:0},steps:{default:0},animation:{type:Boolean,default:!1},strokeWidth:{},width:{},color:{},trackColor:{},showText:{type:Boolean,default:!0},status:{default:"normal"}},setup(l){const i=l,{steps:a,percent:u,width:c,type:n,status:d,strokeWidth:p}=e.toRefs(i),{size:h}=t.getGlobalConfig(i),k=e.computed(()=>a.value>0?"steps":n.value),v=e.computed(()=>d.value||(u.value>=1?"success":"normal")),x=e.computed(()=>`${(100*u.value).toFixed(0)}%`),m=e.computed(()=>{if("steps"==k.value||"line"==k.value&&"mini"!=h.value)return c.value;return c.value??{mini:16,small:48,medium:64,large:80}[h.value]});return(t,l)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["yc-progress",`yc-progress-type-${k.value}`,`yc-progress-size-${e.unref(h)}`,`yc-progress-status-${v.value}`])},[e.unref(a)>0?(e.openBlock(),e.createBlock(o,{key:0,percent:e.unref(u),size:e.unref(h),width:m.value,"stroke-width":t.strokeWidth,text:x.value,"show-text":t.showText,color:t.color,"track-color":t.trackColor,steps:e.unref(a)},e.createSlots({_:2},[t.$slots.text?{name:"text",fn:e.withCtx(r=>[e.renderSlot(t.$slots,"text",e.normalizeProps(e.guardReactiveProps(r)))]),key:"0"}:void 0]),1032,["percent","size","width","stroke-width","text","show-text","color","track-color","steps"])):"line"===k.value&&"mini"!==e.unref(h)?(e.openBlock(),e.createBlock(r,{key:1,width:m.value,size:e.unref(h),"stroke-width":t.strokeWidth,color:t.color,"track-color":t.trackColor,text:x.value,"show-text":t.showText,percent:e.unref(u),status:v.value},e.createSlots({_:2},[t.$slots.text?{name:"text",fn:e.withCtx(r=>[e.renderSlot(t.$slots,"text",e.normalizeProps(e.guardReactiveProps(r)))]),key:"0"}:void 0]),1032,["width","size","stroke-width","color","track-color","text","show-text","percent","status"])):(e.openBlock(),e.createBlock(s,{key:2,type:k.value,percent:e.unref(u),width:m.value,"stroke-width":"line"===k.value?t.strokeWidth||4:t.strokeWidth,"path-stroke-width":"line"===k.value?t.strokeWidth||4:t.strokeWidth,size:e.unref(h),"show-text":t.showText,text:x.value,color:t.color,"track-color":t.trackColor,status:v.value},e.createSlots({_:2},[t.$slots.text?{name:"text",fn:e.withCtx(r=>[e.renderSlot(t.$slots,"text",e.normalizeProps(e.guardReactiveProps(r)))]),key:"0"}:void 0]),1032,["type","percent","width","stroke-width","path-stroke-width","size","show-text","text","color","track-color","status"]))],2))}});module.exports=l;
1
+ "use strict";const e=require("vue");require("../node_modules/tinycolor2/esm/tinycolor.js"),require("../_shared/utils/dom.js"),require("../_shared/utils/time.js");const t=require("../_shared/utils/global-config.js");require("../_shared/utils/locale.js");const r=require("./ProgressLine.vue.js");;/* empty css */const o=require("./ProgressSteps.vue.js");;/* empty css */const s=require("./ProgressCircle.vue.js");;/* empty css */const l=e.defineComponent({name:"Progress",__name:"Progress",props:{type:{default:"line"},size:{default:void 0},percent:{default:0},steps:{default:0},animation:{type:Boolean,default:!1},strokeWidth:{},width:{},color:{},trackColor:{},showText:{type:Boolean,default:!0},status:{default:"normal"}},setup(l){const i=l,{steps:a,percent:u,width:c,type:n,status:d,strokeWidth:p}=e.toRefs(i),{size:h}=t.getGlobalConfig(i),k=e.computed(()=>a.value>0?"steps":n.value),v=e.computed(()=>d.value||(u.value>=1?"success":"normal")),x=e.computed(()=>`${(100*u.value).toFixed(0)}%`),m=e.computed(()=>{if("steps"==k.value||"line"==k.value&&"mini"!=h.value)return c.value;return c.value??{mini:16,small:48,medium:64,large:80}[h.value]});return(t,l)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["yc-progress",`yc-progress-type-${k.value}`,`yc-progress-size-${e.unref(h)}`,`yc-progress-status-${v.value}`])},[e.unref(a)>0?(e.openBlock(),e.createBlock(o,{key:0,percent:e.unref(u),size:e.unref(h),width:m.value,"stroke-width":t.strokeWidth,text:x.value,"show-text":t.showText,color:t.color,"track-color":t.trackColor,steps:e.unref(a)},e.createSlots({_:2},[t.$slots.text?{name:"text",fn:e.withCtx(r=>[e.renderSlot(t.$slots,"text",e.normalizeProps(e.guardReactiveProps(r)))]),key:"0"}:void 0]),1032,["percent","size","width","stroke-width","text","show-text","color","track-color","steps"])):"line"===k.value&&"mini"!==e.unref(h)?(e.openBlock(),e.createBlock(r,{key:1,width:m.value,size:e.unref(h),"stroke-width":t.strokeWidth,color:t.color,"track-color":t.trackColor,text:x.value,"show-text":t.showText,percent:e.unref(u),status:v.value},e.createSlots({_:2},[t.$slots.text?{name:"text",fn:e.withCtx(r=>[e.renderSlot(t.$slots,"text",e.normalizeProps(e.guardReactiveProps(r)))]),key:"0"}:void 0]),1032,["width","size","stroke-width","color","track-color","text","show-text","percent","status"])):(e.openBlock(),e.createBlock(s,{key:2,type:k.value,percent:e.unref(u),width:m.value,"stroke-width":"line"===k.value?t.strokeWidth||4:t.strokeWidth,"path-stroke-width":"line"===k.value?t.strokeWidth||4:t.strokeWidth,size:e.unref(h),"show-text":t.showText,text:x.value,color:t.color,"track-color":t.trackColor,status:v.value},e.createSlots({_:2},[t.$slots.text?{name:"text",fn:e.withCtx(r=>[e.renderSlot(t.$slots,"text",e.normalizeProps(e.guardReactiveProps(r)))]),key:"0"}:void 0]),1032,["type","percent","width","stroke-width","path-stroke-width","size","show-text","text","color","track-color","status"]))],2))}});module.exports=l;
@@ -1 +1 @@
1
- "use strict";const e=require("vue");require("../node_modules/tinycolor2/esm/tinycolor.js");const r=require("../_shared/utils/dom.js"),l=require("../_shared/utils/is.js");require("../_shared/utils/time.js"),require("../Empty/index.js");/* empty css */const o=require("../_shared/icons/IconCheck.vue.js"),t=require("../_shared/icons/IconExclamation.vue2.js"),s=require("../_shared/constants/index.js"),c=["aria-valuenow"],a=["viewBox"],n={key:0},u=["id"],i=["offset","stop-color"],m=["cx","cy","r","stroke-width"],d=["cx","cy","r","stroke-width"],p={key:2,class:e.normalizeClass("yc-progress-circle-text")},k=e.defineComponent({__name:"ProgressCircle",props:{type:{},percent:{},status:{},size:{},text:{},showText:{type:Boolean},width:{},strokeWidth:{},pathStrokeWidth:{},color:{},trackColor:{}},setup(k){const v=k,{size:y,width:f,color:h,strokeWidth:x,pathStrokeWidth:B}=e.toRefs(v);let _=0;const g=e.computed(()=>l.isObject(h.value)),C=e.computed(()=>x.value??("mini"===y.value?f.value/2:{mini:4,small:3,medium:4,large:4}[y.value])),E=e.computed(()=>B.value?B.value:"mini"===y.value?C.value:Math.max(2,C.value-2)),w=e.computed(()=>(f.value-C.value)/2),j=e.computed(()=>2*Math.PI*w.value),z=e.computed(()=>f.value/2),O=e.computed(()=>(_+=1,`yc-progress-circle-linear-gradient-${_}`));return(k,v)=>(e.openBlock(),e.createElementBlock("div",{role:"progressbar","aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":k.percent,class:e.normalizeClass("yc-progress-circle-wrapper"),style:e.normalizeStyle({width:e.unref(r.valueToPx)(e.unref(f)),height:e.unref(r.valueToPx)(e.unref(f))})},["circle"===k.type&&"mini"===e.unref(y)&&"success"===k.status?(e.openBlock(),e.createBlock(e.unref(o),{key:0,style:e.normalizeStyle({fontSize:e.unref(f)-2,color:e.unref(h)??e.unref(s.TYPE_ICON_COLOR_MAP).success})},null,8,["style"])):(e.openBlock(),e.createElementBlock("svg",{key:1,viewBox:`0 0 ${e.unref(f)} ${e.unref(f)}`,class:e.normalizeClass("yc-progress-circle-svg")},[e.unref(l.isObject)(e.unref(h))?(e.openBlock(),e.createElementBlock("defs",n,[e.createElementVNode("linearGradient",{id:O.value,x1:"0",y1:"1",x2:"0",y2:"0"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys(e.unref(h)),r=>(e.openBlock(),e.createElementBlock("stop",{key:r,offset:r,"stop-color":e.unref(h)[r]},null,8,i))),128))],8,u)])):e.createCommentVNode("",!0),e.createElementVNode("circle",{class:e.normalizeClass("yc-progress-circle-bg"),fill:"none",cx:z.value,cy:z.value,r:w.value,"stroke-width":E.value,style:e.normalizeStyle({stroke:k.trackColor})},null,12,m),e.createElementVNode("circle",{class:e.normalizeClass("yc-progress-circle-bar"),fill:"none",cx:z.value,cy:z.value,r:w.value,"stroke-width":C.value,style:e.normalizeStyle({stroke:g.value?`url(#${O.value})`:e.unref(h),strokeDasharray:j.value,strokeDashoffset:(k.percent>=1?0:1-k.percent)*j.value})},null,12,d)],8,a)),k.showText&&"mini"!==e.unref(y)?(e.openBlock(),e.createElementBlock("div",p,[e.renderSlot(k.$slots,"text",{percent:k.percent},()=>["danger"===k.status?(e.openBlock(),e.createBlock(e.unref(t),{key:0,color:e.unref(s.TYPE_ICON_COLOR_MAP).error},null,8,["color"])):"success"===k.status?(e.openBlock(),e.createBlock(e.unref(o),{key:1,color:e.unref(s.TYPE_ICON_COLOR_MAP).success},null,8,["color"])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createTextVNode(e.toDisplayString(k.text),1)],64))])])):e.createCommentVNode("",!0)],12,c))}});module.exports=k;
1
+ "use strict";const e=require("vue");require("../node_modules/tinycolor2/esm/tinycolor.js");const r=require("../_shared/utils/dom.js"),l=require("../_shared/utils/is.js");require("../_shared/utils/time.js"),require("../Empty/index.js");/* empty css */const o=require("../_shared/icons/IconCheck.vue.js"),t=require("../_shared/icons/IconExclamation.vue2.js");require("../_shared/utils/locale.js");const s=require("../_shared/constants/index.js"),c=["aria-valuenow"],a=["viewBox"],n={key:0},u=["id"],i=["offset","stop-color"],m=["cx","cy","r","stroke-width"],d=["cx","cy","r","stroke-width"],p={key:2,class:e.normalizeClass("yc-progress-circle-text")},k=e.defineComponent({__name:"ProgressCircle",props:{type:{},percent:{},status:{},size:{},text:{},showText:{type:Boolean},width:{},strokeWidth:{},pathStrokeWidth:{},color:{},trackColor:{}},setup(k){const v=k,{size:y,width:f,color:h,strokeWidth:x,pathStrokeWidth:B}=e.toRefs(v);let _=0;const g=e.computed(()=>l.isObject(h.value)),C=e.computed(()=>x.value??("mini"===y.value?f.value/2:{mini:4,small:3,medium:4,large:4}[y.value])),E=e.computed(()=>B.value?B.value:"mini"===y.value?C.value:Math.max(2,C.value-2)),w=e.computed(()=>(f.value-C.value)/2),j=e.computed(()=>2*Math.PI*w.value),z=e.computed(()=>f.value/2),O=e.computed(()=>(_+=1,`yc-progress-circle-linear-gradient-${_}`));return(k,v)=>(e.openBlock(),e.createElementBlock("div",{role:"progressbar","aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":k.percent,class:e.normalizeClass("yc-progress-circle-wrapper"),style:e.normalizeStyle({width:e.unref(r.valueToPx)(e.unref(f)),height:e.unref(r.valueToPx)(e.unref(f))})},["circle"===k.type&&"mini"===e.unref(y)&&"success"===k.status?(e.openBlock(),e.createBlock(e.unref(o),{key:0,style:e.normalizeStyle({fontSize:e.unref(f)-2,color:e.unref(h)??e.unref(s.TYPE_ICON_COLOR_MAP).success})},null,8,["style"])):(e.openBlock(),e.createElementBlock("svg",{key:1,viewBox:`0 0 ${e.unref(f)} ${e.unref(f)}`,class:e.normalizeClass("yc-progress-circle-svg")},[e.unref(l.isObject)(e.unref(h))?(e.openBlock(),e.createElementBlock("defs",n,[e.createElementVNode("linearGradient",{id:O.value,x1:"0",y1:"1",x2:"0",y2:"0"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Object.keys(e.unref(h)),r=>(e.openBlock(),e.createElementBlock("stop",{key:r,offset:r,"stop-color":e.unref(h)[r]},null,8,i))),128))],8,u)])):e.createCommentVNode("",!0),e.createElementVNode("circle",{class:e.normalizeClass("yc-progress-circle-bg"),fill:"none",cx:z.value,cy:z.value,r:w.value,"stroke-width":E.value,style:e.normalizeStyle({stroke:k.trackColor})},null,12,m),e.createElementVNode("circle",{class:e.normalizeClass("yc-progress-circle-bar"),fill:"none",cx:z.value,cy:z.value,r:w.value,"stroke-width":C.value,style:e.normalizeStyle({stroke:g.value?`url(#${O.value})`:e.unref(h),strokeDasharray:j.value,strokeDashoffset:(k.percent>=1?0:1-k.percent)*j.value})},null,12,d)],8,a)),k.showText&&"mini"!==e.unref(y)?(e.openBlock(),e.createElementBlock("div",p,[e.renderSlot(k.$slots,"text",{percent:k.percent},()=>["danger"===k.status?(e.openBlock(),e.createBlock(e.unref(t),{key:0,color:e.unref(s.TYPE_ICON_COLOR_MAP).error},null,8,["color"])):"success"===k.status?(e.openBlock(),e.createBlock(e.unref(o),{key:1,color:e.unref(s.TYPE_ICON_COLOR_MAP).success},null,8,["color"])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createTextVNode(e.toDisplayString(k.text),1)],64))])])):e.createCommentVNode("",!0)],12,c))}});module.exports=k;
@@ -1 +1 @@
1
- "use strict";const e=require("vue"),r=require("../_shared/constants/index.js");require("../node_modules/tinycolor2/esm/tinycolor.js");const o=require("../_shared/utils/dom.js"),t=require("../_shared/utils/is.js");require("../_shared/utils/time.js"),require("../Empty/index.js");/* empty css */const l=["aria-valuenow"],s={key:0,class:"yc-progress-line-text"},a=e.defineComponent({__name:"ProgressLine",props:{size:{},percent:{},status:{},showText:{type:Boolean},text:{},width:{},strokeWidth:{},color:{},trackColor:{}},setup(a){const n=a,{width:i,trackColor:u,color:c,percent:d,size:m,strokeWidth:p}=e.toRefs(n),v=e.computed(()=>p.value??{small:3,medium:4,large:8}[m.value]),g=e.computed(()=>({width:o.valueToPx(i.value),height:o.valueToPx(v.value),backgroundColor:u.value})),y=e.computed(()=>({width:100*d.value+"%",...h(c.value)})),h=e=>{if(t.isObject(e)){return{backgroundImage:`linear-gradient(to right, ${Object.keys(e).map(r=>`${e[r]} ${r}`).join(",")})`}}return{backgroundColor:e}};return(o,t)=>(e.openBlock(),e.createElementBlock("div",{role:"progressbar","aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":e.unref(d),class:"yc-progress-line-wrapper"},[e.createElementVNode("div",{class:"yc-progress-line",style:e.normalizeStyle(g.value)},[e.createElementVNode("div",{class:"yc-progress-line-bar",style:e.normalizeStyle(y.value)},null,4)],4),o.showText?(e.openBlock(),e.createElementBlock("div",s,[e.renderSlot(o.$slots,"text",{percent:e.unref(d)},()=>[e.createElementVNode("span",null,e.toDisplayString(o.text),1),"danger"===o.status?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(r.TYPE_ICON_MAP).warning),{key:0,color:e.unref(r.TYPE_ICON_COLOR_MAP).error},null,8,["color"])):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0)],8,l))}});module.exports=a;
1
+ "use strict";const e=require("vue"),r=require("../_shared/constants/index.js");require("../node_modules/tinycolor2/esm/tinycolor.js");const o=require("../_shared/utils/dom.js"),t=require("../_shared/utils/is.js");require("../_shared/utils/time.js"),require("../Empty/index.js"),/* empty css */require("../_shared/utils/locale.js");const l=["aria-valuenow"],s={key:0,class:"yc-progress-line-text"},a=e.defineComponent({__name:"ProgressLine",props:{size:{},percent:{},status:{},showText:{type:Boolean},text:{},width:{},strokeWidth:{},color:{},trackColor:{}},setup(a){const n=a,{width:i,trackColor:u,color:c,percent:d,size:m,strokeWidth:p}=e.toRefs(n),v=e.computed(()=>p.value??{small:3,medium:4,large:8}[m.value]),g=e.computed(()=>({width:o.valueToPx(i.value),height:o.valueToPx(v.value),backgroundColor:u.value})),h=e.computed(()=>({width:100*d.value+"%",...y(c.value)})),y=e=>{if(t.isObject(e)){return{backgroundImage:`linear-gradient(to right, ${Object.keys(e).map(r=>`${e[r]} ${r}`).join(",")})`}}return{backgroundColor:e}};return(o,t)=>(e.openBlock(),e.createElementBlock("div",{role:"progressbar","aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":e.unref(d),class:"yc-progress-line-wrapper"},[e.createElementVNode("div",{class:"yc-progress-line",style:e.normalizeStyle(g.value)},[e.createElementVNode("div",{class:"yc-progress-line-bar",style:e.normalizeStyle(h.value)},null,4)],4),o.showText?(e.openBlock(),e.createElementBlock("div",s,[e.renderSlot(o.$slots,"text",{percent:e.unref(d)},()=>[e.createElementVNode("span",null,e.toDisplayString(o.text),1),"danger"===o.status?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(r.TYPE_ICON_MAP).warning),{key:0,color:e.unref(r.TYPE_ICON_COLOR_MAP).error},null,8,["color"])):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0)],8,l))}});module.exports=a;
@@ -1 +1 @@
1
- "use strict";const e=require("vue"),r=require("../_shared/constants/index.js");require("../node_modules/tinycolor2/esm/tinycolor.js");const t=require("../_shared/utils/dom.js");require("../_shared/utils/time.js"),require("../Empty/index.js");/* empty css */const o=["aria-valuenow"],s={key:0,class:"yc-progress-steps-text"},l=e.defineComponent({__name:"ProgressSteps",props:{steps:{},percent:{},size:{},text:{},showText:{type:Boolean},color:{},trackColor:{},strokeWidth:{},status:{}},setup(l){const a=l,{steps:n,percent:c,size:u,strokeWidth:i}=e.toRefs(a),p=e.computed(()=>i.value??("small"==u.value?8:4)),m=e.computed(()=>Array(n.value).fill(0).map((e,r)=>c.value>0&&c.value>1/n.value*r));return(l,a)=>(e.openBlock(),e.createElementBlock("div",{role:"progressbar","aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":e.unref(c),class:"yc-progress-steps-wrapper"},[e.createElementVNode("div",{class:"yc-progress-steps",style:e.normalizeStyle({height:e.unref(t.valueToPx)(p.value)})},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(m.value,(r,t)=>(e.openBlock(),e.createElementBlock("div",{key:t,class:e.normalizeClass(["yc-progress-steps-item",{"yc-progress-steps-item-active":r}]),style:e.normalizeStyle({backgroundColor:r?l.color:l.trackColor})},null,6))),128))],4),l.showText?(e.openBlock(),e.createElementBlock("div",s,[e.renderSlot(l.$slots,"text",{percent:e.unref(c)},()=>[e.createTextVNode(e.toDisplayString(l.text)+" ",1),"danger"===l.status?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(r.TYPE_ICON_MAP).danger),{key:0,color:e.unref(r.TYPE_ICON_COLOR_MAP).danger},null,8,["color"])):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0)],8,o))}});module.exports=l;
1
+ "use strict";const e=require("vue"),r=require("../_shared/constants/index.js");require("../node_modules/tinycolor2/esm/tinycolor.js");const s=require("../_shared/utils/dom.js");require("../_shared/utils/time.js"),require("../Empty/index.js"),/* empty css */require("../_shared/utils/locale.js");const t=["aria-valuenow"],o={key:0,class:"yc-progress-steps-text"},l=e.defineComponent({__name:"ProgressSteps",props:{steps:{},percent:{},size:{},text:{},showText:{type:Boolean},color:{},trackColor:{},strokeWidth:{},status:{}},setup(l){const a=l,{steps:n,percent:c,size:u,strokeWidth:i}=e.toRefs(a),p=e.computed(()=>i.value??("small"==u.value?8:4)),m=e.computed(()=>Array(n.value).fill(0).map((e,r)=>c.value>0&&c.value>1/n.value*r));return(l,a)=>(e.openBlock(),e.createElementBlock("div",{role:"progressbar","aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":e.unref(c),class:"yc-progress-steps-wrapper"},[e.createElementVNode("div",{class:"yc-progress-steps",style:e.normalizeStyle({height:e.unref(s.valueToPx)(p.value)})},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(m.value,(r,s)=>(e.openBlock(),e.createElementBlock("div",{key:s,class:e.normalizeClass(["yc-progress-steps-item",{"yc-progress-steps-item-active":r}]),style:e.normalizeStyle({backgroundColor:r?l.color:l.trackColor})},null,6))),128))],4),l.showText?(e.openBlock(),e.createElementBlock("div",o,[e.renderSlot(l.$slots,"text",{percent:e.unref(c)},()=>[e.createTextVNode(e.toDisplayString(l.text)+" ",1),"danger"===l.status?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(r.TYPE_ICON_MAP).danger),{key:0,color:e.unref(r.TYPE_ICON_COLOR_MAP).danger},null,8,["color"])):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0)],8,t))}});module.exports=l;
@@ -4,8 +4,8 @@ export type ProgressInstance = InstanceType<typeof _Progress>;
4
4
  export * from './type';
5
5
  declare const Progress: {
6
6
  new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./type').ProgressProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
7
- type: import('./type').ProgressType;
8
7
  size: import('..').Size;
8
+ type: import('./type').ProgressType;
9
9
  animation: boolean;
10
10
  status: import('./type').ProgressStatus;
11
11
  showText: boolean;
@@ -19,8 +19,8 @@ declare const Progress: {
19
19
  M: {};
20
20
  Defaults: {};
21
21
  }, Readonly<import('./type').ProgressProps> & Readonly<{}>, {}, {}, {}, {}, {
22
- type: import('./type').ProgressType;
23
22
  size: import('..').Size;
23
+ type: import('./type').ProgressType;
24
24
  animation: boolean;
25
25
  status: import('./type').ProgressStatus;
26
26
  showText: boolean;
@@ -31,8 +31,8 @@ declare const Progress: {
31
31
  __isTeleport?: never;
32
32
  __isSuspense?: never;
33
33
  } & import('vue').ComponentOptionsBase<Readonly<import('./type').ProgressProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
34
- type: import('./type').ProgressType;
35
34
  size: import('..').Size;
35
+ type: import('./type').ProgressType;
36
36
  animation: boolean;
37
37
  status: import('./type').ProgressStatus;
38
38
  showText: boolean;
@@ -13,9 +13,9 @@ declare const __VLS_component: import('vue').DefineComponent<RadioProps, {}, {},
13
13
  onChange?: ((value: RadioValue, ev: Event) => any) | undefined;
14
14
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
15
15
  }>, {
16
- type: import('./type').RadioType;
17
16
  disabled: boolean;
18
17
  value: RadioValue;
18
+ type: import('./type').RadioType;
19
19
  defaultChecked: boolean;
20
20
  modelValue: RadioValue;
21
21
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLLabelElement>;
@@ -1 +1 @@
1
- "use strict";const e=require("vue");require("../node_modules/tinycolor2/esm/tinycolor.js"),require("../_shared/utils/dom.js"),require("../_shared/utils/time.js"),require("../Empty/index.js");/* empty css */const a=require("../_shared/utils/control.js"),l=require("./hooks/useContext.js"),o=require("../_shared/components/IconButton.vue.js");,/* empty css */;/* empty css */const t=["value","checked","disabled"],u={key:0,class:"yc-radio-label text-ellipsis"},d={key:1,class:"yc-radio-button-content"},r=e.defineComponent({name:"Radio",__name:"Radio",props:{modelValue:{type:[String,Number,Boolean],default:void 0},defaultChecked:{type:Boolean,default:!1},value:{type:[String,Number,Boolean],default:!0},type:{default:void 0},disabled:{type:Boolean,default:!1}},emits:["update:modelValue","change"],setup(r,{emit:s}){const n=r,c=s,{modelValue:i,defaultChecked:v,value:m,disabled:p,type:h}=e.toRefs(n),{computedValue:y,disabled:k,type:b,size:f,hasGroup:B,emits:_}=l().inject(),j=a(i,v.value,e=>{c("update:modelValue",e)}),q=e.computed(()=>B.value?y.value==m.value:j.value),V=e.computed(()=>k.value||p.value),C=e.computed(()=>h.value??b.value),E=e=>{V.value||(B.value?y.value=m.value:(j.value=m.value,c("change",m.value,e)))};return(a,l)=>(e.openBlock(),e.createElementBlock("label",{class:e.normalizeClass([`yc-radio-button-size-${e.unref(f)}`,"yc-radio"+("radio"==C.value?"":"-button"),"yc-radio-"+(q.value?"checked":"unchecked"),{"yc-radio-disabled":V.value}]),onClick:E},[e.createElementVNode("input",{type:"radio",class:"yc-radio-target",value:a.value,checked:q.value,disabled:V.value},null,8,t),e.renderSlot(a.$slots,"radio",{checked:q.value,disabled:V.value},()=>["radio"==C.value?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createVNode(e.unref(o),{"hover-size":24,hoverable:!q.value&&!V.value},{default:e.withCtx(()=>l[0]||(l[0]=[e.createElementVNode("span",{class:"yc-radio-icon"},null,-1)])),_:1,__:[0]},8,["hoverable"]),a.$slots.default?(e.openBlock(),e.createElementBlock("span",u,[e.renderSlot(a.$slots,"default")])):e.createCommentVNode("",!0)],64)):(e.openBlock(),e.createElementBlock("span",d,[e.renderSlot(a.$slots,"default")]))])],2))}});module.exports=r;
1
+ "use strict";const e=require("vue");require("../node_modules/tinycolor2/esm/tinycolor.js"),require("../_shared/utils/dom.js"),require("../_shared/utils/time.js"),require("../Empty/index.js"),/* empty css */require("../_shared/utils/locale.js");const a=require("../_shared/utils/control.js"),l=require("./hooks/useContext.js"),o=require("../_shared/components/IconButton.vue.js");,/* empty css */;/* empty css */const t=["value","checked","disabled"],u={key:0,class:"yc-radio-label text-ellipsis"},d={key:1,class:"yc-radio-button-content"},r=e.defineComponent({name:"Radio",__name:"Radio",props:{modelValue:{type:[String,Number,Boolean],default:void 0},defaultChecked:{type:Boolean,default:!1},value:{type:[String,Number,Boolean],default:!0},type:{default:void 0},disabled:{type:Boolean,default:!1}},emits:["update:modelValue","change"],setup(r,{emit:s}){const n=r,c=s,{modelValue:i,defaultChecked:v,value:m,disabled:p,type:h}=e.toRefs(n),{computedValue:y,disabled:k,type:b,size:f,hasGroup:B,emits:_}=l().inject(),j=a(i,v.value,e=>{c("update:modelValue",e)}),q=e.computed(()=>B.value?y.value==m.value:j.value),V=e.computed(()=>k.value||p.value),C=e.computed(()=>h.value??b.value),E=e=>{V.value||(B.value?y.value=m.value:(j.value=m.value,c("change",m.value,e)))};return(a,l)=>(e.openBlock(),e.createElementBlock("label",{class:e.normalizeClass([`yc-radio-button-size-${e.unref(f)}`,"yc-radio"+("radio"==C.value?"":"-button"),"yc-radio-"+(q.value?"checked":"unchecked"),{"yc-radio-disabled":V.value}]),onClick:E},[e.createElementVNode("input",{type:"radio",class:"yc-radio-target",value:a.value,checked:q.value,disabled:V.value},null,8,t),e.renderSlot(a.$slots,"radio",{checked:q.value,disabled:V.value},()=>["radio"==C.value?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createVNode(e.unref(o),{"hover-size":24,hoverable:!q.value&&!V.value},{default:e.withCtx(()=>l[0]||(l[0]=[e.createElementVNode("span",{class:"yc-radio-icon"},null,-1)])),_:1,__:[0]},8,["hoverable"]),a.$slots.default?(e.openBlock(),e.createElementBlock("span",u,[e.renderSlot(a.$slots,"default")])):e.createCommentVNode("",!0)],64)):(e.openBlock(),e.createElementBlock("span",d,[e.renderSlot(a.$slots,"default")]))])],2))}});module.exports=r;
@@ -13,9 +13,9 @@ declare const __VLS_component: import('vue').DefineComponent<RadioGroupProps, {}
13
13
  onChange?: ((value: import('./type').RadioValue) => any) | undefined;
14
14
  "onUpdate:modelValue"?: ((value: import('./type').RadioValue) => any) | undefined;
15
15
  }>, {
16
- type: import('./type').RadioType;
17
16
  size: import('..').Size;
18
17
  disabled: boolean;
18
+ type: import('./type').RadioType;
19
19
  modelValue: import('./type').RadioValue;
20
20
  defaultValue: import('./type').RadioValue;
21
21
  options: import('./type').RadioOption[];