UNPKG

@senx/warpview-editor

Version:

WarpView Editor Elements

38 lines (37 loc) 1.4 kB
import { AfterViewInit, ElementRef, OnInit } from '@angular/core'; import { editor } from 'monaco-editor'; import { Config } from '../../model/config'; import IEditorOptions = editor.IEditorOptions; import * as i0 from "@angular/core"; export declare class WarpViewRawResultComponent implements OnInit, AfterViewInit { editor: ElementRef; json: string; set debug(debug: boolean | string); get debug(): boolean | string; set theme(newValue: string); get theme(): string; set result(newValue: string); get result(): string; set config(config: Config | string); get config(): Config | string; heightLine: number; heightPx: number; loading: boolean; _theme: string; _result: string; _config: Config; _debug: boolean; private LOG; private LINE_HEIGHT; private CONTAINER_GUTTER; private resEd; private monacoTheme; constructor(); ngOnInit(): void; buildEditor(json: string): void; adjustHeight(): void; ngAfterViewInit(): void; setOptions(): IEditorOptions; static ɵfac: i0.ɵɵFactoryDeclaration<WarpViewRawResultComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<WarpViewRawResultComponent, "warpview-raw-result", never, { "debug": "debug"; "theme": "theme"; "result": "result"; "config": "config"; "heightLine": "heightLine"; "heightPx": "heightPx"; }, {}, never, never>; }