impaktapps-ui-builder 0.0.412-mtreemap.9 → 0.0.591

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 (53) hide show
  1. package/dist/impaktapps-ui-builder.es.js +1082 -351
  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/buildConfig.d.ts +1 -1
  7. package/dist/src/impaktapps-ui-builder/builder/build/uischema/box.d.ts +2 -2
  8. package/dist/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.d.ts +18 -0
  9. package/dist/src/impaktapps-ui-builder/builder/build/uischema/button.d.ts +1 -6
  10. package/dist/src/impaktapps-ui-builder/builder/build/uischema/card.d.ts +10 -12
  11. package/dist/src/impaktapps-ui-builder/builder/build/uischema/eventSection.d.ts +2 -2
  12. package/dist/src/impaktapps-ui-builder/builder/build/uischema/file.d.ts +6 -6
  13. package/dist/src/impaktapps-ui-builder/builder/build/uischema/graph.d.ts +5 -0
  14. package/dist/src/impaktapps-ui-builder/builder/build/uischema/leaderBoard.d.ts +58 -45
  15. package/dist/src/impaktapps-ui-builder/builder/build/uischema/table.d.ts +1 -0
  16. package/dist/src/impaktapps-ui-builder/builder/build/uischema/tableSection.d.ts +25 -1
  17. package/dist/src/impaktapps-ui-builder/builder/services/component.d.ts +4 -2
  18. package/dist/src/impaktapps-ui-builder/builder/services/event.d.ts +2 -1
  19. package/dist/src/impaktapps-ui-builder/builder/services/pageMaster.d.ts +3 -1
  20. package/dist/src/impaktapps-ui-builder/runtime/services/service.d.ts +2 -1
  21. package/package.json +1 -1
  22. package/src/impaktapps-ui-builder/builder/build/buildBasicUiSchema.ts +1 -1
  23. package/src/impaktapps-ui-builder/builder/build/buildConfig.ts +5 -5
  24. package/src/impaktapps-ui-builder/builder/build/buildDate.ts +1 -1
  25. package/src/impaktapps-ui-builder/builder/build/buildFileInput.ts +1 -1
  26. package/src/impaktapps-ui-builder/builder/build/buildRadio.ts +1 -1
  27. package/src/impaktapps-ui-builder/builder/build/buildSchema.ts +0 -1
  28. package/src/impaktapps-ui-builder/builder/build/buildStackBarGraph.ts +1 -5
  29. package/src/impaktapps-ui-builder/builder/build/buildTable.ts +17 -1
  30. package/src/impaktapps-ui-builder/builder/build/buildWrapperSection.ts +1 -1
  31. package/src/impaktapps-ui-builder/builder/build/uischema/box.ts +3 -2
  32. package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +78 -33
  33. package/src/impaktapps-ui-builder/builder/build/uischema/button.ts +2 -7
  34. package/src/impaktapps-ui-builder/builder/build/uischema/card.ts +88 -90
  35. package/src/impaktapps-ui-builder/builder/build/uischema/coreSection.ts +10 -0
  36. package/src/impaktapps-ui-builder/builder/build/uischema/dateInputField.ts +3 -3
  37. package/src/impaktapps-ui-builder/builder/build/uischema/eventSection.ts +6 -55
  38. package/src/impaktapps-ui-builder/builder/build/uischema/file.ts +2 -12
  39. package/src/impaktapps-ui-builder/builder/build/uischema/graph.ts +6 -118
  40. package/src/impaktapps-ui-builder/builder/build/uischema/leaderBoard.ts +82 -72
  41. package/src/impaktapps-ui-builder/builder/build/uischema/table.ts +5 -7
  42. package/src/impaktapps-ui-builder/builder/build/uischema/tableSection.ts +93 -137
  43. package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/schema.ts +0 -2
  44. package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/uiSchema.ts +206 -74
  45. package/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/uiSchema.ts +195 -120
  46. package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/schema.ts +1 -0
  47. package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/uiSchema.ts +118 -128
  48. package/src/impaktapps-ui-builder/builder/services/component.ts +26 -9
  49. package/src/impaktapps-ui-builder/builder/services/event.ts +17 -9
  50. package/src/impaktapps-ui-builder/builder/services/pageMaster.ts +18 -2
  51. package/src/impaktapps-ui-builder/builder/services/utils.ts +0 -1
  52. package/src/impaktapps-ui-builder/runtime/services/events.ts +14 -20
  53. package/src/impaktapps-ui-builder/runtime/services/service.ts +128 -9
