naive-ui 2.23.2 → 2.24.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 (314) hide show
  1. package/README.md +1 -1
  2. package/README.zh-CN.md +1 -1
  3. package/es/_internal/icons/Switcher.js +2 -3
  4. package/es/_internal/selection/src/styles/index.cssr.js +1 -1
  5. package/es/_internal/selection/styles/_common.js +1 -1
  6. package/es/auto-complete/src/AutoComplete.d.ts +12 -12
  7. package/es/auto-complete/src/AutoComplete.js +13 -15
  8. package/es/back-top/src/BackTop.d.ts +3 -3
  9. package/es/calendar/src/Calendar.d.ts +5 -1
  10. package/es/calendar/src/Calendar.js +16 -4
  11. package/es/calendar/src/interface.d.ts +4 -0
  12. package/es/carousel/index.d.ts +1 -0
  13. package/es/carousel/index.js +1 -0
  14. package/es/carousel/src/Carousel.d.ts +235 -19
  15. package/es/carousel/src/Carousel.js +683 -229
  16. package/es/carousel/src/CarouselArrow.d.ts +9 -0
  17. package/es/carousel/src/CarouselArrow.js +43 -0
  18. package/es/carousel/src/CarouselDots.d.ts +66 -0
  19. package/es/carousel/src/CarouselDots.js +118 -0
  20. package/es/carousel/src/CarouselItem.d.ts +11 -0
  21. package/es/carousel/src/CarouselItem.js +72 -0
  22. package/es/carousel/src/interface.d.ts +28 -0
  23. package/es/carousel/src/interface.js +2 -0
  24. package/es/carousel/src/styles/index.cssr.js +141 -38
  25. package/es/carousel/src/utils.d.ts +12 -0
  26. package/es/carousel/src/utils.js +58 -0
  27. package/es/carousel/styles/light.d.ts +3 -0
  28. package/es/carousel/styles/light.js +5 -2
  29. package/es/cascader/src/Cascader.d.ts +6 -2
  30. package/es/cascader/src/Cascader.js +2 -1
  31. package/es/cascader/src/CascaderOption.d.ts +1 -0
  32. package/es/cascader/src/CascaderOption.js +7 -4
  33. package/es/cascader/src/interface.d.ts +2 -1
  34. package/es/checkbox/src/styles/index.cssr.js +1 -1
  35. package/es/code/src/Code.d.ts +5 -0
  36. package/es/code/src/Code.js +6 -3
  37. package/es/code/src/styles/index.cssr.js +2 -2
  38. package/es/color-picker/src/ColorInputUnit.js +2 -2
  39. package/es/color-picker/src/ColorPicker.d.ts +13 -5
  40. package/es/color-picker/src/ColorPicker.js +19 -10
  41. package/es/color-picker/src/ColorPickerTrigger.d.ts +1 -1
  42. package/es/color-picker/src/ColorPickerTrigger.js +23 -17
  43. package/es/color-picker/src/interface.d.ts +2 -0
  44. package/es/color-picker/src/styles/index.cssr.js +1 -0
  45. package/es/config-provider/src/ConfigProvider.d.ts +27 -0
  46. package/es/data-table/src/DataTable.d.ts +10 -55
  47. package/es/data-table/src/DataTable.js +23 -49
  48. package/es/data-table/src/interface.d.ts +1 -1
  49. package/es/data-table/src/styles/index.cssr.js +4 -1
  50. package/es/data-table/src/utils.js +4 -1
  51. package/es/date-picker/src/DatePicker.d.ts +26 -22
  52. package/es/date-picker/src/DatePicker.js +99 -49
  53. package/es/date-picker/src/interface.d.ts +17 -2
  54. package/es/date-picker/src/panel/use-calendar.js +2 -2
  55. package/es/drawer/src/Drawer.d.ts +18 -58
  56. package/es/drawer/src/Drawer.js +32 -49
  57. package/es/drawer/src/DrawerBodyWrapper.js +21 -13
  58. package/es/drawer/src/DrawerContent.js +6 -6
  59. package/es/dropdown/src/Dropdown.d.ts +5 -0
  60. package/es/form/src/Feedbacks.js +4 -1
  61. package/es/form/src/Form.d.ts +7 -7
  62. package/es/form/src/Form.js +17 -8
  63. package/es/form/src/FormItem.d.ts +12 -7
  64. package/es/form/src/FormItem.js +24 -12
  65. package/es/form/src/FormItemCol.d.ts +8 -4
  66. package/es/form/src/FormItemGridItem.d.ts +8 -4
  67. package/es/form/src/FormItemRow.d.ts +7 -3
  68. package/es/form/src/interface.d.ts +6 -2
  69. package/es/form/src/styles/form-item.cssr.js +2 -0
  70. package/es/form/src/utils.d.ts +2 -2
  71. package/es/form/src/utils.js +29 -18
  72. package/es/image/src/Image.d.ts +279 -10
  73. package/es/image/src/Image.js +4 -17
  74. package/es/image/src/ImageGroup.d.ts +272 -2
  75. package/es/image/src/ImageGroup.js +5 -8
  76. package/es/image/src/ImagePreview.d.ts +195 -7
  77. package/es/image/src/ImagePreview.js +50 -31
  78. package/es/image/src/interface.d.ts +94 -0
  79. package/es/image/src/interface.js +2 -1
  80. package/es/image/src/styles/index.cssr.js +8 -4
  81. package/es/image/styles/dark.js +8 -1
  82. package/es/image/styles/light.d.ts +32 -3
  83. package/es/image/styles/light.js +8 -1
  84. package/es/input-number/src/utils.js +2 -2
  85. package/es/locales/common/deDE.js +10 -0
  86. package/es/locales/common/enUS.d.ts +9 -0
  87. package/es/locales/common/enUS.js +10 -0
  88. package/es/locales/common/frFR.js +10 -0
  89. package/es/locales/common/idID.js +10 -0
  90. package/es/locales/common/jaJP.js +10 -0
  91. package/es/locales/common/nbNO.js +10 -0
  92. package/es/locales/common/ruRU.js +10 -0
  93. package/es/locales/common/ukUA.js +10 -0
  94. package/es/locales/common/zhCN.js +9 -0
  95. package/es/locales/common/zhTW.js +10 -0
  96. package/es/mention/src/utils.js +0 -1
  97. package/es/message/index.d.ts +2 -1
  98. package/es/message/src/Message.d.ts +191 -19
  99. package/es/message/src/Message.js +13 -11
  100. package/es/message/src/MessageEnvironment.d.ts +3 -3
  101. package/es/message/src/MessageProvider.d.ts +5 -10
  102. package/es/message/src/MessageProvider.js +1 -1
  103. package/es/message/src/message-props.d.ts +5 -2
  104. package/es/message/src/types.d.ts +15 -0
  105. package/es/message/src/types.js +1 -0
  106. package/es/modal/src/Modal.d.ts +5 -0
  107. package/es/modal/src/Modal.js +2 -1
  108. package/es/page-header/index.d.ts +1 -1
  109. package/es/page-header/src/PageHeader.d.ts +1 -1
  110. package/es/pagination/index.d.ts +1 -1
  111. package/es/pagination/src/Pagination.d.ts +8 -4
  112. package/es/pagination/src/Pagination.js +66 -19
  113. package/es/pagination/src/interface.d.ts +10 -1
  114. package/es/pagination/src/utils.d.ts +2 -2
  115. package/es/pagination/src/utils.js +2 -4
  116. package/es/popconfirm/src/Popconfirm.d.ts +5 -0
  117. package/es/popover/src/Popover.d.ts +7 -0
  118. package/es/popover/src/Popover.js +24 -1
  119. package/es/popover/src/PopoverBody.d.ts +5 -0
  120. package/es/popover/src/PopoverBody.js +28 -46
  121. package/es/popover/src/styles/index.cssr.js +9 -8
  122. package/es/popselect/src/Popselect.d.ts +62 -73
  123. package/es/popselect/src/Popselect.js +2 -2
  124. package/es/progress/src/Circle.d.ts +7 -0
  125. package/es/progress/src/Circle.js +8 -1
  126. package/es/progress/src/Line.d.ts +2 -2
  127. package/es/progress/src/Line.js +4 -1
  128. package/es/progress/src/Progress.d.ts +6 -2
  129. package/es/progress/src/Progress.js +2 -2
  130. package/es/progress/src/styles/index.cssr.js +16 -16
  131. package/es/radio/src/styles/radio.cssr.js +4 -1
  132. package/es/result/src/Result.js +9 -10
  133. package/es/result/src/styles/index.cssr.js +7 -7
  134. package/es/select/src/Select.d.ts +8 -27
  135. package/es/select/src/Select.js +16 -24
  136. package/es/slider/src/Slider.d.ts +2 -4
  137. package/es/tabs/index.d.ts +1 -0
  138. package/es/tabs/src/Tabs.d.ts +2 -2
  139. package/es/tabs/src/Tabs.js +25 -22
  140. package/es/tabs/src/interface.d.ts +3 -0
  141. package/es/time-picker/src/TimePicker.d.ts +22 -2
  142. package/es/time-picker/src/TimePicker.js +59 -29
  143. package/es/time-picker/src/interface.d.ts +4 -2
  144. package/es/tooltip/src/Tooltip.d.ts +5 -0
  145. package/es/tree/src/Tree.d.ts +5 -1
  146. package/es/tree/src/Tree.js +4 -2
  147. package/es/tree/src/TreeNodeSwitcher.d.ts +1 -1
  148. package/es/tree/src/TreeNodeSwitcher.js +25 -14
  149. package/es/tree/src/interface.d.ts +2 -0
  150. package/es/tree/src/styles/index.cssr.js +4 -2
  151. package/es/upload/src/Upload.d.ts +15 -6
  152. package/es/upload/src/Upload.js +18 -9
  153. package/es/upload/src/UploadFile.d.ts +5 -5
  154. package/es/upload/src/UploadFileList.js +2 -2
  155. package/es/upload/src/interface.d.ts +11 -4
  156. package/es/version.d.ts +1 -1
  157. package/es/version.js +1 -1
  158. package/lib/_internal/icons/Switcher.js +2 -3
  159. package/lib/_internal/selection/src/styles/index.cssr.js +1 -1
  160. package/lib/_internal/selection/styles/_common.js +1 -1
  161. package/lib/auto-complete/src/AutoComplete.d.ts +12 -12
  162. package/lib/auto-complete/src/AutoComplete.js +14 -16
  163. package/lib/back-top/src/BackTop.d.ts +3 -3
  164. package/lib/calendar/src/Calendar.d.ts +5 -1
  165. package/lib/calendar/src/Calendar.js +15 -3
  166. package/lib/calendar/src/interface.d.ts +4 -0
  167. package/lib/carousel/index.d.ts +1 -0
  168. package/lib/carousel/index.js +3 -1
  169. package/lib/carousel/src/Carousel.d.ts +235 -19
  170. package/lib/carousel/src/Carousel.js +681 -227
  171. package/lib/carousel/src/CarouselArrow.d.ts +9 -0
  172. package/lib/carousel/src/CarouselArrow.js +45 -0
  173. package/lib/carousel/src/CarouselDots.d.ts +66 -0
  174. package/lib/carousel/src/CarouselDots.js +120 -0
  175. package/lib/carousel/src/CarouselItem.d.ts +11 -0
  176. package/lib/carousel/src/CarouselItem.js +74 -0
  177. package/lib/carousel/src/interface.d.ts +28 -0
  178. package/lib/carousel/src/interface.js +6 -0
  179. package/lib/carousel/src/styles/index.cssr.js +141 -38
  180. package/lib/carousel/src/utils.d.ts +12 -0
  181. package/lib/carousel/src/utils.js +69 -0
  182. package/lib/carousel/styles/light.d.ts +3 -0
  183. package/lib/carousel/styles/light.js +5 -2
  184. package/lib/cascader/src/Cascader.d.ts +6 -2
  185. package/lib/cascader/src/Cascader.js +2 -1
  186. package/lib/cascader/src/CascaderOption.d.ts +1 -0
  187. package/lib/cascader/src/CascaderOption.js +7 -4
  188. package/lib/cascader/src/interface.d.ts +2 -1
  189. package/lib/checkbox/src/styles/index.cssr.js +1 -1
  190. package/lib/code/src/Code.d.ts +5 -0
  191. package/lib/code/src/Code.js +6 -3
  192. package/lib/code/src/styles/index.cssr.js +1 -1
  193. package/lib/color-picker/src/ColorInputUnit.js +1 -1
  194. package/lib/color-picker/src/ColorPicker.d.ts +13 -5
  195. package/lib/color-picker/src/ColorPicker.js +19 -10
  196. package/lib/color-picker/src/ColorPickerTrigger.d.ts +1 -1
  197. package/lib/color-picker/src/ColorPickerTrigger.js +22 -16
  198. package/lib/color-picker/src/interface.d.ts +2 -0
  199. package/lib/color-picker/src/styles/index.cssr.js +1 -0
  200. package/lib/config-provider/src/ConfigProvider.d.ts +27 -0
  201. package/lib/data-table/src/DataTable.d.ts +10 -55
  202. package/lib/data-table/src/DataTable.js +21 -47
  203. package/lib/data-table/src/interface.d.ts +1 -1
  204. package/lib/data-table/src/styles/index.cssr.js +4 -1
  205. package/lib/data-table/src/utils.js +3 -0
  206. package/lib/date-picker/src/DatePicker.d.ts +26 -22
  207. package/lib/date-picker/src/DatePicker.js +98 -48
  208. package/lib/date-picker/src/interface.d.ts +17 -2
  209. package/lib/date-picker/src/panel/use-calendar.js +2 -2
  210. package/lib/drawer/src/Drawer.d.ts +18 -58
  211. package/lib/drawer/src/Drawer.js +30 -47
  212. package/lib/drawer/src/DrawerBodyWrapper.js +21 -13
  213. package/lib/drawer/src/DrawerContent.js +6 -6
  214. package/lib/dropdown/src/Dropdown.d.ts +5 -0
  215. package/lib/form/src/Feedbacks.js +4 -1
  216. package/lib/form/src/Form.d.ts +7 -7
  217. package/lib/form/src/Form.js +16 -7
  218. package/lib/form/src/FormItem.d.ts +12 -7
  219. package/lib/form/src/FormItem.js +23 -11
  220. package/lib/form/src/FormItemCol.d.ts +8 -4
  221. package/lib/form/src/FormItemGridItem.d.ts +8 -4
  222. package/lib/form/src/FormItemRow.d.ts +7 -3
  223. package/lib/form/src/interface.d.ts +6 -2
  224. package/lib/form/src/styles/form-item.cssr.js +2 -0
  225. package/lib/form/src/utils.d.ts +2 -2
  226. package/lib/form/src/utils.js +29 -18
  227. package/lib/image/src/Image.d.ts +279 -10
  228. package/lib/image/src/Image.js +4 -17
  229. package/lib/image/src/ImageGroup.d.ts +272 -2
  230. package/lib/image/src/ImageGroup.js +4 -7
  231. package/lib/image/src/ImagePreview.d.ts +195 -7
  232. package/lib/image/src/ImagePreview.js +49 -30
  233. package/lib/image/src/interface.d.ts +94 -0
  234. package/lib/image/src/interface.js +3 -0
  235. package/lib/image/src/styles/index.cssr.js +8 -4
  236. package/lib/image/styles/dark.js +8 -1
  237. package/lib/image/styles/light.d.ts +32 -3
  238. package/lib/image/styles/light.js +8 -1
  239. package/lib/input-number/src/utils.js +2 -2
  240. package/lib/locales/common/deDE.js +10 -0
  241. package/lib/locales/common/enUS.d.ts +9 -0
  242. package/lib/locales/common/enUS.js +10 -0
  243. package/lib/locales/common/frFR.js +10 -0
  244. package/lib/locales/common/idID.js +10 -0
  245. package/lib/locales/common/jaJP.js +10 -0
  246. package/lib/locales/common/nbNO.js +10 -0
  247. package/lib/locales/common/ruRU.js +10 -0
  248. package/lib/locales/common/ukUA.js +10 -0
  249. package/lib/locales/common/zhCN.js +9 -0
  250. package/lib/locales/common/zhTW.js +10 -0
  251. package/lib/mention/src/utils.js +0 -1
  252. package/lib/message/index.d.ts +2 -1
  253. package/lib/message/src/Message.d.ts +191 -19
  254. package/lib/message/src/Message.js +13 -11
  255. package/lib/message/src/MessageEnvironment.d.ts +3 -3
  256. package/lib/message/src/MessageProvider.d.ts +5 -10
  257. package/lib/message/src/MessageProvider.js +1 -1
  258. package/lib/message/src/message-props.d.ts +5 -2
  259. package/lib/message/src/types.d.ts +15 -0
  260. package/lib/message/src/types.js +2 -0
  261. package/lib/modal/src/Modal.d.ts +5 -0
  262. package/lib/modal/src/Modal.js +2 -1
  263. package/lib/page-header/index.d.ts +1 -1
  264. package/lib/page-header/src/PageHeader.d.ts +1 -1
  265. package/lib/pagination/index.d.ts +1 -1
  266. package/lib/pagination/src/Pagination.d.ts +8 -4
  267. package/lib/pagination/src/Pagination.js +65 -18
  268. package/lib/pagination/src/interface.d.ts +10 -1
  269. package/lib/pagination/src/utils.d.ts +2 -2
  270. package/lib/pagination/src/utils.js +2 -4
  271. package/lib/popconfirm/src/Popconfirm.d.ts +5 -0
  272. package/lib/popover/src/Popover.d.ts +7 -0
  273. package/lib/popover/src/Popover.js +23 -0
  274. package/lib/popover/src/PopoverBody.d.ts +5 -0
  275. package/lib/popover/src/PopoverBody.js +27 -45
  276. package/lib/popover/src/styles/index.cssr.js +9 -8
  277. package/lib/popselect/src/Popselect.d.ts +62 -73
  278. package/lib/popselect/src/Popselect.js +2 -2
  279. package/lib/progress/src/Circle.d.ts +7 -0
  280. package/lib/progress/src/Circle.js +8 -1
  281. package/lib/progress/src/Line.d.ts +2 -2
  282. package/lib/progress/src/Line.js +4 -1
  283. package/lib/progress/src/Progress.d.ts +6 -2
  284. package/lib/progress/src/Progress.js +2 -2
  285. package/lib/progress/src/styles/index.cssr.js +16 -16
  286. package/lib/radio/src/styles/radio.cssr.js +4 -1
  287. package/lib/result/src/Result.js +8 -9
  288. package/lib/result/src/styles/index.cssr.js +6 -6
  289. package/lib/select/src/Select.d.ts +8 -27
  290. package/lib/select/src/Select.js +14 -22
  291. package/lib/slider/src/Slider.d.ts +2 -4
  292. package/lib/tabs/index.d.ts +1 -0
  293. package/lib/tabs/src/Tabs.d.ts +2 -2
  294. package/lib/tabs/src/Tabs.js +25 -22
  295. package/lib/tabs/src/interface.d.ts +3 -0
  296. package/lib/time-picker/src/TimePicker.d.ts +22 -2
  297. package/lib/time-picker/src/TimePicker.js +59 -29
  298. package/lib/time-picker/src/interface.d.ts +4 -2
  299. package/lib/tooltip/src/Tooltip.d.ts +5 -0
  300. package/lib/tree/src/Tree.d.ts +5 -1
  301. package/lib/tree/src/Tree.js +4 -2
  302. package/lib/tree/src/TreeNodeSwitcher.d.ts +1 -1
  303. package/lib/tree/src/TreeNodeSwitcher.js +24 -13
  304. package/lib/tree/src/interface.d.ts +2 -0
  305. package/lib/tree/src/styles/index.cssr.js +4 -2
  306. package/lib/upload/src/Upload.d.ts +15 -6
  307. package/lib/upload/src/Upload.js +18 -9
  308. package/lib/upload/src/UploadFile.d.ts +5 -5
  309. package/lib/upload/src/UploadFileList.js +2 -2
  310. package/lib/upload/src/interface.d.ts +11 -4
  311. package/lib/version.d.ts +1 -1
  312. package/lib/version.js +1 -1
  313. package/package.json +21 -13
  314. package/web-types.json +413 -31
