impaktapps-ui-builder 0.0.313 → 0.0.315
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/impaktapps-ui-builder.es.js +8 -16
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +1 -1
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/services/component.ts +8 -8
- package/src/impaktapps-ui-builder/runtime/services/service.ts +2 -2
package/package.json
CHANGED
|
@@ -75,20 +75,20 @@ export default (store: any, dynamicData: any) => {
|
|
|
75
75
|
},
|
|
76
76
|
saveHandler: async function () {
|
|
77
77
|
const path = store.searchParams?.get("path");
|
|
78
|
-
if (_.isEmpty(store.ctx.core.errors)) {
|
|
78
|
+
// if (_.isEmpty(store.ctx.core.errors)) {
|
|
79
79
|
saveFormdataInLocalStorage(store.formData,path)
|
|
80
80
|
store.navigate(-1)
|
|
81
81
|
store.setNotify({
|
|
82
82
|
SuccessMessage: "Save Successfully",
|
|
83
83
|
Success: true,
|
|
84
84
|
});
|
|
85
|
-
} else {
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
}
|
|
85
|
+
// } else {
|
|
86
|
+
// store.setValidation("ValidateAndShow");
|
|
87
|
+
// store.setNotify({
|
|
88
|
+
// Fail:true,
|
|
89
|
+
// FailMessage:"Errors on Page"
|
|
90
|
+
// })
|
|
91
|
+
// }
|
|
92
92
|
},
|
|
93
93
|
onChange: function () {
|
|
94
94
|
if (
|
|
@@ -97,7 +97,7 @@ export default (funcParams: funcParamsProps) => {
|
|
|
97
97
|
},
|
|
98
98
|
onFileDownload:async () =>{
|
|
99
99
|
const path = funcParams.dynamicData?.tableButtonPath || funcParams.dynamicData.path.split(".")[0];
|
|
100
|
-
for (const eventConfig of eventGroups?.
|
|
100
|
+
for (const eventConfig of eventGroups?.onDownload[path]) {
|
|
101
101
|
await executeEvents({
|
|
102
102
|
...executeEventsParameters,
|
|
103
103
|
config: eventConfig,
|
|
@@ -107,7 +107,7 @@ export default (funcParams: funcParamsProps) => {
|
|
|
107
107
|
},
|
|
108
108
|
onFileUpload:async () =>{
|
|
109
109
|
const path = funcParams.dynamicData?.tableButtonPath || funcParams.dynamicData.path.split(".")[0];
|
|
110
|
-
for (const eventConfig of eventGroups?.
|
|
110
|
+
for (const eventConfig of eventGroups?.onUpload[path]) {
|
|
111
111
|
await executeEvents({
|
|
112
112
|
...executeEventsParameters,
|
|
113
113
|
config: eventConfig,
|