/**
 * @fileoverview added by tsickle
 * Generated from: lib/ui-components/tap-variable-gauge/tap-variable-gauge.component.ts
 * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
 */
import { __decorate, __extends } from "tslib";
import { Component, Input } from '@angular/core';
import { NEVER } from 'rxjs';
import { AppGenComponent } from '../../metadata/decorators';
import { GaugeCardComponent } from '../gauge-card/gauge-card.component';
var TapVariableGaugeComponent = /** @class */ (function (_super) {
    __extends(TapVariableGaugeComponent, _super);
    function TapVariableGaugeComponent() {
        return _super !== null && _super.apply(this, arguments) || this;
    }
    Object.defineProperty(TapVariableGaugeComponent.prototype, "variable", {
        set: /**
         * @param {?} v
         * @return {?}
         */
        function (v) {
            if (v) {
                this.inputStream = v.values;
            }
            else {
                this.inputStream = NEVER;
            }
        },
        enumerable: true,
        configurable: true
    });
    TapVariableGaugeComponent.decorators = [
        { type: Component, args: [{
                    selector: 'tap-variable-gauge',
                    template: "<div class=\"chart-container\">\r\n  <ngx-charts-gauge\r\n    #ngxChartsGauge\r\n    [scheme]=\"colorScheme\"\r\n    [results]=\"results\"\r\n    [min]=\"min\"\r\n    [max]=\"max\"\r\n    [angleSpan]=\"angleSpan\"\r\n    [startAngle]=\"startAngle\"\r\n    [units]=\"units\"\r\n    [bigSegments]=\"bigSegments\"\r\n    [smallSegments]=\"smallSegments\"\r\n    [legend]=\"legend\"\r\n    [legendTitle]=\"legendTitle\"\r\n    [valueFormatting]=\"valueFormatting\"\r\n    [showText]=\"showText\"\r\n    [view]=\"view\"\r\n    (select)=\"onSelect($event)\">\r\n  </ngx-charts-gauge>\r\n</div>",
                    styles: [".chart-container{display:-ms-grid;display:grid}"]
                }] }
    ];
    TapVariableGaugeComponent.propDecorators = {
        variable: [{ type: Input }]
    };
    TapVariableGaugeComponent = __decorate([
        AppGenComponent({
            constraints: {
                isNumber: 'YES'
            }
        })
    ], TapVariableGaugeComponent);
    return TapVariableGaugeComponent;
}(G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