@doenet/doenetml 0.7.27-dev.613 → 0.7.27-dev.614
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-CjCBzolD.js → AnswerResponseButton-D3UuAq9a.js} +2 -2
- package/{Description-B_2-IyhP.js → Description-C6tyQoGk.js} +1 -1
- package/{DynamicMath-eKZnm2pI.js → DynamicMath-Cd3jfsRy.js} +1 -1
- package/{EditorViewer-CeZW71E8.js → EditorViewer-DRrhJyTg.js} +6 -6
- package/{GraphFrame-c7qgauqx.js → GraphFrame-DnnBQ62_.js} +2 -2
- package/{JSXGraphRenderer-DO6RrHCp.js → JSXGraphRenderer-DfW7tV00.js} +1 -1
- package/{NonInlineMediaWrapper-Pc2DFECs.js → NonInlineMediaWrapper-BOyKoCUh.js} +1 -1
- package/{_error-Bys0rJ8w.js → _error-B9JN5_1h.js} +2 -2
- package/{alert-ytwMuPFs.js → alert-DF4H8R4u.js} +3 -3
- package/{angle-1o7qiLSr.js → angle-BMIuubVv.js} +7 -7
- package/{answer-DKiBlefn.js → answer-CCdW8zfa.js} +6 -6
- package/{asList-B3vrriB9.js → asList-BFmFvAXZ.js} +2 -2
- package/{blockQuote-CtEcyYEq.js → blockQuote-C7BuF_ZE.js} +3 -3
- package/{boolean-BP7kcvDh.js → boolean-DdAGZhEN.js} +2 -2
- package/{booleanInput-B9xKFQH1.js → booleanInput-D2OuNzkk.js} +6 -6
- package/{br-cFvzdHDd.js → br-DdkTey-d.js} +2 -2
- package/{button-BKNua7DK.js → button-tq6YSLT0.js} +4 -4
- package/{c-DG68b2CJ.js → c-Bc3G5_RO.js} +3 -3
- package/{cell-qn8_Xztm.js → cell-CXwtPh45.js} +3 -3
- package/{chart-BG_oaUlE.js → chart-DUxAJ1fG.js} +4 -4
- package/{choiceInput-DxIiYczX.js → choiceInput-Dn2vtYsj.js} +5 -5
- package/{circle-D9Vm7uaC.js → circle-CFl5751m.js} +6 -6
- package/{cobwebPolyline-BJHjebK0.js → cobwebPolyline-1uhzlgeg.js} +4 -4
- package/{codeEditor-CiHe_Zn1.js → codeEditor-EEK6hG5i.js} +2 -2
- package/{composites-Udh7ZGBE.js → composites-BRLlD1l-.js} +1 -1
- package/{containerBlock-dT3qbnLr.js → containerBlock-BzCWcBxo.js} +4 -4
- package/{containerInline-DsWMegBL.js → containerInline-u5gMHnL0.js} +4 -4
- package/{curve-BN7NnIYh.js → curve-CmITqNA0.js} +4 -4
- package/{doenetml-Cx_QPrv5.js → doenetml-DJhVfGlW.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-CuJcyKX2.js → ellipsis-D-qJ53Vo.js} +2 -2
- package/{em-CEXVSCNf.js → em-BCZz1rj_.js} +3 -3
- package/{embed-fLWs-Qpu.js → embed-BGyXweqa.js} +2 -2
- package/{feedback-2-McxMMk.js → feedback-CR2MJCKo.js} +4 -4
- package/{figure-C81E9Pq0.js → figure-BzN6Oj3Z.js} +3 -3
- package/{fillPatterns-CWI4h0p9.js → fillPatterns-BB03aZsy.js} +1 -1
- package/{footnote-BhWqxH8y.js → footnote-BMPxKk_P.js} +3 -3
- package/{fractionInput-BT4W2354.js → fractionInput-CCoS6TpQ.js} +4 -4
- package/{graph-38_KL63p.js → graph-CBwylLlh.js} +6 -6
- package/{hint-SyFjdyRC.js → hint-DWbSRfAQ.js} +4 -4
- package/{hovercard-store-DvoFfKEQ.js → hovercard-store-CnxIzcJG.js} +1 -1
- package/{hr-5CLMnFB8.js → hr-B8LdcJ4n.js} +2 -2
- package/{image-kFOgY3q9.js → image-BfiA00S6.js} +7 -7
- package/{index-Bxkbh4UF.js → index-BkpQgINj.js} +1 -1
- package/{index.es-DrVilIiI.js → index.es-DmM7gMRt.js} +1 -1
- package/index.js +1 -1
- package/{label-CnXkniBK.js → label-DJQqyB83.js} +7 -7
- package/{labelWithLatex-CTmYMXYm.js → labelWithLatex-BRze9avA.js} +2 -2
- package/{legend-Co6wzUzc.js → legend-B22WFlKH.js} +4 -4
- package/{line-DvwCUZZh.js → line-BHUfJhVH.js} +7 -7
- package/{lineFamilyDragHandlers-OxSENaix.js → lineFamilyDragHandlers-DmV1eQtj.js} +1 -1
- package/{lineSegment-4J8_x1XQ.js → lineSegment-B1t_WSrl.js} +5 -5
- package/{list-y2mcPFy1.js → list-fcZamXWa.js} +4 -4
- package/{lq-ByRerNoq.js → lq-BSK_6dtq.js} +2 -2
- package/{lsq-C8pS6seU.js → lsq-B7UKwkb0.js} +2 -2
- package/{markupRenderer-CF30rvT-.js → markupRenderer-CKPIXcB0.js} +1 -1
- package/{math-Dtcwxo8f.js → math-Bw-Coxdi.js} +8 -8
- package/{mathInput-CP6MnHmq.js → mathInput-C846Wsln.js} +8 -8
- package/{mathInputSlots-C2C57aFf.js → mathInputSlots-C-eg7-9f.js} +1 -1
- package/{matrixInput-DcFixRPg.js → matrixInput-5NtXmCLy.js} +4 -4
- package/{mdash-CYoCfa-h.js → mdash-nyTBTkim.js} +2 -2
- package/{nbsp-x3CfdV28.js → nbsp-BkEkJBUl.js} +2 -2
- package/{ndash-CMVWFvKF.js → ndash-B5cfXNIa.js} +2 -2
- package/{number-DZE4CEgj.js → number-BmxW0pXG.js} +7 -7
- package/{orbitalDiagram-CUIwdeLS.js → orbitalDiagram-7DdDWTl4.js} +2 -2
- package/{orbitalDiagramInput-U9JTiQhF.js → orbitalDiagramInput-57MY0-Cr.js} +2 -2
- package/{p-COGKdtLn.js → p-MdlenRmY.js} +4 -4
- package/package.json +1 -1
- package/{paginatorControls-FMcRM9oC.js → paginatorControls-CffBiXDZ.js} +2 -2
- package/{pegboard-D9pPXVYB.js → pegboard-CCtxWnjo.js} +3 -3
- package/{point-CsvNJ3pv.js → point-CklSgx5x.js} +7 -7
- package/{polygon-DFau1i5J.js → polygon-n2mYllNE.js} +6 -6
- package/{polyline-DlckkVEJ.js → polyline-ARRO9KCp.js} +5 -5
- package/{pre-5bs_RldA.js → pre-DJzYhQSZ.js} +3 -3
- package/{prefigure-NHndmRhm.js → prefigure-BFvGAkQG.js} +1 -1
- package/{pretzel-BAiBifR5.js → pretzel-beGYkdLa.js} +4 -4
- package/{q-Cy5qPNF8.js → q-ZO5-4edy.js} +3 -3
- package/{ray-BFKCxD-5.js → ray-B_aHQpJH.js} +5 -5
- package/{ref-DOdfIWgf.js → ref-CjjkRgXS.js} +2 -2
- package/{regionBetweenCurveXAxis-CtGxu84y.js → regionBetweenCurveXAxis-F_SbeB-V.js} +5 -5
- package/{regionBetweenCurves-T21L8RjF.js → regionBetweenCurves-CI_k5FDf.js} +5 -5
- package/{row-hoo51S4u.js → row-BTKw2hBg.js} +2 -2
- package/{rq-Cf8Eu-_g.js → rq-w7xOqlCX.js} +2 -2
- package/{rsq-Dm8Ro0-x.js → rsq-DOo5uGSu.js} +2 -2
- package/{section-DZrzgwhQ.js → section-E9t-_bYt.js} +5 -5
- package/{sha256-8sXzDnE0-DZJn6lqL.js → sha256-8sXzDnE0-Buf_eANU.js} +1 -1
- package/{sideBySide-xcODd1vI.js → sideBySide-ByWZJ9uh.js} +2 -2
- package/{slider-BnH3JLXZ.js → slider-6UQSGBfX.js} +3 -3
- package/{slopeField-Bb7RRHSN.js → slopeField-CiKJ6MQY.js} +2 -2
- package/{solution-DMO5VJ2s.js → solution-DUO1vgMT.js} +4 -4
- package/{spreadsheet-C-Gpy0vo.js → spreadsheet-Bza5R0qN.js} +2 -2
- package/{sq-BIIzrzmG.js → sq-DcVB8b0I.js} +3 -3
- package/{subsetOfRealsInput-B8GhnldI.js → subsetOfRealsInput-1maonEa6.js} +2 -2
- package/{summaryStatistics-sRCDjQIj.js → summaryStatistics-DJ_bKc6J.js} +2 -2
- package/{table-ChtItfJv.js → table-BoM2QJtn.js} +2 -2
- package/{tabular-DfQ_9eea.js → tabular-f3Lq73Kf.js} +2 -2
- package/{tag-BrIIXb3x.js → tag-C1F20tMU.js} +2 -2
- package/{text-ZG2F1CZ0.js → text-BZd42ACQ.js} +6 -6
- package/{textInput-_4AZuI3k.js → textInput-BzhrU0so.js} +7 -7
- package/{tooltip-provider-IKJQGnEm.js → tooltip-provider-C1BX_DT9.js} +2 -2
- package/{useAnchoredGraphDragHandler-D5GgsQk5.js → useAnchoredGraphDragHandler-DeDStohO.js} +1 -1
- package/useDoenetRenderer-DjX3R-5X.js +114 -0
- package/{useFieldCurve-D2yGvHHx.js → useFieldCurve-CngTu8-I.js} +2 -2
- package/{useSubmitActionWithDelay-20-LIvUL.js → useSubmitActionWithDelay-DOVu7FcE.js} +2 -2
- package/{vector-Y65c_6YV.js → vector-BLMvRQ77.js} +7 -7
- package/{vectorField-DKPXZnoC.js → vectorField-DPy7y0jm.js} +2 -2
- package/{video-nuygH9DO.js → video-CW_a9WBu.js} +4 -4
- package/useDoenetRenderer-CfycTquZ.js +0 -114
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { E as DocContext, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { E as DocContext, q as jsxRuntimeExports } from "./doenetml-DJhVfGlW.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 { BoardContext, LINE_LAYER_OFFSET, 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-DfW7tV00.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DjX3R-5X.js";
|
|
5
|
+
import { BoardContext, LINE_LAYER_OFFSET, VERTEX_LAYER_OFFSET } from "./graph-CBwylLlh.js";
|
|
6
|
+
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-DmV1eQtj.js";
|
|
7
7
|
import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-DV6a8Wvg.js";
|
|
8
8
|
import { p as pointerEventToUserCoords } from "./dragThreshold-DuSSFrIU.js";
|
|
9
9
|
import { a as resolveLineColor, 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-BB03aZsy.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-DJhVfGlW.js";
|
|
2
2
|
import React__default, { useContext, useRef } from "react";
|
|
3
|
-
import { s as syncLayer, r as removeJXGEventHandlers, j as jxg, g as syncVisPropValues, e as syncLineStrokeStyle, f as syncLabelStrokeColor, b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-
|
|
4
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
5
|
-
import { BoardContext, VERTEX_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-
|
|
6
|
-
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-
|
|
3
|
+
import { s as syncLayer, r as removeJXGEventHandlers, j as jxg, g as syncVisPropValues, e as syncLineStrokeStyle, f as syncLabelStrokeColor, b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-DfW7tV00.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DjX3R-5X.js";
|
|
5
|
+
import { BoardContext, VERTEX_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-CBwylLlh.js";
|
|
6
|
+
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-DmV1eQtj.js";
|
|
7
7
|
import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-DV6a8Wvg.js";
|
|
8
8
|
import { p as pointerEventToUserCoords } from "./dragThreshold-DuSSFrIU.js";
|
|
9
9
|
import { a as resolveLineColor, d as resolveHandleColor } from "./styleColors-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-DJhVfGlW.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-DjX3R-5X.js";
|
|
4
|
+
import { a as addCommasForCompositeRanges } from "./composites-BRLlD1l-.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-DJhVfGlW.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-DJhVfGlW.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-DjX3R-5X.js";
|
|
4
|
+
import { A as AnswerResponseButton } from "./AnswerResponseButton-D3UuAq9a.js";
|
|
5
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-DOVu7FcE.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-DJhVfGlW.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-DjX3R-5X.js";
|
|
4
|
+
import { r as renderMarkupBody } from "./markupRenderer-CKPIXcB0.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-DJhVfGlW.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-DfW7tV00.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DjX3R-5X.js";
|
|
5
|
+
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-CBwylLlh.js";
|
|
6
|
+
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-DmV1eQtj.js";
|
|
7
7
|
import { a as buildLineLikeAttributes } from "./buildGraphicalAttributes-B_soifR-.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 { E as DocContext, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { E as DocContext, q as jsxRuntimeExports } from "./doenetml-DJhVfGlW.js";
|
|
2
2
|
import React__default, { useContext, useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DjX3R-5X.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 { E as DocContext, N as createFunctionFromDefinition, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { E as DocContext, N as createFunctionFromDefinition, q as jsxRuntimeExports } from "./doenetml-DJhVfGlW.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-DfW7tV00.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DjX3R-5X.js";
|
|
5
|
+
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-CBwylLlh.js";
|
|
6
|
+
import { g as getPatternFillAttributes } from "./fillPatterns-BB03aZsy.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, N as createFunctionFromDefinition, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { E as DocContext, N as createFunctionFromDefinition, q as jsxRuntimeExports } from "./doenetml-DJhVfGlW.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-DjX3R-5X.js";
|
|
4
|
+
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-CBwylLlh.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-BB03aZsy.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-DfW7tV00.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-DJhVfGlW.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DjX3R-5X.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-DJhVfGlW.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DjX3R-5X.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-DJhVfGlW.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DjX3R-5X.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, I as useContentT, Q as directionOf, R as useDocumentDirection, S as chromeLangDir, t as useUiLocale, E as DocContext, L as cesc, J as useRecordVisibilityChanges, q as jsxRuntimeExports, T 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, L as cesc, J as useRecordVisibilityChanges, q as jsxRuntimeExports, T as DocumentDirectionProvider } from "./doenetml-DJhVfGlW.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-DmM7gMRt.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-DjX3R-5X.js";
|
|
6
|
+
import { a as addCommasForCompositeRanges } from "./composites-BRLlD1l-.js";
|
|
7
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-DOVu7FcE.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 { J as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { J as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-DJhVfGlW.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DjX3R-5X.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,9 +1,9 @@
|
|
|
1
|
-
import { u as useT, q as jsxRuntimeExports, U as ActionButtonGroup, V as ActionButton } from "./doenetml-
|
|
1
|
+
import { u as useT, q as jsxRuntimeExports, U as ActionButtonGroup, V as ActionButton } from "./doenetml-DJhVfGlW.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-DjX3R-5X.js";
|
|
5
5
|
import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
|
|
6
|
-
import { r as renderLabelWithLatex } from "./labelWithLatex-
|
|
6
|
+
import { r as renderLabelWithLatex } from "./labelWithLatex-BRze9avA.js";
|
|
7
7
|
import { l as ltrIslandProps } from "./direction-BwrU7jHk.js";
|
|
8
8
|
let round_to_decimals = (x, n) => {
|
|
9
9
|
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-DjX3R-5X.js";
|
|
3
|
+
import { u as useFieldFunction, a as useFieldCurve, b as buildSlopeFieldData } from "./useFieldCurve-CngTu8-I.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-DJhVfGlW.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-DjX3R-5X.js";
|
|
4
|
+
import { F as FontAwesomeIcon } from "./index.es-DmM7gMRt.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-BRLlD1l-.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-DJhVfGlW.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-DjX3R-5X.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-DJhVfGlW.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-DjX3R-5X.js";
|
|
4
|
+
import { r as renderMarkupBody } from "./markupRenderer-CKPIXcB0.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, $ as ToggleButtonGroup, Y as ToggleButton, U as ActionButtonGroup, V as ActionButton } from "./doenetml-
|
|
1
|
+
import { u as useT, J as useRecordVisibilityChanges, q as jsxRuntimeExports, $ as ToggleButtonGroup, Y as ToggleButton, U as ActionButtonGroup, V as ActionButton } from "./doenetml-DJhVfGlW.js";
|
|
2
2
|
import React__default, { useState, useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DjX3R-5X.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-DJhVfGlW.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DjX3R-5X.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-DJhVfGlW.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DjX3R-5X.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-DJhVfGlW.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DjX3R-5X.js";
|
|
4
4
|
import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
|
|
5
5
|
import { a as getBlockMarginWithOptionalTopSuppression } from "./nonInlineMediaLayout-CkXHaqzo.js";
|
|
6
6
|
function borderWeightToCSSWidth(weight) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { q as jsxRuntimeExports } from "./doenetml-DJhVfGlW.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DjX3R-5X.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,14 +1,14 @@
|
|
|
1
|
-
import { E as DocContext, K as toNumberOrNaN, q as jsxRuntimeExports, F as textRendererStyle } from "./doenetml-
|
|
1
|
+
import { E as DocContext, K as toNumberOrNaN, q as jsxRuntimeExports, F as textRendererStyle } from "./doenetml-DJhVfGlW.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-DfW7tV00.js";
|
|
4
|
+
import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-CBwylLlh.js";
|
|
5
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DjX3R-5X.js";
|
|
6
6
|
import me from "math-expressions";
|
|
7
7
|
import { g as getPositionFromAnchorByCoordinate } from "./graph-W6vrFcBu.js";
|
|
8
|
-
import { ChoiceInputInlineContext } from "./choiceInput-
|
|
8
|
+
import { ChoiceInputInlineContext } from "./choiceInput-Dn2vtYsj.js";
|
|
9
9
|
import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-DV6a8Wvg.js";
|
|
10
10
|
import { u as useDraggableRefs } from "./useDraggableRefs-QaTfkVuD.js";
|
|
11
|
-
import { d as detachAnchoredGraphElement, a as attachAnchoredGraphDragHandlers } from "./useAnchoredGraphDragHandler-
|
|
11
|
+
import { d as detachAnchoredGraphElement, a as attachAnchoredGraphDragHandlers } from "./useAnchoredGraphDragHandler-DeDStohO.js";
|
|
12
12
|
import { u as useJSXGraphCleanup } from "./useJSXGraphCleanup-BNk4sn6x.js";
|
|
13
13
|
import { e as resolveTextColor, f as resolveBackgroundColor } from "./styleColors-BrCvjxze.js";
|
|
14
14
|
const text = React__default.memo(function Text(props) {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { I as useContentT, K as toNumberOrNaN, q as jsxRuntimeExports, X as MathJax } from "./doenetml-
|
|
1
|
+
import { I as useContentT, K as toNumberOrNaN, q as jsxRuntimeExports, X as MathJax } from "./doenetml-DJhVfGlW.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-DfW7tV00.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DjX3R-5X.js";
|
|
5
5
|
import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
|
|
6
|
-
import { BoardContext } from "./graph-
|
|
6
|
+
import { BoardContext } from "./graph-CBwylLlh.js";
|
|
7
7
|
import me from "math-expressions";
|
|
8
8
|
import { g as getPositionFromAnchorByCoordinate, P as POINTER_DRAG_THRESHOLD } from "./graph-W6vrFcBu.js";
|
|
9
|
-
import { c as calculateValidationState, u as useSubmitActionWithDelay, w as wantsFullCheckWorkButton, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-
|
|
10
|
-
import { D as DescriptionPopover } from "./Description-
|
|
9
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, w as wantsFullCheckWorkButton, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-DOVu7FcE.js";
|
|
10
|
+
import { D as DescriptionPopover } from "./Description-C6tyQoGk.js";
|
|
11
11
|
import { a as addValidationStateToShortDescription } from "./validationState-DI_lxk1a.js";
|
|
12
|
-
import { b as useInMathSlot, c as useMathSlotEditing } from "./mathInputSlots-
|
|
12
|
+
import { b as useInMathSlot, c as useMathSlotEditing } from "./mathInputSlots-C-eg7-9f.js";
|
|
13
13
|
import { u as useMathJaxOutOfTabOrder } from "./useMathJaxOutOfTabOrder-C0wsYqBF.js";
|
|
14
14
|
const EXPANDED_INPUT_MARGIN_X = 4;
|
|
15
15
|
const BOARD_INPUT_FALLBACK_WIDTH = "100px";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ai as createStoreContext, aj as createDialogComponent, a1 as forwardRef, a2 as createElement, a3 as createHook, a5 as invariant, ak as useWrapElement, q as jsxRuntimeExports, a6 as useStoreState, al as isFalsyBooleanCallback, am as contains, an as sync, ao as chain, ap as useEvent, aq as createStore, ar as defaultValue, as as useStore, at 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 { ai as createStoreContext, aj as createDialogComponent, a1 as forwardRef, a2 as createElement, a3 as createHook, a5 as invariant, ak as useWrapElement, q as jsxRuntimeExports, a6 as useStoreState, al as isFalsyBooleanCallback, am as contains, an as sync, ao as chain, ap as useEvent, aq as createStore, ar as defaultValue, as as useStore, at as useStoreProps } from "./doenetml-DJhVfGlW.js";
|
|
2
|
+
import { H as HovercardScopedContextProvider, a as HovercardContextProvider, u as useHovercard, b as useHovercardAnchor, c as createHovercardStore, d as useHovercardStoreProps } from "./hovercard-store-CnxIzcJG.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-DfW7tV00.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 { x as useAppSelector, y as mainSlice, z as renderersLoadComponent, _ as __variableDynamicImportRuntimeHelper } from "./doenetml-DJhVfGlW.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-DnnBQ62_.js"), "./renderers/JSXGraphRenderer.tsx": () => import("./JSXGraphRenderer-DfW7tV00.js").then((n) => n.m), "./renderers/_error.tsx": () => import("./_error-B9JN5_1h.js"), "./renderers/alert.tsx": () => import("./alert-DF4H8R4u.js"), "./renderers/angle.tsx": () => import("./angle-BMIuubVv.js"), "./renderers/answer.tsx": () => import("./answer-CCdW8zfa.js"), "./renderers/asList.tsx": () => import("./asList-BFmFvAXZ.js"), "./renderers/blockQuote.tsx": () => import("./blockQuote-C7BuF_ZE.js"), "./renderers/boolean.tsx": () => import("./boolean-DdAGZhEN.js"), "./renderers/booleanInput.tsx": () => import("./booleanInput-D2OuNzkk.js"), "./renderers/br.tsx": () => import("./br-DdkTey-d.js"), "./renderers/button.tsx": () => import("./button-tq6YSLT0.js"), "./renderers/c.tsx": () => import("./c-Bc3G5_RO.js"), "./renderers/cell.tsx": () => import("./cell-CXwtPh45.js"), "./renderers/chart.tsx": () => import("./chart-DUxAJ1fG.js"), "./renderers/choiceInput.tsx": () => import("./choiceInput-Dn2vtYsj.js"), "./renderers/circle.tsx": () => import("./circle-CFl5751m.js"), "./renderers/cobwebPolyline.tsx": () => import("./cobwebPolyline-1uhzlgeg.js"), "./renderers/codeEditor.tsx": () => import("./codeEditor-EEK6hG5i.js"), "./renderers/containerBlock.tsx": () => import("./containerBlock-BzCWcBxo.js"), "./renderers/containerInline.tsx": () => import("./containerInline-u5gMHnL0.js"), "./renderers/curve.tsx": () => import("./curve-CmITqNA0.js"), "./renderers/ellipsis.tsx": () => import("./ellipsis-D-qJ53Vo.js"), "./renderers/em.tsx": () => import("./em-BCZz1rj_.js"), "./renderers/embed.tsx": () => import("./embed-BGyXweqa.js"), "./renderers/feedback.tsx": () => import("./feedback-CR2MJCKo.js"), "./renderers/figure.tsx": () => import("./figure-BzN6Oj3Z.js"), "./renderers/footnote.tsx": () => import("./footnote-BMPxKk_P.js"), "./renderers/fractionInput.tsx": () => import("./fractionInput-CCoS6TpQ.js"), "./renderers/graph.tsx": () => import("./graph-CBwylLlh.js"), "./renderers/hint.tsx": () => import("./hint-DWbSRfAQ.js"), "./renderers/hr.tsx": () => import("./hr-B8LdcJ4n.js"), "./renderers/image.tsx": () => import("./image-BfiA00S6.js"), "./renderers/label.tsx": () => import("./label-DJQqyB83.js"), "./renderers/legend.tsx": () => import("./legend-B22WFlKH.js"), "./renderers/line.tsx": () => import("./line-BHUfJhVH.js"), "./renderers/lineSegment.tsx": () => import("./lineSegment-B1t_WSrl.js"), "./renderers/list.tsx": () => import("./list-fcZamXWa.js"), "./renderers/lq.tsx": () => import("./lq-BSK_6dtq.js"), "./renderers/lsq.tsx": () => import("./lsq-B7UKwkb0.js"), "./renderers/math.tsx": () => import("./math-Bw-Coxdi.js"), "./renderers/mathInput.tsx": () => import("./mathInput-C846Wsln.js"), "./renderers/matrixInput.tsx": () => import("./matrixInput-5NtXmCLy.js"), "./renderers/mdash.tsx": () => import("./mdash-nyTBTkim.js"), "./renderers/nbsp.tsx": () => import("./nbsp-BkEkJBUl.js"), "./renderers/ndash.tsx": () => import("./ndash-B5cfXNIa.js"), "./renderers/number.tsx": () => import("./number-BmxW0pXG.js"), "./renderers/orbitalDiagram.tsx": () => import("./orbitalDiagram-7DdDWTl4.js"), "./renderers/orbitalDiagramInput.tsx": () => import("./orbitalDiagramInput-57MY0-Cr.js"), "./renderers/p.tsx": () => import("./p-MdlenRmY.js"), "./renderers/paginatorControls.tsx": () => import("./paginatorControls-CffBiXDZ.js"), "./renderers/pegboard.tsx": () => import("./pegboard-CCtxWnjo.js"), "./renderers/point.tsx": () => import("./point-CklSgx5x.js"), "./renderers/polygon.tsx": () => import("./polygon-n2mYllNE.js"), "./renderers/polyline.tsx": () => import("./polyline-ARRO9KCp.js"), "./renderers/pre.tsx": () => import("./pre-DJzYhQSZ.js"), "./renderers/prefigure.tsx": () => import("./prefigure-BFvGAkQG.js"), "./renderers/pretzel.tsx": () => import("./pretzel-beGYkdLa.js"), "./renderers/q.tsx": () => import("./q-ZO5-4edy.js"), "./renderers/ray.tsx": () => import("./ray-B_aHQpJH.js"), "./renderers/ref.tsx": () => import("./ref-CjjkRgXS.js"), "./renderers/regionBetweenCurveXAxis.tsx": () => import("./regionBetweenCurveXAxis-F_SbeB-V.js"), "./renderers/regionBetweenCurves.tsx": () => import("./regionBetweenCurves-CI_k5FDf.js"), "./renderers/row.tsx": () => import("./row-BTKw2hBg.js"), "./renderers/rq.tsx": () => import("./rq-w7xOqlCX.js"), "./renderers/rsq.tsx": () => import("./rsq-DOo5uGSu.js"), "./renderers/section.tsx": () => import("./section-E9t-_bYt.js"), "./renderers/sideBySide.tsx": () => import("./sideBySide-ByWZJ9uh.js"), "./renderers/slider.tsx": () => import("./slider-6UQSGBfX.js"), "./renderers/slopeField.tsx": () => import("./slopeField-CiKJ6MQY.js"), "./renderers/solution.tsx": () => import("./solution-DUO1vgMT.js"), "./renderers/spreadsheet.tsx": () => import("./spreadsheet-Bza5R0qN.js"), "./renderers/sq.tsx": () => import("./sq-DcVB8b0I.js"), "./renderers/subsetOfRealsInput.tsx": () => import("./subsetOfRealsInput-1maonEa6.js"), "./renderers/summaryStatistics.tsx": () => import("./summaryStatistics-DJ_bKc6J.js"), "./renderers/table.tsx": () => import("./table-BoM2QJtn.js"), "./renderers/tabular.tsx": () => import("./tabular-f3Lq73Kf.js"), "./renderers/tag.tsx": () => import("./tag-C1F20tMU.js"), "./renderers/text.tsx": () => import("./text-BZd42ACQ.js"), "./renderers/textInput.tsx": () => import("./textInput-BzhrU0so.js"), "./renderers/vector.tsx": () => import("./vector-BLMvRQ77.js"), "./renderers/vectorField.tsx": () => import("./vectorField-DPy7y0jm.js"), "./renderers/video.tsx": () => import("./video-CW_a9WBu.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 { N as createFunctionFromDefinition, E as DocContext } from "./doenetml-
|
|
2
|
+
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-CBwylLlh.js";
|
|
3
|
+
import { N as createFunctionFromDefinition, E as DocContext } from "./doenetml-DJhVfGlW.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-DJhVfGlW.js";
|
|
2
|
+
import { F as FontAwesomeIcon } from "./index.es-DmM7gMRt.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) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { E as DocContext, q as jsxRuntimeExports, F as textRendererStyle } from "./doenetml-
|
|
1
|
+
import { E as DocContext, q as jsxRuntimeExports, F as textRendererStyle } from "./doenetml-DJhVfGlW.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 { D as DynamicMath } from "./DynamicMath-
|
|
7
|
-
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-
|
|
8
|
-
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-DfW7tV00.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DjX3R-5X.js";
|
|
5
|
+
import { BoardContext, VERTEX_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-CBwylLlh.js";
|
|
6
|
+
import { D as DynamicMath } from "./DynamicMath-Cd3jfsRy.js";
|
|
7
|
+
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-DmV1eQtj.js";
|
|
8
|
+
import { ChoiceInputInlineContext } from "./choiceInput-Dn2vtYsj.js";
|
|
9
9
|
import { a as buildLineLikeAttributes, c as buildDragHandleAttributes } from "./buildGraphicalAttributes-B_soifR-.js";
|
|
10
10
|
import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-DV6a8Wvg.js";
|
|
11
11
|
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-DjX3R-5X.js";
|
|
3
|
+
import { u as useFieldFunction, a as useFieldCurve, c as buildVectorFieldData } from "./useFieldCurve-CngTu8-I.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 { J as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { J as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-DJhVfGlW.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-DjX3R-5X.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-C6tyQoGk.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-BOyKoCUh.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;
|