naive-ui 2.35.0 → 2.36.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 (393) hide show
  1. package/README.md +2 -0
  2. package/README.zh-CN.md +1 -0
  3. package/dist/index.js +2433 -667
  4. package/dist/index.prod.js +2 -2
  5. package/es/_internal/fade-in-expand-transition/src/FadeInExpandTransition.js +1 -0
  6. package/es/_internal/scrollbar/src/Scrollbar.js +11 -6
  7. package/es/_internal/select-menu/src/SelectMenu.d.ts +3 -3
  8. package/es/_internal/select-menu/src/SelectMenu.js +1 -0
  9. package/es/_internal/select-menu/src/styles/index.cssr.js +8 -0
  10. package/es/_internal/selection/src/Selection.d.ts +3 -1
  11. package/es/_internal/selection/src/Selection.js +4 -2
  12. package/es/_styles/common/_common.js +1 -1
  13. package/es/_styles/common/light.js +2 -2
  14. package/es/_utils/composable/use-collection.d.ts +1 -1
  15. package/es/_utils/composable/use-collection.js +2 -0
  16. package/es/_utils/css/color-to-class.js +1 -1
  17. package/es/affix/src/Affix.d.ts +2 -2
  18. package/es/affix/src/Affix.js +4 -2
  19. package/es/alert/src/Alert.js +3 -1
  20. package/es/anchor/src/AnchorAdapter.d.ts +1 -1
  21. package/es/auto-complete/src/AutoComplete.d.ts +1 -1
  22. package/es/button/src/Button.d.ts +1 -1
  23. package/es/button/src/Button.js +1 -1
  24. package/es/card/src/Card.d.ts +17 -1
  25. package/es/card/src/Card.js +12 -5
  26. package/es/carousel/src/Carousel.d.ts +5 -5
  27. package/es/carousel/src/Carousel.js +2 -1
  28. package/es/checkbox/src/Checkbox.d.ts +6 -6
  29. package/es/color-picker/src/ColorPickerSwatches.js +4 -3
  30. package/es/components.d.ts +3 -0
  31. package/es/components.js +3 -0
  32. package/es/config-provider/src/config.js +5 -5
  33. package/es/config-provider/src/internal-interface.d.ts +4 -0
  34. package/es/data-table/src/DataTable.d.ts +3 -3
  35. package/es/data-table/src/DataTable.js +1 -0
  36. package/es/data-table/src/MainTable.js +1 -0
  37. package/es/data-table/src/TableParts/Body.d.ts +3 -3
  38. package/es/data-table/src/TableParts/Body.js +5 -3
  39. package/es/data-table/src/interface.d.ts +1 -1
  40. package/es/date-picker/src/panel/date.d.ts +2 -2
  41. package/es/date-picker/src/panel/daterange.d.ts +2 -2
  42. package/es/date-picker/src/panel/datetime.d.ts +2 -2
  43. package/es/date-picker/src/panel/datetimerange.d.ts +2 -2
  44. package/es/date-picker/src/panel/month.d.ts +2 -2
  45. package/es/date-picker/src/panel/monthrange.d.ts +2 -2
  46. package/es/date-picker/src/panel/panelHeader.d.ts +720 -773
  47. package/es/date-picker/src/panel/use-calendar.d.ts +2 -2
  48. package/es/date-picker/src/panel/use-calendar.js +2 -2
  49. package/es/date-picker/src/panel/use-dual-calendar.d.ts +2 -2
  50. package/es/date-picker/src/panel/use-dual-calendar.js +4 -4
  51. package/es/date-picker/src/utils.js +1 -6
  52. package/es/date-picker/styles/_common.js +1 -1
  53. package/es/descriptions/src/Descriptions.d.ts +6 -0
  54. package/es/descriptions/src/Descriptions.js +22 -7
  55. package/es/descriptions/src/DescriptionsItem.d.ts +6 -0
  56. package/es/descriptions/src/DescriptionsItem.js +2 -0
  57. package/es/dialog/src/Dialog.js +6 -2
  58. package/es/dialog/src/DialogEnvironment.d.ts +1 -1
  59. package/es/dialog/src/DialogProvider.d.ts +3 -3
  60. package/es/dialog/src/dialogProps.d.ts +1 -1
  61. package/es/dropdown/src/Dropdown.d.ts +18 -0
  62. package/es/dropdown/src/Dropdown.js +1 -1
  63. package/es/dropdown/src/DropdownMenu.js +4 -1
  64. package/es/dropdown/src/DropdownOption.d.ts +5 -4
  65. package/es/dropdown/src/DropdownOption.js +2 -4
  66. package/es/dynamic-input/src/DynamicInput.d.ts +3 -0
  67. package/es/dynamic-input/src/DynamicInput.js +3 -3
  68. package/es/dynamic-tags/src/DynamicTags.d.ts +6 -0
  69. package/es/dynamic-tags/src/DynamicTags.js +4 -4
  70. package/es/equation/index.d.ts +1 -0
  71. package/es/equation/src/Equation.d.ts +2 -0
  72. package/es/form/src/FormItem.d.ts +1 -1
  73. package/es/form/src/utils.d.ts +1 -1
  74. package/es/input/src/Input.d.ts +4 -4
  75. package/es/input/src/styles/input.cssr.js +1 -1
  76. package/es/layout/src/Layout.d.ts +6 -0
  77. package/es/layout/src/Layout.js +8 -1
  78. package/es/layout/src/LayoutContent.d.ts +2 -0
  79. package/es/layout/src/LayoutSider.d.ts +9 -0
  80. package/es/layout/src/LayoutSider.js +12 -3
  81. package/es/legacy-grid/src/styles/index.cssr.js +2 -3
  82. package/es/legacy-grid/src/styles/rtl.cssr.js +2 -3
  83. package/es/loading-bar/src/LoadingBar.d.ts +2 -0
  84. package/es/loading-bar/src/LoadingBar.js +3 -1
  85. package/es/loading-bar/src/LoadingBarProvider.d.ts +3 -0
  86. package/es/loading-bar/src/LoadingBarProvider.js +2 -2
  87. package/es/locales/common/frFR.js +1 -1
  88. package/es/log/src/Log.d.ts +3 -3
  89. package/es/mention/src/Mention.d.ts +1 -1
  90. package/es/mention/src/utils.js +4 -4
  91. package/es/menu/src/Menu.d.ts +30 -13
  92. package/es/menu/src/Menu.js +101 -7
  93. package/es/menu/src/MenuOptionContent.d.ts +3 -0
  94. package/es/menu/src/MenuOptionContent.js +7 -2
  95. package/es/menu/src/Submenu.d.ts +23 -12
  96. package/es/menu/src/Submenu.js +9 -8
  97. package/es/menu/src/interface.d.ts +1 -0
  98. package/es/menu/src/styles/index.cssr.js +8 -4
  99. package/es/menu/src/use-menu-child.js +5 -5
  100. package/es/message/src/Message.d.ts +1 -1
  101. package/es/message/src/MessageProvider.d.ts +7 -4
  102. package/es/message/src/MessageProvider.js +3 -2
  103. package/es/modal/src/BodyWrapper.d.ts +12 -4
  104. package/es/modal/src/Modal.d.ts +16 -4
  105. package/es/modal/src/presetProps.d.ts +5 -1
  106. package/es/notification/src/NotificationEnvironment.js +1 -1
  107. package/es/notification/src/NotificationProvider.d.ts +3 -0
  108. package/es/notification/src/NotificationProvider.js +2 -2
  109. package/es/popconfirm/src/Popconfirm.d.ts +18 -0
  110. package/es/popover/src/Popover.d.ts +24 -0
  111. package/es/popover/src/Popover.js +7 -0
  112. package/es/popover/src/PopoverBody.d.ts +22 -1
  113. package/es/popover/src/PopoverBody.js +26 -10
  114. package/es/popover/src/interface.d.ts +1 -1
  115. package/es/popselect/src/Popselect.d.ts +18 -0
  116. package/es/popselect/src/Popselect.js +2 -1
  117. package/es/popselect/src/PopselectPanel.js +1 -0
  118. package/es/progress/src/Progress.d.ts +1 -1
  119. package/es/qr-code/index.d.ts +2 -0
  120. package/es/qr-code/index.js +1 -0
  121. package/es/qr-code/src/QrCode.d.ts +154 -0
  122. package/es/qr-code/src/QrCode.js +146 -0
  123. package/es/qr-code/src/qrcodegen.d.ts +94 -0
  124. package/es/qr-code/src/qrcodegen.js +948 -0
  125. package/es/qr-code/src/styles/index.cssr.d.ts +2 -0
  126. package/es/qr-code/src/styles/index.cssr.js +8 -0
  127. package/es/qr-code/styles/dark.d.ts +3 -0
  128. package/es/qr-code/styles/dark.js +11 -0
  129. package/es/qr-code/styles/index.d.ts +3 -0
  130. package/es/qr-code/styles/index.js +2 -0
  131. package/es/qr-code/styles/light.d.ts +9 -0
  132. package/es/qr-code/styles/light.js +12 -0
  133. package/es/radio/src/RadioGroup.d.ts +1 -0
  134. package/es/radio/src/RadioGroup.js +2 -1
  135. package/es/radio/src/styles/radio-group.cssr.js +1 -0
  136. package/es/result/src/Result.d.ts +1 -1
  137. package/es/scrollbar/src/Scrollbar.js +2 -0
  138. package/es/select/src/Select.d.ts +1 -1
  139. package/es/skeleton/src/Skeleton.js +4 -7
  140. package/es/slider/src/Slider.d.ts +6 -0
  141. package/es/slider/src/Slider.js +10 -3
  142. package/es/slider/src/utils.d.ts +2 -2
  143. package/es/slider/src/utils.js +4 -4
  144. package/es/space/src/Space.d.ts +3 -0
  145. package/es/space/src/Space.js +3 -3
  146. package/es/spin/src/Spin.d.ts +7 -1
  147. package/es/spin/src/Spin.js +4 -3
  148. package/es/split/index.d.ts +2 -0
  149. package/es/split/index.js +1 -0
  150. package/es/split/src/Split.d.ts +135 -0
  151. package/es/split/src/Split.js +145 -0
  152. package/es/split/src/styles/index.cssr.d.ts +2 -0
  153. package/es/split/src/styles/index.cssr.js +25 -0
  154. package/es/split/styles/dark.d.ts +3 -0
  155. package/es/split/styles/dark.js +6 -0
  156. package/es/split/styles/index.d.ts +3 -0
  157. package/es/split/styles/index.js +2 -0
  158. package/es/split/styles/light.d.ts +9 -0
  159. package/es/split/styles/light.js +13 -0
  160. package/es/steps/src/Steps.d.ts +1 -1
  161. package/es/tabs/src/Tab.js +3 -1
  162. package/es/tabs/src/Tabs.d.ts +6 -6
  163. package/es/tabs/src/Tabs.js +2 -2
  164. package/es/tabs/src/styles/index.cssr.js +12 -2
  165. package/es/theme-editor/src/ThemeEditor.d.ts +2 -2
  166. package/es/themes/dark.js +5 -1
  167. package/es/themes/light.js +5 -1
  168. package/es/thing/src/Thing.d.ts +6 -0
  169. package/es/thing/src/Thing.js +13 -4
  170. package/es/tooltip/src/Tooltip.d.ts +18 -0
  171. package/es/tree/index.d.ts +1 -0
  172. package/es/tree/index.js +1 -0
  173. package/es/tree/src/Tree.d.ts +11 -0
  174. package/es/tree/src/Tree.js +6 -3
  175. package/es/tree/src/TreeNode.js +30 -19
  176. package/es/tree/src/TreeNodeCheckbox.d.ts +1 -0
  177. package/es/tree/src/TreeNodeSwitcher.d.ts +1 -1
  178. package/es/tree/src/styles/index.cssr.js +4 -3
  179. package/es/tree/src/utils.d.ts +1 -0
  180. package/es/tree/src/utils.js +12 -0
  181. package/es/tree/styles/light.d.ts +2 -0
  182. package/es/tree/styles/light.js +3 -2
  183. package/es/tree-select/src/TreeSelect.d.ts +17 -10
  184. package/es/tree-select/src/TreeSelect.js +2 -2
  185. package/es/tree-select/styles/light.d.ts +1 -0
  186. package/es/upload/src/Upload.d.ts +6 -0
  187. package/es/upload/src/Upload.js +8 -3
  188. package/es/upload/src/UploadFileList.js +3 -2
  189. package/es/upload/src/UploadTrigger.js +3 -2
  190. package/es/upload/src/interface.d.ts +2 -0
  191. package/es/version.d.ts +1 -1
  192. package/es/version.js +1 -1
  193. package/es/virtual-list/index.d.ts +2 -0
  194. package/es/virtual-list/index.js +1 -0
  195. package/es/virtual-list/src/VirtualList.d.ts +146 -0
  196. package/es/virtual-list/src/VirtualList.js +102 -0
  197. package/es/watermark/src/Watermark.js +7 -0
  198. package/lib/_internal/fade-in-expand-transition/src/FadeInExpandTransition.js +1 -0
  199. package/lib/_internal/scrollbar/src/Scrollbar.js +11 -6
  200. package/lib/_internal/select-menu/src/SelectMenu.d.ts +3 -3
  201. package/lib/_internal/select-menu/src/SelectMenu.js +1 -0
  202. package/lib/_internal/select-menu/src/styles/index.cssr.js +8 -0
  203. package/lib/_internal/selection/src/Selection.d.ts +3 -1
  204. package/lib/_internal/selection/src/Selection.js +4 -2
  205. package/lib/_styles/common/_common.js +1 -1
  206. package/lib/_styles/common/light.js +2 -2
  207. package/lib/_utils/composable/use-collection.d.ts +1 -1
  208. package/lib/_utils/composable/use-collection.js +2 -0
  209. package/lib/_utils/css/color-to-class.js +1 -1
  210. package/lib/affix/src/Affix.d.ts +2 -2
  211. package/lib/affix/src/Affix.js +4 -2
  212. package/lib/alert/src/Alert.js +3 -1
  213. package/lib/anchor/src/AnchorAdapter.d.ts +1 -1
  214. package/lib/auto-complete/src/AutoComplete.d.ts +1 -1
  215. package/lib/button/src/Button.d.ts +1 -1
  216. package/lib/button/src/Button.js +1 -1
  217. package/lib/card/src/Card.d.ts +17 -1
  218. package/lib/card/src/Card.js +12 -5
  219. package/lib/carousel/src/Carousel.d.ts +5 -5
  220. package/lib/carousel/src/Carousel.js +2 -1
  221. package/lib/checkbox/src/Checkbox.d.ts +6 -6
  222. package/lib/color-picker/src/ColorPickerSwatches.js +4 -3
  223. package/lib/components.d.ts +3 -0
  224. package/lib/components.js +3 -0
  225. package/lib/config-provider/src/config.js +5 -5
  226. package/lib/config-provider/src/internal-interface.d.ts +4 -0
  227. package/lib/data-table/src/DataTable.d.ts +3 -3
  228. package/lib/data-table/src/DataTable.js +1 -0
  229. package/lib/data-table/src/MainTable.js +1 -0
  230. package/lib/data-table/src/TableParts/Body.d.ts +3 -3
  231. package/lib/data-table/src/TableParts/Body.js +5 -3
  232. package/lib/data-table/src/interface.d.ts +1 -1
  233. package/lib/date-picker/src/panel/date.d.ts +2 -2
  234. package/lib/date-picker/src/panel/daterange.d.ts +2 -2
  235. package/lib/date-picker/src/panel/datetime.d.ts +2 -2
  236. package/lib/date-picker/src/panel/datetimerange.d.ts +2 -2
  237. package/lib/date-picker/src/panel/month.d.ts +2 -2
  238. package/lib/date-picker/src/panel/monthrange.d.ts +2 -2
  239. package/lib/date-picker/src/panel/panelHeader.d.ts +720 -773
  240. package/lib/date-picker/src/panel/use-calendar.d.ts +2 -2
  241. package/lib/date-picker/src/panel/use-calendar.js +2 -2
  242. package/lib/date-picker/src/panel/use-dual-calendar.d.ts +2 -2
  243. package/lib/date-picker/src/panel/use-dual-calendar.js +4 -4
  244. package/lib/date-picker/src/utils.js +1 -6
  245. package/lib/date-picker/styles/_common.js +1 -1
  246. package/lib/descriptions/src/Descriptions.d.ts +6 -0
  247. package/lib/descriptions/src/Descriptions.js +22 -7
  248. package/lib/descriptions/src/DescriptionsItem.d.ts +6 -0
  249. package/lib/descriptions/src/DescriptionsItem.js +2 -0
  250. package/lib/dialog/src/Dialog.js +6 -2
  251. package/lib/dialog/src/DialogEnvironment.d.ts +1 -1
  252. package/lib/dialog/src/DialogProvider.d.ts +3 -3
  253. package/lib/dialog/src/dialogProps.d.ts +1 -1
  254. package/lib/dropdown/src/Dropdown.d.ts +18 -0
  255. package/lib/dropdown/src/Dropdown.js +1 -1
  256. package/lib/dropdown/src/DropdownMenu.js +4 -1
  257. package/lib/dropdown/src/DropdownOption.d.ts +5 -4
  258. package/lib/dropdown/src/DropdownOption.js +2 -4
  259. package/lib/dynamic-input/src/DynamicInput.d.ts +3 -0
  260. package/lib/dynamic-input/src/DynamicInput.js +3 -3
  261. package/lib/dynamic-tags/src/DynamicTags.d.ts +6 -0
  262. package/lib/dynamic-tags/src/DynamicTags.js +4 -4
  263. package/lib/equation/index.d.ts +1 -0
  264. package/lib/equation/src/Equation.d.ts +2 -0
  265. package/lib/form/src/FormItem.d.ts +1 -1
  266. package/lib/form/src/utils.d.ts +1 -1
  267. package/lib/input/src/Input.d.ts +4 -4
  268. package/lib/input/src/styles/input.cssr.js +1 -1
  269. package/lib/layout/src/Layout.d.ts +6 -0
  270. package/lib/layout/src/Layout.js +8 -1
  271. package/lib/layout/src/LayoutContent.d.ts +2 -0
  272. package/lib/layout/src/LayoutSider.d.ts +9 -0
  273. package/lib/layout/src/LayoutSider.js +12 -3
  274. package/lib/legacy-grid/src/styles/index.cssr.js +2 -3
  275. package/lib/legacy-grid/src/styles/rtl.cssr.js +2 -3
  276. package/lib/loading-bar/src/LoadingBar.d.ts +2 -0
  277. package/lib/loading-bar/src/LoadingBar.js +3 -1
  278. package/lib/loading-bar/src/LoadingBarProvider.d.ts +3 -0
  279. package/lib/loading-bar/src/LoadingBarProvider.js +2 -2
  280. package/lib/locales/common/frFR.js +1 -1
  281. package/lib/log/src/Log.d.ts +3 -3
  282. package/lib/mention/src/Mention.d.ts +1 -1
  283. package/lib/mention/src/utils.js +4 -4
  284. package/lib/menu/src/Menu.d.ts +30 -13
  285. package/lib/menu/src/Menu.js +101 -7
  286. package/lib/menu/src/MenuOptionContent.d.ts +3 -0
  287. package/lib/menu/src/MenuOptionContent.js +7 -2
  288. package/lib/menu/src/Submenu.d.ts +23 -12
  289. package/lib/menu/src/Submenu.js +9 -8
  290. package/lib/menu/src/interface.d.ts +1 -0
  291. package/lib/menu/src/styles/index.cssr.js +8 -4
  292. package/lib/menu/src/use-menu-child.js +5 -5
  293. package/lib/message/src/Message.d.ts +1 -1
  294. package/lib/message/src/MessageProvider.d.ts +7 -4
  295. package/lib/message/src/MessageProvider.js +3 -2
  296. package/lib/modal/src/BodyWrapper.d.ts +12 -4
  297. package/lib/modal/src/Modal.d.ts +16 -4
  298. package/lib/modal/src/presetProps.d.ts +5 -1
  299. package/lib/notification/src/NotificationEnvironment.js +1 -1
  300. package/lib/notification/src/NotificationProvider.d.ts +3 -0
  301. package/lib/notification/src/NotificationProvider.js +2 -2
  302. package/lib/popconfirm/src/Popconfirm.d.ts +18 -0
  303. package/lib/popover/src/Popover.d.ts +24 -0
  304. package/lib/popover/src/Popover.js +7 -0
  305. package/lib/popover/src/PopoverBody.d.ts +22 -1
  306. package/lib/popover/src/PopoverBody.js +26 -10
  307. package/lib/popover/src/interface.d.ts +1 -1
  308. package/lib/popselect/src/Popselect.d.ts +18 -0
  309. package/lib/popselect/src/Popselect.js +2 -1
  310. package/lib/popselect/src/PopselectPanel.js +1 -0
  311. package/lib/progress/src/Progress.d.ts +1 -1
  312. package/lib/qr-code/index.d.ts +2 -0
  313. package/lib/qr-code/index.js +9 -0
  314. package/lib/qr-code/src/QrCode.d.ts +154 -0
  315. package/lib/qr-code/src/QrCode.js +152 -0
  316. package/lib/qr-code/src/qrcodegen.d.ts +94 -0
  317. package/lib/qr-code/src/qrcodegen.js +949 -0
  318. package/lib/qr-code/src/styles/index.cssr.d.ts +2 -0
  319. package/lib/qr-code/src/styles/index.cssr.js +13 -0
  320. package/lib/qr-code/styles/dark.d.ts +3 -0
  321. package/lib/qr-code/styles/dark.js +13 -0
  322. package/lib/qr-code/styles/index.d.ts +3 -0
  323. package/lib/qr-code/styles/index.js +10 -0
  324. package/lib/qr-code/styles/light.d.ts +9 -0
  325. package/lib/qr-code/styles/light.js +14 -0
  326. package/lib/radio/src/RadioGroup.d.ts +1 -0
  327. package/lib/radio/src/RadioGroup.js +2 -1
  328. package/lib/radio/src/styles/radio-group.cssr.js +1 -0
  329. package/lib/result/src/Result.d.ts +1 -1
  330. package/lib/scrollbar/src/Scrollbar.js +2 -0
  331. package/lib/select/src/Select.d.ts +1 -1
  332. package/lib/skeleton/src/Skeleton.js +3 -6
  333. package/lib/slider/src/Slider.d.ts +6 -0
  334. package/lib/slider/src/Slider.js +10 -3
  335. package/lib/slider/src/utils.d.ts +2 -2
  336. package/lib/slider/src/utils.js +3 -3
  337. package/lib/space/src/Space.d.ts +3 -0
  338. package/lib/space/src/Space.js +3 -3
  339. package/lib/spin/src/Spin.d.ts +7 -1
  340. package/lib/spin/src/Spin.js +4 -3
  341. package/lib/split/index.d.ts +2 -0
  342. package/lib/split/index.js +9 -0
  343. package/lib/split/src/Split.d.ts +135 -0
  344. package/lib/split/src/Split.js +151 -0
  345. package/lib/split/src/styles/index.cssr.d.ts +2 -0
  346. package/lib/split/src/styles/index.cssr.js +30 -0
  347. package/lib/split/styles/dark.d.ts +3 -0
  348. package/lib/split/styles/dark.js +8 -0
  349. package/lib/split/styles/index.d.ts +3 -0
  350. package/lib/split/styles/index.js +10 -0
  351. package/lib/split/styles/light.d.ts +9 -0
  352. package/lib/split/styles/light.js +17 -0
  353. package/lib/steps/src/Steps.d.ts +1 -1
  354. package/lib/tabs/src/Tab.js +3 -1
  355. package/lib/tabs/src/Tabs.d.ts +6 -6
  356. package/lib/tabs/src/Tabs.js +2 -2
  357. package/lib/tabs/src/styles/index.cssr.js +12 -2
  358. package/lib/theme-editor/src/ThemeEditor.d.ts +2 -2
  359. package/lib/themes/dark.js +56 -52
  360. package/lib/themes/light.js +56 -52
  361. package/lib/thing/src/Thing.d.ts +6 -0
  362. package/lib/thing/src/Thing.js +13 -4
  363. package/lib/tooltip/src/Tooltip.d.ts +18 -0
  364. package/lib/tree/index.d.ts +1 -0
  365. package/lib/tree/index.js +3 -1
  366. package/lib/tree/src/Tree.d.ts +11 -0
  367. package/lib/tree/src/Tree.js +6 -3
  368. package/lib/tree/src/TreeNode.js +30 -19
  369. package/lib/tree/src/TreeNodeCheckbox.d.ts +1 -0
  370. package/lib/tree/src/TreeNodeSwitcher.d.ts +1 -1
  371. package/lib/tree/src/styles/index.cssr.js +4 -3
  372. package/lib/tree/src/utils.d.ts +1 -0
  373. package/lib/tree/src/utils.js +14 -1
  374. package/lib/tree/styles/light.d.ts +2 -0
  375. package/lib/tree/styles/light.js +3 -2
  376. package/lib/tree-select/src/TreeSelect.d.ts +17 -10
  377. package/lib/tree-select/src/TreeSelect.js +2 -2
  378. package/lib/tree-select/styles/light.d.ts +1 -0
  379. package/lib/upload/src/Upload.d.ts +6 -0
  380. package/lib/upload/src/Upload.js +8 -3
  381. package/lib/upload/src/UploadFileList.js +3 -2
  382. package/lib/upload/src/UploadTrigger.js +3 -2
  383. package/lib/upload/src/interface.d.ts +2 -0
  384. package/lib/version.d.ts +1 -1
  385. package/lib/version.js +1 -1
  386. package/lib/virtual-list/index.d.ts +2 -0
  387. package/lib/virtual-list/index.js +9 -0
  388. package/lib/virtual-list/src/VirtualList.d.ts +146 -0
  389. package/lib/virtual-list/src/VirtualList.js +105 -0
  390. package/lib/watermark/src/Watermark.js +7 -0
  391. package/package.json +15 -15
  392. package/volar.d.ts +4 -0
  393. package/web-types.json +773 -18
