(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 WarningFilled24 = /** @class */ (function () {
        function WarningFilled24(elementRef) {
            this.elementRef = elementRef;
        }
        WarningFilled24.prototype.ngAfterViewInit = function () {
            var svg = this.elementRef.nativeElement.querySelector("svg");
            var attributes = iconHelpers.getAttributes({
                width: 24,
                height: 24,
                viewBox: "0 0 24 24",
                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;
                WarningFilled24.titleIdCounter++;
                title.setAttribute("id", "warning-filled24-" + WarningFilled24.titleIdCounter);
                svg.appendChild(title);
                svg.setAttribute("aria-labelledby", "warning-filled24-" + WarningFilled24.titleIdCounter);
            }
        };
        WarningFilled24.titleIdCounter = 0;
        WarningFilled24.decorators = [
            { type: core.Component, args: [{
                        selector: "ibm-icon-warning-filled24",
                        template: "<svg focusable=\"false\" preserveAspectRatio=\"xMidYMid meet\" style=\"will-change: transform;\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" aria-hidden=\"true\"><path d=\"M12 1C5.9 1 1 5.9 1 12s4.9 11 11 11 11-4.9 11-11S18.1 1 12 1zm-.9 5h1.8v8h-1.8V6zm.9 13.2c-.7 0-1.2-.6-1.2-1.2s.6-1.2 1.2-1.2 1.2.6 1.2 1.2-.5 1.2-1.2 1.2z\"></path><path d=\"M13.2 18c0 .7-.6 1.2-1.2 1.2s-1.2-.6-1.2-1.2.6-1.2 1.2-1.2 1.2.5 1.2 1.2zm-.3-12h-1.8v8h1.8V6z\" data-icon-path=\"inner-path\" opacity=\"0\"></path></svg>"
                    },] },
        ];
        /** @nocollapse */
        WarningFilled24.ctorParameters = function () { return [
            { type: core.ElementRef }
        ]; };
        WarningFilled24.propDecorators = {
            ariaLabel: [{ type: core.Input }],
            ariaLabelledby: [{ type: core.Input }],
            ariaHidden: [{ type: core.Input }],
            title: [{ type: core.Input }],
            focusable: [{ type: core.Input }]
        };
        return WarningFilled24;
    }());
    var WarningFilled24Module = /** @class */ (function () {
        function WarningFilled24Module() {
        }
        WarningFilled24Module.decorators = [
            { type: core.NgModule, args: [{
                        declarations: [
                            WarningFilled24
                        ],
                        exports: [
                            WarningFilled24
                        ]
                    },] },
        ];
        return WarningFilled24Module;
    }());

    exports.WarningFilled24 = WarningFilled24;
    exports.WarningFilled24Module = WarningFilled24Module;

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

})));
