impaktapps-ui-builder 1.0.45 → 1.0.47
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 -13
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +7 -7
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildConfig.ts +3 -13
- package/src/impaktapps-ui-builder/builder/build/buildUiSchema.ts +1 -1
|
@@ -8270,19 +8270,9 @@ var buildConfig = (FormData) => {
|
|
|
8270
8270
|
};
|
|
8271
8271
|
const createLayoutFormat = (config2) => {
|
|
8272
8272
|
if (_.isEmpty(config2)) {
|
|
8273
|
-
return {
|
|
8274
|
-
xs: 12,
|
|
8275
|
-
sm: 12,
|
|
8276
|
-
md: 12,
|
|
8277
|
-
lg: 12
|
|
8278
|
-
};
|
|
8273
|
+
return { xs: 12, sm: 6, md: 4, lg: 3 };
|
|
8279
8274
|
}
|
|
8280
|
-
let data = {
|
|
8281
|
-
xs: 12,
|
|
8282
|
-
sm: 12,
|
|
8283
|
-
md: 6,
|
|
8284
|
-
lg: 6
|
|
8285
|
-
};
|
|
8275
|
+
let data = { xs: 12, sm: 6, md: 4, lg: 3 };
|
|
8286
8276
|
config2.map((e) => {
|
|
8287
8277
|
data[e.key || "xs"] = +e.value || 5.5;
|
|
8288
8278
|
});
|
|
@@ -12370,7 +12360,7 @@ function buildRule(configObj, tableName, arrayHolderName) {
|
|
|
12370
12360
|
const buildSchema = (config2, tableName, isArrayType) => {
|
|
12371
12361
|
buildRule(config2, tableName, isArrayType);
|
|
12372
12362
|
if (config2 == null ? void 0 : config2.elements) {
|
|
12373
|
-
if (config2.type == "
|
|
12363
|
+
if (config2.type == "Array") {
|
|
12374
12364
|
if (!schema.properties[config2.name]) {
|
|
12375
12365
|
schema.properties[config2.name] = {
|
|
12376
12366
|
type: "array",
|