import * as i0 from '@angular/core';
import { Input, HostBinding, Component, NgModule } from '@angular/core';

class EuiIconColorComponent {
    constructor() {
        this.paths = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20];
    }
    get cssClasses() {
        return this.getCssClasses();
    }
    getCssClasses() {
        return ['eui-icon eui-icon-color', this.iconClass ? this.iconClass : ''].join(' ').trim();
    }
    static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: EuiIconColorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
    static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.17", type: EuiIconColorComponent, isStandalone: true, selector: "eui-icon-colored, span[euiIconColored], [euiIconColored]", inputs: { iconClass: "iconClass" }, host: { properties: { "class": "this.cssClasses" } }, ngImport: i0, template: `
        <span [class]="iconClass">
            @for (pathNumber of paths; track pathNumber) {
                <span class="path{{ pathNumber }}"></span>
            }
        </span>
    `, isInline: true }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: EuiIconColorComponent, decorators: [{
            type: Component,
            args: [{
                    selector: 'eui-icon-colored, span[euiIconColored], [euiIconColored]',
                    template: `
        <span [class]="iconClass">
            @for (pathNumber of paths; track pathNumber) {
                <span class="path{{ pathNumber }}"></span>
            }
        </span>
    `,
                }]
        }], propDecorators: { cssClasses: [{
                type: HostBinding,
                args: ['class']
            }], iconClass: [{
                type: Input
            }] } });
/**
 * @description
 * A module for the icon component. This module imports the
 *
 * @deprecated Use the {@link EUI_ICON_COLOR} instead
 */
class EuiIconColorModule {
    static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: EuiIconColorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
    static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.17", ngImport: i0, type: EuiIconColorModule, imports: [EuiIconColorComponent], exports: [EuiIconColorComponent] }); }
    static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: EuiIconColorModule }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: EuiIconColorModule, decorators: [{
            type: NgModule,
            args: [{
                    imports: [EuiIconColorComponent],
                    exports: [EuiIconColorComponent],
                }]
        }] });

const EUI_ICON_COLOR = [
    EuiIconColorComponent,
];
// export { EuiIconColorComponent as EuiIconColor } from './eui-icon-color.component';

/**
 * Generated bundle index. Do not edit.
 */

export { EUI_ICON_COLOR, EuiIconColorComponent, EuiIconColorModule };
//# sourceMappingURL=eui-components-eui-icon-color.mjs.map
