/**
 * @fileoverview added by tsickle
 * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
 */
import { Component, EventEmitter, Input, Output } from '@angular/core';
var LeftPanelComponent = /** @class */ (function () {
    function LeftPanelComponent() {
        this.active = false;
        this.close = new EventEmitter();
    }
    /**
     * @param {?} e
     * @return {?}
     */
    LeftPanelComponent.prototype.closePanel = /**
     * @param {?} e
     * @return {?}
     */
    function (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 }]
    };
    return LeftPanelComponent;
}());
export { LeftPanelComponent };
if (false) {
    /** @type {?} */
    LeftPanelComponent.prototype.active;
    /** @type {?} */
    LeftPanelComponent.prototype.close;
}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGVmdC1wYW5lbC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYmlkaS9jb21tb24tY29tcG9uZW50cy8iLCJzb3VyY2VzIjpbImxpYi9tb2R1bGVzL3BhbmVscy9sZWZ0LXBhbmVsL2xlZnQtcGFuZWwuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7QUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLFlBQVksRUFBRSxLQUFLLEVBQUUsTUFBTSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBRXZFO0lBQUE7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