import { __decorate } from "tslib";
import { customElement } from 'lit/decorators.js';
import { OxGristEditorValueRanges } from '@operato/grist-editor/ox-grist-editor-value-ranges.js';
let ColorRangesEditor = class ColorRangesEditor extends OxGristEditorValueRanges {
    get options() {
        var _a;
        const overidable = ((_a = this.column.record) === null || _a === void 0 ? void 0 : _a.options) || {};
        return Object.assign({ name: `Color Ranges : ${this.record.name}`, valuetype: 'color', objectified: true }, overidable);
    }
};
ColorRangesEditor = __decorate([
    customElement('color-ranges-editor')
], ColorRangesEditor);
export { ColorRangesEditor };
//# sourceMappingURL=color-ranges-editor.js.map