impaktapps-ui-builder 0.0.101-alpha.66 → 0.0.101-alpha.68

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.
@@ -72,7 +72,10 @@ export declare const EventSchema: {
72
72
  disabled: boolean;
73
73
  };
74
74
  pageName: {
75
- path: any[];
75
+ path: {
76
+ label: string;
77
+ path: string;
78
+ }[];
76
79
  };
77
80
  };
78
81
  required: string[];
@@ -80,7 +80,10 @@ declare const _default: (store: any, dynamicData: any, submitHandler: any, servi
80
80
  disabled: boolean;
81
81
  };
82
82
  pageName: {
83
- path: any[];
83
+ path: {
84
+ label: string;
85
+ path: string;
86
+ }[];
84
87
  };
85
88
  };
86
89
  required: string[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "impaktapps-ui-builder",
3
- "version": "0.0.101-alpha.66",
3
+ "version": "0.0.101-alpha.68",
4
4
  "scripts": {
5
5
  "dev": "vite",
6
6
  "build": "tsc && vite build",
@@ -88,7 +88,7 @@ export const EventSchema = {
88
88
  disabled: true,
89
89
  },
90
90
  pageName: {
91
- path: []
91
+ path: [{label: "defaultLabel", path: "defaultPath"}]
92
92
  },
93
93
  },
94
94
  required:["eventType","Handler"]
@@ -5,26 +5,6 @@ export const EventUiSchema: any = (theme) => {
5
5
  type: "HorizontalLayout",
6
6
  heading: "Page-Events",
7
7
  elements: [
8
- // {
9
- // type: "Control",
10
- // scope: "#/properties/pageName",
11
-
12
- // options: {
13
- // widget: "Box",
14
- // },
15
- // config: {
16
- // layout: 12,
17
- // main: {
18
- // heading: " ",
19
- // },
20
- // style: {
21
- // marginLeft: theme.spacing(3),
22
- // width:"auto",
23
- // fontSize:"12px",
24
- // color:"gray",
25
- // },
26
- // },
27
- // },
28
8
  {
29
9
  type: "TabLayout",
30
10
  config: {
@@ -166,7 +166,7 @@ export default (
166
166
  });
167
167
  }
168
168
  console.log("pathArray>>",pathArray)
169
- schema.properties.pageName.path = pathArray;
169
+ schema.properties.pageName.path = _.cloneDeep(pathArray);
170
170
  return schema;
171
171
  },
172
172
  okHandler: () => okHandler(store),