impaktapps-ui-builder 0.0.596 → 0.0.751

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 (82) hide show
  1. package/dist/impaktapps-ui-builder.es.js +2208 -1683
  2. package/dist/impaktapps-ui-builder.es.js.map +1 -1
  3. package/dist/impaktapps-ui-builder.umd.js +14 -14
  4. package/dist/impaktapps-ui-builder.umd.js.map +1 -1
  5. package/dist/src/impaktapps-ui-builder/builder/build/buildCard.d.ts +1 -1
  6. package/dist/src/impaktapps-ui-builder/builder/build/buildTable.d.ts +0 -1
  7. package/dist/src/impaktapps-ui-builder/builder/build/buildThoughtOfTheDay.d.ts +1 -0
  8. package/dist/src/impaktapps-ui-builder/builder/build/buildUiSchema.d.ts +1 -1
  9. package/dist/src/impaktapps-ui-builder/builder/build/uischema/apiSection.d.ts +1 -0
  10. package/dist/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.d.ts +23 -0
  11. package/dist/src/impaktapps-ui-builder/builder/build/uischema/button.d.ts +0 -1
  12. package/dist/src/impaktapps-ui-builder/builder/build/uischema/card.d.ts +170 -82
  13. package/dist/src/impaktapps-ui-builder/builder/build/uischema/eventSection.d.ts +55 -2
  14. package/dist/src/impaktapps-ui-builder/builder/build/uischema/graph.d.ts +52 -23
  15. package/dist/src/impaktapps-ui-builder/builder/build/uischema/leaderBoard.d.ts +10 -301
  16. package/dist/src/impaktapps-ui-builder/builder/build/uischema/progressBar.d.ts +6 -1
  17. package/dist/src/impaktapps-ui-builder/builder/build/uischema/tableSection.d.ts +50 -2
  18. package/dist/src/impaktapps-ui-builder/builder/build/uischema/{lazyLoadingTable.d.ts → thoughtOfTheDay.d.ts} +6 -4
  19. package/dist/src/impaktapps-ui-builder/builder/build/uischema/timer.d.ts +1 -14
  20. package/dist/src/impaktapps-ui-builder/builder/build/uischema/validationSections.d.ts +1 -1
  21. package/dist/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/schema.d.ts +3 -0
  22. package/dist/src/impaktapps-ui-builder/builder/elements/UiSchema/event/schema.d.ts +3 -0
  23. package/dist/src/impaktapps-ui-builder/builder/services/component.d.ts +8 -2
  24. package/dist/src/impaktapps-ui-builder/builder/services/event.d.ts +5 -0
  25. package/dist/src/impaktapps-ui-builder/builder/services/pageMaster.d.ts +5 -0
  26. package/dist/src/impaktapps-ui-builder/builder/services/utils.d.ts +4 -4
  27. package/dist/src/impaktapps-ui-builder/lib/index.d.ts +1 -1
  28. package/package.json +5 -1
  29. package/src/impaktapps-ui-builder/builder/build/buildCard.ts +11 -7
  30. package/src/impaktapps-ui-builder/builder/build/buildConfig.ts +1 -1
  31. package/src/impaktapps-ui-builder/builder/build/buildFileInput.ts +1 -1
  32. package/src/impaktapps-ui-builder/builder/build/buildHorizontalBarGraph.ts +21 -13
  33. package/src/impaktapps-ui-builder/builder/build/buildInputSlider.ts +1 -1
  34. package/src/impaktapps-ui-builder/builder/build/buildLeaderboard.ts +18 -13
  35. package/src/impaktapps-ui-builder/builder/build/buildLineGraph.ts +10 -2
  36. package/src/impaktapps-ui-builder/builder/build/buildPieGraph.ts +7 -16
  37. package/src/impaktapps-ui-builder/builder/build/buildProgressBar.ts +1 -1
  38. package/src/impaktapps-ui-builder/builder/build/buildRadio.ts +1 -1
  39. package/src/impaktapps-ui-builder/builder/build/buildRankCard.ts +4 -10
  40. package/src/impaktapps-ui-builder/builder/build/buildSchema.ts +1 -1
  41. package/src/impaktapps-ui-builder/builder/build/buildStackBarGraph.ts +19 -4
  42. package/src/impaktapps-ui-builder/builder/build/buildTable.ts +23 -29
  43. package/src/impaktapps-ui-builder/builder/build/buildTextArea.ts +6 -0
  44. package/src/impaktapps-ui-builder/builder/build/buildThoughtOfTheDay.ts +22 -0
  45. package/src/impaktapps-ui-builder/builder/build/buildUiSchema.ts +27 -12
  46. package/src/impaktapps-ui-builder/builder/build/buildUplaodFile.ts +16 -19
  47. package/src/impaktapps-ui-builder/builder/build/uischema/apiSection.ts +10 -10
  48. package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +111 -56
  49. package/src/impaktapps-ui-builder/builder/build/uischema/button.ts +1 -2
  50. package/src/impaktapps-ui-builder/builder/build/uischema/card.ts +188 -90
  51. package/src/impaktapps-ui-builder/builder/build/uischema/coreSection.ts +11 -11
  52. package/src/impaktapps-ui-builder/builder/build/uischema/dateInputField.ts +3 -3
  53. package/src/impaktapps-ui-builder/builder/build/uischema/eventSection.ts +44 -0
  54. package/src/impaktapps-ui-builder/builder/build/uischema/file.ts +2 -2
  55. package/src/impaktapps-ui-builder/builder/build/uischema/graph.ts +13 -29
  56. package/src/impaktapps-ui-builder/builder/build/uischema/leaderBoard.ts +10 -367
  57. package/src/impaktapps-ui-builder/builder/build/uischema/multiSelect.ts +1 -1
  58. package/src/impaktapps-ui-builder/builder/build/uischema/progressBar.ts +1 -1
  59. package/src/impaktapps-ui-builder/builder/build/uischema/rankCard.ts +1 -1
  60. package/src/impaktapps-ui-builder/builder/build/uischema/refresh.ts +3 -3
  61. package/src/impaktapps-ui-builder/builder/build/uischema/runnerBoyProgressBar.ts +1 -1
  62. package/src/impaktapps-ui-builder/builder/build/uischema/selectInputField.ts +1 -1
  63. package/src/impaktapps-ui-builder/builder/build/uischema/tableSection.ts +45 -1
  64. package/src/impaktapps-ui-builder/builder/build/uischema/textInputField.ts +1 -1
  65. package/src/impaktapps-ui-builder/builder/build/uischema/thoughtOfTheDay.ts +14 -0
  66. package/src/impaktapps-ui-builder/builder/build/uischema/timer.ts +2 -16
  67. package/src/impaktapps-ui-builder/builder/build/uischema/validationSections.ts +3 -3
  68. package/src/impaktapps-ui-builder/builder/build/uischema/valueTab.ts +3 -3
  69. package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/schema.ts +37 -2
  70. package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/uiSchema.ts +283 -182
  71. package/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/schema.ts +4 -1
  72. package/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/uiSchema.ts +344 -130
  73. package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/schema.ts +4 -1
  74. package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/uiSchema.ts +194 -80
  75. package/src/impaktapps-ui-builder/builder/services/component.ts +105 -26
  76. package/src/impaktapps-ui-builder/builder/services/event.ts +50 -9
  77. package/src/impaktapps-ui-builder/builder/services/pageMaster.ts +32 -14
  78. package/src/impaktapps-ui-builder/builder/services/utils.ts +13 -13
  79. package/src/impaktapps-ui-builder/lib/index.ts +1 -1
  80. package/src/impaktapps-ui-builder/runtime/services/events.ts +26 -23
  81. package/src/impaktapps-ui-builder/runtime/services/service.ts +61 -62
  82. package/src/impaktapps-ui-builder/builder/build/uischema/lazyLoadingTable.ts +0 -15
