@doenet/doenetml 0.7.27-dev.752 → 0.7.27-dev.753
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-Cb0uSJIm.js → AnswerResponseButton-B9JRnpoq.js} +2 -2
- package/{ClickTarget-CBfgAxal.js → ClickTarget-D9vFze2I.js} +1 -1
- package/{Description-BJnj0ioz.js → Description-DnfG3eJ7.js} +1 -1
- package/{EditorViewer-DBVjUsYZ.js → EditorViewer-D32akMbP.js} +5 -5
- package/{GraphFrame-TYXFdly5.js → GraphFrame-uLmY5D5G.js} +2 -2
- package/{JSXGraphRenderer-CpKqgG74.js → JSXGraphRenderer-BDjNBd-H.js} +1 -1
- package/{NonInlineMediaWrapper-D8-RoBKd.js → NonInlineMediaWrapper-BSVQ3t1O.js} +1 -1
- package/{_error-Cdr_zSlH.js → _error-D_AbjbI8.js} +2 -2
- package/{alert-CByW4lDN.js → alert-DAAMYId4.js} +3 -3
- package/{angle--X1qI48N.js → angle-OkkOnMou.js} +6 -6
- package/{answer-CdE_pNvo.js → answer-P0d1IKXD.js} +6 -6
- package/{asList-Cp_FRUeV.js → asList-DkyYm8KB.js} +2 -2
- package/{blockQuote-CixznGIE.js → blockQuote-Dn6qhHzN.js} +3 -3
- package/{boolean-w7tf7zyu.js → boolean-_hRkSWop.js} +2 -2
- package/{booleanInput-pNfN4twv.js → booleanInput-Cy2i4tcY.js} +7 -7
- package/{br-D56GG39I.js → br-BkunsLqG.js} +2 -2
- package/{button-CZPBXKfn.js → button-C62wMKBq.js} +5 -5
- package/{c-CX303IZo.js → c-CctUF_HK.js} +3 -3
- package/{cell-BXagnRXW.js → cell-BPo-CFUu.js} +3 -3
- package/{chart-CYW0RfE_.js → chart-BAZ0GpSo.js} +4 -4
- package/{choiceInput-jWPKyl8S.js → choiceInput-1aZvWiPt.js} +7 -7
- package/{circle-CU_5-0jU.js → circle-C4ad5hr-.js} +6 -6
- package/{cobwebPolyline-DnauUVNd.js → cobwebPolyline-BBDAzIey.js} +4 -4
- package/{codeEditor-DFYMupvl.js → codeEditor-BAcwKp8K.js} +2 -2
- package/{composites-y0qSDKBa.js → composites-Dss1iF7o.js} +1 -1
- package/{containerBlock-B_WWXF8V.js → containerBlock-CKH6nWrQ.js} +4 -4
- package/{containerInline-D7yLIkQb.js → containerInline-u_fStXIE.js} +4 -4
- package/{curve-DU43BFbW.js → curve-r1hDG0Z8.js} +4 -4
- package/{delete-B2p3GFFu.js → delete-BS1_M9HK.js} +3 -3
- package/{doenetml-CFXWJvmD.js → doenetml-Bc-sLfGE.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-Dq0tZjZy.js → ellipsis-DWi8j1Qb.js} +2 -2
- package/{em-CClRzkWq.js → em-DMgBsqqm.js} +3 -3
- package/{embed-Bg_w13Oq.js → embed-nXm2BqHp.js} +2 -2
- package/{feedback-CVWhrTOB.js → feedback-5OSntGLt.js} +4 -4
- package/{figure-9v1bvI3W.js → figure-COJ1JwOF.js} +3 -3
- package/{fillPatterns-DawaJNjj.js → fillPatterns-CpQ_ozfV.js} +1 -1
- package/{footnote-Cqt4bXZ7.js → footnote-CmyTa4X0.js} +3 -3
- package/{fractionInput-f_x_PGfE.js → fractionInput-BuQhnmoj.js} +5 -5
- package/{graph-IMX06y8Z.js → graph-CuH0p66E.js} +5 -5
- package/{hint-z6e7m7kB.js → hint-Vdf-NC7z.js} +5 -5
- package/{hovercard-store-DxMf90uS.js → hovercard-store-BskMl2NU.js} +1 -1
- package/{hr-DTMMPebF.js → hr-D6EobfRa.js} +2 -2
- package/{image-Ua5mS0rx.js → image-iiGKp07U.js} +8 -8
- package/{index-lMucmF3P.js → index-IDstrlBD.js} +1 -1
- package/{index.es-VIQsAS0P.js → index.es-DF1tdvPF.js} +1 -1
- package/index.js +1 -1
- package/{inputLabel-By0Ur7p7.js → inputLabel-Xwdgmd2_.js} +3 -3
- package/{insert-DySQtha1.js → insert-CAS1WlqZ.js} +3 -3
- package/{label-BgeeGVGF.js → label-BdG9c1dK.js} +9 -9
- package/{legend-yJ2u6rnw.js → legend-BRbFWdTj.js} +4 -4
- package/{line-SSuEWw2B.js → line-C9xKRpvc.js} +6 -6
- package/{lineFamilyDragHandlers-CMaEn8JG.js → lineFamilyDragHandlers-CkxasXoQ.js} +1 -1
- package/{lineSegment-C_d3hCiQ.js → lineSegment-3E8xNPNi.js} +5 -5
- package/{list-BAhURW5H.js → list-DoApL-7J.js} +4 -4
- package/{lq-Di4ptInl.js → lq-xgoykLae.js} +2 -2
- package/{lsq-DdB6vMTu.js → lsq-DccCdxrH.js} +2 -2
- package/{markupRenderer-BmfG65Ju.js → markupRenderer-6xZU7KOx.js} +1 -1
- package/{math-v1Pe4Goe.js → math-JM2RdoPc.js} +8 -8
- package/{mathInput-QbtZIA9J.js → mathInput-KBsPFvuK.js} +9 -9
- package/{mathInputSlots-Dx6Jkw-2.js → mathInputSlots-BvlvxMn_.js} +1 -1
- package/{matrixInput-Kzowilcm.js → matrixInput-Dz6Bhnfq.js} +5 -5
- package/{mdash-D6Zz95Ys.js → mdash-BF7Bei_4.js} +2 -2
- package/{nbsp-B7jxhDCa.js → nbsp-CXu_VBj8.js} +2 -2
- package/{ndash-Bd0jzDCq.js → ndash-BtmI-uF4.js} +2 -2
- package/{number-BsEn0vKx.js → number-Btdagc9c.js} +8 -8
- package/{orbitalDiagram-C8UA1ha9.js → orbitalDiagram-UzmQQDBK.js} +2 -2
- package/{orbitalDiagramInput-BbSRCCjk.js → orbitalDiagramInput-DkNSjeP7.js} +2 -2
- package/{p-_-mIYys7.js → p-9RUwK1FI.js} +4 -4
- package/package.json +1 -1
- package/{paginatorControls-DoLn3JQL.js → paginatorControls-B6o5Aa-9.js} +2 -2
- package/{pegboard-DwKjnIhE.js → pegboard-BlhUioNg.js} +3 -3
- package/{point-n-YKlWMA.js → point-BcJ31thu.js} +6 -6
- package/{polygon-BgTbHCMG.js → polygon-CTZOloIC.js} +6 -6
- package/{polyline-CPCZXHID.js → polyline-BUL9h2zQ.js} +5 -5
- package/{pre-B9uFGOU7.js → pre-C0dTuTYb.js} +3 -3
- package/{prefigure-IrwrBKi9.js → prefigure-D9CF8rgi.js} +1 -1
- package/{pretzel-n4uF8Qxh.js → pretzel-CqkyZadQ.js} +4 -4
- package/{q-CKeHL6jD.js → q-CmyvYtvg.js} +3 -3
- package/{ray-DmcHabv_.js → ray-DG7ouxJC.js} +5 -5
- package/{ref-9FY4LnaF.js → ref-C6bbHwVo.js} +3 -3
- package/{regionBetweenCurveXAxis-WB0iyeLP.js → regionBetweenCurveXAxis-DT8jNT1P.js} +5 -5
- package/{regionBetweenCurves-BCnlS237.js → regionBetweenCurves-DH6LEEca.js} +5 -5
- package/{row-mTsT9qrc.js → row-gzgE_f3M.js} +2 -2
- package/{rq-CqEQ18K2.js → rq-UsQZBVbd.js} +2 -2
- package/{rsq-DSvD_Jq_.js → rsq-D9nMvggX.js} +2 -2
- package/{section-BLysxSQr.js → section-BrQuIfh0.js} +6 -6
- package/{sha256-8sXzDnE0-B8Q0RrsK.js → sha256-8sXzDnE0-DznzLV_h.js} +1 -1
- package/{sideBySide-D3ht1LFq.js → sideBySide-B9uiFkvg.js} +2 -2
- package/{slider-Cxbvn_yE.js → slider-D-Vs997R.js} +4 -4
- package/{slopeField-Bf5JY7lA.js → slopeField-A2RNeID8.js} +2 -2
- package/{solution-DIDZ_AAZ.js → solution-yk_GhdR-.js} +4 -4
- package/{spreadsheet-BTt7m4hN.js → spreadsheet-nNfuNrJ0.js} +2 -2
- package/{sq-Bnb_fWsL.js → sq-CxoF3_oH.js} +3 -3
- package/{subsetOfRealsInput--Gmp0Ras.js → subsetOfRealsInput-BbDhCP5I.js} +2 -2
- package/{summaryStatistics-Bjjz3CK6.js → summaryStatistics-CCFT8GO_.js} +2 -2
- package/{table-fX1n1Ne9.js → table-BBInTITz.js} +2 -2
- package/{tabular-5AegRQWG.js → tabular-iGpTnfJ5.js} +2 -2
- package/{tag-CJMHzkAo.js → tag-Cz8oTaLF.js} +2 -2
- package/{text-CxyH2s_s.js → text-D118X1Yc.js} +8 -8
- package/{textInput-CeeqycOd.js → textInput-DA-Ih1e_.js} +8 -8
- package/{tooltip-provider-cMKbsS3v.js → tooltip-provider-ChNRmToV.js} +2 -2
- package/{useAnchoredGraphDragHandler-D-5FJcJ0.js → useAnchoredGraphDragHandler-zue97wBV.js} +1 -1
- package/useDoenetRenderer-CIn3ALWY.js +114 -0
- package/{useFieldCurve-7hXktcOs.js → useFieldCurve-BTdCNFsA.js} +2 -2
- package/{useSubmitActionWithDelay-BrUfeqIm.js → useSubmitActionWithDelay-DbLl-WIh.js} +2 -2
- package/{vector-CkN0gR2h.js → vector-xBLR-B-B.js} +6 -6
- package/{vectorField-D1AcX3vl.js → vectorField-B3rk8VvP.js} +2 -2
- package/{video-BVHd02eh.js → video-DSorqay7.js} +4 -4
- package/useDoenetRenderer-C-Y_LbK9.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-Bc-sLfGE.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-BDjNBd-H.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CIn3ALWY.js";
|
|
5
|
+
import { B as BoardContext, P as POINT_LAYER_OFFSET } from "./graph-CuH0p66E.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-CkxasXoQ.js";
|
|
9
|
+
import { ChoiceInputInlineContext } from "./choiceInput-1aZvWiPt.js";
|
|
10
10
|
import { u as usePointerDragState, a as useBoardPointerTracking } from "./gestureId-CWWCHhdR.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-Bc-sLfGE.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-BDjNBd-H.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CIn3ALWY.js";
|
|
5
|
+
import { B as BoardContext, L as LINE_LAYER_OFFSET, V as VERTEX_LAYER_OFFSET } from "./graph-CuH0p66E.js";
|
|
6
|
+
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-CkxasXoQ.js";
|
|
7
7
|
import { u as usePointerDragState, a as useBoardPointerTracking } from "./gestureId-CWWCHhdR.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-CpQ_ozfV.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-Bc-sLfGE.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-BDjNBd-H.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CIn3ALWY.js";
|
|
5
|
+
import { B as BoardContext, V as VERTEX_LAYER_OFFSET, L as LINE_LAYER_OFFSET } from "./graph-CuH0p66E.js";
|
|
6
|
+
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-CkxasXoQ.js";
|
|
7
7
|
import { u as usePointerDragState, a as useBoardPointerTracking } from "./gestureId-CWWCHhdR.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-Bc-sLfGE.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-CIn3ALWY.js";
|
|
4
|
+
import { a as addCommasForCompositeRanges } from "./composites-Dss1iF7o.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-Bc-sLfGE.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-Bc-sLfGE.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-CIn3ALWY.js";
|
|
4
|
+
import { A as AnswerResponseButton } from "./AnswerResponseButton-B9JRnpoq.js";
|
|
5
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-DbLl-WIh.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-Bc-sLfGE.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-CIn3ALWY.js";
|
|
4
|
+
import { r as renderMarkupBody } from "./markupRenderer-6xZU7KOx.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-Bc-sLfGE.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-BDjNBd-H.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CIn3ALWY.js";
|
|
5
|
+
import { B as BoardContext, L as LINE_LAYER_OFFSET } from "./graph-CuH0p66E.js";
|
|
6
|
+
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-CkxasXoQ.js";
|
|
7
7
|
import { a as buildLineLikeAttributes } from "./buildGraphicalAttributes-B_soifR-.js";
|
|
8
8
|
import { u as usePointerDragState, a as useBoardPointerTracking } from "./gestureId-CWWCHhdR.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-Bc-sLfGE.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-CIn3ALWY.js";
|
|
4
|
+
import { N as NoClickTargetContext } from "./ClickTarget-D9vFze2I.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-Bc-sLfGE.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-BDjNBd-H.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CIn3ALWY.js";
|
|
5
|
+
import { B as BoardContext, L as LINE_LAYER_OFFSET } from "./graph-CuH0p66E.js";
|
|
6
|
+
import { g as getPatternFillAttributes } from "./fillPatterns-CpQ_ozfV.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-Bc-sLfGE.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-CIn3ALWY.js";
|
|
4
|
+
import { B as BoardContext, L as LINE_LAYER_OFFSET } from "./graph-CuH0p66E.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-CpQ_ozfV.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-BDjNBd-H.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-Bc-sLfGE.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CIn3ALWY.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-Bc-sLfGE.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CIn3ALWY.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-Bc-sLfGE.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CIn3ALWY.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-Bc-sLfGE.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-DF1tdvPF.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-CIn3ALWY.js";
|
|
6
|
+
import { a as addCommasForCompositeRanges } from "./composites-Dss1iF7o.js";
|
|
7
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-DbLl-WIh.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-D9vFze2I.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-Bc-sLfGE.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CIn3ALWY.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-Bc-sLfGE.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-CIn3ALWY.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-CuH0p66E.js";
|
|
7
|
+
import { u as useRenderedLabel } from "./inputLabel-Xwdgmd2_.js";
|
|
8
8
|
import { l as ltrIslandProps } from "./direction-BwrU7jHk.js";
|
|
9
9
|
let round_to_decimals = (x, n) => {
|
|
10
10
|
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-CIn3ALWY.js";
|
|
3
|
+
import { u as useFieldFunction, a as useFieldCurve, b as buildSlopeFieldData } from "./useFieldCurve-BTdCNFsA.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-Bc-sLfGE.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-CIn3ALWY.js";
|
|
4
|
+
import { F as FontAwesomeIcon } from "./index.es-DF1tdvPF.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-Dss1iF7o.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-Bc-sLfGE.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-CIn3ALWY.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-Bc-sLfGE.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-CIn3ALWY.js";
|
|
4
|
+
import { r as renderMarkupBody } from "./markupRenderer-6xZU7KOx.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, a2 as ToggleButtonGroup, Z as ToggleButton, V as ActionButtonGroup, W as ActionButton } from "./doenetml-
|
|
1
|
+
import { u as useT, J as useRecordVisibilityChanges, q as jsxRuntimeExports, a2 as ToggleButtonGroup, Z as ToggleButton, V as ActionButtonGroup, W as ActionButton } from "./doenetml-Bc-sLfGE.js";
|
|
2
2
|
import React__default, { useState, useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CIn3ALWY.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-Bc-sLfGE.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CIn3ALWY.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-Bc-sLfGE.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CIn3ALWY.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-Bc-sLfGE.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-CIn3ALWY.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-Bc-sLfGE.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CIn3ALWY.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-Bc-sLfGE.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-BDjNBd-H.js";
|
|
4
|
+
import { B as BoardContext, T as TEXT_LAYER_OFFSET } from "./graph-CuH0p66E.js";
|
|
5
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CIn3ALWY.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-1aZvWiPt.js";
|
|
9
|
+
import { I as InputLabelContext } from "./inputLabel-Xwdgmd2_.js";
|
|
10
10
|
import { u as usePointerDragState, a as useBoardPointerTracking } from "./gestureId-CWWCHhdR.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-zue97wBV.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-D9vFze2I.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-Bc-sLfGE.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-BDjNBd-H.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CIn3ALWY.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-CuH0p66E.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-DbLl-WIh.js";
|
|
10
|
+
import { D as DescriptionPopover } from "./Description-DnfG3eJ7.js";
|
|
11
|
+
import { u as useRenderedLabel } from "./inputLabel-Xwdgmd2_.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-BvlvxMn_.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 { al as createStoreContext, am as createDialogComponent, a4 as forwardRef, a5 as createElement, a6 as createHook, a8 as invariant, an as useWrapElement, q as jsxRuntimeExports, a9 as useStoreState, ao as isFalsyBooleanCallback, ap as contains, aq as sync, ar as chain, as as useEvent, at as createStore, au as defaultValue, av as useStore, aw 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 { al as createStoreContext, am as createDialogComponent, a4 as forwardRef, a5 as createElement, a6 as createHook, a8 as invariant, an as useWrapElement, q as jsxRuntimeExports, a9 as useStoreState, ao as isFalsyBooleanCallback, ap as contains, aq as sync, ar as chain, as as useEvent, at as createStore, au as defaultValue, av as useStore, aw as useStoreProps } from "./doenetml-Bc-sLfGE.js";
|
|
2
|
+
import { H as HovercardScopedContextProvider, a as HovercardContextProvider, u as useHovercard, b as useHovercardAnchor, c as createHovercardStore, d as useHovercardStoreProps } from "./hovercard-store-BskMl2NU.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-BDjNBd-H.js";
|
|
2
2
|
import { e as exceededDragThreshold, p as pointerEventToUserCoords } from "./dragThreshold-DkT37QqI.js";
|
|
3
3
|
import { c as clickActionArgs } from "./gestureId-CWWCHhdR.js";
|
|
4
4
|
function attachAnchoredGraphDragHandlers(params) {
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import { x as useAppSelector, y as mainSlice, z as renderersLoadComponent, _ as __variableDynamicImportRuntimeHelper } from "./doenetml-Bc-sLfGE.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-uLmY5D5G.js"), "./renderers/JSXGraphRenderer.tsx": () => import("./JSXGraphRenderer-BDjNBd-H.js").then((n) => n.m), "./renderers/_error.tsx": () => import("./_error-D_AbjbI8.js"), "./renderers/alert.tsx": () => import("./alert-DAAMYId4.js"), "./renderers/angle.tsx": () => import("./angle-OkkOnMou.js"), "./renderers/answer.tsx": () => import("./answer-P0d1IKXD.js"), "./renderers/asList.tsx": () => import("./asList-DkyYm8KB.js"), "./renderers/blockQuote.tsx": () => import("./blockQuote-Dn6qhHzN.js"), "./renderers/boolean.tsx": () => import("./boolean-_hRkSWop.js"), "./renderers/booleanInput.tsx": () => import("./booleanInput-Cy2i4tcY.js"), "./renderers/br.tsx": () => import("./br-BkunsLqG.js"), "./renderers/button.tsx": () => import("./button-C62wMKBq.js"), "./renderers/c.tsx": () => import("./c-CctUF_HK.js"), "./renderers/cell.tsx": () => import("./cell-BPo-CFUu.js"), "./renderers/chart.tsx": () => import("./chart-BAZ0GpSo.js"), "./renderers/choiceInput.tsx": () => import("./choiceInput-1aZvWiPt.js"), "./renderers/circle.tsx": () => import("./circle-C4ad5hr-.js"), "./renderers/cobwebPolyline.tsx": () => import("./cobwebPolyline-BBDAzIey.js"), "./renderers/codeEditor.tsx": () => import("./codeEditor-BAcwKp8K.js"), "./renderers/containerBlock.tsx": () => import("./containerBlock-CKH6nWrQ.js"), "./renderers/containerInline.tsx": () => import("./containerInline-u_fStXIE.js"), "./renderers/curve.tsx": () => import("./curve-r1hDG0Z8.js"), "./renderers/delete.tsx": () => import("./delete-BS1_M9HK.js"), "./renderers/ellipsis.tsx": () => import("./ellipsis-DWi8j1Qb.js"), "./renderers/em.tsx": () => import("./em-DMgBsqqm.js"), "./renderers/embed.tsx": () => import("./embed-nXm2BqHp.js"), "./renderers/feedback.tsx": () => import("./feedback-5OSntGLt.js"), "./renderers/figure.tsx": () => import("./figure-COJ1JwOF.js"), "./renderers/footnote.tsx": () => import("./footnote-CmyTa4X0.js"), "./renderers/fractionInput.tsx": () => import("./fractionInput-BuQhnmoj.js"), "./renderers/graph.tsx": () => import("./graph-CuH0p66E.js").then((n) => n.g), "./renderers/hint.tsx": () => import("./hint-Vdf-NC7z.js"), "./renderers/hr.tsx": () => import("./hr-D6EobfRa.js"), "./renderers/image.tsx": () => import("./image-iiGKp07U.js"), "./renderers/insert.tsx": () => import("./insert-CAS1WlqZ.js"), "./renderers/label.tsx": () => import("./label-BdG9c1dK.js"), "./renderers/legend.tsx": () => import("./legend-BRbFWdTj.js"), "./renderers/line.tsx": () => import("./line-C9xKRpvc.js"), "./renderers/lineSegment.tsx": () => import("./lineSegment-3E8xNPNi.js"), "./renderers/list.tsx": () => import("./list-DoApL-7J.js"), "./renderers/lq.tsx": () => import("./lq-xgoykLae.js"), "./renderers/lsq.tsx": () => import("./lsq-DccCdxrH.js"), "./renderers/math.tsx": () => import("./math-JM2RdoPc.js"), "./renderers/mathInput.tsx": () => import("./mathInput-KBsPFvuK.js"), "./renderers/matrixInput.tsx": () => import("./matrixInput-Dz6Bhnfq.js"), "./renderers/mdash.tsx": () => import("./mdash-BF7Bei_4.js"), "./renderers/nbsp.tsx": () => import("./nbsp-CXu_VBj8.js"), "./renderers/ndash.tsx": () => import("./ndash-BtmI-uF4.js"), "./renderers/number.tsx": () => import("./number-Btdagc9c.js"), "./renderers/orbitalDiagram.tsx": () => import("./orbitalDiagram-UzmQQDBK.js"), "./renderers/orbitalDiagramInput.tsx": () => import("./orbitalDiagramInput-DkNSjeP7.js"), "./renderers/p.tsx": () => import("./p-9RUwK1FI.js"), "./renderers/paginatorControls.tsx": () => import("./paginatorControls-B6o5Aa-9.js"), "./renderers/pegboard.tsx": () => import("./pegboard-BlhUioNg.js"), "./renderers/point.tsx": () => import("./point-BcJ31thu.js"), "./renderers/polygon.tsx": () => import("./polygon-CTZOloIC.js"), "./renderers/polyline.tsx": () => import("./polyline-BUL9h2zQ.js"), "./renderers/pre.tsx": () => import("./pre-C0dTuTYb.js"), "./renderers/prefigure.tsx": () => import("./prefigure-D9CF8rgi.js"), "./renderers/pretzel.tsx": () => import("./pretzel-CqkyZadQ.js"), "./renderers/q.tsx": () => import("./q-CmyvYtvg.js"), "./renderers/ray.tsx": () => import("./ray-DG7ouxJC.js"), "./renderers/ref.tsx": () => import("./ref-C6bbHwVo.js"), "./renderers/regionBetweenCurveXAxis.tsx": () => import("./regionBetweenCurveXAxis-DT8jNT1P.js"), "./renderers/regionBetweenCurves.tsx": () => import("./regionBetweenCurves-DH6LEEca.js"), "./renderers/row.tsx": () => import("./row-gzgE_f3M.js"), "./renderers/rq.tsx": () => import("./rq-UsQZBVbd.js"), "./renderers/rsq.tsx": () => import("./rsq-D9nMvggX.js"), "./renderers/section.tsx": () => import("./section-BrQuIfh0.js"), "./renderers/sideBySide.tsx": () => import("./sideBySide-B9uiFkvg.js"), "./renderers/slider.tsx": () => import("./slider-D-Vs997R.js"), "./renderers/slopeField.tsx": () => import("./slopeField-A2RNeID8.js"), "./renderers/solution.tsx": () => import("./solution-yk_GhdR-.js"), "./renderers/spreadsheet.tsx": () => import("./spreadsheet-nNfuNrJ0.js"), "./renderers/sq.tsx": () => import("./sq-CxoF3_oH.js"), "./renderers/subsetOfRealsInput.tsx": () => import("./subsetOfRealsInput-BbDhCP5I.js"), "./renderers/summaryStatistics.tsx": () => import("./summaryStatistics-CCFT8GO_.js"), "./renderers/table.tsx": () => import("./table-BBInTITz.js"), "./renderers/tabular.tsx": () => import("./tabular-iGpTnfJ5.js"), "./renderers/tag.tsx": () => import("./tag-Cz8oTaLF.js"), "./renderers/text.tsx": () => import("./text-D118X1Yc.js"), "./renderers/textInput.tsx": () => import("./textInput-DA-Ih1e_.js"), "./renderers/vector.tsx": () => import("./vector-xBLR-B-B.js"), "./renderers/vectorField.tsx": () => import("./vectorField-B3rk8VvP.js"), "./renderers/video.tsx": () => import("./video-DSorqay7.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
|
-
import { a0 as thinnedLatticeLines, a1 as fieldFunctionFromDefinition, E as DocContext } from "./doenetml-
|
|
1
|
+
import { a0 as thinnedLatticeLines, a1 as fieldFunctionFromDefinition, E as DocContext } from "./doenetml-Bc-sLfGE.js";
|
|
2
2
|
import { useMemo, useContext, useRef } from "react";
|
|
3
|
-
import { B as BoardContext, L as LINE_LAYER_OFFSET } from "./graph-
|
|
3
|
+
import { B as BoardContext, L as LINE_LAYER_OFFSET } from "./graph-CuH0p66E.js";
|
|
4
4
|
import { s as styleToDash } from "./styleToDash-DWb71gbd.js";
|
|
5
5
|
import { u as useJSXGraphCleanup } from "./useJSXGraphCleanup-BNk4sn6x.js";
|
|
6
6
|
function forEachLatticePoint(bounds, grid, maxMarks, visit) {
|
|
@@ -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-Bc-sLfGE.js";
|
|
2
|
+
import { F as FontAwesomeIcon } from "./index.es-DF1tdvPF.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) {
|