@@ -1,20 +1,22 @@
1
1
 
2
2
  import _ from "lodash";
3
3
  import emptyBox from "./emptyBox";
4
- const EmptyBox = {
5
- type: "Control",
6
- scope: `#/properties/empty`,
4
+ import { buildLabel } from "../buildLabel";
5
+ import Box from "./box";
6
+ // const emptyBox = {
7
+ // type: "Control",
8
+ // scope: `#/properties/empty`,
7
9
 
8
- options: {
9
- widget: "EmptyBox",
10
- },
11
- config: {
12
- layout: { xs: 0, sm: 4, md: 4, lg: 4 },
13
- main: {
10
+ // options: {
11
+ // widget: "emptyBox",
12
+ // },
13
+ // config: {
14
+ // layout: { xs: 0, sm: 4, md: 4, lg: 4 },
15
+ // main: {
14
16
 
15
- },
16
- },
17
- };
17
+ // },
18
+ // },
19
+ // };
18
20
  const cardLayout = {
19
21
  type: "Control",
20
22
  scope: "#/properties/cardLayout",
@@ -56,7 +58,7 @@ const cardLayout = {
56
58
  },
57
59
  },
58
60
  },
59
- EmptyBox
61
+ emptyBox
60
62
  ],
61
63
  },
62
64
  },
@@ -65,7 +67,7 @@ const getArrayControl = (parentScope: string, childScope: string, childLabel?: s
65
67
  return {
66
68
  type: "Control",
67
69
  scope: `#/properties/${parentScope}`,
68
- layout: 11.5,
70
+ layout: 12,
69
71
  options: {
70
72
  "elementLabelProp": childScope,
71
73
  detail: {
@@ -85,7 +87,8 @@ const getArrayControl = (parentScope: string, childScope: string, childLabel?: s
85
87
  },
86
88
  },
87
89
  },
88
- EmptyBox
90
+ emptyBox,
91
+ emptyBox
89
92
  ],
90
93
  },
91
94
  },
@@ -106,6 +109,7 @@ sizeHolder.options.detail.elements[1] = {
106
109
  },
107
110
  },
108
111
  };
112
+ sizeHolder.options.detail.elements[2] = emptyBox
109
113
  const getInputField = (scope: String, label: String) => {
110
114
  return {
111
115
  type: "Control",
@@ -141,7 +145,26 @@ export const getRadioInputField = (scope: String, label: String, options: string
141
145
  },
142
146
  };
143
147
  };
