impaktapps-ui-builder 0.0.382-alpha.35 → 0.0.382-alpha.37

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.
@@ -19,6 +19,7 @@ declare const _default: (funcParams: funcParamsProps) => {
19
19
  updateConfigApiBody: (paramValue: any, apiBody: any) => Promise<any>;
20
20
  onBack: (functionParameters: any) => Promise<void>;
21
21
  onNext: (functionParameters: any) => Promise<void>;
22
+ backHandler: () => void;
22
23
  onReset: (functionParameters: any) => Promise<void>;
23
24
  callHandler: (eventType: string, functionParameters?: any) => Promise<void>;
24
25
  downloadFile: (obj: any) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "impaktapps-ui-builder",
3
- "version": "0.0.382-alpha.35",
3
+ "version": "0.0.382-alpha.37",
4
4
  "scripts": {
5
5
  "dev": "vite",
6
6
  "build": "tsc && vite build",
@@ -171,6 +171,9 @@ export default (funcParams: funcParamsProps) => {
171
171
  functionParameters?.handleNext()
172
172
  }
173
173
  },
174
+ backHandler:()=>{
175
+ funcParams.store.navigate(-1)
176
+ },
174
177
  onReset: async function (functionParameters) {
175
178
  const path = funcParams.dynamicData?.tableButtonPath || funcParams.dynamicData.path.split(".")[0];
176
179
  await this.callHandler("onReset", functionParameters)