impaktapps-ui-builder 0.0.101-alpha.14 → 0.0.101-alpha.16
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 +118 -66
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +6 -6
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.d.ts +6 -0
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/tableSection.d.ts +29 -33
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/valueTab.d.ts +56 -36
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +12 -7
- package/src/impaktapps-ui-builder/builder/build/uischema/tableSection.ts +40 -18
- package/src/impaktapps-ui-builder/builder/build/uischema/valueTab.ts +113 -43
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/schema.ts +2 -2
|
@@ -6240,10 +6240,10 @@ const ComponentSchema = {
|
|
|
6240
6240
|
properties: {
|
|
6241
6241
|
type: {
|
|
6242
6242
|
oneOf: [
|
|
6243
|
-
{ title: "
|
|
6243
|
+
{ title: "Masked Aadhaar", const: "AadharcardText" },
|
|
6244
6244
|
{ title: "Array", const: "Array" },
|
|
6245
6245
|
{ title: "Button", const: "Button" },
|
|
6246
|
-
{ title: "Card", const: "card" },
|
|
6246
|
+
{ title: "Data Card", const: "card" },
|
|
6247
6247
|
{ title: "CheckBox", const: "CheckBox" },
|
|
6248
6248
|
{ title: "Container", const: "WrapperSection" },
|
|
6249
6249
|
{ title: "DataGrid", const: "DataGrid" },
|
|
@@ -7519,7 +7519,7 @@ const getInputField = (scope, label) => {
|
|
|
7519
7519
|
widget: "InputField"
|
|
7520
7520
|
},
|
|
7521
7521
|
config: {
|
|
7522
|
-
layout: { xs: 6, sm: 6, md: 4, lg:
|
|
7522
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 3 },
|
|
7523
7523
|
main: {
|
|
7524
7524
|
label
|
|
7525
7525
|
}
|
|
@@ -7534,7 +7534,7 @@ const getRadioInputField = (scope, label, options) => {
|
|
|
7534
7534
|
widget: "RadioInputField"
|
|
7535
7535
|
},
|
|
7536
7536
|
config: {
|
|
7537
|
-
layout: { xs: 12, sm: 6, md: 4, lg:
|
|
7537
|
+
layout: { xs: 12, sm: 6, md: 4, lg: 3 },
|
|
7538
7538
|
main: {
|
|
7539
7539
|
label,
|
|
7540
7540
|
options
|
|
@@ -7600,7 +7600,7 @@ const getSelectField = (scope, label, options) => {
|
|
|
7600
7600
|
widget: "SelectInputField"
|
|
7601
7601
|
},
|
|
7602
7602
|
config: {
|
|
7603
|
-
layout: { xs: 6, sm: 6, md: 4, lg:
|
|
7603
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 3 },
|
|
7604
7604
|
main: {
|
|
7605
7605
|
label,
|
|
7606
7606
|
type: "text"
|
|
@@ -7616,7 +7616,7 @@ const getMultiSelectField = (scope, label) => {
|
|
|
7616
7616
|
widget: "MultipleSelect"
|
|
7617
7617
|
},
|
|
7618
7618
|
config: {
|
|
7619
|
-
layout: { xs: 6, sm: 6, md: 4, lg:
|
|
7619
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 3 },
|
|
7620
7620
|
main: {
|
|
7621
7621
|
multiple: true,
|
|
7622
7622
|
label,
|
|
@@ -7625,12 +7625,18 @@ const getMultiSelectField = (scope, label) => {
|
|
|
7625
7625
|
}
|
|
7626
7626
|
};
|
|
7627
7627
|
};
|
|
7628
|
-
const
|
|
7628
|
+
const BaseSection = {
|
|
7629
7629
|
type: "WrapperLayout",
|
|
7630
|
+
config: {
|
|
7631
|
+
main: {
|
|
7632
|
+
label: " ",
|
|
7633
|
+
gap: "8px"
|
|
7634
|
+
}
|
|
7635
|
+
},
|
|
7630
7636
|
elements: []
|
|
7631
7637
|
};
|
|
7632
7638
|
const buildPropertiesSection = function(type) {
|
|
7633
|
-
let uiSchema = _.cloneDeep(
|
|
7639
|
+
let uiSchema = _.cloneDeep(BaseSection);
|
|
7634
7640
|
switch (type) {
|
|
7635
7641
|
case "TreeMap":
|
|
7636
7642
|
uiSchema.elements = [
|
|
@@ -7911,15 +7917,20 @@ const TableSection = (theme) => {
|
|
|
7911
7917
|
},
|
|
7912
7918
|
config: {
|
|
7913
7919
|
main: {
|
|
7914
|
-
color: "info",
|
|
7915
7920
|
onClick: "widgetAddClickHandler",
|
|
7916
7921
|
size: "small",
|
|
7917
|
-
icon: "
|
|
7918
|
-
iconLabel: "Add
|
|
7922
|
+
icon: "TableAddIcon",
|
|
7923
|
+
iconLabel: "Add",
|
|
7919
7924
|
styleDefault: true
|
|
7920
7925
|
},
|
|
7921
7926
|
style: {
|
|
7922
|
-
mt: "6px"
|
|
7927
|
+
mt: "6px",
|
|
7928
|
+
color: "inherit",
|
|
7929
|
+
fill: "inherit",
|
|
7930
|
+
"&:hover": {
|
|
7931
|
+
color: "inherit",
|
|
7932
|
+
fill: "inherit"
|
|
7933
|
+
}
|
|
7923
7934
|
}
|
|
7924
7935
|
}
|
|
7925
7936
|
}
|
|
@@ -7935,12 +7946,18 @@ const TableSection = (theme) => {
|
|
|
7935
7946
|
main: {
|
|
7936
7947
|
onClick: "copyPasteElement",
|
|
7937
7948
|
size: "small",
|
|
7938
|
-
icon: "
|
|
7949
|
+
icon: "TablePaste",
|
|
7939
7950
|
iconLabel: "Paste",
|
|
7940
7951
|
styleDefault: true
|
|
7941
7952
|
},
|
|
7942
7953
|
style: {
|
|
7943
|
-
mt: "6px"
|
|
7954
|
+
mt: "6px",
|
|
7955
|
+
color: "inherit",
|
|
7956
|
+
fill: "inherit",
|
|
7957
|
+
"&:hover": {
|
|
7958
|
+
color: "inherit",
|
|
7959
|
+
fill: "inherit"
|
|
7960
|
+
}
|
|
7944
7961
|
}
|
|
7945
7962
|
}
|
|
7946
7963
|
}
|
|
@@ -7955,16 +7972,21 @@ const TableSection = (theme) => {
|
|
|
7955
7972
|
elements: [
|
|
7956
7973
|
{
|
|
7957
7974
|
accessorKey: "name",
|
|
7958
|
-
header: "Name"
|
|
7975
|
+
header: "Name",
|
|
7976
|
+
type: "string",
|
|
7977
|
+
size: 300
|
|
7959
7978
|
},
|
|
7960
7979
|
{
|
|
7961
7980
|
accessorKey: "type",
|
|
7962
|
-
header: "Type"
|
|
7981
|
+
header: "Type",
|
|
7982
|
+
type: "string",
|
|
7983
|
+
size: 200
|
|
7963
7984
|
},
|
|
7964
7985
|
{
|
|
7965
7986
|
header: "Edit Record",
|
|
7966
7987
|
field: "Reject_Records",
|
|
7967
|
-
|
|
7988
|
+
size: 150,
|
|
7989
|
+
type: "action",
|
|
7968
7990
|
widget: {
|
|
7969
7991
|
type: "Control",
|
|
7970
7992
|
scope: "#/properties/RejectButton",
|
|
@@ -7973,13 +7995,16 @@ const TableSection = (theme) => {
|
|
|
7973
7995
|
},
|
|
7974
7996
|
config: {
|
|
7975
7997
|
main: {
|
|
7976
|
-
icon: "
|
|
7977
|
-
|
|
7998
|
+
icon: "TableEditIcon",
|
|
7999
|
+
size: "small",
|
|
7978
8000
|
onClick: "editComponents",
|
|
7979
8001
|
tooltipMessage: "Reject This Record"
|
|
7980
8002
|
},
|
|
7981
8003
|
style: {
|
|
7982
|
-
|
|
8004
|
+
fill: theme.palette.primary.main,
|
|
8005
|
+
"& :hover": {
|
|
8006
|
+
fill: theme.palette.primary.dark
|
|
8007
|
+
}
|
|
7983
8008
|
}
|
|
7984
8009
|
}
|
|
7985
8010
|
}
|
|
@@ -7987,7 +8012,8 @@ const TableSection = (theme) => {
|
|
|
7987
8012
|
{
|
|
7988
8013
|
header: "Delete",
|
|
7989
8014
|
field: "Reject_Records",
|
|
7990
|
-
|
|
8015
|
+
size: 150,
|
|
8016
|
+
type: "action",
|
|
7991
8017
|
widget: {
|
|
7992
8018
|
type: "Control",
|
|
7993
8019
|
scope: "#/properties/RejectButton",
|
|
@@ -7996,10 +8022,15 @@ const TableSection = (theme) => {
|
|
|
7996
8022
|
},
|
|
7997
8023
|
config: {
|
|
7998
8024
|
main: {
|
|
7999
|
-
icon: "
|
|
8000
|
-
color: "error",
|
|
8025
|
+
icon: "Bin",
|
|
8001
8026
|
onClick: "deletePopUpComponent",
|
|
8002
8027
|
tooltipMessage: "Reject This Record"
|
|
8028
|
+
},
|
|
8029
|
+
style: {
|
|
8030
|
+
fill: theme.palette.primary.main,
|
|
8031
|
+
"& :hover": {
|
|
8032
|
+
fill: theme.palette.primary.dark
|
|
8033
|
+
}
|
|
8003
8034
|
}
|
|
8004
8035
|
}
|
|
8005
8036
|
}
|
|
@@ -8007,7 +8038,8 @@ const TableSection = (theme) => {
|
|
|
8007
8038
|
{
|
|
8008
8039
|
header: "Copy",
|
|
8009
8040
|
field: "Copy_Component",
|
|
8010
|
-
|
|
8041
|
+
size: 150,
|
|
8042
|
+
type: "action",
|
|
8011
8043
|
widget: {
|
|
8012
8044
|
type: "Control",
|
|
8013
8045
|
scope: "#/properties/Copy_Component",
|
|
@@ -8031,55 +8063,75 @@ const TableSection = (theme) => {
|
|
|
8031
8063
|
return uiSchema;
|
|
8032
8064
|
};
|
|
8033
8065
|
const ValueTab = {
|
|
8034
|
-
type: "
|
|
8066
|
+
type: "WrapperLayout",
|
|
8067
|
+
config: {
|
|
8068
|
+
main: {
|
|
8069
|
+
label: " ",
|
|
8070
|
+
gap: "8px"
|
|
8071
|
+
}
|
|
8072
|
+
},
|
|
8035
8073
|
elements: [
|
|
8036
8074
|
{
|
|
8037
8075
|
type: "Control",
|
|
8038
8076
|
scope: "#/properties/value",
|
|
8039
|
-
layout: 12,
|
|
8040
8077
|
options: {
|
|
8041
|
-
|
|
8042
|
-
|
|
8043
|
-
|
|
8044
|
-
|
|
8045
|
-
|
|
8046
|
-
|
|
8047
|
-
|
|
8048
|
-
|
|
8049
|
-
|
|
8050
|
-
|
|
8051
|
-
|
|
8052
|
-
|
|
8053
|
-
|
|
8054
|
-
|
|
8055
|
-
|
|
8056
|
-
|
|
8057
|
-
|
|
8058
|
-
|
|
8059
|
-
|
|
8060
|
-
|
|
8061
|
-
|
|
8062
|
-
|
|
8063
|
-
|
|
8064
|
-
|
|
8065
|
-
|
|
8066
|
-
|
|
8067
|
-
|
|
8068
|
-
|
|
8069
|
-
|
|
8070
|
-
|
|
8071
|
-
type: "Control",
|
|
8072
|
-
scope: "#/properties/emptyBox",
|
|
8073
|
-
options: {
|
|
8074
|
-
widget: "EmptyBox"
|
|
8075
|
-
},
|
|
8076
|
-
config: {
|
|
8077
|
-
layout: { xs: 0, sm: 0, md: 4, lg: 4 }
|
|
8078
|
-
}
|
|
8078
|
+
widget: "Array"
|
|
8079
|
+
},
|
|
8080
|
+
config: {
|
|
8081
|
+
layout: 12,
|
|
8082
|
+
main: {
|
|
8083
|
+
label: "Value",
|
|
8084
|
+
childElementLabel: "Value"
|
|
8085
|
+
},
|
|
8086
|
+
style: {
|
|
8087
|
+
marginLeft: "-24px",
|
|
8088
|
+
marginBottom: "24px !important",
|
|
8089
|
+
labelStyle: {
|
|
8090
|
+
marginLeft: "24px"
|
|
8091
|
+
},
|
|
8092
|
+
detailsStyle: {
|
|
8093
|
+
marginLeft: "24px"
|
|
8094
|
+
}
|
|
8095
|
+
}
|
|
8096
|
+
},
|
|
8097
|
+
elements: [
|
|
8098
|
+
{
|
|
8099
|
+
type: "Control",
|
|
8100
|
+
scope: "#/properties/label",
|
|
8101
|
+
options: {
|
|
8102
|
+
widget: "InputField"
|
|
8103
|
+
},
|
|
8104
|
+
config: {
|
|
8105
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
8106
|
+
main: {
|
|
8107
|
+
label: "Label"
|
|
8079
8108
|
}
|
|
8080
|
-
|
|
8109
|
+
}
|
|
8110
|
+
},
|
|
8111
|
+
{
|
|
8112
|
+
type: "Control",
|
|
8113
|
+
scope: "#/properties/value",
|
|
8114
|
+
options: {
|
|
8115
|
+
widget: "InputField"
|
|
8116
|
+
},
|
|
8117
|
+
config: {
|
|
8118
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
8119
|
+
main: {
|
|
8120
|
+
label: "Value"
|
|
8121
|
+
}
|
|
8122
|
+
}
|
|
8123
|
+
},
|
|
8124
|
+
{
|
|
8125
|
+
type: "Control",
|
|
8126
|
+
scope: "#/properties/emptyBox",
|
|
8127
|
+
options: {
|
|
8128
|
+
widget: "EmptyBox"
|
|
8129
|
+
},
|
|
8130
|
+
config: {
|
|
8131
|
+
layout: { xs: 0, sm: 0, md: 4, lg: 4 }
|
|
8132
|
+
}
|
|
8081
8133
|
}
|
|
8082
|
-
|
|
8134
|
+
]
|
|
8083
8135
|
}
|
|
8084
8136
|
]
|
|
8085
8137
|
};
|