@doenet/doenetml 0.7.27-dev.722 → 0.7.27-dev.723
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-Bod3ceCt.js → AnswerResponseButton-DqlwY3-U.js} +2 -2
- package/{ClickTarget-vvCrTXcX.js → ClickTarget-Cfs_FZoT.js} +1 -1
- package/{Description-DLObq3bT.js → Description-CtBeJnP0.js} +1 -1
- package/{EditorViewer-CcflAMZR.js → EditorViewer-Rwo0z-E3.js} +5 -5
- package/{GraphFrame-BZC_g30g.js → GraphFrame-BOy0RKuE.js} +2 -2
- package/{JSXGraphRenderer-BE3bSw4H.js → JSXGraphRenderer-BQP4S6sv.js} +1 -1
- package/{NonInlineMediaWrapper-LSNjLjKF.js → NonInlineMediaWrapper-BTEW5x8q.js} +1 -1
- package/Viewer/renderers/slider.d.ts.map +1 -1
- package/{_error-DeO4SnNB.js → _error-Bq2ph5Se.js} +2 -2
- package/{alert-gijULeG8.js → alert-D60x9sQn.js} +3 -3
- package/{angle-BtbmakG7.js → angle-DIfG0t4p.js} +6 -6
- package/{answer-ggR9tYaJ.js → answer-BmkhB45v.js} +6 -6
- package/{asList-BHzPGacl.js → asList-CRwzBHAY.js} +2 -2
- package/{blockQuote-e5mHURKi.js → blockQuote-Bvljtj3d.js} +3 -3
- package/{boolean-DQtxy-ly.js → boolean-Dg-nuyJC.js} +2 -2
- package/{booleanInput-vV9jt02-.js → booleanInput-Bss4z3PP.js} +7 -7
- package/{br-CAHyglQd.js → br-1mE_6V-o.js} +2 -2
- package/{button-0pmxUmkh.js → button-ZzKLFCMd.js} +5 -5
- package/{c-4sNZy_aI.js → c-6Tm4q83i.js} +3 -3
- package/{cell-BCFIn152.js → cell-nO3_9h3T.js} +3 -3
- package/{chart-D8Kvduvq.js → chart-Dg-BePcy.js} +4 -4
- package/{choiceInput-CtWRN_pP.js → choiceInput-C3oZ5CuD.js} +7 -7
- package/{circle-DXj4GXmn.js → circle-DFb2vjyY.js} +6 -6
- package/{cobwebPolyline-CrNpZ5nX.js → cobwebPolyline-DZ4wWlCP.js} +4 -4
- package/{codeEditor-CGhQV4Rv.js → codeEditor-XDaTUHwu.js} +2 -2
- package/{composites-xwasy1NL.js → composites-BvEerzm1.js} +1 -1
- package/{containerBlock-oac5S56C.js → containerBlock-8JEm01yx.js} +4 -4
- package/{containerInline-jhTrkhCK.js → containerInline-W7hgN0sJ.js} +4 -4
- package/{curve-DSq92BzX.js → curve-AGGRDfSa.js} +4 -4
- package/{delete-DaSfMCHw.js → delete-D5CT5BAe.js} +3 -3
- package/{doenetml-ClwXiJO3.js → doenetml-BGQwR5TX.js} +3 -3
- package/doenetml-external-worker.js +2 -2
- package/doenetml-inline-worker.js +3 -3
- package/doenetml-worker/index.esm.js +1 -1
- package/doenetml-worker/index.js +1 -1
- package/{ellipsis-C9JFYm9i.js → ellipsis-DxNE1yaF.js} +2 -2
- package/{em-C6boKOOT.js → em-QiqLxbU9.js} +3 -3
- package/{embed-DvrmzAm5.js → embed-CT3RlTrJ.js} +2 -2
- package/{feedback-Tx-4G83v.js → feedback-BWrOJznz.js} +4 -4
- package/{figure-DtT6Bkl4.js → figure-BUwW9IIX.js} +3 -3
- package/{fillPatterns-B5I5AKPl.js → fillPatterns-CjKFauY5.js} +1 -1
- package/{footnote-DrPbf0zq.js → footnote-BziyCo7_.js} +3 -3
- package/{fractionInput-Cm4lF95d.js → fractionInput-BU33l1Ha.js} +5 -5
- package/{graph-BQK8i7d3.js → graph-DAAkCj66.js} +5 -5
- package/{hint-BMXfpGMl.js → hint-B3SjsvZz.js} +5 -5
- package/{hovercard-store-Cjww_WHq.js → hovercard-store-CncLf3Ur.js} +1 -1
- package/{hr-Cuh2LIln.js → hr-B8hmMeN2.js} +2 -2
- package/{image-DbzMtY0A.js → image-quQTjwP7.js} +8 -8
- package/{index-DA3O2ID3.js → index-BjUM1pWz.js} +1 -1
- package/{index.es-C27pwVDJ.js → index.es-DvXkTCzk.js} +1 -1
- package/index.js +1 -1
- package/{inputLabel-CVZxmyOZ.js → inputLabel-COmSwW2U.js} +3 -3
- package/{insert-w_xdww3c.js → insert-EAo60r7y.js} +3 -3
- package/{label-BojouvY4.js → label-B6i2AMmy.js} +9 -9
- package/{legend-GF-p_DSI.js → legend-BBmJh1sc.js} +4 -4
- package/{line-DdaecR60.js → line-CAct_hKO.js} +6 -6
- package/{lineFamilyDragHandlers-BBdndXCt.js → lineFamilyDragHandlers-CiMh0d3F.js} +1 -1
- package/{lineSegment-BB3HAgsm.js → lineSegment-B7yOWOdn.js} +5 -5
- package/{list-Bk2hQ9-6.js → list-TzOlnwaZ.js} +4 -4
- package/{lq-89nzURE6.js → lq-DQr-NmcR.js} +2 -2
- package/{lsq-BWlGjme9.js → lsq-BtKZd8QC.js} +2 -2
- package/{markupRenderer-C9tjwgIO.js → markupRenderer-bag9k8GN.js} +1 -1
- package/{math-Df-t0JTM.js → math-DYR7Rq-e.js} +8 -8
- package/{mathInput-CZ7U59sg.js → mathInput-DqOgGnR0.js} +9 -9
- package/{mathInputSlots-slK7qkPq.js → mathInputSlots-C0F-C7yt.js} +1 -1
- package/{matrixInput-B0gzG5EH.js → matrixInput-RmOV_pz-.js} +5 -5
- package/{mdash-BQ_dg7TS.js → mdash-DPZFaQ8J.js} +2 -2
- package/{nbsp-Bkp7bx93.js → nbsp-DC76Nqan.js} +2 -2
- package/{ndash-ihSwJeyP.js → ndash-BSRJggHo.js} +2 -2
- package/{number-CkJBcUzx.js → number-CbW8ELCN.js} +8 -8
- package/{orbitalDiagram-D5bcasa_.js → orbitalDiagram-C7oxJhpB.js} +2 -2
- package/{orbitalDiagramInput-CxxHR53H.js → orbitalDiagramInput-QEfEpgt-.js} +2 -2
- package/{p-BuVblnlK.js → p-CUR0Nj6b.js} +4 -4
- package/package.json +1 -1
- package/{paginatorControls-BFpPqxCm.js → paginatorControls-Hi7cHFYT.js} +2 -2
- package/{pegboard-BzcBBX1v.js → pegboard-DwM4zSnQ.js} +3 -3
- package/{point-3kd126As.js → point-BxHxqUg0.js} +6 -6
- package/{polygon-C1vHL1tL.js → polygon-CT6eAo5s.js} +6 -6
- package/{polyline-BZ5tbr26.js → polyline-D3qM-v1g.js} +5 -5
- package/{pre-CTx3vJdL.js → pre-lUZdxIyf.js} +3 -3
- package/{prefigure-CpUTHyWB.js → prefigure-g1flZDCq.js} +1 -1
- package/{pretzel-Dd_THE9a.js → pretzel-BYzeaRMf.js} +4 -4
- package/{q-CjbnHfez.js → q-nbPDvK_E.js} +3 -3
- package/{ray-C8iLLfwp.js → ray-BAM36NEP.js} +5 -5
- package/{ref-D_rLUUu1.js → ref-1AFeIDUF.js} +3 -3
- package/{regionBetweenCurveXAxis-DaM0oiTa.js → regionBetweenCurveXAxis-CwYJRBvv.js} +5 -5
- package/{regionBetweenCurves-DosygKzW.js → regionBetweenCurves-NzO2VhIo.js} +5 -5
- package/{row-CfTQLP_J.js → row-KpMKyL4U.js} +2 -2
- package/{rq-C7uWHWir.js → rq-C_ucHFrG.js} +2 -2
- package/{rsq-BMZd-nug.js → rsq-BFAHTGsJ.js} +2 -2
- package/{section-BIefvNxm.js → section-DdB0zs7a.js} +6 -6
- package/{sha256-8sXzDnE0-CDx48_Bq.js → sha256-8sXzDnE0-CH7sKTS9.js} +1 -1
- package/{sideBySide-CHpC8ARR.js → sideBySide-_PETw0Ug.js} +2 -2
- package/{slider-aneeZXte.js → slider-DOaS9G4X.js} +6 -6
- package/{slopeField-CCO2Izch.js → slopeField-3BZukLhp.js} +2 -2
- package/{solution-D_UWNM_j.js → solution-YFNtZNdJ.js} +4 -4
- package/{spreadsheet-61-PbW9a.js → spreadsheet-CQvj5uWT.js} +2 -2
- package/{sq-BXFZPb45.js → sq-Bpm5onJn.js} +3 -3
- package/{subsetOfRealsInput-DVT8PHIK.js → subsetOfRealsInput-DFl6tbw-.js} +2 -2
- package/{summaryStatistics-DZdHRQeS.js → summaryStatistics-BxarzLbR.js} +2 -2
- package/{table-B7mZ_auR.js → table-Bh-veCvV.js} +2 -2
- package/{tabular-Clmq_4Hd.js → tabular-CIjP1o53.js} +2 -2
- package/{tag-D9xHhESL.js → tag-DTtvkhHW.js} +2 -2
- package/{text-DdphJnSc.js → text-DdAqlFh4.js} +8 -8
- package/{textInput-CT8y5U5b.js → textInput-5bldkIQU.js} +8 -8
- package/{tooltip-provider-BME-Kb4-.js → tooltip-provider-CGZhZmh5.js} +2 -2
- package/{useAnchoredGraphDragHandler-B-0OeylA.js → useAnchoredGraphDragHandler-O4rHwENV.js} +1 -1
- package/useDoenetRenderer-DDn250XT.js +114 -0
- package/{useFieldCurve-IE5ynYvL.js → useFieldCurve-BT4XhmUw.js} +2 -2
- package/{useSubmitActionWithDelay-sZW78Xjk.js → useSubmitActionWithDelay-Di9WNmnZ.js} +2 -2
- package/{vector-CI5clpda.js → vector-z4-eDGag.js} +6 -6
- package/{vectorField-B6mkdae9.js → vectorField-C0uJdCrU.js} +2 -2
- package/{video-uy9puQHf.js → video-Dr01NgJt.js} +4 -4
- package/useDoenetRenderer-D_ZOsiYo.js +0 -114
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { E as DocContext, F as textRendererStyle, q as jsxRuntimeExports, G as DynamicMath } from "./doenetml-
|
|
1
|
+
import { E as DocContext, F as textRendererStyle, q as jsxRuntimeExports, G as DynamicMath } from "./doenetml-BGQwR5TX.js";
|
|
2
2
|
import React__default, { useContext, useRef } from "react";
|
|
3
|
-
import { r as removeJXGEventHandlers, j as jxg, s as syncLayer, a as syncWithLabelToggle, f as syncLabelStrokeColor, b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-
|
|
4
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
5
|
-
import { B as BoardContext, P as POINT_LAYER_OFFSET } from "./graph-
|
|
3
|
+
import { r as removeJXGEventHandlers, j as jxg, s as syncLayer, a as syncWithLabelToggle, f as syncLabelStrokeColor, b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-BQP4S6sv.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DDn250XT.js";
|
|
5
|
+
import { B as BoardContext, P as POINT_LAYER_OFFSET } from "./graph-DAAkCj66.js";
|
|
6
6
|
import { c as characterizeOffGraphPoint } from "./offGraphIndicators-BfjnfwAp.js";
|
|
7
7
|
import { n as normalizePointStyle, a as normalizePointSize, b as adjustPointLabelPosition, d as calculatePointLabelAnchor } from "./graph-N7QcDlVU.js";
|
|
8
|
-
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-
|
|
9
|
-
import { ChoiceInputInlineContext } from "./choiceInput-
|
|
8
|
+
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-CiMh0d3F.js";
|
|
9
|
+
import { ChoiceInputInlineContext } from "./choiceInput-C3oZ5CuD.js";
|
|
10
10
|
import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-BZQatkpv.js";
|
|
11
11
|
import { p as pointerEventToUserCoords } from "./dragThreshold-DkT37QqI.js";
|
|
12
12
|
import { c as resolveMarkerColor } from "./styleColors-BrCvjxze.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { E as DocContext, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { E as DocContext, q as jsxRuntimeExports } from "./doenetml-BGQwR5TX.js";
|
|
2
2
|
import React__default, { useContext, useRef } from "react";
|
|
3
|
-
import { r as removeJXGEventHandlers, j as jxg, g as syncVisPropValues, s as syncLayer, f as syncLabelStrokeColor, b as syncLabelMaskCssStyle, e as syncLineStrokeStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-
|
|
4
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
5
|
-
import { B as BoardContext, L as LINE_LAYER_OFFSET, V as VERTEX_LAYER_OFFSET } from "./graph-
|
|
6
|
-
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-
|
|
3
|
+
import { r as removeJXGEventHandlers, j as jxg, g as syncVisPropValues, s as syncLayer, f as syncLabelStrokeColor, b as syncLabelMaskCssStyle, e as syncLineStrokeStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-BQP4S6sv.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DDn250XT.js";
|
|
5
|
+
import { B as BoardContext, L as LINE_LAYER_OFFSET, V as VERTEX_LAYER_OFFSET } from "./graph-DAAkCj66.js";
|
|
6
|
+
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-CiMh0d3F.js";
|
|
7
7
|
import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-BZQatkpv.js";
|
|
8
8
|
import { p as pointerEventToUserCoords } from "./dragThreshold-DkT37QqI.js";
|
|
9
9
|
import { a as resolveLineColor, r as resolveFillColor, b as resolveCanvasColor, d as resolveHandleColor } from "./styleColors-BrCvjxze.js";
|
|
@@ -11,7 +11,7 @@ import { s as styleToDash } from "./styleToDash-DWb71gbd.js";
|
|
|
11
11
|
import { u as useDraggableRefs } from "./useDraggableRefs-QaTfkVuD.js";
|
|
12
12
|
import { u as useJSXGraphCleanup } from "./useJSXGraphCleanup-BNk4sn6x.js";
|
|
13
13
|
import { d as buildBaseAttributes } from "./buildGraphicalAttributes-B_soifR-.js";
|
|
14
|
-
import { g as getPatternFillAttributes } from "./fillPatterns-
|
|
14
|
+
import { g as getPatternFillAttributes } from "./fillPatterns-CjKFauY5.js";
|
|
15
15
|
const polygon = React__default.memo(function Polygon(props) {
|
|
16
16
|
let { componentIdx, id, SVs, actions, sourceOfUpdate, callAction } = useDoenetRenderer(props);
|
|
17
17
|
Polygon.ignoreActionsWithoutCore = () => true;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { E as DocContext, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { E as DocContext, q as jsxRuntimeExports } from "./doenetml-BGQwR5TX.js";
|
|
2
2
|
import React__default, { useContext, useRef } from "react";
|
|
3
|
-
import { s as syncLayer, r as removeJXGEventHandlers, j as jxg, g as syncVisPropValues, e as syncLineStrokeStyle, f as syncLabelStrokeColor, b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-
|
|
4
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
5
|
-
import { B as BoardContext, V as VERTEX_LAYER_OFFSET, L as LINE_LAYER_OFFSET } from "./graph-
|
|
6
|
-
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-
|
|
3
|
+
import { s as syncLayer, r as removeJXGEventHandlers, j as jxg, g as syncVisPropValues, e as syncLineStrokeStyle, f as syncLabelStrokeColor, b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-BQP4S6sv.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DDn250XT.js";
|
|
5
|
+
import { B as BoardContext, V as VERTEX_LAYER_OFFSET, L as LINE_LAYER_OFFSET } from "./graph-DAAkCj66.js";
|
|
6
|
+
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-CiMh0d3F.js";
|
|
7
7
|
import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-BZQatkpv.js";
|
|
8
8
|
import { p as pointerEventToUserCoords } from "./dragThreshold-DkT37QqI.js";
|
|
9
9
|
import { a as resolveLineColor, d as resolveHandleColor } from "./styleColors-BrCvjxze.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { J as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { J as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-BGQwR5TX.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
4
|
-
import { a as addCommasForCompositeRanges } from "./composites-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DDn250XT.js";
|
|
4
|
+
import { a as addCommasForCompositeRanges } from "./composites-BvEerzm1.js";
|
|
5
5
|
import { a as getBlockMarginWithOptionalTopSuppression } from "./nonInlineMediaLayout-CkXHaqzo.js";
|
|
6
6
|
const pre = React__default.memo(function Pre(props) {
|
|
7
7
|
let { id, SVs, children, actions, callAction } = useDoenetRenderer(props);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { q as jsxRuntimeExports } from "./doenetml-BGQwR5TX.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, I as useContentT, v as useChromeLangDir, J as useRecordVisibilityChanges, E as DocContext, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useT, I as useContentT, v as useChromeLangDir, J as useRecordVisibilityChanges, E as DocContext, q as jsxRuntimeExports } from "./doenetml-BGQwR5TX.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-DDn250XT.js";
|
|
4
|
+
import { A as AnswerResponseButton } from "./AnswerResponseButton-DqlwY3-U.js";
|
|
5
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-Di9WNmnZ.js";
|
|
6
6
|
const pretzel = React__default.memo(function Pretzel(props) {
|
|
7
7
|
let {
|
|
8
8
|
componentIdx,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { q as jsxRuntimeExports } from "./doenetml-BGQwR5TX.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-DDn250XT.js";
|
|
4
|
+
import { r as renderMarkupBody } from "./markupRenderer-bag9k8GN.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 { E as DocContext, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { E as DocContext, q as jsxRuntimeExports } from "./doenetml-BGQwR5TX.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 { B as BoardContext, L as 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-BQP4S6sv.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DDn250XT.js";
|
|
5
|
+
import { B as BoardContext, L as LINE_LAYER_OFFSET } from "./graph-DAAkCj66.js";
|
|
6
|
+
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-CiMh0d3F.js";
|
|
7
7
|
import { a as buildLineLikeAttributes } from "./buildGraphicalAttributes-B_soifR-.js";
|
|
8
8
|
import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-BZQatkpv.js";
|
|
9
9
|
import { p as pointerEventToUserCoords } from "./dragThreshold-DkT37QqI.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { E as DocContext, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { E as DocContext, q as jsxRuntimeExports } from "./doenetml-BGQwR5TX.js";
|
|
2
2
|
import React__default, { useContext, useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
4
|
-
import { N as NoClickTargetContext } from "./ClickTarget-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DDn250XT.js";
|
|
4
|
+
import { N as NoClickTargetContext } from "./ClickTarget-Cfs_FZoT.js";
|
|
5
5
|
const ref = React__default.memo(function Ref(props) {
|
|
6
6
|
const { id, SVs, children, requestScrollTo } = useDoenetRenderer(props);
|
|
7
7
|
const { doenetViewerUrl } = useContext(DocContext) || {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { E as DocContext, K as createFunctionFromDefinition, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { E as DocContext, K as createFunctionFromDefinition, q as jsxRuntimeExports } from "./doenetml-BGQwR5TX.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 { B as BoardContext, L as 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-BQP4S6sv.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DDn250XT.js";
|
|
5
|
+
import { B as BoardContext, L as LINE_LAYER_OFFSET } from "./graph-DAAkCj66.js";
|
|
6
|
+
import { g as getPatternFillAttributes } from "./fillPatterns-CjKFauY5.js";
|
|
7
7
|
import { b as resolveCanvasColor } from "./styleColors-BrCvjxze.js";
|
|
8
8
|
const regionBetweenCurveXAxis = React__default.memo(function RegionBetweenCurveXAxis(props) {
|
|
9
9
|
let { id, SVs } = useDoenetRenderer(props);
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { E as DocContext, K as createFunctionFromDefinition, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { E as DocContext, K as createFunctionFromDefinition, q as jsxRuntimeExports } from "./doenetml-BGQwR5TX.js";
|
|
2
2
|
import React__default, { useContext, useRef, useEffect } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
4
|
-
import { B as BoardContext, L as LINE_LAYER_OFFSET } from "./graph-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DDn250XT.js";
|
|
4
|
+
import { B as BoardContext, L as LINE_LAYER_OFFSET } from "./graph-DAAkCj66.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-CjKFauY5.js";
|
|
7
7
|
import { b as resolveCanvasColor } from "./styleColors-BrCvjxze.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-BQP4S6sv.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 { q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { q as jsxRuntimeExports } from "./doenetml-BGQwR5TX.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DDn250XT.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 { q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { q as jsxRuntimeExports } from "./doenetml-BGQwR5TX.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DDn250XT.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 { q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { q as jsxRuntimeExports } from "./doenetml-BGQwR5TX.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DDn250XT.js";
|
|
4
4
|
const rsq = React__default.memo(function Rsq(props) {
|
|
5
5
|
let { SVs } = useDoenetRenderer(props, false);
|
|
6
6
|
if (SVs.hidden) {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { u as useT, I as useContentT, Q as directionOf, R as useDocumentDirection, S as chromeLangDir, t as useUiLocale, E as DocContext, T as cesc, J as useRecordVisibilityChanges, q as jsxRuntimeExports, U as DocumentDirectionProvider } from "./doenetml-
|
|
1
|
+
import { u as useT, I as useContentT, Q as directionOf, R as useDocumentDirection, S as chromeLangDir, t as useUiLocale, E as DocContext, T as cesc, J as useRecordVisibilityChanges, q as jsxRuntimeExports, U as DocumentDirectionProvider } from "./doenetml-BGQwR5TX.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-DvXkTCzk.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-DDn250XT.js";
|
|
6
|
+
import { a as addCommasForCompositeRanges } from "./composites-BvEerzm1.js";
|
|
7
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-Di9WNmnZ.js";
|
|
8
8
|
import { c as clickToToggleLabel } from "./disclosure-axyZa36E.js";
|
|
9
|
-
import { N as NoClickTargetContext } from "./ClickTarget-
|
|
9
|
+
import { N as NoClickTargetContext } from "./ClickTarget-Cfs_FZoT.js";
|
|
10
10
|
const section = React__default.memo(function Section(props) {
|
|
11
11
|
let { id, SVs, children, actions, callAction } = useDoenetRenderer(props);
|
|
12
12
|
const t = useT();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { J as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { J as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-BGQwR5TX.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DDn250XT.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,10 +1,10 @@
|
|
|
1
|
-
import { u as useT, q as jsxRuntimeExports, V as ActionButtonGroup, W as ActionButton } from "./doenetml-
|
|
1
|
+
import { u as useT, q as jsxRuntimeExports, V as ActionButtonGroup, W as ActionButton } from "./doenetml-BGQwR5TX.js";
|
|
2
2
|
import React__default, { useState, useRef, useEffect } from "react";
|
|
3
3
|
import me from "math-expressions";
|
|
4
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DDn250XT.js";
|
|
5
5
|
import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
|
|
6
|
-
import { r as renderLabelWithLatex } from "./graph-
|
|
7
|
-
import { u as useRenderedLabel } from "./inputLabel-
|
|
6
|
+
import { r as renderLabelWithLatex } from "./graph-DAAkCj66.js";
|
|
7
|
+
import { u as useRenderedLabel } from "./inputLabel-COmSwW2U.js";
|
|
8
8
|
import { l as ltrIslandProps } from "./direction-BwrU7jHk.js";
|
|
9
9
|
let round_to_decimals = (x, n) => {
|
|
10
10
|
try {
|
|
@@ -171,7 +171,7 @@ const slider = React__default.memo(function Slider(props) {
|
|
|
171
171
|
setIndex(SVs.index);
|
|
172
172
|
}
|
|
173
173
|
}, [SVs, ignoreUpdate]);
|
|
174
|
-
|
|
174
|
+
function changeValue(v, isTransient) {
|
|
175
175
|
const index2 = Number(v);
|
|
176
176
|
if (!(SVs.type === "text")) {
|
|
177
177
|
const value = SVs.items.length === 0 ? SVs.from + SVs.step * index2 : Number(SVs.items[index2]);
|
|
@@ -197,7 +197,7 @@ const slider = React__default.memo(function Slider(props) {
|
|
|
197
197
|
baseVariableValue: index2
|
|
198
198
|
});
|
|
199
199
|
}
|
|
200
|
-
}
|
|
200
|
+
}
|
|
201
201
|
if (SVs.hidden) {
|
|
202
202
|
return null;
|
|
203
203
|
}
|
|
@@ -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-DDn250XT.js";
|
|
3
|
+
import { u as useFieldFunction, a as useFieldCurve, b as buildSlopeFieldData } from "./useFieldCurve-BT4XhmUw.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, J as useRecordVisibilityChanges, v as useChromeLangDir, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useT, J as useRecordVisibilityChanges, v as useChromeLangDir, q as jsxRuntimeExports } from "./doenetml-BGQwR5TX.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-DDn250XT.js";
|
|
4
|
+
import { F as FontAwesomeIcon } from "./index.es-DvXkTCzk.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-BvEerzm1.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 { E as DocContext, J as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { E as DocContext, J as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-BGQwR5TX.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-DDn250XT.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 { q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { q as jsxRuntimeExports } from "./doenetml-BGQwR5TX.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-DDn250XT.js";
|
|
4
|
+
import { r as renderMarkupBody } from "./markupRenderer-bag9k8GN.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, J as useRecordVisibilityChanges, q as jsxRuntimeExports, a0 as ToggleButtonGroup, Z as ToggleButton, V as ActionButtonGroup, W as ActionButton } from "./doenetml-
|
|
1
|
+
import { u as useT, J as useRecordVisibilityChanges, q as jsxRuntimeExports, a0 as ToggleButtonGroup, Z as ToggleButton, V as ActionButtonGroup, W as ActionButton } from "./doenetml-BGQwR5TX.js";
|
|
2
2
|
import React__default, { useState, useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DDn250XT.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, v as useChromeLangDir, J as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useT, v as useChromeLangDir, J as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-BGQwR5TX.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DDn250XT.js";
|
|
4
4
|
const summaryStatistics = React__default.memo(function SummaryStatistics(props) {
|
|
5
5
|
let { id, SVs, actions, callAction } = useDoenetRenderer(props);
|
|
6
6
|
const t = useT();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { J as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { J as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-BGQwR5TX.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DDn250XT.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 { J as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { J as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-BGQwR5TX.js";
|
|
2
2
|
import React__default, { useRef, useState, useLayoutEffect } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DDn250XT.js";
|
|
4
4
|
import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
|
|
5
5
|
import { a as getBlockMarginWithOptionalTopSuppression } from "./nonInlineMediaLayout-CkXHaqzo.js";
|
|
6
6
|
import { t as tabularColumnEdgeProperties } from "./tabularCellPadding-BFCU20f_.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { q as jsxRuntimeExports } from "./doenetml-BGQwR5TX.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DDn250XT.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,18 +1,18 @@
|
|
|
1
|
-
import { E as DocContext, M as toNumberOrNaN, q as jsxRuntimeExports, F as textRendererStyle } from "./doenetml-
|
|
1
|
+
import { E as DocContext, M as toNumberOrNaN, q as jsxRuntimeExports, F as textRendererStyle } from "./doenetml-BGQwR5TX.js";
|
|
2
2
|
import React__default, { useRef, useContext } from "react";
|
|
3
|
-
import { j as jxg } from "./JSXGraphRenderer-
|
|
4
|
-
import { B as BoardContext, T as TEXT_LAYER_OFFSET } from "./graph-
|
|
5
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { j as jxg } from "./JSXGraphRenderer-BQP4S6sv.js";
|
|
4
|
+
import { B as BoardContext, T as TEXT_LAYER_OFFSET } from "./graph-DAAkCj66.js";
|
|
5
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DDn250XT.js";
|
|
6
6
|
import me from "math-expressions";
|
|
7
7
|
import { e as getPositionFromAnchorByCoordinate } from "./graph-N7QcDlVU.js";
|
|
8
|
-
import { ChoiceInputInlineContext } from "./choiceInput-
|
|
9
|
-
import { I as InputLabelContext } from "./inputLabel-
|
|
8
|
+
import { ChoiceInputInlineContext } from "./choiceInput-C3oZ5CuD.js";
|
|
9
|
+
import { I as InputLabelContext } from "./inputLabel-COmSwW2U.js";
|
|
10
10
|
import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-BZQatkpv.js";
|
|
11
11
|
import { u as useDraggableRefs } from "./useDraggableRefs-QaTfkVuD.js";
|
|
12
|
-
import { d as detachAnchoredGraphElement, a as attachAnchoredGraphDragHandlers } from "./useAnchoredGraphDragHandler-
|
|
12
|
+
import { d as detachAnchoredGraphElement, a as attachAnchoredGraphDragHandlers } from "./useAnchoredGraphDragHandler-O4rHwENV.js";
|
|
13
13
|
import { u as useJSXGraphCleanup } from "./useJSXGraphCleanup-BNk4sn6x.js";
|
|
14
14
|
import { e as resolveTextColor, f as resolveBackgroundColor } from "./styleColors-BrCvjxze.js";
|
|
15
|
-
import { u as useClickTargetAllowed, C as ClickTargetButton } from "./ClickTarget-
|
|
15
|
+
import { u as useClickTargetAllowed, C as ClickTargetButton } from "./ClickTarget-Cfs_FZoT.js";
|
|
16
16
|
const text = React__default.memo(function Text(props) {
|
|
17
17
|
let { componentIdx, id, SVs, actions, callAction } = useDoenetRenderer(props);
|
|
18
18
|
Text.ignoreActionsWithoutCore = () => true;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { I as useContentT, M as toNumberOrNaN, q as jsxRuntimeExports, Y as MathJax } from "./doenetml-
|
|
1
|
+
import { I as useContentT, M as toNumberOrNaN, q as jsxRuntimeExports, Y as MathJax } from "./doenetml-BGQwR5TX.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-BQP4S6sv.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DDn250XT.js";
|
|
5
5
|
import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
|
|
6
|
-
import { B as BoardContext } from "./graph-
|
|
6
|
+
import { B as BoardContext } from "./graph-DAAkCj66.js";
|
|
7
7
|
import me from "math-expressions";
|
|
8
8
|
import { e as getPositionFromAnchorByCoordinate, P as POINTER_DRAG_THRESHOLD } from "./graph-N7QcDlVU.js";
|
|
9
|
-
import { c as calculateValidationState, u as useSubmitActionWithDelay, w as wantsFullCheckWorkButton, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-
|
|
10
|
-
import { D as DescriptionPopover } from "./Description-
|
|
11
|
-
import { u as useRenderedLabel } from "./inputLabel-
|
|
9
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, w as wantsFullCheckWorkButton, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-Di9WNmnZ.js";
|
|
10
|
+
import { D as DescriptionPopover } from "./Description-CtBeJnP0.js";
|
|
11
|
+
import { u as useRenderedLabel } from "./inputLabel-COmSwW2U.js";
|
|
12
12
|
import { a as addValidationStateToShortDescription } from "./validationState-DI_lxk1a.js";
|
|
13
|
-
import { b as useInMathSlot, c as useMathSlotEditing } from "./mathInputSlots-
|
|
13
|
+
import { b as useInMathSlot, c as useMathSlotEditing } from "./mathInputSlots-C0F-C7yt.js";
|
|
14
14
|
import { u as useMathJaxOutOfTabOrder } from "./useMathJaxOutOfTabOrder-C0wsYqBF.js";
|
|
15
15
|
const EXPANDED_INPUT_MARGIN_X = 4;
|
|
16
16
|
const BOARD_INPUT_FALLBACK_WIDTH = "100px";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { aj as createStoreContext, ak as createDialogComponent, a2 as forwardRef, a3 as createElement, a4 as createHook, a6 as invariant, al as useWrapElement, q as jsxRuntimeExports, a7 as useStoreState, am as isFalsyBooleanCallback, an as contains, ao as sync, ap as chain, aq as useEvent, ar as createStore, as as defaultValue, at as useStore, au as useStoreProps } from "./doenetml-
|
|
2
|
-
import { H as HovercardScopedContextProvider, a as HovercardContextProvider, u as useHovercard, b as useHovercardAnchor, c as createHovercardStore, d as useHovercardStoreProps } from "./hovercard-store-
|
|
1
|
+
import { aj as createStoreContext, ak as createDialogComponent, a2 as forwardRef, a3 as createElement, a4 as createHook, a6 as invariant, al as useWrapElement, q as jsxRuntimeExports, a7 as useStoreState, am as isFalsyBooleanCallback, an as contains, ao as sync, ap as chain, aq as useEvent, ar as createStore, as as defaultValue, at as useStore, au as useStoreProps } from "./doenetml-BGQwR5TX.js";
|
|
2
|
+
import { H as HovercardScopedContextProvider, a as HovercardContextProvider, u as useHovercard, b as useHovercardAnchor, c as createHovercardStore, d as useHovercardStoreProps } from "./hovercard-store-CncLf3Ur.js";
|
|
3
3
|
import { useRef, useEffect } from "react";
|
|
4
4
|
const ctx = createStoreContext([HovercardContextProvider], [HovercardScopedContextProvider]);
|
|
5
5
|
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-BQP4S6sv.js";
|
|
2
2
|
import { e as exceededDragThreshold, p as pointerEventToUserCoords } from "./dragThreshold-DkT37QqI.js";
|
|
3
3
|
function attachAnchoredGraphDragHandlers(params) {
|
|
4
4
|
const {
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import { x as useAppSelector, y as mainSlice, z as renderersLoadComponent, _ as __variableDynamicImportRuntimeHelper } from "./doenetml-BGQwR5TX.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-BOy0RKuE.js"), "./renderers/JSXGraphRenderer.tsx": () => import("./JSXGraphRenderer-BQP4S6sv.js").then((n) => n.m), "./renderers/_error.tsx": () => import("./_error-Bq2ph5Se.js"), "./renderers/alert.tsx": () => import("./alert-D60x9sQn.js"), "./renderers/angle.tsx": () => import("./angle-DIfG0t4p.js"), "./renderers/answer.tsx": () => import("./answer-BmkhB45v.js"), "./renderers/asList.tsx": () => import("./asList-CRwzBHAY.js"), "./renderers/blockQuote.tsx": () => import("./blockQuote-Bvljtj3d.js"), "./renderers/boolean.tsx": () => import("./boolean-Dg-nuyJC.js"), "./renderers/booleanInput.tsx": () => import("./booleanInput-Bss4z3PP.js"), "./renderers/br.tsx": () => import("./br-1mE_6V-o.js"), "./renderers/button.tsx": () => import("./button-ZzKLFCMd.js"), "./renderers/c.tsx": () => import("./c-6Tm4q83i.js"), "./renderers/cell.tsx": () => import("./cell-nO3_9h3T.js"), "./renderers/chart.tsx": () => import("./chart-Dg-BePcy.js"), "./renderers/choiceInput.tsx": () => import("./choiceInput-C3oZ5CuD.js"), "./renderers/circle.tsx": () => import("./circle-DFb2vjyY.js"), "./renderers/cobwebPolyline.tsx": () => import("./cobwebPolyline-DZ4wWlCP.js"), "./renderers/codeEditor.tsx": () => import("./codeEditor-XDaTUHwu.js"), "./renderers/containerBlock.tsx": () => import("./containerBlock-8JEm01yx.js"), "./renderers/containerInline.tsx": () => import("./containerInline-W7hgN0sJ.js"), "./renderers/curve.tsx": () => import("./curve-AGGRDfSa.js"), "./renderers/delete.tsx": () => import("./delete-D5CT5BAe.js"), "./renderers/ellipsis.tsx": () => import("./ellipsis-DxNE1yaF.js"), "./renderers/em.tsx": () => import("./em-QiqLxbU9.js"), "./renderers/embed.tsx": () => import("./embed-CT3RlTrJ.js"), "./renderers/feedback.tsx": () => import("./feedback-BWrOJznz.js"), "./renderers/figure.tsx": () => import("./figure-BUwW9IIX.js"), "./renderers/footnote.tsx": () => import("./footnote-BziyCo7_.js"), "./renderers/fractionInput.tsx": () => import("./fractionInput-BU33l1Ha.js"), "./renderers/graph.tsx": () => import("./graph-DAAkCj66.js").then((n) => n.g), "./renderers/hint.tsx": () => import("./hint-B3SjsvZz.js"), "./renderers/hr.tsx": () => import("./hr-B8hmMeN2.js"), "./renderers/image.tsx": () => import("./image-quQTjwP7.js"), "./renderers/insert.tsx": () => import("./insert-EAo60r7y.js"), "./renderers/label.tsx": () => import("./label-B6i2AMmy.js"), "./renderers/legend.tsx": () => import("./legend-BBmJh1sc.js"), "./renderers/line.tsx": () => import("./line-CAct_hKO.js"), "./renderers/lineSegment.tsx": () => import("./lineSegment-B7yOWOdn.js"), "./renderers/list.tsx": () => import("./list-TzOlnwaZ.js"), "./renderers/lq.tsx": () => import("./lq-DQr-NmcR.js"), "./renderers/lsq.tsx": () => import("./lsq-BtKZd8QC.js"), "./renderers/math.tsx": () => import("./math-DYR7Rq-e.js"), "./renderers/mathInput.tsx": () => import("./mathInput-DqOgGnR0.js"), "./renderers/matrixInput.tsx": () => import("./matrixInput-RmOV_pz-.js"), "./renderers/mdash.tsx": () => import("./mdash-DPZFaQ8J.js"), "./renderers/nbsp.tsx": () => import("./nbsp-DC76Nqan.js"), "./renderers/ndash.tsx": () => import("./ndash-BSRJggHo.js"), "./renderers/number.tsx": () => import("./number-CbW8ELCN.js"), "./renderers/orbitalDiagram.tsx": () => import("./orbitalDiagram-C7oxJhpB.js"), "./renderers/orbitalDiagramInput.tsx": () => import("./orbitalDiagramInput-QEfEpgt-.js"), "./renderers/p.tsx": () => import("./p-CUR0Nj6b.js"), "./renderers/paginatorControls.tsx": () => import("./paginatorControls-Hi7cHFYT.js"), "./renderers/pegboard.tsx": () => import("./pegboard-DwM4zSnQ.js"), "./renderers/point.tsx": () => import("./point-BxHxqUg0.js"), "./renderers/polygon.tsx": () => import("./polygon-CT6eAo5s.js"), "./renderers/polyline.tsx": () => import("./polyline-D3qM-v1g.js"), "./renderers/pre.tsx": () => import("./pre-lUZdxIyf.js"), "./renderers/prefigure.tsx": () => import("./prefigure-g1flZDCq.js"), "./renderers/pretzel.tsx": () => import("./pretzel-BYzeaRMf.js"), "./renderers/q.tsx": () => import("./q-nbPDvK_E.js"), "./renderers/ray.tsx": () => import("./ray-BAM36NEP.js"), "./renderers/ref.tsx": () => import("./ref-1AFeIDUF.js"), "./renderers/regionBetweenCurveXAxis.tsx": () => import("./regionBetweenCurveXAxis-CwYJRBvv.js"), "./renderers/regionBetweenCurves.tsx": () => import("./regionBetweenCurves-NzO2VhIo.js"), "./renderers/row.tsx": () => import("./row-KpMKyL4U.js"), "./renderers/rq.tsx": () => import("./rq-C_ucHFrG.js"), "./renderers/rsq.tsx": () => import("./rsq-BFAHTGsJ.js"), "./renderers/section.tsx": () => import("./section-DdB0zs7a.js"), "./renderers/sideBySide.tsx": () => import("./sideBySide-_PETw0Ug.js"), "./renderers/slider.tsx": () => import("./slider-DOaS9G4X.js"), "./renderers/slopeField.tsx": () => import("./slopeField-3BZukLhp.js"), "./renderers/solution.tsx": () => import("./solution-YFNtZNdJ.js"), "./renderers/spreadsheet.tsx": () => import("./spreadsheet-CQvj5uWT.js"), "./renderers/sq.tsx": () => import("./sq-Bpm5onJn.js"), "./renderers/subsetOfRealsInput.tsx": () => import("./subsetOfRealsInput-DFl6tbw-.js"), "./renderers/summaryStatistics.tsx": () => import("./summaryStatistics-BxarzLbR.js"), "./renderers/table.tsx": () => import("./table-Bh-veCvV.js"), "./renderers/tabular.tsx": () => import("./tabular-CIjP1o53.js"), "./renderers/tag.tsx": () => import("./tag-DTtvkhHW.js"), "./renderers/text.tsx": () => import("./text-DdAqlFh4.js"), "./renderers/textInput.tsx": () => import("./textInput-5bldkIQU.js"), "./renderers/vector.tsx": () => import("./vector-z4-eDGag.js"), "./renderers/vectorField.tsx": () => import("./vectorField-C0uJdCrU.js"), "./renderers/video.tsx": () => import("./video-Dr01NgJt.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 { B as BoardContext, L as LINE_LAYER_OFFSET } from "./graph-
|
|
3
|
-
import { K as createFunctionFromDefinition, E as DocContext } from "./doenetml-
|
|
2
|
+
import { B as BoardContext, L as LINE_LAYER_OFFSET } from "./graph-DAAkCj66.js";
|
|
3
|
+
import { K as createFunctionFromDefinition, E as DocContext } from "./doenetml-BGQwR5TX.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 { q as jsxRuntimeExports } from "./doenetml-
|
|
2
|
-
import { F as FontAwesomeIcon } from "./index.es-
|
|
1
|
+
import { q as jsxRuntimeExports } from "./doenetml-BGQwR5TX.js";
|
|
2
|
+
import { F as FontAwesomeIcon } from "./index.es-DvXkTCzk.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 checkWorkCredit(SVs) {
|