impaktapps-ui-builder 0.0.412-mtreemap.2 → 0.0.412-mtreemap.21

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 (45) hide show
  1. package/dist/impaktapps-ui-builder.es.js +728 -366
  2. package/dist/impaktapps-ui-builder.es.js.map +1 -1
  3. package/dist/impaktapps-ui-builder.umd.js +13 -13
  4. package/dist/impaktapps-ui-builder.umd.js.map +1 -1
  5. package/dist/src/impaktapps-ui-builder/builder/build/buildBasicUiSchema.d.ts +1 -1
  6. package/dist/src/impaktapps-ui-builder/builder/build/uischema/button.d.ts +1 -6
  7. package/dist/src/impaktapps-ui-builder/builder/build/uischema/card.d.ts +12 -10
  8. package/dist/src/impaktapps-ui-builder/builder/build/uischema/coreSection.d.ts +5 -5
  9. package/dist/src/impaktapps-ui-builder/builder/build/uischema/file.d.ts +6 -6
  10. package/dist/src/impaktapps-ui-builder/builder/build/uischema/leaderBoard.d.ts +8 -5
  11. package/dist/src/impaktapps-ui-builder/builder/build/uischema/wrapperSection.d.ts +1 -0
  12. package/dist/src/impaktapps-ui-builder/builder/services/component.d.ts +4 -2
  13. package/dist/src/impaktapps-ui-builder/builder/services/event.d.ts +3 -2
  14. package/dist/src/impaktapps-ui-builder/builder/services/pageMaster.d.ts +3 -1
  15. package/package.json +1 -1
  16. package/src/impaktapps-ui-builder/builder/build/buildBasicUiSchema.ts +2 -2
  17. package/src/impaktapps-ui-builder/builder/build/buildConfig.ts +4 -4
  18. package/src/impaktapps-ui-builder/builder/build/buildFileInput.ts +1 -1
  19. package/src/impaktapps-ui-builder/builder/build/buildHorizontalBarGraph.ts +27 -26
  20. package/src/impaktapps-ui-builder/builder/build/buildPieGraph.ts +2 -0
  21. package/src/impaktapps-ui-builder/builder/build/buildRadio.ts +1 -1
  22. package/src/impaktapps-ui-builder/builder/build/buildWrapperSection.ts +2 -2
  23. package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +39 -38
  24. package/src/impaktapps-ui-builder/builder/build/uischema/button.ts +2 -7
  25. package/src/impaktapps-ui-builder/builder/build/uischema/card.ts +10 -9
  26. package/src/impaktapps-ui-builder/builder/build/uischema/coreSection.ts +21 -28
  27. package/src/impaktapps-ui-builder/builder/build/uischema/dateInputField.ts +3 -8
  28. package/src/impaktapps-ui-builder/builder/build/uischema/eventSection.ts +155 -102
  29. package/src/impaktapps-ui-builder/builder/build/uischema/file.ts +2 -12
  30. package/src/impaktapps-ui-builder/builder/build/uischema/graph.ts +1 -1
  31. package/src/impaktapps-ui-builder/builder/build/uischema/leaderBoard.ts +9 -5
  32. package/src/impaktapps-ui-builder/builder/build/uischema/refresh.ts +14 -0
  33. package/src/impaktapps-ui-builder/builder/build/uischema/tableSection.ts +1 -1
  34. package/src/impaktapps-ui-builder/builder/build/uischema/valueTab.ts +1 -1
  35. package/src/impaktapps-ui-builder/builder/build/uischema/wrapperSection.ts +1 -0
  36. package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/schema.ts +0 -2
  37. package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/uiSchema.ts +495 -283
  38. package/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/schema.ts +1 -1
  39. package/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/uiSchema.ts +346 -208
  40. package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/uiSchema.ts +70 -23
  41. package/src/impaktapps-ui-builder/builder/services/component.ts +39 -21
  42. package/src/impaktapps-ui-builder/builder/services/event.ts +16 -6
  43. package/src/impaktapps-ui-builder/builder/services/pageMaster.ts +18 -2
  44. package/src/impaktapps-ui-builder/runtime/services/events.ts +28 -33
  45. package/src/impaktapps-ui-builder/runtime/services/service.ts +112 -4
@@ -3,6 +3,6 @@ export declare const buildBasicUiSchema: (config: any) => {
3
3
  pageName: any;
4
4
  name: any;
5
5
  accessorKey: any;
6
- header: any;
6
+ heading: any;
7
7
  elements: any[];
8
8
  };
