import { NgModule, Component, ElementRef, Input } from "@angular/core";
import { getAttributes } from "@carbon/icon-helpers";
var VolumeUpFilled20 = /** @class */ (function () {
    function VolumeUpFilled20(elementRef) {
        this.elementRef = elementRef;
    }
    VolumeUpFilled20.prototype.ngAfterViewInit = function () {
        var svg = this.elementRef.nativeElement.querySelector("svg");
        var attributes = getAttributes({
            width: 20,
            height: 20,
            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;
            VolumeUpFilled20.titleIdCounter++;
            title.setAttribute("id", "volume-up-filled20-" + VolumeUpFilled20.titleIdCounter);
            svg.appendChild(title);
            svg.setAttribute("aria-labelledby", "volume-up-filled20-" + VolumeUpFilled20.titleIdCounter);
        }
    };
    VolumeUpFilled20.titleIdCounter = 0;
    VolumeUpFilled20.decorators = [
        { type: Component, args: [{
                    selector: "ibm-icon-volume-up-filled20",
                    template: "<svg focusable=\"false\" preserveAspectRatio=\"xMidYMid meet\" style=\"will-change: transform;\" xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" viewBox=\"0 0 32 32\" aria-hidden=\"true\"><path d=\"M27.16 8.08l-1.53 1.29a10 10 0 0 1-.29 13.23l1.47 1.4a12 12 0 0 0 .35-15.88z\"></path><path d=\"M21.58 12a6 6 0 0 1-.18 7.94l1.47 1.36a8 8 0 0 0 .23-10.59zM18 30a1 1 0 0 1-.71-.3L9.67 22H3a1 1 0 0 1-1-1V11a1 1 0 0 1 1-1h6.67l7.62-7.7a1 1 0 0 1 1.41 0 1 1 0 0 1 .3.7v26a1 1 0 0 1-1 1z\"></path></svg>"
                },] },
    ];
    /** @nocollapse */
    VolumeUpFilled20.ctorParameters = function () { return [
        { type: ElementRef }
    ]; };
    VolumeUpFilled20.propDecorators = {
        ariaLabel: [{ type: Input }],
        ariaLabelledby: [{ type: Input }],
        ariaHidden: [{ type: Input }],
        title: [{ type: Input }],
        focusable: [{ type: Input }]
    };
    return VolumeUpFilled20;
}());
export { VolumeUpFilled20 };
var VolumeUpFilled20Module = /** @class */ (function () {
    function VolumeUpFilled20Module() {
    }
    VolumeUpFilled20Module.decorators = [
        { type: NgModule, args: [{
                    declarations: [
                        VolumeUpFilled20
                    ],
                    exports: [
                        VolumeUpFilled20
                    ]
                },] },
    ];
    return VolumeUpFilled20Module;
}());
export { VolumeUpFilled20Module };
//# sourceMappingURL=20.js.map