"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
function adapt(input) {
    const type = input.accessor.value('GUI_renderType', 'string');
    const { accessor, variable, variableConfig } = input;
    // context.importModule('NgxCharts', '@swimlane/ngx-charts');
    let gaugeComponent = {
        type: 'NgxChartsLinearGauge',
        variable: `${variable.name}`,
        options: {
            units: variable.unit,
            min: accessor.value('GUI_min', 'number', undefined),
            max: accessor.value('GUI_max', 'number', undefined)
        }
    };
    return gaugeComponent;
}
exports.default = adapt;
//# sourceMappingURL=LinearGaugeAdapter.js.map