@worktile/theia 2.0.0 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@worktile/theia",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "description": "theia editor",
5
5
  "author": "YanDong <nanianqiumo@foxmail.com>",
6
6
  "homepage": "https://github.com/atinc/theia#readme",
@@ -2,7 +2,7 @@ import { ElementRef, ChangeDetectorRef, OnInit, AfterViewInit, NgZone } from '@a
2
2
  import { ThyNotifyService } from 'ngx-tethys/notify';
3
3
  import { Editor } from 'slate';
4
4
  import { CodeMirrorComponent } from 'ng-codemirror';
5
- import { DropdownMode, CodeMode } from '../../constants';
5
+ import { DropdownMode, TheCodeMode } from '../../constants';
6
6
  import { DefaultToolbarItem, TheBaseElementComponent } from '../../interfaces';
7
7
  import { CodeElement } from '../../custom-types';
8
8
  import * as i0 from "@angular/core";
@@ -11,7 +11,7 @@ export declare class TheCodeComponent extends TheBaseElementComponent<CodeElemen
11
11
  cdr: ChangeDetectorRef;
12
12
  private thyNotifyService;
13
13
  private ngZone;
14
- private mode;
14
+ private config;
15
15
  startRenderCodemirror: boolean;
16
16
  dropdownMode: typeof DropdownMode;
17
17
  maxHeight: number;
@@ -33,7 +33,7 @@ export declare class TheCodeComponent extends TheBaseElementComponent<CodeElemen
33
33
  get code(): string;
34
34
  codemirror: CodeMirrorComponent;
35
35
  onContextChange(): void;
36
- constructor(elementRef: ElementRef, cdr: ChangeDetectorRef, thyNotifyService: ThyNotifyService, ngZone: NgZone, mode: CodeMode);
36
+ constructor(elementRef: ElementRef, cdr: ChangeDetectorRef, thyNotifyService: ThyNotifyService, ngZone: NgZone, config: TheCodeMode);
37
37
  ngOnInit(): void;
38
38
  ngAfterViewInit(): void;
39
39
  renderCodemirror(): void;