@next-core/brick-kit 2.131.0 → 2.131.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/index.esm.js CHANGED
@@ -9231,7 +9231,8 @@ class Kernel {
9231
9231
 
9232
9232
  _dev_only_updateTemplatePreviewSettings(appId, templateId, settings) {
9233
9233
  var {
9234
- routes
9234
+ routes,
9235
+ app
9235
9236
  } = this.bootstrapData.storyboards.find(item => item.app.id === appId);
9236
9237
  var previewPath = "${APP.homepage}/_dev_only_/template-preview/".concat(templateId);
9237
9238
  var previewRouteIndex = routes.findIndex(route => route.path === previewPath);
@@ -9241,7 +9242,8 @@ class Kernel {
9241
9242
  brick: templateId
9242
9243
  }, pick(settings, "properties", "events", "lifeCycle", "context"))],
9243
9244
  menu: false,
9244
- exact: true
9245
+ exact: true,
9246
+ hybrid: app.legacy === "iframe"
9245
9247
  };
9246
9248
 
9247
9249
  if (previewRouteIndex === -1) {
@@ -9255,7 +9257,8 @@ class Kernel {
9255
9257
  var _snippetData$bricks;
9256
9258
 
9257
9259
  var {
9258
- routes
9260
+ routes,
9261
+ app
9259
9262
  } = this.bootstrapData.storyboards.find(item => item.app.id === appId);
9260
9263
  var previewPath = "${APP.homepage}/_dev_only_/snippet-preview/".concat(snippetData.snippetId);
9261
9264
  var previewRouteIndex = routes.findIndex(route => route.path === previewPath);
@@ -9265,7 +9268,8 @@ class Kernel {
9265
9268
  brick: "span"
9266
9269
  }],
9267
9270
  menu: false,
9268
- exact: true
9271
+ exact: true,
9272
+ hybrid: app.legacy === "iframe"
9269
9273
  };
9270
9274
 
9271
9275
  if (previewRouteIndex === -1) {