(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 LightFilled32 = /** @class */ (function () {
        function LightFilled32(elementRef) {
            this.elementRef = elementRef;
        }
        LightFilled32.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;
                LightFilled32.titleIdCounter++;
                title.setAttribute("id", "light-filled32-" + LightFilled32.titleIdCounter);
                svg.appendChild(title);
                svg.setAttribute("aria-labelledby", "light-filled32-" + LightFilled32.titleIdCounter);
            }
        };
        LightFilled32.titleIdCounter = 0;
        LightFilled32.decorators = [
            { type: core.Component, args: [{
                        selector: "ibm-icon-light-filled32",
                        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=\"M15 2h2v4.96h-2zm6.687 6.89l3.507-3.506 1.414 1.414-3.507 3.507zM25.04 15H30v2h-4.96zm-3.347 8.104l1.414-1.414 3.507 3.507L25.2 26.61zM15 25.04h2V30h-2zm-9.604.162l3.508-3.507 1.414 1.414-3.507 3.507zM2 15h4.96v2H2zm3.39-8.197l1.415-1.414 3.507 3.507-1.414 1.414zM16 10a6 6 0 1 0 6 6 6 6 0 0 0-6-6z\"></path></svg>"
                    },] },
        ];
        /** @nocollapse */
        LightFilled32.ctorParameters = function () { return [
            { type: core.ElementRef }
        ]; };
        LightFilled32.propDecorators = {
            ariaLabel: [{ type: core.Input }],
            ariaLabelledby: [{ type: core.Input }],
            ariaHidden: [{ type: core.Input }],
            title: [{ type: core.Input }],
            focusable: [{ type: core.Input }]
        };
        return LightFilled32;
    }());
    var LightFilled32Module = /** @class */ (function () {
        function LightFilled32Module() {
        }
        LightFilled32Module.decorators = [
            { type: core.NgModule, args: [{
                        declarations: [
                            LightFilled32
                        ],
                        exports: [
                            LightFilled32
                        ]
                    },] },
        ];
        return LightFilled32Module;
    }());

    exports.LightFilled32 = LightFilled32;
    exports.LightFilled32Module = LightFilled32Module;

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

})));
