impaktapps-ui-builder 0.0.386 → 0.0.387

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.
@@ -22,12 +22,6 @@ export declare const PageMasterSchema: {
22
22
  };
23
23
  };
24
24
  };
25
- template: {
26
- oneOf: {
27
- const: string;
28
- title: string;
29
- }[];
30
- };
31
25
  sectionLabels: {
32
26
  type: string;
33
27
  items: {
@@ -33,12 +33,6 @@ declare const _default: (funcParams: funcParamsProps) => {
33
33
  };
34
34
  };
35
35
  };
36
- template: {
37
- oneOf: {
38
- const: string;
39
- title: string;
40
- }[];
41
- };
42
36
  sectionLabels: {
43
37
  type: string;
44
38
  items: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "impaktapps-ui-builder",
3
- "version": "0.0.386",
3
+ "version": "0.0.387",
4
4
  "scripts": {
5
5
  "dev": "vite",
6
6
  "build": "tsc && vite build",
@@ -23,13 +23,13 @@ export const PageMasterSchema = {
23
23
  },
24
24
  },
25
25
  },
26
- template: {
27
- oneOf: [
28
- { const: "Template-1", title: "template1" },
29
- { const: "Template-2", title: "template2" },
30
- { const: "Template-3", title: "template3" }
31
- ]
32
- },
26
+ // template: {
27
+ // oneOf: [
28
+ // { const: "Template-1", title: "template1" },
29
+ // { const: "Template-2", title: "template2" },
30
+ // { const: "Template-3", title: "template3" }
31
+ // ]
32
+ // },
33
33
  sectionLabels: {
34
34
  type: "array",
35
35
  items: {
@@ -42,5 +42,5 @@ export const PageMasterSchema = {
42
42
  },
43
43
  }
44
44
  },
45
- required:["label","template"]
45
+ required:["label","name"]
46
46
  }
@@ -80,25 +80,41 @@ export const PageMasterUiSchema: any = {
80
80
  },
81
81
  {
82
82
  type: "Control",
83
- scope: "#/properties/template",
83
+ scope: "#/properties/label",
84
84
 
85
85
  options: {
86
- widget: "SelectInputField",
86
+ widget: "InputField",
87
87
  },
88
88
  config: {
89
89
  layout: { xs: 11, sm: 11, md: 5.5, lg: 5.5 },
90
90
  main: {
91
- label: "Template",
92
- options: [
93
- {const:"template1",title:"template1"},
94
- {const:"template2",title:"template2"},
95
- {const:"template3",title:"template3"}
96
- ],
91
+ label: "label",
97
92
  color: "secondary",
98
93
  required: true,
99
94
  },
100
95
  },
101
96
  }
97
+ // {
98
+ // type: "Control",
99
+ // scope: "#/properties/template",
100
+
101
+ // options: {
102
+ // widget: "SelectInputField",
103
+ // },
104
+ // config: {
105
+ // layout: { xs: 11, sm: 11, md: 5.5, lg: 5.5 },
106
+ // main: {
107
+ // label: "Template",
108
+ // options: [
109
+ // {const:"template1",title:"template1"},
110
+ // {const:"template2",title:"template2"},
111
+ // {const:"template3",title:"template3"}
112
+ // ],
113
+ // color: "secondary",
114
+ // required: true,
115
+ // },
116
+ // },
117
+ // }
102
118
  ],
103
119
  },
104
120
  {