/**
 * @fileoverview added by tsickle
 * Generated from: lib/ui-components/tap-variable-toggle/tap-variable-toggle.component.ts
 * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
 */
import { __decorate, __metadata } from "tslib";
import { Component, Input } from '@angular/core';
import { AppGenComponent, AppGenField } from '../../metadata/decorators';
var TapVariableToggleComponent = /** @class */ (function () {
    function TapVariableToggleComponent() {
        this.textOnLeft = 'Off';
        this.textOnRight = 'On';
        this.lines = 'none';
        this.inputOptions = {
            type: 'toggle'
        };
        this.editable = false;
    }
    /**
     * @return {?}
     */
    TapVariableToggleComponent.prototype.ngOnInit = /**
     * @return {?}
     */
    function () {
    };
    TapVariableToggleComponent.decorators = [
        { type: Component, args: [{
                    selector: 'tap-variable-toggle',
                    template: "<!-- <ion-toggle [formControl]=\"control\" [color]=\"color\" [disabled]=\"!editable || loading\" \r\n></ion-toggle> -->\r\n<monitoring-variable-value\r\n  [lines]=\"lines\"\r\n  [variable]=\"variable\"\r\n  [inputOptions]='inputOptions'\r\n  [textOnLeft]=\"textOnLeft\"\r\n  [textOnRight]=\"textOnRight\"\r\n  [editable]=\"editable\"\r\n  [error]=\"error\"\r\n>\r\n</monitoring-variable-value>",
                    styles: [".toggle-icon{font-size:5em}"]
                }] }
    ];
    TapVariableToggleComponent.propDecorators = {
        textOnLeft: [{ type: Input }],
        textOnRight: [{ type: Input }],
        lines: [{ type: Input }],
        variable: [{ type: Input }],
        editable: [{ type: Input }]
    };
    __decorate([
        AppGenField({
            schema: {
                type: 'string',
                default: 'Off'
            }
        }),
        __metadata("design:type", String)
    ], TapVariableToggleComponent.prototype, "textOnLeft", void 0);
    __decorate([
        AppGenField({
            schema: {
                type: 'string',
                default: 'On'
            }
        }),
        __metadata("design:type", String)
    ], TapVariableToggleComponent.prototype, "textOnRight", void 0);
    __decorate([
        AppGenField({
            schema: {
                type: 'string',
                default: 'none'
            }
        }),
        __metadata("design:type", String)
    ], TapVariableToggleComponent.prototype, "lines", void 0);
    __decorate([
        AppGenField({
            schema: {
                type: 'boolean',
                default: false
            }
        }),
        __metadata("design:type", Boolean)
    ], TapVariableToggleComponent.prototype, "editable", void 0);
    TapVariableToggleComponent = __decorate([
        AppGenComponent({
            constraints: {
                isArray: 'NO',
                isNumber: 'YES'
            }
        })
    ], TapVariableToggleComponent);
    return TapVariableToggleComponent;
}());
export { TapVariableToggleComponent };
if (false) {
    /** @type {?} */
    TapVariableToggleComponent.prototype.error;
    /** @type {?} */
    TapVariableToggleComponent.prototype.textOnLeft;
    /** @type {?} */
    TapVariableToggleComponent.prototype.textOnRight;
    /** @type {?} */
    TapVariableToggleComponent.prototype.lines;
    /** @type {?} */
    TapVariableToggleComponent.prototype.inputOptions;
    /** @type {?} */
    TapVariableToggleComponent.prototype.variable;
    /** @type {?} */
    TapVariableToggleComponent.prototype.editable;
}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFwLXZhcmlhYmxlLXRvZ2dsZS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AaW90aXplL2lvbmljL21vbml0b3JpbmcvIiwic291cmNlcyI6WyJsaWIvdWktY29tcG9uZW50cy90YXAtdmFyaWFibGUtdG9nZ2xlL3RhcC12YXJpYWJsZS10b2dnbGUuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7OztBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQVUsS0FBSyxFQUF3QixNQUFNLGVBQWUsQ0FBQztBQUkvRSxPQUFPLEVBQUUsZUFBZSxFQUFFLFdBQVcsRUFBRSxNQUFNLDJCQUEyQixDQUFDOzs7UUF1QjlELGVBQVUsR0FBVyxLQUFLLENBQUM7UUFRM0IsZ0JBQVcsR0FBVyxJQUFJLENBQUM7UUFRM0IsVUFBSyxHQUFXLE1BQU0sQ0FBQTtRQUUvQixpQkFBWSxHQUFHO1lBQ2IsSUFBSS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