impaktapps-ui-builder 0.0.382456 → 0.0.382460
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 +4233 -2667
- 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/buildBasicUiSchema.d.ts +4 -1
- package/dist/src/impaktapps-ui-builder/builder/build/buildCard.d.ts +1 -1
- package/dist/src/impaktapps-ui-builder/builder/build/buildConfig.d.ts +1 -1
- package/dist/src/impaktapps-ui-builder/builder/build/buildDate.d.ts +1 -0
- package/dist/src/impaktapps-ui-builder/builder/build/buildInputSlider.d.ts +1 -0
- package/dist/src/impaktapps-ui-builder/builder/build/buildTable.d.ts +0 -1
- package/dist/src/impaktapps-ui-builder/builder/build/buildThoughtOfTheDay.d.ts +1 -0
- package/dist/src/impaktapps-ui-builder/builder/build/buildTreeMap.d.ts +1 -0
- package/dist/src/impaktapps-ui-builder/builder/build/buildUiSchema.d.ts +1 -1
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/apiSection.d.ts +36 -2
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/box.d.ts +2 -2
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.d.ts +60 -0
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/button.d.ts +1 -7
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/card.d.ts +172 -86
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/coreSection.d.ts +15 -0
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/dateInputField.d.ts +19 -0
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/eventSection.d.ts +121 -119
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/file.d.ts +6 -6
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/graph.d.ts +42 -115
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/leaderBoard.d.ts +10 -288
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/progressBar.d.ts +6 -1
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/table.d.ts +2 -0
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/tableSection.d.ts +119 -96
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/{lazyLoadingTable.d.ts → thoughtOfTheDay.d.ts} +6 -3
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/timer.d.ts +1 -14
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/validationSections.d.ts +17 -2
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/valueTab.d.ts +17 -2
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/wrapperSection.d.ts +2 -1
- package/dist/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/schema.d.ts +9 -0
- package/dist/src/impaktapps-ui-builder/builder/elements/UiSchema/event/schema.d.ts +3 -0
- package/dist/src/impaktapps-ui-builder/builder/services/component.d.ts +12 -4
- package/dist/src/impaktapps-ui-builder/builder/services/event.d.ts +11 -2
- package/dist/src/impaktapps-ui-builder/builder/services/pageMaster.d.ts +16 -3
- package/dist/src/impaktapps-ui-builder/builder/services/utils.d.ts +4 -4
- package/dist/src/impaktapps-ui-builder/lib/index.d.ts +1 -1
- package/dist/src/impaktapps-ui-builder/runtime/services/events.d.ts +8 -5
- package/dist/src/impaktapps-ui-builder/runtime/services/interface.d.ts +2 -0
- package/dist/src/impaktapps-ui-builder/runtime/services/service.d.ts +11 -8
- package/package.json +5 -1
- package/src/impaktapps-ui-builder/builder/build/buildBasicUiSchema.ts +9 -5
- package/src/impaktapps-ui-builder/builder/build/buildButton.ts +0 -2
- package/src/impaktapps-ui-builder/builder/build/buildCard.ts +11 -7
- package/src/impaktapps-ui-builder/builder/build/buildConfig.ts +15 -19
- package/src/impaktapps-ui-builder/builder/build/buildDate.ts +12 -2
- package/src/impaktapps-ui-builder/builder/build/buildFileInput.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildHorizontalBarGraph.ts +22 -9
- package/src/impaktapps-ui-builder/builder/build/buildInputSlider.ts +46 -0
- package/src/impaktapps-ui-builder/builder/build/buildLeaderboard.ts +26 -19
- package/src/impaktapps-ui-builder/builder/build/buildLineGraph.ts +16 -2
- package/src/impaktapps-ui-builder/builder/build/buildPieGraph.ts +24 -23
- 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/buildRankCard.ts +4 -10
- package/src/impaktapps-ui-builder/builder/build/buildSchema.ts +1 -2
- package/src/impaktapps-ui-builder/builder/build/buildStackBarGraph.ts +19 -8
- package/src/impaktapps-ui-builder/builder/build/buildTabSection.ts +9 -2
- package/src/impaktapps-ui-builder/builder/build/buildTable.ts +39 -29
- package/src/impaktapps-ui-builder/builder/build/buildTextArea.ts +6 -0
- package/src/impaktapps-ui-builder/builder/build/buildThoughtOfTheDay.ts +22 -0
- package/src/impaktapps-ui-builder/builder/build/buildTreeMap.ts +61 -0
- package/src/impaktapps-ui-builder/builder/build/buildUiSchema.ts +77 -57
- package/src/impaktapps-ui-builder/builder/build/buildUplaodFile.ts +16 -19
- package/src/impaktapps-ui-builder/builder/build/buildWrapperSection.ts +16 -11
- package/src/impaktapps-ui-builder/builder/build/uischema/apiSection.ts +50 -27
- package/src/impaktapps-ui-builder/builder/build/uischema/box.ts +3 -2
- package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +174 -80
- package/src/impaktapps-ui-builder/builder/build/uischema/button.ts +1 -7
- package/src/impaktapps-ui-builder/builder/build/uischema/card.ts +171 -75
- package/src/impaktapps-ui-builder/builder/build/uischema/coreSection.ts +43 -41
- package/src/impaktapps-ui-builder/builder/build/uischema/dateInputField.ts +17 -7
- package/src/impaktapps-ui-builder/builder/build/uischema/emptyBox.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/eventSection.ts +78 -56
- package/src/impaktapps-ui-builder/builder/build/uischema/file.ts +2 -12
- package/src/impaktapps-ui-builder/builder/build/uischema/graph.ts +13 -141
- package/src/impaktapps-ui-builder/builder/build/uischema/leaderBoard.ts +10 -357
- package/src/impaktapps-ui-builder/builder/build/uischema/multiSelect.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/progressBar.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/rankCard.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/refresh.ts +15 -11
- package/src/impaktapps-ui-builder/builder/build/uischema/runnerBoyProgressBar.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/selectInputField.ts +1 -6
- package/src/impaktapps-ui-builder/builder/build/uischema/table.ts +5 -6
- package/src/impaktapps-ui-builder/builder/build/uischema/tableSection.ts +125 -97
- package/src/impaktapps-ui-builder/builder/build/uischema/textInputField.ts +1 -6
- package/src/impaktapps-ui-builder/builder/build/uischema/thoughtOfTheDay.ts +14 -0
- package/src/impaktapps-ui-builder/builder/build/uischema/timer.ts +2 -16
- package/src/impaktapps-ui-builder/builder/build/uischema/validationSections.ts +12 -12
- package/src/impaktapps-ui-builder/builder/build/uischema/valueTab.ts +13 -13
- package/src/impaktapps-ui-builder/builder/build/uischema/wrapperSection.ts +2 -1
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/schema.ts +67 -19
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/uiSchema.ts +525 -166
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/schema.ts +12 -2
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/uiSchema.ts +757 -321
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/schema.ts +7 -2
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/uiSchema.ts +516 -269
- package/src/impaktapps-ui-builder/builder/services/component.ts +165 -73
- package/src/impaktapps-ui-builder/builder/services/event.ts +74 -13
- package/src/impaktapps-ui-builder/builder/services/pageMaster.ts +61 -20
- package/src/impaktapps-ui-builder/builder/services/utils.ts +13 -14
- package/src/impaktapps-ui-builder/lib/index.ts +1 -1
- package/src/impaktapps-ui-builder/runtime/services/downloadFile.ts +1 -1
- package/src/impaktapps-ui-builder/runtime/services/events.ts +154 -96
- package/src/impaktapps-ui-builder/runtime/services/interface.ts +3 -1
- package/src/impaktapps-ui-builder/runtime/services/service.ts +211 -49
- package/src/impaktapps-ui-builder/builder/build/uischema/lazyLoadingTable.ts +0 -14
|
@@ -1,124 +1,152 @@
|
|
|
1
|
-
export const TableSection = {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
1
|
+
export const TableSection = (theme) => {
|
|
2
|
+
const uiSchema = {
|
|
3
|
+
type: "HorizontalLayout",
|
|
4
|
+
elements: [
|
|
5
|
+
{
|
|
6
|
+
type: "Control",
|
|
7
|
+
scope: "#/properties/elements",
|
|
8
|
+
options: {
|
|
9
|
+
widget: "Table",
|
|
10
|
+
},
|
|
11
|
+
config: {
|
|
12
|
+
main: {
|
|
13
|
+
headerIcons: {
|
|
14
|
+
elements: [
|
|
15
|
+
{
|
|
16
|
+
widget: {
|
|
17
|
+
type: "Control",
|
|
18
|
+
scope: "#/properties/New_Record",
|
|
19
|
+
|
|
20
|
+
options: {
|
|
21
|
+
widget: "IconButton",
|
|
22
|
+
},
|
|
23
|
+
config: {
|
|
24
|
+
main: {
|
|
25
|
+
color: "info",
|
|
26
|
+
onClick: "widgetAddClickHandler",
|
|
27
|
+
size: "small",
|
|
28
|
+
icon: "AddIcon",
|
|
29
|
+
iconLabel: "Add New",
|
|
30
|
+
styleDefault: true,
|
|
31
|
+
},
|
|
32
|
+
style: {
|
|
33
|
+
mt: "6px",
|
|
34
|
+
},
|
|
35
|
+
},
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
widget: {
|
|
40
|
+
type: "Control",
|
|
41
|
+
scope: "#/properties/Paste_Component",
|
|
42
|
+
|
|
43
|
+
options: {
|
|
44
|
+
widget: "IconButton",
|
|
45
|
+
},
|
|
46
|
+
config: {
|
|
47
|
+
main: {
|
|
48
|
+
// color: "info",
|
|
49
|
+
onClick: "copyPasteElement",
|
|
50
|
+
size: "small",
|
|
51
|
+
icon: "PasteIcon",
|
|
52
|
+
iconLabel: "Paste",
|
|
53
|
+
styleDefault: true,
|
|
54
|
+
},
|
|
55
|
+
style: {
|
|
56
|
+
mt: "6px",
|
|
57
|
+
},
|
|
58
|
+
},
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
]
|
|
13
62
|
},
|
|
63
|
+
disableAction: true,
|
|
64
|
+
disableSelection: true,
|
|
65
|
+
enableDrag: true,
|
|
66
|
+
|
|
67
|
+
},
|
|
68
|
+
},
|
|
69
|
+
elements: [
|
|
70
|
+
{
|
|
71
|
+
accessorKey: "name",
|
|
72
|
+
header: "Name"
|
|
14
73
|
},
|
|
15
|
-
|
|
16
|
-
|
|
74
|
+
{
|
|
75
|
+
accessorKey: "type",
|
|
76
|
+
header: "Type"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
header: "Edit Record",
|
|
80
|
+
field: "Reject_Records",
|
|
81
|
+
flex: 1,
|
|
82
|
+
widget: {
|
|
17
83
|
type: "Control",
|
|
18
|
-
scope: "#/properties/
|
|
19
|
-
|
|
84
|
+
scope: "#/properties/RejectButton",
|
|
20
85
|
options: {
|
|
21
|
-
widget: "
|
|
86
|
+
widget: "IconButton",
|
|
22
87
|
},
|
|
23
88
|
config: {
|
|
24
|
-
layout: 8,
|
|
25
89
|
main: {
|
|
26
|
-
|
|
90
|
+
icon: "EditIcon",
|
|
91
|
+
color: "primary",
|
|
92
|
+
onClick: "editComponents",
|
|
93
|
+
tooltipMessage: "Reject This Record",
|
|
27
94
|
},
|
|
95
|
+
|
|
28
96
|
style: {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
paddingLeft:"-10px",
|
|
32
|
-
fontSize: "20px",},
|
|
97
|
+
color: theme.palette.primary.main,
|
|
98
|
+
},
|
|
33
99
|
},
|
|
34
100
|
},
|
|
35
|
-
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
header: "Delete",
|
|
104
|
+
field: "Reject_Records",
|
|
105
|
+
flex: 1,
|
|
106
|
+
widget: {
|
|
36
107
|
type: "Control",
|
|
37
|
-
scope: "#/properties/
|
|
38
|
-
|
|
108
|
+
scope: "#/properties/RejectButton",
|
|
39
109
|
options: {
|
|
40
110
|
widget: "IconButton",
|
|
41
111
|
},
|
|
42
112
|
config: {
|
|
43
|
-
layout: 3,
|
|
44
113
|
main: {
|
|
45
|
-
icon: "
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
tooltipMessage: "Add New",
|
|
50
|
-
},
|
|
51
|
-
style: {
|
|
52
|
-
float: "right",
|
|
114
|
+
icon: "RejectIcon",
|
|
115
|
+
color: "error",
|
|
116
|
+
onClick: "deletePopUpComponent",
|
|
117
|
+
tooltipMessage: "Reject This Record",
|
|
53
118
|
},
|
|
54
119
|
},
|
|
55
120
|
},
|
|
56
|
-
{
|
|
57
|
-
type: "Control",
|
|
58
|
-
scope: "#/properties/elements",
|
|
59
|
-
options: {
|
|
60
|
-
widget: "Table",
|
|
61
|
-
},
|
|
62
|
-
config: {
|
|
63
|
-
main: {
|
|
64
|
-
disableAction: true,
|
|
65
|
-
disableSelection: true,
|
|
66
|
-
enableDrag: true,
|
|
67
|
-
|
|
68
|
-
},
|
|
69
|
-
},
|
|
70
|
-
elements:[
|
|
71
|
-
{
|
|
72
|
-
accessorKey: "name",
|
|
73
|
-
header: "Name"
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
accessorKey: "type",
|
|
77
|
-
header: "Type"
|
|
78
|
-
},
|
|
79
|
-
{
|
|
80
|
-
header: "Edit Record",
|
|
81
|
-
field: "Reject_Records",
|
|
82
|
-
flex: 1,
|
|
83
|
-
widget: {
|
|
84
|
-
type: "Control",
|
|
85
|
-
scope: "#/properties/RejectButton",
|
|
86
|
-
options: {
|
|
87
|
-
widget: "IconButton",
|
|
88
|
-
},
|
|
89
|
-
config: {
|
|
90
|
-
main: {
|
|
91
|
-
icon: "EditIcon",
|
|
92
|
-
color: "primary",
|
|
93
|
-
onClick: "editComponents",
|
|
94
|
-
tooltipMessage: "Reject This Record",
|
|
95
|
-
},
|
|
96
|
-
},
|
|
97
121
|
},
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
122
|
+
{
|
|
123
|
+
header: "Copy",
|
|
124
|
+
field: "Copy_Component",
|
|
125
|
+
flex: 1,
|
|
126
|
+
widget: {
|
|
127
|
+
type: "Control",
|
|
128
|
+
scope: "#/properties/Copy_Component",
|
|
129
|
+
options: {
|
|
130
|
+
widget: "IconButton",
|
|
131
|
+
},
|
|
132
|
+
config: {
|
|
133
|
+
main: {
|
|
134
|
+
icon: "FileCopyIcon",
|
|
135
|
+
// color: "error",
|
|
136
|
+
onClick: "copyPasteElement",
|
|
137
|
+
styleDefault: true,
|
|
138
|
+
disabled: false
|
|
139
|
+
},
|
|
115
140
|
},
|
|
116
141
|
},
|
|
117
142
|
},
|
|
118
|
-
|
|
119
|
-
]
|
|
120
|
-
|
|
121
|
-
|
|
143
|
+
]
|
|
144
|
+
}]
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
return uiSchema
|
|
148
|
+
}
|
|
149
|
+
// ]}
|
|
122
150
|
|
|
123
151
|
export const TableSectionSchema = {
|
|
124
152
|
columns: {
|
|
@@ -8,25 +8,11 @@ export default {
|
|
|
8
8
|
layout: {
|
|
9
9
|
xs: 12,
|
|
10
10
|
sm: 12,
|
|
11
|
-
md:
|
|
12
|
-
lg:
|
|
11
|
+
md: 6,
|
|
12
|
+
lg: 6,
|
|
13
13
|
},
|
|
14
14
|
main : {},
|
|
15
15
|
style : {
|
|
16
|
-
digitContainer : {
|
|
17
|
-
borderRadius : "4px",
|
|
18
|
-
textShawdow : 'none',
|
|
19
|
-
width : "22%"
|
|
20
|
-
},
|
|
21
|
-
container : {
|
|
22
|
-
// backgroundColor : "rgb(249 249 249)",
|
|
23
|
-
backgroundColor : "#FFFFFF",
|
|
24
|
-
borderRadius : "18px"
|
|
25
|
-
},
|
|
26
|
-
|
|
27
|
-
containerLabelColor : {
|
|
28
|
-
color : "red"
|
|
29
|
-
}
|
|
30
16
|
}
|
|
31
17
|
}
|
|
32
18
|
}
|
|
@@ -18,12 +18,7 @@ export const ValidationSection = {
|
|
|
18
18
|
widget: "SelectInputField",
|
|
19
19
|
},
|
|
20
20
|
config: {
|
|
21
|
-
layout: {
|
|
22
|
-
xs: 11,
|
|
23
|
-
sm: 11,
|
|
24
|
-
md: 5.5,
|
|
25
|
-
lg: 5.5,
|
|
26
|
-
},
|
|
21
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
27
22
|
main: {
|
|
28
23
|
label: "Validation Type",
|
|
29
24
|
},
|
|
@@ -37,16 +32,21 @@ export const ValidationSection = {
|
|
|
37
32
|
widget: "InputField",
|
|
38
33
|
},
|
|
39
34
|
config: {
|
|
40
|
-
layout: {
|
|
41
|
-
xs: 11,
|
|
42
|
-
sm: 11,
|
|
43
|
-
md: 5.5,
|
|
44
|
-
lg: 5.5,
|
|
45
|
-
},
|
|
35
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
46
36
|
main: {
|
|
47
37
|
label: "Validation Value",
|
|
48
38
|
},
|
|
49
39
|
},
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
type: "Control",
|
|
43
|
+
scope: "#/properties/emptyBox",
|
|
44
|
+
options: {
|
|
45
|
+
widget: "EmptyBox"
|
|
46
|
+
},
|
|
47
|
+
config: {
|
|
48
|
+
layout: {xs: 0, sm: 0, md: 4}
|
|
49
|
+
}
|
|
50
50
|
}
|
|
51
51
|
],
|
|
52
52
|
},
|
|
@@ -6,7 +6,7 @@ export const ValueTab = {
|
|
|
6
6
|
{
|
|
7
7
|
type: "Control",
|
|
8
8
|
scope: "#/properties/value",
|
|
9
|
-
layout:
|
|
9
|
+
layout: 12,
|
|
10
10
|
options: {
|
|
11
11
|
detail: {
|
|
12
12
|
type: "HorizontalLayout",
|
|
@@ -18,12 +18,7 @@ export const ValueTab = {
|
|
|
18
18
|
widget: "InputField",
|
|
19
19
|
},
|
|
20
20
|
config: {
|
|
21
|
-
layout: {
|
|
22
|
-
xs: 11,
|
|
23
|
-
sm: 11,
|
|
24
|
-
md: 5.5,
|
|
25
|
-
lg: 5.5,
|
|
26
|
-
},
|
|
21
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
27
22
|
main: {
|
|
28
23
|
label: "Label",
|
|
29
24
|
},
|
|
@@ -37,18 +32,23 @@ export const ValueTab = {
|
|
|
37
32
|
widget: "InputField",
|
|
38
33
|
},
|
|
39
34
|
config: {
|
|
40
|
-
layout: {
|
|
41
|
-
xs: 11,
|
|
42
|
-
sm: 11,
|
|
43
|
-
md: 5.5,
|
|
44
|
-
lg: 5.5,
|
|
45
|
-
},
|
|
35
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
46
36
|
main: {
|
|
47
37
|
label: "Value",
|
|
48
38
|
|
|
49
39
|
},
|
|
50
40
|
},
|
|
51
41
|
},
|
|
42
|
+
{
|
|
43
|
+
type: "Control",
|
|
44
|
+
scope: "#/properties/emptyBox",
|
|
45
|
+
options: {
|
|
46
|
+
widget: "EmptyBox"
|
|
47
|
+
},
|
|
48
|
+
config: {
|
|
49
|
+
layout: { xs: 0, sm: 0, md: 4, lg: 4 },
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
52
|
],
|
|
53
53
|
},
|
|
54
54
|
},
|
|
@@ -4,7 +4,7 @@ export const ComponentSchema: any = {
|
|
|
4
4
|
type: {
|
|
5
5
|
// type: "string",
|
|
6
6
|
oneOf: [
|
|
7
|
-
{ title: "AadharcardText", const: "AadharcardText"},
|
|
7
|
+
{ title: "AadharcardText", const: "AadharcardText" },
|
|
8
8
|
{ title: "Array", const: "Array" },
|
|
9
9
|
{ title: "Button", const: "Button" },
|
|
10
10
|
{ title: "Card", const: "card" },
|
|
@@ -12,10 +12,12 @@ export const ComponentSchema: any = {
|
|
|
12
12
|
{ title: "Container", const: "WrapperSection" },
|
|
13
13
|
{ title: "DataGrid", const: "DataGrid" },
|
|
14
14
|
{ title: "Date", const: "Date" },
|
|
15
|
+
{ title: "DateTime", const: "DateTime" },
|
|
15
16
|
{ title: "Download File", const: "DownloadFile" },
|
|
16
17
|
{ title: "Empty Box", const: "EmptyBox" },
|
|
17
18
|
{ title: "File", const: "FileInput" },
|
|
18
19
|
{ title: "Graph", const: "Graph" },
|
|
20
|
+
{ title: "Input Slider", const: "InputSlider" },
|
|
19
21
|
{ title: "Label", const: "Box" },
|
|
20
22
|
{ title: "LeaderBoard", const: "LeaderBoard" },
|
|
21
23
|
{ title: "MultipleSelect", const: "MultipleSelect" },
|
|
@@ -36,13 +38,25 @@ export const ComponentSchema: any = {
|
|
|
36
38
|
{ title: "Text", const: "Text" },
|
|
37
39
|
{ title: "Text Area", const: "TextArea" },
|
|
38
40
|
{ title: "Timer", const: "Timer" },
|
|
39
|
-
{ title: "Upload File", const: "UploadFile" },
|
|
41
|
+
{ title: "Upload File", const: "UploadFile" },
|
|
42
|
+
{ title: "TreeMap", const: "TreeMap" },
|
|
43
|
+
{ title: "ColumnGroup", const: "ColumnGroup" },
|
|
44
|
+
{ title: "Thought of the Day", const: "Thought" },
|
|
45
|
+
]
|
|
46
|
+
},
|
|
47
|
+
columnFormat: {
|
|
48
|
+
oneOf: [
|
|
49
|
+
{ title: "Date Column", const: "date" },
|
|
50
|
+
{ title: "DateTime Column", const: "dateTime" },
|
|
51
|
+
{ title: "Amount Column", const: "amount" },
|
|
52
|
+
]
|
|
40
53
|
},
|
|
41
|
-
orientation:{
|
|
54
|
+
orientation: {
|
|
42
55
|
oneOf: [
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
56
|
+
{ title: "Horizontal", const: "horizontal" },
|
|
57
|
+
{ title: "Vertical", const: "vertical" },
|
|
58
|
+
]
|
|
59
|
+
},
|
|
46
60
|
method: {
|
|
47
61
|
type: "string",
|
|
48
62
|
oneOf: [
|
|
@@ -56,7 +70,7 @@ export const ComponentSchema: any = {
|
|
|
56
70
|
type: "array",
|
|
57
71
|
items: {
|
|
58
72
|
type: "object",
|
|
59
|
-
properties: {
|
|
73
|
+
properties: {
|
|
60
74
|
key: {
|
|
61
75
|
type: "string",
|
|
62
76
|
oneOf: [
|
|
@@ -68,7 +82,7 @@ export const ComponentSchema: any = {
|
|
|
68
82
|
},
|
|
69
83
|
value: {
|
|
70
84
|
// type: "string",
|
|
71
|
-
|
|
85
|
+
|
|
72
86
|
},
|
|
73
87
|
},
|
|
74
88
|
},
|
|
@@ -89,7 +103,7 @@ export const ComponentSchema: any = {
|
|
|
89
103
|
},
|
|
90
104
|
value: {
|
|
91
105
|
// type: "string",
|
|
92
|
-
|
|
106
|
+
|
|
93
107
|
},
|
|
94
108
|
},
|
|
95
109
|
},
|
|
@@ -171,12 +185,42 @@ export const ComponentSchema: any = {
|
|
|
171
185
|
keyName: {
|
|
172
186
|
type: "string",
|
|
173
187
|
},
|
|
174
|
-
value:{
|
|
175
|
-
type:"string"
|
|
188
|
+
value: {
|
|
189
|
+
type: "string"
|
|
176
190
|
}
|
|
177
191
|
},
|
|
178
192
|
},
|
|
179
193
|
},
|
|
194
|
+
enableColumnFilter:{
|
|
195
|
+
type: "array",
|
|
196
|
+
items: {
|
|
197
|
+
type: "object",
|
|
198
|
+
properties: {
|
|
199
|
+
keyName: {
|
|
200
|
+
type: "string",
|
|
201
|
+
},
|
|
202
|
+
},
|
|
203
|
+
},
|
|
204
|
+
},
|
|
205
|
+
filteringOptions:{
|
|
206
|
+
type: "array",
|
|
207
|
+
items:{
|
|
208
|
+
oneOf: [
|
|
209
|
+
{ const: 'fuzzy', title: 'Fuzzy' },
|
|
210
|
+
{ const: 'contains', title: 'Contain' },
|
|
211
|
+
{ const: 'startsWith', title: 'Starts with' },
|
|
212
|
+
{ const: 'endsWith', title: 'Ends with' },
|
|
213
|
+
{ const: 'equals', title: 'Equals' },
|
|
214
|
+
{ const: 'notEquals', title: 'Not Equals' },
|
|
215
|
+
{ const: 'between', title: 'Between' },
|
|
216
|
+
{ const: 'betweenInclusive', title: 'Between inclusive' },
|
|
217
|
+
{ const: 'greaterThan', title: 'Greater than' },
|
|
218
|
+
{ const: 'greaterThanOrEqualTo', title: 'Greater than or equal to' },
|
|
219
|
+
{ const: 'lessThan', title: 'Less than' },
|
|
220
|
+
{ const: 'lessThanOrEqualTo', title: 'Less than or equal to' },
|
|
221
|
+
]
|
|
222
|
+
},
|
|
223
|
+
},
|
|
180
224
|
legendLabels: {
|
|
181
225
|
type: "array",
|
|
182
226
|
items: {
|
|
@@ -260,11 +304,12 @@ export const ComponentSchema: any = {
|
|
|
260
304
|
{ title: "Line Graph", const: "LineGraph" },
|
|
261
305
|
{ title: "Pie Graph", const: "PieGraph" },
|
|
262
306
|
{ title: "Horizontal Bar Graph", const: "HorizontalBarGraph" },
|
|
307
|
+
{ title: "Stack Horizontal Bar Graph", const: "HorizontalStackBarGraph" }
|
|
263
308
|
]
|
|
264
309
|
},
|
|
265
|
-
iconName:{
|
|
266
|
-
type:"string",
|
|
267
|
-
oneOf:[
|
|
310
|
+
iconName: {
|
|
311
|
+
type: "string",
|
|
312
|
+
oneOf: [
|
|
268
313
|
{ title: "Search Icon", const: "SearchIcon" },
|
|
269
314
|
{ title: "Edit Icon", const: "EditIcon" },
|
|
270
315
|
{ title: "Add Icon", const: "AddIcon" },
|
|
@@ -284,8 +329,8 @@ export const ComponentSchema: any = {
|
|
|
284
329
|
{ title: "Exception Icon", const: "ExceptionIcon" },
|
|
285
330
|
]
|
|
286
331
|
},
|
|
287
|
-
color:{
|
|
288
|
-
type:"string",
|
|
332
|
+
color: {
|
|
333
|
+
type: "string",
|
|
289
334
|
oneOf: [
|
|
290
335
|
{ title: "Primary", const: "primary" },
|
|
291
336
|
{ title: "Secondary", const: "secondary" },
|
|
@@ -297,8 +342,11 @@ export const ComponentSchema: any = {
|
|
|
297
342
|
name: {
|
|
298
343
|
type: "string",
|
|
299
344
|
},
|
|
300
|
-
label: { type: 'string' }
|
|
345
|
+
label: { type: 'string' },
|
|
346
|
+
RemoveItemButton:{
|
|
347
|
+
disabled: true,
|
|
348
|
+
},
|
|
301
349
|
},
|
|
302
|
-
|
|
303
|
-
required: [
|
|
350
|
+
|
|
351
|
+
required: ["name",]
|
|
304
352
|
};
|