impaktapps-ui-builder 0.0.101-alpha.13 → 0.0.101-alpha.14
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 +111 -66
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +4 -4
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/eventSection.d.ts +26 -33
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/styleSection.d.ts +7 -8
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/validationSections.d.ts +56 -37
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/eventSection.ts +37 -15
- package/src/impaktapps-ui-builder/builder/build/uischema/styleSection.ts +9 -13
- package/src/impaktapps-ui-builder/builder/build/uischema/validationSections.ts +117 -48
|
@@ -7254,15 +7254,20 @@ const EventSection = (theme) => {
|
|
|
7254
7254
|
},
|
|
7255
7255
|
config: {
|
|
7256
7256
|
main: {
|
|
7257
|
-
color: "info",
|
|
7258
7257
|
onClick: "eventAddHandler",
|
|
7259
7258
|
size: "small",
|
|
7260
|
-
icon: "
|
|
7261
|
-
iconLabel: "Add
|
|
7259
|
+
icon: "TableAddIcon",
|
|
7260
|
+
iconLabel: "Add",
|
|
7262
7261
|
styleDefault: true
|
|
7263
7262
|
},
|
|
7264
7263
|
style: {
|
|
7265
|
-
mt: "6px"
|
|
7264
|
+
mt: "6px",
|
|
7265
|
+
color: "inherit",
|
|
7266
|
+
fill: "inherit",
|
|
7267
|
+
"&:hover": {
|
|
7268
|
+
color: "inherit",
|
|
7269
|
+
fill: "inherit"
|
|
7270
|
+
}
|
|
7266
7271
|
}
|
|
7267
7272
|
}
|
|
7268
7273
|
}
|
|
@@ -7278,12 +7283,18 @@ const EventSection = (theme) => {
|
|
|
7278
7283
|
main: {
|
|
7279
7284
|
onClick: "copyPasteElement",
|
|
7280
7285
|
size: "small",
|
|
7281
|
-
icon: "
|
|
7286
|
+
icon: "TablePaste",
|
|
7282
7287
|
iconLabel: "Paste",
|
|
7283
7288
|
styleDefault: true
|
|
7284
7289
|
},
|
|
7285
7290
|
style: {
|
|
7286
|
-
mt: "6px"
|
|
7291
|
+
mt: "6px",
|
|
7292
|
+
color: "inherit",
|
|
7293
|
+
fill: "inherit",
|
|
7294
|
+
"&:hover": {
|
|
7295
|
+
color: "inherit",
|
|
7296
|
+
fill: "inherit"
|
|
7297
|
+
}
|
|
7287
7298
|
}
|
|
7288
7299
|
}
|
|
7289
7300
|
}
|
|
@@ -7298,15 +7309,21 @@ const EventSection = (theme) => {
|
|
|
7298
7309
|
elements: [
|
|
7299
7310
|
{
|
|
7300
7311
|
accessorKey: "eventType",
|
|
7301
|
-
header: "Event Type"
|
|
7312
|
+
header: "Event Type",
|
|
7313
|
+
type: "string",
|
|
7314
|
+
size: 300
|
|
7302
7315
|
},
|
|
7303
7316
|
{
|
|
7304
7317
|
accessorKey: "Handler",
|
|
7305
|
-
header: "Handler"
|
|
7318
|
+
header: "Handler",
|
|
7319
|
+
type: "string",
|
|
7320
|
+
size: 200
|
|
7306
7321
|
},
|
|
7307
7322
|
{
|
|
7308
7323
|
accessorKey: "Edit_Approve_Records",
|
|
7309
7324
|
header: "Edit Widget",
|
|
7325
|
+
size: 150,
|
|
7326
|
+
type: "action",
|
|
7310
7327
|
widget: {
|
|
7311
7328
|
type: "Control",
|
|
7312
7329
|
scope: "#/properties/Edit_Records",
|
|
@@ -7315,14 +7332,16 @@ const EventSection = (theme) => {
|
|
|
7315
7332
|
},
|
|
7316
7333
|
config: {
|
|
7317
7334
|
main: {
|
|
7318
|
-
color: "info",
|
|
7319
7335
|
size: "small",
|
|
7320
|
-
icon: "
|
|
7336
|
+
icon: "TableEditIcon",
|
|
7321
7337
|
tooltipMessage: "Edit This Record",
|
|
7322
7338
|
onClick: "eventEditHandler"
|
|
7323
7339
|
},
|
|
7324
7340
|
style: {
|
|
7325
|
-
|
|
7341
|
+
fill: theme.palette.primary.main,
|
|
7342
|
+
"& :hover": {
|
|
7343
|
+
fill: theme.palette.primary.dark
|
|
7344
|
+
}
|
|
7326
7345
|
}
|
|
7327
7346
|
}
|
|
7328
7347
|
}
|
|
@@ -7330,6 +7349,8 @@ const EventSection = (theme) => {
|
|
|
7330
7349
|
{
|
|
7331
7350
|
accessorKey: "Reject_Records",
|
|
7332
7351
|
header: "Delete",
|
|
7352
|
+
size: 150,
|
|
7353
|
+
type: "action",
|
|
7333
7354
|
widget: {
|
|
7334
7355
|
type: "Control",
|
|
7335
7356
|
scope: "#/properties/RejectButton",
|
|
@@ -7339,10 +7360,15 @@ const EventSection = (theme) => {
|
|
|
7339
7360
|
},
|
|
7340
7361
|
config: {
|
|
7341
7362
|
main: {
|
|
7342
|
-
icon: "
|
|
7343
|
-
color: "error",
|
|
7363
|
+
icon: "Bin",
|
|
7344
7364
|
tooltipMessage: "Reject This Record",
|
|
7345
7365
|
onClick: "deletePopUpEvent"
|
|
7366
|
+
},
|
|
7367
|
+
style: {
|
|
7368
|
+
fill: theme.palette.primary.main,
|
|
7369
|
+
"& :hover": {
|
|
7370
|
+
fill: theme.palette.primary.dark
|
|
7371
|
+
}
|
|
7346
7372
|
}
|
|
7347
7373
|
}
|
|
7348
7374
|
}
|
|
@@ -7350,7 +7376,8 @@ const EventSection = (theme) => {
|
|
|
7350
7376
|
{
|
|
7351
7377
|
header: "Copy",
|
|
7352
7378
|
field: "Copy_Event",
|
|
7353
|
-
|
|
7379
|
+
size: 150,
|
|
7380
|
+
type: "action",
|
|
7354
7381
|
widget: {
|
|
7355
7382
|
type: "Control",
|
|
7356
7383
|
scope: "#/properties/Copy_Event",
|
|
@@ -7828,7 +7855,13 @@ const buildPropertiesSection = function(type) {
|
|
|
7828
7855
|
return uiSchema;
|
|
7829
7856
|
};
|
|
7830
7857
|
const StyleSection = {
|
|
7831
|
-
type: "
|
|
7858
|
+
type: "WrapperLayout",
|
|
7859
|
+
config: {
|
|
7860
|
+
main: {
|
|
7861
|
+
label: " ",
|
|
7862
|
+
gap: "8px"
|
|
7863
|
+
}
|
|
7864
|
+
},
|
|
7832
7865
|
elements: [
|
|
7833
7866
|
{
|
|
7834
7867
|
type: "Control",
|
|
@@ -7844,14 +7877,7 @@ const StyleSection = {
|
|
|
7844
7877
|
lg: 12
|
|
7845
7878
|
},
|
|
7846
7879
|
style: {
|
|
7847
|
-
|
|
7848
|
-
borderRadius: "20px"
|
|
7849
|
-
},
|
|
7850
|
-
headerContainerStyle: {},
|
|
7851
|
-
textAreaStyle: {
|
|
7852
|
-
borderRadius: "20px",
|
|
7853
|
-
padding: "20px"
|
|
7854
|
-
}
|
|
7880
|
+
"& .MuiFormLabel-root:not(.MuiInputLabel-shrink)": {}
|
|
7855
7881
|
},
|
|
7856
7882
|
main: {
|
|
7857
7883
|
heading: "JSON Style",
|
|
@@ -8058,56 +8084,75 @@ const ValueTab = {
|
|
|
8058
8084
|
]
|
|
8059
8085
|
};
|
|
8060
8086
|
const ValidationSection = {
|
|
8061
|
-
type: "
|
|
8087
|
+
type: "WrapperLayout",
|
|
8088
|
+
config: {
|
|
8089
|
+
main: {
|
|
8090
|
+
label: " ",
|
|
8091
|
+
gap: "8px"
|
|
8092
|
+
}
|
|
8093
|
+
},
|
|
8062
8094
|
elements: [
|
|
8063
8095
|
{
|
|
8064
8096
|
type: "Control",
|
|
8065
8097
|
scope: "#/properties/validation",
|
|
8066
|
-
layout: 11.5,
|
|
8067
8098
|
options: {
|
|
8068
|
-
|
|
8069
|
-
|
|
8070
|
-
|
|
8071
|
-
|
|
8072
|
-
|
|
8073
|
-
|
|
8074
|
-
|
|
8075
|
-
|
|
8076
|
-
|
|
8077
|
-
|
|
8078
|
-
|
|
8079
|
-
|
|
8080
|
-
|
|
8081
|
-
|
|
8082
|
-
|
|
8083
|
-
|
|
8084
|
-
|
|
8085
|
-
|
|
8086
|
-
|
|
8087
|
-
|
|
8088
|
-
|
|
8089
|
-
|
|
8090
|
-
|
|
8091
|
-
|
|
8092
|
-
|
|
8093
|
-
|
|
8094
|
-
|
|
8095
|
-
|
|
8096
|
-
|
|
8097
|
-
|
|
8098
|
-
{
|
|
8099
|
-
type: "Control",
|
|
8100
|
-
scope: "#/properties/emptyBox",
|
|
8101
|
-
options: {
|
|
8102
|
-
widget: "EmptyBox"
|
|
8103
|
-
},
|
|
8104
|
-
config: {
|
|
8105
|
-
layout: { xs: 0, sm: 0, md: 4 }
|
|
8106
|
-
}
|
|
8099
|
+
widget: "Array"
|
|
8100
|
+
},
|
|
8101
|
+
config: {
|
|
8102
|
+
layout: 12,
|
|
8103
|
+
main: {
|
|
8104
|
+
label: "Validation",
|
|
8105
|
+
childElementLabel: "Validation"
|
|
8106
|
+
},
|
|
8107
|
+
style: {
|
|
8108
|
+
marginLeft: "-24px",
|
|
8109
|
+
marginBottom: "24px !important",
|
|
8110
|
+
labelStyle: {
|
|
8111
|
+
marginLeft: "24px"
|
|
8112
|
+
},
|
|
8113
|
+
detailsStyle: {
|
|
8114
|
+
marginLeft: "24px"
|
|
8115
|
+
}
|
|
8116
|
+
}
|
|
8117
|
+
},
|
|
8118
|
+
elements: [
|
|
8119
|
+
{
|
|
8120
|
+
type: "Control",
|
|
8121
|
+
scope: "#/properties/validationType",
|
|
8122
|
+
options: {
|
|
8123
|
+
widget: "SelectInputField"
|
|
8124
|
+
},
|
|
8125
|
+
config: {
|
|
8126
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
8127
|
+
main: {
|
|
8128
|
+
label: "Validation Type"
|
|
8107
8129
|
}
|
|
8108
|
-
|
|
8130
|
+
}
|
|
8131
|
+
},
|
|
8132
|
+
{
|
|
8133
|
+
type: "Control",
|
|
8134
|
+
scope: "#/properties/validationValue",
|
|
8135
|
+
options: {
|
|
8136
|
+
widget: "InputField"
|
|
8137
|
+
},
|
|
8138
|
+
config: {
|
|
8139
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
8140
|
+
main: {
|
|
8141
|
+
label: "Validation Value"
|
|
8142
|
+
}
|
|
8143
|
+
}
|
|
8144
|
+
},
|
|
8145
|
+
{
|
|
8146
|
+
type: "Control",
|
|
8147
|
+
scope: "#/properties/emptyBox",
|
|
8148
|
+
options: {
|
|
8149
|
+
widget: "EmptyBox"
|
|
8150
|
+
},
|
|
8151
|
+
config: {
|
|
8152
|
+
layout: { xs: 0, sm: 0, md: 4, lg: 4 }
|
|
8153
|
+
}
|
|
8109
8154
|
}
|
|
8110
|
-
|
|
8155
|
+
]
|
|
8111
8156
|
}
|
|
8112
8157
|
]
|
|
8113
8158
|
};
|