impaktapps-ui-builder 0.0.382 → 0.0.382456

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "impaktapps-ui-builder",
3
- "version": "0.0.382",
3
+ "version": "0.0.382456",
4
4
  "scripts": {
5
5
  "dev": "vite",
6
6
  "build": "tsc && vite build",
@@ -3,6 +3,8 @@ import _ from "lodash";
3
3
  import { createLayoutFormat } from "./buildConfig";
4
4
 
5
5
  export const buildButton = (config:any,componentScope:string) =>{
6
+ console.log("config : " , config);
7
+ console.log("componentScope : ", componentScope);
6
8
  const button:any = _.cloneDeep(Button);
7
9
  if (config.buttonType) {
8
10
  button.options.widget = config.buttonType === "IconButton" ? "IconButton" : "Button";
@@ -65,7 +65,7 @@ export const EventSchema = {
65
65
  oneOf: [
66
66
  { title: "RankProvider", const: "RankProvider" },
67
67
  { title: "Download File", const: "downloadFile" },
68
- { title: "Download", const: "download" }
68
+ { title: "Download", const: "download" },
69
69
  ]
70
70
  },
71
71
  body: {
@@ -87,7 +87,7 @@ async function executeInBuiltFunctionHandler(params: handlersProps) {
87
87
  const makeFunc = eval(params.config.funcParametersCode)
88
88
  parameter = makeFunc(params.store, params.dynamicData, params.userValue, params.parentEventOutput, params.service);
89
89
  }
90
- params.serviceHolder[params.config.inBuiltFunctionType](parameter,params.service)
90
+ params.serviceHolder[params.config.inBuiltFunctionType](parameter)
91
91
  }
92
92
 
93
93
  async function executeCustomHandler(params: handlersProps) {
@@ -62,7 +62,7 @@ export default (funcParams: funcParamsProps) => {
62
62
  let executeEventsParameters: handlersProps = {
63
63
  config: {}, componentName: "",
64
64
  store: funcParams.store, dynamicData: funcParams.dynamicData, userValue: funcParams.userValue, service: funcParams.service,
65
- serviceHolder: { downloadFile ,download:doDownload}, eventGroups
65
+ serviceHolder: { downloadFile,download:doDownload }, eventGroups
66
66
  };
67
67
  return {
68
68
  setPage: async function () {