@@ -97,6 +97,16 @@ const enUS = {
97
97
  import: 'Import',
98
98
  export: 'Export',
99
99
  restore: 'Reset to Default'
100
+ },
101
+ // TODO: translation
102
+ Image: {
103
+ tipPrevious: 'Previous picture (←)',
104
+ tipNext: 'Next picture (→)',
105
+ tipCounterclockwise: 'Counterclockwise',
106
+ tipClockwise: 'Clockwise',
107
+ tipZoomOut: 'Zoom out',
108
+ tipZoomIn: 'Zoom in',
109
+ tipClose: 'Close (Esc)'
100
110
  }
101
111
  };
102
112
  exports.default = enUS;
@@ -97,6 +97,16 @@ const frFR = {
97
97
  import: 'Importer',
98
98
  export: 'Exporter',
99
99
  restore: 'Réinitialiser'
100
+ },
101
+ // TODO: translation
102
+ Image: {
103
+ tipPrevious: 'Previous picture (←)',
104
+ tipNext: 'Next picture (→)',
105
+ tipCounterclockwise: 'Counterclockwise',
106
+ tipClockwise: 'Clockwise',
107
+ tipZoomOut: 'Zoom out',
108
+ tipZoomIn: 'Zoom in',
109
+ tipClose: 'Close (Esc)'
100
110
  }
