(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 QOperationGauge24 = /** @class */ (function () {
        function QOperationGauge24(elementRef) {
            this.elementRef = elementRef;
        }
        QOperationGauge24.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;
                QOperationGauge24.titleIdCounter++;
                title.setAttribute("id", "q-operation-gauge24-" + QOperationGauge24.titleIdCounter);
                svg.appendChild(title);
                svg.setAttribute("aria-labelledby", "q-operation-gauge24-" + QOperationGauge24.titleIdCounter);
            }
        };
        QOperationGauge24.titleIdCounter = 0;
        QOperationGauge24.decorators = [
            { type: core.Component, args: [{
                        selector: "ibm-icon-q-operation-gauge24",
                        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=\"M30 4h-6v2h3.75L24 10v2h6v-2h-3.62L30 6V4zM20 17.62L22.08 14l-1.73-1-2.18 3.76A12 12 0 0 0 2 28h2a10 10 0 0 1 13.16-9.48L14 24a2 2 0 1 0 2 2 2 2 0 0 0-.27-1L19 19.35A10 10 0 0 1 24 28h2a12 12 0 0 0-6-10.38z\"></path></svg>"
                    },] },
        ];
        /** @nocollapse */
        QOperationGauge24.ctorParameters = function () { return [
            { type: core.ElementRef }
        ]; };
        QOperationGauge24.propDecorators = {
            ariaLabel: [{ type: core.Input }],
            ariaLabelledby: [{ type: core.Input }],
            ariaHidden: [{ type: core.Input }],
            title: [{ type: core.Input }],
            focusable: [{ type: core.Input }]
        };
        return QOperationGauge24;
    }());
    var QOperationGauge24Module = /** @class */ (function () {
        function QOperationGauge24Module() {
        }
        QOperationGauge24Module.decorators = [
            { type: core.NgModule, args: [{
                        declarations: [
                            QOperationGauge24
                        ],
                        exports: [
                            QOperationGauge24
                        ]
                    },] },
        ];
        return QOperationGauge24Module;
    }());

    exports.QOperationGauge24 = QOperationGauge24;
    exports.QOperationGauge24Module = QOperationGauge24Module;

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

})));