@@ -5,12 +5,7 @@ declare const _default: {
5
5
  widget: string;
6
6
  };
7
7
  config: {
8
- layout: {
9
- xs: number;
10
- sm: number;
11
- md: number;
12
- lg: number;
13
- };
8
+ layout: number;
14
9
  main: {
15
10
  name: string;
16
11
  variant: string;
@@ -4,17 +4,19 @@ declare const _default: {
4
4
  main: {
5
5
  rowSpacing: number;
6
6
  };
7
- componentsBoxStyle: {
8
- position: string;
9
- color: string;
10
- height: {
11
- xs: string;
12
- md: string;
7
+ style: {
8
+ componentsBoxStyle: {
9
+ position: string;
10
+ color: string;
11
+ height: {
12
+ xs: string;
13
+ md: string;
14
+ };
15
+ width: string;
16
+ textAlign: string;
17
+ background: string;
18
+ borderRadius: string;
13
19
  };
14
- width: string;
15
- textAlign: string;
16
- background: string;
17
- borderRadius: string;
18
20
  };
19
21
  layout: {
20
22
  xs: number;
@@ -111,18 +111,18 @@ export declare const CoreSection: {
111
111
  } | {
112
112
  type: string;
113
113
  scope: string;
114
- options: {
115
- widget: string;
116
- };
117
114
  config: {
118
115
  layout: {
119
116
  xs: number;
120
117
  sm: number;
121
- md?: undefined;
122
- lg?: undefined;
118
+ md: number;
119
+ lg: number;
123
120
  };
124
121
  main?: undefined;
125
122
  };
123
+ options: {
124
+ widget: string;
125
+ };
126
126
  })[];
127
127
  };
128
128
  widget?: undefined;
@@ -12,10 +12,10 @@ export declare const uploadFile: {
12
12
  backgroundColor: string;
13
13
  };
14
14
  layout: {
15
- lg: number;
16
- md: number;
17
- sm: number;
18
15
  xs: number;
16
+ sm: number;
17
+ md: number;
18
+ lg: number;
19
19
  };
20
20
  };
21
21
  options: {
@@ -34,10 +34,10 @@ export declare const downloadFile: {
34
34
  backgroundColor: string;
35
35
  };
36
36
  layout: {
37
- lg: number;
38
- md: number;
39
- sm: number;
40
37
  xs: number;
38
+ sm: number;
39
+ md: number;
40
+ lg: number;
41
41
  };
42
42
  };
43
43
  options: {
@@ -9,10 +9,8 @@ declare const _default: {
9
9
  };
10
10
  style: {
11
11
  wrapperStyle: {
12
- height: {
13
- xs: number;
14
- sm: number;
15
- };
12
+ display: string;
13
+ gap: string;
16
14
  };
17
15
  };
18
16
  wrapperStyle: {
@@ -76,6 +74,7 @@ declare const _default: {
76
74
  '@keyframes rotateAnimation'?: undefined;
77
75
  animation?: undefined;
78
76
  tableHeadstyle?: undefined;
77
+ margin?: undefined;
79
78
  };
80
79
  layout: number;
81
80
  };
@@ -122,6 +121,7 @@ declare const _default: {
122
121
  '@keyframes rotateAnimation'?: undefined;
123
122
  animation?: undefined;
124
123
  tableHeadstyle?: undefined;
124
+ margin?: undefined;
125
125
  };
126
126
  layout: number;
127
127
  containerStyle?: undefined;
@@ -169,6 +169,7 @@ declare const _default: {
169
169
  '@keyframes rotateAnimation'?: undefined;
170
170
  animation?: undefined;
171
171
  tableHeadstyle?: undefined;
172
+ margin?: undefined;
172
173
  };
173
174
  layout: number;
174
175
  containerStyle?: undefined;
@@ -235,6 +236,7 @@ declare const _default: {
235
236
  zIndex: number;
236
237
  fontWeight?: undefined;
237
238
  tableHeadstyle?: undefined;
239
+ margin?: undefined;
238
240
  };
239
241
  layout: number;
240
242
  containerStyle?: undefined;
@@ -256,7 +258,6 @@ declare const _default: {
256
258
  fontWeight: number;
257
259
  background: string;
258
260
  };
259
- position: string;
260
261
  top: {
261
262
  xs: string;
262
263
  sm: string;
@@ -266,9 +267,11 @@ declare const _default: {
266
267
  border: string;
267
268
  width: string;
268
269
  left: string;
270
+ margin: string;
269
271
  objectFit?: undefined;
270
272
  height?: undefined;
271
273
  borderRadius?: undefined;
274
+ position?: undefined;
272
275
  display?: undefined;
273
276
  justifyContent?: undefined;
274
277
  alignItems?: undefined;
@@ -4,6 +4,7 @@ declare const _default: {
4
4
  main: {
5
5
  rowSpacing: number;
6
6
  divider: boolean;
7
+ label: string;
7
8
  };
8
9
  defaultStyle: boolean;
9
10
  };
@@ -8,11 +8,13 @@ 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: () => void;
12
- deleteEvent: () => void;
11
+ deleteComponents: (shouldUpdateDialog?: boolean) => void;
12
+ deleteEvent: (shouldUpdateDialog?: boolean) => void;
13
13
  widgetAddClickHandler: () => void;
14
14
  eventEditHandler: () => void;
15
15
  eventAddHandler: () => void;
16
16
  backHandler: () => void;
17
+ deletePopUpComponent: () => void;
18
+ deletePopUpEvent: () => void;
17
19
  };
18
20
  export default _default;
@@ -5,7 +5,7 @@ declare const _default: (store: any, dynamicData: any, submitHandler: any, servi
5
5
  setPage: () => Promise<void>;
6
6
  refreshPage: (handlerType: any, store: any) => void;
7
7
  getFormData: () => any;
8
- getUiSchema: () => Promise<any>;
8
+ getUiSchema: () => any;
9
9
  getSchema: () => {
10
10
  type: string;
11
11
  properties: {
@@ -84,7 +84,8 @@ declare const _default: (store: any, dynamicData: any, submitHandler: any, servi
84
84
  onChange: () => void;
85
85
  addEvent: () => void;
86
86
  editEvent: () => void;
87
- deleteEvent: () => void;
87
+ deleteEvent: () => Promise<void>;
88
88
  backHandler: () => void;
89
+ deletePopUpEvent: () => void;
89
90
  };
90
91
  export default _default;
@@ -57,9 +57,11 @@ declare const _default: (funcParams: funcParamsProps) => {
57
57
  onAddClickHandler: () => void;
58
58
  saveHandler: () => Promise<void>;
59
59
  Edit_Components: () => void;
60
- Delete_Components: () => void;
60
+ Delete_Components: () => Promise<void>;
61
61
  eventAddHandler: () => void;
62
62
  editEvent: () => void;
63
63
  deleteEvent: () => void;
64
+ deletePopUpComponent: () => void;
65
+ deletePopUpEvent: () => void;
64
66
  };
65
67
  export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "impaktapps-ui-builder",
3
- "version": "0.0.412-mtreemap.2",
3
+ "version": "0.0.412-mtreemap.21",
4
4
  "scripts": {
5
5
  "dev": "vite",
6
6
  "build": "tsc && vite build",
@@ -4,7 +4,7 @@ export const buildBasicUiSchema = (config) => {
4
4
  pageName: config.name,
5
5
  name: config.name,
6
6
  accessorKey: config.name,
7
- header: config.label || config.name,
7
+ heading: config.label || config.name,
8
8
  "elements": []
9
9
  }
10
- }
10
+ }
@@ -29,10 +29,10 @@ export default (FormData: any) => {
29
29
  export const createLayoutFormat = (config: any[]) => {
30
30
  if (_.isEmpty(config)) {
31
31
  return {
32
- xs: 11,
33
- sm: 11,
34
- md: 5.5,
35
- lg: 5.5,
32
+ xs: 12,
33
+ sm: 12,
34
+ md: 12,
35
+ lg: 12,
36
36
  }
37
37
  }
38
38
  let data: any = {};
@@ -8,7 +8,7 @@ const FileInput = {
8
8
  widget: "FileInputField",
9
9
  },
10
10
  config: {
11
- layout: 11.5,
11
+ layout: { xs: 11, sm: 4, md: 4, lg: 4 },
12
12
  main: {
13
13
  required: false,
14
14
  onUpload: "onFileUpload",
@@ -3,37 +3,38 @@ 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);
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 =
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
23
  {
24
24
  containerStyle: {
25
25
  height: config.height
26
26
  }
27
27
  }
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
28
+
29
+ }
30
+ if (config.bottomLabel) {
31
+ horizontalBarGraph.config.main.bottomLabel =
32
+ config.bottomLabel;
33
+ }
34
+ if (config.leftLabel) {
35
+ horizontalBarGraph.config.main.leftLabel = config.leftLabel;
36
+ }
37
+ return horizontalBarGraph
37
38
  }
38
39
 
39
40
  export default buildHorizontalBarGraph
@@ -13,6 +13,7 @@ export const buildPieGraph = (config, componentScope) => {
13
13
  height: config.height
14
14
  }
15
15
  };
16
+
16
17
  }
17
18
  if (config.legendHide) {
18
19
  pieGraph.config.main.legendAvailabe = config.legendHide === "YES" ? false : true;
@@ -30,6 +31,7 @@ export const buildPieGraph = (config, componentScope) => {
30
31
  colorRange: flatObjectValueInArray(config.pieArcColors)
31
32
  }
32
33
  }
34
+
33
35
  }
34
36
  return pieGraph;
35
37
  }
@@ -9,7 +9,7 @@ const RadioUiSchema = {
9
9
  widget: "RadioInputField",
10
10
  },
11
11
  config: {
12
- layout: { xs: 11, sm: 11, md: 5.5, lg: 5.5 },
12
+ layout: { xs: 11, sm: 4, md: 4, lg: 4 },
13
13
  main: {
14
14
  label: "Enabled",
15
15
  options: ["YES", "NO"],
@@ -7,7 +7,7 @@ export const buildWrapperSection = (config, componentScope) => {
7
7
  wrapper.scope = componentScope;
8
8
  wrapper.config.main.label = config.label;
9
9
  wrapper.config.main.divider = config.divider === "YES" ? true : false;
10
- wrapper.config.main.isAccordion = config.isAccordion === "YES" ? true : false;
10
+ wrapper.config.main.isAccordion = config.isAccordion === "No" ? false : true;
11
11
  if(config.defaultStyle){
12
12
  wrapper.config.defaultStyle = config.defaultStyle ==="YES" ? true : false;
13
13
  }
@@ -18,4 +18,4 @@ export const buildWrapperSection = (config, componentScope) => {
18
18
  wrapper.config.layout = createLayoutFormat(config.layout)
19
19
  }
20
20
  return wrapper;
21
- }
21
+ }
@@ -1,20 +1,20 @@
1
1
 
2
2
  import _ from "lodash";
3
3
  import emptyBox from "./emptyBox";
4
- const EmptyBox = {
5
- type: "Control",
6
- scope: `#/properties/empty`,
4
+ // const emptyBox = {
5
+ // type: "Control",
6
+ // scope: `#/properties/empty`,
7
7
 
8
- options: {
9
- widget: "EmptyBox",
10
- },
11
- config: {
12
- layout: { xs: 0, sm: 4, md: 4, lg: 4 },
13
- main: {
8
+ // options: {
9
+ // widget: "emptyBox",
10
+ // },
11
+ // config: {
12
+ // layout: { xs: 0, sm: 4, md: 4, lg: 4 },
13
+ // main: {
14
14
 
15
- },
16
- },
17
- };
15
+ // },
16
+ // },
17
+ // };
18
18
  const cardLayout = {
19
19
  type: "Control",
20
20
  scope: "#/properties/cardLayout",
@@ -56,7 +56,7 @@ const cardLayout = {
56
56
  },
57
57
  },
58
58
  },
59
- EmptyBox,
59
+ emptyBox
60
60
  ],
61
61
  },
62
62
  },
@@ -65,7 +65,7 @@ const getArrayControl = (parentScope: string, childScope: string, childLabel?: s
65
65
  return {
66
66
  type: "Control",
67
67
  scope: `#/properties/${parentScope}`,
68
- layout: 11.5,
68
+ layout: 12,
69
69
  options: {
70
70
  "elementLabelProp": childScope,
71
71
  detail: {
@@ -85,8 +85,8 @@ const getArrayControl = (parentScope: string, childScope: string, childLabel?: s
85
85
  },
86
86
  },
87
87
  },
88
- EmptyBox,
89
- EmptyBox
88
+ emptyBox,
89
+ emptyBox
90
90
  ],
91
91
  },
92
92
  },
