import { Component, EventEmitter, Input, Output } from '@angular/core';
import * as i0 from "@angular/core";
export class EvoPlusMinusComponent {
    constructor() {
        this.increase = new EventEmitter();
        this.decrease = new EventEmitter();
    }
    ngOnInit() { }
}
EvoPlusMinusComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: EvoPlusMinusComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
EvoPlusMinusComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.4.0", type: EvoPlusMinusComponent, selector: "evo-plus-minus", inputs: { id: "id", disabledMinus: "disabledMinus", disabledPlus: "disabledPlus" }, outputs: { increase: "increase", decrease: "decrease" }, ngImport: i0, template: "<div class=\"evo-plus-minus\">\n    <button class=\"evo-plus-minus__button\" (click)=\"decrease.emit(id)\" [disabled]=\"disabledMinus\">\n        <svg width=\"24px\" height=\"24px\" viewBox=\"0 0 24 24\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n            <path d=\"M6,11.25 C5.58579,11.25 5.25,11.5858 5.25,12 C5.25,12.4142 5.58579,12.75 6,12.75 L18,12.75 C18.4142,12.75 18.75,12.4142 18.75,12 C18.75,11.5858 18.4142,11.25 18,11.25 L6,11.25 Z\" id=\"Path\"></path>\n        </svg>\n    </button>\n    <button class=\"evo-plus-minus__button\" (click)=\"increase.emit(id)\" [disabled]=\"disabledPlus\">\n        <svg width=\"24px\" height=\"24px\" viewBox=\"0 0 24 24\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n            <path d=\"M12,18.75 C11.5858,18.75 11.25,18.4142 11.25,18 L11.25,12.75 L6,12.75 C5.58579,12.75 5.25,12.4142 5.25,12 C5.25,11.5858 5.58579,11.25 6,11.25 L11.25,11.25 L11.25,6 C11.25,5.58579 11.5858,5.25 12,5.25 C12.4142,5.25 12.75,5.58579 12.75,6 L12.75,11.25 L18,11.25 C18.4142,11.25 18.75,11.5858 18.75,12 C18.75,12.4142 18.4142,12.75 18,12.75 L12.75,12.75 L12.75,18 C12.75,18.4142 12.4142,18.75 12,18.75 Z\" id=\"Path\"></path>\n        </svg>\n    </button>\n</div>\n", styles: [".evo-plus-minus{display:flex}.evo-plus-minus__button{display:flex;justify-content:center;align-items:center;width:30px;height:30px;padding:0;color:#21c68b;font-size:14px;background:#FFFFFF;border:1px solid #21C68B;border-radius:50%;cursor:pointer;transition:all .1s;fill:#21c68b}.evo-plus-minus__button svg{display:block;width:24px;height:24px}.evo-plus-minus__button:active:not(:disabled){box-shadow:inset 0 3px 5px #00000020}.evo-plus-minus__button:disabled{color:#fff;background:#C6C6C6;border-color:#c6c6c6;cursor:default;fill:#fff}.evo-plus-minus__button:last-child{margin-left:10px}.evo-plus-minus__button:hover:not(:disabled),.evo-plus-minus__button:active:not(:disabled){color:#fff;background:#21C68B;fill:#fff}\n"] });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: EvoPlusMinusComponent, decorators: [{
            type: Component,
            args: [{ selector: 'evo-plus-minus', template: "<div class=\"evo-plus-minus\">\n    <button class=\"evo-plus-minus__button\" (click)=\"decrease.emit(id)\" [disabled]=\"disabledMinus\">\n        <svg width=\"24px\" height=\"24px\" viewBox=\"0 0 24 24\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n            <path d=\"M6,11.25 C5.58579,11.25 5.25,11.5858 5.25,12 C5.25,12.4142 5.58579,12.75 6,12.75 L18,12.75 C18.4142,12.75 18.75,12.4142 18.75,12 C18.75,11.5858 18.4142,11.25 18,11.25 L6,11.25 Z\" id=\"Path\"></path>\n        </svg>\n    </button>\n    <button class=\"evo-plus-minus__button\" (click)=\"increase.emit(id)\" [disabled]=\"disabledPlus\">\n        <svg width=\"24px\" height=\"24px\" viewBox=\"0 0 24 24\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n            <path d=\"M12,18.75 C11.5858,18.75 11.25,18.4142 11.25,18 L11.25,12.75 L6,12.75 C5.58579,12.75 5.25,12.4142 5.25,12 C5.25,11.5858 5.58579,11.25 6,11.25 L11.25,11.25 L11.25,6 C11.25,5.58579 11.5858,5.25 12,5.25 C12.4142,5.25 12.75,5.58579 12.75,6 L12.75,11.25 L18,11.25 C18.4142,11.25 18.75,11.5858 18.75,12 C18.75,12.4142 18.4142,12.75 18,12.75 L12.75,12.75 L12.75,18 C12.75,18.4142 12.4142,18.75 12,18.75 Z\" id=\"Path\"></path>\n        </svg>\n    </button>\n</div>\n", styles: [".evo-plus-minus{display:flex}.evo-plus-minus__button{display:flex;justify-content:center;align-items:center;width:30px;height:30px;padding:0;color:#21c68b;font-size:14px;background:#FFFFFF;border:1px solid #21C68B;border-radius:50%;cursor:pointer;transition:all .1s;fill:#21c68b}.evo-plus-minus__button svg{display:block;width:24px;height:24px}.evo-plus-minus__button:active:not(:disabled){box-shadow:inset 0 3px 5px #00000020}.evo-plus-minus__button:disabled{color:#fff;background:#C6C6C6;border-color:#c6c6c6;cursor:default;fill:#fff}.evo-plus-minus__button:last-child{margin-left:10px}.evo-plus-minus__button:hover:not(:disabled),.evo-plus-minus__button:active:not(:disabled){color:#fff;background:#21C68B;fill:#fff}\n"] }]
        }], ctorParameters: function () { return []; }, propDecorators: { id: [{
                type: Input
            }], disabledMinus: [{
                type: Input
            }], disabledPlus: [{
                type: Input
            }], increase: [{
                type: Output
            }], decrease: [{
                type: Output
            }] } });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXZvLXBsdXMtbWludXMuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZXZvLXVpLWtpdC9zcmMvbGliL2Nv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