primevue 2.9.0 → 2.10.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/LICENSE.md +2 -2
- package/accordion/Accordion.d.ts +2 -0
- package/accordion/Accordion.vue +9 -1
- package/accordion/accordion.common.js +77 -70
- package/accordion/accordion.umd.js +77 -70
- package/accordion/accordion.umd.min.js +1 -1
- package/accordiontab/AccordionTab.vue +7 -5
- package/accordiontab/accordiontab.common.js +67 -45
- package/accordiontab/accordiontab.umd.js +67 -45
- package/accordiontab/accordiontab.umd.min.js +1 -1
- package/autocomplete/autocomplete.common.js +213 -109
- package/autocomplete/autocomplete.umd.js +213 -109
- package/autocomplete/autocomplete.umd.min.js +1 -1
- package/avatar/avatar.common.js +65 -60
- package/avatar/avatar.umd.js +65 -60
- package/avatar/avatar.umd.min.js +1 -1
- package/avatargroup/avatargroup.common.js +45 -46
- package/avatargroup/avatargroup.umd.js +45 -46
- package/avatargroup/avatargroup.umd.min.js +1 -1
- package/badge/badge.common.js +23 -22
- package/badge/badge.umd.js +23 -22
- package/badge/badge.umd.min.js +1 -1
- package/blockui/blockui.common.js +67 -68
- package/blockui/blockui.umd.js +67 -68
- package/blockui/blockui.umd.min.js +1 -1
- package/breadcrumb/breadcrumb.common.js +132 -87
- package/breadcrumb/breadcrumb.umd.js +132 -87
- package/breadcrumb/breadcrumb.umd.min.js +1 -1
- package/breadcrumb/breadcrumbitem.common.js +68 -38
- package/breadcrumb/breadcrumbitem.umd.js +68 -38
- package/breadcrumb/breadcrumbitem.umd.min.js +1 -1
- package/button/Button.d.ts +2 -0
- package/button/Button.vue +10 -1
- package/button/button.common.js +53 -32
- package/button/button.umd.js +53 -32
- package/button/button.umd.min.js +1 -1
- package/calendar/Calendar.vue +11 -4
- package/calendar/calendar.common.js +644 -255
- package/calendar/calendar.umd.js +644 -255
- package/calendar/calendar.umd.min.js +1 -1
- package/card/card.common.js +60 -61
- package/card/card.umd.js +60 -61
- package/card/card.umd.min.js +1 -1
- package/carousel/carousel.common.js +178 -111
- package/carousel/carousel.umd.js +178 -111
- package/carousel/carousel.umd.min.js +1 -1
- package/cascadeselect/cascadeselect.common.js +207 -113
- package/cascadeselect/cascadeselect.umd.js +207 -113
- package/cascadeselect/cascadeselect.umd.min.js +1 -1
- package/cascadeselect/cascadeselectsub.common.js +79 -37
- package/cascadeselect/cascadeselectsub.umd.js +79 -37
- package/cascadeselect/cascadeselectsub.umd.min.js +1 -1
- package/cascadeselect/demo.html +3 -4
- package/chart/chart.common.js +78 -68
- package/chart/chart.umd.js +78 -68
- package/chart/chart.umd.min.js +1 -1
- package/checkbox/checkbox.common.js +62 -29
- package/checkbox/checkbox.umd.js +62 -29
- package/checkbox/checkbox.umd.min.js +1 -1
- package/chip/chip.common.js +67 -51
- package/chip/chip.umd.js +67 -51
- package/chip/chip.umd.min.js +1 -1
- package/chips/chips.common.js +122 -79
- package/chips/chips.umd.js +122 -79
- package/chips/chips.umd.min.js +1 -1
- package/colorpicker/colorpicker.common.js +136 -85
- package/colorpicker/colorpicker.umd.js +136 -85
- package/colorpicker/colorpicker.umd.min.js +1 -1
- package/column/Column.d.ts +2 -0
- package/column/Column.vue +3 -3
- package/column/column.common.js +16 -18
- package/column/column.umd.js +16 -18
- package/column/column.umd.min.js +1 -1
- package/columngroup/columngroup.common.js +21 -24
- package/columngroup/columngroup.umd.js +21 -24
- package/columngroup/columngroup.umd.min.js +1 -1
- package/confirmdialog/confirmdialog.common.js +237 -120
- package/confirmdialog/confirmdialog.umd.js +237 -120
- package/confirmdialog/confirmdialog.umd.min.js +1 -1
- package/confirmpopup/confirmpopup.common.js +143 -93
- package/confirmpopup/confirmpopup.umd.js +143 -93
- package/confirmpopup/confirmpopup.umd.min.js +1 -1
- package/contextmenu/contextmenu.common.js +197 -104
- package/contextmenu/contextmenu.umd.js +197 -104
- package/contextmenu/contextmenu.umd.min.js +1 -1
- package/contextmenu/contextmenusub.common.js +126 -50
- package/contextmenu/contextmenusub.umd.js +126 -50
- package/contextmenu/contextmenusub.umd.min.js +1 -1
- package/datatable/BodyCell.vue +27 -9
- package/datatable/ColumnFilter.vue +1 -1
- package/datatable/ColumnSlot.vue +16 -1
- package/datatable/DataTable.vue +19 -26
- package/datatable/HeaderCheckbox.vue +5 -8
- package/datatable/TableBody.vue +5 -1
- package/datatable/TableFooter.vue +1 -1
- package/datatable/TableHeader.vue +1 -1
- package/datatable/bodycell.common.js +305 -82
- package/datatable/bodycell.umd.js +305 -82
- package/datatable/bodycell.umd.min.js +1 -1
- package/datatable/columnfilter.common.js +493 -186
- package/datatable/columnfilter.umd.js +493 -186
- package/datatable/columnfilter.umd.min.js +1 -1
- package/datatable/columnslot.common.js +29 -16
- package/datatable/columnslot.umd.js +29 -16
- package/datatable/columnslot.umd.min.js +1 -1
- package/datatable/datatable.common.js +2306 -848
- package/datatable/datatable.umd.js +2306 -848
- package/datatable/datatable.umd.min.js +1 -1
- package/datatable/demo.html +5 -3
- package/datatable/footercell.common.js +51 -27
- package/datatable/footercell.umd.js +51 -27
- package/datatable/footercell.umd.min.js +1 -1
- package/datatable/headercell.common.js +661 -235
- package/datatable/headercell.umd.js +661 -235
- package/datatable/headercell.umd.min.js +1 -1
- package/datatable/headercheckbox.common.js +60 -32
- package/datatable/headercheckbox.umd.js +60 -32
- package/datatable/headercheckbox.umd.min.js +1 -1
- package/datatable/rowcheckbox.common.js +62 -29
- package/datatable/rowcheckbox.umd.js +62 -29
- package/datatable/rowcheckbox.umd.min.js +1 -1
- package/datatable/rowradiobutton.common.js +55 -26
- package/datatable/rowradiobutton.umd.js +55 -26
- package/datatable/rowradiobutton.umd.min.js +1 -1
- package/datatable/tablebody.common.js +496 -138
- package/datatable/tablebody.umd.js +496 -138
- package/datatable/tablebody.umd.min.js +1 -1
- package/datatable/tablefooter.common.js +91 -49
- package/datatable/tablefooter.umd.js +91 -49
- package/datatable/tablefooter.umd.min.js +1 -1
- package/datatable/tableheader.common.js +870 -289
- package/datatable/tableheader.umd.js +870 -289
- package/datatable/tableheader.umd.min.js +1 -1
- package/datatable/tableloadingbody.common.js +53 -29
- package/datatable/tableloadingbody.umd.js +53 -29
- package/datatable/tableloadingbody.umd.min.js +1 -1
- package/dataview/dataview.common.js +804 -384
- package/dataview/dataview.umd.js +804 -384
- package/dataview/dataview.umd.min.js +1 -1
- package/dataviewlayoutoptions/dataviewlayoutoptions.common.js +47 -29
- package/dataviewlayoutoptions/dataviewlayoutoptions.umd.js +47 -29
- package/dataviewlayoutoptions/dataviewlayoutoptions.umd.min.js +1 -1
- package/deferredcontent/deferredcontent.common.js +23 -24
- package/deferredcontent/deferredcontent.umd.js +23 -24
- package/deferredcontent/deferredcontent.umd.min.js +1 -1
- package/dialog/dialog.common.js +140 -89
- package/dialog/dialog.umd.js +140 -89
- package/dialog/dialog.umd.min.js +1 -1
- package/divider/divider.common.js +50 -48
- package/divider/divider.umd.js +50 -48
- package/divider/divider.umd.min.js +1 -1
- package/dock/dock.common.js +181 -90
- package/dock/dock.umd.js +181 -90
- package/dock/dock.umd.min.js +1 -1
- package/dock/docksub.common.js +133 -51
- package/dock/docksub.umd.js +133 -51
- package/dock/docksub.umd.min.js +1 -1
- package/dropdown/Dropdown.vue +3 -2
- package/dropdown/dropdown.common.js +207 -105
- package/dropdown/dropdown.umd.js +207 -105
- package/dropdown/dropdown.umd.min.js +1 -1
- package/editor/editor.common.js +201 -98
- package/editor/editor.umd.js +201 -98
- package/editor/editor.umd.min.js +3 -3
- package/fieldset/fieldset.common.js +121 -87
- package/fieldset/fieldset.umd.js +121 -87
- package/fieldset/fieldset.umd.min.js +1 -1
- package/fileupload/FileUpload.vue +1 -0
- package/fileupload/fileupload.common.js +419 -246
- package/fileupload/fileupload.umd.js +419 -246
- package/fileupload/fileupload.umd.min.js +1 -1
- package/fullcalendar/fullcalendar.common.js +98 -73
- package/fullcalendar/fullcalendar.umd.js +98 -73
- package/fullcalendar/fullcalendar.umd.min.js +4 -18
- package/galleria/galleria.common.js +390 -164
- package/galleria/galleria.umd.js +390 -164
- package/galleria/galleria.umd.min.js +1 -1
- package/galleria/galleriacontent.common.js +310 -107
- package/galleria/galleriacontent.umd.js +310 -107
- package/galleria/galleriacontent.umd.min.js +1 -1
- package/galleria/galleriaitem.common.js +111 -45
- package/galleria/galleriaitem.umd.js +111 -45
- package/galleria/galleriaitem.umd.min.js +1 -1
- package/galleria/galleriaitemslot.common.js +13 -15
- package/galleria/galleriaitemslot.umd.js +13 -15
- package/galleria/galleriathumbnails.common.js +109 -49
- package/galleria/galleriathumbnails.umd.js +109 -49
- package/galleria/galleriathumbnails.umd.min.js +1 -1
- package/imagepreview/imagepreview.common.js +163 -97
- package/imagepreview/imagepreview.umd.js +163 -97
- package/imagepreview/imagepreview.umd.min.js +1 -1
- package/inlinemessage/inlinemessage.common.js +62 -55
- package/inlinemessage/inlinemessage.umd.js +62 -55
- package/inlinemessage/inlinemessage.umd.min.js +1 -1
- package/inplace/inplace.common.js +128 -91
- package/inplace/inplace.umd.js +128 -91
- package/inplace/inplace.umd.min.js +1 -1
- package/inputmask/inputmask.common.js +23 -22
- package/inputmask/inputmask.umd.js +23 -22
- package/inputmask/inputmask.umd.min.js +1 -1
- package/inputnumber/InputNumber.vue +7 -2
- package/inputnumber/inputnumber.common.js +175 -101
- package/inputnumber/inputnumber.umd.js +175 -101
- package/inputnumber/inputnumber.umd.min.js +1 -1
- package/inputswitch/inputswitch.common.js +222 -37
- package/inputswitch/inputswitch.umd.js +222 -37
- package/inputswitch/inputswitch.umd.min.js +1 -1
- package/inputtext/inputtext.common.js +28 -22
- package/inputtext/inputtext.umd.js +28 -22
- package/inputtext/inputtext.umd.min.js +1 -1
- package/knob/Knob.vue +1 -1
- package/knob/knob.common.js +103 -74
- package/knob/knob.umd.js +103 -74
- package/knob/knob.umd.min.js +1 -1
- package/listbox/listbox.common.js +139 -84
- package/listbox/listbox.umd.js +139 -84
- package/listbox/listbox.umd.min.js +1 -1
- package/megamenu/MegaMenu.vue +2 -2
- package/megamenu/megamenu.common.js +258 -128
- package/megamenu/megamenu.umd.js +258 -128
- package/megamenu/megamenu.umd.min.js +1 -1
- package/menu/menu.common.js +190 -105
- package/menu/menu.umd.js +190 -105
- package/menu/menu.umd.min.js +1 -1
- package/menu/menuitem.common.js +83 -38
- package/menu/menuitem.umd.js +83 -38
- package/menu/menuitem.umd.min.js +1 -1
- package/menubar/menubar.common.js +209 -111
- package/menubar/menubar.umd.js +209 -111
- package/menubar/menubar.umd.min.js +1 -1
- package/menubar/menubarsub.common.js +127 -49
- package/menubar/menubarsub.umd.js +127 -49
- package/menubar/menubarsub.umd.min.js +1 -1
- package/message/message.common.js +96 -78
- package/message/message.umd.js +96 -78
- package/message/message.umd.min.js +1 -1
- package/multiselect/MultiSelect.vue +2 -2
- package/multiselect/multiselect.common.js +264 -131
- package/multiselect/multiselect.umd.js +264 -131
- package/multiselect/multiselect.umd.min.js +1 -1
- package/orderlist/OrderList.d.ts +1 -0
- package/orderlist/OrderList.vue +12 -1
- package/orderlist/orderlist.common.js +195 -107
- package/orderlist/orderlist.umd.js +195 -107
- package/orderlist/orderlist.umd.min.js +1 -1
- package/organizationchart/organizationchart.common.js +177 -114
- package/organizationchart/organizationchart.umd.js +177 -114
- package/organizationchart/organizationchart.umd.min.js +1 -1
- package/organizationchart/organizationchartnode.common.js +110 -59
- package/organizationchart/organizationchartnode.umd.js +110 -59
- package/organizationchart/organizationchartnode.umd.min.js +1 -1
- package/overlaypanel/overlaypanel.common.js +96 -75
- package/overlaypanel/overlaypanel.umd.js +96 -75
- package/overlaypanel/overlaypanel.umd.min.js +1 -1
- package/package.json +2 -2
- package/paginator/currentpagereport.common.js +23 -21
- package/paginator/currentpagereport.umd.js +23 -21
- package/paginator/currentpagereport.umd.min.js +1 -1
- package/paginator/firstpagelink.common.js +32 -24
- package/paginator/firstpagelink.umd.js +32 -24
- package/paginator/firstpagelink.umd.min.js +1 -1
- package/paginator/jumptopagedropdown.common.js +231 -115
- package/paginator/jumptopagedropdown.umd.js +231 -115
- package/paginator/jumptopagedropdown.umd.min.js +1 -1
- package/paginator/jumptopageinput.common.js +196 -110
- package/paginator/jumptopageinput.umd.js +196 -110
- package/paginator/jumptopageinput.umd.min.js +1 -1
- package/paginator/lastpagelink.common.js +32 -24
- package/paginator/lastpagelink.umd.js +32 -24
- package/paginator/lastpagelink.umd.min.js +1 -1
- package/paginator/nextpagelink.common.js +32 -24
- package/paginator/nextpagelink.umd.js +32 -24
- package/paginator/nextpagelink.umd.min.js +1 -1
- package/paginator/pagelinks.common.js +42 -24
- package/paginator/pagelinks.umd.js +42 -24
- package/paginator/pagelinks.umd.min.js +1 -1
- package/paginator/paginator.common.js +706 -336
- package/paginator/paginator.umd.js +706 -336
- package/paginator/paginator.umd.min.js +1 -1
- package/paginator/prevpagelink.common.js +32 -24
- package/paginator/prevpagelink.umd.js +32 -24
- package/paginator/prevpagelink.umd.min.js +1 -1
- package/paginator/rowsperpagedropdown.common.js +230 -115
- package/paginator/rowsperpagedropdown.umd.js +230 -115
- package/paginator/rowsperpagedropdown.umd.min.js +1 -1
- package/panel/panel.common.js +117 -86
- package/panel/panel.umd.js +117 -86
- package/panel/panel.umd.min.js +1 -1
- package/panelmenu/panelmenu.common.js +237 -119
- package/panelmenu/panelmenu.umd.js +237 -119
- package/panelmenu/panelmenu.umd.min.js +1 -1
- package/panelmenu/panelmenusub.common.js +111 -50
- package/panelmenu/panelmenusub.umd.js +111 -50
- package/panelmenu/panelmenusub.umd.min.js +1 -1
- package/password/Password.vue +27 -4
- package/password/password.common.js +186 -120
- package/password/password.umd.js +186 -120
- package/password/password.umd.min.js +1 -1
- package/picklist/PickList.d.ts +1 -0
- package/picklist/PickList.vue +10 -1
- package/picklist/picklist.common.js +319 -135
- package/picklist/picklist.umd.js +319 -135
- package/picklist/picklist.umd.min.js +1 -1
- package/progressbar/progressbar.common.js +84 -75
- package/progressbar/progressbar.umd.js +84 -75
- package/progressbar/progressbar.umd.min.js +1 -1
- package/progressspinner/progressspinner.common.js +548 -45
- package/progressspinner/progressspinner.umd.js +548 -45
- package/progressspinner/progressspinner.umd.min.js +1 -1
- package/radiobutton/radiobutton.common.js +60 -29
- package/radiobutton/radiobutton.umd.js +60 -29
- package/radiobutton/radiobutton.umd.min.js +1 -1
- package/rating/rating.common.js +93 -67
- package/rating/rating.umd.js +93 -67
- package/rating/rating.umd.min.js +1 -1
- package/resources/primevue.css +3 -2
- package/resources/primevue.min.css +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.css +3 -2
- package/row/row.common.js +21 -24
- package/row/row.umd.js +21 -24
- package/row/row.umd.min.js +1 -1
- package/scrollpanel/scrollpanel.common.js +88 -74
- package/scrollpanel/scrollpanel.umd.js +88 -74
- package/scrollpanel/scrollpanel.umd.min.js +1 -1
- package/scrolltop/scrolltop.common.js +78 -64
- package/scrolltop/scrolltop.umd.js +78 -64
- package/scrolltop/scrolltop.umd.min.js +1 -1
- package/selectbutton/selectbutton.common.js +69 -31
- package/selectbutton/selectbutton.umd.js +69 -31
- package/selectbutton/selectbutton.umd.min.js +1 -1
- package/sidebar/sidebar.common.js +100 -77
- package/sidebar/sidebar.umd.js +100 -77
- package/sidebar/sidebar.umd.min.js +1 -1
- package/skeleton/skeleton.common.js +58 -56
- package/skeleton/skeleton.umd.js +58 -56
- package/skeleton/skeleton.umd.min.js +1 -1
- package/slider/Slider.vue +8 -1
- package/slider/slider.common.js +166 -76
- package/slider/slider.umd.js +166 -76
- package/slider/slider.umd.min.js +1 -1
- package/speeddial/speeddial.common.js +174 -103
- package/speeddial/speeddial.umd.js +174 -103
- package/speeddial/speeddial.umd.min.js +1 -1
- package/splitbutton/SplitButton.vue +7 -3
- package/splitbutton/splitbutton.common.js +320 -181
- package/splitbutton/splitbutton.umd.js +320 -181
- package/splitbutton/splitbutton.umd.min.js +1 -1
- package/splitter/splitter.common.js +57 -59
- package/splitter/splitter.umd.js +57 -59
- package/splitter/splitter.umd.min.js +1 -1
- package/splitterpanel/splitterpanel.common.js +13 -15
- package/splitterpanel/splitterpanel.umd.js +13 -15
- package/steps/steps.common.js +113 -74
- package/steps/steps.umd.js +113 -74
- package/steps/steps.umd.min.js +1 -1
- package/styleclass/StyleClass.js +10 -2
- package/styleclass/styleclass.common.js +10 -2
- package/styleclass/styleclass.umd.js +10 -2
- package/styleclass/styleclass.umd.min.js +1 -1
- package/tabmenu/tabmenu.common.js +127 -82
- package/tabmenu/tabmenu.umd.js +127 -82
- package/tabmenu/tabmenu.umd.min.js +1 -1
- package/tabpanel/tabpanel.common.js +32 -24
- package/tabpanel/tabpanel.umd.js +32 -24
- package/tabpanel/tabpanel.umd.min.js +1 -1
- package/tabview/TabView.vue +1 -1
- package/tabview/tabview.common.js +156 -91
- package/tabview/tabview.umd.js +156 -91
- package/tabview/tabview.umd.min.js +1 -1
- package/tag/tag.common.js +60 -58
- package/tag/tag.umd.js +60 -58
- package/tag/tag.umd.min.js +1 -1
- package/terminal/terminal.common.js +97 -67
- package/terminal/terminal.umd.js +97 -67
- package/terminal/terminal.umd.min.js +1 -1
- package/textarea/textarea.common.js +73 -66
- package/textarea/textarea.umd.js +73 -66
- package/textarea/textarea.umd.min.js +1 -1
- package/tieredmenu/tieredmenu.common.js +201 -104
- package/tieredmenu/tieredmenu.umd.js +201 -104
- package/tieredmenu/tieredmenu.umd.min.js +1 -1
- package/tieredmenu/tieredmenusub.common.js +128 -49
- package/tieredmenu/tieredmenusub.umd.js +128 -49
- package/tieredmenu/tieredmenusub.umd.min.js +1 -1
- package/timeline/timeline.common.js +94 -82
- package/timeline/timeline.umd.js +94 -82
- package/timeline/timeline.umd.min.js +1 -1
- package/toast/toast.common.js +134 -91
- package/toast/toast.umd.js +134 -91
- package/toast/toast.umd.min.js +1 -1
- package/toast/toastmessage.common.js +58 -36
- package/toast/toastmessage.umd.js +58 -36
- package/toast/toastmessage.umd.min.js +1 -1
- package/togglebutton/togglebutton.common.js +42 -25
- package/togglebutton/togglebutton.umd.js +42 -25
- package/togglebutton/togglebutton.umd.min.js +1 -1
- package/toolbar/toolbar.common.js +47 -46
- package/toolbar/toolbar.umd.js +47 -46
- package/toolbar/toolbar.umd.min.js +1 -1
- package/tooltip/Tooltip.js +28 -1
- package/tooltip/tooltip.common.js +28 -1
- package/tooltip/tooltip.umd.js +28 -1
- package/tooltip/tooltip.umd.min.js +1 -1
- package/tree/tree.common.js +197 -111
- package/tree/tree.umd.js +197 -111
- package/tree/tree.umd.min.js +1 -1
- package/tree/treenode.common.js +91 -44
- package/tree/treenode.umd.js +91 -44
- package/tree/treenode.umd.min.js +1 -1
- package/treetable/footercell.common.js +28 -25
- package/treetable/footercell.umd.js +28 -25
- package/treetable/footercell.umd.min.js +1 -1
- package/treetable/headercell.common.js +47 -29
- package/treetable/headercell.umd.js +47 -29
- package/treetable/headercell.umd.min.js +1 -1
- package/treetable/treetable.common.js +1027 -506
- package/treetable/treetable.umd.js +1027 -506
- package/treetable/treetable.umd.min.js +1 -1
- package/treetable/treetablecolumnslot.common.js +13 -15
- package/treetable/treetablecolumnslot.umd.js +13 -15
- package/treetable/treetablerow.common.js +87 -38
- package/treetable/treetablerow.umd.js +87 -38
- package/treetable/treetablerow.umd.min.js +1 -1
- package/treetable/treetablerowloader.common.js +87 -38
- package/treetable/treetablerowloader.umd.js +87 -38
- package/treetable/treetablerowloader.umd.min.js +1 -1
- package/tristatecheckbox/tristatecheckbox.common.js +60 -29
- package/tristatecheckbox/tristatecheckbox.umd.js +60 -29
- package/tristatecheckbox/tristatecheckbox.umd.min.js +1 -1
- package/vetur-attributes.json +32 -0
- package/vetur-tags.json +13 -5
- package/web-types.json +81 -1
- 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
|
@@ -415,16 +415,6 @@ export default {
|
|
|
415
415
|
mounted() {
|
|
416
416
|
this.allChildren = this.$children;
|
|
417
417
|
|
|
418
|
-
if (this.reorderableColumns) {
|
|
419
|
-
let columnOrder = [];
|
|
420
|
-
for (let child of this.allChildren) {
|
|
421
|
-
if (child.$options._propKeys.indexOf('columnKey') !== -1) {
|
|
422
|
-
columnOrder.push(child.columnKey||child.field);
|
|
423
|
-
}
|
|
424
|
-
}
|
|
425
|
-
this.d_columnOrder = columnOrder;
|
|
426
|
-
}
|
|
427
|
-
|
|
428
418
|
this.$el.setAttribute(this.attributeSelector, '');
|
|
429
419
|
|
|
430
420
|
if (this.responsiveLayout === 'stack' && !this.scrollable) {
|
|
@@ -439,7 +429,7 @@ export default {
|
|
|
439
429
|
this.updateEditingRowKeys(this.editingRows);
|
|
440
430
|
}
|
|
441
431
|
},
|
|
442
|
-
|
|
432
|
+
beforeDestroy() {
|
|
443
433
|
this.unbindColumnResizeEvents();
|
|
444
434
|
this.destroyStyleElement();
|
|
445
435
|
this.destroyResponsiveStyle();
|
|
@@ -732,7 +722,7 @@ export default {
|
|
|
732
722
|
this.$emit('update:selection', _selection);
|
|
733
723
|
}
|
|
734
724
|
|
|
735
|
-
this.$emit('row-unselect', {originalEvent: event, data: rowData, index:
|
|
725
|
+
this.$emit('row-unselect', {originalEvent: event, data: rowData, index: rowIndex, type: 'row'});
|
|
736
726
|
}
|
|
737
727
|
else {
|
|
738
728
|
if(this.isSingleSelectionMode()) {
|
|
@@ -744,18 +734,18 @@ export default {
|
|
|
744
734
|
this.$emit('update:selection', _selection);
|
|
745
735
|
}
|
|
746
736
|
|
|
747
|
-
this.$emit('row-select', {originalEvent: event, data: rowData, index:
|
|
737
|
+
this.$emit('row-select', {originalEvent: event, data: rowData, index: rowIndex, type: 'row'});
|
|
748
738
|
}
|
|
749
739
|
}
|
|
750
740
|
else {
|
|
751
741
|
if (this.selectionMode === 'single') {
|
|
752
742
|
if (selected) {
|
|
753
743
|
this.$emit('update:selection', null);
|
|
754
|
-
this.$emit('row-unselect', {originalEvent: event, data: rowData, index:
|
|
744
|
+
this.$emit('row-unselect', {originalEvent: event, data: rowData, index: rowIndex, type: 'row'});
|
|
755
745
|
}
|
|
756
746
|
else {
|
|
757
747
|
this.$emit('update:selection', rowData);
|
|
758
|
-
this.$emit('row-select', {originalEvent: event, data: rowData, index:
|
|
748
|
+
this.$emit('row-select', {originalEvent: event, data: rowData, index: rowIndex, type: 'row'});
|
|
759
749
|
}
|
|
760
750
|
}
|
|
761
751
|
else if (this.selectionMode === 'multiple') {
|
|
@@ -763,12 +753,12 @@ export default {
|
|
|
763
753
|
const selectionIndex = this.findIndexInSelection(rowData);
|
|
764
754
|
const _selection = this.selection.filter((val, i) => i != selectionIndex);
|
|
765
755
|
this.$emit('update:selection', _selection);
|
|
766
|
-
this.$emit('row-unselect', {originalEvent: event, data: rowData, index:
|
|
756
|
+
this.$emit('row-unselect', {originalEvent: event, data: rowData, index: rowIndex, type: 'row'});
|
|
767
757
|
}
|
|
768
758
|
else {
|
|
769
759
|
const _selection = this.selection ? [...this.selection, rowData] : [rowData];
|
|
770
760
|
this.$emit('update:selection', _selection);
|
|
771
|
-
this.$emit('row-select', {originalEvent: event, data: rowData, index:
|
|
761
|
+
this.$emit('row-select', {originalEvent: event, data: rowData, index: rowIndex, type: 'row'});
|
|
772
762
|
}
|
|
773
763
|
}
|
|
774
764
|
}
|
|
@@ -864,11 +854,11 @@ export default {
|
|
|
864
854
|
|
|
865
855
|
if (this.isSelected(rowData)) {
|
|
866
856
|
this.$emit('update:selection', null);
|
|
867
|
-
this.$emit('row-unselect', {originalEvent: event, data: rowData, type: 'radiobutton'});
|
|
857
|
+
this.$emit('row-unselect', { originalEvent: event.originalEvent, data: rowData, index: event.index, type: 'radiobutton' });
|
|
868
858
|
}
|
|
869
859
|
else {
|
|
870
860
|
this.$emit('update:selection', rowData);
|
|
871
|
-
this.$emit('row-select', {originalEvent: event, data: rowData, type: 'radiobutton'});
|
|
861
|
+
this.$emit('row-select', { originalEvent: event.originalEvent, data: rowData, index: event.index, type: 'radiobutton' });
|
|
872
862
|
}
|
|
873
863
|
},
|
|
874
864
|
toggleRowWithCheckbox(event) {
|
|
@@ -878,13 +868,13 @@ export default {
|
|
|
878
868
|
const selectionIndex = this.findIndexInSelection(rowData);
|
|
879
869
|
const _selection = this.selection.filter((val, i) => i != selectionIndex);
|
|
880
870
|
this.$emit('update:selection', _selection);
|
|
881
|
-
this.$emit('row-unselect', {originalEvent: event, data: rowData, type: 'checkbox'});
|
|
871
|
+
this.$emit('row-unselect', { originalEvent: event.originalEvent, data: rowData, index: event.index, type: 'checkbox' });
|
|
882
872
|
}
|
|
883
873
|
else {
|
|
884
874
|
let _selection = this.selection ? [...this.selection] : [];
|
|
885
875
|
_selection = [..._selection, rowData];
|
|
886
876
|
this.$emit('update:selection', _selection);
|
|
887
|
-
this.$emit('row-select', {originalEvent: event, data: rowData, type: 'checkbox'});
|
|
877
|
+
this.$emit('row-select', { originalEvent: event.originalEvent, data: rowData, index: event.index, type: 'checkbox' });
|
|
888
878
|
}
|
|
889
879
|
},
|
|
890
880
|
toggleRowsWithCheckbox(event) {
|
|
@@ -1031,7 +1021,7 @@ export default {
|
|
|
1031
1021
|
else
|
|
1032
1022
|
headerInitiated = true;
|
|
1033
1023
|
|
|
1034
|
-
csv += '"' + (this.columnProp(column, 'header') || this.columnProp(column, 'field')) + '"';
|
|
1024
|
+
csv += '"' + (this.columnProp(column, 'exportHeader') || this.columnProp(column, 'header') || this.columnProp(column, 'field')) + '"';
|
|
1035
1025
|
}
|
|
1036
1026
|
}
|
|
1037
1027
|
|
|
@@ -1659,16 +1649,19 @@ export default {
|
|
|
1659
1649
|
},
|
|
1660
1650
|
onEditingMetaChange(event) {
|
|
1661
1651
|
let { data, field, index, editing } = event;
|
|
1662
|
-
let
|
|
1652
|
+
let editingMeta = {...(this.d_editingMeta || {})};
|
|
1653
|
+
let meta = editingMeta[index];
|
|
1663
1654
|
|
|
1664
1655
|
if (editing) {
|
|
1665
|
-
!meta && (meta =
|
|
1656
|
+
!meta && (meta = editingMeta[index] = { data: { ...data }, fields: [] });
|
|
1666
1657
|
meta['fields'].push(field);
|
|
1667
1658
|
}
|
|
1668
1659
|
else if (meta) {
|
|
1669
1660
|
const fields = meta['fields'].filter(f => f !== field);
|
|
1670
|
-
!fields.length ? (delete
|
|
1661
|
+
!fields.length ? (delete editingMeta[index]) : (meta['fields'] = fields);
|
|
1671
1662
|
}
|
|
1663
|
+
|
|
1664
|
+
this.d_editingMeta = editingMeta;
|
|
1672
1665
|
},
|
|
1673
1666
|
clearEditingMetaData() {
|
|
1674
1667
|
if (this.editMode) {
|
|
@@ -2040,7 +2033,7 @@ export default {
|
|
|
2040
2033
|
.p-datatable-scrollable-horizontal .p-datatable-thead > tr > th
|
|
2041
2034
|
.p-datatable-scrollable-horizontal .p-datatable-tbody > tr > td,
|
|
2042
2035
|
.p-datatable-scrollable-horizontal .p-datatable-tfoot > tr > td {
|
|
2043
|
-
flex:
|
|
2036
|
+
flex: 1 0 auto;
|
|
2044
2037
|
}
|
|
2045
2038
|
|
|
2046
2039
|
.p-datatable-flex-scrollable {
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div :class="['p-checkbox p-component', {'p-checkbox-focused': focused}]" @click="onClick">
|
|
3
|
-
<div class="p-
|
|
4
|
-
|
|
5
|
-
</div>
|
|
6
|
-
<div ref="box" :class="['p-checkbox-box p-component', {'p-highlight': checked, 'p-disabled': $attrs.disabled, 'p-focus': focused}]" role="checkbox" :aria-checked="checked">
|
|
2
|
+
<div :class="['p-checkbox p-component', {'p-checkbox-focused': focused, 'p-disabled': $attrs.disabled}]" @click="onClick" @keydown.space.prevent="onClick">
|
|
3
|
+
<div ref="box" :class="['p-checkbox-box p-component', {'p-highlight': checked, 'p-disabled': $attrs.disabled, 'p-focus': focused}]"
|
|
4
|
+
role="checkbox" :aria-checked="checked" :tabindex="$attrs.disabled ? null : '0'" @focus="onFocus($event)" @blur="onBlur($event)">
|
|
7
5
|
<span :class="['p-checkbox-icon', {'pi pi-check': checked}]"></span>
|
|
8
6
|
</div>
|
|
9
7
|
</div>
|
|
@@ -13,7 +11,6 @@
|
|
|
13
11
|
export default {
|
|
14
12
|
inheritAttrs: false,
|
|
15
13
|
props: {
|
|
16
|
-
disabled: null,
|
|
17
14
|
checked: null
|
|
18
15
|
},
|
|
19
16
|
data() {
|
|
@@ -23,7 +20,7 @@ export default {
|
|
|
23
20
|
},
|
|
24
21
|
methods: {
|
|
25
22
|
onClick(event) {
|
|
26
|
-
if (!this.disabled) {
|
|
23
|
+
if (!this.$attrs.disabled) {
|
|
27
24
|
this.focused = true;
|
|
28
25
|
this.$emit('change', {
|
|
29
26
|
originalEvent: event,
|
|
@@ -39,4 +36,4 @@ export default {
|
|
|
39
36
|
}
|
|
40
37
|
}
|
|
41
38
|
}
|
|
42
|
-
</script>
|
|
39
|
+
</script>
|
package/datatable/TableBody.vue
CHANGED
|
@@ -508,7 +508,11 @@ export default {
|
|
|
508
508
|
},
|
|
509
509
|
computed: {
|
|
510
510
|
columnsLength() {
|
|
511
|
-
|
|
511
|
+
let hiddenColLength = 0;
|
|
512
|
+
this.columns.forEach(column => {
|
|
513
|
+
if(this.columnProp(column, 'hidden')) hiddenColLength++;
|
|
514
|
+
});
|
|
515
|
+
return this.columns ? this.columns.length - hiddenColLength : 0;
|
|
512
516
|
},
|
|
513
517
|
rowGroupHeaderStyle() {
|
|
514
518
|
if (this.scrollable) {
|
|
@@ -41,7 +41,7 @@ export default {
|
|
|
41
41
|
row.child.$scopedSlots.default().forEach(child => {
|
|
42
42
|
if (child.child && child.child.children && child.child.children instanceof Array)
|
|
43
43
|
cols = [...cols, ...child.child.children];
|
|
44
|
-
else if (child.componentOptions.tag === 'Column')
|
|
44
|
+
else if (child.componentOptions && child.componentOptions.tag === 'Column')
|
|
45
45
|
cols.push(child);
|
|
46
46
|
});
|
|
47
47
|
|
|
@@ -136,7 +136,7 @@ export default {
|
|
|
136
136
|
row.child.$scopedSlots.default().forEach(child => {
|
|
137
137
|
if (child.child && child.child.children && child.child.children instanceof Array)
|
|
138
138
|
cols = [...cols, ...child.child.children];
|
|
139
|
-
else if (child.componentOptions.tag === 'Column')
|
|
139
|
+
else if (child.componentOptions && child.componentOptions.tag === 'Column')
|
|
140
140
|
cols.push(child);
|
|
141
141
|
});
|
|
142
142
|
|