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