@@ -107,6 +107,7 @@ sizeHolder.options.detail.elements[1] = {
107
107
  },
108
108
  },
109
109
  };
110
+ sizeHolder.options.detail.elements[2] = emptyBox
110
111
  const getInputField = (scope: String, label: String) => {
111
112
  return {
112
113
  type: "Control",
@@ -211,6 +212,7 @@ export const buildPropertiesSection = function (type: String) {
211
212
  getInputField("graphHeight", "Graph Height"),
212
213
  getInputField("graphWidth", "Graph Width"),
213
214
  getInputField("graphZoomHeight", "Zoom Height"),
215
+ emptyBox
214
216
  ]
215
217
  break;
216
218
  case "InputSlider":
@@ -219,6 +221,7 @@ export const buildPropertiesSection = function (type: String) {
219
221
  getInputField("step", "Step"),
220
222
  getInputField("min", "Min Limit"),
221
223
  getRadioInputField("limitToMax", "Applly Max. Limit", ["YES", "NO"]),
224
+ emptyBox,emptyBox
222
225
  ]
223
226
  break;
224
227
  case "DataGrid":
@@ -227,8 +230,8 @@ export const buildPropertiesSection = function (type: String) {
227
230
  getInputField("elevation", "Card Elevation"),
228
231
  getInputField("height", "Grid height"),
229
232
  getInputField("justifyContent", "justifyContent"),
230
- EmptyBox,
231
- EmptyBox,
233
+ emptyBox,
234
+ emptyBox,
232
235
  cardLayout,
233
236
  ]
234
237
  break;
@@ -242,7 +245,8 @@ export const buildPropertiesSection = function (type: String) {
242
245
  { label: "Horizontal", value: "horizontal" },
243
246
  { label: "Vertical", value: "vertical" },
244
247
  ]),
245
- EmptyBox,
248
+ emptyBox,
249
+
246
250
  getArrayControl("sectionLabels", "label")
247
251
 
248
252
  ]
