ht-emr 0.7.53 → 0.7.54

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.
@@ -119,6 +119,10 @@ export declare class Cursor {
119
119
  */
120
120
  focus(): void;
121
121
  private _clearFocusTimeout;
122
+ /**
123
+ * 在当前指针事件的浏览器默认聚焦行为结束后恢复输入焦点。
124
+ */
125
+ requestFocus(): void;
122
126
  private _clearVisibilityFrame;
123
127
  /**
124
128
  * 元素已变更但新布局尚未生成时,取消旧光标的滚动检查。
@@ -579,6 +579,7 @@ export declare class Draw {
579
579
  * 在删除、光标移动或鼠标定位前刷新待绘制的输入。
580
580
  */
581
581
  flushPendingRender(): void;
582
+ private _takePendingRenderOption;
582
583
  private _cancelPendingRender;
583
584
  /**
584
585
  * 获取Canvas页面元素
@@ -11,6 +11,7 @@ export interface IDrawOption {
11
11
  isLazy?: boolean;
12
12
  isInit?: boolean;
13
13
  isSourceHistory?: boolean;
14
+ isContentChange?: boolean;
14
15
  isFirstRender?: boolean;
15
16
  isDel?: boolean;
16
17
  traceLabel?: string;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "ht-emr",
3
3
  "author": "swj",
4
4
  "license": "MIT",
5
- "version": "0.7.53",
5
+ "version": "0.7.54",
6
6
  "description": "rich text editor by canvas/svg",
7
7
  "publishConfig": {
8
8
  "registry": "https://registry.npmjs.org/",