(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 PillsAdd24 = /** @class */ (function () {
        function PillsAdd24(elementRef) {
            this.elementRef = elementRef;
        }
        PillsAdd24.prototype.ngAfterViewInit = function () {
            var svg = this.elementRef.nativeElement.querySelector("svg");
            var attributes = iconHelpers.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;
                PillsAdd24.titleIdCounter++;
                title.setAttribute("id", "pills-add24-" + PillsAdd24.titleIdCounter);
                svg.appendChild(title);
                svg.setAttribute("aria-labelledby", "pills-add24-" + PillsAdd24.titleIdCounter);
            }
        };
        PillsAdd24.titleIdCounter = 0;
        PillsAdd24.decorators = [
            { type: core.Component, args: [{
                        selector: "ibm-icon-pills-add24",
                        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=\"M22 14a7.94 7.94 0 0 0-4 1.083V9A7 7 0 0 0 4 9v14a6.986 6.986 0 0 0 12.276 4.577A7.997 7.997 0 1 0 22 14zM11 4a5.006 5.006 0 0 1 5 5v6H6V9a5.006 5.006 0 0 1 5-5zm0 24a5.006 5.006 0 0 1-5-5v-6h9.765a7.956 7.956 0 0 0-.724 8.932A5.015 5.015 0 0 1 11 28zm11 0a6 6 0 1 1 6-6 6.007 6.007 0 0 1-6 6z\"></path><path d=\"M25 21h-2v-2h-2v2h-2v2h2v2h2v-2h2v-2z\"></path></svg>"
                    },] },
        ];
        /** @nocollapse */
        PillsAdd24.ctorParameters = function () { return [
            { type: core.ElementRef }
        ]; };
        PillsAdd24.propDecorators = {
            ariaLabel: [{ type: core.Input }],
            ariaLabelledby: [{ type: core.Input }],
            ariaHidden: [{ type: core.Input }],
            title: [{ type: core.Input }],
            focusable: [{ type: core.Input }]
        };
        return PillsAdd24;
    }());
    var PillsAdd24Module = /** @class */ (function () {
        function PillsAdd24Module() {
        }
        PillsAdd24Module.decorators = [
            { type: core.NgModule, args: [{
                        declarations: [
                            PillsAdd24
                        ],
                        exports: [
                            PillsAdd24
                        ]
                    },] },
        ];
        return PillsAdd24Module;
    }());

    exports.PillsAdd24 = PillsAdd24;
    exports.PillsAdd24Module = PillsAdd24Module;

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

})));
