@doenet/doenetml 0.7.24-dev.488 → 0.7.24-dev.489
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-U-LvXGaC.js → AnswerResponseButton-DAl9Om6u.js} +2 -2
- package/{Description-7_9t-PVY.js → Description-hSj9G9ap.js} +1 -1
- package/{GraphFrame-CBHk_OMJ.js → GraphFrame-GJkrNPgK.js} +2 -2
- package/{JSXGraphRenderer-6uS_IayS.js → JSXGraphRenderer-K05NhDU5.js} +1 -1
- package/{NonInlineMediaWrapper-bMLeSCFK.js → NonInlineMediaWrapper-CqWmkKcp.js} +1 -1
- package/Viewer/DocViewer.d.ts.map +1 -1
- package/{_error-CO-weo9L.js → _error-D6HkQe3V.js} +2 -2
- package/{alert-BMBc0GI3.js → alert-CoNeiRQa.js} +3 -3
- package/{angle-ersFhZMM.js → angle-Hh7nliIB.js} +6 -6
- package/{answer-K_w3Lbsb.js → answer-x3knFK7x.js} +5 -5
- package/{asList-BxevJKdT.js → asList-HySGZdpK.js} +2 -2
- package/{blockQuote-Bt8ONYBH.js → blockQuote-q41xD3em.js} +3 -3
- package/{boolean-DwlJnPVt.js → boolean-DgJzdVDU.js} +2 -2
- package/{booleanInput-DK0yyzis.js → booleanInput-CkFWDubb.js} +6 -6
- package/{br-CxeMsgKH.js → br-Bk5-k8JO.js} +2 -2
- package/{button-D9EOkPUF.js → button-CejH_cth.js} +4 -4
- package/{c-BtizIozJ.js → c-A28OKW-i.js} +3 -3
- package/{cell-DYKgF8RO.js → cell-BJOs6BhM.js} +3 -3
- package/{choiceInput-BF2Qmt4D.js → choiceInput-BzaempIr.js} +4 -4
- package/{circle-GLjuvoxG.js → circle-ByUceWBI.js} +6 -6
- package/{cobwebPolyline-Cn3RuggV.js → cobwebPolyline-IHa0A4yo.js} +4 -4
- package/{codeEditor-CAh_aShs.js → codeEditor-C93H5Kqw.js} +2 -2
- package/{composites-B0E9C88L.js → composites-DkUXnk7N.js} +1 -1
- package/{containerBlock-Faf4hwsz.js → containerBlock-BjkmgyM6.js} +4 -4
- package/{containerInline-_Tid635o.js → containerInline-DrdT22H_.js} +4 -4
- package/{curve-DKvzbLc6.js → curve-DM4TO0eS.js} +4 -4
- package/{doenetml-BpCFZk63.js → doenetml-C3eSzH_C.js} +9 -10
- package/doenetml-external-worker.js +2 -2
- package/doenetml-inline-worker.js +2 -2
- package/{ellipsis-7Xqz4Dnd.js → ellipsis-BOBl6ioA.js} +2 -2
- package/{em-DpJfKXEP.js → em-DTaaWekA.js} +3 -3
- package/{embed-BXWVQ7yu.js → embed-C1Hyeqny.js} +2 -2
- package/{feedback-epwVPhZy.js → feedback-C3gdwozR.js} +4 -4
- package/{figure-DgxXNB00.js → figure-DD9zJe3l.js} +3 -3
- package/{fillPatterns-CPJ_RmEZ.js → fillPatterns-BjwxeIoE.js} +1 -1
- package/{footnote-D3W-0FiF.js → footnote-BPozmvL5.js} +3 -3
- package/{fractionInput-2U61SDzB.js → fractionInput-MHR1pX-h.js} +4 -4
- package/{graph-DYYqKqxY.js → graph-B5AscX2c.js} +6 -6
- package/{hint-C0z26_yl.js → hint-CNTMt_3w.js} +4 -4
- package/{hr-Deu57pH2.js → hr-fqKO8RzA.js} +2 -2
- package/{image-B2z1HMDt.js → image-De-XfOwN.js} +7 -7
- package/{index-CRrNEYcU.js → index-BS_3pXms.js} +1 -1
- package/{index.es-Dr_aZGIR.js → index.es-BR2EVhtF.js} +1 -1
- package/index.js +1 -1
- package/{label-DcG-2DMq.js → label-BdYkE8ZO.js} +6 -6
- package/{labelWithLatex-DnS8yNxB.js → labelWithLatex-fkR6K5hc.js} +1 -1
- package/{legend-Ca1uQ5FQ.js → legend-KXPqpSeu.js} +4 -4
- package/{line-q_fNnJMb.js → line-DZvEBQbW.js} +6 -6
- package/{lineFamilyDragHandlers-D2YYQ7gd.js → lineFamilyDragHandlers-gaUiSxOK.js} +1 -1
- package/{lineSegment-MlmoM63d.js → lineSegment-BcZJ2PS0.js} +5 -5
- package/{list-BmZHpAR5.js → list-sN-X1UPg.js} +4 -4
- package/{lq-DdcasYTf.js → lq-1P5wghnE.js} +2 -2
- package/{lsq-C5LBnfVE.js → lsq-CgswuIeH.js} +2 -2
- package/{markupRenderer-B4xdvlbC.js → markupRenderer-B51lGya2.js} +1 -1
- package/{math-DfL4Hf3o.js → math-BNrAECUk.js} +6 -6
- package/{mathInput-D1I3s7ws.js → mathInput-8CmNp3Au.js} +7 -7
- package/{matrixInput-BMR8x58o.js → matrixInput-BCmnRz8T.js} +4 -4
- package/{mdash-BWj7EkuS.js → mdash-BwbgV72V.js} +2 -2
- package/{nbsp-DRWma6Qs.js → nbsp-VRxl-Uej.js} +2 -2
- package/{ndash-_0ThVKrt.js → ndash-DLIJi0Bj.js} +2 -2
- package/{number-BwDwmZmz.js → number-DArqeUKf.js} +6 -6
- package/{orbitalDiagram-BB1Cdy50.js → orbitalDiagram-DtPpWu90.js} +2 -2
- package/{orbitalDiagramInput-uGUJDjVq.js → orbitalDiagramInput-T6KRfG56.js} +2 -2
- package/{p-BDxp29MH.js → p-C5armc3j.js} +4 -4
- package/package.json +1 -1
- package/{paginatorControls-C7eb9jeG.js → paginatorControls-hJglm6xh.js} +2 -2
- package/{pegboard-DsIlFah6.js → pegboard-D4eihwy9.js} +4 -4
- package/{point-dxGzBQ26.js → point-DMLpLDFV.js} +6 -6
- package/{polygon-Bts_HaYR.js → polygon-B2xyIYOm.js} +6 -6
- package/{polyline-ca6-0-xi.js → polyline-C4YTzDi0.js} +5 -5
- package/{pre-CvjF31XI.js → pre-BHkwflwJ.js} +3 -3
- package/{prefigure-BL7MrQOF.js → prefigure-D5qS0uWh.js} +1 -1
- package/{pretzel-skDUAG4X.js → pretzel-B08FBW0O.js} +4 -4
- package/{q-BIZy-1mB.js → q-B4ox3jFT.js} +3 -3
- package/{ray-CeDaPS7L.js → ray-XCJxwQ7o.js} +5 -5
- package/{ref-CFPkge1y.js → ref-aodi9--X.js} +2 -2
- package/{regionBetweenCurveXAxis-AC7F4GrK.js → regionBetweenCurveXAxis-Cftbhpx4.js} +5 -5
- package/{regionBetweenCurves-qbIJC8zA.js → regionBetweenCurves-iHQQaSlU.js} +5 -5
- package/{row-Bb9X4otO.js → row-BpJBHUcS.js} +2 -2
- package/{rq-BjI-bBEP.js → rq-CB-trgPi.js} +2 -2
- package/{rsq-CHIPJlah.js → rsq-0Iex7a49.js} +2 -2
- package/{section-rPK9nJZX.js → section-C6xrf_Im.js} +5 -5
- package/{sha256-DT5xJ2Hv-CUrvH7_B.js → sha256-DT5xJ2Hv-DTuktF-V.js} +1 -1
- package/{sideBySide-wYX1t4JB.js → sideBySide-DLsy53Qb.js} +2 -2
- package/{slider-CRQxm2K_.js → slider-DHz33KKJ.js} +3 -3
- package/{slopeField-WrziKuxg.js → slopeField-DR3ZJPPe.js} +2 -2
- package/{solution-B75gw55-.js → solution-B_tEgOz0.js} +4 -4
- package/{spreadsheet-BqYaHTaL.js → spreadsheet-CPyKYooy.js} +2 -2
- package/{sq-CYpCZqU8.js → sq-CPSlamJx.js} +3 -3
- package/{subsetOfRealsInput-CGO12GTn.js → subsetOfRealsInput-AQlVul-1.js} +2 -2
- package/{summaryStatistics-B6kD5Gbw.js → summaryStatistics-CtuzLtPU.js} +2 -2
- package/{table-C-dSwW7z.js → table-Ap3jKMfX.js} +2 -2
- package/{tabular-CYMr_Od_.js → tabular-BjLVGw8-.js} +2 -2
- package/{tag-ra3IPI29.js → tag-BP3Nqu62.js} +2 -2
- package/{text-CzCltrII.js → text-BK_lvThf.js} +6 -6
- package/{textInput-CchuS13D.js → textInput-Bx5auCgq.js} +6 -6
- package/{tooltip-provider-Dpm--jTJ.js → tooltip-provider-DExe-zsn.js} +1 -1
- package/{useAnchoredGraphDragHandler-ojOBg_wX.js → useAnchoredGraphDragHandler-sT2-24rS.js} +1 -1
- package/useDoenetRenderer-Sg5evtuq.js +114 -0
- package/{useFieldCurve-CKj1R9bt.js → useFieldCurve-C-kZs0b8.js} +2 -2
- package/{useSubmitActionWithDelay-c4JXKKwH.js → useSubmitActionWithDelay-D-oeUrCp.js} +2 -2
- package/{vector-C6EmTDLh.js → vector-CxChiFMi.js} +6 -6
- package/{vectorField-Bcn9c6fj.js → vectorField-YCzBRZtD.js} +2 -2
- package/{video-D_BXl7GI.js → video-DkBYz7so.js} +4 -4
- package/useDoenetRenderer-BRvBgARd.js +0 -114
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { p as jsxRuntimeExports } from "./doenetml-C3eSzH_C.js";
|
|
2
2
|
import React__default, { useState, useRef, useEffect } from "react";
|
|
3
3
|
const __vite_import_meta_env__ = { "VITE_PREFIGURE_MODULE_URL": "https://cdn.jsdelivr.net/npm/@doenet/prefigure@latest/prefigure.js" };
|
|
4
4
|
const DEFAULT_PREFIGURE_BUILD_ENDPOINT = "https://prefigure.doenet.org/build";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { u as useT, F as useContentT, t as useChromeLangDir, G as useRecordVisibilityChanges, z as DocContext, p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useT, F as useContentT, t as useChromeLangDir, G as useRecordVisibilityChanges, z as DocContext, p as jsxRuntimeExports } from "./doenetml-C3eSzH_C.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-Sg5evtuq.js";
|
|
4
|
+
import { A as AnswerResponseButton } from "./AnswerResponseButton-DAl9Om6u.js";
|
|
5
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-D-oeUrCp.js";
|
|
6
6
|
const pretzel = React__default.memo(function Pretzel(props) {
|
|
7
7
|
let {
|
|
8
8
|
componentIdx,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { p as jsxRuntimeExports } from "./doenetml-C3eSzH_C.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-Sg5evtuq.js";
|
|
4
|
+
import { r as renderMarkupBody } from "./markupRenderer-B51lGya2.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 { z as DocContext, p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { z as DocContext, p as jsxRuntimeExports } from "./doenetml-C3eSzH_C.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-K05NhDU5.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-Sg5evtuq.js";
|
|
5
|
+
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-B5AscX2c.js";
|
|
6
|
+
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-gaUiSxOK.js";
|
|
7
7
|
import { a as buildLineLikeAttributes } from "./buildGraphicalAttributes-0RNcbd2S.js";
|
|
8
8
|
import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-DV6a8Wvg.js";
|
|
9
9
|
import { p as pointerEventToUserCoords } from "./dragThreshold-DuSSFrIU.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { z as DocContext, p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { z as DocContext, p as jsxRuntimeExports } from "./doenetml-C3eSzH_C.js";
|
|
2
2
|
import React__default, { useContext, useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-Sg5evtuq.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 { z as DocContext, K as createFunctionFromDefinition, p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { z as DocContext, K as createFunctionFromDefinition, p as jsxRuntimeExports } from "./doenetml-C3eSzH_C.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-K05NhDU5.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-Sg5evtuq.js";
|
|
5
|
+
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-B5AscX2c.js";
|
|
6
|
+
import { g as getPatternFillAttributes } from "./fillPatterns-BjwxeIoE.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 { z as DocContext, K as createFunctionFromDefinition, p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { z as DocContext, K as createFunctionFromDefinition, p as jsxRuntimeExports } from "./doenetml-C3eSzH_C.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-Sg5evtuq.js";
|
|
4
|
+
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-B5AscX2c.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-BjwxeIoE.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-K05NhDU5.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 { p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { p as jsxRuntimeExports } from "./doenetml-C3eSzH_C.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-Sg5evtuq.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 { p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { p as jsxRuntimeExports } from "./doenetml-C3eSzH_C.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-Sg5evtuq.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 { p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { p as jsxRuntimeExports } from "./doenetml-C3eSzH_C.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-Sg5evtuq.js";
|
|
4
4
|
const rsq = React__default.memo(function Rsq(props) {
|
|
5
5
|
let { SVs } = useDoenetRenderer(props, false);
|
|
6
6
|
if (SVs.hidden) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { u as useT, F as useContentT, N as directionOf, O as useDocumentDirection, P as chromeLangDir, q as useUiLocale, z as DocContext, I as cesc, G as useRecordVisibilityChanges, p as jsxRuntimeExports, Q as DocumentDirectionProvider } from "./doenetml-
|
|
1
|
+
import { u as useT, F as useContentT, N as directionOf, O as useDocumentDirection, P as chromeLangDir, q as useUiLocale, z as DocContext, I as cesc, G as useRecordVisibilityChanges, p as jsxRuntimeExports, Q as DocumentDirectionProvider } from "./doenetml-C3eSzH_C.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-BR2EVhtF.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-Sg5evtuq.js";
|
|
6
|
+
import { a as addCommasForCompositeRanges } from "./composites-DkUXnk7N.js";
|
|
7
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-D-oeUrCp.js";
|
|
8
8
|
import { c as clickToToggleLabel } from "./disclosure-axyZa36E.js";
|
|
9
9
|
const section = React__default.memo(function Section(props) {
|
|
10
10
|
let { id, SVs, children, actions, callAction } = useDoenetRenderer(props);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-C3eSzH_C.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-Sg5evtuq.js";
|
|
4
4
|
import { a as getBlockMarginWithOptionalTopSuppression } from "./nonInlineMediaLayout-CkXHaqzo.js";
|
|
5
5
|
function isWhitespaceTextChild(child) {
|
|
6
6
|
return typeof child === "string" && child.trim() === "";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { u as useT, p as jsxRuntimeExports, R as ActionButtonGroup, S as ActionButton, H as Context } from "./doenetml-
|
|
1
|
+
import { u as useT, p as jsxRuntimeExports, R as ActionButtonGroup, S as ActionButton, H as Context } from "./doenetml-C3eSzH_C.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-Sg5evtuq.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-fkR6K5hc.js";
|
|
6
6
|
import { l as ltrIslandProps } from "./direction-BwrU7jHk.js";
|
|
7
7
|
let round_to_decimals = (x, n) => {
|
|
8
8
|
try {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React__default from "react";
|
|
2
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
-
import { u as useFieldFunction, a as useFieldCurve, b as buildSlopeFieldData } from "./useFieldCurve-
|
|
2
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-Sg5evtuq.js";
|
|
3
|
+
import { u as useFieldFunction, a as useFieldCurve, b as buildSlopeFieldData } from "./useFieldCurve-C-kZs0b8.js";
|
|
4
4
|
const slopeField = React__default.memo(function SlopeField(props) {
|
|
5
5
|
let { SVs } = useDoenetRenderer(props);
|
|
6
6
|
SlopeField.ignoreActionsWithoutCore = () => true;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { u as useT, G as useRecordVisibilityChanges, t as useChromeLangDir, p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useT, G as useRecordVisibilityChanges, t as useChromeLangDir, p as jsxRuntimeExports } from "./doenetml-C3eSzH_C.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-Sg5evtuq.js";
|
|
4
|
+
import { F as FontAwesomeIcon } from "./index.es-BR2EVhtF.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-DkUXnk7N.js";
|
|
7
7
|
import { c as clickToToggleLabel } from "./disclosure-axyZa36E.js";
|
|
8
8
|
const solution = React__default.memo(function Solution(props) {
|
|
9
9
|
let { id, SVs, children, actions, callAction } = useDoenetRenderer(props);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { z as DocContext, G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { z as DocContext, G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-C3eSzH_C.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-Sg5evtuq.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 { p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { p as jsxRuntimeExports } from "./doenetml-C3eSzH_C.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-Sg5evtuq.js";
|
|
4
|
+
import { r as renderMarkupBody } from "./markupRenderer-B51lGya2.js";
|
|
5
5
|
const sq = React__default.memo(function Sq(props) {
|
|
6
6
|
const { SVs, children } = useDoenetRenderer(props);
|
|
7
7
|
const body = renderMarkupBody({ SVs, children });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { u as useT, G as useRecordVisibilityChanges, p as jsxRuntimeExports, W as ToggleButtonGroup, U as ToggleButton, R as ActionButtonGroup, S as ActionButton } from "./doenetml-
|
|
1
|
+
import { u as useT, G as useRecordVisibilityChanges, p as jsxRuntimeExports, W as ToggleButtonGroup, U as ToggleButton, R as ActionButtonGroup, S as ActionButton } from "./doenetml-C3eSzH_C.js";
|
|
2
2
|
import React__default, { useState, useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-Sg5evtuq.js";
|
|
4
4
|
import { l as ltrIslandProps } from "./direction-BwrU7jHk.js";
|
|
5
5
|
const subsetOfRealsInput = React__default.memo(function subsetOfReals(props) {
|
|
6
6
|
let { id, SVs, actions, callAction } = useDoenetRenderer(props, false);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { u as useT, t as useChromeLangDir, G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useT, t as useChromeLangDir, G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-C3eSzH_C.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-Sg5evtuq.js";
|
|
4
4
|
import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
|
|
5
5
|
const summaryStatistics = React__default.memo(function SummaryStatistics(props) {
|
|
6
6
|
let { id, SVs, actions, callAction } = useDoenetRenderer(props);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-C3eSzH_C.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-Sg5evtuq.js";
|
|
4
4
|
const table = React__default.memo(function Table(props) {
|
|
5
5
|
let { id, SVs, children, actions, callAction } = useDoenetRenderer(props);
|
|
6
6
|
const ref = useRef(null);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-C3eSzH_C.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-Sg5evtuq.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 { p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { p as jsxRuntimeExports } from "./doenetml-C3eSzH_C.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-Sg5evtuq.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 { z as DocContext, H as Context, p as jsxRuntimeExports, A as textRendererStyle } from "./doenetml-
|
|
1
|
+
import { z as DocContext, H as Context, p as jsxRuntimeExports, A as textRendererStyle } from "./doenetml-C3eSzH_C.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-K05NhDU5.js";
|
|
4
|
+
import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-B5AscX2c.js";
|
|
5
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-Sg5evtuq.js";
|
|
6
6
|
import { g as getPositionFromAnchorByCoordinate } from "./graph-W6vrFcBu.js";
|
|
7
|
-
import { ChoiceInputInlineContext } from "./choiceInput-
|
|
7
|
+
import { ChoiceInputInlineContext } from "./choiceInput-BzaempIr.js";
|
|
8
8
|
import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-DV6a8Wvg.js";
|
|
9
9
|
import { u as useDraggableRefs } from "./useDraggableRefs-QaTfkVuD.js";
|
|
10
|
-
import { d as detachAnchoredGraphElement, a as attachAnchoredGraphDragHandlers } from "./useAnchoredGraphDragHandler-
|
|
10
|
+
import { d as detachAnchoredGraphElement, a as attachAnchoredGraphDragHandlers } from "./useAnchoredGraphDragHandler-sT2-24rS.js";
|
|
11
11
|
import { u as useJSXGraphCleanup } from "./useJSXGraphCleanup-BNk4sn6x.js";
|
|
12
12
|
const text = React__default.memo(function Text(props) {
|
|
13
13
|
let { componentIdx, id, SVs, actions, callAction } = useDoenetRenderer(props);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { F as useContentT, H as Context, p as jsxRuntimeExports, T as MathJax } from "./doenetml-
|
|
1
|
+
import { F as useContentT, H as Context, p as jsxRuntimeExports, T as MathJax } from "./doenetml-C3eSzH_C.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-K05NhDU5.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-Sg5evtuq.js";
|
|
5
5
|
import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
|
|
6
|
-
import { BoardContext } from "./graph-
|
|
6
|
+
import { BoardContext } from "./graph-B5AscX2c.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-D-oeUrCp.js";
|
|
9
|
+
import { D as DescriptionPopover } from "./Description-hSj9G9ap.js";
|
|
10
10
|
import { a as addValidationStateToShortDescription } from "./validationState-DI_lxk1a.js";
|
|
11
11
|
function TextInput(props) {
|
|
12
12
|
let { id, SVs, children, actions, ignoreUpdate, callAction } = useDoenetRenderer(props);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ae as createStoreContext, af as HovercardScopedContextProvider, ag as HovercardContextProvider, ah as createDialogComponent, Y as forwardRef, Z as createElement, $ as createHook, a1 as invariant, ai as useWrapElement, p as jsxRuntimeExports, a2 as useStoreState, aj as useHovercard, ak as isFalsyBooleanCallback, al as contains, am as sync, an as chain, ao as useEvent, ap as useHovercardAnchor, aq as createStore, ar as createHovercardStore, as as defaultValue, at as useStore, au as useStoreProps, av as useHovercardStoreProps } from "./doenetml-
|
|
1
|
+
import { ae as createStoreContext, af as HovercardScopedContextProvider, ag as HovercardContextProvider, ah as createDialogComponent, Y as forwardRef, Z as createElement, $ as createHook, a1 as invariant, ai as useWrapElement, p as jsxRuntimeExports, a2 as useStoreState, aj as useHovercard, ak as isFalsyBooleanCallback, al as contains, am as sync, an as chain, ao as useEvent, ap as useHovercardAnchor, aq as createStore, ar as createHovercardStore, as as defaultValue, at as useStore, au as useStoreProps, av as useHovercardStoreProps } from "./doenetml-C3eSzH_C.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-K05NhDU5.js";
|
|
2
2
|
import { e as exceededDragThreshold, p as pointerEventToUserCoords } from "./dragThreshold-DuSSFrIU.js";
|
|
3
3
|
function attachAnchoredGraphDragHandlers(params) {
|
|
4
4
|
const {
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import { w as useAppSelector, x as mainSlice, y as renderersLoadComponent, _ as __variableDynamicImportRuntimeHelper } from "./doenetml-C3eSzH_C.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-GJkrNPgK.js"), "./renderers/JSXGraphRenderer.tsx": () => import("./JSXGraphRenderer-K05NhDU5.js").then((n) => n.m), "./renderers/_error.tsx": () => import("./_error-D6HkQe3V.js"), "./renderers/alert.tsx": () => import("./alert-CoNeiRQa.js"), "./renderers/angle.tsx": () => import("./angle-Hh7nliIB.js"), "./renderers/answer.tsx": () => import("./answer-x3knFK7x.js"), "./renderers/asList.tsx": () => import("./asList-HySGZdpK.js"), "./renderers/blockQuote.tsx": () => import("./blockQuote-q41xD3em.js"), "./renderers/boolean.tsx": () => import("./boolean-DgJzdVDU.js"), "./renderers/booleanInput.tsx": () => import("./booleanInput-CkFWDubb.js"), "./renderers/br.tsx": () => import("./br-Bk5-k8JO.js"), "./renderers/button.tsx": () => import("./button-CejH_cth.js"), "./renderers/c.tsx": () => import("./c-A28OKW-i.js"), "./renderers/cell.tsx": () => import("./cell-BJOs6BhM.js"), "./renderers/choiceInput.tsx": () => import("./choiceInput-BzaempIr.js"), "./renderers/circle.tsx": () => import("./circle-ByUceWBI.js"), "./renderers/cobwebPolyline.tsx": () => import("./cobwebPolyline-IHa0A4yo.js"), "./renderers/codeEditor.tsx": () => import("./codeEditor-C93H5Kqw.js"), "./renderers/containerBlock.tsx": () => import("./containerBlock-BjkmgyM6.js"), "./renderers/containerInline.tsx": () => import("./containerInline-DrdT22H_.js"), "./renderers/curve.tsx": () => import("./curve-DM4TO0eS.js"), "./renderers/ellipsis.tsx": () => import("./ellipsis-BOBl6ioA.js"), "./renderers/em.tsx": () => import("./em-DTaaWekA.js"), "./renderers/embed.tsx": () => import("./embed-C1Hyeqny.js"), "./renderers/feedback.tsx": () => import("./feedback-C3gdwozR.js"), "./renderers/figure.tsx": () => import("./figure-DD9zJe3l.js"), "./renderers/footnote.tsx": () => import("./footnote-BPozmvL5.js"), "./renderers/fractionInput.tsx": () => import("./fractionInput-MHR1pX-h.js"), "./renderers/graph.tsx": () => import("./graph-B5AscX2c.js"), "./renderers/hint.tsx": () => import("./hint-CNTMt_3w.js"), "./renderers/hr.tsx": () => import("./hr-fqKO8RzA.js"), "./renderers/image.tsx": () => import("./image-De-XfOwN.js"), "./renderers/label.tsx": () => import("./label-BdYkE8ZO.js"), "./renderers/legend.tsx": () => import("./legend-KXPqpSeu.js"), "./renderers/line.tsx": () => import("./line-DZvEBQbW.js"), "./renderers/lineSegment.tsx": () => import("./lineSegment-BcZJ2PS0.js"), "./renderers/list.tsx": () => import("./list-sN-X1UPg.js"), "./renderers/lq.tsx": () => import("./lq-1P5wghnE.js"), "./renderers/lsq.tsx": () => import("./lsq-CgswuIeH.js"), "./renderers/math.tsx": () => import("./math-BNrAECUk.js"), "./renderers/mathInput.tsx": () => import("./mathInput-8CmNp3Au.js"), "./renderers/matrixInput.tsx": () => import("./matrixInput-BCmnRz8T.js"), "./renderers/mdash.tsx": () => import("./mdash-BwbgV72V.js"), "./renderers/nbsp.tsx": () => import("./nbsp-VRxl-Uej.js"), "./renderers/ndash.tsx": () => import("./ndash-DLIJi0Bj.js"), "./renderers/number.tsx": () => import("./number-DArqeUKf.js"), "./renderers/orbitalDiagram.tsx": () => import("./orbitalDiagram-DtPpWu90.js"), "./renderers/orbitalDiagramInput.tsx": () => import("./orbitalDiagramInput-T6KRfG56.js"), "./renderers/p.tsx": () => import("./p-C5armc3j.js"), "./renderers/paginatorControls.tsx": () => import("./paginatorControls-hJglm6xh.js"), "./renderers/pegboard.tsx": () => import("./pegboard-D4eihwy9.js"), "./renderers/point.tsx": () => import("./point-DMLpLDFV.js"), "./renderers/polygon.tsx": () => import("./polygon-B2xyIYOm.js"), "./renderers/polyline.tsx": () => import("./polyline-C4YTzDi0.js"), "./renderers/pre.tsx": () => import("./pre-BHkwflwJ.js"), "./renderers/prefigure.tsx": () => import("./prefigure-D5qS0uWh.js"), "./renderers/pretzel.tsx": () => import("./pretzel-B08FBW0O.js"), "./renderers/q.tsx": () => import("./q-B4ox3jFT.js"), "./renderers/ray.tsx": () => import("./ray-XCJxwQ7o.js"), "./renderers/ref.tsx": () => import("./ref-aodi9--X.js"), "./renderers/regionBetweenCurveXAxis.tsx": () => import("./regionBetweenCurveXAxis-Cftbhpx4.js"), "./renderers/regionBetweenCurves.tsx": () => import("./regionBetweenCurves-iHQQaSlU.js"), "./renderers/row.tsx": () => import("./row-BpJBHUcS.js"), "./renderers/rq.tsx": () => import("./rq-CB-trgPi.js"), "./renderers/rsq.tsx": () => import("./rsq-0Iex7a49.js"), "./renderers/section.tsx": () => import("./section-C6xrf_Im.js"), "./renderers/sideBySide.tsx": () => import("./sideBySide-DLsy53Qb.js"), "./renderers/slider.tsx": () => import("./slider-DHz33KKJ.js"), "./renderers/slopeField.tsx": () => import("./slopeField-DR3ZJPPe.js"), "./renderers/solution.tsx": () => import("./solution-B_tEgOz0.js"), "./renderers/spreadsheet.tsx": () => import("./spreadsheet-CPyKYooy.js"), "./renderers/sq.tsx": () => import("./sq-CPSlamJx.js"), "./renderers/subsetOfRealsInput.tsx": () => import("./subsetOfRealsInput-AQlVul-1.js"), "./renderers/summaryStatistics.tsx": () => import("./summaryStatistics-CtuzLtPU.js"), "./renderers/table.tsx": () => import("./table-Ap3jKMfX.js"), "./renderers/tabular.tsx": () => import("./tabular-BjLVGw8-.js"), "./renderers/tag.tsx": () => import("./tag-BP3Nqu62.js"), "./renderers/text.tsx": () => import("./text-BK_lvThf.js"), "./renderers/textInput.tsx": () => import("./textInput-Bx5auCgq.js"), "./renderers/vector.tsx": () => import("./vector-CxChiFMi.js"), "./renderers/vectorField.tsx": () => import("./vectorField-YCzBRZtD.js"), "./renderers/video.tsx": () => import("./video-DkBYz7so.js") }), `./renderers/${childInstructions.rendererType}.tsx`, 3);
|
|
71
|
+
}
|
|
72
|
+
return rendererLoaders;
|
|
73
|
+
});
|
|
74
|
+
}
|
|
75
|
+
return null;
|
|
76
|
+
}
|
|
77
|
+
let child = React__default.createElement(rendererClass, propsForChild);
|
|
78
|
+
return child;
|
|
79
|
+
}
|
|
80
|
+
let rendererType = props.componentInstructions.rendererType;
|
|
81
|
+
const callAction = (argObj) => {
|
|
82
|
+
if (!argObj.componentIdx) {
|
|
83
|
+
argObj = { ...argObj };
|
|
84
|
+
argObj.componentIdx = componentIdx;
|
|
85
|
+
}
|
|
86
|
+
if (!argObj.rendererType) {
|
|
87
|
+
argObj = { ...argObj };
|
|
88
|
+
argObj.rendererType = rendererType;
|
|
89
|
+
}
|
|
90
|
+
return props.callAction(argObj);
|
|
91
|
+
};
|
|
92
|
+
return {
|
|
93
|
+
componentIdx: effectiveIdx,
|
|
94
|
+
id: prefixForIds + id,
|
|
95
|
+
SVs: stateValues,
|
|
96
|
+
docId: props.docId,
|
|
97
|
+
activityId: props.activityId,
|
|
98
|
+
actions,
|
|
99
|
+
children,
|
|
100
|
+
sourceOfUpdate,
|
|
101
|
+
ignoreUpdate,
|
|
102
|
+
rendererName,
|
|
103
|
+
initializeChildren: () => {
|
|
104
|
+
},
|
|
105
|
+
callAction,
|
|
106
|
+
doenetViewerUrl: props.doenetViewerUrl,
|
|
107
|
+
fetchExternalDoenetML: props.fetchExternalDoenetML,
|
|
108
|
+
requestScrollTo: props.requestScrollTo,
|
|
109
|
+
flags: props.flags
|
|
110
|
+
};
|
|
111
|
+
}
|
|
112
|
+
export {
|
|
113
|
+
useDoenetRenderer as u
|
|
114
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useMemo, useContext, useRef } from "react";
|
|
2
|
-
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-
|
|
3
|
-
import { K as createFunctionFromDefinition, z as DocContext } from "./doenetml-
|
|
2
|
+
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-B5AscX2c.js";
|
|
3
|
+
import { K as createFunctionFromDefinition, z as DocContext } from "./doenetml-C3eSzH_C.js";
|
|
4
4
|
import { s as styleToDash } from "./styleToDash-DWb71gbd.js";
|
|
5
5
|
import { u as useJSXGraphCleanup } from "./useJSXGraphCleanup-BNk4sn6x.js";
|
|
6
6
|
function fieldFunctionFromDefinition(fDefinition) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { p as jsxRuntimeExports } from "./doenetml-
|
|
2
|
-
import { F as FontAwesomeIcon } from "./index.es-
|
|
1
|
+
import { p as jsxRuntimeExports } from "./doenetml-C3eSzH_C.js";
|
|
2
|
+
import { F as FontAwesomeIcon } from "./index.es-BR2EVhtF.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 { z as DocContext, p as jsxRuntimeExports, A as textRendererStyle, B as DynamicMath } from "./doenetml-
|
|
1
|
+
import { z as DocContext, p as jsxRuntimeExports, A as textRendererStyle, B as DynamicMath } from "./doenetml-C3eSzH_C.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-K05NhDU5.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-Sg5evtuq.js";
|
|
5
|
+
import { BoardContext, VERTEX_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-B5AscX2c.js";
|
|
6
|
+
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-gaUiSxOK.js";
|
|
7
|
+
import { ChoiceInputInlineContext } from "./choiceInput-BzaempIr.js";
|
|
8
8
|
import { a as buildLineLikeAttributes, c as buildDragHandleAttributes } from "./buildGraphicalAttributes-0RNcbd2S.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,6 +1,6 @@
|
|
|
1
1
|
import React__default from "react";
|
|
2
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
-
import { u as useFieldFunction, a as useFieldCurve, c as buildVectorFieldData } from "./useFieldCurve-
|
|
2
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-Sg5evtuq.js";
|
|
3
|
+
import { u as useFieldFunction, a as useFieldCurve, c as buildVectorFieldData } from "./useFieldCurve-C-kZs0b8.js";
|
|
4
4
|
const vectorField = React__default.memo(function VectorField(props) {
|
|
5
5
|
let { SVs } = useDoenetRenderer(props);
|
|
6
6
|
VectorField.ignoreActionsWithoutCore = () => true;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-C3eSzH_C.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-Sg5evtuq.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-hSj9G9ap.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-CqWmkKcp.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;
|