impaktapps-ui-builder 0.0.382-alpha.312 → 0.0.382-alpha.314

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "impaktapps-ui-builder",
3
- "version": "0.0.382-alpha.312",
3
+ "version": "0.0.382-alpha.314",
4
4
  "scripts": {
5
5
  "dev": "vite",
6
6
  "build": "tsc && vite build",
@@ -352,9 +352,10 @@ export const PageMasterUiSchema: any = {
352
352
 
353
353
  ],
354
354
  },
355
+
355
356
  {
356
357
  type: "Control",
357
- scope: "#/properties/popUpPageMasterComponent",
358
+ scope: "#/properties/popUpPageMasterEvent",
358
359
  options: {
359
360
  widget: "PopUp"
360
361
  },
@@ -399,7 +400,7 @@ export const PageMasterUiSchema: any = {
399
400
  },
400
401
  {
401
402
  type: "Control",
402
- scope: "#/properties/ConfirmDeleteCompButton",
403
+ scope: "#/properties/ConfirmDeleteEventButton",
403
404
  options: {
404
405
  widget: "Button",
405
406
  },
@@ -411,14 +412,14 @@ export const PageMasterUiSchema: any = {
411
412
  variant: "contained",
412
413
  color: "info",
413
414
  type: "text",
414
- onClick: "Delete_Components",
415
+ onClick: "deleteEvent",
415
416
  size: "small",
416
417
  },
417
418
  },
418
419
  },
419
420
  {
420
421
  type: "Control",
421
- scope: "#/properties/CancelDeleteCompButton",
422
+ scope: "#/properties/CancelDeleteEventButton",
422
423
  options: {
423
424
  widget: "Button",
424
425
  },
@@ -430,21 +431,108 @@ export const PageMasterUiSchema: any = {
430
431
  variant: "contained",
431
432
  color: "info",
432
433
  type: "text",
433
- onClick: "deletePopUpComponent",
434
+ onClick: "deletePopUpEvent",
434
435
  size: "small",
435
436
  },
436
437
  },
437
438
  },
438
439
  ]
439
- },
440
-
440
+ },
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
+
441
529
  {
442
530
  type: "Control",
443
- scope: "#/properties/popUpPageMasterEvent",
444
- options:{
531
+ scope: "#/properties/popUpPageMasterComponent",
532
+ options: {
445
533
  widget: "PopUp"
446
534
  },
447
- config:{
535
+ config: {
448
536
  layout: {
449
537
  xs: 12,
450
538
  sm: 12,
@@ -454,75 +542,78 @@ export const PageMasterUiSchema: any = {
454
542
  main: {
455
543
  },
456
544
  },
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 ?",
545
+ elements:
546
+ [
547
+ {
548
+ type: "Control",
549
+ scope: "#/properties/label",
550
+ options: {
551
+ widget: "Box",
552
+ },
553
+ config: {
554
+ layout: 12,
555
+ main: {
556
+ heading: "Are you sure you want to delete ?",
557
+ },
558
+ style:{
559
+ marginTop: "-40px"
560
+ }
468
561
  },
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
562
  },
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",
563
+ {
564
+ type: "Control",
565
+ scope: "#/properties/EmptyBox",
566
+ options: {
567
+ widget: "EmptyBox",
568
+ },
569
+ config: {
570
+ main:{},
571
+ layout: { xs: 11, sm: 5.5, md: 5.5, lg: 5.5 },
501
572
  },
502
573
  },
503
- },
504
- {
505
- type: "Control",
506
- scope: "#/properties/CancelDeleteEventButton",
507
- options: {
508
- widget: "Button",
574
+ {
575
+ type: "Control",
576
+ scope: "#/properties/ConfirmDeleteCompButton",
577
+ options: {
578
+ widget: "Button",
579
+ },
580
+ config: {
581
+ layout: 3,
582
+ main: {
583
+ name: "Yes",
584
+ startIcon: "ApproveIcon",
585
+ variant: "contained",
586
+ color: "info",
587
+ type: "text",
588
+ onClick: "Delete_Components",
589
+ size: "small",
590
+ },
591
+ },
509
592
  },
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",
593
+ {
594
+ type: "Control",
595
+ scope: "#/properties/CancelDeleteCompButton",
596
+ options: {
597
+ widget: "Button",
598
+ },
599
+ config: {
600
+ layout: 3,
601
+ main: {
602
+ name: "No",
603
+ startIcon: "ApproveIcon",
604
+ variant: "contained",
605
+ color: "info",
606
+ type: "text",
607
+ onClick: "deletePopUpComponent",
608
+ size: "small",
609
+ },
520
610
  },
521
611
  },
522
- },
523
- ]
612
+ ]
524
613
  },
525
614
 
615
+
616
+
526
617
  {
527
618
  type: "Control",
528
619
  scope: "#/properties/btn",
@@ -290,7 +290,7 @@ export const EventUiSchema: any = {
290
290
  widget: "Button",
291
291
  },
292
292
  config: {
293
- layout: 3,
293
+ layout: 12,
294
294
  main: {
295
295
  name: "Yes",
296
296
  startIcon: "ApproveIcon",
@@ -309,7 +309,7 @@ export const EventUiSchema: any = {
309
309
  widget: "Button",
310
310
  },
311
311
  config: {
312
- layout: 3,
312
+ layout: 12,
313
313
  main: {
314
314
  name: "No",
315
315
  startIcon: "ApproveIcon",
@@ -84,6 +84,7 @@ export default (funcParams: funcParamsProps) => {
84
84
  store.updateDialog("popUpPageMasterEvent");
85
85
  },
86
86
  deletePopUpComponent: function(){
87
+ const rowId = dynamicData.path.split(".")[1];
87
88
  store.updateDialog("popUpPageMasterComponent");
88
89
  },
89
90
  deletePopUpEvent: function(){