import * as i0 from '@angular/core';
import { Directive, Input, HostBinding } from '@angular/core';
import { isNullOrUndefined } from '@ironsource/fusion-ui/utils';

class IconStatusBaseComponent {
    constructor() {
        this.options = {};
    }
    get isAnimated() {
        return this.options.animated;
    }
    get color() {
        return isNullOrUndefined(this.options.color) ? null : this.options.color;
    }
    get tooltip() {
        return isNullOrUndefined(this.options.tooltip) ? null : this.options.tooltip;
    }
    static { this.ɵfac = function IconStatusBaseComponent_Factory(t) { return new (t || IconStatusBaseComponent)(); }; }
    static { this.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: IconStatusBaseComponent, hostVars: 2, hostBindings: function IconStatusBaseComponent_HostBindings(rf, ctx) { if (rf & 2) {
            i0.ɵɵclassProp("is-animated", ctx.isAnimated);
        } }, inputs: { options: "options" } }); }
}
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IconStatusBaseComponent, [{
        type: Directive
    }], null, { options: [{
            type: Input
        }], isAnimated: [{
            type: HostBinding,
            args: ['class.is-animated']
        }] }); })();

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

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