naive-ui 2.24.0 → 2.24.4

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 (921) hide show
  1. package/es/_internal/clear/src/Clear.d.ts +8 -10
  2. package/es/_internal/close/src/Close.d.ts +11 -10
  3. package/es/_internal/fade-in-expand-transition/src/FadeInExpandTransition.d.ts +10 -20
  4. package/es/_internal/focus-detector/src/FocusDetector.d.ts +4 -7
  5. package/es/_internal/icon/src/Icon.d.ts +19 -20
  6. package/es/_internal/icon-switch-transition/src/IconSwitchTransition.d.ts +1 -1
  7. package/es/_internal/icons/Add.d.ts +1 -1
  8. package/es/_internal/icons/ArrowBack.d.ts +1 -1
  9. package/es/_internal/icons/ArrowDown.d.ts +1 -1
  10. package/es/_internal/icons/Attach.d.ts +1 -1
  11. package/es/_internal/icons/Backward.d.ts +1 -1
  12. package/es/_internal/icons/Cancel.d.ts +1 -1
  13. package/es/_internal/icons/Checkmark.d.ts +1 -1
  14. package/es/_internal/icons/ChevronDown.d.ts +1 -1
  15. package/es/_internal/icons/ChevronDownFilled.d.ts +1 -1
  16. package/es/_internal/icons/ChevronLeft.d.ts +1 -1
  17. package/es/_internal/icons/ChevronRight.d.ts +1 -1
  18. package/es/_internal/icons/Clear.d.ts +1 -1
  19. package/es/_internal/icons/Close.d.ts +1 -1
  20. package/es/_internal/icons/Date.d.ts +1 -1
  21. package/es/_internal/icons/Download.d.ts +1 -1
  22. package/es/_internal/icons/Empty.d.ts +1 -1
  23. package/es/_internal/icons/Error.d.ts +1 -1
  24. package/es/_internal/icons/Eye.d.ts +1 -1
  25. package/es/_internal/icons/EyeOff.d.ts +1 -1
  26. package/es/_internal/icons/FastBackward.d.ts +1 -1
  27. package/es/_internal/icons/FastForward.d.ts +1 -1
  28. package/es/_internal/icons/File.d.ts +1 -1
  29. package/es/_internal/icons/Filter.d.ts +1 -1
  30. package/es/_internal/icons/Forward.d.ts +1 -1
  31. package/es/_internal/icons/Info.d.ts +1 -1
  32. package/es/_internal/icons/More.d.ts +1 -1
  33. package/es/_internal/icons/Photo.d.ts +1 -1
  34. package/es/_internal/icons/Remove.d.ts +1 -1
  35. package/es/_internal/icons/Retry.d.ts +1 -1
  36. package/es/_internal/icons/RotateClockwise.d.ts +1 -1
  37. package/es/_internal/icons/RotateCounterclockwise.d.ts +1 -1
  38. package/es/_internal/icons/Search.d.ts +1 -1
  39. package/es/_internal/icons/Success.d.ts +1 -1
  40. package/es/_internal/icons/Switcher.d.ts +1 -1
  41. package/es/_internal/icons/Time.d.ts +1 -1
  42. package/es/_internal/icons/To.d.ts +1 -1
  43. package/es/_internal/icons/Trash.d.ts +1 -1
  44. package/es/_internal/icons/Warning.d.ts +1 -1
  45. package/es/_internal/icons/ZoomIn.d.ts +1 -1
  46. package/es/_internal/icons/ZoomOut.d.ts +1 -1
  47. package/es/_internal/icons/replaceable.d.ts +1 -1
  48. package/es/_internal/loading/src/Loading.d.ts +26 -16
  49. package/es/_internal/menu-mask/src/MenuMask.d.ts +6 -5
  50. package/es/_internal/scrollbar/src/ScrollBar.d.ts +54 -58
  51. package/es/_internal/scrollbar/src/ScrollBar.js +90 -68
  52. package/es/_internal/select-menu/src/SelectGroupHeader.d.ts +10 -7
  53. package/es/_internal/select-menu/src/SelectMenu.d.ts +67 -63
  54. package/es/_internal/select-menu/src/SelectMenu.js +22 -21
  55. package/es/_internal/select-menu/src/SelectOption.d.ts +10 -7
  56. package/es/_internal/select-menu/src/interface.d.ts +3 -3
  57. package/es/_internal/select-menu/src/interface.js +3 -2
  58. package/es/_internal/selection/src/Selection.d.ts +67 -69
  59. package/es/_internal/selection/src/Selection.js +25 -8
  60. package/es/_internal/selection/src/styles/index.cssr.js +2 -1
  61. package/es/_internal/selection/styles/_common.d.ts +1 -0
  62. package/es/_internal/selection/styles/_common.js +1 -0
  63. package/es/_internal/selection/styles/light.d.ts +2 -0
  64. package/es/_internal/slot-machine/src/SlotMachine.d.ts +18 -12
  65. package/es/_internal/slot-machine/src/SlotMachineNumber.d.ts +18 -12
  66. package/es/_internal/suffix/src/Suffix.d.ts +19 -14
  67. package/es/_internal/suffix/src/Suffix.js +7 -2
  68. package/es/_internal/wave/src/Wave.d.ts +6 -5
  69. package/es/_mixins/use-form-item.d.ts +2 -2
  70. package/es/_mixins/use-form-item.js +2 -1
  71. package/es/_mixins/use-locale.d.ts +1 -1
  72. package/es/_mixins/use-locale.js +1 -1
  73. package/es/_utils/index.d.ts +1 -1
  74. package/es/_utils/index.js +1 -1
  75. package/es/_utils/vue/create-injection-key.d.ts +2 -0
  76. package/es/_utils/vue/create-injection-key.js +3 -0
  77. package/es/_utils/vue/index.d.ts +2 -0
  78. package/es/_utils/vue/index.js +2 -0
  79. package/es/_utils/vue/resolve-slot.d.ts +2 -0
  80. package/es/_utils/vue/resolve-slot.js +20 -0
  81. package/es/affix/src/Affix.d.ts +26 -22
  82. package/es/alert/src/Alert.d.ts +34 -27
  83. package/es/alert/src/Alert.js +2 -4
  84. package/es/anchor/src/AnchorAdapter.d.ts +52 -47
  85. package/es/anchor/src/BaseAnchor.d.ts +25 -20
  86. package/es/anchor/src/Link.d.ts +6 -9
  87. package/es/anchor/src/Link.js +6 -5
  88. package/es/auto-complete/src/AutoComplete.d.ts +52 -59
  89. package/es/avatar/src/Avatar.d.ts +27 -30
  90. package/es/avatar/src/AvatarGroup.d.ts +13 -17
  91. package/es/avatar/src/AvatarGroup.js +5 -2
  92. package/es/back-top/src/BackTop.d.ts +48 -33
  93. package/es/back-top/src/BackTop.js +2 -4
  94. package/es/badge/src/Badge.d.ts +31 -29
  95. package/es/badge/src/Badge.js +6 -5
  96. package/es/breadcrumb/src/Breadcrumb.d.ts +15 -18
  97. package/es/breadcrumb/src/Breadcrumb.js +2 -1
  98. package/es/breadcrumb/src/BreadcrumbItem.d.ts +4 -7
  99. package/es/button/src/Button.d.ts +53 -61
  100. package/es/button/src/Button.js +5 -2
  101. package/es/button/src/ButtonGroup.d.ts +10 -11
  102. package/es/button/src/ButtonGroup.js +2 -1
  103. package/es/calendar/src/Calendar.d.ts +21 -26
  104. package/es/calendar/src/Calendar.js +15 -2
  105. package/es/card/src/Card.d.ts +32 -37
  106. package/es/card/src/Card.js +6 -6
  107. package/es/carousel/src/Carousel.d.ts +74 -64
  108. package/es/carousel/src/Carousel.js +42 -45
  109. package/es/carousel/src/CarouselArrow.d.ts +1 -1
  110. package/es/carousel/src/CarouselDots.d.ts +19 -13
  111. package/es/carousel/src/CarouselItem.d.ts +2 -2
  112. package/es/carousel/src/CarouselItem.js +7 -4
  113. package/es/carousel/src/interface.d.ts +10 -3
  114. package/es/carousel/src/interface.js +2 -1
  115. package/es/carousel/src/styles/index.cssr.js +2 -2
  116. package/es/cascader/index.d.ts +1 -1
  117. package/es/cascader/src/Cascader.d.ts +105 -84
  118. package/es/cascader/src/Cascader.js +14 -26
  119. package/es/cascader/src/CascaderMenu.d.ts +34 -24
  120. package/es/cascader/src/CascaderMenu.js +2 -4
  121. package/es/cascader/src/CascaderOption.d.ts +7 -5
  122. package/es/cascader/src/CascaderSelectMenu.d.ts +26 -20
  123. package/es/cascader/src/CascaderSubmenu.d.ts +16 -9
  124. package/es/cascader/src/interface.d.ts +6 -2
  125. package/es/cascader/src/interface.js +2 -1
  126. package/es/cascader/styles/light.d.ts +1 -0
  127. package/es/checkbox/index.d.ts +1 -0
  128. package/es/checkbox/src/Checkbox.d.ts +43 -43
  129. package/es/checkbox/src/Checkbox.js +17 -5
  130. package/es/checkbox/src/CheckboxGroup.d.ts +23 -24
  131. package/es/checkbox/src/CheckboxGroup.js +2 -2
  132. package/es/checkbox/src/interface.d.ts +4 -0
  133. package/es/code/src/Code.d.ts +24 -32
  134. package/es/code/src/styles/index.cssr.js +4 -1
  135. package/es/collapse/src/Collapse.d.ts +35 -33
  136. package/es/collapse/src/Collapse.js +2 -2
  137. package/es/collapse/src/CollapseItem.d.ts +5 -9
  138. package/es/collapse/src/CollapseItem.js +8 -15
  139. package/es/collapse/src/CollapseItemContent.d.ts +11 -9
  140. package/es/collapse-transition/src/CollapseTransition.d.ts +18 -19
  141. package/es/color-picker/src/AlphaSlider.d.ts +19 -14
  142. package/es/color-picker/src/ColorInput.d.ts +34 -19
  143. package/es/color-picker/src/ColorInputUnit.d.ts +15 -11
  144. package/es/color-picker/src/ColorPicker.d.ts +46 -51
  145. package/es/color-picker/src/ColorPicker.js +3 -5
  146. package/es/color-picker/src/ColorPickerSwatches.d.ts +18 -11
  147. package/es/color-picker/src/ColorPickerTrigger.d.ts +15 -12
  148. package/es/color-picker/src/ColorPreview.d.ts +19 -11
  149. package/es/color-picker/src/HueSlider.d.ts +15 -12
  150. package/es/color-picker/src/Pallete.d.ts +23 -16
  151. package/es/composables/use-theme-vars.d.ts +2 -1
  152. package/es/config-provider/src/ConfigProvider.d.ts +30 -37
  153. package/es/config-provider/src/ConfigProvider.js +6 -5
  154. package/es/config-provider/src/interface.d.ts +4 -1
  155. package/es/countdown/src/Countdown.d.ts +18 -17
  156. package/es/data-table/index.d.ts +1 -1
  157. package/es/data-table/src/DataTable.d.ts +104 -104
  158. package/es/data-table/src/HeaderButton/FilterButton.d.ts +12 -7
  159. package/es/data-table/src/HeaderButton/FilterMenu.d.ts +36 -19
  160. package/es/data-table/src/HeaderButton/RenderFilter.d.ts +14 -9
  161. package/es/data-table/src/HeaderButton/RenderSorter.d.ts +10 -7
  162. package/es/data-table/src/HeaderButton/SortButton.d.ts +6 -5
  163. package/es/data-table/src/HeaderButton/SortButton.js +6 -6
  164. package/es/data-table/src/MainTable.d.ts +1 -1
  165. package/es/data-table/src/TableParts/Body.d.ts +13 -14
  166. package/es/data-table/src/TableParts/Body.js +2 -4
  167. package/es/data-table/src/TableParts/BodyCheckbox.d.ts +14 -9
  168. package/es/data-table/src/TableParts/Cell.d.ts +865 -855
  169. package/es/data-table/src/TableParts/ExpandTrigger.d.ts +11 -9
  170. package/es/data-table/src/TableParts/Header.d.ts +8 -5
  171. package/es/data-table/src/TableParts/SelectionMenu.d.ts +6 -5
  172. package/es/data-table/src/interface.d.ts +9 -6
  173. package/es/data-table/src/interface.js +2 -1
  174. package/es/data-table/src/styles/index.cssr.js +7 -7
  175. package/es/data-table/styles/light.d.ts +1 -0
  176. package/es/date-picker/index.d.ts +1 -0
  177. package/es/date-picker/src/DatePicker.d.ts +72 -93
  178. package/es/date-picker/src/DatePicker.js +18 -63
  179. package/es/date-picker/src/interface.d.ts +6 -3
  180. package/es/date-picker/src/interface.js +2 -1
  181. package/es/date-picker/src/panel/date.d.ts +77 -34
  182. package/es/date-picker/src/panel/date.js +6 -7
  183. package/es/date-picker/src/panel/daterange.d.ts +31 -26
  184. package/es/date-picker/src/panel/daterange.js +6 -9
  185. package/es/date-picker/src/panel/datetime.d.ts +41 -30
  186. package/es/date-picker/src/panel/datetime.js +4 -5
  187. package/es/date-picker/src/panel/datetimerange.d.ts +31 -26
  188. package/es/date-picker/src/panel/datetimerange.js +5 -8
  189. package/es/date-picker/src/panel/month.d.ts +48 -32
  190. package/es/date-picker/src/panel/month.js +13 -4
  191. package/es/date-picker/src/panel/panelHeader.d.ts +2435 -0
  192. package/es/date-picker/src/panel/panelHeader.js +72 -0
  193. package/es/date-picker/src/panel/use-calendar.d.ts +16 -4
  194. package/es/date-picker/src/panel/use-calendar.js +42 -3
  195. package/es/date-picker/src/panel/use-dual-calendar.d.ts +6 -0
  196. package/es/date-picker/src/panel/use-dual-calendar.js +10 -1
  197. package/es/date-picker/src/panel/use-panel-common.d.ts +2 -0
  198. package/es/date-picker/src/panel/use-panel-common.js +7 -1
  199. package/es/date-picker/src/styles/index.cssr.js +5 -2
  200. package/es/descriptions/src/Descriptions.d.ts +33 -33
  201. package/es/descriptions/src/DescriptionsItem.d.ts +9 -12
  202. package/es/dialog/src/Dialog.d.ts +32 -43
  203. package/es/dialog/src/Dialog.js +27 -20
  204. package/es/dialog/src/DialogEnvironment.d.ts +41 -46
  205. package/es/dialog/src/DialogProvider.d.ts +7 -10
  206. package/es/dialog/src/DialogProvider.js +3 -3
  207. package/es/divider/src/Divider.d.ts +14 -19
  208. package/es/drawer/src/Drawer.d.ts +89 -52
  209. package/es/drawer/src/Drawer.js +17 -6
  210. package/es/drawer/src/DrawerBodyWrapper.d.ts +40 -16
  211. package/es/drawer/src/DrawerBodyWrapper.js +11 -2
  212. package/es/drawer/src/DrawerContent.d.ts +15 -20
  213. package/es/drawer/src/interface.d.ts +3 -3
  214. package/es/drawer/src/interface.js +3 -2
  215. package/es/dropdown/src/Dropdown.d.ts +110 -101
  216. package/es/dropdown/src/Dropdown.js +2 -2
  217. package/es/dropdown/src/DropdownDivider.d.ts +6 -5
  218. package/es/dropdown/src/DropdownGroup.d.ts +14 -9
  219. package/es/dropdown/src/DropdownGroupHeader.d.ts +10 -7
  220. package/es/dropdown/src/DropdownMenu.d.ts +18 -16
  221. package/es/dropdown/src/DropdownMenu.js +2 -1
  222. package/es/dropdown/src/DropdownOption.d.ts +19 -14
  223. package/es/dropdown/src/DropdownOption.js +2 -2
  224. package/es/dropdown/src/DropdownRenderOption.d.ts +6 -5
  225. package/es/dynamic-input/src/DynamicInput.d.ts +50 -45
  226. package/es/dynamic-input/src/DynamicInput.js +2 -2
  227. package/es/dynamic-input/src/InputPreset.d.ts +16 -14
  228. package/es/dynamic-input/src/PairPreset.d.ts +23 -18
  229. package/es/dynamic-input/src/interface.d.ts +2 -2
  230. package/es/dynamic-input/src/interface.js +2 -1
  231. package/es/dynamic-tags/src/DynamicTags.d.ts +41 -41
  232. package/es/element/src/Element.d.ts +9 -12
  233. package/es/ellipsis/src/Ellipsis.d.ts +14 -19
  234. package/es/empty/src/Empty.d.ts +23 -24
  235. package/es/empty/src/Empty.js +5 -9
  236. package/es/form/src/Feedbacks.d.ts +8 -10
  237. package/es/form/src/Form.d.ts +39 -39
  238. package/es/form/src/FormItem.d.ts +36 -51
  239. package/es/form/src/FormItem.js +7 -3
  240. package/es/form/src/FormItemCol.d.ts +52 -59
  241. package/es/form/src/FormItemGridItem.d.ts +52 -65
  242. package/es/form/src/FormItemRow.d.ts +58 -65
  243. package/es/form/src/interface.d.ts +3 -3
  244. package/es/form/src/interface.js +3 -2
  245. package/es/global-style/src/GlobalStyle.d.ts +1 -1
  246. package/es/gradient-text/src/GradientText.d.ts +16 -23
  247. package/es/grid/src/Grid.d.ts +27 -22
  248. package/es/grid/src/Grid.js +2 -2
  249. package/es/grid/src/GridItem.d.ts +18 -18
  250. package/es/grid/src/GridItem.js +3 -2
  251. package/es/icon/src/Icon.d.ts +11 -18
  252. package/es/image/src/Image.d.ts +28 -41
  253. package/es/image/src/ImageGroup.d.ts +15 -19
  254. package/es/image/src/ImageGroup.js +2 -1
  255. package/es/image/src/ImagePreview.d.ts +20 -23
  256. package/es/image/src/ImagePreview.js +10 -6
  257. package/es/index.d.ts +1 -1
  258. package/es/index.js +1 -1
  259. package/es/input/src/Input.d.ts +108 -110
  260. package/es/input/src/Input.js +75 -34
  261. package/es/input/src/InputGroup.d.ts +5 -9
  262. package/es/input/src/InputGroupLabel.d.ts +16 -17
  263. package/es/input/src/InputGroupLabel.js +4 -3
  264. package/es/input/src/WordCount.d.ts +1 -1
  265. package/es/input/src/interface.d.ts +2 -2
  266. package/es/input/src/interface.js +2 -1
  267. package/es/input/src/styles/input.cssr.js +45 -62
  268. package/es/input-number/src/InputNumber.d.ts +59 -58
  269. package/es/layout/src/Layout.d.ts +90 -65
  270. package/es/layout/src/Layout.js +2 -1
  271. package/es/layout/src/LayoutContent.d.ts +33 -31
  272. package/es/layout/src/LayoutFooter.d.ts +14 -19
  273. package/es/layout/src/LayoutHeader.d.ts +17 -19
  274. package/es/layout/src/LayoutSider.d.ts +64 -61
  275. package/es/layout/src/LayoutSider.js +2 -1
  276. package/es/layout/src/ToggleBar.d.ts +7 -8
  277. package/es/layout/src/ToggleButton.d.ts +7 -8
  278. package/es/layout/src/interface.d.ts +2 -2
  279. package/es/layout/src/interface.js +2 -1
  280. package/es/layout/src/styles/layout-sider.cssr.js +15 -7
  281. package/es/legacy-grid/src/Col.d.ts +18 -11
  282. package/es/legacy-grid/src/Row.d.ts +11 -13
  283. package/es/legacy-grid/src/Row.js +2 -2
  284. package/es/list/src/List.d.ts +19 -20
  285. package/es/list/src/List.js +7 -5
  286. package/es/list/src/ListItem.d.ts +1 -1
  287. package/es/list/src/ListItem.js +3 -3
  288. package/es/loading-bar/src/LoadingBar.d.ts +1 -1
  289. package/es/loading-bar/src/LoadingBarProvider.d.ts +22 -23
  290. package/es/loading-bar/src/LoadingBarProvider.js +7 -6
  291. package/es/locales/common/esAR.d.ts +109 -0
  292. package/es/locales/common/esAR.js +110 -0
  293. package/es/locales/common/itIT.d.ts +3 -0
  294. package/es/locales/common/itIT.js +109 -0
  295. package/es/locales/date/esAR.d.ts +3 -0
  296. package/es/locales/date/esAR.js +6 -0
  297. package/es/locales/date/itIT.d.ts +3 -0
  298. package/es/locales/date/itIT.js +6 -0
  299. package/es/locales/index.d.ts +4 -0
  300. package/es/locales/index.js +4 -0
  301. package/es/log/src/Log.d.ts +48 -46
  302. package/es/log/src/Log.js +2 -2
  303. package/es/log/src/LogLine.d.ts +6 -5
  304. package/es/log/src/LogLoader.d.ts +6 -5
  305. package/es/mention/src/Mention.d.ts +55 -56
  306. package/es/menu/src/Menu.d.ts +87 -88
  307. package/es/menu/src/Menu.js +2 -2
  308. package/es/menu/src/MenuDivider.d.ts +1 -1
  309. package/es/menu/src/MenuOption.d.ts +22 -295
  310. package/es/menu/src/MenuOption.js +2 -1
  311. package/es/menu/src/MenuOptionContent.d.ts +33 -305
  312. package/es/menu/src/MenuOptionGroup.d.ts +20 -20
  313. package/es/menu/src/MenuOptionGroup.js +4 -3
  314. package/es/menu/src/Submenu.d.ts +35 -301
  315. package/es/menu/src/Submenu.js +4 -2
  316. package/es/menu/src/use-menu-child-props.d.ts +2 -1
  317. package/es/menu/src/use-menu-child.d.ts +5 -7
  318. package/es/menu/src/use-menu-child.js +0 -2
  319. package/es/message/src/Message.d.ts +15 -35
  320. package/es/message/src/MessageEnvironment.d.ts +26 -34
  321. package/es/message/src/MessageProvider.d.ts +24 -30
  322. package/es/message/src/MessageProvider.js +8 -8
  323. package/es/modal/src/BodyWrapper.d.ts +96 -72
  324. package/es/modal/src/BodyWrapper.js +12 -9
  325. package/es/modal/src/Modal.d.ts +125 -968
  326. package/es/modal/src/Modal.js +18 -6
  327. package/es/modal/src/interface.d.ts +3 -3
  328. package/es/modal/src/interface.js +3 -2
  329. package/es/notification/src/Notification.d.ts +20 -22
  330. package/es/notification/src/NotificationContainer.d.ts +10 -7
  331. package/es/notification/src/NotificationEnvironment.d.ts +32 -40
  332. package/es/notification/src/NotificationProvider.d.ts +32 -35
  333. package/es/notification/src/NotificationProvider.js +8 -8
  334. package/es/number-animation/src/NumberAnimation.d.ts +27 -15
  335. package/es/number-animation/src/NumberAnimation.js +19 -4
  336. package/es/page-header/src/PageHeader.d.ts +12 -20
  337. package/es/page-header/src/PageHeader.js +4 -5
  338. package/es/pagination/src/Pagination.d.ts +59 -59
  339. package/es/pagination/styles/light.d.ts +1 -0
  340. package/es/popconfirm/src/Popconfirm.d.ts +90 -87
  341. package/es/popconfirm/src/PopconfirmPanel.d.ts +16 -14
  342. package/es/popconfirm/src/PopconfirmPanel.js +4 -5
  343. package/es/popconfirm/src/interface.d.ts +2 -2
  344. package/es/popconfirm/src/interface.js +2 -1
  345. package/es/popover/src/Popover.d.ts +88 -79
  346. package/es/popover/src/PopoverBody.d.ts +32 -53
  347. package/es/popover/src/PopoverBody.js +16 -13
  348. package/es/popover/src/interface.d.ts +2 -2
  349. package/es/popover/src/interface.js +2 -1
  350. package/es/popselect/src/Popselect.d.ts +92 -97
  351. package/es/popselect/src/PopselectPanel.d.ts +24 -30
  352. package/es/popselect/src/interface.d.ts +2 -2
  353. package/es/popselect/src/interface.js +2 -1
  354. package/es/progress/src/Circle.d.ts +35 -28
  355. package/es/progress/src/Line.d.ts +37 -32
  356. package/es/progress/src/MultipleCircle.d.ts +38 -21
  357. package/es/progress/src/Progress.d.ts +54 -51
  358. package/es/radio/src/Radio.d.ts +30 -31
  359. package/es/radio/src/RadioButton.d.ts +24 -22
  360. package/es/radio/src/RadioGroup.d.ts +21 -27
  361. package/es/radio/src/use-radio.d.ts +2 -2
  362. package/es/radio/src/use-radio.js +2 -2
  363. package/es/rate/src/Rate.d.ts +26 -31
  364. package/es/result/src/Result.d.ts +18 -21
  365. package/es/scrollbar/src/ScrollBar.d.ts +10 -17
  366. package/es/select/index.d.ts +1 -1
  367. package/es/select/src/Select.d.ts +127 -95
  368. package/es/select/src/Select.js +25 -40
  369. package/es/select/src/interface.d.ts +4 -0
  370. package/es/select/styles/light.d.ts +1 -0
  371. package/es/skeleton/src/Skeleton.d.ts +26 -31
  372. package/es/slider/src/Slider.d.ts +49 -47
  373. package/es/slider/src/Slider.js +2 -1
  374. package/es/space/src/Space.d.ts +24 -27
  375. package/es/spin/src/Spin.d.ts +28 -27
  376. package/es/statistic/src/Statistic.d.ts +11 -19
  377. package/es/statistic/src/Statistic.js +3 -3
  378. package/es/steps/src/Step.d.ts +9 -12
  379. package/es/steps/src/Step.js +5 -7
  380. package/es/steps/src/Steps.d.ts +20 -23
  381. package/es/steps/src/Steps.js +2 -2
  382. package/es/switch/src/Switch.d.ts +45 -40
  383. package/es/table/src/Table.d.ts +26 -25
  384. package/es/table/src/Tbody.d.ts +1 -1
  385. package/es/table/src/Td.d.ts +1 -1
  386. package/es/table/src/Th.d.ts +1 -1
  387. package/es/table/src/Thead.d.ts +1 -1
  388. package/es/table/src/Tr.d.ts +1 -1
  389. package/es/tabs/src/Tab.d.ts +30 -37
  390. package/es/tabs/src/Tab.js +11 -4
  391. package/es/tabs/src/TabPane.d.ts +32 -38
  392. package/es/tabs/src/TabPane.js +14 -15
  393. package/es/tabs/src/Tabs.d.ts +37 -52
  394. package/es/tabs/src/Tabs.js +3 -3
  395. package/es/tabs/src/interface.d.ts +2 -2
  396. package/es/tabs/src/interface.js +2 -1
  397. package/es/tag/src/Tag.d.ts +42 -47
  398. package/es/tag/src/Tag.js +2 -2
  399. package/es/theme-editor/src/ThemeEditor.d.ts +1 -1
  400. package/es/theme-editor/src/ThemeEditor.js +161 -158
  401. package/es/themes/index.d.ts +1 -0
  402. package/es/themes/index.js +1 -0
  403. package/es/thing/src/Thing.d.ts +16 -23
  404. package/es/thing/src/Thing.js +20 -24
  405. package/es/time/src/Time.d.ts +18 -18
  406. package/es/time-picker/index.d.ts +1 -0
  407. package/es/time-picker/src/Panel.d.ts +75 -72
  408. package/es/time-picker/src/PanelCol.d.ts +15 -12
  409. package/es/time-picker/src/TimePicker.d.ts +99 -86
  410. package/es/time-picker/src/TimePicker.js +17 -41
  411. package/es/time-picker/src/interface.d.ts +6 -2
  412. package/es/time-picker/src/interface.js +2 -1
  413. package/es/timeline/src/Timeline.d.ts +21 -24
  414. package/es/timeline/src/Timeline.js +2 -1
  415. package/es/timeline/src/TimelineItem.d.ts +10 -14
  416. package/es/timeline/src/TimelineItem.js +4 -4
  417. package/es/tooltip/src/Tooltip.d.ts +82 -77
  418. package/es/transfer/src/Transfer.d.ts +39 -43
  419. package/es/transfer/src/TransferFilter.d.ts +17 -16
  420. package/es/transfer/src/TransferHeader.d.ts +11 -10
  421. package/es/transfer/src/TransferList.d.ts +35 -19
  422. package/es/transfer/src/TransferListItem.d.ts +18 -11
  423. package/es/transfer/src/interface.d.ts +2 -2
  424. package/es/transfer/src/interface.js +2 -1
  425. package/es/tree/src/MotionWrapper.d.ts +19 -14
  426. package/es/tree/src/Tree.d.ts +124 -135
  427. package/es/tree/src/TreeNode.d.ts +10 -7
  428. package/es/tree/src/TreeNodeCheckbox.d.ts +11 -16
  429. package/es/tree/src/TreeNodeContent.d.ts +15 -18
  430. package/es/tree/src/TreeNodeSwitcher.d.ts +10 -14
  431. package/es/tree/src/interface.d.ts +2 -2
  432. package/es/tree/src/interface.js +2 -1
  433. package/es/tree-select/src/TreeSelect.d.ts +112 -97
  434. package/es/tree-select/src/TreeSelect.js +2 -4
  435. package/es/tree-select/src/interface.d.ts +2 -2
  436. package/es/tree-select/src/interface.js +2 -1
  437. package/es/tree-select/styles/light.d.ts +1 -0
  438. package/es/typography/src/a.d.ts +8 -12
  439. package/es/typography/src/blockquote.d.ts +9 -15
  440. package/es/typography/src/create-header.d.ts +14 -19
  441. package/es/typography/src/headers.d.ts +84 -114
  442. package/es/typography/src/hr.d.ts +8 -12
  443. package/es/typography/src/li.d.ts +1 -1
  444. package/es/typography/src/ol.d.ts +9 -15
  445. package/es/typography/src/p.d.ts +9 -14
  446. package/es/typography/src/text.d.ts +24 -31
  447. package/es/typography/src/text.js +4 -3
  448. package/es/typography/src/ul.d.ts +9 -15
  449. package/es/upload/src/Upload.d.ts +85 -84
  450. package/es/upload/src/Upload.js +5 -2
  451. package/es/upload/src/UploadDragger.d.ts +1 -1
  452. package/es/upload/src/UploadFile.d.ts +14 -9
  453. package/es/upload/src/UploadFileList.d.ts +1 -1
  454. package/es/upload/src/UploadProgress.d.ts +11 -9
  455. package/es/upload/src/UploadTrigger.d.ts +3 -5
  456. package/es/upload/src/interface.d.ts +3 -2
  457. package/es/upload/src/interface.js +2 -1
  458. package/es/version.d.ts +1 -1
  459. package/es/version.js +1 -1
  460. package/lib/_internal/clear/src/Clear.d.ts +8 -10
  461. package/lib/_internal/close/src/Close.d.ts +11 -10
  462. package/lib/_internal/fade-in-expand-transition/src/FadeInExpandTransition.d.ts +10 -20
  463. package/lib/_internal/focus-detector/src/FocusDetector.d.ts +4 -7
  464. package/lib/_internal/icon/src/Icon.d.ts +19 -20
  465. package/lib/_internal/icon-switch-transition/src/IconSwitchTransition.d.ts +1 -1
  466. package/lib/_internal/icons/Add.d.ts +1 -1
  467. package/lib/_internal/icons/ArrowBack.d.ts +1 -1
  468. package/lib/_internal/icons/ArrowDown.d.ts +1 -1
  469. package/lib/_internal/icons/Attach.d.ts +1 -1
  470. package/lib/_internal/icons/Backward.d.ts +1 -1
  471. package/lib/_internal/icons/Cancel.d.ts +1 -1
  472. package/lib/_internal/icons/Checkmark.d.ts +1 -1
  473. package/lib/_internal/icons/ChevronDown.d.ts +1 -1
  474. package/lib/_internal/icons/ChevronDownFilled.d.ts +1 -1
  475. package/lib/_internal/icons/ChevronLeft.d.ts +1 -1
  476. package/lib/_internal/icons/ChevronRight.d.ts +1 -1
  477. package/lib/_internal/icons/Clear.d.ts +1 -1
  478. package/lib/_internal/icons/Close.d.ts +1 -1
  479. package/lib/_internal/icons/Date.d.ts +1 -1
  480. package/lib/_internal/icons/Download.d.ts +1 -1
  481. package/lib/_internal/icons/Empty.d.ts +1 -1
  482. package/lib/_internal/icons/Error.d.ts +1 -1
  483. package/lib/_internal/icons/Eye.d.ts +1 -1
  484. package/lib/_internal/icons/EyeOff.d.ts +1 -1
  485. package/lib/_internal/icons/FastBackward.d.ts +1 -1
  486. package/lib/_internal/icons/FastForward.d.ts +1 -1
  487. package/lib/_internal/icons/File.d.ts +1 -1
  488. package/lib/_internal/icons/Filter.d.ts +1 -1
  489. package/lib/_internal/icons/Forward.d.ts +1 -1
  490. package/lib/_internal/icons/Info.d.ts +1 -1
  491. package/lib/_internal/icons/More.d.ts +1 -1
  492. package/lib/_internal/icons/Photo.d.ts +1 -1
  493. package/lib/_internal/icons/Remove.d.ts +1 -1
  494. package/lib/_internal/icons/Retry.d.ts +1 -1
  495. package/lib/_internal/icons/RotateClockwise.d.ts +1 -1
  496. package/lib/_internal/icons/RotateCounterclockwise.d.ts +1 -1
  497. package/lib/_internal/icons/Search.d.ts +1 -1
  498. package/lib/_internal/icons/Success.d.ts +1 -1
  499. package/lib/_internal/icons/Switcher.d.ts +1 -1
  500. package/lib/_internal/icons/Time.d.ts +1 -1
  501. package/lib/_internal/icons/To.d.ts +1 -1
  502. package/lib/_internal/icons/Trash.d.ts +1 -1
  503. package/lib/_internal/icons/Warning.d.ts +1 -1
  504. package/lib/_internal/icons/ZoomIn.d.ts +1 -1
  505. package/lib/_internal/icons/ZoomOut.d.ts +1 -1
  506. package/lib/_internal/icons/replaceable.d.ts +1 -1
  507. package/lib/_internal/loading/src/Loading.d.ts +26 -16
  508. package/lib/_internal/menu-mask/src/MenuMask.d.ts +6 -5
  509. package/lib/_internal/scrollbar/src/ScrollBar.d.ts +54 -58
  510. package/lib/_internal/scrollbar/src/ScrollBar.js +89 -67
  511. package/lib/_internal/select-menu/src/SelectGroupHeader.d.ts +10 -7
  512. package/lib/_internal/select-menu/src/SelectMenu.d.ts +67 -63
  513. package/lib/_internal/select-menu/src/SelectMenu.js +21 -20
  514. package/lib/_internal/select-menu/src/SelectOption.d.ts +10 -7
  515. package/lib/_internal/select-menu/src/interface.d.ts +3 -3
  516. package/lib/_internal/select-menu/src/interface.js +3 -2
  517. package/lib/_internal/selection/src/Selection.d.ts +67 -69
  518. package/lib/_internal/selection/src/Selection.js +25 -8
  519. package/lib/_internal/selection/src/styles/index.cssr.js +2 -1
  520. package/lib/_internal/selection/styles/_common.d.ts +1 -0
  521. package/lib/_internal/selection/styles/_common.js +1 -0
  522. package/lib/_internal/selection/styles/light.d.ts +2 -0
  523. package/lib/_internal/slot-machine/src/SlotMachine.d.ts +18 -12
  524. package/lib/_internal/slot-machine/src/SlotMachineNumber.d.ts +18 -12
  525. package/lib/_internal/suffix/src/Suffix.d.ts +19 -14
  526. package/lib/_internal/suffix/src/Suffix.js +7 -2
  527. package/lib/_internal/wave/src/Wave.d.ts +6 -5
  528. package/lib/_mixins/use-form-item.d.ts +2 -2
  529. package/lib/_mixins/use-form-item.js +2 -1
  530. package/lib/_mixins/use-locale.d.ts +1 -1
  531. package/lib/_mixins/use-locale.js +2 -2
  532. package/lib/_utils/index.d.ts +1 -1
  533. package/lib/_utils/index.js +2 -1
  534. package/lib/_utils/vue/create-injection-key.d.ts +2 -0
  535. package/lib/_utils/vue/create-injection-key.js +7 -0
  536. package/lib/_utils/vue/index.d.ts +2 -0
  537. package/lib/_utils/vue/index.js +5 -1
  538. package/lib/_utils/vue/resolve-slot.d.ts +2 -0
  539. package/lib/_utils/vue/resolve-slot.js +24 -0
  540. package/lib/affix/src/Affix.d.ts +26 -22
  541. package/lib/alert/src/Alert.d.ts +34 -27
  542. package/lib/alert/src/Alert.js +1 -3
  543. package/lib/anchor/src/AnchorAdapter.d.ts +52 -47
  544. package/lib/anchor/src/BaseAnchor.d.ts +25 -20
  545. package/lib/anchor/src/Link.d.ts +6 -9
  546. package/lib/anchor/src/Link.js +4 -3
  547. package/lib/auto-complete/src/AutoComplete.d.ts +52 -59
  548. package/lib/avatar/src/Avatar.d.ts +27 -30
  549. package/lib/avatar/src/AvatarGroup.d.ts +13 -17
  550. package/lib/avatar/src/AvatarGroup.js +5 -2
  551. package/lib/back-top/src/BackTop.d.ts +48 -33
  552. package/lib/back-top/src/BackTop.js +1 -3
  553. package/lib/badge/src/Badge.d.ts +31 -29
  554. package/lib/badge/src/Badge.js +5 -4
  555. package/lib/breadcrumb/src/Breadcrumb.d.ts +15 -18
  556. package/lib/breadcrumb/src/Breadcrumb.js +2 -1
  557. package/lib/breadcrumb/src/BreadcrumbItem.d.ts +4 -7
  558. package/lib/button/src/Button.d.ts +53 -61
  559. package/lib/button/src/Button.js +4 -1
  560. package/lib/button/src/ButtonGroup.d.ts +10 -11
  561. package/lib/button/src/ButtonGroup.js +2 -1
  562. package/lib/calendar/src/Calendar.d.ts +21 -26
  563. package/lib/calendar/src/Calendar.js +15 -2
  564. package/lib/card/src/Card.d.ts +32 -37
  565. package/lib/card/src/Card.js +5 -5
  566. package/lib/carousel/src/Carousel.d.ts +74 -64
  567. package/lib/carousel/src/Carousel.js +42 -45
  568. package/lib/carousel/src/CarouselArrow.d.ts +1 -1
  569. package/lib/carousel/src/CarouselDots.d.ts +19 -13
  570. package/lib/carousel/src/CarouselItem.d.ts +2 -2
  571. package/lib/carousel/src/CarouselItem.js +6 -3
  572. package/lib/carousel/src/interface.d.ts +10 -3
  573. package/lib/carousel/src/interface.js +2 -1
  574. package/lib/carousel/src/styles/index.cssr.js +2 -2
  575. package/lib/cascader/index.d.ts +1 -1
  576. package/lib/cascader/src/Cascader.d.ts +105 -84
  577. package/lib/cascader/src/Cascader.js +14 -26
  578. package/lib/cascader/src/CascaderMenu.d.ts +34 -24
  579. package/lib/cascader/src/CascaderMenu.js +1 -3
  580. package/lib/cascader/src/CascaderOption.d.ts +7 -5
  581. package/lib/cascader/src/CascaderSelectMenu.d.ts +26 -20
  582. package/lib/cascader/src/CascaderSubmenu.d.ts +16 -9
  583. package/lib/cascader/src/interface.d.ts +6 -2
  584. package/lib/cascader/src/interface.js +2 -1
  585. package/lib/cascader/styles/light.d.ts +1 -0
  586. package/lib/checkbox/index.d.ts +1 -0
  587. package/lib/checkbox/src/Checkbox.d.ts +43 -43
  588. package/lib/checkbox/src/Checkbox.js +16 -4
  589. package/lib/checkbox/src/CheckboxGroup.d.ts +23 -24
  590. package/lib/checkbox/src/CheckboxGroup.js +1 -1
  591. package/lib/checkbox/src/interface.d.ts +4 -0
  592. package/lib/code/src/Code.d.ts +24 -32
  593. package/lib/code/src/styles/index.cssr.js +4 -1
  594. package/lib/collapse/src/Collapse.d.ts +35 -33
  595. package/lib/collapse/src/Collapse.js +1 -1
  596. package/lib/collapse/src/CollapseItem.d.ts +5 -9
  597. package/lib/collapse/src/CollapseItem.js +7 -14
  598. package/lib/collapse/src/CollapseItemContent.d.ts +11 -9
  599. package/lib/collapse-transition/src/CollapseTransition.d.ts +18 -19
  600. package/lib/color-picker/src/AlphaSlider.d.ts +19 -14
  601. package/lib/color-picker/src/ColorInput.d.ts +34 -19
  602. package/lib/color-picker/src/ColorInputUnit.d.ts +15 -11
  603. package/lib/color-picker/src/ColorPicker.d.ts +46 -51
  604. package/lib/color-picker/src/ColorPicker.js +1 -3
  605. package/lib/color-picker/src/ColorPickerSwatches.d.ts +18 -11
  606. package/lib/color-picker/src/ColorPickerTrigger.d.ts +15 -12
  607. package/lib/color-picker/src/ColorPreview.d.ts +19 -11
  608. package/lib/color-picker/src/HueSlider.d.ts +15 -12
  609. package/lib/color-picker/src/Pallete.d.ts +23 -16
  610. package/lib/composables/use-theme-vars.d.ts +2 -1
  611. package/lib/config-provider/src/ConfigProvider.d.ts +30 -37
  612. package/lib/config-provider/src/ConfigProvider.js +4 -3
  613. package/lib/config-provider/src/interface.d.ts +4 -1
  614. package/lib/countdown/src/Countdown.d.ts +18 -17
  615. package/lib/data-table/index.d.ts +1 -1
  616. package/lib/data-table/src/DataTable.d.ts +104 -104
  617. package/lib/data-table/src/HeaderButton/FilterButton.d.ts +12 -7
  618. package/lib/data-table/src/HeaderButton/FilterMenu.d.ts +36 -19
  619. package/lib/data-table/src/HeaderButton/RenderFilter.d.ts +14 -9
  620. package/lib/data-table/src/HeaderButton/RenderSorter.d.ts +10 -7
  621. package/lib/data-table/src/HeaderButton/SortButton.d.ts +6 -5
  622. package/lib/data-table/src/HeaderButton/SortButton.js +6 -6
  623. package/lib/data-table/src/MainTable.d.ts +1 -1
  624. package/lib/data-table/src/TableParts/Body.d.ts +13 -14
  625. package/lib/data-table/src/TableParts/Body.js +1 -3
  626. package/lib/data-table/src/TableParts/BodyCheckbox.d.ts +14 -9
  627. package/lib/data-table/src/TableParts/Cell.d.ts +865 -855
  628. package/lib/data-table/src/TableParts/ExpandTrigger.d.ts +11 -9
  629. package/lib/data-table/src/TableParts/Header.d.ts +8 -5
  630. package/lib/data-table/src/TableParts/SelectionMenu.d.ts +6 -5
  631. package/lib/data-table/src/interface.d.ts +9 -6
  632. package/lib/data-table/src/interface.js +2 -1
  633. package/lib/data-table/src/styles/index.cssr.js +7 -7
  634. package/lib/data-table/styles/light.d.ts +1 -0
  635. package/lib/date-picker/index.d.ts +1 -0
  636. package/lib/date-picker/src/DatePicker.d.ts +72 -93
  637. package/lib/date-picker/src/DatePicker.js +16 -61
  638. package/lib/date-picker/src/interface.d.ts +6 -3
  639. package/lib/date-picker/src/interface.js +2 -1
  640. package/lib/date-picker/src/panel/date.d.ts +77 -34
  641. package/lib/date-picker/src/panel/date.js +8 -6
  642. package/lib/date-picker/src/panel/daterange.d.ts +31 -26
  643. package/lib/date-picker/src/panel/daterange.js +8 -8
  644. package/lib/date-picker/src/panel/datetime.d.ts +41 -30
  645. package/lib/date-picker/src/panel/datetime.js +6 -4
  646. package/lib/date-picker/src/panel/datetimerange.d.ts +31 -26
  647. package/lib/date-picker/src/panel/datetimerange.js +7 -7
  648. package/lib/date-picker/src/panel/month.d.ts +48 -32
  649. package/lib/date-picker/src/panel/month.js +12 -3
  650. package/lib/date-picker/src/panel/panelHeader.d.ts +2435 -0
  651. package/lib/date-picker/src/panel/panelHeader.js +77 -0
  652. package/lib/date-picker/src/panel/use-calendar.d.ts +16 -4
  653. package/lib/date-picker/src/panel/use-calendar.js +41 -2
  654. package/lib/date-picker/src/panel/use-dual-calendar.d.ts +6 -0
  655. package/lib/date-picker/src/panel/use-dual-calendar.js +10 -1
  656. package/lib/date-picker/src/panel/use-panel-common.d.ts +2 -0
  657. package/lib/date-picker/src/panel/use-panel-common.js +7 -1
  658. package/lib/date-picker/src/styles/index.cssr.js +5 -2
  659. package/lib/descriptions/src/Descriptions.d.ts +33 -33
  660. package/lib/descriptions/src/DescriptionsItem.d.ts +9 -12
  661. package/lib/dialog/src/Dialog.d.ts +32 -43
  662. package/lib/dialog/src/Dialog.js +26 -19
  663. package/lib/dialog/src/DialogEnvironment.d.ts +41 -46
  664. package/lib/dialog/src/DialogProvider.d.ts +7 -10
  665. package/lib/dialog/src/DialogProvider.js +2 -2
  666. package/lib/divider/src/Divider.d.ts +14 -19
  667. package/lib/drawer/src/Drawer.d.ts +89 -52
  668. package/lib/drawer/src/Drawer.js +17 -6
  669. package/lib/drawer/src/DrawerBodyWrapper.d.ts +40 -16
  670. package/lib/drawer/src/DrawerBodyWrapper.js +11 -2
  671. package/lib/drawer/src/DrawerContent.d.ts +15 -20
  672. package/lib/drawer/src/interface.d.ts +3 -3
  673. package/lib/drawer/src/interface.js +3 -2
  674. package/lib/dropdown/src/Dropdown.d.ts +110 -101
  675. package/lib/dropdown/src/Dropdown.js +1 -1
  676. package/lib/dropdown/src/DropdownDivider.d.ts +6 -5
  677. package/lib/dropdown/src/DropdownGroup.d.ts +14 -9
  678. package/lib/dropdown/src/DropdownGroupHeader.d.ts +10 -7
  679. package/lib/dropdown/src/DropdownMenu.d.ts +18 -16
  680. package/lib/dropdown/src/DropdownMenu.js +2 -1
  681. package/lib/dropdown/src/DropdownOption.d.ts +19 -14
  682. package/lib/dropdown/src/DropdownOption.js +1 -1
  683. package/lib/dropdown/src/DropdownRenderOption.d.ts +6 -5
  684. package/lib/dynamic-input/src/DynamicInput.d.ts +50 -45
  685. package/lib/dynamic-input/src/DynamicInput.js +1 -1
  686. package/lib/dynamic-input/src/InputPreset.d.ts +16 -14
  687. package/lib/dynamic-input/src/PairPreset.d.ts +23 -18
  688. package/lib/dynamic-input/src/interface.d.ts +2 -2
  689. package/lib/dynamic-input/src/interface.js +2 -1
  690. package/lib/dynamic-tags/src/DynamicTags.d.ts +41 -41
  691. package/lib/element/src/Element.d.ts +9 -12
  692. package/lib/ellipsis/src/Ellipsis.d.ts +14 -19
  693. package/lib/empty/src/Empty.d.ts +23 -24
  694. package/lib/empty/src/Empty.js +4 -8
  695. package/lib/form/src/Feedbacks.d.ts +8 -10
  696. package/lib/form/src/Form.d.ts +39 -39
  697. package/lib/form/src/FormItem.d.ts +36 -51
  698. package/lib/form/src/FormItem.js +6 -2
  699. package/lib/form/src/FormItemCol.d.ts +52 -59
  700. package/lib/form/src/FormItemGridItem.d.ts +52 -65
  701. package/lib/form/src/FormItemRow.d.ts +58 -65
  702. package/lib/form/src/interface.d.ts +3 -3
  703. package/lib/form/src/interface.js +3 -2
  704. package/lib/global-style/src/GlobalStyle.d.ts +1 -1
  705. package/lib/gradient-text/src/GradientText.d.ts +16 -23
  706. package/lib/grid/src/Grid.d.ts +27 -22
  707. package/lib/grid/src/Grid.js +1 -1
  708. package/lib/grid/src/GridItem.d.ts +18 -18
  709. package/lib/grid/src/GridItem.js +2 -1
  710. package/lib/icon/src/Icon.d.ts +11 -18
  711. package/lib/image/src/Image.d.ts +28 -41
  712. package/lib/image/src/ImageGroup.d.ts +15 -19
  713. package/lib/image/src/ImageGroup.js +2 -1
  714. package/lib/image/src/ImagePreview.d.ts +20 -23
  715. package/lib/image/src/ImagePreview.js +9 -5
  716. package/lib/index.d.ts +1 -1
  717. package/lib/index.js +2 -1
  718. package/lib/input/src/Input.d.ts +108 -110
  719. package/lib/input/src/Input.js +74 -33
  720. package/lib/input/src/InputGroup.d.ts +5 -9
  721. package/lib/input/src/InputGroupLabel.d.ts +16 -17
  722. package/lib/input/src/InputGroupLabel.js +3 -2
  723. package/lib/input/src/WordCount.d.ts +1 -1
  724. package/lib/input/src/interface.d.ts +2 -2
  725. package/lib/input/src/interface.js +2 -1
  726. package/lib/input/src/styles/input.cssr.js +45 -62
  727. package/lib/input-number/src/InputNumber.d.ts +59 -58
  728. package/lib/layout/src/Layout.d.ts +90 -65
  729. package/lib/layout/src/Layout.js +2 -1
  730. package/lib/layout/src/LayoutContent.d.ts +33 -31
  731. package/lib/layout/src/LayoutFooter.d.ts +14 -19
  732. package/lib/layout/src/LayoutHeader.d.ts +17 -19
  733. package/lib/layout/src/LayoutSider.d.ts +64 -61
  734. package/lib/layout/src/LayoutSider.js +2 -1
  735. package/lib/layout/src/ToggleBar.d.ts +7 -8
  736. package/lib/layout/src/ToggleButton.d.ts +7 -8
  737. package/lib/layout/src/interface.d.ts +2 -2
  738. package/lib/layout/src/interface.js +2 -1
  739. package/lib/layout/src/styles/layout-sider.cssr.js +15 -7
  740. package/lib/legacy-grid/src/Col.d.ts +18 -11
  741. package/lib/legacy-grid/src/Row.d.ts +11 -13
  742. package/lib/legacy-grid/src/Row.js +1 -1
  743. package/lib/list/src/List.d.ts +19 -20
  744. package/lib/list/src/List.js +6 -4
  745. package/lib/list/src/ListItem.d.ts +1 -1
  746. package/lib/list/src/ListItem.js +2 -2
  747. package/lib/loading-bar/src/LoadingBar.d.ts +1 -1
  748. package/lib/loading-bar/src/LoadingBarProvider.d.ts +22 -23
  749. package/lib/loading-bar/src/LoadingBarProvider.js +6 -5
  750. package/lib/locales/common/esAR.d.ts +109 -0
  751. package/lib/locales/common/esAR.js +112 -0
  752. package/lib/locales/common/itIT.d.ts +3 -0
  753. package/lib/locales/common/itIT.js +111 -0
  754. package/lib/locales/date/esAR.d.ts +3 -0
  755. package/lib/locales/date/esAR.js +11 -0
  756. package/lib/locales/date/itIT.d.ts +3 -0
  757. package/lib/locales/date/itIT.js +11 -0
  758. package/lib/locales/index.d.ts +4 -0
  759. package/lib/locales/index.js +9 -1
  760. package/lib/log/src/Log.d.ts +48 -46
  761. package/lib/log/src/Log.js +1 -1
  762. package/lib/log/src/LogLine.d.ts +6 -5
  763. package/lib/log/src/LogLoader.d.ts +6 -5
  764. package/lib/mention/src/Mention.d.ts +55 -56
  765. package/lib/menu/src/Menu.d.ts +87 -88
  766. package/lib/menu/src/Menu.js +1 -1
  767. package/lib/menu/src/MenuDivider.d.ts +1 -1
  768. package/lib/menu/src/MenuOption.d.ts +22 -295
  769. package/lib/menu/src/MenuOption.js +2 -1
  770. package/lib/menu/src/MenuOptionContent.d.ts +33 -305
  771. package/lib/menu/src/MenuOptionGroup.d.ts +20 -20
  772. package/lib/menu/src/MenuOptionGroup.js +3 -2
  773. package/lib/menu/src/Submenu.d.ts +35 -301
  774. package/lib/menu/src/Submenu.js +4 -2
  775. package/lib/menu/src/use-menu-child-props.d.ts +2 -1
  776. package/lib/menu/src/use-menu-child.d.ts +5 -7
  777. package/lib/menu/src/use-menu-child.js +1 -3
  778. package/lib/message/src/Message.d.ts +15 -35
  779. package/lib/message/src/MessageEnvironment.d.ts +26 -34
  780. package/lib/message/src/MessageProvider.d.ts +24 -30
  781. package/lib/message/src/MessageProvider.js +6 -6
  782. package/lib/modal/src/BodyWrapper.d.ts +96 -72
  783. package/lib/modal/src/BodyWrapper.js +12 -9
  784. package/lib/modal/src/Modal.d.ts +125 -968
  785. package/lib/modal/src/Modal.js +18 -6
  786. package/lib/modal/src/interface.d.ts +3 -3
  787. package/lib/modal/src/interface.js +3 -2
  788. package/lib/notification/src/Notification.d.ts +20 -22
  789. package/lib/notification/src/NotificationContainer.d.ts +10 -7
  790. package/lib/notification/src/NotificationEnvironment.d.ts +32 -40
  791. package/lib/notification/src/NotificationProvider.d.ts +32 -35
  792. package/lib/notification/src/NotificationProvider.js +6 -6
  793. package/lib/number-animation/src/NumberAnimation.d.ts +27 -15
  794. package/lib/number-animation/src/NumberAnimation.js +19 -4
  795. package/lib/page-header/src/PageHeader.d.ts +12 -20
  796. package/lib/page-header/src/PageHeader.js +4 -5
  797. package/lib/pagination/src/Pagination.d.ts +59 -59
  798. package/lib/pagination/styles/light.d.ts +1 -0
  799. package/lib/popconfirm/src/Popconfirm.d.ts +90 -87
  800. package/lib/popconfirm/src/PopconfirmPanel.d.ts +16 -14
  801. package/lib/popconfirm/src/PopconfirmPanel.js +3 -4
  802. package/lib/popconfirm/src/interface.d.ts +2 -2
  803. package/lib/popconfirm/src/interface.js +2 -1
  804. package/lib/popover/src/Popover.d.ts +88 -79
  805. package/lib/popover/src/PopoverBody.d.ts +32 -53
  806. package/lib/popover/src/PopoverBody.js +15 -12
  807. package/lib/popover/src/interface.d.ts +2 -2
  808. package/lib/popover/src/interface.js +2 -1
  809. package/lib/popselect/src/Popselect.d.ts +92 -97
  810. package/lib/popselect/src/PopselectPanel.d.ts +24 -30
  811. package/lib/popselect/src/interface.d.ts +2 -2
  812. package/lib/popselect/src/interface.js +2 -1
  813. package/lib/progress/src/Circle.d.ts +35 -28
  814. package/lib/progress/src/Line.d.ts +37 -32
  815. package/lib/progress/src/MultipleCircle.d.ts +38 -21
  816. package/lib/progress/src/Progress.d.ts +54 -51
  817. package/lib/radio/src/Radio.d.ts +30 -31
  818. package/lib/radio/src/RadioButton.d.ts +24 -22
  819. package/lib/radio/src/RadioGroup.d.ts +21 -27
  820. package/lib/radio/src/use-radio.d.ts +2 -2
  821. package/lib/radio/src/use-radio.js +1 -1
  822. package/lib/rate/src/Rate.d.ts +26 -31
  823. package/lib/result/src/Result.d.ts +18 -21
  824. package/lib/scrollbar/src/ScrollBar.d.ts +10 -17
  825. package/lib/select/index.d.ts +1 -1
  826. package/lib/select/src/Select.d.ts +127 -95
  827. package/lib/select/src/Select.js +25 -40
  828. package/lib/select/src/interface.d.ts +4 -0
  829. package/lib/select/styles/light.d.ts +1 -0
  830. package/lib/skeleton/src/Skeleton.d.ts +26 -31
  831. package/lib/slider/src/Slider.d.ts +49 -47
  832. package/lib/slider/src/Slider.js +2 -1
  833. package/lib/space/src/Space.d.ts +24 -27
  834. package/lib/spin/src/Spin.d.ts +28 -27
  835. package/lib/statistic/src/Statistic.d.ts +11 -19
  836. package/lib/statistic/src/Statistic.js +2 -2
  837. package/lib/steps/src/Step.d.ts +9 -12
  838. package/lib/steps/src/Step.js +4 -6
  839. package/lib/steps/src/Steps.d.ts +20 -23
  840. package/lib/steps/src/Steps.js +1 -1
  841. package/lib/switch/src/Switch.d.ts +45 -40
  842. package/lib/table/src/Table.d.ts +26 -25
  843. package/lib/table/src/Tbody.d.ts +1 -1
  844. package/lib/table/src/Td.d.ts +1 -1
  845. package/lib/table/src/Th.d.ts +1 -1
  846. package/lib/table/src/Thead.d.ts +1 -1
  847. package/lib/table/src/Tr.d.ts +1 -1
  848. package/lib/tabs/src/Tab.d.ts +30 -37
  849. package/lib/tabs/src/Tab.js +10 -3
  850. package/lib/tabs/src/TabPane.d.ts +32 -38
  851. package/lib/tabs/src/TabPane.js +12 -13
  852. package/lib/tabs/src/Tabs.d.ts +37 -52
  853. package/lib/tabs/src/Tabs.js +3 -3
  854. package/lib/tabs/src/interface.d.ts +2 -2
  855. package/lib/tabs/src/interface.js +2 -1
  856. package/lib/tag/src/Tag.d.ts +42 -47
  857. package/lib/tag/src/Tag.js +1 -1
  858. package/lib/theme-editor/src/ThemeEditor.d.ts +1 -1
  859. package/lib/theme-editor/src/ThemeEditor.js +160 -157
  860. package/lib/themes/index.d.ts +1 -0
  861. package/lib/themes/index.js +3 -1
  862. package/lib/thing/src/Thing.d.ts +16 -23
  863. package/lib/thing/src/Thing.js +19 -23
  864. package/lib/time/src/Time.d.ts +18 -18
  865. package/lib/time-picker/index.d.ts +1 -0
  866. package/lib/time-picker/src/Panel.d.ts +75 -72
  867. package/lib/time-picker/src/PanelCol.d.ts +15 -12
  868. package/lib/time-picker/src/TimePicker.d.ts +99 -86
  869. package/lib/time-picker/src/TimePicker.js +17 -41
  870. package/lib/time-picker/src/interface.d.ts +6 -2
  871. package/lib/time-picker/src/interface.js +2 -1
  872. package/lib/timeline/src/Timeline.d.ts +21 -24
  873. package/lib/timeline/src/Timeline.js +2 -1
  874. package/lib/timeline/src/TimelineItem.d.ts +10 -14
  875. package/lib/timeline/src/TimelineItem.js +3 -3
  876. package/lib/tooltip/src/Tooltip.d.ts +82 -77
  877. package/lib/transfer/src/Transfer.d.ts +39 -43
  878. package/lib/transfer/src/TransferFilter.d.ts +17 -16
  879. package/lib/transfer/src/TransferHeader.d.ts +11 -10
  880. package/lib/transfer/src/TransferList.d.ts +35 -19
  881. package/lib/transfer/src/TransferListItem.d.ts +18 -11
  882. package/lib/transfer/src/interface.d.ts +2 -2
  883. package/lib/transfer/src/interface.js +2 -1
  884. package/lib/tree/src/MotionWrapper.d.ts +19 -14
  885. package/lib/tree/src/Tree.d.ts +124 -135
  886. package/lib/tree/src/TreeNode.d.ts +10 -7
  887. package/lib/tree/src/TreeNodeCheckbox.d.ts +11 -16
  888. package/lib/tree/src/TreeNodeContent.d.ts +15 -18
  889. package/lib/tree/src/TreeNodeSwitcher.d.ts +10 -14
  890. package/lib/tree/src/interface.d.ts +2 -2
  891. package/lib/tree/src/interface.js +2 -1
  892. package/lib/tree-select/src/TreeSelect.d.ts +112 -97
  893. package/lib/tree-select/src/TreeSelect.js +1 -3
  894. package/lib/tree-select/src/interface.d.ts +2 -2
  895. package/lib/tree-select/src/interface.js +2 -1
  896. package/lib/tree-select/styles/light.d.ts +1 -0
  897. package/lib/typography/src/a.d.ts +8 -12
  898. package/lib/typography/src/blockquote.d.ts +9 -15
  899. package/lib/typography/src/create-header.d.ts +14 -19
  900. package/lib/typography/src/headers.d.ts +84 -114
  901. package/lib/typography/src/hr.d.ts +8 -12
  902. package/lib/typography/src/li.d.ts +1 -1
  903. package/lib/typography/src/ol.d.ts +9 -15
  904. package/lib/typography/src/p.d.ts +9 -14
  905. package/lib/typography/src/text.d.ts +24 -31
  906. package/lib/typography/src/text.js +3 -2
  907. package/lib/typography/src/ul.d.ts +9 -15
  908. package/lib/upload/src/Upload.d.ts +85 -84
  909. package/lib/upload/src/Upload.js +5 -2
  910. package/lib/upload/src/UploadDragger.d.ts +1 -1
  911. package/lib/upload/src/UploadFile.d.ts +14 -9
  912. package/lib/upload/src/UploadFileList.d.ts +1 -1
  913. package/lib/upload/src/UploadProgress.d.ts +11 -9
  914. package/lib/upload/src/UploadTrigger.d.ts +3 -5
  915. package/lib/upload/src/interface.d.ts +3 -2
  916. package/lib/upload/src/interface.js +2 -1
  917. package/lib/version.d.ts +1 -1
  918. package/lib/version.js +1 -1
  919. package/package.json +9 -9
  920. package/volar.d.ts +144 -0
  921. package/web-types.json +125 -18
