@next-core/brick-kit 2.161.0 → 2.162.0
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/index.bundle.js
CHANGED
|
@@ -9553,7 +9553,9 @@
|
|
|
9553
9553
|
return formData;
|
|
9554
9554
|
}
|
|
9555
9555
|
function getFinalStoryBoard(formData, brickConf, isPreview, formContext) {
|
|
9556
|
+
var _brickConf$properties;
|
|
9556
9557
|
var result = null;
|
|
9558
|
+
var renderRoot = typeof ((_brickConf$properties = brickConf.properties) === null || _brickConf$properties === void 0 ? void 0 : _brickConf$properties.renderRoot) === "boolean" ? brickConf.properties.renderRoot : true;
|
|
9557
9559
|
var errorBrick = {
|
|
9558
9560
|
brick: "presentational-bricks.brick-illustration",
|
|
9559
9561
|
properties: {
|
|
@@ -9579,7 +9581,7 @@
|
|
|
9579
9581
|
});
|
|
9580
9582
|
formStoryboard[0].events = events;
|
|
9581
9583
|
}
|
|
9582
|
-
result = _objectSpread__default["default"](_objectSpread__default["default"]({}, brickConf), {}, {
|
|
9584
|
+
result = renderRoot ? _objectSpread__default["default"](_objectSpread__default["default"]({}, brickConf), {}, {
|
|
9583
9585
|
brick: "div",
|
|
9584
9586
|
slots: {
|
|
9585
9587
|
"": {
|
|
@@ -9600,6 +9602,14 @@
|
|
|
9600
9602
|
type: "bricks"
|
|
9601
9603
|
}
|
|
9602
9604
|
}
|
|
9605
|
+
}) : _objectSpread__default["default"](_objectSpread__default["default"]({}, brickConf), {}, {
|
|
9606
|
+
brick: "div",
|
|
9607
|
+
slots: {
|
|
9608
|
+
"": {
|
|
9609
|
+
bricks: formStoryboard,
|
|
9610
|
+
type: "bricks"
|
|
9611
|
+
}
|
|
9612
|
+
}
|
|
9603
9613
|
});
|
|
9604
9614
|
} catch (error) {
|
|
9605
9615
|
// eslint-disable-next-line no-console
|