impaktapps-ui-builder 0.0.382-alpha.305 → 0.0.382-alpha.307
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 +156 -91
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +4 -4
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/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 +201 -109
- 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,158 @@ 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
|
+
}
|
|
413
|
+
},
|
|
414
|
+
{
|
|
415
|
+
type: "Control",
|
|
416
|
+
scope: "#/properties/ConfirmDeleteCompButton",
|
|
417
|
+
options: {
|
|
418
|
+
widget: "Button"
|
|
419
|
+
},
|
|
420
|
+
config: {
|
|
421
|
+
layout: 3,
|
|
422
|
+
main: {
|
|
423
|
+
name: "Yes",
|
|
424
|
+
startIcon: "ApproveIcon",
|
|
425
|
+
variant: "contained",
|
|
426
|
+
color: "info",
|
|
427
|
+
type: "text",
|
|
428
|
+
onClick: "Delete_Components",
|
|
429
|
+
size: "small"
|
|
430
|
+
},
|
|
431
|
+
style: {
|
|
432
|
+
width: { xs: "100%", sm: "100%", md: "25%", lg: "20%" }
|
|
433
|
+
}
|
|
434
|
+
}
|
|
435
|
+
},
|
|
436
|
+
{
|
|
437
|
+
type: "Control",
|
|
438
|
+
scope: "#/properties/CancelDeleteCompButton",
|
|
439
|
+
options: {
|
|
440
|
+
widget: "Button"
|
|
441
|
+
},
|
|
442
|
+
config: {
|
|
443
|
+
layout: 3,
|
|
444
|
+
main: {
|
|
445
|
+
name: "No",
|
|
446
|
+
startIcon: "ApproveIcon",
|
|
447
|
+
variant: "contained",
|
|
448
|
+
color: "info",
|
|
449
|
+
type: "text",
|
|
450
|
+
onClick: "deletePopUpComponent",
|
|
451
|
+
size: "small"
|
|
452
|
+
},
|
|
453
|
+
style: {
|
|
454
|
+
width: { xs: "100%", sm: "100%", md: "25%", lg: "20%" }
|
|
455
|
+
}
|
|
456
|
+
}
|
|
457
|
+
}
|
|
458
|
+
]
|
|
459
|
+
},
|
|
460
|
+
{
|
|
461
|
+
type: "Control",
|
|
462
|
+
scope: "#/properties/popUpEvent",
|
|
463
|
+
options: {
|
|
464
|
+
widget: "PopUp"
|
|
465
|
+
},
|
|
466
|
+
config: {
|
|
467
|
+
layout: {
|
|
468
|
+
xs: 12,
|
|
469
|
+
sm: 12,
|
|
470
|
+
md: 12,
|
|
471
|
+
lg: 12
|
|
472
|
+
},
|
|
473
|
+
main: {}
|
|
474
|
+
},
|
|
475
|
+
elemetns: [
|
|
476
|
+
{
|
|
477
|
+
type: "Control",
|
|
478
|
+
scope: "#/properties/Label",
|
|
479
|
+
options: {
|
|
480
|
+
widget: "Box"
|
|
481
|
+
},
|
|
482
|
+
config: {
|
|
483
|
+
layout: 12,
|
|
484
|
+
main: {
|
|
485
|
+
heading: "Are you sure you want to delete ?"
|
|
486
|
+
}
|
|
487
|
+
}
|
|
488
|
+
},
|
|
489
|
+
{
|
|
490
|
+
type: "Control",
|
|
491
|
+
scope: "#/properties/ConfirmDeleteEventButton",
|
|
492
|
+
options: {
|
|
493
|
+
widget: "Button"
|
|
494
|
+
},
|
|
495
|
+
config: {
|
|
496
|
+
layout: 3,
|
|
497
|
+
main: {
|
|
498
|
+
name: "No",
|
|
499
|
+
startIcon: "ApproveIcon",
|
|
500
|
+
variant: "contained",
|
|
501
|
+
color: "info",
|
|
502
|
+
type: "text",
|
|
503
|
+
onClick: "deleteEvent",
|
|
504
|
+
size: "small"
|
|
505
|
+
},
|
|
506
|
+
style: {}
|
|
507
|
+
}
|
|
508
|
+
},
|
|
509
|
+
{
|
|
510
|
+
type: "Control",
|
|
511
|
+
scope: "#/properties/CancelDeleteEventButton",
|
|
512
|
+
options: {
|
|
513
|
+
widget: "Button"
|
|
514
|
+
},
|
|
515
|
+
config: {
|
|
516
|
+
layout: 3,
|
|
517
|
+
main: {
|
|
518
|
+
name: "Yes",
|
|
519
|
+
startIcon: "ApproveIcon",
|
|
520
|
+
variant: "contained",
|
|
521
|
+
color: "info",
|
|
522
|
+
type: "text",
|
|
523
|
+
onClick: "deleteEvent",
|
|
524
|
+
size: "small"
|
|
525
|
+
},
|
|
526
|
+
style: {}
|
|
527
|
+
}
|
|
528
|
+
}
|
|
529
|
+
]
|
|
530
|
+
},
|
|
469
531
|
{
|
|
470
532
|
type: "Control",
|
|
471
533
|
scope: "#/properties/btn",
|
|
@@ -7748,6 +7810,9 @@ var pageMaster = (funcParams) => {
|
|
|
7748
7810
|
},
|
|
7749
7811
|
deletePopUpComponent: function() {
|
|
7750
7812
|
store2.updateDialog("popUpComponent");
|
|
7813
|
+
},
|
|
7814
|
+
deletePopUpEvent: function() {
|
|
7815
|
+
store2.updateDialog("popUpEvent");
|
|
7751
7816
|
}
|
|
7752
7817
|
};
|
|
7753
7818
|
};
|