primevue 3.22.4 → 3.24.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (338) hide show
  1. package/LICENSE.md +1 -1
  2. package/README.md +13 -13
  3. package/accordion/Accordion.d.ts +53 -21
  4. package/accordiontab/AccordionTab.d.ts +33 -12
  5. package/autocomplete/AutoComplete.d.ts +111 -84
  6. package/avatar/Avatar.d.ts +38 -25
  7. package/avatar/Avatar.vue +1 -1
  8. package/avatar/avatar.cjs.js +2 -1
  9. package/avatar/avatar.cjs.min.js +1 -1
  10. package/avatar/avatar.esm.js +2 -1
  11. package/avatar/avatar.esm.min.js +1 -1
  12. package/avatar/avatar.js +2 -1
  13. package/avatar/avatar.min.js +1 -1
  14. package/avatargroup/AvatarGroup.d.ts +30 -14
  15. package/badge/Badge.d.ts +34 -20
  16. package/badge/Badge.vue +16 -5
  17. package/badge/badge.cjs.js +15 -5
  18. package/badge/badge.cjs.min.js +1 -1
  19. package/badge/badge.esm.js +15 -5
  20. package/badge/badge.esm.min.js +1 -1
  21. package/badge/badge.js +16 -7
  22. package/badge/badge.min.js +1 -1
  23. package/badgedirective/BadgeDirective.d.ts +60 -1
  24. package/blockui/BlockUI.d.ts +36 -16
  25. package/breadcrumb/Breadcrumb.d.ts +37 -20
  26. package/breadcrumb/Breadcrumb.vue +1 -1
  27. package/breadcrumb/breadcrumb.cjs.js +2 -1
  28. package/breadcrumb/breadcrumb.cjs.min.js +1 -1
  29. package/breadcrumb/breadcrumb.esm.js +2 -1
  30. package/breadcrumb/breadcrumb.esm.min.js +1 -1
  31. package/breadcrumb/breadcrumb.js +2 -1
  32. package/breadcrumb/breadcrumb.min.js +1 -1
  33. package/button/Button.d.ts +74 -17
  34. package/button/Button.vue +51 -8
  35. package/button/button.cjs.js +51 -8
  36. package/button/button.cjs.min.js +1 -1
  37. package/button/button.esm.js +51 -8
  38. package/button/button.esm.min.js +1 -1
  39. package/button/button.js +51 -8
  40. package/button/button.min.js +1 -1
  41. package/calendar/Calendar.d.ts +112 -77
  42. package/calendar/Calendar.vue +4 -4
  43. package/calendar/calendar.cjs.js +4 -4
  44. package/calendar/calendar.cjs.min.js +1 -1
  45. package/calendar/calendar.esm.js +4 -4
  46. package/calendar/calendar.esm.min.js +1 -1
  47. package/calendar/calendar.js +4 -4
  48. package/calendar/calendar.min.js +1 -1
  49. package/card/Card.d.ts +35 -15
  50. package/carousel/Carousel.d.ts +47 -29
  51. package/cascadeselect/CascadeSelect.d.ts +70 -59
  52. package/chart/Chart.d.ts +41 -23
  53. package/checkbox/Checkbox.d.ts +39 -15
  54. package/checkbox/Checkbox.vue +1 -1
  55. package/checkbox/checkbox.cjs.js +1 -1
  56. package/checkbox/checkbox.cjs.min.js +1 -1
  57. package/checkbox/checkbox.esm.js +1 -1
  58. package/checkbox/checkbox.esm.min.js +1 -1
  59. package/checkbox/checkbox.js +1 -1
  60. package/checkbox/checkbox.min.js +1 -1
  61. package/chip/Chip.d.ts +35 -14
  62. package/chips/Chips.d.ts +45 -20
  63. package/colorpicker/ColorPicker.d.ts +46 -28
  64. package/column/Column.d.ts +81 -65
  65. package/columngroup/ColumnGroup.d.ts +29 -13
  66. package/config/PrimeVue.d.ts +1 -2
  67. package/config/config.cjs.js +20 -2
  68. package/config/config.cjs.min.js +1 -1
  69. package/config/config.esm.js +20 -2
  70. package/config/config.esm.min.js +1 -1
  71. package/config/config.js +20 -2
  72. package/config/config.min.js +1 -1
  73. package/confirmationoptions/ConfirmationOptions.d.ts +15 -6
  74. package/confirmationservice/ConfirmationService.d.ts +11 -0
  75. package/confirmdialog/ConfirmDialog.d.ts +35 -17
  76. package/confirmpopup/ConfirmPopup.d.ts +32 -17
  77. package/contextmenu/ContextMenu.d.ts +51 -35
  78. package/core/core.js +368 -121
  79. package/core/core.min.js +8 -8
  80. package/datatable/DataTable.d.ts +248 -205
  81. package/datatable/DataTable.vue +78 -117
  82. package/datatable/TableBody.vue +3 -17
  83. package/datatable/datatable.cjs.js +73 -67
  84. package/datatable/datatable.cjs.min.js +1 -1
  85. package/datatable/datatable.esm.js +73 -67
  86. package/datatable/datatable.esm.min.js +1 -1
  87. package/datatable/datatable.js +73 -67
  88. package/datatable/datatable.min.js +1 -1
  89. package/dataview/DataView.d.ts +65 -47
  90. package/dataviewlayoutoptions/DataViewLayoutOptions.d.ts +33 -13
  91. package/deferredcontent/DeferredContent.d.ts +30 -13
  92. package/dialog/Dialog.d.ts +67 -46
  93. package/dialog/Dialog.vue +1 -1
  94. package/dialog/dialog.cjs.js +1 -1
  95. package/dialog/dialog.cjs.min.js +1 -1
  96. package/dialog/dialog.esm.js +1 -1
  97. package/dialog/dialog.esm.min.js +1 -1
  98. package/dialog/dialog.js +1 -1
  99. package/dialog/dialog.min.js +1 -1
  100. package/dialogservice/DialogService.d.ts +13 -2
  101. package/divider/Divider.d.ts +35 -30
  102. package/dock/Dock.d.ts +49 -36
  103. package/dropdown/Dropdown.d.ts +90 -82
  104. package/dropdown/Dropdown.vue +1 -1
  105. package/dropdown/dropdown.cjs.js +1 -1
  106. package/dropdown/dropdown.cjs.min.js +1 -1
  107. package/dropdown/dropdown.esm.js +1 -1
  108. package/dropdown/dropdown.esm.min.js +1 -1
  109. package/dropdown/dropdown.js +1 -1
  110. package/dropdown/dropdown.min.js +1 -1
  111. package/dynamicdialog/DynamicDialog.d.ts +30 -10
  112. package/dynamicdialog/DynamicDialog.vue +2 -2
  113. package/dynamicdialog/dynamicdialog.cjs.js +3 -3
  114. package/dynamicdialog/dynamicdialog.cjs.min.js +1 -1
  115. package/dynamicdialog/dynamicdialog.esm.js +2 -2
  116. package/dynamicdialog/dynamicdialog.esm.min.js +1 -1
  117. package/dynamicdialog/dynamicdialog.js +3 -3
  118. package/dynamicdialog/dynamicdialog.min.js +1 -1
  119. package/dynamicdialogoptions/DynamicDialogOptions.d.ts +28 -8
  120. package/editor/Editor.d.ts +48 -17
  121. package/fieldset/Fieldset.d.ts +43 -16
  122. package/fileupload/FileUpload.d.ts +101 -47
  123. package/focustrap/FocusTrap.d.ts +42 -3
  124. package/fullcalendar/FullCalendar.d.ts +1 -1
  125. package/galleria/Galleria.d.ts +64 -40
  126. package/image/Image.d.ts +33 -14
  127. package/inlinemessage/InlineMessage.d.ts +31 -17
  128. package/inplace/Inplace.d.ts +41 -18
  129. package/inputmask/InputMask.d.ts +41 -17
  130. package/inputnumber/InputNumber.d.ts +60 -41
  131. package/inputswitch/InputSwitch.d.ts +35 -15
  132. package/inputswitch/InputSwitch.vue +1 -0
  133. package/inputswitch/inputswitch.cjs.js +1 -1
  134. package/inputswitch/inputswitch.cjs.min.js +1 -1
  135. package/inputswitch/inputswitch.esm.js +1 -1
  136. package/inputswitch/inputswitch.esm.min.js +1 -1
  137. package/inputswitch/inputswitch.js +1 -1
  138. package/inputswitch/inputswitch.min.js +1 -1
  139. package/inputtext/InputText.d.ts +32 -12
  140. package/knob/Knob.d.ts +47 -21
  141. package/listbox/Listbox.d.ts +81 -60
  142. package/megamenu/MegaMenu.d.ts +42 -27
  143. package/megamenu/MegaMenu.vue +17 -0
  144. package/megamenu/megamenu.cjs.js +1 -1
  145. package/megamenu/megamenu.cjs.min.js +1 -1
  146. package/megamenu/megamenu.esm.js +1 -1
  147. package/megamenu/megamenu.esm.min.js +1 -1
  148. package/megamenu/megamenu.js +1 -1
  149. package/megamenu/megamenu.min.js +1 -1
  150. package/menu/Menu.d.ts +57 -28
  151. package/menu/Menu.vue +6 -0
  152. package/menu/menu.cjs.js +26 -8
  153. package/menu/menu.cjs.min.js +1 -1
  154. package/menu/menu.esm.js +27 -9
  155. package/menu/menu.esm.min.js +1 -1
  156. package/menu/menu.js +26 -8
  157. package/menu/menu.min.js +1 -1
  158. package/menubar/Menubar.d.ts +36 -19
  159. package/menuitem/MenuItem.d.ts +22 -10
  160. package/message/Message.d.ts +40 -21
  161. package/multiselect/MultiSelect.d.ts +111 -90
  162. package/orderlist/OrderList.d.ts +51 -23
  163. package/organizationchart/OrganizationChart.d.ts +43 -26
  164. package/overlaypanel/OverlayPanel.d.ts +46 -26
  165. package/package.json +2 -2
  166. package/paginator/Paginator.d.ts +49 -24
  167. package/panel/Panel.d.ts +39 -14
  168. package/panelmenu/PanelMenu.d.ts +49 -21
  169. package/password/Password.d.ts +47 -28
  170. package/picklist/PickList.d.ts +74 -33
  171. package/progressbar/ProgressBar.d.ts +34 -17
  172. package/progressspinner/ProgressSpinner.d.ts +32 -13
  173. package/radiobutton/RadioButton.d.ts +32 -14
  174. package/rating/Rating.d.ts +51 -25
  175. package/resources/themes/arya-blue/theme.css +34 -11
  176. package/resources/themes/arya-green/theme.css +34 -11
  177. package/resources/themes/arya-orange/theme.css +34 -11
  178. package/resources/themes/arya-purple/theme.css +34 -11
  179. package/resources/themes/bootstrap4-dark-blue/theme.css +34 -11
  180. package/resources/themes/bootstrap4-dark-purple/theme.css +34 -11
  181. package/resources/themes/bootstrap4-light-blue/theme.css +34 -11
  182. package/resources/themes/bootstrap4-light-purple/theme.css +34 -11
  183. package/resources/themes/fluent-light/theme.css +34 -11
  184. package/resources/themes/lara-dark-blue/theme.css +34 -11
  185. package/resources/themes/lara-dark-indigo/theme.css +34 -11
  186. package/resources/themes/lara-dark-purple/theme.css +34 -11
  187. package/resources/themes/lara-dark-teal/theme.css +34 -11
  188. package/resources/themes/lara-light-blue/theme.css +34 -11
  189. package/resources/themes/lara-light-indigo/theme.css +34 -11
  190. package/resources/themes/lara-light-purple/theme.css +34 -11
  191. package/resources/themes/lara-light-teal/theme.css +34 -11
  192. package/resources/themes/luna-amber/theme.css +34 -11
  193. package/resources/themes/luna-blue/theme.css +34 -11
  194. package/resources/themes/luna-green/theme.css +34 -11
  195. package/resources/themes/luna-pink/theme.css +34 -11
  196. package/resources/themes/md-dark-deeppurple/theme.css +34 -11
  197. package/resources/themes/md-dark-indigo/theme.css +34 -11
  198. package/resources/themes/md-light-deeppurple/theme.css +34 -11
  199. package/resources/themes/md-light-indigo/theme.css +34 -11
  200. package/resources/themes/mdc-dark-deeppurple/theme.css +34 -11
  201. package/resources/themes/mdc-dark-indigo/theme.css +34 -11
  202. package/resources/themes/mdc-light-deeppurple/theme.css +34 -11
  203. package/resources/themes/mdc-light-indigo/theme.css +34 -11
  204. package/resources/themes/mira/fonts/Inter-Bold.woff +0 -0
  205. package/resources/themes/mira/fonts/Inter-Bold.woff2 +0 -0
  206. package/resources/themes/mira/fonts/Inter-Medium.woff +0 -0
  207. package/resources/themes/mira/fonts/Inter-Medium.woff2 +0 -0
  208. package/resources/themes/mira/fonts/Inter-Regular.woff +0 -0
  209. package/resources/themes/mira/fonts/Inter-Regular.woff2 +0 -0
  210. package/resources/themes/mira/fonts/Inter-SemiBold.woff +0 -0
  211. package/resources/themes/mira/fonts/Inter-SemiBold.woff2 +0 -0
  212. package/resources/themes/mira/theme.css +6089 -0
  213. package/resources/themes/nano/theme.css +5861 -0
  214. package/resources/themes/nova/theme.css +34 -11
  215. package/resources/themes/nova-accent/theme.css +34 -11
  216. package/resources/themes/nova-alt/theme.css +34 -11
  217. package/resources/themes/nova-vue/theme.css +34 -11
  218. package/resources/themes/rhea/theme.css +34 -11
  219. package/resources/themes/saga-blue/theme.css +34 -11
  220. package/resources/themes/saga-green/theme.css +34 -11
  221. package/resources/themes/saga-orange/theme.css +34 -11
  222. package/resources/themes/saga-purple/theme.css +34 -11
  223. package/resources/themes/soho-dark/fonts/lato-v17-latin-ext_latin-300.woff +0 -0
  224. package/resources/themes/soho-dark/fonts/lato-v17-latin-ext_latin-300.woff2 +0 -0
  225. package/resources/themes/soho-dark/fonts/lato-v17-latin-ext_latin-700.woff +0 -0
  226. package/resources/themes/soho-dark/fonts/lato-v17-latin-ext_latin-700.woff2 +0 -0
  227. package/resources/themes/soho-dark/fonts/lato-v17-latin-ext_latin-regular.woff +0 -0
  228. package/resources/themes/soho-dark/fonts/lato-v17-latin-ext_latin-regular.woff2 +0 -0
  229. package/resources/themes/soho-dark/theme.css +5854 -0
  230. package/resources/themes/soho-light/fonts/lato-v17-latin-ext_latin-300.woff +0 -0
  231. package/resources/themes/soho-light/fonts/lato-v17-latin-ext_latin-300.woff2 +0 -0
  232. package/resources/themes/soho-light/fonts/lato-v17-latin-ext_latin-700.woff +0 -0
  233. package/resources/themes/soho-light/fonts/lato-v17-latin-ext_latin-700.woff2 +0 -0
  234. package/resources/themes/soho-light/fonts/lato-v17-latin-ext_latin-regular.woff +0 -0
  235. package/resources/themes/soho-light/fonts/lato-v17-latin-ext_latin-regular.woff2 +0 -0
  236. package/resources/themes/soho-light/theme.css +5908 -0
  237. package/resources/themes/tailwind-light/theme.css +34 -11
  238. package/resources/themes/vela-blue/theme.css +34 -11
  239. package/resources/themes/vela-green/theme.css +34 -11
  240. package/resources/themes/vela-orange/theme.css +34 -11
  241. package/resources/themes/vela-purple/theme.css +34 -11
  242. package/resources/themes/viva-dark/fonts/poppins-v15-latin-ext_latin-300.woff +0 -0
  243. package/resources/themes/viva-dark/fonts/poppins-v15-latin-ext_latin-300.woff2 +0 -0
  244. package/resources/themes/viva-dark/fonts/poppins-v15-latin-ext_latin-600.woff +0 -0
  245. package/resources/themes/viva-dark/fonts/poppins-v15-latin-ext_latin-600.woff2 +0 -0
  246. package/resources/themes/viva-dark/fonts/poppins-v15-latin-ext_latin-700.woff +0 -0
  247. package/resources/themes/viva-dark/fonts/poppins-v15-latin-ext_latin-700.woff2 +0 -0
  248. package/resources/themes/viva-dark/fonts/poppins-v15-latin-ext_latin-regular.woff +0 -0
  249. package/resources/themes/viva-dark/fonts/poppins-v15-latin-ext_latin-regular.woff2 +0 -0
  250. package/resources/themes/viva-dark/theme.css +6016 -0
  251. package/resources/themes/viva-light/fonts/poppins-v15-latin-ext_latin-300.woff +0 -0
  252. package/resources/themes/viva-light/fonts/poppins-v15-latin-ext_latin-300.woff2 +0 -0
  253. package/resources/themes/viva-light/fonts/poppins-v15-latin-ext_latin-600.woff +0 -0
  254. package/resources/themes/viva-light/fonts/poppins-v15-latin-ext_latin-600.woff2 +0 -0
  255. package/resources/themes/viva-light/fonts/poppins-v15-latin-ext_latin-700.woff +0 -0
  256. package/resources/themes/viva-light/fonts/poppins-v15-latin-ext_latin-700.woff2 +0 -0
  257. package/resources/themes/viva-light/fonts/poppins-v15-latin-ext_latin-regular.woff +0 -0
  258. package/resources/themes/viva-light/fonts/poppins-v15-latin-ext_latin-regular.woff2 +0 -0
  259. package/resources/themes/viva-light/theme.css +6016 -0
  260. package/ripple/Ripple.d.ts +24 -1
  261. package/row/Row.d.ts +28 -10
  262. package/scrollpanel/ScrollPanel.d.ts +29 -11
  263. package/scrolltop/ScrollTop.d.ts +35 -18
  264. package/selectbutton/SelectButton.d.ts +47 -27
  265. package/sidebar/Sidebar.d.ts +46 -27
  266. package/skeleton/Skeleton.d.ts +36 -22
  267. package/slider/Slider.d.ts +46 -23
  268. package/speeddial/SpeedDial.d.ts +64 -51
  269. package/splitbutton/SplitButton.d.ts +73 -24
  270. package/splitbutton/SplitButton.vue +41 -1
  271. package/splitbutton/splitbutton.cjs.js +43 -3
  272. package/splitbutton/splitbutton.cjs.min.js +1 -1
  273. package/splitbutton/splitbutton.esm.js +43 -3
  274. package/splitbutton/splitbutton.esm.min.js +1 -1
  275. package/splitbutton/splitbutton.js +43 -3
  276. package/splitbutton/splitbutton.min.js +1 -1
  277. package/splitter/Splitter.d.ts +49 -30
  278. package/splitterpanel/SplitterPanel.d.ts +28 -10
  279. package/steps/Steps.d.ts +36 -15
  280. package/styleclass/StyleClass.d.ts +72 -1
  281. package/tabmenu/TabMenu.d.ts +41 -16
  282. package/tabmenu/TabMenu.vue +1 -1
  283. package/tabmenu/tabmenu.cjs.js +1 -0
  284. package/tabmenu/tabmenu.cjs.min.js +1 -1
  285. package/tabmenu/tabmenu.esm.js +1 -0
  286. package/tabmenu/tabmenu.esm.min.js +1 -1
  287. package/tabmenu/tabmenu.js +1 -0
  288. package/tabmenu/tabmenu.min.js +1 -1
  289. package/tabpanel/TabPanel.d.ts +29 -11
  290. package/tabview/TabView.d.ts +47 -19
  291. package/tag/Tag.d.ts +33 -15
  292. package/tag/Tag.vue +1 -1
  293. package/tag/tag.cjs.js +4 -2
  294. package/tag/tag.cjs.min.js +1 -1
  295. package/tag/tag.esm.js +5 -3
  296. package/tag/tag.esm.min.js +1 -1
  297. package/tag/tag.js +4 -2
  298. package/tag/tag.min.js +1 -1
  299. package/terminal/Terminal.d.ts +30 -14
  300. package/terminalservice/TerminalService.d.ts +24 -5
  301. package/textarea/Textarea.d.ts +33 -11
  302. package/tieredmenu/TieredMenu.d.ts +45 -31
  303. package/timeline/Timeline.d.ts +41 -32
  304. package/toast/Toast.d.ts +63 -35
  305. package/toast/Toast.vue +4 -2
  306. package/toast/ToastMessage.vue +4 -4
  307. package/toast/toast.cjs.js +8 -6
  308. package/toast/toast.cjs.min.js +1 -1
  309. package/toast/toast.esm.js +8 -6
  310. package/toast/toast.esm.min.js +1 -1
  311. package/toast/toast.js +8 -6
  312. package/toast/toast.min.js +1 -1
  313. package/toastservice/ToastService.d.ts +16 -3
  314. package/togglebutton/ToggleButton.d.ts +42 -22
  315. package/toolbar/Toolbar.d.ts +34 -14
  316. package/tooltip/Tooltip.d.ts +99 -1
  317. package/tree/Tree.d.ts +55 -36
  318. package/treeselect/TreeSelect.d.ts +63 -55
  319. package/treetable/TreeTable.d.ts +121 -107
  320. package/tristatecheckbox/TriStateCheckbox.d.ts +35 -12
  321. package/ts-helpers.d.ts +2 -2
  322. package/utils/utils.cjs.js +20 -22
  323. package/utils/utils.cjs.min.js +1 -1
  324. package/utils/utils.esm.js +20 -22
  325. package/utils/utils.esm.min.js +1 -1
  326. package/utils/utils.js +20 -22
  327. package/utils/utils.min.js +1 -1
  328. package/vetur-attributes.json +62 -2
  329. package/vetur-tags.json +17 -2
  330. package/virtualscroller/VirtualScroller.d.ts +99 -43
  331. package/virtualscroller/VirtualScroller.vue +248 -72
  332. package/virtualscroller/virtualscroller.cjs.js +234 -72
  333. package/virtualscroller/virtualscroller.cjs.min.js +1 -1
  334. package/virtualscroller/virtualscroller.esm.js +234 -72
  335. package/virtualscroller/virtualscroller.esm.min.js +1 -1
  336. package/virtualscroller/virtualscroller.js +235 -74
  337. package/virtualscroller/virtualscroller.min.js +1 -1
  338. package/web-types.json +1930 -1742
