@movable/studio-framework 3.7.0-canary.0 → 3.9.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.es.js +4 -3
- package/dist/index.js +4 -3
- package/package.json +4 -4
package/dist/index.es.js
CHANGED
|
@@ -2747,11 +2747,12 @@ class StudioFramework {
|
|
|
2747
2747
|
propertyPath = '',
|
|
2748
2748
|
context = {}
|
|
2749
2749
|
} = operand;
|
|
2750
|
-
|
|
2751
|
-
return this.getPropertyTuple(propertyGroupKey, propertyPath, resolvedContext);
|
|
2750
|
+
return this.getPropertyTuple(propertyGroupKey, propertyPath, this.resolveDynamicFieldContext(context));
|
|
2752
2751
|
}
|
|
2752
|
+
/** resolves `context` values that are Dynamic Fields */
|
|
2753
2753
|
|
|
2754
|
-
|
|
2754
|
+
|
|
2755
|
+
resolveDynamicFieldContext(context) {
|
|
2755
2756
|
const resolvedContext = {};
|
|
2756
2757
|
|
|
2757
2758
|
for (const [contextKey, contextValue] of Object.entries(context)) {
|
package/dist/index.js
CHANGED
|
@@ -2757,11 +2757,12 @@ class StudioFramework {
|
|
|
2757
2757
|
propertyPath = '',
|
|
2758
2758
|
context = {}
|
|
2759
2759
|
} = operand;
|
|
2760
|
-
|
|
2761
|
-
return this.getPropertyTuple(propertyGroupKey, propertyPath, resolvedContext);
|
|
2760
|
+
return this.getPropertyTuple(propertyGroupKey, propertyPath, this.resolveDynamicFieldContext(context));
|
|
2762
2761
|
}
|
|
2762
|
+
/** resolves `context` values that are Dynamic Fields */
|
|
2763
2763
|
|
|
2764
|
-
|
|
2764
|
+
|
|
2765
|
+
resolveDynamicFieldContext(context) {
|
|
2765
2766
|
const resolvedContext = {};
|
|
2766
2767
|
|
|
2767
2768
|
for (const [contextKey, contextValue] of Object.entries(context)) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@movable/studio-framework",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.9.0",
|
|
4
4
|
"description": "A Component library for reactive Studio apps.",
|
|
5
5
|
"author": "Movable Ink",
|
|
6
6
|
"repository": "movableink/studio-framework",
|
|
@@ -31,8 +31,8 @@
|
|
|
31
31
|
"@babel/preset-react": "^7.14.5",
|
|
32
32
|
"@babel/preset-typescript": "^7.13.0",
|
|
33
33
|
"@movable/eslint-config-react": "^1.0.1",
|
|
34
|
-
"@movable/framework-types": "^3.
|
|
35
|
-
"@movable/studio-framework-test-helpers": "^3.
|
|
34
|
+
"@movable/framework-types": "^3.9.0",
|
|
35
|
+
"@movable/studio-framework-test-helpers": "^3.9.0",
|
|
36
36
|
"@types/qunit": "^2.11.1",
|
|
37
37
|
"@types/qunit-dom": "^0.7.0",
|
|
38
38
|
"@types/react": "^17.0.6",
|
|
@@ -66,5 +66,5 @@
|
|
|
66
66
|
"volta": {
|
|
67
67
|
"extends": "../../package.json"
|
|
68
68
|
},
|
|
69
|
-
"gitHead": "
|
|
69
|
+
"gitHead": "973c2ad941574b4ddcce8b81955254dfd7d5170c"
|
|
70
70
|
}
|