@doenet/doenetml 0.7.24-dev.477 → 0.7.24
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-aPQaDMUt.js → AnswerResponseButton-BqNwehYN.js} +2 -2
- package/{Description-8nwo82pu.js → Description-CT4yGTXo.js} +1 -1
- package/{GraphFrame-0BfaSLNv.js → GraphFrame-BT0qI4HP.js} +2 -2
- package/{JSXGraphRenderer-C1fZWH1R.js → JSXGraphRenderer-DqztT0b_.js} +1 -1
- package/{NonInlineMediaWrapper-Cy1E6aM3.js → NonInlineMediaWrapper-CDL58Jka.js} +1 -1
- package/{_error-C4CyvUN2.js → _error-0hxwRKyI.js} +2 -2
- package/{alert-B8AMKg-t.js → alert-DAelPjIo.js} +3 -3
- package/{angle-B9uMDRa_.js → angle-CyEGLi6f.js} +6 -6
- package/{answer-C0lnHBvW.js → answer-DBYVsl7b.js} +5 -5
- package/{asList-CjdXg8q5.js → asList-BWzBo58Q.js} +2 -2
- package/{blockQuote-DG9ISsHL.js → blockQuote-D8BSjTel.js} +3 -3
- package/{boolean-C4Mp63T4.js → boolean-DIYqr0QG.js} +2 -2
- package/{booleanInput-CFkxF7Y4.js → booleanInput-l3N3T73Q.js} +6 -6
- package/{br-CQ7gYZ55.js → br-CvOrij_Z.js} +2 -2
- package/{button-D70rMke2.js → button-CJa5-WxJ.js} +4 -4
- package/{c-CWOcBC3l.js → c-BB6YShlx.js} +3 -3
- package/{cell-mIsm1mqB.js → cell-CzE6yOEj.js} +3 -3
- package/{choiceInput-DOGL0avg.js → choiceInput-BkzhG08l.js} +4 -4
- package/{circle-BDgAKtya.js → circle-aKY1SDrQ.js} +6 -6
- package/{cobwebPolyline-tv1R9Hwl.js → cobwebPolyline-xEpEYTEY.js} +4 -4
- package/{codeEditor-D3kQ_amC.js → codeEditor-BbrjJD38.js} +2 -2
- package/{composites-CT7iKBdT.js → composites-ELa40eCS.js} +1 -1
- package/{containerBlock-rhZYD0EF.js → containerBlock-CXp8A_ep.js} +4 -4
- package/{containerInline-C1sseSW4.js → containerInline-CUfFSO03.js} +4 -4
- package/{curve-PxPcjbpS.js → curve-MlORvD4a.js} +4 -4
- package/{doenetml-BjP0WvIu.js → doenetml-C8XgCMpq.js} +5 -5
- package/doenetml-external-worker.js +2 -2
- package/doenetml-inline-worker.js +2 -2
- package/{ellipsis-CBGrRZtt.js → ellipsis-Sv5sZe5b.js} +2 -2
- package/{em-ByLTp4or.js → em-CKcnaZqQ.js} +3 -3
- package/{embed-pe2eAN8h.js → embed-jljgf_-L.js} +2 -2
- package/{feedback-BTyGjqfC.js → feedback-CP-Jf61Z.js} +4 -4
- package/{figure-DKiVzs95.js → figure-CEydNiGq.js} +3 -3
- package/{fillPatterns-9iqTf39s.js → fillPatterns-BdUEQV_t.js} +1 -1
- package/{footnote-N-IMV6pg.js → footnote-aqS-x7dP.js} +3 -3
- package/{fractionInput-Bhp7wWhz.js → fractionInput-49q-6gSk.js} +4 -4
- package/{graph-DMUq-fng.js → graph-C7AbnYpt.js} +6 -6
- package/{hint-D2887XYx.js → hint-BDM8RomA.js} +4 -4
- package/{hr-D0LqYlcc.js → hr-YZuW0D88.js} +2 -2
- package/{image-t1rVW4Ol.js → image--1CHwuG1.js} +7 -7
- package/{index-BmCBm3xk.js → index-BjMy0mEf.js} +1 -1
- package/{index.es-DyvW-EpO.js → index.es-B7vf7QHo.js} +1 -1
- package/index.js +1 -1
- package/{label-CYT9vjLt.js → label-C9jfRVx4.js} +6 -6
- package/{labelWithLatex-DQZdlIZV.js → labelWithLatex-D1uyQTzg.js} +1 -1
- package/{legend-C1c9BETW.js → legend-NRgxv7E9.js} +4 -4
- package/{line-lRpBctfB.js → line-MFV952_v.js} +6 -6
- package/{lineFamilyDragHandlers-BSIDZubQ.js → lineFamilyDragHandlers-B0qLeSsx.js} +1 -1
- package/{lineSegment-DV0p-_2Y.js → lineSegment-DE82JBrY.js} +5 -5
- package/{list-BZf6gezJ.js → list-BzhUhUn4.js} +4 -4
- package/{lq-DAKgsXSr.js → lq-CSu1VGKJ.js} +2 -2
- package/{lsq-DPlEC_ST.js → lsq-DvqU-qt-.js} +2 -2
- package/{markupRenderer-CXkDBYxG.js → markupRenderer-Cv86x_45.js} +1 -1
- package/{math-DrnKGXzO.js → math-Di9QFXTG.js} +6 -6
- package/{mathInput-DL7XITPP.js → mathInput-C9VHEcTK.js} +7 -7
- package/{matrixInput-Bd5cCvjn.js → matrixInput-CslYNJNt.js} +4 -4
- package/{mdash-C-7U2Bax.js → mdash-Dfr27onD.js} +2 -2
- package/{nbsp-D1jUo7rq.js → nbsp-BBByJUoX.js} +2 -2
- package/{ndash-CiLQH-zf.js → ndash-KoOBFhqL.js} +2 -2
- package/{number-IcIJpeC_.js → number-BeyMe6Iq.js} +6 -6
- package/{orbitalDiagram-CP29oSMp.js → orbitalDiagram-DzCH-fLM.js} +2 -2
- package/{orbitalDiagramInput-D_87stXt.js → orbitalDiagramInput-DFnaJPhH.js} +2 -2
- package/{p-DHCJgCab.js → p-CV86ld3L.js} +4 -4
- package/package.json +1 -1
- package/{paginatorControls-C4Svt-9x.js → paginatorControls-BqKMzTmi.js} +2 -2
- package/{pegboard-BT49b6W8.js → pegboard-C_POBRBE.js} +4 -4
- package/{point-BdDXxn3m.js → point-OJNZrNYT.js} +6 -6
- package/{polygon-hCWmOBt4.js → polygon-x6ERM-gd.js} +6 -6
- package/{polyline-D3mjAhQ6.js → polyline-3PKX1a5d.js} +5 -5
- package/{pre-DJ_4xJly.js → pre-BpOfIjGo.js} +3 -3
- package/{prefigure-zwWkSh1P.js → prefigure-CZXlq7rP.js} +2 -2
- package/{pretzel-BFpWpD-6.js → pretzel-C8EkrqZO.js} +4 -4
- package/{q-BjCsE104.js → q-CZSiXB7S.js} +3 -3
- package/{ray-88GwhC6H.js → ray-C1Dobb0K.js} +5 -5
- package/{ref-CtnKPNum.js → ref-ChwEw1v4.js} +2 -2
- package/{regionBetweenCurveXAxis-DrTl_q9k.js → regionBetweenCurveXAxis-BxsbNr6F.js} +5 -5
- package/{regionBetweenCurves-B9jjCj4E.js → regionBetweenCurves-Cj_8xMVL.js} +5 -5
- package/{row-FNx2L0lC.js → row-zKcXPDjv.js} +2 -2
- package/{rq-CgeD2lGv.js → rq-svqn_qpI.js} +2 -2
- package/{rsq-DrrGfKIV.js → rsq-DQdlhuZL.js} +2 -2
- package/{section-B53fqkrJ.js → section-E6H_zIQH.js} +5 -5
- package/{sha256-DT5xJ2Hv-D_0mou8P.js → sha256-DT5xJ2Hv-D_RRSzhF.js} +1 -1
- package/{sideBySide-DdncJoEF.js → sideBySide-CFd9UMcu.js} +2 -2
- package/{slider-DYB7rO6t.js → slider-CgvL4nHX.js} +3 -3
- package/{slopeField-CCehOW33.js → slopeField-20Jmaq4M.js} +2 -2
- package/{solution-Cd_vzC_6.js → solution-CauCeA40.js} +4 -4
- package/{spreadsheet-CLqxVEgL.js → spreadsheet-IuDPLJAF.js} +2 -2
- package/{sq-CGpbtbTe.js → sq-MCo07QiU.js} +3 -3
- package/{subsetOfRealsInput-KArYGz1K.js → subsetOfRealsInput-BMKttfiO.js} +2 -2
- package/{summaryStatistics-D8L06SAl.js → summaryStatistics-aHQO8lS9.js} +2 -2
- package/{table-KVRgUDrD.js → table-DLFauhtj.js} +2 -2
- package/{tabular-BksBkJ8Z.js → tabular-DIywhstV.js} +2 -2
- package/{tag-CHjDRiWL.js → tag-CB8FYL56.js} +2 -2
- package/{text-BvsAwjC4.js → text-D5LcHXWS.js} +6 -6
- package/{textInput-BOXUaY5U.js → textInput-DEpyFmCs.js} +6 -6
- package/{tooltip-provider-DZDgUO4Z.js → tooltip-provider-rWNnSbV0.js} +1 -1
- package/{useAnchoredGraphDragHandler-77XAXL_L.js → useAnchoredGraphDragHandler-BqIBAokj.js} +1 -1
- package/useDoenetRenderer-DIT1FQuw.js +114 -0
- package/{useFieldCurve-Df_9A1Nv.js → useFieldCurve-_tg3L2pb.js} +2 -2
- package/{useSubmitActionWithDelay-3L5EbdZz.js → useSubmitActionWithDelay-B0Zo-puT.js} +2 -2
- package/{vector-DRCCQTQI.js → vector-Cu1JeJxM.js} +6 -6
- package/{vectorField-Bjdk_aSf.js → vectorField-BQd8DWE1.js} +2 -2
- package/{video-DKtUJ-yZ.js → video-DDfW6mpd.js} +4 -4
- package/useDoenetRenderer-C2GyDhg8.js +0 -114
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { p as jsxRuntimeExports } from "./doenetml-C8XgCMpq.js";
|
|
2
2
|
import React__default, { useState, useRef, useEffect } from "react";
|
|
3
|
-
const __vite_import_meta_env__ = {
|
|
3
|
+
const __vite_import_meta_env__ = {};
|
|
4
4
|
const DEFAULT_PREFIGURE_BUILD_ENDPOINT = "https://prefigure.doenet.org/build";
|
|
5
5
|
const DEFAULT_PREFIGURE_DIAGCESS_SCRIPT_URL = "https://cdn.jsdelivr.net/npm/diagcess@1.4.1/dist/diagcess.js";
|
|
6
6
|
const DEFAULT_PREFIGURE_MODULE_URL = "https://cdn.jsdelivr.net/npm/@doenet/prefigure@0.6.7/prefigure.js";
|
|
@@ -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-C8XgCMpq.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-DIT1FQuw.js";
|
|
4
|
+
import { A as AnswerResponseButton } from "./AnswerResponseButton-BqNwehYN.js";
|
|
5
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-B0Zo-puT.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-C8XgCMpq.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-DIT1FQuw.js";
|
|
4
|
+
import { r as renderMarkupBody } from "./markupRenderer-Cv86x_45.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-C8XgCMpq.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-DqztT0b_.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DIT1FQuw.js";
|
|
5
|
+
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-C7AbnYpt.js";
|
|
6
|
+
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-B0qLeSsx.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-C8XgCMpq.js";
|
|
2
2
|
import React__default, { useContext, useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DIT1FQuw.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-C8XgCMpq.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-DqztT0b_.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DIT1FQuw.js";
|
|
5
|
+
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-C7AbnYpt.js";
|
|
6
|
+
import { g as getPatternFillAttributes } from "./fillPatterns-BdUEQV_t.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-C8XgCMpq.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-DIT1FQuw.js";
|
|
4
|
+
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-C7AbnYpt.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-BdUEQV_t.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-DqztT0b_.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-C8XgCMpq.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DIT1FQuw.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-C8XgCMpq.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DIT1FQuw.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-C8XgCMpq.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DIT1FQuw.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-C8XgCMpq.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-B7vf7QHo.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-DIT1FQuw.js";
|
|
6
|
+
import { a as addCommasForCompositeRanges } from "./composites-ELa40eCS.js";
|
|
7
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-B0Zo-puT.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-C8XgCMpq.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DIT1FQuw.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-C8XgCMpq.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-DIT1FQuw.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-D1uyQTzg.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-DIT1FQuw.js";
|
|
3
|
+
import { u as useFieldFunction, a as useFieldCurve, b as buildSlopeFieldData } from "./useFieldCurve-_tg3L2pb.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-C8XgCMpq.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-DIT1FQuw.js";
|
|
4
|
+
import { F as FontAwesomeIcon } from "./index.es-B7vf7QHo.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-ELa40eCS.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-C8XgCMpq.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-DIT1FQuw.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-C8XgCMpq.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-DIT1FQuw.js";
|
|
4
|
+
import { r as renderMarkupBody } from "./markupRenderer-Cv86x_45.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-C8XgCMpq.js";
|
|
2
2
|
import React__default, { useState, useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DIT1FQuw.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-C8XgCMpq.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DIT1FQuw.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-C8XgCMpq.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DIT1FQuw.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-C8XgCMpq.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DIT1FQuw.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-C8XgCMpq.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DIT1FQuw.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-C8XgCMpq.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-DqztT0b_.js";
|
|
4
|
+
import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-C7AbnYpt.js";
|
|
5
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DIT1FQuw.js";
|
|
6
6
|
import { g as getPositionFromAnchorByCoordinate } from "./graph-W6vrFcBu.js";
|
|
7
|
-
import { ChoiceInputInlineContext } from "./choiceInput-
|
|
7
|
+
import { ChoiceInputInlineContext } from "./choiceInput-BkzhG08l.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-BqIBAokj.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-C8XgCMpq.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-DqztT0b_.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DIT1FQuw.js";
|
|
5
5
|
import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
|
|
6
|
-
import { BoardContext } from "./graph-
|
|
6
|
+
import { BoardContext } from "./graph-C7AbnYpt.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-B0Zo-puT.js";
|
|
9
|
+
import { D as DescriptionPopover } from "./Description-CT4yGTXo.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-C8XgCMpq.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-DqztT0b_.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-C8XgCMpq.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-BT0qI4HP.js"), "./renderers/JSXGraphRenderer.tsx": () => import("./JSXGraphRenderer-DqztT0b_.js").then((n) => n.m), "./renderers/_error.tsx": () => import("./_error-0hxwRKyI.js"), "./renderers/alert.tsx": () => import("./alert-DAelPjIo.js"), "./renderers/angle.tsx": () => import("./angle-CyEGLi6f.js"), "./renderers/answer.tsx": () => import("./answer-DBYVsl7b.js"), "./renderers/asList.tsx": () => import("./asList-BWzBo58Q.js"), "./renderers/blockQuote.tsx": () => import("./blockQuote-D8BSjTel.js"), "./renderers/boolean.tsx": () => import("./boolean-DIYqr0QG.js"), "./renderers/booleanInput.tsx": () => import("./booleanInput-l3N3T73Q.js"), "./renderers/br.tsx": () => import("./br-CvOrij_Z.js"), "./renderers/button.tsx": () => import("./button-CJa5-WxJ.js"), "./renderers/c.tsx": () => import("./c-BB6YShlx.js"), "./renderers/cell.tsx": () => import("./cell-CzE6yOEj.js"), "./renderers/choiceInput.tsx": () => import("./choiceInput-BkzhG08l.js"), "./renderers/circle.tsx": () => import("./circle-aKY1SDrQ.js"), "./renderers/cobwebPolyline.tsx": () => import("./cobwebPolyline-xEpEYTEY.js"), "./renderers/codeEditor.tsx": () => import("./codeEditor-BbrjJD38.js"), "./renderers/containerBlock.tsx": () => import("./containerBlock-CXp8A_ep.js"), "./renderers/containerInline.tsx": () => import("./containerInline-CUfFSO03.js"), "./renderers/curve.tsx": () => import("./curve-MlORvD4a.js"), "./renderers/ellipsis.tsx": () => import("./ellipsis-Sv5sZe5b.js"), "./renderers/em.tsx": () => import("./em-CKcnaZqQ.js"), "./renderers/embed.tsx": () => import("./embed-jljgf_-L.js"), "./renderers/feedback.tsx": () => import("./feedback-CP-Jf61Z.js"), "./renderers/figure.tsx": () => import("./figure-CEydNiGq.js"), "./renderers/footnote.tsx": () => import("./footnote-aqS-x7dP.js"), "./renderers/fractionInput.tsx": () => import("./fractionInput-49q-6gSk.js"), "./renderers/graph.tsx": () => import("./graph-C7AbnYpt.js"), "./renderers/hint.tsx": () => import("./hint-BDM8RomA.js"), "./renderers/hr.tsx": () => import("./hr-YZuW0D88.js"), "./renderers/image.tsx": () => import("./image--1CHwuG1.js"), "./renderers/label.tsx": () => import("./label-C9jfRVx4.js"), "./renderers/legend.tsx": () => import("./legend-NRgxv7E9.js"), "./renderers/line.tsx": () => import("./line-MFV952_v.js"), "./renderers/lineSegment.tsx": () => import("./lineSegment-DE82JBrY.js"), "./renderers/list.tsx": () => import("./list-BzhUhUn4.js"), "./renderers/lq.tsx": () => import("./lq-CSu1VGKJ.js"), "./renderers/lsq.tsx": () => import("./lsq-DvqU-qt-.js"), "./renderers/math.tsx": () => import("./math-Di9QFXTG.js"), "./renderers/mathInput.tsx": () => import("./mathInput-C9VHEcTK.js"), "./renderers/matrixInput.tsx": () => import("./matrixInput-CslYNJNt.js"), "./renderers/mdash.tsx": () => import("./mdash-Dfr27onD.js"), "./renderers/nbsp.tsx": () => import("./nbsp-BBByJUoX.js"), "./renderers/ndash.tsx": () => import("./ndash-KoOBFhqL.js"), "./renderers/number.tsx": () => import("./number-BeyMe6Iq.js"), "./renderers/orbitalDiagram.tsx": () => import("./orbitalDiagram-DzCH-fLM.js"), "./renderers/orbitalDiagramInput.tsx": () => import("./orbitalDiagramInput-DFnaJPhH.js"), "./renderers/p.tsx": () => import("./p-CV86ld3L.js"), "./renderers/paginatorControls.tsx": () => import("./paginatorControls-BqKMzTmi.js"), "./renderers/pegboard.tsx": () => import("./pegboard-C_POBRBE.js"), "./renderers/point.tsx": () => import("./point-OJNZrNYT.js"), "./renderers/polygon.tsx": () => import("./polygon-x6ERM-gd.js"), "./renderers/polyline.tsx": () => import("./polyline-3PKX1a5d.js"), "./renderers/pre.tsx": () => import("./pre-BpOfIjGo.js"), "./renderers/prefigure.tsx": () => import("./prefigure-CZXlq7rP.js"), "./renderers/pretzel.tsx": () => import("./pretzel-C8EkrqZO.js"), "./renderers/q.tsx": () => import("./q-CZSiXB7S.js"), "./renderers/ray.tsx": () => import("./ray-C1Dobb0K.js"), "./renderers/ref.tsx": () => import("./ref-ChwEw1v4.js"), "./renderers/regionBetweenCurveXAxis.tsx": () => import("./regionBetweenCurveXAxis-BxsbNr6F.js"), "./renderers/regionBetweenCurves.tsx": () => import("./regionBetweenCurves-Cj_8xMVL.js"), "./renderers/row.tsx": () => import("./row-zKcXPDjv.js"), "./renderers/rq.tsx": () => import("./rq-svqn_qpI.js"), "./renderers/rsq.tsx": () => import("./rsq-DQdlhuZL.js"), "./renderers/section.tsx": () => import("./section-E6H_zIQH.js"), "./renderers/sideBySide.tsx": () => import("./sideBySide-CFd9UMcu.js"), "./renderers/slider.tsx": () => import("./slider-CgvL4nHX.js"), "./renderers/slopeField.tsx": () => import("./slopeField-20Jmaq4M.js"), "./renderers/solution.tsx": () => import("./solution-CauCeA40.js"), "./renderers/spreadsheet.tsx": () => import("./spreadsheet-IuDPLJAF.js"), "./renderers/sq.tsx": () => import("./sq-MCo07QiU.js"), "./renderers/subsetOfRealsInput.tsx": () => import("./subsetOfRealsInput-BMKttfiO.js"), "./renderers/summaryStatistics.tsx": () => import("./summaryStatistics-aHQO8lS9.js"), "./renderers/table.tsx": () => import("./table-DLFauhtj.js"), "./renderers/tabular.tsx": () => import("./tabular-DIywhstV.js"), "./renderers/tag.tsx": () => import("./tag-CB8FYL56.js"), "./renderers/text.tsx": () => import("./text-D5LcHXWS.js"), "./renderers/textInput.tsx": () => import("./textInput-DEpyFmCs.js"), "./renderers/vector.tsx": () => import("./vector-Cu1JeJxM.js"), "./renderers/vectorField.tsx": () => import("./vectorField-BQd8DWE1.js"), "./renderers/video.tsx": () => import("./video-DDfW6mpd.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-C7AbnYpt.js";
|
|
3
|
+
import { K as createFunctionFromDefinition, z as DocContext } from "./doenetml-C8XgCMpq.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-C8XgCMpq.js";
|
|
2
|
+
import { F as FontAwesomeIcon } from "./index.es-B7vf7QHo.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-C8XgCMpq.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-DqztT0b_.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DIT1FQuw.js";
|
|
5
|
+
import { BoardContext, VERTEX_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-C7AbnYpt.js";
|
|
6
|
+
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-B0qLeSsx.js";
|
|
7
|
+
import { ChoiceInputInlineContext } from "./choiceInput-BkzhG08l.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-DIT1FQuw.js";
|
|
3
|
+
import { u as useFieldFunction, a as useFieldCurve, c as buildVectorFieldData } from "./useFieldCurve-_tg3L2pb.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-C8XgCMpq.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-DIT1FQuw.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-CT4yGTXo.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-CDL58Jka.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;
|