(function (global, factory) {
    typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@carbon/icon-helpers')) :
    typeof define === 'function' && define.amd ? define(['exports', '@angular/core', '@carbon/icon-helpers'], factory) :
    (factory((global.CarbonIconsAngular = {}),global.ng.Core,global.CarbonIconHelpers));
}(this, (function (exports,core,iconHelpers) { 'use strict';

    var PhoneFilled20 = /** @class */ (function () {
        function PhoneFilled20(elementRef) {
            this.elementRef = elementRef;
        }
        PhoneFilled20.prototype.ngAfterViewInit = function () {
            var svg = this.elementRef.nativeElement.querySelector("svg");
            var attributes = iconHelpers.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;
                PhoneFilled20.titleIdCounter++;
                title.setAttribute("id", "phone-filled20-" + PhoneFilled20.titleIdCounter);
                svg.appendChild(title);
                svg.setAttribute("aria-labelledby", "phone-filled20-" + PhoneFilled20.titleIdCounter);
            }
        };
        PhoneFilled20.titleIdCounter = 0;
        PhoneFilled20.decorators = [
            { type: core.Component, args: [{
                        selector: "ibm-icon-phone-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=\"M20.33 21.48l2.24-2.24a2.19 2.19 0 0 1 2.34-.48l2.73 1.09a2.18 2.18 0 0 1 1.36 2v5A2.17 2.17 0 0 1 26.72 29C7.59 27.81 3.73 11.61 3 5.41A2.17 2.17 0 0 1 5.17 3H10a2.16 2.16 0 0 1 2 1.36l1.09 2.73a2.16 2.16 0 0 1-.47 2.34l-2.24 2.24s1.29 8.73 9.95 9.81z\"></path></svg>"
                    },] },
        ];
        /** @nocollapse */
        PhoneFilled20.ctorParameters = function () { return [
            { type: core.ElementRef }
        ]; };
        PhoneFilled20.propDecorators = {
            ariaLabel: [{ type: core.Input }],
            ariaLabelledby: [{ type: core.Input }],
            ariaHidden: [{ type: core.Input }],
            title: [{ type: core.Input }],
            focusable: [{ type: core.Input }]
        };
        return PhoneFilled20;
    }());
    var PhoneFilled20Module = /** @class */ (function () {
        function PhoneFilled20Module() {
        }
        PhoneFilled20Module.decorators = [
            { type: core.NgModule, args: [{
                        declarations: [
                            PhoneFilled20
                        ],
                        exports: [
                            PhoneFilled20
                        ]
                    },] },
        ];
        return PhoneFilled20Module;
    }());

    exports.PhoneFilled20 = PhoneFilled20;
    exports.PhoneFilled20Module = PhoneFilled20Module;

    Object.defineProperty(exports, '__esModule', { value: true });

})));