101
111
  };
102
112
  exports.default = frFR;
@@ -98,6 +98,16 @@ const idID = {
98
98
  import: 'Impor',
99
99
  export: 'Ekspor',
100
100
  restore: 'Setel ulang ke awal'
101
+ },
102
+ // TODO: translation
103
+ Image: {
104
+ tipPrevious: 'Previous picture (←)',
105
+ tipNext: 'Next picture (→)',
106
+ tipCounterclockwise: 'Counterclockwise',
107
+ tipClockwise: 'Clockwise',
108
+ tipZoomOut: 'Zoom out',
109
+ tipZoomIn: 'Zoom in',
110
+ tipClose: 'Close (Esc)'
101
111
  }
102
112
  };
103
113
  exports.default = idID;
@@ -98,6 +98,16 @@ const jaJP = {
98
98
  import: 'インポート',
99
99
  export: 'エクスポート',
100
100
  restore: 'デフォルト'
101
+ },
102
+ // TODO: translation
103
+ Image: {
104
+ tipPrevious: 'Previous picture (←)',
105
+ tipNext: 'Next picture (→)',
106
+ tipCounterclockwise: 'Counterclockwise',
107
+ tipClockwise: 'Clockwise',
108
+ tipZoomOut: 'Zoom out',
109
+ tipZoomIn: 'Zoom in',
110
+ tipClose: 'Close (Esc)'
101
111
  }
