import * as i0 from '@angular/core';
import { Directive, Input } from '@angular/core';
import { StatusLabelStatus, StatusLabelBorderType } from '@ironsource/fusion-ui/components/status-label/common/entities';

class StatusLabelBaseComponent {
    constructor() {
        this.config = {};
    }
    get holderClasses() {
        return [
            !!this.config.icon && 'with-icon',
            this.config.status === StatusLabelStatus.Warning && 'warning',
            this.config.status === StatusLabelStatus.Error && 'error',
            this.config.borderType === StatusLabelBorderType.Circle && 'rounded'
        ].filter(Boolean);
    }
    static { this.ɵfac = function StatusLabelBaseComponent_Factory(t) { return new (t || StatusLabelBaseComponent)(); }; }
    static { this.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: StatusLabelBaseComponent, inputs: { config: "config" } }); }
}
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(StatusLabelBaseComponent, [{
        type: Directive
    }], null, { config: [{
            type: Input
        }] }); })();

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

export { StatusLabelBaseComponent };
//# sourceMappingURL=ironsource-fusion-ui-components-status-label-common-base.mjs.map
