impaktapps-ui-builder 0.0.412 → 0.0.592-alpha.1
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 +2348 -1644
- 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 +1 -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/buildUiSchema.d.ts +1 -1
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/apiSection.d.ts +35 -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 +20 -0
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/button.d.ts +1 -6
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/card.d.ts +106 -87
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/coreSection.d.ts +15 -0
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/eventSection.d.ts +71 -122
- 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 +4 -106
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/leaderBoard.d.ts +58 -45
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/table.d.ts +1 -0
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/tableSection.d.ts +74 -99
- 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 +1 -0
- package/dist/src/impaktapps-ui-builder/builder/services/component.d.ts +4 -2
- package/dist/src/impaktapps-ui-builder/builder/services/event.d.ts +2 -1
- package/dist/src/impaktapps-ui-builder/builder/services/pageMaster.d.ts +3 -1
- package/dist/src/impaktapps-ui-builder/runtime/services/events.d.ts +1 -1
- package/dist/src/impaktapps-ui-builder/runtime/services/interface.d.ts +1 -0
- package/dist/src/impaktapps-ui-builder/runtime/services/service.d.ts +2 -1
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildBasicUiSchema.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildCard.ts +6 -6
- package/src/impaktapps-ui-builder/builder/build/buildConfig.ts +5 -5
- package/src/impaktapps-ui-builder/builder/build/buildDate.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildFileInput.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildHorizontalBarGraph.ts +7 -2
- package/src/impaktapps-ui-builder/builder/build/buildPieGraph.ts +13 -2
- 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/buildSchema.ts +0 -1
- package/src/impaktapps-ui-builder/builder/build/buildStackBarGraph.ts +1 -5
- package/src/impaktapps-ui-builder/builder/build/buildTable.ts +17 -1
- package/src/impaktapps-ui-builder/builder/build/buildTreeMap.ts +3 -0
- package/src/impaktapps-ui-builder/builder/build/buildUiSchema.ts +7 -7
- package/src/impaktapps-ui-builder/builder/build/buildWrapperSection.ts +1 -1
- 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 +100 -70
- package/src/impaktapps-ui-builder/builder/build/uischema/button.ts +2 -7
- package/src/impaktapps-ui-builder/builder/build/uischema/card.ts +114 -74
- package/src/impaktapps-ui-builder/builder/build/uischema/coreSection.ts +30 -47
- package/src/impaktapps-ui-builder/builder/build/uischema/dateInputField.ts +4 -14
- package/src/impaktapps-ui-builder/builder/build/uischema/emptyBox.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/eventSection.ts +34 -56
- package/src/impaktapps-ui-builder/builder/build/uischema/file.ts +2 -12
- package/src/impaktapps-ui-builder/builder/build/uischema/graph.ts +7 -118
- package/src/impaktapps-ui-builder/builder/build/uischema/leaderBoard.ts +78 -69
- package/src/impaktapps-ui-builder/builder/build/uischema/multiSelect.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/refresh.ts +15 -11
- package/src/impaktapps-ui-builder/builder/build/uischema/selectInputField.ts +1 -6
- package/src/impaktapps-ui-builder/builder/build/uischema/table.ts +5 -7
- package/src/impaktapps-ui-builder/builder/build/uischema/tableSection.ts +85 -101
- package/src/impaktapps-ui-builder/builder/build/uischema/textInputField.ts +1 -6
- 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 +1 -0
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/schema.ts +0 -2
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/uiSchema.ts +346 -172
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/schema.ts +1 -1
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/uiSchema.ts +540 -315
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/schema.ts +1 -0
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/uiSchema.ts +388 -264
- package/src/impaktapps-ui-builder/builder/services/component.ts +26 -9
- package/src/impaktapps-ui-builder/builder/services/event.ts +42 -6
- package/src/impaktapps-ui-builder/builder/services/pageMaster.ts +19 -3
- package/src/impaktapps-ui-builder/builder/services/utils.ts +0 -1
- package/src/impaktapps-ui-builder/runtime/services/events.ts +31 -18
- package/src/impaktapps-ui-builder/runtime/services/interface.ts +1 -0
- package/src/impaktapps-ui-builder/runtime/services/service.ts +135 -15
|
@@ -7,13 +7,16 @@ export default {
|
|
|
7
7
|
label: "LeaderBoard",
|
|
8
8
|
divider: true,
|
|
9
9
|
},
|
|
10
|
-
style:{
|
|
11
|
-
|
|
12
|
-
}},
|
|
10
|
+
style: {
|
|
11
|
+
},
|
|
13
12
|
wrapperStyle: {
|
|
14
13
|
position: "relative",
|
|
15
14
|
width: "100%",
|
|
16
|
-
|
|
15
|
+
},
|
|
16
|
+
componentsBoxStyle: {
|
|
17
|
+
display: "flex",
|
|
18
|
+
flexDirection: "column",
|
|
19
|
+
gap: "20px",
|
|
17
20
|
}
|
|
18
21
|
},
|
|
19
22
|
elements: [
|
|
@@ -24,22 +27,24 @@ export default {
|
|
|
24
27
|
main: {
|
|
25
28
|
url: "https://my.alfred.edu/zoom/_images/foster-lake.jpg",
|
|
26
29
|
},
|
|
27
|
-
containerStyle: {
|
|
28
|
-
objectFit: "cover",
|
|
29
|
-
position: "absolute",
|
|
30
|
-
top: { xs: "90px", "md": "60px" },
|
|
31
|
-
left: { "xs": "calc(50% - 50px)", "sm": "calc(50% - 50px)", "md": "calc(50% - 100px)" },
|
|
32
|
-
width: { "xs": "100px", "sm": "100px", "md": "200px" },
|
|
33
|
-
border: "5px solid rgb(179, 198, 255)",
|
|
34
|
-
height: { "xs": "100px", "sm": "100px", "md": "200px" },
|
|
35
|
-
borderRadius: "50%"
|
|
36
|
-
|
|
37
|
-
},
|
|
38
30
|
style: {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
31
|
+
imageStyle: {
|
|
32
|
+
objectFit: "cover",
|
|
33
|
+
width: "100%",
|
|
34
|
+
height: "100%",
|
|
35
|
+
borderRadius: "50%"
|
|
36
|
+
},
|
|
37
|
+
containerStyle: {
|
|
38
|
+
objectFit: "cover",
|
|
39
|
+
position: "absolute",
|
|
40
|
+
top: { xs: "90px", "md": "60px" },
|
|
41
|
+
left: { "xs": "calc(50% - 50px)", "sm": "calc(50% - 50px)", "md": "calc(50% - 100px)" },
|
|
42
|
+
width: { "xs": "100px", "sm": "100px", "md": "200px" },
|
|
43
|
+
border: "5px solid rgb(179, 198, 255)",
|
|
44
|
+
height: { "xs": "100px", "sm": "100px", "md": "200px" },
|
|
45
|
+
borderRadius: "50%"
|
|
46
|
+
|
|
47
|
+
},
|
|
43
48
|
|
|
44
49
|
},
|
|
45
50
|
layout: 6,
|
|
@@ -48,7 +53,7 @@ export default {
|
|
|
48
53
|
widget: "Image",
|
|
49
54
|
},
|
|
50
55
|
},
|
|
51
|
-
|
|
56
|
+
|
|
52
57
|
{
|
|
53
58
|
type: "Control",
|
|
54
59
|
scope: "#/properties/leaderBoard/properties/secondImage",
|
|
@@ -56,22 +61,24 @@ export default {
|
|
|
56
61
|
main: {
|
|
57
62
|
url: "https://my.alfred.edu/zoom/_images/foster-lake.jpg",
|
|
58
63
|
},
|
|
59
|
-
containerStyle: {
|
|
60
|
-
objectFit: "cover",
|
|
61
|
-
position: "absolute",
|
|
62
|
-
top: { xs: "160px", "md": "130px" },
|
|
63
|
-
left: { "xs": "calc(25% - 45px)", "sm": "calc(25% - 45px)", "md": "calc(25% - 90px)" },
|
|
64
|
-
width: { "xs": "80px", "sm": "80px", "md": "180px" },
|
|
65
|
-
border: "5px solid rgb(179, 198, 255)",
|
|
66
|
-
height: { "xs": "80px", "sm": "80px", "md": "180px" },
|
|
67
|
-
borderRadius: "50%"
|
|
68
|
-
|
|
69
|
-
},
|
|
70
64
|
style: {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
65
|
+
imageStyle: {
|
|
66
|
+
objectFit: "cover",
|
|
67
|
+
width: "100%",
|
|
68
|
+
height: "100%",
|
|
69
|
+
borderRadius: "50%"
|
|
70
|
+
},
|
|
71
|
+
containerStyle: {
|
|
72
|
+
objectFit: "cover",
|
|
73
|
+
position: "absolute",
|
|
74
|
+
top: { xs: "160px", "md": "130px" },
|
|
75
|
+
left: { "xs": "calc(25% - 45px)", "sm": "calc(25% - 45px)", "md": "calc(25% - 90px)" },
|
|
76
|
+
width: { "xs": "80px", "sm": "80px", "md": "180px" },
|
|
77
|
+
border: "5px solid rgb(179, 198, 255)",
|
|
78
|
+
height: { "xs": "80px", "sm": "80px", "md": "180px" },
|
|
79
|
+
borderRadius: "50%"
|
|
80
|
+
|
|
81
|
+
},
|
|
75
82
|
|
|
76
83
|
},
|
|
77
84
|
layout: 6,
|
|
@@ -87,22 +94,24 @@ export default {
|
|
|
87
94
|
main: {
|
|
88
95
|
url: "https://my.alfred.edu/zoom/_images/foster-lake.jpg",
|
|
89
96
|
},
|
|
90
|
-
containerStyle: {
|
|
91
|
-
objectFit: "cover",
|
|
92
|
-
position: "absolute",
|
|
93
|
-
top: { xs: "160px", "md": "130px" },
|
|
94
|
-
left: { "xs": "calc(75% - 42.5px)", "sm": "calc(75% - 42.5px)", "md": "calc(75% - 85px)" },
|
|
95
|
-
width: { "xs": "80px", "sm": "80px", "md": "180px" },
|
|
96
|
-
border: "5px solid rgb(179, 198, 255)",
|
|
97
|
-
height: { "xs": "80px", "sm": "80px", "md": "180px" },
|
|
98
|
-
borderRadius: "50%"
|
|
99
|
-
|
|
100
|
-
},
|
|
101
97
|
style: {
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
98
|
+
imageStyle: {
|
|
99
|
+
objectFit: "cover",
|
|
100
|
+
width: "100%",
|
|
101
|
+
height: "100%",
|
|
102
|
+
borderRadius: "50%"
|
|
103
|
+
},
|
|
104
|
+
containerStyle: {
|
|
105
|
+
objectFit: "cover",
|
|
106
|
+
position: "absolute",
|
|
107
|
+
top: { xs: "160px", "md": "130px" },
|
|
108
|
+
left: { "xs": "calc(75% - 42.5px)", "sm": "calc(75% - 42.5px)", "md": "calc(75% - 85px)" },
|
|
109
|
+
width: { "xs": "80px", "sm": "80px", "md": "180px" },
|
|
110
|
+
border: "5px solid rgb(179, 198, 255)",
|
|
111
|
+
height: { "xs": "80px", "sm": "80px", "md": "180px" },
|
|
112
|
+
borderRadius: "50%"
|
|
113
|
+
|
|
114
|
+
},
|
|
106
115
|
|
|
107
116
|
},
|
|
108
117
|
layout: 6,
|
|
@@ -132,7 +141,7 @@ export default {
|
|
|
132
141
|
fontWeight: "bold",
|
|
133
142
|
borderRadius: "50%",
|
|
134
143
|
zIndex: 7
|
|
135
|
-
|
|
144
|
+
|
|
136
145
|
},
|
|
137
146
|
layout: 6,
|
|
138
147
|
},
|
|
@@ -194,10 +203,10 @@ export default {
|
|
|
194
203
|
widget: "Box",
|
|
195
204
|
},
|
|
196
205
|
},
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
|
|
209
|
+
|
|
201
210
|
{
|
|
202
211
|
type: "Control",
|
|
203
212
|
scope: "#/properties/econd",
|
|
@@ -231,7 +240,7 @@ export default {
|
|
|
231
240
|
animation: 'rotateAnimation 4s infinite',
|
|
232
241
|
borderRadius: "50%",
|
|
233
242
|
zIndex: 5
|
|
234
|
-
|
|
243
|
+
|
|
235
244
|
},
|
|
236
245
|
layout: 6,
|
|
237
246
|
},
|
|
@@ -239,7 +248,7 @@ export default {
|
|
|
239
248
|
widget: "Box",
|
|
240
249
|
},
|
|
241
250
|
},
|
|
242
|
-
|
|
251
|
+
|
|
243
252
|
{
|
|
244
253
|
type: "Control",
|
|
245
254
|
scope: "#/properties/first",
|
|
@@ -273,8 +282,8 @@ export default {
|
|
|
273
282
|
height: { xs: "20px", md: "40px" },
|
|
274
283
|
borderRadius: "50%",
|
|
275
284
|
zIndex: 5
|
|
276
|
-
|
|
277
|
-
|
|
285
|
+
|
|
286
|
+
|
|
278
287
|
},
|
|
279
288
|
layout: 6,
|
|
280
289
|
},
|
|
@@ -304,7 +313,7 @@ export default {
|
|
|
304
313
|
width: { xs: "20px", md: "40px" },
|
|
305
314
|
border: { xs: "2px solid rgb(179, 198, 255)", md: "5px solid rgb(179, 198, 255)" },
|
|
306
315
|
height: { xs: "20px", md: "40px" },
|
|
307
|
-
|
|
316
|
+
|
|
308
317
|
'@keyframes rotateAnimation': {
|
|
309
318
|
from: {
|
|
310
319
|
transform: 'rotate(0deg)',
|
|
@@ -316,8 +325,8 @@ export default {
|
|
|
316
325
|
animation: 'rotateAnimation 4s infinite',
|
|
317
326
|
borderRadius: "50%",
|
|
318
327
|
zIndex: 5
|
|
319
|
-
|
|
320
|
-
|
|
328
|
+
|
|
329
|
+
|
|
321
330
|
},
|
|
322
331
|
layout: 6,
|
|
323
332
|
},
|
|
@@ -330,7 +339,7 @@ export default {
|
|
|
330
339
|
scope: "#/properties/leaderBoard/properties/table",
|
|
331
340
|
options: {
|
|
332
341
|
widget: "Table",
|
|
333
|
-
|
|
342
|
+
|
|
334
343
|
},
|
|
335
344
|
elements: [],
|
|
336
345
|
config: {
|
|
@@ -339,22 +348,22 @@ export default {
|
|
|
339
348
|
fontWeight: 900,
|
|
340
349
|
background: "rgb(179, 198, 255)"
|
|
341
350
|
},
|
|
342
|
-
position: "absolute",
|
|
343
351
|
top: { xs: "300px", sm: "300px", md: "390px", lg: "390px" },
|
|
344
352
|
// top:"390px",
|
|
345
353
|
border: "2px solid rgb(179, 198, 255)",
|
|
346
354
|
width: "95%",
|
|
347
|
-
left: "2.5%"
|
|
348
|
-
|
|
355
|
+
left: "2.5%",
|
|
356
|
+
margin: "auto"
|
|
357
|
+
|
|
349
358
|
},
|
|
350
|
-
|
|
359
|
+
|
|
351
360
|
main: {
|
|
352
361
|
disableAction: true,
|
|
353
362
|
disableSelection: true,
|
|
354
|
-
|
|
363
|
+
|
|
355
364
|
},
|
|
356
365
|
},
|
|
357
|
-
|
|
366
|
+
|
|
358
367
|
}
|
|
359
368
|
],
|
|
360
369
|
};
|
|
@@ -19,12 +19,7 @@ export const refreshSectionUiSchema = {
|
|
|
19
19
|
widget: "InputField",
|
|
20
20
|
},
|
|
21
21
|
config: {
|
|
22
|
-
layout: {
|
|
23
|
-
xs: 11,
|
|
24
|
-
sm: 11,
|
|
25
|
-
md: 5.5,
|
|
26
|
-
lg: 5.5,
|
|
27
|
-
},
|
|
22
|
+
layout: { xs: 12, sm: 6, md: 4, lg: 4 },
|
|
28
23
|
main: {
|
|
29
24
|
label: "Value",
|
|
30
25
|
},
|
|
@@ -38,12 +33,21 @@ export const refreshSectionUiSchema = {
|
|
|
38
33
|
widget: "EmptyBox",
|
|
39
34
|
},
|
|
40
35
|
config: {
|
|
41
|
-
layout: {
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
md: 5.5,
|
|
45
|
-
lg: 5.5,
|
|
36
|
+
layout: { xs: 0, sm: 6, md: 4, lg: 4 },
|
|
37
|
+
main: {
|
|
38
|
+
|
|
46
39
|
},
|
|
40
|
+
},
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
type: "Control",
|
|
44
|
+
scope: "#/properties/emptyBox",
|
|
45
|
+
|
|
46
|
+
options: {
|
|
47
|
+
widget: "EmptyBox",
|
|
48
|
+
},
|
|
49
|
+
config: {
|
|
50
|
+
layout: { xs: 0, sm: 0, md: 4, lg: 4 },
|
|
47
51
|
main: {
|
|
48
52
|
|
|
49
53
|
},
|
|
@@ -4,17 +4,15 @@ export default {
|
|
|
4
4
|
options: {
|
|
5
5
|
widget: "Table",
|
|
6
6
|
},
|
|
7
|
-
elements:[],
|
|
7
|
+
elements: [],
|
|
8
8
|
config: {
|
|
9
9
|
main: {
|
|
10
|
-
onMount:"onMount",
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
10
|
+
onMount: "onMount",
|
|
11
|
+
enableExpandAll: true,
|
|
12
|
+
allRowData: [],
|
|
13
|
+
downloadAllData: false,
|
|
14
14
|
columns: {
|
|
15
|
-
//@ts-ignore
|
|
16
15
|
dataColumns: [],
|
|
17
|
-
//@ts-ignore
|
|
18
16
|
actionColumns: [],
|
|
19
17
|
},
|
|
20
18
|
},
|
|
@@ -1,124 +1,108 @@
|
|
|
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
|
+
]
|
|
13
39
|
},
|
|
40
|
+
disableAction: true,
|
|
41
|
+
disableSelection: true,
|
|
42
|
+
enableDrag: true,
|
|
43
|
+
|
|
44
|
+
},
|
|
45
|
+
},
|
|
46
|
+
elements: [
|
|
47
|
+
{
|
|
48
|
+
accessorKey: "name",
|
|
49
|
+
header: "Name"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
accessorKey: "type",
|
|
53
|
+
header: "Type"
|
|
14
54
|
},
|
|
15
|
-
|
|
16
|
-
|
|
55
|
+
{
|
|
56
|
+
header: "Edit Record",
|
|
57
|
+
field: "Reject_Records",
|
|
58
|
+
flex: 1,
|
|
59
|
+
widget: {
|
|
17
60
|
type: "Control",
|
|
18
|
-
scope: "#/properties/
|
|
19
|
-
|
|
61
|
+
scope: "#/properties/RejectButton",
|
|
20
62
|
options: {
|
|
21
|
-
widget: "
|
|
63
|
+
widget: "IconButton",
|
|
22
64
|
},
|
|
23
65
|
config: {
|
|
24
|
-
layout: 8,
|
|
25
66
|
main: {
|
|
26
|
-
|
|
67
|
+
icon: "EditIcon",
|
|
68
|
+
color: "primary",
|
|
69
|
+
onClick: "editComponents",
|
|
70
|
+
tooltipMessage: "Reject This Record",
|
|
27
71
|
},
|
|
72
|
+
|
|
28
73
|
style: {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
paddingLeft:"-10px",
|
|
32
|
-
fontSize: "20px",},
|
|
74
|
+
color: theme.palette.primary.main,
|
|
75
|
+
},
|
|
33
76
|
},
|
|
34
77
|
},
|
|
35
|
-
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
header: "Delete",
|
|
81
|
+
field: "Reject_Records",
|
|
82
|
+
flex: 1,
|
|
83
|
+
widget: {
|
|
36
84
|
type: "Control",
|
|
37
|
-
scope: "#/properties/
|
|
38
|
-
|
|
85
|
+
scope: "#/properties/RejectButton",
|
|
39
86
|
options: {
|
|
40
87
|
widget: "IconButton",
|
|
41
88
|
},
|
|
42
89
|
config: {
|
|
43
|
-
layout: 3,
|
|
44
90
|
main: {
|
|
45
|
-
icon: "
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
tooltipMessage: "Add New",
|
|
50
|
-
},
|
|
51
|
-
style: {
|
|
52
|
-
float: "right",
|
|
91
|
+
icon: "RejectIcon",
|
|
92
|
+
color: "error",
|
|
93
|
+
onClick: "deletePopUpComponent",
|
|
94
|
+
tooltipMessage: "Reject This Record",
|
|
53
95
|
},
|
|
54
96
|
},
|
|
55
97
|
},
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
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
|
-
},
|
|
98
|
-
},
|
|
99
|
-
{
|
|
100
|
-
header: "Delete",
|
|
101
|
-
field: "Reject_Records",
|
|
102
|
-
flex: 1,
|
|
103
|
-
widget: {
|
|
104
|
-
type: "Control",
|
|
105
|
-
scope: "#/properties/RejectButton",
|
|
106
|
-
options: {
|
|
107
|
-
widget: "IconButton",
|
|
108
|
-
},
|
|
109
|
-
config: {
|
|
110
|
-
main: {
|
|
111
|
-
icon: "RejectIcon",
|
|
112
|
-
color: "error",
|
|
113
|
-
onClick: "deleteComponents",
|
|
114
|
-
tooltipMessage: "Reject This Record",
|
|
115
|
-
},
|
|
116
|
-
},
|
|
117
|
-
},
|
|
118
|
-
}
|
|
119
|
-
]
|
|
120
|
-
}]}
|
|
121
|
-
]}
|
|
98
|
+
}
|
|
99
|
+
]
|
|
100
|
+
}]
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
return uiSchema
|
|
104
|
+
}
|
|
105
|
+
// ]}
|
|
122
106
|
|
|
123
107
|
export const TableSectionSchema = {
|
|
124
108
|
columns: {
|
|
@@ -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
|
},
|
|
@@ -39,8 +39,6 @@ export const ComponentSchema: any = {
|
|
|
39
39
|
{ title: "Text Area", const: "TextArea" },
|
|
40
40
|
{ title: "Timer", const: "Timer" },
|
|
41
41
|
{ title: "Upload File", const: "UploadFile" },
|
|
42
|
-
{ title: "Timer", const: "Timer" },
|
|
43
|
-
{ title: "Upload File", const: "UploadFile" },
|
|
44
42
|
{ title: "TreeMap", const: "TreeMap" },
|
|
45
43
|
{ title: "ColumnGroup", const: "ColumnGroup" },
|
|
46
44
|
]
|