@worktile/theia 17.4.8 → 17.4.9
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/esm2022/components/plugin-menu/plugin-menu.component.mjs +3 -3
- package/fesm2022/worktile-theia.mjs +2 -2
- package/fesm2022/worktile-theia.mjs.map +1 -1
- package/interfaces/editor.d.ts +2 -2
- package/package.json +1 -1
- package/plugins/table/components/table.component.d.ts +1 -1
- package/queries/is-range-across-blocks.d.ts +1 -1
package/interfaces/editor.d.ts
CHANGED
|
@@ -63,7 +63,7 @@ export declare const TheEditor: {
|
|
|
63
63
|
exactMatch?: boolean;
|
|
64
64
|
suppressThrow: T_1;
|
|
65
65
|
}): T_1 extends true ? import("slate").BasePoint : import("slate").BasePoint;
|
|
66
|
-
toSlateRange<T_2 extends boolean>(editor: AngularEditor, domRange:
|
|
66
|
+
toSlateRange<T_2 extends boolean>(editor: AngularEditor, domRange: globalThis.Range | StaticRange | Selection, options?: {
|
|
67
67
|
exactMatch?: boolean;
|
|
68
68
|
suppressThrow: T_2;
|
|
69
69
|
}): T_2 extends true ? import("slate").BaseRange : import("slate").BaseRange;
|
|
@@ -71,7 +71,7 @@ export declare const TheEditor: {
|
|
|
71
71
|
isBlockCardLeftCursor(editor: AngularEditor): boolean;
|
|
72
72
|
isBlockCardRightCursor(editor: AngularEditor): boolean;
|
|
73
73
|
getCardCursorNode(editor: AngularEditor, blockCardNode: Node, options: {
|
|
74
|
-
direction: "
|
|
74
|
+
direction: "center" | "left" | "right";
|
|
75
75
|
}): ChildNode;
|
|
76
76
|
toSlateCardEntry(editor: AngularEditor, node: globalThis.Node): NodeEntry;
|
|
77
77
|
moveBlockCard(editor: AngularEditor, blockCardNode: Node, options: {
|
package/package.json
CHANGED
|
@@ -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<boolean> | Promise<any[]>;
|
|
99
99
|
getColControls(): void;
|
|
100
100
|
getIsInTable(): void;
|
|
101
101
|
initializeColumns(): void;
|
|
@@ -3,6 +3,6 @@ import { EditorAboveOptions } from '../interfaces';
|
|
|
3
3
|
/**
|
|
4
4
|
* Is the range (default: selection) across blocks.
|
|
5
5
|
*/
|
|
6
|
-
export declare const isRangeAcrossBlocks: (editor: Editor, { at, ...options }?: Omit<EditorAboveOptions<import("slate").Ancestor>, "
|
|
6
|
+
export declare const isRangeAcrossBlocks: (editor: Editor, { at, ...options }?: Omit<EditorAboveOptions<import("slate").Ancestor>, "at" | "match"> & {
|
|
7
7
|
at?: Range | null;
|
|
8
8
|
}) => boolean;
|