(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 TextFill24 = /** @class */ (function () {
        function TextFill24(elementRef) {
            this.elementRef = elementRef;
        }
        TextFill24.prototype.ngAfterViewInit = function () {
            var svg = this.elementRef.nativeElement.querySelector("svg");
            var attributes = iconHelpers.getAttributes({
                width: 24,
                height: 24,
                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;
                TextFill24.titleIdCounter++;
                title.setAttribute("id", "text-fill24-" + TextFill24.titleIdCounter);
                svg.appendChild(title);
                svg.setAttribute("aria-labelledby", "text-fill24-" + TextFill24.titleIdCounter);
            }
        };
        TextFill24.titleIdCounter = 0;
        TextFill24.decorators = [
            { type: core.Component, args: [{
                        selector: "ibm-icon-text-fill24",
                        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 32 32\" aria-hidden=\"true\"><path d=\"M4 26h24v4H4z\"></path><path d=\"M26 14.54a1 1 0 0 0-.25-.69l-8.58-9.52A1.09 1.09 0 0 0 17 4.2V2h-2v3L4.32 14.74a1 1 0 0 0-.06 1.41l8.57 9.52a1 1 0 0 0 .69.33h.05a1 1 0 0 0 .68-.26L24 16.8V21a1 1 0 0 0 2 0v-6.46zm-12.35 9l-7.23-8L15 7.67V12h2V7.13l6.59 7.33z\"></path></svg>"
                    },] },
        ];
        /** @nocollapse */
        TextFill24.ctorParameters = function () { return [
            { type: core.ElementRef }
        ]; };
        TextFill24.propDecorators = {
            ariaLabel: [{ type: core.Input }],
            ariaLabelledby: [{ type: core.Input }],
            ariaHidden: [{ type: core.Input }],
            title: [{ type: core.Input }],
            focusable: [{ type: core.Input }]
        };
        return TextFill24;
    }());
    var TextFill24Module = /** @class */ (function () {
        function TextFill24Module() {
        }
        TextFill24Module.decorators = [
            { type: core.NgModule, args: [{
                        declarations: [
                            TextFill24
                        ],
                        exports: [
                            TextFill24
                        ]
                    },] },
        ];
        return TextFill24Module;
    }());

    exports.TextFill24 = TextFill24;
    exports.TextFill24Module = TextFill24Module;

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

})));
