UNPKG

bitfront-library

Version:

Angular CLI project with components and classes used by other Angular projects of the BIT foundation.

49 lines (48 loc) 2.07 kB
import { OnDestroy, EventEmitter } from "@angular/core"; import { ToolbarService } from "../service/toolbar.service"; import * as i0 from "@angular/core"; /** * Componenente que muestra una barra de botones. * @Input() componentId contiene el identificador del componente que contiene este toolbar. Es opcional en cuyo caso el valor será "BASE" * @Output() onToolbarButtonPressed. El componente captura la pulsación de estos botones y envia un evento onToolbarButtonPressed con el nombre del * botón pulsado. **/ export declare class BitToolbarComponent implements OnDestroy { static FILTER_BUTTON: string; static PRINT_BUTTON: string; static EXPORT_BUTTON: string; static NEW_BUTTON: string; static SAVE_BUTTON: string; static DELETE_BUTTON: string; static ADD_BUTTON: string; static HELP_BUTTON: string; toolbarOld: any; ayuda: string; femenino: boolean; componentId: string; otherActionsDropdown: boolean; onToolbarButtonPressed: EventEmitter<string>; toolbar: any; private toolbarService; private toolbarSubscription; mostrarOtherActionsEnDesplegable: boolean; constructor(toolbarService: ToolbarService); ngAfterContentInit(): void; registerObservable(): void; enable(button: string): boolean; visible(button: string): boolean; label(button: string, defaultLabel: string): string; estilo(button: string, defaultValue: string): string; showFilter(): void; print(): void; exportData(): void; newElement(): void; add(): void; save(): void; delete(): void; otherAction(button: any): void; ngOnDestroy(): void; setToolbar(newToolbar: any): void; static ɵfac: i0.ɵɵFactoryDef<BitToolbarComponent, never>; static ɵcmp: i0.ɵɵComponentDefWithMeta<BitToolbarComponent, "bit-toolbar", never, { "toolbarOld": "toolbar"; "ayuda": "ayuda"; "femenino": "femenino"; "componentId": "componentId"; "otherActionsDropdown": "otherActionsDropdown"; }, { "onToolbarButtonPressed": "onToolbarButtonPressed"; }, never, never>; }