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
@@ -507,6 +507,7 @@ export declare const dataTableProps: {
507
507
  fontSizeLarge: string;
508
508
  paddingSingle: string;
509
509
  clearSize: string;
510
+ arrowSize: string;
510
511
  }, {
511
512
  Popover: import("../../_mixins").Theme<"Popover", {
512
513
  fontSize: string;
@@ -543,6 +544,7 @@ export declare const dataTableProps: {
543
544
  optionOpacityDisabled: string;
544
545
  optionCheckColor: string;
545
546
  optionColorPending: string;
547
+ optionColorActive: string;
546
548
  actionTextColor: string;
547
549
  loadingColor: string;
548
550
  height: string;
@@ -1093,6 +1095,7 @@ export declare const dataTableProps: {
1093
1095
  fontSizeLarge: string;
1094
1096
  paddingSingle: string;
1095
1097
  clearSize: string;
1098
+ arrowSize: string;
1096
1099
  }, {
1097
1100
  Popover: import("../../_mixins").Theme<"Popover", {
1098
1101
  fontSize: string;
@@ -1129,6 +1132,7 @@ export declare const dataTableProps: {
1129
1132
  optionOpacityDisabled: string;
1130
1133
  optionCheckColor: string;
1131
1134
  optionColorPending: string;
1135
+ optionColorActive: string;
1132
1136
  actionTextColor: string;
1133
1137
  loadingColor: string;
1134
1138
  height: string;
@@ -1679,6 +1683,7 @@ export declare const dataTableProps: {
1679
1683
  fontSizeLarge: string;
1680
1684
  paddingSingle: string;
1681
1685
  clearSize: string;
1686
+ arrowSize: string;
1682
1687
  }, {
1683
1688
  Popover: import("../../_mixins").Theme<"Popover", {
1684
1689
  fontSize: string;
@@ -1715,6 +1720,7 @@ export declare const dataTableProps: {
1715
1720
  optionOpacityDisabled: string;
1716
1721
  optionCheckColor: string;
1717
1722
  optionColorPending: string;
1723
+ optionColorActive: string;
1718
1724
  actionTextColor: string;
1719
1725
  loadingColor: string;
1720
1726
  height: string;
@@ -2372,6 +2378,7 @@ declare const _default: import("vue").DefineComponent<{
2372
2378
  fontSizeLarge: string;
2373
2379
  paddingSingle: string;
2374
2380
  clearSize: string;
2381
+ arrowSize: string;
2375
2382
  }, {
2376
2383
  Popover: import("../../_mixins").Theme<"Popover", {
2377
2384
  fontSize: string;
@@ -2408,6 +2415,7 @@ declare const _default: import("vue").DefineComponent<{
2408
2415
  optionOpacityDisabled: string;
2409
2416
  optionCheckColor: string;
2410
2417
  optionColorPending: string;
2418
+ optionColorActive: string;
2411
2419
  actionTextColor: string;
2412
2420
  loadingColor: string;
2413
2421
  height: string;
@@ -2958,6 +2966,7 @@ declare const _default: import("vue").DefineComponent<{
2958
2966
  fontSizeLarge: string;
2959
2967
  paddingSingle: string;
2960
2968
  clearSize: string;
2969
+ arrowSize: string;
2961
2970
  }, {
2962
2971
  Popover: import("../../_mixins").Theme<"Popover", {
2963
2972
  fontSize: string;
@@ -2994,6 +3003,7 @@ declare const _default: import("vue").DefineComponent<{
2994
3003
  optionOpacityDisabled: string;
2995
3004
  optionCheckColor: string;
2996
3005
  optionColorPending: string;
3006
+ optionColorActive: string;
2997
3007
  actionTextColor: string;
2998
3008
  loadingColor: string;
2999
3009
  height: string;
@@ -3544,6 +3554,7 @@ declare const _default: import("vue").DefineComponent<{
3544
3554
  fontSizeLarge: string;
3545
3555
  paddingSingle: string;
3546
3556
  clearSize: string;
3557
+ arrowSize: string;
3547
3558
  }, {
3548
3559
  Popover: import("../../_mixins").Theme<"Popover", {
3549
3560
  fontSize: string;
@@ -3580,6 +3591,7 @@ declare const _default: import("vue").DefineComponent<{
3580
3591
  optionOpacityDisabled: string;
3581
3592
  optionCheckColor: string;
3582
3593
  optionColorPending: string;
3594
+ optionColorActive: string;
3583
3595
  actionTextColor: string;
3584
3596
  loadingColor: string;
3585
3597
  height: string;
@@ -4281,6 +4293,7 @@ declare const _default: import("vue").DefineComponent<{
4281
4293
  fontSizeLarge: string;
4282
4294
  paddingSingle: string;
4283
4295
  clearSize: string;
4296
+ arrowSize: string;
4284
4297
  }, {
4285
4298
  Popover: import("../../_mixins").Theme<"Popover", {
4286
4299
  fontSize: string;
@@ -4317,6 +4330,7 @@ declare const _default: import("vue").DefineComponent<{
4317
4330
  optionOpacityDisabled: string;
4318
4331
  optionCheckColor: string;
4319
4332
  optionColorPending: string;
4333
+ optionColorActive: string;
4320
4334
  actionTextColor: string;
4321
4335
  loadingColor: string;
4322
4336
  height: string;
@@ -4538,6 +4552,7 @@ declare const _default: import("vue").DefineComponent<{
4538
4552
  fontSizeLarge: string;
4539
4553
  paddingSingle: string;
4540
4554
  clearSize: string;
4555
+ arrowSize: string;
4541
4556
  }, {
4542
4557
  Popover: import("../../_mixins").Theme<"Popover", {
4543
4558
  fontSize: string;
@@ -4574,6 +4589,7 @@ declare const _default: import("vue").DefineComponent<{
4574
4589
  optionOpacityDisabled: string;
4575
4590
  optionCheckColor: string;
4576
4591
  optionColorPending: string;
4592
+ optionColorActive: string;
4577
4593
  actionTextColor: string;
4578
4594
  loadingColor: string;
4579
4595
  height: string;
@@ -5185,6 +5201,7 @@ declare const _default: import("vue").DefineComponent<{
5185
5201
  fontSizeLarge: string;
5186
5202
  paddingSingle: string;
5187
5203
  clearSize: string;
5204
+ arrowSize: string;
5188
5205
  }, {
5189
5206
  Popover: import("../../_mixins").Theme<"Popover", {
5190
5207
  fontSize: string;
@@ -5221,6 +5238,7 @@ declare const _default: import("vue").DefineComponent<{
5221
5238
  optionOpacityDisabled: string;
5222
5239
  optionCheckColor: string;
5223
5240
  optionColorPending: string;
5241
+ optionColorActive: string;
5224
5242
  actionTextColor: string;
5225
5243
  loadingColor: string;
5226
5244
  height: string;
@@ -5771,6 +5789,7 @@ declare const _default: import("vue").DefineComponent<{
5771
5789
  fontSizeLarge: string;
5772
5790
  paddingSingle: string;
5773
5791
  clearSize: string;
5792
+ arrowSize: string;
5774
5793
  }, {
5775
5794
  Popover: import("../../_mixins").Theme<"Popover", {
5776
5795
  fontSize: string;
@@ -5807,6 +5826,7 @@ declare const _default: import("vue").DefineComponent<{
5807
5826
  optionOpacityDisabled: string;
5808
5827
  optionCheckColor: string;
5809
5828
  optionColorPending: string;
5829
+ optionColorActive: string;
5810
5830
  actionTextColor: string;
5811
5831
  loadingColor: string;
5812
5832
  height: string;
@@ -6357,6 +6377,7 @@ declare const _default: import("vue").DefineComponent<{
6357
6377
  fontSizeLarge: string;
6358
6378
  paddingSingle: string;
6359
6379
  clearSize: string;
6380
+ arrowSize: string;
6360
6381
  }, {
6361
6382
  Popover: import("../../_mixins").Theme<"Popover", {
6362
6383
  fontSize: string;
@@ -6393,6 +6414,7 @@ declare const _default: import("vue").DefineComponent<{
6393
6414
  optionOpacityDisabled: string;
6394
6415
  optionCheckColor: string;
6395
6416
  optionColorPending: string;
6417
+ optionColorActive: string;
6396
6418
  actionTextColor: string;
6397
6419
  loadingColor: string;
6398
6420
  height: string;
@@ -512,6 +512,7 @@ declare const _default: import("vue").DefineComponent<{
512
512
  fontSizeLarge: string;
513
513
  paddingSingle: string;
514
514
  clearSize: string;
515
+ arrowSize: string;
515
516
  }, {
516
517
  Popover: import("../../../_mixins").Theme<"Popover", {
517
518
  fontSize: string;
@@ -548,6 +549,7 @@ declare const _default: import("vue").DefineComponent<{
548
549
  optionOpacityDisabled: string;
549
550
  optionCheckColor: string;
550
551
  optionColorPending: string;
552
+ optionColorActive: string;
551
553
  actionTextColor: string;
552
554
  loadingColor: string;
553
555
  height: string;
@@ -769,6 +771,7 @@ declare const _default: import("vue").DefineComponent<{
769
771
  fontSizeLarge: string;
770
772
  paddingSingle: string;
771
773
  clearSize: string;
774
+ arrowSize: string;
772
775
  }, {
773
776
  Popover: import("../../../_mixins").Theme<"Popover", {
774
777
  fontSize: string;
@@ -805,6 +808,7 @@ declare const _default: import("vue").DefineComponent<{
805
808
  optionOpacityDisabled: string;
806
809
  optionCheckColor: string;
807
810
  optionColorPending: string;
811
+ optionColorActive: string;
808
812
  actionTextColor: string;
809
813
  loadingColor: string;
810
814
  height: string;
@@ -537,6 +537,7 @@ declare const _default: import("vue").DefineComponent<{
537
537
  fontSizeLarge: string;
538
538
  paddingSingle: string;
539
539
  clearSize: string;
540
+ arrowSize: string;
540
541
  }, {
541
542
  Popover: import("../../../_mixins").Theme<"Popover", {
542
543
  fontSize: string;
@@ -573,6 +574,7 @@ declare const _default: import("vue").DefineComponent<{
573
574
  optionOpacityDisabled: string;
574
575
  optionCheckColor: string;
575
576
  optionColorPending: string;
577
+ optionColorActive: string;
576
578
  actionTextColor: string;
577
579
  loadingColor: string;
578
580
  height: string;
@@ -794,6 +796,7 @@ declare const _default: import("vue").DefineComponent<{
794
796
  fontSizeLarge: string;
795
797
  paddingSingle: string;
796
798
  clearSize: string;
799
+ arrowSize: string;
797
800
  }, {
798
801
  Popover: import("../../../_mixins").Theme<"Popover", {
799
802
  fontSize: string;
@@ -830,6 +833,7 @@ declare const _default: import("vue").DefineComponent<{
830
833
  optionOpacityDisabled: string;
831
834
  optionCheckColor: string;
832
835
  optionColorPending: string;
836
+ optionColorActive: string;
833
837
  actionTextColor: string;
834
838
  loadingColor: string;
835
839
  height: string;
@@ -524,6 +524,7 @@ declare const _default: import("vue").DefineComponent<{
524
524
  fontSizeLarge: string;
525
525
  paddingSingle: string;
526
526
  clearSize: string;
527
+ arrowSize: string;
527
528
  }, {
528
529
  Popover: import("../../../_mixins").Theme<"Popover", {
529
530
  fontSize: string;
@@ -560,6 +561,7 @@ declare const _default: import("vue").DefineComponent<{
560
561
  optionOpacityDisabled: string;
561
562
  optionCheckColor: string;
562
563
  optionColorPending: string;
564
+ optionColorActive: string;
563
565
  actionTextColor: string;
564
566
  loadingColor: string;
565
567
  height: string;
@@ -781,6 +783,7 @@ declare const _default: import("vue").DefineComponent<{
781
783
  fontSizeLarge: string;
782
784
  paddingSingle: string;
783
785
  clearSize: string;
786
+ arrowSize: string;
784
787
  }, {
785
788
  Popover: import("../../../_mixins").Theme<"Popover", {
786
789
  fontSize: string;
@@ -817,6 +820,7 @@ declare const _default: import("vue").DefineComponent<{
817
820
  optionOpacityDisabled: string;
818
821
  optionCheckColor: string;
819
822
  optionColorPending: string;
823
+ optionColorActive: string;
820
824
  actionTextColor: string;
821
825
  loadingColor: string;
822
826
  height: string;
@@ -517,6 +517,7 @@ declare const _default: import("vue").DefineComponent<{
517
517
  fontSizeLarge: string;
518
518
  paddingSingle: string;
519
519
  clearSize: string;
520
+ arrowSize: string;
520
521
  }, {
521
522
  Popover: import("../../../_mixins").Theme<"Popover", {
522
523
  fontSize: string;
@@ -553,6 +554,7 @@ declare const _default: import("vue").DefineComponent<{
553
554
  optionOpacityDisabled: string;
554
555
  optionCheckColor: string;
555
556
  optionColorPending: string;
557
+ optionColorActive: string;
556
558
  actionTextColor: string;
557
559
  loadingColor: string;
558
560
  height: string;
@@ -774,6 +776,7 @@ declare const _default: import("vue").DefineComponent<{
774
776
  fontSizeLarge: string;
775
777
  paddingSingle: string;
776
778
  clearSize: string;
779
+ arrowSize: string;
777
780
  }, {
778
781
  Popover: import("../../../_mixins").Theme<"Popover", {
779
782
  fontSize: string;
@@ -810,6 +813,7 @@ declare const _default: import("vue").DefineComponent<{
810
813
  optionOpacityDisabled: string;
811
814
  optionCheckColor: string;
812
815
  optionColorPending: string;
816
+ optionColorActive: string;
813
817
  actionTextColor: string;
814
818
  loadingColor: string;
815
819
  height: string;
@@ -1461,6 +1465,7 @@ declare const _default: import("vue").DefineComponent<{
1461
1465
  fontSizeLarge: string;
1462
1466
  paddingSingle: string;
1463
1467
  clearSize: string;
1468
+ arrowSize: string;
1464
1469
  }, {
1465
1470
  Popover: import("../../../_mixins").Theme<"Popover", {
1466
1471
  fontSize: string;
@@ -1497,6 +1502,7 @@ declare const _default: import("vue").DefineComponent<{
1497
1502
  optionOpacityDisabled: string;
1498
1503
  optionCheckColor: string;
1499
1504
  optionColorPending: string;
1505
+ optionColorActive: string;
1500
1506
  actionTextColor: string;
1501
1507
  loadingColor: string;
1502
1508
  height: string;
@@ -1718,6 +1724,7 @@ declare const _default: import("vue").DefineComponent<{
1718
1724
  fontSizeLarge: string;
1719
1725
  paddingSingle: string;
1720
1726
  clearSize: string;
1727
+ arrowSize: string;
1721
1728
  }, {
1722
1729
  Popover: import("../../../_mixins").Theme<"Popover", {
1723
1730
  fontSize: string;
@@ -1754,6 +1761,7 @@ declare const _default: import("vue").DefineComponent<{
1754
1761
  optionOpacityDisabled: string;
1755
1762
  optionCheckColor: string;
1756
1763
  optionColorPending: string;
1764
+ optionColorActive: string;
1757
1765
  actionTextColor: string;
1758
1766
  loadingColor: string;
1759
1767
  height: string;
@@ -518,6 +518,7 @@ declare const _default: import("vue").DefineComponent<{
518
518
  fontSizeLarge: string;
519
519
  paddingSingle: string;
520
520
  clearSize: string;
521
+ arrowSize: string;
521
522
  }, {
522
523
  Popover: import("../../../_mixins").Theme<"Popover", {
523
524
  fontSize: string;
@@ -554,6 +555,7 @@ declare const _default: import("vue").DefineComponent<{
554
555
  optionOpacityDisabled: string;
555
556
  optionCheckColor: string;
556
557
  optionColorPending: string;
558
+ optionColorActive: string;
557
559
  actionTextColor: string;
558
560
  loadingColor: string;
559
561
  height: string;
@@ -775,6 +777,7 @@ declare const _default: import("vue").DefineComponent<{
775
777
  fontSizeLarge: string;
776
778
  paddingSingle: string;
777
779
  clearSize: string;
780
+ arrowSize: string;
778
781
  }, {
779
782
  Popover: import("../../../_mixins").Theme<"Popover", {
780
783
  fontSize: string;
@@ -811,6 +814,7 @@ declare const _default: import("vue").DefineComponent<{
811
814
  optionOpacityDisabled: string;
812
815
  optionCheckColor: string;
813
816
  optionColorPending: string;
817
+ optionColorActive: string;
814
818
  actionTextColor: string;
815
819
  loadingColor: string;
816
820
  height: string;
@@ -447,6 +447,7 @@ declare const dataTableLight: import("../../_mixins").Theme<"DataTable", {
447
447
  fontSizeLarge: string;
448
448
  paddingSingle: string;
449
449
  clearSize: string;
450
+ arrowSize: string;
450
451
  }, {
451
452
  Popover: import("../../_mixins").Theme<"Popover", {
452
453
  fontSize: string;
@@ -483,6 +484,7 @@ declare const dataTableLight: import("../../_mixins").Theme<"DataTable", {
483
484
  optionOpacityDisabled: string;
484
485
  optionCheckColor: string;
485
486
  optionColorPending: string;
487
+ optionColorActive: string;
486
488
  actionTextColor: string;
487
489
  loadingColor: string;
488
490
  height: string;
@@ -44,7 +44,7 @@ declare const datePickerProps: {
44
44
  readonly format: StringConstructor;
45
45
  readonly dateFormat: StringConstructor;
46
46
  readonly timeFormat: StringConstructor;
47
- readonly actions: PropType<("clear" | "cancel" | "confirm")[]>;
47
+ readonly actions: PropType<("clear" | "confirm" | "now")[]>;
48
48
  readonly shortcuts: PropType<Shortcuts>;
49
49
  readonly isDateDisabled: PropType<IsDateDisabled>;
50
50
  readonly isTimeDisabled: PropType<IsTimeDisabled>;
@@ -53,6 +53,7 @@ declare const datePickerProps: {
53
53
  readonly default: undefined;
54
54
  };
55
55
  readonly ranges: PropType<Record<string, [number, number]>>;
56
+ readonly inputReadonly: BooleanConstructor;
56
57
  readonly closeOnSelect: BooleanConstructor;
57
58
  readonly 'onUpdate:show': PropType<MaybeArray<(show: boolean) => void>>;
58
59
  readonly onUpdateShow: PropType<MaybeArray<(show: boolean) => void>>;
@@ -1847,7 +1848,7 @@ declare const _default: import("vue").DefineComponent<{
1847
1848
  readonly format: StringConstructor;
1848
1849
  readonly dateFormat: StringConstructor;
1849
1850
  readonly timeFormat: StringConstructor;
1850
- readonly actions: PropType<("clear" | "cancel" | "confirm")[]>;
1851
+ readonly actions: PropType<("clear" | "confirm" | "now")[]>;
1851
1852
  readonly shortcuts: PropType<Shortcuts>;
1852
1853
  readonly isDateDisabled: PropType<IsDateDisabled>;
1853
1854
  readonly isTimeDisabled: PropType<IsTimeDisabled>;
@@ -1856,6 +1857,7 @@ declare const _default: import("vue").DefineComponent<{
1856
1857
  readonly default: undefined;
1857
1858
  };
1858
1859
  readonly ranges: PropType<Record<string, [number, number]>>;
1860
+ readonly inputReadonly: BooleanConstructor;
1859
1861
  readonly closeOnSelect: BooleanConstructor;
1860
1862
  readonly 'onUpdate:show': PropType<MaybeArray<(show: boolean) => void>>;
1861
1863
  readonly onUpdateShow: PropType<MaybeArray<(show: boolean) => void>>;
@@ -4680,6 +4682,7 @@ declare const _default: import("vue").DefineComponent<{
4680
4682
  readonly isTimeDisabled?: unknown;
4681
4683
  readonly show?: unknown;
4682
4684
  readonly ranges?: unknown;
4685
+ readonly inputReadonly?: unknown;
4683
4686
  readonly closeOnSelect?: unknown;
4684
4687
  readonly 'onUpdate:show'?: unknown;
4685
4688
  readonly onUpdateShow?: unknown;
@@ -4697,6 +4700,7 @@ declare const _default: import("vue").DefineComponent<{
4697
4700
  clearable: boolean;
4698
4701
  defaultValue: Value | null;
4699
4702
  updateValueOnClose: boolean;
4703
+ inputReadonly: boolean;
4700
4704
  closeOnSelect: boolean;
4701
4705
  } & {
4702
4706
  value?: Value | null | undefined;
@@ -6453,7 +6457,7 @@ declare const _default: import("vue").DefineComponent<{
6453
6457
  "onUpdate:value"?: MaybeArray<OnUpdateValue> | undefined;
6454
6458
  onUpdateValue?: MaybeArray<OnUpdateValue> | undefined;
6455
6459
  isDateDisabled?: IsDateDisabled | undefined;
6456
- actions?: ("clear" | "cancel" | "confirm")[] | undefined;
6460
+ actions?: ("clear" | "confirm" | "now")[] | undefined;
6457
6461
  startPlaceholder?: string | undefined;
6458
6462
  endPlaceholder?: string | undefined;
6459
6463
  dateFormat?: string | undefined;
@@ -6472,6 +6476,7 @@ declare const _default: import("vue").DefineComponent<{
6472
6476
  clearable: boolean;
6473
6477
  defaultValue: Value | null;
6474
6478
  updateValueOnClose: boolean;
6479
+ inputReadonly: boolean;
6475
6480
  closeOnSelect: boolean;
6476
6481
  }>;
6477
6482
  export default _default;
@@ -51,7 +51,7 @@ const datePickerProps = Object.assign(Object.assign({}, _mixins_1.useTheme.props
51
51
  }, separator: String, placeholder: String, startPlaceholder: String, endPlaceholder: String, format: String, dateFormat: String, timeFormat: String, actions: Array, shortcuts: Object, isDateDisabled: Function, isTimeDisabled: Function, show: {
52
52
  type: Boolean,
53
53
  default: undefined
54
- }, ranges: Object, closeOnSelect: Boolean, 'onUpdate:show': [Function, Array], onUpdateShow: [Function, Array], 'onUpdate:value': [Function, Array], onUpdateValue: [Function, Array], onFocus: [Function, Array], onBlur: [Function, Array],
54
+ }, ranges: Object, inputReadonly: Boolean, closeOnSelect: Boolean, 'onUpdate:show': [Function, Array], onUpdateShow: [Function, Array], 'onUpdate:value': [Function, Array], onUpdateValue: [Function, Array], onFocus: [Function, Array], onBlur: [Function, Array],
55
55
  // deprecated
56
56
  onChange: {
57
57
  type: [Function, Array],
@@ -490,7 +490,7 @@ exports.default = (0, vue_1.defineComponent)({
490
490
  size: this.mergedSize,
491
491
  passivelyActivated: true,
492
492
  disabled: this.mergedDisabled,
493
- readonly: this.mergedDisabled,
493
+ readonly: this.inputReadonly || this.mergedDisabled,
494
494
  clearable,
495
495
  onClear: this.handleClear,
496
496
  onClick: this.handleTriggerClick,
@@ -359,7 +359,7 @@ declare const _default: import("vue").DefineComponent<{
359
359
  textColorGhostFocusSuccess: string;
360
360
  textColorGhostDisabledSuccess: string;
361
361
  borderSuccess: string;
362
- borderHoverSuccess: string; /** we don't need a confirm button for date picking */
362
+ borderHoverSuccess: string;
363
363
  borderPressedSuccess: string;
364
364
  borderFocusSuccess: string;
365
365
  borderDisabledSuccess: string;
@@ -574,7 +574,7 @@ declare const _default: import("vue").DefineComponent<{
574
574
  textColorGhostFocusSuccess: string;
575
575
  textColorGhostDisabledSuccess: string;
576
576
  borderSuccess: string;
577
- borderHoverSuccess: string; /** we don't need a confirm button for date picking */
577
+ borderHoverSuccess: string;
578
578
  borderPressedSuccess: string;
579
579
  borderFocusSuccess: string;
580
580
  borderDisabledSuccess: string;
@@ -848,7 +848,7 @@ declare const _default: import("vue").DefineComponent<{
848
848
  textColorGhostFocusSuccess: string;
849
849
  textColorGhostDisabledSuccess: string;
850
850
  borderSuccess: string;
851
- borderHoverSuccess: string; /** we don't need a confirm button for date picking */
851
+ borderHoverSuccess: string;
852
852
  borderPressedSuccess: string;
853
853
  borderFocusSuccess: string;
854
854
  borderDisabledSuccess: string;
@@ -5,6 +5,7 @@ const button_1 = require("../../../button");
5
5
  const icons_1 = require("../../../_internal/icons");
6
6
  const _internal_1 = require("../../../_internal");
7
7
  const use_calendar_1 = require("./use-calendar");
8
+ const _utils_1 = require("../../../_utils");
8
9
  /**
9
10
  * Date Panel
10
11
  * Update picker value on:
@@ -15,6 +16,14 @@ exports.default = (0, vue_1.defineComponent)({
15
16
  name: 'DatePanel',
16
17
  props: use_calendar_1.useCalendar.props,
17
18
  setup(props) {
19
+ if (process.env.NODE_ENV !== 'production') {
20
+ (0, vue_1.watchEffect)(() => {
21
+ var _a;
22
+ if ((_a = props.actions) === null || _a === void 0 ? void 0 : _a.includes('confirm')) {
23
+ (0, _utils_1.warnOnce)('date-picker', 'The `confirm` action is not supported for n-date-picker of `date` type');
24
+ }
25
+ });
26
+ }
18
27
  return (0, use_calendar_1.useCalendar)(props, 'date');
19
28
  },
20
29
  render() {
@@ -5,10 +5,19 @@ const button_1 = require("../../../button");
5
5
  const icons_1 = require("../../../_internal/icons");
6
6
  const _internal_1 = require("../../../_internal");
7
7
  const use_dual_calendar_1 = require("./use-dual-calendar");
8
+ const _utils_1 = require("../../../_utils");
8
9
  exports.default = (0, vue_1.defineComponent)({
9
10
  name: 'DateRangePanel',
10
11
  props: use_dual_calendar_1.useDualCalendar.props,
11
12
  setup(props) {
13
+ if (process.env.NODE_ENV !== 'production') {
14
+ (0, vue_1.watchEffect)(() => {
15
+ var _a;
16
+ if ((_a = props.actions) === null || _a === void 0 ? void 0 : _a.includes('now')) {
17
+ (0, _utils_1.warnOnce)('date-picker', 'The `now` action is not supported for n-date-picker of `daterange` type');
18
+ }
19
+ });
20
+ }
12
21
  return (0, use_dual_calendar_1.useDualCalendar)(props, 'daterange');
13
22
  },
14
23
  render() {
@@ -7,10 +7,19 @@ const time_picker_1 = require("../../../time-picker");
7
7
  const icons_1 = require("../../../_internal/icons");
8
8
  const _internal_1 = require("../../../_internal");
9
9
  const use_dual_calendar_1 = require("./use-dual-calendar");
10
+ const _utils_1 = require("../../../_utils");
10
11
  exports.default = (0, vue_1.defineComponent)({
11
12
  name: 'DateTimeRangePanel',
12
13
  props: use_dual_calendar_1.useDualCalendar.props,
13
14
  setup(props) {
15
+ if (process.env.NODE_ENV !== 'production') {
16
+ (0, vue_1.watchEffect)(() => {
17
+ var _a;
18
+ if ((_a = props.actions) === null || _a === void 0 ? void 0 : _a.includes('now')) {
19
+ (0, _utils_1.warnOnce)('date-picker', 'The `now` action is not supported for n-date-picker of `datetimerange` type');
20
+ }
21
+ });
22
+ }
14
23
  return (0, use_dual_calendar_1.useDualCalendar)(props, 'datetimerange');
15
24
  },
16
25
  render() {
@@ -6,10 +6,7 @@ declare const descriptionProps: {
6
6
  readonly type: NumberConstructor;
7
7
  readonly default: 3;
8
8
  };
9
- readonly columns: {
10
- readonly type: NumberConstructor;
11
- readonly default: undefined;
12
- };
9
+ readonly columns: NumberConstructor;
13
10
  readonly labelPlacement: {
14
11
  readonly type: PropType<"left" | "top">;
15
12
  readonly default: "top";
@@ -22,10 +19,7 @@ declare const descriptionProps: {
22
19
  readonly type: PropType<"small" | "medium" | "large">;
23
20
  readonly default: "medium";
24
21
  };
25
- readonly bordered: {
26
- readonly type: BooleanConstructor;
27
- readonly default: false;
28
- };
22
+ readonly bordered: BooleanConstructor;
29
23
  readonly labelStyle: PropType<string | CSSProperties>;
30
24
  readonly contentStyle: PropType<string | CSSProperties>;
31
25
  readonly theme: PropType<import("../../_mixins").Theme<"Descriptions", {
@@ -129,10 +123,7 @@ declare const _default: import("vue").DefineComponent<{
129
123
  readonly type: NumberConstructor;
130
124
  readonly default: 3;
131
125
  };
132
- readonly columns: {
133
- readonly type: NumberConstructor;
134
- readonly default: undefined;
135
- };
126
+ readonly columns: NumberConstructor;
136
127
  readonly labelPlacement: {
137
128
  readonly type: PropType<"left" | "top">;
138
129
  readonly default: "top";
@@ -145,10 +136,7 @@ declare const _default: import("vue").DefineComponent<{
145
136
  readonly type: PropType<"small" | "medium" | "large">;
146
137
  readonly default: "medium";
147
138
  };
148
- readonly bordered: {
149
- readonly type: BooleanConstructor;
150
- readonly default: false;
151
- };
139
+ readonly bordered: BooleanConstructor;
152
140
  readonly labelStyle: PropType<string | CSSProperties>;
153
141
  readonly contentStyle: PropType<string | CSSProperties>;
154
142
  readonly theme: PropType<import("../../_mixins").Theme<"Descriptions", {
@@ -387,7 +375,6 @@ declare const _default: import("vue").DefineComponent<{
387
375
  }>, {
388
376
  column: number;
389
377
  size: "small" | "medium" | "large";
390
- columns: number;
391
378
  bordered: boolean;
392
379
  labelPlacement: "left" | "top";
393
380
  labelAlign: "left" | "right" | "center";
@@ -10,10 +10,7 @@ const index_cssr_1 = require("./styles/index.cssr");
10
10
  const descriptionProps = Object.assign(Object.assign({}, _mixins_1.useTheme.props), { title: String, column: {
11
11
  type: Number,
12
12
  default: 3
13
- }, columns: {
14
- type: Number,
15
- default: undefined
16
- }, labelPlacement: {
13
+ }, columns: Number, labelPlacement: {
17
14
  type: String,
18
15
  default: 'top'
19
16
  }, labelAlign: {
@@ -22,10 +19,7 @@ const descriptionProps = Object.assign(Object.assign({}, _mixins_1.useTheme.prop
22
19
  }, size: {
23
20
  type: String,
24
21
  default: 'medium'
25
- }, bordered: {
26
- type: Boolean,
27
- default: false
28
- }, labelStyle: [Object, String], contentStyle: [Object, String] });
22
+ }, bordered: Boolean, labelStyle: [Object, String], contentStyle: [Object, String] });
29
23
  exports.default = (0, vue_1.defineComponent)({
30
24
  name: 'Descriptions',
31
25
  props: descriptionProps,