impaktapps-ui-builder 0.0.382-alpha.305 → 0.0.382-alpha.309
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 +242 -93
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +8 -8
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/dist/src/impaktapps-ui-builder/builder/services/event.d.ts +2 -1
- package/dist/src/impaktapps-ui-builder/builder/services/pageMaster.d.ts +1 -0
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/uiSchema.ts +206 -109
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/uiSchema.ts +95 -1
- package/src/impaktapps-ui-builder/builder/services/event.ts +7 -1
- package/src/impaktapps-ui-builder/builder/services/pageMaster.ts +3 -0
|
@@ -253,96 +253,6 @@ const PageMasterUiSchema = {
|
|
|
253
253
|
}
|
|
254
254
|
}
|
|
255
255
|
]
|
|
256
|
-
},
|
|
257
|
-
{
|
|
258
|
-
type: "Control",
|
|
259
|
-
scope: "#/properties/popUpComponent",
|
|
260
|
-
options: {
|
|
261
|
-
widget: "PopUp"
|
|
262
|
-
},
|
|
263
|
-
config: {
|
|
264
|
-
layout: {
|
|
265
|
-
xs: 12,
|
|
266
|
-
sm: 12,
|
|
267
|
-
md: 12,
|
|
268
|
-
lg: 12
|
|
269
|
-
},
|
|
270
|
-
main: {
|
|
271
|
-
label: "PopUp",
|
|
272
|
-
fullScreen: false,
|
|
273
|
-
fullWidth: false,
|
|
274
|
-
maxWidth: false,
|
|
275
|
-
alignItems: false,
|
|
276
|
-
spacing: 2
|
|
277
|
-
}
|
|
278
|
-
},
|
|
279
|
-
elements: [
|
|
280
|
-
{
|
|
281
|
-
type: "Control",
|
|
282
|
-
scope: "#/properties/label",
|
|
283
|
-
options: {
|
|
284
|
-
widget: "Box"
|
|
285
|
-
},
|
|
286
|
-
config: {
|
|
287
|
-
layout: 12,
|
|
288
|
-
main: {
|
|
289
|
-
heading: "Are you sure you want to delete ?"
|
|
290
|
-
}
|
|
291
|
-
}
|
|
292
|
-
},
|
|
293
|
-
{
|
|
294
|
-
type: "Control",
|
|
295
|
-
scope: "#/properties/ConfirmDeleteCompButton",
|
|
296
|
-
options: {
|
|
297
|
-
widget: "Button"
|
|
298
|
-
},
|
|
299
|
-
config: {
|
|
300
|
-
layout: 3,
|
|
301
|
-
main: {
|
|
302
|
-
name: "Yes",
|
|
303
|
-
startIcon: "ApproveIcon",
|
|
304
|
-
variant: "contained",
|
|
305
|
-
color: "info",
|
|
306
|
-
type: "text",
|
|
307
|
-
onClick: "Delete_Components",
|
|
308
|
-
size: "small"
|
|
309
|
-
},
|
|
310
|
-
style: {
|
|
311
|
-
width: { xs: "100%", sm: "100%", md: "25%", lg: "20%" }
|
|
312
|
-
}
|
|
313
|
-
}
|
|
314
|
-
},
|
|
315
|
-
{
|
|
316
|
-
type: "Control",
|
|
317
|
-
scope: "#/properties/CancelDeleteCompButton",
|
|
318
|
-
options: {
|
|
319
|
-
widget: "Button"
|
|
320
|
-
},
|
|
321
|
-
config: {
|
|
322
|
-
layout: 3,
|
|
323
|
-
main: {
|
|
324
|
-
name: "No",
|
|
325
|
-
startIcon: "ApproveIcon",
|
|
326
|
-
variant: "contained",
|
|
327
|
-
color: "info",
|
|
328
|
-
type: "text",
|
|
329
|
-
onClick: "deletePopUpComponent",
|
|
330
|
-
size: "small"
|
|
331
|
-
},
|
|
332
|
-
style: {
|
|
333
|
-
width: { xs: "100%", sm: "100%", md: "25%", lg: "20%" }
|
|
334
|
-
}
|
|
335
|
-
}
|
|
336
|
-
},
|
|
337
|
-
{
|
|
338
|
-
type: "Control",
|
|
339
|
-
scope: "#/properties/EmptyBox",
|
|
340
|
-
config: { layout: { xs: 11, sm: 5.5, md: 5.5, lg: 6 } },
|
|
341
|
-
options: {
|
|
342
|
-
widget: "EmptyBox"
|
|
343
|
-
}
|
|
344
|
-
}
|
|
345
|
-
]
|
|
346
256
|
}
|
|
347
257
|
]
|
|
348
258
|
},
|
|
@@ -455,7 +365,7 @@ const PageMasterUiSchema = {
|
|
|
455
365
|
icon: "RejectIcon",
|
|
456
366
|
color: "error",
|
|
457
367
|
tooltipMessage: "Reject This Record",
|
|
458
|
-
onClick: "
|
|
368
|
+
onClick: "deletePopUpEvent"
|
|
459
369
|
}
|
|
460
370
|
}
|
|
461
371
|
}
|
|
@@ -466,6 +376,161 @@ const PageMasterUiSchema = {
|
|
|
466
376
|
}
|
|
467
377
|
]
|
|
468
378
|
},
|
|
379
|
+
{
|
|
380
|
+
type: "Control",
|
|
381
|
+
scope: "#/properties/popUpComponent",
|
|
382
|
+
options: {
|
|
383
|
+
widget: "PopUp"
|
|
384
|
+
},
|
|
385
|
+
config: {
|
|
386
|
+
layout: {
|
|
387
|
+
xs: 12,
|
|
388
|
+
sm: 12,
|
|
389
|
+
md: 12,
|
|
390
|
+
lg: 12
|
|
391
|
+
},
|
|
392
|
+
main: {
|
|
393
|
+
label: "PopUp",
|
|
394
|
+
fullScreen: false,
|
|
395
|
+
fullWidth: false,
|
|
396
|
+
maxWidth: false,
|
|
397
|
+
alignItems: false
|
|
398
|
+
}
|
|
399
|
+
},
|
|
400
|
+
elements: [
|
|
401
|
+
{
|
|
402
|
+
type: "Control",
|
|
403
|
+
scope: "#/properties/label",
|
|
404
|
+
options: {
|
|
405
|
+
widget: "Box"
|
|
406
|
+
},
|
|
407
|
+
config: {
|
|
408
|
+
layout: 12,
|
|
409
|
+
main: {
|
|
410
|
+
heading: "Are you sure you want to delete ?"
|
|
411
|
+
},
|
|
412
|
+
style: {
|
|
413
|
+
marginBottom: "15px"
|
|
414
|
+
}
|
|
415
|
+
}
|
|
416
|
+
},
|
|
417
|
+
{
|
|
418
|
+
type: "Control",
|
|
419
|
+
scope: "#/properties/ConfirmDeleteCompButton",
|
|
420
|
+
options: {
|
|
421
|
+
widget: "Button"
|
|
422
|
+
},
|
|
423
|
+
config: {
|
|
424
|
+
layout: 3,
|
|
425
|
+
main: {
|
|
426
|
+
name: "Yes",
|
|
427
|
+
startIcon: "ApproveIcon",
|
|
428
|
+
variant: "contained",
|
|
429
|
+
color: "info",
|
|
430
|
+
type: "text",
|
|
431
|
+
onClick: "Delete_Components",
|
|
432
|
+
size: "small"
|
|
433
|
+
},
|
|
434
|
+
style: {
|
|
435
|
+
width: { xs: "100%", sm: "100%", md: "25%", lg: "20%" }
|
|
436
|
+
}
|
|
437
|
+
}
|
|
438
|
+
},
|
|
439
|
+
{
|
|
440
|
+
type: "Control",
|
|
441
|
+
scope: "#/properties/CancelDeleteCompButton",
|
|
442
|
+
options: {
|
|
443
|
+
widget: "Button"
|
|
444
|
+
},
|
|
445
|
+
config: {
|
|
446
|
+
layout: 3,
|
|
447
|
+
main: {
|
|
448
|
+
name: "No",
|
|
449
|
+
startIcon: "ApproveIcon",
|
|
450
|
+
variant: "contained",
|
|
451
|
+
color: "info",
|
|
452
|
+
type: "text",
|
|
453
|
+
onClick: "deletePopUpComponent",
|
|
454
|
+
size: "small"
|
|
455
|
+
},
|
|
456
|
+
style: {
|
|
457
|
+
width: { xs: "100%", sm: "100%", md: "25%", lg: "20%" }
|
|
458
|
+
}
|
|
459
|
+
}
|
|
460
|
+
}
|
|
461
|
+
]
|
|
462
|
+
},
|
|
463
|
+
{
|
|
464
|
+
type: "Control",
|
|
465
|
+
scope: "#/properties/popUpEvent",
|
|
466
|
+
options: {
|
|
467
|
+
widget: "PopUp"
|
|
468
|
+
},
|
|
469
|
+
config: {
|
|
470
|
+
layout: {
|
|
471
|
+
xs: 12,
|
|
472
|
+
sm: 12,
|
|
473
|
+
md: 12,
|
|
474
|
+
lg: 12
|
|
475
|
+
},
|
|
476
|
+
main: {}
|
|
477
|
+
},
|
|
478
|
+
elemetns: [
|
|
479
|
+
{
|
|
480
|
+
type: "Control",
|
|
481
|
+
scope: "#/properties/Label",
|
|
482
|
+
options: {
|
|
483
|
+
widget: "Box"
|
|
484
|
+
},
|
|
485
|
+
config: {
|
|
486
|
+
layout: 12,
|
|
487
|
+
main: {
|
|
488
|
+
heading: "Are you sure you want to delete ?"
|
|
489
|
+
}
|
|
490
|
+
}
|
|
491
|
+
},
|
|
492
|
+
{
|
|
493
|
+
type: "Control",
|
|
494
|
+
scope: "#/properties/ConfirmDeleteEventButton",
|
|
495
|
+
options: {
|
|
496
|
+
widget: "Button"
|
|
497
|
+
},
|
|
498
|
+
config: {
|
|
499
|
+
layout: 3,
|
|
500
|
+
main: {
|
|
501
|
+
name: "No",
|
|
502
|
+
startIcon: "ApproveIcon",
|
|
503
|
+
variant: "contained",
|
|
504
|
+
color: "info",
|
|
505
|
+
type: "text",
|
|
506
|
+
onClick: "deleteEvent",
|
|
507
|
+
size: "small"
|
|
508
|
+
},
|
|
509
|
+
style: {}
|
|
510
|
+
}
|
|
511
|
+
},
|
|
512
|
+
{
|
|
513
|
+
type: "Control",
|
|
514
|
+
scope: "#/properties/CancelDeleteEventButton",
|
|
515
|
+
options: {
|
|
516
|
+
widget: "Button"
|
|
517
|
+
},
|
|
518
|
+
config: {
|
|
519
|
+
layout: 3,
|
|
520
|
+
main: {
|
|
521
|
+
name: "Yes",
|
|
522
|
+
startIcon: "ApproveIcon",
|
|
523
|
+
variant: "contained",
|
|
524
|
+
color: "info",
|
|
525
|
+
type: "text",
|
|
526
|
+
onClick: "deleteEvent",
|
|
527
|
+
size: "small"
|
|
528
|
+
},
|
|
529
|
+
style: {}
|
|
530
|
+
}
|
|
531
|
+
}
|
|
532
|
+
]
|
|
533
|
+
},
|
|
469
534
|
{
|
|
470
535
|
type: "Control",
|
|
471
536
|
scope: "#/properties/btn",
|
|
@@ -7748,6 +7813,9 @@ var pageMaster = (funcParams) => {
|
|
|
7748
7813
|
},
|
|
7749
7814
|
deletePopUpComponent: function() {
|
|
7750
7815
|
store2.updateDialog("popUpComponent");
|
|
7816
|
+
},
|
|
7817
|
+
deletePopUpEvent: function() {
|
|
7818
|
+
store2.updateDialog("popUpEvent");
|
|
7751
7819
|
}
|
|
7752
7820
|
};
|
|
7753
7821
|
};
|
|
@@ -8047,7 +8115,7 @@ const EventUiSchema = {
|
|
|
8047
8115
|
icon: "RejectIcon",
|
|
8048
8116
|
color: "error",
|
|
8049
8117
|
tooltipMessage: "Reject This Record",
|
|
8050
|
-
onClick: "
|
|
8118
|
+
onClick: "deletePopUpEvent"
|
|
8051
8119
|
}
|
|
8052
8120
|
}
|
|
8053
8121
|
}
|
|
@@ -8058,6 +8126,81 @@ const EventUiSchema = {
|
|
|
8058
8126
|
}
|
|
8059
8127
|
]
|
|
8060
8128
|
},
|
|
8129
|
+
{
|
|
8130
|
+
type: "Control",
|
|
8131
|
+
scope: "#/properties/popUpComponent",
|
|
8132
|
+
options: {
|
|
8133
|
+
widget: "PopUp"
|
|
8134
|
+
},
|
|
8135
|
+
config: {
|
|
8136
|
+
layout: {
|
|
8137
|
+
xs: 12,
|
|
8138
|
+
sm: 12,
|
|
8139
|
+
md: 12,
|
|
8140
|
+
lg: 12
|
|
8141
|
+
},
|
|
8142
|
+
main: {}
|
|
8143
|
+
},
|
|
8144
|
+
elements: [
|
|
8145
|
+
{
|
|
8146
|
+
type: "Control",
|
|
8147
|
+
scope: "#/properties/label",
|
|
8148
|
+
options: {
|
|
8149
|
+
widget: "Box"
|
|
8150
|
+
},
|
|
8151
|
+
config: {
|
|
8152
|
+
layout: 12,
|
|
8153
|
+
main: {
|
|
8154
|
+
heading: "Are you sure you want to delete ?"
|
|
8155
|
+
}
|
|
8156
|
+
}
|
|
8157
|
+
},
|
|
8158
|
+
{
|
|
8159
|
+
type: "Control",
|
|
8160
|
+
scope: "#/properties/ConfirmDeleteCompButton",
|
|
8161
|
+
options: {
|
|
8162
|
+
widget: "Button"
|
|
8163
|
+
},
|
|
8164
|
+
config: {
|
|
8165
|
+
layout: 3,
|
|
8166
|
+
main: {
|
|
8167
|
+
name: "Yes",
|
|
8168
|
+
startIcon: "ApproveIcon",
|
|
8169
|
+
variant: "contained",
|
|
8170
|
+
color: "info",
|
|
8171
|
+
type: "text",
|
|
8172
|
+
onClick: "deleteEvent",
|
|
8173
|
+
size: "small"
|
|
8174
|
+
},
|
|
8175
|
+
style: {
|
|
8176
|
+
width: { xs: "100%", sm: "100%", md: "25%", lg: "20%" }
|
|
8177
|
+
}
|
|
8178
|
+
}
|
|
8179
|
+
},
|
|
8180
|
+
{
|
|
8181
|
+
type: "Control",
|
|
8182
|
+
scope: "#/properties/CancelDeleteCompButton",
|
|
8183
|
+
options: {
|
|
8184
|
+
widget: "Button"
|
|
8185
|
+
},
|
|
8186
|
+
config: {
|
|
8187
|
+
layout: 3,
|
|
8188
|
+
main: {
|
|
8189
|
+
name: "No",
|
|
8190
|
+
startIcon: "ApproveIcon",
|
|
8191
|
+
variant: "contained",
|
|
8192
|
+
color: "info",
|
|
8193
|
+
type: "text",
|
|
8194
|
+
onClick: "deletePopUpEvent",
|
|
8195
|
+
size: "small"
|
|
8196
|
+
},
|
|
8197
|
+
style: {
|
|
8198
|
+
width: { xs: "100%", sm: "100%", md: "25%", lg: "20%" }
|
|
8199
|
+
}
|
|
8200
|
+
}
|
|
8201
|
+
}
|
|
8202
|
+
]
|
|
8203
|
+
},
|
|
8061
8204
|
{
|
|
8062
8205
|
type: "Control",
|
|
8063
8206
|
scope: "#/properties/proc",
|
|
@@ -8389,9 +8532,15 @@ var event = (store2, dynamicData2, submitHandler, service2) => {
|
|
|
8389
8532
|
store2.setSearchParams(store2.searchParams);
|
|
8390
8533
|
this.setPage();
|
|
8391
8534
|
},
|
|
8392
|
-
deleteEvent:
|
|
8535
|
+
deleteEvent: async function() {
|
|
8536
|
+
await Component(store2, dynamicData2, submitHandler, service2).deleteEvent;
|
|
8537
|
+
store2.updateDialog("deletePopUpEvent");
|
|
8538
|
+
},
|
|
8393
8539
|
backHandler: function() {
|
|
8394
8540
|
store2.navigate(-1);
|
|
8541
|
+
},
|
|
8542
|
+
deletePopUpEvent: function() {
|
|
8543
|
+
store2.updateDialog("deletePopUpEvent");
|
|
8395
8544
|
}
|
|
8396
8545
|
};
|
|
8397
8546
|
};
|