(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 Filter16 = /** @class */ (function () {
        function Filter16(elementRef) {
            this.elementRef = elementRef;
        }
        Filter16.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;
                Filter16.titleIdCounter++;
                title.setAttribute("id", "filter16-" + Filter16.titleIdCounter);
                svg.appendChild(title);
                svg.setAttribute("aria-labelledby", "filter16-" + Filter16.titleIdCounter);
            }
        };
        Filter16.titleIdCounter = 0;
        Filter16.decorators = [
            { type: core.Component, args: [{
                        selector: "ibm-icon-filter16",
                        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=\"M15 4h-2.1c-.2-1.1-1.2-2-2.4-2s-2.2.9-2.4 2H1v1h7.1c.2 1.1 1.2 2 2.4 2s2.2-.9 2.4-2H15V4zm-4.5 2C9.7 6 9 5.3 9 4.5S9.7 3 10.5 3s1.5.7 1.5 1.5S11.3 6 10.5 6zM1 12h2.1c.2 1.1 1.2 2 2.4 2s2.2-.9 2.4-2H15v-1H7.9c-.2-1.1-1.2-2-2.4-2s-2.2.9-2.4 2H1v1zm4.5-2c.8 0 1.5.7 1.5 1.5S6.3 13 5.5 13 4 12.3 4 11.5 4.7 10 5.5 10z\"></path></svg>"
                    },] },
        ];
        /** @nocollapse */
        Filter16.ctorParameters = function () { return [
            { type: core.ElementRef }
        ]; };
        Filter16.propDecorators = {
            ariaLabel: [{ type: core.Input }],
            ariaLabelledby: [{ type: core.Input }],
            ariaHidden: [{ type: core.Input }],
            title: [{ type: core.Input }],
            focusable: [{ type: core.Input }]
        };
        return Filter16;
    }());
    var Filter16Module = /** @class */ (function () {
        function Filter16Module() {
        }
        Filter16Module.decorators = [
            { type: core.NgModule, args: [{
                        declarations: [
                            Filter16
                        ],
                        exports: [
                            Filter16
                        ]
                    },] },
        ];
        return Filter16Module;
    }());

    exports.Filter16 = Filter16;
    exports.Filter16Module = Filter16Module;

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

})));