102
112
  };
103
113
  exports.default = jaJP;
@@ -98,6 +98,16 @@ const nbNO = {
98
98
  import: 'Importer',
99
99
  export: 'Eksporter',
100
100
  restore: 'Nullstill til standardvalg'
101
+ },
102
+ // TODO: translation
103
+ Image: {
104
+ tipPrevious: 'Previous picture (←)',
105
+ tipNext: 'Next picture (→)',
106
+ tipCounterclockwise: 'Counterclockwise',
107
+ tipClockwise: 'Clockwise',
108
+ tipZoomOut: 'Zoom out',
109
+ tipZoomIn: 'Zoom in',
110
+ tipClose: 'Close (Esc)'
101
111
  }
102
112
  };
103
113
  exports.default = nbNO;
@@ -98,6 +98,16 @@ const ruRu = {
98
98
  import: 'Импорт',
99
99
  export: 'Экспорт',
100
100
  restore: 'Сбросить'
101
+ },
102
+ // TODO: translation
103
+ Image: {
104
+ tipPrevious: 'Previous picture (←)',
105
+ tipNext: 'Next picture (→)',
106
+ tipCounterclockwise: 'Counterclockwise',
107
+ tipClockwise: 'Clockwise',
108
+ tipZoomOut: 'Zoom out',
109
+ tipZoomIn: 'Zoom in',
110
+ tipClose: 'Close (Esc)'
101
111
  }
102
112
  };
103
113
  exports.default = ruRu;
@@ -98,6 +98,16 @@ const ukUA = {
98
98
  import: 'Імпорт',
99
99
  export: 'Експорт',
100
100
  restore: 'Скинути'
101
+ },
102
+ // TODO: translation
103
+ Image: {
104
+ tipPrevious: 'Previous picture (←)',
105
+ tipNext: 'Next picture (→)',
106
+ tipCounterclockwise: 'Counterclockwise',
107
+ tipClockwise: 'Clockwise',
108
+ tipZoomOut: 'Zoom out',
109
+ tipZoomIn: 'Zoom in',
110
+ tipClose: 'Close (Esc)'
101
111
  }
