import '@operato/board/ox-property-editor-board-selector.js';
import { OxPropertyEditor } from '@operato/property-editor';
import { OxGristRendererJson5, registerEditor, registerRenderer } from '@operato/data-grist';
import { appendViewpart, VIEWPART_POSITION } from '@operato/layout';
import { OxGristEditorHashtags } from '@operato/grist-editor/ox-grist-editor-hashtags.js';
import { OxGristRendererHashtags } from '@operato/grist-editor/ox-grist-renderer-hashtags.js';
import { BoardEditor } from './data-grist/board-editor';
import { BoardRenderer } from './data-grist/board-renderer';
import { ColorMapEditor } from './data-grist/color-map-editor';
import { ColorRangesEditor } from './data-grist/color-ranges-editor';
export default function bootstrap() {
    registerRenderer('board', BoardRenderer);
    registerRenderer('color-map', OxGristRendererJson5);
    registerRenderer('color-ranges', OxGristRendererJson5);
    registerRenderer('hashtags', OxGristRendererHashtags);
    registerEditor('board', BoardEditor);
    registerEditor('color-map', ColorMapEditor);
    registerEditor('color-ranges', ColorRangesEditor);
    registerEditor('hashtags', OxGristEditorHashtags);
    OxPropertyEditor.register({
        'board-selector': 'ox-property-editor-board-selector'
    });
    /* append viewpart anchor to asidebar */
    appendViewpart({
        name: 'viewpart-info',
        viewpart: {
            show: false,
            hovering: 'edge',
            backdrop: true
        },
        position: VIEWPART_POSITION.ASIDEBAR
    });
}
//# sourceMappingURL=bootstrap.js.map