@@ -40,7 +40,10 @@ export const PageMasterSchema = {
40
40
  }
41
41
  },
42
42
  },
43
- }
43
+ },
44
+ RemoveItemButton:{
45
+ disabled: true
46
+ }
44
47
  },
45
48
  required:["template","name", "label"]
46
49
  }
@@ -23,7 +23,7 @@ export const PageMasterUiSchema: any = (theme) => {
23
23
  widget: "InputField",
24
24
  },
25
25
  config: {
26
- layout: { xs: 11, sm: 4, md: 4, lg: 4 },
26
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
27
27
  main: {
28
28
  label: "Name",
29
29
  options: [],
@@ -42,7 +42,7 @@ export const PageMasterUiSchema: any = (theme) => {
42
42
  widget: "SelectInputField",
43
43
  },
44
44
  config: {
45
- layout: { xs: 11, sm: 4, md: 4, lg: 4 },
45
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
46
46
  main: {
47
47
  label: "Template",
48
48
  options: [
@@ -63,7 +63,7 @@ export const PageMasterUiSchema: any = (theme) => {
63
63
  widget: "InputField",
64
64
  },
65
65
  config: {
66
- layout: { xs: 11, sm: 4, md: 4, lg: 4 },
66
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
67
67
  main: {
68
68
  label: "Label",
69
69
  options: [],
@@ -72,13 +72,23 @@ export const PageMasterUiSchema: any = (theme) => {
72
72
  },
73
73
  },
74
74
  },
75
+ {
76
+ type: "Control",
77
+ scope: "#/properties/EmptyBox",
78
+ config: {
79
+ layout: { xs: 6, sm: 6, md: 0, lg: 0 },
80
+ },
81
+ options: {
82
+ widget: "EmptyBox",
83
+ },
84
+ },
75
85
  ],
76
86
  },
77
87
  {
78
88
  type: "TabLayout",
79
89
  config: {
80
90
  main: {
81
- tabLabels: ["Components", "events"],
91
+ tabLabels: ["Components", "Events"],
82
92
  divider: true,
83
93
  },
84
94
  defaultStyle: true,
@@ -117,6 +127,30 @@ export const PageMasterUiSchema: any = (theme) => {
117
127
  },
118
128
  }
119
129
  },
130
+
131
+ {
132
+ widget: {
133
+ type: "Control",
134
+ scope: "#/properties/Paste_Component",
135
+
136
+ options: {
137
+ widget: "IconButton",
138
+ },
139
+ config: {
140
+ main: {
141
+ // color: "info",
142
+ onClick: "copyPasteElement",
143
+ size: "small",
144
+ icon: "PasteIcon",
145
+ iconLabel: "Paste",
146
+ styleDefault: true,
147
+ },
148
+ style: {
149
+ mt: "6px",
150
+ },
151
+ },
152
+ }
153
+ },
120
154
  ]
121
155
  },
122
156
  disableAction: true,
@@ -177,7 +211,30 @@ export const PageMasterUiSchema: any = (theme) => {
177
211
  },
178
212
  },
