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

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.
@@ -6511,6 +6511,161 @@ const componentBasicUiSchema = {
6511
6511
  }
6512
6512
  ]
6513
6513
  },
6514
+ {
6515
+ type: "Control",
6516
+ scope: "#/properties/popUpComponent",
6517
+ options: {
6518
+ widget: "PopUp"
6519
+ },
6520
+ config: {
6521
+ layout: {
6522
+ xs: 12,
6523
+ sm: 12,
6524
+ md: 12,
6525
+ lg: 12
6526
+ },
6527
+ main: {
6528
+ label: "PopUp",
6529
+ fullScreen: false,
6530
+ fullWidth: false,
6531
+ maxWidth: false,
6532
+ alignItems: false
6533
+ }
6534
+ },
6535
+ elements: [
6536
+ {
6537
+ type: "Control",
6538
+ scope: "#/properties/label",
6539
+ options: {
6540
+ widget: "Box"
6541
+ },
6542
+ config: {
6543
+ layout: 12,
6544
+ main: {
6545
+ heading: "Are you sure you want to delete ?"
6546
+ },
6547
+ style: {
6548
+ marginBottom: "15px"
6549
+ }
6550
+ }
6551
+ },
6552
+ {
6553
+ type: "Control",
6554
+ scope: "#/properties/ConfirmDeleteCompButton",
6555
+ options: {
6556
+ widget: "Button"
6557
+ },
6558
+ config: {
6559
+ layout: 3,
6560
+ main: {
6561
+ name: "Yes",
6562
+ startIcon: "ApproveIcon",
6563
+ variant: "contained",
6564
+ color: "info",
6565
+ type: "text",
6566
+ onClick: "Delete_Components",
6567
+ size: "small"
6568
+ },
6569
+ style: {
6570
+ width: { xs: "100%", sm: "100%", md: "25%", lg: "20%" }
6571
+ }
6572
+ }
6573
+ },
6574
+ {
6575
+ type: "Control",
6576
+ scope: "#/properties/CancelDeleteCompButton",
6577
+ options: {
6578
+ widget: "Button"
6579
+ },
6580
+ config: {
6581
+ layout: 3,
6582
+ main: {
6583
+ name: "No",
6584
+ startIcon: "ApproveIcon",
6585
+ variant: "contained",
6586
+ color: "info",
6587
+ type: "text",
6588
+ onClick: "deletePopUpComponent",
6589
+ size: "small"
6590
+ },
6591
+ style: {
6592
+ width: { xs: "100%", sm: "100%", md: "25%", lg: "20%" }
6593
+ }
6594
+ }
6595
+ }
6596
+ ]
6597
+ },
6598
+ {
6599
+ type: "Control",
6600
+ scope: "#/properties/popUpEvent",
6601
+ options: {
6602
+ widget: "PopUp"
6603
+ },
6604
+ config: {
6605
+ layout: {
6606
+ xs: 12,
6607
+ sm: 12,
6608
+ md: 12,
6609
+ lg: 12
6610
+ },
6611
+ main: {}
6612
+ },
6613
+ elemetns: [
6614
+ {
6615
+ type: "Control",
6616
+ scope: "#/properties/Label",
6617
+ options: {
6618
+ widget: "Box"
6619
+ },
6620
+ config: {
6621
+ layout: 12,
6622
+ main: {
6623
+ heading: "Are you sure you want to delete ?"
6624
+ }
6625
+ }
6626
+ },
6627
+ {
6628
+ type: "Control",
6629
+ scope: "#/properties/ConfirmDeleteEventButton",
6630
+ options: {
6631
+ widget: "Button"
6632
+ },
6633
+ config: {
6634
+ layout: 3,
6635
+ main: {
6636
+ name: "No",
6637
+ startIcon: "ApproveIcon",
6638
+ variant: "contained",
6639
+ color: "info",
6640
+ type: "text",
6641
+ onClick: "deleteEvent",
6642
+ size: "small"
6643
+ },
6644
+ style: {}
6645
+ }
6646
+ },
6647
+ {
6648
+ type: "Control",
6649
+ scope: "#/properties/CancelDeleteEventButton",
6650
+ options: {
6651
+ widget: "Button"
6652
+ },
6653
+ config: {
6654
+ layout: 3,
6655
+ main: {
6656
+ name: "Yes",
6657
+ startIcon: "ApproveIcon",
6658
+ variant: "contained",
6659
+ color: "info",
6660
+ type: "text",
6661
+ onClick: "deleteEvent",
6662
+ size: "small"
6663
+ },
6664
+ style: {}
6665
+ }
6666
+ }
6667
+ ]
6668
+ },
6514
6669
  {
6515
6670
  type: "Control",
6516
6671
  scope: "#/properties/proc",
@@ -6817,7 +6972,7 @@ const EventSection = {
6817
6972
  icon: "RejectIcon",
6818
6973
  color: "error",
6819
6974
  tooltipMessage: "Reject This Record",
6820
- onClick: "deleteEvent"
6975
+ onClick: "deletePopUpEvent"
6821
6976
  }
6822
6977
  }
