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
@@ -0,0 +1,254 @@
1
+ declare const lang: {
2
+ locale: string;
3
+ empty: {
4
+ description: string;
5
+ };
6
+ drawer: {
7
+ okText: string;
8
+ cancelText: string;
9
+ };
10
+ popconfirm: {
11
+ okText: string;
12
+ cancelText: string;
13
+ };
14
+ modal: {
15
+ okText: string;
16
+ cancelText: string;
17
+ };
18
+ pagination: {
19
+ goto: string;
20
+ page: string;
21
+ countPerPage: string;
22
+ total: string;
23
+ };
24
+ table: {
25
+ okText: string;
26
+ resetText: string;
27
+ };
28
+ upload: {
29
+ start: string;
30
+ cancel: string;
31
+ delete: string;
32
+ retry: string;
33
+ buttonText: string;
34
+ preview: string;
35
+ drag: string;
36
+ dragHover: string;
37
+ error: string;
38
+ };
39
+ calendar: {
40
+ formatYear: string;
41
+ formatMonth: string;
42
+ today: string;
43
+ view: {
44
+ month: string;
45
+ year: string;
46
+ week: string;
47
+ day: string;
48
+ };
49
+ month: {
50
+ long: {
51
+ January: string;
52
+ February: string;
53
+ March: string;
54
+ April: string;
55
+ May: string;
56
+ June: string;
57
+ July: string;
58
+ August: string;
59
+ September: string;
60
+ October: string;
61
+ November: string;
62
+ December: string;
63
+ };
64
+ short: {
65
+ January: string;
66
+ February: string;
67
+ March: string;
68
+ April: string;
69
+ May: string;
70
+ June: string;
71
+ July: string;
72
+ August: string;
73
+ September: string;
74
+ October: string;
75
+ November: string;
76
+ December: string;
77
+ };
78
+ };
79
+ week: {
80
+ long: {
81
+ self: string;
82
+ monday: string;
83
+ tuesday: string;
84
+ wednesday: string;
85
+ thursday: string;
86
+ friday: string;
87
+ saturday: string;
88
+ sunday: string;
89
+ };
90
+ short: {
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
+ };
101
+ };
102
+ datePicker: {
103
+ view: {
104
+ month: string;
105
+ year: string;
106
+ week: string;
107
+ day: string;
108
+ };
109
+ month: {
110
+ long: {
111
+ January: string;
112
+ February: string;
113
+ March: string;
114
+ April: string;
115
+ May: string;
116
+ June: string;
117
+ July: string;
118
+ August: string;
119
+ September: string;
120
+ October: string;
121
+ November: string;
122
+ December: string;
123
+ };
124
+ short: {
125
+ January: string;
126
+ February: string;
127
+ March: string;
128
+ April: string;
129
+ May: string;
130
+ June: string;
131
+ July: string;
132
+ August: string;
133
+ September: string;
134
+ October: string;
135
+ November: string;
136
+ December: string;
137
+ };
138
+ };
139
+ week: {
140
+ long: {
141
+ self: string;
142
+ monday: string;
143
+ tuesday: string;
144
+ wednesday: string;
145
+ thursday: string;
146
+ friday: string;
147
+ saturday: string;
148
+ sunday: string;
149
+ };
150
+ short: {
151
+ self: string;
152
+ monday: string;
153
+ tuesday: string;
154
+ wednesday: string;
155
+ thursday: string;
156
+ friday: string;
157
+ saturday: string;
158
+ sunday: string;
159
+ };
160
+ };
161
+ placeholder: {
162
+ date: string;
163
+ week: string;
164
+ month: string;
165
+ year: string;
166
+ quarter: string;
167
+ time: string;
168
+ };
169
+ rangePlaceholder: {
170
+ date: string[];
171
+ week: string[];
172
+ month: string[];
173
+ year: string[];
174
+ quarter: string[];
175
+ time: string[];
176
+ };
177
+ selectTime: string;
178
+ today: string;
179
+ now: string;
180
+ ok: string;
181
+ };
182
+ image: {
183
+ loading: string;
184
+ };
185
+ imagePreview: {
186
+ fullScreen: string;
187
+ rotateRight: string;
188
+ rotateLeft: string;
189
+ zoomIn: string;
190
+ zoomOut: string;
191
+ originalSize: string;
192
+ };
193
+ typography: {
194
+ copied: string;
195
+ copy: string;
196
+ expand: string;
197
+ collapse: string;
198
+ edit: string;
199
+ };
200
+ form: {
201
+ validateMessages: {
202
+ required: string;
203
+ type: {
204
+ string: string;
205
+ number: string;
206
+ boolean: string;
207
+ array: string;
208
+ object: string;
209
+ url: string;
210
+ email: string;
211
+ ip: string;
212
+ };
213
+ number: {
214
+ min: string;
215
+ max: string;
216
+ equal: string;
217
+ range: string;
218
+ positive: string;
219
+ negative: string;
220
+ };
221
+ array: {
222
+ length: string;
223
+ minLength: string;
224
+ maxLength: string;
225
+ includes: string;
226
+ deepEqual: string;
227
+ empty: string;
228
+ };
229
+ string: {
230
+ minLength: string;
231
+ maxLength: string;
232
+ length: string;
233
+ match: string;
234
+ uppercase: string;
235
+ lowercase: string;
236
+ };
237
+ object: {
238
+ deepEqual: string;
239
+ hasKeys: string;
240
+ empty: string;
241
+ };
242
+ boolean: {
243
+ true: string;
244
+ false: string;
245
+ };
246
+ };
247
+ };
248
+ colorPicker: {
249
+ history: string;
250
+ preset: string;
251
+ empty: string;
252
+ };
253
+ };
254
+ export default lang;
@@ -1 +1 @@
1
- "use strict";const e=require("vue");require("../../node_modules/tinycolor2/esm/tinycolor.js");const t=require("../utils/dom.js");require("../utils/time.js"),require("../../Empty/index.js");/* empty css */const o=e.defineComponent({__name:"ExpandTransition",setup(o){const s={onBeforeEnter(e){e.style.maxHeight="0",e.style.opacity="0"},onEnter(e){e.style.maxHeight=t.valueToPx(e.scrollHeight),e.style.opacity="1"},onAfterEnter(e){e.style.maxHeight="",e.style.opacity=""},onBeforeLeave(e){e.style.maxHeight=t.valueToPx(e.scrollHeight),e.style.opacity="1"},onLeave(e){e.style.maxHeight="0",e.style.opacity="0"},onAfterLeave(e){e.style.maxHeight="",e.style.opacity=""}};return(t,o)=>(e.openBlock(),e.createBlock(e.Transition,e.mergeProps({name:"expand"},s),{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3},16))}});module.exports=o;
1
+ "use strict";const e=require("vue");require("../../node_modules/tinycolor2/esm/tinycolor.js");const t=require("../utils/dom.js");require("../utils/time.js"),require("../../Empty/index.js"),/* empty css */require("../utils/locale.js");const o=e.defineComponent({__name:"ExpandTransition",setup(o){const s={onBeforeEnter(e){e.style.maxHeight="0",e.style.opacity="0"},onEnter(e){e.style.maxHeight=t.valueToPx(e.scrollHeight),e.style.opacity="1"},onAfterEnter(e){e.style.maxHeight="",e.style.opacity=""},onBeforeLeave(e){e.style.maxHeight=t.valueToPx(e.scrollHeight),e.style.opacity="1"},onLeave(e){e.style.maxHeight="0",e.style.opacity="0"},onAfterLeave(e){e.style.maxHeight="",e.style.opacity=""}};return(t,o)=>(e.openBlock(),e.createBlock(e.Transition,e.mergeProps({name:"expand"},s),{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3},16))}});module.exports=o;
@@ -1 +1 @@
1
- "use strict";const e=require("vue");require("../../node_modules/tinycolor2/esm/tinycolor.js");const t=require("../utils/dom.js");require("../utils/time.js"),require("../../Empty/index.js");/* empty css */const o=e.defineComponent({__name:"Icon",props:{strokeWidth:{default:4},strokeLinecap:{default:"butt"},strokeLinejoin:{default:"miter"},rotate:{},spin:{type:Boolean,default:!1},size:{},color:{}},setup(o){const r=o,{size:l,spin:s,rotate:u,color:i,strokeLinecap:n,strokeLinejoin:a,strokeWidth:c}=e.toRefs(r),v=e.useAttrs(),d=e.computed(()=>{let e="",o="";return Array.isArray(l.value)?(e=t.valueToPx(l.value[0]),o=t.valueToPx(l.value[1])):(e=l.value?t.valueToPx(l.value):"1em",o=l.value?t.valueToPx(l.value):"1em"),{width:e,height:o,color:i.value?i.value:"inherit",transform:u?`rotate(${u.value}deg)`:"unset"}}),p=e.computed(()=>({style:d.value,"stroke-width":c.value,"stroke-linecap":n.value,"stroke-linejoin":a.value,...v||{}}));return(t,o)=>(e.openBlock(),e.createElementBlock("svg",e.mergeProps({"aria-hidden":"true",focusable:"false",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:["yc-icon",{"yc-icon-spin":e.unref(s)}]},p.value),[e.renderSlot(t.$slots,"default")],16))}});module.exports=o;
1
+ "use strict";const e=require("vue");require("../../node_modules/tinycolor2/esm/tinycolor.js");const t=require("../utils/dom.js");require("../utils/time.js"),require("../../Empty/index.js"),/* empty css */require("../utils/locale.js");const o=e.defineComponent({__name:"Icon",props:{strokeWidth:{default:4},strokeLinecap:{default:"butt"},strokeLinejoin:{default:"miter"},rotate:{},spin:{type:Boolean,default:!1},size:{},color:{}},setup(o){const r=o,{size:l,spin:s,rotate:u,color:i,strokeLinecap:n,strokeLinejoin:a,strokeWidth:c}=e.toRefs(r),v=e.useAttrs(),d=e.computed(()=>{let e="",o="";return Array.isArray(l.value)?(e=t.valueToPx(l.value[0]),o=t.valueToPx(l.value[1])):(e=l.value?t.valueToPx(l.value):"1em",o=l.value?t.valueToPx(l.value):"1em"),{width:e,height:o,color:i.value?i.value:"inherit",transform:u?`rotate(${u.value}deg)`:"unset"}}),p=e.computed(()=>({style:d.value,"stroke-width":c.value,"stroke-linecap":n.value,"stroke-linejoin":a.value,...v||{}}));return(t,o)=>(e.openBlock(),e.createElementBlock("svg",e.mergeProps({"aria-hidden":"true",focusable:"false",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",class:["yc-icon",{"yc-icon-spin":e.unref(s)}]},p.value),[e.renderSlot(t.$slots,"default")],16))}});module.exports=o;
@@ -1 +1 @@
1
- "use strict";const e=require("vue");require("../../node_modules/tinycolor2/esm/tinycolor.js");const o=require("../utils/dom.js");require("../utils/time.js"),require("../../Empty/index.js");/* empty css */const t=require("../icons/IconClose.vue.js"),n=e.defineComponent({__name:"IconButton",props:{size:{default:12},hoverSize:{default:20},disabled:{type:Boolean,default:!1},hoverable:{type:Boolean,default:!0},preventFocus:{type:Boolean,default:!0}},setup(n){const s=n,{hoverSize:l}=e.toRefs(s),u=e.computed(()=>o.valueToPx(l.value));return(o,n)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["yc-icon-button",{"yc-icon-button-disabled":o.disabled,"yc-icon-button-hoverable":o.hoverable}]),style:e.normalizeStyle({"--icon-btn-size":u.value}),onMousedown:n[0]||(n[0]=e=>o.preventFocus&&e.preventDefault())},[e.renderSlot(o.$slots,"default",{},()=>[e.createVNode(e.unref(t),{size:o.size},null,8,["size"])])],38))}});module.exports=n;
1
+ "use strict";const e=require("vue");require("../../node_modules/tinycolor2/esm/tinycolor.js");const o=require("../utils/dom.js");require("../utils/time.js"),require("../../Empty/index.js"),require("../utils/locale.js");/* empty css */const t=require("../icons/IconClose.vue.js"),l=e.defineComponent({__name:"IconButton",props:{size:{default:12},hoverSize:{default:20},disabled:{type:Boolean,default:!1},hoverable:{type:Boolean,default:!0},preventFocus:{type:Boolean,default:!0}},setup(l){const s=l,{hoverSize:n}=e.toRefs(s),u=e.computed(()=>o.valueToPx(n.value));return(o,l)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["yc-icon-button",{"yc-icon-button-disabled":o.disabled,"yc-icon-button-hoverable":o.hoverable}]),style:e.normalizeStyle({"--icon-btn-size":u.value}),onMousedown:l[0]||(l[0]=e=>o.preventFocus&&e.preventDefault())},[e.renderSlot(o.$slots,"default",{},()=>[e.createVNode(e.unref(t),{size:o.size},null,8,["size"])])],38))}});module.exports=l;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../icons/Icon403.svg.js"),r=require("../icons/Icon404.svg.js"),s=require("../icons/Icon500.svg.js");require("vue"),require("../../node_modules/tinycolor2/esm/tinycolor.js"),require("../utils/dom.js"),require("../utils/time.js"),require("../../Empty/index.js");/* empty css */const n=require("../icons/IconCheck.vue.js"),o=require("../icons/IconClose.vue.js"),i=require("../icons/IconError.vue.js"),u=require("../icons/IconInfo.vue.js"),c=require("../icons/IconInfoLine.vue.js"),t=require("../icons/IconLoading.vue.js"),l={success:require("../icons/IconSuccess.vue.js"),warning:require("../icons/IconWarning.vue.js"),error:i,info:u,loading:t,confirm:u,"result-403":e,"result-404":r,"result-500":s,"result-info":c,"result-warning":c,"result-error":o,"result-success":n};exports.COLOR_PICKER_FORMAT_OPTIONS=[{label:"RGB",value:"rgb"},{label:"Hex",value:"hex"}],exports.COLOR_PICKER_PRESET_COLORS=["#00B42A","#3C7EFF","#FF7D00","#F76965","#F7BA1E","#F5319D","#D91AD9","#9FDB1D","#FADC19","#722ED1","#3491FA","#7BE188","#93BEFF","#FFCF8B","#FBB0A7","#FCE996","#FB9DC7","#F08EE6","#DCF190","#FDFA94","#C396ED","#9FD4FD"],exports.MEDICA_QUERY_QUERUES={xs:"(min-width: 0)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)",xxl:"(min-width: 1600px)"},exports.TAG_PRESET_COLORS=["default","red","orangered","orange","gold","lime","green","cyan","blue","arcoblue","purple","pinkpurple","magenta","gray","default"],exports.TYPE_ICON_COLOR_MAP={info:"rgb(22, 93, 255)",success:" rgb(0, 180, 42)",warning:"rgb(255, 125, 0)",error:"rgb(245, 63, 63)",danger:"rgb(245, 63, 63)",loading:"rgb(22, 93, 225)",normal:"rgb(201, 205, 212)"},exports.TYPE_ICON_MAP=l;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../icons/Icon403.svg.js"),r=require("../icons/Icon404.svg.js"),s=require("../icons/Icon500.svg.js");require("vue"),require("../../node_modules/tinycolor2/esm/tinycolor.js"),require("../utils/dom.js"),require("../utils/time.js"),require("../../Empty/index.js"),require("../utils/locale.js");/* empty css */const i=require("../icons/IconCheck.vue.js"),n=require("../icons/IconClose.vue.js"),o=require("../icons/IconError.vue.js"),u=require("../icons/IconInfo.vue.js"),c=require("../icons/IconInfoLine.vue.js"),l=require("../icons/IconLoading.vue.js"),t={success:require("../icons/IconSuccess.vue.js"),warning:require("../icons/IconWarning.vue.js"),error:o,info:u,loading:l,confirm:u,"result-403":e,"result-404":r,"result-500":s,"result-info":c,"result-warning":c,"result-error":n,"result-success":i};exports.COLOR_PICKER_FORMAT_OPTIONS=[{label:"RGB",value:"rgb"},{label:"Hex",value:"hex"}],exports.COLOR_PICKER_PRESET_COLORS=["#00B42A","#3C7EFF","#FF7D00","#F76965","#F7BA1E","#F5319D","#D91AD9","#9FDB1D","#FADC19","#722ED1","#3491FA","#7BE188","#93BEFF","#FFCF8B","#FBB0A7","#FCE996","#FB9DC7","#F08EE6","#DCF190","#FDFA94","#C396ED","#9FD4FD"],exports.MEDICA_QUERY_QUERUES={xs:"(min-width: 0)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)",xxl:"(min-width: 1600px)"},exports.TAG_PRESET_COLORS=["default","red","orangered","orange","gold","lime","green","cyan","blue","arcoblue","purple","pinkpurple","magenta","gray","default"],exports.TYPE_ICON_COLOR_MAP={info:"rgb(22, 93, 255)",success:" rgb(0, 180, 42)",warning:"rgb(255, 125, 0)",error:"rgb(245, 63, 63)",danger:"rgb(245, 63, 63)",loading:"rgb(22, 93, 225)",normal:"rgb(201, 205, 212)"},exports.TYPE_ICON_MAP=t;
@@ -1 +1 @@
1
- "use strict";const e=require("vue"),o=require("../components/Icon.vue3.js");;/* empty css */const t=e.defineComponent({__name:"IconFullScreen",setup:t=>(t,n)=>(e.openBlock(),e.createBlock(o,e.normalizeProps(e.guardReactiveProps(t.$attrs)),{default:e.withCtx(()=>n[0]||(n[0]=[e.createElementVNode("path",{d:"M42 17V9a1 1 0 0 0-1-1h-8M6 17V9a1 1 0 0 1 1-1h8m27 23v8a1 1 0 0 1-1 1h-8M6 31v8a1 1 0 0 0 1 1h8"},null,-1)])),_:1,__:[0]},16))});module.exports=t;
1
+ "use strict";const e=require("./IconFullScreen.vue2.js");module.exports=e;
@@ -1 +1 @@
1
- "use strict";const e=require("./IconFullScreen.vue.js");module.exports=e;
1
+ "use strict";const e=require("vue"),o=require("../components/Icon.vue3.js");;/* empty css */const t=e.defineComponent({__name:"IconFullScreen",setup:t=>(t,n)=>(e.openBlock(),e.createBlock(o,e.normalizeProps(e.guardReactiveProps(t.$attrs)),{default:e.withCtx(()=>n[0]||(n[0]=[e.createElementVNode("path",{d:"M42 17V9a1 1 0 0 0-1-1h-8M6 17V9a1 1 0 0 1 1-1h8m27 23v8a1 1 0 0 1-1 1h-8M6 31v8a1 1 0 0 0 1 1h8"},null,-1)])),_:1,__:[0]},16))});module.exports=t;
@@ -1 +1 @@
1
- "use strict";const e=require("vue"),t=require("../components/Icon.vue3.js");;/* empty css */const o=e.defineComponent({__name:"IconOriginSize",setup:o=>(o,n)=>(e.openBlock(),e.createBlock(t,e.normalizeProps(e.guardReactiveProps(o.$attrs)),{default:e.withCtx(()=>n[0]||(n[0]=[e.createElementVNode("path",{d:"m5.5 11.5 5-2.5h1v32M34 11.5 39 9h1v32"},null,-1),e.createElementVNode("path",{d:"M24 17h1v1h-1v-1ZM24 30h1v1h-1v-1Z",fill:"currentColor",stroke:"none"},null,-1),e.createElementVNode("path",{d:"M24 17h1v1h-1v-1ZM24 30h1v1h-1v-1Z"},null,-1)])),_:1,__:[0]},16))});module.exports=o;
1
+ "use strict";const e=require("./IconOriginSize.vue2.js");module.exports=e;
@@ -1 +1 @@
1
- "use strict";const e=require("./IconOriginSize.vue.js");module.exports=e;
1
+ "use strict";const e=require("vue"),t=require("../components/Icon.vue3.js");;/* empty css */const o=e.defineComponent({__name:"IconOriginSize",setup:o=>(o,n)=>(e.openBlock(),e.createBlock(t,e.normalizeProps(e.guardReactiveProps(o.$attrs)),{default:e.withCtx(()=>n[0]||(n[0]=[e.createElementVNode("path",{d:"m5.5 11.5 5-2.5h1v32M34 11.5 39 9h1v32"},null,-1),e.createElementVNode("path",{d:"M24 17h1v1h-1v-1ZM24 30h1v1h-1v-1Z",fill:"currentColor",stroke:"none"},null,-1),e.createElementVNode("path",{d:"M24 17h1v1h-1v-1ZM24 30h1v1h-1v-1Z"},null,-1)])),_:1,__:[0]},16))});module.exports=o;
@@ -1 +1 @@
1
- "use strict";const e=require("vue"),t=require("../components/Icon.vue3.js");;/* empty css */const o=e.defineComponent({__name:"IconRotateLeft",setup:o=>(o,n)=>(e.openBlock(),e.createBlock(t,e.normalizeProps(e.guardReactiveProps(o.$attrs)),{default:e.withCtx(()=>n[0]||(n[0]=[e.createElementVNode("path",{d:"M10 22a1 1 0 0 1 1-1h20a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1H11a1 1 0 0 1-1-1V22ZM23 11h11a6 6 0 0 1 6 6v6M22.5 12.893 19.587 11 22.5 9.107v3.786Z"},null,-1)])),_:1,__:[0]},16))});module.exports=o;
1
+ "use strict";const e=require("./IconRotateLeft.vue2.js");module.exports=e;
@@ -1 +1 @@
1
- "use strict";const e=require("./IconRotateLeft.vue.js");module.exports=e;
1
+ "use strict";const e=require("vue"),t=require("../components/Icon.vue3.js");;/* empty css */const o=e.defineComponent({__name:"IconRotateLeft",setup:o=>(o,n)=>(e.openBlock(),e.createBlock(t,e.normalizeProps(e.guardReactiveProps(o.$attrs)),{default:e.withCtx(()=>n[0]||(n[0]=[e.createElementVNode("path",{d:"M10 22a1 1 0 0 1 1-1h20a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1H11a1 1 0 0 1-1-1V22ZM23 11h11a6 6 0 0 1 6 6v6M22.5 12.893 19.587 11 22.5 9.107v3.786Z"},null,-1)])),_:1,__:[0]},16))});module.exports=o;
@@ -1 +1 @@
1
- "use strict";const e=require("vue"),t=require("../components/Icon.vue3.js");;/* empty css */const o=e.defineComponent({__name:"IconRotateRight",setup:o=>(o,n)=>(e.openBlock(),e.createBlock(t,e.normalizeProps(e.guardReactiveProps(o.$attrs)),{default:e.withCtx(()=>n[0]||(n[0]=[e.createElementVNode("path",{d:"M38 22a1 1 0 0 0-1-1H17a1 1 0 0 0-1 1v16a1 1 0 0 0 1 1h20a1 1 0 0 0 1-1V22ZM25 11H14a6 6 0 0 0-6 6v6M25.5 12.893 28.413 11 25.5 9.107v3.786Z"},null,-1)])),_:1,__:[0]},16))});module.exports=o;
1
+ "use strict";const e=require("./IconRotateRight.vue2.js");module.exports=e;
@@ -1 +1 @@
1
- "use strict";const e=require("./IconRotateRight.vue.js");module.exports=e;
1
+ "use strict";const e=require("vue"),t=require("../components/Icon.vue3.js");;/* empty css */const o=e.defineComponent({__name:"IconRotateRight",setup:o=>(o,n)=>(e.openBlock(),e.createBlock(t,e.normalizeProps(e.guardReactiveProps(o.$attrs)),{default:e.withCtx(()=>n[0]||(n[0]=[e.createElementVNode("path",{d:"M38 22a1 1 0 0 0-1-1H17a1 1 0 0 0-1 1v16a1 1 0 0 0 1 1h20a1 1 0 0 0 1-1V22ZM25 11H14a6 6 0 0 0-6 6v6M25.5 12.893 28.413 11 25.5 9.107v3.786Z"},null,-1)])),_:1,__:[0]},16))});module.exports=o;
@@ -1 +1 @@
1
- "use strict";const e=require("vue"),o=require("../components/Icon.vue3.js");;/* empty css */const t=e.defineComponent({__name:"IconZoomIn",setup:t=>(t,n)=>(e.openBlock(),e.createBlock(o,e.normalizeProps(e.guardReactiveProps(t.$attrs)),{default:e.withCtx(()=>n[0]||(n[0]=[e.createElementVNode("path",{d:"M32.607 32.607A14.953 14.953 0 0 0 37 22c0-8.284-6.716-15-15-15-8.284 0-15 6.716-15 15 0 8.284 6.716 15 15 15 4.142 0 7.892-1.679 10.607-4.393Zm0 0L41.5 41.5M29 22H15m7 7V15"},null,-1)])),_:1,__:[0]},16))});module.exports=t;
1
+ "use strict";const e=require("./IconZoomIn.vue2.js");module.exports=e;
@@ -1 +1 @@
1
- "use strict";const e=require("./IconZoomIn.vue.js");module.exports=e;
1
+ "use strict";const e=require("vue"),o=require("../components/Icon.vue3.js");;/* empty css */const t=e.defineComponent({__name:"IconZoomIn",setup:t=>(t,n)=>(e.openBlock(),e.createBlock(o,e.normalizeProps(e.guardReactiveProps(t.$attrs)),{default:e.withCtx(()=>n[0]||(n[0]=[e.createElementVNode("path",{d:"M32.607 32.607A14.953 14.953 0 0 0 37 22c0-8.284-6.716-15-15-15-8.284 0-15 6.716-15 15 0 8.284 6.716 15 15 15 4.142 0 7.892-1.679 10.607-4.393Zm0 0L41.5 41.5M29 22H15m7 7V15"},null,-1)])),_:1,__:[0]},16))});module.exports=t;
@@ -1 +1 @@
1
- "use strict";const e=require("vue"),o=require("../components/Icon.vue3.js");;/* empty css */const t=e.defineComponent({__name:"IconZoomOut",setup:t=>(t,n)=>(e.openBlock(),e.createBlock(o,e.normalizeProps(e.guardReactiveProps(t.$attrs)),{default:e.withCtx(()=>n[0]||(n[0]=[e.createElementVNode("path",{d:"M32.607 32.607A14.953 14.953 0 0 0 37 22c0-8.284-6.716-15-15-15-8.284 0-15 6.716-15 15 0 8.284 6.716 15 15 15 4.142 0 7.892-1.679 10.607-4.393Zm0 0L41.5 41.5M29 22H15"},null,-1)])),_:1,__:[0]},16))});module.exports=t;
1
+ "use strict";const e=require("./IconZoomOut.vue2.js");module.exports=e;
@@ -1 +1 @@
1
- "use strict";const e=require("./IconZoomOut.vue.js");module.exports=e;
1
+ "use strict";const e=require("vue"),o=require("../components/Icon.vue3.js");;/* empty css */const t=e.defineComponent({__name:"IconZoomOut",setup:t=>(t,n)=>(e.openBlock(),e.createBlock(o,e.normalizeProps(e.guardReactiveProps(t.$attrs)),{default:e.withCtx(()=>n[0]||(n[0]=[e.createElementVNode("path",{d:"M32.607 32.607A14.953 14.953 0 0 0 37 22c0-8.284-6.716-15-15-15-8.284 0-15 6.716-15 15 0 8.284 6.716 15 15 15 4.142 0 7.892-1.679 10.607-4.393Zm0 0L41.5 41.5M29 22H15"},null,-1)])),_:1,__:[0]},16))});module.exports=t;
@@ -1 +1 @@
1
- "use strict";const e=require("vue");require("../../node_modules/tinycolor2/esm/tinycolor.js"),require("./dom.js");const r=require("./is.js");require("./time.js"),require("../../Empty/index.js");/* empty css */module.exports=(s,u,o=e=>e,t=e=>e)=>{const i=e.ref(u);return e.computed({get(){const e=r.isUndefined(s.value)?i.value:s.value;return t(e)},set(e){i.value=e,o(e)}})};
1
+ "use strict";const e=require("vue");require("../../node_modules/tinycolor2/esm/tinycolor.js"),require("./dom.js");const r=require("./is.js");require("./time.js"),require("../../Empty/index.js"),/* empty css */require("./locale.js");module.exports=(s,u,o=e=>e,t=e=>e)=>{const i=e.ref(u);return e.computed({get(){const e=r.isUndefined(s.value)?i.value:s.value;return t(e)},set(e){i.value=e,o(e)}})};
@@ -1,10 +1,11 @@
1
1
  import { Ref, VNode } from 'vue';
