@byteluck-fe/model-driven-engine 2.22.2-beta.0 → 2.22.2-beta.2
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.
- package/dist/esm/common/ActionManager.js +3 -3
- package/dist/esm/common/DataManager.js +2 -2
- package/dist/esm/common/Engine.js +57 -55
- package/dist/esm/common/OkWorker.js +8 -8
- package/dist/esm/common/Runtime.js +15 -15
- package/dist/esm/common/Store.js +9 -9
- package/dist/esm/common/checkerValue.js +22 -22
- package/dist/esm/common/index.js +2 -2
- package/dist/esm/common/proxyState.js +34 -38
- package/dist/esm/index.js +3 -3
- package/dist/esm/plugins/CalcPlugin.js +14 -18
- package/dist/esm/plugins/ControlsEventPlugin.js +4 -4
- package/dist/esm/plugins/ES6ModulePlugin.js +6 -6
- package/dist/esm/plugins/LifecycleEventPlugin.js +5 -5
- package/dist/esm/plugins/StylePlugin.js +4 -4
- package/dist/esm/plugins/index.js +5 -5
- package/dist/esm/utils/index.js +1 -1
- package/dist/esm/utils/runtimeUtils.js +3 -3
- package/dist/index.umd.js +25 -25
- package/dist/types/common/Engine.d.ts +7 -1
- package/package.json +4 -4
|
@@ -41,8 +41,11 @@ type EngineProps<T extends keyof LayoutControls = keyof LayoutControls> = {
|
|
|
41
41
|
debug?: boolean;
|
|
42
42
|
externalParams?: Record<string, unknown>;
|
|
43
43
|
messagesI18n: any;
|
|
44
|
+
children: {
|
|
45
|
+
[key: string]: Engine;
|
|
46
|
+
};
|
|
44
47
|
};
|
|
45
|
-
type EventKeys = 'click' | 'click-finish' | 'wps-open' | 'wps-save' | 'wps-rename' | 'change' | 'schema-change' | 'search' | 'checked' | 'input' | 'focus' | 'blur' | 'list-change' | 'list-splice' | 'list-delete' | 'list-before-insert' | 'list-search' | 'list-mounted' | 'list-actions' | 'engine-mounted' | 'engine-submit' | 'engine-submit-params' | 'engine-submitted' | string;
|
|
48
|
+
type EventKeys = 'click' | 'click-finish' | 'wps-open' | 'wps-save' | 'wps-rename' | 'change' | 'schema-change' | 'search' | 'checked' | 'input' | 'focus' | 'blur' | 'list-change' | 'list-splice' | 'list-delete' | 'list-before-insert' | 'list-search' | 'list-mounted' | 'list-actions' | 'engine-mounted' | 'engine-submit' | 'engine-submit-params' | 'engine-submitted' | 'engine-initialized' | 'engine-after-initialized' | string;
|
|
46
49
|
declare class Engine extends Watcher<EventKeys> {
|
|
47
50
|
private store;
|
|
48
51
|
rawStore: Record<string, any>;
|
|
@@ -51,6 +54,9 @@ declare class Engine extends Watcher<EventKeys> {
|
|
|
51
54
|
isMounted: boolean;
|
|
52
55
|
id: string;
|
|
53
56
|
readonly externalParams?: Record<string, any>;
|
|
57
|
+
children: {
|
|
58
|
+
[key: string]: Engine;
|
|
59
|
+
};
|
|
54
60
|
private __plugins;
|
|
55
61
|
private __pluginsApplied;
|
|
56
62
|
private readonly $options;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@byteluck-fe/model-driven-engine",
|
|
3
|
-
"version": "2.22.2-beta.
|
|
3
|
+
"version": "2.22.2-beta.2",
|
|
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.22.2-beta.
|
|
30
|
-
"@byteluck-fe/model-driven-shared": "2.22.2-beta.
|
|
29
|
+
"@byteluck-fe/model-driven-core": "2.22.2-beta.1",
|
|
30
|
+
"@byteluck-fe/model-driven-shared": "2.22.2-beta.1",
|
|
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": "20de5a1b57d4251de0c8a158aff88a95931b3cba"
|
|
38
38
|
}
|