impaktapps-ui-builder 1.0.3 → 1.0.9-4.card.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/impaktapps-ui-builder.es.js +709 -687
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +14 -14
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/dist/src/impaktapps-ui-builder/builder/build/buildArray.d.ts +1 -11
- package/dist/src/impaktapps-ui-builder/builder/build/buildConfig.d.ts +1 -1
- package/dist/src/impaktapps-ui-builder/builder/build/buildHorizontalLayout.d.ts +1 -0
- package/dist/src/impaktapps-ui-builder/builder/build/buildImage.d.ts +1 -0
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/apiSection.d.ts +1 -3
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/box.d.ts +9 -2
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/button.d.ts +6 -1
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/card.d.ts +1 -0
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/coreSection.d.ts +82 -72
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/eventSection.d.ts +18 -50
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/horizontalLayout.d.ts +13 -0
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/refresh.d.ts +0 -3
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/table.d.ts +1 -0
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/tableSection.d.ts +14 -65
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/validationSections.d.ts +48 -38
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/valueTab.d.ts +0 -3
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/wrapperSection.d.ts +1 -0
- package/dist/src/impaktapps-ui-builder/runtime/services/service.d.ts +3 -0
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildAadharCard.ts +2 -2
- package/src/impaktapps-ui-builder/builder/build/buildArray.ts +31 -15
- package/src/impaktapps-ui-builder/builder/build/buildButton.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildCheckbox.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildConfig.ts +20 -16
- package/src/impaktapps-ui-builder/builder/build/buildDataGrid.ts +2 -2
- package/src/impaktapps-ui-builder/builder/build/buildDate.ts +6 -0
- package/src/impaktapps-ui-builder/builder/build/buildDownloadFile.ts +1 -0
- package/src/impaktapps-ui-builder/builder/build/buildFileInput.ts +4 -1
- package/src/impaktapps-ui-builder/builder/build/buildHorizontalBarGraph.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildHorizontalLayout.ts +15 -0
- package/src/impaktapps-ui-builder/builder/build/buildImage.ts +35 -0
- package/src/impaktapps-ui-builder/builder/build/buildLabel.ts +3 -0
- package/src/impaktapps-ui-builder/builder/build/buildLeaderboard.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildLineGraph.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildMultiSelect.ts +3 -0
- package/src/impaktapps-ui-builder/builder/build/buildPieGraph.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildPop.ts +2 -2
- package/src/impaktapps-ui-builder/builder/build/buildRadio.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildSelect.ts +3 -0
- package/src/impaktapps-ui-builder/builder/build/buildStackBarGraph.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildTabSection.ts +3 -0
- package/src/impaktapps-ui-builder/builder/build/buildTable.ts +3 -0
- package/src/impaktapps-ui-builder/builder/build/buildText.ts +6 -0
- package/src/impaktapps-ui-builder/builder/build/buildTextArea.ts +2 -2
- package/src/impaktapps-ui-builder/builder/build/buildThoughtOfTheDay.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildTreeMap.ts +2 -1
- package/src/impaktapps-ui-builder/builder/build/buildUiSchema.ts +27 -14
- package/src/impaktapps-ui-builder/builder/build/buildWrapperSection.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/apiSection.ts +0 -6
- package/src/impaktapps-ui-builder/builder/build/uischema/array.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/box.ts +4 -2
- package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +147 -130
- package/src/impaktapps-ui-builder/builder/build/uischema/button.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/card.ts +4 -3
- package/src/impaktapps-ui-builder/builder/build/uischema/coreSection.ts +58 -119
- package/src/impaktapps-ui-builder/builder/build/uischema/dateInputField.ts +2 -2
- package/src/impaktapps-ui-builder/builder/build/uischema/emptyBox.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/eventSection.ts +30 -54
- package/src/impaktapps-ui-builder/builder/build/uischema/file.ts +3 -3
- package/src/impaktapps-ui-builder/builder/build/uischema/horizontalLayout.ts +11 -0
- package/src/impaktapps-ui-builder/builder/build/uischema/multiSelect.ts +2 -2
- package/src/impaktapps-ui-builder/builder/build/uischema/refresh.ts +0 -3
- package/src/impaktapps-ui-builder/builder/build/uischema/selectInputField.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/table.ts +1 -0
- package/src/impaktapps-ui-builder/builder/build/uischema/tableSection.ts +29 -54
- package/src/impaktapps-ui-builder/builder/build/uischema/textInputField.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/validationSections.ts +58 -113
- package/src/impaktapps-ui-builder/builder/build/uischema/valueTab.ts +0 -3
- package/src/impaktapps-ui-builder/builder/build/uischema/wrapperSection.ts +1 -0
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/schema.ts +51 -15
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/uiSchema.ts +60 -118
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/schema.ts +1 -1
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/uiSchema.ts +77 -106
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/schema.ts +9 -4
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/uiSchema.ts +31 -55
- package/src/impaktapps-ui-builder/builder/services/component.ts +10 -4
- package/src/impaktapps-ui-builder/runtime/services/service.ts +26 -123
|
@@ -44,7 +44,7 @@ const PageMasterSchema = {
|
|
|
44
44
|
disabled: true
|
|
45
45
|
}
|
|
46
46
|
},
|
|
47
|
-
required: ["
|
|
47
|
+
required: ["name", "label"]
|
|
48
48
|
};
|
|
49
49
|
const PageMasterUiSchema = (theme) => {
|
|
50
50
|
var _a;
|
|
@@ -96,11 +96,25 @@ const PageMasterUiSchema = (theme) => {
|
|
|
96
96
|
}
|
|
97
97
|
}
|
|
98
98
|
},
|
|
99
|
+
{
|
|
100
|
+
type: "Control",
|
|
101
|
+
scope: "#/properties/hasBackIcon",
|
|
102
|
+
options: {
|
|
103
|
+
widget: "RadioInputField"
|
|
104
|
+
},
|
|
105
|
+
config: {
|
|
106
|
+
layout: { xs: 12, sm: 6, md: 4, lg: 3 },
|
|
107
|
+
main: {
|
|
108
|
+
label: "Back Icon",
|
|
109
|
+
options: [{ label: "Yes", const: "YES" }, { label: "No", const: "NO" }]
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
},
|
|
99
113
|
{
|
|
100
114
|
type: "Control",
|
|
101
115
|
scope: "#/properties/EmptyBox",
|
|
102
116
|
config: {
|
|
103
|
-
layout: { xs: 0, sm:
|
|
117
|
+
layout: { xs: 0, sm: 6, md: 0, lg: 3 }
|
|
104
118
|
},
|
|
105
119
|
options: {
|
|
106
120
|
widget: "EmptyBox"
|
|
@@ -204,91 +218,70 @@ const PageMasterUiSchema = (theme) => {
|
|
|
204
218
|
disableAction: true,
|
|
205
219
|
disableSelection: true,
|
|
206
220
|
enableDrag: true
|
|
207
|
-
}
|
|
208
|
-
},
|
|
209
|
-
elements: [
|
|
210
|
-
{
|
|
211
|
-
accessorKey: "name",
|
|
212
|
-
header: "Name",
|
|
213
|
-
size: 300,
|
|
214
|
-
type: "string"
|
|
215
|
-
},
|
|
216
|
-
{
|
|
217
|
-
accessorKey: "type",
|
|
218
|
-
header: "Type",
|
|
219
|
-
size: 300,
|
|
220
|
-
type: "string"
|
|
221
221
|
},
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
field: "Reject_Records",
|
|
225
|
-
size: 150,
|
|
226
|
-
type: "action",
|
|
227
|
-
widget: {
|
|
222
|
+
action: [
|
|
223
|
+
{
|
|
228
224
|
type: "Control",
|
|
229
225
|
scope: "#/properties/RejectButton",
|
|
230
226
|
options: {
|
|
231
|
-
widget: "
|
|
227
|
+
widget: "Button"
|
|
232
228
|
},
|
|
233
229
|
config: {
|
|
234
230
|
main: {
|
|
235
|
-
|
|
231
|
+
size: "small",
|
|
232
|
+
startIcon: "EditIcon",
|
|
236
233
|
onClick: "Edit_Components",
|
|
237
|
-
tooltipMessage: "Edit This Record"
|
|
238
|
-
|
|
239
|
-
style: {
|
|
240
|
-
fill: theme.palette.primary.main,
|
|
241
|
-
"& :hover": {
|
|
242
|
-
fill: theme.palette.primary.dark
|
|
243
|
-
}
|
|
234
|
+
tooltipMessage: "Edit This Record",
|
|
235
|
+
name: "Edit"
|
|
244
236
|
}
|
|
245
237
|
}
|
|
246
|
-
}
|
|
247
|
-
|
|
248
|
-
{
|
|
249
|
-
header: "Delete",
|
|
250
|
-
field: "Reject_Records",
|
|
251
|
-
size: 150,
|
|
252
|
-
type: "action",
|
|
253
|
-
widget: {
|
|
238
|
+
},
|
|
239
|
+
{
|
|
254
240
|
type: "Control",
|
|
255
241
|
scope: "#/properties/RejectButton",
|
|
256
242
|
options: {
|
|
257
|
-
widget: "
|
|
243
|
+
widget: "Button"
|
|
258
244
|
},
|
|
259
245
|
config: {
|
|
260
246
|
main: {
|
|
261
|
-
|
|
247
|
+
size: "small",
|
|
248
|
+
startIcon: "Bin",
|
|
262
249
|
onClick: "deletePopUpComponent",
|
|
263
|
-
tooltipMessage: "Reject This Record"
|
|
264
|
-
|
|
265
|
-
style: {
|
|
266
|
-
fill: theme.palette.primary.main,
|
|
267
|
-
"& :hover": {
|
|
268
|
-
fill: theme.palette.primary.dark
|
|
269
|
-
}
|
|
250
|
+
tooltipMessage: "Reject This Record",
|
|
251
|
+
name: "Delete"
|
|
270
252
|
}
|
|
271
253
|
}
|
|
272
|
-
}
|
|
273
|
-
|
|
274
|
-
{
|
|
275
|
-
header: "Copy",
|
|
276
|
-
field: "Copy_Component",
|
|
277
|
-
flex: 1,
|
|
278
|
-
widget: {
|
|
254
|
+
},
|
|
255
|
+
{
|
|
279
256
|
type: "Control",
|
|
280
257
|
scope: "#/properties/Copy_Component",
|
|
281
258
|
options: {
|
|
282
|
-
widget: "
|
|
259
|
+
widget: "Button"
|
|
283
260
|
},
|
|
284
261
|
config: {
|
|
285
262
|
main: {
|
|
286
|
-
|
|
263
|
+
size: "small",
|
|
264
|
+
startIcon: "FileCopyIcon",
|
|
287
265
|
onClick: "copyPasteElement",
|
|
288
|
-
styleDefault:
|
|
266
|
+
styleDefault: false,
|
|
267
|
+
name: "Copy"
|
|
289
268
|
}
|
|
290
269
|
}
|
|
291
270
|
}
|
|
271
|
+
]
|
|
272
|
+
},
|
|
273
|
+
elements: [
|
|
274
|
+
{
|
|
275
|
+
accessorKey: "name",
|
|
276
|
+
header: "Name",
|
|
277
|
+
size: 300,
|
|
278
|
+
type: "string"
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
accessorKey: "type",
|
|
282
|
+
header: "Type",
|
|
283
|
+
size: 300,
|
|
284
|
+
type: "string"
|
|
292
285
|
}
|
|
293
286
|
]
|
|
294
287
|
},
|
|
@@ -361,93 +354,70 @@ const PageMasterUiSchema = (theme) => {
|
|
|
361
354
|
disableAction: true,
|
|
362
355
|
disableSelection: true,
|
|
363
356
|
enableDrag: true
|
|
364
|
-
}
|
|
365
|
-
},
|
|
366
|
-
elements: [
|
|
367
|
-
{
|
|
368
|
-
accessorKey: "eventType",
|
|
369
|
-
header: "Event's Type",
|
|
370
|
-
size: 300,
|
|
371
|
-
type: "string"
|
|
372
|
-
},
|
|
373
|
-
{
|
|
374
|
-
accessorKey: "Handler",
|
|
375
|
-
header: "Handler",
|
|
376
|
-
size: 200,
|
|
377
|
-
type: "string"
|
|
378
357
|
},
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
header: "Edit",
|
|
382
|
-
type: "action",
|
|
383
|
-
size: 150,
|
|
384
|
-
widget: {
|
|
358
|
+
action: [
|
|
359
|
+
{
|
|
385
360
|
type: "Control",
|
|
386
361
|
scope: "#/properties/Edit_Records",
|
|
387
362
|
options: {
|
|
388
|
-
widget: "
|
|
363
|
+
widget: "Button"
|
|
389
364
|
},
|
|
390
365
|
config: {
|
|
391
366
|
main: {
|
|
392
367
|
size: "small",
|
|
393
|
-
|
|
368
|
+
startIcon: "EditIcon",
|
|
394
369
|
tooltipMessage: "Edit This Record",
|
|
395
|
-
onClick: "editEvent"
|
|
396
|
-
|
|
397
|
-
style: {
|
|
398
|
-
fill: theme.palette.primary.main,
|
|
399
|
-
"& :hover": {
|
|
400
|
-
fill: theme.palette.primary.dark
|
|
401
|
-
}
|
|
370
|
+
onClick: "editEvent",
|
|
371
|
+
name: "Edit"
|
|
402
372
|
}
|
|
403
373
|
}
|
|
404
|
-
}
|
|
405
|
-
|
|
406
|
-
{
|
|
407
|
-
accessorKey: "Reject_Records",
|
|
408
|
-
header: "Delete",
|
|
409
|
-
type: "action",
|
|
410
|
-
size: 150,
|
|
411
|
-
widget: {
|
|
374
|
+
},
|
|
375
|
+
{
|
|
412
376
|
type: "Control",
|
|
413
377
|
scope: "#/properties/RejectButton",
|
|
414
378
|
options: {
|
|
415
|
-
widget: "
|
|
379
|
+
widget: "Button"
|
|
416
380
|
},
|
|
417
381
|
config: {
|
|
418
382
|
main: {
|
|
419
|
-
|
|
383
|
+
size: "small",
|
|
384
|
+
startIcon: "Bin",
|
|
420
385
|
tooltipMessage: "Reject This Record",
|
|
421
|
-
onClick: "deletePopUpEvent"
|
|
422
|
-
|
|
423
|
-
style: {
|
|
424
|
-
fill: theme.palette.primary.main,
|
|
425
|
-
"& :hover": {
|
|
426
|
-
fill: theme.palette.primary.dark
|
|
427
|
-
}
|
|
386
|
+
onClick: "deletePopUpEvent",
|
|
387
|
+
name: "Delete"
|
|
428
388
|
}
|
|
429
389
|
}
|
|
430
|
-
}
|
|
431
|
-
|
|
432
|
-
{
|
|
433
|
-
header: "Copy",
|
|
434
|
-
field: "Copy_Event",
|
|
435
|
-
type: "action",
|
|
436
|
-
size: 150,
|
|
437
|
-
widget: {
|
|
390
|
+
},
|
|
391
|
+
{
|
|
438
392
|
type: "Control",
|
|
439
393
|
scope: "#/properties/Copy_Event",
|
|
440
394
|
options: {
|
|
441
|
-
widget: "
|
|
395
|
+
widget: "Button"
|
|
442
396
|
},
|
|
443
397
|
config: {
|
|
444
398
|
main: {
|
|
445
|
-
|
|
399
|
+
size: "small",
|
|
400
|
+
startIcon: "FileCopyIcon",
|
|
446
401
|
onClick: "copyPasteElement",
|
|
447
|
-
styleDefault: true
|
|
402
|
+
styleDefault: true,
|
|
403
|
+
name: "Copy"
|
|
448
404
|
}
|
|
449
405
|
}
|
|
450
406
|
}
|
|
407
|
+
]
|
|
408
|
+
},
|
|
409
|
+
elements: [
|
|
410
|
+
{
|
|
411
|
+
accessorKey: "eventType",
|
|
412
|
+
header: "Event's Type",
|
|
413
|
+
size: 300,
|
|
414
|
+
type: "string"
|
|
415
|
+
},
|
|
416
|
+
{
|
|
417
|
+
accessorKey: "Handler",
|
|
418
|
+
header: "Handler",
|
|
419
|
+
size: 200,
|
|
420
|
+
type: "string"
|
|
451
421
|
}
|
|
452
422
|
]
|
|
453
423
|
}
|
|
@@ -6256,6 +6226,7 @@ const ComponentSchema = {
|
|
|
6256
6226
|
{ title: "Data Card", const: "card" },
|
|
6257
6227
|
{ title: "Check Box", const: "CheckBox" },
|
|
6258
6228
|
{ title: "Container", const: "WrapperSection" },
|
|
6229
|
+
{ title: "Tab Container", const: "HorizontalLayout" },
|
|
6259
6230
|
{ title: "Data Grid", const: "DataGrid" },
|
|
6260
6231
|
{ title: "Date", const: "Date" },
|
|
6261
6232
|
{ title: "Time Stamp", const: "DateTime" },
|
|
@@ -6263,6 +6234,7 @@ const ComponentSchema = {
|
|
|
6263
6234
|
{ title: "Empty Box", const: "EmptyBox" },
|
|
6264
6235
|
{ title: "File Handler", const: "FileInput" },
|
|
6265
6236
|
{ title: "Graph", const: "Graph" },
|
|
6237
|
+
{ title: "Image", const: "Image" },
|
|
6266
6238
|
{ title: "Input Slider", const: "InputSlider" },
|
|
6267
6239
|
{ title: "Label", const: "Box" },
|
|
6268
6240
|
{ title: "Leaderboard", const: "LeaderBoard" },
|
|
@@ -6304,6 +6276,13 @@ const ComponentSchema = {
|
|
|
6304
6276
|
{ title: "Amount Column", const: "amount" }
|
|
6305
6277
|
]
|
|
6306
6278
|
},
|
|
6279
|
+
variant: {
|
|
6280
|
+
oneOf: [
|
|
6281
|
+
{ title: "Outlined", const: "outlined" },
|
|
6282
|
+
{ title: "Filled", const: "filled" },
|
|
6283
|
+
{ title: "Standard", const: "standard" }
|
|
6284
|
+
]
|
|
6285
|
+
},
|
|
6307
6286
|
orientation: {
|
|
6308
6287
|
oneOf: [
|
|
6309
6288
|
{ title: "Horizontal", const: "horizontal" },
|
|
@@ -6386,20 +6365,6 @@ const ComponentSchema = {
|
|
|
6386
6365
|
}
|
|
6387
6366
|
}
|
|
6388
6367
|
},
|
|
6389
|
-
events: {
|
|
6390
|
-
type: "array",
|
|
6391
|
-
items: {
|
|
6392
|
-
type: "object",
|
|
6393
|
-
properties: {
|
|
6394
|
-
eventType: {
|
|
6395
|
-
type: "string"
|
|
6396
|
-
},
|
|
6397
|
-
configType: {
|
|
6398
|
-
type: "string"
|
|
6399
|
-
}
|
|
6400
|
-
}
|
|
6401
|
-
}
|
|
6402
|
-
},
|
|
6403
6368
|
sectionLabels: {
|
|
6404
6369
|
type: "array",
|
|
6405
6370
|
items: {
|
|
@@ -6564,7 +6529,34 @@ const ComponentSchema = {
|
|
|
6564
6529
|
{ title: "Error Icon", const: "ErrorIcon" },
|
|
6565
6530
|
{ title: "Refresh Icon", const: "RefreshIcon" },
|
|
6566
6531
|
{ title: "Download Icon", const: "DownloadIcon" },
|
|
6567
|
-
{ title: "
|
|
6532
|
+
{ title: "Download All Icon", const: "DownloadAllIcon" },
|
|
6533
|
+
{ title: "Exception Icon", const: "ExceptionIcon" },
|
|
6534
|
+
{ "title": "Alarm Icon", "const": "AlarmIcon" },
|
|
6535
|
+
{ "title": "Click Icon", "const": "ClickIcon" },
|
|
6536
|
+
{ "title": "Content Copy Icon", "const": "ContentCopyIcon" },
|
|
6537
|
+
{ "title": "File Copy Icon", "const": "FileCopyIcon" },
|
|
6538
|
+
{ "title": "Pause Icon", "const": "PauseIcon" },
|
|
6539
|
+
{ "title": "Play Icon", "const": "PlayIcon" },
|
|
6540
|
+
{ "title": "Close Icon", "const": "CloseIcon" },
|
|
6541
|
+
{ "title": "Replay Icon", "const": "ReplayIcon" },
|
|
6542
|
+
{ "title": "Delete Icon", "const": "DeleteIcon" },
|
|
6543
|
+
{ "title": "Drafts Icon", "const": "DraftsIcon" },
|
|
6544
|
+
{ "title": "Perm Phone Msg Icon", "const": "PermPhoneMsgIcon" },
|
|
6545
|
+
{ "title": "Paste Icon", "const": "PasteIcon" },
|
|
6546
|
+
{ "title": "Prev Icon", "const": "PrevIcon" },
|
|
6547
|
+
{ "title": "Verified Icon", "const": "VerifiedIcon" },
|
|
6548
|
+
{ "title": "Table Add Icon", "const": "TableAddIcon" },
|
|
6549
|
+
{ "title": "Table Download Icon", "const": "TableDownloadIcon" },
|
|
6550
|
+
{ "title": "Audit Trail Icon", "const": "AuditTrailIcon" },
|
|
6551
|
+
{ "title": "View Component", "const": "View" },
|
|
6552
|
+
{ "title": "Table Edit Icon", "const": "TableEditIcon" },
|
|
6553
|
+
{ "title": "Maximize Icon", "const": "Maximize" },
|
|
6554
|
+
{ "title": "Minimize Icon", "const": "Minimize" },
|
|
6555
|
+
{ "title": "Subtract Icon", "const": "Subtract" },
|
|
6556
|
+
{ "title": "Bin Icon", "const": "Bin" },
|
|
6557
|
+
{ "title": "Export Icon", "const": "Export" },
|
|
6558
|
+
{ "title": "Table Paste Icon", "const": "TablePaste" },
|
|
6559
|
+
{ "title": "Clone Icon", "const": "CloneIcon" }
|
|
6568
6560
|
]
|
|
6569
6561
|
},
|
|
6570
6562
|
color: {
|
|
@@ -6693,53 +6685,64 @@ const componentBasicUiSchema = (theme) => {
|
|
|
6693
6685
|
{
|
|
6694
6686
|
type: "Control",
|
|
6695
6687
|
scope: "#/properties/layout",
|
|
6696
|
-
|
|
6697
|
-
|
|
6698
|
-
|
|
6699
|
-
|
|
6700
|
-
|
|
6701
|
-
|
|
6702
|
-
|
|
6703
|
-
|
|
6704
|
-
|
|
6705
|
-
|
|
6706
|
-
|
|
6707
|
-
|
|
6708
|
-
|
|
6709
|
-
|
|
6710
|
-
|
|
6711
|
-
|
|
6712
|
-
|
|
6713
|
-
|
|
6714
|
-
|
|
6715
|
-
|
|
6716
|
-
|
|
6717
|
-
|
|
6718
|
-
|
|
6719
|
-
|
|
6720
|
-
|
|
6721
|
-
|
|
6722
|
-
|
|
6723
|
-
|
|
6724
|
-
|
|
6725
|
-
|
|
6726
|
-
|
|
6727
|
-
|
|
6728
|
-
|
|
6729
|
-
|
|
6730
|
-
|
|
6731
|
-
|
|
6732
|
-
|
|
6733
|
-
|
|
6734
|
-
|
|
6735
|
-
|
|
6736
|
-
|
|
6737
|
-
|
|
6738
|
-
|
|
6688
|
+
config: {
|
|
6689
|
+
layout: 12,
|
|
6690
|
+
main: {
|
|
6691
|
+
label: "Layout",
|
|
6692
|
+
childElementLabel: "Layout"
|
|
6693
|
+
},
|
|
6694
|
+
style: {
|
|
6695
|
+
marginLeft: "-24px",
|
|
6696
|
+
marginBottom: "24px !important",
|
|
6697
|
+
labelStyle: {
|
|
6698
|
+
marginLeft: "24px"
|
|
6699
|
+
},
|
|
6700
|
+
detailsStyle: {
|
|
6701
|
+
marginLeft: "24px"
|
|
6702
|
+
}
|
|
6703
|
+
}
|
|
6704
|
+
},
|
|
6705
|
+
elements: [
|
|
6706
|
+
{
|
|
6707
|
+
type: "Control",
|
|
6708
|
+
scope: "#/properties/key",
|
|
6709
|
+
options: {
|
|
6710
|
+
widget: "SelectInputField"
|
|
6711
|
+
},
|
|
6712
|
+
config: {
|
|
6713
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
6714
|
+
main: {
|
|
6715
|
+
label: "Screen Size"
|
|
6716
|
+
}
|
|
6717
|
+
}
|
|
6718
|
+
},
|
|
6719
|
+
{
|
|
6720
|
+
type: "Control",
|
|
6721
|
+
scope: "#/properties/value",
|
|
6722
|
+
options: {
|
|
6723
|
+
widget: "InputField"
|
|
6724
|
+
},
|
|
6725
|
+
config: {
|
|
6726
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
6727
|
+
main: {
|
|
6728
|
+
label: "Value",
|
|
6729
|
+
type: "number",
|
|
6730
|
+
helperText: "Number should be in range of 0 to 12",
|
|
6731
|
+
errorMessage: "Number Can't be greater than 12 and can't be less than 0."
|
|
6739
6732
|
}
|
|
6740
|
-
|
|
6733
|
+
}
|
|
6734
|
+
},
|
|
6735
|
+
{
|
|
6736
|
+
type: "Control",
|
|
6737
|
+
scope: "#/properties/proc",
|
|
6738
|
+
config: {
|
|
6739
|
+
layout: { xs: 0, sm: 0, md: 4, lg: 4 }
|
|
6740
|
+
},
|
|
6741
|
+
options: {
|
|
6742
|
+
widget: "EmptyBox"
|
|
6743
|
+
}
|
|
6741
6744
|
}
|
|
6742
|
-
|
|
6745
|
+
]
|
|
6743
6746
|
}
|
|
6744
6747
|
]
|
|
6745
6748
|
}
|
|
@@ -7204,54 +7207,64 @@ const CoreSection = {
|
|
|
7204
7207
|
{
|
|
7205
7208
|
type: "Control",
|
|
7206
7209
|
scope: "#/properties/layout",
|
|
7207
|
-
|
|
7208
|
-
|
|
7209
|
-
|
|
7210
|
-
|
|
7211
|
-
|
|
7212
|
-
|
|
7213
|
-
|
|
7214
|
-
|
|
7215
|
-
|
|
7216
|
-
|
|
7217
|
-
|
|
7218
|
-
|
|
7219
|
-
|
|
7220
|
-
|
|
7221
|
-
|
|
7222
|
-
|
|
7223
|
-
|
|
7224
|
-
|
|
7225
|
-
|
|
7226
|
-
|
|
7227
|
-
|
|
7228
|
-
|
|
7229
|
-
|
|
7230
|
-
|
|
7231
|
-
|
|
7232
|
-
|
|
7233
|
-
|
|
7234
|
-
|
|
7235
|
-
label: "Value",
|
|
7236
|
-
type: "number",
|
|
7237
|
-
helperText: "Number should be in range of 0 to 12",
|
|
7238
|
-
errorMessage: "Number Can't be greater than 12 and can't be less than 0."
|
|
7239
|
-
}
|
|
7240
|
-
}
|
|
7241
|
-
},
|
|
7242
|
-
{
|
|
7243
|
-
type: "Control",
|
|
7244
|
-
scope: "#/properties/proc",
|
|
7245
|
-
config: {
|
|
7246
|
-
layout: { xs: 0, sm: 0, md: 4, lg: 4 }
|
|
7247
|
-
},
|
|
7248
|
-
options: {
|
|
7249
|
-
widget: "EmptyBox"
|
|
7250
|
-
}
|
|
7210
|
+
config: {
|
|
7211
|
+
layout: 12,
|
|
7212
|
+
main: {
|
|
7213
|
+
label: "Layout",
|
|
7214
|
+
childElementLabel: "Layout"
|
|
7215
|
+
},
|
|
7216
|
+
style: {
|
|
7217
|
+
marginLeft: "-24px",
|
|
7218
|
+
marginBottom: "24px !important",
|
|
7219
|
+
labelStyle: {
|
|
7220
|
+
marginLeft: "24px"
|
|
7221
|
+
},
|
|
7222
|
+
detailsStyle: {
|
|
7223
|
+
marginLeft: "24px"
|
|
7224
|
+
}
|
|
7225
|
+
}
|
|
7226
|
+
},
|
|
7227
|
+
elements: [
|
|
7228
|
+
{
|
|
7229
|
+
type: "Control",
|
|
7230
|
+
scope: "#/properties/key",
|
|
7231
|
+
options: {
|
|
7232
|
+
widget: "SelectInputField"
|
|
7233
|
+
},
|
|
7234
|
+
config: {
|
|
7235
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
7236
|
+
main: {
|
|
7237
|
+
label: "Screen Size"
|
|
7251
7238
|
}
|
|
7252
|
-
|
|
7239
|
+
}
|
|
7240
|
+
},
|
|
7241
|
+
{
|
|
7242
|
+
type: "Control",
|
|
7243
|
+
scope: "#/properties/value",
|
|
7244
|
+
options: {
|
|
7245
|
+
widget: "InputField"
|
|
7246
|
+
},
|
|
7247
|
+
config: {
|
|
7248
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
7249
|
+
main: {
|
|
7250
|
+
label: "Value",
|
|
7251
|
+
type: "number",
|
|
7252
|
+
helperText: "Number should be in range of 0 to 12",
|
|
7253
|
+
errorMessage: "Number Can't be greater than 12 and can't be less than 0."
|
|
7254
|
+
}
|
|
7255
|
+
}
|
|
7256
|
+
},
|
|
7257
|
+
{
|
|
7258
|
+
type: "Control",
|
|
7259
|
+
scope: "#/properties/proc",
|
|
7260
|
+
config: {
|
|
7261
|
+
layout: { xs: 0, sm: 0, md: 4, lg: 4 }
|
|
7262
|
+
},
|
|
7263
|
+
options: {
|
|
7264
|
+
widget: "EmptyBox"
|
|
7265
|
+
}
|
|
7253
7266
|
}
|
|
7254
|
-
|
|
7267
|
+
]
|
|
7255
7268
|
}
|
|
7256
7269
|
]
|
|
7257
7270
|
};
|
|
@@ -7328,95 +7341,71 @@ const EventSection = (theme) => {
|
|
|
7328
7341
|
disableAction: true,
|
|
7329
7342
|
disableSelection: true,
|
|
7330
7343
|
enableDrag: true
|
|
7331
|
-
}
|
|
7332
|
-
},
|
|
7333
|
-
elements: [
|
|
7334
|
-
{
|
|
7335
|
-
accessorKey: "eventType",
|
|
7336
|
-
header: "Event's Type",
|
|
7337
|
-
type: "string",
|
|
7338
|
-
size: 300
|
|
7339
7344
|
},
|
|
7340
|
-
|
|
7341
|
-
|
|
7342
|
-
header: "Handler",
|
|
7343
|
-
type: "string",
|
|
7344
|
-
size: 200
|
|
7345
|
-
},
|
|
7346
|
-
{
|
|
7347
|
-
accessorKey: "Edit_Approve_Records",
|
|
7348
|
-
header: "Edit",
|
|
7349
|
-
size: 150,
|
|
7350
|
-
type: "action",
|
|
7351
|
-
widget: {
|
|
7345
|
+
action: [
|
|
7346
|
+
{
|
|
7352
7347
|
type: "Control",
|
|
7353
7348
|
scope: "#/properties/Edit_Records",
|
|
7354
7349
|
options: {
|
|
7355
|
-
widget: "
|
|
7350
|
+
widget: "Button"
|
|
7356
7351
|
},
|
|
7357
7352
|
config: {
|
|
7358
7353
|
main: {
|
|
7359
7354
|
size: "small",
|
|
7360
|
-
|
|
7355
|
+
startIcon: "EditIcon",
|
|
7361
7356
|
tooltipMessage: "Edit This Record",
|
|
7362
|
-
onClick: "eventEditHandler"
|
|
7363
|
-
|
|
7364
|
-
style: {
|
|
7365
|
-
fill: theme.palette.primary.main,
|
|
7366
|
-
"& :hover": {
|
|
7367
|
-
fill: theme.palette.primary.dark
|
|
7368
|
-
}
|
|
7357
|
+
onClick: "eventEditHandler",
|
|
7358
|
+
name: "Edit"
|
|
7369
7359
|
}
|
|
7370
7360
|
}
|
|
7371
|
-
}
|
|
7372
|
-
|
|
7373
|
-
{
|
|
7374
|
-
accessorKey: "Reject_Records",
|
|
7375
|
-
header: "Delete",
|
|
7376
|
-
size: 150,
|
|
7377
|
-
type: "action",
|
|
7378
|
-
widget: {
|
|
7361
|
+
},
|
|
7362
|
+
{
|
|
7379
7363
|
type: "Control",
|
|
7380
7364
|
scope: "#/properties/RejectButton",
|
|
7381
7365
|
accessorKeyName: "Reject_Records",
|
|
7382
7366
|
options: {
|
|
7383
|
-
widget: "
|
|
7367
|
+
widget: "Button"
|
|
7384
7368
|
},
|
|
7385
7369
|
config: {
|
|
7386
7370
|
main: {
|
|
7387
|
-
|
|
7371
|
+
startIcon: "Bin",
|
|
7388
7372
|
tooltipMessage: "Reject This Record",
|
|
7389
|
-
onClick: "deletePopUpEvent"
|
|
7390
|
-
|
|
7391
|
-
|
|
7392
|
-
fill: theme.palette.primary.main,
|
|
7393
|
-
"& :hover": {
|
|
7394
|
-
fill: theme.palette.primary.dark
|
|
7395
|
-
}
|
|
7373
|
+
onClick: "deletePopUpEvent",
|
|
7374
|
+
name: "Delete",
|
|
7375
|
+
size: "small"
|
|
7396
7376
|
}
|
|
7397
7377
|
}
|
|
7398
|
-
}
|
|
7399
|
-
|
|
7400
|
-
{
|
|
7401
|
-
header: "Copy",
|
|
7402
|
-
field: "Copy_Event",
|
|
7403
|
-
size: 150,
|
|
7404
|
-
type: "action",
|
|
7405
|
-
widget: {
|
|
7378
|
+
},
|
|
7379
|
+
{
|
|
7406
7380
|
type: "Control",
|
|
7407
7381
|
scope: "#/properties/Copy_Event",
|
|
7408
7382
|
options: {
|
|
7409
|
-
widget: "
|
|
7383
|
+
widget: "Button"
|
|
7410
7384
|
},
|
|
7411
7385
|
config: {
|
|
7412
7386
|
main: {
|
|
7413
|
-
|
|
7387
|
+
startIcon: "FileCopyIcon",
|
|
7414
7388
|
onClick: "copyPasteElement",
|
|
7415
7389
|
tooltipMessage: "Reject This Record",
|
|
7416
|
-
styleDefault:
|
|
7390
|
+
styleDefault: false,
|
|
7391
|
+
name: "Copy"
|
|
7417
7392
|
}
|
|
7418
7393
|
}
|
|
7419
7394
|
}
|
|
7395
|
+
]
|
|
7396
|
+
},
|
|
7397
|
+
elements: [
|
|
7398
|
+
{
|
|
7399
|
+
accessorKey: "eventType",
|
|
7400
|
+
header: "Event's Type",
|
|
7401
|
+
type: "string",
|
|
7402
|
+
size: 300
|
|
7403
|
+
},
|
|
7404
|
+
{
|
|
7405
|
+
accessorKey: "Handler",
|
|
7406
|
+
header: "Handler",
|
|
7407
|
+
type: "string",
|
|
7408
|
+
size: 200
|
|
7420
7409
|
}
|
|
7421
7410
|
]
|
|
7422
7411
|
}
|
|
@@ -7451,44 +7440,55 @@ const emptyBox$1 = (scope, layout) => {
|
|
|
7451
7440
|
const cardLayout = {
|
|
7452
7441
|
type: "Control",
|
|
7453
7442
|
scope: "#/properties/cardLayout",
|
|
7454
|
-
|
|
7455
|
-
|
|
7456
|
-
|
|
7457
|
-
|
|
7458
|
-
|
|
7459
|
-
|
|
7460
|
-
|
|
7461
|
-
|
|
7462
|
-
|
|
7463
|
-
|
|
7464
|
-
|
|
7465
|
-
|
|
7466
|
-
|
|
7467
|
-
|
|
7468
|
-
|
|
7469
|
-
}
|
|
7470
|
-
}
|
|
7471
|
-
},
|
|
7472
|
-
{
|
|
7473
|
-
type: "Control",
|
|
7474
|
-
scope: "#/properties/value",
|
|
7475
|
-
options: {
|
|
7476
|
-
widget: "InputField"
|
|
7477
|
-
},
|
|
7478
|
-
config: {
|
|
7479
|
-
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
7480
|
-
main: {
|
|
7481
|
-
label: "Value",
|
|
7482
|
-
type: "number",
|
|
7483
|
-
helperText: "Number should be in range of 0 to 12",
|
|
7484
|
-
errorMessage: "Number Can't be greater than 12 and can't be less than 0."
|
|
7485
|
-
}
|
|
7486
|
-
}
|
|
7487
|
-
},
|
|
7488
|
-
emptyBox$1("cardEmpty")
|
|
7489
|
-
]
|
|
7443
|
+
config: {
|
|
7444
|
+
layout: 12,
|
|
7445
|
+
main: {
|
|
7446
|
+
label: "Card Layout",
|
|
7447
|
+
childElementLabel: "Card Layout"
|
|
7448
|
+
},
|
|
7449
|
+
style: {
|
|
7450
|
+
marginLeft: "-24px",
|
|
7451
|
+
marginBottom: "24px !important",
|
|
7452
|
+
labelStyle: {
|
|
7453
|
+
marginLeft: "24px"
|
|
7454
|
+
},
|
|
7455
|
+
detailsStyle: {
|
|
7456
|
+
marginLeft: "24px"
|
|
7457
|
+
}
|
|
7490
7458
|
}
|
|
7491
|
-
}
|
|
7459
|
+
},
|
|
7460
|
+
elements: [
|
|
7461
|
+
{
|
|
7462
|
+
type: "Control",
|
|
7463
|
+
scope: "#/properties/key",
|
|
7464
|
+
options: {
|
|
7465
|
+
widget: "SelectInputField"
|
|
7466
|
+
},
|
|
7467
|
+
config: {
|
|
7468
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 3 },
|
|
7469
|
+
main: {
|
|
7470
|
+
label: "Screen Size"
|
|
7471
|
+
}
|
|
7472
|
+
}
|
|
7473
|
+
},
|
|
7474
|
+
{
|
|
7475
|
+
type: "Control",
|
|
7476
|
+
scope: "#/properties/value",
|
|
7477
|
+
options: {
|
|
7478
|
+
widget: "InputField"
|
|
7479
|
+
},
|
|
7480
|
+
config: {
|
|
7481
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
7482
|
+
main: {
|
|
7483
|
+
label: "Value",
|
|
7484
|
+
type: "number",
|
|
7485
|
+
helperText: "Number should be in range of 0 to 12",
|
|
7486
|
+
errorMessage: "Number Can't be greater than 12 and can't be less than 0."
|
|
7487
|
+
}
|
|
7488
|
+
}
|
|
7489
|
+
},
|
|
7490
|
+
emptyBox$1("cardEmpty")
|
|
7491
|
+
]
|
|
7492
7492
|
};
|
|
7493
7493
|
const getArrayControl = (parentScope, childScope, childLabel) => {
|
|
7494
7494
|
return {
|
|
@@ -7654,6 +7654,16 @@ const BaseSection = {
|
|
|
7654
7654
|
const buildPropertiesSection = function(type) {
|
|
7655
7655
|
let uiSchema = _.cloneDeep(BaseSection);
|
|
7656
7656
|
switch (type) {
|
|
7657
|
+
case "Array":
|
|
7658
|
+
uiSchema.elements = [
|
|
7659
|
+
getRadioInputField("allExpanded", "Initial Expand", ["YES", "NO"]),
|
|
7660
|
+
getRadioInputField("disableAddButton", "Disable Add Button", ["YES", "NO"]),
|
|
7661
|
+
getRadioInputField("disableExpandAllButton", "Disable Expand Buttons", ["YES", "NO"]),
|
|
7662
|
+
getRadioInputField("disableRowActions", "Disable Row Actions", ["YES", "NO"]),
|
|
7663
|
+
getInputField("childElementLabel", "Child Element Label"),
|
|
7664
|
+
emptyBox$1("empty1", { xs: 12, sm: 6, md: 4, lg: 3 })
|
|
7665
|
+
];
|
|
7666
|
+
break;
|
|
7657
7667
|
case "TreeMap":
|
|
7658
7668
|
uiSchema.elements = [
|
|
7659
7669
|
getSelectField("orientation", "orientation"),
|
|
@@ -7708,8 +7718,10 @@ const buildPropertiesSection = function(type) {
|
|
|
7708
7718
|
uiSchema.elements = [
|
|
7709
7719
|
getInputField("placeholder", "Placeholder"),
|
|
7710
7720
|
getRadioInputField("multiline", "Multiline", ["YES", "NO"]),
|
|
7711
|
-
|
|
7712
|
-
|
|
7721
|
+
getSelectField("variant", "Variant"),
|
|
7722
|
+
emptyBox$1("TextEmpty1", { xs: 6, sm: 6, md: 0, lg: 3 }),
|
|
7723
|
+
getArrayControl("InputFormatingAndMasking", "formatElement", "Format Element"),
|
|
7724
|
+
getInputField("keyName", "Event Key Name")
|
|
7713
7725
|
];
|
|
7714
7726
|
break;
|
|
7715
7727
|
case "TextArea":
|
|
@@ -7784,6 +7796,12 @@ const buildPropertiesSection = function(type) {
|
|
|
7784
7796
|
emptyBox$1("ButtonEmpty1", { xs: 6, sm: 6, md: 4, lg: 4 })
|
|
7785
7797
|
];
|
|
7786
7798
|
break;
|
|
7799
|
+
case "Box":
|
|
7800
|
+
uiSchema.elements = [
|
|
7801
|
+
getSelectField("iconName", "Icon Name"),
|
|
7802
|
+
emptyBox$1("BoxEmpty1", { xs: 6, sm: 6, md: 4, lg: 8 })
|
|
7803
|
+
];
|
|
7804
|
+
break;
|
|
7787
7805
|
case "Graph":
|
|
7788
7806
|
uiSchema.elements = [
|
|
7789
7807
|
getInputField("height", "Height"),
|
|
@@ -7842,6 +7860,7 @@ const buildPropertiesSection = function(type) {
|
|
|
7842
7860
|
getRadioInputField("enableExpanding", "Row Expanding", ["YES", "NO"]),
|
|
7843
7861
|
getRadioInputField("paginateExpandedRows", "Multi Page Expansion", ["YES", "NO"]),
|
|
7844
7862
|
getRadioInputField("treeStructure", "Flat Tree Structure", ["YES", "NO"]),
|
|
7863
|
+
getRadioInputField("filterFromLeafRows", "Filter from tree rows", ["YES", "NO"]),
|
|
7845
7864
|
emptyBox$1("LazyLoadingTableEmpty2"),
|
|
7846
7865
|
emptyBox$1("LazyLoadingTableEmpty3")
|
|
7847
7866
|
]),
|
|
@@ -7859,21 +7878,47 @@ const buildPropertiesSection = function(type) {
|
|
|
7859
7878
|
uiSchema.elements = [
|
|
7860
7879
|
getRadioInputField("lazyLoading", "Lazy Loading", ["YES", "NO"]),
|
|
7861
7880
|
getRadioInputField("freeSolo", "FreeSolo", ["YES", "NO"]),
|
|
7881
|
+
getSelectField("variant", "Variant"),
|
|
7862
7882
|
emptyBox$1("SelectEmpty")
|
|
7863
7883
|
];
|
|
7864
7884
|
break;
|
|
7865
7885
|
case "MultipleSelect":
|
|
7866
7886
|
uiSchema.elements = [
|
|
7867
7887
|
getRadioInputField("lazyLoading", "Lazy Loading", ["YES", "NO"]),
|
|
7888
|
+
getSelectField("variant", "Variant"),
|
|
7868
7889
|
emptyBox$1("MultipleSelectEmpty1", { xs: 0, sm: 6, md: 4, lg: 4 }),
|
|
7869
7890
|
emptyBox$1("MultipleSelectEmpty2")
|
|
7870
7891
|
];
|
|
7871
7892
|
break;
|
|
7893
|
+
case "Date":
|
|
7894
|
+
uiSchema.elements = [
|
|
7895
|
+
getSelectField("variant", "Variant"),
|
|
7896
|
+
emptyBox$1("DateEmpty1", { xs: 6, sm: 6, md: 8, lg: 9 })
|
|
7897
|
+
];
|
|
7898
|
+
break;
|
|
7899
|
+
case "DateTime":
|
|
7900
|
+
uiSchema.elements = [
|
|
7901
|
+
getSelectField("variant", "Variant"),
|
|
7902
|
+
emptyBox$1("DateTimeEmpty1", { xs: 6, sm: 6, md: 8, lg: 9 })
|
|
7903
|
+
];
|
|
7904
|
+
break;
|
|
7872
7905
|
case "Thought":
|
|
7873
7906
|
uiSchema.elements = [
|
|
7874
7907
|
getTextArea("thought", "Today's thought", false)
|
|
7875
7908
|
];
|
|
7876
7909
|
break;
|
|
7910
|
+
case "Image":
|
|
7911
|
+
uiSchema.elements = [
|
|
7912
|
+
getInputField("imageUrl", "Image URL"),
|
|
7913
|
+
getInputField("height", "Image Height"),
|
|
7914
|
+
emptyBox$1("imageEmpty", { xs: 0, sm: 0, md: 4, lg: 6 })
|
|
7915
|
+
];
|
|
7916
|
+
break;
|
|
7917
|
+
case "FileInput":
|
|
7918
|
+
uiSchema.elements = [
|
|
7919
|
+
getRadioInputField("variant", "Variant", ["Outlined", "Standard"])
|
|
7920
|
+
];
|
|
7921
|
+
break;
|
|
7877
7922
|
}
|
|
7878
7923
|
return uiSchema;
|
|
7879
7924
|
};
|
|
@@ -7984,94 +8029,69 @@ const TableSection = (theme) => {
|
|
|
7984
8029
|
disableAction: true,
|
|
7985
8030
|
disableSelection: true,
|
|
7986
8031
|
enableDrag: true
|
|
7987
|
-
}
|
|
7988
|
-
},
|
|
7989
|
-
elements: [
|
|
7990
|
-
{
|
|
7991
|
-
accessorKey: "name",
|
|
7992
|
-
header: "Name",
|
|
7993
|
-
type: "string",
|
|
7994
|
-
size: 300
|
|
7995
8032
|
},
|
|
7996
|
-
|
|
7997
|
-
|
|
7998
|
-
header: "Type",
|
|
7999
|
-
type: "string",
|
|
8000
|
-
size: 200
|
|
8001
|
-
},
|
|
8002
|
-
{
|
|
8003
|
-
header: "Edit Record",
|
|
8004
|
-
field: "Reject_Records",
|
|
8005
|
-
size: 150,
|
|
8006
|
-
type: "action",
|
|
8007
|
-
widget: {
|
|
8033
|
+
action: [
|
|
8034
|
+
{
|
|
8008
8035
|
type: "Control",
|
|
8009
8036
|
scope: "#/properties/RejectButton",
|
|
8010
8037
|
options: {
|
|
8011
|
-
widget: "
|
|
8038
|
+
widget: "Button"
|
|
8012
8039
|
},
|
|
8013
8040
|
config: {
|
|
8014
8041
|
main: {
|
|
8015
|
-
|
|
8042
|
+
startIcon: "EditIcon",
|
|
8016
8043
|
size: "small",
|
|
8017
8044
|
onClick: "editComponents",
|
|
8018
|
-
tooltipMessage: "Reject This Record"
|
|
8019
|
-
|
|
8020
|
-
style: {
|
|
8021
|
-
fill: theme.palette.primary.main,
|
|
8022
|
-
"& :hover": {
|
|
8023
|
-
fill: theme.palette.primary.dark
|
|
8024
|
-
}
|
|
8045
|
+
tooltipMessage: "Reject This Record",
|
|
8046
|
+
name: "Edit"
|
|
8025
8047
|
}
|
|
8026
8048
|
}
|
|
8027
|
-
}
|
|
8028
|
-
|
|
8029
|
-
{
|
|
8030
|
-
header: "Delete",
|
|
8031
|
-
field: "Reject_Records",
|
|
8032
|
-
size: 150,
|
|
8033
|
-
type: "action",
|
|
8034
|
-
widget: {
|
|
8049
|
+
},
|
|
8050
|
+
{
|
|
8035
8051
|
type: "Control",
|
|
8036
8052
|
scope: "#/properties/RejectButton",
|
|
8037
8053
|
options: {
|
|
8038
|
-
widget: "
|
|
8054
|
+
widget: "Button"
|
|
8039
8055
|
},
|
|
8040
8056
|
config: {
|
|
8041
8057
|
main: {
|
|
8042
|
-
|
|
8058
|
+
startIcon: "Bin",
|
|
8043
8059
|
onClick: "deletePopUpComponent",
|
|
8044
|
-
tooltipMessage: "Reject This Record"
|
|
8045
|
-
|
|
8046
|
-
|
|
8047
|
-
fill: theme.palette.primary.main,
|
|
8048
|
-
"& :hover": {
|
|
8049
|
-
fill: theme.palette.primary.dark
|
|
8050
|
-
}
|
|
8060
|
+
tooltipMessage: "Reject This Record",
|
|
8061
|
+
name: "Delete",
|
|
8062
|
+
size: "small"
|
|
8051
8063
|
}
|
|
8052
8064
|
}
|
|
8053
|
-
}
|
|
8054
|
-
|
|
8055
|
-
{
|
|
8056
|
-
header: "Copy",
|
|
8057
|
-
field: "Copy_Component",
|
|
8058
|
-
size: 150,
|
|
8059
|
-
type: "action",
|
|
8060
|
-
widget: {
|
|
8065
|
+
},
|
|
8066
|
+
{
|
|
8061
8067
|
type: "Control",
|
|
8062
8068
|
scope: "#/properties/Copy_Component",
|
|
8063
8069
|
options: {
|
|
8064
|
-
widget: "
|
|
8070
|
+
widget: "Button"
|
|
8065
8071
|
},
|
|
8066
8072
|
config: {
|
|
8067
8073
|
main: {
|
|
8068
|
-
|
|
8074
|
+
startIcon: "FileCopyIcon",
|
|
8069
8075
|
onClick: "copyPasteElement",
|
|
8070
|
-
styleDefault:
|
|
8071
|
-
|
|
8076
|
+
styleDefault: false,
|
|
8077
|
+
name: "Copy"
|
|
8072
8078
|
}
|
|
8073
8079
|
}
|
|
8074
8080
|
}
|
|
8081
|
+
]
|
|
8082
|
+
},
|
|
8083
|
+
elements: [
|
|
8084
|
+
{
|
|
8085
|
+
accessorKey: "name",
|
|
8086
|
+
header: "Name",
|
|
8087
|
+
type: "string",
|
|
8088
|
+
size: 300
|
|
8089
|
+
},
|
|
8090
|
+
{
|
|
8091
|
+
accessorKey: "type",
|
|
8092
|
+
header: "Type",
|
|
8093
|
+
type: "string",
|
|
8094
|
+
size: 200
|
|
8075
8095
|
}
|
|
8076
8096
|
]
|
|
8077
8097
|
}
|
|
@@ -8091,9 +8111,6 @@ const ValueTab = {
|
|
|
8091
8111
|
{
|
|
8092
8112
|
type: "Control",
|
|
8093
8113
|
scope: "#/properties/value",
|
|
8094
|
-
options: {
|
|
8095
|
-
widget: "Array"
|
|
8096
|
-
},
|
|
8097
8114
|
config: {
|
|
8098
8115
|
layout: 12,
|
|
8099
8116
|
main: {
|
|
@@ -8164,51 +8181,61 @@ const ValidationSection = {
|
|
|
8164
8181
|
{
|
|
8165
8182
|
type: "Control",
|
|
8166
8183
|
scope: "#/properties/validation",
|
|
8167
|
-
|
|
8168
|
-
|
|
8169
|
-
|
|
8170
|
-
|
|
8171
|
-
|
|
8172
|
-
|
|
8173
|
-
|
|
8174
|
-
|
|
8175
|
-
|
|
8176
|
-
|
|
8177
|
-
|
|
8178
|
-
|
|
8179
|
-
|
|
8180
|
-
|
|
8181
|
-
|
|
8182
|
-
|
|
8183
|
-
|
|
8184
|
-
|
|
8185
|
-
|
|
8186
|
-
|
|
8187
|
-
|
|
8188
|
-
|
|
8189
|
-
|
|
8190
|
-
|
|
8191
|
-
|
|
8192
|
-
|
|
8193
|
-
|
|
8194
|
-
|
|
8195
|
-
label: "Validation Value"
|
|
8196
|
-
}
|
|
8197
|
-
}
|
|
8198
|
-
},
|
|
8199
|
-
{
|
|
8200
|
-
type: "Control",
|
|
8201
|
-
scope: "#/properties/emptyBox",
|
|
8202
|
-
options: {
|
|
8203
|
-
widget: "EmptyBox"
|
|
8204
|
-
},
|
|
8205
|
-
config: {
|
|
8206
|
-
layout: { xs: 0, sm: 0, md: 4 }
|
|
8207
|
-
}
|
|
8184
|
+
config: {
|
|
8185
|
+
layout: 12,
|
|
8186
|
+
main: {
|
|
8187
|
+
label: "Validation",
|
|
8188
|
+
childElementLabel: "Validation"
|
|
8189
|
+
},
|
|
8190
|
+
style: {
|
|
8191
|
+
marginLeft: "-24px",
|
|
8192
|
+
marginBottom: "24px !important",
|
|
8193
|
+
labelStyle: {
|
|
8194
|
+
marginLeft: "24px"
|
|
8195
|
+
},
|
|
8196
|
+
detailsStyle: {
|
|
8197
|
+
marginLeft: "24px"
|
|
8198
|
+
}
|
|
8199
|
+
}
|
|
8200
|
+
},
|
|
8201
|
+
elements: [
|
|
8202
|
+
{
|
|
8203
|
+
type: "Control",
|
|
8204
|
+
scope: "#/properties/validationType",
|
|
8205
|
+
options: {
|
|
8206
|
+
widget: "SelectInputField"
|
|
8207
|
+
},
|
|
8208
|
+
config: {
|
|
8209
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
8210
|
+
main: {
|
|
8211
|
+
label: "Validation Type"
|
|
8208
8212
|
}
|
|
8209
|
-
|
|
8213
|
+
}
|
|
8214
|
+
},
|
|
8215
|
+
{
|
|
8216
|
+
type: "Control",
|
|
8217
|
+
scope: "#/properties/validationValue",
|
|
8218
|
+
options: {
|
|
8219
|
+
widget: "InputField"
|
|
8220
|
+
},
|
|
8221
|
+
config: {
|
|
8222
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
8223
|
+
main: {
|
|
8224
|
+
label: "Validation Value"
|
|
8225
|
+
}
|
|
8226
|
+
}
|
|
8227
|
+
},
|
|
8228
|
+
{
|
|
8229
|
+
type: "Control",
|
|
8230
|
+
scope: "#/properties/emptyBox",
|
|
8231
|
+
options: {
|
|
8232
|
+
widget: "EmptyBox"
|
|
8233
|
+
},
|
|
8234
|
+
config: {
|
|
8235
|
+
layout: { xs: 0, sm: 0, md: 4, lg: 4 }
|
|
8236
|
+
}
|
|
8210
8237
|
}
|
|
8211
|
-
|
|
8238
|
+
]
|
|
8212
8239
|
}
|
|
8213
8240
|
]
|
|
8214
8241
|
};
|
|
@@ -8234,22 +8261,21 @@ var buildConfig = (FormData) => {
|
|
|
8234
8261
|
component = { ...formData, ...component };
|
|
8235
8262
|
return component;
|
|
8236
8263
|
};
|
|
8237
|
-
const createLayoutFormat = (
|
|
8238
|
-
if (_.isEmpty(
|
|
8239
|
-
|
|
8240
|
-
|
|
8241
|
-
sm: 12,
|
|
8242
|
-
|
|
8243
|
-
lg:
|
|
8244
|
-
}
|
|
8264
|
+
const createLayoutFormat = (layout, type) => {
|
|
8265
|
+
if (_.isEmpty(layout)) {
|
|
8266
|
+
const fullLayoutComponents = ["WrapperSection", "DataGrid", "LeaderBoard", "PopUp", "TextArea", "TreeMap", "Thought", "HorizontalLayout"];
|
|
8267
|
+
if (fullLayoutComponents.includes(type)) {
|
|
8268
|
+
return { xs: 12, sm: 12, md: 12, lg: 12 };
|
|
8269
|
+
} else if (type === "Graph") {
|
|
8270
|
+
return { xs: 12, sm: 12, md: 12, lg: 6 };
|
|
8271
|
+
} else if (type === "Button") {
|
|
8272
|
+
return { xs: 4, sm: 2.5, md: 2, lg: 1.5 };
|
|
8273
|
+
} else {
|
|
8274
|
+
return { xs: 6, sm: 6, md: 4, lg: 3 };
|
|
8275
|
+
}
|
|
8245
8276
|
}
|
|
8246
|
-
let data = {
|
|
8247
|
-
|
|
8248
|
-
sm: 12,
|
|
8249
|
-
md: 6,
|
|
8250
|
-
lg: 6
|
|
8251
|
-
};
|
|
8252
|
-
config2.map((e) => {
|
|
8277
|
+
let data = {};
|
|
8278
|
+
layout.map((e) => {
|
|
8253
8279
|
data[e.key || "xs"] = +e.value || 5.5;
|
|
8254
8280
|
});
|
|
8255
8281
|
return data;
|
|
@@ -8369,13 +8395,14 @@ const sectionLabels = {
|
|
|
8369
8395
|
Table: ["Core", "Components", "Properties", "Events", "Style", "Validation"],
|
|
8370
8396
|
LeaderBoard: ["Core", "Components", "Properties", "Events", "Style", "Validation"],
|
|
8371
8397
|
WrapperSection: ["Core", "Components", "Properties", "Style", "Validation"],
|
|
8398
|
+
HorizontalLayout: ["Core", "Components", "Properties", "Style", "Validation"],
|
|
8372
8399
|
TabSection: ["Core", "Components", "Properties", "Style", "Validation"],
|
|
8373
8400
|
SpeedoMeter: ["Core", "Properties", "Events", "Style", "Validation"],
|
|
8374
8401
|
card: ["Core", "Properties", "Events", "Style", "Validation"],
|
|
8375
8402
|
UploadFile: ["Core", "Events", "Style", "Validation"],
|
|
8376
8403
|
Graph: ["Core", "Properties", "Events", "Style", "Validation"],
|
|
8377
8404
|
DownloadFile: ["Core", "Events", "Style", "Validation"],
|
|
8378
|
-
Box: ["Core", "Events", "Style", "Validation"],
|
|
8405
|
+
Box: ["Core", "Properties", "Events", "Style", "Validation"],
|
|
8379
8406
|
Properties: ["Core", "Properties", "Events", "Style", "Validation"],
|
|
8380
8407
|
ProgressBarCard: ["Core", "Properties", "Events", "Style", "Validation"],
|
|
8381
8408
|
RankCard: ["Core", "Properties", "Events", "Style", "Validation"],
|
|
@@ -8383,7 +8410,7 @@ const sectionLabels = {
|
|
|
8383
8410
|
Timer: ["Core", "Events", "Style", "Validation"],
|
|
8384
8411
|
Rank: ["Core", "Events", "Style", "Validation"],
|
|
8385
8412
|
Button: ["Core", "Properties", "Events", "Style", "Validation"],
|
|
8386
|
-
Array: ["Core", "Components", "Validation"],
|
|
8413
|
+
Array: ["Core", "Components", "Properties", "Validation"],
|
|
8387
8414
|
Radio: ["Core", "Properties", "Events", "Style", "Validation"],
|
|
8388
8415
|
Text: ["Core", "Properties", "Events", "Style", "Validation"],
|
|
8389
8416
|
TextArea: ["Core", "Properties", "Events", "Style", "Validation"],
|
|
@@ -8393,7 +8420,11 @@ const sectionLabels = {
|
|
|
8393
8420
|
InputSlider: ["Core", "Properties", "Events", "Style", "Validation"],
|
|
8394
8421
|
TreeMap: ["Core", "Components", "Properties", "Events", "Style"],
|
|
8395
8422
|
ColumnGroup: ["Core", "Components"],
|
|
8396
|
-
Thought: ["Core", "Properties", "Events", "Style", "Validation"]
|
|
8423
|
+
Thought: ["Core", "Properties", "Events", "Style", "Validation"],
|
|
8424
|
+
Date: ["Core", "Properties", "Events", "Style", "Validation"],
|
|
8425
|
+
DateTime: ["Core", "Properties", "Events", "Style", "Validation"],
|
|
8426
|
+
Image: ["Core", "Properties", "Style"],
|
|
8427
|
+
FileInput: ["Core", "Properties", "Events", "Style", "Validation"]
|
|
8397
8428
|
};
|
|
8398
8429
|
function refreshPage(type, store2) {
|
|
8399
8430
|
var _a, _b;
|
|
@@ -8417,7 +8448,7 @@ function refreshPage(type, store2) {
|
|
|
8417
8448
|
const lastDotIndex = path.lastIndexOf(".");
|
|
8418
8449
|
const parentPath = path.slice(0, lastDotIndex);
|
|
8419
8450
|
const parentObj = _.get(currentConfig, parentPath);
|
|
8420
|
-
if ((parentObj == null ? void 0 : parentObj.type) === "Table") {
|
|
8451
|
+
if ((parentObj == null ? void 0 : parentObj.type) === "Table" || (parentObj == null ? void 0 : parentObj.type) === "ColumnGroup") {
|
|
8421
8452
|
UiSchema.elements[0].elements[0].elements[4] = {
|
|
8422
8453
|
type: "Control",
|
|
8423
8454
|
scope: "#/properties/columnFormat",
|
|
@@ -8906,11 +8937,14 @@ const EventSchema = {
|
|
|
8906
8937
|
{ title: "Start", const: "onStart" },
|
|
8907
8938
|
{ title: "Cell Render", const: "onCellRenderer" },
|
|
8908
8939
|
{ title: "Upload", const: "onUpload" },
|
|
8940
|
+
{ title: "FileDelete", const: "onFileDelete" },
|
|
8941
|
+
{ title: "Download", const: "onDownload" },
|
|
8909
8942
|
{ title: "Back", const: "onBack" },
|
|
8910
8943
|
{ title: "Next", const: "onNext" },
|
|
8911
8944
|
{ title: "Row Movement", const: "onRowMovement" },
|
|
8912
8945
|
{ title: "Download", const: "onDownload" },
|
|
8913
|
-
{ title: "Fail", const: "Fail" }
|
|
8946
|
+
{ title: "Fail", const: "Fail" },
|
|
8947
|
+
{ title: "Key Down", const: "onKeyDown" }
|
|
8914
8948
|
]
|
|
8915
8949
|
},
|
|
8916
8950
|
Handler: {
|
|
@@ -9086,93 +9120,70 @@ const EventUiSchema = (theme) => {
|
|
|
9086
9120
|
disableAction: true,
|
|
9087
9121
|
disableSelection: true,
|
|
9088
9122
|
enableDrag: true
|
|
9089
|
-
}
|
|
9090
|
-
},
|
|
9091
|
-
elements: [
|
|
9092
|
-
{
|
|
9093
|
-
accessorKey: "eventType",
|
|
9094
|
-
header: "Event's Type",
|
|
9095
|
-
size: 300,
|
|
9096
|
-
type: "string"
|
|
9097
9123
|
},
|
|
9098
|
-
|
|
9099
|
-
|
|
9100
|
-
header: "Handler",
|
|
9101
|
-
size: 200,
|
|
9102
|
-
type: "string"
|
|
9103
|
-
},
|
|
9104
|
-
{
|
|
9105
|
-
accessorKey: "Edit_Approve_Records",
|
|
9106
|
-
header: "Edit",
|
|
9107
|
-
type: "action",
|
|
9108
|
-
size: 150,
|
|
9109
|
-
widget: {
|
|
9124
|
+
action: [
|
|
9125
|
+
{
|
|
9110
9126
|
type: "Control",
|
|
9111
9127
|
scope: "#/properties/Edit_Records",
|
|
9112
9128
|
options: {
|
|
9113
|
-
widget: "
|
|
9129
|
+
widget: "Button"
|
|
9114
9130
|
},
|
|
9115
9131
|
config: {
|
|
9116
9132
|
main: {
|
|
9117
9133
|
size: "small",
|
|
9118
|
-
|
|
9134
|
+
startIcon: "EditIcon",
|
|
9119
9135
|
tooltipMessage: "Edit This Record",
|
|
9120
|
-
onClick: "editEvent"
|
|
9121
|
-
|
|
9122
|
-
style: {
|
|
9123
|
-
fill: theme.palette.primary.main,
|
|
9124
|
-
"& :hover": {
|
|
9125
|
-
fill: theme.palette.primary.dark
|
|
9126
|
-
}
|
|
9136
|
+
onClick: "editEvent",
|
|
9137
|
+
name: "Edit"
|
|
9127
9138
|
}
|
|
9128
9139
|
}
|
|
9129
|
-
}
|
|
9130
|
-
|
|
9131
|
-
{
|
|
9132
|
-
accessorKey: "Reject_Records",
|
|
9133
|
-
header: "Delete",
|
|
9134
|
-
type: "action",
|
|
9135
|
-
size: 150,
|
|
9136
|
-
widget: {
|
|
9140
|
+
},
|
|
9141
|
+
{
|
|
9137
9142
|
type: "Control",
|
|
9138
9143
|
scope: "#/properties/RejectButton",
|
|
9139
9144
|
options: {
|
|
9140
|
-
widget: "
|
|
9145
|
+
widget: "Button"
|
|
9141
9146
|
},
|
|
9142
9147
|
config: {
|
|
9143
9148
|
main: {
|
|
9144
|
-
|
|
9149
|
+
startIcon: "Bin",
|
|
9145
9150
|
tooltipMessage: "Reject This Record",
|
|
9146
|
-
onClick: "deletePopUpEvent"
|
|
9147
|
-
|
|
9148
|
-
|
|
9149
|
-
fill: theme.palette.primary.main,
|
|
9150
|
-
"& :hover": {
|
|
9151
|
-
fill: theme.palette.primary.dark
|
|
9152
|
-
}
|
|
9151
|
+
onClick: "deletePopUpEvent",
|
|
9152
|
+
name: "Delete",
|
|
9153
|
+
size: "small"
|
|
9153
9154
|
}
|
|
9154
9155
|
}
|
|
9155
|
-
}
|
|
9156
|
-
|
|
9157
|
-
{
|
|
9158
|
-
header: "Copy",
|
|
9159
|
-
field: "Copy_Event",
|
|
9160
|
-
type: "action",
|
|
9161
|
-
size: 150,
|
|
9162
|
-
widget: {
|
|
9156
|
+
},
|
|
9157
|
+
{
|
|
9163
9158
|
type: "Control",
|
|
9164
9159
|
scope: "#/properties/Copy_Event",
|
|
9165
9160
|
options: {
|
|
9166
|
-
widget: "
|
|
9161
|
+
widget: "Button"
|
|
9167
9162
|
},
|
|
9168
9163
|
config: {
|
|
9169
9164
|
main: {
|
|
9170
|
-
|
|
9165
|
+
startIcon: "FileCopyIcon",
|
|
9171
9166
|
onClick: "copyPasteElement",
|
|
9172
|
-
styleDefault:
|
|
9167
|
+
styleDefault: false,
|
|
9168
|
+
name: "Copy",
|
|
9169
|
+
size: "small"
|
|
9173
9170
|
}
|
|
9174
9171
|
}
|
|
9175
9172
|
}
|
|
9173
|
+
]
|
|
9174
|
+
},
|
|
9175
|
+
elements: [
|
|
9176
|
+
{
|
|
9177
|
+
accessorKey: "eventType",
|
|
9178
|
+
header: "Event's Type",
|
|
9179
|
+
size: 300,
|
|
9180
|
+
type: "string"
|
|
9181
|
+
},
|
|
9182
|
+
{
|
|
9183
|
+
accessorKey: "Handler",
|
|
9184
|
+
header: "Handler",
|
|
9185
|
+
size: 200,
|
|
9186
|
+
type: "string"
|
|
9176
9187
|
}
|
|
9177
9188
|
]
|
|
9178
9189
|
}
|
|
@@ -9485,9 +9496,6 @@ const APISection = {
|
|
|
9485
9496
|
{
|
|
9486
9497
|
type: "Control",
|
|
9487
9498
|
scope: "#/properties/headers",
|
|
9488
|
-
options: {
|
|
9489
|
-
widget: "Array"
|
|
9490
|
-
},
|
|
9491
9499
|
config: {
|
|
9492
9500
|
layout: 12,
|
|
9493
9501
|
main: {
|
|
@@ -9547,9 +9555,6 @@ const APISection = {
|
|
|
9547
9555
|
{
|
|
9548
9556
|
type: "Control",
|
|
9549
9557
|
scope: "#/properties/body",
|
|
9550
|
-
options: {
|
|
9551
|
-
widget: "Array"
|
|
9552
|
-
},
|
|
9553
9558
|
config: {
|
|
9554
9559
|
layout: 12,
|
|
9555
9560
|
main: {
|
|
@@ -9615,9 +9620,6 @@ const refreshSectionUiSchema = {
|
|
|
9615
9620
|
{
|
|
9616
9621
|
type: "Control",
|
|
9617
9622
|
scope: "#/properties/refreshElements",
|
|
9618
|
-
options: {
|
|
9619
|
-
widget: "Array"
|
|
9620
|
-
},
|
|
9621
9623
|
config: {
|
|
9622
9624
|
layout: 12,
|
|
9623
9625
|
main: {
|
|
@@ -10267,9 +10269,9 @@ var service = (funcParams) => {
|
|
|
10267
10269
|
};
|
|
10268
10270
|
return {
|
|
10269
10271
|
setPage: async function() {
|
|
10270
|
-
var _a, _b, _c
|
|
10272
|
+
var _a, _b, _c;
|
|
10271
10273
|
funcParams.store.setAdditionalErrors([]);
|
|
10272
|
-
funcParams.store.setFormdata({});
|
|
10274
|
+
funcParams.store.setFormdata((funcParams == null ? void 0 : funcParams.initFormData()) || {});
|
|
10273
10275
|
funcParams.store.setSchema({ type: "object", properties: {} });
|
|
10274
10276
|
funcParams.store.newData = {};
|
|
10275
10277
|
eventGroups = {};
|
|
@@ -10277,119 +10279,12 @@ var service = (funcParams) => {
|
|
|
10277
10279
|
const config2 = pageData == null ? void 0 : pageData.config;
|
|
10278
10280
|
const uiSchema = pageData == null ? void 0 : pageData.uiSchema;
|
|
10279
10281
|
const event2 = new CustomEvent("pageNameChanged", {
|
|
10280
|
-
detail: { pageName: config2.label }
|
|
10282
|
+
detail: { pageName: config2.label, hasBackIcon: config2.hasBackIcon === "NO" ? false : true }
|
|
10281
10283
|
});
|
|
10282
10284
|
window.dispatchEvent(event2);
|
|
10283
|
-
|
|
10284
|
-
|
|
10285
|
-
|
|
10286
|
-
type: "HorizontalLayout",
|
|
10287
|
-
config: {
|
|
10288
|
-
main: {
|
|
10289
|
-
direction: "row"
|
|
10290
|
-
},
|
|
10291
|
-
style: {
|
|
10292
|
-
flexDirection: "row",
|
|
10293
|
-
position: "absolute",
|
|
10294
|
-
bottom: 0,
|
|
10295
|
-
height: "fit-content",
|
|
10296
|
-
overflow: "hidden",
|
|
10297
|
-
zIndex: 1e3,
|
|
10298
|
-
width: "inherit"
|
|
10299
|
-
}
|
|
10300
|
-
},
|
|
10301
|
-
elements: [
|
|
10302
|
-
{
|
|
10303
|
-
type: "Control",
|
|
10304
|
-
scope: "#/properties/FooterText",
|
|
10305
|
-
options: {
|
|
10306
|
-
widget: "Box"
|
|
10307
|
-
},
|
|
10308
|
-
config: {
|
|
10309
|
-
main: {
|
|
10310
|
-
heading: "Copywriter@ACT21.IO"
|
|
10311
|
-
},
|
|
10312
|
-
style: {
|
|
10313
|
-
color: ((_d = (_c = theme == null ? void 0 : theme.palette) == null ? void 0 : _c.text) == null ? void 0 : _d.disabled) || "#AFAFAF",
|
|
10314
|
-
fontSize: "11px",
|
|
10315
|
-
textAlign: "center",
|
|
10316
|
-
lineHeight: 2,
|
|
10317
|
-
width: "fit-content",
|
|
10318
|
-
left: "50%",
|
|
10319
|
-
position: "relative",
|
|
10320
|
-
margin: 0,
|
|
10321
|
-
flexGrow: 1,
|
|
10322
|
-
height: 0,
|
|
10323
|
-
transform: "translate(-50%, 0%)"
|
|
10324
|
-
}
|
|
10325
|
-
}
|
|
10326
|
-
},
|
|
10327
|
-
{
|
|
10328
|
-
type: "Control",
|
|
10329
|
-
scope: "#/properties/FooterBackIcon",
|
|
10330
|
-
options: {
|
|
10331
|
-
widget: "Box"
|
|
10332
|
-
},
|
|
10333
|
-
config: {
|
|
10334
|
-
main: {
|
|
10335
|
-
iconName: "PrevIcon",
|
|
10336
|
-
onClick: "backHandler",
|
|
10337
|
-
width: "fit-content"
|
|
10338
|
-
},
|
|
10339
|
-
style: {
|
|
10340
|
-
fill: (_f = (_e = theme == null ? void 0 : theme.palette) == null ? void 0 : _e.primary) == null ? void 0 : _f.main,
|
|
10341
|
-
width: 20,
|
|
10342
|
-
height: 0,
|
|
10343
|
-
top: 0,
|
|
10344
|
-
right: { xs: "12px", sm: "84px" },
|
|
10345
|
-
position: "absolute",
|
|
10346
|
-
fontSize: "12px",
|
|
10347
|
-
cursor: "pointer",
|
|
10348
|
-
":hover": {
|
|
10349
|
-
fill: (_h = (_g = theme == null ? void 0 : theme.palette) == null ? void 0 : _g.primary) == null ? void 0 : _h.dark
|
|
10350
|
-
},
|
|
10351
|
-
marginRight: "20px"
|
|
10352
|
-
}
|
|
10353
|
-
}
|
|
10354
|
-
},
|
|
10355
|
-
{
|
|
10356
|
-
type: "Control",
|
|
10357
|
-
scope: "#/properties/FooterBackHandlerText",
|
|
10358
|
-
options: {
|
|
10359
|
-
widget: "Box"
|
|
10360
|
-
},
|
|
10361
|
-
config: {
|
|
10362
|
-
main: {
|
|
10363
|
-
heading: "Previous Page",
|
|
10364
|
-
onClick: "backHandler"
|
|
10365
|
-
},
|
|
10366
|
-
style: {
|
|
10367
|
-
display: { xs: "none", sm: "flex" },
|
|
10368
|
-
textAlign: "left",
|
|
10369
|
-
lineHeight: 1,
|
|
10370
|
-
height: 0,
|
|
10371
|
-
width: "fit-content",
|
|
10372
|
-
color: (_j = (_i = theme == null ? void 0 : theme.palette) == null ? void 0 : _i.primary) == null ? void 0 : _j.main,
|
|
10373
|
-
fontSize: "12px",
|
|
10374
|
-
cursor: "pointer",
|
|
10375
|
-
marginLeft: "2px",
|
|
10376
|
-
top: 3,
|
|
10377
|
-
right: "12px",
|
|
10378
|
-
position: "absolute",
|
|
10379
|
-
":hover": {
|
|
10380
|
-
color: (_l = (_k = theme == null ? void 0 : theme.palette) == null ? void 0 : _k.primary) == null ? void 0 : _l.dark
|
|
10381
|
-
},
|
|
10382
|
-
marginRight: "4px"
|
|
10383
|
-
}
|
|
10384
|
-
}
|
|
10385
|
-
}
|
|
10386
|
-
]
|
|
10387
|
-
}
|
|
10388
|
-
);
|
|
10389
|
-
const schema2 = (_m = pageData == null ? void 0 : pageData.schema) != null ? _m : { type: "object", properties: {} };
|
|
10390
|
-
const newEventGroups = extractEvents(config2);
|
|
10391
|
-
console.log("newEventGroups", newEventGroups, eventGroups);
|
|
10392
|
-
eventGroups = newEventGroups;
|
|
10285
|
+
(_b = (_a = funcParams == null ? void 0 : funcParams.store) == null ? void 0 : _a.theme) == null ? void 0 : _b.myTheme;
|
|
10286
|
+
const schema2 = (_c = pageData == null ? void 0 : pageData.schema) != null ? _c : { type: "object", properties: {} };
|
|
10287
|
+
eventGroups = extractEvents(config2);
|
|
10393
10288
|
executeEventsParameters = {
|
|
10394
10289
|
config: {},
|
|
10395
10290
|
componentName: "",
|
|
@@ -10399,9 +10294,18 @@ var service = (funcParams) => {
|
|
|
10399
10294
|
service: funcParams.service,
|
|
10400
10295
|
functionsProvider: funcParams.functionsProvider,
|
|
10401
10296
|
serviceHolder: this,
|
|
10402
|
-
eventGroups
|
|
10297
|
+
eventGroups,
|
|
10403
10298
|
formDataHolder
|
|
10404
10299
|
};
|
|
10300
|
+
funcParams.store.setSchema(
|
|
10301
|
+
(pre) => {
|
|
10302
|
+
return {
|
|
10303
|
+
...schema2,
|
|
10304
|
+
...pre,
|
|
10305
|
+
properties: { ...schema2.properties, ...pre.properties }
|
|
10306
|
+
};
|
|
10307
|
+
}
|
|
10308
|
+
);
|
|
10405
10309
|
await executeRefreshHandler({
|
|
10406
10310
|
config: {},
|
|
10407
10311
|
componentName: "",
|
|
@@ -10410,18 +10314,9 @@ var service = (funcParams) => {
|
|
|
10410
10314
|
userValue: funcParams.userValue,
|
|
10411
10315
|
service: funcParams.service,
|
|
10412
10316
|
serviceHolder: this,
|
|
10413
|
-
eventGroups
|
|
10317
|
+
eventGroups,
|
|
10414
10318
|
formDataHolder: {}
|
|
10415
10319
|
});
|
|
10416
|
-
funcParams.store.setSchema(
|
|
10417
|
-
(pre) => {
|
|
10418
|
-
return {
|
|
10419
|
-
...schema2,
|
|
10420
|
-
...pre,
|
|
10421
|
-
properties: { ...schema2.properties, ...pre.properties }
|
|
10422
|
-
};
|
|
10423
|
-
}
|
|
10424
|
-
);
|
|
10425
10320
|
uiSchema.elements.push(notifyUiSchema);
|
|
10426
10321
|
funcParams.store.setUiSchema(uiSchema);
|
|
10427
10322
|
},
|
|
@@ -10445,6 +10340,12 @@ var service = (funcParams) => {
|
|
|
10445
10340
|
onClick: function() {
|
|
10446
10341
|
this.callHandler("onClick");
|
|
10447
10342
|
},
|
|
10343
|
+
onKeyDown: function() {
|
|
10344
|
+
this.callHandler("onKeyDown");
|
|
10345
|
+
},
|
|
10346
|
+
onFileDelete: async function() {
|
|
10347
|
+
this.callHandler("onFileDelete");
|
|
10348
|
+
},
|
|
10448
10349
|
onMount: function() {
|
|
10449
10350
|
this.callHandler("onMount");
|
|
10450
10351
|
},
|
|
@@ -10468,13 +10369,14 @@ var service = (funcParams) => {
|
|
|
10468
10369
|
return response == null ? void 0 : response.data;
|
|
10469
10370
|
},
|
|
10470
10371
|
onPaginationChange: async function(paginationValues) {
|
|
10471
|
-
var _a;
|
|
10372
|
+
var _a, _b;
|
|
10472
10373
|
const apiBody = [
|
|
10473
10374
|
{ key: "size", value: paginationValues.pagination.pageSize },
|
|
10474
10375
|
{ key: "pageIndex", value: paginationValues.pagination.pageIndex },
|
|
10475
10376
|
{ key: "sorting", value: paginationValues.sorting || [] },
|
|
10476
10377
|
{ key: "filters", value: paginationValues.tableColumnConfig || [] },
|
|
10477
|
-
{ key: "globalFilter", value: (_a = paginationValues.globalFilter) != null ? _a : "" }
|
|
10378
|
+
{ key: "globalFilter", value: (_a = paginationValues.globalFilter) != null ? _a : "" },
|
|
10379
|
+
{ key: "expandedRowIds", value: (_b = paginationValues.expandedRowIds) != null ? _b : [] }
|
|
10478
10380
|
];
|
|
10479
10381
|
const response = await this.callExecuteEvents(paginationValues, apiBody, "onLoad");
|
|
10480
10382
|
return response == null ? void 0 : response.data;
|
|
@@ -10509,7 +10411,8 @@ var service = (funcParams) => {
|
|
|
10509
10411
|
callExecuteEvents: async function(paramValue, apiBody, eventType) {
|
|
10510
10412
|
var _a, _b;
|
|
10511
10413
|
let LastCallResponse = void 0;
|
|
10512
|
-
|
|
10414
|
+
const cloneEventGroup = _.cloneDeep(eventGroups);
|
|
10415
|
+
for (const eventConfig of (_a = cloneEventGroup == null ? void 0 : cloneEventGroup[eventType]) == null ? void 0 : _a[paramValue.path]) {
|
|
10513
10416
|
if (eventConfig.body) {
|
|
10514
10417
|
eventConfig.body = [
|
|
10515
10418
|
...eventConfig.body,
|
|
@@ -10556,7 +10459,7 @@ var service = (funcParams) => {
|
|
|
10556
10459
|
},
|
|
10557
10460
|
callHandler: async function(eventType, functionParameters) {
|
|
10558
10461
|
var _a, _b, _c;
|
|
10559
|
-
const path = ((_a = funcParams.dynamicData) == null ? void 0 : _a.tableButtonPath) || funcParams.dynamicData.path.split(".")[
|
|
10462
|
+
const path = ((_a = funcParams.dynamicData) == null ? void 0 : _a.tableButtonPath) || funcParams.dynamicData.path.split(".")[funcParams.dynamicData.path.split(".").length - 1];
|
|
10560
10463
|
if (((_b = eventGroups == null ? void 0 : eventGroups[eventType]) == null ? void 0 : _b[path]) !== void 0) {
|
|
10561
10464
|
Promise.all((_c = eventGroups == null ? void 0 : eventGroups[eventType]) == null ? void 0 : _c[path].map((eventConfig) => {
|
|
10562
10465
|
executeEventsParameters.store.functionParameters = functionParameters;
|
|
@@ -10619,7 +10522,7 @@ const buildLeaderBoard = (config2) => {
|
|
|
10619
10522
|
LeaderBoard.config.main.scoreKey = config2.scoreKey;
|
|
10620
10523
|
}
|
|
10621
10524
|
if (config2.layout) {
|
|
10622
|
-
LeaderBoard.config.layout = createLayoutFormat(config2.layout);
|
|
10525
|
+
LeaderBoard.config.layout = createLayoutFormat(config2.layout, config2.type);
|
|
10623
10526
|
}
|
|
10624
10527
|
if (config2.style) {
|
|
10625
10528
|
LeaderBoard.config.style = JSON.parse(config2.style);
|
|
@@ -10746,7 +10649,7 @@ const buildHorizontalBarGraph = (config2, componentScope2) => {
|
|
|
10746
10649
|
const horizontalBarGraph = _.cloneDeep(HorizontalBarGraph);
|
|
10747
10650
|
horizontalBarGraph.scope = componentScope2;
|
|
10748
10651
|
if (config2.layout) {
|
|
10749
|
-
horizontalBarGraph.config.layout = createLayoutFormat(config2.layout);
|
|
10652
|
+
horizontalBarGraph.config.layout = createLayoutFormat(config2.layout, config2.type);
|
|
10750
10653
|
}
|
|
10751
10654
|
horizontalBarGraph.config.main.type = config2.graphType;
|
|
10752
10655
|
horizontalBarGraph.scope = componentScope2;
|
|
@@ -10878,7 +10781,7 @@ const buildSpeedoMeter = (config2, componentScope2) => {
|
|
|
10878
10781
|
const buildPieGraph = (config2, componentScope2) => {
|
|
10879
10782
|
const pieGraph = _.cloneDeep(PieGraph);
|
|
10880
10783
|
if (config2.layout) {
|
|
10881
|
-
pieGraph.config.layout = createLayoutFormat(config2.layout);
|
|
10784
|
+
pieGraph.config.layout = createLayoutFormat(config2.layout, config2.type);
|
|
10882
10785
|
}
|
|
10883
10786
|
if (config2.height) {
|
|
10884
10787
|
pieGraph.config.style.containerStyle.height = config2.height;
|
|
@@ -10903,7 +10806,7 @@ const buildStackbarGraph = (config2, componentScope2) => {
|
|
|
10903
10806
|
var _a;
|
|
10904
10807
|
const barGraph = _.cloneDeep(BarGraph);
|
|
10905
10808
|
if (config2.layout) {
|
|
10906
|
-
barGraph.config.layout = createLayoutFormat(config2.layout);
|
|
10809
|
+
barGraph.config.layout = createLayoutFormat(config2.layout, config2.type);
|
|
10907
10810
|
}
|
|
10908
10811
|
if (config2.legendHide) {
|
|
10909
10812
|
barGraph.config.main.legendAvailable = config2.legendHide;
|
|
@@ -10982,12 +10885,16 @@ const buildTabSection = (config2, componentScope2) => {
|
|
|
10982
10885
|
if (config2.sectionLabels) {
|
|
10983
10886
|
tab.config.main.tabLabels = config2.sectionLabels.map((e) => e.label);
|
|
10984
10887
|
}
|
|
10888
|
+
if (config2.style) {
|
|
10889
|
+
tab.config.style = JSON.parse(config2.style);
|
|
10890
|
+
}
|
|
10985
10891
|
tab.config.main.id = config2.name;
|
|
10986
10892
|
return tab;
|
|
10987
10893
|
};
|
|
10988
10894
|
var WrapperSection = {
|
|
10989
10895
|
type: "WrapperLayout",
|
|
10990
10896
|
config: {
|
|
10897
|
+
layout: 12,
|
|
10991
10898
|
main: {
|
|
10992
10899
|
rowSpacing: 3,
|
|
10993
10900
|
divider: true,
|
|
@@ -11010,7 +10917,7 @@ const buildWrapperSection = (config2, componentScope2) => {
|
|
|
11010
10917
|
wrapper.config.style = JSON.parse(config2.style);
|
|
11011
10918
|
}
|
|
11012
10919
|
if (config2.layout) {
|
|
11013
|
-
wrapper.config.layout = createLayoutFormat(config2.layout);
|
|
10920
|
+
wrapper.config.layout = createLayoutFormat(config2.layout, config2.type);
|
|
11014
10921
|
}
|
|
11015
10922
|
return wrapper;
|
|
11016
10923
|
};
|
|
@@ -11021,7 +10928,7 @@ var TextInputField = {
|
|
|
11021
10928
|
widget: "InputField"
|
|
11022
10929
|
},
|
|
11023
10930
|
config: {
|
|
11024
|
-
layout: { xs:
|
|
10931
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 3 },
|
|
11025
10932
|
main: {
|
|
11026
10933
|
label: ""
|
|
11027
10934
|
},
|
|
@@ -11037,12 +10944,18 @@ const buildTextField = (config2, componentScope2) => {
|
|
|
11037
10944
|
if (config2.multiline) {
|
|
11038
10945
|
inputField.config.main.multiline = config2.multiline === "YES" ? true : false;
|
|
11039
10946
|
}
|
|
10947
|
+
if (config2.keyName) {
|
|
10948
|
+
inputField.config.main.keyName = config2.keyName;
|
|
10949
|
+
}
|
|
11040
10950
|
if (config2.InputFormatingAndMasking) {
|
|
11041
10951
|
inputField.config.main.formatStrArray = config2.InputFormatingAndMasking.map((e) => e.formatElement);
|
|
11042
10952
|
}
|
|
11043
10953
|
if (config2.placeholder) {
|
|
11044
10954
|
inputField.config.main.placeholder = config2.placeholder;
|
|
11045
10955
|
}
|
|
10956
|
+
if (config2.variant) {
|
|
10957
|
+
inputField.config.main.variant = config2.variant;
|
|
10958
|
+
}
|
|
11046
10959
|
if (config2.layout) {
|
|
11047
10960
|
inputField.config.layout = createLayoutFormat(config2.layout);
|
|
11048
10961
|
}
|
|
@@ -11057,7 +10970,7 @@ var SelectInputField = {
|
|
|
11057
10970
|
widget: "SelectInputField"
|
|
11058
10971
|
},
|
|
11059
10972
|
config: {
|
|
11060
|
-
layout: { xs:
|
|
10973
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 3 },
|
|
11061
10974
|
main: {
|
|
11062
10975
|
label: "",
|
|
11063
10976
|
type: "text",
|
|
@@ -11077,6 +10990,9 @@ const buildSelect = (config2, componentScope2) => {
|
|
|
11077
10990
|
if (config2.lazyLoading) {
|
|
11078
10991
|
selectInputField.config.main.lazyLoading = config2.lazyLoading === "YES" ? true : false;
|
|
11079
10992
|
}
|
|
10993
|
+
if (config2.variant) {
|
|
10994
|
+
selectInputField.config.main.variant = config2.variant;
|
|
10995
|
+
}
|
|
11080
10996
|
if (config2.layout) {
|
|
11081
10997
|
selectInputField.config.layout = createLayoutFormat(config2.layout);
|
|
11082
10998
|
}
|
|
@@ -11090,7 +11006,7 @@ var Button = {
|
|
|
11090
11006
|
widget: "Button"
|
|
11091
11007
|
},
|
|
11092
11008
|
config: {
|
|
11093
|
-
layout:
|
|
11009
|
+
layout: { xs: 4, sm: 2.5, md: 2, lg: 1.5 },
|
|
11094
11010
|
main: {
|
|
11095
11011
|
name: "Compare",
|
|
11096
11012
|
variant: "contained",
|
|
@@ -11111,7 +11027,7 @@ const buildButton = (config2, componentScope2) => {
|
|
|
11111
11027
|
config2.buttonType === "ButtonWithIconAndText" ? button.config.main.startIcon = config2.iconName : button.config.main.icon = config2.iconName;
|
|
11112
11028
|
}
|
|
11113
11029
|
if (config2.layout) {
|
|
11114
|
-
button.config.layout = createLayoutFormat(config2.layout);
|
|
11030
|
+
button.config.layout = createLayoutFormat(config2.layout, config2.type);
|
|
11115
11031
|
}
|
|
11116
11032
|
if (config2.tooltipMessage) {
|
|
11117
11033
|
button.config.main.tooltipMessage = config2.tooltipMessage;
|
|
@@ -11146,6 +11062,7 @@ var Table = {
|
|
|
11146
11062
|
},
|
|
11147
11063
|
elements: [],
|
|
11148
11064
|
config: {
|
|
11065
|
+
layout: 12,
|
|
11149
11066
|
main: {
|
|
11150
11067
|
onMount: "onMount",
|
|
11151
11068
|
enableExpandAll: true,
|
|
@@ -11177,6 +11094,9 @@ const buildTable = (config2, componentScope2) => {
|
|
|
11177
11094
|
if (config2.enableExpandAll) {
|
|
11178
11095
|
table.config.main.enableExpandAll = config2.enableExpandAll === "YES" ? true : false;
|
|
11179
11096
|
}
|
|
11097
|
+
if (config2.filterFromLeafRows) {
|
|
11098
|
+
table.config.main.filterFromLeafRows = config2.filterFromLeafRows === "YES" ? true : false;
|
|
11099
|
+
}
|
|
11180
11100
|
if (config2.paginateExpandedRows) {
|
|
11181
11101
|
table.config.main.paginateExpandedRows = config2.paginateExpandedRows === "YES" ? true : false;
|
|
11182
11102
|
}
|
|
@@ -11234,8 +11154,10 @@ const Box = {
|
|
|
11234
11154
|
widget: "Box"
|
|
11235
11155
|
},
|
|
11236
11156
|
config: {
|
|
11237
|
-
layout:
|
|
11238
|
-
main: {
|
|
11157
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 3 },
|
|
11158
|
+
main: {
|
|
11159
|
+
iconName: ""
|
|
11160
|
+
},
|
|
11239
11161
|
style: {}
|
|
11240
11162
|
}
|
|
11241
11163
|
};
|
|
@@ -11246,6 +11168,9 @@ const buildLabel = (config2, componentScope2) => {
|
|
|
11246
11168
|
if (config2.layout) {
|
|
11247
11169
|
box.config.layout = createLayoutFormat(config2.layout);
|
|
11248
11170
|
}
|
|
11171
|
+
if (config2.iconName) {
|
|
11172
|
+
box.config.main.iconName = config2.iconName;
|
|
11173
|
+
}
|
|
11249
11174
|
if (config2.style) {
|
|
11250
11175
|
box.config.style = JSON.parse(config2.style);
|
|
11251
11176
|
}
|
|
@@ -11264,7 +11189,7 @@ const uploadFile = {
|
|
|
11264
11189
|
"style": {
|
|
11265
11190
|
"backgroundColor": "none"
|
|
11266
11191
|
},
|
|
11267
|
-
layout: { xs: 6, sm: 6, md: 4, lg:
|
|
11192
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 3 }
|
|
11268
11193
|
},
|
|
11269
11194
|
"options": {
|
|
11270
11195
|
"widget": "UploadFile"
|
|
@@ -11281,7 +11206,7 @@ const downloadFile = {
|
|
|
11281
11206
|
"style": {
|
|
11282
11207
|
"backgroundColor": "none"
|
|
11283
11208
|
},
|
|
11284
|
-
layout: { xs:
|
|
11209
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 3 }
|
|
11285
11210
|
},
|
|
11286
11211
|
"options": {
|
|
11287
11212
|
"widget": "DownloadFile"
|
|
@@ -11306,6 +11231,7 @@ const buildUploadFile = (config2, componentScope2) => {
|
|
|
11306
11231
|
const buildDownloadFile = (config2, componentScope2) => {
|
|
11307
11232
|
const DownloadFile = _.cloneDeep(downloadFile);
|
|
11308
11233
|
DownloadFile.scope = componentScope2;
|
|
11234
|
+
DownloadFile.config.main.label = config2.label;
|
|
11309
11235
|
if (config2.layout) {
|
|
11310
11236
|
DownloadFile.config.layout = config2.layout;
|
|
11311
11237
|
}
|
|
@@ -11360,7 +11286,7 @@ function Card(theme) {
|
|
|
11360
11286
|
{
|
|
11361
11287
|
type: "HorizontalLayout",
|
|
11362
11288
|
config: {
|
|
11363
|
-
layout:
|
|
11289
|
+
layout: 9
|
|
11364
11290
|
},
|
|
11365
11291
|
elements: [
|
|
11366
11292
|
{
|
|
@@ -11406,7 +11332,8 @@ function Card(theme) {
|
|
|
11406
11332
|
marginLeft: "-10px",
|
|
11407
11333
|
marginTop: "-8px",
|
|
11408
11334
|
justifyContent: "start",
|
|
11409
|
-
position: "relative"
|
|
11335
|
+
position: "relative",
|
|
11336
|
+
padding: 0
|
|
11410
11337
|
},
|
|
11411
11338
|
layout: 12
|
|
11412
11339
|
},
|
|
@@ -11509,7 +11436,7 @@ function Card(theme) {
|
|
|
11509
11436
|
height: "64px"
|
|
11510
11437
|
}
|
|
11511
11438
|
},
|
|
11512
|
-
layout:
|
|
11439
|
+
layout: 3
|
|
11513
11440
|
},
|
|
11514
11441
|
options: {
|
|
11515
11442
|
widget: "Image"
|
|
@@ -11552,7 +11479,7 @@ var DateInputField = {
|
|
|
11552
11479
|
widget: "DateInputField"
|
|
11553
11480
|
},
|
|
11554
11481
|
config: {
|
|
11555
|
-
layout: { xs: 6, sm: 6, md: 4, lg:
|
|
11482
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 3 },
|
|
11556
11483
|
main: {
|
|
11557
11484
|
label: "",
|
|
11558
11485
|
type: "date"
|
|
@@ -11566,7 +11493,7 @@ const DateTime = {
|
|
|
11566
11493
|
widget: "DateTimeInputField"
|
|
11567
11494
|
},
|
|
11568
11495
|
config: {
|
|
11569
|
-
layout: { xs: 6, sm: 6, md: 4, lg:
|
|
11496
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 3 },
|
|
11570
11497
|
main: {
|
|
11571
11498
|
label: "DateTime",
|
|
11572
11499
|
type: "date"
|
|
@@ -11581,6 +11508,9 @@ const buildDate = (config2, componentScope2) => {
|
|
|
11581
11508
|
if (config2.layout) {
|
|
11582
11509
|
dateInputField.config.layout = createLayoutFormat(config2.layout);
|
|
11583
11510
|
}
|
|
11511
|
+
if (config2.variant) {
|
|
11512
|
+
dateInputField.config.main.variant = config2.variant;
|
|
11513
|
+
}
|
|
11584
11514
|
return dateInputField;
|
|
11585
11515
|
};
|
|
11586
11516
|
const buildDateTime = (config2, componentScope2) => {
|
|
@@ -11591,6 +11521,9 @@ const buildDateTime = (config2, componentScope2) => {
|
|
|
11591
11521
|
if (config2.layout) {
|
|
11592
11522
|
dateTimeInputField.config.layout = createLayoutFormat(config2.layout);
|
|
11593
11523
|
}
|
|
11524
|
+
if (config2.variant) {
|
|
11525
|
+
dateTimeInputField.config.main.variant = config2.variant;
|
|
11526
|
+
}
|
|
11594
11527
|
return dateTimeInputField;
|
|
11595
11528
|
};
|
|
11596
11529
|
var RankCard = {
|
|
@@ -11674,12 +11607,12 @@ var MultipleSelect = {
|
|
|
11674
11607
|
widget: "MultipleSelect"
|
|
11675
11608
|
},
|
|
11676
11609
|
config: {
|
|
11677
|
-
layout: { xs: 6, sm: 6, md: 4, lg:
|
|
11610
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 3 },
|
|
11678
11611
|
main: {
|
|
11679
11612
|
label: "",
|
|
11680
11613
|
type: "text",
|
|
11681
11614
|
multiple: true,
|
|
11682
|
-
variant: "
|
|
11615
|
+
variant: "outlined",
|
|
11683
11616
|
options: []
|
|
11684
11617
|
}
|
|
11685
11618
|
}
|
|
@@ -11696,6 +11629,9 @@ const buildMultiSelect = (config2, componentScope2) => {
|
|
|
11696
11629
|
if (config2.value) {
|
|
11697
11630
|
multipleSelect.config.main.options = config2.value;
|
|
11698
11631
|
}
|
|
11632
|
+
if (config2.variant) {
|
|
11633
|
+
multipleSelect.config.main.variant = config2.variant;
|
|
11634
|
+
}
|
|
11699
11635
|
if (config2.lazyLoading) {
|
|
11700
11636
|
multipleSelect.config.main.lazyLoading = config2.lazyLoading === "YES" ? true : false;
|
|
11701
11637
|
}
|
|
@@ -11718,7 +11654,7 @@ const TextArea = {
|
|
|
11718
11654
|
widget: "TextArea"
|
|
11719
11655
|
},
|
|
11720
11656
|
config: {
|
|
11721
|
-
layout:
|
|
11657
|
+
layout: 12,
|
|
11722
11658
|
style: {
|
|
11723
11659
|
containerStyle: {
|
|
11724
11660
|
borderRadius: "20px"
|
|
@@ -11742,7 +11678,7 @@ const buildTextArea = (config2, componentScope2) => {
|
|
|
11742
11678
|
const textArea = _.cloneDeep(TextArea);
|
|
11743
11679
|
textArea.config.main.heading = config2.label;
|
|
11744
11680
|
if (config2.layout) {
|
|
11745
|
-
textArea.config.layout = createLayoutFormat(config2.layout);
|
|
11681
|
+
textArea.config.layout = createLayoutFormat(config2.layout, config2.type);
|
|
11746
11682
|
}
|
|
11747
11683
|
if (config2.style) {
|
|
11748
11684
|
textArea.config.style = JSON.parse(config2.style);
|
|
@@ -11784,11 +11720,11 @@ const buildSlider = (config2, componentScope2) => {
|
|
|
11784
11720
|
const Checkbox = {
|
|
11785
11721
|
"type": "Control",
|
|
11786
11722
|
"scope": "#/properties/username1",
|
|
11787
|
-
"layout": 12,
|
|
11788
11723
|
"options": {
|
|
11789
11724
|
"widget": "CheckBox"
|
|
11790
11725
|
},
|
|
11791
11726
|
"config": {
|
|
11727
|
+
"layout": { xs: 6, sm: 6, md: 4, lg: 3 },
|
|
11792
11728
|
"main": {
|
|
11793
11729
|
"label": "Welcome to Hyperform"
|
|
11794
11730
|
}
|
|
@@ -11809,7 +11745,7 @@ const buildCheckbox = (config2, componentScope2) => {
|
|
|
11809
11745
|
const buildLineGraph = (config2, componentScope2) => {
|
|
11810
11746
|
const lineGraph = _.cloneDeep(LineGraph);
|
|
11811
11747
|
if (config2.layout) {
|
|
11812
|
-
lineGraph.config.layout = createLayoutFormat(config2.layout);
|
|
11748
|
+
lineGraph.config.layout = createLayoutFormat(config2.layout, config2.type);
|
|
11813
11749
|
}
|
|
11814
11750
|
lineGraph.config.main.header = config2.heading;
|
|
11815
11751
|
if (config2.height) {
|
|
@@ -11854,7 +11790,7 @@ const RadioUiSchema = {
|
|
|
11854
11790
|
widget: "RadioInputField"
|
|
11855
11791
|
},
|
|
11856
11792
|
config: {
|
|
11857
|
-
layout: { xs: 12, sm: 6, md: 4, lg:
|
|
11793
|
+
layout: { xs: 12, sm: 6, md: 4, lg: 3 },
|
|
11858
11794
|
main: {
|
|
11859
11795
|
label: "Enabled",
|
|
11860
11796
|
options: ["YES", "NO"],
|
|
@@ -11884,7 +11820,7 @@ var emptyBox = {
|
|
|
11884
11820
|
widget: "EmptyBox"
|
|
11885
11821
|
},
|
|
11886
11822
|
config: {
|
|
11887
|
-
layout: { xs:
|
|
11823
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 3 },
|
|
11888
11824
|
main: {},
|
|
11889
11825
|
style: {}
|
|
11890
11826
|
}
|
|
@@ -11899,16 +11835,31 @@ const buildEmptyBox = (config2, componentScope2) => {
|
|
|
11899
11835
|
const ArrayUiSchema = {
|
|
11900
11836
|
type: "Control",
|
|
11901
11837
|
scope: "#/properties/adjustments",
|
|
11902
|
-
layout:
|
|
11903
|
-
|
|
11904
|
-
|
|
11905
|
-
|
|
11906
|
-
elements: []
|
|
11907
|
-
}
|
|
11838
|
+
layout: 12,
|
|
11839
|
+
elements: [],
|
|
11840
|
+
config: {
|
|
11841
|
+
main: {}
|
|
11908
11842
|
}
|
|
11909
11843
|
};
|
|
11910
11844
|
const buildArray = (config2, componentScope2) => {
|
|
11911
11845
|
const array = _.cloneDeep(ArrayUiSchema);
|
|
11846
|
+
if (config2.allExpanded) {
|
|
11847
|
+
array.config.main.allExpanded = config2.allExpanded === "YES" ? true : false;
|
|
11848
|
+
}
|
|
11849
|
+
if (config2.disableAddButton) {
|
|
11850
|
+
array.config.main.disableAddButton = config2.disableAddButton === "YES" ? true : false;
|
|
11851
|
+
}
|
|
11852
|
+
if (config2.disableExpandAllButton) {
|
|
11853
|
+
array.config.main.disableExpandAllButton = config2.disableExpandAllButton === "YES" ? true : false;
|
|
11854
|
+
}
|
|
11855
|
+
if (config2.disableRowActions) {
|
|
11856
|
+
array.config.main.disableRowActions = config2.disableRowActions === "YES" ? true : false;
|
|
11857
|
+
}
|
|
11858
|
+
if (config2.style) {
|
|
11859
|
+
array.config.style = JSON.parse(config2.style);
|
|
11860
|
+
}
|
|
11861
|
+
array.config.main.childElementLabel = config2.childElementLabel;
|
|
11862
|
+
array.config.main.label = config2.label;
|
|
11912
11863
|
array.scope = componentScope2;
|
|
11913
11864
|
return array;
|
|
11914
11865
|
};
|
|
@@ -11920,7 +11871,7 @@ const TextField = {
|
|
|
11920
11871
|
"widget": "InputField"
|
|
11921
11872
|
},
|
|
11922
11873
|
config: {
|
|
11923
|
-
layout: { xs: 12, sm: 6, md: 4, lg:
|
|
11874
|
+
layout: { xs: 12, sm: 6, md: 4, lg: 3 },
|
|
11924
11875
|
main: {
|
|
11925
11876
|
label: "Adhaar Card",
|
|
11926
11877
|
formatStrArray: ["9", "9", "9", "9", " ", "9", "9", "9", "9", " ", "X9", "X9", "X9", "X9"],
|
|
@@ -11949,7 +11900,7 @@ const PanField = {
|
|
|
11949
11900
|
"widget": "InputField"
|
|
11950
11901
|
},
|
|
11951
11902
|
config: {
|
|
11952
|
-
layout: { xs: 12, sm: 6, md: 4, lg:
|
|
11903
|
+
layout: { xs: 12, sm: 6, md: 4, lg: 3 },
|
|
11953
11904
|
main: {
|
|
11954
11905
|
label: "Pan Card",
|
|
11955
11906
|
placeholder: "AAAAA0000A",
|
|
@@ -11977,7 +11928,7 @@ const FileInput = {
|
|
|
11977
11928
|
widget: "FileInputField"
|
|
11978
11929
|
},
|
|
11979
11930
|
config: {
|
|
11980
|
-
layout: { xs:
|
|
11931
|
+
layout: { xs: 12, sm: 6, md: 4, lg: 3 },
|
|
11981
11932
|
main: {
|
|
11982
11933
|
required: false,
|
|
11983
11934
|
onUpload: "onFileUpload",
|
|
@@ -11999,6 +11950,9 @@ const buildFileInput = (config2, componentScope2) => {
|
|
|
11999
11950
|
if (config2.style) {
|
|
12000
11951
|
box.config.style = JSON.parse(config2.style);
|
|
12001
11952
|
}
|
|
11953
|
+
if (config2.variant) {
|
|
11954
|
+
box.config.main.variant = config2.variant;
|
|
11955
|
+
}
|
|
12002
11956
|
return box;
|
|
12003
11957
|
};
|
|
12004
11958
|
const Stepper = {
|
|
@@ -12072,10 +12026,10 @@ const buildPopUp = (config2, componentScope2) => {
|
|
|
12072
12026
|
popup.config.main.fullWidth = config2.fullWidth === "YES" ? true : false;
|
|
12073
12027
|
popup.config.main.maxWidth = config2.maxWidth || false;
|
|
12074
12028
|
if (config2.layout) {
|
|
12075
|
-
popup.config.layout = createLayoutFormat(config2.layout);
|
|
12029
|
+
popup.config.layout = createLayoutFormat(config2.layout, config2.type);
|
|
12076
12030
|
}
|
|
12077
12031
|
if (config2.style) {
|
|
12078
|
-
|
|
12032
|
+
popup.config.style = JSON.parse(config2.style);
|
|
12079
12033
|
}
|
|
12080
12034
|
return popup;
|
|
12081
12035
|
};
|
|
@@ -12112,10 +12066,10 @@ const buildDataGrid = (config2, componentScope2) => {
|
|
|
12112
12066
|
DataGrid.config.main.label = config2.label;
|
|
12113
12067
|
}
|
|
12114
12068
|
if (config2.layout) {
|
|
12115
|
-
DataGrid.config.layout = createLayoutFormat(config2.layout);
|
|
12069
|
+
DataGrid.config.layout = createLayoutFormat(config2.layout, config2.type);
|
|
12116
12070
|
}
|
|
12117
12071
|
if (config2.cardLayout) {
|
|
12118
|
-
DataGrid.config.cardLayout = createLayoutFormat(config2.cardLayout);
|
|
12072
|
+
DataGrid.config.cardLayout = createLayoutFormat(config2.cardLayout, config2.type);
|
|
12119
12073
|
}
|
|
12120
12074
|
if (config2.style) {
|
|
12121
12075
|
DataGrid.config.style = JSON.parse(config2.style);
|
|
@@ -12167,6 +12121,7 @@ const TreeMap = {
|
|
|
12167
12121
|
"type": "Control",
|
|
12168
12122
|
"scope": "#/properties/TreeMap2",
|
|
12169
12123
|
"config": {
|
|
12124
|
+
layout: 12,
|
|
12170
12125
|
"main": {
|
|
12171
12126
|
"layout": "cartsian",
|
|
12172
12127
|
orientation: "vertical",
|
|
@@ -12192,7 +12147,7 @@ const buildTreeMap = (config2, componentScope2) => {
|
|
|
12192
12147
|
treMap.config.main.header = config2.label;
|
|
12193
12148
|
}
|
|
12194
12149
|
if (config2.layout) {
|
|
12195
|
-
treMap.config.layout = createLayoutFormat(config2.layout);
|
|
12150
|
+
treMap.config.layout = createLayoutFormat(config2.layout, config2.type);
|
|
12196
12151
|
}
|
|
12197
12152
|
if (config2.orientation) {
|
|
12198
12153
|
treMap.config.main.orientation = config2.orientation;
|
|
@@ -12235,7 +12190,7 @@ const buildThoughtOfTheDay = (config2, componentScope2) => {
|
|
|
12235
12190
|
thought.config.main.thought = `${config2.thought}`;
|
|
12236
12191
|
}
|
|
12237
12192
|
if (config2.layout) {
|
|
12238
|
-
thought.config.layout = createLayoutFormat(config2.layout);
|
|
12193
|
+
thought.config.layout = createLayoutFormat(config2.layout, config2.type);
|
|
12239
12194
|
}
|
|
12240
12195
|
if (config2.label) {
|
|
12241
12196
|
thought.config.main.label = config2.label;
|
|
@@ -12245,6 +12200,58 @@ const buildThoughtOfTheDay = (config2, componentScope2) => {
|
|
|
12245
12200
|
}
|
|
12246
12201
|
return thought;
|
|
12247
12202
|
};
|
|
12203
|
+
var horizontalLayout = {
|
|
12204
|
+
type: "HorizontalLayout",
|
|
12205
|
+
config: {
|
|
12206
|
+
layout: 12,
|
|
12207
|
+
main: {
|
|
12208
|
+
rowSpacing: 3,
|
|
12209
|
+
divider: false
|
|
12210
|
+
},
|
|
12211
|
+
defaultStyle: true
|
|
12212
|
+
},
|
|
12213
|
+
elements: []
|
|
12214
|
+
};
|
|
12215
|
+
const buildHorizontalLayout = (config2, componentScope2) => {
|
|
12216
|
+
const horizontal = _.cloneDeep(horizontalLayout);
|
|
12217
|
+
horizontal.scope = componentScope2;
|
|
12218
|
+
if (config2.style) {
|
|
12219
|
+
horizontal.config.style = JSON.parse(config2.style);
|
|
12220
|
+
}
|
|
12221
|
+
if (config2.layout) {
|
|
12222
|
+
horizontal.config.layout = createLayoutFormat(config2.layout, config2.type);
|
|
12223
|
+
}
|
|
12224
|
+
return horizontal;
|
|
12225
|
+
};
|
|
12226
|
+
const imageUiSchema = {
|
|
12227
|
+
type: "Control",
|
|
12228
|
+
scope: "#/properties/Logo",
|
|
12229
|
+
options: {
|
|
12230
|
+
widget: "Image"
|
|
12231
|
+
},
|
|
12232
|
+
config: {
|
|
12233
|
+
layout: 3,
|
|
12234
|
+
main: {
|
|
12235
|
+
url: ""
|
|
12236
|
+
},
|
|
12237
|
+
style: {}
|
|
12238
|
+
}
|
|
12239
|
+
};
|
|
12240
|
+
const buildImage = (config2, componentScope2) => {
|
|
12241
|
+
const image = _.cloneDeep(imageUiSchema);
|
|
12242
|
+
image.scope = componentScope2;
|
|
12243
|
+
image.config.main.url = config2.imageUrl;
|
|
12244
|
+
if (config2.layout) {
|
|
12245
|
+
image.config.layout = createLayoutFormat(config2.layout);
|
|
12246
|
+
}
|
|
12247
|
+
if (config2.style) {
|
|
12248
|
+
image.config.style = JSON.parse(config2.style);
|
|
12249
|
+
}
|
|
12250
|
+
if (config2.height) {
|
|
12251
|
+
image.config.style.imageStyle = { ...image.config.style.imageStyle, height: config2.height };
|
|
12252
|
+
}
|
|
12253
|
+
return image;
|
|
12254
|
+
};
|
|
12248
12255
|
let schema = {
|
|
12249
12256
|
type: "object",
|
|
12250
12257
|
properties: {},
|
|
@@ -12337,7 +12344,7 @@ function buildRule(configObj, tableName, arrayHolderName) {
|
|
|
12337
12344
|
const buildSchema = (config2, tableName, isArrayType) => {
|
|
12338
12345
|
buildRule(config2, tableName, isArrayType);
|
|
12339
12346
|
if (config2 == null ? void 0 : config2.elements) {
|
|
12340
|
-
if (config2.type == "
|
|
12347
|
+
if (config2.type == "Array") {
|
|
12341
12348
|
if (!schema.properties[config2.name]) {
|
|
12342
12349
|
schema.properties[config2.name] = {
|
|
12343
12350
|
type: "array",
|
|
@@ -12399,6 +12406,9 @@ const buildUiSchema = (config2, store2) => {
|
|
|
12399
12406
|
case "WrapperSection":
|
|
12400
12407
|
elements = buildWrapperSection(config2, componentScope2);
|
|
12401
12408
|
break;
|
|
12409
|
+
case "HorizontalLayout":
|
|
12410
|
+
elements = buildHorizontalLayout(config2, componentScope2);
|
|
12411
|
+
break;
|
|
12402
12412
|
case "Text":
|
|
12403
12413
|
elements = buildTextField(config2, componentScope2);
|
|
12404
12414
|
break;
|
|
@@ -12499,6 +12509,9 @@ const buildUiSchema = (config2, store2) => {
|
|
|
12499
12509
|
case "Thought":
|
|
12500
12510
|
elements = buildThoughtOfTheDay(config2, componentScope2);
|
|
12501
12511
|
break;
|
|
12512
|
+
case "Image":
|
|
12513
|
+
elements = buildImage(config2, componentScope2);
|
|
12514
|
+
break;
|
|
12502
12515
|
default:
|
|
12503
12516
|
schema = {
|
|
12504
12517
|
type: "object",
|
|
@@ -12518,13 +12531,26 @@ const buildUiSchema = (config2, store2) => {
|
|
|
12518
12531
|
});
|
|
12519
12532
|
}
|
|
12520
12533
|
elements.elements = config2.elements.map((cellElem, elemInd) => {
|
|
12521
|
-
|
|
12534
|
+
const commonProperties = {
|
|
12522
12535
|
accessorKey: cellElem.name,
|
|
12536
|
+
type: cellElem.type === "ColumnGroup" ? "ColumnGroup" : cellElem.columnFormat,
|
|
12523
12537
|
header: cellElem.label || cellElem.name,
|
|
12524
12538
|
size: sizeMap[cellElem.name] || 180,
|
|
12525
|
-
|
|
12526
|
-
|
|
12539
|
+
enableColumnFilter: cellElem.enableFilter === "No" ? false : true,
|
|
12540
|
+
columnFilterModeOptions: cellElem.filteringOptions,
|
|
12541
|
+
enableSorting: cellElem.enableSorting === "No" ? false : true,
|
|
12542
|
+
columnKey: cellElem.columnKey
|
|
12527
12543
|
};
|
|
12544
|
+
if (cellElem.type) {
|
|
12545
|
+
const tableElem = {
|
|
12546
|
+
widget: cellElem.type != "ColumnGroup" ? buildUiSchema(cellElem, store2) : void 0,
|
|
12547
|
+
...commonProperties,
|
|
12548
|
+
...cellElem.type === "ColumnGroup" ? buildUiSchema(cellElem, store2) : {}
|
|
12549
|
+
};
|
|
12550
|
+
return tableElem;
|
|
12551
|
+
} else {
|
|
12552
|
+
return { ...commonProperties };
|
|
12553
|
+
}
|
|
12528
12554
|
});
|
|
12529
12555
|
} else if (config2.type == "Table") {
|
|
12530
12556
|
const sizeMap = {};
|
|
@@ -12539,7 +12565,7 @@ const buildUiSchema = (config2, store2) => {
|
|
|
12539
12565
|
config2.elements.filter((cellElem, elemInd) => {
|
|
12540
12566
|
const commonProperties = {
|
|
12541
12567
|
accessorKey: cellElem.name,
|
|
12542
|
-
type: cellElem.columnFormat,
|
|
12568
|
+
type: cellElem.type === "ColumnGroup" ? "ColumnGroup" : cellElem.columnFormat,
|
|
12543
12569
|
header: cellElem.label || cellElem.name,
|
|
12544
12570
|
size: sizeMap[cellElem.name] || 180,
|
|
12545
12571
|
enableColumnFilter: cellElem.enableFilter === "No" ? false : true,
|
|
@@ -12560,8 +12586,8 @@ const buildUiSchema = (config2, store2) => {
|
|
|
12560
12586
|
}
|
|
12561
12587
|
const tableElem = {
|
|
12562
12588
|
widget: cellElem.type != "ColumnGroup" ? buildUiSchema(cellElem, store2) : void 0,
|
|
12563
|
-
|
|
12564
|
-
...
|
|
12589
|
+
...commonProperties,
|
|
12590
|
+
...cellElem.type === "ColumnGroup" ? buildUiSchema(cellElem, store2) : {}
|
|
12565
12591
|
};
|
|
12566
12592
|
rowElements.push(tableElem);
|
|
12567
12593
|
} else {
|
|
@@ -12571,10 +12597,6 @@ const buildUiSchema = (config2, store2) => {
|
|
|
12571
12597
|
elements.elements = rowElements;
|
|
12572
12598
|
elements.config.action = tableActionElement;
|
|
12573
12599
|
elements.config.main.headerIcons.elements = tableHeaderElements;
|
|
12574
|
-
} else if (config2.type == "Array") {
|
|
12575
|
-
elements.options.detail.elements = config2.elements.map((e, elemInd) => {
|
|
12576
|
-
return buildUiSchema(e, store2);
|
|
12577
|
-
});
|
|
12578
12600
|
} else {
|
|
12579
12601
|
elements.elements = config2.elements.map((e, elemInd) => {
|
|
12580
12602
|
return buildUiSchema(e, store2);
|