impaktapps-ui-builder 0.0.382-alpha.310 → 0.0.382-alpha.311

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.
@@ -389,13 +389,7 @@ const PageMasterUiSchema = {
389
389
  md: 12,
390
390
  lg: 12
391
391
  },
392
- main: {
393
- label: "PopUp",
394
- fullScreen: false,
395
- fullWidth: false,
396
- maxWidth: false,
397
- alignItems: false
398
- }
392
+ main: {}
399
393
  },
400
394
  elements: [
401
395
  {
@@ -410,10 +404,21 @@ const PageMasterUiSchema = {
410
404
  heading: "Are you sure you want to delete ?"
411
405
  },
412
406
  style: {
413
- marginBottom: "15px"
407
+ marginTop: "-40px"
414
408
  }
415
409
  }
416
410
  },
411
+ {
412
+ type: "Control",
413
+ scope: "#/properties/EmptyBox",
414
+ options: {
415
+ widget: "EmptyBox"
416
+ },
417
+ config: {
418
+ main: {},
419
+ layout: { xs: 11, sm: 5.5, md: 5.5, lg: 5.5 }
420
+ }
421
+ },
417
422
  {
418
423
  type: "Control",
419
424
  scope: "#/properties/ConfirmDeleteCompButton",
@@ -430,9 +435,6 @@ const PageMasterUiSchema = {
430
435
  type: "text",
431
436
  onClick: "Delete_Components",
432
437
  size: "small"
433
- },
434
- style: {
435
- width: { xs: "100%", sm: "100%", md: "25%", lg: "20%" }
436
438
  }
437
439
  }
438
440
  },
@@ -452,9 +454,6 @@ const PageMasterUiSchema = {
452
454
  type: "text",
453
455
  onClick: "deletePopUpComponent",
454
456
  size: "small"
455
- },
456
- style: {
457
- width: { xs: "100%", sm: "100%", md: "25%", lg: "20%" }
458
457
  }
459
458
  }
460
459
  }
@@ -478,7 +477,7 @@ const PageMasterUiSchema = {
478
477
  elemetns: [
479
478
  {
480
479
  type: "Control",
481
- scope: "#/properties/Label",
480
+ scope: "#/properties/label",
482
481
  options: {
483
482
  widget: "Box"
484
483
  },
@@ -486,9 +485,23 @@ const PageMasterUiSchema = {
486
485
  layout: 12,
487
486
  main: {
488
487
  heading: "Are you sure you want to delete ?"
488
+ },
489
+ style: {
490
+ marginTop: "-40px"
489
491
  }
490
492
  }
491
493
  },
494
+ {
495
+ type: "Control",
496
+ scope: "#/properties/EmptyBox",
497
+ options: {
498
+ widget: "EmptyBox"
499
+ },
500
+ config: {
501
+ main: {},
502
+ layout: { xs: 11, sm: 5.5, md: 5.5, lg: 5.5 }
503
+ }
504
+ },
492
505
  {
493
506
  type: "Control",
494
507
  scope: "#/properties/ConfirmDeleteEventButton",
@@ -498,15 +511,14 @@ const PageMasterUiSchema = {
498
511
  config: {
499
512
  layout: 3,
500
513
  main: {
501
- name: "No",
514
+ name: "Yes",
502
515
  startIcon: "ApproveIcon",
503
516
  variant: "contained",
504
517
  color: "info",
505
518
  type: "text",
506
519
  onClick: "deleteEvent",
507
520
  size: "small"
508
- },
509
- style: {}
521
+ }
510
522
  }
511
523
  },
512
524
  {
@@ -523,10 +535,9 @@ const PageMasterUiSchema = {
523
535
  variant: "contained",
524
536
  color: "info",
525
537
  type: "text",
526
- onClick: "deleteEvent",
538
+ onClick: "deletePopUpEvent",
527
539
  size: "small"
528
- },
529
- style: {}
540
+ }
530
541
  }
531
542
  }
532
543
  ]
@@ -6524,13 +6535,7 @@ const componentBasicUiSchema = {
6524
6535
  md: 12,
6525
6536
  lg: 12
6526
6537
  },
