@next-core/brick-kit 2.155.1 → 2.155.2

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
@@ -996,7 +996,15 @@ function doTransform(data, to, options) {
996
996
  var [k, v] = _ref;
997
997
 
998
998
  if (Array.isArray(options === null || options === void 0 ? void 0 : options.trackingContextList) && (typeof v === "string" ? isEvaluable(v) : isPreEvaluated(v))) {
999
- var raw = typeof v === "string" ? v : getPreEvaluatedRaw(v);
999
+ var raw;
1000
+
1001
+ if (typeof v === "string") {
1002
+ raw = v;
1003
+ } else {
1004
+ raw = getPreEvaluatedRaw(v);
1005
+ addDataToPreEvaluated(v, data);
1006
+ }
1007
+
1000
1008
  var contextNames = trackContext(raw);
1001
1009
  var stateNames = trackState(raw);
1002
1010
 
@@ -2375,6 +2383,9 @@ function isPreEvaluated(raw) {
2375
2383
  function getPreEvaluatedRaw(pre) {
2376
2384
  return pre[symbolForRaw];
2377
2385
  }
2386
+ function addDataToPreEvaluated(pre, data) {
2387
+ pre[symbolForContext].data = data;
2388
+ }
2378
2389
  function shouldDismissRecursiveMarkingInjected(raw) {
2379
2390
  if (typeof raw === "string") {
2380
2391
  return shouldAllowRecursiveEvaluations(raw);