@@ -252,22 +256,20 @@ export const buildPropertiesSection = function (type: String) {
252
256
  getRadioInputField("fullScreen", "FullScreen", ["YES", "NO"]),
253
257
  getRadioInputField("fullWidth", "FullWidth", ["YES", "NO"]),
254
258
  getInputField("maxWidth", "Max. Width"),
255
- EmptyBox
256
259
  ]
257
260
  break;
258
261
  case "Text":
259
262
  uiSchema.elements = [
260
263
  getInputField("placeholder", "Placeholder"),
261
- EmptyBox,
262
- EmptyBox,
264
+ emptyBox,
265
+ emptyBox,
263
266
  getArrayControl("InputFormatingAndMasking", "formatElement", "Format Element")
264
267
  ]
265
268
  break;
266
269
  case "TextArea":
267
270
  uiSchema.elements = [
268
271
  getInputField("placeholder", "Placeholder"),
269
- EmptyBox,
270
- EmptyBox]
272
+ emptyBox,emptyBox]
271
273
  break;
272
274
 
273
275
  case "SpeedoMeter":
@@ -277,7 +279,7 @@ export const buildPropertiesSection = function (type: String) {
277
279
  getInputField("heading", "Container Heading"),
278
280
  getInputField("speedoCaption", "Speedometer Caption"),
279
281
  getInputField("width", "Speedometer Width"),
280
- EmptyBox
282
+ emptyBox
281
283
  ]
