impaktapps-ui-builder 0.0.412-mtreemap.6 → 0.0.412-mtreemap.7
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 +936 -891
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +4 -4
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/uiSchema.ts +223 -123
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/uiSchema.ts +496 -353
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/uiSchema.ts +401 -285
- package/src/impaktapps-ui-builder/builder/services/component.ts +3 -3
- package/src/impaktapps-ui-builder/builder/services/event.ts +8 -8
- package/src/impaktapps-ui-builder/builder/services/pageMaster.ts +1 -1
|
@@ -1,402 +1,545 @@
|
|
|
1
1
|
import { EventUiSchema } from "../event/uiSchema"
|
|
2
|
-
export const PageMasterUiSchema: any = {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
},
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
2
|
+
export const PageMasterUiSchema: any = (theme) => {
|
|
3
|
+
const uiSchema = {
|
|
4
|
+
type: "HorizontalLayout",
|
|
5
|
+
heading: "Page Master",
|
|
6
|
+
elements: [
|
|
7
|
+
// {
|
|
8
|
+
// type: "WrapperLayout",
|
|
9
|
+
// config: {
|
|
10
|
+
// main: {
|
|
11
|
+
// rowSpacing: 1,
|
|
12
|
+
// header: true,
|
|
13
|
+
// },
|
|
14
|
+
// defaultStyle: true,
|
|
15
|
+
// },
|
|
16
|
+
// elements: [
|
|
17
|
+
// {
|
|
18
|
+
// type: "Control",
|
|
19
|
+
// scope: "#/properties/pageMaster",
|
|
18
20
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
+
// options: {
|
|
22
|
+
// widget: "Box",
|
|
23
|
+
// },
|
|
24
|
+
// config: {
|
|
25
|
+
// layout: 8,
|
|
26
|
+
// main: {
|
|
27
|
+
// heading: "Page Master",
|
|
28
|
+
// },
|
|
29
|
+
// },
|
|
30
|
+
// },
|
|
31
|
+
// {
|
|
32
|
+
// type: "Control",
|
|
33
|
+
// scope: "#/properties/Back_Button",
|
|
34
|
+
|
|
35
|
+
// options: {
|
|
36
|
+
// widget: "IconButton",
|
|
37
|
+
// },
|
|
38
|
+
// config: {
|
|
39
|
+
// layout: 3,
|
|
40
|
+
// main: {
|
|
41
|
+
// icon: "BackIcon",
|
|
42
|
+
// styleDefault: true,
|
|
43
|
+
// size: "small",
|
|
44
|
+
// onClick: "backHandler",
|
|
45
|
+
// tooltipMessage: "Back",
|
|
46
|
+
// },
|
|
47
|
+
// style: {
|
|
48
|
+
// float: "right",
|
|
49
|
+
// },
|
|
50
|
+
// },
|
|
51
|
+
// },
|
|
52
|
+
// ],
|
|
53
|
+
// },
|
|
54
|
+
{
|
|
55
|
+
type: "WrapperLayout",
|
|
56
|
+
config: {
|
|
57
|
+
main: {
|
|
58
|
+
// label: "Page Template",
|
|
59
|
+
// isAccordion: true,
|
|
21
60
|
},
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
main: {
|
|
25
|
-
heading: "Page Master",
|
|
26
|
-
},
|
|
61
|
+
wrapperStyle: {
|
|
62
|
+
backgroundColor: theme.palette.background.default
|
|
27
63
|
},
|
|
64
|
+
defaultStyle: true,
|
|
28
65
|
},
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
66
|
+
elements: [
|
|
67
|
+
{
|
|
68
|
+
type: "Control",
|
|
69
|
+
scope: "#/properties/name",
|
|
32
70
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
},
|
|
36
|
-
config: {
|
|
37
|
-
layout: 3,
|
|
38
|
-
main: {
|
|
39
|
-
icon: "BackIcon",
|
|
40
|
-
styleDefault: true,
|
|
41
|
-
size: "small",
|
|
42
|
-
onClick: "backHandler",
|
|
43
|
-
tooltipMessage: "Back",
|
|
71
|
+
options: {
|
|
72
|
+
widget: "InputField",
|
|
44
73
|
},
|
|
45
|
-
|
|
46
|
-
|
|
74
|
+
config: {
|
|
75
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
76
|
+
main: {
|
|
77
|
+
label: "Name",
|
|
78
|
+
options: [],
|
|
79
|
+
color: "secondary",
|
|
80
|
+
errorMessage: "Name should be start with 'page_'",
|
|
81
|
+
helperText: 'Name should be start with "page_"',
|
|
82
|
+
required: true,
|
|
83
|
+
},
|
|
47
84
|
},
|
|
48
85
|
},
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
{
|
|
53
|
-
type: "WrapperLayout",
|
|
54
|
-
config: {
|
|
55
|
-
main: {
|
|
56
|
-
label: "Page Template",
|
|
57
|
-
divider: true,
|
|
58
|
-
},
|
|
59
|
-
defaultStyle: true,
|
|
60
|
-
},
|
|
61
|
-
elements: [
|
|
62
|
-
{
|
|
63
|
-
type: "Control",
|
|
64
|
-
scope: "#/properties/name",
|
|
86
|
+
{
|
|
87
|
+
type: "Control",
|
|
88
|
+
scope: "#/properties/template",
|
|
65
89
|
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
90
|
+
options: {
|
|
91
|
+
widget: "SelectInputField",
|
|
92
|
+
},
|
|
93
|
+
config: {
|
|
94
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
95
|
+
main: {
|
|
96
|
+
label: "Template",
|
|
97
|
+
options: [
|
|
98
|
+
{ const: "template1", title: "template1" },
|
|
99
|
+
{ const: "template2", title: "template2" },
|
|
100
|
+
{ const: "template3", title: "template3" }
|
|
101
|
+
],
|
|
102
|
+
color: "secondary",
|
|
103
|
+
required: true,
|
|
104
|
+
},
|
|
78
105
|
},
|
|
79
106
|
},
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
scope: "#/properties/template",
|
|
107
|
+
{
|
|
108
|
+
type: "Control",
|
|
109
|
+
scope: "#/properties/label",
|
|
84
110
|
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
],
|
|
97
|
-
color: "secondary",
|
|
98
|
-
required: true,
|
|
111
|
+
options: {
|
|
112
|
+
widget: "InputField",
|
|
113
|
+
},
|
|
114
|
+
config: {
|
|
115
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
116
|
+
main: {
|
|
117
|
+
label: "Label",
|
|
118
|
+
options: [],
|
|
119
|
+
color: "secondary",
|
|
120
|
+
required: true,
|
|
121
|
+
},
|
|
99
122
|
},
|
|
100
123
|
},
|
|
101
|
-
|
|
102
|
-
],
|
|
103
|
-
},
|
|
104
|
-
{
|
|
105
|
-
type: "TabLayout",
|
|
106
|
-
config: {
|
|
107
|
-
main: {
|
|
108
|
-
tabLabels: ["Components", "events"],
|
|
109
|
-
divider: true,
|
|
110
|
-
},
|
|
111
|
-
defaultStyle: true,
|
|
124
|
+
],
|
|
112
125
|
},
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
divider: true,
|
|
120
|
-
},
|
|
121
|
-
wrapperStyle: {
|
|
122
|
-
border: "1px solid gray"
|
|
123
|
-
},
|
|
126
|
+
{
|
|
127
|
+
type: "TabLayout",
|
|
128
|
+
config: {
|
|
129
|
+
main: {
|
|
130
|
+
tabLabels: ["Components", "events"],
|
|
131
|
+
divider: true,
|
|
124
132
|
},
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
133
|
+
defaultStyle: true,
|
|
134
|
+
},
|
|
135
|
+
elements: [
|
|
136
|
+
// {
|
|
137
|
+
// type: "WrapperLayout",
|
|
138
|
+
// config: {
|
|
139
|
+
// main: {
|
|
140
|
+
// // label: "Success Case Event",
|
|
141
|
+
// divider: true,
|
|
142
|
+
// },
|
|
143
|
+
// // wrapperStyle: {
|
|
144
|
+
// // border: "1px solid gray"
|
|
145
|
+
// // },
|
|
146
|
+
// },
|
|
147
|
+
// elements: [
|
|
148
|
+
{
|
|
149
|
+
type: "Control",
|
|
150
|
+
scope: "#/properties/elements",
|
|
151
|
+
options: {
|
|
152
|
+
widget: "Table",
|
|
145
153
|
},
|
|
146
|
-
{
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
154
|
+
config: {
|
|
155
|
+
main: {
|
|
156
|
+
headerIcons: {
|
|
157
|
+
elements: [
|
|
158
|
+
{
|
|
159
|
+
widget: {
|
|
160
|
+
type: "Control",
|
|
161
|
+
scope: "#/properties/New_Record",
|
|
162
|
+
|
|
163
|
+
options: {
|
|
164
|
+
widget: "IconButton",
|
|
165
|
+
},
|
|
166
|
+
config: {
|
|
167
|
+
main: {
|
|
168
|
+
// color: "info",
|
|
169
|
+
onClick: "onAddClickHandler",
|
|
170
|
+
size: "small",
|
|
171
|
+
icon: "AddIcon",
|
|
172
|
+
iconLabel: "Add New",
|
|
173
|
+
styleDefault: true,
|
|
174
|
+
},
|
|
175
|
+
style: {
|
|
176
|
+
mt: "6px",
|
|
177
|
+
},
|
|
178
|
+
},
|
|
179
|
+
}
|
|
180
|
+
},
|
|
181
|
+
]
|
|
163
182
|
},
|
|
164
|
-
|
|
183
|
+
disableAction: true,
|
|
184
|
+
disableSelection: true,
|
|
185
|
+
enableDrag: true,
|
|
186
|
+
}
|
|
165
187
|
},
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
options: {
|
|
170
|
-
widget: "Table",
|
|
171
|
-
},
|
|
172
|
-
config: {
|
|
173
|
-
main: {
|
|
174
|
-
disableAction: true,
|
|
175
|
-
disableSelection: true,
|
|
176
|
-
enableDrag: true,
|
|
177
|
-
}
|
|
178
|
-
},
|
|
179
|
-
elements: [
|
|
180
|
-
{
|
|
181
|
-
accessorKey: "name",
|
|
188
|
+
elements: [
|
|
189
|
+
{
|
|
190
|
+
accessorKey: "name",
|
|
182
191
|
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
192
|
+
header: "Name",
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
accessorKey: "type",
|
|
187
196
|
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
197
|
+
header: "Type",
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
header: "Edit",
|
|
201
|
+
field: "Reject_Records",
|
|
202
|
+
flex: 1,
|
|
203
|
+
widget: {
|
|
204
|
+
type: "Control",
|
|
205
|
+
scope: "#/properties/RejectButton",
|
|
206
|
+
options: {
|
|
207
|
+
widget: "IconButton",
|
|
208
|
+
},
|
|
209
|
+
config: {
|
|
210
|
+
main: {
|
|
211
|
+
icon: "EditIcon",
|
|
212
|
+
color: "primary",
|
|
213
|
+
onClick: "Edit_Components",
|
|
214
|
+
tooltipMessage: "Edit This Record",
|
|
215
|
+
},
|
|
206
216
|
},
|
|
207
217
|
},
|
|
208
218
|
},
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
219
|
+
{
|
|
220
|
+
header: "Delete",
|
|
221
|
+
field: "Reject_Records",
|
|
222
|
+
flex: 1,
|
|
223
|
+
widget: {
|
|
224
|
+
type: "Control",
|
|
225
|
+
scope: "#/properties/RejectButton",
|
|
226
|
+
options: {
|
|
227
|
+
widget: "IconButton",
|
|
228
|
+
},
|
|
229
|
+
config: {
|
|
230
|
+
main: {
|
|
231
|
+
icon: "RejectIcon",
|
|
232
|
+
color: "error",
|
|
233
|
+
onClick: "Delete_Components",
|
|
234
|
+
tooltipMessage: "Reject This Record",
|
|
235
|
+
},
|
|
226
236
|
},
|
|
227
237
|
},
|
|
228
|
-
}
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
}]},
|
|
232
|
-
{
|
|
233
|
-
type: "WrapperLayout",
|
|
234
|
-
config: {
|
|
235
|
-
main: {
|
|
236
|
-
// label: "Success Case Event",
|
|
237
|
-
divider: true,
|
|
238
|
-
},
|
|
239
|
-
wrapperStyle: {
|
|
240
|
-
border: "1px solid gray"
|
|
241
|
-
},
|
|
238
|
+
}
|
|
239
|
+
]
|
|
240
|
+
// }]
|
|
242
241
|
},
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
242
|
+
// {
|
|
243
|
+
// type: "WrapperLayout",
|
|
244
|
+
// config: {
|
|
245
|
+
// main: {
|
|
246
|
+
// // label: "Success Case Event",
|
|
247
|
+
// // divider: true,
|
|
248
|
+
// },
|
|
249
|
+
// wrapperStyle: {
|
|
250
|
+
// border: "1px solid gray"
|
|
251
|
+
// },
|
|
252
|
+
// },
|
|
253
|
+
// elements: [
|
|
254
|
+
// {
|
|
255
|
+
// type: "Control",
|
|
256
|
+
// scope: "#/properties/heading",
|
|
257
|
+
|
|
258
|
+
// options: {
|
|
259
|
+
// widget: "Box",
|
|
260
|
+
// },
|
|
261
|
+
// config: {
|
|
262
|
+
// layout: 8,
|
|
263
|
+
// main: {
|
|
264
|
+
// heading: "Event Table",
|
|
265
|
+
// },
|
|
266
|
+
// style: {
|
|
267
|
+
// fontFamily: "Roboto",
|
|
268
|
+
// fontWeight: "500",
|
|
269
|
+
// paddingLeft: "-10px",
|
|
270
|
+
// fontSize: "20px",
|
|
271
|
+
// },
|
|
272
|
+
// },
|
|
273
|
+
// },
|
|
274
|
+
// {
|
|
275
|
+
// type: "Control",
|
|
276
|
+
// scope: "#/properties/AddButton",
|
|
277
|
+
// options: {
|
|
278
|
+
// widget: "IconButton",
|
|
279
|
+
// },
|
|
280
|
+
// config: {
|
|
281
|
+
// layout: 3,
|
|
282
|
+
// main: {
|
|
283
|
+
// icon: "AddIcon",
|
|
284
|
+
// styleDefault: true,
|
|
285
|
+
// size: "small",
|
|
286
|
+
// onClick: "eventAddHandler",
|
|
287
|
+
// tooltipMessage: "Back",
|
|
288
|
+
// },
|
|
289
|
+
// style: {
|
|
290
|
+
// float: "right",
|
|
291
|
+
// },
|
|
292
|
+
// },
|
|
293
|
+
// },
|
|
294
|
+
|
|
295
|
+
{
|
|
296
|
+
type: "Control",
|
|
297
|
+
scope: "#/properties/events",
|
|
298
|
+
options: {
|
|
299
|
+
widget: "Table",
|
|
263
300
|
},
|
|
264
|
-
{
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
301
|
+
config: {
|
|
302
|
+
main: {
|
|
303
|
+
headerIcons: {
|
|
304
|
+
elements: [
|
|
305
|
+
{
|
|
306
|
+
widget: {
|
|
307
|
+
type: "Control",
|
|
308
|
+
scope: "#/properties/New_Record",
|
|
309
|
+
|
|
310
|
+
options: {
|
|
311
|
+
widget: "IconButton",
|
|
312
|
+
},
|
|
313
|
+
config: {
|
|
314
|
+
main: {
|
|
315
|
+
// color: "info",
|
|
316
|
+
onClick: "eventAddHandler",
|
|
317
|
+
size: "small",
|
|
318
|
+
icon: "AddIcon",
|
|
319
|
+
iconLabel: "Add New",
|
|
320
|
+
styleDefault: true,
|
|
321
|
+
},
|
|
322
|
+
style: {
|
|
323
|
+
mt: "6px",
|
|
324
|
+
},
|
|
325
|
+
},
|
|
326
|
+
}
|
|
327
|
+
},
|
|
328
|
+
]
|
|
281
329
|
},
|
|
330
|
+
|
|
331
|
+
disableAction: true,
|
|
332
|
+
disableSelection: true,
|
|
333
|
+
enableDrag: true,
|
|
334
|
+
|
|
282
335
|
},
|
|
283
336
|
},
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
widget: "Table",
|
|
337
|
+
elements: [
|
|
338
|
+
|
|
339
|
+
{
|
|
340
|
+
accessorKey: "eventType",
|
|
341
|
+
header: "Event Type",
|
|
290
342
|
},
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
disableSelection: true,
|
|
295
|
-
enableDrag: true,
|
|
296
|
-
|
|
297
|
-
},
|
|
343
|
+
{
|
|
344
|
+
accessorKey: "Handler",
|
|
345
|
+
header: "Handler",
|
|
298
346
|
},
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
options: {
|
|
316
|
-
widget: "IconButton",
|
|
347
|
+
{
|
|
348
|
+
accessorKey: "Edit_Approve_Records",
|
|
349
|
+
header: "Edit Widget",
|
|
350
|
+
widget: {
|
|
351
|
+
type: "Control",
|
|
352
|
+
scope: "#/properties/Edit_Records",
|
|
353
|
+
options: {
|
|
354
|
+
widget: "IconButton",
|
|
355
|
+
},
|
|
356
|
+
config: {
|
|
357
|
+
main: {
|
|
358
|
+
color: "info",
|
|
359
|
+
size: "small",
|
|
360
|
+
icon: "EditIcon",
|
|
361
|
+
tooltipMessage: "Edit This Record",
|
|
362
|
+
onClick: "editEvent",
|
|
317
363
|
},
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
color: "info",
|
|
321
|
-
size: "small",
|
|
322
|
-
icon: "EditIcon",
|
|
323
|
-
tooltipMessage: "Edit This Record",
|
|
324
|
-
onClick: "editEvent",
|
|
325
|
-
},
|
|
326
|
-
style: {
|
|
327
|
-
color: "#3949ab",
|
|
328
|
-
},
|
|
364
|
+
style: {
|
|
365
|
+
color: "#3949ab",
|
|
329
366
|
},
|
|
330
367
|
},
|
|
331
368
|
},
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
369
|
+
},
|
|
370
|
+
{
|
|
371
|
+
accessorKey: "Reject_Records",
|
|
372
|
+
header: "Delete",
|
|
373
|
+
widget: {
|
|
374
|
+
type: "Control",
|
|
375
|
+
scope: "#/properties/RejectButton",
|
|
376
|
+
options: {
|
|
377
|
+
widget: "IconButton",
|
|
378
|
+
},
|
|
379
|
+
config: {
|
|
380
|
+
main: {
|
|
381
|
+
icon: "RejectIcon",
|
|
382
|
+
color: "error",
|
|
383
|
+
tooltipMessage: "Reject This Record",
|
|
384
|
+
onClick: "deleteEvent",
|
|
348
385
|
},
|
|
349
386
|
},
|
|
350
387
|
},
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
{
|
|
358
|
-
type: "Control",
|
|
359
|
-
scope: "#/properties/btn",
|
|
360
|
-
options: {
|
|
361
|
-
widget: "EmptyBox",
|
|
388
|
+
},
|
|
389
|
+
]
|
|
390
|
+
// }]
|
|
391
|
+
},
|
|
392
|
+
|
|
393
|
+
],
|
|
362
394
|
},
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
395
|
+
{
|
|
396
|
+
type: "Control",
|
|
397
|
+
scope: "#/properties/btn",
|
|
398
|
+
options: {
|
|
399
|
+
widget: "EmptyBox",
|
|
400
|
+
},
|
|
401
|
+
config: {
|
|
402
|
+
layout: { xs: 0, sm: 0, md: 8, lg: 7 },
|
|
403
|
+
}
|
|
372
404
|
},
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
startIcon: "ApproveIcon",
|
|
379
|
-
variant: "contained",
|
|
380
|
-
color: "info",
|
|
381
|
-
type: "text",
|
|
382
|
-
onClick: "saveHandler",
|
|
383
|
-
size: "small",
|
|
405
|
+
{
|
|
406
|
+
type: "Control",
|
|
407
|
+
scope: "#/properties/btn",
|
|
408
|
+
options: {
|
|
409
|
+
widget: "Button",
|
|
384
410
|
},
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
411
|
+
|
|
412
|
+
config: {
|
|
413
|
+
layout: 11.9,
|
|
414
|
+
main: {
|
|
415
|
+
name: "Save",
|
|
416
|
+
startIcon: "ApproveIcon",
|
|
417
|
+
variant: "contained",
|
|
418
|
+
// color: "info",
|
|
419
|
+
type: "text",
|
|
420
|
+
onClick: "saveHandler",
|
|
421
|
+
size: "medium",
|
|
422
|
+
},
|
|
423
|
+
style: {
|
|
424
|
+
width: { xs: "90%", sm: "90%", md: "20%", lg: "10%" },
|
|
425
|
+
float: "right",
|
|
426
|
+
},
|
|
389
427
|
},
|
|
390
428
|
},
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
429
|
+
{
|
|
430
|
+
type: "Control",
|
|
431
|
+
scope: "#/properties/notify",
|
|
432
|
+
options: {
|
|
433
|
+
widget: "Notify",
|
|
434
|
+
},
|
|
435
|
+
layout: 6,
|
|
397
436
|
},
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
437
|
+
{
|
|
438
|
+
type: "HorizontalLayout",
|
|
439
|
+
config: {
|
|
440
|
+
main: {
|
|
441
|
+
direction: 'row'
|
|
442
|
+
},
|
|
443
|
+
style: {
|
|
444
|
+
flexDirection: "row",
|
|
445
|
+
position: "absolute",
|
|
446
|
+
bottom: 0,
|
|
447
|
+
marginBottom: '-8px',
|
|
448
|
+
height: 'fit-content',
|
|
449
|
+
overflow: 'hidden',
|
|
450
|
+
zIndex: 1000,
|
|
451
|
+
width: 'inherit'
|
|
452
|
+
}
|
|
453
|
+
},
|
|
454
|
+
elements: [
|
|
455
|
+
{
|
|
456
|
+
|
|
457
|
+
type: "Control",
|
|
458
|
+
scope: "#/properties/FooterText",
|
|
459
|
+
options: {
|
|
460
|
+
widget: "Box",
|
|
461
|
+
},
|
|
462
|
+
config: {
|
|
463
|
+
main: {
|
|
464
|
+
heading: "Copywriter@ACT21.IO"
|
|
465
|
+
},
|
|
466
|
+
style: {
|
|
467
|
+
color: theme?.palette?.text.disabled || "#AFAFAF",
|
|
468
|
+
fontSize: '12px',
|
|
469
|
+
textAlign: 'center',
|
|
470
|
+
lineHeight: 1,
|
|
471
|
+
width: 'fit-content',
|
|
472
|
+
left: '50%',
|
|
473
|
+
position: 'relative',
|
|
474
|
+
margin: 0,
|
|
475
|
+
flexGrow: 1,
|
|
476
|
+
height: 0
|
|
477
|
+
}
|
|
478
|
+
},
|
|
479
|
+
},
|
|
480
|
+
{
|
|
481
|
+
type: "Control",
|
|
482
|
+
scope: "#/properties/backIcon",
|
|
483
|
+
options: {
|
|
484
|
+
widget: "Box",
|
|
485
|
+
},
|
|
486
|
+
config: {
|
|
487
|
+
main: {
|
|
488
|
+
iconName: 'PrevIcon',
|
|
489
|
+
onClick: "backHandler",
|
|
490
|
+
width: 'fit-content',
|
|
491
|
+
},
|
|
492
|
+
style: {
|
|
493
|
+
fill: theme.palette.primary.main,
|
|
494
|
+
width: 20,
|
|
495
|
+
height: 0,
|
|
496
|
+
margin: 0,
|
|
497
|
+
top: 0,
|
|
498
|
+
right: '82px',
|
|
499
|
+
position: 'absolute',
|
|
500
|
+
fontSize: '12px',
|
|
501
|
+
cursor: 'pointer',
|
|
502
|
+
':hover': {
|
|
503
|
+
fill: theme.palette.primary.dark,
|
|
504
|
+
}
|
|
505
|
+
}
|
|
506
|
+
}
|
|
507
|
+
},
|
|
508
|
+
{
|
|
509
|
+
type: "Control",
|
|
510
|
+
scope: "#/properties/text",
|
|
511
|
+
|
|
512
|
+
options: {
|
|
513
|
+
widget: "Box",
|
|
514
|
+
},
|
|
515
|
+
config: {
|
|
516
|
+
main: {
|
|
517
|
+
heading: "Previous Page",
|
|
518
|
+
onClick: "backHandler"
|
|
519
|
+
},
|
|
520
|
+
style: {
|
|
521
|
+
textAlign: 'left',
|
|
522
|
+
lineHeight: 1,
|
|
523
|
+
height: 0,
|
|
524
|
+
width: 'fit-content',
|
|
525
|
+
color: theme.palette.primary.main,
|
|
526
|
+
fontSize: "12px",
|
|
527
|
+
cursor: 'pointer',
|
|
528
|
+
marginLeft: '2px',
|
|
529
|
+
marginRight: 0,
|
|
530
|
+
top: 3,
|
|
531
|
+
right: '12px',
|
|
532
|
+
position: 'absolute',
|
|
533
|
+
':hover': {
|
|
534
|
+
color: theme.palette.primary.dark,
|
|
535
|
+
}
|
|
536
|
+
}
|
|
537
|
+
},
|
|
538
|
+
},
|
|
539
|
+
]
|
|
540
|
+
}
|
|
541
|
+
]
|
|
542
|
+
}
|
|
543
|
+
return uiSchema
|
|
401
544
|
}
|
|
402
545
|
|