impaktapps-ui-builder 0.0.101-alpha.3 → 0.0.101-alpha.30

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 +956 -937
  2. package/dist/impaktapps-ui-builder.es.js.map +1 -1
  3. package/dist/impaktapps-ui-builder.umd.js +13 -13
  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 +19 -19
  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 +52 -32
  27. package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/schema.ts +11 -11
  28. package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/uiSchema.ts +199 -288
  29. package/src/impaktapps-ui-builder/builder/services/component.ts +32 -32
  30. package/src/impaktapps-ui-builder/builder/services/event.ts +13 -14
@@ -116,7 +116,6 @@ const PageMasterUiSchema = (theme) => {
116
116
  tabLabels: ["Page Components", "Page Events"]
117
117
  },
118
118
  style: {
119
- marginTop: "-16px",
120
119
  TabPanelStyle: {
121
120
  padding: 0
122
121
  }
@@ -129,6 +128,9 @@ const PageMasterUiSchema = (theme) => {
129
128
  "& .MuiTabs-indicator": {
130
129
  bottom: "6px"
131
130
  }
131
+ },
132
+ TabContainerStyle: {
133
+ marginTop: "-16px"
132
134
  }
133
135
  },
134
136
  elements: [
@@ -180,7 +182,7 @@ const PageMasterUiSchema = (theme) => {
180
182
  main: {
181
183
  onClick: "copyPasteElement",
182
184
  size: "small",
183
- icon: "TablePasteIcon",
185
+ icon: "TablePaste",
184
186
  iconLabel: "Paste",
185
187
  styleDefault: true
186
188
  },
@@ -337,7 +339,7 @@ const PageMasterUiSchema = (theme) => {
337
339
  main: {
338
340
  onClick: "copyPasteElement",
339
341
  size: "small",
340
- icon: "TablePasteIcon",
342
+ icon: "TablePaste",
341
343
  iconLabel: "Paste",
342
344
  styleDefault: true
343
345
  },
@@ -363,19 +365,19 @@ const PageMasterUiSchema = (theme) => {
363
365
  elements: [
364
366
  {
365
367
  accessorKey: "eventType",
366
- header: "Event Type",
368
+ header: "Event's Type",
367
369
  size: 300,
368
370
  type: "string"
369
371
  },
370
372
  {
371
373
  accessorKey: "Handler",
372
374
  header: "Handler",
373
- size: 300,
375
+ size: 200,
374
376
  type: "string"
375
377
  },
376
378
  {
377
379
  accessorKey: "Edit_Approve_Records",
378
- header: "Edit Widget",
380
+ header: "Edit",
379
381
  type: "action",
380
382
  size: 150,
381
383
  widget: {
@@ -403,6 +405,8 @@ const PageMasterUiSchema = (theme) => {
403
405
  {
404
406
  accessorKey: "Reject_Records",
405
407
  header: "Delete",
408
+ type: "action",
409
+ size: 150,
406
410
  widget: {
407
411
  type: "Control",
408
412
  scope: "#/properties/RejectButton",
@@ -427,7 +431,8 @@ const PageMasterUiSchema = (theme) => {
427
431
  {
428
432
  header: "Copy",
429
433
  field: "Copy_Event",
430
- flex: 1,
434
+ type: "action",
435
+ size: 150,
431
436
  widget: {
432
437
  type: "Control",
433
438
  scope: "#/properties/Copy_Event",
@@ -448,32 +453,48 @@ const PageMasterUiSchema = (theme) => {
448
453
  ]
449
454
  },
450
455
  {
451
- type: "Control",
452
- scope: "#/properties/btn",
453
- options: {
454
- widget: "Button"
455
- },
456
+ scope: "#/properties/Remarks Container",
457
+ type: "WrapperLayout",
456
458
  config: {
457
- layout: { xs: 4, sm: 2.5, md: 2, lg: 1.5 },
459
+ layout: 12,
458
460
  main: {
459
- name: "Save",
460
- startIcon: "ApproveIcon",
461
- variant: "contained",
462
- type: "text",
463
- onClick: "saveHandler",
464
- size: "medium"
461
+ divider: false,
462
+ rowSpacing: 0,
463
+ gap: 0
464
+ },
465
+ componentsBoxStyle: {
466
+ padding: "8px 8px 8px 24px"
465
467
  }
466
- }
467
- },
468
- {
469
- type: "Control",
470
- scope: "#/properties/EmptyBox",
471
- config: {
472
- layout: { xs: 8, sm: 9.5, md: 10, lg: 10.5 }
473
468
  },
474
- options: {
475
- widget: "EmptyBox"
476
- }
469
+ elements: [
470
+ {
471
+ type: "Control",
472
+ scope: "#/properties/btn",
473
+ options: {
474
+ widget: "Button"
475
+ },
476
+ config: {
477
+ layout: { xs: 4, sm: 2.5, md: 2, lg: 1.5 },
478
+ main: {
479
+ name: "Save",
480
+ variant: "contained",
481
+ type: "text",
482
+ onClick: "saveHandler",
483
+ size: "medium"
484
+ }
485
+ }
486
+ },
487
+ {
488
+ type: "Control",
489
+ scope: "#/properties/EmptyBox",
490
+ config: {
491
+ layout: { xs: 8, sm: 9.5, md: 10, lg: 10.5 }
492
+ },
493
+ options: {
494
+ widget: "EmptyBox"
495
+ }
496
+ }
497
+ ]
477
498
  },
478
499
  {
479
500
  type: "Control",
@@ -6222,44 +6243,44 @@ const ComponentSchema = {
6222
6243
  properties: {
6223
6244
  type: {
6224
6245
  oneOf: [
6225
- { title: "AadharcardText", const: "AadharcardText" },
6246
+ { title: "Masked Aadhaar", const: "AadharcardText" },
6226
6247
  { title: "Array", const: "Array" },
6227
6248
  { title: "Button", const: "Button" },
6228
- { title: "Card", const: "card" },
6229
- { title: "CheckBox", const: "CheckBox" },
6249
+ { title: "Data Card", const: "card" },
6250
+ { title: "Check Box", const: "CheckBox" },
6230
6251
  { title: "Container", const: "WrapperSection" },
6231
- { title: "DataGrid", const: "DataGrid" },
6252
+ { title: "Data Grid", const: "DataGrid" },
6232
6253
  { title: "Date", const: "Date" },
6233
- { title: "DateTime", const: "DateTime" },
6234
- { title: "Download File", const: "DownloadFile" },
6254
+ { title: "Time Stamp", const: "DateTime" },
6255
+ { title: "Download", const: "DownloadFile" },
6235
6256
  { title: "Empty Box", const: "EmptyBox" },
6236
- { title: "File", const: "FileInput" },
6257
+ { title: "File Handler", const: "FileInput" },
6237
6258
  { title: "Graph", const: "Graph" },
6238
6259
  { title: "Input Slider", const: "InputSlider" },
6239
6260
  { title: "Label", const: "Box" },
6240
6261
  { title: "LeaderBoard", const: "LeaderBoard" },
6241
- { title: "MultipleSelect", const: "MultipleSelect" },
6242
- { title: "PanCardText", const: "PanCardText" },
6243
- { title: "Popup Container", const: "PopUp" },
6244
- { title: "ProgressBar", const: "ProgressBar" },
6245
- { title: "ProgressBar Card", const: "ProgressBarCard" },
6246
- { title: "Select", const: "Select" },
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" },
6247
6268
  { title: "Slider", const: "Slider" },
6248
- { title: "SpeedoMeter", const: "SpeedoMeter" },
6269
+ { title: "Speedometer", const: "SpeedoMeter" },
6249
6270
  { title: "Stepper Container", const: "Stepper" },
6250
6271
  { title: "Radio", const: "Radio" },
6251
6272
  { title: "Rank", const: "Rank" },
6252
6273
  { title: "Rank Card", const: "RankCard" },
6253
- { title: "Runner Boy Progress Bar", const: "RunnerBoyProgressBar" },
6274
+ { title: "Runner Boy", const: "RunnerBoyProgressBar" },
6254
6275
  { title: "Table", const: "Table" },
6255
6276
  { title: "Tabs", const: "TabSection" },
6256
6277
  { title: "Text", const: "Text" },
6257
6278
  { title: "Text Area", const: "TextArea" },
6258
6279
  { title: "Timer", const: "Timer" },
6259
- { title: "Upload File", const: "UploadFile" },
6260
- { title: "TreeMap", const: "TreeMap" },
6261
- { title: "ColumnGroup", const: "ColumnGroup" },
6262
- { 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" },
6263
6284
  { title: "Pdf Viewer", const: "PdfViewer" }
6264
6285
  ]
6265
6286
  },
@@ -6557,42 +6578,41 @@ const ComponentSchema = {
6557
6578
  required: ["name"]
6558
6579
  };
6559
6580
  const componentBasicUiSchema = (theme) => {
6560
- var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j;
6581
+ var _a;
6561
6582
  const uiSchema = {
6562
6583
  type: "HorizontalLayout",
6563
- heading: "Component",
6584
+ heading: "Page-Component",
6564
6585
  elements: [
6565
- {
6566
- type: "Control",
6567
- scope: "#/properties/pageName",
6568
- options: {
6569
- widget: "Box"
6570
- },
6571
- config: {
6572
- layout: 12,
6573
- main: {
6574
- heading: " "
6575
- },
6576
- style: {
6577
- marginLeft: theme.spacing(3),
6578
- width: "auto",
6579
- fontSize: "12px",
6580
- color: "gray"
6581
- }
6582
- }
6583
- },
6584
6586
  {
6585
6587
  type: "TabLayout",
6586
6588
  config: {
6587
6589
  main: {
6588
6590
  tabLabels: ["Core"],
6589
- defaultStyle: true,
6590
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
+ }
6591
6605
  }
6592
6606
  },
6593
6607
  elements: [
6594
6608
  {
6595
- type: "HorizontalLayout",
6609
+ type: "WrapperLayout",
6610
+ config: {
6611
+ main: {
6612
+ label: " ",
6613
+ gap: "8px"
6614
+ }
6615
+ },
6596
6616
  elements: [
6597
6617
  {
6598
6618
  type: "Control",
@@ -6601,12 +6621,22 @@ const componentBasicUiSchema = (theme) => {
6601
6621
  widget: "SelectInputField"
6602
6622
  },
6603
6623
  config: {
6604
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
6624
+ layout: { xs: 6, sm: 6, md: 4, lg: 3 },
6605
6625
  main: {
6606
6626
  label: "Type"
6607
6627
  }
6608
6628
  }
6609
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
+ },
6610
6640
  {
6611
6641
  type: "Control",
6612
6642
  scope: "#/properties/name",
@@ -6614,11 +6644,9 @@ const componentBasicUiSchema = (theme) => {
6614
6644
  widget: "InputField"
6615
6645
  },
6616
6646
  config: {
6617
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
6647
+ layout: { xs: 12, sm: 6, md: 4, lg: 3 },
6618
6648
  main: {
6619
- label: "Name",
6620
- options: [],
6621
- color: "secondary",
6649
+ label: "Component ID",
6622
6650
  required: true
6623
6651
  }
6624
6652
  }
@@ -6630,7 +6658,7 @@ const componentBasicUiSchema = (theme) => {
6630
6658
  widget: "InputField"
6631
6659
  },
6632
6660
  config: {
6633
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
6661
+ layout: { xs: 6, sm: 6, md: 4, lg: 3 },
6634
6662
  main: {
6635
6663
  label: "Label",
6636
6664
  options: [],
@@ -6639,34 +6667,11 @@ const componentBasicUiSchema = (theme) => {
6639
6667
  }
6640
6668
  }
6641
6669
  },
6642
- {
6643
- type: "Control",
6644
- scope: "#/properties/columnFormat",
6645
- options: {
6646
- widget: "SelectInputField"
6647
- },
6648
- config: {
6649
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
6650
- main: {
6651
- label: "Column Format"
6652
- }
6653
- }
6654
- },
6655
6670
  {
6656
6671
  type: "Control",
6657
6672
  scope: "#/properties/proc",
6658
6673
  config: {
6659
- layout: { xs: 0, sm: 0, md: 4, lg: 4 }
6660
- },
6661
- options: {
6662
- widget: "EmptyBox"
6663
- }
6664
- },
6665
- {
6666
- type: "Control",
6667
- scope: "#/properties/proc",
6668
- config: {
6669
- layout: { xs: 0, sm: 0, md: 4, lg: 4 }
6674
+ layout: { xs: 6, sm: 6, md: 0, lg: 3 }
6670
6675
  },
6671
6676
  options: {
6672
6677
  widget: "EmptyBox"
@@ -6675,150 +6680,126 @@ const componentBasicUiSchema = (theme) => {
6675
6680
  {
6676
6681
  type: "Control",
6677
6682
  scope: "#/properties/layout",
6678
- layout: 12,
6679
6683
  options: {
6680
- detail: {
6681
- type: "HorizontalLayout",
6682
- elements: [
6683
- {
6684
- type: "Control",
6685
- scope: "#/properties/key",
6686
- options: {
6687
- widget: "SelectInputField"
6688
- },
6689
- config: {
6690
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
6691
- main: {
6692
- label: "Screen Size"
6693
- }
6694
- }
6695
- },
6696
- {
6697
- type: "Control",
6698
- scope: "#/properties/value",
6699
- options: {
6700
- widget: "InputField"
6701
- },
6702
- config: {
6703
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
6704
- main: {
6705
- label: "Value",
6706
- type: "number",
6707
- helperText: "Number should be in range of 0 to 12",
6708
- errorMessage: "Number Can't be greater than 12 and can't be less than 0."
6709
- }
6710
- }
6711
- },
6712
- {
6713
- type: "Control",
6714
- scope: "#/properties/proc",
6715
- config: {
6716
- layout: { xs: 0, sm: 0, md: 4, lg: 4 }
6717
- },
6718
- options: {
6719
- widget: "EmptyBox"
6720
- }
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."
6721
6730
  }
6722
- ]
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
+ }
6723
6742
  }
6724
- }
6743
+ ]
6725
6744
  }
6726
6745
  ]
6727
6746
  }
6728
6747
  ]
6729
6748
  },
6730
6749
  {
6731
- type: "HorizontalLayout",
6750
+ type: "WrapperLayout",
6732
6751
  config: {
6733
- layout: { xs: 12, sm: 6 }
6752
+ main: {
6753
+ gap: "8px"
6754
+ }
6734
6755
  },
6735
6756
  elements: [
6736
6757
  {
6737
6758
  type: "Control",
6738
- scope: "#/properties/RemoveItemButton",
6759
+ scope: "#/properties/btn",
6739
6760
  options: {
6740
- widget: "IconButton"
6761
+ widget: "Button"
6741
6762
  },
6742
6763
  config: {
6743
- layout: { xs: 1, sm: 1 },
6764
+ layout: { xs: 4, sm: 2.5, md: 2, lg: 1.5 },
6744
6765
  main: {
6745
- onClick: "RemoveItemButton",
6746
- size: "large",
6747
- icon: "RejectIcon",
6748
- styleDefault: true
6749
- },
6750
- style: {
6751
- marginLeft: "-10px"
6766
+ name: "Ok",
6767
+ variant: "contained",
6768
+ type: "text",
6769
+ onClick: "okHandler",
6770
+ size: "medium"
6752
6771
  }
6753
6772
  }
6754
6773
  },
6755
6774
  {
6756
6775
  type: "Control",
6757
- scope: "#/properties/copiedElementDetails",
6776
+ scope: "#/properties/btnSubmit",
6758
6777
  options: {
6759
- widget: "Box"
6778
+ widget: "Button"
6760
6779
  },
6761
6780
  config: {
6762
- layout: { xs: 6, sm: 6 },
6781
+ layout: { xs: 4, sm: 2.5, md: 2, lg: 1.5 },
6763
6782
  main: {
6764
- heading: "No element copied"
6765
- },
6766
- style: {
6767
- color: "#535557",
6768
- marginLeft: "-10px",
6769
- fontSize: "12px",
6770
- marginTop: "4px"
6783
+ name: "Save & Exit",
6784
+ variant: "contained",
6785
+ type: "text",
6786
+ onClick: "saveHandler",
6787
+ size: "medium"
6771
6788
  }
6772
6789
  }
6773
6790
  },
6774
6791
  {
6775
6792
  type: "Control",
6776
6793
  scope: "#/properties/EmptyBox",
6794
+ config: {
6795
+ layout: { xs: 4, sm: 7, md: 8, lg: 9 }
6796
+ },
6777
6797
  options: {
6778
6798
  widget: "EmptyBox"
6779
- },
6780
- config: {
6781
- layout: { xs: 1, sm: 5 }
6782
6799
  }
6783
6800
  }
6784
6801
  ]
6785
6802
  },
6786
- {
6787
- type: "Control",
6788
- scope: "#/properties/btn",
6789
- options: {
6790
- widget: "Button"
6791
- },
6792
- config: {
6793
- layout: { xs: 4, sm: 2 },
6794
- main: {
6795
- name: "Ok",
6796
- startIcon: "ApproveIcon",
6797
- variant: "contained",
6798
- type: "text",
6799
- onClick: "okHandler",
6800
- size: "medium"
6801
- }
6802
- }
6803
- },
6804
- {
6805
- type: "Control",
6806
- scope: "#/properties/btnSubmit",
6807
- options: {
6808
- widget: "Button"
6809
- },
6810
- config: {
6811
- layout: { xs: 4, sm: 2 },
6812
- main: {
6813
- name: "Save & Exit",
6814
- startIcon: "ApproveIcon",
6815
- variant: "contained",
6816
- type: "text",
6817
- onClick: "saveHandler",
6818
- size: "medium"
6819
- }
6820
- }
6821
- },
6822
6803
  {
6823
6804
  type: "Control",
6824
6805
  scope: "#/properties/popUpComponentSection",
@@ -6877,9 +6858,7 @@ const componentBasicUiSchema = (theme) => {
6877
6858
  layout: 6,
6878
6859
  main: {
6879
6860
  name: "No",
6880
- startIcon: "ApproveIcon",
6881
6861
  variant: "contained",
6882
- color: "info",
6883
6862
  type: "text",
6884
6863
  onClick: "deletePopUpComponent",
6885
6864
  size: "large"
@@ -6913,7 +6892,6 @@ const componentBasicUiSchema = (theme) => {
6913
6892
  layout: 6,
6914
6893
  main: {
6915
6894
  name: "Yes",
6916
- startIcon: "ApproveIcon",
6917
6895
  variant: "contained",
6918
6896
  color: "error",
6919
6897
  type: "text",
@@ -7000,9 +6978,7 @@ const componentBasicUiSchema = (theme) => {
7000
6978
  layout: 6,
7001
6979
  main: {
7002
6980
  name: "No",
7003
- startIcon: "ApproveIcon",
7004
6981
  variant: "contained",
7005
- color: "info",
7006
6982
  type: "text",
7007
6983
  onClick: "deletePopUpEvent",
7008
6984
  size: "large"
@@ -7036,7 +7012,6 @@ const componentBasicUiSchema = (theme) => {
7036
7012
  layout: 6,
7037
7013
  main: {
7038
7014
  name: "Yes",
7039
- startIcon: "ApproveIcon",
7040
7015
  variant: "contained",
7041
7016
  color: "error",
7042
7017
  type: "text",
@@ -7065,6 +7040,30 @@ const componentBasicUiSchema = (theme) => {
7065
7040
  }
7066
7041
  ]
7067
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
+ },
7068
7067
  {
7069
7068
  type: "Control",
7070
7069
  scope: "#/properties/notify",
@@ -7082,7 +7081,7 @@ const componentBasicUiSchema = (theme) => {
7082
7081
  style: {
7083
7082
  flexDirection: "row",
7084
7083
  position: "absolute",
7085
- bottom: 0,
7084
+ bottom: 10,
7086
7085
  height: "fit-content",
7087
7086
  overflow: "hidden",
7088
7087
  zIndex: 1e3,
@@ -7101,78 +7100,19 @@ const componentBasicUiSchema = (theme) => {
7101
7100
  heading: "Copywriter@ACT21.IO"
7102
7101
  },
7103
7102
  style: {
7104
- 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",
7105
7104
  fontSize: "11px",
7106
7105
  textAlign: "center",
7107
- lineHeight: 2,
7106
+ lineHeight: 0,
7108
7107
  width: "fit-content",
7109
7108
  left: "50%",
7110
7109
  position: "relative",
7111
- margin: 0,
7110
+ margin: "revert",
7112
7111
  flexGrow: 1,
7113
7112
  height: 0,
7114
7113
  transform: "translate(-50%, 0%)"
7115
7114
  }
7116
7115
  }
7117
- },
7118
- {
7119
- type: "Control",
7120
- scope: "#/properties/FooterBackIcon",
7121
- options: {
7122
- widget: "Box"
7123
- },
7124
- config: {
7125
- main: {
7126
- iconName: "PrevIcon",
7127
- onClick: "backHandler",
7128
- width: "fit-content"
7129
- },
7130
- style: {
7131
- fill: (_d = (_c = theme == null ? void 0 : theme.palette) == null ? void 0 : _c.primary) == null ? void 0 : _d.main,
7132
- width: 20,
7133
- height: 0,
7134
- top: 0,
7135
- right: { xs: "12px", sm: "84px" },
7136
- position: "absolute",
7137
- fontSize: "12px",
7138
- cursor: "pointer",
7139
- ":hover": {
7140
- fill: (_f = (_e = theme == null ? void 0 : theme.palette) == null ? void 0 : _e.primary) == null ? void 0 : _f.dark
7141
- },
7142
- marginRight: "20px"
7143
- }
7144
- }
7145
- },
7146
- {
7147
- type: "Control",
7148
- scope: "#/properties/FooterBackHandlerText",
7149
- options: {
7150
- widget: "Box"
7151
- },
7152
- config: {
7153
- main: {
7154
- heading: "Previous Page",
7155
- onClick: "backHandler"
7156
- },
7157
- style: {
7158
- display: { xs: "none", sm: "flex" },
7159
- textAlign: "left",
7160
- lineHeight: 1,
7161
- height: 0,
7162
- width: "fit-content",
7163
- color: (_h = (_g = theme == null ? void 0 : theme.palette) == null ? void 0 : _g.primary) == null ? void 0 : _h.main,
7164
- fontSize: "12px",
7165
- cursor: "pointer",
7166
- marginLeft: "2px",
7167
- top: 3,
7168
- right: "12px",
7169
- position: "absolute",
7170
- ":hover": {
7171
- color: (_j = (_i = theme == null ? void 0 : theme.palette) == null ? void 0 : _i.primary) == null ? void 0 : _j.dark
7172
- },
7173
- marginRight: "4px"
7174
- }
7175
- }
7176
7116
  }
7177
7117
  ]
7178
7118
  }
@@ -7181,7 +7121,13 @@ const componentBasicUiSchema = (theme) => {
7181
7121
  return uiSchema;
7182
7122
  };
7183
7123
  const CoreSection = {
7184
- type: "HorizontalLayout",
7124
+ type: "WrapperLayout",
7125
+ config: {
7126
+ main: {
7127
+ label: " ",
7128
+ gap: "8px"
7129
+ }
7130
+ },
7185
7131
  elements: [
7186
7132
  {
7187
7133
  type: "Control",
@@ -7190,7 +7136,7 @@ const CoreSection = {
7190
7136
  widget: "SelectInputField"
7191
7137
  },
7192
7138
  config: {
7193
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7139
+ layout: { xs: 6, sm: 6, md: 4, lg: 3 },
7194
7140
  main: {
7195
7141
  label: "Type",
7196
7142
  type: "text"
@@ -7199,40 +7145,39 @@ const CoreSection = {
7199
7145
  },
7200
7146
  {
7201
7147
  type: "Control",
7202
- scope: "#/properties/name",
7203
- options: {
7204
- widget: "InputField"
7205
- },
7148
+ scope: "#/properties/proc",
7206
7149
  config: {
7207
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7208
- main: {
7209
- label: "Name"
7210
- }
7150
+ layout: { xs: 6, sm: 0, md: 0, lg: 0 }
7151
+ },
7152
+ options: {
7153
+ widget: "EmptyBox"
7211
7154
  }
7212
7155
  },
7213
7156
  {
7214
7157
  type: "Control",
7215
- scope: "#/properties/label",
7158
+ scope: "#/properties/name",
7216
7159
  options: {
7217
7160
  widget: "InputField"
7218
7161
  },
7219
7162
  config: {
7220
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7163
+ layout: { xs: 12, sm: 6, md: 4, lg: 3 },
7221
7164
  main: {
7222
- label: "Label"
7165
+ label: "Component ID",
7166
+ required: true
7223
7167
  }
7224
7168
  }
7225
7169
  },
7226
7170
  {
7227
7171
  type: "Control",
7228
- scope: "#/properties/columnFormat",
7172
+ scope: "#/properties/label",
7229
7173
  options: {
7230
- widget: "SelectInputField"
7174
+ widget: "InputField"
7231
7175
  },
7232
7176
  config: {
7233
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7177
+ layout: { xs: 6, sm: 6, md: 4, lg: 3 },
7234
7178
  main: {
7235
- label: "Column Format"
7179
+ label: "Label",
7180
+ required: true
7236
7181
  }
7237
7182
  }
7238
7183
  },
@@ -7240,17 +7185,7 @@ const CoreSection = {
7240
7185
  type: "Control",
7241
7186
  scope: "#/properties/proc",
7242
7187
  config: {
7243
- layout: { xs: 0, sm: 0, md: 4, lg: 4 }
7244
- },
7245
- options: {
7246
- widget: "EmptyBox"
7247
- }
7248
- },
7249
- {
7250
- type: "Control",
7251
- scope: "#/properties/proc",
7252
- config: {
7253
- layout: { xs: 0, sm: 0, md: 4, lg: 4 }
7188
+ layout: { xs: 6, sm: 6, md: 0, lg: 3 }
7254
7189
  },
7255
7190
  options: {
7256
7191
  widget: "EmptyBox"
@@ -7259,54 +7194,67 @@ const CoreSection = {
7259
7194
  {
7260
7195
  type: "Control",
7261
7196
  scope: "#/properties/layout",
7262
- layout: 12,
7263
7197
  options: {
7264
- "elementLabelProp": "key",
7265
- detail: {
7266
- type: "HorizontalLayout",
7267
- elements: [
7268
- {
7269
- type: "Control",
7270
- scope: "#/properties/key",
7271
- options: {
7272
- widget: "SelectInputField"
7273
- },
7274
- config: {
7275
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7276
- main: {
7277
- label: "Screen Size"
7278
- }
7279
- }
7280
- },
7281
- {
7282
- type: "Control",
7283
- scope: "#/properties/value",
7284
- options: {
7285
- widget: "InputField"
7286
- },
7287
- config: {
7288
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7289
- main: {
7290
- label: "Value",
7291
- type: "number",
7292
- helperText: "Number should be in range of 0 to 12",
7293
- errorMessage: "Number Can't be greater than 12 and can't be less than 0."
7294
- }
7295
- }
7296
- },
7297
- {
7298
- type: "Control",
7299
- scope: "#/properties/proc",
7300
- config: {
7301
- layout: { xs: 0, sm: 0, md: 4, lg: 4 }
7302
- },
7303
- options: {
7304
- widget: "EmptyBox"
7305
- }
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"
7306
7228
  }
7307
- ]
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
+ }
7308
7256
  }
7309
- }
7257
+ ]
7310
7258
  }
7311
7259
  ]
7312
7260
  };
@@ -7333,15 +7281,20 @@ const EventSection = (theme) => {
7333
7281
  },
7334
7282
  config: {
7335
7283
  main: {
7336
- color: "info",
7337
7284
  onClick: "eventAddHandler",
7338
7285
  size: "small",
7339
- icon: "AddIcon",
7340
- iconLabel: "Add New",
7286
+ icon: "TableAddIcon",
7287
+ iconLabel: "Add",
7341
7288
  styleDefault: true
7342
7289
  },
7343
7290
  style: {
7344
- mt: "6px"
7291
+ mt: "6px",
7292
+ color: "inherit",
7293
+ fill: "inherit",
7294
+ "&:hover": {
7295
+ color: "inherit",
7296
+ fill: "inherit"
7297
+ }
7345
7298
  }
7346
7299
  }
7347
7300
  }
@@ -7357,12 +7310,18 @@ const EventSection = (theme) => {
7357
7310
  main: {
7358
7311
  onClick: "copyPasteElement",
7359
7312
  size: "small",
7360
- icon: "PasteIcon",
7313
+ icon: "TablePaste",
7361
7314
  iconLabel: "Paste",
7362
7315
  styleDefault: true
7363
7316
  },
7364
7317
  style: {
7365
- mt: "6px"
7318
+ mt: "6px",
7319
+ color: "inherit",
7320
+ fill: "inherit",
7321
+ "&:hover": {
7322
+ color: "inherit",
7323
+ fill: "inherit"
7324
+ }
7366
7325
  }
7367
7326
  }
7368
7327
  }
@@ -7377,15 +7336,21 @@ const EventSection = (theme) => {
7377
7336
  elements: [
7378
7337
  {
7379
7338
  accessorKey: "eventType",
7380
- header: "Event Type"
7339
+ header: "Event's Type",
7340
+ type: "string",
7341
+ size: 300
7381
7342
  },
7382
7343
  {
7383
7344
  accessorKey: "Handler",
7384
- header: "Handler"
7345
+ header: "Handler",
7346
+ type: "string",
7347
+ size: 200
7385
7348
  },
7386
7349
  {
7387
7350
  accessorKey: "Edit_Approve_Records",
7388
- header: "Edit Widget",
7351
+ header: "Edit",
7352
+ size: 150,
7353
+ type: "action",
7389
7354
  widget: {
7390
7355
  type: "Control",
7391
7356
  scope: "#/properties/Edit_Records",
@@ -7394,14 +7359,16 @@ const EventSection = (theme) => {
7394
7359
  },
7395
7360
  config: {
7396
7361
  main: {
7397
- color: "info",
7398
7362
  size: "small",
7399
- icon: "EditIcon",
7363
+ icon: "TableEditIcon",
7400
7364
  tooltipMessage: "Edit This Record",
7401
7365
  onClick: "eventEditHandler"
7402
7366
  },
7403
7367
  style: {
7404
- color: theme.palette.primary.main
7368
+ fill: theme.palette.primary.main,
7369
+ "& :hover": {
7370
+ fill: theme.palette.primary.dark
7371
+ }
7405
7372
  }
7406
7373
  }
7407
7374
  }
@@ -7409,6 +7376,8 @@ const EventSection = (theme) => {
7409
7376
  {
7410
7377
  accessorKey: "Reject_Records",
7411
7378
  header: "Delete",
7379
+ size: 150,
7380
+ type: "action",
7412
7381
  widget: {
7413
7382
  type: "Control",
7414
7383
  scope: "#/properties/RejectButton",
@@ -7418,10 +7387,15 @@ const EventSection = (theme) => {
7418
7387
  },
7419
7388
  config: {
7420
7389
  main: {
7421
- icon: "RejectIcon",
7422
- color: "error",
7390
+ icon: "Bin",
7423
7391
  tooltipMessage: "Reject This Record",
7424
7392
  onClick: "deletePopUpEvent"
7393
+ },
7394
+ style: {
7395
+ fill: theme.palette.primary.main,
7396
+ "& :hover": {
7397
+ fill: theme.palette.primary.dark
7398
+ }
7425
7399
  }
7426
7400
  }
7427
7401
  }
@@ -7429,7 +7403,8 @@ const EventSection = (theme) => {
7429
7403
  {
7430
7404
  header: "Copy",
7431
7405
  field: "Copy_Event",
7432
- flex: 1,
7406
+ size: 150,
7407
+ type: "action",
7433
7408
  widget: {
7434
7409
  type: "Control",
7435
7410
  scope: "#/properties/Copy_Event",
@@ -7479,77 +7454,103 @@ const emptyBox$1 = (scope, layout) => {
7479
7454
  const cardLayout = {
7480
7455
  type: "Control",
7481
7456
  scope: "#/properties/cardLayout",
7482
- layout: 11.5,
7483
7457
  options: {
7484
- detail: {
7485
- type: "HorizontalLayout",
7486
- elements: [
7487
- {
7488
- type: "Control",
7489
- scope: "#/properties/key",
7490
- options: {
7491
- widget: "SelectInputField"
7492
- },
7493
- config: {
7494
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7495
- main: {
7496
- label: "Screen Size"
7497
- }
7498
- }
7499
- },
7500
- {
7501
- type: "Control",
7502
- scope: "#/properties/value",
7503
- options: {
7504
- widget: "InputField"
7505
- },
7506
- config: {
7507
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7508
- main: {
7509
- label: "Value",
7510
- type: "number",
7511
- helperText: "Number should be in range of 0 to 12",
7512
- errorMessage: "Number Can't be greater than 12 and can't be less than 0."
7513
- }
7514
- }
7515
- },
7516
- emptyBox$1("cardEmpty")
7517
- ]
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
+ }
7518
7475
  }
7519
- }
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
+ ]
7520
7509
  };
7521
7510
  const getArrayControl = (parentScope, childScope, childLabel) => {
7522
7511
  return {
7523
7512
  type: "Control",
7524
7513
  scope: `#/properties/${parentScope}`,
7525
- layout: 12,
7526
7514
  options: {
7527
- "elementLabelProp": childScope,
7528
- detail: {
7529
- type: "HorizontalLayout",
7530
- elements: [
7531
- {
7532
- type: "Control",
7533
- scope: `#/properties/${childScope}`,
7534
- options: {
7535
- widget: "InputField"
7536
- },
7537
- config: {
7538
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7539
- main: {
7540
- label: childLabel || "Labels for Tab"
7541
- }
7542
- }
7543
- },
7544
- emptyBox$1("ArrayControlEmpty1", { xs: 6, sm: 6, md: 4, lg: 4 }),
7545
- emptyBox$1("ArrayControlEmpty2", { xs: 0, sm: 0, md: 4, lg: 4 })
7546
- ]
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
+ }
7547
7532
  }
7548
- }
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
+ ]
7549
7550
  };
7550
7551
  };
7551
7552
  const sizeHolder = getArrayControl("sizeHolder", "keyName", "Component Name");
7552
- sizeHolder.options.detail.elements[1] = {
7553
+ sizeHolder.elements[1] = {
7553
7554
  type: "Control",
7554
7555
  scope: `#/properties/value`,
7555
7556
  options: {
@@ -7562,7 +7563,7 @@ sizeHolder.options.detail.elements[1] = {
7562
7563
  }
7563
7564
  }
7564
7565
  };
7565
- sizeHolder.options.detail.elements[2] = emptyBox$1("sizeHolderempty");
7566
+ sizeHolder.elements[2] = emptyBox$1("sizeHolderempty");
7566
7567
  const getInputField = (scope, label) => {
7567
7568
  return {
7568
7569
  type: "Control",
@@ -7571,7 +7572,7 @@ const getInputField = (scope, label) => {
7571
7572
  widget: "InputField"
7572
7573
  },
7573
7574
  config: {
7574
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7575
+ layout: { xs: 6, sm: 6, md: 4, lg: 3 },
7575
7576
  main: {
7576
7577
  label
7577
7578
  }
@@ -7586,7 +7587,7 @@ const getRadioInputField = (scope, label, options) => {
7586
7587
  widget: "RadioInputField"
7587
7588
  },
7588
7589
  config: {
7589
- layout: { xs: 12, sm: 6, md: 4, lg: 4 },
7590
+ layout: { xs: 12, sm: 6, md: 4, lg: 3 },
7590
7591
  main: {
7591
7592
  label,
7592
7593
  options
@@ -7601,17 +7602,7 @@ const buildWrapper = (label, elements) => {
7601
7602
  main: {
7602
7603
  label: label || "Details",
7603
7604
  isAccordion: true
7604
- },
7605
- wrapperStyle: {
7606
- marginTop: "-6px",
7607
- marginBottom: "-8px",
7608
- marginLeft: "-34px",
7609
- width: "108%"
7610
- },
7611
- componentsBoxStyle: {
7612
- marginLeft: "12px"
7613
- },
7614
- defaultStyle: true
7605
+ }
7615
7606
  },
7616
7607
  elements: elements || []
7617
7608
  };
@@ -7625,18 +7616,8 @@ const getTextArea = (scope, heading, hideButton, layout) => {
7625
7616
  },
7626
7617
  config: {
7627
7618
  layout: layout || 12,
7628
- style: {
7629
- containerStyle: {
7630
- borderRadius: "20px"
7631
- },
7632
- headerContainerStyle: {},
7633
- textAreaStyle: {
7634
- borderRadius: "20px",
7635
- padding: "20px"
7636
- }
7637
- },
7638
7619
  main: {
7639
- heading,
7620
+ label: heading,
7640
7621
  minRows: 8,
7641
7622
  hideButton,
7642
7623
  enableCodeEditor: true
@@ -7652,7 +7633,7 @@ const getSelectField = (scope, label, options) => {
7652
7633
  widget: "SelectInputField"
7653
7634
  },
7654
7635
  config: {
7655
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7636
+ layout: { xs: 6, sm: 6, md: 4, lg: 3 },
7656
7637
  main: {
7657
7638
  label,
7658
7639
  type: "text"
@@ -7668,7 +7649,7 @@ const getMultiSelectField = (scope, label) => {
7668
7649
  widget: "MultipleSelect"
7669
7650
  },
7670
7651
  config: {
7671
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
7652
+ layout: { xs: 6, sm: 6, md: 4, lg: 3 },
7672
7653
  main: {
7673
7654
  multiple: true,
7674
7655
  label,
@@ -7677,12 +7658,18 @@ const getMultiSelectField = (scope, label) => {
7677
7658
  }
7678
7659
  };
7679
7660
  };
7680
- const GraphSection = {
7661
+ const BaseSection = {
7681
7662
  type: "WrapperLayout",
7663
+ config: {
7664
+ main: {
7665
+ label: " ",
7666
+ gap: "8px"
7667
+ }
7668
+ },
7682
7669
  elements: []
7683
7670
  };
7684
7671
  const buildPropertiesSection = function(type) {
7685
- let uiSchema = _.cloneDeep(GraphSection);
7672
+ let uiSchema = _.cloneDeep(BaseSection);
7686
7673
  switch (type) {
7687
7674
  case "TreeMap":
7688
7675
  uiSchema.elements = [
@@ -7746,7 +7733,8 @@ const buildPropertiesSection = function(type) {
7746
7733
  uiSchema.elements = [
7747
7734
  getInputField("placeholder", "Placeholder"),
7748
7735
  getRadioInputField("enableCodeEditor", "Enable Code Editor", ["YES", "NO"]),
7749
- getInputField("codeEditorLanguage", "Enter Code Language")
7736
+ getInputField("codeEditorLanguage", "Enter Code Language"),
7737
+ emptyBox$1("TextEmpty1", { xs: 0, sm: 0, md: 0, lg: 3 })
7750
7738
  ];
7751
7739
  break;
7752
7740
  case "SpeedoMeter":
@@ -7826,7 +7814,7 @@ const buildPropertiesSection = function(type) {
7826
7814
  getInputField("xAxisValue", "X-AxisValue"),
7827
7815
  getRadioInputField("bottomAxisAngle", "Bottom Axis Angled", ["YES", "No"]),
7828
7816
  getInputField("leftMargin", "Left Margin"),
7829
- emptyBox$1("GraphEmpty1", { xs: 6, sm: 0, md: 8, lg: 8 }),
7817
+ emptyBox$1("GraphEmpty1", { xs: 6, sm: 0, md: 8, lg: 6 }),
7830
7818
  getArrayControl("legendLabels", "label"),
7831
7819
  getArrayControl("pieArcColors", "color")
7832
7820
  ];
@@ -7907,7 +7895,13 @@ const buildPropertiesSection = function(type) {
7907
7895
  return uiSchema;
7908
7896
  };
7909
7897
  const StyleSection = {
7910
- type: "HorizontalLayout",
7898
+ type: "WrapperLayout",
7899
+ config: {
7900
+ main: {
7901
+ label: " ",
7902
+ gap: "8px"
7903
+ }
7904
+ },
7911
7905
  elements: [
7912
7906
  {
7913
7907
  type: "Control",
@@ -7923,14 +7917,7 @@ const StyleSection = {
7923
7917
  lg: 12
7924
7918
  },
7925
7919
  style: {
7926
- containerStyle: {
7927
- borderRadius: "20px"
7928
- },
7929
- headerContainerStyle: {},
7930
- textAreaStyle: {
7931
- borderRadius: "20px",
7932
- padding: "20px"
7933
- }
7920
+ "& .MuiFormLabel-root:not(.MuiInputLabel-shrink)": {}
7934
7921
  },
7935
7922
  main: {
7936
7923
  heading: "JSON Style",
@@ -7964,15 +7951,20 @@ const TableSection = (theme) => {
7964
7951
  },
7965
7952
  config: {
7966
7953
  main: {
7967
- color: "info",
7968
7954
  onClick: "widgetAddClickHandler",
7969
7955
  size: "small",
7970
- icon: "AddIcon",
7971
- iconLabel: "Add New",
7956
+ icon: "TableAddIcon",
7957
+ iconLabel: "Add",
7972
7958
  styleDefault: true
7973
7959
  },
7974
7960
  style: {
7975
- mt: "6px"
7961
+ mt: "6px",
7962
+ color: "inherit",
7963
+ fill: "inherit",
7964
+ "&:hover": {
7965
+ color: "inherit",
7966
+ fill: "inherit"
7967
+ }
7976
7968
  }
7977
7969
  }
7978
7970
  }
@@ -7988,12 +7980,18 @@ const TableSection = (theme) => {
7988
7980
  main: {
7989
7981
  onClick: "copyPasteElement",
7990
7982
  size: "small",
7991
- icon: "PasteIcon",
7983
+ icon: "TablePaste",
7992
7984
  iconLabel: "Paste",
7993
7985
  styleDefault: true
7994
7986
  },
7995
7987
  style: {
7996
- mt: "6px"
7988
+ mt: "6px",
7989
+ color: "inherit",
7990
+ fill: "inherit",
7991
+ "&:hover": {
7992
+ color: "inherit",
7993
+ fill: "inherit"
7994
+ }
7997
7995
  }
7998
7996
  }
7999
7997
  }
@@ -8008,16 +8006,21 @@ const TableSection = (theme) => {
8008
8006
  elements: [
8009
8007
  {
8010
8008
  accessorKey: "name",
8011
- header: "Name"
8009
+ header: "Name",
8010
+ type: "string",
8011
+ size: 300
8012
8012
  },
8013
8013
  {
8014
8014
  accessorKey: "type",
8015
- header: "Type"
8015
+ header: "Type",
8016
+ type: "string",
8017
+ size: 200
8016
8018
  },
8017
8019
  {
8018
8020
  header: "Edit Record",
8019
8021
  field: "Reject_Records",
8020
- flex: 1,
8022
+ size: 150,
8023
+ type: "action",
8021
8024
  widget: {
8022
8025
  type: "Control",
8023
8026
  scope: "#/properties/RejectButton",
@@ -8026,13 +8029,16 @@ const TableSection = (theme) => {
8026
8029
  },
8027
8030
  config: {
8028
8031
  main: {
8029
- icon: "EditIcon",
8030
- color: "primary",
8032
+ icon: "TableEditIcon",
8033
+ size: "small",
8031
8034
  onClick: "editComponents",
8032
8035
  tooltipMessage: "Reject This Record"
8033
8036
  },
8034
8037
  style: {
8035
- color: theme.palette.primary.main
8038
+ fill: theme.palette.primary.main,
8039
+ "& :hover": {
8040
+ fill: theme.palette.primary.dark
8041
+ }
8036
8042
  }
8037
8043
  }
8038
8044
  }
@@ -8040,7 +8046,8 @@ const TableSection = (theme) => {
8040
8046
  {
8041
8047
  header: "Delete",
8042
8048
  field: "Reject_Records",
8043
- flex: 1,
8049
+ size: 150,
8050
+ type: "action",
8044
8051
  widget: {
8045
8052
  type: "Control",
8046
8053
  scope: "#/properties/RejectButton",
@@ -8049,10 +8056,15 @@ const TableSection = (theme) => {
8049
8056
  },
8050
8057
  config: {
8051
8058
  main: {
8052
- icon: "RejectIcon",
8053
- color: "error",
8059
+ icon: "Bin",
8054
8060
  onClick: "deletePopUpComponent",
8055
8061
  tooltipMessage: "Reject This Record"
8062
+ },
8063
+ style: {
8064
+ fill: theme.palette.primary.main,
8065
+ "& :hover": {
8066
+ fill: theme.palette.primary.dark
8067
+ }
8056
8068
  }
8057
8069
  }
8058
8070
  }
@@ -8060,7 +8072,8 @@ const TableSection = (theme) => {
8060
8072
  {
8061
8073
  header: "Copy",
8062
8074
  field: "Copy_Component",
8063
- flex: 1,
8075
+ size: 150,
8076
+ type: "action",
8064
8077
  widget: {
8065
8078
  type: "Control",
8066
8079
  scope: "#/properties/Copy_Component",
@@ -8084,109 +8097,148 @@ const TableSection = (theme) => {
8084
8097
  return uiSchema;
8085
8098
  };
8086
8099
  const ValueTab = {
8087
- type: "HorizontalLayout",
8100
+ type: "WrapperLayout",
8101
+ config: {
8102
+ main: {
8103
+ label: " ",
8104
+ gap: "8px"
8105
+ }
8106
+ },
8088
8107
  elements: [
8089
8108
  {
8090
8109
  type: "Control",
8091
8110
  scope: "#/properties/value",
8092
- layout: 12,
8093
8111
  options: {
8094
- detail: {
8095
- type: "HorizontalLayout",
8096
- elements: [
8097
- {
8098
- type: "Control",
8099
- scope: "#/properties/label",
8100
- options: {
8101
- widget: "InputField"
8102
- },
8103
- config: {
8104
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
8105
- main: {
8106
- label: "Label"
8107
- }
8108
- }
8109
- },
8110
- {
8111
- type: "Control",
8112
- scope: "#/properties/value",
8113
- options: {
8114
- widget: "InputField"
8115
- },
8116
- config: {
8117
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
8118
- main: {
8119
- label: "Value"
8120
- }
8121
- }
8122
- },
8123
- {
8124
- type: "Control",
8125
- scope: "#/properties/emptyBox",
8126
- options: {
8127
- widget: "EmptyBox"
8128
- },
8129
- config: {
8130
- layout: { xs: 0, sm: 0, md: 4, lg: 4 }
8131
- }
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"
8132
8142
  }
8133
- ]
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"
8155
+ }
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
+ }
8134
8167
  }
8135
- }
8168
+ ]
8136
8169
  }
8137
8170
  ]
8138
8171
  };
8139
8172
  const ValidationSection = {
8140
- type: "HorizontalLayout",
8173
+ type: "WrapperLayout",
8174
+ config: {
8175
+ main: {
8176
+ label: " ",
8177
+ gap: "8px"
8178
+ }
8179
+ },
8141
8180
  elements: [
8142
8181
  {
8143
8182
  type: "Control",
8144
8183
  scope: "#/properties/validation",
8145
- layout: 11.5,
8146
8184
  options: {
8147
- "elementLabelProp": "validationType",
8148
- detail: {
8149
- type: "HorizontalLayout",
8150
- elements: [
8151
- {
8152
- type: "Control",
8153
- scope: "#/properties/validationType",
8154
- options: {
8155
- widget: "SelectInputField"
8156
- },
8157
- config: {
8158
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
8159
- main: {
8160
- label: "Validation Type"
8161
- }
8162
- }
8163
- },
8164
- {
8165
- type: "Control",
8166
- scope: "#/properties/validationValue",
8167
- options: {
8168
- widget: "InputField"
8169
- },
8170
- config: {
8171
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
8172
- main: {
8173
- label: "Validation Value"
8174
- }
8175
- }
8176
- },
8177
- {
8178
- type: "Control",
8179
- scope: "#/properties/emptyBox",
8180
- options: {
8181
- widget: "EmptyBox"
8182
- },
8183
- config: {
8184
- layout: { xs: 0, sm: 0, md: 4 }
8185
- }
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"
8186
8215
  }
8187
- ]
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
+ }
8188
8240
  }
8189
- }
8241
+ ]
8190
8242
  }
8191
8243
  ]
8192
8244
  };
@@ -8342,36 +8394,36 @@ function okHandler(store2) {
8342
8394
  }
8343
8395
  }
8344
8396
  const sectionLabels = {
8345
- Select: ["Core", "Properties", "Value", "Event", "Style", "Validation"],
8346
- MultipleSelect: ["Core", "Properties", "Value", "Event", "Style", "Validation"],
8347
- Table: ["Core", "Components", "Properties", "Event", "Style", "Validation"],
8348
- 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"],
8349
8401
  WrapperSection: ["Core", "Components", "Properties", "Style", "Validation"],
8350
8402
  TabSection: ["Core", "Components", "Properties", "Style", "Validation"],
8351
- SpeedoMeter: ["Core", "Properties", "Event", "Style", "Validation"],
8352
- card: ["Core", "Properties", "Event", "Style", "Validation"],
8353
- UploadFile: ["Core", "Event", "Style", "Validation"],
8354
- Graph: ["Core", "Properties", "Event", "Style", "Validation"],
8355
- DownloadFile: ["Core", "Event", "Style", "Validation"],
8356
- Box: ["Core", "Event", "Style", "Validation"],
8357
- Properties: ["Core", "Properties", "Event", "Style", "Validation"],
8358
- ProgressBarCard: ["Core", "Properties", "Event", "Style", "Validation"],
8359
- RankCard: ["Core", "Properties", "Event", "Style", "Validation"],
8360
- Slider: ["Core", "Components", "Event", "Style", "Validation"],
8361
- Timer: ["Core", "Event", "Style", "Validation"],
8362
- Rank: ["Core", "Event", "Style", "Validation"],
8363
- 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"],
8364
8416
  Array: ["Core", "Components", "Validation"],
8365
- Radio: ["Core", "Properties", "Event", "Style", "Validation"],
8366
- Text: ["Core", "Properties", "Event", "Style", "Validation"],
8367
- 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"],
8368
8420
  PopUp: ["Core", "Components", "Properties", "Style"],
8369
- Stepper: ["Core", "Components", "Properties", "Event", "Style"],
8370
- DataGrid: ["Core", "Components", "Properties", "Event", "Style"],
8371
- InputSlider: ["Core", "Properties", "Event", "Style", "Validation"],
8372
- 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"],
8373
8425
  ColumnGroup: ["Core", "Components"],
8374
- Thought: ["Core", "Properties", "Event", "Style", "Validation"]
8426
+ Thought: ["Core", "Properties", "Events", "Style", "Validation"]
8375
8427
  };
8376
8428
  function refreshPage(type, store2) {
8377
8429
  var _a;
@@ -8381,14 +8433,14 @@ function refreshPage(type, store2) {
8381
8433
  Core: CoreSection,
8382
8434
  Value: ValueTab,
8383
8435
  Style: StyleSection,
8384
- Event: EventSection(store2.theme.myTheme),
8436
+ Events: EventSection(store2.theme.myTheme),
8385
8437
  Components: TableSection(store2.theme.myTheme),
8386
8438
  Properties: buildPropertiesSection(type),
8387
8439
  Validation: ValidationSection
8388
8440
  };
8389
8441
  const elements = (_a = sectionLabels[type]) == null ? void 0 : _a.map((e) => sectionUiSchema[e]);
8390
- UiSchema.elements[1].config.main.tabLabels = sectionLabels[type] || ["Core", "Style", "Event", "Validation"];
8391
- UiSchema.elements[1].elements = elements || [CoreSection, StyleSection, EventSection(store2.theme.myTheme), ValidationSection];
8442
+ UiSchema.elements[0].config.main.tabLabels = sectionLabels[type] || ["Core", "Style", "Events", "Validation"];
8443
+ UiSchema.elements[0].elements = elements || [CoreSection, StyleSection, EventSection(store2.theme.myTheme), ValidationSection];
8392
8444
  }
8393
8445
  if (sessionStorage.getItem("copiedConfig")) {
8394
8446
  this.ElementPathSetter(UiSchema);
@@ -8552,15 +8604,15 @@ var Component = (store2, dynamicData2, submitHandler, service2) => {
8552
8604
  const pastedElementPath = this.elementPathHandler(pastedElementParentPath, insertElementIndex, elementType);
8553
8605
  const copiedConfig = JSON.parse(sessionStorage.getItem("copiedConfig"));
8554
8606
  const notificationMessages = {
8555
- Event: " The event cannot be integrated into the component section.",
8556
- Component: "The component cannot be integrated into the event section."
8607
+ Events: " The Events cannot be integrated into the component section.",
8608
+ Component: "The component cannot be integrated into the Events section."
8557
8609
  };
8558
8610
  if (copiedConfig.Handler && elementType === "Component") {
8559
8611
  store2.setNotify({
8560
- FailMessage: notificationMessages.Event,
8612
+ FailMessage: notificationMessages.Events,
8561
8613
  Fail: true
8562
8614
  });
8563
- } else if (copiedConfig.name && elementType === "Event") {
8615
+ } else if (copiedConfig.name && elementType === "Events") {
8564
8616
  store2.setNotify({
8565
8617
  FailMessage: notificationMessages.Component,
8566
8618
  Fail: true
@@ -8738,18 +8790,18 @@ const EventSchema = {
8738
8790
  eventType: {
8739
8791
  type: "string",
8740
8792
  oneOf: [
8741
- { title: "Click Event", const: "onClick" },
8742
- { title: "Load Event", const: "onLoad" },
8743
- { title: "Change Event", const: "onChange" },
8744
- { title: "Mount Event", const: "onMount" },
8793
+ { title: "Click", const: "onClick" },
8794
+ { title: "Load", const: "onLoad" },
8795
+ { title: "Change", const: "onChange" },
8796
+ { title: "Mount", const: "onMount" },
8745
8797
  { title: "Success", const: "Success" },
8746
- { title: "onStart", const: "onStart" },
8747
- { title: "Cell Renderer", const: "onCellRenderer" },
8748
- { title: "File Upload Event", const: "onUpload" },
8749
- { title: "Back Event", const: "onBack" },
8750
- { title: "Next Event", const: "onNext" },
8751
- { title: "onRowMovement", const: "onRowMovement" },
8752
- { title: "File Download Event", const: "onDownload" },
8798
+ { title: "Start", const: "onStart" },
8799
+ { title: "Cell Render", const: "onCellRenderer" },
8800
+ { title: "Upload", const: "onUpload" },
8801
+ { title: "Back", const: "onBack" },
8802
+ { title: "Next", const: "onNext" },
8803
+ { title: "Row Movement", const: "onRowMovement" },
8804
+ { title: "Download", const: "onDownload" },
8753
8805
  { title: "Fail", const: "Fail" }
8754
8806
  ]
8755
8807
  },
@@ -8791,42 +8843,41 @@ const EventSchema = {
8791
8843
  required: ["eventType", "Handler"]
8792
8844
  };
8793
8845
  const EventUiSchema = (theme) => {
8794
- var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j;
8846
+ var _a;
8795
8847
  const uiSchema = {
8796
8848
  type: "HorizontalLayout",
8797
- heading: "Component",
8849
+ heading: "Page-Events",
8798
8850
  elements: [
8799
- {
8800
- type: "Control",
8801
- scope: "#/properties/pageName",
8802
- options: {
8803
- widget: "Box"
8804
- },
8805
- config: {
8806
- layout: 12,
8807
- main: {
8808
- heading: " "
8809
- },
8810
- style: {
8811
- marginLeft: theme.spacing(3),
8812
- width: "auto",
8813
- fontSize: "12px",
8814
- color: "gray"
8815
- }
8816
- }
8817
- },
8818
8851
  {
8819
8852
  type: "TabLayout",
8820
8853
  config: {
8821
8854
  main: {
8822
- tabLabels: ["Core", "Response Event"],
8823
- defaultStyle: true,
8855
+ tabLabels: ["Core", "Response Events"],
8824
8856
  id: "event"
8857
+ },
8858
+ style: {
8859
+ TabPanelStyle: {
8860
+ padding: 0
8861
+ }
8862
+ },
8863
+ TabsStyle: {
8864
+ marginBottom: "3px",
8865
+ paddingBottom: "4px",
8866
+ boxShadow: "0px 3px 4px #afafaf80",
8867
+ "& .MuiTabs-indicator": {
8868
+ bottom: "6px"
8869
+ }
8825
8870
  }
8826
8871
  },
8827
8872
  elements: [
8828
8873
  {
8829
- type: "HorizontalLayout",
8874
+ type: "WrapperLayout",
8875
+ config: {
8876
+ main: {
8877
+ label: " ",
8878
+ gap: "8px"
8879
+ }
8880
+ },
8830
8881
  elements: [
8831
8882
  {
8832
8883
  type: "Control",
@@ -8835,9 +8886,9 @@ const EventUiSchema = (theme) => {
8835
8886
  widget: "SelectInputField"
8836
8887
  },
8837
8888
  config: {
8838
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
8889
+ layout: { xs: 6, sm: 6, md: 4, lg: 3 },
8839
8890
  main: {
8840
- label: "Event Type",
8891
+ label: "Event's Type",
8841
8892
  type: "text"
8842
8893
  }
8843
8894
  }
@@ -8850,7 +8901,7 @@ const EventUiSchema = (theme) => {
8850
8901
  widget: "EmptyBox"
8851
8902
  },
8852
8903
  config: {
8853
- layout: { xs: 0, sm: 4, md: 4, lg: 4 }
8904
+ layout: { xs: 0, sm: 0, md: 4, lg: 6 }
8854
8905
  }
8855
8906
  }
8856
8907
  ]
@@ -8876,12 +8927,18 @@ const EventUiSchema = (theme) => {
8876
8927
  main: {
8877
8928
  onClick: "addEvent",
8878
8929
  size: "small",
8879
- icon: "AddIcon",
8880
- iconLabel: "Add New",
8930
+ icon: "TableAddIcon",
8931
+ iconLabel: "Add",
8881
8932
  styleDefault: true
8882
8933
  },
8883
8934
  style: {
8884
- mt: "6px"
8935
+ mt: "6px",
8936
+ color: "inherit",
8937
+ fill: "inherit",
8938
+ "&:hover": {
8939
+ color: "inherit",
8940
+ fill: "inherit"
8941
+ }
8885
8942
  }
8886
8943
  }
8887
8944
  }
@@ -8897,12 +8954,18 @@ const EventUiSchema = (theme) => {
8897
8954
  main: {
8898
8955
  onClick: "copyPasteElement",
8899
8956
  size: "small",
8900
- icon: "PasteIcon",
8957
+ icon: "TablePaste",
8901
8958
  iconLabel: "Paste",
8902
8959
  styleDefault: true
8903
8960
  },
8904
8961
  style: {
8905
- mt: "6px"
8962
+ mt: "6px",
8963
+ color: "inherit",
8964
+ fill: "inherit",
8965
+ "&:hover": {
8966
+ color: "inherit",
8967
+ fill: "inherit"
8968
+ }
8906
8969
  }
8907
8970
  }
8908
8971
  }
@@ -8917,15 +8980,21 @@ const EventUiSchema = (theme) => {
8917
8980
  elements: [
8918
8981
  {
8919
8982
  accessorKey: "eventType",
8920
- header: "Event Type"
8983
+ header: "Event's Type",
8984
+ size: 300,
8985
+ type: "string"
8921
8986
  },
8922
8987
  {
8923
8988
  accessorKey: "Handler",
8924
- header: "Handler"
8989
+ header: "Handler",
8990
+ size: 200,
8991
+ type: "string"
8925
8992
  },
8926
8993
  {
8927
8994
  accessorKey: "Edit_Approve_Records",
8928
- header: "Edit Widget",
8995
+ header: "Edit",
8996
+ type: "action",
8997
+ size: 150,
8929
8998
  widget: {
8930
8999
  type: "Control",
8931
9000
  scope: "#/properties/Edit_Records",
@@ -8934,14 +9003,16 @@ const EventUiSchema = (theme) => {
8934
9003
  },
8935
9004
  config: {
8936
9005
  main: {
8937
- color: "info",
8938
9006
  size: "small",
8939
- icon: "EditIcon",
9007
+ icon: "TableEditIcon",
8940
9008
  tooltipMessage: "Edit This Record",
8941
9009
  onClick: "editEvent"
8942
9010
  },
8943
9011
  style: {
8944
- color: theme.palette.primary.main
9012
+ fill: theme.palette.primary.main,
9013
+ "& :hover": {
9014
+ fill: theme.palette.primary.dark
9015
+ }
8945
9016
  }
8946
9017
  }
8947
9018
  }
@@ -8949,6 +9020,8 @@ const EventUiSchema = (theme) => {
8949
9020
  {
8950
9021
  accessorKey: "Reject_Records",
8951
9022
  header: "Delete",
9023
+ type: "action",
9024
+ size: 150,
8952
9025
  widget: {
8953
9026
  type: "Control",
8954
9027
  scope: "#/properties/RejectButton",
@@ -8957,10 +9030,15 @@ const EventUiSchema = (theme) => {
8957
9030
  },
8958
9031
  config: {
8959
9032
  main: {
8960
- icon: "RejectIcon",
8961
- color: "error",
9033
+ icon: "Bin",
8962
9034
  tooltipMessage: "Reject This Record",
8963
9035
  onClick: "deletePopUpEvent"
9036
+ },
9037
+ style: {
9038
+ fill: theme.palette.primary.main,
9039
+ "& :hover": {
9040
+ fill: theme.palette.primary.dark
9041
+ }
8964
9042
  }
8965
9043
  }
8966
9044
  }
@@ -8968,7 +9046,8 @@ const EventUiSchema = (theme) => {
8968
9046
  {
8969
9047
  header: "Copy",
8970
9048
  field: "Copy_Event",
8971
- flex: 1,
9049
+ type: "action",
9050
+ size: 150,
8972
9051
  widget: {
8973
9052
  type: "Control",
8974
9053
  scope: "#/properties/Copy_Event",
@@ -8989,103 +9068,59 @@ const EventUiSchema = (theme) => {
8989
9068
  ]
8990
9069
  },
8991
9070
  {
8992
- type: "HorizontalLayout",
9071
+ type: "WrapperLayout",
8993
9072
  config: {
8994
- layout: { xs: 12, sm: 6 }
9073
+ main: {
9074
+ gap: "8px"
9075
+ }
8995
9076
  },
8996
9077
  elements: [
8997
9078
  {
8998
9079
  type: "Control",
8999
- scope: "#/properties/RemoveItemButton",
9080
+ scope: "#/properties/btn",
9000
9081
  options: {
9001
- widget: "IconButton"
9082
+ widget: "Button"
9002
9083
  },
9003
9084
  config: {
9004
- layout: { xs: 1, sm: 1 },
9085
+ layout: { xs: 4, sm: 2.5, md: 2, lg: 1.5 },
9005
9086
  main: {
9006
- onClick: "RemoveItemButton",
9007
- size: "large",
9008
- icon: "RejectIcon",
9009
- styleDefault: true
9010
- },
9011
- style: {
9012
- marginLeft: "-10px"
9087
+ name: "Ok",
9088
+ variant: "contained",
9089
+ type: "text",
9090
+ onClick: "okHandler",
9091
+ size: "medium"
9013
9092
  }
9014
9093
  }
9015
9094
  },
9016
9095
  {
9017
9096
  type: "Control",
9018
- scope: "#/properties/copiedElementDetails",
9097
+ scope: "#/properties/btnSubmit",
9019
9098
  options: {
9020
- widget: "Box"
9099
+ widget: "Button"
9021
9100
  },
9022
9101
  config: {
9023
- layout: { xs: 6, sm: 6 },
9102
+ layout: { xs: 4, sm: 2.5, md: 2, lg: 1.5 },
9024
9103
  main: {
9025
- heading: "No element copied"
9026
- },
9027
- style: {
9028
- color: "#535557",
9029
- marginLeft: "-10px",
9030
- fontSize: "12px",
9031
- marginTop: "4px"
9104
+ name: "Save & Exit",
9105
+ variant: "contained",
9106
+ type: "text",
9107
+ onClick: "saveHandler",
9108
+ size: "medium"
9032
9109
  }
9033
9110
  }
9034
9111
  },
9035
9112
  {
9036
9113
  type: "Control",
9037
9114
  scope: "#/properties/EmptyBox",
9115
+ config: {
9116
+ layout: { xs: 4, sm: 7, md: 8, lg: 9 }
9117
+ },
9038
9118
  options: {
9039
9119
  widget: "EmptyBox"
9040
- },
9041
- config: {
9042
- layout: { xs: 1, sm: 5 }
9043
9120
  }
9044
9121
  }
9045
9122
  ]
9046
9123
  },
9047
- {
9048
- type: "Control",
9049
- scope: "#/properties/btn",
9050
- options: {
9051
- widget: "Button"
9052
- },
9053
- config: {
9054
- layout: { xs: 4, sm: 2 },
9055
- main: {
9056
- name: "Ok",
9057
- startIcon: "ApproveIcon",
9058
- variant: "contained",
9059
- type: "text",
9060
- onClick: "okHandler",
9061
- size: "medium"
9062
- },
9063
- style: {
9064
- float: "right"
9065
- }
9066
- }
9067
- },
9068
- {
9069
- type: "Control",
9070
- scope: "#/properties/btnSubmit",
9071
- options: {
9072
- widget: "Button"
9073
- },
9074
- config: {
9075
- layout: { xs: 4, sm: 2 },
9076
- main: {
9077
- name: "Save & Exit",
9078
- startIcon: "ApproveIcon",
9079
- variant: "contained",
9080
- type: "text",
9081
- onClick: "saveHandler",
9082
- size: "medium"
9083
- },
9084
- style: {
9085
- float: "right"
9086
- }
9087
- }
9088
- },
9089
9124
  {
9090
9125
  type: "Control",
9091
9126
  scope: "#/properties/popUpEvent",
@@ -9209,6 +9244,30 @@ const EventUiSchema = (theme) => {
9209
9244
  }
9210
9245
  ]
9211
9246
  },
9247
+ {
9248
+ type: "Control",
9249
+ scope: "#/properties/pageName",
9250
+ options: {
9251
+ widget: "Box"
9252
+ },
9253
+ config: {
9254
+ layout: 12,
9255
+ main: {
9256
+ heading: ""
9257
+ },
9258
+ style: {
9259
+ paddingLeft: theme.spacing(3),
9260
+ width: "100%",
9261
+ fontSize: "10px",
9262
+ color: theme.palette.grey[600],
9263
+ position: "fixed",
9264
+ bottom: "24px",
9265
+ backgroundColor: theme.palette.background.default,
9266
+ borderBottom: `1px solid ${theme.palette.common.black}29`,
9267
+ borderTop: `1px solid ${theme.palette.common.black}29`
9268
+ }
9269
+ }
9270
+ },
9212
9271
  {
9213
9272
  type: "Control",
9214
9273
  scope: "#/properties/notify",
@@ -9226,7 +9285,7 @@ const EventUiSchema = (theme) => {
9226
9285
  style: {
9227
9286
  flexDirection: "row",
9228
9287
  position: "absolute",
9229
- bottom: 0,
9288
+ bottom: 10,
9230
9289
  height: "fit-content",
9231
9290
  overflow: "hidden",
9232
9291
  zIndex: 1e3,
@@ -9245,78 +9304,19 @@ const EventUiSchema = (theme) => {
9245
9304
  heading: "Copywriter@ACT21.IO"
9246
9305
  },
9247
9306
  style: {
9248
- color: ((_b = (_a = theme == null ? void 0 : theme.palette) == null ? void 0 : _a.text) == null ? void 0 : _b.disabled) || "#AFAFAF",
9307
+ color: ((_a = theme == null ? void 0 : theme.palette) == null ? void 0 : _a.text.disabled) || "#AFAFAF",
9249
9308
  fontSize: "11px",
9250
9309
  textAlign: "center",
9251
- lineHeight: 2,
9310
+ lineHeight: 0,
9252
9311
  width: "fit-content",
9253
9312
  left: "50%",
9254
9313
  position: "relative",
9255
- margin: 0,
9314
+ margin: "revert",
9256
9315
  flexGrow: 1,
9257
9316
  height: 0,
9258
9317
  transform: "translate(-50%, 0%)"
9259
9318
  }
9260
9319
  }
9261
- },
9262
- {
9263
- type: "Control",
9264
- scope: "#/properties/FooterBackIcon",
9265
- options: {
9266
- widget: "Box"
9267
- },
9268
- config: {
9269
- main: {
9270
- iconName: "PrevIcon",
9271
- onClick: "backHandler",
9272
- width: "fit-content"
9273
- },
9274
- style: {
9275
- fill: (_d = (_c = theme == null ? void 0 : theme.palette) == null ? void 0 : _c.primary) == null ? void 0 : _d.main,
9276
- width: 20,
9277
- height: 0,
9278
- top: 0,
9279
- right: { xs: "12px", sm: "84px" },
9280
- position: "absolute",
9281
- fontSize: "12px",
9282
- cursor: "pointer",
9283
- ":hover": {
9284
- fill: (_f = (_e = theme == null ? void 0 : theme.palette) == null ? void 0 : _e.primary) == null ? void 0 : _f.dark
9285
- },
9286
- marginRight: "20px"
9287
- }
9288
- }
9289
- },
9290
- {
9291
- type: "Control",
9292
- scope: "#/properties/FooterBackHandlerText",
9293
- options: {
9294
- widget: "Box"
9295
- },
9296
- config: {
9297
- main: {
9298
- heading: "Previous Page",
9299
- onClick: "backHandler"
9300
- },
9301
- style: {
9302
- display: { xs: "none", sm: "flex" },
9303
- textAlign: "left",
9304
- lineHeight: 1,
9305
- height: 0,
9306
- width: "fit-content",
9307
- color: (_h = (_g = theme == null ? void 0 : theme.palette) == null ? void 0 : _g.primary) == null ? void 0 : _h.main,
9308
- fontSize: "12px",
9309
- cursor: "pointer",
9310
- marginLeft: "2px",
9311
- top: 3,
9312
- right: "12px",
9313
- position: "absolute",
9314
- ":hover": {
9315
- color: (_j = (_i = theme == null ? void 0 : theme.palette) == null ? void 0 : _i.primary) == null ? void 0 : _j.dark
9316
- },
9317
- marginRight: "4px"
9318
- }
9319
- }
9320
9320
  }
9321
9321
  ]
9322
9322
  }
@@ -9334,7 +9334,7 @@ const APISection = {
9334
9334
  widget: "SelectInputField"
9335
9335
  },
9336
9336
  config: {
9337
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
9337
+ layout: { xs: 6, sm: 6, md: 4, lg: 3 },
9338
9338
  main: {
9339
9339
  label: "Method",
9340
9340
  type: "text"
@@ -9348,7 +9348,7 @@ const APISection = {
9348
9348
  widget: "InputField"
9349
9349
  },
9350
9350
  config: {
9351
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
9351
+ layout: { xs: 6, sm: 6, md: 4, lg: 3 },
9352
9352
  main: {
9353
9353
  label: "Path",
9354
9354
  type: "text",
@@ -9364,116 +9364,132 @@ const APISection = {
9364
9364
  widget: "EmptyBox"
9365
9365
  },
9366
9366
  config: {
9367
- layout: { xs: 0, sm: 0, md: 4, lg: 4 }
9367
+ layout: { xs: 0, sm: 0, md: 4, lg: 6 }
9368
9368
  }
9369
9369
  },
9370
9370
  {
9371
9371
  type: "Control",
9372
- scope: "#/properties/emptyBox",
9372
+ scope: "#/properties/headers",
9373
9373
  options: {
9374
- widget: "EmptyBox"
9374
+ widget: "Array"
9375
9375
  },
9376
9376
  config: {
9377
- layout: { xs: 0, sm: 0, md: 4, lg: 4 }
9378
- }
9379
- },
9380
- {
9381
- type: "Control",
9382
- scope: "#/properties/headers",
9383
- layout: 11.5,
9384
- options: {
9385
- "elementLabelProp": "key",
9386
- detail: {
9387
- type: "HorizontalLayout",
9388
- elements: [
9389
- {
9390
- type: "Control",
9391
- scope: "#/properties/key",
9392
- options: {
9393
- widget: "InputField"
9394
- },
9395
- config: {
9396
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
9397
- main: {
9398
- label: "Key"
9399
- }
9400
- }
9401
- },
9402
- {
9403
- type: "Control",
9404
- scope: "#/properties/value",
9405
- options: {
9406
- widget: "InputField"
9407
- },
9408
- config: {
9409
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
9410
- main: {
9411
- label: "Value"
9412
- }
9413
- }
9414
- },
9415
- {
9416
- type: "Control",
9417
- scope: "#/properties/emptyBox",
9418
- options: {
9419
- widget: "EmptyBox"
9420
- },
9421
- config: {
9422
- layout: { xs: 0, sm: 0, md: 4, lg: 4 }
9423
- }
9377
+ layout: 12,
9378
+ main: {
9379
+ label: "Headers",
9380
+ childElementLabel: "Headers"
9381
+ },
9382
+ style: {
9383
+ marginLeft: "-24px",
9384
+ marginBottom: "24px !important",
9385
+ labelStyle: {
9386
+ marginLeft: "24px"
9387
+ },
9388
+ detailsStyle: {
9389
+ marginLeft: "24px"
9390
+ }
9391
+ }
9392
+ },
9393
+ elements: [
9394
+ {
9395
+ type: "Control",
9396
+ scope: "#/properties/key",
9397
+ options: {
9398
+ widget: "InputField"
9399
+ },
9400
+ config: {
9401
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
9402
+ main: {
9403
+ label: "Key"
9424
9404
  }
9425
- ]
9405
+ }
9406
+ },
9407
+ {
9408
+ type: "Control",
9409
+ scope: "#/properties/value",
9410
+ options: {
9411
+ widget: "InputField"
9412
+ },
9413
+ config: {
9414
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
9415
+ main: {
9416
+ label: "Value"
9417
+ }
9418
+ }
9419
+ },
9420
+ {
9421
+ type: "Control",
9422
+ scope: "#/properties/emptyBox",
9423
+ options: {
9424
+ widget: "EmptyBox"
9425
+ },
9426
+ config: {
9427
+ layout: { xs: 0, sm: 0, md: 4, lg: 4 }
9428
+ }
9426
9429
  }
9427
- }
9430
+ ]
9428
9431
  },
9429
9432
  {
9430
9433
  type: "Control",
9431
9434
  scope: "#/properties/body",
9432
- layout: 11.5,
9433
9435
  options: {
9434
- "elementLabelProp": "key",
9435
- detail: {
9436
- type: "HorizontalLayout",
9437
- elements: [
9438
- {
9439
- type: "Control",
9440
- scope: "#/properties/key",
9441
- options: {
9442
- widget: "InputField"
9443
- },
9444
- config: {
9445
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
9446
- main: {
9447
- label: "Key"
9448
- }
9449
- }
9450
- },
9451
- {
9452
- type: "Control",
9453
- scope: "#/properties/value",
9454
- options: {
9455
- widget: "InputField"
9456
- },
9457
- config: {
9458
- layout: { xs: 6, sm: 6, md: 4, lg: 4 },
9459
- main: {
9460
- label: "Value"
9461
- }
9462
- }
9463
- },
9464
- {
9465
- type: "Control",
9466
- scope: "#/properties/emptyBox",
9467
- options: {
9468
- widget: "EmptyBox"
9469
- },
9470
- config: {
9471
- layout: { xs: 0, sm: 0, md: 4, lg: 4 }
9472
- }
9436
+ widget: "Array"
9437
+ },
9438
+ config: {
9439
+ layout: 12,
9440
+ main: {
9441
+ label: "Body",
9442
+ childElementLabel: "Body"
9443
+ },
9444
+ style: {
9445
+ marginLeft: "-24px",
9446
+ marginBottom: "24px !important",
9447
+ labelStyle: {
9448
+ marginLeft: "24px"
9449
+ },
9450
+ detailsStyle: {
9451
+ marginLeft: "24px"
9452
+ }
9453
+ }
9454
+ },
9455
+ elements: [
9456
+ {
9457
+ type: "Control",
9458
+ scope: "#/properties/key",
9459
+ options: {
9460
+ widget: "InputField"
9461
+ },
9462
+ config: {
9463
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
9464
+ main: {
9465
+ label: "Key"
9473
9466
  }
9474
- ]
9467
+ }
9468
+ },
9469
+ {
9470
+ type: "Control",
9471
+ scope: "#/properties/value",
9472
+ options: {
9473
+ widget: "InputField"
9474
+ },
9475
+ config: {
9476
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
9477
+ main: {
9478
+ label: "Value"
9479
+ }
9480
+ }
9481
+ },
9482
+ {
9483
+ type: "Control",
9484
+ scope: "#/properties/emptyBox",
9485
+ options: {
9486
+ widget: "EmptyBox"
9487
+ },
9488
+ config: {
9489
+ layout: { xs: 0, sm: 0, md: 4, lg: 4 }
9490
+ }
9475
9491
  }
9476
- }
9492
+ ]
9477
9493
  },
9478
9494
  getTextArea("apiBody", "Transformer", true, 12)
9479
9495
  ]
@@ -9484,64 +9500,55 @@ const refreshSectionUiSchema = {
9484
9500
  {
9485
9501
  type: "Control",
9486
9502
  scope: "#/properties/refreshElements",
9487
- layout: 11.5,
9488
9503
  options: {
9489
- detail: {
9490
- type: "HorizontalLayout",
9491
- elements: [
9492
- {
9493
- type: "Control",
9494
- scope: "#/properties/value",
9495
- options: {
9496
- widget: "InputField"
9497
- },
9498
- config: {
9499
- layout: { xs: 12, sm: 6, md: 4, lg: 4 },
9500
- main: {
9501
- label: "Value"
9502
- }
9503
- }
9504
- },
9505
- {
9506
- type: "Control",
9507
- scope: "#/properties/emptyBox",
9508
- options: {
9509
- widget: "EmptyBox"
9510
- },
9511
- config: {
9512
- layout: { xs: 0, sm: 6, md: 4, lg: 4 },
9513
- main: {}
9514
- }
9515
- },
9516
- {
9517
- type: "Control",
9518
- scope: "#/properties/emptyBox",
9519
- options: {
9520
- widget: "EmptyBox"
9521
- },
9522
- config: {
9523
- layout: { xs: 0, sm: 0, md: 4, lg: 4 },
9524
- main: {}
9525
- }
9504
+ widget: "Array"
9505
+ },
9506
+ config: {
9507
+ layout: 12,
9508
+ main: {
9509
+ label: "Refresh Elements",
9510
+ childElementLabel: "Refresh Elements"
9511
+ },
9512
+ style: {
9513
+ marginLeft: "-24px",
9514
+ marginBottom: "24px !important",
9515
+ labelStyle: {
9516
+ marginLeft: "24px"
9517
+ },
9518
+ detailsStyle: {
9519
+ marginLeft: "24px"
9520
+ }
9521
+ }
9522
+ },
9523
+ elements: [
9524
+ {
9525
+ type: "Control",
9526
+ scope: "#/properties/value",
9527
+ options: {
9528
+ widget: "InputField"
9529
+ },
9530
+ config: {
9531
+ layout: { xs: 6, sm: 6, md: 4, lg: 4 },
9532
+ main: {
9533
+ label: "Value"
9526
9534
  }
9527
- ]
9535
+ }
9536
+ },
9537
+ {
9538
+ type: "Control",
9539
+ scope: "#/properties/emptyBox",
9540
+ options: {
9541
+ widget: "EmptyBox"
9542
+ },
9543
+ config: {
9544
+ layout: { xs: 6, sm: 6, md: 8, lg: 8 },
9545
+ main: {}
9546
+ }
9528
9547
  }
9529
- }
9548
+ ]
9530
9549
  }
9531
9550
  ]
9532
9551
  };
9533
- var emptyBox = {
9534
- type: "Control",
9535
- scope: "#/properties/emptyBox",
9536
- options: {
9537
- widget: "EmptyBox"
9538
- },
9539
- config: {
9540
- layout: { xs: 0, sm: 4, md: 4, lg: 4 },
9541
- main: {},
9542
- style: {}
9543
- }
9544
- };
9545
9552
  var event = (store2, dynamicData2, submitHandler, service2, functionsName) => {
9546
9553
  return {
9547
9554
  setPage: async function() {
@@ -9556,44 +9563,44 @@ var event = (store2, dynamicData2, submitHandler, service2, functionsName) => {
9556
9563
  const schema2 = _.cloneDeep(EventSchema);
9557
9564
  if (handlerType) {
9558
9565
  if (handlerType === "custom") {
9559
- uiSchema.elements[1].elements[0].elements[2] = getRadioInputField("isSync", "Run in Sync", ["Yes", "No"]);
9560
- uiSchema.elements[1].elements[0].elements[3] = {
9566
+ uiSchema.elements[0].elements[0].elements[2] = getRadioInputField("isSync", "Run in Sync", ["Yes", "No"]);
9567
+ uiSchema.elements[0].elements[0].elements[3] = {
9561
9568
  type: "Control",
9562
9569
  scope: "#/properties/emptyBox",
9563
9570
  options: {
9564
9571
  widget: "EmptyBox"
9565
9572
  },
9566
9573
  config: {
9567
- layout: { xs: 0, sm: 6, md: 0, lg: 0 },
9574
+ layout: { xs: 6, sm: 6, md: 0, lg: 3 },
9568
9575
  main: {},
9569
9576
  style: {}
9570
9577
  }
9571
9578
  };
9572
- uiSchema.elements[1].elements[0].elements[4] = getTextArea("eventCode", "Write Custom Code", false);
9579
+ uiSchema.elements[0].elements[0].elements[4] = getTextArea("eventCode", "Write Custom Code", false);
9573
9580
  schema2.required = ["eventType", "Handler", "eventCode"];
9574
9581
  } else if (handlerType === "api") {
9575
- uiSchema.elements[1].elements[0].elements[2] = emptyBox;
9576
- uiSchema.elements[1].elements[0].elements[3] = APISection;
9582
+ uiSchema.elements[0].elements[0].elements[2] = emptyBox$1("emptyBox", { xs: 0, sm: 0, md: 4, lg: 6 });
9583
+ uiSchema.elements[0].elements[0].elements[3] = APISection;
9577
9584
  schema2.required = ["eventType", "Handler", "method", "path"];
9578
9585
  } else if (handlerType === "inBuiltFunction") {
9579
- uiSchema.elements[1].elements[0].elements[2] = getSelectField("inBuiltFunctionType", "Function Name");
9580
- uiSchema.elements[1].elements[0].elements[3] = {
9586
+ uiSchema.elements[0].elements[0].elements[2] = getSelectField("inBuiltFunctionType", "Function Name");
9587
+ uiSchema.elements[0].elements[0].elements[3] = {
9581
9588
  type: "Control",
9582
9589
  scope: "#/properties/emptyBox",
9583
9590
  options: {
9584
9591
  widget: "EmptyBox"
9585
9592
  },
9586
9593
  config: {
9587
- layout: { xs: 6, sm: 6, md: 0, lg: 0 },
9594
+ layout: { xs: 6, sm: 6, md: 0, lg: 3 },
9588
9595
  main: {},
9589
9596
  style: {}
9590
9597
  }
9591
9598
  };
9592
- uiSchema.elements[1].elements[0].elements[4] = getTextArea("funcParametersCode", "Write Custom Code for Functions Parameter", true);
9599
+ uiSchema.elements[0].elements[0].elements[4] = getTextArea("funcParametersCode", "Write Custom Code for Functions Parameter", true);
9593
9600
  schema2.required = ["eventType", "Handler", "inBuiltFunctionType"];
9594
9601
  } else if (handlerType === "refresh") {
9595
- uiSchema.elements[1].elements[0].elements[2] = emptyBox;
9596
- uiSchema.elements[1].elements[0].elements[3] = refreshSectionUiSchema;
9602
+ uiSchema.elements[0].elements[0].elements[2] = emptyBox$1("emptyBox", { xs: 0, sm: 0, md: 4, lg: 6 });
9603
+ uiSchema.elements[0].elements[0].elements[3] = refreshSectionUiSchema;
9597
9604
  schema2.properties.refreshElements.required = ["value"];
9598
9605
  schema2.properties.refreshElements.items.required = ["value"];
9599
9606
  schema2.required = ["eventType", "Handler", "refreshElements"];
@@ -11649,6 +11656,18 @@ const buildRadio = (config2, componentScope2) => {
11649
11656
  }
11650
11657
  return Radio;
11651
11658
  };
11659
+ var emptyBox = {
11660
+ type: "Control",
11661
+ scope: "#/properties/emptyBox",
11662
+ options: {
11663
+ widget: "EmptyBox"
11664
+ },
11665
+ config: {
11666
+ layout: { xs: 0, sm: 4, md: 4, lg: 4 },
11667
+ main: {},
11668
+ style: {}
11669
+ }
11670
+ };
11652
11671
  const buildEmptyBox = (config2, componentScope2) => {
11653
11672
  const EmptyBox = _.cloneDeep(emptyBox);
11654
11673
  if (config2.layout) {