6527
- main: {
6528
- label: "PopUp",
6529
- fullScreen: false,
6530
- fullWidth: false,
6531
- maxWidth: false,
6532
- alignItems: false
6533
- }
6538
+ main: {}
6534
6539
  },
6535
6540
  elements: [
6536
6541
  {
@@ -6545,10 +6550,21 @@ const componentBasicUiSchema = {
6545
6550
  heading: "Are you sure you want to delete ?"
6546
6551
  },
6547
6552
  style: {
6548
- marginBottom: "15px"
6553
+ marginTop: "-40px"
6549
6554
  }
6550
6555
  }
6551
6556
  },
6557
+ {
6558
+ type: "Control",
6559
+ scope: "#/properties/EmptyBox",
6560
+ options: {
6561
+ widget: "EmptyBox"
6562
+ },
6563
+ config: {
6564
+ main: {},
6565
+ layout: { xs: 11, sm: 5.5, md: 5.5, lg: 5.5 }
6566
+ }
6567
+ },
6552
6568
  {
6553
6569
  type: "Control",
6554
6570
  scope: "#/properties/ConfirmDeleteCompButton",
@@ -6563,11 +6579,8 @@ const componentBasicUiSchema = {
6563
6579
  variant: "contained",
6564
6580
  color: "info",
6565
6581
  type: "text",
6566
- onClick: "Delete_Components",
6582
+ onClick: "deleteComponents",
6567
6583
  size: "small"
6568
- },
6569
- style: {
6570
- width: { xs: "100%", sm: "100%", md: "25%", lg: "20%" }
6571
6584
  }
6572
6585
  }
6573
6586
  },
@@ -6587,9 +6600,6 @@ const componentBasicUiSchema = {
6587
6600
  type: "text",
6588
6601
  onClick: "deletePopUpComponent",
6589
6602
  size: "small"
6590
- },
6591
- style: {
6592
- width: { xs: "100%", sm: "100%", md: "25%", lg: "20%" }
6593
6603
  }
6594
6604
  }
6595
6605
  }
