impaktapps-ui-builder 1.0.390 → 1.0.392
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 +23 -14
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +6 -6
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/dist/src/impaktapps-ui-builder/builder/build/buildSplitViewContainer.d.ts +1 -0
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/buildSplitViewContainer.tsx +20 -0
- package/src/impaktapps-ui-builder/builder/build/buildUiSchema.ts +3 -3
- package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +6 -0
- package/src/impaktapps-ui-builder/builder/build/uischema/{dualWrapper.ts → splitViewContainer.ts} +2 -2
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/schema.ts +1 -1
- package/src/impaktapps-ui-builder/builder/services/component.ts +2 -2
- package/dist/src/impaktapps-ui-builder/builder/build/buildDualWrapper.d.ts +0 -1
- package/src/impaktapps-ui-builder/builder/build/buildDualWrapper.tsx +0 -17
- /package/dist/src/impaktapps-ui-builder/builder/build/uischema/{dualWrapper.d.ts → splitViewContainer.d.ts} +0 -0
|
@@ -6282,7 +6282,7 @@ const ComponentSchema = {
|
|
|
6282
6282
|
{ title: "Tree ", const: "TreeMap" },
|
|
6283
6283
|
{ title: "Thought of the day", const: "Thought" },
|
|
6284
6284
|
{ title: "PDF", const: "PdfViewer" },
|
|
6285
|
-
{ title: "
|
|
6285
|
+
{ title: "Split View Container", const: "SplitViewContainer" }
|
|
6286
6286
|
]
|
|
6287
6287
|
},
|
|
6288
6288
|
elementType: {
|
|
@@ -8306,6 +8306,12 @@ const buildPropertiesSection = function(type) {
|
|
|
8306
8306
|
emptyBox$1("PdfViewer", { xs: 6, sm: 6, md: 8, lg: 9 })
|
|
8307
8307
|
];
|
|
8308
8308
|
break;
|
|
8309
|
+
case "splitViewContainer":
|
|
8310
|
+
uiSchema.elements = [
|
|
8311
|
+
getInputField("expandedPanelHeight", "Expanded Panel Height"),
|
|
8312
|
+
emptyBox$1("splitViewContainer", { xs: 6, sm: 6, md: 8, lg: 9 })
|
|
8313
|
+
];
|
|
8314
|
+
break;
|
|
8309
8315
|
case "Date":
|
|
8310
8316
|
uiSchema.elements = [
|
|
8311
8317
|
getSelectField("variant", "Variant"),
|
|
@@ -8881,8 +8887,8 @@ const sectionLabels = {
|
|
|
8881
8887
|
TextArea: ["Core", "Properties", "Events", "Style", "Validation"],
|
|
8882
8888
|
PopUp: ["Core", "Components", "Properties", "Events", "Style"],
|
|
8883
8889
|
PopOver: ["Core", "Components", "Properties", "Style"],
|
|
8884
|
-
PdfViewer: ["Core", "
|
|
8885
|
-
|
|
8890
|
+
PdfViewer: ["Core", "Properties", "Style"],
|
|
8891
|
+
SplitViewContainer: ["Core", "Components", "Style"],
|
|
8886
8892
|
Stepper: ["Core", "Components", "Properties", "Events", "Style"],
|
|
8887
8893
|
DataGrid: ["Core", "Components", "Properties", "Events", "Style"],
|
|
8888
8894
|
InputSlider: ["Core", "Properties", "Events", "Style", "Validation"],
|
|
@@ -13233,27 +13239,30 @@ const buildPdfViewer = (config2, componentScope2) => {
|
|
|
13233
13239
|
}
|
|
13234
13240
|
return PdfViewer;
|
|
13235
13241
|
};
|
|
13236
|
-
var
|
|
13242
|
+
var SplitViewContainer = {
|
|
13237
13243
|
type: "Control",
|
|
13238
|
-
scope: "#/properties/
|
|
13244
|
+
scope: "#/properties/SplitViewContainerPath",
|
|
13239
13245
|
options: {
|
|
13240
|
-
widget: "
|
|
13246
|
+
widget: "SplitViewContainer"
|
|
13241
13247
|
},
|
|
13242
13248
|
config: {
|
|
13243
13249
|
layout: { xs: 12, sm: 12, md: 12, lg: 12 },
|
|
13244
13250
|
main: {}
|
|
13245
13251
|
}
|
|
13246
13252
|
};
|
|
13247
|
-
const
|
|
13248
|
-
const
|
|
13249
|
-
|
|
13253
|
+
const buildSplitViewContainer = (config2, componentScope2, store2) => {
|
|
13254
|
+
const splitViewContainer = _.cloneDeep(SplitViewContainer);
|
|
13255
|
+
splitViewContainer.scope = componentScope2;
|
|
13256
|
+
if (config2.expandedPanelHeight) {
|
|
13257
|
+
splitViewContainer.config.main.expandedPanelHeight = config2.expandedPanelHeight;
|
|
13258
|
+
}
|
|
13250
13259
|
if (config2.style) {
|
|
13251
|
-
|
|
13260
|
+
splitViewContainer.config.style = JSON.parse(config2.style);
|
|
13252
13261
|
}
|
|
13253
13262
|
if (config2.layout) {
|
|
13254
|
-
|
|
13263
|
+
splitViewContainer.config.layout = createLayoutFormat(config2.layout);
|
|
13255
13264
|
}
|
|
13256
|
-
return
|
|
13265
|
+
return splitViewContainer;
|
|
13257
13266
|
};
|
|
13258
13267
|
let schema = {
|
|
13259
13268
|
type: "object",
|
|
@@ -13488,8 +13497,8 @@ const buildUiSchema = (config2, store2) => {
|
|
|
13488
13497
|
case "PdfViewer":
|
|
13489
13498
|
elements = buildPdfViewer(config2, componentScope2);
|
|
13490
13499
|
break;
|
|
13491
|
-
case "
|
|
13492
|
-
elements =
|
|
13500
|
+
case "SplitViewContainer":
|
|
13501
|
+
elements = buildSplitViewContainer(config2, componentScope2);
|
|
13493
13502
|
break;
|
|
13494
13503
|
default:
|
|
13495
13504
|
schema = {
|