import { NgModule, Component, ElementRef, Input } from "@angular/core";
import { getAttributes } from "@carbon/icon-helpers";
var NotSentFilled32 = /** @class */ (function () {
    function NotSentFilled32(elementRef) {
        this.elementRef = elementRef;
    }
    NotSentFilled32.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;
            NotSentFilled32.titleIdCounter++;
            title.setAttribute("id", "not-sent-filled32-" + NotSentFilled32.titleIdCounter);
            svg.appendChild(title);
            svg.setAttribute("aria-labelledby", "not-sent-filled32-" + NotSentFilled32.titleIdCounter);
        }
    };
    NotSentFilled32.titleIdCounter = 0;
    NotSentFilled32.decorators = [
        { type: Component, args: [{
                    selector: "ibm-icon-not-sent-filled32",
                    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=\"M30 28.59L3.41 2 2 3.41l8 8-7.34 2.65a1 1 0 0 0 0 1.87l8.59 3.43L14.59 16 16 17.41l-3.37 3.37 3.44 8.59A1 1 0 0 0 17 30a1 1 0 0 0 .92-.66L20.6 22l8 8zm-7.51-11.76l3.45-9.49a1 1 0 0 0-1.28-1.28l-9.49 3.45z\"></path></svg>"
                },] },
    ];
    /** @nocollapse */
    NotSentFilled32.ctorParameters = function () { return [
        { type: ElementRef }
    ]; };
    NotSentFilled32.propDecorators = {
        ariaLabel: [{ type: Input }],
        ariaLabelledby: [{ type: Input }],
        ariaHidden: [{ type: Input }],
        title: [{ type: Input }],
        focusable: [{ type: Input }]
    };
    return NotSentFilled32;
}());
export { NotSentFilled32 };
var NotSentFilled32Module = /** @class */ (function () {
    function NotSentFilled32Module() {
    }
    NotSentFilled32Module.decorators = [
        { type: NgModule, args: [{
                    declarations: [
                        NotSentFilled32
                    ],
                    exports: [
                        NotSentFilled32
                    ]
                },] },
    ];
    return NotSentFilled32Module;
}());
export { NotSentFilled32Module };
//# sourceMappingURL=32.js.map