impaktapps-ui-builder 0.0.382-alpha.310 → 0.0.382-alpha.312
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 +93 -64
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +7 -7
- 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 +35 -70
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/uiSchema.ts +34 -70
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/uiSchema.ts +15 -24
- package/src/impaktapps-ui-builder/builder/services/component.ts +4 -4
- package/src/impaktapps-ui-builder/builder/services/event.ts +2 -2
- package/src/impaktapps-ui-builder/builder/services/pageMaster.ts +4 -3
|
@@ -378,7 +378,7 @@ const PageMasterUiSchema = {
|
|
|
378
378
|
},
|
|
379
379
|
{
|
|
380
380
|
type: "Control",
|
|
381
|
-
scope: "#/properties/
|
|
381
|
+
scope: "#/properties/popUpPageMasterComponent",
|
|
382
382
|
options: {
|
|
383
383
|
widget: "PopUp"
|
|
384
384
|
},
|
|
@@ -389,13 +389,7 @@ const PageMasterUiSchema = {
|
|
|
389
389
|
md: 12,
|
|
390
390
|
lg: 12
|
|
391
391
|
},
|
|
392
|
-
main: {
|
|
393
|
-
label: "PopUp",
|
|
394
|
-
fullScreen: false,
|
|
395
|
-
fullWidth: false,
|
|
396
|
-
maxWidth: false,
|
|
397
|
-
alignItems: false
|
|
398
|
-
}
|
|
392
|
+
main: {}
|
|
399
393
|
},
|
|
400
394
|
elements: [
|
|
401
395
|
{
|
|
@@ -410,10 +404,21 @@ const PageMasterUiSchema = {
|
|
|
410
404
|
heading: "Are you sure you want to delete ?"
|
|
411
405
|
},
|
|
412
406
|
style: {
|
|
413
|
-
|
|
407
|
+
marginTop: "-40px"
|
|
414
408
|
}
|
|
415
409
|
}
|
|
416
410
|
},
|
|
411
|
+
{
|
|
412
|
+
type: "Control",
|
|
413
|
+
scope: "#/properties/EmptyBox",
|
|
414
|
+
options: {
|
|
415
|
+
widget: "EmptyBox"
|
|
416
|
+
},
|
|
417
|
+
config: {
|
|
418
|
+
main: {},
|
|
419
|
+
layout: { xs: 11, sm: 5.5, md: 5.5, lg: 5.5 }
|
|
420
|
+
}
|
|
421
|
+
},
|
|
417
422
|
{
|
|
418
423
|
type: "Control",
|
|
419
424
|
scope: "#/properties/ConfirmDeleteCompButton",
|
|
@@ -430,9 +435,6 @@ const PageMasterUiSchema = {
|
|
|
430
435
|
type: "text",
|
|
431
436
|
onClick: "Delete_Components",
|
|
432
437
|
size: "small"
|
|
433
|
-
},
|
|
434
|
-
style: {
|
|
435
|
-
width: { xs: "100%", sm: "100%", md: "25%", lg: "20%" }
|
|
436
438
|
}
|
|
437
439
|
}
|
|
438
440
|
},
|
|
@@ -452,9 +454,6 @@ const PageMasterUiSchema = {
|
|
|
452
454
|
type: "text",
|
|
453
455
|
onClick: "deletePopUpComponent",
|
|
454
456
|
size: "small"
|
|
455
|
-
},
|
|
456
|
-
style: {
|
|
457
|
-
width: { xs: "100%", sm: "100%", md: "25%", lg: "20%" }
|
|
458
457
|
}
|
|
459
458
|
}
|
|
460
459
|
}
|
|
@@ -462,7 +461,7 @@ const PageMasterUiSchema = {
|
|
|
462
461
|
},
|
|
463
462
|
{
|
|
464
463
|
type: "Control",
|
|
465
|
-
scope: "#/properties/
|
|
464
|
+
scope: "#/properties/popUpPageMasterEvent",
|
|
466
465
|
options: {
|
|
467
466
|
widget: "PopUp"
|
|
468
467
|
},
|
|
@@ -478,7 +477,7 @@ const PageMasterUiSchema = {
|
|
|
478
477
|
elemetns: [
|
|
479
478
|
{
|
|
480
479
|
type: "Control",
|
|
481
|
-
scope: "#/properties/
|
|
480
|
+
scope: "#/properties/label",
|
|
482
481
|
options: {
|
|
483
482
|
widget: "Box"
|
|
484
483
|
},
|
|
@@ -486,9 +485,23 @@ const PageMasterUiSchema = {
|
|
|
486
485
|
layout: 12,
|
|
487
486
|
main: {
|
|
488
487
|
heading: "Are you sure you want to delete ?"
|
|
488
|
+
},
|
|
489
|
+
style: {
|
|
490
|
+
marginTop: "-40px"
|
|
489
491
|
}
|
|
490
492
|
}
|
|
491
493
|
},
|
|
494
|
+
{
|
|
495
|
+
type: "Control",
|
|
496
|
+
scope: "#/properties/EmptyBox",
|
|
497
|
+
options: {
|
|
498
|
+
widget: "EmptyBox"
|
|
499
|
+
},
|
|
500
|
+
config: {
|
|
501
|
+
main: {},
|
|
502
|
+
layout: { xs: 11, sm: 5.5, md: 5.5, lg: 5.5 }
|
|
503
|
+
}
|
|
504
|
+
},
|
|
492
505
|
{
|
|
493
506
|
type: "Control",
|
|
494
507
|
scope: "#/properties/ConfirmDeleteEventButton",
|
|
@@ -498,15 +511,14 @@ const PageMasterUiSchema = {
|
|
|
498
511
|
config: {
|
|
499
512
|
layout: 3,
|
|
500
513
|
main: {
|
|
501
|
-
name: "
|
|
514
|
+
name: "Yes",
|
|
502
515
|
startIcon: "ApproveIcon",
|
|
503
516
|
variant: "contained",
|
|
504
517
|
color: "info",
|
|
505
518
|
type: "text",
|
|
506
519
|
onClick: "deleteEvent",
|
|
507
520
|
size: "small"
|
|
508
|
-
}
|
|
509
|
-
style: {}
|
|
521
|
+
}
|
|
510
522
|
}
|
|
511
523
|
},
|
|
512
524
|
{
|
|
@@ -523,10 +535,9 @@ const PageMasterUiSchema = {
|
|
|
523
535
|
variant: "contained",
|
|
524
536
|
color: "info",
|
|
525
537
|
type: "text",
|
|
526
|
-
onClick: "
|
|
538
|
+
onClick: "deletePopUpEvent",
|
|
527
539
|
size: "small"
|
|
528
|
-
}
|
|
529
|
-
style: {}
|
|
540
|
+
}
|
|
530
541
|
}
|
|
531
542
|
}
|
|
532
543
|
]
|
|
@@ -6513,7 +6524,7 @@ const componentBasicUiSchema = {
|
|
|
6513
6524
|
},
|
|
6514
6525
|
{
|
|
6515
6526
|
type: "Control",
|
|
6516
|
-
scope: "#/properties/
|
|
6527
|
+
scope: "#/properties/popUpComponentSection",
|
|
6517
6528
|
options: {
|
|
6518
6529
|
widget: "PopUp"
|
|
6519
6530
|
},
|
|
@@ -6524,13 +6535,7 @@ const componentBasicUiSchema = {
|
|
|
6524
6535
|
md: 12,
|
|
6525
6536
|
lg: 12
|
|
6526
6537
|
},
|
|
6527
|
-
main: {
|
|
6528
|
-
label: "PopUp",
|
|
6529
|
-
fullScreen: false,
|
|
6530
|
-
fullWidth: false,
|
|
6531
|
-
maxWidth: false,
|
|
6532
|
-
alignItems: false
|
|
6533
|
-
}
|
|
6538
|
+
main: {}
|
|
6534
6539
|
},
|
|
6535
6540
|
elements: [
|
|
6536
6541
|
{
|
|
@@ -6545,10 +6550,21 @@ const componentBasicUiSchema = {
|
|
|
6545
6550
|
heading: "Are you sure you want to delete ?"
|
|
6546
6551
|
},
|
|
6547
6552
|
style: {
|
|
6548
|
-
|
|
6553
|
+
marginTop: "-40px"
|
|
6549
6554
|
}
|
|
6550
6555
|
}
|
|
6551
6556
|
},
|
|
6557
|
+
{
|
|
6558
|
+
type: "Control",
|
|
6559
|
+
scope: "#/properties/EmptyBox",
|
|
6560
|
+
options: {
|
|
6561
|
+
widget: "EmptyBox"
|
|
6562
|
+
},
|
|
6563
|
+
config: {
|
|
6564
|
+
main: {},
|
|
6565
|
+
layout: { xs: 11, sm: 5.5, md: 5.5, lg: 5.5 }
|
|
6566
|
+
}
|
|
6567
|
+
},
|
|
6552
6568
|
{
|
|
6553
6569
|
type: "Control",
|
|
6554
6570
|
scope: "#/properties/ConfirmDeleteCompButton",
|
|
@@ -6563,11 +6579,8 @@ const componentBasicUiSchema = {
|
|
|
6563
6579
|
variant: "contained",
|
|
6564
6580
|
color: "info",
|
|
6565
6581
|
type: "text",
|
|
6566
|
-
onClick: "
|
|
6582
|
+
onClick: "deleteComponents",
|
|
6567
6583
|
size: "small"
|
|
6568
|
-
},
|
|
6569
|
-
style: {
|
|
6570
|
-
width: { xs: "100%", sm: "100%", md: "25%", lg: "20%" }
|
|
6571
6584
|
}
|
|
6572
6585
|
}
|
|
6573
6586
|
},
|
|
@@ -6587,9 +6600,6 @@ const componentBasicUiSchema = {
|
|
|
6587
6600
|
type: "text",
|
|
6588
6601
|
onClick: "deletePopUpComponent",
|
|
6589
6602
|
size: "small"
|
|
6590
|
-
},
|
|
6591
|
-
style: {
|
|
6592
|
-
width: { xs: "100%", sm: "100%", md: "25%", lg: "20%" }
|
|
6593
6603
|
}
|
|
6594
6604
|
}
|
|
6595
6605
|
}
|
|
@@ -6597,7 +6607,7 @@ const componentBasicUiSchema = {
|
|
|
6597
6607
|
},
|
|
6598
6608
|
{
|
|
6599
6609
|
type: "Control",
|
|
6600
|
-
scope: "#/properties/
|
|
6610
|
+
scope: "#/properties/popUpEventSection",
|
|
6601
6611
|
options: {
|
|
6602
6612
|
widget: "PopUp"
|
|
6603
6613
|
},
|
|
@@ -6613,7 +6623,7 @@ const componentBasicUiSchema = {
|
|
|
6613
6623
|
elemetns: [
|
|
6614
6624
|
{
|
|
6615
6625
|
type: "Control",
|
|
6616
|
-
scope: "#/properties/
|
|
6626
|
+
scope: "#/properties/label",
|
|
6617
6627
|
options: {
|
|
6618
6628
|
widget: "Box"
|
|
6619
6629
|
},
|
|
@@ -6621,9 +6631,23 @@ const componentBasicUiSchema = {
|
|
|
6621
6631
|
layout: 12,
|
|
6622
6632
|
main: {
|
|
6623
6633
|
heading: "Are you sure you want to delete ?"
|
|
6634
|
+
},
|
|
6635
|
+
style: {
|
|
6636
|
+
marginTop: "-40px"
|
|
6624
6637
|
}
|
|
6625
6638
|
}
|
|
6626
6639
|
},
|
|
6640
|
+
{
|
|
6641
|
+
type: "Control",
|
|
6642
|
+
scope: "#/properties/EmptyBox",
|
|
6643
|
+
options: {
|
|
6644
|
+
widget: "EmptyBox"
|
|
6645
|
+
},
|
|
6646
|
+
config: {
|
|
6647
|
+
main: {},
|
|
6648
|
+
layout: { xs: 11, sm: 5.5, md: 5.5, lg: 5.5 }
|
|
6649
|
+
}
|
|
6650
|
+
},
|
|
6627
6651
|
{
|
|
6628
6652
|
type: "Control",
|
|
6629
6653
|
scope: "#/properties/ConfirmDeleteEventButton",
|
|
@@ -6633,15 +6657,14 @@ const componentBasicUiSchema = {
|
|
|
6633
6657
|
config: {
|
|
6634
6658
|
layout: 3,
|
|
6635
6659
|
main: {
|
|
6636
|
-
name: "
|
|
6660
|
+
name: "Yes",
|
|
6637
6661
|
startIcon: "ApproveIcon",
|
|
6638
6662
|
variant: "contained",
|
|
6639
6663
|
color: "info",
|
|
6640
6664
|
type: "text",
|
|
6641
6665
|
onClick: "deleteEvent",
|
|
6642
6666
|
size: "small"
|
|
6643
|
-
}
|
|
6644
|
-
style: {}
|
|
6667
|
+
}
|
|
6645
6668
|
}
|
|
6646
6669
|
},
|
|
6647
6670
|
{
|
|
@@ -6653,15 +6676,14 @@ const componentBasicUiSchema = {
|
|
|
6653
6676
|
config: {
|
|
6654
6677
|
layout: 3,
|
|
6655
6678
|
main: {
|
|
6656
|
-
name: "
|
|
6679
|
+
name: "No",
|
|
6657
6680
|
startIcon: "ApproveIcon",
|
|
6658
6681
|
variant: "contained",
|
|
6659
6682
|
color: "info",
|
|
6660
6683
|
type: "text",
|
|
6661
|
-
onClick: "
|
|
6684
|
+
onClick: "deletePopUpEvent",
|
|
6662
6685
|
size: "small"
|
|
6663
|
-
}
|
|
6664
|
-
style: {}
|
|
6686
|
+
}
|
|
6665
6687
|
}
|
|
6666
6688
|
}
|
|
6667
6689
|
]
|
|
@@ -7848,7 +7870,6 @@ var Component = (store2, dynamicData2, submitHandler, service2) => {
|
|
|
7848
7870
|
const response2 = saveFormdataInLocalStorage(store2.ctx.core.data, path);
|
|
7849
7871
|
const data2 = path ? _.get(response2, path) : response2;
|
|
7850
7872
|
store2.setFormdata(data2);
|
|
7851
|
-
store2.updateDialog("popUpComponent");
|
|
7852
7873
|
},
|
|
7853
7874
|
deleteEvent: function() {
|
|
7854
7875
|
var _a;
|
|
@@ -7857,7 +7878,6 @@ var Component = (store2, dynamicData2, submitHandler, service2) => {
|
|
|
7857
7878
|
store2.formData.events.splice(rowId, 1);
|
|
7858
7879
|
const response2 = saveFormdataInLocalStorage(store2.ctx.core.data, path);
|
|
7859
7880
|
store2.setFormdata(_.get(response2, path));
|
|
7860
|
-
store2.updateDialog("deletePopUpEvent");
|
|
7861
7881
|
},
|
|
7862
7882
|
widgetAddClickHandler: function() {
|
|
7863
7883
|
var _a;
|
|
@@ -7895,10 +7915,10 @@ var Component = (store2, dynamicData2, submitHandler, service2) => {
|
|
|
7895
7915
|
store2.navigate(-1);
|
|
7896
7916
|
},
|
|
7897
7917
|
deletePopUpComponent: function() {
|
|
7898
|
-
store2.updateDialog("
|
|
7918
|
+
store2.updateDialog("popUpComponentSection");
|
|
7899
7919
|
},
|
|
7900
7920
|
deletePopUpEvent: function() {
|
|
7901
|
-
store2.updateDialog("
|
|
7921
|
+
store2.updateDialog("popUpEventSection");
|
|
7902
7922
|
}
|
|
7903
7923
|
};
|
|
7904
7924
|
};
|
|
@@ -7948,7 +7968,7 @@ var pageMaster = (funcParams) => {
|
|
|
7948
7968
|
Edit_Components: Component(store2, dynamicData2, submitHandler, service2).editComponents,
|
|
7949
7969
|
Delete_Components: async function() {
|
|
7950
7970
|
await Component(store2, dynamicData2, submitHandler, service2).deleteComponents();
|
|
7951
|
-
store2.updateDialog("
|
|
7971
|
+
store2.updateDialog("popUpPageMasterComponent");
|
|
7952
7972
|
},
|
|
7953
7973
|
eventAddHandler: function() {
|
|
7954
7974
|
var _a;
|
|
@@ -7973,12 +7993,13 @@ var pageMaster = (funcParams) => {
|
|
|
7973
7993
|
store2.formData.events.splice(rowId, 1);
|
|
7974
7994
|
const response2 = saveFormdataInLocalStorage(store2.ctx.core.data);
|
|
7975
7995
|
store2.setFormdata(response2);
|
|
7996
|
+
store2.updateDialog("popUpPageMasterEvent");
|
|
7976
7997
|
},
|
|
7977
7998
|
deletePopUpComponent: function() {
|
|
7978
|
-
store2.updateDialog("
|
|
7999
|
+
store2.updateDialog("popUpPageMasterComponent");
|
|
7979
8000
|
},
|
|
7980
8001
|
deletePopUpEvent: function() {
|
|
7981
|
-
store2.updateDialog("
|
|
8002
|
+
store2.updateDialog("popUpPageMasterEvent");
|
|
7982
8003
|
}
|
|
7983
8004
|
};
|
|
7984
8005
|
};
|
|
@@ -8291,7 +8312,7 @@ const EventUiSchema = {
|
|
|
8291
8312
|
},
|
|
8292
8313
|
{
|
|
8293
8314
|
type: "Control",
|
|
8294
|
-
scope: "#/properties/
|
|
8315
|
+
scope: "#/properties/popUpEvent",
|
|
8295
8316
|
options: {
|
|
8296
8317
|
widget: "PopUp"
|
|
8297
8318
|
},
|
|
@@ -8315,9 +8336,23 @@ const EventUiSchema = {
|
|
|
8315
8336
|
layout: 12,
|
|
8316
8337
|
main: {
|
|
8317
8338
|
heading: "Are you sure you want to delete ?"
|
|
8339
|
+
},
|
|
8340
|
+
style: {
|
|
8341
|
+
marginTop: "-40px"
|
|
8318
8342
|
}
|
|
8319
8343
|
}
|
|
8320
8344
|
},
|
|
8345
|
+
{
|
|
8346
|
+
type: "Control",
|
|
8347
|
+
scope: "#/properties/EmptyBox",
|
|
8348
|
+
options: {
|
|
8349
|
+
widget: "EmptyBox"
|
|
8350
|
+
},
|
|
8351
|
+
config: {
|
|
8352
|
+
main: {},
|
|
8353
|
+
layout: { xs: 11, sm: 5.5, md: 5.5, lg: 5.5 }
|
|
8354
|
+
}
|
|
8355
|
+
},
|
|
8321
8356
|
{
|
|
8322
8357
|
type: "Control",
|
|
8323
8358
|
scope: "#/properties/ConfirmDeleteEventButton",
|
|
@@ -8334,9 +8369,6 @@ const EventUiSchema = {
|
|
|
8334
8369
|
type: "text",
|
|
8335
8370
|
onClick: "deleteEvent",
|
|
8336
8371
|
size: "small"
|
|
8337
|
-
},
|
|
8338
|
-
style: {
|
|
8339
|
-
width: { xs: "100%", sm: "100%", md: "25%", lg: "20%" }
|
|
8340
8372
|
}
|
|
8341
8373
|
}
|
|
8342
8374
|
},
|
|
@@ -8356,9 +8388,6 @@ const EventUiSchema = {
|
|
|
8356
8388
|
type: "text",
|
|
8357
8389
|
onClick: "deletePopUpEvent",
|
|
8358
8390
|
size: "small"
|
|
8359
|
-
},
|
|
8360
|
-
style: {
|
|
8361
|
-
width: { xs: "100%", sm: "100%", md: "25%", lg: "20%" }
|
|
8362
8391
|
}
|
|
8363
8392
|
}
|
|
8364
8393
|
}
|
|
@@ -8697,13 +8726,13 @@ var event = (store2, dynamicData2, submitHandler, service2) => {
|
|
|
8697
8726
|
},
|
|
8698
8727
|
deleteEvent: async function() {
|
|
8699
8728
|
await Component(store2, dynamicData2, submitHandler, service2).deleteEvent;
|
|
8700
|
-
store2.updateDialog("
|
|
8729
|
+
store2.updateDialog("popUpEvent");
|
|
8701
8730
|
},
|
|
8702
8731
|
backHandler: function() {
|
|
8703
8732
|
store2.navigate(-1);
|
|
8704
8733
|
},
|
|
8705
8734
|
deletePopUpEvent: function() {
|
|
8706
|
-
store2.updateDialog("
|
|
8735
|
+
store2.updateDialog("popUpEvent");
|
|
8707
8736
|
}
|
|
8708
8737
|
};
|
|
8709
8738
|
};
|