impaktapps-ui-builder 0.0.69 → 0.0.71
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 +341 -254
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +13 -13
- 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 +2 -0
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/card.d.ts +104 -83
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/graph.d.ts +0 -1
- 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 +4 -0
- package/src/impaktapps-ui-builder/builder/build/buildPieGraph.ts +3 -1
- 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 +3 -0
- package/src/impaktapps-ui-builder/builder/build/buildTable.ts +3 -0
- package/src/impaktapps-ui-builder/builder/build/buildUiSchema.ts +8 -7
- package/src/impaktapps-ui-builder/builder/build/uischema/apiSection.ts +10 -10
- package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +65 -47
- package/src/impaktapps-ui-builder/builder/build/uischema/card.ts +132 -90
- 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 +0 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/leaderBoard.ts +6 -7
- 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 +1 -0
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/uiSchema.ts +15 -31
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/uiSchema.ts +18 -11
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/uiSchema.ts +7 -16
- package/src/impaktapps-ui-builder/builder/services/event.ts +29 -3
- package/src/impaktapps-ui-builder/runtime/services/service.ts +3 -2
|
@@ -66,7 +66,7 @@ const PageMasterUiSchema = (theme) => {
|
|
|
66
66
|
widget: "InputField"
|
|
67
67
|
},
|
|
68
68
|
config: {
|
|
69
|
-
layout: { xs:
|
|
69
|
+
layout: { xs: 6, sm: 6, 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: 6, sm: 6, 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: 6, sm: 6, md: 4, lg: 4 },
|
|
108
108
|
main: {
|
|
109
109
|
label: "Label",
|
|
110
110
|
options: [],
|
|
@@ -112,6 +112,16 @@ 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
|
+
}
|
|
115
125
|
}
|
|
116
126
|
]
|
|
117
127
|
},
|
|
@@ -317,7 +327,7 @@ const PageMasterUiSchema = (theme) => {
|
|
|
317
327
|
widget: "EmptyBox"
|
|
318
328
|
},
|
|
319
329
|
config: {
|
|
320
|
-
layout: { xs:
|
|
330
|
+
layout: { xs: 8, sm: 10 }
|
|
321
331
|
}
|
|
322
332
|
},
|
|
323
333
|
{
|
|
@@ -327,7 +337,7 @@ const PageMasterUiSchema = (theme) => {
|
|
|
327
337
|
widget: "Button"
|
|
328
338
|
},
|
|
329
339
|
config: {
|
|
330
|
-
layout:
|
|
340
|
+
layout: { xs: 4, sm: 2 },
|
|
331
341
|
main: {
|
|
332
342
|
name: "Save",
|
|
333
343
|
startIcon: "ApproveIcon",
|
|
@@ -335,10 +345,6 @@ const PageMasterUiSchema = (theme) => {
|
|
|
335
345
|
type: "text",
|
|
336
346
|
onClick: "saveHandler",
|
|
337
347
|
size: "medium"
|
|
338
|
-
},
|
|
339
|
-
style: {
|
|
340
|
-
width: { xs: "90%", sm: "90%", md: "20%", lg: "10%" },
|
|
341
|
-
float: "right"
|
|
342
348
|
}
|
|
343
349
|
}
|
|
344
350
|
},
|
|
@@ -592,7 +598,7 @@ const PageMasterUiSchema = (theme) => {
|
|
|
592
598
|
height: 0,
|
|
593
599
|
margin: 0,
|
|
594
600
|
top: 0,
|
|
595
|
-
right: "
|
|
601
|
+
right: { xs: "12px", sm: "84px" },
|
|
596
602
|
position: "absolute",
|
|
597
603
|
fontSize: "12px",
|
|
598
604
|
cursor: "pointer",
|
|
@@ -614,6 +620,7 @@ const PageMasterUiSchema = (theme) => {
|
|
|
614
620
|
onClick: "backHandler"
|
|
615
621
|
},
|
|
616
622
|
style: {
|
|
623
|
+
display: { xs: "none", sm: "flex" },
|
|
617
624
|
textAlign: "left",
|
|
618
625
|
lineHeight: 1,
|
|
619
626
|
height: 0,
|
|
@@ -6339,7 +6346,8 @@ const ComponentSchema = {
|
|
|
6339
6346
|
{ title: "Stack Bar Graph", const: "StackBarGraph" },
|
|
6340
6347
|
{ title: "Line Graph", const: "LineGraph" },
|
|
6341
6348
|
{ title: "Pie Graph", const: "PieGraph" },
|
|
6342
|
-
{ title: "Horizontal Bar Graph", const: "HorizontalBarGraph" }
|
|
6349
|
+
{ title: "Horizontal Bar Graph", const: "HorizontalBarGraph" },
|
|
6350
|
+
{ title: "Stack Horizontal Bar Graph", const: "HorizontalStackBarGraph" }
|
|
6343
6351
|
]
|
|
6344
6352
|
},
|
|
6345
6353
|
iconName: {
|
|
@@ -6426,7 +6434,7 @@ const componentBasicUiSchema = (theme) => {
|
|
|
6426
6434
|
widget: "SelectInputField"
|
|
6427
6435
|
},
|
|
6428
6436
|
config: {
|
|
6429
|
-
layout: { xs:
|
|
6437
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
6430
6438
|
main: {
|
|
6431
6439
|
label: "Type"
|
|
6432
6440
|
}
|
|
@@ -6439,7 +6447,7 @@ const componentBasicUiSchema = (theme) => {
|
|
|
6439
6447
|
widget: "InputField"
|
|
6440
6448
|
},
|
|
6441
6449
|
config: {
|
|
6442
|
-
layout: { xs:
|
|
6450
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
6443
6451
|
main: {
|
|
6444
6452
|
label: "Name",
|
|
6445
6453
|
options: [],
|
|
@@ -6455,7 +6463,7 @@ const componentBasicUiSchema = (theme) => {
|
|
|
6455
6463
|
widget: "InputField"
|
|
6456
6464
|
},
|
|
6457
6465
|
config: {
|
|
6458
|
-
layout: { xs:
|
|
6466
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
6459
6467
|
main: {
|
|
6460
6468
|
label: "Label",
|
|
6461
6469
|
options: [],
|
|
@@ -6471,7 +6479,7 @@ const componentBasicUiSchema = (theme) => {
|
|
|
6471
6479
|
widget: "SelectInputField"
|
|
6472
6480
|
},
|
|
6473
6481
|
config: {
|
|
6474
|
-
layout: { xs:
|
|
6482
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
6475
6483
|
main: {
|
|
6476
6484
|
label: "Column Format"
|
|
6477
6485
|
}
|
|
@@ -6481,7 +6489,7 @@ const componentBasicUiSchema = (theme) => {
|
|
|
6481
6489
|
type: "Control",
|
|
6482
6490
|
scope: "#/properties/proc",
|
|
6483
6491
|
config: {
|
|
6484
|
-
layout: { xs: 0, sm:
|
|
6492
|
+
layout: { xs: 0, sm: 0, md: 4, lg: 4 }
|
|
6485
6493
|
},
|
|
6486
6494
|
options: {
|
|
6487
6495
|
widget: "EmptyBox"
|
|
@@ -6491,7 +6499,7 @@ const componentBasicUiSchema = (theme) => {
|
|
|
6491
6499
|
type: "Control",
|
|
6492
6500
|
scope: "#/properties/proc",
|
|
6493
6501
|
config: {
|
|
6494
|
-
layout: { xs: 0, sm:
|
|
6502
|
+
layout: { xs: 0, sm: 0, md: 4, lg: 4 }
|
|
6495
6503
|
},
|
|
6496
6504
|
options: {
|
|
6497
6505
|
widget: "EmptyBox"
|
|
@@ -6512,7 +6520,7 @@ const componentBasicUiSchema = (theme) => {
|
|
|
6512
6520
|
widget: "SelectInputField"
|
|
6513
6521
|
},
|
|
6514
6522
|
config: {
|
|
6515
|
-
layout: { xs:
|
|
6523
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
6516
6524
|
main: {
|
|
6517
6525
|
label: "Screen Size"
|
|
6518
6526
|
}
|
|
@@ -6525,7 +6533,7 @@ const componentBasicUiSchema = (theme) => {
|
|
|
6525
6533
|
widget: "InputField"
|
|
6526
6534
|
},
|
|
6527
6535
|
config: {
|
|
6528
|
-
layout: { xs:
|
|
6536
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
6529
6537
|
main: {
|
|
6530
6538
|
label: "Value",
|
|
6531
6539
|
type: "number",
|
|
@@ -6538,7 +6546,7 @@ const componentBasicUiSchema = (theme) => {
|
|
|
6538
6546
|
type: "Control",
|
|
6539
6547
|
scope: "#/properties/proc",
|
|
6540
6548
|
config: {
|
|
6541
|
-
layout: { xs: 0, sm:
|
|
6549
|
+
layout: { xs: 0, sm: 0, md: 4, lg: 4 }
|
|
6542
6550
|
},
|
|
6543
6551
|
options: {
|
|
6544
6552
|
widget: "EmptyBox"
|
|
@@ -6741,17 +6749,7 @@ const componentBasicUiSchema = (theme) => {
|
|
|
6741
6749
|
widget: "EmptyBox"
|
|
6742
6750
|
},
|
|
6743
6751
|
config: {
|
|
6744
|
-
layout: { xs:
|
|
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 }
|
|
6752
|
+
layout: { xs: 4, sm: 8 }
|
|
6755
6753
|
}
|
|
6756
6754
|
},
|
|
6757
6755
|
{
|
|
@@ -6761,7 +6759,7 @@ const componentBasicUiSchema = (theme) => {
|
|
|
6761
6759
|
widget: "Button"
|
|
6762
6760
|
},
|
|
6763
6761
|
config: {
|
|
6764
|
-
layout:
|
|
6762
|
+
layout: { xs: 4, sm: 2 },
|
|
6765
6763
|
main: {
|
|
6766
6764
|
name: "Ok",
|
|
6767
6765
|
startIcon: "ApproveIcon",
|
|
@@ -6769,9 +6767,6 @@ const componentBasicUiSchema = (theme) => {
|
|
|
6769
6767
|
type: "text",
|
|
6770
6768
|
onClick: "okHandler",
|
|
6771
6769
|
size: "medium"
|
|
6772
|
-
},
|
|
6773
|
-
style: {
|
|
6774
|
-
float: "right"
|
|
6775
6770
|
}
|
|
6776
6771
|
}
|
|
6777
6772
|
},
|
|
@@ -6782,7 +6777,7 @@ const componentBasicUiSchema = (theme) => {
|
|
|
6782
6777
|
widget: "Button"
|
|
6783
6778
|
},
|
|
6784
6779
|
config: {
|
|
6785
|
-
layout:
|
|
6780
|
+
layout: { xs: 4, sm: 2 },
|
|
6786
6781
|
main: {
|
|
6787
6782
|
name: "Save & Exit",
|
|
6788
6783
|
startIcon: "ApproveIcon",
|
|
@@ -6790,9 +6785,6 @@ const componentBasicUiSchema = (theme) => {
|
|
|
6790
6785
|
type: "text",
|
|
6791
6786
|
onClick: "saveHandler",
|
|
6792
6787
|
size: "medium"
|
|
6793
|
-
},
|
|
6794
|
-
style: {
|
|
6795
|
-
float: "right"
|
|
6796
6788
|
}
|
|
6797
6789
|
}
|
|
6798
6790
|
},
|
|
@@ -6864,7 +6856,7 @@ const componentBasicUiSchema = (theme) => {
|
|
|
6864
6856
|
height: 0,
|
|
6865
6857
|
margin: 0,
|
|
6866
6858
|
top: 0,
|
|
6867
|
-
right: "
|
|
6859
|
+
right: { xs: "12px", sm: "84px" },
|
|
6868
6860
|
position: "absolute",
|
|
6869
6861
|
fontSize: "12px",
|
|
6870
6862
|
cursor: "pointer",
|
|
@@ -6886,6 +6878,7 @@ const componentBasicUiSchema = (theme) => {
|
|
|
6886
6878
|
onClick: "backHandler"
|
|
6887
6879
|
},
|
|
6888
6880
|
style: {
|
|
6881
|
+
display: { xs: "none", sm: "flex" },
|
|
6889
6882
|
textAlign: "left",
|
|
6890
6883
|
lineHeight: 1,
|
|
6891
6884
|
height: 0,
|
|
@@ -6896,7 +6889,7 @@ const componentBasicUiSchema = (theme) => {
|
|
|
6896
6889
|
marginLeft: "2px",
|
|
6897
6890
|
marginRight: 0,
|
|
6898
6891
|
top: 3,
|
|
6899
|
-
right: "
|
|
6892
|
+
right: "12px",
|
|
6900
6893
|
position: "absolute",
|
|
6901
6894
|
":hover": {
|
|
6902
6895
|
color: theme.palette.primary.dark
|
|
@@ -6920,7 +6913,7 @@ const CoreSection = {
|
|
|
6920
6913
|
widget: "SelectInputField"
|
|
6921
6914
|
},
|
|
6922
6915
|
config: {
|
|
6923
|
-
layout: { xs:
|
|
6916
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
6924
6917
|
main: {
|
|
6925
6918
|
label: "Type",
|
|
6926
6919
|
type: "text"
|
|
@@ -6934,7 +6927,7 @@ const CoreSection = {
|
|
|
6934
6927
|
widget: "InputField"
|
|
6935
6928
|
},
|
|
6936
6929
|
config: {
|
|
6937
|
-
layout: { xs:
|
|
6930
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
6938
6931
|
main: {
|
|
6939
6932
|
label: "Name"
|
|
6940
6933
|
}
|
|
@@ -6947,7 +6940,7 @@ const CoreSection = {
|
|
|
6947
6940
|
widget: "InputField"
|
|
6948
6941
|
},
|
|
6949
6942
|
config: {
|
|
6950
|
-
layout: { xs:
|
|
6943
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
6951
6944
|
main: {
|
|
6952
6945
|
label: "Label"
|
|
6953
6946
|
}
|
|
@@ -6960,7 +6953,7 @@ const CoreSection = {
|
|
|
6960
6953
|
widget: "SelectInputField"
|
|
6961
6954
|
},
|
|
6962
6955
|
config: {
|
|
6963
|
-
layout: { xs:
|
|
6956
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
6964
6957
|
main: {
|
|
6965
6958
|
label: "Column Format"
|
|
6966
6959
|
}
|
|
@@ -6970,7 +6963,7 @@ const CoreSection = {
|
|
|
6970
6963
|
type: "Control",
|
|
6971
6964
|
scope: "#/properties/proc",
|
|
6972
6965
|
config: {
|
|
6973
|
-
layout: { xs: 0, sm:
|
|
6966
|
+
layout: { xs: 0, sm: 0, md: 4, lg: 4 }
|
|
6974
6967
|
},
|
|
6975
6968
|
options: {
|
|
6976
6969
|
widget: "EmptyBox"
|
|
@@ -6980,7 +6973,7 @@ const CoreSection = {
|
|
|
6980
6973
|
type: "Control",
|
|
6981
6974
|
scope: "#/properties/proc",
|
|
6982
6975
|
config: {
|
|
6983
|
-
layout: { xs: 0, sm:
|
|
6976
|
+
layout: { xs: 0, sm: 0, md: 4, lg: 4 }
|
|
6984
6977
|
},
|
|
6985
6978
|
options: {
|
|
6986
6979
|
widget: "EmptyBox"
|
|
@@ -7002,7 +6995,7 @@ const CoreSection = {
|
|
|
7002
6995
|
widget: "SelectInputField"
|
|
7003
6996
|
},
|
|
7004
6997
|
config: {
|
|
7005
|
-
layout: { xs:
|
|
6998
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
7006
6999
|
main: {
|
|
7007
7000
|
label: "Screen Size"
|
|
7008
7001
|
}
|
|
@@ -7015,7 +7008,7 @@ const CoreSection = {
|
|
|
7015
7008
|
widget: "InputField"
|
|
7016
7009
|
},
|
|
7017
7010
|
config: {
|
|
7018
|
-
layout: { xs:
|
|
7011
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
7019
7012
|
main: {
|
|
7020
7013
|
label: "Value",
|
|
7021
7014
|
type: "number",
|
|
@@ -7028,7 +7021,7 @@ const CoreSection = {
|
|
|
7028
7021
|
type: "Control",
|
|
7029
7022
|
scope: "#/properties/proc",
|
|
7030
7023
|
config: {
|
|
7031
|
-
layout: { xs: 0, sm:
|
|
7024
|
+
layout: { xs: 0, sm: 0, md: 4, lg: 4 }
|
|
7032
7025
|
},
|
|
7033
7026
|
options: {
|
|
7034
7027
|
widget: "EmptyBox"
|
|
@@ -7141,17 +7134,29 @@ const EventSection = (theme) => {
|
|
|
7141
7134
|
};
|
|
7142
7135
|
return uiSchema;
|
|
7143
7136
|
};
|
|
7144
|
-
|
|
7145
|
-
|
|
7146
|
-
|
|
7147
|
-
|
|
7148
|
-
|
|
7149
|
-
|
|
7150
|
-
|
|
7151
|
-
|
|
7152
|
-
|
|
7153
|
-
|
|
7137
|
+
const emptyBox$1 = (scope, layout) => {
|
|
7138
|
+
if (layout !== void 0) {
|
|
7139
|
+
return {
|
|
7140
|
+
type: "Control",
|
|
7141
|
+
scope: `#/properties/${scope}`,
|
|
7142
|
+
options: {
|
|
7143
|
+
widget: "EmptyBox"
|
|
7144
|
+
},
|
|
7145
|
+
config: {
|
|
7146
|
+
layout
|
|
7147
|
+
}
|
|
7148
|
+
};
|
|
7154
7149
|
}
|
|
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
|
+
};
|
|
7155
7160
|
};
|
|
7156
7161
|
const cardLayout = {
|
|
7157
7162
|
type: "Control",
|
|
@@ -7168,7 +7173,7 @@ const cardLayout = {
|
|
|
7168
7173
|
widget: "SelectInputField"
|
|
7169
7174
|
},
|
|
7170
7175
|
config: {
|
|
7171
|
-
layout: { xs:
|
|
7176
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
7172
7177
|
main: {
|
|
7173
7178
|
label: "Screen Size"
|
|
7174
7179
|
}
|
|
@@ -7181,7 +7186,7 @@ const cardLayout = {
|
|
|
7181
7186
|
widget: "InputField"
|
|
7182
7187
|
},
|
|
7183
7188
|
config: {
|
|
7184
|
-
layout: { xs:
|
|
7189
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
7185
7190
|
main: {
|
|
7186
7191
|
label: "Value",
|
|
7187
7192
|
type: "number",
|
|
@@ -7190,7 +7195,7 @@ const cardLayout = {
|
|
|
7190
7195
|
}
|
|
7191
7196
|
}
|
|
7192
7197
|
},
|
|
7193
|
-
emptyBox
|
|
7198
|
+
emptyBox$1("cardEmpty")
|
|
7194
7199
|
]
|
|
7195
7200
|
}
|
|
7196
7201
|
}
|
|
@@ -7212,14 +7217,14 @@ const getArrayControl = (parentScope, childScope, childLabel) => {
|
|
|
7212
7217
|
widget: "InputField"
|
|
7213
7218
|
},
|
|
7214
7219
|
config: {
|
|
7215
|
-
layout: { xs:
|
|
7220
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
7216
7221
|
main: {
|
|
7217
7222
|
label: childLabel || "Labels for Tab"
|
|
7218
7223
|
}
|
|
7219
7224
|
}
|
|
7220
7225
|
},
|
|
7221
|
-
emptyBox,
|
|
7222
|
-
emptyBox
|
|
7226
|
+
emptyBox$1("ArrayControlEmpty1", { xs: 6, sm: 6, md: 4, lg: 4 }),
|
|
7227
|
+
emptyBox$1("ArrayControlEmpty2", { xs: 0, sm: 0, md: 4, lg: 4 })
|
|
7223
7228
|
]
|
|
7224
7229
|
}
|
|
7225
7230
|
}
|
|
@@ -7233,13 +7238,13 @@ sizeHolder.options.detail.elements[1] = {
|
|
|
7233
7238
|
widget: "InputField"
|
|
7234
7239
|
},
|
|
7235
7240
|
config: {
|
|
7236
|
-
layout: { xs:
|
|
7241
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
7237
7242
|
main: {
|
|
7238
7243
|
label: "Size"
|
|
7239
7244
|
}
|
|
7240
7245
|
}
|
|
7241
7246
|
};
|
|
7242
|
-
sizeHolder.options.detail.elements[2] = emptyBox;
|
|
7247
|
+
sizeHolder.options.detail.elements[2] = emptyBox$1("sizeHolderempty");
|
|
7243
7248
|
const getInputField = (scope, label) => {
|
|
7244
7249
|
return {
|
|
7245
7250
|
type: "Control",
|
|
@@ -7248,7 +7253,7 @@ const getInputField = (scope, label) => {
|
|
|
7248
7253
|
widget: "InputField"
|
|
7249
7254
|
},
|
|
7250
7255
|
config: {
|
|
7251
|
-
layout: { xs:
|
|
7256
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
7252
7257
|
main: {
|
|
7253
7258
|
label
|
|
7254
7259
|
}
|
|
@@ -7263,7 +7268,7 @@ const getRadioInputField = (scope, label, options) => {
|
|
|
7263
7268
|
widget: "RadioInputField"
|
|
7264
7269
|
},
|
|
7265
7270
|
config: {
|
|
7266
|
-
layout: { xs:
|
|
7271
|
+
layout: { xs: 12, sm: 6, md: 4, lg: 4 },
|
|
7267
7272
|
main: {
|
|
7268
7273
|
label,
|
|
7269
7274
|
options
|
|
@@ -7281,7 +7286,9 @@ const buildWrapper = (label, elements) => {
|
|
|
7281
7286
|
},
|
|
7282
7287
|
wrapperStyle: {
|
|
7283
7288
|
marginTop: "-6px",
|
|
7284
|
-
marginBottom: "-8px"
|
|
7289
|
+
marginBottom: "-8px",
|
|
7290
|
+
marginLeft: "-34px",
|
|
7291
|
+
width: "108%"
|
|
7285
7292
|
},
|
|
7286
7293
|
componentsBoxStyle: {
|
|
7287
7294
|
marginLeft: "24px"
|
|
@@ -7326,7 +7333,7 @@ const getSelectField = (scope, label, options) => {
|
|
|
7326
7333
|
widget: "SelectInputField"
|
|
7327
7334
|
},
|
|
7328
7335
|
config: {
|
|
7329
|
-
layout: { xs:
|
|
7336
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
7330
7337
|
main: {
|
|
7331
7338
|
label,
|
|
7332
7339
|
type: "text"
|
|
@@ -7335,7 +7342,7 @@ const getSelectField = (scope, label, options) => {
|
|
|
7335
7342
|
};
|
|
7336
7343
|
};
|
|
7337
7344
|
const GraphSection = {
|
|
7338
|
-
type: "
|
|
7345
|
+
type: "WrapperLayout",
|
|
7339
7346
|
elements: []
|
|
7340
7347
|
};
|
|
7341
7348
|
const buildPropertiesSection = function(type) {
|
|
@@ -7348,7 +7355,7 @@ const buildPropertiesSection = function(type) {
|
|
|
7348
7355
|
getInputField("graphHeight", "Graph Height"),
|
|
7349
7356
|
getInputField("graphWidth", "Graph Width"),
|
|
7350
7357
|
getInputField("graphZoomHeight", "Zoom Height"),
|
|
7351
|
-
emptyBox
|
|
7358
|
+
emptyBox$1("TreeEmpty", { xs: 6, sm: 6, md: 4, lg: 4 })
|
|
7352
7359
|
];
|
|
7353
7360
|
break;
|
|
7354
7361
|
case "InputSlider":
|
|
@@ -7356,9 +7363,9 @@ const buildPropertiesSection = function(type) {
|
|
|
7356
7363
|
getInputField("max", "Max Limit"),
|
|
7357
7364
|
getInputField("step", "Step"),
|
|
7358
7365
|
getInputField("min", "Min Limit"),
|
|
7366
|
+
emptyBox$1("InputSliderEmpty1", { xs: 6, sm: 0, md: 0, lg: 0 }),
|
|
7359
7367
|
getRadioInputField("limitToMax", "Applly Max. Limit", ["YES", "NO"]),
|
|
7360
|
-
emptyBox,
|
|
7361
|
-
emptyBox
|
|
7368
|
+
emptyBox$1("InputSliderEmpty2", { xs: 0, sm: 0, md: 8, lg: 8 })
|
|
7362
7369
|
];
|
|
7363
7370
|
break;
|
|
7364
7371
|
case "DataGrid":
|
|
@@ -7367,8 +7374,8 @@ const buildPropertiesSection = function(type) {
|
|
|
7367
7374
|
getInputField("elevation", "Card Elevation"),
|
|
7368
7375
|
getInputField("height", "Grid height"),
|
|
7369
7376
|
getInputField("justifyContent", "justifyContent"),
|
|
7370
|
-
emptyBox,
|
|
7371
|
-
emptyBox,
|
|
7377
|
+
emptyBox$1("DataGridEmpty1", { xs: 6, sm: 0, md: 4, lg: 4 }),
|
|
7378
|
+
emptyBox$1("DataGridEmpty1", { xs: 0, sm: 0, md: 4, lg: 4 }),
|
|
7372
7379
|
cardLayout
|
|
7373
7380
|
];
|
|
7374
7381
|
break;
|
|
@@ -7379,7 +7386,7 @@ const buildPropertiesSection = function(type) {
|
|
|
7379
7386
|
getInputField("resetText", "Reset Text"),
|
|
7380
7387
|
getInputField("completeText", "Complete Text"),
|
|
7381
7388
|
getSelectField("orientation", "Orientation Type"),
|
|
7382
|
-
emptyBox,
|
|
7389
|
+
emptyBox$1("Stepper", { xs: 6, sm: 6, md: 4, lg: 4 }),
|
|
7383
7390
|
getArrayControl("sectionLabels", "label")
|
|
7384
7391
|
];
|
|
7385
7392
|
break;
|
|
@@ -7387,22 +7394,23 @@ const buildPropertiesSection = function(type) {
|
|
|
7387
7394
|
uiSchema.elements = [
|
|
7388
7395
|
getRadioInputField("fullScreen", "FullScreen", ["YES", "NO"]),
|
|
7389
7396
|
getRadioInputField("fullWidth", "FullWidth", ["YES", "NO"]),
|
|
7390
|
-
getInputField("maxWidth", "Max. Width")
|
|
7397
|
+
getInputField("maxWidth", "Max. Width"),
|
|
7398
|
+
emptyBox$1("PopUpEmpty", { xs: 6, sm: 6, md: 0, lg: 0 })
|
|
7391
7399
|
];
|
|
7392
7400
|
break;
|
|
7393
7401
|
case "Text":
|
|
7394
7402
|
uiSchema.elements = [
|
|
7395
7403
|
getInputField("placeholder", "Placeholder"),
|
|
7396
|
-
emptyBox,
|
|
7397
|
-
emptyBox,
|
|
7404
|
+
emptyBox$1("TextEmpty1", { xs: 6, sm: 6, md: 4, lg: 4 }),
|
|
7405
|
+
emptyBox$1("TextEmpty1", { xs: 0, sm: 0, md: 4, lg: 4 }),
|
|
7398
7406
|
getArrayControl("InputFormatingAndMasking", "formatElement", "Format Element")
|
|
7399
7407
|
];
|
|
7400
7408
|
break;
|
|
7401
7409
|
case "TextArea":
|
|
7402
7410
|
uiSchema.elements = [
|
|
7403
7411
|
getInputField("placeholder", "Placeholder"),
|
|
7404
|
-
emptyBox,
|
|
7405
|
-
emptyBox
|
|
7412
|
+
emptyBox$1("TextAreaEmpty1", { xs: 6, sm: 6, md: 4, lg: 4 }),
|
|
7413
|
+
emptyBox$1("TextAreaEmpty2", { xs: 0, sm: 0, md: 4, lg: 4 })
|
|
7406
7414
|
];
|
|
7407
7415
|
break;
|
|
7408
7416
|
case "SpeedoMeter":
|
|
@@ -7412,7 +7420,7 @@ const buildPropertiesSection = function(type) {
|
|
|
7412
7420
|
getInputField("heading", "Container Heading"),
|
|
7413
7421
|
getInputField("speedoCaption", "Speedometer Caption"),
|
|
7414
7422
|
getInputField("width", "Speedometer Width"),
|
|
7415
|
-
emptyBox
|
|
7423
|
+
emptyBox$1("SpeedoMeterEmpty1", { xs: 6, sm: 6, md: 4, lg: 4 })
|
|
7416
7424
|
];
|
|
7417
7425
|
break;
|
|
7418
7426
|
case "RankCard":
|
|
@@ -7421,8 +7429,8 @@ const buildPropertiesSection = function(type) {
|
|
|
7421
7429
|
getInputField("image", "Image Url"),
|
|
7422
7430
|
getInputField("title", "Card Title"),
|
|
7423
7431
|
getInputField("description", "Card Description"),
|
|
7424
|
-
emptyBox,
|
|
7425
|
-
emptyBox
|
|
7432
|
+
emptyBox$1("RankCardEmpty1"),
|
|
7433
|
+
emptyBox$1("RankCardEmpty2")
|
|
7426
7434
|
];
|
|
7427
7435
|
break;
|
|
7428
7436
|
case "LeaderBoard":
|
|
@@ -7431,8 +7439,8 @@ const buildPropertiesSection = function(type) {
|
|
|
7431
7439
|
getInputField("firstImage", "First Image url"),
|
|
7432
7440
|
getInputField("secondImage", "Second Image url"),
|
|
7433
7441
|
getInputField("thirdImage", "Third Image url"),
|
|
7434
|
-
emptyBox,
|
|
7435
|
-
emptyBox,
|
|
7442
|
+
emptyBox$1("LeaderBoardEmpty1"),
|
|
7443
|
+
emptyBox$1("LeaderBoardEmpty2"),
|
|
7436
7444
|
getTextArea("functionCode", "Write Compare Code", false)
|
|
7437
7445
|
];
|
|
7438
7446
|
break;
|
|
@@ -7449,8 +7457,8 @@ const buildPropertiesSection = function(type) {
|
|
|
7449
7457
|
getInputField("bottomLabel_1", "First BottomLabel"),
|
|
7450
7458
|
getInputField("bottomLabel_2", "Second BottomLabel"),
|
|
7451
7459
|
getInputField("bottomLabel_3", "Third BottomLabel"),
|
|
7452
|
-
emptyBox,
|
|
7453
|
-
emptyBox
|
|
7460
|
+
emptyBox$1("ProgressBarCardEmpty1"),
|
|
7461
|
+
emptyBox$1("ProgressBarCardEmpty2")
|
|
7454
7462
|
];
|
|
7455
7463
|
break;
|
|
7456
7464
|
case "card":
|
|
@@ -7458,7 +7466,7 @@ const buildPropertiesSection = function(type) {
|
|
|
7458
7466
|
getInputField("url", "Image Url"),
|
|
7459
7467
|
getInputField("label", "Label"),
|
|
7460
7468
|
getInputField("description", "Description"),
|
|
7461
|
-
emptyBox
|
|
7469
|
+
emptyBox$1("cardEmpty", { xs: 6, sm: 6, md: 0, lg: 0 })
|
|
7462
7470
|
];
|
|
7463
7471
|
break;
|
|
7464
7472
|
case "Button":
|
|
@@ -7468,7 +7476,7 @@ const buildPropertiesSection = function(type) {
|
|
|
7468
7476
|
getSelectField("color", "Color"),
|
|
7469
7477
|
getInputField("tooltipMessage", "Tooltip Message"),
|
|
7470
7478
|
getSelectField("defaultStyle", "Default Style"),
|
|
7471
|
-
emptyBox
|
|
7479
|
+
emptyBox$1("ButtonEmpty1", { xs: 6, sm: 6, md: 4, lg: 4 })
|
|
7472
7480
|
];
|
|
7473
7481
|
break;
|
|
7474
7482
|
case "Graph":
|
|
@@ -7478,10 +7486,11 @@ const buildPropertiesSection = function(type) {
|
|
|
7478
7486
|
getSelectField("graphType", "Graph Type"),
|
|
7479
7487
|
getInputField("leftLabel", "Left Label"),
|
|
7480
7488
|
getInputField("bottomLabel", "Bottom Label"),
|
|
7489
|
+
emptyBox$1("GraphEmpty1", { xs: 6, sm: 0, md: 0, lg: 0 }),
|
|
7481
7490
|
getRadioInputField("legendHide", "Legend Hide", ["YES", "No"]),
|
|
7482
7491
|
getInputField("yAxisValue", "Y-AxisValue"),
|
|
7483
7492
|
getInputField("xAxisValue", "X-AxisValue"),
|
|
7484
|
-
emptyBox,
|
|
7493
|
+
emptyBox$1("GraphEmpty2"),
|
|
7485
7494
|
getArrayControl("legendLabels", "label"),
|
|
7486
7495
|
getArrayControl("pieArcColors", "color")
|
|
7487
7496
|
];
|
|
@@ -7492,15 +7501,15 @@ const buildPropertiesSection = function(type) {
|
|
|
7492
7501
|
getRadioInputField("isAccordion", "Accordion", ["YES", "No"]),
|
|
7493
7502
|
getRadioInputField("defaultStyle", "Default Style", ["YES", "No"]),
|
|
7494
7503
|
getInputField("rowSpacing", "Row Spacing"),
|
|
7495
|
-
emptyBox,
|
|
7496
|
-
emptyBox
|
|
7504
|
+
emptyBox$1("WrapperSectionEmpty1", { xs: 6, sm: 0, md: 4, lg: 4 }),
|
|
7505
|
+
emptyBox$1("WrapperSectionEmpty2")
|
|
7497
7506
|
];
|
|
7498
7507
|
break;
|
|
7499
7508
|
case "TabSection":
|
|
7500
7509
|
uiSchema.elements = [
|
|
7501
7510
|
getRadioInputField("verticalOrientation", "Vertical Orientation", ["YES", "NO"]),
|
|
7502
7511
|
getRadioInputField("lazyLoad", "Lazy Load", ["YES", "NO"]),
|
|
7503
|
-
emptyBox,
|
|
7512
|
+
emptyBox$1("TabEmpty"),
|
|
7504
7513
|
getArrayControl("sectionLabels", "label")
|
|
7505
7514
|
];
|
|
7506
7515
|
break;
|
|
@@ -7515,14 +7524,14 @@ const buildPropertiesSection = function(type) {
|
|
|
7515
7524
|
getRadioInputField("disableFilters", "Disable Filter", ["YES", "NO"]),
|
|
7516
7525
|
getRadioInputField("disableSorting", "Disable Sorting", ["YES", "NO"]),
|
|
7517
7526
|
getInputField("selectKey", "Selection Key"),
|
|
7518
|
-
emptyBox,
|
|
7527
|
+
emptyBox$1("LazyLoadingTableEmpty1", { xs: 6, sm: 0, md: 4, lg: 4 }),
|
|
7519
7528
|
buildWrapper("Tree Table Properties", [
|
|
7520
7529
|
getRadioInputField("enableRowMovement", "Row Rearrangement", ["YES", "NO"]),
|
|
7521
7530
|
getRadioInputField("enableExpanding", "Row Expanding", ["YES", "NO"]),
|
|
7522
7531
|
getRadioInputField("paginateExpandedRows", "Multi Page Expansion", ["YES", "NO"]),
|
|
7523
7532
|
getRadioInputField("treeStructure", "Flat Tree Structure", ["YES", "NO"]),
|
|
7524
|
-
emptyBox,
|
|
7525
|
-
emptyBox
|
|
7533
|
+
emptyBox$1("LazyLoadingTableEmpty2"),
|
|
7534
|
+
emptyBox$1("LazyLoadingTableEmpty3")
|
|
7526
7535
|
]),
|
|
7527
7536
|
getArrayControl("Table_Download_Keys_Name", "KeyName", "Table Key Name"),
|
|
7528
7537
|
sizeHolder
|
|
@@ -7537,14 +7546,14 @@ const buildPropertiesSection = function(type) {
|
|
|
7537
7546
|
uiSchema.elements = [
|
|
7538
7547
|
getRadioInputField("lazyLoading", "Lazy Loading", ["YES", "NO"]),
|
|
7539
7548
|
getRadioInputField("freeSolo", "FreeSolo", ["YES", "NO"]),
|
|
7540
|
-
emptyBox
|
|
7549
|
+
emptyBox$1("SelectEmpty")
|
|
7541
7550
|
];
|
|
7542
7551
|
break;
|
|
7543
7552
|
case "MultipleSelect":
|
|
7544
7553
|
uiSchema.elements = [
|
|
7545
7554
|
getRadioInputField("lazyLoading", "Lazy Loading", ["YES", "NO"]),
|
|
7546
|
-
emptyBox,
|
|
7547
|
-
emptyBox
|
|
7555
|
+
emptyBox$1("MultipleSelectEmpty1", { xs: 0, sm: 6, md: 4, lg: 4 }),
|
|
7556
|
+
emptyBox$1("MultipleSelectEmpty2")
|
|
7548
7557
|
];
|
|
7549
7558
|
break;
|
|
7550
7559
|
}
|
|
@@ -7704,7 +7713,7 @@ const ValueTab = {
|
|
|
7704
7713
|
widget: "InputField"
|
|
7705
7714
|
},
|
|
7706
7715
|
config: {
|
|
7707
|
-
layout: { xs:
|
|
7716
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
7708
7717
|
main: {
|
|
7709
7718
|
label: "Label"
|
|
7710
7719
|
}
|
|
@@ -7717,7 +7726,7 @@ const ValueTab = {
|
|
|
7717
7726
|
widget: "InputField"
|
|
7718
7727
|
},
|
|
7719
7728
|
config: {
|
|
7720
|
-
layout: { xs:
|
|
7729
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
7721
7730
|
main: {
|
|
7722
7731
|
label: "Value"
|
|
7723
7732
|
}
|
|
@@ -7730,7 +7739,7 @@ const ValueTab = {
|
|
|
7730
7739
|
widget: "EmptyBox"
|
|
7731
7740
|
},
|
|
7732
7741
|
config: {
|
|
7733
|
-
layout: { xs: 0, sm:
|
|
7742
|
+
layout: { xs: 0, sm: 0, md: 4, lg: 4 }
|
|
7734
7743
|
}
|
|
7735
7744
|
}
|
|
7736
7745
|
]
|
|
@@ -7758,7 +7767,7 @@ const ValidationSection = {
|
|
|
7758
7767
|
widget: "SelectInputField"
|
|
7759
7768
|
},
|
|
7760
7769
|
config: {
|
|
7761
|
-
layout: { xs:
|
|
7770
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
7762
7771
|
main: {
|
|
7763
7772
|
label: "Validation Type"
|
|
7764
7773
|
}
|
|
@@ -7771,7 +7780,7 @@ const ValidationSection = {
|
|
|
7771
7780
|
widget: "InputField"
|
|
7772
7781
|
},
|
|
7773
7782
|
config: {
|
|
7774
|
-
layout: { xs:
|
|
7783
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
7775
7784
|
main: {
|
|
7776
7785
|
label: "Validation Value"
|
|
7777
7786
|
}
|
|
@@ -7784,7 +7793,7 @@ const ValidationSection = {
|
|
|
7784
7793
|
widget: "EmptyBox"
|
|
7785
7794
|
},
|
|
7786
7795
|
config: {
|
|
7787
|
-
layout: { xs: 0, sm: 4 }
|
|
7796
|
+
layout: { xs: 0, sm: 0, md: 4 }
|
|
7788
7797
|
}
|
|
7789
7798
|
}
|
|
7790
7799
|
]
|
|
@@ -8330,7 +8339,7 @@ const EventUiSchema = (theme) => {
|
|
|
8330
8339
|
widget: "SelectInputField"
|
|
8331
8340
|
},
|
|
8332
8341
|
config: {
|
|
8333
|
-
layout: { xs:
|
|
8342
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
8334
8343
|
main: {
|
|
8335
8344
|
label: "Event Type",
|
|
8336
8345
|
type: "text"
|
|
@@ -8450,17 +8459,7 @@ const EventUiSchema = (theme) => {
|
|
|
8450
8459
|
widget: "EmptyBox"
|
|
8451
8460
|
},
|
|
8452
8461
|
config: {
|
|
8453
|
-
layout: { xs:
|
|
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 }
|
|
8462
|
+
layout: { xs: 4, sm: 8 }
|
|
8464
8463
|
}
|
|
8465
8464
|
},
|
|
8466
8465
|
{
|
|
@@ -8470,7 +8469,7 @@ const EventUiSchema = (theme) => {
|
|
|
8470
8469
|
widget: "Button"
|
|
8471
8470
|
},
|
|
8472
8471
|
config: {
|
|
8473
|
-
layout:
|
|
8472
|
+
layout: { xs: 4, sm: 2 },
|
|
8474
8473
|
main: {
|
|
8475
8474
|
name: "Ok",
|
|
8476
8475
|
startIcon: "ApproveIcon",
|
|
@@ -8491,7 +8490,7 @@ const EventUiSchema = (theme) => {
|
|
|
8491
8490
|
widget: "Button"
|
|
8492
8491
|
},
|
|
8493
8492
|
config: {
|
|
8494
|
-
layout:
|
|
8493
|
+
layout: { xs: 4, sm: 2 },
|
|
8495
8494
|
main: {
|
|
8496
8495
|
name: "Save & Exit",
|
|
8497
8496
|
startIcon: "ApproveIcon",
|
|
@@ -8667,7 +8666,7 @@ const EventUiSchema = (theme) => {
|
|
|
8667
8666
|
height: 0,
|
|
8668
8667
|
margin: 0,
|
|
8669
8668
|
top: 0,
|
|
8670
|
-
right: "
|
|
8669
|
+
right: { xs: "12px", sm: "84px" },
|
|
8671
8670
|
position: "absolute",
|
|
8672
8671
|
fontSize: "12px",
|
|
8673
8672
|
cursor: "pointer",
|
|
@@ -8689,6 +8688,7 @@ const EventUiSchema = (theme) => {
|
|
|
8689
8688
|
onClick: "backHandler"
|
|
8690
8689
|
},
|
|
8691
8690
|
style: {
|
|
8691
|
+
display: { xs: "none", sm: "flex" },
|
|
8692
8692
|
textAlign: "left",
|
|
8693
8693
|
lineHeight: 1,
|
|
8694
8694
|
height: 0,
|
|
@@ -8723,7 +8723,7 @@ const APISection = {
|
|
|
8723
8723
|
widget: "SelectInputField"
|
|
8724
8724
|
},
|
|
8725
8725
|
config: {
|
|
8726
|
-
layout: { xs:
|
|
8726
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
8727
8727
|
main: {
|
|
8728
8728
|
label: "Method",
|
|
8729
8729
|
type: "text"
|
|
@@ -8737,7 +8737,7 @@ const APISection = {
|
|
|
8737
8737
|
widget: "InputField"
|
|
8738
8738
|
},
|
|
8739
8739
|
config: {
|
|
8740
|
-
layout: { xs:
|
|
8740
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
8741
8741
|
main: {
|
|
8742
8742
|
label: "Path",
|
|
8743
8743
|
type: "text",
|
|
@@ -8753,7 +8753,7 @@ const APISection = {
|
|
|
8753
8753
|
widget: "EmptyBox"
|
|
8754
8754
|
},
|
|
8755
8755
|
config: {
|
|
8756
|
-
layout: { xs: 0, sm:
|
|
8756
|
+
layout: { xs: 0, sm: 0, md: 4, lg: 4 }
|
|
8757
8757
|
}
|
|
8758
8758
|
},
|
|
8759
8759
|
{
|
|
@@ -8763,7 +8763,7 @@ const APISection = {
|
|
|
8763
8763
|
widget: "EmptyBox"
|
|
8764
8764
|
},
|
|
8765
8765
|
config: {
|
|
8766
|
-
layout: { xs: 0, sm:
|
|
8766
|
+
layout: { xs: 0, sm: 0, md: 4, lg: 4 }
|
|
8767
8767
|
}
|
|
8768
8768
|
},
|
|
8769
8769
|
{
|
|
@@ -8782,7 +8782,7 @@ const APISection = {
|
|
|
8782
8782
|
widget: "InputField"
|
|
8783
8783
|
},
|
|
8784
8784
|
config: {
|
|
8785
|
-
layout: { xs:
|
|
8785
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
8786
8786
|
main: {
|
|
8787
8787
|
label: "Key"
|
|
8788
8788
|
}
|
|
@@ -8795,7 +8795,7 @@ const APISection = {
|
|
|
8795
8795
|
widget: "InputField"
|
|
8796
8796
|
},
|
|
8797
8797
|
config: {
|
|
8798
|
-
layout: { xs:
|
|
8798
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
8799
8799
|
main: {
|
|
8800
8800
|
label: "Value"
|
|
8801
8801
|
}
|
|
@@ -8808,7 +8808,7 @@ const APISection = {
|
|
|
8808
8808
|
widget: "EmptyBox"
|
|
8809
8809
|
},
|
|
8810
8810
|
config: {
|
|
8811
|
-
layout: { xs: 0, sm:
|
|
8811
|
+
layout: { xs: 0, sm: 0, md: 4, lg: 4 }
|
|
8812
8812
|
}
|
|
8813
8813
|
}
|
|
8814
8814
|
]
|
|
@@ -8831,7 +8831,7 @@ const APISection = {
|
|
|
8831
8831
|
widget: "InputField"
|
|
8832
8832
|
},
|
|
8833
8833
|
config: {
|
|
8834
|
-
layout: { xs:
|
|
8834
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
8835
8835
|
main: {
|
|
8836
8836
|
label: "Key"
|
|
8837
8837
|
}
|
|
@@ -8844,7 +8844,7 @@ const APISection = {
|
|
|
8844
8844
|
widget: "InputField"
|
|
8845
8845
|
},
|
|
8846
8846
|
config: {
|
|
8847
|
-
layout: { xs:
|
|
8847
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
8848
8848
|
main: {
|
|
8849
8849
|
label: "Value"
|
|
8850
8850
|
}
|
|
@@ -8857,7 +8857,7 @@ const APISection = {
|
|
|
8857
8857
|
widget: "EmptyBox"
|
|
8858
8858
|
},
|
|
8859
8859
|
config: {
|
|
8860
|
-
layout: { xs: 0, sm:
|
|
8860
|
+
layout: { xs: 0, sm: 0, md: 4, lg: 4 }
|
|
8861
8861
|
}
|
|
8862
8862
|
}
|
|
8863
8863
|
]
|
|
@@ -8885,7 +8885,7 @@ const refreshSectionUiSchema = {
|
|
|
8885
8885
|
widget: "InputField"
|
|
8886
8886
|
},
|
|
8887
8887
|
config: {
|
|
8888
|
-
layout: { xs:
|
|
8888
|
+
layout: { xs: 12, sm: 6, md: 4, lg: 4 },
|
|
8889
8889
|
main: {
|
|
8890
8890
|
label: "Value"
|
|
8891
8891
|
}
|
|
@@ -8898,7 +8898,7 @@ const refreshSectionUiSchema = {
|
|
|
8898
8898
|
widget: "EmptyBox"
|
|
8899
8899
|
},
|
|
8900
8900
|
config: {
|
|
8901
|
-
layout: { xs: 0, sm:
|
|
8901
|
+
layout: { xs: 0, sm: 6, md: 4, lg: 4 },
|
|
8902
8902
|
main: {}
|
|
8903
8903
|
}
|
|
8904
8904
|
},
|
|
@@ -8909,7 +8909,7 @@ const refreshSectionUiSchema = {
|
|
|
8909
8909
|
widget: "EmptyBox"
|
|
8910
8910
|
},
|
|
8911
8911
|
config: {
|
|
8912
|
-
layout: { xs: 0, sm:
|
|
8912
|
+
layout: { xs: 0, sm: 0, md: 4, lg: 4 },
|
|
8913
8913
|
main: {}
|
|
8914
8914
|
}
|
|
8915
8915
|
}
|
|
@@ -8919,6 +8919,18 @@ const refreshSectionUiSchema = {
|
|
|
8919
8919
|
}
|
|
8920
8920
|
]
|
|
8921
8921
|
};
|
|
8922
|
+
var emptyBox = {
|
|
8923
|
+
type: "Control",
|
|
8924
|
+
scope: "#/properties/emptyBox",
|
|
8925
|
+
options: {
|
|
8926
|
+
widget: "EmptyBox"
|
|
8927
|
+
},
|
|
8928
|
+
config: {
|
|
8929
|
+
layout: { xs: 0, sm: 4, md: 4, lg: 4 },
|
|
8930
|
+
main: {},
|
|
8931
|
+
style: {}
|
|
8932
|
+
}
|
|
8933
|
+
};
|
|
8922
8934
|
var event = (store2, dynamicData2, submitHandler, service2, functionsName) => {
|
|
8923
8935
|
return {
|
|
8924
8936
|
setPage: async function() {
|
|
@@ -8934,7 +8946,19 @@ var event = (store2, dynamicData2, submitHandler, service2, functionsName) => {
|
|
|
8934
8946
|
if (handlerType) {
|
|
8935
8947
|
if (handlerType === "custom") {
|
|
8936
8948
|
uiSchema.elements[1].elements[0].elements[2] = getRadioInputField("isSync", "Run in Sync", ["Yes", "No"]);
|
|
8937
|
-
uiSchema.elements[1].elements[0].elements[3] =
|
|
8949
|
+
uiSchema.elements[1].elements[0].elements[3] = {
|
|
8950
|
+
type: "Control",
|
|
8951
|
+
scope: "#/properties/emptyBox",
|
|
8952
|
+
options: {
|
|
8953
|
+
widget: "EmptyBox"
|
|
8954
|
+
},
|
|
8955
|
+
config: {
|
|
8956
|
+
layout: { xs: 0, sm: 6, md: 0, lg: 0 },
|
|
8957
|
+
main: {},
|
|
8958
|
+
style: {}
|
|
8959
|
+
}
|
|
8960
|
+
};
|
|
8961
|
+
uiSchema.elements[1].elements[0].elements[4] = getTextArea("eventCode", "Write Custom Code", false);
|
|
8938
8962
|
schema2.required = ["eventType", "Handler", "eventCode"];
|
|
8939
8963
|
} else if (handlerType === "api") {
|
|
8940
8964
|
uiSchema.elements[1].elements[0].elements[2] = emptyBox;
|
|
@@ -8942,7 +8966,19 @@ var event = (store2, dynamicData2, submitHandler, service2, functionsName) => {
|
|
|
8942
8966
|
schema2.required = ["eventType", "Handler", "method", "path"];
|
|
8943
8967
|
} else if (handlerType === "inBuiltFunction") {
|
|
8944
8968
|
uiSchema.elements[1].elements[0].elements[2] = getSelectField("inBuiltFunctionType", "Function Name");
|
|
8945
|
-
uiSchema.elements[1].elements[0].elements[3] =
|
|
8969
|
+
uiSchema.elements[1].elements[0].elements[3] = {
|
|
8970
|
+
type: "Control",
|
|
8971
|
+
scope: "#/properties/emptyBox",
|
|
8972
|
+
options: {
|
|
8973
|
+
widget: "EmptyBox"
|
|
8974
|
+
},
|
|
8975
|
+
config: {
|
|
8976
|
+
layout: { xs: 6, sm: 6, md: 0, lg: 0 },
|
|
8977
|
+
main: {},
|
|
8978
|
+
style: {}
|
|
8979
|
+
}
|
|
8980
|
+
};
|
|
8981
|
+
uiSchema.elements[1].elements[0].elements[4] = getTextArea("funcParametersCode", "Write Custom Code for Functions Parameter", true);
|
|
8946
8982
|
schema2.required = ["eventType", "Handler", "inBuiltFunctionType"];
|
|
8947
8983
|
} else if (handlerType === "refresh") {
|
|
8948
8984
|
uiSchema.elements[1].elements[0].elements[2] = emptyBox;
|
|
@@ -9459,7 +9495,7 @@ var service = (funcParams) => {
|
|
|
9459
9495
|
height: 0,
|
|
9460
9496
|
margin: 0,
|
|
9461
9497
|
top: 0,
|
|
9462
|
-
right: "
|
|
9498
|
+
right: { xs: "12px", sm: "84px" },
|
|
9463
9499
|
position: "absolute",
|
|
9464
9500
|
fontSize: "12px",
|
|
9465
9501
|
cursor: "pointer",
|
|
@@ -9481,6 +9517,7 @@ var service = (funcParams) => {
|
|
|
9481
9517
|
onClick: "backHandler"
|
|
9482
9518
|
},
|
|
9483
9519
|
style: {
|
|
9520
|
+
display: { xs: "none", sm: "flex" },
|
|
9484
9521
|
textAlign: "left",
|
|
9485
9522
|
lineHeight: 1,
|
|
9486
9523
|
height: 0,
|
|
@@ -10107,7 +10144,7 @@ const buildProgressBar = (config, componentScope) => {
|
|
|
10107
10144
|
if (config.layout) {
|
|
10108
10145
|
ProgressBar.config.layout = config.layout;
|
|
10109
10146
|
}
|
|
10110
|
-
ProgressBar.config.main.heading = config.
|
|
10147
|
+
ProgressBar.config.main.heading = config.label;
|
|
10111
10148
|
if (config.bottomLabel_3) {
|
|
10112
10149
|
ProgressBar.config.main.bottomLabel_3 = config.bottomLabel_3;
|
|
10113
10150
|
}
|
|
@@ -10168,7 +10205,6 @@ const LineGraph = {
|
|
|
10168
10205
|
hideBottomAxisLine: false,
|
|
10169
10206
|
legend: {
|
|
10170
10207
|
labelColor: "green",
|
|
10171
|
-
legendTitle: "Our Assests",
|
|
10172
10208
|
direction: "row",
|
|
10173
10209
|
align: "right",
|
|
10174
10210
|
colorRectWidth: 20
|
|
@@ -10201,11 +10237,15 @@ const buildHorizontalBarGraph = (config, componentScope) => {
|
|
|
10201
10237
|
if (config.layout) {
|
|
10202
10238
|
horizontalBarGraph.config.layout = createLayoutFormat(config.layout);
|
|
10203
10239
|
}
|
|
10240
|
+
horizontalBarGraph.config.main.type = config.graphType;
|
|
10204
10241
|
horizontalBarGraph.scope = componentScope;
|
|
10205
10242
|
horizontalBarGraph.config.main.header = config.heading;
|
|
10206
10243
|
if (config.barColor) {
|
|
10207
10244
|
horizontalBarGraph.config.barStyle.color = config.barColor;
|
|
10208
10245
|
}
|
|
10246
|
+
if (config.xAxisValue) {
|
|
10247
|
+
horizontalBarGraph.config.main.xAxisValue = config.xAxisValue;
|
|
10248
|
+
}
|
|
10209
10249
|
if (config.containerBackground) {
|
|
10210
10250
|
horizontalBarGraph.config.containerStyle.background = config.containerBackground;
|
|
10211
10251
|
}
|
|
@@ -10337,6 +10377,9 @@ const buildPieGraph = (config, componentScope) => {
|
|
|
10337
10377
|
if (config.legendLabels) {
|
|
10338
10378
|
pieGraph.config.main.tooltipDataKey = flatObjectValueInArray(config.legendLabels);
|
|
10339
10379
|
}
|
|
10380
|
+
if (config.xAxisValue) {
|
|
10381
|
+
pieGraph.config.main.xAxisValue = config.xAxisValue;
|
|
10382
|
+
}
|
|
10340
10383
|
if (config.pieArcColors) {
|
|
10341
10384
|
pieGraph.config.style = {
|
|
10342
10385
|
pieStyle: {
|
|
@@ -10359,6 +10402,9 @@ const buildStackbarGraph = (config, componentScope) => {
|
|
|
10359
10402
|
if (config.barColor) {
|
|
10360
10403
|
barGraph.config.barStyle.color = config.barColor;
|
|
10361
10404
|
}
|
|
10405
|
+
if (config.xAxisValue) {
|
|
10406
|
+
barGraph.config.main.xAxisValue = config.xAxisValue;
|
|
10407
|
+
}
|
|
10362
10408
|
if (config.height) {
|
|
10363
10409
|
barGraph.config.style.containerStyle.height = config.height;
|
|
10364
10410
|
}
|
|
@@ -10452,7 +10498,7 @@ var TextInputField = {
|
|
|
10452
10498
|
widget: "InputField"
|
|
10453
10499
|
},
|
|
10454
10500
|
config: {
|
|
10455
|
-
layout: { xs:
|
|
10501
|
+
layout: { xs: 12, sm: 6, md: 4, lg: 4 },
|
|
10456
10502
|
main: {
|
|
10457
10503
|
label: ""
|
|
10458
10504
|
},
|
|
@@ -10485,7 +10531,7 @@ var SelectInputField = {
|
|
|
10485
10531
|
widget: "SelectInputField"
|
|
10486
10532
|
},
|
|
10487
10533
|
config: {
|
|
10488
|
-
layout: { xs:
|
|
10534
|
+
layout: { xs: 12, sm: 6, md: 4, lg: 4 },
|
|
10489
10535
|
main: {
|
|
10490
10536
|
label: "",
|
|
10491
10537
|
type: "text",
|
|
@@ -10640,6 +10686,9 @@ const buildTable = (config, componentScope) => {
|
|
|
10640
10686
|
if (config.disableFilters) {
|
|
10641
10687
|
table.config.main.disableFilters = config.disableFilters === "YES" ? true : false;
|
|
10642
10688
|
}
|
|
10689
|
+
if (config.disableSorting) {
|
|
10690
|
+
table.config.main.disableSorting = config.disableSorting === "YES" ? true : false;
|
|
10691
|
+
}
|
|
10643
10692
|
if (config.Table_Download_Keys_Name) {
|
|
10644
10693
|
table.config.main.TableDownloadKeysName = config.Table_Download_Keys_Name.map((e) => e.KeyName);
|
|
10645
10694
|
}
|
|
@@ -10712,7 +10761,7 @@ const uploadFile = {
|
|
|
10712
10761
|
"style": {
|
|
10713
10762
|
"backgroundColor": "none"
|
|
10714
10763
|
},
|
|
10715
|
-
layout: { xs:
|
|
10764
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 4 }
|
|
10716
10765
|
},
|
|
10717
10766
|
"options": {
|
|
10718
10767
|
"widget": "UploadFile"
|
|
@@ -10729,7 +10778,7 @@ const downloadFile = {
|
|
|
10729
10778
|
"style": {
|
|
10730
10779
|
"backgroundColor": "none"
|
|
10731
10780
|
},
|
|
10732
|
-
layout: { xs:
|
|
10781
|
+
layout: { xs: 12, sm: 6, md: 4, lg: 4 }
|
|
10733
10782
|
},
|
|
10734
10783
|
"options": {
|
|
10735
10784
|
"widget": "DownloadFile"
|
|
@@ -10774,121 +10823,158 @@ const buildDownloadFile = (config, componentScope) => {
|
|
|
10774
10823
|
}
|
|
10775
10824
|
return DownloadFile;
|
|
10776
10825
|
};
|
|
10777
|
-
|
|
10778
|
-
|
|
10779
|
-
|
|
10780
|
-
|
|
10781
|
-
|
|
10782
|
-
|
|
10783
|
-
|
|
10784
|
-
|
|
10785
|
-
|
|
10786
|
-
|
|
10787
|
-
|
|
10788
|
-
|
|
10789
|
-
|
|
10790
|
-
|
|
10791
|
-
|
|
10792
|
-
|
|
10793
|
-
|
|
10794
|
-
|
|
10795
|
-
|
|
10796
|
-
|
|
10797
|
-
|
|
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
|
|
10826
|
+
function Card(theme) {
|
|
10827
|
+
const uiSchema = {
|
|
10828
|
+
type: "WrapperLayout",
|
|
10829
|
+
config: {
|
|
10830
|
+
main: {},
|
|
10831
|
+
wrapperStyle: {},
|
|
10832
|
+
componentsBoxStyle: {
|
|
10833
|
+
flexDirection: "row",
|
|
10834
|
+
flexWrap: "nowrap",
|
|
10835
|
+
width: "100%",
|
|
10836
|
+
background: "transparent",
|
|
10837
|
+
border: `1.5px solid ${theme.palette.primary.main}`,
|
|
10838
|
+
borderRadius: "20px",
|
|
10839
|
+
padding: "0px 20px 0px 20px",
|
|
10840
|
+
"&: hover": {
|
|
10841
|
+
background: `${theme.palette.primary.main}`,
|
|
10842
|
+
border: `1.5px solid black`,
|
|
10843
|
+
"& p": {
|
|
10844
|
+
color: "white"
|
|
10845
|
+
}
|
|
10846
|
+
}
|
|
10815
10847
|
},
|
|
10816
|
-
|
|
10817
|
-
widget: "Box"
|
|
10818
|
-
}
|
|
10848
|
+
layout: { xs: 12, sm: 12, md: 6, lg: 6 }
|
|
10819
10849
|
},
|
|
10820
|
-
|
|
10821
|
-
|
|
10822
|
-
|
|
10823
|
-
|
|
10824
|
-
|
|
10825
|
-
url: "https://www.svgrepo.com/show/500606/loading.svg"
|
|
10826
|
-
},
|
|
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"
|
|
10850
|
+
elements: [
|
|
10851
|
+
{
|
|
10852
|
+
type: "HorizontalLayout",
|
|
10853
|
+
config: {
|
|
10854
|
+
layout: 8
|
|
10841
10855
|
},
|
|
10842
|
-
|
|
10856
|
+
elements: [
|
|
10857
|
+
{
|
|
10858
|
+
type: "WrapperLayout",
|
|
10859
|
+
config: {
|
|
10860
|
+
main: {
|
|
10861
|
+
columnSpacing: 0,
|
|
10862
|
+
gap: 0
|
|
10863
|
+
},
|
|
10864
|
+
wrapperStyle: {
|
|
10865
|
+
marginTop: "4px",
|
|
10866
|
+
background: "transparent"
|
|
10867
|
+
},
|
|
10868
|
+
componentsBoxStyle: {
|
|
10869
|
+
flexDirection: "column",
|
|
10870
|
+
flexWrap: "nowrap",
|
|
10871
|
+
width: "100%",
|
|
10872
|
+
height: "inherit",
|
|
10873
|
+
background: "transparent",
|
|
10874
|
+
borderRadius: "0px"
|
|
10875
|
+
},
|
|
10876
|
+
layout: 12
|
|
10877
|
+
},
|
|
10878
|
+
elements: [
|
|
10879
|
+
{
|
|
10880
|
+
type: "Control",
|
|
10881
|
+
scope: "#/properties/programType",
|
|
10882
|
+
config: {
|
|
10883
|
+
main: {
|
|
10884
|
+
heading: "$5000.00"
|
|
10885
|
+
},
|
|
10886
|
+
style: {
|
|
10887
|
+
color: "black",
|
|
10888
|
+
display: "flex",
|
|
10889
|
+
fontSize: { xs: "24px", md: "28px" },
|
|
10890
|
+
fontWeight: "bold",
|
|
10891
|
+
background: "inherit",
|
|
10892
|
+
justifyContent: "flex-start",
|
|
10893
|
+
width: "calc(100%+8px)",
|
|
10894
|
+
margin: "-8px"
|
|
10895
|
+
},
|
|
10896
|
+
layout: 12
|
|
10897
|
+
},
|
|
10898
|
+
options: {
|
|
10899
|
+
widget: "Box"
|
|
10900
|
+
}
|
|
10901
|
+
},
|
|
10902
|
+
{
|
|
10903
|
+
type: "Control",
|
|
10904
|
+
scope: "#/properties/programType",
|
|
10905
|
+
config: {
|
|
10906
|
+
main: {
|
|
10907
|
+
heading: "Total Earnings"
|
|
10908
|
+
},
|
|
10909
|
+
style: {
|
|
10910
|
+
color: "black",
|
|
10911
|
+
fontSize: "16px",
|
|
10912
|
+
justifyContent: "center",
|
|
10913
|
+
textWrap: "wrap",
|
|
10914
|
+
background: "inherit",
|
|
10915
|
+
width: "calc(100%+8pc)",
|
|
10916
|
+
margin: "-8px",
|
|
10917
|
+
lineHeight: "1"
|
|
10918
|
+
},
|
|
10919
|
+
layout: 12
|
|
10920
|
+
},
|
|
10921
|
+
options: {
|
|
10922
|
+
widget: "Box"
|
|
10923
|
+
}
|
|
10924
|
+
}
|
|
10925
|
+
]
|
|
10926
|
+
}
|
|
10927
|
+
]
|
|
10843
10928
|
},
|
|
10844
|
-
|
|
10845
|
-
|
|
10846
|
-
|
|
10847
|
-
|
|
10848
|
-
|
|
10849
|
-
|
|
10850
|
-
|
|
10851
|
-
|
|
10852
|
-
|
|
10853
|
-
|
|
10854
|
-
|
|
10855
|
-
|
|
10856
|
-
|
|
10857
|
-
|
|
10858
|
-
|
|
10859
|
-
|
|
10860
|
-
|
|
10861
|
-
|
|
10862
|
-
|
|
10863
|
-
|
|
10929
|
+
{
|
|
10930
|
+
type: "Control",
|
|
10931
|
+
scope: "#/properties/programType",
|
|
10932
|
+
config: {
|
|
10933
|
+
main: {
|
|
10934
|
+
url: "https://www.svgrepo.com/show/500606/loading.svg"
|
|
10935
|
+
},
|
|
10936
|
+
style: {
|
|
10937
|
+
containerStyle: {
|
|
10938
|
+
height: "100%",
|
|
10939
|
+
display: "flex",
|
|
10940
|
+
justifyContent: "center"
|
|
10941
|
+
},
|
|
10942
|
+
imageStyle: {
|
|
10943
|
+
height: "100%",
|
|
10944
|
+
fontSize: "none",
|
|
10945
|
+
padding: "4px",
|
|
10946
|
+
marginLeft: "8px"
|
|
10947
|
+
}
|
|
10948
|
+
},
|
|
10949
|
+
layout: 4
|
|
10864
10950
|
},
|
|
10865
|
-
|
|
10866
|
-
|
|
10867
|
-
|
|
10868
|
-
widget: "Box"
|
|
10951
|
+
options: {
|
|
10952
|
+
widget: "Image"
|
|
10953
|
+
}
|
|
10869
10954
|
}
|
|
10870
|
-
|
|
10871
|
-
|
|
10872
|
-
|
|
10873
|
-
|
|
10874
|
-
|
|
10955
|
+
]
|
|
10956
|
+
};
|
|
10957
|
+
return uiSchema;
|
|
10958
|
+
}
|
|
10959
|
+
const buildCard = (config, componentScope, store2) => {
|
|
10960
|
+
const card = _.cloneDeep(Card(store2.theme.myTheme));
|
|
10875
10961
|
if (config.style) {
|
|
10876
10962
|
card.config.style = JSON.parse(config.style);
|
|
10877
10963
|
}
|
|
10878
|
-
card.elements[0].scope = `#/properties/${config.name}/properties/value`;
|
|
10964
|
+
card.elements[0].elements[0].elements[0].scope = `#/properties/${config.name}/properties/value`;
|
|
10879
10965
|
card.elements[1].scope = `#/properties/${config.name}/properties/url`;
|
|
10880
|
-
card.elements[
|
|
10966
|
+
card.elements[0].elements[0].elements[1].scope = `#/properties/${config.name}/properties/description`;
|
|
10881
10967
|
if (config.layout) {
|
|
10882
10968
|
card.config.layout = createLayoutFormat(config.layout);
|
|
10883
10969
|
}
|
|
10884
10970
|
if (config.label) {
|
|
10885
|
-
card.elements[0].config.main.heading = config.label;
|
|
10971
|
+
card.elements[0].elements[0].elements[0].config.main.heading = config.label;
|
|
10886
10972
|
}
|
|
10887
10973
|
if (config.url) {
|
|
10888
10974
|
card.elements[1].config.main.url = config.url;
|
|
10889
10975
|
}
|
|
10890
10976
|
if (config.description) {
|
|
10891
|
-
card.elements[
|
|
10977
|
+
card.elements[0].elements[0].elements[1].config.main.heading = config.description;
|
|
10892
10978
|
}
|
|
10893
10979
|
return card;
|
|
10894
10980
|
};
|
|
@@ -10899,7 +10985,7 @@ var DateInputField = {
|
|
|
10899
10985
|
widget: "DateInputField"
|
|
10900
10986
|
},
|
|
10901
10987
|
config: {
|
|
10902
|
-
layout: { xs:
|
|
10988
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
10903
10989
|
main: {
|
|
10904
10990
|
label: "",
|
|
10905
10991
|
type: "date"
|
|
@@ -10913,7 +10999,7 @@ const DateTime = {
|
|
|
10913
10999
|
widget: "DateTimeInputField"
|
|
10914
11000
|
},
|
|
10915
11001
|
config: {
|
|
10916
|
-
layout: { xs:
|
|
11002
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
10917
11003
|
main: {
|
|
10918
11004
|
label: "DateTime",
|
|
10919
11005
|
type: "date"
|
|
@@ -11040,7 +11126,7 @@ var MultipleSelect = {
|
|
|
11040
11126
|
widget: "MultipleSelect"
|
|
11041
11127
|
},
|
|
11042
11128
|
config: {
|
|
11043
|
-
layout: { xs:
|
|
11129
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
11044
11130
|
main: {
|
|
11045
11131
|
label: "",
|
|
11046
11132
|
type: "text",
|
|
@@ -11206,7 +11292,7 @@ const RadioUiSchema = {
|
|
|
11206
11292
|
widget: "RadioInputField"
|
|
11207
11293
|
},
|
|
11208
11294
|
config: {
|
|
11209
|
-
layout: { xs:
|
|
11295
|
+
layout: { xs: 12, sm: 6, md: 4, lg: 4 },
|
|
11210
11296
|
main: {
|
|
11211
11297
|
label: "Enabled",
|
|
11212
11298
|
options: ["YES", "NO"],
|
|
@@ -11315,7 +11401,7 @@ const FileInput = {
|
|
|
11315
11401
|
widget: "FileInputField"
|
|
11316
11402
|
},
|
|
11317
11403
|
config: {
|
|
11318
|
-
layout: { xs:
|
|
11404
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
11319
11405
|
main: {
|
|
11320
11406
|
required: false,
|
|
11321
11407
|
onUpload: "onFileUpload",
|
|
@@ -11669,7 +11755,7 @@ const buildSchema = (config, tableName, isArrayType) => {
|
|
|
11669
11755
|
}
|
|
11670
11756
|
return schema;
|
|
11671
11757
|
};
|
|
11672
|
-
const buildUiSchema = (config) => {
|
|
11758
|
+
const buildUiSchema = (config, store2) => {
|
|
11673
11759
|
let elements = {};
|
|
11674
11760
|
const componentScope = `#/properties/${config.name}`;
|
|
11675
11761
|
switch (config.type) {
|
|
@@ -11752,7 +11838,7 @@ const buildUiSchema = (config) => {
|
|
|
11752
11838
|
elements = buildEmptyBox(config);
|
|
11753
11839
|
break;
|
|
11754
11840
|
case "card":
|
|
11755
|
-
elements = buildCard(config);
|
|
11841
|
+
elements = buildCard(config, componentScope, store2);
|
|
11756
11842
|
break;
|
|
11757
11843
|
case "Graph":
|
|
11758
11844
|
switch (config.graphType) {
|
|
@@ -11767,6 +11853,7 @@ const buildUiSchema = (config) => {
|
|
|
11767
11853
|
elements = buildPieGraph(config, componentScope);
|
|
11768
11854
|
break;
|
|
11769
11855
|
case "HorizontalBarGraph":
|
|
11856
|
+
case "HorizontalStackBarGraph":
|
|
11770
11857
|
elements = buildHorizontalBarGraph(config, componentScope);
|
|
11771
11858
|
break;
|
|
11772
11859
|
}
|
|
@@ -11829,7 +11916,7 @@ const buildUiSchema = (config) => {
|
|
|
11829
11916
|
header: cellElem.label || cellElem.name,
|
|
11830
11917
|
size: sizeMap[cellElem.name] || 180,
|
|
11831
11918
|
type: cellElem.columnFormat,
|
|
11832
|
-
elements: cellElem.type == "ColumnGroup" ? cellElem.elements.map((childCellElem) => buildUiSchema(childCellElem)) : []
|
|
11919
|
+
elements: cellElem.type == "ColumnGroup" ? cellElem.elements.map((childCellElem) => buildUiSchema(childCellElem, store2)) : []
|
|
11833
11920
|
};
|
|
11834
11921
|
});
|
|
11835
11922
|
} else if (config.type == "Table") {
|
|
@@ -11846,8 +11933,8 @@ const buildUiSchema = (config) => {
|
|
|
11846
11933
|
header: cellElem.label || cellElem.name,
|
|
11847
11934
|
size: sizeMap[cellElem.name] || 180,
|
|
11848
11935
|
type: cellElem.columnFormat,
|
|
11849
|
-
widget: cellElem.type != "ColumnGroup" ? buildUiSchema(cellElem) : void 0,
|
|
11850
|
-
elements: cellElem.type == "ColumnGroup" ? cellElem.elements.map((childCellElem) => buildUiSchema(childCellElem)) : []
|
|
11936
|
+
widget: cellElem.type != "ColumnGroup" ? buildUiSchema(cellElem, store2) : void 0,
|
|
11937
|
+
elements: cellElem.type == "ColumnGroup" ? cellElem.elements.map((childCellElem) => buildUiSchema(childCellElem, store2)) : []
|
|
11851
11938
|
};
|
|
11852
11939
|
} else {
|
|
11853
11940
|
return {
|
|
@@ -11860,11 +11947,11 @@ const buildUiSchema = (config) => {
|
|
|
11860
11947
|
});
|
|
11861
11948
|
} else if (config.type == "Array") {
|
|
11862
11949
|
elements.options.detail.elements = config.elements.map((e, elemInd) => {
|
|
11863
|
-
return buildUiSchema(e);
|
|
11950
|
+
return buildUiSchema(e, store2);
|
|
11864
11951
|
});
|
|
11865
11952
|
} else {
|
|
11866
11953
|
elements.elements = config.elements.map((e, elemInd) => {
|
|
11867
|
-
return buildUiSchema(e);
|
|
11954
|
+
return buildUiSchema(e, store2);
|
|
11868
11955
|
});
|
|
11869
11956
|
}
|
|
11870
11957
|
}
|