impaktapps-ui-builder 0.0.101-alpha.75 → 0.0.101-alpha.77

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.
@@ -527,12 +527,12 @@ const PageMasterUiSchema = (theme) => {
527
527
  heading: "Are you sure you want to delete ?"
528
528
  },
529
529
  style: {
530
- marginTop: "-20px",
531
530
  fontSize: "20px",
532
531
  "&.MuiTypography-root": {
533
- padding: "10px 30px 20px 30px",
532
+ padding: "0px 20px",
534
533
  textAlign: "center",
535
- lineHeight: "1"
534
+ lineHeight: "1",
535
+ marginBottom: theme.myTheme.spacing(5)
536
536
  }
537
537
  }
538
538
  }
@@ -554,9 +554,7 @@ const PageMasterUiSchema = (theme) => {
554
554
  layout: 6,
555
555
  main: {
556
556
  name: "No",
557
- startIcon: "ApproveIcon",
558
557
  variant: "contained",
559
- color: "info",
560
558
  type: "text",
561
559
  onClick: "deletePopUpComponent",
562
560
  size: "large"
@@ -590,7 +588,6 @@ const PageMasterUiSchema = (theme) => {
590
588
  layout: 6,
591
589
  main: {
592
590
  name: "Yes",
593
- startIcon: "ApproveIcon",
594
591
  variant: "contained",
595
592
  color: "error",
596
593
  type: "text",
@@ -599,17 +596,18 @@ const PageMasterUiSchema = (theme) => {
599
596
  },
600
597
  style: {
601
598
  position: "absolute",
599
+ padding: "10px 0px",
602
600
  bottom: 0,
603
601
  right: 0,
604
602
  width: "50%",
605
603
  borderRadius: 0,
606
604
  boxShadow: 0,
607
605
  backgroundColor: "transparent",
608
- color: theme.palette.error.main,
609
- borderTop: `0.5px solid ${theme.palette.grey[600]}`,
606
+ color: theme.myTheme.palette.error.main,
607
+ borderTop: `0.5px solid ${theme.myTheme.palette.grey[600]}`,
610
608
  "&:hover": {
611
- color: theme.palette.error.contrastText,
612
- backgroundColor: theme.palette.error.main,
609
+ color: theme.myTheme.palette.error.contrastText,
610
+ backgroundColor: theme.myTheme.palette.error.main,
613
611
  boxShadow: "none"
614
612
  }
615
613
  }
@@ -650,12 +648,12 @@ const PageMasterUiSchema = (theme) => {
650
648
  heading: "Are you sure you want to delete ?"
651
649
  },
652
650
  style: {
653
- marginTop: "-20px",
654
651
  fontSize: "20px",
655
652
  "&.MuiTypography-root": {
656
- padding: "10px 30px 20px 30px",
653
+ padding: "0px 20px",
657
654
  textAlign: "center",
658
- lineHeight: "1"
655
+ lineHeight: "1",
656
+ marginBottom: theme.myTheme.spacing(5)
659
657
  }
660
658
  }
661
659
  }
@@ -677,9 +675,7 @@ const PageMasterUiSchema = (theme) => {
677
675
  layout: 6,
678
676
  main: {
679
677
  name: "No",
680
- startIcon: "ApproveIcon",
681
678
  variant: "contained",
682
- color: "info",
683
679
  type: "text",
684
680
  onClick: "deletePopUpEvent",
685
681
  size: "large"
@@ -713,7 +709,6 @@ const PageMasterUiSchema = (theme) => {
713
709
  layout: 6,
714
710
  main: {
715
711
  name: "Yes",
716
- startIcon: "ApproveIcon",
717
712
  variant: "contained",
718
713
  color: "error",
719
714
  type: "text",
@@ -722,17 +717,18 @@ const PageMasterUiSchema = (theme) => {
722
717
  },
723
718
  style: {
724
719
  position: "absolute",
720
+ padding: "10px 0px",
725
721
  bottom: 0,
726
722
  right: 0,
727
723
  width: "50%",
728
724
  borderRadius: 0,
729
725
  boxShadow: 0,
730
726
  backgroundColor: "transparent",
731
- color: theme.palette.error.main,
732
- borderTop: `0.5px solid ${theme.palette.grey[600]}`,
727
+ color: theme.myTheme.palette.error.main,
728
+ borderTop: `0.5px solid ${theme.myTheme.palette.grey[600]}`,
733
729
  "&:hover": {
734
- color: theme.palette.error.contrastText,
735
- backgroundColor: theme.palette.error.main,
730
+ color: theme.myTheme.palette.error.contrastText,
731
+ backgroundColor: theme.myTheme.palette.error.main,
736
732
  boxShadow: "none"
737
733
  }
738
734
  }
@@ -6831,12 +6827,12 @@ const componentBasicUiSchema = (theme) => {
6831
6827
  heading: "Are you sure you want to delete ?"
6832
6828
  },
6833
6829
  style: {
6834
- marginTop: "-20px",
6835
6830
  fontSize: "20px",
6836
6831
  "&.MuiTypography-root": {
6837
- padding: "10px 30px 20px 30px",
6832
+ padding: "0px 20px",
6838
6833
  textAlign: "center",
6839
- lineHeight: "1"
6834
+ lineHeight: "1",
6835
+ marginBottom: theme.myTheme.spacing(5)
6840
6836
  }
6841
6837
  }
6842
6838
  }
@@ -6900,17 +6896,18 @@ const componentBasicUiSchema = (theme) => {
6900
6896
  },
6901
6897
  style: {
6902
6898
  position: "absolute",
6899
+ padding: "10px 0px",
6903
6900
  bottom: 0,
6904
6901
  right: 0,
6905
6902
  width: "50%",
6906
6903
  borderRadius: 0,
6907
6904
  boxShadow: 0,
6908
6905
  backgroundColor: "transparent",
6909
- color: theme.palette.error.main,
6910
- borderTop: `0.5px solid ${theme.palette.grey[600]}`,
6906
+ color: theme.myTheme.palette.error.main,
6907
+ borderTop: `0.5px solid ${theme.myTheme.palette.grey[600]}`,
6911
6908
  "&:hover": {
6912
- color: theme.palette.error.contrastText,
6913
- backgroundColor: theme.palette.error.main,
6909
+ color: theme.myTheme.palette.error.contrastText,
6910
+ backgroundColor: theme.myTheme.palette.error.main,
6914
6911
  boxShadow: "none"
6915
6912
  }
6916
6913
  }
@@ -6951,12 +6948,12 @@ const componentBasicUiSchema = (theme) => {
6951
6948
  heading: "Are you sure you want to delete ?"
6952
6949
  },
6953
6950
  style: {
6954
- marginTop: "-20px",
6955
6951
  fontSize: "20px",
6956
6952
  "&.MuiTypography-root": {
6957
- padding: "10px 30px 20px 30px",
6953
+ padding: "0px 20px",
6958
6954
  textAlign: "center",
6959
- lineHeight: "1"
6955
+ lineHeight: "1",
6956
+ marginBottom: theme.myTheme.spacing(5)
6960
6957
  }
6961
6958
  }
6962
6959
  }
@@ -7020,17 +7017,18 @@ const componentBasicUiSchema = (theme) => {
7020
7017
  },
7021
7018
  style: {
7022
7019
  position: "absolute",
7020
+ padding: "10px 0px",
7023
7021
  bottom: 0,
7024
7022
  right: 0,
7025
7023
  width: "50%",
7026
7024
  borderRadius: 0,
7027
7025
  boxShadow: 0,
7028
7026
  backgroundColor: "transparent",
7029
- color: theme.palette.error.main,
7030
- borderTop: `0.5px solid ${theme.palette.grey[600]}`,
7027
+ color: theme.myTheme.palette.error.main,
7028
+ borderTop: `0.5px solid ${theme.myTheme.palette.grey[600]}`,
7031
7029
  "&:hover": {
7032
- color: theme.palette.error.contrastText,
7033
- backgroundColor: theme.palette.error.main,
7030
+ color: theme.myTheme.palette.error.contrastText,
7031
+ backgroundColor: theme.myTheme.palette.error.main,
7034
7032
  boxShadow: "none"
7035
7033
  }
7036
7034
  }
@@ -8313,7 +8311,7 @@ const getNavigationHistory = (config2, path) => {
8313
8311
  urlRoutes = urlRoutes + " > NewComponent";
8314
8312
  }
8315
8313
  });
8316
- return { pageName: urlRoutes != null ? urlRoutes : "NewPage" };
8314
+ return { pageName: urlRoutes };
8317
8315
  }
8318
8316
  return void 0;
8319
8317
  };
@@ -8529,7 +8527,7 @@ var Component = (store2, dynamicData2, submitHandler, service2) => {
8529
8527
  return getFormdataFromSessionStorage(path);
8530
8528
  },
8531
8529
  getSchema: function() {
8532
- var _a, _b;
8530
+ var _a, _b, _c;
8533
8531
  const schema2 = _.cloneDeep(ComponentSchema);
8534
8532
  if (sessionStorage.getItem("copiedConfig")) {
8535
8533
  schema2.properties.RemoveItemButton.disabled = false;
@@ -8537,7 +8535,7 @@ var Component = (store2, dynamicData2, submitHandler, service2) => {
8537
8535
  const config2 = JSON.parse(sessionStorage.getItem("pageFormdata"));
8538
8536
  const path = (_a = store2.searchParams) == null ? void 0 : _a.get("path");
8539
8537
  const id = (_b = store2.searchParams) == null ? void 0 : _b.get("id");
8540
- let pathArray = [{ label: config2.name, path: `/PageMaster${id ? `?id=${id}` : ""}` }];
8538
+ let pathArray = [{ label: (_c = config2.name) != null ? _c : "NewPage", path: `/PageMaster${id ? `?id=${id}` : ""}` }];
8541
8539
  if (path) {
8542
8540
  const pathArrayAll = path.split(".");
8543
8541
  const arr = [];
@@ -9244,12 +9242,12 @@ const EventUiSchema = (theme) => {
9244
9242
  heading: "Are you sure you want to delete ?"
9245
9243
  },
9246
9244
  style: {
9247
- marginTop: "-20px",
9248
9245
  fontSize: "20px",
9249
9246
  "&.MuiTypography-root": {
9250
- padding: "10px 30px 20px 30px",
9247
+ padding: "0px 20px",
9251
9248
  textAlign: "center",
9252
- lineHeight: "1"
9249
+ lineHeight: "1",
9250
+ marginBottom: theme.myTheme.spacing(5)
9253
9251
  }
9254
9252
  }
9255
9253
  }
@@ -9273,7 +9271,6 @@ const EventUiSchema = (theme) => {
9273
9271
  name: "No",
9274
9272
  startIcon: "ApproveIcon",
9275
9273
  variant: "contained",
9276
- color: "info",
9277
9274
  type: "text",
9278
9275
  onClick: "deletePopUpEvent",
9279
9276
  size: "large"
@@ -9307,7 +9304,6 @@ const EventUiSchema = (theme) => {
9307
9304
  layout: 6,
9308
9305
  main: {
9309
9306
  name: "Yes",
9310
- startIcon: "ApproveIcon",
9311
9307
  variant: "contained",
9312
9308
  color: "error",
9313
9309
  type: "text",
@@ -9316,17 +9312,18 @@ const EventUiSchema = (theme) => {
9316
9312
  },
9317
9313
  style: {
9318
9314
  position: "absolute",
9315
+ padding: "10px 0px",
9319
9316
  bottom: 0,
9320
9317
  right: 0,
9321
9318
  width: "50%",
9322
9319
  borderRadius: 0,
9323
9320
  boxShadow: 0,
9324
9321
  backgroundColor: "transparent",
9325
- color: theme.palette.error.main,
9326
- borderTop: `0.5px solid ${theme.palette.grey[600]}`,
9322
+ color: theme.myTheme.palette.error.main,
9323
+ borderTop: `0.5px solid ${theme.myTheme.palette.grey[600]}`,
9327
9324
  "&:hover": {
9328
- color: theme.palette.error.contrastText,
9329
- backgroundColor: theme.palette.error.main,
9325
+ color: theme.myTheme.palette.error.contrastText,
9326
+ backgroundColor: theme.myTheme.palette.error.main,
9330
9327
  boxShadow: "none"
9331
9328
  }
9332
9329
  }
@@ -9648,7 +9645,7 @@ var event = (store2, dynamicData2, submitHandler, service2, functionsName) => {
9648
9645
  this.refreshPage(formdata.Handler, store2);
9649
9646
  },
9650
9647
  refreshPage: (handlerType, store22) => {
9651
- var _a, _b;
9648
+ var _a, _b, _c;
9652
9649
  const uiSchema = _.cloneDeep(EventUiSchema(store22.theme.myTheme));
9653
9650
  const schema2 = _.cloneDeep(EventSchema);
9654
9651
  if (handlerType) {
@@ -9736,7 +9733,7 @@ var event = (store2, dynamicData2, submitHandler, service2, functionsName) => {
9736
9733
  const config2 = JSON.parse(sessionStorage.getItem("pageFormdata"));
9737
9734
  const path = (_a = store22.searchParams) == null ? void 0 : _a.get("path");
9738
9735
  const id = (_b = store22.searchParams) == null ? void 0 : _b.get("id");
9739
- let pathArray = [{ label: config2.name, path: `/PageMaster${id ? `?id=${id}` : ""}` }];
9736
+ let pathArray = [{ label: (_c = config2.name) != null ? _c : "NewPage", path: `/PageMaster${id ? `?id=${id}` : ""}` }];
9740
9737
  if (path) {
9741
9738
  const pathArrayAll = path.split(".");
9742
9739
  const arr = [];
@@ -9765,7 +9762,7 @@ var event = (store2, dynamicData2, submitHandler, service2, functionsName) => {
9765
9762
  return EventUiSchema;
9766
9763
  },
9767
9764
  getSchema: () => {
9768
- var _a, _b;
9765
+ var _a, _b, _c;
9769
9766
  const schema2 = _.cloneDeep(EventSchema);
9770
9767
  if (sessionStorage.getItem("copiedConfig")) {
9771
9768
  schema2.properties.RemoveItemButton.disabled = false;
@@ -9773,7 +9770,7 @@ var event = (store2, dynamicData2, submitHandler, service2, functionsName) => {
9773
9770
  const config2 = JSON.parse(sessionStorage.getItem("pageFormdata"));
9774
9771
  const path = (_a = store2.searchParams) == null ? void 0 : _a.get("path");
9775
9772
  const id = (_b = store2.searchParams) == null ? void 0 : _b.get("id");
9776
- let pathArray = [{ label: config2.name, path: `/PageMaster${id ? `?id=${id}` : ""}` }];
9773
+ let pathArray = [{ label: (_c = config2.name) != null ? _c : "NewPage", path: `/PageMaster${id ? `?id=${id}` : ""}` }];
9777
9774
  if (path) {
9778
9775
  const pathArrayAll = path.split(".");
9779
9776
  const arr = [];