@compass-framework/ime 1.0.13 → 1.0.14
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.
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import {
|
|
2
|
+
InputConnection,
|
|
3
|
+
EditorInfo,
|
|
4
|
+
KeyEvent,
|
|
5
|
+
InputMethod,
|
|
6
|
+
} from "@compass-framework/core";
|
|
7
|
+
|
|
8
|
+
export declare class WebInputMethod implements InputMethod {
|
|
9
|
+
public dispatchKeyEvent(event: KeyEvent): void;
|
|
10
|
+
|
|
11
|
+
public installEditContextEvents(): void;
|
|
12
|
+
|
|
13
|
+
public startInput(inputConnection: InputConnection, editorInfo: EditorInfo): void;
|
|
14
|
+
|
|
15
|
+
public finishInput(): void;
|
|
16
|
+
|
|
17
|
+
public showSoftInput(): void;
|
|
18
|
+
|
|
19
|
+
public hideSoftInput(): void;
|
|
20
|
+
|
|
21
|
+
public updateEditContextSelection(selectStart: number, selectEnd: number): void;
|
|
22
|
+
|
|
23
|
+
public updateEditContextText(): void;
|
|
24
|
+
|
|
25
|
+
public updateControlBounds(): void;
|
|
26
|
+
|
|
27
|
+
public updateSelectionBounds(): void;
|
|
28
|
+
|
|
29
|
+
public updateCharacterBounds(): void;
|
|
30
|
+
|
|
31
|
+
public updateCursor(left: number, top: number, right: number, bottom: number): void;
|
|
32
|
+
|
|
33
|
+
public updateSelection(oldSelStart: number, oldSelEnd: number, newSelStart: number, newSelEnd: number, candidatesStart: number, candidatesEnd: number): void;
|
|
34
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@compass-framework/ime",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.14",
|
|
4
4
|
"description": "@compass-framework/ime public api",
|
|
5
5
|
"types": "./index.d.ts",
|
|
6
6
|
"main": "./index.js",
|
|
@@ -11,6 +11,6 @@
|
|
|
11
11
|
"access": "public"
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@compass-framework/core": "1.2.
|
|
14
|
+
"@compass-framework/core": "1.2.62"
|
|
15
15
|
}
|
|
16
16
|
}
|