@doenet/doenetml 0.7.20-dev.333 → 0.7.20-dev.334
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-C4EcjoBg.js → AnswerResponseButton-Gvhmmj9A.js} +2 -2
- package/{Description-DzG0tMzG.js → Description-B0pkxmYM.js} +1 -1
- package/EditorViewer/EditorViewer.d.ts +1 -1
- package/EditorViewer/EditorViewer.d.ts.map +1 -1
- package/{GraphFrame-BEmHCG4c.js → GraphFrame-ZF35-YCf.js} +2 -2
- package/{JSXGraphRenderer-BerSmFIZ.js → JSXGraphRenderer-ClyyL_2A.js} +1 -1
- package/{NonInlineMediaWrapper-BuKE-I24.js → NonInlineMediaWrapper-ULod_asW.js} +1 -1
- package/Viewer/DocViewer.d.ts +3 -3
- package/Viewer/DocViewer.d.ts.map +1 -1
- package/{_error-Dv3y3K7K.js → _error-e2DvTR_-.js} +2 -2
- package/{alert-qftwzQkR.js → alert-CiDph-qI.js} +3 -3
- package/{angle-UUTcN8oF.js → angle-BO-faJS7.js} +6 -6
- package/{answer-Bii5qekA.js → answer-BAfMeEuz.js} +5 -5
- package/{asList-Ba1b-RQz.js → asList-kgA-OT8n.js} +2 -2
- package/{blockQuote-BNGUsTvq.js → blockQuote-CItqFOqX.js} +3 -3
- package/{boolean-DdJAN0Wj.js → boolean-BCSLGpJu.js} +2 -2
- package/{booleanInput-pGsleBwA.js → booleanInput-u3Zps6Fb.js} +6 -6
- package/{br-HeM1uiuL.js → br-KYVD8qcq.js} +2 -2
- package/{button-Dse_LVs3.js → button-w7VVe654.js} +4 -4
- package/{c-BXRH1CGu.js → c-BSP1SVSx.js} +3 -3
- package/{cell-CKsAJnvF.js → cell-CB0DzYcL.js} +3 -3
- package/{choiceInput-WwfqN9PT.js → choiceInput-rMXvVgk1.js} +4 -4
- package/{circle-D2-o-6rB.js → circle-BeLDrQ8q.js} +5 -5
- package/{cobwebPolyline-9s0qjKfb.js → cobwebPolyline-BTmHg_rW.js} +4 -4
- package/{codeEditor-C8qCHYcN.js → codeEditor-Ct5C8db2.js} +2 -2
- package/{composites-PoQCH1tu.js → composites-Dm300CeM.js} +1 -1
- package/{containerBlock-CDPdoiUk.js → containerBlock-DIy2KB5D.js} +4 -4
- package/{containerInline-DWNXbggn.js → containerInline-BmxKUHqq.js} +4 -4
- package/{curve-eYpKIBpe.js → curve-DmoNrVfA.js} +4 -4
- package/{doenetml-DwVGzot9.js → doenetml-BKWgWWIN.js} +12 -12
- package/doenetml-external-worker.js +2 -2
- package/doenetml-inline-worker.js +2 -2
- package/doenetml.d.ts +3 -3
- package/doenetml.d.ts.map +1 -1
- package/{ellipsis-CAGTA6z2.js → ellipsis-scY2XC69.js} +2 -2
- package/{em-C0FdhDCz.js → em-Dnuk5NWT.js} +3 -3
- package/{embed-Dk0DivWT.js → embed-Cp--9Yfg.js} +2 -2
- package/{feedback-hnjlFlCn.js → feedback-c_A4BreS.js} +4 -4
- package/{figure-CJvLtawF.js → figure-jTKaDOz3.js} +3 -3
- package/{fillPatterns-3SYnY-mu.js → fillPatterns-D3zaP49I.js} +1 -1
- package/{footnote-lZ_ap3m0.js → footnote-CUHggjY3.js} +3 -3
- package/{fractionInput-CnrOmebk.js → fractionInput-DETXKhQJ.js} +4 -4
- package/{graph-BOVjIBkv.js → graph-CIVVSnH7.js} +6 -6
- package/{hint-CdTvllaR.js → hint-CdmNr5z6.js} +4 -4
- package/{hr-CKx6WFfA.js → hr-D_9e0dVs.js} +2 -2
- package/{image-DF1e3gBY.js → image-BE89vcic.js} +13 -13
- package/{index-DiqrlWt_.js → index-BG3VxTKI.js} +1 -1
- package/{index.es-B7v-ftBX.js → index.es-75dsQOf4.js} +1 -1
- package/index.js +1 -1
- package/{label-COuyHxho.js → label-_U3xA-Bt.js} +6 -6
- package/{labelWithLatex-DqB7KB1l.js → labelWithLatex-BdorE1Ba.js} +1 -1
- package/{legend-lnTNbl5O.js → legend-CZGk-DEr.js} +4 -4
- package/{line-B2ZIsMVO.js → line-DB_1uxnA.js} +5 -5
- package/{lineSegment-AuLQFFTf.js → lineSegment-Bo4V-Ids.js} +4 -4
- package/{list-Bia5LyEn.js → list-BbIsQlsb.js} +4 -4
- package/{lq-DglxtTXO.js → lq-BwD76zkS.js} +2 -2
- package/{lsq-BL88a_2B.js → lsq-C7B2cqLf.js} +2 -2
- package/{markupRenderer-CLJTJyjo.js → markupRenderer-Say_o9uX.js} +1 -1
- package/{math-Cr8ELqXA.js → math-DU-09uBw.js} +6 -6
- package/{mathInput-UM9D8TWH.js → mathInput-B7nN2ol0.js} +7 -7
- package/{matrixInput-DPy2fjC2.js → matrixInput-C3JylJ_O.js} +4 -4
- package/{mdash-BrXvZFZW.js → mdash-D3PcaUii.js} +2 -2
- package/{nbsp-CmNqRa0Z.js → nbsp-B_XH-l5k.js} +2 -2
- package/{ndash-BuBqvd3D.js → ndash-DaNmR36W.js} +2 -2
- package/{number-brKf5_lQ.js → number-YvxsR4BL.js} +6 -6
- package/{orbitalDiagram-Z4cQ6Ast.js → orbitalDiagram-CmTWXDzB.js} +2 -2
- package/{orbitalDiagramInput-BgnudlTs.js → orbitalDiagramInput-Cy_7ng8s.js} +2 -2
- package/{p-Dccth0Y8.js → p-DA_rzyWJ.js} +4 -4
- package/package.json +1 -1
- package/{paginatorControls-CP6rXaxY.js → paginatorControls-BBPqx8C9.js} +2 -2
- package/{pegboard-DZMSSBlT.js → pegboard-CRZQVxuV.js} +4 -4
- package/{point-BHQL9whs.js → point-ByEbaxWn.js} +5 -5
- package/{polygon-C3gRq3lr.js → polygon-BmdkJEts.js} +5 -5
- package/{polyline-CapD6H0s.js → polyline-CvqkWn7E.js} +4 -4
- package/{pre-B47XWP9R.js → pre-1IrMFXkg.js} +3 -3
- package/{prefigure-BIOBm0pX.js → prefigure-lmP6VsjT.js} +1 -1
- package/{pretzel-CvBXHL4F.js → pretzel-D6WX7Z_y.js} +4 -4
- package/{q-B4Bw0eRj.js → q-kRzKxy6K.js} +3 -3
- package/{ray-Csj6QJsa.js → ray-DgnftbwK.js} +4 -4
- package/{ref-DF5cFvXi.js → ref-ChyMLX-H.js} +2 -2
- package/{regionBetweenCurveXAxis-LmWqgEN_.js → regionBetweenCurveXAxis-BBAp-W44.js} +5 -5
- package/{regionBetweenCurves-BGHo5IFb.js → regionBetweenCurves-FuodCBzl.js} +5 -5
- package/{row-Bye03Sfl.js → row-CBcYGCtp.js} +2 -2
- package/{rq-CdSpxck-.js → rq-qOWxtmZg.js} +2 -2
- package/{rsq-BqpQnyUt.js → rsq-C70_1w-v.js} +2 -2
- package/{section-poJfDakY.js → section-5EiCWYMD.js} +5 -5
- package/{sha256-C0vj3HDn-CKFHJG80.js → sha256-C0vj3HDn-CCgktFhW.js} +1 -1
- package/{sideBySide-BhcZrtew.js → sideBySide-BjpdpZxA.js} +2 -2
- package/{slider-DlSJnGx1.js → slider-C8-N3Zwb.js} +3 -3
- package/{solution-B5gQIHsm.js → solution-nJ9QkZ6m.js} +4 -4
- package/{spreadsheet-CrBP9FVJ.js → spreadsheet-UGkznEIk.js} +2 -2
- package/{sq-BPRxkfgW.js → sq-D7ffIkkq.js} +3 -3
- package/{subsetOfRealsInput-Q-yLrGLQ.js → subsetOfRealsInput-Dx1x79Fj.js} +2 -2
- package/{summaryStatistics-DKKgQXYq.js → summaryStatistics-CywLC3ub.js} +2 -2
- package/{table-BbXbBdh2.js → table-BhOldp85.js} +2 -2
- package/{tabular-D92xWG53.js → tabular-CHpPJUMK.js} +2 -2
- package/{tag-pcYpct-k.js → tag-M3xzh0Ga.js} +2 -2
- package/{text-fs9mBTCy.js → text-B5WNf0j4.js} +6 -6
- package/{textInput-C_iOjHKi.js → textInput-CAZzwrlH.js} +6 -6
- package/{tooltip-provider-DdZSs--a.js → tooltip-provider-DCm__NtM.js} +1 -1
- package/{useAnchoredGraphDragHandler-BLDxjQN8.js → useAnchoredGraphDragHandler-C6vmBXIi.js} +1 -1
- package/useDoenetRenderer-D_88xSdj.js +114 -0
- package/{useSubmitActionWithDelay-tDgqA8p7.js → useSubmitActionWithDelay-DFazHOZj.js} +2 -2
- package/{vector-CfpLhVsK.js → vector-WRgenjlW.js} +5 -5
- package/{video-OzeGhKKU.js → video-oFHacN2c.js} +4 -4
- package/useDoenetRenderer-Ckl_iPzm.js +0 -114
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { l as DocContext, k as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { l as DocContext, k as jsxRuntimeExports } from "./doenetml-BKWgWWIN.js";
|
|
2
2
|
import React__default, { useContext, useRef } from "react";
|
|
3
|
-
import { r as removeJXGEventHandlers, j as jxg, g as syncVisPropValues, s as syncLayer, f as syncLabelStrokeColor, b as syncLabelMaskCssStyle, e as syncLineStrokeStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-
|
|
4
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
5
|
-
import { BoardContext, LINE_LAYER_OFFSET, VERTEX_LAYER_OFFSET } from "./graph-
|
|
3
|
+
import { r as removeJXGEventHandlers, j as jxg, g as syncVisPropValues, s as syncLayer, f as syncLabelStrokeColor, b as syncLabelMaskCssStyle, e as syncLineStrokeStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-ClyyL_2A.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-D_88xSdj.js";
|
|
5
|
+
import { BoardContext, LINE_LAYER_OFFSET, VERTEX_LAYER_OFFSET } from "./graph-CIVVSnH7.js";
|
|
6
6
|
import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-DV6a8Wvg.js";
|
|
7
7
|
import { p as pointerEventToUserCoords } from "./dragThreshold-DuSSFrIU.js";
|
|
8
8
|
import { a as resolveLineColor, r as resolveFillColor, c as resolveHandleColor } from "./styleColors-DH1y_fdG.js";
|
|
@@ -10,7 +10,7 @@ import { s as styleToDash } from "./styleToDash-DWb71gbd.js";
|
|
|
10
10
|
import { u as useDraggableRefs, a as useJSXGraphCleanup } from "./useJSXGraphCleanup-CX91oVW8.js";
|
|
11
11
|
import { a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-tcr76K44.js";
|
|
12
12
|
import { c as buildBaseAttributes } from "./buildGraphicalAttributes-WXpVD4ud.js";
|
|
13
|
-
import { g as getPatternFillAttributes } from "./fillPatterns-
|
|
13
|
+
import { g as getPatternFillAttributes } from "./fillPatterns-D3zaP49I.js";
|
|
14
14
|
const polygon = React__default.memo(function Polygon(props) {
|
|
15
15
|
let { componentIdx, id, SVs, actions, sourceOfUpdate, callAction } = useDoenetRenderer(props);
|
|
16
16
|
Polygon.ignoreActionsWithoutCore = () => true;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { l as DocContext, k as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { l as DocContext, k as jsxRuntimeExports } from "./doenetml-BKWgWWIN.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-
|
|
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-ClyyL_2A.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-D_88xSdj.js";
|
|
5
|
+
import { BoardContext, VERTEX_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-CIVVSnH7.js";
|
|
6
6
|
import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-DV6a8Wvg.js";
|
|
7
7
|
import { p as pointerEventToUserCoords } from "./dragThreshold-DuSSFrIU.js";
|
|
8
8
|
import { a as resolveLineColor, c as resolveHandleColor } from "./styleColors-DH1y_fdG.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { u as useRecordVisibilityChanges, k as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useRecordVisibilityChanges, k as jsxRuntimeExports } from "./doenetml-BKWgWWIN.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_88xSdj.js";
|
|
4
|
+
import { a as addCommasForCompositeRanges } from "./composites-Dm300CeM.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 { k as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { k as jsxRuntimeExports } from "./doenetml-BKWgWWIN.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 useRecordVisibilityChanges, l as DocContext, k as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useRecordVisibilityChanges, l as DocContext, k as jsxRuntimeExports } from "./doenetml-BKWgWWIN.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_88xSdj.js";
|
|
4
|
+
import { A as AnswerResponseButton } from "./AnswerResponseButton-Gvhmmj9A.js";
|
|
5
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-DFazHOZj.js";
|
|
6
6
|
const pretzel = React__default.memo(function Pretzel(props) {
|
|
7
7
|
let {
|
|
8
8
|
componentIdx,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { k as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { k as jsxRuntimeExports } from "./doenetml-BKWgWWIN.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_88xSdj.js";
|
|
4
|
+
import { r as renderMarkupBody } from "./markupRenderer-Say_o9uX.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,8 +1,8 @@
|
|
|
1
|
-
import { l as DocContext, k as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { l as DocContext, k as jsxRuntimeExports } from "./doenetml-BKWgWWIN.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-
|
|
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-ClyyL_2A.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-D_88xSdj.js";
|
|
5
|
+
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-CIVVSnH7.js";
|
|
6
6
|
import { a as buildLineLikeAttributes } from "./buildGraphicalAttributes-WXpVD4ud.js";
|
|
7
7
|
import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-DV6a8Wvg.js";
|
|
8
8
|
import { p as pointerEventToUserCoords } from "./dragThreshold-DuSSFrIU.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { l as DocContext, k as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { l as DocContext, k as jsxRuntimeExports } from "./doenetml-BKWgWWIN.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_88xSdj.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 { l as DocContext, q as createFunctionFromDefinition, k as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { l as DocContext, q as createFunctionFromDefinition, k as jsxRuntimeExports } from "./doenetml-BKWgWWIN.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-ClyyL_2A.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-D_88xSdj.js";
|
|
5
|
+
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-CIVVSnH7.js";
|
|
6
|
+
import { g as getPatternFillAttributes } from "./fillPatterns-D3zaP49I.js";
|
|
7
7
|
const regionBetweenCurveXAxis = React__default.memo(function RegionBetweenCurveXAxis(props) {
|
|
8
8
|
let { id, SVs } = useDoenetRenderer(props);
|
|
9
9
|
RegionBetweenCurveXAxis.ignoreActionsWithoutCore = () => true;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { l as DocContext, q as createFunctionFromDefinition, k as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { l as DocContext, q as createFunctionFromDefinition, k as jsxRuntimeExports } from "./doenetml-BKWgWWIN.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_88xSdj.js";
|
|
4
|
+
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-CIVVSnH7.js";
|
|
5
5
|
import { s as styleToDash } from "./styleToDash-DWb71gbd.js";
|
|
6
|
-
import { g as getPatternFillAttributes } from "./fillPatterns-
|
|
7
|
-
import { b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-
|
|
6
|
+
import { g as getPatternFillAttributes } from "./fillPatterns-D3zaP49I.js";
|
|
7
|
+
import { b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-ClyyL_2A.js";
|
|
8
8
|
const regionBetweenCurves = React__default.memo(function RegionBetweenCurves(props) {
|
|
9
9
|
let { id, SVs } = useDoenetRenderer(props);
|
|
10
10
|
RegionBetweenCurves.ignoreActionsWithoutCore = () => true;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { k as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { k as jsxRuntimeExports } from "./doenetml-BKWgWWIN.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-D_88xSdj.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 { k as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { k as jsxRuntimeExports } from "./doenetml-BKWgWWIN.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-D_88xSdj.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 { k as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { k as jsxRuntimeExports } from "./doenetml-BKWgWWIN.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-D_88xSdj.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 { l as DocContext, p as cesc, u as useRecordVisibilityChanges, k as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { l as DocContext, p as cesc, u as useRecordVisibilityChanges, k as jsxRuntimeExports } from "./doenetml-BKWgWWIN.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-75dsQOf4.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_88xSdj.js";
|
|
6
|
+
import { a as addCommasForCompositeRanges } from "./composites-Dm300CeM.js";
|
|
7
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-DFazHOZj.js";
|
|
8
8
|
const section = React__default.memo(function Section(props) {
|
|
9
9
|
let { id, SVs, children, actions, callAction } = useDoenetRenderer(props);
|
|
10
10
|
const { darkMode } = useContext(DocContext) || {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { u as useRecordVisibilityChanges, k as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useRecordVisibilityChanges, k as jsxRuntimeExports } from "./doenetml-BKWgWWIN.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-D_88xSdj.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 { k as jsxRuntimeExports, E as ActionButtonGroup, F as ActionButton, o as Context } from "./doenetml-
|
|
1
|
+
import { k as jsxRuntimeExports, E as ActionButtonGroup, F as ActionButton, o as Context } from "./doenetml-BKWgWWIN.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_88xSdj.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-BdorE1Ba.js";
|
|
6
6
|
let round_to_decimals = (x, n) => {
|
|
7
7
|
try {
|
|
8
8
|
return Context.round_numbers_to_decimals(x, n).tree;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { u as useRecordVisibilityChanges, k as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useRecordVisibilityChanges, k as jsxRuntimeExports } from "./doenetml-BKWgWWIN.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_88xSdj.js";
|
|
4
|
+
import { F as FontAwesomeIcon } from "./index.es-75dsQOf4.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-Dm300CeM.js";
|
|
7
7
|
const solution = React__default.memo(function Solution(props) {
|
|
8
8
|
let { id, SVs, children, actions, callAction } = useDoenetRenderer(props);
|
|
9
9
|
const ref = useRef(null);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { l as DocContext, u as useRecordVisibilityChanges, k as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { l as DocContext, u as useRecordVisibilityChanges, k as jsxRuntimeExports } from "./doenetml-BKWgWWIN.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_88xSdj.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 { k as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { k as jsxRuntimeExports } from "./doenetml-BKWgWWIN.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_88xSdj.js";
|
|
4
|
+
import { r as renderMarkupBody } from "./markupRenderer-Say_o9uX.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 useRecordVisibilityChanges, k as jsxRuntimeExports, G as ToggleButtonGroup, T as ToggleButton, E as ActionButtonGroup, F as ActionButton } from "./doenetml-
|
|
1
|
+
import { u as useRecordVisibilityChanges, k as jsxRuntimeExports, G as ToggleButtonGroup, T as ToggleButton, E as ActionButtonGroup, F as ActionButton } from "./doenetml-BKWgWWIN.js";
|
|
2
2
|
import React__default, { useState, useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-D_88xSdj.js";
|
|
4
4
|
const subsetOfRealsInput = React__default.memo(function subsetOfReals(props) {
|
|
5
5
|
let { id, SVs, actions, callAction } = useDoenetRenderer(props, false);
|
|
6
6
|
let [mode, setMode] = useState("add remove points");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { u as useRecordVisibilityChanges, k as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useRecordVisibilityChanges, k as jsxRuntimeExports } from "./doenetml-BKWgWWIN.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-D_88xSdj.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 { u as useRecordVisibilityChanges, k as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useRecordVisibilityChanges, k as jsxRuntimeExports } from "./doenetml-BKWgWWIN.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-D_88xSdj.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 { u as useRecordVisibilityChanges, k as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useRecordVisibilityChanges, k as jsxRuntimeExports } from "./doenetml-BKWgWWIN.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-D_88xSdj.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 { k as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { k as jsxRuntimeExports } from "./doenetml-BKWgWWIN.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-D_88xSdj.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 { l as DocContext, o as Context, k as jsxRuntimeExports, t as textRendererStyle } from "./doenetml-
|
|
1
|
+
import { l as DocContext, o as Context, k as jsxRuntimeExports, t as textRendererStyle } from "./doenetml-BKWgWWIN.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-ClyyL_2A.js";
|
|
4
|
+
import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-CIVVSnH7.js";
|
|
5
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-D_88xSdj.js";
|
|
6
6
|
import { g as getPositionFromAnchorByCoordinate } from "./graph-W6vrFcBu.js";
|
|
7
|
-
import { ChoiceInputInlineContext } from "./choiceInput-
|
|
7
|
+
import { ChoiceInputInlineContext } from "./choiceInput-rMXvVgk1.js";
|
|
8
8
|
import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-DV6a8Wvg.js";
|
|
9
9
|
import { u as useDraggableRefs, a as useJSXGraphCleanup } from "./useJSXGraphCleanup-CX91oVW8.js";
|
|
10
|
-
import { d as detachAnchoredGraphElement, a as attachAnchoredGraphDragHandlers } from "./useAnchoredGraphDragHandler-
|
|
10
|
+
import { d as detachAnchoredGraphElement, a as attachAnchoredGraphDragHandlers } from "./useAnchoredGraphDragHandler-C6vmBXIi.js";
|
|
11
11
|
const text = React__default.memo(function Text(props) {
|
|
12
12
|
let { componentIdx, id, SVs, actions, callAction } = useDoenetRenderer(props);
|
|
13
13
|
Text.ignoreActionsWithoutCore = () => true;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { o as Context, k as jsxRuntimeExports, M as MathJax } from "./doenetml-
|
|
1
|
+
import { o as Context, k as jsxRuntimeExports, M as MathJax } from "./doenetml-BKWgWWIN.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-ClyyL_2A.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-D_88xSdj.js";
|
|
5
5
|
import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
|
|
6
|
-
import { BoardContext } from "./graph-
|
|
6
|
+
import { BoardContext } from "./graph-CIVVSnH7.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-DFazHOZj.js";
|
|
9
|
+
import { D as DescriptionPopover } from "./Description-B0pkxmYM.js";
|
|
10
10
|
import { a as addValidationStateToShortDescription } from "./validationState-CVwSJZpB.js";
|
|
11
11
|
function TextInput(props) {
|
|
12
12
|
let { id, SVs, children, actions, ignoreUpdate, callAction } = useDoenetRenderer(props);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a4 as createStoreContext, a5 as HovercardScopedContextProvider, a6 as HovercardContextProvider, a7 as createDialogComponent, J as forwardRef, K as createElement, L as createHook, O as invariant, a8 as useWrapElement, k as jsxRuntimeExports, P as useStoreState, a9 as useHovercard, aa as isFalsyBooleanCallback, ab as contains, ac as sync, ad as chain, ae as useEvent, af as useHovercardAnchor, ag as createStore, ah as createHovercardStore, ai as defaultValue, aj as useStore, ak as useStoreProps, al as useHovercardStoreProps } from "./doenetml-
|
|
1
|
+
import { a4 as createStoreContext, a5 as HovercardScopedContextProvider, a6 as HovercardContextProvider, a7 as createDialogComponent, J as forwardRef, K as createElement, L as createHook, O as invariant, a8 as useWrapElement, k as jsxRuntimeExports, P as useStoreState, a9 as useHovercard, aa as isFalsyBooleanCallback, ab as contains, ac as sync, ad as chain, ae as useEvent, af as useHovercardAnchor, ag as createStore, ah as createHovercardStore, ai as defaultValue, aj as useStore, ak as useStoreProps, al as useHovercardStoreProps } from "./doenetml-BKWgWWIN.js";
|
|
2
2
|
import { useRef, useEffect } from "react";
|
|
3
3
|
const ctx = createStoreContext([HovercardContextProvider], [HovercardScopedContextProvider]);
|
|
4
4
|
const useTooltipProviderContext = ctx.useProviderContext;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as removeJXGEventHandlers, L as LINE_FAMILY_EVENTS, j as jxg } from "./JSXGraphRenderer-
|
|
1
|
+
import { r as removeJXGEventHandlers, L as LINE_FAMILY_EVENTS, j as jxg } from "./JSXGraphRenderer-ClyyL_2A.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 { w as useAppSelector, x as mainSlice, y as renderersLoadComponent, _ as __variableDynamicImportRuntimeHelper } from "./doenetml-BKWgWWIN.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-ZF35-YCf.js"), "./renderers/JSXGraphRenderer.tsx": () => import("./JSXGraphRenderer-ClyyL_2A.js").then((n) => n.m), "./renderers/_error.tsx": () => import("./_error-e2DvTR_-.js"), "./renderers/alert.tsx": () => import("./alert-CiDph-qI.js"), "./renderers/angle.tsx": () => import("./angle-BO-faJS7.js"), "./renderers/answer.tsx": () => import("./answer-BAfMeEuz.js"), "./renderers/asList.tsx": () => import("./asList-kgA-OT8n.js"), "./renderers/blockQuote.tsx": () => import("./blockQuote-CItqFOqX.js"), "./renderers/boolean.tsx": () => import("./boolean-BCSLGpJu.js"), "./renderers/booleanInput.tsx": () => import("./booleanInput-u3Zps6Fb.js"), "./renderers/br.tsx": () => import("./br-KYVD8qcq.js"), "./renderers/button.tsx": () => import("./button-w7VVe654.js"), "./renderers/c.tsx": () => import("./c-BSP1SVSx.js"), "./renderers/cell.tsx": () => import("./cell-CB0DzYcL.js"), "./renderers/choiceInput.tsx": () => import("./choiceInput-rMXvVgk1.js"), "./renderers/circle.tsx": () => import("./circle-BeLDrQ8q.js"), "./renderers/cobwebPolyline.tsx": () => import("./cobwebPolyline-BTmHg_rW.js"), "./renderers/codeEditor.tsx": () => import("./codeEditor-Ct5C8db2.js"), "./renderers/containerBlock.tsx": () => import("./containerBlock-DIy2KB5D.js"), "./renderers/containerInline.tsx": () => import("./containerInline-BmxKUHqq.js"), "./renderers/curve.tsx": () => import("./curve-DmoNrVfA.js"), "./renderers/ellipsis.tsx": () => import("./ellipsis-scY2XC69.js"), "./renderers/em.tsx": () => import("./em-Dnuk5NWT.js"), "./renderers/embed.tsx": () => import("./embed-Cp--9Yfg.js"), "./renderers/feedback.tsx": () => import("./feedback-c_A4BreS.js"), "./renderers/figure.tsx": () => import("./figure-jTKaDOz3.js"), "./renderers/footnote.tsx": () => import("./footnote-CUHggjY3.js"), "./renderers/fractionInput.tsx": () => import("./fractionInput-DETXKhQJ.js"), "./renderers/graph.tsx": () => import("./graph-CIVVSnH7.js"), "./renderers/hint.tsx": () => import("./hint-CdmNr5z6.js"), "./renderers/hr.tsx": () => import("./hr-D_9e0dVs.js"), "./renderers/image.tsx": () => import("./image-BE89vcic.js"), "./renderers/label.tsx": () => import("./label-_U3xA-Bt.js"), "./renderers/legend.tsx": () => import("./legend-CZGk-DEr.js"), "./renderers/line.tsx": () => import("./line-DB_1uxnA.js"), "./renderers/lineSegment.tsx": () => import("./lineSegment-Bo4V-Ids.js"), "./renderers/list.tsx": () => import("./list-BbIsQlsb.js"), "./renderers/lq.tsx": () => import("./lq-BwD76zkS.js"), "./renderers/lsq.tsx": () => import("./lsq-C7B2cqLf.js"), "./renderers/math.tsx": () => import("./math-DU-09uBw.js"), "./renderers/mathInput.tsx": () => import("./mathInput-B7nN2ol0.js"), "./renderers/matrixInput.tsx": () => import("./matrixInput-C3JylJ_O.js"), "./renderers/mdash.tsx": () => import("./mdash-D3PcaUii.js"), "./renderers/nbsp.tsx": () => import("./nbsp-B_XH-l5k.js"), "./renderers/ndash.tsx": () => import("./ndash-DaNmR36W.js"), "./renderers/number.tsx": () => import("./number-YvxsR4BL.js"), "./renderers/orbitalDiagram.tsx": () => import("./orbitalDiagram-CmTWXDzB.js"), "./renderers/orbitalDiagramInput.tsx": () => import("./orbitalDiagramInput-Cy_7ng8s.js"), "./renderers/p.tsx": () => import("./p-DA_rzyWJ.js"), "./renderers/paginatorControls.tsx": () => import("./paginatorControls-BBPqx8C9.js"), "./renderers/pegboard.tsx": () => import("./pegboard-CRZQVxuV.js"), "./renderers/point.tsx": () => import("./point-ByEbaxWn.js"), "./renderers/polygon.tsx": () => import("./polygon-BmdkJEts.js"), "./renderers/polyline.tsx": () => import("./polyline-CvqkWn7E.js"), "./renderers/pre.tsx": () => import("./pre-1IrMFXkg.js"), "./renderers/prefigure.tsx": () => import("./prefigure-lmP6VsjT.js"), "./renderers/pretzel.tsx": () => import("./pretzel-D6WX7Z_y.js"), "./renderers/q.tsx": () => import("./q-kRzKxy6K.js"), "./renderers/ray.tsx": () => import("./ray-DgnftbwK.js"), "./renderers/ref.tsx": () => import("./ref-ChyMLX-H.js"), "./renderers/regionBetweenCurveXAxis.tsx": () => import("./regionBetweenCurveXAxis-BBAp-W44.js"), "./renderers/regionBetweenCurves.tsx": () => import("./regionBetweenCurves-FuodCBzl.js"), "./renderers/row.tsx": () => import("./row-CBcYGCtp.js"), "./renderers/rq.tsx": () => import("./rq-qOWxtmZg.js"), "./renderers/rsq.tsx": () => import("./rsq-C70_1w-v.js"), "./renderers/section.tsx": () => import("./section-5EiCWYMD.js"), "./renderers/sideBySide.tsx": () => import("./sideBySide-BjpdpZxA.js"), "./renderers/slider.tsx": () => import("./slider-C8-N3Zwb.js"), "./renderers/solution.tsx": () => import("./solution-nJ9QkZ6m.js"), "./renderers/spreadsheet.tsx": () => import("./spreadsheet-UGkznEIk.js"), "./renderers/sq.tsx": () => import("./sq-D7ffIkkq.js"), "./renderers/subsetOfRealsInput.tsx": () => import("./subsetOfRealsInput-Dx1x79Fj.js"), "./renderers/summaryStatistics.tsx": () => import("./summaryStatistics-CywLC3ub.js"), "./renderers/table.tsx": () => import("./table-BhOldp85.js"), "./renderers/tabular.tsx": () => import("./tabular-CHpPJUMK.js"), "./renderers/tag.tsx": () => import("./tag-M3xzh0Ga.js"), "./renderers/text.tsx": () => import("./text-B5WNf0j4.js"), "./renderers/textInput.tsx": () => import("./textInput-CAZzwrlH.js"), "./renderers/vector.tsx": () => import("./vector-WRgenjlW.js"), "./renderers/video.tsx": () => import("./video-oFHacN2c.js") }), `./renderers/${childInstructions.rendererType}.tsx`, 3);
|
|
71
|
+
}
|
|
72
|
+
return rendererLoaders;
|
|
73
|
+
});
|
|
74
|
+
}
|
|
75
|
+
return null;
|
|
76
|
+
}
|
|
77
|
+
let child = React__default.createElement(rendererClass, propsForChild);
|
|
78
|
+
return child;
|
|
79
|
+
}
|
|
80
|
+
let rendererType = props.componentInstructions.rendererType;
|
|
81
|
+
const callAction = (argObj) => {
|
|
82
|
+
if (!argObj.componentIdx) {
|
|
83
|
+
argObj = { ...argObj };
|
|
84
|
+
argObj.componentIdx = componentIdx;
|
|
85
|
+
}
|
|
86
|
+
if (!argObj.rendererType) {
|
|
87
|
+
argObj = { ...argObj };
|
|
88
|
+
argObj.rendererType = rendererType;
|
|
89
|
+
}
|
|
90
|
+
return props.callAction(argObj);
|
|
91
|
+
};
|
|
92
|
+
return {
|
|
93
|
+
componentIdx: effectiveIdx,
|
|
94
|
+
id: prefixForIds + id,
|
|
95
|
+
SVs: stateValues,
|
|
96
|
+
docId: props.docId,
|
|
97
|
+
activityId: props.activityId,
|
|
98
|
+
actions,
|
|
99
|
+
children,
|
|
100
|
+
sourceOfUpdate,
|
|
101
|
+
ignoreUpdate,
|
|
102
|
+
rendererName,
|
|
103
|
+
initializeChildren: () => {
|
|
104
|
+
},
|
|
105
|
+
callAction,
|
|
106
|
+
doenetViewerUrl: props.doenetViewerUrl,
|
|
107
|
+
fetchExternalDoenetML: props.fetchExternalDoenetML,
|
|
108
|
+
requestScrollTo: props.requestScrollTo,
|
|
109
|
+
flags: props.flags
|
|
110
|
+
};
|
|
111
|
+
}
|
|
112
|
+
export {
|
|
113
|
+
useDoenetRenderer as u
|
|
114
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { k as jsxRuntimeExports } from "./doenetml-
|
|
2
|
-
import { F as FontAwesomeIcon } from "./index.es-
|
|
1
|
+
import { k as jsxRuntimeExports } from "./doenetml-BKWgWWIN.js";
|
|
2
|
+
import { F as FontAwesomeIcon } from "./index.es-75dsQOf4.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,9 +1,9 @@
|
|
|
1
|
-
import { l as DocContext, k as jsxRuntimeExports, t as textRendererStyle, n as DynamicMath } from "./doenetml-
|
|
1
|
+
import { l as DocContext, k as jsxRuntimeExports, t as textRendererStyle, n as DynamicMath } from "./doenetml-BKWgWWIN.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 { 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-ClyyL_2A.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-D_88xSdj.js";
|
|
5
|
+
import { BoardContext, VERTEX_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-CIVVSnH7.js";
|
|
6
|
+
import { ChoiceInputInlineContext } from "./choiceInput-rMXvVgk1.js";
|
|
7
7
|
import { a as buildLineLikeAttributes } from "./buildGraphicalAttributes-WXpVD4ud.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,10 +1,10 @@
|
|
|
1
|
-
import { u as useRecordVisibilityChanges, k as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useRecordVisibilityChanges, k as jsxRuntimeExports } from "./doenetml-BKWgWWIN.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_88xSdj.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-B0pkxmYM.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-ULod_asW.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;
|