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: {
@@ -15,7 +15,7 @@ const NotificationEnvironment_1 = require("./NotificationEnvironment");
15
15
  const context_1 = require("./context");
16
16
  const index_cssr_1 = __importDefault(require("./styles/index.cssr"));
17
17
  exports.notificationApiInjectionKey = (0, _utils_1.createInjectionKey)('n-notification-api');
18
- exports.notificationProviderProps = Object.assign(Object.assign({}, _mixins_1.useTheme.props), { containerStyle: [String, Object], to: [String, Object], scrollable: {
18
+ exports.notificationProviderProps = Object.assign(Object.assign({}, _mixins_1.useTheme.props), { containerClass: String, containerStyle: [String, Object], to: [String, Object], scrollable: {
19
19
  type: Boolean,
20
20
  default: true
21
21
  }, max: Number, placement: {
@@ -109,7 +109,7 @@ exports.default = (0, vue_1.defineComponent)({
109
109
  return ((0, vue_1.h)(vue_1.Fragment, null, (_b = (_a = this.$slots).default) === null || _b === void 0 ? void 0 :
110
110
  _b.call(_a),
111
111
  this.notificationList.length ? ((0, vue_1.h)(vue_1.Teleport, { to: (_c = this.to) !== null && _c !== void 0 ? _c : 'body' },
112
- (0, vue_1.h)(NotificationContainer_1.NotificationContainer, { style: this.containerStyle, scrollable: this.scrollable && placement !== 'top' && placement !== 'bottom', placement: placement }, {
112
+ (0, vue_1.h)(NotificationContainer_1.NotificationContainer, { class: this.containerClass, style: this.containerStyle, scrollable: this.scrollable && placement !== 'top' && placement !== 'bottom', placement: placement }, {
113
113
  default: () => {
114
114
  return this.notificationList.map((notification) => {
115
115
  return ((0, vue_1.h)(NotificationEnvironment_1.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>>;
@@ -94,7 +94,10 @@ exports.popoverBaseProps = {
94
94
  type: String,
95
95
  default: 'if'
96
96
  },
97
+ arrowClass: String,
97
98
  arrowStyle: [String, Object],
99
+ arrowWrapperClass: String,
100
+ arrowWrapperStyle: [String, Object],
98
101
  flip: {
99
102
  type: Boolean,
100
103
  default: true
@@ -115,8 +118,11 @@ exports.popoverBaseProps = {
115
118
  zIndex: Number,
116
119
  to: _utils_1.useAdjustedTo.propTo,
117
120
  scrollable: Boolean,
121
+ contentClass: String,
118
122
  contentStyle: [Object, String],
123
+ headerClass: String,
119
124
  headerStyle: [Object, String],
125
+ footerClass: String,
120
126
  footerStyle: [Object, String],
121
127
  // events
122
128
  onClickoutside: Function,
@@ -340,6 +346,7 @@ exports.default = (0, vue_1.defineComponent)({
340
346
  }
341
347
  function getTriggerElement() {
342
348
  var _a;
349
+ // eslint-disable-next-line @typescript-eslint/non-nullable-type-assertion-style
343
350
  return (_a = binderInstRef.value) === null || _a === void 0 ? void 0 : _a.targetRef;
344
351
  }
345
352
  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;
@@ -16,14 +16,14 @@ const _utils_1 = require("../../_utils");
16
16
  const styles_1 = require("../styles");
17
17
  const interface_3 = require("./interface");
18
18
  const index_cssr_1 = __importDefault(require("./styles/index.cssr"));
19
- exports.popoverBodyProps = Object.assign(Object.assign({}, _mixins_1.useTheme.props), { to: _utils_1.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],
19
+ exports.popoverBodyProps = Object.assign(Object.assign({}, _mixins_1.useTheme.props), { to: _utils_1.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],
20
20
  // private
21
21
  internalDeactivateImmediately: Boolean, animated: Boolean, onClickoutside: Function, internalTrapFocus: Boolean, internalOnAfterLeave: Function,
22
22
  // deprecated
23
23
  minWidth: Number, maxWidth: Number });
24
- const renderArrow = ({ arrowStyle, clsPrefix }) => {
25
- return ((0, vue_1.h)("div", { key: "__popover-arrow__", class: `${clsPrefix}-popover-arrow-wrapper` },
26
- (0, vue_1.h)("div", { class: `${clsPrefix}-popover-arrow`, style: arrowStyle })));
24
+ const renderArrow = ({ arrowClass, arrowStyle, arrowWrapperClass, arrowWrapperStyle, clsPrefix }) => {
25
+ return ((0, vue_1.h)("div", { key: "__popover-arrow__", style: arrowWrapperStyle, class: [`${clsPrefix}-popover-arrow-wrapper`, arrowWrapperClass] },
26
+ (0, vue_1.h)("div", { class: [`${clsPrefix}-popover-arrow`, arrowClass], style: arrowStyle })));
27
27
  };
28
28
  exports.renderArrow = renderArrow;
29
29
  exports.default = (0, vue_1.defineComponent)({
@@ -34,6 +34,7 @@ exports.default = (0, vue_1.defineComponent)({
34
34
  const { namespaceRef, mergedClsPrefixRef, inlineThemeDisabled } = (0, _mixins_1.useConfig)(props);
35
35
  const themeRef = (0, _mixins_1.useTheme)('Popover', '-popover', index_cssr_1.default, styles_1.popoverLight, props, mergedClsPrefixRef);
36
36
  const followerRef = (0, vue_1.ref)(null);
37
+ // eslint-disable-next-line @typescript-eslint/non-nullable-type-assertion-style
37
38
  const NPopover = (0, vue_1.inject)('NPopover');
38
39
  const bodyRef = (0, vue_1.ref)(null);
39
40
  const followerEnabledRef = (0, vue_1.ref)(props.show);
@@ -183,25 +184,40 @@ exports.default = (0, vue_1.defineComponent)({
183
184
  const { internalTrapFocus } = props;
184
185
  const hasHeaderOrFooter = !(0, _utils_1.isSlotEmpty)(slots.header) || !(0, _utils_1.isSlotEmpty)(slots.footer);
185
186
  const renderContentInnerNode = () => {
186
- var _a;
187
+ var _a, _b;
187
188
  const body = hasHeaderOrFooter ? ((0, vue_1.h)(vue_1.Fragment, null,
188
189
  (0, _utils_1.resolveWrappedSlot)(slots.header, (children) => {
189
- return children ? ((0, vue_1.h)("div", { class: `${mergedClsPrefix}-popover__header`, style: props.headerStyle }, children)) : null;
190
+ return children ? ((0, vue_1.h)("div", { class: [
191
+ `${mergedClsPrefix}-popover__header`,
192
+ props.headerClass
193
+ ], style: props.headerStyle }, children)) : null;
190
194
  }),
191
195
  (0, _utils_1.resolveWrappedSlot)(slots.default, (children) => {
192
- return children ? ((0, vue_1.h)("div", { class: `${mergedClsPrefix}-popover__content`, style: props.contentStyle }, slots)) : null;
196
+ return children ? ((0, vue_1.h)("div", { class: [
197
+ `${mergedClsPrefix}-popover__content`,
198
+ props.contentClass
199
+ ], style: props.contentStyle }, slots)) : null;
193
200
  }),
194
201
  (0, _utils_1.resolveWrappedSlot)(slots.footer, (children) => {
195
- return children ? ((0, vue_1.h)("div", { class: `${mergedClsPrefix}-popover__footer`, style: props.footerStyle }, children)) : null;
196
- }))) : props.scrollable ? ((_a = slots.default) === null || _a === void 0 ? void 0 : _a.call(slots)) : ((0, vue_1.h)("div", { class: `${mergedClsPrefix}-popover__content`, style: props.contentStyle }, slots));
202
+ return children ? ((0, vue_1.h)("div", { class: [
203
+ `${mergedClsPrefix}-popover__footer`,
204
+ props.footerClass
205
+ ], style: props.footerStyle }, children)) : null;
206
+ }))) : props.scrollable ? ((_a = slots.default) === null || _a === void 0 ? void 0 : _a.call(slots)) : ((0, vue_1.h)("div", { class: [
207
+ `${mergedClsPrefix}-popover__content`,
208
+ props.contentClass
209
+ ], style: props.contentStyle }, slots));
197
210
  const maybeScrollableBody = props.scrollable ? ((0, vue_1.h)(scrollbar_1.NxScrollbar, { contentClass: hasHeaderOrFooter
198
211
  ? undefined
199
- : `${mergedClsPrefix}-popover__content`, contentStyle: hasHeaderOrFooter ? undefined : props.contentStyle }, {
212
+ : `${mergedClsPrefix}-popover__content ${(_b = props.contentClass) !== null && _b !== void 0 ? _b : ''}`, contentStyle: hasHeaderOrFooter ? undefined : props.contentStyle }, {
200
213
  default: () => body
201
214
  })) : (body);
202
215
  const arrow = props.showArrow
203
216
  ? (0, exports.renderArrow)({
217
+ arrowClass: props.arrowClass,
204
218
  arrowStyle: props.arrowStyle,
219
+ arrowWrapperClass: props.arrowWrapperClass,
220
+ arrowWrapperStyle: props.arrowWrapperStyle,
205
221
  clsPrefix: mergedClsPrefix
206
222
  })
207
223
  : 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: {
@@ -76,13 +76,14 @@ exports.default = (0, vue_1.defineComponent)({
76
76
  ref: 'popoverInstRef',
77
77
  internalRenderBody: (className, ref, style, onMouseenter, onMouseleave) => {
78
78
  const { $attrs } = this;
79
- return ((0, vue_1.h)(PopselectPanel_1.default, Object.assign({}, $attrs, { class: [$attrs.class, className], style: [$attrs.style, style] }, (0, _utils_1.keep)(this.$props, PopselectPanel_1.panelPropKeys), { ref: (0, _utils_1.createRefSetter)(ref), onMouseenter: (0, _utils_1.mergeEventHandlers)([
79
+ return ((0, vue_1.h)(PopselectPanel_1.default, Object.assign({}, $attrs, { class: [$attrs.class, className], style: [$attrs.style, ...style] }, (0, _utils_1.keep)(this.$props, PopselectPanel_1.panelPropKeys), { ref: (0, _utils_1.createRefSetter)(ref), onMouseenter: (0, _utils_1.mergeEventHandlers)([
80
80
  onMouseenter,
81
81
  $attrs.onMouseenter
82
82
  ]), onMouseleave: (0, _utils_1.mergeEventHandlers)([
83
83
  onMouseleave,
84
84
  $attrs.onMouseleave
85
85
  ]) }), {
86
+ header: () => { var _a, _b; return (_b = (_a = this.$slots).header) === null || _b === void 0 ? void 0 : _b.call(_a); },
86
87
  action: () => { var _a, _b; return (_b = (_a = this.$slots).action) === null || _b === void 0 ? void 0 : _b.call(_a); },
87
88
  empty: () => { var _a, _b; return (_b = (_a = this.$slots).empty) === null || _b === void 0 ? void 0 : _b.call(_a); }
88
89
  }));
@@ -162,6 +162,7 @@ exports.default = (0, vue_1.defineComponent)({
162
162
  var _a;
163
163
  (_a = this.onRender) === null || _a === void 0 ? void 0 : _a.call(this);
164
164
  return ((0, vue_1.h)(_internal_1.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 }, {
165
+ header: () => { var _a, _b; return ((_b = (_a = this.$slots).header) === null || _b === void 0 ? void 0 : _b.call(_a)) || []; },
165
166
  action: () => { var _a, _b; return ((_b = (_a = this.$slots).action) === null || _b === void 0 ? void 0 : _b.call(_a)) || []; },
166
167
  empty: () => { var _a, _b; return ((_b = (_a = this.$slots).empty) === null || _b === void 0 ? void 0 : _b.call(_a)) || []; }
167
168
  }));
@@ -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,9 @@
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
+ exports.qrCodeProps = exports.NQrCode = void 0;
7
+ var QrCode_1 = require("./src/QrCode");
8
+ Object.defineProperty(exports, "NQrCode", { enumerable: true, get: function () { return __importDefault(QrCode_1).default; } });
9
+ Object.defineProperty(exports, "qrCodeProps", { enumerable: true, get: function () { return QrCode_1.qrCodeProps; } });