144
-
148
+ export const buildWrapper = (label: string, elements: any[]) => {
149
+ return {
150
+ type: "WrapperLayout",
151
+ config: {
152
+ main: {
153
+ label: label || "Details",
154
+ isAccordion: true,
155
+ },
156
+ wrapperStyle: {
157
+ marginTop: '-6px',
158
+ marginBottom: '-8px',
159
+ },
160
+ componentsBoxStyle: {
161
+ marginLeft: "24px",
162
+ },
163
+ defaultStyle: true
164
+ },
165
+ elements: elements || []
166
+ }
167
+ }
145
168
  export const getTextArea = (scope: string, heading: string, hideButton: boolean, layout?: any) => {
146
169
  return {
147
170
  type: "Control",
@@ -210,6 +233,7 @@ export const buildPropertiesSection = function (type: String) {
210
233
  getInputField("graphHeight", "Graph Height"),
211
234
  getInputField("graphWidth", "Graph Width"),
212
235
  getInputField("graphZoomHeight", "Zoom Height"),
236
+ emptyBox
213
237
  ]
214
238
  break;
215
239
  case "InputSlider":
@@ -218,6 +242,7 @@ export const buildPropertiesSection = function (type: String) {
218
242
  getInputField("step", "Step"),
219
243
  getInputField("min", "Min Limit"),
220
244
  getRadioInputField("limitToMax", "Applly Max. Limit", ["YES", "NO"]),
245
+ emptyBox, emptyBox
221
246
  ]
222
247
  break;
223
248
  case "DataGrid":
@@ -226,8 +251,8 @@ export const buildPropertiesSection = function (type: String) {
226
251
  getInputField("elevation", "Card Elevation"),
227
252
  getInputField("height", "Grid height"),
228
253
  getInputField("justifyContent", "justifyContent"),
229
- EmptyBox,
230
- EmptyBox,
254
+ emptyBox,
255
+ emptyBox,
231
256
  cardLayout,
232
257
  ]
233
258
  break;
@@ -241,6 +266,7 @@ export const buildPropertiesSection = function (type: String) {
241
266
  { label: "Horizontal", value: "horizontal" },
242
267
  { label: "Vertical", value: "vertical" },
243
268
  ]),
269
+ emptyBox,
244
270
 
245
271
  getArrayControl("sectionLabels", "label")
246
272
 
@@ -256,14 +282,15 @@ export const buildPropertiesSection = function (type: String) {
256
282
  case "Text":
257
283
  uiSchema.elements = [
258
284
  getInputField("placeholder", "Placeholder"),
259
- EmptyBox,
285
+ emptyBox,
286
+ emptyBox,
260
287
  getArrayControl("InputFormatingAndMasking", "formatElement", "Format Element")
261
288
  ]
262
289
  break;
263
290
  case "TextArea":
264
291
  uiSchema.elements = [
265
292
  getInputField("placeholder", "Placeholder"),
266
- EmptyBox,]
293
+ emptyBox, emptyBox]
267
294
  break;
268
295
 
269
296
  case "SpeedoMeter":
@@ -272,7 +299,8 @@ export const buildPropertiesSection = function (type: String) {
272
299
  getInputField("heading", "Container Heading"),
273
300
  getInputField("heading", "Container Heading"),
274
301
  getInputField("speedoCaption", "Speedometer Caption"),
275
- getInputField("width", "Speedometer Width")
302
+ getInputField("width", "Speedometer Width"),
303
+ emptyBox
276
304
  ]
277
305
  break;
278
306
  case "RankCard":
@@ -280,7 +308,8 @@ export const buildPropertiesSection = function (type: String) {
280
308
  getInputField("rank", "Rank"),
281
309
  getInputField("image", "Image Url"),
282
310
  getInputField("title", "Card Title"),
283
- getInputField("description", "Card Description")];
311
+ getInputField("description", "Card Description"),
312
+ emptyBox, emptyBox];
284
313
  break;
285
314
  case "LeaderBoard":
286
315
  uiSchema.elements = [
@@ -288,7 +317,8 @@ export const buildPropertiesSection = function (type: String) {
288
317
  getInputField("firstImage", "First Image url"),
289
318
  getInputField("secondImage", "Second Image url"),
290
319
  getInputField("thirdImage", "Third Image url"),
291
- getTextArea("functionCode", "Write Compare Code", false)
320
+ emptyBox, emptyBox,
321
+ getTextArea("functionCode", "Write Compare Code", false),
292
322
  ];
293
323
  break;
294
324
  case "CardSlider":
@@ -301,7 +331,8 @@ export const buildPropertiesSection = function (type: String) {
301
331
  getInputField("heading", "Heading"),
302
332
  getInputField("bottomLabel_1", "First BottomLabel"),
303
333
  getInputField("bottomLabel_2", "Second BottomLabel"),
304
- getInputField("bottomLabel_3", "Third BottomLabel")
334
+ getInputField("bottomLabel_3", "Third BottomLabel"),
335
+ emptyBox, emptyBox
305
336
  ];
306
337
  break;
307
338
  case "card":
@@ -309,7 +340,7 @@ export const buildPropertiesSection = function (type: String) {
309
340
  getInputField("url", "Image Url"),
310
341
  getInputField("label", "Label"),
311
342
  getInputField("description", "Description"),
312
- EmptyBox
343
+ emptyBox
313
344
  ];
314
345
  break;
315
346
  case "Button":
@@ -322,7 +353,7 @@ export const buildPropertiesSection = function (type: String) {
322
353
  { label: "Apply Default Style", value: "true" },
323
354
  { label: "No Style", value: "false" },
324
355
  ]),
325
- EmptyBox
356
+ emptyBox
326
357
  ];
327
358
  break;
328
359
  case "Graph":
@@ -341,6 +372,7 @@ export const buildPropertiesSection = function (type: String) {
341
372
  getRadioInputField("legendHide", "Legend Hide", ["YES", "No"]),
342
373
  getInputField("yAxisValue", "Y-AxisValue"),
343
374
  getInputField("xAxisValue", "X-AxisValue"),
375
+ emptyBox,
344
376
  getArrayControl("legendLabels", "label"),
345
377
  getArrayControl("pieArcColors", "color"),
346
378
  ];
