@doenet/doenetml 0.7.21-dev.357 → 0.7.21-dev.359
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-NWqlV8Ng.js} +2 -2
- package/{Description-oYqbUHCk.js → Description-ChZ9_4AF.js} +1 -1
- package/{GraphFrame-fD-JBa-a.js → GraphFrame-CZhoTUBt.js} +2 -2
- package/{JSXGraphRenderer-BH-weGZc.js → JSXGraphRenderer-BtoHbHD_.js} +1 -1
- package/{NonInlineMediaWrapper-UaqOejns.js → NonInlineMediaWrapper-S8tW2lVw.js} +1 -1
- package/Viewer/renderers/point.d.ts.map +1 -1
- package/{_error-CjnBhbtJ.js → _error-BEf5LCmb.js} +2 -2
- package/{alert-DpI7EFgu.js → alert-B0YuIX4Z.js} +3 -3
- package/{angle-DjgnBQYn.js → angle-TYjV_O-9.js} +6 -6
- package/{answer-CFAS9E55.js → answer-gjEe4BIk.js} +5 -5
- package/{asList-BZP2k1uh.js → asList-DSAka1eW.js} +2 -2
- package/{blockQuote-CPLUKwA7.js → blockQuote-9KtFL3Pc.js} +3 -3
- package/{boolean-RJa3YJzG.js → boolean-Cd81LY4v.js} +2 -2
- package/{booleanInput-BSnr2quB.js → booleanInput-LF2aSdqT.js} +6 -6
- package/{br-BeczvxMy.js → br-CiGI8JRY.js} +2 -2
- package/{button-DZcNHrTV.js → button-G2_e9pyu.js} +4 -4
- package/{c-DjhWiCRs.js → c-4SdfJSO3.js} +3 -3
- package/{cell-DPx62HKI.js → cell-Et9jY9zi.js} +3 -3
- package/{choiceInput-DVfUsy-e.js → choiceInput-D569sEg8.js} +4 -4
- package/{circle-BNuS0l7k.js → circle-BzU1ULMp.js} +6 -6
- package/{cobwebPolyline-C8mdiF4q.js → cobwebPolyline-BhCBDDVv.js} +4 -4
- package/{codeEditor-CDXYxRSH.js → codeEditor-D2O5KCUO.js} +2 -2
- package/{composites-BMvJ0X8Y.js → composites-DHZFngyn.js} +1 -1
- package/{containerBlock-DmvT2Kpe.js → containerBlock-C_xdexQn.js} +4 -4
- package/{containerInline-imEzmRSQ.js → containerInline-BET6Whnr.js} +4 -4
- package/{curve-DKCGCl2Y.js → curve-Cm5E4dSL.js} +4 -4
- package/{doenetml-B-4ueCYT.js → doenetml-DeejPxeo.js} +93 -75
- package/doenetml-external-worker.js +2 -2
- package/doenetml-inline-worker.js +2 -2
- package/{ellipsis-DG9jiYyW.js → ellipsis-gGTenFs8.js} +2 -2
- package/{em-BXBfYwO-.js → em-BVZjtJw-.js} +3 -3
- package/{embed-BqECMiI5.js → embed-CZ_VtykS.js} +2 -2
- package/{feedback-wxmKfXZm.js → feedback-CQ7Xv3M5.js} +4 -4
- package/{figure-Cv93zX_u.js → figure-5rDN8Cv3.js} +3 -3
- package/{fillPatterns-C26_a5hz.js → fillPatterns-ONWRVBgV.js} +1 -1
- package/{footnote-p6EHTQ4e.js → footnote-D7YDK_Mo.js} +3 -3
- package/{fractionInput-BPs4GseP.js → fractionInput-BKVnJL68.js} +4 -4
- package/{graph-YRC8IFwc.js → graph-Bfk-g7cJ.js} +6 -6
- package/{hint-Bv90mx7l.js → hint-DFLGShNp.js} +4 -4
- package/{hr-CqsNf4Y2.js → hr-C8eiVs1Z.js} +2 -2
- package/{image-ChA_lvIB.js → image-C5jiRy8R.js} +7 -7
- package/{index-CKKWAAey.js → index-Cq8duOfQ.js} +1 -1
- package/{index.es-CF_og-5D.js → index.es-DfEB2kdX.js} +1 -1
- package/index.js +1 -1
- package/{label-BWw9eQKv.js → label-B0bd4wJx.js} +6 -6
- package/{labelWithLatex-DGH4YBRf.js → labelWithLatex-CrwVNjr-.js} +1 -1
- package/{legend-DdZLlqtj.js → legend-6KK5NKKf.js} +4 -4
- package/{line-v_CKbEXH.js → line-B13ft9u3.js} +6 -6
- package/{lineFamilyDragHandlers-B59-03J4.js → lineFamilyDragHandlers-D1JO5-Y1.js} +1 -1
- package/{lineSegment-Bo5mZ3dA.js → lineSegment-QL75f3rg.js} +5 -5
- package/{list-BFZHJoGM.js → list-DWW42FXa.js} +4 -4
- package/{lq-D14sSCKP.js → lq-DDdCsbz8.js} +2 -2
- package/{lsq-JcU6_kh8.js → lsq-BCPpoE3T.js} +2 -2
- package/{markupRenderer-CbS9p0Mf.js → markupRenderer-CNMSxe6W.js} +1 -1
- package/{math-DYNDXQCv.js → math-BXS3zfvc.js} +6 -6
- package/{mathInput-DbAAwLTn.js → mathInput-DKAce4ye.js} +7 -7
- package/{matrixInput-BBuJoSp0.js → matrixInput-BsF-fLIA.js} +4 -4
- package/{mdash-Dg_veu1I.js → mdash-Bpnf_QHV.js} +2 -2
- package/{nbsp-CW6i9IWP.js → nbsp-YyPCZK0o.js} +2 -2
- package/{ndash-DU3vfocm.js → ndash-DhMNQgmN.js} +2 -2
- package/{number-B7k5Rrh8.js → number-B91kdCeQ.js} +6 -6
- package/{orbitalDiagram-CjL0cE0P.js → orbitalDiagram-DpENL-rt.js} +2 -2
- package/{orbitalDiagramInput-ze6CAXrp.js → orbitalDiagramInput-oBQR5q65.js} +2 -2
- package/{p-B1GBa6na.js → p-DSzP1-kQ.js} +4 -4
- package/package.json +1 -1
- package/{paginatorControls-BkhGoMvk.js → paginatorControls-CL4tDbdP.js} +2 -2
- package/{pegboard-edAEIVKA.js → pegboard-DuDykpFH.js} +4 -4
- package/{point-BuOU3A5S.js → point-BlR4avnu.js} +14 -8
- package/{polygon-DElvX9Im.js → polygon-b_yLS60j.js} +6 -6
- package/{polyline-ch4AnBEc.js → polyline-DgH-FLSv.js} +5 -5
- package/{pre-BvLYu8oS.js → pre-CZ7NjwtX.js} +3 -3
- package/{prefigure-cPXyxIOU.js → prefigure-94C3mmXN.js} +1 -1
- package/{pretzel--IbpXZ0A.js → pretzel-Be4Yb3du.js} +4 -4
- package/{q-V1MBmvQE.js → q-C8kk6LT7.js} +3 -3
- package/{ray-CL415fyD.js → ray-K-mfV48a.js} +5 -5
- package/{ref-D6eyv-Sa.js → ref-CQxUExU4.js} +2 -2
- package/{regionBetweenCurveXAxis-DAiLustd.js → regionBetweenCurveXAxis-BMdw0VpP.js} +5 -5
- package/{regionBetweenCurves-CW_RhVrj.js → regionBetweenCurves-D9YE9eeP.js} +5 -5
- package/{row-BAVV-jO7.js → row-2uzap7Jc.js} +2 -2
- package/{rq-GQ7WxIEs.js → rq-3D2LrgE8.js} +2 -2
- package/{rsq-CgUgA97k.js → rsq-CJeT9duV.js} +2 -2
- package/{section-BCM3jMmC.js → section-CfuXFAjQ.js} +5 -5
- package/{sha256-J35x7uWS-BkuLP060.js → sha256-J35x7uWS-ribnsRfJ.js} +1 -1
- package/{sideBySide-DX4qIJU7.js → sideBySide-p7_Jh4cN.js} +2 -2
- package/{slider-CO4x5Yp4.js → slider-CB90yrda.js} +3 -3
- package/{solution-D7iY4ISF.js → solution-B3X3-Fwv.js} +4 -4
- package/{spreadsheet-DwLZWBh3.js → spreadsheet-BG2f_vom.js} +2 -2
- package/{sq-C_h3Rjx2.js → sq-YkDe8IST.js} +3 -3
- package/{subsetOfRealsInput-Cym5fzy9.js → subsetOfRealsInput-CGKFN-YE.js} +2 -2
- package/{summaryStatistics-DNnm_TL3.js → summaryStatistics-qx7j2-5X.js} +2 -2
- package/{table-Cfig6xPS.js → table-wPWydMly.js} +2 -2
- package/{tabular-CV6y5zmh.js → tabular-CinTpLoL.js} +2 -2
- package/{tag-CLacGFC8.js → tag-BSP_vF0r.js} +2 -2
- package/{text-DElba0Tl.js → text-CGHRjRfH.js} +6 -6
- package/{textInput-CX0ZPdAK.js → textInput-CEQpMKWy.js} +6 -6
- package/{tooltip-provider-C5jQtqj6.js → tooltip-provider-CDYcMR--.js} +1 -1
- package/{useAnchoredGraphDragHandler-DZjJ0Uec.js → useAnchoredGraphDragHandler-BpxfgUdY.js} +1 -1
- package/useDoenetRenderer-M_4QN7rb.js +114 -0
- package/{useSubmitActionWithDelay-z0HnHYgE.js → useSubmitActionWithDelay-7G_Ptn20.js} +2 -2
- package/{vector-BfPl3-W-.js → vector-CIXRThoL.js} +6 -6
- package/{video-jab8-_gJ.js → video-W-Kkumzm.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-DeejPxeo.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-BtoHbHD_.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-M_4QN7rb.js";
|
|
5
|
+
import { BoardContext, VERTEX_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-Bfk-g7cJ.js";
|
|
6
|
+
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-D1JO5-Y1.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-DeejPxeo.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-M_4QN7rb.js";
|
|
4
|
+
import { a as addCommasForCompositeRanges } from "./composites-DHZFngyn.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-DeejPxeo.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-DeejPxeo.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-M_4QN7rb.js";
|
|
4
|
+
import { A as AnswerResponseButton } from "./AnswerResponseButton-NWqlV8Ng.js";
|
|
5
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-7G_Ptn20.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-DeejPxeo.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-M_4QN7rb.js";
|
|
4
|
+
import { r as renderMarkupBody } from "./markupRenderer-CNMSxe6W.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-DeejPxeo.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-BtoHbHD_.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-M_4QN7rb.js";
|
|
5
|
+
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-Bfk-g7cJ.js";
|
|
6
|
+
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-D1JO5-Y1.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-DeejPxeo.js";
|
|
2
2
|
import React__default, { useContext, useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-M_4QN7rb.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-DeejPxeo.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-BtoHbHD_.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-M_4QN7rb.js";
|
|
5
|
+
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-Bfk-g7cJ.js";
|
|
6
|
+
import { g as getPatternFillAttributes } from "./fillPatterns-ONWRVBgV.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-DeejPxeo.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-M_4QN7rb.js";
|
|
4
|
+
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-Bfk-g7cJ.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-ONWRVBgV.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-BtoHbHD_.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-DeejPxeo.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-M_4QN7rb.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-DeejPxeo.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-M_4QN7rb.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-DeejPxeo.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-M_4QN7rb.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-DeejPxeo.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-DfEB2kdX.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-M_4QN7rb.js";
|
|
6
|
+
import { a as addCommasForCompositeRanges } from "./composites-DHZFngyn.js";
|
|
7
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-7G_Ptn20.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-DeejPxeo.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-M_4QN7rb.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-DeejPxeo.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-M_4QN7rb.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-CrwVNjr-.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-DeejPxeo.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-M_4QN7rb.js";
|
|
4
|
+
import { F as FontAwesomeIcon } from "./index.es-DfEB2kdX.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-DHZFngyn.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-DeejPxeo.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-M_4QN7rb.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-DeejPxeo.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-M_4QN7rb.js";
|
|
4
|
+
import { r as renderMarkupBody } from "./markupRenderer-CNMSxe6W.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-DeejPxeo.js";
|
|
2
2
|
import React__default, { useState, useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-M_4QN7rb.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-DeejPxeo.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-M_4QN7rb.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-DeejPxeo.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-M_4QN7rb.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-DeejPxeo.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-M_4QN7rb.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-DeejPxeo.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-M_4QN7rb.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-DeejPxeo.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-BtoHbHD_.js";
|
|
4
|
+
import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-Bfk-g7cJ.js";
|
|
5
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-M_4QN7rb.js";
|
|
6
6
|
import { g as getPositionFromAnchorByCoordinate } from "./graph-W6vrFcBu.js";
|
|
7
|
-
import { ChoiceInputInlineContext } from "./choiceInput-
|
|
7
|
+
import { ChoiceInputInlineContext } from "./choiceInput-D569sEg8.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-BpxfgUdY.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-DeejPxeo.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-BtoHbHD_.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-M_4QN7rb.js";
|
|
5
5
|
import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
|
|
6
|
-
import { BoardContext } from "./graph-
|
|
6
|
+
import { BoardContext } from "./graph-Bfk-g7cJ.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-7G_Ptn20.js";
|
|
9
|
+
import { D as DescriptionPopover } from "./Description-ChZ9_4AF.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-DeejPxeo.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-BtoHbHD_.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-DeejPxeo.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-CZhoTUBt.js"), "./renderers/JSXGraphRenderer.tsx": () => import("./JSXGraphRenderer-BtoHbHD_.js").then((n) => n.m), "./renderers/_error.tsx": () => import("./_error-BEf5LCmb.js"), "./renderers/alert.tsx": () => import("./alert-B0YuIX4Z.js"), "./renderers/angle.tsx": () => import("./angle-TYjV_O-9.js"), "./renderers/answer.tsx": () => import("./answer-gjEe4BIk.js"), "./renderers/asList.tsx": () => import("./asList-DSAka1eW.js"), "./renderers/blockQuote.tsx": () => import("./blockQuote-9KtFL3Pc.js"), "./renderers/boolean.tsx": () => import("./boolean-Cd81LY4v.js"), "./renderers/booleanInput.tsx": () => import("./booleanInput-LF2aSdqT.js"), "./renderers/br.tsx": () => import("./br-CiGI8JRY.js"), "./renderers/button.tsx": () => import("./button-G2_e9pyu.js"), "./renderers/c.tsx": () => import("./c-4SdfJSO3.js"), "./renderers/cell.tsx": () => import("./cell-Et9jY9zi.js"), "./renderers/choiceInput.tsx": () => import("./choiceInput-D569sEg8.js"), "./renderers/circle.tsx": () => import("./circle-BzU1ULMp.js"), "./renderers/cobwebPolyline.tsx": () => import("./cobwebPolyline-BhCBDDVv.js"), "./renderers/codeEditor.tsx": () => import("./codeEditor-D2O5KCUO.js"), "./renderers/containerBlock.tsx": () => import("./containerBlock-C_xdexQn.js"), "./renderers/containerInline.tsx": () => import("./containerInline-BET6Whnr.js"), "./renderers/curve.tsx": () => import("./curve-Cm5E4dSL.js"), "./renderers/ellipsis.tsx": () => import("./ellipsis-gGTenFs8.js"), "./renderers/em.tsx": () => import("./em-BVZjtJw-.js"), "./renderers/embed.tsx": () => import("./embed-CZ_VtykS.js"), "./renderers/feedback.tsx": () => import("./feedback-CQ7Xv3M5.js"), "./renderers/figure.tsx": () => import("./figure-5rDN8Cv3.js"), "./renderers/footnote.tsx": () => import("./footnote-D7YDK_Mo.js"), "./renderers/fractionInput.tsx": () => import("./fractionInput-BKVnJL68.js"), "./renderers/graph.tsx": () => import("./graph-Bfk-g7cJ.js"), "./renderers/hint.tsx": () => import("./hint-DFLGShNp.js"), "./renderers/hr.tsx": () => import("./hr-C8eiVs1Z.js"), "./renderers/image.tsx": () => import("./image-C5jiRy8R.js"), "./renderers/label.tsx": () => import("./label-B0bd4wJx.js"), "./renderers/legend.tsx": () => import("./legend-6KK5NKKf.js"), "./renderers/line.tsx": () => import("./line-B13ft9u3.js"), "./renderers/lineSegment.tsx": () => import("./lineSegment-QL75f3rg.js"), "./renderers/list.tsx": () => import("./list-DWW42FXa.js"), "./renderers/lq.tsx": () => import("./lq-DDdCsbz8.js"), "./renderers/lsq.tsx": () => import("./lsq-BCPpoE3T.js"), "./renderers/math.tsx": () => import("./math-BXS3zfvc.js"), "./renderers/mathInput.tsx": () => import("./mathInput-DKAce4ye.js"), "./renderers/matrixInput.tsx": () => import("./matrixInput-BsF-fLIA.js"), "./renderers/mdash.tsx": () => import("./mdash-Bpnf_QHV.js"), "./renderers/nbsp.tsx": () => import("./nbsp-YyPCZK0o.js"), "./renderers/ndash.tsx": () => import("./ndash-DhMNQgmN.js"), "./renderers/number.tsx": () => import("./number-B91kdCeQ.js"), "./renderers/orbitalDiagram.tsx": () => import("./orbitalDiagram-DpENL-rt.js"), "./renderers/orbitalDiagramInput.tsx": () => import("./orbitalDiagramInput-oBQR5q65.js"), "./renderers/p.tsx": () => import("./p-DSzP1-kQ.js"), "./renderers/paginatorControls.tsx": () => import("./paginatorControls-CL4tDbdP.js"), "./renderers/pegboard.tsx": () => import("./pegboard-DuDykpFH.js"), "./renderers/point.tsx": () => import("./point-BlR4avnu.js"), "./renderers/polygon.tsx": () => import("./polygon-b_yLS60j.js"), "./renderers/polyline.tsx": () => import("./polyline-DgH-FLSv.js"), "./renderers/pre.tsx": () => import("./pre-CZ7NjwtX.js"), "./renderers/prefigure.tsx": () => import("./prefigure-94C3mmXN.js"), "./renderers/pretzel.tsx": () => import("./pretzel-Be4Yb3du.js"), "./renderers/q.tsx": () => import("./q-C8kk6LT7.js"), "./renderers/ray.tsx": () => import("./ray-K-mfV48a.js"), "./renderers/ref.tsx": () => import("./ref-CQxUExU4.js"), "./renderers/regionBetweenCurveXAxis.tsx": () => import("./regionBetweenCurveXAxis-BMdw0VpP.js"), "./renderers/regionBetweenCurves.tsx": () => import("./regionBetweenCurves-D9YE9eeP.js"), "./renderers/row.tsx": () => import("./row-2uzap7Jc.js"), "./renderers/rq.tsx": () => import("./rq-3D2LrgE8.js"), "./renderers/rsq.tsx": () => import("./rsq-CJeT9duV.js"), "./renderers/section.tsx": () => import("./section-CfuXFAjQ.js"), "./renderers/sideBySide.tsx": () => import("./sideBySide-p7_Jh4cN.js"), "./renderers/slider.tsx": () => import("./slider-CB90yrda.js"), "./renderers/solution.tsx": () => import("./solution-B3X3-Fwv.js"), "./renderers/spreadsheet.tsx": () => import("./spreadsheet-BG2f_vom.js"), "./renderers/sq.tsx": () => import("./sq-YkDe8IST.js"), "./renderers/subsetOfRealsInput.tsx": () => import("./subsetOfRealsInput-CGKFN-YE.js"), "./renderers/summaryStatistics.tsx": () => import("./summaryStatistics-qx7j2-5X.js"), "./renderers/table.tsx": () => import("./table-wPWydMly.js"), "./renderers/tabular.tsx": () => import("./tabular-CinTpLoL.js"), "./renderers/tag.tsx": () => import("./tag-BSP_vF0r.js"), "./renderers/text.tsx": () => import("./text-CGHRjRfH.js"), "./renderers/textInput.tsx": () => import("./textInput-CEQpMKWy.js"), "./renderers/vector.tsx": () => import("./vector-CIXRThoL.js"), "./renderers/video.tsx": () => import("./video-W-Kkumzm.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-DeejPxeo.js";
|
|
2
|
+
import { F as FontAwesomeIcon } from "./index.es-DfEB2kdX.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-DeejPxeo.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-BtoHbHD_.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-M_4QN7rb.js";
|
|
5
|
+
import { BoardContext, VERTEX_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-Bfk-g7cJ.js";
|
|
6
|
+
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-D1JO5-Y1.js";
|
|
7
|
+
import { ChoiceInputInlineContext } from "./choiceInput-D569sEg8.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-DeejPxeo.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-M_4QN7rb.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-ChZ9_4AF.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-S8tW2lVw.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;
|