impaktapps-ui-builder 0.0.382-alpha.321 → 0.0.382-alpha.323
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/package.json
CHANGED
|
@@ -66,36 +66,40 @@ export default (funcParams: funcParamsProps) => {
|
|
|
66
66
|
};
|
|
67
67
|
return {
|
|
68
68
|
setPage: async function () {
|
|
69
|
-
funcParams.store.setFormdata({});
|
|
69
|
+
// funcParams.store.setFormdata({});
|
|
70
70
|
executeEventsParameters = {
|
|
71
71
|
config: {}, componentName: "",
|
|
72
72
|
store: funcParams.store, dynamicData: funcParams.dynamicData, userValue: funcParams.userValue, service: funcParams.service,
|
|
73
73
|
serviceHolder: this, eventGroups
|
|
74
74
|
}
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
// (pre: any) => {
|
|
84
|
-
// return {
|
|
85
|
-
// ...funcParams.schema, properties:
|
|
86
|
-
// { ...funcParams.schema.properties, ...pre.properties, }
|
|
87
|
-
// }
|
|
88
|
-
// }
|
|
89
|
-
// )
|
|
90
|
-
funcParams.store.setSchema(funcParams.schema);
|
|
91
|
-
|
|
75
|
+
funcParams.store.setSchema(
|
|
76
|
+
(pre: any) => {
|
|
77
|
+
return {
|
|
78
|
+
...funcParams.schema, properties:
|
|
79
|
+
{ ...funcParams.schema.properties, ...pre.properties, }
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
)
|
|
92
83
|
funcParams.uiSchema.elements.push(notifyUiSchema);
|
|
93
84
|
funcParams.store.setUiSchema(funcParams.uiSchema);
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
85
|
+
funcParams.store.setFormdata(() => {
|
|
86
|
+
executeRefreshHandler({
|
|
87
|
+
config: {},
|
|
88
|
+
componentName: "",
|
|
89
|
+
store: funcParams.store,
|
|
90
|
+
dynamicData: funcParams.dynamicData,
|
|
91
|
+
userValue: funcParams.userValue,
|
|
92
|
+
service: funcParams.service,
|
|
93
|
+
serviceHolder: this,
|
|
94
|
+
eventGroups,
|
|
95
|
+
});
|
|
96
|
+
return {};
|
|
97
|
+
});
|
|
98
|
+
// await executeRefreshHandler({
|
|
99
|
+
// config: {}, componentName: "",
|
|
100
|
+
// store: funcParams.store, dynamicData: funcParams.dynamicData, userValue: funcParams.userValue, service: funcParams.service,
|
|
101
|
+
// serviceHolder: this, eventGroups
|
|
102
|
+
// })
|
|
99
103
|
},
|
|
100
104
|
onClick: async function () {
|
|
101
105
|
await this.callHandler("onClick")
|