impaktapps-ui-builder 0.0.382-alpha.311 → 0.0.382-alpha.313
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 +24 -26
- 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/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/uiSchema.ts +2 -2
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/uiSchema.ts +90 -85
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/uiSchema.ts +2 -2
- package/src/impaktapps-ui-builder/builder/services/component.ts +4 -4
- package/src/impaktapps-ui-builder/builder/services/event.ts +1 -1
- package/src/impaktapps-ui-builder/builder/services/pageMaster.ts +4 -4
|
@@ -378,7 +378,7 @@ const PageMasterUiSchema = {
|
|
|
378
378
|
},
|
|
379
379
|
{
|
|
380
380
|
type: "Control",
|
|
381
|
-
scope: "#/properties/
|
|
381
|
+
scope: "#/properties/popUpPageMasterEvent",
|
|
382
382
|
options: {
|
|
383
383
|
widget: "PopUp"
|
|
384
384
|
},
|
|
@@ -391,7 +391,7 @@ const PageMasterUiSchema = {
|
|
|
391
391
|
},
|
|
392
392
|
main: {}
|
|
393
393
|
},
|
|
394
|
-
|
|
394
|
+
elemetns: [
|
|
395
395
|
{
|
|
396
396
|
type: "Control",
|
|
397
397
|
scope: "#/properties/label",
|
|
@@ -421,7 +421,7 @@ const PageMasterUiSchema = {
|
|
|
421
421
|
},
|
|
422
422
|
{
|
|
423
423
|
type: "Control",
|
|
424
|
-
scope: "#/properties/
|
|
424
|
+
scope: "#/properties/ConfirmDeleteEventButton",
|
|
425
425
|
options: {
|
|
426
426
|
widget: "Button"
|
|
427
427
|
},
|
|
@@ -433,26 +433,26 @@ const PageMasterUiSchema = {
|
|
|
433
433
|
variant: "contained",
|
|
434
434
|
color: "info",
|
|
435
435
|
type: "text",
|
|
436
|
-
onClick: "
|
|
436
|
+
onClick: "deleteEvent",
|
|
437
437
|
size: "small"
|
|
438
438
|
}
|
|
439
439
|
}
|
|
440
440
|
},
|
|
441
441
|
{
|
|
442
442
|
type: "Control",
|
|
443
|
-
scope: "#/properties/
|
|
443
|
+
scope: "#/properties/CancelDeleteEventButton",
|
|
444
444
|
options: {
|
|
445
445
|
widget: "Button"
|
|
446
446
|
},
|
|
447
447
|
config: {
|
|
448
448
|
layout: 3,
|
|
449
449
|
main: {
|
|
450
|
-
name: "
|
|
450
|
+
name: "Yes",
|
|
451
451
|
startIcon: "ApproveIcon",
|
|
452
452
|
variant: "contained",
|
|
453
453
|
color: "info",
|
|
454
454
|
type: "text",
|
|
455
|
-
onClick: "
|
|
455
|
+
onClick: "deletePopUpEvent",
|
|
456
456
|
size: "small"
|
|
457
457
|
}
|
|
458
458
|
}
|
|
@@ -461,7 +461,7 @@ const PageMasterUiSchema = {
|
|
|
461
461
|
},
|
|
462
462
|
{
|
|
463
463
|
type: "Control",
|
|
464
|
-
scope: "#/properties/
|
|
464
|
+
scope: "#/properties/popUpPageMasterComponent",
|
|
465
465
|
options: {
|
|
466
466
|
widget: "PopUp"
|
|
467
467
|
},
|
|
@@ -474,7 +474,7 @@ const PageMasterUiSchema = {
|
|
|
474
474
|
},
|
|
475
475
|
main: {}
|
|
476
476
|
},
|
|
477
|
-
|
|
477
|
+
elements: [
|
|
478
478
|
{
|
|
479
479
|
type: "Control",
|
|
480
480
|
scope: "#/properties/label",
|
|
@@ -504,7 +504,7 @@ const PageMasterUiSchema = {
|
|
|
504
504
|
},
|
|
505
505
|
{
|
|
506
506
|
type: "Control",
|
|
507
|
-
scope: "#/properties/
|
|
507
|
+
scope: "#/properties/ConfirmDeleteCompButton",
|
|
508
508
|
options: {
|
|
509
509
|
widget: "Button"
|
|
510
510
|
},
|
|
@@ -516,26 +516,26 @@ const PageMasterUiSchema = {
|
|
|
516
516
|
variant: "contained",
|
|
517
517
|
color: "info",
|
|
518
518
|
type: "text",
|
|
519
|
-
onClick: "
|
|
519
|
+
onClick: "Delete_Components",
|
|
520
520
|
size: "small"
|
|
521
521
|
}
|
|
522
522
|
}
|
|
523
523
|
},
|
|
524
524
|
{
|
|
525
525
|
type: "Control",
|
|
526
|
-
scope: "#/properties/
|
|
526
|
+
scope: "#/properties/CancelDeleteCompButton",
|
|
527
527
|
options: {
|
|
528
528
|
widget: "Button"
|
|
529
529
|
},
|
|
530
530
|
config: {
|
|
531
531
|
layout: 3,
|
|
532
532
|
main: {
|
|
533
|
-
name: "
|
|
533
|
+
name: "No",
|
|
534
534
|
startIcon: "ApproveIcon",
|
|
535
535
|
variant: "contained",
|
|
536
536
|
color: "info",
|
|
537
537
|
type: "text",
|
|
538
|
-
onClick: "
|
|
538
|
+
onClick: "deletePopUpComponent",
|
|
539
539
|
size: "small"
|
|
540
540
|
}
|
|
541
541
|
}
|
|
@@ -6524,7 +6524,7 @@ const componentBasicUiSchema = {
|
|
|
6524
6524
|
},
|
|
6525
6525
|
{
|
|
6526
6526
|
type: "Control",
|
|
6527
|
-
scope: "#/properties/
|
|
6527
|
+
scope: "#/properties/popUpComponentSection",
|
|
6528
6528
|
options: {
|
|
6529
6529
|
widget: "PopUp"
|
|
6530
6530
|
},
|
|
@@ -6607,7 +6607,7 @@ const componentBasicUiSchema = {
|
|
|
6607
6607
|
},
|
|
6608
6608
|
{
|
|
6609
6609
|
type: "Control",
|
|
6610
|
-
scope: "#/properties/
|
|
6610
|
+
scope: "#/properties/popUpEventSection",
|
|
6611
6611
|
options: {
|
|
6612
6612
|
widget: "PopUp"
|
|
6613
6613
|
},
|
|
@@ -7870,7 +7870,6 @@ var Component = (store2, dynamicData2, submitHandler, service2) => {
|
|
|
7870
7870
|
const response2 = saveFormdataInLocalStorage(store2.ctx.core.data, path);
|
|
7871
7871
|
const data2 = path ? _.get(response2, path) : response2;
|
|
7872
7872
|
store2.setFormdata(data2);
|
|
7873
|
-
store2.updateDialog("popUpComponent");
|
|
7874
7873
|
},
|
|
7875
7874
|
deleteEvent: function() {
|
|
7876
7875
|
var _a;
|
|
@@ -7879,7 +7878,6 @@ var Component = (store2, dynamicData2, submitHandler, service2) => {
|
|
|
7879
7878
|
store2.formData.events.splice(rowId, 1);
|
|
7880
7879
|
const response2 = saveFormdataInLocalStorage(store2.ctx.core.data, path);
|
|
7881
7880
|
store2.setFormdata(_.get(response2, path));
|
|
7882
|
-
store2.updateDialog("popUpEvent");
|
|
7883
7881
|
},
|
|
7884
7882
|
widgetAddClickHandler: function() {
|
|
7885
7883
|
var _a;
|
|
@@ -7917,10 +7915,10 @@ var Component = (store2, dynamicData2, submitHandler, service2) => {
|
|
|
7917
7915
|
store2.navigate(-1);
|
|
7918
7916
|
},
|
|
7919
7917
|
deletePopUpComponent: function() {
|
|
7920
|
-
store2.updateDialog("
|
|
7918
|
+
store2.updateDialog("popUpComponentSection");
|
|
7921
7919
|
},
|
|
7922
7920
|
deletePopUpEvent: function() {
|
|
7923
|
-
store2.updateDialog("
|
|
7921
|
+
store2.updateDialog("popUpEventSection");
|
|
7924
7922
|
}
|
|
7925
7923
|
};
|
|
7926
7924
|
};
|
|
@@ -7970,7 +7968,7 @@ var pageMaster = (funcParams) => {
|
|
|
7970
7968
|
Edit_Components: Component(store2, dynamicData2, submitHandler, service2).editComponents,
|
|
7971
7969
|
Delete_Components: async function() {
|
|
7972
7970
|
await Component(store2, dynamicData2, submitHandler, service2).deleteComponents();
|
|
7973
|
-
store2.updateDialog("
|
|
7971
|
+
store2.updateDialog("popUpPageMasterComponent");
|
|
7974
7972
|
},
|
|
7975
7973
|
eventAddHandler: function() {
|
|
7976
7974
|
var _a;
|
|
@@ -7995,13 +7993,13 @@ var pageMaster = (funcParams) => {
|
|
|
7995
7993
|
store2.formData.events.splice(rowId, 1);
|
|
7996
7994
|
const response2 = saveFormdataInLocalStorage(store2.ctx.core.data);
|
|
7997
7995
|
store2.setFormdata(response2);
|
|
7998
|
-
store2.updateDialog("
|
|
7996
|
+
store2.updateDialog("popUpPageMasterEvent");
|
|
7999
7997
|
},
|
|
8000
7998
|
deletePopUpComponent: function() {
|
|
8001
|
-
store2.updateDialog("
|
|
7999
|
+
store2.updateDialog("popUpPageMasterComponent");
|
|
8002
8000
|
},
|
|
8003
8001
|
deletePopUpEvent: function() {
|
|
8004
|
-
store2.updateDialog("
|
|
8002
|
+
store2.updateDialog("popUpPageMasterEvent");
|
|
8005
8003
|
}
|
|
8006
8004
|
};
|
|
8007
8005
|
};
|
|
@@ -8362,7 +8360,7 @@ const EventUiSchema = {
|
|
|
8362
8360
|
widget: "Button"
|
|
8363
8361
|
},
|
|
8364
8362
|
config: {
|
|
8365
|
-
layout:
|
|
8363
|
+
layout: 12,
|
|
8366
8364
|
main: {
|
|
8367
8365
|
name: "Yes",
|
|
8368
8366
|
startIcon: "ApproveIcon",
|
|
@@ -8381,7 +8379,7 @@ const EventUiSchema = {
|
|
|
8381
8379
|
widget: "Button"
|
|
8382
8380
|
},
|
|
8383
8381
|
config: {
|
|
8384
|
-
layout:
|
|
8382
|
+
layout: 12,
|
|
8385
8383
|
main: {
|
|
8386
8384
|
name: "No",
|
|
8387
8385
|
startIcon: "ApproveIcon",
|