impaktapps-ui-builder 0.0.101-alpha.1 → 0.0.101-alpha.100
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 +1345 -1167
- 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/uischema/apiSection.d.ts +62 -59
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.d.ts +17 -21
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/coreSection.d.ts +98 -95
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/eventSection.d.ts +26 -33
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/refresh.d.ts +52 -38
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/styleSection.d.ts +7 -8
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/tableSection.d.ts +29 -33
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/validationSections.d.ts +56 -37
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/valueTab.d.ts +56 -36
- package/dist/src/impaktapps-ui-builder/builder/elements/UiSchema/event/schema.d.ts +6 -0
- package/dist/src/impaktapps-ui-builder/builder/services/event.d.ts +6 -0
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildText.ts +21 -18
- package/src/impaktapps-ui-builder/builder/build/buildUiSchema.ts +14 -10
- package/src/impaktapps-ui-builder/builder/build/uischema/apiSection.ts +111 -96
- package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +101 -95
- package/src/impaktapps-ui-builder/builder/build/uischema/coreSection.ts +189 -110
- package/src/impaktapps-ui-builder/builder/build/uischema/eventSection.ts +39 -17
- package/src/impaktapps-ui-builder/builder/build/uischema/refresh.ts +44 -44
- package/src/impaktapps-ui-builder/builder/build/uischema/styleSection.ts +9 -13
- package/src/impaktapps-ui-builder/builder/build/uischema/tableSection.ts +40 -18
- package/src/impaktapps-ui-builder/builder/build/uischema/validationSections.ts +117 -48
- package/src/impaktapps-ui-builder/builder/build/uischema/valueTab.ts +113 -45
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/schema.ts +23 -23
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/uiSchema.ts +340 -355
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/uiSchema.ts +228 -310
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/schema.ts +15 -12
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/uiSchema.ts +188 -295
- package/src/impaktapps-ui-builder/builder/services/component.ts +162 -33
- package/src/impaktapps-ui-builder/builder/services/event.ts +165 -65
- package/src/impaktapps-ui-builder/runtime/services/events.ts +8 -1
- package/src/impaktapps-ui-builder/runtime/services/service.ts +5 -4
|
@@ -47,18 +47,18 @@ const PageMasterSchema = {
|
|
|
47
47
|
required: ["template", "name", "label"]
|
|
48
48
|
};
|
|
49
49
|
const PageMasterUiSchema = (theme) => {
|
|
50
|
-
var _a
|
|
50
|
+
var _a;
|
|
51
51
|
const uiSchema = {
|
|
52
52
|
type: "HorizontalLayout",
|
|
53
|
-
heading: "Page
|
|
53
|
+
heading: "Page",
|
|
54
54
|
elements: [
|
|
55
55
|
{
|
|
56
56
|
type: "WrapperLayout",
|
|
57
57
|
config: {
|
|
58
|
-
main: {
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
58
|
+
main: {
|
|
59
|
+
label: "Basic Details",
|
|
60
|
+
isAccordion: true,
|
|
61
|
+
gap: "8px"
|
|
62
62
|
}
|
|
63
63
|
},
|
|
64
64
|
elements: [
|
|
@@ -69,9 +69,9 @@ const PageMasterUiSchema = (theme) => {
|
|
|
69
69
|
widget: "InputField"
|
|
70
70
|
},
|
|
71
71
|
config: {
|
|
72
|
-
layout: { xs: 6, sm: 6, md: 4, lg:
|
|
72
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 3 },
|
|
73
73
|
main: {
|
|
74
|
-
label: "Name",
|
|
74
|
+
label: "Page Name",
|
|
75
75
|
options: [],
|
|
76
76
|
color: "secondary",
|
|
77
77
|
errorMessage: "Name should be start with 'page_'",
|
|
@@ -80,26 +80,6 @@ const PageMasterUiSchema = (theme) => {
|
|
|
80
80
|
}
|
|
81
81
|
}
|
|
82
82
|
},
|
|
83
|
-
{
|
|
84
|
-
type: "Control",
|
|
85
|
-
scope: "#/properties/template",
|
|
86
|
-
options: {
|
|
87
|
-
widget: "SelectInputField"
|
|
88
|
-
},
|
|
89
|
-
config: {
|
|
90
|
-
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
91
|
-
main: {
|
|
92
|
-
label: "Template",
|
|
93
|
-
options: [
|
|
94
|
-
{ const: "template1", title: "template1" },
|
|
95
|
-
{ const: "template2", title: "template2" },
|
|
96
|
-
{ const: "template3", title: "template3" }
|
|
97
|
-
],
|
|
98
|
-
color: "secondary",
|
|
99
|
-
required: true
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
},
|
|
103
83
|
{
|
|
104
84
|
type: "Control",
|
|
105
85
|
scope: "#/properties/label",
|
|
@@ -107,9 +87,9 @@ const PageMasterUiSchema = (theme) => {
|
|
|
107
87
|
widget: "InputField"
|
|
108
88
|
},
|
|
109
89
|
config: {
|
|
110
|
-
layout: { xs: 6, sm: 6, md: 4, lg:
|
|
90
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 3 },
|
|
111
91
|
main: {
|
|
112
|
-
label: "
|
|
92
|
+
label: "Page Heading",
|
|
113
93
|
options: [],
|
|
114
94
|
color: "secondary",
|
|
115
95
|
required: true
|
|
@@ -120,7 +100,7 @@ const PageMasterUiSchema = (theme) => {
|
|
|
120
100
|
type: "Control",
|
|
121
101
|
scope: "#/properties/EmptyBox",
|
|
122
102
|
config: {
|
|
123
|
-
layout: { xs:
|
|
103
|
+
layout: { xs: 0, sm: 0, md: 4, lg: 6 }
|
|
124
104
|
},
|
|
125
105
|
options: {
|
|
126
106
|
widget: "EmptyBox"
|
|
@@ -131,11 +111,27 @@ const PageMasterUiSchema = (theme) => {
|
|
|
131
111
|
{
|
|
132
112
|
type: "TabLayout",
|
|
133
113
|
config: {
|
|
114
|
+
layout: 12,
|
|
134
115
|
main: {
|
|
135
|
-
tabLabels: ["Components", "Events"]
|
|
136
|
-
|
|
116
|
+
tabLabels: ["Page Components", "Page Events"]
|
|
117
|
+
},
|
|
118
|
+
style: {
|
|
119
|
+
TabPanelStyle: {
|
|
120
|
+
padding: 0
|
|
121
|
+
}
|
|
137
122
|
},
|
|
138
|
-
|
|
123
|
+
TabsStyle: {
|
|
124
|
+
borderTop: `1px solid ${theme.palette.common.black}29`,
|
|
125
|
+
marginBottom: "3px",
|
|
126
|
+
paddingBottom: "4px",
|
|
127
|
+
boxShadow: "0px 3px 4px #afafaf80",
|
|
128
|
+
"& .MuiTabs-indicator": {
|
|
129
|
+
bottom: "6px"
|
|
130
|
+
}
|
|
131
|
+
},
|
|
132
|
+
TabContainerStyle: {
|
|
133
|
+
marginTop: "-16px"
|
|
134
|
+
}
|
|
139
135
|
},
|
|
140
136
|
elements: [
|
|
141
137
|
{
|
|
@@ -159,12 +155,18 @@ const PageMasterUiSchema = (theme) => {
|
|
|
159
155
|
main: {
|
|
160
156
|
onClick: "onAddClickHandler",
|
|
161
157
|
size: "small",
|
|
162
|
-
icon: "
|
|
163
|
-
iconLabel: "Add
|
|
158
|
+
icon: "TableAddIcon",
|
|
159
|
+
iconLabel: "Add",
|
|
164
160
|
styleDefault: true
|
|
165
161
|
},
|
|
166
162
|
style: {
|
|
167
|
-
mt: "6px"
|
|
163
|
+
mt: "6px",
|
|
164
|
+
color: "inherit",
|
|
165
|
+
fill: "inherit",
|
|
166
|
+
"&:hover": {
|
|
167
|
+
color: "inherit",
|
|
168
|
+
fill: "inherit"
|
|
169
|
+
}
|
|
168
170
|
}
|
|
169
171
|
}
|
|
170
172
|
}
|
|
@@ -180,12 +182,19 @@ const PageMasterUiSchema = (theme) => {
|
|
|
180
182
|
main: {
|
|
181
183
|
onClick: "copyPasteElement",
|
|
182
184
|
size: "small",
|
|
183
|
-
icon: "
|
|
185
|
+
icon: "TablePaste",
|
|
184
186
|
iconLabel: "Paste",
|
|
185
|
-
styleDefault: true
|
|
187
|
+
styleDefault: true,
|
|
188
|
+
title: ""
|
|
186
189
|
},
|
|
187
190
|
style: {
|
|
188
|
-
mt: "6px"
|
|
191
|
+
mt: "6px",
|
|
192
|
+
color: "inherit",
|
|
193
|
+
fill: "inherit",
|
|
194
|
+
"&:hover": {
|
|
195
|
+
color: "inherit",
|
|
196
|
+
fill: "inherit"
|
|
197
|
+
}
|
|
189
198
|
}
|
|
190
199
|
}
|
|
191
200
|
}
|
|
@@ -200,16 +209,21 @@ const PageMasterUiSchema = (theme) => {
|
|
|
200
209
|
elements: [
|
|
201
210
|
{
|
|
202
211
|
accessorKey: "name",
|
|
203
|
-
header: "Name"
|
|
212
|
+
header: "Name",
|
|
213
|
+
size: 300,
|
|
214
|
+
type: "string"
|
|
204
215
|
},
|
|
205
216
|
{
|
|
206
217
|
accessorKey: "type",
|
|
207
|
-
header: "Type"
|
|
218
|
+
header: "Type",
|
|
219
|
+
size: 300,
|
|
220
|
+
type: "string"
|
|
208
221
|
},
|
|
209
222
|
{
|
|
210
223
|
header: "Edit",
|
|
211
224
|
field: "Reject_Records",
|
|
212
|
-
|
|
225
|
+
size: 150,
|
|
226
|
+
type: "action",
|
|
213
227
|
widget: {
|
|
214
228
|
type: "Control",
|
|
215
229
|
scope: "#/properties/RejectButton",
|
|
@@ -218,13 +232,15 @@ const PageMasterUiSchema = (theme) => {
|
|
|
218
232
|
},
|
|
219
233
|
config: {
|
|
220
234
|
main: {
|
|
221
|
-
icon: "
|
|
222
|
-
color: "primary",
|
|
235
|
+
icon: "TableEditIcon",
|
|
223
236
|
onClick: "Edit_Components",
|
|
224
237
|
tooltipMessage: "Edit This Record"
|
|
225
238
|
},
|
|
226
239
|
style: {
|
|
227
|
-
|
|
240
|
+
fill: theme.palette.primary.main,
|
|
241
|
+
"& :hover": {
|
|
242
|
+
fill: theme.palette.primary.dark
|
|
243
|
+
}
|
|
228
244
|
}
|
|
229
245
|
}
|
|
230
246
|
}
|
|
@@ -232,7 +248,8 @@ const PageMasterUiSchema = (theme) => {
|
|
|
232
248
|
{
|
|
233
249
|
header: "Delete",
|
|
234
250
|
field: "Reject_Records",
|
|
235
|
-
|
|
251
|
+
size: 150,
|
|
252
|
+
type: "action",
|
|
236
253
|
widget: {
|
|
237
254
|
type: "Control",
|
|
238
255
|
scope: "#/properties/RejectButton",
|
|
@@ -241,10 +258,15 @@ const PageMasterUiSchema = (theme) => {
|
|
|
241
258
|
},
|
|
242
259
|
config: {
|
|
243
260
|
main: {
|
|
244
|
-
icon: "
|
|
245
|
-
color: "error",
|
|
261
|
+
icon: "Bin",
|
|
246
262
|
onClick: "deletePopUpComponent",
|
|
247
263
|
tooltipMessage: "Reject This Record"
|
|
264
|
+
},
|
|
265
|
+
style: {
|
|
266
|
+
fill: theme.palette.primary.main,
|
|
267
|
+
"& :hover": {
|
|
268
|
+
fill: theme.palette.primary.dark
|
|
269
|
+
}
|
|
248
270
|
}
|
|
249
271
|
}
|
|
250
272
|
}
|
|
@@ -291,12 +313,18 @@ const PageMasterUiSchema = (theme) => {
|
|
|
291
313
|
main: {
|
|
292
314
|
onClick: "eventAddHandler",
|
|
293
315
|
size: "small",
|
|
294
|
-
icon: "
|
|
295
|
-
iconLabel: "Add
|
|
316
|
+
icon: "TableAddIcon",
|
|
317
|
+
iconLabel: "Add",
|
|
296
318
|
styleDefault: true
|
|
297
319
|
},
|
|
298
320
|
style: {
|
|
299
|
-
mt: "6px"
|
|
321
|
+
mt: "6px",
|
|
322
|
+
color: "inherit",
|
|
323
|
+
fill: "inherit",
|
|
324
|
+
"&:hover": {
|
|
325
|
+
color: "inherit",
|
|
326
|
+
fill: "inherit"
|
|
327
|
+
}
|
|
300
328
|
}
|
|
301
329
|
}
|
|
302
330
|
}
|
|
@@ -312,12 +340,18 @@ const PageMasterUiSchema = (theme) => {
|
|
|
312
340
|
main: {
|
|
313
341
|
onClick: "copyPasteElement",
|
|
314
342
|
size: "small",
|
|
315
|
-
icon: "
|
|
343
|
+
icon: "TablePaste",
|
|
316
344
|
iconLabel: "Paste",
|
|
317
345
|
styleDefault: true
|
|
318
346
|
},
|
|
319
347
|
style: {
|
|
320
|
-
mt: "6px"
|
|
348
|
+
mt: "6px",
|
|
349
|
+
color: "inherit",
|
|
350
|
+
fill: "inherit",
|
|
351
|
+
"&:hover": {
|
|
352
|
+
color: "inherit",
|
|
353
|
+
fill: "inherit"
|
|
354
|
+
}
|
|
321
355
|
}
|
|
322
356
|
}
|
|
323
357
|
}
|
|
@@ -332,15 +366,21 @@ const PageMasterUiSchema = (theme) => {
|
|
|
332
366
|
elements: [
|
|
333
367
|
{
|
|
334
368
|
accessorKey: "eventType",
|
|
335
|
-
header: "Event Type"
|
|
369
|
+
header: "Event's Type",
|
|
370
|
+
size: 300,
|
|
371
|
+
type: "string"
|
|
336
372
|
},
|
|
337
373
|
{
|
|
338
374
|
accessorKey: "Handler",
|
|
339
|
-
header: "Handler"
|
|
375
|
+
header: "Handler",
|
|
376
|
+
size: 200,
|
|
377
|
+
type: "string"
|
|
340
378
|
},
|
|
341
379
|
{
|
|
342
380
|
accessorKey: "Edit_Approve_Records",
|
|
343
|
-
header: "Edit
|
|
381
|
+
header: "Edit",
|
|
382
|
+
type: "action",
|
|
383
|
+
size: 150,
|
|
344
384
|
widget: {
|
|
345
385
|
type: "Control",
|
|
346
386
|
scope: "#/properties/Edit_Records",
|
|
@@ -349,14 +389,16 @@ const PageMasterUiSchema = (theme) => {
|
|
|
349
389
|
},
|
|
350
390
|
config: {
|
|
351
391
|
main: {
|
|
352
|
-
color: "info",
|
|
353
392
|
size: "small",
|
|
354
|
-
icon: "
|
|
393
|
+
icon: "TableEditIcon",
|
|
355
394
|
tooltipMessage: "Edit This Record",
|
|
356
395
|
onClick: "editEvent"
|
|
357
396
|
},
|
|
358
397
|
style: {
|
|
359
|
-
|
|
398
|
+
fill: theme.palette.primary.main,
|
|
399
|
+
"& :hover": {
|
|
400
|
+
fill: theme.palette.primary.dark
|
|
401
|
+
}
|
|
360
402
|
}
|
|
361
403
|
}
|
|
362
404
|
}
|
|
@@ -364,6 +406,8 @@ const PageMasterUiSchema = (theme) => {
|
|
|
364
406
|
{
|
|
365
407
|
accessorKey: "Reject_Records",
|
|
366
408
|
header: "Delete",
|
|
409
|
+
type: "action",
|
|
410
|
+
size: 150,
|
|
367
411
|
widget: {
|
|
368
412
|
type: "Control",
|
|
369
413
|
scope: "#/properties/RejectButton",
|
|
@@ -372,10 +416,15 @@ const PageMasterUiSchema = (theme) => {
|
|
|
372
416
|
},
|
|
373
417
|
config: {
|
|
374
418
|
main: {
|
|
375
|
-
icon: "
|
|
376
|
-
color: "error",
|
|
419
|
+
icon: "Bin",
|
|
377
420
|
tooltipMessage: "Reject This Record",
|
|
378
421
|
onClick: "deletePopUpEvent"
|
|
422
|
+
},
|
|
423
|
+
style: {
|
|
424
|
+
fill: theme.palette.primary.main,
|
|
425
|
+
"& :hover": {
|
|
426
|
+
fill: theme.palette.primary.dark
|
|
427
|
+
}
|
|
379
428
|
}
|
|
380
429
|
}
|
|
381
430
|
}
|
|
@@ -383,7 +432,8 @@ const PageMasterUiSchema = (theme) => {
|
|
|
383
432
|
{
|
|
384
433
|
header: "Copy",
|
|
385
434
|
field: "Copy_Event",
|
|
386
|
-
|
|
435
|
+
type: "action",
|
|
436
|
+
size: 150,
|
|
387
437
|
widget: {
|
|
388
438
|
type: "Control",
|
|
389
439
|
scope: "#/properties/Copy_Event",
|
|
@@ -404,79 +454,49 @@ const PageMasterUiSchema = (theme) => {
|
|
|
404
454
|
]
|
|
405
455
|
},
|
|
406
456
|
{
|
|
407
|
-
|
|
457
|
+
scope: "#/properties/Remarks Container",
|
|
458
|
+
type: "WrapperLayout",
|
|
408
459
|
config: {
|
|
409
|
-
layout:
|
|
460
|
+
layout: 12,
|
|
461
|
+
main: {
|
|
462
|
+
divider: false,
|
|
463
|
+
rowSpacing: 0,
|
|
464
|
+
gap: 0
|
|
465
|
+
},
|
|
466
|
+
componentsBoxStyle: {
|
|
467
|
+
padding: "8px 8px 8px 24px"
|
|
468
|
+
}
|
|
410
469
|
},
|
|
411
470
|
elements: [
|
|
412
471
|
{
|
|
413
472
|
type: "Control",
|
|
414
|
-
scope: "#/properties/
|
|
415
|
-
options: {
|
|
416
|
-
widget: "IconButton"
|
|
417
|
-
},
|
|
418
|
-
config: {
|
|
419
|
-
layout: { xs: 1, sm: 1 },
|
|
420
|
-
main: {
|
|
421
|
-
onClick: "RemoveItemButton",
|
|
422
|
-
size: "large",
|
|
423
|
-
icon: "RejectIcon",
|
|
424
|
-
styleDefault: true
|
|
425
|
-
},
|
|
426
|
-
style: {
|
|
427
|
-
marginLeft: "-5px"
|
|
428
|
-
}
|
|
429
|
-
}
|
|
430
|
-
},
|
|
431
|
-
{
|
|
432
|
-
type: "Control",
|
|
433
|
-
scope: "#/properties/copiedElementDetails",
|
|
473
|
+
scope: "#/properties/btn",
|
|
434
474
|
options: {
|
|
435
|
-
widget: "
|
|
475
|
+
widget: "Button"
|
|
436
476
|
},
|
|
437
477
|
config: {
|
|
438
|
-
layout: { xs:
|
|
478
|
+
layout: { xs: 4, sm: 2.5, md: 2, lg: 1.5 },
|
|
439
479
|
main: {
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
fontSize: "12px",
|
|
446
|
-
marginTop: "4px"
|
|
480
|
+
name: "Save",
|
|
481
|
+
variant: "contained",
|
|
482
|
+
type: "text",
|
|
483
|
+
onClick: "saveHandler",
|
|
484
|
+
size: "medium"
|
|
447
485
|
}
|
|
448
486
|
}
|
|
449
487
|
},
|
|
450
488
|
{
|
|
451
489
|
type: "Control",
|
|
452
490
|
scope: "#/properties/EmptyBox",
|
|
491
|
+
config: {
|
|
492
|
+
layout: { xs: 8, sm: 9.5, md: 10, lg: 10.5 }
|
|
493
|
+
},
|
|
453
494
|
options: {
|
|
454
495
|
widget: "EmptyBox"
|
|
455
|
-
},
|
|
456
|
-
config: {
|
|
457
|
-
layout: { xs: 1, sm: 5 }
|
|
458
496
|
}
|
|
459
497
|
}
|
|
460
498
|
]
|
|
461
499
|
},
|
|
462
|
-
{
|
|
463
|
-
type: "Control",
|
|
464
|
-
scope: "#/properties/btn",
|
|
465
|
-
options: {
|
|
466
|
-
widget: "Button"
|
|
467
|
-
},
|
|
468
|
-
config: {
|
|
469
|
-
layout: { xs: 4, sm: 2 },
|
|
470
|
-
main: {
|
|
471
|
-
name: "Save",
|
|
472
|
-
startIcon: "ApproveIcon",
|
|
473
|
-
variant: "contained",
|
|
474
|
-
type: "text",
|
|
475
|
-
onClick: "saveHandler",
|
|
476
|
-
size: "medium"
|
|
477
|
-
}
|
|
478
|
-
}
|
|
479
|
-
},
|
|
480
500
|
{
|
|
481
501
|
type: "Control",
|
|
482
502
|
scope: "#/properties/popUpPageMasterComponent",
|
|
@@ -505,15 +525,17 @@ const PageMasterUiSchema = (theme) => {
|
|
|
505
525
|
config: {
|
|
506
526
|
layout: 11,
|
|
507
527
|
main: {
|
|
508
|
-
heading: "Are you sure you want to delete ?"
|
|
528
|
+
heading: "Are you sure you want to delete this Component ?"
|
|
509
529
|
},
|
|
510
530
|
style: {
|
|
511
|
-
marginTop: "-20px",
|
|
512
531
|
fontSize: "20px",
|
|
513
532
|
"&.MuiTypography-root": {
|
|
514
|
-
padding: "
|
|
533
|
+
padding: "0px 20px",
|
|
515
534
|
textAlign: "center",
|
|
516
|
-
lineHeight: "1"
|
|
535
|
+
lineHeight: "1.2",
|
|
536
|
+
fontWeight: "normal",
|
|
537
|
+
fontSize: "18px",
|
|
538
|
+
marginBottom: theme.spacing(5)
|
|
517
539
|
}
|
|
518
540
|
}
|
|
519
541
|
}
|
|
@@ -535,15 +557,15 @@ const PageMasterUiSchema = (theme) => {
|
|
|
535
557
|
layout: 6,
|
|
536
558
|
main: {
|
|
537
559
|
name: "No",
|
|
538
|
-
startIcon: "ApproveIcon",
|
|
539
560
|
variant: "contained",
|
|
540
|
-
color: "info",
|
|
541
561
|
type: "text",
|
|
542
562
|
onClick: "deletePopUpComponent",
|
|
543
563
|
size: "large"
|
|
544
564
|
},
|
|
545
565
|
style: {
|
|
546
566
|
position: "absolute",
|
|
567
|
+
padding: "8px 0px",
|
|
568
|
+
fontSize: "16px",
|
|
547
569
|
bottom: 0,
|
|
548
570
|
left: 0,
|
|
549
571
|
width: "50%",
|
|
@@ -571,7 +593,6 @@ const PageMasterUiSchema = (theme) => {
|
|
|
571
593
|
layout: 6,
|
|
572
594
|
main: {
|
|
573
595
|
name: "Yes",
|
|
574
|
-
startIcon: "ApproveIcon",
|
|
575
596
|
variant: "contained",
|
|
576
597
|
color: "error",
|
|
577
598
|
type: "text",
|
|
@@ -580,6 +601,8 @@ const PageMasterUiSchema = (theme) => {
|
|
|
580
601
|
},
|
|
581
602
|
style: {
|
|
582
603
|
position: "absolute",
|
|
604
|
+
padding: "8px 0px",
|
|
605
|
+
fontSize: "16px",
|
|
583
606
|
bottom: 0,
|
|
584
607
|
right: 0,
|
|
585
608
|
width: "50%",
|
|
@@ -628,15 +651,17 @@ const PageMasterUiSchema = (theme) => {
|
|
|
628
651
|
config: {
|
|
629
652
|
layout: 11,
|
|
630
653
|
main: {
|
|
631
|
-
heading: "Are you sure you want to delete ?"
|
|
654
|
+
heading: "Are you sure you want to delete this Event ?"
|
|
632
655
|
},
|
|
633
656
|
style: {
|
|
634
|
-
marginTop: "-20px",
|
|
635
657
|
fontSize: "20px",
|
|
636
658
|
"&.MuiTypography-root": {
|
|
637
|
-
padding: "
|
|
659
|
+
padding: "0px 20px",
|
|
638
660
|
textAlign: "center",
|
|
639
|
-
lineHeight: "1"
|
|
661
|
+
lineHeight: "1.2",
|
|
662
|
+
fontWeight: "normal",
|
|
663
|
+
fontSize: "18px",
|
|
664
|
+
marginBottom: theme.spacing(5)
|
|
640
665
|
}
|
|
641
666
|
}
|
|
642
667
|
}
|
|
@@ -658,15 +683,15 @@ const PageMasterUiSchema = (theme) => {
|
|
|
658
683
|
layout: 6,
|
|
659
684
|
main: {
|
|
660
685
|
name: "No",
|
|
661
|
-
startIcon: "ApproveIcon",
|
|
662
686
|
variant: "contained",
|
|
663
|
-
color: "info",
|
|
664
687
|
type: "text",
|
|
665
688
|
onClick: "deletePopUpEvent",
|
|
666
689
|
size: "large"
|
|
667
690
|
},
|
|
668
691
|
style: {
|
|
669
692
|
position: "absolute",
|
|
693
|
+
padding: "8px 0px",
|
|
694
|
+
fontSize: "16px",
|
|
670
695
|
bottom: 0,
|
|
671
696
|
left: 0,
|
|
672
697
|
width: "50%",
|
|
@@ -694,7 +719,6 @@ const PageMasterUiSchema = (theme) => {
|
|
|
694
719
|
layout: 6,
|
|
695
720
|
main: {
|
|
696
721
|
name: "Yes",
|
|
697
|
-
startIcon: "ApproveIcon",
|
|
698
722
|
variant: "contained",
|
|
699
723
|
color: "error",
|
|
700
724
|
type: "text",
|
|
@@ -703,6 +727,8 @@ const PageMasterUiSchema = (theme) => {
|
|
|
703
727
|
},
|
|
704
728
|
style: {
|
|
705
729
|
position: "absolute",
|
|
730
|
+
padding: "8px 0px",
|
|
731
|
+
fontSize: "16px",
|
|
706
732
|
bottom: 0,
|
|
707
733
|
right: 0,
|
|
708
734
|
width: "50%",
|
|
@@ -740,7 +766,7 @@ const PageMasterUiSchema = (theme) => {
|
|
|
740
766
|
style: {
|
|
741
767
|
flexDirection: "row",
|
|
742
768
|
position: "absolute",
|
|
743
|
-
bottom:
|
|
769
|
+
bottom: 10,
|
|
744
770
|
height: "fit-content",
|
|
745
771
|
overflow: "hidden",
|
|
746
772
|
zIndex: 1e3,
|
|
@@ -759,78 +785,19 @@ const PageMasterUiSchema = (theme) => {
|
|
|
759
785
|
heading: "Copywriter@ACT21.IO"
|
|
760
786
|
},
|
|
761
787
|
style: {
|
|
762
|
-
color: ((
|
|
788
|
+
color: ((_a = theme == null ? void 0 : theme.palette) == null ? void 0 : _a.text.disabled) || "#AFAFAF",
|
|
763
789
|
fontSize: "11px",
|
|
764
790
|
textAlign: "center",
|
|
765
|
-
lineHeight:
|
|
791
|
+
lineHeight: 0,
|
|
766
792
|
width: "fit-content",
|
|
767
793
|
left: "50%",
|
|
768
794
|
position: "relative",
|
|
769
|
-
margin:
|
|
795
|
+
margin: "revert",
|
|
770
796
|
flexGrow: 1,
|
|
771
797
|
height: 0,
|
|
772
798
|
transform: "translate(-50%, 0%)"
|
|
773
799
|
}
|
|
774
800
|
}
|
|
775
|
-
},
|
|
776
|
-
{
|
|
777
|
-
type: "Control",
|
|
778
|
-
scope: "#/properties/FooterBackIcon",
|
|
779
|
-
options: {
|
|
780
|
-
widget: "Box"
|
|
781
|
-
},
|
|
782
|
-
config: {
|
|
783
|
-
main: {
|
|
784
|
-
iconName: "PrevIcon",
|
|
785
|
-
onClick: "backHandler",
|
|
786
|
-
width: "fit-content"
|
|
787
|
-
},
|
|
788
|
-
style: {
|
|
789
|
-
fill: (_d = (_c = theme == null ? void 0 : theme.palette) == null ? void 0 : _c.primary) == null ? void 0 : _d.main,
|
|
790
|
-
width: 20,
|
|
791
|
-
height: 0,
|
|
792
|
-
top: 0,
|
|
793
|
-
right: { xs: "12px", sm: "84px" },
|
|
794
|
-
position: "absolute",
|
|
795
|
-
fontSize: "12px",
|
|
796
|
-
cursor: "pointer",
|
|
797
|
-
":hover": {
|
|
798
|
-
fill: (_f = (_e = theme == null ? void 0 : theme.palette) == null ? void 0 : _e.primary) == null ? void 0 : _f.dark
|
|
799
|
-
},
|
|
800
|
-
marginRight: "20px"
|
|
801
|
-
}
|
|
802
|
-
}
|
|
803
|
-
},
|
|
804
|
-
{
|
|
805
|
-
type: "Control",
|
|
806
|
-
scope: "#/properties/FooterBackHandlerText",
|
|
807
|
-
options: {
|
|
808
|
-
widget: "Box"
|
|
809
|
-
},
|
|
810
|
-
config: {
|
|
811
|
-
main: {
|
|
812
|
-
heading: "Previous Page",
|
|
813
|
-
onClick: "backHandler"
|
|
814
|
-
},
|
|
815
|
-
style: {
|
|
816
|
-
display: { xs: "none", sm: "flex" },
|
|
817
|
-
textAlign: "left",
|
|
818
|
-
lineHeight: 1,
|
|
819
|
-
height: 0,
|
|
820
|
-
width: "fit-content",
|
|
821
|
-
color: (_h = (_g = theme == null ? void 0 : theme.palette) == null ? void 0 : _g.primary) == null ? void 0 : _h.main,
|
|
822
|
-
fontSize: "12px",
|
|
823
|
-
cursor: "pointer",
|
|
824
|
-
marginLeft: "2px",
|
|
825
|
-
top: 3,
|
|
826
|
-
right: "12px",
|
|
827
|
-
position: "absolute",
|
|
828
|
-
":hover": {
|
|
829
|
-
color: (_j = (_i = theme == null ? void 0 : theme.palette) == null ? void 0 : _i.primary) == null ? void 0 : _j.dark
|
|
830
|
-
},
|
|
831
|
-
marginRight: "4px"
|
|
832
|
-
}
|
|
833
|
-
}
|
|
834
801
|
}
|
|
835
802
|
]
|
|
836
803
|
}
|
|
@@ -6283,44 +6250,44 @@ const ComponentSchema = {
|
|
|
6283
6250
|
properties: {
|
|
6284
6251
|
type: {
|
|
6285
6252
|
oneOf: [
|
|
6286
|
-
{ title: "
|
|
6253
|
+
{ title: "Masked Aadhar Card", const: "AadharcardText" },
|
|
6287
6254
|
{ title: "Array", const: "Array" },
|
|
6288
6255
|
{ title: "Button", const: "Button" },
|
|
6289
|
-
{ title: "Card", const: "card" },
|
|
6290
|
-
{ title: "
|
|
6256
|
+
{ title: "Data Card", const: "card" },
|
|
6257
|
+
{ title: "Check Box", const: "CheckBox" },
|
|
6291
6258
|
{ title: "Container", const: "WrapperSection" },
|
|
6292
|
-
{ title: "
|
|
6259
|
+
{ title: "Data Grid", const: "DataGrid" },
|
|
6293
6260
|
{ title: "Date", const: "Date" },
|
|
6294
|
-
{ title: "
|
|
6295
|
-
{ title: "Download
|
|
6261
|
+
{ title: "Time Stamp", const: "DateTime" },
|
|
6262
|
+
{ title: "Download", const: "DownloadFile" },
|
|
6296
6263
|
{ title: "Empty Box", const: "EmptyBox" },
|
|
6297
|
-
{ title: "File", const: "FileInput" },
|
|
6264
|
+
{ title: "File Handler", const: "FileInput" },
|
|
6298
6265
|
{ title: "Graph", const: "Graph" },
|
|
6299
6266
|
{ title: "Input Slider", const: "InputSlider" },
|
|
6300
6267
|
{ title: "Label", const: "Box" },
|
|
6301
|
-
{ title: "
|
|
6302
|
-
{ title: "
|
|
6303
|
-
{ title: "
|
|
6304
|
-
{ title: "
|
|
6305
|
-
{ title: "
|
|
6306
|
-
{ title: "
|
|
6307
|
-
{ title: "
|
|
6268
|
+
{ title: "Leaderboard", const: "LeaderBoard" },
|
|
6269
|
+
{ title: "Multi-Select Dropdown", const: "MultipleSelect" },
|
|
6270
|
+
{ title: "Pan Card Masked", const: "PanCardText" },
|
|
6271
|
+
{ title: "Pop Up", const: "PopUp" },
|
|
6272
|
+
{ title: "Progress Bar", const: "ProgressBar" },
|
|
6273
|
+
{ title: "Progress Bar Card", const: "ProgressBarCard" },
|
|
6274
|
+
{ title: "Dropdown", const: "Select" },
|
|
6308
6275
|
{ title: "Slider", const: "Slider" },
|
|
6309
|
-
{ title: "
|
|
6276
|
+
{ title: "Speedometer", const: "SpeedoMeter" },
|
|
6310
6277
|
{ title: "Stepper Container", const: "Stepper" },
|
|
6311
6278
|
{ title: "Radio", const: "Radio" },
|
|
6312
6279
|
{ title: "Rank", const: "Rank" },
|
|
6313
6280
|
{ title: "Rank Card", const: "RankCard" },
|
|
6314
|
-
{ title: "Runner Boy
|
|
6281
|
+
{ title: "Runner Boy", const: "RunnerBoyProgressBar" },
|
|
6315
6282
|
{ title: "Table", const: "Table" },
|
|
6316
6283
|
{ title: "Tabs", const: "TabSection" },
|
|
6317
6284
|
{ title: "Text", const: "Text" },
|
|
6318
6285
|
{ title: "Text Area", const: "TextArea" },
|
|
6319
6286
|
{ title: "Timer", const: "Timer" },
|
|
6320
|
-
{ title: "Upload
|
|
6321
|
-
{ title: "
|
|
6322
|
-
{ title: "
|
|
6323
|
-
{ title: "Thought of the
|
|
6287
|
+
{ title: "Upload", const: "UploadFile" },
|
|
6288
|
+
{ title: "Tree ", const: "TreeMap" },
|
|
6289
|
+
{ title: "Column Group", const: "ColumnGroup" },
|
|
6290
|
+
{ title: "Thought of the day", const: "Thought" },
|
|
6324
6291
|
{ title: "Pdf Viewer", const: "PdfViewer" }
|
|
6325
6292
|
]
|
|
6326
6293
|
},
|
|
@@ -6475,23 +6442,20 @@ const ComponentSchema = {
|
|
|
6475
6442
|
}
|
|
6476
6443
|
},
|
|
6477
6444
|
filteringOptions: {
|
|
6478
|
-
|
|
6479
|
-
|
|
6480
|
-
|
|
6481
|
-
|
|
6482
|
-
|
|
6483
|
-
|
|
6484
|
-
|
|
6485
|
-
|
|
6486
|
-
|
|
6487
|
-
|
|
6488
|
-
|
|
6489
|
-
|
|
6490
|
-
|
|
6491
|
-
|
|
6492
|
-
{ const: "lessThanOrEqualTo", title: "Less than or equal to" }
|
|
6493
|
-
]
|
|
6494
|
-
}
|
|
6445
|
+
oneOf: [
|
|
6446
|
+
{ const: "fuzzy", title: "Fuzzy" },
|
|
6447
|
+
{ const: "contains", title: "Contain" },
|
|
6448
|
+
{ const: "startsWith", title: "Starts with" },
|
|
6449
|
+
{ const: "endsWith", title: "Ends with" },
|
|
6450
|
+
{ const: "equals", title: "Equals" },
|
|
6451
|
+
{ const: "notEquals", title: "Not Equals" },
|
|
6452
|
+
{ const: "between", title: "Between" },
|
|
6453
|
+
{ const: "betweenInclusive", title: "Between inclusive" },
|
|
6454
|
+
{ const: "greaterThan", title: "Greater than" },
|
|
6455
|
+
{ const: "greaterThanOrEqualTo", title: "Greater than or equal to" },
|
|
6456
|
+
{ const: "lessThan", title: "Less than" },
|
|
6457
|
+
{ const: "lessThanOrEqualTo", title: "Less than or equal to" }
|
|
6458
|
+
]
|
|
6495
6459
|
},
|
|
6496
6460
|
legendLabels: {
|
|
6497
6461
|
type: "array",
|
|
@@ -6607,6 +6571,9 @@ const ComponentSchema = {
|
|
|
6607
6571
|
{ title: "Info", const: "info" }
|
|
6608
6572
|
]
|
|
6609
6573
|
},
|
|
6574
|
+
pageName: {
|
|
6575
|
+
path: []
|
|
6576
|
+
},
|
|
6610
6577
|
name: {
|
|
6611
6578
|
type: "string"
|
|
6612
6579
|
},
|
|
@@ -6618,42 +6585,41 @@ const ComponentSchema = {
|
|
|
6618
6585
|
required: ["name"]
|
|
6619
6586
|
};
|
|
6620
6587
|
const componentBasicUiSchema = (theme) => {
|
|
6621
|
-
var _a
|
|
6588
|
+
var _a;
|
|
6622
6589
|
const uiSchema = {
|
|
6623
6590
|
type: "HorizontalLayout",
|
|
6624
|
-
heading: "Component",
|
|
6591
|
+
heading: "Page-Component",
|
|
6625
6592
|
elements: [
|
|
6626
|
-
{
|
|
6627
|
-
type: "Control",
|
|
6628
|
-
scope: "#/properties/pageName",
|
|
6629
|
-
options: {
|
|
6630
|
-
widget: "Box"
|
|
6631
|
-
},
|
|
6632
|
-
config: {
|
|
6633
|
-
layout: 12,
|
|
6634
|
-
main: {
|
|
6635
|
-
heading: " "
|
|
6636
|
-
},
|
|
6637
|
-
style: {
|
|
6638
|
-
marginLeft: theme.spacing(3),
|
|
6639
|
-
width: "auto",
|
|
6640
|
-
fontSize: "12px",
|
|
6641
|
-
color: "gray"
|
|
6642
|
-
}
|
|
6643
|
-
}
|
|
6644
|
-
},
|
|
6645
6593
|
{
|
|
6646
6594
|
type: "TabLayout",
|
|
6647
6595
|
config: {
|
|
6648
6596
|
main: {
|
|
6649
6597
|
tabLabels: ["Core"],
|
|
6650
|
-
defaultStyle: true,
|
|
6651
6598
|
id: `component`
|
|
6599
|
+
},
|
|
6600
|
+
style: {
|
|
6601
|
+
TabPanelStyle: {
|
|
6602
|
+
padding: 0
|
|
6603
|
+
}
|
|
6604
|
+
},
|
|
6605
|
+
TabsStyle: {
|
|
6606
|
+
marginBottom: "3px",
|
|
6607
|
+
paddingBottom: "4px",
|
|
6608
|
+
boxShadow: "0px 3px 4px #afafaf80",
|
|
6609
|
+
"& .MuiTabs-indicator": {
|
|
6610
|
+
bottom: "6px"
|
|
6611
|
+
}
|
|
6652
6612
|
}
|
|
6653
6613
|
},
|
|
6654
6614
|
elements: [
|
|
6655
6615
|
{
|
|
6656
|
-
type: "
|
|
6616
|
+
type: "WrapperLayout",
|
|
6617
|
+
config: {
|
|
6618
|
+
main: {
|
|
6619
|
+
label: " ",
|
|
6620
|
+
gap: "8px"
|
|
6621
|
+
}
|
|
6622
|
+
},
|
|
6657
6623
|
elements: [
|
|
6658
6624
|
{
|
|
6659
6625
|
type: "Control",
|
|
@@ -6662,12 +6628,22 @@ const componentBasicUiSchema = (theme) => {
|
|
|
6662
6628
|
widget: "SelectInputField"
|
|
6663
6629
|
},
|
|
6664
6630
|
config: {
|
|
6665
|
-
layout: { xs: 6, sm: 6, md: 4, lg:
|
|
6631
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 3 },
|
|
6666
6632
|
main: {
|
|
6667
6633
|
label: "Type"
|
|
6668
6634
|
}
|
|
6669
6635
|
}
|
|
6670
6636
|
},
|
|
6637
|
+
{
|
|
6638
|
+
type: "Control",
|
|
6639
|
+
scope: "#/properties/proc",
|
|
6640
|
+
config: {
|
|
6641
|
+
layout: { xs: 6, sm: 0, md: 0, lg: 0 }
|
|
6642
|
+
},
|
|
6643
|
+
options: {
|
|
6644
|
+
widget: "EmptyBox"
|
|
6645
|
+
}
|
|
6646
|
+
},
|
|
6671
6647
|
{
|
|
6672
6648
|
type: "Control",
|
|
6673
6649
|
scope: "#/properties/name",
|
|
@@ -6675,11 +6651,9 @@ const componentBasicUiSchema = (theme) => {
|
|
|
6675
6651
|
widget: "InputField"
|
|
6676
6652
|
},
|
|
6677
6653
|
config: {
|
|
6678
|
-
layout: { xs:
|
|
6654
|
+
layout: { xs: 12, sm: 6, md: 4, lg: 3 },
|
|
6679
6655
|
main: {
|
|
6680
|
-
label: "
|
|
6681
|
-
options: [],
|
|
6682
|
-
color: "secondary",
|
|
6656
|
+
label: "Component ID",
|
|
6683
6657
|
required: true
|
|
6684
6658
|
}
|
|
6685
6659
|
}
|
|
@@ -6691,7 +6665,7 @@ const componentBasicUiSchema = (theme) => {
|
|
|
6691
6665
|
widget: "InputField"
|
|
6692
6666
|
},
|
|
6693
6667
|
config: {
|
|
6694
|
-
layout: { xs: 6, sm: 6, md: 4, lg:
|
|
6668
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 3 },
|
|
6695
6669
|
main: {
|
|
6696
6670
|
label: "Label",
|
|
6697
6671
|
options: [],
|
|
@@ -6700,34 +6674,11 @@ const componentBasicUiSchema = (theme) => {
|
|
|
6700
6674
|
}
|
|
6701
6675
|
}
|
|
6702
6676
|
},
|
|
6703
|
-
{
|
|
6704
|
-
type: "Control",
|
|
6705
|
-
scope: "#/properties/columnFormat",
|
|
6706
|
-
options: {
|
|
6707
|
-
widget: "SelectInputField"
|
|
6708
|
-
},
|
|
6709
|
-
config: {
|
|
6710
|
-
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
6711
|
-
main: {
|
|
6712
|
-
label: "Column Format"
|
|
6713
|
-
}
|
|
6714
|
-
}
|
|
6715
|
-
},
|
|
6716
|
-
{
|
|
6717
|
-
type: "Control",
|
|
6718
|
-
scope: "#/properties/proc",
|
|
6719
|
-
config: {
|
|
6720
|
-
layout: { xs: 0, sm: 0, md: 4, lg: 4 }
|
|
6721
|
-
},
|
|
6722
|
-
options: {
|
|
6723
|
-
widget: "EmptyBox"
|
|
6724
|
-
}
|
|
6725
|
-
},
|
|
6726
6677
|
{
|
|
6727
6678
|
type: "Control",
|
|
6728
6679
|
scope: "#/properties/proc",
|
|
6729
6680
|
config: {
|
|
6730
|
-
layout: { xs:
|
|
6681
|
+
layout: { xs: 6, sm: 6, md: 0, lg: 3 }
|
|
6731
6682
|
},
|
|
6732
6683
|
options: {
|
|
6733
6684
|
widget: "EmptyBox"
|
|
@@ -6736,150 +6687,126 @@ const componentBasicUiSchema = (theme) => {
|
|
|
6736
6687
|
{
|
|
6737
6688
|
type: "Control",
|
|
6738
6689
|
scope: "#/properties/layout",
|
|
6739
|
-
layout: 12,
|
|
6740
6690
|
options: {
|
|
6741
|
-
|
|
6742
|
-
|
|
6743
|
-
|
|
6744
|
-
|
|
6745
|
-
|
|
6746
|
-
|
|
6747
|
-
|
|
6748
|
-
|
|
6749
|
-
|
|
6750
|
-
|
|
6751
|
-
|
|
6752
|
-
|
|
6753
|
-
|
|
6754
|
-
|
|
6755
|
-
|
|
6756
|
-
|
|
6757
|
-
|
|
6758
|
-
|
|
6759
|
-
|
|
6760
|
-
|
|
6761
|
-
|
|
6762
|
-
|
|
6763
|
-
|
|
6764
|
-
|
|
6765
|
-
|
|
6766
|
-
|
|
6767
|
-
|
|
6768
|
-
|
|
6769
|
-
|
|
6770
|
-
|
|
6771
|
-
|
|
6772
|
-
|
|
6773
|
-
|
|
6774
|
-
|
|
6775
|
-
|
|
6776
|
-
|
|
6777
|
-
|
|
6778
|
-
|
|
6779
|
-
|
|
6780
|
-
|
|
6781
|
-
|
|
6691
|
+
widget: "Array"
|
|
6692
|
+
},
|
|
6693
|
+
config: {
|
|
6694
|
+
layout: 12,
|
|
6695
|
+
main: {
|
|
6696
|
+
label: "Layout",
|
|
6697
|
+
childElementLabel: "Layout"
|
|
6698
|
+
},
|
|
6699
|
+
style: {
|
|
6700
|
+
marginLeft: "-24px",
|
|
6701
|
+
marginBottom: "24px !important",
|
|
6702
|
+
labelStyle: {
|
|
6703
|
+
marginLeft: "24px"
|
|
6704
|
+
},
|
|
6705
|
+
detailsStyle: {
|
|
6706
|
+
marginLeft: "24px"
|
|
6707
|
+
}
|
|
6708
|
+
}
|
|
6709
|
+
},
|
|
6710
|
+
elements: [
|
|
6711
|
+
{
|
|
6712
|
+
type: "Control",
|
|
6713
|
+
scope: "#/properties/key",
|
|
6714
|
+
options: {
|
|
6715
|
+
widget: "SelectInputField"
|
|
6716
|
+
},
|
|
6717
|
+
config: {
|
|
6718
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
6719
|
+
main: {
|
|
6720
|
+
label: "Screen Size"
|
|
6721
|
+
}
|
|
6722
|
+
}
|
|
6723
|
+
},
|
|
6724
|
+
{
|
|
6725
|
+
type: "Control",
|
|
6726
|
+
scope: "#/properties/value",
|
|
6727
|
+
options: {
|
|
6728
|
+
widget: "InputField"
|
|
6729
|
+
},
|
|
6730
|
+
config: {
|
|
6731
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
6732
|
+
main: {
|
|
6733
|
+
label: "Value",
|
|
6734
|
+
type: "number",
|
|
6735
|
+
helperText: "Number should be in range of 0 to 12",
|
|
6736
|
+
errorMessage: "Number Can't be greater than 12 and can't be less than 0."
|
|
6782
6737
|
}
|
|
6783
|
-
|
|
6738
|
+
}
|
|
6739
|
+
},
|
|
6740
|
+
{
|
|
6741
|
+
type: "Control",
|
|
6742
|
+
scope: "#/properties/proc",
|
|
6743
|
+
config: {
|
|
6744
|
+
layout: { xs: 0, sm: 0, md: 4, lg: 4 }
|
|
6745
|
+
},
|
|
6746
|
+
options: {
|
|
6747
|
+
widget: "EmptyBox"
|
|
6748
|
+
}
|
|
6784
6749
|
}
|
|
6785
|
-
|
|
6750
|
+
]
|
|
6786
6751
|
}
|
|
6787
6752
|
]
|
|
6788
6753
|
}
|
|
6789
6754
|
]
|
|
6790
6755
|
},
|
|
6791
6756
|
{
|
|
6792
|
-
type: "
|
|
6757
|
+
type: "WrapperLayout",
|
|
6793
6758
|
config: {
|
|
6794
|
-
|
|
6759
|
+
main: {
|
|
6760
|
+
gap: "8px"
|
|
6761
|
+
}
|
|
6795
6762
|
},
|
|
6796
6763
|
elements: [
|
|
6797
6764
|
{
|
|
6798
6765
|
type: "Control",
|
|
6799
|
-
scope: "#/properties/
|
|
6766
|
+
scope: "#/properties/btn",
|
|
6800
6767
|
options: {
|
|
6801
|
-
widget: "
|
|
6768
|
+
widget: "Button"
|
|
6802
6769
|
},
|
|
6803
6770
|
config: {
|
|
6804
|
-
layout: { xs:
|
|
6771
|
+
layout: { xs: 4, sm: 2.5, md: 2, lg: 1.5 },
|
|
6805
6772
|
main: {
|
|
6806
|
-
|
|
6807
|
-
|
|
6808
|
-
|
|
6809
|
-
|
|
6810
|
-
|
|
6811
|
-
style: {
|
|
6812
|
-
marginLeft: "-10px"
|
|
6773
|
+
name: "Ok",
|
|
6774
|
+
variant: "contained",
|
|
6775
|
+
type: "text",
|
|
6776
|
+
onClick: "okHandler",
|
|
6777
|
+
size: "medium"
|
|
6813
6778
|
}
|
|
6814
6779
|
}
|
|
6815
6780
|
},
|
|
6816
6781
|
{
|
|
6817
6782
|
type: "Control",
|
|
6818
|
-
scope: "#/properties/
|
|
6783
|
+
scope: "#/properties/btnSubmit",
|
|
6819
6784
|
options: {
|
|
6820
|
-
widget: "
|
|
6785
|
+
widget: "Button"
|
|
6821
6786
|
},
|
|
6822
6787
|
config: {
|
|
6823
|
-
layout: { xs:
|
|
6788
|
+
layout: { xs: 4, sm: 2.5, md: 2, lg: 1.5 },
|
|
6824
6789
|
main: {
|
|
6825
|
-
|
|
6826
|
-
|
|
6827
|
-
|
|
6828
|
-
|
|
6829
|
-
|
|
6830
|
-
fontSize: "12px",
|
|
6831
|
-
marginTop: "4px"
|
|
6790
|
+
name: "Save & Exit",
|
|
6791
|
+
variant: "contained",
|
|
6792
|
+
type: "text",
|
|
6793
|
+
onClick: "saveHandler",
|
|
6794
|
+
size: "medium"
|
|
6832
6795
|
}
|
|
6833
6796
|
}
|
|
6834
6797
|
},
|
|
6835
6798
|
{
|
|
6836
6799
|
type: "Control",
|
|
6837
6800
|
scope: "#/properties/EmptyBox",
|
|
6801
|
+
config: {
|
|
6802
|
+
layout: { xs: 4, sm: 7, md: 8, lg: 9 }
|
|
6803
|
+
},
|
|
6838
6804
|
options: {
|
|
6839
6805
|
widget: "EmptyBox"
|
|
6840
|
-
},
|
|
6841
|
-
config: {
|
|
6842
|
-
layout: { xs: 1, sm: 5 }
|
|
6843
6806
|
}
|
|
6844
6807
|
}
|
|
6845
6808
|
]
|
|
6846
6809
|
},
|
|
6847
|
-
{
|
|
6848
|
-
type: "Control",
|
|
6849
|
-
scope: "#/properties/btn",
|
|
6850
|
-
options: {
|
|
6851
|
-
widget: "Button"
|
|
6852
|
-
},
|
|
6853
|
-
config: {
|
|
6854
|
-
layout: { xs: 4, sm: 2 },
|
|
6855
|
-
main: {
|
|
6856
|
-
name: "Ok",
|
|
6857
|
-
startIcon: "ApproveIcon",
|
|
6858
|
-
variant: "contained",
|
|
6859
|
-
type: "text",
|
|
6860
|
-
onClick: "okHandler",
|
|
6861
|
-
size: "medium"
|
|
6862
|
-
}
|
|
6863
|
-
}
|
|
6864
|
-
},
|
|
6865
|
-
{
|
|
6866
|
-
type: "Control",
|
|
6867
|
-
scope: "#/properties/btnSubmit",
|
|
6868
|
-
options: {
|
|
6869
|
-
widget: "Button"
|
|
6870
|
-
},
|
|
6871
|
-
config: {
|
|
6872
|
-
layout: { xs: 4, sm: 2 },
|
|
6873
|
-
main: {
|
|
6874
|
-
name: "Save & Exit",
|
|
6875
|
-
startIcon: "ApproveIcon",
|
|
6876
|
-
variant: "contained",
|
|
6877
|
-
type: "text",
|
|
6878
|
-
onClick: "saveHandler",
|
|
6879
|
-
size: "medium"
|
|
6880
|
-
}
|
|
6881
|
-
}
|
|
6882
|
-
},
|
|
6883
6810
|
{
|
|
6884
6811
|
type: "Control",
|
|
6885
6812
|
scope: "#/properties/popUpComponentSection",
|
|
@@ -6908,15 +6835,16 @@ const componentBasicUiSchema = (theme) => {
|
|
|
6908
6835
|
config: {
|
|
6909
6836
|
layout: 11,
|
|
6910
6837
|
main: {
|
|
6911
|
-
heading: "Are you sure you want to delete ?"
|
|
6838
|
+
heading: "Are you sure you want to delete this Component ?"
|
|
6912
6839
|
},
|
|
6913
6840
|
style: {
|
|
6914
|
-
marginTop: "-20px",
|
|
6915
|
-
fontSize: "20px",
|
|
6916
6841
|
"&.MuiTypography-root": {
|
|
6917
|
-
padding: "
|
|
6842
|
+
padding: "0px 20px",
|
|
6918
6843
|
textAlign: "center",
|
|
6919
|
-
lineHeight: "1"
|
|
6844
|
+
lineHeight: "1.2",
|
|
6845
|
+
fontWeight: "normal",
|
|
6846
|
+
fontSize: "18px",
|
|
6847
|
+
marginBottom: theme.spacing(5)
|
|
6920
6848
|
}
|
|
6921
6849
|
}
|
|
6922
6850
|
}
|
|
@@ -6938,15 +6866,15 @@ const componentBasicUiSchema = (theme) => {
|
|
|
6938
6866
|
layout: 6,
|
|
6939
6867
|
main: {
|
|
6940
6868
|
name: "No",
|
|
6941
|
-
startIcon: "ApproveIcon",
|
|
6942
6869
|
variant: "contained",
|
|
6943
|
-
color: "info",
|
|
6944
6870
|
type: "text",
|
|
6945
6871
|
onClick: "deletePopUpComponent",
|
|
6946
6872
|
size: "large"
|
|
6947
6873
|
},
|
|
6948
6874
|
style: {
|
|
6949
6875
|
position: "absolute",
|
|
6876
|
+
padding: "8px 0px",
|
|
6877
|
+
fontSize: "16px",
|
|
6950
6878
|
bottom: 0,
|
|
6951
6879
|
left: 0,
|
|
6952
6880
|
width: "50%",
|
|
@@ -6974,7 +6902,6 @@ const componentBasicUiSchema = (theme) => {
|
|
|
6974
6902
|
layout: 6,
|
|
6975
6903
|
main: {
|
|
6976
6904
|
name: "Yes",
|
|
6977
|
-
startIcon: "ApproveIcon",
|
|
6978
6905
|
variant: "contained",
|
|
6979
6906
|
color: "error",
|
|
6980
6907
|
type: "text",
|
|
@@ -6983,6 +6910,8 @@ const componentBasicUiSchema = (theme) => {
|
|
|
6983
6910
|
},
|
|
6984
6911
|
style: {
|
|
6985
6912
|
position: "absolute",
|
|
6913
|
+
padding: "8px 0px",
|
|
6914
|
+
fontSize: "16px",
|
|
6986
6915
|
bottom: 0,
|
|
6987
6916
|
right: 0,
|
|
6988
6917
|
width: "50%",
|
|
@@ -7031,15 +6960,17 @@ const componentBasicUiSchema = (theme) => {
|
|
|
7031
6960
|
config: {
|
|
7032
6961
|
layout: 11,
|
|
7033
6962
|
main: {
|
|
7034
|
-
heading: "Are you sure you want to delete ?"
|
|
6963
|
+
heading: "Are you sure you want to delete this Event ?"
|
|
7035
6964
|
},
|
|
7036
6965
|
style: {
|
|
7037
|
-
marginTop: "-20px",
|
|
7038
6966
|
fontSize: "20px",
|
|
7039
6967
|
"&.MuiTypography-root": {
|
|
7040
|
-
padding: "
|
|
6968
|
+
padding: "0px 20px",
|
|
7041
6969
|
textAlign: "center",
|
|
7042
|
-
lineHeight: "1"
|
|
6970
|
+
lineHeight: "1.2",
|
|
6971
|
+
fontWeight: "normal",
|
|
6972
|
+
fontSize: "18px",
|
|
6973
|
+
marginBottom: theme.spacing(5)
|
|
7043
6974
|
}
|
|
7044
6975
|
}
|
|
7045
6976
|
}
|
|
@@ -7061,15 +6992,15 @@ const componentBasicUiSchema = (theme) => {
|
|
|
7061
6992
|
layout: 6,
|
|
7062
6993
|
main: {
|
|
7063
6994
|
name: "No",
|
|
7064
|
-
startIcon: "ApproveIcon",
|
|
7065
6995
|
variant: "contained",
|
|
7066
|
-
color: "info",
|
|
7067
6996
|
type: "text",
|
|
7068
6997
|
onClick: "deletePopUpEvent",
|
|
7069
6998
|
size: "large"
|
|
7070
6999
|
},
|
|
7071
7000
|
style: {
|
|
7072
7001
|
position: "absolute",
|
|
7002
|
+
padding: "8px 0px",
|
|
7003
|
+
fontSize: "16px",
|
|
7073
7004
|
bottom: 0,
|
|
7074
7005
|
left: 0,
|
|
7075
7006
|
width: "50%",
|
|
@@ -7097,7 +7028,6 @@ const componentBasicUiSchema = (theme) => {
|
|
|
7097
7028
|
layout: 6,
|
|
7098
7029
|
main: {
|
|
7099
7030
|
name: "Yes",
|
|
7100
|
-
startIcon: "ApproveIcon",
|
|
7101
7031
|
variant: "contained",
|
|
7102
7032
|
color: "error",
|
|
7103
7033
|
type: "text",
|
|
@@ -7106,6 +7036,8 @@ const componentBasicUiSchema = (theme) => {
|
|
|
7106
7036
|
},
|
|
7107
7037
|
style: {
|
|
7108
7038
|
position: "absolute",
|
|
7039
|
+
padding: "8px 0px",
|
|
7040
|
+
fontSize: "16px",
|
|
7109
7041
|
bottom: 0,
|
|
7110
7042
|
right: 0,
|
|
7111
7043
|
width: "50%",
|
|
@@ -7126,6 +7058,27 @@ const componentBasicUiSchema = (theme) => {
|
|
|
7126
7058
|
}
|
|
7127
7059
|
]
|
|
7128
7060
|
},
|
|
7061
|
+
{
|
|
7062
|
+
type: "Control",
|
|
7063
|
+
scope: "#/properties/pageName",
|
|
7064
|
+
options: {
|
|
7065
|
+
widget: "Breadcrumb"
|
|
7066
|
+
},
|
|
7067
|
+
config: {
|
|
7068
|
+
layout: 12,
|
|
7069
|
+
main: {},
|
|
7070
|
+
style: {
|
|
7071
|
+
paddingLeft: theme.spacing(3),
|
|
7072
|
+
color: theme.palette.grey[600],
|
|
7073
|
+
fontSize: "10px",
|
|
7074
|
+
position: "fixed",
|
|
7075
|
+
bottom: "24px",
|
|
7076
|
+
borderBottom: `1px solid ${theme.palette.common.black}29`,
|
|
7077
|
+
borderTop: `1px solid ${theme.palette.common.black}29`,
|
|
7078
|
+
backgroundColor: theme.palette.background.default
|
|
7079
|
+
}
|
|
7080
|
+
}
|
|
7081
|
+
},
|
|
7129
7082
|
{
|
|
7130
7083
|
type: "Control",
|
|
7131
7084
|
scope: "#/properties/notify",
|
|
@@ -7143,7 +7096,7 @@ const componentBasicUiSchema = (theme) => {
|
|
|
7143
7096
|
style: {
|
|
7144
7097
|
flexDirection: "row",
|
|
7145
7098
|
position: "absolute",
|
|
7146
|
-
bottom:
|
|
7099
|
+
bottom: 10,
|
|
7147
7100
|
height: "fit-content",
|
|
7148
7101
|
overflow: "hidden",
|
|
7149
7102
|
zIndex: 1e3,
|
|
@@ -7162,78 +7115,19 @@ const componentBasicUiSchema = (theme) => {
|
|
|
7162
7115
|
heading: "Copywriter@ACT21.IO"
|
|
7163
7116
|
},
|
|
7164
7117
|
style: {
|
|
7165
|
-
color: ((
|
|
7118
|
+
color: ((_a = theme == null ? void 0 : theme.palette) == null ? void 0 : _a.text.disabled) || "#AFAFAF",
|
|
7166
7119
|
fontSize: "11px",
|
|
7167
7120
|
textAlign: "center",
|
|
7168
|
-
lineHeight:
|
|
7121
|
+
lineHeight: 0,
|
|
7169
7122
|
width: "fit-content",
|
|
7170
7123
|
left: "50%",
|
|
7171
7124
|
position: "relative",
|
|
7172
|
-
margin:
|
|
7125
|
+
margin: "revert",
|
|
7173
7126
|
flexGrow: 1,
|
|
7174
7127
|
height: 0,
|
|
7175
7128
|
transform: "translate(-50%, 0%)"
|
|
7176
7129
|
}
|
|
7177
7130
|
}
|
|
7178
|
-
},
|
|
7179
|
-
{
|
|
7180
|
-
type: "Control",
|
|
7181
|
-
scope: "#/properties/FooterBackIcon",
|
|
7182
|
-
options: {
|
|
7183
|
-
widget: "Box"
|
|
7184
|
-
},
|
|
7185
|
-
config: {
|
|
7186
|
-
main: {
|
|
7187
|
-
iconName: "PrevIcon",
|
|
7188
|
-
onClick: "backHandler",
|
|
7189
|
-
width: "fit-content"
|
|
7190
|
-
},
|
|
7191
|
-
style: {
|
|
7192
|
-
fill: (_d = (_c = theme == null ? void 0 : theme.palette) == null ? void 0 : _c.primary) == null ? void 0 : _d.main,
|
|
7193
|
-
width: 20,
|
|
7194
|
-
height: 0,
|
|
7195
|
-
top: 0,
|
|
7196
|
-
right: { xs: "12px", sm: "84px" },
|
|
7197
|
-
position: "absolute",
|
|
7198
|
-
fontSize: "12px",
|
|
7199
|
-
cursor: "pointer",
|
|
7200
|
-
":hover": {
|
|
7201
|
-
fill: (_f = (_e = theme == null ? void 0 : theme.palette) == null ? void 0 : _e.primary) == null ? void 0 : _f.dark
|
|
7202
|
-
},
|
|
7203
|
-
marginRight: "20px"
|
|
7204
|
-
}
|
|
7205
|
-
}
|
|
7206
|
-
},
|
|
7207
|
-
{
|
|
7208
|
-
type: "Control",
|
|
7209
|
-
scope: "#/properties/FooterBackHandlerText",
|
|
7210
|
-
options: {
|
|
7211
|
-
widget: "Box"
|
|
7212
|
-
},
|
|
7213
|
-
config: {
|
|
7214
|
-
main: {
|
|
7215
|
-
heading: "Previous Page",
|
|
7216
|
-
onClick: "backHandler"
|
|
7217
|
-
},
|
|
7218
|
-
style: {
|
|
7219
|
-
display: { xs: "none", sm: "flex" },
|
|
7220
|
-
textAlign: "left",
|
|
7221
|
-
lineHeight: 1,
|
|
7222
|
-
height: 0,
|
|
7223
|
-
width: "fit-content",
|
|
7224
|
-
color: (_h = (_g = theme == null ? void 0 : theme.palette) == null ? void 0 : _g.primary) == null ? void 0 : _h.main,
|
|
7225
|
-
fontSize: "12px",
|
|
7226
|
-
cursor: "pointer",
|
|
7227
|
-
marginLeft: "2px",
|
|
7228
|
-
top: 3,
|
|
7229
|
-
right: "12px",
|
|
7230
|
-
position: "absolute",
|
|
7231
|
-
":hover": {
|
|
7232
|
-
color: (_j = (_i = theme == null ? void 0 : theme.palette) == null ? void 0 : _i.primary) == null ? void 0 : _j.dark
|
|
7233
|
-
},
|
|
7234
|
-
marginRight: "4px"
|
|
7235
|
-
}
|
|
7236
|
-
}
|
|
7237
7131
|
}
|
|
7238
7132
|
]
|
|
7239
7133
|
}
|
|
@@ -7242,7 +7136,13 @@ const componentBasicUiSchema = (theme) => {
|
|
|
7242
7136
|
return uiSchema;
|
|
7243
7137
|
};
|
|
7244
7138
|
const CoreSection = {
|
|
7245
|
-
type: "
|
|
7139
|
+
type: "WrapperLayout",
|
|
7140
|
+
config: {
|
|
7141
|
+
main: {
|
|
7142
|
+
label: " ",
|
|
7143
|
+
gap: "8px"
|
|
7144
|
+
}
|
|
7145
|
+
},
|
|
7246
7146
|
elements: [
|
|
7247
7147
|
{
|
|
7248
7148
|
type: "Control",
|
|
@@ -7251,7 +7151,7 @@ const CoreSection = {
|
|
|
7251
7151
|
widget: "SelectInputField"
|
|
7252
7152
|
},
|
|
7253
7153
|
config: {
|
|
7254
|
-
layout: { xs: 6, sm: 6, md: 4, lg:
|
|
7154
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 3 },
|
|
7255
7155
|
main: {
|
|
7256
7156
|
label: "Type",
|
|
7257
7157
|
type: "text"
|
|
@@ -7260,40 +7160,39 @@ const CoreSection = {
|
|
|
7260
7160
|
},
|
|
7261
7161
|
{
|
|
7262
7162
|
type: "Control",
|
|
7263
|
-
scope: "#/properties/
|
|
7264
|
-
options: {
|
|
7265
|
-
widget: "InputField"
|
|
7266
|
-
},
|
|
7163
|
+
scope: "#/properties/proc",
|
|
7267
7164
|
config: {
|
|
7268
|
-
layout: { xs: 6, sm:
|
|
7269
|
-
|
|
7270
|
-
|
|
7271
|
-
|
|
7165
|
+
layout: { xs: 6, sm: 0, md: 0, lg: 0 }
|
|
7166
|
+
},
|
|
7167
|
+
options: {
|
|
7168
|
+
widget: "EmptyBox"
|
|
7272
7169
|
}
|
|
7273
7170
|
},
|
|
7274
7171
|
{
|
|
7275
7172
|
type: "Control",
|
|
7276
|
-
scope: "#/properties/
|
|
7173
|
+
scope: "#/properties/name",
|
|
7277
7174
|
options: {
|
|
7278
7175
|
widget: "InputField"
|
|
7279
7176
|
},
|
|
7280
7177
|
config: {
|
|
7281
|
-
layout: { xs:
|
|
7178
|
+
layout: { xs: 12, sm: 6, md: 4, lg: 3 },
|
|
7282
7179
|
main: {
|
|
7283
|
-
label: "
|
|
7180
|
+
label: "Component ID",
|
|
7181
|
+
required: true
|
|
7284
7182
|
}
|
|
7285
7183
|
}
|
|
7286
7184
|
},
|
|
7287
7185
|
{
|
|
7288
7186
|
type: "Control",
|
|
7289
|
-
scope: "#/properties/
|
|
7187
|
+
scope: "#/properties/label",
|
|
7290
7188
|
options: {
|
|
7291
|
-
widget: "
|
|
7189
|
+
widget: "InputField"
|
|
7292
7190
|
},
|
|
7293
7191
|
config: {
|
|
7294
|
-
layout: { xs: 6, sm: 6, md: 4, lg:
|
|
7192
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 3 },
|
|
7295
7193
|
main: {
|
|
7296
|
-
label: "
|
|
7194
|
+
label: "Label",
|
|
7195
|
+
required: true
|
|
7297
7196
|
}
|
|
7298
7197
|
}
|
|
7299
7198
|
},
|
|
@@ -7301,17 +7200,7 @@ const CoreSection = {
|
|
|
7301
7200
|
type: "Control",
|
|
7302
7201
|
scope: "#/properties/proc",
|
|
7303
7202
|
config: {
|
|
7304
|
-
layout: { xs:
|
|
7305
|
-
},
|
|
7306
|
-
options: {
|
|
7307
|
-
widget: "EmptyBox"
|
|
7308
|
-
}
|
|
7309
|
-
},
|
|
7310
|
-
{
|
|
7311
|
-
type: "Control",
|
|
7312
|
-
scope: "#/properties/proc",
|
|
7313
|
-
config: {
|
|
7314
|
-
layout: { xs: 0, sm: 0, md: 4, lg: 4 }
|
|
7203
|
+
layout: { xs: 6, sm: 6, md: 0, lg: 3 }
|
|
7315
7204
|
},
|
|
7316
7205
|
options: {
|
|
7317
7206
|
widget: "EmptyBox"
|
|
@@ -7320,54 +7209,67 @@ const CoreSection = {
|
|
|
7320
7209
|
{
|
|
7321
7210
|
type: "Control",
|
|
7322
7211
|
scope: "#/properties/layout",
|
|
7323
|
-
layout: 12,
|
|
7324
7212
|
options: {
|
|
7325
|
-
|
|
7326
|
-
|
|
7327
|
-
|
|
7328
|
-
|
|
7329
|
-
|
|
7330
|
-
|
|
7331
|
-
|
|
7332
|
-
|
|
7333
|
-
|
|
7334
|
-
|
|
7335
|
-
|
|
7336
|
-
|
|
7337
|
-
|
|
7338
|
-
|
|
7339
|
-
|
|
7340
|
-
|
|
7341
|
-
|
|
7342
|
-
|
|
7343
|
-
|
|
7344
|
-
|
|
7345
|
-
|
|
7346
|
-
|
|
7347
|
-
|
|
7348
|
-
|
|
7349
|
-
|
|
7350
|
-
|
|
7351
|
-
|
|
7352
|
-
|
|
7353
|
-
|
|
7354
|
-
|
|
7355
|
-
}
|
|
7356
|
-
}
|
|
7357
|
-
},
|
|
7358
|
-
{
|
|
7359
|
-
type: "Control",
|
|
7360
|
-
scope: "#/properties/proc",
|
|
7361
|
-
config: {
|
|
7362
|
-
layout: { xs: 0, sm: 0, md: 4, lg: 4 }
|
|
7363
|
-
},
|
|
7364
|
-
options: {
|
|
7365
|
-
widget: "EmptyBox"
|
|
7366
|
-
}
|
|
7213
|
+
widget: "Array"
|
|
7214
|
+
},
|
|
7215
|
+
config: {
|
|
7216
|
+
layout: 12,
|
|
7217
|
+
main: {
|
|
7218
|
+
label: "Layout",
|
|
7219
|
+
childElementLabel: "Layout"
|
|
7220
|
+
},
|
|
7221
|
+
style: {
|
|
7222
|
+
marginLeft: "-24px",
|
|
7223
|
+
marginBottom: "24px !important",
|
|
7224
|
+
labelStyle: {
|
|
7225
|
+
marginLeft: "24px"
|
|
7226
|
+
},
|
|
7227
|
+
detailsStyle: {
|
|
7228
|
+
marginLeft: "24px"
|
|
7229
|
+
}
|
|
7230
|
+
}
|
|
7231
|
+
},
|
|
7232
|
+
elements: [
|
|
7233
|
+
{
|
|
7234
|
+
type: "Control",
|
|
7235
|
+
scope: "#/properties/key",
|
|
7236
|
+
options: {
|
|
7237
|
+
widget: "SelectInputField"
|
|
7238
|
+
},
|
|
7239
|
+
config: {
|
|
7240
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
7241
|
+
main: {
|
|
7242
|
+
label: "Screen Size"
|
|
7367
7243
|
}
|
|
7368
|
-
|
|
7244
|
+
}
|
|
7245
|
+
},
|
|
7246
|
+
{
|
|
7247
|
+
type: "Control",
|
|
7248
|
+
scope: "#/properties/value",
|
|
7249
|
+
options: {
|
|
7250
|
+
widget: "InputField"
|
|
7251
|
+
},
|
|
7252
|
+
config: {
|
|
7253
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
7254
|
+
main: {
|
|
7255
|
+
label: "Value",
|
|
7256
|
+
type: "number",
|
|
7257
|
+
helperText: "Number should be in range of 0 to 12",
|
|
7258
|
+
errorMessage: "Number Can't be greater than 12 and can't be less than 0."
|
|
7259
|
+
}
|
|
7260
|
+
}
|
|
7261
|
+
},
|
|
7262
|
+
{
|
|
7263
|
+
type: "Control",
|
|
7264
|
+
scope: "#/properties/proc",
|
|
7265
|
+
config: {
|
|
7266
|
+
layout: { xs: 0, sm: 0, md: 4, lg: 4 }
|
|
7267
|
+
},
|
|
7268
|
+
options: {
|
|
7269
|
+
widget: "EmptyBox"
|
|
7270
|
+
}
|
|
7369
7271
|
}
|
|
7370
|
-
|
|
7272
|
+
]
|
|
7371
7273
|
}
|
|
7372
7274
|
]
|
|
7373
7275
|
};
|
|
@@ -7394,15 +7296,20 @@ const EventSection = (theme) => {
|
|
|
7394
7296
|
},
|
|
7395
7297
|
config: {
|
|
7396
7298
|
main: {
|
|
7397
|
-
color: "info",
|
|
7398
7299
|
onClick: "eventAddHandler",
|
|
7399
7300
|
size: "small",
|
|
7400
|
-
icon: "
|
|
7401
|
-
iconLabel: "Add
|
|
7301
|
+
icon: "TableAddIcon",
|
|
7302
|
+
iconLabel: "Add",
|
|
7402
7303
|
styleDefault: true
|
|
7403
7304
|
},
|
|
7404
7305
|
style: {
|
|
7405
|
-
mt: "6px"
|
|
7306
|
+
mt: "6px",
|
|
7307
|
+
color: "inherit",
|
|
7308
|
+
fill: "inherit",
|
|
7309
|
+
"&:hover": {
|
|
7310
|
+
color: "inherit",
|
|
7311
|
+
fill: "inherit"
|
|
7312
|
+
}
|
|
7406
7313
|
}
|
|
7407
7314
|
}
|
|
7408
7315
|
}
|
|
@@ -7418,12 +7325,18 @@ const EventSection = (theme) => {
|
|
|
7418
7325
|
main: {
|
|
7419
7326
|
onClick: "copyPasteElement",
|
|
7420
7327
|
size: "small",
|
|
7421
|
-
icon: "
|
|
7328
|
+
icon: "TablePaste",
|
|
7422
7329
|
iconLabel: "Paste",
|
|
7423
7330
|
styleDefault: true
|
|
7424
7331
|
},
|
|
7425
7332
|
style: {
|
|
7426
|
-
mt: "6px"
|
|
7333
|
+
mt: "6px",
|
|
7334
|
+
color: "inherit",
|
|
7335
|
+
fill: "inherit",
|
|
7336
|
+
"&:hover": {
|
|
7337
|
+
color: "inherit",
|
|
7338
|
+
fill: "inherit"
|
|
7339
|
+
}
|
|
7427
7340
|
}
|
|
7428
7341
|
}
|
|
7429
7342
|
}
|
|
@@ -7438,15 +7351,21 @@ const EventSection = (theme) => {
|
|
|
7438
7351
|
elements: [
|
|
7439
7352
|
{
|
|
7440
7353
|
accessorKey: "eventType",
|
|
7441
|
-
header: "Event Type"
|
|
7354
|
+
header: "Event's Type",
|
|
7355
|
+
type: "string",
|
|
7356
|
+
size: 300
|
|
7442
7357
|
},
|
|
7443
7358
|
{
|
|
7444
7359
|
accessorKey: "Handler",
|
|
7445
|
-
header: "Handler"
|
|
7360
|
+
header: "Handler",
|
|
7361
|
+
type: "string",
|
|
7362
|
+
size: 200
|
|
7446
7363
|
},
|
|
7447
7364
|
{
|
|
7448
7365
|
accessorKey: "Edit_Approve_Records",
|
|
7449
|
-
header: "Edit
|
|
7366
|
+
header: "Edit",
|
|
7367
|
+
size: 150,
|
|
7368
|
+
type: "action",
|
|
7450
7369
|
widget: {
|
|
7451
7370
|
type: "Control",
|
|
7452
7371
|
scope: "#/properties/Edit_Records",
|
|
@@ -7455,14 +7374,16 @@ const EventSection = (theme) => {
|
|
|
7455
7374
|
},
|
|
7456
7375
|
config: {
|
|
7457
7376
|
main: {
|
|
7458
|
-
color: "info",
|
|
7459
7377
|
size: "small",
|
|
7460
|
-
icon: "
|
|
7378
|
+
icon: "TableEditIcon",
|
|
7461
7379
|
tooltipMessage: "Edit This Record",
|
|
7462
7380
|
onClick: "eventEditHandler"
|
|
7463
7381
|
},
|
|
7464
7382
|
style: {
|
|
7465
|
-
|
|
7383
|
+
fill: theme.palette.primary.main,
|
|
7384
|
+
"& :hover": {
|
|
7385
|
+
fill: theme.palette.primary.dark
|
|
7386
|
+
}
|
|
7466
7387
|
}
|
|
7467
7388
|
}
|
|
7468
7389
|
}
|
|
@@ -7470,6 +7391,8 @@ const EventSection = (theme) => {
|
|
|
7470
7391
|
{
|
|
7471
7392
|
accessorKey: "Reject_Records",
|
|
7472
7393
|
header: "Delete",
|
|
7394
|
+
size: 150,
|
|
7395
|
+
type: "action",
|
|
7473
7396
|
widget: {
|
|
7474
7397
|
type: "Control",
|
|
7475
7398
|
scope: "#/properties/RejectButton",
|
|
@@ -7479,10 +7402,15 @@ const EventSection = (theme) => {
|
|
|
7479
7402
|
},
|
|
7480
7403
|
config: {
|
|
7481
7404
|
main: {
|
|
7482
|
-
icon: "
|
|
7483
|
-
color: "error",
|
|
7405
|
+
icon: "Bin",
|
|
7484
7406
|
tooltipMessage: "Reject This Record",
|
|
7485
7407
|
onClick: "deletePopUpEvent"
|
|
7408
|
+
},
|
|
7409
|
+
style: {
|
|
7410
|
+
fill: theme.palette.primary.main,
|
|
7411
|
+
"& :hover": {
|
|
7412
|
+
fill: theme.palette.primary.dark
|
|
7413
|
+
}
|
|
7486
7414
|
}
|
|
7487
7415
|
}
|
|
7488
7416
|
}
|
|
@@ -7490,7 +7418,8 @@ const EventSection = (theme) => {
|
|
|
7490
7418
|
{
|
|
7491
7419
|
header: "Copy",
|
|
7492
7420
|
field: "Copy_Event",
|
|
7493
|
-
|
|
7421
|
+
size: 150,
|
|
7422
|
+
type: "action",
|
|
7494
7423
|
widget: {
|
|
7495
7424
|
type: "Control",
|
|
7496
7425
|
scope: "#/properties/Copy_Event",
|
|
@@ -7540,77 +7469,103 @@ const emptyBox$1 = (scope, layout) => {
|
|
|
7540
7469
|
const cardLayout = {
|
|
7541
7470
|
type: "Control",
|
|
7542
7471
|
scope: "#/properties/cardLayout",
|
|
7543
|
-
layout: 11.5,
|
|
7544
7472
|
options: {
|
|
7545
|
-
|
|
7546
|
-
|
|
7547
|
-
|
|
7548
|
-
|
|
7549
|
-
|
|
7550
|
-
|
|
7551
|
-
|
|
7552
|
-
|
|
7553
|
-
|
|
7554
|
-
|
|
7555
|
-
|
|
7556
|
-
|
|
7557
|
-
|
|
7558
|
-
|
|
7559
|
-
|
|
7560
|
-
|
|
7561
|
-
|
|
7562
|
-
type: "Control",
|
|
7563
|
-
scope: "#/properties/value",
|
|
7564
|
-
options: {
|
|
7565
|
-
widget: "InputField"
|
|
7566
|
-
},
|
|
7567
|
-
config: {
|
|
7568
|
-
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
7569
|
-
main: {
|
|
7570
|
-
label: "Value",
|
|
7571
|
-
type: "number",
|
|
7572
|
-
helperText: "Number should be in range of 0 to 12",
|
|
7573
|
-
errorMessage: "Number Can't be greater than 12 and can't be less than 0."
|
|
7574
|
-
}
|
|
7575
|
-
}
|
|
7576
|
-
},
|
|
7577
|
-
emptyBox$1("cardEmpty")
|
|
7578
|
-
]
|
|
7473
|
+
widget: "Array"
|
|
7474
|
+
},
|
|
7475
|
+
config: {
|
|
7476
|
+
layout: 12,
|
|
7477
|
+
main: {
|
|
7478
|
+
label: "Card Layout",
|
|
7479
|
+
childElementLabel: "Card Layout"
|
|
7480
|
+
},
|
|
7481
|
+
style: {
|
|
7482
|
+
marginLeft: "-24px",
|
|
7483
|
+
marginBottom: "24px !important",
|
|
7484
|
+
labelStyle: {
|
|
7485
|
+
marginLeft: "24px"
|
|
7486
|
+
},
|
|
7487
|
+
detailsStyle: {
|
|
7488
|
+
marginLeft: "24px"
|
|
7489
|
+
}
|
|
7579
7490
|
}
|
|
7580
|
-
}
|
|
7491
|
+
},
|
|
7492
|
+
elements: [
|
|
7493
|
+
{
|
|
7494
|
+
type: "Control",
|
|
7495
|
+
scope: "#/properties/key",
|
|
7496
|
+
options: {
|
|
7497
|
+
widget: "SelectInputField"
|
|
7498
|
+
},
|
|
7499
|
+
config: {
|
|
7500
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
7501
|
+
main: {
|
|
7502
|
+
label: "Screen Size"
|
|
7503
|
+
}
|
|
7504
|
+
}
|
|
7505
|
+
},
|
|
7506
|
+
{
|
|
7507
|
+
type: "Control",
|
|
7508
|
+
scope: "#/properties/value",
|
|
7509
|
+
options: {
|
|
7510
|
+
widget: "InputField"
|
|
7511
|
+
},
|
|
7512
|
+
config: {
|
|
7513
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
7514
|
+
main: {
|
|
7515
|
+
label: "Value",
|
|
7516
|
+
type: "number",
|
|
7517
|
+
helperText: "Number should be in range of 0 to 12",
|
|
7518
|
+
errorMessage: "Number Can't be greater than 12 and can't be less than 0."
|
|
7519
|
+
}
|
|
7520
|
+
}
|
|
7521
|
+
},
|
|
7522
|
+
emptyBox$1("cardEmpty")
|
|
7523
|
+
]
|
|
7581
7524
|
};
|
|
7582
7525
|
const getArrayControl = (parentScope, childScope, childLabel) => {
|
|
7583
7526
|
return {
|
|
7584
7527
|
type: "Control",
|
|
7585
7528
|
scope: `#/properties/${parentScope}`,
|
|
7586
|
-
layout: 12,
|
|
7587
7529
|
options: {
|
|
7588
|
-
"
|
|
7589
|
-
|
|
7590
|
-
|
|
7591
|
-
|
|
7592
|
-
|
|
7593
|
-
|
|
7594
|
-
|
|
7595
|
-
|
|
7596
|
-
|
|
7597
|
-
|
|
7598
|
-
|
|
7599
|
-
|
|
7600
|
-
|
|
7601
|
-
|
|
7602
|
-
|
|
7603
|
-
|
|
7604
|
-
|
|
7605
|
-
emptyBox$1("ArrayControlEmpty1", { xs: 6, sm: 6, md: 4, lg: 4 }),
|
|
7606
|
-
emptyBox$1("ArrayControlEmpty2", { xs: 0, sm: 0, md: 4, lg: 4 })
|
|
7607
|
-
]
|
|
7530
|
+
widget: "Array"
|
|
7531
|
+
},
|
|
7532
|
+
config: {
|
|
7533
|
+
layout: 12,
|
|
7534
|
+
main: {
|
|
7535
|
+
label: childLabel,
|
|
7536
|
+
childElementLabel: childLabel
|
|
7537
|
+
},
|
|
7538
|
+
style: {
|
|
7539
|
+
marginLeft: "-24px",
|
|
7540
|
+
marginBottom: "24px !important",
|
|
7541
|
+
labelStyle: {
|
|
7542
|
+
marginLeft: "24px"
|
|
7543
|
+
},
|
|
7544
|
+
detailsStyle: {
|
|
7545
|
+
marginLeft: "24px"
|
|
7546
|
+
}
|
|
7608
7547
|
}
|
|
7609
|
-
}
|
|
7548
|
+
},
|
|
7549
|
+
elements: [
|
|
7550
|
+
{
|
|
7551
|
+
type: "Control",
|
|
7552
|
+
scope: `#/properties/${childScope}`,
|
|
7553
|
+
options: {
|
|
7554
|
+
widget: "InputField"
|
|
7555
|
+
},
|
|
7556
|
+
config: {
|
|
7557
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
7558
|
+
main: {
|
|
7559
|
+
label: childLabel || "Labels for Tab"
|
|
7560
|
+
}
|
|
7561
|
+
}
|
|
7562
|
+
},
|
|
7563
|
+
emptyBox$1("ArrayControlEmpty1", { xs: 6, sm: 6, md: 8, lg: 8 })
|
|
7564
|
+
]
|
|
7610
7565
|
};
|
|
7611
7566
|
};
|
|
7612
7567
|
const sizeHolder = getArrayControl("sizeHolder", "keyName", "Component Name");
|
|
7613
|
-
sizeHolder.
|
|
7568
|
+
sizeHolder.elements[1] = {
|
|
7614
7569
|
type: "Control",
|
|
7615
7570
|
scope: `#/properties/value`,
|
|
7616
7571
|
options: {
|
|
@@ -7623,7 +7578,7 @@ sizeHolder.options.detail.elements[1] = {
|
|
|
7623
7578
|
}
|
|
7624
7579
|
}
|
|
7625
7580
|
};
|
|
7626
|
-
sizeHolder.
|
|
7581
|
+
sizeHolder.elements[2] = emptyBox$1("sizeHolderempty");
|
|
7627
7582
|
const getInputField = (scope, label) => {
|
|
7628
7583
|
return {
|
|
7629
7584
|
type: "Control",
|
|
@@ -7632,7 +7587,7 @@ const getInputField = (scope, label) => {
|
|
|
7632
7587
|
widget: "InputField"
|
|
7633
7588
|
},
|
|
7634
7589
|
config: {
|
|
7635
|
-
layout: { xs: 6, sm: 6, md: 4, lg:
|
|
7590
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 3 },
|
|
7636
7591
|
main: {
|
|
7637
7592
|
label
|
|
7638
7593
|
}
|
|
@@ -7647,7 +7602,7 @@ const getRadioInputField = (scope, label, options) => {
|
|
|
7647
7602
|
widget: "RadioInputField"
|
|
7648
7603
|
},
|
|
7649
7604
|
config: {
|
|
7650
|
-
layout: { xs: 12, sm: 6, md: 4, lg:
|
|
7605
|
+
layout: { xs: 12, sm: 6, md: 4, lg: 3 },
|
|
7651
7606
|
main: {
|
|
7652
7607
|
label,
|
|
7653
7608
|
options
|
|
@@ -7662,17 +7617,7 @@ const buildWrapper = (label, elements) => {
|
|
|
7662
7617
|
main: {
|
|
7663
7618
|
label: label || "Details",
|
|
7664
7619
|
isAccordion: true
|
|
7665
|
-
}
|
|
7666
|
-
wrapperStyle: {
|
|
7667
|
-
marginTop: "-6px",
|
|
7668
|
-
marginBottom: "-8px",
|
|
7669
|
-
marginLeft: "-34px",
|
|
7670
|
-
width: "108%"
|
|
7671
|
-
},
|
|
7672
|
-
componentsBoxStyle: {
|
|
7673
|
-
marginLeft: "12px"
|
|
7674
|
-
},
|
|
7675
|
-
defaultStyle: true
|
|
7620
|
+
}
|
|
7676
7621
|
},
|
|
7677
7622
|
elements: elements || []
|
|
7678
7623
|
};
|
|
@@ -7686,18 +7631,8 @@ const getTextArea = (scope, heading, hideButton, layout) => {
|
|
|
7686
7631
|
},
|
|
7687
7632
|
config: {
|
|
7688
7633
|
layout: layout || 12,
|
|
7689
|
-
style: {
|
|
7690
|
-
containerStyle: {
|
|
7691
|
-
borderRadius: "20px"
|
|
7692
|
-
},
|
|
7693
|
-
headerContainerStyle: {},
|
|
7694
|
-
textAreaStyle: {
|
|
7695
|
-
borderRadius: "20px",
|
|
7696
|
-
padding: "20px"
|
|
7697
|
-
}
|
|
7698
|
-
},
|
|
7699
7634
|
main: {
|
|
7700
|
-
heading,
|
|
7635
|
+
label: heading,
|
|
7701
7636
|
minRows: 8,
|
|
7702
7637
|
hideButton,
|
|
7703
7638
|
enableCodeEditor: true
|
|
@@ -7713,7 +7648,7 @@ const getSelectField = (scope, label, options) => {
|
|
|
7713
7648
|
widget: "SelectInputField"
|
|
7714
7649
|
},
|
|
7715
7650
|
config: {
|
|
7716
|
-
layout: { xs: 6, sm: 6, md: 4, lg:
|
|
7651
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 3 },
|
|
7717
7652
|
main: {
|
|
7718
7653
|
label,
|
|
7719
7654
|
type: "text"
|
|
@@ -7729,7 +7664,7 @@ const getMultiSelectField = (scope, label) => {
|
|
|
7729
7664
|
widget: "MultipleSelect"
|
|
7730
7665
|
},
|
|
7731
7666
|
config: {
|
|
7732
|
-
layout: { xs: 6, sm: 6, md: 4, lg:
|
|
7667
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 3 },
|
|
7733
7668
|
main: {
|
|
7734
7669
|
multiple: true,
|
|
7735
7670
|
label,
|
|
@@ -7738,12 +7673,18 @@ const getMultiSelectField = (scope, label) => {
|
|
|
7738
7673
|
}
|
|
7739
7674
|
};
|
|
7740
7675
|
};
|
|
7741
|
-
const
|
|
7676
|
+
const BaseSection = {
|
|
7742
7677
|
type: "WrapperLayout",
|
|
7678
|
+
config: {
|
|
7679
|
+
main: {
|
|
7680
|
+
label: " ",
|
|
7681
|
+
gap: "8px"
|
|
7682
|
+
}
|
|
7683
|
+
},
|
|
7743
7684
|
elements: []
|
|
7744
7685
|
};
|
|
7745
7686
|
const buildPropertiesSection = function(type) {
|
|
7746
|
-
let uiSchema = _.cloneDeep(
|
|
7687
|
+
let uiSchema = _.cloneDeep(BaseSection);
|
|
7747
7688
|
switch (type) {
|
|
7748
7689
|
case "TreeMap":
|
|
7749
7690
|
uiSchema.elements = [
|
|
@@ -7798,7 +7739,7 @@ const buildPropertiesSection = function(type) {
|
|
|
7798
7739
|
case "Text":
|
|
7799
7740
|
uiSchema.elements = [
|
|
7800
7741
|
getInputField("placeholder", "Placeholder"),
|
|
7801
|
-
|
|
7742
|
+
getRadioInputField("multiline", "Multiline", ["YES", "NO"]),
|
|
7802
7743
|
emptyBox$1("TextEmpty1", { xs: 0, sm: 0, md: 4, lg: 4 }),
|
|
7803
7744
|
getArrayControl("InputFormatingAndMasking", "formatElement", "Format Element")
|
|
7804
7745
|
];
|
|
@@ -7807,7 +7748,8 @@ const buildPropertiesSection = function(type) {
|
|
|
7807
7748
|
uiSchema.elements = [
|
|
7808
7749
|
getInputField("placeholder", "Placeholder"),
|
|
7809
7750
|
getRadioInputField("enableCodeEditor", "Enable Code Editor", ["YES", "NO"]),
|
|
7810
|
-
getInputField("codeEditorLanguage", "Enter Code Language")
|
|
7751
|
+
getInputField("codeEditorLanguage", "Enter Code Language"),
|
|
7752
|
+
emptyBox$1("TextEmpty1", { xs: 0, sm: 0, md: 0, lg: 3 })
|
|
7811
7753
|
];
|
|
7812
7754
|
break;
|
|
7813
7755
|
case "SpeedoMeter":
|
|
@@ -7887,7 +7829,7 @@ const buildPropertiesSection = function(type) {
|
|
|
7887
7829
|
getInputField("xAxisValue", "X-AxisValue"),
|
|
7888
7830
|
getRadioInputField("bottomAxisAngle", "Bottom Axis Angled", ["YES", "No"]),
|
|
7889
7831
|
getInputField("leftMargin", "Left Margin"),
|
|
7890
|
-
emptyBox$1("GraphEmpty1", { xs: 6, sm: 0, md: 8, lg:
|
|
7832
|
+
emptyBox$1("GraphEmpty1", { xs: 6, sm: 0, md: 8, lg: 6 }),
|
|
7891
7833
|
getArrayControl("legendLabels", "label"),
|
|
7892
7834
|
getArrayControl("pieArcColors", "color")
|
|
7893
7835
|
];
|
|
@@ -7968,7 +7910,13 @@ const buildPropertiesSection = function(type) {
|
|
|
7968
7910
|
return uiSchema;
|
|
7969
7911
|
};
|
|
7970
7912
|
const StyleSection = {
|
|
7971
|
-
type: "
|
|
7913
|
+
type: "WrapperLayout",
|
|
7914
|
+
config: {
|
|
7915
|
+
main: {
|
|
7916
|
+
label: " ",
|
|
7917
|
+
gap: "8px"
|
|
7918
|
+
}
|
|
7919
|
+
},
|
|
7972
7920
|
elements: [
|
|
7973
7921
|
{
|
|
7974
7922
|
type: "Control",
|
|
@@ -7984,14 +7932,7 @@ const StyleSection = {
|
|
|
7984
7932
|
lg: 12
|
|
7985
7933
|
},
|
|
7986
7934
|
style: {
|
|
7987
|
-
|
|
7988
|
-
borderRadius: "20px"
|
|
7989
|
-
},
|
|
7990
|
-
headerContainerStyle: {},
|
|
7991
|
-
textAreaStyle: {
|
|
7992
|
-
borderRadius: "20px",
|
|
7993
|
-
padding: "20px"
|
|
7994
|
-
}
|
|
7935
|
+
"& .MuiFormLabel-root:not(.MuiInputLabel-shrink)": {}
|
|
7995
7936
|
},
|
|
7996
7937
|
main: {
|
|
7997
7938
|
heading: "JSON Style",
|
|
@@ -8025,15 +7966,20 @@ const TableSection = (theme) => {
|
|
|
8025
7966
|
},
|
|
8026
7967
|
config: {
|
|
8027
7968
|
main: {
|
|
8028
|
-
color: "info",
|
|
8029
7969
|
onClick: "widgetAddClickHandler",
|
|
8030
7970
|
size: "small",
|
|
8031
|
-
icon: "
|
|
8032
|
-
iconLabel: "Add
|
|
7971
|
+
icon: "TableAddIcon",
|
|
7972
|
+
iconLabel: "Add",
|
|
8033
7973
|
styleDefault: true
|
|
8034
7974
|
},
|
|
8035
7975
|
style: {
|
|
8036
|
-
mt: "6px"
|
|
7976
|
+
mt: "6px",
|
|
7977
|
+
color: "inherit",
|
|
7978
|
+
fill: "inherit",
|
|
7979
|
+
"&:hover": {
|
|
7980
|
+
color: "inherit",
|
|
7981
|
+
fill: "inherit"
|
|
7982
|
+
}
|
|
8037
7983
|
}
|
|
8038
7984
|
}
|
|
8039
7985
|
}
|
|
@@ -8049,12 +7995,18 @@ const TableSection = (theme) => {
|
|
|
8049
7995
|
main: {
|
|
8050
7996
|
onClick: "copyPasteElement",
|
|
8051
7997
|
size: "small",
|
|
8052
|
-
icon: "
|
|
7998
|
+
icon: "TablePaste",
|
|
8053
7999
|
iconLabel: "Paste",
|
|
8054
8000
|
styleDefault: true
|
|
8055
8001
|
},
|
|
8056
8002
|
style: {
|
|
8057
|
-
mt: "6px"
|
|
8003
|
+
mt: "6px",
|
|
8004
|
+
color: "inherit",
|
|
8005
|
+
fill: "inherit",
|
|
8006
|
+
"&:hover": {
|
|
8007
|
+
color: "inherit",
|
|
8008
|
+
fill: "inherit"
|
|
8009
|
+
}
|
|
8058
8010
|
}
|
|
8059
8011
|
}
|
|
8060
8012
|
}
|
|
@@ -8069,16 +8021,21 @@ const TableSection = (theme) => {
|
|
|
8069
8021
|
elements: [
|
|
8070
8022
|
{
|
|
8071
8023
|
accessorKey: "name",
|
|
8072
|
-
header: "Name"
|
|
8024
|
+
header: "Name",
|
|
8025
|
+
type: "string",
|
|
8026
|
+
size: 300
|
|
8073
8027
|
},
|
|
8074
8028
|
{
|
|
8075
8029
|
accessorKey: "type",
|
|
8076
|
-
header: "Type"
|
|
8030
|
+
header: "Type",
|
|
8031
|
+
type: "string",
|
|
8032
|
+
size: 200
|
|
8077
8033
|
},
|
|
8078
8034
|
{
|
|
8079
8035
|
header: "Edit Record",
|
|
8080
8036
|
field: "Reject_Records",
|
|
8081
|
-
|
|
8037
|
+
size: 150,
|
|
8038
|
+
type: "action",
|
|
8082
8039
|
widget: {
|
|
8083
8040
|
type: "Control",
|
|
8084
8041
|
scope: "#/properties/RejectButton",
|
|
@@ -8087,13 +8044,16 @@ const TableSection = (theme) => {
|
|
|
8087
8044
|
},
|
|
8088
8045
|
config: {
|
|
8089
8046
|
main: {
|
|
8090
|
-
icon: "
|
|
8091
|
-
|
|
8047
|
+
icon: "TableEditIcon",
|
|
8048
|
+
size: "small",
|
|
8092
8049
|
onClick: "editComponents",
|
|
8093
8050
|
tooltipMessage: "Reject This Record"
|
|
8094
8051
|
},
|
|
8095
8052
|
style: {
|
|
8096
|
-
|
|
8053
|
+
fill: theme.palette.primary.main,
|
|
8054
|
+
"& :hover": {
|
|
8055
|
+
fill: theme.palette.primary.dark
|
|
8056
|
+
}
|
|
8097
8057
|
}
|
|
8098
8058
|
}
|
|
8099
8059
|
}
|
|
@@ -8101,7 +8061,8 @@ const TableSection = (theme) => {
|
|
|
8101
8061
|
{
|
|
8102
8062
|
header: "Delete",
|
|
8103
8063
|
field: "Reject_Records",
|
|
8104
|
-
|
|
8064
|
+
size: 150,
|
|
8065
|
+
type: "action",
|
|
8105
8066
|
widget: {
|
|
8106
8067
|
type: "Control",
|
|
8107
8068
|
scope: "#/properties/RejectButton",
|
|
@@ -8110,10 +8071,15 @@ const TableSection = (theme) => {
|
|
|
8110
8071
|
},
|
|
8111
8072
|
config: {
|
|
8112
8073
|
main: {
|
|
8113
|
-
icon: "
|
|
8114
|
-
color: "error",
|
|
8074
|
+
icon: "Bin",
|
|
8115
8075
|
onClick: "deletePopUpComponent",
|
|
8116
8076
|
tooltipMessage: "Reject This Record"
|
|
8077
|
+
},
|
|
8078
|
+
style: {
|
|
8079
|
+
fill: theme.palette.primary.main,
|
|
8080
|
+
"& :hover": {
|
|
8081
|
+
fill: theme.palette.primary.dark
|
|
8082
|
+
}
|
|
8117
8083
|
}
|
|
8118
8084
|
}
|
|
8119
8085
|
}
|
|
@@ -8121,7 +8087,8 @@ const TableSection = (theme) => {
|
|
|
8121
8087
|
{
|
|
8122
8088
|
header: "Copy",
|
|
8123
8089
|
field: "Copy_Component",
|
|
8124
|
-
|
|
8090
|
+
size: 150,
|
|
8091
|
+
type: "action",
|
|
8125
8092
|
widget: {
|
|
8126
8093
|
type: "Control",
|
|
8127
8094
|
scope: "#/properties/Copy_Component",
|
|
@@ -8145,109 +8112,148 @@ const TableSection = (theme) => {
|
|
|
8145
8112
|
return uiSchema;
|
|
8146
8113
|
};
|
|
8147
8114
|
const ValueTab = {
|
|
8148
|
-
type: "
|
|
8115
|
+
type: "WrapperLayout",
|
|
8116
|
+
config: {
|
|
8117
|
+
main: {
|
|
8118
|
+
label: " ",
|
|
8119
|
+
gap: "8px"
|
|
8120
|
+
}
|
|
8121
|
+
},
|
|
8149
8122
|
elements: [
|
|
8150
8123
|
{
|
|
8151
8124
|
type: "Control",
|
|
8152
8125
|
scope: "#/properties/value",
|
|
8153
|
-
layout: 12,
|
|
8154
8126
|
options: {
|
|
8155
|
-
|
|
8156
|
-
|
|
8157
|
-
|
|
8158
|
-
|
|
8159
|
-
|
|
8160
|
-
|
|
8161
|
-
|
|
8162
|
-
|
|
8163
|
-
|
|
8164
|
-
|
|
8165
|
-
|
|
8166
|
-
|
|
8167
|
-
|
|
8168
|
-
|
|
8169
|
-
|
|
8170
|
-
|
|
8171
|
-
|
|
8172
|
-
|
|
8173
|
-
|
|
8174
|
-
|
|
8175
|
-
|
|
8176
|
-
|
|
8177
|
-
|
|
8178
|
-
|
|
8179
|
-
|
|
8180
|
-
|
|
8181
|
-
|
|
8182
|
-
|
|
8183
|
-
|
|
8184
|
-
|
|
8185
|
-
type: "Control",
|
|
8186
|
-
scope: "#/properties/emptyBox",
|
|
8187
|
-
options: {
|
|
8188
|
-
widget: "EmptyBox"
|
|
8189
|
-
},
|
|
8190
|
-
config: {
|
|
8191
|
-
layout: { xs: 0, sm: 0, md: 4, lg: 4 }
|
|
8192
|
-
}
|
|
8127
|
+
widget: "Array"
|
|
8128
|
+
},
|
|
8129
|
+
config: {
|
|
8130
|
+
layout: 12,
|
|
8131
|
+
main: {
|
|
8132
|
+
label: "Value",
|
|
8133
|
+
childElementLabel: "Value"
|
|
8134
|
+
},
|
|
8135
|
+
style: {
|
|
8136
|
+
marginLeft: "-24px",
|
|
8137
|
+
marginBottom: "24px !important",
|
|
8138
|
+
labelStyle: {
|
|
8139
|
+
marginLeft: "24px"
|
|
8140
|
+
},
|
|
8141
|
+
detailsStyle: {
|
|
8142
|
+
marginLeft: "24px"
|
|
8143
|
+
}
|
|
8144
|
+
}
|
|
8145
|
+
},
|
|
8146
|
+
elements: [
|
|
8147
|
+
{
|
|
8148
|
+
type: "Control",
|
|
8149
|
+
scope: "#/properties/label",
|
|
8150
|
+
options: {
|
|
8151
|
+
widget: "InputField"
|
|
8152
|
+
},
|
|
8153
|
+
config: {
|
|
8154
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
8155
|
+
main: {
|
|
8156
|
+
label: "Label"
|
|
8193
8157
|
}
|
|
8194
|
-
|
|
8158
|
+
}
|
|
8159
|
+
},
|
|
8160
|
+
{
|
|
8161
|
+
type: "Control",
|
|
8162
|
+
scope: "#/properties/value",
|
|
8163
|
+
options: {
|
|
8164
|
+
widget: "InputField"
|
|
8165
|
+
},
|
|
8166
|
+
config: {
|
|
8167
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
8168
|
+
main: {
|
|
8169
|
+
label: "Value"
|
|
8170
|
+
}
|
|
8171
|
+
}
|
|
8172
|
+
},
|
|
8173
|
+
{
|
|
8174
|
+
type: "Control",
|
|
8175
|
+
scope: "#/properties/emptyBox",
|
|
8176
|
+
options: {
|
|
8177
|
+
widget: "EmptyBox"
|
|
8178
|
+
},
|
|
8179
|
+
config: {
|
|
8180
|
+
layout: { xs: 0, sm: 0, md: 4, lg: 4 }
|
|
8181
|
+
}
|
|
8195
8182
|
}
|
|
8196
|
-
|
|
8183
|
+
]
|
|
8197
8184
|
}
|
|
8198
8185
|
]
|
|
8199
8186
|
};
|
|
8200
8187
|
const ValidationSection = {
|
|
8201
|
-
type: "
|
|
8188
|
+
type: "WrapperLayout",
|
|
8189
|
+
config: {
|
|
8190
|
+
main: {
|
|
8191
|
+
label: " ",
|
|
8192
|
+
gap: "8px"
|
|
8193
|
+
}
|
|
8194
|
+
},
|
|
8202
8195
|
elements: [
|
|
8203
8196
|
{
|
|
8204
8197
|
type: "Control",
|
|
8205
8198
|
scope: "#/properties/validation",
|
|
8206
|
-
layout: 11.5,
|
|
8207
8199
|
options: {
|
|
8208
|
-
|
|
8209
|
-
|
|
8210
|
-
|
|
8211
|
-
|
|
8212
|
-
|
|
8213
|
-
|
|
8214
|
-
|
|
8215
|
-
|
|
8216
|
-
|
|
8217
|
-
|
|
8218
|
-
|
|
8219
|
-
|
|
8220
|
-
|
|
8221
|
-
|
|
8222
|
-
|
|
8223
|
-
|
|
8224
|
-
|
|
8225
|
-
|
|
8226
|
-
|
|
8227
|
-
|
|
8228
|
-
|
|
8229
|
-
|
|
8230
|
-
|
|
8231
|
-
|
|
8232
|
-
|
|
8233
|
-
|
|
8234
|
-
|
|
8235
|
-
|
|
8236
|
-
|
|
8237
|
-
|
|
8238
|
-
{
|
|
8239
|
-
type: "Control",
|
|
8240
|
-
scope: "#/properties/emptyBox",
|
|
8241
|
-
options: {
|
|
8242
|
-
widget: "EmptyBox"
|
|
8243
|
-
},
|
|
8244
|
-
config: {
|
|
8245
|
-
layout: { xs: 0, sm: 0, md: 4 }
|
|
8246
|
-
}
|
|
8200
|
+
widget: "Array"
|
|
8201
|
+
},
|
|
8202
|
+
config: {
|
|
8203
|
+
layout: 12,
|
|
8204
|
+
main: {
|
|
8205
|
+
label: "Validation",
|
|
8206
|
+
childElementLabel: "Validation"
|
|
8207
|
+
},
|
|
8208
|
+
style: {
|
|
8209
|
+
marginLeft: "-24px",
|
|
8210
|
+
marginBottom: "24px !important",
|
|
8211
|
+
labelStyle: {
|
|
8212
|
+
marginLeft: "24px"
|
|
8213
|
+
},
|
|
8214
|
+
detailsStyle: {
|
|
8215
|
+
marginLeft: "24px"
|
|
8216
|
+
}
|
|
8217
|
+
}
|
|
8218
|
+
},
|
|
8219
|
+
elements: [
|
|
8220
|
+
{
|
|
8221
|
+
type: "Control",
|
|
8222
|
+
scope: "#/properties/validationType",
|
|
8223
|
+
options: {
|
|
8224
|
+
widget: "SelectInputField"
|
|
8225
|
+
},
|
|
8226
|
+
config: {
|
|
8227
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
8228
|
+
main: {
|
|
8229
|
+
label: "Validation Type"
|
|
8247
8230
|
}
|
|
8248
|
-
|
|
8231
|
+
}
|
|
8232
|
+
},
|
|
8233
|
+
{
|
|
8234
|
+
type: "Control",
|
|
8235
|
+
scope: "#/properties/validationValue",
|
|
8236
|
+
options: {
|
|
8237
|
+
widget: "InputField"
|
|
8238
|
+
},
|
|
8239
|
+
config: {
|
|
8240
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
8241
|
+
main: {
|
|
8242
|
+
label: "Validation Value"
|
|
8243
|
+
}
|
|
8244
|
+
}
|
|
8245
|
+
},
|
|
8246
|
+
{
|
|
8247
|
+
type: "Control",
|
|
8248
|
+
scope: "#/properties/emptyBox",
|
|
8249
|
+
options: {
|
|
8250
|
+
widget: "EmptyBox"
|
|
8251
|
+
},
|
|
8252
|
+
config: {
|
|
8253
|
+
layout: { xs: 0, sm: 0, md: 4, lg: 4 }
|
|
8254
|
+
}
|
|
8249
8255
|
}
|
|
8250
|
-
|
|
8256
|
+
]
|
|
8251
8257
|
}
|
|
8252
8258
|
]
|
|
8253
8259
|
};
|
|
@@ -8403,53 +8409,123 @@ function okHandler(store2) {
|
|
|
8403
8409
|
}
|
|
8404
8410
|
}
|
|
8405
8411
|
const sectionLabels = {
|
|
8406
|
-
Select: ["Core", "Properties", "Value", "
|
|
8407
|
-
MultipleSelect: ["Core", "Properties", "Value", "
|
|
8408
|
-
Table: ["Core", "Components", "Properties", "
|
|
8409
|
-
LeaderBoard: ["Core", "Components", "Properties", "
|
|
8412
|
+
Select: ["Core", "Properties", "Value", "Events", "Style", "Validation"],
|
|
8413
|
+
MultipleSelect: ["Core", "Properties", "Value", "Events", "Style", "Validation"],
|
|
8414
|
+
Table: ["Core", "Components", "Properties", "Events", "Style", "Validation"],
|
|
8415
|
+
LeaderBoard: ["Core", "Components", "Properties", "Events", "Style", "Validation"],
|
|
8410
8416
|
WrapperSection: ["Core", "Components", "Properties", "Style", "Validation"],
|
|
8411
8417
|
TabSection: ["Core", "Components", "Properties", "Style", "Validation"],
|
|
8412
|
-
SpeedoMeter: ["Core", "Properties", "
|
|
8413
|
-
card: ["Core", "Properties", "
|
|
8414
|
-
UploadFile: ["Core", "
|
|
8415
|
-
Graph: ["Core", "Properties", "
|
|
8416
|
-
DownloadFile: ["Core", "
|
|
8417
|
-
Box: ["Core", "
|
|
8418
|
-
Properties: ["Core", "Properties", "
|
|
8419
|
-
ProgressBarCard: ["Core", "Properties", "
|
|
8420
|
-
RankCard: ["Core", "Properties", "
|
|
8421
|
-
Slider: ["Core", "Components", "
|
|
8422
|
-
Timer: ["Core", "
|
|
8423
|
-
Rank: ["Core", "
|
|
8424
|
-
Button: ["Core", "Properties", "
|
|
8418
|
+
SpeedoMeter: ["Core", "Properties", "Events", "Style", "Validation"],
|
|
8419
|
+
card: ["Core", "Properties", "Events", "Style", "Validation"],
|
|
8420
|
+
UploadFile: ["Core", "Events", "Style", "Validation"],
|
|
8421
|
+
Graph: ["Core", "Properties", "Events", "Style", "Validation"],
|
|
8422
|
+
DownloadFile: ["Core", "Events", "Style", "Validation"],
|
|
8423
|
+
Box: ["Core", "Events", "Style", "Validation"],
|
|
8424
|
+
Properties: ["Core", "Properties", "Events", "Style", "Validation"],
|
|
8425
|
+
ProgressBarCard: ["Core", "Properties", "Events", "Style", "Validation"],
|
|
8426
|
+
RankCard: ["Core", "Properties", "Events", "Style", "Validation"],
|
|
8427
|
+
Slider: ["Core", "Components", "Events", "Style", "Validation"],
|
|
8428
|
+
Timer: ["Core", "Events", "Style", "Validation"],
|
|
8429
|
+
Rank: ["Core", "Events", "Style", "Validation"],
|
|
8430
|
+
Button: ["Core", "Properties", "Events", "Style", "Validation"],
|
|
8425
8431
|
Array: ["Core", "Components", "Validation"],
|
|
8426
|
-
Radio: ["Core", "Properties", "
|
|
8427
|
-
Text: ["Core", "Properties", "
|
|
8428
|
-
TextArea: ["Core", "Properties", "
|
|
8432
|
+
Radio: ["Core", "Properties", "Events", "Style", "Validation"],
|
|
8433
|
+
Text: ["Core", "Properties", "Events", "Style", "Validation"],
|
|
8434
|
+
TextArea: ["Core", "Properties", "Events", "Style", "Validation"],
|
|
8429
8435
|
PopUp: ["Core", "Components", "Properties", "Style"],
|
|
8430
|
-
Stepper: ["Core", "Components", "Properties", "
|
|
8431
|
-
DataGrid: ["Core", "Components", "Properties", "
|
|
8432
|
-
InputSlider: ["Core", "Properties", "
|
|
8433
|
-
TreeMap: ["Core", "Components", "Properties", "
|
|
8436
|
+
Stepper: ["Core", "Components", "Properties", "Events", "Style"],
|
|
8437
|
+
DataGrid: ["Core", "Components", "Properties", "Events", "Style"],
|
|
8438
|
+
InputSlider: ["Core", "Properties", "Events", "Style", "Validation"],
|
|
8439
|
+
TreeMap: ["Core", "Components", "Properties", "Events", "Style"],
|
|
8434
8440
|
ColumnGroup: ["Core", "Components"],
|
|
8435
|
-
Thought: ["Core", "Properties", "
|
|
8441
|
+
Thought: ["Core", "Properties", "Events", "Style", "Validation"]
|
|
8436
8442
|
};
|
|
8437
8443
|
function refreshPage(type, store2) {
|
|
8438
|
-
var _a;
|
|
8444
|
+
var _a, _b;
|
|
8439
8445
|
const UiSchema = _.cloneDeep(componentBasicUiSchema(store2.theme.myTheme));
|
|
8446
|
+
const currentConfig = JSON.parse(sessionStorage.getItem("pageFormdata"));
|
|
8440
8447
|
if (type) {
|
|
8441
8448
|
const sectionUiSchema = {
|
|
8442
8449
|
Core: CoreSection,
|
|
8443
8450
|
Value: ValueTab,
|
|
8444
8451
|
Style: StyleSection,
|
|
8445
|
-
|
|
8452
|
+
Events: EventSection(store2.theme.myTheme),
|
|
8446
8453
|
Components: TableSection(store2.theme.myTheme),
|
|
8447
8454
|
Properties: buildPropertiesSection(type),
|
|
8448
8455
|
Validation: ValidationSection
|
|
8449
8456
|
};
|
|
8450
8457
|
const elements = (_a = sectionLabels[type]) == null ? void 0 : _a.map((e) => sectionUiSchema[e]);
|
|
8451
|
-
UiSchema.elements[
|
|
8452
|
-
UiSchema.elements[
|
|
8458
|
+
UiSchema.elements[0].config.main.tabLabels = sectionLabels[type] || ["Core", "Style", "Events", "Validation"];
|
|
8459
|
+
UiSchema.elements[0].elements = elements || [CoreSection, StyleSection, EventSection(store2.theme.myTheme), ValidationSection];
|
|
8460
|
+
}
|
|
8461
|
+
const path = (_b = store2.searchParams) == null ? void 0 : _b.get("path");
|
|
8462
|
+
const lastDotIndex = path.lastIndexOf(".");
|
|
8463
|
+
const parentPath = path.slice(0, lastDotIndex);
|
|
8464
|
+
const parentObj = _.get(currentConfig, parentPath);
|
|
8465
|
+
if ((parentObj == null ? void 0 : parentObj.type) === "Table") {
|
|
8466
|
+
UiSchema.elements[0].elements[0].elements[4] = {
|
|
8467
|
+
type: "Control",
|
|
8468
|
+
scope: "#/properties/columnFormat",
|
|
8469
|
+
options: {
|
|
8470
|
+
widget: "SelectInputField"
|
|
8471
|
+
},
|
|
8472
|
+
config: {
|
|
8473
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 3 },
|
|
8474
|
+
main: {
|
|
8475
|
+
label: "Column Format"
|
|
8476
|
+
}
|
|
8477
|
+
}
|
|
8478
|
+
};
|
|
8479
|
+
UiSchema.elements[0].elements[0].elements[6] = {
|
|
8480
|
+
type: "Control",
|
|
8481
|
+
scope: "#/properties/filteringOptions",
|
|
8482
|
+
options: {
|
|
8483
|
+
widget: "SelectInputField"
|
|
8484
|
+
},
|
|
8485
|
+
config: {
|
|
8486
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 3 },
|
|
8487
|
+
main: {
|
|
8488
|
+
label: "Filter Mode",
|
|
8489
|
+
multiple: true
|
|
8490
|
+
}
|
|
8491
|
+
}
|
|
8492
|
+
};
|
|
8493
|
+
UiSchema.elements[0].elements[0].elements[5] = {
|
|
8494
|
+
type: "Control",
|
|
8495
|
+
scope: "#/properties/enableFilter",
|
|
8496
|
+
options: {
|
|
8497
|
+
widget: "RadioInputField"
|
|
8498
|
+
},
|
|
8499
|
+
config: {
|
|
8500
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 3 },
|
|
8501
|
+
main: {
|
|
8502
|
+
label: "Enable Filter",
|
|
8503
|
+
options: ["Yes", "No"]
|
|
8504
|
+
}
|
|
8505
|
+
}
|
|
8506
|
+
}, UiSchema.elements[0].elements[0].elements[7] = {
|
|
8507
|
+
type: "Control",
|
|
8508
|
+
scope: "#/properties/enableSorting",
|
|
8509
|
+
options: {
|
|
8510
|
+
widget: "RadioInputField"
|
|
8511
|
+
},
|
|
8512
|
+
config: {
|
|
8513
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 3 },
|
|
8514
|
+
main: {
|
|
8515
|
+
label: "Enable Sorting",
|
|
8516
|
+
options: ["Yes", "No"]
|
|
8517
|
+
}
|
|
8518
|
+
}
|
|
8519
|
+
}, UiSchema.elements[0].elements[0].elements[8] = {
|
|
8520
|
+
type: "Control",
|
|
8521
|
+
scope: "#/properties/proc",
|
|
8522
|
+
config: {
|
|
8523
|
+
layout: { xs: 6, sm: 6, md: 8, lg: 3 }
|
|
8524
|
+
},
|
|
8525
|
+
options: {
|
|
8526
|
+
widget: "EmptyBox"
|
|
8527
|
+
}
|
|
8528
|
+
};
|
|
8453
8529
|
}
|
|
8454
8530
|
if (sessionStorage.getItem("copiedConfig")) {
|
|
8455
8531
|
this.ElementPathSetter(UiSchema);
|
|
@@ -8472,10 +8548,34 @@ var Component = (store2, dynamicData2, submitHandler, service2) => {
|
|
|
8472
8548
|
return getFormdataFromSessionStorage(path);
|
|
8473
8549
|
},
|
|
8474
8550
|
getSchema: function() {
|
|
8551
|
+
var _a, _b, _c;
|
|
8475
8552
|
const schema2 = _.cloneDeep(ComponentSchema);
|
|
8476
8553
|
if (sessionStorage.getItem("copiedConfig")) {
|
|
8477
8554
|
schema2.properties.RemoveItemButton.disabled = false;
|
|
8478
8555
|
}
|
|
8556
|
+
const config2 = JSON.parse(sessionStorage.getItem("pageFormdata"));
|
|
8557
|
+
const path = (_a = store2.searchParams) == null ? void 0 : _a.get("path");
|
|
8558
|
+
const id = (_b = store2.searchParams) == null ? void 0 : _b.get("id");
|
|
8559
|
+
let pathArray = [{ label: (_c = config2.name) != null ? _c : "NewPage", path: `/PageMaster${id ? `?id=${id}` : ""}` }];
|
|
8560
|
+
if (path) {
|
|
8561
|
+
const pathArrayAll = path.split(".");
|
|
8562
|
+
const arr = [];
|
|
8563
|
+
pathArrayAll.map((e, i) => {
|
|
8564
|
+
if (i === 0) {
|
|
8565
|
+
arr.push(e);
|
|
8566
|
+
return;
|
|
8567
|
+
}
|
|
8568
|
+
arr.push(`${arr[i - 1]}.${e}`);
|
|
8569
|
+
});
|
|
8570
|
+
arr.map((e) => {
|
|
8571
|
+
const data = _.get(config2, e);
|
|
8572
|
+
pathArray.push({
|
|
8573
|
+
label: (data == null ? void 0 : data.name) || (data == null ? void 0 : data.eventType) || "NewComponent",
|
|
8574
|
+
path: `/Component?path=${e}${id ? `&id=${id}` : ""}`
|
|
8575
|
+
});
|
|
8576
|
+
});
|
|
8577
|
+
}
|
|
8578
|
+
schema2.properties.pageName.path = pathArray;
|
|
8479
8579
|
return schema2;
|
|
8480
8580
|
},
|
|
8481
8581
|
okHandler: () => okHandler(store2),
|
|
@@ -8588,6 +8688,10 @@ var Component = (store2, dynamicData2, submitHandler, service2) => {
|
|
|
8588
8688
|
const copiedFormData = getFormdataFromSessionStorage(copiedElementPath);
|
|
8589
8689
|
this.ElementPathSetter(uiSchema, copiedFormData);
|
|
8590
8690
|
sessionStorage.setItem("copiedConfig", JSON.stringify(copiedFormData));
|
|
8691
|
+
store2.setNotify({
|
|
8692
|
+
SuccessMessage: `${elementType} Copied successfully`,
|
|
8693
|
+
Success: true
|
|
8694
|
+
});
|
|
8591
8695
|
store2.setSchema(schema2);
|
|
8592
8696
|
store2.setUiSchema(uiSchema);
|
|
8593
8697
|
},
|
|
@@ -8613,15 +8717,15 @@ var Component = (store2, dynamicData2, submitHandler, service2) => {
|
|
|
8613
8717
|
const pastedElementPath = this.elementPathHandler(pastedElementParentPath, insertElementIndex, elementType);
|
|
8614
8718
|
const copiedConfig = JSON.parse(sessionStorage.getItem("copiedConfig"));
|
|
8615
8719
|
const notificationMessages = {
|
|
8616
|
-
|
|
8617
|
-
Component: "The component cannot be integrated into the
|
|
8720
|
+
Events: " The Events cannot be integrated into the component section.",
|
|
8721
|
+
Component: "The component cannot be integrated into the Events section."
|
|
8618
8722
|
};
|
|
8619
8723
|
if (copiedConfig.Handler && elementType === "Component") {
|
|
8620
8724
|
store2.setNotify({
|
|
8621
|
-
FailMessage: notificationMessages.
|
|
8725
|
+
FailMessage: notificationMessages.Events,
|
|
8622
8726
|
Fail: true
|
|
8623
8727
|
});
|
|
8624
|
-
} else if (copiedConfig.name && elementType === "
|
|
8728
|
+
} else if (copiedConfig.name && elementType === "Events") {
|
|
8625
8729
|
store2.setNotify({
|
|
8626
8730
|
FailMessage: notificationMessages.Component,
|
|
8627
8731
|
Fail: true
|
|
@@ -8647,8 +8751,18 @@ var Component = (store2, dynamicData2, submitHandler, service2) => {
|
|
|
8647
8751
|
return parentPath ? `${parentPath}.events[${rowId}]` : `events[${rowId}]`;
|
|
8648
8752
|
},
|
|
8649
8753
|
ElementPathSetter: function(uiSchema, copiedFormData) {
|
|
8754
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z;
|
|
8650
8755
|
const formData = copiedFormData || JSON.parse(sessionStorage.getItem("copiedConfig"));
|
|
8651
|
-
uiSchema.elements[
|
|
8756
|
+
if ((_f = (_e = (_d = (_c = (_b = (_a = uiSchema == null ? void 0 : uiSchema.elements) == null ? void 0 : _a[1]) == null ? void 0 : _b.elements) == null ? void 0 : _c[0]) == null ? void 0 : _d.config) == null ? void 0 : _e.main) == null ? void 0 : _f.headerIcons) {
|
|
8757
|
+
uiSchema.elements[1].elements[0].config.main.headerIcons.elements[1].widget.config.main.tooltipMessage = `Copied Component: ${formData.name}`;
|
|
8758
|
+
} else if ((_n = (_m = (_l = (_k = (_j = (_i = (_h = (_g = uiSchema == null ? void 0 : uiSchema.elements) == null ? void 0 : _g[0]) == null ? void 0 : _h.elements) == null ? void 0 : _i[1]) == null ? void 0 : _j.elements) == null ? void 0 : _k[0]) == null ? void 0 : _l.config) == null ? void 0 : _m.main) == null ? void 0 : _n.headerIcons) {
|
|
8759
|
+
uiSchema.elements[0].elements[1].elements[0].config.main.headerIcons.elements[1].widget.config.main.tooltipMessage = `Copied Component: ${formData.name}`;
|
|
8760
|
+
}
|
|
8761
|
+
if ((_t = (_s = (_r = (_q = (_p = (_o = uiSchema == null ? void 0 : uiSchema.elements) == null ? void 0 : _o[1]) == null ? void 0 : _p.elements) == null ? void 0 : _q[1]) == null ? void 0 : _r.config) == null ? void 0 : _s.main) == null ? void 0 : _t.headerIcons) {
|
|
8762
|
+
uiSchema.elements[1].elements[1].config.main.headerIcons.elements[1].widget.config.main.tooltipMessage = `Copied Event: ${formData.eventType}`;
|
|
8763
|
+
} else if ((_z = (_y = (_x = (_w = (_v = (_u = uiSchema == null ? void 0 : uiSchema.elements) == null ? void 0 : _u[0]) == null ? void 0 : _v.elements) == null ? void 0 : _w[1]) == null ? void 0 : _x.config) == null ? void 0 : _y.main) == null ? void 0 : _z.headerIcons) {
|
|
8764
|
+
uiSchema.elements[0].elements[1].config.main.headerIcons.elements[1].widget.config.main.tooltipMessage = `Copied Component: ${formData.eventType}`;
|
|
8765
|
+
}
|
|
8652
8766
|
}
|
|
8653
8767
|
};
|
|
8654
8768
|
};
|
|
@@ -8799,18 +8913,18 @@ const EventSchema = {
|
|
|
8799
8913
|
eventType: {
|
|
8800
8914
|
type: "string",
|
|
8801
8915
|
oneOf: [
|
|
8802
|
-
{ title: "Click
|
|
8803
|
-
{ title: "Load
|
|
8804
|
-
{ title: "Change
|
|
8805
|
-
{ title: "Mount
|
|
8916
|
+
{ title: "Click", const: "onClick" },
|
|
8917
|
+
{ title: "Load", const: "onLoad" },
|
|
8918
|
+
{ title: "Change", const: "onChange" },
|
|
8919
|
+
{ title: "Mount", const: "onMount" },
|
|
8806
8920
|
{ title: "Success", const: "Success" },
|
|
8807
|
-
{ title: "
|
|
8808
|
-
{ title: "Cell
|
|
8809
|
-
{ title: "
|
|
8810
|
-
{ title: "Back
|
|
8811
|
-
{ title: "Next
|
|
8812
|
-
{ title: "
|
|
8813
|
-
{ title: "
|
|
8921
|
+
{ title: "Start", const: "onStart" },
|
|
8922
|
+
{ title: "Cell Render", const: "onCellRenderer" },
|
|
8923
|
+
{ title: "Upload", const: "onUpload" },
|
|
8924
|
+
{ title: "Back", const: "onBack" },
|
|
8925
|
+
{ title: "Next", const: "onNext" },
|
|
8926
|
+
{ title: "Row Movement", const: "onRowMovement" },
|
|
8927
|
+
{ title: "Download", const: "onDownload" },
|
|
8814
8928
|
{ title: "Fail", const: "Fail" }
|
|
8815
8929
|
]
|
|
8816
8930
|
},
|
|
@@ -8818,7 +8932,7 @@ const EventSchema = {
|
|
|
8818
8932
|
type: "string",
|
|
8819
8933
|
oneOf: [
|
|
8820
8934
|
{ title: "Custom", const: "custom" },
|
|
8821
|
-
{ title: "
|
|
8935
|
+
{ title: "API", const: "api" },
|
|
8822
8936
|
{ title: "Inbuilt Function", const: "inBuiltFunction" },
|
|
8823
8937
|
{ title: "Refresh", const: "refresh" }
|
|
8824
8938
|
]
|
|
@@ -8847,47 +8961,49 @@ const EventSchema = {
|
|
|
8847
8961
|
},
|
|
8848
8962
|
RemoveItemButton: {
|
|
8849
8963
|
disabled: true
|
|
8964
|
+
},
|
|
8965
|
+
pageName: {
|
|
8966
|
+
path: [{ label: "defaultLabel", path: "defaultPath" }]
|
|
8850
8967
|
}
|
|
8851
8968
|
},
|
|
8852
8969
|
required: ["eventType", "Handler"]
|
|
8853
8970
|
};
|
|
8854
8971
|
const EventUiSchema = (theme) => {
|
|
8855
|
-
var _a
|
|
8972
|
+
var _a;
|
|
8856
8973
|
const uiSchema = {
|
|
8857
8974
|
type: "HorizontalLayout",
|
|
8858
|
-
heading: "
|
|
8975
|
+
heading: "Page-Events",
|
|
8859
8976
|
elements: [
|
|
8860
|
-
{
|
|
8861
|
-
type: "Control",
|
|
8862
|
-
scope: "#/properties/pageName",
|
|
8863
|
-
options: {
|
|
8864
|
-
widget: "Box"
|
|
8865
|
-
},
|
|
8866
|
-
config: {
|
|
8867
|
-
layout: 12,
|
|
8868
|
-
main: {
|
|
8869
|
-
heading: " "
|
|
8870
|
-
},
|
|
8871
|
-
style: {
|
|
8872
|
-
marginLeft: theme.spacing(3),
|
|
8873
|
-
width: "auto",
|
|
8874
|
-
fontSize: "12px",
|
|
8875
|
-
color: "gray"
|
|
8876
|
-
}
|
|
8877
|
-
}
|
|
8878
|
-
},
|
|
8879
8977
|
{
|
|
8880
8978
|
type: "TabLayout",
|
|
8881
8979
|
config: {
|
|
8882
8980
|
main: {
|
|
8883
|
-
tabLabels: ["Core", "Response
|
|
8884
|
-
defaultStyle: true,
|
|
8981
|
+
tabLabels: ["Core", "Response Events"],
|
|
8885
8982
|
id: "event"
|
|
8983
|
+
},
|
|
8984
|
+
style: {
|
|
8985
|
+
TabPanelStyle: {
|
|
8986
|
+
padding: 0
|
|
8987
|
+
}
|
|
8988
|
+
},
|
|
8989
|
+
TabsStyle: {
|
|
8990
|
+
marginBottom: "3px",
|
|
8991
|
+
paddingBottom: "4px",
|
|
8992
|
+
boxShadow: "0px 3px 4px #afafaf80",
|
|
8993
|
+
"& .MuiTabs-indicator": {
|
|
8994
|
+
bottom: "6px"
|
|
8995
|
+
}
|
|
8886
8996
|
}
|
|
8887
8997
|
},
|
|
8888
8998
|
elements: [
|
|
8889
8999
|
{
|
|
8890
|
-
type: "
|
|
9000
|
+
type: "WrapperLayout",
|
|
9001
|
+
config: {
|
|
9002
|
+
main: {
|
|
9003
|
+
label: " ",
|
|
9004
|
+
gap: "8px"
|
|
9005
|
+
}
|
|
9006
|
+
},
|
|
8891
9007
|
elements: [
|
|
8892
9008
|
{
|
|
8893
9009
|
type: "Control",
|
|
@@ -8896,9 +9012,9 @@ const EventUiSchema = (theme) => {
|
|
|
8896
9012
|
widget: "SelectInputField"
|
|
8897
9013
|
},
|
|
8898
9014
|
config: {
|
|
8899
|
-
layout: { xs: 6, sm: 6, md: 4, lg:
|
|
9015
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 3 },
|
|
8900
9016
|
main: {
|
|
8901
|
-
label: "Event Type",
|
|
9017
|
+
label: "Event's Type",
|
|
8902
9018
|
type: "text"
|
|
8903
9019
|
}
|
|
8904
9020
|
}
|
|
@@ -8911,7 +9027,7 @@ const EventUiSchema = (theme) => {
|
|
|
8911
9027
|
widget: "EmptyBox"
|
|
8912
9028
|
},
|
|
8913
9029
|
config: {
|
|
8914
|
-
layout: { xs: 0, sm:
|
|
9030
|
+
layout: { xs: 0, sm: 0, md: 4, lg: 6 }
|
|
8915
9031
|
}
|
|
8916
9032
|
}
|
|
8917
9033
|
]
|
|
@@ -8937,12 +9053,18 @@ const EventUiSchema = (theme) => {
|
|
|
8937
9053
|
main: {
|
|
8938
9054
|
onClick: "addEvent",
|
|
8939
9055
|
size: "small",
|
|
8940
|
-
icon: "
|
|
8941
|
-
iconLabel: "Add
|
|
9056
|
+
icon: "TableAddIcon",
|
|
9057
|
+
iconLabel: "Add",
|
|
8942
9058
|
styleDefault: true
|
|
8943
9059
|
},
|
|
8944
9060
|
style: {
|
|
8945
|
-
mt: "6px"
|
|
9061
|
+
mt: "6px",
|
|
9062
|
+
color: "inherit",
|
|
9063
|
+
fill: "inherit",
|
|
9064
|
+
"&:hover": {
|
|
9065
|
+
color: "inherit",
|
|
9066
|
+
fill: "inherit"
|
|
9067
|
+
}
|
|
8946
9068
|
}
|
|
8947
9069
|
}
|
|
8948
9070
|
}
|
|
@@ -8958,12 +9080,18 @@ const EventUiSchema = (theme) => {
|
|
|
8958
9080
|
main: {
|
|
8959
9081
|
onClick: "copyPasteElement",
|
|
8960
9082
|
size: "small",
|
|
8961
|
-
icon: "
|
|
9083
|
+
icon: "TablePaste",
|
|
8962
9084
|
iconLabel: "Paste",
|
|
8963
9085
|
styleDefault: true
|
|
8964
9086
|
},
|
|
8965
9087
|
style: {
|
|
8966
|
-
mt: "6px"
|
|
9088
|
+
mt: "6px",
|
|
9089
|
+
color: "inherit",
|
|
9090
|
+
fill: "inherit",
|
|
9091
|
+
"&:hover": {
|
|
9092
|
+
color: "inherit",
|
|
9093
|
+
fill: "inherit"
|
|
9094
|
+
}
|
|
8967
9095
|
}
|
|
8968
9096
|
}
|
|
8969
9097
|
}
|
|
@@ -8978,15 +9106,21 @@ const EventUiSchema = (theme) => {
|
|
|
8978
9106
|
elements: [
|
|
8979
9107
|
{
|
|
8980
9108
|
accessorKey: "eventType",
|
|
8981
|
-
header: "Event Type"
|
|
9109
|
+
header: "Event's Type",
|
|
9110
|
+
size: 300,
|
|
9111
|
+
type: "string"
|
|
8982
9112
|
},
|
|
8983
9113
|
{
|
|
8984
9114
|
accessorKey: "Handler",
|
|
8985
|
-
header: "Handler"
|
|
9115
|
+
header: "Handler",
|
|
9116
|
+
size: 200,
|
|
9117
|
+
type: "string"
|
|
8986
9118
|
},
|
|
8987
9119
|
{
|
|
8988
9120
|
accessorKey: "Edit_Approve_Records",
|
|
8989
|
-
header: "Edit
|
|
9121
|
+
header: "Edit",
|
|
9122
|
+
type: "action",
|
|
9123
|
+
size: 150,
|
|
8990
9124
|
widget: {
|
|
8991
9125
|
type: "Control",
|
|
8992
9126
|
scope: "#/properties/Edit_Records",
|
|
@@ -8995,14 +9129,16 @@ const EventUiSchema = (theme) => {
|
|
|
8995
9129
|
},
|
|
8996
9130
|
config: {
|
|
8997
9131
|
main: {
|
|
8998
|
-
color: "info",
|
|
8999
9132
|
size: "small",
|
|
9000
|
-
icon: "
|
|
9133
|
+
icon: "TableEditIcon",
|
|
9001
9134
|
tooltipMessage: "Edit This Record",
|
|
9002
9135
|
onClick: "editEvent"
|
|
9003
9136
|
},
|
|
9004
9137
|
style: {
|
|
9005
|
-
|
|
9138
|
+
fill: theme.palette.primary.main,
|
|
9139
|
+
"& :hover": {
|
|
9140
|
+
fill: theme.palette.primary.dark
|
|
9141
|
+
}
|
|
9006
9142
|
}
|
|
9007
9143
|
}
|
|
9008
9144
|
}
|
|
@@ -9010,6 +9146,8 @@ const EventUiSchema = (theme) => {
|
|
|
9010
9146
|
{
|
|
9011
9147
|
accessorKey: "Reject_Records",
|
|
9012
9148
|
header: "Delete",
|
|
9149
|
+
type: "action",
|
|
9150
|
+
size: 150,
|
|
9013
9151
|
widget: {
|
|
9014
9152
|
type: "Control",
|
|
9015
9153
|
scope: "#/properties/RejectButton",
|
|
@@ -9018,10 +9156,15 @@ const EventUiSchema = (theme) => {
|
|
|
9018
9156
|
},
|
|
9019
9157
|
config: {
|
|
9020
9158
|
main: {
|
|
9021
|
-
icon: "
|
|
9022
|
-
color: "error",
|
|
9159
|
+
icon: "Bin",
|
|
9023
9160
|
tooltipMessage: "Reject This Record",
|
|
9024
9161
|
onClick: "deletePopUpEvent"
|
|
9162
|
+
},
|
|
9163
|
+
style: {
|
|
9164
|
+
fill: theme.palette.primary.main,
|
|
9165
|
+
"& :hover": {
|
|
9166
|
+
fill: theme.palette.primary.dark
|
|
9167
|
+
}
|
|
9025
9168
|
}
|
|
9026
9169
|
}
|
|
9027
9170
|
}
|
|
@@ -9029,7 +9172,8 @@ const EventUiSchema = (theme) => {
|
|
|
9029
9172
|
{
|
|
9030
9173
|
header: "Copy",
|
|
9031
9174
|
field: "Copy_Event",
|
|
9032
|
-
|
|
9175
|
+
type: "action",
|
|
9176
|
+
size: 150,
|
|
9033
9177
|
widget: {
|
|
9034
9178
|
type: "Control",
|
|
9035
9179
|
scope: "#/properties/Copy_Event",
|
|
@@ -9050,103 +9194,59 @@ const EventUiSchema = (theme) => {
|
|
|
9050
9194
|
]
|
|
9051
9195
|
},
|
|
9052
9196
|
{
|
|
9053
|
-
type: "
|
|
9197
|
+
type: "WrapperLayout",
|
|
9054
9198
|
config: {
|
|
9055
|
-
|
|
9199
|
+
main: {
|
|
9200
|
+
gap: "8px"
|
|
9201
|
+
}
|
|
9056
9202
|
},
|
|
9057
9203
|
elements: [
|
|
9058
9204
|
{
|
|
9059
9205
|
type: "Control",
|
|
9060
|
-
scope: "#/properties/
|
|
9206
|
+
scope: "#/properties/btn",
|
|
9061
9207
|
options: {
|
|
9062
|
-
widget: "
|
|
9208
|
+
widget: "Button"
|
|
9063
9209
|
},
|
|
9064
9210
|
config: {
|
|
9065
|
-
layout: { xs:
|
|
9211
|
+
layout: { xs: 4, sm: 2.5, md: 2, lg: 1.5 },
|
|
9066
9212
|
main: {
|
|
9067
|
-
|
|
9068
|
-
|
|
9069
|
-
|
|
9070
|
-
|
|
9071
|
-
|
|
9072
|
-
style: {
|
|
9073
|
-
marginLeft: "-10px"
|
|
9213
|
+
name: "Ok",
|
|
9214
|
+
variant: "contained",
|
|
9215
|
+
type: "text",
|
|
9216
|
+
onClick: "okHandler",
|
|
9217
|
+
size: "medium"
|
|
9074
9218
|
}
|
|
9075
9219
|
}
|
|
9076
9220
|
},
|
|
9077
9221
|
{
|
|
9078
9222
|
type: "Control",
|
|
9079
|
-
scope: "#/properties/
|
|
9223
|
+
scope: "#/properties/btnSubmit",
|
|
9080
9224
|
options: {
|
|
9081
|
-
widget: "
|
|
9225
|
+
widget: "Button"
|
|
9082
9226
|
},
|
|
9083
9227
|
config: {
|
|
9084
|
-
layout: { xs:
|
|
9228
|
+
layout: { xs: 4, sm: 2.5, md: 2, lg: 1.5 },
|
|
9085
9229
|
main: {
|
|
9086
|
-
|
|
9087
|
-
|
|
9088
|
-
|
|
9089
|
-
|
|
9090
|
-
|
|
9091
|
-
fontSize: "12px",
|
|
9092
|
-
marginTop: "4px"
|
|
9230
|
+
name: "Save & Exit",
|
|
9231
|
+
variant: "contained",
|
|
9232
|
+
type: "text",
|
|
9233
|
+
onClick: "saveHandler",
|
|
9234
|
+
size: "medium"
|
|
9093
9235
|
}
|
|
9094
9236
|
}
|
|
9095
9237
|
},
|
|
9096
9238
|
{
|
|
9097
9239
|
type: "Control",
|
|
9098
9240
|
scope: "#/properties/EmptyBox",
|
|
9241
|
+
config: {
|
|
9242
|
+
layout: { xs: 4, sm: 7, md: 8, lg: 9 }
|
|
9243
|
+
},
|
|
9099
9244
|
options: {
|
|
9100
9245
|
widget: "EmptyBox"
|
|
9101
|
-
},
|
|
9102
|
-
config: {
|
|
9103
|
-
layout: { xs: 1, sm: 5 }
|
|
9104
9246
|
}
|
|
9105
9247
|
}
|
|
9106
9248
|
]
|
|
9107
9249
|
},
|
|
9108
|
-
{
|
|
9109
|
-
type: "Control",
|
|
9110
|
-
scope: "#/properties/btn",
|
|
9111
|
-
options: {
|
|
9112
|
-
widget: "Button"
|
|
9113
|
-
},
|
|
9114
|
-
config: {
|
|
9115
|
-
layout: { xs: 4, sm: 2 },
|
|
9116
|
-
main: {
|
|
9117
|
-
name: "Ok",
|
|
9118
|
-
startIcon: "ApproveIcon",
|
|
9119
|
-
variant: "contained",
|
|
9120
|
-
type: "text",
|
|
9121
|
-
onClick: "okHandler",
|
|
9122
|
-
size: "medium"
|
|
9123
|
-
},
|
|
9124
|
-
style: {
|
|
9125
|
-
float: "right"
|
|
9126
|
-
}
|
|
9127
|
-
}
|
|
9128
|
-
},
|
|
9129
|
-
{
|
|
9130
|
-
type: "Control",
|
|
9131
|
-
scope: "#/properties/btnSubmit",
|
|
9132
|
-
options: {
|
|
9133
|
-
widget: "Button"
|
|
9134
|
-
},
|
|
9135
|
-
config: {
|
|
9136
|
-
layout: { xs: 4, sm: 2 },
|
|
9137
|
-
main: {
|
|
9138
|
-
name: "Save & Exit",
|
|
9139
|
-
startIcon: "ApproveIcon",
|
|
9140
|
-
variant: "contained",
|
|
9141
|
-
type: "text",
|
|
9142
|
-
onClick: "saveHandler",
|
|
9143
|
-
size: "medium"
|
|
9144
|
-
},
|
|
9145
|
-
style: {
|
|
9146
|
-
float: "right"
|
|
9147
|
-
}
|
|
9148
|
-
}
|
|
9149
|
-
},
|
|
9150
9250
|
{
|
|
9151
9251
|
type: "Control",
|
|
9152
9252
|
scope: "#/properties/popUpEvent",
|
|
@@ -9175,15 +9275,17 @@ const EventUiSchema = (theme) => {
|
|
|
9175
9275
|
config: {
|
|
9176
9276
|
layout: 11,
|
|
9177
9277
|
main: {
|
|
9178
|
-
heading: "Are you sure you want to delete ?"
|
|
9278
|
+
heading: "Are you sure you want to delete this Event ?"
|
|
9179
9279
|
},
|
|
9180
9280
|
style: {
|
|
9181
|
-
marginTop: "-20px",
|
|
9182
9281
|
fontSize: "20px",
|
|
9183
9282
|
"&.MuiTypography-root": {
|
|
9184
|
-
padding: "
|
|
9283
|
+
padding: "0px 20px",
|
|
9185
9284
|
textAlign: "center",
|
|
9186
|
-
lineHeight: "1"
|
|
9285
|
+
lineHeight: "1.2",
|
|
9286
|
+
fontWeight: "normal",
|
|
9287
|
+
fontSize: "18px",
|
|
9288
|
+
marginBottom: theme.spacing(5)
|
|
9187
9289
|
}
|
|
9188
9290
|
}
|
|
9189
9291
|
}
|
|
@@ -9207,13 +9309,14 @@ const EventUiSchema = (theme) => {
|
|
|
9207
9309
|
name: "No",
|
|
9208
9310
|
startIcon: "ApproveIcon",
|
|
9209
9311
|
variant: "contained",
|
|
9210
|
-
color: "info",
|
|
9211
9312
|
type: "text",
|
|
9212
9313
|
onClick: "deletePopUpEvent",
|
|
9213
9314
|
size: "large"
|
|
9214
9315
|
},
|
|
9215
9316
|
style: {
|
|
9216
9317
|
position: "absolute",
|
|
9318
|
+
padding: "8px 0px",
|
|
9319
|
+
fontSize: "16px",
|
|
9217
9320
|
bottom: 0,
|
|
9218
9321
|
left: 0,
|
|
9219
9322
|
width: "50%",
|
|
@@ -9241,7 +9344,6 @@ const EventUiSchema = (theme) => {
|
|
|
9241
9344
|
layout: 6,
|
|
9242
9345
|
main: {
|
|
9243
9346
|
name: "Yes",
|
|
9244
|
-
startIcon: "ApproveIcon",
|
|
9245
9347
|
variant: "contained",
|
|
9246
9348
|
color: "error",
|
|
9247
9349
|
type: "text",
|
|
@@ -9250,6 +9352,8 @@ const EventUiSchema = (theme) => {
|
|
|
9250
9352
|
},
|
|
9251
9353
|
style: {
|
|
9252
9354
|
position: "absolute",
|
|
9355
|
+
padding: "8px 0px",
|
|
9356
|
+
fontSize: "16px",
|
|
9253
9357
|
bottom: 0,
|
|
9254
9358
|
right: 0,
|
|
9255
9359
|
width: "50%",
|
|
@@ -9270,6 +9374,27 @@ const EventUiSchema = (theme) => {
|
|
|
9270
9374
|
}
|
|
9271
9375
|
]
|
|
9272
9376
|
},
|
|
9377
|
+
{
|
|
9378
|
+
type: "Control",
|
|
9379
|
+
scope: "#/properties/pageName",
|
|
9380
|
+
options: {
|
|
9381
|
+
widget: "Breadcrumb"
|
|
9382
|
+
},
|
|
9383
|
+
config: {
|
|
9384
|
+
layout: 12,
|
|
9385
|
+
main: {},
|
|
9386
|
+
style: {
|
|
9387
|
+
paddingLeft: theme.spacing(3),
|
|
9388
|
+
color: theme.palette.grey[600],
|
|
9389
|
+
fontSize: "10px",
|
|
9390
|
+
position: "fixed",
|
|
9391
|
+
bottom: "24px",
|
|
9392
|
+
borderBottom: `1px solid ${theme.palette.common.black}29`,
|
|
9393
|
+
borderTop: `1px solid ${theme.palette.common.black}29`,
|
|
9394
|
+
backgroundColor: theme.palette.background.default
|
|
9395
|
+
}
|
|
9396
|
+
}
|
|
9397
|
+
},
|
|
9273
9398
|
{
|
|
9274
9399
|
type: "Control",
|
|
9275
9400
|
scope: "#/properties/notify",
|
|
@@ -9287,7 +9412,7 @@ const EventUiSchema = (theme) => {
|
|
|
9287
9412
|
style: {
|
|
9288
9413
|
flexDirection: "row",
|
|
9289
9414
|
position: "absolute",
|
|
9290
|
-
bottom:
|
|
9415
|
+
bottom: 10,
|
|
9291
9416
|
height: "fit-content",
|
|
9292
9417
|
overflow: "hidden",
|
|
9293
9418
|
zIndex: 1e3,
|
|
@@ -9306,78 +9431,19 @@ const EventUiSchema = (theme) => {
|
|
|
9306
9431
|
heading: "Copywriter@ACT21.IO"
|
|
9307
9432
|
},
|
|
9308
9433
|
style: {
|
|
9309
|
-
color: ((
|
|
9434
|
+
color: ((_a = theme == null ? void 0 : theme.palette) == null ? void 0 : _a.text.disabled) || "#AFAFAF",
|
|
9310
9435
|
fontSize: "11px",
|
|
9311
9436
|
textAlign: "center",
|
|
9312
|
-
lineHeight:
|
|
9437
|
+
lineHeight: 0,
|
|
9313
9438
|
width: "fit-content",
|
|
9314
9439
|
left: "50%",
|
|
9315
9440
|
position: "relative",
|
|
9316
|
-
margin:
|
|
9441
|
+
margin: "revert",
|
|
9317
9442
|
flexGrow: 1,
|
|
9318
9443
|
height: 0,
|
|
9319
9444
|
transform: "translate(-50%, 0%)"
|
|
9320
9445
|
}
|
|
9321
9446
|
}
|
|
9322
|
-
},
|
|
9323
|
-
{
|
|
9324
|
-
type: "Control",
|
|
9325
|
-
scope: "#/properties/FooterBackIcon",
|
|
9326
|
-
options: {
|
|
9327
|
-
widget: "Box"
|
|
9328
|
-
},
|
|
9329
|
-
config: {
|
|
9330
|
-
main: {
|
|
9331
|
-
iconName: "PrevIcon",
|
|
9332
|
-
onClick: "backHandler",
|
|
9333
|
-
width: "fit-content"
|
|
9334
|
-
},
|
|
9335
|
-
style: {
|
|
9336
|
-
fill: (_d = (_c = theme == null ? void 0 : theme.palette) == null ? void 0 : _c.primary) == null ? void 0 : _d.main,
|
|
9337
|
-
width: 20,
|
|
9338
|
-
height: 0,
|
|
9339
|
-
top: 0,
|
|
9340
|
-
right: { xs: "12px", sm: "84px" },
|
|
9341
|
-
position: "absolute",
|
|
9342
|
-
fontSize: "12px",
|
|
9343
|
-
cursor: "pointer",
|
|
9344
|
-
":hover": {
|
|
9345
|
-
fill: (_f = (_e = theme == null ? void 0 : theme.palette) == null ? void 0 : _e.primary) == null ? void 0 : _f.dark
|
|
9346
|
-
},
|
|
9347
|
-
marginRight: "20px"
|
|
9348
|
-
}
|
|
9349
|
-
}
|
|
9350
|
-
},
|
|
9351
|
-
{
|
|
9352
|
-
type: "Control",
|
|
9353
|
-
scope: "#/properties/FooterBackHandlerText",
|
|
9354
|
-
options: {
|
|
9355
|
-
widget: "Box"
|
|
9356
|
-
},
|
|
9357
|
-
config: {
|
|
9358
|
-
main: {
|
|
9359
|
-
heading: "Previous Page",
|
|
9360
|
-
onClick: "backHandler"
|
|
9361
|
-
},
|
|
9362
|
-
style: {
|
|
9363
|
-
display: { xs: "none", sm: "flex" },
|
|
9364
|
-
textAlign: "left",
|
|
9365
|
-
lineHeight: 1,
|
|
9366
|
-
height: 0,
|
|
9367
|
-
width: "fit-content",
|
|
9368
|
-
color: (_h = (_g = theme == null ? void 0 : theme.palette) == null ? void 0 : _g.primary) == null ? void 0 : _h.main,
|
|
9369
|
-
fontSize: "12px",
|
|
9370
|
-
cursor: "pointer",
|
|
9371
|
-
marginLeft: "2px",
|
|
9372
|
-
top: 3,
|
|
9373
|
-
right: "12px",
|
|
9374
|
-
position: "absolute",
|
|
9375
|
-
":hover": {
|
|
9376
|
-
color: (_j = (_i = theme == null ? void 0 : theme.palette) == null ? void 0 : _i.primary) == null ? void 0 : _j.dark
|
|
9377
|
-
},
|
|
9378
|
-
marginRight: "4px"
|
|
9379
|
-
}
|
|
9380
|
-
}
|
|
9381
9447
|
}
|
|
9382
9448
|
]
|
|
9383
9449
|
}
|
|
@@ -9395,7 +9461,7 @@ const APISection = {
|
|
|
9395
9461
|
widget: "SelectInputField"
|
|
9396
9462
|
},
|
|
9397
9463
|
config: {
|
|
9398
|
-
layout: { xs: 6, sm: 6, md: 4, lg:
|
|
9464
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 3 },
|
|
9399
9465
|
main: {
|
|
9400
9466
|
label: "Method",
|
|
9401
9467
|
type: "text"
|
|
@@ -9409,23 +9475,13 @@ const APISection = {
|
|
|
9409
9475
|
widget: "InputField"
|
|
9410
9476
|
},
|
|
9411
9477
|
config: {
|
|
9412
|
-
layout: { xs: 6, sm: 6, md: 4, lg:
|
|
9413
|
-
main: {
|
|
9414
|
-
label: "Path",
|
|
9415
|
-
type: "text",
|
|
9416
|
-
multiple: false,
|
|
9417
|
-
options: []
|
|
9418
|
-
}
|
|
9419
|
-
}
|
|
9420
|
-
},
|
|
9421
|
-
{
|
|
9422
|
-
type: "Control",
|
|
9423
|
-
scope: "#/properties/emptyBox",
|
|
9424
|
-
options: {
|
|
9425
|
-
widget: "EmptyBox"
|
|
9426
|
-
},
|
|
9427
|
-
config: {
|
|
9428
|
-
layout: { xs: 0, sm: 0, md: 4, lg: 4 }
|
|
9478
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 3 },
|
|
9479
|
+
main: {
|
|
9480
|
+
label: "Path",
|
|
9481
|
+
type: "text",
|
|
9482
|
+
multiple: false,
|
|
9483
|
+
options: []
|
|
9484
|
+
}
|
|
9429
9485
|
}
|
|
9430
9486
|
},
|
|
9431
9487
|
{
|
|
@@ -9435,106 +9491,132 @@ const APISection = {
|
|
|
9435
9491
|
widget: "EmptyBox"
|
|
9436
9492
|
},
|
|
9437
9493
|
config: {
|
|
9438
|
-
layout: { xs: 0, sm: 0, md: 4, lg:
|
|
9494
|
+
layout: { xs: 0, sm: 0, md: 4, lg: 6 }
|
|
9439
9495
|
}
|
|
9440
9496
|
},
|
|
9441
9497
|
{
|
|
9442
9498
|
type: "Control",
|
|
9443
9499
|
scope: "#/properties/headers",
|
|
9444
|
-
layout: 11.5,
|
|
9445
9500
|
options: {
|
|
9446
|
-
|
|
9447
|
-
|
|
9448
|
-
|
|
9449
|
-
|
|
9450
|
-
|
|
9451
|
-
|
|
9452
|
-
|
|
9453
|
-
|
|
9454
|
-
|
|
9455
|
-
|
|
9456
|
-
|
|
9457
|
-
|
|
9458
|
-
|
|
9459
|
-
|
|
9460
|
-
|
|
9461
|
-
|
|
9462
|
-
|
|
9463
|
-
|
|
9464
|
-
|
|
9465
|
-
|
|
9466
|
-
|
|
9467
|
-
|
|
9468
|
-
|
|
9469
|
-
|
|
9470
|
-
|
|
9471
|
-
|
|
9472
|
-
|
|
9473
|
-
|
|
9474
|
-
|
|
9475
|
-
|
|
9476
|
-
{
|
|
9477
|
-
type: "Control",
|
|
9478
|
-
scope: "#/properties/emptyBox",
|
|
9479
|
-
options: {
|
|
9480
|
-
widget: "EmptyBox"
|
|
9481
|
-
},
|
|
9482
|
-
config: {
|
|
9483
|
-
layout: { xs: 0, sm: 0, md: 4, lg: 4 }
|
|
9484
|
-
}
|
|
9501
|
+
widget: "Array"
|
|
9502
|
+
},
|
|
9503
|
+
config: {
|
|
9504
|
+
layout: 12,
|
|
9505
|
+
main: {
|
|
9506
|
+
label: "Headers",
|
|
9507
|
+
childElementLabel: "Headers"
|
|
9508
|
+
},
|
|
9509
|
+
style: {
|
|
9510
|
+
marginLeft: "-24px",
|
|
9511
|
+
marginBottom: "24px !important",
|
|
9512
|
+
labelStyle: {
|
|
9513
|
+
marginLeft: "24px"
|
|
9514
|
+
},
|
|
9515
|
+
detailsStyle: {
|
|
9516
|
+
marginLeft: "24px"
|
|
9517
|
+
}
|
|
9518
|
+
}
|
|
9519
|
+
},
|
|
9520
|
+
elements: [
|
|
9521
|
+
{
|
|
9522
|
+
type: "Control",
|
|
9523
|
+
scope: "#/properties/key",
|
|
9524
|
+
options: {
|
|
9525
|
+
widget: "InputField"
|
|
9526
|
+
},
|
|
9527
|
+
config: {
|
|
9528
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
9529
|
+
main: {
|
|
9530
|
+
label: "Key"
|
|
9485
9531
|
}
|
|
9486
|
-
|
|
9532
|
+
}
|
|
9533
|
+
},
|
|
9534
|
+
{
|
|
9535
|
+
type: "Control",
|
|
9536
|
+
scope: "#/properties/value",
|
|
9537
|
+
options: {
|
|
9538
|
+
widget: "InputField"
|
|
9539
|
+
},
|
|
9540
|
+
config: {
|
|
9541
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
9542
|
+
main: {
|
|
9543
|
+
label: "Value"
|
|
9544
|
+
}
|
|
9545
|
+
}
|
|
9546
|
+
},
|
|
9547
|
+
{
|
|
9548
|
+
type: "Control",
|
|
9549
|
+
scope: "#/properties/emptyBox",
|
|
9550
|
+
options: {
|
|
9551
|
+
widget: "EmptyBox"
|
|
9552
|
+
},
|
|
9553
|
+
config: {
|
|
9554
|
+
layout: { xs: 0, sm: 0, md: 4, lg: 4 }
|
|
9555
|
+
}
|
|
9487
9556
|
}
|
|
9488
|
-
|
|
9557
|
+
]
|
|
9489
9558
|
},
|
|
9490
9559
|
{
|
|
9491
9560
|
type: "Control",
|
|
9492
9561
|
scope: "#/properties/body",
|
|
9493
|
-
layout: 11.5,
|
|
9494
9562
|
options: {
|
|
9495
|
-
|
|
9496
|
-
|
|
9497
|
-
|
|
9498
|
-
|
|
9499
|
-
|
|
9500
|
-
|
|
9501
|
-
|
|
9502
|
-
|
|
9503
|
-
|
|
9504
|
-
|
|
9505
|
-
|
|
9506
|
-
|
|
9507
|
-
|
|
9508
|
-
|
|
9509
|
-
|
|
9510
|
-
|
|
9511
|
-
|
|
9512
|
-
|
|
9513
|
-
|
|
9514
|
-
|
|
9515
|
-
|
|
9516
|
-
|
|
9517
|
-
|
|
9518
|
-
|
|
9519
|
-
|
|
9520
|
-
|
|
9521
|
-
|
|
9522
|
-
|
|
9523
|
-
|
|
9524
|
-
|
|
9525
|
-
{
|
|
9526
|
-
type: "Control",
|
|
9527
|
-
scope: "#/properties/emptyBox",
|
|
9528
|
-
options: {
|
|
9529
|
-
widget: "EmptyBox"
|
|
9530
|
-
},
|
|
9531
|
-
config: {
|
|
9532
|
-
layout: { xs: 0, sm: 0, md: 4, lg: 4 }
|
|
9533
|
-
}
|
|
9563
|
+
widget: "Array"
|
|
9564
|
+
},
|
|
9565
|
+
config: {
|
|
9566
|
+
layout: 12,
|
|
9567
|
+
main: {
|
|
9568
|
+
label: "Body",
|
|
9569
|
+
childElementLabel: "Body"
|
|
9570
|
+
},
|
|
9571
|
+
style: {
|
|
9572
|
+
marginLeft: "-24px",
|
|
9573
|
+
marginBottom: "24px !important",
|
|
9574
|
+
labelStyle: {
|
|
9575
|
+
marginLeft: "24px"
|
|
9576
|
+
},
|
|
9577
|
+
detailsStyle: {
|
|
9578
|
+
marginLeft: "24px"
|
|
9579
|
+
}
|
|
9580
|
+
}
|
|
9581
|
+
},
|
|
9582
|
+
elements: [
|
|
9583
|
+
{
|
|
9584
|
+
type: "Control",
|
|
9585
|
+
scope: "#/properties/key",
|
|
9586
|
+
options: {
|
|
9587
|
+
widget: "InputField"
|
|
9588
|
+
},
|
|
9589
|
+
config: {
|
|
9590
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
9591
|
+
main: {
|
|
9592
|
+
label: "Key"
|
|
9534
9593
|
}
|
|
9535
|
-
|
|
9594
|
+
}
|
|
9595
|
+
},
|
|
9596
|
+
{
|
|
9597
|
+
type: "Control",
|
|
9598
|
+
scope: "#/properties/value",
|
|
9599
|
+
options: {
|
|
9600
|
+
widget: "InputField"
|
|
9601
|
+
},
|
|
9602
|
+
config: {
|
|
9603
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
9604
|
+
main: {
|
|
9605
|
+
label: "Value"
|
|
9606
|
+
}
|
|
9607
|
+
}
|
|
9608
|
+
},
|
|
9609
|
+
{
|
|
9610
|
+
type: "Control",
|
|
9611
|
+
scope: "#/properties/emptyBox",
|
|
9612
|
+
options: {
|
|
9613
|
+
widget: "EmptyBox"
|
|
9614
|
+
},
|
|
9615
|
+
config: {
|
|
9616
|
+
layout: { xs: 0, sm: 0, md: 4, lg: 4 }
|
|
9617
|
+
}
|
|
9536
9618
|
}
|
|
9537
|
-
|
|
9619
|
+
]
|
|
9538
9620
|
},
|
|
9539
9621
|
getTextArea("apiBody", "Transformer", true, 12)
|
|
9540
9622
|
]
|
|
@@ -9545,116 +9627,134 @@ const refreshSectionUiSchema = {
|
|
|
9545
9627
|
{
|
|
9546
9628
|
type: "Control",
|
|
9547
9629
|
scope: "#/properties/refreshElements",
|
|
9548
|
-
layout: 11.5,
|
|
9549
9630
|
options: {
|
|
9550
|
-
|
|
9551
|
-
|
|
9552
|
-
|
|
9553
|
-
|
|
9554
|
-
|
|
9555
|
-
|
|
9556
|
-
|
|
9557
|
-
|
|
9558
|
-
|
|
9559
|
-
|
|
9560
|
-
|
|
9561
|
-
|
|
9562
|
-
|
|
9563
|
-
|
|
9564
|
-
|
|
9565
|
-
|
|
9566
|
-
|
|
9567
|
-
|
|
9568
|
-
|
|
9569
|
-
|
|
9570
|
-
|
|
9571
|
-
|
|
9572
|
-
|
|
9573
|
-
|
|
9574
|
-
|
|
9575
|
-
|
|
9576
|
-
|
|
9577
|
-
{
|
|
9578
|
-
|
|
9579
|
-
|
|
9580
|
-
options: {
|
|
9581
|
-
widget: "EmptyBox"
|
|
9582
|
-
},
|
|
9583
|
-
config: {
|
|
9584
|
-
layout: { xs: 0, sm: 0, md: 4, lg: 4 },
|
|
9585
|
-
main: {}
|
|
9586
|
-
}
|
|
9631
|
+
widget: "Array"
|
|
9632
|
+
},
|
|
9633
|
+
config: {
|
|
9634
|
+
layout: 12,
|
|
9635
|
+
main: {
|
|
9636
|
+
label: "Refresh Elements",
|
|
9637
|
+
childElementLabel: "Refresh Elements"
|
|
9638
|
+
},
|
|
9639
|
+
style: {
|
|
9640
|
+
marginLeft: "-24px",
|
|
9641
|
+
marginBottom: "24px !important",
|
|
9642
|
+
labelStyle: {
|
|
9643
|
+
marginLeft: "24px"
|
|
9644
|
+
},
|
|
9645
|
+
detailsStyle: {
|
|
9646
|
+
marginLeft: "24px"
|
|
9647
|
+
}
|
|
9648
|
+
}
|
|
9649
|
+
},
|
|
9650
|
+
elements: [
|
|
9651
|
+
{
|
|
9652
|
+
type: "Control",
|
|
9653
|
+
scope: "#/properties/value",
|
|
9654
|
+
options: {
|
|
9655
|
+
widget: "InputField"
|
|
9656
|
+
},
|
|
9657
|
+
config: {
|
|
9658
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
9659
|
+
main: {
|
|
9660
|
+
label: "Value"
|
|
9587
9661
|
}
|
|
9588
|
-
|
|
9662
|
+
}
|
|
9663
|
+
},
|
|
9664
|
+
{
|
|
9665
|
+
type: "Control",
|
|
9666
|
+
scope: "#/properties/emptyBox",
|
|
9667
|
+
options: {
|
|
9668
|
+
widget: "EmptyBox"
|
|
9669
|
+
},
|
|
9670
|
+
config: {
|
|
9671
|
+
layout: { xs: 6, sm: 6, md: 8, lg: 8 },
|
|
9672
|
+
main: {}
|
|
9673
|
+
}
|
|
9589
9674
|
}
|
|
9590
|
-
|
|
9675
|
+
]
|
|
9591
9676
|
}
|
|
9592
9677
|
]
|
|
9593
9678
|
};
|
|
9594
|
-
var emptyBox = {
|
|
9595
|
-
type: "Control",
|
|
9596
|
-
scope: "#/properties/emptyBox",
|
|
9597
|
-
options: {
|
|
9598
|
-
widget: "EmptyBox"
|
|
9599
|
-
},
|
|
9600
|
-
config: {
|
|
9601
|
-
layout: { xs: 0, sm: 4, md: 4, lg: 4 },
|
|
9602
|
-
main: {},
|
|
9603
|
-
style: {}
|
|
9604
|
-
}
|
|
9605
|
-
};
|
|
9606
9679
|
var event = (store2, dynamicData2, submitHandler, service2, functionsName) => {
|
|
9607
9680
|
return {
|
|
9608
9681
|
setPage: async function() {
|
|
9609
9682
|
const formdata = await this.getFormData();
|
|
9610
9683
|
store2.setFormdata(formdata);
|
|
9611
9684
|
const schema2 = await this.getSchema();
|
|
9685
|
+
console.log("SettingSchema>>", schema2);
|
|
9612
9686
|
store2.setSchema(schema2);
|
|
9613
9687
|
this.refreshPage(formdata.Handler, store2);
|
|
9614
9688
|
},
|
|
9615
9689
|
refreshPage: (handlerType, store22) => {
|
|
9690
|
+
var _a, _b, _c;
|
|
9616
9691
|
const uiSchema = _.cloneDeep(EventUiSchema(store22.theme.myTheme));
|
|
9617
9692
|
const schema2 = _.cloneDeep(EventSchema);
|
|
9618
9693
|
if (handlerType) {
|
|
9619
9694
|
if (handlerType === "custom") {
|
|
9620
|
-
uiSchema.elements[
|
|
9621
|
-
|
|
9695
|
+
uiSchema.elements[0].elements[0].elements[2] = getRadioInputField(
|
|
9696
|
+
"isSync",
|
|
9697
|
+
"Run in Sync",
|
|
9698
|
+
["Yes", "No"]
|
|
9699
|
+
);
|
|
9700
|
+
uiSchema.elements[0].elements[0].elements[3] = {
|
|
9622
9701
|
type: "Control",
|
|
9623
9702
|
scope: "#/properties/emptyBox",
|
|
9624
9703
|
options: {
|
|
9625
9704
|
widget: "EmptyBox"
|
|
9626
9705
|
},
|
|
9627
9706
|
config: {
|
|
9628
|
-
layout: { xs:
|
|
9707
|
+
layout: { xs: 6, sm: 6, md: 0, lg: 3 },
|
|
9629
9708
|
main: {},
|
|
9630
9709
|
style: {}
|
|
9631
9710
|
}
|
|
9632
9711
|
};
|
|
9633
|
-
uiSchema.elements[
|
|
9712
|
+
uiSchema.elements[0].elements[0].elements[4] = getTextArea(
|
|
9713
|
+
"eventCode",
|
|
9714
|
+
"Write Custom Code",
|
|
9715
|
+
false
|
|
9716
|
+
);
|
|
9634
9717
|
schema2.required = ["eventType", "Handler", "eventCode"];
|
|
9635
9718
|
} else if (handlerType === "api") {
|
|
9636
|
-
uiSchema.elements[
|
|
9637
|
-
|
|
9719
|
+
uiSchema.elements[0].elements[0].elements[2] = emptyBox$1("emptyBox", {
|
|
9720
|
+
xs: 0,
|
|
9721
|
+
sm: 0,
|
|
9722
|
+
md: 4,
|
|
9723
|
+
lg: 6
|
|
9724
|
+
});
|
|
9725
|
+
uiSchema.elements[0].elements[0].elements[3] = APISection;
|
|
9638
9726
|
schema2.required = ["eventType", "Handler", "method", "path"];
|
|
9639
9727
|
} else if (handlerType === "inBuiltFunction") {
|
|
9640
|
-
uiSchema.elements[
|
|
9641
|
-
|
|
9728
|
+
uiSchema.elements[0].elements[0].elements[2] = getSelectField(
|
|
9729
|
+
"inBuiltFunctionType",
|
|
9730
|
+
"Function Name"
|
|
9731
|
+
);
|
|
9732
|
+
uiSchema.elements[0].elements[0].elements[3] = {
|
|
9642
9733
|
type: "Control",
|
|
9643
9734
|
scope: "#/properties/emptyBox",
|
|
9644
9735
|
options: {
|
|
9645
9736
|
widget: "EmptyBox"
|
|
9646
9737
|
},
|
|
9647
9738
|
config: {
|
|
9648
|
-
layout: { xs: 6, sm: 6, md: 0, lg:
|
|
9739
|
+
layout: { xs: 6, sm: 6, md: 0, lg: 3 },
|
|
9649
9740
|
main: {},
|
|
9650
9741
|
style: {}
|
|
9651
9742
|
}
|
|
9652
9743
|
};
|
|
9653
|
-
uiSchema.elements[
|
|
9744
|
+
uiSchema.elements[0].elements[0].elements[4] = getTextArea(
|
|
9745
|
+
"funcParametersCode",
|
|
9746
|
+
"Write Custom Code for Functions Parameter",
|
|
9747
|
+
true
|
|
9748
|
+
);
|
|
9654
9749
|
schema2.required = ["eventType", "Handler", "inBuiltFunctionType"];
|
|
9655
9750
|
} else if (handlerType === "refresh") {
|
|
9656
|
-
uiSchema.elements[
|
|
9657
|
-
|
|
9751
|
+
uiSchema.elements[0].elements[0].elements[2] = emptyBox$1("emptyBox", {
|
|
9752
|
+
xs: 0,
|
|
9753
|
+
sm: 0,
|
|
9754
|
+
md: 4,
|
|
9755
|
+
lg: 6
|
|
9756
|
+
});
|
|
9757
|
+
uiSchema.elements[0].elements[0].elements[3] = refreshSectionUiSchema;
|
|
9658
9758
|
schema2.properties.refreshElements.required = ["value"];
|
|
9659
9759
|
schema2.properties.refreshElements.items.required = ["value"];
|
|
9660
9760
|
schema2.required = ["eventType", "Handler", "refreshElements"];
|
|
@@ -9667,9 +9767,34 @@ var event = (store2, dynamicData2, submitHandler, service2, functionsName) => {
|
|
|
9667
9767
|
];
|
|
9668
9768
|
}
|
|
9669
9769
|
if (sessionStorage.getItem("copiedConfig")) {
|
|
9670
|
-
Component(store22, dynamicData2, submitHandler, service2).ElementPathSetter(
|
|
9770
|
+
Component(store22, dynamicData2, submitHandler, service2).ElementPathSetter(
|
|
9771
|
+
uiSchema
|
|
9772
|
+
);
|
|
9671
9773
|
schema2.properties.RemoveItemButton.disabled = false;
|
|
9672
9774
|
}
|
|
9775
|
+
const config2 = JSON.parse(sessionStorage.getItem("pageFormdata"));
|
|
9776
|
+
const path = (_a = store22.searchParams) == null ? void 0 : _a.get("path");
|
|
9777
|
+
const id = (_b = store22.searchParams) == null ? void 0 : _b.get("id");
|
|
9778
|
+
let pathArray = [{ label: (_c = config2.name) != null ? _c : "NewPage", path: `/PageMaster${id ? `?id=${id}` : ""}` }];
|
|
9779
|
+
if (path) {
|
|
9780
|
+
const pathArrayAll = path.split(".");
|
|
9781
|
+
const arr = [];
|
|
9782
|
+
pathArrayAll.map((e, i) => {
|
|
9783
|
+
if (i === 0) {
|
|
9784
|
+
arr.push(e);
|
|
9785
|
+
return;
|
|
9786
|
+
}
|
|
9787
|
+
arr.push(`${arr[i - 1]}.${e}`);
|
|
9788
|
+
});
|
|
9789
|
+
arr.map((e) => {
|
|
9790
|
+
const data = _.get(config2, e);
|
|
9791
|
+
pathArray.push({
|
|
9792
|
+
label: (data == null ? void 0 : data.name) || (data == null ? void 0 : data.eventType) || "NewComponent",
|
|
9793
|
+
path: (data == null ? void 0 : data.eventType) ? `/ComponentEvents?path=${e}${id ? `&id=${id}` : ""}` : `/Component?path=${e}${id ? `&id=${id}` : ""}`
|
|
9794
|
+
});
|
|
9795
|
+
});
|
|
9796
|
+
}
|
|
9797
|
+
schema2.properties.pageName.path = pathArray;
|
|
9673
9798
|
store22.setSchema(schema2);
|
|
9674
9799
|
store22.setUiSchema(uiSchema);
|
|
9675
9800
|
},
|
|
@@ -9678,10 +9803,34 @@ var event = (store2, dynamicData2, submitHandler, service2, functionsName) => {
|
|
|
9678
9803
|
return EventUiSchema;
|
|
9679
9804
|
},
|
|
9680
9805
|
getSchema: () => {
|
|
9806
|
+
var _a, _b, _c;
|
|
9681
9807
|
const schema2 = _.cloneDeep(EventSchema);
|
|
9682
9808
|
if (sessionStorage.getItem("copiedConfig")) {
|
|
9683
9809
|
schema2.properties.RemoveItemButton.disabled = false;
|
|
9684
9810
|
}
|
|
9811
|
+
const config2 = JSON.parse(sessionStorage.getItem("pageFormdata"));
|
|
9812
|
+
const path = (_a = store2.searchParams) == null ? void 0 : _a.get("path");
|
|
9813
|
+
const id = (_b = store2.searchParams) == null ? void 0 : _b.get("id");
|
|
9814
|
+
let pathArray = [{ label: (_c = config2.name) != null ? _c : "NewPage", path: `/PageMaster${id ? `?id=${id}` : ""}` }];
|
|
9815
|
+
if (path) {
|
|
9816
|
+
const pathArrayAll = path.split(".");
|
|
9817
|
+
const arr = [];
|
|
9818
|
+
pathArrayAll.map((e, i) => {
|
|
9819
|
+
if (i === 0) {
|
|
9820
|
+
arr.push(e);
|
|
9821
|
+
return;
|
|
9822
|
+
}
|
|
9823
|
+
arr.push(`${arr[i - 1]}.${e}`);
|
|
9824
|
+
});
|
|
9825
|
+
arr.map((e) => {
|
|
9826
|
+
const data = _.get(config2, e);
|
|
9827
|
+
pathArray.push({
|
|
9828
|
+
label: (data == null ? void 0 : data.name) || (data == null ? void 0 : data.eventType) || "NewComponent",
|
|
9829
|
+
path: (data == null ? void 0 : data.eventType) ? `/ComponentEvents?path=${e}${id ? `&id=${id}` : ""}` : `/Component?path=${e}${id ? `&id=${id}` : ""}`
|
|
9830
|
+
});
|
|
9831
|
+
});
|
|
9832
|
+
}
|
|
9833
|
+
schema2.properties.pageName.path = _.cloneDeep(pathArray);
|
|
9685
9834
|
return schema2;
|
|
9686
9835
|
},
|
|
9687
9836
|
okHandler: () => okHandler(store2),
|
|
@@ -9689,7 +9838,10 @@ var event = (store2, dynamicData2, submitHandler, service2, functionsName) => {
|
|
|
9689
9838
|
onChange: function() {
|
|
9690
9839
|
var _a, _b, _c;
|
|
9691
9840
|
if (((_a = store2 == null ? void 0 : store2.formData) == null ? void 0 : _a.Handler) !== ((_b = store2 == null ? void 0 : store2.newData) == null ? void 0 : _b.Handler) && ((_c = store2 == null ? void 0 : store2.newData) == null ? void 0 : _c.Handler) !== void 0) {
|
|
9692
|
-
this.refreshPage(
|
|
9841
|
+
this.refreshPage(
|
|
9842
|
+
store2.newData.Handler || store2.formdata.Handler,
|
|
9843
|
+
store2
|
|
9844
|
+
);
|
|
9693
9845
|
}
|
|
9694
9846
|
},
|
|
9695
9847
|
addEvent: function() {
|
|
@@ -9715,7 +9867,9 @@ var event = (store2, dynamicData2, submitHandler, service2, functionsName) => {
|
|
|
9715
9867
|
this.setPage();
|
|
9716
9868
|
},
|
|
9717
9869
|
deleteEvent: async function() {
|
|
9718
|
-
await Component(store2, dynamicData2, submitHandler, service2).deleteEvent(
|
|
9870
|
+
await Component(store2, dynamicData2, submitHandler, service2).deleteEvent(
|
|
9871
|
+
false
|
|
9872
|
+
);
|
|
9719
9873
|
store2.updateDialog("popUpEvent");
|
|
9720
9874
|
},
|
|
9721
9875
|
backHandler: function() {
|
|
@@ -9727,10 +9881,15 @@ var event = (store2, dynamicData2, submitHandler, service2, functionsName) => {
|
|
|
9727
9881
|
store2.updateDialog("popUpEvent");
|
|
9728
9882
|
},
|
|
9729
9883
|
copyPasteElement: function() {
|
|
9730
|
-
Component(store2, dynamicData2, submitHandler, service2).copyPasteElement(
|
|
9884
|
+
Component(store2, dynamicData2, submitHandler, service2).copyPasteElement(
|
|
9885
|
+
store2,
|
|
9886
|
+
this.setPage.bind(this)
|
|
9887
|
+
);
|
|
9731
9888
|
},
|
|
9732
9889
|
RemoveItemButton: function() {
|
|
9733
|
-
Component(store2, dynamicData2, submitHandler, service2).RemoveItemButton(
|
|
9890
|
+
Component(store2, dynamicData2, submitHandler, service2).RemoveItemButton(
|
|
9891
|
+
store2
|
|
9892
|
+
);
|
|
9734
9893
|
}
|
|
9735
9894
|
};
|
|
9736
9895
|
};
|
|
@@ -9901,16 +10060,17 @@ function executeCustomHandler(params) {
|
|
|
9901
10060
|
}
|
|
9902
10061
|
}
|
|
9903
10062
|
function mergeFormdata(handlerResponse, componentName, eventConfig, store2, service2, formDataHolder) {
|
|
10063
|
+
var _a, _b, _c;
|
|
9904
10064
|
if (eventConfig.type === "Select" && (handlerResponse == null ? void 0 : handlerResponse.data)) {
|
|
9905
10065
|
if (!_.isEmpty(handlerResponse == null ? void 0 : handlerResponse.data)) {
|
|
9906
10066
|
store2.setSchema((pre) => {
|
|
9907
|
-
var
|
|
10067
|
+
var _a2;
|
|
9908
10068
|
return {
|
|
9909
10069
|
...pre,
|
|
9910
10070
|
properties: {
|
|
9911
10071
|
...pre.properties,
|
|
9912
10072
|
[componentName]: {
|
|
9913
|
-
...(
|
|
10073
|
+
...(_a2 = pre.properties) == null ? void 0 : _a2[componentName],
|
|
9914
10074
|
oneOf: handlerResponse.data
|
|
9915
10075
|
}
|
|
9916
10076
|
}
|
|
@@ -9920,13 +10080,13 @@ function mergeFormdata(handlerResponse, componentName, eventConfig, store2, serv
|
|
|
9920
10080
|
} else if (eventConfig.type === "MultipleSelect" && (handlerResponse == null ? void 0 : handlerResponse.data)) {
|
|
9921
10081
|
if (!_.isEmpty(handlerResponse == null ? void 0 : handlerResponse.data)) {
|
|
9922
10082
|
store2.setSchema((pre) => {
|
|
9923
|
-
var
|
|
10083
|
+
var _a2;
|
|
9924
10084
|
return {
|
|
9925
10085
|
...pre,
|
|
9926
10086
|
properties: {
|
|
9927
10087
|
...pre.properties,
|
|
9928
10088
|
[componentName]: {
|
|
9929
|
-
...(
|
|
10089
|
+
...(_a2 = pre.properties) == null ? void 0 : _a2[componentName],
|
|
9930
10090
|
type: "array",
|
|
9931
10091
|
items: {
|
|
9932
10092
|
oneOf: handlerResponse == null ? void 0 : handlerResponse.data
|
|
@@ -9946,6 +10106,14 @@ function mergeFormdata(handlerResponse, componentName, eventConfig, store2, serv
|
|
|
9946
10106
|
return { ...pre, ...handlerResponse == null ? void 0 : handlerResponse.data };
|
|
9947
10107
|
});
|
|
9948
10108
|
}
|
|
10109
|
+
} else if (eventConfig.type === "Table" && eventConfig.lazyLoading) {
|
|
10110
|
+
if (handlerResponse && (handlerResponse == null ? void 0 : handlerResponse.data)) {
|
|
10111
|
+
formDataHolder[componentName] = (_a = handlerResponse.data) == null ? void 0 : _a.data;
|
|
10112
|
+
formDataHolder[`${componentName}_RowCount`] = (_c = (_b = handlerResponse.data) == null ? void 0 : _b.meta) == null ? void 0 : _c.totalRowCount;
|
|
10113
|
+
store2.setFormdata((pre) => {
|
|
10114
|
+
return { ...pre, ...formDataHolder };
|
|
10115
|
+
});
|
|
10116
|
+
}
|
|
9949
10117
|
} else {
|
|
9950
10118
|
if (handlerResponse) {
|
|
9951
10119
|
formDataHolder[componentName] = handlerResponse.data;
|
|
@@ -10251,7 +10419,7 @@ var service = (funcParams) => {
|
|
|
10251
10419
|
service: funcParams.service,
|
|
10252
10420
|
serviceHolder: this,
|
|
10253
10421
|
eventGroups,
|
|
10254
|
-
formDataHolder
|
|
10422
|
+
formDataHolder: {}
|
|
10255
10423
|
});
|
|
10256
10424
|
funcParams.store.setSchema(
|
|
10257
10425
|
(pre) => {
|
|
@@ -10266,11 +10434,11 @@ var service = (funcParams) => {
|
|
|
10266
10434
|
funcParams.store.setUiSchema(uiSchema);
|
|
10267
10435
|
},
|
|
10268
10436
|
onCellRenderer: (cellParams) => {
|
|
10269
|
-
var _a, _b, _c;
|
|
10437
|
+
var _a, _b, _c, _d;
|
|
10270
10438
|
if (eventGroups.onCellRenderer) {
|
|
10271
10439
|
let finalResponse = {};
|
|
10272
10440
|
const path = ((_a = funcParams.dynamicData) == null ? void 0 : _a.tableButtonPath) || ((_c = (_b = funcParams == null ? void 0 : funcParams.dynamicData) == null ? void 0 : _b.path) == null ? void 0 : _c.split(".")[0]);
|
|
10273
|
-
for (const eventConfig of eventGroups == null ? void 0 : eventGroups.onCellRenderer[path]) {
|
|
10441
|
+
for (const eventConfig of (_d = eventGroups == null ? void 0 : eventGroups.onCellRenderer) == null ? void 0 : _d[path]) {
|
|
10274
10442
|
executeEventsParameters.store.functionParameters = cellParams;
|
|
10275
10443
|
finalResponse = executeEvents({
|
|
10276
10444
|
...executeEventsParameters,
|
|
@@ -10874,6 +11042,9 @@ const buildTextField = (config2, componentScope2) => {
|
|
|
10874
11042
|
if (config2.style) {
|
|
10875
11043
|
inputField.config.style = JSON.parse(config2.style);
|
|
10876
11044
|
}
|
|
11045
|
+
if (config2.multiline) {
|
|
11046
|
+
inputField.config.main.multiline = config2.multiline === "YES" ? true : false;
|
|
11047
|
+
}
|
|
10877
11048
|
if (config2.InputFormatingAndMasking) {
|
|
10878
11049
|
inputField.config.main.formatStrArray = config2.InputFormatingAndMasking.map((e) => e.formatElement);
|
|
10879
11050
|
}
|
|
@@ -11710,6 +11881,18 @@ const buildRadio = (config2, componentScope2) => {
|
|
|
11710
11881
|
}
|
|
11711
11882
|
return Radio;
|
|
11712
11883
|
};
|
|
11884
|
+
var emptyBox = {
|
|
11885
|
+
type: "Control",
|
|
11886
|
+
scope: "#/properties/emptyBox",
|
|
11887
|
+
options: {
|
|
11888
|
+
widget: "EmptyBox"
|
|
11889
|
+
},
|
|
11890
|
+
config: {
|
|
11891
|
+
layout: { xs: 0, sm: 4, md: 4, lg: 4 },
|
|
11892
|
+
main: {},
|
|
11893
|
+
style: {}
|
|
11894
|
+
}
|
|
11895
|
+
};
|
|
11713
11896
|
const buildEmptyBox = (config2, componentScope2) => {
|
|
11714
11897
|
const EmptyBox = _.cloneDeep(emptyBox);
|
|
11715
11898
|
if (config2.layout) {
|
|
@@ -12387,19 +12570,12 @@ const buildUiSchema = (config2, store2) => {
|
|
|
12387
12570
|
});
|
|
12388
12571
|
} else if (config2.type == "Table") {
|
|
12389
12572
|
const sizeMap = {};
|
|
12390
|
-
const filterMap = {};
|
|
12391
12573
|
if (config2.sizeHolder) {
|
|
12392
12574
|
config2.sizeHolder.map((e, i) => {
|
|
12393
12575
|
sizeMap[e.keyName] = e.value;
|
|
12394
12576
|
});
|
|
12395
12577
|
}
|
|
12396
|
-
if (config2.enableColumnFilter) {
|
|
12397
|
-
config2.enableColumnFilter.map((e) => {
|
|
12398
|
-
filterMap[e.keyName] = true;
|
|
12399
|
-
});
|
|
12400
|
-
}
|
|
12401
12578
|
elements.elements = config2.elements.map((cellElem, elemInd) => {
|
|
12402
|
-
var _a, _b;
|
|
12403
12579
|
if (cellElem.type) {
|
|
12404
12580
|
return {
|
|
12405
12581
|
accessorKey: cellElem.name,
|
|
@@ -12408,8 +12584,9 @@ const buildUiSchema = (config2, store2) => {
|
|
|
12408
12584
|
type: cellElem.columnFormat,
|
|
12409
12585
|
widget: cellElem.type != "ColumnGroup" ? buildUiSchema(cellElem, store2) : void 0,
|
|
12410
12586
|
elements: cellElem.type == "ColumnGroup" ? cellElem.elements.map((childCellElem) => buildUiSchema(childCellElem, store2)) : [],
|
|
12411
|
-
|
|
12412
|
-
|
|
12587
|
+
columnFilterModeOptions: cellElem.filteringOptions,
|
|
12588
|
+
enableColumnFilter: cellElem.enableFilter === "Yes" ? true : false,
|
|
12589
|
+
enableSorting: cellElem.enableSorting === "Yes" ? true : false
|
|
12413
12590
|
};
|
|
12414
12591
|
} else {
|
|
12415
12592
|
return {
|
|
@@ -12417,8 +12594,9 @@ const buildUiSchema = (config2, store2) => {
|
|
|
12417
12594
|
type: cellElem.columnFormat,
|
|
12418
12595
|
header: cellElem.label || cellElem.name,
|
|
12419
12596
|
size: sizeMap[cellElem.name] || 180,
|
|
12420
|
-
|
|
12421
|
-
|
|
12597
|
+
columnFilterModeOptions: cellElem.filteringOptions,
|
|
12598
|
+
enableColumnFilter: cellElem.enableFilter === "Yes" ? true : false,
|
|
12599
|
+
enableSorting: cellElem.enableSorting === "Yes" ? true : false
|
|
12422
12600
|
};
|
|
12423
12601
|
}
|
|
12424
12602
|
});
|