/**
 * @fileoverview added by tsickle
 * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
 */
import { Component, Inject } from '@angular/core';
import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material';
var QuestionDialogComponent = /** @class */ (function () {
    function QuestionDialogComponent(dialogRef, data) {
        this.dialogRef = dialogRef;
        this.data = data;
    }
    /**
     * @return {?}
     */
    QuestionDialogComponent.prototype.onNoClick = /**
     * @return {?}
     */
    function () {
        this.dialogRef.close(false);
    };
    /**
     * @return {?}
     */
    QuestionDialogComponent.prototype.ngOnInit = /**
     * @return {?}
     */
    function () {
    };
    QuestionDialogComponent.decorators = [
        { type: Component, args: [{
                    selector: 'so-question-dialog',
                    template: "<h1 mat-dialog-title>{{data.title}}</h1>\r\n<div mat-dialog-content>\r\n    <p>{{data.message}}</p>\r\n</div>\r\n<div mat-dialog-actions>\r\n    <button mat-button (click)=\"onNoClick()\">No</button>\r\n    <button mat-button color=\"primary\" [mat-dialog-close]=\"true\" cdkFocusInitial>YES</button>\r\n</div>\r\n",
                    styles: [""]
                }] }
    ];
    /** @nocollapse */
    QuestionDialogComponent.ctorParameters = function () { return [
        { type: MatDialogRef },
        { type: undefined, decorators: [{ type: Inject, args: [MAT_DIALOG_DATA,] }] }
    ]; };
    return QuestionDialogComponent;
}());
export { QuestionDialogComponent };
if (false) {
    /** @type {?} */
    QuestionDialogComponent.prototype.dialogRef;
    /** @type {?} */
    QuestionDialogComponent.prototype.data;
}
/**
 * @record
 */
export function DialogData() { }
if (false) {
    /** @type {?} */
    DialogData.prototype.title;
    /** @type {?} */
    DialogData.prototype.message;
}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicXVlc3Rpb24tZGlhbG9nLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL2FuZ3VsYXItbWFwLWVkaXRvci8iLCJzb3VyY2VzIjpbInF1ZXN0aW9uLWRpYW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