import { CoreComponent } from "cmf.core/src/core";
import { Style } from "cmf.core/src/domain/metadata/style";
import * as ng from "@angular/core";
/**
* BorderType
*/
export declare enum BorderType {
None = 0,
Single = 1,
Multiple = 2
}
/**
* Button definition
*/
export interface ExecutionButtonDefinition extends Style {
/**
* Identifier
*/
id: string;
/**
* Alternative Text
*/
altI18NId?: string;
/**
* Tag
*/
tag?: any;
/**
* Is Button Enabled
*/
disabled?: boolean;
}
/**
* @whatItDoes
* Component to render an array of buttons to execute actions.
* These buttons aggregate a set of actions that can be executed.
*
* @howToUse
* This component is used with the inputs and outputs mentioned below.
*
* ### Inputs
* `ExecutionButtonDefinition[]` : **buttons** - The buttons of this component ;
* `BorderType` : **border-type** - The border-type of this component (by default is _BorderType.Single_) .
*
* ### Outputs
* `any` : **buttonClick** - Triggered when the button is clicked .
*
* ### Example
* To use the component, assume this HTML Template as an example:
*
* ```HTML
* {...}]"
* (button-click)="onButtonClick($event)">
*
* ```
*
*/
export declare class ExecutionButtons extends CoreComponent implements ng.OnInit, ng.OnChanges {
/**
* The border type. Default is Multiple.
*/
private borderType;
/**
* ExecutionButton internal classes - size and border configuration
*/
_buttonClasses: Array;
private _borderTypeOldValue;
/**
* Gets or sets the buttons to draw.
*/
buttons: ExecutionButtonDefinition[];
/**
* Click event triggered when a button is clicked.
*/
click: ng.EventEmitter;
constructor();
private styleButton;
/**
* Handle button click event.
*/
buttonClick(event: Event, button: ExecutionButtonDefinition): void;
/**
* On Init method - set button classes
*/
ngOnInit(): void;
/**
* On changes method - set button classes
*/
ngOnChanges(changes: any): void;
}
export declare class ExecutionButtonsModule {
}