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
|
@@ -1 +1 @@
|
|
|
1
|
-
this.primevue=this.primevue||{},this.primevue.virtualscroller=function(t){"use strict";var s={name:"VirtualScroller",emits:["update:numToleratedItems","scroll-index-change","lazy-load"],props:{items:{type:Array,default:null},itemSize:{type:[Number,Array],default:null},scrollHeight:null,scrollWidth:null,orientation:{type:String,default:"vertical"},numToleratedItems:{type:Number,default:null},delay:{type:Number,default:0},lazy:{type:Boolean,default:!1},showLoader:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},style:null,class:null,disabled:{type:Boolean,default:!1}},data(){return{first:this.isBoth()?{rows:0,cols:0}:0,last:this.isBoth()?{rows:0,cols:0}:0,numItemsInViewport:this.isBoth()?{rows:0,cols:0}:0,lastScrollPos:this.isBoth()?{top:0,left:0}:0,d_numToleratedItems:this.numToleratedItems,d_loading:this.loading,loaderArr:null}},element:null,content:null,spacer:null,scrollTimeout:null,mounted(){this.init()},watch:{numToleratedItems(t){this.d_numToleratedItems=t},loading(t){this.d_loading=t},items(t,s){s&&s.length===(t||[]).length||this.init()}},methods:{init(){this.disabled||(this.setSize(),this.calculateOptions(),this.setSpacerSize())},getLast(t,s){return this.items?Math.min(s?this.items[0].length:this.items.length,t):0},calculateOptions(){const t=this.isBoth(),s=this.isHorizontal(),e=this.first,i=this.itemSize,o=this.getContentPadding(),l=this.element?this.element.offsetWidth-o.left:0,n=this.element?this.element.offsetHeight-o.top:0,r=(t,s)=>Math.ceil(t/(s||t)),a=t?{rows:r(n,i[0]),cols:r(l,i[1])}:r(s?l:n,i);let h=this.d_numToleratedItems||Math.ceil((t?a.rows:a)/2);const c=(t,s,e)=>this.getLast(t+s+(t<h?2:3)*h,e),d=t?{rows:c(e.rows,a.rows),cols:c(e.cols,a.cols,!0)}:c(e,a);this.d_numToleratedItems=h,this.$emit("update:numToleratedItems",this.d_numToleratedItems),this.last=d,this.numItemsInViewport=a,this.showLoader&&(this.$slots&&this.$slots.loader?this.loaderArr=Array.from({length:t?a.rows:a}):this.loaderArr=Array.from({length:1})),this.lazy&&this.$emit("lazy-load",{first:e,last:d})},getContentPadding(){if(this.content){const t=getComputedStyle(this.content),s=parseInt(parseFloat(t.paddingLeft.slice(0,-2)),10),e=parseInt(parseFloat(t.paddingRight.slice(0,-2)),10),i=parseInt(parseFloat(t.paddingTop.slice(0,-2)),10),o=parseInt(parseFloat(t.paddingBottom.slice(0,-2)),10);return{left:s,right:e,top:i,bottom:o,x:s+e,y:i+o}}return{left:0,right:0,top:0,bottom:0,x:0,y:0}},setSize(){if(this.element){const t=this.isBoth(),s=this.isHorizontal(),e=this.element.parentElement,i=this.scrollWidth||`${this.element.offsetWidth||e.offsetWidth}px`,o=this.scrollHeight||`${this.element.offsetHeight||e.offsetHeight}px`,l=(t,s)=>this.element.style[t]=s;t?(l("height",o),l("width",i)):s?l("width",i):l("height",o)}},setSpacerSize(){const t=this.items;if(this.spacer&&t){const s=this.isBoth(),e=this.isHorizontal(),i=this.itemSize,o=this.getContentPadding(),l=(t,s,e,i=0)=>this.spacer.style[t]=(s||[]).length*e+i+"px";s?(l("height",t[0],i[0],o.y),l("width",t[1],i[1],o.x)):e?l("width",t,i,o.x):l("height",t,i,o.y)}},setContentPosition(t){if(this.content){const s=this.isBoth(),e=this.isHorizontal(),i=this.content,o=t?t.first:this.first,l=this.itemSize,n=(t,s)=>t*s,r=(t=0,s=0)=>i.style.transform=`translate3d(${t}px, ${s}px, 0)`;if(s)r(n(o.cols,l[1]),n(o.rows,l[0]));else{const t=n(o,l);e?r(t,0):r(0,t)}}},onScrollPositionChange(t){const s=t.target,e=this.isBoth(),i=this.isHorizontal(),o=this.itemSize,l=this.getContentPadding(),n=(t,s)=>t?t>s?t-s:t:0,r=(t,s)=>Math.floor(t/(s||t)),a=(t,s,e,i,o)=>t<=this.d_numToleratedItems?this.d_numToleratedItems:o?e-i-this.d_numToleratedItems:s+this.d_numToleratedItems-1,h=(t,s,e,i,o,l)=>t<=this.d_numToleratedItems?0:l?t<s?e:t-this.d_numToleratedItems:t>s?e:t-2*this.d_numToleratedItems,c=(t,s,e,i,o)=>{let l=s+i+2*this.d_numToleratedItems;return t>=this.d_numToleratedItems&&(l+=this.d_numToleratedItems+1),this.getLast(l,o)},d=n(s.scrollTop,l.top),m=n(s.scrollLeft,l.left);let f=0,p=this.last,u=!1;if(e){const t=this.lastScrollPos.top<=d,s=this.lastScrollPos.left<=m,e={rows:r(d,o[0]),cols:r(m,o[1])},i={rows:a(e.rows,this.first.rows,this.last.rows,this.numItemsInViewport.rows,t),cols:a(e.cols,this.first.cols,this.last.cols,this.numItemsInViewport.cols,s)};f={rows:h(e.rows,i.rows,this.first.rows,this.last.rows,this.numItemsInViewport.rows,t),cols:h(e.cols,i.cols,this.first.cols,this.last.cols,this.numItemsInViewport.cols,s)},p={rows:c(e.rows,f.rows,this.last.rows,this.numItemsInViewport.rows),cols:c(e.cols,f.cols,this.last.cols,this.numItemsInViewport.cols,!0)},u=f.rows!==this.first.rows||f.cols!==this.first.cols||p.rows!==this.last.rows||p.cols!==this.last.cols,this.lastScrollPos={top:d,left:m}}else{const t=i?m:d,s=this.lastScrollPos<=t,e=r(t,o);f=h(e,a(e,this.first,this.last,this.numItemsInViewport,s),this.first,this.last,this.numItemsInViewport,s),p=c(e,f,this.last,this.numItemsInViewport),u=f!==this.first||p!==this.last,this.lastScrollPos=t}return{first:f,last:p,isRangeChanged:u}},onScrollChange(t){const{first:s,last:e,isRangeChanged:i}=this.onScrollPositionChange(t);if(i){const t={first:s,last:e};this.setContentPosition(t),this.lazy&&this.$emit("lazy-load",{first:s,last:e}),this.first=s,this.last=e,this.$emit("scroll-index-change",{first:s,last:e})}},onScroll(t){if(this.delay&&!this.lazy){if(this.scrollTimeout&&clearTimeout(this.scrollTimeout),!this.d_loading&&this.showLoader){const{isRangeChanged:s}=this.onScrollPositionChange(t);s&&(this.d_loading=!0)}this.scrollTimeout=setTimeout((()=>{this.onScrollChange(t),this.d_loading&&this.showLoader&&!this.lazy&&(this.d_loading=!1)}),this.delay)}else this.onScrollChange(t)},getOptions(t){let s=this.items.length,e=this.isBoth()?this.first.rows+t:this.first+t;return{index:e,count:s,first:0===e,last:e===s-1,even:e%2==0,odd:e%2!=0}},getLoaderOptions(t){let s=this.loaderArr.length;return{loading:this.d_loading,first:0===t,last:t===s-1,even:t%2==0,odd:t%2!=0}},isHorizontal(){return"horizontal"===this.orientation},isBoth(){return"both"===this.orientation},scrollTo(t){this.element&&this.element.scrollTo(t)},scrollToIndex(t,s="auto"){const e=this.isBoth(),i=this.isHorizontal(),o=this.itemSize,l=this.getContentPadding(),n=(t=0)=>t<=this.d_numToleratedItems?0:t,r=(t,s,e)=>t*s+e,a=(t=0,e=0)=>this.scrollTo({left:t,top:e,behavior:s});if(e){const s={rows:n(t[0]),cols:n(t[1])};s.rows===this.first.rows&&s.cols===this.first.cols||a(r(s.cols,o[1],l.left),r(s.rows,o[0],l.top))}else{const s=n(t);s!==this.first&&(i?a(r(s,o,l.left),0):a(0,r(s,o,l.top))),this.first=s}},scrollInView(t,s,e="auto"){if(s){const i=this.isBoth(),o=this.isHorizontal(),{first:l,viewport:n}=this.getRenderedRange(),r=this.itemSize,a=(t=0,s=0)=>this.scrollTo({left:t,top:s,behavior:e}),h="to-end"===s;if("to-start"===s){if(i)n.first.rows-l.rows>t[0]?a(n.first.cols*r[1],(n.first.rows-1)*r[0]):n.first.cols-l.cols>t[1]&&a((n.first.cols-1)*r[1],n.first.rows*r[0]);else if(n.first-l>t){const t=(n.first-1)*r;o?a(t,0):a(0,t)}}else if(h)if(i)n.last.rows-l.rows<=t[0]+1?a(n.first.cols*r[1],(n.first.rows+1)*r[0]):n.last.cols-l.cols<=t[1]+1&&a((n.first.cols+1)*r[1],n.first.rows*r[0]);else if(n.last-l<=t+1){const t=(n.first+1)*r;o?a(t,0):a(0,t)}}else this.scrollToIndex(t,e)},getRenderedRange(){const t=this.isBoth(),s=this.isHorizontal(),e=this.itemSize,i=(t,s)=>Math.floor(t/(s||t));let o=this.first,l=0;if(this.element){const n=this.element.scrollTop,r=this.element.scrollLeft;if(t)o={rows:i(n,e[0]),cols:i(r,e[1])},l={rows:o.rows+this.numItemsInViewport.rows,cols:o.cols+this.numItemsInViewport.cols};else{o=i(s?r:n,e),l=o+this.numItemsInViewport}}return{first:this.first,last:this.last,viewport:{first:o,last:l}}},elementRef(t){this.element=t},contentRef(t){this.content=t},spacerRef(t){this.spacer=t}},computed:{containerClass(){return["p-virtualscroller",{"p-both-scroll":this.isBoth(),"p-horizontal-scroll":this.isHorizontal()},this.class]},loaderClass(){return["p-virtualscroller-loader",{"p-component-overlay":!this.$slots.loader}]},loadedItems(){const t=this.items;if(t&&!this.d_loading){return this.isBoth()?t.slice(this.first.rows,this.last.rows).map((t=>t.slice(this.first.cols,this.last.cols))):t.slice(this.first,this.last).map((t=>t))}return[]}}};const e=t.createVNode("i",{class:"p-virtualscroller-loading-icon pi pi-spinner pi-spin"},null,-1);return function(t,s){void 0===s&&(s={});var e=s.insertAt;if(t&&"undefined"!=typeof document){var i=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===e&&i.firstChild?i.insertBefore(o,i.firstChild):i.appendChild(o),o.styleSheet?o.styleSheet.cssText=t:o.appendChild(document.createTextNode(t))}}("\n.p-virtualscroller {\n position: relative;\n overflow: auto;\n contain: strict;\n -webkit-transform: translateZ(0);\n transform: translateZ(0);\n will-change: scroll-position;\n}\n.p-virtualscroller-content {\n position: absolute;\n top: 0;\n left: 0;\n contain: content;\n min-height: 100%;\n min-width: 100%;\n will-change: transform;\n}\n.p-virtualscroller-spacer {\n position: absolute;\n top: 0;\n left: 0;\n height: 1px;\n width: 1px;\n -webkit-transform-origin: 0 0;\n transform-origin: 0 0;\n pointer-events: none;\n}\n.p-virtualscroller .p-virtualscroller-loader {\n position: sticky;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n}\n.p-virtualscroller-loader.p-component-overlay {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n}\n"),s.render=function(s,i,o,l,n,r){return o.disabled?(t.openBlock(),t.createBlock(t.Fragment,{key:1},[t.renderSlot(s.$slots,"default"),t.renderSlot(s.$slots,"content",{items:o.items})],64)):(t.openBlock(),t.createBlock("div",{key:0,ref:r.elementRef,class:r.containerClass,style:o.style,onScroll:i[1]||(i[1]=(...t)=>r.onScroll&&r.onScroll(...t))},[t.renderSlot(s.$slots,"content",{styleClass:"p-virtualscroller-content",contentRef:r.contentRef,items:r.loadedItems,getItemOptions:r.getOptions},(()=>[t.createVNode("div",{ref:r.contentRef,class:"p-virtualscroller-content"},[(t.openBlock(!0),t.createBlock(t.Fragment,null,t.renderList(r.loadedItems,((e,i)=>t.renderSlot(s.$slots,"item",{key:i,item:e,options:r.getOptions(i)}))),128))],512)])),t.createVNode("div",{ref:r.spacerRef,class:"p-virtualscroller-spacer"},null,512),n.d_loading?(t.openBlock(),t.createBlock("div",{key:0,class:r.loaderClass},[(t.openBlock(!0),t.createBlock(t.Fragment,null,t.renderList(n.loaderArr,((i,o)=>t.renderSlot(s.$slots,"loader",{key:o,options:r.getLoaderOptions(o)},(()=>[e])))),128))],2)):t.createCommentVNode("",!0)],38))},s}(Vue);
|
|
1
|
+
this.primevue=this.primevue||{},this.primevue.virtualscroller=function(t){"use strict";var s={name:"VirtualScroller",emits:["update:numToleratedItems","scroll","scroll-index-change","lazy-load"],props:{id:{type:String,default:null},style:null,class:null,items:{type:Array,default:null},itemSize:{type:[Number,Array],default:0},scrollHeight:null,scrollWidth:null,orientation:{type:String,default:"vertical"},numToleratedItems:{type:Number,default:null},delay:{type:Number,default:0},lazy:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},loaderDisabled:{type:Boolean,default:!1},columns:{type:Array,default:null},loading:{type:Boolean,default:!1},showSpacer:{type:Boolean,default:!0},showLoader:{type:Boolean,default:!1}},data(){return{first:this.isBoth()?{rows:0,cols:0}:0,last:this.isBoth()?{rows:0,cols:0}:0,numItemsInViewport:this.isBoth()?{rows:0,cols:0}:0,lastScrollPos:this.isBoth()?{top:0,left:0}:0,d_numToleratedItems:this.numToleratedItems,d_loading:this.loading,loaderArr:[],spacerStyle:{},contentStyle:{}}},element:null,content:null,lastScrollPos:null,scrollTimeout:null,mounted(){this.init(),this.lastScrollPos=this.isBoth()?{top:0,left:0}:0},watch:{numToleratedItems(t){this.d_numToleratedItems=t},loading(t){this.d_loading=t},items(t,s){s&&s.length===(t||[]).length||this.init()},orientation(){this.lastScrollPos=this.isBoth()?{top:0,left:0}:0}},methods:{init(){this.setSize(),this.calculateOptions(),this.setSpacerSize()},isVertical(){return"vertical"===this.orientation},isHorizontal(){return"horizontal"===this.orientation},isBoth(){return"both"===this.orientation},scrollTo(t){this.element&&this.element.scrollTo(t)},scrollToIndex(t,s="auto"){const e=this.isBoth(),i=this.isHorizontal(),o=this.first,{numToleratedItems:l}=this.calculateNumItems(),n=this.itemSize,r=this.getContentPosition(),a=(t=0,s)=>t<=s?0:t,h=(t,s,e)=>t*s+e,c=(t=0,e=0)=>this.scrollTo({left:t,top:e,behavior:s});if(e){const s={rows:a(t[0],l[0]),cols:a(t[1],l[1])};s.rows===o.rows&&s.cols===o.cols||(c(h(s.cols,n[1],r.left),h(s.rows,n[0],r.top)),this.first=s)}else{const s=a(t,l);s!==o&&(i?c(h(s,n,r.left),0):c(0,h(s,n,r.top)),this.first=s)}},scrollInView(t,s,e="auto"){if(s){const i=this.isBoth(),o=this.isHorizontal(),{first:l,viewport:n}=this.getRenderedRange(),r=(t=0,s=0)=>this.scrollTo({left:t,top:s,behavior:e}),a="to-end"===s;if("to-start"===s){if(i)n.first.rows-l.rows>t[0]?r(n.first.cols*this.itemSize[1],(n.first.rows-1)*this.itemSize[0]):n.first.cols-l.cols>t[1]&&r((n.first.cols-1)*this.itemSize[1],n.first.rows*this.itemSize[0]);else if(n.first-l>t){const t=(n.first-1)*this.itemSize;o?r(t,0):r(0,t)}}else if(a)if(i)n.last.rows-l.rows<=t[0]+1?r(n.first.cols*this.itemSize[1],(n.first.rows+1)*this.itemSize[0]):n.last.cols-l.cols<=t[1]+1&&r((n.first.cols+1)*this.itemSize[1],n.first.rows*this.itemSize[0]);else if(n.last-l<=t+1){const t=(n.first+1)*this.itemSize;o?r(t,0):r(0,t)}}else this.scrollToIndex(t,e)},getRenderedRange(){const t=(t,s)=>Math.floor(t/(s||t));let s=this.first,e=0;if(this.element){const i=this.isBoth(),o=this.isHorizontal(),l=this.element.scrollTop,n=this.element.scrollLeft;if(i)s={rows:t(l,this.itemSize[0]),cols:t(n,this.itemSize[1])},e={rows:s.rows+this.numItemsInViewport.rows,cols:s.cols+this.numItemsInViewport.cols};else{s=t(o?n:l,this.itemSize),e=s+this.numItemsInViewport}}return{first:this.first,last:this.last,viewport:{first:s,last:e}}},calculateNumItems(){const t=this.isBoth(),s=this.isHorizontal(),e=this.itemSize,i=this.getContentPosition(),o=this.element?this.element.offsetWidth-i.left:0,l=this.element?this.element.offsetHeight-i.top:0,n=(t,s)=>Math.ceil(t/(s||t)),r=t=>Math.ceil(t/2),a=t?{rows:n(l,e[0]),cols:n(o,e[1])}:n(s?o:l,e);return{numItemsInViewport:a,numToleratedItems:this.d_numToleratedItems||(t?[r(a.rows),r(a.cols)]:r(a))}},calculateOptions(){const t=this.isBoth(),s=this.first,{numItemsInViewport:e,numToleratedItems:i}=this.calculateNumItems(),o=(t,s,e,i)=>this.getLast(t+s+(t<e?2:3)*e,i),l=t?{rows:o(s.rows,e.rows,i[0]),cols:o(s.cols,e.cols,i[1],!0)}:o(s,e,i);this.last=l,this.numItemsInViewport=e,this.d_numToleratedItems=i,this.$emit("update:numToleratedItems",this.d_numToleratedItems),this.showLoader&&(this.loaderArr=t?Array.from({length:e.rows}).map((()=>Array.from({length:e.cols}))):Array.from({length:e})),this.lazy&&this.$emit("lazy-load",{first:s,last:l})},getLast(t=0,s){return this.items?Math.min(s?(this.columns||this.items[0]).length:this.items.length,t):0},getContentPosition(){if(this.content){const t=getComputedStyle(this.content),s=parseInt(t.paddingLeft,10)+Math.max(parseInt(t.left,10),0),e=parseInt(t.paddingRight,10)+Math.max(parseInt(t.right,10),0),i=parseInt(t.paddingTop,10)+Math.max(parseInt(t.top,10),0),o=parseInt(t.paddingBottom,10)+Math.max(parseInt(t.bottom,10),0);return{left:s,right:e,top:i,bottom:o,x:s+e,y:i+o}}return{left:0,right:0,top:0,bottom:0,x:0,y:0}},setSize(){if(this.element){const t=this.isBoth(),s=this.isHorizontal(),e=this.element.parentElement,i=this.scrollWidth||`${this.element.offsetWidth||e.offsetWidth}px`,o=this.scrollHeight||`${this.element.offsetHeight||e.offsetHeight}px`,l=(t,s)=>this.element.style[t]=s;t||s?(l("height",o),l("width",i)):l("height",o)}},setSpacerSize(){const t=this.items;if(t){const s=this.isBoth(),e=this.isHorizontal(),i=this.getContentPosition(),o=(t,s,e,i=0)=>this.spacerStyle={...this.spacerStyle,[`${t}`]:(s||[]).length*e+i+"px"};s?(o("height",t,this.itemSize[0],i.y),o("width",this.columns||t[1],this.itemSize[1],i.x)):e?o("width",this.columns||t,this.itemSize,i.x):o("height",t,this.itemSize,i.y)}},setContentPosition(t){if(this.content){const s=this.isBoth(),e=this.isHorizontal(),i=t?t.first:this.first,o=(t,s)=>t*s,l=(t=0,s=0)=>{this.contentStyle={...this.contentStyle,transform:`translate3d(${t}px, ${s}px, 0)`}};if(s)l(o(i.cols,this.itemSize[1]),o(i.rows,this.itemSize[0]));else{const t=o(i,this.itemSize);e?l(t,0):l(0,t)}}},onScrollPositionChange(t){const s=t.target,e=this.isBoth(),i=this.isHorizontal(),o=this.getContentPosition(),l=(t,s)=>t?t>s?t-s:t:0,n=(t,s)=>Math.floor(t/(s||t)),r=(t,s,e,i,o,l)=>t<=o?o:l?e-i-o:s+o-1,a=(t,s,e,i,o,l,n)=>t<=l?0:Math.max(0,n?t<s?e:t-l:t>s?e:t-2*l),h=(t,s,e,i,o,l)=>{let n=s+i+2*o;return t>=o&&(n+=o+1),this.getLast(n,l)},c=l(s.scrollTop,o.top),m=l(s.scrollLeft,o.left);let d=0,u=this.last,p=!1;if(e){const t=this.lastScrollPos.top<=c,s=this.lastScrollPos.left<=m,e={rows:n(c,this.itemSize[0]),cols:n(m,this.itemSize[1])},i={rows:r(e.rows,this.first.rows,this.last.rows,this.numItemsInViewport.rows,this.d_numToleratedItems[0],t),cols:r(e.cols,this.first.cols,this.last.cols,this.numItemsInViewport.cols,this.d_numToleratedItems[1],s)};d={rows:a(e.rows,i.rows,this.first.rows,this.last.rows,this.numItemsInViewport.rows,this.d_numToleratedItems[0],t),cols:a(e.cols,i.cols,this.first.cols,this.last.cols,this.numItemsInViewport.cols,this.d_numToleratedItems[1],s)},u={rows:h(e.rows,d.rows,this.last.rows,this.numItemsInViewport.rows,this.d_numToleratedItems[0]),cols:h(e.cols,d.cols,this.last.cols,this.numItemsInViewport.cols,this.d_numToleratedItems[1],!0)},p=d.rows!==this.first.rows&&u.rows!==this.last.rows||d.cols!==this.first.cols&&u.cols!==this.last.cols,this.lastScrollPos={top:c,left:m}}else{const t=i?m:c,s=this.lastScrollPos<=t,e=n(t,this.itemSize);d=a(e,r(e,this.first,this.last,this.numItemsInViewport,this.d_numToleratedItems,s),this.first,this.last,this.numItemsInViewport,this.d_numToleratedItems,s),u=h(e,d,this.last,this.numItemsInViewport,this.d_numToleratedItems),p=d!==this.first&&u!==this.last,this.lastScrollPos=t}return{first:d,last:u,isRangeChanged:p}},onScrollChange(t){const{first:s,last:e,isRangeChanged:i}=this.onScrollPositionChange(t);if(i){const t={first:s,last:e};this.setContentPosition(t),this.first=s,this.last=e,this.$emit("scroll-index-change",t),this.lazy&&this.$emit("lazy-load",t)}},onScroll(t){if(this.$emit("scroll",t),this.delay){if(this.scrollTimeout&&clearTimeout(this.scrollTimeout),!this.d_loading&&this.showLoader){const{isRangeChanged:s}=this.onScrollPositionChange(t);s&&(this.d_loading=!0)}this.scrollTimeout=setTimeout((()=>{this.onScrollChange(t),this.d_loading&&this.showLoader&&!this.lazy&&(this.d_loading=!1)}),this.delay)}else this.onScrollChange(t)},getOptions(t){const s=(this.items||[]).length,e=this.isBoth()?this.first.rows+t:this.first+t;return{index:e,count:s,first:0===e,last:e===s-1,even:e%2==0,odd:e%2!=0}},getLoaderOptions(t,s){let e=this.loaderArr.length;return{index:t,count:e,first:0===t,last:t===e-1,even:t%2==0,odd:t%2!=0,...s}},elementRef(t){this.element=t},contentRef(t){this.content=t}},computed:{containerClass(){return["p-virtualscroller",{"p-both-scroll":this.isBoth(),"p-horizontal-scroll":this.isHorizontal()},this.class]},contentClass(){return["p-virtualscroller-content",{"p-virtualscroller-loading":this.d_loading}]},loaderClass(){return["p-virtualscroller-loader",{"p-component-overlay":!this.$slots.loader}]},loadedItems(){const t=this.items;return t&&!this.d_loading?this.isBoth()?t.slice(this.first.rows,this.last.rows).map((t=>this.columns?t:t.slice(this.first.cols,this.last.cols))):this.isHorizontal()&&this.columns?t:t.slice(this.first,this.last):[]},loadedRows(){return this.d_loading?this.loaderDisabled?this.loaderArr:[]:this.loadedItems},loadedColumns(){if(this.columns){const t=this.isBoth(),s=this.isHorizontal();if(t||s)return this.d_loading&&this.loaderDisabled?t?this.loaderArr[0]:this.loaderArr:this.columns.slice(t?this.first.cols:this.first,t?this.last.cols:this.last)}return this.columns}}};const e={key:1,class:"p-virtualscroller-loading-icon pi pi-spinner pi-spin"};return function(t,s){void 0===s&&(s={});var e=s.insertAt;if(t&&"undefined"!=typeof document){var i=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===e&&i.firstChild?i.insertBefore(o,i.firstChild):i.appendChild(o),o.styleSheet?o.styleSheet.cssText=t:o.appendChild(document.createTextNode(t))}}("\n.p-virtualscroller {\n position: relative;\n overflow: auto;\n contain: strict;\n -webkit-transform: translateZ(0);\n transform: translateZ(0);\n will-change: scroll-position;\n outline: 0 none;\n}\n.p-virtualscroller-content {\n position: absolute;\n top: 0;\n left: 0;\n contain: content;\n min-height: 100%;\n min-width: 100%;\n will-change: transform;\n}\n.p-virtualscroller-spacer {\n position: absolute;\n top: 0;\n left: 0;\n height: 1px;\n width: 1px;\n -webkit-transform-origin: 0 0;\n transform-origin: 0 0;\n pointer-events: none;\n}\n.p-virtualscroller .p-virtualscroller-loader {\n position: sticky;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n}\n.p-virtualscroller-loader.p-component-overlay {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n}\n"),s.render=function(s,i,o,l,n,r){return o.disabled?(t.openBlock(),t.createBlock(t.Fragment,{key:1},[t.renderSlot(s.$slots,"default"),t.renderSlot(s.$slots,"content",{items:o.items,rows:o.items,columns:r.loadedColumns})],64)):(t.openBlock(),t.createBlock("div",{key:0,ref:r.elementRef,class:r.containerClass,tabindex:0,style:o.style,onScroll:i[1]||(i[1]=(...t)=>r.onScroll&&r.onScroll(...t))},[t.renderSlot(s.$slots,"content",{styleClass:r.contentClass,items:r.loadedItems,getItemOptions:r.getOptions,loading:n.d_loading,getLoaderOptions:r.getLoaderOptions,itemSize:o.itemSize,rows:r.loadedRows,columns:r.loadedColumns,contentRef:r.contentRef,spacerStyle:n.spacerStyle,contentStyle:n.contentStyle,vertical:r.isVertical(),horizontal:r.isHorizontal(),both:r.isBoth()},(()=>[t.createVNode("div",{ref:r.contentRef,class:r.contentClass,style:n.contentStyle},[(t.openBlock(!0),t.createBlock(t.Fragment,null,t.renderList(r.loadedItems,((e,i)=>t.renderSlot(s.$slots,"item",{key:i,item:e,options:r.getOptions(i)}))),128))],6)])),o.showSpacer?(t.openBlock(),t.createBlock("div",{key:0,class:"p-virtualscroller-spacer",style:n.spacerStyle},null,4)):t.createCommentVNode("",!0),!o.loaderDisabled&&o.showLoader&&n.d_loading?(t.openBlock(),t.createBlock("div",{key:1,class:r.loaderClass},[s.$slots&&s.$slots.loader?(t.openBlock(!0),t.createBlock(t.Fragment,{key:0},t.renderList(n.loaderArr,((e,i)=>t.renderSlot(s.$slots,"loader",{key:i,options:r.getLoaderOptions(i,r.isBoth()&&{numCols:s.d_numItemsInViewport.cols})}))),128)):(t.openBlock(),t.createBlock("i",e))],2)):t.createCommentVNode("",!0)],38))},s}(Vue);
|
package/web-types.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
|
3
3
|
"framework": "vue",
|
|
4
4
|
"name": "PrimeVue",
|
|
5
|
-
"version": "3.
|
|
5
|
+
"version": "3.12.0",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
8
8
|
"types-syntax": "typescript",
|
|
@@ -1191,19 +1191,22 @@
|
|
|
1191
1191
|
"kind": "expression",
|
|
1192
1192
|
"type": "any"
|
|
1193
1193
|
}
|
|
1194
|
-
},
|
|
1195
|
-
{
|
|
1196
|
-
"name": "keepInvalid",
|
|
1197
|
-
"default": "false",
|
|
1198
|
-
"doc-url": "https://primefaces.org/primevue/showcase/#/calendar",
|
|
1199
|
-
"description": "Keep invalid value when input blur.",
|
|
1200
|
-
"value": {
|
|
1201
|
-
"kind": "expression",
|
|
1202
|
-
"type": "boolean"
|
|
1203
|
-
}
|
|
1204
1194
|
}
|
|
1205
1195
|
],
|
|
1206
1196
|
"events": [
|
|
1197
|
+
{
|
|
1198
|
+
"name": "input",
|
|
1199
|
+
"doc-url": "https://primefaces.org/primevue/showcase/#/calendar",
|
|
1200
|
+
"description": "Callback to invoke when input field is being typed.",
|
|
1201
|
+
"arguments": [
|
|
1202
|
+
{
|
|
1203
|
+
"name": "event",
|
|
1204
|
+
"doc-url": "https://primefaces.org/primevue/showcase/#/calendar",
|
|
1205
|
+
"type": "object",
|
|
1206
|
+
"description": "New date"
|
|
1207
|
+
}
|
|
1208
|
+
]
|
|
1209
|
+
},
|
|
1207
1210
|
{
|
|
1208
1211
|
"name": "date-select",
|
|
1209
1212
|
"doc-url": "https://primefaces.org/primevue/showcase/#/calendar",
|
|
@@ -1290,6 +1293,32 @@
|
|
|
1290
1293
|
"description": "New year"
|
|
1291
1294
|
}
|
|
1292
1295
|
]
|
|
1296
|
+
},
|
|
1297
|
+
{
|
|
1298
|
+
"name": "focus",
|
|
1299
|
+
"doc-url": "https://primefaces.org/primevue/showcase/#/calendar",
|
|
1300
|
+
"description": "Callback to invoke on focus of input field.",
|
|
1301
|
+
"arguments": [
|
|
1302
|
+
{
|
|
1303
|
+
"name": "event",
|
|
1304
|
+
"doc-url": "https://primefaces.org/primevue/showcase/#/calendar",
|
|
1305
|
+
"type": "object",
|
|
1306
|
+
"description": "Focus event"
|
|
1307
|
+
}
|
|
1308
|
+
]
|
|
1309
|
+
},
|
|
1310
|
+
{
|
|
1311
|
+
"name": "blur",
|
|
1312
|
+
"doc-url": "https://primefaces.org/primevue/showcase/#/calendar",
|
|
1313
|
+
"description": "Callback to invoke on blur of input field.",
|
|
1314
|
+
"arguments": [
|
|
1315
|
+
{
|
|
1316
|
+
"name": "event",
|
|
1317
|
+
"doc-url": "https://primefaces.org/primevue/showcase/#/calendar",
|
|
1318
|
+
"type": "object",
|
|
1319
|
+
"description": "Blur event"
|
|
1320
|
+
}
|
|
1321
|
+
]
|
|
1293
1322
|
}
|
|
1294
1323
|
],
|
|
1295
1324
|
"slots": [
|
|
@@ -1535,7 +1564,7 @@
|
|
|
1535
1564
|
"description": "Property name or getter function to use as the label of an option.",
|
|
1536
1565
|
"value": {
|
|
1537
1566
|
"kind": "expression",
|
|
1538
|
-
"type": "string"
|
|
1567
|
+
"type": "string | function"
|
|
1539
1568
|
}
|
|
1540
1569
|
},
|
|
1541
1570
|
{
|
|
@@ -1545,7 +1574,7 @@
|
|
|
1545
1574
|
"description": "Property name or getter function to use as the value of an option, defaults to the option itself when not defined.",
|
|
1546
1575
|
"value": {
|
|
1547
1576
|
"kind": "expression",
|
|
1548
|
-
"type": "string"
|
|
1577
|
+
"type": "string | function"
|
|
1549
1578
|
}
|
|
1550
1579
|
},
|
|
1551
1580
|
{
|
|
@@ -1555,7 +1584,7 @@
|
|
|
1555
1584
|
"description": "Property name or getter function to use as the label of an option group.",
|
|
1556
1585
|
"value": {
|
|
1557
1586
|
"kind": "expression",
|
|
1558
|
-
"type": "string"
|
|
1587
|
+
"type": "string | function"
|
|
1559
1588
|
}
|
|
1560
1589
|
},
|
|
1561
1590
|
{
|
|
@@ -1565,7 +1594,7 @@
|
|
|
1565
1594
|
"description": "Property name or getter function to retrieve the items of a group.",
|
|
1566
1595
|
"value": {
|
|
1567
1596
|
"kind": "expression",
|
|
1568
|
-
"type": "array"
|
|
1597
|
+
"type": "array | function"
|
|
1569
1598
|
}
|
|
1570
1599
|
},
|
|
1571
1600
|
{
|
|
@@ -1786,6 +1815,16 @@
|
|
|
1786
1815
|
"type": "any"
|
|
1787
1816
|
}
|
|
1788
1817
|
},
|
|
1818
|
+
{
|
|
1819
|
+
"name": "plugins",
|
|
1820
|
+
"default": "null",
|
|
1821
|
+
"doc-url": "https://primefaces.org/primevue/showcase/#/chart",
|
|
1822
|
+
"description": "Used to custom plugins of the chart.",
|
|
1823
|
+
"value": {
|
|
1824
|
+
"kind": "expression",
|
|
1825
|
+
"type": "any"
|
|
1826
|
+
}
|
|
1827
|
+
},
|
|
1789
1828
|
{
|
|
1790
1829
|
"name": "width",
|
|
1791
1830
|
"default": "300",
|
|
@@ -1844,6 +1883,19 @@
|
|
|
1844
1883
|
"description": "Index of the data in dataset"
|
|
1845
1884
|
}
|
|
1846
1885
|
]
|
|
1886
|
+
},
|
|
1887
|
+
{
|
|
1888
|
+
"name": "loaded",
|
|
1889
|
+
"doc-url": "https://primefaces.org/primevue/showcase/#/chart",
|
|
1890
|
+
"description": "Callback to invoke when chart is loaded.",
|
|
1891
|
+
"arguments": [
|
|
1892
|
+
{
|
|
1893
|
+
"name": "chart",
|
|
1894
|
+
"doc-url": "https://primefaces.org/primevue/showcase/#/chart",
|
|
1895
|
+
"type": "object",
|
|
1896
|
+
"description": "Chart instance."
|
|
1897
|
+
}
|
|
1898
|
+
]
|
|
1847
1899
|
}
|
|
1848
1900
|
]
|
|
1849
1901
|
},
|
|
@@ -1908,7 +1960,7 @@
|
|
|
1908
1960
|
},
|
|
1909
1961
|
{
|
|
1910
1962
|
"name": "trueValue",
|
|
1911
|
-
"default": "
|
|
1963
|
+
"default": "null",
|
|
1912
1964
|
"doc-url": "https://primefaces.org/primevue/showcase/#/checkbox",
|
|
1913
1965
|
"description": "Value in checked state.",
|
|
1914
1966
|
"value": {
|
|
@@ -1918,7 +1970,7 @@
|
|
|
1918
1970
|
},
|
|
1919
1971
|
{
|
|
1920
1972
|
"name": "falseValue",
|
|
1921
|
-
"default": "
|
|
1973
|
+
"default": "null",
|
|
1922
1974
|
"doc-url": "https://primefaces.org/primevue/showcase/#/checkbox",
|
|
1923
1975
|
"description": "Value in unchecked state.",
|
|
1924
1976
|
"value": {
|
|
@@ -2700,6 +2752,16 @@
|
|
|
2700
2752
|
"type": "boolean"
|
|
2701
2753
|
}
|
|
2702
2754
|
},
|
|
2755
|
+
{
|
|
2756
|
+
"name": "exportHeader",
|
|
2757
|
+
"default": "null",
|
|
2758
|
+
"doc-url": "https://primefaces.org/primevue/showcase/#/datatable",
|
|
2759
|
+
"description": "Custom export header of the column to be exported as CSV.",
|
|
2760
|
+
"value": {
|
|
2761
|
+
"kind": "expression",
|
|
2762
|
+
"type": "string"
|
|
2763
|
+
}
|
|
2764
|
+
},
|
|
2703
2765
|
{
|
|
2704
2766
|
"name": "hidden",
|
|
2705
2767
|
"default": "false",
|
|
@@ -3224,6 +3286,16 @@
|
|
|
3224
3286
|
"type": "boolean"
|
|
3225
3287
|
}
|
|
3226
3288
|
},
|
|
3289
|
+
{
|
|
3290
|
+
"name": "selectAll",
|
|
3291
|
+
"default": "null",
|
|
3292
|
+
"doc-url": "https://primefaces.org/primevue/showcase/#/datatable",
|
|
3293
|
+
"description": "Whether all data is selected.",
|
|
3294
|
+
"value": {
|
|
3295
|
+
"kind": "expression",
|
|
3296
|
+
"type": "boolean"
|
|
3297
|
+
}
|
|
3298
|
+
},
|
|
3227
3299
|
{
|
|
3228
3300
|
"name": "csvSeparator",
|
|
3229
3301
|
"default": ",",
|
|
@@ -3454,6 +3526,16 @@
|
|
|
3454
3526
|
"type": "string"
|
|
3455
3527
|
}
|
|
3456
3528
|
},
|
|
3529
|
+
{
|
|
3530
|
+
"name": "virtualScrollerOptions",
|
|
3531
|
+
"default": "null",
|
|
3532
|
+
"doc-url": "https://primefaces.org/primevue/showcase/#/datatable",
|
|
3533
|
+
"description": "Whether to use the virtualScroller feature. The properties of VirtualScroller component can be used like an object in it. Note: Currently only vertical orientation mode is supported.",
|
|
3534
|
+
"value": {
|
|
3535
|
+
"kind": "expression",
|
|
3536
|
+
"type": "object"
|
|
3537
|
+
}
|
|
3538
|
+
},
|
|
3457
3539
|
{
|
|
3458
3540
|
"name": "frozenValue",
|
|
3459
3541
|
"default": "null",
|
|
@@ -3834,6 +3916,25 @@
|
|
|
3834
3916
|
}
|
|
3835
3917
|
]
|
|
3836
3918
|
},
|
|
3919
|
+
{
|
|
3920
|
+
"name": "select-all-change",
|
|
3921
|
+
"doc-url": "https://primefaces.org/primevue/showcase/#/datatable",
|
|
3922
|
+
"description": "Callback to invoke when all data is selected.",
|
|
3923
|
+
"arguments": [
|
|
3924
|
+
{
|
|
3925
|
+
"name": "event.originalEvent",
|
|
3926
|
+
"doc-url": "https://primefaces.org/primevue/showcase/#/datatable",
|
|
3927
|
+
"type": "object",
|
|
3928
|
+
"description": "Browser event."
|
|
3929
|
+
},
|
|
3930
|
+
{
|
|
3931
|
+
"name": "event.checked",
|
|
3932
|
+
"doc-url": "https://primefaces.org/primevue/showcase/#/datatable",
|
|
3933
|
+
"type": "object",
|
|
3934
|
+
"description": "Whether all data is selected."
|
|
3935
|
+
}
|
|
3936
|
+
]
|
|
3937
|
+
},
|
|
3837
3938
|
{
|
|
3838
3939
|
"name": "column-resize-end",
|
|
3839
3940
|
"doc-url": "https://primefaces.org/primevue/showcase/#/datatable",
|
|
@@ -4846,7 +4947,7 @@
|
|
|
4846
4947
|
}
|
|
4847
4948
|
},
|
|
4848
4949
|
{
|
|
4849
|
-
"name": "
|
|
4950
|
+
"name": "maximizable",
|
|
4850
4951
|
"default": "false",
|
|
4851
4952
|
"doc-url": "https://primefaces.org/primevue/showcase/#/dialog",
|
|
4852
4953
|
"description": "Whether the dialog can be displayed full screen.",
|
|
@@ -5140,7 +5241,7 @@
|
|
|
5140
5241
|
"description": "Property name or getter function to use as the label of an option.",
|
|
5141
5242
|
"value": {
|
|
5142
5243
|
"kind": "expression",
|
|
5143
|
-
"type": "string"
|
|
5244
|
+
"type": "string | function"
|
|
5144
5245
|
}
|
|
5145
5246
|
},
|
|
5146
5247
|
{
|
|
@@ -5150,7 +5251,7 @@
|
|
|
5150
5251
|
"description": "Property name or getter function to use as the value of an option, defaults to the option itself when not defined.",
|
|
5151
5252
|
"value": {
|
|
5152
5253
|
"kind": "expression",
|
|
5153
|
-
"type": "string"
|
|
5254
|
+
"type": "string | function"
|
|
5154
5255
|
}
|
|
5155
5256
|
},
|
|
5156
5257
|
{
|
|
@@ -5170,7 +5271,7 @@
|
|
|
5170
5271
|
"description": "Property name or getter function to use as the label of an option group.",
|
|
5171
5272
|
"value": {
|
|
5172
5273
|
"kind": "expression",
|
|
5173
|
-
"type": "string"
|
|
5274
|
+
"type": "string | function"
|
|
5174
5275
|
}
|
|
5175
5276
|
},
|
|
5176
5277
|
{
|
|
@@ -5180,7 +5281,7 @@
|
|
|
5180
5281
|
"description": "Property name or getter function that refers to the children options of option group.",
|
|
5181
5282
|
"value": {
|
|
5182
5283
|
"kind": "expression",
|
|
5183
|
-
"type": "string"
|
|
5284
|
+
"type": "string | function"
|
|
5184
5285
|
}
|
|
5185
5286
|
},
|
|
5186
5287
|
{
|
|
@@ -6956,7 +7057,7 @@
|
|
|
6956
7057
|
},
|
|
6957
7058
|
{
|
|
6958
7059
|
"name": "trueValue",
|
|
6959
|
-
"default": "
|
|
7060
|
+
"default": "null",
|
|
6960
7061
|
"doc-url": "https://primefaces.org/primevue/showcase/#/inputswitch",
|
|
6961
7062
|
"description": "Value in checked state.",
|
|
6962
7063
|
"value": {
|
|
@@ -6966,7 +7067,7 @@
|
|
|
6966
7067
|
},
|
|
6967
7068
|
{
|
|
6968
7069
|
"name": "falseValue",
|
|
6969
|
-
"default": "
|
|
7070
|
+
"default": "null",
|
|
6970
7071
|
"doc-url": "https://primefaces.org/primevue/showcase/#/inputswitch",
|
|
6971
7072
|
"description": "Value in unchecked state.",
|
|
6972
7073
|
"value": {
|
|
@@ -7206,7 +7307,7 @@
|
|
|
7206
7307
|
"description": "Property name or getter function to use as the label of an option.",
|
|
7207
7308
|
"value": {
|
|
7208
7309
|
"kind": "expression",
|
|
7209
|
-
"type": "string"
|
|
7310
|
+
"type": "string | function"
|
|
7210
7311
|
}
|
|
7211
7312
|
},
|
|
7212
7313
|
{
|
|
@@ -7216,7 +7317,7 @@
|
|
|
7216
7317
|
"description": "Property name or getter function to use as the value of an option, defaults to the option itself when not defined.",
|
|
7217
7318
|
"value": {
|
|
7218
7319
|
"kind": "expression",
|
|
7219
|
-
"type": "string"
|
|
7320
|
+
"type": "string | function"
|
|
7220
7321
|
}
|
|
7221
7322
|
},
|
|
7222
7323
|
{
|
|
@@ -7226,7 +7327,7 @@
|
|
|
7226
7327
|
"description": "Property name or getter function to use as the disabled flag of an option, defaults to false when not defined.",
|
|
7227
7328
|
"value": {
|
|
7228
7329
|
"kind": "expression",
|
|
7229
|
-
"type": "boolean"
|
|
7330
|
+
"type": "boolean | function"
|
|
7230
7331
|
}
|
|
7231
7332
|
},
|
|
7232
7333
|
{
|
|
@@ -7236,7 +7337,7 @@
|
|
|
7236
7337
|
"description": "Property name or getter function to use as the label of an option group.",
|
|
7237
7338
|
"value": {
|
|
7238
7339
|
"kind": "expression",
|
|
7239
|
-
"type": "string"
|
|
7340
|
+
"type": "string | function"
|
|
7240
7341
|
}
|
|
7241
7342
|
},
|
|
7242
7343
|
{
|
|
@@ -7246,7 +7347,7 @@
|
|
|
7246
7347
|
"description": "Property name or getter function that refers to the children options of option group.",
|
|
7247
7348
|
"value": {
|
|
7248
7349
|
"kind": "expression",
|
|
7249
|
-
"type": "string"
|
|
7350
|
+
"type": "string | function"
|
|
7250
7351
|
}
|
|
7251
7352
|
},
|
|
7252
7353
|
{
|
|
@@ -7778,7 +7879,7 @@
|
|
|
7778
7879
|
"description": "Property name or getter function to use as the value of an option, defaults to the option itself when not defined.",
|
|
7779
7880
|
"value": {
|
|
7780
7881
|
"kind": "expression",
|
|
7781
|
-
"type": "string"
|
|
7882
|
+
"type": "string | function"
|
|
7782
7883
|
}
|
|
7783
7884
|
},
|
|
7784
7885
|
{
|
|
@@ -7788,7 +7889,7 @@
|
|
|
7788
7889
|
"description": "Property name or getter function to use as the disabled flag of an option, defaults to false when not defined.",
|
|
7789
7890
|
"value": {
|
|
7790
7891
|
"kind": "expression",
|
|
7791
|
-
"type": "boolean"
|
|
7892
|
+
"type": "boolean | function"
|
|
7792
7893
|
}
|
|
7793
7894
|
},
|
|
7794
7895
|
{
|
|
@@ -7798,7 +7899,7 @@
|
|
|
7798
7899
|
"description": "Property name or getter function to use as the label of an option group.",
|
|
7799
7900
|
"value": {
|
|
7800
7901
|
"kind": "expression",
|
|
7801
|
-
"type": "string"
|
|
7902
|
+
"type": "string | function"
|
|
7802
7903
|
}
|
|
7803
7904
|
},
|
|
7804
7905
|
{
|
|
@@ -7808,7 +7909,7 @@
|
|
|
7808
7909
|
"description": "Property name or getter function that refers to the children options of option group.",
|
|
7809
7910
|
"value": {
|
|
7810
7911
|
"kind": "expression",
|
|
7811
|
-
"type": "string"
|
|
7912
|
+
"type": "string | function"
|
|
7812
7913
|
}
|
|
7813
7914
|
},
|
|
7814
7915
|
{
|
|
@@ -8267,6 +8368,16 @@
|
|
|
8267
8368
|
"kind": "expression",
|
|
8268
8369
|
"type": "string"
|
|
8269
8370
|
}
|
|
8371
|
+
},
|
|
8372
|
+
{
|
|
8373
|
+
"name": "stripedRows",
|
|
8374
|
+
"default": "false",
|
|
8375
|
+
"doc-url": "https://primefaces.org/primevue/showcase/#/orderlist",
|
|
8376
|
+
"description": "Whether to displays rows with alternating colors.",
|
|
8377
|
+
"value": {
|
|
8378
|
+
"kind": "expression",
|
|
8379
|
+
"type": "boolean"
|
|
8380
|
+
}
|
|
8270
8381
|
}
|
|
8271
8382
|
],
|
|
8272
8383
|
"events": [
|
|
@@ -9080,6 +9191,16 @@
|
|
|
9080
9191
|
"kind": "expression",
|
|
9081
9192
|
"type": "string"
|
|
9082
9193
|
}
|
|
9194
|
+
},
|
|
9195
|
+
{
|
|
9196
|
+
"name": "stripedRows",
|
|
9197
|
+
"default": "false",
|
|
9198
|
+
"doc-url": "https://primefaces.org/primevue/showcase/#/picklist",
|
|
9199
|
+
"description": "Whether to displays rows with alternating colors.",
|
|
9200
|
+
"value": {
|
|
9201
|
+
"kind": "expression",
|
|
9202
|
+
"type": "boolean"
|
|
9203
|
+
}
|
|
9083
9204
|
}
|
|
9084
9205
|
],
|
|
9085
9206
|
"events": [
|
|
@@ -11146,12 +11267,12 @@
|
|
|
11146
11267
|
"description": "Toolbar is a grouping component for buttons and other content.",
|
|
11147
11268
|
"slots": [
|
|
11148
11269
|
{
|
|
11149
|
-
"name": "
|
|
11270
|
+
"name": "start",
|
|
11150
11271
|
"doc-url": "https://primefaces.org/primevue/showcase/#/toolbar",
|
|
11151
11272
|
"description": "Custom content for the component's left side"
|
|
11152
11273
|
},
|
|
11153
11274
|
{
|
|
11154
|
-
"name": "
|
|
11275
|
+
"name": "end",
|
|
11155
11276
|
"doc-url": "https://primefaces.org/primevue/showcase/#/toolbar",
|
|
11156
11277
|
"description": "Custom content for the component's right side"
|
|
11157
11278
|
}
|
|
@@ -12340,6 +12461,36 @@
|
|
|
12340
12461
|
"doc-url": "https://primefaces.org/primevue/showcase/#/virtualscroller",
|
|
12341
12462
|
"description": "VirtualScroller is a performant approach to handle huge data efficiently.",
|
|
12342
12463
|
"attributes": [
|
|
12464
|
+
{
|
|
12465
|
+
"name": "id",
|
|
12466
|
+
"default": "null",
|
|
12467
|
+
"doc-url": "https://primefaces.org/primevue/showcase/#/virtualscroller",
|
|
12468
|
+
"description": "Unique identifier of the element.",
|
|
12469
|
+
"value": {
|
|
12470
|
+
"kind": "expression",
|
|
12471
|
+
"type": "string"
|
|
12472
|
+
}
|
|
12473
|
+
},
|
|
12474
|
+
{
|
|
12475
|
+
"name": "style",
|
|
12476
|
+
"default": "null",
|
|
12477
|
+
"doc-url": "https://primefaces.org/primevue/showcase/#/virtualscroller",
|
|
12478
|
+
"description": "Inline style of the component.",
|
|
12479
|
+
"value": {
|
|
12480
|
+
"kind": "expression",
|
|
12481
|
+
"type": "any"
|
|
12482
|
+
}
|
|
12483
|
+
},
|
|
12484
|
+
{
|
|
12485
|
+
"name": "class",
|
|
12486
|
+
"default": "null",
|
|
12487
|
+
"doc-url": "https://primefaces.org/primevue/showcase/#/virtualscroller",
|
|
12488
|
+
"description": "Style class of the component.",
|
|
12489
|
+
"value": {
|
|
12490
|
+
"kind": "expression",
|
|
12491
|
+
"type": "string"
|
|
12492
|
+
}
|
|
12493
|
+
},
|
|
12343
12494
|
{
|
|
12344
12495
|
"name": "items",
|
|
12345
12496
|
"default": "null",
|
|
@@ -12421,37 +12572,70 @@
|
|
|
12421
12572
|
}
|
|
12422
12573
|
},
|
|
12423
12574
|
{
|
|
12424
|
-
"name": "
|
|
12575
|
+
"name": "disabled",
|
|
12425
12576
|
"default": "false",
|
|
12426
12577
|
"doc-url": "https://primefaces.org/primevue/showcase/#/virtualscroller",
|
|
12427
|
-
"description": "
|
|
12578
|
+
"description": "If disabled, the VirtualScroller feature is eliminated and the content is displayed directly.",
|
|
12428
12579
|
"value": {
|
|
12429
12580
|
"kind": "expression",
|
|
12430
12581
|
"type": "boolean"
|
|
12431
12582
|
}
|
|
12432
12583
|
},
|
|
12433
12584
|
{
|
|
12434
|
-
"name": "
|
|
12435
|
-
"default": "
|
|
12585
|
+
"name": "loaderDisabled",
|
|
12586
|
+
"default": "false",
|
|
12436
12587
|
"doc-url": "https://primefaces.org/primevue/showcase/#/virtualscroller",
|
|
12437
|
-
"description": "
|
|
12588
|
+
"description": "Used to implement a custom loader instead of using the loader feature in the VirtualScroller.",
|
|
12438
12589
|
"value": {
|
|
12439
12590
|
"kind": "expression",
|
|
12440
|
-
"type": "
|
|
12591
|
+
"type": "boolean"
|
|
12441
12592
|
}
|
|
12442
12593
|
},
|
|
12443
12594
|
{
|
|
12444
|
-
"name": "
|
|
12445
|
-
"default": "
|
|
12595
|
+
"name": "loading",
|
|
12596
|
+
"default": "false",
|
|
12446
12597
|
"doc-url": "https://primefaces.org/primevue/showcase/#/virtualscroller",
|
|
12447
|
-
"description": "
|
|
12598
|
+
"description": "Whether the data is loaded.",
|
|
12448
12599
|
"value": {
|
|
12449
12600
|
"kind": "expression",
|
|
12450
|
-
"type": "
|
|
12601
|
+
"type": "boolean"
|
|
12602
|
+
}
|
|
12603
|
+
},
|
|
12604
|
+
{
|
|
12605
|
+
"name": "showSpacer",
|
|
12606
|
+
"default": "true",
|
|
12607
|
+
"doc-url": "https://primefaces.org/primevue/showcase/#/virtualscroller",
|
|
12608
|
+
"description": "Used to implement a custom spacer instead of using the spacer feature in the VirtualScroller.",
|
|
12609
|
+
"value": {
|
|
12610
|
+
"kind": "expression",
|
|
12611
|
+
"type": "boolean"
|
|
12612
|
+
}
|
|
12613
|
+
},
|
|
12614
|
+
{
|
|
12615
|
+
"name": "showLoader",
|
|
12616
|
+
"default": "false",
|
|
12617
|
+
"doc-url": "https://primefaces.org/primevue/showcase/#/virtualscroller",
|
|
12618
|
+
"description": "Whether to show loader.",
|
|
12619
|
+
"value": {
|
|
12620
|
+
"kind": "expression",
|
|
12621
|
+
"type": "boolean"
|
|
12451
12622
|
}
|
|
12452
12623
|
}
|
|
12453
12624
|
],
|
|
12454
12625
|
"events": [
|
|
12626
|
+
{
|
|
12627
|
+
"name": "scroll",
|
|
12628
|
+
"doc-url": "https://primefaces.org/primevue/showcase/#/virtualscroller",
|
|
12629
|
+
"description": "Callback to invoke when scroll position changes.",
|
|
12630
|
+
"arguments": [
|
|
12631
|
+
{
|
|
12632
|
+
"name": "event",
|
|
12633
|
+
"doc-url": "https://primefaces.org/primevue/showcase/#/virtualscroller",
|
|
12634
|
+
"type": "any",
|
|
12635
|
+
"description": "Browser event."
|
|
12636
|
+
}
|
|
12637
|
+
]
|
|
12638
|
+
},
|
|
12455
12639
|
{
|
|
12456
12640
|
"name": "scroll-index-change",
|
|
12457
12641
|
"doc-url": "https://primefaces.org/primevue/showcase/#/virtualscroller",
|