@next-core/brick-kit 2.195.1 → 2.196.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.esm.js CHANGED
@@ -3684,6 +3684,16 @@ function _dev_only_debugDataValue2() {
3684
3684
  });
3685
3685
  return _dev_only_debugDataValue2.apply(this, arguments);
3686
3686
  }
3687
+ function _dev_only_getLegalRuntimeValue() {
3688
+ var _runtimeContext$overr;
3689
+ var runtimeContext = _internalApiGetCurrentContext();
3690
+ return _objectSpread({
3691
+ app: (_runtimeContext$overr = runtimeContext === null || runtimeContext === void 0 ? void 0 : runtimeContext.overrideApp) !== null && _runtimeContext$overr !== void 0 ? _runtimeContext$overr : runtimeContext === null || runtimeContext === void 0 ? void 0 : runtimeContext.app,
3692
+ location: pick(location, ["href", "origin", "hostname", "host"])
3693
+ }, pick(runtimeContext, ["query", "sys", "match"]));
3694
+ }
3695
+
3696
+ /* istanbul ignore next */
3687
3697
  function _dev_only_updateFormPreviewSettings(appId, formId, settings) {
3688
3698
  kernel._dev_only_updateFormPreviewSettings(appId, formId, settings);
3689
3699
  }
@@ -14489,6 +14499,7 @@ var developHelper = {
14489
14499
  getContextValue: _dev_only_getContextValue,
14490
14500
  getAllContextValues: _dev_only_getAllContextValues,
14491
14501
  debugDataValue: _dev_only_debugDataValue,
14502
+ getLegalRuntimeValue: _dev_only_getLegalRuntimeValue,
14492
14503
  render: _dev_only_render,
14493
14504
  setRealTimeDataInspectRoot,
14494
14505
  addRealTimeDataInspectHook