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: "12.2.17", ngImport: i0, type: EvoPlusMinusComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
EvoPlusMinusComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", 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: "12.2.17", ngImport: i0, type: EvoPlusMinusComponent, decorators: [{
            type: Component,
            args: [{
                    selector: 'evo-plus-minus',
                    templateUrl: './evo-plus-minus.component.html',
                    styleUrls: ['./evo-plus-minus.component.scss'],
                }]
        }], ctorParameters: function () { return []; }, propDecorators: { id: [{
                type: Input
            }], disabledMinus: [{
                type: Input
            }], disabledPlus: [{
                type: Input
            }], increase: [{
                type: Output
            }], decrease: [{
                type: Output
            }] } });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXZvLXBsdXMtbWludXMuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZXZvLXVpLWtpdC9zcmMvbGliL2NvbXBvbmVudHMvZXZvLXBsdXMtbWludXMvZXZvLXBsdXMtbWludXMuY29tcG9uZW50LnRzIiwiLi4vLi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