/**
 * @fileoverview added by tsickle
 * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
 */
import { Component, EventEmitter, Input, Output } from "@angular/core";
/**
 * This is a base class for the magic confirm components
 */
var BaseMagicConfirmComponent = /** @class */ (function () {
    function BaseMagicConfirmComponent() {
        /**
         * onClose Event - to be raised when the component is closed
         * should pass true when OK is pressed and false when cancel is pressed
         */
        this.onClose = new EventEmitter();
    }
    /**
     * raises close Event
     * @param result true when OK is pressed and false when cancel is pressed
     *
     */
    /**
     * raises close Event
     * @param {?} result true when OK is pressed and false when cancel is pressed
     *
     * @return {?}
     */
    BaseMagicConfirmComponent.prototype.OnClose = /**
     * raises close Event
     * @param {?} result true when OK is pressed and false when cancel is pressed
     *
     * @return {?}
     */
    function (result) {
        this.onClose.emit(result);
    };
    BaseMagicConfirmComponent.decorators = [
        { type: Component, args: [{
                    selector: 'mg-base-alert',
                    template: '',
                    styles: ['']
                },] },
    ];
    BaseMagicConfirmComponent.propDecorators = {
        title: [{ type: Input }],
        message: [{ type: Input }],
        onClose: [{ type: Output }]
    };
    return BaseMagicConfirmComponent;
}());
export { BaseMagicConfirmComponent };
if (false) {
    /**
     * title of the component
     * @type {?}
     */
    BaseMagicConfirmComponent.prototype.title;
    /**
     * message of the component
     * @type {?}
     */
    BaseMagicConfirmComponent.prototype.message;
    /**
     * onClose Event - to be raised when the component is closed
     * should pass true when OK is pressed and false when cancel is pressed
     * @type {?}
     */
    BaseMagicConfirmComponent.prototype.onClose;
}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFzZS1tYWdpYy1jb25maXJtLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BtYWdpYy14cGEvYW5ndWxhci8iLCJzb3VyY2VzIjpbInNyYy91aS9jb21wb25lbnRzL2Jhc2UtbWFnaWMtY29uZmlybS5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBw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