primevue 3.44.0 → 3.46.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/accordion/Accordion.vue +1 -0
- package/accordion/accordion.cjs.js +1 -0
- package/accordion/accordion.cjs.min.js +1 -1
- package/accordion/accordion.esm.js +1 -0
- package/accordion/accordion.esm.min.js +1 -1
- package/accordion/accordion.js +1 -0
- package/accordion/accordion.min.js +1 -1
- package/autocomplete/BaseAutoComplete.vue +1 -1
- package/autocomplete/autocomplete.cjs.js +1 -1
- package/autocomplete/autocomplete.cjs.min.js +1 -1
- package/autocomplete/autocomplete.esm.js +1 -1
- package/autocomplete/autocomplete.esm.min.js +1 -1
- package/autocomplete/autocomplete.js +1 -1
- package/autocomplete/autocomplete.min.js +1 -1
- package/basecomponent/BaseComponent.vue +1 -1
- package/basecomponent/basecomponent.cjs.js +2 -2
- package/basecomponent/basecomponent.cjs.min.js +1 -1
- package/basecomponent/basecomponent.esm.js +2 -2
- package/basecomponent/basecomponent.esm.min.js +1 -1
- package/basecomponent/basecomponent.js +2 -2
- package/basecomponent/basecomponent.min.js +1 -1
- package/basecomponent/style/basecomponentstyle.cjs.js +1 -1
- package/basecomponent/style/basecomponentstyle.cjs.min.js +1 -1
- package/basecomponent/style/basecomponentstyle.esm.js +1 -1
- package/basecomponent/style/basecomponentstyle.esm.min.js +1 -1
- package/basecomponent/style/basecomponentstyle.js +1 -1
- package/basecomponent/style/basecomponentstyle.min.js +1 -1
- package/baseicon/BaseIcon.vue +8 -14
- package/baseicon/baseicon.cjs.js +10 -15
- package/baseicon/baseicon.cjs.min.js +1 -1
- package/baseicon/baseicon.esm.js +10 -15
- package/baseicon/baseicon.esm.min.js +1 -1
- package/baseicon/baseicon.js +10 -15
- package/baseicon/baseicon.min.js +1 -1
- package/calendar/BaseCalendar.vue +1 -1
- package/calendar/Calendar.vue +5 -2
- package/calendar/calendar.cjs.js +6 -3
- package/calendar/calendar.cjs.min.js +1 -1
- package/calendar/calendar.esm.js +6 -3
- package/calendar/calendar.esm.min.js +1 -1
- package/calendar/calendar.js +6 -3
- package/calendar/calendar.min.js +1 -1
- package/card/Card.d.ts +4 -0
- package/card/Card.vue +7 -5
- package/card/card.cjs.js +6 -3
- package/card/card.cjs.min.js +1 -1
- package/card/card.esm.js +6 -3
- package/card/card.esm.min.js +1 -1
- package/card/card.js +6 -3
- package/card/card.min.js +1 -1
- package/card/style/cardstyle.cjs.js +1 -0
- package/card/style/cardstyle.cjs.min.js +1 -1
- package/card/style/cardstyle.esm.js +1 -0
- package/card/style/cardstyle.esm.min.js +1 -1
- package/card/style/cardstyle.js +1 -0
- package/card/style/cardstyle.min.js +1 -1
- package/cascadeselect/BaseCascadeSelect.vue +1 -1
- package/cascadeselect/CascadeSelect.d.ts +41 -0
- package/cascadeselect/CascadeSelect.vue +1 -0
- package/cascadeselect/CascadeSelectSub.vue +18 -5
- package/cascadeselect/cascadeselect.cjs.js +20 -6
- package/cascadeselect/cascadeselect.cjs.min.js +1 -1
- package/cascadeselect/cascadeselect.esm.js +20 -6
- package/cascadeselect/cascadeselect.esm.min.js +1 -1
- package/cascadeselect/cascadeselect.js +20 -6
- package/cascadeselect/cascadeselect.min.js +1 -1
- package/cascadeselect/style/cascadeselectstyle.cjs.js +1 -1
- package/cascadeselect/style/cascadeselectstyle.cjs.min.js +1 -1
- package/cascadeselect/style/cascadeselectstyle.esm.js +1 -1
- package/cascadeselect/style/cascadeselectstyle.esm.min.js +1 -1
- package/cascadeselect/style/cascadeselectstyle.js +1 -1
- package/cascadeselect/style/cascadeselectstyle.min.js +1 -1
- package/chips/Chips.vue +1 -0
- package/chips/chips.cjs.js +1 -0
- package/chips/chips.cjs.min.js +1 -1
- package/chips/chips.esm.js +1 -0
- package/chips/chips.esm.min.js +1 -1
- package/chips/chips.js +1 -0
- package/chips/chips.min.js +1 -1
- package/colorpicker/BaseColorPicker.vue +1 -1
- package/colorpicker/ColorPicker.d.ts +1 -1
- package/colorpicker/colorpicker.cjs.js +1 -1
- package/colorpicker/colorpicker.cjs.min.js +1 -1
- package/colorpicker/colorpicker.esm.js +1 -1
- package/colorpicker/colorpicker.esm.min.js +1 -1
- package/colorpicker/colorpicker.js +1 -1
- package/colorpicker/colorpicker.min.js +1 -1
- package/column/Column.d.ts +4 -0
- package/column/Column.vue +7 -0
- package/column/column.cjs.js +9 -0
- package/column/column.cjs.min.js +1 -1
- package/column/column.esm.js +9 -0
- package/column/column.esm.min.js +1 -1
- package/column/column.js +9 -0
- package/column/column.min.js +1 -1
- package/columngroup/ColumnGroup.vue +7 -0
- package/columngroup/columngroup.cjs.js +9 -0
- package/columngroup/columngroup.cjs.min.js +1 -1
- package/columngroup/columngroup.esm.js +9 -0
- package/columngroup/columngroup.esm.min.js +1 -1
- package/columngroup/columngroup.js +9 -0
- package/columngroup/columngroup.min.js +1 -1
- package/confirmdialog/ConfirmDialog.d.ts +1 -1
- package/confirmdialog/ConfirmDialog.vue +1 -1
- package/confirmdialog/confirmdialog.cjs.js +1 -1
- package/confirmdialog/confirmdialog.cjs.min.js +1 -1
- package/confirmdialog/confirmdialog.esm.js +1 -1
- package/confirmdialog/confirmdialog.esm.min.js +1 -1
- package/confirmdialog/confirmdialog.js +1 -1
- package/confirmdialog/confirmdialog.min.js +1 -1
- package/confirmdialog/style/confirmdialogstyle.cjs.js +3 -6
- package/confirmdialog/style/confirmdialogstyle.cjs.min.js +1 -1
- package/confirmdialog/style/confirmdialogstyle.esm.js +3 -6
- package/confirmdialog/style/confirmdialogstyle.esm.min.js +1 -1
- package/confirmdialog/style/confirmdialogstyle.js +3 -6
- package/confirmdialog/style/confirmdialogstyle.min.js +1 -1
- package/confirmpopup/ConfirmPopup.vue +3 -3
- package/confirmpopup/confirmpopup.cjs.js +3 -3
- package/confirmpopup/confirmpopup.cjs.min.js +1 -1
- package/confirmpopup/confirmpopup.esm.js +3 -3
- package/confirmpopup/confirmpopup.esm.min.js +1 -1
- package/confirmpopup/confirmpopup.js +3 -3
- package/confirmpopup/confirmpopup.min.js +1 -1
- package/confirmpopup/style/confirmpopupstyle.cjs.js +5 -8
- package/confirmpopup/style/confirmpopupstyle.cjs.min.js +1 -1
- package/confirmpopup/style/confirmpopupstyle.esm.js +5 -8
- package/confirmpopup/style/confirmpopupstyle.esm.min.js +1 -1
- package/confirmpopup/style/confirmpopupstyle.js +5 -8
- package/confirmpopup/style/confirmpopupstyle.min.js +1 -1
- package/contextmenu/BaseContextMenu.vue +1 -1
- package/contextmenu/ContextMenu.vue +1 -0
- package/contextmenu/ContextMenuSub.vue +6 -1
- package/contextmenu/contextmenu.cjs.js +12 -5
- package/contextmenu/contextmenu.cjs.min.js +1 -1
- package/contextmenu/contextmenu.esm.js +12 -5
- package/contextmenu/contextmenu.esm.min.js +1 -1
- package/contextmenu/contextmenu.js +12 -5
- package/contextmenu/contextmenu.min.js +1 -1
- package/core/core.js +357 -209
- package/core/core.min.js +53 -53
- package/datatable/BaseDataTable.vue +2 -2
- package/datatable/BodyRow.vue +582 -0
- package/datatable/ColumnFilter.vue +1 -0
- package/datatable/DataTable.d.ts +1 -1
- package/datatable/DataTable.vue +111 -132
- package/datatable/HeaderCell.vue +10 -7
- package/datatable/TableBody.vue +74 -414
- package/datatable/TableFooter.vue +19 -26
- package/datatable/TableHeader.vue +19 -26
- package/datatable/datatable.cjs.js +895 -634
- package/datatable/datatable.cjs.min.js +1 -1
- package/datatable/datatable.esm.js +896 -635
- package/datatable/datatable.esm.min.js +1 -1
- package/datatable/datatable.js +895 -634
- package/datatable/datatable.min.js +1 -1
- package/datatable/style/datatablestyle.cjs.js +5 -4
- package/datatable/style/datatablestyle.cjs.min.js +1 -1
- package/datatable/style/datatablestyle.esm.js +5 -4
- package/datatable/style/datatablestyle.esm.min.js +1 -1
- package/datatable/style/datatablestyle.js +5 -4
- package/datatable/style/datatablestyle.min.js +1 -1
- package/dialog/BaseDialog.vue +1 -1
- package/dialog/dialog.cjs.js +1 -1
- package/dialog/dialog.cjs.min.js +1 -1
- package/dialog/dialog.esm.js +1 -1
- package/dialog/dialog.esm.min.js +1 -1
- package/dialog/dialog.js +1 -1
- package/dialog/dialog.min.js +1 -1
- package/dialog/style/dialogstyle.cjs.js +1 -1
- package/dialog/style/dialogstyle.cjs.min.js +1 -1
- package/dialog/style/dialogstyle.esm.js +1 -1
- package/dialog/style/dialogstyle.esm.min.js +1 -1
- package/dialog/style/dialogstyle.js +1 -1
- package/dialog/style/dialogstyle.min.js +1 -1
- package/dock/DockSub.vue +1 -0
- package/dock/dock.cjs.js +1 -0
- package/dock/dock.cjs.min.js +1 -1
- package/dock/dock.esm.js +1 -0
- package/dock/dock.esm.min.js +1 -1
- package/dock/dock.js +1 -0
- package/dock/dock.min.js +1 -1
- package/dropdown/BaseDropdown.vue +1 -1
- package/dropdown/Dropdown.vue +26 -0
- package/dropdown/dropdown.cjs.js +50 -26
- package/dropdown/dropdown.cjs.min.js +1 -1
- package/dropdown/dropdown.esm.js +50 -26
- package/dropdown/dropdown.esm.min.js +1 -1
- package/dropdown/dropdown.js +50 -26
- package/dropdown/dropdown.min.js +1 -1
- package/fieldset/Fieldset.vue +1 -1
- package/fieldset/fieldset.cjs.js +1 -1
- package/fieldset/fieldset.cjs.min.js +1 -1
- package/fieldset/fieldset.esm.js +1 -1
- package/fieldset/fieldset.esm.min.js +1 -1
- package/fieldset/fieldset.js +1 -1
- package/fieldset/fieldset.min.js +1 -1
- package/galleria/GalleriaItem.vue +1 -0
- package/galleria/GalleriaThumbnails.vue +1 -1
- package/galleria/galleria.cjs.js +2 -1
- package/galleria/galleria.cjs.min.js +1 -1
- package/galleria/galleria.esm.js +2 -1
- package/galleria/galleria.esm.min.js +1 -1
- package/galleria/galleria.js +2 -1
- package/galleria/galleria.min.js +1 -1
- package/icons/arrowdown/index.cjs.js +2 -2
- package/icons/arrowdown/index.cjs.min.js +1 -1
- package/icons/arrowdown/index.esm.js +2 -2
- package/icons/arrowdown/index.esm.min.js +1 -1
- package/icons/arrowdown/index.js +2 -2
- package/icons/arrowdown/index.min.js +1 -1
- package/icons/arrowdown/index.vue +1 -1
- package/icons/arrowup/index.cjs.js +2 -2
- package/icons/arrowup/index.cjs.min.js +1 -1
- package/icons/arrowup/index.esm.js +2 -2
- package/icons/arrowup/index.esm.min.js +1 -1
- package/icons/arrowup/index.js +2 -2
- package/icons/arrowup/index.min.js +1 -1
- package/icons/arrowup/index.vue +1 -1
- package/icons/ban/index.cjs.js +2 -2
- package/icons/ban/index.cjs.min.js +1 -1
- package/icons/ban/index.esm.js +2 -2
- package/icons/ban/index.esm.min.js +1 -1
- package/icons/ban/index.js +2 -2
- package/icons/ban/index.min.js +1 -1
- package/icons/ban/index.vue +1 -1
- package/icons/exclamationtriangle/index.cjs.js +2 -2
- package/icons/exclamationtriangle/index.cjs.min.js +1 -1
- package/icons/exclamationtriangle/index.esm.js +2 -2
- package/icons/exclamationtriangle/index.esm.min.js +1 -1
- package/icons/exclamationtriangle/index.js +2 -2
- package/icons/exclamationtriangle/index.min.js +1 -1
- package/icons/exclamationtriangle/index.vue +1 -1
- package/icons/eyeslash/index.cjs.js +2 -2
- package/icons/eyeslash/index.cjs.min.js +1 -1
- package/icons/eyeslash/index.esm.js +2 -2
- package/icons/eyeslash/index.esm.min.js +1 -1
- package/icons/eyeslash/index.js +2 -2
- package/icons/eyeslash/index.min.js +1 -1
- package/icons/eyeslash/index.vue +1 -1
- package/icons/filter/index.cjs.js +2 -2
- package/icons/filter/index.cjs.min.js +1 -1
- package/icons/filter/index.esm.js +2 -2
- package/icons/filter/index.esm.min.js +1 -1
- package/icons/filter/index.js +2 -2
- package/icons/filter/index.min.js +1 -1
- package/icons/filter/index.vue +1 -1
- package/icons/filterslash/index.cjs.js +2 -2
- package/icons/filterslash/index.cjs.min.js +1 -1
- package/icons/filterslash/index.esm.js +2 -2
- package/icons/filterslash/index.esm.min.js +1 -1
- package/icons/filterslash/index.js +2 -2
- package/icons/filterslash/index.min.js +1 -1
- package/icons/filterslash/index.vue +1 -1
- package/icons/infocircle/index.cjs.js +2 -2
- package/icons/infocircle/index.cjs.min.js +1 -1
- package/icons/infocircle/index.esm.js +2 -2
- package/icons/infocircle/index.esm.min.js +1 -1
- package/icons/infocircle/index.js +2 -2
- package/icons/infocircle/index.min.js +1 -1
- package/icons/infocircle/index.vue +1 -1
- package/icons/pencil/index.cjs.js +2 -2
- package/icons/pencil/index.cjs.min.js +1 -1
- package/icons/pencil/index.esm.js +2 -2
- package/icons/pencil/index.esm.min.js +1 -1
- package/icons/pencil/index.js +2 -2
- package/icons/pencil/index.min.js +1 -1
- package/icons/pencil/index.vue +1 -1
- package/icons/plus/index.cjs.js +2 -2
- package/icons/plus/index.cjs.min.js +1 -1
- package/icons/plus/index.esm.js +2 -2
- package/icons/plus/index.esm.min.js +1 -1
- package/icons/plus/index.js +2 -2
- package/icons/plus/index.min.js +1 -1
- package/icons/plus/index.vue +1 -1
- package/icons/refresh/index.cjs.js +2 -2
- package/icons/refresh/index.cjs.min.js +1 -1
- package/icons/refresh/index.esm.js +2 -2
- package/icons/refresh/index.esm.min.js +1 -1
- package/icons/refresh/index.js +2 -2
- package/icons/refresh/index.min.js +1 -1
- package/icons/refresh/index.vue +1 -1
- package/icons/search/index.cjs.js +2 -2
- package/icons/search/index.cjs.min.js +1 -1
- package/icons/search/index.esm.js +2 -2
- package/icons/search/index.esm.min.js +1 -1
- package/icons/search/index.js +2 -2
- package/icons/search/index.min.js +1 -1
- package/icons/search/index.vue +1 -1
- package/icons/searchminus/index.cjs.js +2 -2
- package/icons/searchminus/index.cjs.min.js +1 -1
- package/icons/searchminus/index.esm.js +2 -2
- package/icons/searchminus/index.esm.min.js +1 -1
- package/icons/searchminus/index.js +2 -2
- package/icons/searchminus/index.min.js +1 -1
- package/icons/searchminus/index.vue +1 -1
- package/icons/searchplus/index.cjs.js +2 -2
- package/icons/searchplus/index.cjs.min.js +1 -1
- package/icons/searchplus/index.esm.js +2 -2
- package/icons/searchplus/index.esm.min.js +1 -1
- package/icons/searchplus/index.js +2 -2
- package/icons/searchplus/index.min.js +1 -1
- package/icons/searchplus/index.vue +1 -1
- package/icons/sortalt/index.cjs.js +2 -2
- package/icons/sortalt/index.cjs.min.js +1 -1
- package/icons/sortalt/index.esm.js +2 -2
- package/icons/sortalt/index.esm.min.js +1 -1
- package/icons/sortalt/index.js +2 -2
- package/icons/sortalt/index.min.js +1 -1
- package/icons/sortalt/index.vue +1 -1
- package/icons/sortamountdown/index.cjs.js +12 -9
- package/icons/sortamountdown/index.cjs.min.js +1 -1
- package/icons/sortamountdown/index.esm.js +13 -10
- package/icons/sortamountdown/index.esm.min.js +1 -1
- package/icons/sortamountdown/index.js +12 -9
- package/icons/sortamountdown/index.min.js +1 -1
- package/icons/sortamountdown/index.vue +2 -22
- package/icons/sortamountupalt/index.cjs.js +12 -9
- package/icons/sortamountupalt/index.cjs.min.js +1 -1
- package/icons/sortamountupalt/index.esm.js +13 -10
- package/icons/sortamountupalt/index.esm.min.js +1 -1
- package/icons/sortamountupalt/index.js +12 -9
- package/icons/sortamountupalt/index.min.js +1 -1
- package/icons/sortamountupalt/index.vue +2 -22
- package/icons/spinner/index.cjs.js +2 -2
- package/icons/spinner/index.cjs.min.js +1 -1
- package/icons/spinner/index.esm.js +2 -2
- package/icons/spinner/index.esm.min.js +1 -1
- package/icons/spinner/index.js +2 -2
- package/icons/spinner/index.min.js +1 -1
- package/icons/spinner/index.vue +1 -1
- package/icons/star/index.cjs.js +2 -2
- package/icons/star/index.cjs.min.js +1 -1
- package/icons/star/index.esm.js +2 -2
- package/icons/star/index.esm.min.js +1 -1
- package/icons/star/index.js +2 -2
- package/icons/star/index.min.js +1 -1
- package/icons/star/index.vue +1 -1
- package/icons/starfill/index.cjs.js +2 -2
- package/icons/starfill/index.cjs.min.js +1 -1
- package/icons/starfill/index.esm.js +2 -2
- package/icons/starfill/index.esm.min.js +1 -1
- package/icons/starfill/index.js +2 -2
- package/icons/starfill/index.min.js +1 -1
- package/icons/starfill/index.vue +1 -1
- package/icons/thlarge/index.cjs.js +2 -2
- package/icons/thlarge/index.cjs.min.js +1 -1
- package/icons/thlarge/index.esm.js +2 -2
- package/icons/thlarge/index.esm.min.js +1 -1
- package/icons/thlarge/index.js +2 -2
- package/icons/thlarge/index.min.js +1 -1
- package/icons/thlarge/index.vue +1 -1
- package/icons/timescircle/index.cjs.js +2 -2
- package/icons/timescircle/index.cjs.min.js +1 -1
- package/icons/timescircle/index.esm.js +2 -2
- package/icons/timescircle/index.esm.min.js +1 -1
- package/icons/timescircle/index.js +2 -2
- package/icons/timescircle/index.min.js +1 -1
- package/icons/timescircle/index.vue +1 -1
- package/icons/trash/index.cjs.js +2 -2
- package/icons/trash/index.cjs.min.js +1 -1
- package/icons/trash/index.esm.js +2 -2
- package/icons/trash/index.esm.min.js +1 -1
- package/icons/trash/index.js +2 -2
- package/icons/trash/index.min.js +1 -1
- package/icons/trash/index.vue +1 -1
- package/icons/undo/index.cjs.js +2 -2
- package/icons/undo/index.cjs.min.js +1 -1
- package/icons/undo/index.esm.js +2 -2
- package/icons/undo/index.esm.min.js +1 -1
- package/icons/undo/index.js +2 -2
- package/icons/undo/index.min.js +1 -1
- package/icons/undo/index.vue +1 -1
- package/icons/upload/index.cjs.js +2 -2
- package/icons/upload/index.cjs.min.js +1 -1
- package/icons/upload/index.esm.js +2 -2
- package/icons/upload/index.esm.min.js +1 -1
- package/icons/upload/index.js +2 -2
- package/icons/upload/index.min.js +1 -1
- package/icons/upload/index.vue +1 -1
- package/icons/windowmaximize/index.cjs.js +2 -2
- package/icons/windowmaximize/index.cjs.min.js +1 -1
- package/icons/windowmaximize/index.esm.js +2 -2
- package/icons/windowmaximize/index.esm.min.js +1 -1
- package/icons/windowmaximize/index.js +2 -2
- package/icons/windowmaximize/index.min.js +1 -1
- package/icons/windowmaximize/index.vue +1 -1
- package/icons/windowminimize/index.cjs.js +2 -2
- package/icons/windowminimize/index.cjs.min.js +1 -1
- package/icons/windowminimize/index.esm.js +2 -2
- package/icons/windowminimize/index.esm.min.js +1 -1
- package/icons/windowminimize/index.js +2 -2
- package/icons/windowminimize/index.min.js +1 -1
- package/icons/windowminimize/index.vue +1 -1
- package/image/Image.vue +2 -6
- package/image/image.cjs.js +2 -5
- package/image/image.cjs.min.js +1 -1
- package/image/image.esm.js +2 -5
- package/image/image.esm.min.js +1 -1
- package/image/image.js +2 -5
- package/image/image.min.js +1 -1
- package/image/style/imagestyle.cjs.js +1 -1
- package/image/style/imagestyle.cjs.min.js +1 -1
- package/image/style/imagestyle.esm.js +1 -1
- package/image/style/imagestyle.esm.min.js +1 -1
- package/image/style/imagestyle.js +1 -1
- package/image/style/imagestyle.min.js +1 -1
- package/inputnumber/BaseInputNumber.vue +7 -0
- package/inputnumber/InputNumber.d.ts +7 -0
- package/inputnumber/InputNumber.vue +8 -3
- package/inputnumber/inputnumber.cjs.js +16 -3
- package/inputnumber/inputnumber.cjs.min.js +1 -1
- package/inputnumber/inputnumber.esm.js +16 -3
- package/inputnumber/inputnumber.esm.min.js +1 -1
- package/inputnumber/inputnumber.js +16 -3
- package/inputnumber/inputnumber.min.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 +1 -1
- package/knob/knob.esm.min.js +1 -1
- package/knob/knob.js +1 -1
- package/knob/knob.min.js +1 -1
- package/listbox/BaseListbox.vue +1 -1
- package/listbox/Listbox.d.ts +1 -1
- package/listbox/Listbox.vue +2 -0
- package/listbox/listbox.cjs.js +3 -1
- package/listbox/listbox.cjs.min.js +1 -1
- package/listbox/listbox.esm.js +3 -1
- package/listbox/listbox.esm.min.js +1 -1
- package/listbox/listbox.js +3 -1
- package/listbox/listbox.min.js +1 -1
- package/megamenu/MegaMenu.vue +2 -1
- package/megamenu/megamenu.cjs.js +2 -1
- package/megamenu/megamenu.cjs.min.js +1 -1
- package/megamenu/megamenu.esm.js +2 -1
- package/megamenu/megamenu.esm.min.js +1 -1
- package/megamenu/megamenu.js +2 -1
- package/megamenu/megamenu.min.js +1 -1
- package/menu/BaseMenu.vue +1 -1
- package/menu/Menu.vue +1 -0
- package/menu/menu.cjs.js +2 -1
- package/menu/menu.cjs.min.js +1 -1
- package/menu/menu.esm.js +2 -1
- package/menu/menu.esm.min.js +1 -1
- package/menu/menu.js +2 -1
- package/menu/menu.min.js +1 -1
- package/menubar/Menubar.vue +4 -2
- package/menubar/MenubarSub.vue +5 -1
- package/menubar/menubar.cjs.js +12 -5
- package/menubar/menubar.cjs.min.js +1 -1
- package/menubar/menubar.esm.js +12 -5
- package/menubar/menubar.esm.min.js +1 -1
- package/menubar/menubar.js +12 -5
- package/menubar/menubar.min.js +1 -1
- package/menuitem/MenuItem.d.ts +0 -6
- package/message/style/messagestyle.cjs.js +1 -1
- package/message/style/messagestyle.cjs.min.js +1 -1
- package/message/style/messagestyle.esm.js +1 -1
- package/message/style/messagestyle.esm.min.js +1 -1
- package/message/style/messagestyle.js +1 -1
- package/message/style/messagestyle.min.js +1 -1
- package/multiselect/BaseMultiSelect.vue +1 -1
- package/multiselect/MultiSelect.vue +2 -0
- package/multiselect/multiselect.cjs.js +3 -1
- package/multiselect/multiselect.cjs.min.js +1 -1
- package/multiselect/multiselect.esm.js +3 -1
- package/multiselect/multiselect.esm.min.js +1 -1
- package/multiselect/multiselect.js +3 -1
- package/multiselect/multiselect.min.js +1 -1
- package/orderlist/BaseOrderList.vue +1 -1
- package/orderlist/OrderList.d.ts +1 -1
- package/orderlist/OrderList.vue +1 -0
- package/orderlist/orderlist.cjs.js +2 -1
- package/orderlist/orderlist.cjs.min.js +1 -1
- package/orderlist/orderlist.esm.js +2 -1
- package/orderlist/orderlist.esm.min.js +1 -1
- package/orderlist/orderlist.js +2 -1
- package/orderlist/orderlist.min.js +1 -1
- package/organizationchart/OrganizationChartNode.vue +1 -1
- package/organizationchart/organizationchart.cjs.js +1 -1
- package/organizationchart/organizationchart.cjs.min.js +1 -1
- package/organizationchart/organizationchart.esm.js +1 -1
- package/organizationchart/organizationchart.esm.min.js +1 -1
- package/organizationchart/organizationchart.js +1 -1
- package/organizationchart/organizationchart.min.js +1 -1
- package/overlaypanel/BaseOverlayPanel.vue +1 -1
- package/overlaypanel/overlaypanel.cjs.js +1 -1
- package/overlaypanel/overlaypanel.cjs.min.js +1 -1
- package/overlaypanel/overlaypanel.esm.js +1 -1
- package/overlaypanel/overlaypanel.esm.min.js +1 -1
- package/overlaypanel/overlaypanel.js +1 -1
- package/overlaypanel/overlaypanel.min.js +1 -1
- package/package.json +1 -1
- package/paginator/Paginator.vue +4 -4
- package/paginator/paginator.cjs.js +2 -2
- package/paginator/paginator.cjs.min.js +1 -1
- package/paginator/paginator.esm.js +2 -2
- package/paginator/paginator.esm.min.js +1 -1
- package/paginator/paginator.js +2 -2
- package/paginator/paginator.min.js +1 -1
- package/panel/Panel.vue +1 -1
- package/panel/panel.cjs.js +1 -1
- package/panel/panel.cjs.min.js +1 -1
- package/panel/panel.esm.js +1 -1
- package/panel/panel.esm.min.js +1 -1
- package/panel/panel.js +1 -1
- package/panel/panel.min.js +1 -1
- package/panelmenu/PanelMenu.vue +1 -0
- package/panelmenu/PanelMenuList.vue +1 -0
- package/panelmenu/panelmenu.cjs.js +2 -0
- package/panelmenu/panelmenu.cjs.min.js +1 -1
- package/panelmenu/panelmenu.esm.js +2 -0
- package/panelmenu/panelmenu.esm.min.js +1 -1
- package/panelmenu/panelmenu.js +2 -0
- package/panelmenu/panelmenu.min.js +1 -1
- package/password/BasePassword.vue +1 -1
- package/password/password.cjs.js +1 -1
- package/password/password.cjs.min.js +1 -1
- package/password/password.esm.js +1 -1
- package/password/password.esm.min.js +1 -1
- package/password/password.js +1 -1
- package/password/password.min.js +1 -1
- package/picklist/BasePickList.vue +1 -1
- package/picklist/PickList.d.ts +1 -1
- package/picklist/PickList.vue +2 -1
- package/picklist/picklist.cjs.js +3 -2
- package/picklist/picklist.cjs.min.js +1 -1
- package/picklist/picklist.esm.js +3 -2
- package/picklist/picklist.esm.min.js +1 -1
- package/picklist/picklist.js +3 -2
- package/picklist/picklist.min.js +1 -1
- package/picklist/style/pickliststyle.cjs.js +1 -1
- package/picklist/style/pickliststyle.cjs.min.js +1 -1
- package/picklist/style/pickliststyle.esm.js +1 -1
- package/picklist/style/pickliststyle.esm.min.js +1 -1
- package/picklist/style/pickliststyle.js +1 -1
- package/picklist/style/pickliststyle.min.js +1 -1
- package/portal/Portal.vue +1 -1
- package/portal/portal.cjs.js +1 -1
- package/portal/portal.cjs.min.js +1 -1
- package/portal/portal.esm.js +1 -1
- package/portal/portal.esm.min.js +1 -1
- package/portal/portal.js +1 -1
- package/portal/portal.min.js +1 -1
- package/resources/themes/arya-blue/theme.css +4 -4
- package/resources/themes/arya-green/theme.css +4 -4
- package/resources/themes/arya-orange/theme.css +4 -4
- package/resources/themes/arya-purple/theme.css +4 -4
- package/resources/themes/bootstrap4-dark-blue/theme.css +4 -4
- package/resources/themes/bootstrap4-dark-purple/theme.css +4 -4
- package/resources/themes/bootstrap4-light-blue/theme.css +4 -4
- package/resources/themes/bootstrap4-light-purple/theme.css +4 -4
- package/resources/themes/fluent-light/theme.css +4 -4
- package/resources/themes/lara-dark-amber/theme.css +4 -4
- package/resources/themes/lara-dark-blue/theme.css +4 -4
- package/resources/themes/lara-dark-cyan/theme.css +4 -4
- package/resources/themes/lara-dark-green/theme.css +4 -4
- package/resources/themes/lara-dark-indigo/theme.css +4 -4
- package/resources/themes/lara-dark-pink/theme.css +4 -4
- package/resources/themes/lara-dark-purple/theme.css +4 -4
- package/resources/themes/lara-dark-teal/theme.css +4 -4
- package/resources/themes/lara-light-amber/theme.css +4 -4
- package/resources/themes/lara-light-blue/theme.css +4 -4
- package/resources/themes/lara-light-cyan/theme.css +4 -4
- package/resources/themes/lara-light-green/theme.css +4 -4
- package/resources/themes/lara-light-indigo/theme.css +4 -4
- package/resources/themes/lara-light-pink/theme.css +4 -4
- package/resources/themes/lara-light-purple/theme.css +4 -4
- package/resources/themes/lara-light-teal/theme.css +44 -44
- package/resources/themes/luna-amber/theme.css +4 -4
- package/resources/themes/luna-blue/theme.css +4 -4
- package/resources/themes/luna-green/theme.css +4 -4
- package/resources/themes/luna-pink/theme.css +4 -4
- package/resources/themes/md-dark-deeppurple/theme.css +4 -4
- package/resources/themes/md-dark-indigo/theme.css +4 -4
- package/resources/themes/md-light-deeppurple/theme.css +4 -4
- package/resources/themes/md-light-indigo/theme.css +4 -4
- package/resources/themes/mdc-dark-deeppurple/theme.css +4 -4
- package/resources/themes/mdc-dark-indigo/theme.css +4 -4
- package/resources/themes/mdc-light-deeppurple/theme.css +4 -4
- package/resources/themes/mdc-light-indigo/theme.css +4 -4
- package/resources/themes/mira/theme.css +4 -4
- package/resources/themes/nano/theme.css +4 -4
- package/resources/themes/nova/theme.css +4 -4
- package/resources/themes/nova-accent/theme.css +4 -4
- package/resources/themes/nova-alt/theme.css +4 -4
- package/resources/themes/nova-vue/theme.css +4 -4
- package/resources/themes/rhea/theme.css +4 -4
- package/resources/themes/saga-blue/theme.css +4 -4
- package/resources/themes/saga-green/theme.css +4 -4
- package/resources/themes/saga-orange/theme.css +4 -4
- package/resources/themes/saga-purple/theme.css +4 -4
- package/resources/themes/soho-dark/theme.css +4 -4
- package/resources/themes/soho-light/theme.css +4 -4
- package/resources/themes/tailwind-light/theme.css +4 -4
- package/resources/themes/vela-blue/theme.css +4 -4
- package/resources/themes/vela-green/theme.css +4 -4
- package/resources/themes/vela-orange/theme.css +4 -4
- package/resources/themes/vela-purple/theme.css +4 -4
- package/resources/themes/viva-dark/theme.css +4 -4
- package/resources/themes/viva-light/theme.css +4 -4
- package/ripple/style/ripplestyle.cjs.js +1 -1
- package/ripple/style/ripplestyle.cjs.min.js +1 -1
- package/ripple/style/ripplestyle.esm.js +1 -1
- package/ripple/style/ripplestyle.esm.min.js +1 -1
- package/ripple/style/ripplestyle.js +1 -1
- package/ripple/style/ripplestyle.min.js +1 -1
- package/row/Row.vue +7 -0
- package/row/row.cjs.js +9 -0
- package/row/row.cjs.min.js +1 -1
- package/row/row.esm.js +9 -0
- package/row/row.esm.min.js +1 -1
- package/row/row.js +9 -0
- package/row/row.min.js +1 -1
- package/sidebar/Sidebar.vue +16 -1
- package/sidebar/sidebar.cjs.js +17 -5
- package/sidebar/sidebar.cjs.min.js +1 -1
- package/sidebar/sidebar.esm.js +17 -5
- package/sidebar/sidebar.esm.min.js +1 -1
- package/sidebar/sidebar.js +17 -5
- package/sidebar/sidebar.min.js +1 -1
- package/slider/Slider.vue +26 -19
- package/slider/slider.cjs.js +19 -11
- package/slider/slider.cjs.min.js +1 -1
- package/slider/slider.esm.js +19 -11
- package/slider/slider.esm.min.js +1 -1
- package/slider/slider.js +19 -11
- package/slider/slider.min.js +1 -1
- package/speeddial/SpeedDial.vue +1 -0
- package/speeddial/speeddial.cjs.js +1 -0
- package/speeddial/speeddial.cjs.min.js +1 -1
- package/speeddial/speeddial.esm.js +1 -0
- package/speeddial/speeddial.esm.min.js +1 -1
- package/speeddial/speeddial.js +1 -0
- package/speeddial/speeddial.min.js +1 -1
- package/splitbutton/BaseSplitButton.vue +1 -1
- package/splitbutton/splitbutton.cjs.js +1 -1
- package/splitbutton/splitbutton.cjs.min.js +1 -1
- package/splitbutton/splitbutton.esm.js +1 -1
- package/splitbutton/splitbutton.esm.min.js +1 -1
- package/splitbutton/splitbutton.js +1 -1
- package/splitbutton/splitbutton.min.js +1 -1
- package/steps/Steps.vue +3 -1
- package/steps/steps.cjs.js +4 -2
- package/steps/steps.cjs.min.js +1 -1
- package/steps/steps.esm.js +4 -2
- package/steps/steps.esm.min.js +1 -1
- package/steps/steps.js +4 -2
- package/steps/steps.min.js +1 -1
- package/tabmenu/TabMenu.vue +1 -0
- package/tabmenu/tabmenu.cjs.js +1 -0
- package/tabmenu/tabmenu.cjs.min.js +1 -1
- package/tabmenu/tabmenu.esm.js +1 -0
- package/tabmenu/tabmenu.esm.min.js +1 -1
- package/tabmenu/tabmenu.js +1 -0
- package/tabmenu/tabmenu.min.js +1 -1
- package/tabview/TabView.vue +1 -0
- package/tabview/tabview.cjs.js +1 -0
- package/tabview/tabview.cjs.min.js +1 -1
- package/tabview/tabview.esm.js +1 -0
- package/tabview/tabview.esm.min.js +1 -1
- package/tabview/tabview.js +1 -0
- package/tabview/tabview.min.js +1 -1
- package/terminal/Terminal.vue +1 -1
- package/terminal/terminal.cjs.js +1 -1
- package/terminal/terminal.cjs.min.js +1 -1
- package/terminal/terminal.esm.js +1 -1
- package/terminal/terminal.esm.min.js +1 -1
- package/terminal/terminal.js +1 -1
- package/terminal/terminal.min.js +1 -1
- package/tieredmenu/BaseTieredMenu.vue +1 -1
- package/tieredmenu/TieredMenu.d.ts +4 -0
- package/tieredmenu/TieredMenu.vue +1 -0
- package/tieredmenu/TieredMenuSub.vue +5 -1
- package/tieredmenu/tieredmenu.cjs.js +11 -4
- package/tieredmenu/tieredmenu.cjs.min.js +1 -1
- package/tieredmenu/tieredmenu.esm.js +11 -4
- package/tieredmenu/tieredmenu.esm.min.js +1 -1
- package/tieredmenu/tieredmenu.js +11 -4
- package/tieredmenu/tieredmenu.min.js +1 -1
- package/tooltip/style/tooltipstyle.cjs.js +1 -1
- package/tooltip/style/tooltipstyle.cjs.min.js +1 -1
- package/tooltip/style/tooltipstyle.esm.js +1 -1
- package/tooltip/style/tooltipstyle.esm.min.js +1 -1
- package/tooltip/style/tooltipstyle.js +1 -1
- package/tooltip/style/tooltipstyle.min.js +1 -1
- package/tree/BaseTree.vue +1 -1
- package/tree/Tree.d.ts +1 -1
- package/tree/Tree.vue +1 -1
- package/tree/TreeNode.vue +1 -0
- package/tree/tree.cjs.js +3 -2
- package/tree/tree.cjs.min.js +1 -1
- package/tree/tree.esm.js +3 -2
- package/tree/tree.esm.min.js +1 -1
- package/tree/tree.js +3 -2
- package/tree/tree.min.js +1 -1
- package/treeselect/BaseTreeSelect.vue +2 -2
- package/treeselect/TreeSelect.d.ts +1 -1
- package/treeselect/TreeSelect.vue +1 -4
- package/treeselect/treeselect.cjs.js +3 -6
- package/treeselect/treeselect.cjs.min.js +1 -1
- package/treeselect/treeselect.esm.js +3 -6
- package/treeselect/treeselect.esm.min.js +1 -1
- package/treeselect/treeselect.js +3 -6
- package/treeselect/treeselect.min.js +1 -1
- package/treetable/BaseTreeTable.vue +5 -1
- package/treetable/HeaderCell.vue +1 -1
- package/treetable/TreeTable.d.ts +6 -1
- package/treetable/TreeTable.vue +32 -24
- package/treetable/TreeTableRow.vue +32 -20
- package/treetable/style/treetablestyle.cjs.js +1 -1
- package/treetable/style/treetablestyle.cjs.min.js +1 -1
- package/treetable/style/treetablestyle.esm.js +1 -1
- package/treetable/style/treetablestyle.esm.min.js +1 -1
- package/treetable/style/treetablestyle.js +1 -1
- package/treetable/style/treetablestyle.min.js +1 -1
- package/treetable/treetable.cjs.js +70 -43
- package/treetable/treetable.cjs.min.js +1 -1
- package/treetable/treetable.esm.js +71 -44
- package/treetable/treetable.esm.min.js +1 -1
- package/treetable/treetable.js +70 -43
- package/treetable/treetable.min.js +1 -1
- package/tristatecheckbox/TriStateCheckbox.vue +1 -1
- package/tristatecheckbox/tristatecheckbox.cjs.js +1 -1
- package/tristatecheckbox/tristatecheckbox.cjs.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/tristatecheckbox/tristatecheckbox.min.js +1 -1
- package/utils/Utils.d.ts +9 -0
- package/utils/utils.cjs.js +142 -41
- package/utils/utils.cjs.min.js +1 -1
- package/utils/utils.esm.js +142 -42
- package/utils/utils.esm.min.js +1 -1
- package/utils/utils.js +142 -41
- package/utils/utils.min.js +1 -1
- package/vetur-attributes.json +4 -0
- package/vetur-tags.json +1 -0
- package/virtualscroller/VirtualScroller.vue +19 -15
- package/virtualscroller/style/virtualscrollerstyle.cjs.js +1 -1
- package/virtualscroller/style/virtualscrollerstyle.cjs.min.js +1 -1
- package/virtualscroller/style/virtualscrollerstyle.esm.js +1 -1
- package/virtualscroller/style/virtualscrollerstyle.esm.min.js +1 -1
- package/virtualscroller/style/virtualscrollerstyle.js +1 -1
- package/virtualscroller/style/virtualscrollerstyle.min.js +1 -1
- package/virtualscroller/virtualscroller.cjs.js +19 -15
- package/virtualscroller/virtualscroller.cjs.min.js +1 -1
- package/virtualscroller/virtualscroller.esm.js +19 -15
- package/virtualscroller/virtualscroller.esm.min.js +1 -1
- package/virtualscroller/virtualscroller.js +19 -15
- package/virtualscroller/virtualscroller.min.js +1 -1
- package/web-types.json +11 -1
package/datatable/TableBody.vue
CHANGED
|
@@ -1,128 +1,78 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<tbody :ref="bodyRef" :class="cx('tbody')" role="rowgroup" :style="bodyStyle" v-bind="ptm('tbody', ptmTBodyOptions)">
|
|
3
3
|
<template v-if="!empty">
|
|
4
|
-
<template v-for="(rowData,
|
|
5
|
-
<
|
|
6
|
-
|
|
7
|
-
:
|
|
8
|
-
:
|
|
9
|
-
:
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
:
|
|
29
|
-
:
|
|
30
|
-
:
|
|
31
|
-
:
|
|
32
|
-
|
|
33
|
-
:
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
@
|
|
42
|
-
@
|
|
43
|
-
@
|
|
44
|
-
@
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
:ariaControls="expandedRowId + '_' + index + '_expansion'"
|
|
67
|
-
:name="nameAttributeSelector"
|
|
68
|
-
:isRowExpanded="isRowExpanded(rowData)"
|
|
69
|
-
:expandedRowIcon="expandedRowIcon"
|
|
70
|
-
:collapsedRowIcon="collapsedRowIcon"
|
|
71
|
-
@radio-change="onRadioChange($event)"
|
|
72
|
-
@checkbox-change="onCheckboxChange($event)"
|
|
73
|
-
@row-toggle="onRowToggle($event)"
|
|
74
|
-
@cell-edit-init="onCellEditInit($event)"
|
|
75
|
-
@cell-edit-complete="onCellEditComplete($event)"
|
|
76
|
-
@cell-edit-cancel="onCellEditCancel($event)"
|
|
77
|
-
@row-edit-init="onRowEditInit($event)"
|
|
78
|
-
@row-edit-save="onRowEditSave($event)"
|
|
79
|
-
@row-edit-cancel="onRowEditCancel($event)"
|
|
80
|
-
@editing-meta-change="onEditingMetaChange"
|
|
81
|
-
:unstyled="unstyled"
|
|
82
|
-
:pt="pt"
|
|
83
|
-
/>
|
|
84
|
-
</template>
|
|
85
|
-
</tr>
|
|
86
|
-
<tr
|
|
87
|
-
v-if="templates['expansion'] && expandedRows && isRowExpanded(rowData)"
|
|
88
|
-
:key="getRowKey(rowData, getRowIndex(index)) + '_expansion'"
|
|
89
|
-
:id="expandedRowId + '_' + index + '_expansion'"
|
|
90
|
-
:class="cx('rowExpansion')"
|
|
91
|
-
role="row"
|
|
92
|
-
v-bind="ptm('rowExpansion')"
|
|
93
|
-
>
|
|
94
|
-
<td :colspan="columnsLength" v-bind="{ ...getColumnPT('bodycell'), ...ptm('rowExpansionCell') }">
|
|
95
|
-
<component :is="templates['expansion']" :data="rowData" :index="getRowIndex(index)" />
|
|
96
|
-
</td>
|
|
97
|
-
</tr>
|
|
98
|
-
<tr
|
|
99
|
-
v-if="templates['groupfooter'] && rowGroupMode === 'subheader' && shouldRenderRowGroupFooter(value, rowData, getRowIndex(index))"
|
|
100
|
-
:key="getRowKey(rowData, getRowIndex(index)) + '_subfooter'"
|
|
101
|
-
:class="cx('rowGroupFooter')"
|
|
102
|
-
role="row"
|
|
103
|
-
v-bind="ptm('rowGroupFooter')"
|
|
104
|
-
>
|
|
105
|
-
<td :colspan="columnsLength - 1" v-bind="{ ...getColumnPT('bodycell'), ...ptm('rowGroupFooterCell') }">
|
|
106
|
-
<component :is="templates['groupfooter']" :data="rowData" :index="getRowIndex(index)" />
|
|
107
|
-
</td>
|
|
108
|
-
</tr>
|
|
4
|
+
<template v-for="(rowData, rowIndex) of value" :key="rowIndex">
|
|
5
|
+
<DTBodyRow
|
|
6
|
+
:rowData="rowData"
|
|
7
|
+
:index="rowIndex"
|
|
8
|
+
:value="value"
|
|
9
|
+
:columns="columns"
|
|
10
|
+
:frozenRow="frozenRow"
|
|
11
|
+
:empty="empty"
|
|
12
|
+
:first="first"
|
|
13
|
+
:dataKey="dataKey"
|
|
14
|
+
:selection="selection"
|
|
15
|
+
:selectionKeys="selectionKeys"
|
|
16
|
+
:selectionMode="selectionMode"
|
|
17
|
+
:contextMenu="contextMenu"
|
|
18
|
+
:contextMenuSelection="contextMenuSelection"
|
|
19
|
+
:rowGroupMode="rowGroupMode"
|
|
20
|
+
:groupRowsBy="groupRowsBy"
|
|
21
|
+
:expandableRowGroups="expandableRowGroups"
|
|
22
|
+
:rowClass="rowClass"
|
|
23
|
+
:rowStyle="rowStyle"
|
|
24
|
+
:editMode="editMode"
|
|
25
|
+
:compareSelectionBy="compareSelectionBy"
|
|
26
|
+
:scrollable="scrollable"
|
|
27
|
+
:expandedRowIcon="expandedRowIcon"
|
|
28
|
+
:collapsedRowIcon="collapsedRowIcon"
|
|
29
|
+
:expandedRows="expandedRows"
|
|
30
|
+
:expandedRowGroups="expandedRowGroups"
|
|
31
|
+
:editingRows="editingRows"
|
|
32
|
+
:editingRowKeys="editingRowKeys"
|
|
33
|
+
:templates="templates"
|
|
34
|
+
:responsiveLayout="responsiveLayout"
|
|
35
|
+
:virtualScrollerContentProps="virtualScrollerContentProps"
|
|
36
|
+
:isVirtualScrollerDisabled="isVirtualScrollerDisabled"
|
|
37
|
+
:editingMeta="editingMeta"
|
|
38
|
+
:rowGroupHeaderStyle="rowGroupHeaderStyle"
|
|
39
|
+
:expandedRowId="expandedRowId"
|
|
40
|
+
:nameAttributeSelector="nameAttributeSelector"
|
|
41
|
+
@rowgroup-toggle="$emit('rowgroup-toggle', $event)"
|
|
42
|
+
@row-click="$emit('row-click', $event)"
|
|
43
|
+
@row-dblclick="$emit('row-dblclick', $event)"
|
|
44
|
+
@row-rightclick="$emit('row-rightclick', $event)"
|
|
45
|
+
@row-touchend="$emit('row-touchend', $event)"
|
|
46
|
+
@row-keydown="$emit('row-keydown', $event)"
|
|
47
|
+
@row-mousedown="$emit('row-mousedown', $event)"
|
|
48
|
+
@row-dragstart="$emit('row-dragstart', $event)"
|
|
49
|
+
@row-dragover="$emit('row-dragover', $event)"
|
|
50
|
+
@row-dragleave="$emit('row-dragleave', $event)"
|
|
51
|
+
@row-dragend="$emit('row-dragend', $event)"
|
|
52
|
+
@row-drop="$emit('row-drop', $event)"
|
|
53
|
+
@row-toggle="$emit('row-toggle', $event)"
|
|
54
|
+
@radio-change="$emit('radio-change', $event)"
|
|
55
|
+
@checkbox-change="$emit('checkbox-change', $event)"
|
|
56
|
+
@cell-edit-init="$emit('cell-edit-init', $event)"
|
|
57
|
+
@cell-edit-complete="$emit('cell-edit-complete', $event)"
|
|
58
|
+
@cell-edit-cancel="$emit('cell-edit-cancel', $event)"
|
|
59
|
+
@row-edit-init="$emit('row-edit-init', $event)"
|
|
60
|
+
@row-edit-save="$emit('row-edit-save', $event)"
|
|
61
|
+
@row-edit-cancel="$emit('row-edit-cancel', $event)"
|
|
62
|
+
@editing-meta-change="$emit('editing-meta-change', $event)"
|
|
63
|
+
:unstyled="unstyled"
|
|
64
|
+
:pt="pt"
|
|
65
|
+
/>
|
|
109
66
|
</template>
|
|
110
67
|
</template>
|
|
111
|
-
<
|
|
112
|
-
<td :colspan="columnsLength" v-bind="{ ...getColumnPT('bodycell'), ...ptm('emptyMessageCell') }">
|
|
113
|
-
<component v-if="templates.empty" :is="templates.empty" />
|
|
114
|
-
</td>
|
|
115
|
-
</tr>
|
|
68
|
+
<DTBodyRow v-else :empty="empty" :columns="columns" :templates="templates" />
|
|
116
69
|
</tbody>
|
|
117
70
|
</template>
|
|
118
71
|
|
|
119
72
|
<script>
|
|
120
73
|
import BaseComponent from 'primevue/basecomponent';
|
|
121
|
-
import
|
|
122
|
-
import
|
|
123
|
-
import { DomHandler, ObjectUtils, UniqueComponentId } from 'primevue/utils';
|
|
124
|
-
import { mergeProps } from 'vue';
|
|
125
|
-
import BodyCell from './BodyCell.vue';
|
|
74
|
+
import { DomHandler, UniqueComponentId } from 'primevue/utils';
|
|
75
|
+
import BodyRow from './BodyRow.vue';
|
|
126
76
|
|
|
127
77
|
export default {
|
|
128
78
|
name: 'TableBody',
|
|
@@ -202,11 +152,7 @@ export default {
|
|
|
202
152
|
default: null
|
|
203
153
|
},
|
|
204
154
|
expandedRows: {
|
|
205
|
-
type: Array,
|
|
206
|
-
default: null
|
|
207
|
-
},
|
|
208
|
-
expandedRowKeys: {
|
|
209
|
-
type: null,
|
|
155
|
+
type: [Array, Object],
|
|
210
156
|
default: null
|
|
211
157
|
},
|
|
212
158
|
selection: {
|
|
@@ -280,9 +226,7 @@ export default {
|
|
|
280
226
|
},
|
|
281
227
|
data() {
|
|
282
228
|
return {
|
|
283
|
-
rowGroupHeaderStyleObject: {}
|
|
284
|
-
tabindexArray: [],
|
|
285
|
-
isARowSelected: false
|
|
229
|
+
rowGroupHeaderStyleObject: {}
|
|
286
230
|
};
|
|
287
231
|
},
|
|
288
232
|
mounted() {
|
|
@@ -304,271 +248,6 @@ export default {
|
|
|
304
248
|
}
|
|
305
249
|
},
|
|
306
250
|
methods: {
|
|
307
|
-
columnProp(col, prop) {
|
|
308
|
-
return ObjectUtils.getVNodeProp(col, prop);
|
|
309
|
-
},
|
|
310
|
-
getColumnPT(key) {
|
|
311
|
-
const columnMetaData = {
|
|
312
|
-
parent: {
|
|
313
|
-
instance: this,
|
|
314
|
-
props: this.$props,
|
|
315
|
-
state: this.$data
|
|
316
|
-
}
|
|
317
|
-
};
|
|
318
|
-
|
|
319
|
-
return mergeProps(this.ptm(`column.${key}`, { column: columnMetaData }), this.ptm(`column.${key}`, columnMetaData), this.ptmo(this.getColumnProp({}), key, columnMetaData));
|
|
320
|
-
},
|
|
321
|
-
getColumnProp(column) {
|
|
322
|
-
return column.props && column.props.pt ? column.props.pt : undefined; //@todo
|
|
323
|
-
},
|
|
324
|
-
getBodyRowPTOptions(key, rowdata, index) {
|
|
325
|
-
return this.ptm(key, {
|
|
326
|
-
context: {
|
|
327
|
-
index,
|
|
328
|
-
selectable: this.$parentInstance?.$parentInstance?.rowHover || this.$parentInstance?.$parentInstance?.selectionMode,
|
|
329
|
-
selected: this.isSelected(rowdata),
|
|
330
|
-
stripedRows: this.$parentInstance?.$parentInstance?.stripedRows || false
|
|
331
|
-
}
|
|
332
|
-
});
|
|
333
|
-
},
|
|
334
|
-
shouldRenderRowGroupHeader(value, rowData, i) {
|
|
335
|
-
let currentRowFieldData = ObjectUtils.resolveFieldData(rowData, this.groupRowsBy);
|
|
336
|
-
let prevRowData = value[i - 1];
|
|
337
|
-
|
|
338
|
-
if (prevRowData) {
|
|
339
|
-
let previousRowFieldData = ObjectUtils.resolveFieldData(prevRowData, this.groupRowsBy);
|
|
340
|
-
|
|
341
|
-
return currentRowFieldData !== previousRowFieldData;
|
|
342
|
-
} else {
|
|
343
|
-
return true;
|
|
344
|
-
}
|
|
345
|
-
},
|
|
346
|
-
getRowKey(rowData, index) {
|
|
347
|
-
return this.dataKey ? ObjectUtils.resolveFieldData(rowData, this.dataKey) : this.getRowIndex(index);
|
|
348
|
-
},
|
|
349
|
-
getRowIndex(index) {
|
|
350
|
-
const getItemOptions = this.getVirtualScrollerProp('getItemOptions');
|
|
351
|
-
|
|
352
|
-
return getItemOptions ? getItemOptions(index).index : index;
|
|
353
|
-
},
|
|
354
|
-
getRowStyle(rowData) {
|
|
355
|
-
if (this.rowStyle) {
|
|
356
|
-
return this.rowStyle(rowData);
|
|
357
|
-
}
|
|
358
|
-
},
|
|
359
|
-
getRowClass(rowData) {
|
|
360
|
-
let rowStyleClass = [];
|
|
361
|
-
|
|
362
|
-
if (this.rowClass) {
|
|
363
|
-
let rowClassValue = this.rowClass(rowData);
|
|
364
|
-
|
|
365
|
-
if (rowClassValue) {
|
|
366
|
-
rowStyleClass.push(rowClassValue);
|
|
367
|
-
}
|
|
368
|
-
}
|
|
369
|
-
|
|
370
|
-
return [this.cx('row', { rowData }), rowStyleClass];
|
|
371
|
-
},
|
|
372
|
-
shouldRenderRowGroupFooter(value, rowData, i) {
|
|
373
|
-
if (this.expandableRowGroups && !this.isRowGroupExpanded(rowData)) {
|
|
374
|
-
return false;
|
|
375
|
-
} else {
|
|
376
|
-
let currentRowFieldData = ObjectUtils.resolveFieldData(rowData, this.groupRowsBy);
|
|
377
|
-
let nextRowData = value[i + 1];
|
|
378
|
-
|
|
379
|
-
if (nextRowData) {
|
|
380
|
-
let nextRowFieldData = ObjectUtils.resolveFieldData(nextRowData, this.groupRowsBy);
|
|
381
|
-
|
|
382
|
-
return currentRowFieldData !== nextRowFieldData;
|
|
383
|
-
} else {
|
|
384
|
-
return true;
|
|
385
|
-
}
|
|
386
|
-
}
|
|
387
|
-
},
|
|
388
|
-
shouldRenderBodyCell(value, column, i) {
|
|
389
|
-
if (this.rowGroupMode) {
|
|
390
|
-
if (this.rowGroupMode === 'subheader') {
|
|
391
|
-
return this.groupRowsBy !== this.columnProp(column, 'field');
|
|
392
|
-
} else if (this.rowGroupMode === 'rowspan') {
|
|
393
|
-
if (this.isGrouped(column)) {
|
|
394
|
-
let prevRowData = value[i - 1];
|
|
395
|
-
|
|
396
|
-
if (prevRowData) {
|
|
397
|
-
let currentRowFieldData = ObjectUtils.resolveFieldData(value[i], this.columnProp(column, 'field'));
|
|
398
|
-
let previousRowFieldData = ObjectUtils.resolveFieldData(prevRowData, this.columnProp(column, 'field'));
|
|
399
|
-
|
|
400
|
-
return currentRowFieldData !== previousRowFieldData;
|
|
401
|
-
} else {
|
|
402
|
-
return true;
|
|
403
|
-
}
|
|
404
|
-
} else {
|
|
405
|
-
return true;
|
|
406
|
-
}
|
|
407
|
-
}
|
|
408
|
-
} else {
|
|
409
|
-
return !this.columnProp(column, 'hidden');
|
|
410
|
-
}
|
|
411
|
-
},
|
|
412
|
-
calculateRowGroupSize(value, column, index) {
|
|
413
|
-
if (this.isGrouped(column)) {
|
|
414
|
-
let currentRowFieldData = ObjectUtils.resolveFieldData(value[index], this.columnProp(column, 'field'));
|
|
415
|
-
let nextRowFieldData = currentRowFieldData;
|
|
416
|
-
let groupRowSpan = 0;
|
|
417
|
-
|
|
418
|
-
while (currentRowFieldData === nextRowFieldData) {
|
|
419
|
-
groupRowSpan++;
|
|
420
|
-
let nextRowData = value[++index];
|
|
421
|
-
|
|
422
|
-
if (nextRowData) {
|
|
423
|
-
nextRowFieldData = ObjectUtils.resolveFieldData(nextRowData, this.columnProp(column, 'field'));
|
|
424
|
-
} else {
|
|
425
|
-
break;
|
|
426
|
-
}
|
|
427
|
-
}
|
|
428
|
-
|
|
429
|
-
return groupRowSpan === 1 ? null : groupRowSpan;
|
|
430
|
-
} else {
|
|
431
|
-
return null;
|
|
432
|
-
}
|
|
433
|
-
},
|
|
434
|
-
isGrouped(column) {
|
|
435
|
-
if (this.groupRowsBy && this.columnProp(column, 'field')) {
|
|
436
|
-
if (Array.isArray(this.groupRowsBy)) return this.groupRowsBy.indexOf(column.props.field) > -1;
|
|
437
|
-
else return this.groupRowsBy === column.props.field;
|
|
438
|
-
} else {
|
|
439
|
-
return false;
|
|
440
|
-
}
|
|
441
|
-
},
|
|
442
|
-
isRowEditing(rowData) {
|
|
443
|
-
if (rowData && this.editingRows) {
|
|
444
|
-
if (this.dataKey) return this.editingRowKeys ? this.editingRowKeys[ObjectUtils.resolveFieldData(rowData, this.dataKey)] !== undefined : false;
|
|
445
|
-
else return this.findIndex(rowData, this.editingRows) > -1;
|
|
446
|
-
}
|
|
447
|
-
|
|
448
|
-
return false;
|
|
449
|
-
},
|
|
450
|
-
isRowExpanded(rowData) {
|
|
451
|
-
if (rowData && this.expandedRows) {
|
|
452
|
-
if (this.dataKey) return this.expandedRowKeys ? this.expandedRowKeys[ObjectUtils.resolveFieldData(rowData, this.dataKey)] !== undefined : false;
|
|
453
|
-
else return this.findIndex(rowData, this.expandedRows) > -1;
|
|
454
|
-
}
|
|
455
|
-
|
|
456
|
-
return false;
|
|
457
|
-
},
|
|
458
|
-
isRowGroupExpanded(rowData) {
|
|
459
|
-
if (this.expandableRowGroups && this.expandedRowGroups) {
|
|
460
|
-
let groupFieldValue = ObjectUtils.resolveFieldData(rowData, this.groupRowsBy);
|
|
461
|
-
|
|
462
|
-
return this.expandedRowGroups.indexOf(groupFieldValue) > -1;
|
|
463
|
-
}
|
|
464
|
-
|
|
465
|
-
return false;
|
|
466
|
-
},
|
|
467
|
-
isSelected(rowData) {
|
|
468
|
-
if (rowData && this.selection) {
|
|
469
|
-
if (this.dataKey) {
|
|
470
|
-
return this.selectionKeys ? this.selectionKeys[ObjectUtils.resolveFieldData(rowData, this.dataKey)] !== undefined : false;
|
|
471
|
-
} else {
|
|
472
|
-
if (this.selection instanceof Array) return this.findIndexInSelection(rowData) > -1;
|
|
473
|
-
else return this.equals(rowData, this.selection);
|
|
474
|
-
}
|
|
475
|
-
}
|
|
476
|
-
|
|
477
|
-
return false;
|
|
478
|
-
},
|
|
479
|
-
isSelectedWithContextMenu(rowData) {
|
|
480
|
-
if (rowData && this.contextMenuSelection) {
|
|
481
|
-
return this.equals(rowData, this.contextMenuSelection, this.dataKey);
|
|
482
|
-
}
|
|
483
|
-
|
|
484
|
-
return false;
|
|
485
|
-
},
|
|
486
|
-
findIndexInSelection(rowData) {
|
|
487
|
-
return this.findIndex(rowData, this.selection);
|
|
488
|
-
},
|
|
489
|
-
findIndex(rowData, collection) {
|
|
490
|
-
let index = -1;
|
|
491
|
-
|
|
492
|
-
if (collection && collection.length) {
|
|
493
|
-
for (let i = 0; i < collection.length; i++) {
|
|
494
|
-
if (this.equals(rowData, collection[i])) {
|
|
495
|
-
index = i;
|
|
496
|
-
break;
|
|
497
|
-
}
|
|
498
|
-
}
|
|
499
|
-
}
|
|
500
|
-
|
|
501
|
-
return index;
|
|
502
|
-
},
|
|
503
|
-
equals(data1, data2) {
|
|
504
|
-
return this.compareSelectionBy === 'equals' ? data1 === data2 : ObjectUtils.equals(data1, data2, this.dataKey);
|
|
505
|
-
},
|
|
506
|
-
onRowGroupToggle(event, data) {
|
|
507
|
-
this.$emit('rowgroup-toggle', { originalEvent: event, data: data });
|
|
508
|
-
},
|
|
509
|
-
onRowClick(event, rowData, rowIndex) {
|
|
510
|
-
this.$emit('row-click', { originalEvent: event, data: rowData, index: rowIndex });
|
|
511
|
-
},
|
|
512
|
-
onRowDblClick(event, rowData, rowIndex) {
|
|
513
|
-
this.$emit('row-dblclick', { originalEvent: event, data: rowData, index: rowIndex });
|
|
514
|
-
},
|
|
515
|
-
onRowRightClick(event, rowData, rowIndex) {
|
|
516
|
-
this.$emit('row-rightclick', { originalEvent: event, data: rowData, index: rowIndex });
|
|
517
|
-
},
|
|
518
|
-
onRowTouchEnd(event) {
|
|
519
|
-
this.$emit('row-touchend', event);
|
|
520
|
-
},
|
|
521
|
-
onRowKeyDown(event, rowData, rowIndex) {
|
|
522
|
-
this.$emit('row-keydown', { originalEvent: event, data: rowData, index: rowIndex });
|
|
523
|
-
},
|
|
524
|
-
onRowMouseDown(event) {
|
|
525
|
-
this.$emit('row-mousedown', event);
|
|
526
|
-
},
|
|
527
|
-
onRowDragStart(event, rowIndex) {
|
|
528
|
-
this.$emit('row-dragstart', { originalEvent: event, index: rowIndex });
|
|
529
|
-
},
|
|
530
|
-
onRowDragOver(event, rowIndex) {
|
|
531
|
-
this.$emit('row-dragover', { originalEvent: event, index: rowIndex });
|
|
532
|
-
},
|
|
533
|
-
onRowDragLeave(event) {
|
|
534
|
-
this.$emit('row-dragleave', event);
|
|
535
|
-
},
|
|
536
|
-
onRowDragEnd(event) {
|
|
537
|
-
this.$emit('row-dragend', event);
|
|
538
|
-
},
|
|
539
|
-
onRowDrop(event) {
|
|
540
|
-
this.$emit('row-drop', event);
|
|
541
|
-
},
|
|
542
|
-
onRowToggle(event) {
|
|
543
|
-
this.$emit('row-toggle', event);
|
|
544
|
-
},
|
|
545
|
-
onRadioChange(event) {
|
|
546
|
-
this.$emit('radio-change', event);
|
|
547
|
-
},
|
|
548
|
-
onCheckboxChange(event) {
|
|
549
|
-
this.$emit('checkbox-change', event);
|
|
550
|
-
},
|
|
551
|
-
onCellEditInit(event) {
|
|
552
|
-
this.$emit('cell-edit-init', event);
|
|
553
|
-
},
|
|
554
|
-
onCellEditComplete(event) {
|
|
555
|
-
this.$emit('cell-edit-complete', event);
|
|
556
|
-
},
|
|
557
|
-
onCellEditCancel(event) {
|
|
558
|
-
this.$emit('cell-edit-cancel', event);
|
|
559
|
-
},
|
|
560
|
-
onRowEditInit(event) {
|
|
561
|
-
this.$emit('row-edit-init', event);
|
|
562
|
-
},
|
|
563
|
-
onRowEditSave(event) {
|
|
564
|
-
this.$emit('row-edit-save', event);
|
|
565
|
-
},
|
|
566
|
-
onRowEditCancel(event) {
|
|
567
|
-
this.$emit('row-edit-cancel', event);
|
|
568
|
-
},
|
|
569
|
-
onEditingMetaChange(event) {
|
|
570
|
-
this.$emit('editing-meta-change', event);
|
|
571
|
-
},
|
|
572
251
|
updateFrozenRowStickyPosition() {
|
|
573
252
|
this.$el.style.top = DomHandler.getOuterHeight(this.$el.previousElementSibling) + 'px';
|
|
574
253
|
},
|
|
@@ -587,26 +266,9 @@ export default {
|
|
|
587
266
|
const contentRef = this.getVirtualScrollerProp('contentRef');
|
|
588
267
|
|
|
589
268
|
contentRef && contentRef(el);
|
|
590
|
-
},
|
|
591
|
-
setRowTabindex(index) {
|
|
592
|
-
if (this.selection === null && (this.selectionMode === 'single' || this.selectionMode === 'multiple')) {
|
|
593
|
-
return index === 0 ? 0 : -1;
|
|
594
|
-
}
|
|
595
|
-
|
|
596
|
-
return -1;
|
|
597
269
|
}
|
|
598
270
|
},
|
|
599
271
|
computed: {
|
|
600
|
-
columnsLength() {
|
|
601
|
-
let hiddenColLength = 0;
|
|
602
|
-
|
|
603
|
-
this.columns.forEach((column) => {
|
|
604
|
-
if (this.columnProp(column, 'selectionMode') === 'single') hiddenColLength--;
|
|
605
|
-
if (this.columnProp(column, 'hidden')) hiddenColLength++;
|
|
606
|
-
});
|
|
607
|
-
|
|
608
|
-
return this.columns ? this.columns.length - hiddenColLength : 0;
|
|
609
|
-
},
|
|
610
272
|
rowGroupHeaderStyle() {
|
|
611
273
|
if (this.scrollable) {
|
|
612
274
|
return { top: this.rowGroupHeaderStyleObject.top };
|
|
@@ -617,24 +279,22 @@ export default {
|
|
|
617
279
|
bodyStyle() {
|
|
618
280
|
return this.getVirtualScrollerProp('contentStyle');
|
|
619
281
|
},
|
|
620
|
-
expandedRowId() {
|
|
621
|
-
return UniqueComponentId();
|
|
622
|
-
},
|
|
623
|
-
nameAttributeSelector() {
|
|
624
|
-
return UniqueComponentId();
|
|
625
|
-
},
|
|
626
282
|
ptmTBodyOptions() {
|
|
627
283
|
return {
|
|
628
284
|
context: {
|
|
629
285
|
scrollable: this.$parentInstance?.$parentInstance?.scrollable
|
|
630
286
|
}
|
|
631
287
|
};
|
|
288
|
+
},
|
|
289
|
+
expandedRowId() {
|
|
290
|
+
return UniqueComponentId();
|
|
291
|
+
},
|
|
292
|
+
nameAttributeSelector() {
|
|
293
|
+
return UniqueComponentId();
|
|
632
294
|
}
|
|
633
295
|
},
|
|
634
296
|
components: {
|
|
635
|
-
|
|
636
|
-
ChevronDownIcon: ChevronDownIcon,
|
|
637
|
-
ChevronRightIcon: ChevronRightIcon
|
|
297
|
+
DTBodyRow: BodyRow
|
|
638
298
|
}
|
|
639
299
|
};
|
|
640
300
|
</script>
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
|
|
18
18
|
<script>
|
|
19
19
|
import BaseComponent from 'primevue/basecomponent';
|
|
20
|
-
import { ObjectUtils } from 'primevue/utils';
|
|
20
|
+
import { HelperSet, ObjectUtils } from 'primevue/utils';
|
|
21
21
|
import { mergeProps } from 'vue';
|
|
22
22
|
import FooterCell from './FooterCell.vue';
|
|
23
23
|
|
|
@@ -35,6 +35,22 @@ export default {
|
|
|
35
35
|
default: null
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
|
+
provide() {
|
|
39
|
+
return {
|
|
40
|
+
$rows: this.d_footerRows,
|
|
41
|
+
$columns: this.d_footerColumns
|
|
42
|
+
};
|
|
43
|
+
},
|
|
44
|
+
data() {
|
|
45
|
+
return {
|
|
46
|
+
d_footerRows: new HelperSet({ type: 'Row' }),
|
|
47
|
+
d_footerColumns: new HelperSet({ type: 'Column' })
|
|
48
|
+
};
|
|
49
|
+
},
|
|
50
|
+
beforeUnmount() {
|
|
51
|
+
this.d_footerRows.clear();
|
|
52
|
+
this.d_footerColumns.clear();
|
|
53
|
+
},
|
|
38
54
|
methods: {
|
|
39
55
|
columnProp(col, prop) {
|
|
40
56
|
return ObjectUtils.getVNodeProp(col, prop);
|
|
@@ -77,33 +93,10 @@ export default {
|
|
|
77
93
|
return row.props && row.props.pt ? row.props.pt : undefined; //@todo
|
|
78
94
|
},
|
|
79
95
|
getFooterRows() {
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
let columnGroup = this.columnGroup;
|
|
83
|
-
|
|
84
|
-
if (columnGroup.children && columnGroup.children.default) {
|
|
85
|
-
for (let child of columnGroup.children.default()) {
|
|
86
|
-
if (child.type.name === 'Row') {
|
|
87
|
-
rows.push(child);
|
|
88
|
-
} else if (child.children && child.children instanceof Array) {
|
|
89
|
-
rows = child.children;
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
return rows;
|
|
94
|
-
}
|
|
96
|
+
return this.d_footerRows?.get(this.columnGroup, this.columnGroup.children);
|
|
95
97
|
},
|
|
96
98
|
getFooterColumns(row) {
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
if (row.children && row.children.default) {
|
|
100
|
-
row.children.default().forEach((child) => {
|
|
101
|
-
if (child.children && child.children instanceof Array) cols = [...cols, ...child.children];
|
|
102
|
-
else if (child.type.name === 'Column') cols.push(child);
|
|
103
|
-
});
|
|
104
|
-
|
|
105
|
-
return cols;
|
|
106
|
-
}
|
|
99
|
+
return this.d_footerColumns?.get(row, row.children);
|
|
107
100
|
}
|
|
108
101
|
},
|
|
109
102
|
computed: {
|