impaktapps-ui-builder 0.0.403 → 0.0.404
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 +9 -1
- 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 +2 -0
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/schema.ts +8 -1
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@ import Table from "./uischema/table";
|
|
|
2
2
|
import _ from "lodash";
|
|
3
3
|
import buildUiSchema from "./buildUiSchema";
|
|
4
4
|
import lazyLoadingTable from "./uischema/lazyLoadingTable";
|
|
5
|
-
|
|
5
|
+
|
|
6
6
|
export const buildTable = (config: any, componentScope: string) => {
|
|
7
7
|
const table: any = _.cloneDeep(Table);
|
|
8
8
|
table.scope = componentScope;
|
|
@@ -315,10 +315,12 @@ const buildUiSchema = (config: any) => {
|
|
|
315
315
|
accessorKey: e.name,
|
|
316
316
|
header: e.label || e.name,
|
|
317
317
|
size: sizeMap[e.name]|| 180,
|
|
318
|
+
type:e.type,
|
|
318
319
|
widget: buildUiSchema(e)
|
|
319
320
|
}
|
|
320
321
|
}
|
|
321
322
|
return {
|
|
323
|
+
type:e.type,
|
|
322
324
|
accessorKey: e.name,
|
|
323
325
|
header: e.label || e.name,
|
|
324
326
|
size: sizeMap[e.name]|| 180
|
|
@@ -37,7 +37,14 @@ export const ComponentSchema: any = {
|
|
|
37
37
|
{ title: "Text", const: "Text" },
|
|
38
38
|
{ title: "Text Area", const: "TextArea" },
|
|
39
39
|
{ title: "Timer", const: "Timer" },
|
|
40
|
-
{ title: "Upload File", const: "UploadFile" },
|
|
40
|
+
{ title: "Upload File", const: "UploadFile" },
|
|
41
|
+
{ title: "Text Area", const: "TextArea" },
|
|
42
|
+
{ title: "Timer", const: "Timer" },
|
|
43
|
+
{ title: "Upload File", const: "UploadFile" },
|
|
44
|
+
{ title: "Date Column", const: "date" },
|
|
45
|
+
{ title: "DateTime Column", const: "dateTime" },
|
|
46
|
+
{ title: "Amount Column", const: "amount" },
|
|
47
|
+
]
|
|
41
48
|
},
|
|
42
49
|
orientation:{
|
|
43
50
|
oneOf: [
|