@doenet/v06-to-v07 0.7.0-alpha52 → 0.7.0-alpha53
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/index.js +7 -2
- package/index.js.map +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -50533,6 +50533,7 @@ class Core {
|
|
|
50533
50533
|
delete this.updateInfo.deletedStateVariables[componentIdx2];
|
|
50534
50534
|
const newComponent = new componentClass({
|
|
50535
50535
|
componentIdx: componentIdx2,
|
|
50536
|
+
rootName: this.rootNames?.[componentIdx2] ?? componentIdx2.toString(),
|
|
50536
50537
|
ancestors,
|
|
50537
50538
|
definingChildren,
|
|
50538
50539
|
stateVariableDefinitions,
|
|
@@ -59116,6 +59117,7 @@ function createArrayProxyHandler({
|
|
|
59116
59117
|
class BaseComponent {
|
|
59117
59118
|
constructor({
|
|
59118
59119
|
componentIdx: componentIdx2,
|
|
59120
|
+
rootName,
|
|
59119
59121
|
ancestors,
|
|
59120
59122
|
serializedComponent,
|
|
59121
59123
|
definingChildren,
|
|
@@ -59135,6 +59137,7 @@ class BaseComponent {
|
|
|
59135
59137
|
this.parentSharedParameters = parentSharedParameters;
|
|
59136
59138
|
this.sharedParameters = sharedParameters;
|
|
59137
59139
|
this.componentIdx = componentIdx2;
|
|
59140
|
+
this.rootName = rootName;
|
|
59138
59141
|
this.ancestors = ancestors;
|
|
59139
59142
|
this.counters = {};
|
|
59140
59143
|
this.componentInfoObjects = componentInfoObjects2;
|
|
@@ -122604,7 +122607,8 @@ class Answer extends InlineComponent {
|
|
|
122604
122607
|
object: {
|
|
122605
122608
|
componentIdx: this.componentIdx,
|
|
122606
122609
|
componentType: this.componentType,
|
|
122607
|
-
answerNumber: this.answerNumber
|
|
122610
|
+
answerNumber: this.answerNumber,
|
|
122611
|
+
rootName: this.rootName
|
|
122608
122612
|
},
|
|
122609
122613
|
result: {
|
|
122610
122614
|
response: currentResponses,
|
|
@@ -197927,7 +197931,8 @@ class Pretzel extends BlockScoredComponent {
|
|
|
197927
197931
|
object: {
|
|
197928
197932
|
componentIdx: this.componentIdx,
|
|
197929
197933
|
componentType: this.componentType,
|
|
197930
|
-
answerNumber: this.answerNumber
|
|
197934
|
+
answerNumber: this.answerNumber,
|
|
197935
|
+
rootName: this.rootName
|
|
197931
197936
|
},
|
|
197932
197937
|
result: {
|
|
197933
197938
|
response: currentResponses,
|