@worktile/theia 2.1.7 → 2.1.8

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.1.7",
3
+ "version": "2.1.8",
4
4
  "description": "theia editor",
5
5
  "author": "YanDong <nanianqiumo@foxmail.com>",
6
6
  "homepage": "https://github.com/atinc/theia#readme",
@@ -1,14 +1,9 @@
1
- import { ChangeDetectorRef, ElementRef, OnDestroy, OnInit } from '@angular/core';
2
1
  import { Editor } from 'slate';
3
2
  import { InlineCodeElement } from '../../custom-types';
4
3
  import { TheBaseElementComponent } from '../../interfaces';
5
4
  import * as i0 from "@angular/core";
6
- export declare class TheInlineCodeComponent extends TheBaseElementComponent<InlineCodeElement, Editor> implements OnInit, OnDestroy {
7
- elementRef: ElementRef;
8
- cdr: ChangeDetectorRef;
9
- constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
10
- ngOnInit(): void;
11
- ngOnDestroy(): void;
5
+ export declare class TheInlineCodeComponent extends TheBaseElementComponent<InlineCodeElement, Editor> {
6
+ inlineChromiumBugfix: string;
12
7
  static ɵfac: i0.ɵɵFactoryDeclaration<TheInlineCodeComponent, never>;
13
8
  static ɵcmp: i0.ɵɵComponentDeclaration<TheInlineCodeComponent, "span[theInlineCode]", never, {}, {}, never, never>;
14
9
  }
@@ -1,7 +1,7 @@
1
- import { Editor } from 'slate';
1
+ import { Editor, Path } from 'slate';
2
2
  export declare const InlineCodeEditor: {
3
3
  toggleInlineCode(editor: any, text?: string): void;
4
4
  wrapInlineCode(editor: Editor, text?: string): void;
5
5
  unwrapInlineCode(editor: Editor): void;
6
- isInlineCodeActive(editor: Editor): boolean;
6
+ isInlineCodeActive(editor: Editor, path?: Path): boolean;
7
7
  };
@@ -35,6 +35,7 @@ export declare class TheBaseLinkComponent extends TheBaseElementComponent<LinkEl
35
35
  static ɵcmp: i0.ɵɵComponentDeclaration<TheBaseLinkComponent, "[TheBaseLinkComponent]", never, {}, {}, never, never>;
36
36
  }
37
37
  export declare class TheLinkComponent extends TheBaseLinkComponent {
38
+ inlineChromiumBugfix: string;
38
39
  static ɵfac: i0.ɵɵFactoryDeclaration<TheLinkComponent, never>;
39
40
  static ɵcmp: i0.ɵɵComponentDeclaration<TheLinkComponent, "span[theLink]", never, {}, {}, never, never>;
40
41
  }