impaktapps-ui-builder 0.0.382-alpha.202 → 0.0.382-alpha.203
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 +12 -87
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +2 -2
- 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 +11 -93
- package/src/impaktapps-ui-builder/builder/services/pageMaster.ts +4 -0
|
@@ -301,7 +301,7 @@ const PageMasterUiSchema = {
|
|
|
301
301
|
variant: "contained",
|
|
302
302
|
color: "info",
|
|
303
303
|
type: "text",
|
|
304
|
-
onClick: "
|
|
304
|
+
onClick: "testDelComp",
|
|
305
305
|
size: "small"
|
|
306
306
|
},
|
|
307
307
|
style: {
|
|
@@ -324,7 +324,7 @@ const PageMasterUiSchema = {
|
|
|
324
324
|
variant: "contained",
|
|
325
325
|
color: "info",
|
|
326
326
|
type: "text",
|
|
327
|
-
onClick: "
|
|
327
|
+
onClick: "testDelComp",
|
|
328
328
|
size: "small"
|
|
329
329
|
},
|
|
330
330
|
style: {
|
|
@@ -449,96 +449,18 @@ const PageMasterUiSchema = {
|
|
|
449
449
|
icon: "RejectIcon",
|
|
450
450
|
color: "error",
|
|
451
451
|
tooltipMessage: "Reject This Record",
|
|
452
|
-
onClick: "
|
|
452
|
+
onClick: "deleteEvent",
|
|
453
|
+
size: "small"
|
|
454
|
+
},
|
|
455
|
+
style: {
|
|
456
|
+
marginBottom: "8px",
|
|
457
|
+
width: { xs: "100%", sm: "100%", md: "25%", lg: "20%" },
|
|
458
|
+
float: "right"
|
|
453
459
|
}
|
|
454
460
|
}
|
|
455
461
|
}
|
|
456
462
|
}
|
|
457
463
|
]
|
|
458
|
-
},
|
|
459
|
-
{
|
|
460
|
-
type: "Control",
|
|
461
|
-
scope: "#/properties/popUpEvent",
|
|
462
|
-
options: {
|
|
463
|
-
widget: "popUp"
|
|
464
|
-
},
|
|
465
|
-
config: {
|
|
466
|
-
layout: {
|
|
467
|
-
xs: 12,
|
|
468
|
-
sm: 12,
|
|
469
|
-
md: 12,
|
|
470
|
-
lg: 12
|
|
471
|
-
},
|
|
472
|
-
main: {
|
|
473
|
-
label: "PopUpEvent",
|
|
474
|
-
fullScreen: false,
|
|
475
|
-
fullWidth: false,
|
|
476
|
-
maxWidth: false,
|
|
477
|
-
alignItems: false,
|
|
478
|
-
spacing: 2
|
|
479
|
-
}
|
|
480
|
-
},
|
|
481
|
-
elements: [
|
|
482
|
-
{
|
|
483
|
-
type: "Control",
|
|
484
|
-
scope: "#/properties/pageMaster",
|
|
485
|
-
options: {
|
|
486
|
-
widget: "Box"
|
|
487
|
-
},
|
|
488
|
-
config: {
|
|
489
|
-
layout: 8,
|
|
490
|
-
main: {
|
|
491
|
-
heading: "Are you sure"
|
|
492
|
-
}
|
|
493
|
-
}
|
|
494
|
-
},
|
|
495
|
-
{
|
|
496
|
-
type: "Control",
|
|
497
|
-
scope: "#/properties/ConfirmDeleteButton2",
|
|
498
|
-
options: {
|
|
499
|
-
widget: "Button"
|
|
500
|
-
},
|
|
501
|
-
config: {
|
|
502
|
-
main: {
|
|
503
|
-
name: "No",
|
|
504
|
-
startIcon: "ApproveIcon",
|
|
505
|
-
variant: "contained",
|
|
506
|
-
color: "info",
|
|
507
|
-
type: "text",
|
|
508
|
-
onClick: "deleteEvent",
|
|
509
|
-
size: "small"
|
|
510
|
-
},
|
|
511
|
-
style: {
|
|
512
|
-
marginBottom: "8px",
|
|
513
|
-
width: { xs: "100%", sm: "100%", md: "25%", lg: "20%" },
|
|
514
|
-
float: "left"
|
|
515
|
-
}
|
|
516
|
-
}
|
|
517
|
-
},
|
|
518
|
-
{
|
|
519
|
-
type: "Control",
|
|
520
|
-
scope: "#/properties/CancelDeleteButton2",
|
|
521
|
-
options: {
|
|
522
|
-
widget: "Button"
|
|
523
|
-
},
|
|
524
|
-
config: {
|
|
525
|
-
main: {
|
|
526
|
-
name: "Yes",
|
|
527
|
-
startIcon: "ApproveIcon",
|
|
528
|
-
variant: "contained",
|
|
529
|
-
color: "info",
|
|
530
|
-
type: "text",
|
|
531
|
-
onClick: "deleteEvent",
|
|
532
|
-
size: "small"
|
|
533
|
-
},
|
|
534
|
-
style: {
|
|
535
|
-
marginBottom: "8px",
|
|
536
|
-
width: { xs: "100%", sm: "100%", md: "25%", lg: "20%" },
|
|
537
|
-
float: "right"
|
|
538
|
-
}
|
|
539
|
-
}
|
|
540
|
-
}
|
|
541
|
-
]
|
|
542
464
|
}
|
|
543
465
|
]
|
|
544
466
|
}
|
|
@@ -7826,6 +7748,9 @@ var pageMaster = (funcParams) => {
|
|
|
7826
7748
|
},
|
|
7827
7749
|
deletePopUpComponent: function() {
|
|
7828
7750
|
store2.updateDialog("popUpComponent");
|
|
7751
|
+
},
|
|
7752
|
+
testDelComp: function() {
|
|
7753
|
+
console.log("yes fun called");
|
|
7829
7754
|
}
|
|
7830
7755
|
};
|
|
7831
7756
|
};
|