impaktapps-ui-builder 0.0.382-alpha.552 → 0.0.382-alpha.56

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.
Files changed (46) hide show
  1. package/dist/impaktapps-ui-builder.es.js +1230 -1819
  2. package/dist/impaktapps-ui-builder.es.js.map +1 -1
  3. package/dist/impaktapps-ui-builder.umd.js +15 -15
  4. package/dist/impaktapps-ui-builder.umd.js.map +1 -1
  5. package/dist/src/impaktapps-ui-builder/builder/build/buildBasicUiSchema.d.ts +1 -0
  6. package/dist/src/impaktapps-ui-builder/builder/build/uischema/apiSection.d.ts +35 -2
  7. package/dist/src/impaktapps-ui-builder/builder/build/uischema/card.d.ts +10 -12
  8. package/dist/src/impaktapps-ui-builder/builder/build/uischema/coreSection.d.ts +15 -18
  9. package/dist/src/impaktapps-ui-builder/builder/build/uischema/eventSection.d.ts +70 -121
  10. package/dist/src/impaktapps-ui-builder/builder/build/uischema/graph.d.ts +1 -108
  11. package/dist/src/impaktapps-ui-builder/builder/build/uischema/tableSection.d.ts +53 -102
  12. package/dist/src/impaktapps-ui-builder/builder/build/uischema/validationSections.d.ts +17 -2
  13. package/dist/src/impaktapps-ui-builder/builder/build/uischema/valueTab.d.ts +17 -2
  14. package/dist/src/impaktapps-ui-builder/builder/services/component.d.ts +2 -4
  15. package/dist/src/impaktapps-ui-builder/builder/services/event.d.ts +2 -3
  16. package/dist/src/impaktapps-ui-builder/builder/services/pageMaster.d.ts +1 -3
  17. package/dist/src/impaktapps-ui-builder/runtime/services/service.d.ts +1 -0
  18. package/package.json +1 -1
  19. package/src/impaktapps-ui-builder/builder/build/buildBasicUiSchema.ts +1 -0
  20. package/src/impaktapps-ui-builder/builder/build/buildHorizontalBarGraph.ts +30 -26
  21. package/src/impaktapps-ui-builder/builder/build/buildPieGraph.ts +30 -21
  22. package/src/impaktapps-ui-builder/builder/build/buildStackBarGraph.ts +6 -6
  23. package/src/impaktapps-ui-builder/builder/build/buildWrapperSection.ts +3 -1
  24. package/src/impaktapps-ui-builder/builder/build/uischema/apiSection.ts +50 -27
  25. package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +30 -49
  26. package/src/impaktapps-ui-builder/builder/build/uischema/card.ts +9 -10
  27. package/src/impaktapps-ui-builder/builder/build/uischema/coreSection.ts +16 -36
  28. package/src/impaktapps-ui-builder/builder/build/uischema/dateInputField.ts +1 -6
  29. package/src/impaktapps-ui-builder/builder/build/uischema/emptyBox.ts +1 -1
  30. package/src/impaktapps-ui-builder/builder/build/uischema/eventSection.ts +99 -125
  31. package/src/impaktapps-ui-builder/builder/build/uischema/graph.ts +108 -108
  32. package/src/impaktapps-ui-builder/builder/build/uischema/multiSelect.ts +1 -1
  33. package/src/impaktapps-ui-builder/builder/build/uischema/refresh.ts +2 -12
  34. package/src/impaktapps-ui-builder/builder/build/uischema/selectInputField.ts +1 -6
  35. package/src/impaktapps-ui-builder/builder/build/uischema/tableSection.ts +84 -58
  36. package/src/impaktapps-ui-builder/builder/build/uischema/textInputField.ts +1 -6
  37. package/src/impaktapps-ui-builder/builder/build/uischema/validationSections.ts +12 -12
  38. package/src/impaktapps-ui-builder/builder/build/uischema/valueTab.ts +12 -12
  39. package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/uiSchema.ts +448 -440
  40. package/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/uiSchema.ts +456 -515
  41. package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/uiSchema.ts +520 -367
  42. package/src/impaktapps-ui-builder/builder/services/component.ts +7 -25
  43. package/src/impaktapps-ui-builder/builder/services/event.ts +9 -17
  44. package/src/impaktapps-ui-builder/builder/services/pageMaster.ts +3 -19
  45. package/src/impaktapps-ui-builder/runtime/services/events.ts +3 -0
  46. package/src/impaktapps-ui-builder/runtime/services/service.ts +4 -14
