impaktapps-ui-builder 0.0.67 → 0.0.68
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 +259 -348
- 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/buildCard.d.ts +1 -1
- package/dist/src/impaktapps-ui-builder/builder/build/buildUiSchema.d.ts +1 -1
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.d.ts +0 -2
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/card.d.ts +83 -104
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/graph.d.ts +1 -0
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/validationSections.d.ts +1 -1
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildCard.ts +6 -6
- package/src/impaktapps-ui-builder/builder/build/buildFileInput.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildHorizontalBarGraph.ts +0 -4
- package/src/impaktapps-ui-builder/builder/build/buildPieGraph.ts +1 -3
- package/src/impaktapps-ui-builder/builder/build/buildProgressBar.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildRadio.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildStackBarGraph.ts +0 -3
- package/src/impaktapps-ui-builder/builder/build/buildTable.ts +3 -0
- package/src/impaktapps-ui-builder/builder/build/buildUiSchema.ts +7 -8
- package/src/impaktapps-ui-builder/builder/build/uischema/apiSection.ts +10 -10
- package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +48 -73
- package/src/impaktapps-ui-builder/builder/build/uischema/card.ts +90 -132
- package/src/impaktapps-ui-builder/builder/build/uischema/coreSection.ts +11 -11
- package/src/impaktapps-ui-builder/builder/build/uischema/dateInputField.ts +3 -3
- package/src/impaktapps-ui-builder/builder/build/uischema/file.ts +2 -2
- package/src/impaktapps-ui-builder/builder/build/uischema/graph.ts +1 -0
- package/src/impaktapps-ui-builder/builder/build/uischema/leaderBoard.ts +7 -6
- package/src/impaktapps-ui-builder/builder/build/uischema/multiSelect.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/refresh.ts +3 -3
- package/src/impaktapps-ui-builder/builder/build/uischema/selectInputField.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/textInputField.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/validationSections.ts +3 -3
- package/src/impaktapps-ui-builder/builder/build/uischema/valueTab.ts +3 -3
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/schema.ts +0 -1
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/uiSchema.ts +31 -15
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/uiSchema.ts +11 -18
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/uiSchema.ts +16 -7
- package/src/impaktapps-ui-builder/builder/services/component.ts +0 -1
- package/src/impaktapps-ui-builder/builder/services/event.ts +3 -29
- package/src/impaktapps-ui-builder/runtime/services/service.ts +2 -3
|
@@ -66,7 +66,7 @@ const PageMasterUiSchema = (theme) => {
|
|
|
66
66
|
widget: "InputField"
|
|
67
67
|
},
|
|
68
68
|
config: {
|
|
69
|
-
layout: { xs:
|
|
69
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
70
70
|
main: {
|
|
71
71
|
label: "Name",
|
|
72
72
|
options: [],
|
|
@@ -84,7 +84,7 @@ const PageMasterUiSchema = (theme) => {
|
|
|
84
84
|
widget: "SelectInputField"
|
|
85
85
|
},
|
|
86
86
|
config: {
|
|
87
|
-
layout: { xs:
|
|
87
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
88
88
|
main: {
|
|
89
89
|
label: "Template",
|
|
90
90
|
options: [
|
|
@@ -104,7 +104,7 @@ const PageMasterUiSchema = (theme) => {
|
|
|
104
104
|
widget: "InputField"
|
|
105
105
|
},
|
|
106
106
|
config: {
|
|
107
|
-
layout: { xs:
|
|
107
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
108
108
|
main: {
|
|
109
109
|
label: "Label",
|
|
110
110
|
options: [],
|
|
@@ -112,16 +112,6 @@ const PageMasterUiSchema = (theme) => {
|
|
|
112
112
|
required: true
|
|
113
113
|
}
|
|
114
114
|
}
|
|
115
|
-
},
|
|
116
|
-
{
|
|
117
|
-
type: "Control",
|
|
118
|
-
scope: "#/properties/EmptyBox",
|
|
119
|
-
config: {
|
|
120
|
-
layout: { xs: 6, sm: 6, md: 0, lg: 0 }
|
|
121
|
-
},
|
|
122
|
-
options: {
|
|
123
|
-
widget: "EmptyBox"
|
|
124
|
-
}
|
|
125
115
|
}
|
|
126
116
|
]
|
|
127
117
|
},
|
|
@@ -327,7 +317,7 @@ const PageMasterUiSchema = (theme) => {
|
|
|
327
317
|
widget: "EmptyBox"
|
|
328
318
|
},
|
|
329
319
|
config: {
|
|
330
|
-
layout: { xs:
|
|
320
|
+
layout: { xs: 0, sm: 8, md: 8, lg: 8 }
|
|
331
321
|
}
|
|
332
322
|
},
|
|
333
323
|
{
|
|
@@ -337,7 +327,7 @@ const PageMasterUiSchema = (theme) => {
|
|
|
337
327
|
widget: "Button"
|
|
338
328
|
},
|
|
339
329
|
config: {
|
|
340
|
-
layout:
|
|
330
|
+
layout: 11.9,
|
|
341
331
|
main: {
|
|
342
332
|
name: "Save",
|
|
343
333
|
startIcon: "ApproveIcon",
|
|
@@ -345,6 +335,10 @@ const PageMasterUiSchema = (theme) => {
|
|
|
345
335
|
type: "text",
|
|
346
336
|
onClick: "saveHandler",
|
|
347
337
|
size: "medium"
|
|
338
|
+
},
|
|
339
|
+
style: {
|
|
340
|
+
width: { xs: "90%", sm: "90%", md: "20%", lg: "10%" },
|
|
341
|
+
float: "right"
|
|
348
342
|
}
|
|
349
343
|
}
|
|
350
344
|
},
|
|
@@ -598,7 +592,7 @@ const PageMasterUiSchema = (theme) => {
|
|
|
598
592
|
height: 0,
|
|
599
593
|
margin: 0,
|
|
600
594
|
top: 0,
|
|
601
|
-
right:
|
|
595
|
+
right: "82px",
|
|
602
596
|
position: "absolute",
|
|
603
597
|
fontSize: "12px",
|
|
604
598
|
cursor: "pointer",
|
|
@@ -620,7 +614,6 @@ const PageMasterUiSchema = (theme) => {
|
|
|
620
614
|
onClick: "backHandler"
|
|
621
615
|
},
|
|
622
616
|
style: {
|
|
623
|
-
display: { xs: "none", sm: "flex" },
|
|
624
617
|
textAlign: "left",
|
|
625
618
|
lineHeight: 1,
|
|
626
619
|
height: 0,
|
|
@@ -6346,8 +6339,7 @@ const ComponentSchema = {
|
|
|
6346
6339
|
{ title: "Stack Bar Graph", const: "StackBarGraph" },
|
|
6347
6340
|
{ title: "Line Graph", const: "LineGraph" },
|
|
6348
6341
|
{ title: "Pie Graph", const: "PieGraph" },
|
|
6349
|
-
{ title: "Horizontal Bar Graph", const: "HorizontalBarGraph" }
|
|
6350
|
-
{ title: "Stack Horizontal Bar Graph", const: "HorizontalStackBarGraph" }
|
|
6342
|
+
{ title: "Horizontal Bar Graph", const: "HorizontalBarGraph" }
|
|
6351
6343
|
]
|
|
6352
6344
|
},
|
|
6353
6345
|
iconName: {
|
|
@@ -6434,7 +6426,7 @@ const componentBasicUiSchema = (theme) => {
|
|
|
6434
6426
|
widget: "SelectInputField"
|
|
6435
6427
|
},
|
|
6436
6428
|
config: {
|
|
6437
|
-
layout: { xs:
|
|
6429
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
6438
6430
|
main: {
|
|
6439
6431
|
label: "Type"
|
|
6440
6432
|
}
|
|
@@ -6447,7 +6439,7 @@ const componentBasicUiSchema = (theme) => {
|
|
|
6447
6439
|
widget: "InputField"
|
|
6448
6440
|
},
|
|
6449
6441
|
config: {
|
|
6450
|
-
layout: { xs:
|
|
6442
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
6451
6443
|
main: {
|
|
6452
6444
|
label: "Name",
|
|
6453
6445
|
options: [],
|
|
@@ -6463,7 +6455,7 @@ const componentBasicUiSchema = (theme) => {
|
|
|
6463
6455
|
widget: "InputField"
|
|
6464
6456
|
},
|
|
6465
6457
|
config: {
|
|
6466
|
-
layout: { xs:
|
|
6458
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
6467
6459
|
main: {
|
|
6468
6460
|
label: "Label",
|
|
6469
6461
|
options: [],
|
|
@@ -6479,7 +6471,7 @@ const componentBasicUiSchema = (theme) => {
|
|
|
6479
6471
|
widget: "SelectInputField"
|
|
6480
6472
|
},
|
|
6481
6473
|
config: {
|
|
6482
|
-
layout: { xs:
|
|
6474
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
6483
6475
|
main: {
|
|
6484
6476
|
label: "Column Format"
|
|
6485
6477
|
}
|
|
@@ -6489,7 +6481,7 @@ const componentBasicUiSchema = (theme) => {
|
|
|
6489
6481
|
type: "Control",
|
|
6490
6482
|
scope: "#/properties/proc",
|
|
6491
6483
|
config: {
|
|
6492
|
-
layout: { xs: 0, sm:
|
|
6484
|
+
layout: { xs: 0, sm: 4, md: 4, lg: 4 }
|
|
6493
6485
|
},
|
|
6494
6486
|
options: {
|
|
6495
6487
|
widget: "EmptyBox"
|
|
@@ -6499,7 +6491,7 @@ const componentBasicUiSchema = (theme) => {
|
|
|
6499
6491
|
type: "Control",
|
|
6500
6492
|
scope: "#/properties/proc",
|
|
6501
6493
|
config: {
|
|
6502
|
-
layout: { xs: 0, sm:
|
|
6494
|
+
layout: { xs: 0, sm: 4, md: 4, lg: 4 }
|
|
6503
6495
|
},
|
|
6504
6496
|
options: {
|
|
6505
6497
|
widget: "EmptyBox"
|
|
@@ -6520,7 +6512,7 @@ const componentBasicUiSchema = (theme) => {
|
|
|
6520
6512
|
widget: "SelectInputField"
|
|
6521
6513
|
},
|
|
6522
6514
|
config: {
|
|
6523
|
-
layout: { xs:
|
|
6515
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
6524
6516
|
main: {
|
|
6525
6517
|
label: "Screen Size"
|
|
6526
6518
|
}
|
|
@@ -6533,7 +6525,7 @@ const componentBasicUiSchema = (theme) => {
|
|
|
6533
6525
|
widget: "InputField"
|
|
6534
6526
|
},
|
|
6535
6527
|
config: {
|
|
6536
|
-
layout: { xs:
|
|
6528
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
6537
6529
|
main: {
|
|
6538
6530
|
label: "Value",
|
|
6539
6531
|
type: "number",
|
|
@@ -6546,7 +6538,7 @@ const componentBasicUiSchema = (theme) => {
|
|
|
6546
6538
|
type: "Control",
|
|
6547
6539
|
scope: "#/properties/proc",
|
|
6548
6540
|
config: {
|
|
6549
|
-
layout: { xs: 0, sm:
|
|
6541
|
+
layout: { xs: 0, sm: 4, md: 4, lg: 4 }
|
|
6550
6542
|
},
|
|
6551
6543
|
options: {
|
|
6552
6544
|
widget: "EmptyBox"
|
|
@@ -6749,7 +6741,17 @@ const componentBasicUiSchema = (theme) => {
|
|
|
6749
6741
|
widget: "EmptyBox"
|
|
6750
6742
|
},
|
|
6751
6743
|
config: {
|
|
6752
|
-
layout: { xs:
|
|
6744
|
+
layout: { xs: 0, sm: 4, md: 4, lg: 4 }
|
|
6745
|
+
}
|
|
6746
|
+
},
|
|
6747
|
+
{
|
|
6748
|
+
type: "Control",
|
|
6749
|
+
scope: "#/properties/EmptyBox",
|
|
6750
|
+
options: {
|
|
6751
|
+
widget: "EmptyBox"
|
|
6752
|
+
},
|
|
6753
|
+
config: {
|
|
6754
|
+
layout: { xs: 0, sm: 4, md: 4, lg: 4 }
|
|
6753
6755
|
}
|
|
6754
6756
|
},
|
|
6755
6757
|
{
|
|
@@ -6759,7 +6761,7 @@ const componentBasicUiSchema = (theme) => {
|
|
|
6759
6761
|
widget: "Button"
|
|
6760
6762
|
},
|
|
6761
6763
|
config: {
|
|
6762
|
-
layout:
|
|
6764
|
+
layout: 1.8,
|
|
6763
6765
|
main: {
|
|
6764
6766
|
name: "Ok",
|
|
6765
6767
|
startIcon: "ApproveIcon",
|
|
@@ -6767,6 +6769,9 @@ const componentBasicUiSchema = (theme) => {
|
|
|
6767
6769
|
type: "text",
|
|
6768
6770
|
onClick: "okHandler",
|
|
6769
6771
|
size: "medium"
|
|
6772
|
+
},
|
|
6773
|
+
style: {
|
|
6774
|
+
float: "right"
|
|
6770
6775
|
}
|
|
6771
6776
|
}
|
|
6772
6777
|
},
|
|
@@ -6777,7 +6782,7 @@ const componentBasicUiSchema = (theme) => {
|
|
|
6777
6782
|
widget: "Button"
|
|
6778
6783
|
},
|
|
6779
6784
|
config: {
|
|
6780
|
-
layout:
|
|
6785
|
+
layout: 1.8,
|
|
6781
6786
|
main: {
|
|
6782
6787
|
name: "Save & Exit",
|
|
6783
6788
|
startIcon: "ApproveIcon",
|
|
@@ -6785,6 +6790,9 @@ const componentBasicUiSchema = (theme) => {
|
|
|
6785
6790
|
type: "text",
|
|
6786
6791
|
onClick: "saveHandler",
|
|
6787
6792
|
size: "medium"
|
|
6793
|
+
},
|
|
6794
|
+
style: {
|
|
6795
|
+
float: "right"
|
|
6788
6796
|
}
|
|
6789
6797
|
}
|
|
6790
6798
|
},
|
|
@@ -6856,7 +6864,7 @@ const componentBasicUiSchema = (theme) => {
|
|
|
6856
6864
|
height: 0,
|
|
6857
6865
|
margin: 0,
|
|
6858
6866
|
top: 0,
|
|
6859
|
-
right:
|
|
6867
|
+
right: "90px",
|
|
6860
6868
|
position: "absolute",
|
|
6861
6869
|
fontSize: "12px",
|
|
6862
6870
|
cursor: "pointer",
|
|
@@ -6878,7 +6886,6 @@ const componentBasicUiSchema = (theme) => {
|
|
|
6878
6886
|
onClick: "backHandler"
|
|
6879
6887
|
},
|
|
6880
6888
|
style: {
|
|
6881
|
-
display: { xs: "none", sm: "flex" },
|
|
6882
6889
|
textAlign: "left",
|
|
6883
6890
|
lineHeight: 1,
|
|
6884
6891
|
height: 0,
|
|
@@ -6889,7 +6896,7 @@ const componentBasicUiSchema = (theme) => {
|
|
|
6889
6896
|
marginLeft: "2px",
|
|
6890
6897
|
marginRight: 0,
|
|
6891
6898
|
top: 3,
|
|
6892
|
-
right: "
|
|
6899
|
+
right: "20px",
|
|
6893
6900
|
position: "absolute",
|
|
6894
6901
|
":hover": {
|
|
6895
6902
|
color: theme.palette.primary.dark
|
|
@@ -6913,7 +6920,7 @@ const CoreSection = {
|
|
|
6913
6920
|
widget: "SelectInputField"
|
|
6914
6921
|
},
|
|
6915
6922
|
config: {
|
|
6916
|
-
layout: { xs:
|
|
6923
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
6917
6924
|
main: {
|
|
6918
6925
|
label: "Type",
|
|
6919
6926
|
type: "text"
|
|
@@ -6927,7 +6934,7 @@ const CoreSection = {
|
|
|
6927
6934
|
widget: "InputField"
|
|
6928
6935
|
},
|
|
6929
6936
|
config: {
|
|
6930
|
-
layout: { xs:
|
|
6937
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
6931
6938
|
main: {
|
|
6932
6939
|
label: "Name"
|
|
6933
6940
|
}
|
|
@@ -6940,7 +6947,7 @@ const CoreSection = {
|
|
|
6940
6947
|
widget: "InputField"
|
|
6941
6948
|
},
|
|
6942
6949
|
config: {
|
|
6943
|
-
layout: { xs:
|
|
6950
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
6944
6951
|
main: {
|
|
6945
6952
|
label: "Label"
|
|
6946
6953
|
}
|
|
@@ -6953,7 +6960,7 @@ const CoreSection = {
|
|
|
6953
6960
|
widget: "SelectInputField"
|
|
6954
6961
|
},
|
|
6955
6962
|
config: {
|
|
6956
|
-
layout: { xs:
|
|
6963
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
6957
6964
|
main: {
|
|
6958
6965
|
label: "Column Format"
|
|
6959
6966
|
}
|
|
@@ -6963,7 +6970,7 @@ const CoreSection = {
|
|
|
6963
6970
|
type: "Control",
|
|
6964
6971
|
scope: "#/properties/proc",
|
|
6965
6972
|
config: {
|
|
6966
|
-
layout: { xs: 0, sm:
|
|
6973
|
+
layout: { xs: 0, sm: 4, md: 4, lg: 4 }
|
|
6967
6974
|
},
|
|
6968
6975
|
options: {
|
|
6969
6976
|
widget: "EmptyBox"
|
|
@@ -6973,7 +6980,7 @@ const CoreSection = {
|
|
|
6973
6980
|
type: "Control",
|
|
6974
6981
|
scope: "#/properties/proc",
|
|
6975
6982
|
config: {
|
|
6976
|
-
layout: { xs: 0, sm:
|
|
6983
|
+
layout: { xs: 0, sm: 4, md: 4, lg: 4 }
|
|
6977
6984
|
},
|
|
6978
6985
|
options: {
|
|
6979
6986
|
widget: "EmptyBox"
|
|
@@ -6995,7 +7002,7 @@ const CoreSection = {
|
|
|
6995
7002
|
widget: "SelectInputField"
|
|
6996
7003
|
},
|
|
6997
7004
|
config: {
|
|
6998
|
-
layout: { xs:
|
|
7005
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
6999
7006
|
main: {
|
|
7000
7007
|
label: "Screen Size"
|
|
7001
7008
|
}
|
|
@@ -7008,7 +7015,7 @@ const CoreSection = {
|
|
|
7008
7015
|
widget: "InputField"
|
|
7009
7016
|
},
|
|
7010
7017
|
config: {
|
|
7011
|
-
layout: { xs:
|
|
7018
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
7012
7019
|
main: {
|
|
7013
7020
|
label: "Value",
|
|
7014
7021
|
type: "number",
|
|
@@ -7021,7 +7028,7 @@ const CoreSection = {
|
|
|
7021
7028
|
type: "Control",
|
|
7022
7029
|
scope: "#/properties/proc",
|
|
7023
7030
|
config: {
|
|
7024
|
-
layout: { xs: 0, sm:
|
|
7031
|
+
layout: { xs: 0, sm: 4, md: 4, lg: 4 }
|
|
7025
7032
|
},
|
|
7026
7033
|
options: {
|
|
7027
7034
|
widget: "EmptyBox"
|
|
@@ -7134,29 +7141,17 @@ const EventSection = (theme) => {
|
|
|
7134
7141
|
};
|
|
7135
7142
|
return uiSchema;
|
|
7136
7143
|
};
|
|
7137
|
-
|
|
7138
|
-
|
|
7139
|
-
|
|
7140
|
-
|
|
7141
|
-
|
|
7142
|
-
|
|
7143
|
-
|
|
7144
|
-
|
|
7145
|
-
|
|
7146
|
-
|
|
7147
|
-
}
|
|
7148
|
-
};
|
|
7144
|
+
var emptyBox = {
|
|
7145
|
+
type: "Control",
|
|
7146
|
+
scope: "#/properties/emptyBox",
|
|
7147
|
+
options: {
|
|
7148
|
+
widget: "EmptyBox"
|
|
7149
|
+
},
|
|
7150
|
+
config: {
|
|
7151
|
+
layout: { xs: 0, sm: 4, md: 4, lg: 4 },
|
|
7152
|
+
main: {},
|
|
7153
|
+
style: {}
|
|
7149
7154
|
}
|
|
7150
|
-
return {
|
|
7151
|
-
type: "Control",
|
|
7152
|
-
scope: "#/properties/empty",
|
|
7153
|
-
options: {
|
|
7154
|
-
widget: "EmptyBox"
|
|
7155
|
-
},
|
|
7156
|
-
config: {
|
|
7157
|
-
layout: { xs: 0, sm: 0, md: 4, lg: 4 }
|
|
7158
|
-
}
|
|
7159
|
-
};
|
|
7160
7155
|
};
|
|
7161
7156
|
const cardLayout = {
|
|
7162
7157
|
type: "Control",
|
|
@@ -7173,7 +7168,7 @@ const cardLayout = {
|
|
|
7173
7168
|
widget: "SelectInputField"
|
|
7174
7169
|
},
|
|
7175
7170
|
config: {
|
|
7176
|
-
layout: { xs:
|
|
7171
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
7177
7172
|
main: {
|
|
7178
7173
|
label: "Screen Size"
|
|
7179
7174
|
}
|
|
@@ -7186,7 +7181,7 @@ const cardLayout = {
|
|
|
7186
7181
|
widget: "InputField"
|
|
7187
7182
|
},
|
|
7188
7183
|
config: {
|
|
7189
|
-
layout: { xs:
|
|
7184
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
7190
7185
|
main: {
|
|
7191
7186
|
label: "Value",
|
|
7192
7187
|
type: "number",
|
|
@@ -7195,7 +7190,7 @@ const cardLayout = {
|
|
|
7195
7190
|
}
|
|
7196
7191
|
}
|
|
7197
7192
|
},
|
|
7198
|
-
emptyBox
|
|
7193
|
+
emptyBox
|
|
7199
7194
|
]
|
|
7200
7195
|
}
|
|
7201
7196
|
}
|
|
@@ -7217,14 +7212,14 @@ const getArrayControl = (parentScope, childScope, childLabel) => {
|
|
|
7217
7212
|
widget: "InputField"
|
|
7218
7213
|
},
|
|
7219
7214
|
config: {
|
|
7220
|
-
layout: { xs:
|
|
7215
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
7221
7216
|
main: {
|
|
7222
7217
|
label: childLabel || "Labels for Tab"
|
|
7223
7218
|
}
|
|
7224
7219
|
}
|
|
7225
7220
|
},
|
|
7226
|
-
emptyBox
|
|
7227
|
-
emptyBox
|
|
7221
|
+
emptyBox,
|
|
7222
|
+
emptyBox
|
|
7228
7223
|
]
|
|
7229
7224
|
}
|
|
7230
7225
|
}
|
|
@@ -7238,13 +7233,13 @@ sizeHolder.options.detail.elements[1] = {
|
|
|
7238
7233
|
widget: "InputField"
|
|
7239
7234
|
},
|
|
7240
7235
|
config: {
|
|
7241
|
-
layout: { xs:
|
|
7236
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
7242
7237
|
main: {
|
|
7243
7238
|
label: "Size"
|
|
7244
7239
|
}
|
|
7245
7240
|
}
|
|
7246
7241
|
};
|
|
7247
|
-
sizeHolder.options.detail.elements[2] = emptyBox
|
|
7242
|
+
sizeHolder.options.detail.elements[2] = emptyBox;
|
|
7248
7243
|
const getInputField = (scope, label) => {
|
|
7249
7244
|
return {
|
|
7250
7245
|
type: "Control",
|
|
@@ -7253,7 +7248,7 @@ const getInputField = (scope, label) => {
|
|
|
7253
7248
|
widget: "InputField"
|
|
7254
7249
|
},
|
|
7255
7250
|
config: {
|
|
7256
|
-
layout: { xs:
|
|
7251
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
7257
7252
|
main: {
|
|
7258
7253
|
label
|
|
7259
7254
|
}
|
|
@@ -7268,7 +7263,7 @@ const getRadioInputField = (scope, label, options) => {
|
|
|
7268
7263
|
widget: "RadioInputField"
|
|
7269
7264
|
},
|
|
7270
7265
|
config: {
|
|
7271
|
-
layout: { xs:
|
|
7266
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
7272
7267
|
main: {
|
|
7273
7268
|
label,
|
|
7274
7269
|
options
|
|
@@ -7286,9 +7281,7 @@ const buildWrapper = (label, elements) => {
|
|
|
7286
7281
|
},
|
|
7287
7282
|
wrapperStyle: {
|
|
7288
7283
|
marginTop: "-6px",
|
|
7289
|
-
marginBottom: "-8px"
|
|
7290
|
-
marginLeft: "-34px",
|
|
7291
|
-
width: "108%"
|
|
7284
|
+
marginBottom: "-8px"
|
|
7292
7285
|
},
|
|
7293
7286
|
componentsBoxStyle: {
|
|
7294
7287
|
marginLeft: "24px"
|
|
@@ -7333,7 +7326,7 @@ const getSelectField = (scope, label, options) => {
|
|
|
7333
7326
|
widget: "SelectInputField"
|
|
7334
7327
|
},
|
|
7335
7328
|
config: {
|
|
7336
|
-
layout: { xs:
|
|
7329
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
7337
7330
|
main: {
|
|
7338
7331
|
label,
|
|
7339
7332
|
type: "text"
|
|
@@ -7342,7 +7335,7 @@ const getSelectField = (scope, label, options) => {
|
|
|
7342
7335
|
};
|
|
7343
7336
|
};
|
|
7344
7337
|
const GraphSection = {
|
|
7345
|
-
type: "
|
|
7338
|
+
type: "HorizontalLayout",
|
|
7346
7339
|
elements: []
|
|
7347
7340
|
};
|
|
7348
7341
|
const buildPropertiesSection = function(type) {
|
|
@@ -7355,7 +7348,7 @@ const buildPropertiesSection = function(type) {
|
|
|
7355
7348
|
getInputField("graphHeight", "Graph Height"),
|
|
7356
7349
|
getInputField("graphWidth", "Graph Width"),
|
|
7357
7350
|
getInputField("graphZoomHeight", "Zoom Height"),
|
|
7358
|
-
emptyBox
|
|
7351
|
+
emptyBox
|
|
7359
7352
|
];
|
|
7360
7353
|
break;
|
|
7361
7354
|
case "InputSlider":
|
|
@@ -7363,9 +7356,9 @@ const buildPropertiesSection = function(type) {
|
|
|
7363
7356
|
getInputField("max", "Max Limit"),
|
|
7364
7357
|
getInputField("step", "Step"),
|
|
7365
7358
|
getInputField("min", "Min Limit"),
|
|
7366
|
-
emptyBox$1("InputSliderEmpty1", { xs: 6, sm: 0, md: 0, lg: 0 }),
|
|
7367
7359
|
getRadioInputField("limitToMax", "Applly Max. Limit", ["YES", "NO"]),
|
|
7368
|
-
emptyBox
|
|
7360
|
+
emptyBox,
|
|
7361
|
+
emptyBox
|
|
7369
7362
|
];
|
|
7370
7363
|
break;
|
|
7371
7364
|
case "DataGrid":
|
|
@@ -7374,8 +7367,8 @@ const buildPropertiesSection = function(type) {
|
|
|
7374
7367
|
getInputField("elevation", "Card Elevation"),
|
|
7375
7368
|
getInputField("height", "Grid height"),
|
|
7376
7369
|
getInputField("justifyContent", "justifyContent"),
|
|
7377
|
-
emptyBox
|
|
7378
|
-
emptyBox
|
|
7370
|
+
emptyBox,
|
|
7371
|
+
emptyBox,
|
|
7379
7372
|
cardLayout
|
|
7380
7373
|
];
|
|
7381
7374
|
break;
|
|
@@ -7386,7 +7379,7 @@ const buildPropertiesSection = function(type) {
|
|
|
7386
7379
|
getInputField("resetText", "Reset Text"),
|
|
7387
7380
|
getInputField("completeText", "Complete Text"),
|
|
7388
7381
|
getSelectField("orientation", "Orientation Type"),
|
|
7389
|
-
emptyBox
|
|
7382
|
+
emptyBox,
|
|
7390
7383
|
getArrayControl("sectionLabels", "label")
|
|
7391
7384
|
];
|
|
7392
7385
|
break;
|
|
@@ -7394,23 +7387,22 @@ const buildPropertiesSection = function(type) {
|
|
|
7394
7387
|
uiSchema.elements = [
|
|
7395
7388
|
getRadioInputField("fullScreen", "FullScreen", ["YES", "NO"]),
|
|
7396
7389
|
getRadioInputField("fullWidth", "FullWidth", ["YES", "NO"]),
|
|
7397
|
-
getInputField("maxWidth", "Max. Width")
|
|
7398
|
-
emptyBox$1("PopUpEmpty", { xs: 6, sm: 6, md: 0, lg: 0 })
|
|
7390
|
+
getInputField("maxWidth", "Max. Width")
|
|
7399
7391
|
];
|
|
7400
7392
|
break;
|
|
7401
7393
|
case "Text":
|
|
7402
7394
|
uiSchema.elements = [
|
|
7403
7395
|
getInputField("placeholder", "Placeholder"),
|
|
7404
|
-
emptyBox
|
|
7405
|
-
emptyBox
|
|
7396
|
+
emptyBox,
|
|
7397
|
+
emptyBox,
|
|
7406
7398
|
getArrayControl("InputFormatingAndMasking", "formatElement", "Format Element")
|
|
7407
7399
|
];
|
|
7408
7400
|
break;
|
|
7409
7401
|
case "TextArea":
|
|
7410
7402
|
uiSchema.elements = [
|
|
7411
7403
|
getInputField("placeholder", "Placeholder"),
|
|
7412
|
-
emptyBox
|
|
7413
|
-
emptyBox
|
|
7404
|
+
emptyBox,
|
|
7405
|
+
emptyBox
|
|
7414
7406
|
];
|
|
7415
7407
|
break;
|
|
7416
7408
|
case "SpeedoMeter":
|
|
@@ -7420,7 +7412,7 @@ const buildPropertiesSection = function(type) {
|
|
|
7420
7412
|
getInputField("heading", "Container Heading"),
|
|
7421
7413
|
getInputField("speedoCaption", "Speedometer Caption"),
|
|
7422
7414
|
getInputField("width", "Speedometer Width"),
|
|
7423
|
-
emptyBox
|
|
7415
|
+
emptyBox
|
|
7424
7416
|
];
|
|
7425
7417
|
break;
|
|
7426
7418
|
case "RankCard":
|
|
@@ -7429,8 +7421,8 @@ const buildPropertiesSection = function(type) {
|
|
|
7429
7421
|
getInputField("image", "Image Url"),
|
|
7430
7422
|
getInputField("title", "Card Title"),
|
|
7431
7423
|
getInputField("description", "Card Description"),
|
|
7432
|
-
emptyBox
|
|
7433
|
-
emptyBox
|
|
7424
|
+
emptyBox,
|
|
7425
|
+
emptyBox
|
|
7434
7426
|
];
|
|
7435
7427
|
break;
|
|
7436
7428
|
case "LeaderBoard":
|
|
@@ -7439,8 +7431,8 @@ const buildPropertiesSection = function(type) {
|
|
|
7439
7431
|
getInputField("firstImage", "First Image url"),
|
|
7440
7432
|
getInputField("secondImage", "Second Image url"),
|
|
7441
7433
|
getInputField("thirdImage", "Third Image url"),
|
|
7442
|
-
emptyBox
|
|
7443
|
-
emptyBox
|
|
7434
|
+
emptyBox,
|
|
7435
|
+
emptyBox,
|
|
7444
7436
|
getTextArea("functionCode", "Write Compare Code", false)
|
|
7445
7437
|
];
|
|
7446
7438
|
break;
|
|
@@ -7451,23 +7443,14 @@ const buildPropertiesSection = function(type) {
|
|
|
7451
7443
|
];
|
|
7452
7444
|
break;
|
|
7453
7445
|
case "ProgressBar":
|
|
7454
|
-
uiSchema.elements = [
|
|
7455
|
-
getInputField("heading", "Heading"),
|
|
7456
|
-
getInputField("bottomLabel_1", "First BottomLabel"),
|
|
7457
|
-
getInputField("bottomLabel_2", "Second BottomLabel"),
|
|
7458
|
-
getInputField("bottomLabel_3", "Third BottomLabel"),
|
|
7459
|
-
emptyBox$1("ProgressBarCardEmpty1"),
|
|
7460
|
-
emptyBox$1("ProgressBarCardEmpty2")
|
|
7461
|
-
];
|
|
7462
|
-
break;
|
|
7463
7446
|
case "ProgressBarCard":
|
|
7464
7447
|
uiSchema.elements = [
|
|
7465
7448
|
getInputField("heading", "Heading"),
|
|
7466
7449
|
getInputField("bottomLabel_1", "First BottomLabel"),
|
|
7467
7450
|
getInputField("bottomLabel_2", "Second BottomLabel"),
|
|
7468
7451
|
getInputField("bottomLabel_3", "Third BottomLabel"),
|
|
7469
|
-
emptyBox
|
|
7470
|
-
emptyBox
|
|
7452
|
+
emptyBox,
|
|
7453
|
+
emptyBox
|
|
7471
7454
|
];
|
|
7472
7455
|
break;
|
|
7473
7456
|
case "card":
|
|
@@ -7475,7 +7458,7 @@ const buildPropertiesSection = function(type) {
|
|
|
7475
7458
|
getInputField("url", "Image Url"),
|
|
7476
7459
|
getInputField("label", "Label"),
|
|
7477
7460
|
getInputField("description", "Description"),
|
|
7478
|
-
emptyBox
|
|
7461
|
+
emptyBox
|
|
7479
7462
|
];
|
|
7480
7463
|
break;
|
|
7481
7464
|
case "Button":
|
|
@@ -7485,7 +7468,7 @@ const buildPropertiesSection = function(type) {
|
|
|
7485
7468
|
getSelectField("color", "Color"),
|
|
7486
7469
|
getInputField("tooltipMessage", "Tooltip Message"),
|
|
7487
7470
|
getSelectField("defaultStyle", "Default Style"),
|
|
7488
|
-
emptyBox
|
|
7471
|
+
emptyBox
|
|
7489
7472
|
];
|
|
7490
7473
|
break;
|
|
7491
7474
|
case "Graph":
|
|
@@ -7495,11 +7478,10 @@ const buildPropertiesSection = function(type) {
|
|
|
7495
7478
|
getSelectField("graphType", "Graph Type"),
|
|
7496
7479
|
getInputField("leftLabel", "Left Label"),
|
|
7497
7480
|
getInputField("bottomLabel", "Bottom Label"),
|
|
7498
|
-
emptyBox$1("GraphEmpty1", { xs: 6, sm: 0, md: 0, lg: 0 }),
|
|
7499
7481
|
getRadioInputField("legendHide", "Legend Hide", ["YES", "No"]),
|
|
7500
7482
|
getInputField("yAxisValue", "Y-AxisValue"),
|
|
7501
7483
|
getInputField("xAxisValue", "X-AxisValue"),
|
|
7502
|
-
emptyBox
|
|
7484
|
+
emptyBox,
|
|
7503
7485
|
getArrayControl("legendLabels", "label"),
|
|
7504
7486
|
getArrayControl("pieArcColors", "color")
|
|
7505
7487
|
];
|
|
@@ -7510,15 +7492,15 @@ const buildPropertiesSection = function(type) {
|
|
|
7510
7492
|
getRadioInputField("isAccordion", "Accordion", ["YES", "No"]),
|
|
7511
7493
|
getRadioInputField("defaultStyle", "Default Style", ["YES", "No"]),
|
|
7512
7494
|
getInputField("rowSpacing", "Row Spacing"),
|
|
7513
|
-
emptyBox
|
|
7514
|
-
emptyBox
|
|
7495
|
+
emptyBox,
|
|
7496
|
+
emptyBox
|
|
7515
7497
|
];
|
|
7516
7498
|
break;
|
|
7517
7499
|
case "TabSection":
|
|
7518
7500
|
uiSchema.elements = [
|
|
7519
7501
|
getRadioInputField("verticalOrientation", "Vertical Orientation", ["YES", "NO"]),
|
|
7520
7502
|
getRadioInputField("lazyLoad", "Lazy Load", ["YES", "NO"]),
|
|
7521
|
-
emptyBox
|
|
7503
|
+
emptyBox,
|
|
7522
7504
|
getArrayControl("sectionLabels", "label")
|
|
7523
7505
|
];
|
|
7524
7506
|
break;
|
|
@@ -7530,15 +7512,17 @@ const buildPropertiesSection = function(type) {
|
|
|
7530
7512
|
getRadioInputField("ColumnResizingAvailable", "ColumnResizing ", ["YES", "NO"]),
|
|
7531
7513
|
getRadioInputField("DragAvailable", "Row Dragging", ["YES", "NO"]),
|
|
7532
7514
|
getRadioInputField("downloadAllData", "Download All Data", ["YES", "NO"]),
|
|
7515
|
+
getRadioInputField("disableFilters", "Disable Filter", ["YES", "NO"]),
|
|
7533
7516
|
getInputField("selectKey", "Selection Key"),
|
|
7534
|
-
emptyBox
|
|
7517
|
+
emptyBox,
|
|
7518
|
+
emptyBox,
|
|
7535
7519
|
buildWrapper("Tree Table Properties", [
|
|
7536
7520
|
getRadioInputField("enableRowMovement", "Row Rearrangement", ["YES", "NO"]),
|
|
7537
7521
|
getRadioInputField("enableExpanding", "Row Expanding", ["YES", "NO"]),
|
|
7538
7522
|
getRadioInputField("paginateExpandedRows", "Multi Page Expansion", ["YES", "NO"]),
|
|
7539
7523
|
getRadioInputField("treeStructure", "Flat Tree Structure", ["YES", "NO"]),
|
|
7540
|
-
emptyBox
|
|
7541
|
-
emptyBox
|
|
7524
|
+
emptyBox,
|
|
7525
|
+
emptyBox
|
|
7542
7526
|
]),
|
|
7543
7527
|
getArrayControl("Table_Download_Keys_Name", "KeyName", "Table Key Name"),
|
|
7544
7528
|
sizeHolder
|
|
@@ -7553,14 +7537,14 @@ const buildPropertiesSection = function(type) {
|
|
|
7553
7537
|
uiSchema.elements = [
|
|
7554
7538
|
getRadioInputField("lazyLoading", "Lazy Loading", ["YES", "NO"]),
|
|
7555
7539
|
getRadioInputField("freeSolo", "FreeSolo", ["YES", "NO"]),
|
|
7556
|
-
emptyBox
|
|
7540
|
+
emptyBox
|
|
7557
7541
|
];
|
|
7558
7542
|
break;
|
|
7559
7543
|
case "MultipleSelect":
|
|
7560
7544
|
uiSchema.elements = [
|
|
7561
7545
|
getRadioInputField("lazyLoading", "Lazy Loading", ["YES", "NO"]),
|
|
7562
|
-
emptyBox
|
|
7563
|
-
emptyBox
|
|
7546
|
+
emptyBox,
|
|
7547
|
+
emptyBox
|
|
7564
7548
|
];
|
|
7565
7549
|
break;
|
|
7566
7550
|
}
|
|
@@ -7720,7 +7704,7 @@ const ValueTab = {
|
|
|
7720
7704
|
widget: "InputField"
|
|
7721
7705
|
},
|
|
7722
7706
|
config: {
|
|
7723
|
-
layout: { xs:
|
|
7707
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
7724
7708
|
main: {
|
|
7725
7709
|
label: "Label"
|
|
7726
7710
|
}
|
|
@@ -7733,7 +7717,7 @@ const ValueTab = {
|
|
|
7733
7717
|
widget: "InputField"
|
|
7734
7718
|
},
|
|
7735
7719
|
config: {
|
|
7736
|
-
layout: { xs:
|
|
7720
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
7737
7721
|
main: {
|
|
7738
7722
|
label: "Value"
|
|
7739
7723
|
}
|
|
@@ -7746,7 +7730,7 @@ const ValueTab = {
|
|
|
7746
7730
|
widget: "EmptyBox"
|
|
7747
7731
|
},
|
|
7748
7732
|
config: {
|
|
7749
|
-
layout: { xs: 0, sm:
|
|
7733
|
+
layout: { xs: 0, sm: 4, md: 4, lg: 4 }
|
|
7750
7734
|
}
|
|
7751
7735
|
}
|
|
7752
7736
|
]
|
|
@@ -7774,7 +7758,7 @@ const ValidationSection = {
|
|
|
7774
7758
|
widget: "SelectInputField"
|
|
7775
7759
|
},
|
|
7776
7760
|
config: {
|
|
7777
|
-
layout: { xs:
|
|
7761
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
7778
7762
|
main: {
|
|
7779
7763
|
label: "Validation Type"
|
|
7780
7764
|
}
|
|
@@ -7787,7 +7771,7 @@ const ValidationSection = {
|
|
|
7787
7771
|
widget: "InputField"
|
|
7788
7772
|
},
|
|
7789
7773
|
config: {
|
|
7790
|
-
layout: { xs:
|
|
7774
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
7791
7775
|
main: {
|
|
7792
7776
|
label: "Validation Value"
|
|
7793
7777
|
}
|
|
@@ -7800,7 +7784,7 @@ const ValidationSection = {
|
|
|
7800
7784
|
widget: "EmptyBox"
|
|
7801
7785
|
},
|
|
7802
7786
|
config: {
|
|
7803
|
-
layout: { xs: 0, sm:
|
|
7787
|
+
layout: { xs: 0, sm: 4 }
|
|
7804
7788
|
}
|
|
7805
7789
|
}
|
|
7806
7790
|
]
|
|
@@ -7969,7 +7953,6 @@ const sectionLabels = {
|
|
|
7969
7953
|
DownloadFile: ["Core", "Event", "Style", "Validation"],
|
|
7970
7954
|
Box: ["Core", "Event", "Style", "Validation"],
|
|
7971
7955
|
Properties: ["Core", "Properties", "Event", "Style", "Validation"],
|
|
7972
|
-
ProgressBar: ["Core", "Event", "Style", "Validation"],
|
|
7973
7956
|
ProgressBarCard: ["Core", "Properties", "Event", "Style", "Validation"],
|
|
7974
7957
|
RankCard: ["Core", "Properties", "Event", "Style", "Validation"],
|
|
7975
7958
|
Slider: ["Core", "Components", "Event", "Style", "Validation"],
|
|
@@ -8347,7 +8330,7 @@ const EventUiSchema = (theme) => {
|
|
|
8347
8330
|
widget: "SelectInputField"
|
|
8348
8331
|
},
|
|
8349
8332
|
config: {
|
|
8350
|
-
layout: { xs:
|
|
8333
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
8351
8334
|
main: {
|
|
8352
8335
|
label: "Event Type",
|
|
8353
8336
|
type: "text"
|
|
@@ -8467,7 +8450,17 @@ const EventUiSchema = (theme) => {
|
|
|
8467
8450
|
widget: "EmptyBox"
|
|
8468
8451
|
},
|
|
8469
8452
|
config: {
|
|
8470
|
-
layout: { xs:
|
|
8453
|
+
layout: { xs: 0, sm: 4, md: 4, lg: 4 }
|
|
8454
|
+
}
|
|
8455
|
+
},
|
|
8456
|
+
{
|
|
8457
|
+
type: "Control",
|
|
8458
|
+
scope: "#/properties/EmptyBox",
|
|
8459
|
+
options: {
|
|
8460
|
+
widget: "EmptyBox"
|
|
8461
|
+
},
|
|
8462
|
+
config: {
|
|
8463
|
+
layout: { xs: 0, sm: 4, md: 4, lg: 4 }
|
|
8471
8464
|
}
|
|
8472
8465
|
},
|
|
8473
8466
|
{
|
|
@@ -8477,7 +8470,7 @@ const EventUiSchema = (theme) => {
|
|
|
8477
8470
|
widget: "Button"
|
|
8478
8471
|
},
|
|
8479
8472
|
config: {
|
|
8480
|
-
layout:
|
|
8473
|
+
layout: 1.8,
|
|
8481
8474
|
main: {
|
|
8482
8475
|
name: "Ok",
|
|
8483
8476
|
startIcon: "ApproveIcon",
|
|
@@ -8498,7 +8491,7 @@ const EventUiSchema = (theme) => {
|
|
|
8498
8491
|
widget: "Button"
|
|
8499
8492
|
},
|
|
8500
8493
|
config: {
|
|
8501
|
-
layout:
|
|
8494
|
+
layout: 1.8,
|
|
8502
8495
|
main: {
|
|
8503
8496
|
name: "Save & Exit",
|
|
8504
8497
|
startIcon: "ApproveIcon",
|
|
@@ -8674,7 +8667,7 @@ const EventUiSchema = (theme) => {
|
|
|
8674
8667
|
height: 0,
|
|
8675
8668
|
margin: 0,
|
|
8676
8669
|
top: 0,
|
|
8677
|
-
right:
|
|
8670
|
+
right: "82px",
|
|
8678
8671
|
position: "absolute",
|
|
8679
8672
|
fontSize: "12px",
|
|
8680
8673
|
cursor: "pointer",
|
|
@@ -8696,7 +8689,6 @@ const EventUiSchema = (theme) => {
|
|
|
8696
8689
|
onClick: "backHandler"
|
|
8697
8690
|
},
|
|
8698
8691
|
style: {
|
|
8699
|
-
display: { xs: "none", sm: "flex" },
|
|
8700
8692
|
textAlign: "left",
|
|
8701
8693
|
lineHeight: 1,
|
|
8702
8694
|
height: 0,
|
|
@@ -8731,7 +8723,7 @@ const APISection = {
|
|
|
8731
8723
|
widget: "SelectInputField"
|
|
8732
8724
|
},
|
|
8733
8725
|
config: {
|
|
8734
|
-
layout: { xs:
|
|
8726
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
8735
8727
|
main: {
|
|
8736
8728
|
label: "Method",
|
|
8737
8729
|
type: "text"
|
|
@@ -8745,7 +8737,7 @@ const APISection = {
|
|
|
8745
8737
|
widget: "InputField"
|
|
8746
8738
|
},
|
|
8747
8739
|
config: {
|
|
8748
|
-
layout: { xs:
|
|
8740
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
8749
8741
|
main: {
|
|
8750
8742
|
label: "Path",
|
|
8751
8743
|
type: "text",
|
|
@@ -8761,7 +8753,7 @@ const APISection = {
|
|
|
8761
8753
|
widget: "EmptyBox"
|
|
8762
8754
|
},
|
|
8763
8755
|
config: {
|
|
8764
|
-
layout: { xs: 0, sm:
|
|
8756
|
+
layout: { xs: 0, sm: 4, md: 4, lg: 4 }
|
|
8765
8757
|
}
|
|
8766
8758
|
},
|
|
8767
8759
|
{
|
|
@@ -8771,7 +8763,7 @@ const APISection = {
|
|
|
8771
8763
|
widget: "EmptyBox"
|
|
8772
8764
|
},
|
|
8773
8765
|
config: {
|
|
8774
|
-
layout: { xs: 0, sm:
|
|
8766
|
+
layout: { xs: 0, sm: 4, md: 4, lg: 4 }
|
|
8775
8767
|
}
|
|
8776
8768
|
},
|
|
8777
8769
|
{
|
|
@@ -8790,7 +8782,7 @@ const APISection = {
|
|
|
8790
8782
|
widget: "InputField"
|
|
8791
8783
|
},
|
|
8792
8784
|
config: {
|
|
8793
|
-
layout: { xs:
|
|
8785
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
8794
8786
|
main: {
|
|
8795
8787
|
label: "Key"
|
|
8796
8788
|
}
|
|
@@ -8803,7 +8795,7 @@ const APISection = {
|
|
|
8803
8795
|
widget: "InputField"
|
|
8804
8796
|
},
|
|
8805
8797
|
config: {
|
|
8806
|
-
layout: { xs:
|
|
8798
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
8807
8799
|
main: {
|
|
8808
8800
|
label: "Value"
|
|
8809
8801
|
}
|
|
@@ -8816,7 +8808,7 @@ const APISection = {
|
|
|
8816
8808
|
widget: "EmptyBox"
|
|
8817
8809
|
},
|
|
8818
8810
|
config: {
|
|
8819
|
-
layout: { xs: 0, sm:
|
|
8811
|
+
layout: { xs: 0, sm: 4, md: 4, lg: 4 }
|
|
8820
8812
|
}
|
|
8821
8813
|
}
|
|
8822
8814
|
]
|
|
@@ -8839,7 +8831,7 @@ const APISection = {
|
|
|
8839
8831
|
widget: "InputField"
|
|
8840
8832
|
},
|
|
8841
8833
|
config: {
|
|
8842
|
-
layout: { xs:
|
|
8834
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
8843
8835
|
main: {
|
|
8844
8836
|
label: "Key"
|
|
8845
8837
|
}
|
|
@@ -8852,7 +8844,7 @@ const APISection = {
|
|
|
8852
8844
|
widget: "InputField"
|
|
8853
8845
|
},
|
|
8854
8846
|
config: {
|
|
8855
|
-
layout: { xs:
|
|
8847
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
8856
8848
|
main: {
|
|
8857
8849
|
label: "Value"
|
|
8858
8850
|
}
|
|
@@ -8865,7 +8857,7 @@ const APISection = {
|
|
|
8865
8857
|
widget: "EmptyBox"
|
|
8866
8858
|
},
|
|
8867
8859
|
config: {
|
|
8868
|
-
layout: { xs: 0, sm:
|
|
8860
|
+
layout: { xs: 0, sm: 4, md: 4, lg: 4 }
|
|
8869
8861
|
}
|
|
8870
8862
|
}
|
|
8871
8863
|
]
|
|
@@ -8893,7 +8885,7 @@ const refreshSectionUiSchema = {
|
|
|
8893
8885
|
widget: "InputField"
|
|
8894
8886
|
},
|
|
8895
8887
|
config: {
|
|
8896
|
-
layout: { xs:
|
|
8888
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
8897
8889
|
main: {
|
|
8898
8890
|
label: "Value"
|
|
8899
8891
|
}
|
|
@@ -8906,7 +8898,7 @@ const refreshSectionUiSchema = {
|
|
|
8906
8898
|
widget: "EmptyBox"
|
|
8907
8899
|
},
|
|
8908
8900
|
config: {
|
|
8909
|
-
layout: { xs: 0, sm:
|
|
8901
|
+
layout: { xs: 0, sm: 4, md: 4, lg: 4 },
|
|
8910
8902
|
main: {}
|
|
8911
8903
|
}
|
|
8912
8904
|
},
|
|
@@ -8917,7 +8909,7 @@ const refreshSectionUiSchema = {
|
|
|
8917
8909
|
widget: "EmptyBox"
|
|
8918
8910
|
},
|
|
8919
8911
|
config: {
|
|
8920
|
-
layout: { xs: 0, sm:
|
|
8912
|
+
layout: { xs: 0, sm: 4, md: 4, lg: 4 },
|
|
8921
8913
|
main: {}
|
|
8922
8914
|
}
|
|
8923
8915
|
}
|
|
@@ -8927,18 +8919,6 @@ const refreshSectionUiSchema = {
|
|
|
8927
8919
|
}
|
|
8928
8920
|
]
|
|
8929
8921
|
};
|
|
8930
|
-
var emptyBox = {
|
|
8931
|
-
type: "Control",
|
|
8932
|
-
scope: "#/properties/emptyBox",
|
|
8933
|
-
options: {
|
|
8934
|
-
widget: "EmptyBox"
|
|
8935
|
-
},
|
|
8936
|
-
config: {
|
|
8937
|
-
layout: { xs: 0, sm: 4, md: 4, lg: 4 },
|
|
8938
|
-
main: {},
|
|
8939
|
-
style: {}
|
|
8940
|
-
}
|
|
8941
|
-
};
|
|
8942
8922
|
var event = (store2, dynamicData2, submitHandler, service2, functionsName) => {
|
|
8943
8923
|
return {
|
|
8944
8924
|
setPage: async function() {
|
|
@@ -8954,19 +8934,7 @@ var event = (store2, dynamicData2, submitHandler, service2, functionsName) => {
|
|
|
8954
8934
|
if (handlerType) {
|
|
8955
8935
|
if (handlerType === "custom") {
|
|
8956
8936
|
uiSchema.elements[1].elements[0].elements[2] = getRadioInputField("isSync", "Run in Sync", ["Yes", "No"]);
|
|
8957
|
-
uiSchema.elements[1].elements[0].elements[3] =
|
|
8958
|
-
type: "Control",
|
|
8959
|
-
scope: "#/properties/emptyBox",
|
|
8960
|
-
options: {
|
|
8961
|
-
widget: "EmptyBox"
|
|
8962
|
-
},
|
|
8963
|
-
config: {
|
|
8964
|
-
layout: { xs: 0, sm: 6, md: 0, lg: 0 },
|
|
8965
|
-
main: {},
|
|
8966
|
-
style: {}
|
|
8967
|
-
}
|
|
8968
|
-
};
|
|
8969
|
-
uiSchema.elements[1].elements[0].elements[4] = getTextArea("eventCode", "Write Custom Code", false);
|
|
8937
|
+
uiSchema.elements[1].elements[0].elements[3] = getTextArea("eventCode", "Write Custom Code", false);
|
|
8970
8938
|
schema2.required = ["eventType", "Handler", "eventCode"];
|
|
8971
8939
|
} else if (handlerType === "api") {
|
|
8972
8940
|
uiSchema.elements[1].elements[0].elements[2] = emptyBox;
|
|
@@ -8974,19 +8942,7 @@ var event = (store2, dynamicData2, submitHandler, service2, functionsName) => {
|
|
|
8974
8942
|
schema2.required = ["eventType", "Handler", "method", "path"];
|
|
8975
8943
|
} else if (handlerType === "inBuiltFunction") {
|
|
8976
8944
|
uiSchema.elements[1].elements[0].elements[2] = getSelectField("inBuiltFunctionType", "Function Name");
|
|
8977
|
-
uiSchema.elements[1].elements[0].elements[3] =
|
|
8978
|
-
type: "Control",
|
|
8979
|
-
scope: "#/properties/emptyBox",
|
|
8980
|
-
options: {
|
|
8981
|
-
widget: "EmptyBox"
|
|
8982
|
-
},
|
|
8983
|
-
config: {
|
|
8984
|
-
layout: { xs: 6, sm: 6, md: 0, lg: 0 },
|
|
8985
|
-
main: {},
|
|
8986
|
-
style: {}
|
|
8987
|
-
}
|
|
8988
|
-
};
|
|
8989
|
-
uiSchema.elements[1].elements[0].elements[4] = getTextArea("funcParametersCode", "Write Custom Code for Functions Parameter", true);
|
|
8945
|
+
uiSchema.elements[1].elements[0].elements[3] = getTextArea("funcParametersCode", "Write Custom Code for Functions Parameter", true);
|
|
8990
8946
|
schema2.required = ["eventType", "Handler", "inBuiltFunctionType"];
|
|
8991
8947
|
} else if (handlerType === "refresh") {
|
|
8992
8948
|
uiSchema.elements[1].elements[0].elements[2] = emptyBox;
|
|
@@ -9503,7 +9459,7 @@ var service = (funcParams) => {
|
|
|
9503
9459
|
height: 0,
|
|
9504
9460
|
margin: 0,
|
|
9505
9461
|
top: 0,
|
|
9506
|
-
right:
|
|
9462
|
+
right: "82px",
|
|
9507
9463
|
position: "absolute",
|
|
9508
9464
|
fontSize: "12px",
|
|
9509
9465
|
cursor: "pointer",
|
|
@@ -9525,7 +9481,6 @@ var service = (funcParams) => {
|
|
|
9525
9481
|
onClick: "backHandler"
|
|
9526
9482
|
},
|
|
9527
9483
|
style: {
|
|
9528
|
-
display: { xs: "none", sm: "flex" },
|
|
9529
9484
|
textAlign: "left",
|
|
9530
9485
|
lineHeight: 1,
|
|
9531
9486
|
height: 0,
|
|
@@ -10152,7 +10107,7 @@ const buildProgressBar = (config, componentScope) => {
|
|
|
10152
10107
|
if (config.layout) {
|
|
10153
10108
|
ProgressBar.config.layout = config.layout;
|
|
10154
10109
|
}
|
|
10155
|
-
ProgressBar.config.main.heading = config.
|
|
10110
|
+
ProgressBar.config.main.heading = config.heading;
|
|
10156
10111
|
if (config.bottomLabel_3) {
|
|
10157
10112
|
ProgressBar.config.main.bottomLabel_3 = config.bottomLabel_3;
|
|
10158
10113
|
}
|
|
@@ -10213,6 +10168,7 @@ const LineGraph = {
|
|
|
10213
10168
|
hideBottomAxisLine: false,
|
|
10214
10169
|
legend: {
|
|
10215
10170
|
labelColor: "green",
|
|
10171
|
+
legendTitle: "Our Assests",
|
|
10216
10172
|
direction: "row",
|
|
10217
10173
|
align: "right",
|
|
10218
10174
|
colorRectWidth: 20
|
|
@@ -10245,15 +10201,11 @@ const buildHorizontalBarGraph = (config, componentScope) => {
|
|
|
10245
10201
|
if (config.layout) {
|
|
10246
10202
|
horizontalBarGraph.config.layout = createLayoutFormat(config.layout);
|
|
10247
10203
|
}
|
|
10248
|
-
horizontalBarGraph.config.main.type = config.graphType;
|
|
10249
10204
|
horizontalBarGraph.scope = componentScope;
|
|
10250
10205
|
horizontalBarGraph.config.main.header = config.heading;
|
|
10251
10206
|
if (config.barColor) {
|
|
10252
10207
|
horizontalBarGraph.config.barStyle.color = config.barColor;
|
|
10253
10208
|
}
|
|
10254
|
-
if (config.xAxisValue) {
|
|
10255
|
-
horizontalBarGraph.config.main.xAxisValue = config.xAxisValue;
|
|
10256
|
-
}
|
|
10257
10209
|
if (config.containerBackground) {
|
|
10258
10210
|
horizontalBarGraph.config.containerStyle.background = config.containerBackground;
|
|
10259
10211
|
}
|
|
@@ -10385,9 +10337,6 @@ const buildPieGraph = (config, componentScope) => {
|
|
|
10385
10337
|
if (config.legendLabels) {
|
|
10386
10338
|
pieGraph.config.main.tooltipDataKey = flatObjectValueInArray(config.legendLabels);
|
|
10387
10339
|
}
|
|
10388
|
-
if (config.xAxisValue) {
|
|
10389
|
-
pieGraph.config.main.xAxisValue = config.xAxisValue;
|
|
10390
|
-
}
|
|
10391
10340
|
if (config.pieArcColors) {
|
|
10392
10341
|
pieGraph.config.style = {
|
|
10393
10342
|
pieStyle: {
|
|
@@ -10410,9 +10359,6 @@ const buildStackbarGraph = (config, componentScope) => {
|
|
|
10410
10359
|
if (config.barColor) {
|
|
10411
10360
|
barGraph.config.barStyle.color = config.barColor;
|
|
10412
10361
|
}
|
|
10413
|
-
if (config.xAxisValue) {
|
|
10414
|
-
barGraph.config.main.xAxisValue = config.xAxisValue;
|
|
10415
|
-
}
|
|
10416
10362
|
if (config.height) {
|
|
10417
10363
|
barGraph.config.style.containerStyle.height = config.height;
|
|
10418
10364
|
}
|
|
@@ -10506,7 +10452,7 @@ var TextInputField = {
|
|
|
10506
10452
|
widget: "InputField"
|
|
10507
10453
|
},
|
|
10508
10454
|
config: {
|
|
10509
|
-
layout: { xs:
|
|
10455
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
10510
10456
|
main: {
|
|
10511
10457
|
label: ""
|
|
10512
10458
|
},
|
|
@@ -10539,7 +10485,7 @@ var SelectInputField = {
|
|
|
10539
10485
|
widget: "SelectInputField"
|
|
10540
10486
|
},
|
|
10541
10487
|
config: {
|
|
10542
|
-
layout: { xs:
|
|
10488
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
10543
10489
|
main: {
|
|
10544
10490
|
label: "",
|
|
10545
10491
|
type: "text",
|
|
@@ -10691,6 +10637,9 @@ const buildTable = (config, componentScope) => {
|
|
|
10691
10637
|
if (config.downloadAllData) {
|
|
10692
10638
|
table.config.main.downloadAllData = config.downloadAllData === "YES" ? true : false;
|
|
10693
10639
|
}
|
|
10640
|
+
if (config.disableFilters) {
|
|
10641
|
+
table.config.main.disableFilters = config.disableFilters === "YES" ? true : false;
|
|
10642
|
+
}
|
|
10694
10643
|
if (config.Table_Download_Keys_Name) {
|
|
10695
10644
|
table.config.main.TableDownloadKeysName = config.Table_Download_Keys_Name.map((e) => e.KeyName);
|
|
10696
10645
|
}
|
|
@@ -10763,7 +10712,7 @@ const uploadFile = {
|
|
|
10763
10712
|
"style": {
|
|
10764
10713
|
"backgroundColor": "none"
|
|
10765
10714
|
},
|
|
10766
|
-
layout: { xs:
|
|
10715
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 }
|
|
10767
10716
|
},
|
|
10768
10717
|
"options": {
|
|
10769
10718
|
"widget": "UploadFile"
|
|
@@ -10780,7 +10729,7 @@ const downloadFile = {
|
|
|
10780
10729
|
"style": {
|
|
10781
10730
|
"backgroundColor": "none"
|
|
10782
10731
|
},
|
|
10783
|
-
layout: { xs:
|
|
10732
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 }
|
|
10784
10733
|
},
|
|
10785
10734
|
"options": {
|
|
10786
10735
|
"widget": "DownloadFile"
|
|
@@ -10825,158 +10774,121 @@ const buildDownloadFile = (config, componentScope) => {
|
|
|
10825
10774
|
}
|
|
10826
10775
|
return DownloadFile;
|
|
10827
10776
|
};
|
|
10828
|
-
|
|
10829
|
-
|
|
10830
|
-
|
|
10831
|
-
|
|
10832
|
-
|
|
10833
|
-
|
|
10834
|
-
|
|
10835
|
-
|
|
10836
|
-
|
|
10837
|
-
|
|
10838
|
-
|
|
10839
|
-
|
|
10840
|
-
|
|
10841
|
-
|
|
10842
|
-
|
|
10843
|
-
|
|
10844
|
-
|
|
10845
|
-
|
|
10846
|
-
|
|
10847
|
-
|
|
10848
|
-
|
|
10777
|
+
var Card = {
|
|
10778
|
+
type: "WrapperLayout",
|
|
10779
|
+
config: {
|
|
10780
|
+
main: {
|
|
10781
|
+
rowSpacing: 0.5
|
|
10782
|
+
},
|
|
10783
|
+
componentsBoxStyle: {
|
|
10784
|
+
position: "relative",
|
|
10785
|
+
color: "white",
|
|
10786
|
+
height: { xs: "120px", md: "160px" },
|
|
10787
|
+
width: "100%",
|
|
10788
|
+
textAlign: "left",
|
|
10789
|
+
background: "#3f51b5",
|
|
10790
|
+
borderRadius: "20px"
|
|
10791
|
+
},
|
|
10792
|
+
layout: { xs: 12, sm: 12, md: 6, lg: 6 }
|
|
10793
|
+
},
|
|
10794
|
+
elements: [
|
|
10795
|
+
{
|
|
10796
|
+
type: "Control",
|
|
10797
|
+
scope: "#/properties/programType",
|
|
10798
|
+
config: {
|
|
10799
|
+
main: {
|
|
10800
|
+
heading: "$5000.00"
|
|
10801
|
+
},
|
|
10802
|
+
style: {
|
|
10803
|
+
position: "absolute",
|
|
10804
|
+
left: "10%",
|
|
10805
|
+
top: "15%",
|
|
10806
|
+
color: "#f5effc",
|
|
10807
|
+
height: "80px",
|
|
10808
|
+
display: "flex",
|
|
10809
|
+
fontSize: { xs: "24px", md: "32px" },
|
|
10810
|
+
alignItems: "center",
|
|
10811
|
+
background: "inherit",
|
|
10812
|
+
justifyContent: "flex-start"
|
|
10813
|
+
},
|
|
10814
|
+
layout: 5
|
|
10849
10815
|
},
|
|
10850
|
-
|
|
10816
|
+
options: {
|
|
10817
|
+
widget: "Box"
|
|
10818
|
+
}
|
|
10851
10819
|
},
|
|
10852
|
-
|
|
10853
|
-
|
|
10854
|
-
|
|
10855
|
-
|
|
10856
|
-
|
|
10820
|
+
{
|
|
10821
|
+
type: "Control",
|
|
10822
|
+
scope: "#/properties/programType",
|
|
10823
|
+
config: {
|
|
10824
|
+
main: {
|
|
10825
|
+
url: "https://www.svgrepo.com/show/500606/loading.svg"
|
|
10857
10826
|
},
|
|
10858
|
-
|
|
10859
|
-
|
|
10860
|
-
|
|
10861
|
-
|
|
10862
|
-
|
|
10863
|
-
|
|
10864
|
-
|
|
10865
|
-
|
|
10866
|
-
|
|
10867
|
-
|
|
10868
|
-
|
|
10869
|
-
|
|
10870
|
-
|
|
10871
|
-
|
|
10872
|
-
|
|
10873
|
-
|
|
10874
|
-
height: "inherit",
|
|
10875
|
-
background: "transparent",
|
|
10876
|
-
borderRadius: "0px"
|
|
10877
|
-
},
|
|
10878
|
-
layout: 12
|
|
10879
|
-
},
|
|
10880
|
-
elements: [
|
|
10881
|
-
{
|
|
10882
|
-
type: "Control",
|
|
10883
|
-
scope: "#/properties/programType",
|
|
10884
|
-
config: {
|
|
10885
|
-
main: {
|
|
10886
|
-
heading: "$5000.00"
|
|
10887
|
-
},
|
|
10888
|
-
style: {
|
|
10889
|
-
color: "black",
|
|
10890
|
-
display: "flex",
|
|
10891
|
-
fontSize: { xs: "24px", md: "28px" },
|
|
10892
|
-
fontWeight: "bold",
|
|
10893
|
-
background: "inherit",
|
|
10894
|
-
justifyContent: "flex-start",
|
|
10895
|
-
width: "calc(100%+8px)",
|
|
10896
|
-
margin: "-8px"
|
|
10897
|
-
},
|
|
10898
|
-
layout: 12
|
|
10899
|
-
},
|
|
10900
|
-
options: {
|
|
10901
|
-
widget: "Box"
|
|
10902
|
-
}
|
|
10903
|
-
},
|
|
10904
|
-
{
|
|
10905
|
-
type: "Control",
|
|
10906
|
-
scope: "#/properties/programType",
|
|
10907
|
-
config: {
|
|
10908
|
-
main: {
|
|
10909
|
-
heading: "Total Earnings"
|
|
10910
|
-
},
|
|
10911
|
-
style: {
|
|
10912
|
-
color: "black",
|
|
10913
|
-
fontSize: "16px",
|
|
10914
|
-
justifyContent: "center",
|
|
10915
|
-
textWrap: "wrap",
|
|
10916
|
-
background: "inherit",
|
|
10917
|
-
width: "calc(100%+8pc)",
|
|
10918
|
-
margin: "-8px",
|
|
10919
|
-
lineHeight: "1"
|
|
10920
|
-
},
|
|
10921
|
-
layout: 12
|
|
10922
|
-
},
|
|
10923
|
-
options: {
|
|
10924
|
-
widget: "Box"
|
|
10925
|
-
}
|
|
10926
|
-
}
|
|
10927
|
-
]
|
|
10928
|
-
}
|
|
10929
|
-
]
|
|
10827
|
+
style: {
|
|
10828
|
+
color: "#f5effc",
|
|
10829
|
+
objectFit: "contain",
|
|
10830
|
+
position: "absolute",
|
|
10831
|
+
top: "10px",
|
|
10832
|
+
right: "10px",
|
|
10833
|
+
height: "80%",
|
|
10834
|
+
width: "35%",
|
|
10835
|
+
display: "flex",
|
|
10836
|
+
fontSize: "34px",
|
|
10837
|
+
alignItems: "center",
|
|
10838
|
+
background: "inherit",
|
|
10839
|
+
padding: "20px",
|
|
10840
|
+
justifyContent: "left"
|
|
10841
|
+
},
|
|
10842
|
+
layout: 5
|
|
10930
10843
|
},
|
|
10931
|
-
{
|
|
10932
|
-
|
|
10933
|
-
|
|
10934
|
-
|
|
10935
|
-
|
|
10936
|
-
|
|
10937
|
-
|
|
10938
|
-
|
|
10939
|
-
|
|
10940
|
-
|
|
10941
|
-
display: "flex",
|
|
10942
|
-
justifyContent: "center"
|
|
10943
|
-
},
|
|
10944
|
-
imageStyle: {
|
|
10945
|
-
height: "100%",
|
|
10946
|
-
fontSize: "none",
|
|
10947
|
-
padding: "4px",
|
|
10948
|
-
marginLeft: "8px"
|
|
10949
|
-
}
|
|
10950
|
-
},
|
|
10951
|
-
layout: 4
|
|
10844
|
+
options: {
|
|
10845
|
+
widget: "Image"
|
|
10846
|
+
}
|
|
10847
|
+
},
|
|
10848
|
+
{
|
|
10849
|
+
type: "Control",
|
|
10850
|
+
scope: "#/properties/programType",
|
|
10851
|
+
config: {
|
|
10852
|
+
main: {
|
|
10853
|
+
heading: "Total Earnings"
|
|
10952
10854
|
},
|
|
10953
|
-
|
|
10954
|
-
|
|
10955
|
-
|
|
10855
|
+
style: {
|
|
10856
|
+
position: "absolute",
|
|
10857
|
+
top: "calc(60%)",
|
|
10858
|
+
alignItems: "center",
|
|
10859
|
+
color: "#8999e8",
|
|
10860
|
+
fontSize: "16px",
|
|
10861
|
+
left: "10%",
|
|
10862
|
+
background: "inherit",
|
|
10863
|
+
justifyContent: "center"
|
|
10864
|
+
},
|
|
10865
|
+
layout: 12
|
|
10866
|
+
},
|
|
10867
|
+
options: {
|
|
10868
|
+
widget: "Box"
|
|
10956
10869
|
}
|
|
10957
|
-
|
|
10958
|
-
|
|
10959
|
-
|
|
10960
|
-
|
|
10961
|
-
const
|
|
10962
|
-
const card = _.cloneDeep(Card(store2.theme.myTheme));
|
|
10870
|
+
}
|
|
10871
|
+
]
|
|
10872
|
+
};
|
|
10873
|
+
const buildCard = (config, componentScope) => {
|
|
10874
|
+
const card = _.cloneDeep(Card);
|
|
10963
10875
|
if (config.style) {
|
|
10964
10876
|
card.config.style = JSON.parse(config.style);
|
|
10965
10877
|
}
|
|
10966
|
-
card.elements[0].
|
|
10878
|
+
card.elements[0].scope = `#/properties/${config.name}/properties/value`;
|
|
10967
10879
|
card.elements[1].scope = `#/properties/${config.name}/properties/url`;
|
|
10968
|
-
card.elements[
|
|
10880
|
+
card.elements[2].scope = `#/properties/${config.name}/properties/description`;
|
|
10969
10881
|
if (config.layout) {
|
|
10970
10882
|
card.config.layout = createLayoutFormat(config.layout);
|
|
10971
10883
|
}
|
|
10972
10884
|
if (config.label) {
|
|
10973
|
-
card.elements[0].
|
|
10885
|
+
card.elements[0].config.main.heading = config.label;
|
|
10974
10886
|
}
|
|
10975
10887
|
if (config.url) {
|
|
10976
10888
|
card.elements[1].config.main.url = config.url;
|
|
10977
10889
|
}
|
|
10978
10890
|
if (config.description) {
|
|
10979
|
-
card.elements[
|
|
10891
|
+
card.elements[2].config.main.heading = config.description;
|
|
10980
10892
|
}
|
|
10981
10893
|
return card;
|
|
10982
10894
|
};
|
|
@@ -10987,7 +10899,7 @@ var DateInputField = {
|
|
|
10987
10899
|
widget: "DateInputField"
|
|
10988
10900
|
},
|
|
10989
10901
|
config: {
|
|
10990
|
-
layout: { xs:
|
|
10902
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
10991
10903
|
main: {
|
|
10992
10904
|
label: "",
|
|
10993
10905
|
type: "date"
|
|
@@ -11001,7 +10913,7 @@ const DateTime = {
|
|
|
11001
10913
|
widget: "DateTimeInputField"
|
|
11002
10914
|
},
|
|
11003
10915
|
config: {
|
|
11004
|
-
layout: { xs:
|
|
10916
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
11005
10917
|
main: {
|
|
11006
10918
|
label: "DateTime",
|
|
11007
10919
|
type: "date"
|
|
@@ -11128,7 +11040,7 @@ var MultipleSelect = {
|
|
|
11128
11040
|
widget: "MultipleSelect"
|
|
11129
11041
|
},
|
|
11130
11042
|
config: {
|
|
11131
|
-
layout: { xs:
|
|
11043
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
11132
11044
|
main: {
|
|
11133
11045
|
label: "",
|
|
11134
11046
|
type: "text",
|
|
@@ -11294,7 +11206,7 @@ const RadioUiSchema = {
|
|
|
11294
11206
|
widget: "RadioInputField"
|
|
11295
11207
|
},
|
|
11296
11208
|
config: {
|
|
11297
|
-
layout: { xs:
|
|
11209
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
11298
11210
|
main: {
|
|
11299
11211
|
label: "Enabled",
|
|
11300
11212
|
options: ["YES", "NO"],
|
|
@@ -11403,7 +11315,7 @@ const FileInput = {
|
|
|
11403
11315
|
widget: "FileInputField"
|
|
11404
11316
|
},
|
|
11405
11317
|
config: {
|
|
11406
|
-
layout: { xs:
|
|
11318
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
11407
11319
|
main: {
|
|
11408
11320
|
required: false,
|
|
11409
11321
|
onUpload: "onFileUpload",
|
|
@@ -11757,7 +11669,7 @@ const buildSchema = (config, tableName, isArrayType) => {
|
|
|
11757
11669
|
}
|
|
11758
11670
|
return schema;
|
|
11759
11671
|
};
|
|
11760
|
-
const buildUiSchema = (config
|
|
11672
|
+
const buildUiSchema = (config) => {
|
|
11761
11673
|
let elements = {};
|
|
11762
11674
|
const componentScope = `#/properties/${config.name}`;
|
|
11763
11675
|
switch (config.type) {
|
|
@@ -11840,7 +11752,7 @@ const buildUiSchema = (config, store2) => {
|
|
|
11840
11752
|
elements = buildEmptyBox(config);
|
|
11841
11753
|
break;
|
|
11842
11754
|
case "card":
|
|
11843
|
-
elements = buildCard(config
|
|
11755
|
+
elements = buildCard(config);
|
|
11844
11756
|
break;
|
|
11845
11757
|
case "Graph":
|
|
11846
11758
|
switch (config.graphType) {
|
|
@@ -11855,7 +11767,6 @@ const buildUiSchema = (config, store2) => {
|
|
|
11855
11767
|
elements = buildPieGraph(config, componentScope);
|
|
11856
11768
|
break;
|
|
11857
11769
|
case "HorizontalBarGraph":
|
|
11858
|
-
case "HorizontalStackBarGraph":
|
|
11859
11770
|
elements = buildHorizontalBarGraph(config, componentScope);
|
|
11860
11771
|
break;
|
|
11861
11772
|
}
|
|
@@ -11918,7 +11829,7 @@ const buildUiSchema = (config, store2) => {
|
|
|
11918
11829
|
header: cellElem.label || cellElem.name,
|
|
11919
11830
|
size: sizeMap[cellElem.name] || 180,
|
|
11920
11831
|
type: cellElem.columnFormat,
|
|
11921
|
-
elements: cellElem.type == "ColumnGroup" ? cellElem.elements.map((childCellElem) => buildUiSchema(childCellElem
|
|
11832
|
+
elements: cellElem.type == "ColumnGroup" ? cellElem.elements.map((childCellElem) => buildUiSchema(childCellElem)) : []
|
|
11922
11833
|
};
|
|
11923
11834
|
});
|
|
11924
11835
|
} else if (config.type == "Table") {
|
|
@@ -11935,8 +11846,8 @@ const buildUiSchema = (config, store2) => {
|
|
|
11935
11846
|
header: cellElem.label || cellElem.name,
|
|
11936
11847
|
size: sizeMap[cellElem.name] || 180,
|
|
11937
11848
|
type: cellElem.columnFormat,
|
|
11938
|
-
widget: cellElem.type != "ColumnGroup" ? buildUiSchema(cellElem
|
|
11939
|
-
elements: cellElem.type == "ColumnGroup" ? cellElem.elements.map((childCellElem) => buildUiSchema(childCellElem
|
|
11849
|
+
widget: cellElem.type != "ColumnGroup" ? buildUiSchema(cellElem) : void 0,
|
|
11850
|
+
elements: cellElem.type == "ColumnGroup" ? cellElem.elements.map((childCellElem) => buildUiSchema(childCellElem)) : []
|
|
11940
11851
|
};
|
|
11941
11852
|
} else {
|
|
11942
11853
|
return {
|
|
@@ -11949,11 +11860,11 @@ const buildUiSchema = (config, store2) => {
|
|
|
11949
11860
|
});
|
|
11950
11861
|
} else if (config.type == "Array") {
|
|
11951
11862
|
elements.options.detail.elements = config.elements.map((e, elemInd) => {
|
|
11952
|
-
return buildUiSchema(e
|
|
11863
|
+
return buildUiSchema(e);
|
|
11953
11864
|
});
|
|
11954
11865
|
} else {
|
|
11955
11866
|
elements.elements = config.elements.map((e, elemInd) => {
|
|
11956
|
-
return buildUiSchema(e
|
|
11867
|
+
return buildUiSchema(e);
|
|
11957
11868
|
});
|
|
11958
11869
|
}
|
|
11959
11870
|
}
|