/**
 * @fileoverview added by tsickle
 * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
 */
import { Component, Output, EventEmitter } from '@angular/core';
var UserFileComponent = /** @class */ (function () {
    function UserFileComponent() {
        this.panelState = new EventEmitter;
        this.userState = false;
    }
    /**
     * @return {?}
     */
    UserFileComponent.prototype.ngOnInit = /**
     * @return {?}
     */
    function () {
    };
    /**
     * @return {?}
     */
    UserFileComponent.prototype.closeUserFile = /**
     * @return {?}
     */
    function () {
        this.panelState.emit({ state: this.userState, panel: 'Ficha' });
    };
    UserFileComponent.decorators = [
        { type: Component, args: [{
                    selector: 'bidi-user-file',
                    template: "<div class=\"user-file\">\n    <button class=\"button close is-pulled-right\" (click)=\"closeUserFile()\">\n        <svg class=\"icon-times icon is-small has-text-tt \">\n            <use xlink:href=\"#icon-times\"></use>\n          </svg>\n      </button>\n</div>\n",
                    styles: [".close{border:none;background:0 0}"]
                }] }
    ];
    /** @nocollapse */
    UserFileComponent.ctorParameters = function () { return []; };
    UserFileComponent.propDecorators = {
        panelState: [{ type: Output }]
    };
    return UserFileComponent;
}());
export { UserFileComponent };
if (false) {
    /** @type {?} */
    UserFileComponent.prototype.panelState;
    /** @type {?} */
    UserFileComponent.prototype.userState;
}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXNlci1maWxlLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BiaWRpL2NvbW1vbi1jb21wb25lbnRzLyIsInNvdXJjZXMiOlsibGliL21vZHVsZXMvcHJvZmlsZS91c2VyLWZpbGUvdXNlci1maWxlLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0FBQUEsT0FBTyxFQUFFLFNBQVMsRUFBVSxNQUFNLEVBQUUsWUFBWSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBRXhFO0lBVUU7UUFIVSxlQUFVLEdBQXNCLElBQUksWU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