@worktile/theia 20.2.14 → 21.0.0-next.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": "20.2.14",
3
+ "version": "21.0.0-next.1",
4
4
  "description": "theia editor",
5
5
  "author": "YanDong <nanianqiumo@foxmail.com>",
6
6
  "homepage": "https://github.com/atinc/theia#readme",
@@ -12,7 +12,7 @@
12
12
  "exports": {
13
13
  ".": {
14
14
  "sass": "./styles/index.scss",
15
- "types": "./index.d.ts",
15
+ "types": "./types/worktile-theia.d.ts",
16
16
  "default": "./fesm2022/worktile-theia.mjs"
17
17
  },
18
18
  "./styles/index": {
@@ -34,17 +34,18 @@
34
34
  "marked": "^12.0.2"
35
35
  },
36
36
  "peerDependencies": {
37
- "@angular/core": "^20.0.0",
37
+ "@angular/core": "^21.0.0",
38
38
  "date-fns": "^4.1.0",
39
- "slate-angular": "20.2.21",
39
+ "slate-angular": "^21.0.0-next.0",
40
40
  "slate": "^0.117.2",
41
41
  "slate-dom": "^0.116.0",
42
- "ngx-tethys": "^20.0.0",
43
- "ng-codemirror": "^20.2.4",
44
- "lodash": "^4.17.21",
42
+ "ngx-tethys": "^21.0.0-next.2",
43
+ "ng-codemirror": "^21.0.0",
44
+ "lodash-es": "^4.17.21",
45
45
  "marked": "^12.0.2"
46
46
  },
47
47
  "module": "fesm2022/worktile-theia.mjs",
48
- "typings": "index.d.ts",
49
- "sideEffects": false
48
+ "typings": "types/worktile-theia.d.ts",
49
+ "sideEffects": false,
50
+ "type": "module"
50
51
  }
@@ -1,7 +1,7 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { InjectionToken, OnInit, OnDestroy, NgZone, ViewContainerRef, Signal, PipeTransform, AfterViewInit, ChangeDetectorRef, Injector, ElementRef, QueryList, Renderer2, TemplateRef, OnChanges, ComponentRef, SimpleChanges, AfterContentInit, EventEmitter, DestroyRef, WritableSignal } from '@angular/core';
3
3
  import * as slate from 'slate';
4
- import { Editor, Node, Ancestor, Range as Range$1, Path, Point, Element as Element$1, Text, Span, NodeEntry, Descendant, PathRef, Location, RangeRef, BaseRange } from 'slate';
4
+ import { Editor, Element as Element$1, Text, Ancestor, Node, Range as Range$1, Path, Point, Span, NodeEntry, Descendant, PathRef, Location, RangeRef, BaseRange } from 'slate';
5
5
  import * as slate_angular from 'slate-angular';
6
6
  import { AngularEditor, SlatePlaceholder, ViewType, ClipboardData, BaseElementComponent, ComponentType, DefaultTextFlavour, SlateError, SlateVirtualScrollConfig, BeforeContextChange, SlateElementContext } from 'slate-angular';
7
7
  import { ComponentType as ComponentType$1 } from '@angular/cdk/portal';
@@ -21,7 +21,7 @@ import { NgCodeMirrorOptions, CodeMirrorComponent } from 'ng-codemirror';
21
21
  import { ThyResizeEvent } from 'ngx-tethys/resizable';
22
22
  import { ThyPlacement } from 'ngx-tethys/core';
23
23
  import { ThyNotifyService } from 'ngx-tethys/notify';
24
- export { assign, cloneDeep, debounce, defaults, groupBy, isEqual, map, uniq } from 'lodash';
24
+ export { assign, cloneDeep, debounce, defaults, groupBy, isEqual, map, uniq } from 'lodash-es';
25
25
 
26
26
  declare const PICTURE_ACCEPTED_UPLOAD_MIME: string[];
27
27
  declare const PICTURE_ACCEPTED_UPLOAD_SIZE = 50;
@@ -705,7 +705,7 @@ declare class TableStore implements OnDestroy {
705
705
  selectCells(editor: Editor, metaKey?: boolean): void;
706
706
  selectFirstCell(): void;
707
707
  selectCell(cell: HTMLTableCellElement, editor: Editor, metaKey?: boolean): void;
708
- selectCellOngoing(cell: HTMLTableCellElement, editor: Editor, event: MouseEvent): void;
708
+ selectCellOngoing(cell: HTMLTableCellElement, editor: Editor, event?: MouseEvent): void;
709
709
  clearSelectedCells(): void;
710
710
  clearLastFocusPath(): void;
711
711
  selectedCellsChange(): Observable<TableCellElement[]>;