2
2
  import { ConfigconfigSlots, EmptyComponent } from '../../ConfigProvider';
3
- import { PopupContainer, Props, Size } from '../type';
3
+ import { ObjectData, PopupContainer, Props, Size } from '../type';
4
4
  export declare const CONFIG_PROVIDER_PROVIDE_KEY = "config-props";
5
5
  export interface ConfigProviderProvide {
6
6
  zIndex: Ref<number>;
7
7
  size: Ref<Size>;
8
+ locale: Ref<ObjectData | undefined>;
8
9
  popupContainer: Ref<PopupContainer>;
9
10
  updateAtScroll: Ref<boolean>;
10
11
  scrollToClose: Ref<boolean>;
@@ -13,6 +14,7 @@ export interface ConfigProviderProvide {
13
14
  export declare const getGlobalConfig: (props?: Props) => {
14
15
  slots: Partial<ConfigconfigSlots>;
15
16
  zIndex: Ref<number, number>;
17
+ locale: Ref<ObjectData | undefined, ObjectData | undefined>;
16
18
  size: import('vue').ComputedRef<any>;
17
19
  updateAtScroll: import('vue').ComputedRef<any>;
18
20
  scrollToClose: import('vue').ComputedRef<any>;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue");require("../../node_modules/tinycolor2/esm/tinycolor.js"),require("./dom.js");const o=require("./is.js");require("./time.js");const r=require("../../Empty/index.js");;/* empty css */const t=require("../icons/IconLoading.vue.js"),n="config-props",l=(r,t)=>e.computed(()=>o.isUndefined(null==r?void 0:r.value)||o.isString(r.value)&&!r.value.length?t.value:r.value);exports.CONFIG_PROVIDER_PROVIDE_KEY=n,exports.getGlobalConfig=(o={})=>{const{slots:s,zIndex:i,size:u,updateAtScroll:c,scrollToClose:p,popupContainer:d}=e.inject(n,{zIndex:e.ref(1001),size:e.ref("medium"),updateAtScroll:e.ref(!0),scrollToClose:e.ref(!1),popupContainer:e.ref("body"),slots:{}}),{size:a,updateAtScroll:m,scrollToClose:v,exchangeTime:g,popupContainer:f}=e.toRefs(e.isReactive(o)?o:e.reactive(o));return{slots:s,zIndex:i,size:l(a,u),updateAtScroll:l(m,c),scrollToClose:l(v,p),popupContainer:l(f,d),renderEmpty:e=>s.empty?()=>{var o;return null==(o=s.empty)?void 0:o.call(s,{component:e})}:r,renderLoading:()=>s.loading?s.loading:t}};
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue");require("../../node_modules/tinycolor2/esm/tinycolor.js"),require("./dom.js");const o=require("./is.js");require("./time.js");const r=require("../../Empty/index.js");;/* empty css */const l=require("../icons/IconLoading.vue.js");require("./locale.js");const t="config-props",n=(r,l)=>e.computed(()=>o.isUndefined(null==r?void 0:r.value)||o.isString(r.value)&&!r.value.length?l.value:r.value);exports.CONFIG_PROVIDER_PROVIDE_KEY=t,exports.getGlobalConfig=(o={})=>{const{slots:s,zIndex:i,locale:u,size:c,updateAtScroll:a,scrollToClose:p,popupContainer:d}=e.inject(t,{locale:e.ref(),zIndex:e.ref(1001),size:e.ref("medium"),updateAtScroll:e.ref(!0),scrollToClose:e.ref(!1),popupContainer:e.ref("body"),slots:{}}),{size:m,updateAtScroll:v,scrollToClose:g,exchangeTime:f,popupContainer:j}=e.toRefs(e.isReactive(o)?o:e.reactive(o));return{slots:s,zIndex:i,locale:u,size:n(m,c),updateAtScroll:n(v,a),scrollToClose:n(g,p),popupContainer:n(j,d),renderEmpty:e=>s.empty?()=>{var o;return null==(o=s.empty)?void 0:o.call(s,{component:e})}:r,renderLoading:()=>s.loading?s.loading:l}};
@@ -4,4 +4,5 @@ export * from './is';
4
4
  export * from './time';
5
5
  export * from './vue-utils';
6
6
  export * from './global-config';
7
+ export * from './locale';
7
8
  export { default as useControlValue } from './control';
@@ -0,0 +1,22 @@
1
+ /**
2
+ * 添加地区语言包。添加过后的语言包可以通过 `useLocale` 使用
3
+ * @param messages 需要添加的地区语言数据
4
+ * @param options
5
+ */
6
+ export declare const addI18nMessages: (messages: Record<string, any>, options?: {
7
+ overwrite?: boolean;
8
+ }) => void;
9
+ /**
10
+ * 切换地区语言。仅在未提供ConfigProvider时生效。
11
+ * @param locale
12
+ */
13
+ export declare const useLocale: (locale: string) => void;
14
+ /**
15
+ * 获取当前的地区语言
16
+ */
17
+ export declare const getLocale: () => string;
18
+ export declare const useI18n: () => {
19
+ i18nMessage: import('vue').ComputedRef<Record<string, any>>;
20
+ locale: import('vue').ComputedRef<any>;
21
+ t: (key: string, ...args: any[]) => string;
22
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),r=require("./is.js"),t=require("./global-config.js"),l=require("../../_lang/zh-cn.js"),o=e.ref("zh-CN"),u=e.reactive({"zh-CN":l});exports.useI18n=()=>{const{locale:l}=t.getGlobalConfig(),n=e.computed(()=>l.value??u[o.value]);return{i18nMessage:n,locale:e.computed(()=>n.value.locale),t:(e,...t)=>{const l=e.split(".");let o=n.value;for(const r of l){if(!o[r])return e;o=o[r]}return r.isString(o)&&t.length>0?o.replace(/{(\d+)}/g,(e,r)=>t[r]??e):o}}};