/**
 * @fileoverview added by tsickle
 * @suppress {checkTypes} checked by tsc
 */
import { Component, EventEmitter, Input, Output } from '@angular/core';
var MaskComponent = /** @class */ (function () {
    function MaskComponent() {
        this.uiHide = new EventEmitter();
        this.show = false;
    }
    /**
     * @return {?}
     */
    MaskComponent.prototype.done = /**
     * @return {?}
     */
    function () {
        if (!this.show) {
            this.uiHide.emit();
        }
    };
    MaskComponent.decorators = [
        { type: Component, args: [{
                    selector: 'ui-mask',
                    template: "<div [ngClass]=\"{'ui-show': show}\" class=\"ui-mask\" (webkitTransitionEnd)=\"done()\" (transitionend)=\"done()\"></div>\n<ng-content></ng-content>"
                },] },
    ];
    /** @nocollapse */
    MaskComponent.propDecorators = {
        "uiHide": [{ type: Output },],
        "show": [{ type: Input },],
    };
    return MaskComponent;
}());
export { MaskComponent };
function MaskComponent_tsickle_Closure_declarations() {
    /** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
    MaskComponent.decorators;
    /**
     * @nocollapse
     * @type {function(): !Array<(null|{type: ?, decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>)})>}
     */
    MaskComponent.ctorParameters;
    /** @type {!Object<string,!Array<{type: !Function, args: (undefined|!Array<?>)}>>} */
    MaskComponent.propDecorators;
    /** @type {?} */
    MaskComponent.prototype.uiHide;
    /** @type {?} */
    MaskComponent.prototype.show;
}

//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWFzay5jb21wb25lbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AdGFuYm8vdWktbmF0aXZlLyIsInNvdXJjZXMiOlsibGliL21vZGFsL21hc2svbWFzay5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsWUFBWSxFQUFFLEtBQUssRUFBRSxNQUFNLEVBQUUsTUFBTSxlQUFlLENBQUM7OztzQkFRbEQsSUFBSSxZQUFZLEV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