@worktile/theia 20.1.0-next.6 → 20.1.0-next.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/fesm2022/worktile-theia.mjs +21 -17
- package/fesm2022/worktile-theia.mjs.map +1 -1
- package/index.d.ts +4 -5
- package/package.json +2 -2
package/index.d.ts
CHANGED
|
@@ -202,7 +202,6 @@ interface TheEditor extends AngularEditor, HistoryEditor {
|
|
|
202
202
|
renderElement: (element: Element$1) => ViewType;
|
|
203
203
|
renderLeaf: (text: Text) => ViewType;
|
|
204
204
|
isContainer: (element: Element$1) => boolean;
|
|
205
|
-
isVisible: (element: Element$1) => boolean;
|
|
206
205
|
}
|
|
207
206
|
declare const TheEditor: typeof AngularEditor;
|
|
208
207
|
declare enum TheDataMode {
|
|
@@ -1713,6 +1712,7 @@ declare class TheTable extends TheBaseElement<TableElement, Editor> implements O
|
|
|
1713
1712
|
private bindTableMouseEvents;
|
|
1714
1713
|
private bindScrollbarEvents;
|
|
1715
1714
|
private updateHorizontalScrollbar;
|
|
1715
|
+
private syncMouseOverState;
|
|
1716
1716
|
private updateScrollbarVisibility;
|
|
1717
1717
|
private updateScrollbarFixedState;
|
|
1718
1718
|
private getViewportHeight;
|
|
@@ -2804,13 +2804,12 @@ declare class TheEditorComponent implements OnInit, AfterViewInit, OnChanges, On
|
|
|
2804
2804
|
get options(): TheOptions;
|
|
2805
2805
|
get theGlobalToolbarInstance(): TheToolbarComponent;
|
|
2806
2806
|
get maxHeight(): string;
|
|
2807
|
-
|
|
2807
|
+
virtualScrollConfig: i0.WritableSignal<{
|
|
2808
2808
|
enabled: boolean;
|
|
2809
2809
|
scrollTop: number;
|
|
2810
2810
|
viewportHeight: number;
|
|
2811
2811
|
bufferCount: number;
|
|
2812
2812
|
}>;
|
|
2813
|
-
private scrollContainerElement?;
|
|
2814
2813
|
private onChangeCallback;
|
|
2815
2814
|
private onTouchedCallback;
|
|
2816
2815
|
private locale;
|
|
@@ -2819,8 +2818,8 @@ declare class TheEditorComponent implements OnInit, AfterViewInit, OnChanges, On
|
|
|
2819
2818
|
ngAfterViewInit(): void;
|
|
2820
2819
|
ngOnChanges(changes: SimpleChanges): void;
|
|
2821
2820
|
ngOnDestroy(): void;
|
|
2822
|
-
private
|
|
2823
|
-
private
|
|
2821
|
+
private listenScrollEvent;
|
|
2822
|
+
private updateVirtualConfig;
|
|
2824
2823
|
private initialize;
|
|
2825
2824
|
private initializeOptions;
|
|
2826
2825
|
private initializeContext;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@worktile/theia",
|
|
3
|
-
"version": "20.1.0-next.
|
|
3
|
+
"version": "20.1.0-next.8",
|
|
4
4
|
"description": "theia editor",
|
|
5
5
|
"author": "YanDong <nanianqiumo@foxmail.com>",
|
|
6
6
|
"homepage": "https://github.com/atinc/theia#readme",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"peerDependencies": {
|
|
37
37
|
"@angular/core": "^20.0.0",
|
|
38
38
|
"date-fns": "^4.1.0",
|
|
39
|
-
"slate-angular": "^20.2.0-next.
|
|
39
|
+
"slate-angular": "^20.2.0-next.13",
|
|
40
40
|
"slate": "^0.117.2",
|
|
41
41
|
"slate-dom": "^0.116.0",
|
|
42
42
|
"ngx-tethys": "^20.0.0",
|