naive-ui 2.18.0 → 2.19.1

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 (394) hide show
  1. package/es/_internal/clear/src/Clear.d.ts +1 -4
  2. package/es/_internal/clear/src/Clear.js +1 -4
  3. package/es/_internal/icons/Checkmark.js +3 -2
  4. package/es/_internal/select-menu/src/SelectMenu.d.ts +173 -0
  5. package/es/_internal/select-menu/src/SelectMenu.js +9 -6
  6. package/es/_internal/select-menu/src/SelectOption.js +2 -1
  7. package/es/_internal/select-menu/src/styles/index.cssr.js +32 -28
  8. package/es/_internal/select-menu/styles/light.d.ts +2 -0
  9. package/es/_internal/select-menu/styles/light.js +1 -1
  10. package/es/_internal/selection/src/Selection.d.ts +8 -0
  11. package/es/_internal/selection/src/Selection.js +34 -14
  12. package/es/_internal/selection/src/styles/index.cssr.js +16 -14
  13. package/es/_internal/selection/styles/_common.d.ts +1 -0
  14. package/es/_internal/selection/styles/_common.js +2 -1
  15. package/es/_internal/selection/styles/light.d.ts +2 -0
  16. package/es/_styles/common/light.js +1 -1
  17. package/es/_utils/naive/mutable.d.ts +2 -2
  18. package/es/anchor/src/AnchorAdapter.d.ts +13 -8
  19. package/es/anchor/src/AnchorAdapter.js +3 -5
  20. package/es/anchor/src/BaseAnchor.d.ts +14 -1
  21. package/es/anchor/src/BaseAnchor.js +20 -7
  22. package/es/anchor/src/Link.js +5 -5
  23. package/es/anchor/src/styles/index.cssr.js +25 -16
  24. package/es/auto-complete/index.d.ts +1 -0
  25. package/es/auto-complete/src/AutoComplete.d.ts +10 -0
  26. package/es/auto-complete/src/interface.d.ts +1 -1
  27. package/es/auto-complete/styles/light.d.ts +1 -0
  28. package/es/badge/src/styles/index.cssr.js +1 -0
  29. package/es/card/src/Card.d.ts +17 -1
  30. package/es/card/src/Card.js +3 -2
  31. package/es/card/styles/dark.js +6 -1
  32. package/es/card/styles/light.d.ts +1 -0
  33. package/es/card/styles/light.js +2 -2
  34. package/es/cascader/src/Cascader.d.ts +20 -0
  35. package/es/cascader/src/Cascader.js +28 -19
  36. package/es/cascader/src/CascaderMenu.js +17 -15
  37. package/es/cascader/src/CascaderOption.d.ts +2 -0
  38. package/es/cascader/src/CascaderSelectMenu.d.ts +2 -0
  39. package/es/cascader/src/CascaderSubmenu.d.ts +2 -0
  40. package/es/cascader/src/interface.d.ts +2 -2
  41. package/es/cascader/src/styles/index.cssr.js +6 -1
  42. package/es/cascader/styles/light.d.ts +2 -0
  43. package/es/composables/use-theme-vars.js +5 -5
  44. package/es/config-provider/src/internal-interface.d.ts +2 -0
  45. package/es/data-table/src/DataTable.d.ts +22 -0
  46. package/es/data-table/src/HeaderButton/FilterButton.d.ts +4 -0
  47. package/es/data-table/src/HeaderButton/FilterMenu.d.ts +4 -0
  48. package/es/data-table/src/TableParts/Body.d.ts +4 -0
  49. package/es/data-table/src/TableParts/Cell.d.ts +8 -0
  50. package/es/data-table/src/TableParts/Header.d.ts +4 -0
  51. package/es/data-table/styles/light.d.ts +2 -0
  52. package/es/date-picker/src/DatePicker.d.ts +8 -3
  53. package/es/date-picker/src/DatePicker.js +2 -2
  54. package/es/date-picker/src/panel/date.d.ts +3 -3
  55. package/es/date-picker/src/panel/date.js +10 -1
  56. package/es/date-picker/src/panel/daterange.js +10 -1
  57. package/es/date-picker/src/panel/datetimerange.js +10 -1
  58. package/es/descriptions/src/Descriptions.d.ts +4 -17
  59. package/es/descriptions/src/Descriptions.js +2 -8
  60. package/es/dialog/src/Dialog.d.ts +4 -16
  61. package/es/dialog/src/Dialog.js +2 -8
  62. package/es/dialog/src/DialogEnvironment.d.ts +28 -36
  63. package/es/dialog/src/DialogEnvironment.js +2 -2
  64. package/es/dialog/src/DialogProvider.d.ts +18 -15
  65. package/es/dialog/src/DialogProvider.js +2 -1
  66. package/es/dropdown/src/Dropdown.d.ts +9 -23
  67. package/es/dynamic-tags/src/DynamicTags.js +2 -1
  68. package/es/empty/src/Empty.d.ts +6 -1
  69. package/es/empty/src/Empty.js +16 -4
  70. package/es/form/src/FormItemGridItem.d.ts +1 -1
  71. package/es/form/src/FormItemGridItem.js +2 -2
  72. package/es/grid/src/GridItem.d.ts +2 -2
  73. package/es/grid/src/GridItem.js +1 -1
  74. package/es/input-number/src/InputNumber.d.ts +5 -0
  75. package/es/input-number/src/InputNumber.js +9 -8
  76. package/es/layout/src/Layout.d.ts +18 -4
  77. package/es/layout/src/LayoutContent.d.ts +9 -2
  78. package/es/layout/src/LayoutFooter.d.ts +9 -0
  79. package/es/layout/src/LayoutHeader.d.ts +6 -0
  80. package/es/layout/src/LayoutSider.d.ts +11 -0
  81. package/es/layout/src/LayoutSider.js +4 -2
  82. package/es/layout/src/ToggleButton.js +7 -3
  83. package/es/layout/src/styles/layout-sider.cssr.js +31 -15
  84. package/es/layout/styles/dark.js +3 -2
  85. package/es/layout/styles/light.d.ts +2 -0
  86. package/es/layout/styles/light.js +3 -2
  87. package/es/locales/common/enUS.js +1 -1
  88. package/es/locales/common/ruRU.js +1 -1
  89. package/es/locales/common/zhCN.js +1 -1
  90. package/es/mention/src/Mention.d.ts +10 -0
  91. package/es/mention/styles/light.d.ts +1 -0
  92. package/es/menu/src/Menu.d.ts +6 -1
  93. package/es/menu/src/Menu.js +10 -1
  94. package/es/menu/src/MenuOption.d.ts +3 -1
  95. package/es/menu/src/MenuOptionContent.d.ts +3 -1
  96. package/es/menu/src/Submenu.d.ts +3 -1
  97. package/es/modal/src/BodyWrapper.d.ts +7 -8
  98. package/es/modal/src/Modal.d.ts +40 -71
  99. package/es/modal/src/Modal.js +18 -39
  100. package/es/modal/src/presetProps.d.ts +4 -9
  101. package/es/modal/styles/light.d.ts +1 -0
  102. package/es/notification/src/Notification.d.ts +1 -1
  103. package/es/notification/src/NotificationEnvironment.d.ts +1 -1
  104. package/es/notification/src/NotificationProvider.d.ts +16 -16
  105. package/es/page-header/src/PageHeader.d.ts +1 -0
  106. package/es/page-header/src/PageHeader.js +8 -2
  107. package/es/page-header/src/styles/rtl.cssr.d.ts +2 -0
  108. package/es/page-header/src/styles/rtl.cssr.js +19 -0
  109. package/es/page-header/styles/index.d.ts +1 -0
  110. package/es/page-header/styles/index.js +1 -0
  111. package/es/page-header/styles/rtl.d.ts +5 -0
  112. package/es/page-header/styles/rtl.js +5 -0
  113. package/es/pagination/src/Pagination.d.ts +23 -1
  114. package/es/pagination/styles/light.d.ts +2 -0
  115. package/es/popconfirm/src/Popconfirm.d.ts +8 -22
  116. package/es/popover/src/Popover.d.ts +12 -32
  117. package/es/popover/src/Popover.js +25 -18
  118. package/es/popover/src/PopoverBody.d.ts +2 -2
  119. package/es/popover/src/PopoverBody.js +4 -2
  120. package/es/popselect/src/Popselect.d.ts +18 -22
  121. package/es/popselect/src/PopselectPanel.d.ts +1 -0
  122. package/es/popselect/src/PopselectPanel.js +38 -19
  123. package/es/popselect/styles/light.d.ts +1 -0
  124. package/es/select/src/Select.d.ts +31 -3
  125. package/es/select/src/Select.js +55 -56
  126. package/es/select/src/interface.d.ts +2 -2
  127. package/es/select/styles/light.d.ts +2 -0
  128. package/es/spin/src/Spin.d.ts +34 -25
  129. package/es/spin/src/Spin.js +27 -20
  130. package/es/spin/src/styles/index.cssr.js +23 -9
  131. package/es/spin/styles/light.d.ts +2 -0
  132. package/es/spin/styles/light.js +3 -1
  133. package/es/steps/src/Steps.js +2 -2
  134. package/es/styles.d.ts +1 -0
  135. package/es/styles.js +1 -0
  136. package/es/tabs/src/Tab.d.ts +1 -1
  137. package/es/tabs/src/Tab.js +4 -6
  138. package/es/tabs/src/Tabs.d.ts +133 -42
  139. package/es/tabs/src/Tabs.js +37 -38
  140. package/es/tabs/src/interface.d.ts +2 -1
  141. package/es/tabs/src/styles/index.cssr.js +34 -10
  142. package/es/tabs/styles/_common.d.ts +6 -0
  143. package/es/tabs/styles/_common.js +6 -0
  144. package/es/tabs/styles/dark.js +7 -1
  145. package/es/tabs/styles/light.d.ts +13 -0
  146. package/es/tabs/styles/light.js +3 -3
  147. package/es/tag/src/styles/index.cssr.js +1 -1
  148. package/es/time/src/Time.d.ts +14 -22
  149. package/es/time/src/Time.js +32 -18
  150. package/es/time-picker/src/TimePicker.d.ts +5 -0
  151. package/es/time-picker/src/TimePicker.js +2 -2
  152. package/es/timeline/src/Timeline.d.ts +67 -0
  153. package/es/timeline/src/Timeline.js +1 -1
  154. package/es/timeline/src/TimelineItem.d.ts +2 -0
  155. package/es/timeline/src/TimelineItem.js +11 -11
  156. package/es/timeline/src/styles/index.cssr.js +26 -17
  157. package/es/timeline/styles/_common.d.ts +2 -0
  158. package/es/timeline/styles/_common.js +3 -1
  159. package/es/timeline/styles/dark.js +1 -1
  160. package/es/timeline/styles/light.d.ts +7 -0
  161. package/es/timeline/styles/light.js +1 -1
  162. package/es/tooltip/src/Tooltip.d.ts +8 -22
  163. package/es/transfer/src/TransferList.d.ts +1 -1
  164. package/es/tree/src/Tree.d.ts +25 -10
  165. package/es/tree/src/Tree.js +34 -11
  166. package/es/tree/src/TreeNode.js +5 -2
  167. package/es/tree/src/interface.d.ts +2 -2
  168. package/es/tree-select/src/TreeSelect.d.ts +23 -1
  169. package/es/tree-select/src/TreeSelect.js +36 -40
  170. package/es/tree-select/src/interface.d.ts +2 -2
  171. package/es/tree-select/styles/light.d.ts +1 -0
  172. package/es/typography/src/blockquote.d.ts +2 -8
  173. package/es/typography/src/blockquote.js +1 -4
  174. package/es/typography/src/ol.d.ts +2 -8
  175. package/es/typography/src/ol.js +1 -4
  176. package/es/typography/src/p.d.ts +2 -2
  177. package/es/typography/src/p.js +1 -1
  178. package/es/typography/src/text.d.ts +14 -58
  179. package/es/typography/src/text.js +2 -23
  180. package/es/typography/src/ul.d.ts +2 -8
  181. package/es/typography/src/ul.js +1 -4
  182. package/es/upload/index.d.ts +2 -0
  183. package/es/upload/index.js +2 -0
  184. package/es/upload/src/Upload.d.ts +16 -68
  185. package/es/upload/src/Upload.js +71 -98
  186. package/es/upload/src/UploadDragger.js +7 -1
  187. package/es/upload/src/UploadFileList.d.ts +2 -0
  188. package/es/upload/src/UploadFileList.js +34 -0
  189. package/es/upload/src/UploadProgress.d.ts +0 -7
  190. package/es/upload/src/UploadProgress.js +1 -5
  191. package/es/upload/src/UploadTrigger.d.ts +12 -0
  192. package/es/upload/src/UploadTrigger.js +63 -0
  193. package/es/upload/src/interface.d.ts +13 -2
  194. package/es/upload/src/styles/index.cssr.js +40 -32
  195. package/es/version.d.ts +1 -1
  196. package/es/version.js +1 -1
  197. package/lib/_internal/clear/src/Clear.d.ts +1 -4
  198. package/lib/_internal/clear/src/Clear.js +1 -4
  199. package/lib/_internal/icons/Checkmark.js +3 -2
  200. package/lib/_internal/select-menu/src/SelectMenu.d.ts +173 -0
  201. package/lib/_internal/select-menu/src/SelectMenu.js +9 -6
  202. package/lib/_internal/select-menu/src/SelectOption.js +2 -1
  203. package/lib/_internal/select-menu/src/styles/index.cssr.js +32 -28
  204. package/lib/_internal/select-menu/styles/light.d.ts +2 -0
  205. package/lib/_internal/select-menu/styles/light.js +1 -1
  206. package/lib/_internal/selection/src/Selection.d.ts +8 -0
  207. package/lib/_internal/selection/src/Selection.js +34 -14
  208. package/lib/_internal/selection/src/styles/index.cssr.js +16 -14
  209. package/lib/_internal/selection/styles/_common.d.ts +1 -0
  210. package/lib/_internal/selection/styles/_common.js +2 -1
  211. package/lib/_internal/selection/styles/light.d.ts +2 -0
  212. package/lib/_styles/common/light.js +1 -1
  213. package/lib/_utils/naive/mutable.d.ts +2 -2
  214. package/lib/anchor/src/AnchorAdapter.d.ts +13 -8
  215. package/lib/anchor/src/AnchorAdapter.js +3 -5
  216. package/lib/anchor/src/BaseAnchor.d.ts +14 -1
  217. package/lib/anchor/src/BaseAnchor.js +19 -6
  218. package/lib/anchor/src/Link.js +5 -5
  219. package/lib/anchor/src/styles/index.cssr.js +25 -16
  220. package/lib/auto-complete/index.d.ts +1 -0
  221. package/lib/auto-complete/src/AutoComplete.d.ts +10 -0
  222. package/lib/auto-complete/src/interface.d.ts +1 -1
  223. package/lib/auto-complete/styles/light.d.ts +1 -0
  224. package/lib/badge/src/styles/index.cssr.js +1 -0
  225. package/lib/card/src/Card.d.ts +17 -1
  226. package/lib/card/src/Card.js +3 -2
  227. package/lib/card/styles/dark.js +6 -1
  228. package/lib/card/styles/light.d.ts +1 -0
  229. package/lib/card/styles/light.js +2 -2
  230. package/lib/cascader/src/Cascader.d.ts +20 -0
  231. package/lib/cascader/src/Cascader.js +28 -19
  232. package/lib/cascader/src/CascaderMenu.js +16 -14
  233. package/lib/cascader/src/CascaderOption.d.ts +2 -0
  234. package/lib/cascader/src/CascaderSelectMenu.d.ts +2 -0
  235. package/lib/cascader/src/CascaderSubmenu.d.ts +2 -0
  236. package/lib/cascader/src/interface.d.ts +2 -2
  237. package/lib/cascader/src/styles/index.cssr.js +6 -1
  238. package/lib/cascader/styles/light.d.ts +2 -0
  239. package/lib/composables/use-theme-vars.js +5 -5
  240. package/lib/config-provider/src/internal-interface.d.ts +2 -0
  241. package/lib/data-table/src/DataTable.d.ts +22 -0
  242. package/lib/data-table/src/HeaderButton/FilterButton.d.ts +4 -0
  243. package/lib/data-table/src/HeaderButton/FilterMenu.d.ts +4 -0
  244. package/lib/data-table/src/TableParts/Body.d.ts +4 -0
  245. package/lib/data-table/src/TableParts/Cell.d.ts +8 -0
  246. package/lib/data-table/src/TableParts/Header.d.ts +4 -0
  247. package/lib/data-table/styles/light.d.ts +2 -0
  248. package/lib/date-picker/src/DatePicker.d.ts +8 -3
  249. package/lib/date-picker/src/DatePicker.js +2 -2
  250. package/lib/date-picker/src/panel/date.d.ts +3 -3
  251. package/lib/date-picker/src/panel/date.js +9 -0
  252. package/lib/date-picker/src/panel/daterange.js +9 -0
  253. package/lib/date-picker/src/panel/datetimerange.js +9 -0
  254. package/lib/descriptions/src/Descriptions.d.ts +4 -17
  255. package/lib/descriptions/src/Descriptions.js +2 -8
  256. package/lib/dialog/src/Dialog.d.ts +4 -16
  257. package/lib/dialog/src/Dialog.js +2 -8
  258. package/lib/dialog/src/DialogEnvironment.d.ts +28 -36
  259. package/lib/dialog/src/DialogEnvironment.js +2 -2
  260. package/lib/dialog/src/DialogProvider.d.ts +18 -15
  261. package/lib/dialog/src/DialogProvider.js +2 -1
  262. package/lib/dropdown/src/Dropdown.d.ts +9 -23
  263. package/lib/dynamic-tags/src/DynamicTags.js +2 -1
  264. package/lib/empty/src/Empty.d.ts +6 -1
  265. package/lib/empty/src/Empty.js +15 -3
  266. package/lib/form/src/FormItemGridItem.d.ts +1 -1
  267. package/lib/form/src/FormItemGridItem.js +2 -2
  268. package/lib/grid/src/GridItem.d.ts +2 -2
  269. package/lib/grid/src/GridItem.js +1 -1
  270. package/lib/input-number/src/InputNumber.d.ts +5 -0
  271. package/lib/input-number/src/InputNumber.js +9 -8
  272. package/lib/layout/src/Layout.d.ts +18 -4
  273. package/lib/layout/src/LayoutContent.d.ts +9 -2
  274. package/lib/layout/src/LayoutFooter.d.ts +9 -0
  275. package/lib/layout/src/LayoutHeader.d.ts +6 -0
  276. package/lib/layout/src/LayoutSider.d.ts +11 -0
  277. package/lib/layout/src/LayoutSider.js +4 -2
  278. package/lib/layout/src/ToggleButton.js +7 -3
  279. package/lib/layout/src/styles/layout-sider.cssr.js +31 -15
  280. package/lib/layout/styles/dark.js +3 -2
  281. package/lib/layout/styles/light.d.ts +2 -0
  282. package/lib/layout/styles/light.js +3 -2
  283. package/lib/locales/common/enUS.js +1 -1
  284. package/lib/locales/common/ruRU.js +1 -1
  285. package/lib/locales/common/zhCN.js +1 -1
  286. package/lib/mention/src/Mention.d.ts +10 -0
  287. package/lib/mention/styles/light.d.ts +1 -0
  288. package/lib/menu/src/Menu.d.ts +6 -1
  289. package/lib/menu/src/Menu.js +10 -1
  290. package/lib/menu/src/MenuOption.d.ts +3 -1
  291. package/lib/menu/src/MenuOptionContent.d.ts +3 -1
  292. package/lib/menu/src/Submenu.d.ts +3 -1
  293. package/lib/modal/src/BodyWrapper.d.ts +7 -8
  294. package/lib/modal/src/Modal.d.ts +40 -71
  295. package/lib/modal/src/Modal.js +17 -38
  296. package/lib/modal/src/presetProps.d.ts +4 -9
  297. package/lib/modal/styles/light.d.ts +1 -0
  298. package/lib/notification/src/Notification.d.ts +1 -1
  299. package/lib/notification/src/NotificationEnvironment.d.ts +1 -1
  300. package/lib/notification/src/NotificationProvider.d.ts +16 -16
  301. package/lib/page-header/src/PageHeader.d.ts +1 -0
  302. package/lib/page-header/src/PageHeader.js +8 -2
  303. package/lib/page-header/src/styles/rtl.cssr.d.ts +2 -0
  304. package/lib/page-header/src/styles/rtl.cssr.js +26 -0
  305. package/lib/page-header/styles/index.d.ts +1 -0
  306. package/lib/page-header/styles/index.js +3 -1
  307. package/lib/page-header/styles/rtl.d.ts +5 -0
  308. package/lib/page-header/styles/rtl.js +7 -0
  309. package/lib/pagination/src/Pagination.d.ts +23 -1
  310. package/lib/pagination/styles/light.d.ts +2 -0
  311. package/lib/popconfirm/src/Popconfirm.d.ts +8 -22
  312. package/lib/popover/src/Popover.d.ts +12 -32
  313. package/lib/popover/src/Popover.js +23 -16
  314. package/lib/popover/src/PopoverBody.d.ts +2 -2
  315. package/lib/popover/src/PopoverBody.js +4 -2
  316. package/lib/popselect/src/Popselect.d.ts +18 -22
  317. package/lib/popselect/src/PopselectPanel.d.ts +1 -0
  318. package/lib/popselect/src/PopselectPanel.js +38 -19
  319. package/lib/popselect/styles/light.d.ts +1 -0
  320. package/lib/select/src/Select.d.ts +31 -3
  321. package/lib/select/src/Select.js +55 -56
  322. package/lib/select/src/interface.d.ts +2 -2
  323. package/lib/select/styles/light.d.ts +2 -0
  324. package/lib/spin/src/Spin.d.ts +34 -25
  325. package/lib/spin/src/Spin.js +25 -18
  326. package/lib/spin/src/styles/index.cssr.js +23 -9
  327. package/lib/spin/styles/light.d.ts +2 -0
  328. package/lib/spin/styles/light.js +3 -1
  329. package/lib/steps/src/Steps.js +1 -1
  330. package/lib/styles.d.ts +1 -0
  331. package/lib/styles.js +63 -61
  332. package/lib/tabs/src/Tab.d.ts +1 -1
  333. package/lib/tabs/src/Tab.js +4 -6
  334. package/lib/tabs/src/Tabs.d.ts +133 -42
  335. package/lib/tabs/src/Tabs.js +36 -37
  336. package/lib/tabs/src/interface.d.ts +2 -1
  337. package/lib/tabs/src/styles/index.cssr.js +34 -10
  338. package/lib/tabs/styles/_common.d.ts +6 -0
  339. package/lib/tabs/styles/_common.js +6 -0
  340. package/lib/tabs/styles/dark.js +7 -1
  341. package/lib/tabs/styles/light.d.ts +13 -0
  342. package/lib/tabs/styles/light.js +3 -3
  343. package/lib/tag/src/styles/index.cssr.js +1 -1
  344. package/lib/time/src/Time.d.ts +14 -22
  345. package/lib/time/src/Time.js +31 -17
  346. package/lib/time-picker/src/TimePicker.d.ts +5 -0
  347. package/lib/time-picker/src/TimePicker.js +2 -2
  348. package/lib/timeline/src/Timeline.d.ts +67 -0
  349. package/lib/timeline/src/Timeline.js +1 -1
  350. package/lib/timeline/src/TimelineItem.d.ts +2 -0
  351. package/lib/timeline/src/TimelineItem.js +10 -10
  352. package/lib/timeline/src/styles/index.cssr.js +27 -18
  353. package/lib/timeline/styles/_common.d.ts +2 -0
  354. package/lib/timeline/styles/_common.js +3 -1
  355. package/lib/timeline/styles/dark.js +1 -1
  356. package/lib/timeline/styles/light.d.ts +7 -0
  357. package/lib/timeline/styles/light.js +1 -1
  358. package/lib/tooltip/src/Tooltip.d.ts +8 -22
  359. package/lib/transfer/src/TransferList.d.ts +1 -1
  360. package/lib/tree/src/Tree.d.ts +25 -10
  361. package/lib/tree/src/Tree.js +34 -11
  362. package/lib/tree/src/TreeNode.js +5 -2
  363. package/lib/tree/src/interface.d.ts +2 -2
  364. package/lib/tree-select/src/TreeSelect.d.ts +23 -1
  365. package/lib/tree-select/src/TreeSelect.js +36 -40
  366. package/lib/tree-select/src/interface.d.ts +2 -2
  367. package/lib/tree-select/styles/light.d.ts +1 -0
  368. package/lib/typography/src/blockquote.d.ts +2 -8
  369. package/lib/typography/src/blockquote.js +1 -4
  370. package/lib/typography/src/ol.d.ts +2 -8
  371. package/lib/typography/src/ol.js +1 -4
  372. package/lib/typography/src/p.d.ts +2 -2
  373. package/lib/typography/src/p.js +1 -1
  374. package/lib/typography/src/text.d.ts +14 -58
  375. package/lib/typography/src/text.js +2 -23
  376. package/lib/typography/src/ul.d.ts +2 -8
  377. package/lib/typography/src/ul.js +1 -4
  378. package/lib/upload/index.d.ts +2 -0
  379. package/lib/upload/index.js +5 -1
  380. package/lib/upload/src/Upload.d.ts +16 -68
  381. package/lib/upload/src/Upload.js +68 -95
  382. package/lib/upload/src/UploadDragger.js +7 -1
  383. package/lib/upload/src/UploadFileList.d.ts +2 -0
  384. package/lib/upload/src/UploadFileList.js +36 -0
  385. package/lib/upload/src/UploadProgress.d.ts +0 -7
  386. package/lib/upload/src/UploadProgress.js +1 -5
  387. package/lib/upload/src/UploadTrigger.d.ts +12 -0
  388. package/lib/upload/src/UploadTrigger.js +65 -0
  389. package/lib/upload/src/interface.d.ts +13 -2
  390. package/lib/upload/src/styles/index.cssr.js +40 -32
  391. package/lib/version.d.ts +1 -1
  392. package/lib/version.js +1 -1
  393. package/package.json +8 -6
  394. package/web-types.json +248 -13
