impaktapps-ui-builder 0.0.1059 → 0.0.1061
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 +3 -1
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +1 -1
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildArray.ts +1 -0
- package/src/impaktapps-ui-builder/builder/build/buildUiSchema.ts +4 -1
|
@@ -11849,6 +11849,7 @@ const ArrayDetailUiSchema = {
|
|
|
11849
11849
|
scope: "#/properties/adjustments",
|
|
11850
11850
|
layout: 11.5,
|
|
11851
11851
|
options: {
|
|
11852
|
+
type: "HorizontalLayout",
|
|
11852
11853
|
elements: []
|
|
11853
11854
|
}
|
|
11854
11855
|
};
|
|
@@ -12201,7 +12202,6 @@ function buildRule(configObj, tableName, arrayHolderName) {
|
|
|
12201
12202
|
if (arrayHolderName) {
|
|
12202
12203
|
if ((_c = (_b = (_a = schema.properties) == null ? void 0 : _a[tableName]) == null ? void 0 : _b.items) == null ? void 0 : _c.properties) {
|
|
12203
12204
|
if (!((_g = (_f = (_e = (_d = schema.properties) == null ? void 0 : _d[tableName]) == null ? void 0 : _e.items) == null ? void 0 : _f.properties) == null ? void 0 : _g[configObj.name])) {
|
|
12204
|
-
schema.properties[tableName].items.properties[configObj.name] = {};
|
|
12205
12205
|
if (configObj.type === "Select" && ((_h = configObj.value) == null ? void 0 : _h.length) > 0) {
|
|
12206
12206
|
schema.properties[tableName].items.properties[configObj.name] = {
|
|
12207
12207
|
oneOf: configObj.value.map((e) => {
|
|
@@ -12216,6 +12216,8 @@ function buildRule(configObj, tableName, arrayHolderName) {
|
|
|
12216
12216
|
})
|
|
12217
12217
|
}
|
|
12218
12218
|
};
|
|
12219
|
+
} else {
|
|
12220
|
+
schema.properties[tableName].items.properties[configObj.name] = { type: "string" };
|
|
12219
12221
|
}
|
|
12220
12222
|
}
|
|
12221
12223
|
}
|