impaktapps-ui-builder 0.0.412-mtreemap.24 → 0.0.412-mtreemap.26
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 +221 -5
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +8 -8
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/eventSection.ts +1 -1
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/uiSchema.ts +0 -8
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/uiSchema.ts +162 -3
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/uiSchema.ts +75 -127
package/package.json
CHANGED
|
@@ -233,7 +233,7 @@ export const PageMasterUiSchema: any = (theme) => {
|
|
|
233
233
|
main: {
|
|
234
234
|
icon: "RejectIcon",
|
|
235
235
|
color: "error",
|
|
236
|
-
onClick: "
|
|
236
|
+
onClick: "deletePopUpComponent",
|
|
237
237
|
tooltipMessage: "Reject This Record",
|
|
238
238
|
},
|
|
239
239
|
},
|
|
@@ -365,7 +365,7 @@ export const PageMasterUiSchema: any = (theme) => {
|
|
|
365
365
|
onClick: "editEvent",
|
|
366
366
|
},
|
|
367
367
|
style: {
|
|
368
|
-
color:
|
|
368
|
+
color: theme.palette.primary.main,
|
|
369
369
|
},
|
|
370
370
|
},
|
|
371
371
|
},
|
|
@@ -384,7 +384,7 @@ export const PageMasterUiSchema: any = (theme) => {
|
|
|
384
384
|
icon: "RejectIcon",
|
|
385
385
|
color: "error",
|
|
386
386
|
tooltipMessage: "Reject This Record",
|
|
387
|
-
onClick: "
|
|
387
|
+
onClick: "deletePopUpEvent",
|
|
388
388
|
},
|
|
389
389
|
},
|
|
390
390
|
},
|
|
@@ -429,6 +429,165 @@ export const PageMasterUiSchema: any = (theme) => {
|
|
|
429
429
|
},
|
|
430
430
|
},
|
|
431
431
|
},
|
|
432
|
+
{
|
|
433
|
+
type: "Control",
|
|
434
|
+
scope: "#/properties/popUpComponentSection",
|
|
435
|
+
options: {
|
|
436
|
+
widget: "PopUp"
|
|
437
|
+
},
|
|
438
|
+
config: {
|
|
439
|
+
layout: {
|
|
440
|
+
xs: 12,
|
|
441
|
+
sm: 12,
|
|
442
|
+
md: 12,
|
|
443
|
+
lg: 12,
|
|
444
|
+
},
|
|
445
|
+
main: {
|
|
446
|
+
},
|
|
447
|
+
},
|
|
448
|
+
elements:
|
|
449
|
+
[
|
|
450
|
+
{
|
|
451
|
+
type: "Control",
|
|
452
|
+
scope: "#/properties/label",
|
|
453
|
+
options: {
|
|
454
|
+
widget: "Box",
|
|
455
|
+
},
|
|
456
|
+
config: {
|
|
457
|
+
layout: 12,
|
|
458
|
+
main: {
|
|
459
|
+
heading: "Are you sure you want to delete ?",
|
|
460
|
+
},
|
|
461
|
+
style: {
|
|
462
|
+
marginTop: "-40px"
|
|
463
|
+
}
|
|
464
|
+
},
|
|
465
|
+
},
|
|
466
|
+
// {
|
|
467
|
+
// type: "Control",
|
|
468
|
+
// scope: "#/properties/EmptyBox",
|
|
469
|
+
// options: {
|
|
470
|
+
// widget: "EmptyBox",
|
|
471
|
+
// },
|
|
472
|
+
// config: {
|
|
473
|
+
// main: {},
|
|
474
|
+
// layout: { xs: 11, sm: 5.5, md: 5.5, lg: 5.5 },
|
|
475
|
+
// },
|
|
476
|
+
// },
|
|
477
|
+
{
|
|
478
|
+
type: "Control",
|
|
479
|
+
scope: "#/properties/ConfirmDeleteCompButton",
|
|
480
|
+
options: {
|
|
481
|
+
widget: "Button",
|
|
482
|
+
},
|
|
483
|
+
config: {
|
|
484
|
+
layout: 3,
|
|
485
|
+
main: {
|
|
486
|
+
name: "Yes",
|
|
487
|
+
startIcon: "ApproveIcon",
|
|
488
|
+
variant: "contained",
|
|
489
|
+
color: "info",
|
|
490
|
+
type: "text",
|
|
491
|
+
onClick: "deleteComponents",
|
|
492
|
+
size: "small",
|
|
493
|
+
},
|
|
494
|
+
},
|
|
495
|
+
},
|
|
496
|
+
{
|
|
497
|
+
type: "Control",
|
|
498
|
+
scope: "#/properties/CancelDeleteCompButton",
|
|
499
|
+
options: {
|
|
500
|
+
widget: "Button",
|
|
501
|
+
},
|
|
502
|
+
config: {
|
|
503
|
+
layout: 3,
|
|
504
|
+
main: {
|
|
505
|
+
name: "No",
|
|
506
|
+
startIcon: "ApproveIcon",
|
|
507
|
+
variant: "contained",
|
|
508
|
+
color: "info",
|
|
509
|
+
type: "text",
|
|
510
|
+
onClick: "deletePopUpComponent",
|
|
511
|
+
size: "small",
|
|
512
|
+
},
|
|
513
|
+
},
|
|
514
|
+
},
|
|
515
|
+
]
|
|
516
|
+
},
|
|
517
|
+
{
|
|
518
|
+
type: "Control",
|
|
519
|
+
scope: "#/properties/popUpEventSection",
|
|
520
|
+
options: {
|
|
521
|
+
widget: "PopUp"
|
|
522
|
+
},
|
|
523
|
+
config: {
|
|
524
|
+
layout: {
|
|
525
|
+
xs: 12,
|
|
526
|
+
sm: 12,
|
|
527
|
+
md: 12,
|
|
528
|
+
lg: 12,
|
|
529
|
+
},
|
|
530
|
+
main: {
|
|
531
|
+
},
|
|
532
|
+
},
|
|
533
|
+
elements:
|
|
534
|
+
[
|
|
535
|
+
{
|
|
536
|
+
type: "Control",
|
|
537
|
+
scope: "#/properties/label",
|
|
538
|
+
options: {
|
|
539
|
+
widget: "Box",
|
|
540
|
+
},
|
|
541
|
+
config: {
|
|
542
|
+
layout: 12,
|
|
543
|
+
main: {
|
|
544
|
+
heading: "Are you sure you want to delete ?",
|
|
545
|
+
},
|
|
546
|
+
style: {
|
|
547
|
+
marginTop: "-40px"
|
|
548
|
+
}
|
|
549
|
+
},
|
|
550
|
+
},
|
|
551
|
+
{
|
|
552
|
+
type: "Control",
|
|
553
|
+
scope: "#/properties/ConfirmDeleteEventButton",
|
|
554
|
+
options: {
|
|
555
|
+
widget: "Button",
|
|
556
|
+
},
|
|
557
|
+
config: {
|
|
558
|
+
layout: 3,
|
|
559
|
+
main: {
|
|
560
|
+
name: "Yes",
|
|
561
|
+
startIcon: "ApproveIcon",
|
|
562
|
+
variant: "contained",
|
|
563
|
+
color: "info",
|
|
564
|
+
type: "text",
|
|
565
|
+
onClick: "deleteEvent",
|
|
566
|
+
size: "small",
|
|
567
|
+
},
|
|
568
|
+
},
|
|
569
|
+
},
|
|
570
|
+
{
|
|
571
|
+
type: "Control",
|
|
572
|
+
scope: "#/properties/CancelDeleteEventButton",
|
|
573
|
+
options: {
|
|
574
|
+
widget: "Button",
|
|
575
|
+
},
|
|
576
|
+
config: {
|
|
577
|
+
layout: 3,
|
|
578
|
+
main: {
|
|
579
|
+
name: "No",
|
|
580
|
+
startIcon: "ApproveIcon",
|
|
581
|
+
variant: "contained",
|
|
582
|
+
color: "info",
|
|
583
|
+
type: "text",
|
|
584
|
+
onClick: "deletePopUpEvent",
|
|
585
|
+
size: "small",
|
|
586
|
+
},
|
|
587
|
+
},
|
|
588
|
+
},
|
|
589
|
+
]
|
|
590
|
+
},
|
|
432
591
|
{
|
|
433
592
|
type: "Control",
|
|
434
593
|
scope: "#/properties/notify",
|
|
@@ -5,79 +5,6 @@ export const EventUiSchema: any = (theme) => {
|
|
|
5
5
|
type: "HorizontalLayout",
|
|
6
6
|
heading: "Component",
|
|
7
7
|
elements: [
|
|
8
|
-
// {
|
|
9
|
-
// type: "WrapperLayout",
|
|
10
|
-
// config: {
|
|
11
|
-
// main: {
|
|
12
|
-
// rowSpacing: 1,
|
|
13
|
-
// header: true
|
|
14
|
-
// },
|
|
15
|
-
// defaultStyle: true
|
|
16
|
-
// },
|
|
17
|
-
// elements: [
|
|
18
|
-
// {
|
|
19
|
-
// type: "Control",
|
|
20
|
-
// scope: "#/properties/Component",
|
|
21
|
-
|
|
22
|
-
// options: {
|
|
23
|
-
// widget: "Box",
|
|
24
|
-
// },
|
|
25
|
-
// config: {
|
|
26
|
-
// layout: {xs:12,sm:12,md:2},
|
|
27
|
-
// main: {
|
|
28
|
-
// heading: "Component",
|
|
29
|
-
// },
|
|
30
|
-
// style:{
|
|
31
|
-
// "float":"left",
|
|
32
|
-
// }
|
|
33
|
-
// },
|
|
34
|
-
// },
|
|
35
|
-
|
|
36
|
-
// {
|
|
37
|
-
// type: "Control",
|
|
38
|
-
// scope: "#/properties/pageName",
|
|
39
|
-
|
|
40
|
-
// options: {
|
|
41
|
-
// widget: "Box",
|
|
42
|
-
// },
|
|
43
|
-
// config: {
|
|
44
|
-
// layout: {xs:7,sm:7,md:9},
|
|
45
|
-
// main: {
|
|
46
|
-
// heading: " ",
|
|
47
|
-
// },
|
|
48
|
-
// style: {
|
|
49
|
-
// float: "right",
|
|
50
|
-
// width:"auto",
|
|
51
|
-
// fontSize:"12px",
|
|
52
|
-
// color:"gray",
|
|
53
|
-
// paddingTop:"10px"
|
|
54
|
-
// },
|
|
55
|
-
// },
|
|
56
|
-
// },
|
|
57
|
-
|
|
58
|
-
// {
|
|
59
|
-
// type: "Control",
|
|
60
|
-
// scope: "#/properties/Back_Button",
|
|
61
|
-
|
|
62
|
-
// options: {
|
|
63
|
-
// widget: "IconButton",
|
|
64
|
-
// },
|
|
65
|
-
// config: {
|
|
66
|
-
// layout: {xs:2,sm:2,md:0.5},
|
|
67
|
-
// main: {
|
|
68
|
-
// icon: "BackIcon",
|
|
69
|
-
// styleDefault: true,
|
|
70
|
-
// size: "small",
|
|
71
|
-
// onClick: "backHandler",
|
|
72
|
-
// tooltipMessage: "Back",
|
|
73
|
-
// },
|
|
74
|
-
// style: {
|
|
75
|
-
// float: "right",
|
|
76
|
-
// },
|
|
77
|
-
// },
|
|
78
|
-
// },
|
|
79
|
-
// ],
|
|
80
|
-
// },
|
|
81
8
|
{
|
|
82
9
|
type: "TabLayout",
|
|
83
10
|
config: {
|
|
@@ -126,59 +53,6 @@ export const EventUiSchema: any = (theme) => {
|
|
|
126
53
|
},
|
|
127
54
|
],
|
|
128
55
|
},
|
|
129
|
-
// {
|
|
130
|
-
// type: "WrapperLayout",
|
|
131
|
-
// config: {
|
|
132
|
-
// main: {
|
|
133
|
-
// // label: "Success Case Event",
|
|
134
|
-
// // divider: true,
|
|
135
|
-
// },
|
|
136
|
-
// wrapperStyle: {
|
|
137
|
-
// border: "1px solid gray"
|
|
138
|
-
// },
|
|
139
|
-
// },
|
|
140
|
-
// elements: [
|
|
141
|
-
// {
|
|
142
|
-
// type: "Control",
|
|
143
|
-
// scope: "#/properties/heading",
|
|
144
|
-
|
|
145
|
-
// options: {
|
|
146
|
-
// widget: "Box",
|
|
147
|
-
// },
|
|
148
|
-
// config: {
|
|
149
|
-
// layout: 8,
|
|
150
|
-
// main: {
|
|
151
|
-
// heading: "Response Event",
|
|
152
|
-
// },
|
|
153
|
-
// style: {
|
|
154
|
-
// fontFamily: "Roboto",
|
|
155
|
-
// fontWeight: "500",
|
|
156
|
-
// paddingLeft: "-10px",
|
|
157
|
-
// fontSize: "20px",
|
|
158
|
-
// },
|
|
159
|
-
// },
|
|
160
|
-
// },
|
|
161
|
-
// {
|
|
162
|
-
// type: "Control",
|
|
163
|
-
// scope: "#/properties/AddButton",
|
|
164
|
-
// options: {
|
|
165
|
-
// widget: "IconButton",
|
|
166
|
-
// },
|
|
167
|
-
// config: {
|
|
168
|
-
// layout: 3,
|
|
169
|
-
// main: {
|
|
170
|
-
// icon: "AddIcon",
|
|
171
|
-
// styleDefault: true,
|
|
172
|
-
// size: "small",
|
|
173
|
-
// onClick: "addEvent",
|
|
174
|
-
// tooltipMessage: "Back",
|
|
175
|
-
// },
|
|
176
|
-
// style: {
|
|
177
|
-
// float: "right",
|
|
178
|
-
// },
|
|
179
|
-
// },
|
|
180
|
-
// },
|
|
181
|
-
|
|
182
56
|
{
|
|
183
57
|
type: "Control",
|
|
184
58
|
scope: "#/properties/events",
|
|
@@ -267,7 +141,7 @@ export const EventUiSchema: any = (theme) => {
|
|
|
267
141
|
icon: "RejectIcon",
|
|
268
142
|
color: "error",
|
|
269
143
|
tooltipMessage: "Reject This Record",
|
|
270
|
-
onClick: "
|
|
144
|
+
onClick: "deletePopUpEvent",
|
|
271
145
|
},
|
|
272
146
|
},
|
|
273
147
|
},
|
|
@@ -343,6 +217,80 @@ export const EventUiSchema: any = (theme) => {
|
|
|
343
217
|
},
|
|
344
218
|
},
|
|
345
219
|
},
|
|
220
|
+
{
|
|
221
|
+
type: "Control",
|
|
222
|
+
scope: "#/properties/popUpEventSection",
|
|
223
|
+
options: {
|
|
224
|
+
widget: "PopUp"
|
|
225
|
+
},
|
|
226
|
+
config: {
|
|
227
|
+
layout: {
|
|
228
|
+
xs: 12,
|
|
229
|
+
sm: 12,
|
|
230
|
+
md: 12,
|
|
231
|
+
lg: 12,
|
|
232
|
+
},
|
|
233
|
+
main: {
|
|
234
|
+
},
|
|
235
|
+
},
|
|
236
|
+
elements:
|
|
237
|
+
[
|
|
238
|
+
{
|
|
239
|
+
type: "Control",
|
|
240
|
+
scope: "#/properties/label",
|
|
241
|
+
options: {
|
|
242
|
+
widget: "Box",
|
|
243
|
+
},
|
|
244
|
+
config: {
|
|
245
|
+
layout: 12,
|
|
246
|
+
main: {
|
|
247
|
+
heading: "Are you sure you want to delete ?",
|
|
248
|
+
},
|
|
249
|
+
style: {
|
|
250
|
+
marginTop: "-40px"
|
|
251
|
+
}
|
|
252
|
+
},
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
type: "Control",
|
|
256
|
+
scope: "#/properties/ConfirmDeleteEventButton",
|
|
257
|
+
options: {
|
|
258
|
+
widget: "Button",
|
|
259
|
+
},
|
|
260
|
+
config: {
|
|
261
|
+
layout: 3,
|
|
262
|
+
main: {
|
|
263
|
+
name: "Yes",
|
|
264
|
+
startIcon: "ApproveIcon",
|
|
265
|
+
variant: "contained",
|
|
266
|
+
color: "info",
|
|
267
|
+
type: "text",
|
|
268
|
+
onClick: "deleteEvent",
|
|
269
|
+
size: "small",
|
|
270
|
+
},
|
|
271
|
+
},
|
|
272
|
+
},
|
|
273
|
+
{
|
|
274
|
+
type: "Control",
|
|
275
|
+
scope: "#/properties/CancelDeleteEventButton",
|
|
276
|
+
options: {
|
|
277
|
+
widget: "Button",
|
|
278
|
+
},
|
|
279
|
+
config: {
|
|
280
|
+
layout: 3,
|
|
281
|
+
main: {
|
|
282
|
+
name: "No",
|
|
283
|
+
startIcon: "ApproveIcon",
|
|
284
|
+
variant: "contained",
|
|
285
|
+
color: "info",
|
|
286
|
+
type: "text",
|
|
287
|
+
onClick: "deletePopUpEvent",
|
|
288
|
+
size: "small",
|
|
289
|
+
},
|
|
290
|
+
},
|
|
291
|
+
},
|
|
292
|
+
]
|
|
293
|
+
},
|
|
346
294
|
{
|
|
347
295
|
type: "Control",
|
|
348
296
|
scope: "#/properties/notify",
|