@@ -37,6 +37,7 @@ interface NotificationRef {
37
37
  hide: () => void;
38
38
  }
39
39
  export declare const notificationProviderProps: {
40
+ containerClass: StringConstructor;
40
41
  containerStyle: PropType<string | CSSProperties>;
41
42
  to: PropType<string | HTMLElement>;
42
43
  scrollable: {
@@ -160,6 +161,7 @@ export declare const notificationProviderProps: {
160
161
  };
161
162
  export type NotificationProviderProps = ExtractPublicPropTypes<typeof notificationProviderProps>;
162
163
  declare const _default: import("vue").DefineComponent<{
164
+ containerClass: StringConstructor;
163
165
  containerStyle: PropType<string | CSSProperties>;
164
166
  to: PropType<string | HTMLElement>;
165
167
  scrollable: {
@@ -318,6 +320,7 @@ declare const _default: import("vue").DefineComponent<{
318
320
  open: (options: NotificationOptions) => NotificationReactive;
319
321
  destroyAll: () => void;
320
322
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
323
+ containerClass: StringConstructor;
321
324
  containerStyle: PropType<string | CSSProperties>;
322
325
  to: PropType<string | HTMLElement>;
323
326
  scrollable: {
@@ -9,7 +9,7 @@ import { NotificationEnvironment } from './NotificationEnvironment';
9
9
  import { notificationProviderInjectionKey } from './context';
10
10
  import style from './styles/index.cssr';
11
11
  export const notificationApiInjectionKey = createInjectionKey('n-notification-api');
12
- export const notificationProviderProps = Object.assign(Object.assign({}, useTheme.props), { containerStyle: [String, Object], to: [String, Object], scrollable: {
12
+ export const notificationProviderProps = Object.assign(Object.assign({}, useTheme.props), { containerClass: String, containerStyle: [String, Object], to: [String, Object], scrollable: {
13
13
  type: Boolean,
14
14
  default: true
15
15
  }, max: Number, placement: {
@@ -103,7 +103,7 @@ export default defineComponent({
103
103
  return (h(Fragment, null, (_b = (_a = this.$slots).default) === null || _b === void 0 ? void 0 :
104
104
  _b.call(_a),
105
105
  this.notificationList.length ? (h(Teleport, { to: (_c = this.to) !== null && _c !== void 0 ? _c : 'body' },
106
- h(NotificationContainer, { style: this.containerStyle, scrollable: this.scrollable && placement !== 'top' && placement !== 'bottom', placement: placement }, {
106
+ h(NotificationContainer, { class: this.containerClass, style: this.containerStyle, scrollable: this.scrollable && placement !== 'top' && placement !== 'bottom', placement: placement }, {
107
107
  default: () => {
108
108
  return this.notificationList.map((notification) => {
109
109
  return (h(NotificationEnvironment, Object.assign({ ref: ((inst) => {
@@ -48,7 +48,10 @@ export declare const popconfirmProps: {
48
48
  type: PropType<"show" | "if">;
49
49
  default: string;
50
50
  };
51
+ arrowClass: StringConstructor;
51
52
  arrowStyle: PropType<string | import("vue").CSSProperties>;
53
+ arrowWrapperClass: StringConstructor;
54
+ arrowWrapperStyle: PropType<string | import("vue").CSSProperties>;
52
55
  flip: {
53
56
  type: BooleanConstructor;
54
57
  default: boolean;
@@ -72,8 +75,11 @@ export declare const popconfirmProps: {
72
75
  default: undefined;
73
76
  };
74
77
  scrollable: BooleanConstructor;
78
+ contentClass: StringConstructor;
75
79
  contentStyle: PropType<string | import("vue").CSSProperties>;
80
+ headerClass: StringConstructor;
76
81
  headerStyle: PropType<string | import("vue").CSSProperties>;
82
+ footerClass: StringConstructor;
77
83
  footerStyle: PropType<string | import("vue").CSSProperties>;
78
84
  onClickoutside: PropType<(e: MouseEvent) => void>;
79
85
  'onUpdate:show': PropType<import("../../_utils").MaybeArray<(value: boolean) => void>>;
@@ -818,7 +824,10 @@ declare const _default: import("vue").DefineComponent<{
818
824
  type: PropType<"show" | "if">;
819
825
  default: string;
820
826
  };
827
+ arrowClass: StringConstructor;
821
828
  arrowStyle: PropType<string | import("vue").CSSProperties>;
829
+ arrowWrapperClass: StringConstructor;
830
+ arrowWrapperStyle: PropType<string | import("vue").CSSProperties>;
822
831
  flip: {
823
832
  type: BooleanConstructor;
824
833
  default: boolean;
@@ -842,8 +851,11 @@ declare const _default: import("vue").DefineComponent<{
842
851
  default: undefined;
843
852
  };
844
853
  scrollable: BooleanConstructor;
854
+ contentClass: StringConstructor;
845
855
  contentStyle: PropType<string | import("vue").CSSProperties>;
856
+ headerClass: StringConstructor;
846
857
  headerStyle: PropType<string | import("vue").CSSProperties>;
858
+ footerClass: StringConstructor;
847
859
  footerStyle: PropType<string | import("vue").CSSProperties>;
848
860
  onClickoutside: PropType<(e: MouseEvent) => void>;
849
861
  'onUpdate:show': PropType<import("../../_utils").MaybeArray<(value: boolean) => void>>;
@@ -1939,7 +1951,10 @@ declare const _default: import("vue").DefineComponent<{
1939
1951
  type: PropType<"show" | "if">;
1940
1952
  default: string;
1941
1953
  };
1954
+ arrowClass: StringConstructor;
1942
1955
  arrowStyle: PropType<string | import("vue").CSSProperties>;
1956
+ arrowWrapperClass: StringConstructor;
1957
+ arrowWrapperStyle: PropType<string | import("vue").CSSProperties>;
1943
1958
  flip: {
1944
1959
  type: BooleanConstructor;
1945
1960
  default: boolean;
@@ -1963,8 +1978,11 @@ declare const _default: import("vue").DefineComponent<{
1963
1978
  default: undefined;
1964
1979
  };
1965
1980
  scrollable: BooleanConstructor;
1981
+ contentClass: StringConstructor;
1966
1982
  contentStyle: PropType<string | import("vue").CSSProperties>;
1983
+ headerClass: StringConstructor;
1967
1984
  headerStyle: PropType<string | import("vue").CSSProperties>;
1985
+ footerClass: StringConstructor;
1968
1986
  footerStyle: PropType<string | import("vue").CSSProperties>;
1969
1987
  onClickoutside: PropType<(e: MouseEvent) => void>;
1970
1988
  'onUpdate:show': PropType<import("../../_utils").MaybeArray<(value: boolean) => void>>;
@@ -63,7 +63,10 @@ export declare const popoverBaseProps: {
63
63
  type: PropType<"show" | "if">;
64
64
  default: string;
65
65
  };
66
+ arrowClass: StringConstructor;
66
67
  arrowStyle: PropType<string | CSSProperties>;
68
+ arrowWrapperClass: StringConstructor;
69
+ arrowWrapperStyle: PropType<string | CSSProperties>;
67
70
  flip: {
68
71
  type: BooleanConstructor;
69
72
  default: boolean;
@@ -87,8 +90,11 @@ export declare const popoverBaseProps: {
87
90
  default: undefined;
88
91
  };
89
92
  scrollable: BooleanConstructor;
93
+ contentClass: StringConstructor;
90
94
  contentStyle: PropType<string | CSSProperties>;
95
+ headerClass: StringConstructor;
91
96
  headerStyle: PropType<string | CSSProperties>;
97
+ footerClass: StringConstructor;
92
98
  footerStyle: PropType<string | CSSProperties>;
93
99
  onClickoutside: PropType<(e: MouseEvent) => void>;
94
100
  'onUpdate:show': PropType<MaybeArray<(value: boolean) => void>>;
@@ -151,7 +157,10 @@ export declare const popoverProps: {
151
157
  type: PropType<"show" | "if">;
152
158
  default: string;
153
159
  };
160
+ arrowClass: StringConstructor;
154
161
  arrowStyle: PropType<string | CSSProperties>;
162
+ arrowWrapperClass: StringConstructor;
163
+ arrowWrapperStyle: PropType<string | CSSProperties>;
155
164
  flip: {
156
165
  type: BooleanConstructor;
157
166
  default: boolean;
@@ -175,8 +184,11 @@ export declare const popoverProps: {
175
184
  default: undefined;
176
185
  };
177
186
  scrollable: BooleanConstructor;
187
+ contentClass: StringConstructor;
178
188
  contentStyle: PropType<string | CSSProperties>;
189
+ headerClass: StringConstructor;
179
190
  headerStyle: PropType<string | CSSProperties>;
191
+ footerClass: StringConstructor;
180
192
  footerStyle: PropType<string | CSSProperties>;
181
193
  onClickoutside: PropType<(e: MouseEvent) => void>;
182
194
  'onUpdate:show': PropType<MaybeArray<(value: boolean) => void>>;
@@ -283,7 +295,10 @@ declare const _default: import("vue").DefineComponent<{
283
295
  type: PropType<"show" | "if">;
284
296
  default: string;
285
297
  };
298
+ arrowClass: StringConstructor;
286
299
  arrowStyle: PropType<string | CSSProperties>;
300
+ arrowWrapperClass: StringConstructor;
301
+ arrowWrapperStyle: PropType<string | CSSProperties>;
287
302
  flip: {
288
303
  type: BooleanConstructor;
289
304
  default: boolean;
@@ -307,8 +322,11 @@ declare const _default: import("vue").DefineComponent<{
307
322
  default: undefined;
308
323
  };
309
324
  scrollable: BooleanConstructor;
325
+ contentClass: StringConstructor;
310
326
  contentStyle: PropType<string | CSSProperties>;
327
+ headerClass: StringConstructor;
311
328
  headerStyle: PropType<string | CSSProperties>;
329
+ footerClass: StringConstructor;
312
330
  footerStyle: PropType<string | CSSProperties>;
313
331
  onClickoutside: PropType<(e: MouseEvent) => void>;
314
332
  'onUpdate:show': PropType<MaybeArray<(value: boolean) => void>>;
@@ -428,7 +446,10 @@ declare const _default: import("vue").DefineComponent<{
428
446
  type: PropType<"show" | "if">;
429
447
  default: string;
430
448
  };
449
+ arrowClass: StringConstructor;
431
450
  arrowStyle: PropType<string | CSSProperties>;
451
+ arrowWrapperClass: StringConstructor;
452
+ arrowWrapperStyle: PropType<string | CSSProperties>;
432
453
  flip: {
433
454
  type: BooleanConstructor;
434
455
  default: boolean;
@@ -452,8 +473,11 @@ declare const _default: import("vue").DefineComponent<{
452
473
  default: undefined;
453
474
  };
454
475
  scrollable: BooleanConstructor;
476
+ contentClass: StringConstructor;
455
477
  contentStyle: PropType<string | CSSProperties>;
478
+ headerClass: StringConstructor;
456
479
  headerStyle: PropType<string | CSSProperties>;
480
+ footerClass: StringConstructor;
457
481
  footerStyle: PropType<string | CSSProperties>;
458
482
  onClickoutside: PropType<(e: MouseEvent) => void>;
459
483
  'onUpdate:show': PropType<MaybeArray<(value: boolean) => void>>;
@@ -68,7 +68,10 @@ export const popoverBaseProps = {
68
68
  type: String,
69
69
  default: 'if'
70
70
  },
71
+ arrowClass: String,
71
72
  arrowStyle: [String, Object],
73
+ arrowWrapperClass: String,
74
+ arrowWrapperStyle: [String, Object],
72
75
  flip: {
73
76
  type: Boolean,
74
77
  default: true
@@ -89,8 +92,11 @@ export const popoverBaseProps = {
89
92
  zIndex: Number,
90
93
  to: useAdjustedTo.propTo,
91
94
  scrollable: Boolean,
95
+ contentClass: String,
92
96
  contentStyle: [Object, String],
97
+ headerClass: String,
93
98
  headerStyle: [Object, String],
99
+ footerClass: String,
94
100
  footerStyle: [Object, String],
95
101
  // events
96
102
  onClickoutside: Function,
@@ -314,6 +320,7 @@ export default defineComponent({
314
320
  }
315
321
  function getTriggerElement() {
316
322
  var _a;
323
+ // eslint-disable-next-line @typescript-eslint/non-nullable-type-assertion-style
317
324
  return (_a = binderInstRef.value) === null || _a === void 0 ? void 0 : _a.targetRef;
318
325
  }
319
326
  function setBodyInstance(value) {
@@ -13,7 +13,10 @@ export declare const popoverBodyProps: {
13
13
  duration: NumberConstructor;
14
14
  raw: BooleanConstructor;
15
15
  arrowPointToCenter: BooleanConstructor;
16
+ arrowClass: StringConstructor;
16
17
  arrowStyle: PropType<string | CSSProperties>;
18
+ arrowWrapperClass: StringConstructor;
19
+ arrowWrapperStyle: PropType<string | CSSProperties>;
17
20
  displayDirective: PropType<"show" | "if">;
18
21
  x: NumberConstructor;
19
22
  y: NumberConstructor;
@@ -23,8 +26,11 @@ export declare const popoverBodyProps: {
23
26
  width: PropType<number | "trigger">;
24
27
  keepAliveOnHover: BooleanConstructor;
25
28
  scrollable: BooleanConstructor;
29
+ contentClass: StringConstructor;
26
30
  contentStyle: PropType<string | CSSProperties>;
31
+ headerClass: StringConstructor;
27
32
  headerStyle: PropType<string | CSSProperties>;
33
+ footerClass: StringConstructor;
28
34
  footerStyle: PropType<string | CSSProperties>;
29
35
  internalDeactivateImmediately: BooleanConstructor;
30
36
  animated: BooleanConstructor;
@@ -77,10 +83,13 @@ export declare const popoverBodyProps: {
77
83
  }, any>>>;
78
84
  };
79
85
  interface RenderArrowProps {
86
+ arrowClass: string | undefined;
80
87
  arrowStyle: string | CSSProperties | undefined;
88
+ arrowWrapperClass: string | undefined;
89
+ arrowWrapperStyle: string | CSSProperties | undefined;
81
90
  clsPrefix: string;
82
91
  }
83
- export declare const renderArrow: ({ arrowStyle, clsPrefix }: RenderArrowProps) => VNode | null;
92
+ export declare const renderArrow: ({ arrowClass, arrowStyle, arrowWrapperClass, arrowWrapperStyle, clsPrefix }: RenderArrowProps) => VNode | null;
84
93
  declare const _default: import("vue").DefineComponent<{
85
94
  to: {
86
95
  type: PropType<string | boolean | HTMLElement>;
@@ -93,7 +102,10 @@ declare const _default: import("vue").DefineComponent<{
93
102
  duration: NumberConstructor;
94
103
  raw: BooleanConstructor;
95
104
  arrowPointToCenter: BooleanConstructor;
105
+ arrowClass: StringConstructor;
96
106
  arrowStyle: PropType<string | CSSProperties>;
107
+ arrowWrapperClass: StringConstructor;
108
+ arrowWrapperStyle: PropType<string | CSSProperties>;
97
109
  displayDirective: PropType<"show" | "if">;
98
110
  x: NumberConstructor;
99
111
  y: NumberConstructor;
@@ -103,8 +115,11 @@ declare const _default: import("vue").DefineComponent<{
103
115
  width: PropType<number | "trigger">;
104
116
  keepAliveOnHover: BooleanConstructor;
105
117
  scrollable: BooleanConstructor;
118
+ contentClass: StringConstructor;
106
119
  contentStyle: PropType<string | CSSProperties>;
120
+ headerClass: StringConstructor;
107
121
  headerStyle: PropType<string | CSSProperties>;
122
+ footerClass: StringConstructor;
108
123
  footerStyle: PropType<string | CSSProperties>;
109
124
  internalDeactivateImmediately: BooleanConstructor;
110
125
  animated: BooleanConstructor;
@@ -178,7 +193,10 @@ declare const _default: import("vue").DefineComponent<{
178
193
  duration: NumberConstructor;
179
194
  raw: BooleanConstructor;
180
195
  arrowPointToCenter: BooleanConstructor;
196
+ arrowClass: StringConstructor;
181
197
  arrowStyle: PropType<string | CSSProperties>;
198
+ arrowWrapperClass: StringConstructor;
199
+ arrowWrapperStyle: PropType<string | CSSProperties>;
182
200
  displayDirective: PropType<"show" | "if">;
183
201
  x: NumberConstructor;
184
202
  y: NumberConstructor;
@@ -188,8 +206,11 @@ declare const _default: import("vue").DefineComponent<{
188
206
  width: PropType<number | "trigger">;
189
207
  keepAliveOnHover: BooleanConstructor;
190
208
  scrollable: BooleanConstructor;
209
+ contentClass: StringConstructor;
191
210
  contentStyle: PropType<string | CSSProperties>;
211
+ headerClass: StringConstructor;
192
212
  headerStyle: PropType<string | CSSProperties>;
213
+ footerClass: StringConstructor;
193
214
  footerStyle: PropType<string | CSSProperties>;
194
215
  internalDeactivateImmediately: BooleanConstructor;
195
216
  animated: BooleanConstructor;
@@ -10,14 +10,14 @@ import { formatLength, isSlotEmpty, resolveWrappedSlot, useAdjustedTo, isJsdom }
10
10
  import { popoverLight } from '../styles';
11
11
  import { popoverBodyInjectionKey } from './interface';
12
12
  import style from './styles/index.cssr';
13
- export const popoverBodyProps = Object.assign(Object.assign({}, useTheme.props), { to: useAdjustedTo.propTo, show: Boolean, trigger: String, showArrow: Boolean, delay: Number, duration: Number, raw: Boolean, arrowPointToCenter: Boolean, arrowStyle: [String, Object], displayDirective: String, x: Number, y: Number, flip: Boolean, overlap: Boolean, placement: String, width: [Number, String], keepAliveOnHover: Boolean, scrollable: Boolean, contentStyle: [Object, String], headerStyle: [Object, String], footerStyle: [Object, String],
13
+ export const popoverBodyProps = Object.assign(Object.assign({}, useTheme.props), { to: useAdjustedTo.propTo, show: Boolean, trigger: String, showArrow: Boolean, delay: Number, duration: Number, raw: Boolean, arrowPointToCenter: Boolean, arrowClass: String, arrowStyle: [String, Object], arrowWrapperClass: String, arrowWrapperStyle: [String, Object], displayDirective: String, x: Number, y: Number, flip: Boolean, overlap: Boolean, placement: String, width: [Number, String], keepAliveOnHover: Boolean, scrollable: Boolean, contentClass: String, contentStyle: [Object, String], headerClass: String, headerStyle: [Object, String], footerClass: String, footerStyle: [Object, String],
14
14
  // private
15
15
  internalDeactivateImmediately: Boolean, animated: Boolean, onClickoutside: Function, internalTrapFocus: Boolean, internalOnAfterLeave: Function,
16
16
  // deprecated
17
17
  minWidth: Number, maxWidth: Number });
18
- export const renderArrow = ({ arrowStyle, clsPrefix }) => {
19
- return (h("div", { key: "__popover-arrow__", class: `${clsPrefix}-popover-arrow-wrapper` },
20
- h("div", { class: `${clsPrefix}-popover-arrow`, style: arrowStyle })));
18
+ export const renderArrow = ({ arrowClass, arrowStyle, arrowWrapperClass, arrowWrapperStyle, clsPrefix }) => {
19
+ return (h("div", { key: "__popover-arrow__", style: arrowWrapperStyle, class: [`${clsPrefix}-popover-arrow-wrapper`, arrowWrapperClass] },
20
+ h("div", { class: [`${clsPrefix}-popover-arrow`, arrowClass], style: arrowStyle })));
21
21
  };
22
22
  export default defineComponent({
23
23
  name: 'PopoverBody',
@@ -27,6 +27,7 @@ export default defineComponent({
27
27
  const { namespaceRef, mergedClsPrefixRef, inlineThemeDisabled } = useConfig(props);
28
28
  const themeRef = useTheme('Popover', '-popover', style, popoverLight, props, mergedClsPrefixRef);
29
29
  const followerRef = ref(null);
30
+ // eslint-disable-next-line @typescript-eslint/non-nullable-type-assertion-style
30
31
  const NPopover = inject('NPopover');
31
32
  const bodyRef = ref(null);
32
33
  const followerEnabledRef = ref(props.show);
@@ -176,25 +177,40 @@ export default defineComponent({
176
177
  const { internalTrapFocus } = props;
177
178
  const hasHeaderOrFooter = !isSlotEmpty(slots.header) || !isSlotEmpty(slots.footer);
178
179
  const renderContentInnerNode = () => {
179
- var _a;
180
+ var _a, _b;
180
181
  const body = hasHeaderOrFooter ? (h(Fragment, null,
181
182
  resolveWrappedSlot(slots.header, (children) => {
182
- return children ? (h("div", { class: `${mergedClsPrefix}-popover__header`, style: props.headerStyle }, children)) : null;
183
+ return children ? (h("div", { class: [
184
+ `${mergedClsPrefix}-popover__header`,
185
+ props.headerClass
186
+ ], style: props.headerStyle }, children)) : null;
183
187
  }),
184
188
  resolveWrappedSlot(slots.default, (children) => {
185
- return children ? (h("div", { class: `${mergedClsPrefix}-popover__content`, style: props.contentStyle }, slots)) : null;
189
+ return children ? (h("div", { class: [
190
+ `${mergedClsPrefix}-popover__content`,
191
+ props.contentClass
192
+ ], style: props.contentStyle }, slots)) : null;
186
193
  }),
187
194
  resolveWrappedSlot(slots.footer, (children) => {
188
- return children ? (h("div", { class: `${mergedClsPrefix}-popover__footer`, style: props.footerStyle }, children)) : null;
189
- }))) : props.scrollable ? ((_a = slots.default) === null || _a === void 0 ? void 0 : _a.call(slots)) : (h("div", { class: `${mergedClsPrefix}-popover__content`, style: props.contentStyle }, slots));
195
+ return children ? (h("div", { class: [
196
+ `${mergedClsPrefix}-popover__footer`,
197
+ props.footerClass
198
+ ], style: props.footerStyle }, children)) : null;
199
+ }))) : props.scrollable ? ((_a = slots.default) === null || _a === void 0 ? void 0 : _a.call(slots)) : (h("div", { class: [
200
+ `${mergedClsPrefix}-popover__content`,
201
+ props.contentClass
202
+ ], style: props.contentStyle }, slots));
190
203
  const maybeScrollableBody = props.scrollable ? (h(NxScrollbar, { contentClass: hasHeaderOrFooter
191
204
  ? undefined
192
- : `${mergedClsPrefix}-popover__content`, contentStyle: hasHeaderOrFooter ? undefined : props.contentStyle }, {
205
+ : `${mergedClsPrefix}-popover__content ${(_b = props.contentClass) !== null && _b !== void 0 ? _b : ''}`, contentStyle: hasHeaderOrFooter ? undefined : props.contentStyle }, {
193
206
  default: () => body
194
207
  })) : (body);
195
208
  const arrow = props.showArrow
196
209
  ? renderArrow({
210
+ arrowClass: props.arrowClass,
197
211
  arrowStyle: props.arrowStyle,
212
+ arrowWrapperClass: props.arrowWrapperClass,
213
+ arrowWrapperStyle: props.arrowWrapperStyle,
198
214
  clsPrefix: mergedClsPrefix
199
215
  })
200
216
  : null;
@@ -9,4 +9,4 @@ export type InternalPopoverInst = PopoverInst & {
9
9
  };
10
10
  export type PopoverBodyInjection = Ref<HTMLElement | null> | null;
11
11
  export declare const popoverBodyInjectionKey: import("vue").InjectionKey<PopoverBodyInjection>;
12
- export type InternalRenderBody = (className: any, ref: Ref<HTMLElement | null>, style: Ref<CSSProperties>, onMouseenter: (e: MouseEvent) => void, onMouseleave: (e: MouseEvent) => void) => VNode;
12
+ export type InternalRenderBody = (className: any, ref: Ref<HTMLElement | null>, style: CSSProperties[], onMouseenter: (e: MouseEvent) => void, onMouseleave: (e: MouseEvent) => void) => VNode;
@@ -65,8 +65,12 @@ export declare const popselectProps: {
65
65
  };
66
66
  raw: BooleanConstructor;
67
67
  overlap: BooleanConstructor;
68
+ contentClass: StringConstructor;
68
69
  contentStyle: PropType<string | import("vue").CSSProperties>;
70
+ arrowClass: StringConstructor;
69
71
  arrowStyle: PropType<string | import("vue").CSSProperties>;
72
+ arrowWrapperClass: StringConstructor;
73
+ arrowWrapperStyle: PropType<string | import("vue").CSSProperties>;
70
74
  delay: {
71
75
  type: NumberConstructor;
72
76
  default: number;
@@ -80,7 +84,9 @@ export declare const popselectProps: {
80
84
  type: BooleanConstructor;
81
85
  default: boolean;
82
86
  };
87
+ headerClass: StringConstructor;
83
88
  headerStyle: PropType<string | import("vue").CSSProperties>;
89
+ footerClass: StringConstructor;
84
90
  footerStyle: PropType<string | import("vue").CSSProperties>;
85
91
  internalDeactivateImmediately: BooleanConstructor;
86
92
  animated: {
@@ -384,8 +390,12 @@ declare const _default: import("vue").DefineComponent<{
384
390
  };
385
391
  raw: BooleanConstructor;
386
392
  overlap: BooleanConstructor;
393
+ contentClass: StringConstructor;
387
394
  contentStyle: PropType<string | import("vue").CSSProperties>;
395
+ arrowClass: StringConstructor;
388
396
  arrowStyle: PropType<string | import("vue").CSSProperties>;
397
+ arrowWrapperClass: StringConstructor;
398
+ arrowWrapperStyle: PropType<string | import("vue").CSSProperties>;
389
399
  delay: {
390
400
  type: NumberConstructor;
391
401
  default: number;
@@ -399,7 +409,9 @@ declare const _default: import("vue").DefineComponent<{
399
409
  type: BooleanConstructor;
400
410
  default: boolean;
401
411
  };
412
+ headerClass: StringConstructor;
402
413
  headerStyle: PropType<string | import("vue").CSSProperties>;
414
+ footerClass: StringConstructor;
403
415
  footerStyle: PropType<string | import("vue").CSSProperties>;
404
416
  internalDeactivateImmediately: BooleanConstructor;
405
417
  animated: {
@@ -914,8 +926,12 @@ declare const _default: import("vue").DefineComponent<{
914
926
  };
915
927
  raw: BooleanConstructor;
916
928
  overlap: BooleanConstructor;
929
+ contentClass: StringConstructor;
917
930
  contentStyle: PropType<string | import("vue").CSSProperties>;
931
+ arrowClass: StringConstructor;
918
932
  arrowStyle: PropType<string | import("vue").CSSProperties>;
933
+ arrowWrapperClass: StringConstructor;
934
+ arrowWrapperStyle: PropType<string | import("vue").CSSProperties>;
919
935
  delay: {
920
936
  type: NumberConstructor;
921
937
  default: number;
@@ -929,7 +945,9 @@ declare const _default: import("vue").DefineComponent<{
929
945
  type: BooleanConstructor;
930
946
  default: boolean;
931
947
  };
948
+ headerClass: StringConstructor;
932
949
  headerStyle: PropType<string | import("vue").CSSProperties>;
950
+ footerClass: StringConstructor;
933
951
  footerStyle: PropType<string | import("vue").CSSProperties>;
934
952
  internalDeactivateImmediately: BooleanConstructor;
935
953
  animated: {
@@ -50,13 +50,14 @@ export default defineComponent({
50
50
  ref: 'popoverInstRef',
51
51
  internalRenderBody: (className, ref, style, onMouseenter, onMouseleave) => {
52
52
  const { $attrs } = this;
53
- return (h(NPopselectPanel, Object.assign({}, $attrs, { class: [$attrs.class, className], style: [$attrs.style, style] }, keep(this.$props, panelPropKeys), { ref: createRefSetter(ref), onMouseenter: mergeEventHandlers([
53
+ return (h(NPopselectPanel, Object.assign({}, $attrs, { class: [$attrs.class, className], style: [$attrs.style, ...style] }, keep(this.$props, panelPropKeys), { ref: createRefSetter(ref), onMouseenter: mergeEventHandlers([
54
54
  onMouseenter,
55
55
  $attrs.onMouseenter
56
56
  ]), onMouseleave: mergeEventHandlers([
57
57
  onMouseleave,
58
58
  $attrs.onMouseleave
59
59
  ]) }), {
60
+ header: () => { var _a, _b; return (_b = (_a = this.$slots).header) === null || _b === void 0 ? void 0 : _b.call(_a); },
60
61
  action: () => { var _a, _b; return (_b = (_a = this.$slots).action) === null || _b === void 0 ? void 0 : _b.call(_a); },
61
62
  empty: () => { var _a, _b; return (_b = (_a = this.$slots).empty) === null || _b === void 0 ? void 0 : _b.call(_a); }
62
63
  }));
@@ -156,6 +156,7 @@ export default defineComponent({
156
156
  var _a;
157
157
  (_a = this.onRender) === null || _a === void 0 ? void 0 : _a.call(this);
158
158
  return (h(NInternalSelectMenu, { clsPrefix: this.mergedClsPrefix, focusable: true, nodeProps: this.nodeProps, class: [`${this.mergedClsPrefix}-popselect-menu`, this.themeClass], style: this.cssVars, theme: this.mergedTheme.peers.InternalSelectMenu, themeOverrides: this.mergedTheme.peerOverrides.InternalSelectMenu, multiple: this.multiple, treeMate: this.treeMate, size: this.size, value: this.value, virtualScroll: this.virtualScroll, scrollable: this.scrollable, renderLabel: this.renderLabel, onToggle: this.handleToggle, onMouseenter: this.onMouseenter, onMouseleave: this.onMouseenter, onMousedown: this.handleMenuMousedown, showCheckmark: this.showCheckmark }, {
159
+ header: () => { var _a, _b; return ((_b = (_a = this.$slots).header) === null || _b === void 0 ? void 0 : _b.call(_a)) || []; },
159
160
  action: () => { var _a, _b; return ((_b = (_a = this.$slots).action) === null || _b === void 0 ? void 0 : _b.call(_a)) || []; },
160
161
  empty: () => { var _a, _b; return ((_b = (_a = this.$slots).empty) === null || _b === void 0 ? void 0 : _b.call(_a)) || []; }
161
162
  }));
@@ -381,8 +381,8 @@ declare const _default: import("vue").DefineComponent<{
381
381
  }, any>>>;
382
382
  }>>, {
383
383
  readonly type: "circle" | "line" | "multiple-circle" | "dashboard";
384
- readonly strokeWidth: number;
385
384
  readonly status: Status;
385
+ readonly strokeWidth: number;
386
386
  readonly processing: boolean;
387
387
  readonly unit: string;
388
388
  readonly indicatorPlacement: "inside" | "outside";
@@ -0,0 +1,2 @@
1
+ export { default as NQrCode, qrCodeProps } from './src/QrCode';
2
+ export type { QrCodeProps } from './src/QrCode';
@@ -0,0 +1 @@
1
+ export { default as NQrCode, qrCodeProps } from './src/QrCode';