naive-ui 2.34.4 → 2.35.0

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 (857) hide show
  1. package/README.zh-CN.md +1 -0
  2. package/dist/index.js +45697 -44785
  3. package/dist/index.prod.js +2 -2
  4. package/es/_internal/clear/src/Clear.d.ts +1 -1
  5. package/es/_internal/clear/src/Clear.js +2 -0
  6. package/es/_internal/close/src/Close.d.ts +1 -1
  7. package/es/_internal/fade-in-expand-transition/src/FadeInExpandTransition.d.ts +1 -1
  8. package/es/_internal/focus-detector/src/FocusDetector.d.ts +1 -1
  9. package/es/_internal/icon/src/Icon.d.ts +1 -1
  10. package/es/_internal/icon-switch-transition/src/IconSwitchTransition.d.ts +1 -1
  11. package/es/_internal/icons/Add.d.ts +1 -1
  12. package/es/_internal/icons/ArrowBack.d.ts +1 -1
  13. package/es/_internal/icons/ArrowDown.d.ts +1 -1
  14. package/es/_internal/icons/ArrowUp.d.ts +1 -1
  15. package/es/_internal/icons/Attach.d.ts +1 -1
  16. package/es/_internal/icons/Backward.d.ts +1 -1
  17. package/es/_internal/icons/Cancel.d.ts +1 -1
  18. package/es/_internal/icons/Checkmark.d.ts +1 -1
  19. package/es/_internal/icons/ChevronDown.d.ts +1 -1
  20. package/es/_internal/icons/ChevronDownFilled.d.ts +1 -1
  21. package/es/_internal/icons/ChevronLeft.d.ts +1 -1
  22. package/es/_internal/icons/ChevronRight.d.ts +1 -1
  23. package/es/_internal/icons/Clear.d.ts +1 -1
  24. package/es/_internal/icons/Close.d.ts +1 -1
  25. package/es/_internal/icons/Date.d.ts +1 -1
  26. package/es/_internal/icons/Download.d.ts +1 -1
  27. package/es/_internal/icons/Empty.d.ts +1 -1
  28. package/es/_internal/icons/Error.d.ts +1 -1
  29. package/es/_internal/icons/Eye.d.ts +1 -1
  30. package/es/_internal/icons/EyeOff.d.ts +1 -1
  31. package/es/_internal/icons/FastBackward.d.ts +1 -1
  32. package/es/_internal/icons/FastForward.d.ts +1 -1
  33. package/es/_internal/icons/File.d.ts +1 -1
  34. package/es/_internal/icons/Filter.d.ts +1 -1
  35. package/es/_internal/icons/Forward.d.ts +1 -1
  36. package/es/_internal/icons/Info.d.ts +1 -1
  37. package/es/_internal/icons/More.d.ts +1 -1
  38. package/es/_internal/icons/Photo.d.ts +1 -1
  39. package/es/_internal/icons/Remove.d.ts +1 -1
  40. package/es/_internal/icons/ResizeSmall.d.ts +1 -1
  41. package/es/_internal/icons/Retry.d.ts +1 -1
  42. package/es/_internal/icons/RotateClockwise.d.ts +1 -1
  43. package/es/_internal/icons/RotateCounterclockwise.d.ts +1 -1
  44. package/es/_internal/icons/Search.d.ts +1 -1
  45. package/es/_internal/icons/Success.d.ts +1 -1
  46. package/es/_internal/icons/Switcher.d.ts +1 -1
  47. package/es/_internal/icons/Time.d.ts +1 -1
  48. package/es/_internal/icons/To.d.ts +1 -1
  49. package/es/_internal/icons/Trash.d.ts +1 -1
  50. package/es/_internal/icons/Warning.d.ts +1 -1
  51. package/es/_internal/icons/ZoomIn.d.ts +1 -1
  52. package/es/_internal/icons/ZoomOut.d.ts +1 -1
  53. package/es/_internal/icons/replaceable.d.ts +1 -1
  54. package/es/_internal/loading/src/Loading.d.ts +1 -1
  55. package/es/_internal/menu-mask/src/MenuMask.d.ts +1 -1
  56. package/es/_internal/scrollbar/src/Scrollbar.d.ts +2 -2
  57. package/es/_internal/scrollbar/src/Scrollbar.js +4 -4
  58. package/es/_internal/scrollbar/src/styles/index.cssr.js +1 -0
  59. package/es/_internal/select-menu/src/SelectGroupHeader.d.ts +1 -1
  60. package/es/_internal/select-menu/src/SelectMenu.d.ts +1 -1
  61. package/es/_internal/select-menu/src/SelectMenu.js +1 -1
  62. package/es/_internal/select-menu/src/SelectOption.d.ts +1 -1
  63. package/es/_internal/selection/src/Selection.d.ts +2 -1
  64. package/es/_internal/selection/src/Selection.js +13 -5
  65. package/es/_internal/slot-machine/src/SlotMachine.d.ts +1 -1
  66. package/es/_internal/slot-machine/src/SlotMachineNumber.d.ts +1 -1
  67. package/es/_internal/suffix/src/Suffix.d.ts +1 -1
  68. package/es/_internal/wave/src/Wave.d.ts +1 -1
  69. package/es/_mixins/use-config.d.ts +2 -1
  70. package/es/_mixins/use-config.js +10 -5
  71. package/es/_mixins/use-form-item.d.ts +1 -1
  72. package/es/_mixins/use-style.d.ts +1 -1
  73. package/es/_mixins/use-style.js +1 -1
  74. package/es/_utils/cssr/index.d.ts +1 -1
  75. package/es/_utils/vue/wrapper.d.ts +1 -1
  76. package/es/affix/src/Affix.d.ts +2 -2
  77. package/es/alert/src/Alert.d.ts +2 -2
  78. package/es/alert/src/Alert.js +4 -0
  79. package/es/alert/src/styles/index.cssr.js +4 -0
  80. package/es/anchor/src/AnchorAdapter.d.ts +1 -1
  81. package/es/anchor/src/BaseAnchor.d.ts +1 -1
  82. package/es/anchor/src/BaseAnchor.js +3 -1
  83. package/es/anchor/src/Link.d.ts +1 -1
  84. package/es/auto-complete/src/AutoComplete.d.ts +2 -2
  85. package/es/auto-complete/src/interface.d.ts +2 -1
  86. package/es/avatar/src/Avatar.d.ts +2 -2
  87. package/es/avatar-group/src/AvatarGroup.d.ts +2 -2
  88. package/es/back-top/src/BackTop.d.ts +2 -2
  89. package/es/badge/src/Badge.d.ts +2 -2
  90. package/es/breadcrumb/src/Breadcrumb.d.ts +2 -2
  91. package/es/breadcrumb/src/BreadcrumbItem.d.ts +1 -1
  92. package/es/button/src/Button.d.ts +2 -2
  93. package/es/button/src/Button.js +1 -1
  94. package/es/button-group/src/ButtonGroup.d.ts +2 -2
  95. package/es/calendar/src/Calendar.d.ts +2 -2
  96. package/es/card/src/Card.d.ts +6 -6
  97. package/es/carousel/src/Carousel.d.ts +2 -2
  98. package/es/carousel/src/Carousel.js +6 -2
  99. package/es/carousel/src/CarouselArrow.d.ts +2 -2
  100. package/es/carousel/src/CarouselContext.js +3 -1
  101. package/es/carousel/src/CarouselDots.d.ts +2 -2
  102. package/es/carousel/src/CarouselDots.js +7 -1
  103. package/es/carousel/src/CarouselItem.d.ts +2 -2
  104. package/es/cascader/src/Cascader.d.ts +3 -2
  105. package/es/cascader/src/CascaderMenu.d.ts +1 -1
  106. package/es/cascader/src/CascaderOption.d.ts +1 -1
  107. package/es/cascader/src/CascaderSelectMenu.d.ts +2 -2
  108. package/es/cascader/src/CascaderSubmenu.d.ts +1 -1
  109. package/es/checkbox/src/Checkbox.d.ts +2 -2
  110. package/es/checkbox/src/Checkbox.js +10 -3
  111. package/es/checkbox/src/CheckboxGroup.d.ts +2 -2
  112. package/es/checkbox/src/styles/index.cssr.js +9 -11
  113. package/es/code/src/Code.d.ts +2 -2
  114. package/es/collapse/src/Collapse.d.ts +2 -2
  115. package/es/collapse/src/CollapseItem.d.ts +2 -2
  116. package/es/collapse/src/CollapseItemContent.d.ts +1 -1
  117. package/es/collapse-transition/src/CollapseTransition.d.ts +2 -2
  118. package/es/color-picker/src/AlphaSlider.d.ts +1 -1
  119. package/es/color-picker/src/ColorInput.d.ts +1 -1
  120. package/es/color-picker/src/ColorInputUnit.d.ts +1 -1
  121. package/es/color-picker/src/ColorPicker.d.ts +2 -2
  122. package/es/color-picker/src/ColorPicker.js +6 -2
  123. package/es/color-picker/src/ColorPickerSwatches.d.ts +1 -1
  124. package/es/color-picker/src/ColorPickerSwatches.js +5 -1
  125. package/es/color-picker/src/ColorPickerTrigger.d.ts +1 -1
  126. package/es/color-picker/src/ColorPreview.d.ts +1 -1
  127. package/es/color-picker/src/HueSlider.d.ts +1 -1
  128. package/es/color-picker/src/Pallete.d.ts +1 -1
  129. package/es/config-provider/src/ConfigProvider.d.ts +21 -8
  130. package/es/config-provider/src/ConfigProvider.js +4 -2
  131. package/es/config-provider/src/internal-interface.d.ts +1 -1
  132. package/es/countdown/src/Countdown.d.ts +1 -1
  133. package/es/data-table/index.d.ts +1 -1
  134. package/es/data-table/src/DataTable.d.ts +2 -2
  135. package/es/data-table/src/DataTable.js +1 -7
  136. package/es/data-table/src/HeaderButton/FilterButton.d.ts +1 -1
  137. package/es/data-table/src/HeaderButton/FilterMenu.d.ts +1 -1
  138. package/es/data-table/src/HeaderButton/RenderFilter.d.ts +1 -1
  139. package/es/data-table/src/HeaderButton/RenderSorter.d.ts +1 -1
  140. package/es/data-table/src/HeaderButton/ResizeButton.d.ts +1 -1
  141. package/es/data-table/src/HeaderButton/ResizeButton.js +1 -0
  142. package/es/data-table/src/HeaderButton/SortButton.d.ts +1 -1
  143. package/es/data-table/src/MainTable.d.ts +1 -1
  144. package/es/data-table/src/TableParts/Body.d.ts +2 -3
  145. package/es/data-table/src/TableParts/Body.js +17 -12
  146. package/es/data-table/src/TableParts/BodyCheckbox.d.ts +1 -1
  147. package/es/data-table/src/TableParts/BodyRadio.d.ts +1 -1
  148. package/es/data-table/src/TableParts/Cell.d.ts +1 -1
  149. package/es/data-table/src/TableParts/Cell.js +5 -1
  150. package/es/data-table/src/TableParts/ExpandTrigger.d.ts +1 -1
  151. package/es/data-table/src/TableParts/ExpandTrigger.js +3 -1
  152. package/es/data-table/src/TableParts/Header.d.ts +1 -3
  153. package/es/data-table/src/TableParts/Header.js +6 -12
  154. package/es/data-table/src/TableParts/SelectionMenu.d.ts +1 -1
  155. package/es/data-table/src/interface.d.ts +2 -4
  156. package/es/data-table/src/styles/index.cssr.js +2 -0
  157. package/es/data-table/src/use-scroll.d.ts +1 -2
  158. package/es/data-table/src/use-scroll.js +21 -13
  159. package/es/date-picker/src/DatePicker.d.ts +2 -2
  160. package/es/date-picker/src/panel/date.d.ts +2 -2
  161. package/es/date-picker/src/panel/date.js +3 -1
  162. package/es/date-picker/src/panel/daterange.d.ts +2 -2
  163. package/es/date-picker/src/panel/daterange.js +10 -2
  164. package/es/date-picker/src/panel/datetime.d.ts +2 -2
  165. package/es/date-picker/src/panel/datetime.js +3 -1
  166. package/es/date-picker/src/panel/datetimerange.d.ts +2 -2
  167. package/es/date-picker/src/panel/datetimerange.js +16 -4
  168. package/es/date-picker/src/panel/month.d.ts +2 -2
  169. package/es/date-picker/src/panel/month.js +4 -1
  170. package/es/date-picker/src/panel/monthrange.d.ts +2 -2
  171. package/es/date-picker/src/panel/panelHeader.d.ts +71 -48
  172. package/es/date-picker/src/panel/use-calendar.d.ts +1 -1
  173. package/es/date-picker/src/panel/use-dual-calendar.d.ts +1 -1
  174. package/es/date-picker/src/styles/index.cssr.js +1 -0
  175. package/es/descriptions/src/Descriptions.d.ts +2 -2
  176. package/es/descriptions/src/Descriptions.js +6 -1
  177. package/es/descriptions/src/DescriptionsItem.d.ts +1 -1
  178. package/es/dialog/src/Dialog.d.ts +2 -2
  179. package/es/dialog/src/DialogEnvironment.d.ts +1 -1
  180. package/es/dialog/src/DialogProvider.d.ts +1 -1
  181. package/es/dialog/src/DialogProvider.js +3 -1
  182. package/es/discrete/src/InjectionExtractor.d.ts +1 -1
  183. package/es/divider/src/Divider.d.ts +2 -2
  184. package/es/drawer/src/Drawer.d.ts +15 -2
  185. package/es/drawer/src/Drawer.js +2 -2
  186. package/es/drawer/src/DrawerBodyWrapper.d.ts +9 -1
  187. package/es/drawer/src/DrawerBodyWrapper.js +25 -1
  188. package/es/drawer/src/DrawerContent.d.ts +1 -1
  189. package/es/dropdown/src/Dropdown.d.ts +2 -2
  190. package/es/dropdown/src/DropdownDivider.d.ts +1 -1
  191. package/es/dropdown/src/DropdownGroup.d.ts +1 -1
  192. package/es/dropdown/src/DropdownGroupHeader.d.ts +1 -1
  193. package/es/dropdown/src/DropdownMenu.d.ts +1 -1
  194. package/es/dropdown/src/DropdownOption.d.ts +1 -1
  195. package/es/dropdown/src/DropdownRenderOption.d.ts +1 -1
  196. package/es/dynamic-input/src/DynamicInput.d.ts +2 -2
  197. package/es/dynamic-input/src/DynamicInput.js +18 -6
  198. package/es/dynamic-input/src/InputPreset.d.ts +1 -1
  199. package/es/dynamic-input/src/PairPreset.d.ts +1 -1
  200. package/es/dynamic-tags/src/DynamicTags.d.ts +2 -2
  201. package/es/dynamic-tags/src/DynamicTags.js +3 -1
  202. package/es/element/src/Element.d.ts +2 -2
  203. package/es/ellipsis/index.d.ts +1 -0
  204. package/es/ellipsis/index.js +1 -0
  205. package/es/ellipsis/src/Ellipsis.d.ts +3 -1
  206. package/es/ellipsis/src/Ellipsis.js +5 -4
  207. package/es/ellipsis/src/PerformantEllipsis.d.ts +164 -0
  208. package/es/ellipsis/src/PerformantEllipsis.js +52 -0
  209. package/es/empty/src/Empty.d.ts +2 -2
  210. package/es/equation/src/Equation.d.ts +4 -4
  211. package/es/form/src/Form.d.ts +2 -2
  212. package/es/form/src/Form.js +3 -1
  213. package/es/form/src/FormItem.d.ts +2 -2
  214. package/es/form/src/FormItemCol.d.ts +1 -1
  215. package/es/form/src/FormItemGridItem.d.ts +1 -1
  216. package/es/form/src/FormItemRow.d.ts +1 -1
  217. package/es/global-style/src/GlobalStyle.d.ts +1 -1
  218. package/es/gradient-text/src/GradientText.d.ts +2 -2
  219. package/es/grid/src/Grid.d.ts +2 -2
  220. package/es/grid/src/Grid.js +6 -3
  221. package/es/grid/src/GridItem.d.ts +1 -1
  222. package/es/icon/src/Icon.d.ts +2 -2
  223. package/es/icon-wrapper/src/IconWrapper.d.ts +1 -1
  224. package/es/image/src/Image.d.ts +8 -2
  225. package/es/image/src/ImageGroup.d.ts +8 -2
  226. package/es/image/src/ImageGroup.js +8 -2
  227. package/es/image/src/ImagePreview.d.ts +8 -3
  228. package/es/image/src/ImagePreview.js +10 -1
  229. package/es/image/src/icons.d.ts +1 -0
  230. package/es/image/src/icons.js +2 -0
  231. package/es/image/src/interface.d.ts +7 -5
  232. package/es/image/src/interface.js +1 -1
  233. package/es/index.d.ts +1 -0
  234. package/es/index.js +1 -0
  235. package/es/input/src/Input.d.ts +15 -5
  236. package/es/input/src/Input.js +30 -8
  237. package/es/input/src/InputGroup.d.ts +2 -2
  238. package/es/input/src/InputGroupLabel.d.ts +2 -2
  239. package/es/input/src/WordCount.d.ts +1 -1
  240. package/es/input/src/styles/input.cssr.js +1 -0
  241. package/es/input-number/src/InputNumber.d.ts +3 -2
  242. package/es/input-number/src/InputNumber.js +2 -1
  243. package/es/input-number/src/interface.d.ts +1 -0
  244. package/es/layout/src/Layout.d.ts +4 -4
  245. package/es/layout/src/LayoutContent.d.ts +2 -2
  246. package/es/layout/src/LayoutFooter.d.ts +2 -2
  247. package/es/layout/src/LayoutHeader.d.ts +2 -2
  248. package/es/layout/src/LayoutSider.d.ts +2 -2
  249. package/es/layout/src/ToggleBar.d.ts +1 -1
  250. package/es/layout/src/ToggleButton.d.ts +1 -1
  251. package/es/legacy-grid/src/Col.d.ts +1 -1
  252. package/es/legacy-grid/src/Row.d.ts +2 -2
  253. package/es/legacy-transfer/src/Transfer.d.ts +2 -2
  254. package/es/legacy-transfer/src/TransferFilter.d.ts +1 -1
  255. package/es/legacy-transfer/src/TransferHeader.d.ts +1 -1
  256. package/es/legacy-transfer/src/TransferList.d.ts +1 -1
  257. package/es/legacy-transfer/src/TransferListItem.d.ts +1 -1
  258. package/es/list/src/List.d.ts +2 -2
  259. package/es/list/src/ListItem.d.ts +1 -1
  260. package/es/loading-bar/src/LoadingBar.d.ts +2 -2
  261. package/es/loading-bar/src/LoadingBar.js +18 -11
  262. package/es/loading-bar/src/LoadingBarProvider.d.ts +1 -1
  263. package/es/locales/common/arDZ.js +1 -0
  264. package/es/locales/common/deDE.js +1 -0
  265. package/es/locales/common/enGB.js +1 -0
  266. package/es/locales/common/enUS.d.ts +1 -0
  267. package/es/locales/common/enUS.js +1 -0
  268. package/es/locales/common/eo.js +1 -0
  269. package/es/locales/common/esAR.js +1 -0
  270. package/es/locales/common/faIR.js +1 -0
  271. package/es/locales/common/frFR.js +1 -0
  272. package/es/locales/common/idID.js +1 -0
  273. package/es/locales/common/itIT.js +1 -0
  274. package/es/locales/common/jaJP.js +1 -0
  275. package/es/locales/common/koKR.js +1 -0
  276. package/es/locales/common/nbNO.js +1 -0
  277. package/es/locales/common/nlNL.js +1 -0
  278. package/es/locales/common/plPL.js +1 -0
  279. package/es/locales/common/ptBR.js +15 -17
  280. package/es/locales/common/ruRU.js +1 -0
  281. package/es/locales/common/skSK.js +1 -0
  282. package/es/locales/common/svSE.d.ts +3 -0
  283. package/es/locales/common/svSE.js +121 -0
  284. package/es/locales/common/thTH.js +1 -0
  285. package/es/locales/common/trTR.js +1 -0
  286. package/es/locales/common/ukUA.js +1 -0
  287. package/es/locales/common/viVN.js +1 -0
  288. package/es/locales/common/zhCN.js +1 -0
  289. package/es/locales/common/zhTW.js +18 -17
  290. package/es/locales/date/svSE.d.ts +3 -0
  291. package/es/locales/date/svSE.js +6 -0
  292. package/es/locales/index.d.ts +2 -0
  293. package/es/locales/index.js +2 -0
  294. package/es/log/src/Log.d.ts +8 -8
  295. package/es/log/src/Log.js +12 -12
  296. package/es/log/src/LogLine.d.ts +1 -1
  297. package/es/log/src/LogLoader.d.ts +1 -1
  298. package/es/mention/src/Mention.d.ts +3 -3
  299. package/es/menu/src/Menu.d.ts +2 -2
  300. package/es/menu/src/MenuDivider.d.ts +1 -1
  301. package/es/menu/src/MenuOption.d.ts +1 -1
  302. package/es/menu/src/MenuOptionContent.d.ts +1 -1
  303. package/es/menu/src/MenuOptionGroup.d.ts +1 -1
  304. package/es/menu/src/Submenu.d.ts +1 -1
  305. package/es/menu/src/context.d.ts +2 -2
  306. package/es/message/src/Message.d.ts +1 -1
  307. package/es/message/src/MessageEnvironment.d.ts +1 -1
  308. package/es/message/src/MessageProvider.d.ts +2 -2
  309. package/es/modal/src/BodyWrapper.d.ts +2 -2
  310. package/es/modal/src/Modal.d.ts +2 -2
  311. package/es/notification/src/Notification.d.ts +1 -1
  312. package/es/notification/src/NotificationContainer.d.ts +1 -1
  313. package/es/notification/src/NotificationEnvironment.d.ts +1 -1
  314. package/es/notification/src/NotificationProvider.d.ts +2 -2
  315. package/es/number-animation/src/NumberAnimation.d.ts +1 -1
  316. package/es/page-header/src/PageHeader.d.ts +2 -2
  317. package/es/pagination/src/Pagination.d.ts +2 -2
  318. package/es/pagination/src/Pagination.js +3 -1
  319. package/es/popconfirm/src/Popconfirm.d.ts +4 -3
  320. package/es/popconfirm/src/Popconfirm.js +13 -5
  321. package/es/popconfirm/src/PopconfirmPanel.d.ts +1 -1
  322. package/es/popover/src/Popover.d.ts +1 -1
  323. package/es/popover/src/Popover.js +3 -4
  324. package/es/popover/src/PopoverBody.d.ts +1 -1
  325. package/es/popover/src/interface.d.ts +3 -0
  326. package/es/popselect/src/Popselect.d.ts +1 -1
  327. package/es/popselect/src/PopselectPanel.d.ts +2 -2
  328. package/es/progress/src/Circle.d.ts +1 -1
  329. package/es/progress/src/Line.d.ts +1 -1
  330. package/es/progress/src/Line.js +1 -3
  331. package/es/progress/src/MultipleCircle.d.ts +1 -1
  332. package/es/progress/src/Progress.d.ts +2 -2
  333. package/es/radio/src/Radio.d.ts +173 -34
  334. package/es/radio/src/Radio.js +3 -3
  335. package/es/radio/src/RadioButton.d.ts +3 -3
  336. package/es/radio/src/RadioButton.js +3 -3
  337. package/es/radio/src/RadioGroup.d.ts +2 -2
  338. package/es/radio/src/use-radio.d.ts +3 -3
  339. package/es/radio/src/use-radio.js +1 -1
  340. package/es/rate/src/Rate.d.ts +2 -2
  341. package/es/result/src/Result.d.ts +2 -2
  342. package/es/scrollbar/src/Scrollbar.d.ts +1 -1
  343. package/es/select/src/Select.d.ts +6 -3
  344. package/es/select/src/Select.js +17 -3
  345. package/es/select/src/interface.d.ts +2 -0
  346. package/es/skeleton/src/Skeleton.d.ts +2 -2
  347. package/es/slider/src/Slider.d.ts +2 -2
  348. package/es/slider/src/Slider.js +9 -1
  349. package/es/slider/src/utils.js +3 -1
  350. package/es/space/src/Space.d.ts +2 -2
  351. package/es/spin/src/Spin.d.ts +6 -3
  352. package/es/spin/src/Spin.js +23 -5
  353. package/es/statistic/src/Statistic.d.ts +2 -2
  354. package/es/steps/src/Step.d.ts +2 -2
  355. package/es/steps/src/Steps.d.ts +2 -2
  356. package/es/steps/src/styles/index.cssr.js +1 -0
  357. package/es/switch/src/Switch.d.ts +2 -2
  358. package/es/table/src/Table.d.ts +2 -2
  359. package/es/table/src/Tbody.d.ts +1 -1
  360. package/es/table/src/Td.d.ts +1 -1
  361. package/es/table/src/Th.d.ts +1 -1
  362. package/es/table/src/Thead.d.ts +1 -1
  363. package/es/table/src/Tr.d.ts +1 -1
  364. package/es/tabs/src/Tab.d.ts +1 -1
  365. package/es/tabs/src/TabPane.d.ts +1 -1
  366. package/es/tabs/src/Tabs.d.ts +7 -7
  367. package/es/tabs/src/Tabs.js +13 -0
  368. package/es/tag/src/Tag.d.ts +2 -2
  369. package/es/theme-editor/src/MaximizeIcon.d.ts +1 -1
  370. package/es/theme-editor/src/MinimizeIcon.d.ts +1 -1
  371. package/es/theme-editor/src/ThemeEditor.d.ts +1 -1
  372. package/es/thing/src/Thing.d.ts +1 -1
  373. package/es/time/src/Time.d.ts +1 -1
  374. package/es/time/src/Time.js +1 -1
  375. package/es/time-picker/src/Panel.d.ts +1 -1
  376. package/es/time-picker/src/PanelCol.d.ts +1 -1
  377. package/es/time-picker/src/PanelCol.js +5 -1
  378. package/es/time-picker/src/TimePicker.d.ts +2 -2
  379. package/es/time-picker/src/TimePicker.js +1 -1
  380. package/es/timeline/src/Timeline.d.ts +1 -1
  381. package/es/timeline/src/TimelineItem.d.ts +1 -1
  382. package/es/tooltip/src/Tooltip.d.ts +1 -1
  383. package/es/transfer/src/Transfer.d.ts +8 -2
  384. package/es/transfer/src/Transfer.js +2 -2
  385. package/es/transfer/src/TransferFilter.d.ts +1 -1
  386. package/es/transfer/src/TransferHeader.d.ts +5 -1
  387. package/es/transfer/src/TransferHeader.js +6 -2
  388. package/es/transfer/src/TransferList.d.ts +1 -1
  389. package/es/transfer/src/TransferListItem.d.ts +1 -1
  390. package/es/tree/src/MotionWrapper.d.ts +1 -1
  391. package/es/tree/src/Tree.d.ts +48 -5
  392. package/es/tree/src/Tree.js +29 -19
  393. package/es/tree/src/TreeNode.d.ts +6 -2
  394. package/es/tree/src/TreeNode.js +43 -7
  395. package/es/tree/src/TreeNodeCheckbox.d.ts +12 -1
  396. package/es/tree/src/TreeNodeCheckbox.js +9 -8
  397. package/es/tree/src/TreeNodeContent.d.ts +1 -1
  398. package/es/tree/src/TreeNodeSwitcher.d.ts +18 -1
  399. package/es/tree/src/TreeNodeSwitcher.js +12 -6
  400. package/es/tree/src/interface.d.ts +2 -0
  401. package/es/tree/src/styles/index.cssr.js +46 -51
  402. package/es/tree/styles/light.d.ts +6 -0
  403. package/es/tree/styles/light.js +3 -0
  404. package/es/tree-select/src/TreeSelect.d.ts +44 -5
  405. package/es/tree-select/src/TreeSelect.js +3 -1
  406. package/es/tree-select/src/interface.d.ts +2 -0
  407. package/es/tree-select/styles/light.d.ts +3 -0
  408. package/es/typography/src/a.d.ts +2 -2
  409. package/es/typography/src/blockquote.d.ts +2 -2
  410. package/es/typography/src/create-header.d.ts +2 -2
  411. package/es/typography/src/headers.d.ts +12 -12
  412. package/es/typography/src/hr.d.ts +2 -2
  413. package/es/typography/src/li.d.ts +1 -1
  414. package/es/typography/src/ol.d.ts +2 -2
  415. package/es/typography/src/p.d.ts +2 -2
  416. package/es/typography/src/text.d.ts +2 -2
  417. package/es/typography/src/ul.d.ts +2 -2
  418. package/es/upload/src/Upload.d.ts +5 -5
  419. package/es/upload/src/Upload.js +1 -1
  420. package/es/upload/src/UploadDragger.d.ts +1 -1
  421. package/es/upload/src/UploadFile.d.ts +2 -2
  422. package/es/upload/src/UploadFileList.d.ts +1 -1
  423. package/es/upload/src/UploadProgress.d.ts +1 -1
  424. package/es/upload/src/UploadTrigger.d.ts +1 -1
  425. package/es/upload/src/interface.d.ts +3 -3
  426. package/es/version.d.ts +1 -1
  427. package/es/version.js +1 -1
  428. package/es/watermark/src/Watermark.d.ts +1 -1
  429. package/lib/_internal/clear/src/Clear.d.ts +1 -1
  430. package/lib/_internal/clear/src/Clear.js +2 -0
  431. package/lib/_internal/close/src/Close.d.ts +1 -1
  432. package/lib/_internal/fade-in-expand-transition/src/FadeInExpandTransition.d.ts +1 -1
  433. package/lib/_internal/focus-detector/src/FocusDetector.d.ts +1 -1
  434. package/lib/_internal/icon/src/Icon.d.ts +1 -1
  435. package/lib/_internal/icon-switch-transition/src/IconSwitchTransition.d.ts +1 -1
  436. package/lib/_internal/icons/Add.d.ts +1 -1
  437. package/lib/_internal/icons/ArrowBack.d.ts +1 -1
  438. package/lib/_internal/icons/ArrowDown.d.ts +1 -1
  439. package/lib/_internal/icons/ArrowUp.d.ts +1 -1
  440. package/lib/_internal/icons/Attach.d.ts +1 -1
  441. package/lib/_internal/icons/Backward.d.ts +1 -1
  442. package/lib/_internal/icons/Cancel.d.ts +1 -1
  443. package/lib/_internal/icons/Checkmark.d.ts +1 -1
  444. package/lib/_internal/icons/ChevronDown.d.ts +1 -1
  445. package/lib/_internal/icons/ChevronDownFilled.d.ts +1 -1
  446. package/lib/_internal/icons/ChevronLeft.d.ts +1 -1
  447. package/lib/_internal/icons/ChevronRight.d.ts +1 -1
  448. package/lib/_internal/icons/Clear.d.ts +1 -1
  449. package/lib/_internal/icons/Close.d.ts +1 -1
  450. package/lib/_internal/icons/Date.d.ts +1 -1
  451. package/lib/_internal/icons/Download.d.ts +1 -1
  452. package/lib/_internal/icons/Empty.d.ts +1 -1
  453. package/lib/_internal/icons/Error.d.ts +1 -1
  454. package/lib/_internal/icons/Eye.d.ts +1 -1
  455. package/lib/_internal/icons/EyeOff.d.ts +1 -1
  456. package/lib/_internal/icons/FastBackward.d.ts +1 -1
  457. package/lib/_internal/icons/FastForward.d.ts +1 -1
  458. package/lib/_internal/icons/File.d.ts +1 -1
  459. package/lib/_internal/icons/Filter.d.ts +1 -1
  460. package/lib/_internal/icons/Forward.d.ts +1 -1
  461. package/lib/_internal/icons/Info.d.ts +1 -1
  462. package/lib/_internal/icons/More.d.ts +1 -1
  463. package/lib/_internal/icons/Photo.d.ts +1 -1
  464. package/lib/_internal/icons/Remove.d.ts +1 -1
  465. package/lib/_internal/icons/ResizeSmall.d.ts +1 -1
  466. package/lib/_internal/icons/Retry.d.ts +1 -1
  467. package/lib/_internal/icons/RotateClockwise.d.ts +1 -1
  468. package/lib/_internal/icons/RotateCounterclockwise.d.ts +1 -1
  469. package/lib/_internal/icons/Search.d.ts +1 -1
  470. package/lib/_internal/icons/Success.d.ts +1 -1
  471. package/lib/_internal/icons/Switcher.d.ts +1 -1
  472. package/lib/_internal/icons/Time.d.ts +1 -1
  473. package/lib/_internal/icons/To.d.ts +1 -1
  474. package/lib/_internal/icons/Trash.d.ts +1 -1
  475. package/lib/_internal/icons/Warning.d.ts +1 -1
  476. package/lib/_internal/icons/ZoomIn.d.ts +1 -1
  477. package/lib/_internal/icons/ZoomOut.d.ts +1 -1
  478. package/lib/_internal/icons/replaceable.d.ts +1 -1
  479. package/lib/_internal/loading/src/Loading.d.ts +1 -1
  480. package/lib/_internal/menu-mask/src/MenuMask.d.ts +1 -1
  481. package/lib/_internal/scrollbar/src/Scrollbar.d.ts +2 -2
  482. package/lib/_internal/scrollbar/src/Scrollbar.js +4 -4
  483. package/lib/_internal/scrollbar/src/styles/index.cssr.js +1 -0
  484. package/lib/_internal/select-menu/src/SelectGroupHeader.d.ts +1 -1
  485. package/lib/_internal/select-menu/src/SelectMenu.d.ts +1 -1
  486. package/lib/_internal/select-menu/src/SelectMenu.js +1 -1
  487. package/lib/_internal/select-menu/src/SelectOption.d.ts +1 -1
  488. package/lib/_internal/selection/src/Selection.d.ts +2 -1
  489. package/lib/_internal/selection/src/Selection.js +13 -5
  490. package/lib/_internal/slot-machine/src/SlotMachine.d.ts +1 -1
  491. package/lib/_internal/slot-machine/src/SlotMachineNumber.d.ts +1 -1
  492. package/lib/_internal/suffix/src/Suffix.d.ts +1 -1
  493. package/lib/_internal/wave/src/Wave.d.ts +1 -1
  494. package/lib/_mixins/use-config.d.ts +2 -1
  495. package/lib/_mixins/use-config.js +11 -5
  496. package/lib/_mixins/use-form-item.d.ts +1 -1
  497. package/lib/_mixins/use-style.d.ts +1 -1
  498. package/lib/_mixins/use-style.js +1 -1
  499. package/lib/_utils/cssr/index.d.ts +1 -1
  500. package/lib/_utils/vue/wrapper.d.ts +1 -1
  501. package/lib/affix/src/Affix.d.ts +2 -2
  502. package/lib/alert/src/Alert.d.ts +2 -2
  503. package/lib/alert/src/Alert.js +4 -0
  504. package/lib/alert/src/styles/index.cssr.js +4 -0
  505. package/lib/anchor/src/AnchorAdapter.d.ts +1 -1
  506. package/lib/anchor/src/BaseAnchor.d.ts +1 -1
  507. package/lib/anchor/src/BaseAnchor.js +3 -1
  508. package/lib/anchor/src/Link.d.ts +1 -1
  509. package/lib/auto-complete/src/AutoComplete.d.ts +2 -2
  510. package/lib/auto-complete/src/interface.d.ts +2 -1
  511. package/lib/avatar/src/Avatar.d.ts +2 -2
  512. package/lib/avatar-group/src/AvatarGroup.d.ts +2 -2
  513. package/lib/back-top/src/BackTop.d.ts +2 -2
  514. package/lib/badge/src/Badge.d.ts +2 -2
  515. package/lib/breadcrumb/src/Breadcrumb.d.ts +2 -2
  516. package/lib/breadcrumb/src/BreadcrumbItem.d.ts +1 -1
  517. package/lib/button/src/Button.d.ts +2 -2
  518. package/lib/button/src/Button.js +1 -1
  519. package/lib/button-group/src/ButtonGroup.d.ts +2 -2
  520. package/lib/calendar/src/Calendar.d.ts +2 -2
  521. package/lib/card/src/Card.d.ts +6 -6
  522. package/lib/carousel/src/Carousel.d.ts +2 -2
  523. package/lib/carousel/src/Carousel.js +6 -2
  524. package/lib/carousel/src/CarouselArrow.d.ts +2 -2
  525. package/lib/carousel/src/CarouselContext.js +3 -1
  526. package/lib/carousel/src/CarouselDots.d.ts +2 -2
  527. package/lib/carousel/src/CarouselDots.js +7 -1
  528. package/lib/carousel/src/CarouselItem.d.ts +2 -2
  529. package/lib/cascader/src/Cascader.d.ts +3 -2
  530. package/lib/cascader/src/CascaderMenu.d.ts +1 -1
  531. package/lib/cascader/src/CascaderOption.d.ts +1 -1
  532. package/lib/cascader/src/CascaderSelectMenu.d.ts +2 -2
  533. package/lib/cascader/src/CascaderSubmenu.d.ts +1 -1
  534. package/lib/checkbox/src/Checkbox.d.ts +2 -2
  535. package/lib/checkbox/src/Checkbox.js +9 -2
  536. package/lib/checkbox/src/CheckboxGroup.d.ts +2 -2
  537. package/lib/checkbox/src/styles/index.cssr.js +9 -11
  538. package/lib/code/src/Code.d.ts +2 -2
  539. package/lib/collapse/src/Collapse.d.ts +2 -2
  540. package/lib/collapse/src/CollapseItem.d.ts +2 -2
  541. package/lib/collapse/src/CollapseItemContent.d.ts +1 -1
  542. package/lib/collapse-transition/src/CollapseTransition.d.ts +2 -2
  543. package/lib/color-picker/src/AlphaSlider.d.ts +1 -1
  544. package/lib/color-picker/src/ColorInput.d.ts +1 -1
  545. package/lib/color-picker/src/ColorInputUnit.d.ts +1 -1
  546. package/lib/color-picker/src/ColorPicker.d.ts +2 -2
  547. package/lib/color-picker/src/ColorPicker.js +6 -2
  548. package/lib/color-picker/src/ColorPickerSwatches.d.ts +1 -1
  549. package/lib/color-picker/src/ColorPickerSwatches.js +5 -1
  550. package/lib/color-picker/src/ColorPickerTrigger.d.ts +1 -1
  551. package/lib/color-picker/src/ColorPreview.d.ts +1 -1
  552. package/lib/color-picker/src/HueSlider.d.ts +1 -1
  553. package/lib/color-picker/src/Pallete.d.ts +1 -1
  554. package/lib/config-provider/src/ConfigProvider.d.ts +21 -8
  555. package/lib/config-provider/src/ConfigProvider.js +4 -2
  556. package/lib/config-provider/src/internal-interface.d.ts +1 -1
  557. package/lib/countdown/src/Countdown.d.ts +1 -1
  558. package/lib/data-table/index.d.ts +1 -1
  559. package/lib/data-table/src/DataTable.d.ts +2 -2
  560. package/lib/data-table/src/DataTable.js +0 -6
  561. package/lib/data-table/src/HeaderButton/FilterButton.d.ts +1 -1
  562. package/lib/data-table/src/HeaderButton/FilterMenu.d.ts +1 -1
  563. package/lib/data-table/src/HeaderButton/RenderFilter.d.ts +1 -1
  564. package/lib/data-table/src/HeaderButton/RenderSorter.d.ts +1 -1
  565. package/lib/data-table/src/HeaderButton/ResizeButton.d.ts +1 -1
  566. package/lib/data-table/src/HeaderButton/ResizeButton.js +1 -0
  567. package/lib/data-table/src/HeaderButton/SortButton.d.ts +1 -1
  568. package/lib/data-table/src/MainTable.d.ts +1 -1
  569. package/lib/data-table/src/TableParts/Body.d.ts +2 -3
  570. package/lib/data-table/src/TableParts/Body.js +17 -12
  571. package/lib/data-table/src/TableParts/BodyCheckbox.d.ts +1 -1
  572. package/lib/data-table/src/TableParts/BodyRadio.d.ts +1 -1
  573. package/lib/data-table/src/TableParts/Cell.d.ts +1 -1
  574. package/lib/data-table/src/TableParts/Cell.js +9 -2
  575. package/lib/data-table/src/TableParts/ExpandTrigger.d.ts +1 -1
  576. package/lib/data-table/src/TableParts/ExpandTrigger.js +3 -1
  577. package/lib/data-table/src/TableParts/Header.d.ts +1 -3
  578. package/lib/data-table/src/TableParts/Header.js +6 -12
  579. package/lib/data-table/src/TableParts/SelectionMenu.d.ts +1 -1
  580. package/lib/data-table/src/interface.d.ts +2 -4
  581. package/lib/data-table/src/styles/index.cssr.js +2 -0
  582. package/lib/data-table/src/use-scroll.d.ts +1 -2
  583. package/lib/data-table/src/use-scroll.js +21 -13
  584. package/lib/date-picker/src/DatePicker.d.ts +2 -2
  585. package/lib/date-picker/src/panel/date.d.ts +2 -2
  586. package/lib/date-picker/src/panel/date.js +3 -1
  587. package/lib/date-picker/src/panel/daterange.d.ts +2 -2
  588. package/lib/date-picker/src/panel/daterange.js +10 -2
  589. package/lib/date-picker/src/panel/datetime.d.ts +2 -2
  590. package/lib/date-picker/src/panel/datetime.js +3 -1
  591. package/lib/date-picker/src/panel/datetimerange.d.ts +2 -2
  592. package/lib/date-picker/src/panel/datetimerange.js +16 -4
  593. package/lib/date-picker/src/panel/month.d.ts +2 -2
  594. package/lib/date-picker/src/panel/month.js +4 -1
  595. package/lib/date-picker/src/panel/monthrange.d.ts +2 -2
  596. package/lib/date-picker/src/panel/panelHeader.d.ts +71 -48
  597. package/lib/date-picker/src/panel/use-calendar.d.ts +1 -1
  598. package/lib/date-picker/src/panel/use-dual-calendar.d.ts +1 -1
  599. package/lib/date-picker/src/styles/index.cssr.js +1 -0
  600. package/lib/descriptions/src/Descriptions.d.ts +2 -2
  601. package/lib/descriptions/src/Descriptions.js +6 -1
  602. package/lib/descriptions/src/DescriptionsItem.d.ts +1 -1
  603. package/lib/dialog/src/Dialog.d.ts +2 -2
  604. package/lib/dialog/src/DialogEnvironment.d.ts +1 -1
  605. package/lib/dialog/src/DialogProvider.d.ts +1 -1
  606. package/lib/dialog/src/DialogProvider.js +3 -1
  607. package/lib/discrete/src/InjectionExtractor.d.ts +1 -1
  608. package/lib/divider/src/Divider.d.ts +2 -2
  609. package/lib/drawer/src/Drawer.d.ts +15 -2
  610. package/lib/drawer/src/Drawer.js +2 -2
  611. package/lib/drawer/src/DrawerBodyWrapper.d.ts +9 -1
  612. package/lib/drawer/src/DrawerBodyWrapper.js +25 -1
  613. package/lib/drawer/src/DrawerContent.d.ts +1 -1
  614. package/lib/dropdown/src/Dropdown.d.ts +2 -2
  615. package/lib/dropdown/src/DropdownDivider.d.ts +1 -1
  616. package/lib/dropdown/src/DropdownGroup.d.ts +1 -1
  617. package/lib/dropdown/src/DropdownGroupHeader.d.ts +1 -1
  618. package/lib/dropdown/src/DropdownMenu.d.ts +1 -1
  619. package/lib/dropdown/src/DropdownOption.d.ts +1 -1
  620. package/lib/dropdown/src/DropdownRenderOption.d.ts +1 -1
  621. package/lib/dynamic-input/src/DynamicInput.d.ts +2 -2
  622. package/lib/dynamic-input/src/DynamicInput.js +18 -6
  623. package/lib/dynamic-input/src/InputPreset.d.ts +1 -1
  624. package/lib/dynamic-input/src/PairPreset.d.ts +1 -1
  625. package/lib/dynamic-tags/src/DynamicTags.d.ts +2 -2
  626. package/lib/dynamic-tags/src/DynamicTags.js +3 -1
  627. package/lib/element/src/Element.d.ts +2 -2
  628. package/lib/ellipsis/index.d.ts +1 -0
  629. package/lib/ellipsis/index.js +3 -1
  630. package/lib/ellipsis/src/Ellipsis.d.ts +3 -1
  631. package/lib/ellipsis/src/Ellipsis.js +5 -2
  632. package/lib/ellipsis/src/PerformantEllipsis.d.ts +164 -0
  633. package/lib/ellipsis/src/PerformantEllipsis.js +81 -0
  634. package/lib/empty/src/Empty.d.ts +2 -2
  635. package/lib/equation/src/Equation.d.ts +4 -4
  636. package/lib/form/src/Form.d.ts +2 -2
  637. package/lib/form/src/Form.js +3 -1
  638. package/lib/form/src/FormItem.d.ts +2 -2
  639. package/lib/form/src/FormItemCol.d.ts +1 -1
  640. package/lib/form/src/FormItemGridItem.d.ts +1 -1
  641. package/lib/form/src/FormItemRow.d.ts +1 -1
  642. package/lib/global-style/src/GlobalStyle.d.ts +1 -1
  643. package/lib/gradient-text/src/GradientText.d.ts +2 -2
  644. package/lib/grid/src/Grid.d.ts +2 -2
  645. package/lib/grid/src/Grid.js +6 -3
  646. package/lib/grid/src/GridItem.d.ts +1 -1
  647. package/lib/icon/src/Icon.d.ts +2 -2
  648. package/lib/icon-wrapper/src/IconWrapper.d.ts +1 -1
  649. package/lib/image/src/Image.d.ts +8 -2
  650. package/lib/image/src/ImageGroup.d.ts +8 -2
  651. package/lib/image/src/ImageGroup.js +8 -2
  652. package/lib/image/src/ImagePreview.d.ts +8 -3
  653. package/lib/image/src/ImagePreview.js +9 -0
  654. package/lib/image/src/icons.d.ts +1 -0
  655. package/lib/image/src/icons.js +3 -1
  656. package/lib/image/src/interface.d.ts +7 -5
  657. package/lib/image/src/interface.js +1 -1
  658. package/lib/index.d.ts +1 -0
  659. package/lib/index.js +3 -1
  660. package/lib/input/src/Input.d.ts +15 -5
  661. package/lib/input/src/Input.js +30 -8
  662. package/lib/input/src/InputGroup.d.ts +2 -2
  663. package/lib/input/src/InputGroupLabel.d.ts +2 -2
  664. package/lib/input/src/WordCount.d.ts +1 -1
  665. package/lib/input/src/styles/input.cssr.js +1 -0
  666. package/lib/input-number/src/InputNumber.d.ts +3 -2
  667. package/lib/input-number/src/InputNumber.js +2 -1
  668. package/lib/input-number/src/interface.d.ts +1 -0
  669. package/lib/layout/src/Layout.d.ts +4 -4
  670. package/lib/layout/src/LayoutContent.d.ts +2 -2
  671. package/lib/layout/src/LayoutFooter.d.ts +2 -2
  672. package/lib/layout/src/LayoutHeader.d.ts +2 -2
  673. package/lib/layout/src/LayoutSider.d.ts +2 -2
  674. package/lib/layout/src/ToggleBar.d.ts +1 -1
  675. package/lib/layout/src/ToggleButton.d.ts +1 -1
  676. package/lib/legacy-grid/src/Col.d.ts +1 -1
  677. package/lib/legacy-grid/src/Row.d.ts +2 -2
  678. package/lib/legacy-transfer/src/Transfer.d.ts +2 -2
  679. package/lib/legacy-transfer/src/TransferFilter.d.ts +1 -1
  680. package/lib/legacy-transfer/src/TransferHeader.d.ts +1 -1
  681. package/lib/legacy-transfer/src/TransferList.d.ts +1 -1
  682. package/lib/legacy-transfer/src/TransferListItem.d.ts +1 -1
  683. package/lib/list/src/List.d.ts +2 -2
  684. package/lib/list/src/ListItem.d.ts +1 -1
  685. package/lib/loading-bar/src/LoadingBar.d.ts +2 -2
  686. package/lib/loading-bar/src/LoadingBar.js +18 -11
  687. package/lib/loading-bar/src/LoadingBarProvider.d.ts +1 -1
  688. package/lib/locales/common/arDZ.js +1 -0
  689. package/lib/locales/common/deDE.js +1 -0
  690. package/lib/locales/common/enGB.js +1 -0
  691. package/lib/locales/common/enUS.d.ts +1 -0
  692. package/lib/locales/common/enUS.js +1 -0
  693. package/lib/locales/common/eo.js +1 -0
  694. package/lib/locales/common/esAR.js +1 -0
  695. package/lib/locales/common/faIR.js +1 -0
  696. package/lib/locales/common/frFR.js +1 -0
  697. package/lib/locales/common/idID.js +1 -0
  698. package/lib/locales/common/itIT.js +1 -0
  699. package/lib/locales/common/jaJP.js +1 -0
  700. package/lib/locales/common/koKR.js +1 -0
  701. package/lib/locales/common/nbNO.js +1 -0
  702. package/lib/locales/common/nlNL.js +1 -0
  703. package/lib/locales/common/plPL.js +1 -0
  704. package/lib/locales/common/ptBR.js +15 -17
  705. package/lib/locales/common/ruRU.js +1 -0
  706. package/lib/locales/common/skSK.js +1 -0
  707. package/lib/locales/common/svSE.d.ts +3 -0
  708. package/lib/locales/common/svSE.js +123 -0
  709. package/lib/locales/common/thTH.js +1 -0
  710. package/lib/locales/common/trTR.js +1 -0
  711. package/lib/locales/common/ukUA.js +1 -0
  712. package/lib/locales/common/viVN.js +1 -0
  713. package/lib/locales/common/zhCN.js +1 -0
  714. package/lib/locales/common/zhTW.js +18 -17
  715. package/lib/locales/date/svSE.d.ts +3 -0
  716. package/lib/locales/date/svSE.js +11 -0
  717. package/lib/locales/index.d.ts +2 -0
  718. package/lib/locales/index.js +6 -1
  719. package/lib/log/src/Log.d.ts +8 -8
  720. package/lib/log/src/Log.js +12 -12
  721. package/lib/log/src/LogLine.d.ts +1 -1
  722. package/lib/log/src/LogLoader.d.ts +1 -1
  723. package/lib/mention/src/Mention.d.ts +3 -3
  724. package/lib/menu/src/Menu.d.ts +2 -2
  725. package/lib/menu/src/MenuDivider.d.ts +1 -1
  726. package/lib/menu/src/MenuOption.d.ts +1 -1
  727. package/lib/menu/src/MenuOptionContent.d.ts +1 -1
  728. package/lib/menu/src/MenuOptionGroup.d.ts +1 -1
  729. package/lib/menu/src/Submenu.d.ts +1 -1
  730. package/lib/menu/src/context.d.ts +2 -2
  731. package/lib/message/src/Message.d.ts +1 -1
  732. package/lib/message/src/MessageEnvironment.d.ts +1 -1
  733. package/lib/message/src/MessageProvider.d.ts +2 -2
  734. package/lib/modal/src/BodyWrapper.d.ts +2 -2
  735. package/lib/modal/src/Modal.d.ts +2 -2
  736. package/lib/notification/src/Notification.d.ts +1 -1
  737. package/lib/notification/src/NotificationContainer.d.ts +1 -1
  738. package/lib/notification/src/NotificationEnvironment.d.ts +1 -1
  739. package/lib/notification/src/NotificationProvider.d.ts +2 -2
  740. package/lib/number-animation/src/NumberAnimation.d.ts +1 -1
  741. package/lib/page-header/src/PageHeader.d.ts +2 -2
  742. package/lib/pagination/src/Pagination.d.ts +2 -2
  743. package/lib/pagination/src/Pagination.js +3 -1
  744. package/lib/popconfirm/src/Popconfirm.d.ts +4 -3
  745. package/lib/popconfirm/src/Popconfirm.js +13 -5
  746. package/lib/popconfirm/src/PopconfirmPanel.d.ts +1 -1
  747. package/lib/popover/src/Popover.d.ts +1 -1
  748. package/lib/popover/src/Popover.js +3 -4
  749. package/lib/popover/src/PopoverBody.d.ts +1 -1
  750. package/lib/popover/src/interface.d.ts +3 -0
  751. package/lib/popselect/src/Popselect.d.ts +1 -1
  752. package/lib/popselect/src/PopselectPanel.d.ts +2 -2
  753. package/lib/progress/src/Circle.d.ts +1 -1
  754. package/lib/progress/src/Line.d.ts +1 -1
  755. package/lib/progress/src/Line.js +1 -3
  756. package/lib/progress/src/MultipleCircle.d.ts +1 -1
  757. package/lib/progress/src/Progress.d.ts +2 -2
  758. package/lib/radio/src/Radio.d.ts +173 -34
  759. package/lib/radio/src/Radio.js +2 -2
  760. package/lib/radio/src/RadioButton.d.ts +3 -3
  761. package/lib/radio/src/RadioButton.js +2 -2
  762. package/lib/radio/src/RadioGroup.d.ts +2 -2
  763. package/lib/radio/src/use-radio.d.ts +3 -3
  764. package/lib/radio/src/use-radio.js +2 -2
  765. package/lib/rate/src/Rate.d.ts +2 -2
  766. package/lib/result/src/Result.d.ts +2 -2
  767. package/lib/scrollbar/src/Scrollbar.d.ts +1 -1
  768. package/lib/select/src/Select.d.ts +6 -3
  769. package/lib/select/src/Select.js +17 -3
  770. package/lib/select/src/interface.d.ts +2 -0
  771. package/lib/skeleton/src/Skeleton.d.ts +2 -2
  772. package/lib/slider/src/Slider.d.ts +2 -2
  773. package/lib/slider/src/Slider.js +9 -1
  774. package/lib/slider/src/utils.js +3 -1
  775. package/lib/space/src/Space.d.ts +2 -2
  776. package/lib/spin/src/Spin.d.ts +6 -3
  777. package/lib/spin/src/Spin.js +22 -4
  778. package/lib/statistic/src/Statistic.d.ts +2 -2
  779. package/lib/steps/src/Step.d.ts +2 -2
  780. package/lib/steps/src/Steps.d.ts +2 -2
  781. package/lib/steps/src/styles/index.cssr.js +1 -0
  782. package/lib/switch/src/Switch.d.ts +2 -2
  783. package/lib/table/src/Table.d.ts +2 -2
  784. package/lib/table/src/Tbody.d.ts +1 -1
  785. package/lib/table/src/Td.d.ts +1 -1
  786. package/lib/table/src/Th.d.ts +1 -1
  787. package/lib/table/src/Thead.d.ts +1 -1
  788. package/lib/table/src/Tr.d.ts +1 -1
  789. package/lib/tabs/src/Tab.d.ts +1 -1
  790. package/lib/tabs/src/TabPane.d.ts +1 -1
  791. package/lib/tabs/src/Tabs.d.ts +7 -7
  792. package/lib/tabs/src/Tabs.js +13 -0
  793. package/lib/tag/src/Tag.d.ts +2 -2
  794. package/lib/theme-editor/src/MaximizeIcon.d.ts +1 -1
  795. package/lib/theme-editor/src/MinimizeIcon.d.ts +1 -1
  796. package/lib/theme-editor/src/ThemeEditor.d.ts +1 -1
  797. package/lib/thing/src/Thing.d.ts +1 -1
  798. package/lib/time/src/Time.d.ts +1 -1
  799. package/lib/time/src/Time.js +1 -1
  800. package/lib/time-picker/src/Panel.d.ts +1 -1
  801. package/lib/time-picker/src/PanelCol.d.ts +1 -1
  802. package/lib/time-picker/src/PanelCol.js +5 -1
  803. package/lib/time-picker/src/TimePicker.d.ts +2 -2
  804. package/lib/time-picker/src/TimePicker.js +1 -1
  805. package/lib/timeline/src/Timeline.d.ts +1 -1
  806. package/lib/timeline/src/TimelineItem.d.ts +1 -1
  807. package/lib/tooltip/src/Tooltip.d.ts +1 -1
  808. package/lib/transfer/src/Transfer.d.ts +8 -2
  809. package/lib/transfer/src/Transfer.js +2 -2
  810. package/lib/transfer/src/TransferFilter.d.ts +1 -1
  811. package/lib/transfer/src/TransferHeader.d.ts +5 -1
  812. package/lib/transfer/src/TransferHeader.js +6 -2
  813. package/lib/transfer/src/TransferList.d.ts +1 -1
  814. package/lib/transfer/src/TransferListItem.d.ts +1 -1
  815. package/lib/tree/src/MotionWrapper.d.ts +1 -1
  816. package/lib/tree/src/Tree.d.ts +48 -5
  817. package/lib/tree/src/Tree.js +28 -18
  818. package/lib/tree/src/TreeNode.d.ts +6 -2
  819. package/lib/tree/src/TreeNode.js +43 -7
  820. package/lib/tree/src/TreeNodeCheckbox.d.ts +12 -1
  821. package/lib/tree/src/TreeNodeCheckbox.js +9 -8
  822. package/lib/tree/src/TreeNodeContent.d.ts +1 -1
  823. package/lib/tree/src/TreeNodeSwitcher.d.ts +18 -1
  824. package/lib/tree/src/TreeNodeSwitcher.js +12 -6
  825. package/lib/tree/src/interface.d.ts +2 -0
  826. package/lib/tree/src/styles/index.cssr.js +46 -51
  827. package/lib/tree/src/utils.js +1 -0
  828. package/lib/tree/styles/light.d.ts +6 -0
  829. package/lib/tree/styles/light.js +3 -0
  830. package/lib/tree-select/src/TreeSelect.d.ts +44 -5
  831. package/lib/tree-select/src/TreeSelect.js +3 -1
  832. package/lib/tree-select/src/interface.d.ts +2 -0
  833. package/lib/tree-select/styles/light.d.ts +3 -0
  834. package/lib/typography/src/a.d.ts +2 -2
  835. package/lib/typography/src/blockquote.d.ts +2 -2
  836. package/lib/typography/src/create-header.d.ts +2 -2
  837. package/lib/typography/src/headers.d.ts +12 -12
  838. package/lib/typography/src/hr.d.ts +2 -2
  839. package/lib/typography/src/li.d.ts +1 -1
  840. package/lib/typography/src/ol.d.ts +2 -2
  841. package/lib/typography/src/p.d.ts +2 -2
  842. package/lib/typography/src/text.d.ts +2 -2
  843. package/lib/typography/src/ul.d.ts +2 -2
  844. package/lib/upload/src/Upload.d.ts +5 -5
  845. package/lib/upload/src/Upload.js +1 -1
  846. package/lib/upload/src/UploadDragger.d.ts +1 -1
  847. package/lib/upload/src/UploadFile.d.ts +2 -2
  848. package/lib/upload/src/UploadFileList.d.ts +1 -1
  849. package/lib/upload/src/UploadProgress.d.ts +1 -1
  850. package/lib/upload/src/UploadTrigger.d.ts +1 -1
  851. package/lib/upload/src/interface.d.ts +3 -3
  852. package/lib/version.d.ts +1 -1
  853. package/lib/version.js +1 -1
  854. package/lib/watermark/src/Watermark.d.ts +1 -1
  855. package/package.json +64 -64
  856. package/volar.d.ts +1 -0
  857. package/web-types.json +144 -14
