import { Component, EventEmitter, Input, Output } from '@angular/core';
import { ZuiB } from '@material-zui/core';
export class ZUIDialogTitleComponent {
    constructor() {
        this.hideClose = true;
        this.close = new EventEmitter();
    }
    set showClose(val) {
        this.hideClose = ZuiB.toBoolReverse(val);
    }
}
ZUIDialogTitleComponent.decorators = [
    { type: Component, args: [{
                selector: 'zui-dialog-title',
                template: "<div mat-dialog-title>\n  <div class=\"d-flex align-items-center\">\n    <div class=\"d-flex-1\">\n      <ng-content></ng-content>\n    </div>\n    <mat-icon *ngIf=\"!hideClose\" class=\"zui-pointer\" (click)=\"close.emit()\">close</mat-icon>\n  </div>\n</div>\n",
                styles: [""]
            },] }
];
ZUIDialogTitleComponent.propDecorators = {
    showClose: [{ type: Input }],
    close: [{ type: Output }]
};
//# sourceMappingURL=index.component.js.map