(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 FolderAdd32 = /** @class */ (function () {
        function FolderAdd32(elementRef) {
            this.elementRef = elementRef;
        }
        FolderAdd32.prototype.ngAfterViewInit = function () {
            var svg = this.elementRef.nativeElement.querySelector("svg");
            var attributes = iconHelpers.getAttributes({
                width: 32,
                height: 32,
                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;
                FolderAdd32.titleIdCounter++;
                title.setAttribute("id", "folder-add32-" + FolderAdd32.titleIdCounter);
                svg.appendChild(title);
                svg.setAttribute("aria-labelledby", "folder-add32-" + FolderAdd32.titleIdCounter);
            }
        };
        FolderAdd32.titleIdCounter = 0;
        FolderAdd32.decorators = [
            { type: core.Component, args: [{
                        selector: "ibm-icon-folder-add32",
                        template: "<svg focusable=\"false\" preserveAspectRatio=\"xMidYMid meet\" style=\"will-change: transform;\" xmlns=\"http://www.w3.org/2000/svg\" width=\"32\" height=\"32\" viewBox=\"0 0 32 32\" aria-hidden=\"true\"><path d=\"M26 20h-2v4h-4v2h4v4h2v-4h4v-2h-4v-4z\"></path><path d=\"M28 8H16l-3.41-3.41A2 2 0 0 0 11.17 4H4a2 2 0 0 0-2 2v20a2 2 0 0 0 2 2h12v-2H4V6h7.17l3.42 3.41.58.59H28v7h2v-7a2 2 0 0 0-2-2z\"></path></svg>"
                    },] },
        ];
        /** @nocollapse */
        FolderAdd32.ctorParameters = function () { return [
            { type: core.ElementRef }
        ]; };
        FolderAdd32.propDecorators = {
            ariaLabel: [{ type: core.Input }],
            ariaLabelledby: [{ type: core.Input }],
            ariaHidden: [{ type: core.Input }],
            title: [{ type: core.Input }],
            focusable: [{ type: core.Input }]
        };
        return FolderAdd32;
    }());
    var FolderAdd32Module = /** @class */ (function () {
        function FolderAdd32Module() {
        }
        FolderAdd32Module.decorators = [
            { type: core.NgModule, args: [{
                        declarations: [
                            FolderAdd32
                        ],
                        exports: [
                            FolderAdd32
                        ]
                    },] },
        ];
        return FolderAdd32Module;
    }());

    exports.FolderAdd32 = FolderAdd32;
    exports.FolderAdd32Module = FolderAdd32Module;

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

})));
