impaktapps-ui-builder 1.0.62 → 1.0.63-alpha.2
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 +26 -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
- package/src/impaktapps-ui-builder/builder/services/component.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" },
|
|
@@ -8465,6 +8466,7 @@ const sectionLabels = {
|
|
|
8465
8466
|
Table: ["Core", "Components", "Properties", "Events", "Style", "Validation"],
|
|
8466
8467
|
LeaderBoard: ["Core", "Components", "Properties", "Events", "Style", "Validation"],
|
|
8467
8468
|
WrapperSection: ["Core", "Components", "Properties", "Style", "Validation"],
|
|
8469
|
+
HorizontalLayout: ["Core", "Components", "Properties", "Style", "Validation"],
|
|
8468
8470
|
TabSection: ["Core", "Components", "Properties", "Style", "Validation"],
|
|
8469
8471
|
SpeedoMeter: ["Core", "Properties", "Events", "Style", "Validation"],
|
|
8470
8472
|
card: ["Core", "Properties", "Events", "Style", "Validation"],
|
|
@@ -12096,7 +12098,7 @@ const buildPopUp = (config2, componentScope2) => {
|
|
|
12096
12098
|
popup.config.layout = createLayoutFormat(config2.layout, config2.type);
|
|
12097
12099
|
}
|
|
12098
12100
|
if (config2.style) {
|
|
12099
|
-
|
|
12101
|
+
popup.config.style = JSON.parse(config2.style);
|
|
12100
12102
|
}
|
|
12101
12103
|
return popup;
|
|
12102
12104
|
};
|
|
@@ -12267,6 +12269,26 @@ const buildThoughtOfTheDay = (config2, componentScope2) => {
|
|
|
12267
12269
|
}
|
|
12268
12270
|
return thought;
|
|
12269
12271
|
};
|
|
12272
|
+
var horizontalLayout = {
|
|
12273
|
+
type: "HorizontalLayout",
|
|
12274
|
+
config: {
|
|
12275
|
+
layout: 12,
|
|
12276
|
+
main: {
|
|
12277
|
+
rowSpacing: 3,
|
|
12278
|
+
divider: false
|
|
12279
|
+
},
|
|
12280
|
+
defaultStyle: true
|
|
12281
|
+
},
|
|
12282
|
+
elements: []
|
|
12283
|
+
};
|
|
12284
|
+
const buildHorizontalLayout = (config2, componentScope2) => {
|
|
12285
|
+
const horizontal = _.cloneDeep(horizontalLayout);
|
|
12286
|
+
horizontal.scope = componentScope2;
|
|
12287
|
+
if (config2.layout) {
|
|
12288
|
+
horizontal.config.layout = createLayoutFormat(config2.layout, config2.type);
|
|
12289
|
+
}
|
|
12290
|
+
return horizontal;
|
|
12291
|
+
};
|
|
12270
12292
|
let schema = {
|
|
12271
12293
|
type: "object",
|
|
12272
12294
|
properties: {},
|
|
@@ -12421,6 +12443,9 @@ const buildUiSchema = (config2, store2) => {
|
|
|
12421
12443
|
case "WrapperSection":
|
|
12422
12444
|
elements = buildWrapperSection(config2, componentScope2);
|
|
12423
12445
|
break;
|
|
12446
|
+
case "HorizontalLayout":
|
|
12447
|
+
elements = buildHorizontalLayout(config2, componentScope2);
|
|
12448
|
+
break;
|
|
12424
12449
|
case "Text":
|
|
12425
12450
|
elements = buildTextField(config2, componentScope2);
|
|
12426
12451
|
break;
|