impaktapps-ui-builder 0.0.101-alpha.24 → 0.0.101-alpha.251
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 +557 -328
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +15 -15
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.d.ts +0 -10
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/card.d.ts +3 -5
- package/dist/src/impaktapps-ui-builder/builder/elements/UiSchema/event/schema.d.ts +6 -0
- package/dist/src/impaktapps-ui-builder/builder/services/component.d.ts +2 -0
- package/dist/src/impaktapps-ui-builder/builder/services/event.d.ts +8 -0
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildText.ts +21 -18
- package/src/impaktapps-ui-builder/builder/build/buildUiSchema.ts +21 -29
- package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +87 -72
- package/src/impaktapps-ui-builder/builder/build/uischema/card.ts +11 -8
- package/src/impaktapps-ui-builder/builder/build/uischema/coreSection.ts +1 -60
- package/src/impaktapps-ui-builder/builder/build/uischema/eventSection.ts +2 -2
- package/src/impaktapps-ui-builder/builder/build/uischema/validationSections.ts +0 -52
- package/src/impaktapps-ui-builder/builder/build/uischema/valueTab.ts +0 -50
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/schema.ts +25 -28
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/uiSchema.ts +46 -159
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/uiSchema.ts +23 -97
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/schema.ts +15 -12
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/uiSchema.ts +43 -259
- package/src/impaktapps-ui-builder/builder/services/component.ts +217 -56
- package/src/impaktapps-ui-builder/builder/services/event.ts +175 -58
- package/src/impaktapps-ui-builder/runtime/services/events.ts +8 -1
- package/src/impaktapps-ui-builder/runtime/services/service.ts +5 -111
- package/dist/src/impaktapps-ui-builder/builder/build/buildPdfViewer.d.ts +0 -1
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/pdfViewer.d.ts +0 -19
- package/src/impaktapps-ui-builder/builder/build/buildPdfViewer.ts +0 -22
- package/src/impaktapps-ui-builder/builder/build/uischema/pdfViewer.ts +0 -18
|
@@ -33,27 +33,6 @@ export const PageMasterUiSchema: any = (theme) => {
|
|
|
33
33
|
},
|
|
34
34
|
},
|
|
35
35
|
},
|
|
36
|
-
// {
|
|
37
|
-
// type: "Control",
|
|
38
|
-
// scope: "#/properties/template",
|
|
39
|
-
|
|
40
|
-
// options: {
|
|
41
|
-
// widget: "SelectInputField",
|
|
42
|
-
// },
|
|
43
|
-
// config: {
|
|
44
|
-
// layout: { xs: 6, sm: 6, md: 4, lg: 3 },
|
|
45
|
-
// main: {
|
|
46
|
-
// label: "Template",
|
|
47
|
-
// options: [
|
|
48
|
-
// { const: "template1", title: "template1" },
|
|
49
|
-
// { const: "template2", title: "template2" },
|
|
50
|
-
// { const: "template3", title: "template3" }
|
|
51
|
-
// ],
|
|
52
|
-
// color: "secondary",
|
|
53
|
-
// required: true,
|
|
54
|
-
// },
|
|
55
|
-
// },
|
|
56
|
-
// },
|
|
57
36
|
{
|
|
58
37
|
type: "Control",
|
|
59
38
|
scope: "#/properties/label",
|
|
@@ -161,6 +140,7 @@ export const PageMasterUiSchema: any = (theme) => {
|
|
|
161
140
|
icon: "TablePaste",
|
|
162
141
|
iconLabel: "Paste",
|
|
163
142
|
styleDefault: true,
|
|
143
|
+
title: ""
|
|
164
144
|
},
|
|
165
145
|
style: {
|
|
166
146
|
mt: "6px",
|
|
@@ -259,7 +239,6 @@ export const PageMasterUiSchema: any = (theme) => {
|
|
|
259
239
|
config: {
|
|
260
240
|
main: {
|
|
261
241
|
icon: "FileCopyIcon",
|
|
262
|
-
// color: "error",
|
|
263
242
|
onClick: "copyPasteElement",
|
|
264
243
|
styleDefault: true,
|
|
265
244
|
},
|
|
@@ -347,7 +326,7 @@ export const PageMasterUiSchema: any = (theme) => {
|
|
|
347
326
|
|
|
348
327
|
{
|
|
349
328
|
accessorKey: "eventType",
|
|
350
|
-
header: "Event Type",
|
|
329
|
+
header: "Event's Type",
|
|
351
330
|
size: 300,
|
|
352
331
|
type: "string"
|
|
353
332
|
},
|
|
@@ -359,7 +338,7 @@ export const PageMasterUiSchema: any = (theme) => {
|
|
|
359
338
|
},
|
|
360
339
|
{
|
|
361
340
|
accessorKey: "Edit_Approve_Records",
|
|
362
|
-
header: "Edit
|
|
341
|
+
header: "Edit",
|
|
363
342
|
type: "action",
|
|
364
343
|
size: 150,
|
|
365
344
|
widget: {
|
|
@@ -431,69 +410,10 @@ export const PageMasterUiSchema: any = (theme) => {
|
|
|
431
410
|
},
|
|
432
411
|
},
|
|
433
412
|
]
|
|
434
|
-
// }]
|
|
435
413
|
},
|
|
436
414
|
|
|
437
415
|
],
|
|
438
416
|
},
|
|
439
|
-
// {
|
|
440
|
-
// type: "HorizontalLayout",
|
|
441
|
-
// config: {
|
|
442
|
-
// layout:{xs:12,sm: 9}
|
|
443
|
-
// },
|
|
444
|
-
// elements: [
|
|
445
|
-
// {
|
|
446
|
-
// type: "Control",
|
|
447
|
-
// scope: "#/properties/RemoveItemButton",
|
|
448
|
-
// options: {
|
|
449
|
-
// widget: "IconButton",
|
|
450
|
-
// },
|
|
451
|
-
// config: {
|
|
452
|
-
// layout: { xs: 1, sm: 1 },
|
|
453
|
-
// main: {
|
|
454
|
-
// onClick: "RemoveItemButton",
|
|
455
|
-
// size: "large",
|
|
456
|
-
// icon: "RejectIcon",
|
|
457
|
-
// styleDefault: true,
|
|
458
|
-
// },
|
|
459
|
-
// style:{
|
|
460
|
-
// marginLeft: "-5px"
|
|
461
|
-
// }
|
|
462
|
-
// },
|
|
463
|
-
// },
|
|
464
|
-
|
|
465
|
-
// {
|
|
466
|
-
// type: "Control",
|
|
467
|
-
// scope: "#/properties/copiedElementDetails",
|
|
468
|
-
|
|
469
|
-
// options: {
|
|
470
|
-
// widget: "Box",
|
|
471
|
-
// },
|
|
472
|
-
// config: {
|
|
473
|
-
// layout: { xs: 6, sm: 6 },
|
|
474
|
-
// main: {
|
|
475
|
-
// heading: "No element copied",
|
|
476
|
-
// },
|
|
477
|
-
// style: {
|
|
478
|
-
// color: "#535557",
|
|
479
|
-
// marginLeft: "-30px",
|
|
480
|
-
// fontSize: "12px",
|
|
481
|
-
// marginTop: "4px"
|
|
482
|
-
// },
|
|
483
|
-
// },
|
|
484
|
-
// },
|
|
485
|
-
// {
|
|
486
|
-
// type: "Control",
|
|
487
|
-
// scope: "#/properties/EmptyBox",
|
|
488
|
-
// options: {
|
|
489
|
-
// widget: "EmptyBox",
|
|
490
|
-
// },
|
|
491
|
-
// config: {
|
|
492
|
-
// layout: { xs: 1, sm: 5 },
|
|
493
|
-
// },
|
|
494
|
-
// },
|
|
495
|
-
// ]
|
|
496
|
-
// },
|
|
497
417
|
{
|
|
498
418
|
scope: "#/properties/Remarks Container",
|
|
499
419
|
type: "WrapperLayout",
|
|
@@ -569,15 +489,17 @@ export const PageMasterUiSchema: any = (theme) => {
|
|
|
569
489
|
config: {
|
|
570
490
|
layout: 11,
|
|
571
491
|
main: {
|
|
572
|
-
heading: "Are you sure you want to delete ?",
|
|
492
|
+
heading: "Are you sure you want to delete this Component ?",
|
|
573
493
|
},
|
|
574
494
|
style:{
|
|
575
|
-
marginTop: "-20px",
|
|
576
495
|
fontSize: "20px",
|
|
577
496
|
"&.MuiTypography-root": {
|
|
578
|
-
padding: "
|
|
497
|
+
padding: "0px 20px",
|
|
579
498
|
textAlign: "center",
|
|
580
|
-
lineHeight: "1"
|
|
499
|
+
lineHeight: "1.2",
|
|
500
|
+
fontWeight: "normal",
|
|
501
|
+
fontSize: "18px",
|
|
502
|
+
marginBottom: theme.spacing(5)
|
|
581
503
|
}
|
|
582
504
|
}
|
|
583
505
|
},
|
|
@@ -600,15 +522,15 @@ export const PageMasterUiSchema: any = (theme) => {
|
|
|
600
522
|
layout: 6,
|
|
601
523
|
main: {
|
|
602
524
|
name: "No",
|
|
603
|
-
startIcon: "ApproveIcon",
|
|
604
525
|
variant: "contained",
|
|
605
|
-
color: "info",
|
|
606
526
|
type: "text",
|
|
607
527
|
onClick: "deletePopUpComponent",
|
|
608
528
|
size: "large",
|
|
609
529
|
},
|
|
610
530
|
style: {
|
|
611
531
|
position: "absolute",
|
|
532
|
+
padding: "8px 0px",
|
|
533
|
+
fontSize: "16px",
|
|
612
534
|
bottom: 0,
|
|
613
535
|
left: 0,
|
|
614
536
|
width: "50%",
|
|
@@ -636,7 +558,6 @@ export const PageMasterUiSchema: any = (theme) => {
|
|
|
636
558
|
layout: 6,
|
|
637
559
|
main: {
|
|
638
560
|
name: "Yes",
|
|
639
|
-
startIcon: "ApproveIcon",
|
|
640
561
|
variant: "contained",
|
|
641
562
|
color: "error",
|
|
642
563
|
type: "text",
|
|
@@ -645,6 +566,8 @@ export const PageMasterUiSchema: any = (theme) => {
|
|
|
645
566
|
},
|
|
646
567
|
style: {
|
|
647
568
|
position: "absolute",
|
|
569
|
+
padding: "8px 0px",
|
|
570
|
+
fontSize: "16px",
|
|
648
571
|
bottom: 0,
|
|
649
572
|
right: 0,
|
|
650
573
|
width: "50%",
|
|
@@ -695,15 +618,17 @@ export const PageMasterUiSchema: any = (theme) => {
|
|
|
695
618
|
config: {
|
|
696
619
|
layout: 11,
|
|
697
620
|
main: {
|
|
698
|
-
heading: "Are you sure you want to delete ?",
|
|
621
|
+
heading: "Are you sure you want to delete this Event ?",
|
|
699
622
|
},
|
|
700
623
|
style:{
|
|
701
|
-
marginTop: "-20px",
|
|
702
624
|
fontSize: "20px",
|
|
703
625
|
"&.MuiTypography-root": {
|
|
704
|
-
padding: "
|
|
626
|
+
padding: "0px 20px",
|
|
705
627
|
textAlign: "center",
|
|
706
|
-
lineHeight: "1"
|
|
628
|
+
lineHeight: "1.2",
|
|
629
|
+
fontWeight: "normal",
|
|
630
|
+
fontSize: "18px",
|
|
631
|
+
marginBottom: theme.spacing(5)
|
|
707
632
|
}
|
|
708
633
|
}
|
|
709
634
|
},
|
|
@@ -726,15 +651,15 @@ export const PageMasterUiSchema: any = (theme) => {
|
|
|
726
651
|
layout: 6,
|
|
727
652
|
main: {
|
|
728
653
|
name: "No",
|
|
729
|
-
startIcon: "ApproveIcon",
|
|
730
654
|
variant: "contained",
|
|
731
|
-
color: "info",
|
|
732
655
|
type: "text",
|
|
733
656
|
onClick: "deletePopUpEvent",
|
|
734
657
|
size: "large",
|
|
735
658
|
},
|
|
736
659
|
style: {
|
|
737
660
|
position: "absolute",
|
|
661
|
+
padding: "8px 0px",
|
|
662
|
+
fontSize: "16px",
|
|
738
663
|
bottom: 0,
|
|
739
664
|
left: 0,
|
|
740
665
|
width: "50%",
|
|
@@ -762,7 +687,6 @@ export const PageMasterUiSchema: any = (theme) => {
|
|
|
762
687
|
layout: 6,
|
|
763
688
|
main: {
|
|
764
689
|
name: "Yes",
|
|
765
|
-
startIcon: "ApproveIcon",
|
|
766
690
|
variant: "contained",
|
|
767
691
|
color: "error",
|
|
768
692
|
type: "text",
|
|
@@ -771,6 +695,8 @@ export const PageMasterUiSchema: any = (theme) => {
|
|
|
771
695
|
},
|
|
772
696
|
style: {
|
|
773
697
|
position: "absolute",
|
|
698
|
+
padding: "8px 0px",
|
|
699
|
+
fontSize: "16px",
|
|
774
700
|
bottom: 0,
|
|
775
701
|
right: 0,
|
|
776
702
|
width: "50%",
|
|
@@ -38,18 +38,18 @@ export const EventSchema = {
|
|
|
38
38
|
eventType: {
|
|
39
39
|
type: "string",
|
|
40
40
|
oneOf: [
|
|
41
|
-
{ title: "Click
|
|
42
|
-
{ title: "Load
|
|
43
|
-
{ title: "Change
|
|
44
|
-
{ title: "Mount
|
|
41
|
+
{ title: "Click", const: "onClick" },
|
|
42
|
+
{ title: "Load", const: "onLoad" },
|
|
43
|
+
{ title: "Change", const: "onChange" },
|
|
44
|
+
{ title: "Mount", const: "onMount" },
|
|
45
45
|
{ title: "Success", const: "Success" },
|
|
46
|
-
{ title: "
|
|
47
|
-
{ title: "Cell
|
|
48
|
-
{ title: "
|
|
49
|
-
{ title: "Back
|
|
50
|
-
{ title: "Next
|
|
51
|
-
{ title: "
|
|
52
|
-
{ title: "
|
|
46
|
+
{ title: "Start", const: "onStart" },
|
|
47
|
+
{ title: "Cell Render", const: "onCellRenderer" },
|
|
48
|
+
{ title: "Upload", const: "onUpload" },
|
|
49
|
+
{ title: "Back", const: "onBack" },
|
|
50
|
+
{ title: "Next", const: "onNext" },
|
|
51
|
+
{ title: "Row Movement", const: "onRowMovement" },
|
|
52
|
+
{ title: "Download", const: "onDownload" },
|
|
53
53
|
{ title: "Fail", const: "Fail" }
|
|
54
54
|
]
|
|
55
55
|
},
|
|
@@ -57,7 +57,7 @@ export const EventSchema = {
|
|
|
57
57
|
type: "string",
|
|
58
58
|
oneOf: [
|
|
59
59
|
{ title: "Custom", const: "custom" },
|
|
60
|
-
{ title: "
|
|
60
|
+
{ title: "API", const: "api" },
|
|
61
61
|
{ title: "Inbuilt Function", const: "inBuiltFunction" },
|
|
62
62
|
{ title: "Refresh", const: "refresh" },
|
|
63
63
|
]
|
|
@@ -87,6 +87,9 @@ export const EventSchema = {
|
|
|
87
87
|
RemoveItemButton:{
|
|
88
88
|
disabled: true,
|
|
89
89
|
},
|
|
90
|
+
pageName: {
|
|
91
|
+
path: [{label: "defaultLabel", path: "defaultPath"}]
|
|
92
|
+
},
|
|
90
93
|
},
|
|
91
94
|
required:["eventType","Handler"]
|
|
92
95
|
}
|