/**
 * @fileoverview added by tsickle
 * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
 */
import { Component, EventEmitter, Input, Output } from '@angular/core';
export class LeftPanelComponent {
    constructor() {
        this.active = false;
        this.close = new EventEmitter();
    }
    /**
     * @param {?} e
     * @return {?}
     */
    closePanel(e) {
        e.preventDefault();
        this.close.emit();
    }
}
LeftPanelComponent.decorators = [
    { type: Component, args: [{
                selector: 'bidi-left-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;left:0}.container.active{width:100%}.container>div{position:relative;height:100%}.active{width:auto}@media (max-width:680px){.active{width:100vh}}"]
            }] }
];
LeftPanelComponent.propDecorators = {
    active: [{ type: Input }],
    close: [{ type: Output }]
};
if (false) {
    /** @type {?} */
    LeftPanelComponent.prototype.active;
    /** @type {?} */
    LeftPanelComponent.prototype.close;
}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGVmdC1wYW5lbC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYmlkaS9jb21tb24tY29tcG9uZW50cy8iLCJzb3VyY2VzIjpbImxpYi9tb2R1bGVzL3BhbmVscy9sZWZ0LXBhbmVsL2xlZnQtcGFuZWwuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7QUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLFlBQVksRUFBRSxLQUFLLEVBQUUsTUFBTSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBT3ZFLE1BQU0sT0FBTyxrQkFBa0I7SUFML0I7UUFNVyxXQUFNLEdBQUcsS0FBSyxDQUFDO1FBQ2QsVUFBSyxHQUFHLElBQUksWUFBWSxF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