impaktapps-ui-builder 0.0.100 → 0.0.101
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.
- package/dist/impaktapps-ui-builder.es.js +1825 -1436
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +16 -16
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/dist/src/impaktapps-ui-builder/builder/build/buildThoughtOfTheDay.d.ts +1 -0
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/button.d.ts +0 -1
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/card.d.ts +90 -23
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/eventSection.d.ts +55 -2
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/graph.d.ts +52 -22
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/leaderBoard.d.ts +10 -301
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/progressBar.d.ts +6 -1
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/tableSection.d.ts +50 -2
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/thoughtOfTheDay.d.ts +17 -0
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/timer.d.ts +1 -14
- package/dist/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/schema.d.ts +3 -0
- package/dist/src/impaktapps-ui-builder/builder/elements/UiSchema/event/schema.d.ts +3 -0
- package/dist/src/impaktapps-ui-builder/builder/services/component.d.ts +8 -2
- package/dist/src/impaktapps-ui-builder/builder/services/event.d.ts +5 -0
- package/dist/src/impaktapps-ui-builder/builder/services/pageMaster.d.ts +5 -0
- package/dist/src/impaktapps-ui-builder/builder/services/utils.d.ts +1 -1
- package/package.json +5 -1
- package/src/impaktapps-ui-builder/builder/build/buildCard.ts +7 -3
- package/src/impaktapps-ui-builder/builder/build/buildConfig.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildHorizontalBarGraph.ts +18 -14
- package/src/impaktapps-ui-builder/builder/build/buildInputSlider.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildLeaderboard.ts +18 -13
- package/src/impaktapps-ui-builder/builder/build/buildLineGraph.ts +10 -2
- package/src/impaktapps-ui-builder/builder/build/buildPieGraph.ts +4 -15
- package/src/impaktapps-ui-builder/builder/build/buildRankCard.ts +4 -10
- package/src/impaktapps-ui-builder/builder/build/buildStackBarGraph.ts +16 -4
- package/src/impaktapps-ui-builder/builder/build/buildThoughtOfTheDay.ts +22 -0
- package/src/impaktapps-ui-builder/builder/build/buildUiSchema.ts +7 -0
- package/src/impaktapps-ui-builder/builder/build/buildUplaodFile.ts +16 -19
- package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +17 -10
- package/src/impaktapps-ui-builder/builder/build/uischema/button.ts +0 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/card.ts +102 -46
- package/src/impaktapps-ui-builder/builder/build/uischema/eventSection.ts +44 -0
- package/src/impaktapps-ui-builder/builder/build/uischema/graph.ts +13 -28
- package/src/impaktapps-ui-builder/builder/build/uischema/leaderBoard.ts +10 -366
- package/src/impaktapps-ui-builder/builder/build/uischema/progressBar.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/rankCard.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/runnerBoyProgressBar.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/tableSection.ts +45 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/thoughtOfTheDay.ts +14 -0
- package/src/impaktapps-ui-builder/builder/build/uischema/timer.ts +2 -16
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/schema.ts +5 -1
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/uiSchema.ts +271 -154
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/schema.ts +4 -1
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/uiSchema.ts +327 -120
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/schema.ts +4 -1
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/uiSchema.ts +188 -65
- package/src/impaktapps-ui-builder/builder/services/component.ts +94 -8
- package/src/impaktapps-ui-builder/builder/services/event.ts +19 -4
- package/src/impaktapps-ui-builder/builder/services/pageMaster.ts +20 -2
- package/src/impaktapps-ui-builder/builder/services/utils.ts +2 -2
- package/src/impaktapps-ui-builder/runtime/services/events.ts +23 -19
|
@@ -88,7 +88,7 @@ export const PageMasterUiSchema: any = (theme) => {
|
|
|
88
88
|
type: "TabLayout",
|
|
89
89
|
config: {
|
|
90
90
|
main: {
|
|
91
|
-
tabLabels: ["Components", "
|
|
91
|
+
tabLabels: ["Components", "Events"],
|
|
92
92
|
divider: true,
|
|
93
93
|
},
|
|
94
94
|
defaultStyle: true,
|
|
@@ -127,6 +127,30 @@ export const PageMasterUiSchema: any = (theme) => {
|
|
|
127
127
|
},
|
|
128
128
|
}
|
|
129
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
|
+
},
|
|
130
154
|
]
|
|
131
155
|
},
|
|
132
156
|
disableAction: true,
|
|
@@ -187,7 +211,30 @@ export const PageMasterUiSchema: any = (theme) => {
|
|
|
187
211
|
},
|
|
188
212
|
},
|
|
189
213
|
},
|
|
190
|
-
}
|
|
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
|
+
|
|
191
238
|
]
|
|
192
239
|
},
|
|
193
240
|
{
|
|
@@ -223,6 +270,30 @@ export const PageMasterUiSchema: any = (theme) => {
|
|
|
223
270
|
},
|
|
224
271
|
}
|
|
225
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
|
+
},
|
|
226
297
|
]
|
|
227
298
|
},
|
|
228
299
|
|
|
@@ -284,6 +355,28 @@ export const PageMasterUiSchema: any = (theme) => {
|
|
|
284
355
|
},
|
|
285
356
|
},
|
|
286
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
|
+
},
|
|
287
380
|
]
|
|
288
381
|
// }]
|
|
289
382
|
},
|
|
@@ -291,14 +384,62 @@ export const PageMasterUiSchema: any = (theme) => {
|
|
|
291
384
|
],
|
|
292
385
|
},
|
|
293
386
|
{
|
|
294
|
-
type: "
|
|
295
|
-
scope: "#/properties/btn",
|
|
296
|
-
options: {
|
|
297
|
-
widget: "EmptyBox",
|
|
298
|
-
},
|
|
387
|
+
type: "HorizontalLayout",
|
|
299
388
|
config: {
|
|
300
|
-
layout:
|
|
301
|
-
}
|
|
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
|
+
]
|
|
302
443
|
},
|
|
303
444
|
{
|
|
304
445
|
type: "Control",
|
|
@@ -306,7 +447,7 @@ export const PageMasterUiSchema: any = (theme) => {
|
|
|
306
447
|
options: {
|
|
307
448
|
widget: "Button",
|
|
308
449
|
},
|
|
309
|
-
|
|
450
|
+
|
|
310
451
|
config: {
|
|
311
452
|
layout: { xs: 4, sm: 2 },
|
|
312
453
|
main: {
|
|
@@ -330,25 +471,20 @@ export const PageMasterUiSchema: any = (theme) => {
|
|
|
330
471
|
layout: {
|
|
331
472
|
xs: 12,
|
|
332
473
|
sm: 12,
|
|
333
|
-
md:
|
|
334
|
-
lg:
|
|
474
|
+
md: 12,
|
|
475
|
+
lg: 12,
|
|
335
476
|
},
|
|
336
477
|
main: {
|
|
478
|
+
title: "WARNING!"
|
|
337
479
|
},
|
|
338
480
|
style: {
|
|
339
|
-
"& .MuiPaper-root":{
|
|
340
|
-
width: '30%',
|
|
341
|
-
},
|
|
342
|
-
"& .MuiTypography-root":{
|
|
343
|
-
padding: 0
|
|
344
|
-
},
|
|
345
481
|
}
|
|
346
482
|
},
|
|
347
483
|
elements:
|
|
348
484
|
[
|
|
349
485
|
{
|
|
350
486
|
type: "Control",
|
|
351
|
-
scope: "#/properties/
|
|
487
|
+
scope: "#/properties/popText",
|
|
352
488
|
options: {
|
|
353
489
|
widget: "Box",
|
|
354
490
|
},
|
|
@@ -357,59 +493,97 @@ export const PageMasterUiSchema: any = (theme) => {
|
|
|
357
493
|
main: {
|
|
358
494
|
heading: "Are you sure you want to delete ?",
|
|
359
495
|
},
|
|
360
|
-
style:
|
|
361
|
-
marginTop: "-
|
|
496
|
+
style:{
|
|
497
|
+
marginTop: "-20px",
|
|
498
|
+
fontSize: "20px",
|
|
499
|
+
"&.MuiTypography-root": {
|
|
500
|
+
padding: "10px 30px 20px 30px",
|
|
501
|
+
textAlign: "center",
|
|
502
|
+
lineHeight: "1"
|
|
503
|
+
}
|
|
362
504
|
}
|
|
363
505
|
},
|
|
364
506
|
},
|
|
365
507
|
{
|
|
366
|
-
type: "
|
|
367
|
-
scope: "#/properties/EmptyBox",
|
|
368
|
-
options: {
|
|
369
|
-
widget: "EmptyBox",
|
|
370
|
-
},
|
|
508
|
+
type: "WrapperLayout",
|
|
371
509
|
config: {
|
|
510
|
+
layout: 12,
|
|
372
511
|
main: {},
|
|
373
|
-
|
|
374
|
-
},
|
|
375
|
-
},
|
|
376
|
-
{
|
|
377
|
-
type: "Control",
|
|
378
|
-
scope: "#/properties/ConfirmDeleteCompButton",
|
|
379
|
-
options: {
|
|
380
|
-
widget: "Button",
|
|
512
|
+
|
|
381
513
|
},
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
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
|
+
},
|
|
392
550
|
},
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
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
|
+
},
|
|
411
585
|
},
|
|
412
|
-
|
|
586
|
+
]
|
|
413
587
|
},
|
|
414
588
|
]
|
|
415
589
|
},
|
|
@@ -423,26 +597,20 @@ export const PageMasterUiSchema: any = (theme) => {
|
|
|
423
597
|
layout: {
|
|
424
598
|
xs: 12,
|
|
425
599
|
sm: 12,
|
|
426
|
-
md:
|
|
427
|
-
lg:
|
|
600
|
+
md: 12,
|
|
601
|
+
lg: 12,
|
|
428
602
|
},
|
|
429
603
|
main: {
|
|
604
|
+
title: "WARNING!"
|
|
430
605
|
},
|
|
431
|
-
|
|
432
606
|
style: {
|
|
433
|
-
"& .MuiPaper-root":{
|
|
434
|
-
width: '30%',
|
|
435
|
-
},
|
|
436
|
-
"& .MuiTypography-root":{
|
|
437
|
-
padding: 0
|
|
438
|
-
},
|
|
439
607
|
}
|
|
440
608
|
},
|
|
441
609
|
elements:
|
|
442
610
|
[
|
|
443
611
|
{
|
|
444
612
|
type: "Control",
|
|
445
|
-
scope: "#/properties/
|
|
613
|
+
scope: "#/properties/popText1",
|
|
446
614
|
options: {
|
|
447
615
|
widget: "Box",
|
|
448
616
|
},
|
|
@@ -451,59 +619,97 @@ export const PageMasterUiSchema: any = (theme) => {
|
|
|
451
619
|
main: {
|
|
452
620
|
heading: "Are you sure you want to delete ?",
|
|
453
621
|
},
|
|
454
|
-
style:
|
|
455
|
-
marginTop: "-
|
|
622
|
+
style:{
|
|
623
|
+
marginTop: "-20px",
|
|
624
|
+
fontSize: "20px",
|
|
625
|
+
"&.MuiTypography-root": {
|
|
626
|
+
padding: "10px 30px 20px 30px",
|
|
627
|
+
textAlign: "center",
|
|
628
|
+
lineHeight: "1"
|
|
629
|
+
}
|
|
456
630
|
}
|
|
457
631
|
},
|
|
458
632
|
},
|
|
459
633
|
{
|
|
460
|
-
type: "
|
|
461
|
-
scope: "#/properties/EmptyBox",
|
|
462
|
-
options: {
|
|
463
|
-
widget: "EmptyBox",
|
|
464
|
-
},
|
|
634
|
+
type: "WrapperLayout",
|
|
465
635
|
config: {
|
|
636
|
+
layout: 12,
|
|
466
637
|
main: {},
|
|
467
|
-
|
|
468
|
-
},
|
|
469
|
-
},
|
|
470
|
-
{
|
|
471
|
-
type: "Control",
|
|
472
|
-
scope: "#/properties/ConfirmDeleteEventButton",
|
|
473
|
-
options: {
|
|
474
|
-
widget: "Button",
|
|
638
|
+
|
|
475
639
|
},
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
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
|
+
},
|
|
486
676
|
},
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
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
|
+
},
|
|
505
711
|
},
|
|
506
|
-
|
|
712
|
+
]
|
|
507
713
|
},
|
|
508
714
|
]
|
|
509
715
|
},
|
|
@@ -534,7 +740,7 @@ export const PageMasterUiSchema: any = (theme) => {
|
|
|
534
740
|
},
|
|
535
741
|
elements: [
|
|
536
742
|
{
|
|
537
|
-
|
|
743
|
+
|
|
538
744
|
type: "Control",
|
|
539
745
|
scope: "#/properties/FooterText",
|
|
540
746
|
options: {
|
|
@@ -548,13 +754,14 @@ export const PageMasterUiSchema: any = (theme) => {
|
|
|
548
754
|
color: theme?.palette?.text.disabled || "#AFAFAF",
|
|
549
755
|
fontSize: '12px',
|
|
550
756
|
textAlign: 'center',
|
|
551
|
-
lineHeight:
|
|
757
|
+
lineHeight: 2,
|
|
552
758
|
width: 'fit-content',
|
|
553
759
|
left: '50%',
|
|
554
760
|
position: 'relative',
|
|
555
761
|
margin: 0,
|
|
556
762
|
flexGrow: 1,
|
|
557
|
-
height: 0
|
|
763
|
+
height: 0,
|
|
764
|
+
transform: "translate(-50%,0%)"
|
|
558
765
|
}
|
|
559
766
|
},
|
|
560
767
|
},
|