102
112
  };
103
113
  exports.default = ukUA;
@@ -97,6 +97,15 @@ const zhCN = {
97
97
  import: '导入',
98
98
  export: '导出',
99
99
  restore: '恢复默认'
100
+ },
101
+ Image: {
102
+ tipPrevious: '上一张(←)',
103
+ tipNext: '下一张(→)',
104
+ tipCounterclockwise: '向左旋转',
105
+ tipClockwise: '向右旋转',
106
+ tipZoomOut: '缩小',
107
+ tipZoomIn: '放大',
108
+ tipClose: '关闭(Esc)'
100
109
  }
101
110
  };
102
111
  exports.default = zhCN;
@@ -97,6 +97,16 @@ const zhTW = {
97
97
  import: '導入',
98
98
  export: '匯出',
99
99
  restore: '恢復默認'
100
+ },
101
+ // TODO: translation
102
+ Image: {
103
+ tipPrevious: '上一张(←)',
104
+ tipNext: '下一张(→)',
105
+ tipCounterclockwise: '向左旋转',
106
+ tipClockwise: '向右旋转',
107
+ tipZoomOut: '缩小',
108
+ tipZoomIn: '放大',
109
+ tipClose: '关闭(Esc)'
100
110
  }
101
111
  };
102
112
  exports.default = zhTW;
@@ -126,7 +126,6 @@ function getRelativePosition(element, options = {
126
126
  }
127
127
  }
128
128
  else {
129
- // @ts-expect-error
130
129
  style[prop] = computed[prop];
131
130
  }
132
131
  });
@@ -1,3 +1,4 @@
1
1
  export { default as NMessageProvider } from './src/MessageProvider';
2
2
  export { useMessage } from './src/use-message';
3
- export type { MessageApiInjection as MessageApi, MessageProviderInst, MessageProviderProps, MessageOptions, MessageReactive } from './src/MessageProvider';
3
+ export type { MessageApiInjection as MessageApi, MessageProviderInst, MessageProviderProps, MessageReactive } from './src/MessageProvider';
4
+ export type { MessageOptions, MessageRenderMessage, MessageType } from './src/types';
@@ -1,19 +1,189 @@
1
- import { VNodeChild } from 'vue';
2
- import { MessageType } from './message-props';
1
+ import { VNodeChild, CSSProperties, PropType } from 'vue';
2
+ import type { MessageType } from './types';
3
+ import { MessageRenderMessage } from '..';
3
4
  declare const _default: import("vue").DefineComponent<{
4
- readonly icon: import("vue").PropType<() => VNodeChild>;
5
- readonly type: {
6
- readonly type: import("vue").PropType<MessageType>;
5
+ render: PropType<MessageRenderMessage>;
6
+ icon: PropType<() => VNodeChild>;
7
+ type: {
8
+ readonly type: PropType<MessageType>;
7
9
  readonly default: "info";
8
10
  };
9
- readonly content: import("vue").PropType<string | number | (() => VNodeChild)>;
10
- readonly closable: BooleanConstructor;
11
- readonly keepAliveOnHover: BooleanConstructor;
12
- readonly onClose: import("vue").PropType<() => void>;
13
- readonly onMouseenter: import("vue").PropType<(e: MouseEvent) => void>;
14
- readonly onMouseleave: import("vue").PropType<(e: MouseEvent) => void>;
11
+ content: PropType<string | number | (() => VNodeChild)>;
12
+ closable: BooleanConstructor;
13
+ keepAliveOnHover: BooleanConstructor;
14
+ onClose: PropType<() => void>;
15
+ onMouseenter: PropType<(e: MouseEvent) => void>;
16
+ onMouseleave: PropType<(e: MouseEvent) => void>;
15
17
  }, {
16
18
  mergedClsPrefix: import("vue").Ref<string>;
19
+ messageProviderProps: {
20
+ to?: unknown;
21
+ duration?: unknown;
22
+ keepAliveOnHover?: unknown;
23
+ max?: unknown;
24
+ placement?: unknown;
25
+ closable?: unknown;
26
+ containerStyle?: unknown;
27
+ theme?: unknown;
28
+ themeOverrides?: unknown;
29
+ builtinThemeOverrides?: unknown;
30
+ } & {
31
+ duration: number;
32
+ placement: "bottom" | "top" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
33
+ closable: boolean;
34
+ keepAliveOnHover: boolean;
35
+ } & {
36
+ max?: number | undefined;
37
+ to?: string | HTMLElement | undefined;
38
+ theme?: import("../../_mixins").Theme<"Message", {
39
+ textColorInfo: string;
40
+ textColorSuccess: string;
41
+ textColorError: string;
42
+ textColorWarning: string;
43
+ textColorLoading: string;
44
+ colorInfo: string;
45
+ colorSuccess: string;
46
+ colorError: string;
47
+ colorWarning: string;
48
+ colorLoading: string;
49
+ boxShadowInfo: string;
50
+ boxShadowSuccess: string;
51
+ boxShadowError: string;
52
+ boxShadowWarning: string;
53
+ boxShadowLoading: string;
54
+ iconColorInfo: string;
55
+ iconColorSuccess: string;
56
+ iconColorWarning: string;
57
+ iconColorError: string;
58
+ iconColorLoading: string;
59
+ closeColorInfo: string;
60
+ closeColorHoverInfo: string;
61
+ closeColorPressedInfo: string;
62
+ closeColorSuccess: string;
63
+ closeColorHoverSuccess: string;
64
+ closeColorPressedSuccess: string;
65
+ closeColorError: string;
66
+ closeColorHoverError: string;
67
+ closeColorPressedError: string;
68
+ closeColorWarning: string;
69
+ closeColorHoverWarning: string;
70
+ closeColorPressedWarning: string;
71
+ closeColorLoading: string;
72
+ closeColorHoverLoading: string;
73
+ closeColorPressedLoading: string;
74
+ loadingColor: string;
75
+ lineHeight: string;
76
+ borderRadius: string;
77
+ margin: string;
78
+ padding: string;
79
+ maxWidth: string;
80
+ minWidth: string;
81
+ iconMargin: string;
82
+ closeMargin: string;
83
+ closeSize: string;
84
+ iconSize: string;
85
+ fontSize: string;
86
+ }, any> | undefined;
87
+ themeOverrides?: import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Message", {
88
+ textColorInfo: string;
89
+ textColorSuccess: string;
90
+ textColorError: string;
91
+ textColorWarning: string;
92
+ textColorLoading: string;
93
+ colorInfo: string;
94
+ colorSuccess: string;
95
+ colorError: string;
96
+ colorWarning: string;
97
+ colorLoading: string;
98
+ boxShadowInfo: string;
99
+ boxShadowSuccess: string;
100
+ boxShadowError: string;
101
+ boxShadowWarning: string;
102
+ boxShadowLoading: string;
103
+ iconColorInfo: string;
104
+ iconColorSuccess: string;
105
+ iconColorWarning: string;
106
+ iconColorError: string;
107
+ iconColorLoading: string;
108
+ closeColorInfo: string;
109
+ closeColorHoverInfo: string;
110
+ closeColorPressedInfo: string;
111
+ closeColorSuccess: string;
112
+ closeColorHoverSuccess: string;
113
+ closeColorPressedSuccess: string;
114
+ closeColorError: string;
115
+ closeColorHoverError: string;
116
+ closeColorPressedError: string;
117
+ closeColorWarning: string;
118
+ closeColorHoverWarning: string;
119
+ closeColorPressedWarning: string;
120
+ closeColorLoading: string;
121
+ closeColorHoverLoading: string;
122
+ closeColorPressedLoading: string;
123
+ loadingColor: string;
124
+ lineHeight: string;
125
+ borderRadius: string;
126
+ margin: string;
127
+ padding: string;
128
+ maxWidth: string;
129
+ minWidth: string;
130
+ iconMargin: string;
131
+ closeMargin: string;
132
+ closeSize: string;
133
+ iconSize: string;
134
+ fontSize: string;
135
+ }, any>> | undefined;
136
+ builtinThemeOverrides?: import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Message", {
137
+ textColorInfo: string;
138
+ textColorSuccess: string;
139
+ textColorError: string;
140
+ textColorWarning: string;
141
+ textColorLoading: string;
142
+ colorInfo: string;
143
+ colorSuccess: string;
144
+ colorError: string;
145
+ colorWarning: string;
146
+ colorLoading: string;
147
+ boxShadowInfo: string;
148
+ boxShadowSuccess: string;
149
+ boxShadowError: string;
150
+ boxShadowWarning: string;
151
+ boxShadowLoading: string;
152
+ iconColorInfo: string;
153
+ iconColorSuccess: string;
154
+ iconColorWarning: string;
155
+ iconColorError: string;
156
+ iconColorLoading: string;
157
+ closeColorInfo: string;
158
+ closeColorHoverInfo: string;
159
+ closeColorPressedInfo: string;
160
+ closeColorSuccess: string;
161
+ closeColorHoverSuccess: string;
162
+ closeColorPressedSuccess: string;
163
+ closeColorError: string;
164
+ closeColorHoverError: string;
165
+ closeColorPressedError: string;
166
+ closeColorWarning: string;
167
+ closeColorHoverWarning: string;
168
+ closeColorPressedWarning: string;
169
+ closeColorLoading: string;
170
+ closeColorHoverLoading: string;
171
+ closeColorPressedLoading: string;
172
+ loadingColor: string;
173
+ lineHeight: string;
174
+ borderRadius: string;
175
+ margin: string;
176
+ padding: string;
177
+ maxWidth: string;
178
+ minWidth: string;
179
+ iconMargin: string;
180
+ closeMargin: string;
181
+ closeSize: string;
182
+ iconSize: string;
183
+ fontSize: string;
184
+ }, any>> | undefined;
185
+ containerStyle?: string | CSSProperties | undefined;
186
+ };
17
187
  handleClose(): void;