@@ -349,7 +381,8 @@ export const buildPropertiesSection = function (type: String) {
349
381
  uiSchema.elements = [getRadioInputField("divider", "Divider", ["YES", "No"]),
350
382
  getRadioInputField("isAccordion", "Accordion", ["YES", "No"])
351
383
  , getRadioInputField("defaultStyle", "Default Style", ["YES", "No"]),
352
- getInputField("rowSpacing", "Row Spacing"),
384
+ getInputField("rowSpacing", "Row Spacing"),
385
+ emptyBox, emptyBox
353
386
  ]
354
387
  break;
355
388
 
@@ -357,6 +390,7 @@ export const buildPropertiesSection = function (type: String) {
357
390
  uiSchema.elements = [
358
391
  getRadioInputField("verticalOrientation", "Vertical Orientation", ["YES", "NO"]),
359
392
  getRadioInputField("lazyLoad", "Lazy Load", ["YES", "NO"]),
393
+ emptyBox,
360
394
  getArrayControl("sectionLabels", "label"),
361
395
  ]
362
396
  break;
@@ -364,13 +398,22 @@ export const buildPropertiesSection = function (type: String) {
364
398
  case "LazyLoadingTable":
365
399
  uiSchema.elements = [
366
400
  getRadioInputField("lazyLoading", "Lazy Loading", ["YES", "NO"]),
367
- getRadioInputField("SelectionAvailable", "Selection Available", ["YES", "NO"]),
368
- getRadioInputField("ColumnResizingAvailable", "ColumnResizing Available", ["YES", "NO"]),
369
- getRadioInputField("DragAvailable", "Drag Available", ["YES", "NO"]),
401
+ getRadioInputField("SelectionAvailable", "Row Selection", ["YES", "NO"]),
402
+ getRadioInputField("ColumnResizingAvailable", "ColumnResizing ", ["YES", "NO"]),
403
+ getRadioInputField("DragAvailable", "Row Dragging", ["YES", "NO"]),
370
404
  getRadioInputField("downloadAllData", "Download All Data", ["YES", "NO"]),
371
- getInputField("selectKey", "Selection Key"),
405
+ getInputField("selectKey", "Selection Key"), emptyBox,
406
+ buildWrapper("Tree Table Properties", [
407
+ getRadioInputField("enableRowMovement", "Row Rearrangement", ["YES", "NO"]),
408
+ getRadioInputField("enableExpanding", "Row Expanding", ["YES", "NO"]),
409
+ // getRadioInputField("enableExpandAll", "Use All Row Expanding", ["YES", "NO"]),
410
+ getRadioInputField("paginateExpandedRows", "Multi Page Expansion", ["YES", "NO"]),
411
+ getRadioInputField("treeStructure", "Flat Tree Structure", ["YES", "NO"]),
412
+ emptyBox, emptyBox
413
+ ]),
372
414
  getArrayControl("Table_Download_Keys_Name", "KeyName", "Table Key Name"),
373
- sizeHolder
415
+ sizeHolder,
416
+
374
417
  ]
375
418
  break;
376
419
  case "Radio":
@@ -382,12 +425,14 @@ export const buildPropertiesSection = function (type: String) {
382
425
  uiSchema.elements = [
383
426
  getRadioInputField("lazyLoading", "Lazy Loading", ["YES", "NO"]),
384
427
  getRadioInputField("freeSolo", "FreeSolo", ["YES", "NO"]),
428
+ emptyBox
385
429
  ]
386
430
  break;
387
431
  case "MultipleSelect":
388
432
  uiSchema.elements = [
389
433
  getRadioInputField("lazyLoading", "Lazy Loading", ["YES", "NO"]),
390
- EmptyBox
434
+ emptyBox,
435
+ emptyBox
391
436
  ]
392
437
  break;
393
438
  }
@@ -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
  },
@@ -1,100 +1,98 @@
1
1
  export default {
2
- type: "WrapperLayout",
3
- config: {
4
- main: {
5
- rowSpacing: 0.5,
6
- },
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
- },
17
- },
18
- layout: { xs: 12, sm: 12,md: 6,lg: 6, },},
19
- elements: [
20
- {
21
- type: "Control",
22
- scope: "#/properties/programType",
23
- config: {
24
- main: {
25
- heading: "$5000.00",
26
- },
27
- style: {
28
- position : "absolute",
29
- left : "10%",
30
- top: "15%",
31
- color: "#f5effc",
32
- height: "80px",
33
- display: "flex",
34
- fontSize: {xs:"24px",md:"32px"},
35
- alignItems: "center",
36
- background: "inherit",
37
- justifyContent:"flex-start",
38
-
39
- },
40
- layout: 5,
2
+ type: "WrapperLayout",
3
+ config: {
4
+ main: {
5
+ rowSpacing: 0.5,
6
+ },
7
+ componentsBoxStyle: {
8
+ position: "relative",
9
+ color: "white",
10
+ height: { xs: "120px", md: "160px" },
11
+ width: "100%",
12
+ textAlign: "left",
13
+ background: "#3f51b5",
14
+ borderRadius: "20px",
15
+ },
16
+ layout: { xs: 12, sm: 12, md: 6, lg: 6, },
17
+ },
18
+ elements: [
19
+ {
20
+ type: "Control",
21
+ scope: "#/properties/programType",
22
+ config: {
23
+ main: {
24
+ heading: "$5000.00",
41
25
  },
42
- options: {
43
- widget: "Box",
26
+ style: {
27
+ position: "absolute",
28
+ left: "10%",
29
+ top: "15%",
30
+ color: "#f5effc",
31
+ height: "80px",
32
+ display: "flex",
33
+ fontSize: { xs: "24px", md: "32px" },
34
+ alignItems: "center",
35
+ background: "inherit",
36
+ justifyContent: "flex-start",
37
+
44
38
  },
39
+ layout: 5,
40
+ },
41
+ options: {
42
+ widget: "Box",
45
43
  },
46
- {
47
- type: "Control",
48
- scope: "#/properties/programType",
49
- config: {
50
- main: {
51
- url: "https://www.svgrepo.com/show/500606/loading.svg",
52
- },
53
- style: {
54
- color: "#f5effc",
55
- objectFit: "contain",
56
- position:"absolute",
57
- top:"10px",
58
- right:"10px",
59
- height: "80%",
60
- width : "35%",
61
- display: "flex",
62
- fontSize: "34px",
63
- alignItems: "center",
64
- background: "inherit",
65
- padding: "20px",
66
- justifyContent: "left",
67
- },
68
- layout: 5,
44
+ },
45
+ {
46
+ type: "Control",
47
+ scope: "#/properties/programType",
48
+ config: {
49
+ main: {
50
+ url: "https://www.svgrepo.com/show/500606/loading.svg",
69
51
  },
70
- options: {
71
- widget: "Image",
52
+ style: {
53
+ color: "#f5effc",
54
+ objectFit: "contain",
55
+ position: "absolute",
56
+ top: "10px",
57
+ right: "10px",
58
+ height: "80%",
59
+ width: "35%",
60
+ display: "flex",
61
+ fontSize: "34px",
62
+ alignItems: "center",
63
+ background: "inherit",
64
+ padding: "20px",
65
+ justifyContent: "left",
72
66
  },
67
+ layout: 5,
73
68
  },
74
- {
75
- type: "Control",
76
- scope: "#/properties/programType",
77
- config: {
78
- main: {
79
- heading: "Total Earnings",
80
- },
81
- style: {
82
- position : "absolute",
83
- top: "calc(60%)",
84
- alignItems : "center",
85
- color: "#8999e8",
86
- fontSize: "16px",
87
- left: "10%",
88
- background: "inherit",
89
- justifyContent :"center",
90
- },
91
- layout: 12,
69
+ options: {
70
+ widget: "Image",
71
+ },
72
+ },
73
+ {
74
+ type: "Control",
75
+ scope: "#/properties/programType",
76
+ config: {
77
+ main: {
78
+ heading: "Total Earnings",
92
79
  },
93
-
94
- options: {
95
- widget: "Box",
80
+ style: {
81
+ position: "absolute",
82
+ top: "calc(60%)",
83
+ alignItems: "center",
84
+ color: "#8999e8",
85
+ fontSize: "16px",
86
+ left: "10%",
87
+ background: "inherit",
88
+ justifyContent: "center",
96
89
  },
90
+ layout: 12,
91
+ },
92
+
93
+ options: {
94
+ widget: "Box",
97
95
  },
98
- ],
99
- };
100
-
96
+ },
97
+ ],
98
+ };
@@ -68,6 +68,16 @@ export const CoreSection = {
68
68
  widget: "EmptyBox",
69
69
  },
70
70
  },
71
+ {
72
+ type: "Control",
73
+ scope: "#/properties/proc",
74
+ config: {
75
+ layout: { xs: 0, sm: 4, md: 4, lg: 4 },
76
+ },
77
+ options: {
78
+ widget: "EmptyBox",
79
+ },
80
+ },
71
81
  {
72
82
  type: "Control",
73
83
  scope: "#/properties/layout",
@@ -5,15 +5,15 @@ export default {
5
5
  widget: "DateInputField",
6
6
  },
7
7
 
8
- config: {
9
- layout: { xs: 11, sm: 4, md: 4, lg: 4 },
8
+ config: {
9
+ layout: { xs: 11, sm: 4, md: 4, lg: 4 },
10
10
  main: {
11
11
  label: "",
12
12
  type: "date",
13
13
  },
14
14
  },
15
15
  };
16
- export const DateTime = {
16
+ export const DateTime = {
17
17
  type: "Control",
18
18
  scope: "#/properties/date",
19
19
  options: {
@@ -1,58 +1,7 @@
1
- export const EventSection = {
1
+ export const EventSection = (theme)=>{
2
+ const uiSchema = {
2
3
  type: "HorizontalLayout",
3
4
  elements: [
4
- // {
5
- // type: "WrapperLayout",
6
- // config: {
7
- // main: {
8
- // // label: "Table Columns",
9
- // divider: true,
10
- // },
11
- // wrapperStyle: {
12
- // border:"1px solid gray"
13
- // },
14
- // },
15
- // elements: [
16
- // {
17
- // type: "Control",
18
- // scope: "#/properties/programType",
19
-
20
- // options: {
21
- // widget: "Box",
22
- // },
23
- // config: {
24
- // layout: 8,
25
- // main: {
26
- // heading: "Event Table",
27
- // },
28
- // style: {
29
- // fontFamily: "Roboto",
30
- // fontWeight: "500",
31
- // paddingLeft:"-10px",
32
- // fontSize: "20px",},
33
- // },
34
- // },
35
- // {
36
- // type: "Control",
37
- // scope: "#/properties/Back_Button",
38
-
39
- // options: {
40
- // widget: "IconButton",
41
- // },
42
- // config: {
43
- // layout: 3,
44
- // main: {
45
- // icon: "AddIcon",
46
- // styleDefault: true,
47
- // size: "small",
48
- // onClick: "eventAddHandler",
49
- // tooltipMessage: "Back",
50
- // },
51
- // style: {
52
- // float: "right",
53
- // },
54
- // },
55
- // },
56
5
  {
57
6
  type: "Control",
58
7
  scope: "#/properties/events",
@@ -123,7 +72,7 @@ export const EventSection = {
123
72
  onClick: "eventEditHandler",
124
73
  },
125
74
  style: {
126
- color: "#3949ab",
75
+ color: theme.palette.primary.main,
127
76
  },
128
77
  },
129
78
  },
@@ -144,13 +93,15 @@ export const EventSection = {
144
93
  icon: "RejectIcon",
145
94
  color: "error",
146
95
  tooltipMessage: "Reject This Record",
147
- onClick: "deleteEvent",
96
+ onClick: "deletePopUpEvent",
148
97
  },
149
98
  },
150
99
  },
151
100
  },
152
101
  ]
153
102
  }]}
103
+ return uiSchema
104
+ }
154
105
  // ]}
155
106
 
156
107
  export const EventSectionSchema = {
@@ -13,12 +13,7 @@ export const uploadFile = {
13
13
  "style": {
14
14
  "backgroundColor": "none"
15
15
  },
16
- "layout": {
17
- "lg": 5.5,
18
- "md": 5.5,
19
- "sm": 11,
20
- "xs": 11
21
- }
16
+ layout: { xs: 11, sm: 4, md: 4, lg: 4 }
22
17
  },
23
18
  "options": {
24
19
  "widget": "UploadFile"
@@ -35,12 +30,7 @@ export const downloadFile = {
35
30
  "style": {
36
31
  "backgroundColor": "none"
37
32
  },
38
- "layout": {
39
- "lg": 5.5,
40
- "md": 5.5,
41
- "sm": 11,
42
- "xs": 11
43
- }
33
+ layout: { xs: 11, sm: 4, md: 4, lg: 4 }
44
34
  },
45
35
  "options": {
46
36
  "widget": "DownloadFile"