impaktapps-ui-builder 0.0.1059 → 0.0.1060
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.
|
@@ -12201,7 +12201,6 @@ function buildRule(configObj, tableName, arrayHolderName) {
|
|
|
12201
12201
|
if (arrayHolderName) {
|
|
12202
12202
|
if ((_c = (_b = (_a = schema.properties) == null ? void 0 : _a[tableName]) == null ? void 0 : _b.items) == null ? void 0 : _c.properties) {
|
|
12203
12203
|
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
12204
|
if (configObj.type === "Select" && ((_h = configObj.value) == null ? void 0 : _h.length) > 0) {
|
|
12206
12205
|
schema.properties[tableName].items.properties[configObj.name] = {
|
|
12207
12206
|
oneOf: configObj.value.map((e) => {
|
|
@@ -12216,6 +12215,8 @@ function buildRule(configObj, tableName, arrayHolderName) {
|
|
|
12216
12215
|
})
|
|
12217
12216
|
}
|
|
12218
12217
|
};
|
|
12218
|
+
} else {
|
|
12219
|
+
schema.properties[tableName].items.properties[configObj.name] = { type: "string" };
|
|
12219
12220
|
}
|
|
12220
12221
|
}
|
|
12221
12222
|
}
|