impaktapps-ui-builder 1.0.62 → 1.0.63-alpha.1
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 +25 -1
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +4 -4
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/dist/src/impaktapps-ui-builder/builder/build/buildHorizontalLayout.d.ts +1 -0
- package/dist/src/impaktapps-ui-builder/builder/build/uischema/horizontalLayout.d.ts +13 -0
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildHorizontalLayout.ts +21 -0
- package/src/impaktapps-ui-builder/builder/build/buildPop.ts +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildUiSchema.ts +4 -0
- package/src/impaktapps-ui-builder/builder/build/uischema/horizontalLayout.ts +11 -0
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/schema.ts +1 -0
|
@@ -6270,6 +6270,7 @@ const ComponentSchema = {
|
|
|
6270
6270
|
{ title: "Data Card", const: "card" },
|
|
6271
6271
|
{ title: "Check Box", const: "CheckBox" },
|
|
6272
6272
|
{ title: "Container", const: "WrapperSection" },
|
|
6273
|
+
{ title: "Tab Container", const: "HorizontalLayout" },
|
|
6273
6274
|
{ title: "Data Grid", const: "DataGrid" },
|
|
6274
6275
|
{ title: "Date", const: "Date" },
|
|
6275
6276
|
{ title: "Time Stamp", const: "DateTime" },
|
|
@@ -12096,7 +12097,7 @@ const buildPopUp = (config2, componentScope2) => {
|
|
|
12096
12097
|
popup.config.layout = createLayoutFormat(config2.layout, config2.type);
|
|
12097
12098
|
}
|
|
12098
12099
|
if (config2.style) {
|
|
12099
|
-
|
|
12100
|
+
popup.config.style = JSON.parse(config2.style);
|
|
12100
12101
|
}
|
|
12101
12102
|
return popup;
|
|
12102
12103
|
};
|
|
@@ -12267,6 +12268,26 @@ const buildThoughtOfTheDay = (config2, componentScope2) => {
|
|
|
12267
12268
|
}
|
|
12268
12269
|
return thought;
|
|
12269
12270
|
};
|
|
12271
|
+
var horizontalLayout = {
|
|
12272
|
+
type: "HorizontalLayout",
|
|
12273
|
+
config: {
|
|
12274
|
+
layout: 12,
|
|
12275
|
+
main: {
|
|
12276
|
+
rowSpacing: 3,
|
|
12277
|
+
divider: false
|
|
12278
|
+
},
|
|
12279
|
+
defaultStyle: true
|
|
12280
|
+
},
|
|
12281
|
+
elements: []
|
|
12282
|
+
};
|
|
12283
|
+
const buildHorizontalLayout = (config2, componentScope2) => {
|
|
12284
|
+
const horizontal = _.cloneDeep(horizontalLayout);
|
|
12285
|
+
horizontal.scope = componentScope2;
|
|
12286
|
+
if (config2.layout) {
|
|
12287
|
+
horizontal.config.layout = createLayoutFormat(config2.layout, config2.type);
|
|
12288
|
+
}
|
|
12289
|
+
return horizontal;
|
|
12290
|
+
};
|
|
12270
12291
|
let schema = {
|
|
12271
12292
|
type: "object",
|
|
12272
12293
|
properties: {},
|
|
@@ -12421,6 +12442,9 @@ const buildUiSchema = (config2, store2) => {
|
|
|
12421
12442
|
case "WrapperSection":
|
|
12422
12443
|
elements = buildWrapperSection(config2, componentScope2);
|
|
12423
12444
|
break;
|
|
12445
|
+
case "HorizontalLayout":
|
|
12446
|
+
elements = buildHorizontalLayout(config2, componentScope2);
|
|
12447
|
+
break;
|
|
12424
12448
|
case "Text":
|
|
12425
12449
|
elements = buildTextField(config2, componentScope2);
|
|
12426
12450
|
break;
|