/**
 * @fileoverview added by tsickle
 * @suppress {checkTypes} checked by tsc
 */
import { Component, EventEmitter, Input, Output } from '@angular/core';
export class MaskComponent {
    constructor() {
        this.uiHide = new EventEmitter();
        this.show = false;
    }
    /**
     * @return {?}
     */
    done() {
        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>
<ng-content></ng-content>`
            },] },
];
/** @nocollapse */
MaskComponent.propDecorators = {
    "uiHide": [{ type: Output },],
    "show": [{ type: Input },],
};
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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWFzay5jb21wb25lbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AdGFuYm8vdWktbmF0aXZlLyIsInNvdXJjZXMiOlsibGliL21vZGFsL21hc2svbWFzay5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsWUFBWSxFQUFFLEtBQUssRUFBRSxNQUFNLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFPdkUsTUFBTTs7c0JBQ2UsSUFBSSxZQUFZLEVBQVE7b0JBQ2xCLEtBQUs7Ozs7O0lBRTlCLElBQUk7UUFDRixFQUFFLENBQUMsQ0FBQyxD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