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,8 +1,18 @@
1
- import { VNode, InputHTMLAttributes, HTMLAttributes } from 'vue';
1
+ /**
2
+ *
3
+ * Password displays strength indicator for password fields.
4
+ *
5
+ * [Live Demo](https://www.primevue.org/password/)
6
+ *
7
+ * @module password
8
+ *
9
+ */
10
+ import { HTMLAttributes, InputHTMLAttributes, VNode } from 'vue';
2
11
  import { ClassComponent, GlobalComponentConstructor, Nullable } from '../ts-helpers';
3
12
 
4
- type PasswordAppendToType = 'body' | 'self' | string | undefined | HTMLElement;
5
-
13
+ /**
14
+ * Defines valid properties in Password component.
15
+ */
6
16
  export interface PasswordProps extends InputHTMLAttributes {
7
17
  /**
8
18
  * Value of the component.
@@ -14,12 +24,12 @@ export interface PasswordProps extends InputHTMLAttributes {
14
24
  promptLabel?: string | undefined;
15
25
  /**
16
26
  * Regex for a medium level password.
17
- * Default value is '^(((?=.*[a-z])(?=.*[A-Z]))|((?=.*[a-z])(?=.*[0-9]))|((?=.*[A-Z])(?=.*[0-9])))(?=.{6,})'.
27
+ * @defaultValue ^(((?=.*[a-z])(?=.*[A-Z]))|((?=.*[a-z])(?=.*[0-9]))|((?=.*[A-Z])(?=.*[0-9])))(?=.{6,})
18
28
  */
19
29
  mediumRegex?: string | undefined;
20
30
  /**
21
31
  * Regex for a strong level password.
22
- * Default value is '^(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.{8,})'.
32
+ * @defaultValue ^(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.{8,})
23
33
  */
24
34
  strongRegex?: string | undefined;
25
35
  /**
@@ -36,31 +46,32 @@ export interface PasswordProps extends InputHTMLAttributes {
36
46
  strongLabel?: string | undefined;
37
47
  /**
38
48
  * Whether to show the strength indicator or not.
39
- * Default value is true.
49
+ * @defaultValue true
40
50
  */
41
51
  feedback?: boolean | undefined;
42
52
  /**
43
- * A valid query selector or an HTMLElement to specify where the overlay gets attached. Special keywords are 'body' for document body and 'self' for the element itself.
44
- * @see PasswordAppendToType
45
- * Default value is 'body'.
53
+ * A valid query selector or an HTMLElement to specify where the overlay gets attached.
54
+ * @defaultValue body
46
55
  */
47
- appendTo?: PasswordAppendToType;
56
+ appendTo?: 'body' | 'self' | string | undefined | HTMLElement;
48
57
  /**
49
58
  * Whether to show an icon to display the password as plain text.
59
+ * @defaultValue false
50
60
  */
51
61
  toggleMask?: boolean | undefined;
52
62
  /**
53
63
  * Icon to hide displaying the password as plain text.
54
- * Default value is 'pi pi-eye-slash'.
64
+ * @defaultValue pi pi-eye-slash
55
65
  */
56
66
  hideIcon?: string | undefined;
57
67
  /**
58
68
  * Icon to show displaying the password as plain text.
59
- * Default value is 'pi pi-eye'.
69
+ * @defaultValue pi pi-eye
60
70
  */
61
71
  showIcon?: string | undefined;
62
72
  /**
63
73
  * When present, it specifies that the component should be disabled.
74
+ * @defaultValue false
64
75
  */
65
76
  disabled?: boolean | undefined;
66
77
  /**
@@ -69,7 +80,7 @@ export interface PasswordProps extends InputHTMLAttributes {
69
80
  placeholder?: string | undefined;
70
81
  /**
71
82
  * When present, it specifies that an input field must be filled out before submitting the form.
72
- * Default value is false.
83
+ * @defaultValue false
73
84
  */
74
85
  required?: boolean | undefined;
75
86
  /**
@@ -114,29 +125,46 @@ export interface PasswordProps extends InputHTMLAttributes {
114
125
  'aria-label'?: string | undefined;
115
126
  }
116
127
 
128
+ /**
129
+ * Defines valid slots in Password component.
130
+ */
117
131
  export interface PasswordSlots {
118
132
  /**
119
133
  * Custom header template.
120
134
  */
121
- header: () => VNode[];
135
+ header(): VNode[];
122
136
  /**
123
137
  * Custom footer template.
124
138
  */
125
- footer: () => VNode[];
139
+ footer(): VNode[];
126
140
  /**
127
141
  * Custom content template.
128
142
  */
129
- content: () => VNode[];
143
+ content(): VNode[];
130
144
  }
131
145
 
132
- export declare type PasswordEmits = {
146
+ /**
147
+ * Defines valid emits in Password component.
148
+ */
149
+ export interface PasswordEmits {
133
150
  /**
134
151
  * Emitted when the value changes.
135
152
  * @param {string} value - New value.
136
153
  */
137
- 'update:modelValue': (value: string) => void;
138
- };
154
+ 'update:modelValue'(value: string): void;
155
+ }
139
156
 
157
+ /**
158
+ * **PrimeVue - Password**
159
+ *
160
+ * _Password displays strength indicator for password fields._
161
+ *
162
+ * [Live Demo](https://www.primevue.org/password/)
163
+ * --- ---
164
+ * ![PrimeVue](https://primefaces.org/cdn/primevue/images/logo-100.png)
165
+ *
166
+ * @group Component
167
+ */
140
168
  declare class Password extends ClassComponent<PasswordProps, PasswordSlots, PasswordEmits> {}
141
169
 
142
170
  declare module '@vue/runtime-core' {
@@ -145,13 +173,4 @@ declare module '@vue/runtime-core' {
145
173
  }
146
174
  }
147
175
 
148
- /**
149
- *
150
- * Password displays strength indicator for password fields.
151
- *
152
- * Demos:
153
- *
154
- * - [Password](https://www.primefaces.org/primevue/password)
155
- *
156
- */
157
176
  export default Password;
@@ -1,6 +1,19 @@
1
+ /**
2
+ *
3
+ * PickList is used to reorder items between different lists.
4
+ *
5
+ * [Live Demo](https://primevue.org/picklist)
6
+ *
7
+ * @module picklist
8
+ *
9
+ */
1
10
  import { ButtonHTMLAttributes, HTMLAttributes, VNode } from 'vue';
2
11
  import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
3
12
 
13
+ /**
14
+ * Custom reorder event.
15
+ * @see {@link PickListEmits.reorder}
16
+ */
4
17
  export interface PickListReorderEvent {
5
18
  /**
6
19
  * Browser event
@@ -20,6 +33,10 @@ export interface PickListReorderEvent {
20
33
  listIndex: number;
21
34
  }
22
35
 
36
+ /**
37
+ * Custom selection change event.
38
+ * @see {@link PickListEmits['selection-change']}
39
+ */
23
40
  export interface PickListSelectionChangeEvent {
24
41
  /**
25
42
  * Browser event
@@ -31,6 +48,10 @@ export interface PickListSelectionChangeEvent {
31
48
  value: any[];
32
49
  }
33
50
 
51
+ /**
52
+ * Custom move-to-target event.
53
+ * @see {@link PickListEmits['move-to-target']}
54
+ */
34
55
  export interface PickListMoveToTargetEvent {
35
56
  /**
36
57
  * Browser event
@@ -43,20 +64,29 @@ export interface PickListMoveToTargetEvent {
43
64
  }
44
65
 
45
66
  /**
67
+ * Custom move-all-to-target event.
68
+ * @see {@link PickListEmits['move-all-to-target']}
46
69
  * @extends PickListMoveToTargetEvent
47
70
  */
48
71
  export interface PickListMoveAllToTargetEvent extends PickListMoveToTargetEvent {}
49
72
 
50
73
  /**
74
+ * Custom move-to-source event.
75
+ * @see {@link PickListEmits['move-all-to-target']}
51
76
  * @extends PickListMoveToTargetEvent
52
77
  */
53
78
  export interface PickListMoveToSourceEvent extends PickListMoveToTargetEvent {}
54
79
 
55
80
  /**
81
+ * Custom move-all-to-source event.
82
+ * @see {@link PickListEmits['move-all-to-target']}
56
83
  * @extends PickListMoveToTargetEvent
57
84
  */
58
85
  export interface PickListMoveAllToSourceEvent extends PickListMoveToTargetEvent {}
59
86
 
87
+ /**
88
+ * Defines valid properties in PickList component.
89
+ */
60
90
  export interface PickListProps {
61
91
  /**
62
92
  * Value of the component as a multidimensional array.
@@ -74,7 +104,7 @@ export interface PickListProps {
74
104
  * Defines whether metaKey is requred or not for the selection.
75
105
  * When true metaKey needs to be pressed to select or unselect an item and
76
106
  * when set to false selection of each item can be toggled individually. On touch enabled devices, metaKeySelection is turned off automatically.
77
- * Default value is true.
107
+ * @defaultValue true
78
108
  */
79
109
  metaKeySelection?: boolean | undefined;
80
110
  /**
@@ -83,24 +113,27 @@ export interface PickListProps {
83
113
  listStyle?: any | undefined;
84
114
  /**
85
115
  * Whether the list optimizes layout based on screen size.
86
- * Default value is true.
116
+ * @defaultValue true
87
117
  */
88
118
  responsive?: boolean | undefined;
89
119
  /**
90
120
  * The breakpoint to define the maximum width boundary when responsiveness is enabled.
91
- * Default value is '960px'.
121
+ * @defaultValue 960px
92
122
  */
93
123
  breakpoint?: string | undefined;
94
124
  /**
95
125
  * Whether to displays rows with alternating colors.
126
+ * @defaultValue false
96
127
  */
97
128
  stripedRows?: boolean | undefined;
98
129
  /**
99
130
  * Whether to show buttons of source list.
131
+ * @defaultValue false
100
132
  */
101
133
  showSourceControls?: boolean | undefined;
102
134
  /**
103
135
  * Whether to show buttons of target list.
136
+ * @defaultValue false
104
137
  */
105
138
  showTargetControls?: boolean | undefined;
106
139
  /**
@@ -149,16 +182,19 @@ export interface PickListProps {
149
182
  moveAllToSourceProps?: ButtonHTMLAttributes | undefined;
150
183
  }
151
184
 
185
+ /**
186
+ * Defines valid slots in PickList component.
187
+ */
152
188
  export interface PickListSlots {
153
189
  /**
154
190
  * Custom header template.
155
191
  */
156
- header: () => VNode[];
192
+ header(): VNode[];
157
193
  /**
158
194
  * Custom item template.
159
195
  * @param {Object} scope - item slot's params.
160
196
  */
161
- item: (scope: {
197
+ item(scope: {
162
198
  /**
163
199
  * Item of the component
164
200
  */
@@ -167,84 +203,98 @@ export interface PickListSlots {
167
203
  * Index of the item
168
204
  */
169
205
  index: number;
170
- }) => VNode[];
206
+ }): VNode[];
171
207
  /**
172
208
  * Custom source header template.
173
209
  */
174
- sourceheader: () => VNode[];
210
+ sourceheader(): VNode[];
175
211
  /**
176
212
  * Custom target header template.
177
213
  */
178
- targetheader: () => VNode[];
214
+ targetheader(): VNode[];
179
215
  /**
180
216
  * Custom source controls start template.
181
217
  */
182
- sourcecontrolsstart: () => VNode[];
218
+ sourcecontrolsstart(): VNode[];
183
219
  /**
184
220
  * Custom source controls end template.
185
221
  */
186
- sourcecontrolsend: () => VNode[];
222
+ sourcecontrolsend(): VNode[];
187
223
  /**
188
224
  * Custom move controls start template.
189
225
  */
190
- movecontrolsstart: () => VNode[];
226
+ movecontrolsstart(): VNode[];
191
227
  /**
192
228
  * Custom move controls end template.
193
229
  */
194
- movecontrolsend: () => VNode[];
230
+ movecontrolsend(): VNode[];
195
231
  /**
196
232
  * Custom target controls start template.
197
233
  */
198
- targetcontrolsstart: () => VNode[];
234
+ targetcontrolsstart(): VNode[];
199
235
  /**
200
236
  * Custom target controls end template.
201
237
  */
202
- targetcontrolsend: () => VNode[];
238
+ targetcontrolsend(): VNode[];
203
239
  }
204
240
 
205
- export declare type PickListEmits = {
241
+ /**
242
+ * Defines valid emits in PickList component.
243
+ */
244
+ export interface PickListEmits {
206
245
  /**
207
246
  * Emitted when the value changes.
208
247
  * @param {*} value - New value.
209
248
  */
210
- 'update:modelValue': (value: any[][]) => void;
249
+ 'update:modelValue'(value: any[][]): void;
211
250
  /**
212
251
  * Emitted when the selection changes.
213
252
  * @param {*} value - New value.
214
253
  */
215
- 'update:selection': (value: any[][]) => void;
254
+ 'update:selection'(value: any[][]): void;
216
255
  /**
217
256
  * Callback to invoke when the list is reordered.
218
257
  * @param {PickListReorderEvent} event - Custom reorder event.
219
258
  */
220
- reorder: (event: PickListReorderEvent) => void;
259
+ reorder(event: PickListReorderEvent): void;
221
260
  /**
222
261
  * Callback to invoke when one or more items are moved to the other list.
223
262
  * @param {PickListSelectionChangeEvent} event - Custom selection change event.
224
263
  */
225
- 'selection-change': (event: PickListSelectionChangeEvent) => void;
264
+ 'selection-change'(event: PickListSelectionChangeEvent): void;
226
265
  /**
227
266
  * Callback to invoke when one or more items are moved to the target list.
228
267
  * @param {PickListMoveToTargetEvent} event - Custom move to target event.
229
268
  */
230
- 'move-to-target': (event: PickListMoveToTargetEvent) => void;
269
+ 'move-to-target'(event: PickListMoveToTargetEvent): void;
231
270
  /**
232
271
  * Callback to invoke when all items are moved to the target list.
233
272
  * @param {PickListMoveAllToTargetEvent} event - Custom move all to target event.
234
273
  */
235
- 'move-all-to-target': (event: PickListMoveAllToTargetEvent) => void;
274
+ 'move-all-to-target'(event: PickListMoveAllToTargetEvent): void;
236
275
  /**
237
276
  * Callback to invoke when one or more items are moved to the source list.
238
277
  * @param {PickListMoveToSourceEvent} event - Custom move to source event.
239
278
  */
240
- 'move-to-source': (event: PickListMoveToSourceEvent) => void;
279
+ 'move-to-source'(event: PickListMoveToSourceEvent): void;
241
280
  /**
242
281
  * Callback to invoke when all items are moved to the source list.
243
282
  * @param {PickListMoveAllToSourceEvent} event - Custom move all to source event.
244
283
  */
245
- 'move-all-to-source': (event: PickListMoveAllToSourceEvent) => void;
246
- };
284
+ 'move-all-to-source'(event: PickListMoveAllToSourceEvent): void;
285
+ }
247
286
 
287
+ /**
288
+ * **PrimeVue - PickList**
289
+ *
290
+ * _PickList is used to reorder items between different lists._
291
+ *
292
+ * [Live Demo](https://www.primevue.org/picklist/)
293
+ * --- ---
294
+ * ![PrimeVue](https://primefaces.org/cdn/primevue/images/logo-100.png)
295
+ *
296
+ * @group Component
297
+ */
248
298
  declare class PickList extends ClassComponent<PickListProps, PickListSlots, PickListEmits> {}
249
299
 
250
300
  declare module '@vue/runtime-core' {
@@ -253,13 +303,4 @@ declare module '@vue/runtime-core' {
253
303
  }
254
304
  }
255
305
 
256
- /**
257
- *
258
- * PickList is used to reorder items between different lists.
259
- *
260
- * Demos:
261
- *
262
- * - [PickList](https://www.primefaces.org/primevue/picklist)
263
- *
264
- */
265
306
  export default PickList;
@@ -1,8 +1,18 @@
1
+ /**
2
+ *
3
+ * ProgressBar is a process status indicator.
4
+ *
5
+ * [Live Demo](https://www.primevue.org/progressbar)
6
+ *
7
+ * @module progressbar
8
+ *
9
+ */
1
10
  import { VNode } from 'vue';
2
11
  import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
3
12
 
4
- type ProgressBarModeType = 'determinate' | 'indeterminate' | undefined;
5
-
13
+ /**
14
+ * Defines valid properties in ProgressBar component.
15
+ */
6
16
  export interface ProgressBarProps {
7
17
  /**
8
18
  * Current value of the progress.
@@ -10,26 +20,42 @@ export interface ProgressBarProps {
10
20
  value?: number | undefined;
11
21
  /**
12
22
  * Defines the mode of the progress
13
- * @see ProgressBarModeType
14
- * Default value is 'determinate'.
23
+ * @defaultValue determinate
15
24
  */
16
- mode?: ProgressBarModeType;
25
+ mode?: 'determinate' | 'indeterminate' | undefined;
17
26
  /**
18
27
  * Whether to display the progress bar value.
19
- * Default value is true.
28
+ * @defaultValue true
20
29
  */
21
30
  showValue?: boolean | undefined;
22
31
  }
23
32
 
33
+ /**
34
+ * Defines valid slots in ProgressBar component.
35
+ */
24
36
  export interface ProgressBarSlots {
25
37
  /**
26
38
  * Custom content slot.
27
39
  */
28
- default: () => VNode[];
40
+ default(): VNode[];
29
41
  }
30
42
 
31
- export declare type ProgressBarEmits = {};
43
+ /**
44
+ * Defines valid emits in ProgressBar component.
45
+ */
46
+ export interface ProgressBarEmits {}
32
47
 
48
+ /**
49
+ * **PrimeVue - ProgressBar**
50
+ *
51
+ * ProgressBar is a process status indicator._
52
+ *
53
+ * [Live Demo](https://www.primevue.org/progressbar/)
54
+ * --- ---
55
+ * ![PrimeVue](https://primefaces.org/cdn/primevue/images/logo-100.png)
56
+ *
57
+ * @group Component
58
+ */
33
59
  declare class ProgressBar extends ClassComponent<ProgressBarProps, ProgressBarSlots, ProgressBarEmits> {}
34
60
 
35
61
  declare module '@vue/runtime-core' {
@@ -38,13 +64,4 @@ declare module '@vue/runtime-core' {
38
64
  }
39
65
  }
40
66
 
41
- /**
42
- *
43
- * ProgressBar is a process status indicator.
44
- *
45
- * Demos:
46
- *
47
- * - [ProgressBar](https://www.primefaces.org/primevue/progressbar)
48
- *
49
- */
50
67
  export default ProgressBar;
@@ -1,10 +1,21 @@
1
- import { VNode } from 'vue';
1
+ /**
2
+ *
3
+ * ProgressSpinner is a process status indicator.
4
+ *
5
+ * [Live Demo](https://www.primevue.org/progressspinner)
6
+ *
7
+ * @module progressspinner
8
+ *
9
+ */
2
10
  import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
3
11
 
12
+ /**
13
+ * Defines valid properties in ProgressSpinner component.
14
+ */
4
15
  export interface ProgressSpinnerProps {
5
16
  /**
6
17
  * Width of the circle stroke.
7
- * Default value is 2.
18
+ * @defaultValue 2
8
19
  */
9
20
  strokeWidth?: string | undefined;
10
21
  /**
@@ -13,15 +24,32 @@ export interface ProgressSpinnerProps {
13
24
  fill?: string | undefined;
14
25
  /**
15
26
  * Duration of the rotate animation.
16
- * Default value is 2s.
27
+ * @defaultValue 2s
17
28
  */
18
29
  animationDuration?: string | undefined;
19
30
  }
20
31
 
32
+ /**
33
+ * Defines valid slots in ProgressSpinner component.
34
+ */
21
35
  export interface ProgressSpinnerSlots {}
22
36
 
23
- export declare type ProgressSpinnerEmits = {};
37
+ /**
38
+ * Defines valid emits in ProgressSpinner component.
39
+ */
40
+ export interface ProgressSpinnerEmits {}
24
41
 
42
+ /**
43
+ * **PrimeVue - ProgressSpinner**
44
+ *
45
+ * _ProgressSpinner is a process status indicator._
46
+ *
47
+ * [Live Demo](https://www.primevue.org/progressspinner/)
48
+ * --- ---
49
+ * ![PrimeVue](https://primefaces.org/cdn/primevue/images/logo-100.png)
50
+ *
51
+ * @group Component
52
+ */
25
53
  declare class ProgressSpinner extends ClassComponent<ProgressSpinnerProps, ProgressSpinnerSlots, ProgressSpinnerEmits> {}
26
54
 
27
55
  declare module '@vue/runtime-core' {
@@ -30,13 +58,4 @@ declare module '@vue/runtime-core' {
30
58
  }
31
59
  }
32
60
 
33
- /**
34
- *
35
- * ProgressSpinner is a process status indicator.
36
- *
37
- * Demos:
38
- *
39
- * - [ProgressSpinner](https://www.primefaces.org/primevue/progressspinner)
40
- *
41
- */
42
61
  export default ProgressSpinner;
@@ -1,6 +1,18 @@
1
+ /**
2
+ *
3
+ * RadioButton is an extension to standard radio button element with theming.
4
+ *
5
+ * [Live Demo](https://www.primevue.org/radiobutton/)
6
+ *
7
+ * @module radiobutton
8
+ *
9
+ */
1
10
  import { InputHTMLAttributes } from 'vue';
2
11
  import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
3
12
 
13
+ /**
14
+ * Defines valid properties in RadioButton component.
15
+ */
4
16
  export interface RadioButtonProps {
5
17
  /**
6
18
  * Value of the checkbox.
@@ -46,24 +58,39 @@ export interface RadioButtonProps {
46
58
 
47
59
  export interface RadioButtonSlots {}
48
60
 
49
- export declare type RadioButtonEmits = {
61
+ /**
62
+ * Defines valid emits in RadioButton component.
63
+ */
64
+ export interface RadioButtonEmits {
50
65
  /**
51
66
  * Emitted when the value changes.
52
67
  * @param {*} value - New value.
53
68
  */
54
- 'update:modelValue': (value: any) => void;
69
+ 'update:modelValue'(value: any): void;
55
70
  /**
56
71
  * Callback to invoke on radio button click.
57
72
  * @param {Event} event - Browser event.
58
73
  */
59
- click: (event: Event) => void;
74
+ click(event: Event): void;
60
75
  /**
61
76
  * Callback to invoke on radio button value change.
62
77
  * @param {Event} event - Browser event.
63
78
  */
64
- change: (event: Event) => void;
65
- };
79
+ change(event: Event): void;
80
+ }
66
81
 
82
+ /**
83
+ * **PrimeVue - RadioButton**
84
+ *
85
+ * _RadioButton is an extension to standard radio button element with theming._
86
+ *
87
+ * [Live Demo](https://www.primevue.org/radiobutton/)
88
+ * --- ---
89
+ * ![PrimeVue](https://primefaces.org/cdn/primevue/images/logo-100.png)
90
+ *
91
+ * @group Component
92
+ *
93
+ */
67
94
  declare class RadioButton extends ClassComponent<RadioButtonProps, RadioButtonSlots, RadioButtonEmits> {}
68
95
 
69
96
  declare module '@vue/runtime-core' {
@@ -72,13 +99,4 @@ declare module '@vue/runtime-core' {
72
99
  }
73
100
  }
74
101
 
75
- /**
76
- *
77
- * RadioButton is an extension to standard radio button element with theming.
78
- *
79
- * Demos:
80
- *
81
- * - [RadioButton](https://www.primefaces.org/primevue/radiobutton)
82
- *
83
- */
84
102
  export default RadioButton;