impaktapps-ui-builder 0.0.412-mtreemap.23 → 0.0.412-mtreemap.24
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 +185 -173
- 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/dist/src/impaktapps-ui-builder/builder/build/uischema/eventSection.d.ts +2 -2
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/tableSection.d.ts +25 -1
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/eventSection.ts +5 -54
- package/src/impaktapps-ui-builder/builder/build/uischema/tableSection.ts +93 -137
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/uiSchema.ts +3 -0
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/uiSchema.ts +1 -1
- package/src/impaktapps-ui-builder/builder/services/component.ts +2 -2
|
@@ -188,6 +188,9 @@ const PageMasterUiSchema = (theme) => {
|
|
|
188
188
|
color: "primary",
|
|
189
189
|
onClick: "Edit_Components",
|
|
190
190
|
tooltipMessage: "Edit This Record"
|
|
191
|
+
},
|
|
192
|
+
style: {
|
|
193
|
+
color: theme.palette.primary.main
|
|
191
194
|
}
|
|
192
195
|
}
|
|
193
196
|
}
|
|
@@ -6820,103 +6823,106 @@ const CoreSection = {
|
|
|
6820
6823
|
}
|
|
6821
6824
|
]
|
|
6822
6825
|
};
|
|
6823
|
-
const EventSection = {
|
|
6824
|
-
|
|
6825
|
-
|
|
6826
|
-
|
|
6827
|
-
|
|
6828
|
-
|
|
6829
|
-
|
|
6830
|
-
|
|
6831
|
-
|
|
6832
|
-
|
|
6833
|
-
|
|
6834
|
-
|
|
6835
|
-
|
|
6836
|
-
|
|
6837
|
-
|
|
6838
|
-
|
|
6839
|
-
|
|
6840
|
-
|
|
6841
|
-
|
|
6842
|
-
|
|
6843
|
-
config: {
|
|
6844
|
-
main: {
|
|
6845
|
-
color: "info",
|
|
6846
|
-
onClick: "eventAddHandler",
|
|
6847
|
-
size: "small",
|
|
6848
|
-
icon: "AddIcon",
|
|
6849
|
-
iconLabel: "Add New",
|
|
6850
|
-
styleDefault: true
|
|
6826
|
+
const EventSection = (theme) => {
|
|
6827
|
+
const uiSchema = {
|
|
6828
|
+
type: "HorizontalLayout",
|
|
6829
|
+
elements: [
|
|
6830
|
+
{
|
|
6831
|
+
type: "Control",
|
|
6832
|
+
scope: "#/properties/events",
|
|
6833
|
+
options: {
|
|
6834
|
+
widget: "Table"
|
|
6835
|
+
},
|
|
6836
|
+
config: {
|
|
6837
|
+
main: {
|
|
6838
|
+
headerIcons: {
|
|
6839
|
+
elements: [
|
|
6840
|
+
{
|
|
6841
|
+
widget: {
|
|
6842
|
+
type: "Control",
|
|
6843
|
+
scope: "#/properties/New_Record",
|
|
6844
|
+
options: {
|
|
6845
|
+
widget: "IconButton"
|
|
6851
6846
|
},
|
|
6852
|
-
|
|
6853
|
-
|
|
6847
|
+
config: {
|
|
6848
|
+
main: {
|
|
6849
|
+
color: "info",
|
|
6850
|
+
onClick: "eventAddHandler",
|
|
6851
|
+
size: "small",
|
|
6852
|
+
icon: "AddIcon",
|
|
6853
|
+
iconLabel: "Add New",
|
|
6854
|
+
styleDefault: true
|
|
6855
|
+
},
|
|
6856
|
+
style: {
|
|
6857
|
+
mt: "6px"
|
|
6858
|
+
}
|
|
6854
6859
|
}
|
|
6855
6860
|
}
|
|
6856
6861
|
}
|
|
6857
|
-
|
|
6858
|
-
]
|
|
6859
|
-
},
|
|
6860
|
-
disableAction: true,
|
|
6861
|
-
disableSelection: true,
|
|
6862
|
-
enableDrag: true
|
|
6863
|
-
}
|
|
6864
|
-
},
|
|
6865
|
-
elements: [
|
|
6866
|
-
{
|
|
6867
|
-
accessorKey: "eventType",
|
|
6868
|
-
header: "Event Type"
|
|
6869
|
-
},
|
|
6870
|
-
{
|
|
6871
|
-
accessorKey: "Handler",
|
|
6872
|
-
header: "Handler"
|
|
6873
|
-
},
|
|
6874
|
-
{
|
|
6875
|
-
accessorKey: "Edit_Approve_Records",
|
|
6876
|
-
header: "Edit Widget",
|
|
6877
|
-
widget: {
|
|
6878
|
-
type: "Control",
|
|
6879
|
-
scope: "#/properties/Edit_Records",
|
|
6880
|
-
options: {
|
|
6881
|
-
widget: "IconButton"
|
|
6862
|
+
]
|
|
6882
6863
|
},
|
|
6883
|
-
|
|
6884
|
-
|
|
6885
|
-
|
|
6886
|
-
|
|
6887
|
-
|
|
6888
|
-
|
|
6889
|
-
|
|
6864
|
+
disableAction: true,
|
|
6865
|
+
disableSelection: true,
|
|
6866
|
+
enableDrag: true
|
|
6867
|
+
}
|
|
6868
|
+
},
|
|
6869
|
+
elements: [
|
|
6870
|
+
{
|
|
6871
|
+
accessorKey: "eventType",
|
|
6872
|
+
header: "Event Type"
|
|
6873
|
+
},
|
|
6874
|
+
{
|
|
6875
|
+
accessorKey: "Handler",
|
|
6876
|
+
header: "Handler"
|
|
6877
|
+
},
|
|
6878
|
+
{
|
|
6879
|
+
accessorKey: "Edit_Approve_Records",
|
|
6880
|
+
header: "Edit Widget",
|
|
6881
|
+
widget: {
|
|
6882
|
+
type: "Control",
|
|
6883
|
+
scope: "#/properties/Edit_Records",
|
|
6884
|
+
options: {
|
|
6885
|
+
widget: "IconButton"
|
|
6890
6886
|
},
|
|
6891
|
-
|
|
6892
|
-
|
|
6887
|
+
config: {
|
|
6888
|
+
main: {
|
|
6889
|
+
color: "info",
|
|
6890
|
+
size: "small",
|
|
6891
|
+
icon: "EditIcon",
|
|
6892
|
+
tooltipMessage: "Edit This Record",
|
|
6893
|
+
onClick: "eventEditHandler"
|
|
6894
|
+
},
|
|
6895
|
+
style: {
|
|
6896
|
+
color: theme
|
|
6897
|
+
}
|
|
6893
6898
|
}
|
|
6894
6899
|
}
|
|
6895
|
-
}
|
|
6896
|
-
|
|
6897
|
-
|
|
6898
|
-
|
|
6899
|
-
|
|
6900
|
-
|
|
6901
|
-
|
|
6902
|
-
|
|
6903
|
-
|
|
6904
|
-
|
|
6905
|
-
|
|
6906
|
-
|
|
6907
|
-
|
|
6908
|
-
|
|
6909
|
-
|
|
6910
|
-
|
|
6911
|
-
|
|
6912
|
-
|
|
6900
|
+
},
|
|
6901
|
+
{
|
|
6902
|
+
accessorKey: "Reject_Records",
|
|
6903
|
+
header: "Delete",
|
|
6904
|
+
widget: {
|
|
6905
|
+
type: "Control",
|
|
6906
|
+
scope: "#/properties/RejectButton",
|
|
6907
|
+
accessorKeyName: "Reject_Records",
|
|
6908
|
+
options: {
|
|
6909
|
+
widget: "IconButton"
|
|
6910
|
+
},
|
|
6911
|
+
config: {
|
|
6912
|
+
main: {
|
|
6913
|
+
icon: "RejectIcon",
|
|
6914
|
+
color: "error",
|
|
6915
|
+
tooltipMessage: "Reject This Record",
|
|
6916
|
+
onClick: "deletePopUpEvent"
|
|
6917
|
+
}
|
|
6913
6918
|
}
|
|
6914
6919
|
}
|
|
6915
6920
|
}
|
|
6916
|
-
|
|
6917
|
-
|
|
6918
|
-
|
|
6919
|
-
|
|
6921
|
+
]
|
|
6922
|
+
}
|
|
6923
|
+
]
|
|
6924
|
+
};
|
|
6925
|
+
return uiSchema;
|
|
6920
6926
|
};
|
|
6921
6927
|
var emptyBox = {
|
|
6922
6928
|
type: "Control",
|
|
@@ -7331,100 +7337,106 @@ const StyleSection = {
|
|
|
7331
7337
|
}
|
|
7332
7338
|
]
|
|
7333
7339
|
};
|
|
7334
|
-
const TableSection = {
|
|
7335
|
-
|
|
7336
|
-
|
|
7337
|
-
|
|
7338
|
-
|
|
7339
|
-
|
|
7340
|
-
|
|
7341
|
-
|
|
7342
|
-
|
|
7343
|
-
|
|
7344
|
-
|
|
7345
|
-
|
|
7346
|
-
|
|
7347
|
-
|
|
7348
|
-
|
|
7349
|
-
|
|
7350
|
-
|
|
7351
|
-
|
|
7352
|
-
|
|
7353
|
-
|
|
7354
|
-
config: {
|
|
7355
|
-
main: {
|
|
7356
|
-
color: "info",
|
|
7357
|
-
onClick: "widgetAddClickHandler",
|
|
7358
|
-
size: "small",
|
|
7359
|
-
icon: "AddIcon",
|
|
7360
|
-
iconLabel: "Add New",
|
|
7361
|
-
styleDefault: true
|
|
7340
|
+
const TableSection = (theme) => {
|
|
7341
|
+
const uiSchema = {
|
|
7342
|
+
type: "HorizontalLayout",
|
|
7343
|
+
elements: [
|
|
7344
|
+
{
|
|
7345
|
+
type: "Control",
|
|
7346
|
+
scope: "#/properties/elements",
|
|
7347
|
+
options: {
|
|
7348
|
+
widget: "Table"
|
|
7349
|
+
},
|
|
7350
|
+
config: {
|
|
7351
|
+
main: {
|
|
7352
|
+
headerIcons: {
|
|
7353
|
+
elements: [
|
|
7354
|
+
{
|
|
7355
|
+
widget: {
|
|
7356
|
+
type: "Control",
|
|
7357
|
+
scope: "#/properties/New_Record",
|
|
7358
|
+
options: {
|
|
7359
|
+
widget: "IconButton"
|
|
7362
7360
|
},
|
|
7363
|
-
|
|
7364
|
-
|
|
7361
|
+
config: {
|
|
7362
|
+
main: {
|
|
7363
|
+
color: "info",
|
|
7364
|
+
onClick: "widgetAddClickHandler",
|
|
7365
|
+
size: "small",
|
|
7366
|
+
icon: "AddIcon",
|
|
7367
|
+
iconLabel: "Add New",
|
|
7368
|
+
styleDefault: true
|
|
7369
|
+
},
|
|
7370
|
+
style: {
|
|
7371
|
+
mt: "6px"
|
|
7372
|
+
}
|
|
7365
7373
|
}
|
|
7366
7374
|
}
|
|
7367
7375
|
}
|
|
7368
|
-
|
|
7369
|
-
]
|
|
7370
|
-
},
|
|
7371
|
-
disableAction: true,
|
|
7372
|
-
disableSelection: true,
|
|
7373
|
-
enableDrag: true
|
|
7374
|
-
}
|
|
7375
|
-
},
|
|
7376
|
-
elements: [
|
|
7377
|
-
{
|
|
7378
|
-
accessorKey: "name",
|
|
7379
|
-
header: "Name"
|
|
7380
|
-
},
|
|
7381
|
-
{
|
|
7382
|
-
accessorKey: "type",
|
|
7383
|
-
header: "Type"
|
|
7384
|
-
},
|
|
7385
|
-
{
|
|
7386
|
-
header: "Edit Record",
|
|
7387
|
-
field: "Reject_Records",
|
|
7388
|
-
flex: 1,
|
|
7389
|
-
widget: {
|
|
7390
|
-
type: "Control",
|
|
7391
|
-
scope: "#/properties/RejectButton",
|
|
7392
|
-
options: {
|
|
7393
|
-
widget: "IconButton"
|
|
7376
|
+
]
|
|
7394
7377
|
},
|
|
7395
|
-
|
|
7396
|
-
|
|
7397
|
-
|
|
7398
|
-
color: "primary",
|
|
7399
|
-
onClick: "editComponents",
|
|
7400
|
-
tooltipMessage: "Reject This Record"
|
|
7401
|
-
}
|
|
7402
|
-
}
|
|
7378
|
+
disableAction: true,
|
|
7379
|
+
disableSelection: true,
|
|
7380
|
+
enableDrag: true
|
|
7403
7381
|
}
|
|
7404
7382
|
},
|
|
7405
|
-
|
|
7406
|
-
|
|
7407
|
-
|
|
7408
|
-
|
|
7409
|
-
|
|
7410
|
-
|
|
7411
|
-
|
|
7412
|
-
|
|
7413
|
-
|
|
7414
|
-
|
|
7415
|
-
|
|
7416
|
-
|
|
7417
|
-
|
|
7418
|
-
|
|
7419
|
-
|
|
7420
|
-
|
|
7383
|
+
elements: [
|
|
7384
|
+
{
|
|
7385
|
+
accessorKey: "name",
|
|
7386
|
+
header: "Name"
|
|
7387
|
+
},
|
|
7388
|
+
{
|
|
7389
|
+
accessorKey: "type",
|
|
7390
|
+
header: "Type"
|
|
7391
|
+
},
|
|
7392
|
+
{
|
|
7393
|
+
header: "Edit Record",
|
|
7394
|
+
field: "Reject_Records",
|
|
7395
|
+
flex: 1,
|
|
7396
|
+
widget: {
|
|
7397
|
+
type: "Control",
|
|
7398
|
+
scope: "#/properties/RejectButton",
|
|
7399
|
+
options: {
|
|
7400
|
+
widget: "IconButton"
|
|
7401
|
+
},
|
|
7402
|
+
config: {
|
|
7403
|
+
main: {
|
|
7404
|
+
icon: "EditIcon",
|
|
7405
|
+
color: "primary",
|
|
7406
|
+
onClick: "editComponents",
|
|
7407
|
+
tooltipMessage: "Reject This Record"
|
|
7408
|
+
},
|
|
7409
|
+
style: {
|
|
7410
|
+
color: theme.palette.primary.main
|
|
7411
|
+
}
|
|
7412
|
+
}
|
|
7413
|
+
}
|
|
7414
|
+
},
|
|
7415
|
+
{
|
|
7416
|
+
header: "Delete",
|
|
7417
|
+
field: "Reject_Records",
|
|
7418
|
+
flex: 1,
|
|
7419
|
+
widget: {
|
|
7420
|
+
type: "Control",
|
|
7421
|
+
scope: "#/properties/RejectButton",
|
|
7422
|
+
options: {
|
|
7423
|
+
widget: "IconButton"
|
|
7424
|
+
},
|
|
7425
|
+
config: {
|
|
7426
|
+
main: {
|
|
7427
|
+
icon: "RejectIcon",
|
|
7428
|
+
color: "error",
|
|
7429
|
+
onClick: "deletePopUpComponent",
|
|
7430
|
+
tooltipMessage: "Reject This Record"
|
|
7431
|
+
}
|
|
7421
7432
|
}
|
|
7422
7433
|
}
|
|
7423
7434
|
}
|
|
7424
|
-
|
|
7425
|
-
|
|
7426
|
-
|
|
7427
|
-
|
|
7435
|
+
]
|
|
7436
|
+
}
|
|
7437
|
+
]
|
|
7438
|
+
};
|
|
7439
|
+
return uiSchema;
|
|
7428
7440
|
};
|
|
7429
7441
|
const ValueTab = {
|
|
7430
7442
|
type: "HorizontalLayout",
|
|
@@ -7719,8 +7731,8 @@ const refreshPage = (type, store2) => {
|
|
|
7719
7731
|
Core: CoreSection,
|
|
7720
7732
|
Value: ValueTab,
|
|
7721
7733
|
Style: StyleSection,
|
|
7722
|
-
Event: EventSection,
|
|
7723
|
-
Components: TableSection,
|
|
7734
|
+
Event: EventSection(store2.theme.myTheme),
|
|
7735
|
+
Components: TableSection(store2.theme.myTheme),
|
|
7724
7736
|
Properties: buildPropertiesSection(type),
|
|
7725
7737
|
Validation: ValidationSection
|
|
7726
7738
|
};
|
|
@@ -8136,7 +8148,7 @@ const EventUiSchema = (theme) => {
|
|
|
8136
8148
|
onClick: "editEvent"
|
|
8137
8149
|
},
|
|
8138
8150
|
style: {
|
|
8139
|
-
color:
|
|
8151
|
+
color: theme.palette.primary.main
|
|
8140
8152
|
}
|
|
8141
8153
|
}
|
|
8142
8154
|
}
|