@next-core/brick-kit 2.209.0 → 2.210.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.
@@ -9463,6 +9463,7 @@
9463
9463
  layoutBootstrap(layout) {
9464
9464
  var _this3 = this;
9465
9465
  return _asyncToGenerator__default["default"](function* () {
9466
+ var _this3$bootstrapData, _this3$bootstrapData$, _this3$bootstrapData$2;
9466
9467
  var supportedLayouts = ["console", "business"];
9467
9468
  if (!supportedLayouts.includes(layout)) {
9468
9469
  throw new Error("Unknown layout: ".concat(layout));
@@ -9483,9 +9484,13 @@
9483
9484
  document.body.classList.remove("layout-".concat(item));
9484
9485
  }
9485
9486
  }
9486
- yield Promise.all([_this3.menuBar.bootstrap(_this3.presetBricks.menuBar, {
9487
+ var barBootstraps = [_this3.menuBar.bootstrap(_this3.presetBricks.menuBar, {
9487
9488
  testid: "brick-next-menu-bar"
9488
- }), _this3.appBar.bootstrap(_this3.presetBricks.appBar), _this3.loadingBar.bootstrap(_this3.presetBricks.loadingBar)]);
9489
+ }), _this3.appBar.bootstrap(_this3.presetBricks.appBar)];
9490
+ if (!((_this3$bootstrapData = _this3.bootstrapData) !== null && _this3$bootstrapData !== void 0 && (_this3$bootstrapData$ = _this3$bootstrapData.settings) !== null && _this3$bootstrapData$ !== void 0 && (_this3$bootstrapData$2 = _this3$bootstrapData$.misc) !== null && _this3$bootstrapData$2 !== void 0 && _this3$bootstrapData$2.hideLoadingBar)) {
9491
+ barBootstraps.push(_this3.loadingBar.bootstrap(_this3.presetBricks.loadingBar));
9492
+ }
9493
+ yield Promise.all(barBootstraps);
9489
9494
  })();
9490
9495
  }
9491
9496
  legacyAuthGuard() {