ht-emr 0.7.51 → 0.7.52

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.
@@ -310,7 +310,12 @@ export declare class Draw {
310
310
  * @private
311
311
  */
312
312
  private hideTextFieldWhitespace;
313
- private getSubTemplateRuntimeEndIndex;
313
+ getSubTemplateRuntimeEndIndex(elementList: IElement[], startIndex: number, subTemplateId?: string): number;
314
+ /**
315
+ * 将展开后的可编辑内容回写到子模板快照。
316
+ * 运行时元素不会直接导出,因此必须在重新渲染或收起前同步。
317
+ */
318
+ syncSubTemplateRuntimeContent(): void;
314
319
  private getLegacySubTemplateRuntimeEndIndex;
315
320
  private syncSubTemplateExpandedState;
316
321
  private applySubTemplateRuntimeState;
@@ -14,6 +14,8 @@ export declare class MenstrualHistoryParticle {
14
14
  private options;
15
15
  private inputModal;
16
16
  private isPopup;
17
+ private measureContext;
18
+ private sizeCache;
17
19
  constructor(draw: Draw);
18
20
  /**
19
21
  * 计算月经史控件的尺寸
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.51",
5
+ "version": "0.7.52",
6
6
  "description": "rich text editor by canvas/svg",
7
7
  "publishConfig": {
8
8
  "registry": "https://registry.npmjs.org/",