primevue 3.9.1 → 3.12.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.
- package/README.md +256 -2
- package/accordion/Accordion.d.ts +74 -11
- package/accordion/accordion.esm.js +1 -1
- package/accordion/accordion.esm.min.js +1 -1
- package/accordion/accordion.js +1 -1
- package/accordiontab/AccordionTab.d.ts +37 -8
- package/accordiontab/accordiontab.esm.js +1 -1
- package/accordiontab/accordiontab.esm.min.js +1 -1
- package/accordiontab/accordiontab.js +1 -1
- package/api/Api.d.ts +292 -285
- package/api/api.js +1 -1
- package/autocomplete/AutoComplete.d.ts +280 -63
- package/autocomplete/AutoComplete.vue +2 -2
- package/autocomplete/autocomplete.cjs.js +7 -6
- package/autocomplete/autocomplete.cjs.min.js +1 -1
- package/autocomplete/autocomplete.esm.js +4 -3
- package/autocomplete/autocomplete.esm.min.js +1 -1
- package/autocomplete/autocomplete.js +8 -7
- package/autocomplete/autocomplete.min.js +1 -1
- package/avatar/Avatar.d.ts +57 -8
- package/avatar/avatar.esm.js +1 -1
- package/avatar/avatar.esm.min.js +1 -1
- package/avatar/avatar.js +1 -1
- package/avatargroup/AvatarGroup.d.ts +29 -3
- package/avatargroup/avatargroup.esm.js +1 -1
- package/avatargroup/avatargroup.esm.min.js +1 -1
- package/avatargroup/avatargroup.js +1 -1
- package/badge/Badge.d.ts +46 -5
- package/badge/badge.esm.js +1 -1
- package/badge/badge.esm.min.js +1 -1
- package/badge/badge.js +1 -1
- package/badgedirective/badgedirective.esm.js +1 -1
- package/badgedirective/badgedirective.esm.min.js +1 -1
- package/badgedirective/badgedirective.js +1 -1
- package/blockui/BlockUI.d.ts +52 -11
- package/blockui/blockui.esm.js +1 -1
- package/blockui/blockui.esm.min.js +1 -1
- package/blockui/blockui.js +1 -1
- package/breadcrumb/Breadcrumb.d.ts +49 -9
- package/breadcrumb/breadcrumb.esm.js +1 -1
- package/breadcrumb/breadcrumb.esm.min.js +1 -1
- package/breadcrumb/breadcrumb.js +1 -1
- package/button/Button.d.ts +68 -11
- package/button/button.cjs.js +1 -1
- package/button/button.esm.js +1 -1
- package/button/button.esm.min.js +1 -1
- package/button/button.js +2 -2
- package/calendar/Calendar.d.ts +333 -62
- package/calendar/Calendar.vue +67 -35
- package/calendar/calendar.cjs.js +141 -110
- package/calendar/calendar.cjs.min.js +1 -1
- package/calendar/calendar.esm.js +139 -107
- package/calendar/calendar.esm.min.js +1 -1
- package/calendar/calendar.js +143 -111
- package/calendar/calendar.min.js +1 -1
- package/card/Card.d.ts +43 -9
- package/card/card.esm.js +1 -1
- package/card/card.esm.min.js +1 -1
- package/card/card.js +1 -1
- package/carousel/Carousel.d.ts +121 -24
- package/carousel/carousel.cjs.js +1 -1
- package/carousel/carousel.esm.js +1 -1
- package/carousel/carousel.esm.min.js +1 -1
- package/carousel/carousel.js +2 -2
- package/cascadeselect/CascadeSelect.d.ts +164 -31
- package/cascadeselect/cascadeselect.cjs.js +2 -2
- package/cascadeselect/cascadeselect.esm.js +1 -1
- package/cascadeselect/cascadeselect.esm.min.js +1 -1
- package/cascadeselect/cascadeselect.js +3 -3
- package/chart/Chart.d.ts +104 -12
- package/chart/Chart.vue +9 -2
- package/chart/chart.cjs.js +11 -6
- package/chart/chart.cjs.min.js +1 -1
- package/chart/chart.esm.js +10 -3
- package/chart/chart.esm.min.js +1 -1
- package/chart/chart.js +10 -3
- package/chart/chart.min.js +1 -1
- package/checkbox/Checkbox.d.ts +66 -8
- package/checkbox/checkbox.esm.js +1 -1
- package/checkbox/checkbox.esm.min.js +1 -1
- package/checkbox/checkbox.js +1 -1
- package/chip/Chip.d.ts +50 -4
- package/chip/chip.esm.js +1 -1
- package/chip/chip.esm.min.js +1 -1
- package/chip/chip.js +1 -1
- package/chips/Chips.d.ts +88 -15
- package/chips/chips.esm.js +1 -1
- package/chips/chips.esm.min.js +1 -1
- package/chips/chips.js +1 -1
- package/colorpicker/ColorPicker.d.ts +105 -16
- package/colorpicker/colorpicker.cjs.js +1 -1
- package/colorpicker/colorpicker.esm.js +1 -1
- package/colorpicker/colorpicker.esm.min.js +1 -1
- package/colorpicker/colorpicker.js +2 -2
- package/column/Column.d.ts +452 -78
- package/column/Column.vue +6 -2
- package/column/column.cjs.js +6 -2
- package/column/column.cjs.min.js +1 -1
- package/column/column.esm.js +7 -3
- package/column/column.esm.min.js +1 -1
- package/column/column.js +7 -3
- package/column/column.min.js +1 -1
- package/columngroup/ColumnGroup.d.ts +30 -4
- package/columngroup/columngroup.esm.js +1 -1
- package/columngroup/columngroup.esm.min.js +1 -1
- package/columngroup/columngroup.js +1 -1
- package/config/config.cjs.js +1 -1
- package/config/config.esm.js +1 -2
- package/config/config.esm.min.js +1 -1
- package/config/config.js +2 -2
- package/confirmationeventbus/confirmationeventbus.esm.js +1 -1
- package/confirmationeventbus/confirmationeventbus.esm.min.js +1 -1
- package/confirmationeventbus/confirmationeventbus.js +1 -1
- package/confirmationoptions/ConfirmationOptions.d.ts +62 -0
- package/confirmationoptions/package.json +3 -0
- package/confirmationservice/ConfirmationService.d.ts +2 -1
- package/confirmationservice/confirmationservice.cjs.js +2 -2
- package/confirmationservice/confirmationservice.esm.js +1 -1
- package/confirmationservice/confirmationservice.esm.min.js +1 -1
- package/confirmationservice/confirmationservice.js +3 -3
- package/confirmdialog/ConfirmDialog.d.ts +57 -5
- package/confirmdialog/confirmdialog.cjs.js +6 -6
- package/confirmdialog/confirmdialog.esm.js +1 -1
- package/confirmdialog/confirmdialog.esm.min.js +1 -1
- package/confirmdialog/confirmdialog.js +7 -7
- package/confirmpopup/ConfirmPopup.d.ts +38 -7
- package/confirmpopup/confirmpopup.cjs.js +6 -6
- package/confirmpopup/confirmpopup.esm.js +1 -1
- package/confirmpopup/confirmpopup.esm.min.js +1 -1
- package/confirmpopup/confirmpopup.js +7 -7
- package/contextmenu/ContextMenu.d.ts +88 -16
- package/contextmenu/contextmenu.cjs.js +1 -1
- package/contextmenu/contextmenu.esm.js +1 -1
- package/contextmenu/contextmenu.esm.min.js +1 -1
- package/contextmenu/contextmenu.js +2 -2
- package/core/core.js +754 -327
- package/core/core.min.js +7 -5
- package/datatable/BodyCell.vue +26 -1
- package/datatable/DataTable.d.ts +1056 -131
- package/datatable/DataTable.vue +124 -118
- package/datatable/HeaderCheckbox.vue +5 -2
- package/datatable/RowCheckbox.vue +1 -1
- package/datatable/RowRadioButton.vue +1 -1
- package/datatable/TableBody.vue +53 -14
- package/datatable/TableFooter.vue +18 -1
- package/datatable/TableHeader.vue +18 -1
- package/datatable/datatable.cjs.js +488 -362
- package/datatable/datatable.cjs.min.js +1 -1
- package/datatable/datatable.esm.js +478 -353
- package/datatable/datatable.esm.min.js +1 -1
- package/datatable/datatable.js +489 -364
- package/datatable/datatable.min.js +1 -1
- package/dataview/DataView.d.ts +198 -32
- package/dataview/dataview.cjs.js +1 -1
- package/dataview/dataview.esm.js +1 -1
- package/dataview/dataview.esm.min.js +1 -1
- package/dataview/dataview.js +2 -2
- package/dataviewlayoutoptions/DataViewLayoutOptions.d.ts +34 -5
- package/dataviewlayoutoptions/dataviewlayoutoptions.esm.js +1 -1
- package/dataviewlayoutoptions/dataviewlayoutoptions.esm.min.js +1 -1
- package/dataviewlayoutoptions/dataviewlayoutoptions.js +1 -1
- package/deferredcontent/DeferredContent.d.ts +31 -6
- package/deferredcontent/deferredcontent.esm.js +1 -1
- package/deferredcontent/deferredcontent.esm.min.js +1 -1
- package/deferredcontent/deferredcontent.js +1 -1
- package/dialog/Dialog.d.ts +187 -34
- package/dialog/Dialog.vue +1 -1
- package/dialog/dialog.cjs.js +2 -3
- package/dialog/dialog.cjs.min.js +1 -1
- package/dialog/dialog.esm.js +2 -3
- package/dialog/dialog.esm.min.js +1 -1
- package/dialog/dialog.js +3 -4
- package/dialog/dialog.min.js +1 -1
- package/divider/Divider.d.ts +53 -8
- package/divider/divider.esm.js +1 -1
- package/divider/divider.esm.min.js +1 -1
- package/divider/divider.js +1 -1
- package/dock/Dock.d.ts +92 -15
- package/dock/DockSub.vue +3 -1
- package/dock/dock.cjs.js +4 -1
- package/dock/dock.cjs.min.js +1 -1
- package/dock/dock.esm.js +4 -2
- package/dock/dock.esm.min.js +1 -1
- package/dock/dock.js +5 -3
- package/dock/dock.min.js +1 -1
- package/dropdown/Dropdown.d.ts +335 -76
- package/dropdown/Dropdown.vue +16 -12
- package/dropdown/dropdown.cjs.js +21 -15
- package/dropdown/dropdown.cjs.min.js +1 -1
- package/dropdown/dropdown.esm.js +19 -13
- package/dropdown/dropdown.esm.min.js +1 -1
- package/dropdown/dropdown.js +22 -16
- package/dropdown/dropdown.min.js +1 -1
- package/editor/Editor.d.ts +78 -11
- package/editor/editor.cjs.js +1 -1
- package/editor/editor.esm.js +1 -1
- package/editor/editor.esm.min.js +1 -1
- package/editor/editor.js +2 -2
- package/fieldset/Fieldset.d.ts +63 -11
- package/fieldset/fieldset.cjs.js +1 -1
- package/fieldset/fieldset.esm.js +1 -1
- package/fieldset/fieldset.esm.min.js +1 -1
- package/fieldset/fieldset.js +2 -2
- package/fileupload/FileUpload.d.ts +255 -37
- package/fileupload/fileupload.cjs.js +4 -4
- package/fileupload/fileupload.esm.js +1 -1
- package/fileupload/fileupload.esm.min.js +1 -1
- package/fileupload/fileupload.js +5 -5
- package/fullcalendar/FullCalendar.d.ts +29 -3
- package/fullcalendar/fullcalendar.esm.js +1 -1
- package/fullcalendar/fullcalendar.esm.min.js +1 -1
- package/fullcalendar/fullcalendar.js +1 -1
- package/galleria/Galleria.d.ts +196 -46
- package/galleria/galleria.cjs.js +3 -3
- package/galleria/galleria.esm.js +1 -1
- package/galleria/galleria.esm.min.js +1 -1
- package/galleria/galleria.js +4 -4
- package/image/Image.d.ts +51 -6
- package/image/image.esm.js +1 -1
- package/image/image.esm.min.js +1 -1
- package/image/image.js +1 -1
- package/inlinemessage/InlineMessage.d.ts +34 -6
- package/inlinemessage/inlinemessage.esm.js +1 -1
- package/inlinemessage/inlinemessage.esm.min.js +1 -1
- package/inlinemessage/inlinemessage.js +1 -1
- package/inplace/Inplace.d.ts +57 -12
- package/inplace/inplace.cjs.js +1 -1
- package/inplace/inplace.esm.js +1 -1
- package/inplace/inplace.esm.min.js +1 -1
- package/inplace/inplace.js +2 -2
- package/inputmask/InputMask.d.ts +75 -15
- package/inputmask/inputmask.esm.js +1 -1
- package/inputmask/inputmask.esm.min.js +1 -1
- package/inputmask/inputmask.js +1 -1
- package/inputnumber/InputNumber.d.ts +180 -30
- package/inputnumber/inputnumber.cjs.js +2 -2
- package/inputnumber/inputnumber.esm.js +1 -1
- package/inputnumber/inputnumber.esm.min.js +1 -1
- package/inputnumber/inputnumber.js +3 -3
- package/inputswitch/InputSwitch.d.ts +61 -9
- package/inputswitch/inputswitch.esm.js +1 -1
- package/inputswitch/inputswitch.esm.min.js +1 -1
- package/inputswitch/inputswitch.js +1 -1
- package/inputtext/InputText.d.ts +34 -5
- package/inputtext/inputtext.esm.js +1 -1
- package/inputtext/inputtext.esm.min.js +1 -1
- package/inputtext/inputtext.js +1 -1
- package/knob/Knob.d.ts +92 -18
- package/knob/Knob.vue +1 -1
- package/knob/knob.cjs.js +1 -1
- package/knob/knob.cjs.min.js +1 -1
- package/knob/knob.esm.js +2 -2
- package/knob/knob.esm.min.js +1 -1
- package/knob/knob.js +2 -2
- package/knob/knob.min.js +1 -1
- package/listbox/Listbox.d.ts +240 -55
- package/listbox/Listbox.vue +2 -2
- package/listbox/listbox.cjs.js +5 -4
- package/listbox/listbox.cjs.min.js +1 -1
- package/listbox/listbox.esm.js +4 -3
- package/listbox/listbox.esm.min.js +1 -1
- package/listbox/listbox.js +6 -5
- package/listbox/listbox.min.js +1 -1
- package/megamenu/MegaMenu.d.ts +60 -12
- package/megamenu/megamenu.cjs.js +1 -1
- package/megamenu/megamenu.esm.js +1 -1
- package/megamenu/megamenu.esm.min.js +1 -1
- package/megamenu/megamenu.js +2 -2
- package/menu/Menu.d.ts +84 -15
- package/menu/menu.cjs.js +2 -2
- package/menu/menu.esm.js +1 -1
- package/menu/menu.esm.min.js +1 -1
- package/menu/menu.js +3 -3
- package/menubar/Menubar.d.ts +52 -11
- package/menubar/menubar.cjs.js +1 -1
- package/menubar/menubar.esm.js +1 -1
- package/menubar/menubar.esm.min.js +1 -1
- package/menubar/menubar.js +2 -2
- package/menuitem/MenuItem.d.ts +82 -0
- package/menuitem/package.json +3 -0
- package/message/Message.d.ts +57 -11
- package/message/message.cjs.js +1 -1
- package/message/message.esm.js +1 -1
- package/message/message.esm.min.js +1 -1
- package/message/message.js +2 -2
- package/multiselect/MultiSelect.d.ts +363 -83
- package/multiselect/MultiSelect.vue +17 -13
- package/multiselect/multiselect.cjs.js +20 -13
- package/multiselect/multiselect.cjs.min.js +1 -1
- package/multiselect/multiselect.esm.js +18 -11
- package/multiselect/multiselect.esm.min.js +1 -1
- package/multiselect/multiselect.js +21 -14
- package/multiselect/multiselect.min.js +1 -1
- package/orderlist/OrderList.d.ts +126 -19
- package/orderlist/OrderList.vue +10 -1
- package/orderlist/orderlist.cjs.js +19 -11
- package/orderlist/orderlist.cjs.min.js +1 -1
- package/orderlist/orderlist.esm.js +18 -10
- package/orderlist/orderlist.esm.min.js +1 -1
- package/orderlist/orderlist.js +20 -12
- package/orderlist/orderlist.min.js +1 -1
- package/organizationchart/OrganizationChart.d.ts +137 -15
- package/organizationchart/organizationchart.esm.js +1 -1
- package/organizationchart/organizationchart.esm.min.js +1 -1
- package/organizationchart/organizationchart.js +1 -1
- package/overlayeventbus/overlayeventbus.esm.js +1 -1
- package/overlayeventbus/overlayeventbus.esm.min.js +1 -1
- package/overlayeventbus/overlayeventbus.js +1 -1
- package/overlaypanel/OverlayPanel.d.ts +107 -12
- package/overlaypanel/overlaypanel.cjs.js +5 -5
- package/overlaypanel/overlaypanel.esm.js +1 -1
- package/overlaypanel/overlaypanel.esm.min.js +1 -1
- package/overlaypanel/overlaypanel.js +6 -6
- package/package.json +1 -1
- package/paginator/Paginator.d.ts +129 -27
- package/paginator/paginator.cjs.js +8 -8
- package/paginator/paginator.esm.js +1 -1
- package/paginator/paginator.esm.min.js +1 -1
- package/paginator/paginator.js +9 -9
- package/panel/Panel.d.ts +64 -9
- package/panel/panel.cjs.js +1 -1
- package/panel/panel.esm.js +1 -1
- package/panel/panel.esm.min.js +1 -1
- package/panel/panel.js +2 -2
- package/panelmenu/PanelMenu.d.ts +59 -11
- package/panelmenu/PanelMenu.vue +2 -2
- package/panelmenu/panelmenu.cjs.js +4 -4
- package/panelmenu/panelmenu.cjs.min.js +1 -1
- package/panelmenu/panelmenu.esm.js +5 -5
- package/panelmenu/panelmenu.esm.min.js +1 -1
- package/panelmenu/panelmenu.js +5 -5
- package/panelmenu/panelmenu.min.js +1 -1
- package/password/Password.d.ts +115 -24
- package/password/password.cjs.js +2 -2
- package/password/password.esm.js +1 -1
- package/password/password.esm.min.js +1 -1
- package/password/password.js +3 -3
- package/picklist/PickList.d.ts +203 -32
- package/picklist/PickList.vue +10 -1
- package/picklist/picklist.cjs.js +27 -19
- package/picklist/picklist.cjs.min.js +1 -1
- package/picklist/picklist.esm.js +26 -18
- package/picklist/picklist.esm.min.js +1 -1
- package/picklist/picklist.js +28 -20
- package/picklist/picklist.min.js +1 -1
- package/progressbar/ProgressBar.d.ts +43 -8
- package/progressbar/progressbar.esm.js +1 -1
- package/progressbar/progressbar.esm.min.js +1 -1
- package/progressbar/progressbar.js +1 -1
- package/progressspinner/ProgressSpinner.d.ts +39 -6
- package/progressspinner/progressspinner.esm.js +1 -1
- package/progressspinner/progressspinner.esm.min.js +1 -1
- package/progressspinner/progressspinner.js +1 -1
- package/radiobutton/RadioButton.d.ts +52 -7
- package/radiobutton/radiobutton.esm.js +1 -1
- package/radiobutton/radiobutton.esm.min.js +1 -1
- package/radiobutton/radiobutton.js +1 -1
- package/rating/Rating.d.ts +67 -10
- package/rating/rating.esm.js +1 -1
- package/rating/rating.esm.min.js +1 -1
- package/rating/rating.js +1 -1
- package/resources/themes/arya-blue/theme.css +41 -22
- package/resources/themes/arya-green/theme.css +41 -22
- package/resources/themes/arya-orange/theme.css +41 -22
- package/resources/themes/arya-purple/theme.css +41 -22
- package/resources/themes/bootstrap4-dark-blue/theme.css +29 -6
- package/resources/themes/bootstrap4-dark-purple/theme.css +29 -6
- package/resources/themes/bootstrap4-light-blue/theme.css +29 -6
- package/resources/themes/bootstrap4-light-purple/theme.css +29 -6
- package/resources/themes/fluent-light/theme.css +41 -22
- package/resources/themes/lara-dark-blue/theme.css +371 -361
- package/resources/themes/lara-dark-indigo/theme.css +371 -361
- package/resources/themes/lara-dark-purple/theme.css +371 -361
- package/resources/themes/lara-dark-teal/theme.css +371 -361
- package/resources/themes/lara-light-blue/theme.css +41 -31
- package/resources/themes/lara-light-indigo/theme.css +41 -31
- package/resources/themes/lara-light-purple/theme.css +41 -31
- package/resources/themes/lara-light-teal/theme.css +41 -31
- package/resources/themes/luna-amber/theme.css +41 -22
- package/resources/themes/luna-blue/theme.css +41 -22
- package/resources/themes/luna-green/theme.css +41 -22
- package/resources/themes/luna-pink/theme.css +41 -22
- package/resources/themes/md-dark-deeppurple/theme.css +24 -5
- package/resources/themes/md-dark-indigo/theme.css +24 -5
- package/resources/themes/md-light-deeppurple/theme.css +24 -5
- package/resources/themes/md-light-indigo/theme.css +24 -5
- package/resources/themes/mdc-dark-deeppurple/theme.css +24 -5
- package/resources/themes/mdc-dark-indigo/theme.css +24 -5
- package/resources/themes/mdc-light-deeppurple/theme.css +24 -5
- package/resources/themes/mdc-light-indigo/theme.css +24 -5
- package/resources/themes/nova/theme.css +41 -22
- package/resources/themes/nova-accent/theme.css +41 -22
- package/resources/themes/nova-alt/theme.css +41 -22
- package/resources/themes/nova-vue/theme.css +41 -22
- package/resources/themes/rhea/theme.css +41 -22
- package/resources/themes/saga-blue/theme.css +25 -6
- package/resources/themes/saga-green/theme.css +25 -6
- package/resources/themes/saga-orange/theme.css +25 -6
- package/resources/themes/saga-purple/theme.css +25 -6
- package/resources/themes/tailwind-light/theme.css +44 -25
- package/resources/themes/vela-blue/theme.css +41 -22
- package/resources/themes/vela-green/theme.css +41 -22
- package/resources/themes/vela-orange/theme.css +41 -22
- package/resources/themes/vela-purple/theme.css +41 -22
- package/ripple/ripple.esm.js +1 -1
- package/ripple/ripple.esm.min.js +1 -1
- package/ripple/ripple.js +1 -1
- package/row/Row.d.ts +25 -3
- package/row/row.esm.js +1 -1
- package/row/row.esm.min.js +1 -1
- package/row/row.js +1 -1
- package/scrollpanel/ScrollPanel.d.ts +27 -5
- package/scrollpanel/scrollpanel.esm.js +1 -1
- package/scrollpanel/scrollpanel.esm.min.js +1 -1
- package/scrollpanel/scrollpanel.js +1 -1
- package/scrolltop/ScrollTop.d.ts +47 -7
- package/scrolltop/scrolltop.esm.js +1 -1
- package/scrolltop/scrolltop.esm.min.js +1 -1
- package/scrolltop/scrolltop.js +1 -1
- package/selectbutton/SelectButton.d.ts +101 -17
- package/selectbutton/selectbutton.cjs.js +1 -1
- package/selectbutton/selectbutton.esm.js +1 -1
- package/selectbutton/selectbutton.esm.min.js +1 -1
- package/selectbutton/selectbutton.js +2 -2
- package/sidebar/Sidebar.d.ts +81 -16
- package/sidebar/Sidebar.vue +2 -0
- package/sidebar/sidebar.cjs.js +2 -2
- package/sidebar/sidebar.cjs.min.js +1 -1
- package/sidebar/sidebar.esm.js +2 -2
- package/sidebar/sidebar.esm.min.js +1 -1
- package/sidebar/sidebar.js +3 -3
- package/sidebar/sidebar.min.js +1 -1
- package/skeleton/Skeleton.d.ts +58 -9
- package/skeleton/skeleton.esm.js +1 -1
- package/skeleton/skeleton.esm.min.js +1 -1
- package/skeleton/skeleton.js +1 -1
- package/slider/Slider.d.ts +90 -14
- package/slider/slider.esm.js +1 -1
- package/slider/slider.esm.min.js +1 -1
- package/slider/slider.js +1 -1
- package/speeddial/SpeedDial.d.ts +166 -29
- package/speeddial/SpeedDial.vue +3 -1
- package/speeddial/speeddial.cjs.js +5 -2
- package/speeddial/speeddial.cjs.min.js +1 -1
- package/speeddial/speeddial.esm.js +4 -2
- package/speeddial/speeddial.esm.min.js +1 -1
- package/speeddial/speeddial.js +6 -4
- package/speeddial/speeddial.min.js +1 -1
- package/splitbutton/SplitButton.d.ts +76 -11
- package/splitbutton/SplitButton.vue +3 -1
- package/splitbutton/splitbutton.cjs.js +15 -13
- package/splitbutton/splitbutton.cjs.min.js +1 -1
- package/splitbutton/splitbutton.esm.js +15 -13
- package/splitbutton/splitbutton.esm.min.js +1 -1
- package/splitbutton/splitbutton.js +16 -14
- package/splitbutton/splitbutton.min.js +1 -1
- package/splitter/Splitter.d.ts +74 -7
- package/splitter/Splitter.vue +5 -5
- package/splitter/splitter.cjs.js +1 -1
- package/splitter/splitter.cjs.min.js +1 -1
- package/splitter/splitter.esm.js +2 -2
- package/splitter/splitter.esm.min.js +1 -1
- package/splitter/splitter.js +2 -2
- package/splitter/splitter.min.js +1 -1
- package/splitterpanel/SplitterPanel.d.ts +34 -7
- package/splitterpanel/splitterpanel.esm.js +1 -1
- package/splitterpanel/splitterpanel.esm.min.js +1 -1
- package/splitterpanel/splitterpanel.js +1 -1
- package/steps/Steps.d.ts +51 -11
- package/steps/steps.esm.js +1 -1
- package/steps/steps.esm.min.js +1 -1
- package/steps/steps.js +1 -1
- package/styleclass/styleclass.esm.js +1 -1
- package/styleclass/styleclass.esm.min.js +1 -1
- package/styleclass/styleclass.js +1 -1
- package/tabmenu/TabMenu.d.ts +63 -10
- package/tabmenu/tabmenu.cjs.js +1 -1
- package/tabmenu/tabmenu.esm.js +1 -1
- package/tabmenu/tabmenu.esm.min.js +1 -1
- package/tabmenu/tabmenu.js +2 -2
- package/tabpanel/TabPanel.d.ts +38 -7
- package/tabpanel/tabpanel.esm.js +1 -1
- package/tabpanel/tabpanel.esm.min.js +1 -1
- package/tabpanel/tabpanel.js +1 -1
- package/tabview/TabView.d.ts +73 -11
- package/tabview/TabView.vue +1 -1
- package/tabview/tabview.cjs.js +2 -2
- package/tabview/tabview.cjs.min.js +1 -1
- package/tabview/tabview.esm.js +2 -2
- package/tabview/tabview.esm.min.js +1 -1
- package/tabview/tabview.js +3 -3
- package/tabview/tabview.min.js +1 -1
- package/tag/Tag.d.ts +44 -8
- package/tag/Tag.vue +1 -1
- package/tag/tag.cjs.js +6 -6
- package/tag/tag.cjs.min.js +1 -1
- package/tag/tag.esm.js +8 -8
- package/tag/tag.esm.min.js +1 -1
- package/tag/tag.js +7 -7
- package/tag/tag.min.js +1 -1
- package/terminal/Terminal.d.ts +36 -5
- package/terminal/terminal.cjs.js +3 -3
- package/terminal/terminal.esm.js +1 -1
- package/terminal/terminal.esm.min.js +1 -1
- package/terminal/terminal.js +4 -4
- package/terminalservice/TerminalService.d.ts +1 -1
- package/terminalservice/terminalservice.esm.js +1 -1
- package/terminalservice/terminalservice.esm.min.js +1 -1
- package/terminalservice/terminalservice.js +1 -1
- package/textarea/Textarea.d.ts +38 -6
- package/textarea/textarea.esm.js +1 -1
- package/textarea/textarea.esm.min.js +1 -1
- package/textarea/textarea.js +1 -1
- package/tieredmenu/TieredMenu.d.ts +89 -15
- package/tieredmenu/tieredmenu.cjs.js +2 -2
- package/tieredmenu/tieredmenu.esm.js +1 -1
- package/tieredmenu/tieredmenu.esm.min.js +1 -1
- package/tieredmenu/tieredmenu.js +3 -3
- package/timeline/Timeline.d.ts +94 -15
- package/timeline/timeline.esm.js +1 -1
- package/timeline/timeline.esm.min.js +1 -1
- package/timeline/timeline.js +1 -1
- package/toast/Toast.d.ts +118 -12
- package/toast/toast.cjs.js +7 -7
- package/toast/toast.esm.js +1 -1
- package/toast/toast.esm.min.js +1 -1
- package/toast/toast.js +8 -8
- package/toasteventbus/toasteventbus.esm.js +1 -1
- package/toasteventbus/toasteventbus.esm.min.js +1 -1
- package/toasteventbus/toasteventbus.js +1 -1
- package/toastservice/ToastService.d.ts +17 -5
- package/toastservice/toastservice.cjs.js +3 -3
- package/toastservice/toastservice.esm.js +1 -1
- package/toastservice/toastservice.esm.min.js +1 -1
- package/toastservice/toastservice.js +4 -4
- package/togglebutton/ToggleButton.d.ts +64 -11
- package/togglebutton/togglebutton.cjs.js +1 -1
- package/togglebutton/togglebutton.esm.js +1 -1
- package/togglebutton/togglebutton.esm.min.js +1 -1
- package/togglebutton/togglebutton.js +2 -2
- package/toolbar/Toolbar.d.ts +31 -6
- package/toolbar/toolbar.esm.js +1 -1
- package/toolbar/toolbar.esm.min.js +1 -1
- package/toolbar/toolbar.js +1 -1
- package/tooltip/tooltip.esm.js +1 -1
- package/tooltip/tooltip.esm.min.js +1 -1
- package/tooltip/tooltip.js +1 -1
- package/tree/Tree.d.ts +189 -26
- package/tree/Tree.vue +1 -0
- package/tree/tree.cjs.js +2 -2
- package/tree/tree.cjs.min.js +1 -1
- package/tree/tree.esm.js +2 -2
- package/tree/tree.esm.min.js +1 -1
- package/tree/tree.js +3 -3
- package/tree/tree.min.js +1 -1
- package/treeselect/TreeSelect.d.ts +201 -44
- package/treeselect/treeselect.cjs.js +3 -3
- package/treeselect/treeselect.esm.js +1 -1
- package/treeselect/treeselect.esm.min.js +1 -1
- package/treeselect/treeselect.js +4 -4
- package/treetable/BodyCell.vue +5 -5
- package/treetable/FooterCell.vue +3 -3
- package/treetable/HeaderCell.vue +2 -2
- package/treetable/TreeTable.d.ts +459 -63
- package/treetable/TreeTable.vue +6 -2
- package/treetable/treetable.cjs.js +13 -13
- package/treetable/treetable.cjs.min.js +1 -1
- package/treetable/treetable.esm.js +12 -12
- package/treetable/treetable.esm.min.js +1 -1
- package/treetable/treetable.js +14 -14
- package/treetable/treetable.min.js +1 -1
- package/tristatecheckbox/TriStateCheckbox.d.ts +40 -6
- package/tristatecheckbox/tristatecheckbox.esm.js +1 -1
- package/tristatecheckbox/tristatecheckbox.esm.min.js +1 -1
- package/tristatecheckbox/tristatecheckbox.js +1 -1
- package/ts-helpers.d.ts +28 -0
- package/useconfirm/UseConfirm.d.ts +5 -19
- package/useconfirm/useconfirm.js +1 -1
- package/usetoast/UseToast.d.ts +3 -5
- package/usetoast/usetoast.js +1 -1
- package/utils/Utils.d.ts +3 -0
- package/utils/utils.cjs.js +41 -4
- package/utils/utils.cjs.min.js +1 -1
- package/utils/utils.esm.js +41 -4
- package/utils/utils.esm.min.js +1 -1
- package/utils/utils.js +42 -5
- package/utils/utils.min.js +1 -1
- package/vetur-attributes.json +70 -30
- package/vetur-tags.json +18 -8
- package/virtualscroller/VirtualScroller.d.ts +294 -53
- package/virtualscroller/VirtualScroller.vue +304 -253
- package/virtualscroller/virtualscroller.cjs.js +333 -264
- package/virtualscroller/virtualscroller.cjs.min.js +1 -1
- package/virtualscroller/virtualscroller.esm.js +334 -265
- package/virtualscroller/virtualscroller.esm.min.js +1 -1
- package/virtualscroller/virtualscroller.js +334 -265
- package/virtualscroller/virtualscroller.min.js +1 -1
- package/web-types.json +229 -45
package/button/Button.d.ts
CHANGED
|
@@ -1,17 +1,74 @@
|
|
|
1
|
-
|
|
1
|
+
import { ButtonHTMLAttributes, VNode } from 'vue';
|
|
2
|
+
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
|
|
3
|
+
|
|
4
|
+
type ButtonIconPosType = 'left' | 'right' | 'top' | 'bottom' | undefined;
|
|
5
|
+
|
|
6
|
+
export interface ButtonProps extends ButtonHTMLAttributes {
|
|
7
|
+
/**
|
|
8
|
+
* Inline style of the button.
|
|
9
|
+
*/
|
|
2
10
|
style?: any;
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
+
/**
|
|
12
|
+
* Style class of the button.
|
|
13
|
+
*/
|
|
14
|
+
class?: any;
|
|
15
|
+
/**
|
|
16
|
+
* Text of the button.
|
|
17
|
+
*/
|
|
18
|
+
label?: string | undefined;
|
|
19
|
+
/**
|
|
20
|
+
* Name of the icon.
|
|
21
|
+
*/
|
|
22
|
+
icon?: string | undefined;
|
|
23
|
+
/**
|
|
24
|
+
* Position of the icon, valid values are 'left', 'right', 'bottom' and 'top'.
|
|
25
|
+
* Default value is 'left'.
|
|
26
|
+
*/
|
|
27
|
+
iconPos?: ButtonIconPosType;
|
|
28
|
+
/**
|
|
29
|
+
* Value of the badge.
|
|
30
|
+
*/
|
|
31
|
+
badge?: string | undefined;
|
|
32
|
+
/**
|
|
33
|
+
* Style class of the badge.
|
|
34
|
+
*/
|
|
35
|
+
badgeClass?: string | undefined;
|
|
36
|
+
/**
|
|
37
|
+
* Whether the button is in loading state.
|
|
38
|
+
*/
|
|
39
|
+
loading?: boolean | undefined;
|
|
40
|
+
/**
|
|
41
|
+
* Icon to display in loading state.
|
|
42
|
+
* Default value is 'pi pi-spinner pi-spin'.
|
|
43
|
+
*/
|
|
44
|
+
loadingIcon?: string | undefined;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export interface ButtonSlots {
|
|
48
|
+
/**
|
|
49
|
+
* Custom content such as icons, images and text can be placed inside the button via the default slot. Note that when slot is used, label, icon and badge properties are not included.
|
|
50
|
+
*/
|
|
51
|
+
default: () => VNode[];
|
|
11
52
|
}
|
|
12
53
|
|
|
13
|
-
declare
|
|
14
|
-
|
|
54
|
+
export declare type ButtonEmits = {
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
declare class Button extends ClassComponent<ButtonProps, ButtonSlots, ButtonEmits> { }
|
|
58
|
+
|
|
59
|
+
declare module '@vue/runtime-core' {
|
|
60
|
+
interface GlobalComponents {
|
|
61
|
+
Button: GlobalComponentConstructor<Button>
|
|
62
|
+
}
|
|
15
63
|
}
|
|
16
64
|
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* Button is an extension to standard button element with icons and theming.
|
|
68
|
+
*
|
|
69
|
+
* Demos:
|
|
70
|
+
*
|
|
71
|
+
* - [Button](https://www.primefaces.org/primevue/showcase/#/button)
|
|
72
|
+
*
|
|
73
|
+
*/
|
|
17
74
|
export default Button;
|
package/button/button.cjs.js
CHANGED
package/button/button.esm.js
CHANGED
package/button/button.esm.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import t from"primevue/ripple";import{resolveDirective as i,withDirectives as n,openBlock as o,createBlock as s,renderSlot as l,createCommentVNode as e,createVNode as a,toDisplayString as p}from"vue";var b={name:"Button",props:{label:{type:String},icon:{type:String},iconPos:{type:String,default:"left"},badge:{type:String},badgeClass:{type:String,default:null},loading:{type:Boolean,default:!1},loadingIcon:{type:String,default:"pi pi-spinner pi-spin"}},computed:{buttonClass(){return{"p-button p-component":!0,"p-button-icon-only":this.icon&&!this.label,"p-button-vertical":("top"===this.iconPos||"bottom"===this.iconPos)&&this.label,"p-disabled":this.$attrs.disabled||this.loading,"p-button-loading":this.loading,"p-button-loading-label-only":this.loading&&!this.icon&&this.label}},iconClass(){return[this.loading?"p-button-loading-icon "+this.loadingIcon:this.icon,"p-button-icon",{"p-button-icon-left":"left"===this.iconPos&&this.label,"p-button-icon-right":"right"===this.iconPos&&this.label,"p-button-icon-top":"top"===this.iconPos&&this.label,"p-button-icon-bottom":"bottom"===this.iconPos&&this.label}]},badgeStyleClass(){return["p-badge p-component",this.badgeClass,{"p-badge-no-gutter":this.badge&&1===String(this.badge).length}]},disabled(){return this.$attrs.disabled||this.loading}},directives:{ripple:t}};const d={class:"p-button-label"};b.render=function(t,b,c,r,u,g){const h=i("ripple");return n((o(),s("button",{class:g.buttonClass,type:"button",disabled:g.disabled},[l(t.$slots,"default",{},(()=>[c.loading&&!c.icon?(o(),s("span",{key:0,class:g.iconClass},null,2)):e("",!0),c.icon?(o(),s("span",{key:1,class:g.iconClass},null,2)):e("",!0),a("span",d,p(c.label||" "),1),c.badge?(o(),s("span",{key:2,class:g.badgeStyleClass},p(c.badge),3)):e("",!0)]))],10,["disabled"])),[[h]])};export default
|
|
1
|
+
import t from"primevue/ripple";import{resolveDirective as i,withDirectives as n,openBlock as o,createBlock as s,renderSlot as l,createCommentVNode as e,createVNode as a,toDisplayString as p}from"vue";var b={name:"Button",props:{label:{type:String},icon:{type:String},iconPos:{type:String,default:"left"},badge:{type:String},badgeClass:{type:String,default:null},loading:{type:Boolean,default:!1},loadingIcon:{type:String,default:"pi pi-spinner pi-spin"}},computed:{buttonClass(){return{"p-button p-component":!0,"p-button-icon-only":this.icon&&!this.label,"p-button-vertical":("top"===this.iconPos||"bottom"===this.iconPos)&&this.label,"p-disabled":this.$attrs.disabled||this.loading,"p-button-loading":this.loading,"p-button-loading-label-only":this.loading&&!this.icon&&this.label}},iconClass(){return[this.loading?"p-button-loading-icon "+this.loadingIcon:this.icon,"p-button-icon",{"p-button-icon-left":"left"===this.iconPos&&this.label,"p-button-icon-right":"right"===this.iconPos&&this.label,"p-button-icon-top":"top"===this.iconPos&&this.label,"p-button-icon-bottom":"bottom"===this.iconPos&&this.label}]},badgeStyleClass(){return["p-badge p-component",this.badgeClass,{"p-badge-no-gutter":this.badge&&1===String(this.badge).length}]},disabled(){return this.$attrs.disabled||this.loading}},directives:{ripple:t}};const d={class:"p-button-label"};b.render=function(t,b,c,r,u,g){const h=i("ripple");return n((o(),s("button",{class:g.buttonClass,type:"button",disabled:g.disabled},[l(t.$slots,"default",{},(()=>[c.loading&&!c.icon?(o(),s("span",{key:0,class:g.iconClass},null,2)):e("",!0),c.icon?(o(),s("span",{key:1,class:g.iconClass},null,2)):e("",!0),a("span",d,p(c.label||" "),1),c.badge?(o(),s("span",{key:2,class:g.badgeStyleClass},p(c.badge),3)):e("",!0)]))],10,["disabled"])),[[h]])};export{b as default};
|
package/button/button.js
CHANGED
|
@@ -69,7 +69,7 @@ this.primevue.button = (function (Ripple, vue) {
|
|
|
69
69
|
}
|
|
70
70
|
},
|
|
71
71
|
directives: {
|
|
72
|
-
'ripple': Ripple__default[
|
|
72
|
+
'ripple': Ripple__default["default"]
|
|
73
73
|
}
|
|
74
74
|
};
|
|
75
75
|
|
|
@@ -113,4 +113,4 @@ this.primevue.button = (function (Ripple, vue) {
|
|
|
113
113
|
|
|
114
114
|
return script;
|
|
115
115
|
|
|
116
|
-
}(primevue.ripple, Vue)
|
|
116
|
+
})(primevue.ripple, Vue);
|
package/calendar/Calendar.d.ts
CHANGED
|
@@ -1,75 +1,346 @@
|
|
|
1
1
|
import { VNode } from 'vue';
|
|
2
|
+
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
|
|
2
3
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
4
|
+
type CalendarValueType = Date | Date[] | undefined;
|
|
5
|
+
|
|
6
|
+
type CalendarSelectionModeType = 'single' | 'multiple' | 'range' | undefined;
|
|
7
|
+
|
|
8
|
+
type CalendarViewType = 'date' | 'month' | 'year' | undefined;
|
|
9
|
+
|
|
10
|
+
type CalendarHourFormatType = '12' | '24' | undefined;
|
|
11
|
+
|
|
12
|
+
type CalendarAppendToType = 'body' | 'self' | string | undefined;
|
|
13
|
+
|
|
14
|
+
export interface CalendarResponsiveOptions {
|
|
15
|
+
/**
|
|
16
|
+
* Breakpoint for responsive mode. Exp; @media screen and (max-width: ${breakpoint}) {...}
|
|
17
|
+
*/
|
|
18
|
+
breakpoint: string;
|
|
19
|
+
/**
|
|
20
|
+
* The number of visible months on breakpoint.
|
|
21
|
+
*/
|
|
22
|
+
numMonths: number;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export interface CalendarMonthChangeEvent {
|
|
26
|
+
/**
|
|
27
|
+
* New month.
|
|
28
|
+
*/
|
|
29
|
+
month: number;
|
|
30
|
+
/**
|
|
31
|
+
* New year.
|
|
32
|
+
*/
|
|
33
|
+
year: number;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export interface CalendarYearChangeEvent {
|
|
37
|
+
/**
|
|
38
|
+
* New month.
|
|
39
|
+
*/
|
|
40
|
+
month: number;
|
|
41
|
+
/**
|
|
42
|
+
* New year.
|
|
43
|
+
*/
|
|
44
|
+
year: number;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export interface CalendarProps {
|
|
48
|
+
/**
|
|
49
|
+
* Value of the component.
|
|
50
|
+
*/
|
|
51
|
+
modelValue?: CalendarValueType;
|
|
52
|
+
/**
|
|
53
|
+
* Defines the quantity of the selection, valid values are 'single', 'multiple' and 'range'.
|
|
54
|
+
* @see CalendarSelectionModeType
|
|
55
|
+
* Default value is 'single'.
|
|
56
|
+
*/
|
|
57
|
+
selectionMode?: CalendarSelectionModeType;
|
|
58
|
+
/**
|
|
59
|
+
* Format of the date. Defaults to PrimeVue Locale configuration.
|
|
60
|
+
*/
|
|
61
|
+
dateFormat?: string | undefined;
|
|
62
|
+
/**
|
|
63
|
+
* When enabled, displays the calendar as inline instead of an overlay.
|
|
64
|
+
*/
|
|
65
|
+
inline?: boolean | undefined;
|
|
66
|
+
/**
|
|
67
|
+
* Whether to display dates in other months (non-selectable) at the start or end of the current month. To make these days selectable use the selectOtherMonths option.
|
|
68
|
+
* Default value is true.
|
|
69
|
+
*/
|
|
70
|
+
showOtherMonths?: boolean | undefined;
|
|
71
|
+
/**
|
|
72
|
+
* Whether days in other months shown before or after the current month are selectable. This only applies if the showOtherMonths option is set to true.
|
|
73
|
+
*/
|
|
74
|
+
selectOtherMonths?: boolean | undefined;
|
|
75
|
+
/**
|
|
76
|
+
* When enabled, displays a button with icon next to input.
|
|
77
|
+
*/
|
|
78
|
+
showIcon?: boolean | undefined;
|
|
79
|
+
/**
|
|
80
|
+
* Icon of the calendar button.
|
|
81
|
+
* Default value is 'pi pi-calendar'.
|
|
82
|
+
*/
|
|
83
|
+
icon?: string | undefined;
|
|
84
|
+
/**
|
|
85
|
+
* Number of months to display.
|
|
86
|
+
* Default value is 1.
|
|
87
|
+
*/
|
|
88
|
+
numberOfMonths?: number | undefined;
|
|
89
|
+
/**
|
|
90
|
+
* An array of options for responsive design.
|
|
91
|
+
* @see CalendarResponsiveOptions
|
|
92
|
+
*/
|
|
93
|
+
responsiveOptions?: CalendarResponsiveOptions[];
|
|
94
|
+
/**
|
|
95
|
+
* Type of view to display, valid values are 'date', 'month' and 'year'.
|
|
96
|
+
* @see CalendarViewType
|
|
97
|
+
* Default value is 'date'.
|
|
98
|
+
*/
|
|
99
|
+
view?: CalendarViewType;
|
|
100
|
+
/**
|
|
101
|
+
* When enabled, calendar overlay is displayed as optimized for touch devices.
|
|
102
|
+
*/
|
|
103
|
+
touchUI?: boolean | undefined;
|
|
104
|
+
/**
|
|
105
|
+
* Whether the month should be rendered as a dropdown instead of text.
|
|
106
|
+
*
|
|
107
|
+
* @deprecated since version 3.9.0, Navigator is always on.
|
|
108
|
+
*/
|
|
109
|
+
monthNavigator?: boolean | undefined;
|
|
110
|
+
/**
|
|
111
|
+
* Whether the year should be rendered as a dropdown instead of text.
|
|
112
|
+
*
|
|
113
|
+
* @deprecated since version 3.9.0, Navigator is always on.
|
|
114
|
+
*/
|
|
115
|
+
yearNavigator?: boolean | undefined;
|
|
116
|
+
/**
|
|
117
|
+
* The range of years displayed in the year drop-down in (nnnn:nnnn) format such as (2000:2020).
|
|
118
|
+
*
|
|
119
|
+
* @deprecated since version 3.9.0, Years are based on decades by default.
|
|
120
|
+
*/
|
|
121
|
+
yearRange?: string | undefined;
|
|
122
|
+
/**
|
|
123
|
+
* Style class of the datetimepicker panel.
|
|
124
|
+
*/
|
|
125
|
+
panelClass?: any;
|
|
126
|
+
/**
|
|
127
|
+
* The minimum selectable date.
|
|
128
|
+
*/
|
|
129
|
+
minDate?: Date | undefined;
|
|
130
|
+
/**
|
|
131
|
+
* The maximum selectable date.
|
|
132
|
+
*/
|
|
133
|
+
maxDate?: Date | undefined;
|
|
134
|
+
/**
|
|
135
|
+
* Array with dates to disable.
|
|
136
|
+
*/
|
|
137
|
+
disabledDates?: Date[] | undefined;
|
|
138
|
+
/**
|
|
139
|
+
* Array with disabled weekday numbers.
|
|
140
|
+
*/
|
|
141
|
+
disabledDays?: number[] | undefined;
|
|
142
|
+
/**
|
|
143
|
+
* Maximum number of selectable dates in multiple mode.
|
|
144
|
+
*/
|
|
145
|
+
maxDateCount?: number | undefined;
|
|
146
|
+
/**
|
|
147
|
+
* When disabled, datepicker will not be visible with input focus.
|
|
148
|
+
* Default value is true.
|
|
149
|
+
*/
|
|
150
|
+
showOnFocus?: boolean | undefined;
|
|
151
|
+
/**
|
|
152
|
+
* Whether to automatically manage layering.
|
|
153
|
+
* Default value is true.
|
|
154
|
+
*/
|
|
155
|
+
autoZIndex?: boolean | undefined;
|
|
156
|
+
/**
|
|
157
|
+
* Base zIndex value to use in layering.
|
|
158
|
+
* Default value is 0.
|
|
159
|
+
*/
|
|
160
|
+
baseZIndex?: number | undefined;
|
|
161
|
+
/**
|
|
162
|
+
* Whether to display today and clear buttons at the footer.
|
|
163
|
+
*/
|
|
164
|
+
showButtonBar?: boolean | undefined;
|
|
165
|
+
/**
|
|
166
|
+
* The cutoff year for determining the century for a date.
|
|
167
|
+
* Default value is +10.
|
|
168
|
+
*/
|
|
169
|
+
shortYearCutoff?: string | undefined;
|
|
170
|
+
/**
|
|
171
|
+
* Whether to display timepicker.
|
|
172
|
+
*/
|
|
173
|
+
showTime?: boolean | undefined;
|
|
174
|
+
/**
|
|
175
|
+
* Whether to display timepicker only.
|
|
176
|
+
*/
|
|
177
|
+
timeOnly?: boolean | undefined;
|
|
178
|
+
/**
|
|
179
|
+
* Specifies 12 or 24 hour format.
|
|
180
|
+
*/
|
|
181
|
+
hourFormat?: CalendarHourFormatType;
|
|
182
|
+
/**
|
|
183
|
+
* Hours to change per step.
|
|
184
|
+
* Default value is 1.
|
|
185
|
+
*/
|
|
186
|
+
stepHour?: number | undefined;
|
|
187
|
+
/**
|
|
188
|
+
* Minutes to change per step.
|
|
189
|
+
* Default value is 1.
|
|
190
|
+
*/
|
|
191
|
+
stepMinute?: number | undefined;
|
|
192
|
+
/**
|
|
193
|
+
* Seconds to change per step.
|
|
194
|
+
* Default value is 1.
|
|
195
|
+
*/
|
|
196
|
+
stepSecond?: number | undefined;
|
|
197
|
+
/**
|
|
198
|
+
* Whether to show the seconds in time picker.
|
|
199
|
+
*/
|
|
200
|
+
showSeconds?: boolean | undefined;
|
|
201
|
+
/**
|
|
202
|
+
* Whether to hide the overlay on date selection when showTime is enabled.
|
|
203
|
+
*/
|
|
204
|
+
hideOnDateTimeSelect?: boolean | undefined;
|
|
205
|
+
/**
|
|
206
|
+
* Separator of time selector.
|
|
207
|
+
* Default value is ':'.
|
|
208
|
+
*/
|
|
209
|
+
timeSeparator?: string | undefined;
|
|
210
|
+
/**
|
|
211
|
+
* When enabled, calendar will show week numbers.
|
|
212
|
+
*/
|
|
213
|
+
showWeek?: boolean | undefined;
|
|
214
|
+
/**
|
|
215
|
+
* Wheter to allow prevents entering the date manually via typing.
|
|
216
|
+
* Default value is true.
|
|
217
|
+
*/
|
|
218
|
+
manualInput?: boolean | undefined;
|
|
219
|
+
/**
|
|
220
|
+
* 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.
|
|
221
|
+
* Default value is 'body'.
|
|
222
|
+
*/
|
|
223
|
+
appendTo?: CalendarAppendToType;
|
|
224
|
+
/**
|
|
225
|
+
* Inline style of the input field.
|
|
226
|
+
*/
|
|
42
227
|
inputStyle?: any;
|
|
43
|
-
|
|
228
|
+
/**
|
|
229
|
+
* Style class of the input field.
|
|
230
|
+
*/
|
|
231
|
+
inputClass?: any;
|
|
232
|
+
/**
|
|
233
|
+
* Inline style of the component.
|
|
234
|
+
*/
|
|
44
235
|
style?: any;
|
|
45
|
-
|
|
46
|
-
|
|
236
|
+
/**
|
|
237
|
+
* Style class of the component.
|
|
238
|
+
*/
|
|
239
|
+
class?: any;
|
|
47
240
|
}
|
|
48
241
|
|
|
49
|
-
interface
|
|
50
|
-
|
|
242
|
+
export interface CalendarSlots {
|
|
243
|
+
/**
|
|
244
|
+
* Custom header template of panel.
|
|
245
|
+
*/
|
|
246
|
+
header: () => VNode[];
|
|
247
|
+
/**
|
|
248
|
+
* Custom footer template of panel.
|
|
249
|
+
*/
|
|
250
|
+
footer: () => VNode[];
|
|
251
|
+
/**
|
|
252
|
+
* Custom date template.
|
|
253
|
+
* @param {Object} scope - date slot's params.
|
|
254
|
+
*/
|
|
255
|
+
date: (scope: {
|
|
256
|
+
/**
|
|
257
|
+
* Value of the component.
|
|
258
|
+
*/
|
|
259
|
+
date: CalendarValueType;
|
|
260
|
+
}) => VNode[];
|
|
261
|
+
/**
|
|
262
|
+
* Custom decade template.
|
|
263
|
+
* @param {CalendarDecadeSlot} scope - decade slot's params.
|
|
264
|
+
*/
|
|
265
|
+
decade: (scope: {
|
|
266
|
+
/**
|
|
267
|
+
* An array containing the start and and year of a decade to display at header of the year picker.
|
|
268
|
+
*/
|
|
269
|
+
years: string[] | undefined;
|
|
270
|
+
}) => VNode[];
|
|
51
271
|
}
|
|
52
272
|
|
|
53
|
-
|
|
54
|
-
|
|
273
|
+
export declare type CalendarEmits = {
|
|
274
|
+
/**
|
|
275
|
+
* Emitted when the value changes.
|
|
276
|
+
* @param {CalendarValueType} value - New value.
|
|
277
|
+
*/
|
|
278
|
+
'update:modelValue': (value: CalendarValueType) => void;
|
|
279
|
+
/**
|
|
280
|
+
* Callback to invoke when input field is being typed.
|
|
281
|
+
* @param {Event} event - Browser event
|
|
282
|
+
*/
|
|
283
|
+
'input': (event: Event) => void;
|
|
284
|
+
/**
|
|
285
|
+
* Callback to invoke when a date is selected.
|
|
286
|
+
* @param {Date} value - Selected value.
|
|
287
|
+
*/
|
|
288
|
+
'date-select': (value: Date) => void;
|
|
289
|
+
/**
|
|
290
|
+
* Callback to invoke when datepicker panel is shown.
|
|
291
|
+
*/
|
|
292
|
+
'show': () => void;
|
|
293
|
+
/**
|
|
294
|
+
* Callback to invoke when datepicker panel is hidden.
|
|
295
|
+
*/
|
|
296
|
+
'hide': () => void;
|
|
297
|
+
/**
|
|
298
|
+
* Callback to invoke when today button is clicked.
|
|
299
|
+
* @param {Date} date - Today as a date instance.
|
|
300
|
+
*/
|
|
301
|
+
'today-click': (date: Date) => void;
|
|
302
|
+
/**
|
|
303
|
+
* Callback to invoke when clear button is clicked.
|
|
304
|
+
* @param {Event} event - Browser event.
|
|
305
|
+
*/
|
|
306
|
+
'clear-click': (event: Event) => void;
|
|
307
|
+
/**
|
|
308
|
+
* Callback to invoke when a month is changed using the navigators.
|
|
309
|
+
* @param {CalendarMonthChangeEvent} event - Custom month change event.
|
|
310
|
+
*/
|
|
311
|
+
'month-change': (event: CalendarMonthChangeEvent) => void;
|
|
312
|
+
/**
|
|
313
|
+
* Callback to invoke when a year is changed using the navigators.
|
|
314
|
+
* @param {CalendarYearChangeEvent} event - Custom year change event.
|
|
315
|
+
*/
|
|
316
|
+
'year-change': (event: CalendarYearChangeEvent) => void;
|
|
317
|
+
/**
|
|
318
|
+
* Callback to invoke on focus of input field.
|
|
319
|
+
* @param {Event} event - Focus event
|
|
320
|
+
*/
|
|
321
|
+
'focus': (event: Event) => void;
|
|
322
|
+
/**
|
|
323
|
+
* Callback to invoke on blur of input field.
|
|
324
|
+
* @param {Event} event - Blur event
|
|
325
|
+
*/
|
|
326
|
+
'blur': (event: Event) => void;
|
|
55
327
|
}
|
|
56
328
|
|
|
57
|
-
declare class Calendar {
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
$emit(eventName: 'year-change', e: { month: number, year: number }): this;
|
|
64
|
-
$emit(eventName: 'date-select', value: Date): this;
|
|
65
|
-
$emit(eventName: 'today-click', value: Date): this;
|
|
66
|
-
$emit(eventName: 'clear-click', event: Event): this;
|
|
67
|
-
$slots: {
|
|
68
|
-
header: VNode[];
|
|
69
|
-
date: CalendarDateSlotInterface;
|
|
70
|
-
footer: VNode[];
|
|
71
|
-
decade: CalendarDecadeSlotInterface;
|
|
72
|
-
};
|
|
329
|
+
declare class Calendar extends ClassComponent<CalendarProps, CalendarSlots, CalendarEmits> { }
|
|
330
|
+
|
|
331
|
+
declare module '@vue/runtime-core' {
|
|
332
|
+
interface GlobalComponents {
|
|
333
|
+
Calendar: GlobalComponentConstructor<Calendar>
|
|
334
|
+
}
|
|
73
335
|
}
|
|
74
336
|
|
|
337
|
+
/**
|
|
338
|
+
*
|
|
339
|
+
* Calendar is an input component to select a date.
|
|
340
|
+
*
|
|
341
|
+
* Demos:
|
|
342
|
+
*
|
|
343
|
+
* - [Calendar](https://www.primefaces.org/primevue/showcase/#/calendar)
|
|
344
|
+
*
|
|
345
|
+
*/
|
|
75
346
|
export default Calendar;
|