@hailin-zheng/editor-core 2.0.26 → 2.0.28

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.
@@ -88,7 +88,7 @@ export declare class DocEditor {
88
88
  * @param visibility
89
89
  */
90
90
  setCursorVisibility(visibility: boolean): void;
91
- hiddenInput(reset?: boolean): void;
91
+ hiddenInput(reset?: boolean, pos?: Omit<Rect, 'width'> | null): void;
92
92
  /**
93
93
  * 设置光标位置
94
94
  * @param position
@@ -98,12 +98,6 @@ export declare class DocEditor {
98
98
  y: number;
99
99
  height: number;
100
100
  }): void;
101
- /**
102
- * 将相对坐标位置转换为绝对坐标位
103
- * 由于缩放,导致绝对位置=相对位置*scale
104
- * @param pos
105
- */
106
- transToAbsolutePos<T extends Position | Rect>(pos: T): T;
107
101
  /**
108
102
  * 判断是否光标可以设置接受编辑
109
103
  * @returns
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "author": "hailin-zheng",
5
5
  "private": false,
6
6
  "license": "ISC",
7
- "version": "2.0.26",
7
+ "version": "2.0.28",
8
8
  "scripts": {},
9
9
  "dependencies": {
10
10
  "bwip-js": "^3.0.5",