impaktapps-ui-builder 0.0.101-alpha.4 → 0.0.101-alpha.41

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.
Files changed (30) hide show
  1. package/dist/impaktapps-ui-builder.es.js +970 -919
  2. package/dist/impaktapps-ui-builder.es.js.map +1 -1
  3. package/dist/impaktapps-ui-builder.umd.js +12 -12
  4. package/dist/impaktapps-ui-builder.umd.js.map +1 -1
  5. package/dist/src/impaktapps-ui-builder/builder/build/uischema/apiSection.d.ts +62 -59
  6. package/dist/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.d.ts +17 -21
  7. package/dist/src/impaktapps-ui-builder/builder/build/uischema/coreSection.d.ts +98 -95
  8. package/dist/src/impaktapps-ui-builder/builder/build/uischema/eventSection.d.ts +26 -33
  9. package/dist/src/impaktapps-ui-builder/builder/build/uischema/refresh.d.ts +52 -38
  10. package/dist/src/impaktapps-ui-builder/builder/build/uischema/styleSection.d.ts +7 -8
  11. package/dist/src/impaktapps-ui-builder/builder/build/uischema/tableSection.d.ts +29 -33
  12. package/dist/src/impaktapps-ui-builder/builder/build/uischema/validationSections.d.ts +56 -37
  13. package/dist/src/impaktapps-ui-builder/builder/build/uischema/valueTab.d.ts +56 -36
  14. package/package.json +1 -1
  15. package/src/impaktapps-ui-builder/builder/build/uischema/apiSection.ts +111 -96
  16. package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +100 -94
  17. package/src/impaktapps-ui-builder/builder/build/uischema/coreSection.ts +189 -110
  18. package/src/impaktapps-ui-builder/builder/build/uischema/eventSection.ts +39 -17
  19. package/src/impaktapps-ui-builder/builder/build/uischema/refresh.ts +44 -44
  20. package/src/impaktapps-ui-builder/builder/build/uischema/styleSection.ts +9 -13
  21. package/src/impaktapps-ui-builder/builder/build/uischema/tableSection.ts +40 -18
  22. package/src/impaktapps-ui-builder/builder/build/uischema/validationSections.ts +117 -48
  23. package/src/impaktapps-ui-builder/builder/build/uischema/valueTab.ts +113 -45
  24. package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/schema.ts +20 -20
  25. package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/uiSchema.ts +297 -346
  26. package/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/uiSchema.ts +9 -8
  27. package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/schema.ts +12 -12
  28. package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/uiSchema.ts +200 -289
  29. package/src/impaktapps-ui-builder/builder/services/component.ts +90 -32
  30. package/src/impaktapps-ui-builder/builder/services/event.ts +13 -14
