primevue 3.11.1 → 3.12.2
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.esm.js +1 -1
- package/accordion/accordion.esm.min.js +1 -1
- package/accordion/accordion.js +1 -1
- package/accordiontab/accordiontab.esm.js +1 -1
- package/accordiontab/accordiontab.esm.min.js +1 -1
- package/accordiontab/accordiontab.js +1 -1
- package/api/api.js +1 -1
- package/autocomplete/autocomplete.cjs.js +4 -4
- package/autocomplete/autocomplete.esm.js +1 -1
- package/autocomplete/autocomplete.esm.min.js +1 -1
- package/autocomplete/autocomplete.js +5 -5
- package/avatar/avatar.esm.js +1 -1
- package/avatar/avatar.esm.min.js +1 -1
- package/avatar/avatar.js +1 -1
- package/avatargroup/avatargroup.esm.js +1 -1
- package/avatargroup/avatargroup.esm.min.js +1 -1
- package/avatargroup/avatargroup.js +1 -1
- 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.esm.js +1 -1
- package/blockui/blockui.esm.min.js +1 -1
- package/blockui/blockui.js +1 -1
- package/breadcrumb/breadcrumb.esm.js +1 -1
- package/breadcrumb/breadcrumb.esm.min.js +1 -1
- package/breadcrumb/breadcrumb.js +1 -1
- 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 +30 -0
- package/calendar/Calendar.vue +19 -10
- package/calendar/calendar.cjs.js +22 -13
- package/calendar/calendar.cjs.min.js +1 -1
- package/calendar/calendar.esm.js +20 -11
- package/calendar/calendar.esm.min.js +1 -1
- package/calendar/calendar.js +23 -14
- package/calendar/calendar.min.js +1 -1
- package/card/card.esm.js +1 -1
- package/card/card.esm.min.js +1 -1
- package/card/card.js +1 -1
- 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.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.cjs.js +4 -2
- package/chart/chart.esm.js +1 -1
- package/chart/chart.esm.min.js +1 -1
- package/chart/chart.js +1 -1
- package/checkbox/checkbox.esm.js +1 -1
- package/checkbox/checkbox.esm.min.js +1 -1
- package/checkbox/checkbox.js +1 -1
- package/chip/chip.esm.js +1 -1
- package/chip/chip.esm.min.js +1 -1
- package/chip/chip.js +1 -1
- package/chips/chips.esm.js +1 -1
- package/chips/chips.esm.min.js +1 -1
- package/chips/chips.js +1 -1
- 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 +19 -3
- 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.esm.js +1 -1
- package/columngroup/columngroup.esm.min.js +1 -1
- package/columngroup/columngroup.js +1 -1
- package/config/PrimeVue.d.ts +8 -0
- package/config/config.cjs.js +1 -1
- package/config/config.esm.js +2 -1
- 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 +4 -0
- package/confirmationservice/ConfirmationService.d.ts +8 -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.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.vue +1 -1
- package/confirmpopup/confirmpopup.cjs.js +7 -7
- package/confirmpopup/confirmpopup.cjs.min.js +1 -1
- package/confirmpopup/confirmpopup.esm.js +2 -2
- package/confirmpopup/confirmpopup.esm.min.js +1 -1
- package/confirmpopup/confirmpopup.js +8 -8
- package/confirmpopup/confirmpopup.min.js +1 -1
- 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 +115 -81
- package/core/core.min.js +6 -6
- package/datatable/BodyCell.vue +17 -8
- package/datatable/DataTable.d.ts +1 -1
- package/datatable/DataTable.vue +18 -15
- package/datatable/RowCheckbox.vue +1 -1
- package/datatable/TableBody.vue +7 -1
- package/datatable/datatable.cjs.js +68 -47
- package/datatable/datatable.cjs.min.js +1 -1
- package/datatable/datatable.esm.js +57 -36
- package/datatable/datatable.esm.min.js +1 -1
- package/datatable/datatable.js +69 -48
- package/datatable/datatable.min.js +1 -1
- package/dataview/DataView.d.ts +1 -1
- 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.esm.js +1 -1
- package/dataviewlayoutoptions/dataviewlayoutoptions.esm.min.js +1 -1
- package/dataviewlayoutoptions/dataviewlayoutoptions.js +1 -1
- package/deferredcontent/DeferredContent.vue +2 -2
- package/deferredcontent/deferredcontent.cjs.js +2 -2
- package/deferredcontent/deferredcontent.cjs.min.js +1 -1
- package/deferredcontent/deferredcontent.esm.js +3 -3
- package/deferredcontent/deferredcontent.esm.min.js +1 -1
- package/deferredcontent/deferredcontent.js +3 -3
- package/deferredcontent/deferredcontent.min.js +1 -1
- package/dialog/dialog.cjs.js +1 -1
- package/dialog/dialog.esm.js +1 -1
- package/dialog/dialog.esm.min.js +1 -1
- package/dialog/dialog.js +2 -2
- package/divider/divider.esm.js +1 -1
- package/divider/divider.esm.min.js +1 -1
- package/divider/divider.js +1 -1
- package/dock/dock.cjs.js +2 -2
- package/dock/dock.esm.js +1 -1
- package/dock/dock.esm.min.js +1 -1
- package/dock/dock.js +3 -3
- package/dropdown/Dropdown.vue +15 -10
- package/dropdown/dropdown.cjs.js +26 -22
- package/dropdown/dropdown.cjs.min.js +1 -1
- package/dropdown/dropdown.esm.js +25 -21
- package/dropdown/dropdown.esm.min.js +1 -1
- package/dropdown/dropdown.js +27 -23
- package/dropdown/dropdown.min.js +1 -1
- 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.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.vue +1 -0
- package/fileupload/fileupload.cjs.js +5 -4
- package/fileupload/fileupload.cjs.min.js +1 -1
- package/fileupload/fileupload.esm.js +2 -1
- package/fileupload/fileupload.esm.min.js +1 -1
- package/fileupload/fileupload.js +6 -5
- package/fileupload/fileupload.min.js +1 -1
- package/fullcalendar/fullcalendar.esm.js +1 -1
- package/fullcalendar/fullcalendar.esm.min.js +1 -1
- package/fullcalendar/fullcalendar.js +1 -1
- package/galleria/Galleria.vue +2 -8
- package/galleria/galleria.cjs.js +5 -11
- package/galleria/galleria.cjs.min.js +1 -1
- package/galleria/galleria.esm.js +3 -9
- package/galleria/galleria.esm.min.js +1 -1
- package/galleria/galleria.js +6 -12
- package/galleria/galleria.min.js +1 -1
- package/image/image.esm.js +1 -1
- package/image/image.esm.min.js +1 -1
- package/image/image.js +1 -1
- package/inlinemessage/inlinemessage.esm.js +1 -1
- package/inlinemessage/inlinemessage.esm.min.js +1 -1
- package/inlinemessage/inlinemessage.js +1 -1
- 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.esm.js +1 -1
- package/inputmask/inputmask.esm.min.js +1 -1
- package/inputmask/inputmask.js +1 -1
- package/inputnumber/InputNumber.d.ts +22 -1
- package/inputnumber/InputNumber.vue +7 -3
- package/inputnumber/inputnumber.cjs.js +8 -4
- package/inputnumber/inputnumber.cjs.min.js +1 -1
- package/inputnumber/inputnumber.esm.js +7 -3
- package/inputnumber/inputnumber.esm.min.js +1 -1
- package/inputnumber/inputnumber.js +9 -5
- package/inputnumber/inputnumber.min.js +1 -1
- package/inputswitch/InputSwitch.d.ts +1 -1
- package/inputswitch/inputswitch.esm.js +1 -1
- package/inputswitch/inputswitch.esm.min.js +1 -1
- package/inputswitch/inputswitch.js +1 -1
- package/inputtext/inputtext.esm.js +1 -1
- package/inputtext/inputtext.esm.min.js +1 -1
- package/inputtext/inputtext.js +1 -1
- 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.cjs.js +2 -2
- package/listbox/listbox.esm.js +1 -1
- package/listbox/listbox.esm.min.js +1 -1
- package/listbox/listbox.js +3 -3
- 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.vue +1 -1
- package/menu/menu.cjs.js +3 -3
- package/menu/menu.cjs.min.js +1 -1
- package/menu/menu.esm.js +2 -2
- package/menu/menu.esm.min.js +1 -1
- package/menu/menu.js +4 -4
- package/menu/menu.min.js +1 -1
- 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/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.vue +21 -14
- package/multiselect/multiselect.cjs.js +25 -16
- package/multiselect/multiselect.cjs.min.js +1 -1
- package/multiselect/multiselect.esm.js +23 -14
- package/multiselect/multiselect.esm.min.js +1 -1
- package/multiselect/multiselect.js +26 -17
- package/multiselect/multiselect.min.js +1 -1
- package/orderlist/OrderList.d.ts +4 -0
- 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 +1 -1
- 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.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.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.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.vue +9 -4
- package/panelmenu/PanelMenuSub.vue +6 -1
- package/panelmenu/panelmenu.cjs.js +16 -4
- package/panelmenu/panelmenu.cjs.min.js +1 -1
- package/panelmenu/panelmenu.esm.js +17 -5
- package/panelmenu/panelmenu.esm.min.js +1 -1
- package/panelmenu/panelmenu.js +17 -5
- package/panelmenu/panelmenu.min.js +1 -1
- 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 +5 -1
- 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.esm.js +1 -1
- package/progressbar/progressbar.esm.min.js +1 -1
- package/progressbar/progressbar.js +1 -1
- package/progressspinner/progressspinner.esm.js +1 -1
- package/progressspinner/progressspinner.esm.min.js +1 -1
- package/progressspinner/progressspinner.js +1 -1
- package/radiobutton/radiobutton.esm.js +1 -1
- package/radiobutton/radiobutton.esm.min.js +1 -1
- package/radiobutton/radiobutton.js +1 -1
- 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 +275 -1
- package/resources/themes/arya-green/theme.css +275 -1
- package/resources/themes/arya-orange/theme.css +275 -1
- package/resources/themes/arya-purple/theme.css +275 -1
- package/resources/themes/bootstrap4-dark-blue/theme.css +279 -1
- package/resources/themes/bootstrap4-dark-purple/theme.css +279 -1
- package/resources/themes/bootstrap4-light-blue/theme.css +278 -0
- package/resources/themes/bootstrap4-light-purple/theme.css +278 -0
- package/resources/themes/fluent-light/theme.css +274 -0
- package/resources/themes/lara-dark-blue/theme.css +282 -52
- package/resources/themes/lara-dark-indigo/theme.css +282 -52
- package/resources/themes/lara-dark-purple/theme.css +282 -52
- package/resources/themes/lara-dark-teal/theme.css +282 -52
- package/resources/themes/lara-light-blue/theme.css +374 -144
- package/resources/themes/lara-light-indigo/theme.css +281 -51
- package/resources/themes/lara-light-purple/theme.css +281 -51
- package/resources/themes/lara-light-teal/theme.css +281 -51
- package/resources/themes/luna-amber/theme.css +274 -0
- package/resources/themes/luna-blue/theme.css +274 -0
- package/resources/themes/luna-green/theme.css +274 -0
- package/resources/themes/luna-pink/theme.css +274 -0
- package/resources/themes/md-dark-deeppurple/theme.css +365 -8
- package/resources/themes/md-dark-indigo/theme.css +365 -8
- package/resources/themes/md-light-deeppurple/theme.css +362 -5
- package/resources/themes/md-light-indigo/theme.css +362 -5
- package/resources/themes/mdc-dark-deeppurple/theme.css +365 -8
- package/resources/themes/mdc-dark-indigo/theme.css +365 -8
- package/resources/themes/mdc-light-deeppurple/theme.css +362 -5
- package/resources/themes/mdc-light-indigo/theme.css +362 -5
- package/resources/themes/nova/theme.css +274 -0
- package/resources/themes/nova-accent/theme.css +274 -0
- package/resources/themes/nova-alt/theme.css +274 -0
- package/resources/themes/nova-vue/theme.css +274 -0
- package/resources/themes/rhea/theme.css +274 -0
- package/resources/themes/saga-blue/theme.css +274 -0
- package/resources/themes/saga-green/theme.css +274 -0
- package/resources/themes/saga-orange/theme.css +274 -0
- package/resources/themes/saga-purple/theme.css +274 -0
- package/resources/themes/tailwind-light/theme.css +274 -0
- package/resources/themes/vela-blue/theme.css +275 -1
- package/resources/themes/vela-green/theme.css +275 -1
- package/resources/themes/vela-orange/theme.css +275 -1
- package/resources/themes/vela-purple/theme.css +275 -1
- package/ripple/ripple.esm.js +1 -1
- package/ripple/ripple.esm.min.js +1 -1
- package/ripple/ripple.js +1 -1
- package/row/row.esm.js +1 -1
- package/row/row.esm.min.js +1 -1
- package/row/row.js +1 -1
- package/scrollpanel/scrollpanel.esm.js +1 -1
- package/scrollpanel/scrollpanel.esm.min.js +1 -1
- package/scrollpanel/scrollpanel.js +1 -1
- package/scrolltop/scrolltop.esm.js +1 -1
- package/scrolltop/scrolltop.esm.min.js +1 -1
- package/scrolltop/scrolltop.js +1 -1
- 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.cjs.js +1 -1
- package/sidebar/sidebar.esm.js +1 -1
- package/sidebar/sidebar.esm.min.js +1 -1
- package/sidebar/sidebar.js +2 -2
- package/skeleton/skeleton.esm.js +1 -1
- package/skeleton/skeleton.esm.min.js +1 -1
- package/skeleton/skeleton.js +1 -1
- package/slider/Slider.vue +10 -2
- package/slider/slider.cjs.js +9 -1
- package/slider/slider.cjs.min.js +1 -1
- package/slider/slider.esm.js +10 -2
- package/slider/slider.esm.min.js +1 -1
- package/slider/slider.js +10 -2
- package/slider/slider.min.js +1 -1
- package/speeddial/speeddial.cjs.js +3 -3
- package/speeddial/speeddial.esm.js +1 -1
- package/speeddial/speeddial.esm.min.js +1 -1
- package/speeddial/speeddial.js +4 -4
- package/splitbutton/SplitButton.vue +6 -2
- package/splitbutton/splitbutton.cjs.js +5 -5
- package/splitbutton/splitbutton.cjs.min.js +1 -1
- package/splitbutton/splitbutton.esm.js +4 -4
- package/splitbutton/splitbutton.esm.min.js +1 -1
- package/splitbutton/splitbutton.js +6 -6
- package/splitbutton/splitbutton.min.js +1 -1
- package/splitter/Splitter.vue +1 -1
- 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.esm.js +1 -1
- package/splitterpanel/splitterpanel.esm.min.js +1 -1
- package/splitterpanel/splitterpanel.js +1 -1
- 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.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.esm.js +1 -1
- package/tabpanel/tabpanel.esm.min.js +1 -1
- package/tabpanel/tabpanel.js +1 -1
- 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.esm.js +1 -1
- package/tag/tag.esm.min.js +1 -1
- package/tag/tag.js +1 -1
- 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.esm.js +1 -1
- package/terminalservice/terminalservice.esm.min.js +1 -1
- package/terminalservice/terminalservice.js +1 -1
- package/textarea/textarea.esm.js +1 -1
- package/textarea/textarea.esm.min.js +1 -1
- package/textarea/textarea.js +1 -1
- package/tieredmenu/TieredMenu.vue +1 -1
- package/tieredmenu/tieredmenu.cjs.js +3 -3
- package/tieredmenu/tieredmenu.cjs.min.js +1 -1
- package/tieredmenu/tieredmenu.esm.js +2 -2
- package/tieredmenu/tieredmenu.esm.min.js +1 -1
- package/tieredmenu/tieredmenu.js +4 -4
- package/tieredmenu/tieredmenu.min.js +1 -1
- 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 +1 -1
- 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.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.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.esm.js +1 -1
- package/toolbar/toolbar.esm.min.js +1 -1
- package/toolbar/toolbar.js +1 -1
- package/tooltip/tooltip.cjs.js +16 -0
- package/tooltip/tooltip.cjs.min.js +1 -1
- package/tooltip/tooltip.esm.js +17 -1
- package/tooltip/tooltip.esm.min.js +1 -1
- package/tooltip/tooltip.js +17 -1
- package/tooltip/tooltip.min.js +1 -1
- package/tree/tree.cjs.js +1 -1
- package/tree/tree.esm.js +1 -1
- package/tree/tree.esm.min.js +1 -1
- package/tree/tree.js +2 -2
- 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/FooterCell.vue +1 -1
- package/treetable/TreeTable.d.ts +1 -1
- package/treetable/treetable.cjs.js +3 -3
- package/treetable/treetable.cjs.min.js +1 -1
- package/treetable/treetable.esm.js +2 -2
- package/treetable/treetable.esm.min.js +1 -1
- package/treetable/treetable.js +4 -4
- package/treetable/treetable.min.js +1 -1
- package/tristatecheckbox/tristatecheckbox.esm.js +1 -1
- package/tristatecheckbox/tristatecheckbox.esm.min.js +1 -1
- package/tristatecheckbox/tristatecheckbox.js +1 -1
- package/useconfirm/useconfirm.js +1 -1
- package/usetoast/usetoast.js +1 -1
- package/utils/utils.js +1 -1
- package/vetur-attributes.json +15 -3
- package/vetur-tags.json +6 -3
- package/virtualscroller/VirtualScroller.vue +23 -13
- package/virtualscroller/virtualscroller.cjs.js +23 -13
- package/virtualscroller/virtualscroller.cjs.min.js +1 -1
- package/virtualscroller/virtualscroller.esm.js +24 -14
- package/virtualscroller/virtualscroller.esm.min.js +1 -1
- package/virtualscroller/virtualscroller.js +24 -14
- package/virtualscroller/virtualscroller.min.js +1 -1
- package/web-types.json +130 -10
- package/resources/themes/lara-dark-blue/fonts/Inter-Bold.woff +0 -0
- package/resources/themes/lara-dark-blue/fonts/Inter-Bold.woff2 +0 -0
- package/resources/themes/lara-dark-blue/fonts/Inter-Light.woff +0 -0
- package/resources/themes/lara-dark-blue/fonts/Inter-Light.woff2 +0 -0
- package/resources/themes/lara-dark-blue/fonts/Inter-Medium.woff +0 -0
- package/resources/themes/lara-dark-blue/fonts/Inter-Medium.woff2 +0 -0
- package/resources/themes/lara-dark-blue/fonts/Inter-Regular.woff +0 -0
- package/resources/themes/lara-dark-blue/fonts/Inter-Regular.woff2 +0 -0
- package/resources/themes/lara-dark-blue/fonts/Inter-SemiBold.woff +0 -0
- package/resources/themes/lara-dark-blue/fonts/Inter-SemiBold.woff2 +0 -0
- package/resources/themes/lara-dark-indigo/fonts/Inter-Bold.woff +0 -0
- package/resources/themes/lara-dark-indigo/fonts/Inter-Bold.woff2 +0 -0
- package/resources/themes/lara-dark-indigo/fonts/Inter-Light.woff +0 -0
- package/resources/themes/lara-dark-indigo/fonts/Inter-Light.woff2 +0 -0
- package/resources/themes/lara-dark-indigo/fonts/Inter-Medium.woff +0 -0
- package/resources/themes/lara-dark-indigo/fonts/Inter-Medium.woff2 +0 -0
- package/resources/themes/lara-dark-indigo/fonts/Inter-Regular.woff +0 -0
- package/resources/themes/lara-dark-indigo/fonts/Inter-Regular.woff2 +0 -0
- package/resources/themes/lara-dark-indigo/fonts/Inter-SemiBold.woff +0 -0
- package/resources/themes/lara-dark-indigo/fonts/Inter-SemiBold.woff2 +0 -0
- package/resources/themes/lara-dark-purple/fonts/Inter-Bold.woff +0 -0
- package/resources/themes/lara-dark-purple/fonts/Inter-Bold.woff2 +0 -0
- package/resources/themes/lara-dark-purple/fonts/Inter-Light.woff +0 -0
- package/resources/themes/lara-dark-purple/fonts/Inter-Light.woff2 +0 -0
- package/resources/themes/lara-dark-purple/fonts/Inter-Medium.woff +0 -0
- package/resources/themes/lara-dark-purple/fonts/Inter-Medium.woff2 +0 -0
- package/resources/themes/lara-dark-purple/fonts/Inter-Regular.woff +0 -0
- package/resources/themes/lara-dark-purple/fonts/Inter-Regular.woff2 +0 -0
- package/resources/themes/lara-dark-purple/fonts/Inter-SemiBold.woff +0 -0
- package/resources/themes/lara-dark-purple/fonts/Inter-SemiBold.woff2 +0 -0
- package/resources/themes/lara-dark-teal/fonts/Inter-Bold.woff +0 -0
- package/resources/themes/lara-dark-teal/fonts/Inter-Bold.woff2 +0 -0
- package/resources/themes/lara-dark-teal/fonts/Inter-Light.woff +0 -0
- package/resources/themes/lara-dark-teal/fonts/Inter-Light.woff2 +0 -0
- package/resources/themes/lara-dark-teal/fonts/Inter-Medium.woff +0 -0
- package/resources/themes/lara-dark-teal/fonts/Inter-Medium.woff2 +0 -0
- package/resources/themes/lara-dark-teal/fonts/Inter-Regular.woff +0 -0
- package/resources/themes/lara-dark-teal/fonts/Inter-Regular.woff2 +0 -0
- package/resources/themes/lara-dark-teal/fonts/Inter-SemiBold.woff +0 -0
- package/resources/themes/lara-dark-teal/fonts/Inter-SemiBold.woff2 +0 -0
- package/resources/themes/lara-light-blue/fonts/Inter-Bold.woff +0 -0
- package/resources/themes/lara-light-blue/fonts/Inter-Bold.woff2 +0 -0
- package/resources/themes/lara-light-blue/fonts/Inter-Light.woff +0 -0
- package/resources/themes/lara-light-blue/fonts/Inter-Light.woff2 +0 -0
- package/resources/themes/lara-light-blue/fonts/Inter-Medium.woff +0 -0
- package/resources/themes/lara-light-blue/fonts/Inter-Medium.woff2 +0 -0
- package/resources/themes/lara-light-blue/fonts/Inter-Regular.woff +0 -0
- package/resources/themes/lara-light-blue/fonts/Inter-Regular.woff2 +0 -0
- package/resources/themes/lara-light-blue/fonts/Inter-SemiBold.woff +0 -0
- package/resources/themes/lara-light-blue/fonts/Inter-SemiBold.woff2 +0 -0
- package/resources/themes/lara-light-indigo/fonts/Inter-Bold.woff +0 -0
- package/resources/themes/lara-light-indigo/fonts/Inter-Bold.woff2 +0 -0
- package/resources/themes/lara-light-indigo/fonts/Inter-Light.woff +0 -0
- package/resources/themes/lara-light-indigo/fonts/Inter-Light.woff2 +0 -0
- package/resources/themes/lara-light-indigo/fonts/Inter-Medium.woff +0 -0
- package/resources/themes/lara-light-indigo/fonts/Inter-Medium.woff2 +0 -0
- package/resources/themes/lara-light-indigo/fonts/Inter-Regular.woff +0 -0
- package/resources/themes/lara-light-indigo/fonts/Inter-Regular.woff2 +0 -0
- package/resources/themes/lara-light-indigo/fonts/Inter-SemiBold.woff +0 -0
- package/resources/themes/lara-light-indigo/fonts/Inter-SemiBold.woff2 +0 -0
- package/resources/themes/lara-light-purple/fonts/Inter-Bold.woff +0 -0
- package/resources/themes/lara-light-purple/fonts/Inter-Bold.woff2 +0 -0
- package/resources/themes/lara-light-purple/fonts/Inter-Light.woff +0 -0
- package/resources/themes/lara-light-purple/fonts/Inter-Light.woff2 +0 -0
- package/resources/themes/lara-light-purple/fonts/Inter-Medium.woff +0 -0
- package/resources/themes/lara-light-purple/fonts/Inter-Medium.woff2 +0 -0
- package/resources/themes/lara-light-purple/fonts/Inter-Regular.woff +0 -0
- package/resources/themes/lara-light-purple/fonts/Inter-Regular.woff2 +0 -0
- package/resources/themes/lara-light-purple/fonts/Inter-SemiBold.woff +0 -0
- package/resources/themes/lara-light-purple/fonts/Inter-SemiBold.woff2 +0 -0
- package/resources/themes/lara-light-teal/fonts/Inter-Bold.woff +0 -0
- package/resources/themes/lara-light-teal/fonts/Inter-Bold.woff2 +0 -0
- package/resources/themes/lara-light-teal/fonts/Inter-Light.woff +0 -0
- package/resources/themes/lara-light-teal/fonts/Inter-Light.woff2 +0 -0
- package/resources/themes/lara-light-teal/fonts/Inter-Medium.woff +0 -0
- package/resources/themes/lara-light-teal/fonts/Inter-Medium.woff2 +0 -0
- package/resources/themes/lara-light-teal/fonts/Inter-Regular.woff +0 -0
- package/resources/themes/lara-light-teal/fonts/Inter-Regular.woff2 +0 -0
- package/resources/themes/lara-light-teal/fonts/Inter-SemiBold.woff +0 -0
- package/resources/themes/lara-light-teal/fonts/Inter-SemiBold.woff2 +0 -0
package/datatable/DataTable.vue
CHANGED
|
@@ -731,7 +731,7 @@ export default {
|
|
|
731
731
|
this.$emit('update:selection', _selection);
|
|
732
732
|
}
|
|
733
733
|
|
|
734
|
-
this.$emit('row-unselect', {originalEvent: event, data: rowData, index:
|
|
734
|
+
this.$emit('row-unselect', {originalEvent: event, data: rowData, index: rowIndex, type: 'row'});
|
|
735
735
|
}
|
|
736
736
|
else {
|
|
737
737
|
if(this.isSingleSelectionMode()) {
|
|
@@ -743,18 +743,18 @@ export default {
|
|
|
743
743
|
this.$emit('update:selection', _selection);
|
|
744
744
|
}
|
|
745
745
|
|
|
746
|
-
this.$emit('row-select', {originalEvent: event, data: rowData, index:
|
|
746
|
+
this.$emit('row-select', {originalEvent: event, data: rowData, index: rowIndex, type: 'row'});
|
|
747
747
|
}
|
|
748
748
|
}
|
|
749
749
|
else {
|
|
750
750
|
if (this.selectionMode === 'single') {
|
|
751
751
|
if (selected) {
|
|
752
752
|
this.$emit('update:selection', null);
|
|
753
|
-
this.$emit('row-unselect', {originalEvent: event, data: rowData, index:
|
|
753
|
+
this.$emit('row-unselect', {originalEvent: event, data: rowData, index: rowIndex, type: 'row'});
|
|
754
754
|
}
|
|
755
755
|
else {
|
|
756
756
|
this.$emit('update:selection', rowData);
|
|
757
|
-
this.$emit('row-select', {originalEvent: event, data: rowData, index:
|
|
757
|
+
this.$emit('row-select', {originalEvent: event, data: rowData, index: rowIndex, type: 'row'});
|
|
758
758
|
}
|
|
759
759
|
}
|
|
760
760
|
else if (this.selectionMode === 'multiple') {
|
|
@@ -762,12 +762,12 @@ export default {
|
|
|
762
762
|
const selectionIndex = this.findIndexInSelection(rowData);
|
|
763
763
|
const _selection = this.selection.filter((val, i) => i != selectionIndex);
|
|
764
764
|
this.$emit('update:selection', _selection);
|
|
765
|
-
this.$emit('row-unselect', {originalEvent: event, data: rowData, index:
|
|
765
|
+
this.$emit('row-unselect', {originalEvent: event, data: rowData, index: rowIndex, type: 'row'});
|
|
766
766
|
}
|
|
767
767
|
else {
|
|
768
768
|
const _selection = this.selection ? [...this.selection, rowData] : [rowData];
|
|
769
769
|
this.$emit('update:selection', _selection);
|
|
770
|
-
this.$emit('row-select', {originalEvent: event, data: rowData, index:
|
|
770
|
+
this.$emit('row-select', {originalEvent: event, data: rowData, index: rowIndex, type: 'row'});
|
|
771
771
|
}
|
|
772
772
|
}
|
|
773
773
|
}
|
|
@@ -863,11 +863,11 @@ export default {
|
|
|
863
863
|
|
|
864
864
|
if (this.isSelected(rowData)) {
|
|
865
865
|
this.$emit('update:selection', null);
|
|
866
|
-
this.$emit('row-unselect', {originalEvent: event, data: rowData, type: 'radiobutton'});
|
|
866
|
+
this.$emit('row-unselect', { originalEvent: event.originalEvent, data: rowData, index: event.index, type: 'radiobutton' });
|
|
867
867
|
}
|
|
868
868
|
else {
|
|
869
869
|
this.$emit('update:selection', rowData);
|
|
870
|
-
this.$emit('row-select', {originalEvent: event, data: rowData, type: 'radiobutton'});
|
|
870
|
+
this.$emit('row-select', { originalEvent: event.originalEvent, data: rowData, index: event.index, type: 'radiobutton' });
|
|
871
871
|
}
|
|
872
872
|
},
|
|
873
873
|
toggleRowWithCheckbox(event) {
|
|
@@ -877,13 +877,13 @@ export default {
|
|
|
877
877
|
const selectionIndex = this.findIndexInSelection(rowData);
|
|
878
878
|
const _selection = this.selection.filter((val, i) => i != selectionIndex);
|
|
879
879
|
this.$emit('update:selection', _selection);
|
|
880
|
-
this.$emit('row-unselect', {originalEvent: event, data: rowData, type: 'checkbox'});
|
|
880
|
+
this.$emit('row-unselect', { originalEvent: event.originalEvent, data: rowData, index: event.index, type: 'checkbox' });
|
|
881
881
|
}
|
|
882
882
|
else {
|
|
883
883
|
let _selection = this.selection ? [...this.selection] : [];
|
|
884
884
|
_selection = [..._selection, rowData];
|
|
885
885
|
this.$emit('update:selection', _selection);
|
|
886
|
-
this.$emit('row-select', {originalEvent: event, data: rowData, type: 'checkbox'});
|
|
886
|
+
this.$emit('row-select', { originalEvent: event.originalEvent, data: rowData, index: event.index, type: 'checkbox' });
|
|
887
887
|
}
|
|
888
888
|
},
|
|
889
889
|
toggleRowsWithCheckbox(event) {
|
|
@@ -1033,7 +1033,7 @@ export default {
|
|
|
1033
1033
|
else
|
|
1034
1034
|
headerInitiated = true;
|
|
1035
1035
|
|
|
1036
|
-
csv += '"' + (this.columnProp(column, 'header') || this.columnProp(column, 'field')) + '"';
|
|
1036
|
+
csv += '"' + (this.columnProp(column, 'exportHeader') || this.columnProp(column, 'header') || this.columnProp(column, 'field')) + '"';
|
|
1037
1037
|
}
|
|
1038
1038
|
}
|
|
1039
1039
|
|
|
@@ -1154,7 +1154,7 @@ export default {
|
|
|
1154
1154
|
}
|
|
1155
1155
|
`
|
|
1156
1156
|
});
|
|
1157
|
-
|
|
1157
|
+
|
|
1158
1158
|
this.styleElement.innerHTML = innerHTML;
|
|
1159
1159
|
},
|
|
1160
1160
|
bindColumnResizeEvents() {
|
|
@@ -1625,16 +1625,19 @@ export default {
|
|
|
1625
1625
|
},
|
|
1626
1626
|
onEditingMetaChange(event) {
|
|
1627
1627
|
let { data, field, index, editing } = event;
|
|
1628
|
-
let
|
|
1628
|
+
let editingMeta = { ...this.d_editingMeta };
|
|
1629
|
+
let meta = editingMeta[index];
|
|
1629
1630
|
|
|
1630
1631
|
if (editing) {
|
|
1631
|
-
!meta && (meta =
|
|
1632
|
+
!meta && (meta = editingMeta[index] = { data: { ...data }, fields: [] });
|
|
1632
1633
|
meta['fields'].push(field);
|
|
1633
1634
|
}
|
|
1634
1635
|
else if (meta) {
|
|
1635
1636
|
const fields = meta['fields'].filter(f => f !== field);
|
|
1636
|
-
!fields.length ? (delete
|
|
1637
|
+
!fields.length ? (delete editingMeta[index]) : (meta['fields'] = fields);
|
|
1637
1638
|
}
|
|
1639
|
+
|
|
1640
|
+
this.d_editingMeta = editingMeta;
|
|
1638
1641
|
},
|
|
1639
1642
|
clearEditingMetaData() {
|
|
1640
1643
|
if (this.editMode) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div :class="['p-checkbox p-component', {'p-checkbox-focused': focused}]" @click="onClick">
|
|
2
|
+
<div :class="['p-checkbox p-component', {'p-checkbox-focused': focused}]" @click.stop.prevent="onClick">
|
|
3
3
|
<div ref="box" :class="['p-checkbox-box p-component', {'p-highlight': checked, 'p-disabled': $attrs.disabled, 'p-focus': focused}]"
|
|
4
4
|
role="checkbox" :aria-checked="checked" :tabindex="$attrs.disabled ? null : '0'" @keydown.space.prevent="onClick" @focus="onFocus($event)" @blur="onBlur($event)">
|
|
5
5
|
<span :class="['p-checkbox-icon', {'pi pi-check': checked}]"></span>
|
package/datatable/TableBody.vue
CHANGED
|
@@ -505,7 +505,13 @@ export default {
|
|
|
505
505
|
},
|
|
506
506
|
computed: {
|
|
507
507
|
columnsLength() {
|
|
508
|
-
|
|
508
|
+
let hiddenColLength = 0;
|
|
509
|
+
|
|
510
|
+
this.columns.forEach(column => {
|
|
511
|
+
if(this.columnProp(column, 'hidden')) hiddenColLength++;
|
|
512
|
+
});
|
|
513
|
+
|
|
514
|
+
return this.columns ? this.columns.length - hiddenColLength : 0;
|
|
509
515
|
},
|
|
510
516
|
rowGroupHeaderStyle() {
|
|
511
517
|
if (this.scrollable) {
|
|
@@ -160,7 +160,7 @@ var script$9 = {
|
|
|
160
160
|
overlayEventListener: null,
|
|
161
161
|
beforeUnmount() {
|
|
162
162
|
if (this.overlayEventListener) {
|
|
163
|
-
OverlayEventBus__default[
|
|
163
|
+
OverlayEventBus__default['default'].off('overlay-click', this.overlayEventListener);
|
|
164
164
|
this.overlayEventListener = null;
|
|
165
165
|
}
|
|
166
166
|
|
|
@@ -363,7 +363,7 @@ var script$9 = {
|
|
|
363
363
|
onContentClick(event) {
|
|
364
364
|
this.selfClick = true;
|
|
365
365
|
|
|
366
|
-
OverlayEventBus__default[
|
|
366
|
+
OverlayEventBus__default['default'].emit('overlay-click', {
|
|
367
367
|
originalEvent: event,
|
|
368
368
|
target: this.overlay
|
|
369
369
|
});
|
|
@@ -386,7 +386,7 @@ var script$9 = {
|
|
|
386
386
|
this.selfClick = true;
|
|
387
387
|
}
|
|
388
388
|
};
|
|
389
|
-
OverlayEventBus__default[
|
|
389
|
+
OverlayEventBus__default['default'].on('overlay-click', this.overlayEventListener);
|
|
390
390
|
},
|
|
391
391
|
onOverlayLeave() {
|
|
392
392
|
this.onOverlayHide();
|
|
@@ -399,7 +399,7 @@ var script$9 = {
|
|
|
399
399
|
this.unbindResizeListener();
|
|
400
400
|
this.unbindScrollListener();
|
|
401
401
|
this.overlay = null;
|
|
402
|
-
OverlayEventBus__default[
|
|
402
|
+
OverlayEventBus__default['default'].off('overlay-click', this.overlayEventListener);
|
|
403
403
|
this.overlayEventListener = null;
|
|
404
404
|
},
|
|
405
405
|
overlayRef(el) {
|
|
@@ -527,8 +527,8 @@ var script$9 = {
|
|
|
527
527
|
}
|
|
528
528
|
},
|
|
529
529
|
components: {
|
|
530
|
-
'CFDropdown': Dropdown__default[
|
|
531
|
-
'CFButton': Button__default[
|
|
530
|
+
'CFDropdown': Dropdown__default['default'],
|
|
531
|
+
'CFButton': Button__default['default']
|
|
532
532
|
}
|
|
533
533
|
};
|
|
534
534
|
|
|
@@ -1443,7 +1443,7 @@ var script$5 = {
|
|
|
1443
1443
|
function render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1444
1444
|
return (vue.openBlock(), vue.createBlock("div", {
|
|
1445
1445
|
class: ['p-checkbox p-component', {'p-checkbox-focused': $data.focused}],
|
|
1446
|
-
onClick: _cache[4] || (_cache[4] = (...args) => ($options.onClick && $options.onClick(...args)))
|
|
1446
|
+
onClick: _cache[4] || (_cache[4] = vue.withModifiers((...args) => ($options.onClick && $options.onClick(...args)), ["stop","prevent"]))
|
|
1447
1447
|
}, [
|
|
1448
1448
|
vue.createVNode("div", {
|
|
1449
1449
|
ref: "box",
|
|
@@ -1552,7 +1552,7 @@ var script$4 = {
|
|
|
1552
1552
|
},
|
|
1553
1553
|
beforeUnmount() {
|
|
1554
1554
|
if (this.overlayEventListener) {
|
|
1555
|
-
OverlayEventBus__default[
|
|
1555
|
+
OverlayEventBus__default['default'].off('overlay-click', this.overlayEventListener);
|
|
1556
1556
|
this.overlayEventListener = null;
|
|
1557
1557
|
}
|
|
1558
1558
|
},
|
|
@@ -1569,11 +1569,11 @@ var script$4 = {
|
|
|
1569
1569
|
data: this.rowData
|
|
1570
1570
|
});
|
|
1571
1571
|
},
|
|
1572
|
-
toggleRowWithRadio(event) {
|
|
1573
|
-
this.$emit('radio-change', event);
|
|
1572
|
+
toggleRowWithRadio(event, index) {
|
|
1573
|
+
this.$emit('radio-change', { originalEvent: event.originalEvent, index: index, data: event.data});
|
|
1574
1574
|
},
|
|
1575
|
-
toggleRowWithCheckbox(event) {
|
|
1576
|
-
this.$emit('checkbox-change', event);
|
|
1575
|
+
toggleRowWithCheckbox(event, index) {
|
|
1576
|
+
this.$emit('checkbox-change', { originalEvent: event.originalEvent, index: index, data: event.data });
|
|
1577
1577
|
},
|
|
1578
1578
|
isEditable() {
|
|
1579
1579
|
return this.column.children && this.column.children.editor != null;
|
|
@@ -1600,7 +1600,7 @@ var script$4 = {
|
|
|
1600
1600
|
switchCellToViewMode() {
|
|
1601
1601
|
this.d_editing = false;
|
|
1602
1602
|
this.unbindDocumentEditListener();
|
|
1603
|
-
OverlayEventBus__default[
|
|
1603
|
+
OverlayEventBus__default['default'].off('overlay-click', this.overlayEventListener);
|
|
1604
1604
|
this.overlayEventListener = null;
|
|
1605
1605
|
},
|
|
1606
1606
|
onClick(event) {
|
|
@@ -1617,7 +1617,7 @@ var script$4 = {
|
|
|
1617
1617
|
this.selfClick = true;
|
|
1618
1618
|
}
|
|
1619
1619
|
};
|
|
1620
|
-
OverlayEventBus__default[
|
|
1620
|
+
OverlayEventBus__default['default'].on('overlay-click', this.overlayEventListener);
|
|
1621
1621
|
}
|
|
1622
1622
|
}
|
|
1623
1623
|
},
|
|
@@ -1749,6 +1749,15 @@ var script$4 = {
|
|
|
1749
1749
|
onRowEditCancel(event) {
|
|
1750
1750
|
this.$emit('row-edit-cancel', {originalEvent: event, data: this.rowData, newData: this.editingRowData, field: this.field, index: this.rowIndex});
|
|
1751
1751
|
},
|
|
1752
|
+
editorInitCallback(event) {
|
|
1753
|
+
this.$emit('row-edit-init', {originalEvent: event, data: this.rowData, newData: this.editingRowData, field: this.field, index: this.rowIndex});
|
|
1754
|
+
},
|
|
1755
|
+
editorSaveCallback(event) {
|
|
1756
|
+
this.$emit('row-edit-save', {originalEvent: event, data: this.rowData, newData: this.editingRowData, field: this.field, index: this.rowIndex});
|
|
1757
|
+
},
|
|
1758
|
+
editorCancelCallback(event) {
|
|
1759
|
+
this.$emit('row-edit-cancel', {originalEvent: event, data: this.rowData, newData: this.editingRowData, field: this.field, index: this.rowIndex});
|
|
1760
|
+
},
|
|
1752
1761
|
updateStickyPosition() {
|
|
1753
1762
|
if (this.columnProp('frozen')) {
|
|
1754
1763
|
let align = this.columnProp('alignFrozen');
|
|
@@ -1816,7 +1825,7 @@ var script$4 = {
|
|
|
1816
1825
|
'DTCheckbox': script$5
|
|
1817
1826
|
},
|
|
1818
1827
|
directives: {
|
|
1819
|
-
'ripple': Ripple__default[
|
|
1828
|
+
'ripple': Ripple__default['default']
|
|
1820
1829
|
}
|
|
1821
1830
|
};
|
|
1822
1831
|
|
|
@@ -1852,8 +1861,8 @@ function render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1852
1861
|
key: 1,
|
|
1853
1862
|
style: $options.containerStyle,
|
|
1854
1863
|
class: $options.containerClass,
|
|
1855
|
-
onClick: _cache[
|
|
1856
|
-
onKeydown: _cache[
|
|
1864
|
+
onClick: _cache[7] || (_cache[7] = (...args) => ($options.onClick && $options.onClick(...args))),
|
|
1865
|
+
onKeydown: _cache[8] || (_cache[8] = (...args) => ($options.onKeyDown && $options.onKeyDown(...args))),
|
|
1857
1866
|
role: "cell"
|
|
1858
1867
|
}, [
|
|
1859
1868
|
($props.responsiveLayout === 'stack')
|
|
@@ -1866,8 +1875,9 @@ function render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1866
1875
|
column: $props.column,
|
|
1867
1876
|
field: $options.field,
|
|
1868
1877
|
index: $props.rowIndex,
|
|
1869
|
-
frozenRow: $props.frozenRow
|
|
1870
|
-
|
|
1878
|
+
frozenRow: $props.frozenRow,
|
|
1879
|
+
editorInitCallback: $options.editorInitCallback
|
|
1880
|
+
}, null, 8, ["data", "column", "field", "index", "frozenRow", "editorInitCallback"]))
|
|
1871
1881
|
: ($props.column.children && $props.column.children.editor && $data.d_editing)
|
|
1872
1882
|
? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.column.children.editor), {
|
|
1873
1883
|
key: 2,
|
|
@@ -1875,8 +1885,10 @@ function render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1875
1885
|
column: $props.column,
|
|
1876
1886
|
field: $options.field,
|
|
1877
1887
|
index: $props.rowIndex,
|
|
1878
|
-
frozenRow: $props.frozenRow
|
|
1879
|
-
|
|
1888
|
+
frozenRow: $props.frozenRow,
|
|
1889
|
+
editorSaveCallback: $options.editorSaveCallback,
|
|
1890
|
+
editorCancelCallback: $options.editorCancelCallback
|
|
1891
|
+
}, null, 8, ["data", "column", "field", "index", "frozenRow", "editorSaveCallback", "editorCancelCallback"]))
|
|
1880
1892
|
: ($props.column.children && $props.column.children.body && !$props.column.children.editor && $data.d_editing)
|
|
1881
1893
|
? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.column.children.body), {
|
|
1882
1894
|
key: 3,
|
|
@@ -1893,15 +1905,15 @@ function render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1893
1905
|
key: 0,
|
|
1894
1906
|
value: $props.rowData,
|
|
1895
1907
|
checked: $props.selected,
|
|
1896
|
-
onChange: $options.toggleRowWithRadio
|
|
1897
|
-
}, null, 8, ["value", "checked"
|
|
1908
|
+
onChange: _cache[1] || (_cache[1] = $event => ($options.toggleRowWithRadio($event, $props.rowIndex)))
|
|
1909
|
+
}, null, 8, ["value", "checked"]))
|
|
1898
1910
|
: ($options.columnProp('selectionMode') ==='multiple')
|
|
1899
1911
|
? (vue.openBlock(), vue.createBlock(_component_DTCheckbox, {
|
|
1900
1912
|
key: 1,
|
|
1901
1913
|
value: $props.rowData,
|
|
1902
1914
|
checked: $props.selected,
|
|
1903
|
-
onChange: $options.toggleRowWithCheckbox
|
|
1904
|
-
}, null, 8, ["value", "checked"
|
|
1915
|
+
onChange: _cache[2] || (_cache[2] = $event => ($options.toggleRowWithCheckbox($event, $props.rowIndex)))
|
|
1916
|
+
}, null, 8, ["value", "checked"]))
|
|
1905
1917
|
: vue.createCommentVNode("", true)
|
|
1906
1918
|
], 64))
|
|
1907
1919
|
: ($options.columnProp('rowReorder'))
|
|
@@ -1913,7 +1925,7 @@ function render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1913
1925
|
? vue.withDirectives((vue.openBlock(), vue.createBlock("button", {
|
|
1914
1926
|
key: 6,
|
|
1915
1927
|
class: "p-row-toggler p-link",
|
|
1916
|
-
onClick: _cache[
|
|
1928
|
+
onClick: _cache[3] || (_cache[3] = (...args) => ($options.toggleRow && $options.toggleRow(...args))),
|
|
1917
1929
|
type: "button"
|
|
1918
1930
|
}, [
|
|
1919
1931
|
vue.createVNode("span", { class: $props.rowTogglerIcon }, null, 2)
|
|
@@ -1926,7 +1938,7 @@ function render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1926
1938
|
? vue.withDirectives((vue.openBlock(), vue.createBlock("button", {
|
|
1927
1939
|
key: 0,
|
|
1928
1940
|
class: "p-row-editor-init p-link",
|
|
1929
|
-
onClick: _cache[
|
|
1941
|
+
onClick: _cache[4] || (_cache[4] = (...args) => ($options.onRowEditInit && $options.onRowEditInit(...args))),
|
|
1930
1942
|
type: "button"
|
|
1931
1943
|
}, [
|
|
1932
1944
|
_hoisted_2$2
|
|
@@ -1938,7 +1950,7 @@ function render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1938
1950
|
? vue.withDirectives((vue.openBlock(), vue.createBlock("button", {
|
|
1939
1951
|
key: 1,
|
|
1940
1952
|
class: "p-row-editor-save p-link",
|
|
1941
|
-
onClick: _cache[
|
|
1953
|
+
onClick: _cache[5] || (_cache[5] = (...args) => ($options.onRowEditSave && $options.onRowEditSave(...args))),
|
|
1942
1954
|
type: "button"
|
|
1943
1955
|
}, [
|
|
1944
1956
|
_hoisted_3$1
|
|
@@ -1950,7 +1962,7 @@ function render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1950
1962
|
? vue.withDirectives((vue.openBlock(), vue.createBlock("button", {
|
|
1951
1963
|
key: 2,
|
|
1952
1964
|
class: "p-row-editor-cancel p-link",
|
|
1953
|
-
onClick: _cache[
|
|
1965
|
+
onClick: _cache[6] || (_cache[6] = (...args) => ($options.onRowEditCancel && $options.onRowEditCancel(...args))),
|
|
1954
1966
|
type: "button"
|
|
1955
1967
|
}, [
|
|
1956
1968
|
_hoisted_4$1
|
|
@@ -2424,7 +2436,13 @@ var script$3 = {
|
|
|
2424
2436
|
},
|
|
2425
2437
|
computed: {
|
|
2426
2438
|
columnsLength() {
|
|
2427
|
-
|
|
2439
|
+
let hiddenColLength = 0;
|
|
2440
|
+
|
|
2441
|
+
this.columns.forEach(column => {
|
|
2442
|
+
if(this.columnProp(column, 'hidden')) hiddenColLength++;
|
|
2443
|
+
});
|
|
2444
|
+
|
|
2445
|
+
return this.columns ? this.columns.length - hiddenColLength : 0;
|
|
2428
2446
|
},
|
|
2429
2447
|
rowGroupHeaderStyle() {
|
|
2430
2448
|
if (this.scrollable) {
|
|
@@ -3452,7 +3470,7 @@ var script = {
|
|
|
3452
3470
|
this.$emit('update:selection', _selection);
|
|
3453
3471
|
}
|
|
3454
3472
|
|
|
3455
|
-
this.$emit('row-unselect', {originalEvent: event, data: rowData, index:
|
|
3473
|
+
this.$emit('row-unselect', {originalEvent: event, data: rowData, index: rowIndex, type: 'row'});
|
|
3456
3474
|
}
|
|
3457
3475
|
else {
|
|
3458
3476
|
if(this.isSingleSelectionMode()) {
|
|
@@ -3464,18 +3482,18 @@ var script = {
|
|
|
3464
3482
|
this.$emit('update:selection', _selection);
|
|
3465
3483
|
}
|
|
3466
3484
|
|
|
3467
|
-
this.$emit('row-select', {originalEvent: event, data: rowData, index:
|
|
3485
|
+
this.$emit('row-select', {originalEvent: event, data: rowData, index: rowIndex, type: 'row'});
|
|
3468
3486
|
}
|
|
3469
3487
|
}
|
|
3470
3488
|
else {
|
|
3471
3489
|
if (this.selectionMode === 'single') {
|
|
3472
3490
|
if (selected) {
|
|
3473
3491
|
this.$emit('update:selection', null);
|
|
3474
|
-
this.$emit('row-unselect', {originalEvent: event, data: rowData, index:
|
|
3492
|
+
this.$emit('row-unselect', {originalEvent: event, data: rowData, index: rowIndex, type: 'row'});
|
|
3475
3493
|
}
|
|
3476
3494
|
else {
|
|
3477
3495
|
this.$emit('update:selection', rowData);
|
|
3478
|
-
this.$emit('row-select', {originalEvent: event, data: rowData, index:
|
|
3496
|
+
this.$emit('row-select', {originalEvent: event, data: rowData, index: rowIndex, type: 'row'});
|
|
3479
3497
|
}
|
|
3480
3498
|
}
|
|
3481
3499
|
else if (this.selectionMode === 'multiple') {
|
|
@@ -3483,12 +3501,12 @@ var script = {
|
|
|
3483
3501
|
const selectionIndex = this.findIndexInSelection(rowData);
|
|
3484
3502
|
const _selection = this.selection.filter((val, i) => i != selectionIndex);
|
|
3485
3503
|
this.$emit('update:selection', _selection);
|
|
3486
|
-
this.$emit('row-unselect', {originalEvent: event, data: rowData, index:
|
|
3504
|
+
this.$emit('row-unselect', {originalEvent: event, data: rowData, index: rowIndex, type: 'row'});
|
|
3487
3505
|
}
|
|
3488
3506
|
else {
|
|
3489
3507
|
const _selection = this.selection ? [...this.selection, rowData] : [rowData];
|
|
3490
3508
|
this.$emit('update:selection', _selection);
|
|
3491
|
-
this.$emit('row-select', {originalEvent: event, data: rowData, index:
|
|
3509
|
+
this.$emit('row-select', {originalEvent: event, data: rowData, index: rowIndex, type: 'row'});
|
|
3492
3510
|
}
|
|
3493
3511
|
}
|
|
3494
3512
|
}
|
|
@@ -3580,11 +3598,11 @@ var script = {
|
|
|
3580
3598
|
|
|
3581
3599
|
if (this.isSelected(rowData)) {
|
|
3582
3600
|
this.$emit('update:selection', null);
|
|
3583
|
-
this.$emit('row-unselect', {originalEvent: event, data: rowData, type: 'radiobutton'});
|
|
3601
|
+
this.$emit('row-unselect', { originalEvent: event.originalEvent, data: rowData, index: event.index, type: 'radiobutton' });
|
|
3584
3602
|
}
|
|
3585
3603
|
else {
|
|
3586
3604
|
this.$emit('update:selection', rowData);
|
|
3587
|
-
this.$emit('row-select', {originalEvent: event, data: rowData, type: 'radiobutton'});
|
|
3605
|
+
this.$emit('row-select', { originalEvent: event.originalEvent, data: rowData, index: event.index, type: 'radiobutton' });
|
|
3588
3606
|
}
|
|
3589
3607
|
},
|
|
3590
3608
|
toggleRowWithCheckbox(event) {
|
|
@@ -3594,13 +3612,13 @@ var script = {
|
|
|
3594
3612
|
const selectionIndex = this.findIndexInSelection(rowData);
|
|
3595
3613
|
const _selection = this.selection.filter((val, i) => i != selectionIndex);
|
|
3596
3614
|
this.$emit('update:selection', _selection);
|
|
3597
|
-
this.$emit('row-unselect', {originalEvent: event, data: rowData, type: 'checkbox'});
|
|
3615
|
+
this.$emit('row-unselect', { originalEvent: event.originalEvent, data: rowData, index: event.index, type: 'checkbox' });
|
|
3598
3616
|
}
|
|
3599
3617
|
else {
|
|
3600
3618
|
let _selection = this.selection ? [...this.selection] : [];
|
|
3601
3619
|
_selection = [..._selection, rowData];
|
|
3602
3620
|
this.$emit('update:selection', _selection);
|
|
3603
|
-
this.$emit('row-select', {originalEvent: event, data: rowData, type: 'checkbox'});
|
|
3621
|
+
this.$emit('row-select', { originalEvent: event.originalEvent, data: rowData, index: event.index, type: 'checkbox' });
|
|
3604
3622
|
}
|
|
3605
3623
|
},
|
|
3606
3624
|
toggleRowsWithCheckbox(event) {
|
|
@@ -3750,7 +3768,7 @@ var script = {
|
|
|
3750
3768
|
else
|
|
3751
3769
|
headerInitiated = true;
|
|
3752
3770
|
|
|
3753
|
-
csv += '"' + (this.columnProp(column, 'header') || this.columnProp(column, 'field')) + '"';
|
|
3771
|
+
csv += '"' + (this.columnProp(column, 'exportHeader') || this.columnProp(column, 'header') || this.columnProp(column, 'field')) + '"';
|
|
3754
3772
|
}
|
|
3755
3773
|
}
|
|
3756
3774
|
|
|
@@ -3871,7 +3889,7 @@ var script = {
|
|
|
3871
3889
|
}
|
|
3872
3890
|
`;
|
|
3873
3891
|
});
|
|
3874
|
-
|
|
3892
|
+
|
|
3875
3893
|
this.styleElement.innerHTML = innerHTML;
|
|
3876
3894
|
},
|
|
3877
3895
|
bindColumnResizeEvents() {
|
|
@@ -4342,16 +4360,19 @@ var script = {
|
|
|
4342
4360
|
},
|
|
4343
4361
|
onEditingMetaChange(event) {
|
|
4344
4362
|
let { data, field, index, editing } = event;
|
|
4345
|
-
let
|
|
4363
|
+
let editingMeta = { ...this.d_editingMeta };
|
|
4364
|
+
let meta = editingMeta[index];
|
|
4346
4365
|
|
|
4347
4366
|
if (editing) {
|
|
4348
|
-
!meta && (meta =
|
|
4367
|
+
!meta && (meta = editingMeta[index] = { data: { ...data }, fields: [] });
|
|
4349
4368
|
meta['fields'].push(field);
|
|
4350
4369
|
}
|
|
4351
4370
|
else if (meta) {
|
|
4352
4371
|
const fields = meta['fields'].filter(f => f !== field);
|
|
4353
|
-
!fields.length ? (delete
|
|
4372
|
+
!fields.length ? (delete editingMeta[index]) : (meta['fields'] = fields);
|
|
4354
4373
|
}
|
|
4374
|
+
|
|
4375
|
+
this.d_editingMeta = editingMeta;
|
|
4355
4376
|
},
|
|
4356
4377
|
clearEditingMetaData() {
|
|
4357
4378
|
if (this.editMode) {
|
|
@@ -4621,11 +4642,11 @@ var script = {
|
|
|
4621
4642
|
}
|
|
4622
4643
|
},
|
|
4623
4644
|
components: {
|
|
4624
|
-
'DTPaginator': Paginator__default[
|
|
4645
|
+
'DTPaginator': Paginator__default['default'],
|
|
4625
4646
|
'DTTableHeader': script$7,
|
|
4626
4647
|
'DTTableBody': script$3,
|
|
4627
4648
|
'DTTableFooter': script$1,
|
|
4628
|
-
'DTVirtualScroller': VirtualScroller__default[
|
|
4649
|
+
'DTVirtualScroller': VirtualScroller__default['default']
|
|
4629
4650
|
}
|
|
4630
4651
|
};
|
|
4631
4652
|
|