18
188
  cssVars: import("vue").ComputedRef<{
19
189
  '--n-bezier': string;
@@ -41,20 +211,22 @@ declare const _default: import("vue").DefineComponent<{
41
211
  }>;
42
212
  placement: "bottom" | "top" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
43
213
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
44
- readonly icon?: unknown;
45
- readonly type?: unknown;
46
- readonly content?: unknown;
47
- readonly closable?: unknown;
48
- readonly keepAliveOnHover?: unknown;
49
- readonly onClose?: unknown;
50
- readonly onMouseenter?: unknown;
51
- readonly onMouseleave?: unknown;
214
+ render?: unknown;
215
+ icon?: unknown;
216
+ type?: unknown;
217
+ content?: unknown;
218
+ closable?: unknown;
219
+ keepAliveOnHover?: unknown;
220
+ onClose?: unknown;
221
+ onMouseenter?: unknown;
222
+ onMouseleave?: unknown;
52
223
  } & {
53
224
  type: MessageType;
54
225
  closable: boolean;
55
226
  keepAliveOnHover: boolean;
56
227
  } & {
57
228
  content?: string | number | (() => VNodeChild) | undefined;
229
+ render?: MessageRenderMessage | undefined;
58
230
  icon?: (() => VNodeChild) | undefined;
59
231
  onMouseenter?: ((e: MouseEvent) => void) | undefined;
60
232
  onMouseleave?: ((e: MouseEvent) => void) | undefined;
@@ -20,7 +20,7 @@ const iconMap = {
20
20
  };
21
21
  exports.default = (0, vue_1.defineComponent)({
22
22
  name: 'Message',
23
- props: message_props_1.messageProps,
23
+ props: Object.assign(Object.assign({}, message_props_1.messageProps), { render: Function }),
24
24
  setup(props) {
25
25
  const { props: messageProviderProps, mergedClsPrefixRef
26
26
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
@@ -28,6 +28,7 @@ exports.default = (0, vue_1.defineComponent)({
28
28
  const themeRef = (0, _mixins_1.useTheme)('Message', 'Message', index_cssr_1.default, styles_1.messageLight, messageProviderProps, mergedClsPrefixRef);
29
29
  return {
30
30
  mergedClsPrefix: mergedClsPrefixRef,
31
+ messageProviderProps,
31
32
  handleClose() {
32
33
  var _a;
33
34
  (_a = props.onClose) === null || _a === void 0 ? void 0 : _a.call(props);
@@ -64,17 +65,18 @@ exports.default = (0, vue_1.defineComponent)({
64
65
  };
65
66
  },
66
67
  render() {
67
- const { icon, type, closable, content, mergedClsPrefix, cssVars, handleClose } = this;
68
- return ((0, vue_1.h)("div", { class: `${mergedClsPrefix}-message-wrapper`, onMouseenter: this.onMouseenter, onMouseleave: this.onMouseleave, style: Object.assign(Object.assign({}, cssVars), { alignItems: this.placement.startsWith('top')
68
+ const { render: renderMessage, type, closable, content, mergedClsPrefix, cssVars, icon, handleClose } = this;
69
+ return ((0, vue_1.h)("div", { class: `${mergedClsPrefix}-message-wrapper`, onMouseenter: this.onMouseenter, onMouseleave: this.onMouseleave, style: Object.assign({
70
+ alignItems: this.placement.startsWith('top')
69
71
  ? 'flex-start'
70
- : 'flex-end' }) },
71
- (0, vue_1.h)("div", { class: `${mergedClsPrefix}-message ${mergedClsPrefix}-message--${type}-type` },
72
- (0, vue_1.h)("div", { class: `${mergedClsPrefix}-message__icon ${mergedClsPrefix}-message__icon--${type}-type` },
73
- (0, vue_1.h)(_internal_1.NIconSwitchTransition, null, {
74
- default: () => [createIconVNode(icon, type, mergedClsPrefix)]
75
- })),
76
- (0, vue_1.h)("div", { class: `${mergedClsPrefix}-message__content` }, (0, _utils_1.render)(content)),
77
- closable ? ((0, vue_1.h)(_internal_1.NBaseClose, { clsPrefix: mergedClsPrefix, class: `${mergedClsPrefix}-message__close`, onClick: handleClose })) : null)));
72
+ : 'flex-end'
73
+ }, cssVars) }, renderMessage ? (renderMessage(this.$props)) : ((0, vue_1.h)("div", { class: `${mergedClsPrefix}-message ${mergedClsPrefix}-message--${type}-type` },
74
+ (0, vue_1.h)("div", { class: `${mergedClsPrefix}-message__icon ${mergedClsPrefix}-message__icon--${type}-type` },
75
+ (0, vue_1.h)(_internal_1.NIconSwitchTransition, null, {
76
+ default: () => [createIconVNode(icon, type, mergedClsPrefix)]
77
+ })),
78
+ (0, vue_1.h)("div", { class: `${mergedClsPrefix}-message__content` }, (0, _utils_1.render)(content)),
79
+ closable ? ((0, vue_1.h)(_internal_1.NBaseClose, { clsPrefix: mergedClsPrefix, class: `${mergedClsPrefix}-message__close`, onClick: handleClose })) : null))));
78
80
  }
79
81
  });
80
82
  function createIconVNode(icon, type, clsPrefix) {
@@ -15,7 +15,7 @@ declare const _default: import("vue").DefineComponent<{
15
15
  onAfterHide: FunctionConstructor;
16
16
  icon: PropType<() => import("vue").VNodeChild>;
17
17
  type: {
18
- readonly type: PropType<import("./message-props").MessageType>;
18
+ readonly type: PropType<import("./types").MessageType>;
19
19
  readonly default: "info";
20
20
  };
21
21
  content: PropType<string | number | (() => import("vue").VNodeChild)>;
@@ -49,7 +49,7 @@ declare const _default: import("vue").DefineComponent<{
49
49
  onMouseenter?: unknown;
50
50
  onMouseleave?: unknown;
51
51
  } & {
52
- type: import("./message-props").MessageType;
52
+ type: import("./types").MessageType;
53
53
  duration: number;
54
54
  closable: boolean;
55
55
  internalKey: string;
@@ -66,7 +66,7 @@ declare const _default: import("vue").DefineComponent<{
66
66
  onAfterHide?: Function | undefined;
67
67
  onInternalAfterLeave?: ((key: string) => void) | undefined;
68
68
  }>, {
69
- type: import("./message-props").MessageType;
69
+ type: import("./types").MessageType;
70
70
  duration: number;
71
71
  closable: boolean;
72
72
  keepAliveOnHover: boolean;
@@ -1,14 +1,6 @@
1
1
  import { VNodeChild, InjectionKey, ExtractPropTypes, Ref, PropType, CSSProperties } from 'vue';
2
- import { ExtractPublicPropTypes } from '../../_utils';
3
- export interface MessageOptions {
4
- duration?: number;
5
- closable?: boolean;
6
- keepAliveOnHover?: boolean;
7
- icon?: () => VNodeChild;
8
- onClose?: () => void;
9
- onLeave?: () => void;
10
- onAfterLeave?: () => void;
11
- }
2
+ import type { ExtractPublicPropTypes } from '../../_utils';
3
+ import type { MessageOptions, MessageType } from './types';
12
4
  declare type ContentType = string | (() => VNodeChild);
13
5
  export interface MessageApiInjection {
14
6
  info: (content: ContentType, options?: MessageOptions) => MessageReactive;
@@ -24,6 +16,7 @@ export interface MessageReactive {
24
16
  duration?: number;
25
17
  closable?: boolean;
26
18
  keepAliveOnHover?: boolean;
19
+ type: MessageType;
27
20
  icon?: () => VNodeChild;
28
21
  onClose?: () => void;
29
22
  destroy: () => void;
@@ -368,6 +361,7 @@ declare const _default: import("vue").DefineComponent<{
368
361
  duration?: number | undefined;
369
362
  closable?: boolean | undefined;
370
363
  keepAliveOnHover?: boolean | undefined;
364
+ type: MessageType;
371
365
  icon?: (() => VNodeChild) | undefined;
372
366
  onClose?: (() => void) | undefined;
373
367
  destroy: () => void;
@@ -379,6 +373,7 @@ declare const _default: import("vue").DefineComponent<{
379
373
  duration?: number | undefined;
380
374
  closable?: boolean | undefined;
381
375
  keepAliveOnHover?: boolean | undefined;
376
+ type: MessageType;
382
377
  icon?: (() => VNodeChild) | undefined;
383
378
  onClose?: (() => void) | undefined;
384
379
  destroy: () => void;
@@ -48,7 +48,7 @@ exports.default = (0, vue_1.defineComponent)({
48
48
  mergedClsPrefixRef
49
49
  });
50
50
  (0, vue_1.provide)(exports.messageApiInjectionKey, api);
51
- function create(content, options = {}) {
51
+ function create(content, options) {
52
52
  const key = (0, seemly_1.createId)();
53
53
  const messageReactive = (0, vue_1.reactive)(Object.assign(Object.assign({}, options), { content,
54
54
  key, destroy: () => {
@@ -1,5 +1,6 @@
1
- import { PropType, VNodeChild } from 'vue';
2
- export declare type MessageType = 'info' | 'success' | 'warning' | 'error' | 'loading';
1
+ import { ExtractPropTypes, PropType, VNodeChild } from 'vue';
2
+ import { ExtractPublicPropTypes } from '../../_utils';
3
+ import { MessageType } from './types';
3
4
  export declare const messageProps: {
4
5
  readonly icon: PropType<() => VNodeChild>;
5
6
  readonly type: {
@@ -13,3 +14,5 @@ export declare const messageProps: {
13
14
  readonly onMouseenter: PropType<(e: MouseEvent) => void>;
14
15
  readonly onMouseleave: PropType<(e: MouseEvent) => void>;
15
16
  };
17
+ export declare type MessageProps = ExtractPublicPropTypes<typeof messageProps>;
18
+ export declare type MessageSetupProps = ExtractPropTypes<typeof messageProps>;
@@ -0,0 +1,15 @@
1
+ import { VNodeChild } from 'vue';
2
+ import { MessageSetupProps } from './message-props';
3
+ export declare type MessageType = 'info' | 'success' | 'warning' | 'error' | 'loading';
4
+ export declare type RenderMessageProps = Pick<MessageSetupProps, 'closable' | 'content' | 'icon' | 'onClose' | 'type'>;
5
+ export declare type MessageRenderMessage = (props: RenderMessageProps) => VNodeChild;
6
+ export interface MessageOptions {
7
+ render?: MessageRenderMessage;
8
+ duration?: number;
9
+ closable?: boolean;
10
+ keepAliveOnHover?: boolean;
11
+ icon?: () => VNodeChild;
12
+ onClose?: () => void;
13
+ onLeave?: () => void;
14
+ onAfterLeave?: () => void;
15
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -73,6 +73,7 @@ declare const modalProps: {
73
73
  type: PropType<"center" | "mouse">;
74
74
  default: string;
75
75
  };
76
+ zIndex: NumberConstructor;
76
77
  theme: PropType<import("../../_mixins").Theme<"Modal", {
77
78
  color: string;
78
79
  textColor: string;
@@ -970,6 +971,7 @@ declare const _default: import("vue").DefineComponent<{
970
971
  type: PropType<"center" | "mouse">;
971
972
  default: string;
972
973
  };
974
+ zIndex: NumberConstructor;
973
975
  theme: PropType<import("../../_mixins").Theme<"Modal", {
974
976
  color: string;
975
977
  textColor: string;
@@ -1805,6 +1807,7 @@ declare const _default: import("vue").DefineComponent<{
1805
1807
  show: boolean;
1806
1808
  icon: (() => import("vue").VNodeChild) | undefined;
1807
1809
  transformOrigin: "center" | "mouse";
1810
+ zIndex: number | undefined;
1808
1811
  appear: boolean | undefined;
1809
1812
  onAfterEnter: (() => void) | undefined;
1810
1813
  onBeforeLeave: (() => void) | undefined;
@@ -2721,6 +2724,7 @@ declare const _default: import("vue").DefineComponent<{
2721
2724
  to?: unknown;
2722
2725
  displayDirective?: unknown;
2723
2726
  transformOrigin?: unknown;
2727
+ zIndex?: unknown;
2724
2728
  theme?: unknown;
2725
2729
  themeOverrides?: unknown;
2726
2730
  builtinThemeOverrides?: unknown;
@@ -2743,6 +2747,7 @@ declare const _default: import("vue").DefineComponent<{
2743
2747
  } & {
2744
2748
  content?: string | (() => import("vue").VNodeChild) | undefined;
2745
2749
  icon?: (() => import("vue").VNodeChild) | undefined;
2750
+ zIndex?: number | undefined;
2746
2751
  appear?: boolean | undefined;
2747
2752
  onAfterEnter?: (() => void) | undefined;
2748
2753
  onBeforeLeave?: (() => void) | undefined;
@@ -27,7 +27,7 @@ const modalProps = Object.assign(Object.assign(Object.assign(Object.assign({}, _
27
27
  }, transformOrigin: {
28
28
  type: String,
29
29
  default: 'mouse'
30
- } }), presetProps_1.presetProps), {
30
+ }, zIndex: Number }), presetProps_1.presetProps), {
31
31
  // events
32
32
  'onUpdate:show': [Function, Array], onUpdateShow: [Function, Array], onAfterEnter: Function, onBeforeLeave: Function, onAfterLeave: Function, onClose: Function, onPositiveClick: Function, onNegativeClick: Function, onMaskClick: Function,
33
33
  // private
@@ -210,6 +210,7 @@ exports.default = (0, vue_1.defineComponent)({
210
210
  [
211
211
  vdirs_1.zindexable,
212
212
  {
213
+ zIndex: this.zIndex,
213
214
  enabled: this.show
214
215
  }
215
216
  ]
@@ -1,2 +1,2 @@
1
1
  export { default as NPageHeader } from './src/PageHeader';
2
- export type { PageHeaderPorps } from './src/PageHeader';
2
+ export type { PageHeaderProps } from './src/PageHeader';
@@ -39,7 +39,7 @@ declare const pageHeaderProps: {
39
39
  backSize: string;
40
40
  }, unknown>>>;
41
41
  };
42
- export declare type PageHeaderPorps = ExtractPublicPropTypes<typeof pageHeaderProps>;
42
+ export declare type PageHeaderProps = ExtractPublicPropTypes<typeof pageHeaderProps>;
43
43
  declare const _default: import("vue").DefineComponent<{
44
44
  title: StringConstructor;
45
45
  subtitle: StringConstructor;
@@ -1,3 +1,3 @@
1
1
  export { default as NPagination } from './src/Pagination';
2
2
  export type { PaginationProps } from './src/Pagination';
3
- export type { PaginationInfo, PaginationSizeOption } from './src/interface';
3
+ export type { PaginationInfo, PaginationSizeOption, PaginationRenderLabel } from './src/interface';