import { Component, Input } from '@angular/core';
import * as i0 from "@angular/core";
import * as i1 from "@angular/common";
import * as i2 from "@ngx-translate/core";
export class WizardProgressComponent {
    constructor() { }
    static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: WizardProgressComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
    static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: WizardProgressComponent, selector: "ec-wizard-progress", inputs: { tabGroup: "tabGroup", currentTab: "currentTab" }, ngImport: i0, template: "<div *ngFor=\"let tab of tabGroup?.items; index as index; first as isFirst; last as isLast\"\r\n     class=\"progress-tab\"\r\n     [class.ml-2]=\"!isFirst\"\r\n     [class.is-active]=\"currentTab?.id === tab.id\">\r\n\r\n   <i *ngIf=\"tab.completed\"\r\n      class=\"ec-icon icon-check-circle mr-1 font-color-success\"></i>\r\n   <span *ngIf=\"!tab.completed\">{{index+1}}.&nbsp;</span>\r\n   <span>{{tab.label | translate}}</span>\r\n   <i *ngIf=\"!isLast\"\r\n      class=\"ec-icon icon-angle-down rotate-270 ml-2\"></i>\r\n</div>", styles: [":host{display:flex;align-items:center;padding:0 1rem}.progress-tab{display:flex;align-items:center}.progress-tab.is-active{font-weight:700}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i2.TranslatePipe, name: "translate" }] }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: WizardProgressComponent, decorators: [{
            type: Component,
            args: [{ selector: 'ec-wizard-progress', template: "<div *ngFor=\"let tab of tabGroup?.items; index as index; first as isFirst; last as isLast\"\r\n     class=\"progress-tab\"\r\n     [class.ml-2]=\"!isFirst\"\r\n     [class.is-active]=\"currentTab?.id === tab.id\">\r\n\r\n   <i *ngIf=\"tab.completed\"\r\n      class=\"ec-icon icon-check-circle mr-1 font-color-success\"></i>\r\n   <span *ngIf=\"!tab.completed\">{{index+1}}.&nbsp;</span>\r\n   <span>{{tab.label | translate}}</span>\r\n   <i *ngIf=\"!isLast\"\r\n      class=\"ec-icon icon-angle-down rotate-270 ml-2\"></i>\r\n</div>", styles: [":host{display:flex;align-items:center;padding:0 1rem}.progress-tab{display:flex;align-items:center}.progress-tab.is-active{font-weight:700}\n"] }]
        }], ctorParameters: () => [], propDecorators: { tabGroup: [{
                type: Input
            }], currentTab: [{
                type: Input
            }] } });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid2l6YXJkLXByb2dyZXNzLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvbXBvbmVudHMvc3JjL2xpYi9zaGFyZWQvd2l6YXJkL3dpemFyZC1wcm9ncmVzcy93aXphcmQtcHJvZ3Jlc3MuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29tcG9uZW50cy9zcmMvbGliL3NoYXJlZC93aXphcmQvd2l6YXJkLXByb2dyZXNzL3dpemFyZC1wcm9ncmVzcy5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLEtBQUssRUFBRSxNQUFNLGVBQWUsQ0FBQzs7OztBQVNqRCxNQUFNLE9BQU8sdUJBQXVCO0lBS2xDLGdCQUFnQixDQUFDOytHQUxOLHVCQUF1QjttR0FBdkIsdUJBQXVCLHNIQ1RwQyx3aEJBV007OzRGREZPLHVCQUF1QjtrQkFMbkMsU0FBUzsrQkFDRSxvQkFBb0I7d0RBTWQsUUFBUTtzQkFB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