@doenet/v06-to-v07 0.7.26-dev.562 → 0.7.26-dev.563
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-UqoHTaYI.js → index-BYn7SYzN.js} +22 -12
- package/{index-UqoHTaYI.js.map → index-BYn7SYzN.js.map} +1 -1
- package/index.js +1 -1
- package/package.json +1 -1
- package/{sha256-DT5xJ2Hv-Ct_-HzBb-BBMFPimD.js → sha256-DT5xJ2Hv-BjcNTYFv-D5RL3UZQ.js} +2 -2
- package/{sha256-DT5xJ2Hv-Ct_-HzBb-BBMFPimD.js.map → sha256-DT5xJ2Hv-BjcNTYFv-D5RL3UZQ.js.map} +1 -1
|
@@ -47296,7 +47296,7 @@ async function cidFromArrayBuffer(data) {
|
|
|
47296
47296
|
await crypto.subtle.digest("SHA-256", new Uint8Array());
|
|
47297
47297
|
digest = (data2) => crypto.subtle.digest("SHA-256", data2);
|
|
47298
47298
|
} catch (e22) {
|
|
47299
|
-
const sha256 = (await import("./sha256-DT5xJ2Hv-
|
|
47299
|
+
const sha256 = (await import("./sha256-DT5xJ2Hv-BjcNTYFv-D5RL3UZQ.js").then((n2) => n2.s)).default;
|
|
47300
47300
|
digest = (data2) => sha256(data2, {
|
|
47301
47301
|
asBytes: true
|
|
47302
47302
|
});
|
|
@@ -84679,6 +84679,9 @@ class Setup extends CompositeComponent {
|
|
|
84679
84679
|
static componentDocs = {
|
|
84680
84680
|
summary: "Container for components used for setup but not rendered"
|
|
84681
84681
|
};
|
|
84682
|
+
// `<setup>` produces no replacements, so nothing it holds ever reaches the
|
|
84683
|
+
// container it sits in.
|
|
84684
|
+
static allowInSchemaAnywhere = true;
|
|
84682
84685
|
static returnSugarInstructions() {
|
|
84683
84686
|
let sugarInstructions = super.returnSugarInstructions();
|
|
84684
84687
|
let removeDefinitions = function({
|
|
@@ -132153,7 +132156,7 @@ class Collect extends CompositeComponent {
|
|
|
132153
132156
|
summary: "Collects descendants of a component matching a specified component type"
|
|
132154
132157
|
};
|
|
132155
132158
|
static takesIndex = true;
|
|
132156
|
-
static
|
|
132159
|
+
static allowInSchemaAnywhere = true;
|
|
132157
132160
|
static acceptAnyAttribute = true;
|
|
132158
132161
|
static stateVariableToEvaluateAfterReplacements = "needsReplacementsUpdatedWhenStale";
|
|
132159
132162
|
static createAttributesObject() {
|
|
@@ -164471,7 +164474,7 @@ class Repeat extends CompositeComponent {
|
|
|
164471
164474
|
summary: "Repeats template content for each item in a source"
|
|
164472
164475
|
};
|
|
164473
164476
|
static takesIndex = true;
|
|
164474
|
-
static
|
|
164477
|
+
static allowInSchemaAnywhere = true;
|
|
164475
164478
|
static createsVariants = true;
|
|
164476
164479
|
static includeBlankStringChildren = true;
|
|
164477
164480
|
static stateVariableToEvaluateAfterReplacements = "readyToExpandWhenResolved";
|
|
@@ -165272,7 +165275,7 @@ class RepeatForSequence extends CompositeComponent {
|
|
|
165272
165275
|
summary: "Repeats template content for each value in an arithmetic sequence"
|
|
165273
165276
|
};
|
|
165274
165277
|
static takesIndex = true;
|
|
165275
|
-
static
|
|
165278
|
+
static allowInSchemaAnywhere = true;
|
|
165276
165279
|
static createsVariants = true;
|
|
165277
165280
|
static includeBlankStringChildren = true;
|
|
165278
165281
|
static stateVariableToEvaluateAfterReplacements = "readyToExpandWhenResolved";
|
|
@@ -168125,7 +168128,7 @@ class Intersection extends CompositeComponent {
|
|
|
168125
168128
|
static componentDocs = {
|
|
168126
168129
|
summary: "Renders intersections between graphical objects"
|
|
168127
168130
|
};
|
|
168128
|
-
static allowInSchemaAsComponent = ["
|
|
168131
|
+
static allowInSchemaAsComponent = ["point"];
|
|
168129
168132
|
static stateVariableToEvaluateAfterReplacements = "readyToExpandWhenResolved";
|
|
168130
168133
|
static createAttributesObject() {
|
|
168131
168134
|
let attributes = super.createAttributesObject();
|
|
@@ -212080,7 +212083,7 @@ class Select extends CompositeComponent {
|
|
|
212080
212083
|
summary: "Randomly selects components from a list of children to create document variants"
|
|
212081
212084
|
};
|
|
212082
212085
|
static takesIndex = true;
|
|
212083
|
-
static
|
|
212086
|
+
static allowInSchemaAnywhere = true;
|
|
212084
212087
|
static createsVariants = true;
|
|
212085
212088
|
static includeBlankStringChildren = true;
|
|
212086
212089
|
static removeBlankStringChildrenPostSugar = true;
|
|
@@ -212852,7 +212855,7 @@ class Group extends CompositeComponent {
|
|
|
212852
212855
|
static componentDocs = {
|
|
212853
212856
|
summary: "A logical grouping of components"
|
|
212854
212857
|
};
|
|
212855
|
-
static
|
|
212858
|
+
static allowInSchemaAnywhere = true;
|
|
212856
212859
|
static treatAsComponentForRecursiveReplacements = true;
|
|
212857
212860
|
static includeBlankStringChildren = true;
|
|
212858
212861
|
static renderedDefault = true;
|
|
@@ -226543,7 +226546,7 @@ class Sort extends CompositeComponent {
|
|
|
226543
226546
|
summary: "Sorts a list according to a comparison function"
|
|
226544
226547
|
};
|
|
226545
226548
|
static takesIndex = true;
|
|
226546
|
-
static
|
|
226549
|
+
static allowInSchemaAnywhere = true;
|
|
226547
226550
|
static stateVariableToEvaluateAfterReplacements = "readyToExpandWhenResolved";
|
|
226548
226551
|
static createAttributesObject() {
|
|
226549
226552
|
let attributes = super.createAttributesObject();
|
|
@@ -226769,7 +226772,7 @@ class Shuffle extends CompositeComponent {
|
|
|
226769
226772
|
summary: "Randomly shuffles its children"
|
|
226770
226773
|
};
|
|
226771
226774
|
static takesIndex = true;
|
|
226772
|
-
static
|
|
226775
|
+
static allowInSchemaAnywhere = true;
|
|
226773
226776
|
static createsVariants = true;
|
|
226774
226777
|
static stateVariableToEvaluateAfterReplacements = "readyToExpandWhenResolved";
|
|
226775
226778
|
static createAttributesObject() {
|
|
@@ -227222,6 +227225,11 @@ class SortIndices extends Sort {
|
|
|
227222
227225
|
static componentDocs = {
|
|
227223
227226
|
summary: "The indices that put a list in sorted order, rather than the sorted values"
|
|
227224
227227
|
};
|
|
227228
|
+
// `<sort>` is `allowInSchemaAnywhere` because its replacements are copies
|
|
227229
|
+
// of its children, whatever those are. `<sortIndices>` always expands to
|
|
227230
|
+
// `number` instead, so it must shed the inherited mark rather than be
|
|
227231
|
+
// accepted in every container.
|
|
227232
|
+
static allowInSchemaAnywhere = false;
|
|
227225
227233
|
static allowInSchemaAsComponent = ["number"];
|
|
227226
227234
|
static returnStateVariableDefinitions() {
|
|
227227
227235
|
let stateVariableDefinitions = super.returnStateVariableDefinitions();
|
|
@@ -227752,7 +227760,9 @@ class PostponeRenderContainer extends Group {
|
|
|
227752
227760
|
summary: "Internal container that postpones rendering of its children."
|
|
227753
227761
|
};
|
|
227754
227762
|
static inSchemaOnlyInheritAs = [];
|
|
227755
|
-
|
|
227763
|
+
// Shed `<group>`'s schema mark: this container is not something an author
|
|
227764
|
+
// writes, so it should not be offered as a child anywhere.
|
|
227765
|
+
static allowInSchemaAnywhere = false;
|
|
227756
227766
|
static renderedDefault = false;
|
|
227757
227767
|
static createAttributesObject() {
|
|
227758
227768
|
let attributes = super.createAttributesObject();
|
|
@@ -229413,7 +229423,7 @@ class Split extends CompositeComponent {
|
|
|
229413
229423
|
static componentDocs = {
|
|
229414
229424
|
summary: "Splits a string or list into pieces"
|
|
229415
229425
|
};
|
|
229416
|
-
static allowInSchemaAsComponent = ["
|
|
229426
|
+
static allowInSchemaAsComponent = ["text"];
|
|
229417
229427
|
static stateVariableToEvaluateAfterReplacements = "readyToExpandWhenResolved";
|
|
229418
229428
|
static createAttributesObject() {
|
|
229419
229429
|
let attributes = super.createAttributesObject();
|
|
@@ -243034,4 +243044,4 @@ export {
|
|
|
243034
243044
|
getDefaultExportFromCjs$1 as g,
|
|
243035
243045
|
updateSyntaxFromV06toV07 as u
|
|
243036
243046
|
};
|
|
243037
|
-
//# sourceMappingURL=index-
|
|
243047
|
+
//# sourceMappingURL=index-BYn7SYzN.js.map
|