(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 WirelessCheckout20 = /** @class */ (function () {
        function WirelessCheckout20(elementRef) {
            this.elementRef = elementRef;
        }
        WirelessCheckout20.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;
                WirelessCheckout20.titleIdCounter++;
                title.setAttribute("id", "wireless-checkout20-" + WirelessCheckout20.titleIdCounter);
                svg.appendChild(title);
                svg.setAttribute("aria-labelledby", "wireless-checkout20-" + WirelessCheckout20.titleIdCounter);
            }
        };
        WirelessCheckout20.titleIdCounter = 0;
        WirelessCheckout20.decorators = [
            { type: core.Component, args: [{
                        selector: "ibm-icon-wireless-checkout20",
                        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=\"M18 28v-2a10 10 0 0 0 10-10h2a12 12 0 0 1-12 12z\"></path><path d=\"M18 23v-2a5 5 0 0 0 5-5h2a7 7 0 0 1-7 7z\"></path><path d=\"M27 11h-6V7a3 3 0 0 0-3-3h-6a3 3 0 0 0-3 3v4H3a1 1 0 0 0-1 1.15L3.88 24.3a2 2 0 0 0 2 1.7H15v-2H5.86L4.17 13H27zM11 7a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v4h-8z\"></path></svg>"
                    },] },
        ];
        /** @nocollapse */
        WirelessCheckout20.ctorParameters = function () { return [
            { type: core.ElementRef }
        ]; };
        WirelessCheckout20.propDecorators = {
            ariaLabel: [{ type: core.Input }],
            ariaLabelledby: [{ type: core.Input }],
            ariaHidden: [{ type: core.Input }],
            title: [{ type: core.Input }],
            focusable: [{ type: core.Input }]
        };
        return WirelessCheckout20;
    }());
    var WirelessCheckout20Module = /** @class */ (function () {
        function WirelessCheckout20Module() {
        }
        WirelessCheckout20Module.decorators = [
            { type: core.NgModule, args: [{
                        declarations: [
                            WirelessCheckout20
                        ],
                        exports: [
                            WirelessCheckout20
                        ]
                    },] },
        ];
        return WirelessCheckout20Module;
    }());

    exports.WirelessCheckout20 = WirelessCheckout20;
    exports.WirelessCheckout20Module = WirelessCheckout20Module;

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

})));
