@byteluck-fe/model-driven-engine 2.8.1-beta1 → 2.8.2-beta.1
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.
|
@@ -68,6 +68,7 @@ declare class Engine extends Watcher<EventKeys> {
|
|
|
68
68
|
private _proxyStateBeforeSetCallback;
|
|
69
69
|
private _proxyStateCallback;
|
|
70
70
|
private _handlerArrayUpdate;
|
|
71
|
+
private _handlerSubtableUpdateUid;
|
|
71
72
|
private _handlerObjectUpdate;
|
|
72
73
|
private applyPlugins;
|
|
73
74
|
listControlCreateRow<RowType extends ControlsKeys>(instance: RuntimeListControl, rowType: RowType): RuntimeControl | NonNullable<InstanceType<import("@byteluck-fe/model-driven-core").ControlsConstructor<RowType, "Runtime">>> | undefined;
|
|
@@ -81,6 +82,13 @@ declare class Engine extends Watcher<EventKeys> {
|
|
|
81
82
|
updateInstanceProps(instance: SchemaEventPayload['instance'] | string, props: string, value: unknown, rowIndex?: number): void;
|
|
82
83
|
getRule(controlType: string, props: any): any[];
|
|
83
84
|
getAllRules(controlId?: string): {
|
|
85
|
+
rules: Record<string, import("async-validator").RuleItem>;
|
|
86
|
+
antdRules: Record<string, import("async-validator").RuleItem>;
|
|
87
|
+
fieldCodeRules: Record<string, import("async-validator").RuleItem>;
|
|
88
|
+
defaultAntdRules: Record<string, import("async-validator").RuleItem>;
|
|
89
|
+
defaultRule: Record<string, import("async-validator").RuleItem>;
|
|
90
|
+
defaultFieldRules: Record<string, import("async-validator").RuleItem>;
|
|
91
|
+
} | {
|
|
84
92
|
rules: import("async-validator").Rules | undefined;
|
|
85
93
|
antdRules: import("async-validator").Rules | undefined;
|
|
86
94
|
};
|
|
@@ -146,7 +154,7 @@ declare class Engine extends Watcher<EventKeys> {
|
|
|
146
154
|
* @param controlId
|
|
147
155
|
* @param rowIndex
|
|
148
156
|
*/
|
|
149
|
-
getInstance(controlId
|
|
157
|
+
getInstance(controlId?: string, rowIndex?: number): ControlRuntimeInstance<ControlsKeys> | undefined;
|
|
150
158
|
/**
|
|
151
159
|
* 获取组件实例,明细表中的组件将会得到数组, 第二个参数为(false/不传入)则获取到的是明细表内不包含表头内实例的所有控件实例,传入true则获取到包含表头内实例的所有控件实例,表头内实例永远在下标0的位置
|
|
152
160
|
* @param controlId
|
|
@@ -20,6 +20,10 @@ export declare class Runtime extends RegisterControls<'Runtime'> {
|
|
|
20
20
|
get allRules(): {
|
|
21
21
|
rules: Record<string, RuleItem>;
|
|
22
22
|
antdRules: Record<string, RuleItem>;
|
|
23
|
+
fieldCodeRules: Record<string, RuleItem>;
|
|
24
|
+
defaultAntdRules: Record<string, RuleItem>;
|
|
25
|
+
defaultRule: Record<string, RuleItem>;
|
|
26
|
+
defaultFieldRules: Record<string, RuleItem>;
|
|
23
27
|
};
|
|
24
28
|
get rules(): Record<string, RuleItem>;
|
|
25
29
|
get fieldCodeRules(): Record<string, RuleItem>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@byteluck-fe/model-driven-engine",
|
|
3
|
-
"version": "2.8.1
|
|
3
|
+
"version": "2.8.2-beta.1",
|
|
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.8.1
|
|
30
|
-
"@byteluck-fe/model-driven-shared": "2.8.1-
|
|
29
|
+
"@byteluck-fe/model-driven-core": "2.8.2-beta.1",
|
|
30
|
+
"@byteluck-fe/model-driven-shared": "2.8.1-beta.14",
|
|
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": "
|
|
37
|
+
"gitHead": "a23ec01127f7049c90a1ae407aa0d14a56b60c87"
|
|
38
38
|
}
|