@@ -511,5 +511,5 @@ declare const _default: import("vue").DefineComponent<{
511
511
  }>>, {
512
512
  source: boolean;
513
513
  disabled: boolean;
514
- }>;
514
+ }, {}>;
515
515
  export default _default;
@@ -116,7 +116,7 @@ declare const _default: import("vue").DefineComponent<{
116
116
  fontSize: string;
117
117
  }, any>>>;
118
118
  }, {
119
- mergedClsPrefix: import("vue").ComputedRef<string>;
119
+ mergedClsPrefix: Ref<string>;
120
120
  rtlEnabled: Ref<import("../../config-provider/src/internal-interface").RtlItem | undefined> | undefined;
121
121
  cssVars: import("vue").ComputedRef<{
122
122
  '--n-font-size': string;
@@ -195,5 +195,5 @@ declare const _default: import("vue").DefineComponent<{
195
195
  clickable: boolean;
196
196
  hoverable: boolean;
197
197
  showDivider: boolean;
198
- }>;
198
+ }, {}>;
199
199
  export default _default;
@@ -1,5 +1,5 @@
1
1
  declare const _default: import("vue").DefineComponent<{}, {
2
2
  showDivider: import("vue").Ref<boolean>;
3
3
  mergedClsPrefix: import("vue").Ref<string>;
4
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
4
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
5
5
  export default _default;
@@ -10,7 +10,7 @@ declare const _default: import("vue").DefineComponent<{
10
10
  transitionDisabled: import("vue").Ref<boolean>;
11
11
  start: (fromProgress?: number, toProgress?: number, status?: 'starting' | 'error') => Promise<void>;
12
12
  error: () => void;
13
- finish: () => void;
13
+ finish: () => Promise<void>;
14
14
  handleEnter: () => void;
15
15
  handleAfterEnter: () => void;
16
16
  handleAfterLeave: () => Promise<void>;
@@ -24,5 +24,5 @@ declare const _default: import("vue").DefineComponent<{
24
24
  onRender: (() => void) | undefined;
25
25
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
26
26
  containerStyle: PropType<string | CSSProperties>;
27
- }>>, {}>;
27
+ }>>, {}, {}>;
28
28
  export default _default;
@@ -51,9 +51,11 @@ export default defineComponent({
51
51
  }
52
52
  function start(fromProgress = 0, toProgress = 80, status = 'starting') {
53
53
  return __awaiter(this, void 0, void 0, function* () {
54
+ startedRef.value = true;
54
55
  yield init();
56
+ if (finishing)
57
+ return;
55
58
  loadingRef.value = true;
56
- startedRef.value = true;
57
59
  yield nextTick();
58
60
  const el = loadingBarRef.value;
59
61
  if (!el)
@@ -67,16 +69,21 @@ export default defineComponent({
67
69
  });
68
70
  }
69
71
  function finish() {
70
- if (finishing || erroringRef.value || !loadingRef.value)
71
- return;
72
- finishing = true;
73
- const el = loadingBarRef.value;
74
- if (!el)
75
- return;
76
- el.className = createClassName('finishing', mergedClsPrefixRef.value);
77
- el.style.maxWidth = '100%';
78
- void el.offsetWidth;
79
- loadingRef.value = false;
72
+ return __awaiter(this, void 0, void 0, function* () {
73
+ if (finishing || erroringRef.value)
74
+ return;
75
+ if (startedRef.value) {
76
+ yield nextTick();
77
+ }
78
+ finishing = true;
79
+ const el = loadingBarRef.value;
80
+ if (!el)
81
+ return;
82
+ el.className = createClassName('finishing', mergedClsPrefixRef.value);
83
+ el.style.maxWidth = '100%';
84
+ void el.offsetWidth;
85
+ loadingRef.value = false;
86
+ });
80
87
  }
81
88
  function error() {
82
89
  if (finishing || erroringRef.value)
@@ -99,5 +99,5 @@ declare const _default: import("vue").DefineComponent<{
99
99
  }, any>>>;
100
100
  }>>, {
101
101
  to: string | false | HTMLElement;
102
- }>;
102
+ }, {}>;
103
103
  export default _default;
@@ -113,6 +113,7 @@ const arDZ = {
113
113
  tipClockwise: 'إتجاه عقارب الساعة',
114
114
  tipZoomOut: 'تكبير',
115
115
  tipZoomIn: 'تصغير',
116
+ tipDownload: 'للتحميل',
116
117
  tipClose: 'إغلاق (Esc زر)',
117
118
  tipOriginalSize: 'تكبير إلى الحجم الأصلي'
118
119
  }
@@ -113,6 +113,7 @@ const deDE = {
113
113
  tipClockwise: 'Uhrzeigersinn',
114
114
  tipZoomOut: 'Rauszoomen',
115
115
  tipZoomIn: 'Reinzoomen',
116
+ tipDownload: 'Download',
116
117
  tipClose: 'Schließen (Esc)',
117
118
  tipOriginalSize: 'Zoom zurücksetzen'
118
119
  }
@@ -113,6 +113,7 @@ const enGB = {
113
113
  tipClockwise: 'Clockwise',
114
114
  tipZoomOut: 'Zoom out',
115
115
  tipZoomIn: 'Zoom in',
116
+ tipDownload: 'Download',
116
117
  tipClose: 'Close (Esc)',
117
118
  // TODO: translation
118
119
  tipOriginalSize: 'Zoom to original size'
@@ -113,6 +113,7 @@ declare const enUS: {
113
113
  tipClockwise: string;
114
114
  tipZoomOut: string;
115
115
  tipZoomIn: string;
116
+ tipDownload: string;
116
117
  tipClose: string;
117
118
  tipOriginalSize: string;
118
119
  };
@@ -113,6 +113,7 @@ const enUS = {
113
113
  tipClockwise: 'Clockwise',
114
114
  tipZoomOut: 'Zoom out',
115
115
  tipZoomIn: 'Zoom in',
116
+ tipDownload: 'Download',
116
117
  tipClose: 'Close (Esc)',
117
118
  // TODO: translation
118
119
  tipOriginalSize: 'Zoom to original size'
@@ -115,6 +115,7 @@ const eo = {
115
115
  tipClockwise: 'Dekstrume',
116
116
  tipZoomOut: 'Malzomi',
117
117
  tipZoomIn: 'Zomi',
118
+ tipDownload: 'Elŝuti',
118
119
  tipClose: 'Fermi (Esc)',
119
120
  tipOriginalSize: 'Zoom to original size'
120
121
  }
@@ -116,6 +116,7 @@ const esAR = {
116
116
  tipClockwise: 'Sentido horario',
117
117
  tipZoomOut: 'Alejar',
118
118
  tipZoomIn: 'Acercar',
119
+ tipDownload: 'Descargar',
119
120
  tipClose: 'Cerrar (Esc)',
120
121
  // TODO: translation
121
122
  tipOriginalSize: 'Zoom to original size'
@@ -113,6 +113,7 @@ const faIR = {
113
113
  tipClockwise: 'چرخش به سمت راست',
114
114
  tipZoomOut: 'کوچک نمایی تصویر',
115
115
  tipZoomIn: 'بزرگ نمایی تصویر',
116
+ tipDownload: 'بارگیری',
116
117
  tipClose: 'بستن (Esc)',
117
118
  tipOriginalSize: 'اندازه اصلی تصویر'
118
119
  }
@@ -113,6 +113,7 @@ const frFR = {
113
113
  tipClockwise: 'Sens horaire',
114
114
  tipZoomOut: 'Dézoomer',
115
115
  tipZoomIn: 'Zoomer',
116
+ tipDownload: 'Descargar',
116
117
  tipClose: 'Fermer (Échap.)',
117
118
  tipOriginalSize: 'Zoom à la taille originale'
118
119
  }
@@ -116,6 +116,7 @@ const idID = {
116
116
  tipClockwise: 'Searah jarum jam',
117
117
  tipZoomOut: 'Zoom out',
118
118
  tipZoomIn: 'Zoom in',
119
+ tipDownload: 'Download',
119
120
  tipClose: 'Tutup (Esc)',
120
121
  // TODO: translation
121
122
  tipOriginalSize: 'Zoom ke ukuran asli'
@@ -115,6 +115,7 @@ const itIT = {
115
115
  tipClockwise: 'Ruota a destra',
116
116
  tipZoomOut: 'Ingrandisci',
117
117
  tipZoomIn: 'Riduci',
118
+ tipDownload: 'Download',
118
119
  tipClose: 'Chiudi (Esc)',
119
120
  // TODO: translation
120
121
  tipOriginalSize: 'Zoom to original size'
@@ -115,6 +115,7 @@ const jaJP = {
115
115
  tipClockwise: '右に回転',
116
116
  tipZoomOut: '縮小',
117
117
  tipZoomIn: '拡大',
118
+ tipDownload: 'ダウンロード',
118
119
  tipClose: '閉じる (Esc)',
119
120
  // TODO: translation
120
121
  tipOriginalSize: 'Zoom to original size'
@@ -115,6 +115,7 @@ const koKR = {
115
115
  tipClockwise: '시계 방향으로 회전',
116
116
  tipZoomOut: '축소',
117
117
  tipZoomIn: '확대',
118
+ tipDownload: '다운로드',
118
119
  tipClose: '닫기 (Esc)',
119
120
  // TODO: translation
120
121
  tipOriginalSize: '원본 크기로 확대'
@@ -116,6 +116,7 @@ const nbNO = {
116
116
  tipClockwise: 'Clockwise',
117
117
  tipZoomOut: 'Zoom out',
118
118
  tipZoomIn: 'Zoom in',
119
+ tipDownload: 'Download',
119
120
  tipClose: 'Close (Esc)',
120
121
  // TODO: translation
121
122
  tipOriginalSize: 'Zoom to original size'
@@ -114,6 +114,7 @@ const nlNL = {
114
114
  tipClockwise: 'Met de klok mee',
115
115
  tipZoomOut: 'Uitzoomen',
116
116
  tipZoomIn: 'Inzoomen',
117
+ tipDownload: 'Download',
117
118
  tipClose: 'Sluiten (Esc)',
118
119
  // TODO: translation
119
120
  tipOriginalSize: 'Zoom to original size'
@@ -115,6 +115,7 @@ const plPL = {
115
115
  tipClockwise: 'Zgodnie z ruchem wskazówek zegara',
116
116
  tipZoomOut: 'Powiększ',
117
117
  tipZoomIn: 'Pomniejsz',
118
+ tipDownload: 'Pobierz',
118
119
  tipClose: 'Zamknij (Esc)',
119
120
  // TODO: translation
120
121
  tipOriginalSize: 'Zoom to original size'
@@ -31,20 +31,19 @@ const ptBR = {
31
31
  clear: 'Limpar',
32
32
  now: 'Agora',
33
33
  confirm: 'Confirmar',
34
- selectTime: 'Selecionar hora',
34
+ selectTime: 'Selecione a hora',
35
35
  selectDate: 'Selecione a data',
36
36
  datePlaceholder: 'Selecione a data',
37
- datetimePlaceholder: 'Selecione Data e Hora',
37
+ datetimePlaceholder: 'Selecione a data e hora',
38
38
  monthPlaceholder: 'Selecione o mês',
39
39
  yearPlaceholder: 'Selecione o ano',
40
- quarterPlaceholder: 'Selecione o quatrimestre',
40
+ quarterPlaceholder: 'Selecione o trimestre',
41
41
  startDatePlaceholder: 'Selecione a data de início',
42
42
  endDatePlaceholder: 'Selecione a data de término',
43
43
  startDatetimePlaceholder: 'Selecione a data e hora de início',
44
- endDatetimePlaceholder: 'Select a data e hora de término',
45
- // FIXME: translation needed
46
- startMonthPlaceholder: 'Start Month',
47
- endMonthPlaceholder: 'End Month',
44
+ endDatetimePlaceholder: 'Selecione a data e hora de término',
45
+ startMonthPlaceholder: 'Selecione o mês de início',
46
+ endMonthPlaceholder: 'Selecione o mês de término',
48
47
  monthBeforeYear: true,
49
48
  firstDayOfWeek: 6,
50
49
  today: 'Hoje'
@@ -56,16 +55,15 @@ const ptBR = {
56
55
  clear: 'Limpar'
57
56
  },
58
57
  LegacyTransfer: {
59
- sourceTitle: 'Fonte',
58
+ sourceTitle: 'Origem',
60
59
  targetTitle: 'Destino'
61
60
  },
62
- // TODO: translation
63
61
  Transfer: {
64
- selectAll: 'Select all',
65
- unselectAll: 'Unselect all',
66
- clearAll: 'Clear',
67
- total: (num) => `Total ${num} items`,
68
- selected: (num) => `${num} items selected`
62
+ selectAll: 'Selecionar todos',
63
+ unselectAll: 'Desmarcar todos',
64
+ clearAll: 'Limpar',
65
+ total: (num) => `Total ${num} itens`,
66
+ selected: (num) => `${num} itens selecionados`
69
67
  },
70
68
  Empty: {
71
69
  description: 'Não há dados'
@@ -114,10 +112,10 @@ const ptBR = {
114
112
  tipCounterclockwise: 'Sentido anti-horário',
115
113
  tipClockwise: 'Sentido horário',
116
114
  tipZoomOut: 'Reduzir o zoom',
117
- tipZoomIn: 'Mais Zoom',
115
+ tipZoomIn: 'Aumentar o zoom',
116
+ tipDownload: 'Download',
118
117
  tipClose: 'Fechar (Esc)',
119
- // TODO: translation
120
- tipOriginalSize: 'Zoom to original size'
118
+ tipOriginalSize: 'Exibir no tamanho original'
121
119
  }
122
120
  };
123
121
  export default ptBR;
@@ -117,6 +117,7 @@ const ruRu = {
117
117
  tipClockwise: 'Clockwise',
118
118
  tipZoomOut: 'Zoom out',
119
119
  tipZoomIn: 'Zoom in',
120
+ tipDownload: 'Download',
120
121
  tipClose: 'Close (Esc)',
121
122
  // TODO: translation
122
123
  tipOriginalSize: 'Zoom to original size'
@@ -116,6 +116,7 @@ const skSK = {
116
116
  tipClockwise: 'V smere hodinových ručičiek',
117
117
  tipZoomOut: 'Oddialiť',
118
118
  tipZoomIn: 'Priblížiť',
119
+ tipDownload: 'Sťahovať',
119
120
  tipClose: 'Zavrieť (Esc)',
120
121
  // TODO: translation
121
122
  tipOriginalSize: 'Zoom to original size'
@@ -0,0 +1,3 @@
1
+ import type { NLocale } from './enUS';
2
+ declare const svSE: NLocale;
3
+ export default svSE;
@@ -0,0 +1,121 @@
1
+ const svSE = {
2
+ name: 'sv-SE',
3
+ global: {
4
+ undo: 'Ångra',
5
+ redo: 'Gör om',
6
+ confirm: 'Bekräfta',
7
+ clear: 'Rensa'
8
+ },
9
+ Popconfirm: {
10
+ positiveText: 'Bekräfta',
11
+ negativeText: 'Avbryt'
12
+ },
13
+ Cascader: {
14
+ placeholder: 'Vänligen välj',
15
+ loading: 'Laddar',
16
+ loadingRequiredMessage: (label) => `Vänligen ladda alla underpunkter till ${label} innan du väljer punkten.`
17
+ },
18
+ Time: {
19
+ dateFormat: 'yyyy-MM-dd',
20
+ dateTimeFormat: 'yyyy-MM-dd HH:mm:ss'
21
+ },
22
+ DatePicker: {
23
+ yearFormat: 'yyyy',
24
+ monthFormat: 'MMM',
25
+ dayFormat: 'eeeeee',
26
+ yearTypeFormat: 'yyyy',
27
+ monthTypeFormat: 'yyyy-MM',
28
+ dateFormat: 'yyyy-MM-dd',
29
+ dateTimeFormat: 'yyyy-MM-dd HH:mm:ss',
30
+ quarterFormat: 'yyyy-qqq',
31
+ clear: 'Rensa',
32
+ now: 'Nu',
33
+ confirm: 'Bekräfta',
34
+ selectTime: 'Välj tid',
35
+ selectDate: 'Välj datum',
36
+ datePlaceholder: 'Välj datum',
37
+ datetimePlaceholder: 'Välj datum och tid',
38
+ monthPlaceholder: 'Välj månad',
39
+ yearPlaceholder: 'Välj år',
40
+ quarterPlaceholder: 'Välj kvartal',
41
+ startDatePlaceholder: 'Startdatum',
42
+ endDatePlaceholder: 'Slutdatum',
43
+ startDatetimePlaceholder: 'Startdatum och -tid',
44
+ endDatetimePlaceholder: 'Slutdatum och -tid',
45
+ startMonthPlaceholder: 'Startmånad',
46
+ endMonthPlaceholder: 'Slutmånad',
47
+ monthBeforeYear: true,
48
+ firstDayOfWeek: 0,
49
+ today: 'I dag'
50
+ },
51
+ DataTable: {
52
+ checkTableAll: 'Välj allt',
53
+ uncheckTableAll: 'Välj inget',
54
+ confirm: 'Bekräfta',
55
+ clear: 'Rensa'
56
+ },
57
+ LegacyTransfer: {
58
+ sourceTitle: 'Källa',
59
+ targetTitle: 'Mål'
60
+ },
61
+ Transfer: {
62
+ selectAll: 'Välj allt',
63
+ unselectAll: 'Välj inget',
64
+ clearAll: 'Rensa',
65
+ total: (num) => `Totalt ${num} rader`,
66
+ selected: (num) => `${num} rader valda`
67
+ },
68
+ Empty: {
69
+ description: 'Ingen data'
70
+ },
71
+ Select: {
72
+ placeholder: 'Vänligen välj'
73
+ },
74
+ TimePicker: {
75
+ placeholder: 'Välj tid',
76
+ positiveText: 'OK',
77
+ negativeText: 'Avbryt',
78
+ now: 'Nu'
79
+ },
80
+ Pagination: {
81
+ goto: 'Gå till',
82
+ selectionSuffix: 'sida'
83
+ },
84
+ DynamicTags: {
85
+ add: 'Lägg till'
86
+ },
87
+ Log: {
88
+ loading: 'Laddar'
89
+ },
90
+ Input: {
91
+ placeholder: 'Vänligen fyll i'
92
+ },
93
+ InputNumber: {
94
+ placeholder: 'Vänligen fyll i'
95
+ },
96
+ DynamicInput: {
97
+ create: 'Skapa'
98
+ },
99
+ ThemeEditor: {
100
+ title: 'Temaverktyg',
101
+ clearAllVars: 'Nollställ alla variabler',
102
+ clearSearch: 'Rensa sökning',
103
+ filterCompName: 'Filtrera efter komponentnamn',
104
+ filterVarName: 'Filtrera efter variabelnamn',
105
+ import: 'Importera',
106
+ export: 'Exportera',
107
+ restore: 'Nollställ till ursprungsval'
108
+ },
109
+ Image: {
110
+ tipPrevious: 'Förgående bild (←)',
111
+ tipNext: 'Nästa bild (→)',
112
+ tipCounterclockwise: 'Moturs',
113
+ tipClockwise: 'Medurs',
114
+ tipZoomOut: 'Zooma in',
115
+ tipZoomIn: 'Zooma ut',
116
+ tipDownload: 'Ladda ned',
117
+ tipClose: 'Stäng (Esc)',
118
+ tipOriginalSize: 'Zooma till ursprunglig storlek'
119
+ }
120
+ };
121
+ export default svSE;
@@ -116,6 +116,7 @@ const thTH = {
116
116
  tipClockwise: 'หมุน (↻)',
117
117
  tipZoomOut: 'ซูมออก',
118
118
  tipZoomIn: 'ซูมเข้า',
119
+ tipDownload: 'ดาวน์โหลด',
119
120
  tipClose: 'ปิด (Esc)',
120
121
  // TODO: translation
121
122
  tipOriginalSize: 'Zoom to original size'
@@ -113,6 +113,7 @@ const trTR = {
113
113
  tipClockwise: 'saat yönününe',
114
114
  tipZoomOut: 'Uzaklaştır',
115
115
  tipZoomIn: 'Yakınlaştır',
116
+ tipDownload: 'indir',
116
117
  tipClose: 'Kapat (Esc)',
117
118
  // TODO: translation
118
119
  tipOriginalSize: 'Orijinal boyuta yakınlaştır'
@@ -114,6 +114,7 @@ const ukUA = {
114
114
  tipClockwise: 'За годинниковою стрілкою',
115
115
  tipZoomOut: 'Віддалити',
116
116
  tipZoomIn: 'Наблизити',
117
+ tipDownload: 'звантажити',
117
118
  tipClose: 'Закрити (Esc)',
118
119
  tipOriginalSize: 'Масштабувати до оригінального розміру'
119
120
  }
@@ -113,6 +113,7 @@ const viVN = {
113
113
  tipClockwise: 'Chiều kim đồng hồ',
114
114
  tipZoomOut: 'Thu nhỏ',
115
115
  tipZoomIn: 'Phóng to',
116
+ tipDownload: 'Tải về',
116
117
  tipClose: 'Đóng (Esc)',
117
118
  tipOriginalSize: 'Xem kích thước gốc'
118
119
  }
@@ -113,6 +113,7 @@ const zhCN = {
113
113
  tipClockwise: '向右旋转',
114
114
  tipZoomOut: '缩小',
115
115
  tipZoomIn: '放大',
116
+ tipDownload: '下载',
116
117
  tipClose: '关闭(Esc)',
117
118
  tipOriginalSize: '缩放到原始尺寸'
118
119
  }
@@ -1,26 +1,26 @@
1
1
  const zhTW = {
2
2
  name: 'zh-TW',
3
3
  global: {
4
- undo: '撤銷',
4
+ undo: '復原',
5
5
  redo: '重做',
6
- confirm: '確認',
6
+ confirm: '確定',
7
7
  clear: '清除'
8
8
  },
9
9
  Popconfirm: {
10
- positiveText: '確認',
10
+ positiveText: '確定',
11
11
  negativeText: '取消'
12
12
  },
13
13
  Cascader: {
14
14
  placeholder: '請選擇',
15
15
  loading: '載入中',
16
- loadingRequiredMessage: (label) => `載入全部 ${label} 的子節點後才可選中`
16
+ loadingRequiredMessage: (label) => `載入全部 ${label} 的子節點後才可選擇`
17
17
  },
18
18
  Time: {
19
19
  dateFormat: 'yyyy-MM-dd',
20
20
  dateTimeFormat: 'yyyy-MM-dd HH:mm:ss'
21
21
  },
22
22
  DatePicker: {
23
- yearFormat: 'yyyy年',
23
+ yearFormat: 'yyyy 年',
24
24
  monthFormat: 'MMM',
25
25
  dayFormat: 'eeeeee',
26
26
  yearTypeFormat: 'yyyy',
@@ -29,8 +29,8 @@ const zhTW = {
29
29
  dateTimeFormat: 'yyyy-MM-dd HH:mm:ss',
30
30
  quarterFormat: 'yyyy-qqq',
31
31
  clear: '清除',
32
- now: '此刻',
33
- confirm: '確認',
32
+ now: '現在',
33
+ confirm: '確定',
34
34
  selectTime: '選擇時間',
35
35
  selectDate: '選擇日期',
36
36
  datePlaceholder: '選擇日期',
@@ -51,17 +51,17 @@ const zhTW = {
51
51
  DataTable: {
52
52
  checkTableAll: '選擇全部表格資料',
53
53
  uncheckTableAll: '取消選擇全部表格資料',
54
- confirm: '確認',
55
- clear: '重置'
54
+ confirm: '確定',
55
+ clear: '重設'
56
56
  },
57
57
  LegacyTransfer: {
58
- sourceTitle: '源項',
59
- targetTitle: '目標項'
58
+ sourceTitle: '來源',
59
+ targetTitle: '目標'
60
60
  },
61
61
  Transfer: {
62
62
  selectAll: '全選',
63
63
  unselectAll: '取消全選',
64
- clearAll: '清除',
64
+ clearAll: '清除全部',
65
65
  total: (num) => `共 ${num} 項`,
66
66
  selected: (num) => `已選 ${num} 項`
67
67
  },
@@ -73,9 +73,9 @@ const zhTW = {
73
73
  },
74
74
  TimePicker: {
75
75
  placeholder: '請選擇時間',
76
- positiveText: '確認',
76
+ positiveText: '確定',
77
77
  negativeText: '取消',
78
- now: '此刻'
78
+ now: '現在'
79
79
  },
80
80
  Pagination: {
81
81
  goto: '跳至',
@@ -100,9 +100,9 @@ const zhTW = {
100
100
  title: '主題編輯器',
101
101
  clearAllVars: '清除全部變數',
102
102
  clearSearch: '清除搜尋',
103
- filterCompName: '過濾組件名',
104
- filterVarName: '過濾變數名',
105
- import: '導入',
103
+ filterCompName: '過濾組件名稱',
104
+ filterVarName: '過濾變數名稱',
105
+ import: '匯入',
106
106
  export: '匯出',
107
107
  restore: '恢復預設'
108
108
  },
@@ -113,6 +113,7 @@ const zhTW = {
113
113
  tipClockwise: '向右旋轉',
114
114
  tipZoomOut: '縮小',
115
115
  tipZoomIn: '放大',
116
+ tipDownload: '下載',
116
117
  tipClose: '關閉(Esc)',
117
118
  tipOriginalSize: '縮放到原始尺寸'
118
119
  }
@@ -0,0 +1,3 @@
1
+ import { type NDateLocale } from './enUS';
2
+ declare const dateSvSE: NDateLocale;
3
+ export default dateSvSE;
@@ -0,0 +1,6 @@
1
+ import sv from 'date-fns/esm/locale/sv';
2
+ const dateSvSE = {
3
+ name: 'sv-SE',
4
+ locale: sv
5
+ };
6
+ export default dateSvSE;
@@ -22,6 +22,7 @@ export { default as trTR } from './common/trTR';
22
22
  export { default as eo } from './common/eo';
23
23
  export { default as viVN } from './common/viVN';
24
24
  export { default as faIR } from './common/faIR';
25
+ export { default as svSE } from './common/svSE';
25
26
  export { default as dateZhCN } from './date/zhCN';
26
27
  export { default as dateZhTW } from './date/zhTW';
27
28
  export { default as dateEnUS } from './date/enUS';
@@ -46,6 +47,7 @@ export { default as dateTrTR } from './date/trTR';
46
47
  export { default as dateEo } from './date/eo';
47
48
  export { default as dateViVN } from './date/viVN';
48
49
  export { default as dateFaIR } from './date/faIR';
50
+ export { default as dateSvSE } from './date/svSE';
49
51
  export type { NLocale } from './common/enUS';
50
52
  export type { NDateLocale } from './date/enUS';
51
53
  export type { NPartialLocale } from './utils/index';
@@ -22,6 +22,7 @@ export { default as trTR } from './common/trTR';
22
22
  export { default as eo } from './common/eo';
23
23
  export { default as viVN } from './common/viVN';
24
24
  export { default as faIR } from './common/faIR';
25
+ export { default as svSE } from './common/svSE';
25
26
  export { default as dateZhCN } from './date/zhCN';
26
27
  export { default as dateZhTW } from './date/zhTW';
27
28
  export { default as dateEnUS } from './date/enUS';
@@ -46,4 +47,5 @@ export { default as dateTrTR } from './date/trTR';
46
47
  export { default as dateEo } from './date/eo';
47
48
  export { default as dateViVN } from './date/viVN';
48
49
  export { default as dateFaIR } from './date/faIR';
50
+ export { default as dateSvSE } from './date/svSE';
49
51
  export { createLocale } from './utils/index';