import { NgModule, Component, ElementRef, Input } from "@angular/core";
import { getAttributes } from "@carbon/icon-helpers";
var SendAltFilled24 = /** @class */ (function () {
    function SendAltFilled24(elementRef) {
        this.elementRef = elementRef;
    }
    SendAltFilled24.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;
            SendAltFilled24.titleIdCounter++;
            title.setAttribute("id", "send-alt-filled24-" + SendAltFilled24.titleIdCounter);
            svg.appendChild(title);
            svg.setAttribute("aria-labelledby", "send-alt-filled24-" + SendAltFilled24.titleIdCounter);
        }
    };
    SendAltFilled24.titleIdCounter = 0;
    SendAltFilled24.decorators = [
        { type: Component, args: [{
                    selector: "ibm-icon-send-alt-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=\"M27.71 4.29a1 1 0 0 0-1.05-.23l-22 8a1 1 0 0 0 0 1.87l8.59 3.43L19.59 11 21 12.41l-6.37 6.37 3.44 8.59A1 1 0 0 0 19 28a1 1 0 0 0 .92-.66l8-22a1 1 0 0 0-.21-1.05z\"></path></svg>"
                },] },
    ];
    /** @nocollapse */
    SendAltFilled24.ctorParameters = function () { return [
        { type: ElementRef }
    ]; };
    SendAltFilled24.propDecorators = {
        ariaLabel: [{ type: Input }],
        ariaLabelledby: [{ type: Input }],
        ariaHidden: [{ type: Input }],
        title: [{ type: Input }],
        focusable: [{ type: Input }]
    };
    return SendAltFilled24;
}());
export { SendAltFilled24 };
var SendAltFilled24Module = /** @class */ (function () {
    function SendAltFilled24Module() {
    }
    SendAltFilled24Module.decorators = [
        { type: NgModule, args: [{
                    declarations: [
                        SendAltFilled24
                    ],
                    exports: [
                        SendAltFilled24
                    ]
                },] },
    ];
    return SendAltFilled24Module;
}());
export { SendAltFilled24Module };
//# sourceMappingURL=24.js.map