ht-emr 0.7.50 → 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
|
-
|
|
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;
|
|
@@ -267,10 +267,18 @@ export interface ITemplateCondition {
|
|
|
267
267
|
label: string;
|
|
268
268
|
/** 精确匹配值 */
|
|
269
269
|
value?: string;
|
|
270
|
-
/**
|
|
270
|
+
/** 运行时正则表达式;未提供 value 时使用 */
|
|
271
271
|
regex?: string;
|
|
272
272
|
/** 字段来源,默认 all */
|
|
273
273
|
source?: ITemplateConditionSource;
|
|
274
|
+
/** 匹配模式;range 模式使用区间数值比较 */
|
|
275
|
+
matchMode?: 'equal' | 'range' | 'regex';
|
|
276
|
+
/** 相等模式的配置值,不参与运行时匹配 */
|
|
277
|
+
matchValue?: string;
|
|
278
|
+
/** 区间模式的最小值,包含边界 */
|
|
279
|
+
rangeMin?: string;
|
|
280
|
+
/** 区间模式的最大值,包含边界 */
|
|
281
|
+
rangeMax?: string;
|
|
274
282
|
}
|
|
275
283
|
/**
|
|
276
284
|
* 子模板元素属性接口
|