282
284
  break;
283
285
  case "RankCard":
@@ -286,9 +288,7 @@ export const buildPropertiesSection = function (type: String) {
286
288
  getInputField("image", "Image Url"),
287
289
  getInputField("title", "Card Title"),
288
290
  getInputField("description", "Card Description"),
289
- EmptyBox,
290
- EmptyBox
291
- ];
291
+ emptyBox,emptyBox];
292
292
  break;
293
293
  case "LeaderBoard":
294
294
  uiSchema.elements = [
@@ -296,9 +296,8 @@ export const buildPropertiesSection = function (type: String) {
296
296
  getInputField("firstImage", "First Image url"),
297
297
  getInputField("secondImage", "Second Image url"),
298
298
  getInputField("thirdImage", "Third Image url"),
299
- EmptyBox,
300
- EmptyBox,
301
- getTextArea("functionCode", "Write Compare Code", false)
299
+ emptyBox,emptyBox,
300
+ getTextArea("functionCode", "Write Compare Code", false),
302
301
  ];
303
302
  break;
304
303
  case "CardSlider":
@@ -312,8 +311,7 @@ export const buildPropertiesSection = function (type: String) {
312
311
  getInputField("bottomLabel_1", "First BottomLabel"),
313
312
  getInputField("bottomLabel_2", "Second BottomLabel"),
314
313
  getInputField("bottomLabel_3", "Third BottomLabel"),
315
- EmptyBox,
316
- EmptyBox
314
+ emptyBox,emptyBox
317
315
  ];
318
316
  break;
319
317
  case "card":
@@ -321,7 +319,7 @@ export const buildPropertiesSection = function (type: String) {
321
319
  getInputField("url", "Image Url"),
322
320
  getInputField("label", "Label"),
323
321
  getInputField("description", "Description"),
324
- EmptyBox
322
+ emptyBox
325
323
  ];
326
324
  break;
327
325
  case "Button":
@@ -334,7 +332,7 @@ export const buildPropertiesSection = function (type: String) {
334
332
  { label: "Apply Default Style", value: "true" },
335
333
  { label: "No Style", value: "false" },
336
334
  ]),
