yc-design-vue 1.8.7 → 1.8.9

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 (679) 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 +1 -0
  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/_lang/ar-eg.d.ts +206 -0
  250. package/es/_lang/de-de.d.ts +206 -0
  251. package/es/_lang/en-us.d.ts +254 -0
  252. package/es/_lang/es-es.d.ts +206 -0
  253. package/es/_lang/fr-fr.d.ts +206 -0
  254. package/es/_lang/id-id.d.ts +206 -0
  255. package/es/_lang/index.css +0 -0
  256. package/es/_lang/interface.d.ts +151 -0
  257. package/es/_lang/it-it.d.ts +206 -0
  258. package/es/_lang/ja-jp.d.ts +254 -0
  259. package/es/_lang/km-kh.d.ts +206 -0
  260. package/es/_lang/ko-kr.d.ts +206 -0
  261. package/es/_lang/ms-my.d.ts +206 -0
  262. package/es/_lang/nl-nl.d.ts +254 -0
  263. package/es/_lang/pt-pt.d.ts +206 -0
  264. package/es/_lang/ru-ru.d.ts +254 -0
  265. package/es/_lang/th-th.d.ts +206 -0
  266. package/es/_lang/vi-vn.d.ts +206 -0
  267. package/es/{_shared/locale/lang → _lang}/zh-cn.d.ts +39 -38
  268. package/es/_lang/zh-cn.js +202 -0
  269. package/es/_lang/zh-tw.d.ts +254 -0
  270. package/es/_shared/components/ExpandTransition.vue2.js +1 -0
  271. package/es/_shared/components/Icon.vue3.js +1 -0
  272. package/es/_shared/components/IconButton.vue.js +1 -0
  273. package/es/_shared/constants/index.js +1 -0
  274. package/es/_shared/icons/IconFullScreen.vue.js +1 -17
  275. package/es/_shared/icons/IconFullScreen.vue2.js +17 -1
  276. package/es/_shared/icons/IconOriginSize.vue.js +1 -23
  277. package/es/_shared/icons/IconOriginSize.vue2.js +23 -1
  278. package/es/_shared/icons/IconRotateLeft.vue.js +1 -17
  279. package/es/_shared/icons/IconRotateLeft.vue2.js +17 -1
  280. package/es/_shared/icons/IconRotateRight.vue.js +1 -17
  281. package/es/_shared/icons/IconRotateRight.vue2.js +17 -1
  282. package/es/_shared/icons/IconZoomIn.vue.js +1 -17
  283. package/es/_shared/icons/IconZoomIn.vue2.js +17 -1
  284. package/es/_shared/icons/IconZoomOut.vue.js +1 -17
  285. package/es/_shared/icons/IconZoomOut.vue2.js +17 -1
  286. package/es/_shared/utils/control.js +1 -0
  287. package/es/_shared/utils/global-config.d.ts +3 -1
  288. package/es/_shared/utils/global-config.js +4 -0
  289. package/es/_shared/utils/index.d.ts +1 -0
  290. package/es/_shared/utils/locale.d.ts +22 -0
  291. package/es/_shared/utils/locale.js +39 -0
  292. package/es/index.d.ts +27 -27
  293. package/es/index.js +0 -2
  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/_lang/ar-eg.d.ts +206 -0
  543. package/lib/_lang/de-de.d.ts +206 -0
  544. package/lib/_lang/en-us.d.ts +254 -0
  545. package/lib/_lang/es-es.d.ts +206 -0
  546. package/lib/_lang/fr-fr.d.ts +206 -0
  547. package/lib/_lang/id-id.d.ts +206 -0
  548. package/lib/_lang/index.css +0 -0
  549. package/lib/_lang/interface.d.ts +151 -0
  550. package/lib/_lang/it-it.d.ts +206 -0
  551. package/lib/_lang/ja-jp.d.ts +254 -0
  552. package/lib/_lang/km-kh.d.ts +206 -0
  553. package/lib/_lang/ko-kr.d.ts +206 -0
  554. package/lib/_lang/ms-my.d.ts +206 -0
  555. package/lib/_lang/nl-nl.d.ts +254 -0
  556. package/lib/_lang/pt-pt.d.ts +206 -0
  557. package/lib/_lang/ru-ru.d.ts +254 -0
  558. package/lib/_lang/th-th.d.ts +206 -0
  559. package/lib/_lang/vi-vn.d.ts +206 -0
  560. package/lib/{_shared/locale/lang → _lang}/zh-cn.d.ts +39 -38
  561. package/lib/_lang/zh-cn.js +1 -0
  562. package/lib/_lang/zh-tw.d.ts +254 -0
  563. package/lib/_shared/components/ExpandTransition.vue2.js +1 -1
  564. package/lib/_shared/components/Icon.vue3.js +1 -1
  565. package/lib/_shared/components/IconButton.vue.js +1 -1
  566. package/lib/_shared/constants/index.js +1 -1
  567. package/lib/_shared/icons/IconFullScreen.vue.js +1 -1
  568. package/lib/_shared/icons/IconFullScreen.vue2.js +1 -1
  569. package/lib/_shared/icons/IconOriginSize.vue.js +1 -1
  570. package/lib/_shared/icons/IconOriginSize.vue2.js +1 -1
  571. package/lib/_shared/icons/IconRotateLeft.vue.js +1 -1
  572. package/lib/_shared/icons/IconRotateLeft.vue2.js +1 -1
  573. package/lib/_shared/icons/IconRotateRight.vue.js +1 -1
  574. package/lib/_shared/icons/IconRotateRight.vue2.js +1 -1
  575. package/lib/_shared/icons/IconZoomIn.vue.js +1 -1
  576. package/lib/_shared/icons/IconZoomIn.vue2.js +1 -1
  577. package/lib/_shared/icons/IconZoomOut.vue.js +1 -1
  578. package/lib/_shared/icons/IconZoomOut.vue2.js +1 -1
  579. package/lib/_shared/utils/control.js +1 -1
  580. package/lib/_shared/utils/global-config.d.ts +3 -1
  581. package/lib/_shared/utils/global-config.js +1 -1
  582. package/lib/_shared/utils/index.d.ts +1 -0
  583. package/lib/_shared/utils/locale.d.ts +22 -0
  584. package/lib/_shared/utils/locale.js +1 -0
  585. package/lib/index.d.ts +27 -27
  586. package/lib/index.js +1 -1
  587. package/package.json +10 -22
  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.json.d.ts +0 -255
  622. package/es/_shared/locale/lang/zh-cn.json.js +0 -301
  623. package/es/_shared/locale/lang/zh-tw.json.d.ts +0 -255
  624. package/es/_shared/locale/lang/zh-tw.json.js +0 -301
  625. package/es/node_modules/@intlify/core-base/dist/core-base.js +0 -1126
  626. package/es/node_modules/@intlify/message-compiler/dist/message-compiler.js +0 -65
  627. package/es/node_modules/@intlify/shared/dist/shared.js +0 -199
  628. package/es/node_modules/@intlify/vue-i18n-core/dist/vue-i18n-core.js +0 -1375
  629. package/es/node_modules/@vue/devtools-api/lib/esm/const.js +0 -6
  630. package/es/node_modules/@vue/devtools-api/lib/esm/env.js +0 -12
  631. package/es/node_modules/@vue/devtools-api/lib/esm/index.js +0 -26
  632. package/es/node_modules/@vue/devtools-api/lib/esm/proxy.js +0 -103
  633. package/es/node_modules/@vue/devtools-api/lib/esm/time.js +0 -25
  634. package/lib/_shared/locale/i18n.d.ts +0 -512
  635. package/lib/_shared/locale/i18n.js +0 -1
  636. package/lib/_shared/locale/lang/ar-eg.json.js +0 -1
  637. package/lib/_shared/locale/lang/de-de.json.d.ts +0 -207
  638. package/lib/_shared/locale/lang/de-de.json.js +0 -1
  639. package/lib/_shared/locale/lang/en-us.json.d.ts +0 -210
  640. package/lib/_shared/locale/lang/en-us.json.js +0 -1
  641. package/lib/_shared/locale/lang/es-es.json.d.ts +0 -207
  642. package/lib/_shared/locale/lang/es-es.json.js +0 -1
  643. package/lib/_shared/locale/lang/fr-fr.json.d.ts +0 -207
  644. package/lib/_shared/locale/lang/fr-fr.json.js +0 -1
  645. package/lib/_shared/locale/lang/id-id.json.d.ts +0 -207
  646. package/lib/_shared/locale/lang/id-id.json.js +0 -1
  647. package/lib/_shared/locale/lang/it-it.json.d.ts +0 -207
  648. package/lib/_shared/locale/lang/it-it.json.js +0 -1
  649. package/lib/_shared/locale/lang/ja-jp.json.d.ts +0 -255
  650. package/lib/_shared/locale/lang/ja-jp.json.js +0 -1
  651. package/lib/_shared/locale/lang/km-kh.json.d.ts +0 -207
  652. package/lib/_shared/locale/lang/km-kh.json.js +0 -1
  653. package/lib/_shared/locale/lang/ko-kr.json.d.ts +0 -207
  654. package/lib/_shared/locale/lang/ko-kr.json.js +0 -1
  655. package/lib/_shared/locale/lang/ms-my.json.d.ts +0 -207
  656. package/lib/_shared/locale/lang/ms-my.json.js +0 -1
  657. package/lib/_shared/locale/lang/nl-nl.json.d.ts +0 -255
  658. package/lib/_shared/locale/lang/nl-nl.json.js +0 -1
  659. package/lib/_shared/locale/lang/pt-pt.json.d.ts +0 -207
  660. package/lib/_shared/locale/lang/pt-pt.json.js +0 -1
  661. package/lib/_shared/locale/lang/ru-ru.json.d.ts +0 -255
  662. package/lib/_shared/locale/lang/ru-ru.json.js +0 -1
  663. package/lib/_shared/locale/lang/th-th.json.d.ts +0 -207
  664. package/lib/_shared/locale/lang/th-th.json.js +0 -1
  665. package/lib/_shared/locale/lang/vi-vn.json.d.ts +0 -207
  666. package/lib/_shared/locale/lang/vi-vn.json.js +0 -1
  667. package/lib/_shared/locale/lang/zh-cn.json.d.ts +0 -255
  668. package/lib/_shared/locale/lang/zh-cn.json.js +0 -1
  669. package/lib/_shared/locale/lang/zh-tw.json.d.ts +0 -255
  670. package/lib/_shared/locale/lang/zh-tw.json.js +0 -1
  671. package/lib/node_modules/@intlify/core-base/dist/core-base.js +0 -1
  672. package/lib/node_modules/@intlify/message-compiler/dist/message-compiler.js +0 -6
  673. package/lib/node_modules/@intlify/shared/dist/shared.js +0 -7
  674. package/lib/node_modules/@intlify/vue-i18n-core/dist/vue-i18n-core.js +0 -1
  675. package/lib/node_modules/@vue/devtools-api/lib/esm/const.js +0 -1
  676. package/lib/node_modules/@vue/devtools-api/lib/esm/env.js +0 -1
  677. package/lib/node_modules/@vue/devtools-api/lib/esm/index.js +0 -1
  678. package/lib/node_modules/@vue/devtools-api/lib/esm/proxy.js +0 -1
  679. package/lib/node_modules/@vue/devtools-api/lib/esm/time.js +0 -1
