import { NgModule, Component, ElementRef, Input } from "@angular/core";
import { getAttributes } from "@carbon/icon-helpers";
var NotificationOffFilled24 = /** @class */ (function () {
    function NotificationOffFilled24(elementRef) {
        this.elementRef = elementRef;
    }
    NotificationOffFilled24.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;
            NotificationOffFilled24.titleIdCounter++;
            title.setAttribute("id", "notification-off-filled24-" + NotificationOffFilled24.titleIdCounter);
            svg.appendChild(title);
            svg.setAttribute("aria-labelledby", "notification-off-filled24-" + NotificationOffFilled24.titleIdCounter);
        }
    };
    NotificationOffFilled24.titleIdCounter = 0;
    NotificationOffFilled24.decorators = [
        { type: Component, args: [{
                    selector: "ibm-icon-notification-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=\"M26 17.6V13a10 10 0 0 0-1.09-4.5L30 3.41 28.59 2 2 28.59 3.41 30l5-5H11a5 5 0 0 0 10 0h7a.94.94 0 0 0 1-1v-3a.91.91 0 0 0-.3-.7zM16 28a3 3 0 0 1-3-3h6a3 3 0 0 1-3 3zm5.63-23.28A9.78 9.78 0 0 0 17 3V1h-2v2a10.15 10.15 0 0 0-9 10v4.6l-2.7 2.7a.91.91 0 0 0-.3.7v2.34z\"></path></svg>"
                },] },
    ];
    /** @nocollapse */
    NotificationOffFilled24.ctorParameters = function () { return [
        { type: ElementRef }
    ]; };
    NotificationOffFilled24.propDecorators = {
        ariaLabel: [{ type: Input }],
        ariaLabelledby: [{ type: Input }],
        ariaHidden: [{ type: Input }],
        title: [{ type: Input }],
        focusable: [{ type: Input }]
    };
    return NotificationOffFilled24;
}());
export { NotificationOffFilled24 };
var NotificationOffFilled24Module = /** @class */ (function () {
    function NotificationOffFilled24Module() {
    }
    NotificationOffFilled24Module.decorators = [
        { type: NgModule, args: [{
                    declarations: [
                        NotificationOffFilled24
                    ],
                    exports: [
                        NotificationOffFilled24
                    ]
                },] },
    ];
    return NotificationOffFilled24Module;
}());
export { NotificationOffFilled24Module };
//# sourceMappingURL=24.js.map