@doenet/doenetml 0.7.21-dev.427 → 0.7.21-dev.428
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-BCReBLy5.js → AnswerResponseButton-BSQl-73O.js} +2 -2
- package/{Description-B2eClTnX.js → Description-BDYE3VzU.js} +1 -1
- package/{GraphFrame-ipK76NhD.js → GraphFrame-BmdC7ErI.js} +2 -2
- package/{JSXGraphRenderer-B8soFDbH.js → JSXGraphRenderer-DzdCM1R4.js} +1 -1
- package/{NonInlineMediaWrapper-C2RtKYwl.js → NonInlineMediaWrapper-BJpaI-k5.js} +1 -1
- package/Viewer/renderers/list.d.ts.map +1 -1
- package/Viewer/renderers/p.d.ts +9 -1
- package/Viewer/renderers/p.d.ts.map +1 -1
- package/{_error-D17v0uJ8.js → _error-kIKt19tE.js} +2 -2
- package/{alert-DZGwteGt.js → alert-CMQfduYf.js} +3 -3
- package/{angle-CMYUaaKa.js → angle-m3rH1GkF.js} +6 -6
- package/{answer-Cs40B36C.js → answer-BJREQgku.js} +5 -5
- package/{asList-DaF3PDfj.js → asList-DsW7abmx.js} +2 -2
- package/{blockQuote-DC1GgbVx.js → blockQuote-rfrQC_ke.js} +3 -3
- package/{boolean-DxINx-34.js → boolean-B0feVmsv.js} +2 -2
- package/{booleanInput-BLEWQ7xN.js → booleanInput-CMEIjJYx.js} +6 -6
- package/{br-8YnzQou1.js → br-CQd9t1zo.js} +2 -2
- package/{button-CPCJJmxD.js → button-C7rtaKiH.js} +4 -4
- package/{c-NOuS3Mrr.js → c-tMDNy9ib.js} +3 -3
- package/{cell-C6sFCHxh.js → cell-B0PJSM04.js} +3 -3
- package/{choiceInput-C5Nx9mlO.js → choiceInput-DoPcoUFY.js} +4 -4
- package/{circle-5OntqSxX.js → circle-BJRGHY5C.js} +6 -6
- package/{cobwebPolyline-5Rhv_ATM.js → cobwebPolyline-DHGHB0Ny.js} +4 -4
- package/{codeEditor-BJgakuTM.js → codeEditor-D0_93yZu.js} +2 -2
- package/{composites-D0nYfYLt.js → composites-DjUQP4hg.js} +1 -1
- package/{containerBlock-Bk_HU6MR.js → containerBlock-SOmAJJ7X.js} +4 -4
- package/{containerInline-BYfVGGjj.js → containerInline-DfhgZbdH.js} +4 -4
- package/{curve-Blk8KI52.js → curve-BtyPX7Zb.js} +4 -4
- package/{doenetml-D4SQOp1R.js → doenetml-BKikn2X0.js} +5 -5
- package/doenetml-external-worker.js +2 -2
- package/doenetml-inline-worker.js +2 -2
- package/{ellipsis-BMXiAtdl.js → ellipsis-D0D27dys.js} +2 -2
- package/{em-6zk9wfdy.js → em-DEVF7AhV.js} +3 -3
- package/{embed-CcymcpHo.js → embed-DdIrD5-f.js} +2 -2
- package/{feedback-Bu37-qzF.js → feedback-CkDqwrpR.js} +4 -4
- package/{figure-RE8revPk.js → figure-ZP_hW4N3.js} +3 -3
- package/{fillPatterns-CjmzzGuG.js → fillPatterns-C7IX6B3k.js} +1 -1
- package/{footnote-CqcrQPz7.js → footnote-B-64S7XI.js} +3 -3
- package/{fractionInput-q8QtS7ej.js → fractionInput-D0bwLPQv.js} +4 -4
- package/{graph-DmOpPVn7.js → graph-CblvRNRR.js} +6 -6
- package/{hint-Dp_Ejrrz.js → hint-BcxT_pEC.js} +4 -4
- package/{hr-BvSocWAV.js → hr-MM7sBkci.js} +2 -2
- package/{image-k2ZmB0ow.js → image-DfNhrQ-v.js} +7 -7
- package/{index-CL_K-_-U.js → index-DSslNFr7.js} +1 -1
- package/{index.es-rIKoSZz-.js → index.es-DzzWYLzU.js} +1 -1
- package/index.js +1 -1
- package/{label-Dyng4R_0.js → label-BpTOt8wO.js} +6 -6
- package/{labelWithLatex-Dd-2tmLp.js → labelWithLatex-BJiFnr_q.js} +1 -1
- package/{legend-kr_lWokr.js → legend-DYSjtqys.js} +4 -4
- package/{line-BqHRmqR-.js → line-J7IGlE-s.js} +6 -6
- package/{lineFamilyDragHandlers-D8JOk_36.js → lineFamilyDragHandlers-DkyWffw8.js} +1 -1
- package/{lineSegment-CQP_Bgvp.js → lineSegment-U4YXFeGW.js} +5 -5
- package/{list-9ouNfqDa.js → list-C_RfTTBP.js} +19 -5
- package/{lq-5qFwUxKT.js → lq-BOJoqB6p.js} +2 -2
- package/{lsq-BkVynwfR.js → lsq-BFsp2GMC.js} +2 -2
- package/{markupRenderer-ClXiBoyX.js → markupRenderer-BNLL96Mm.js} +1 -1
- package/{math-CN-9cYDY.js → math-BlNd3rGM.js} +6 -6
- package/{mathInput-DsbykZSp.js → mathInput-BdrQJE-a.js} +7 -7
- package/{matrixInput-CZtyFINy.js → matrixInput-D6CpnTdk.js} +4 -4
- package/{mdash-aF0Bfm0I.js → mdash-CQ7RWNwe.js} +2 -2
- package/{nbsp-Bjj-usyV.js → nbsp-BhvcJfEk.js} +2 -2
- package/{ndash-BxxRDxNs.js → ndash-BKcBGvZg.js} +2 -2
- package/{number-CRHtdFRh.js → number-D8hWrqcj.js} +6 -6
- package/{orbitalDiagram-DFIJeMa8.js → orbitalDiagram-jNeBHeSp.js} +2 -2
- package/{orbitalDiagramInput-B5KjWRzJ.js → orbitalDiagramInput--2_rV-kG.js} +2 -2
- package/{p-CzBGkrk2.js → p-7PGfOT7A.js} +5 -4
- package/package.json +1 -1
- package/{paginatorControls-Dr5o61TU.js → paginatorControls-NQ0g6hEr.js} +2 -2
- package/{pegboard-CXZ7R5wF.js → pegboard-KtFY_--6.js} +4 -4
- package/{point-BWnoqekh.js → point-D99nV02w.js} +6 -6
- package/{polygon-OIrhQNrq.js → polygon-32WHjMVQ.js} +6 -6
- package/{polyline-wly93YyS.js → polyline-BxTpZDSs.js} +5 -5
- package/{pre-BDdhe-ar.js → pre-BGw6j0MG.js} +3 -3
- package/{prefigure-CB6ryDTB.js → prefigure-CYTon6uN.js} +1 -1
- package/{pretzel-CqCSiRUc.js → pretzel-BfgCj0vk.js} +4 -4
- package/{q-DVjKT6W-.js → q-CYBuHCoY.js} +3 -3
- package/{ray-Dpb1Yq8K.js → ray-CR4VhLEx.js} +5 -5
- package/{ref-uWPvUGG7.js → ref-BQFM_C2-.js} +2 -2
- package/{regionBetweenCurveXAxis-DgE64WDJ.js → regionBetweenCurveXAxis-DQzmMFWI.js} +5 -5
- package/{regionBetweenCurves-Bzm4r0jG.js → regionBetweenCurves-CMhMx4l2.js} +5 -5
- package/{row-D68A7RMP.js → row-Do-tzgjM.js} +2 -2
- package/{rq-C4jtkw15.js → rq-D20ONB5k.js} +2 -2
- package/{rsq-3SwB1FyU.js → rsq-ChoizgPo.js} +2 -2
- package/{section-DalcaV4N.js → section-E_oXMjZR.js} +5 -5
- package/{sha256-Bzrm4-tO-DnNS33bQ.js → sha256-Bzrm4-tO-BE6JQ1H_.js} +1 -1
- package/{sideBySide-CzwfUajz.js → sideBySide-CzxEMgdo.js} +2 -2
- package/{slider-DZK0yaCU.js → slider-BlPdy9aD.js} +3 -3
- package/{solution-5_MsVgtn.js → solution-BJ342EKa.js} +4 -4
- package/{spreadsheet-B7kkHN9A.js → spreadsheet-CF6SDQfR.js} +2 -2
- package/{sq-CcE3zXpT.js → sq-BIHlw9j-.js} +3 -3
- package/{subsetOfRealsInput-CY2zqkZ2.js → subsetOfRealsInput-BBeVBRXM.js} +2 -2
- package/{summaryStatistics-BJwe-CAF.js → summaryStatistics-CiKxTSvJ.js} +2 -2
- package/{table-D5CvKMfp.js → table-B00ECN-U.js} +2 -2
- package/{tabular-QuziJrOb.js → tabular-BYhdbEap.js} +2 -2
- package/{tag-DC7OP8OT.js → tag-DsZPY3vP.js} +2 -2
- package/{text-CYtuOOlW.js → text-DRpTOasn.js} +6 -6
- package/{textInput-CY2jTWzj.js → textInput-cmEQWm_C.js} +6 -6
- package/{tooltip-provider-23tjXpa6.js → tooltip-provider-CKKT396d.js} +1 -1
- package/{useAnchoredGraphDragHandler-BC6XYBSk.js → useAnchoredGraphDragHandler-DVN9cDAN.js} +1 -1
- package/useDoenetRenderer-CtZAm8nc.js +114 -0
- package/{useSubmitActionWithDelay-u8Qf2uDt.js → useSubmitActionWithDelay-C5Z7c4CT.js} +2 -2
- package/{vector-Bpa01pEb.js → vector-DDZCAP_H.js} +6 -6
- package/{video-D5PVIlRk.js → video-DNGvJNPP.js} +4 -4
- package/useDoenetRenderer-BR_N2IGC.js +0 -114
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { t as DocContext, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { t as DocContext, q as jsxRuntimeExports } from "./doenetml-BKikn2X0.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-DzdCM1R4.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CtZAm8nc.js";
|
|
5
|
+
import { BoardContext, VERTEX_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-CblvRNRR.js";
|
|
6
|
+
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-DkyWffw8.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 { y as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { y as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-BKikn2X0.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-CtZAm8nc.js";
|
|
4
|
+
import { a as addCommasForCompositeRanges } from "./composites-DjUQP4hg.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-BKikn2X0.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, x as useContentT, o as useChromeLangDir, y as useRecordVisibilityChanges, t as DocContext, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useT, x as useContentT, o as useChromeLangDir, y as useRecordVisibilityChanges, t as DocContext, q as jsxRuntimeExports } from "./doenetml-BKikn2X0.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-CtZAm8nc.js";
|
|
4
|
+
import { A as AnswerResponseButton } from "./AnswerResponseButton-BSQl-73O.js";
|
|
5
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-C5Z7c4CT.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-BKikn2X0.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-CtZAm8nc.js";
|
|
4
|
+
import { r as renderMarkupBody } from "./markupRenderer-BNLL96Mm.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 { t as DocContext, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { t as DocContext, q as jsxRuntimeExports } from "./doenetml-BKikn2X0.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-DzdCM1R4.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CtZAm8nc.js";
|
|
5
|
+
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-CblvRNRR.js";
|
|
6
|
+
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-DkyWffw8.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 { t as DocContext, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { t as DocContext, q as jsxRuntimeExports } from "./doenetml-BKikn2X0.js";
|
|
2
2
|
import React__default, { useContext, useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CtZAm8nc.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 { t as DocContext, E as createFunctionFromDefinition, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { t as DocContext, E as createFunctionFromDefinition, q as jsxRuntimeExports } from "./doenetml-BKikn2X0.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-DzdCM1R4.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CtZAm8nc.js";
|
|
5
|
+
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-CblvRNRR.js";
|
|
6
|
+
import { g as getPatternFillAttributes } from "./fillPatterns-C7IX6B3k.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 { t as DocContext, E as createFunctionFromDefinition, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { t as DocContext, E as createFunctionFromDefinition, q as jsxRuntimeExports } from "./doenetml-BKikn2X0.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-CtZAm8nc.js";
|
|
4
|
+
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-CblvRNRR.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-C7IX6B3k.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-DzdCM1R4.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-BKikn2X0.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CtZAm8nc.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-BKikn2X0.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CtZAm8nc.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-BKikn2X0.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CtZAm8nc.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, x as useContentT, L as directionOf, M as useDocumentDirection, N as chromeLangDir, n as useUiLocale, t as DocContext, A as cesc, y as useRecordVisibilityChanges, q as jsxRuntimeExports, O as DocumentDirectionProvider } from "./doenetml-
|
|
1
|
+
import { u as useT, x as useContentT, L as directionOf, M as useDocumentDirection, N as chromeLangDir, n as useUiLocale, t as DocContext, A as cesc, y as useRecordVisibilityChanges, q as jsxRuntimeExports, O as DocumentDirectionProvider } from "./doenetml-BKikn2X0.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-DzzWYLzU.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-CtZAm8nc.js";
|
|
6
|
+
import { a as addCommasForCompositeRanges } from "./composites-DjUQP4hg.js";
|
|
7
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-C5Z7c4CT.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 { y as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { y as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-BKikn2X0.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CtZAm8nc.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,8 +1,8 @@
|
|
|
1
|
-
import { u as useT, q as jsxRuntimeExports, P as ActionButtonGroup, Q as ActionButton, z as Context } from "./doenetml-
|
|
1
|
+
import { u as useT, q as jsxRuntimeExports, P as ActionButtonGroup, Q as ActionButton, z as Context } from "./doenetml-BKikn2X0.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-CtZAm8nc.js";
|
|
4
4
|
import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
|
|
5
|
-
import { r as renderLabelWithLatex } from "./labelWithLatex-
|
|
5
|
+
import { r as renderLabelWithLatex } from "./labelWithLatex-BJiFnr_q.js";
|
|
6
6
|
import { l as ltrIslandProps } from "./direction-BwrU7jHk.js";
|
|
7
7
|
let round_to_decimals = (x, n) => {
|
|
8
8
|
try {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { u as useT, y as useRecordVisibilityChanges, o as useChromeLangDir, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useT, y as useRecordVisibilityChanges, o as useChromeLangDir, q as jsxRuntimeExports } from "./doenetml-BKikn2X0.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-CtZAm8nc.js";
|
|
4
|
+
import { F as FontAwesomeIcon } from "./index.es-DzzWYLzU.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-DjUQP4hg.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 { t as DocContext, y as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { t as DocContext, y as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-BKikn2X0.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-CtZAm8nc.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-BKikn2X0.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-CtZAm8nc.js";
|
|
4
|
+
import { r as renderMarkupBody } from "./markupRenderer-BNLL96Mm.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,6 +1,6 @@
|
|
|
1
|
-
import { u as useT, y as useRecordVisibilityChanges, q as jsxRuntimeExports, U as ToggleButtonGroup, T as ToggleButton, P as ActionButtonGroup, Q as ActionButton } from "./doenetml-
|
|
1
|
+
import { u as useT, y as useRecordVisibilityChanges, q as jsxRuntimeExports, U as ToggleButtonGroup, T as ToggleButton, P as ActionButtonGroup, Q as ActionButton } from "./doenetml-BKikn2X0.js";
|
|
2
2
|
import React__default, { useState, useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CtZAm8nc.js";
|
|
4
4
|
import { l as ltrIslandProps } from "./direction-BwrU7jHk.js";
|
|
5
5
|
const subsetOfRealsInput = React__default.memo(function subsetOfReals(props) {
|
|
6
6
|
let { id, SVs, actions, callAction } = useDoenetRenderer(props, false);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { u as useT, o as useChromeLangDir, y as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useT, o as useChromeLangDir, y as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-BKikn2X0.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CtZAm8nc.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 { y as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { y as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-BKikn2X0.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CtZAm8nc.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 { y as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { y as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-BKikn2X0.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CtZAm8nc.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-BKikn2X0.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CtZAm8nc.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 { t as DocContext, z as Context, q as jsxRuntimeExports, v as textRendererStyle } from "./doenetml-
|
|
1
|
+
import { t as DocContext, z as Context, q as jsxRuntimeExports, v as textRendererStyle } from "./doenetml-BKikn2X0.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-DzdCM1R4.js";
|
|
4
|
+
import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-CblvRNRR.js";
|
|
5
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CtZAm8nc.js";
|
|
6
6
|
import { g as getPositionFromAnchorByCoordinate } from "./graph-W6vrFcBu.js";
|
|
7
|
-
import { ChoiceInputInlineContext } from "./choiceInput-
|
|
7
|
+
import { ChoiceInputInlineContext } from "./choiceInput-DoPcoUFY.js";
|
|
8
8
|
import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-DV6a8Wvg.js";
|
|
9
9
|
import { u as useDraggableRefs, a as useJSXGraphCleanup } from "./useJSXGraphCleanup-CX91oVW8.js";
|
|
10
|
-
import { d as detachAnchoredGraphElement, a as attachAnchoredGraphDragHandlers } from "./useAnchoredGraphDragHandler-
|
|
10
|
+
import { d as detachAnchoredGraphElement, a as attachAnchoredGraphDragHandlers } from "./useAnchoredGraphDragHandler-DVN9cDAN.js";
|
|
11
11
|
const text = React__default.memo(function Text(props) {
|
|
12
12
|
let { componentIdx, id, SVs, actions, callAction } = useDoenetRenderer(props);
|
|
13
13
|
Text.ignoreActionsWithoutCore = () => true;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { x as useContentT, z as Context, q as jsxRuntimeExports, R as MathJax } from "./doenetml-
|
|
1
|
+
import { x as useContentT, z as Context, q as jsxRuntimeExports, R as MathJax } from "./doenetml-BKikn2X0.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-DzdCM1R4.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CtZAm8nc.js";
|
|
5
5
|
import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
|
|
6
|
-
import { BoardContext } from "./graph-
|
|
6
|
+
import { BoardContext } from "./graph-CblvRNRR.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-C5Z7c4CT.js";
|
|
9
|
+
import { D as DescriptionPopover } from "./Description-BDYE3VzU.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,4 +1,4 @@
|
|
|
1
|
-
import { ac as createStoreContext, ad as HovercardScopedContextProvider, ae as HovercardContextProvider, af as createDialogComponent, X as forwardRef, Y as createElement, Z as createHook, a0 as invariant, ag as useWrapElement, q as jsxRuntimeExports, a1 as useStoreState, ah as useHovercard, ai as isFalsyBooleanCallback, aj as contains, ak as sync, al as chain, am as useEvent, an as useHovercardAnchor, ao as createStore, ap as createHovercardStore, aq as defaultValue, ar as useStore, as as useStoreProps, at as useHovercardStoreProps } from "./doenetml-
|
|
1
|
+
import { ac as createStoreContext, ad as HovercardScopedContextProvider, ae as HovercardContextProvider, af as createDialogComponent, X as forwardRef, Y as createElement, Z as createHook, a0 as invariant, ag as useWrapElement, q as jsxRuntimeExports, a1 as useStoreState, ah as useHovercard, ai as isFalsyBooleanCallback, aj as contains, ak as sync, al as chain, am as useEvent, an as useHovercardAnchor, ao as createStore, ap as createHovercardStore, aq as defaultValue, ar as useStore, as as useStoreProps, at as useHovercardStoreProps } from "./doenetml-BKikn2X0.js";
|
|
2
2
|
import { useRef, useEffect } from "react";
|
|
3
3
|
const ctx = createStoreContext([HovercardContextProvider], [HovercardScopedContextProvider]);
|
|
4
4
|
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-DzdCM1R4.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 { G as useAppSelector, H as mainSlice, I as renderersLoadComponent, _ as __variableDynamicImportRuntimeHelper } from "./doenetml-BKikn2X0.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-BmdC7ErI.js"), "./renderers/JSXGraphRenderer.tsx": () => import("./JSXGraphRenderer-DzdCM1R4.js").then((n) => n.m), "./renderers/_error.tsx": () => import("./_error-kIKt19tE.js"), "./renderers/alert.tsx": () => import("./alert-CMQfduYf.js"), "./renderers/angle.tsx": () => import("./angle-m3rH1GkF.js"), "./renderers/answer.tsx": () => import("./answer-BJREQgku.js"), "./renderers/asList.tsx": () => import("./asList-DsW7abmx.js"), "./renderers/blockQuote.tsx": () => import("./blockQuote-rfrQC_ke.js"), "./renderers/boolean.tsx": () => import("./boolean-B0feVmsv.js"), "./renderers/booleanInput.tsx": () => import("./booleanInput-CMEIjJYx.js"), "./renderers/br.tsx": () => import("./br-CQd9t1zo.js"), "./renderers/button.tsx": () => import("./button-C7rtaKiH.js"), "./renderers/c.tsx": () => import("./c-tMDNy9ib.js"), "./renderers/cell.tsx": () => import("./cell-B0PJSM04.js"), "./renderers/choiceInput.tsx": () => import("./choiceInput-DoPcoUFY.js"), "./renderers/circle.tsx": () => import("./circle-BJRGHY5C.js"), "./renderers/cobwebPolyline.tsx": () => import("./cobwebPolyline-DHGHB0Ny.js"), "./renderers/codeEditor.tsx": () => import("./codeEditor-D0_93yZu.js"), "./renderers/containerBlock.tsx": () => import("./containerBlock-SOmAJJ7X.js"), "./renderers/containerInline.tsx": () => import("./containerInline-DfhgZbdH.js"), "./renderers/curve.tsx": () => import("./curve-BtyPX7Zb.js"), "./renderers/ellipsis.tsx": () => import("./ellipsis-D0D27dys.js"), "./renderers/em.tsx": () => import("./em-DEVF7AhV.js"), "./renderers/embed.tsx": () => import("./embed-DdIrD5-f.js"), "./renderers/feedback.tsx": () => import("./feedback-CkDqwrpR.js"), "./renderers/figure.tsx": () => import("./figure-ZP_hW4N3.js"), "./renderers/footnote.tsx": () => import("./footnote-B-64S7XI.js"), "./renderers/fractionInput.tsx": () => import("./fractionInput-D0bwLPQv.js"), "./renderers/graph.tsx": () => import("./graph-CblvRNRR.js"), "./renderers/hint.tsx": () => import("./hint-BcxT_pEC.js"), "./renderers/hr.tsx": () => import("./hr-MM7sBkci.js"), "./renderers/image.tsx": () => import("./image-DfNhrQ-v.js"), "./renderers/label.tsx": () => import("./label-BpTOt8wO.js"), "./renderers/legend.tsx": () => import("./legend-DYSjtqys.js"), "./renderers/line.tsx": () => import("./line-J7IGlE-s.js"), "./renderers/lineSegment.tsx": () => import("./lineSegment-U4YXFeGW.js"), "./renderers/list.tsx": () => import("./list-C_RfTTBP.js"), "./renderers/lq.tsx": () => import("./lq-BOJoqB6p.js"), "./renderers/lsq.tsx": () => import("./lsq-BFsp2GMC.js"), "./renderers/math.tsx": () => import("./math-BlNd3rGM.js"), "./renderers/mathInput.tsx": () => import("./mathInput-BdrQJE-a.js"), "./renderers/matrixInput.tsx": () => import("./matrixInput-D6CpnTdk.js"), "./renderers/mdash.tsx": () => import("./mdash-CQ7RWNwe.js"), "./renderers/nbsp.tsx": () => import("./nbsp-BhvcJfEk.js"), "./renderers/ndash.tsx": () => import("./ndash-BKcBGvZg.js"), "./renderers/number.tsx": () => import("./number-D8hWrqcj.js"), "./renderers/orbitalDiagram.tsx": () => import("./orbitalDiagram-jNeBHeSp.js"), "./renderers/orbitalDiagramInput.tsx": () => import("./orbitalDiagramInput--2_rV-kG.js"), "./renderers/p.tsx": () => import("./p-7PGfOT7A.js"), "./renderers/paginatorControls.tsx": () => import("./paginatorControls-NQ0g6hEr.js"), "./renderers/pegboard.tsx": () => import("./pegboard-KtFY_--6.js"), "./renderers/point.tsx": () => import("./point-D99nV02w.js"), "./renderers/polygon.tsx": () => import("./polygon-32WHjMVQ.js"), "./renderers/polyline.tsx": () => import("./polyline-BxTpZDSs.js"), "./renderers/pre.tsx": () => import("./pre-BGw6j0MG.js"), "./renderers/prefigure.tsx": () => import("./prefigure-CYTon6uN.js"), "./renderers/pretzel.tsx": () => import("./pretzel-BfgCj0vk.js"), "./renderers/q.tsx": () => import("./q-CYBuHCoY.js"), "./renderers/ray.tsx": () => import("./ray-CR4VhLEx.js"), "./renderers/ref.tsx": () => import("./ref-BQFM_C2-.js"), "./renderers/regionBetweenCurveXAxis.tsx": () => import("./regionBetweenCurveXAxis-DQzmMFWI.js"), "./renderers/regionBetweenCurves.tsx": () => import("./regionBetweenCurves-CMhMx4l2.js"), "./renderers/row.tsx": () => import("./row-Do-tzgjM.js"), "./renderers/rq.tsx": () => import("./rq-D20ONB5k.js"), "./renderers/rsq.tsx": () => import("./rsq-ChoizgPo.js"), "./renderers/section.tsx": () => import("./section-E_oXMjZR.js"), "./renderers/sideBySide.tsx": () => import("./sideBySide-CzxEMgdo.js"), "./renderers/slider.tsx": () => import("./slider-BlPdy9aD.js"), "./renderers/solution.tsx": () => import("./solution-BJ342EKa.js"), "./renderers/spreadsheet.tsx": () => import("./spreadsheet-CF6SDQfR.js"), "./renderers/sq.tsx": () => import("./sq-BIHlw9j-.js"), "./renderers/subsetOfRealsInput.tsx": () => import("./subsetOfRealsInput-BBeVBRXM.js"), "./renderers/summaryStatistics.tsx": () => import("./summaryStatistics-CiKxTSvJ.js"), "./renderers/table.tsx": () => import("./table-B00ECN-U.js"), "./renderers/tabular.tsx": () => import("./tabular-BYhdbEap.js"), "./renderers/tag.tsx": () => import("./tag-DsZPY3vP.js"), "./renderers/text.tsx": () => import("./text-DRpTOasn.js"), "./renderers/textInput.tsx": () => import("./textInput-cmEQWm_C.js"), "./renderers/vector.tsx": () => import("./vector-DDZCAP_H.js"), "./renderers/video.tsx": () => import("./video-DNGvJNPP.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,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-BKikn2X0.js";
|
|
2
|
+
import { F as FontAwesomeIcon } from "./index.es-DzzWYLzU.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,10 +1,10 @@
|
|
|
1
|
-
import { t as DocContext, q as jsxRuntimeExports, v as textRendererStyle, w as DynamicMath } from "./doenetml-
|
|
1
|
+
import { t as DocContext, q as jsxRuntimeExports, v as textRendererStyle, w as DynamicMath } from "./doenetml-BKikn2X0.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 { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-
|
|
7
|
-
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-DzdCM1R4.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CtZAm8nc.js";
|
|
5
|
+
import { BoardContext, VERTEX_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-CblvRNRR.js";
|
|
6
|
+
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-DkyWffw8.js";
|
|
7
|
+
import { ChoiceInputInlineContext } from "./choiceInput-DoPcoUFY.js";
|
|
8
8
|
import { a as buildLineLikeAttributes, c as buildDragHandleAttributes } from "./buildGraphicalAttributes-0RNcbd2S.js";
|
|
9
9
|
import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-DV6a8Wvg.js";
|
|
10
10
|
import { p as pointerEventToUserCoords } from "./dragThreshold-DuSSFrIU.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { y as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { y as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-BKikn2X0.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-CtZAm8nc.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-BDYE3VzU.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-BJpaI-k5.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;
|