ht-emr 0.7.49 → 0.7.51

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.
@@ -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
  * 子模板元素属性接口
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.49",
5
+ "version": "0.7.51",
6
6
  "description": "rich text editor by canvas/svg",
7
7
  "publishConfig": {
8
8
  "registry": "https://registry.npmjs.org/",