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,10 +1,15 @@
1
+ /**
2
+ *
3
+ * Galleria is an advanced content gallery component.
4
+ *
5
+ * [Live Demo](https://www.primevue.org/galleria/)
6
+ *
7
+ * @module galleria
8
+ *
9
+ */
1
10
  import { ButtonHTMLAttributes, HTMLAttributes, VNode } from 'vue';
2
11
  import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
3
12
 
4
- type GalleriaThumbnailsPositionType = 'bottom' | 'top' | 'left' | 'right' | undefined;
5
-
6
- type GalleriaIndicatorsPositionType = 'bottom' | 'top' | 'left' | 'right' | undefined;
7
-
8
13
  export interface GalleriaResponsiveOptions {
9
14
  /**
10
15
  * Breakpoint for responsive mode. Exp; @media screen and (max-width: ${breakpoint}) {...}
@@ -16,6 +21,9 @@ export interface GalleriaResponsiveOptions {
16
21
  numVisible: number;
17
22
  }
18
23
 
24
+ /**
25
+ * Defines valid properties in Galleria component.
26
+ */
19
27
  export interface GalleriaProps {
20
28
  /**
21
29
  * Unique identifier of the element.
@@ -27,19 +35,22 @@ export interface GalleriaProps {
27
35
  value?: any[];
28
36
  /**
29
37
  * Index of the first item.
30
- * Default value is 0.
38
+ * @defaultValue 0
31
39
  */
32
40
  activeIndex?: number | undefined;
33
41
  /**
34
42
  * Whether to display the component on fullscreen.
43
+ * @defaultValue false
35
44
  */
36
45
  fullScreen?: boolean | undefined;
37
46
  /**
38
47
  * Specifies the visibility of the mask on fullscreen mode.
48
+ * @defaultValue false
39
49
  */
40
50
  visible?: boolean | undefined;
41
51
  /**
42
52
  * Number of items per page.
53
+ * @defaultValue 3
43
54
  */
44
55
  numVisible?: number | undefined;
45
56
  /**
@@ -49,67 +60,72 @@ export interface GalleriaProps {
49
60
  responsiveOptions?: GalleriaResponsiveOptions[];
50
61
  /**
51
62
  * Whether to display navigation buttons in item section.
63
+ * @defaultValue false
52
64
  */
53
65
  showItemNavigators?: boolean | undefined;
54
66
  /**
55
67
  * Whether to display navigation buttons in thumbnail container.
56
- * Default value is true.
68
+ * @defaultValue true
57
69
  */
58
70
  showThumbnailNavigators?: boolean | undefined;
59
71
  /**
60
72
  * Whether to display navigation buttons on item hover.
73
+ * @defaultValue false
61
74
  */
62
75
  showItemNavigatorsOnHover?: boolean | undefined;
63
76
  /**
64
77
  * When enabled, item is changed on indicator hover.
78
+ * @defaultValue false
65
79
  */
66
80
  changeItemOnIndicatorHover?: boolean | undefined;
67
81
  /**
68
82
  * Defines if scrolling would be infinite.
83
+ * @defaultValue false
69
84
  */
70
85
  circular?: boolean | undefined;
71
86
  /**
72
87
  * Items are displayed with a slideshow in autoPlay mode.
88
+ * @defaultValue false
73
89
  */
74
90
  autoPlay?: boolean | undefined;
75
91
  /**
76
92
  * Time in milliseconds to scroll items.
77
- * Default value is 4000.
93
+ * @defaultValue 4000
78
94
  */
79
95
  transitionInterval?: number | undefined;
80
96
  /**
81
97
  * Whether to display thumbnail container.
82
- * Default value is true.
98
+ * @defaultValue true
83
99
  */
84
100
  showThumbnails?: boolean | undefined;
85
101
  /**
86
102
  * Position of thumbnails.
87
- * @see GalleriaThumbnailsPositionType
88
- * Default value is 'bottom'.
103
+ * @defaultValue bottom
89
104
  */
90
- thumbnailsPosition?: GalleriaThumbnailsPositionType;
105
+ thumbnailsPosition?: 'bottom' | 'top' | 'left' | 'right' | undefined;
91
106
  /**
92
107
  * Height of the viewport in vertical thumbnail.
93
- * Default value is '300px'.
108
+ * @defaultValue 300px
94
109
  */
95
110
  verticalThumbnailViewPortHeight?: string | undefined;
96
111
  /**
97
112
  * Whether to display indicator container.
113
+ * @defaultValue false
98
114
  */
99
115
  showIndicators?: boolean | undefined;
100
116
  /**
101
117
  * When enabled, indicator container is displayed on item container.
118
+ * @defaultValue false
102
119
  */
103
120
  showIndicatorsOnItem?: boolean | undefined;
104
121
  /**
105
122
  * Position of indicators.
106
- * @see GalleriaIndicatorsPositionType
107
- * Default value is 'bottom'.
123
+ * @defaultValue bottom
108
124
  */
109
- indicatorsPosition?: GalleriaIndicatorsPositionType;
125
+ indicatorsPosition?: 'bottom' | 'top' | 'left' | 'right' | undefined;
110
126
  /**
111
127
  * Base zIndex value to use in layering.
112
- * Default value is 0.
128
+ * @defaultValue 0
113
129
  */
114
130
  baseZIndex?: number | undefined;
115
131
  /**
@@ -137,71 +153,88 @@ export interface GalleriaProps {
137
153
  */
138
154
  nextButtonProps?: ButtonHTMLAttributes | undefined;
139
155
  }
140
-
156
+ /**
157
+ * Defines valid slots in Galleria slots.
158
+ */
141
159
  export interface GalleriaSlots {
142
160
  /**
143
161
  * Custom header template.
144
162
  */
145
- header: () => VNode[];
163
+ header(): VNode[];
146
164
  /**
147
165
  * Custom footer template.
148
166
  */
149
- footer: () => VNode[];
167
+ footer(): VNode[];
150
168
  /**
151
169
  * Custom item template.
152
170
  * @param {Object} scope - item slot's params.
153
171
  */
154
- item: (scope: {
172
+ item(scope: {
155
173
  /**
156
174
  * Item instance
157
175
  */
158
176
  item: any;
159
- }) => VNode[];
177
+ }): VNode[];
160
178
  /**
161
179
  * Custom caption template.
162
180
  * @param {Object} scope - caption slot's params.
163
181
  */
164
- caption: (scope: {
182
+ caption(scope: {
165
183
  /**
166
184
  * Item instance
167
185
  */
168
186
  item: any;
169
- }) => VNode[];
187
+ }): VNode[];
170
188
  /**
171
189
  * Custom indicator template.
172
190
  * @param {Object} scope - indicator slot's params.
173
191
  */
174
- indicator: (scope: {
192
+ indicator(scope: {
175
193
  /**
176
194
  * Index of the indicator item
177
195
  */
178
196
  index: number;
179
- }) => VNode[];
197
+ }): VNode[];
180
198
  /**
181
199
  * Custom thumbnail template.
182
200
  * @param {Object} scope - thumbnail slot's params.
183
201
  */
184
- thumbnail: (scope: {
202
+ thumbnail(scope: {
185
203
  /**
186
204
  * Item instance
187
205
  */
188
206
  item: any;
189
- }) => VNode[];
207
+ }): VNode[];
190
208
  }
191
209
 
192
- export declare type GalleriaEmits = {
210
+ /**
211
+ * Defines valid emits in Galleria component.
212
+ */
213
+ export interface GalleriaEmits {
193
214
  /**
194
215
  * Emitted when the active index changes.
195
216
  * @param {number} value - Index of new active item.
196
217
  */
197
- 'update:activeIndex': (value: number) => void;
218
+ 'update:activeIndex'(value: number): void;
198
219
  /**
199
220
  * Emitted when the visible changes.
200
221
  * @param {boolean} value - New value.
201
222
  */
202
- 'update:visible': (value: boolean) => void;
203
- };
223
+ 'update:visible'(value: boolean): void;
224
+ }
204
225
 
226
+ /**
227
+ * **PrimeVue - Galleria**
228
+ *
229
+ * _Galleria is an advanced content gallery component._
230
+ *
231
+ * [Live Demo](https://www.primevue.org/galleria/)
232
+ * --- ---
233
+ * ![PrimeVue](https://primefaces.org/cdn/primevue/images/logo-100.png)
234
+ *
235
+ * @group Component
236
+ *
237
+ */
205
238
  declare class Galleria extends ClassComponent<GalleriaProps, GalleriaSlots, GalleriaEmits> {}
206
239
 
207
240
  declare module '@vue/runtime-core' {
@@ -210,13 +243,4 @@ declare module '@vue/runtime-core' {
210
243
  }
211
244
  }
212
245
 
213
- /**
214
- *
215
- * Galleria is an advanced content gallery component.
216
- *
217
- * Demos:
218
- *
219
- * - [Galleria](https://www.primefaces.org/primevue/galleria)
220
- *
221
- */
222
246
  export default Galleria;
package/image/Image.d.ts CHANGED
@@ -1,9 +1,22 @@
1
+ /**
2
+ *
3
+ * Displays an image with preview and tranformation options. For multiple image, see Galleria.
4
+ *
5
+ * [Live Demo](https://www.primevue.org/image/)
6
+ *
7
+ * @module image
8
+ *
9
+ */
1
10
  import { VNode } from 'vue';
2
11
  import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
3
12
 
13
+ /**
14
+ * Defines valid properties in Image component.
15
+ */
4
16
  export interface ImageProps {
5
17
  /**
6
18
  * Controls the preview functionality.
19
+ * @defaultValue false
7
20
  */
8
21
  preview?: boolean | undefined;
9
22
  /**
@@ -16,34 +29,49 @@ export interface ImageProps {
16
29
  imageClass?: any;
17
30
  }
18
31
 
32
+ /**
33
+ * Defines valid slots in Image slots.
34
+ */
19
35
  export interface ImageSlots {
20
36
  /**
21
37
  * Custom indicator template.
22
38
  */
23
- indicator: () => VNode[];
39
+ indicator(): VNode[];
24
40
  }
25
41
 
26
- export declare type ImageEmits = {};
42
+ export interface ImageEmits {}
27
43
 
44
+ /**
45
+ * **PrimeVue - Image**
46
+ *
47
+ * _Displays an image with preview and tranformation options. For multiple image, see Galleria._
48
+ *
49
+ * [Live Demo](https://www.primevue.org/image/)
50
+ * --- ---
51
+ * ![PrimeVue](https://primefaces.org/cdn/primevue/images/logo-100.png)
52
+ *
53
+ * @group Component
54
+ *
55
+ */
28
56
  declare class Image extends ClassComponent<ImageProps, ImageSlots, ImageEmits> {
29
57
  /**
30
58
  * Triggered when the preview overlay is shown.
31
59
  *
32
60
  * @memberof Image
33
61
  */
34
- show: () => void;
62
+ show(): void;
35
63
  /**
36
64
  * Triggered when the preview overlay is hidden.
37
65
  *
38
66
  * @memberof Image
39
67
  */
40
- hide: () => void;
68
+ hide(): void;
41
69
  /**
42
70
  * Triggered when an error occurs while loading an image file.
43
71
  *
44
72
  * @memberof Image
45
73
  */
46
- error: () => void;
74
+ error(): void;
47
75
  }
48
76
 
49
77
  declare module '@vue/runtime-core' {
@@ -52,13 +80,4 @@ declare module '@vue/runtime-core' {
52
80
  }
53
81
  }
54
82
 
55
- /**
56
- *
57
- * Displays an image with preview and tranformation options. For multiple image, see Galleria.
58
- *
59
- * Demos:
60
- *
61
- * - [Image](https://www.primefaces.org/primevue/image)
62
- *
63
- */
64
83
  export default Image;
@@ -1,26 +1,49 @@
1
+ /**
2
+ *
3
+ * InlineMessage component is useful in cases where a single message needs to be displayed related to an element such as forms. It has one property, severity of the message.
4
+ *
5
+ * [Live Demo](https://www.primevue.org/inlinemessage/)
6
+ *
7
+ * @module inlinemessage
8
+ *
9
+ */
1
10
  import { VNode } from 'vue';
2
11
  import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
3
12
 
4
- type InlineMessageSeverityType = 'success' | 'info' | 'warn' | 'error' | undefined;
5
-
13
+ /**
14
+ * Defines valid properties in InlineMessage component.
15
+ */
6
16
  export interface InlineMessageProps {
7
17
  /**
8
18
  * Severity level of the message.
9
- * @see InlineMessageSeverityType
10
- * Default value is 'info'.
19
+ * @defaultValue info
11
20
  */
12
- severity?: InlineMessageSeverityType;
21
+ severity?: 'success' | 'info' | 'warn' | 'error' | undefined;
13
22
  }
14
-
23
+ /**
24
+ * Defines valid slots in InlineMessage slots.
25
+ */
15
26
  export interface InlineMessageSlots {
16
27
  /**
17
28
  * Default custom slot.
18
29
  */
19
- default: () => VNode[];
30
+ default(): VNode[];
20
31
  }
21
32
 
22
- export declare type InlineMessageEmits = {};
33
+ export interface InlineMessageEmits {}
23
34
 
35
+ /**
36
+ * **PrimeVue - InlineMessage**
37
+ *
38
+ * _InlineMessage component is useful in cases where a single message needs to be displayed related to an element such as forms. It has one property, severity of the message._
39
+ *
40
+ * [Live Demo](https://www.primevue.org/inlinemessage/)
41
+ * --- ---
42
+ * ![PrimeVue](https://primefaces.org/cdn/primevue/images/logo-100.png)
43
+ *
44
+ * @group Component
45
+ *
46
+ */
24
47
  declare class InlineMessage extends ClassComponent<InlineMessageProps, InlineMessageSlots, InlineMessageEmits> {}
25
48
 
26
49
  declare module '@vue/runtime-core' {
@@ -29,13 +52,4 @@ declare module '@vue/runtime-core' {
29
52
  }
30
53
  }
31
54
 
32
- /**
33
- *
34
- * InlineMessage component is useful in cases where a single message needs to be displayed related to an element such as forms. It has one property, severity of the message.
35
- *
36
- * Demos:
37
- *
38
- * - [InlineMessage](https://www.primefaces.org/primevue/message)
39
- *
40
- */
41
55
  export default InlineMessage;
@@ -1,22 +1,37 @@
1
- import { HTMLAttributes, ButtonHTMLAttributes, VNode } from 'vue';
1
+ /**
2
+ *
3
+ * Inplace provides an easy to do editing and display at the same time where clicking the output displays the actual content.
4
+ *
5
+ * [Live Demo](https://www.primevue.org/inplace)
6
+ *
7
+ * @module inplace
8
+ *
9
+ */
10
+ import { ButtonHTMLAttributes, HTMLAttributes, VNode } from 'vue';
2
11
  import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
3
12
 
13
+ /**
14
+ * Defines valid properties in Inplace component.
15
+ */
4
16
  export interface InplaceProps {
5
17
  /**
6
18
  * Displays a button to switch back to display mode.
19
+ * @defaultValue false
7
20
  */
8
21
  closable?: boolean | undefined;
9
22
  /**
10
23
  * Whether the content is displayed or not.
24
+ * @defaultValue false
11
25
  */
12
26
  active?: boolean | undefined;
13
27
  /**
14
28
  * When present, it specifies that the element should be disabled.
29
+ * @defaultValue false
15
30
  */
16
31
  disabled?: boolean | undefined;
17
32
  /**
18
33
  * Icon to display in the close button.
19
- * Default value is 'pi pi-times'.
34
+ * @defaultValue pi pi-times
20
35
  */
21
36
  closeIcon?: string | undefined;
22
37
  /**
@@ -29,35 +44,52 @@ export interface InplaceProps {
29
44
  closeButtonProps?: ButtonHTMLAttributes | undefined;
30
45
  }
31
46
 
47
+ /**
48
+ * Defines valid slots in Inplace component.
49
+ */
32
50
  export interface InplaceSlots {
33
51
  /**
34
52
  * Custom display template.
35
53
  */
36
- display: () => VNode[];
54
+ display(): VNode[];
37
55
  /**
38
56
  * Custom content template.
39
57
  */
40
- content: () => VNode[];
58
+ content(): VNode[];
41
59
  }
42
60
 
43
- export declare type InplaceEmits = {
61
+ /**
62
+ * Defines valid emits in Inplace component.
63
+ */
64
+ export interface InplaceEmits {
44
65
  /**
45
66
  * Emitted when the active changes.
46
67
  * @param {boolean} value - New value.
47
68
  */
48
- 'update:active': (value: boolean) => void;
69
+ 'update:active'(value: boolean): void;
49
70
  /**
50
71
  * Callback to invoke when inplace is opened.
51
72
  * @param {Event} event - Browser event.
52
73
  */
53
- open: (event: Event) => void;
74
+ open(event: Event): void;
54
75
  /**
55
76
  * Callback to invoke when inplace is closed.
56
77
  * @param {Event} event - Browser event.
57
78
  */
58
- close: (event: Event) => void;
59
- };
79
+ close(event: Event): void;
80
+ }
60
81
 
82
+ /**
83
+ * **PrimeVue - Inplace**
84
+ *
85
+ * _Inplace provides an easy to do editing and display at the same time where clicking the output displays the actual content._
86
+ *
87
+ * [Live Demo](https://www.primevue.org/inplace/)
88
+ * --- ---
89
+ * ![PrimeVue](https://primefaces.org/cdn/primevue/images/logo-100.png)
90
+ *
91
+ * @group Component
92
+ */
61
93
  declare class Inplace extends ClassComponent<InplaceProps, InplaceSlots, InplaceEmits> {}
62
94
 
63
95
  declare module '@vue/runtime-core' {
@@ -66,13 +98,4 @@ declare module '@vue/runtime-core' {
66
98
  }
67
99
  }
68
100
 
69
- /**
70
- *
71
- * Inplace provides an easy to do editing and display at the same time where clicking the output displays the actual content.
72
- *
73
- * Demos:
74
- *
75
- * - [Inplace](https://www.primefaces.org/primevue/inplace)
76
- *
77
- */
78
101
  export default Inplace;
@@ -1,5 +1,17 @@
1
+ /**
2
+ *
3
+ * InputMask component is used to enter input in a certain format such as numeric, date, currency, email and phone.
4
+ *
5
+ * [Live Demo](https://www.primevue.org/inputmask/)
6
+ *
7
+ * @module inputmask
8
+ *
9
+ */
1
10
  import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
2
11
 
12
+ /**
13
+ * Defines valid properties in InputMask component.
14
+ */
3
15
  export interface InputMaskProps {
4
16
  /**
5
17
  * Value of the component.
@@ -7,7 +19,7 @@ export interface InputMaskProps {
7
19
  modelValue?: string | undefined;
8
20
  /**
9
21
  * Placeholder character in mask, default is underscore.
10
- * Default value is '_'.
22
+ * @defaultValue _
11
23
  */
12
24
  slotChar?: string | undefined;
13
25
  /**
@@ -16,35 +28,44 @@ export interface InputMaskProps {
16
28
  mask?: string | undefined;
17
29
  /**
18
30
  * Clears the incomplete value on blur.
19
- * Default value is true.
31
+ * @defaultValue true
20
32
  */
21
33
  autoClear?: boolean | undefined;
22
34
  /**
23
35
  * Defines if model sets the raw unmasked value to bound value or the formatted mask value.
36
+ * @defaultValue false
24
37
  */
25
38
  unmask?: boolean | undefined;
39
+ /**
40
+ * Whether the items are clickable or not.
41
+ * @defaultValue false
42
+ */
43
+ readonly?: boolean | undefined;
26
44
  }
27
45
 
28
46
  export interface InputMaskSlots {}
29
47
 
30
- export declare type InputMaskEmits = {
48
+ /**
49
+ * Defines valid emits in InputMask component.
50
+ */
51
+ export interface InputMaskEmits {
31
52
  /**
32
53
  * Emitted when the value changes.
33
54
  * @param {string} value - New value.
34
55
  */
35
- 'update:modelValue': (value: string) => void;
56
+ 'update:modelValue'(value: string): void;
36
57
  /**
37
58
  * Callback to invoke when the component receives focus.
38
59
  */
39
- focus: (event: Event) => void;
60
+ focus(event: Event): void;
40
61
  /**
41
62
  * Callback to invoke when the component loses focus.
42
63
  */
43
- blur: (event: Event) => void;
64
+ blur(event: Event): void;
44
65
  /**
45
66
  * Callback to invoke when a key is pressed.
46
67
  */
47
- keydown: (event: Event) => void;
68
+ keydown(event: Event): void;
48
69
  /**
49
70
  * Callback to invoke when a key that produces a character value is pressed down.
50
71
  */
@@ -57,8 +78,20 @@ export declare type InputMaskEmits = {
57
78
  * Callback to invoke when the mask is completed.
58
79
  */
59
80
  complete: (event: Event) => void;
60
- };
81
+ }
61
82
 
83
+ /**
84
+ * **PrimeVue - InputMask**
85
+ *
86
+ * _InputMask component is used to enter input in a certain format such as numeric, date, currency, email and phone._
87
+ *
88
+ * [Live Demo](https://www.primevue.org/inputmask/)
89
+ * --- ---
90
+ * ![PrimeVue](https://primefaces.org/cdn/primevue/images/logo-100.png)
91
+ *
92
+ * @group Component
93
+ *
94
+ */
62
95
  declare class InputMask extends ClassComponent<InputMaskProps, InputMaskSlots, InputMaskEmits> {}
63
96
 
64
97
  declare module '@vue/runtime-core' {
@@ -67,13 +100,4 @@ declare module '@vue/runtime-core' {
67
100
  }
68
101
  }
69
102
 
70
- /**
71
- *
72
- * InputMask component is used to enter input in a certain format such as numeric, date, currency, email and phone.
73
- *
74
- * Demos:
75
- *
76
- * - [InputMask](https://www.primefaces.org/primevue/inputmask)
77
- *
78
- */
79
103
  export default InputMask;