@doenet/doenetml 0.7.25-dev.501 → 0.7.25-dev.503
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/{AnswerResponseButton-B471DC6T.js → AnswerResponseButton-BeprFrWi.js} +2 -2
- package/{Description-De3tljH5.js → Description-D7yfWnpD.js} +1 -1
- package/{DynamicMath-P1EXfZRd.js → DynamicMath-CzcNFnfq.js} +1 -1
- package/{EditorViewer-B4aRPPBj.js → EditorViewer-CSBc8Zm8.js} +7 -7
- package/{GraphFrame-D5XwMxHM.js → GraphFrame-BUt-JfS3.js} +2 -2
- package/{JSXGraphRenderer-B-qmNm-A.js → JSXGraphRenderer-B_LNuHDJ.js} +1 -1
- package/{NonInlineMediaWrapper-DPOhYN1-.js → NonInlineMediaWrapper-Mz256SyO.js} +1 -1
- package/{_error-DWYMk89W.js → _error-BFR6Dx2R.js} +2 -2
- package/{alert-C-kdd8q3.js → alert-BvBjzxnR.js} +3 -3
- package/{angle-BUwOkbH7.js → angle-B1fy0RpD.js} +7 -7
- package/{answer-CjEHZ7vz.js → answer-BwjOIrRG.js} +6 -6
- package/{asList-CpoOpDhk.js → asList-owVh4Qos.js} +2 -2
- package/{blockQuote-C0bAkw0Y.js → blockQuote-CTibAuH_.js} +3 -3
- package/{boolean-BRAsN_-7.js → boolean-BnB7cDlk.js} +2 -2
- package/{booleanInput-BFCPSOJO.js → booleanInput-Ci8sV-ul.js} +7 -7
- package/{br-DF56DQ5D.js → br-C--uedRx.js} +2 -2
- package/{button-HsmTfzCc.js → button-CjWyiPgH.js} +5 -5
- package/{c-DKD8KDiK.js → c-Du4dItOk.js} +3 -3
- package/{cell-69PLdapF.js → cell-CJZJNO6e.js} +3 -3
- package/{choiceInput-18RdaMiV.js → choiceInput-Byu0qOva.js} +4 -4
- package/{circle-CFXLIXe1.js → circle-DufTqSFD.js} +6 -6
- package/{cobwebPolyline-AWa786rT.js → cobwebPolyline-BSOlKqx5.js} +4 -4
- package/{codeEditor-Dl1J_se_.js → codeEditor-CZ5DtrxS.js} +2 -2
- package/{composites-cMVInlMW.js → composites-DtXV_lYN.js} +1 -1
- package/{containerBlock-VzTtEvKf.js → containerBlock-CM2PDGMn.js} +4 -4
- package/{containerInline-CKrsbcLV.js → containerInline-Dc4dXOWw.js} +4 -4
- package/{curve-DrljXCRT.js → curve-_xwmrWbL.js} +4 -4
- package/{doenetml-BXk3oBEG.js → doenetml-D2WIeBj6.js} +124 -16
- package/doenetml-external-worker.js +2 -2
- package/doenetml-inline-worker.js +3 -3
- package/doenetml-worker/index.esm.js +1 -1
- package/doenetml-worker/index.js +1 -1
- package/{ellipsis-QlX8EDgQ.js → ellipsis-BPJhBGZP.js} +2 -2
- package/{em-PmrtIhi7.js → em-P5Ir7LW2.js} +3 -3
- package/{embed-1oMWmt-a.js → embed-DxYpoueh.js} +2 -2
- package/{feedback-J8JLAEsc.js → feedback-CU-f_v0r.js} +4 -4
- package/{figure-DKWSKrTM.js → figure-CGpCUrk-.js} +3 -3
- package/{fillPatterns-5Irm-8O7.js → fillPatterns-f_efzLud.js} +1 -1
- package/{footnote-BbhVyN8m.js → footnote-Qz0M9M4F.js} +3 -3
- package/{fractionInput-Bu8BWjTW.js → fractionInput-oBEOMaOR.js} +4 -4
- package/{graph-kCkyudeq.js → graph-DrzOtJcD.js} +6 -6
- package/{hint-Cod0wkR8.js → hint-B-5ZrHYg.js} +4 -4
- package/{hovercard-store-Dp6cc8Fu.js → hovercard-store-Bl889oYG.js} +1 -1
- package/{hr-DUiq28Mt.js → hr-6hNmIYy8.js} +2 -2
- package/{image-Dadz2DH-.js → image-CA69rFBo.js} +7 -7
- package/{index-DqNOn6FU.js → index-Be8ynshA.js} +1 -1
- package/{index-uG1NdMr8.js → index-WyaVbgqc.js} +1 -1
- package/{index.es-CTjK5H8L.js → index.es-B5Wifc0w.js} +1 -1
- package/index.js +1 -1
- package/{label-D0EYUXoi.js → label-CqyCDfIH.js} +7 -7
- package/{labelWithLatex-Gs038_AX.js → labelWithLatex-LK1s9jk9.js} +2 -2
- package/{legend-JfC1VwD2.js → legend-Cd2OOkV-.js} +4 -4
- package/{line-ZyQTvuHO.js → line-DqjjSrBf.js} +7 -7
- package/{lineFamilyDragHandlers-Bh7SXsUN.js → lineFamilyDragHandlers-1lkyB7Rm.js} +1 -1
- package/{lineSegment-BS2LUeHw.js → lineSegment-z5FRMCG-.js} +5 -5
- package/{list-DXBToBIP.js → list-BsKjXfvQ.js} +4 -4
- package/{lq-Bq9Jvw0S.js → lq-Dpv614zo.js} +2 -2
- package/{lsq-DFw9qmCd.js → lsq-r1NJErFB.js} +2 -2
- package/{markupRenderer-DcvuJAI6.js → markupRenderer-BBvsFs1_.js} +1 -1
- package/{math-G5D_sAgT.js → math-BwquEUi6.js} +7 -7
- package/{mathInput-Cpn_14oY.js → mathInput-YyXd7qBj.js} +7 -7
- package/{matrixInput-k1OP-n6Q.js → matrixInput-RLftpl4o.js} +5 -5
- package/{mdash-Dv8k_CrW.js → mdash-BJNi1vPj.js} +2 -2
- package/{nbsp-BTWMeY3Q.js → nbsp-CW2ySvq-.js} +2 -2
- package/{ndash-CfBAZNx0.js → ndash-B30xR2bv.js} +2 -2
- package/{number-CALNLcFU.js → number-CGkXUN8b.js} +7 -7
- package/{orbitalDiagram-BmrpK5lV.js → orbitalDiagram-v0GZq7h-.js} +2 -2
- package/{orbitalDiagramInput-BEWXwoiH.js → orbitalDiagramInput-DcKCXuf7.js} +3 -3
- package/{p-BC9zvEB0.js → p-E5Bn6rPD.js} +4 -4
- package/package.json +1 -1
- package/{paginatorControls-CoB4dbbh.js → paginatorControls-B5dAde6B.js} +3 -3
- package/{pegboard-B_mZOE46.js → pegboard-7GTVjAY7.js} +4 -4
- package/{point-CF5Cqnsh.js → point-CTEv0XVY.js} +7 -7
- package/{polygon-DnqgLoQ6.js → polygon-DObPKjLl.js} +6 -6
- package/{polyline-Dd1jiEXj.js → polyline-BCn9Xqbs.js} +5 -5
- package/{pre-Dvgh7lVr.js → pre-zTahBPrd.js} +3 -3
- package/{prefigure-VG4XZ7z3.js → prefigure-CC9LFoOC.js} +1 -1
- package/{pretzel-8NZxYDeM.js → pretzel-BedNiKu2.js} +4 -4
- package/{q-Bq_h6rNm.js → q-BMiiIT9D.js} +3 -3
- package/{ray-BqmubAvt.js → ray-BtXNnWOO.js} +5 -5
- package/{ref-F8YtBg9Z.js → ref-DDMaAXSn.js} +2 -2
- package/{regionBetweenCurveXAxis-BtLs8RzJ.js → regionBetweenCurveXAxis--jmUE3tF.js} +5 -5
- package/{regionBetweenCurves-BHjGpFk9.js → regionBetweenCurves-CMeuhWw8.js} +5 -5
- package/{row-DV9iHCFq.js → row-CVGcT-EK.js} +2 -2
- package/{rq-ByaSRWlT.js → rq-BjyEsDhE.js} +2 -2
- package/{rsq-C22rhqzR.js → rsq-Bkql8awr.js} +2 -2
- package/{section-CF4lpxRi.js → section-90In6qRP.js} +5 -5
- package/{sha256-DT5xJ2Hv-CuHM4sm5.js → sha256-DT5xJ2Hv-B1ElrNeS.js} +1 -1
- package/{sideBySide-By9KCFLx.js → sideBySide-CvHj7L-j.js} +2 -2
- package/{slider-DI-971Tt.js → slider-CNuQSBLQ.js} +4 -4
- package/{slopeField-BBda0HJu.js → slopeField-BJo7f9rx.js} +2 -2
- package/{solution-DIcdcr9o.js → solution-CJW2pY_d.js} +4 -4
- package/{spreadsheet-DEXqOMQC.js → spreadsheet-BpxmQK20.js} +2 -2
- package/{sq-ZXY5-Rc2.js → sq-DYBpZ6Oq.js} +3 -3
- package/{subsetOfRealsInput-cODevorG.js → subsetOfRealsInput-HKyrVNmy.js} +3 -3
- package/{summaryStatistics-BlgAx0it.js → summaryStatistics-Ub8qsZeA.js} +2 -2
- package/{table-rT3DzOlN.js → table-VU_AofQG.js} +2 -2
- package/{tabular-q7ZQ-d6V.js → tabular-CmDjz59k.js} +2 -2
- package/{tag-Crsdbwhf.js → tag-C8FeTQI0.js} +2 -2
- package/{text-CutE7vd6.js → text-Duf48MAj.js} +6 -6
- package/{textInput-CYBNql-g.js → textInput-DCuTUCng.js} +6 -6
- package/{tooltip-provider-BnrQA9hJ.js → tooltip-provider-DOOWHce8.js} +2 -2
- package/{useAnchoredGraphDragHandler-v6_M9k89.js → useAnchoredGraphDragHandler-B5ITE9Ta.js} +1 -1
- package/useDoenetRenderer-CvmNmKn5.js +114 -0
- package/{useFieldCurve-DeA5hdTS.js → useFieldCurve-BbvBaZlO.js} +2 -2
- package/{useSubmitActionWithDelay-BOnqcrH_.js → useSubmitActionWithDelay-CfTnvK6q.js} +2 -2
- package/{vector-_0jpaHrr.js → vector-DaajJUGl.js} +7 -7
- package/{vectorField-CmKXyP5l.js → vectorField-DSzOQUUM.js} +2 -2
- package/{video-Bzf05vnB.js → video-DnTK8w9D.js} +4 -4
- package/useDoenetRenderer-BKVxe0Wi.js +0 -114
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { A as DocContext, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { A as DocContext, q as jsxRuntimeExports } from "./doenetml-D2WIeBj6.js";
|
|
2
2
|
import React__default, { useContext, useRef } from "react";
|
|
3
|
-
import { s as syncLayer, r as removeJXGEventHandlers, j as jxg, g as syncVisPropValues, e as syncLineStrokeStyle, f as syncLabelStrokeColor, b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-
|
|
4
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
5
|
-
import { BoardContext, VERTEX_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-
|
|
6
|
-
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-
|
|
3
|
+
import { s as syncLayer, r as removeJXGEventHandlers, j as jxg, g as syncVisPropValues, e as syncLineStrokeStyle, f as syncLabelStrokeColor, b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-B_LNuHDJ.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CvmNmKn5.js";
|
|
5
|
+
import { BoardContext, VERTEX_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-DrzOtJcD.js";
|
|
6
|
+
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-1lkyB7Rm.js";
|
|
7
7
|
import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-DV6a8Wvg.js";
|
|
8
8
|
import { p as pointerEventToUserCoords } from "./dragThreshold-DuSSFrIU.js";
|
|
9
9
|
import { a as resolveLineColor, d as resolveHandleColor } from "./styleColors-Cknqcr0q.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { G as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { G as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-D2WIeBj6.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
4
|
-
import { a as addCommasForCompositeRanges } from "./composites-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CvmNmKn5.js";
|
|
4
|
+
import { a as addCommasForCompositeRanges } from "./composites-DtXV_lYN.js";
|
|
5
5
|
import { a as getBlockMarginWithOptionalTopSuppression } from "./nonInlineMediaLayout-CkXHaqzo.js";
|
|
6
6
|
const pre = React__default.memo(function Pre(props) {
|
|
7
7
|
let { id, SVs, children, actions, callAction } = useDoenetRenderer(props);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { q as jsxRuntimeExports } from "./doenetml-D2WIeBj6.js";
|
|
2
2
|
import React__default, { useState, useRef, useEffect } from "react";
|
|
3
3
|
const __vite_import_meta_env__ = { "VITE_PREFIGURE_MODULE_URL": "https://cdn.jsdelivr.net/npm/@doenet/prefigure@latest/prefigure.js" };
|
|
4
4
|
const DEFAULT_PREFIGURE_BUILD_ENDPOINT = "https://prefigure.doenet.org/build";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { u as useT, F as useContentT, v as useChromeLangDir, G as useRecordVisibilityChanges, A as DocContext, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useT, F as useContentT, v as useChromeLangDir, G as useRecordVisibilityChanges, A as DocContext, q as jsxRuntimeExports } from "./doenetml-D2WIeBj6.js";
|
|
2
2
|
import React__default, { useRef, useContext } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
4
|
-
import { A as AnswerResponseButton } from "./AnswerResponseButton-
|
|
5
|
-
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CvmNmKn5.js";
|
|
4
|
+
import { A as AnswerResponseButton } from "./AnswerResponseButton-BeprFrWi.js";
|
|
5
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-CfTnvK6q.js";
|
|
6
6
|
const pretzel = React__default.memo(function Pretzel(props) {
|
|
7
7
|
let {
|
|
8
8
|
componentIdx,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { q as jsxRuntimeExports } from "./doenetml-D2WIeBj6.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
4
|
-
import { r as renderMarkupBody } from "./markupRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CvmNmKn5.js";
|
|
4
|
+
import { r as renderMarkupBody } from "./markupRenderer-BBvsFs1_.js";
|
|
5
5
|
const q = React__default.memo(function Q(props) {
|
|
6
6
|
const { SVs, children } = useDoenetRenderer(props);
|
|
7
7
|
const body = renderMarkupBody({ SVs, children });
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { A as DocContext, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { A as DocContext, q as jsxRuntimeExports } from "./doenetml-D2WIeBj6.js";
|
|
2
2
|
import React__default, { useContext, useRef } from "react";
|
|
3
|
-
import { j as jxg, h as syncLineFamilyVisibility, s as syncLayer, e as syncLineStrokeStyle, a as syncWithLabelToggle, f as syncLabelStrokeColor, b as syncLabelMaskCssStyle, i as applyLineFamilyLabelPlacement, k as buildLineFamilyLabelAttributes, d as attachLabelHoverHighlight, c as computeLabelMaskCssStyle, l as stabilizeInitialLineFamilyLabelPlacement, r as removeJXGEventHandlers } from "./JSXGraphRenderer-
|
|
4
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
5
|
-
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-
|
|
6
|
-
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-
|
|
3
|
+
import { j as jxg, h as syncLineFamilyVisibility, s as syncLayer, e as syncLineStrokeStyle, a as syncWithLabelToggle, f as syncLabelStrokeColor, b as syncLabelMaskCssStyle, i as applyLineFamilyLabelPlacement, k as buildLineFamilyLabelAttributes, d as attachLabelHoverHighlight, c as computeLabelMaskCssStyle, l as stabilizeInitialLineFamilyLabelPlacement, r as removeJXGEventHandlers } from "./JSXGraphRenderer-B_LNuHDJ.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CvmNmKn5.js";
|
|
5
|
+
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-DrzOtJcD.js";
|
|
6
|
+
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-1lkyB7Rm.js";
|
|
7
7
|
import { a as buildLineLikeAttributes } from "./buildGraphicalAttributes-0RNcbd2S.js";
|
|
8
8
|
import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-DV6a8Wvg.js";
|
|
9
9
|
import { p as pointerEventToUserCoords } from "./dragThreshold-DuSSFrIU.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { A as DocContext, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { A as DocContext, q as jsxRuntimeExports } from "./doenetml-D2WIeBj6.js";
|
|
2
2
|
import React__default, { useContext, useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CvmNmKn5.js";
|
|
4
4
|
const ref = React__default.memo(function Ref(props) {
|
|
5
5
|
const { id, SVs, children, requestScrollTo } = useDoenetRenderer(props);
|
|
6
6
|
const { doenetViewerUrl } = useContext(DocContext) || {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { A as DocContext, J as createFunctionFromDefinition, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { A as DocContext, J as createFunctionFromDefinition, q as jsxRuntimeExports } from "./doenetml-D2WIeBj6.js";
|
|
2
2
|
import React__default, { useContext, useRef, useEffect } from "react";
|
|
3
|
-
import { j as jxg, b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-
|
|
4
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
5
|
-
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-
|
|
6
|
-
import { g as getPatternFillAttributes } from "./fillPatterns-
|
|
3
|
+
import { j as jxg, b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-B_LNuHDJ.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CvmNmKn5.js";
|
|
5
|
+
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-DrzOtJcD.js";
|
|
6
|
+
import { g as getPatternFillAttributes } from "./fillPatterns-f_efzLud.js";
|
|
7
7
|
import { b as resolveCanvasColor } from "./styleColors-Cknqcr0q.js";
|
|
8
8
|
const regionBetweenCurveXAxis = React__default.memo(function RegionBetweenCurveXAxis(props) {
|
|
9
9
|
let { id, SVs } = useDoenetRenderer(props);
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { A as DocContext, J as createFunctionFromDefinition, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { A as DocContext, J as createFunctionFromDefinition, q as jsxRuntimeExports } from "./doenetml-D2WIeBj6.js";
|
|
2
2
|
import React__default, { useContext, useRef, useEffect } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
4
|
-
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CvmNmKn5.js";
|
|
4
|
+
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-DrzOtJcD.js";
|
|
5
5
|
import { s as styleToDash } from "./styleToDash-DWb71gbd.js";
|
|
6
|
-
import { g as getPatternFillAttributes } from "./fillPatterns-
|
|
6
|
+
import { g as getPatternFillAttributes } from "./fillPatterns-f_efzLud.js";
|
|
7
7
|
import { b as resolveCanvasColor } from "./styleColors-Cknqcr0q.js";
|
|
8
|
-
import { b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-
|
|
8
|
+
import { b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-B_LNuHDJ.js";
|
|
9
9
|
const regionBetweenCurves = React__default.memo(function RegionBetweenCurves(props) {
|
|
10
10
|
let { id, SVs } = useDoenetRenderer(props);
|
|
11
11
|
RegionBetweenCurves.ignoreActionsWithoutCore = () => true;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { q as jsxRuntimeExports } from "./doenetml-D2WIeBj6.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CvmNmKn5.js";
|
|
4
4
|
const row = React__default.memo(function Row(props) {
|
|
5
5
|
let { id, SVs, children } = useDoenetRenderer(props);
|
|
6
6
|
if (SVs.hidden) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { q as jsxRuntimeExports } from "./doenetml-D2WIeBj6.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CvmNmKn5.js";
|
|
4
4
|
const rq = React__default.memo(function Rq(props) {
|
|
5
5
|
let { SVs } = useDoenetRenderer(props, false);
|
|
6
6
|
if (SVs.hidden) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { q as jsxRuntimeExports } from "./doenetml-D2WIeBj6.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CvmNmKn5.js";
|
|
4
4
|
const rsq = React__default.memo(function Rsq(props) {
|
|
5
5
|
let { SVs } = useDoenetRenderer(props, false);
|
|
6
6
|
if (SVs.hidden) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { u as useT, F as useContentT, M as directionOf, N as useDocumentDirection, O as chromeLangDir, t as useUiLocale, A as DocContext, I as cesc, G as useRecordVisibilityChanges, q as jsxRuntimeExports, P as DocumentDirectionProvider } from "./doenetml-
|
|
1
|
+
import { u as useT, F as useContentT, M as directionOf, N as useDocumentDirection, O as chromeLangDir, t as useUiLocale, A as DocContext, I as cesc, G as useRecordVisibilityChanges, q as jsxRuntimeExports, P as DocumentDirectionProvider } from "./doenetml-D2WIeBj6.js";
|
|
2
2
|
import React__default, { useContext, useRef, useEffect } from "react";
|
|
3
|
-
import { F as FontAwesomeIcon } from "./index.es-
|
|
3
|
+
import { F as FontAwesomeIcon } from "./index.es-B5Wifc0w.js";
|
|
4
4
|
import { f as faCaretDown, a as faCaretRight } from "./index-BDlitCgu.js";
|
|
5
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
6
|
-
import { a as addCommasForCompositeRanges } from "./composites-
|
|
7
|
-
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-
|
|
5
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CvmNmKn5.js";
|
|
6
|
+
import { a as addCommasForCompositeRanges } from "./composites-DtXV_lYN.js";
|
|
7
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-CfTnvK6q.js";
|
|
8
8
|
import { c as clickToToggleLabel } from "./disclosure-axyZa36E.js";
|
|
9
9
|
const section = React__default.memo(function Section(props) {
|
|
10
10
|
let { id, SVs, children, actions, callAction } = useDoenetRenderer(props);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { G as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { G as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-D2WIeBj6.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CvmNmKn5.js";
|
|
4
4
|
import { a as getBlockMarginWithOptionalTopSuppression } from "./nonInlineMediaLayout-CkXHaqzo.js";
|
|
5
5
|
function isWhitespaceTextChild(child) {
|
|
6
6
|
return typeof child === "string" && child.trim() === "";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { u as useT, q as jsxRuntimeExports, H as Context } from "./doenetml-
|
|
1
|
+
import { u as useT, q as jsxRuntimeExports, H as Context } from "./doenetml-D2WIeBj6.js";
|
|
2
2
|
import React__default, { useState, useRef, useEffect } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CvmNmKn5.js";
|
|
4
4
|
import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
|
|
5
|
-
import { A as ActionButtonGroup, a as ActionButton } from "./index-
|
|
6
|
-
import { r as renderLabelWithLatex } from "./labelWithLatex-
|
|
5
|
+
import { A as ActionButtonGroup, a as ActionButton } from "./index-Be8ynshA.js";
|
|
6
|
+
import { r as renderLabelWithLatex } from "./labelWithLatex-LK1s9jk9.js";
|
|
7
7
|
import { l as ltrIslandProps } from "./direction-BwrU7jHk.js";
|
|
8
8
|
let round_to_decimals = (x, n) => {
|
|
9
9
|
try {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React__default from "react";
|
|
2
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
-
import { u as useFieldFunction, a as useFieldCurve, b as buildSlopeFieldData } from "./useFieldCurve-
|
|
2
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CvmNmKn5.js";
|
|
3
|
+
import { u as useFieldFunction, a as useFieldCurve, b as buildSlopeFieldData } from "./useFieldCurve-BbvBaZlO.js";
|
|
4
4
|
const slopeField = React__default.memo(function SlopeField(props) {
|
|
5
5
|
let { SVs } = useDoenetRenderer(props);
|
|
6
6
|
SlopeField.ignoreActionsWithoutCore = () => true;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { u as useT, G as useRecordVisibilityChanges, v as useChromeLangDir, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useT, G as useRecordVisibilityChanges, v as useChromeLangDir, q as jsxRuntimeExports } from "./doenetml-D2WIeBj6.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
4
|
-
import { F as FontAwesomeIcon } from "./index.es-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CvmNmKn5.js";
|
|
4
|
+
import { F as FontAwesomeIcon } from "./index.es-B5Wifc0w.js";
|
|
5
5
|
import { c as faPuzzlePiece } from "./index-BDlitCgu.js";
|
|
6
|
-
import { a as addCommasForCompositeRanges } from "./composites-
|
|
6
|
+
import { a as addCommasForCompositeRanges } from "./composites-DtXV_lYN.js";
|
|
7
7
|
import { c as clickToToggleLabel } from "./disclosure-axyZa36E.js";
|
|
8
8
|
const solution = React__default.memo(function Solution(props) {
|
|
9
9
|
let { id, SVs, children, actions, callAction } = useDoenetRenderer(props);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { A as DocContext, G as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { A as DocContext, G as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-D2WIeBj6.js";
|
|
2
2
|
import React__default, { forwardRef, useId, useRef, useCallback, useMemo, useEffect, Children, useImperativeHandle, Fragment, createContext as createContext$1, useContext, useState } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CvmNmKn5.js";
|
|
4
4
|
import require$$2 from "react-dom";
|
|
5
5
|
import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
|
|
6
6
|
import { a as getBlockMarginWithOptionalTopSuppression } from "./nonInlineMediaLayout-CkXHaqzo.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { q as jsxRuntimeExports } from "./doenetml-D2WIeBj6.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
4
|
-
import { r as renderMarkupBody } from "./markupRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CvmNmKn5.js";
|
|
4
|
+
import { r as renderMarkupBody } from "./markupRenderer-BBvsFs1_.js";
|
|
5
5
|
const sq = React__default.memo(function Sq(props) {
|
|
6
6
|
const { SVs, children } = useDoenetRenderer(props);
|
|
7
7
|
const body = renderMarkupBody({ SVs, children });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { u as useT, G as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useT, G as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-D2WIeBj6.js";
|
|
2
2
|
import React__default, { useState, useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
4
|
-
import { b as ToggleButtonGroup, T as ToggleButton, A as ActionButtonGroup, a as ActionButton } from "./index-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CvmNmKn5.js";
|
|
4
|
+
import { b as ToggleButtonGroup, T as ToggleButton, A as ActionButtonGroup, a as ActionButton } from "./index-Be8ynshA.js";
|
|
5
5
|
import { l as ltrIslandProps } from "./direction-BwrU7jHk.js";
|
|
6
6
|
const subsetOfRealsInput = React__default.memo(function subsetOfReals(props) {
|
|
7
7
|
let { id, SVs, actions, callAction } = useDoenetRenderer(props, false);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { u as useT, v as useChromeLangDir, G as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useT, v as useChromeLangDir, G as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-D2WIeBj6.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CvmNmKn5.js";
|
|
4
4
|
import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
|
|
5
5
|
const summaryStatistics = React__default.memo(function SummaryStatistics(props) {
|
|
6
6
|
let { id, SVs, actions, callAction } = useDoenetRenderer(props);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { G as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { G as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-D2WIeBj6.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CvmNmKn5.js";
|
|
4
4
|
const table = React__default.memo(function Table(props) {
|
|
5
5
|
let { id, SVs, children, actions, callAction } = useDoenetRenderer(props);
|
|
6
6
|
const ref = useRef(null);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { G as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { G as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-D2WIeBj6.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CvmNmKn5.js";
|
|
4
4
|
import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
|
|
5
5
|
import { a as getBlockMarginWithOptionalTopSuppression } from "./nonInlineMediaLayout-CkXHaqzo.js";
|
|
6
6
|
const tabular = React__default.memo(function Tabular(props) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { q as jsxRuntimeExports } from "./doenetml-D2WIeBj6.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CvmNmKn5.js";
|
|
4
4
|
const tag = React__default.memo(function Tag(props) {
|
|
5
5
|
let { id, SVs, children } = useDoenetRenderer(props);
|
|
6
6
|
if (SVs.hidden) {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { A as DocContext, H as Context, q as jsxRuntimeExports, B as textRendererStyle } from "./doenetml-
|
|
1
|
+
import { A as DocContext, H as Context, q as jsxRuntimeExports, B as textRendererStyle } from "./doenetml-D2WIeBj6.js";
|
|
2
2
|
import React__default, { useRef, useContext } from "react";
|
|
3
|
-
import { j as jxg } from "./JSXGraphRenderer-
|
|
4
|
-
import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-
|
|
5
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { j as jxg } from "./JSXGraphRenderer-B_LNuHDJ.js";
|
|
4
|
+
import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-DrzOtJcD.js";
|
|
5
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CvmNmKn5.js";
|
|
6
6
|
import { g as getPositionFromAnchorByCoordinate } from "./graph-W6vrFcBu.js";
|
|
7
|
-
import { ChoiceInputInlineContext } from "./choiceInput-
|
|
7
|
+
import { ChoiceInputInlineContext } from "./choiceInput-Byu0qOva.js";
|
|
8
8
|
import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-DV6a8Wvg.js";
|
|
9
9
|
import { u as useDraggableRefs } from "./useDraggableRefs-QaTfkVuD.js";
|
|
10
|
-
import { d as detachAnchoredGraphElement, a as attachAnchoredGraphDragHandlers } from "./useAnchoredGraphDragHandler-
|
|
10
|
+
import { d as detachAnchoredGraphElement, a as attachAnchoredGraphDragHandlers } from "./useAnchoredGraphDragHandler-B5ITE9Ta.js";
|
|
11
11
|
import { u as useJSXGraphCleanup } from "./useJSXGraphCleanup-BNk4sn6x.js";
|
|
12
12
|
const text = React__default.memo(function Text(props) {
|
|
13
13
|
let { componentIdx, id, SVs, actions, callAction } = useDoenetRenderer(props);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { F as useContentT, H as Context, q as jsxRuntimeExports, Q as MathJax } from "./doenetml-
|
|
1
|
+
import { F as useContentT, H as Context, q as jsxRuntimeExports, Q as MathJax } from "./doenetml-D2WIeBj6.js";
|
|
2
2
|
import { useState, useRef, useContext, useEffect } from "react";
|
|
3
|
-
import { j as jxg } from "./JSXGraphRenderer-
|
|
4
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { j as jxg } from "./JSXGraphRenderer-B_LNuHDJ.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CvmNmKn5.js";
|
|
5
5
|
import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
|
|
6
|
-
import { BoardContext } from "./graph-
|
|
6
|
+
import { BoardContext } from "./graph-DrzOtJcD.js";
|
|
7
7
|
import { g as getPositionFromAnchorByCoordinate, P as POINTER_DRAG_THRESHOLD } from "./graph-W6vrFcBu.js";
|
|
8
|
-
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-
|
|
9
|
-
import { D as DescriptionPopover } from "./Description-
|
|
8
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-CfTnvK6q.js";
|
|
9
|
+
import { D as DescriptionPopover } from "./Description-D7yfWnpD.js";
|
|
10
10
|
import { a as addValidationStateToShortDescription } from "./validationState-DI_lxk1a.js";
|
|
11
11
|
function TextInput(props) {
|
|
12
12
|
let { id, SVs, children, actions, ignoreUpdate, callAction } = useDoenetRenderer(props);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { aa as createStoreContext, ab as createDialogComponent, T as forwardRef, U as createElement, V as createHook, X as invariant, ac as useWrapElement, q as jsxRuntimeExports, Y as useStoreState, ad as isFalsyBooleanCallback, ae as contains, af as sync, ag as chain, ah as useEvent, ai as createStore, aj as defaultValue, ak as useStore, al as useStoreProps } from "./doenetml-
|
|
2
|
-
import { H as HovercardScopedContextProvider, a as HovercardContextProvider, u as useHovercard, b as useHovercardAnchor, c as createHovercardStore, d as useHovercardStoreProps } from "./hovercard-store-
|
|
1
|
+
import { aa as createStoreContext, ab as createDialogComponent, T as forwardRef, U as createElement, V as createHook, X as invariant, ac as useWrapElement, q as jsxRuntimeExports, Y as useStoreState, ad as isFalsyBooleanCallback, ae as contains, af as sync, ag as chain, ah as useEvent, ai as createStore, aj as defaultValue, ak as useStore, al as useStoreProps } from "./doenetml-D2WIeBj6.js";
|
|
2
|
+
import { H as HovercardScopedContextProvider, a as HovercardContextProvider, u as useHovercard, b as useHovercardAnchor, c as createHovercardStore, d as useHovercardStoreProps } from "./hovercard-store-Bl889oYG.js";
|
|
3
3
|
import { useRef, useEffect } from "react";
|
|
4
4
|
const ctx = createStoreContext([HovercardContextProvider], [HovercardScopedContextProvider]);
|
|
5
5
|
const useTooltipProviderContext = ctx.useProviderContext;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as removeJXGEventHandlers, L as LINE_FAMILY_EVENTS, j as jxg } from "./JSXGraphRenderer-
|
|
1
|
+
import { r as removeJXGEventHandlers, L as LINE_FAMILY_EVENTS, j as jxg } from "./JSXGraphRenderer-B_LNuHDJ.js";
|
|
2
2
|
import { e as exceededDragThreshold, p as pointerEventToUserCoords } from "./dragThreshold-DuSSFrIU.js";
|
|
3
3
|
function attachAnchoredGraphDragHandlers(params) {
|
|
4
4
|
const {
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import { x as useAppSelector, y as mainSlice, z as renderersLoadComponent, _ as __variableDynamicImportRuntimeHelper } from "./doenetml-D2WIeBj6.js";
|
|
2
|
+
import React__default, { useState, useEffect } from "react";
|
|
3
|
+
function useDoenetRenderer(props, initializeChildrenOnConstruction = true) {
|
|
4
|
+
const actions = props.componentInstructions.actions;
|
|
5
|
+
const componentIdx = props.componentInstructions.componentIdx;
|
|
6
|
+
const effectiveIdx = props.componentInstructions.effectiveIdx;
|
|
7
|
+
const id = props.componentInstructions.id;
|
|
8
|
+
const rendererName = props.coreId + componentIdx;
|
|
9
|
+
const [renderersToLoad, setRenderersToLoad] = useState({});
|
|
10
|
+
const componentInfo = useAppSelector(
|
|
11
|
+
(state) => mainSlice.selectors.componentInfo(state)[rendererName]
|
|
12
|
+
);
|
|
13
|
+
const {
|
|
14
|
+
stateValues,
|
|
15
|
+
sourceOfUpdate = {},
|
|
16
|
+
ignoreUpdate,
|
|
17
|
+
childrenInstructions,
|
|
18
|
+
prefixForIds
|
|
19
|
+
} = componentInfo || {
|
|
20
|
+
stateValues: {},
|
|
21
|
+
sourceOfUpdate: {},
|
|
22
|
+
ignoreUpdate: false,
|
|
23
|
+
childrenInstructions: [],
|
|
24
|
+
prefixForIds: ""
|
|
25
|
+
};
|
|
26
|
+
let children = [];
|
|
27
|
+
const loadMoreRenderers = Object.keys(renderersToLoad).length === 0;
|
|
28
|
+
for (let childInstructions of childrenInstructions) {
|
|
29
|
+
let child = createChildFromInstructions(
|
|
30
|
+
childInstructions,
|
|
31
|
+
loadMoreRenderers
|
|
32
|
+
);
|
|
33
|
+
children.push(child);
|
|
34
|
+
}
|
|
35
|
+
useEffect(() => {
|
|
36
|
+
const entries = Object.entries(renderersToLoad);
|
|
37
|
+
if (entries.length > 0) {
|
|
38
|
+
const names = entries.map(([name]) => name);
|
|
39
|
+
const loaders = entries.map(([, loader]) => loader);
|
|
40
|
+
renderersLoadComponent(loaders, names).then(
|
|
41
|
+
({ rendererClasses: newRendererClasses }) => {
|
|
42
|
+
Object.assign(props.rendererClasses, newRendererClasses);
|
|
43
|
+
setRenderersToLoad({});
|
|
44
|
+
}
|
|
45
|
+
);
|
|
46
|
+
}
|
|
47
|
+
}, [renderersToLoad, props.rendererClasses]);
|
|
48
|
+
function createChildFromInstructions(childInstructions, loadMoreRenderers2) {
|
|
49
|
+
if (typeof childInstructions === "string" || childInstructions === null) {
|
|
50
|
+
return childInstructions;
|
|
51
|
+
}
|
|
52
|
+
let propsForChild = {
|
|
53
|
+
key: props.coreId + childInstructions.componentIdx,
|
|
54
|
+
componentInstructions: childInstructions,
|
|
55
|
+
rendererClasses: props.rendererClasses,
|
|
56
|
+
coreId: props.coreId,
|
|
57
|
+
docId: props.docId,
|
|
58
|
+
activityId: props.activityId,
|
|
59
|
+
callAction: props.callAction,
|
|
60
|
+
fetchExternalDoenetML: props.fetchExternalDoenetML,
|
|
61
|
+
requestScrollTo: props.requestScrollTo,
|
|
62
|
+
flags: props.flags
|
|
63
|
+
};
|
|
64
|
+
let rendererClass = props.rendererClasses[childInstructions.rendererType];
|
|
65
|
+
if (!rendererClass) {
|
|
66
|
+
if (loadMoreRenderers2) {
|
|
67
|
+
setRenderersToLoad((old) => {
|
|
68
|
+
let rendererLoaders = { ...old };
|
|
69
|
+
if (!(childInstructions.rendererType in rendererLoaders)) {
|
|
70
|
+
rendererLoaders[childInstructions.rendererType] = () => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "./renderers/GraphFrame.tsx": () => import("./GraphFrame-BUt-JfS3.js"), "./renderers/JSXGraphRenderer.tsx": () => import("./JSXGraphRenderer-B_LNuHDJ.js").then((n) => n.m), "./renderers/_error.tsx": () => import("./_error-BFR6Dx2R.js"), "./renderers/alert.tsx": () => import("./alert-BvBjzxnR.js"), "./renderers/angle.tsx": () => import("./angle-B1fy0RpD.js"), "./renderers/answer.tsx": () => import("./answer-BwjOIrRG.js"), "./renderers/asList.tsx": () => import("./asList-owVh4Qos.js"), "./renderers/blockQuote.tsx": () => import("./blockQuote-CTibAuH_.js"), "./renderers/boolean.tsx": () => import("./boolean-BnB7cDlk.js"), "./renderers/booleanInput.tsx": () => import("./booleanInput-Ci8sV-ul.js"), "./renderers/br.tsx": () => import("./br-C--uedRx.js"), "./renderers/button.tsx": () => import("./button-CjWyiPgH.js"), "./renderers/c.tsx": () => import("./c-Du4dItOk.js"), "./renderers/cell.tsx": () => import("./cell-CJZJNO6e.js"), "./renderers/choiceInput.tsx": () => import("./choiceInput-Byu0qOva.js"), "./renderers/circle.tsx": () => import("./circle-DufTqSFD.js"), "./renderers/cobwebPolyline.tsx": () => import("./cobwebPolyline-BSOlKqx5.js"), "./renderers/codeEditor.tsx": () => import("./codeEditor-CZ5DtrxS.js"), "./renderers/containerBlock.tsx": () => import("./containerBlock-CM2PDGMn.js"), "./renderers/containerInline.tsx": () => import("./containerInline-Dc4dXOWw.js"), "./renderers/curve.tsx": () => import("./curve-_xwmrWbL.js"), "./renderers/ellipsis.tsx": () => import("./ellipsis-BPJhBGZP.js"), "./renderers/em.tsx": () => import("./em-P5Ir7LW2.js"), "./renderers/embed.tsx": () => import("./embed-DxYpoueh.js"), "./renderers/feedback.tsx": () => import("./feedback-CU-f_v0r.js"), "./renderers/figure.tsx": () => import("./figure-CGpCUrk-.js"), "./renderers/footnote.tsx": () => import("./footnote-Qz0M9M4F.js"), "./renderers/fractionInput.tsx": () => import("./fractionInput-oBEOMaOR.js"), "./renderers/graph.tsx": () => import("./graph-DrzOtJcD.js"), "./renderers/hint.tsx": () => import("./hint-B-5ZrHYg.js"), "./renderers/hr.tsx": () => import("./hr-6hNmIYy8.js"), "./renderers/image.tsx": () => import("./image-CA69rFBo.js"), "./renderers/label.tsx": () => import("./label-CqyCDfIH.js"), "./renderers/legend.tsx": () => import("./legend-Cd2OOkV-.js"), "./renderers/line.tsx": () => import("./line-DqjjSrBf.js"), "./renderers/lineSegment.tsx": () => import("./lineSegment-z5FRMCG-.js"), "./renderers/list.tsx": () => import("./list-BsKjXfvQ.js"), "./renderers/lq.tsx": () => import("./lq-Dpv614zo.js"), "./renderers/lsq.tsx": () => import("./lsq-r1NJErFB.js"), "./renderers/math.tsx": () => import("./math-BwquEUi6.js"), "./renderers/mathInput.tsx": () => import("./mathInput-YyXd7qBj.js"), "./renderers/matrixInput.tsx": () => import("./matrixInput-RLftpl4o.js"), "./renderers/mdash.tsx": () => import("./mdash-BJNi1vPj.js"), "./renderers/nbsp.tsx": () => import("./nbsp-CW2ySvq-.js"), "./renderers/ndash.tsx": () => import("./ndash-B30xR2bv.js"), "./renderers/number.tsx": () => import("./number-CGkXUN8b.js"), "./renderers/orbitalDiagram.tsx": () => import("./orbitalDiagram-v0GZq7h-.js"), "./renderers/orbitalDiagramInput.tsx": () => import("./orbitalDiagramInput-DcKCXuf7.js"), "./renderers/p.tsx": () => import("./p-E5Bn6rPD.js"), "./renderers/paginatorControls.tsx": () => import("./paginatorControls-B5dAde6B.js"), "./renderers/pegboard.tsx": () => import("./pegboard-7GTVjAY7.js"), "./renderers/point.tsx": () => import("./point-CTEv0XVY.js"), "./renderers/polygon.tsx": () => import("./polygon-DObPKjLl.js"), "./renderers/polyline.tsx": () => import("./polyline-BCn9Xqbs.js"), "./renderers/pre.tsx": () => import("./pre-zTahBPrd.js"), "./renderers/prefigure.tsx": () => import("./prefigure-CC9LFoOC.js"), "./renderers/pretzel.tsx": () => import("./pretzel-BedNiKu2.js"), "./renderers/q.tsx": () => import("./q-BMiiIT9D.js"), "./renderers/ray.tsx": () => import("./ray-BtXNnWOO.js"), "./renderers/ref.tsx": () => import("./ref-DDMaAXSn.js"), "./renderers/regionBetweenCurveXAxis.tsx": () => import("./regionBetweenCurveXAxis--jmUE3tF.js"), "./renderers/regionBetweenCurves.tsx": () => import("./regionBetweenCurves-CMeuhWw8.js"), "./renderers/row.tsx": () => import("./row-CVGcT-EK.js"), "./renderers/rq.tsx": () => import("./rq-BjyEsDhE.js"), "./renderers/rsq.tsx": () => import("./rsq-Bkql8awr.js"), "./renderers/section.tsx": () => import("./section-90In6qRP.js"), "./renderers/sideBySide.tsx": () => import("./sideBySide-CvHj7L-j.js"), "./renderers/slider.tsx": () => import("./slider-CNuQSBLQ.js"), "./renderers/slopeField.tsx": () => import("./slopeField-BJo7f9rx.js"), "./renderers/solution.tsx": () => import("./solution-CJW2pY_d.js"), "./renderers/spreadsheet.tsx": () => import("./spreadsheet-BpxmQK20.js"), "./renderers/sq.tsx": () => import("./sq-DYBpZ6Oq.js"), "./renderers/subsetOfRealsInput.tsx": () => import("./subsetOfRealsInput-HKyrVNmy.js"), "./renderers/summaryStatistics.tsx": () => import("./summaryStatistics-Ub8qsZeA.js"), "./renderers/table.tsx": () => import("./table-VU_AofQG.js"), "./renderers/tabular.tsx": () => import("./tabular-CmDjz59k.js"), "./renderers/tag.tsx": () => import("./tag-C8FeTQI0.js"), "./renderers/text.tsx": () => import("./text-Duf48MAj.js"), "./renderers/textInput.tsx": () => import("./textInput-DCuTUCng.js"), "./renderers/vector.tsx": () => import("./vector-DaajJUGl.js"), "./renderers/vectorField.tsx": () => import("./vectorField-DSzOQUUM.js"), "./renderers/video.tsx": () => import("./video-DnTK8w9D.js") }), `./renderers/${childInstructions.rendererType}.tsx`, 3);
|
|
71
|
+
}
|
|
72
|
+
return rendererLoaders;
|
|
73
|
+
});
|
|
74
|
+
}
|
|
75
|
+
return null;
|
|
76
|
+
}
|
|
77
|
+
let child = React__default.createElement(rendererClass, propsForChild);
|
|
78
|
+
return child;
|
|
79
|
+
}
|
|
80
|
+
let rendererType = props.componentInstructions.rendererType;
|
|
81
|
+
const callAction = (argObj) => {
|
|
82
|
+
if (!argObj.componentIdx) {
|
|
83
|
+
argObj = { ...argObj };
|
|
84
|
+
argObj.componentIdx = componentIdx;
|
|
85
|
+
}
|
|
86
|
+
if (!argObj.rendererType) {
|
|
87
|
+
argObj = { ...argObj };
|
|
88
|
+
argObj.rendererType = rendererType;
|
|
89
|
+
}
|
|
90
|
+
return props.callAction(argObj);
|
|
91
|
+
};
|
|
92
|
+
return {
|
|
93
|
+
componentIdx: effectiveIdx,
|
|
94
|
+
id: prefixForIds + id,
|
|
95
|
+
SVs: stateValues,
|
|
96
|
+
docId: props.docId,
|
|
97
|
+
activityId: props.activityId,
|
|
98
|
+
actions,
|
|
99
|
+
children,
|
|
100
|
+
sourceOfUpdate,
|
|
101
|
+
ignoreUpdate,
|
|
102
|
+
rendererName,
|
|
103
|
+
initializeChildren: () => {
|
|
104
|
+
},
|
|
105
|
+
callAction,
|
|
106
|
+
doenetViewerUrl: props.doenetViewerUrl,
|
|
107
|
+
fetchExternalDoenetML: props.fetchExternalDoenetML,
|
|
108
|
+
requestScrollTo: props.requestScrollTo,
|
|
109
|
+
flags: props.flags
|
|
110
|
+
};
|
|
111
|
+
}
|
|
112
|
+
export {
|
|
113
|
+
useDoenetRenderer as u
|
|
114
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useMemo, useContext, useRef } from "react";
|
|
2
|
-
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-
|
|
3
|
-
import { J as createFunctionFromDefinition, A as DocContext } from "./doenetml-
|
|
2
|
+
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-DrzOtJcD.js";
|
|
3
|
+
import { J as createFunctionFromDefinition, A as DocContext } from "./doenetml-D2WIeBj6.js";
|
|
4
4
|
import { s as styleToDash } from "./styleToDash-DWb71gbd.js";
|
|
5
5
|
import { u as useJSXGraphCleanup } from "./useJSXGraphCleanup-BNk4sn6x.js";
|
|
6
6
|
function fieldFunctionFromDefinition(fDefinition) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { q as jsxRuntimeExports } from "./doenetml-
|
|
2
|
-
import { F as FontAwesomeIcon } from "./index.es-
|
|
1
|
+
import { q as jsxRuntimeExports } from "./doenetml-D2WIeBj6.js";
|
|
2
|
+
import { F as FontAwesomeIcon } from "./index.es-B5Wifc0w.js";
|
|
3
3
|
import { d as faSpinner, e as faLevelDownAlt, g as faCheck, h as faTimes, i as faCloud } from "./index-BDlitCgu.js";
|
|
4
4
|
import React__default, { useCallback } from "react";
|
|
5
5
|
function calculateValidationState(SVs) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { A as DocContext, q as jsxRuntimeExports, B as textRendererStyle } from "./doenetml-
|
|
1
|
+
import { A as DocContext, q as jsxRuntimeExports, B as textRendererStyle } from "./doenetml-D2WIeBj6.js";
|
|
2
2
|
import React__default, { useContext, useRef } from "react";
|
|
3
|
-
import { j as jxg, s as syncLayer, g as syncVisPropValues, e as syncLineStrokeStyle, a as syncWithLabelToggle, f as syncLabelStrokeColor, b as syncLabelMaskCssStyle, i as applyLineFamilyLabelPlacement, k as buildLineFamilyLabelAttributes, d as attachLabelHoverHighlight, c as computeLabelMaskCssStyle, l as stabilizeInitialLineFamilyLabelPlacement, r as removeJXGEventHandlers } from "./JSXGraphRenderer-
|
|
4
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
5
|
-
import { BoardContext, VERTEX_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-
|
|
6
|
-
import { D as DynamicMath } from "./DynamicMath-
|
|
7
|
-
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-
|
|
8
|
-
import { ChoiceInputInlineContext } from "./choiceInput-
|
|
3
|
+
import { j as jxg, s as syncLayer, g as syncVisPropValues, e as syncLineStrokeStyle, a as syncWithLabelToggle, f as syncLabelStrokeColor, b as syncLabelMaskCssStyle, i as applyLineFamilyLabelPlacement, k as buildLineFamilyLabelAttributes, d as attachLabelHoverHighlight, c as computeLabelMaskCssStyle, l as stabilizeInitialLineFamilyLabelPlacement, r as removeJXGEventHandlers } from "./JSXGraphRenderer-B_LNuHDJ.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CvmNmKn5.js";
|
|
5
|
+
import { BoardContext, VERTEX_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-DrzOtJcD.js";
|
|
6
|
+
import { D as DynamicMath } from "./DynamicMath-CzcNFnfq.js";
|
|
7
|
+
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-1lkyB7Rm.js";
|
|
8
|
+
import { ChoiceInputInlineContext } from "./choiceInput-Byu0qOva.js";
|
|
9
9
|
import { a as buildLineLikeAttributes, c as buildDragHandleAttributes } from "./buildGraphicalAttributes-0RNcbd2S.js";
|
|
10
10
|
import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-DV6a8Wvg.js";
|
|
11
11
|
import { p as pointerEventToUserCoords } from "./dragThreshold-DuSSFrIU.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React__default from "react";
|
|
2
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
-
import { u as useFieldFunction, a as useFieldCurve, c as buildVectorFieldData } from "./useFieldCurve-
|
|
2
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CvmNmKn5.js";
|
|
3
|
+
import { u as useFieldFunction, a as useFieldCurve, c as buildVectorFieldData } from "./useFieldCurve-BbvBaZlO.js";
|
|
4
4
|
const vectorField = React__default.memo(function VectorField(props) {
|
|
5
5
|
let { SVs } = useDoenetRenderer(props);
|
|
6
6
|
VectorField.ignoreActionsWithoutCore = () => true;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { G as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { G as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-D2WIeBj6.js";
|
|
2
2
|
import React__default, { useState, useEffect, useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CvmNmKn5.js";
|
|
4
4
|
import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
|
|
5
|
-
import { D as DescriptionPopover, a as DescriptionAsDetails } from "./Description-
|
|
5
|
+
import { D as DescriptionPopover, a as DescriptionAsDetails } from "./Description-D7yfWnpD.js";
|
|
6
6
|
import { g as getNonInlineMediaLayoutStyles } from "./nonInlineMediaLayout-CkXHaqzo.js";
|
|
7
|
-
import { N as NonInlineMediaWrapper } from "./NonInlineMediaWrapper-
|
|
7
|
+
import { N as NonInlineMediaWrapper } from "./NonInlineMediaWrapper-Mz256SyO.js";
|
|
8
8
|
const YT_API_SRC = "https://www.youtube.com/iframe_api";
|
|
9
9
|
const listeners = /* @__PURE__ */ new Set();
|
|
10
10
|
let installed = false;
|