"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
function GaugeComponentAdapter(input) {
    const type = input.accessor.value('GUI_renderType', 'string');
    const { accessor, variable, extraOptions } = input;
    let toggleComponent = {
        editable: extraOptions.editable,
        type: 'VariableToggle',
        variable: `${variable.name}`,
        conditionOn: `value !== 0`,
        textOn: accessor.value('GUI_textOn', 'string', ''),
        textOff: accessor.value('GUI_textOff', 'string', ''),
        icon: accessor.value('GUI_icon', 'string', ''),
    };
    return toggleComponent;
}
exports.default = GaugeComponentAdapter;
//# sourceMappingURL=OnOffAdapter.js.map