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