6823
6978
  }
@@ -7333,7 +7488,7 @@ const TableSection = {
7333
7488
  main: {
7334
7489
  icon: "RejectIcon",
7335
7490
  color: "error",
7336
- onClick: "deleteComponents",
7491
+ onClick: "deletePopUpComponent",
7337
7492
  tooltipMessage: "Reject This Record"
7338
7493
  }
7339
7494
  }
@@ -7693,6 +7848,7 @@ var Component = (store2, dynamicData2, submitHandler, service2) => {
7693
7848
  const response2 = saveFormdataInLocalStorage(store2.ctx.core.data, path);
7694
7849
  const data2 = path ? _.get(response2, path) : response2;
7695
7850
  store2.setFormdata(data2);
7851
+ store2.updateDialog("popUpComponent");
7696
7852
  },
7697
7853
  deleteEvent: function() {
7698
7854
  var _a;
@@ -7701,6 +7857,7 @@ var Component = (store2, dynamicData2, submitHandler, service2) => {
7701
7857
  store2.formData.events.splice(rowId, 1);
7702
7858
  const response2 = saveFormdataInLocalStorage(store2.ctx.core.data, path);
7703
7859
  store2.setFormdata(_.get(response2, path));
7860
+ store2.updateDialog("deletePopUpEvent");
7704
7861
  },
7705
7862
  widgetAddClickHandler: function() {
7706
7863
  var _a;
@@ -7736,6 +7893,12 @@ var Component = (store2, dynamicData2, submitHandler, service2) => {
7736
7893
  },
7737
7894
  backHandler: function() {
7738
7895
  store2.navigate(-1);
7896
+ },
7897
+ deletePopUpComponent: function() {
7898
+ store2.updateDialog("popUpComponent");
7899
+ },
7900
+ deletePopUpEvent: function() {
7901
+ store2.updateDialog("popUpEvent");
7739
7902
  }
7740
7903
  };
7741
7904
  };
@@ -8157,7 +8320,7 @@ const EventUiSchema = {
8157
8320
  },
8158
8321
  {
8159
8322
  type: "Control",
8160
- scope: "#/properties/ConfirmDeleteCompButton",
8323
+ scope: "#/properties/ConfirmDeleteEventButton",
8161
8324
  options: {
8162
8325
  widget: "Button"
8163
8326
  },
@@ -8179,7 +8342,7 @@ const EventUiSchema = {
8179
8342
  },
8180
8343
  {
8181
8344
  type: "Control",
8182
- scope: "#/properties/CancelDeleteCompButton",
8345
+ scope: "#/properties/CancelDeleteEventButton",
8183
8346
  options: {
8184
8347
  widget: "Button"
8185
8348
  },