{"version":3,"file":"deja-js-component-v2-monaco-editor.mjs","sources":["../../../../projects/deja-js/component/v2/monaco-editor/monaco-editor.service.ts","../../../../projects/deja-js/component/v2/monaco-editor/monaco-editor-control/monaco-editor-control.component.ts","../../../../projects/deja-js/component/v2/monaco-editor/monaco-editor.component.ts","../../../../projects/deja-js/component/v2/monaco-editor/monaco-editor.component.html","../../../../projects/deja-js/component/v2/monaco-editor/monaco-editor-control/monaco-editor-control.module.ts","../../../../projects/deja-js/component/v2/monaco-editor/options/editor-options.model.ts","../../../../projects/deja-js/component/v2/monaco-editor/options/editor-scrollbar-options.model.ts","../../../../projects/deja-js/component/v2/monaco-editor/index.ts","../../../../projects/deja-js/component/v2/monaco-editor/deja-js-component-v2-monaco-editor.ts"],"sourcesContent":["/*\n *  @license\n *  Copyright Hôpitaux Universitaires de Genève. All Rights Reserved.\n *\n *  Use of this source code is governed by an Apache-2.0 license that can be\n *  found in the LICENSE file at https://github.com/DSI-HUG/dejajs-components/blob/master/LICENSE\n */\nimport { Injectable, NgZone } from '@angular/core';\nimport { Observable, shareReplay, take } from 'rxjs';\n\nimport { EditorOptions, Language } from './options/editor-options.model';\n\nexport interface IDisposable {\n    dispose?: () => void;\n}\n\nexport interface MonacoEditorModel {\n    id?: string;\n    modified?: unknown;\n    original?: unknown;\n    getValue?: () => string;\n    setValue?: (value: string) => void;\n    onDidChangeContent?: (f: () => void) => IDisposable;\n}\n\nexport interface MonacoEditorControl extends IDisposable {\n    setModel: (options: MonacoEditorModel) => void;\n    getModel: () => MonacoEditorModel;\n    trigger: (a: string, ation: string) => void;\n    layout: () => void;\n    updateOptions: (options: EditorOptions) => void;\n}\n\nexport interface MonacoEditorApi {\n    createModel: (value: string, language: Language) => MonacoEditorModel;\n    create: (element: HTMLElement, options: EditorOptions) => MonacoEditorControl;\n    createDiffEditor: (element: HTMLElement, options: EditorOptions) => MonacoEditorControl;\n}\n\nexport interface MonacoApi {\n    editor: MonacoEditorApi;\n}\n\n/**\n * Monaco Editor Service\n *\n * Service used by Monaco Editor Component to load only once instance of the Monaco Editor Library\n */\n@Injectable({\n    providedIn: 'root'\n})\nexport class MonacoEditorService {\n    public monacoApi$: Observable<MonacoApi>;\n    /**\n     * Constructor\n     */\n    public constructor(zone: NgZone) {\n        this.monacoApi$ = new Observable<MonacoApi>(subscriber => {\n            const wnd = window as unknown;\n            type Require1 = ((keys: ReadonlyArray<string>, f: () => void) => void);\n            interface Require2 {\n                config: (options: { paths: { vs: string } }) => void;\n            }\n            const monacoWindow = wnd as {\n                // eslint-disable-next-line @typescript-eslint/naming-convention\n                MONACOEDITOR_BASEPATH: string;\n                monaco: MonacoApi;\n                require: Require1 | Require2;\n            };\n\n            const baseElement = document.getElementsByTagName('base')[0] || {} as HTMLBaseElement;\n            const baseHref = baseElement.href;\n            const basePath = monacoWindow.MONACOEDITOR_BASEPATH || `${baseHref}assets/monaco/vs`;\n\n            const onGotAmdLoader = (): void => {\n                // Load monaco\n                (monacoWindow.require as Require2).config({ paths: { vs: basePath } });\n                (monacoWindow.require as Require1)(['vs/editor/editor.main'], () => {\n                    zone.run(() => {\n                        subscriber.next(monacoWindow.monaco);\n                    });\n                });\n            };\n\n            // Load AMD loader if necessary\n            if (!monacoWindow.require && !monacoWindow.monaco) {\n                const loaderScript = document.createElement('script');\n                loaderScript.type = 'text/javascript';\n                loaderScript.src = `${basePath}/loader.js`;\n                loaderScript.addEventListener('load', onGotAmdLoader);\n                document.body.appendChild(loaderScript);\n            } else {\n                onGotAmdLoader();\n            }\n        }).pipe(\n            take(1),\n            shareReplay({ bufferSize: 1, refCount: false })\n        );\n    }\n}\n","/*\n *  @license\n *  Copyright Hôpitaux Universitaires de Genève. All Rights Reserved.\n *\n *  Use of this source code is governed by an Apache-2.0 license that can be\n *  found in the LICENSE file at https://github.com/DSI-HUG/dejajs-components/blob/master/LICENSE\n */\n\nimport { BooleanInput, coerceBooleanProperty } from '@angular/cdk/coercion';\nimport { ChangeDetectionStrategy, Component, ElementRef, EventEmitter, HostListener, Input, OnInit, Output } from '@angular/core';\nimport { Destroy } from '@deja-js/component/core';\nimport { debounceTime, Subject, takeUntil, tap } from 'rxjs';\n\nimport { IDisposable, MonacoApi, MonacoEditorControl, MonacoEditorModel } from '../monaco-editor.service';\nimport { EditorOptions } from '../options/editor-options.model';\n\n/**\n * Monaco Editor Component for Angular\n *\n * The Monaco Editor is the code editor that powers [VS Code](https://github.com/Microsoft/vscode), a good page describing the code editor's features is [here](https://code.visualstudio.com/docs/editor/editingevolved).\n */\n@Component({\n    selector: 'monaco-editor-control',\n    styleUrls: [\n        './monaco-editor-control.component.scss'\n    ],\n    template: '',\n    changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class MonacoEditorControlComponent extends Destroy implements OnInit {\n    @Output() public readonly valueChange = new EventEmitter<string>();\n\n    @Input()\n    public set options(value: EditorOptions) {\n        if (JSON.stringify(this._options) !== JSON.stringify(value)) {\n            this._options = value;\n            if (this.editor) {\n                this.editor.updateOptions(this.options);\n            }\n        }\n    }\n\n    public get options(): EditorOptions {\n        return this._options;\n    }\n\n    @Input()\n    public set isDiffEditor(value: BooleanInput) {\n        if (this._isDiffEditor !== value) {\n            this._isDiffEditor = coerceBooleanProperty(value);\n            this.createEditor$.next();\n        }\n    }\n\n    public get isDiffEditor(): BooleanInput {\n        return this._isDiffEditor;\n    }\n\n    @Input()\n    public set editableValue(value: string) {\n        if (this._editableValue !== value) {\n            this._editableValue = value;\n            const editableModel = this.editableModel;\n            if (editableModel) {\n                editableModel.setValue(this.editableValue);\n            }\n        }\n    }\n\n    public get editableValue(): string {\n        return this._editableValue || '';\n    }\n\n    @Input()\n    public set readOnlyValue(value: string) {\n        if (this._readOnlyValue !== value) {\n            this._readOnlyValue = value;\n            const readOnlyModel = this.readOnlyModel;\n            if (readOnlyModel) {\n                readOnlyModel.setValue(this.readOnlyValue);\n            }\n        }\n    }\n\n    public get readOnlyValue(): string {\n        return this._readOnlyValue || '';\n    }\n\n    @Input()\n    public set monacoEditorApi(value: MonacoApi) {\n        if (this._monacoEditorApi !== value) {\n            this._monacoEditorApi = value;\n            this.createEditor$.next();\n        }\n    }\n\n    public get monacoEditorApi(): MonacoApi {\n        return this._monacoEditorApi;\n    }\n\n    public editableModelSub: IDisposable;\n    private editor: MonacoEditorControl;\n    private _editableValue: string;\n    private _readOnlyValue: string;\n    private _isDiffEditor: boolean;\n    private _options: EditorOptions;\n    private _monacoEditorApi: MonacoApi;\n\n    private createEditor$ = new Subject<void>();\n\n    private get editableModel(): MonacoEditorModel {\n        const model = this.editor?.getModel();\n        return model?.id ? model : model?.modified;\n    }\n\n    private get readOnlyModel(): MonacoEditorModel {\n        const model = this.editor?.getModel();\n        return model?.id ? undefined : model?.original;\n    }\n\n    public constructor(\n        private elementRef: ElementRef<HTMLElement>\n    ) {\n        super();\n\n        console.log('MonacoEditorControlComponent constructor');\n\n        this.createEditor$.pipe(\n            tap(() => {\n                this.editor = null;\n            }),\n            debounceTime(100),\n            takeUntil(this.destroyed$)\n        ).subscribe(() => {\n            const element = this.elementRef.nativeElement;\n\n            const setElementSize = (): void => {\n                element.setAttribute('style', `height: ${element.parentElement.offsetHeight}px; width:100%;`);\n            };\n\n            this.clearElement();\n            this.editor = this.isDiffEditor ? this.monacoEditorApi.editor.createDiffEditor(element, this.options) : this.monacoEditorApi.editor.create(element, this.options);\n            setElementSize();\n\n            const editableModel = this.monacoEditorApi.editor.createModel(this.editableValue, this.options.language);\n\n            if (this.isDiffEditor) {\n                const readOnlyModel = this.monacoEditorApi.editor.createModel(this.readOnlyValue, this.options.language);\n                this.editor.setModel({\n                    modified: editableModel,\n                    original: readOnlyModel\n                });\n            } else {\n                this.editor.setModel(editableModel);\n            }\n\n            if (this.editableModelSub) {\n                this.editableModelSub.dispose();\n                delete this.editableModelSub;\n            }\n\n            this.editableModelSub = editableModel.onDidChangeContent(() => {\n                const v = this.editableModel.getValue();\n                this._editableValue = v;\n                this.valueChange.emit(v);\n            });\n        });\n\n        this.destroyed$.pipe(\n            // eslint-disable-next-line rxjs-angular/prefer-takeuntil\n        ).subscribe(() => {\n            if (this.editor) {\n                this.editor.dispose();\n            }\n            this.clearElement();\n            if (this.editableModelSub) {\n                this.editableModelSub.dispose();\n            }\n        });\n    }\n\n    @HostListener('window:resize', [])\n    public onResize(): void {\n        // Manually set monaco size because MonacoEditor doesn't work with Flexbox css\n        const myDiv = this.elementRef.nativeElement.firstChild as HTMLDivElement;\n        myDiv.setAttribute('style', 'height: 100%; width: 100%;');\n        if (this.editor) {\n            this.editor.layout();\n        }\n    }\n\n    public ngOnInit(): void {\n        this.createEditor$.next();\n    }\n\n    private clearElement(): void {\n        const element = this.elementRef.nativeElement;\n        // eslint-disable-next-line no-loops/no-loops\n        while (element.hasChildNodes()) {\n            element.removeChild(element.firstChild);\n        }\n    }\n}\n","/*\n *  @license\n *  Copyright Hôpitaux Universitaires de Genève. All Rights Reserved.\n *\n *  Use of this source code is governed by an Apache-2.0 license that can be\n *  found in the LICENSE file at https://github.com/DSI-HUG/dejajs-components/blob/master/LICENSE\n */\n\nimport { BooleanInput, coerceBooleanProperty, coerceNumberProperty, NumberInput } from '@angular/cdk/coercion';\nimport { ChangeDetectionStrategy, Component, EventEmitter, Input, Optional, Output, Self, ViewEncapsulation } from '@angular/core';\nimport { ControlValueAccessor, NgControl } from '@angular/forms';\n\nimport { MonacoEditorService } from './monaco-editor.service';\nimport { EditorOptions, FontWeight, Language, LineNumbers, RenderLineHighlight, RenderWhitespace, SnippetSuggestions } from './options/editor-options.model';\nimport { EditorScrollbarOptions } from './options/editor-scrollbar-options.model';\n\n/**\n * Monaco Editor Component for Angular\n *\n * The Monaco Editor is the code editor that powers [VS Code](https://github.com/Microsoft/vscode), a good page describing the code editor's features is [here](https://code.visualstudio.com/docs/editor/editingevolved).\n */\n@Component({\n    encapsulation: ViewEncapsulation.None,\n    selector: 'monaco-editor',\n    templateUrl: './monaco-editor.component.html',\n    styleUrls: [\n        './monaco-editor.component.scss'\n    ],\n    changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class MonacoEditorComponent implements ControlValueAccessor {\n    @Output() public readonly valueChange = new EventEmitter<string>();\n\n    @Input()\n    public set isDiffEditor(value: BooleanInput) {\n        this._isDiffEditor = coerceBooleanProperty(value);\n    }\n\n    public get isDiffEditor(): BooleanInput {\n        return this._isDiffEditor;\n    }\n\n    /**\n     * Enable experimental screen reader support.\n     * Defaults to `true`.\n     */\n    @Input()\n    public set experimentalScreenReader(value: BooleanInput) {\n        this.updateOptions({ experimentalScreenReader: coerceBooleanProperty(value) } as EditorOptions);\n    }\n\n    public get experimentalScreenReader(): BooleanInput {\n        return this.options.experimentalScreenReader;\n    }\n\n    /**\n     * The aria label for the editor's textarea (when it is focused).\n     */\n    @Input()\n    public set ariaLabel(value: string) {\n        this.updateOptions({ ariaLabel: value } as EditorOptions);\n    }\n\n    public get ariaLabel(): string {\n        return this.options.ariaLabel;\n    }\n\n    /**\n     * Render vertical lines at the specified columns.\n     * Defaults to empty array.\n     */\n    @Input()\n    public set rulers(value: ReadonlyArray<number>) {\n        this.updateOptions({ rulers: value } as EditorOptions);\n    }\n\n    public get rulers(): ReadonlyArray<number> {\n        return this.options.rulers;\n    }\n\n    /**\n     * A string containing the word separators used when doing word navigation.\n     * Defaults to `~!@#$%^&*()-=+[{]}\\\\|;:\\'\",.<>/?\n     */\n    @Input()\n    public set wordSeparators(value: string) {\n        this.updateOptions({ wordSeparators: value } as EditorOptions);\n    }\n\n    public get wordSeparators(): string {\n        return this.options.wordSeparators;\n    }\n\n    /**\n     * Enable Linux primary clipboard.\n     * Defaults to true.\n     */\n    @Input()\n    public set selectionClipboard(value: BooleanInput) {\n        this.updateOptions({ selectionClipboard: coerceBooleanProperty(value) } as EditorOptions);\n    }\n\n    public get selectionClipboard(): BooleanInput {\n        return this.options.selectionClipboard;\n    }\n\n    /**\n     * Control the rendering of line numbers.\n     * If it is a function, it will be invoked when rendering a line number and the return value will be rendered.\n     * Otherwise, if it is a truey, line numbers will be rendered normally (equivalent of using an identity function).\n     * Otherwise, line numbers will not be rendered.\n     * Defaults to true.\n     */\n    @Input()\n    public set lineNumbers(value: LineNumbers) {\n        this.updateOptions({ lineNumbers: value } as EditorOptions);\n    }\n\n    public get lineNumbers(): LineNumbers {\n        return this.options.lineNumbers;\n    }\n\n    /**\n     * Should the corresponding line be selected when clicking on the line number?\n     * Defaults to true.\n     */\n    @Input()\n    public set selectOnLineNumbers(value: BooleanInput) {\n        this.updateOptions({ selectOnLineNumbers: coerceBooleanProperty(value) } as EditorOptions);\n    }\n\n    public get selectOnLineNumbers(): BooleanInput {\n        return this.options.selectOnLineNumbers;\n    }\n\n    /**\n     * Control the width of line numbers, by reserving horizontal space for rendering at least an amount of digits.\n     * Defaults to 5.\n     */\n    @Input()\n    public set lineNumbersMinChars(value: NumberInput) {\n        this.updateOptions({ lineNumbersMinChars: coerceNumberProperty(value) } as EditorOptions);\n    }\n\n    public get lineNumbersMinChars(): NumberInput {\n        return this.options.lineNumbersMinChars;\n    }\n\n    /**\n     * Enable the rendering of the glyph margin.\n     * Defaults to true in vscode and to false in monaco-editor.\n     */\n    @Input()\n    public set glyphMargin(value: BooleanInput) {\n        this.updateOptions({ glyphMargin: coerceBooleanProperty(value) } as EditorOptions);\n    }\n\n    public get glyphMargin(): BooleanInput {\n        return this.options.glyphMargin;\n    }\n\n    /**\n     * The width reserved for line decorations (in px).\n     * Line decorations are placed between line numbers and the editor content.\n     * You can pass in a string in the format floating point followed by \"ch\". e.g. 1.3ch.\n     * Defaults to 10.\n     */\n    @Input()\n    public set lineDecorationsWidth(value: NumberInput) {\n        this.updateOptions({ lineDecorationsWidth: coerceNumberProperty(value) } as EditorOptions);\n    }\n\n    public get lineDecorationsWidth(): NumberInput {\n        return this.options.lineDecorationsWidth;\n    }\n\n    /**\n     * When revealing the cursor, a virtual padding (px) is added to the cursor, turning it into a rectangle.\n     * This virtual padding ensures that the cursor gets revealed before hitting the edge of the viewport.\n     * Defaults to 30 (px).\n     */\n    @Input()\n    public set revealHorizontalRightPadding(value: NumberInput) {\n        this.updateOptions({ revealHorizontalRightPadding: coerceNumberProperty(value) } as EditorOptions);\n    }\n\n    public get revealHorizontalRightPadding(): NumberInput {\n        return this.options.revealHorizontalRightPadding;\n    }\n\n    /**\n     * Render the editor selection with rounded borders.\n     * Defaults to true.\n     */\n    @Input()\n    public set roundedSelection(value: BooleanInput) {\n        this.updateOptions({ roundedSelection: coerceBooleanProperty(value) } as EditorOptions);\n    }\n\n    public get roundedSelection(): BooleanInput {\n        return this.options.roundedSelection;\n    }\n\n    /**\n     * Theme to be used for rendering.\n     * The current out-of-the-box available themes are: 'vs' (default), 'vs-dark', 'hc-black'.\n     * You can create custom themes via `monaco.editor.defineTheme`.\n     */\n    @Input()\n    public set theme(value: string) {\n        this.updateOptions({ theme: value } as EditorOptions);\n    }\n\n    public get theme(): string {\n        return this.options.theme;\n    }\n\n    /**\n     * Should the editor be read only.\n     * Defaults to false.\n     */\n    @Input()\n    public set readOnly(value: BooleanInput) {\n        this.updateOptions({ readOnly: coerceBooleanProperty(value) } as EditorOptions);\n    }\n\n    public get readOnly(): BooleanInput {\n        return this.options.readOnly;\n    }\n\n    /**\n     * Control the behavior and rendering of the scrollbars.\n     */\n    @Input()\n    public set scrollbar(value: EditorScrollbarOptions) {\n        this.updateOptions({ scrollbar: value } as EditorOptions);\n    }\n\n    public get scrollbar(): EditorScrollbarOptions {\n        return this.options.scrollbar;\n    }\n\n    /**\n     * Display overflow widgets as `fixed`.\n     * Defaults to `false`.\n     */\n    @Input()\n    public set fixedOverflowWidgets(value: BooleanInput) {\n        this.updateOptions({ fixedOverflowWidgets: coerceBooleanProperty(value) } as EditorOptions);\n    }\n\n    public get fixedOverflowWidgets(): BooleanInput {\n        return this.options.fixedOverflowWidgets;\n    }\n\n    /**\n     * The number of vertical lanes the overview ruler should render.\n     * Defaults to 2.\n     */\n    @Input()\n    public set overviewRulerLanes(value: NumberInput) {\n        this.updateOptions({ overviewRulerLanes: coerceNumberProperty(value) } as EditorOptions);\n    }\n\n    public get overviewRulerLanes(): NumberInput {\n        return this.options.overviewRulerLanes;\n    }\n\n    /**\n     * Control the cursor animation style, possible values are 'blink', 'smooth', 'phase', 'expand' and 'solid'.\n     * Defaults to 'blink'.\n     */\n    @Input()\n    public set cursorBlinking(value: string) {\n        this.updateOptions({ cursorBlinking: value } as EditorOptions);\n    }\n\n    public get cursorBlinking(): string {\n        return this.options.cursorBlinking;\n    }\n\n    /**\n     * Zoom the font in the editor when using the mouse wheel in combination with holding Ctrl.\n     * Defaults to false.\n     */\n    @Input()\n    public set mouseWheelZoom(value: BooleanInput) {\n        this.updateOptions({ mouseWheelZoom: coerceBooleanProperty(value) } as EditorOptions);\n    }\n\n    public get mouseWheelZoom(): BooleanInput {\n        return this.options.mouseWheelZoom;\n    }\n\n    /**\n     * Control the cursor style, either 'block' or 'line'.\n     * Defaults to 'line'.\n     */\n    @Input()\n    public set cursorStyle(value: string) {\n        this.updateOptions({ cursorStyle: value } as EditorOptions);\n    }\n\n    public get cursorStyle(): string {\n        return this.options.cursorStyle;\n    }\n\n    /**\n     * Enable font ligatures.\n     * Defaults to false.\n     */\n    @Input()\n    public set fontLigatures(value: BooleanInput) {\n        this.updateOptions({ fontLigatures: coerceBooleanProperty(value) } as EditorOptions);\n    }\n\n    public get fontLigatures(): BooleanInput {\n        return this.options.fontLigatures;\n    }\n\n    /**\n     * Disable the use of `translate3d`.\n     * Defaults to false.\n     */\n    @Input()\n    public set disableTranslate3d(value: BooleanInput) {\n        this.updateOptions({ disableTranslate3d: coerceBooleanProperty(value) } as EditorOptions);\n    }\n\n    public get disableTranslate3d(): BooleanInput {\n        return this.options.disableTranslate3d;\n    }\n\n    /**\n     * Disable the optimizations for monospace fonts.\n     * Defaults to false.\n     */\n    @Input()\n    public set disableMonospaceOptimizations(value: BooleanInput) {\n        this.updateOptions({ disableMonospaceOptimizations: coerceBooleanProperty(value) } as EditorOptions);\n    }\n\n    public get disableMonospaceOptimizations(): BooleanInput {\n        return this.options.disableMonospaceOptimizations;\n    }\n\n    /**\n     * Should the cursor be hidden in the overview ruler.\n     * Defaults to false.\n     */\n    @Input()\n    public set hideCursorInOverviewRuler(value: BooleanInput) {\n        this.updateOptions({ hideCursorInOverviewRuler: coerceBooleanProperty(value) } as EditorOptions);\n    }\n\n    public get hideCursorInOverviewRuler(): BooleanInput {\n        return this.options.hideCursorInOverviewRuler;\n    }\n\n    /**\n     * Enable that scrolling can go one screen size after the last line.\n     * Defaults to true.\n     */\n    @Input()\n    public set scrollBeyondLastLine(value: BooleanInput) {\n        this.updateOptions({ scrollBeyondLastLine: coerceBooleanProperty(value) } as EditorOptions);\n    }\n\n    public get scrollBeyondLastLine(): BooleanInput {\n        return this.options.scrollBeyondLastLine;\n    }\n\n    /**\n     * Enable that the editor will install an interval to check if its container dom node size has changed.\n     * Enabling this might have a severe performance impact.\n     * Defaults to false.\n     */\n    @Input()\n    public set automaticLayout(value: BooleanInput) {\n        this.updateOptions({ automaticLayout: coerceBooleanProperty(value) } as EditorOptions);\n    }\n\n    public get automaticLayout(): BooleanInput {\n        return this.options.automaticLayout;\n    }\n\n    /**\n     * Control the wrapping strategy of the editor.\n     * Using -1 means no wrapping whatsoever.\n     * Using 0 means viewport width wrapping (ajusts with the resizing of the editor).\n     * Using a positive number means wrapping after a fixed number of characters.\n     * Defaults to 300.\n     */\n    @Input()\n    public set wrappingColumn(value: NumberInput) {\n        this.updateOptions({ wrappingColumn: coerceNumberProperty(value) } as EditorOptions);\n    }\n\n    public get wrappingColumn(): NumberInput {\n        return this.options.wrappingColumn;\n    }\n\n    /**\n     * Control the alternate style of viewport wrapping.\n     * When set to true viewport wrapping is used only when the window width is less than the number of columns specified in the wrappingColumn property. Has no effect if wrappingColumn is not a positive number.\n     * Defaults to false.\n     */\n    @Input()\n    public set wordWrap(value: BooleanInput) {\n        this.updateOptions({ wordWrap: coerceBooleanProperty(value) } as EditorOptions);\n    }\n\n    public get wordWrap(): BooleanInput {\n        return this.options.wordWrap;\n    }\n\n    /**\n     * Control indentation of wrapped lines. Can be: 'none', 'same' or 'indent'.\n     * Defaults to 'same' in vscode and to 'none' in monaco-editor.\n     */\n    @Input()\n    public set wrappingIndent(value: string) {\n        this.updateOptions({ wrappingIndent: value } as EditorOptions);\n    }\n\n    public get wrappingIndent(): string {\n        return this.options.wrappingIndent;\n    }\n\n    /**\n     * Configure word wrapping characters. A break will be introduced before these characters.\n     * Defaults to '{([+'.\n     */\n    @Input()\n    public set wordWrapBreakBeforeCharacters(value: string) {\n        this.updateOptions({ wordWrapBreakBeforeCharacters: value } as EditorOptions);\n    }\n\n    public get wordWrapBreakBeforeCharacters(): string {\n        return this.options.wordWrapBreakBeforeCharacters;\n    }\n\n    /**\n     * Configure word wrapping characters. A break will be introduced after these characters.\n     * Defaults to ' \\t})]?|&,;'.\n     */\n    @Input()\n    public set wordWrapBreakAfterCharacters(value: string) {\n        this.updateOptions({ wordWrapBreakAfterCharacters: value } as EditorOptions);\n    }\n\n    public get wordWrapBreakAfterCharacters(): string {\n        return this.options.wordWrapBreakAfterCharacters;\n    }\n\n    /**\n     * Configure word wrapping characters. A break will be introduced after these characters only if no `wordWrapBreakBeforeCharacters` or `wordWrapBreakAfterCharacters` were found.\n     * Defaults to '.'.\n     */\n    @Input()\n    public set wordWrapBreakObtrusiveCharacters(value: string) {\n        this.updateOptions({ wordWrapBreakObtrusiveCharacters: value } as EditorOptions);\n    }\n\n    public get wordWrapBreakObtrusiveCharacters(): string {\n        return this.options.wordWrapBreakObtrusiveCharacters;\n    }\n\n    /**\n     * Performance guard: Stop rendering a line after x characters.\n     * Defaults to 10000 if wrappingColumn is -1. Defaults to -1 if wrappingColumn is >= 0.\n     * Use -1 to never stop rendering\n     */\n    @Input()\n    public set stopRenderingLineAfter(value: NumberInput) {\n        this.updateOptions({ stopRenderingLineAfter: coerceNumberProperty(value) } as EditorOptions);\n    }\n\n    public get stopRenderingLineAfter(): NumberInput {\n        return this.options.stopRenderingLineAfter;\n    }\n\n    /**\n     * Enable hover.\n     * Defaults to true.\n     */\n    @Input()\n    public set hover(value: BooleanInput) {\n        this.updateOptions({ hover: coerceBooleanProperty(value) } as EditorOptions);\n    }\n\n    public get hover(): BooleanInput {\n        return this.options.hover;\n    }\n\n    /**\n     * Enable custom contextmenu.\n     * Defaults to true.\n     */\n    @Input()\n    public set contextmenu(value: BooleanInput) {\n        this.updateOptions({ contextmenu: coerceBooleanProperty(value) } as EditorOptions);\n    }\n\n    public get contextmenu(): BooleanInput {\n        return this.options.contextmenu;\n    }\n\n    /**\n     * A multiplier to be used on the `deltaX` and `deltaY` of mouse wheel scroll events.\n     * Defaults to 1.\n     */\n    @Input()\n    public set mouseWheelScrollSensitivity(value: NumberInput) {\n        this.updateOptions({ mouseWheelScrollSensitivity: coerceNumberProperty(value) } as EditorOptions);\n    }\n\n    public get mouseWheelScrollSensitivity(): NumberInput {\n        return this.options.mouseWheelScrollSensitivity;\n    }\n\n    /**\n     * Enable quick suggestions (shadow suggestions)\n     * Defaults to true.\n     */\n    @Input()\n    public set quickSuggestions(value: BooleanInput) {\n        this.updateOptions({ quickSuggestions: coerceBooleanProperty(value) } as EditorOptions);\n    }\n\n    public get quickSuggestions(): BooleanInput {\n        return this.options.quickSuggestions;\n    }\n\n    /**\n     * Quick suggestions show delay (in ms)\n     * Defaults to 500 (ms)\n     */\n    @Input()\n    public set quickSuggestionsDelay(value: NumberInput) {\n        this.updateOptions({ quickSuggestionsDelay: coerceNumberProperty(value) } as EditorOptions);\n    }\n\n    public get quickSuggestionsDelay(): NumberInput {\n        return this.options.quickSuggestionsDelay;\n    }\n\n    /**\n     * Enables parameter hints\n     */\n    @Input()\n    public set parameterHints(value: BooleanInput) {\n        this.updateOptions({ parameterHints: coerceBooleanProperty(value) } as EditorOptions);\n    }\n\n    public get parameterHints(): BooleanInput {\n        return this.options.parameterHints;\n    }\n\n    /**\n     * Render icons in suggestions box.\n     * Defaults to true.\n     */\n    @Input()\n    public set iconsInSuggestions(value: BooleanInput) {\n        this.updateOptions({ iconsInSuggestions: coerceBooleanProperty(value) } as EditorOptions);\n    }\n\n    public get iconsInSuggestions(): BooleanInput {\n        return this.options.iconsInSuggestions;\n    }\n\n    /**\n     * Enable auto closing brackets.\n     * Defaults to true.\n     */\n    @Input()\n    public set autoClosingBrackets(value: BooleanInput) {\n        this.updateOptions({ autoClosingBrackets: coerceBooleanProperty(value) } as EditorOptions);\n    }\n\n    public get autoClosingBrackets(): BooleanInput {\n        return this.options.autoClosingBrackets;\n    }\n\n    /**\n     * Enable format on type.\n     * Defaults to false.\n     */\n    @Input()\n    public set formatOnType(value: BooleanInput) {\n        this.updateOptions({ formatOnType: coerceBooleanProperty(value) } as EditorOptions);\n    }\n\n    public get formatOnType(): BooleanInput {\n        return this.options.formatOnType;\n    }\n\n    /**\n     * Enable format on paste.\n     * Defaults to false.\n     */\n    @Input()\n    public set formatOnPaste(value: BooleanInput) {\n        this.updateOptions({ formatOnPaste: coerceBooleanProperty(value) } as EditorOptions);\n    }\n\n    public get formatOnPaste(): BooleanInput {\n        return this.options.formatOnPaste;\n    }\n\n    /**\n     * Enable the suggestion box to pop-up on trigger characters.\n     * Defaults to true.\n     */\n    @Input()\n    public set suggestOnTriggerCharacters(value: BooleanInput) {\n        this.updateOptions({ suggestOnTriggerCharacters: coerceBooleanProperty(value) } as EditorOptions);\n    }\n\n    public get suggestOnTriggerCharacters(): BooleanInput {\n        return this.options.suggestOnTriggerCharacters;\n    }\n\n    /**\n     * Accept suggestions on ENTER.\n     * Defaults to true.\n     */\n    @Input()\n    public set acceptSuggestionOnEnter(value: BooleanInput) {\n        this.updateOptions({ acceptSuggestionOnEnter: coerceBooleanProperty(value) } as EditorOptions);\n    }\n\n    public get acceptSuggestionOnEnter(): BooleanInput {\n        return this.options.acceptSuggestionOnEnter;\n    }\n\n    /**\n     * Accept suggestions on provider defined characters.\n     * Defaults to true.\n     */\n    @Input()\n    public set acceptSuggestionOnCommitCharacter(value: BooleanInput) {\n        this.updateOptions({ acceptSuggestionOnCommitCharacter: coerceBooleanProperty(value) } as EditorOptions);\n    }\n\n    public get acceptSuggestionOnCommitCharacter(): BooleanInput {\n        return this.options.acceptSuggestionOnCommitCharacter;\n    }\n\n    /**\n     * Enable snippet suggestions. Default to 'true'.\n     */\n    @Input()\n    public set snippetSuggestions(value: SnippetSuggestions) {\n        this.updateOptions({ snippetSuggestions: value } as EditorOptions);\n    }\n\n    public get snippetSuggestions(): SnippetSuggestions {\n        return this.options.snippetSuggestions;\n    }\n\n    /**\n     * Copying without a selection copies the current line.\n     */\n    @Input()\n    public set emptySelectionClipboard(value: BooleanInput) {\n        this.updateOptions({ emptySelectionClipboard: coerceBooleanProperty(value) } as EditorOptions);\n    }\n\n    public get emptySelectionClipboard(): BooleanInput {\n        return this.options.emptySelectionClipboard;\n    }\n\n    /**\n     * Enable tab completion. Defaults to 'false'\n     */\n    @Input()\n    public set tabCompletion(value: BooleanInput) {\n        this.updateOptions({ tabCompletion: coerceBooleanProperty(value) } as EditorOptions);\n    }\n\n    public get tabCompletion(): BooleanInput {\n        return this.options.tabCompletion;\n    }\n\n    /**\n     * Enable word based suggestions. Defaults to 'true'\n     */\n    @Input()\n    public set wordBasedSuggestions(value: BooleanInput) {\n        this.updateOptions({ wordBasedSuggestions: coerceBooleanProperty(value) } as EditorOptions);\n    }\n\n    public get wordBasedSuggestions(): BooleanInput {\n        return this.options.wordBasedSuggestions;\n    }\n\n    /**\n     * The font size for the suggest widget.\n     * Defaults to the editor font size.\n     */\n    @Input()\n    public set suggestFontSize(value: NumberInput) {\n        this.updateOptions({ suggestFontSize: coerceNumberProperty(value) } as EditorOptions);\n    }\n\n    public get suggestFontSize(): NumberInput {\n        return this.options.suggestFontSize;\n    }\n\n    /**\n     * The line height for the suggest widget.\n     * Defaults to the editor line height.\n     */\n    @Input()\n    public set suggestLineHeight(value: NumberInput) {\n        this.updateOptions({ suggestLineHeight: coerceNumberProperty(value) } as EditorOptions);\n    }\n\n    public get suggestLineHeight(): NumberInput {\n        return this.options.suggestLineHeight;\n    }\n\n    /**\n     * Enable selection highlight.\n     * Defaults to true.\n     */\n    @Input()\n    public set selectionHighlight(value: BooleanInput) {\n        this.updateOptions({ selectionHighlight: coerceBooleanProperty(value) } as EditorOptions);\n    }\n\n    public get selectionHighlight(): BooleanInput {\n        return this.options.selectionHighlight;\n    }\n\n    /**\n     * Show code lens\n     * Defaults to true.\n     */\n    @Input()\n    public set codeLens(value: BooleanInput) {\n        this.updateOptions({ codeLens: coerceBooleanProperty(value) } as EditorOptions);\n    }\n\n    public get codeLens(): BooleanInput {\n        return this.options.codeLens;\n    }\n\n    /**\n     * Enable code folding\n     * Defaults to true in vscode and to false in monaco-editor.\n     */\n    @Input()\n    public set folding(value: BooleanInput) {\n        this.updateOptions({ folding: coerceBooleanProperty(value) } as EditorOptions);\n    }\n\n    public get folding(): BooleanInput {\n        return this.options.folding;\n    }\n\n    /**\n     * Enable rendering of whitespace.\n     * Defaults to none.\n     */\n    @Input()\n    public set renderWhitespace(value: RenderWhitespace) {\n        this.updateOptions({ renderWhitespace: value } as EditorOptions);\n    }\n\n    public get renderWhitespace(): RenderWhitespace {\n        return this.options.renderWhitespace;\n    }\n\n    /**\n     * Enable rendering of control characters.\n     * Defaults to false.\n     */\n    @Input()\n    public set renderControlCharacters(value: BooleanInput) {\n        this.updateOptions({ renderControlCharacters: coerceBooleanProperty(value) } as EditorOptions);\n    }\n\n    public get renderControlCharacters(): BooleanInput {\n        return this.options.renderControlCharacters;\n    }\n\n    /**\n     * Enable rendering of indent guides.\n     * Defaults to false.\n     */\n    @Input()\n    public set renderIndentGuides(value: BooleanInput) {\n        this.updateOptions({ renderIndentGuides: coerceBooleanProperty(value) } as EditorOptions);\n    }\n\n    public get renderIndentGuides(): BooleanInput {\n        return this.options.renderIndentGuides;\n    }\n\n    /**\n     * Enable rendering of current line highlight.\n     * Defaults to all.\n     */\n    @Input()\n    public set renderLineHighlight(value: RenderLineHighlight) {\n        this.updateOptions({ renderLineHighlight: value } as EditorOptions);\n    }\n\n    public get renderLineHighlight(): RenderLineHighlight {\n        return this.options.renderLineHighlight;\n    }\n\n    /**\n     * Inserting and deleting whitespace follows tab stops.\n     */\n    @Input()\n    public set useTabStops(value: BooleanInput) {\n        this.updateOptions({ useTabStops: coerceBooleanProperty(value) } as EditorOptions);\n    }\n\n    public get useTabStops(): BooleanInput {\n        return this.options.useTabStops;\n    }\n\n    /**\n     * The font family\n     */\n    @Input()\n    public set fontFamily(value: string) {\n        this.updateOptions({ fontFamily: value } as EditorOptions);\n    }\n\n    public get fontFamily(): string {\n        return this.options.fontFamily;\n    }\n\n    /**\n     * The font weight\n     */\n    @Input()\n    public set fontWeight(value: FontWeight) {\n        this.updateOptions({ fontWeight: value } as EditorOptions);\n    }\n\n    public get fontWeight(): FontWeight {\n        return this.options.fontWeight;\n    }\n\n    /**\n     * The font size\n     */\n    @Input()\n    public set fontSize(value: NumberInput) {\n        this.updateOptions({ fontSize: coerceNumberProperty(value) } as EditorOptions);\n    }\n\n    public get fontSize(): NumberInput {\n        return this.options.fontSize;\n    }\n\n    /**\n     * The line height\n     */\n    @Input()\n    public set lineHeight(value: NumberInput) {\n        this.updateOptions({ lineHeight: coerceNumberProperty(value) } as EditorOptions);\n    }\n\n    public get lineHeight(): NumberInput {\n        return this.options.lineHeight;\n    }\n\n    /**\n    * Language of content to show\n    */\n    @Input()\n    public set language(value: Language) {\n        this.updateOptions({ language: value } as EditorOptions);\n    }\n\n    public get language(): Language {\n        return this.options.language;\n    }\n\n    @Input()\n    public set value(value: string) {\n        this._value = value;\n    }\n\n    public get value(): string {\n        return this._value;\n    }\n\n    @Input()\n    public set valueToCompare(value: string) {\n        this._valueToCompare = value;\n    }\n\n    public get valueToCompare(): string {\n        return this._valueToCompare;\n    }\n\n    public options: EditorOptions;\n\n    private _isDiffEditor: boolean;\n    private _value: string;\n    private _valueToCompare: string;\n\n    public constructor(\n        public monacoEditorService: MonacoEditorService,\n        @Self() @Optional() public control: NgControl\n    ) {\n        this.options = {\n            automaticLayout: true\n        } as EditorOptions;\n        if (this.control) {\n            this.control.valueAccessor = this;\n        }\n    }\n\n    public updateOptions(options: EditorOptions): void {\n        this.options = { ...this.options, ...options };\n    }\n\n    public onValueChange(value: string): void {\n        this.value = value;\n        this.valueChange.next(value);\n    }\n\n    public onTouchedCallback = (): void => undefined;\n    public onChangeCallback = (_: string): void => undefined;\n\n    /** From ControlValueAccessor interface */\n    public writeValue(value: string): void {\n        this.value = value;\n    }\n\n    /** From ControlValueAccessor interface */\n    public registerOnChange(fn: (_a: unknown) => void): void {\n        this.onChangeCallback = fn;\n    }\n\n    /** From ControlValueAccessor interface */\n    public registerOnTouched(fn: () => void): void {\n        this.onTouchedCallback = fn;\n    }\n}\n","<ng-container *ngIf=\"monacoEditorService.monacoApi$ | async as monacoApi\">\n    <monaco-editor-control [options]=\"options\" [monacoEditorApi]=\"monacoApi\" [isDiffEditor]=\"isDiffEditor\" [editableValue]=\"value\" [readOnlyValue]=\"valueToCompare\" (valueChange)=\"onValueChange($event)\"></monaco-editor-control>\n</ng-container>","/*\n *  @license\n *  Copyright Hôpitaux Universitaires de Genève. All Rights Reserved.\n *\n *  Use of this source code is governed by an Apache-2.0 license that can be\n *  found in the LICENSE file at https://github.com/DSI-HUG/dejajs-components/blob/master/LICENSE\n */\n\nimport { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\nimport { ResizeListenerModule } from '@deja-js/component/core';\n\nimport { MonacoEditorControlComponent } from './monaco-editor-control.component';\n\n@NgModule({\n    declarations: [MonacoEditorControlComponent],\n    exports: [MonacoEditorControlComponent],\n    imports: [\n        CommonModule,\n        FormsModule,\n        ResizeListenerModule\n    ]\n})\nexport class MonacoEditorControlModule {}\n","/*\n *  @license\n *  Copyright Hôpitaux Universitaires de Genève. All Rights Reserved.\n *\n *  Use of this source code is governed by an Apache-2.0 license that can be\n *  found in the LICENSE file at https://github.com/DSI-HUG/dejajs-components/blob/master/LICENSE\n */\n\nimport { NumberInput } from '@angular/cdk/coercion';\n\nimport { EditorScrollbarOptions } from './editor-scrollbar-options.model';\n\nexport type LineNumbers = 'on' | 'off' | 'relative' | ((lineNumber: number) => string);\nexport type SnippetSuggestions = 'top' | 'bottom' | 'inline' | 'none';\nexport type RenderWhitespace = 'none' | 'boundary' | 'all';\nexport type RenderLineHighlight = 'none' | 'gutter' | 'line' | 'all';\nexport type FontWeight = 'normal' | 'bold' | 'bolder' | 'lighter' | 'initial' | 'inherit' | '100' | '200' | '300' | '400' | '500' | '600' | '700' | '800' | '900';\nexport type Language = 'bat' | 'c' | 'cpp' | 'csharp' | 'css' | 'dockerfile' | 'fsharp' | 'go' | 'graphql' | 'handlebars' | 'html' | 'ini' | 'jade' | 'javascript' | 'json' | 'less' | 'lua' | 'markdown' | 'objective-c' | 'php' | 'csharp' | 'plaintext' | 'postiats' | 'powershell' | 'python' | 'r' | 'razor' | 'ruby' | 'scss' | 'sql' | 'swift' | 'typescript' | 'vb' | 'xml' | 'yaml';\n\n/**\n * Configuration options for the editor.\n */\nexport interface EditorOptions {\n    /**\n     * Enable experimental screen reader support.\n     * Defaults to `true`.\n     */\n    experimentalScreenReader?: boolean;\n    /**\n     * The aria label for the editor's textarea (when it is focused).\n     */\n    ariaLabel?: string;\n    /**\n     * Render vertical lines at the specified columns.\n     * Defaults to empty array.\n     */\n    rulers?: ReadonlyArray<number>;\n    /**\n     * A string containing the word separators used when doing word navigation.\n     * Defaults to `~!@#$%^&*()-=+[{]}\\\\|;:\\'\",.<>/?\n     */\n    wordSeparators?: string;\n    /**\n     * Enable Linux primary clipboard.\n     * Defaults to true.\n     */\n    selectionClipboard?: boolean;\n    /**\n     * Control the rendering of line numbers.\n     * If it is a function, it will be invoked when rendering a line number and the return value will be rendered.\n     * Otherwise, if it is a truey, line numbers will be rendered normally (equivalent of using an identity function).\n     * Otherwise, line numbers will not be rendered.\n     * Defaults to true.\n     */\n    lineNumbers?: LineNumbers;\n    /**\n     * Should the corresponding line be selected when clicking on the line number?\n     * Defaults to true.\n     */\n    selectOnLineNumbers?: boolean;\n    /**\n     * Control the width of line numbers, by reserving horizontal space for rendering at least an amount of digits.\n     * Defaults to 5.\n     */\n    lineNumbersMinChars?: number;\n    /**\n     * Enable the rendering of the glyph margin.\n     * Defaults to true in vscode and to false in monaco-editor.\n     */\n    glyphMargin?: boolean;\n    /**\n     * The width reserved for line decorations (in px).\n     * Line decorations are placed between line numbers and the editor content.\n     * You can pass in a string in the format floating point followed by \"ch\". e.g. 1.3ch.\n     * Defaults to 10.\n     */\n    lineDecorationsWidth?: NumberInput;\n    /**\n     * When revealing the cursor, a virtual padding (px) is added to the cursor, turning it into a rectangle.\n     * This virtual padding ensures that the cursor gets revealed before hitting the edge of the viewport.\n     * Defaults to 30 (px).\n     */\n    revealHorizontalRightPadding?: number;\n    /**\n     * Render the editor selection with rounded borders.\n     * Defaults to true.\n     */\n    roundedSelection?: boolean;\n    /**\n     * Theme to be used for rendering.\n     * The current out-of-the-box available themes are: 'vs' (default), 'vs-dark', 'hc-black'.\n     * You can create custom themes via `monaco.editor.defineTheme`.\n     */\n    theme?: string;\n    /**\n     * Should the editor be read only.\n     * Defaults to false.\n     */\n    readOnly?: boolean;\n    /**\n     * Control the behavior and rendering of the scrollbars.\n     */\n    scrollbar?: EditorScrollbarOptions;\n    /**\n     * Display overflow widgets as `fixed`.\n     * Defaults to `false`.\n     */\n    fixedOverflowWidgets?: boolean;\n    /**\n     * The number of vertical lanes the overview ruler should render.\n     * Defaults to 2.\n     */\n    overviewRulerLanes?: number;\n    /**\n     * Control the cursor animation style, possible values are 'blink', 'smooth', 'phase', 'expand' and 'solid'.\n     * Defaults to 'blink'.\n     */\n    cursorBlinking?: string;\n    /**\n     * Zoom the font in the editor when using the mouse wheel in combination with holding Ctrl.\n     * Defaults to false.\n     */\n    mouseWheelZoom?: boolean;\n    /**\n     * Control the cursor style, either 'block' or 'line'.\n     * Defaults to 'line'.\n     */\n    cursorStyle?: string;\n    /**\n     * Enable font ligatures.\n     * Defaults to false.\n     */\n    fontLigatures?: boolean;\n    /**\n     * Disable the use of `translate3d`.\n     * Defaults to false.\n     */\n    disableTranslate3d?: boolean;\n    /**\n     * Disable the optimizations for monospace fonts.\n     * Defaults to false.\n     */\n    disableMonospaceOptimizations?: boolean;\n    /**\n     * Should the cursor be hidden in the overview ruler.\n     * Defaults to false.\n     */\n    hideCursorInOverviewRuler?: boolean;\n    /**\n     * Enable that scrolling can go one screen size after the last line.\n     * Defaults to true.\n     */\n    scrollBeyondLastLine?: boolean;\n    /**\n     * Enable that the editor will install an interval to check if its container dom node size has changed.\n     * Enabling this might have a severe performance impact.\n     * Defaults to false.\n     */\n    automaticLayout?: boolean;\n    /**\n     * Control the wrapping strategy of the editor.\n     * Using -1 means no wrapping whatsoever.\n     * Using 0 means viewport width wrapping (ajusts with the resizing of the editor).\n     * Using a positive number means wrapping after a fixed number of characters.\n     * Defaults to 300.\n     */\n    wrappingColumn?: number;\n    /**\n     * Control the alternate style of viewport wrapping.\n     * When set to true viewport wrapping is used only when the window width is less than the number of columns specified in the wrappingColumn property. Has no effect if wrappingColumn is not a positive number.\n     * Defaults to false.\n     */\n    wordWrap?: boolean;\n    /**\n     * Control indentation of wrapped lines. Can be: 'none', 'same' or 'indent'.\n     * Defaults to 'same' in vscode and to 'none' in monaco-editor.\n     */\n    wrappingIndent?: string;\n    /**\n     * Configure word wrapping characters. A break will be introduced before these characters.\n     * Defaults to '{([+'.\n     */\n    wordWrapBreakBeforeCharacters?: string;\n    /**\n     * Configure word wrapping characters. A break will be introduced after these characters.\n     * Defaults to ' \\t})]?|&,;'.\n     */\n    wordWrapBreakAfterCharacters?: string;\n    /**\n     * Configure word wrapping characters. A break will be introduced after these characters only if no `wordWrapBreakBeforeCharacters` or `wordWrapBreakAfterCharacters` were found.\n     * Defaults to '.'.\n     */\n    wordWrapBreakObtrusiveCharacters?: string;\n    /**\n     * Performance guard: Stop rendering a line after x characters.\n     * Defaults to 10000 if wrappingColumn is -1. Defaults to -1 if wrappingColumn is >= 0.\n     * Use -1 to never stop rendering\n     */\n    stopRenderingLineAfter?: number;\n    /**\n     * Enable hover.\n     * Defaults to true.\n     */\n    hover?: boolean;\n    /**\n     * Enable custom contextmenu.\n     * Defaults to true.\n     */\n    contextmenu?: boolean;\n    /**\n     * A multiplier to be used on the `deltaX` and `deltaY` of mouse wheel scroll events.\n     * Defaults to 1.\n     */\n    mouseWheelScrollSensitivity?: number;\n    /**\n     * Enable quick suggestions (shadow suggestions)\n     * Defaults to true.\n     */\n    quickSuggestions?: boolean;\n    /**\n     * Quick suggestions show delay (in ms)\n     * Defaults to 500 (ms)\n     */\n    quickSuggestionsDelay?: number;\n    /**\n     * Enables parameter hints\n     */\n    parameterHints?: boolean;\n    /**\n     * Render icons in suggestions box.\n     * Defaults to true.\n     */\n    iconsInSuggestions?: boolean;\n    /**\n     * Enable auto closing brackets.\n     * Defaults to true.\n     */\n    autoClosingBrackets?: boolean;\n    /**\n     * Enable format on type.\n     * Defaults to false.\n     */\n    formatOnType?: boolean;\n    /**\n     * Enable format on paste.\n     * Defaults to false.\n     */\n    formatOnPaste?: boolean;\n    /**\n     * Enable the suggestion box to pop-up on trigger characters.\n     * Defaults to true.\n     */\n    suggestOnTriggerCharacters?: boolean;\n    /**\n     * Accept suggestions on ENTER.\n     * Defaults to true.\n     */\n    acceptSuggestionOnEnter?: boolean;\n    /**\n     * Accept suggestions on provider defined characters.\n     * Defaults to true.\n     */\n    acceptSuggestionOnCommitCharacter?: boolean;\n    /**\n     * Enable snippet suggestions. Default to 'true'.\n     */\n    snippetSuggestions?: SnippetSuggestions;\n    /**\n     * Copying without a selection copies the current line.\n     */\n    emptySelectionClipboard?: boolean;\n    /**\n     * Enable tab completion. Defaults to 'false'\n     */\n    tabCompletion?: boolean;\n    /**\n     * Enable word based suggestions. Defaults to 'true'\n     */\n    wordBasedSuggestions?: boolean;\n    /**\n     * The font size for the suggest widget.\n     * Defaults to the editor font size.\n     */\n    suggestFontSize?: number;\n    /**\n     * The line height for the suggest widget.\n     * Defaults to the editor line height.\n     */\n    suggestLineHeight?: number;\n    /**\n     * Enable selection highlight.\n     * Defaults to true.\n     */\n    selectionHighlight?: boolean;\n    /**\n     * Show code lens\n     * Defaults to true.\n     */\n    codeLens?: boolean;\n    /**\n     * Enable code folding\n     * Defaults to true in vscode and to false in monaco-editor.\n     */\n    folding?: boolean;\n    /**\n     * Enable rendering of whitespace.\n     * Defaults to none.\n     */\n    renderWhitespace?: RenderWhitespace;\n    /**\n     * Enable rendering of control characters.\n     * Defaults to false.\n     */\n    renderControlCharacters?: boolean;\n    /**\n     * Enable rendering of indent guides.\n     * Defaults to false.\n     */\n    renderIndentGuides?: boolean;\n    /**\n     * Enable rendering of current line highlight.\n     * Defaults to all.\n     */\n    renderLineHighlight?: RenderLineHighlight;\n    /**\n     * Inserting and deleting whitespace follows tab stops.\n     */\n    useTabStops?: boolean;\n    /**\n     * The font family\n     */\n    fontFamily?: string;\n    /**\n     * The font weight\n     */\n    fontWeight?: FontWeight;\n    /**\n     * The font size\n     */\n    fontSize?: number;\n    /**\n     * The line height\n     */\n    lineHeight?: number;\n    /**\n     * Content to show\n     */\n    value: string;\n    /**\n     * Language of content to show\n     */\n    language: Language;\n}\n","/*\n *  @license\n *  Copyright Hôpitaux Universitaires de Genève. All Rights Reserved.\n *\n *  Use of this source code is governed by an Apache-2.0 license that can be\n *  found in the LICENSE file at https://github.com/DSI-HUG/dejajs-components/blob/master/LICENSE\n */\n\n/**\n * Configuration options for editor scrollbars\n */\nexport class EditorScrollbarOptions {\n    /**\n     * The size of arrows (if displayed).\n     * Defaults to 11.\n     */\n    public arrowSize?: number;\n    /**\n     * Render vertical scrollbar.\n     * Accepted values: 'auto', 'visible', 'hidden'.\n     * Defaults to 'auto'.\n     */\n    public vertical?: string;\n    /**\n     * Render horizontal scrollbar.\n     * Accepted values: 'auto', 'visible', 'hidden'.\n     * Defaults to 'auto'.\n     */\n    public horizontal?: string;\n    /**\n     * Cast horizontal and vertical shadows when the content is scrolled.\n     * Defaults to true.\n     */\n    public useShadows?: boolean;\n    /**\n     * Render arrows at the top and bottom of the vertical scrollbar.\n     * Defaults to false.\n     */\n    public verticalHasArrows?: boolean;\n    /**\n     * Render arrows at the left and right of the horizontal scrollbar.\n     * Defaults to false.\n     */\n    public horizontalHasArrows?: boolean;\n    /**\n     * Listen to mouse wheel events and react to them by scrolling.\n     * Defaults to true.\n     */\n    public handleMouseWheel?: boolean;\n    /**\n     * Height in pixels for the horizontal scrollbar.\n     * Defaults to 10 (px).\n     */\n    public horizontalScrollbarSize?: number;\n    /**\n     * Width in pixels for the vertical scrollbar.\n     * Defaults to 10 (px).\n     */\n    public verticalScrollbarSize?: number;\n    /**\n     * Width in pixels for the vertical slider.\n     * Defaults to `verticalScrollbarSize`.\n     */\n    public verticalSliderSize?: number;\n    /**\n     * Height in pixels for the horizontal slider.\n     * Defaults to `horizontalScrollbarSize`.\n     */\n    public horizontalSliderSize?: number;\n}\n","/*\n *  @license\n *  Copyright Hôpitaux Universitaires de Genève. All Rights Reserved.\n *\n *  Use of this source code is governed by an Apache-2.0 license that can be\n *  found in the LICENSE file at https://github.com/DSI-HUG/dejajs-components/blob/master/LICENSE\n */\n\nimport { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\n\nimport { MonacoEditorComponent } from './monaco-editor.component';\nimport { MonacoEditorControlModule } from './monaco-editor-control/monaco-editor-control.module';\n\n@NgModule({\n    declarations: [MonacoEditorComponent],\n    exports: [MonacoEditorComponent],\n    imports: [\n        CommonModule,\n        FormsModule,\n        MonacoEditorControlModule\n    ]\n})\nexport class MonacoEditorModule {}\n\nexport * from './options/editor-options.model';\nexport * from './options/editor-scrollbar-options.model';\nexport * from './monaco-editor.component';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1.MonacoEditorService","i4.MonacoEditorControlComponent"],"mappings":";;;;;;;;;;AAAA;;;;;;AAMG;AAq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