179
213
  },
180
- }
214
+ },
215
+
216
+ {
217
+ header: "Copy",
218
+ field: "Copy_Component",
219
+ flex: 1,
220
+ widget: {
221
+ type: "Control",
222
+ scope: "#/properties/Copy_Component",
223
+ options: {
224
+ widget: "IconButton",
225
+ },
226
+ config: {
227
+ main: {
228
+ icon: "FileCopyIcon",
229
+ // color: "error",
230
+ onClick: "copyPasteElement",
231
+ styleDefault: true,
232
+ },
233
+ },
234
+ },
235
+ },
236
+
237
+
181
238
  ]
182
239
  },
183
240
  {
@@ -213,6 +270,30 @@ export const PageMasterUiSchema: any = (theme) => {
213
270
  },
214
271
  }
215
272
  },
273
+
274
+ {
275
+ widget: {
276
+ type: "Control",
277
+ scope: "#/properties/Paste_Event",
278
+
279
+ options: {
280
+ widget: "IconButton",
281
+ },
282
+ config: {
283
+ main: {
284
+ // color: "info",
285
+ onClick: "copyPasteElement",
286
+ size: "small",
287
+ icon: "PasteIcon",
288
+ iconLabel: "Paste",
289
+ styleDefault: true,
290
+ },
291
+ style: {
292
+ mt: "6px",
293
+ },
294
+ },
295
+ }
296
+ },
216
297
  ]
