impaktapps-ui-builder 0.0.382-alpha.316 → 0.0.382-alpha.318
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 +115 -25
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +13 -13
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/uiSchema.ts +42 -93
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/uiSchema.ts +43 -96
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/uiSchema.ts +21 -95
- package/src/impaktapps-ui-builder/builder/services/component.ts +0 -4
- package/src/impaktapps-ui-builder/builder/services/pageMaster.ts +1 -2
package/package.json
CHANGED
|
@@ -232,6 +232,11 @@ export const componentBasicUiSchema: any = {
|
|
|
232
232
|
lg: 12,
|
|
233
233
|
},
|
|
234
234
|
main: {
|
|
235
|
+
title: "Delete Content"
|
|
236
|
+
},
|
|
237
|
+
style:{
|
|
238
|
+
width: "32%",
|
|
239
|
+
margin: "auto"
|
|
235
240
|
},
|
|
236
241
|
},
|
|
237
242
|
elements:
|
|
@@ -248,7 +253,8 @@ export const componentBasicUiSchema: any = {
|
|
|
248
253
|
heading: "Are you sure you want to delete ?",
|
|
249
254
|
},
|
|
250
255
|
style:{
|
|
251
|
-
marginTop: "-
|
|
256
|
+
marginTop: "-25px",
|
|
257
|
+
marginLeft: "11px"
|
|
252
258
|
}
|
|
253
259
|
},
|
|
254
260
|
},
|
|
@@ -260,7 +266,7 @@ export const componentBasicUiSchema: any = {
|
|
|
260
266
|
},
|
|
261
267
|
config: {
|
|
262
268
|
main:{},
|
|
263
|
-
layout: { xs: 11, sm:
|
|
269
|
+
layout: { xs: 11, sm: 4.5, md: 4.5, lg: 4.5 },
|
|
264
270
|
},
|
|
265
271
|
},
|
|
266
272
|
{
|
|
@@ -273,7 +279,7 @@ export const componentBasicUiSchema: any = {
|
|
|
273
279
|
layout: 3,
|
|
274
280
|
main: {
|
|
275
281
|
name: "Yes",
|
|
276
|
-
|
|
282
|
+
endIcon: "DeleteIcon",
|
|
277
283
|
variant: "contained",
|
|
278
284
|
color: "info",
|
|
279
285
|
type: "text",
|
|
@@ -292,7 +298,7 @@ export const componentBasicUiSchema: any = {
|
|
|
292
298
|
layout: 3,
|
|
293
299
|
main: {
|
|
294
300
|
name: "No",
|
|
295
|
-
|
|
301
|
+
endIcon: "CloseIcon",
|
|
296
302
|
variant: "contained",
|
|
297
303
|
color: "info",
|
|
298
304
|
type: "text",
|
|
@@ -301,6 +307,17 @@ export const componentBasicUiSchema: any = {
|
|
|
301
307
|
},
|
|
302
308
|
},
|
|
303
309
|
},
|
|
310
|
+
{
|
|
311
|
+
type: "Control",
|
|
312
|
+
scope: "#/properties/EmptyBox",
|
|
313
|
+
options: {
|
|
314
|
+
widget: "EmptyBox",
|
|
315
|
+
},
|
|
316
|
+
config: {
|
|
317
|
+
main:{},
|
|
318
|
+
layout: 0.5,
|
|
319
|
+
},
|
|
320
|
+
},
|
|
304
321
|
]
|
|
305
322
|
},
|
|
306
323
|
|
|
@@ -324,7 +341,12 @@ export const componentBasicUiSchema: any = {
|
|
|
324
341
|
md: 12,
|
|
325
342
|
lg: 12,
|
|
326
343
|
},
|
|
344
|
+
style:{
|
|
345
|
+
width: "32%",
|
|
346
|
+
margin: "auto"
|
|
347
|
+
},
|
|
327
348
|
main: {
|
|
349
|
+
title: "Delete Content"
|
|
328
350
|
},
|
|
329
351
|
},
|
|
330
352
|
elements:
|
|
@@ -341,7 +363,8 @@ export const componentBasicUiSchema: any = {
|
|
|
341
363
|
heading: "Are you sure you want to delete ?",
|
|
342
364
|
},
|
|
343
365
|
style:{
|
|
344
|
-
marginTop: "-
|
|
366
|
+
marginTop: "-25px",
|
|
367
|
+
marginLeft: "11px"
|
|
345
368
|
}
|
|
346
369
|
},
|
|
347
370
|
},
|
|
@@ -353,7 +376,7 @@ export const componentBasicUiSchema: any = {
|
|
|
353
376
|
},
|
|
354
377
|
config: {
|
|
355
378
|
main:{},
|
|
356
|
-
layout: { xs: 11, sm:
|
|
379
|
+
layout: { xs: 11, sm: 4.5, md: 4.5, lg: 4.5 },
|
|
357
380
|
},
|
|
358
381
|
},
|
|
359
382
|
{
|
|
@@ -366,7 +389,7 @@ export const componentBasicUiSchema: any = {
|
|
|
366
389
|
layout: 3,
|
|
367
390
|
main: {
|
|
368
391
|
name: "Yes",
|
|
369
|
-
|
|
392
|
+
endIcon: "DeleteIcon",
|
|
370
393
|
variant: "contained",
|
|
371
394
|
color: "info",
|
|
372
395
|
type: "text",
|
|
@@ -385,7 +408,7 @@ export const componentBasicUiSchema: any = {
|
|
|
385
408
|
layout: 3,
|
|
386
409
|
main: {
|
|
387
410
|
name: "No",
|
|
388
|
-
|
|
411
|
+
endIcon: "CloseIcon",
|
|
389
412
|
variant: "contained",
|
|
390
413
|
color: "info",
|
|
391
414
|
type: "text",
|
|
@@ -394,94 +417,20 @@ export const componentBasicUiSchema: any = {
|
|
|
394
417
|
},
|
|
395
418
|
},
|
|
396
419
|
},
|
|
420
|
+
{
|
|
421
|
+
type: "Control",
|
|
422
|
+
scope: "#/properties/EmptyBox",
|
|
423
|
+
options: {
|
|
424
|
+
widget: "EmptyBox",
|
|
425
|
+
},
|
|
426
|
+
config: {
|
|
427
|
+
main:{},
|
|
428
|
+
layout: 0.5,
|
|
429
|
+
},
|
|
430
|
+
},
|
|
397
431
|
]
|
|
398
432
|
},
|
|
399
433
|
|
|
400
|
-
// {
|
|
401
|
-
// type: "Control",
|
|
402
|
-
// scope: "#/properties/popUpEventSection",
|
|
403
|
-
// options:{
|
|
404
|
-
// widget: "PopUp"
|
|
405
|
-
// },
|
|
406
|
-
// config:{
|
|
407
|
-
// layout: {
|
|
408
|
-
// xs: 12,
|
|
409
|
-
// sm: 12,
|
|
410
|
-
// md: 12,
|
|
411
|
-
// lg: 12,
|
|
412
|
-
// },
|
|
413
|
-
// main: {
|
|
414
|
-
// },
|
|
415
|
-
// },
|
|
416
|
-
// elemetns:[
|
|
417
|
-
// {
|
|
418
|
-
// type: "Control",
|
|
419
|
-
// scope: "#/properties/label",
|
|
420
|
-
// options: {
|
|
421
|
-
// widget: "Box",
|
|
422
|
-
// },
|
|
423
|
-
// config: {
|
|
424
|
-
// layout: 12,
|
|
425
|
-
// main: {
|
|
426
|
-
// heading: "Are you sure you want to delete ?",
|
|
427
|
-
// },
|
|
428
|
-
// style:{
|
|
429
|
-
// marginTop: "-40px"
|
|
430
|
-
// }
|
|
431
|
-
// },
|
|
432
|
-
// },
|
|
433
|
-
// {
|
|
434
|
-
// type: "Control",
|
|
435
|
-
// scope: "#/properties/EmptyBox",
|
|
436
|
-
// options: {
|
|
437
|
-
// widget: "EmptyBox",
|
|
438
|
-
// },
|
|
439
|
-
// config: {
|
|
440
|
-
// main:{},
|
|
441
|
-
// layout: { xs: 11, sm: 5.5, md: 5.5, lg: 5.5 },
|
|
442
|
-
// },
|
|
443
|
-
// },
|
|
444
|
-
// {
|
|
445
|
-
// type: "Control",
|
|
446
|
-
// scope: "#/properties/ConfirmDeleteEventButton",
|
|
447
|
-
// options: {
|
|
448
|
-
// widget: "Button",
|
|
449
|
-
// },
|
|
450
|
-
// config: {
|
|
451
|
-
// layout: 3,
|
|
452
|
-
// main: {
|
|
453
|
-
// name: "Yes",
|
|
454
|
-
// startIcon: "ApproveIcon",
|
|
455
|
-
// variant: "contained",
|
|
456
|
-
// color: "info",
|
|
457
|
-
// type: "text",
|
|
458
|
-
// onClick: "deleteEvent",
|
|
459
|
-
// size: "small",
|
|
460
|
-
// },
|
|
461
|
-
// },
|
|
462
|
-
// },
|
|
463
|
-
// {
|
|
464
|
-
// type: "Control",
|
|
465
|
-
// scope: "#/properties/CancelDeleteEventButton",
|
|
466
|
-
// options: {
|
|
467
|
-
// widget: "Button",
|
|
468
|
-
// },
|
|
469
|
-
// config: {
|
|
470
|
-
// layout: 3,
|
|
471
|
-
// main: {
|
|
472
|
-
// name: "No",
|
|
473
|
-
// startIcon: "ApproveIcon",
|
|
474
|
-
// variant: "contained",
|
|
475
|
-
// color: "info",
|
|
476
|
-
// type: "text",
|
|
477
|
-
// onClick: "deletePopUpEvent",
|
|
478
|
-
// size: "small",
|
|
479
|
-
// },
|
|
480
|
-
// },
|
|
481
|
-
// },
|
|
482
|
-
// ]
|
|
483
|
-
// },
|
|
484
|
-
|
|
485
434
|
{
|
|
486
435
|
type: "Control",
|
|
487
436
|
scope: "#/properties/proc",
|
|
@@ -367,7 +367,12 @@ export const PageMasterUiSchema: any = {
|
|
|
367
367
|
lg: 12,
|
|
368
368
|
},
|
|
369
369
|
main: {
|
|
370
|
+
title: "Delete Content"
|
|
370
371
|
},
|
|
372
|
+
style:{
|
|
373
|
+
width: "32%",
|
|
374
|
+
margin: "auto"
|
|
375
|
+
}
|
|
371
376
|
},
|
|
372
377
|
elements:
|
|
373
378
|
[
|
|
@@ -383,7 +388,8 @@ export const PageMasterUiSchema: any = {
|
|
|
383
388
|
heading: "Are you sure you want to delete ?",
|
|
384
389
|
},
|
|
385
390
|
style:{
|
|
386
|
-
marginTop: "-
|
|
391
|
+
marginTop: "-25px",
|
|
392
|
+
marginLeft: "11px"
|
|
387
393
|
}
|
|
388
394
|
},
|
|
389
395
|
},
|
|
@@ -395,7 +401,7 @@ export const PageMasterUiSchema: any = {
|
|
|
395
401
|
},
|
|
396
402
|
config: {
|
|
397
403
|
main:{},
|
|
398
|
-
layout: { xs: 11, sm:
|
|
404
|
+
layout: { xs: 11, sm: 4.5, md: 4.5, lg: 4.5 },
|
|
399
405
|
},
|
|
400
406
|
},
|
|
401
407
|
{
|
|
@@ -408,7 +414,7 @@ export const PageMasterUiSchema: any = {
|
|
|
408
414
|
layout: 3,
|
|
409
415
|
main: {
|
|
410
416
|
name: "Yes",
|
|
411
|
-
|
|
417
|
+
endIcon: "DeleteIcon",
|
|
412
418
|
variant: "contained",
|
|
413
419
|
color: "info",
|
|
414
420
|
type: "text",
|
|
@@ -427,7 +433,7 @@ export const PageMasterUiSchema: any = {
|
|
|
427
433
|
layout: 3,
|
|
428
434
|
main: {
|
|
429
435
|
name: "No",
|
|
430
|
-
|
|
436
|
+
endIcon: "CloseIcon",
|
|
431
437
|
variant: "contained",
|
|
432
438
|
color: "info",
|
|
433
439
|
type: "text",
|
|
@@ -436,101 +442,25 @@ export const PageMasterUiSchema: any = {
|
|
|
436
442
|
},
|
|
437
443
|
},
|
|
438
444
|
},
|
|
445
|
+
{
|
|
446
|
+
type: "Control",
|
|
447
|
+
scope: "#/properties/EmptyBox",
|
|
448
|
+
options: {
|
|
449
|
+
widget: "EmptyBox",
|
|
450
|
+
},
|
|
451
|
+
config: {
|
|
452
|
+
main:{},
|
|
453
|
+
layout: 0.5,
|
|
454
|
+
},
|
|
455
|
+
},
|
|
439
456
|
]
|
|
440
457
|
},
|
|
441
|
-
// {
|
|
442
|
-
// type: "Control",
|
|
443
|
-
// scope: "#/properties/popUpPageMasterEvent",
|
|
444
|
-
// options:{
|
|
445
|
-
// widget: "PopUp"
|
|
446
|
-
// },
|
|
447
|
-
// config:{
|
|
448
|
-
// layout: {
|
|
449
|
-
// xs: 12,
|
|
450
|
-
// sm: 12,
|
|
451
|
-
// md: 12,
|
|
452
|
-
// lg: 12,
|
|
453
|
-
// },
|
|
454
|
-
// main: {
|
|
455
|
-
// },
|
|
456
|
-
// },
|
|
457
|
-
// elemetns:[
|
|
458
|
-
// {
|
|
459
|
-
// type: "Control",
|
|
460
|
-
// scope: "#/properties/label",
|
|
461
|
-
// options: {
|
|
462
|
-
// widget: "Box",
|
|
463
|
-
// },
|
|
464
|
-
// config: {
|
|
465
|
-
// layout: 12,
|
|
466
|
-
// main: {
|
|
467
|
-
// heading: "Are you sure you want to delete ?",
|
|
468
|
-
// },
|
|
469
|
-
// style:{
|
|
470
|
-
// marginTop: "-40px"
|
|
471
|
-
// }
|
|
472
|
-
// },
|
|
473
|
-
// },
|
|
474
|
-
// {
|
|
475
|
-
// type: "Control",
|
|
476
|
-
// scope: "#/properties/EmptyBox",
|
|
477
|
-
// options: {
|
|
478
|
-
// widget: "EmptyBox",
|
|
479
|
-
// },
|
|
480
|
-
// config: {
|
|
481
|
-
// main:{},
|
|
482
|
-
// layout: { xs: 11, sm: 5.5, md: 5.5, lg: 5.5 },
|
|
483
|
-
// },
|
|
484
|
-
// },
|
|
485
|
-
// {
|
|
486
|
-
// type: "Control",
|
|
487
|
-
// scope: "#/properties/ConfirmDeleteEventButton",
|
|
488
|
-
// options: {
|
|
489
|
-
// widget: "Button",
|
|
490
|
-
// },
|
|
491
|
-
// config: {
|
|
492
|
-
// layout: 3,
|
|
493
|
-
// main: {
|
|
494
|
-
// name: "Yes",
|
|
495
|
-
// startIcon: "ApproveIcon",
|
|
496
|
-
// variant: "contained",
|
|
497
|
-
// color: "info",
|
|
498
|
-
// type: "text",
|
|
499
|
-
// onClick: "deleteEvent",
|
|
500
|
-
// size: "small",
|
|
501
|
-
// },
|
|
502
|
-
// },
|
|
503
|
-
// },
|
|
504
|
-
// {
|
|
505
|
-
// type: "Control",
|
|
506
|
-
// scope: "#/properties/CancelDeleteEventButton",
|
|
507
|
-
// options: {
|
|
508
|
-
// widget: "Button",
|
|
509
|
-
// },
|
|
510
|
-
// config: {
|
|
511
|
-
// layout: 3,
|
|
512
|
-
// main: {
|
|
513
|
-
// name: "Yes",
|
|
514
|
-
// startIcon: "ApproveIcon",
|
|
515
|
-
// variant: "contained",
|
|
516
|
-
// color: "info",
|
|
517
|
-
// type: "text",
|
|
518
|
-
// onClick: "deletePopUpEvent",
|
|
519
|
-
// size: "small",
|
|
520
|
-
// },
|
|
521
|
-
// },
|
|
522
|
-
// },
|
|
523
|
-
// ]
|
|
524
|
-
// },
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
458
|
|
|
529
459
|
{
|
|
530
460
|
type: "Control",
|
|
531
461
|
scope: "#/properties/popUpPageMasterComponent",
|
|
532
462
|
options: {
|
|
533
|
-
widget: "PopUp"
|
|
463
|
+
widget: "PopUp",
|
|
534
464
|
},
|
|
535
465
|
config: {
|
|
536
466
|
layout: {
|
|
@@ -540,6 +470,11 @@ export const PageMasterUiSchema: any = {
|
|
|
540
470
|
lg: 12,
|
|
541
471
|
},
|
|
542
472
|
main: {
|
|
473
|
+
title: "Delete Content"
|
|
474
|
+
},
|
|
475
|
+
style:{
|
|
476
|
+
width: "32%",
|
|
477
|
+
margin: "auto"
|
|
543
478
|
},
|
|
544
479
|
},
|
|
545
480
|
elements:
|
|
@@ -556,7 +491,8 @@ export const PageMasterUiSchema: any = {
|
|
|
556
491
|
heading: "Are you sure you want to delete ?",
|
|
557
492
|
},
|
|
558
493
|
style:{
|
|
559
|
-
marginTop: "-
|
|
494
|
+
marginTop: "-25px",
|
|
495
|
+
marginLeft: "11px"
|
|
560
496
|
}
|
|
561
497
|
},
|
|
562
498
|
},
|
|
@@ -568,7 +504,7 @@ export const PageMasterUiSchema: any = {
|
|
|
568
504
|
},
|
|
569
505
|
config: {
|
|
570
506
|
main:{},
|
|
571
|
-
layout: { xs: 11, sm:
|
|
507
|
+
layout: { xs: 11, sm: 4.5, md: 4.5, lg: 4.5 },
|
|
572
508
|
},
|
|
573
509
|
},
|
|
574
510
|
{
|
|
@@ -581,7 +517,7 @@ export const PageMasterUiSchema: any = {
|
|
|
581
517
|
layout: 3,
|
|
582
518
|
main: {
|
|
583
519
|
name: "Yes",
|
|
584
|
-
|
|
520
|
+
endIcon: "DeleteIcon",
|
|
585
521
|
variant: "contained",
|
|
586
522
|
color: "info",
|
|
587
523
|
type: "text",
|
|
@@ -600,7 +536,7 @@ export const PageMasterUiSchema: any = {
|
|
|
600
536
|
layout: 3,
|
|
601
537
|
main: {
|
|
602
538
|
name: "No",
|
|
603
|
-
|
|
539
|
+
endIcon: "CloseIcon",
|
|
604
540
|
variant: "contained",
|
|
605
541
|
color: "info",
|
|
606
542
|
type: "text",
|
|
@@ -609,6 +545,17 @@ export const PageMasterUiSchema: any = {
|
|
|
609
545
|
},
|
|
610
546
|
},
|
|
611
547
|
},
|
|
548
|
+
{
|
|
549
|
+
type: "Control",
|
|
550
|
+
scope: "#/properties/EmptyBox",
|
|
551
|
+
options: {
|
|
552
|
+
widget: "EmptyBox",
|
|
553
|
+
},
|
|
554
|
+
config: {
|
|
555
|
+
main:{},
|
|
556
|
+
layout: 0.5,
|
|
557
|
+
},
|
|
558
|
+
},
|
|
612
559
|
]
|
|
613
560
|
},
|
|
614
561
|
|
|
@@ -251,7 +251,12 @@ export const EventUiSchema: any = {
|
|
|
251
251
|
md: 12,
|
|
252
252
|
lg: 12,
|
|
253
253
|
},
|
|
254
|
+
style:{
|
|
255
|
+
width: "32%",
|
|
256
|
+
margin: "auto"
|
|
257
|
+
},
|
|
254
258
|
main: {
|
|
259
|
+
title: "Delete Content"
|
|
255
260
|
},
|
|
256
261
|
},
|
|
257
262
|
elements:
|
|
@@ -268,7 +273,8 @@ export const EventUiSchema: any = {
|
|
|
268
273
|
heading: "Are you sure you want to delete ?",
|
|
269
274
|
},
|
|
270
275
|
style:{
|
|
271
|
-
marginTop: "-
|
|
276
|
+
marginTop: "-25px",
|
|
277
|
+
marginLeft: "11px"
|
|
272
278
|
}
|
|
273
279
|
},
|
|
274
280
|
},
|
|
@@ -280,7 +286,7 @@ export const EventUiSchema: any = {
|
|
|
280
286
|
},
|
|
281
287
|
config: {
|
|
282
288
|
main:{},
|
|
283
|
-
layout: { xs: 11, sm: 5.5, md:
|
|
289
|
+
layout: { xs: 11, sm: 5.5, md: 4.5, lg: 4.5 },
|
|
284
290
|
},
|
|
285
291
|
},
|
|
286
292
|
{
|
|
@@ -293,7 +299,7 @@ export const EventUiSchema: any = {
|
|
|
293
299
|
layout: 3,
|
|
294
300
|
main: {
|
|
295
301
|
name: "Yes",
|
|
296
|
-
|
|
302
|
+
endIcon: "DeleteIcon",
|
|
297
303
|
variant: "contained",
|
|
298
304
|
color: "info",
|
|
299
305
|
type: "text",
|
|
@@ -312,7 +318,7 @@ export const EventUiSchema: any = {
|
|
|
312
318
|
layout: 3,
|
|
313
319
|
main: {
|
|
314
320
|
name: "No",
|
|
315
|
-
|
|
321
|
+
endIcon: "CloseIcon",
|
|
316
322
|
variant: "contained",
|
|
317
323
|
color: "info",
|
|
318
324
|
type: "text",
|
|
@@ -321,100 +327,20 @@ export const EventUiSchema: any = {
|
|
|
321
327
|
},
|
|
322
328
|
},
|
|
323
329
|
},
|
|
330
|
+
{
|
|
331
|
+
type: "Control",
|
|
332
|
+
scope: "#/properties/EmptyBox",
|
|
333
|
+
options: {
|
|
334
|
+
widget: "EmptyBox",
|
|
335
|
+
},
|
|
336
|
+
config: {
|
|
337
|
+
main:{},
|
|
338
|
+
layout: 0.5,
|
|
339
|
+
},
|
|
340
|
+
},
|
|
324
341
|
]
|
|
325
342
|
},
|
|
326
343
|
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
// {
|
|
330
|
-
// type: "Control",
|
|
331
|
-
// scope: "#/properties/popUpEvent",
|
|
332
|
-
// options: {
|
|
333
|
-
// widget: "PopUp"
|
|
334
|
-
// },
|
|
335
|
-
// config: {
|
|
336
|
-
// layout: {
|
|
337
|
-
// xs: 12,
|
|
338
|
-
// sm: 12,
|
|
339
|
-
// md: 12,
|
|
340
|
-
// lg: 12,
|
|
341
|
-
// },
|
|
342
|
-
// main: {
|
|
343
|
-
// },
|
|
344
|
-
// },
|
|
345
|
-
// elements:
|
|
346
|
-
// [
|
|
347
|
-
// {
|
|
348
|
-
// type: "Control",
|
|
349
|
-
// scope: "#/properties/label",
|
|
350
|
-
// options: {
|
|
351
|
-
// widget: "Box",
|
|
352
|
-
// },
|
|
353
|
-
// config: {
|
|
354
|
-
// layout: 12,
|
|
355
|
-
// main: {
|
|
356
|
-
// heading: "Are you sure you want to delete ?",
|
|
357
|
-
// },
|
|
358
|
-
// style:{
|
|
359
|
-
// marginTop: "-40px"
|
|
360
|
-
// }
|
|
361
|
-
// },
|
|
362
|
-
// },
|
|
363
|
-
// {
|
|
364
|
-
// type: "Control",
|
|
365
|
-
// scope: "#/properties/EmptyBox",
|
|
366
|
-
// options: {
|
|
367
|
-
// widget: "EmptyBox",
|
|
368
|
-
// },
|
|
369
|
-
// config: {
|
|
370
|
-
// main:{},
|
|
371
|
-
// layout: { xs: 11, sm: 5.5, md: 5.5, lg: 5.5 },
|
|
372
|
-
// },
|
|
373
|
-
// },
|
|
374
|
-
// {
|
|
375
|
-
// type: "Control",
|
|
376
|
-
// scope: "#/properties/ConfirmDeleteEventButton",
|
|
377
|
-
// options: {
|
|
378
|
-
// widget: "Button",
|
|
379
|
-
// },
|
|
380
|
-
// config: {
|
|
381
|
-
// layout: 12,
|
|
382
|
-
// main: {
|
|
383
|
-
// name: "Yes",
|
|
384
|
-
// startIcon: "ApproveIcon",
|
|
385
|
-
// variant: "contained",
|
|
386
|
-
// color: "info",
|
|
387
|
-
// type: "text",
|
|
388
|
-
// onClick: "deleteEvent",
|
|
389
|
-
// size: "small",
|
|
390
|
-
// },
|
|
391
|
-
// },
|
|
392
|
-
// },
|
|
393
|
-
// {
|
|
394
|
-
// type: "Control",
|
|
395
|
-
// scope: "#/properties/CancelDeleteEventButton",
|
|
396
|
-
// options: {
|
|
397
|
-
// widget: "Button",
|
|
398
|
-
// },
|
|
399
|
-
// config: {
|
|
400
|
-
// layout: 12,
|
|
401
|
-
// main: {
|
|
402
|
-
// name: "No",
|
|
403
|
-
// startIcon: "ApproveIcon",
|
|
404
|
-
// variant: "contained",
|
|
405
|
-
// color: "info",
|
|
406
|
-
// type: "text",
|
|
407
|
-
// onClick: "deletePopUpEvent",
|
|
408
|
-
// size: "small",
|
|
409
|
-
// },
|
|
410
|
-
// },
|
|
411
|
-
// },
|
|
412
|
-
// ]
|
|
413
|
-
// },
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
344
|
{
|
|
419
345
|
type: "Control",
|
|
420
346
|
scope: "#/properties/proc",
|
|
@@ -106,13 +106,11 @@ export default (store: any, dynamicData: any, submitHandler: any, service: any)
|
|
|
106
106
|
},
|
|
107
107
|
deleteComponents: function (shouldUpdateDialog: boolean = true) {
|
|
108
108
|
const path = store.searchParams?.get("path");
|
|
109
|
-
// const rowId = dynamicData.path.split(".")[1];
|
|
110
109
|
const rowId = localStorage.getItem('rowId');
|
|
111
110
|
store.formData.elements.splice(rowId, 1);
|
|
112
111
|
const response = saveFormdataInLocalStorage(store.ctx.core.data, path)
|
|
113
112
|
const data = path ? _.get(response, path) : response;
|
|
114
113
|
store.setFormdata(data);
|
|
115
|
-
// store.updateDialog("popUpComponent");
|
|
116
114
|
if(shouldUpdateDialog){
|
|
117
115
|
store.updateDialog("popUpComponentSection");
|
|
118
116
|
}
|
|
@@ -121,11 +119,9 @@ export default (store: any, dynamicData: any, submitHandler: any, service: any)
|
|
|
121
119
|
deleteEvent: function (shouldUpdateDialog: boolean = true) {
|
|
122
120
|
const path = store.searchParams?.get("path");
|
|
123
121
|
const rowId = localStorage.getItem('rowId');
|
|
124
|
-
// const rowId = dynamicData.path.split(".")[1];
|
|
125
122
|
store.formData.events.splice(rowId, 1);
|
|
126
123
|
const response = saveFormdataInLocalStorage(store.ctx.core.data, path)
|
|
127
124
|
store.setFormdata(_.get(response, path));
|
|
128
|
-
// store.updateDialog("popUpEvent")
|
|
129
125
|
if(shouldUpdateDialog){
|
|
130
126
|
store.updateDialog("popUpEventSection")
|
|
131
127
|
}
|
|
@@ -55,7 +55,7 @@ export default (funcParams: funcParamsProps) => {
|
|
|
55
55
|
},
|
|
56
56
|
saveHandler: async ()=> await saveHandler(store,service,submitHandler),
|
|
57
57
|
Edit_Components: Component(store, dynamicData, submitHandler, service).editComponents,
|
|
58
|
-
|
|
58
|
+
|
|
59
59
|
Delete_Components: async function() {
|
|
60
60
|
await Component(store, dynamicData, submitHandler, service).deleteComponents(false);
|
|
61
61
|
store.updateDialog("popUpPageMasterComponent");
|
|
@@ -78,7 +78,6 @@ export default (funcParams: funcParamsProps) => {
|
|
|
78
78
|
},
|
|
79
79
|
deleteEvent: function () {
|
|
80
80
|
const rowId = localStorage.getItem('rowId');
|
|
81
|
-
// const rowId = dynamicData.path.split(".")[1];
|
|
82
81
|
store.formData.events.splice(rowId, 1);
|
|
83
82
|
const response = saveFormdataInLocalStorage(store.ctx.core.data)
|
|
84
83
|
store.setFormdata(response);
|