@worktile/theia 17.2.1 → 17.2.2
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/components/column-resize/overlay-handle.component.d.ts +3 -3
- package/esm2022/components/column-resize/overlay-handle.component.mjs +5 -5
- package/esm2022/plugins/color/toolbar-item.component.mjs +8 -3
- package/esm2022/plugins/table/components/table.component.mjs +2 -2
- package/fesm2022/worktile-theia.mjs +8 -4
- package/fesm2022/worktile-theia.mjs.map +1 -1
- package/interfaces/editor.d.ts +1 -1
- package/package.json +2 -2
- package/plugins/color/toolbar-item.component.d.ts +5 -1
- package/plugins/table/components/table.component.d.ts +1 -1
package/interfaces/editor.d.ts
CHANGED
|
@@ -69,7 +69,7 @@ export declare const TheEditor: {
|
|
|
69
69
|
isBlockCardLeftCursor(editor: AngularEditor): boolean;
|
|
70
70
|
isBlockCardRightCursor(editor: AngularEditor): boolean;
|
|
71
71
|
getCardCursorNode(editor: AngularEditor, blockCardNode: Node, options: {
|
|
72
|
-
direction: "left" | "
|
|
72
|
+
direction: "left" | "center" | "right";
|
|
73
73
|
}): ChildNode;
|
|
74
74
|
toSlateCardEntry(editor: AngularEditor, node: globalThis.Node): NodeEntry;
|
|
75
75
|
moveBlockCard(editor: AngularEditor, blockCardNode: Node, options: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@worktile/theia",
|
|
3
|
-
"version": "17.2.
|
|
3
|
+
"version": "17.2.2",
|
|
4
4
|
"description": "theia editor",
|
|
5
5
|
"author": "YanDong <nanianqiumo@foxmail.com>",
|
|
6
6
|
"homepage": "https://github.com/atinc/theia#readme",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"peerDependencies": {
|
|
39
39
|
"@angular/core": "^17.2.4",
|
|
40
40
|
"date-fns": ">= 2.6.0",
|
|
41
|
-
"slate-angular": ">= 17.1.
|
|
41
|
+
"slate-angular": ">= 17.1.3",
|
|
42
42
|
"slate": ">= 0.101.5",
|
|
43
43
|
"ngx-tethys": "^17.0.0",
|
|
44
44
|
"ng-codemirror": "^17.0.0",
|
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
|
+
import { ThyColorPickerPanel } from 'ngx-tethys/color-picker';
|
|
3
|
+
import { ThyPopoverRef } from 'ngx-tethys/popover';
|
|
2
4
|
import { TheBaseToolbarItem } from '../../core';
|
|
3
5
|
import * as i0 from "@angular/core";
|
|
4
6
|
export declare class TheColorToolbarItem extends TheBaseToolbarItem implements OnInit {
|
|
5
7
|
selectedColor: string;
|
|
8
|
+
pickerActive: boolean;
|
|
9
|
+
private panelOpenSelection;
|
|
6
10
|
get lastTextColor(): string;
|
|
7
11
|
get lastBackgroundColor(): string;
|
|
8
|
-
pickerActive: boolean;
|
|
9
12
|
constructor();
|
|
10
13
|
ngOnInit(): void;
|
|
11
14
|
selectionChange(): void;
|
|
@@ -14,6 +17,7 @@ export declare class TheColorToolbarItem extends TheBaseToolbarItem implements O
|
|
|
14
17
|
private getDefaultColor;
|
|
15
18
|
selectColor(event: Event): void;
|
|
16
19
|
changeColor(color: string): void;
|
|
20
|
+
colorPanelOpen(event: ThyPopoverRef<ThyColorPickerPanel>): void;
|
|
17
21
|
colorPanelClose(): void;
|
|
18
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<TheColorToolbarItem, never>;
|
|
19
23
|
static ɵcmp: i0.ɵɵComponentDeclaration<TheColorToolbarItem, "the-color-toolbar-item", never, {}, {}, never, never, true, never>;
|
|
@@ -95,7 +95,7 @@ export declare class TheTable extends TheBaseElement<TableElement, Editor> imple
|
|
|
95
95
|
subscribeCellsChange(): void;
|
|
96
96
|
useRowControls(): void;
|
|
97
97
|
detectChanges(): void;
|
|
98
|
-
resolveImage(): Promise<
|
|
98
|
+
resolveImage(): Promise<any[]> | Promise<boolean>;
|
|
99
99
|
getColControls(): void;
|
|
100
100
|
getIsInTable(): void;
|
|
101
101
|
initializeColumns(): void;
|