impaktapps-ui-builder 0.0.382-alpha.6 → 0.0.382-alpha.60
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 +890 -1032
- 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 -0
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/apiSection.d.ts +35 -2
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/card.d.ts +10 -12
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/coreSection.d.ts +15 -18
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/eventSection.d.ts +70 -121
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/graph.d.ts +1 -108
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/tableSection.d.ts +53 -102
- 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/services/event.d.ts +1 -1
- package/dist/src/impaktapps-ui-builder/runtime/services/service.d.ts +1 -0
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildBasicUiSchema.ts +1 -0
- package/src/impaktapps-ui-builder/builder/build/buildHorizontalBarGraph.ts +30 -26
- package/src/impaktapps-ui-builder/builder/build/buildPieGraph.ts +30 -21
- package/src/impaktapps-ui-builder/builder/build/buildStackBarGraph.ts +6 -6
- package/src/impaktapps-ui-builder/builder/build/buildWrapperSection.ts +3 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/apiSection.ts +50 -27
- package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +30 -49
- package/src/impaktapps-ui-builder/builder/build/uischema/card.ts +9 -10
- package/src/impaktapps-ui-builder/builder/build/uischema/coreSection.ts +16 -36
- package/src/impaktapps-ui-builder/builder/build/uischema/dateInputField.ts +1 -6
- package/src/impaktapps-ui-builder/builder/build/uischema/emptyBox.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/eventSection.ts +99 -125
- package/src/impaktapps-ui-builder/builder/build/uischema/graph.ts +108 -108
- package/src/impaktapps-ui-builder/builder/build/uischema/multiSelect.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/refresh.ts +2 -12
- package/src/impaktapps-ui-builder/builder/build/uischema/selectInputField.ts +1 -6
- package/src/impaktapps-ui-builder/builder/build/uischema/tableSection.ts +84 -56
- 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 +12 -12
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/uiSchema.ts +294 -143
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/uiSchema.ts +399 -294
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/uiSchema.ts +522 -283
- package/src/impaktapps-ui-builder/builder/services/component.ts +2 -2
- package/src/impaktapps-ui-builder/builder/services/event.ts +8 -8
- package/src/impaktapps-ui-builder/runtime/services/events.ts +14 -1
- package/src/impaktapps-ui-builder/runtime/services/service.ts +5 -0
|
@@ -45,16 +45,9 @@ const PageMasterUiSchema = (theme) => {
|
|
|
45
45
|
{
|
|
46
46
|
type: "WrapperLayout",
|
|
47
47
|
config: {
|
|
48
|
-
main: {
|
|
49
|
-
label: "Page Template",
|
|
50
|
-
isAccordion: true
|
|
51
|
-
},
|
|
48
|
+
main: {},
|
|
52
49
|
wrapperStyle: {
|
|
53
|
-
|
|
54
|
-
marginBottom: "-8px"
|
|
55
|
-
},
|
|
56
|
-
componentsBoxStyle: {
|
|
57
|
-
marginLeft: "24px"
|
|
50
|
+
backgroundColor: theme.palette.background.default
|
|
58
51
|
},
|
|
59
52
|
defaultStyle: true
|
|
60
53
|
},
|
|
@@ -102,226 +95,221 @@ const PageMasterUiSchema = (theme) => {
|
|
|
102
95
|
config: {
|
|
103
96
|
layout: { xs: 0, sm: 4 }
|
|
104
97
|
}
|
|
105
|
-
}
|
|
106
|
-
]
|
|
107
|
-
},
|
|
108
|
-
{
|
|
109
|
-
type: "TabLayout",
|
|
110
|
-
config: {
|
|
111
|
-
main: {
|
|
112
|
-
tabLabels: ["Components", "events"],
|
|
113
|
-
divider: true
|
|
114
98
|
},
|
|
115
|
-
defaultStyle: true
|
|
116
|
-
},
|
|
117
|
-
elements: [
|
|
118
99
|
{
|
|
119
|
-
type: "
|
|
120
|
-
scope: "#/properties/elements",
|
|
121
|
-
options: {
|
|
122
|
-
widget: "Table"
|
|
123
|
-
},
|
|
100
|
+
type: "TabLayout",
|
|
124
101
|
config: {
|
|
125
102
|
main: {
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
103
|
+
tabLabels: ["Components", "events"],
|
|
104
|
+
divider: true
|
|
105
|
+
},
|
|
106
|
+
defaultStyle: true
|
|
107
|
+
},
|
|
108
|
+
elements: [
|
|
109
|
+
{
|
|
110
|
+
type: "Control",
|
|
111
|
+
scope: "#/properties/elements",
|
|
112
|
+
options: {
|
|
113
|
+
widget: "Table"
|
|
114
|
+
},
|
|
115
|
+
config: {
|
|
116
|
+
main: {
|
|
117
|
+
headerIcons: {
|
|
118
|
+
elements: [
|
|
119
|
+
{
|
|
120
|
+
widget: {
|
|
121
|
+
type: "Control",
|
|
122
|
+
scope: "#/properties/New_Record",
|
|
123
|
+
options: {
|
|
124
|
+
widget: "IconButton"
|
|
125
|
+
},
|
|
126
|
+
config: {
|
|
127
|
+
main: {
|
|
128
|
+
onClick: "onAddClickHandler",
|
|
129
|
+
size: "small",
|
|
130
|
+
icon: "AddIcon",
|
|
131
|
+
iconLabel: "Add New",
|
|
132
|
+
styleDefault: true
|
|
133
|
+
},
|
|
134
|
+
style: {
|
|
135
|
+
mt: "6px"
|
|
136
|
+
}
|
|
137
|
+
}
|
|
146
138
|
}
|
|
147
139
|
}
|
|
140
|
+
]
|
|
141
|
+
},
|
|
142
|
+
disableAction: true,
|
|
143
|
+
disableSelection: true,
|
|
144
|
+
enableDrag: true
|
|
145
|
+
}
|
|
146
|
+
},
|
|
147
|
+
elements: [
|
|
148
|
+
{
|
|
149
|
+
accessorKey: "name",
|
|
150
|
+
header: "Name"
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
accessorKey: "type",
|
|
154
|
+
header: "Type"
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
header: "Edit",
|
|
158
|
+
field: "Reject_Records",
|
|
159
|
+
flex: 1,
|
|
160
|
+
widget: {
|
|
161
|
+
type: "Control",
|
|
162
|
+
scope: "#/properties/RejectButton",
|
|
163
|
+
options: {
|
|
164
|
+
widget: "IconButton"
|
|
165
|
+
},
|
|
166
|
+
config: {
|
|
167
|
+
main: {
|
|
168
|
+
icon: "EditIcon",
|
|
169
|
+
onClick: "Edit_Components",
|
|
170
|
+
tooltipMessage: "Edit This Record"
|
|
171
|
+
}
|
|
148
172
|
}
|
|
149
173
|
}
|
|
150
|
-
]
|
|
151
|
-
},
|
|
152
|
-
disableAction: true,
|
|
153
|
-
disableSelection: true,
|
|
154
|
-
enableDrag: true
|
|
155
|
-
}
|
|
156
|
-
},
|
|
157
|
-
elements: [
|
|
158
|
-
{
|
|
159
|
-
accessorKey: "name",
|
|
160
|
-
header: "Name"
|
|
161
|
-
},
|
|
162
|
-
{
|
|
163
|
-
accessorKey: "type",
|
|
164
|
-
header: "Type"
|
|
165
|
-
},
|
|
166
|
-
{
|
|
167
|
-
header: "Edit",
|
|
168
|
-
field: "Reject_Records",
|
|
169
|
-
flex: 1,
|
|
170
|
-
widget: {
|
|
171
|
-
type: "Control",
|
|
172
|
-
scope: "#/properties/RejectButton",
|
|
173
|
-
options: {
|
|
174
|
-
widget: "IconButton"
|
|
175
174
|
},
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
175
|
+
{
|
|
176
|
+
header: "Delete",
|
|
177
|
+
field: "Reject_Records",
|
|
178
|
+
flex: 1,
|
|
179
|
+
widget: {
|
|
180
|
+
type: "Control",
|
|
181
|
+
scope: "#/properties/RejectButton",
|
|
182
|
+
options: {
|
|
183
|
+
widget: "IconButton"
|
|
184
|
+
},
|
|
185
|
+
config: {
|
|
186
|
+
main: {
|
|
187
|
+
icon: "RejectIcon",
|
|
188
|
+
color: "error",
|
|
189
|
+
onClick: "Delete_Components",
|
|
190
|
+
tooltipMessage: "Reject This Record"
|
|
191
|
+
}
|
|
192
|
+
}
|
|
182
193
|
}
|
|
183
194
|
}
|
|
184
|
-
|
|
195
|
+
]
|
|
185
196
|
},
|
|
186
197
|
{
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
198
|
+
type: "Control",
|
|
199
|
+
scope: "#/properties/events",
|
|
200
|
+
options: {
|
|
201
|
+
widget: "Table"
|
|
202
|
+
},
|
|
203
|
+
config: {
|
|
204
|
+
main: {
|
|
205
|
+
headerIcons: {
|
|
206
|
+
elements: [
|
|
207
|
+
{
|
|
208
|
+
widget: {
|
|
209
|
+
type: "Control",
|
|
210
|
+
scope: "#/properties/New_Record",
|
|
211
|
+
options: {
|
|
212
|
+
widget: "IconButton"
|
|
213
|
+
},
|
|
214
|
+
config: {
|
|
215
|
+
main: {
|
|
216
|
+
onClick: "eventAddHandler",
|
|
217
|
+
size: "small",
|
|
218
|
+
icon: "AddIcon",
|
|
219
|
+
iconLabel: "Add New",
|
|
220
|
+
styleDefault: true
|
|
221
|
+
},
|
|
222
|
+
style: {
|
|
223
|
+
mt: "6px"
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
]
|
|
229
|
+
},
|
|
230
|
+
disableAction: true,
|
|
231
|
+
disableSelection: true,
|
|
232
|
+
enableDrag: true
|
|
233
|
+
}
|
|
234
|
+
},
|
|
235
|
+
elements: [
|
|
236
|
+
{
|
|
237
|
+
accessorKey: "eventType",
|
|
238
|
+
header: "Event Type"
|
|
195
239
|
},
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
240
|
+
{
|
|
241
|
+
accessorKey: "Handler",
|
|
242
|
+
header: "Handler"
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
accessorKey: "Edit_Approve_Records",
|
|
246
|
+
header: "Edit Widget",
|
|
247
|
+
widget: {
|
|
248
|
+
type: "Control",
|
|
249
|
+
scope: "#/properties/Edit_Records",
|
|
250
|
+
options: {
|
|
251
|
+
widget: "IconButton"
|
|
252
|
+
},
|
|
253
|
+
config: {
|
|
254
|
+
main: {
|
|
255
|
+
size: "small",
|
|
256
|
+
icon: "EditIcon",
|
|
257
|
+
tooltipMessage: "Edit This Record",
|
|
258
|
+
onClick: "editEvent"
|
|
259
|
+
},
|
|
260
|
+
style: {
|
|
261
|
+
color: "#3949ab"
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
accessorKey: "Reject_Records",
|
|
268
|
+
header: "Delete",
|
|
269
|
+
widget: {
|
|
270
|
+
type: "Control",
|
|
271
|
+
scope: "#/properties/RejectButton",
|
|
272
|
+
options: {
|
|
273
|
+
widget: "IconButton"
|
|
274
|
+
},
|
|
275
|
+
config: {
|
|
276
|
+
main: {
|
|
277
|
+
icon: "RejectIcon",
|
|
278
|
+
color: "error",
|
|
279
|
+
tooltipMessage: "Reject This Record",
|
|
280
|
+
onClick: "deleteEvent"
|
|
281
|
+
}
|
|
282
|
+
}
|
|
202
283
|
}
|
|
203
284
|
}
|
|
204
|
-
|
|
285
|
+
]
|
|
205
286
|
}
|
|
206
287
|
]
|
|
207
288
|
},
|
|
208
289
|
{
|
|
209
290
|
type: "Control",
|
|
210
|
-
scope: "#/properties/
|
|
291
|
+
scope: "#/properties/btn",
|
|
211
292
|
options: {
|
|
212
|
-
widget: "
|
|
293
|
+
widget: "Button"
|
|
213
294
|
},
|
|
214
295
|
config: {
|
|
296
|
+
layout: 11.9,
|
|
215
297
|
main: {
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
options: {
|
|
223
|
-
widget: "IconButton"
|
|
224
|
-
},
|
|
225
|
-
config: {
|
|
226
|
-
main: {
|
|
227
|
-
color: "info",
|
|
228
|
-
onClick: "eventAddHandler",
|
|
229
|
-
size: "small",
|
|
230
|
-
icon: "AddIcon",
|
|
231
|
-
iconLabel: "Add New",
|
|
232
|
-
styleDefault: true
|
|
233
|
-
},
|
|
234
|
-
style: {
|
|
235
|
-
mt: "6px"
|
|
236
|
-
}
|
|
237
|
-
}
|
|
238
|
-
}
|
|
239
|
-
}
|
|
240
|
-
]
|
|
241
|
-
},
|
|
242
|
-
disableAction: true,
|
|
243
|
-
disableSelection: true,
|
|
244
|
-
enableDrag: true
|
|
245
|
-
}
|
|
246
|
-
},
|
|
247
|
-
elements: [
|
|
248
|
-
{
|
|
249
|
-
accessorKey: "eventType",
|
|
250
|
-
header: "Event Type"
|
|
251
|
-
},
|
|
252
|
-
{
|
|
253
|
-
accessorKey: "Handler",
|
|
254
|
-
header: "Handler"
|
|
255
|
-
},
|
|
256
|
-
{
|
|
257
|
-
accessorKey: "Edit_Approve_Records",
|
|
258
|
-
header: "Edit Widget",
|
|
259
|
-
widget: {
|
|
260
|
-
type: "Control",
|
|
261
|
-
scope: "#/properties/Edit_Records",
|
|
262
|
-
options: {
|
|
263
|
-
widget: "IconButton"
|
|
264
|
-
},
|
|
265
|
-
config: {
|
|
266
|
-
main: {
|
|
267
|
-
color: "info",
|
|
268
|
-
size: "small",
|
|
269
|
-
icon: "EditIcon",
|
|
270
|
-
tooltipMessage: "Edit This Record",
|
|
271
|
-
onClick: "editEvent"
|
|
272
|
-
},
|
|
273
|
-
style: {
|
|
274
|
-
color: "#3949ab"
|
|
275
|
-
}
|
|
276
|
-
}
|
|
277
|
-
}
|
|
298
|
+
name: "Save",
|
|
299
|
+
startIcon: "ApproveIcon",
|
|
300
|
+
variant: "contained",
|
|
301
|
+
type: "text",
|
|
302
|
+
onClick: "saveHandler",
|
|
303
|
+
size: "medium"
|
|
278
304
|
},
|
|
279
|
-
{
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
widget: {
|
|
283
|
-
type: "Control",
|
|
284
|
-
scope: "#/properties/RejectButton",
|
|
285
|
-
options: {
|
|
286
|
-
widget: "IconButton"
|
|
287
|
-
},
|
|
288
|
-
config: {
|
|
289
|
-
main: {
|
|
290
|
-
icon: "RejectIcon",
|
|
291
|
-
color: "error",
|
|
292
|
-
tooltipMessage: "Reject This Record",
|
|
293
|
-
onClick: "deleteEvent"
|
|
294
|
-
}
|
|
295
|
-
}
|
|
296
|
-
}
|
|
305
|
+
style: {
|
|
306
|
+
width: { xs: "90%", sm: "90%", md: "20%", lg: "10%" },
|
|
307
|
+
float: "right"
|
|
297
308
|
}
|
|
298
|
-
|
|
309
|
+
}
|
|
299
310
|
}
|
|
300
311
|
]
|
|
301
312
|
},
|
|
302
|
-
{
|
|
303
|
-
type: "Control",
|
|
304
|
-
scope: "#/properties/btn",
|
|
305
|
-
options: {
|
|
306
|
-
widget: "Button"
|
|
307
|
-
},
|
|
308
|
-
config: {
|
|
309
|
-
layout: 11.9,
|
|
310
|
-
main: {
|
|
311
|
-
name: "Save",
|
|
312
|
-
startIcon: "ApproveIcon",
|
|
313
|
-
variant: "contained",
|
|
314
|
-
color: "info",
|
|
315
|
-
type: "text",
|
|
316
|
-
onClick: "saveHandler",
|
|
317
|
-
size: "medium"
|
|
318
|
-
},
|
|
319
|
-
style: {
|
|
320
|
-
width: { xs: "90%", sm: "90%", md: "20%", lg: "10%" },
|
|
321
|
-
float: "right"
|
|
322
|
-
}
|
|
323
|
-
}
|
|
324
|
-
},
|
|
325
313
|
{
|
|
326
314
|
type: "Control",
|
|
327
315
|
scope: "#/properties/notify",
|
|
@@ -333,25 +321,14 @@ const PageMasterUiSchema = (theme) => {
|
|
|
333
321
|
{
|
|
334
322
|
type: "HorizontalLayout",
|
|
335
323
|
config: {
|
|
324
|
+
layout: 12,
|
|
336
325
|
style: {
|
|
337
|
-
position: "
|
|
326
|
+
position: "absolute",
|
|
338
327
|
bottom: 5,
|
|
339
|
-
overflow: "
|
|
340
|
-
margin: "0",
|
|
341
|
-
width: "100vw"
|
|
328
|
+
overflow: "hidden"
|
|
342
329
|
}
|
|
343
330
|
},
|
|
344
331
|
elements: [
|
|
345
|
-
{
|
|
346
|
-
type: "Control",
|
|
347
|
-
scope: "#/properties/EmptyBox",
|
|
348
|
-
options: {
|
|
349
|
-
widget: "EmptyBox"
|
|
350
|
-
},
|
|
351
|
-
config: {
|
|
352
|
-
layout: { xs: 0, sm: 4, md: 4, lg: 4 }
|
|
353
|
-
}
|
|
354
|
-
},
|
|
355
332
|
{
|
|
356
333
|
type: "Control",
|
|
357
334
|
scope: "#/properties/FooterText",
|
|
@@ -359,20 +336,22 @@ const PageMasterUiSchema = (theme) => {
|
|
|
359
336
|
widget: "Box"
|
|
360
337
|
},
|
|
361
338
|
config: {
|
|
362
|
-
layout:
|
|
339
|
+
layout: 9.5,
|
|
363
340
|
main: {
|
|
364
341
|
heading: "Copywriter@ACT21.IO"
|
|
365
342
|
},
|
|
366
343
|
style: {
|
|
367
344
|
color: ((_a = theme == null ? void 0 : theme.palette) == null ? void 0 : _a.text.disabled) || "#AFAFAF",
|
|
368
|
-
fontSize: "12px"
|
|
345
|
+
fontSize: "12px",
|
|
346
|
+
textAlign: "center"
|
|
369
347
|
}
|
|
370
348
|
}
|
|
371
349
|
},
|
|
372
350
|
{
|
|
373
351
|
type: "HorizontalLayout",
|
|
374
352
|
config: {
|
|
375
|
-
layout:
|
|
353
|
+
layout: 2.5,
|
|
354
|
+
style: {}
|
|
376
355
|
},
|
|
377
356
|
elements: [
|
|
378
357
|
{
|
|
@@ -382,7 +361,10 @@ const PageMasterUiSchema = (theme) => {
|
|
|
382
361
|
widget: "EmptyBox"
|
|
383
362
|
},
|
|
384
363
|
config: {
|
|
385
|
-
layout:
|
|
364
|
+
layout: 6,
|
|
365
|
+
style: {
|
|
366
|
+
flexGrow: 1
|
|
367
|
+
}
|
|
386
368
|
}
|
|
387
369
|
},
|
|
388
370
|
{
|
|
@@ -398,14 +380,17 @@ const PageMasterUiSchema = (theme) => {
|
|
|
398
380
|
onClick: "backHandler"
|
|
399
381
|
},
|
|
400
382
|
style: {
|
|
401
|
-
fill: theme.palette.primary.
|
|
383
|
+
fill: theme.palette.primary.main,
|
|
402
384
|
width: 20,
|
|
403
385
|
height: 20,
|
|
404
386
|
display: "flex",
|
|
405
387
|
alignItems: "center",
|
|
406
388
|
justifyContent: "center",
|
|
407
389
|
marginRight: "-8px",
|
|
408
|
-
cursor: "pointer"
|
|
390
|
+
cursor: "pointer",
|
|
391
|
+
":hover": {
|
|
392
|
+
fill: theme.palette.primary.dark
|
|
393
|
+
}
|
|
409
394
|
}
|
|
410
395
|
}
|
|
411
396
|
},
|
|
@@ -416,16 +401,21 @@ const PageMasterUiSchema = (theme) => {
|
|
|
416
401
|
widget: "Box"
|
|
417
402
|
},
|
|
418
403
|
config: {
|
|
419
|
-
layout:
|
|
404
|
+
layout: 5,
|
|
420
405
|
main: {
|
|
421
406
|
heading: "Previous Page",
|
|
422
407
|
onClick: "backHandler"
|
|
423
408
|
},
|
|
424
409
|
style: {
|
|
425
|
-
|
|
410
|
+
width: "fit-content",
|
|
411
|
+
color: theme.palette.primary.main,
|
|
426
412
|
fontSize: "12px",
|
|
427
413
|
cursor: "pointer",
|
|
428
|
-
marginLeft: "
|
|
414
|
+
marginLeft: "2px",
|
|
415
|
+
marginRight: 0,
|
|
416
|
+
":hover": {
|
|
417
|
+
color: theme.palette.primary.dark
|
|
418
|
+
}
|
|
429
419
|
}
|
|
430
420
|
}
|
|
431
421
|
}
|
|
@@ -6288,6 +6278,26 @@ const componentBasicUiSchema = (theme) => {
|
|
|
6288
6278
|
}
|
|
6289
6279
|
]
|
|
6290
6280
|
},
|
|
6281
|
+
{
|
|
6282
|
+
type: "Control",
|
|
6283
|
+
scope: "#/properties/EmptyBox",
|
|
6284
|
+
options: {
|
|
6285
|
+
widget: "EmptyBox"
|
|
6286
|
+
},
|
|
6287
|
+
config: {
|
|
6288
|
+
layout: { xs: 0, sm: 4, md: 4, lg: 4 }
|
|
6289
|
+
}
|
|
6290
|
+
},
|
|
6291
|
+
{
|
|
6292
|
+
type: "Control",
|
|
6293
|
+
scope: "#/properties/EmptyBox",
|
|
6294
|
+
options: {
|
|
6295
|
+
widget: "EmptyBox"
|
|
6296
|
+
},
|
|
6297
|
+
config: {
|
|
6298
|
+
layout: { xs: 0, sm: 4, md: 4, lg: 4 }
|
|
6299
|
+
}
|
|
6300
|
+
},
|
|
6291
6301
|
{
|
|
6292
6302
|
type: "Control",
|
|
6293
6303
|
scope: "#/properties/btn",
|
|
@@ -6295,23 +6305,16 @@ const componentBasicUiSchema = (theme) => {
|
|
|
6295
6305
|
widget: "Button"
|
|
6296
6306
|
},
|
|
6297
6307
|
config: {
|
|
6298
|
-
layout:
|
|
6299
|
-
xs: 11,
|
|
6300
|
-
sm: 11,
|
|
6301
|
-
md: 2.5,
|
|
6302
|
-
lg: 2.5
|
|
6303
|
-
},
|
|
6308
|
+
layout: 1.8,
|
|
6304
6309
|
main: {
|
|
6305
6310
|
name: "Ok",
|
|
6306
6311
|
startIcon: "ApproveIcon",
|
|
6307
6312
|
variant: "contained",
|
|
6308
|
-
color: "info",
|
|
6309
6313
|
type: "text",
|
|
6310
6314
|
onClick: "okHandler",
|
|
6311
|
-
size: "
|
|
6315
|
+
size: "medium"
|
|
6312
6316
|
},
|
|
6313
6317
|
style: {
|
|
6314
|
-
marginBottom: "8px",
|
|
6315
6318
|
float: "right"
|
|
6316
6319
|
}
|
|
6317
6320
|
}
|
|
@@ -6323,23 +6326,16 @@ const componentBasicUiSchema = (theme) => {
|
|
|
6323
6326
|
widget: "Button"
|
|
6324
6327
|
},
|
|
6325
6328
|
config: {
|
|
6326
|
-
layout:
|
|
6327
|
-
xs: 11,
|
|
6328
|
-
sm: 11,
|
|
6329
|
-
md: 2.5,
|
|
6330
|
-
lg: 2.5
|
|
6331
|
-
},
|
|
6329
|
+
layout: 1.8,
|
|
6332
6330
|
main: {
|
|
6333
6331
|
name: "Save & Exit",
|
|
6334
6332
|
startIcon: "ApproveIcon",
|
|
6335
6333
|
variant: "contained",
|
|
6336
|
-
color: "info",
|
|
6337
6334
|
type: "text",
|
|
6338
6335
|
onClick: "saveHandler",
|
|
6339
|
-
size: "
|
|
6336
|
+
size: "medium"
|
|
6340
6337
|
},
|
|
6341
6338
|
style: {
|
|
6342
|
-
marginBottom: "8px",
|
|
6343
6339
|
float: "right"
|
|
6344
6340
|
}
|
|
6345
6341
|
}
|
|
@@ -6355,25 +6351,14 @@ const componentBasicUiSchema = (theme) => {
|
|
|
6355
6351
|
{
|
|
6356
6352
|
type: "HorizontalLayout",
|
|
6357
6353
|
config: {
|
|
6354
|
+
layout: 12,
|
|
6358
6355
|
style: {
|
|
6359
|
-
position: "
|
|
6356
|
+
position: "absolute",
|
|
6360
6357
|
bottom: 5,
|
|
6361
|
-
overflow: "
|
|
6362
|
-
margin: "0",
|
|
6363
|
-
width: "100vw"
|
|
6358
|
+
overflow: "hidden"
|
|
6364
6359
|
}
|
|
6365
6360
|
},
|
|
6366
6361
|
elements: [
|
|
6367
|
-
{
|
|
6368
|
-
type: "Control",
|
|
6369
|
-
scope: "#/properties/EmptyBox",
|
|
6370
|
-
options: {
|
|
6371
|
-
widget: "EmptyBox"
|
|
6372
|
-
},
|
|
6373
|
-
config: {
|
|
6374
|
-
layout: { xs: 0, sm: 4, md: 4, lg: 4 }
|
|
6375
|
-
}
|
|
6376
|
-
},
|
|
6377
6362
|
{
|
|
6378
6363
|
type: "Control",
|
|
6379
6364
|
scope: "#/properties/FooterText",
|
|
@@ -6381,20 +6366,22 @@ const componentBasicUiSchema = (theme) => {
|
|
|
6381
6366
|
widget: "Box"
|
|
6382
6367
|
},
|
|
6383
6368
|
config: {
|
|
6384
|
-
layout:
|
|
6369
|
+
layout: 9.5,
|
|
6385
6370
|
main: {
|
|
6386
6371
|
heading: "Copywriter@ACT21.IO"
|
|
6387
6372
|
},
|
|
6388
6373
|
style: {
|
|
6389
6374
|
color: ((_a = theme == null ? void 0 : theme.palette) == null ? void 0 : _a.text.disabled) || "#AFAFAF",
|
|
6390
|
-
fontSize: "12px"
|
|
6375
|
+
fontSize: "12px",
|
|
6376
|
+
textAlign: "center"
|
|
6391
6377
|
}
|
|
6392
6378
|
}
|
|
6393
6379
|
},
|
|
6394
6380
|
{
|
|
6395
6381
|
type: "HorizontalLayout",
|
|
6396
6382
|
config: {
|
|
6397
|
-
layout:
|
|
6383
|
+
layout: 2.5,
|
|
6384
|
+
style: {}
|
|
6398
6385
|
},
|
|
6399
6386
|
elements: [
|
|
6400
6387
|
{
|
|
@@ -6404,7 +6391,10 @@ const componentBasicUiSchema = (theme) => {
|
|
|
6404
6391
|
widget: "EmptyBox"
|
|
6405
6392
|
},
|
|
6406
6393
|
config: {
|
|
6407
|
-
layout:
|
|
6394
|
+
layout: 6,
|
|
6395
|
+
style: {
|
|
6396
|
+
flexGrow: 1
|
|
6397
|
+
}
|
|
6408
6398
|
}
|
|
6409
6399
|
},
|
|
6410
6400
|
{
|
|
@@ -6420,14 +6410,17 @@ const componentBasicUiSchema = (theme) => {
|
|
|
6420
6410
|
onClick: "backHandler"
|
|
6421
6411
|
},
|
|
6422
6412
|
style: {
|
|
6423
|
-
fill: theme.palette.primary.
|
|
6413
|
+
fill: theme.palette.primary.main,
|
|
6424
6414
|
width: 20,
|
|
6425
6415
|
height: 20,
|
|
6426
6416
|
display: "flex",
|
|
6427
6417
|
alignItems: "center",
|
|
6428
6418
|
justifyContent: "center",
|
|
6429
6419
|
marginRight: "-8px",
|
|
6430
|
-
cursor: "pointer"
|
|
6420
|
+
cursor: "pointer",
|
|
6421
|
+
":hover": {
|
|
6422
|
+
fill: theme.palette.primary.dark
|
|
6423
|
+
}
|
|
6431
6424
|
}
|
|
6432
6425
|
}
|
|
6433
6426
|
},
|
|
@@ -6438,16 +6431,21 @@ const componentBasicUiSchema = (theme) => {
|
|
|
6438
6431
|
widget: "Box"
|
|
6439
6432
|
},
|
|
6440
6433
|
config: {
|
|
6441
|
-
layout:
|
|
6434
|
+
layout: 5,
|
|
6442
6435
|
main: {
|
|
6443
6436
|
heading: "Previous Page",
|
|
6444
6437
|
onClick: "backHandler"
|
|
6445
6438
|
},
|
|
6446
6439
|
style: {
|
|
6447
|
-
|
|
6440
|
+
width: "fit-content",
|
|
6441
|
+
color: theme.palette.primary.main,
|
|
6448
6442
|
fontSize: "12px",
|
|
6449
6443
|
cursor: "pointer",
|
|
6450
|
-
marginLeft: "
|
|
6444
|
+
marginLeft: "2px",
|
|
6445
|
+
marginRight: 0,
|
|
6446
|
+
":hover": {
|
|
6447
|
+
color: theme.palette.primary.dark
|
|
6448
|
+
}
|
|
6451
6449
|
}
|
|
6452
6450
|
}
|
|
6453
6451
|
}
|
|
@@ -6469,7 +6467,7 @@ const CoreSection = {
|
|
|
6469
6467
|
widget: "SelectInputField"
|
|
6470
6468
|
},
|
|
6471
6469
|
config: {
|
|
6472
|
-
layout: { xs:
|
|
6470
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
6473
6471
|
main: {
|
|
6474
6472
|
label: "Type",
|
|
6475
6473
|
type: "text"
|
|
@@ -6483,12 +6481,7 @@ const CoreSection = {
|
|
|
6483
6481
|
widget: "InputField"
|
|
6484
6482
|
},
|
|
6485
6483
|
config: {
|
|
6486
|
-
layout: {
|
|
6487
|
-
xs: 12,
|
|
6488
|
-
sm: 12,
|
|
6489
|
-
md: 6,
|
|
6490
|
-
lg: 6
|
|
6491
|
-
},
|
|
6484
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
6492
6485
|
main: {
|
|
6493
6486
|
label: "Name"
|
|
6494
6487
|
}
|
|
@@ -6501,31 +6494,16 @@ const CoreSection = {
|
|
|
6501
6494
|
widget: "InputField"
|
|
6502
6495
|
},
|
|
6503
6496
|
config: {
|
|
6504
|
-
layout: {
|
|
6505
|
-
xs: 12,
|
|
6506
|
-
sm: 12,
|
|
6507
|
-
md: 6,
|
|
6508
|
-
lg: 6
|
|
6509
|
-
},
|
|
6497
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
6510
6498
|
main: {
|
|
6511
6499
|
label: "Label"
|
|
6512
6500
|
}
|
|
6513
6501
|
}
|
|
6514
6502
|
},
|
|
6515
|
-
{
|
|
6516
|
-
type: "Control",
|
|
6517
|
-
scope: "#/properties/proc",
|
|
6518
|
-
config: {
|
|
6519
|
-
layout: { xs: 11, sm: 11, md: 6, lg: 6 }
|
|
6520
|
-
},
|
|
6521
|
-
options: {
|
|
6522
|
-
widget: "EmptyBox"
|
|
6523
|
-
}
|
|
6524
|
-
},
|
|
6525
6503
|
{
|
|
6526
6504
|
type: "Control",
|
|
6527
6505
|
scope: "#/properties/layout",
|
|
6528
|
-
layout:
|
|
6506
|
+
layout: 12,
|
|
6529
6507
|
options: {
|
|
6530
6508
|
"elementLabelProp": "key",
|
|
6531
6509
|
detail: {
|
|
@@ -6538,12 +6516,7 @@ const CoreSection = {
|
|
|
6538
6516
|
widget: "SelectInputField"
|
|
6539
6517
|
},
|
|
6540
6518
|
config: {
|
|
6541
|
-
layout: {
|
|
6542
|
-
xs: 11,
|
|
6543
|
-
sm: 11,
|
|
6544
|
-
md: 5.5,
|
|
6545
|
-
lg: 5.5
|
|
6546
|
-
},
|
|
6519
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
6547
6520
|
main: {
|
|
6548
6521
|
label: "Screen Size"
|
|
6549
6522
|
}
|
|
@@ -6556,12 +6529,7 @@ const CoreSection = {
|
|
|
6556
6529
|
widget: "InputField"
|
|
6557
6530
|
},
|
|
6558
6531
|
config: {
|
|
6559
|
-
layout: {
|
|
6560
|
-
xs: 11,
|
|
6561
|
-
sm: 11,
|
|
6562
|
-
md: 5.5,
|
|
6563
|
-
lg: 5.5
|
|
6564
|
-
},
|
|
6532
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
6565
6533
|
main: {
|
|
6566
6534
|
label: "Value",
|
|
6567
6535
|
type: "number",
|
|
@@ -6569,6 +6537,16 @@ const CoreSection = {
|
|
|
6569
6537
|
errorMessage: "Number Can't be greater than 12 and can't be less than 0."
|
|
6570
6538
|
}
|
|
6571
6539
|
}
|
|
6540
|
+
},
|
|
6541
|
+
{
|
|
6542
|
+
type: "Control",
|
|
6543
|
+
scope: "#/properties/emptyBox",
|
|
6544
|
+
options: {
|
|
6545
|
+
widget: "EmptyBox"
|
|
6546
|
+
},
|
|
6547
|
+
config: {
|
|
6548
|
+
layout: { xs: 0, sm: 4 }
|
|
6549
|
+
}
|
|
6572
6550
|
}
|
|
6573
6551
|
]
|
|
6574
6552
|
}
|
|
@@ -6580,121 +6558,95 @@ const EventSection = {
|
|
|
6580
6558
|
type: "HorizontalLayout",
|
|
6581
6559
|
elements: [
|
|
6582
6560
|
{
|
|
6583
|
-
type: "
|
|
6561
|
+
type: "Control",
|
|
6562
|
+
scope: "#/properties/events",
|
|
6563
|
+
options: {
|
|
6564
|
+
widget: "Table"
|
|
6565
|
+
},
|
|
6584
6566
|
config: {
|
|
6585
6567
|
main: {
|
|
6586
|
-
|
|
6587
|
-
|
|
6588
|
-
|
|
6589
|
-
|
|
6568
|
+
headerIcons: {
|
|
6569
|
+
elements: [
|
|
6570
|
+
{
|
|
6571
|
+
widget: {
|
|
6572
|
+
type: "Control",
|
|
6573
|
+
scope: "#/properties/New_Record",
|
|
6574
|
+
options: {
|
|
6575
|
+
widget: "IconButton"
|
|
6576
|
+
},
|
|
6577
|
+
config: {
|
|
6578
|
+
main: {
|
|
6579
|
+
color: "info",
|
|
6580
|
+
onClick: "eventAddHandler",
|
|
6581
|
+
size: "small",
|
|
6582
|
+
icon: "AddIcon",
|
|
6583
|
+
iconLabel: "Add New",
|
|
6584
|
+
styleDefault: true
|
|
6585
|
+
},
|
|
6586
|
+
style: {
|
|
6587
|
+
mt: "6px"
|
|
6588
|
+
}
|
|
6589
|
+
}
|
|
6590
|
+
}
|
|
6591
|
+
}
|
|
6592
|
+
]
|
|
6593
|
+
},
|
|
6594
|
+
disableAction: true,
|
|
6595
|
+
disableSelection: true,
|
|
6596
|
+
enableDrag: true
|
|
6590
6597
|
}
|
|
6591
6598
|
},
|
|
6592
6599
|
elements: [
|
|
6593
6600
|
{
|
|
6594
|
-
|
|
6595
|
-
|
|
6596
|
-
options: {
|
|
6597
|
-
widget: "Box"
|
|
6598
|
-
},
|
|
6599
|
-
config: {
|
|
6600
|
-
layout: 8,
|
|
6601
|
-
main: {
|
|
6602
|
-
heading: "Event Table"
|
|
6603
|
-
},
|
|
6604
|
-
style: {
|
|
6605
|
-
fontFamily: "Roboto",
|
|
6606
|
-
fontWeight: "500",
|
|
6607
|
-
paddingLeft: "-10px",
|
|
6608
|
-
fontSize: "20px"
|
|
6609
|
-
}
|
|
6610
|
-
}
|
|
6601
|
+
accessorKey: "eventType",
|
|
6602
|
+
header: "Event Type"
|
|
6611
6603
|
},
|
|
6612
6604
|
{
|
|
6613
|
-
|
|
6614
|
-
|
|
6615
|
-
|
|
6616
|
-
|
|
6617
|
-
|
|
6618
|
-
|
|
6619
|
-
|
|
6620
|
-
|
|
6621
|
-
|
|
6622
|
-
|
|
6623
|
-
|
|
6624
|
-
onClick: "eventAddHandler",
|
|
6625
|
-
tooltipMessage: "Back"
|
|
6605
|
+
accessorKey: "Handler",
|
|
6606
|
+
header: "Handler"
|
|
6607
|
+
},
|
|
6608
|
+
{
|
|
6609
|
+
accessorKey: "Edit_Approve_Records",
|
|
6610
|
+
header: "Edit Widget",
|
|
6611
|
+
widget: {
|
|
6612
|
+
type: "Control",
|
|
6613
|
+
scope: "#/properties/Edit_Records",
|
|
6614
|
+
options: {
|
|
6615
|
+
widget: "IconButton"
|
|
6626
6616
|
},
|
|
6627
|
-
|
|
6628
|
-
|
|
6617
|
+
config: {
|
|
6618
|
+
main: {
|
|
6619
|
+
color: "info",
|
|
6620
|
+
size: "small",
|
|
6621
|
+
icon: "EditIcon",
|
|
6622
|
+
tooltipMessage: "Edit This Record",
|
|
6623
|
+
onClick: "eventEditHandler"
|
|
6624
|
+
},
|
|
6625
|
+
style: {
|
|
6626
|
+
color: "#3949ab"
|
|
6627
|
+
}
|
|
6629
6628
|
}
|
|
6630
6629
|
}
|
|
6631
6630
|
},
|
|
6632
6631
|
{
|
|
6633
|
-
|
|
6634
|
-
|
|
6635
|
-
|
|
6636
|
-
|
|
6637
|
-
|
|
6638
|
-
|
|
6639
|
-
|
|
6640
|
-
|
|
6641
|
-
disableSelection: true,
|
|
6642
|
-
enableDrag: true
|
|
6643
|
-
}
|
|
6644
|
-
},
|
|
6645
|
-
elements: [
|
|
6646
|
-
{
|
|
6647
|
-
accessorKey: "eventType",
|
|
6648
|
-
header: "Event Type"
|
|
6649
|
-
},
|
|
6650
|
-
{
|
|
6651
|
-
accessorKey: "Handler",
|
|
6652
|
-
header: "Handler"
|
|
6653
|
-
},
|
|
6654
|
-
{
|
|
6655
|
-
accessorKey: "Edit_Approve_Records",
|
|
6656
|
-
header: "Edit Widget",
|
|
6657
|
-
widget: {
|
|
6658
|
-
type: "Control",
|
|
6659
|
-
scope: "#/properties/Edit_Records",
|
|
6660
|
-
options: {
|
|
6661
|
-
widget: "IconButton"
|
|
6662
|
-
},
|
|
6663
|
-
config: {
|
|
6664
|
-
main: {
|
|
6665
|
-
color: "info",
|
|
6666
|
-
size: "small",
|
|
6667
|
-
icon: "EditIcon",
|
|
6668
|
-
tooltipMessage: "Edit This Record",
|
|
6669
|
-
onClick: "eventEditHandler"
|
|
6670
|
-
},
|
|
6671
|
-
style: {
|
|
6672
|
-
color: "#3949ab"
|
|
6673
|
-
}
|
|
6674
|
-
}
|
|
6675
|
-
}
|
|
6632
|
+
accessorKey: "Reject_Records",
|
|
6633
|
+
header: "Delete",
|
|
6634
|
+
widget: {
|
|
6635
|
+
type: "Control",
|
|
6636
|
+
scope: "#/properties/RejectButton",
|
|
6637
|
+
accessorKeyName: "Reject_Records",
|
|
6638
|
+
options: {
|
|
6639
|
+
widget: "IconButton"
|
|
6676
6640
|
},
|
|
6677
|
-
{
|
|
6678
|
-
|
|
6679
|
-
|
|
6680
|
-
|
|
6681
|
-
|
|
6682
|
-
|
|
6683
|
-
accessorKeyName: "Reject_Records",
|
|
6684
|
-
options: {
|
|
6685
|
-
widget: "IconButton"
|
|
6686
|
-
},
|
|
6687
|
-
config: {
|
|
6688
|
-
main: {
|
|
6689
|
-
icon: "RejectIcon",
|
|
6690
|
-
color: "error",
|
|
6691
|
-
tooltipMessage: "Reject This Record",
|
|
6692
|
-
onClick: "deleteEvent"
|
|
6693
|
-
}
|
|
6694
|
-
}
|
|
6641
|
+
config: {
|
|
6642
|
+
main: {
|
|
6643
|
+
icon: "RejectIcon",
|
|
6644
|
+
color: "error",
|
|
6645
|
+
tooltipMessage: "Reject This Record",
|
|
6646
|
+
onClick: "deleteEvent"
|
|
6695
6647
|
}
|
|
6696
6648
|
}
|
|
6697
|
-
|
|
6649
|
+
}
|
|
6698
6650
|
}
|
|
6699
6651
|
]
|
|
6700
6652
|
}
|
|
@@ -6707,12 +6659,7 @@ const EmptyBox = {
|
|
|
6707
6659
|
widget: "EmptyBox"
|
|
6708
6660
|
},
|
|
6709
6661
|
config: {
|
|
6710
|
-
layout: {
|
|
6711
|
-
xs: 11,
|
|
6712
|
-
sm: 11,
|
|
6713
|
-
md: 5.5,
|
|
6714
|
-
lg: 5.5
|
|
6715
|
-
},
|
|
6662
|
+
layout: { xs: 0, sm: 4, md: 4, lg: 4 },
|
|
6716
6663
|
main: {}
|
|
6717
6664
|
}
|
|
6718
6665
|
};
|
|
@@ -6731,12 +6678,7 @@ const cardLayout = {
|
|
|
6731
6678
|
widget: "SelectInputField"
|
|
6732
6679
|
},
|
|
6733
6680
|
config: {
|
|
6734
|
-
layout: {
|
|
6735
|
-
xs: 11,
|
|
6736
|
-
sm: 11,
|
|
6737
|
-
md: 5.5,
|
|
6738
|
-
lg: 5.5
|
|
6739
|
-
},
|
|
6681
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
6740
6682
|
main: {
|
|
6741
6683
|
label: "Screen Size"
|
|
6742
6684
|
}
|
|
@@ -6749,12 +6691,7 @@ const cardLayout = {
|
|
|
6749
6691
|
widget: "InputField"
|
|
6750
6692
|
},
|
|
6751
6693
|
config: {
|
|
6752
|
-
layout: {
|
|
6753
|
-
xs: 11,
|
|
6754
|
-
sm: 11,
|
|
6755
|
-
md: 5.5,
|
|
6756
|
-
lg: 5.5
|
|
6757
|
-
},
|
|
6694
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
6758
6695
|
main: {
|
|
6759
6696
|
label: "Value",
|
|
6760
6697
|
type: "number",
|
|
@@ -6762,7 +6699,8 @@ const cardLayout = {
|
|
|
6762
6699
|
errorMessage: "Number Can't be greater than 12 and can't be less than 0."
|
|
6763
6700
|
}
|
|
6764
6701
|
}
|
|
6765
|
-
}
|
|
6702
|
+
},
|
|
6703
|
+
EmptyBox
|
|
6766
6704
|
]
|
|
6767
6705
|
}
|
|
6768
6706
|
}
|
|
@@ -6784,17 +6722,13 @@ const getArrayControl = (parentScope, childScope, childLabel) => {
|
|
|
6784
6722
|
widget: "InputField"
|
|
6785
6723
|
},
|
|
6786
6724
|
config: {
|
|
6787
|
-
layout: {
|
|
6788
|
-
xs: 11,
|
|
6789
|
-
sm: 11,
|
|
6790
|
-
md: 5.5,
|
|
6791
|
-
lg: 5.5
|
|
6792
|
-
},
|
|
6725
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
6793
6726
|
main: {
|
|
6794
6727
|
label: childLabel || "Labels for Tab"
|
|
6795
6728
|
}
|
|
6796
6729
|
}
|
|
6797
6730
|
},
|
|
6731
|
+
EmptyBox,
|
|
6798
6732
|
EmptyBox
|
|
6799
6733
|
]
|
|
6800
6734
|
}
|
|
@@ -6809,12 +6743,7 @@ sizeHolder.options.detail.elements[1] = {
|
|
|
6809
6743
|
widget: "InputField"
|
|
6810
6744
|
},
|
|
6811
6745
|
config: {
|
|
6812
|
-
layout: {
|
|
6813
|
-
xs: 11,
|
|
6814
|
-
sm: 11,
|
|
6815
|
-
md: 5.5,
|
|
6816
|
-
lg: 5.5
|
|
6817
|
-
},
|
|
6746
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
6818
6747
|
main: {
|
|
6819
6748
|
label: "Size"
|
|
6820
6749
|
}
|
|
@@ -6828,12 +6757,7 @@ const getInputField = (scope, label) => {
|
|
|
6828
6757
|
widget: "InputField"
|
|
6829
6758
|
},
|
|
6830
6759
|
config: {
|
|
6831
|
-
layout: {
|
|
6832
|
-
xs: 11,
|
|
6833
|
-
sm: 11,
|
|
6834
|
-
md: 5.5,
|
|
6835
|
-
lg: 5.5
|
|
6836
|
-
},
|
|
6760
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
6837
6761
|
main: {
|
|
6838
6762
|
label
|
|
6839
6763
|
}
|
|
@@ -6848,12 +6772,7 @@ const getRadioInputField = (scope, label, options) => {
|
|
|
6848
6772
|
widget: "RadioInputField"
|
|
6849
6773
|
},
|
|
6850
6774
|
config: {
|
|
6851
|
-
layout: {
|
|
6852
|
-
xs: 11,
|
|
6853
|
-
sm: 11,
|
|
6854
|
-
md: 5.5,
|
|
6855
|
-
lg: 5.5
|
|
6856
|
-
},
|
|
6775
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
6857
6776
|
main: {
|
|
6858
6777
|
label,
|
|
6859
6778
|
options
|
|
@@ -6896,7 +6815,7 @@ const getSelectField = (scope, label, options) => {
|
|
|
6896
6815
|
widget: "SelectInputField"
|
|
6897
6816
|
},
|
|
6898
6817
|
config: {
|
|
6899
|
-
layout: { xs: 11, sm:
|
|
6818
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
6900
6819
|
main: {
|
|
6901
6820
|
label,
|
|
6902
6821
|
type: "text"
|
|
@@ -6917,6 +6836,8 @@ const buildPropertiesSection = function(type) {
|
|
|
6917
6836
|
getInputField("elevation", "Card Elevation"),
|
|
6918
6837
|
getInputField("height", "Grid height"),
|
|
6919
6838
|
getInputField("justifyContent", "justifyContent"),
|
|
6839
|
+
EmptyBox,
|
|
6840
|
+
EmptyBox,
|
|
6920
6841
|
cardLayout
|
|
6921
6842
|
];
|
|
6922
6843
|
break;
|
|
@@ -6927,6 +6848,7 @@ const buildPropertiesSection = function(type) {
|
|
|
6927
6848
|
getInputField("resetText", "Reset Text"),
|
|
6928
6849
|
getInputField("completeText", "Complete Text"),
|
|
6929
6850
|
getSelectField("orientation", "Orientation Type"),
|
|
6851
|
+
EmptyBox,
|
|
6930
6852
|
getArrayControl("sectionLabels", "label")
|
|
6931
6853
|
];
|
|
6932
6854
|
break;
|
|
@@ -6942,12 +6864,14 @@ const buildPropertiesSection = function(type) {
|
|
|
6942
6864
|
uiSchema.elements = [
|
|
6943
6865
|
getInputField("placeholder", "Placeholder"),
|
|
6944
6866
|
EmptyBox,
|
|
6867
|
+
EmptyBox,
|
|
6945
6868
|
getArrayControl("InputFormatingAndMasking", "formatElement", "Format Element")
|
|
6946
6869
|
];
|
|
6947
6870
|
break;
|
|
6948
6871
|
case "TextArea":
|
|
6949
6872
|
uiSchema.elements = [
|
|
6950
6873
|
getInputField("placeholder", "Placeholder"),
|
|
6874
|
+
EmptyBox,
|
|
6951
6875
|
EmptyBox
|
|
6952
6876
|
];
|
|
6953
6877
|
break;
|
|
@@ -6957,7 +6881,8 @@ const buildPropertiesSection = function(type) {
|
|
|
6957
6881
|
getInputField("heading", "Container Heading"),
|
|
6958
6882
|
getInputField("heading", "Container Heading"),
|
|
6959
6883
|
getInputField("speedoCaption", "Speedometer Caption"),
|
|
6960
|
-
getInputField("width", "Speedometer Width")
|
|
6884
|
+
getInputField("width", "Speedometer Width"),
|
|
6885
|
+
EmptyBox
|
|
6961
6886
|
];
|
|
6962
6887
|
break;
|
|
6963
6888
|
case "RankCard":
|
|
@@ -6965,7 +6890,9 @@ const buildPropertiesSection = function(type) {
|
|
|
6965
6890
|
getInputField("rank", "Rank"),
|
|
6966
6891
|
getInputField("image", "Image Url"),
|
|
6967
6892
|
getInputField("title", "Card Title"),
|
|
6968
|
-
getInputField("description", "Card Description")
|
|
6893
|
+
getInputField("description", "Card Description"),
|
|
6894
|
+
EmptyBox,
|
|
6895
|
+
EmptyBox
|
|
6969
6896
|
];
|
|
6970
6897
|
break;
|
|
6971
6898
|
case "LeaderBoard":
|
|
@@ -6974,6 +6901,8 @@ const buildPropertiesSection = function(type) {
|
|
|
6974
6901
|
getInputField("firstImage", "First Image url"),
|
|
6975
6902
|
getInputField("secondImage", "Second Image url"),
|
|
6976
6903
|
getInputField("thirdImage", "Third Image url"),
|
|
6904
|
+
EmptyBox,
|
|
6905
|
+
EmptyBox,
|
|
6977
6906
|
getTextArea("functionCode", "Write Compare Code", false)
|
|
6978
6907
|
];
|
|
6979
6908
|
break;
|
|
@@ -6989,7 +6918,9 @@ const buildPropertiesSection = function(type) {
|
|
|
6989
6918
|
getInputField("heading", "Heading"),
|
|
6990
6919
|
getInputField("bottomLabel_1", "First BottomLabel"),
|
|
6991
6920
|
getInputField("bottomLabel_2", "Second BottomLabel"),
|
|
6992
|
-
getInputField("bottomLabel_3", "Third BottomLabel")
|
|
6921
|
+
getInputField("bottomLabel_3", "Third BottomLabel"),
|
|
6922
|
+
EmptyBox,
|
|
6923
|
+
EmptyBox
|
|
6993
6924
|
];
|
|
6994
6925
|
break;
|
|
6995
6926
|
case "card":
|
|
@@ -7023,7 +6954,7 @@ const buildPropertiesSection = function(type) {
|
|
|
7023
6954
|
];
|
|
7024
6955
|
break;
|
|
7025
6956
|
case "WrapperSection":
|
|
7026
|
-
uiSchema.elements = [getRadioInputField("divider", "Divider", ["YES", "No"]), EmptyBox];
|
|
6957
|
+
uiSchema.elements = [getRadioInputField("divider", "Divider", ["YES", "No"]), getRadioInputField("isAccordion", "Accordion", ["YES", "No"]), EmptyBox];
|
|
7027
6958
|
break;
|
|
7028
6959
|
case "TabSection":
|
|
7029
6960
|
uiSchema.elements = [
|
|
@@ -7051,12 +6982,14 @@ const buildPropertiesSection = function(type) {
|
|
|
7051
6982
|
case "Select":
|
|
7052
6983
|
uiSchema.elements = [
|
|
7053
6984
|
getRadioInputField("lazyLoading", "Lazy Loading", ["YES", "NO"]),
|
|
7054
|
-
getRadioInputField("freeSolo", "FreeSolo", ["YES", "NO"])
|
|
6985
|
+
getRadioInputField("freeSolo", "FreeSolo", ["YES", "NO"]),
|
|
6986
|
+
EmptyBox
|
|
7055
6987
|
];
|
|
7056
6988
|
break;
|
|
7057
6989
|
case "MultipleSelect":
|
|
7058
6990
|
uiSchema.elements = [
|
|
7059
6991
|
getRadioInputField("lazyLoading", "Lazy Loading", ["YES", "NO"]),
|
|
6992
|
+
EmptyBox,
|
|
7060
6993
|
EmptyBox
|
|
7061
6994
|
];
|
|
7062
6995
|
break;
|
|
@@ -7102,116 +7035,92 @@ const TableSection = {
|
|
|
7102
7035
|
type: "HorizontalLayout",
|
|
7103
7036
|
elements: [
|
|
7104
7037
|
{
|
|
7105
|
-
type: "
|
|
7038
|
+
type: "Control",
|
|
7039
|
+
scope: "#/properties/elements",
|
|
7040
|
+
options: {
|
|
7041
|
+
widget: "Table"
|
|
7042
|
+
},
|
|
7106
7043
|
config: {
|
|
7107
|
-
main: {
|
|
7108
|
-
|
|
7109
|
-
|
|
7044
|
+
main: {
|
|
7045
|
+
headerIcons: {
|
|
7046
|
+
elements: [
|
|
7047
|
+
{
|
|
7048
|
+
widget: {
|
|
7049
|
+
type: "Control",
|
|
7050
|
+
scope: "#/properties/New_Record",
|
|
7051
|
+
options: {
|
|
7052
|
+
widget: "IconButton"
|
|
7053
|
+
},
|
|
7054
|
+
config: {
|
|
7055
|
+
main: {
|
|
7056
|
+
color: "info",
|
|
7057
|
+
onClick: "widgetAddClickHandler",
|
|
7058
|
+
size: "small",
|
|
7059
|
+
icon: "AddIcon",
|
|
7060
|
+
iconLabel: "Add New",
|
|
7061
|
+
styleDefault: true
|
|
7062
|
+
},
|
|
7063
|
+
style: {
|
|
7064
|
+
mt: "6px"
|
|
7065
|
+
}
|
|
7066
|
+
}
|
|
7067
|
+
}
|
|
7068
|
+
}
|
|
7069
|
+
]
|
|
7070
|
+
},
|
|
7071
|
+
disableAction: true,
|
|
7072
|
+
disableSelection: true,
|
|
7073
|
+
enableDrag: true
|
|
7110
7074
|
}
|
|
7111
7075
|
},
|
|
7112
7076
|
elements: [
|
|
7113
7077
|
{
|
|
7114
|
-
|
|
7115
|
-
|
|
7116
|
-
options: {
|
|
7117
|
-
widget: "Box"
|
|
7118
|
-
},
|
|
7119
|
-
config: {
|
|
7120
|
-
layout: 8,
|
|
7121
|
-
main: {
|
|
7122
|
-
heading: "Components Table"
|
|
7123
|
-
},
|
|
7124
|
-
style: {
|
|
7125
|
-
fontFamily: "Roboto",
|
|
7126
|
-
fontWeight: "500",
|
|
7127
|
-
paddingLeft: "-10px",
|
|
7128
|
-
fontSize: "20px"
|
|
7129
|
-
}
|
|
7130
|
-
}
|
|
7078
|
+
accessorKey: "name",
|
|
7079
|
+
header: "Name"
|
|
7131
7080
|
},
|
|
7132
7081
|
{
|
|
7133
|
-
|
|
7134
|
-
|
|
7135
|
-
|
|
7136
|
-
|
|
7137
|
-
|
|
7138
|
-
|
|
7139
|
-
|
|
7140
|
-
|
|
7141
|
-
|
|
7142
|
-
|
|
7143
|
-
|
|
7144
|
-
|
|
7145
|
-
tooltipMessage: "Add New"
|
|
7082
|
+
accessorKey: "type",
|
|
7083
|
+
header: "Type"
|
|
7084
|
+
},
|
|
7085
|
+
{
|
|
7086
|
+
header: "Edit Record",
|
|
7087
|
+
field: "Reject_Records",
|
|
7088
|
+
flex: 1,
|
|
7089
|
+
widget: {
|
|
7090
|
+
type: "Control",
|
|
7091
|
+
scope: "#/properties/RejectButton",
|
|
7092
|
+
options: {
|
|
7093
|
+
widget: "IconButton"
|
|
7146
7094
|
},
|
|
7147
|
-
|
|
7148
|
-
|
|
7095
|
+
config: {
|
|
7096
|
+
main: {
|
|
7097
|
+
icon: "EditIcon",
|
|
7098
|
+
color: "primary",
|
|
7099
|
+
onClick: "editComponents",
|
|
7100
|
+
tooltipMessage: "Reject This Record"
|
|
7101
|
+
}
|
|
7149
7102
|
}
|
|
7150
7103
|
}
|
|
7151
7104
|
},
|
|
7152
7105
|
{
|
|
7153
|
-
|
|
7154
|
-
|
|
7155
|
-
|
|
7156
|
-
|
|
7157
|
-
|
|
7158
|
-
|
|
7159
|
-
|
|
7160
|
-
|
|
7161
|
-
disableSelection: true,
|
|
7162
|
-
enableDrag: true
|
|
7163
|
-
}
|
|
7164
|
-
},
|
|
7165
|
-
elements: [
|
|
7166
|
-
{
|
|
7167
|
-
accessorKey: "name",
|
|
7168
|
-
header: "Name"
|
|
7169
|
-
},
|
|
7170
|
-
{
|
|
7171
|
-
accessorKey: "type",
|
|
7172
|
-
header: "Type"
|
|
7173
|
-
},
|
|
7174
|
-
{
|
|
7175
|
-
header: "Edit Record",
|
|
7176
|
-
field: "Reject_Records",
|
|
7177
|
-
flex: 1,
|
|
7178
|
-
widget: {
|
|
7179
|
-
type: "Control",
|
|
7180
|
-
scope: "#/properties/RejectButton",
|
|
7181
|
-
options: {
|
|
7182
|
-
widget: "IconButton"
|
|
7183
|
-
},
|
|
7184
|
-
config: {
|
|
7185
|
-
main: {
|
|
7186
|
-
icon: "EditIcon",
|
|
7187
|
-
color: "primary",
|
|
7188
|
-
onClick: "editComponents",
|
|
7189
|
-
tooltipMessage: "Reject This Record"
|
|
7190
|
-
}
|
|
7191
|
-
}
|
|
7192
|
-
}
|
|
7106
|
+
header: "Delete",
|
|
7107
|
+
field: "Reject_Records",
|
|
7108
|
+
flex: 1,
|
|
7109
|
+
widget: {
|
|
7110
|
+
type: "Control",
|
|
7111
|
+
scope: "#/properties/RejectButton",
|
|
7112
|
+
options: {
|
|
7113
|
+
widget: "IconButton"
|
|
7193
7114
|
},
|
|
7194
|
-
{
|
|
7195
|
-
|
|
7196
|
-
|
|
7197
|
-
|
|
7198
|
-
|
|
7199
|
-
|
|
7200
|
-
scope: "#/properties/RejectButton",
|
|
7201
|
-
options: {
|
|
7202
|
-
widget: "IconButton"
|
|
7203
|
-
},
|
|
7204
|
-
config: {
|
|
7205
|
-
main: {
|
|
7206
|
-
icon: "RejectIcon",
|
|
7207
|
-
color: "error",
|
|
7208
|
-
onClick: "deleteComponents",
|
|
7209
|
-
tooltipMessage: "Reject This Record"
|
|
7210
|
-
}
|
|
7211
|
-
}
|
|
7115
|
+
config: {
|
|
7116
|
+
main: {
|
|
7117
|
+
icon: "RejectIcon",
|
|
7118
|
+
color: "error",
|
|
7119
|
+
onClick: "deleteComponents",
|
|
7120
|
+
tooltipMessage: "Reject This Record"
|
|
7212
7121
|
}
|
|
7213
7122
|
}
|
|
7214
|
-
|
|
7123
|
+
}
|
|
7215
7124
|
}
|
|
7216
7125
|
]
|
|
7217
7126
|
}
|
|
@@ -7235,12 +7144,7 @@ const ValueTab = {
|
|
|
7235
7144
|
widget: "InputField"
|
|
7236
7145
|
},
|
|
7237
7146
|
config: {
|
|
7238
|
-
layout: {
|
|
7239
|
-
xs: 11,
|
|
7240
|
-
sm: 11,
|
|
7241
|
-
md: 5.5,
|
|
7242
|
-
lg: 5.5
|
|
7243
|
-
},
|
|
7147
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
7244
7148
|
main: {
|
|
7245
7149
|
label: "Label"
|
|
7246
7150
|
}
|
|
@@ -7253,16 +7157,21 @@ const ValueTab = {
|
|
|
7253
7157
|
widget: "InputField"
|
|
7254
7158
|
},
|
|
7255
7159
|
config: {
|
|
7256
|
-
layout: {
|
|
7257
|
-
xs: 11,
|
|
7258
|
-
sm: 11,
|
|
7259
|
-
md: 5.5,
|
|
7260
|
-
lg: 5.5
|
|
7261
|
-
},
|
|
7160
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
7262
7161
|
main: {
|
|
7263
7162
|
label: "Value"
|
|
7264
7163
|
}
|
|
7265
7164
|
}
|
|
7165
|
+
},
|
|
7166
|
+
{
|
|
7167
|
+
type: "Control",
|
|
7168
|
+
scope: "#/properties/emptyBox",
|
|
7169
|
+
options: {
|
|
7170
|
+
widget: "EmptyBox"
|
|
7171
|
+
},
|
|
7172
|
+
config: {
|
|
7173
|
+
layout: { xs: 0, sm: 4, md: 4, lg: 4 }
|
|
7174
|
+
}
|
|
7266
7175
|
}
|
|
7267
7176
|
]
|
|
7268
7177
|
}
|
|
@@ -7289,12 +7198,7 @@ const ValidationSection = {
|
|
|
7289
7198
|
widget: "SelectInputField"
|
|
7290
7199
|
},
|
|
7291
7200
|
config: {
|
|
7292
|
-
layout: {
|
|
7293
|
-
xs: 11,
|
|
7294
|
-
sm: 11,
|
|
7295
|
-
md: 5.5,
|
|
7296
|
-
lg: 5.5
|
|
7297
|
-
},
|
|
7201
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
7298
7202
|
main: {
|
|
7299
7203
|
label: "Validation Type"
|
|
7300
7204
|
}
|
|
@@ -7307,16 +7211,21 @@ const ValidationSection = {
|
|
|
7307
7211
|
widget: "InputField"
|
|
7308
7212
|
},
|
|
7309
7213
|
config: {
|
|
7310
|
-
layout: {
|
|
7311
|
-
xs: 11,
|
|
7312
|
-
sm: 11,
|
|
7313
|
-
md: 5.5,
|
|
7314
|
-
lg: 5.5
|
|
7315
|
-
},
|
|
7214
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
7316
7215
|
main: {
|
|
7317
7216
|
label: "Validation Value"
|
|
7318
7217
|
}
|
|
7319
7218
|
}
|
|
7219
|
+
},
|
|
7220
|
+
{
|
|
7221
|
+
type: "Control",
|
|
7222
|
+
scope: "#/properties/emptyBox",
|
|
7223
|
+
options: {
|
|
7224
|
+
widget: "EmptyBox"
|
|
7225
|
+
},
|
|
7226
|
+
config: {
|
|
7227
|
+
layout: { xs: 0, sm: 4 }
|
|
7228
|
+
}
|
|
7320
7229
|
}
|
|
7321
7230
|
]
|
|
7322
7231
|
}
|
|
@@ -7510,8 +7419,8 @@ const refreshPage = (type, store2) => {
|
|
|
7510
7419
|
Validation: ValidationSection
|
|
7511
7420
|
};
|
|
7512
7421
|
const elements = (_a = sectionLabels[type]) == null ? void 0 : _a.map((e) => sectionUiSchema[e]);
|
|
7513
|
-
UiSchema.elements[
|
|
7514
|
-
UiSchema.elements[
|
|
7422
|
+
UiSchema.elements[0].config.main.tabLabels = sectionLabels[type] || ["Core", "style", "Event", "Validation"];
|
|
7423
|
+
UiSchema.elements[0].elements = elements || [CoreSection, StyleSection, EventSection, ValidationSection];
|
|
7515
7424
|
}
|
|
7516
7425
|
store2.setUiSchema(UiSchema);
|
|
7517
7426
|
};
|
|
@@ -7768,334 +7677,387 @@ const EventSchema = {
|
|
|
7768
7677
|
},
|
|
7769
7678
|
required: ["eventType", "Handler"]
|
|
7770
7679
|
};
|
|
7771
|
-
const EventUiSchema = {
|
|
7772
|
-
|
|
7773
|
-
|
|
7774
|
-
|
|
7775
|
-
|
|
7776
|
-
|
|
7777
|
-
|
|
7778
|
-
|
|
7779
|
-
|
|
7680
|
+
const EventUiSchema = (theme) => {
|
|
7681
|
+
var _a;
|
|
7682
|
+
const uiSchema = {
|
|
7683
|
+
type: "HorizontalLayout",
|
|
7684
|
+
heading: "Component",
|
|
7685
|
+
elements: [
|
|
7686
|
+
{
|
|
7687
|
+
type: "TabLayout",
|
|
7688
|
+
config: {
|
|
7689
|
+
main: {
|
|
7690
|
+
tabLabels: ["Core", "Response Event"],
|
|
7691
|
+
defaultStyle: true,
|
|
7692
|
+
id: "event"
|
|
7693
|
+
}
|
|
7780
7694
|
},
|
|
7781
|
-
|
|
7782
|
-
|
|
7783
|
-
|
|
7784
|
-
|
|
7785
|
-
|
|
7786
|
-
|
|
7787
|
-
|
|
7788
|
-
|
|
7695
|
+
elements: [
|
|
7696
|
+
{
|
|
7697
|
+
type: "HorizontalLayout",
|
|
7698
|
+
elements: [
|
|
7699
|
+
{
|
|
7700
|
+
type: "Control",
|
|
7701
|
+
scope: `#/properties/eventType`,
|
|
7702
|
+
options: {
|
|
7703
|
+
widget: "SelectInputField"
|
|
7704
|
+
},
|
|
7705
|
+
config: {
|
|
7706
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
7707
|
+
main: {
|
|
7708
|
+
label: "Event Type",
|
|
7709
|
+
type: "text"
|
|
7710
|
+
}
|
|
7711
|
+
}
|
|
7712
|
+
},
|
|
7713
|
+
{
|
|
7714
|
+
type: "Control",
|
|
7715
|
+
scope: `#/properties/Handler`,
|
|
7716
|
+
options: {
|
|
7717
|
+
widget: "SelectInputField"
|
|
7718
|
+
},
|
|
7719
|
+
config: {
|
|
7720
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
7721
|
+
main: {
|
|
7722
|
+
label: "Handler",
|
|
7723
|
+
type: "text"
|
|
7724
|
+
}
|
|
7725
|
+
}
|
|
7726
|
+
},
|
|
7727
|
+
{
|
|
7728
|
+
type: "Control",
|
|
7729
|
+
scope: "#/properties/emptyBox",
|
|
7730
|
+
options: {
|
|
7731
|
+
widget: "EmptyBox"
|
|
7732
|
+
},
|
|
7733
|
+
config: {
|
|
7734
|
+
layout: { xs: 0, sm: 4 }
|
|
7735
|
+
}
|
|
7736
|
+
}
|
|
7737
|
+
]
|
|
7789
7738
|
},
|
|
7790
|
-
|
|
7791
|
-
|
|
7792
|
-
|
|
7793
|
-
|
|
7739
|
+
{
|
|
7740
|
+
type: "Control",
|
|
7741
|
+
scope: "#/properties/events",
|
|
7742
|
+
options: {
|
|
7743
|
+
widget: "Table"
|
|
7794
7744
|
},
|
|
7795
|
-
|
|
7796
|
-
|
|
7797
|
-
|
|
7745
|
+
config: {
|
|
7746
|
+
main: {
|
|
7747
|
+
headerIcons: {
|
|
7748
|
+
elements: [
|
|
7749
|
+
{
|
|
7750
|
+
widget: {
|
|
7751
|
+
type: "Control",
|
|
7752
|
+
scope: "#/properties/New_Record",
|
|
7753
|
+
options: {
|
|
7754
|
+
widget: "IconButton"
|
|
7755
|
+
},
|
|
7756
|
+
config: {
|
|
7757
|
+
main: {
|
|
7758
|
+
onClick: "addEvent",
|
|
7759
|
+
size: "small",
|
|
7760
|
+
icon: "AddIcon",
|
|
7761
|
+
iconLabel: "Add New",
|
|
7762
|
+
styleDefault: true
|
|
7763
|
+
},
|
|
7764
|
+
style: {
|
|
7765
|
+
mt: "6px"
|
|
7766
|
+
}
|
|
7767
|
+
}
|
|
7768
|
+
}
|
|
7769
|
+
}
|
|
7770
|
+
]
|
|
7771
|
+
},
|
|
7772
|
+
disableAction: true,
|
|
7773
|
+
disableSelection: true,
|
|
7774
|
+
enableDrag: true
|
|
7775
|
+
}
|
|
7776
|
+
},
|
|
7777
|
+
elements: [
|
|
7778
|
+
{
|
|
7779
|
+
accessorKey: "eventType",
|
|
7780
|
+
header: "Event Type"
|
|
7781
|
+
},
|
|
7782
|
+
{
|
|
7783
|
+
accessorKey: "Handler",
|
|
7784
|
+
header: "Handler"
|
|
7785
|
+
},
|
|
7786
|
+
{
|
|
7787
|
+
accessorKey: "Edit_Approve_Records",
|
|
7788
|
+
header: "Edit Widget",
|
|
7789
|
+
widget: {
|
|
7790
|
+
type: "Control",
|
|
7791
|
+
scope: "#/properties/Edit_Records",
|
|
7792
|
+
options: {
|
|
7793
|
+
widget: "IconButton"
|
|
7794
|
+
},
|
|
7795
|
+
config: {
|
|
7796
|
+
main: {
|
|
7797
|
+
size: "small",
|
|
7798
|
+
icon: "EditIcon",
|
|
7799
|
+
tooltipMessage: "Edit This Record",
|
|
7800
|
+
onClick: "editEvent"
|
|
7801
|
+
},
|
|
7802
|
+
style: {
|
|
7803
|
+
color: "#3949ab"
|
|
7804
|
+
}
|
|
7805
|
+
}
|
|
7806
|
+
}
|
|
7807
|
+
},
|
|
7808
|
+
{
|
|
7809
|
+
accessorKey: "Reject_Records",
|
|
7810
|
+
header: "Delete",
|
|
7811
|
+
widget: {
|
|
7812
|
+
type: "Control",
|
|
7813
|
+
scope: "#/properties/RejectButton",
|
|
7814
|
+
options: {
|
|
7815
|
+
widget: "IconButton"
|
|
7816
|
+
},
|
|
7817
|
+
config: {
|
|
7818
|
+
main: {
|
|
7819
|
+
icon: "RejectIcon",
|
|
7820
|
+
color: "error",
|
|
7821
|
+
tooltipMessage: "Reject This Record",
|
|
7822
|
+
onClick: "deleteEvent"
|
|
7823
|
+
}
|
|
7824
|
+
}
|
|
7825
|
+
}
|
|
7826
|
+
}
|
|
7827
|
+
]
|
|
7798
7828
|
}
|
|
7829
|
+
]
|
|
7830
|
+
},
|
|
7831
|
+
{
|
|
7832
|
+
type: "Control",
|
|
7833
|
+
scope: "#/properties/EmptyBox",
|
|
7834
|
+
options: {
|
|
7835
|
+
widget: "EmptyBox"
|
|
7799
7836
|
},
|
|
7800
|
-
{
|
|
7801
|
-
|
|
7802
|
-
|
|
7803
|
-
|
|
7804
|
-
|
|
7837
|
+
config: {
|
|
7838
|
+
layout: { xs: 0, sm: 4, md: 4, lg: 4 }
|
|
7839
|
+
}
|
|
7840
|
+
},
|
|
7841
|
+
{
|
|
7842
|
+
type: "Control",
|
|
7843
|
+
scope: "#/properties/EmptyBox",
|
|
7844
|
+
options: {
|
|
7845
|
+
widget: "EmptyBox"
|
|
7846
|
+
},
|
|
7847
|
+
config: {
|
|
7848
|
+
layout: { xs: 0, sm: 4, md: 4, lg: 4 }
|
|
7849
|
+
}
|
|
7850
|
+
},
|
|
7851
|
+
{
|
|
7852
|
+
type: "Control",
|
|
7853
|
+
scope: "#/properties/btn",
|
|
7854
|
+
options: {
|
|
7855
|
+
widget: "Button"
|
|
7856
|
+
},
|
|
7857
|
+
config: {
|
|
7858
|
+
layout: 1.8,
|
|
7859
|
+
main: {
|
|
7860
|
+
name: "Ok",
|
|
7861
|
+
startIcon: "ApproveIcon",
|
|
7862
|
+
variant: "contained",
|
|
7863
|
+
type: "text",
|
|
7864
|
+
onClick: "okHandler",
|
|
7865
|
+
size: "medium"
|
|
7805
7866
|
},
|
|
7806
|
-
|
|
7807
|
-
|
|
7808
|
-
main: {
|
|
7809
|
-
heading: " "
|
|
7810
|
-
},
|
|
7811
|
-
style: {
|
|
7812
|
-
float: "right",
|
|
7813
|
-
width: "auto",
|
|
7814
|
-
fontSize: "12px",
|
|
7815
|
-
color: "gray",
|
|
7816
|
-
paddingTop: "10px"
|
|
7817
|
-
}
|
|
7867
|
+
style: {
|
|
7868
|
+
float: "right"
|
|
7818
7869
|
}
|
|
7870
|
+
}
|
|
7871
|
+
},
|
|
7872
|
+
{
|
|
7873
|
+
type: "Control",
|
|
7874
|
+
scope: "#/properties/btnSubmit",
|
|
7875
|
+
options: {
|
|
7876
|
+
widget: "Button"
|
|
7819
7877
|
},
|
|
7820
|
-
{
|
|
7821
|
-
|
|
7822
|
-
|
|
7823
|
-
|
|
7824
|
-
|
|
7878
|
+
config: {
|
|
7879
|
+
layout: 1.8,
|
|
7880
|
+
main: {
|
|
7881
|
+
name: "Save & Exit",
|
|
7882
|
+
startIcon: "ApproveIcon",
|
|
7883
|
+
variant: "contained",
|
|
7884
|
+
type: "text",
|
|
7885
|
+
onClick: "saveHandler",
|
|
7886
|
+
size: "medium"
|
|
7825
7887
|
},
|
|
7826
|
-
|
|
7827
|
-
|
|
7828
|
-
main: {
|
|
7829
|
-
icon: "BackIcon",
|
|
7830
|
-
styleDefault: true,
|
|
7831
|
-
size: "small",
|
|
7832
|
-
onClick: "backHandler",
|
|
7833
|
-
tooltipMessage: "Back"
|
|
7834
|
-
},
|
|
7835
|
-
style: {
|
|
7836
|
-
float: "right"
|
|
7837
|
-
}
|
|
7888
|
+
style: {
|
|
7889
|
+
float: "right"
|
|
7838
7890
|
}
|
|
7839
7891
|
}
|
|
7840
|
-
]
|
|
7841
|
-
},
|
|
7842
|
-
{
|
|
7843
|
-
type: "TabLayout",
|
|
7844
|
-
config: {
|
|
7845
|
-
main: {
|
|
7846
|
-
tabLabels: ["Core", "Response Event"],
|
|
7847
|
-
defaultStyle: true,
|
|
7848
|
-
id: "event"
|
|
7849
|
-
}
|
|
7850
7892
|
},
|
|
7851
|
-
|
|
7852
|
-
|
|
7853
|
-
|
|
7854
|
-
|
|
7855
|
-
|
|
7856
|
-
type: "Control",
|
|
7857
|
-
scope: `#/properties/eventType`,
|
|
7858
|
-
options: {
|
|
7859
|
-
widget: "SelectInputField"
|
|
7860
|
-
},
|
|
7861
|
-
config: {
|
|
7862
|
-
layout: { xs: 11, sm: 11, md: 5.5, lg: 5.5 },
|
|
7863
|
-
main: {
|
|
7864
|
-
label: "Event Type",
|
|
7865
|
-
type: "text"
|
|
7866
|
-
}
|
|
7867
|
-
}
|
|
7868
|
-
},
|
|
7869
|
-
getSelectField("Handler", "Handler")
|
|
7870
|
-
]
|
|
7893
|
+
{
|
|
7894
|
+
type: "Control",
|
|
7895
|
+
scope: "#/properties/notify",
|
|
7896
|
+
options: {
|
|
7897
|
+
widget: "Notify"
|
|
7871
7898
|
},
|
|
7872
|
-
|
|
7873
|
-
|
|
7874
|
-
|
|
7875
|
-
|
|
7876
|
-
|
|
7877
|
-
|
|
7878
|
-
|
|
7879
|
-
|
|
7880
|
-
|
|
7881
|
-
|
|
7882
|
-
|
|
7883
|
-
|
|
7884
|
-
|
|
7885
|
-
|
|
7886
|
-
|
|
7887
|
-
|
|
7888
|
-
|
|
7889
|
-
|
|
7890
|
-
layout: 8,
|
|
7891
|
-
main: {
|
|
7892
|
-
heading: "Response Event"
|
|
7893
|
-
},
|
|
7894
|
-
style: {
|
|
7895
|
-
fontFamily: "Roboto",
|
|
7896
|
-
fontWeight: "500",
|
|
7897
|
-
paddingLeft: "-10px",
|
|
7898
|
-
fontSize: "20px"
|
|
7899
|
-
}
|
|
7900
|
-
}
|
|
7899
|
+
layout: 6
|
|
7900
|
+
},
|
|
7901
|
+
{
|
|
7902
|
+
type: "HorizontalLayout",
|
|
7903
|
+
config: {
|
|
7904
|
+
layout: 12,
|
|
7905
|
+
style: {
|
|
7906
|
+
position: "absolute",
|
|
7907
|
+
bottom: 5,
|
|
7908
|
+
overflow: "hidden"
|
|
7909
|
+
}
|
|
7910
|
+
},
|
|
7911
|
+
elements: [
|
|
7912
|
+
{
|
|
7913
|
+
type: "Control",
|
|
7914
|
+
scope: "#/properties/FooterText",
|
|
7915
|
+
options: {
|
|
7916
|
+
widget: "Box"
|
|
7901
7917
|
},
|
|
7902
|
-
{
|
|
7903
|
-
|
|
7904
|
-
|
|
7905
|
-
|
|
7906
|
-
widget: "IconButton"
|
|
7918
|
+
config: {
|
|
7919
|
+
layout: 9.5,
|
|
7920
|
+
main: {
|
|
7921
|
+
heading: "Copywriter@ACT21.IO"
|
|
7907
7922
|
},
|
|
7908
|
-
|
|
7909
|
-
|
|
7910
|
-
|
|
7911
|
-
|
|
7912
|
-
styleDefault: true,
|
|
7913
|
-
size: "small",
|
|
7914
|
-
onClick: "addEvent",
|
|
7915
|
-
tooltipMessage: "Back"
|
|
7916
|
-
},
|
|
7917
|
-
style: {
|
|
7918
|
-
float: "right"
|
|
7919
|
-
}
|
|
7923
|
+
style: {
|
|
7924
|
+
color: ((_a = theme == null ? void 0 : theme.palette) == null ? void 0 : _a.text.disabled) || "#AFAFAF",
|
|
7925
|
+
fontSize: "12px",
|
|
7926
|
+
textAlign: "center"
|
|
7920
7927
|
}
|
|
7928
|
+
}
|
|
7929
|
+
},
|
|
7930
|
+
{
|
|
7931
|
+
type: "HorizontalLayout",
|
|
7932
|
+
config: {
|
|
7933
|
+
layout: 2.5,
|
|
7934
|
+
style: {}
|
|
7921
7935
|
},
|
|
7922
|
-
|
|
7923
|
-
|
|
7924
|
-
|
|
7925
|
-
|
|
7926
|
-
|
|
7927
|
-
|
|
7928
|
-
|
|
7929
|
-
|
|
7930
|
-
|
|
7931
|
-
|
|
7932
|
-
|
|
7936
|
+
elements: [
|
|
7937
|
+
{
|
|
7938
|
+
type: "Control",
|
|
7939
|
+
scope: "#/properties/EmptyBox",
|
|
7940
|
+
options: {
|
|
7941
|
+
widget: "EmptyBox"
|
|
7942
|
+
},
|
|
7943
|
+
config: {
|
|
7944
|
+
layout: 6,
|
|
7945
|
+
style: {
|
|
7946
|
+
flexGrow: 1
|
|
7947
|
+
}
|
|
7933
7948
|
}
|
|
7934
7949
|
},
|
|
7935
|
-
|
|
7936
|
-
|
|
7937
|
-
|
|
7938
|
-
|
|
7939
|
-
|
|
7940
|
-
{
|
|
7941
|
-
accessorKey: "Handler",
|
|
7942
|
-
header: "Handler"
|
|
7950
|
+
{
|
|
7951
|
+
type: "Control",
|
|
7952
|
+
scope: "#/properties/backIcon",
|
|
7953
|
+
options: {
|
|
7954
|
+
widget: "Box"
|
|
7943
7955
|
},
|
|
7944
|
-
{
|
|
7945
|
-
|
|
7946
|
-
|
|
7947
|
-
|
|
7948
|
-
|
|
7949
|
-
|
|
7950
|
-
|
|
7951
|
-
|
|
7952
|
-
|
|
7953
|
-
|
|
7954
|
-
|
|
7955
|
-
|
|
7956
|
-
|
|
7957
|
-
|
|
7958
|
-
|
|
7959
|
-
|
|
7960
|
-
|
|
7961
|
-
style: {
|
|
7962
|
-
color: "#3949ab"
|
|
7963
|
-
}
|
|
7956
|
+
config: {
|
|
7957
|
+
layout: 1,
|
|
7958
|
+
main: {
|
|
7959
|
+
iconName: "PrevIcon",
|
|
7960
|
+
onClick: "backHandler"
|
|
7961
|
+
},
|
|
7962
|
+
style: {
|
|
7963
|
+
fill: theme.palette.primary.main,
|
|
7964
|
+
width: 20,
|
|
7965
|
+
height: 20,
|
|
7966
|
+
display: "flex",
|
|
7967
|
+
alignItems: "center",
|
|
7968
|
+
justifyContent: "center",
|
|
7969
|
+
marginRight: "-8px",
|
|
7970
|
+
cursor: "pointer",
|
|
7971
|
+
":hover": {
|
|
7972
|
+
fill: theme.palette.primary.dark
|
|
7964
7973
|
}
|
|
7965
7974
|
}
|
|
7975
|
+
}
|
|
7976
|
+
},
|
|
7977
|
+
{
|
|
7978
|
+
type: "Control",
|
|
7979
|
+
scope: "#/properties/text",
|
|
7980
|
+
options: {
|
|
7981
|
+
widget: "Box"
|
|
7966
7982
|
},
|
|
7967
|
-
{
|
|
7968
|
-
|
|
7969
|
-
|
|
7970
|
-
|
|
7971
|
-
|
|
7972
|
-
|
|
7973
|
-
|
|
7974
|
-
|
|
7975
|
-
|
|
7976
|
-
|
|
7977
|
-
|
|
7978
|
-
|
|
7979
|
-
|
|
7980
|
-
|
|
7981
|
-
|
|
7982
|
-
}
|
|
7983
|
+
config: {
|
|
7984
|
+
layout: 5,
|
|
7985
|
+
main: {
|
|
7986
|
+
heading: "Previous Page",
|
|
7987
|
+
onClick: "backHandler"
|
|
7988
|
+
},
|
|
7989
|
+
style: {
|
|
7990
|
+
width: "fit-content",
|
|
7991
|
+
color: theme.palette.primary.main,
|
|
7992
|
+
fontSize: "12px",
|
|
7993
|
+
cursor: "pointer",
|
|
7994
|
+
marginLeft: "2px",
|
|
7995
|
+
marginRight: 0,
|
|
7996
|
+
":hover": {
|
|
7997
|
+
color: theme.palette.primary.dark
|
|
7983
7998
|
}
|
|
7984
7999
|
}
|
|
7985
8000
|
}
|
|
7986
|
-
|
|
7987
|
-
|
|
7988
|
-
|
|
7989
|
-
|
|
7990
|
-
]
|
|
7991
|
-
},
|
|
7992
|
-
{
|
|
7993
|
-
type: "Control",
|
|
7994
|
-
scope: "#/properties/proc",
|
|
7995
|
-
config: {
|
|
7996
|
-
layout: { xs: 11, sm: 11, md: 6, lg: 6 }
|
|
7997
|
-
},
|
|
7998
|
-
options: {
|
|
7999
|
-
widget: "EmptyBox"
|
|
8001
|
+
}
|
|
8002
|
+
]
|
|
8003
|
+
}
|
|
8004
|
+
]
|
|
8000
8005
|
}
|
|
8001
|
-
|
|
8006
|
+
]
|
|
8007
|
+
};
|
|
8008
|
+
return uiSchema;
|
|
8009
|
+
};
|
|
8010
|
+
const APISection = {
|
|
8011
|
+
type: "HorizontalLayout",
|
|
8012
|
+
elements: [
|
|
8002
8013
|
{
|
|
8003
8014
|
type: "Control",
|
|
8004
|
-
scope: "#/properties/
|
|
8015
|
+
scope: "#/properties/method",
|
|
8005
8016
|
options: {
|
|
8006
|
-
widget: "
|
|
8017
|
+
widget: "SelectInputField"
|
|
8007
8018
|
},
|
|
8008
8019
|
config: {
|
|
8009
|
-
layout: {
|
|
8010
|
-
xs: 11,
|
|
8011
|
-
sm: 11,
|
|
8012
|
-
md: 2.5,
|
|
8013
|
-
lg: 2.5
|
|
8014
|
-
},
|
|
8020
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
8015
8021
|
main: {
|
|
8016
|
-
|
|
8017
|
-
|
|
8018
|
-
variant: "contained",
|
|
8019
|
-
color: "info",
|
|
8020
|
-
type: "text",
|
|
8021
|
-
onClick: "okHandler",
|
|
8022
|
-
size: "small"
|
|
8023
|
-
},
|
|
8024
|
-
style: {
|
|
8025
|
-
marginBottom: "8px",
|
|
8026
|
-
float: "right"
|
|
8022
|
+
label: "Method",
|
|
8023
|
+
type: "text"
|
|
8027
8024
|
}
|
|
8028
8025
|
}
|
|
8029
8026
|
},
|
|
8030
8027
|
{
|
|
8031
8028
|
type: "Control",
|
|
8032
|
-
scope: "#/properties/
|
|
8029
|
+
scope: "#/properties/path",
|
|
8033
8030
|
options: {
|
|
8034
|
-
widget: "
|
|
8031
|
+
widget: "InputField"
|
|
8035
8032
|
},
|
|
8036
8033
|
config: {
|
|
8037
|
-
layout: {
|
|
8038
|
-
xs: 11,
|
|
8039
|
-
sm: 11,
|
|
8040
|
-
md: 2.5,
|
|
8041
|
-
lg: 2.5
|
|
8042
|
-
},
|
|
8034
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
8043
8035
|
main: {
|
|
8044
|
-
|
|
8045
|
-
startIcon: "ApproveIcon",
|
|
8046
|
-
variant: "contained",
|
|
8047
|
-
color: "info",
|
|
8036
|
+
label: "Path",
|
|
8048
8037
|
type: "text",
|
|
8049
|
-
|
|
8050
|
-
|
|
8051
|
-
},
|
|
8052
|
-
style: {
|
|
8053
|
-
marginBottom: "8px",
|
|
8054
|
-
float: "right"
|
|
8038
|
+
multiple: false,
|
|
8039
|
+
options: []
|
|
8055
8040
|
}
|
|
8056
8041
|
}
|
|
8057
8042
|
},
|
|
8058
8043
|
{
|
|
8059
8044
|
type: "Control",
|
|
8060
|
-
scope: "#/properties/
|
|
8061
|
-
options: {
|
|
8062
|
-
widget: "Notify"
|
|
8063
|
-
},
|
|
8064
|
-
layout: 6
|
|
8065
|
-
}
|
|
8066
|
-
]
|
|
8067
|
-
};
|
|
8068
|
-
const APISection = {
|
|
8069
|
-
type: "HorizontalLayout",
|
|
8070
|
-
elements: [
|
|
8071
|
-
{
|
|
8072
|
-
type: "Control",
|
|
8073
|
-
scope: "#/properties/method",
|
|
8045
|
+
scope: "#/properties/emptyBox",
|
|
8074
8046
|
options: {
|
|
8075
|
-
widget: "
|
|
8047
|
+
widget: "EmptyBox"
|
|
8076
8048
|
},
|
|
8077
8049
|
config: {
|
|
8078
|
-
layout: { xs:
|
|
8079
|
-
main: {
|
|
8080
|
-
label: "Method",
|
|
8081
|
-
type: "text"
|
|
8082
|
-
}
|
|
8050
|
+
layout: { xs: 0, sm: 4, md: 4, lg: 4 }
|
|
8083
8051
|
}
|
|
8084
8052
|
},
|
|
8085
8053
|
{
|
|
8086
8054
|
type: "Control",
|
|
8087
|
-
scope: "#/properties/
|
|
8055
|
+
scope: "#/properties/emptyBox",
|
|
8088
8056
|
options: {
|
|
8089
|
-
widget: "
|
|
8057
|
+
widget: "EmptyBox"
|
|
8090
8058
|
},
|
|
8091
8059
|
config: {
|
|
8092
|
-
layout: { xs:
|
|
8093
|
-
main: {
|
|
8094
|
-
label: "Path",
|
|
8095
|
-
type: "text",
|
|
8096
|
-
multiple: false,
|
|
8097
|
-
options: []
|
|
8098
|
-
}
|
|
8060
|
+
layout: { xs: 0, sm: 4, md: 4, lg: 4 }
|
|
8099
8061
|
}
|
|
8100
8062
|
},
|
|
8101
8063
|
{
|
|
@@ -8114,12 +8076,7 @@ const APISection = {
|
|
|
8114
8076
|
widget: "InputField"
|
|
8115
8077
|
},
|
|
8116
8078
|
config: {
|
|
8117
|
-
layout: {
|
|
8118
|
-
xs: 11,
|
|
8119
|
-
sm: 11,
|
|
8120
|
-
md: 5.5,
|
|
8121
|
-
lg: 5.5
|
|
8122
|
-
},
|
|
8079
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
8123
8080
|
main: {
|
|
8124
8081
|
label: "Key"
|
|
8125
8082
|
}
|
|
@@ -8132,16 +8089,21 @@ const APISection = {
|
|
|
8132
8089
|
widget: "InputField"
|
|
8133
8090
|
},
|
|
8134
8091
|
config: {
|
|
8135
|
-
layout: {
|
|
8136
|
-
xs: 11,
|
|
8137
|
-
sm: 11,
|
|
8138
|
-
md: 5.5,
|
|
8139
|
-
lg: 5.5
|
|
8140
|
-
},
|
|
8092
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
8141
8093
|
main: {
|
|
8142
8094
|
label: "Value"
|
|
8143
8095
|
}
|
|
8144
8096
|
}
|
|
8097
|
+
},
|
|
8098
|
+
{
|
|
8099
|
+
type: "Control",
|
|
8100
|
+
scope: "#/properties/emptyBox",
|
|
8101
|
+
options: {
|
|
8102
|
+
widget: "EmptyBox"
|
|
8103
|
+
},
|
|
8104
|
+
config: {
|
|
8105
|
+
layout: { xs: 0, sm: 4, md: 4, lg: 4 }
|
|
8106
|
+
}
|
|
8145
8107
|
}
|
|
8146
8108
|
]
|
|
8147
8109
|
}
|
|
@@ -8163,12 +8125,7 @@ const APISection = {
|
|
|
8163
8125
|
widget: "InputField"
|
|
8164
8126
|
},
|
|
8165
8127
|
config: {
|
|
8166
|
-
layout: {
|
|
8167
|
-
xs: 11,
|
|
8168
|
-
sm: 11,
|
|
8169
|
-
md: 5.5,
|
|
8170
|
-
lg: 5.5
|
|
8171
|
-
},
|
|
8128
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
8172
8129
|
main: {
|
|
8173
8130
|
label: "Key"
|
|
8174
8131
|
}
|
|
@@ -8181,16 +8138,21 @@ const APISection = {
|
|
|
8181
8138
|
widget: "InputField"
|
|
8182
8139
|
},
|
|
8183
8140
|
config: {
|
|
8184
|
-
layout: {
|
|
8185
|
-
xs: 11,
|
|
8186
|
-
sm: 11,
|
|
8187
|
-
md: 5.5,
|
|
8188
|
-
lg: 5.5
|
|
8189
|
-
},
|
|
8141
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
8190
8142
|
main: {
|
|
8191
8143
|
label: "Value"
|
|
8192
8144
|
}
|
|
8193
8145
|
}
|
|
8146
|
+
},
|
|
8147
|
+
{
|
|
8148
|
+
type: "Control",
|
|
8149
|
+
scope: "#/properties/emptyBox",
|
|
8150
|
+
options: {
|
|
8151
|
+
widget: "EmptyBox"
|
|
8152
|
+
},
|
|
8153
|
+
config: {
|
|
8154
|
+
layout: { xs: 0, sm: 4, md: 4, lg: 4 }
|
|
8155
|
+
}
|
|
8194
8156
|
}
|
|
8195
8157
|
]
|
|
8196
8158
|
}
|
|
@@ -8217,12 +8179,7 @@ const refreshSectionUiSchema = {
|
|
|
8217
8179
|
widget: "InputField"
|
|
8218
8180
|
},
|
|
8219
8181
|
config: {
|
|
8220
|
-
layout: {
|
|
8221
|
-
xs: 11,
|
|
8222
|
-
sm: 11,
|
|
8223
|
-
md: 5.5,
|
|
8224
|
-
lg: 5.5
|
|
8225
|
-
},
|
|
8182
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
8226
8183
|
main: {
|
|
8227
8184
|
label: "Value"
|
|
8228
8185
|
}
|
|
@@ -8235,12 +8192,7 @@ const refreshSectionUiSchema = {
|
|
|
8235
8192
|
widget: "EmptyBox"
|
|
8236
8193
|
},
|
|
8237
8194
|
config: {
|
|
8238
|
-
layout: {
|
|
8239
|
-
xs: 11,
|
|
8240
|
-
sm: 11,
|
|
8241
|
-
md: 5.5,
|
|
8242
|
-
lg: 5.5
|
|
8243
|
-
},
|
|
8195
|
+
layout: { xs: 0, sm: 4, md: 4, lg: 4 },
|
|
8244
8196
|
main: {}
|
|
8245
8197
|
}
|
|
8246
8198
|
}
|
|
@@ -8260,21 +8212,21 @@ var event = (store2, dynamicData2, submitHandler, service2) => {
|
|
|
8260
8212
|
this.refreshPage(formdata.Handler, store2);
|
|
8261
8213
|
},
|
|
8262
8214
|
refreshPage: (handlerType, store22) => {
|
|
8263
|
-
const uiSchema = _.cloneDeep(EventUiSchema);
|
|
8215
|
+
const uiSchema = _.cloneDeep(EventUiSchema(store22.theme.myTheme));
|
|
8264
8216
|
const schema2 = _.cloneDeep(EventSchema);
|
|
8265
8217
|
if (handlerType) {
|
|
8266
8218
|
if (handlerType === "custom") {
|
|
8267
|
-
uiSchema.elements[
|
|
8219
|
+
uiSchema.elements[0].elements[0].elements[3] = getTextArea("eventCode", "Write Custom Code", false);
|
|
8268
8220
|
schema2.required = ["eventType", "Handler", "eventCode"];
|
|
8269
8221
|
} else if (handlerType === "api") {
|
|
8270
|
-
uiSchema.elements[
|
|
8222
|
+
uiSchema.elements[0].elements[0].elements[3] = APISection;
|
|
8271
8223
|
schema2.required = ["eventType", "Handler", "method", "path"];
|
|
8272
8224
|
} else if (handlerType === "inBuiltFunction") {
|
|
8273
|
-
uiSchema.elements[
|
|
8274
|
-
uiSchema.elements[
|
|
8225
|
+
uiSchema.elements[0].elements[0].elements[2] = getSelectField("inBuiltFunctionType", "Function Name");
|
|
8226
|
+
uiSchema.elements[0].elements[0].elements[3] = getTextArea("funcParametersCode", "Write Custom Code for Functions Parameter", true, 12);
|
|
8275
8227
|
schema2.required = ["eventType", "Handler", "inBuiltFunctionType"];
|
|
8276
8228
|
} else if (handlerType === "refresh") {
|
|
8277
|
-
uiSchema.elements[
|
|
8229
|
+
uiSchema.elements[0].elements[0].elements[3] = refreshSectionUiSchema;
|
|
8278
8230
|
schema2.properties.refreshElements.required = ["value"];
|
|
8279
8231
|
schema2.properties.refreshElements.items.required = ["value"];
|
|
8280
8232
|
schema2.required = ["eventType", "Handler", "refreshElements"];
|
|
@@ -8284,8 +8236,8 @@ var event = (store2, dynamicData2, submitHandler, service2) => {
|
|
|
8284
8236
|
store22.setUiSchema(uiSchema);
|
|
8285
8237
|
},
|
|
8286
8238
|
getFormData: Component(store2, dynamicData2, submitHandler, service2).getFormdata,
|
|
8287
|
-
getUiSchema: function() {
|
|
8288
|
-
return EventUiSchema;
|
|
8239
|
+
getUiSchema: async function() {
|
|
8240
|
+
return await EventUiSchema(store2.theme.myTheme);
|
|
8289
8241
|
},
|
|
8290
8242
|
getSchema: () => {
|
|
8291
8243
|
return EventSchema;
|
|
@@ -8391,6 +8343,7 @@ async function executeEventsHandler(params2) {
|
|
|
8391
8343
|
} else if (params2.config.Handler === "refresh") {
|
|
8392
8344
|
return await executeRefreshHandler(params2);
|
|
8393
8345
|
} else if (params2.config.Handler === "mergeFormdata") {
|
|
8346
|
+
console.log("params : ", params2);
|
|
8394
8347
|
const result = await mergeFormdata(
|
|
8395
8348
|
params2.parentEventOutput,
|
|
8396
8349
|
params2.componentName,
|
|
@@ -8476,15 +8429,24 @@ async function mergeFormdata(handlerResponse, componentName, eventConfig, store2
|
|
|
8476
8429
|
};
|
|
8477
8430
|
});
|
|
8478
8431
|
} else if (eventConfig.type === "page") {
|
|
8432
|
+
console.log("console1 : ", handlerResponse);
|
|
8479
8433
|
if (!(_.isEmpty(handlerResponse == null ? void 0 : handlerResponse.data) && (handlerResponse == null ? void 0 : handlerResponse.data))) {
|
|
8434
|
+
console.log("console2 : ", handlerResponse);
|
|
8480
8435
|
store2.setFormdata((pre) => {
|
|
8481
8436
|
return { ...pre, ...handlerResponse == null ? void 0 : handlerResponse.data };
|
|
8482
8437
|
});
|
|
8483
8438
|
}
|
|
8484
8439
|
} else {
|
|
8485
8440
|
if (handlerResponse) {
|
|
8441
|
+
console.log("console3 : ", handlerResponse);
|
|
8442
|
+
let body2;
|
|
8443
|
+
if (handlerResponse.data instanceof Array) {
|
|
8444
|
+
body2 = [...handlerResponse.data];
|
|
8445
|
+
} else if (handlerResponse.data instanceof Object) {
|
|
8446
|
+
body2 = { ...handlerResponse.data };
|
|
8447
|
+
}
|
|
8486
8448
|
store2.setFormdata((pre) => {
|
|
8487
|
-
return { ...pre, [componentName]: eventConfig.lazyLoading ? handlerResponse.data.data :
|
|
8449
|
+
return { ...pre, [componentName]: eventConfig.lazyLoading ? handlerResponse.data.data : body2 };
|
|
8488
8450
|
});
|
|
8489
8451
|
await asyncOperation();
|
|
8490
8452
|
}
|
|
@@ -8691,11 +8653,13 @@ var service = (funcParams) => {
|
|
|
8691
8653
|
}
|
|
8692
8654
|
},
|
|
8693
8655
|
onChange: async function() {
|
|
8656
|
+
var _a, _b;
|
|
8694
8657
|
if (eventGroups.onChange) {
|
|
8658
|
+
(_a = funcParams.dynamicData) == null ? void 0 : _a.setLoading(true);
|
|
8695
8659
|
const ChangeEventsKeysArray = Object.keys(eventGroups.onChange);
|
|
8696
8660
|
Promise.all(ChangeEventsKeysArray.map(async (componentName) => {
|
|
8697
|
-
var
|
|
8698
|
-
if (((
|
|
8661
|
+
var _a2, _b2;
|
|
8662
|
+
if (((_a2 = funcParams.store) == null ? void 0 : _a2.formData[componentName]) !== funcParams.store.newData[componentName] && ((_b2 = funcParams.store) == null ? void 0 : _b2.newData[componentName]) !== void 0) {
|
|
8699
8663
|
for (const eventConfig of eventGroups.onChange[componentName]) {
|
|
8700
8664
|
await executeEvents({
|
|
8701
8665
|
...executeEventsParameters,
|
|
@@ -8705,6 +8669,7 @@ var service = (funcParams) => {
|
|
|
8705
8669
|
}
|
|
8706
8670
|
}
|
|
8707
8671
|
}));
|
|
8672
|
+
(_b = funcParams.dynamicData) == null ? void 0 : _b.setLoading(false);
|
|
8708
8673
|
}
|
|
8709
8674
|
},
|
|
8710
8675
|
updateConfigApiBody: async function(paramValue, apiBody) {
|
|
@@ -8747,6 +8712,9 @@ var service = (funcParams) => {
|
|
|
8747
8712
|
functionParameters == null ? void 0 : functionParameters.handleNext();
|
|
8748
8713
|
}
|
|
8749
8714
|
},
|
|
8715
|
+
backHandler: () => {
|
|
8716
|
+
funcParams.store.navigate(-1);
|
|
8717
|
+
},
|
|
8750
8718
|
onReset: async function(functionParameters) {
|
|
8751
8719
|
var _a, _b;
|
|
8752
8720
|
const path = ((_a = funcParams.dynamicData) == null ? void 0 : _a.tableButtonPath) || funcParams.dynamicData.path.split(".")[0];
|
|
@@ -9205,62 +9173,7 @@ const BarGraph = {
|
|
|
9205
9173
|
widget: "Graph"
|
|
9206
9174
|
},
|
|
9207
9175
|
config: {
|
|
9208
|
-
main: {
|
|
9209
|
-
header: "Bar Graph",
|
|
9210
|
-
bottomLabel: "Name of Employe",
|
|
9211
|
-
numTicks: 6,
|
|
9212
|
-
leftLabel: "Value in lakhs",
|
|
9213
|
-
axisLeft: true,
|
|
9214
|
-
axisBottom: true,
|
|
9215
|
-
hideTicks: false,
|
|
9216
|
-
hideLeftAxisLine: false,
|
|
9217
|
-
hideBottomAxisLine: false,
|
|
9218
|
-
bottomAxisWidth: "10px",
|
|
9219
|
-
legend: {
|
|
9220
|
-
labelColor: "green",
|
|
9221
|
-
legendTitle: "",
|
|
9222
|
-
direction: "row",
|
|
9223
|
-
align: "none"
|
|
9224
|
-
}
|
|
9225
|
-
},
|
|
9226
|
-
style: {
|
|
9227
|
-
containerStyle: {
|
|
9228
|
-
width: "100%",
|
|
9229
|
-
height: 300
|
|
9230
|
-
},
|
|
9231
|
-
headerStyle: {},
|
|
9232
|
-
tooltipStyle: {},
|
|
9233
|
-
labelStyle: {
|
|
9234
|
-
margin: { left: 80, bottom: 20 },
|
|
9235
|
-
leftLabelOffset: 50,
|
|
9236
|
-
bottomLabelOffset: 10
|
|
9237
|
-
},
|
|
9238
|
-
barStyle: {
|
|
9239
|
-
color: {
|
|
9240
|
-
firstBarColor: "#6c5efb",
|
|
9241
|
-
secondBarColor: "#3f51b5"
|
|
9242
|
-
}
|
|
9243
|
-
},
|
|
9244
|
-
legendStyle: {
|
|
9245
|
-
legend: {
|
|
9246
|
-
lineHeight: "0.9em",
|
|
9247
|
-
fontSize: "8px",
|
|
9248
|
-
fontFamily: "arial",
|
|
9249
|
-
padding: "10px 10px",
|
|
9250
|
-
width: "30%",
|
|
9251
|
-
display: "flex",
|
|
9252
|
-
justifyContent: "center",
|
|
9253
|
-
border: "1px solid rgba(255, 255, 255, 0.3)",
|
|
9254
|
-
borderRadius: " 8px",
|
|
9255
|
-
marginRight: "auto"
|
|
9256
|
-
},
|
|
9257
|
-
legendTitle: {
|
|
9258
|
-
fontSize: "10px",
|
|
9259
|
-
marginBottom: "10px",
|
|
9260
|
-
fontWeight: "100"
|
|
9261
|
-
}
|
|
9262
|
-
}
|
|
9263
|
-
}
|
|
9176
|
+
main: {}
|
|
9264
9177
|
}
|
|
9265
9178
|
};
|
|
9266
9179
|
const PieGraph = {
|
|
@@ -9271,35 +9184,7 @@ const PieGraph = {
|
|
|
9271
9184
|
},
|
|
9272
9185
|
config: {
|
|
9273
9186
|
main: {
|
|
9274
|
-
|
|
9275
|
-
type: "PieGraph",
|
|
9276
|
-
bottomLabel: "Name of Employe",
|
|
9277
|
-
leftLabel: "Value",
|
|
9278
|
-
axisLeft: true,
|
|
9279
|
-
axisBottom: true,
|
|
9280
|
-
legendAvailable: true,
|
|
9281
|
-
legend: {
|
|
9282
|
-
labelColor: "green",
|
|
9283
|
-
legendTitle: "Branches",
|
|
9284
|
-
direction: "row",
|
|
9285
|
-
align: "right"
|
|
9286
|
-
}
|
|
9287
|
-
},
|
|
9288
|
-
style: {
|
|
9289
|
-
containerStyle: {
|
|
9290
|
-
height: "340"
|
|
9291
|
-
},
|
|
9292
|
-
headerStyle: {},
|
|
9293
|
-
tooltipStyle: {
|
|
9294
|
-
backgroundColor: "black",
|
|
9295
|
-
width: "80px"
|
|
9296
|
-
},
|
|
9297
|
-
labelStyle: {},
|
|
9298
|
-
legendStyle: {
|
|
9299
|
-
legend: {},
|
|
9300
|
-
legendTitle: {}
|
|
9301
|
-
},
|
|
9302
|
-
pieStyle: {}
|
|
9187
|
+
type: "PieGraph"
|
|
9303
9188
|
}
|
|
9304
9189
|
}
|
|
9305
9190
|
};
|
|
@@ -9347,28 +9232,7 @@ const HorizontalBarGraph = {
|
|
|
9347
9232
|
},
|
|
9348
9233
|
config: {
|
|
9349
9234
|
main: {
|
|
9350
|
-
|
|
9351
|
-
type: "HorizontalBarGraph",
|
|
9352
|
-
bottomLabel: " ",
|
|
9353
|
-
leftLabel: "Value",
|
|
9354
|
-
axisLeft: false,
|
|
9355
|
-
axisBottom: true,
|
|
9356
|
-
hideBottomTicks: false,
|
|
9357
|
-
hideLeftTicks: false,
|
|
9358
|
-
hideLeftAxisLine: true,
|
|
9359
|
-
hideBottomAxisLine: false,
|
|
9360
|
-
bottomAxisWidth: "10px"
|
|
9361
|
-
},
|
|
9362
|
-
style: {
|
|
9363
|
-
containerStyle: {
|
|
9364
|
-
width: "100%"
|
|
9365
|
-
},
|
|
9366
|
-
headerStyle: {},
|
|
9367
|
-
tooltipStyle: {},
|
|
9368
|
-
labelStyle: {},
|
|
9369
|
-
barStyle: {
|
|
9370
|
-
color: "#6c5efb"
|
|
9371
|
-
}
|
|
9235
|
+
type: "HorizontalBarGraph"
|
|
9372
9236
|
}
|
|
9373
9237
|
}
|
|
9374
9238
|
};
|
|
@@ -9387,7 +9251,11 @@ const buildHorizontalBarGraph = (config, componentScope) => {
|
|
|
9387
9251
|
horizontalBarGraph.config.containerStyle.background = config.containerBackground;
|
|
9388
9252
|
}
|
|
9389
9253
|
if (config.height) {
|
|
9390
|
-
horizontalBarGraph.config.style
|
|
9254
|
+
horizontalBarGraph.config.style = {
|
|
9255
|
+
containerStyle: {
|
|
9256
|
+
height: config.height
|
|
9257
|
+
}
|
|
9258
|
+
};
|
|
9391
9259
|
}
|
|
9392
9260
|
if (config.bottomLabel) {
|
|
9393
9261
|
horizontalBarGraph.config.main.bottomLabel = config.bottomLabel;
|
|
@@ -9496,7 +9364,11 @@ const buildPieGraph = (config, componentScope) => {
|
|
|
9496
9364
|
pieGraph.config.layout = createLayoutFormat(config.layout);
|
|
9497
9365
|
}
|
|
9498
9366
|
if (config.height) {
|
|
9499
|
-
pieGraph.config.style
|
|
9367
|
+
pieGraph.config.style = {
|
|
9368
|
+
containerStyle: {
|
|
9369
|
+
height: config.height
|
|
9370
|
+
}
|
|
9371
|
+
};
|
|
9500
9372
|
}
|
|
9501
9373
|
if (config.legendHide) {
|
|
9502
9374
|
pieGraph.config.main.legendAvailabe = config.legendHide === "YES" ? false : true;
|
|
@@ -9507,7 +9379,11 @@ const buildPieGraph = (config, componentScope) => {
|
|
|
9507
9379
|
pieGraph.config.main.tooltipDataKey = flatObjectValueInArray(config.legendLabels);
|
|
9508
9380
|
}
|
|
9509
9381
|
if (config.pieArcColors) {
|
|
9510
|
-
pieGraph.config.style
|
|
9382
|
+
pieGraph.config.style = {
|
|
9383
|
+
pieStyle: {
|
|
9384
|
+
colorRange: flatObjectValueInArray(config.pieArcColors)
|
|
9385
|
+
}
|
|
9386
|
+
};
|
|
9511
9387
|
}
|
|
9512
9388
|
return pieGraph;
|
|
9513
9389
|
};
|
|
@@ -9517,16 +9393,13 @@ const buildStackbarGraph = (config, componentScope) => {
|
|
|
9517
9393
|
barGraph.config.layout = createLayoutFormat(config.layout);
|
|
9518
9394
|
}
|
|
9519
9395
|
if (config.legendHide) {
|
|
9520
|
-
barGraph.config.main.legendAvailable =
|
|
9396
|
+
barGraph.config.main.legendAvailable = config.legendHide;
|
|
9521
9397
|
}
|
|
9522
9398
|
barGraph.config.main.type = config.graphType;
|
|
9523
9399
|
barGraph.config.main.header = config.heading;
|
|
9524
9400
|
if (config.barColor) {
|
|
9525
9401
|
barGraph.config.barStyle.color = config.barColor;
|
|
9526
9402
|
}
|
|
9527
|
-
if (config.containerBackground) {
|
|
9528
|
-
barGraph.config.containerStyle.background = config.containerBackground;
|
|
9529
|
-
}
|
|
9530
9403
|
if (config.height) {
|
|
9531
9404
|
barGraph.config.style.containerStyle.height = config.height;
|
|
9532
9405
|
}
|
|
@@ -9536,7 +9409,6 @@ const buildStackbarGraph = (config, componentScope) => {
|
|
|
9536
9409
|
if (config.leftLabel) {
|
|
9537
9410
|
barGraph.config.main.leftLabel = config.leftLabel;
|
|
9538
9411
|
}
|
|
9539
|
-
barGraph.scope = componentScope;
|
|
9540
9412
|
return barGraph;
|
|
9541
9413
|
};
|
|
9542
9414
|
var RunnerBoyProgressBar = {
|
|
@@ -9590,8 +9462,10 @@ var WrapperSection = {
|
|
|
9590
9462
|
};
|
|
9591
9463
|
const buildWrapperSection = (config, componentScope) => {
|
|
9592
9464
|
const wrapper = _.cloneDeep(WrapperSection);
|
|
9465
|
+
wrapper.scope = componentScope;
|
|
9593
9466
|
wrapper.config.main.label = config.label;
|
|
9594
9467
|
wrapper.config.main.divider = config.divider === "YES" ? true : false;
|
|
9468
|
+
wrapper.config.main.isAccordion = config.isAccordion === "YES" ? true : false;
|
|
9595
9469
|
if (config.style) {
|
|
9596
9470
|
wrapper.config.style = JSON.parse(config.style);
|
|
9597
9471
|
}
|
|
@@ -9607,12 +9481,7 @@ var TextInputField = {
|
|
|
9607
9481
|
widget: "InputField"
|
|
9608
9482
|
},
|
|
9609
9483
|
config: {
|
|
9610
|
-
layout: {
|
|
9611
|
-
xs: 11,
|
|
9612
|
-
sm: 11,
|
|
9613
|
-
md: 5.5,
|
|
9614
|
-
lg: 5.5
|
|
9615
|
-
},
|
|
9484
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
9616
9485
|
main: {
|
|
9617
9486
|
label: ""
|
|
9618
9487
|
},
|
|
@@ -9645,12 +9514,7 @@ var SelectInputField = {
|
|
|
9645
9514
|
widget: "SelectInputField"
|
|
9646
9515
|
},
|
|
9647
9516
|
config: {
|
|
9648
|
-
|
|
9649
|
-
"xs": 11,
|
|
9650
|
-
"sm": 11,
|
|
9651
|
-
"md": 5.5,
|
|
9652
|
-
"lg": 5.5
|
|
9653
|
-
},
|
|
9517
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
9654
9518
|
main: {
|
|
9655
9519
|
label: "",
|
|
9656
9520
|
type: "text",
|
|
@@ -9939,16 +9803,14 @@ var Card = {
|
|
|
9939
9803
|
main: {
|
|
9940
9804
|
rowSpacing: 0.5
|
|
9941
9805
|
},
|
|
9942
|
-
|
|
9943
|
-
|
|
9944
|
-
|
|
9945
|
-
|
|
9946
|
-
|
|
9947
|
-
|
|
9948
|
-
|
|
9949
|
-
|
|
9950
|
-
borderRadius: "20px"
|
|
9951
|
-
}
|
|
9806
|
+
componentsBoxStyle: {
|
|
9807
|
+
position: "relative",
|
|
9808
|
+
color: "white",
|
|
9809
|
+
height: { xs: "120px", md: "160px" },
|
|
9810
|
+
width: "100%",
|
|
9811
|
+
textAlign: "left",
|
|
9812
|
+
background: "#3f51b5",
|
|
9813
|
+
borderRadius: "20px"
|
|
9952
9814
|
},
|
|
9953
9815
|
layout: { xs: 12, sm: 12, md: 6, lg: 6 }
|
|
9954
9816
|
},
|
|
@@ -10060,12 +9922,7 @@ var DateInputField = {
|
|
|
10060
9922
|
widget: "DateInputField"
|
|
10061
9923
|
},
|
|
10062
9924
|
config: {
|
|
10063
|
-
layout: {
|
|
10064
|
-
xs: 11,
|
|
10065
|
-
sm: 11,
|
|
10066
|
-
md: 5.5,
|
|
10067
|
-
lg: 5.5
|
|
10068
|
-
},
|
|
9925
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
10069
9926
|
main: {
|
|
10070
9927
|
label: "",
|
|
10071
9928
|
type: "date"
|
|
@@ -10182,7 +10039,7 @@ var MultipleSelect = {
|
|
|
10182
10039
|
widget: "MultipleSelect"
|
|
10183
10040
|
},
|
|
10184
10041
|
config: {
|
|
10185
|
-
layout: { xs: 11, sm:
|
|
10042
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
10186
10043
|
main: {
|
|
10187
10044
|
label: "",
|
|
10188
10045
|
type: "text",
|
|
@@ -10213,6 +10070,7 @@ const buildBasicUiSchema = (config) => {
|
|
|
10213
10070
|
return {
|
|
10214
10071
|
"type": "HorizontalLayout",
|
|
10215
10072
|
pageName: `${config.name}`,
|
|
10073
|
+
heading: `${config.label}`,
|
|
10216
10074
|
"elements": []
|
|
10217
10075
|
};
|
|
10218
10076
|
};
|
|
@@ -10369,7 +10227,7 @@ var emptyBox = {
|
|
|
10369
10227
|
widget: "EmptyBox"
|
|
10370
10228
|
},
|
|
10371
10229
|
config: {
|
|
10372
|
-
layout: { xs:
|
|
10230
|
+
layout: { xs: 0, sm: 4, md: 4, lg: 4 },
|
|
10373
10231
|
main: {},
|
|
10374
10232
|
style: {}
|
|
10375
10233
|
}
|
|
@@ -10748,7 +10606,7 @@ const buildUiSchema = (config) => {
|
|
|
10748
10606
|
elements = RunnerBoyProgressbar(config, componentScope);
|
|
10749
10607
|
break;
|
|
10750
10608
|
case "WrapperSection":
|
|
10751
|
-
elements = buildWrapperSection(config);
|
|
10609
|
+
elements = buildWrapperSection(config, componentScope);
|
|
10752
10610
|
break;
|
|
10753
10611
|
case "Text":
|
|
10754
10612
|
elements = buildTextField(config, componentScope);
|
|
@@ -10799,7 +10657,7 @@ const buildUiSchema = (config) => {
|
|
|
10799
10657
|
switch (config.graphType) {
|
|
10800
10658
|
case "BarGraph":
|
|
10801
10659
|
case "StackBarGraph":
|
|
10802
|
-
elements = buildStackbarGraph(config
|
|
10660
|
+
elements = buildStackbarGraph(config);
|
|
10803
10661
|
break;
|
|
10804
10662
|
case "LineGraph":
|
|
10805
10663
|
elements = buildLineGraph(config, componentScope);
|