217
298
  },
218
299
 
@@ -274,6 +355,28 @@ export const PageMasterUiSchema: any = (theme) => {
274
355
  },
275
356
  },
276
357
  },
358
+
359
+
360
+ {
361
+ header: "Copy",
362
+ field: "Copy_Event",
363
+ flex: 1,
364
+ widget: {
365
+ type: "Control",
366
+ scope: "#/properties/Copy_Event",
367
+ options: {
368
+ widget: "IconButton",
369
+ },
370
+ config: {
371
+ main: {
372
+ icon: "FileCopyIcon",
373
+ // color: "error",
374
+ onClick: "copyPasteElement",
375
+ styleDefault: true,
376
+ },
377
+ },
378
+ },
379
+ },
277
380
  ]
278
381
  // }]
279
382
  },
@@ -281,14 +384,62 @@ export const PageMasterUiSchema: any = (theme) => {
281
384
  ],
282
385
  },
283
386
  {
284
- type: "Control",
285
- scope: "#/properties/btn",
286
- options: {
287
- widget: "EmptyBox",
288
- },
387
+ type: "HorizontalLayout",
289
388
  config: {
290
- layout: { xs: 0, sm: 8, md: 8, lg: 8 },
291
- }
389
+ layout:{xs:12,sm: 9}
390
+ },
391
+ elements: [
392
+ {
393
+ type: "Control",
394
+ scope: "#/properties/RemoveItemButton",
395
+ options: {
396
+ widget: "IconButton",
397
+ },
398
+ config: {
399
+ layout: { xs: 1, sm: 1 },
400
+ main: {
401
+ onClick: "RemoveItemButton",
402
+ size: "large",
403
+ icon: "RejectIcon",
404
+ styleDefault: true,
405
+ },
406
+ style:{
407
+ marginLeft: "-5px"
408
+ }
409
+ },
410
+ },
411
+
412
+ {
413
+ type: "Control",
414
+ scope: "#/properties/copiedElementDetails",
415
+
416
+ options: {
417
+ widget: "Box",
418
+ },
419
+ config: {
420
+ layout: { xs: 6, sm: 6 },
421
+ main: {
422
+ heading: "No element copied",
423
+ },
424
+ style: {
425
+ color: "#535557",
426
+ marginLeft: "-30px",
427
+ fontSize: "12px",
428
+ marginTop: "4px"
429
+ },
430
+ },
431
+ },
432
+ {
433
+ type: "Control",
434
+ scope: "#/properties/EmptyBox",
435
+ options: {
436
+ widget: "EmptyBox",
437
+ },
438
+ config: {
439
+ layout: { xs: 1, sm: 5 },
440
+ },
441
+ },
442
+ ]
292
443
  },
