impaktapps-ui-builder 1.0.50 → 1.0.51

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": "1.0.50",
3
+ "version": "1.0.51",
4
4
  "scripts": {
5
5
  "dev": "vite",
6
6
  "build": "tsc && vite build",
@@ -8,7 +8,7 @@ const FileInput = {
8
8
  widget: "FileInputField",
9
9
  },
10
10
  config: {
11
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
11
+ layout: { xs: 6, sm: 6, md: 4, lg: 3 },
12
12
  main: {
13
13
  required: false,
14
14
  onUpload: "onFileUpload",
@@ -54,7 +54,7 @@ const cardLayout = {
54
54
  widget: "SelectInputField",
55
55
  },
56
56
  config: {
57
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
57
+ layout: { xs: 6, sm: 6, md: 4, lg: 3 },
58
58
  main: {
59
59
  label: "Screen Size",
60
60
 
@@ -6,7 +6,7 @@ export default {
6
6
  widget: "SelectInputField",
7
7
  },
8
8
  config: {
9
- layout: { xs: 12, sm: 6, md: 4, lg: 4 },
9
+ layout: { xs: 12, sm: 6, md: 4, lg: 3 },
10
10
  main: {
11
11
  label: "",
12
12
  type: "text",
@@ -339,7 +339,7 @@ export default (funcParams: funcParamsProps) => {
339
339
  }
340
340
  },
341
341
  callHandler: async function (eventType: string, functionParameters?: any) {
342
- const path = funcParams.dynamicData?.tableButtonPath || funcParams.dynamicData.path.split(".")[0];
342
+ const path = funcParams.dynamicData?.tableButtonPath || funcParams.dynamicData.path.split(".")[funcParams.dynamicData.path.split(".").length-1];
343
343
  if (eventGroups?.[eventType]?.[path] !== undefined) {
344
344
  Promise.all(eventGroups?.[eventType]?.[path].map((eventConfig) => {
345
345
  executeEventsParameters.store.functionParameters = functionParameters