import { NgModule, Component, ElementRef, Input } from "@angular/core";
import { getAttributes } from "@carbon/icon-helpers";
var WatsonHealth3DCurveAutoVessels32 = /** @class */ (function () {
    function WatsonHealth3DCurveAutoVessels32(elementRef) {
        this.elementRef = elementRef;
    }
    WatsonHealth3DCurveAutoVessels32.prototype.ngAfterViewInit = function () {
        var svg = this.elementRef.nativeElement.querySelector("svg");
        var attributes = getAttributes({
            width: 32,
            height: 32,
            viewBox: "0 0 32 32",
            title: this.title,
            "aria-label": this.ariaLabel,
            "aria-labelledby": this.ariaLabelledby,
            "aria-hidden": this.ariaHidden,
            focusable: this.focusable
        });
        var attrKeys = Object.keys(attributes);
        for (var i = 0; i < attrKeys.length; i++) {
            var key = attrKeys[i];
            var value = attributes[key];
            if (key === "title") {
                continue;
            }
            if (value) {
                svg.setAttribute(key, value);
            }
        }
        if (attributes.title) {
            var title = document.createElement("title");
            title.textContent = attributes.title;
            WatsonHealth3DCurveAutoVessels32.titleIdCounter++;
            title.setAttribute("id", "watson-health3-d-curve-auto-vessels32-" + WatsonHealth3DCurveAutoVessels32.titleIdCounter);
            svg.appendChild(title);
            svg.setAttribute("aria-labelledby", "watson-health3-d-curve-auto-vessels32-" + WatsonHealth3DCurveAutoVessels32.titleIdCounter);
        }
    };
    WatsonHealth3DCurveAutoVessels32.titleIdCounter = 0;
    WatsonHealth3DCurveAutoVessels32.decorators = [
        { type: Component, args: [{
                    selector: "ibm-icon-watson-health3-d-curve-auto-vessels32",
                    template: "<svg focusable=\"false\" preserveAspectRatio=\"xMidYMid meet\" style=\"will-change: transform;\" xmlns=\"http://www.w3.org/2000/svg\" width=\"32\" height=\"32\" viewBox=\"0 0 32 32\" aria-hidden=\"true\"><path d=\"M17 11a3 3 0 0 1 3-3h.1a5 5 0 1 0 0-2H20a5 5 0 0 0-5 5v1h-2a3 3 0 0 1-3-3V7a5 5 0 0 0-5-5H4v2h1a3 3 0 0 1 3 3v2a5 5 0 0 0 5 5h2v7a3 3 0 0 1-3 3h-.1a5 5 0 1 0 0 2h.1a5 5 0 0 0 5-5h2.5a2.5 2.5 0 0 1 2.5 2.5 4.51 4.51 0 0 0 4.5 4.5H28v-2h-1.5a2.5 2.5 0 0 1-2.5-2.5 4.51 4.51 0 0 0-4.5-4.5H17zm8-7a3 3 0 1 1-3 3 3 3 0 0 1 3-3zM7 28a3 3 0 1 1 3-3 3 3 0 0 1-3 3z\"></path></svg>"
                },] },
    ];
    /** @nocollapse */
    WatsonHealth3DCurveAutoVessels32.ctorParameters = function () { return [
        { type: ElementRef }
    ]; };
    WatsonHealth3DCurveAutoVessels32.propDecorators = {
        ariaLabel: [{ type: Input }],
        ariaLabelledby: [{ type: Input }],
        ariaHidden: [{ type: Input }],
        title: [{ type: Input }],
        focusable: [{ type: Input }]
    };
    return WatsonHealth3DCurveAutoVessels32;
}());
export { WatsonHealth3DCurveAutoVessels32 };
var WatsonHealth3DCurveAutoVessels32Module = /** @class */ (function () {
    function WatsonHealth3DCurveAutoVessels32Module() {
    }
    WatsonHealth3DCurveAutoVessels32Module.decorators = [
        { type: NgModule, args: [{
                    declarations: [
                        WatsonHealth3DCurveAutoVessels32
                    ],
                    exports: [
                        WatsonHealth3DCurveAutoVessels32
                    ]
                },] },
    ];
    return WatsonHealth3DCurveAutoVessels32Module;
}());
export { WatsonHealth3DCurveAutoVessels32Module };
//# sourceMappingURL=32.js.map