(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 CopyFile32 = /** @class */ (function () {
        function CopyFile32(elementRef) {
            this.elementRef = elementRef;
        }
        CopyFile32.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;
                CopyFile32.titleIdCounter++;
                title.setAttribute("id", "copy-file32-" + CopyFile32.titleIdCounter);
                svg.appendChild(title);
                svg.setAttribute("aria-labelledby", "copy-file32-" + CopyFile32.titleIdCounter);
            }
        };
        CopyFile32.titleIdCounter = 0;
        CopyFile32.decorators = [
            { type: core.Component, args: [{
                        selector: "ibm-icon-copy-file32",
                        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=\"M29.43 14.7l-6.05-6.12A2 2 0 0 0 22 8H9.94A2 2 0 0 0 8 10v18.1A2 2 0 0 0 9.94 30h18.12A2 2 0 0 0 30 28.05v-12a2 2 0 0 0-.57-1.35zM22 10l5.92 6H22zM10 28V10h10v6a2 2 0 0 0 2 2h6v10z\"></path><path d=\"M4 18H2V4a2 2 0 0 1 2-2h14v2H4z\"></path></svg>"
                    },] },
        ];
        /** @nocollapse */
        CopyFile32.ctorParameters = function () { return [
            { type: core.ElementRef }
        ]; };
        CopyFile32.propDecorators = {
            ariaLabel: [{ type: core.Input }],
            ariaLabelledby: [{ type: core.Input }],
            ariaHidden: [{ type: core.Input }],
            title: [{ type: core.Input }],
            focusable: [{ type: core.Input }]
        };
        return CopyFile32;
    }());
    var CopyFile32Module = /** @class */ (function () {
        function CopyFile32Module() {
        }
        CopyFile32Module.decorators = [
            { type: core.NgModule, args: [{
                        declarations: [
                            CopyFile32
                        ],
                        exports: [
                            CopyFile32
                        ]
                    },] },
        ];
        return CopyFile32Module;
    }());

    exports.CopyFile32 = CopyFile32;
    exports.CopyFile32Module = CopyFile32Module;

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

})));
