@doenet/doenetml 0.7.25-dev.499 → 0.7.25-dev.502
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-D4npqpK9.js → AnswerResponseButton-B_ZC1Y01.js} +2 -2
- package/{Description-PVoh9W17.js → Description-Dj-ECZjP.js} +1 -1
- package/{DynamicMath-Qc9Qq9kl.js → DynamicMath-DuoxJaWi.js} +1 -1
- package/{EditorViewer-CQzN-KNw.js → EditorViewer-CKXOu6Xc.js} +7 -7
- package/{GraphFrame-DQ7UpKCI.js → GraphFrame-79HPv5L3.js} +2 -2
- package/{JSXGraphRenderer-Ds5wUfHM.js → JSXGraphRenderer-DdCJegGp.js} +1 -1
- package/{NonInlineMediaWrapper-CO9RK7G4.js → NonInlineMediaWrapper-DAkW_b4E.js} +1 -1
- package/{_error-Cd-NM-ge.js → _error-BclY3ngh.js} +2 -2
- package/{alert-BHfaECuj.js → alert-2Xk5neD0.js} +3 -3
- package/{angle-DdzIZBfs.js → angle-CUCVkMcN.js} +7 -7
- package/{answer-DW-qD1dk.js → answer-CMUef9w7.js} +6 -6
- package/{asList-BpvR0D6a.js → asList-DXkE3xLE.js} +2 -2
- package/{blockQuote-BKgiT1p8.js → blockQuote-Duo8vLOf.js} +3 -3
- package/{boolean-DzQTzjb0.js → boolean-CDNMO1uW.js} +2 -2
- package/{booleanInput-fM15-bUW.js → booleanInput-C4HFcqv5.js} +7 -7
- package/{br-Bm9UDusV.js → br-C8MGfnqd.js} +2 -2
- package/{button-Cqm6KLSV.js → button-D3pRJ_HO.js} +5 -5
- package/{c-C6ZJ_dfk.js → c-w0qvT9qk.js} +3 -3
- package/{cell-RFiE67-E.js → cell-dY3QtnCO.js} +3 -3
- package/{choiceInput-Bb8W8ukb.js → choiceInput-BQtLfRX9.js} +4 -4
- package/{circle-CJG60qBX.js → circle-BfFAvdYO.js} +6 -6
- package/{cobwebPolyline-B23USv6L.js → cobwebPolyline-5gHGqAOD.js} +4 -4
- package/{codeEditor-Dz5KvmOw.js → codeEditor-78DVFjR7.js} +2 -2
- package/{composites-CgkTXut9.js → composites-COtPaDZx.js} +1 -1
- package/{containerBlock-B0NxYP4x.js → containerBlock-Dm7FQjGS.js} +4 -4
- package/{containerInline-B-_qzpDT.js → containerInline-BFO1_deC.js} +4 -4
- package/{curve-D7WgY09l.js → curve-CKIWo65Q.js} +4 -4
- package/{doenetml-ROIliEbP.js → doenetml-B-hFBPam.js} +3 -3
- 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-B3bq5p_C.js → ellipsis-BVtp0eKb.js} +2 -2
- package/{em-CuGrKRZV.js → em-B6va28eT.js} +3 -3
- package/{embed-Cfxj7maH.js → embed-BNvkvRTY.js} +2 -2
- package/{feedback-BMBkwYmy.js → feedback-BUcDYUyP.js} +4 -4
- package/{figure-UBjWE9kL.js → figure-BsSvvPVY.js} +3 -3
- package/{fillPatterns-B2_8Fgxi.js → fillPatterns-B-BuGztY.js} +1 -1
- package/{footnote-CdftfZdR.js → footnote-DpHXME5P.js} +3 -3
- package/{fractionInput-zqduyuCW.js → fractionInput-DYVMgOMq.js} +4 -4
- package/{graph-BwOAD_jk.js → graph-0JgcnyaW.js} +6 -6
- package/{hint-BBiKpJ1f.js → hint-BJZen3wn.js} +4 -4
- package/{hovercard-store-IZcJ6SFg.js → hovercard-store-BqNx5MV1.js} +1 -1
- package/{hr-B7nT0BX8.js → hr-DaBzyJUF.js} +2 -2
- package/{image-Bza5FIWz.js → image-CTOkySqm.js} +7 -7
- package/{index-C0F8-4sg.js → index-Chl4fz4U.js} +1 -1
- package/{index-DkhFJsnW.js → index-DqOu4bgv.js} +1 -1
- package/{index.es-CQ4ldzZA.js → index.es-Biii6O-8.js} +1 -1
- package/index.js +1 -1
- package/{label-DqT5Yr-m.js → label-CCl0YwAa.js} +7 -7
- package/{labelWithLatex-Djjalj0L.js → labelWithLatex-xSDzh5pN.js} +2 -2
- package/{legend-BptYPp3M.js → legend-mrmKsWU_.js} +4 -4
- package/{line-DBK-Xb8-.js → line-MqwE7aKG.js} +7 -7
- package/{lineFamilyDragHandlers-RxUGEWrS.js → lineFamilyDragHandlers-DwHZ5FrD.js} +1 -1
- package/{lineSegment-BsXzUYA4.js → lineSegment-CFysMbo_.js} +5 -5
- package/{list-BV9yWDnQ.js → list-BuoQAoYf.js} +4 -4
- package/{lq-DszProbT.js → lq-C9PoD83z.js} +2 -2
- package/{lsq-CNZhe9L9.js → lsq-Cm6B86u9.js} +2 -2
- package/{markupRenderer-Bw9GW8Kp.js → markupRenderer-BZb_J_zQ.js} +1 -1
- package/{math-B-31ptgH.js → math-Bk7Qya6w.js} +7 -7
- package/{mathInput-DT--c0b-.js → mathInput-IeoH85cz.js} +7 -7
- package/{matrixInput-C400pMDg.js → matrixInput-BnjgmtbV.js} +5 -5
- package/{mdash-DbVHwUHh.js → mdash-D2bAMAkW.js} +2 -2
- package/{nbsp-HzeP0xzR.js → nbsp-BxOUpDtf.js} +2 -2
- package/{ndash-DKtgiBVT.js → ndash-DyVqJ6Xx.js} +2 -2
- package/{number-DUPOOKu_.js → number-P1wQOpaY.js} +7 -7
- package/{orbitalDiagram-D9HReR4S.js → orbitalDiagram-DuYjR-BY.js} +2 -2
- package/{orbitalDiagramInput-CGZTrEcW.js → orbitalDiagramInput-D7DvUvEu.js} +3 -3
- package/{p-B5VH93ap.js → p-CT6Aen7t.js} +4 -4
- package/package.json +1 -1
- package/{paginatorControls-ClPpHccx.js → paginatorControls-k8Sx6SrC.js} +3 -3
- package/{pegboard-1OAmXizl.js → pegboard-DR-1Issq.js} +4 -4
- package/{point-CJRmne4G.js → point-CAyPFQgd.js} +7 -7
- package/{polygon-R8t4-HFw.js → polygon-BLQ10wo5.js} +6 -6
- package/{polyline-D-qC4Eqn.js → polyline-B1v1vd9j.js} +5 -5
- package/{pre-2pyokABa.js → pre-uocJdHPc.js} +3 -3
- package/{prefigure-DF8NLWTF.js → prefigure-DidJQxtQ.js} +1 -1
- package/{pretzel-D1lRrrFA.js → pretzel-Bk_dhupR.js} +4 -4
- package/{q-SajAyVYH.js → q-T8q6HdDu.js} +3 -3
- package/{ray-DSZ_fheG.js → ray-DGnWwft7.js} +5 -5
- package/{ref-iA7Evpy-.js → ref-CLVM_Hl7.js} +2 -2
- package/{regionBetweenCurveXAxis-DsWvqlbL.js → regionBetweenCurveXAxis-C3L9QrWT.js} +5 -5
- package/{regionBetweenCurves-BIizWQB0.js → regionBetweenCurves-BNPPUOf4.js} +5 -5
- package/{row-CP0c8QF8.js → row-BvEnMG5C.js} +2 -2
- package/{rq-D6dfrlzi.js → rq-BRtRX7qR.js} +2 -2
- package/{rsq-BtfytgGg.js → rsq-Bnb7k89S.js} +2 -2
- package/{section-DPgVpcMR.js → section-Da5s5aeW.js} +5 -5
- package/{sha256-DT5xJ2Hv-D5f-1Ja1.js → sha256-DT5xJ2Hv-pnlvlmad.js} +1 -1
- package/{sideBySide-GRO15fhM.js → sideBySide-BURTV01c.js} +2 -2
- package/{slider-DMV11kQC.js → slider-CTFHsXcS.js} +4 -4
- package/{slopeField-B6YKvPd-.js → slopeField-B0YVHyQF.js} +2 -2
- package/{solution-BPBk1XQj.js → solution-D40DN3tM.js} +4 -4
- package/{spreadsheet-CNvxISTH.js → spreadsheet-BOuzi2z1.js} +2 -2
- package/{sq-zH-UuvD8.js → sq-CRMkSnZ_.js} +3 -3
- package/{subsetOfRealsInput-D10WemVD.js → subsetOfRealsInput-B2D3AU__.js} +3 -3
- package/{summaryStatistics-DQ8SsOTK.js → summaryStatistics-Dbc9wuat.js} +2 -2
- package/{table-DNJjVvoV.js → table-BH0XbrQI.js} +2 -2
- package/{tabular-DaymWYNk.js → tabular-gVhT1fL1.js} +2 -2
- package/{tag-CGHiz5AX.js → tag-BzCnmdsz.js} +2 -2
- package/{text-Dm8hp_fJ.js → text-lnALUrl9.js} +6 -6
- package/{textInput-2tPxnKed.js → textInput-DJ1xFVsg.js} +6 -6
- package/{tooltip-provider-BIRswVNx.js → tooltip-provider-C-RnZKeM.js} +2 -2
- package/{useAnchoredGraphDragHandler-DeyqshOi.js → useAnchoredGraphDragHandler-5jJzp9af.js} +1 -1
- package/useDoenetRenderer-D-Tqn2RL.js +114 -0
- package/{useFieldCurve-Bo6lgNRW.js → useFieldCurve-zqcMTb1s.js} +2 -2
- package/{useSubmitActionWithDelay-Bw4TSmvM.js → useSubmitActionWithDelay-DB0sMN8r.js} +2 -2
- package/{vector-CUBmYefk.js → vector-D94KVbB9.js} +7 -7
- package/{vectorField-BmwJiZ8a.js → vectorField-2pcGpHZU.js} +2 -2
- package/{video-Dum61_Sk.js → video-DcBgpoy3.js} +4 -4
- package/useDoenetRenderer-CpitRvws.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-B-hFBPam.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-DdCJegGp.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-D-Tqn2RL.js";
|
|
5
|
+
import { BoardContext, VERTEX_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-0JgcnyaW.js";
|
|
6
|
+
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-DwHZ5FrD.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-B-hFBPam.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-D-Tqn2RL.js";
|
|
4
|
+
import { a as addCommasForCompositeRanges } from "./composites-COtPaDZx.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-B-hFBPam.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-B-hFBPam.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-D-Tqn2RL.js";
|
|
4
|
+
import { A as AnswerResponseButton } from "./AnswerResponseButton-B_ZC1Y01.js";
|
|
5
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-DB0sMN8r.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-B-hFBPam.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-D-Tqn2RL.js";
|
|
4
|
+
import { r as renderMarkupBody } from "./markupRenderer-BZb_J_zQ.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-B-hFBPam.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-DdCJegGp.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-D-Tqn2RL.js";
|
|
5
|
+
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-0JgcnyaW.js";
|
|
6
|
+
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-DwHZ5FrD.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-B-hFBPam.js";
|
|
2
2
|
import React__default, { useContext, useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-D-Tqn2RL.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-B-hFBPam.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-DdCJegGp.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-D-Tqn2RL.js";
|
|
5
|
+
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-0JgcnyaW.js";
|
|
6
|
+
import { g as getPatternFillAttributes } from "./fillPatterns-B-BuGztY.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-B-hFBPam.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-D-Tqn2RL.js";
|
|
4
|
+
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-0JgcnyaW.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-B-BuGztY.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-DdCJegGp.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-B-hFBPam.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-D-Tqn2RL.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-B-hFBPam.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-D-Tqn2RL.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-B-hFBPam.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-D-Tqn2RL.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-B-hFBPam.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-Biii6O-8.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-D-Tqn2RL.js";
|
|
6
|
+
import { a as addCommasForCompositeRanges } from "./composites-COtPaDZx.js";
|
|
7
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-DB0sMN8r.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-B-hFBPam.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-D-Tqn2RL.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-B-hFBPam.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-D-Tqn2RL.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-Chl4fz4U.js";
|
|
6
|
+
import { r as renderLabelWithLatex } from "./labelWithLatex-xSDzh5pN.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-D-Tqn2RL.js";
|
|
3
|
+
import { u as useFieldFunction, a as useFieldCurve, b as buildSlopeFieldData } from "./useFieldCurve-zqcMTb1s.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-B-hFBPam.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-D-Tqn2RL.js";
|
|
4
|
+
import { F as FontAwesomeIcon } from "./index.es-Biii6O-8.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-COtPaDZx.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-B-hFBPam.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-D-Tqn2RL.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-B-hFBPam.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-D-Tqn2RL.js";
|
|
4
|
+
import { r as renderMarkupBody } from "./markupRenderer-BZb_J_zQ.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-B-hFBPam.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-D-Tqn2RL.js";
|
|
4
|
+
import { b as ToggleButtonGroup, T as ToggleButton, A as ActionButtonGroup, a as ActionButton } from "./index-Chl4fz4U.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-B-hFBPam.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-D-Tqn2RL.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-B-hFBPam.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-D-Tqn2RL.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-B-hFBPam.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-D-Tqn2RL.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-B-hFBPam.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-D-Tqn2RL.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-B-hFBPam.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-DdCJegGp.js";
|
|
4
|
+
import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-0JgcnyaW.js";
|
|
5
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-D-Tqn2RL.js";
|
|
6
6
|
import { g as getPositionFromAnchorByCoordinate } from "./graph-W6vrFcBu.js";
|
|
7
|
-
import { ChoiceInputInlineContext } from "./choiceInput-
|
|
7
|
+
import { ChoiceInputInlineContext } from "./choiceInput-BQtLfRX9.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-5jJzp9af.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-B-hFBPam.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-DdCJegGp.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-D-Tqn2RL.js";
|
|
5
5
|
import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
|
|
6
|
-
import { BoardContext } from "./graph-
|
|
6
|
+
import { BoardContext } from "./graph-0JgcnyaW.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-DB0sMN8r.js";
|
|
9
|
+
import { D as DescriptionPopover } from "./Description-Dj-ECZjP.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-B-hFBPam.js";
|
|
2
|
+
import { H as HovercardScopedContextProvider, a as HovercardContextProvider, u as useHovercard, b as useHovercardAnchor, c as createHovercardStore, d as useHovercardStoreProps } from "./hovercard-store-BqNx5MV1.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-DdCJegGp.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-B-hFBPam.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-79HPv5L3.js"), "./renderers/JSXGraphRenderer.tsx": () => import("./JSXGraphRenderer-DdCJegGp.js").then((n) => n.m), "./renderers/_error.tsx": () => import("./_error-BclY3ngh.js"), "./renderers/alert.tsx": () => import("./alert-2Xk5neD0.js"), "./renderers/angle.tsx": () => import("./angle-CUCVkMcN.js"), "./renderers/answer.tsx": () => import("./answer-CMUef9w7.js"), "./renderers/asList.tsx": () => import("./asList-DXkE3xLE.js"), "./renderers/blockQuote.tsx": () => import("./blockQuote-Duo8vLOf.js"), "./renderers/boolean.tsx": () => import("./boolean-CDNMO1uW.js"), "./renderers/booleanInput.tsx": () => import("./booleanInput-C4HFcqv5.js"), "./renderers/br.tsx": () => import("./br-C8MGfnqd.js"), "./renderers/button.tsx": () => import("./button-D3pRJ_HO.js"), "./renderers/c.tsx": () => import("./c-w0qvT9qk.js"), "./renderers/cell.tsx": () => import("./cell-dY3QtnCO.js"), "./renderers/choiceInput.tsx": () => import("./choiceInput-BQtLfRX9.js"), "./renderers/circle.tsx": () => import("./circle-BfFAvdYO.js"), "./renderers/cobwebPolyline.tsx": () => import("./cobwebPolyline-5gHGqAOD.js"), "./renderers/codeEditor.tsx": () => import("./codeEditor-78DVFjR7.js"), "./renderers/containerBlock.tsx": () => import("./containerBlock-Dm7FQjGS.js"), "./renderers/containerInline.tsx": () => import("./containerInline-BFO1_deC.js"), "./renderers/curve.tsx": () => import("./curve-CKIWo65Q.js"), "./renderers/ellipsis.tsx": () => import("./ellipsis-BVtp0eKb.js"), "./renderers/em.tsx": () => import("./em-B6va28eT.js"), "./renderers/embed.tsx": () => import("./embed-BNvkvRTY.js"), "./renderers/feedback.tsx": () => import("./feedback-BUcDYUyP.js"), "./renderers/figure.tsx": () => import("./figure-BsSvvPVY.js"), "./renderers/footnote.tsx": () => import("./footnote-DpHXME5P.js"), "./renderers/fractionInput.tsx": () => import("./fractionInput-DYVMgOMq.js"), "./renderers/graph.tsx": () => import("./graph-0JgcnyaW.js"), "./renderers/hint.tsx": () => import("./hint-BJZen3wn.js"), "./renderers/hr.tsx": () => import("./hr-DaBzyJUF.js"), "./renderers/image.tsx": () => import("./image-CTOkySqm.js"), "./renderers/label.tsx": () => import("./label-CCl0YwAa.js"), "./renderers/legend.tsx": () => import("./legend-mrmKsWU_.js"), "./renderers/line.tsx": () => import("./line-MqwE7aKG.js"), "./renderers/lineSegment.tsx": () => import("./lineSegment-CFysMbo_.js"), "./renderers/list.tsx": () => import("./list-BuoQAoYf.js"), "./renderers/lq.tsx": () => import("./lq-C9PoD83z.js"), "./renderers/lsq.tsx": () => import("./lsq-Cm6B86u9.js"), "./renderers/math.tsx": () => import("./math-Bk7Qya6w.js"), "./renderers/mathInput.tsx": () => import("./mathInput-IeoH85cz.js"), "./renderers/matrixInput.tsx": () => import("./matrixInput-BnjgmtbV.js"), "./renderers/mdash.tsx": () => import("./mdash-D2bAMAkW.js"), "./renderers/nbsp.tsx": () => import("./nbsp-BxOUpDtf.js"), "./renderers/ndash.tsx": () => import("./ndash-DyVqJ6Xx.js"), "./renderers/number.tsx": () => import("./number-P1wQOpaY.js"), "./renderers/orbitalDiagram.tsx": () => import("./orbitalDiagram-DuYjR-BY.js"), "./renderers/orbitalDiagramInput.tsx": () => import("./orbitalDiagramInput-D7DvUvEu.js"), "./renderers/p.tsx": () => import("./p-CT6Aen7t.js"), "./renderers/paginatorControls.tsx": () => import("./paginatorControls-k8Sx6SrC.js"), "./renderers/pegboard.tsx": () => import("./pegboard-DR-1Issq.js"), "./renderers/point.tsx": () => import("./point-CAyPFQgd.js"), "./renderers/polygon.tsx": () => import("./polygon-BLQ10wo5.js"), "./renderers/polyline.tsx": () => import("./polyline-B1v1vd9j.js"), "./renderers/pre.tsx": () => import("./pre-uocJdHPc.js"), "./renderers/prefigure.tsx": () => import("./prefigure-DidJQxtQ.js"), "./renderers/pretzel.tsx": () => import("./pretzel-Bk_dhupR.js"), "./renderers/q.tsx": () => import("./q-T8q6HdDu.js"), "./renderers/ray.tsx": () => import("./ray-DGnWwft7.js"), "./renderers/ref.tsx": () => import("./ref-CLVM_Hl7.js"), "./renderers/regionBetweenCurveXAxis.tsx": () => import("./regionBetweenCurveXAxis-C3L9QrWT.js"), "./renderers/regionBetweenCurves.tsx": () => import("./regionBetweenCurves-BNPPUOf4.js"), "./renderers/row.tsx": () => import("./row-BvEnMG5C.js"), "./renderers/rq.tsx": () => import("./rq-BRtRX7qR.js"), "./renderers/rsq.tsx": () => import("./rsq-Bnb7k89S.js"), "./renderers/section.tsx": () => import("./section-Da5s5aeW.js"), "./renderers/sideBySide.tsx": () => import("./sideBySide-BURTV01c.js"), "./renderers/slider.tsx": () => import("./slider-CTFHsXcS.js"), "./renderers/slopeField.tsx": () => import("./slopeField-B0YVHyQF.js"), "./renderers/solution.tsx": () => import("./solution-D40DN3tM.js"), "./renderers/spreadsheet.tsx": () => import("./spreadsheet-BOuzi2z1.js"), "./renderers/sq.tsx": () => import("./sq-CRMkSnZ_.js"), "./renderers/subsetOfRealsInput.tsx": () => import("./subsetOfRealsInput-B2D3AU__.js"), "./renderers/summaryStatistics.tsx": () => import("./summaryStatistics-Dbc9wuat.js"), "./renderers/table.tsx": () => import("./table-BH0XbrQI.js"), "./renderers/tabular.tsx": () => import("./tabular-gVhT1fL1.js"), "./renderers/tag.tsx": () => import("./tag-BzCnmdsz.js"), "./renderers/text.tsx": () => import("./text-lnALUrl9.js"), "./renderers/textInput.tsx": () => import("./textInput-DJ1xFVsg.js"), "./renderers/vector.tsx": () => import("./vector-D94KVbB9.js"), "./renderers/vectorField.tsx": () => import("./vectorField-2pcGpHZU.js"), "./renderers/video.tsx": () => import("./video-DcBgpoy3.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-0JgcnyaW.js";
|
|
3
|
+
import { J as createFunctionFromDefinition, A as DocContext } from "./doenetml-B-hFBPam.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-B-hFBPam.js";
|
|
2
|
+
import { F as FontAwesomeIcon } from "./index.es-Biii6O-8.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-B-hFBPam.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-DdCJegGp.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-D-Tqn2RL.js";
|
|
5
|
+
import { BoardContext, VERTEX_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-0JgcnyaW.js";
|
|
6
|
+
import { D as DynamicMath } from "./DynamicMath-DuoxJaWi.js";
|
|
7
|
+
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-DwHZ5FrD.js";
|
|
8
|
+
import { ChoiceInputInlineContext } from "./choiceInput-BQtLfRX9.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-D-Tqn2RL.js";
|
|
3
|
+
import { u as useFieldFunction, a as useFieldCurve, c as buildVectorFieldData } from "./useFieldCurve-zqcMTb1s.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-B-hFBPam.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-D-Tqn2RL.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-Dj-ECZjP.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-DAkW_b4E.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;
|