@@ -6613,7 +6623,7 @@ const componentBasicUiSchema = {
6613
6623
  elemetns: [
6614
6624
  {
6615
6625
  type: "Control",
6616
- scope: "#/properties/Label",
6626
+ scope: "#/properties/label",
6617
6627
  options: {
6618
6628
  widget: "Box"
6619
6629
  },
@@ -6621,9 +6631,23 @@ const componentBasicUiSchema = {
6621
6631
  layout: 12,
6622
6632
  main: {
6623
6633
  heading: "Are you sure you want to delete ?"
6634
+ },
6635
+ style: {
6636
+ marginTop: "-40px"
6624
6637
  }
6625
6638
  }
6626
6639
  },
6640
+ {
6641
+ type: "Control",
6642
+ scope: "#/properties/EmptyBox",
6643
+ options: {
6644
+ widget: "EmptyBox"
6645
+ },
6646
+ config: {
6647
+ main: {},
6648
+ layout: { xs: 11, sm: 5.5, md: 5.5, lg: 5.5 }
6649
+ }
6650
+ },
6627
6651
  {
6628
6652
  type: "Control",
6629
6653
  scope: "#/properties/ConfirmDeleteEventButton",
@@ -6633,15 +6657,14 @@ const componentBasicUiSchema = {
6633
6657
  config: {
6634
6658
  layout: 3,
6635
6659
  main: {
6636
- name: "No",
6660
+ name: "Yes",
6637
6661
  startIcon: "ApproveIcon",
6638
6662
  variant: "contained",
6639
6663
  color: "info",
6640
6664
  type: "text",
6641
6665
  onClick: "deleteEvent",
6642
6666
  size: "small"
6643
- },
6644
- style: {}
6667
+ }
6645
6668
  }
6646
6669
  },
6647
6670
  {
@@ -6653,15 +6676,14 @@ const componentBasicUiSchema = {
6653
6676
  config: {
6654
6677
  layout: 3,
6655
6678
  main: {
6656
- name: "Yes",
6679
+ name: "No",
6657
6680
  startIcon: "ApproveIcon",
6658
6681
  variant: "contained",
6659
6682
  color: "info",
6660
6683
  type: "text",
6661
- onClick: "deleteEvent",
6684
+ onClick: "deletePopUpEvent",
6662
6685
  size: "small"
6663
- },
6664
- style: {}
6686
+ }
6665
6687
  }
6666
6688
  }
6667
6689
  ]
@@ -7857,7 +7879,7 @@ var Component = (store2, dynamicData2, submitHandler, service2) => {
7857
7879
  store2.formData.events.splice(rowId, 1);
7858
7880
  const response2 = saveFormdataInLocalStorage(store2.ctx.core.data, path);
7859
7881
  store2.setFormdata(_.get(response2, path));
7860
- store2.updateDialog("deletePopUpEvent");
7882
+ store2.updateDialog("popUpEvent");
7861
7883
  },
7862
7884
  widgetAddClickHandler: function() {
7863
7885
  var _a;
@@ -7973,6 +7995,7 @@ var pageMaster = (funcParams) => {
7973
7995
  store2.formData.events.splice(rowId, 1);
7974
7996
  const response2 = saveFormdataInLocalStorage(store2.ctx.core.data);
7975
7997
  store2.setFormdata(response2);
7998
+ store2.updateDialog("popUpEvent");
7976
7999
  },
7977
8000
  deletePopUpComponent: function() {
7978
8001
  store2.updateDialog("popUpComponent");
@@ -8291,7 +8314,7 @@ const EventUiSchema = {
8291
8314
  },
8292
8315
  {
8293
8316
  type: "Control",
8294
- scope: "#/properties/popUpComponent",
8317
+ scope: "#/properties/popUpEvent",
8295
8318
  options: {
8296
8319
  widget: "PopUp"
8297
8320
  },
@@ -8315,9 +8338,23 @@ const EventUiSchema = {
8315
8338
  layout: 12,
8316
8339
  main: {
8317
8340
  heading: "Are you sure you want to delete ?"
8341
+ },
8342
+ style: {
8343
+ marginTop: "-40px"
8318
8344
  }
8319
8345
  }
8320
8346
  },
8347
+ {
8348
+ type: "Control",
8349
+ scope: "#/properties/EmptyBox",
8350
+ options: {
8351
+ widget: "EmptyBox"
8352
+ },
8353
+ config: {
8354
+ main: {},
8355
+ layout: { xs: 11, sm: 5.5, md: 5.5, lg: 5.5 }
8356
+ }
8357
+ },
8321
8358
  {
8322
8359
  type: "Control",
8323
8360
  scope: "#/properties/ConfirmDeleteEventButton",
@@ -8334,9 +8371,6 @@ const EventUiSchema = {
8334
8371
  type: "text",
8335
8372
  onClick: "deleteEvent",
8336
8373
  size: "small"
8337
- },
8338
- style: {
8339
- width: { xs: "100%", sm: "100%", md: "25%", lg: "20%" }
8340
8374
  }
8341
8375
  }
8342
8376
  },
@@ -8356,9 +8390,6 @@ const EventUiSchema = {
8356
8390
  type: "text",
8357
8391
  onClick: "deletePopUpEvent",
8358
8392
  size: "small"
8359
- },
8360
- style: {
8361
- width: { xs: "100%", sm: "100%", md: "25%", lg: "20%" }
8362
8393
  }
8363
8394
  }
8364
8395
  }
@@ -8697,13 +8728,13 @@ var event = (store2, dynamicData2, submitHandler, service2) => {
8697
8728
  },
8698
8729
  deleteEvent: async function() {
8699
8730
  await Component(store2, dynamicData2, submitHandler, service2).deleteEvent;
8700
- store2.updateDialog("deletePopUpEvent");
8731
+ store2.updateDialog("popUpEvent");
8701
8732
  },
8702
8733
  backHandler: function() {
8703
8734
  store2.navigate(-1);
8704
8735
  },
8705
8736
  deletePopUpEvent: function() {
8706
- store2.updateDialog("deletePopUpEvent");
8737
+ store2.updateDialog("popUpEvent");
8707
8738
  }
8708
8739
  };
8709
8740
  };