@byteluck-fe/model-driven-engine 1.7.0 → 1.7.3
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 +136 -33
- package/dist/esm/common/DataManager.js +113 -18
- package/dist/esm/common/Engine.js +174 -75
- package/dist/esm/common/OkWorker.js +5 -5
- package/dist/esm/common/Store.js +10 -10
- package/dist/esm/common/checkerValue.js +2 -2
- package/dist/esm/common/proxyState.js +9 -9
- package/dist/esm/plugins/CalcPlugin.js +17 -17
- package/dist/esm/plugins/ControlsEventPlugin.js +175 -67
- package/dist/esm/plugins/ES6ModulePlugin.js +2 -2
- package/dist/esm/plugins/LifecycleEventPlugin.js +165 -61
- package/dist/esm/plugins/StylePlugin.js +3 -3
- package/dist/esm/utils/runtimeUtils.js +2 -4
- package/dist/index.umd.js +8 -8
- package/dist/types/common/Engine.d.ts +7 -7
- package/dist/types/common/Runtime.d.ts +1 -1
- package/dist/types/common/Store.d.ts +6 -6
- package/dist/types/common/proxyState.d.ts +3 -3
- package/dist/types/plugins/ControlsEventPlugin.d.ts +1 -1
- package/dist/types/plugins/ES6ModulePlugin.d.ts +4 -4
- package/dist/types/plugins/LifecycleEventPlugin.d.ts +1 -1
- package/dist/types/plugins/StylePlugin.d.ts +1 -1
- package/package.json +4 -4
|
@@ -20,9 +20,8 @@ export function loopFormControl(control, callback) {
|
|
|
20
20
|
var children = item.getChildrenFormControl();
|
|
21
21
|
callback(item, children);
|
|
22
22
|
} else if (hasChildrenControl(item)) {
|
|
23
|
-
var ref;
|
|
24
23
|
// @ts-ignore
|
|
25
|
-
loopFormControl(
|
|
24
|
+
loopFormControl(item === null || item === void 0 ? void 0 : item.children, callback);
|
|
26
25
|
// @ts-ignore
|
|
27
26
|
} else if (_instanceof(item, RuntimeFormControl)) {
|
|
28
27
|
callback(item);
|
|
@@ -39,9 +38,8 @@ callback) {
|
|
|
39
38
|
item.type === CONTROL_TYPE.SIMPLE_SEARCH) {
|
|
40
39
|
callback(item);
|
|
41
40
|
} else if (hasChildrenControl(item)) {
|
|
42
|
-
var ref;
|
|
43
41
|
// @ts-ignore
|
|
44
|
-
loopDataViewControl(
|
|
42
|
+
loopDataViewControl(item === null || item === void 0 ? void 0 : item.children, callback);
|
|
45
43
|
}
|
|
46
44
|
});
|
|
47
45
|
}
|