impaktapps-ui-builder 0.0.101-alpha.84 → 0.0.101-alpha.86

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.
@@ -184,7 +184,8 @@ const PageMasterUiSchema = (theme) => {
184
184
  size: "small",
185
185
  icon: "TablePaste",
186
186
  iconLabel: "Paste",
187
- styleDefault: true
187
+ styleDefault: true,
188
+ title: ""
188
189
  },
189
190
  style: {
190
191
  mt: "6px",
@@ -452,6 +453,62 @@ const PageMasterUiSchema = (theme) => {
452
453
  }
453
454
  ]
454
455
  },
456
+ {
457
+ type: "HorizontalLayout",
458
+ config: {
459
+ layout: { xs: 12, sm: 9 }
460
+ },
461
+ elements: [
462
+ {
463
+ type: "Control",
464
+ scope: "#/properties/RemoveItemButton",
465
+ options: {
466
+ widget: "IconButton"
467
+ },
468
+ config: {
469
+ layout: { xs: 1, sm: 1 },
470
+ main: {
471
+ onClick: "RemoveItemButton",
472
+ size: "large",
473
+ icon: "RejectIcon",
474
+ styleDefault: true
475
+ },
476
+ style: {
477
+ marginLeft: "-5px"
478
+ }
479
+ }
480
+ },
481
+ {
482
+ type: "Control",
483
+ scope: "#/properties/copiedElementDetails",
484
+ options: {
485
+ widget: "Box"
486
+ },
487
+ config: {
488
+ layout: { xs: 6, sm: 6 },
489
+ main: {
490
+ heading: "No element copied"
491
+ },
492
+ style: {
493
+ color: "#535557",
494
+ marginLeft: "-30px",
495
+ fontSize: "12px",
496
+ marginTop: "4px"
497
+ }
498
+ }
499
+ },
500
+ {
501
+ type: "Control",
502
+ scope: "#/properties/EmptyBox",
503
+ options: {
504
+ widget: "EmptyBox"
505
+ },
506
+ config: {
507
+ layout: { xs: 1, sm: 5 }
508
+ }
509
+ }
510
+ ]
511
+ },
455
512
  {
456
513
  scope: "#/properties/Remarks Container",
457
514
  type: "WrapperLayout",
@@ -6752,6 +6809,62 @@ const componentBasicUiSchema = (theme) => {
6752
6809
  }
6753
6810
  ]
6754
6811
  },
6812
+ {
6813
+ type: "HorizontalLayout",
6814
+ config: {
6815
+ layout: { xs: 12, sm: 6 }
6816
+ },
6817
+ elements: [
6818
+ {
6819
+ type: "Control",
6820
+ scope: "#/properties/RemoveItemButton",
6821
+ options: {
6822
+ widget: "IconButton"
6823
+ },
6824
+ config: {
6825
+ layout: { xs: 1, sm: 1 },
6826
+ main: {
6827
+ onClick: "RemoveItemButton",
6828
+ size: "large",
6829
+ icon: "RejectIcon",
6830
+ styleDefault: true
6831
+ },
6832
+ style: {
6833
+ marginLeft: "-10px"
6834
+ }
6835
+ }
6836
+ },
6837
+ {
6838
+ type: "Control",
6839
+ scope: "#/properties/copiedElementDetails",
6840
+ options: {
6841
+ widget: "Box"
6842
+ },
6843
+ config: {
6844
+ layout: { xs: 6, sm: 6 },
6845
+ main: {
6846
+ heading: "No element copied"
6847
+ },
6848
+ style: {
6849
+ color: "#535557",
6850
+ marginLeft: "-10px",
6851
+ fontSize: "12px",
6852
+ marginTop: "4px"
6853
+ }
6854
+ }
6855
+ },
6856
+ {
6857
+ type: "Control",
6858
+ scope: "#/properties/EmptyBox",
6859
+ options: {
6860
+ widget: "EmptyBox"
6861
+ },
6862
+ config: {
6863
+ layout: { xs: 1, sm: 5 }
6864
+ }
6865
+ }
6866
+ ]
6867
+ },
6755
6868
  {
6756
6869
  type: "WrapperLayout",
6757
6870
  config: {
@@ -8746,7 +8859,8 @@ var Component = (store2, dynamicData2, submitHandler, service2) => {
8746
8859
  return parentPath ? `${parentPath}.events[${rowId}]` : `events[${rowId}]`;
8747
8860
  },
8748
8861
  ElementPathSetter: function(uiSchema, copiedFormData) {
8749
- copiedFormData || JSON.parse(sessionStorage.getItem("copiedConfig"));
8862
+ const formData = copiedFormData || JSON.parse(sessionStorage.getItem("copiedConfig"));
8863
+ uiSchema.elements[2].elements[1].config.main.heading = `Copied Path: ${formData.pageName}`;
8750
8864
  }
8751
8865
  };
8752
8866
  };