import { NgModule, Component, ElementRef, Input } from "@angular/core";
import { getAttributes } from "@carbon/icon-helpers";
var ViewOffFilled24 = /** @class */ (function () {
    function ViewOffFilled24(elementRef) {
        this.elementRef = elementRef;
    }
    ViewOffFilled24.prototype.ngAfterViewInit = function () {
        var svg = this.elementRef.nativeElement.querySelector("svg");
        var attributes = getAttributes({
            width: 24,
            height: 24,
            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;
            ViewOffFilled24.titleIdCounter++;
            title.setAttribute("id", "view-off-filled24-" + ViewOffFilled24.titleIdCounter);
            svg.appendChild(title);
            svg.setAttribute("aria-labelledby", "view-off-filled24-" + ViewOffFilled24.titleIdCounter);
        }
    };
    ViewOffFilled24.titleIdCounter = 0;
    ViewOffFilled24.decorators = [
        { type: Component, args: [{
                    selector: "ibm-icon-view-off-filled24",
                    template: "<svg focusable=\"false\" preserveAspectRatio=\"xMidYMid meet\" style=\"will-change: transform;\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 32 32\" aria-hidden=\"true\"><path d=\"M30.94 15.66a16.4 16.4 0 0 0-5.73-7.45L30 3.41 28.59 2 2 28.59 3.41 30l5.1-5.09A15.38 15.38 0 0 0 16 27a16.69 16.69 0 0 0 14.94-10.66 1 1 0 0 0 0-.68zM16 22.5a6.46 6.46 0 0 1-3.83-1.26L14 19.43A4 4 0 0 0 19.43 14l1.81-1.81A6.49 6.49 0 0 1 16 22.5zm-11.47-.69l5-5A6.84 6.84 0 0 1 9.5 16 6.51 6.51 0 0 1 16 9.5a6.84 6.84 0 0 1 .79.05l3.78-3.77A14.39 14.39 0 0 0 16 5 16.69 16.69 0 0 0 1.06 15.66a1 1 0 0 0 0 .68 15.86 15.86 0 0 0 3.47 5.47z\"></path></svg>"
                },] },
    ];
    /** @nocollapse */
    ViewOffFilled24.ctorParameters = function () { return [
        { type: ElementRef }
    ]; };
    ViewOffFilled24.propDecorators = {
        ariaLabel: [{ type: Input }],
        ariaLabelledby: [{ type: Input }],
        ariaHidden: [{ type: Input }],
        title: [{ type: Input }],
        focusable: [{ type: Input }]
    };
    return ViewOffFilled24;
}());
export { ViewOffFilled24 };
var ViewOffFilled24Module = /** @class */ (function () {
    function ViewOffFilled24Module() {
    }
    ViewOffFilled24Module.decorators = [
        { type: NgModule, args: [{
                    declarations: [
                        ViewOffFilled24
                    ],
                    exports: [
                        ViewOffFilled24
                    ]
                },] },
    ];
    return ViewOffFilled24Module;
}());
export { ViewOffFilled24Module };
//# sourceMappingURL=24.js.map