impaktapps-ui-builder 0.0.403 → 0.0.405
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 +10 -2
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +3 -3
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildTable.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildUiSchema.ts +6 -4
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/schema.ts +8 -1
|
@@ -5909,7 +5909,13 @@ const ComponentSchema = {
|
|
|
5909
5909
|
{ title: "Text", const: "Text" },
|
|
5910
5910
|
{ title: "Text Area", const: "TextArea" },
|
|
5911
5911
|
{ title: "Timer", const: "Timer" },
|
|
5912
|
-
{ title: "Upload File", const: "UploadFile" }
|
|
5912
|
+
{ title: "Upload File", const: "UploadFile" },
|
|
5913
|
+
{ title: "Text Area", const: "TextArea" },
|
|
5914
|
+
{ title: "Timer", const: "Timer" },
|
|
5915
|
+
{ title: "Upload File", const: "UploadFile" },
|
|
5916
|
+
{ title: "Date Column", const: "date" },
|
|
5917
|
+
{ title: "DateTime Column", const: "dateTime" },
|
|
5918
|
+
{ title: "Amount Column", const: "amount" }
|
|
5913
5919
|
]
|
|
5914
5920
|
},
|
|
5915
5921
|
orientation: {
|
|
@@ -10938,15 +10944,17 @@ const buildUiSchema = (config) => {
|
|
|
10938
10944
|
});
|
|
10939
10945
|
}
|
|
10940
10946
|
elements.elements = config.elements.map((e, elemInd) => {
|
|
10941
|
-
if (e.type) {
|
|
10947
|
+
if (e.type && e.type !== "date" && e.type !== "dateTime" && e.type !== "amount") {
|
|
10942
10948
|
return {
|
|
10943
10949
|
accessorKey: e.name,
|
|
10944
10950
|
header: e.label || e.name,
|
|
10945
10951
|
size: sizeMap[e.name] || 180,
|
|
10952
|
+
type: e.type,
|
|
10946
10953
|
widget: buildUiSchema(e)
|
|
10947
10954
|
};
|
|
10948
10955
|
}
|
|
10949
10956
|
return {
|
|
10957
|
+
type: e.type,
|
|
10950
10958
|
accessorKey: e.name,
|
|
10951
10959
|
header: e.label || e.name,
|
|
10952
10960
|
size: sizeMap[e.name] || 180
|