impaktapps-ui-builder 1.0.621 → 1.0.622
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 +2002 -897
- 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/buildAreaGraph.d.ts +2 -0
- package/dist/src/impaktapps-ui-builder/builder/build/buildCamera.d.ts +1 -0
- package/dist/src/impaktapps-ui-builder/builder/build/buildConfig.d.ts +1 -0
- package/dist/src/impaktapps-ui-builder/builder/build/buildGroupButton.d.ts +1 -0
- package/dist/src/impaktapps-ui-builder/builder/build/buildHierarchyChart.d.ts +1 -0
- package/dist/src/impaktapps-ui-builder/builder/build/buildHorizontalLayout.d.ts +1 -0
- package/dist/src/impaktapps-ui-builder/builder/build/buildImage.d.ts +1 -0
- package/dist/src/impaktapps-ui-builder/builder/build/buildMetricCard.d.ts +1 -0
- package/dist/src/impaktapps-ui-builder/builder/build/buildOTP_inputs.d.ts +1 -0
- package/dist/src/impaktapps-ui-builder/builder/build/buildPdfViewer.d.ts +1 -0
- package/dist/src/impaktapps-ui-builder/builder/build/buildPopover.d.ts +1 -0
- package/dist/src/impaktapps-ui-builder/builder/build/buildStackBarLineGraph.d.ts +2 -0
- package/dist/src/impaktapps-ui-builder/builder/build/buildUiSchema.d.ts +2 -1
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/box.d.ts +4 -1
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.d.ts +1 -1
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/buttonGroup.d.ts +22 -0
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/card.d.ts +173 -171
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/eventSection.d.ts +18 -50
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/graph.d.ts +50 -4
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/hierarchyChart.d.ts +22 -0
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/horizontalLayout.d.ts +13 -0
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/metricCard.d.ts +17 -0
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/multiSelect.d.ts +1 -0
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/pdfViewer.d.ts +19 -0
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/selectInputField.d.ts +1 -0
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/tableSection.d.ts +15 -66
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/wrapperSection.d.ts +3 -1
- package/dist/src/impaktapps-ui-builder/builder/services/utils.d.ts +2 -1
- package/dist/src/impaktapps-ui-builder/lib/index.d.ts +1 -0
- package/dist/src/impaktapps-ui-builder/runtime/services/downloadFile.d.ts +5 -2
- package/dist/src/impaktapps-ui-builder/runtime/services/service.d.ts +8 -4
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildAreaGraph.ts +66 -0
- package/src/impaktapps-ui-builder/builder/build/buildArray.ts +13 -0
- package/src/impaktapps-ui-builder/builder/build/buildCamera.ts +50 -0
- package/src/impaktapps-ui-builder/builder/build/buildCard.ts +10 -10
- package/src/impaktapps-ui-builder/builder/build/buildConfig.ts +23 -9
- package/src/impaktapps-ui-builder/builder/build/buildDate.ts +35 -13
- package/src/impaktapps-ui-builder/builder/build/buildDownloadFile.ts +7 -0
- package/src/impaktapps-ui-builder/builder/build/buildEmptyBox.ts +4 -0
- package/src/impaktapps-ui-builder/builder/build/buildFileInput.ts +42 -28
- package/src/impaktapps-ui-builder/builder/build/buildGroupButton.ts +24 -0
- package/src/impaktapps-ui-builder/builder/build/buildHierarchyChart.ts +35 -0
- package/src/impaktapps-ui-builder/builder/build/buildHorizontalBarGraph.ts +9 -3
- package/src/impaktapps-ui-builder/builder/build/buildHorizontalLayout.ts +15 -0
- package/src/impaktapps-ui-builder/builder/build/buildImage.ts +38 -0
- package/src/impaktapps-ui-builder/builder/build/buildLabel.ts +3 -0
- package/src/impaktapps-ui-builder/builder/build/buildLeaderboard.ts +3 -0
- package/src/impaktapps-ui-builder/builder/build/buildLineGraph.ts +9 -3
- package/src/impaktapps-ui-builder/builder/build/buildMetricCard.tsx +37 -0
- package/src/impaktapps-ui-builder/builder/build/buildMultiSelect.ts +9 -0
- package/src/impaktapps-ui-builder/builder/build/buildOTP_inputs.ts +44 -0
- package/src/impaktapps-ui-builder/builder/build/buildPdfViewer.ts +16 -0
- package/src/impaktapps-ui-builder/builder/build/buildPieGraph.ts +6 -3
- package/src/impaktapps-ui-builder/builder/build/buildPop.ts +1 -0
- package/src/impaktapps-ui-builder/builder/build/buildPopover.ts +40 -0
- package/src/impaktapps-ui-builder/builder/build/buildProgressBar.ts +31 -21
- package/src/impaktapps-ui-builder/builder/build/buildRadio.ts +10 -2
- package/src/impaktapps-ui-builder/builder/build/buildSelect.ts +9 -0
- package/src/impaktapps-ui-builder/builder/build/buildStackBarGraph.ts +9 -3
- package/src/impaktapps-ui-builder/builder/build/buildStackBarLineGraph.ts +72 -0
- package/src/impaktapps-ui-builder/builder/build/buildTabSection.ts +5 -0
- package/src/impaktapps-ui-builder/builder/build/buildTable.ts +21 -11
- package/src/impaktapps-ui-builder/builder/build/buildText.ts +9 -0
- package/src/impaktapps-ui-builder/builder/build/buildUiSchema.ts +144 -124
- package/src/impaktapps-ui-builder/builder/build/buildUplaodFile.ts +6 -0
- package/src/impaktapps-ui-builder/builder/build/buildWrapperSection.ts +7 -2
- package/src/impaktapps-ui-builder/builder/build/uischema/box.ts +4 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +315 -21
- package/src/impaktapps-ui-builder/builder/build/uischema/buttonGroup.ts +17 -0
- package/src/impaktapps-ui-builder/builder/build/uischema/card.ts +142 -169
- package/src/impaktapps-ui-builder/builder/build/uischema/coreSection.ts +74 -19
- package/src/impaktapps-ui-builder/builder/build/uischema/eventSection.ts +30 -54
- package/src/impaktapps-ui-builder/builder/build/uischema/file.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/graph.ts +37 -4
- package/src/impaktapps-ui-builder/builder/build/uischema/hierarchyChart.ts +13 -0
- package/src/impaktapps-ui-builder/builder/build/uischema/horizontalLayout.ts +11 -0
- package/src/impaktapps-ui-builder/builder/build/uischema/metricCard.ts +13 -0
- package/src/impaktapps-ui-builder/builder/build/uischema/multiSelect.ts +2 -0
- package/src/impaktapps-ui-builder/builder/build/uischema/pdfViewer.ts +18 -0
- package/src/impaktapps-ui-builder/builder/build/uischema/selectInputField.ts +2 -0
- package/src/impaktapps-ui-builder/builder/build/uischema/tableSection.ts +34 -60
- package/src/impaktapps-ui-builder/builder/build/uischema/wrapperSection.ts +3 -1
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/schema.ts +219 -75
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/uiSchema.ts +61 -1
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/uiSchema.ts +94 -106
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/schema.ts +4 -3
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/uiSchema.ts +31 -55
- package/src/impaktapps-ui-builder/builder/services/component.ts +174 -86
- package/src/impaktapps-ui-builder/builder/services/event.ts +3 -0
- package/src/impaktapps-ui-builder/builder/services/pageMaster.ts +18 -15
- package/src/impaktapps-ui-builder/builder/services/utils.ts +15 -3
- package/src/impaktapps-ui-builder/lib/index.ts +10 -9
- package/src/impaktapps-ui-builder/runtime/services/downloadFile.ts +42 -22
- package/src/impaktapps-ui-builder/runtime/services/events.ts +9 -11
- package/src/impaktapps-ui-builder/runtime/services/service.ts +118 -158
|
@@ -1,196 +1,169 @@
|
|
|
1
|
-
export default function Card(theme){
|
|
2
|
-
const uiSchema =
|
|
1
|
+
export default function Card(theme) {
|
|
2
|
+
const uiSchema =
|
|
3
|
+
{
|
|
3
4
|
type: "WrapperLayout",
|
|
4
5
|
config: {
|
|
5
6
|
main: {},
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
7
|
+
style: {
|
|
8
|
+
wrapperStyle: {
|
|
9
|
+
position: "relative",
|
|
10
|
+
top: "50%",
|
|
11
|
+
transform: "translateY(-50%)",
|
|
12
|
+
marginBottom: 0,
|
|
13
|
+
borderRadius: "12px",
|
|
14
|
+
fontFamily:"poppins"
|
|
15
|
+
},
|
|
16
|
+
componentsBoxStyle: {
|
|
17
|
+
boxShadow: "0 0 6px 1px rgba(149, 147, 147, 0.25)",
|
|
18
|
+
flexDirection: "column",
|
|
19
|
+
overflow: "hidden",
|
|
20
|
+
flexWrap: "nowrap",
|
|
21
|
+
width: "100% !important",
|
|
22
|
+
background: "transparent",
|
|
23
|
+
// border: `1.5px solid ${theme.palette.primary.light}`,
|
|
24
|
+
borderRadius: "12px",
|
|
25
|
+
padding: "20px 20px 20px 14px",
|
|
26
|
+
height: "100%",
|
|
27
|
+
minHeight: "100px",
|
|
28
|
+
position: "relative",
|
|
29
|
+
marginLeft: "0px",
|
|
30
|
+
"&: hover": {
|
|
31
|
+
background: `${theme.palette.primary.main}`,
|
|
32
|
+
color: `${theme.palette.primary.contrastText}`,
|
|
33
|
+
// border: `1.5px solid black`,
|
|
34
|
+
// "& p": {
|
|
35
|
+
// color: "white",
|
|
36
|
+
// },
|
|
29
37
|
},
|
|
30
38
|
},
|
|
31
39
|
},
|
|
32
|
-
|
|
40
|
+
|
|
41
|
+
layout: { xs: 12, sm: 12, md: 3, lg: 3 },
|
|
33
42
|
},
|
|
34
43
|
elements: [
|
|
35
|
-
{
|
|
36
|
-
type: "
|
|
44
|
+
{
|
|
45
|
+
type: "Control",
|
|
46
|
+
scope: "#/properties/initilCardScope",
|
|
37
47
|
config: {
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
{
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
background: "transparent",
|
|
58
|
-
borderRadius: "0px",
|
|
59
|
-
},
|
|
60
|
-
layout: 12,
|
|
48
|
+
main: {
|
|
49
|
+
url: "https://www.svgrepo.com/show/500606/loading.svg",
|
|
50
|
+
},
|
|
51
|
+
style: {
|
|
52
|
+
containerStyle: {
|
|
53
|
+
position: "absolute",
|
|
54
|
+
color:"inherit",
|
|
55
|
+
top: "4px",
|
|
56
|
+
right: "4px",
|
|
57
|
+
display: "flex",
|
|
58
|
+
justifyContent: "flex-end",
|
|
59
|
+
alignItems: "flex-start",
|
|
60
|
+
},
|
|
61
|
+
imageStyle: {
|
|
62
|
+
color:"inherit",
|
|
63
|
+
width: "32px",
|
|
64
|
+
height: "32px",
|
|
65
|
+
padding: "0px",
|
|
66
|
+
margin: "0px",
|
|
61
67
|
},
|
|
62
|
-
elements: [
|
|
63
|
-
{
|
|
64
|
-
type: "WrapperLayout",
|
|
65
|
-
config: {
|
|
66
|
-
main: {
|
|
67
|
-
columnSpacing: 0,
|
|
68
|
-
gap: 0,
|
|
69
|
-
},
|
|
70
|
-
wrapperStyle: {
|
|
71
|
-
background: "transparent",
|
|
72
|
-
marginBottom: 0
|
|
73
|
-
},
|
|
74
|
-
componentsBoxStyle: {
|
|
75
|
-
flexDirection: "row",
|
|
76
|
-
flexWrap: "nowrap",
|
|
77
|
-
width: "100%",
|
|
78
|
-
height: "0",
|
|
79
|
-
background: "transparent",
|
|
80
|
-
borderRadius: "0px",
|
|
81
|
-
marginLeft: "-10px",
|
|
82
|
-
marginTop: "-8px",
|
|
83
|
-
justifyContent: "start",
|
|
84
|
-
position: "relative"
|
|
85
|
-
},
|
|
86
|
-
layout: 12,
|
|
87
|
-
},
|
|
88
|
-
elements: [
|
|
89
|
-
{
|
|
90
|
-
type: "Control",
|
|
91
|
-
scope: "#/properties/programType",
|
|
92
|
-
config: {
|
|
93
|
-
main: {
|
|
94
|
-
heading: "",
|
|
95
|
-
},
|
|
96
|
-
style: {
|
|
97
|
-
color: "black",
|
|
98
|
-
display: "flex",
|
|
99
|
-
fontSize: { xs: "24px", md: "28px" },
|
|
100
|
-
fontWeight: "bold",
|
|
101
|
-
background: "inherit",
|
|
102
|
-
justifyContent: "flex-start",
|
|
103
|
-
width: "auto",
|
|
104
|
-
margin: "-8px",
|
|
105
|
-
marginLeft: "-24px",
|
|
106
|
-
height: 0
|
|
107
|
-
},
|
|
108
|
-
// layout: 1,
|
|
109
|
-
},
|
|
110
|
-
options: {
|
|
111
|
-
widget: "Box",
|
|
112
|
-
},
|
|
113
|
-
},
|
|
114
|
-
{
|
|
115
|
-
type: "Control",
|
|
116
|
-
scope: "#/properties/programType",
|
|
117
|
-
config: {
|
|
118
|
-
main: {
|
|
119
|
-
heading: "5000.00",
|
|
120
|
-
},
|
|
121
|
-
style: {
|
|
122
|
-
color: "black",
|
|
123
|
-
display: "flex",
|
|
124
|
-
fontSize: { xs: "24px", md: "28px" },
|
|
125
|
-
fontWeight: "bold",
|
|
126
|
-
background: "inherit",
|
|
127
|
-
justifyContent: "flex-start",
|
|
128
|
-
width: "auto",
|
|
129
|
-
margin: "-8px",
|
|
130
|
-
position: "absolute",
|
|
131
|
-
left: "24px"
|
|
132
|
-
},
|
|
133
|
-
// layout: 11,
|
|
134
|
-
},
|
|
135
|
-
options: {
|
|
136
|
-
widget: "Box",
|
|
137
|
-
},
|
|
138
|
-
},
|
|
139
|
-
],
|
|
140
|
-
},
|
|
141
|
-
{
|
|
142
|
-
type: "Control",
|
|
143
|
-
scope: "#/properties/programType",
|
|
144
|
-
config: {
|
|
145
|
-
main: {
|
|
146
|
-
heading: "Total Earnings",
|
|
147
|
-
},
|
|
148
|
-
style: {
|
|
149
|
-
color: "black",
|
|
150
|
-
fontSize: "16px",
|
|
151
|
-
justifyContent: "center",
|
|
152
|
-
textWrap: "wrap",
|
|
153
|
-
background: "inherit",
|
|
154
|
-
width: "calc(100%+8px)",
|
|
155
|
-
margin: "-8px",
|
|
156
|
-
marginTop: {xs: "16px", md: "20px"},
|
|
157
|
-
},
|
|
158
|
-
layout: 12,
|
|
159
|
-
},
|
|
160
|
-
|
|
161
|
-
options: {
|
|
162
|
-
widget: "Box",
|
|
163
|
-
},
|
|
164
|
-
},
|
|
165
|
-
],
|
|
166
68
|
},
|
|
167
|
-
|
|
69
|
+
},
|
|
70
|
+
options: {
|
|
71
|
+
widget: "Image",
|
|
72
|
+
},
|
|
168
73
|
},
|
|
169
74
|
{
|
|
170
75
|
type: "Control",
|
|
171
|
-
scope: "#/properties/
|
|
76
|
+
scope: "#/properties/initilCardScope",
|
|
172
77
|
config: {
|
|
173
78
|
main: {
|
|
174
|
-
|
|
79
|
+
heading: "Total Earnings",
|
|
175
80
|
},
|
|
176
81
|
style: {
|
|
177
|
-
|
|
178
|
-
|
|
82
|
+
color: "inherit",
|
|
83
|
+
fontSize: "16px",
|
|
84
|
+
fontWeight: 300,
|
|
85
|
+
fontFamily:"Poppins",
|
|
86
|
+
justifyContent: "flex-start",
|
|
87
|
+
background: "inherit",
|
|
88
|
+
position: "absolute",
|
|
89
|
+
top: "8px",
|
|
90
|
+
left: "12px",
|
|
179
91
|
display: "flex",
|
|
180
|
-
|
|
92
|
+
maxWidth: "200px",
|
|
93
|
+
whiteSpace: "nowrap",
|
|
94
|
+
overflowX: "auto",
|
|
95
|
+
scrollbarWidth: "none",
|
|
96
|
+
"&::-webkit-scrollbar": {
|
|
97
|
+
display: "none",
|
|
181
98
|
},
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
99
|
+
},
|
|
100
|
+
},
|
|
101
|
+
options: {
|
|
102
|
+
widget: "Box",
|
|
103
|
+
},
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
type: "Control",
|
|
107
|
+
scope: "#/properties/initilCardScope",
|
|
108
|
+
config: {
|
|
109
|
+
main: {
|
|
110
|
+
heading: "5000.00",
|
|
111
|
+
},
|
|
112
|
+
style: {
|
|
113
|
+
color: "inherit",
|
|
114
|
+
display: "flex",
|
|
115
|
+
fontSize: { xs: "22px", md: "40px" },
|
|
116
|
+
fontWeight: 600,
|
|
117
|
+
background: "inherit",
|
|
118
|
+
justifyContent: "flex-start",
|
|
119
|
+
width: "100%",
|
|
120
|
+
margin: "0px",
|
|
121
|
+
marginBottom: "4px",
|
|
122
|
+
marginTop: "8px",
|
|
123
|
+
lineHeight: "1",
|
|
124
|
+
maxWidth: "300px",
|
|
125
|
+
whiteSpace: "nowrap",
|
|
126
|
+
overflowX: "auto",
|
|
127
|
+
overflowY: "hidden",
|
|
128
|
+
scrollbarWidth: "none",
|
|
129
|
+
|
|
130
|
+
"&::-webkit-scrollbar": {
|
|
131
|
+
display: "none",
|
|
188
132
|
},
|
|
189
133
|
},
|
|
190
|
-
layout: 4,
|
|
191
134
|
},
|
|
192
135
|
options: {
|
|
193
|
-
widget: "
|
|
136
|
+
widget: "Box",
|
|
137
|
+
},
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
type: "Control",
|
|
141
|
+
scope: "#/properties/initilCardScope",
|
|
142
|
+
config: {
|
|
143
|
+
main: {
|
|
144
|
+
heading: "Increased from last month",
|
|
145
|
+
},
|
|
146
|
+
style: {
|
|
147
|
+
color: "inherit",
|
|
148
|
+
fontSize: "12px",
|
|
149
|
+
fontWeight: "400",
|
|
150
|
+
justifyContent: "flex-start",
|
|
151
|
+
background: "inherit",
|
|
152
|
+
margin: "0px",
|
|
153
|
+
paddingLeft: "2px",
|
|
154
|
+
marginBottom:"8px",
|
|
155
|
+
maxWidth: "200px",
|
|
156
|
+
whiteSpace: "nowrap",
|
|
157
|
+
overflowX: "auto",
|
|
158
|
+
scrollbarWidth: "none",
|
|
159
|
+
|
|
160
|
+
"&::-webkit-scrollbar": {
|
|
161
|
+
display: "none",
|
|
162
|
+
},
|
|
163
|
+
},
|
|
164
|
+
},
|
|
165
|
+
options: {
|
|
166
|
+
widget: "Box",
|
|
194
167
|
},
|
|
195
168
|
},
|
|
196
169
|
],
|
|
@@ -62,20 +62,76 @@ export const CoreSection = {
|
|
|
62
62
|
},
|
|
63
63
|
},
|
|
64
64
|
},
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
65
|
+
{
|
|
66
|
+
type: "Control",
|
|
67
|
+
scope: "#/properties/proc5",
|
|
68
|
+
config: {
|
|
69
|
+
layout: { xs: 6, sm: 6, md: 0, lg: 3 },
|
|
70
|
+
},
|
|
71
|
+
options: {
|
|
72
|
+
widget: "EmptyBox",
|
|
73
|
+
},
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
type: "Control",
|
|
77
|
+
scope: "#/properties/proc6",
|
|
78
|
+
config: {
|
|
79
|
+
layout: { xs: 6, sm: 6, md: 0, lg: 3 },
|
|
80
|
+
},
|
|
81
|
+
options: {
|
|
82
|
+
widget: "EmptyBox",
|
|
83
|
+
},
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
type: "Control",
|
|
87
|
+
scope: "#/properties/proc7",
|
|
88
|
+
config: {
|
|
89
|
+
layout: { xs: 6, sm: 6, md: 0, lg: 3 },
|
|
90
|
+
},
|
|
91
|
+
options: {
|
|
92
|
+
widget: "EmptyBox",
|
|
93
|
+
},
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
type: "Control",
|
|
97
|
+
scope: "#/properties/proc8",
|
|
98
|
+
config: {
|
|
99
|
+
layout: { xs: 6, sm: 6, md: 0, lg: 3 },
|
|
100
|
+
},
|
|
101
|
+
options: {
|
|
102
|
+
widget: "EmptyBox",
|
|
103
|
+
},
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
type: "Control",
|
|
107
|
+
scope: "#/properties/proc9",
|
|
108
|
+
config: {
|
|
109
|
+
layout: { xs: 6, sm: 6, md: 0, lg: 3 },
|
|
110
|
+
},
|
|
111
|
+
options: {
|
|
112
|
+
widget: "EmptyBox",
|
|
113
|
+
},
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
type: "Control",
|
|
117
|
+
scope: "#/properties/proc10",
|
|
118
|
+
config: {
|
|
119
|
+
layout: { xs: 6, sm: 6, md: 0, lg: 3 },
|
|
120
|
+
},
|
|
121
|
+
options: {
|
|
122
|
+
widget: "EmptyBox",
|
|
123
|
+
},
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
type: "Control",
|
|
127
|
+
scope: "#/properties/proc11",
|
|
128
|
+
config: {
|
|
129
|
+
layout: { xs: 6, sm: 6, md: 0, lg: 3 },
|
|
130
|
+
},
|
|
131
|
+
options: {
|
|
132
|
+
widget: "EmptyBox",
|
|
133
|
+
},
|
|
134
|
+
},
|
|
79
135
|
{
|
|
80
136
|
type: "Control",
|
|
81
137
|
scope: "#/properties/proc",
|
|
@@ -117,7 +173,6 @@ export const CoreSection = {
|
|
|
117
173
|
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
118
174
|
main: {
|
|
119
175
|
label: "Screen Size",
|
|
120
|
-
|
|
121
176
|
},
|
|
122
177
|
},
|
|
123
178
|
},
|
|
@@ -132,11 +187,11 @@ export const CoreSection = {
|
|
|
132
187
|
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
133
188
|
main: {
|
|
134
189
|
label: "Value",
|
|
135
|
-
type:"number",
|
|
190
|
+
type: "number",
|
|
136
191
|
// freeSolo:true,
|
|
137
|
-
helperText:'Number should be in range of 0 to 12',
|
|
138
|
-
errorMessage:"Number Can't be greater than 12 and can't be less than 0.",
|
|
139
|
-
|
|
192
|
+
helperText: 'Number should be in range of 0 to 12',
|
|
193
|
+
errorMessage: "Number Can't be greater than 12 and can't be less than 0.",
|
|
194
|
+
|
|
140
195
|
},
|
|
141
196
|
},
|
|
142
197
|
},
|
|
@@ -74,95 +74,71 @@ export const EventSection = (theme)=>{
|
|
|
74
74
|
enableDrag: true,
|
|
75
75
|
|
|
76
76
|
},
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
{
|
|
81
|
-
accessorKey: "eventType",
|
|
82
|
-
header: "Event's Type",
|
|
83
|
-
type: "string",
|
|
84
|
-
size: 300,
|
|
85
|
-
},
|
|
86
|
-
{
|
|
87
|
-
accessorKey: "Handler",
|
|
88
|
-
header: "Handler",
|
|
89
|
-
type: "string",
|
|
90
|
-
size: 200,
|
|
91
|
-
},
|
|
92
|
-
{
|
|
93
|
-
accessorKey: "Edit_Approve_Records",
|
|
94
|
-
header: "Edit",
|
|
95
|
-
size: 150,
|
|
96
|
-
type: "action",
|
|
97
|
-
widget: {
|
|
77
|
+
action: [
|
|
78
|
+
{
|
|
98
79
|
type: "Control",
|
|
99
80
|
scope: "#/properties/Edit_Records",
|
|
100
81
|
options: {
|
|
101
|
-
widget: "
|
|
82
|
+
widget: "Button",
|
|
102
83
|
},
|
|
103
84
|
config: {
|
|
104
85
|
main: {
|
|
105
86
|
size: "small",
|
|
106
|
-
|
|
87
|
+
startIcon: "EditIcon",
|
|
107
88
|
tooltipMessage: "Edit This Record",
|
|
108
89
|
onClick: "eventEditHandler",
|
|
109
|
-
|
|
110
|
-
style: {
|
|
111
|
-
fill: theme.palette.primary.main,
|
|
112
|
-
"& :hover": {
|
|
113
|
-
fill: theme.palette.primary.dark,
|
|
114
|
-
},
|
|
90
|
+
name: "Edit"
|
|
115
91
|
},
|
|
116
92
|
},
|
|
117
93
|
},
|
|
118
|
-
|
|
119
|
-
{
|
|
120
|
-
accessorKey: "Reject_Records",
|
|
121
|
-
header: "Delete",
|
|
122
|
-
size: 150,
|
|
123
|
-
type: "action",
|
|
124
|
-
widget: {
|
|
94
|
+
{
|
|
125
95
|
type: "Control",
|
|
126
96
|
scope: "#/properties/RejectButton",
|
|
127
97
|
accessorKeyName: "Reject_Records",
|
|
128
98
|
options: {
|
|
129
|
-
widget: "
|
|
99
|
+
widget: "Button",
|
|
130
100
|
},
|
|
131
101
|
config: {
|
|
132
102
|
main: {
|
|
133
|
-
|
|
103
|
+
startIcon: "Bin",
|
|
134
104
|
tooltipMessage: "Reject This Record",
|
|
135
105
|
onClick: "deletePopUpEvent",
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
fill: theme.palette.primary.main,
|
|
139
|
-
"& :hover": {
|
|
140
|
-
fill: theme.palette.primary.dark,
|
|
141
|
-
},
|
|
106
|
+
name: "Delete",
|
|
107
|
+
size: "small"
|
|
142
108
|
},
|
|
143
109
|
},
|
|
144
110
|
},
|
|
145
|
-
|
|
146
|
-
{
|
|
147
|
-
header: "Copy",
|
|
148
|
-
field: "Copy_Event",
|
|
149
|
-
size: 150,
|
|
150
|
-
type: "action",
|
|
151
|
-
widget: {
|
|
111
|
+
{
|
|
152
112
|
type: "Control",
|
|
153
113
|
scope: "#/properties/Copy_Event",
|
|
154
114
|
options: {
|
|
155
|
-
widget: "
|
|
115
|
+
widget: "Button",
|
|
156
116
|
},
|
|
157
117
|
config: {
|
|
158
118
|
main: {
|
|
159
|
-
|
|
119
|
+
startIcon: "FileCopyIcon",
|
|
160
120
|
onClick: "copyPasteElement",
|
|
161
121
|
tooltipMessage: "Reject This Record",
|
|
162
|
-
styleDefault:
|
|
122
|
+
styleDefault: false,
|
|
123
|
+
name: "Copy"
|
|
163
124
|
},
|
|
164
125
|
},
|
|
165
126
|
},
|
|
127
|
+
]
|
|
128
|
+
},
|
|
129
|
+
elements: [
|
|
130
|
+
|
|
131
|
+
{
|
|
132
|
+
accessorKey: "eventType",
|
|
133
|
+
header: "Event's Type",
|
|
134
|
+
type: "string",
|
|
135
|
+
size: 300,
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
accessorKey: "Handler",
|
|
139
|
+
header: "Handler",
|
|
140
|
+
type: "string",
|
|
141
|
+
size: 200,
|
|
166
142
|
},
|
|
167
143
|
]
|
|
168
144
|
}]}
|
|
@@ -11,7 +11,7 @@ export const BarGraph = {
|
|
|
11
11
|
type: "BarGraph",
|
|
12
12
|
legendLabels: null
|
|
13
13
|
},
|
|
14
|
-
style: { containerStyle: {},labelStyle:{margin:{}}
|
|
14
|
+
style: { containerStyle: {},labelStyle:{margin:{}}}
|
|
15
15
|
},
|
|
16
16
|
};
|
|
17
17
|
|
|
@@ -27,7 +27,7 @@ export const PieGraph = {
|
|
|
27
27
|
type: "PieGraph",
|
|
28
28
|
legendLabels: null
|
|
29
29
|
},
|
|
30
|
-
style:{ containerStyle: {},labelStyle:{margin:{}}
|
|
30
|
+
style:{ containerStyle: {},labelStyle:{margin:{}}}
|
|
31
31
|
},
|
|
32
32
|
};
|
|
33
33
|
export const LineGraph = {
|
|
@@ -42,7 +42,7 @@ export const LineGraph = {
|
|
|
42
42
|
type: "LineGraph",
|
|
43
43
|
legendLabels: null
|
|
44
44
|
},
|
|
45
|
-
style: { containerStyle: {},labelStyle:{margin:{}}
|
|
45
|
+
style: { containerStyle: {},labelStyle:{margin:{}}},
|
|
46
46
|
},
|
|
47
47
|
};
|
|
48
48
|
|
|
@@ -58,6 +58,39 @@ export const HorizontalBarGraph = {
|
|
|
58
58
|
type: "HorizontalBarGraph",
|
|
59
59
|
legendLabels: null
|
|
60
60
|
},
|
|
61
|
-
style:{ containerStyle: {},labelStyle:{margin:{}}
|
|
61
|
+
style:{ containerStyle: {},labelStyle:{margin:{}} }
|
|
62
62
|
},
|
|
63
63
|
};
|
|
64
|
+
|
|
65
|
+
export const AreaBarGraph = {
|
|
66
|
+
type: "Control",
|
|
67
|
+
scope: "#/properties/graph",
|
|
68
|
+
options: {
|
|
69
|
+
widget: "Graph",
|
|
70
|
+
},
|
|
71
|
+
config: {
|
|
72
|
+
layout: {xs :12,sm:12,md:12,lg:12},
|
|
73
|
+
main: {
|
|
74
|
+
type: "AreaGraph",
|
|
75
|
+
legendLabels: null
|
|
76
|
+
},
|
|
77
|
+
style:{ containerStyle: {},labelStyle:{margin:{}} }
|
|
78
|
+
},
|
|
79
|
+
};
|
|
80
|
+
|
|
81
|
+
export const StackBarLineG = {
|
|
82
|
+
type: "Control",
|
|
83
|
+
scope: "#/properties/graph",
|
|
84
|
+
options: {
|
|
85
|
+
widget: "Graph",
|
|
86
|
+
},
|
|
87
|
+
config: {
|
|
88
|
+
layout: {xs :12,sm:12,md:12,lg:12},
|
|
89
|
+
main: {
|
|
90
|
+
type: "StackBarLineGraph",
|
|
91
|
+
legendLabels: null
|
|
92
|
+
},
|
|
93
|
+
style:{ containerStyle: {},labelStyle:{margin:{}} }
|
|
94
|
+
},
|
|
95
|
+
};
|
|
96
|
+
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export const HierarchyChart = {
|
|
2
|
+
type: "Control",
|
|
3
|
+
scope: "#/properties/HierarchyChart",
|
|
4
|
+
options: {
|
|
5
|
+
widget: "HierarchyChart",
|
|
6
|
+
},
|
|
7
|
+
config: {
|
|
8
|
+
layout: {xs :12,sm:12,md:12,lg:12},
|
|
9
|
+
main: {
|
|
10
|
+
},
|
|
11
|
+
style:{ containerStyle: {},labelStyle:{margin:{}} }
|
|
12
|
+
},
|
|
13
|
+
};
|