/**
 * @fileoverview added by tsickle
 * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
 */
import { Component, EventEmitter, Input, Output } from '@angular/core';
var RightPanelComponent = /** @class */ (function () {
    function RightPanelComponent() {
        this.active = false;
        this.close = new EventEmitter();
    }
    /**
     * @param {?} e
     * @return {?}
     */
    RightPanelComponent.prototype.closePanel = /**
     * @param {?} e
     * @return {?}
     */
    function (e) {
        e.preventDefault();
        this.close.emit();
    };
    RightPanelComponent.decorators = [
        { type: Component, args: [{
                    selector: 'bidi-right-panel',
                    template: "<div\n  (click)=\"closePanel($event)\"\n  class=\"left-panel-container\"\n  [ngClass]=\"{ active: active }\"\n>\n  <div>\n    <ng-content></ng-content>\n  </div>\n</div>\n",
                    styles: [".container{position:absolute;top:0;bottom:0;transition:width .25s;z-index:2000;overflow:hidden;width:0;right:0}.container.active{width:100%}.container>div{position:relative;height:100%}"]
                }] }
    ];
    RightPanelComponent.propDecorators = {
        active: [{ type: Input }],
        close: [{ type: Output }]
    };
    return RightPanelComponent;
}());
export { RightPanelComponent };
if (false) {
    /** @type {?} */
    RightPanelComponent.prototype.active;
    /** @type {?} */
    RightPanelComponent.prototype.close;
}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmlnaHQtcGFuZWwuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGJpZGkvY29tbW9uLWNvbXBvbmVudHMvIiwic291cmNlcyI6WyJsaWIvbW9kdWxlcy9wYW5lbHMvcmlnaHQtcGFuZWwvcmlnaHQtcGFuZWwuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7QUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLFlBQVksRUFBRSxLQUFLLEVBQUUsTUFBTSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBRXZFO0lBQUE7UUFNVyxXQUFNLEdBQUcsS0FBSyxDQUFDO1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