import { Component, Input } from '@angular/core';
import * as i0 from "@angular/core";
import * as i1 from "@ironsource/fusion-ui/components/icon/v1";
const _c0 = () => ({ iconName: "loading", iconVersion: "v1" });
export class ButtonLoadingComponent {
    constructor() {
        this.projectContent = false;
        this.buttonWithIcon = false;
    }
    static { this.ɵfac = function ButtonLoadingComponent_Factory(t) { return new (t || ButtonLoadingComponent)(); }; }
    static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ButtonLoadingComponent, selectors: [["fusion-button-loading"]], inputs: { projectContent: "projectContent", buttonWithIcon: "buttonWithIcon" }, decls: 1, vars: 2, consts: [[1, "icon-loading", 3, "name"]], template: function ButtonLoadingComponent_Template(rf, ctx) { if (rf & 1) {
            i0.ɵɵelement(0, "fusion-icon", 0);
        } if (rf & 2) {
            i0.ɵɵproperty("name", i0.ɵɵpureFunction0(1, _c0));
        } }, dependencies: [i1.IconComponent], styles: [".fu-with-loading[_nghost-%COMP%]   .loading[_ngcontent-%COMP%], .fu-with-loading   [_nghost-%COMP%]   .loading[_ngcontent-%COMP%]{vertical-align:middle;margin-right:5px}.fu-with-loading[_nghost-%COMP%]   .loading[_ngcontent-%COMP%]     svg, .fu-with-loading   [_nghost-%COMP%]   .loading[_ngcontent-%COMP%]     svg{width:15px;height:15px}.fu-with-loading[_nghost-%COMP%]   .loading[_ngcontent-%COMP%]     svg *, .fu-with-loading   [_nghost-%COMP%]   .loading[_ngcontent-%COMP%]     svg *{fill:none;stroke:currentColor}.fu-with-loading[_nghost-%COMP%]   .loading[_ngcontent-%COMP%] + span[_ngcontent-%COMP%], .fu-with-loading   [_nghost-%COMP%]   .loading[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]{vertical-align:text-bottom}"] }); }
}
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ButtonLoadingComponent, [{
        type: Component,
        args: [{ selector: 'fusion-button-loading', template: "<fusion-icon\n    class=\"icon-loading\"\n    [name]=\"{iconName: 'loading', iconVersion: 'v1'}\"\n></fusion-icon>\n", styles: [":host-context(.fu-with-loading) .loading{vertical-align:middle;margin-right:5px}:host-context(.fu-with-loading) .loading ::ng-deep svg{width:15px;height:15px}:host-context(.fu-with-loading) .loading ::ng-deep svg *{fill:none;stroke:currentColor}:host-context(.fu-with-loading) .loading+span{vertical-align:text-bottom}\n"] }]
    }], null, { projectContent: [{
            type: Input
        }], buttonWithIcon: [{
            type: Input
        }] }); })();
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ButtonLoadingComponent, { className: "ButtonLoadingComponent", filePath: "components/button-loading/button-loading.component.ts", lineNumber: 8 }); })();
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnV0dG9uLWxvYWRpbmcuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZnVzaW9uLXVpL2NvbXBvbmVudHMvYnV0dG9uL3YxL2NvbXBvbmVudHMvYnV0dG9uLWxvYWRpbmcvYnV0dG9uLWxvYWRpbmcuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZnVzaW9uLXVpL2NvbXBvbmVudHMvYnV0dG9uL3YxL2NvbXBvbmVudHMvYnV0dG9uLWxvYWRpbmcvYnV0dG9uLWxvYWRpbmcuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFNBQVMsRUFBRSxLQUFLLEVBQUMsTUFBTSxlQUFlLENBQUM7Ozs7QUFPL0MsTUFBTSxPQUFPLHNCQUFzQjtJQUxuQztRQU1hLG1CQUFjLEdBQVksS0FBSyxDQUFDO1FBQ2hDLG1CQUFjLEdBQVksS0FBSyxDQUFDO0tBQzVDO3VGQUhZLHNCQUFzQjtvRUFBdEIsc0JBQXNC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