@@ -1,5 +1,5 @@
1
- import { PropType, Ref, InjectionKey } from 'vue';
2
- import type { ExtractPublicPropTypes } from '../../_utils';
1
+ import { PropType, Ref } from 'vue';
2
+ import { ExtractPublicPropTypes } from '../../_utils';
3
3
  declare const listProps: {
4
4
  size: {
5
5
  type: PropType<"small" | "medium" | "large">;
@@ -47,7 +47,7 @@ export declare type ListProps = ExtractPublicPropTypes<typeof listProps>;
47
47
  interface ListInjection {
48
48
  mergedClsPrefixRef: Ref<string>;
49
49
  }
50
- export declare const listInjectionKey: InjectionKey<ListInjection>;
50
+ export declare const listInjectionKey: import("vue").InjectionKey<ListInjection>;
51
51
  declare const _default: import("vue").DefineComponent<{
52
52
  size: {
53
53
  type: PropType<"small" | "medium" | "large">;
@@ -104,17 +104,16 @@ declare const _default: import("vue").DefineComponent<{
104
104
  '--n-color-modal': string;
105
105
  '--n-color-popover': string;
106
106
  }>;
107
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
108
- size?: unknown;
109
- bordered?: unknown;
110
- theme?: unknown;
111
- themeOverrides?: unknown;
112
- builtinThemeOverrides?: unknown;
113
- } & {
114
- size: "small" | "medium" | "large";
115
- bordered: boolean;
116
- } & {
117
- theme?: import("../../_mixins").Theme<"List", {
107
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
108
+ size: {
109
+ type: PropType<"small" | "medium" | "large">;
110
+ default: string;
111
+ };
112
+ bordered: {
113
+ type: BooleanConstructor;
114
+ default: boolean;
115
+ };
116
+ theme: PropType<import("../../_mixins").Theme<"List", {
118
117
  textColor: string;
119
118
  color: string;
120
119
  colorModal: string;
@@ -124,8 +123,8 @@ declare const _default: import("vue").DefineComponent<{
124
123
  borderColorPopover: string;
125
124
  borderRadius: string;
126
125
  fontSize: string;
127
- }, any> | undefined;
128
- themeOverrides?: import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"List", {
126
+ }, any>>;
127
+ themeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"List", {
129
128
  textColor: string;
130
129
  color: string;
131
130
  colorModal: string;
@@ -135,8 +134,8 @@ declare const _default: import("vue").DefineComponent<{
135
134
  borderColorPopover: string;
136
135
  borderRadius: string;
137
136
  fontSize: string;
138
- }, any>> | undefined;
139
- builtinThemeOverrides?: import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"List", {
137
+ }, any>>>;
138
+ builtinThemeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"List", {
140
139
  textColor: string;
141
140
  color: string;
142
141
  colorModal: string;
@@ -146,8 +145,8 @@ declare const _default: import("vue").DefineComponent<{
146
145
  borderColorPopover: string;
147
146
  borderRadius: string;
148
147
  fontSize: string;
149
- }, any>> | undefined;
150
- }>, {
148
+ }, any>>>;
149
+ }>>, {
151
150
  size: "small" | "medium" | "large";
152
151
  bordered: boolean;
153
152
  }>;
@@ -6,6 +6,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.listInjectionKey = void 0;
7
7
  const vue_1 = require("vue");
8
8
  const _mixins_1 = require("../../_mixins");
9
+ const _utils_1 = require("../../_utils");
9
10
  const styles_1 = require("../styles");
10
11
  const index_cssr_1 = __importDefault(require("./styles/index.cssr"));
11
12
  const listProps = Object.assign(Object.assign({}, _mixins_1.useTheme.props), { size: {
@@ -15,7 +16,7 @@ const listProps = Object.assign(Object.assign({}, _mixins_1.useTheme.props), { s
15
16
  type: Boolean,
16
17
  default: false
17
18
  } });
18
- exports.listInjectionKey = Symbol('list');
19
+ exports.listInjectionKey = (0, _utils_1.createInjectionKey)('n-list');
19
20
  exports.default = (0, vue_1.defineComponent)({
20
21
  name: 'List',
21
22
  props: listProps,
@@ -45,13 +46,14 @@ exports.default = (0, vue_1.defineComponent)({
45
46
  };
46
47
  },
47
48
  render() {
49
+ var _a;
48
50
  const { $slots, mergedClsPrefix } = this;
49
51
  return ((0, vue_1.h)("ul", { class: [
50
52
  `${mergedClsPrefix}-list`,
51
53
  this.bordered && `${mergedClsPrefix}-list--bordered`
52
54
  ], style: this.cssVars },
53
- $slots.header ? ((0, vue_1.h)("div", { class: `${mergedClsPrefix}-list__header` }, (0, vue_1.renderSlot)($slots, 'header'))) : null,
54
- (0, vue_1.renderSlot)($slots, 'default'),
55
- $slots.footer ? ((0, vue_1.h)("div", { class: `${mergedClsPrefix}-list__footer` }, (0, vue_1.renderSlot)($slots, 'footer'))) : null));
55
+ $slots.header ? ((0, vue_1.h)("div", { class: `${mergedClsPrefix}-list__header` }, $slots.header())) : null, (_a = $slots.default) === null || _a === void 0 ? void 0 :
56
+ _a.call($slots),
57
+ $slots.footer ? ((0, vue_1.h)("div", { class: `${mergedClsPrefix}-list__footer` }, $slots.footer())) : null));
56
58
  }
57
59
  });
@@ -1,4 +1,4 @@
1
1
  declare const _default: import("vue").DefineComponent<{}, {
2
2
  mergedClsPrefix: import("vue").Ref<string>;
3
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{} & {} & {}>, {}>;
3
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
4
4
  export default _default;
@@ -17,8 +17,8 @@ exports.default = (0, vue_1.defineComponent)({
17
17
  render() {
18
18
  const { $slots, mergedClsPrefix } = this;
19
19
  return ((0, vue_1.h)("li", { class: `${mergedClsPrefix}-list-item` },
20
- $slots.prefix ? ((0, vue_1.h)("div", { class: `${mergedClsPrefix}-list-item__prefix` }, (0, vue_1.renderSlot)($slots, 'prefix'))) : null,
20
+ $slots.prefix ? ((0, vue_1.h)("div", { class: `${mergedClsPrefix}-list-item__prefix` }, $slots.prefix())) : null,
21
21
  $slots.default ? ((0, vue_1.h)("div", { class: `${mergedClsPrefix}-list-item__main` }, $slots)) : null,
22
- $slots.suffix ? ((0, vue_1.h)("div", { class: `${mergedClsPrefix}-list-item__suffix` }, (0, vue_1.renderSlot)($slots, 'suffix'))) : null));
22
+ $slots.suffix ? ((0, vue_1.h)("div", { class: `${mergedClsPrefix}-list-item__suffix` }, $slots.suffix())) : null));
23
23
  }
24
24
  });
@@ -17,5 +17,5 @@ declare const _default: import("vue").DefineComponent<{}, {
17
17
  '--n-color-loading': string;
18
18
  '--n-color-error': string;
19
19
  }>;
20
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{} & {} & {}>, {}>;
20
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
21
21
  export default _default;
@@ -1,5 +1,5 @@
1
- import { PropType, ExtractPropTypes, InjectionKey, Ref, CSSProperties } from 'vue';
2
- import type { ExtractPublicPropTypes } from '../../_utils';
1
+ import { PropType, ExtractPropTypes, Ref, CSSProperties } from 'vue';
2
+ import { ExtractPublicPropTypes } from '../../_utils';
3
3
  interface LoadingBarInst {
4
4
  start: () => void;
5
5
  error: () => void;
@@ -36,11 +36,11 @@ declare const loadingBarProps: {
36
36
  };
37
37
  export declare type LoadingBarProviderProps = ExtractPublicPropTypes<typeof loadingBarProps>;
38
38
  export declare type LoadingBarProviderSetupProps = ExtractPropTypes<typeof loadingBarProps>;
39
- export declare const loadingBarProviderInjectionKey: InjectionKey<{
39
+ export declare const loadingBarProviderInjectionKey: import("vue").InjectionKey<{
40
40
  props: LoadingBarProviderSetupProps;
41
41
  mergedClsPrefixRef: Ref<string>;
42
42
  }>;
43
- export declare const loadingBarApiInjectionKey: InjectionKey<LoadingBarApiInjection>;
43
+ export declare const loadingBarApiInjectionKey: import("vue").InjectionKey<LoadingBarInst>;
44
44
  declare const _default: import("vue").DefineComponent<{
45
45
  to: {
46
46
  type: PropType<string | HTMLElement>;
@@ -73,34 +73,33 @@ declare const _default: import("vue").DefineComponent<{
73
73
  error: () => void;
74
74
  finish: () => void;
75
75
  } | null>;
76
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
77
- to?: unknown;
78
- loadingBarStyle?: unknown;
79
- theme?: unknown;
80
- themeOverrides?: unknown;
81
- builtinThemeOverrides?: unknown;
82
- } & {} & {
83
- to?: string | HTMLElement | undefined;
84
- theme?: import("../../_mixins").Theme<"LoadingBar", {
76
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
77
+ to: {
78
+ type: PropType<string | HTMLElement>;
79
+ default: undefined;
80
+ };
81
+ loadingBarStyle: {
82
+ type: PropType<{
83
+ loading?: string | CSSProperties | undefined;
84
+ error?: string | CSSProperties | undefined;
85
+ }>;
86
+ };
87
+ theme: PropType<import("../../_mixins").Theme<"LoadingBar", {
85
88
  colorError: string;
86
89
  colorLoading: string;
87
90
  height: string;
88
- }, any> | undefined;
89
- themeOverrides?: import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"LoadingBar", {
91
+ }, any>>;
92
+ themeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"LoadingBar", {
90
93
  colorError: string;
91
94
  colorLoading: string;
92
95
  height: string;
93
- }, any>> | undefined;
94
- builtinThemeOverrides?: import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"LoadingBar", {
96
+ }, any>>>;
97
+ builtinThemeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"LoadingBar", {
95
98
  colorError: string;
96
99
  colorLoading: string;
97
100
  height: string;
98
- }, any>> | undefined;
99
- loadingBarStyle?: {
100
- loading?: string | CSSProperties | undefined;
101
- error?: string | CSSProperties | undefined;
102
- } | undefined;
103
- }>, {
101
+ }, any>>>;
102
+ }>>, {
104
103
  to: string | HTMLElement;
105
104
  }>;
106
105
  export default _default;
@@ -8,14 +8,15 @@ const vue_1 = require("vue");
8
8
  const vooks_1 = require("vooks");
9
9
  const _mixins_1 = require("../../_mixins");
10
10
  const LoadingBar_1 = __importDefault(require("./LoadingBar"));
11
+ const _utils_1 = require("../../_utils");
11
12
  const loadingBarProps = Object.assign(Object.assign({}, _mixins_1.useTheme.props), { to: {
12
13
  type: [String, Object],
13
14
  default: undefined
14
15
  }, loadingBarStyle: {
15
16
  type: Object
16
17
  } });
17
- exports.loadingBarProviderInjectionKey = Symbol('loadingBar');
18
- exports.loadingBarApiInjectionKey = Symbol('loadingBarApi');
18
+ exports.loadingBarProviderInjectionKey = (0, _utils_1.createInjectionKey)('n-loading-bar');
19
+ exports.loadingBarApiInjectionKey = (0, _utils_1.createInjectionKey)('n-loading-bar-api');
19
20
  exports.default = (0, vue_1.defineComponent)({
20
21
  name: 'LoadingBarProvider',
21
22
  props: loadingBarProps,
@@ -71,10 +72,10 @@ exports.default = (0, vue_1.defineComponent)({
71
72
  });
72
73
  },
73
74
  render() {
74
- var _a;
75
+ var _a, _b, _c;
75
76
  return ((0, vue_1.h)(vue_1.Fragment, null,
76
77
  (0, vue_1.h)(vue_1.Teleport, { to: (_a = this.to) !== null && _a !== void 0 ? _a : 'body' },
77
- (0, vue_1.h)(LoadingBar_1.default, { ref: "loadingBarRef" })),
78
- (0, vue_1.renderSlot)(this.$slots, 'default')));
78
+ (0, vue_1.h)(LoadingBar_1.default, { ref: "loadingBarRef" })), (_c = (_b = this.$slots).default) === null || _c === void 0 ? void 0 :
79
+ _c.call(_b)));
79
80
  }
80
81
  });
@@ -0,0 +1,109 @@
1
+ declare const esAR: {
2
+ name: string;
3
+ global: {
4
+ undo: string;
5
+ redo: string;
6
+ confirm: string;
7
+ };
8
+ Popconfirm: {
9
+ positiveText: string;
10
+ negativeText: string;
11
+ };
12
+ Cascader: {
13
+ placeholder: string;
14
+ loading: string;
15
+ loadingRequiredMessage: (label: string) => string;
16
+ };
17
+ Time: {
18
+ dateFormat: string;
19
+ dateTimeFormat: string;
20
+ };
21
+ DatePicker: {
22
+ yearFormat: string;
23
+ monthFormat: string;
24
+ dayFormat: string;
25
+ yearTypeFormat: string;
26
+ monthTypeFormat: string;
27
+ dateFormat: string;
28
+ dateTimeFormat: string;
29
+ quarterFormat: string;
30
+ clear: string;
31
+ now: string;
32
+ confirm: string;
33
+ selectTime: string;
34
+ selectDate: string;
35
+ datePlaceholder: string;
36
+ datetimePlaceholder: string;
37
+ monthPlaceholder: string;
38
+ yearPlaceholder: string;
39
+ quarterPlaceholder: string;
40
+ startDatePlaceholder: string;
41
+ endDatePlaceholder: string;
42
+ startDatetimePlaceholder: string;
43
+ endDatetimePlaceholder: string;
44
+ monthBeforeYear: boolean;
45
+ firstDayOfWeek: 0 | 2 | 1 | 3 | 4 | 5 | 6;
46
+ today: string;
47
+ };
48
+ DataTable: {
49
+ checkTableAll: string;
50
+ uncheckTableAll: string;
51
+ confirm: string;
52
+ clear: string;
53
+ };
54
+ Transfer: {
55
+ sourceTitle: string;
56
+ targetTitle: string;
57
+ };
58
+ Empty: {
59
+ description: string;
60
+ };
61
+ Select: {
62
+ placeholder: string;
63
+ };
64
+ TimePicker: {
65
+ placeholder: string;
66
+ positiveText: string;
67
+ negativeText: string;
68
+ now: string;
69
+ };
70
+ Pagination: {
71
+ goto: string;
72
+ selectionSuffix: string;
73
+ };
74
+ DynamicTags: {
75
+ add: string;
76
+ };
77
+ Log: {
78
+ loading: string;
79
+ };
80
+ Input: {
81
+ placeholder: string;
82
+ };
83
+ InputNumber: {
84
+ placeholder: string;
85
+ };
86
+ DynamicInput: {
87
+ create: string;
88
+ };
89
+ ThemeEditor: {
90
+ title: string;
91
+ clearAllVars: string;
92
+ clearSearch: string;
93
+ filterCompName: string;
94
+ filterVarName: string;
95
+ import: string;
96
+ export: string;
97
+ restore: string;
98
+ };
99
+ Image: {
100
+ tipPrevious: string;
101
+ tipNext: string;
102
+ tipCounterclockwise: string;
103
+ tipClockwise: string;
104
+ tipZoomOut: string;
105
+ tipZoomIn: string;
106
+ tipClose: string;
107
+ };
108
+ };
109
+ export default esAR;
@@ -0,0 +1,112 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const esAR = {
4
+ name: 'es-AR',
5
+ global: {
6
+ undo: 'Deshacer',
7
+ redo: 'Rehacer',
8
+ confirm: 'Confirmar'
9
+ },
10
+ Popconfirm: {
11
+ positiveText: 'Confirmar',
12
+ negativeText: 'Cancelar'
13
+ },
14
+ Cascader: {
15
+ placeholder: 'Seleccionar por pavor',
16
+ loading: 'Cargando',
17
+ loadingRequiredMessage: (label) => `Por favor, cargue los descendientes de ${label} antes de marcarlo.`
18
+ },
19
+ Time: {
20
+ dateFormat: 'yyyy-MM-dd',
21
+ dateTimeFormat: 'yyyy-MM-dd HH:mm:ss'
22
+ },
23
+ DatePicker: {
24
+ yearFormat: 'yyyy',
25
+ monthFormat: 'MMM',
26
+ dayFormat: 'eeeeee',
27
+ yearTypeFormat: 'yyyy',
28
+ monthTypeFormat: 'yyyy-MM',
29
+ dateFormat: 'yyyy-MM-dd',
30
+ dateTimeFormat: 'yyyy-MM-dd HH:mm:ss',
31
+ quarterFormat: 'yyyy-qqq',
32
+ clear: 'Borrar',
33
+ now: 'Ahora',
34
+ confirm: 'Confirmar',
35
+ selectTime: 'Seleccionar hora',
36
+ selectDate: 'Seleccionar fecha',
37
+ datePlaceholder: 'Seleccionar fecha',
38
+ datetimePlaceholder: 'Seleccionar fecha y hora',
39
+ monthPlaceholder: 'Seleccionar mes',
40
+ yearPlaceholder: 'Seleccionar año',
41
+ quarterPlaceholder: 'Seleccionar Trimestre',
42
+ startDatePlaceholder: 'Fecha de inicio',
43
+ endDatePlaceholder: 'Fecha final',
44
+ startDatetimePlaceholder: 'Fecha y hora de inicio',
45
+ endDatetimePlaceholder: 'Fecha y hora final',
46
+ monthBeforeYear: true,
47
+ // 0 is Monday / 0 es Lunes
48
+ firstDayOfWeek: 6,
49
+ today: 'Hoy'
50
+ },
51
+ DataTable: {
52
+ checkTableAll: 'Seleccionar todo de la tabla',
53
+ uncheckTableAll: 'Deseleccionar todo de la tabla',
54
+ confirm: 'Confirmar',
55
+ clear: 'Limpiar'
56
+ },
57
+ Transfer: {
58
+ sourceTitle: 'Fuente',
59
+ targetTitle: 'Objetivo'
60
+ },
61
+ Empty: {
62
+ description: 'Sin datos'
63
+ },
64
+ Select: {
65
+ placeholder: 'Seleccionar por pavor'
66
+ },
67
+ TimePicker: {
68
+ placeholder: 'Seleccionar hora',
69
+ positiveText: 'OK',
70
+ negativeText: 'Cancelar',
71
+ now: 'Ahora'
72
+ },
73
+ Pagination: {
74
+ goto: 'Ir a',
75
+ selectionSuffix: 'página'
76
+ },
77
+ DynamicTags: {
78
+ add: 'Agregar'
79
+ },
80
+ Log: {
81
+ loading: 'Cargando'
82
+ },
83
+ Input: {
84
+ placeholder: 'Ingrese datos por favor'
85
+ },
86
+ InputNumber: {
87
+ placeholder: 'Ingrese datos por favor'
88
+ },
89
+ DynamicInput: {
90
+ create: 'Crear'
91
+ },
92
+ ThemeEditor: {
93
+ title: 'Editor de Tema',
94
+ clearAllVars: 'Limpiar todas las variables',
95
+ clearSearch: 'Limpiar búsqueda',
96
+ filterCompName: 'Filtro para nombre del componente',
97
+ filterVarName: 'Filtro para nombre de la variable',
98
+ import: 'Importar',
99
+ export: 'Exportar',
100
+ restore: 'Restablecer los valores por defecto'
101
+ },
102
+ Image: {
103
+ tipPrevious: 'Imagen anterior (←)',
104
+ tipNext: 'Siguiente imagen (→)',
105
+ tipCounterclockwise: 'Sentido antihorario',
106
+ tipClockwise: 'Sentido horario',
107
+ tipZoomOut: 'Alejar',
108
+ tipZoomIn: 'Acercar',
109
+ tipClose: 'Cerrar (Esc)'
110
+ }
111
+ };
112
+ exports.default = esAR;
@@ -0,0 +1,3 @@
1
+ import type { NLocale } from './enUS';
2
+ declare const itIT: NLocale;
3
+ export default itIT;
@@ -0,0 +1,111 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const itIT = {
4
+ name: 'it-IT',
5
+ global: {
6
+ undo: 'Annulla',
7
+ redo: 'Ripeti',
8
+ confirm: 'Conferma'
9
+ },
10
+ Popconfirm: {
11
+ positiveText: 'Conferma',
12
+ negativeText: 'Annulla'
13
+ },
14
+ Cascader: {
15
+ placeholder: 'Si prega di selezionare',
16
+ loading: 'Caricamento',
17
+ loadingRequiredMessage: (label) => `Carica tutti i discendenti di ${label} prima di controllarlo.`
18
+ },
19
+ Time: {
20
+ dateFormat: 'dd/MM/yyyy',
21
+ dateTimeFormat: 'dd/MM/yyyy HH:mm:ss'
22
+ },
23
+ DatePicker: {
24
+ yearFormat: 'yyyy',
25
+ monthFormat: 'MMM',
26
+ dayFormat: 'eeeeee',
27
+ yearTypeFormat: 'yyyy',
28
+ monthTypeFormat: 'yyyy-MM',
29
+ dateFormat: 'yyyy-MM-dd',
30
+ dateTimeFormat: 'yyyy-MM-dd HH:mm:ss',
31
+ quarterFormat: 'yyyy-qqq',
32
+ clear: 'Cancella',
33
+ now: 'Adesso',
34
+ confirm: 'Conferma',
35
+ selectTime: 'Seleziona ora',
36
+ selectDate: 'Seleziona data',
37
+ datePlaceholder: 'Seleziona data',
38
+ datetimePlaceholder: 'Seleziona data e ora',
39
+ monthPlaceholder: 'Seleziona mese',
40
+ yearPlaceholder: 'Seleziona anno',
41
+ quarterPlaceholder: 'Seleziona trimestre',
42
+ startDatePlaceholder: 'Data inizio',
43
+ endDatePlaceholder: 'Data fine',
44
+ startDatetimePlaceholder: 'Data e ora di inizio',
45
+ endDatetimePlaceholder: 'Data e ora di fine',
46
+ monthBeforeYear: true,
47
+ firstDayOfWeek: 0,
48
+ today: 'Oggi'
49
+ },
50
+ DataTable: {
51
+ checkTableAll: 'Seleziona tutto nella tabella',
52
+ uncheckTableAll: 'Deseleziona tutto nella tabella',
53
+ confirm: 'Conferma',
54
+ clear: 'Cancella'
55
+ },
56
+ Transfer: {
57
+ sourceTitle: 'Fonte',
58
+ targetTitle: 'Destinazione'
59
+ },
60
+ Empty: {
61
+ description: 'Nessun Dato'
62
+ },
63
+ Select: {
64
+ placeholder: 'Si prega di selezionare'
65
+ },
66
+ TimePicker: {
67
+ placeholder: 'Seleziona ora',
68
+ positiveText: 'OK',
69
+ negativeText: 'Annulla',
70
+ now: 'Ora'
71
+ },
72
+ Pagination: {
73
+ goto: 'Vai a',
74
+ selectionSuffix: 'per pagina'
75
+ },
76
+ DynamicTags: {
77
+ add: 'Aggiungi'
78
+ },
79
+ Log: {
80
+ loading: 'Caricamento'
81
+ },
82
+ Input: {
83
+ placeholder: 'Si prega di inserire'
84
+ },
85
+ InputNumber: {
86
+ placeholder: 'Si prega di inserire'
87
+ },
88
+ DynamicInput: {
89
+ create: 'Crea'
90
+ },
91
+ ThemeEditor: {
92
+ title: 'Editor Tema',
93
+ clearAllVars: 'Cancella tutte le variabili',
94
+ clearSearch: 'Cancella ricerca',
95
+ filterCompName: 'Filtra componenti',
96
+ filterVarName: 'Filtra variabili',
97
+ import: 'Importa',
98
+ export: 'Esporta',
99
+ restore: 'Ripristina'
100
+ },
101
+ Image: {
102
+ tipPrevious: 'Immagine precedente (←)',
103
+ tipNext: 'Immagine successiva (→)',
104
+ tipCounterclockwise: 'Ruota a sinistra',
105
+ tipClockwise: 'Ruota a destra',
106
+ tipZoomOut: 'Ingrandisci',
107
+ tipZoomIn: 'Riduci',
108
+ tipClose: 'Chiudi (Esc)'
109
+ }
110
+ };
111
+ exports.default = itIT;
@@ -0,0 +1,3 @@
1
+ import { NDateLocale } from './enUS';
2
+ declare const dateEsAR: NDateLocale;
3
+ export default dateEsAR;
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ const es_1 = __importDefault(require("date-fns/locale/es"));
7
+ const dateEsAR = {
8
+ name: 'es-AR',
9
+ locale: es_1.default
10
+ };
11
+ exports.default = dateEsAR;
@@ -0,0 +1,3 @@
1
+ import { NDateLocale } from './enUS';
2
+ declare const dateItIT: NDateLocale;
3
+ export default dateItIT;
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ const it_1 = __importDefault(require("date-fns/locale/it"));
7
+ const dateItIT = {
8
+ name: 'it-IT',
9
+ locale: it_1.default
10
+ };
11
+ exports.default = dateItIT;
@@ -8,6 +8,8 @@ export { default as idID } from './common/idID';
8
8
  export { default as deDE } from './common/deDE';
9
9
  export { default as nbNO } from './common/nbNO';
10
10
  export { default as frFR } from './common/frFR';
11
+ export { default as esAR } from './common/esAR';
12
+ export { default as itIT } from './common/itIT';
11
13
  export { default as dateZhCN } from './date/zhCN';
12
14
  export { default as dateZhTW } from './date/zhTW';
13
15
  export { default as dateEnUS } from './date/enUS';
@@ -18,6 +20,8 @@ export { default as dateIdID } from './date/idID';
18
20
  export { default as dateDeDE } from './date/deDE';
19
21
  export { default as dateNbNO } from './date/nbNO';
20
22
  export { default as dateFrFR } from './date/frFR';
23
+ export { default as dateEsAR } from './date/esAR';
24
+ export { default as dateItIT } from './date/itIT';
21
25
  export type { NLocale } from './common/enUS';
22
26
  export type { NDateLocale } from './date/enUS';
23
27
  export type { NPartialLocale } from './utils/index';