impaktapps-ui-builder 0.0.382-alpha.28 → 0.0.382-alpha.29
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 +3 -4
- 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/dist/src/impaktapps-ui-builder/runtime/services/service.d.ts +0 -1
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildWrapperSection.ts +3 -1
- package/src/impaktapps-ui-builder/runtime/services/service.ts +0 -3
|
@@ -20,7 +20,6 @@ declare const _default: (funcParams: funcParamsProps) => {
|
|
|
20
20
|
onBack: (functionParameters: any) => Promise<void>;
|
|
21
21
|
onNext: (functionParameters: any) => Promise<void>;
|
|
22
22
|
onReset: (functionParameters: any) => Promise<void>;
|
|
23
|
-
backHandler: (store: any) => void;
|
|
24
23
|
callHandler: (eventType: string, functionParameters?: any) => Promise<void>;
|
|
25
24
|
downloadFile: (obj: any) => void;
|
|
26
25
|
download: (response: any, service: any) => void;
|
package/package.json
CHANGED
|
@@ -4,8 +4,10 @@ import _ from "lodash";
|
|
|
4
4
|
|
|
5
5
|
export const buildWrapperSection = (config,componentScope) =>{
|
|
6
6
|
const wrapper: any = _.cloneDeep(WrapperSection);
|
|
7
|
+
wrapper.scope = componentScope;
|
|
7
8
|
wrapper.config.main.label = config.label;
|
|
8
9
|
wrapper.config.main.divider = config.divider === "YES" ? true : false;
|
|
10
|
+
wrapper.config.main.isAccordion = config.isAccordion==="YES"?true:false;
|
|
9
11
|
if (config.style) {
|
|
10
12
|
wrapper.config.style = JSON.parse(config.style)
|
|
11
13
|
}
|
|
@@ -13,4 +15,4 @@ export const buildWrapperSection = (config,componentScope) =>{
|
|
|
13
15
|
wrapper.config.layout = createLayoutFormat(config.layout)
|
|
14
16
|
}
|
|
15
17
|
return wrapper;
|
|
16
|
-
}
|
|
18
|
+
}
|
|
@@ -178,9 +178,6 @@ export default (funcParams: funcParamsProps) => {
|
|
|
178
178
|
functionParameters?.handleReset()
|
|
179
179
|
}
|
|
180
180
|
},
|
|
181
|
-
backHandler: (store) => {
|
|
182
|
-
store.navigate(-1);
|
|
183
|
-
},
|
|
184
181
|
callHandler: async function (eventType: string, functionParameters?: any) {
|
|
185
182
|
const path = funcParams.dynamicData?.tableButtonPath || funcParams.dynamicData.path.split(".")[0];
|
|
186
183
|
if (eventGroups?.[eventType]?.[path] !== undefined) {
|