import { OnInit } from '@angular/core'; import { Router } from '@angular/router'; /** * g7-portlet-actions is a default portlet component based on the default portlet from metronic(keenthemes.com/preview/metronic/theme/admin_4/index.html) * @param title - the title wich will be shown in the portlet's head * @param subtitle - the subtitle wich will be shown in the portlet's head * @param minHeight - override the default(350) min-height assumed by the portlet * @param maxHeight - allows to limit the max-height on the portlet * @param actions - an list with the button actions wich will be shown in the right portlet header * @param filter - an object with the multiselect filter settings that will be shown in the right portlet header * See more information: https://www.primefaces.org/primeng/#/multiselect * @param options - an object with the dropdown settings that will be shown in the right portlet header * See more information: https://www.primefaces.org/primeng/#/dropdown * @param enableCollapsed - Enables a collapsable button to collapse/expand the portlet body * @param initialCollapsedValue - Sets the initial value for collapsed property (wether the portlet body is collapsed/expand by default) * @param tags - array wich will be shown in the portlet's head as bootstrap tags * @param link - a link for showing an arrow component which allows to go to another route * Here's an example of use: * * * * myActions = [{ name: "button action 1", ngClassButton: "btn-circle green", ngClassIcon: "fa-plus", idIcon: "prettyIcon" callback: () => console.log('this is my callback'), disabled: () => this.items.lenght <= 0 }, { name: "button action 2" }] myFilter = { items: [], selected: [], onChangeCallback: () => console.log('this is my callback'), optionLabel: "" } * * Action params: * @param name - is the button's name * @param ngClassButton - used for changing the button style * @param ngClassIcon - used for adding an icon, the fa icons are suported only * @param callback - the function that will be trigered on the button's click event * @param disabled - the function that will be used to disabled the action button */ export declare class PortletActionsComponent implements OnInit { private router; title: any; subtitle: any; minHeight: any; maxHeight: any; actions: any; filter: any; link: any; tooltipMessage: any; tooltipPlacement: any; enableCollapsed: boolean; initialCollapsedValue: boolean; onChangedCollapse: any; tags: string[]; showSpinner: boolean; options: any; blockHasLoading: boolean; showTooltip: boolean; collapsed: boolean; constructor(router: Router); ngOnInit(): void; navigate(link: any): void; onClickCollapse(): void; }