@@ -182,7 +182,7 @@ const PageMasterUiSchema = (theme) => {
182
182
  main: {
183
183
  onClick: "copyPasteElement",
184
184
  size: "small",
185
- icon: "TablePasteIcon",
185
+ icon: "TablePaste",
186
186
  iconLabel: "Paste",
187
187
  styleDefault: true
188
188
  },
@@ -339,7 +339,7 @@ const PageMasterUiSchema = (theme) => {
339
339
  main: {
340
340
  onClick: "copyPasteElement",
341
341
  size: "small",
342
- icon: "TablePasteIcon",
342
+ icon: "TablePaste",
343
343
  iconLabel: "Paste",
344
344
  styleDefault: true
345
345
  },
@@ -365,19 +365,19 @@ const PageMasterUiSchema = (theme) => {
365
365
  elements: [
366
366
  {
367
367
  accessorKey: "eventType",
368
- header: "Event Type",
368
+ header: "Event's Type",
369
369
  size: 300,
370
370
  type: "string"
371
371
  },
372
372
  {
373
373
  accessorKey: "Handler",
374
374
  header: "Handler",
375
- size: 300,
375
+ size: 200,
376
376
  type: "string"
377
377
  },
378
378
  {
379
379
  accessorKey: "Edit_Approve_Records",
380
- header: "Edit Widget",
380
+ header: "Edit",
381
381
  type: "action",
382
382
  size: 150,
383
383
  widget: {
@@ -405,6 +405,8 @@ const PageMasterUiSchema = (theme) => {
405
405
  {
406
406
  accessorKey: "Reject_Records",
407
407
  header: "Delete",
408
+ type: "action",
409
+ size: 150,
408
410
  widget: {
409
411
  type: "Control",
410
412
  scope: "#/properties/RejectButton",
@@ -429,7 +431,8 @@ const PageMasterUiSchema = (theme) => {
429
431
  {
430
432
  header: "Copy",
431
433
  field: "Copy_Event",
432
- flex: 1,
434
+ type: "action",
435
+ size: 150,
433
436
  widget: {
434
437
  type: "Control",
435
438
  scope: "#/properties/Copy_Event",
@@ -474,7 +477,6 @@ const PageMasterUiSchema = (theme) => {
474
477
  layout: { xs: 4, sm: 2.5, md: 2, lg: 1.5 },
475
478
  main: {
476
479
  name: "Save",
477
- startIcon: "ApproveIcon",
478
480
  variant: "contained",
479
481
  type: "text",
480
482
  onClick: "saveHandler",
@@ -6241,44 +6243,44 @@ const ComponentSchema = {
6241
6243
  properties: {
6242
6244
  type: {
6243
6245
  oneOf: [
6244
- { title: "AadharcardText", const: "AadharcardText" },
6246
+ { title: "Masked Aadhaar", const: "AadharcardText" },
6245
6247
  { title: "Array", const: "Array" },
6246
6248
  { title: "Button", const: "Button" },
6247
- { title: "Card", const: "card" },
6248
- { title: "CheckBox", const: "CheckBox" },
6249
+ { title: "Data Card", const: "card" },
6250
+ { title: "Check Box", const: "CheckBox" },
6249
6251
  { title: "Container", const: "WrapperSection" },
6250
- { title: "DataGrid", const: "DataGrid" },
6252
+ { title: "Data Grid", const: "DataGrid" },
6251
6253
  { title: "Date", const: "Date" },
6252
- { title: "DateTime", const: "DateTime" },
6253
- { title: "Download File", const: "DownloadFile" },
6254
+ { title: "Time Stamp", const: "DateTime" },
6255
+ { title: "Download", const: "DownloadFile" },
6254
6256
  { title: "Empty Box", const: "EmptyBox" },
6255
- { title: "File", const: "FileInput" },
6257
+ { title: "File Handler", const: "FileInput" },
6256
6258
  { title: "Graph", const: "Graph" },
6257
6259
  { title: "Input Slider", const: "InputSlider" },
6258
6260
  { title: "Label", const: "Box" },
6259
- { title: "LeaderBoard", const: "LeaderBoard" },
6260
- { title: "MultipleSelect", const: "MultipleSelect" },
6261
- { title: "PanCardText", const: "PanCardText" },
6262
- { title: "Popup Container", const: "PopUp" },
6263
- { title: "ProgressBar", const: "ProgressBar" },
6264
- { title: "ProgressBar Card", const: "ProgressBarCard" },
6265
- { title: "Select", const: "Select" },
6261
+ { title: "Leaderboard", const: "LeaderBoard" },
6262
+ { title: "Multi-Select Dropdown", const: "MultipleSelect" },
6263
+ { title: "Pan Card Masked", const: "PanCardText" },
6264
+ { title: "Pop Up", const: "PopUp" },
6265
+ { title: "Progress Bar", const: "ProgressBar" },
6266
+ { title: "Progress Bar Card", const: "ProgressBarCard" },
6267
+ { title: "Dropdown", const: "Select" },
6266
6268
  { title: "Slider", const: "Slider" },
6267
- { title: "SpeedoMeter", const: "SpeedoMeter" },
6269
+ { title: "Speedometer", const: "SpeedoMeter" },
6268
6270
  { title: "Stepper Container", const: "Stepper" },
6269
6271
  { title: "Radio", const: "Radio" },
6270
6272
  { title: "Rank", const: "Rank" },
6271
6273
  { title: "Rank Card", const: "RankCard" },
6272
- { title: "Runner Boy Progress Bar", const: "RunnerBoyProgressBar" },
6274
+ { title: "Runner Boy", const: "RunnerBoyProgressBar" },
6273
6275
  { title: "Table", const: "Table" },
6274
6276
  { title: "Tabs", const: "TabSection" },
6275
6277
  { title: "Text", const: "Text" },
6276
6278
  { title: "Text Area", const: "TextArea" },
6277
6279
  { title: "Timer", const: "Timer" },
6278
- { title: "Upload File", const: "UploadFile" },
6279
- { title: "TreeMap", const: "TreeMap" },
6280
- { title: "ColumnGroup", const: "ColumnGroup" },
6281
- { title: "Thought of the Day", const: "Thought" },
6280
+ { title: "Upload", const: "UploadFile" },
6281
+ { title: "Tree ", const: "TreeMap" },
6282
+ { title: "Column Group", const: "ColumnGroup" },
6283
+ { title: "Thought of the day", const: "Thought" },
6282
6284
  { title: "Pdf Viewer", const: "PdfViewer" }
6283
6285
  ]
6284
6286
  },
@@ -6576,42 +6578,41 @@ const ComponentSchema = {
6576
6578
  required: ["name"]
6577
6579
  };
6578
6580
  const componentBasicUiSchema = (theme) => {
6579
- var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j;
6581
+ var _a;
6580
6582
  const uiSchema = {
6581
6583
  type: "HorizontalLayout",
6582
- heading: "Component",
6584
+ heading: "Page-Component",
6583
6585
  elements: [
6584
- {
6585
- type: "Control",
6586
- scope: "#/properties/pageName",
6587
- options: {
6588
- widget: "Box"
6589
- },
6590
- config: {
6591
- layout: 12,
6592
- main: {
6593
- heading: " "
6594
- },
6595
- style: {
6596
- marginLeft: theme.spacing(3),
6597
- width: "auto",
6598
- fontSize: "12px",
6599
- color: "gray"
6600
- }
6601
- }
6602
- },
6603
6586
  {
6604
6587
  type: "TabLayout",
6605
6588
  config: {
6606
6589
  main: {
6607
6590
  tabLabels: ["Core"],
6608
- defaultStyle: true,
6609
6591
  id: `component`
6592
+ },
6593
+ style: {
6594
+ TabPanelStyle: {
6595
+ padding: 0
6596
+ }
6597
+ },
6598
+ TabsStyle: {
6599
+ marginBottom: "3px",
6600
+ paddingBottom: "4px",
6601
+ boxShadow: "0px 3px 4px #afafaf80",
6602
+ "& .MuiTabs-indicator": {
6603
+ bottom: "6px"
6604
+ }
6610
6605
  }
6611
6606
  },
6612
6607
  elements: [
6613
6608
  {
6614
- type: "HorizontalLayout",
6609
+ type: "WrapperLayout",
6610
+ config: {
6611
+ main: {
6612
+ label: " ",
6613
+ gap: "8px"
6614
+ }
6615
+ },
6615
6616
  elements: [
6616
6617
  {
6617
6618
  type: "Control",
@@ -6620,12 +6621,22 @@ const componentBasicUiSchema = (theme) => {
6620
6621
  widget: "SelectInputField"
6621
6622
  },
6622
6623
  config: {
6623
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
6624
+ layout: { xs: 6, sm: 6, md: 4, lg: 3 },
6624
6625
  main: {
6625
6626
  label: "Type"
6626
6627
  }
6627
6628
  }
6628
6629
  },
6630
+ {
6631
+ type: "Control",
6632
+ scope: "#/properties/proc",
6633
+ config: {
6634
+ layout: { xs: 6, sm: 0, md: 0, lg: 0 }
6635
+ },
6636
+ options: {
6637
+ widget: "EmptyBox"
6638
+ }
6639
+ },
6629
6640
  {
6630
6641
  type: "Control",
6631
6642
  scope: "#/properties/name",
@@ -6633,11 +6644,9 @@ const componentBasicUiSchema = (theme) => {
6633
6644
  widget: "InputField"
6634
6645
  },
6635
6646
  config: {
6636
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
6647
+ layout: { xs: 12, sm: 6, md: 4, lg: 3 },
6637
6648
  main: {
6638
- label: "Name",
6639
- options: [],
6640
- color: "secondary",
6649
+ label: "Component ID",
6641
6650
  required: true
6642
6651
  }
6643
6652
  }
@@ -6649,7 +6658,7 @@ const componentBasicUiSchema = (theme) => {
6649
6658
  widget: "InputField"
6650
6659
  },
6651
6660
  config: {
6652
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
6661
+ layout: { xs: 6, sm: 6, md: 4, lg: 3 },
6653
6662
  main: {
6654
6663
  label: "Label",
6655
6664
  options: [],
@@ -6658,34 +6667,11 @@ const componentBasicUiSchema = (theme) => {
6658
6667
  }
6659
6668
  }
6660
6669
  },
6661
- {
6662
- type: "Control",
6663
- scope: "#/properties/columnFormat",
6664
- options: {
6665
- widget: "SelectInputField"
6666
- },
6667
- config: {
6668
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
6669
- main: {
6670
- label: "Column Format"
6671
- }
6672
- }
6673
- },
6674
- {
6675
- type: "Control",
6676
- scope: "#/properties/proc",
6677
- config: {
6678
- layout: { xs: 0, sm: 0, md: 4, lg: 4 }
6679
- },
6680
- options: {
6681
- widget: "EmptyBox"
6682
- }
6683
- },
6684
6670
  {
6685
6671
  type: "Control",
6686
6672
  scope: "#/properties/proc",
6687
6673
  config: {
6688
- layout: { xs: 0, sm: 0, md: 4, lg: 4 }
6674
+ layout: { xs: 6, sm: 6, md: 0, lg: 3 }
6689
6675
  },
6690
6676
  options: {
6691
6677
  widget: "EmptyBox"
@@ -6694,150 +6680,126 @@ const componentBasicUiSchema = (theme) => {
6694
6680
  {
6695
6681
  type: "Control",
6696
6682
  scope: "#/properties/layout",
6697
- layout: 12,
6698
6683
  options: {
6699
- detail: {
6700
- type: "HorizontalLayout",
6701
- elements: [
6702
- {
6703
- type: "Control",
6704
- scope: "#/properties/key",
6705
- options: {
6706
- widget: "SelectInputField"
6707
- },
6708
- config: {
6709
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
6710
- main: {
6711
- label: "Screen Size"
6712
- }
6713
- }
6714
- },
6715
- {
6716
- type: "Control",
6717
- scope: "#/properties/value",
6718
- options: {
6719
- widget: "InputField"
6720
- },
6721
- config: {
6722
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
6723
- main: {
6724
- label: "Value",
6725
- type: "number",
6726
- helperText: "Number should be in range of 0 to 12",
6727
- errorMessage: "Number Can't be greater than 12 and can't be less than 0."
6728
- }
6729
- }
6730
- },
6731
- {
6732
- type: "Control",
6733
- scope: "#/properties/proc",
6734
- config: {
6735
- layout: { xs: 0, sm: 0, md: 4, lg: 4 }
6736
- },
6737
- options: {
6738
- widget: "EmptyBox"
6739
- }
6684
+ widget: "Array"
6685
+ },
6686
+ config: {
6687
+ layout: 12,
6688
+ main: {
6689
+ label: "Layout",
6690
+ childElementLabel: "Layout"
6691
+ },
6692
+ style: {
6693
+ marginLeft: "-24px",
6694
+ marginBottom: "24px !important",
6695
+ labelStyle: {
6696
+ marginLeft: "24px"
6697
+ },
6698
+ detailsStyle: {
6699
+ marginLeft: "24px"
6700
+ }
6701
+ }
6702
+ },
6703
+ elements: [
6704
+ {
6705
+ type: "Control",
6706
+ scope: "#/properties/key",
6707
+ options: {
6708
+ widget: "SelectInputField"
6709
+ },
6710
+ config: {
6711
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
6712
+ main: {
6713
+ label: "Screen Size"
6714
+ }
6715
+ }
6716
+ },
6717
+ {
6718
+ type: "Control",
6719
+ scope: "#/properties/value",
6720
+ options: {
6721
+ widget: "InputField"
6722
+ },
6723
+ config: {
6724
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
6725
+ main: {
6726
+ label: "Value",
6727
+ type: "number",
6728
+ helperText: "Number should be in range of 0 to 12",
6729
+ errorMessage: "Number Can't be greater than 12 and can't be less than 0."
6740
6730
  }
6741
- ]
6731
+ }
6732
+ },
6733
+ {
6734
+ type: "Control",
6735
+ scope: "#/properties/proc",
6736
+ config: {
6737
+ layout: { xs: 0, sm: 0, md: 4, lg: 4 }
6738
+ },
6739
+ options: {
6740
+ widget: "EmptyBox"
6741
+ }
6742
6742
  }
6743
- }
6743
+ ]
6744
6744
  }
6745
6745
  ]
6746
6746
  }
6747
6747
  ]
6748
6748
  },
6749
6749
  {
6750
- type: "HorizontalLayout",
6750
+ type: "WrapperLayout",
6751
6751
  config: {
6752
- layout: { xs: 12, sm: 6 }
6752
+ main: {
6753
+ gap: "8px"
6754
+ }
6753
6755
  },
6754
6756
  elements: [
6755
6757
  {
6756
6758
  type: "Control",
6757
- scope: "#/properties/RemoveItemButton",
6759
+ scope: "#/properties/btn",
6758
6760
  options: {
6759
- widget: "IconButton"
6761
+ widget: "Button"
6760
6762
  },
6761
6763
  config: {
6762
- layout: { xs: 1, sm: 1 },
6764
+ layout: { xs: 4, sm: 2.5, md: 2, lg: 1.5 },
6763
6765
  main: {
6764
- onClick: "RemoveItemButton",
6765
- size: "large",
6766
- icon: "RejectIcon",
6767
- styleDefault: true
6768
- },
6769
- style: {
6770
- marginLeft: "-10px"
6766
+ name: "Ok",
6767
+ variant: "contained",
6768
+ type: "text",
6769
+ onClick: "okHandler",
6770
+ size: "medium"
6771
6771
  }
6772
6772
  }
6773
6773
  },
6774
6774
  {
6775
6775
  type: "Control",
6776
- scope: "#/properties/copiedElementDetails",
6776
+ scope: "#/properties/btnSubmit",
6777
6777
  options: {
6778
- widget: "Box"
6778
+ widget: "Button"
6779
6779
  },
6780
6780
  config: {
6781
- layout: { xs: 6, sm: 6 },
6781
+ layout: { xs: 4, sm: 2.5, md: 2, lg: 1.5 },
6782
6782
  main: {
6783
- heading: "No element copied"
6784
- },
6785
- style: {
6786
- color: "#535557",
6787
- marginLeft: "-10px",
6788
- fontSize: "12px",
6789
- marginTop: "4px"
6783
+ name: "Save & Exit",
6784
+ variant: "contained",
6785
+ type: "text",
6786
+ onClick: "saveHandler",
6787
+ size: "medium"
6790
6788
  }
6791
6789
  }
6792
6790
  },
6793
6791
  {
6794
6792
  type: "Control",
6795
6793
  scope: "#/properties/EmptyBox",
6794
+ config: {
6795
+ layout: { xs: 4, sm: 7, md: 8, lg: 9 }
6796
+ },
6796
6797
  options: {
6797
6798
  widget: "EmptyBox"
6798
- },
6799
- config: {
6800
- layout: { xs: 1, sm: 5 }
6801
6799
  }
6802
6800
  }
6803
6801
  ]
6804
6802
  },
6805
- {
6806
- type: "Control",
6807
- scope: "#/properties/btn",
6808
- options: {
6809
- widget: "Button"
6810
- },
6811
- config: {
6812
- layout: { xs: 4, sm: 2 },
6813
- main: {
6814
- name: "Ok",
6815
- startIcon: "ApproveIcon",
6816
- variant: "contained",
6817
- type: "text",
6818
- onClick: "okHandler",
6819
- size: "medium"
6820
- }
6821
- }
6822
- },
6823
- {
6824
- type: "Control",
6825
- scope: "#/properties/btnSubmit",
6826
- options: {
6827
- widget: "Button"
6828
- },
6829
- config: {
6830
- layout: { xs: 4, sm: 2 },
6831
- main: {
6832
- name: "Save & Exit",
6833
- startIcon: "ApproveIcon",
6834
- variant: "contained",
6835
- type: "text",
6836
- onClick: "saveHandler",
6837
- size: "medium"
6838
- }
6839
- }
6840
- },
6841
6803
  {
6842
6804
  type: "Control",
6843
6805
  scope: "#/properties/popUpComponentSection",
@@ -6896,9 +6858,7 @@ const componentBasicUiSchema = (theme) => {
6896
6858
  layout: 6,
6897
6859
  main: {
6898
6860
  name: "No",
6899
- startIcon: "ApproveIcon",
6900
6861
  variant: "contained",
6901
- color: "info",
6902
6862
  type: "text",
6903
6863
  onClick: "deletePopUpComponent",
6904
6864
  size: "large"
@@ -6932,7 +6892,6 @@ const componentBasicUiSchema = (theme) => {
6932
6892
  layout: 6,
6933
6893
  main: {
6934
6894
  name: "Yes",
6935
- startIcon: "ApproveIcon",
6936
6895
  variant: "contained",
6937
6896
  color: "error",
6938
6897
  type: "text",
@@ -7019,9 +6978,7 @@ const componentBasicUiSchema = (theme) => {
7019
6978
  layout: 6,
7020
6979
  main: {
7021
6980
  name: "No",
7022
- startIcon: "ApproveIcon",
7023
6981
  variant: "contained",
7024
- color: "info",
7025
6982
  type: "text",
7026
6983
  onClick: "deletePopUpEvent",
7027
6984
  size: "large"
@@ -7055,7 +7012,6 @@ const componentBasicUiSchema = (theme) => {
7055
7012
  layout: 6,
7056
7013
  main: {
7057
7014
  name: "Yes",
7058
- startIcon: "ApproveIcon",
7059
7015
  variant: "contained",
7060
7016
  color: "error",
7061
7017
  type: "text",
@@ -7084,6 +7040,30 @@ const componentBasicUiSchema = (theme) => {
7084
7040
  }
7085
7041
  ]
7086
7042
  },
7043
+ {
7044
+ type: "Control",
7045
+ scope: "#/properties/pageName",
7046
+ options: {
7047
+ widget: "Box"
7048
+ },
7049
+ config: {
7050
+ layout: 12,
7051
+ main: {
7052
+ heading: ""
7053
+ },
7054
+ style: {
7055
+ paddingLeft: theme.spacing(3),
7056
+ width: "100%",
7057
+ fontSize: "10px",
7058
+ color: theme.palette.grey[600],
7059
+ position: "fixed",
7060
+ bottom: "24px",
7061
+ backgroundColor: theme.palette.background.default,
7062
+ borderBottom: `1px solid ${theme.palette.common.black}29`,
7063
+ borderTop: `1px solid ${theme.palette.common.black}29`
7064
+ }
7065
+ }
7066
+ },
7087
7067
  {
7088
7068
  type: "Control",
7089
7069
  scope: "#/properties/notify",
@@ -7101,7 +7081,7 @@ const componentBasicUiSchema = (theme) => {
7101
7081
  style: {
7102
7082
  flexDirection: "row",
7103
7083
  position: "absolute",
7104
- bottom: 0,
7084
+ bottom: 10,
7105
7085
  height: "fit-content",
7106
7086
  overflow: "hidden",
7107
7087
  zIndex: 1e3,
@@ -7120,78 +7100,19 @@ const componentBasicUiSchema = (theme) => {
7120
7100
  heading: "Copywriter@ACT21.IO"
7121
7101
  },
7122
7102
  style: {
7123
- color: ((_b = (_a = theme == null ? void 0 : theme.palette) == null ? void 0 : _a.text) == null ? void 0 : _b.disabled) || "#AFAFAF",
7103
+ color: ((_a = theme == null ? void 0 : theme.palette) == null ? void 0 : _a.text.disabled) || "#AFAFAF",
7124
7104
  fontSize: "11px",
7125
7105
  textAlign: "center",
7126
- lineHeight: 2,
7106
+ lineHeight: 0,
7127
7107
  width: "fit-content",
7128
7108
  left: "50%",
7129
7109
  position: "relative",
7130
- margin: 0,
7110
+ margin: "revert",
7131
7111
  flexGrow: 1,
7132
7112
  height: 0,
7133
7113
  transform: "translate(-50%, 0%)"
7134
7114
  }
7135
7115
  }
7136
- },
7137
- {
7138
- type: "Control",
7139
- scope: "#/properties/FooterBackIcon",
7140
- options: {
7141
- widget: "Box"
7142
- },
7143
- config: {
7144
- main: {
7145
- iconName: "PrevIcon",
7146
- onClick: "backHandler",
7147
- width: "fit-content"
7148
- },
7149
- style: {
7150
- fill: (_d = (_c = theme == null ? void 0 : theme.palette) == null ? void 0 : _c.primary) == null ? void 0 : _d.main,
7151
- width: 20,
7152
- height: 0,
7153
- top: 0,
7154
- right: { xs: "12px", sm: "84px" },
7155
- position: "absolute",
7156
- fontSize: "12px",
7157
- cursor: "pointer",
7158
- ":hover": {
7159
- fill: (_f = (_e = theme == null ? void 0 : theme.palette) == null ? void 0 : _e.primary) == null ? void 0 : _f.dark
7160
- },
7161
- marginRight: "20px"
7162
- }
7163
- }
7164
- },
7165
- {
7166
- type: "Control",
7167
- scope: "#/properties/FooterBackHandlerText",
7168
- options: {
7169
- widget: "Box"
7170
- },
7171
- config: {
7172
- main: {
7173
- heading: "Previous Page",
7174
- onClick: "backHandler"
7175
- },
7176
- style: {
7177
- display: { xs: "none", sm: "flex" },
7178
- textAlign: "left",
7179
- lineHeight: 1,
7180
- height: 0,
7181
- width: "fit-content",
7182
- color: (_h = (_g = theme == null ? void 0 : theme.palette) == null ? void 0 : _g.primary) == null ? void 0 : _h.main,
7183
- fontSize: "12px",
7184
- cursor: "pointer",
7185
- marginLeft: "2px",
7186
- top: 3,
7187
- right: "12px",
7188
- position: "absolute",
7189
- ":hover": {
7190
- color: (_j = (_i = theme == null ? void 0 : theme.palette) == null ? void 0 : _i.primary) == null ? void 0 : _j.dark
7191
- },
7192
- marginRight: "4px"
7193
- }
7194
- }
7195
7116
  }
7196
7117
  ]
7197
7118
  }
@@ -7200,7 +7121,13 @@ const componentBasicUiSchema = (theme) => {
7200
7121
  return uiSchema;
7201
7122
  };
7202
7123
  const CoreSection = {
7203
- type: "HorizontalLayout",
7124
+ type: "WrapperLayout",
7125
+ config: {
7126
+ main: {
7127
+ label: " ",
7128
+ gap: "8px"
7129
+ }
7130
+ },
7204
7131
  elements: [
7205
7132
  {
7206
7133
  type: "Control",
@@ -7209,7 +7136,7 @@ const CoreSection = {
7209
7136
  widget: "SelectInputField"
7210
7137
  },
7211
7138
  config: {
7212
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7139
+ layout: { xs: 6, sm: 6, md: 4, lg: 3 },
7213
7140
  main: {
7214
7141
  label: "Type",
7215
7142
  type: "text"
@@ -7218,40 +7145,39 @@ const CoreSection = {
7218
7145
  },
7219
7146
  {
7220
7147
  type: "Control",
7221
- scope: "#/properties/name",
7222
- options: {
7223
- widget: "InputField"
7224
- },
7148
+ scope: "#/properties/proc",
7225
7149
  config: {
7226
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7227
- main: {
7228
- label: "Name"
7229
- }
7150
+ layout: { xs: 6, sm: 0, md: 0, lg: 0 }
7151
+ },
7152
+ options: {
7153
+ widget: "EmptyBox"
7230
7154
  }
7231
7155
  },
7232
7156
  {
7233
7157
  type: "Control",
7234
- scope: "#/properties/label",
7158
+ scope: "#/properties/name",
7235
7159
  options: {
7236
7160
  widget: "InputField"
7237
7161
  },
7238
7162
  config: {
7239
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7163
+ layout: { xs: 12, sm: 6, md: 4, lg: 3 },
7240
7164
  main: {
7241
- label: "Label"
7165
+ label: "Component ID",
7166
+ required: true
7242
7167
  }
7243
7168
  }
7244
7169
  },
7245
7170
  {
7246
7171
  type: "Control",
7247
- scope: "#/properties/columnFormat",
7172
+ scope: "#/properties/label",
7248
7173
  options: {
7249
- widget: "SelectInputField"
7174
+ widget: "InputField"
7250
7175
  },
7251
7176
  config: {
7252
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7177
+ layout: { xs: 6, sm: 6, md: 4, lg: 3 },
7253
7178
  main: {
7254
- label: "Column Format"
7179
+ label: "Label",
7180
+ required: true
7255
7181
  }
7256
7182
  }
7257
7183
  },
@@ -7259,7 +7185,7 @@ const CoreSection = {
7259
7185
  type: "Control",
7260
7186
  scope: "#/properties/proc",
7261
7187
  config: {
7262
- layout: { xs: 0, sm: 0, md: 4, lg: 4 }
7188
+ layout: { xs: 6, sm: 6, md: 0, lg: 3 }
7263
7189
  },
7264
7190
  options: {
7265
7191
  widget: "EmptyBox"
@@ -7267,65 +7193,68 @@ const CoreSection = {
7267
7193
  },
7268
7194
  {
7269
7195
  type: "Control",
7270
- scope: "#/properties/proc",
7271
- config: {
7272
- layout: { xs: 0, sm: 0, md: 4, lg: 4 }
7273
- },
7196
+ scope: "#/properties/layout",
7274
7197
  options: {
7275
- widget: "EmptyBox"
7276
- }
7277
- },
7278
- {
7279
- type: "Control",
7280
- scope: "#/properties/layout",
7281
- layout: 12,
7282
- options: {
7283
- "elementLabelProp": "key",
7284
- detail: {
7285
- type: "HorizontalLayout",
7286
- elements: [
7287
- {
7288
- type: "Control",
7289
- scope: "#/properties/key",
7290
- options: {
7291
- widget: "SelectInputField"
7292
- },
7293
- config: {
7294
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7295
- main: {
7296
- label: "Screen Size"
7297
- }
7298
- }
7299
- },
7300
- {
7301
- type: "Control",
7302
- scope: "#/properties/value",
7303
- options: {
7304
- widget: "InputField"
7305
- },
7306
- config: {
7307
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7308
- main: {
7309
- label: "Value",
7310
- type: "number",
7311
- helperText: "Number should be in range of 0 to 12",
7312
- errorMessage: "Number Can't be greater than 12 and can't be less than 0."
7313
- }
7314
- }
7315
- },
7316
- {
7317
- type: "Control",
7318
- scope: "#/properties/proc",
7319
- config: {
7320
- layout: { xs: 0, sm: 0, md: 4, lg: 4 }
7321
- },
7322
- options: {
7323
- widget: "EmptyBox"
7324
- }
7198
+ widget: "Array"
7199
+ },
7200
+ config: {
7201
+ layout: 12,
7202
+ main: {
7203
+ label: "Layout",
7204
+ childElementLabel: "Layout"
7205
+ },
7206
+ style: {
7207
+ marginLeft: "-24px",
7208
+ marginBottom: "24px !important",
7209
+ labelStyle: {
7210
+ marginLeft: "24px"
7211
+ },
7212
+ detailsStyle: {
7213
+ marginLeft: "24px"
7214
+ }
7215
+ }
7216
+ },
7217
+ elements: [
7218
+ {
7219
+ type: "Control",
7220
+ scope: "#/properties/key",
7221
+ options: {
7222
+ widget: "SelectInputField"
7223
+ },
7224
+ config: {
7225
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7226
+ main: {
7227
+ label: "Screen Size"
7325
7228
  }
7326
- ]
7229
+ }
7230
+ },
7231
+ {
7232
+ type: "Control",
7233
+ scope: "#/properties/value",
7234
+ options: {
7235
+ widget: "InputField"
7236
+ },
7237
+ config: {
7238
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7239
+ main: {
7240
+ label: "Value",
7241
+ type: "number",
7242
+ helperText: "Number should be in range of 0 to 12",
7243
+ errorMessage: "Number Can't be greater than 12 and can't be less than 0."
7244
+ }
7245
+ }
7246
+ },
7247
+ {
7248
+ type: "Control",
7249
+ scope: "#/properties/proc",
7250
+ config: {
7251
+ layout: { xs: 0, sm: 0, md: 4, lg: 4 }
7252
+ },
7253
+ options: {
7254
+ widget: "EmptyBox"
7255
+ }
7327
7256
  }
7328
- }
7257
+ ]
7329
7258
  }
7330
7259
  ]
7331
7260
  };
@@ -7352,15 +7281,20 @@ const EventSection = (theme) => {
7352
7281
  },
7353
7282
  config: {
7354
7283
  main: {
7355
- color: "info",
7356
7284
  onClick: "eventAddHandler",
7357
7285
  size: "small",
7358
- icon: "AddIcon",
7359
- iconLabel: "Add New",
7286
+ icon: "TableAddIcon",
7287
+ iconLabel: "Add",
7360
7288
  styleDefault: true
7361
7289
  },
7362
7290
  style: {
7363
- mt: "6px"
7291
+ mt: "6px",
7292
+ color: "inherit",
7293
+ fill: "inherit",
7294
+ "&:hover": {
7295
+ color: "inherit",
7296
+ fill: "inherit"
7297
+ }
7364
7298
  }
7365
7299
  }
7366
7300
  }
@@ -7376,12 +7310,18 @@ const EventSection = (theme) => {
7376
7310
  main: {
7377
7311
  onClick: "copyPasteElement",
7378
7312
  size: "small",
7379
- icon: "PasteIcon",
7313
+ icon: "TablePaste",
7380
7314
  iconLabel: "Paste",
7381
7315
  styleDefault: true
7382
7316
  },
7383
7317
  style: {
7384
- mt: "6px"
7318
+ mt: "6px",
7319
+ color: "inherit",
7320
+ fill: "inherit",
7321
+ "&:hover": {
7322
+ color: "inherit",
7323
+ fill: "inherit"
7324
+ }
7385
7325
  }
7386
7326
  }
7387
7327
  }
@@ -7396,15 +7336,21 @@ const EventSection = (theme) => {
7396
7336
  elements: [
7397
7337
  {
7398
7338
  accessorKey: "eventType",
7399
- header: "Event Type"
7339
+ header: "Event's Type",
7340
+ type: "string",
7341
+ size: 300
7400
7342
  },
7401
7343
  {
7402
7344
  accessorKey: "Handler",
7403
- header: "Handler"
7345
+ header: "Handler",
7346
+ type: "string",
7347
+ size: 200
7404
7348
  },
7405
7349
  {
7406
7350
  accessorKey: "Edit_Approve_Records",
7407
- header: "Edit Widget",
7351
+ header: "Edit",
7352
+ size: 150,
7353
+ type: "action",
7408
7354
  widget: {
7409
7355
  type: "Control",
7410
7356
  scope: "#/properties/Edit_Records",
@@ -7413,14 +7359,16 @@ const EventSection = (theme) => {
7413
7359
  },
7414
7360
  config: {
7415
7361
  main: {
7416
- color: "info",
7417
7362
  size: "small",
7418
- icon: "EditIcon",
7363
+ icon: "TableEditIcon",
7419
7364
  tooltipMessage: "Edit This Record",
7420
7365
  onClick: "eventEditHandler"
7421
7366
  },
7422
7367
  style: {
7423
- color: theme.palette.primary.main
7368
+ fill: theme.palette.primary.main,
7369
+ "& :hover": {
7370
+ fill: theme.palette.primary.dark
7371
+ }
7424
7372
  }
7425
7373
  }
7426
7374
  }
@@ -7428,6 +7376,8 @@ const EventSection = (theme) => {
7428
7376
  {
7429
7377
  accessorKey: "Reject_Records",
7430
7378
  header: "Delete",
7379
+ size: 150,
7380
+ type: "action",
7431
7381
  widget: {
7432
7382
  type: "Control",
7433
7383
  scope: "#/properties/RejectButton",
@@ -7437,10 +7387,15 @@ const EventSection = (theme) => {
7437
7387
  },
7438
7388
  config: {
7439
7389
  main: {
7440
- icon: "RejectIcon",
7441
- color: "error",
7390
+ icon: "Bin",
7442
7391
  tooltipMessage: "Reject This Record",
7443
7392
  onClick: "deletePopUpEvent"
7393
+ },
7394
+ style: {
7395
+ fill: theme.palette.primary.main,
7396
+ "& :hover": {
7397
+ fill: theme.palette.primary.dark
7398
+ }
7444
7399
  }
7445
7400
  }
7446
7401
  }
@@ -7448,7 +7403,8 @@ const EventSection = (theme) => {
7448
7403
  {
7449
7404
  header: "Copy",
7450
7405
  field: "Copy_Event",
7451
- flex: 1,
7406
+ size: 150,
7407
+ type: "action",
7452
7408
  widget: {
7453
7409
  type: "Control",
7454
7410
  scope: "#/properties/Copy_Event",
@@ -7498,77 +7454,103 @@ const emptyBox$1 = (scope, layout) => {
7498
7454
  const cardLayout = {
7499
7455
  type: "Control",
7500
7456
  scope: "#/properties/cardLayout",
7501
- layout: 11.5,
7502
7457
  options: {
7503
- detail: {
7504
- type: "HorizontalLayout",
7505
- elements: [
7506
- {
7507
- type: "Control",
7508
- scope: "#/properties/key",
7509
- options: {
7510
- widget: "SelectInputField"
7511
- },
7512
- config: {
7513
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7514
- main: {
7515
- label: "Screen Size"
7516
- }
7517
- }
7518
- },
7519
- {
7520
- type: "Control",
7521
- scope: "#/properties/value",
7522
- options: {
7523
- widget: "InputField"
7524
- },
7525
- config: {
7526
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7527
- main: {
7528
- label: "Value",
7529
- type: "number",
7530
- helperText: "Number should be in range of 0 to 12",
7531
- errorMessage: "Number Can't be greater than 12 and can't be less than 0."
7532
- }
7533
- }
7534
- },
7535
- emptyBox$1("cardEmpty")
7536
- ]
7458
+ widget: "Array"
7459
+ },
7460
+ config: {
7461
+ layout: 12,
7462
+ main: {
7463
+ label: "Card Layout",
7464
+ childElementLabel: "Card Layout"
7465
+ },
7466
+ style: {
7467
+ marginLeft: "-24px",
7468
+ marginBottom: "24px !important",
7469
+ labelStyle: {
7470
+ marginLeft: "24px"
7471
+ },
7472
+ detailsStyle: {
7473
+ marginLeft: "24px"
7474
+ }
7537
7475
  }
7538
- }
7476
+ },
7477
+ elements: [
7478
+ {
7479
+ type: "Control",
7480
+ scope: "#/properties/key",
7481
+ options: {
7482
+ widget: "SelectInputField"
7483
+ },
7484
+ config: {
7485
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7486
+ main: {
7487
+ label: "Screen Size"
7488
+ }
7489
+ }
7490
+ },
7491
+ {
7492
+ type: "Control",
7493
+ scope: "#/properties/value",
7494
+ options: {
7495
+ widget: "InputField"
7496
+ },
7497
+ config: {
7498
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7499
+ main: {
7500
+ label: "Value",
7501
+ type: "number",
7502
+ helperText: "Number should be in range of 0 to 12",
7503
+ errorMessage: "Number Can't be greater than 12 and can't be less than 0."
7504
+ }
7505
+ }
7506
+ },
7507
+ emptyBox$1("cardEmpty")
7508
+ ]
7539
7509
  };
7540
7510
  const getArrayControl = (parentScope, childScope, childLabel) => {
7541
7511
  return {
7542
7512
  type: "Control",
7543
7513
  scope: `#/properties/${parentScope}`,
7544
- layout: 12,
7545
7514
  options: {
7546
- "elementLabelProp": childScope,
7547
- detail: {
7548
- type: "HorizontalLayout",
7549
- elements: [
7550
- {
7551
- type: "Control",
7552
- scope: `#/properties/${childScope}`,
7553
- options: {
7554
- widget: "InputField"
7555
- },
7556
- config: {
7557
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7558
- main: {
7559
- label: childLabel || "Labels for Tab"
7560
- }
7561
- }
7562
- },
7563
- emptyBox$1("ArrayControlEmpty1", { xs: 6, sm: 6, md: 4, lg: 4 }),
7564
- emptyBox$1("ArrayControlEmpty2", { xs: 0, sm: 0, md: 4, lg: 4 })
7565
- ]
7515
+ widget: "Array"
7516
+ },
7517
+ config: {
7518
+ layout: 12,
7519
+ main: {
7520
+ label: childLabel,
7521
+ childElementLabel: childLabel
7522
+ },
7523
+ style: {
7524
+ marginLeft: "-24px",
7525
+ marginBottom: "24px !important",
7526
+ labelStyle: {
7527
+ marginLeft: "24px"
7528
+ },
7529
+ detailsStyle: {
7530
+ marginLeft: "24px"
7531
+ }
7566
7532
  }
7567
- }
7533
+ },
7534
+ elements: [
7535
+ {
7536
+ type: "Control",
7537
+ scope: `#/properties/${childScope}`,
7538
+ options: {
7539
+ widget: "InputField"
7540
+ },
7541
+ config: {
7542
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7543
+ main: {
7544
+ label: childLabel || "Labels for Tab"
7545
+ }
7546
+ }
7547
+ },
7548
+ emptyBox$1("ArrayControlEmpty1", { xs: 6, sm: 6, md: 8, lg: 8 })
7549
+ ]
7568
7550
  };
7569
7551
  };
7570
7552
  const sizeHolder = getArrayControl("sizeHolder", "keyName", "Component Name");
7571
- sizeHolder.options.detail.elements[1] = {
7553
+ sizeHolder.elements[1] = {
7572
7554
  type: "Control",
7573
7555
  scope: `#/properties/value`,
7574
7556
  options: {
@@ -7581,7 +7563,7 @@ sizeHolder.options.detail.elements[1] = {
7581
7563
  }
7582
7564
  }
7583
7565
  };
7584
- sizeHolder.options.detail.elements[2] = emptyBox$1("sizeHolderempty");
7566
+ sizeHolder.elements[2] = emptyBox$1("sizeHolderempty");
7585
7567
  const getInputField = (scope, label) => {
7586
7568
  return {
7587
7569
  type: "Control",
@@ -7590,7 +7572,7 @@ const getInputField = (scope, label) => {
7590
7572
  widget: "InputField"
7591
7573
  },
7592
7574
  config: {
7593
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7575
+ layout: { xs: 6, sm: 6, md: 4, lg: 3 },
7594
7576
  main: {
7595
7577
  label
7596
7578
  }
@@ -7605,7 +7587,7 @@ const getRadioInputField = (scope, label, options) => {
7605
7587
  widget: "RadioInputField"
7606
7588
  },
7607
7589
  config: {
7608
- layout: { xs: 12, sm: 6, md: 4, lg: 4 },
7590
+ layout: { xs: 12, sm: 6, md: 4, lg: 3 },
7609
7591
  main: {
7610
7592
  label,
7611
7593
  options
@@ -7620,17 +7602,7 @@ const buildWrapper = (label, elements) => {
7620
7602
  main: {
7621
7603
  label: label || "Details",
7622
7604
  isAccordion: true
7623
- },
7624
- wrapperStyle: {
7625
- marginTop: "-6px",
7626
- marginBottom: "-8px",
7627
- marginLeft: "-34px",
7628
- width: "108%"
7629
- },
7630
- componentsBoxStyle: {
7631
- marginLeft: "12px"
7632
- },
7633
- defaultStyle: true
7605
+ }
7634
7606
  },
7635
7607
  elements: elements || []
7636
7608
  };
@@ -7644,18 +7616,8 @@ const getTextArea = (scope, heading, hideButton, layout) => {
7644
7616
  },
7645
7617
  config: {
7646
7618
  layout: layout || 12,
7647
- style: {
7648
- containerStyle: {
7649
- borderRadius: "20px"
7650
- },
7651
- headerContainerStyle: {},
7652
- textAreaStyle: {
7653
- borderRadius: "20px",
7654
- padding: "20px"
7655
- }
7656
- },
7657
7619
  main: {
7658
- heading,
7620
+ label: heading,
7659
7621
  minRows: 8,
7660
7622
  hideButton,
7661
7623
  enableCodeEditor: true
@@ -7671,7 +7633,7 @@ const getSelectField = (scope, label, options) => {
7671
7633
  widget: "SelectInputField"
7672
7634
  },
7673
7635
  config: {
7674
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7636
+ layout: { xs: 6, sm: 6, md: 4, lg: 3 },
7675
7637
  main: {
7676
7638
  label,
7677
7639
  type: "text"
@@ -7687,7 +7649,7 @@ const getMultiSelectField = (scope, label) => {
7687
7649
  widget: "MultipleSelect"
7688
7650
  },
7689
7651
  config: {
7690
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7652
+ layout: { xs: 6, sm: 6, md: 4, lg: 3 },
7691
7653
  main: {
7692
7654
  multiple: true,
7693
7655
  label,
@@ -7696,12 +7658,18 @@ const getMultiSelectField = (scope, label) => {
7696
7658
  }
7697
7659
  };
7698
7660
  };
7699
- const GraphSection = {
7661
+ const BaseSection = {
7700
7662
  type: "WrapperLayout",
7663
+ config: {
7664
+ main: {
7665
+ label: " ",
7666
+ gap: "8px"
7667
+ }
7668
+ },
7701
7669
  elements: []
7702
7670
  };
7703
7671
  const buildPropertiesSection = function(type) {
7704
- let uiSchema = _.cloneDeep(GraphSection);
7672
+ let uiSchema = _.cloneDeep(BaseSection);
7705
7673
  switch (type) {
7706
7674
  case "TreeMap":
7707
7675
  uiSchema.elements = [
@@ -7765,7 +7733,8 @@ const buildPropertiesSection = function(type) {
7765
7733
  uiSchema.elements = [
7766
7734
  getInputField("placeholder", "Placeholder"),
7767
7735
  getRadioInputField("enableCodeEditor", "Enable Code Editor", ["YES", "NO"]),
7768
- getInputField("codeEditorLanguage", "Enter Code Language")
7736
+ getInputField("codeEditorLanguage", "Enter Code Language"),
7737
+ emptyBox$1("TextEmpty1", { xs: 0, sm: 0, md: 0, lg: 3 })
7769
7738
  ];
7770
7739
  break;
7771
7740
  case "SpeedoMeter":
@@ -7845,7 +7814,7 @@ const buildPropertiesSection = function(type) {
7845
7814
  getInputField("xAxisValue", "X-AxisValue"),
7846
7815
  getRadioInputField("bottomAxisAngle", "Bottom Axis Angled", ["YES", "No"]),
7847
7816
  getInputField("leftMargin", "Left Margin"),
7848
- emptyBox$1("GraphEmpty1", { xs: 6, sm: 0, md: 8, lg: 8 }),
7817
+ emptyBox$1("GraphEmpty1", { xs: 6, sm: 0, md: 8, lg: 6 }),
7849
7818
  getArrayControl("legendLabels", "label"),
7850
7819
  getArrayControl("pieArcColors", "color")
7851
7820
  ];
@@ -7926,7 +7895,13 @@ const buildPropertiesSection = function(type) {
7926
7895
  return uiSchema;
7927
7896
  };
7928
7897
  const StyleSection = {
7929
- type: "HorizontalLayout",
7898
+ type: "WrapperLayout",
7899
+ config: {
7900
+ main: {
7901
+ label: " ",
7902
+ gap: "8px"
7903
+ }
7904
+ },
7930
7905
  elements: [
7931
7906
  {
7932
7907
  type: "Control",
@@ -7942,14 +7917,7 @@ const StyleSection = {
7942
7917
  lg: 12
7943
7918
  },
7944
7919
  style: {
7945
- containerStyle: {
7946
- borderRadius: "20px"
7947
- },
7948
- headerContainerStyle: {},
7949
- textAreaStyle: {
7950
- borderRadius: "20px",
7951
- padding: "20px"
7952
- }
7920
+ "& .MuiFormLabel-root:not(.MuiInputLabel-shrink)": {}
7953
7921
  },
7954
7922
  main: {
7955
7923
  heading: "JSON Style",
@@ -7983,15 +7951,20 @@ const TableSection = (theme) => {
7983
7951
  },
7984
7952
  config: {
7985
7953
  main: {
7986
- color: "info",
7987
7954
  onClick: "widgetAddClickHandler",
7988
7955
  size: "small",
7989
- icon: "AddIcon",
7990
- iconLabel: "Add New",
7956
+ icon: "TableAddIcon",
7957
+ iconLabel: "Add",
7991
7958
  styleDefault: true
7992
7959
  },
7993
7960
  style: {
7994
- mt: "6px"
7961
+ mt: "6px",
7962
+ color: "inherit",
7963
+ fill: "inherit",
7964
+ "&:hover": {
7965
+ color: "inherit",
7966
+ fill: "inherit"
7967
+ }
7995
7968
  }
7996
7969
  }
7997
7970
  }
@@ -8007,12 +7980,18 @@ const TableSection = (theme) => {
8007
7980
  main: {
8008
7981
  onClick: "copyPasteElement",
8009
7982
  size: "small",
8010
- icon: "PasteIcon",
7983
+ icon: "TablePaste",
8011
7984
  iconLabel: "Paste",
8012
7985
  styleDefault: true
8013
7986
  },
8014
7987
  style: {
8015
- mt: "6px"
7988
+ mt: "6px",
7989
+ color: "inherit",
7990
+ fill: "inherit",
7991
+ "&:hover": {
7992
+ color: "inherit",
7993
+ fill: "inherit"
7994
+ }
8016
7995
  }
8017
7996
  }
8018
7997
  }
@@ -8027,16 +8006,21 @@ const TableSection = (theme) => {
8027
8006
  elements: [
8028
8007
  {
8029
8008
  accessorKey: "name",
8030
- header: "Name"
8009
+ header: "Name",
8010
+ type: "string",
8011
+ size: 300
8031
8012
  },
8032
8013
  {
8033
8014
  accessorKey: "type",
8034
- header: "Type"
8015
+ header: "Type",
8016
+ type: "string",
8017
+ size: 200
8035
8018
  },
8036
8019
  {
8037
8020
  header: "Edit Record",
8038
8021
  field: "Reject_Records",
8039
- flex: 1,
8022
+ size: 150,
8023
+ type: "action",
8040
8024
  widget: {
8041
8025
  type: "Control",
8042
8026
  scope: "#/properties/RejectButton",
@@ -8045,13 +8029,16 @@ const TableSection = (theme) => {
8045
8029
  },
8046
8030
  config: {
8047
8031
  main: {
8048
- icon: "EditIcon",
8049
- color: "primary",
8032
+ icon: "TableEditIcon",
8033
+ size: "small",
8050
8034
  onClick: "editComponents",
8051
8035
  tooltipMessage: "Reject This Record"
8052
8036
  },
8053
8037
  style: {
8054
- color: theme.palette.primary.main
8038
+ fill: theme.palette.primary.main,
8039
+ "& :hover": {
8040
+ fill: theme.palette.primary.dark
8041
+ }
8055
8042
  }
8056
8043
  }
8057
8044
  }
@@ -8059,7 +8046,8 @@ const TableSection = (theme) => {
8059
8046
  {
8060
8047
  header: "Delete",
8061
8048
  field: "Reject_Records",
8062
- flex: 1,
8049
+ size: 150,
8050
+ type: "action",
8063
8051
  widget: {
8064
8052
  type: "Control",
8065
8053
  scope: "#/properties/RejectButton",
@@ -8068,10 +8056,15 @@ const TableSection = (theme) => {
8068
8056
  },
8069
8057
  config: {
8070
8058
  main: {
8071
- icon: "RejectIcon",
8072
- color: "error",
8059
+ icon: "Bin",
8073
8060
  onClick: "deletePopUpComponent",
8074
8061
  tooltipMessage: "Reject This Record"
8062
+ },
8063
+ style: {
8064
+ fill: theme.palette.primary.main,
8065
+ "& :hover": {
8066
+ fill: theme.palette.primary.dark
8067
+ }
8075
8068
  }
8076
8069
  }
8077
8070
  }
@@ -8079,7 +8072,8 @@ const TableSection = (theme) => {
8079
8072
  {
8080
8073
  header: "Copy",
8081
8074
  field: "Copy_Component",
8082
- flex: 1,
8075
+ size: 150,
8076
+ type: "action",
8083
8077
  widget: {
8084
8078
  type: "Control",
8085
8079
  scope: "#/properties/Copy_Component",
@@ -8103,109 +8097,148 @@ const TableSection = (theme) => {
8103
8097
  return uiSchema;
8104
8098
  };
8105
8099
  const ValueTab = {
8106
- type: "HorizontalLayout",
8100
+ type: "WrapperLayout",
8101
+ config: {
8102
+ main: {
8103
+ label: " ",
8104
+ gap: "8px"
8105
+ }
8106
+ },
8107
8107
  elements: [
8108
8108
  {
8109
8109
  type: "Control",
8110
8110
  scope: "#/properties/value",
8111
- layout: 12,
8112
8111
  options: {
8113
- detail: {
8114
- type: "HorizontalLayout",
8115
- elements: [
8116
- {
8117
- type: "Control",
8118
- scope: "#/properties/label",
8119
- options: {
8120
- widget: "InputField"
8121
- },
8122
- config: {
8123
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
8124
- main: {
8125
- label: "Label"
8126
- }
8127
- }
8128
- },
8129
- {
8130
- type: "Control",
8131
- scope: "#/properties/value",
8132
- options: {
8133
- widget: "InputField"
8134
- },
8135
- config: {
8136
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
8137
- main: {
8138
- label: "Value"
8139
- }
8140
- }
8141
- },
8142
- {
8143
- type: "Control",
8144
- scope: "#/properties/emptyBox",
8145
- options: {
8146
- widget: "EmptyBox"
8147
- },
8148
- config: {
8149
- layout: { xs: 0, sm: 0, md: 4, lg: 4 }
8150
- }
8112
+ widget: "Array"
8113
+ },
8114
+ config: {
8115
+ layout: 12,
8116
+ main: {
8117
+ label: "Value",
8118
+ childElementLabel: "Value"
8119
+ },
8120
+ style: {
8121
+ marginLeft: "-24px",
8122
+ marginBottom: "24px !important",
8123
+ labelStyle: {
8124
+ marginLeft: "24px"
8125
+ },
8126
+ detailsStyle: {
8127
+ marginLeft: "24px"
8128
+ }
8129
+ }
8130
+ },
8131
+ elements: [
8132
+ {
8133
+ type: "Control",
8134
+ scope: "#/properties/label",
8135
+ options: {
8136
+ widget: "InputField"
8137
+ },
8138
+ config: {
8139
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
8140
+ main: {
8141
+ label: "Label"
8142
+ }
8143
+ }
8144
+ },
8145
+ {
8146
+ type: "Control",
8147
+ scope: "#/properties/value",
8148
+ options: {
8149
+ widget: "InputField"
8150
+ },
8151
+ config: {
8152
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
8153
+ main: {
8154
+ label: "Value"
8151
8155
  }
8152
- ]
8156
+ }
8157
+ },
8158
+ {
8159
+ type: "Control",
8160
+ scope: "#/properties/emptyBox",
8161
+ options: {
8162
+ widget: "EmptyBox"
8163
+ },
8164
+ config: {
8165
+ layout: { xs: 0, sm: 0, md: 4, lg: 4 }
8166
+ }
8153
8167
  }
8154
- }
8168
+ ]
8155
8169
  }
8156
8170
  ]
8157
8171
  };
8158
8172
  const ValidationSection = {
8159
- type: "HorizontalLayout",
8173
+ type: "WrapperLayout",
8174
+ config: {
8175
+ main: {
8176
+ label: " ",
8177
+ gap: "8px"
8178
+ }
8179
+ },
8160
8180
  elements: [
8161
8181
  {
8162
8182
  type: "Control",
8163
8183
  scope: "#/properties/validation",
8164
- layout: 11.5,
8165
8184
  options: {
8166
- "elementLabelProp": "validationType",
8167
- detail: {
8168
- type: "HorizontalLayout",
8169
- elements: [
8170
- {
8171
- type: "Control",
8172
- scope: "#/properties/validationType",
8173
- options: {
8174
- widget: "SelectInputField"
8175
- },
8176
- config: {
8177
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
8178
- main: {
8179
- label: "Validation Type"
8180
- }
8181
- }
8182
- },
8183
- {
8184
- type: "Control",
8185
- scope: "#/properties/validationValue",
8186
- options: {
8187
- widget: "InputField"
8188
- },
8189
- config: {
8190
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
8191
- main: {
8192
- label: "Validation Value"
8193
- }
8194
- }
8195
- },
8196
- {
8197
- type: "Control",
8198
- scope: "#/properties/emptyBox",
8199
- options: {
8200
- widget: "EmptyBox"
8201
- },
8202
- config: {
8203
- layout: { xs: 0, sm: 0, md: 4 }
8204
- }
8185
+ widget: "Array"
8186
+ },
8187
+ config: {
8188
+ layout: 12,
8189
+ main: {
8190
+ label: "Validation",
8191
+ childElementLabel: "Validation"
8192
+ },
8193
+ style: {
8194
+ marginLeft: "-24px",
8195
+ marginBottom: "24px !important",
8196
+ labelStyle: {
8197
+ marginLeft: "24px"
8198
+ },
8199
+ detailsStyle: {
8200
+ marginLeft: "24px"
8201
+ }
8202
+ }
8203
+ },
8204
+ elements: [
8205
+ {
8206
+ type: "Control",
8207
+ scope: "#/properties/validationType",
8208
+ options: {
8209
+ widget: "SelectInputField"
8210
+ },
8211
+ config: {
8212
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
8213
+ main: {
8214
+ label: "Validation Type"
8205
8215
  }
8206
- ]
8216
+ }
8217
+ },
8218
+ {
8219
+ type: "Control",
8220
+ scope: "#/properties/validationValue",
8221
+ options: {
8222
+ widget: "InputField"
8223
+ },
8224
+ config: {
8225
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
8226
+ main: {
8227
+ label: "Validation Value"
8228
+ }
8229
+ }
8230
+ },
8231
+ {
8232
+ type: "Control",
8233
+ scope: "#/properties/emptyBox",
8234
+ options: {
8235
+ widget: "EmptyBox"
8236
+ },
8237
+ config: {
8238
+ layout: { xs: 0, sm: 0, md: 4, lg: 4 }
8239
+ }
8207
8240
  }
8208
- }
8241
+ ]
8209
8242
  }
8210
8243
  ]
8211
8244
  };
@@ -8361,53 +8394,104 @@ function okHandler(store2) {
8361
8394
  }
8362
8395
  }
8363
8396
  const sectionLabels = {
8364
- Select: ["Core", "Properties", "Value", "Event", "Style", "Validation"],
8365
- MultipleSelect: ["Core", "Properties", "Value", "Event", "Style", "Validation"],
8366
- Table: ["Core", "Components", "Properties", "Event", "Style", "Validation"],
8367
- LeaderBoard: ["Core", "Components", "Properties", "Event", "Style", "Validation"],
8397
+ Select: ["Core", "Properties", "Value", "Events", "Style", "Validation"],
8398
+ MultipleSelect: ["Core", "Properties", "Value", "Events", "Style", "Validation"],
8399
+ Table: ["Core", "Components", "Properties", "Events", "Style", "Validation"],
8400
+ LeaderBoard: ["Core", "Components", "Properties", "Events", "Style", "Validation"],
8368
8401
  WrapperSection: ["Core", "Components", "Properties", "Style", "Validation"],
8369
8402
  TabSection: ["Core", "Components", "Properties", "Style", "Validation"],
8370
- SpeedoMeter: ["Core", "Properties", "Event", "Style", "Validation"],
8371
- card: ["Core", "Properties", "Event", "Style", "Validation"],
8372
- UploadFile: ["Core", "Event", "Style", "Validation"],
8373
- Graph: ["Core", "Properties", "Event", "Style", "Validation"],
8374
- DownloadFile: ["Core", "Event", "Style", "Validation"],
8375
- Box: ["Core", "Event", "Style", "Validation"],
8376
- Properties: ["Core", "Properties", "Event", "Style", "Validation"],
8377
- ProgressBarCard: ["Core", "Properties", "Event", "Style", "Validation"],
8378
- RankCard: ["Core", "Properties", "Event", "Style", "Validation"],
8379
- Slider: ["Core", "Components", "Event", "Style", "Validation"],
8380
- Timer: ["Core", "Event", "Style", "Validation"],
8381
- Rank: ["Core", "Event", "Style", "Validation"],
8382
- Button: ["Core", "Properties", "Event", "Style", "Validation"],
8403
+ SpeedoMeter: ["Core", "Properties", "Events", "Style", "Validation"],
8404
+ card: ["Core", "Properties", "Events", "Style", "Validation"],
8405
+ UploadFile: ["Core", "Events", "Style", "Validation"],
8406
+ Graph: ["Core", "Properties", "Events", "Style", "Validation"],
8407
+ DownloadFile: ["Core", "Events", "Style", "Validation"],
8408
+ Box: ["Core", "Events", "Style", "Validation"],
8409
+ Properties: ["Core", "Properties", "Events", "Style", "Validation"],
8410
+ ProgressBarCard: ["Core", "Properties", "Events", "Style", "Validation"],
8411
+ RankCard: ["Core", "Properties", "Events", "Style", "Validation"],
8412
+ Slider: ["Core", "Components", "Events", "Style", "Validation"],
8413
+ Timer: ["Core", "Events", "Style", "Validation"],
8414
+ Rank: ["Core", "Events", "Style", "Validation"],
8415
+ Button: ["Core", "Properties", "Events", "Style", "Validation"],
8383
8416
  Array: ["Core", "Components", "Validation"],
8384
- Radio: ["Core", "Properties", "Event", "Style", "Validation"],
8385
- Text: ["Core", "Properties", "Event", "Style", "Validation"],
8386
- TextArea: ["Core", "Properties", "Event", "Style", "Validation"],
8417
+ Radio: ["Core", "Properties", "Events", "Style", "Validation"],
8418
+ Text: ["Core", "Properties", "Events", "Style", "Validation"],
8419
+ TextArea: ["Core", "Properties", "Events", "Style", "Validation"],
8387
8420
  PopUp: ["Core", "Components", "Properties", "Style"],
8388
- Stepper: ["Core", "Components", "Properties", "Event", "Style"],
8389
- DataGrid: ["Core", "Components", "Properties", "Event", "Style"],
8390
- InputSlider: ["Core", "Properties", "Event", "Style", "Validation"],
8391
- TreeMap: ["Core", "Components", "Properties", "Event", "Style"],
8421
+ Stepper: ["Core", "Components", "Properties", "Events", "Style"],
8422
+ DataGrid: ["Core", "Components", "Properties", "Events", "Style"],
8423
+ InputSlider: ["Core", "Properties", "Events", "Style", "Validation"],
8424
+ TreeMap: ["Core", "Components", "Properties", "Events", "Style"],
8392
8425
  ColumnGroup: ["Core", "Components"],
8393
- Thought: ["Core", "Properties", "Event", "Style", "Validation"]
8426
+ Thought: ["Core", "Properties", "Events", "Style", "Validation"]
8394
8427
  };
8395
8428
  function refreshPage(type, store2) {
8396
- var _a;
8429
+ var _a, _b;
8397
8430
  const UiSchema = _.cloneDeep(componentBasicUiSchema(store2.theme.myTheme));
8431
+ const currentConfig = JSON.parse(sessionStorage.getItem("pageFormdata"));
8398
8432
  if (type) {
8399
8433
  const sectionUiSchema = {
8400
8434
  Core: CoreSection,
8401
8435
  Value: ValueTab,
8402
8436
  Style: StyleSection,
8403
- Event: EventSection(store2.theme.myTheme),
8437
+ Events: EventSection(store2.theme.myTheme),
8404
8438
  Components: TableSection(store2.theme.myTheme),
8405
8439
  Properties: buildPropertiesSection(type),
8406
8440
  Validation: ValidationSection
8407
8441
  };
8408
8442
  const elements = (_a = sectionLabels[type]) == null ? void 0 : _a.map((e) => sectionUiSchema[e]);
8409
- UiSchema.elements[1].config.main.tabLabels = sectionLabels[type] || ["Core", "Style", "Event", "Validation"];
8410
- UiSchema.elements[1].elements = elements || [CoreSection, StyleSection, EventSection(store2.theme.myTheme), ValidationSection];
8443
+ UiSchema.elements[0].config.main.tabLabels = sectionLabels[type] || ["Core", "Style", "Events", "Validation"];
8444
+ UiSchema.elements[0].elements = elements || [CoreSection, StyleSection, EventSection(store2.theme.myTheme), ValidationSection];
8445
+ }
8446
+ const path = (_b = store2.searchParams) == null ? void 0 : _b.get("path");
8447
+ const pathArrayAll = path.split(".");
8448
+ const parentObj = pathArrayAll.reduce((currObj, path2, index) => {
8449
+ var _a2;
8450
+ if (index === pathArrayAll.length - 1) {
8451
+ return currObj;
8452
+ }
8453
+ const currElemIndexWithBracket = path2.split("[")[1];
8454
+ const currElemIndex = parseInt(currElemIndexWithBracket.slice(0, -1));
8455
+ return (_a2 = currObj == null ? void 0 : currObj["elements"]) == null ? void 0 : _a2[currElemIndex];
8456
+ }, currentConfig);
8457
+ if ((parentObj == null ? void 0 : parentObj.type) === "Table") {
8458
+ UiSchema.elements[0].elements[0].elements[4] = {
8459
+ type: "Control",
8460
+ scope: "#/properties/columnFormat",
8461
+ options: {
8462
+ widget: "SelectInputField"
8463
+ },
8464
+ config: {
8465
+ layout: { xs: 6, sm: 6, md: 4, lg: 3 },
8466
+ main: {
8467
+ label: "Column Format"
8468
+ }
8469
+ }
8470
+ };
8471
+ UiSchema.elements[0].elements[0].elements[5] = {
8472
+ type: "Control",
8473
+ scope: "#/properties/filteringOptions",
8474
+ options: {
8475
+ widget: "SelectInputField"
8476
+ },
8477
+ config: {
8478
+ layout: { xs: 6, sm: 6, md: 4, lg: 3 },
8479
+ main: {
8480
+ label: "Filter Mode",
8481
+ multiple: true
8482
+ }
8483
+ }
8484
+ };
8485
+ UiSchema.elements[0].elements[0].elements[6] = {
8486
+ type: "Control",
8487
+ scope: "#/properties/proc",
8488
+ config: {
8489
+ layout: { xs: 6, sm: 6, md: 4, lg: 9 }
8490
+ },
8491
+ options: {
8492
+ widget: "EmptyBox"
8493
+ }
8494
+ };
8411
8495
  }
8412
8496
  if (sessionStorage.getItem("copiedConfig")) {
8413
8497
  this.ElementPathSetter(UiSchema);
@@ -8571,15 +8655,15 @@ var Component = (store2, dynamicData2, submitHandler, service2) => {
8571
8655
  const pastedElementPath = this.elementPathHandler(pastedElementParentPath, insertElementIndex, elementType);
8572
8656
  const copiedConfig = JSON.parse(sessionStorage.getItem("copiedConfig"));
8573
8657
  const notificationMessages = {
8574
- Event: " The event cannot be integrated into the component section.",
8575
- Component: "The component cannot be integrated into the event section."
8658
+ Events: " The Events cannot be integrated into the component section.",
8659
+ Component: "The component cannot be integrated into the Events section."
8576
8660
  };
8577
8661
  if (copiedConfig.Handler && elementType === "Component") {
8578
8662
  store2.setNotify({
8579
- FailMessage: notificationMessages.Event,
8663
+ FailMessage: notificationMessages.Events,
8580
8664
  Fail: true
8581
8665
  });
8582
- } else if (copiedConfig.name && elementType === "Event") {
8666
+ } else if (copiedConfig.name && elementType === "Events") {
8583
8667
  store2.setNotify({
8584
8668
  FailMessage: notificationMessages.Component,
8585
8669
  Fail: true
@@ -8757,18 +8841,18 @@ const EventSchema = {
8757
8841
  eventType: {
8758
8842
  type: "string",
8759
8843
  oneOf: [
8760
- { title: "Click Event", const: "onClick" },
8761
- { title: "Load Event", const: "onLoad" },
8762
- { title: "Change Event", const: "onChange" },
8763
- { title: "Mount Event", const: "onMount" },
8844
+ { title: "Click", const: "onClick" },
8845
+ { title: "Load", const: "onLoad" },
8846
+ { title: "Change", const: "onChange" },
8847
+ { title: "Mount", const: "onMount" },
8764
8848
  { title: "Success", const: "Success" },
8765
- { title: "onStart", const: "onStart" },
8766
- { title: "Cell Renderer", const: "onCellRenderer" },
8767
- { title: "File Upload Event", const: "onUpload" },
8768
- { title: "Back Event", const: "onBack" },
8769
- { title: "Next Event", const: "onNext" },
8770
- { title: "onRowMovement", const: "onRowMovement" },
8771
- { title: "File Download Event", const: "onDownload" },
8849
+ { title: "Start", const: "onStart" },
8850
+ { title: "Cell Render", const: "onCellRenderer" },
8851
+ { title: "Upload", const: "onUpload" },
8852
+ { title: "Back", const: "onBack" },
8853
+ { title: "Next", const: "onNext" },
8854
+ { title: "Row Movement", const: "onRowMovement" },
8855
+ { title: "Download", const: "onDownload" },
8772
8856
  { title: "Fail", const: "Fail" }
8773
8857
  ]
8774
8858
  },
@@ -8776,7 +8860,7 @@ const EventSchema = {
8776
8860
  type: "string",
8777
8861
  oneOf: [
8778
8862
  { title: "Custom", const: "custom" },
8779
- { title: "Api", const: "api" },
8863
+ { title: "API", const: "api" },
8780
8864
  { title: "Inbuilt Function", const: "inBuiltFunction" },
8781
8865
  { title: "Refresh", const: "refresh" }
8782
8866
  ]
@@ -8810,42 +8894,41 @@ const EventSchema = {
8810
8894
  required: ["eventType", "Handler"]
8811
8895
  };
8812
8896
  const EventUiSchema = (theme) => {
8813
- var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j;
8897
+ var _a;
8814
8898
  const uiSchema = {
8815
8899
  type: "HorizontalLayout",
8816
- heading: "Component",
8900
+ heading: "Page-Events",
8817
8901
  elements: [
8818
- {
8819
- type: "Control",
8820
- scope: "#/properties/pageName",
8821
- options: {
8822
- widget: "Box"
8823
- },
8824
- config: {
8825
- layout: 12,
8826
- main: {
8827
- heading: " "
8828
- },
8829
- style: {
8830
- marginLeft: theme.spacing(3),
8831
- width: "auto",
8832
- fontSize: "12px",
8833
- color: "gray"
8834
- }
8835
- }
8836
- },
8837
8902
  {
8838
8903
  type: "TabLayout",
8839
8904
  config: {
8840
8905
  main: {
8841
- tabLabels: ["Core", "Response Event"],
8842
- defaultStyle: true,
8906
+ tabLabels: ["Core", "Response Events"],
8843
8907
  id: "event"
8908
+ },
8909
+ style: {
8910
+ TabPanelStyle: {
8911
+ padding: 0
8912
+ }
8913
+ },
8914
+ TabsStyle: {
8915
+ marginBottom: "3px",
8916
+ paddingBottom: "4px",
8917
+ boxShadow: "0px 3px 4px #afafaf80",
8918
+ "& .MuiTabs-indicator": {
8919
+ bottom: "6px"
8920
+ }
8844
8921
  }
8845
8922
  },
8846
8923
  elements: [
8847
8924
  {
8848
- type: "HorizontalLayout",
8925
+ type: "WrapperLayout",
8926
+ config: {
8927
+ main: {
8928
+ label: " ",
8929
+ gap: "8px"
8930
+ }
8931
+ },
8849
8932
  elements: [
8850
8933
  {
8851
8934
  type: "Control",
@@ -8854,9 +8937,9 @@ const EventUiSchema = (theme) => {
8854
8937
  widget: "SelectInputField"
8855
8938
  },
8856
8939
  config: {
8857
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
8940
+ layout: { xs: 6, sm: 6, md: 4, lg: 3 },
8858
8941
  main: {
8859
- label: "Event Type",
8942
+ label: "Event's Type",
8860
8943
  type: "text"
8861
8944
  }
8862
8945
  }
@@ -8869,7 +8952,7 @@ const EventUiSchema = (theme) => {
8869
8952
  widget: "EmptyBox"
8870
8953
  },
8871
8954
  config: {
8872
- layout: { xs: 0, sm: 4, md: 4, lg: 4 }
8955
+ layout: { xs: 0, sm: 0, md: 4, lg: 6 }
8873
8956
  }
8874
8957
  }
8875
8958
  ]
@@ -8895,12 +8978,18 @@ const EventUiSchema = (theme) => {
8895
8978
  main: {
8896
8979
  onClick: "addEvent",
8897
8980
  size: "small",
8898
- icon: "AddIcon",
8899
- iconLabel: "Add New",
8981
+ icon: "TableAddIcon",
8982
+ iconLabel: "Add",
8900
8983
  styleDefault: true
8901
8984
  },
8902
8985
  style: {
8903
- mt: "6px"
8986
+ mt: "6px",
8987
+ color: "inherit",
8988
+ fill: "inherit",
8989
+ "&:hover": {
8990
+ color: "inherit",
8991
+ fill: "inherit"
8992
+ }
8904
8993
  }
8905
8994
  }
8906
8995
  }
@@ -8916,12 +9005,18 @@ const EventUiSchema = (theme) => {
8916
9005
  main: {
8917
9006
  onClick: "copyPasteElement",
8918
9007
  size: "small",
8919
- icon: "PasteIcon",
9008
+ icon: "TablePaste",
8920
9009
  iconLabel: "Paste",
8921
9010
  styleDefault: true
8922
9011
  },
8923
9012
  style: {
8924
- mt: "6px"
9013
+ mt: "6px",
9014
+ color: "inherit",
9015
+ fill: "inherit",
9016
+ "&:hover": {
9017
+ color: "inherit",
9018
+ fill: "inherit"
9019
+ }
8925
9020
  }
8926
9021
  }
8927
9022
  }
@@ -8936,15 +9031,21 @@ const EventUiSchema = (theme) => {
8936
9031
  elements: [
8937
9032
  {
8938
9033
  accessorKey: "eventType",
8939
- header: "Event Type"
9034
+ header: "Event's Type",
9035
+ size: 300,
9036
+ type: "string"
8940
9037
  },
8941
9038
  {
8942
9039
  accessorKey: "Handler",
8943
- header: "Handler"
9040
+ header: "Handler",
9041
+ size: 200,
9042
+ type: "string"
8944
9043
  },
8945
9044
  {
8946
9045
  accessorKey: "Edit_Approve_Records",
8947
- header: "Edit Widget",
9046
+ header: "Edit",
9047
+ type: "action",
9048
+ size: 150,
8948
9049
  widget: {
8949
9050
  type: "Control",
8950
9051
  scope: "#/properties/Edit_Records",
@@ -8953,14 +9054,16 @@ const EventUiSchema = (theme) => {
8953
9054
  },
8954
9055
  config: {
8955
9056
  main: {
8956
- color: "info",
8957
9057
  size: "small",
8958
- icon: "EditIcon",
9058
+ icon: "TableEditIcon",
8959
9059
  tooltipMessage: "Edit This Record",
8960
9060
  onClick: "editEvent"
8961
9061
  },
8962
9062
  style: {
8963
- color: theme.palette.primary.main
9063
+ fill: theme.palette.primary.main,
9064
+ "& :hover": {
9065
+ fill: theme.palette.primary.dark
9066
+ }
8964
9067
  }
8965
9068
  }
8966
9069
  }
@@ -8968,6 +9071,8 @@ const EventUiSchema = (theme) => {
8968
9071
  {
8969
9072
  accessorKey: "Reject_Records",
8970
9073
  header: "Delete",
9074
+ type: "action",
9075
+ size: 150,
8971
9076
  widget: {
8972
9077
  type: "Control",
8973
9078
  scope: "#/properties/RejectButton",
@@ -8976,10 +9081,15 @@ const EventUiSchema = (theme) => {
8976
9081
  },
8977
9082
  config: {
8978
9083
  main: {
8979
- icon: "RejectIcon",
8980
- color: "error",
9084
+ icon: "Bin",
8981
9085
  tooltipMessage: "Reject This Record",
8982
9086
  onClick: "deletePopUpEvent"
9087
+ },
9088
+ style: {
9089
+ fill: theme.palette.primary.main,
9090
+ "& :hover": {
9091
+ fill: theme.palette.primary.dark
9092
+ }
8983
9093
  }
8984
9094
  }
8985
9095
  }
@@ -8987,7 +9097,8 @@ const EventUiSchema = (theme) => {
8987
9097
  {
8988
9098
  header: "Copy",
8989
9099
  field: "Copy_Event",
8990
- flex: 1,
9100
+ type: "action",
9101
+ size: 150,
8991
9102
  widget: {
8992
9103
  type: "Control",
8993
9104
  scope: "#/properties/Copy_Event",
@@ -9008,103 +9119,59 @@ const EventUiSchema = (theme) => {
9008
9119
  ]
9009
9120
  },
9010
9121
  {
9011
- type: "HorizontalLayout",
9122
+ type: "WrapperLayout",
9012
9123
  config: {
9013
- layout: { xs: 12, sm: 6 }
9124
+ main: {
9125
+ gap: "8px"
9126
+ }
9014
9127
  },
9015
9128
  elements: [
9016
9129
  {
9017
9130
  type: "Control",
9018
- scope: "#/properties/RemoveItemButton",
9131
+ scope: "#/properties/btn",
9019
9132
  options: {
9020
- widget: "IconButton"
9133
+ widget: "Button"
9021
9134
  },
9022
9135
  config: {
9023
- layout: { xs: 1, sm: 1 },
9136
+ layout: { xs: 4, sm: 2.5, md: 2, lg: 1.5 },
9024
9137
  main: {
9025
- onClick: "RemoveItemButton",
9026
- size: "large",
9027
- icon: "RejectIcon",
9028
- styleDefault: true
9029
- },
9030
- style: {
9031
- marginLeft: "-10px"
9138
+ name: "Ok",
9139
+ variant: "contained",
9140
+ type: "text",
9141
+ onClick: "okHandler",
9142
+ size: "medium"
9032
9143
  }
9033
9144
  }
9034
9145
  },
9035
9146
  {
9036
9147
  type: "Control",
9037
- scope: "#/properties/copiedElementDetails",
9148
+ scope: "#/properties/btnSubmit",
9038
9149
  options: {
9039
- widget: "Box"
9150
+ widget: "Button"
9040
9151
  },
9041
9152
  config: {
9042
- layout: { xs: 6, sm: 6 },
9153
+ layout: { xs: 4, sm: 2.5, md: 2, lg: 1.5 },
9043
9154
  main: {
9044
- heading: "No element copied"
9045
- },
9046
- style: {
9047
- color: "#535557",
9048
- marginLeft: "-10px",
9049
- fontSize: "12px",
9050
- marginTop: "4px"
9155
+ name: "Save & Exit",
9156
+ variant: "contained",
9157
+ type: "text",
9158
+ onClick: "saveHandler",
9159
+ size: "medium"
9051
9160
  }
9052
9161
  }
9053
9162
  },
9054
9163
  {
9055
9164
  type: "Control",
9056
9165
  scope: "#/properties/EmptyBox",
9166
+ config: {
9167
+ layout: { xs: 4, sm: 7, md: 8, lg: 9 }
9168
+ },
9057
9169
  options: {
9058
9170
  widget: "EmptyBox"
9059
- },
9060
- config: {
9061
- layout: { xs: 1, sm: 5 }
9062
9171
  }
9063
9172
  }
9064
9173
  ]
9065
9174
  },
9066
- {
9067
- type: "Control",
9068
- scope: "#/properties/btn",
9069
- options: {
9070
- widget: "Button"
9071
- },
9072
- config: {
9073
- layout: { xs: 4, sm: 2 },
9074
- main: {
9075
- name: "Ok",
9076
- startIcon: "ApproveIcon",
9077
- variant: "contained",
9078
- type: "text",
9079
- onClick: "okHandler",
9080
- size: "medium"
9081
- },
9082
- style: {
9083
- float: "right"
9084
- }
9085
- }
9086
- },
9087
- {
9088
- type: "Control",
9089
- scope: "#/properties/btnSubmit",
9090
- options: {
9091
- widget: "Button"
9092
- },
9093
- config: {
9094
- layout: { xs: 4, sm: 2 },
9095
- main: {
9096
- name: "Save & Exit",
9097
- startIcon: "ApproveIcon",
9098
- variant: "contained",
9099
- type: "text",
9100
- onClick: "saveHandler",
9101
- size: "medium"
9102
- },
9103
- style: {
9104
- float: "right"
9105
- }
9106
- }
9107
- },
9108
9175
  {
9109
9176
  type: "Control",
9110
9177
  scope: "#/properties/popUpEvent",
@@ -9228,6 +9295,30 @@ const EventUiSchema = (theme) => {
9228
9295
  }
9229
9296
  ]
9230
9297
  },
9298
+ {
9299
+ type: "Control",
9300
+ scope: "#/properties/pageName",
9301
+ options: {
9302
+ widget: "Box"
9303
+ },
9304
+ config: {
9305
+ layout: 12,
9306
+ main: {
9307
+ heading: ""
9308
+ },
9309
+ style: {
9310
+ paddingLeft: theme.spacing(3),
9311
+ width: "100%",
9312
+ fontSize: "10px",
9313
+ color: theme.palette.grey[600],
9314
+ position: "fixed",
9315
+ bottom: "24px",
9316
+ backgroundColor: theme.palette.background.default,
9317
+ borderBottom: `1px solid ${theme.palette.common.black}29`,
9318
+ borderTop: `1px solid ${theme.palette.common.black}29`
9319
+ }
9320
+ }
9321
+ },
9231
9322
  {
9232
9323
  type: "Control",
9233
9324
  scope: "#/properties/notify",
@@ -9245,7 +9336,7 @@ const EventUiSchema = (theme) => {
9245
9336
  style: {
9246
9337
  flexDirection: "row",
9247
9338
  position: "absolute",
9248
- bottom: 0,
9339
+ bottom: 10,
9249
9340
  height: "fit-content",
9250
9341
  overflow: "hidden",
9251
9342
  zIndex: 1e3,
@@ -9264,78 +9355,19 @@ const EventUiSchema = (theme) => {
9264
9355
  heading: "Copywriter@ACT21.IO"
9265
9356
  },
9266
9357
  style: {
9267
- color: ((_b = (_a = theme == null ? void 0 : theme.palette) == null ? void 0 : _a.text) == null ? void 0 : _b.disabled) || "#AFAFAF",
9358
+ color: ((_a = theme == null ? void 0 : theme.palette) == null ? void 0 : _a.text.disabled) || "#AFAFAF",
9268
9359
  fontSize: "11px",
9269
9360
  textAlign: "center",
9270
- lineHeight: 2,
9361
+ lineHeight: 0,
9271
9362
  width: "fit-content",
9272
9363
  left: "50%",
9273
9364
  position: "relative",
9274
- margin: 0,
9365
+ margin: "revert",
9275
9366
  flexGrow: 1,
9276
9367
  height: 0,
9277
9368
  transform: "translate(-50%, 0%)"
9278
9369
  }
9279
9370
  }
9280
- },
9281
- {
9282
- type: "Control",
9283
- scope: "#/properties/FooterBackIcon",
9284
- options: {
9285
- widget: "Box"
9286
- },
9287
- config: {
9288
- main: {
9289
- iconName: "PrevIcon",
9290
- onClick: "backHandler",
9291
- width: "fit-content"
9292
- },
9293
- style: {
9294
- fill: (_d = (_c = theme == null ? void 0 : theme.palette) == null ? void 0 : _c.primary) == null ? void 0 : _d.main,
9295
- width: 20,
9296
- height: 0,
9297
- top: 0,
9298
- right: { xs: "12px", sm: "84px" },
9299
- position: "absolute",
9300
- fontSize: "12px",
9301
- cursor: "pointer",
9302
- ":hover": {
9303
- fill: (_f = (_e = theme == null ? void 0 : theme.palette) == null ? void 0 : _e.primary) == null ? void 0 : _f.dark
9304
- },
9305
- marginRight: "20px"
9306
- }
9307
- }
9308
- },
9309
- {
9310
- type: "Control",
9311
- scope: "#/properties/FooterBackHandlerText",
9312
- options: {
9313
- widget: "Box"
9314
- },
9315
- config: {
9316
- main: {
9317
- heading: "Previous Page",
9318
- onClick: "backHandler"
9319
- },
9320
- style: {
9321
- display: { xs: "none", sm: "flex" },
9322
- textAlign: "left",
9323
- lineHeight: 1,
9324
- height: 0,
9325
- width: "fit-content",
9326
- color: (_h = (_g = theme == null ? void 0 : theme.palette) == null ? void 0 : _g.primary) == null ? void 0 : _h.main,
9327
- fontSize: "12px",
9328
- cursor: "pointer",
9329
- marginLeft: "2px",
9330
- top: 3,
9331
- right: "12px",
9332
- position: "absolute",
9333
- ":hover": {
9334
- color: (_j = (_i = theme == null ? void 0 : theme.palette) == null ? void 0 : _i.primary) == null ? void 0 : _j.dark
9335
- },
9336
- marginRight: "4px"
9337
- }
9338
- }
9339
9371
  }
9340
9372
  ]
9341
9373
  }
@@ -9353,7 +9385,7 @@ const APISection = {
9353
9385
  widget: "SelectInputField"
9354
9386
  },
9355
9387
  config: {
9356
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
9388
+ layout: { xs: 6, sm: 6, md: 4, lg: 3 },
9357
9389
  main: {
9358
9390
  label: "Method",
9359
9391
  type: "text"
@@ -9367,7 +9399,7 @@ const APISection = {
9367
9399
  widget: "InputField"
9368
9400
  },
9369
9401
  config: {
9370
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
9402
+ layout: { xs: 6, sm: 6, md: 4, lg: 3 },
9371
9403
  main: {
9372
9404
  label: "Path",
9373
9405
  type: "text",
@@ -9383,116 +9415,132 @@ const APISection = {
9383
9415
  widget: "EmptyBox"
9384
9416
  },
9385
9417
  config: {
9386
- layout: { xs: 0, sm: 0, md: 4, lg: 4 }
9418
+ layout: { xs: 0, sm: 0, md: 4, lg: 6 }
9387
9419
  }
9388
9420
  },
9389
9421
  {
9390
9422
  type: "Control",
9391
- scope: "#/properties/emptyBox",
9423
+ scope: "#/properties/headers",
9392
9424
  options: {
9393
- widget: "EmptyBox"
9425
+ widget: "Array"
9394
9426
  },
9395
9427
  config: {
9396
- layout: { xs: 0, sm: 0, md: 4, lg: 4 }
9397
- }
9398
- },
9399
- {
9400
- type: "Control",
9401
- scope: "#/properties/headers",
9402
- layout: 11.5,
9403
- options: {
9404
- "elementLabelProp": "key",
9405
- detail: {
9406
- type: "HorizontalLayout",
9407
- elements: [
9408
- {
9409
- type: "Control",
9410
- scope: "#/properties/key",
9411
- options: {
9412
- widget: "InputField"
9413
- },
9414
- config: {
9415
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
9416
- main: {
9417
- label: "Key"
9418
- }
9419
- }
9420
- },
9421
- {
9422
- type: "Control",
9423
- scope: "#/properties/value",
9424
- options: {
9425
- widget: "InputField"
9426
- },
9427
- config: {
9428
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
9429
- main: {
9430
- label: "Value"
9431
- }
9432
- }
9433
- },
9434
- {
9435
- type: "Control",
9436
- scope: "#/properties/emptyBox",
9437
- options: {
9438
- widget: "EmptyBox"
9439
- },
9440
- config: {
9441
- layout: { xs: 0, sm: 0, md: 4, lg: 4 }
9442
- }
9428
+ layout: 12,
9429
+ main: {
9430
+ label: "Headers",
9431
+ childElementLabel: "Headers"
9432
+ },
9433
+ style: {
9434
+ marginLeft: "-24px",
9435
+ marginBottom: "24px !important",
9436
+ labelStyle: {
9437
+ marginLeft: "24px"
9438
+ },
9439
+ detailsStyle: {
9440
+ marginLeft: "24px"
9441
+ }
9442
+ }
9443
+ },
9444
+ elements: [
9445
+ {
9446
+ type: "Control",
9447
+ scope: "#/properties/key",
9448
+ options: {
9449
+ widget: "InputField"
9450
+ },
9451
+ config: {
9452
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
9453
+ main: {
9454
+ label: "Key"
9443
9455
  }
9444
- ]
9456
+ }
9457
+ },
9458
+ {
9459
+ type: "Control",
9460
+ scope: "#/properties/value",
9461
+ options: {
9462
+ widget: "InputField"
9463
+ },
9464
+ config: {
9465
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
9466
+ main: {
9467
+ label: "Value"
9468
+ }
9469
+ }
9470
+ },
9471
+ {
9472
+ type: "Control",
9473
+ scope: "#/properties/emptyBox",
9474
+ options: {
9475
+ widget: "EmptyBox"
9476
+ },
9477
+ config: {
9478
+ layout: { xs: 0, sm: 0, md: 4, lg: 4 }
9479
+ }
9445
9480
  }
9446
- }
9481
+ ]
9447
9482
  },
9448
9483
  {
9449
9484
  type: "Control",
9450
9485
  scope: "#/properties/body",
9451
- layout: 11.5,
9452
9486
  options: {
9453
- "elementLabelProp": "key",
9454
- detail: {
9455
- type: "HorizontalLayout",
9456
- elements: [
9457
- {
9458
- type: "Control",
9459
- scope: "#/properties/key",
9460
- options: {
9461
- widget: "InputField"
9462
- },
9463
- config: {
9464
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
9465
- main: {
9466
- label: "Key"
9467
- }
9468
- }
9469
- },
9470
- {
9471
- type: "Control",
9472
- scope: "#/properties/value",
9473
- options: {
9474
- widget: "InputField"
9475
- },
9476
- config: {
9477
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
9478
- main: {
9479
- label: "Value"
9480
- }
9481
- }
9482
- },
9483
- {
9484
- type: "Control",
9485
- scope: "#/properties/emptyBox",
9486
- options: {
9487
- widget: "EmptyBox"
9488
- },
9489
- config: {
9490
- layout: { xs: 0, sm: 0, md: 4, lg: 4 }
9491
- }
9487
+ widget: "Array"
9488
+ },
9489
+ config: {
9490
+ layout: 12,
9491
+ main: {
9492
+ label: "Body",
9493
+ childElementLabel: "Body"
9494
+ },
9495
+ style: {
9496
+ marginLeft: "-24px",
9497
+ marginBottom: "24px !important",
9498
+ labelStyle: {
9499
+ marginLeft: "24px"
9500
+ },
9501
+ detailsStyle: {
9502
+ marginLeft: "24px"
9503
+ }
9504
+ }
9505
+ },
9506
+ elements: [
9507
+ {
9508
+ type: "Control",
9509
+ scope: "#/properties/key",
9510
+ options: {
9511
+ widget: "InputField"
9512
+ },
9513
+ config: {
9514
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
9515
+ main: {
9516
+ label: "Key"
9492
9517
  }
9493
- ]
9518
+ }
9519
+ },
9520
+ {
9521
+ type: "Control",
9522
+ scope: "#/properties/value",
9523
+ options: {
9524
+ widget: "InputField"
9525
+ },
9526
+ config: {
9527
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
9528
+ main: {
9529
+ label: "Value"
9530
+ }
9531
+ }
9532
+ },
9533
+ {
9534
+ type: "Control",
9535
+ scope: "#/properties/emptyBox",
9536
+ options: {
9537
+ widget: "EmptyBox"
9538
+ },
9539
+ config: {
9540
+ layout: { xs: 0, sm: 0, md: 4, lg: 4 }
9541
+ }
9494
9542
  }
9495
- }
9543
+ ]
9496
9544
  },
9497
9545
  getTextArea("apiBody", "Transformer", true, 12)
9498
9546
  ]
@@ -9503,64 +9551,55 @@ const refreshSectionUiSchema = {
9503
9551
  {
9504
9552
  type: "Control",
9505
9553
  scope: "#/properties/refreshElements",
9506
- layout: 11.5,
9507
9554
  options: {
9508
- detail: {
9509
- type: "HorizontalLayout",
9510
- elements: [
9511
- {
9512
- type: "Control",
9513
- scope: "#/properties/value",
9514
- options: {
9515
- widget: "InputField"
9516
- },
9517
- config: {
9518
- layout: { xs: 12, sm: 6, md: 4, lg: 4 },
9519
- main: {
9520
- label: "Value"
9521
- }
9522
- }
9523
- },
9524
- {
9525
- type: "Control",
9526
- scope: "#/properties/emptyBox",
9527
- options: {
9528
- widget: "EmptyBox"
9529
- },
9530
- config: {
9531
- layout: { xs: 0, sm: 6, md: 4, lg: 4 },
9532
- main: {}
9533
- }
9534
- },
9535
- {
9536
- type: "Control",
9537
- scope: "#/properties/emptyBox",
9538
- options: {
9539
- widget: "EmptyBox"
9540
- },
9541
- config: {
9542
- layout: { xs: 0, sm: 0, md: 4, lg: 4 },
9543
- main: {}
9544
- }
9555
+ widget: "Array"
9556
+ },
9557
+ config: {
9558
+ layout: 12,
9559
+ main: {
9560
+ label: "Refresh Elements",
9561
+ childElementLabel: "Refresh Elements"
9562
+ },
9563
+ style: {
9564
+ marginLeft: "-24px",
9565
+ marginBottom: "24px !important",
9566
+ labelStyle: {
9567
+ marginLeft: "24px"
9568
+ },
9569
+ detailsStyle: {
9570
+ marginLeft: "24px"
9571
+ }
9572
+ }
9573
+ },
9574
+ elements: [
9575
+ {
9576
+ type: "Control",
9577
+ scope: "#/properties/value",
9578
+ options: {
9579
+ widget: "InputField"
9580
+ },
9581
+ config: {
9582
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
9583
+ main: {
9584
+ label: "Value"
9545
9585
  }
9546
- ]
9586
+ }
9587
+ },
9588
+ {
9589
+ type: "Control",
9590
+ scope: "#/properties/emptyBox",
9591
+ options: {
9592
+ widget: "EmptyBox"
9593
+ },
9594
+ config: {
9595
+ layout: { xs: 6, sm: 6, md: 8, lg: 8 },
9596
+ main: {}
9597
+ }
9547
9598
  }
9548
- }
9599
+ ]
9549
9600
  }
9550
9601
  ]
9551
9602
  };
9552
- var emptyBox = {
9553
- type: "Control",
9554
- scope: "#/properties/emptyBox",
9555
- options: {
9556
- widget: "EmptyBox"
9557
- },
9558
- config: {
9559
- layout: { xs: 0, sm: 4, md: 4, lg: 4 },
9560
- main: {},
9561
- style: {}
9562
- }
9563
- };
9564
9603
  var event = (store2, dynamicData2, submitHandler, service2, functionsName) => {
9565
9604
  return {
9566
9605
  setPage: async function() {
@@ -9575,44 +9614,44 @@ var event = (store2, dynamicData2, submitHandler, service2, functionsName) => {
9575
9614
  const schema2 = _.cloneDeep(EventSchema);
9576
9615
  if (handlerType) {
9577
9616
  if (handlerType === "custom") {
9578
- uiSchema.elements[1].elements[0].elements[2] = getRadioInputField("isSync", "Run in Sync", ["Yes", "No"]);
9579
- uiSchema.elements[1].elements[0].elements[3] = {
9617
+ uiSchema.elements[0].elements[0].elements[2] = getRadioInputField("isSync", "Run in Sync", ["Yes", "No"]);
9618
+ uiSchema.elements[0].elements[0].elements[3] = {
9580
9619
  type: "Control",
9581
9620
  scope: "#/properties/emptyBox",
9582
9621
  options: {
9583
9622
  widget: "EmptyBox"
9584
9623
  },
9585
9624
  config: {
9586
- layout: { xs: 0, sm: 6, md: 0, lg: 0 },
9625
+ layout: { xs: 6, sm: 6, md: 0, lg: 3 },
9587
9626
  main: {},
9588
9627
  style: {}
9589
9628
  }
9590
9629
  };
9591
- uiSchema.elements[1].elements[0].elements[4] = getTextArea("eventCode", "Write Custom Code", false);
9630
+ uiSchema.elements[0].elements[0].elements[4] = getTextArea("eventCode", "Write Custom Code", false);
9592
9631
  schema2.required = ["eventType", "Handler", "eventCode"];
9593
9632
  } else if (handlerType === "api") {
9594
- uiSchema.elements[1].elements[0].elements[2] = emptyBox;
9595
- uiSchema.elements[1].elements[0].elements[3] = APISection;
9633
+ uiSchema.elements[0].elements[0].elements[2] = emptyBox$1("emptyBox", { xs: 0, sm: 0, md: 4, lg: 6 });
9634
+ uiSchema.elements[0].elements[0].elements[3] = APISection;
9596
9635
  schema2.required = ["eventType", "Handler", "method", "path"];
9597
9636
  } else if (handlerType === "inBuiltFunction") {
9598
- uiSchema.elements[1].elements[0].elements[2] = getSelectField("inBuiltFunctionType", "Function Name");
9599
- uiSchema.elements[1].elements[0].elements[3] = {
9637
+ uiSchema.elements[0].elements[0].elements[2] = getSelectField("inBuiltFunctionType", "Function Name");
9638
+ uiSchema.elements[0].elements[0].elements[3] = {
9600
9639
  type: "Control",
9601
9640
  scope: "#/properties/emptyBox",
9602
9641
  options: {
9603
9642
  widget: "EmptyBox"
9604
9643
  },
9605
9644
  config: {
9606
- layout: { xs: 6, sm: 6, md: 0, lg: 0 },
9645
+ layout: { xs: 6, sm: 6, md: 0, lg: 3 },
9607
9646
  main: {},
9608
9647
  style: {}
9609
9648
  }
9610
9649
  };
9611
- uiSchema.elements[1].elements[0].elements[4] = getTextArea("funcParametersCode", "Write Custom Code for Functions Parameter", true);
9650
+ uiSchema.elements[0].elements[0].elements[4] = getTextArea("funcParametersCode", "Write Custom Code for Functions Parameter", true);
9612
9651
  schema2.required = ["eventType", "Handler", "inBuiltFunctionType"];
9613
9652
  } else if (handlerType === "refresh") {
9614
- uiSchema.elements[1].elements[0].elements[2] = emptyBox;
9615
- uiSchema.elements[1].elements[0].elements[3] = refreshSectionUiSchema;
9653
+ uiSchema.elements[0].elements[0].elements[2] = emptyBox$1("emptyBox", { xs: 0, sm: 0, md: 4, lg: 6 });
9654
+ uiSchema.elements[0].elements[0].elements[3] = refreshSectionUiSchema;
9616
9655
  schema2.properties.refreshElements.required = ["value"];
9617
9656
  schema2.properties.refreshElements.items.required = ["value"];
9618
9657
  schema2.required = ["eventType", "Handler", "refreshElements"];
@@ -11668,6 +11707,18 @@ const buildRadio = (config2, componentScope2) => {
11668
11707
  }
11669
11708
  return Radio;
11670
11709
  };
11710
+ var emptyBox = {
11711
+ type: "Control",
11712
+ scope: "#/properties/emptyBox",
11713
+ options: {
11714
+ widget: "EmptyBox"
11715
+ },
11716
+ config: {
11717
+ layout: { xs: 0, sm: 4, md: 4, lg: 4 },
11718
+ main: {},
11719
+ style: {}
11720
+ }
11721
+ };
11671
11722
  const buildEmptyBox = (config2, componentScope2) => {
11672
11723
  const EmptyBox = _.cloneDeep(emptyBox);
11673
11724
  if (config2.layout) {