impaktapps-ui-builder 0.0.382-alpha.11 → 0.0.382-alpha.12
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 +125 -111
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +10 -10
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/eventSection.d.ts +70 -121
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/valueTab.d.ts +17 -2
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/eventSection.ts +78 -51
- package/src/impaktapps-ui-builder/builder/build/uischema/valueTab.ts +12 -12
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/uiSchema.ts +21 -0
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/uiSchema.ts +23 -0
|
@@ -6415,6 +6415,26 @@ const componentBasicUiSchema = (theme) => {
|
|
|
6415
6415
|
layout: 2
|
|
6416
6416
|
}
|
|
6417
6417
|
},
|
|
6418
|
+
{
|
|
6419
|
+
type: "Control",
|
|
6420
|
+
scope: "#/properties/pageName",
|
|
6421
|
+
options: {
|
|
6422
|
+
widget: "Box"
|
|
6423
|
+
},
|
|
6424
|
+
config: {
|
|
6425
|
+
layout: { xs: 7, sm: 7, md: 9 },
|
|
6426
|
+
main: {
|
|
6427
|
+
heading: " "
|
|
6428
|
+
},
|
|
6429
|
+
style: {
|
|
6430
|
+
float: "right",
|
|
6431
|
+
width: "auto",
|
|
6432
|
+
fontSize: "12px",
|
|
6433
|
+
color: "gray",
|
|
6434
|
+
paddingTop: "10px"
|
|
6435
|
+
}
|
|
6436
|
+
}
|
|
6437
|
+
},
|
|
6418
6438
|
{
|
|
6419
6439
|
type: "Control",
|
|
6420
6440
|
scope: "#/properties/backIcon",
|
|
@@ -6568,121 +6588,95 @@ const EventSection = {
|
|
|
6568
6588
|
type: "HorizontalLayout",
|
|
6569
6589
|
elements: [
|
|
6570
6590
|
{
|
|
6571
|
-
type: "
|
|
6591
|
+
type: "Control",
|
|
6592
|
+
scope: "#/properties/events",
|
|
6593
|
+
options: {
|
|
6594
|
+
widget: "Table"
|
|
6595
|
+
},
|
|
6572
6596
|
config: {
|
|
6573
6597
|
main: {
|
|
6574
|
-
|
|
6575
|
-
|
|
6576
|
-
|
|
6577
|
-
|
|
6598
|
+
headerIcons: {
|
|
6599
|
+
elements: [
|
|
6600
|
+
{
|
|
6601
|
+
widget: {
|
|
6602
|
+
type: "Control",
|
|
6603
|
+
scope: "#/properties/New_Record",
|
|
6604
|
+
options: {
|
|
6605
|
+
widget: "IconButton"
|
|
6606
|
+
},
|
|
6607
|
+
config: {
|
|
6608
|
+
main: {
|
|
6609
|
+
color: "info",
|
|
6610
|
+
onClick: "eventAddHandler",
|
|
6611
|
+
size: "small",
|
|
6612
|
+
icon: "AddIcon",
|
|
6613
|
+
iconLabel: "Add New",
|
|
6614
|
+
styleDefault: true
|
|
6615
|
+
},
|
|
6616
|
+
style: {
|
|
6617
|
+
mt: "6px"
|
|
6618
|
+
}
|
|
6619
|
+
}
|
|
6620
|
+
}
|
|
6621
|
+
}
|
|
6622
|
+
]
|
|
6623
|
+
},
|
|
6624
|
+
disableAction: true,
|
|
6625
|
+
disableSelection: true,
|
|
6626
|
+
enableDrag: true
|
|
6578
6627
|
}
|
|
6579
6628
|
},
|
|
6580
6629
|
elements: [
|
|
6581
6630
|
{
|
|
6582
|
-
|
|
6583
|
-
|
|
6584
|
-
options: {
|
|
6585
|
-
widget: "Box"
|
|
6586
|
-
},
|
|
6587
|
-
config: {
|
|
6588
|
-
layout: 8,
|
|
6589
|
-
main: {
|
|
6590
|
-
heading: "Event Table"
|
|
6591
|
-
},
|
|
6592
|
-
style: {
|
|
6593
|
-
fontFamily: "Roboto",
|
|
6594
|
-
fontWeight: "500",
|
|
6595
|
-
paddingLeft: "-10px",
|
|
6596
|
-
fontSize: "20px"
|
|
6597
|
-
}
|
|
6598
|
-
}
|
|
6631
|
+
accessorKey: "eventType",
|
|
6632
|
+
header: "Event Type"
|
|
6599
6633
|
},
|
|
6600
6634
|
{
|
|
6601
|
-
|
|
6602
|
-
|
|
6603
|
-
|
|
6604
|
-
|
|
6605
|
-
|
|
6606
|
-
|
|
6607
|
-
|
|
6608
|
-
|
|
6609
|
-
|
|
6610
|
-
|
|
6611
|
-
|
|
6612
|
-
onClick: "eventAddHandler",
|
|
6613
|
-
tooltipMessage: "Back"
|
|
6635
|
+
accessorKey: "Handler",
|
|
6636
|
+
header: "Handler"
|
|
6637
|
+
},
|
|
6638
|
+
{
|
|
6639
|
+
accessorKey: "Edit_Approve_Records",
|
|
6640
|
+
header: "Edit Widget",
|
|
6641
|
+
widget: {
|
|
6642
|
+
type: "Control",
|
|
6643
|
+
scope: "#/properties/Edit_Records",
|
|
6644
|
+
options: {
|
|
6645
|
+
widget: "IconButton"
|
|
6614
6646
|
},
|
|
6615
|
-
|
|
6616
|
-
|
|
6647
|
+
config: {
|
|
6648
|
+
main: {
|
|
6649
|
+
color: "info",
|
|
6650
|
+
size: "small",
|
|
6651
|
+
icon: "EditIcon",
|
|
6652
|
+
tooltipMessage: "Edit This Record",
|
|
6653
|
+
onClick: "eventEditHandler"
|
|
6654
|
+
},
|
|
6655
|
+
style: {
|
|
6656
|
+
color: "#3949ab"
|
|
6657
|
+
}
|
|
6617
6658
|
}
|
|
6618
6659
|
}
|
|
6619
6660
|
},
|
|
6620
6661
|
{
|
|
6621
|
-
|
|
6622
|
-
|
|
6623
|
-
|
|
6624
|
-
|
|
6625
|
-
|
|
6626
|
-
|
|
6627
|
-
|
|
6628
|
-
|
|
6629
|
-
disableSelection: true,
|
|
6630
|
-
enableDrag: true
|
|
6631
|
-
}
|
|
6632
|
-
},
|
|
6633
|
-
elements: [
|
|
6634
|
-
{
|
|
6635
|
-
accessorKey: "eventType",
|
|
6636
|
-
header: "Event Type"
|
|
6637
|
-
},
|
|
6638
|
-
{
|
|
6639
|
-
accessorKey: "Handler",
|
|
6640
|
-
header: "Handler"
|
|
6641
|
-
},
|
|
6642
|
-
{
|
|
6643
|
-
accessorKey: "Edit_Approve_Records",
|
|
6644
|
-
header: "Edit Widget",
|
|
6645
|
-
widget: {
|
|
6646
|
-
type: "Control",
|
|
6647
|
-
scope: "#/properties/Edit_Records",
|
|
6648
|
-
options: {
|
|
6649
|
-
widget: "IconButton"
|
|
6650
|
-
},
|
|
6651
|
-
config: {
|
|
6652
|
-
main: {
|
|
6653
|
-
color: "info",
|
|
6654
|
-
size: "small",
|
|
6655
|
-
icon: "EditIcon",
|
|
6656
|
-
tooltipMessage: "Edit This Record",
|
|
6657
|
-
onClick: "eventEditHandler"
|
|
6658
|
-
},
|
|
6659
|
-
style: {
|
|
6660
|
-
color: "#3949ab"
|
|
6661
|
-
}
|
|
6662
|
-
}
|
|
6663
|
-
}
|
|
6662
|
+
accessorKey: "Reject_Records",
|
|
6663
|
+
header: "Delete",
|
|
6664
|
+
widget: {
|
|
6665
|
+
type: "Control",
|
|
6666
|
+
scope: "#/properties/RejectButton",
|
|
6667
|
+
accessorKeyName: "Reject_Records",
|
|
6668
|
+
options: {
|
|
6669
|
+
widget: "IconButton"
|
|
6664
6670
|
},
|
|
6665
|
-
{
|
|
6666
|
-
|
|
6667
|
-
|
|
6668
|
-
|
|
6669
|
-
|
|
6670
|
-
|
|
6671
|
-
accessorKeyName: "Reject_Records",
|
|
6672
|
-
options: {
|
|
6673
|
-
widget: "IconButton"
|
|
6674
|
-
},
|
|
6675
|
-
config: {
|
|
6676
|
-
main: {
|
|
6677
|
-
icon: "RejectIcon",
|
|
6678
|
-
color: "error",
|
|
6679
|
-
tooltipMessage: "Reject This Record",
|
|
6680
|
-
onClick: "deleteEvent"
|
|
6681
|
-
}
|
|
6682
|
-
}
|
|
6671
|
+
config: {
|
|
6672
|
+
main: {
|
|
6673
|
+
icon: "RejectIcon",
|
|
6674
|
+
color: "error",
|
|
6675
|
+
tooltipMessage: "Reject This Record",
|
|
6676
|
+
onClick: "deleteEvent"
|
|
6683
6677
|
}
|
|
6684
6678
|
}
|
|
6685
|
-
|
|
6679
|
+
}
|
|
6686
6680
|
}
|
|
6687
6681
|
]
|
|
6688
6682
|
}
|
|
@@ -7223,12 +7217,7 @@ const ValueTab = {
|
|
|
7223
7217
|
widget: "InputField"
|
|
7224
7218
|
},
|
|
7225
7219
|
config: {
|
|
7226
|
-
layout: {
|
|
7227
|
-
xs: 11,
|
|
7228
|
-
sm: 11,
|
|
7229
|
-
md: 5.5,
|
|
7230
|
-
lg: 5.5
|
|
7231
|
-
},
|
|
7220
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
7232
7221
|
main: {
|
|
7233
7222
|
label: "Label"
|
|
7234
7223
|
}
|
|
@@ -7241,16 +7230,21 @@ const ValueTab = {
|
|
|
7241
7230
|
widget: "InputField"
|
|
7242
7231
|
},
|
|
7243
7232
|
config: {
|
|
7244
|
-
layout: {
|
|
7245
|
-
xs: 11,
|
|
7246
|
-
sm: 11,
|
|
7247
|
-
md: 5.5,
|
|
7248
|
-
lg: 5.5
|
|
7249
|
-
},
|
|
7233
|
+
layout: { xs: 11, sm: 4, md: 4, lg: 4 },
|
|
7250
7234
|
main: {
|
|
7251
7235
|
label: "Value"
|
|
7252
7236
|
}
|
|
7253
7237
|
}
|
|
7238
|
+
},
|
|
7239
|
+
{
|
|
7240
|
+
type: "Control",
|
|
7241
|
+
scope: "#/properties/emptyBox",
|
|
7242
|
+
options: {
|
|
7243
|
+
widget: "EmptyBox"
|
|
7244
|
+
},
|
|
7245
|
+
config: {
|
|
7246
|
+
layout: { xs: 0, sm: 4, md: 4, lg: 4 }
|
|
7247
|
+
}
|
|
7254
7248
|
}
|
|
7255
7249
|
]
|
|
7256
7250
|
}
|
|
@@ -8036,6 +8030,26 @@ const EventUiSchema = (theme) => {
|
|
|
8036
8030
|
layout: 2
|
|
8037
8031
|
}
|
|
8038
8032
|
},
|
|
8033
|
+
{
|
|
8034
|
+
type: "Control",
|
|
8035
|
+
scope: "#/properties/pageName",
|
|
8036
|
+
options: {
|
|
8037
|
+
widget: "Box"
|
|
8038
|
+
},
|
|
8039
|
+
config: {
|
|
8040
|
+
layout: { xs: 7, sm: 7, md: 9 },
|
|
8041
|
+
main: {
|
|
8042
|
+
heading: " "
|
|
8043
|
+
},
|
|
8044
|
+
style: {
|
|
8045
|
+
float: "right",
|
|
8046
|
+
width: "auto",
|
|
8047
|
+
fontSize: "12px",
|
|
8048
|
+
color: "gray",
|
|
8049
|
+
paddingTop: "10px"
|
|
8050
|
+
}
|
|
8051
|
+
}
|
|
8052
|
+
},
|
|
8039
8053
|
{
|
|
8040
8054
|
type: "Control",
|
|
8041
8055
|
scope: "#/properties/backIcon",
|