@byteluck-fe/model-driven-engine 2.7.0-alpha.33 → 2.7.0-alpha.36

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.
@@ -164,6 +164,10 @@ declare class Engine extends Watcher<EventKeys> {
164
164
  * 判断控件的类型,返回当前控件的正确类型
165
165
  * */
166
166
  assertInstance<T extends ControlsKeys>(instance: ControlRuntimeInstance<ControlsKeys> | RuntimeControl, types: T | T[]): instance is ControlRuntimeInstance<T>;
167
+ /**
168
+ * 判断控件或控件类型是一个自定义控件
169
+ * */
170
+ assertInstanceIsCustomControl(instance: ControlRuntimeInstance<ControlsKeys> | RuntimeControl): boolean;
167
171
  /**
168
172
  * 获取控件在明细子表中的行下标,
169
173
  * 如果控件在表头内,则返回-1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@byteluck-fe/model-driven-engine",
3
- "version": "2.7.0-alpha.33",
3
+ "version": "2.7.0-alpha.36",
4
4
  "description": "> TODO: description",
5
5
  "author": "郝晨光 <2293885211@qq.com>",
6
6
  "homepage": "",
@@ -26,13 +26,13 @@
26
26
  "postpublish": "node ../../scripts/postpublish.js"
27
27
  },
28
28
  "dependencies": {
29
- "@byteluck-fe/model-driven-core": "2.7.0-alpha.33",
30
- "@byteluck-fe/model-driven-shared": "2.7.0-alpha.33",
29
+ "@byteluck-fe/model-driven-core": "2.7.0-alpha.36",
30
+ "@byteluck-fe/model-driven-shared": "2.7.0-alpha.36",
31
31
  "@types/mathjs": "^9.4.2",
32
32
  "mathjs": "^11.3.3"
33
33
  },
34
34
  "devDependencies": {
35
35
  "@types/node": "~18.0.6"
36
36
  },
37
- "gitHead": "4c6fd6233229bac018b336bf24aac232cc5875de"
37
+ "gitHead": "b72edbcccc5bba844896079fe22d9f7840e9f0bc"
38
38
  }