@hailin-zheng/editor-core 2.2.29 → 2.2.30

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.
@@ -8,6 +8,11 @@ export declare class DynamicExecute {
8
8
  depItems?: Map<string, RefCtxValue>;
9
9
  constructor(doc: BranchElement, ss: SelectionState);
10
10
  create(): DynamicExecute;
11
+ /**
12
+ * 设置当前执行上下文
13
+ * 一般情况下为document,但是如果为病程录文档,需要设置为当前病程录part
14
+ */
15
+ setExecuteCtx(parseEle: Element): BranchElement;
11
16
  setCurrentCtx(ele: Element, depItems: Map<string, RefCtxValue>): void;
12
17
  clearCurrentCtx(): void;
13
18
  cacheList: ReturnType<DocumentContext['getDataElementModelList']>;
@@ -430,6 +430,7 @@ export interface IParserExpress {
430
430
  compliedCode: string;
431
431
  func: Function;
432
432
  depItems: Map<string, RefCtxValue>;
433
+ executeCtx: BranchElement;
433
434
  }
434
435
  export interface ElementAttribute {
435
436
  visibleExpr?: string;
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "author": "hailin-zheng",
5
5
  "private": false,
6
6
  "license": "ISC",
7
- "version": "2.2.29",
7
+ "version": "2.2.30",
8
8
  "scripts": {},
9
9
  "dependencies": {
10
10
  "moment": "^2.29.3",