337
- EmptyBox
335
+ emptyBox
338
336
  ];
339
337
  break;
340
338
  case "Graph":
@@ -353,6 +351,7 @@ export const buildPropertiesSection = function (type: String) {
353
351
  getRadioInputField("legendHide", "Legend Hide", ["YES", "No"]),
354
352
  getInputField("yAxisValue", "Y-AxisValue"),
355
353
  getInputField("xAxisValue", "X-AxisValue"),
354
+ emptyBox,
356
355
  getArrayControl("legendLabels", "label"),
357
356
  getArrayControl("pieArcColors", "color"),
358
357
  ];
@@ -362,6 +361,7 @@ export const buildPropertiesSection = function (type: String) {
362
361
  getRadioInputField("isAccordion", "Accordion", ["YES", "No"])
363
362
  , getRadioInputField("defaultStyle", "Default Style", ["YES", "No"]),
364
363
  getInputField("rowSpacing", "Row Spacing"),
364
+ emptyBox,emptyBox
365
365
  ]
366
366
  break;
367
367
 
@@ -369,6 +369,7 @@ export const buildPropertiesSection = function (type: String) {
369
369
  uiSchema.elements = [
370
370
  getRadioInputField("verticalOrientation", "Vertical Orientation", ["YES", "NO"]),
371
371
  getRadioInputField("lazyLoad", "Lazy Load", ["YES", "NO"]),
372
+ emptyBox,
372
373
  getArrayControl("sectionLabels", "label"),
373
374
  ]
374
375
  break;
@@ -394,14 +395,14 @@ export const buildPropertiesSection = function (type: String) {
394
395
  uiSchema.elements = [
395
396
  getRadioInputField("lazyLoading", "Lazy Loading", ["YES", "NO"]),
396
397
  getRadioInputField("freeSolo", "FreeSolo", ["YES", "NO"]),
397
- EmptyBox
398
+ emptyBox
398
399
  ]
399
400
  break;
400
401
  case "MultipleSelect":
401
402
  uiSchema.elements = [
402
403
  getRadioInputField("lazyLoading", "Lazy Loading", ["YES", "NO"]),
403
- EmptyBox,
404
- EmptyBox
404
+ emptyBox,
405
+ emptyBox
405
406
  ]
406
407
  break;
407
408
  }
@@ -5,12 +5,7 @@ export default {
5
5
  widget: "Button",
6
6
  },
7
7
  config: {
8
- layout: {
9
- xs: 11,
10
- sm: 11,
11
- md: 5.5,
12
- lg: 5.5,
13
- },
8
+ layout: 3,
14
9
  main: {
15
10
  name: "Compare",
16
11
  variant: "contained",
@@ -20,7 +15,7 @@ export default {
20
15
  styleDefault:false,
21
16
  icon:"",
22
17
  onClick: "onClick",
23
- size: "small",
18
+ size: "medium",
24
19
  },
25
20
  style: {
26
21
  },
@@ -4,15 +4,16 @@ export default {
4
4
  main: {
5
5
  rowSpacing: 0.5,
6
6
  },
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",
7
+ style: {
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",
16
+ },
16
17
  },
17
18
  layout: { xs: 12, sm: 12,md: 6,lg: 6, },},
18
19
  elements: [