impaktapps-ui-builder 0.0.382-alpha.309 → 0.0.382-alpha.311
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 +228 -34
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +9 -9
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/dist/src/impaktapps-ui-builder/builder/services/component.d.ts +2 -0
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/eventSection.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/tableSection.ts +4 -2
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/uiSchema.ts +169 -0
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/uiSchema.ts +32 -68
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/uiSchema.ts +17 -26
- package/src/impaktapps-ui-builder/builder/services/component.ts +8 -0
- package/src/impaktapps-ui-builder/builder/services/event.ts +2 -2
- package/src/impaktapps-ui-builder/builder/services/pageMaster.ts +1 -0
|
@@ -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
|
}
|
|
@@ -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
|
]
|
|
@@ -6511,6 +6522,172 @@ const componentBasicUiSchema = {
|
|
|
6511
6522
|
}
|
|
6512
6523
|
]
|
|
6513
6524
|
},
|
|
6525
|
+
{
|
|
6526
|
+
type: "Control",
|
|
6527
|
+
scope: "#/properties/popUpComponent",
|
|
6528
|
+
options: {
|
|
6529
|
+
widget: "PopUp"
|
|
6530
|
+
},
|
|
6531
|
+
config: {
|
|
6532
|
+
layout: {
|
|
6533
|
+
xs: 12,
|
|
6534
|
+
sm: 12,
|
|
6535
|
+
md: 12,
|
|
6536
|
+
lg: 12
|
|
6537
|
+
},
|
|
6538
|
+
main: {}
|
|
6539
|
+
},
|
|
6540
|
+
elements: [
|
|
6541
|
+
{
|
|
6542
|
+
type: "Control",
|
|
6543
|
+
scope: "#/properties/label",
|
|
6544
|
+
options: {
|
|
6545
|
+
widget: "Box"
|
|
6546
|
+
},
|
|
6547
|
+
config: {
|
|
6548
|
+
layout: 12,
|
|
6549
|
+
main: {
|
|
6550
|
+
heading: "Are you sure you want to delete ?"
|
|
6551
|
+
},
|
|
6552
|
+
style: {
|
|
6553
|
+
marginTop: "-40px"
|
|
6554
|
+
}
|
|
6555
|
+
}
|
|
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
|
+
},
|
|
6568
|
+
{
|
|
6569
|
+
type: "Control",
|
|
6570
|
+
scope: "#/properties/ConfirmDeleteCompButton",
|
|
6571
|
+
options: {
|
|
6572
|
+
widget: "Button"
|
|
6573
|
+
},
|
|
6574
|
+
config: {
|
|
6575
|
+
layout: 3,
|
|
6576
|
+
main: {
|
|
6577
|
+
name: "Yes",
|
|
6578
|
+
startIcon: "ApproveIcon",
|
|
6579
|
+
variant: "contained",
|
|
6580
|
+
color: "info",
|
|
6581
|
+
type: "text",
|
|
6582
|
+
onClick: "deleteComponents",
|
|
6583
|
+
size: "small"
|
|
6584
|
+
}
|
|
6585
|
+
}
|
|
6586
|
+
},
|
|
6587
|
+
{
|
|
6588
|
+
type: "Control",
|
|
6589
|
+
scope: "#/properties/CancelDeleteCompButton",
|
|
6590
|
+
options: {
|
|
6591
|
+
widget: "Button"
|
|
6592
|
+
},
|
|
6593
|
+
config: {
|
|
6594
|
+
layout: 3,
|
|
6595
|
+
main: {
|
|
6596
|
+
name: "No",
|
|
6597
|
+
startIcon: "ApproveIcon",
|
|
6598
|
+
variant: "contained",
|
|
6599
|
+
color: "info",
|
|
6600
|
+
type: "text",
|
|
6601
|
+
onClick: "deletePopUpComponent",
|
|
6602
|
+
size: "small"
|
|
6603
|
+
}
|
|
6604
|
+
}
|
|
6605
|
+
}
|
|
6606
|
+
]
|
|
6607
|
+
},
|
|
6608
|
+
{
|
|
6609
|
+
type: "Control",
|
|
6610
|
+
scope: "#/properties/popUpEvent",
|
|
6611
|
+
options: {
|
|
6612
|
+
widget: "PopUp"
|
|
6613
|
+
},
|
|
6614
|
+
config: {
|
|
6615
|
+
layout: {
|
|
6616
|
+
xs: 12,
|
|
6617
|
+
sm: 12,
|
|
6618
|
+
md: 12,
|
|
6619
|
+
lg: 12
|
|
6620
|
+
},
|
|
6621
|
+
main: {}
|
|
6622
|
+
},
|
|
6623
|
+
elemetns: [
|
|
6624
|
+
{
|
|
6625
|
+
type: "Control",
|
|
6626
|
+
scope: "#/properties/label",
|
|
6627
|
+
options: {
|
|
6628
|
+
widget: "Box"
|
|
6629
|
+
},
|
|
6630
|
+
config: {
|
|
6631
|
+
layout: 12,
|
|
6632
|
+
main: {
|
|
6633
|
+
heading: "Are you sure you want to delete ?"
|
|
6634
|
+
},
|
|
6635
|
+
style: {
|
|
6636
|
+
marginTop: "-40px"
|
|
6637
|
+
}
|
|
6638
|
+
}
|
|
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
|
+
},
|
|
6651
|
+
{
|
|
6652
|
+
type: "Control",
|
|
6653
|
+
scope: "#/properties/ConfirmDeleteEventButton",
|
|
6654
|
+
options: {
|
|
6655
|
+
widget: "Button"
|
|
6656
|
+
},
|
|
6657
|
+
config: {
|
|
6658
|
+
layout: 3,
|
|
6659
|
+
main: {
|
|
6660
|
+
name: "Yes",
|
|
6661
|
+
startIcon: "ApproveIcon",
|
|
6662
|
+
variant: "contained",
|
|
6663
|
+
color: "info",
|
|
6664
|
+
type: "text",
|
|
6665
|
+
onClick: "deleteEvent",
|
|
6666
|
+
size: "small"
|
|
6667
|
+
}
|
|
6668
|
+
}
|
|
6669
|
+
},
|
|
6670
|
+
{
|
|
6671
|
+
type: "Control",
|
|
6672
|
+
scope: "#/properties/CancelDeleteEventButton",
|
|
6673
|
+
options: {
|
|
6674
|
+
widget: "Button"
|
|
6675
|
+
},
|
|
6676
|
+
config: {
|
|
6677
|
+
layout: 3,
|
|
6678
|
+
main: {
|
|
6679
|
+
name: "No",
|
|
6680
|
+
startIcon: "ApproveIcon",
|
|
6681
|
+
variant: "contained",
|
|
6682
|
+
color: "info",
|
|
6683
|
+
type: "text",
|
|
6684
|
+
onClick: "deletePopUpEvent",
|
|
6685
|
+
size: "small"
|
|
6686
|
+
}
|
|
6687
|
+
}
|
|
6688
|
+
}
|
|
6689
|
+
]
|
|
6690
|
+
},
|
|
6514
6691
|
{
|
|
6515
6692
|
type: "Control",
|
|
6516
6693
|
scope: "#/properties/proc",
|
|
@@ -6817,7 +6994,7 @@ const EventSection = {
|
|
|
6817
6994
|
icon: "RejectIcon",
|
|
6818
6995
|
color: "error",
|
|
6819
6996
|
tooltipMessage: "Reject This Record",
|
|
6820
|
-
onClick: "
|
|
6997
|
+
onClick: "deletePopUpEvent"
|
|
6821
6998
|
}
|
|
6822
6999
|
}
|
|
6823
7000
|
}
|
|
@@ -7333,7 +7510,7 @@ const TableSection = {
|
|
|
7333
7510
|
main: {
|
|
7334
7511
|
icon: "RejectIcon",
|
|
7335
7512
|
color: "error",
|
|
7336
|
-
onClick: "
|
|
7513
|
+
onClick: "deletePopUpComponent",
|
|
7337
7514
|
tooltipMessage: "Reject This Record"
|
|
7338
7515
|
}
|
|
7339
7516
|
}
|
|
@@ -7693,6 +7870,7 @@ var Component = (store2, dynamicData2, submitHandler, service2) => {
|
|
|
7693
7870
|
const response2 = saveFormdataInLocalStorage(store2.ctx.core.data, path);
|
|
7694
7871
|
const data2 = path ? _.get(response2, path) : response2;
|
|
7695
7872
|
store2.setFormdata(data2);
|
|
7873
|
+
store2.updateDialog("popUpComponent");
|
|
7696
7874
|
},
|
|
7697
7875
|
deleteEvent: function() {
|
|
7698
7876
|
var _a;
|
|
@@ -7701,6 +7879,7 @@ var Component = (store2, dynamicData2, submitHandler, service2) => {
|
|
|
7701
7879
|
store2.formData.events.splice(rowId, 1);
|
|
7702
7880
|
const response2 = saveFormdataInLocalStorage(store2.ctx.core.data, path);
|
|
7703
7881
|
store2.setFormdata(_.get(response2, path));
|
|
7882
|
+
store2.updateDialog("popUpEvent");
|
|
7704
7883
|
},
|
|
7705
7884
|
widgetAddClickHandler: function() {
|
|
7706
7885
|
var _a;
|
|
@@ -7736,6 +7915,12 @@ var Component = (store2, dynamicData2, submitHandler, service2) => {
|
|
|
7736
7915
|
},
|
|
7737
7916
|
backHandler: function() {
|
|
7738
7917
|
store2.navigate(-1);
|
|
7918
|
+
},
|
|
7919
|
+
deletePopUpComponent: function() {
|
|
7920
|
+
store2.updateDialog("popUpComponent");
|
|
7921
|
+
},
|
|
7922
|
+
deletePopUpEvent: function() {
|
|
7923
|
+
store2.updateDialog("popUpEvent");
|
|
7739
7924
|
}
|
|
7740
7925
|
};
|
|
7741
7926
|
};
|
|
@@ -7810,6 +7995,7 @@ var pageMaster = (funcParams) => {
|
|
|
7810
7995
|
store2.formData.events.splice(rowId, 1);
|
|
7811
7996
|
const response2 = saveFormdataInLocalStorage(store2.ctx.core.data);
|
|
7812
7997
|
store2.setFormdata(response2);
|
|
7998
|
+
store2.updateDialog("popUpEvent");
|
|
7813
7999
|
},
|
|
7814
8000
|
deletePopUpComponent: function() {
|
|
7815
8001
|
store2.updateDialog("popUpComponent");
|
|
@@ -8128,7 +8314,7 @@ const EventUiSchema = {
|
|
|
8128
8314
|
},
|
|
8129
8315
|
{
|
|
8130
8316
|
type: "Control",
|
|
8131
|
-
scope: "#/properties/
|
|
8317
|
+
scope: "#/properties/popUpEvent",
|
|
8132
8318
|
options: {
|
|
8133
8319
|
widget: "PopUp"
|
|
8134
8320
|
},
|
|
@@ -8152,12 +8338,26 @@ const EventUiSchema = {
|
|
|
8152
8338
|
layout: 12,
|
|
8153
8339
|
main: {
|
|
8154
8340
|
heading: "Are you sure you want to delete ?"
|
|
8341
|
+
},
|
|
8342
|
+
style: {
|
|
8343
|
+
marginTop: "-40px"
|
|
8155
8344
|
}
|
|
8156
8345
|
}
|
|
8157
8346
|
},
|
|
8158
8347
|
{
|
|
8159
8348
|
type: "Control",
|
|
8160
|
-
scope: "#/properties/
|
|
8349
|
+
scope: "#/properties/EmptyBox",
|
|
8350
|
+
options: {
|
|
8351
|
+
widget: "EmptyBox"
|
|
8352
|
+
},
|
|
8353
|
+
config: {
|
|
8354
|
+
main: {},
|
|
8355
|
+
layout: { xs: 11, sm: 5.5, md: 5.5, lg: 5.5 }
|
|
8356
|
+
}
|
|
8357
|
+
},
|
|
8358
|
+
{
|
|
8359
|
+
type: "Control",
|
|
8360
|
+
scope: "#/properties/ConfirmDeleteEventButton",
|
|
8161
8361
|
options: {
|
|
8162
8362
|
widget: "Button"
|
|
8163
8363
|
},
|
|
@@ -8171,15 +8371,12 @@ const EventUiSchema = {
|
|
|
8171
8371
|
type: "text",
|
|
8172
8372
|
onClick: "deleteEvent",
|
|
8173
8373
|
size: "small"
|
|
8174
|
-
},
|
|
8175
|
-
style: {
|
|
8176
|
-
width: { xs: "100%", sm: "100%", md: "25%", lg: "20%" }
|
|
8177
8374
|
}
|
|
8178
8375
|
}
|
|
8179
8376
|
},
|
|
8180
8377
|
{
|
|
8181
8378
|
type: "Control",
|
|
8182
|
-
scope: "#/properties/
|
|
8379
|
+
scope: "#/properties/CancelDeleteEventButton",
|
|
8183
8380
|
options: {
|
|
8184
8381
|
widget: "Button"
|
|
8185
8382
|
},
|
|
@@ -8193,9 +8390,6 @@ const EventUiSchema = {
|
|
|
8193
8390
|
type: "text",
|
|
8194
8391
|
onClick: "deletePopUpEvent",
|
|
8195
8392
|
size: "small"
|
|
8196
|
-
},
|
|
8197
|
-
style: {
|
|
8198
|
-
width: { xs: "100%", sm: "100%", md: "25%", lg: "20%" }
|
|
8199
8393
|
}
|
|
8200
8394
|
}
|
|
8201
8395
|
}
|
|
@@ -8534,13 +8728,13 @@ var event = (store2, dynamicData2, submitHandler, service2) => {
|
|
|
8534
8728
|
},
|
|
8535
8729
|
deleteEvent: async function() {
|
|
8536
8730
|
await Component(store2, dynamicData2, submitHandler, service2).deleteEvent;
|
|
8537
|
-
store2.updateDialog("
|
|
8731
|
+
store2.updateDialog("popUpEvent");
|
|
8538
8732
|
},
|
|
8539
8733
|
backHandler: function() {
|
|
8540
8734
|
store2.navigate(-1);
|
|
8541
8735
|
},
|
|
8542
8736
|
deletePopUpEvent: function() {
|
|
8543
|
-
store2.updateDialog("
|
|
8737
|
+
store2.updateDialog("popUpEvent");
|
|
8544
8738
|
}
|
|
8545
8739
|
};
|
|
8546
8740
|
};
|