(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 DocumentExport32 = /** @class */ (function () {
        function DocumentExport32(elementRef) {
            this.elementRef = elementRef;
        }
        DocumentExport32.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;
                DocumentExport32.titleIdCounter++;
                title.setAttribute("id", "document-export32-" + DocumentExport32.titleIdCounter);
                svg.appendChild(title);
                svg.setAttribute("aria-labelledby", "document-export32-" + DocumentExport32.titleIdCounter);
            }
        };
        DocumentExport32.titleIdCounter = 0;
        DocumentExport32.decorators = [
            { type: core.Component, args: [{
                        selector: "ibm-icon-document-export32",
                        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=\"M13 21h13.17l-2.58 2.59L25 25l5-5-5-5-1.41 1.41L26.17 19H13v2z\"></path><path d=\"M22 14v-4a1 1 0 0 0-.29-.71l-7-7A1 1 0 0 0 14 2H4a2 2 0 0 0-2 2v24a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2h-2v2H4V4h8v6a2 2 0 0 0 2 2h6v2zm-8-4V4.41L19.59 10z\"></path></svg>"
                    },] },
        ];
        /** @nocollapse */
        DocumentExport32.ctorParameters = function () { return [
            { type: core.ElementRef }
        ]; };
        DocumentExport32.propDecorators = {
            ariaLabel: [{ type: core.Input }],
            ariaLabelledby: [{ type: core.Input }],
            ariaHidden: [{ type: core.Input }],
            title: [{ type: core.Input }],
            focusable: [{ type: core.Input }]
        };
        return DocumentExport32;
    }());
    var DocumentExport32Module = /** @class */ (function () {
        function DocumentExport32Module() {
        }
        DocumentExport32Module.decorators = [
            { type: core.NgModule, args: [{
                        declarations: [
                            DocumentExport32
                        ],
                        exports: [
                            DocumentExport32
                        ]
                    },] },
        ];
        return DocumentExport32Module;
    }());

    exports.DocumentExport32 = DocumentExport32;
    exports.DocumentExport32Module = DocumentExport32Module;

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

})));
