impaktapps-ui-builder 0.0.101-alpha.9 → 0.0.101-alpha.91
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.
- package/dist/impaktapps-ui-builder.es.js +1134 -809
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +15 -15
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/apiSection.d.ts +62 -59
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.d.ts +17 -21
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/coreSection.d.ts +98 -95
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/eventSection.d.ts +26 -33
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/refresh.d.ts +52 -38
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/styleSection.d.ts +7 -8
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/tableSection.d.ts +29 -33
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/validationSections.d.ts +56 -37
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/valueTab.d.ts +56 -36
- package/dist/src/impaktapps-ui-builder/builder/elements/UiSchema/event/schema.d.ts +6 -0
- package/dist/src/impaktapps-ui-builder/builder/services/event.d.ts +6 -0
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildText.ts +21 -18
- package/src/impaktapps-ui-builder/builder/build/buildUiSchema.ts +14 -10
- package/src/impaktapps-ui-builder/builder/build/uischema/apiSection.ts +111 -96
- package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +101 -95
- package/src/impaktapps-ui-builder/builder/build/uischema/coreSection.ts +189 -110
- package/src/impaktapps-ui-builder/builder/build/uischema/eventSection.ts +39 -17
- package/src/impaktapps-ui-builder/builder/build/uischema/refresh.ts +44 -44
- package/src/impaktapps-ui-builder/builder/build/uischema/styleSection.ts +9 -13
- package/src/impaktapps-ui-builder/builder/build/uischema/tableSection.ts +40 -18
- package/src/impaktapps-ui-builder/builder/build/uischema/validationSections.ts +117 -48
- package/src/impaktapps-ui-builder/builder/build/uischema/valueTab.ts +113 -45
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/schema.ts +23 -23
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/uiSchema.ts +119 -51
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/uiSchema.ts +30 -21
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/schema.ts +15 -12
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/uiSchema.ts +188 -295
- package/src/impaktapps-ui-builder/builder/services/component.ts +146 -32
- package/src/impaktapps-ui-builder/builder/services/event.ts +167 -65
- package/src/impaktapps-ui-builder/runtime/services/events.ts +8 -1
- package/src/impaktapps-ui-builder/runtime/services/service.ts +5 -4
|
@@ -182,9 +182,10 @@ const PageMasterUiSchema = (theme) => {
|
|
|
182
182
|
main: {
|
|
183
183
|
onClick: "copyPasteElement",
|
|
184
184
|
size: "small",
|
|
185
|
-
icon: "
|
|
185
|
+
icon: "TablePaste",
|
|
186
186
|
iconLabel: "Paste",
|
|
187
|
-
styleDefault: true
|
|
187
|
+
styleDefault: true,
|
|
188
|
+
title: ""
|
|
188
189
|
},
|
|
189
190
|
style: {
|
|
190
191
|
mt: "6px",
|
|
@@ -339,7 +340,7 @@ const PageMasterUiSchema = (theme) => {
|
|
|
339
340
|
main: {
|
|
340
341
|
onClick: "copyPasteElement",
|
|
341
342
|
size: "small",
|
|
342
|
-
icon: "
|
|
343
|
+
icon: "TablePaste",
|
|
343
344
|
iconLabel: "Paste",
|
|
344
345
|
styleDefault: true
|
|
345
346
|
},
|
|
@@ -365,19 +366,19 @@ const PageMasterUiSchema = (theme) => {
|
|
|
365
366
|
elements: [
|
|
366
367
|
{
|
|
367
368
|
accessorKey: "eventType",
|
|
368
|
-
header: "Event Type",
|
|
369
|
+
header: "Event's Type",
|
|
369
370
|
size: 300,
|
|
370
371
|
type: "string"
|
|
371
372
|
},
|
|
372
373
|
{
|
|
373
374
|
accessorKey: "Handler",
|
|
374
375
|
header: "Handler",
|
|
375
|
-
size:
|
|
376
|
+
size: 200,
|
|
376
377
|
type: "string"
|
|
377
378
|
},
|
|
378
379
|
{
|
|
379
380
|
accessorKey: "Edit_Approve_Records",
|
|
380
|
-
header: "Edit
|
|
381
|
+
header: "Edit",
|
|
381
382
|
type: "action",
|
|
382
383
|
size: 150,
|
|
383
384
|
widget: {
|
|
@@ -405,6 +406,8 @@ const PageMasterUiSchema = (theme) => {
|
|
|
405
406
|
{
|
|
406
407
|
accessorKey: "Reject_Records",
|
|
407
408
|
header: "Delete",
|
|
409
|
+
type: "action",
|
|
410
|
+
size: 150,
|
|
408
411
|
widget: {
|
|
409
412
|
type: "Control",
|
|
410
413
|
scope: "#/properties/RejectButton",
|
|
@@ -429,7 +432,8 @@ const PageMasterUiSchema = (theme) => {
|
|
|
429
432
|
{
|
|
430
433
|
header: "Copy",
|
|
431
434
|
field: "Copy_Event",
|
|
432
|
-
|
|
435
|
+
type: "action",
|
|
436
|
+
size: 150,
|
|
433
437
|
widget: {
|
|
434
438
|
type: "Control",
|
|
435
439
|
scope: "#/properties/Copy_Event",
|
|
@@ -521,15 +525,17 @@ const PageMasterUiSchema = (theme) => {
|
|
|
521
525
|
config: {
|
|
522
526
|
layout: 11,
|
|
523
527
|
main: {
|
|
524
|
-
heading: "Are you sure you want to delete ?"
|
|
528
|
+
heading: "Are you sure you want to delete this Component ?"
|
|
525
529
|
},
|
|
526
530
|
style: {
|
|
527
|
-
marginTop: "-20px",
|
|
528
531
|
fontSize: "20px",
|
|
529
532
|
"&.MuiTypography-root": {
|
|
530
|
-
padding: "
|
|
533
|
+
padding: "0px 20px",
|
|
531
534
|
textAlign: "center",
|
|
532
|
-
lineHeight: "1"
|
|
535
|
+
lineHeight: "1.2",
|
|
536
|
+
fontWeight: "normal",
|
|
537
|
+
fontSize: "18px",
|
|
538
|
+
marginBottom: theme.spacing(5)
|
|
533
539
|
}
|
|
534
540
|
}
|
|
535
541
|
}
|
|
@@ -551,15 +557,15 @@ const PageMasterUiSchema = (theme) => {
|
|
|
551
557
|
layout: 6,
|
|
552
558
|
main: {
|
|
553
559
|
name: "No",
|
|
554
|
-
startIcon: "ApproveIcon",
|
|
555
560
|
variant: "contained",
|
|
556
|
-
color: "info",
|
|
557
561
|
type: "text",
|
|
558
562
|
onClick: "deletePopUpComponent",
|
|
559
563
|
size: "large"
|
|
560
564
|
},
|
|
561
565
|
style: {
|
|
562
566
|
position: "absolute",
|
|
567
|
+
padding: "8px 0px",
|
|
568
|
+
fontSize: "16px",
|
|
563
569
|
bottom: 0,
|
|
564
570
|
left: 0,
|
|
565
571
|
width: "50%",
|
|
@@ -587,7 +593,6 @@ const PageMasterUiSchema = (theme) => {
|
|
|
587
593
|
layout: 6,
|
|
588
594
|
main: {
|
|
589
595
|
name: "Yes",
|
|
590
|
-
startIcon: "ApproveIcon",
|
|
591
596
|
variant: "contained",
|
|
592
597
|
color: "error",
|
|
593
598
|
type: "text",
|
|
@@ -596,6 +601,8 @@ const PageMasterUiSchema = (theme) => {
|
|
|
596
601
|
},
|
|
597
602
|
style: {
|
|
598
603
|
position: "absolute",
|
|
604
|
+
padding: "8px 0px",
|
|
605
|
+
fontSize: "16px",
|
|
599
606
|
bottom: 0,
|
|
600
607
|
right: 0,
|
|
601
608
|
width: "50%",
|
|
@@ -644,15 +651,17 @@ const PageMasterUiSchema = (theme) => {
|
|
|
644
651
|
config: {
|
|
645
652
|
layout: 11,
|
|
646
653
|
main: {
|
|
647
|
-
heading: "Are you sure you want to delete ?"
|
|
654
|
+
heading: "Are you sure you want to delete this Event ?"
|
|
648
655
|
},
|
|
649
656
|
style: {
|
|
650
|
-
marginTop: "-20px",
|
|
651
657
|
fontSize: "20px",
|
|
652
658
|
"&.MuiTypography-root": {
|
|
653
|
-
padding: "
|
|
659
|
+
padding: "0px 20px",
|
|
654
660
|
textAlign: "center",
|
|
655
|
-
lineHeight: "1"
|
|
661
|
+
lineHeight: "1.2",
|
|
662
|
+
fontWeight: "normal",
|
|
663
|
+
fontSize: "18px",
|
|
664
|
+
marginBottom: theme.spacing(5)
|
|
656
665
|
}
|
|
657
666
|
}
|
|
658
667
|
}
|
|
@@ -674,15 +683,15 @@ const PageMasterUiSchema = (theme) => {
|
|
|
674
683
|
layout: 6,
|
|
675
684
|
main: {
|
|
676
685
|
name: "No",
|
|
677
|
-
startIcon: "ApproveIcon",
|
|
678
686
|
variant: "contained",
|
|
679
|
-
color: "info",
|
|
680
687
|
type: "text",
|
|
681
688
|
onClick: "deletePopUpEvent",
|
|
682
689
|
size: "large"
|
|
683
690
|
},
|
|
684
691
|
style: {
|
|
685
692
|
position: "absolute",
|
|
693
|
+
padding: "8px 0px",
|
|
694
|
+
fontSize: "16px",
|
|
686
695
|
bottom: 0,
|
|
687
696
|
left: 0,
|
|
688
697
|
width: "50%",
|
|
@@ -710,7 +719,6 @@ const PageMasterUiSchema = (theme) => {
|
|
|
710
719
|
layout: 6,
|
|
711
720
|
main: {
|
|
712
721
|
name: "Yes",
|
|
713
|
-
startIcon: "ApproveIcon",
|
|
714
722
|
variant: "contained",
|
|
715
723
|
color: "error",
|
|
716
724
|
type: "text",
|
|
@@ -719,6 +727,8 @@ const PageMasterUiSchema = (theme) => {
|
|
|
719
727
|
},
|
|
720
728
|
style: {
|
|
721
729
|
position: "absolute",
|
|
730
|
+
padding: "8px 0px",
|
|
731
|
+
fontSize: "16px",
|
|
722
732
|
bottom: 0,
|
|
723
733
|
right: 0,
|
|
724
734
|
width: "50%",
|
|
@@ -6240,44 +6250,44 @@ const ComponentSchema = {
|
|
|
6240
6250
|
properties: {
|
|
6241
6251
|
type: {
|
|
6242
6252
|
oneOf: [
|
|
6243
|
-
{ title: "
|
|
6253
|
+
{ title: "Masked Aadhar Card", const: "AadharcardText" },
|
|
6244
6254
|
{ title: "Array", const: "Array" },
|
|
6245
6255
|
{ title: "Button", const: "Button" },
|
|
6246
|
-
{ title: "Card", const: "card" },
|
|
6247
|
-
{ title: "
|
|
6256
|
+
{ title: "Data Card", const: "card" },
|
|
6257
|
+
{ title: "Check Box", const: "CheckBox" },
|
|
6248
6258
|
{ title: "Container", const: "WrapperSection" },
|
|
6249
|
-
{ title: "
|
|
6259
|
+
{ title: "Data Grid", const: "DataGrid" },
|
|
6250
6260
|
{ title: "Date", const: "Date" },
|
|
6251
|
-
{ title: "
|
|
6252
|
-
{ title: "Download
|
|
6261
|
+
{ title: "Time Stamp", const: "DateTime" },
|
|
6262
|
+
{ title: "Download", const: "DownloadFile" },
|
|
6253
6263
|
{ title: "Empty Box", const: "EmptyBox" },
|
|
6254
|
-
{ title: "File", const: "FileInput" },
|
|
6264
|
+
{ title: "File Handler", const: "FileInput" },
|
|
6255
6265
|
{ title: "Graph", const: "Graph" },
|
|
6256
6266
|
{ title: "Input Slider", const: "InputSlider" },
|
|
6257
6267
|
{ title: "Label", const: "Box" },
|
|
6258
|
-
{ title: "
|
|
6259
|
-
{ title: "
|
|
6260
|
-
{ title: "
|
|
6261
|
-
{ title: "
|
|
6262
|
-
{ title: "
|
|
6263
|
-
{ title: "
|
|
6264
|
-
{ title: "
|
|
6268
|
+
{ title: "Leaderboard", const: "LeaderBoard" },
|
|
6269
|
+
{ title: "Multi-Select Dropdown", const: "MultipleSelect" },
|
|
6270
|
+
{ title: "Pan Card Masked", const: "PanCardText" },
|
|
6271
|
+
{ title: "Pop Up", const: "PopUp" },
|
|
6272
|
+
{ title: "Progress Bar", const: "ProgressBar" },
|
|
6273
|
+
{ title: "Progress Bar Card", const: "ProgressBarCard" },
|
|
6274
|
+
{ title: "Dropdown", const: "Select" },
|
|
6265
6275
|
{ title: "Slider", const: "Slider" },
|
|
6266
|
-
{ title: "
|
|
6276
|
+
{ title: "Speedometer", const: "SpeedoMeter" },
|
|
6267
6277
|
{ title: "Stepper Container", const: "Stepper" },
|
|
6268
6278
|
{ title: "Radio", const: "Radio" },
|
|
6269
6279
|
{ title: "Rank", const: "Rank" },
|
|
6270
6280
|
{ title: "Rank Card", const: "RankCard" },
|
|
6271
|
-
{ title: "Runner Boy
|
|
6281
|
+
{ title: "Runner Boy", const: "RunnerBoyProgressBar" },
|
|
6272
6282
|
{ title: "Table", const: "Table" },
|
|
6273
6283
|
{ title: "Tabs", const: "TabSection" },
|
|
6274
6284
|
{ title: "Text", const: "Text" },
|
|
6275
6285
|
{ title: "Text Area", const: "TextArea" },
|
|
6276
6286
|
{ title: "Timer", const: "Timer" },
|
|
6277
|
-
{ title: "Upload
|
|
6278
|
-
{ title: "
|
|
6279
|
-
{ title: "
|
|
6280
|
-
{ title: "Thought of the
|
|
6287
|
+
{ title: "Upload", const: "UploadFile" },
|
|
6288
|
+
{ title: "Tree ", const: "TreeMap" },
|
|
6289
|
+
{ title: "Column Group", const: "ColumnGroup" },
|
|
6290
|
+
{ title: "Thought of the day", const: "Thought" },
|
|
6281
6291
|
{ title: "Pdf Viewer", const: "PdfViewer" }
|
|
6282
6292
|
]
|
|
6283
6293
|
},
|
|
@@ -6432,23 +6442,20 @@ const ComponentSchema = {
|
|
|
6432
6442
|
}
|
|
6433
6443
|
},
|
|
6434
6444
|
filteringOptions: {
|
|
6435
|
-
|
|
6436
|
-
|
|
6437
|
-
|
|
6438
|
-
|
|
6439
|
-
|
|
6440
|
-
|
|
6441
|
-
|
|
6442
|
-
|
|
6443
|
-
|
|
6444
|
-
|
|
6445
|
-
|
|
6446
|
-
|
|
6447
|
-
|
|
6448
|
-
|
|
6449
|
-
{ const: "lessThanOrEqualTo", title: "Less than or equal to" }
|
|
6450
|
-
]
|
|
6451
|
-
}
|
|
6445
|
+
oneOf: [
|
|
6446
|
+
{ const: "fuzzy", title: "Fuzzy" },
|
|
6447
|
+
{ const: "contains", title: "Contain" },
|
|
6448
|
+
{ const: "startsWith", title: "Starts with" },
|
|
6449
|
+
{ const: "endsWith", title: "Ends with" },
|
|
6450
|
+
{ const: "equals", title: "Equals" },
|
|
6451
|
+
{ const: "notEquals", title: "Not Equals" },
|
|
6452
|
+
{ const: "between", title: "Between" },
|
|
6453
|
+
{ const: "betweenInclusive", title: "Between inclusive" },
|
|
6454
|
+
{ const: "greaterThan", title: "Greater than" },
|
|
6455
|
+
{ const: "greaterThanOrEqualTo", title: "Greater than or equal to" },
|
|
6456
|
+
{ const: "lessThan", title: "Less than" },
|
|
6457
|
+
{ const: "lessThanOrEqualTo", title: "Less than or equal to" }
|
|
6458
|
+
]
|
|
6452
6459
|
},
|
|
6453
6460
|
legendLabels: {
|
|
6454
6461
|
type: "array",
|
|
@@ -6564,6 +6571,9 @@ const ComponentSchema = {
|
|
|
6564
6571
|
{ title: "Info", const: "info" }
|
|
6565
6572
|
]
|
|
6566
6573
|
},
|
|
6574
|
+
pageName: {
|
|
6575
|
+
path: []
|
|
6576
|
+
},
|
|
6567
6577
|
name: {
|
|
6568
6578
|
type: "string"
|
|
6569
6579
|
},
|
|
@@ -6606,7 +6616,7 @@ const componentBasicUiSchema = (theme) => {
|
|
|
6606
6616
|
type: "WrapperLayout",
|
|
6607
6617
|
config: {
|
|
6608
6618
|
main: {
|
|
6609
|
-
label: "",
|
|
6619
|
+
label: " ",
|
|
6610
6620
|
gap: "8px"
|
|
6611
6621
|
}
|
|
6612
6622
|
},
|
|
@@ -6644,8 +6654,6 @@ const componentBasicUiSchema = (theme) => {
|
|
|
6644
6654
|
layout: { xs: 12, sm: 6, md: 4, lg: 3 },
|
|
6645
6655
|
main: {
|
|
6646
6656
|
label: "Component ID",
|
|
6647
|
-
options: [],
|
|
6648
|
-
color: "secondary",
|
|
6649
6657
|
required: true
|
|
6650
6658
|
}
|
|
6651
6659
|
}
|
|
@@ -6746,48 +6754,58 @@ const componentBasicUiSchema = (theme) => {
|
|
|
6746
6754
|
]
|
|
6747
6755
|
},
|
|
6748
6756
|
{
|
|
6749
|
-
type: "
|
|
6750
|
-
scope: "#/properties/btn",
|
|
6751
|
-
options: {
|
|
6752
|
-
widget: "Button"
|
|
6753
|
-
},
|
|
6757
|
+
type: "WrapperLayout",
|
|
6754
6758
|
config: {
|
|
6755
|
-
layout: { xs: 4, sm: 2.5, md: 2, lg: 1.5 },
|
|
6756
6759
|
main: {
|
|
6757
|
-
|
|
6758
|
-
variant: "contained",
|
|
6759
|
-
type: "text",
|
|
6760
|
-
onClick: "okHandler",
|
|
6761
|
-
size: "medium"
|
|
6760
|
+
gap: "8px"
|
|
6762
6761
|
}
|
|
6763
|
-
}
|
|
6764
|
-
},
|
|
6765
|
-
{
|
|
6766
|
-
type: "Control",
|
|
6767
|
-
scope: "#/properties/btnSubmit",
|
|
6768
|
-
options: {
|
|
6769
|
-
widget: "Button"
|
|
6770
6762
|
},
|
|
6771
|
-
|
|
6772
|
-
|
|
6773
|
-
|
|
6774
|
-
|
|
6775
|
-
|
|
6776
|
-
|
|
6777
|
-
|
|
6778
|
-
|
|
6763
|
+
elements: [
|
|
6764
|
+
{
|
|
6765
|
+
type: "Control",
|
|
6766
|
+
scope: "#/properties/btn",
|
|
6767
|
+
options: {
|
|
6768
|
+
widget: "Button"
|
|
6769
|
+
},
|
|
6770
|
+
config: {
|
|
6771
|
+
layout: { xs: 4, sm: 2.5, md: 2, lg: 1.5 },
|
|
6772
|
+
main: {
|
|
6773
|
+
name: "Ok",
|
|
6774
|
+
variant: "contained",
|
|
6775
|
+
type: "text",
|
|
6776
|
+
onClick: "okHandler",
|
|
6777
|
+
size: "medium"
|
|
6778
|
+
}
|
|
6779
|
+
}
|
|
6780
|
+
},
|
|
6781
|
+
{
|
|
6782
|
+
type: "Control",
|
|
6783
|
+
scope: "#/properties/btnSubmit",
|
|
6784
|
+
options: {
|
|
6785
|
+
widget: "Button"
|
|
6786
|
+
},
|
|
6787
|
+
config: {
|
|
6788
|
+
layout: { xs: 4, sm: 2.5, md: 2, lg: 1.5 },
|
|
6789
|
+
main: {
|
|
6790
|
+
name: "Save & Exit",
|
|
6791
|
+
variant: "contained",
|
|
6792
|
+
type: "text",
|
|
6793
|
+
onClick: "saveHandler",
|
|
6794
|
+
size: "medium"
|
|
6795
|
+
}
|
|
6796
|
+
}
|
|
6797
|
+
},
|
|
6798
|
+
{
|
|
6799
|
+
type: "Control",
|
|
6800
|
+
scope: "#/properties/EmptyBox",
|
|
6801
|
+
config: {
|
|
6802
|
+
layout: { xs: 4, sm: 7, md: 8, lg: 9 }
|
|
6803
|
+
},
|
|
6804
|
+
options: {
|
|
6805
|
+
widget: "EmptyBox"
|
|
6806
|
+
}
|
|
6779
6807
|
}
|
|
6780
|
-
|
|
6781
|
-
},
|
|
6782
|
-
{
|
|
6783
|
-
type: "Control",
|
|
6784
|
-
scope: "#/properties/EmptyBox",
|
|
6785
|
-
config: {
|
|
6786
|
-
layout: { xs: 4, sm: 7, md: 8, lg: 9 }
|
|
6787
|
-
},
|
|
6788
|
-
options: {
|
|
6789
|
-
widget: "EmptyBox"
|
|
6790
|
-
}
|
|
6808
|
+
]
|
|
6791
6809
|
},
|
|
6792
6810
|
{
|
|
6793
6811
|
type: "Control",
|
|
@@ -6817,15 +6835,16 @@ const componentBasicUiSchema = (theme) => {
|
|
|
6817
6835
|
config: {
|
|
6818
6836
|
layout: 11,
|
|
6819
6837
|
main: {
|
|
6820
|
-
heading: "Are you sure you want to delete ?"
|
|
6838
|
+
heading: "Are you sure you want to delete this Component ?"
|
|
6821
6839
|
},
|
|
6822
6840
|
style: {
|
|
6823
|
-
marginTop: "-20px",
|
|
6824
|
-
fontSize: "20px",
|
|
6825
6841
|
"&.MuiTypography-root": {
|
|
6826
|
-
padding: "
|
|
6842
|
+
padding: "0px 20px",
|
|
6827
6843
|
textAlign: "center",
|
|
6828
|
-
lineHeight: "1"
|
|
6844
|
+
lineHeight: "1.2",
|
|
6845
|
+
fontWeight: "normal",
|
|
6846
|
+
fontSize: "18px",
|
|
6847
|
+
marginBottom: theme.spacing(5)
|
|
6829
6848
|
}
|
|
6830
6849
|
}
|
|
6831
6850
|
}
|
|
@@ -6854,6 +6873,8 @@ const componentBasicUiSchema = (theme) => {
|
|
|
6854
6873
|
},
|
|
6855
6874
|
style: {
|
|
6856
6875
|
position: "absolute",
|
|
6876
|
+
padding: "8px 0px",
|
|
6877
|
+
fontSize: "16px",
|
|
6857
6878
|
bottom: 0,
|
|
6858
6879
|
left: 0,
|
|
6859
6880
|
width: "50%",
|
|
@@ -6889,6 +6910,8 @@ const componentBasicUiSchema = (theme) => {
|
|
|
6889
6910
|
},
|
|
6890
6911
|
style: {
|
|
6891
6912
|
position: "absolute",
|
|
6913
|
+
padding: "8px 0px",
|
|
6914
|
+
fontSize: "16px",
|
|
6892
6915
|
bottom: 0,
|
|
6893
6916
|
right: 0,
|
|
6894
6917
|
width: "50%",
|
|
@@ -6937,15 +6960,17 @@ const componentBasicUiSchema = (theme) => {
|
|
|
6937
6960
|
config: {
|
|
6938
6961
|
layout: 11,
|
|
6939
6962
|
main: {
|
|
6940
|
-
heading: "Are you sure you want to delete ?"
|
|
6963
|
+
heading: "Are you sure you want to delete this Event ?"
|
|
6941
6964
|
},
|
|
6942
6965
|
style: {
|
|
6943
|
-
marginTop: "-20px",
|
|
6944
6966
|
fontSize: "20px",
|
|
6945
6967
|
"&.MuiTypography-root": {
|
|
6946
|
-
padding: "
|
|
6968
|
+
padding: "0px 20px",
|
|
6947
6969
|
textAlign: "center",
|
|
6948
|
-
lineHeight: "1"
|
|
6970
|
+
lineHeight: "1.2",
|
|
6971
|
+
fontWeight: "normal",
|
|
6972
|
+
fontSize: "18px",
|
|
6973
|
+
marginBottom: theme.spacing(5)
|
|
6949
6974
|
}
|
|
6950
6975
|
}
|
|
6951
6976
|
}
|
|
@@ -6974,6 +6999,8 @@ const componentBasicUiSchema = (theme) => {
|
|
|
6974
6999
|
},
|
|
6975
7000
|
style: {
|
|
6976
7001
|
position: "absolute",
|
|
7002
|
+
padding: "8px 0px",
|
|
7003
|
+
fontSize: "16px",
|
|
6977
7004
|
bottom: 0,
|
|
6978
7005
|
left: 0,
|
|
6979
7006
|
width: "50%",
|
|
@@ -7009,6 +7036,8 @@ const componentBasicUiSchema = (theme) => {
|
|
|
7009
7036
|
},
|
|
7010
7037
|
style: {
|
|
7011
7038
|
position: "absolute",
|
|
7039
|
+
padding: "8px 0px",
|
|
7040
|
+
fontSize: "16px",
|
|
7012
7041
|
bottom: 0,
|
|
7013
7042
|
right: 0,
|
|
7014
7043
|
width: "50%",
|
|
@@ -7029,6 +7058,27 @@ const componentBasicUiSchema = (theme) => {
|
|
|
7029
7058
|
}
|
|
7030
7059
|
]
|
|
7031
7060
|
},
|
|
7061
|
+
{
|
|
7062
|
+
type: "Control",
|
|
7063
|
+
scope: "#/properties/pageName",
|
|
7064
|
+
options: {
|
|
7065
|
+
widget: "Breadcrumb"
|
|
7066
|
+
},
|
|
7067
|
+
config: {
|
|
7068
|
+
layout: 12,
|
|
7069
|
+
main: {},
|
|
7070
|
+
style: {
|
|
7071
|
+
paddingLeft: theme.spacing(3),
|
|
7072
|
+
color: theme.palette.grey[600],
|
|
7073
|
+
fontSize: "10px",
|
|
7074
|
+
position: "fixed",
|
|
7075
|
+
bottom: "24px",
|
|
7076
|
+
borderBottom: `1px solid ${theme.palette.common.black}29`,
|
|
7077
|
+
borderTop: `1px solid ${theme.palette.common.black}29`,
|
|
7078
|
+
backgroundColor: theme.palette.background.default
|
|
7079
|
+
}
|
|
7080
|
+
}
|
|
7081
|
+
},
|
|
7032
7082
|
{
|
|
7033
7083
|
type: "Control",
|
|
7034
7084
|
scope: "#/properties/notify",
|
|
@@ -7086,7 +7136,13 @@ const componentBasicUiSchema = (theme) => {
|
|
|
7086
7136
|
return uiSchema;
|
|
7087
7137
|
};
|
|
7088
7138
|
const CoreSection = {
|
|
7089
|
-
type: "
|
|
7139
|
+
type: "WrapperLayout",
|
|
7140
|
+
config: {
|
|
7141
|
+
main: {
|
|
7142
|
+
label: " ",
|
|
7143
|
+
gap: "8px"
|
|
7144
|
+
}
|
|
7145
|
+
},
|
|
7090
7146
|
elements: [
|
|
7091
7147
|
{
|
|
7092
7148
|
type: "Control",
|
|
@@ -7095,7 +7151,7 @@ const CoreSection = {
|
|
|
7095
7151
|
widget: "SelectInputField"
|
|
7096
7152
|
},
|
|
7097
7153
|
config: {
|
|
7098
|
-
layout: { xs: 6, sm: 6, md: 4, lg:
|
|
7154
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 3 },
|
|
7099
7155
|
main: {
|
|
7100
7156
|
label: "Type",
|
|
7101
7157
|
type: "text"
|
|
@@ -7104,40 +7160,39 @@ const CoreSection = {
|
|
|
7104
7160
|
},
|
|
7105
7161
|
{
|
|
7106
7162
|
type: "Control",
|
|
7107
|
-
scope: "#/properties/
|
|
7108
|
-
options: {
|
|
7109
|
-
widget: "InputField"
|
|
7110
|
-
},
|
|
7163
|
+
scope: "#/properties/proc",
|
|
7111
7164
|
config: {
|
|
7112
|
-
layout: { xs: 6, sm:
|
|
7113
|
-
|
|
7114
|
-
|
|
7115
|
-
|
|
7165
|
+
layout: { xs: 6, sm: 0, md: 0, lg: 0 }
|
|
7166
|
+
},
|
|
7167
|
+
options: {
|
|
7168
|
+
widget: "EmptyBox"
|
|
7116
7169
|
}
|
|
7117
7170
|
},
|
|
7118
7171
|
{
|
|
7119
7172
|
type: "Control",
|
|
7120
|
-
scope: "#/properties/
|
|
7173
|
+
scope: "#/properties/name",
|
|
7121
7174
|
options: {
|
|
7122
7175
|
widget: "InputField"
|
|
7123
7176
|
},
|
|
7124
7177
|
config: {
|
|
7125
|
-
layout: { xs:
|
|
7178
|
+
layout: { xs: 12, sm: 6, md: 4, lg: 3 },
|
|
7126
7179
|
main: {
|
|
7127
|
-
label: "
|
|
7180
|
+
label: "Component ID",
|
|
7181
|
+
required: true
|
|
7128
7182
|
}
|
|
7129
7183
|
}
|
|
7130
7184
|
},
|
|
7131
7185
|
{
|
|
7132
7186
|
type: "Control",
|
|
7133
|
-
scope: "#/properties/
|
|
7187
|
+
scope: "#/properties/label",
|
|
7134
7188
|
options: {
|
|
7135
|
-
widget: "
|
|
7189
|
+
widget: "InputField"
|
|
7136
7190
|
},
|
|
7137
7191
|
config: {
|
|
7138
|
-
layout: { xs: 6, sm: 6, md: 4, lg:
|
|
7192
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 3 },
|
|
7139
7193
|
main: {
|
|
7140
|
-
label: "
|
|
7194
|
+
label: "Label",
|
|
7195
|
+
required: true
|
|
7141
7196
|
}
|
|
7142
7197
|
}
|
|
7143
7198
|
},
|
|
@@ -7145,17 +7200,7 @@ const CoreSection = {
|
|
|
7145
7200
|
type: "Control",
|
|
7146
7201
|
scope: "#/properties/proc",
|
|
7147
7202
|
config: {
|
|
7148
|
-
layout: { xs:
|
|
7149
|
-
},
|
|
7150
|
-
options: {
|
|
7151
|
-
widget: "EmptyBox"
|
|
7152
|
-
}
|
|
7153
|
-
},
|
|
7154
|
-
{
|
|
7155
|
-
type: "Control",
|
|
7156
|
-
scope: "#/properties/proc",
|
|
7157
|
-
config: {
|
|
7158
|
-
layout: { xs: 0, sm: 0, md: 4, lg: 4 }
|
|
7203
|
+
layout: { xs: 6, sm: 6, md: 0, lg: 3 }
|
|
7159
7204
|
},
|
|
7160
7205
|
options: {
|
|
7161
7206
|
widget: "EmptyBox"
|
|
@@ -7164,54 +7209,67 @@ const CoreSection = {
|
|
|
7164
7209
|
{
|
|
7165
7210
|
type: "Control",
|
|
7166
7211
|
scope: "#/properties/layout",
|
|
7167
|
-
layout: 12,
|
|
7168
7212
|
options: {
|
|
7169
|
-
|
|
7170
|
-
|
|
7171
|
-
|
|
7172
|
-
|
|
7173
|
-
|
|
7174
|
-
|
|
7175
|
-
|
|
7176
|
-
|
|
7177
|
-
|
|
7178
|
-
|
|
7179
|
-
|
|
7180
|
-
|
|
7181
|
-
|
|
7182
|
-
|
|
7183
|
-
|
|
7184
|
-
|
|
7185
|
-
|
|
7186
|
-
|
|
7187
|
-
|
|
7188
|
-
|
|
7189
|
-
|
|
7190
|
-
|
|
7191
|
-
|
|
7192
|
-
|
|
7193
|
-
|
|
7194
|
-
|
|
7195
|
-
|
|
7196
|
-
|
|
7197
|
-
|
|
7198
|
-
|
|
7199
|
-
}
|
|
7200
|
-
}
|
|
7201
|
-
},
|
|
7202
|
-
{
|
|
7203
|
-
type: "Control",
|
|
7204
|
-
scope: "#/properties/proc",
|
|
7205
|
-
config: {
|
|
7206
|
-
layout: { xs: 0, sm: 0, md: 4, lg: 4 }
|
|
7207
|
-
},
|
|
7208
|
-
options: {
|
|
7209
|
-
widget: "EmptyBox"
|
|
7210
|
-
}
|
|
7213
|
+
widget: "Array"
|
|
7214
|
+
},
|
|
7215
|
+
config: {
|
|
7216
|
+
layout: 12,
|
|
7217
|
+
main: {
|
|
7218
|
+
label: "Layout",
|
|
7219
|
+
childElementLabel: "Layout"
|
|
7220
|
+
},
|
|
7221
|
+
style: {
|
|
7222
|
+
marginLeft: "-24px",
|
|
7223
|
+
marginBottom: "24px !important",
|
|
7224
|
+
labelStyle: {
|
|
7225
|
+
marginLeft: "24px"
|
|
7226
|
+
},
|
|
7227
|
+
detailsStyle: {
|
|
7228
|
+
marginLeft: "24px"
|
|
7229
|
+
}
|
|
7230
|
+
}
|
|
7231
|
+
},
|
|
7232
|
+
elements: [
|
|
7233
|
+
{
|
|
7234
|
+
type: "Control",
|
|
7235
|
+
scope: "#/properties/key",
|
|
7236
|
+
options: {
|
|
7237
|
+
widget: "SelectInputField"
|
|
7238
|
+
},
|
|
7239
|
+
config: {
|
|
7240
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
7241
|
+
main: {
|
|
7242
|
+
label: "Screen Size"
|
|
7211
7243
|
}
|
|
7212
|
-
|
|
7244
|
+
}
|
|
7245
|
+
},
|
|
7246
|
+
{
|
|
7247
|
+
type: "Control",
|
|
7248
|
+
scope: "#/properties/value",
|
|
7249
|
+
options: {
|
|
7250
|
+
widget: "InputField"
|
|
7251
|
+
},
|
|
7252
|
+
config: {
|
|
7253
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
7254
|
+
main: {
|
|
7255
|
+
label: "Value",
|
|
7256
|
+
type: "number",
|
|
7257
|
+
helperText: "Number should be in range of 0 to 12",
|
|
7258
|
+
errorMessage: "Number Can't be greater than 12 and can't be less than 0."
|
|
7259
|
+
}
|
|
7260
|
+
}
|
|
7261
|
+
},
|
|
7262
|
+
{
|
|
7263
|
+
type: "Control",
|
|
7264
|
+
scope: "#/properties/proc",
|
|
7265
|
+
config: {
|
|
7266
|
+
layout: { xs: 0, sm: 0, md: 4, lg: 4 }
|
|
7267
|
+
},
|
|
7268
|
+
options: {
|
|
7269
|
+
widget: "EmptyBox"
|
|
7270
|
+
}
|
|
7213
7271
|
}
|
|
7214
|
-
|
|
7272
|
+
]
|
|
7215
7273
|
}
|
|
7216
7274
|
]
|
|
7217
7275
|
};
|
|
@@ -7238,15 +7296,20 @@ const EventSection = (theme) => {
|
|
|
7238
7296
|
},
|
|
7239
7297
|
config: {
|
|
7240
7298
|
main: {
|
|
7241
|
-
color: "info",
|
|
7242
7299
|
onClick: "eventAddHandler",
|
|
7243
7300
|
size: "small",
|
|
7244
|
-
icon: "
|
|
7245
|
-
iconLabel: "Add
|
|
7301
|
+
icon: "TableAddIcon",
|
|
7302
|
+
iconLabel: "Add",
|
|
7246
7303
|
styleDefault: true
|
|
7247
7304
|
},
|
|
7248
7305
|
style: {
|
|
7249
|
-
mt: "6px"
|
|
7306
|
+
mt: "6px",
|
|
7307
|
+
color: "inherit",
|
|
7308
|
+
fill: "inherit",
|
|
7309
|
+
"&:hover": {
|
|
7310
|
+
color: "inherit",
|
|
7311
|
+
fill: "inherit"
|
|
7312
|
+
}
|
|
7250
7313
|
}
|
|
7251
7314
|
}
|
|
7252
7315
|
}
|
|
@@ -7262,12 +7325,18 @@ const EventSection = (theme) => {
|
|
|
7262
7325
|
main: {
|
|
7263
7326
|
onClick: "copyPasteElement",
|
|
7264
7327
|
size: "small",
|
|
7265
|
-
icon: "
|
|
7328
|
+
icon: "TablePaste",
|
|
7266
7329
|
iconLabel: "Paste",
|
|
7267
7330
|
styleDefault: true
|
|
7268
7331
|
},
|
|
7269
7332
|
style: {
|
|
7270
|
-
mt: "6px"
|
|
7333
|
+
mt: "6px",
|
|
7334
|
+
color: "inherit",
|
|
7335
|
+
fill: "inherit",
|
|
7336
|
+
"&:hover": {
|
|
7337
|
+
color: "inherit",
|
|
7338
|
+
fill: "inherit"
|
|
7339
|
+
}
|
|
7271
7340
|
}
|
|
7272
7341
|
}
|
|
7273
7342
|
}
|
|
@@ -7282,15 +7351,21 @@ const EventSection = (theme) => {
|
|
|
7282
7351
|
elements: [
|
|
7283
7352
|
{
|
|
7284
7353
|
accessorKey: "eventType",
|
|
7285
|
-
header: "Event Type"
|
|
7354
|
+
header: "Event's Type",
|
|
7355
|
+
type: "string",
|
|
7356
|
+
size: 300
|
|
7286
7357
|
},
|
|
7287
7358
|
{
|
|
7288
7359
|
accessorKey: "Handler",
|
|
7289
|
-
header: "Handler"
|
|
7360
|
+
header: "Handler",
|
|
7361
|
+
type: "string",
|
|
7362
|
+
size: 200
|
|
7290
7363
|
},
|
|
7291
7364
|
{
|
|
7292
7365
|
accessorKey: "Edit_Approve_Records",
|
|
7293
|
-
header: "Edit
|
|
7366
|
+
header: "Edit",
|
|
7367
|
+
size: 150,
|
|
7368
|
+
type: "action",
|
|
7294
7369
|
widget: {
|
|
7295
7370
|
type: "Control",
|
|
7296
7371
|
scope: "#/properties/Edit_Records",
|
|
@@ -7299,14 +7374,16 @@ const EventSection = (theme) => {
|
|
|
7299
7374
|
},
|
|
7300
7375
|
config: {
|
|
7301
7376
|
main: {
|
|
7302
|
-
color: "info",
|
|
7303
7377
|
size: "small",
|
|
7304
|
-
icon: "
|
|
7378
|
+
icon: "TableEditIcon",
|
|
7305
7379
|
tooltipMessage: "Edit This Record",
|
|
7306
7380
|
onClick: "eventEditHandler"
|
|
7307
7381
|
},
|
|
7308
7382
|
style: {
|
|
7309
|
-
|
|
7383
|
+
fill: theme.palette.primary.main,
|
|
7384
|
+
"& :hover": {
|
|
7385
|
+
fill: theme.palette.primary.dark
|
|
7386
|
+
}
|
|
7310
7387
|
}
|
|
7311
7388
|
}
|
|
7312
7389
|
}
|
|
@@ -7314,6 +7391,8 @@ const EventSection = (theme) => {
|
|
|
7314
7391
|
{
|
|
7315
7392
|
accessorKey: "Reject_Records",
|
|
7316
7393
|
header: "Delete",
|
|
7394
|
+
size: 150,
|
|
7395
|
+
type: "action",
|
|
7317
7396
|
widget: {
|
|
7318
7397
|
type: "Control",
|
|
7319
7398
|
scope: "#/properties/RejectButton",
|
|
@@ -7323,10 +7402,15 @@ const EventSection = (theme) => {
|
|
|
7323
7402
|
},
|
|
7324
7403
|
config: {
|
|
7325
7404
|
main: {
|
|
7326
|
-
icon: "
|
|
7327
|
-
color: "error",
|
|
7405
|
+
icon: "Bin",
|
|
7328
7406
|
tooltipMessage: "Reject This Record",
|
|
7329
7407
|
onClick: "deletePopUpEvent"
|
|
7408
|
+
},
|
|
7409
|
+
style: {
|
|
7410
|
+
fill: theme.palette.primary.main,
|
|
7411
|
+
"& :hover": {
|
|
7412
|
+
fill: theme.palette.primary.dark
|
|
7413
|
+
}
|
|
7330
7414
|
}
|
|
7331
7415
|
}
|
|
7332
7416
|
}
|
|
@@ -7334,7 +7418,8 @@ const EventSection = (theme) => {
|
|
|
7334
7418
|
{
|
|
7335
7419
|
header: "Copy",
|
|
7336
7420
|
field: "Copy_Event",
|
|
7337
|
-
|
|
7421
|
+
size: 150,
|
|
7422
|
+
type: "action",
|
|
7338
7423
|
widget: {
|
|
7339
7424
|
type: "Control",
|
|
7340
7425
|
scope: "#/properties/Copy_Event",
|
|
@@ -7384,77 +7469,103 @@ const emptyBox$1 = (scope, layout) => {
|
|
|
7384
7469
|
const cardLayout = {
|
|
7385
7470
|
type: "Control",
|
|
7386
7471
|
scope: "#/properties/cardLayout",
|
|
7387
|
-
layout: 11.5,
|
|
7388
7472
|
options: {
|
|
7389
|
-
|
|
7390
|
-
|
|
7391
|
-
|
|
7392
|
-
|
|
7393
|
-
|
|
7394
|
-
|
|
7395
|
-
|
|
7396
|
-
|
|
7397
|
-
|
|
7398
|
-
|
|
7399
|
-
|
|
7400
|
-
|
|
7401
|
-
|
|
7402
|
-
|
|
7403
|
-
|
|
7404
|
-
|
|
7405
|
-
|
|
7406
|
-
|
|
7407
|
-
|
|
7408
|
-
|
|
7409
|
-
|
|
7410
|
-
|
|
7411
|
-
|
|
7412
|
-
|
|
7413
|
-
|
|
7414
|
-
|
|
7415
|
-
|
|
7416
|
-
|
|
7417
|
-
|
|
7418
|
-
|
|
7419
|
-
|
|
7420
|
-
|
|
7421
|
-
|
|
7422
|
-
|
|
7423
|
-
|
|
7424
|
-
|
|
7473
|
+
widget: "Array"
|
|
7474
|
+
},
|
|
7475
|
+
config: {
|
|
7476
|
+
layout: 12,
|
|
7477
|
+
main: {
|
|
7478
|
+
label: "Card Layout",
|
|
7479
|
+
childElementLabel: "Card Layout"
|
|
7480
|
+
},
|
|
7481
|
+
style: {
|
|
7482
|
+
marginLeft: "-24px",
|
|
7483
|
+
marginBottom: "24px !important",
|
|
7484
|
+
labelStyle: {
|
|
7485
|
+
marginLeft: "24px"
|
|
7486
|
+
},
|
|
7487
|
+
detailsStyle: {
|
|
7488
|
+
marginLeft: "24px"
|
|
7489
|
+
}
|
|
7490
|
+
}
|
|
7491
|
+
},
|
|
7492
|
+
elements: [
|
|
7493
|
+
{
|
|
7494
|
+
type: "Control",
|
|
7495
|
+
scope: "#/properties/key",
|
|
7496
|
+
options: {
|
|
7497
|
+
widget: "SelectInputField"
|
|
7498
|
+
},
|
|
7499
|
+
config: {
|
|
7500
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
7501
|
+
main: {
|
|
7502
|
+
label: "Screen Size"
|
|
7503
|
+
}
|
|
7504
|
+
}
|
|
7505
|
+
},
|
|
7506
|
+
{
|
|
7507
|
+
type: "Control",
|
|
7508
|
+
scope: "#/properties/value",
|
|
7509
|
+
options: {
|
|
7510
|
+
widget: "InputField"
|
|
7511
|
+
},
|
|
7512
|
+
config: {
|
|
7513
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
7514
|
+
main: {
|
|
7515
|
+
label: "Value",
|
|
7516
|
+
type: "number",
|
|
7517
|
+
helperText: "Number should be in range of 0 to 12",
|
|
7518
|
+
errorMessage: "Number Can't be greater than 12 and can't be less than 0."
|
|
7519
|
+
}
|
|
7520
|
+
}
|
|
7521
|
+
},
|
|
7522
|
+
emptyBox$1("cardEmpty")
|
|
7523
|
+
]
|
|
7425
7524
|
};
|
|
7426
7525
|
const getArrayControl = (parentScope, childScope, childLabel) => {
|
|
7427
7526
|
return {
|
|
7428
7527
|
type: "Control",
|
|
7429
7528
|
scope: `#/properties/${parentScope}`,
|
|
7430
|
-
layout: 12,
|
|
7431
7529
|
options: {
|
|
7432
|
-
"
|
|
7433
|
-
|
|
7434
|
-
|
|
7435
|
-
|
|
7436
|
-
|
|
7437
|
-
|
|
7438
|
-
|
|
7439
|
-
|
|
7440
|
-
|
|
7441
|
-
|
|
7442
|
-
|
|
7443
|
-
|
|
7444
|
-
|
|
7445
|
-
|
|
7446
|
-
|
|
7447
|
-
|
|
7448
|
-
|
|
7449
|
-
emptyBox$1("ArrayControlEmpty1", { xs: 6, sm: 6, md: 4, lg: 4 }),
|
|
7450
|
-
emptyBox$1("ArrayControlEmpty2", { xs: 0, sm: 0, md: 4, lg: 4 })
|
|
7451
|
-
]
|
|
7530
|
+
widget: "Array"
|
|
7531
|
+
},
|
|
7532
|
+
config: {
|
|
7533
|
+
layout: 12,
|
|
7534
|
+
main: {
|
|
7535
|
+
label: childLabel,
|
|
7536
|
+
childElementLabel: childLabel
|
|
7537
|
+
},
|
|
7538
|
+
style: {
|
|
7539
|
+
marginLeft: "-24px",
|
|
7540
|
+
marginBottom: "24px !important",
|
|
7541
|
+
labelStyle: {
|
|
7542
|
+
marginLeft: "24px"
|
|
7543
|
+
},
|
|
7544
|
+
detailsStyle: {
|
|
7545
|
+
marginLeft: "24px"
|
|
7546
|
+
}
|
|
7452
7547
|
}
|
|
7453
|
-
}
|
|
7548
|
+
},
|
|
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: 8, lg: 8 })
|
|
7564
|
+
]
|
|
7454
7565
|
};
|
|
7455
7566
|
};
|
|
7456
7567
|
const sizeHolder = getArrayControl("sizeHolder", "keyName", "Component Name");
|
|
7457
|
-
sizeHolder.
|
|
7568
|
+
sizeHolder.elements[1] = {
|
|
7458
7569
|
type: "Control",
|
|
7459
7570
|
scope: `#/properties/value`,
|
|
7460
7571
|
options: {
|
|
@@ -7467,7 +7578,7 @@ sizeHolder.options.detail.elements[1] = {
|
|
|
7467
7578
|
}
|
|
7468
7579
|
}
|
|
7469
7580
|
};
|
|
7470
|
-
sizeHolder.
|
|
7581
|
+
sizeHolder.elements[2] = emptyBox$1("sizeHolderempty");
|
|
7471
7582
|
const getInputField = (scope, label) => {
|
|
7472
7583
|
return {
|
|
7473
7584
|
type: "Control",
|
|
@@ -7476,7 +7587,7 @@ const getInputField = (scope, label) => {
|
|
|
7476
7587
|
widget: "InputField"
|
|
7477
7588
|
},
|
|
7478
7589
|
config: {
|
|
7479
|
-
layout: { xs: 6, sm: 6, md: 4, lg:
|
|
7590
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 3 },
|
|
7480
7591
|
main: {
|
|
7481
7592
|
label
|
|
7482
7593
|
}
|
|
@@ -7491,7 +7602,7 @@ const getRadioInputField = (scope, label, options) => {
|
|
|
7491
7602
|
widget: "RadioInputField"
|
|
7492
7603
|
},
|
|
7493
7604
|
config: {
|
|
7494
|
-
layout: { xs: 12, sm: 6, md: 4, lg:
|
|
7605
|
+
layout: { xs: 12, sm: 6, md: 4, lg: 3 },
|
|
7495
7606
|
main: {
|
|
7496
7607
|
label,
|
|
7497
7608
|
options
|
|
@@ -7506,17 +7617,7 @@ const buildWrapper = (label, elements) => {
|
|
|
7506
7617
|
main: {
|
|
7507
7618
|
label: label || "Details",
|
|
7508
7619
|
isAccordion: true
|
|
7509
|
-
}
|
|
7510
|
-
wrapperStyle: {
|
|
7511
|
-
marginTop: "-6px",
|
|
7512
|
-
marginBottom: "-8px",
|
|
7513
|
-
marginLeft: "-34px",
|
|
7514
|
-
width: "108%"
|
|
7515
|
-
},
|
|
7516
|
-
componentsBoxStyle: {
|
|
7517
|
-
marginLeft: "12px"
|
|
7518
|
-
},
|
|
7519
|
-
defaultStyle: true
|
|
7620
|
+
}
|
|
7520
7621
|
},
|
|
7521
7622
|
elements: elements || []
|
|
7522
7623
|
};
|
|
@@ -7530,18 +7631,8 @@ const getTextArea = (scope, heading, hideButton, layout) => {
|
|
|
7530
7631
|
},
|
|
7531
7632
|
config: {
|
|
7532
7633
|
layout: layout || 12,
|
|
7533
|
-
style: {
|
|
7534
|
-
containerStyle: {
|
|
7535
|
-
borderRadius: "20px"
|
|
7536
|
-
},
|
|
7537
|
-
headerContainerStyle: {},
|
|
7538
|
-
textAreaStyle: {
|
|
7539
|
-
borderRadius: "20px",
|
|
7540
|
-
padding: "20px"
|
|
7541
|
-
}
|
|
7542
|
-
},
|
|
7543
7634
|
main: {
|
|
7544
|
-
heading,
|
|
7635
|
+
label: heading,
|
|
7545
7636
|
minRows: 8,
|
|
7546
7637
|
hideButton,
|
|
7547
7638
|
enableCodeEditor: true
|
|
@@ -7557,7 +7648,7 @@ const getSelectField = (scope, label, options) => {
|
|
|
7557
7648
|
widget: "SelectInputField"
|
|
7558
7649
|
},
|
|
7559
7650
|
config: {
|
|
7560
|
-
layout: { xs: 6, sm: 6, md: 4, lg:
|
|
7651
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 3 },
|
|
7561
7652
|
main: {
|
|
7562
7653
|
label,
|
|
7563
7654
|
type: "text"
|
|
@@ -7573,7 +7664,7 @@ const getMultiSelectField = (scope, label) => {
|
|
|
7573
7664
|
widget: "MultipleSelect"
|
|
7574
7665
|
},
|
|
7575
7666
|
config: {
|
|
7576
|
-
layout: { xs: 6, sm: 6, md: 4, lg:
|
|
7667
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 3 },
|
|
7577
7668
|
main: {
|
|
7578
7669
|
multiple: true,
|
|
7579
7670
|
label,
|
|
@@ -7582,12 +7673,18 @@ const getMultiSelectField = (scope, label) => {
|
|
|
7582
7673
|
}
|
|
7583
7674
|
};
|
|
7584
7675
|
};
|
|
7585
|
-
const
|
|
7676
|
+
const BaseSection = {
|
|
7586
7677
|
type: "WrapperLayout",
|
|
7678
|
+
config: {
|
|
7679
|
+
main: {
|
|
7680
|
+
label: " ",
|
|
7681
|
+
gap: "8px"
|
|
7682
|
+
}
|
|
7683
|
+
},
|
|
7587
7684
|
elements: []
|
|
7588
7685
|
};
|
|
7589
7686
|
const buildPropertiesSection = function(type) {
|
|
7590
|
-
let uiSchema = _.cloneDeep(
|
|
7687
|
+
let uiSchema = _.cloneDeep(BaseSection);
|
|
7591
7688
|
switch (type) {
|
|
7592
7689
|
case "TreeMap":
|
|
7593
7690
|
uiSchema.elements = [
|
|
@@ -7642,7 +7739,7 @@ const buildPropertiesSection = function(type) {
|
|
|
7642
7739
|
case "Text":
|
|
7643
7740
|
uiSchema.elements = [
|
|
7644
7741
|
getInputField("placeholder", "Placeholder"),
|
|
7645
|
-
|
|
7742
|
+
getRadioInputField("multiline", "Multiline", ["YES", "NO"]),
|
|
7646
7743
|
emptyBox$1("TextEmpty1", { xs: 0, sm: 0, md: 4, lg: 4 }),
|
|
7647
7744
|
getArrayControl("InputFormatingAndMasking", "formatElement", "Format Element")
|
|
7648
7745
|
];
|
|
@@ -7651,7 +7748,8 @@ const buildPropertiesSection = function(type) {
|
|
|
7651
7748
|
uiSchema.elements = [
|
|
7652
7749
|
getInputField("placeholder", "Placeholder"),
|
|
7653
7750
|
getRadioInputField("enableCodeEditor", "Enable Code Editor", ["YES", "NO"]),
|
|
7654
|
-
getInputField("codeEditorLanguage", "Enter Code Language")
|
|
7751
|
+
getInputField("codeEditorLanguage", "Enter Code Language"),
|
|
7752
|
+
emptyBox$1("TextEmpty1", { xs: 0, sm: 0, md: 0, lg: 3 })
|
|
7655
7753
|
];
|
|
7656
7754
|
break;
|
|
7657
7755
|
case "SpeedoMeter":
|
|
@@ -7731,7 +7829,7 @@ const buildPropertiesSection = function(type) {
|
|
|
7731
7829
|
getInputField("xAxisValue", "X-AxisValue"),
|
|
7732
7830
|
getRadioInputField("bottomAxisAngle", "Bottom Axis Angled", ["YES", "No"]),
|
|
7733
7831
|
getInputField("leftMargin", "Left Margin"),
|
|
7734
|
-
emptyBox$1("GraphEmpty1", { xs: 6, sm: 0, md: 8, lg:
|
|
7832
|
+
emptyBox$1("GraphEmpty1", { xs: 6, sm: 0, md: 8, lg: 6 }),
|
|
7735
7833
|
getArrayControl("legendLabels", "label"),
|
|
7736
7834
|
getArrayControl("pieArcColors", "color")
|
|
7737
7835
|
];
|
|
@@ -7812,7 +7910,13 @@ const buildPropertiesSection = function(type) {
|
|
|
7812
7910
|
return uiSchema;
|
|
7813
7911
|
};
|
|
7814
7912
|
const StyleSection = {
|
|
7815
|
-
type: "
|
|
7913
|
+
type: "WrapperLayout",
|
|
7914
|
+
config: {
|
|
7915
|
+
main: {
|
|
7916
|
+
label: " ",
|
|
7917
|
+
gap: "8px"
|
|
7918
|
+
}
|
|
7919
|
+
},
|
|
7816
7920
|
elements: [
|
|
7817
7921
|
{
|
|
7818
7922
|
type: "Control",
|
|
@@ -7828,14 +7932,7 @@ const StyleSection = {
|
|
|
7828
7932
|
lg: 12
|
|
7829
7933
|
},
|
|
7830
7934
|
style: {
|
|
7831
|
-
|
|
7832
|
-
borderRadius: "20px"
|
|
7833
|
-
},
|
|
7834
|
-
headerContainerStyle: {},
|
|
7835
|
-
textAreaStyle: {
|
|
7836
|
-
borderRadius: "20px",
|
|
7837
|
-
padding: "20px"
|
|
7838
|
-
}
|
|
7935
|
+
"& .MuiFormLabel-root:not(.MuiInputLabel-shrink)": {}
|
|
7839
7936
|
},
|
|
7840
7937
|
main: {
|
|
7841
7938
|
heading: "JSON Style",
|
|
@@ -7869,15 +7966,20 @@ const TableSection = (theme) => {
|
|
|
7869
7966
|
},
|
|
7870
7967
|
config: {
|
|
7871
7968
|
main: {
|
|
7872
|
-
color: "info",
|
|
7873
7969
|
onClick: "widgetAddClickHandler",
|
|
7874
7970
|
size: "small",
|
|
7875
|
-
icon: "
|
|
7876
|
-
iconLabel: "Add
|
|
7971
|
+
icon: "TableAddIcon",
|
|
7972
|
+
iconLabel: "Add",
|
|
7877
7973
|
styleDefault: true
|
|
7878
7974
|
},
|
|
7879
7975
|
style: {
|
|
7880
|
-
mt: "6px"
|
|
7976
|
+
mt: "6px",
|
|
7977
|
+
color: "inherit",
|
|
7978
|
+
fill: "inherit",
|
|
7979
|
+
"&:hover": {
|
|
7980
|
+
color: "inherit",
|
|
7981
|
+
fill: "inherit"
|
|
7982
|
+
}
|
|
7881
7983
|
}
|
|
7882
7984
|
}
|
|
7883
7985
|
}
|
|
@@ -7893,12 +7995,18 @@ const TableSection = (theme) => {
|
|
|
7893
7995
|
main: {
|
|
7894
7996
|
onClick: "copyPasteElement",
|
|
7895
7997
|
size: "small",
|
|
7896
|
-
icon: "
|
|
7998
|
+
icon: "TablePaste",
|
|
7897
7999
|
iconLabel: "Paste",
|
|
7898
8000
|
styleDefault: true
|
|
7899
8001
|
},
|
|
7900
8002
|
style: {
|
|
7901
|
-
mt: "6px"
|
|
8003
|
+
mt: "6px",
|
|
8004
|
+
color: "inherit",
|
|
8005
|
+
fill: "inherit",
|
|
8006
|
+
"&:hover": {
|
|
8007
|
+
color: "inherit",
|
|
8008
|
+
fill: "inherit"
|
|
8009
|
+
}
|
|
7902
8010
|
}
|
|
7903
8011
|
}
|
|
7904
8012
|
}
|
|
@@ -7913,16 +8021,21 @@ const TableSection = (theme) => {
|
|
|
7913
8021
|
elements: [
|
|
7914
8022
|
{
|
|
7915
8023
|
accessorKey: "name",
|
|
7916
|
-
header: "Name"
|
|
8024
|
+
header: "Name",
|
|
8025
|
+
type: "string",
|
|
8026
|
+
size: 300
|
|
7917
8027
|
},
|
|
7918
8028
|
{
|
|
7919
8029
|
accessorKey: "type",
|
|
7920
|
-
header: "Type"
|
|
8030
|
+
header: "Type",
|
|
8031
|
+
type: "string",
|
|
8032
|
+
size: 200
|
|
7921
8033
|
},
|
|
7922
8034
|
{
|
|
7923
8035
|
header: "Edit Record",
|
|
7924
8036
|
field: "Reject_Records",
|
|
7925
|
-
|
|
8037
|
+
size: 150,
|
|
8038
|
+
type: "action",
|
|
7926
8039
|
widget: {
|
|
7927
8040
|
type: "Control",
|
|
7928
8041
|
scope: "#/properties/RejectButton",
|
|
@@ -7931,13 +8044,16 @@ const TableSection = (theme) => {
|
|
|
7931
8044
|
},
|
|
7932
8045
|
config: {
|
|
7933
8046
|
main: {
|
|
7934
|
-
icon: "
|
|
7935
|
-
|
|
8047
|
+
icon: "TableEditIcon",
|
|
8048
|
+
size: "small",
|
|
7936
8049
|
onClick: "editComponents",
|
|
7937
8050
|
tooltipMessage: "Reject This Record"
|
|
7938
8051
|
},
|
|
7939
8052
|
style: {
|
|
7940
|
-
|
|
8053
|
+
fill: theme.palette.primary.main,
|
|
8054
|
+
"& :hover": {
|
|
8055
|
+
fill: theme.palette.primary.dark
|
|
8056
|
+
}
|
|
7941
8057
|
}
|
|
7942
8058
|
}
|
|
7943
8059
|
}
|
|
@@ -7945,7 +8061,8 @@ const TableSection = (theme) => {
|
|
|
7945
8061
|
{
|
|
7946
8062
|
header: "Delete",
|
|
7947
8063
|
field: "Reject_Records",
|
|
7948
|
-
|
|
8064
|
+
size: 150,
|
|
8065
|
+
type: "action",
|
|
7949
8066
|
widget: {
|
|
7950
8067
|
type: "Control",
|
|
7951
8068
|
scope: "#/properties/RejectButton",
|
|
@@ -7954,10 +8071,15 @@ const TableSection = (theme) => {
|
|
|
7954
8071
|
},
|
|
7955
8072
|
config: {
|
|
7956
8073
|
main: {
|
|
7957
|
-
icon: "
|
|
7958
|
-
color: "error",
|
|
8074
|
+
icon: "Bin",
|
|
7959
8075
|
onClick: "deletePopUpComponent",
|
|
7960
8076
|
tooltipMessage: "Reject This Record"
|
|
8077
|
+
},
|
|
8078
|
+
style: {
|
|
8079
|
+
fill: theme.palette.primary.main,
|
|
8080
|
+
"& :hover": {
|
|
8081
|
+
fill: theme.palette.primary.dark
|
|
8082
|
+
}
|
|
7961
8083
|
}
|
|
7962
8084
|
}
|
|
7963
8085
|
}
|
|
@@ -7965,7 +8087,8 @@ const TableSection = (theme) => {
|
|
|
7965
8087
|
{
|
|
7966
8088
|
header: "Copy",
|
|
7967
8089
|
field: "Copy_Component",
|
|
7968
|
-
|
|
8090
|
+
size: 150,
|
|
8091
|
+
type: "action",
|
|
7969
8092
|
widget: {
|
|
7970
8093
|
type: "Control",
|
|
7971
8094
|
scope: "#/properties/Copy_Component",
|
|
@@ -7989,109 +8112,148 @@ const TableSection = (theme) => {
|
|
|
7989
8112
|
return uiSchema;
|
|
7990
8113
|
};
|
|
7991
8114
|
const ValueTab = {
|
|
7992
|
-
type: "
|
|
8115
|
+
type: "WrapperLayout",
|
|
8116
|
+
config: {
|
|
8117
|
+
main: {
|
|
8118
|
+
label: " ",
|
|
8119
|
+
gap: "8px"
|
|
8120
|
+
}
|
|
8121
|
+
},
|
|
7993
8122
|
elements: [
|
|
7994
8123
|
{
|
|
7995
8124
|
type: "Control",
|
|
7996
8125
|
scope: "#/properties/value",
|
|
7997
|
-
layout: 12,
|
|
7998
8126
|
options: {
|
|
7999
|
-
|
|
8000
|
-
|
|
8001
|
-
|
|
8002
|
-
|
|
8003
|
-
|
|
8004
|
-
|
|
8005
|
-
|
|
8006
|
-
|
|
8007
|
-
|
|
8008
|
-
|
|
8009
|
-
|
|
8010
|
-
|
|
8011
|
-
|
|
8012
|
-
|
|
8013
|
-
|
|
8014
|
-
|
|
8015
|
-
|
|
8016
|
-
|
|
8017
|
-
|
|
8018
|
-
|
|
8019
|
-
|
|
8020
|
-
|
|
8021
|
-
|
|
8022
|
-
|
|
8023
|
-
|
|
8024
|
-
|
|
8025
|
-
|
|
8026
|
-
|
|
8027
|
-
|
|
8028
|
-
|
|
8029
|
-
type: "Control",
|
|
8030
|
-
scope: "#/properties/emptyBox",
|
|
8031
|
-
options: {
|
|
8032
|
-
widget: "EmptyBox"
|
|
8033
|
-
},
|
|
8034
|
-
config: {
|
|
8035
|
-
layout: { xs: 0, sm: 0, md: 4, lg: 4 }
|
|
8036
|
-
}
|
|
8127
|
+
widget: "Array"
|
|
8128
|
+
},
|
|
8129
|
+
config: {
|
|
8130
|
+
layout: 12,
|
|
8131
|
+
main: {
|
|
8132
|
+
label: "Value",
|
|
8133
|
+
childElementLabel: "Value"
|
|
8134
|
+
},
|
|
8135
|
+
style: {
|
|
8136
|
+
marginLeft: "-24px",
|
|
8137
|
+
marginBottom: "24px !important",
|
|
8138
|
+
labelStyle: {
|
|
8139
|
+
marginLeft: "24px"
|
|
8140
|
+
},
|
|
8141
|
+
detailsStyle: {
|
|
8142
|
+
marginLeft: "24px"
|
|
8143
|
+
}
|
|
8144
|
+
}
|
|
8145
|
+
},
|
|
8146
|
+
elements: [
|
|
8147
|
+
{
|
|
8148
|
+
type: "Control",
|
|
8149
|
+
scope: "#/properties/label",
|
|
8150
|
+
options: {
|
|
8151
|
+
widget: "InputField"
|
|
8152
|
+
},
|
|
8153
|
+
config: {
|
|
8154
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
8155
|
+
main: {
|
|
8156
|
+
label: "Label"
|
|
8037
8157
|
}
|
|
8038
|
-
|
|
8158
|
+
}
|
|
8159
|
+
},
|
|
8160
|
+
{
|
|
8161
|
+
type: "Control",
|
|
8162
|
+
scope: "#/properties/value",
|
|
8163
|
+
options: {
|
|
8164
|
+
widget: "InputField"
|
|
8165
|
+
},
|
|
8166
|
+
config: {
|
|
8167
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
8168
|
+
main: {
|
|
8169
|
+
label: "Value"
|
|
8170
|
+
}
|
|
8171
|
+
}
|
|
8172
|
+
},
|
|
8173
|
+
{
|
|
8174
|
+
type: "Control",
|
|
8175
|
+
scope: "#/properties/emptyBox",
|
|
8176
|
+
options: {
|
|
8177
|
+
widget: "EmptyBox"
|
|
8178
|
+
},
|
|
8179
|
+
config: {
|
|
8180
|
+
layout: { xs: 0, sm: 0, md: 4, lg: 4 }
|
|
8181
|
+
}
|
|
8039
8182
|
}
|
|
8040
|
-
|
|
8183
|
+
]
|
|
8041
8184
|
}
|
|
8042
8185
|
]
|
|
8043
8186
|
};
|
|
8044
8187
|
const ValidationSection = {
|
|
8045
|
-
type: "
|
|
8188
|
+
type: "WrapperLayout",
|
|
8189
|
+
config: {
|
|
8190
|
+
main: {
|
|
8191
|
+
label: " ",
|
|
8192
|
+
gap: "8px"
|
|
8193
|
+
}
|
|
8194
|
+
},
|
|
8046
8195
|
elements: [
|
|
8047
8196
|
{
|
|
8048
8197
|
type: "Control",
|
|
8049
8198
|
scope: "#/properties/validation",
|
|
8050
|
-
layout: 11.5,
|
|
8051
8199
|
options: {
|
|
8052
|
-
|
|
8053
|
-
|
|
8054
|
-
|
|
8055
|
-
|
|
8056
|
-
|
|
8057
|
-
|
|
8058
|
-
|
|
8059
|
-
|
|
8060
|
-
|
|
8061
|
-
|
|
8062
|
-
|
|
8063
|
-
|
|
8064
|
-
|
|
8065
|
-
|
|
8066
|
-
|
|
8067
|
-
|
|
8068
|
-
|
|
8069
|
-
|
|
8070
|
-
|
|
8071
|
-
|
|
8072
|
-
|
|
8073
|
-
|
|
8074
|
-
|
|
8075
|
-
|
|
8076
|
-
|
|
8077
|
-
|
|
8078
|
-
|
|
8079
|
-
|
|
8080
|
-
|
|
8081
|
-
|
|
8082
|
-
{
|
|
8083
|
-
type: "Control",
|
|
8084
|
-
scope: "#/properties/emptyBox",
|
|
8085
|
-
options: {
|
|
8086
|
-
widget: "EmptyBox"
|
|
8087
|
-
},
|
|
8088
|
-
config: {
|
|
8089
|
-
layout: { xs: 0, sm: 0, md: 4 }
|
|
8090
|
-
}
|
|
8200
|
+
widget: "Array"
|
|
8201
|
+
},
|
|
8202
|
+
config: {
|
|
8203
|
+
layout: 12,
|
|
8204
|
+
main: {
|
|
8205
|
+
label: "Validation",
|
|
8206
|
+
childElementLabel: "Validation"
|
|
8207
|
+
},
|
|
8208
|
+
style: {
|
|
8209
|
+
marginLeft: "-24px",
|
|
8210
|
+
marginBottom: "24px !important",
|
|
8211
|
+
labelStyle: {
|
|
8212
|
+
marginLeft: "24px"
|
|
8213
|
+
},
|
|
8214
|
+
detailsStyle: {
|
|
8215
|
+
marginLeft: "24px"
|
|
8216
|
+
}
|
|
8217
|
+
}
|
|
8218
|
+
},
|
|
8219
|
+
elements: [
|
|
8220
|
+
{
|
|
8221
|
+
type: "Control",
|
|
8222
|
+
scope: "#/properties/validationType",
|
|
8223
|
+
options: {
|
|
8224
|
+
widget: "SelectInputField"
|
|
8225
|
+
},
|
|
8226
|
+
config: {
|
|
8227
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
8228
|
+
main: {
|
|
8229
|
+
label: "Validation Type"
|
|
8091
8230
|
}
|
|
8092
|
-
|
|
8231
|
+
}
|
|
8232
|
+
},
|
|
8233
|
+
{
|
|
8234
|
+
type: "Control",
|
|
8235
|
+
scope: "#/properties/validationValue",
|
|
8236
|
+
options: {
|
|
8237
|
+
widget: "InputField"
|
|
8238
|
+
},
|
|
8239
|
+
config: {
|
|
8240
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
8241
|
+
main: {
|
|
8242
|
+
label: "Validation Value"
|
|
8243
|
+
}
|
|
8244
|
+
}
|
|
8245
|
+
},
|
|
8246
|
+
{
|
|
8247
|
+
type: "Control",
|
|
8248
|
+
scope: "#/properties/emptyBox",
|
|
8249
|
+
options: {
|
|
8250
|
+
widget: "EmptyBox"
|
|
8251
|
+
},
|
|
8252
|
+
config: {
|
|
8253
|
+
layout: { xs: 0, sm: 0, md: 4, lg: 4 }
|
|
8254
|
+
}
|
|
8093
8255
|
}
|
|
8094
|
-
|
|
8256
|
+
]
|
|
8095
8257
|
}
|
|
8096
8258
|
]
|
|
8097
8259
|
};
|
|
@@ -8247,54 +8409,124 @@ function okHandler(store2) {
|
|
|
8247
8409
|
}
|
|
8248
8410
|
}
|
|
8249
8411
|
const sectionLabels = {
|
|
8250
|
-
Select: ["Core", "Properties", "Value", "
|
|
8251
|
-
MultipleSelect: ["Core", "Properties", "Value", "
|
|
8252
|
-
Table: ["Core", "Components", "Properties", "
|
|
8253
|
-
LeaderBoard: ["Core", "Components", "Properties", "
|
|
8412
|
+
Select: ["Core", "Properties", "Value", "Events", "Style", "Validation"],
|
|
8413
|
+
MultipleSelect: ["Core", "Properties", "Value", "Events", "Style", "Validation"],
|
|
8414
|
+
Table: ["Core", "Components", "Properties", "Events", "Style", "Validation"],
|
|
8415
|
+
LeaderBoard: ["Core", "Components", "Properties", "Events", "Style", "Validation"],
|
|
8254
8416
|
WrapperSection: ["Core", "Components", "Properties", "Style", "Validation"],
|
|
8255
8417
|
TabSection: ["Core", "Components", "Properties", "Style", "Validation"],
|
|
8256
|
-
SpeedoMeter: ["Core", "Properties", "
|
|
8257
|
-
card: ["Core", "Properties", "
|
|
8258
|
-
UploadFile: ["Core", "
|
|
8259
|
-
Graph: ["Core", "Properties", "
|
|
8260
|
-
DownloadFile: ["Core", "
|
|
8261
|
-
Box: ["Core", "
|
|
8262
|
-
Properties: ["Core", "Properties", "
|
|
8263
|
-
ProgressBarCard: ["Core", "Properties", "
|
|
8264
|
-
RankCard: ["Core", "Properties", "
|
|
8265
|
-
Slider: ["Core", "Components", "
|
|
8266
|
-
Timer: ["Core", "
|
|
8267
|
-
Rank: ["Core", "
|
|
8268
|
-
Button: ["Core", "Properties", "
|
|
8418
|
+
SpeedoMeter: ["Core", "Properties", "Events", "Style", "Validation"],
|
|
8419
|
+
card: ["Core", "Properties", "Events", "Style", "Validation"],
|
|
8420
|
+
UploadFile: ["Core", "Events", "Style", "Validation"],
|
|
8421
|
+
Graph: ["Core", "Properties", "Events", "Style", "Validation"],
|
|
8422
|
+
DownloadFile: ["Core", "Events", "Style", "Validation"],
|
|
8423
|
+
Box: ["Core", "Events", "Style", "Validation"],
|
|
8424
|
+
Properties: ["Core", "Properties", "Events", "Style", "Validation"],
|
|
8425
|
+
ProgressBarCard: ["Core", "Properties", "Events", "Style", "Validation"],
|
|
8426
|
+
RankCard: ["Core", "Properties", "Events", "Style", "Validation"],
|
|
8427
|
+
Slider: ["Core", "Components", "Events", "Style", "Validation"],
|
|
8428
|
+
Timer: ["Core", "Events", "Style", "Validation"],
|
|
8429
|
+
Rank: ["Core", "Events", "Style", "Validation"],
|
|
8430
|
+
Button: ["Core", "Properties", "Events", "Style", "Validation"],
|
|
8269
8431
|
Array: ["Core", "Components", "Validation"],
|
|
8270
|
-
Radio: ["Core", "Properties", "
|
|
8271
|
-
Text: ["Core", "Properties", "
|
|
8272
|
-
TextArea: ["Core", "Properties", "
|
|
8432
|
+
Radio: ["Core", "Properties", "Events", "Style", "Validation"],
|
|
8433
|
+
Text: ["Core", "Properties", "Events", "Style", "Validation"],
|
|
8434
|
+
TextArea: ["Core", "Properties", "Events", "Style", "Validation"],
|
|
8273
8435
|
PopUp: ["Core", "Components", "Properties", "Style"],
|
|
8274
|
-
Stepper: ["Core", "Components", "Properties", "
|
|
8275
|
-
DataGrid: ["Core", "Components", "Properties", "
|
|
8276
|
-
InputSlider: ["Core", "Properties", "
|
|
8277
|
-
TreeMap: ["Core", "Components", "Properties", "
|
|
8436
|
+
Stepper: ["Core", "Components", "Properties", "Events", "Style"],
|
|
8437
|
+
DataGrid: ["Core", "Components", "Properties", "Events", "Style"],
|
|
8438
|
+
InputSlider: ["Core", "Properties", "Events", "Style", "Validation"],
|
|
8439
|
+
TreeMap: ["Core", "Components", "Properties", "Events", "Style"],
|
|
8278
8440
|
ColumnGroup: ["Core", "Components"],
|
|
8279
|
-
Thought: ["Core", "Properties", "
|
|
8441
|
+
Thought: ["Core", "Properties", "Events", "Style", "Validation"]
|
|
8280
8442
|
};
|
|
8281
8443
|
function refreshPage(type, store2) {
|
|
8282
|
-
var _a;
|
|
8444
|
+
var _a, _b;
|
|
8283
8445
|
const UiSchema = _.cloneDeep(componentBasicUiSchema(store2.theme.myTheme));
|
|
8446
|
+
const currentConfig = JSON.parse(sessionStorage.getItem("pageFormdata"));
|
|
8284
8447
|
if (type) {
|
|
8285
8448
|
const sectionUiSchema = {
|
|
8286
8449
|
Core: CoreSection,
|
|
8287
8450
|
Value: ValueTab,
|
|
8288
8451
|
Style: StyleSection,
|
|
8289
|
-
|
|
8452
|
+
Events: EventSection(store2.theme.myTheme),
|
|
8290
8453
|
Components: TableSection(store2.theme.myTheme),
|
|
8291
8454
|
Properties: buildPropertiesSection(type),
|
|
8292
8455
|
Validation: ValidationSection
|
|
8293
8456
|
};
|
|
8294
8457
|
const elements = (_a = sectionLabels[type]) == null ? void 0 : _a.map((e) => sectionUiSchema[e]);
|
|
8295
|
-
UiSchema.elements[0].config.main.tabLabels = sectionLabels[type] || ["Core", "Style", "
|
|
8458
|
+
UiSchema.elements[0].config.main.tabLabels = sectionLabels[type] || ["Core", "Style", "Events", "Validation"];
|
|
8296
8459
|
UiSchema.elements[0].elements = elements || [CoreSection, StyleSection, EventSection(store2.theme.myTheme), ValidationSection];
|
|
8297
8460
|
}
|
|
8461
|
+
const path = (_b = store2.searchParams) == null ? void 0 : _b.get("path");
|
|
8462
|
+
const lastDotIndex = path.lastIndexOf(".");
|
|
8463
|
+
const parentPath = path.slice(0, lastDotIndex);
|
|
8464
|
+
const parentObj = _.get(currentConfig, parentPath);
|
|
8465
|
+
if ((parentObj == null ? void 0 : parentObj.type) === "Table") {
|
|
8466
|
+
UiSchema.elements[0].elements[0].elements[4] = {
|
|
8467
|
+
type: "Control",
|
|
8468
|
+
scope: "#/properties/columnFormat",
|
|
8469
|
+
options: {
|
|
8470
|
+
widget: "SelectInputField"
|
|
8471
|
+
},
|
|
8472
|
+
config: {
|
|
8473
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 3 },
|
|
8474
|
+
main: {
|
|
8475
|
+
label: "Column Format"
|
|
8476
|
+
}
|
|
8477
|
+
}
|
|
8478
|
+
};
|
|
8479
|
+
UiSchema.elements[0].elements[0].elements[6] = {
|
|
8480
|
+
type: "Control",
|
|
8481
|
+
scope: "#/properties/filteringOptions",
|
|
8482
|
+
options: {
|
|
8483
|
+
widget: "SelectInputField"
|
|
8484
|
+
},
|
|
8485
|
+
config: {
|
|
8486
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 3 },
|
|
8487
|
+
main: {
|
|
8488
|
+
label: "Filter Mode",
|
|
8489
|
+
multiple: true
|
|
8490
|
+
}
|
|
8491
|
+
}
|
|
8492
|
+
};
|
|
8493
|
+
UiSchema.elements[0].elements[0].elements[5] = {
|
|
8494
|
+
type: "Control",
|
|
8495
|
+
scope: "#/properties/enableFilter",
|
|
8496
|
+
options: {
|
|
8497
|
+
widget: "RadioInputField"
|
|
8498
|
+
},
|
|
8499
|
+
config: {
|
|
8500
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 3 },
|
|
8501
|
+
main: {
|
|
8502
|
+
label: "Enable Filter",
|
|
8503
|
+
options: ["Yes", "No"]
|
|
8504
|
+
}
|
|
8505
|
+
}
|
|
8506
|
+
}, UiSchema.elements[0].elements[0].elements[7] = {
|
|
8507
|
+
type: "Control",
|
|
8508
|
+
scope: "#/properties/enableSorting",
|
|
8509
|
+
options: {
|
|
8510
|
+
widget: "RadioInputField"
|
|
8511
|
+
},
|
|
8512
|
+
config: {
|
|
8513
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 3 },
|
|
8514
|
+
main: {
|
|
8515
|
+
label: "Enable Sorting",
|
|
8516
|
+
options: ["Yes", "No"]
|
|
8517
|
+
}
|
|
8518
|
+
}
|
|
8519
|
+
}, UiSchema.elements[0].elements[0].elements[8] = {
|
|
8520
|
+
type: "Control",
|
|
8521
|
+
scope: "#/properties/proc",
|
|
8522
|
+
config: {
|
|
8523
|
+
layout: { xs: 6, sm: 6, md: 8, lg: 3 }
|
|
8524
|
+
},
|
|
8525
|
+
options: {
|
|
8526
|
+
widget: "EmptyBox"
|
|
8527
|
+
}
|
|
8528
|
+
};
|
|
8529
|
+
}
|
|
8298
8530
|
if (sessionStorage.getItem("copiedConfig")) {
|
|
8299
8531
|
this.ElementPathSetter(UiSchema);
|
|
8300
8532
|
}
|
|
@@ -8316,10 +8548,34 @@ var Component = (store2, dynamicData2, submitHandler, service2) => {
|
|
|
8316
8548
|
return getFormdataFromSessionStorage(path);
|
|
8317
8549
|
},
|
|
8318
8550
|
getSchema: function() {
|
|
8551
|
+
var _a, _b, _c;
|
|
8319
8552
|
const schema2 = _.cloneDeep(ComponentSchema);
|
|
8320
8553
|
if (sessionStorage.getItem("copiedConfig")) {
|
|
8321
8554
|
schema2.properties.RemoveItemButton.disabled = false;
|
|
8322
8555
|
}
|
|
8556
|
+
const config2 = JSON.parse(sessionStorage.getItem("pageFormdata"));
|
|
8557
|
+
const path = (_a = store2.searchParams) == null ? void 0 : _a.get("path");
|
|
8558
|
+
const id = (_b = store2.searchParams) == null ? void 0 : _b.get("id");
|
|
8559
|
+
let pathArray = [{ label: (_c = config2.name) != null ? _c : "NewPage", path: `/PageMaster${id ? `?id=${id}` : ""}` }];
|
|
8560
|
+
if (path) {
|
|
8561
|
+
const pathArrayAll = path.split(".");
|
|
8562
|
+
const arr = [];
|
|
8563
|
+
pathArrayAll.map((e, i) => {
|
|
8564
|
+
if (i === 0) {
|
|
8565
|
+
arr.push(e);
|
|
8566
|
+
return;
|
|
8567
|
+
}
|
|
8568
|
+
arr.push(`${arr[i - 1]}.${e}`);
|
|
8569
|
+
});
|
|
8570
|
+
arr.map((e) => {
|
|
8571
|
+
const data = _.get(config2, e);
|
|
8572
|
+
pathArray.push({
|
|
8573
|
+
label: (data == null ? void 0 : data.name) || (data == null ? void 0 : data.eventType) || "NewComponent",
|
|
8574
|
+
path: `/Component?path=${e}${id ? `&id=${id}` : ""}`
|
|
8575
|
+
});
|
|
8576
|
+
});
|
|
8577
|
+
}
|
|
8578
|
+
schema2.properties.pageName.path = pathArray;
|
|
8323
8579
|
return schema2;
|
|
8324
8580
|
},
|
|
8325
8581
|
okHandler: () => okHandler(store2),
|
|
@@ -8457,15 +8713,15 @@ var Component = (store2, dynamicData2, submitHandler, service2) => {
|
|
|
8457
8713
|
const pastedElementPath = this.elementPathHandler(pastedElementParentPath, insertElementIndex, elementType);
|
|
8458
8714
|
const copiedConfig = JSON.parse(sessionStorage.getItem("copiedConfig"));
|
|
8459
8715
|
const notificationMessages = {
|
|
8460
|
-
|
|
8461
|
-
Component: "The component cannot be integrated into the
|
|
8716
|
+
Events: " The Events cannot be integrated into the component section.",
|
|
8717
|
+
Component: "The component cannot be integrated into the Events section."
|
|
8462
8718
|
};
|
|
8463
8719
|
if (copiedConfig.Handler && elementType === "Component") {
|
|
8464
8720
|
store2.setNotify({
|
|
8465
|
-
FailMessage: notificationMessages.
|
|
8721
|
+
FailMessage: notificationMessages.Events,
|
|
8466
8722
|
Fail: true
|
|
8467
8723
|
});
|
|
8468
|
-
} else if (copiedConfig.name && elementType === "
|
|
8724
|
+
} else if (copiedConfig.name && elementType === "Events") {
|
|
8469
8725
|
store2.setNotify({
|
|
8470
8726
|
FailMessage: notificationMessages.Component,
|
|
8471
8727
|
Fail: true
|
|
@@ -8491,8 +8747,11 @@ var Component = (store2, dynamicData2, submitHandler, service2) => {
|
|
|
8491
8747
|
return parentPath ? `${parentPath}.events[${rowId}]` : `events[${rowId}]`;
|
|
8492
8748
|
},
|
|
8493
8749
|
ElementPathSetter: function(uiSchema, copiedFormData) {
|
|
8750
|
+
var _a, _b, _c, _d, _e, _f;
|
|
8494
8751
|
const formData = copiedFormData || JSON.parse(sessionStorage.getItem("copiedConfig"));
|
|
8495
|
-
uiSchema.elements[
|
|
8752
|
+
if ((_f = (_e = (_d = (_c = (_b = (_a = uiSchema == null ? void 0 : uiSchema.elements) == null ? void 0 : _a[1]) == null ? void 0 : _b.elements) == null ? void 0 : _c[0]) == null ? void 0 : _d.config) == null ? void 0 : _e.main) == null ? void 0 : _f.headerIcons) {
|
|
8753
|
+
uiSchema.elements[1].elements[0].config.main.headerIcons.elements[1].widget.config.main.tooltipMessage = `Copied Path: ${formData.name}`;
|
|
8754
|
+
}
|
|
8496
8755
|
}
|
|
8497
8756
|
};
|
|
8498
8757
|
};
|
|
@@ -8643,18 +8902,18 @@ const EventSchema = {
|
|
|
8643
8902
|
eventType: {
|
|
8644
8903
|
type: "string",
|
|
8645
8904
|
oneOf: [
|
|
8646
|
-
{ title: "Click
|
|
8647
|
-
{ title: "Load
|
|
8648
|
-
{ title: "Change
|
|
8649
|
-
{ title: "Mount
|
|
8905
|
+
{ title: "Click", const: "onClick" },
|
|
8906
|
+
{ title: "Load", const: "onLoad" },
|
|
8907
|
+
{ title: "Change", const: "onChange" },
|
|
8908
|
+
{ title: "Mount", const: "onMount" },
|
|
8650
8909
|
{ title: "Success", const: "Success" },
|
|
8651
|
-
{ title: "
|
|
8652
|
-
{ title: "Cell
|
|
8653
|
-
{ title: "
|
|
8654
|
-
{ title: "Back
|
|
8655
|
-
{ title: "Next
|
|
8656
|
-
{ title: "
|
|
8657
|
-
{ title: "
|
|
8910
|
+
{ title: "Start", const: "onStart" },
|
|
8911
|
+
{ title: "Cell Render", const: "onCellRenderer" },
|
|
8912
|
+
{ title: "Upload", const: "onUpload" },
|
|
8913
|
+
{ title: "Back", const: "onBack" },
|
|
8914
|
+
{ title: "Next", const: "onNext" },
|
|
8915
|
+
{ title: "Row Movement", const: "onRowMovement" },
|
|
8916
|
+
{ title: "Download", const: "onDownload" },
|
|
8658
8917
|
{ title: "Fail", const: "Fail" }
|
|
8659
8918
|
]
|
|
8660
8919
|
},
|
|
@@ -8662,7 +8921,7 @@ const EventSchema = {
|
|
|
8662
8921
|
type: "string",
|
|
8663
8922
|
oneOf: [
|
|
8664
8923
|
{ title: "Custom", const: "custom" },
|
|
8665
|
-
{ title: "
|
|
8924
|
+
{ title: "API", const: "api" },
|
|
8666
8925
|
{ title: "Inbuilt Function", const: "inBuiltFunction" },
|
|
8667
8926
|
{ title: "Refresh", const: "refresh" }
|
|
8668
8927
|
]
|
|
@@ -8691,47 +8950,49 @@ const EventSchema = {
|
|
|
8691
8950
|
},
|
|
8692
8951
|
RemoveItemButton: {
|
|
8693
8952
|
disabled: true
|
|
8953
|
+
},
|
|
8954
|
+
pageName: {
|
|
8955
|
+
path: [{ label: "defaultLabel", path: "defaultPath" }]
|
|
8694
8956
|
}
|
|
8695
8957
|
},
|
|
8696
8958
|
required: ["eventType", "Handler"]
|
|
8697
8959
|
};
|
|
8698
8960
|
const EventUiSchema = (theme) => {
|
|
8699
|
-
var _a
|
|
8961
|
+
var _a;
|
|
8700
8962
|
const uiSchema = {
|
|
8701
8963
|
type: "HorizontalLayout",
|
|
8702
|
-
heading: "
|
|
8964
|
+
heading: "Page-Events",
|
|
8703
8965
|
elements: [
|
|
8704
|
-
{
|
|
8705
|
-
type: "Control",
|
|
8706
|
-
scope: "#/properties/pageName",
|
|
8707
|
-
options: {
|
|
8708
|
-
widget: "Box"
|
|
8709
|
-
},
|
|
8710
|
-
config: {
|
|
8711
|
-
layout: 12,
|
|
8712
|
-
main: {
|
|
8713
|
-
heading: " "
|
|
8714
|
-
},
|
|
8715
|
-
style: {
|
|
8716
|
-
marginLeft: theme.spacing(3),
|
|
8717
|
-
width: "auto",
|
|
8718
|
-
fontSize: "12px",
|
|
8719
|
-
color: "gray"
|
|
8720
|
-
}
|
|
8721
|
-
}
|
|
8722
|
-
},
|
|
8723
8966
|
{
|
|
8724
8967
|
type: "TabLayout",
|
|
8725
8968
|
config: {
|
|
8726
8969
|
main: {
|
|
8727
|
-
tabLabels: ["Core", "Response
|
|
8728
|
-
defaultStyle: true,
|
|
8970
|
+
tabLabels: ["Core", "Response Events"],
|
|
8729
8971
|
id: "event"
|
|
8972
|
+
},
|
|
8973
|
+
style: {
|
|
8974
|
+
TabPanelStyle: {
|
|
8975
|
+
padding: 0
|
|
8976
|
+
}
|
|
8977
|
+
},
|
|
8978
|
+
TabsStyle: {
|
|
8979
|
+
marginBottom: "3px",
|
|
8980
|
+
paddingBottom: "4px",
|
|
8981
|
+
boxShadow: "0px 3px 4px #afafaf80",
|
|
8982
|
+
"& .MuiTabs-indicator": {
|
|
8983
|
+
bottom: "6px"
|
|
8984
|
+
}
|
|
8730
8985
|
}
|
|
8731
8986
|
},
|
|
8732
8987
|
elements: [
|
|
8733
8988
|
{
|
|
8734
|
-
type: "
|
|
8989
|
+
type: "WrapperLayout",
|
|
8990
|
+
config: {
|
|
8991
|
+
main: {
|
|
8992
|
+
label: " ",
|
|
8993
|
+
gap: "8px"
|
|
8994
|
+
}
|
|
8995
|
+
},
|
|
8735
8996
|
elements: [
|
|
8736
8997
|
{
|
|
8737
8998
|
type: "Control",
|
|
@@ -8740,9 +9001,9 @@ const EventUiSchema = (theme) => {
|
|
|
8740
9001
|
widget: "SelectInputField"
|
|
8741
9002
|
},
|
|
8742
9003
|
config: {
|
|
8743
|
-
layout: { xs: 6, sm: 6, md: 4, lg:
|
|
9004
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 3 },
|
|
8744
9005
|
main: {
|
|
8745
|
-
label: "Event Type",
|
|
9006
|
+
label: "Event's Type",
|
|
8746
9007
|
type: "text"
|
|
8747
9008
|
}
|
|
8748
9009
|
}
|
|
@@ -8755,7 +9016,7 @@ const EventUiSchema = (theme) => {
|
|
|
8755
9016
|
widget: "EmptyBox"
|
|
8756
9017
|
},
|
|
8757
9018
|
config: {
|
|
8758
|
-
layout: { xs: 0, sm:
|
|
9019
|
+
layout: { xs: 0, sm: 0, md: 4, lg: 6 }
|
|
8759
9020
|
}
|
|
8760
9021
|
}
|
|
8761
9022
|
]
|
|
@@ -8781,12 +9042,18 @@ const EventUiSchema = (theme) => {
|
|
|
8781
9042
|
main: {
|
|
8782
9043
|
onClick: "addEvent",
|
|
8783
9044
|
size: "small",
|
|
8784
|
-
icon: "
|
|
8785
|
-
iconLabel: "Add
|
|
9045
|
+
icon: "TableAddIcon",
|
|
9046
|
+
iconLabel: "Add",
|
|
8786
9047
|
styleDefault: true
|
|
8787
9048
|
},
|
|
8788
9049
|
style: {
|
|
8789
|
-
mt: "6px"
|
|
9050
|
+
mt: "6px",
|
|
9051
|
+
color: "inherit",
|
|
9052
|
+
fill: "inherit",
|
|
9053
|
+
"&:hover": {
|
|
9054
|
+
color: "inherit",
|
|
9055
|
+
fill: "inherit"
|
|
9056
|
+
}
|
|
8790
9057
|
}
|
|
8791
9058
|
}
|
|
8792
9059
|
}
|
|
@@ -8802,12 +9069,18 @@ const EventUiSchema = (theme) => {
|
|
|
8802
9069
|
main: {
|
|
8803
9070
|
onClick: "copyPasteElement",
|
|
8804
9071
|
size: "small",
|
|
8805
|
-
icon: "
|
|
9072
|
+
icon: "TablePaste",
|
|
8806
9073
|
iconLabel: "Paste",
|
|
8807
9074
|
styleDefault: true
|
|
8808
9075
|
},
|
|
8809
9076
|
style: {
|
|
8810
|
-
mt: "6px"
|
|
9077
|
+
mt: "6px",
|
|
9078
|
+
color: "inherit",
|
|
9079
|
+
fill: "inherit",
|
|
9080
|
+
"&:hover": {
|
|
9081
|
+
color: "inherit",
|
|
9082
|
+
fill: "inherit"
|
|
9083
|
+
}
|
|
8811
9084
|
}
|
|
8812
9085
|
}
|
|
8813
9086
|
}
|
|
@@ -8822,15 +9095,21 @@ const EventUiSchema = (theme) => {
|
|
|
8822
9095
|
elements: [
|
|
8823
9096
|
{
|
|
8824
9097
|
accessorKey: "eventType",
|
|
8825
|
-
header: "Event Type"
|
|
9098
|
+
header: "Event's Type",
|
|
9099
|
+
size: 300,
|
|
9100
|
+
type: "string"
|
|
8826
9101
|
},
|
|
8827
9102
|
{
|
|
8828
9103
|
accessorKey: "Handler",
|
|
8829
|
-
header: "Handler"
|
|
9104
|
+
header: "Handler",
|
|
9105
|
+
size: 200,
|
|
9106
|
+
type: "string"
|
|
8830
9107
|
},
|
|
8831
9108
|
{
|
|
8832
9109
|
accessorKey: "Edit_Approve_Records",
|
|
8833
|
-
header: "Edit
|
|
9110
|
+
header: "Edit",
|
|
9111
|
+
type: "action",
|
|
9112
|
+
size: 150,
|
|
8834
9113
|
widget: {
|
|
8835
9114
|
type: "Control",
|
|
8836
9115
|
scope: "#/properties/Edit_Records",
|
|
@@ -8839,14 +9118,16 @@ const EventUiSchema = (theme) => {
|
|
|
8839
9118
|
},
|
|
8840
9119
|
config: {
|
|
8841
9120
|
main: {
|
|
8842
|
-
color: "info",
|
|
8843
9121
|
size: "small",
|
|
8844
|
-
icon: "
|
|
9122
|
+
icon: "TableEditIcon",
|
|
8845
9123
|
tooltipMessage: "Edit This Record",
|
|
8846
9124
|
onClick: "editEvent"
|
|
8847
9125
|
},
|
|
8848
9126
|
style: {
|
|
8849
|
-
|
|
9127
|
+
fill: theme.palette.primary.main,
|
|
9128
|
+
"& :hover": {
|
|
9129
|
+
fill: theme.palette.primary.dark
|
|
9130
|
+
}
|
|
8850
9131
|
}
|
|
8851
9132
|
}
|
|
8852
9133
|
}
|
|
@@ -8854,6 +9135,8 @@ const EventUiSchema = (theme) => {
|
|
|
8854
9135
|
{
|
|
8855
9136
|
accessorKey: "Reject_Records",
|
|
8856
9137
|
header: "Delete",
|
|
9138
|
+
type: "action",
|
|
9139
|
+
size: 150,
|
|
8857
9140
|
widget: {
|
|
8858
9141
|
type: "Control",
|
|
8859
9142
|
scope: "#/properties/RejectButton",
|
|
@@ -8862,10 +9145,15 @@ const EventUiSchema = (theme) => {
|
|
|
8862
9145
|
},
|
|
8863
9146
|
config: {
|
|
8864
9147
|
main: {
|
|
8865
|
-
icon: "
|
|
8866
|
-
color: "error",
|
|
9148
|
+
icon: "Bin",
|
|
8867
9149
|
tooltipMessage: "Reject This Record",
|
|
8868
9150
|
onClick: "deletePopUpEvent"
|
|
9151
|
+
},
|
|
9152
|
+
style: {
|
|
9153
|
+
fill: theme.palette.primary.main,
|
|
9154
|
+
"& :hover": {
|
|
9155
|
+
fill: theme.palette.primary.dark
|
|
9156
|
+
}
|
|
8869
9157
|
}
|
|
8870
9158
|
}
|
|
8871
9159
|
}
|
|
@@ -8873,7 +9161,8 @@ const EventUiSchema = (theme) => {
|
|
|
8873
9161
|
{
|
|
8874
9162
|
header: "Copy",
|
|
8875
9163
|
field: "Copy_Event",
|
|
8876
|
-
|
|
9164
|
+
type: "action",
|
|
9165
|
+
size: 150,
|
|
8877
9166
|
widget: {
|
|
8878
9167
|
type: "Control",
|
|
8879
9168
|
scope: "#/properties/Copy_Event",
|
|
@@ -8894,103 +9183,59 @@ const EventUiSchema = (theme) => {
|
|
|
8894
9183
|
]
|
|
8895
9184
|
},
|
|
8896
9185
|
{
|
|
8897
|
-
type: "
|
|
9186
|
+
type: "WrapperLayout",
|
|
8898
9187
|
config: {
|
|
8899
|
-
|
|
9188
|
+
main: {
|
|
9189
|
+
gap: "8px"
|
|
9190
|
+
}
|
|
8900
9191
|
},
|
|
8901
9192
|
elements: [
|
|
8902
9193
|
{
|
|
8903
9194
|
type: "Control",
|
|
8904
|
-
scope: "#/properties/
|
|
9195
|
+
scope: "#/properties/btn",
|
|
8905
9196
|
options: {
|
|
8906
|
-
widget: "
|
|
9197
|
+
widget: "Button"
|
|
8907
9198
|
},
|
|
8908
9199
|
config: {
|
|
8909
|
-
layout: { xs:
|
|
9200
|
+
layout: { xs: 4, sm: 2.5, md: 2, lg: 1.5 },
|
|
8910
9201
|
main: {
|
|
8911
|
-
|
|
8912
|
-
|
|
8913
|
-
|
|
8914
|
-
|
|
8915
|
-
|
|
8916
|
-
style: {
|
|
8917
|
-
marginLeft: "-10px"
|
|
9202
|
+
name: "Ok",
|
|
9203
|
+
variant: "contained",
|
|
9204
|
+
type: "text",
|
|
9205
|
+
onClick: "okHandler",
|
|
9206
|
+
size: "medium"
|
|
8918
9207
|
}
|
|
8919
9208
|
}
|
|
8920
9209
|
},
|
|
8921
9210
|
{
|
|
8922
9211
|
type: "Control",
|
|
8923
|
-
scope: "#/properties/
|
|
9212
|
+
scope: "#/properties/btnSubmit",
|
|
8924
9213
|
options: {
|
|
8925
|
-
widget: "
|
|
9214
|
+
widget: "Button"
|
|
8926
9215
|
},
|
|
8927
9216
|
config: {
|
|
8928
|
-
layout: { xs:
|
|
9217
|
+
layout: { xs: 4, sm: 2.5, md: 2, lg: 1.5 },
|
|
8929
9218
|
main: {
|
|
8930
|
-
|
|
8931
|
-
|
|
8932
|
-
|
|
8933
|
-
|
|
8934
|
-
|
|
8935
|
-
fontSize: "12px",
|
|
8936
|
-
marginTop: "4px"
|
|
9219
|
+
name: "Save & Exit",
|
|
9220
|
+
variant: "contained",
|
|
9221
|
+
type: "text",
|
|
9222
|
+
onClick: "saveHandler",
|
|
9223
|
+
size: "medium"
|
|
8937
9224
|
}
|
|
8938
9225
|
}
|
|
8939
9226
|
},
|
|
8940
9227
|
{
|
|
8941
9228
|
type: "Control",
|
|
8942
9229
|
scope: "#/properties/EmptyBox",
|
|
9230
|
+
config: {
|
|
9231
|
+
layout: { xs: 4, sm: 7, md: 8, lg: 9 }
|
|
9232
|
+
},
|
|
8943
9233
|
options: {
|
|
8944
9234
|
widget: "EmptyBox"
|
|
8945
|
-
},
|
|
8946
|
-
config: {
|
|
8947
|
-
layout: { xs: 1, sm: 5 }
|
|
8948
9235
|
}
|
|
8949
9236
|
}
|
|
8950
9237
|
]
|
|
8951
9238
|
},
|
|
8952
|
-
{
|
|
8953
|
-
type: "Control",
|
|
8954
|
-
scope: "#/properties/btn",
|
|
8955
|
-
options: {
|
|
8956
|
-
widget: "Button"
|
|
8957
|
-
},
|
|
8958
|
-
config: {
|
|
8959
|
-
layout: { xs: 4, sm: 2 },
|
|
8960
|
-
main: {
|
|
8961
|
-
name: "Ok",
|
|
8962
|
-
startIcon: "ApproveIcon",
|
|
8963
|
-
variant: "contained",
|
|
8964
|
-
type: "text",
|
|
8965
|
-
onClick: "okHandler",
|
|
8966
|
-
size: "medium"
|
|
8967
|
-
},
|
|
8968
|
-
style: {
|
|
8969
|
-
float: "right"
|
|
8970
|
-
}
|
|
8971
|
-
}
|
|
8972
|
-
},
|
|
8973
|
-
{
|
|
8974
|
-
type: "Control",
|
|
8975
|
-
scope: "#/properties/btnSubmit",
|
|
8976
|
-
options: {
|
|
8977
|
-
widget: "Button"
|
|
8978
|
-
},
|
|
8979
|
-
config: {
|
|
8980
|
-
layout: { xs: 4, sm: 2 },
|
|
8981
|
-
main: {
|
|
8982
|
-
name: "Save & Exit",
|
|
8983
|
-
startIcon: "ApproveIcon",
|
|
8984
|
-
variant: "contained",
|
|
8985
|
-
type: "text",
|
|
8986
|
-
onClick: "saveHandler",
|
|
8987
|
-
size: "medium"
|
|
8988
|
-
},
|
|
8989
|
-
style: {
|
|
8990
|
-
float: "right"
|
|
8991
|
-
}
|
|
8992
|
-
}
|
|
8993
|
-
},
|
|
8994
9239
|
{
|
|
8995
9240
|
type: "Control",
|
|
8996
9241
|
scope: "#/properties/popUpEvent",
|
|
@@ -9019,15 +9264,17 @@ const EventUiSchema = (theme) => {
|
|
|
9019
9264
|
config: {
|
|
9020
9265
|
layout: 11,
|
|
9021
9266
|
main: {
|
|
9022
|
-
heading: "Are you sure you want to delete ?"
|
|
9267
|
+
heading: "Are you sure you want to delete this Event ?"
|
|
9023
9268
|
},
|
|
9024
9269
|
style: {
|
|
9025
|
-
marginTop: "-20px",
|
|
9026
9270
|
fontSize: "20px",
|
|
9027
9271
|
"&.MuiTypography-root": {
|
|
9028
|
-
padding: "
|
|
9272
|
+
padding: "0px 20px",
|
|
9029
9273
|
textAlign: "center",
|
|
9030
|
-
lineHeight: "1"
|
|
9274
|
+
lineHeight: "1.2",
|
|
9275
|
+
fontWeight: "normal",
|
|
9276
|
+
fontSize: "18px",
|
|
9277
|
+
marginBottom: theme.spacing(5)
|
|
9031
9278
|
}
|
|
9032
9279
|
}
|
|
9033
9280
|
}
|
|
@@ -9051,13 +9298,14 @@ const EventUiSchema = (theme) => {
|
|
|
9051
9298
|
name: "No",
|
|
9052
9299
|
startIcon: "ApproveIcon",
|
|
9053
9300
|
variant: "contained",
|
|
9054
|
-
color: "info",
|
|
9055
9301
|
type: "text",
|
|
9056
9302
|
onClick: "deletePopUpEvent",
|
|
9057
9303
|
size: "large"
|
|
9058
9304
|
},
|
|
9059
9305
|
style: {
|
|
9060
9306
|
position: "absolute",
|
|
9307
|
+
padding: "8px 0px",
|
|
9308
|
+
fontSize: "16px",
|
|
9061
9309
|
bottom: 0,
|
|
9062
9310
|
left: 0,
|
|
9063
9311
|
width: "50%",
|
|
@@ -9085,7 +9333,6 @@ const EventUiSchema = (theme) => {
|
|
|
9085
9333
|
layout: 6,
|
|
9086
9334
|
main: {
|
|
9087
9335
|
name: "Yes",
|
|
9088
|
-
startIcon: "ApproveIcon",
|
|
9089
9336
|
variant: "contained",
|
|
9090
9337
|
color: "error",
|
|
9091
9338
|
type: "text",
|
|
@@ -9094,6 +9341,8 @@ const EventUiSchema = (theme) => {
|
|
|
9094
9341
|
},
|
|
9095
9342
|
style: {
|
|
9096
9343
|
position: "absolute",
|
|
9344
|
+
padding: "8px 0px",
|
|
9345
|
+
fontSize: "16px",
|
|
9097
9346
|
bottom: 0,
|
|
9098
9347
|
right: 0,
|
|
9099
9348
|
width: "50%",
|
|
@@ -9114,6 +9363,27 @@ const EventUiSchema = (theme) => {
|
|
|
9114
9363
|
}
|
|
9115
9364
|
]
|
|
9116
9365
|
},
|
|
9366
|
+
{
|
|
9367
|
+
type: "Control",
|
|
9368
|
+
scope: "#/properties/pageName",
|
|
9369
|
+
options: {
|
|
9370
|
+
widget: "Breadcrumb"
|
|
9371
|
+
},
|
|
9372
|
+
config: {
|
|
9373
|
+
layout: 12,
|
|
9374
|
+
main: {},
|
|
9375
|
+
style: {
|
|
9376
|
+
paddingLeft: theme.spacing(3),
|
|
9377
|
+
color: theme.palette.grey[600],
|
|
9378
|
+
fontSize: "10px",
|
|
9379
|
+
position: "fixed",
|
|
9380
|
+
bottom: "24px",
|
|
9381
|
+
borderBottom: `1px solid ${theme.palette.common.black}29`,
|
|
9382
|
+
borderTop: `1px solid ${theme.palette.common.black}29`,
|
|
9383
|
+
backgroundColor: theme.palette.background.default
|
|
9384
|
+
}
|
|
9385
|
+
}
|
|
9386
|
+
},
|
|
9117
9387
|
{
|
|
9118
9388
|
type: "Control",
|
|
9119
9389
|
scope: "#/properties/notify",
|
|
@@ -9131,7 +9401,7 @@ const EventUiSchema = (theme) => {
|
|
|
9131
9401
|
style: {
|
|
9132
9402
|
flexDirection: "row",
|
|
9133
9403
|
position: "absolute",
|
|
9134
|
-
bottom:
|
|
9404
|
+
bottom: 10,
|
|
9135
9405
|
height: "fit-content",
|
|
9136
9406
|
overflow: "hidden",
|
|
9137
9407
|
zIndex: 1e3,
|
|
@@ -9150,78 +9420,19 @@ const EventUiSchema = (theme) => {
|
|
|
9150
9420
|
heading: "Copywriter@ACT21.IO"
|
|
9151
9421
|
},
|
|
9152
9422
|
style: {
|
|
9153
|
-
color: ((
|
|
9423
|
+
color: ((_a = theme == null ? void 0 : theme.palette) == null ? void 0 : _a.text.disabled) || "#AFAFAF",
|
|
9154
9424
|
fontSize: "11px",
|
|
9155
9425
|
textAlign: "center",
|
|
9156
|
-
lineHeight:
|
|
9426
|
+
lineHeight: 0,
|
|
9157
9427
|
width: "fit-content",
|
|
9158
9428
|
left: "50%",
|
|
9159
9429
|
position: "relative",
|
|
9160
|
-
margin:
|
|
9430
|
+
margin: "revert",
|
|
9161
9431
|
flexGrow: 1,
|
|
9162
9432
|
height: 0,
|
|
9163
9433
|
transform: "translate(-50%, 0%)"
|
|
9164
9434
|
}
|
|
9165
9435
|
}
|
|
9166
|
-
},
|
|
9167
|
-
{
|
|
9168
|
-
type: "Control",
|
|
9169
|
-
scope: "#/properties/FooterBackIcon",
|
|
9170
|
-
options: {
|
|
9171
|
-
widget: "Box"
|
|
9172
|
-
},
|
|
9173
|
-
config: {
|
|
9174
|
-
main: {
|
|
9175
|
-
iconName: "PrevIcon",
|
|
9176
|
-
onClick: "backHandler",
|
|
9177
|
-
width: "fit-content"
|
|
9178
|
-
},
|
|
9179
|
-
style: {
|
|
9180
|
-
fill: (_d = (_c = theme == null ? void 0 : theme.palette) == null ? void 0 : _c.primary) == null ? void 0 : _d.main,
|
|
9181
|
-
width: 20,
|
|
9182
|
-
height: 0,
|
|
9183
|
-
top: 0,
|
|
9184
|
-
right: { xs: "12px", sm: "84px" },
|
|
9185
|
-
position: "absolute",
|
|
9186
|
-
fontSize: "12px",
|
|
9187
|
-
cursor: "pointer",
|
|
9188
|
-
":hover": {
|
|
9189
|
-
fill: (_f = (_e = theme == null ? void 0 : theme.palette) == null ? void 0 : _e.primary) == null ? void 0 : _f.dark
|
|
9190
|
-
},
|
|
9191
|
-
marginRight: "20px"
|
|
9192
|
-
}
|
|
9193
|
-
}
|
|
9194
|
-
},
|
|
9195
|
-
{
|
|
9196
|
-
type: "Control",
|
|
9197
|
-
scope: "#/properties/FooterBackHandlerText",
|
|
9198
|
-
options: {
|
|
9199
|
-
widget: "Box"
|
|
9200
|
-
},
|
|
9201
|
-
config: {
|
|
9202
|
-
main: {
|
|
9203
|
-
heading: "Previous Page",
|
|
9204
|
-
onClick: "backHandler"
|
|
9205
|
-
},
|
|
9206
|
-
style: {
|
|
9207
|
-
display: { xs: "none", sm: "flex" },
|
|
9208
|
-
textAlign: "left",
|
|
9209
|
-
lineHeight: 1,
|
|
9210
|
-
height: 0,
|
|
9211
|
-
width: "fit-content",
|
|
9212
|
-
color: (_h = (_g = theme == null ? void 0 : theme.palette) == null ? void 0 : _g.primary) == null ? void 0 : _h.main,
|
|
9213
|
-
fontSize: "12px",
|
|
9214
|
-
cursor: "pointer",
|
|
9215
|
-
marginLeft: "2px",
|
|
9216
|
-
top: 3,
|
|
9217
|
-
right: "12px",
|
|
9218
|
-
position: "absolute",
|
|
9219
|
-
":hover": {
|
|
9220
|
-
color: (_j = (_i = theme == null ? void 0 : theme.palette) == null ? void 0 : _i.primary) == null ? void 0 : _j.dark
|
|
9221
|
-
},
|
|
9222
|
-
marginRight: "4px"
|
|
9223
|
-
}
|
|
9224
|
-
}
|
|
9225
9436
|
}
|
|
9226
9437
|
]
|
|
9227
9438
|
}
|
|
@@ -9239,7 +9450,7 @@ const APISection = {
|
|
|
9239
9450
|
widget: "SelectInputField"
|
|
9240
9451
|
},
|
|
9241
9452
|
config: {
|
|
9242
|
-
layout: { xs: 6, sm: 6, md: 4, lg:
|
|
9453
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 3 },
|
|
9243
9454
|
main: {
|
|
9244
9455
|
label: "Method",
|
|
9245
9456
|
type: "text"
|
|
@@ -9253,23 +9464,13 @@ const APISection = {
|
|
|
9253
9464
|
widget: "InputField"
|
|
9254
9465
|
},
|
|
9255
9466
|
config: {
|
|
9256
|
-
layout: { xs: 6, sm: 6, md: 4, lg:
|
|
9257
|
-
main: {
|
|
9258
|
-
label: "Path",
|
|
9259
|
-
type: "text",
|
|
9260
|
-
multiple: false,
|
|
9261
|
-
options: []
|
|
9262
|
-
}
|
|
9263
|
-
}
|
|
9264
|
-
},
|
|
9265
|
-
{
|
|
9266
|
-
type: "Control",
|
|
9267
|
-
scope: "#/properties/emptyBox",
|
|
9268
|
-
options: {
|
|
9269
|
-
widget: "EmptyBox"
|
|
9270
|
-
},
|
|
9271
|
-
config: {
|
|
9272
|
-
layout: { xs: 0, sm: 0, md: 4, lg: 4 }
|
|
9467
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 3 },
|
|
9468
|
+
main: {
|
|
9469
|
+
label: "Path",
|
|
9470
|
+
type: "text",
|
|
9471
|
+
multiple: false,
|
|
9472
|
+
options: []
|
|
9473
|
+
}
|
|
9273
9474
|
}
|
|
9274
9475
|
},
|
|
9275
9476
|
{
|
|
@@ -9279,106 +9480,132 @@ const APISection = {
|
|
|
9279
9480
|
widget: "EmptyBox"
|
|
9280
9481
|
},
|
|
9281
9482
|
config: {
|
|
9282
|
-
layout: { xs: 0, sm: 0, md: 4, lg:
|
|
9483
|
+
layout: { xs: 0, sm: 0, md: 4, lg: 6 }
|
|
9283
9484
|
}
|
|
9284
9485
|
},
|
|
9285
9486
|
{
|
|
9286
9487
|
type: "Control",
|
|
9287
9488
|
scope: "#/properties/headers",
|
|
9288
|
-
layout: 11.5,
|
|
9289
9489
|
options: {
|
|
9290
|
-
|
|
9291
|
-
|
|
9292
|
-
|
|
9293
|
-
|
|
9294
|
-
|
|
9295
|
-
|
|
9296
|
-
|
|
9297
|
-
|
|
9298
|
-
|
|
9299
|
-
|
|
9300
|
-
|
|
9301
|
-
|
|
9302
|
-
|
|
9303
|
-
|
|
9304
|
-
|
|
9305
|
-
|
|
9306
|
-
|
|
9307
|
-
|
|
9308
|
-
|
|
9309
|
-
|
|
9310
|
-
|
|
9311
|
-
|
|
9312
|
-
|
|
9313
|
-
|
|
9314
|
-
|
|
9315
|
-
|
|
9316
|
-
|
|
9317
|
-
|
|
9318
|
-
|
|
9319
|
-
|
|
9320
|
-
{
|
|
9321
|
-
type: "Control",
|
|
9322
|
-
scope: "#/properties/emptyBox",
|
|
9323
|
-
options: {
|
|
9324
|
-
widget: "EmptyBox"
|
|
9325
|
-
},
|
|
9326
|
-
config: {
|
|
9327
|
-
layout: { xs: 0, sm: 0, md: 4, lg: 4 }
|
|
9328
|
-
}
|
|
9490
|
+
widget: "Array"
|
|
9491
|
+
},
|
|
9492
|
+
config: {
|
|
9493
|
+
layout: 12,
|
|
9494
|
+
main: {
|
|
9495
|
+
label: "Headers",
|
|
9496
|
+
childElementLabel: "Headers"
|
|
9497
|
+
},
|
|
9498
|
+
style: {
|
|
9499
|
+
marginLeft: "-24px",
|
|
9500
|
+
marginBottom: "24px !important",
|
|
9501
|
+
labelStyle: {
|
|
9502
|
+
marginLeft: "24px"
|
|
9503
|
+
},
|
|
9504
|
+
detailsStyle: {
|
|
9505
|
+
marginLeft: "24px"
|
|
9506
|
+
}
|
|
9507
|
+
}
|
|
9508
|
+
},
|
|
9509
|
+
elements: [
|
|
9510
|
+
{
|
|
9511
|
+
type: "Control",
|
|
9512
|
+
scope: "#/properties/key",
|
|
9513
|
+
options: {
|
|
9514
|
+
widget: "InputField"
|
|
9515
|
+
},
|
|
9516
|
+
config: {
|
|
9517
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
9518
|
+
main: {
|
|
9519
|
+
label: "Key"
|
|
9329
9520
|
}
|
|
9330
|
-
|
|
9521
|
+
}
|
|
9522
|
+
},
|
|
9523
|
+
{
|
|
9524
|
+
type: "Control",
|
|
9525
|
+
scope: "#/properties/value",
|
|
9526
|
+
options: {
|
|
9527
|
+
widget: "InputField"
|
|
9528
|
+
},
|
|
9529
|
+
config: {
|
|
9530
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
9531
|
+
main: {
|
|
9532
|
+
label: "Value"
|
|
9533
|
+
}
|
|
9534
|
+
}
|
|
9535
|
+
},
|
|
9536
|
+
{
|
|
9537
|
+
type: "Control",
|
|
9538
|
+
scope: "#/properties/emptyBox",
|
|
9539
|
+
options: {
|
|
9540
|
+
widget: "EmptyBox"
|
|
9541
|
+
},
|
|
9542
|
+
config: {
|
|
9543
|
+
layout: { xs: 0, sm: 0, md: 4, lg: 4 }
|
|
9544
|
+
}
|
|
9331
9545
|
}
|
|
9332
|
-
|
|
9546
|
+
]
|
|
9333
9547
|
},
|
|
9334
9548
|
{
|
|
9335
9549
|
type: "Control",
|
|
9336
9550
|
scope: "#/properties/body",
|
|
9337
|
-
layout: 11.5,
|
|
9338
9551
|
options: {
|
|
9339
|
-
|
|
9340
|
-
|
|
9341
|
-
|
|
9342
|
-
|
|
9343
|
-
|
|
9344
|
-
|
|
9345
|
-
|
|
9346
|
-
|
|
9347
|
-
|
|
9348
|
-
|
|
9349
|
-
|
|
9350
|
-
|
|
9351
|
-
|
|
9352
|
-
|
|
9353
|
-
|
|
9354
|
-
|
|
9355
|
-
|
|
9356
|
-
|
|
9357
|
-
|
|
9358
|
-
|
|
9359
|
-
|
|
9360
|
-
|
|
9361
|
-
|
|
9362
|
-
|
|
9363
|
-
|
|
9364
|
-
|
|
9365
|
-
|
|
9366
|
-
|
|
9367
|
-
|
|
9368
|
-
|
|
9369
|
-
{
|
|
9370
|
-
type: "Control",
|
|
9371
|
-
scope: "#/properties/emptyBox",
|
|
9372
|
-
options: {
|
|
9373
|
-
widget: "EmptyBox"
|
|
9374
|
-
},
|
|
9375
|
-
config: {
|
|
9376
|
-
layout: { xs: 0, sm: 0, md: 4, lg: 4 }
|
|
9377
|
-
}
|
|
9552
|
+
widget: "Array"
|
|
9553
|
+
},
|
|
9554
|
+
config: {
|
|
9555
|
+
layout: 12,
|
|
9556
|
+
main: {
|
|
9557
|
+
label: "Body",
|
|
9558
|
+
childElementLabel: "Body"
|
|
9559
|
+
},
|
|
9560
|
+
style: {
|
|
9561
|
+
marginLeft: "-24px",
|
|
9562
|
+
marginBottom: "24px !important",
|
|
9563
|
+
labelStyle: {
|
|
9564
|
+
marginLeft: "24px"
|
|
9565
|
+
},
|
|
9566
|
+
detailsStyle: {
|
|
9567
|
+
marginLeft: "24px"
|
|
9568
|
+
}
|
|
9569
|
+
}
|
|
9570
|
+
},
|
|
9571
|
+
elements: [
|
|
9572
|
+
{
|
|
9573
|
+
type: "Control",
|
|
9574
|
+
scope: "#/properties/key",
|
|
9575
|
+
options: {
|
|
9576
|
+
widget: "InputField"
|
|
9577
|
+
},
|
|
9578
|
+
config: {
|
|
9579
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
9580
|
+
main: {
|
|
9581
|
+
label: "Key"
|
|
9378
9582
|
}
|
|
9379
|
-
|
|
9583
|
+
}
|
|
9584
|
+
},
|
|
9585
|
+
{
|
|
9586
|
+
type: "Control",
|
|
9587
|
+
scope: "#/properties/value",
|
|
9588
|
+
options: {
|
|
9589
|
+
widget: "InputField"
|
|
9590
|
+
},
|
|
9591
|
+
config: {
|
|
9592
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
9593
|
+
main: {
|
|
9594
|
+
label: "Value"
|
|
9595
|
+
}
|
|
9596
|
+
}
|
|
9597
|
+
},
|
|
9598
|
+
{
|
|
9599
|
+
type: "Control",
|
|
9600
|
+
scope: "#/properties/emptyBox",
|
|
9601
|
+
options: {
|
|
9602
|
+
widget: "EmptyBox"
|
|
9603
|
+
},
|
|
9604
|
+
config: {
|
|
9605
|
+
layout: { xs: 0, sm: 0, md: 4, lg: 4 }
|
|
9606
|
+
}
|
|
9380
9607
|
}
|
|
9381
|
-
|
|
9608
|
+
]
|
|
9382
9609
|
},
|
|
9383
9610
|
getTextArea("apiBody", "Transformer", true, 12)
|
|
9384
9611
|
]
|
|
@@ -9389,116 +9616,134 @@ const refreshSectionUiSchema = {
|
|
|
9389
9616
|
{
|
|
9390
9617
|
type: "Control",
|
|
9391
9618
|
scope: "#/properties/refreshElements",
|
|
9392
|
-
layout: 11.5,
|
|
9393
9619
|
options: {
|
|
9394
|
-
|
|
9395
|
-
|
|
9396
|
-
|
|
9397
|
-
|
|
9398
|
-
|
|
9399
|
-
|
|
9400
|
-
|
|
9401
|
-
|
|
9402
|
-
|
|
9403
|
-
|
|
9404
|
-
|
|
9405
|
-
|
|
9406
|
-
|
|
9407
|
-
|
|
9408
|
-
|
|
9409
|
-
|
|
9410
|
-
|
|
9411
|
-
|
|
9412
|
-
|
|
9413
|
-
|
|
9414
|
-
|
|
9415
|
-
|
|
9416
|
-
|
|
9417
|
-
|
|
9418
|
-
|
|
9419
|
-
|
|
9420
|
-
|
|
9421
|
-
{
|
|
9422
|
-
|
|
9423
|
-
|
|
9424
|
-
options: {
|
|
9425
|
-
widget: "EmptyBox"
|
|
9426
|
-
},
|
|
9427
|
-
config: {
|
|
9428
|
-
layout: { xs: 0, sm: 0, md: 4, lg: 4 },
|
|
9429
|
-
main: {}
|
|
9430
|
-
}
|
|
9620
|
+
widget: "Array"
|
|
9621
|
+
},
|
|
9622
|
+
config: {
|
|
9623
|
+
layout: 12,
|
|
9624
|
+
main: {
|
|
9625
|
+
label: "Refresh Elements",
|
|
9626
|
+
childElementLabel: "Refresh Elements"
|
|
9627
|
+
},
|
|
9628
|
+
style: {
|
|
9629
|
+
marginLeft: "-24px",
|
|
9630
|
+
marginBottom: "24px !important",
|
|
9631
|
+
labelStyle: {
|
|
9632
|
+
marginLeft: "24px"
|
|
9633
|
+
},
|
|
9634
|
+
detailsStyle: {
|
|
9635
|
+
marginLeft: "24px"
|
|
9636
|
+
}
|
|
9637
|
+
}
|
|
9638
|
+
},
|
|
9639
|
+
elements: [
|
|
9640
|
+
{
|
|
9641
|
+
type: "Control",
|
|
9642
|
+
scope: "#/properties/value",
|
|
9643
|
+
options: {
|
|
9644
|
+
widget: "InputField"
|
|
9645
|
+
},
|
|
9646
|
+
config: {
|
|
9647
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
9648
|
+
main: {
|
|
9649
|
+
label: "Value"
|
|
9431
9650
|
}
|
|
9432
|
-
|
|
9651
|
+
}
|
|
9652
|
+
},
|
|
9653
|
+
{
|
|
9654
|
+
type: "Control",
|
|
9655
|
+
scope: "#/properties/emptyBox",
|
|
9656
|
+
options: {
|
|
9657
|
+
widget: "EmptyBox"
|
|
9658
|
+
},
|
|
9659
|
+
config: {
|
|
9660
|
+
layout: { xs: 6, sm: 6, md: 8, lg: 8 },
|
|
9661
|
+
main: {}
|
|
9662
|
+
}
|
|
9433
9663
|
}
|
|
9434
|
-
|
|
9664
|
+
]
|
|
9435
9665
|
}
|
|
9436
9666
|
]
|
|
9437
9667
|
};
|
|
9438
|
-
var emptyBox = {
|
|
9439
|
-
type: "Control",
|
|
9440
|
-
scope: "#/properties/emptyBox",
|
|
9441
|
-
options: {
|
|
9442
|
-
widget: "EmptyBox"
|
|
9443
|
-
},
|
|
9444
|
-
config: {
|
|
9445
|
-
layout: { xs: 0, sm: 4, md: 4, lg: 4 },
|
|
9446
|
-
main: {},
|
|
9447
|
-
style: {}
|
|
9448
|
-
}
|
|
9449
|
-
};
|
|
9450
9668
|
var event = (store2, dynamicData2, submitHandler, service2, functionsName) => {
|
|
9451
9669
|
return {
|
|
9452
9670
|
setPage: async function() {
|
|
9453
9671
|
const formdata = await this.getFormData();
|
|
9454
9672
|
store2.setFormdata(formdata);
|
|
9455
9673
|
const schema2 = await this.getSchema();
|
|
9674
|
+
console.log("SettingSchema>>", schema2);
|
|
9456
9675
|
store2.setSchema(schema2);
|
|
9457
9676
|
this.refreshPage(formdata.Handler, store2);
|
|
9458
9677
|
},
|
|
9459
9678
|
refreshPage: (handlerType, store22) => {
|
|
9679
|
+
var _a, _b, _c;
|
|
9460
9680
|
const uiSchema = _.cloneDeep(EventUiSchema(store22.theme.myTheme));
|
|
9461
9681
|
const schema2 = _.cloneDeep(EventSchema);
|
|
9462
9682
|
if (handlerType) {
|
|
9463
9683
|
if (handlerType === "custom") {
|
|
9464
|
-
uiSchema.elements[
|
|
9465
|
-
|
|
9684
|
+
uiSchema.elements[0].elements[0].elements[2] = getRadioInputField(
|
|
9685
|
+
"isSync",
|
|
9686
|
+
"Run in Sync",
|
|
9687
|
+
["Yes", "No"]
|
|
9688
|
+
);
|
|
9689
|
+
uiSchema.elements[0].elements[0].elements[3] = {
|
|
9466
9690
|
type: "Control",
|
|
9467
9691
|
scope: "#/properties/emptyBox",
|
|
9468
9692
|
options: {
|
|
9469
9693
|
widget: "EmptyBox"
|
|
9470
9694
|
},
|
|
9471
9695
|
config: {
|
|
9472
|
-
layout: { xs:
|
|
9696
|
+
layout: { xs: 6, sm: 6, md: 0, lg: 3 },
|
|
9473
9697
|
main: {},
|
|
9474
9698
|
style: {}
|
|
9475
9699
|
}
|
|
9476
9700
|
};
|
|
9477
|
-
uiSchema.elements[
|
|
9701
|
+
uiSchema.elements[0].elements[0].elements[4] = getTextArea(
|
|
9702
|
+
"eventCode",
|
|
9703
|
+
"Write Custom Code",
|
|
9704
|
+
false
|
|
9705
|
+
);
|
|
9478
9706
|
schema2.required = ["eventType", "Handler", "eventCode"];
|
|
9479
9707
|
} else if (handlerType === "api") {
|
|
9480
|
-
uiSchema.elements[
|
|
9481
|
-
|
|
9708
|
+
uiSchema.elements[0].elements[0].elements[2] = emptyBox$1("emptyBox", {
|
|
9709
|
+
xs: 0,
|
|
9710
|
+
sm: 0,
|
|
9711
|
+
md: 4,
|
|
9712
|
+
lg: 6
|
|
9713
|
+
});
|
|
9714
|
+
uiSchema.elements[0].elements[0].elements[3] = APISection;
|
|
9482
9715
|
schema2.required = ["eventType", "Handler", "method", "path"];
|
|
9483
9716
|
} else if (handlerType === "inBuiltFunction") {
|
|
9484
|
-
uiSchema.elements[
|
|
9485
|
-
|
|
9717
|
+
uiSchema.elements[0].elements[0].elements[2] = getSelectField(
|
|
9718
|
+
"inBuiltFunctionType",
|
|
9719
|
+
"Function Name"
|
|
9720
|
+
);
|
|
9721
|
+
uiSchema.elements[0].elements[0].elements[3] = {
|
|
9486
9722
|
type: "Control",
|
|
9487
9723
|
scope: "#/properties/emptyBox",
|
|
9488
9724
|
options: {
|
|
9489
9725
|
widget: "EmptyBox"
|
|
9490
9726
|
},
|
|
9491
9727
|
config: {
|
|
9492
|
-
layout: { xs: 6, sm: 6, md: 0, lg:
|
|
9728
|
+
layout: { xs: 6, sm: 6, md: 0, lg: 3 },
|
|
9493
9729
|
main: {},
|
|
9494
9730
|
style: {}
|
|
9495
9731
|
}
|
|
9496
9732
|
};
|
|
9497
|
-
uiSchema.elements[
|
|
9733
|
+
uiSchema.elements[0].elements[0].elements[4] = getTextArea(
|
|
9734
|
+
"funcParametersCode",
|
|
9735
|
+
"Write Custom Code for Functions Parameter",
|
|
9736
|
+
true
|
|
9737
|
+
);
|
|
9498
9738
|
schema2.required = ["eventType", "Handler", "inBuiltFunctionType"];
|
|
9499
9739
|
} else if (handlerType === "refresh") {
|
|
9500
|
-
uiSchema.elements[
|
|
9501
|
-
|
|
9740
|
+
uiSchema.elements[0].elements[0].elements[2] = emptyBox$1("emptyBox", {
|
|
9741
|
+
xs: 0,
|
|
9742
|
+
sm: 0,
|
|
9743
|
+
md: 4,
|
|
9744
|
+
lg: 6
|
|
9745
|
+
});
|
|
9746
|
+
uiSchema.elements[0].elements[0].elements[3] = refreshSectionUiSchema;
|
|
9502
9747
|
schema2.properties.refreshElements.required = ["value"];
|
|
9503
9748
|
schema2.properties.refreshElements.items.required = ["value"];
|
|
9504
9749
|
schema2.required = ["eventType", "Handler", "refreshElements"];
|
|
@@ -9511,9 +9756,35 @@ var event = (store2, dynamicData2, submitHandler, service2, functionsName) => {
|
|
|
9511
9756
|
];
|
|
9512
9757
|
}
|
|
9513
9758
|
if (sessionStorage.getItem("copiedConfig")) {
|
|
9514
|
-
Component(store22, dynamicData2, submitHandler, service2).ElementPathSetter(
|
|
9759
|
+
Component(store22, dynamicData2, submitHandler, service2).ElementPathSetter(
|
|
9760
|
+
uiSchema
|
|
9761
|
+
);
|
|
9515
9762
|
schema2.properties.RemoveItemButton.disabled = false;
|
|
9516
9763
|
}
|
|
9764
|
+
const config2 = JSON.parse(sessionStorage.getItem("pageFormdata"));
|
|
9765
|
+
const path = (_a = store22.searchParams) == null ? void 0 : _a.get("path");
|
|
9766
|
+
const id = (_b = store22.searchParams) == null ? void 0 : _b.get("id");
|
|
9767
|
+
let pathArray = [{ label: (_c = config2.name) != null ? _c : "NewPage", path: `/PageMaster${id ? `?id=${id}` : ""}` }];
|
|
9768
|
+
if (path) {
|
|
9769
|
+
const pathArrayAll = path.split(".");
|
|
9770
|
+
const arr = [];
|
|
9771
|
+
pathArrayAll.map((e, i) => {
|
|
9772
|
+
if (i === 0) {
|
|
9773
|
+
arr.push(e);
|
|
9774
|
+
return;
|
|
9775
|
+
}
|
|
9776
|
+
arr.push(`${arr[i - 1]}.${e}`);
|
|
9777
|
+
});
|
|
9778
|
+
arr.map((e) => {
|
|
9779
|
+
const data = _.get(config2, e);
|
|
9780
|
+
pathArray.push({
|
|
9781
|
+
label: (data == null ? void 0 : data.name) || (data == null ? void 0 : data.eventType) || "NewComponent",
|
|
9782
|
+
path: (data == null ? void 0 : data.eventType) ? `/ComponentEvents?path=${e}${id ? `&id=${id}` : ""}` : `/Component?path=${e}${id ? `&id=${id}` : ""}`
|
|
9783
|
+
});
|
|
9784
|
+
});
|
|
9785
|
+
}
|
|
9786
|
+
console.log("pathArray>>", pathArray);
|
|
9787
|
+
schema2.properties.pageName.path = pathArray;
|
|
9517
9788
|
store22.setSchema(schema2);
|
|
9518
9789
|
store22.setUiSchema(uiSchema);
|
|
9519
9790
|
},
|
|
@@ -9522,10 +9793,35 @@ var event = (store2, dynamicData2, submitHandler, service2, functionsName) => {
|
|
|
9522
9793
|
return EventUiSchema;
|
|
9523
9794
|
},
|
|
9524
9795
|
getSchema: () => {
|
|
9796
|
+
var _a, _b, _c;
|
|
9525
9797
|
const schema2 = _.cloneDeep(EventSchema);
|
|
9526
9798
|
if (sessionStorage.getItem("copiedConfig")) {
|
|
9527
9799
|
schema2.properties.RemoveItemButton.disabled = false;
|
|
9528
9800
|
}
|
|
9801
|
+
const config2 = JSON.parse(sessionStorage.getItem("pageFormdata"));
|
|
9802
|
+
const path = (_a = store2.searchParams) == null ? void 0 : _a.get("path");
|
|
9803
|
+
const id = (_b = store2.searchParams) == null ? void 0 : _b.get("id");
|
|
9804
|
+
let pathArray = [{ label: (_c = config2.name) != null ? _c : "NewPage", path: `/PageMaster${id ? `?id=${id}` : ""}` }];
|
|
9805
|
+
if (path) {
|
|
9806
|
+
const pathArrayAll = path.split(".");
|
|
9807
|
+
const arr = [];
|
|
9808
|
+
pathArrayAll.map((e, i) => {
|
|
9809
|
+
if (i === 0) {
|
|
9810
|
+
arr.push(e);
|
|
9811
|
+
return;
|
|
9812
|
+
}
|
|
9813
|
+
arr.push(`${arr[i - 1]}.${e}`);
|
|
9814
|
+
});
|
|
9815
|
+
arr.map((e) => {
|
|
9816
|
+
const data = _.get(config2, e);
|
|
9817
|
+
pathArray.push({
|
|
9818
|
+
label: (data == null ? void 0 : data.name) || (data == null ? void 0 : data.eventType) || "NewComponent",
|
|
9819
|
+
path: (data == null ? void 0 : data.eventType) ? `/ComponentEvents?path=${e}${id ? `&id=${id}` : ""}` : `/Component?path=${e}${id ? `&id=${id}` : ""}`
|
|
9820
|
+
});
|
|
9821
|
+
});
|
|
9822
|
+
}
|
|
9823
|
+
console.log("pathArray>>", pathArray);
|
|
9824
|
+
schema2.properties.pageName.path = _.cloneDeep(pathArray);
|
|
9529
9825
|
return schema2;
|
|
9530
9826
|
},
|
|
9531
9827
|
okHandler: () => okHandler(store2),
|
|
@@ -9533,7 +9829,10 @@ var event = (store2, dynamicData2, submitHandler, service2, functionsName) => {
|
|
|
9533
9829
|
onChange: function() {
|
|
9534
9830
|
var _a, _b, _c;
|
|
9535
9831
|
if (((_a = store2 == null ? void 0 : store2.formData) == null ? void 0 : _a.Handler) !== ((_b = store2 == null ? void 0 : store2.newData) == null ? void 0 : _b.Handler) && ((_c = store2 == null ? void 0 : store2.newData) == null ? void 0 : _c.Handler) !== void 0) {
|
|
9536
|
-
this.refreshPage(
|
|
9832
|
+
this.refreshPage(
|
|
9833
|
+
store2.newData.Handler || store2.formdata.Handler,
|
|
9834
|
+
store2
|
|
9835
|
+
);
|
|
9537
9836
|
}
|
|
9538
9837
|
},
|
|
9539
9838
|
addEvent: function() {
|
|
@@ -9559,7 +9858,9 @@ var event = (store2, dynamicData2, submitHandler, service2, functionsName) => {
|
|
|
9559
9858
|
this.setPage();
|
|
9560
9859
|
},
|
|
9561
9860
|
deleteEvent: async function() {
|
|
9562
|
-
await Component(store2, dynamicData2, submitHandler, service2).deleteEvent(
|
|
9861
|
+
await Component(store2, dynamicData2, submitHandler, service2).deleteEvent(
|
|
9862
|
+
false
|
|
9863
|
+
);
|
|
9563
9864
|
store2.updateDialog("popUpEvent");
|
|
9564
9865
|
},
|
|
9565
9866
|
backHandler: function() {
|
|
@@ -9571,10 +9872,15 @@ var event = (store2, dynamicData2, submitHandler, service2, functionsName) => {
|
|
|
9571
9872
|
store2.updateDialog("popUpEvent");
|
|
9572
9873
|
},
|
|
9573
9874
|
copyPasteElement: function() {
|
|
9574
|
-
Component(store2, dynamicData2, submitHandler, service2).copyPasteElement(
|
|
9875
|
+
Component(store2, dynamicData2, submitHandler, service2).copyPasteElement(
|
|
9876
|
+
store2,
|
|
9877
|
+
this.setPage.bind(this)
|
|
9878
|
+
);
|
|
9575
9879
|
},
|
|
9576
9880
|
RemoveItemButton: function() {
|
|
9577
|
-
Component(store2, dynamicData2, submitHandler, service2).RemoveItemButton(
|
|
9881
|
+
Component(store2, dynamicData2, submitHandler, service2).RemoveItemButton(
|
|
9882
|
+
store2
|
|
9883
|
+
);
|
|
9578
9884
|
}
|
|
9579
9885
|
};
|
|
9580
9886
|
};
|
|
@@ -9745,16 +10051,17 @@ function executeCustomHandler(params) {
|
|
|
9745
10051
|
}
|
|
9746
10052
|
}
|
|
9747
10053
|
function mergeFormdata(handlerResponse, componentName, eventConfig, store2, service2, formDataHolder) {
|
|
10054
|
+
var _a, _b, _c;
|
|
9748
10055
|
if (eventConfig.type === "Select" && (handlerResponse == null ? void 0 : handlerResponse.data)) {
|
|
9749
10056
|
if (!_.isEmpty(handlerResponse == null ? void 0 : handlerResponse.data)) {
|
|
9750
10057
|
store2.setSchema((pre) => {
|
|
9751
|
-
var
|
|
10058
|
+
var _a2;
|
|
9752
10059
|
return {
|
|
9753
10060
|
...pre,
|
|
9754
10061
|
properties: {
|
|
9755
10062
|
...pre.properties,
|
|
9756
10063
|
[componentName]: {
|
|
9757
|
-
...(
|
|
10064
|
+
...(_a2 = pre.properties) == null ? void 0 : _a2[componentName],
|
|
9758
10065
|
oneOf: handlerResponse.data
|
|
9759
10066
|
}
|
|
9760
10067
|
}
|
|
@@ -9764,13 +10071,13 @@ function mergeFormdata(handlerResponse, componentName, eventConfig, store2, serv
|
|
|
9764
10071
|
} else if (eventConfig.type === "MultipleSelect" && (handlerResponse == null ? void 0 : handlerResponse.data)) {
|
|
9765
10072
|
if (!_.isEmpty(handlerResponse == null ? void 0 : handlerResponse.data)) {
|
|
9766
10073
|
store2.setSchema((pre) => {
|
|
9767
|
-
var
|
|
10074
|
+
var _a2;
|
|
9768
10075
|
return {
|
|
9769
10076
|
...pre,
|
|
9770
10077
|
properties: {
|
|
9771
10078
|
...pre.properties,
|
|
9772
10079
|
[componentName]: {
|
|
9773
|
-
...(
|
|
10080
|
+
...(_a2 = pre.properties) == null ? void 0 : _a2[componentName],
|
|
9774
10081
|
type: "array",
|
|
9775
10082
|
items: {
|
|
9776
10083
|
oneOf: handlerResponse == null ? void 0 : handlerResponse.data
|
|
@@ -9790,6 +10097,14 @@ function mergeFormdata(handlerResponse, componentName, eventConfig, store2, serv
|
|
|
9790
10097
|
return { ...pre, ...handlerResponse == null ? void 0 : handlerResponse.data };
|
|
9791
10098
|
});
|
|
9792
10099
|
}
|
|
10100
|
+
} else if (eventConfig.type === "Table" && eventConfig.lazyLoading) {
|
|
10101
|
+
if (handlerResponse && (handlerResponse == null ? void 0 : handlerResponse.data)) {
|
|
10102
|
+
formDataHolder[componentName] = (_a = handlerResponse.data) == null ? void 0 : _a.data;
|
|
10103
|
+
formDataHolder[`${componentName}_RowCount`] = (_c = (_b = handlerResponse.data) == null ? void 0 : _b.meta) == null ? void 0 : _c.totalRowCount;
|
|
10104
|
+
store2.setFormdata((pre) => {
|
|
10105
|
+
return { ...pre, ...formDataHolder };
|
|
10106
|
+
});
|
|
10107
|
+
}
|
|
9793
10108
|
} else {
|
|
9794
10109
|
if (handlerResponse) {
|
|
9795
10110
|
formDataHolder[componentName] = handlerResponse.data;
|
|
@@ -10095,7 +10410,7 @@ var service = (funcParams) => {
|
|
|
10095
10410
|
service: funcParams.service,
|
|
10096
10411
|
serviceHolder: this,
|
|
10097
10412
|
eventGroups,
|
|
10098
|
-
formDataHolder
|
|
10413
|
+
formDataHolder: {}
|
|
10099
10414
|
});
|
|
10100
10415
|
funcParams.store.setSchema(
|
|
10101
10416
|
(pre) => {
|
|
@@ -10110,11 +10425,11 @@ var service = (funcParams) => {
|
|
|
10110
10425
|
funcParams.store.setUiSchema(uiSchema);
|
|
10111
10426
|
},
|
|
10112
10427
|
onCellRenderer: (cellParams) => {
|
|
10113
|
-
var _a, _b, _c;
|
|
10428
|
+
var _a, _b, _c, _d;
|
|
10114
10429
|
if (eventGroups.onCellRenderer) {
|
|
10115
10430
|
let finalResponse = {};
|
|
10116
10431
|
const path = ((_a = funcParams.dynamicData) == null ? void 0 : _a.tableButtonPath) || ((_c = (_b = funcParams == null ? void 0 : funcParams.dynamicData) == null ? void 0 : _b.path) == null ? void 0 : _c.split(".")[0]);
|
|
10117
|
-
for (const eventConfig of eventGroups == null ? void 0 : eventGroups.onCellRenderer[path]) {
|
|
10432
|
+
for (const eventConfig of (_d = eventGroups == null ? void 0 : eventGroups.onCellRenderer) == null ? void 0 : _d[path]) {
|
|
10118
10433
|
executeEventsParameters.store.functionParameters = cellParams;
|
|
10119
10434
|
finalResponse = executeEvents({
|
|
10120
10435
|
...executeEventsParameters,
|
|
@@ -10718,6 +11033,9 @@ const buildTextField = (config2, componentScope2) => {
|
|
|
10718
11033
|
if (config2.style) {
|
|
10719
11034
|
inputField.config.style = JSON.parse(config2.style);
|
|
10720
11035
|
}
|
|
11036
|
+
if (config2.multiline) {
|
|
11037
|
+
inputField.config.main.multiline = config2.multiline === "YES" ? true : false;
|
|
11038
|
+
}
|
|
10721
11039
|
if (config2.InputFormatingAndMasking) {
|
|
10722
11040
|
inputField.config.main.formatStrArray = config2.InputFormatingAndMasking.map((e) => e.formatElement);
|
|
10723
11041
|
}
|
|
@@ -11554,6 +11872,18 @@ const buildRadio = (config2, componentScope2) => {
|
|
|
11554
11872
|
}
|
|
11555
11873
|
return Radio;
|
|
11556
11874
|
};
|
|
11875
|
+
var emptyBox = {
|
|
11876
|
+
type: "Control",
|
|
11877
|
+
scope: "#/properties/emptyBox",
|
|
11878
|
+
options: {
|
|
11879
|
+
widget: "EmptyBox"
|
|
11880
|
+
},
|
|
11881
|
+
config: {
|
|
11882
|
+
layout: { xs: 0, sm: 4, md: 4, lg: 4 },
|
|
11883
|
+
main: {},
|
|
11884
|
+
style: {}
|
|
11885
|
+
}
|
|
11886
|
+
};
|
|
11557
11887
|
const buildEmptyBox = (config2, componentScope2) => {
|
|
11558
11888
|
const EmptyBox = _.cloneDeep(emptyBox);
|
|
11559
11889
|
if (config2.layout) {
|
|
@@ -12231,19 +12561,12 @@ const buildUiSchema = (config2, store2) => {
|
|
|
12231
12561
|
});
|
|
12232
12562
|
} else if (config2.type == "Table") {
|
|
12233
12563
|
const sizeMap = {};
|
|
12234
|
-
const filterMap = {};
|
|
12235
12564
|
if (config2.sizeHolder) {
|
|
12236
12565
|
config2.sizeHolder.map((e, i) => {
|
|
12237
12566
|
sizeMap[e.keyName] = e.value;
|
|
12238
12567
|
});
|
|
12239
12568
|
}
|
|
12240
|
-
if (config2.enableColumnFilter) {
|
|
12241
|
-
config2.enableColumnFilter.map((e) => {
|
|
12242
|
-
filterMap[e.keyName] = true;
|
|
12243
|
-
});
|
|
12244
|
-
}
|
|
12245
12569
|
elements.elements = config2.elements.map((cellElem, elemInd) => {
|
|
12246
|
-
var _a, _b;
|
|
12247
12570
|
if (cellElem.type) {
|
|
12248
12571
|
return {
|
|
12249
12572
|
accessorKey: cellElem.name,
|
|
@@ -12252,8 +12575,9 @@ const buildUiSchema = (config2, store2) => {
|
|
|
12252
12575
|
type: cellElem.columnFormat,
|
|
12253
12576
|
widget: cellElem.type != "ColumnGroup" ? buildUiSchema(cellElem, store2) : void 0,
|
|
12254
12577
|
elements: cellElem.type == "ColumnGroup" ? cellElem.elements.map((childCellElem) => buildUiSchema(childCellElem, store2)) : [],
|
|
12255
|
-
|
|
12256
|
-
|
|
12578
|
+
columnFilterModeOptions: cellElem.filteringOptions,
|
|
12579
|
+
enableColumnFilter: cellElem.enableFilter === "Yes" ? true : false,
|
|
12580
|
+
enableSorting: cellElem.enableSorting === "Yes" ? true : false
|
|
12257
12581
|
};
|
|
12258
12582
|
} else {
|
|
12259
12583
|
return {
|
|
@@ -12261,8 +12585,9 @@ const buildUiSchema = (config2, store2) => {
|
|
|
12261
12585
|
type: cellElem.columnFormat,
|
|
12262
12586
|
header: cellElem.label || cellElem.name,
|
|
12263
12587
|
size: sizeMap[cellElem.name] || 180,
|
|
12264
|
-
|
|
12265
|
-
|
|
12588
|
+
columnFilterModeOptions: cellElem.filteringOptions,
|
|
12589
|
+
enableColumnFilter: cellElem.enableFilter === "Yes" ? true : false,
|
|
12590
|
+
enableSorting: cellElem.enableSorting === "Yes" ? true : false
|
|
12266
12591
|
};
|
|
12267
12592
|
}
|
|
12268
12593
|
});
|