@doenet/doenetml 0.7.21-dev.357 → 0.7.21-dev.358
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-BUWDf5gB.js → AnswerResponseButton-JYNlzkGq.js} +2 -2
- package/{Description-oYqbUHCk.js → Description-CE-Le0RD.js} +1 -1
- package/{GraphFrame-fD-JBa-a.js → GraphFrame-C3zDGocR.js} +2 -2
- package/{JSXGraphRenderer-BH-weGZc.js → JSXGraphRenderer-CTq64gR-.js} +1 -1
- package/{NonInlineMediaWrapper-UaqOejns.js → NonInlineMediaWrapper-CgFiTRnJ.js} +1 -1
- package/Viewer/renderers/point.d.ts.map +1 -1
- package/{_error-CjnBhbtJ.js → _error-CnLcxATu.js} +2 -2
- package/{alert-DpI7EFgu.js → alert-Db4aC10G.js} +3 -3
- package/{angle-DjgnBQYn.js → angle-D43_zdMY.js} +6 -6
- package/{answer-CFAS9E55.js → answer-DiW6RXpD.js} +5 -5
- package/{asList-BZP2k1uh.js → asList-BRwE6eI4.js} +2 -2
- package/{blockQuote-CPLUKwA7.js → blockQuote-CXg8J5-u.js} +3 -3
- package/{boolean-RJa3YJzG.js → boolean-CaJ8UPwE.js} +2 -2
- package/{booleanInput-BSnr2quB.js → booleanInput-Dv72WzES.js} +6 -6
- package/{br-BeczvxMy.js → br-BtTfVSCj.js} +2 -2
- package/{button-DZcNHrTV.js → button-Wv2D2BBS.js} +4 -4
- package/{c-DjhWiCRs.js → c-D5L0hW6D.js} +3 -3
- package/{cell-DPx62HKI.js → cell-ZqAY_DWt.js} +3 -3
- package/{choiceInput-DVfUsy-e.js → choiceInput-B39a2NNe.js} +4 -4
- package/{circle-BNuS0l7k.js → circle-EEo6x-bu.js} +6 -6
- package/{cobwebPolyline-C8mdiF4q.js → cobwebPolyline-DDodwTMb.js} +4 -4
- package/{codeEditor-CDXYxRSH.js → codeEditor-nACZ-vUG.js} +2 -2
- package/{composites-BMvJ0X8Y.js → composites-DVNqGtcR.js} +1 -1
- package/{containerBlock-DmvT2Kpe.js → containerBlock-bzJe7N65.js} +4 -4
- package/{containerInline-imEzmRSQ.js → containerInline-BqK-JqQ9.js} +4 -4
- package/{curve-DKCGCl2Y.js → curve-DGxfPoJp.js} +4 -4
- package/{doenetml-B-4ueCYT.js → doenetml-BZ2IOVwF.js} +4 -4
- package/doenetml-external-worker.js +2 -2
- package/doenetml-inline-worker.js +2 -2
- package/{ellipsis-DG9jiYyW.js → ellipsis-DRtDPKY2.js} +2 -2
- package/{em-BXBfYwO-.js → em-CTrrMRYF.js} +3 -3
- package/{embed-BqECMiI5.js → embed-DPMU0k4x.js} +2 -2
- package/{feedback-wxmKfXZm.js → feedback-DdQXhoCg.js} +4 -4
- package/{figure-Cv93zX_u.js → figure-CpwKqqOY.js} +3 -3
- package/{fillPatterns-C26_a5hz.js → fillPatterns-DdhTFHvr.js} +1 -1
- package/{footnote-p6EHTQ4e.js → footnote-BbDzfNrT.js} +3 -3
- package/{fractionInput-BPs4GseP.js → fractionInput-C_uqv4O1.js} +4 -4
- package/{graph-YRC8IFwc.js → graph-BaSjQ4gr.js} +6 -6
- package/{hint-Bv90mx7l.js → hint-DAZsBiyZ.js} +4 -4
- package/{hr-CqsNf4Y2.js → hr-D_p2cfz7.js} +2 -2
- package/{image-ChA_lvIB.js → image-BxdVEN58.js} +7 -7
- package/{index-CKKWAAey.js → index-DmwCFOM7.js} +1 -1
- package/{index.es-CF_og-5D.js → index.es-CKku3jzW.js} +1 -1
- package/index.js +1 -1
- package/{label-BWw9eQKv.js → label-C8yDgN3L.js} +6 -6
- package/{labelWithLatex-DGH4YBRf.js → labelWithLatex-C-JYpeVS.js} +1 -1
- package/{legend-DdZLlqtj.js → legend-BBtS509t.js} +4 -4
- package/{line-v_CKbEXH.js → line-5Uj0t1JV.js} +6 -6
- package/{lineFamilyDragHandlers-B59-03J4.js → lineFamilyDragHandlers-JFlrt_vk.js} +1 -1
- package/{lineSegment-Bo5mZ3dA.js → lineSegment-DvR97b9k.js} +5 -5
- package/{list-BFZHJoGM.js → list-C-SyBHp-.js} +4 -4
- package/{lq-D14sSCKP.js → lq-Bi15V0PQ.js} +2 -2
- package/{lsq-JcU6_kh8.js → lsq-bRQLQ98P.js} +2 -2
- package/{markupRenderer-CbS9p0Mf.js → markupRenderer-BNKR9tLe.js} +1 -1
- package/{math-DYNDXQCv.js → math-DLHSWEyw.js} +6 -6
- package/{mathInput-DbAAwLTn.js → mathInput-BBu55fWE.js} +7 -7
- package/{matrixInput-BBuJoSp0.js → matrixInput-DnF8StYk.js} +4 -4
- package/{mdash-Dg_veu1I.js → mdash-DYS3uBYr.js} +2 -2
- package/{nbsp-CW6i9IWP.js → nbsp-DUyoTjC3.js} +2 -2
- package/{ndash-DU3vfocm.js → ndash-BXwIxvfi.js} +2 -2
- package/{number-B7k5Rrh8.js → number-DN44CCH8.js} +6 -6
- package/{orbitalDiagram-CjL0cE0P.js → orbitalDiagram-DigU9vBR.js} +2 -2
- package/{orbitalDiagramInput-ze6CAXrp.js → orbitalDiagramInput-f2UT0EJx.js} +2 -2
- package/{p-B1GBa6na.js → p-BYkctbXs.js} +4 -4
- package/package.json +1 -1
- package/{paginatorControls-BkhGoMvk.js → paginatorControls-CLapj2u_.js} +2 -2
- package/{pegboard-edAEIVKA.js → pegboard-CcUeUG5C.js} +4 -4
- package/{point-BuOU3A5S.js → point-B4p2mHzD.js} +14 -8
- package/{polygon-DElvX9Im.js → polygon-DmGqfoql.js} +6 -6
- package/{polyline-ch4AnBEc.js → polyline-BmubepKn.js} +5 -5
- package/{pre-BvLYu8oS.js → pre-Dt-D0GGi.js} +3 -3
- package/{prefigure-cPXyxIOU.js → prefigure-C8ce2faG.js} +1 -1
- package/{pretzel--IbpXZ0A.js → pretzel-CZOMbU45.js} +4 -4
- package/{q-V1MBmvQE.js → q-Dvgw5w5m.js} +3 -3
- package/{ray-CL415fyD.js → ray-BumIrlhg.js} +5 -5
- package/{ref-D6eyv-Sa.js → ref-CmEfCBqp.js} +2 -2
- package/{regionBetweenCurveXAxis-DAiLustd.js → regionBetweenCurveXAxis-NbB_u0Bf.js} +5 -5
- package/{regionBetweenCurves-CW_RhVrj.js → regionBetweenCurves-Ifjx6VHy.js} +5 -5
- package/{row-BAVV-jO7.js → row-DyFIFeHS.js} +2 -2
- package/{rq-GQ7WxIEs.js → rq-rgp_yrQ9.js} +2 -2
- package/{rsq-CgUgA97k.js → rsq-DP9ZLkWi.js} +2 -2
- package/{section-BCM3jMmC.js → section-C1wzsn75.js} +5 -5
- package/{sha256-J35x7uWS-BkuLP060.js → sha256-J35x7uWS-CqDE_242.js} +1 -1
- package/{sideBySide-DX4qIJU7.js → sideBySide-DLiY1RYd.js} +2 -2
- package/{slider-CO4x5Yp4.js → slider-DRk3Jo6_.js} +3 -3
- package/{solution-D7iY4ISF.js → solution-CKzona8P.js} +4 -4
- package/{spreadsheet-DwLZWBh3.js → spreadsheet-BDaj8F20.js} +2 -2
- package/{sq-C_h3Rjx2.js → sq-CWGTUnMn.js} +3 -3
- package/{subsetOfRealsInput-Cym5fzy9.js → subsetOfRealsInput-C6crxkRb.js} +2 -2
- package/{summaryStatistics-DNnm_TL3.js → summaryStatistics-NEmq0Nnh.js} +2 -2
- package/{table-Cfig6xPS.js → table-Clo8MC4W.js} +2 -2
- package/{tabular-CV6y5zmh.js → tabular-DnATkuil.js} +2 -2
- package/{tag-CLacGFC8.js → tag-CMgWONSZ.js} +2 -2
- package/{text-DElba0Tl.js → text-D1REYh3E.js} +6 -6
- package/{textInput-CX0ZPdAK.js → textInput-C84NfnCp.js} +6 -6
- package/{tooltip-provider-C5jQtqj6.js → tooltip-provider-CWAvpAOu.js} +1 -1
- package/{useAnchoredGraphDragHandler-DZjJ0Uec.js → useAnchoredGraphDragHandler-CawogJDq.js} +1 -1
- package/useDoenetRenderer-iQ5DcPlm.js +114 -0
- package/{useSubmitActionWithDelay-z0HnHYgE.js → useSubmitActionWithDelay-BeNoHL73.js} +2 -2
- package/{vector-BfPl3-W-.js → vector-BVD39Jhg.js} +6 -6
- package/{video-jab8-_gJ.js → video-LCLDshWP.js} +4 -4
- package/useDoenetRenderer-DV5aNC9J.js +0 -114
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { o as DocContext, n as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { o as DocContext, n as jsxRuntimeExports } from "./doenetml-BZ2IOVwF.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-CTq64gR-.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-iQ5DcPlm.js";
|
|
5
|
+
import { BoardContext, VERTEX_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-BaSjQ4gr.js";
|
|
6
|
+
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-JFlrt_vk.js";
|
|
7
7
|
import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-DV6a8Wvg.js";
|
|
8
8
|
import { p as pointerEventToUserCoords } from "./dragThreshold-DuSSFrIU.js";
|
|
9
9
|
import { a as resolveLineColor, d as resolveHandleColor } from "./styleColors-Cknqcr0q.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { u as useRecordVisibilityChanges, n as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useRecordVisibilityChanges, n as jsxRuntimeExports } from "./doenetml-BZ2IOVwF.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-iQ5DcPlm.js";
|
|
4
|
+
import { a as addCommasForCompositeRanges } from "./composites-DVNqGtcR.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 { n as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { n as jsxRuntimeExports } from "./doenetml-BZ2IOVwF.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, o as DocContext, n as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useRecordVisibilityChanges, o as DocContext, n as jsxRuntimeExports } from "./doenetml-BZ2IOVwF.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-iQ5DcPlm.js";
|
|
4
|
+
import { A as AnswerResponseButton } from "./AnswerResponseButton-JYNlzkGq.js";
|
|
5
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-BeNoHL73.js";
|
|
6
6
|
const pretzel = React__default.memo(function Pretzel(props) {
|
|
7
7
|
let {
|
|
8
8
|
componentIdx,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { n as jsxRuntimeExports } from "./doenetml-BZ2IOVwF.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-iQ5DcPlm.js";
|
|
4
|
+
import { r as renderMarkupBody } from "./markupRenderer-BNKR9tLe.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 { o as DocContext, n as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { o as DocContext, n as jsxRuntimeExports } from "./doenetml-BZ2IOVwF.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-CTq64gR-.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-iQ5DcPlm.js";
|
|
5
|
+
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-BaSjQ4gr.js";
|
|
6
|
+
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-JFlrt_vk.js";
|
|
7
7
|
import { a as buildLineLikeAttributes } from "./buildGraphicalAttributes-C7PtyKL7.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 { o as DocContext, n as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { o as DocContext, n as jsxRuntimeExports } from "./doenetml-BZ2IOVwF.js";
|
|
2
2
|
import React__default, { useContext, useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-iQ5DcPlm.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 { o as DocContext, w as createFunctionFromDefinition, n as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { o as DocContext, w as createFunctionFromDefinition, n as jsxRuntimeExports } from "./doenetml-BZ2IOVwF.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-CTq64gR-.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-iQ5DcPlm.js";
|
|
5
|
+
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-BaSjQ4gr.js";
|
|
6
|
+
import { g as getPatternFillAttributes } from "./fillPatterns-DdhTFHvr.js";
|
|
7
7
|
import { b as resolveCanvasColor } from "./styleColors-Cknqcr0q.js";
|
|
8
8
|
const regionBetweenCurveXAxis = React__default.memo(function RegionBetweenCurveXAxis(props) {
|
|
9
9
|
let { id, SVs } = useDoenetRenderer(props);
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { o as DocContext, w as createFunctionFromDefinition, n as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { o as DocContext, w as createFunctionFromDefinition, n as jsxRuntimeExports } from "./doenetml-BZ2IOVwF.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-iQ5DcPlm.js";
|
|
4
|
+
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-BaSjQ4gr.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-DdhTFHvr.js";
|
|
7
7
|
import { b as resolveCanvasColor } from "./styleColors-Cknqcr0q.js";
|
|
8
|
-
import { b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-
|
|
8
|
+
import { b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-CTq64gR-.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 { n as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { n as jsxRuntimeExports } from "./doenetml-BZ2IOVwF.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-iQ5DcPlm.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 { n as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { n as jsxRuntimeExports } from "./doenetml-BZ2IOVwF.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-iQ5DcPlm.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 { n as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { n as jsxRuntimeExports } from "./doenetml-BZ2IOVwF.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-iQ5DcPlm.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 { o as DocContext, v as cesc, u as useRecordVisibilityChanges, n as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { o as DocContext, v as cesc, u as useRecordVisibilityChanges, n as jsxRuntimeExports } from "./doenetml-BZ2IOVwF.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-CKku3jzW.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-iQ5DcPlm.js";
|
|
6
|
+
import { a as addCommasForCompositeRanges } from "./composites-DVNqGtcR.js";
|
|
7
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-BeNoHL73.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, n as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useRecordVisibilityChanges, n as jsxRuntimeExports } from "./doenetml-BZ2IOVwF.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-iQ5DcPlm.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 { n as jsxRuntimeExports, G as ActionButtonGroup, H as ActionButton, q as Context } from "./doenetml-
|
|
1
|
+
import { n as jsxRuntimeExports, G as ActionButtonGroup, H as ActionButton, q as Context } from "./doenetml-BZ2IOVwF.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-iQ5DcPlm.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-C-JYpeVS.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, n as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useRecordVisibilityChanges, n as jsxRuntimeExports } from "./doenetml-BZ2IOVwF.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-iQ5DcPlm.js";
|
|
4
|
+
import { F as FontAwesomeIcon } from "./index.es-CKku3jzW.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-DVNqGtcR.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 { o as DocContext, u as useRecordVisibilityChanges, n as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { o as DocContext, u as useRecordVisibilityChanges, n as jsxRuntimeExports } from "./doenetml-BZ2IOVwF.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-iQ5DcPlm.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 { n as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { n as jsxRuntimeExports } from "./doenetml-BZ2IOVwF.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-iQ5DcPlm.js";
|
|
4
|
+
import { r as renderMarkupBody } from "./markupRenderer-BNKR9tLe.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, n as jsxRuntimeExports, I as ToggleButtonGroup, T as ToggleButton, G as ActionButtonGroup, H as ActionButton } from "./doenetml-
|
|
1
|
+
import { u as useRecordVisibilityChanges, n as jsxRuntimeExports, I as ToggleButtonGroup, T as ToggleButton, G as ActionButtonGroup, H as ActionButton } from "./doenetml-BZ2IOVwF.js";
|
|
2
2
|
import React__default, { useState, useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-iQ5DcPlm.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, n as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useRecordVisibilityChanges, n as jsxRuntimeExports } from "./doenetml-BZ2IOVwF.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-iQ5DcPlm.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, n as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useRecordVisibilityChanges, n as jsxRuntimeExports } from "./doenetml-BZ2IOVwF.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-iQ5DcPlm.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, n as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useRecordVisibilityChanges, n as jsxRuntimeExports } from "./doenetml-BZ2IOVwF.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-iQ5DcPlm.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 { n as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { n as jsxRuntimeExports } from "./doenetml-BZ2IOVwF.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-iQ5DcPlm.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 { o as DocContext, q as Context, n as jsxRuntimeExports, t as textRendererStyle } from "./doenetml-
|
|
1
|
+
import { o as DocContext, q as Context, n as jsxRuntimeExports, t as textRendererStyle } from "./doenetml-BZ2IOVwF.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-CTq64gR-.js";
|
|
4
|
+
import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-BaSjQ4gr.js";
|
|
5
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-iQ5DcPlm.js";
|
|
6
6
|
import { g as getPositionFromAnchorByCoordinate } from "./graph-W6vrFcBu.js";
|
|
7
|
-
import { ChoiceInputInlineContext } from "./choiceInput-
|
|
7
|
+
import { ChoiceInputInlineContext } from "./choiceInput-B39a2NNe.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-CawogJDq.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 { q as Context, n as jsxRuntimeExports, M as MathJax } from "./doenetml-
|
|
1
|
+
import { q as Context, n as jsxRuntimeExports, M as MathJax } from "./doenetml-BZ2IOVwF.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-CTq64gR-.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-iQ5DcPlm.js";
|
|
5
5
|
import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
|
|
6
|
-
import { BoardContext } from "./graph-
|
|
6
|
+
import { BoardContext } from "./graph-BaSjQ4gr.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-BeNoHL73.js";
|
|
9
|
+
import { D as DescriptionPopover } from "./Description-CE-Le0RD.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 { a6 as createStoreContext, a7 as HovercardScopedContextProvider, a8 as HovercardContextProvider, a9 as createDialogComponent, L as forwardRef, N as createElement, O as createHook, Q as invariant, aa as useWrapElement, n as jsxRuntimeExports, R as useStoreState, ab as useHovercard, ac as isFalsyBooleanCallback, ad as contains, ae as sync, af as chain, ag as useEvent, ah as useHovercardAnchor, ai as createStore, aj as createHovercardStore, ak as defaultValue, al as useStore, am as useStoreProps, an as useHovercardStoreProps } from "./doenetml-
|
|
1
|
+
import { a6 as createStoreContext, a7 as HovercardScopedContextProvider, a8 as HovercardContextProvider, a9 as createDialogComponent, L as forwardRef, N as createElement, O as createHook, Q as invariant, aa as useWrapElement, n as jsxRuntimeExports, R as useStoreState, ab as useHovercard, ac as isFalsyBooleanCallback, ad as contains, ae as sync, af as chain, ag as useEvent, ah as useHovercardAnchor, ai as createStore, aj as createHovercardStore, ak as defaultValue, al as useStore, am as useStoreProps, an as useHovercardStoreProps } from "./doenetml-BZ2IOVwF.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-CTq64gR-.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 { y as useAppSelector, z as mainSlice, A as renderersLoadComponent, _ as __variableDynamicImportRuntimeHelper } from "./doenetml-BZ2IOVwF.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-C3zDGocR.js"), "./renderers/JSXGraphRenderer.tsx": () => import("./JSXGraphRenderer-CTq64gR-.js").then((n) => n.m), "./renderers/_error.tsx": () => import("./_error-CnLcxATu.js"), "./renderers/alert.tsx": () => import("./alert-Db4aC10G.js"), "./renderers/angle.tsx": () => import("./angle-D43_zdMY.js"), "./renderers/answer.tsx": () => import("./answer-DiW6RXpD.js"), "./renderers/asList.tsx": () => import("./asList-BRwE6eI4.js"), "./renderers/blockQuote.tsx": () => import("./blockQuote-CXg8J5-u.js"), "./renderers/boolean.tsx": () => import("./boolean-CaJ8UPwE.js"), "./renderers/booleanInput.tsx": () => import("./booleanInput-Dv72WzES.js"), "./renderers/br.tsx": () => import("./br-BtTfVSCj.js"), "./renderers/button.tsx": () => import("./button-Wv2D2BBS.js"), "./renderers/c.tsx": () => import("./c-D5L0hW6D.js"), "./renderers/cell.tsx": () => import("./cell-ZqAY_DWt.js"), "./renderers/choiceInput.tsx": () => import("./choiceInput-B39a2NNe.js"), "./renderers/circle.tsx": () => import("./circle-EEo6x-bu.js"), "./renderers/cobwebPolyline.tsx": () => import("./cobwebPolyline-DDodwTMb.js"), "./renderers/codeEditor.tsx": () => import("./codeEditor-nACZ-vUG.js"), "./renderers/containerBlock.tsx": () => import("./containerBlock-bzJe7N65.js"), "./renderers/containerInline.tsx": () => import("./containerInline-BqK-JqQ9.js"), "./renderers/curve.tsx": () => import("./curve-DGxfPoJp.js"), "./renderers/ellipsis.tsx": () => import("./ellipsis-DRtDPKY2.js"), "./renderers/em.tsx": () => import("./em-CTrrMRYF.js"), "./renderers/embed.tsx": () => import("./embed-DPMU0k4x.js"), "./renderers/feedback.tsx": () => import("./feedback-DdQXhoCg.js"), "./renderers/figure.tsx": () => import("./figure-CpwKqqOY.js"), "./renderers/footnote.tsx": () => import("./footnote-BbDzfNrT.js"), "./renderers/fractionInput.tsx": () => import("./fractionInput-C_uqv4O1.js"), "./renderers/graph.tsx": () => import("./graph-BaSjQ4gr.js"), "./renderers/hint.tsx": () => import("./hint-DAZsBiyZ.js"), "./renderers/hr.tsx": () => import("./hr-D_p2cfz7.js"), "./renderers/image.tsx": () => import("./image-BxdVEN58.js"), "./renderers/label.tsx": () => import("./label-C8yDgN3L.js"), "./renderers/legend.tsx": () => import("./legend-BBtS509t.js"), "./renderers/line.tsx": () => import("./line-5Uj0t1JV.js"), "./renderers/lineSegment.tsx": () => import("./lineSegment-DvR97b9k.js"), "./renderers/list.tsx": () => import("./list-C-SyBHp-.js"), "./renderers/lq.tsx": () => import("./lq-Bi15V0PQ.js"), "./renderers/lsq.tsx": () => import("./lsq-bRQLQ98P.js"), "./renderers/math.tsx": () => import("./math-DLHSWEyw.js"), "./renderers/mathInput.tsx": () => import("./mathInput-BBu55fWE.js"), "./renderers/matrixInput.tsx": () => import("./matrixInput-DnF8StYk.js"), "./renderers/mdash.tsx": () => import("./mdash-DYS3uBYr.js"), "./renderers/nbsp.tsx": () => import("./nbsp-DUyoTjC3.js"), "./renderers/ndash.tsx": () => import("./ndash-BXwIxvfi.js"), "./renderers/number.tsx": () => import("./number-DN44CCH8.js"), "./renderers/orbitalDiagram.tsx": () => import("./orbitalDiagram-DigU9vBR.js"), "./renderers/orbitalDiagramInput.tsx": () => import("./orbitalDiagramInput-f2UT0EJx.js"), "./renderers/p.tsx": () => import("./p-BYkctbXs.js"), "./renderers/paginatorControls.tsx": () => import("./paginatorControls-CLapj2u_.js"), "./renderers/pegboard.tsx": () => import("./pegboard-CcUeUG5C.js"), "./renderers/point.tsx": () => import("./point-B4p2mHzD.js"), "./renderers/polygon.tsx": () => import("./polygon-DmGqfoql.js"), "./renderers/polyline.tsx": () => import("./polyline-BmubepKn.js"), "./renderers/pre.tsx": () => import("./pre-Dt-D0GGi.js"), "./renderers/prefigure.tsx": () => import("./prefigure-C8ce2faG.js"), "./renderers/pretzel.tsx": () => import("./pretzel-CZOMbU45.js"), "./renderers/q.tsx": () => import("./q-Dvgw5w5m.js"), "./renderers/ray.tsx": () => import("./ray-BumIrlhg.js"), "./renderers/ref.tsx": () => import("./ref-CmEfCBqp.js"), "./renderers/regionBetweenCurveXAxis.tsx": () => import("./regionBetweenCurveXAxis-NbB_u0Bf.js"), "./renderers/regionBetweenCurves.tsx": () => import("./regionBetweenCurves-Ifjx6VHy.js"), "./renderers/row.tsx": () => import("./row-DyFIFeHS.js"), "./renderers/rq.tsx": () => import("./rq-rgp_yrQ9.js"), "./renderers/rsq.tsx": () => import("./rsq-DP9ZLkWi.js"), "./renderers/section.tsx": () => import("./section-C1wzsn75.js"), "./renderers/sideBySide.tsx": () => import("./sideBySide-DLiY1RYd.js"), "./renderers/slider.tsx": () => import("./slider-DRk3Jo6_.js"), "./renderers/solution.tsx": () => import("./solution-CKzona8P.js"), "./renderers/spreadsheet.tsx": () => import("./spreadsheet-BDaj8F20.js"), "./renderers/sq.tsx": () => import("./sq-CWGTUnMn.js"), "./renderers/subsetOfRealsInput.tsx": () => import("./subsetOfRealsInput-C6crxkRb.js"), "./renderers/summaryStatistics.tsx": () => import("./summaryStatistics-NEmq0Nnh.js"), "./renderers/table.tsx": () => import("./table-Clo8MC4W.js"), "./renderers/tabular.tsx": () => import("./tabular-DnATkuil.js"), "./renderers/tag.tsx": () => import("./tag-CMgWONSZ.js"), "./renderers/text.tsx": () => import("./text-D1REYh3E.js"), "./renderers/textInput.tsx": () => import("./textInput-C84NfnCp.js"), "./renderers/vector.tsx": () => import("./vector-BVD39Jhg.js"), "./renderers/video.tsx": () => import("./video-LCLDshWP.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 { n as jsxRuntimeExports } from "./doenetml-
|
|
2
|
-
import { F as FontAwesomeIcon } from "./index.es-
|
|
1
|
+
import { n as jsxRuntimeExports } from "./doenetml-BZ2IOVwF.js";
|
|
2
|
+
import { F as FontAwesomeIcon } from "./index.es-CKku3jzW.js";
|
|
3
3
|
import { d as faSpinner, e as faLevelDownAlt, g as faCheck, h as faTimes, i as faCloud } from "./index-BDlitCgu.js";
|
|
4
4
|
import React__default, { useCallback } from "react";
|
|
5
5
|
function calculateValidationState(SVs) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { o as DocContext, n as jsxRuntimeExports, t as textRendererStyle, p as DynamicMath } from "./doenetml-
|
|
1
|
+
import { o as DocContext, n as jsxRuntimeExports, t as textRendererStyle, p as DynamicMath } from "./doenetml-BZ2IOVwF.js";
|
|
2
2
|
import React__default, { useContext, useRef } from "react";
|
|
3
|
-
import { j as jxg, s as syncLayer, g as syncVisPropValues, e as syncLineStrokeStyle, a as syncWithLabelToggle, f as syncLabelStrokeColor, b as syncLabelMaskCssStyle, i as applyLineFamilyLabelPlacement, k as buildLineFamilyLabelAttributes, d as attachLabelHoverHighlight, c as computeLabelMaskCssStyle, l as stabilizeInitialLineFamilyLabelPlacement, r as removeJXGEventHandlers } from "./JSXGraphRenderer-
|
|
4
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
5
|
-
import { BoardContext, VERTEX_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-
|
|
6
|
-
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-
|
|
7
|
-
import { ChoiceInputInlineContext } from "./choiceInput-
|
|
3
|
+
import { j as jxg, s as syncLayer, g as syncVisPropValues, e as syncLineStrokeStyle, a as syncWithLabelToggle, f as syncLabelStrokeColor, b as syncLabelMaskCssStyle, i as applyLineFamilyLabelPlacement, k as buildLineFamilyLabelAttributes, d as attachLabelHoverHighlight, c as computeLabelMaskCssStyle, l as stabilizeInitialLineFamilyLabelPlacement, r as removeJXGEventHandlers } from "./JSXGraphRenderer-CTq64gR-.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-iQ5DcPlm.js";
|
|
5
|
+
import { BoardContext, VERTEX_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-BaSjQ4gr.js";
|
|
6
|
+
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-JFlrt_vk.js";
|
|
7
|
+
import { ChoiceInputInlineContext } from "./choiceInput-B39a2NNe.js";
|
|
8
8
|
import { a as buildLineLikeAttributes } from "./buildGraphicalAttributes-C7PtyKL7.js";
|
|
9
9
|
import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-DV6a8Wvg.js";
|
|
10
10
|
import { p as pointerEventToUserCoords } from "./dragThreshold-DuSSFrIU.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { u as useRecordVisibilityChanges, n as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useRecordVisibilityChanges, n as jsxRuntimeExports } from "./doenetml-BZ2IOVwF.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-iQ5DcPlm.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-CE-Le0RD.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-CgFiTRnJ.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;
|