(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 Save16 = /** @class */ (function () {
        function Save16(elementRef) {
            this.elementRef = elementRef;
        }
        Save16.prototype.ngAfterViewInit = function () {
            var svg = this.elementRef.nativeElement.querySelector("svg");
            var attributes = iconHelpers.getAttributes({
                width: 16,
                height: 16,
                viewBox: "0 0 16 16",
                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;
                Save16.titleIdCounter++;
                title.setAttribute("id", "save16-" + Save16.titleIdCounter);
                svg.appendChild(title);
                svg.setAttribute("aria-labelledby", "save16-" + Save16.titleIdCounter);
            }
        };
        Save16.titleIdCounter = 0;
        Save16.decorators = [
            { type: core.Component, args: [{
                        selector: "ibm-icon-save16",
                        template: "<svg focusable=\"false\" preserveAspectRatio=\"xMidYMid meet\" style=\"will-change: transform;\" xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" aria-hidden=\"true\"><path d=\"M13.9 4.6l-2.5-2.5c-.1 0-.3-.1-.4-.1H3c-.6 0-1 .4-1 1v10c0 .6.4 1 1 1h10c.6 0 1-.4 1-1V5c0-.1-.1-.3-.1-.4zM6 3h4v2H6V3zm4 10H6V9h4v4zm1 0V9c0-.6-.4-1-1-1H6c-.6 0-1 .4-1 1v4H3V3h2v2c0 .6.4 1 1 1h4c.6 0 1-.4 1-1V3.2l2 2V13h-2z\"></path></svg>"
                    },] },
        ];
        /** @nocollapse */
        Save16.ctorParameters = function () { return [
            { type: core.ElementRef }
        ]; };
        Save16.propDecorators = {
            ariaLabel: [{ type: core.Input }],
            ariaLabelledby: [{ type: core.Input }],
            ariaHidden: [{ type: core.Input }],
            title: [{ type: core.Input }],
            focusable: [{ type: core.Input }]
        };
        return Save16;
    }());
    var Save16Module = /** @class */ (function () {
        function Save16Module() {
        }
        Save16Module.decorators = [
            { type: core.NgModule, args: [{
                        declarations: [
                            Save16
                        ],
                        exports: [
                            Save16
                        ]
                    },] },
        ];
        return Save16Module;
    }());

    exports.Save16 = Save16;
    exports.Save16Module = Save16Module;

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

})));