293
444
  {
294
445
  type: "Control",
@@ -296,9 +447,9 @@ export const PageMasterUiSchema: any = (theme) => {
296
447
  options: {
297
448
  widget: "Button",
298
449
  },
299
-
450
+
300
451
  config: {
301
- layout: 11.9,
452
+ layout: { xs: 4, sm: 2 },
302
453
  main: {
303
454
  name: "Save",
304
455
  startIcon: "ApproveIcon",
@@ -308,10 +459,6 @@ export const PageMasterUiSchema: any = (theme) => {
308
459
  onClick: "saveHandler",
309
460
  size: "medium",
310
461
  },
311
- style: {
312
- width: { xs: "90%", sm: "90%", md: "20%", lg: "10%" },
313
- float: "right",
314
- },
315
462
  },
316
463
  },
317
464
  {
@@ -324,25 +471,20 @@ export const PageMasterUiSchema: any = (theme) => {
324
471
  layout: {
325
472
  xs: 12,
326
473
  sm: 12,
327
- md: 6,
328
- lg: 6,
474
+ md: 12,
475
+ lg: 12,
329
476
  },
330
477
  main: {
478
+ title: "WARNING!"
331
479
  },
332
480
  style: {
333
- "& .MuiPaper-root":{
334
- width: '30%',
335
- },
336
- "& .MuiTypography-root":{
337
- padding: 0
338
- },
339
481
  }
340
482
  },
341
483
  elements:
342
484
  [
343
485
  {
344
486
  type: "Control",
345
- scope: "#/properties/label",
487
+ scope: "#/properties/popText",
346
488
  options: {
347
489
  widget: "Box",
348
490
  },
@@ -351,59 +493,97 @@ export const PageMasterUiSchema: any = (theme) => {
351
493
  main: {
352
494
  heading: "Are you sure you want to delete ?",
353
495
  },
354
- style: {
355
- marginTop: "-40px"
496
+ style:{
497
+ marginTop: "-20px",
498
+ fontSize: "20px",
499
+ "&.MuiTypography-root": {
500
+ padding: "10px 30px 20px 30px",
501
+ textAlign: "center",
502
+ lineHeight: "1"
503
+ }
356
504
  }
357
505
  },
358
506
  },
359
507
  {
360
- type: "Control",
361
- scope: "#/properties/EmptyBox",
362
- options: {
363
- widget: "EmptyBox",
364
- },
508
+ type: "WrapperLayout",
365
509
  config: {
510
+ layout: 12,
366
511
  main: {},
367
- layout: { xs: 11, sm: 5.5, md: 5.5, lg: 5.5 },
368
- },
369
- },
370
- {
371
- type: "Control",
372
- scope: "#/properties/ConfirmDeleteCompButton",
373
- options: {
374
- widget: "Button",
512
+
375
513
  },
376
- config: {
377
- layout: 3,
378
- main: {
379
- name: "Yes",
380
- startIcon: "ApproveIcon",
381
- variant: "contained",
382
- color: "info",
383
- type: "text",
384
- onClick: "Delete_Components",
385
- size: "small",
514
+ elements: [
515
+ {
516
+ type: "Control",
517
+ scope: "#/properties/CancelDeleteCompButton",
518
+ options: {
519
+ widget: "Button",
520
+ },
521
+ config: {
522
+ layout: 6,
523
+ main: {
524
+ name: "No",
525
+ startIcon: "ApproveIcon",
526
+ variant: "contained",
527
+ color: "info",
528
+ type: "text",
529
+ onClick: "deletePopUpComponent",
530
+ size: "large",
531
+ },
532
+ style: {
533
+ position: "absolute",
534
+ bottom: 0,
535
+ left: 0,
536
+ width: "50%",
537
+ borderRadius: 0,
538
+ boxShadow: 0,
539
+ backgroundColor: "transparent",
540
+ color: theme.palette.primary.main,
541
+ borderTop: `0.5px solid ${theme.palette.grey[600]}`,
542
+ borderRight: `0.5px solid ${theme.palette.grey[600]}`,
543
+ "&:hover": {
544
+ color: theme.palette.primary.contrastText,
545
+ backgroundColor: theme.palette.primary.main,
546
+ boxShadow: "none"
547
+ }
548
+ }
549
+ },
386
550
  },
387
- },
388
- },
389
- {
390
- type: "Control",
391
- scope: "#/properties/CancelDeleteCompButton",
392
- options: {
393
- widget: "Button",
394
- },
395
- config: {
396
- layout: 3,
397
- main: {
398
- name: "No",
399
- startIcon: "ApproveIcon",
400
- variant: "contained",
401
- color: "info",
402
- type: "text",
403
- onClick: "deletePopUpComponent",
404
- size: "small",
551
+ {
552
+ type: "Control",
553
+ scope: "#/properties/ConfirmDeleteCompButton",
554
+ options: {
555
+ widget: "Button",
556
+ },
557
+ config: {
558
+ layout: 6,
559
+ main: {
560
+ name: "Yes",
561
+ startIcon: "ApproveIcon",
562
+ variant: "contained",
563
+ color: "error",
564
+ type: "text",
565
+ onClick: "Delete_Components",
566
+ size: "large",
567
+ },
568
+ style: {
569
+ position: "absolute",
570
+ bottom: 0,
571
+ right: 0,
572
+ width: "50%",
573
+ borderRadius: 0,
574
+ boxShadow: 0,
575
+ backgroundColor: "transparent",
576
+ color: theme.palette.error.main,
577
+ borderTop: `0.5px solid ${theme.palette.grey[600]}`,
578
+ "&:hover": {
579
+ color: theme.palette.error.contrastText,
580
+ backgroundColor: theme.palette.error.main,
581
+ boxShadow: "none"
582
+ }
583
+ }
584
+ },
405
585
  },
406
- },
586
+ ]
407
587
  },
408
588
  ]
409
589
  },
@@ -417,26 +597,20 @@ export const PageMasterUiSchema: any = (theme) => {
417
597
  layout: {
418
598
  xs: 12,
419
599
  sm: 12,
420
- md: 6,
421
- lg: 6,
600
+ md: 12,
601
+ lg: 12,
422
602
  },
423
603
  main: {
604
+ title: "WARNING!"
424
605
  },
425
-
426
606
  style: {
427
- "& .MuiPaper-root":{
428
- width: '30%',
429
- },
430
- "& .MuiTypography-root":{
431
- padding: 0
432
- },
433
607
  }
434
608
  },
435
609
  elements:
436
610
  [
437
611
  {
438
612
  type: "Control",
439
- scope: "#/properties/label",
613
+ scope: "#/properties/popText1",
440
614
  options: {
441
615
  widget: "Box",
442
616
  },
@@ -445,59 +619,97 @@ export const PageMasterUiSchema: any = (theme) => {
445
619
  main: {
446
620
  heading: "Are you sure you want to delete ?",
447
621
  },
448
- style: {
449
- marginTop: "-40px"
622
+ style:{
623
+ marginTop: "-20px",
624
+ fontSize: "20px",
625
+ "&.MuiTypography-root": {
626
+ padding: "10px 30px 20px 30px",
627
+ textAlign: "center",
628
+ lineHeight: "1"
629
+ }
450
630
  }
451
631
  },
452
632
  },
453
633
  {
454
- type: "Control",
455
- scope: "#/properties/EmptyBox",
456
- options: {
457
- widget: "EmptyBox",
458
- },
634
+ type: "WrapperLayout",
459
635
  config: {
636
+ layout: 12,
460
637
  main: {},
461
- layout: { xs: 11, sm: 5.5, md: 5.5, lg: 5.5 },
462
- },
463
- },
464
- {
465
- type: "Control",
466
- scope: "#/properties/ConfirmDeleteEventButton",
467
- options: {
468
- widget: "Button",
638
+
469
639
  },
470
- config: {
471
- layout: 3,
472
- main: {
473
- name: "Yes",
474
- startIcon: "ApproveIcon",
475
- variant: "contained",
476
- color: "info",
477
- type: "text",
478
- onClick: "deleteEvent",
479
- size: "small",
640
+ elements: [
641
+ {
642
+ type: "Control",
643
+ scope: "#/properties/CancelDeleteEventButton",
644
+ options: {
645
+ widget: "Button",
646
+ },
647
+ config: {
648
+ layout: 6,
649
+ main: {
650
+ name: "No",
651
+ startIcon: "ApproveIcon",
652
+ variant: "contained",
653
+ color: "info",
654
+ type: "text",
655
+ onClick: "deletePopUpEvent",
656
+ size: "large",
657
+ },
658
+ style: {
659
+ position: "absolute",
660
+ bottom: 0,
661
+ left: 0,
662
+ width: "50%",
663
+ borderRadius: 0,
664
+ boxShadow: 0,
665
+ backgroundColor: "transparent",
666
+ color: theme.palette.primary.main,
667
+ borderTop: `0.5px solid ${theme.palette.grey[600]}`,
668
+ borderRight: `0.5px solid ${theme.palette.grey[600]}`,
669
+ "&:hover": {
670
+ color: theme.palette.primary.contrastText,
671
+ backgroundColor: theme.palette.primary.main,
672
+ boxShadow: "none"
673
+ }
674
+ }
675
+ },
480
676
  },
481
- },
482
- },
483
- {
484
- type: "Control",
485
- scope: "#/properties/CancelDeleteEventButton",
486
- options: {
487
- widget: "Button",
488
- },
489
- config: {
490
- layout: 3,
491
- main: {
492
- name: "No",
493
- startIcon: "ApproveIcon",
494
- variant: "contained",
495
- color: "error",
496
- type: "text",
497
- onClick: "deletePopUpEvent",
498
- size: "small",
677
+ {
678
+ type: "Control",
679
+ scope: "#/properties/ConfirmDeleteEventButton",
680
+ options: {
681
+ widget: "Button",
682
+ },
683
+ config: {
684
+ layout: 6,
685
+ main: {
686
+ name: "Yes",
687
+ startIcon: "ApproveIcon",
688
+ variant: "contained",
689
+ color: "error",
690
+ type: "text",
691
+ onClick: "deleteEvent",
692
+ size: "large",
693
+ },
694
+ style: {
695
+ position: "absolute",
696
+ bottom: 0,
697
+ right: 0,
698
+ width: "50%",
699
+ borderRadius: 0,
700
+ boxShadow: 0,
701
+ backgroundColor: "transparent",
702
+ color: theme.palette.error.main,
703
+ borderTop: `0.5px solid ${theme.palette.grey[600]}`,
704
+ "&:hover": {
705
+ color: theme.palette.error.contrastText,
706
+ backgroundColor: theme.palette.error.main,
707
+ boxShadow: "none"
708
+ }
709
+ }
710
+ },
499
711
  },
500
- },
712
+ ]
501
713
  },
502
714
  ]
503
715
  },
@@ -528,7 +740,7 @@ export const PageMasterUiSchema: any = (theme) => {
528
740
  },
529
741
  elements: [
530
742
  {
531
-
743
+
532
744
  type: "Control",
533
745
  scope: "#/properties/FooterText",
534
746
  options: {
@@ -542,13 +754,14 @@ export const PageMasterUiSchema: any = (theme) => {
542
754
  color: theme?.palette?.text.disabled || "#AFAFAF",
543
755
  fontSize: '12px',
544
756
  textAlign: 'center',
545
- lineHeight: 1,
757
+ lineHeight: 2,
546
758
  width: 'fit-content',
547
759
  left: '50%',
548
760
  position: 'relative',
549
761
  margin: 0,
550
762
  flexGrow: 1,
551
- height: 0
763
+ height: 0,
764
+ transform: "translate(-50%,0%)"
552
765
  }
553
766
  },
554
767
  },
@@ -570,7 +783,7 @@ export const PageMasterUiSchema: any = (theme) => {
570
783
  height: 0,
571
784
  margin: 0,
572
785
  top: 0,
573
- right: '82px',
786
+ right: {xs: '12px', sm: '84px'},
574
787
  position: 'absolute',
575
788
  fontSize: '12px',
576
789
  cursor: 'pointer',
@@ -583,7 +796,7 @@ export const PageMasterUiSchema: any = (theme) => {
583
796
  {
584
797
  type: "Control",
585
798
  scope: "#/properties/text",
586
-
799
+
587
800
  options: {
588
801
  widget: "Box",
589
802
  },
@@ -593,6 +806,7 @@ export const PageMasterUiSchema: any = (theme) => {
593
806
  onClick: "backHandler"
594
807
  },
595
808
  style: {
809
+ display: {xs: 'none', sm: "flex"},
596
810
  textAlign: 'left',
597
811
  lineHeight: 1,
598
812
  height: 0,
@@ -83,7 +83,10 @@ export const EventSchema = {
83
83
  },
84
84
  },
85
85
  },
86
- }
86
+ },
87
+ RemoveItemButton:{
88
+ disabled: true,
89
+ },
87
90
  },
88
91
  required:["eventType","Handler"]
89
92
  }