@@ -1,6 +1,19 @@
1
+ /**
2
+ *
3
+ * Editor groups a collection of contents in tabs.
4
+ *
5
+ * [Live Demo](https://www.primevue.org/editor/)
6
+ *
7
+ * @module editor
8
+ *
9
+ */
1
10
  import { VNode } from 'vue';
2
11
  import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
3
12
 
13
+ /**
14
+ * Custom text change event.
15
+ * @see {@link EditorEmits['text-change']}
16
+ */
4
17
  export interface EditorTextChangeEvent {
5
18
  /**
6
19
  * Current value as html.
@@ -23,7 +36,10 @@ export interface EditorTextChangeEvent {
23
36
  */
24
37
  instance: any;
25
38
  }
26
-
39
+ /**
40
+ * Custom selection change event.
41
+ * @see {@link EditorEmits['selection-change']}
42
+ */
27
43
  export interface EditorSelectionChangeEvent {
28
44
  /**
29
45
  * Current value as html.
@@ -50,7 +66,10 @@ export interface EditorSelectionChangeEvent {
50
66
  */
51
67
  instance: any;
52
68
  }
53
-
69
+ /**
70
+ * Custom load event.
71
+ * @see {@link EditorEmits.load}
72
+ */
54
73
  export interface EditorLoadEvent {
55
74
  /**
56
75
  * Text editor instance.
@@ -58,6 +77,9 @@ export interface EditorLoadEvent {
58
77
  instance: any;
59
78
  }
60
79
 
80
+ /**
81
+ * Defines valid properties in Editor component.
82
+ */
61
83
  export interface EditorProps {
62
84
  /**
63
85
  * Value of the content.
@@ -85,6 +107,9 @@ export interface EditorProps {
85
107
  modules?: any;
86
108
  }
87
109
 
110
+ /**
111
+ * Defines valid slots in Editor slots.
112
+ */
88
113
  export interface EditorSlots {
89
114
  /**
90
115
  * Custom toolbar template.
@@ -92,29 +117,44 @@ export interface EditorSlots {
92
117
  toolbar: () => VNode[];
93
118
  }
94
119
 
95
- export declare type EditorEmits = {
120
+ /**
121
+ * Defines valid emits in Editor component.
122
+ */
123
+ export interface EditorEmits {
96
124
  /**
97
125
  * Emitted when the value changes.
98
126
  * @param {string} value - New value.
99
127
  */
100
- 'update:modelValue': (value: string) => void;
128
+ 'update:modelValue'(value: string): void;
101
129
  /**
102
130
  * Callback to invoke when text of editor changes.
103
131
  * @param {EditorTextChangeEvent} event - Custom text change event.
104
132
  */
105
- 'text-change': (event: EditorTextChangeEvent) => void;
133
+ 'text-change'(event: EditorTextChangeEvent): void;
106
134
  /**
107
135
  * Callback to invoke when selection of the text changes.
108
136
  * @param {EditorSelectionChangeEvent} event - Custom selection change event.
109
137
  */
110
- 'selection-change': (event: EditorSelectionChangeEvent) => void;
138
+ 'selection-change'(event: EditorSelectionChangeEvent): void;
111
139
  /**
112
140
  * Callback to invoke when the quill modules are loaded.
113
141
  * @param {EditorLoadEvent} event - Custom load event.
114
142
  */
115
- load: (event: EditorLoadEvent) => void;
116
- };
143
+ load(event: EditorLoadEvent): void;
144
+ }
117
145
 
146
+ /**
147
+ * **PrimeVue - Editor**
148
+ *
149
+ * _Editor groups a collection of contents in tabs._
150
+ *
151
+ * [Live Demo](https://www.primevue.org/editor/)
152
+ * --- ---
153
+ * ![PrimeVue](https://primefaces.org/cdn/primevue/images/logo-100.png)
154
+ *
155
+ * @group Component
156
+ *
157
+ */
118
158
  declare class Editor extends ClassComponent<EditorProps, EditorSlots, EditorEmits> {}
119
159
 
120
160
  declare module '@vue/runtime-core' {
@@ -123,13 +163,4 @@ declare module '@vue/runtime-core' {
123
163
  }
124
164
  }
125
165
 
126
- /**
127
- *
128
- * Editor is rich text editor component based on Quill.
129
- *
130
- * Demos:
131
- *
132
- * - [Editor](https://www.primefaces.org/primevue/editor)
133
- *
134
- */
135
166
  export default Editor;
@@ -1,6 +1,19 @@
1
- import { VNode } from 'vue';
1
+ /**
2
+ *
3
+ * Fieldset is a grouping component with the optional content toggle feature.
4
+ *
5
+ * [Live Demo](https://www.primevue.org/fieldset/)
6
+ *
7
+ * @module fieldset
8
+ *
9
+ */
10
+ import { AnchorHTMLAttributes, VNode } from 'vue';
2
11
  import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
3
12
 
13
+ /**
14
+ * Custom toggle event.
15
+ * @see {@link FieldsetEmits.toggle}
16
+ */
4
17
  export interface FieldsetToggleEvent {
5
18
  /**
6
19
  * Browser event.
@@ -12,6 +25,9 @@ export interface FieldsetToggleEvent {
12
25
  value: boolean;
13
26
  }
14
27
 
28
+ /**
29
+ * Defines valid properties in Fieldset component.
30
+ */
15
31
  export interface FieldsetProps {
16
32
  /**
17
33
  * Header text of the fieldset.
@@ -19,18 +35,23 @@ export interface FieldsetProps {
19
35
  legend?: string | undefined;
20
36
  /**
21
37
  * When specified, content can toggled by clicking the legend.
38
+ * @defaultValue false
22
39
  */
23
40
  toggleable?: boolean | undefined;
24
41
  /**
25
42
  * Defines the default visibility state of the content.
43
+ * @defaultValue false
26
44
  */
27
45
  collapsed?: boolean | undefined;
28
46
  /**
29
- * Uses to pass the custom value to read for the anchor inside the component.
47
+ * Uses to pass the custom value to read for the AnchorHTMLAttributes inside the component.
30
48
  */
31
- toggleButtonProps?: object | undefined;
49
+ toggleButtonProps?: AnchorHTMLAttributes | undefined;
32
50
  }
33
51
 
52
+ /**
53
+ * Defines valid slots in Fieldset slots.
54
+ */
34
55
  export interface FieldsetSlots {
35
56
  /**
36
57
  * Default content slot.
@@ -42,19 +63,34 @@ export interface FieldsetSlots {
42
63
  legend: () => VNode[];
43
64
  }
44
65
 
45
- export declare type FieldsetEmits = {
66
+ /**
67
+ * Defines valid emits in Fildset component.
68
+ */
69
+ export interface FieldsetEmits {
46
70
  /**
47
71
  * Emitted when the collapsed changes.
48
72
  * @param {boolean} value - New value.
49
73
  */
50
- 'update:collapsed': (value: boolean) => void;
74
+ 'update:collapsed'(value: boolean): void;
51
75
  /**
52
76
  * Callback to invoke when a tab gets expanded or collapsed.
53
77
  * @param {FieldsetToggleEvent} event - Custom toggle event.
54
78
  */
55
- toggle: (event: FieldsetToggleEvent) => void;
56
- };
79
+ toggle(event: FieldsetToggleEvent): void;
80
+ }
57
81
 
82
+ /**
83
+ * **PrimeVue - Fieldset**
84
+ *
85
+ * _Fieldset is a grouping component with the optional content toggle feature._
86
+ *
87
+ * [Live Demo](https://www.primevue.org/fieldset/)
88
+ * --- ---
89
+ * ![PrimeVue](https://primefaces.org/cdn/primevue/images/logo-100.png)
90
+ *
91
+ * @group Component
92
+ *
93
+ */
58
94
  declare class Fieldset extends ClassComponent<FieldsetProps, FieldsetSlots, FieldsetEmits> {}
59
95
 
60
96
  declare module '@vue/runtime-core' {
@@ -63,13 +99,4 @@ declare module '@vue/runtime-core' {
63
99
  }
64
100
  }
65
101
 
66
- /**
67
- *
68
- * Fieldset is a grouping component with the optional content toggle feature.
69
- *
70
- * Demos:
71
- *
72
- * - [Fieldset](https://www.primefaces.org/primevue/fieldset)
73
- *
74
- */
75
102
  export default Fieldset;
@@ -1,8 +1,19 @@
1
+ /**
2
+ *
3
+ * FileUpload is an advanced uploader with dragdrop support, multi file uploads, auto uploading, progress tracking and validations.
4
+ *
5
+ * [Live Demo](https://www.primevue.org/fileupload/)
6
+ *
7
+ * @module fileupload
8
+ *
9
+ */
1
10
  import { VNode } from 'vue';
2
11
  import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
3
12
 
4
- type FileUploadModeType = 'advanced' | 'basic' | undefined;
5
-
13
+ /**
14
+ * Custom select event.
15
+ * @see {@link FileUploadEmits.select}
16
+ */
6
17
  export interface FileUploadSelectEvent {
7
18
  /**
8
19
  * Browser event.
@@ -14,6 +25,10 @@ export interface FileUploadSelectEvent {
14
25
  files: any;
15
26
  }
16
27
 
28
+ /**
29
+ * Custom before upload event.
30
+ * @see {@link FileUploadEmits['before-upload']}
31
+ */
17
32
  export interface FileUploadBeforeUploadEvent {
18
33
  /**
19
34
  * XmlHttpRequest instance.
@@ -25,6 +40,10 @@ export interface FileUploadBeforeUploadEvent {
25
40
  formData: FormData;
26
41
  }
27
42
 
43
+ /**
44
+ * Custom progress event.
45
+ * @see {@link FileUploadEmits.progress }
46
+ */
28
47
  export interface FileUploadProgressEvent {
29
48
  /**
30
49
  * Browser event.
@@ -36,6 +55,10 @@ export interface FileUploadProgressEvent {
36
55
  progress: number;
37
56
  }
38
57
 
58
+ /**
59
+ * Custom upload event.
60
+ * @see {@link FileUploadEmits.upload}
61
+ */
39
62
  export interface FileUploadUploadEvent {
40
63
  /**
41
64
  * XmlHttpRequest instance.
@@ -47,13 +70,20 @@ export interface FileUploadUploadEvent {
47
70
  files: File | File[];
48
71
  }
49
72
 
73
+ /**
74
+ * Custom uploader event.
75
+ * @see {@link FileUploadEmits.uploader}
76
+ */
50
77
  export interface FileUploadUploaderEvent {
51
78
  /**
52
79
  * List of selected files.
53
80
  */
54
81
  files: File | File[];
55
82
  }
56
-
83
+ /**
84
+ * Custom error event.
85
+ * @see {@link FileUploadEmits.error}
86
+ */
57
87
  export interface FileUploadErrorEvent {
58
88
  /**
59
89
  * XmlHttpRequest instance.
@@ -64,7 +94,10 @@ export interface FileUploadErrorEvent {
64
94
  */
65
95
  files: File | File[];
66
96
  }
67
-
97
+ /**
98
+ * Custom before send event.
99
+ * @see {@link FileUploadEmits['before-send']}
100
+ */
68
101
  export interface FileUploadBeforeSendEvent {
69
102
  /**
70
103
  * XmlHttpRequest instance.
@@ -76,6 +109,10 @@ export interface FileUploadBeforeSendEvent {
76
109
  formData: FormData;
77
110
  }
78
111
 
112
+ /**
113
+ * Custom remove event.
114
+ * @see {@link FileUploadEmits.remove}
115
+ */
79
116
  export interface FileUploadRemoveEvent {
80
117
  /**
81
118
  * Removed file.
@@ -86,7 +123,10 @@ export interface FileUploadRemoveEvent {
86
123
  */
87
124
  files: File[];
88
125
  }
89
-
126
+ /**
127
+ * Custom remove upload file event.
128
+ * @see {@link FileUploadEmits['remove-uploaded-file']}
129
+ */
90
130
  export interface FileUploadRemoveUploadedFile {
91
131
  /**
92
132
  * Removed file.
@@ -98,6 +138,9 @@ export interface FileUploadRemoveUploadedFile {
98
138
  files: File[];
99
139
  }
100
140
 
141
+ /**
142
+ * Defines valid properties in FileUpload component.
143
+ */
101
144
  export interface FileUploadProps {
102
145
  /**
103
146
  * Name of the request parameter to identify the files at backend.
@@ -109,12 +152,12 @@ export interface FileUploadProps {
109
152
  url?: string | undefined;
110
153
  /**
111
154
  * Defines the UI of the component, possible values are 'advanced' and 'basic'.
112
- * @see FileUploadModeType
113
- * Default value is 'advanced'.
155
+ * @defaultValue advanced
114
156
  */
115
- mode?: FileUploadModeType;
157
+ mode?: 'advanced' | 'basic' | undefined;
116
158
  /**
117
159
  * Used to select multiple files at once from file dialog.
160
+ * @defaultValue false
118
161
  */
119
162
  multiple?: boolean | undefined;
120
163
  /**
@@ -123,10 +166,12 @@ export interface FileUploadProps {
123
166
  accept?: string | undefined;
124
167
  /**
125
168
  * Disables the upload functionality.
169
+ * @defaultValue false
126
170
  */
127
171
  disabled?: boolean | undefined;
128
172
  /**
129
173
  * When enabled, upload begins automatically after selection is completed.
174
+ * @defaultValue false
130
175
  */
131
176
  auto?: boolean | undefined;
132
177
  /**
@@ -135,17 +180,17 @@ export interface FileUploadProps {
135
180
  maxFileSize?: number | undefined;
136
181
  /**
137
182
  * Message of the invalid fize size.
138
- * Default value is '{0}: Invalid file size, file size should be smaller than {1}.'.
183
+ * @defaultValue {0}: Invalid file size, file size should be smaller than {1.}
139
184
  */
140
185
  invalidFileSizeMessage?: string | undefined;
141
186
  /**
142
187
  * Message to display when number of files to be uploaded exceeeds the limit.
143
- * Default value is 'Maximum number of files exceeded, limit is {0} at most.'.
188
+ * @defaultValue Maximum number of files to be uploaded is {0.}
144
189
  */
145
190
  invalidFileLimitMessage?: string | undefined;
146
191
  /**
147
192
  * Message of the invalid fize type.
148
- * Default value is '{0}: Invalid file type, allowed file types: {1}.'.
193
+ * @defaultValue '{0}: Invalid file type.'
149
194
  */
150
195
  invalidFileTypeMessage?: string | undefined;
151
196
  /**
@@ -154,11 +199,12 @@ export interface FileUploadProps {
154
199
  fileLimit?: number | undefined;
155
200
  /**
156
201
  * Cross-site Access-Control requests should be made using credentials such as cookies, authorization headers or TLS client certificates.
202
+ * @defaultValue false
157
203
  */
158
204
  withCredentials?: boolean | undefined;
159
205
  /**
160
206
  * Width of the image thumbnail in pixels.
161
- * Default value is 50.
207
+ * @defaultValue 50
162
208
  */
163
209
  previewWidth?: number | undefined;
164
210
  /**
@@ -167,12 +213,11 @@ export interface FileUploadProps {
167
213
  chooseLabel?: string | undefined;
168
214
  /**
169
215
  * Label of the upload button. Defaults to PrimeVue Locale configuration.
170
- * Default value is 'Upload'.
171
216
  */
172
217
  uploadLabel?: string | undefined;
173
218
  /**
174
219
  * Label of the cancel button. Defaults to PrimeVue Locale configuration.
175
- * Default value is 'Cancel'.
220
+ * @defaultValue Cancel
176
221
  */
177
222
  cancelLabel?: string | undefined;
178
223
  /**
@@ -181,24 +226,27 @@ export interface FileUploadProps {
181
226
  customUpload?: boolean | undefined;
182
227
  /**
183
228
  * Whether to show the upload button.
184
- * Default value is true.
229
+ * @defaultValue true
185
230
  */
186
231
  showUploadButton?: boolean | undefined;
187
232
  /**
188
233
  * Whether to show the cancel button.
189
- * Default value is true.
234
+ * @defaultValue true
190
235
  */
191
236
  showCancelButton?: boolean | undefined;
192
237
  /**
193
238
  * Icon of the choose button.
239
+ * @defaultValue pi pi-fw pi-plus
194
240
  */
195
241
  chooseIcon?: string | undefined;
196
242
  /**
197
243
  * Icon of the upload button.
244
+ * @defaultValue pi pi-fw pi-upload
198
245
  */
199
246
  uploadIcon?: string | undefined;
200
247
  /**
201
248
  * Icon of the cancel button.
249
+ * @defaultValue pi pi-fw pi-times
202
250
  */
203
251
  cancelIcon?: string | undefined;
204
252
  /**
@@ -211,11 +259,14 @@ export interface FileUploadProps {
211
259
  class?: any;
212
260
  }
213
261
 
262
+ /**
263
+ * Defines valid slots in FileUpload slots.
264
+ */
214
265
  export interface FileUploadSlots {
215
266
  /**
216
267
  * Custom header content template.
217
268
  */
218
- header: (scope: {
269
+ header(scope: {
219
270
  /**
220
271
  * Files to upload.
221
272
  */
@@ -227,20 +278,20 @@ export interface FileUploadSlots {
227
278
  /**
228
279
  * Choose function
229
280
  */
230
- chooseCallback: () => void;
281
+ chooseCallback(): void;
231
282
  /**
232
283
  * Upload function
233
284
  */
234
- uploadCallback: () => void;
285
+ uploadCallback(): void;
235
286
  /**
236
287
  * Clear function
237
288
  */
238
- clearCallback: () => void;
239
- }) => VNode[];
289
+ clearCallback(): void;
290
+ }): VNode[];
240
291
  /**
241
292
  * Custom uploaded content template.
242
293
  */
243
- content: (scope: {
294
+ content(scope: {
244
295
  /**
245
296
  * Files to upload.
246
297
  */
@@ -252,11 +303,11 @@ export interface FileUploadSlots {
252
303
  /**
253
304
  * Function to remove an uploaded file.
254
305
  */
255
- removeUploadedFileCallback: (index: number) => void;
306
+ removeUploadedFileCallback(index: number): void;
256
307
  /**
257
308
  * Function to remove a file.
258
309
  */
259
- removeFileCallback: (index: number) => void;
310
+ removeFileCallback(index: number): void;
260
311
  /**
261
312
  * Uploaded progress as number.
262
313
  */
@@ -265,65 +316,77 @@ export interface FileUploadSlots {
265
316
  * Status messages about upload process.
266
317
  */
267
318
  messages: string | undefined;
268
- }) => VNode[];
319
+ }): VNode[];
269
320
  /**
270
321
  * Custom content when there is no selected file.
271
322
  */
272
- empty: () => VNode[];
323
+ empty(): VNode[];
273
324
  }
274
325
 
275
- export declare type FileUploadEmits = {
326
+ export interface FileUploadEmits {
276
327
  /**
277
328
  * Callback to invoke when files are selected.
278
329
  * @param {FileUploadSelectEvent} event - Custom select event.
279
330
  */
280
- select: (event: FileUploadSelectEvent) => void;
331
+ select(event: FileUploadSelectEvent): void;
281
332
  /**
282
333
  * Callback to invoke before file upload begins to customize the request such as post parameters before the files.
283
334
  * @param {FileUploadBeforeUploadEvent} event - Custom before upload event.
284
335
  */
285
- 'before-upload': (event: FileUploadBeforeUploadEvent) => void;
336
+ 'before-upload'(event: FileUploadBeforeUploadEvent): void;
286
337
  /**
287
338
  * Callback to invoke when files are being uploaded.
288
339
  * @param {FileUploadProgressEvent} event - Custom progress event.
289
340
  */
290
- progress: (event: FileUploadProgressEvent) => void;
341
+ progress(event: FileUploadProgressEvent): void;
291
342
  /**
292
343
  * Callback to invoke when file upload is complete.
293
344
  * @param {FileUploadUploadEvent} event - Custom upload event.
294
345
  */
295
- upload: (event: FileUploadUploadEvent) => void;
346
+ upload(event: FileUploadUploadEvent): void;
296
347
  /**
297
348
  * Callback to invoke to implement a custom upload.
298
349
  * @param {FileUploadUploaderEvent} event - Custom uploader event.
299
350
  */
300
- uploader: (event: FileUploadUploaderEvent) => void;
351
+ uploader(event: FileUploadUploaderEvent): void;
301
352
  /**
302
353
  * Callback to invoke if file upload fails.
303
354
  * @param {FileUploadErrorEvent} event - Custom error event.
304
355
  */
305
- error: (event: FileUploadErrorEvent) => void;
356
+ error(event: FileUploadErrorEvent): void;
306
357
  /**
307
358
  * Callback to invoke before file send begins to customize the request such as adding headers.
308
359
  * @param {FileUploadBeforeSendEvent} event - Custom before send event.
309
360
  */
310
- 'before-send': (event: FileUploadBeforeSendEvent) => void;
361
+ 'before-send'(event: FileUploadBeforeSendEvent): void;
311
362
  /**
312
363
  * Callback to invoke when files in queue are removed without uploading.
313
364
  */
314
- clear: () => void;
365
+ clear(): void;
315
366
  /**
316
367
  * Callback to invoke when a singe file is removed from the list.
317
368
  * @param {FileUploadRemoveEvent} event - Custom remove event.
318
369
  */
319
- remove: (event: FileUploadRemoveEvent) => void;
370
+ remove(event: FileUploadRemoveEvent): void;
320
371
  /**
321
372
  * Callback to invoke when a single uploaded file is removed from the uploaded file list.
322
373
  * @param {FileUploadRemoveUploadedFile} event - Custom uploaded file remove event.
323
374
  */
324
- removeUploadedFile: (event: FileUploadRemoveUploadedFile) => void;
325
- };
375
+ removeUploadedFile(event: FileUploadRemoveUploadedFile): void;
376
+ }
326
377
 
378
+ /**
379
+ * **PrimeVue - FileUpload**
380
+ *
381
+ * _FileUpload is an advanced uploader with dragdrop support, multi file uploads, auto uploading, progress tracking and validations._
382
+ *
383
+ * [Live Demo](https://www.primevue.org/fileupload/)
384
+ * --- ---
385
+ * ![PrimeVue](https://primefaces.org/cdn/primevue/images/logo-100.png)
386
+ *
387
+ * @group Component
388
+ *
389
+ */
327
390
  declare class FileUpload extends ClassComponent<FileUploadProps, FileUploadSlots, FileUploadEmits> {}
328
391
 
329
392
  declare module '@vue/runtime-core' {
@@ -332,13 +395,4 @@ declare module '@vue/runtime-core' {
332
395
  }
333
396
  }
334
397
 
335
- /**
336
- *
337
- * FileUpload is an advanced uploader with dragdrop support, multi file uploads, auto uploading, progress tracking and validations.
338
- *
339
- * Demos:
340
- *
341
- * - [FileUpload](https://www.primefaces.org/primevue/fileupload)
342
- *
343
- */
344
398
  export default FileUpload;
@@ -1,5 +1,44 @@
1
- import { ObjectDirective } from 'vue';
1
+ /**
2
+ *
3
+ * Focus Trap keeps focus within a certain DOM element while tabbing.
4
+ *
5
+ * [Live Demo](https://primevue.org/focustrap)
6
+ *
7
+ * @module focustrap
8
+ */
9
+ import { DirectiveBinding, ObjectDirective } from 'vue';
2
10
 
3
- declare const Ripple: ObjectDirective;
11
+ /**
12
+ * Defines options of FocusTrap.
13
+ */
14
+ export interface FocusTrapOptions {
15
+ /**
16
+ * When present, it specifies that the directive should be disabled.
17
+ * @defaultValue false
18
+ */
19
+ disabled?: boolean | undefined;
20
+ }
4
21
 
5
- export default Ripple;
22
+ /**
23
+ * Binding of FocusTrap directive.
24
+ */
25
+ export interface FocusTrapDirectiveBinding extends Omit<DirectiveBinding, 'modifiers' | 'value'> {
26
+ /**
27
+ * Value of the FocusTrap.
28
+ */
29
+ value?: FocusTrapOptions | undefined;
30
+ }
31
+
32
+ /**
33
+ * **PrimeVue - FocusTrap**
34
+ *
35
+ * _FocusTrap directive provides advisory information for a component._
36
+ *
37
+ * [Live Demo](https://www.primevue.org/focustrap/)
38
+ * --- ---
39
+ * ![PrimeVue](https://primefaces.org/cdn/primevue/images/logo-100.png)
40
+ *
41
+ */
42
+ declare const FocusTrap: ObjectDirective;
43
+
44
+ export default FocusTrap;
@@ -27,7 +27,7 @@ declare module '@vue/runtime-core' {
27
27
  *
28
28
  * Demos:
29
29
  *
30
- * - [FullCalendar](https://www.primefaces.org/primevue/fullcalendar)
30
+ * - [FullCalendar](https://primevue.org/fullcalendar)
31
31
  *
32
32
  * @deprecated
33
33
  */