@@ -1,7 +1,7 @@
1
- import { h, ref, computed, createTextVNode, defineComponent, provide, toRef, cloneVNode } from 'vue';
1
+ import { h, ref, computed, createTextVNode, defineComponent, provide, toRef, cloneVNode, watchEffect } from 'vue';
2
2
  import { VBinder, VTarget } from 'vueuc';
3
3
  import { useMergedState, useCompitable, useIsMounted, useMemo } from 'vooks';
4
- import { call, keep, warn, getFirstSlotVNode } from '../../_utils';
4
+ import { call, keep, getFirstSlotVNode, warnOnce } from '../../_utils';
5
5
  import { useTheme } from '../../_mixins';
6
6
  import NPopoverBody, { popoverBodyProps } from './PopoverBody';
7
7
  const bodyPropKeys = Object.keys(popoverBodyProps);
@@ -88,24 +88,11 @@ export const popoverBaseProps = {
88
88
  // events
89
89
  'onUpdate:show': [Function, Array],
90
90
  onUpdateShow: [Function, Array],
91
+ zIndex: Number,
91
92
  /** @deprecated */
92
- onShow: {
93
- type: [Function, Array],
94
- validator: () => {
95
- warn('popover', '`on-show` is deprecated, please use `on-update:show` instead.');
96
- return true;
97
- },
98
- default: undefined
99
- },
93
+ onShow: [Function, Array],
100
94
  /** @deprecated */
101
- onHide: {
102
- type: [Function, Array],
103
- validator: () => {
104
- warn('popover', '`on-hide` is deprecated, please use `on-update:show` instead.');
105
- return true;
106
- },
107
- default: undefined
108
- },
95
+ onHide: [Function, Array],
109
96
  /** @deprecated */
110
97
  arrow: {
111
98
  type: Boolean,
@@ -122,6 +109,25 @@ export default defineComponent({
122
109
  inheritAttrs: false,
123
110
  props: popoverProps,
124
111
  setup(props) {
112
+ if (process.env.NODE_ENV !== 'production') {
113
+ watchEffect(() => {
114
+ if (props.maxWidth !== undefined) {
115
+ warnOnce('popover', '`max-width` is deprecated, please use `style` instead.');
116
+ }
117
+ if (props.minWidth !== undefined) {
118
+ warnOnce('popover', '`max-width` is deprecated, please use `style` instead.');
119
+ }
120
+ if (props.arrow !== undefined) {
121
+ warnOnce('popover', '`arrow` is deprecated, please use `showArrow` instead.');
122
+ }
123
+ if (props.onHide !== undefined) {
124
+ warnOnce('popover', '`on-hide` is deprecated, please use `on-update:show` instead.');
125
+ }
126
+ if (props.onShow !== undefined) {
127
+ warnOnce('popover', '`on-show` is deprecated, please use `on-update:show` instead.');
128
+ }
129
+ });
130
+ }
125
131
  const isMountedRef = useIsMounted();
126
132
  // setup show
127
133
  const controlledShowRef = computed(() => props.show);
@@ -297,6 +303,7 @@ export default defineComponent({
297
303
  setBodyInstance,
298
304
  positionManuallyRef: positionManuallyRef,
299
305
  isMountedRef: isMountedRef,
306
+ zIndexRef: toRef(props, 'zIndex'),
300
307
  extraClassRef: toRef(props, 'internalExtraClass'),
301
308
  internalRenderBodyRef: toRef(props, 'internalRenderBody')
302
309
  });
@@ -1,6 +1,5 @@
1
1
  import { PropType, CSSProperties, VNode } from 'vue';
2
2
  import { FollowerPlacement } from 'vueuc';
3
- import type { PopoverInjection } from './Popover';
4
3
  import type { PopoverTrigger } from './interface';
5
4
  export declare const popoverBodyProps: {
6
5
  to: {
@@ -142,7 +141,8 @@ declare const _default: import("vue").DefineComponent<{
142
141
  }, any>>>;
143
142
  }, {
144
143
  namespace: import("vue").ComputedRef<string | undefined>;
145
- NPopover: PopoverInjection;
144
+ isMounted: import("vue").Ref<boolean>;
145
+ zIndex: import("vue").Ref<number | undefined>;
146
146
  followerRef: import("vue").Ref<{
147
147
  syncPosition: () => void;
148
148
  } | null>;
@@ -179,7 +179,8 @@ export default defineComponent({
179
179
  }
180
180
  return {
181
181
  namespace: namespaceRef,
182
- NPopover,
182
+ isMounted: NPopover.isMountedRef,
183
+ zIndex: NPopover.zIndexRef,
183
184
  followerRef,
184
185
  adjustedTo: useAdjustedTo(props),
185
186
  followerEnabled: followerEnabledRef,
@@ -188,6 +189,7 @@ export default defineComponent({
188
189
  },
189
190
  render() {
190
191
  return h(VFollower, {
192
+ zIndex: this.zIndex,
191
193
  show: this.show,
192
194
  enabled: this.followerEnabled,
193
195
  to: this.adjustedTo,
@@ -204,7 +206,7 @@ export default defineComponent({
204
206
  return this.animated
205
207
  ? h(Transition, {
206
208
  name: 'popover-transition',
207
- appear: this.NPopover.isMountedRef.value,
209
+ appear: this.isMounted,
208
210
  // Don't use watch to enable follower, since the transition may
209
211
  // make position sync timing very subtle and buggy.
210
212
  onEnter: () => {
@@ -76,16 +76,9 @@ declare const popselectProps: {
76
76
  onClickoutside: PropType<(e: MouseEvent) => void>;
77
77
  'onUpdate:show': PropType<import("../../_utils").MaybeArray<(value: boolean) => void>>;
78
78
  onUpdateShow: PropType<import("../../_utils").MaybeArray<(value: boolean) => void>>;
79
- onShow: {
80
- type: PropType<import("../../_utils").MaybeArray<(value: boolean) => void> | undefined>;
81
- validator: () => boolean;
82
- default: undefined;
83
- };
84
- onHide: {
85
- type: PropType<import("../../_utils").MaybeArray<(value: boolean) => void> | undefined>;
86
- validator: () => boolean;
87
- default: undefined;
88
- };
79
+ zIndex: NumberConstructor;
80
+ onShow: PropType<import("../../_utils").MaybeArray<(value: boolean) => void> | undefined>;
81
+ onHide: PropType<import("../../_utils").MaybeArray<(value: boolean) => void> | undefined>;
89
82
  arrow: {
90
83
  type: PropType<boolean | undefined>;
91
84
  default: undefined;
@@ -127,6 +120,7 @@ declare const popselectProps: {
127
120
  optionOpacityDisabled: string;
128
121
  optionCheckColor: string;
129
122
  optionColorPending: string;
123
+ optionColorActive: string;
130
124
  actionTextColor: string;
131
125
  loadingColor: string;
132
126
  height: string;
@@ -194,6 +188,7 @@ declare const popselectProps: {
194
188
  optionOpacityDisabled: string;
195
189
  optionCheckColor: string;
196
190
  optionColorPending: string;
191
+ optionColorActive: string;
197
192
  actionTextColor: string;
198
193
  loadingColor: string;
199
194
  height: string;
@@ -261,6 +256,7 @@ declare const popselectProps: {
261
256
  optionOpacityDisabled: string;
262
257
  optionCheckColor: string;
263
258
  optionColorPending: string;
259
+ optionColorActive: string;
264
260
  actionTextColor: string;
265
261
  loadingColor: string;
266
262
  height: string;
@@ -370,16 +366,9 @@ declare const _default: import("vue").DefineComponent<{
370
366
  onClickoutside: PropType<(e: MouseEvent) => void>;
371
367
  'onUpdate:show': PropType<import("../../_utils").MaybeArray<(value: boolean) => void>>;
372
368
  onUpdateShow: PropType<import("../../_utils").MaybeArray<(value: boolean) => void>>;
373
- onShow: {
374
- type: PropType<import("../../_utils").MaybeArray<(value: boolean) => void> | undefined>;
375
- validator: () => boolean;
376
- default: undefined;
377
- };
378
- onHide: {
379
- type: PropType<import("../../_utils").MaybeArray<(value: boolean) => void> | undefined>;
380
- validator: () => boolean;
381
- default: undefined;
382
- };
369
+ zIndex: NumberConstructor;
370
+ onShow: PropType<import("../../_utils").MaybeArray<(value: boolean) => void> | undefined>;
371
+ onHide: PropType<import("../../_utils").MaybeArray<(value: boolean) => void> | undefined>;
383
372
  arrow: {
384
373
  type: PropType<boolean | undefined>;
385
374
  default: undefined;
@@ -421,6 +410,7 @@ declare const _default: import("vue").DefineComponent<{
421
410
  optionOpacityDisabled: string;
422
411
  optionCheckColor: string;
423
412
  optionColorPending: string;
413
+ optionColorActive: string;
424
414
  actionTextColor: string;
425
415
  loadingColor: string;
426
416
  height: string;
@@ -488,6 +478,7 @@ declare const _default: import("vue").DefineComponent<{
488
478
  optionOpacityDisabled: string;
489
479
  optionCheckColor: string;
490
480
  optionColorPending: string;
481
+ optionColorActive: string;
491
482
  actionTextColor: string;
492
483
  loadingColor: string;
493
484
  height: string;
@@ -555,6 +546,7 @@ declare const _default: import("vue").DefineComponent<{
555
546
  optionOpacityDisabled: string;
556
547
  optionCheckColor: string;
557
548
  optionColorPending: string;
549
+ optionColorActive: string;
558
550
  actionTextColor: string;
559
551
  loadingColor: string;
560
552
  height: string;
@@ -728,6 +720,7 @@ declare const _default: import("vue").DefineComponent<{
728
720
  optionOpacityDisabled: string;
729
721
  optionCheckColor: string;
730
722
  optionColorPending: string;
723
+ optionColorActive: string;
731
724
  actionTextColor: string;
732
725
  loadingColor: string;
733
726
  height: string;
@@ -824,6 +817,7 @@ declare const _default: import("vue").DefineComponent<{
824
817
  onClickoutside?: unknown;
825
818
  'onUpdate:show'?: unknown;
826
819
  onUpdateShow?: unknown;
820
+ zIndex?: unknown;
827
821
  onShow?: unknown;
828
822
  onHide?: unknown;
829
823
  arrow?: unknown;
@@ -859,6 +853,7 @@ declare const _default: import("vue").DefineComponent<{
859
853
  maxWidth?: number | undefined;
860
854
  minWidth?: number | undefined;
861
855
  width?: string | number | undefined;
856
+ zIndex?: number | undefined;
862
857
  onChange?: import("../../_utils").MaybeArray<import("../../select/src/interface").OnUpdateValue> | undefined;
863
858
  onMouseenter?: ((e: MouseEvent) => void) | undefined;
864
859
  onMouseleave?: ((e: MouseEvent) => void) | undefined;
@@ -897,6 +892,7 @@ declare const _default: import("vue").DefineComponent<{
897
892
  optionOpacityDisabled: string;
898
893
  optionCheckColor: string;
899
894
  optionColorPending: string;
895
+ optionColorActive: string;
900
896
  actionTextColor: string;
901
897
  loadingColor: string;
902
898
  height: string;
@@ -964,6 +960,7 @@ declare const _default: import("vue").DefineComponent<{
964
960
  optionOpacityDisabled: string;
965
961
  optionCheckColor: string;
966
962
  optionColorPending: string;
963
+ optionColorActive: string;
967
964
  actionTextColor: string;
968
965
  loadingColor: string;
969
966
  height: string;
@@ -1031,6 +1028,7 @@ declare const _default: import("vue").DefineComponent<{
1031
1028
  optionOpacityDisabled: string;
1032
1029
  optionCheckColor: string;
1033
1030
  optionColorPending: string;
1031
+ optionColorActive: string;
1034
1032
  actionTextColor: string;
1035
1033
  loadingColor: string;
1036
1034
  height: string;
@@ -1094,8 +1092,6 @@ declare const _default: import("vue").DefineComponent<{
1094
1092
  animated: boolean;
1095
1093
  defaultShow: boolean;
1096
1094
  internalExtraClass: string[];
1097
- onShow: import("../../_utils").MaybeArray<(value: boolean) => void> | undefined;
1098
- onHide: import("../../_utils").MaybeArray<(value: boolean) => void> | undefined;
1099
1095
  arrow: boolean | undefined;
1100
1096
  options: import("../../select/src/interface").SelectMixedOption[];
1101
1097
  cancelable: boolean;
@@ -197,6 +197,7 @@ declare const _default: import("vue").DefineComponent<{
197
197
  optionOpacityDisabled: string;
198
198
  optionCheckColor: string;
199
199
  optionColorPending: string;
200
+ optionColorActive: string;
200
201
  actionTextColor: string;
201
202
  loadingColor: string;
202
203
  height: string;
@@ -1,3 +1,4 @@
1
+ /* eslint-disable @typescript-eslint/no-non-null-assertion */
1
2
  import { h, computed, defineComponent, inject, toRef, watch, nextTick } from 'vue';
2
3
  import { createTreeMate } from 'treemate';
3
4
  import { tmOptions } from '../../select/src/utils';
@@ -45,42 +46,62 @@ export default defineComponent({
45
46
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
46
47
  const NPopselect = inject(popselectInjectionKey);
47
48
  const { mergedClsPrefixRef } = useConfig(props);
48
- function doUpdateValue(value) {
49
+ const treeMateRef = computed(() => {
50
+ return createTreeMate(props.options, tmOptions);
51
+ });
52
+ function doUpdateValue(value, option) {
49
53
  const { onUpdateValue, 'onUpdate:value': _onUpdateValue, onChange } = props;
50
54
  if (onUpdateValue)
51
- call(onUpdateValue, value);
52
- if (_onUpdateValue)
53
- call(_onUpdateValue, value);
55
+ call(onUpdateValue, value, option);
56
+ if (_onUpdateValue) {
57
+ call(_onUpdateValue, value, option);
58
+ }
54
59
  if (onChange)
55
- call(onChange, value);
60
+ call(onChange, value, option);
56
61
  }
57
62
  function handleToggle(tmNode) {
58
63
  toggle(tmNode.key);
59
64
  }
60
65
  function toggle(value) {
66
+ const { value: { getNode } } = treeMateRef;
61
67
  if (props.multiple) {
62
68
  if (Array.isArray(props.value)) {
63
- const validValues = new Set(props.options.map((option) => option.value));
64
- const newValue = props.value.filter((v) => validValues.has(v));
65
- const index = newValue.findIndex((v) => v === value);
66
- if (~index) {
67
- newValue.splice(index, 1);
68
- }
69
- else {
69
+ const newValue = [];
70
+ const newOptions = [];
71
+ let shouldAddValue = true;
72
+ props.value.forEach((v) => {
73
+ if (v === value) {
74
+ shouldAddValue = false;
75
+ return;
76
+ }
77
+ const tmNode = getNode(v);
78
+ if (tmNode) {
79
+ newValue.push(tmNode.key);
80
+ newOptions.push(tmNode.rawNode);
81
+ }
82
+ });
83
+ if (shouldAddValue) {
70
84
  newValue.push(value);
85
+ newOptions.push(getNode(value).rawNode);
71
86
  }
72
- doUpdateValue(newValue);
87
+ doUpdateValue(newValue, newOptions);
73
88
  }
74
89
  else {
75
- doUpdateValue([value]);
90
+ const tmNode = getNode(value);
91
+ if (tmNode) {
92
+ doUpdateValue([value], [tmNode.rawNode]);
93
+ }
76
94
  }
77
95
  }
78
96
  else {
79
97
  if (props.value === value && props.cancelable) {
80
- doUpdateValue(null);
98
+ doUpdateValue(null, null);
81
99
  }
82
100
  else {
83
- doUpdateValue(value);
101
+ const tmNode = getNode(value);
102
+ if (tmNode) {
103
+ doUpdateValue(value, tmNode.rawNode);
104
+ }
84
105
  NPopselect.setShow(false);
85
106
  }
86
107
  }
@@ -96,9 +117,7 @@ export default defineComponent({
96
117
  return {
97
118
  mergedTheme: NPopselect.mergedThemeRef,
98
119
  mergedClsPrefix: mergedClsPrefixRef,
99
- treeMate: computed(() => {
100
- return createTreeMate(props.options, tmOptions);
101
- }),
120
+ treeMate: treeMateRef,
102
121
  handleToggle
103
122
  };
104
123
  },
@@ -33,6 +33,7 @@ declare const popselectLight: import("../../_mixins").Theme<"Popselect", unknown
33
33
  optionOpacityDisabled: string;
34
34
  optionCheckColor: string;
35
35
  optionColorPending: string;
36
+ optionColorActive: string;
36
37
  actionTextColor: string;
37
38
  loadingColor: string;
38
39
  height: string;
@@ -6,7 +6,7 @@ import { RenderTag } from '../../_internal/selection/src/interface';
6
6
  import { ExtractPublicPropTypes } from '../../_utils';
7
7
  import type { MaybeArray } from '../../_utils';
8
8
  import { defaultFilter } from './utils';
9
- import type { SelectMixedOption, SelectBaseOption, SelectGroupOption, SelectIgnoredOption, OnUpdateValue, Value, Size } from './interface';
9
+ import type { SelectMixedOption, SelectBaseOption, SelectGroupOption, SelectIgnoredOption, OnUpdateValue, Value, Size, ValueAtom } from './interface';
10
10
  declare const selectProps: {
11
11
  readonly to: {
12
12
  type: PropType<string | boolean | HTMLElement>;
@@ -90,6 +90,8 @@ declare const selectProps: {
90
90
  readonly onFocus: PropType<MaybeArray<(e: FocusEvent) => void> | undefined>;
91
91
  readonly onScroll: PropType<MaybeArray<(e: Event) => void> | undefined>;
92
92
  readonly onSearch: PropType<MaybeArray<(value: string) => void> | undefined>;
93
+ readonly onUpdateShow: PropType<MaybeArray<(value: boolean) => void>>;
94
+ readonly 'onUpdate:show': PropType<MaybeArray<(value: boolean) => void>>;
93
95
  /** deprecated */
94
96
  readonly onChange: {
95
97
  readonly type: PropType<MaybeArray<OnUpdateValue> | undefined>;
@@ -159,6 +161,7 @@ declare const selectProps: {
159
161
  fontSizeLarge: string;
160
162
  paddingSingle: string;
161
163
  clearSize: string;
164
+ arrowSize: string;
162
165
  }, {
163
166
  Popover: import("../../_mixins").Theme<"Popover", {
164
167
  fontSize: string;
@@ -195,6 +198,7 @@ declare const selectProps: {
195
198
  optionOpacityDisabled: string;
196
199
  optionCheckColor: string;
197
200
  optionColorPending: string;
201
+ optionColorActive: string;
198
202
  actionTextColor: string;
199
203
  loadingColor: string;
200
204
  height: string;
@@ -281,6 +285,7 @@ declare const selectProps: {
281
285
  fontSizeLarge: string;
282
286
  paddingSingle: string;
283
287
  clearSize: string;
288
+ arrowSize: string;
284
289
  }, {
285
290
  Popover: import("../../_mixins").Theme<"Popover", {
286
291
  fontSize: string;
@@ -317,6 +322,7 @@ declare const selectProps: {
317
322
  optionOpacityDisabled: string;
318
323
  optionCheckColor: string;
319
324
  optionColorPending: string;
325
+ optionColorActive: string;
320
326
  actionTextColor: string;
321
327
  loadingColor: string;
322
328
  height: string;
@@ -403,6 +409,7 @@ declare const selectProps: {
403
409
  fontSizeLarge: string;
404
410
  paddingSingle: string;
405
411
  clearSize: string;
412
+ arrowSize: string;
406
413
  }, {
407
414
  Popover: import("../../_mixins").Theme<"Popover", {
408
415
  fontSize: string;
@@ -439,6 +446,7 @@ declare const selectProps: {
439
446
  optionOpacityDisabled: string;
440
447
  optionCheckColor: string;
441
448
  optionColorPending: string;
449
+ optionColorActive: string;
442
450
  actionTextColor: string;
443
451
  loadingColor: string;
444
452
  height: string;
@@ -556,6 +564,8 @@ declare const _default: import("vue").DefineComponent<{
556
564
  readonly onFocus: PropType<MaybeArray<(e: FocusEvent) => void> | undefined>;
557
565
  readonly onScroll: PropType<MaybeArray<(e: Event) => void> | undefined>;
558
566
  readonly onSearch: PropType<MaybeArray<(value: string) => void> | undefined>;
567
+ readonly onUpdateShow: PropType<MaybeArray<(value: boolean) => void>>;
568
+ readonly 'onUpdate:show': PropType<MaybeArray<(value: boolean) => void>>;
559
569
  /** deprecated */
560
570
  readonly onChange: {
561
571
  readonly type: PropType<MaybeArray<OnUpdateValue> | undefined>;
@@ -625,6 +635,7 @@ declare const _default: import("vue").DefineComponent<{
625
635
  fontSizeLarge: string;
626
636
  paddingSingle: string;
627
637
  clearSize: string;
638
+ arrowSize: string;
628
639
  }, {
629
640
  Popover: import("../../_mixins").Theme<"Popover", {
630
641
  fontSize: string;
@@ -661,6 +672,7 @@ declare const _default: import("vue").DefineComponent<{
661
672
  optionOpacityDisabled: string;
662
673
  optionCheckColor: string;
663
674
  optionColorPending: string;
675
+ optionColorActive: string;
664
676
  actionTextColor: string;
665
677
  loadingColor: string;
666
678
  height: string;
@@ -747,6 +759,7 @@ declare const _default: import("vue").DefineComponent<{
747
759
  fontSizeLarge: string;
748
760
  paddingSingle: string;
749
761
  clearSize: string;
762
+ arrowSize: string;
750
763
  }, {
751
764
  Popover: import("../../_mixins").Theme<"Popover", {
752
765
  fontSize: string;
@@ -783,6 +796,7 @@ declare const _default: import("vue").DefineComponent<{
783
796
  optionOpacityDisabled: string;
784
797
  optionCheckColor: string;
785
798
  optionColorPending: string;
799
+ optionColorActive: string;
786
800
  actionTextColor: string;
787
801
  loadingColor: string;
788
802
  height: string;
@@ -869,6 +883,7 @@ declare const _default: import("vue").DefineComponent<{
869
883
  fontSizeLarge: string;
870
884
  paddingSingle: string;
871
885
  clearSize: string;
886
+ arrowSize: string;
872
887
  }, {
873
888
  Popover: import("../../_mixins").Theme<"Popover", {
874
889
  fontSize: string;
@@ -905,6 +920,7 @@ declare const _default: import("vue").DefineComponent<{
905
920
  optionOpacityDisabled: string;
906
921
  optionCheckColor: string;
907
922
  optionColorPending: string;
923
+ optionColorActive: string;
908
924
  actionTextColor: string;
909
925
  loadingColor: string;
910
926
  height: string;
@@ -958,8 +974,8 @@ declare const _default: import("vue").DefineComponent<{
958
974
  uncontrolledShow: import("vue").Ref<boolean>;
959
975
  mergedShow: import("vue").ComputedRef<boolean>;
960
976
  adjustedTo: import("vue").ComputedRef<string | HTMLElement>;
961
- uncontrolledValue: import("vue").Ref<string[] | number[] | import("./interface").ValueAtom | import("./interface").ValueAtom[] | null>;
962
- mergedValue: import("vue").ComputedRef<string[] | number[] | import("./interface").ValueAtom | import("./interface").ValueAtom[] | null>;
977
+ uncontrolledValue: import("vue").Ref<string[] | number[] | ValueAtom | ValueAtom[] | null>;
978
+ mergedValue: import("vue").ComputedRef<string[] | number[] | ValueAtom | ValueAtom[] | null>;
963
979
  followerRef: import("vue").Ref<{
964
980
  syncPosition: () => void;
965
981
  } | null>;
@@ -1143,6 +1159,7 @@ declare const _default: import("vue").DefineComponent<{
1143
1159
  fontSizeLarge: string;
1144
1160
  paddingSingle: string;
1145
1161
  clearSize: string;
1162
+ arrowSize: string;
1146
1163
  }, {
1147
1164
  Popover: import("../../_mixins").Theme<"Popover", {
1148
1165
  fontSize: string;
@@ -1179,6 +1196,7 @@ declare const _default: import("vue").DefineComponent<{
1179
1196
  optionOpacityDisabled: string;
1180
1197
  optionCheckColor: string;
1181
1198
  optionColorPending: string;
1199
+ optionColorActive: string;
1182
1200
  actionTextColor: string;
1183
1201
  loadingColor: string;
1184
1202
  height: string;
@@ -1291,6 +1309,8 @@ declare const _default: import("vue").DefineComponent<{
1291
1309
  readonly onFocus?: unknown;
1292
1310
  readonly onScroll?: unknown;
1293
1311
  readonly onSearch?: unknown;
1312
+ readonly onUpdateShow?: unknown;
1313
+ readonly 'onUpdate:show'?: unknown;
1294
1314
  readonly onChange?: unknown;
1295
1315
  readonly items?: unknown;
1296
1316
  readonly displayDirective?: unknown;
@@ -1380,6 +1400,7 @@ declare const _default: import("vue").DefineComponent<{
1380
1400
  fontSizeLarge: string;
1381
1401
  paddingSingle: string;
1382
1402
  clearSize: string;
1403
+ arrowSize: string;
1383
1404
  }, {
1384
1405
  Popover: import("../../_mixins").Theme<"Popover", {
1385
1406
  fontSize: string;
@@ -1416,6 +1437,7 @@ declare const _default: import("vue").DefineComponent<{
1416
1437
  optionOpacityDisabled: string;
1417
1438
  optionCheckColor: string;
1418
1439
  optionColorPending: string;
1440
+ optionColorActive: string;
1419
1441
  actionTextColor: string;
1420
1442
  loadingColor: string;
1421
1443
  height: string;
@@ -1502,6 +1524,7 @@ declare const _default: import("vue").DefineComponent<{
1502
1524
  fontSizeLarge: string;
1503
1525
  paddingSingle: string;
1504
1526
  clearSize: string;
1527
+ arrowSize: string;
1505
1528
  }, {
1506
1529
  Popover: import("../../_mixins").Theme<"Popover", {
1507
1530
  fontSize: string;
@@ -1538,6 +1561,7 @@ declare const _default: import("vue").DefineComponent<{
1538
1561
  optionOpacityDisabled: string;
1539
1562
  optionCheckColor: string;
1540
1563
  optionColorPending: string;
1564
+ optionColorActive: string;
1541
1565
  actionTextColor: string;
1542
1566
  loadingColor: string;
1543
1567
  height: string;
@@ -1624,6 +1648,7 @@ declare const _default: import("vue").DefineComponent<{
1624
1648
  fontSizeLarge: string;
1625
1649
  paddingSingle: string;
1626
1650
  clearSize: string;
1651
+ arrowSize: string;
1627
1652
  }, {
1628
1653
  Popover: import("../../_mixins").Theme<"Popover", {
1629
1654
  fontSize: string;
@@ -1660,6 +1685,7 @@ declare const _default: import("vue").DefineComponent<{
1660
1685
  optionOpacityDisabled: string;
1661
1686
  optionCheckColor: string;
1662
1687
  optionColorPending: string;
1688
+ optionColorActive: string;
1663
1689
  actionTextColor: string;
1664
1690
  loadingColor: string;
1665
1691
  height: string;
@@ -1696,6 +1722,8 @@ declare const _default: import("vue").DefineComponent<{
1696
1722
  bordered?: boolean | undefined;
1697
1723
  renderLabel?: RenderLabel | undefined;
1698
1724
  renderOption?: RenderOption | undefined;
1725
+ "onUpdate:show"?: MaybeArray<(value: boolean) => void> | undefined;
1726
+ onUpdateShow?: MaybeArray<(value: boolean) => void> | undefined;
1699
1727
  onClear?: MaybeArray<() => void> | undefined;
1700
1728
  renderTag?: RenderTag | undefined;
1701
1729
  maxTagCount?: number | "responsive" | undefined;