@@ -7,7 +7,7 @@ export declare const ValueTab: {
7
7
  options: {
8
8
  detail: {
9
9
  type: string;
10
- elements: {
10
+ elements: ({
11
11
  type: string;
12
12
  scope: string;
13
13
  options: {
@@ -24,7 +24,22 @@ export declare const ValueTab: {
24
24
  label: string;
25
25
  };
26
26
  };
27
- }[];
27
+ } | {
28
+ type: string;
29
+ scope: string;
30
+ options: {
31
+ widget: string;
32
+ };
33
+ config: {
34
+ layout: {
35
+ xs: number;
36
+ sm: number;
37
+ md: number;
38
+ lg: number;
39
+ };
40
+ main?: undefined;
41
+ };
42
+ })[];
28
43
  };
29
44
  };
30
45
  }[];
@@ -8,13 +8,11 @@ declare const _default: (store: any, dynamicData: any, submitHandler: any, servi
8
8
  saveHandler: () => Promise<void>;
9
9
  onChange: () => void;
10
10
  editComponents: () => void;
11
- deleteComponents: (shouldUpdateDialog?: boolean) => void;
12
- deleteEvent: (shouldUpdateDialog?: boolean) => void;
11
+ deleteComponents: () => void;
12
+ deleteEvent: () => void;
13
13
  widgetAddClickHandler: () => void;
14
14
  eventEditHandler: () => void;
15
15
  eventAddHandler: () => void;
16
16
  backHandler: () => void;
17
- deletePopUpComponent: () => void;
18
- deletePopUpEvent: () => void;
19
17
  };
20
18
  export default _default;