@@ -4,6 +4,7 @@ import "../node_modules/tinycolor2/esm/tinycolor.js";
4
4
  import "../_shared/utils/dom.js";
5
5
  import "../_shared/utils/time.js";
6
6
  import "../Empty/index.js";
7
+ import "../_shared/utils/locale.js";
7
8
  /* empty css */
8
9
  import _sfc_main$2 from "../_shared/icons/IconRight.vue.js";
9
10
  import _sfc_main$1 from "../_shared/components/IconButton.vue.js";
@@ -4,6 +4,7 @@ import "../../_shared/utils/dom.js";
4
4
  import "../../_shared/utils/time.js";
5
5
  import "../../Empty/index.js";
6
6
  /* empty css */
7
+ import "../../_shared/utils/locale.js";
7
8
  import useControlValue from "../../_shared/utils/control.js";
8
9
  const COLLAPSE_CONTEXT_KEY = "collapse-context";
9
10
  const useContext = () => {
@@ -5,6 +5,7 @@ import { sleep, valueToPx } from "../_shared/utils/dom.js";
5
5
  import "../_shared/utils/time.js";
6
6
  import "../Empty/index.js";
7
7
  /* empty css */
8
+ import "../_shared/utils/locale.js";
8
9
  const _sfc_main = /* @__PURE__ */ defineComponent({
9
10
  __name: "ColorControl",
10
11
  props: {
@@ -4,6 +4,7 @@ import "../_shared/utils/dom.js";
4
4
  import "../_shared/utils/time.js";
5
5
  import "../Empty/index.js";
6
6
  /* empty css */
7
+ import "../_shared/utils/locale.js";
7
8
  import { COLOR_PICKER_FORMAT_OPTIONS } from "../_shared/constants/index.js";
8
9
  import Select from "../Select/index.js";
9
10
  import Input from "../Input/index.js";
@@ -1,5 +1,10 @@
1
1
  import { defineComponent, createElementBlock, openBlock, createElementVNode, createCommentVNode, toDisplayString, unref, Fragment, renderList, normalizeStyle } from "vue";
2
- import { t } from "../_shared/locale/i18n.js";
2
+ import "../node_modules/tinycolor2/esm/tinycolor.js";
3
+ import "../_shared/utils/dom.js";
4
+ import "../_shared/utils/time.js";
5
+ import "../Empty/index.js";
6
+ /* empty css */
7
+ import { useI18n } from "../_shared/utils/locale.js";
3
8
  const _hoisted_1 = { class: "yc-color-picker-colors-section" };
4
9
  const _hoisted_2 = { class: "yc-color-picker-colors-text" };
5
10
  const _hoisted_3 = {
@@ -16,6 +21,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
16
21
  },
17
22
  emits: ["colorClick"],
18
23
  setup(__props) {
24
+ const { t } = useI18n();
19
25
  return (_ctx, _cache) => {
20
26
  return openBlock(), createElementBlock("div", _hoisted_1, [
21
27
  createElementVNode("div", _hoisted_2, toDisplayString(_ctx.label), 1),
@@ -5,6 +5,7 @@ import { sleep, valueToPx } from "../_shared/utils/dom.js";
5
5
  import "../_shared/utils/time.js";
6
6
  import "../Empty/index.js";
7
7
  /* empty css */
8
+ import "../_shared/utils/locale.js";
8
9
  const _sfc_main = /* @__PURE__ */ defineComponent({
9
10
  __name: "ColorPalette",
10
11
  props: {
@@ -1,5 +1,10 @@
1
1
  import { defineComponent, ref, createElementBlock, openBlock, normalizeClass, unref, createVNode, createElementVNode, createCommentVNode, isRef, normalizeStyle, createBlock } from "vue";
2
- import { t } from "../_shared/locale/i18n.js";
2
+ import "../node_modules/tinycolor2/esm/tinycolor.js";
3
+ import "../_shared/utils/dom.js";
4
+ import "../_shared/utils/time.js";
5
+ import "../Empty/index.js";
6
+ /* empty css */
7
+ import { useI18n } from "../_shared/utils/locale.js";
3
8
  import useContext from "./hooks/useContext.js";
4
9
  import _sfc_main$1 from "./ColorPalette.vue.js";
5
10
  /* empty css */
@@ -32,6 +37,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
32
37
  presetColors,
33
38
  historyColors
34
39
  } = useContext().inject();
40
+ const { t } = useI18n();
35
41
  const colorBarRef = ref();
36
42
  const alphaBarRef = ref();
37
43
  const paletteRef = ref();
@@ -3,6 +3,7 @@ import { parseColor } from "../../_shared/utils/color.js";
3
3
  import "../../_shared/utils/dom.js";
4
4
  import "../../_shared/utils/time.js";
5
5
  import { getGlobalConfig } from "../../_shared/utils/global-config.js";
6
+ import "../../_shared/utils/locale.js";
6
7
  import useControlValue from "../../_shared/utils/control.js";
7
8
  const COLOR_PICKER_CONTEXT_KEY = "color-picker-context";
8
9
  const useContext = () => {
@@ -5,6 +5,7 @@ import { isObject } from "../_shared/utils/is.js";
5
5
  import "../_shared/utils/time.js";
6
6
  import "../Empty/index.js";
7
7
  /* empty css */
8
+ import "../_shared/utils/locale.js";
8
9
  import useContext from "./hooks/useContext.js";
9
10
  import Avatar from "../Avatar/index.js";
10
11
  const _hoisted_1 = {
@@ -4,12 +4,12 @@ export type ConfigProviderInstance = InstanceType<typeof _ConfigProvider>;
4
4
  export * from './type';
5
5
  declare const ConfigProvider: {
6
6
  new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./type').ConfigProviderProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
7
- locale: "ar-EG" | "de-DE" | "en-US" | "es-ES" | "fr-FR" | "id-ID" | "it-it" | "ja-JP" | "km-KH" | "ko-KR" | "ms-MY" | "nl-NL" | "pt-PT" | "ru-RU" | "th-TH" | "vi-VN" | "zh-CN" | "zh-TW";
8
7
  size: import('..').Size;
9
8
  popupContainer: import('..').PopupContainer;
10
9
  updateAtScroll: boolean;
11
10
  scrollToClose: boolean;
12
11
  zIndex: number;
12
+ locale: import('../_shared/type').ObjectData;
13
13
  }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
14
14
  P: {};
15
15
  B: {};
@@ -18,23 +18,23 @@ declare const ConfigProvider: {
18
18
  M: {};
19
19
  Defaults: {};
20
20
  }, Readonly<import('./type').ConfigProviderProps> & Readonly<{}>, {}, {}, {}, {}, {
21
- locale: "ar-EG" | "de-DE" | "en-US" | "es-ES" | "fr-FR" | "id-ID" | "it-it" | "ja-JP" | "km-KH" | "ko-KR" | "ms-MY" | "nl-NL" | "pt-PT" | "ru-RU" | "th-TH" | "vi-VN" | "zh-CN" | "zh-TW";
22
21
  size: import('..').Size;
23
22
  popupContainer: import('..').PopupContainer;
24
23
  updateAtScroll: boolean;
25
24
  scrollToClose: boolean;
26
25
  zIndex: number;
26
+ locale: import('../_shared/type').ObjectData;
27
27
  }>;
28
28
  __isFragment?: never;
29
29
  __isTeleport?: never;
30
30
  __isSuspense?: never;
31
31
  } & import('vue').ComponentOptionsBase<Readonly<import('./type').ConfigProviderProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
32
- locale: "ar-EG" | "de-DE" | "en-US" | "es-ES" | "fr-FR" | "id-ID" | "it-it" | "ja-JP" | "km-KH" | "ko-KR" | "ms-MY" | "nl-NL" | "pt-PT" | "ru-RU" | "th-TH" | "vi-VN" | "zh-CN" | "zh-TW";
33
32
  size: import('..').Size;
34
33
  popupContainer: import('..').PopupContainer;
35
34
  updateAtScroll: boolean;
36
35
  scrollToClose: boolean;
37
36
  zIndex: number;
37
+ locale: import('../_shared/type').ObjectData;
38
38
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
39
39
  $slots: Readonly<import('./type').ConfigconfigSlots> & import('./type').ConfigconfigSlots;
40
40
  }) & {
@@ -7,12 +7,12 @@ declare function __VLS_template(): {
7
7
  };
8
8
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
9
9
  declare const __VLS_component: import('vue').DefineComponent<ConfigProviderProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ConfigProviderProps> & Readonly<{}>, {
10
- locale: "ar-EG" | "de-DE" | "en-US" | "es-ES" | "fr-FR" | "id-ID" | "it-it" | "ja-JP" | "km-KH" | "ko-KR" | "ms-MY" | "nl-NL" | "pt-PT" | "ru-RU" | "th-TH" | "vi-VN" | "zh-CN" | "zh-TW";
11
10
  size: import('..').Size;
12
11
  popupContainer: import('..').PopupContainer;
13
12
  updateAtScroll: boolean;
14
13
  scrollToClose: boolean;
15
14
  zIndex: number;
15
+ locale: import('../_shared/type').ObjectData;
16
16
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
17
17
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
18
18
  export default _default;
@@ -1,16 +1,16 @@
1
- import { defineComponent, useSlots, toRefs, provide, watch, renderSlot } from "vue";
1
+ import { defineComponent, useSlots, toRefs, provide, renderSlot } from "vue";
2
2
  import "../node_modules/tinycolor2/esm/tinycolor.js";
3
3
  import "../_shared/utils/dom.js";
4
4
  import "../_shared/utils/time.js";
5
5
  import { CONFIG_PROVIDER_PROVIDE_KEY } from "../_shared/utils/global-config.js";
6
- import { loadLanguageAsync } from "../_shared/locale/i18n.js";
6
+ import "../_shared/utils/locale.js";
7
7
  const _sfc_main = /* @__PURE__ */ defineComponent({
8
8
  ...{
9
9
  name: "ConfigProvider"
10
10
  },
11
11
  __name: "index",
12
12
  props: {
13
- locale: { default: "zh-CN" },
13
+ locale: { default: void 0 },
14
14
  zIndex: { default: 1001 },
15
15
  size: { default: "medium" },
16
16
  popupContainer: { default: "body" },
@@ -23,21 +23,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
23
23
  const { locale, zIndex, size, updateAtScroll, scrollToClose, popupContainer } = toRefs(props);
24
24
  provide(CONFIG_PROVIDER_PROVIDE_KEY, {
25
25
  slots,
26
+ locale,
26
27
  zIndex,
27
28
  size,
28
29
  updateAtScroll,
29
30
  scrollToClose,
30
31
  popupContainer
31
32
  });
32
- watch(
33
- () => locale.value,
34
- (v) => {
35
- loadLanguageAsync(v);
36
- },
37
- {
38
- immediate: true
39
- }
40
- );
41
33
  return (_ctx, _cache) => {
42
34
  return renderSlot(_ctx.$slots, "default");
43
35
  };
@@ -1,7 +1,7 @@
1
- import { Size, PopupContainer } from '../_shared/type';
1
+ import { Size, PopupContainer, ObjectData } from '../_shared/type';
2
2
  import { VNode } from 'vue';
3
3
  export interface ConfigProviderProps {
4
- locale?: 'ar-EG' | 'de-DE' | 'en-US' | 'es-ES' | 'fr-FR' | 'id-ID' | 'it-it' | 'ja-JP' | 'km-KH' | 'ko-KR' | 'ms-MY' | 'nl-NL' | 'pt-PT' | 'ru-RU' | 'th-TH' | 'vi-VN' | 'zh-CN' | 'zh-TW';
4
+ locale?: ObjectData;
5
5
  zIndex?: number;
6
6
  size?: Size;
7
7
  popupContainer?: PopupContainer;
@@ -16,3 +16,4 @@ export interface ConfigconfigSlots {
16
16
  }) => VNode[];
17
17
  }
18
18
  export type EmptyComponent = 'Select' | 'List' | 'Transfer';
19
+ export type YcLang = 'ar-EG' | 'de-DE' | 'en-US' | 'es-ES' | 'fr-FR' | 'id-ID' | 'it-it' | 'ja-JP' | 'km-KH' | 'ko-KR' | 'ms-MY' | 'nl-NL' | 'pt-PT' | 'ru-RU' | 'th-TH' | 'vi-VN' | 'zh-CN' | 'zh-TW';
@@ -6,6 +6,7 @@ import "../_shared/utils/time.js";
6
6
  import { getSlotFunction } from "../_shared/utils/vue-utils.js";
7
7
  import "../Empty/index.js";
8
8
  /* empty css */
9
+ import "../_shared/utils/locale.js";
9
10
  import useContext from "./hooks/useContext.js";
10
11
  const _hoisted_1 = { class: "yc-descriptions-item" };
11
12
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -6,6 +6,7 @@ import "../_shared/utils/time.js";
6
6
  import { getSlotFunction } from "../_shared/utils/vue-utils.js";
7
7
  import "../Empty/index.js";
8
8
  /* empty css */
9
+ import "../_shared/utils/locale.js";
9
10
  import useContext from "./hooks/useContext.js";
10
11
  const _hoisted_1 = ["colspan"];
11
12
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -4,6 +4,7 @@ import { getBreakpointValue, mediaQueryHandler } from "../../_shared/utils/dom.j
4
4
  import "../../_shared/utils/time.js";
5
5
  import { findComponentsFromVnodes } from "../../_shared/utils/vue-utils.js";
6
6
  import { getGlobalConfig } from "../../_shared/utils/global-config.js";
7
+ import "../../_shared/utils/locale.js";
7
8
  import _sfc_main from "../DescriptionsItem.vue.js";
8
9
  const DESCRIPTIONS_CONTEXT_KEY = "radio-group-context";
9
10
  const useContext = () => {
@@ -4,8 +4,8 @@ export type DividerInstance = InstanceType<typeof _Divider>;
4
4
  export * from './type';
5
5
  declare const Divider: {
6
6
  new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./type').DividerProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
7
- type: import('./type').DividerType;
8
7
  size: number;
8
+ type: import('./type').DividerType;
9
9
  direction: import('..').Direction;
10
10
  margin: number | string;
11
11
  orientation: import('./type').Orientation;
@@ -17,8 +17,8 @@ declare const Divider: {
17
17
  M: {};
18
18
  Defaults: {};
19
19
  }, Readonly<import('./type').DividerProps> & Readonly<{}>, {}, {}, {}, {}, {
20
- type: import('./type').DividerType;
21
20
  size: number;
21
+ type: import('./type').DividerType;
22
22
  direction: import('..').Direction;
23
23
  margin: number | string;
24
24
  orientation: import('./type').Orientation;
@@ -27,8 +27,8 @@ declare const Divider: {
27
27
  __isTeleport?: never;
28
28
  __isSuspense?: never;
29
29
  } & import('vue').ComponentOptionsBase<Readonly<import('./type').DividerProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
30
- type: import('./type').DividerType;
31
30
  size: number;
31
+ type: import('./type').DividerType;
32
32
  direction: import('..').Direction;
33
33
  margin: number | string;
34
34
  orientation: import('./type').Orientation;
@@ -7,8 +7,8 @@ declare function __VLS_template(): {
7
7
  };
8
8
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
9
9
  declare const __VLS_component: import('vue').DefineComponent<DividerProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<DividerProps> & Readonly<{}>, {
10
- type: import('./type').DividerType;
11
10
  size: number;
11
+ type: import('./type').DividerType;
12
12
  direction: import('..').Direction;
13
13
  margin: number | string;
14
14
  orientation: import('./type').Orientation;
@@ -5,6 +5,7 @@ import { isUndefined } from "../_shared/utils/is.js";
5
5
  import "../_shared/utils/time.js";
6
6
  import "../Empty/index.js";
7
7
  /* empty css */
8
+ import "../_shared/utils/locale.js";
8
9
  const _sfc_main = /* @__PURE__ */ defineComponent({
9
10
  ...{
10
11
  name: "Divider"
@@ -9,23 +9,21 @@ declare function __VLS_template(): {
9
9
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
10
10
  declare const __VLS_component: import('vue').DefineComponent<DrawerProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
11
11
  cancel: (event: MouseEvent | KeyboardEvent) => any;
12
- ok: () => any;
13
12
  close: () => any;
14
13
  open: () => any;
15
14
  "update:visible": (value: boolean) => any;
15
+ ok: () => any;
16
16
  "before-open": () => any;
17
17
  "before-close": () => any;
18
18
  }, string, import('vue').PublicProps, Readonly<DrawerProps> & Readonly<{
19
19
  onCancel?: ((event: MouseEvent | KeyboardEvent) => any) | undefined;
20
- onOk?: (() => any) | undefined;
21
20
  onClose?: (() => any) | undefined;
22
21
  onOpen?: (() => any) | undefined;
23
22
  "onUpdate:visible"?: ((value: boolean) => any) | undefined;
23
+ onOk?: (() => any) | undefined;
24
24
  "onBefore-open"?: (() => any) | undefined;
25
25
  "onBefore-close"?: (() => any) | undefined;
26
26
  }>, {
27
- okText: string;
28
- cancelText: string;
29
27
  unmountOnClose: boolean;
30
28
  popupContainer: import('..').PopupContainer;
31
29
  renderToBody: boolean;
@@ -40,6 +38,8 @@ declare const __VLS_component: import('vue').DefineComponent<DrawerProps, {}, {}
40
38
  closable: boolean;
41
39
  maskClosable: boolean;
42
40
  hideCancel: boolean;
41
+ okText: string;
42
+ cancelText: string;
43
43
  okLoading: boolean;
44
44
  okButtonProps: import('../Button').ButtonProps;
45
45
  cancelButtonProps: import('../Button').ButtonProps;
@@ -1,9 +1,9 @@
1
1
  import { defineComponent, toRefs, computed, createBlock, openBlock, Teleport, unref, withDirectives, createCommentVNode, createElementBlock, normalizeStyle, normalizeClass, createVNode, Transition, withCtx, vShow, createElementVNode, renderSlot, createTextVNode, toDisplayString, mergeProps } from "vue";
2
- import { t } from "../_shared/locale/i18n.js";
3
2
  import "../node_modules/tinycolor2/esm/tinycolor.js";
4
3
  import { valueToPx } from "../_shared/utils/dom.js";
5
4
  import "../_shared/utils/time.js";
6
5
  import { getGlobalConfig } from "../_shared/utils/global-config.js";
6
+ import { useI18n } from "../_shared/utils/locale.js";
7
7
  import useModalClose from "../Modal/hooks/useModalClose.js";
8
8
  import Button from "../Button/index.js";
9
9
  import _sfc_main$1 from "../_shared/components/IconButton.vue.js";
@@ -80,6 +80,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
80
80
  } = toRefs(props);
81
81
  const { onBeforeOk, onBeforeCancel } = props;
82
82
  const { zIndex, popupContainer } = getGlobalConfig(props);
83
+ const { t } = useI18n();
83
84
  const drawerStyle = computed(() => {
84
85
  return {
85
86
  height: placement.value == "left" || placement.value == "right" ? "" : valueToPx(height.value),
@@ -1,7 +1,5 @@
1
1
  import { DrawerServiceProps } from './type';
2
2
  declare const _default: import('vue').DefineComponent<DrawerServiceProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<DrawerServiceProps> & Readonly<{}>, {
3
- okText: string;
4
- cancelText: string;
5
3
  unmountOnClose: boolean;
6
4
  renderToBody: boolean;
7
5
  width: number | string;
@@ -13,6 +11,8 @@ declare const _default: import('vue').DefineComponent<DrawerServiceProps, {}, {}
13
11
  closable: boolean;
14
12
  maskClosable: boolean;
15
13
  hideCancel: boolean;
14
+ okText: string;
15
+ cancelText: string;
16
16
  okLoading: boolean;
17
17
  okButtonProps: import('..').ButtonProps;
18
18
  cancelButtonProps: import('..').ButtonProps;
@@ -5,6 +5,7 @@ import "../_shared/utils/time.js";
5
5
  import { getSlotFunction } from "../_shared/utils/vue-utils.js";
6
6
  import "../Empty/index.js";
7
7
  /* empty css */
8
+ import "../_shared/utils/locale.js";
8
9
  import _sfc_main$1 from "./Drawer.vue.js";
9
10
  /* empty css */
10
11
  const _hoisted_1 = { class: "yc-drawer-body-content" };
@@ -6,23 +6,21 @@ export * from './type';
6
6
  declare const Drawer: {
7
7
  new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./type').DrawerProps> & Readonly<{
8
8
  onCancel?: ((event: MouseEvent | KeyboardEvent) => any) | undefined;
9
- onOk?: (() => any) | undefined;
10
9
  onClose?: (() => any) | undefined;
11
10
  onOpen?: (() => any) | undefined;
12
11
  "onUpdate:visible"?: ((value: boolean) => any) | undefined;
12
+ onOk?: (() => any) | undefined;
13
13
  "onBefore-open"?: (() => any) | undefined;
14
14
  "onBefore-close"?: (() => any) | undefined;
15
15
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
16
16
  cancel: (event: MouseEvent | KeyboardEvent) => any;
17
- ok: () => any;
18
17
  close: () => any;
19
18
  open: () => any;
20
19
  "update:visible": (value: boolean) => any;
20
+ ok: () => any;
21
21
  "before-open": () => any;
22
22
  "before-close": () => any;
23
23
  }, import('vue').PublicProps, {
24
- okText: string;
25
- cancelText: string;
26
24
  unmountOnClose: boolean;
27
25
  popupContainer: import('..').PopupContainer;
28
26
  renderToBody: boolean;
@@ -37,6 +35,8 @@ declare const Drawer: {
37
35
  closable: boolean;
38
36
  maskClosable: boolean;
39
37
  hideCancel: boolean;
38
+ okText: string;
39
+ cancelText: string;
40
40
  okLoading: boolean;
41
41
  okButtonProps: import('..').ButtonProps;
42
42
  cancelButtonProps: import('..').ButtonProps;
@@ -54,15 +54,13 @@ declare const Drawer: {
54
54
  Defaults: {};
55
55
  }, Readonly<import('./type').DrawerProps> & Readonly<{
56
56
  onCancel?: ((event: MouseEvent | KeyboardEvent) => any) | undefined;
57
- onOk?: (() => any) | undefined;
58
57
  onClose?: (() => any) | undefined;
59
58
  onOpen?: (() => any) | undefined;
60
59
  "onUpdate:visible"?: ((value: boolean) => any) | undefined;
60
+ onOk?: (() => any) | undefined;
61
61
  "onBefore-open"?: (() => any) | undefined;
62
62
  "onBefore-close"?: (() => any) | undefined;
63
63
  }>, {}, {}, {}, {}, {
64
- okText: string;
65
- cancelText: string;
66
64
  unmountOnClose: boolean;
67
65
  popupContainer: import('..').PopupContainer;
68
66
  renderToBody: boolean;
@@ -77,6 +75,8 @@ declare const Drawer: {
77
75
  closable: boolean;
78
76
  maskClosable: boolean;
79
77
  hideCancel: boolean;
78
+ okText: string;
79
+ cancelText: string;
80
80
  okLoading: boolean;
81
81
  okButtonProps: import('..').ButtonProps;
82
82
  cancelButtonProps: import('..').ButtonProps;
@@ -91,23 +91,21 @@ declare const Drawer: {
91
91
  __isSuspense?: never;
92
92
  } & import('vue').ComponentOptionsBase<Readonly<import('./type').DrawerProps> & Readonly<{
93
93
  onCancel?: ((event: MouseEvent | KeyboardEvent) => any) | undefined;
94
- onOk?: (() => any) | undefined;
95
94
  onClose?: (() => any) | undefined;
96
95
  onOpen?: (() => any) | undefined;
97
96
  "onUpdate:visible"?: ((value: boolean) => any) | undefined;
97
+ onOk?: (() => any) | undefined;
98
98
  "onBefore-open"?: (() => any) | undefined;
99
99
  "onBefore-close"?: (() => any) | undefined;
100
100
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
101
101
  cancel: (event: MouseEvent | KeyboardEvent) => any;
102
- ok: () => any;
103
102
  close: () => any;
104
103
  open: () => any;
105
104
  "update:visible": (value: boolean) => any;
105
+ ok: () => any;
106
106
  "before-open": () => any;
107
107
  "before-close": () => any;
108
108
  }, string, {
109
- okText: string;
110
- cancelText: string;
111
109
  unmountOnClose: boolean;
112
110
  popupContainer: import('..').PopupContainer;
113
111
  renderToBody: boolean;
@@ -122,6 +120,8 @@ declare const Drawer: {
122
120
  closable: boolean;
123
121
  maskClosable: boolean;
124
122
  hideCancel: boolean;
123
+ okText: string;
124
+ cancelText: string;
125
125
  okLoading: boolean;
126
126
  okButtonProps: import('..').ButtonProps;
127
127
  cancelButtonProps: import('..').ButtonProps;
@@ -5,6 +5,7 @@ import { isBoolean, isUndefined } from "../_shared/utils/is.js";
5
5
  import "../_shared/utils/time.js";
6
6
  import "../Empty/index.js";
7
7
  /* empty css */
8
+ import "../_shared/utils/locale.js";
8
9
  import useContext from "./hooks/useContext.js";
9
10
  import useMenuContext from "../Menu/hooks/useContext.js";
10
11
  import Trigger from "../Trigger/index.js";
@@ -15,7 +15,6 @@ declare const __VLS_component: import('vue').DefineComponent<DropdownButtonProps
15
15
  "onPopup-visible-change"?: ((value: boolean) => any) | undefined;
16
16
  onSelect?: ((value: DoptionValue) => any) | undefined;
17
17
  }>, {
18
- type: import('../Button').ButtonType;
19
18
  size: import('..').Size;
20
19
  trigger: import('..').TriggerType;
21
20
  popupVisible: boolean;
@@ -23,6 +22,7 @@ declare const __VLS_component: import('vue').DefineComponent<DropdownButtonProps
23
22
  disabled: boolean;
24
23
  position: import('./type').DropdownPosition;
25
24
  popupContainer: import('..').PopupContainer;
25
+ type: import('../Button').ButtonType;
26
26
  hideOnSelect: boolean;
27
27
  buttonProps: import('../Button').ButtonProps;
28
28
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
@@ -3,6 +3,7 @@ import "../node_modules/tinycolor2/esm/tinycolor.js";
3
3
  import "../_shared/utils/dom.js";
4
4
  import "../_shared/utils/time.js";
5
5
  import "../Empty/index.js";
6
+ import "../_shared/utils/locale.js";
6
7
  /* empty css */
7
8
  import _sfc_main$3 from "../_shared/icons/IconMore.vue.js";
8
9
  import _sfc_main$2 from "./Dropdown.vue.js";
@@ -7,6 +7,7 @@ import "../_shared/utils/time.js";
7
7
  import "../Empty/index.js";
8
8
  /* empty css */
9
9
  import _sfc_main$2 from "../_shared/icons/IconArrowRight.vue.js";
10
+ import "../_shared/utils/locale.js";
10
11
  import useControlValue from "../_shared/utils/control.js";
11
12
  import useMenuContext from "../Menu/hooks/useContext.js";
12
13
  import "./index.js";
@@ -4,6 +4,7 @@ import "../../_shared/utils/dom.js";
4
4
  import "../../_shared/utils/time.js";
5
5
  import "../../Empty/index.js";
6
6
  /* empty css */
7
+ import "../../_shared/utils/locale.js";
7
8
  import useControlValue from "../../_shared/utils/control.js";
8
9
  const DROPDOWN_CONTEXT_KEY = "dropdown-context";
9
10
  const useContext = () => {
@@ -146,7 +146,6 @@ declare const Dropdown: {
146
146
  "popup-visible-change": (value: boolean) => any;
147
147
  select: (value: import('./type').DoptionValue) => any;
148
148
  }, import('vue').PublicProps, {
149
- type: import('..').ButtonType;
150
149
  size: import('..').Size;
151
150
  trigger: import('..').TriggerType;
152
151
  popupVisible: boolean;
@@ -154,6 +153,7 @@ declare const Dropdown: {
154
153
  disabled: boolean;
155
154
  position: import('./type').DropdownPosition;
156
155
  popupContainer: import('..').PopupContainer;
156
+ type: import('..').ButtonType;
157
157
  hideOnSelect: boolean;
158
158
  buttonProps: import('..').ButtonProps;
159
159
  }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
@@ -168,7 +168,6 @@ declare const Dropdown: {
168
168
  "onPopup-visible-change"?: ((value: boolean) => any) | undefined;
169
169
  onSelect?: ((value: import('./type').DoptionValue) => any) | undefined;
170
170
  }>, {}, {}, {}, {}, {
171
- type: import('..').ButtonType;
172
171
  size: import('..').Size;
173
172
  trigger: import('..').TriggerType;
174
173
  popupVisible: boolean;
@@ -176,6 +175,7 @@ declare const Dropdown: {
176
175
  disabled: boolean;
177
176
  position: import('./type').DropdownPosition;
178
177
  popupContainer: import('..').PopupContainer;
178
+ type: import('..').ButtonType;
179
179
  hideOnSelect: boolean;
180
180
  buttonProps: import('..').ButtonProps;
181
181
  }>;
@@ -191,7 +191,6 @@ declare const Dropdown: {
191
191
  "popup-visible-change": (value: boolean) => any;
192
192
  select: (value: import('./type').DoptionValue) => any;
193
193
  }, string, {
194
- type: import('..').ButtonType;
195
194
  size: import('..').Size;
196
195
  trigger: import('..').TriggerType;
197
196
  popupVisible: boolean;
@@ -199,6 +198,7 @@ declare const Dropdown: {
199
198
  disabled: boolean;
200
199
  position: import('./type').DropdownPosition;
201
200
  popupContainer: import('..').PopupContainer;
201
+ type: import('..').ButtonType;
202
202
  hideOnSelect: boolean;
203
203
  buttonProps: import('..').ButtonProps;
204
204
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
@@ -1,11 +1,11 @@
1
1
  import { defineComponent, toRefs, createElementBlock, openBlock, createElementVNode, renderSlot, createCommentVNode, createVNode, unref, createTextVNode, toDisplayString } from "vue";
2
- import { t } from "../_shared/locale/i18n.js";
3
2
  import "../node_modules/tinycolor2/esm/tinycolor.js";
4
3
  import "../_shared/utils/dom.js";
5
4
  import "../_shared/utils/time.js";
6
5
  import "./index.js";
7
6
  /* empty css */
8
7
  import _sfc_main$1 from "../_shared/icons/IconEmpty.vue.js";
8
+ import { useI18n } from "../_shared/utils/locale.js";
9
9
  const _hoisted_1 = { class: "yc-empty" };
10
10
  const _hoisted_2 = { class: "yc-empty-image" };
11
11
  const _hoisted_3 = ["src"];
@@ -22,6 +22,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
22
22
  setup(__props) {
23
23
  const props = __props;
24
24
  const { description: _description } = toRefs(props);
25
+ const { t } = useI18n();
25
26
  return (_ctx, _cache) => {
26
27
  return openBlock(), createElementBlock("div", _hoisted_1, [
27
28
  createElementVNode("div", _hoisted_2, [
@@ -4,6 +4,7 @@ import { mediaQueryHandler, valueToPx } from "../_shared/utils/dom.js";
4
4
  import "../_shared/utils/time.js";
5
5
  import "../Empty/index.js";
6
6
  /* empty css */
7
+ import "../_shared/utils/locale.js";
7
8
  import useContext from "./hooks/useContext.js";
8
9
  const _sfc_main = /* @__PURE__ */ defineComponent({
9
10
  ...{
@@ -5,6 +5,7 @@ import { isString } from "../_shared/utils/is.js";
5
5
  import "../_shared/utils/time.js";
6
6
  import "../Empty/index.js";
7
7
  /* empty css */
8
+ import "../_shared/utils/locale.js";
8
9
  import useContext from "./hooks/useContext.js";
9
10
  const _sfc_main = /* @__PURE__ */ defineComponent({
10
11
  ...{
@@ -4,6 +4,7 @@ import { getBreakpointValue, valueToPx } from "../_shared/utils/dom.js";
4
4
  import "../_shared/utils/time.js";
5
5
  import "../Empty/index.js";
6
6
  /* empty css */
7
+ import "../_shared/utils/locale.js";
7
8
  import useContext from "./hooks/useContext.js";
8
9
  const _sfc_main = /* @__PURE__ */ defineComponent({
9
10
  ...{
@@ -4,6 +4,7 @@ import { mediaQueryHandler, valueToPx } from "../_shared/utils/dom.js";
4
4
  import "../_shared/utils/time.js";
5
5
  import "../Empty/index.js";
6
6
  /* empty css */
7
+ import "../_shared/utils/locale.js";
7
8
  import useContext from "./hooks/useContext.js";
8
9
  const _sfc_main = /* @__PURE__ */ defineComponent({
9
10
  ...{