primevue 2.8.0 → 2.9.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/accordion/Accordion.d.ts +2 -0
- package/accordion/Accordion.vue +9 -1
- package/accordion/accordion.common.js +11 -3
- package/accordion/accordion.umd.js +11 -3
- package/accordion/accordion.umd.min.js +1 -1
- package/accordiontab/AccordionTab.vue +7 -5
- package/accordiontab/accordiontab.common.js +10 -11
- package/accordiontab/accordiontab.umd.js +10 -11
- package/accordiontab/accordiontab.umd.min.js +1 -1
- package/api/api.common.js +4 -0
- package/api/api.umd.js +4 -0
- package/api/api.umd.min.js +1 -1
- package/api/filterservice.common.js +4 -0
- package/api/filterservice.umd.js +4 -0
- package/api/filterservice.umd.min.js +1 -1
- package/autocomplete/autocomplete.common.js +8 -4
- package/autocomplete/autocomplete.umd.js +8 -4
- package/autocomplete/autocomplete.umd.min.js +1 -1
- package/avatar/avatar.common.js +1 -1
- package/avatar/avatar.umd.js +1 -1
- package/avatargroup/avatargroup.common.js +1 -1
- package/avatargroup/avatargroup.umd.js +1 -1
- package/badge/badge.common.js +1 -1
- package/badge/badge.umd.js +1 -1
- package/badgedirective/badgedirective.common.js +2 -2
- package/badgedirective/badgedirective.umd.js +2 -2
- package/badgedirective/badgedirective.umd.min.js +1 -1
- package/blockui/blockui.common.js +3 -3
- package/blockui/blockui.umd.js +3 -3
- package/blockui/blockui.umd.min.js +1 -1
- package/breadcrumb/breadcrumb.common.js +2 -2
- package/breadcrumb/breadcrumb.umd.js +2 -2
- package/breadcrumb/breadcrumbitem.common.js +1 -1
- package/breadcrumb/breadcrumbitem.umd.js +1 -1
- package/button/button.common.js +3 -3
- package/button/button.umd.js +3 -3
- package/button/button.umd.min.js +1 -1
- package/calendar/Calendar.vue +8 -2
- package/calendar/calendar.common.js +41 -31
- package/calendar/calendar.umd.js +41 -31
- package/calendar/calendar.umd.min.js +1 -1
- package/card/card.common.js +1 -1
- package/card/card.umd.js +1 -1
- package/carousel/carousel.common.js +3 -3
- package/carousel/carousel.umd.js +3 -3
- package/carousel/carousel.umd.min.js +1 -1
- package/cascadeselect/cascadeselect.common.js +8 -4
- package/cascadeselect/cascadeselect.umd.js +8 -4
- package/cascadeselect/cascadeselect.umd.min.js +1 -1
- package/cascadeselect/cascadeselectsub.common.js +7 -3
- package/cascadeselect/cascadeselectsub.umd.js +7 -3
- package/cascadeselect/cascadeselectsub.umd.min.js +1 -1
- package/cascadeselect/demo.html +3 -4
- package/chart/chart.common.js +1 -1
- package/chart/chart.umd.js +1 -1
- package/checkbox/checkbox.common.js +5 -1
- package/checkbox/checkbox.umd.js +5 -1
- package/checkbox/checkbox.umd.min.js +1 -1
- package/chip/chip.common.js +1 -1
- package/chip/chip.umd.js +1 -1
- package/chips/chips.common.js +1 -1
- package/chips/chips.umd.js +1 -1
- package/colorpicker/colorpicker.common.js +3 -3
- package/colorpicker/colorpicker.umd.js +3 -3
- 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 +3 -3
- package/column/column.umd.js +3 -3
- package/column/column.umd.min.js +1 -1
- package/columngroup/columngroup.common.js +1 -1
- package/columngroup/columngroup.umd.js +1 -1
- package/config/primevue.common.js +8 -0
- package/config/primevue.umd.js +8 -0
- package/config/primevue.umd.min.js +1 -1
- package/confirmationeventbus/confirmationeventbus.common.js +4 -0
- package/confirmationeventbus/confirmationeventbus.umd.js +4 -0
- package/confirmationeventbus/confirmationeventbus.umd.min.js +1 -1
- package/confirmationservice/confirmationservice.common.js +4 -0
- package/confirmationservice/confirmationservice.umd.js +4 -0
- package/confirmationservice/confirmationservice.umd.min.js +1 -1
- package/confirmdialog/confirmdialog.common.js +20 -13
- package/confirmdialog/confirmdialog.umd.js +20 -13
- package/confirmdialog/confirmdialog.umd.min.js +1 -1
- package/confirmpopup/confirmpopup.common.js +8 -4
- package/confirmpopup/confirmpopup.umd.js +8 -4
- package/confirmpopup/confirmpopup.umd.min.js +1 -1
- package/contextmenu/contextmenu.common.js +4 -4
- package/contextmenu/contextmenu.umd.js +4 -4
- package/contextmenu/contextmenu.umd.min.js +1 -1
- package/contextmenu/contextmenusub.common.js +3 -3
- package/contextmenu/contextmenusub.umd.js +3 -3
- package/contextmenu/contextmenusub.umd.min.js +1 -1
- package/datatable/BodyCell.vue +18 -9
- package/datatable/ColumnSlot.vue +16 -1
- package/datatable/DataTable.d.ts +2 -0
- package/datatable/DataTable.vue +47 -27
- package/datatable/HeaderCheckbox.vue +7 -4
- package/datatable/RowCheckbox.vue +2 -2
- package/datatable/RowRadioButton.vue +1 -1
- package/datatable/TableBody.vue +5 -1
- package/datatable/TableFooter.vue +1 -1
- package/datatable/TableHeader.vue +1 -1
- package/datatable/bodycell.common.js +77 -22
- package/datatable/bodycell.umd.js +77 -22
- package/datatable/bodycell.umd.min.js +1 -1
- package/datatable/columnfilter.common.js +17 -11
- package/datatable/columnfilter.umd.js +17 -11
- package/datatable/columnfilter.umd.min.js +1 -1
- package/datatable/columnslot.common.js +16 -1
- package/datatable/columnslot.umd.js +16 -1
- package/datatable/columnslot.umd.min.js +1 -1
- package/datatable/datatable.common.js +213 -115
- package/datatable/datatable.umd.js +213 -115
- package/datatable/datatable.umd.min.js +1 -1
- package/datatable/footercell.common.js +23 -4
- package/datatable/footercell.umd.js +23 -4
- package/datatable/footercell.umd.min.js +1 -1
- package/datatable/headercell.common.js +45 -21
- package/datatable/headercell.umd.js +45 -21
- package/datatable/headercell.umd.min.js +1 -1
- package/datatable/headercheckbox.common.js +8 -5
- package/datatable/headercheckbox.umd.js +8 -5
- package/datatable/headercheckbox.umd.min.js +1 -1
- package/datatable/rowcheckbox.common.js +3 -3
- package/datatable/rowcheckbox.umd.js +3 -3
- package/datatable/rowcheckbox.umd.min.js +1 -1
- package/datatable/rowradiobutton.common.js +3 -3
- package/datatable/rowradiobutton.umd.js +3 -3
- package/datatable/rowradiobutton.umd.min.js +1 -1
- package/datatable/tablebody.common.js +92 -30
- package/datatable/tablebody.umd.js +92 -30
- package/datatable/tablebody.umd.min.js +1 -1
- package/datatable/tablefooter.common.js +26 -7
- package/datatable/tablefooter.umd.js +26 -7
- package/datatable/tablefooter.umd.min.js +1 -1
- package/datatable/tableheader.common.js +48 -24
- package/datatable/tableheader.umd.js +48 -24
- package/datatable/tableheader.umd.min.js +1 -1
- package/datatable/tableloadingbody.common.js +17 -2
- package/datatable/tableloadingbody.umd.js +17 -2
- package/datatable/tableloadingbody.umd.min.js +1 -1
- package/dataview/dataview.common.js +36 -29
- package/dataview/dataview.umd.js +36 -29
- package/dataview/dataview.umd.min.js +1 -1
- package/dataviewlayoutoptions/dataviewlayoutoptions.common.js +1 -1
- package/dataviewlayoutoptions/dataviewlayoutoptions.umd.js +1 -1
- package/deferredcontent/deferredcontent.common.js +1 -1
- package/deferredcontent/deferredcontent.umd.js +1 -1
- package/dialog/Dialog.d.ts +1 -0
- package/dialog/Dialog.vue +7 -4
- package/dialog/dialog.common.js +11 -8
- package/dialog/dialog.umd.js +11 -8
- package/dialog/dialog.umd.min.js +1 -1
- package/divider/divider.common.js +1 -1
- package/divider/divider.umd.js +1 -1
- package/dock/dock.common.js +2 -2
- package/dock/dock.umd.js +2 -2
- package/dock/docksub.common.js +1 -1
- package/dock/docksub.umd.js +1 -1
- package/dropdown/Dropdown.vue +4 -3
- package/dropdown/dropdown.common.js +11 -6
- package/dropdown/dropdown.umd.js +11 -6
- package/dropdown/dropdown.umd.min.js +1 -1
- package/editor/editor.common.js +1 -1
- package/editor/editor.umd.js +1 -1
- package/fieldset/fieldset.common.js +3 -3
- package/fieldset/fieldset.umd.js +3 -3
- package/fieldset/fieldset.umd.min.js +1 -1
- package/fileupload/FileUpload.vue +1 -0
- package/fileupload/fileupload.common.js +8 -7
- package/fileupload/fileupload.umd.js +8 -7
- package/fileupload/fileupload.umd.min.js +1 -1
- package/fullcalendar/fullcalendar.common.js +30 -23
- package/fullcalendar/fullcalendar.umd.js +30 -23
- package/fullcalendar/fullcalendar.umd.min.js +2 -2
- package/galleria/galleria.common.js +6 -6
- package/galleria/galleria.umd.js +6 -6
- package/galleria/galleria.umd.min.js +1 -1
- package/galleria/galleriacontent.common.js +5 -5
- package/galleria/galleriacontent.umd.js +5 -5
- package/galleria/galleriacontent.umd.min.js +1 -1
- package/galleria/galleriaitem.common.js +3 -3
- package/galleria/galleriaitem.umd.js +3 -3
- package/galleria/galleriaitem.umd.min.js +1 -1
- package/galleria/galleriathumbnails.common.js +3 -3
- package/galleria/galleriathumbnails.umd.js +3 -3
- package/galleria/galleriathumbnails.umd.min.js +1 -1
- package/imagepreview/imagepreview.common.js +3 -3
- package/imagepreview/imagepreview.umd.js +3 -3
- package/imagepreview/imagepreview.umd.min.js +1 -1
- package/inlinemessage/inlinemessage.common.js +1 -1
- package/inlinemessage/inlinemessage.umd.js +1 -1
- package/inplace/inplace.common.js +4 -4
- package/inplace/inplace.umd.js +4 -4
- package/inplace/inplace.umd.min.js +1 -1
- package/inputmask/inputmask.common.js +3 -3
- package/inputmask/inputmask.umd.js +3 -3
- package/inputmask/inputmask.umd.min.js +1 -1
- package/inputnumber/InputNumber.vue +3 -1
- package/inputnumber/inputnumber.common.js +9 -7
- package/inputnumber/inputnumber.umd.js +9 -7
- package/inputnumber/inputnumber.umd.min.js +1 -1
- package/inputswitch/inputswitch.common.js +1 -1
- package/inputswitch/inputswitch.umd.js +1 -1
- package/inputtext/inputtext.common.js +1 -1
- package/inputtext/inputtext.umd.js +1 -1
- package/knob/Knob.vue +1 -1
- package/knob/knob.common.js +3 -3
- package/knob/knob.umd.js +3 -3
- package/knob/knob.umd.min.js +1 -1
- package/listbox/listbox.common.js +7 -3
- package/listbox/listbox.umd.js +7 -3
- package/listbox/listbox.umd.min.js +1 -1
- package/megamenu/megamenu.common.js +3 -3
- package/megamenu/megamenu.umd.js +3 -3
- package/megamenu/megamenu.umd.min.js +1 -1
- package/menu/menu.common.js +4 -4
- package/menu/menu.umd.js +4 -4
- package/menu/menu.umd.min.js +1 -1
- package/menu/menuitem.common.js +3 -3
- package/menu/menuitem.umd.js +3 -3
- package/menu/menuitem.umd.min.js +1 -1
- package/menubar/demo.html +4 -3
- package/menubar/menubar.common.js +4 -4
- package/menubar/menubar.umd.js +4 -4
- package/menubar/menubar.umd.min.js +1 -1
- package/menubar/menubarsub.common.js +3 -3
- package/menubar/menubarsub.umd.js +3 -3
- package/menubar/menubarsub.umd.min.js +1 -1
- package/message/message.common.js +3 -3
- package/message/message.umd.js +3 -3
- package/message/message.umd.min.js +1 -1
- package/multiselect/MultiSelect.vue +2 -2
- package/multiselect/multiselect.common.js +9 -5
- package/multiselect/multiselect.umd.js +9 -5
- 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 +21 -6
- package/orderlist/orderlist.umd.js +21 -6
- package/orderlist/orderlist.umd.min.js +1 -1
- package/organizationchart/organizationchart.common.js +4 -4
- package/organizationchart/organizationchart.umd.js +4 -4
- package/organizationchart/organizationchart.umd.min.js +1 -1
- package/organizationchart/organizationchartnode.common.js +3 -3
- package/organizationchart/organizationchartnode.umd.js +3 -3
- package/organizationchart/organizationchartnode.umd.min.js +1 -1
- package/overlayeventbus/overlayeventbus.common.js +4 -0
- package/overlayeventbus/overlayeventbus.umd.js +4 -0
- package/overlayeventbus/overlayeventbus.umd.min.js +1 -1
- package/overlaypanel/overlaypanel.common.js +3 -3
- package/overlaypanel/overlaypanel.umd.js +3 -3
- package/overlaypanel/overlaypanel.umd.min.js +1 -1
- package/package.json +1 -1
- package/paginator/currentpagereport.common.js +1 -1
- package/paginator/currentpagereport.umd.js +1 -1
- package/paginator/firstpagelink.common.js +3 -3
- package/paginator/firstpagelink.umd.js +3 -3
- package/paginator/firstpagelink.umd.min.js +1 -1
- package/paginator/jumptopagedropdown.common.js +15 -10
- package/paginator/jumptopagedropdown.umd.js +15 -10
- package/paginator/jumptopagedropdown.umd.min.js +1 -1
- package/paginator/jumptopageinput.common.js +14 -12
- package/paginator/jumptopageinput.umd.js +14 -12
- package/paginator/jumptopageinput.umd.min.js +1 -1
- package/paginator/lastpagelink.common.js +3 -3
- package/paginator/lastpagelink.umd.js +3 -3
- package/paginator/lastpagelink.umd.min.js +1 -1
- package/paginator/nextpagelink.common.js +3 -3
- package/paginator/nextpagelink.umd.js +3 -3
- package/paginator/nextpagelink.umd.min.js +1 -1
- package/paginator/pagelinks.common.js +3 -3
- package/paginator/pagelinks.umd.js +3 -3
- package/paginator/pagelinks.umd.min.js +1 -1
- package/paginator/paginator.common.js +35 -28
- package/paginator/paginator.umd.js +35 -28
- package/paginator/paginator.umd.min.js +1 -1
- package/paginator/prevpagelink.common.js +3 -3
- package/paginator/prevpagelink.umd.js +3 -3
- package/paginator/prevpagelink.umd.min.js +1 -1
- package/paginator/rowsperpagedropdown.common.js +15 -10
- package/paginator/rowsperpagedropdown.umd.js +15 -10
- package/paginator/rowsperpagedropdown.umd.min.js +1 -1
- package/panel/panel.common.js +3 -3
- package/panel/panel.umd.js +3 -3
- package/panel/panel.umd.min.js +1 -1
- package/panelmenu/PanelMenuSub.vue +2 -2
- package/panelmenu/panelmenu.common.js +9 -9
- package/panelmenu/panelmenu.umd.js +9 -9
- package/panelmenu/panelmenu.umd.min.js +1 -1
- package/panelmenu/panelmenusub.common.js +4 -4
- package/panelmenu/panelmenusub.umd.js +4 -4
- package/panelmenu/panelmenusub.umd.min.js +1 -1
- package/password/password.common.js +4 -4
- package/password/password.umd.js +4 -4
- 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 +19 -6
- package/picklist/picklist.umd.js +19 -6
- package/picklist/picklist.umd.min.js +1 -1
- package/progressbar/progressbar.common.js +1 -1
- package/progressbar/progressbar.umd.js +1 -1
- package/progressspinner/progressspinner.common.js +1 -1
- package/progressspinner/progressspinner.umd.js +1 -1
- package/radiobutton/radiobutton.common.js +5 -1
- package/radiobutton/radiobutton.umd.js +5 -1
- package/radiobutton/radiobutton.umd.min.js +1 -1
- package/rating/rating.common.js +1 -1
- package/rating/rating.umd.js +1 -1
- package/resources/primevue.css +3 -2
- package/resources/primevue.min.css +1 -1
- package/resources/themes/arya-blue/theme.css +299 -22
- package/resources/themes/arya-green/theme.css +299 -22
- package/resources/themes/arya-orange/theme.css +299 -22
- package/resources/themes/arya-purple/theme.css +299 -22
- package/resources/themes/bootstrap4-dark-blue/theme.css +287 -6
- package/resources/themes/bootstrap4-dark-purple/theme.css +287 -6
- package/resources/themes/bootstrap4-light-blue/theme.css +286 -5
- package/resources/themes/bootstrap4-light-purple/theme.css +286 -5
- package/resources/themes/fluent-light/theme.css +298 -21
- package/resources/themes/lara-dark-blue/theme.css +638 -405
- package/resources/themes/lara-dark-indigo/theme.css +638 -405
- package/resources/themes/lara-dark-purple/theme.css +638 -405
- package/resources/themes/lara-dark-teal/theme.css +638 -405
- package/resources/themes/lara-light-blue/theme.css +398 -165
- package/resources/themes/lara-light-indigo/theme.css +305 -72
- package/resources/themes/lara-light-purple/theme.css +305 -72
- package/resources/themes/lara-light-teal/theme.css +305 -72
- package/resources/themes/luna-amber/theme.css +298 -21
- package/resources/themes/luna-blue/theme.css +298 -21
- package/resources/themes/luna-green/theme.css +298 -21
- package/resources/themes/luna-pink/theme.css +298 -21
- package/resources/themes/md-dark-deeppurple/theme.css +372 -12
- package/resources/themes/md-dark-indigo/theme.css +372 -12
- package/resources/themes/md-light-deeppurple/theme.css +369 -9
- package/resources/themes/md-light-indigo/theme.css +369 -9
- package/resources/themes/mdc-dark-deeppurple/theme.css +372 -12
- package/resources/themes/mdc-dark-indigo/theme.css +372 -12
- package/resources/themes/mdc-light-deeppurple/theme.css +369 -9
- package/resources/themes/mdc-light-indigo/theme.css +369 -9
- package/resources/themes/nova/theme.css +298 -21
- package/resources/themes/nova-accent/theme.css +298 -21
- package/resources/themes/nova-alt/theme.css +298 -21
- package/resources/themes/nova-vue/theme.css +298 -21
- package/resources/themes/rhea/theme.css +298 -21
- package/resources/themes/saga-blue/theme.css +282 -5
- package/resources/themes/saga-green/theme.css +282 -5
- package/resources/themes/saga-orange/theme.css +282 -5
- package/resources/themes/saga-purple/theme.css +282 -5
- package/resources/themes/tailwind-light/theme.css +301 -24
- package/resources/themes/vela-blue/theme.css +299 -22
- package/resources/themes/vela-green/theme.css +299 -22
- package/resources/themes/vela-orange/theme.css +299 -22
- package/resources/themes/vela-purple/theme.css +299 -22
- package/ripple/Ripple.css +3 -2
- package/ripple/ripple.common.js +2 -2
- package/ripple/ripple.umd.js +2 -2
- package/ripple/ripple.umd.min.js +1 -1
- package/row/row.common.js +1 -1
- package/row/row.umd.js +1 -1
- package/scrollpanel/scrollpanel.common.js +3 -3
- package/scrollpanel/scrollpanel.umd.js +3 -3
- package/scrollpanel/scrollpanel.umd.min.js +1 -1
- package/scrolltop/scrolltop.common.js +3 -3
- package/scrolltop/scrolltop.umd.js +3 -3
- package/scrolltop/scrolltop.umd.min.js +1 -1
- package/selectbutton/selectbutton.common.js +7 -3
- package/selectbutton/selectbutton.umd.js +7 -3
- package/selectbutton/selectbutton.umd.min.js +1 -1
- package/sidebar/Sidebar.vue +2 -0
- package/sidebar/sidebar.common.js +5 -5
- package/sidebar/sidebar.umd.js +5 -5
- package/sidebar/sidebar.umd.min.js +1 -1
- package/skeleton/skeleton.common.js +1 -1
- package/skeleton/skeleton.umd.js +1 -1
- package/slider/Slider.vue +8 -1
- package/slider/slider.common.js +11 -5
- package/slider/slider.umd.js +11 -5
- package/slider/slider.umd.min.js +1 -1
- package/speeddial/speeddial.common.js +4 -4
- package/speeddial/speeddial.umd.js +4 -4
- package/speeddial/speeddial.umd.min.js +1 -1
- package/splitbutton/SplitButton.vue +7 -3
- package/splitbutton/splitbutton.common.js +46 -46
- package/splitbutton/splitbutton.umd.js +46 -46
- package/splitbutton/splitbutton.umd.min.js +1 -1
- package/splitter/splitter.common.js +2 -2
- package/splitter/splitter.umd.js +2 -2
- package/splitter/splitter.umd.min.js +1 -1
- package/steps/Steps.vue +1 -1
- package/steps/steps.common.js +3 -3
- package/steps/steps.umd.js +3 -3
- package/steps/steps.umd.min.js +1 -1
- package/styleclass/StyleClass.js +10 -2
- package/styleclass/styleclass.common.js +12 -4
- package/styleclass/styleclass.umd.js +12 -4
- package/styleclass/styleclass.umd.min.js +1 -1
- package/tabmenu/tabmenu.common.js +3 -3
- package/tabmenu/tabmenu.umd.js +3 -3
- package/tabmenu/tabmenu.umd.min.js +1 -1
- package/tabpanel/tabpanel.common.js +1 -1
- package/tabpanel/tabpanel.umd.js +1 -1
- package/tabview/TabView.vue +1 -1
- package/tabview/tabview.common.js +9 -5
- package/tabview/tabview.umd.js +9 -5
- package/tabview/tabview.umd.min.js +1 -1
- package/tag/Tag.vue +1 -1
- package/tag/tag.common.js +3 -3
- package/tag/tag.umd.js +3 -3
- package/tag/tag.umd.min.js +1 -1
- package/terminal/terminal.common.js +1 -1
- package/terminal/terminal.umd.js +1 -1
- package/textarea/textarea.common.js +1 -1
- package/textarea/textarea.umd.js +1 -1
- package/tieredmenu/demo.html +4 -3
- package/tieredmenu/tieredmenu.common.js +4 -4
- package/tieredmenu/tieredmenu.umd.js +4 -4
- package/tieredmenu/tieredmenu.umd.min.js +1 -1
- package/tieredmenu/tieredmenusub.common.js +3 -3
- package/tieredmenu/tieredmenusub.umd.js +3 -3
- package/tieredmenu/tieredmenusub.umd.min.js +1 -1
- package/timeline/timeline.common.js +5 -1
- package/timeline/timeline.umd.js +5 -1
- package/timeline/timeline.umd.min.js +1 -1
- package/toast/toast.common.js +4 -4
- package/toast/toast.umd.js +4 -4
- package/toast/toast.umd.min.js +1 -1
- package/toast/toastmessage.common.js +3 -3
- package/toast/toastmessage.umd.js +3 -3
- package/toast/toastmessage.umd.min.js +1 -1
- package/togglebutton/togglebutton.common.js +3 -3
- package/togglebutton/togglebutton.umd.js +3 -3
- package/togglebutton/togglebutton.umd.min.js +1 -1
- package/toolbar/toolbar.common.js +1 -1
- package/toolbar/toolbar.umd.js +1 -1
- package/tooltip/Tooltip.js +28 -1
- package/tooltip/tooltip.common.js +34 -3
- package/tooltip/tooltip.umd.js +34 -3
- package/tooltip/tooltip.umd.min.js +1 -1
- package/tree/Tree.vue +1 -0
- package/tree/tree.common.js +10 -6
- package/tree/tree.umd.js +10 -6
- package/tree/tree.umd.min.js +1 -1
- package/tree/treenode.common.js +3 -3
- package/tree/treenode.umd.js +3 -3
- package/tree/treenode.umd.min.js +1 -1
- package/treetable/TreeTable.d.ts +1 -0
- package/treetable/TreeTable.vue +14 -32
- package/treetable/TreeTableRow.vue +7 -4
- package/treetable/demo.html +3 -3
- package/treetable/footercell.common.js +7 -3
- package/treetable/footercell.umd.js +7 -3
- package/treetable/footercell.umd.min.js +1 -1
- package/treetable/headercell.common.js +7 -3
- package/treetable/headercell.umd.js +7 -3
- package/treetable/headercell.umd.min.js +1 -1
- package/treetable/treetable.common.js +60 -59
- package/treetable/treetable.umd.js +60 -59
- package/treetable/treetable.umd.min.js +1 -1
- package/treetable/treetablerow.common.js +12 -5
- package/treetable/treetablerow.umd.js +12 -5
- package/treetable/treetablerow.umd.min.js +1 -1
- package/treetable/treetablerowloader.common.js +13 -6
- package/treetable/treetablerowloader.umd.js +13 -6
- package/treetable/treetablerowloader.umd.min.js +1 -1
- package/tristatecheckbox/tristatecheckbox.common.js +1 -1
- package/tristatecheckbox/tristatecheckbox.umd.js +1 -1
- package/utils/DomHandler.js +2 -2
- package/utils/connectedoverlayscrollhandler.common.js +2 -2
- package/utils/connectedoverlayscrollhandler.umd.js +2 -2
- package/utils/connectedoverlayscrollhandler.umd.min.js +1 -1
- package/utils/domhandler.common.js +2 -2
- package/utils/domhandler.umd.js +2 -2
- package/utils/domhandler.umd.min.js +1 -1
- package/utils/eventbus.common.js +4 -0
- package/utils/eventbus.umd.js +4 -0
- package/utils/eventbus.umd.min.js +1 -1
- package/utils/objectutils.common.js +4 -0
- package/utils/objectutils.umd.js +4 -0
- package/utils/objectutils.umd.min.js +1 -1
- package/utils/utils.common.js +7 -2
- package/utils/utils.umd.js +7 -2
- package/utils/utils.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/treetable/BodyCell.vue +0 -162
- package/treetable/bodycell.common.js +0 -5596
- package/treetable/bodycell.umd.js +0 -5606
- package/treetable/bodycell.umd.min.js +0 -1
package/web-types.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
|
3
3
|
"framework": "vue",
|
|
4
4
|
"name": "PrimeVue",
|
|
5
|
-
"version": "2.
|
|
5
|
+
"version": "2.9.2",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
8
8
|
"types-syntax": "typescript",
|
|
@@ -36,6 +36,26 @@
|
|
|
36
36
|
"kind": "expression",
|
|
37
37
|
"type": "number|array"
|
|
38
38
|
}
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"name": "expandIcon",
|
|
42
|
+
"default": "pi-chevron-right",
|
|
43
|
+
"doc-url": "https://primefaces.org/primevue/showcase-v2/#/accordion",
|
|
44
|
+
"description": "Icon of a collapsed tab.",
|
|
45
|
+
"value": {
|
|
46
|
+
"kind": "expression",
|
|
47
|
+
"type": "string"
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"name": "collapseIcon",
|
|
52
|
+
"default": "pi-chevron-down",
|
|
53
|
+
"doc-url": "https://primefaces.org/primevue/showcase-v2/#/accordion",
|
|
54
|
+
"description": "Icon of a expanded tab.",
|
|
55
|
+
"value": {
|
|
56
|
+
"kind": "expression",
|
|
57
|
+
"type": "string"
|
|
58
|
+
}
|
|
39
59
|
}
|
|
40
60
|
],
|
|
41
61
|
"events": [
|
|
@@ -2453,6 +2473,26 @@
|
|
|
2453
2473
|
"kind": "expression",
|
|
2454
2474
|
"type": "string"
|
|
2455
2475
|
}
|
|
2476
|
+
},
|
|
2477
|
+
{
|
|
2478
|
+
"name": "exportable",
|
|
2479
|
+
"default": "true",
|
|
2480
|
+
"doc-url": "https://primefaces.org/primevue/showcase-v2/#/datatable",
|
|
2481
|
+
"description": "Whether the column is included in data export.",
|
|
2482
|
+
"value": {
|
|
2483
|
+
"kind": "expression",
|
|
2484
|
+
"type": "boolean"
|
|
2485
|
+
}
|
|
2486
|
+
},
|
|
2487
|
+
{
|
|
2488
|
+
"name": "exportHeader",
|
|
2489
|
+
"default": "null",
|
|
2490
|
+
"doc-url": "https://primefaces.org/primevue/showcase-v2/#/datatable",
|
|
2491
|
+
"description": "Custom export header of the column to be exported as CSV.",
|
|
2492
|
+
"value": {
|
|
2493
|
+
"kind": "expression",
|
|
2494
|
+
"type": "string"
|
|
2495
|
+
}
|
|
2456
2496
|
}
|
|
2457
2497
|
],
|
|
2458
2498
|
"slots": [
|
|
@@ -4412,6 +4452,16 @@
|
|
|
4412
4452
|
"type": "string"
|
|
4413
4453
|
}
|
|
4414
4454
|
},
|
|
4455
|
+
{
|
|
4456
|
+
"name": "containerStyle",
|
|
4457
|
+
"default": "null",
|
|
4458
|
+
"doc-url": "https://primefaces.org/primevue/showcase-v2/#/dialog",
|
|
4459
|
+
"description": "Inline style of the component.",
|
|
4460
|
+
"value": {
|
|
4461
|
+
"kind": "expression",
|
|
4462
|
+
"type": "string"
|
|
4463
|
+
}
|
|
4464
|
+
},
|
|
4415
4465
|
{
|
|
4416
4466
|
"name": "contentStyle",
|
|
4417
4467
|
"default": "null",
|
|
@@ -7449,6 +7499,16 @@
|
|
|
7449
7499
|
"kind": "expression",
|
|
7450
7500
|
"type": "object"
|
|
7451
7501
|
}
|
|
7502
|
+
},
|
|
7503
|
+
{
|
|
7504
|
+
"name": "stripedRows",
|
|
7505
|
+
"default": "false",
|
|
7506
|
+
"doc-url": "https://primefaces.org/primevue/showcase-v2/#/orderlist",
|
|
7507
|
+
"description": "Whether to displays rows with alternating colors.",
|
|
7508
|
+
"value": {
|
|
7509
|
+
"kind": "expression",
|
|
7510
|
+
"type": "boolean"
|
|
7511
|
+
}
|
|
7452
7512
|
}
|
|
7453
7513
|
],
|
|
7454
7514
|
"events": [
|
|
@@ -8154,6 +8214,16 @@
|
|
|
8154
8214
|
"kind": "expression",
|
|
8155
8215
|
"type": "object"
|
|
8156
8216
|
}
|
|
8217
|
+
},
|
|
8218
|
+
{
|
|
8219
|
+
"name": "stripedRows",
|
|
8220
|
+
"default": "false",
|
|
8221
|
+
"doc-url": "https://primefaces.org/primevue/showcase-v2/#/picklist",
|
|
8222
|
+
"description": "Whether to displays rows with alternating colors.",
|
|
8223
|
+
"value": {
|
|
8224
|
+
"kind": "expression",
|
|
8225
|
+
"type": "boolean"
|
|
8226
|
+
}
|
|
8157
8227
|
}
|
|
8158
8228
|
],
|
|
8159
8229
|
"events": [
|
|
@@ -10738,6 +10808,16 @@
|
|
|
10738
10808
|
"kind": "expression",
|
|
10739
10809
|
"type": "number"
|
|
10740
10810
|
}
|
|
10811
|
+
},
|
|
10812
|
+
{
|
|
10813
|
+
"name": "showGridlines",
|
|
10814
|
+
"default": "false",
|
|
10815
|
+
"doc-url": "https://primefaces.org/primevue/showcase-v2/#/treetable",
|
|
10816
|
+
"description": "Whether to show grid lines between cells.",
|
|
10817
|
+
"value": {
|
|
10818
|
+
"kind": "expression",
|
|
10819
|
+
"type": "boolean"
|
|
10820
|
+
}
|
|
10741
10821
|
}
|
|
10742
10822
|
],
|
|
10743
10823
|
"events": [
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/treetable/BodyCell.vue
DELETED
|
@@ -1,162 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<td :style="containerStyle" :class="containerClass">
|
|
3
|
-
<button type="button" class="p-treetable-toggler p-link" @click="toggle" v-if="columnProp('expander')" :style="togglerStyle" tabindex="-1" v-ripple>
|
|
4
|
-
<i :class="togglerIcon"></i>
|
|
5
|
-
</button>
|
|
6
|
-
<div class="p-checkbox p-treetable-checkbox p-component" @click="toggleCheckbox" v-if="checkboxSelectionMode && columnProp('expander')" role="checkbox" :aria-checked="checked">
|
|
7
|
-
<div class="p-hidden-accessible">
|
|
8
|
-
<input type="checkbox" @focus="onCheckboxFocus" @blur="onCheckboxBlur" />
|
|
9
|
-
</div>
|
|
10
|
-
<div ref="checkboxEl" :class="checkboxClass">
|
|
11
|
-
<span :class="checkboxIcon"></span>
|
|
12
|
-
</div>
|
|
13
|
-
</div>
|
|
14
|
-
<TTColumnSlot :node="node" :column="column" v-if="column.children && column.children.body" />
|
|
15
|
-
<template v-else><span>{{resolveFieldData(node.data, columnProp('field'))}}</span></template>
|
|
16
|
-
</td>
|
|
17
|
-
</template>
|
|
18
|
-
|
|
19
|
-
<script>
|
|
20
|
-
import DomHandler from '../utils/DomHandler';
|
|
21
|
-
import ObjectUtils from '../utils/ObjectUtils';
|
|
22
|
-
import TreeTableColumnSlot from './TreeTableColumnSlot.vue';
|
|
23
|
-
import Ripple from '../ripple/Ripple';
|
|
24
|
-
|
|
25
|
-
export default {
|
|
26
|
-
props: {
|
|
27
|
-
node: {
|
|
28
|
-
type: Object,
|
|
29
|
-
default: null
|
|
30
|
-
},
|
|
31
|
-
column: {
|
|
32
|
-
type: Object,
|
|
33
|
-
default: null
|
|
34
|
-
},
|
|
35
|
-
level: {
|
|
36
|
-
type: Number,
|
|
37
|
-
default: 0
|
|
38
|
-
},
|
|
39
|
-
indentation: {
|
|
40
|
-
type: Number,
|
|
41
|
-
default: 1
|
|
42
|
-
},
|
|
43
|
-
leaf: {
|
|
44
|
-
type: Boolean,
|
|
45
|
-
default: false
|
|
46
|
-
},
|
|
47
|
-
expanded: {
|
|
48
|
-
type: Boolean,
|
|
49
|
-
default: false
|
|
50
|
-
},
|
|
51
|
-
selectionMode: {
|
|
52
|
-
type: String,
|
|
53
|
-
default: null
|
|
54
|
-
},
|
|
55
|
-
checked: {
|
|
56
|
-
type: Boolean,
|
|
57
|
-
default: false
|
|
58
|
-
},
|
|
59
|
-
partialChecked: {
|
|
60
|
-
type: Boolean,
|
|
61
|
-
default: false
|
|
62
|
-
}
|
|
63
|
-
},
|
|
64
|
-
data() {
|
|
65
|
-
return {
|
|
66
|
-
styleObject: {
|
|
67
|
-
left: '',
|
|
68
|
-
right: ''
|
|
69
|
-
},
|
|
70
|
-
checkboxFocused: false
|
|
71
|
-
}
|
|
72
|
-
},
|
|
73
|
-
mounted() {
|
|
74
|
-
if (this.columnProp('frozen')) {
|
|
75
|
-
this.updateStickyPosition();
|
|
76
|
-
}
|
|
77
|
-
},
|
|
78
|
-
updated() {
|
|
79
|
-
if (this.columnProp('frozen')) {
|
|
80
|
-
this.updateStickyPosition();
|
|
81
|
-
}
|
|
82
|
-
},
|
|
83
|
-
methods: {
|
|
84
|
-
toggle() {
|
|
85
|
-
this.$emit('node-toggle', this.node);
|
|
86
|
-
},
|
|
87
|
-
columnProp(prop) {
|
|
88
|
-
return ObjectUtils.getVNodeProp(this.column, prop);
|
|
89
|
-
},
|
|
90
|
-
updateStickyPosition() {
|
|
91
|
-
if (this.columnProp('frozen')) {
|
|
92
|
-
let align = this.columnProp('alignFrozen');
|
|
93
|
-
if (align === 'right') {
|
|
94
|
-
let right = 0;
|
|
95
|
-
let next = this.$el.nextElementSibling;
|
|
96
|
-
if (next) {
|
|
97
|
-
right = DomHandler.getOuterWidth(next) + parseFloat(next.style.right);
|
|
98
|
-
}
|
|
99
|
-
this.styleObject.right = right + 'px';
|
|
100
|
-
}
|
|
101
|
-
else {
|
|
102
|
-
let left = 0;
|
|
103
|
-
let prev = this.$el.previousElementSibling;
|
|
104
|
-
if (prev) {
|
|
105
|
-
left = DomHandler.getOuterWidth(prev) + parseFloat(prev.style.left);
|
|
106
|
-
}
|
|
107
|
-
this.styleObject.left = left + 'px';
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
},
|
|
111
|
-
resolveFieldData(rowData, field) {
|
|
112
|
-
return ObjectUtils.resolveFieldData(rowData, field);
|
|
113
|
-
},
|
|
114
|
-
toggleCheckbox() {
|
|
115
|
-
this.$emit('checkbox-toggle');
|
|
116
|
-
},
|
|
117
|
-
onCheckboxFocus() {
|
|
118
|
-
this.checkboxFocused = true;
|
|
119
|
-
},
|
|
120
|
-
onCheckboxBlur() {
|
|
121
|
-
this.checkboxFocused = false;
|
|
122
|
-
}
|
|
123
|
-
},
|
|
124
|
-
computed: {
|
|
125
|
-
containerClass() {
|
|
126
|
-
return [this.columnProp('bodyClass'), this.columnProp('className'), {
|
|
127
|
-
'p-frozen-column': this.columnProp('frozen')
|
|
128
|
-
}];
|
|
129
|
-
},
|
|
130
|
-
containerStyle() {
|
|
131
|
-
let bodyStyle = this.columnProp('bodyStyle');
|
|
132
|
-
let columnStyle = this.columnProp('styles');
|
|
133
|
-
|
|
134
|
-
return this.columnProp('frozen') ? [columnStyle, bodyStyle, this.styleObject]: [columnStyle, bodyStyle];
|
|
135
|
-
},
|
|
136
|
-
togglerStyle() {
|
|
137
|
-
return {
|
|
138
|
-
marginLeft: this.level * this.indentation + 'rem',
|
|
139
|
-
visibility: this.leaf ? 'hidden' : 'visible'
|
|
140
|
-
};
|
|
141
|
-
},
|
|
142
|
-
togglerIcon() {
|
|
143
|
-
return ['p-treetable-toggler-icon pi', {'pi-chevron-right': !this.expanded, 'pi-chevron-down': this.expanded}];
|
|
144
|
-
},
|
|
145
|
-
checkboxSelectionMode() {
|
|
146
|
-
return this.selectionMode === 'checkbox';
|
|
147
|
-
},
|
|
148
|
-
checkboxClass() {
|
|
149
|
-
return ['p-checkbox-box', {'p-highlight': this.checked, 'p-focus': this.checkboxFocused, 'p-indeterminate': this.partialChecked}];
|
|
150
|
-
},
|
|
151
|
-
checkboxIcon() {
|
|
152
|
-
return ['p-checkbox-icon', {'pi pi-check': this.checked, 'pi pi-minus': this.partialChecked}];
|
|
153
|
-
}
|
|
154
|
-
},
|
|
155
|
-
components: {
|
|
156
|
-
'TTColumnSlot': TreeTableColumnSlot
|
|
157
|
-
},
|
|
158
|
-
directives: {
|
|
159
|
-
'ripple': Ripple
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
</script>
|