@@ -2,7 +2,7 @@ declare const _default: (store: any, dynamicData: any, submitHandler: any, servi
2
2
  setPage: () => Promise<void>;
3
3
  refreshPage: (handlerType: any, store: any) => void;
4
4
  getFormData: () => any;
5
- getUiSchema: () => any;
5
+ getUiSchema: () => Promise<any>;
6
6
  getSchema: () => {
7
7
  type: string;
8
8
  properties: {
@@ -81,8 +81,7 @@ declare const _default: (store: any, dynamicData: any, submitHandler: any, servi
81
81
  onChange: () => void;
82
82
  addEvent: () => void;
83
83
  editEvent: () => void;
84
- deleteEvent: () => Promise<void>;
84
+ deleteEvent: () => void;
85
85
  backHandler: () => void;
86
- deletePopUpEvent: () => void;
87
86
  };
88
87
  export default _default;
@@ -51,11 +51,9 @@ declare const _default: (funcParams: funcParamsProps) => {
51
51
  onAddClickHandler: () => void;
52
52
  saveHandler: () => Promise<void>;
53
53
  Edit_Components: () => void;
54
- Delete_Components: () => Promise<void>;
54
+ Delete_Components: () => void;
55
55
  eventAddHandler: () => void;
56
56
  editEvent: () => void;
57
57
  deleteEvent: () => void;
58
- deletePopUpComponent: () => void;
59
- deletePopUpEvent: () => void;
60
58
  };
61
59
  export default _default;
@@ -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.552",
3
+ "version": "0.0.382-alpha.56",
4
4
  "scripts": {
5
5
  "dev": "vite",
6
6
  "build": "tsc && vite build",
@@ -2,5 +2,6 @@ export const buildBasicUiSchema = (config)=>{
2
2
  return {
3
3
  "type": "HorizontalLayout",
4
4
  pageName:`${config.name}`,
5
+ heading:`${config.label}`,
5
6
  "elements": []}
6
7
  }
@@ -3,33 +3,37 @@ import { HorizontalBarGraph } from "./uischema/graph";
3
3
  import _ from "lodash";
4
4
 
5
5
 
6
- const buildHorizontalBarGraph = (config:any,componentScope:string) => {
7
- const horizontalBarGraph: any = _.cloneDeep(HorizontalBarGraph);
8
- horizontalBarGraph.scope = componentScope;
9
- if (config.layout) {
10
- horizontalBarGraph.config.layout = createLayoutFormat(config.layout);
6
+ const buildHorizontalBarGraph = (config: any, componentScope: string) => {
7
+ const horizontalBarGraph: any = _.cloneDeep(HorizontalBarGraph);
8
+ horizontalBarGraph.scope = componentScope;
9
+ if (config.layout) {
10
+ horizontalBarGraph.config.layout = createLayoutFormat(config.layout);
11
+ }
12
+ horizontalBarGraph.scope = componentScope;
13
+ horizontalBarGraph.config.main.header = config.heading;
14
+ if (config.barColor) {
15
+ horizontalBarGraph.config.barStyle.color = config.barColor;
16
+ }
17
+ if (config.containerBackground) {
18
+ horizontalBarGraph.config.containerStyle.background =
19
+ config.containerBackground;
20
+ }
21
+ if (config.height) {
22
+ horizontalBarGraph.config.style =
23
+ {
24
+ containerStyle: {
25
+ height: config.height
26
+ }
11
27
  }
12
- horizontalBarGraph.scope = componentScope;
13
- horizontalBarGraph.config.main.header = config.heading;
14
- if (config.barColor) {
15
- horizontalBarGraph.config.barStyle.color = config.barColor;
16
- }
17
- if (config.containerBackground) {
18
- horizontalBarGraph.config.containerStyle.background =
19
- config.containerBackground;
20
- }
21
- if (config.height) {
22
- horizontalBarGraph.config.style.containerStyle.height =
23
- config.height;
24
- }
25
- if (config.bottomLabel) {
26
- horizontalBarGraph.config.main.bottomLabel =
27
- config.bottomLabel;
28
- }
29
- if (config.leftLabel) {
30
- horizontalBarGraph.config.main.leftLabel = config.leftLabel;
31
- }
32
- return horizontalBarGraph
28
+ }
29
+ if (config.bottomLabel) {
30
+ horizontalBarGraph.config.main.bottomLabel =
31
+ config.bottomLabel;
32
+ }
33
+ if (config.leftLabel) {
34
+ horizontalBarGraph.config.main.leftLabel = config.leftLabel;
35
+ }
36
+ return horizontalBarGraph
33
37
  }
34
38
 
35
39
  export default buildHorizontalBarGraph
@@ -2,26 +2,35 @@ import { createLayoutFormat, flatObjectValueInArray } from "./buildConfig";
2
2
  import { PieGraph } from "./uischema/graph";
3
3
  import _ from "lodash";
4
4
  // flatObjectValueInArray
5
- export const buildPieGraph = (config,componentScope) =>{
6
- const pieGraph: any = _.cloneDeep(PieGraph);
7
- if (config.layout) {
8
- pieGraph.config.layout = createLayoutFormat(config.layout);
5
+ export const buildPieGraph = (config, componentScope) => {
6
+ const pieGraph: any = _.cloneDeep(PieGraph);
7
+ if (config.layout) {
8
+ pieGraph.config.layout = createLayoutFormat(config.layout);
9
+ }
10
+ if (config.height) {
11
+ pieGraph.config.style =
12
+ {
13
+ containerStyle: {
14
+ height: config.height
15
+ }
16
+ };
17
+ }
18
+ if (config.legendHide) {
19
+ pieGraph.config.main.legendAvailabe = config.legendHide === "YES" ? false : true;
20
+ }
21
+ pieGraph.scope = componentScope;
22
+ pieGraph.config.main.header = config.heading;
23
+
24
+ if (config.legendLabels) {
25
+ pieGraph.config.main.tooltipDataKey = flatObjectValueInArray(config.legendLabels);
26
+ }
27
+
28
+ if (config.pieArcColors) {
29
+ pieGraph.config.style = {
30
+ pieStyle: {
31
+ colorRange: flatObjectValueInArray(config.pieArcColors)
32
+ }
9
33
  }
10
- if (config.height) {
11
- pieGraph.config.style.containerStyle.height = config.height;
12
- }
13
- if (config.legendHide) {
14
- pieGraph.config.main.legendAvailabe = config.legendHide==="YES"?false:true;
15
- }
16
- pieGraph.scope = componentScope;
17
- pieGraph.config.main.header = config.heading;
18
-
19
- if(config.legendLabels){
20
- pieGraph.config.main.tooltipDataKey = flatObjectValueInArray(config.legendLabels);
21
- }
22
-
23
- if(config.pieArcColors){
24
- pieGraph.config.style.pieStyle.colorRange = flatObjectValueInArray(config.pieArcColors);
25
- }
26
- return pieGraph;
34
+ }
35
+ return pieGraph;
27
36
  }
@@ -8,17 +8,17 @@ export const buildStackbarGraph = (config:any,componentScope:string) => {
8
8
  barGraph.config.layout = createLayoutFormat(config.layout);
9
9
  }
10
10
  if (config.legendHide) {
11
- barGraph.config.main.legendAvailable = false;
11
+ barGraph.config.main.legendAvailable = config.legendHide;
12
12
  }
13
13
  barGraph.config.main.type = config.graphType;
14
14
  barGraph.config.main.header = config.heading;
15
15
  if (config.barColor) {
16
16
  barGraph.config.barStyle.color = config.barColor;
17
17
  }
18
- if (config.containerBackground) {
19
- barGraph.config.containerStyle.background =
20
- config.containerBackground;
21
- }
18
+ // if (config.containerBackground) {
19
+ // barGraph.config.containerStyle.background =
20
+ // config.containerBackground;
21
+ // }
22
22
  if (config.height) {
23
23
  barGraph.config.style.containerStyle.height = config.height;
24
24
  }
@@ -28,6 +28,6 @@ export const buildStackbarGraph = (config:any,componentScope:string) => {
28
28
  if (config.leftLabel) {
29
29
  barGraph.config.main.leftLabel = config.leftLabel;
30
30
  }
31
- barGraph.scope = componentScope;
31
+ // barGraph.scope = componentScope;
32
32
  return barGraph;
33
33
  }
@@ -4,8 +4,10 @@ import _ from "lodash";
4
4
 
5
5
  export const buildWrapperSection = (config,componentScope) =>{
6
6
  const wrapper: any = _.cloneDeep(WrapperSection);
7
+ wrapper.scope = componentScope;
7
8
  wrapper.config.main.label = config.label;
8
9
  wrapper.config.main.divider = config.divider === "YES" ? true : false;
10
+ wrapper.config.main.isAccordion = config.isAccordion==="YES"?true:false;
9
11
  if (config.style) {
10
12
  wrapper.config.style = JSON.parse(config.style)
11
13
  }
@@ -13,4 +15,4 @@ export const buildWrapperSection = (config,componentScope) =>{
13
15
  wrapper.config.layout = createLayoutFormat(config.layout)
14
16
  }
15
17
  return wrapper;
16
- }
18
+ }
@@ -11,7 +11,7 @@ export const APISection = {
11
11
  widget: "SelectInputField",
12
12
  },
13
13
  config: {
14
- layout: { xs: 11, sm: 11, md: 5.5, lg: 5.5 },
14
+ layout: { xs: 11, sm: 4, md: 4, lg: 4 },
15
15
  main: {
16
16
  label: "Method",
17
17
  type: "text",
@@ -26,7 +26,7 @@ export const APISection = {
26
26
  widget: "InputField",
27
27
  },
28
28
  config: {
29
- layout: { xs: 11, sm: 11, md: 5.5, lg: 5.5 },
29
+ layout: { xs: 11, sm: 4, md: 4, lg: 4 },
30
30
  main: {
31
31
  label: "Path",
32
32
  type: "text",
@@ -35,6 +35,28 @@ export const APISection = {
35
35
  },
36
36
  },
37
37
  },
38
+ {
39
+ type: "Control",
40
+ scope: "#/properties/emptyBox",
41
+
42
+ options: {
43
+ widget: "EmptyBox",
44
+ },
45
+ config: {
46
+ layout: { xs: 0, sm: 4, md: 4, lg: 4 },
47
+ },
48
+ },
49
+ {
50
+ type: "Control",
51
+ scope: "#/properties/emptyBox",
52
+
53
+ options: {
54
+ widget: "EmptyBox",
55
+ },
56
+ config: {
57
+ layout: { xs: 0, sm: 4, md: 4, lg: 4 },
58
+ },
59
+ },
38
60
  {
39
61
  type: "Control",
40
62
  scope: "#/properties/headers",
@@ -51,12 +73,7 @@ export const APISection = {
51
73
  widget: "InputField",
52
74
  },
53
75
  config: {
54
- layout: {
55
- xs: 11,
56
- sm: 11,
57
- md: 5.5,
58
- lg: 5.5,
59
- },
76
+ layout: { xs: 11, sm: 4, md: 4, lg: 4 },
60
77
  main: {
61
78
  label: "Key",
62
79
  },
@@ -70,17 +87,23 @@ export const APISection = {
70
87
  widget: "InputField",
71
88
  },
72
89
  config: {
73
- layout: {
74
- xs: 11,
75
- sm: 11,
76
- md: 5.5,
77
- lg: 5.5,
78
- },
90
+ layout: { xs: 11, sm: 4, md: 4, lg: 4 },
79
91
  main: {
80
92
  label: "Value",
81
93
  },
82
94
  },
83
95
  },
96
+ {
97
+ type: "Control",
98
+ scope: "#/properties/emptyBox",
99
+
100
+ options: {
101
+ widget: "EmptyBox",
102
+ },
103
+ config: {
104
+ layout: { xs: 0, sm: 4, md: 4, lg: 4 },
105
+ },
106
+ },
84
107
  ],
85
108
  },
86
109
  },
@@ -101,12 +124,7 @@ export const APISection = {
101
124
  widget: "InputField",
102
125
  },
103
126
  config: {
104
- layout: {
105
- xs: 11,
106
- sm: 11,
107
- md: 5.5,
108
- lg: 5.5,
109
- },
127
+ layout: { xs: 11, sm: 4, md: 4, lg: 4 },
110
128
  main: {
111
129
  label: "Key",
112
130
  },
@@ -120,18 +138,23 @@ export const APISection = {
120
138
  widget: "InputField",
121
139
  },
122
140
  config: {
123
- layout: {
124
- xs: 11,
125
- sm: 11,
126
- md: 5.5,
127
- lg: 5.5,
128
- },
141
+ layout: { xs: 11, sm: 4, md: 4, lg: 4 },
129
142
  main: {
130
143
  label: "Value",
131
144
  },
132
145
  },
133
146
  },
134
-
147
+ {
148
+ type: "Control",
149
+ scope: "#/properties/emptyBox",
150
+
151
+ options: {
152
+ widget: "EmptyBox",
153
+ },
154
+ config: {
155
+ layout: { xs: 0, sm: 4, md: 4, lg: 4 },
156
+ },
157
+ },
135
158
  ],
136
159
  },
137
160
  },
@@ -8,12 +8,7 @@ const EmptyBox = {
8
8
  widget: "EmptyBox",
9
9
  },
10
10
  config: {
11
- layout: {
12
- xs: 11,
13
- sm: 11,
14
- md: 5.5,
15
- lg: 5.5,
16
- },
11
+ layout: { xs: 0, sm: 4, md: 4, lg: 4 },
17
12
  main: {
18
13
 
19
14
  },
@@ -34,12 +29,7 @@ const cardLayout = {
34
29
  widget: "SelectInputField",
35
30
  },
36
31
  config: {
37
- layout: {
38
- xs: 11,
39
- sm: 11,
40
- md: 5.5,
41
- lg: 5.5,
42
- },
32
+ layout: { xs: 11, sm: 4, md: 4, lg: 4 },
43
33
  main: {
44
34
  label: "Screen Size",
45
35
 
@@ -54,12 +44,7 @@ const cardLayout = {
54
44
  widget: "InputField",
55
45
  },
56
46
  config: {
57
- layout: {
58
- xs: 11,
59
- sm: 11,
60
- md: 5.5,
61
- lg: 5.5,
62
- },
47
+ layout: { xs: 11, sm: 4, md: 4, lg: 4 },
63
48
  main: {
64
49
  label: "Value",
65
50
  type:"number",
@@ -70,6 +55,7 @@ const cardLayout = {
70
55
  },
71
56
  },
72
57
  },
58
+ EmptyBox,
73
59
  ],
74
60
  },
75
61
  },
@@ -92,17 +78,13 @@ const getArrayControl = (parentScope: string, childScope: string, childLabel?: s
92
78
  widget: "InputField",
93
79
  },
94
80
  config: {
95
- layout: {
96
- xs: 11,
97
- sm: 11,
98
- md: 5.5,
99
- lg: 5.5,
100
- },
81
+ layout: { xs: 11, sm: 4, md: 4, lg: 4 },
101
82
  main: {
102
83
  label: childLabel || "Labels for Tab",
103
84
  },
104
85
  },
105
86
  },
87
+ EmptyBox,
106
88
  EmptyBox
107
89
  ],
108
90
  },
@@ -118,12 +100,7 @@ sizeHolder.options.detail.elements[1] = {
118
100
  widget: "InputField",
119
101
  },
120
102
  config: {
121
- layout: {
122
- xs: 11,
123
- sm: 11,
124
- md: 5.5,
125
- lg: 5.5,
126
- },
103
+ layout: { xs: 11, sm: 4, md: 4, lg: 4 },
127
104
  main: {
128
105
  label: "Size",
129
106
  },
@@ -138,12 +115,7 @@ const getInputField = (scope: String, label: String) => {
138
115
  widget: "InputField",
139
116
  },
140
117
  config: {
141
- layout: {
142
- xs: 11,
143
- sm: 11,
144
- md: 5.5,
145
- lg: 5.5,
146
- },
118
+ layout: { xs: 11, sm: 4, md: 4, lg: 4 },
147
119
  main: {
148
120
  label: label,
149
121
  },
@@ -160,12 +132,7 @@ const getRadioInputField = (scope: String, label: String, options: string[]) =>
160
132
  widget: "RadioInputField",
161
133
  },
162
134
  config: {
163
- layout: {
164
- xs: 11,
165
- sm: 11,
166
- md: 5.5,
167
- lg: 5.5,
168
- },
135
+ layout: { xs: 11, sm: 4, md: 4, lg: 4 },
169
136
  main: {
170
137
  label: label,
171
138
 
@@ -216,7 +183,7 @@ export const getSelectField = (scope: string, label: string, options: { label: s
216
183
  widget: "SelectInputField",
217
184
  },
218
185
  config: {
219
- layout: { xs: 11, sm: 11, md: 5.5, lg: 5.5 },
186
+ layout: { xs: 11, sm: 4, md: 4, lg: 4 },
220
187
  main: {
221
188
  label: label,
222
189
  type: "text",
@@ -241,6 +208,8 @@ export const buildPropertiesSection = function (type: String) {
241
208
  getInputField("elevation", "Card Elevation"),
242
209
  getInputField("height", "Grid height"),
243
210
  getInputField("justifyContent", "justifyContent"),
211
+ EmptyBox,
212
+ EmptyBox,
244
213
  cardLayout,
245
214
  ]
246
215
  break;
@@ -254,7 +223,7 @@ export const buildPropertiesSection = function (type: String) {
254
223
  { label: "Horizontal", value: "horizontal" },
255
224
  { label: "Vertical", value: "vertical" },
256
225
  ]),
257
-
226
+ EmptyBox,
258
227
  getArrayControl("sectionLabels", "label")
259
228
 
260
229
  ]
@@ -271,13 +240,15 @@ export const buildPropertiesSection = function (type: String) {
271
240
  uiSchema.elements = [
272
241
  getInputField("placeholder", "Placeholder"),
273
242
  EmptyBox,
243
+ EmptyBox,
274
244
  getArrayControl("InputFormatingAndMasking", "formatElement", "Format Element")
275
245
  ]
276
246
  break;
277
247
  case "TextArea":
278
248
  uiSchema.elements = [
279
249
  getInputField("placeholder", "Placeholder"),
280
- EmptyBox,]
250
+ EmptyBox,
251
+ EmptyBox]
281
252
  break;
282
253
 
283
254
  case "SpeedoMeter":
@@ -286,7 +257,8 @@ export const buildPropertiesSection = function (type: String) {
286
257
  getInputField("heading", "Container Heading"),
287
258
  getInputField("heading", "Container Heading"),
288
259
  getInputField("speedoCaption", "Speedometer Caption"),
289
- getInputField("width", "Speedometer Width")
260
+ getInputField("width", "Speedometer Width"),
261
+ EmptyBox
290
262
  ]
291
263
  break;
292
264
  case "RankCard":
@@ -294,7 +266,10 @@ export const buildPropertiesSection = function (type: String) {
294
266
  getInputField("rank", "Rank"),
295
267
  getInputField("image", "Image Url"),
296
268
  getInputField("title", "Card Title"),
297
- getInputField("description", "Card Description")];
269
+ getInputField("description", "Card Description"),
270
+ EmptyBox,
271
+ EmptyBox
272
+ ];
298
273
  break;
299
274
  case "LeaderBoard":
300
275
  uiSchema.elements = [
@@ -302,6 +277,8 @@ export const buildPropertiesSection = function (type: String) {
302
277
  getInputField("firstImage", "First Image url"),
303
278
  getInputField("secondImage", "Second Image url"),
304
279
  getInputField("thirdImage", "Third Image url"),
280
+ EmptyBox,
281
+ EmptyBox,
305
282
  getTextArea("functionCode", "Write Compare Code", false)
306
283
  ];
307
284
  break;
@@ -315,7 +292,9 @@ export const buildPropertiesSection = function (type: String) {
315
292
  getInputField("heading", "Heading"),
316
293
  getInputField("bottomLabel_1", "First BottomLabel"),
317
294
  getInputField("bottomLabel_2", "Second BottomLabel"),
318
- getInputField("bottomLabel_3", "Third BottomLabel")
295
+ getInputField("bottomLabel_3", "Third BottomLabel"),
296
+ EmptyBox,
297
+ EmptyBox
319
298
  ];
320
299
  break;
321
300
  case "card":
@@ -358,7 +337,7 @@ export const buildPropertiesSection = function (type: String) {
358
337
  ];
359
338
  break;
360
339
  case "WrapperSection":
361
- uiSchema.elements = [getRadioInputField("divider", "Divider", ["YES", "No"]), EmptyBox]
340
+ uiSchema.elements = [getRadioInputField("divider", "Divider", ["YES", "No"]), getRadioInputField("isAccordion", "Accordion", ["YES", "No"]), EmptyBox]
362
341
  break;
363
342
 
364
343
  case "TabSection":
@@ -388,11 +367,13 @@ export const buildPropertiesSection = function (type: String) {
388
367
  uiSchema.elements = [
389
368
  getRadioInputField("lazyLoading", "Lazy Loading", ["YES", "NO"]),
390
369
  getRadioInputField("freeSolo", "FreeSolo", ["YES", "NO"]),
370
+ EmptyBox
391
371
  ]
392
372
  break;
393
373
  case "MultipleSelect":
394
374
  uiSchema.elements = [
395
375
  getRadioInputField("lazyLoading", "Lazy Loading", ["YES", "NO"]),
376
+ EmptyBox,
396
377
  EmptyBox
397
378
  ]
398
379
  break;
@@ -4,16 +4,15 @@ export default {
4
4
  main: {
5
5
  rowSpacing: 0.5,
6
6
  },
7
- style: {
8
- wrapperStyle: {
9
- position : "relative",
10
- color: "white",
11
- height: {xs:"120px",md:"160px"},
12
- width: "100%",
13
- textAlign: "left",
14
- background: "#3f51b5",
15
- borderRadius: "20px",
16
- },
7
+
8
+ componentsBoxStyle: {
9
+ position : "relative",
10
+ color: "white",
11
+ height: {xs:"120px",md:"160px"},
12
+ width: "100%",
13
+ textAlign: "left",
14
+ background: "#3f51b5",
15
+ borderRadius: "20px",
17
16
  },
18
17
  layout: { xs: 12, sm: 12,md: 6,lg: 6, },},
19
18
  elements: [