import { bindable, containerless, customElement } from "aurelia-framework";

@containerless()
@customElement("ui-dialog-header")
export class UIDialogHeader {
    @bindable() public icon: string;
    @bindable() public size: 'nm' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl' | 'xxxl' | 'xxxxl' = "xl";
    @bindable() public title: string;

    @bindable() public buttonVisible: boolean = true;
    @bindable() public buttonIcon: string = "digi-cross";
    @bindable() public buttonTitleTrad: string = "common:general.close";
    @bindable() public buttonFunction: Function;
    @bindable() public buttonType: string = "ghost";
}
