(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 DocumentImport32 = /** @class */ (function () {
        function DocumentImport32(elementRef) {
            this.elementRef = elementRef;
        }
        DocumentImport32.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;
                DocumentImport32.titleIdCounter++;
                title.setAttribute("id", "document-import32-" + DocumentImport32.titleIdCounter);
                svg.appendChild(title);
                svg.setAttribute("aria-labelledby", "document-import32-" + DocumentImport32.titleIdCounter);
            }
        };
        DocumentImport32.titleIdCounter = 0;
        DocumentImport32.decorators = [
            { type: core.Component, args: [{
                        selector: "ibm-icon-document-import32",
                        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=\"M28 19H14.83l2.58-2.59L16 15l-5 5 5 5 1.41-1.41L14.83 21H28v-2z\"></path><path d=\"M24 14v-4a1 1 0 0 0-.29-.71l-7-7A1 1 0 0 0 16 2H6a2 2 0 0 0-2 2v24a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2h-2v2H6V4h8v6a2 2 0 0 0 2 2h6v2zm-8-4V4.41L21.59 10z\"></path></svg>"
                    },] },
        ];
        /** @nocollapse */
        DocumentImport32.ctorParameters = function () { return [
            { type: core.ElementRef }
        ]; };
        DocumentImport32.propDecorators = {
            ariaLabel: [{ type: core.Input }],
            ariaLabelledby: [{ type: core.Input }],
            ariaHidden: [{ type: core.Input }],
            title: [{ type: core.Input }],
            focusable: [{ type: core.Input }]
        };
        return DocumentImport32;
    }());
    var DocumentImport32Module = /** @class */ (function () {
        function DocumentImport32Module() {
        }
        DocumentImport32Module.decorators = [
            { type: core.NgModule, args: [{
                        declarations: [
                            DocumentImport32
                        ],
                        exports: [
                            DocumentImport32
                        ]
                    },] },
        ];
        return DocumentImport32Module;
    }());

    exports.DocumentImport32 = DocumentImport32;
    exports.DocumentImport32Module = DocumentImport32Module;

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

})));
