@doenet/doenetml 0.7.25-dev.515 → 0.7.25-dev.516
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-YX0WMg1o.js → AnswerResponseButton-CksDLq4N.js} +2 -2
- package/{Description-Ba_1yVWC.js → Description-YrZRukag.js} +1 -1
- package/{DynamicMath-D2xis5DI.js → DynamicMath-BgsUvjcj.js} +1 -1
- package/{EditorViewer-CLfEGvCG.js → EditorViewer-BPN5rvqe.js} +6 -6
- package/{GraphFrame-CLqGGoUO.js → GraphFrame-CiwFrMR3.js} +2 -2
- package/{JSXGraphRenderer-DddF5LGy.js → JSXGraphRenderer-DQQCQcox.js} +1 -1
- package/{NonInlineMediaWrapper-CoBcfNRD.js → NonInlineMediaWrapper-ykDSX2KX.js} +1 -1
- package/{_error-Cg6kNQPa.js → _error-Bel0qKBp.js} +2 -2
- package/{alert-DWlBaHN2.js → alert-Ci20M20U.js} +3 -3
- package/{angle-DVWm0uLD.js → angle-DrNXks-j.js} +7 -7
- package/{answer-D7oLq--b.js → answer-BIhiYNXu.js} +6 -6
- package/{asList-CLVqT-_3.js → asList-P9WkQ06z.js} +2 -2
- package/{blockQuote-Dts7SW6Y.js → blockQuote-57VOrRx_.js} +3 -3
- package/{boolean-BmoYouo5.js → boolean-Cchn7jUj.js} +2 -2
- package/{booleanInput-Cq-5leVN.js → booleanInput-DZx8VACi.js} +6 -6
- package/{br-DDiJdrqf.js → br-BSPVbbxT.js} +2 -2
- package/{button-C9nW1Jys.js → button-n6o38Vba.js} +4 -4
- package/{c-DFSL3bEa.js → c-ChifxVOn.js} +3 -3
- package/{cell-DaG_02Y6.js → cell-CLXcFWZN.js} +3 -3
- package/{choiceInput-BhY-8Oa3.js → choiceInput-D8hBAEJY.js} +5 -5
- package/{circle-C_ad5sdz.js → circle-DkJZbuaW.js} +6 -6
- package/{cobwebPolyline-DqsXtBTO.js → cobwebPolyline-0SUqZ00J.js} +4 -4
- package/{codeEditor-BDBMApet.js → codeEditor-DMJ7Jkm0.js} +2 -2
- package/{composites-D8qhUvZN.js → composites-BwPOYMbk.js} +1 -1
- package/{containerBlock-C4te52Eh.js → containerBlock-CWo4GKNQ.js} +4 -4
- package/{containerInline-CrfaVHGt.js → containerInline-BMA0DSPD.js} +4 -4
- package/{curve-D-Y8zBwY.js → curve-CmDTuuU8.js} +4 -4
- package/{doenetml-2sDrjY2S.js → doenetml-DZzbSW92.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-B9a6jfOX.js → ellipsis-Dr9xbB20.js} +2 -2
- package/{em-C873EYz3.js → em-C-wb1ysZ.js} +3 -3
- package/{embed-BOKqkxOc.js → embed-lrjL1uWa.js} +2 -2
- package/{feedback-D49q4aGx.js → feedback-BnvPFZFh.js} +4 -4
- package/{figure-EldRCkr3.js → figure-Bz5rERxO.js} +3 -3
- package/{fillPatterns-hNq0Cr-y.js → fillPatterns-CJT2gJWT.js} +1 -1
- package/{footnote-zNxg8T-n.js → footnote-CWIGrebr.js} +3 -3
- package/{fractionInput-Dx4CSCVm.js → fractionInput-COh5jKgx.js} +4 -4
- package/{graph-BGhjlGRn.js → graph-D7Pm821l.js} +6 -6
- package/{hint-sRw970bu.js → hint-BsdQw_-K.js} +4 -4
- package/{hovercard-store-DVniEteM.js → hovercard-store-C2vHzTYH.js} +1 -1
- package/{hr-DokbiEXA.js → hr-B4Jh-sfM.js} +2 -2
- package/{image-BcouWtLA.js → image-CQSvWfbE.js} +7 -7
- package/{index-BH-4beUk.js → index-DWnkxVdd.js} +1 -1
- package/{index.es-E9HC7X7V.js → index.es-DxSvloaU.js} +1 -1
- package/index.js +1 -1
- package/{label-CGAGC3aa.js → label-BKL3hEFz.js} +7 -7
- package/{labelWithLatex-BokKkchr.js → labelWithLatex-HVyUXTd-.js} +2 -2
- package/{legend-DqmOzzi1.js → legend-DUgppA0D.js} +4 -4
- package/{line-ObzBgU5M.js → line-tPS_Pm2t.js} +7 -7
- package/{lineFamilyDragHandlers-6BD7Vnz4.js → lineFamilyDragHandlers-BtwfatlF.js} +1 -1
- package/{lineSegment-BGTiVlK1.js → lineSegment-UCaRGbk3.js} +5 -5
- package/{list-CriUetw8.js → list-CkCODLkZ.js} +4 -4
- package/{lq-Cm1BMqx5.js → lq-CZvZ8VIM.js} +2 -2
- package/{lsq-DbrAkIvJ.js → lsq-djhdwoAT.js} +2 -2
- package/{markupRenderer-C5iVlCbT.js → markupRenderer-Crt2Ne29.js} +1 -1
- package/{math-DhrYU5dJ.js → math-D6GjZE0H.js} +8 -8
- package/{mathInput-CjsXfr-1.js → mathInput-CIkQl6OF.js} +7 -7
- package/{mathInputSlots-3qxG6Chd.js → mathInputSlots-CifY_sb2.js} +1 -1
- package/{matrixInput-Dtq1Y5Bg.js → matrixInput-sECwj-vG.js} +4 -4
- package/{mdash-B74mZ4tN.js → mdash-DWo0mKAI.js} +2 -2
- package/{nbsp-ON9UnRf7.js → nbsp-BL5Z9UyE.js} +2 -2
- package/{ndash-u6TlBAVQ.js → ndash-DW1FRUG6.js} +2 -2
- package/{number-CLWVscs5.js → number-B4tQGxhw.js} +7 -7
- package/{orbitalDiagram-CQFEXfiX.js → orbitalDiagram-Izb1-uKJ.js} +2 -2
- package/{orbitalDiagramInput-C3547Pcp.js → orbitalDiagramInput-D5BforrA.js} +2 -2
- package/{p-DZUQag_q.js → p-jzUhpnzO.js} +4 -4
- package/package.json +1 -1
- package/{paginatorControls-BALY7Vim.js → paginatorControls-DROg_Bem.js} +2 -2
- package/{pegboard-BrzX-GfT.js → pegboard-A2yexX2t.js} +4 -4
- package/{point-Dc21Byjs.js → point-RWflpia_.js} +7 -7
- package/{polygon-XRoVcluC.js → polygon-BiN9LB0M.js} +6 -6
- package/{polyline-Bc-dyd9j.js → polyline--iuO_r1s.js} +5 -5
- package/{pre-NL2cUm-u.js → pre-mWlB87gA.js} +3 -3
- package/{prefigure-BS9Fi5m3.js → prefigure-BlUfT2ya.js} +1 -1
- package/{pretzel-mt1HsNGq.js → pretzel-BSh8VD1k.js} +4 -4
- package/{q-FROPdylm.js → q-CV0JZNPF.js} +3 -3
- package/{ray-54WAObbk.js → ray-CAqnJuId.js} +5 -5
- package/{ref-Cyu_FZv0.js → ref-MTGvCRVp.js} +2 -2
- package/{regionBetweenCurveXAxis-BPoHgx0z.js → regionBetweenCurveXAxis-CXP9tdiB.js} +5 -5
- package/{regionBetweenCurves-CF66qMki.js → regionBetweenCurves-BLHCUvNt.js} +5 -5
- package/{row-B_VpVzKT.js → row-DON8HTpr.js} +2 -2
- package/{rq-DQZCrmIX.js → rq-BLHZKapK.js} +2 -2
- package/{rsq-C7cFlnto.js → rsq-B4UUh2g3.js} +2 -2
- package/{section-JKa_YI5q.js → section-DHAZQGxm.js} +5 -5
- package/{sha256-DT5xJ2Hv-6cON5OHk.js → sha256-DT5xJ2Hv-A9WiEOjX.js} +1 -1
- package/{sideBySide-CtbZMYte.js → sideBySide-DmKzbihd.js} +2 -2
- package/{slider-fqI0zu23.js → slider-Bc6f60sn.js} +3 -3
- package/{slopeField-C5YV429B.js → slopeField-DojDdwuE.js} +2 -2
- package/{solution-Bj18BHjr.js → solution-CVM6sVSB.js} +4 -4
- package/{spreadsheet-C60eG_4h.js → spreadsheet-CpD0yR3N.js} +2 -2
- package/{sq-CPnPLbt0.js → sq-BvXYaEC2.js} +3 -3
- package/{subsetOfRealsInput-a3ba0bW3.js → subsetOfRealsInput-QsTdYkyM.js} +2 -2
- package/{summaryStatistics-BTT9Du8O.js → summaryStatistics-CAF4X39l.js} +2 -2
- package/{table-CAUqrfup.js → table-D0UCGzTz.js} +2 -2
- package/{tabular-Bc1zbjPu.js → tabular-C2p2wpyi.js} +2 -2
- package/{tag-C8gG7UmA.js → tag-uk2XhzFj.js} +2 -2
- package/{text-BkfA1UcI.js → text-D0adH-gT.js} +6 -6
- package/{textInput-Dd8q-e75.js → textInput-CN6cWW9I.js} +7 -7
- package/{tooltip-provider-BHMw_84c.js → tooltip-provider-CYWKV7Ve.js} +2 -2
- package/{useAnchoredGraphDragHandler-CoPyCoMs.js → useAnchoredGraphDragHandler-Bj4qLXn7.js} +1 -1
- package/useDoenetRenderer-DgFMDenL.js +114 -0
- package/{useFieldCurve-CymRlkZt.js → useFieldCurve-wz5r5uVj.js} +2 -2
- package/{useSubmitActionWithDelay-DJKqQ0OP.js → useSubmitActionWithDelay-B-ZjVYoH.js} +2 -2
- package/{vector-DIe6g1z4.js → vector-B29lkv1m.js} +7 -7
- package/{vectorField-PkQ123Fo.js → vectorField-DUQghIXO.js} +2 -2
- package/{video-D-tt8a_0.js → video-B-8VSgWe.js} +4 -4
- package/useDoenetRenderer-B18-DTrU.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-DZzbSW92.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-DQQCQcox.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DgFMDenL.js";
|
|
5
|
+
import { BoardContext, VERTEX_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-D7Pm821l.js";
|
|
6
|
+
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-BtwfatlF.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-BrCvjxze.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-DZzbSW92.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-DgFMDenL.js";
|
|
4
|
+
import { a as addCommasForCompositeRanges } from "./composites-BwPOYMbk.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-DZzbSW92.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-DZzbSW92.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-DgFMDenL.js";
|
|
4
|
+
import { A as AnswerResponseButton } from "./AnswerResponseButton-CksDLq4N.js";
|
|
5
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-B-ZjVYoH.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-DZzbSW92.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-DgFMDenL.js";
|
|
4
|
+
import { r as renderMarkupBody } from "./markupRenderer-Crt2Ne29.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-DZzbSW92.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-DQQCQcox.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DgFMDenL.js";
|
|
5
|
+
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-D7Pm821l.js";
|
|
6
|
+
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-BtwfatlF.js";
|
|
7
7
|
import { a as buildLineLikeAttributes } from "./buildGraphicalAttributes-B_soifR-.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-DZzbSW92.js";
|
|
2
2
|
import React__default, { useContext, useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DgFMDenL.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, K as createFunctionFromDefinition, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { A as DocContext, K as createFunctionFromDefinition, q as jsxRuntimeExports } from "./doenetml-DZzbSW92.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-DQQCQcox.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DgFMDenL.js";
|
|
5
|
+
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-D7Pm821l.js";
|
|
6
|
+
import { g as getPatternFillAttributes } from "./fillPatterns-CJT2gJWT.js";
|
|
7
7
|
import { b as resolveCanvasColor } from "./styleColors-BrCvjxze.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, K as createFunctionFromDefinition, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { A as DocContext, K as createFunctionFromDefinition, q as jsxRuntimeExports } from "./doenetml-DZzbSW92.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-DgFMDenL.js";
|
|
4
|
+
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-D7Pm821l.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-CJT2gJWT.js";
|
|
7
7
|
import { b as resolveCanvasColor } from "./styleColors-BrCvjxze.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-DQQCQcox.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-DZzbSW92.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DgFMDenL.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-DZzbSW92.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DgFMDenL.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-DZzbSW92.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DgFMDenL.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, O as directionOf, P as useDocumentDirection, Q as chromeLangDir, t as useUiLocale, A as DocContext, I as cesc, G as useRecordVisibilityChanges, q as jsxRuntimeExports, R as DocumentDirectionProvider } from "./doenetml-
|
|
1
|
+
import { u as useT, F as useContentT, O as directionOf, P as useDocumentDirection, Q as chromeLangDir, t as useUiLocale, A as DocContext, I as cesc, G as useRecordVisibilityChanges, q as jsxRuntimeExports, R as DocumentDirectionProvider } from "./doenetml-DZzbSW92.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-DxSvloaU.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-DgFMDenL.js";
|
|
6
|
+
import { a as addCommasForCompositeRanges } from "./composites-BwPOYMbk.js";
|
|
7
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-B-ZjVYoH.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-DZzbSW92.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DgFMDenL.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, S as ActionButtonGroup, T as ActionButton, H as Context } from "./doenetml-
|
|
1
|
+
import { u as useT, q as jsxRuntimeExports, S as ActionButtonGroup, T as ActionButton, H as Context } from "./doenetml-DZzbSW92.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-DgFMDenL.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-HVyUXTd-.js";
|
|
6
6
|
import { l as ltrIslandProps } from "./direction-BwrU7jHk.js";
|
|
7
7
|
let round_to_decimals = (x, n) => {
|
|
8
8
|
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-DgFMDenL.js";
|
|
3
|
+
import { u as useFieldFunction, a as useFieldCurve, b as buildSlopeFieldData } from "./useFieldCurve-wz5r5uVj.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-DZzbSW92.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-DgFMDenL.js";
|
|
4
|
+
import { F as FontAwesomeIcon } from "./index.es-DxSvloaU.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-BwPOYMbk.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-DZzbSW92.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-DgFMDenL.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-DZzbSW92.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-DgFMDenL.js";
|
|
4
|
+
import { r as renderMarkupBody } from "./markupRenderer-Crt2Ne29.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, G as useRecordVisibilityChanges, q as jsxRuntimeExports, X as ToggleButtonGroup, V as ToggleButton, S as ActionButtonGroup, T as ActionButton } from "./doenetml-
|
|
1
|
+
import { u as useT, G as useRecordVisibilityChanges, q as jsxRuntimeExports, X as ToggleButtonGroup, V as ToggleButton, S as ActionButtonGroup, T as ActionButton } from "./doenetml-DZzbSW92.js";
|
|
2
2
|
import React__default, { useState, useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DgFMDenL.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, 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-DZzbSW92.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DgFMDenL.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-DZzbSW92.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DgFMDenL.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-DZzbSW92.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DgFMDenL.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-DZzbSW92.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DgFMDenL.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-DZzbSW92.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-DQQCQcox.js";
|
|
4
|
+
import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-D7Pm821l.js";
|
|
5
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DgFMDenL.js";
|
|
6
6
|
import { g as getPositionFromAnchorByCoordinate } from "./graph-W6vrFcBu.js";
|
|
7
|
-
import { ChoiceInputInlineContext } from "./choiceInput-
|
|
7
|
+
import { ChoiceInputInlineContext } from "./choiceInput-D8hBAEJY.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-Bj4qLXn7.js";
|
|
11
11
|
import { u as useJSXGraphCleanup } from "./useJSXGraphCleanup-BNk4sn6x.js";
|
|
12
12
|
import { e as resolveTextColor, f as resolveBackgroundColor } from "./styleColors-BrCvjxze.js";
|
|
13
13
|
const text = React__default.memo(function Text(props) {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { F as useContentT, H as Context, q as jsxRuntimeExports, U as MathJax } from "./doenetml-
|
|
1
|
+
import { F as useContentT, H as Context, q as jsxRuntimeExports, U as MathJax } from "./doenetml-DZzbSW92.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-DQQCQcox.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DgFMDenL.js";
|
|
5
5
|
import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
|
|
6
|
-
import { BoardContext } from "./graph-
|
|
6
|
+
import { BoardContext } from "./graph-D7Pm821l.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-B-ZjVYoH.js";
|
|
9
|
+
import { D as DescriptionPopover } from "./Description-YrZRukag.js";
|
|
10
10
|
import { a as addValidationStateToShortDescription } from "./validationState-DI_lxk1a.js";
|
|
11
|
-
import { b as useInMathSlot } from "./mathInputSlots-
|
|
11
|
+
import { b as useInMathSlot } from "./mathInputSlots-CifY_sb2.js";
|
|
12
12
|
import { u as useMathJaxOutOfTabOrder } from "./useMathJaxOutOfTabOrder-C0wsYqBF.js";
|
|
13
13
|
function TextInput(props) {
|
|
14
14
|
let { id, SVs, children, actions, ignoreUpdate, callAction } = useDoenetRenderer(props);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { af as createStoreContext, ag as createDialogComponent, Z as forwardRef, $ as createElement, a0 as createHook, a2 as invariant, ah as useWrapElement, q as jsxRuntimeExports, a3 as useStoreState, ai as isFalsyBooleanCallback, aj as contains, ak as sync, al as chain, am as useEvent, an as createStore, ao as defaultValue, ap as useStore, aq 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 { af as createStoreContext, ag as createDialogComponent, Z as forwardRef, $ as createElement, a0 as createHook, a2 as invariant, ah as useWrapElement, q as jsxRuntimeExports, a3 as useStoreState, ai as isFalsyBooleanCallback, aj as contains, ak as sync, al as chain, am as useEvent, an as createStore, ao as defaultValue, ap as useStore, aq as useStoreProps } from "./doenetml-DZzbSW92.js";
|
|
2
|
+
import { H as HovercardScopedContextProvider, a as HovercardContextProvider, u as useHovercard, b as useHovercardAnchor, c as createHovercardStore, d as useHovercardStoreProps } from "./hovercard-store-C2vHzTYH.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-DQQCQcox.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-DZzbSW92.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-CiwFrMR3.js"), "./renderers/JSXGraphRenderer.tsx": () => import("./JSXGraphRenderer-DQQCQcox.js").then((n) => n.m), "./renderers/_error.tsx": () => import("./_error-Bel0qKBp.js"), "./renderers/alert.tsx": () => import("./alert-Ci20M20U.js"), "./renderers/angle.tsx": () => import("./angle-DrNXks-j.js"), "./renderers/answer.tsx": () => import("./answer-BIhiYNXu.js"), "./renderers/asList.tsx": () => import("./asList-P9WkQ06z.js"), "./renderers/blockQuote.tsx": () => import("./blockQuote-57VOrRx_.js"), "./renderers/boolean.tsx": () => import("./boolean-Cchn7jUj.js"), "./renderers/booleanInput.tsx": () => import("./booleanInput-DZx8VACi.js"), "./renderers/br.tsx": () => import("./br-BSPVbbxT.js"), "./renderers/button.tsx": () => import("./button-n6o38Vba.js"), "./renderers/c.tsx": () => import("./c-ChifxVOn.js"), "./renderers/cell.tsx": () => import("./cell-CLXcFWZN.js"), "./renderers/choiceInput.tsx": () => import("./choiceInput-D8hBAEJY.js"), "./renderers/circle.tsx": () => import("./circle-DkJZbuaW.js"), "./renderers/cobwebPolyline.tsx": () => import("./cobwebPolyline-0SUqZ00J.js"), "./renderers/codeEditor.tsx": () => import("./codeEditor-DMJ7Jkm0.js"), "./renderers/containerBlock.tsx": () => import("./containerBlock-CWo4GKNQ.js"), "./renderers/containerInline.tsx": () => import("./containerInline-BMA0DSPD.js"), "./renderers/curve.tsx": () => import("./curve-CmDTuuU8.js"), "./renderers/ellipsis.tsx": () => import("./ellipsis-Dr9xbB20.js"), "./renderers/em.tsx": () => import("./em-C-wb1ysZ.js"), "./renderers/embed.tsx": () => import("./embed-lrjL1uWa.js"), "./renderers/feedback.tsx": () => import("./feedback-BnvPFZFh.js"), "./renderers/figure.tsx": () => import("./figure-Bz5rERxO.js"), "./renderers/footnote.tsx": () => import("./footnote-CWIGrebr.js"), "./renderers/fractionInput.tsx": () => import("./fractionInput-COh5jKgx.js"), "./renderers/graph.tsx": () => import("./graph-D7Pm821l.js"), "./renderers/hint.tsx": () => import("./hint-BsdQw_-K.js"), "./renderers/hr.tsx": () => import("./hr-B4Jh-sfM.js"), "./renderers/image.tsx": () => import("./image-CQSvWfbE.js"), "./renderers/label.tsx": () => import("./label-BKL3hEFz.js"), "./renderers/legend.tsx": () => import("./legend-DUgppA0D.js"), "./renderers/line.tsx": () => import("./line-tPS_Pm2t.js"), "./renderers/lineSegment.tsx": () => import("./lineSegment-UCaRGbk3.js"), "./renderers/list.tsx": () => import("./list-CkCODLkZ.js"), "./renderers/lq.tsx": () => import("./lq-CZvZ8VIM.js"), "./renderers/lsq.tsx": () => import("./lsq-djhdwoAT.js"), "./renderers/math.tsx": () => import("./math-D6GjZE0H.js"), "./renderers/mathInput.tsx": () => import("./mathInput-CIkQl6OF.js"), "./renderers/matrixInput.tsx": () => import("./matrixInput-sECwj-vG.js"), "./renderers/mdash.tsx": () => import("./mdash-DWo0mKAI.js"), "./renderers/nbsp.tsx": () => import("./nbsp-BL5Z9UyE.js"), "./renderers/ndash.tsx": () => import("./ndash-DW1FRUG6.js"), "./renderers/number.tsx": () => import("./number-B4tQGxhw.js"), "./renderers/orbitalDiagram.tsx": () => import("./orbitalDiagram-Izb1-uKJ.js"), "./renderers/orbitalDiagramInput.tsx": () => import("./orbitalDiagramInput-D5BforrA.js"), "./renderers/p.tsx": () => import("./p-jzUhpnzO.js"), "./renderers/paginatorControls.tsx": () => import("./paginatorControls-DROg_Bem.js"), "./renderers/pegboard.tsx": () => import("./pegboard-A2yexX2t.js"), "./renderers/point.tsx": () => import("./point-RWflpia_.js"), "./renderers/polygon.tsx": () => import("./polygon-BiN9LB0M.js"), "./renderers/polyline.tsx": () => import("./polyline--iuO_r1s.js"), "./renderers/pre.tsx": () => import("./pre-mWlB87gA.js"), "./renderers/prefigure.tsx": () => import("./prefigure-BlUfT2ya.js"), "./renderers/pretzel.tsx": () => import("./pretzel-BSh8VD1k.js"), "./renderers/q.tsx": () => import("./q-CV0JZNPF.js"), "./renderers/ray.tsx": () => import("./ray-CAqnJuId.js"), "./renderers/ref.tsx": () => import("./ref-MTGvCRVp.js"), "./renderers/regionBetweenCurveXAxis.tsx": () => import("./regionBetweenCurveXAxis-CXP9tdiB.js"), "./renderers/regionBetweenCurves.tsx": () => import("./regionBetweenCurves-BLHCUvNt.js"), "./renderers/row.tsx": () => import("./row-DON8HTpr.js"), "./renderers/rq.tsx": () => import("./rq-BLHZKapK.js"), "./renderers/rsq.tsx": () => import("./rsq-B4UUh2g3.js"), "./renderers/section.tsx": () => import("./section-DHAZQGxm.js"), "./renderers/sideBySide.tsx": () => import("./sideBySide-DmKzbihd.js"), "./renderers/slider.tsx": () => import("./slider-Bc6f60sn.js"), "./renderers/slopeField.tsx": () => import("./slopeField-DojDdwuE.js"), "./renderers/solution.tsx": () => import("./solution-CVM6sVSB.js"), "./renderers/spreadsheet.tsx": () => import("./spreadsheet-CpD0yR3N.js"), "./renderers/sq.tsx": () => import("./sq-BvXYaEC2.js"), "./renderers/subsetOfRealsInput.tsx": () => import("./subsetOfRealsInput-QsTdYkyM.js"), "./renderers/summaryStatistics.tsx": () => import("./summaryStatistics-CAF4X39l.js"), "./renderers/table.tsx": () => import("./table-D0UCGzTz.js"), "./renderers/tabular.tsx": () => import("./tabular-C2p2wpyi.js"), "./renderers/tag.tsx": () => import("./tag-uk2XhzFj.js"), "./renderers/text.tsx": () => import("./text-D0adH-gT.js"), "./renderers/textInput.tsx": () => import("./textInput-CN6cWW9I.js"), "./renderers/vector.tsx": () => import("./vector-B29lkv1m.js"), "./renderers/vectorField.tsx": () => import("./vectorField-DUQghIXO.js"), "./renderers/video.tsx": () => import("./video-B-8VSgWe.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 { K as createFunctionFromDefinition, A as DocContext } from "./doenetml-
|
|
2
|
+
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-D7Pm821l.js";
|
|
3
|
+
import { K as createFunctionFromDefinition, A as DocContext } from "./doenetml-DZzbSW92.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-DZzbSW92.js";
|
|
2
|
+
import { F as FontAwesomeIcon } from "./index.es-DxSvloaU.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-DZzbSW92.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-DQQCQcox.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DgFMDenL.js";
|
|
5
|
+
import { BoardContext, VERTEX_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-D7Pm821l.js";
|
|
6
|
+
import { D as DynamicMath } from "./DynamicMath-BgsUvjcj.js";
|
|
7
|
+
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-BtwfatlF.js";
|
|
8
|
+
import { ChoiceInputInlineContext } from "./choiceInput-D8hBAEJY.js";
|
|
9
9
|
import { a as buildLineLikeAttributes, c as buildDragHandleAttributes } from "./buildGraphicalAttributes-B_soifR-.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-DgFMDenL.js";
|
|
3
|
+
import { u as useFieldFunction, a as useFieldCurve, c as buildVectorFieldData } from "./useFieldCurve-wz5r5uVj.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-DZzbSW92.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-DgFMDenL.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-YrZRukag.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-ykDSX2KX.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;
|