@doenet/doenetml 0.7.27-dev.722 → 0.7.27-dev.724
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{AnswerResponseButton-Bod3ceCt.js → AnswerResponseButton-DZoEmkZ7.js} +2 -2
- package/{ClickTarget-vvCrTXcX.js → ClickTarget-Di8-W8f_.js} +1 -1
- package/{Description-DLObq3bT.js → Description-DAbGkvhw.js} +1 -1
- package/{EditorViewer-CcflAMZR.js → EditorViewer-DL72EzNj.js} +5 -5
- package/{GraphFrame-BZC_g30g.js → GraphFrame-BSkC5Ig-.js} +2 -2
- package/{JSXGraphRenderer-BE3bSw4H.js → JSXGraphRenderer-Cmzky2dS.js} +1 -1
- package/{NonInlineMediaWrapper-LSNjLjKF.js → NonInlineMediaWrapper-UcwUW8Dm.js} +1 -1
- package/Viewer/renderers/button.d.ts.map +1 -1
- package/Viewer/renderers/slider.d.ts.map +1 -1
- package/{_error-DeO4SnNB.js → _error-CLQ381X6.js} +2 -2
- package/{alert-gijULeG8.js → alert-oY_tZYUh.js} +3 -3
- package/{angle-BtbmakG7.js → angle-D1APcT6R.js} +6 -6
- package/{answer-ggR9tYaJ.js → answer-aa_swdNQ.js} +6 -6
- package/{asList-BHzPGacl.js → asList-BU_DcD_1.js} +2 -2
- package/{blockQuote-e5mHURKi.js → blockQuote-NG677Fko.js} +3 -3
- package/{boolean-DQtxy-ly.js → boolean-BOIG2Ug5.js} +2 -2
- package/{booleanInput-vV9jt02-.js → booleanInput-ChKtcqP-.js} +7 -7
- package/{br-CAHyglQd.js → br-Co_Mk9af.js} +2 -2
- package/{button-0pmxUmkh.js → button-vWY71te7.js} +7 -6
- package/{c-4sNZy_aI.js → c-DufALXKl.js} +3 -3
- package/{cell-BCFIn152.js → cell-BFbP78r-.js} +3 -3
- package/{chart-D8Kvduvq.js → chart-Db-sq_CD.js} +4 -4
- package/{choiceInput-CtWRN_pP.js → choiceInput-RbREw_Rm.js} +7 -7
- package/{circle-DXj4GXmn.js → circle-B0_d_bCJ.js} +6 -6
- package/{cobwebPolyline-CrNpZ5nX.js → cobwebPolyline-Dg7hp3zg.js} +4 -4
- package/{codeEditor-CGhQV4Rv.js → codeEditor-Cbu81vtx.js} +2 -2
- package/{composites-xwasy1NL.js → composites-CqinM_s5.js} +1 -1
- package/{containerBlock-oac5S56C.js → containerBlock-DiW-0A6G.js} +4 -4
- package/{containerInline-jhTrkhCK.js → containerInline-gCWi8V2X.js} +4 -4
- package/{curve-DSq92BzX.js → curve-Dvh619FY.js} +4 -4
- package/{delete-DaSfMCHw.js → delete-BKuP0Lnb.js} +3 -3
- package/doenetml-external-worker.js +2 -2
- package/doenetml-inline-worker.js +3 -3
- package/{doenetml-ClwXiJO3.js → doenetml-iwXfjzfc.js} +3 -3
- package/doenetml-worker/index.esm.js +1 -1
- package/doenetml-worker/index.js +1 -1
- package/{ellipsis-C9JFYm9i.js → ellipsis-d-G6bfYI.js} +2 -2
- package/{em-C6boKOOT.js → em-DPCaEupJ.js} +3 -3
- package/{embed-DvrmzAm5.js → embed-DHOuDLZ9.js} +2 -2
- package/{feedback-Tx-4G83v.js → feedback-C98wi0-m.js} +4 -4
- package/{figure-DtT6Bkl4.js → figure-y-2BD6zv.js} +3 -3
- package/{fillPatterns-B5I5AKPl.js → fillPatterns-DVH9EmYz.js} +1 -1
- package/{footnote-DrPbf0zq.js → footnote-CzzitY9I.js} +3 -3
- package/{fractionInput-Cm4lF95d.js → fractionInput-DwV8JnME.js} +5 -5
- package/{graph-BQK8i7d3.js → graph-Cfmt0ctM.js} +5 -5
- package/{hint-BMXfpGMl.js → hint-D9CWLZFK.js} +5 -5
- package/{hovercard-store-Cjww_WHq.js → hovercard-store-C0A3QPIM.js} +1 -1
- package/{hr-Cuh2LIln.js → hr-DvtA-npJ.js} +2 -2
- package/{image-DbzMtY0A.js → image-DNVhrG1o.js} +8 -8
- package/{index-DA3O2ID3.js → index-D7y7zzy9.js} +1 -1
- package/{index.es-C27pwVDJ.js → index.es-CDA-lrfb.js} +1 -1
- package/index.js +1 -1
- package/{inputLabel-CVZxmyOZ.js → inputLabel-CwPHvk1Q.js} +3 -3
- package/{insert-w_xdww3c.js → insert-COlvl73G.js} +3 -3
- package/{label-BojouvY4.js → label-NPAeFTNY.js} +9 -9
- package/{legend-GF-p_DSI.js → legend-HW5MfpKS.js} +4 -4
- package/{line-DdaecR60.js → line-DB0XUIja.js} +6 -6
- package/{lineFamilyDragHandlers-BBdndXCt.js → lineFamilyDragHandlers-8iGIi7iY.js} +1 -1
- package/{lineSegment-BB3HAgsm.js → lineSegment-DRxlJ-G9.js} +5 -5
- package/{list-Bk2hQ9-6.js → list-Cao4O87e.js} +4 -4
- package/{lq-89nzURE6.js → lq-DeqQbaX1.js} +2 -2
- package/{lsq-BWlGjme9.js → lsq-tjrZfFEw.js} +2 -2
- package/{markupRenderer-C9tjwgIO.js → markupRenderer-D_aRhgMC.js} +1 -1
- package/{math-Df-t0JTM.js → math-CKr4LvLa.js} +8 -8
- package/{mathInput-CZ7U59sg.js → mathInput-Do6P6rDE.js} +9 -9
- package/{mathInputSlots-slK7qkPq.js → mathInputSlots-CV6Fygnw.js} +1 -1
- package/{matrixInput-B0gzG5EH.js → matrixInput-DArzBnjl.js} +5 -5
- package/{mdash-BQ_dg7TS.js → mdash-Bvh2q2Wj.js} +2 -2
- package/{nbsp-Bkp7bx93.js → nbsp-DvdT7E9h.js} +2 -2
- package/{ndash-ihSwJeyP.js → ndash-DPiY3Uds.js} +2 -2
- package/{number-CkJBcUzx.js → number-CA_jyEG-.js} +8 -8
- package/{orbitalDiagram-D5bcasa_.js → orbitalDiagram-p5W6C15M.js} +2 -2
- package/{orbitalDiagramInput-CxxHR53H.js → orbitalDiagramInput-DiiefVfm.js} +2 -2
- package/{p-BuVblnlK.js → p-OfF7Dbty.js} +4 -4
- package/package.json +1 -1
- package/{paginatorControls-BFpPqxCm.js → paginatorControls-CgacuKsd.js} +2 -2
- package/{pegboard-BzcBBX1v.js → pegboard-CwmZ0wKu.js} +3 -3
- package/{point-3kd126As.js → point-pDwmur6G.js} +6 -6
- package/{polygon-C1vHL1tL.js → polygon-C-zPNnHq.js} +6 -6
- package/{polyline-BZ5tbr26.js → polyline-C0g6J3VO.js} +5 -5
- package/{pre-CTx3vJdL.js → pre-BF5vKCqr.js} +3 -3
- package/{prefigure-CpUTHyWB.js → prefigure-C2qhMAA_.js} +1 -1
- package/{pretzel-Dd_THE9a.js → pretzel-XRxjKCQR.js} +4 -4
- package/{q-CjbnHfez.js → q-DAFuBgLV.js} +3 -3
- package/{ray-C8iLLfwp.js → ray-muJE6DJ_.js} +5 -5
- package/{ref-D_rLUUu1.js → ref-Gkiq6vCM.js} +3 -3
- package/{regionBetweenCurveXAxis-DaM0oiTa.js → regionBetweenCurveXAxis-By8OgX4T.js} +5 -5
- package/{regionBetweenCurves-DosygKzW.js → regionBetweenCurves-CLctixnJ.js} +5 -5
- package/{row-CfTQLP_J.js → row-OPOe3Cnk.js} +2 -2
- package/{rq-C7uWHWir.js → rq-CRZtDvmm.js} +2 -2
- package/{rsq-BMZd-nug.js → rsq-CWqov3vo.js} +2 -2
- package/{section-BIefvNxm.js → section-BhZShVxm.js} +6 -6
- package/{sha256-8sXzDnE0-CDx48_Bq.js → sha256-8sXzDnE0-CsJiORWc.js} +1 -1
- package/{sideBySide-CHpC8ARR.js → sideBySide-Db80k9Na.js} +2 -2
- package/{slider-aneeZXte.js → slider-CEGN2Fyi.js} +6 -6
- package/{slopeField-CCO2Izch.js → slopeField-9h0DgqV2.js} +2 -2
- package/{solution-D_UWNM_j.js → solution-DFs8y_el.js} +4 -4
- package/{spreadsheet-61-PbW9a.js → spreadsheet-BsjH7f06.js} +2 -2
- package/{sq-BXFZPb45.js → sq--TOg0_YT.js} +3 -3
- package/style.css +20 -0
- package/{subsetOfRealsInput-DVT8PHIK.js → subsetOfRealsInput-uB2zoDj_.js} +2 -2
- package/{summaryStatistics-DZdHRQeS.js → summaryStatistics-Bc7kfEN1.js} +2 -2
- package/{table-B7mZ_auR.js → table-eAtCvq3S.js} +2 -2
- package/{tabular-Clmq_4Hd.js → tabular-C-mtrT_M.js} +2 -2
- package/{tag-D9xHhESL.js → tag-DIZRq_zo.js} +2 -2
- package/{text-DdphJnSc.js → text-Bb9E1Ajo.js} +8 -8
- package/{textInput-CT8y5U5b.js → textInput-DdBGWNK5.js} +8 -8
- package/{tooltip-provider-BME-Kb4-.js → tooltip-provider-BS5-6VKU.js} +2 -2
- package/{useAnchoredGraphDragHandler-B-0OeylA.js → useAnchoredGraphDragHandler-DgC4kEBt.js} +1 -1
- package/useDoenetRenderer-C1c6hJ9C.js +114 -0
- package/{useFieldCurve-IE5ynYvL.js → useFieldCurve-DdJwde_Q.js} +2 -2
- package/{useSubmitActionWithDelay-sZW78Xjk.js → useSubmitActionWithDelay-DhRRGHIQ.js} +2 -2
- package/{vector-CI5clpda.js → vector-C9jgARwG.js} +6 -6
- package/{vectorField-B6mkdae9.js → vectorField-Yk3OGCgA.js} +2 -2
- package/{video-uy9puQHf.js → video-BPbVeQY2.js} +4 -4
- package/useDoenetRenderer-D_ZOsiYo.js +0 -114
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { E as DocContext, F as textRendererStyle, q as jsxRuntimeExports, G as DynamicMath } from "./doenetml-
|
|
1
|
+
import { E as DocContext, F as textRendererStyle, q as jsxRuntimeExports, G as DynamicMath } from "./doenetml-iwXfjzfc.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-Cmzky2dS.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-C1c6hJ9C.js";
|
|
5
|
+
import { B as BoardContext, P as POINT_LAYER_OFFSET } from "./graph-Cfmt0ctM.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-8iGIi7iY.js";
|
|
9
|
+
import { ChoiceInputInlineContext } from "./choiceInput-RbREw_Rm.js";
|
|
10
10
|
import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-BZQatkpv.js";
|
|
11
11
|
import { p as pointerEventToUserCoords } from "./dragThreshold-DkT37QqI.js";
|
|
12
12
|
import { c as resolveMarkerColor } from "./styleColors-BrCvjxze.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { E as DocContext, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { E as DocContext, q as jsxRuntimeExports } from "./doenetml-iwXfjzfc.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-Cmzky2dS.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-C1c6hJ9C.js";
|
|
5
|
+
import { B as BoardContext, L as LINE_LAYER_OFFSET, V as VERTEX_LAYER_OFFSET } from "./graph-Cfmt0ctM.js";
|
|
6
|
+
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-8iGIi7iY.js";
|
|
7
7
|
import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-BZQatkpv.js";
|
|
8
8
|
import { p as pointerEventToUserCoords } from "./dragThreshold-DkT37QqI.js";
|
|
9
9
|
import { a as resolveLineColor, r as resolveFillColor, b as resolveCanvasColor, d as resolveHandleColor } from "./styleColors-BrCvjxze.js";
|
|
@@ -11,7 +11,7 @@ import { s as styleToDash } from "./styleToDash-DWb71gbd.js";
|
|
|
11
11
|
import { u as useDraggableRefs } from "./useDraggableRefs-QaTfkVuD.js";
|
|
12
12
|
import { u as useJSXGraphCleanup } from "./useJSXGraphCleanup-BNk4sn6x.js";
|
|
13
13
|
import { d as buildBaseAttributes } from "./buildGraphicalAttributes-B_soifR-.js";
|
|
14
|
-
import { g as getPatternFillAttributes } from "./fillPatterns-
|
|
14
|
+
import { g as getPatternFillAttributes } from "./fillPatterns-DVH9EmYz.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-iwXfjzfc.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-Cmzky2dS.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-C1c6hJ9C.js";
|
|
5
|
+
import { B as BoardContext, V as VERTEX_LAYER_OFFSET, L as LINE_LAYER_OFFSET } from "./graph-Cfmt0ctM.js";
|
|
6
|
+
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-8iGIi7iY.js";
|
|
7
7
|
import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-BZQatkpv.js";
|
|
8
8
|
import { p as pointerEventToUserCoords } from "./dragThreshold-DkT37QqI.js";
|
|
9
9
|
import { a as resolveLineColor, d as resolveHandleColor } from "./styleColors-BrCvjxze.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { J as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { J as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-iwXfjzfc.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-C1c6hJ9C.js";
|
|
4
|
+
import { a as addCommasForCompositeRanges } from "./composites-CqinM_s5.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-iwXfjzfc.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-iwXfjzfc.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-C1c6hJ9C.js";
|
|
4
|
+
import { A as AnswerResponseButton } from "./AnswerResponseButton-DZoEmkZ7.js";
|
|
5
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-DhRRGHIQ.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-iwXfjzfc.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-C1c6hJ9C.js";
|
|
4
|
+
import { r as renderMarkupBody } from "./markupRenderer-D_aRhgMC.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-iwXfjzfc.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-Cmzky2dS.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-C1c6hJ9C.js";
|
|
5
|
+
import { B as BoardContext, L as LINE_LAYER_OFFSET } from "./graph-Cfmt0ctM.js";
|
|
6
|
+
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-8iGIi7iY.js";
|
|
7
7
|
import { a as buildLineLikeAttributes } from "./buildGraphicalAttributes-B_soifR-.js";
|
|
8
8
|
import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-BZQatkpv.js";
|
|
9
9
|
import { p as pointerEventToUserCoords } from "./dragThreshold-DkT37QqI.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { E as DocContext, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { E as DocContext, q as jsxRuntimeExports } from "./doenetml-iwXfjzfc.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-C1c6hJ9C.js";
|
|
4
|
+
import { N as NoClickTargetContext } from "./ClickTarget-Di8-W8f_.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-iwXfjzfc.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-Cmzky2dS.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-C1c6hJ9C.js";
|
|
5
|
+
import { B as BoardContext, L as LINE_LAYER_OFFSET } from "./graph-Cfmt0ctM.js";
|
|
6
|
+
import { g as getPatternFillAttributes } from "./fillPatterns-DVH9EmYz.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-iwXfjzfc.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-C1c6hJ9C.js";
|
|
4
|
+
import { B as BoardContext, L as LINE_LAYER_OFFSET } from "./graph-Cfmt0ctM.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-DVH9EmYz.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-Cmzky2dS.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-iwXfjzfc.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-C1c6hJ9C.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-iwXfjzfc.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-C1c6hJ9C.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-iwXfjzfc.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-C1c6hJ9C.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-iwXfjzfc.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-CDA-lrfb.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-C1c6hJ9C.js";
|
|
6
|
+
import { a as addCommasForCompositeRanges } from "./composites-CqinM_s5.js";
|
|
7
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-DhRRGHIQ.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-Di8-W8f_.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-iwXfjzfc.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-C1c6hJ9C.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-iwXfjzfc.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-C1c6hJ9C.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-Cfmt0ctM.js";
|
|
7
|
+
import { u as useRenderedLabel } from "./inputLabel-CwPHvk1Q.js";
|
|
8
8
|
import { l as ltrIslandProps } from "./direction-BwrU7jHk.js";
|
|
9
9
|
let round_to_decimals = (x, n) => {
|
|
10
10
|
try {
|
|
@@ -171,7 +171,7 @@ const slider = React__default.memo(function Slider(props) {
|
|
|
171
171
|
setIndex(SVs.index);
|
|
172
172
|
}
|
|
173
173
|
}, [SVs, ignoreUpdate]);
|
|
174
|
-
|
|
174
|
+
function changeValue(v, isTransient) {
|
|
175
175
|
const index2 = Number(v);
|
|
176
176
|
if (!(SVs.type === "text")) {
|
|
177
177
|
const value = SVs.items.length === 0 ? SVs.from + SVs.step * index2 : Number(SVs.items[index2]);
|
|
@@ -197,7 +197,7 @@ const slider = React__default.memo(function Slider(props) {
|
|
|
197
197
|
baseVariableValue: index2
|
|
198
198
|
});
|
|
199
199
|
}
|
|
200
|
-
}
|
|
200
|
+
}
|
|
201
201
|
if (SVs.hidden) {
|
|
202
202
|
return null;
|
|
203
203
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React__default from "react";
|
|
2
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
-
import { u as useFieldFunction, a as useFieldCurve, b as buildSlopeFieldData } from "./useFieldCurve-
|
|
2
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-C1c6hJ9C.js";
|
|
3
|
+
import { u as useFieldFunction, a as useFieldCurve, b as buildSlopeFieldData } from "./useFieldCurve-DdJwde_Q.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-iwXfjzfc.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-C1c6hJ9C.js";
|
|
4
|
+
import { F as FontAwesomeIcon } from "./index.es-CDA-lrfb.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-CqinM_s5.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-iwXfjzfc.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-C1c6hJ9C.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-iwXfjzfc.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-C1c6hJ9C.js";
|
|
4
|
+
import { r as renderMarkupBody } from "./markupRenderer-D_aRhgMC.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 });
|
package/style.css
CHANGED
|
@@ -2474,6 +2474,26 @@ Tailwind base is purposely not included because we want all styles to be prefixe
|
|
|
2474
2474
|
.doenet-viewer .doenet-button-label mjx-container {
|
|
2475
2475
|
pointer-events: none;
|
|
2476
2476
|
}
|
|
2477
|
+
|
|
2478
|
+
/*
|
|
2479
|
+
* Outside a graph, the button sits in a line of text, so it is kept no taller
|
|
2480
|
+
* than an inline check-work button. `.doenet-button` sets `all: unset` after
|
|
2481
|
+
* `box-sizing`, so its `min-height` holds the content box and its vertical
|
|
2482
|
+
* padding is added on top of it.
|
|
2483
|
+
*/
|
|
2484
|
+
.doenet-viewer .doenet-button.doenet-inline-action-button {
|
|
2485
|
+
padding-block: 0;
|
|
2486
|
+
}
|
|
2487
|
+
|
|
2488
|
+
/*
|
|
2489
|
+
* Without vertical padding, the inset white focus ring of `.doenet-button`
|
|
2490
|
+
* would cross the label, so draw the ring outside the button instead, as an
|
|
2491
|
+
* inline check-work button does.
|
|
2492
|
+
*/
|
|
2493
|
+
.doenet-viewer .doenet-button.doenet-inline-action-button:focus {
|
|
2494
|
+
outline: 2px solid var(--button-canvas-color);
|
|
2495
|
+
outline-offset: 2px;
|
|
2496
|
+
}
|
|
2477
2497
|
/*
|
|
2478
2498
|
* `text-decoration` does not reach into inline-block boxes, and MathJax builds
|
|
2479
2499
|
* inline math out of them: its CHTML output is a tree of inline-block pieces
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { u as useT, J as useRecordVisibilityChanges, q as jsxRuntimeExports, a0 as ToggleButtonGroup, Z as ToggleButton, V as ActionButtonGroup, W as ActionButton } from "./doenetml-
|
|
1
|
+
import { u as useT, J as useRecordVisibilityChanges, q as jsxRuntimeExports, a0 as ToggleButtonGroup, Z as ToggleButton, V as ActionButtonGroup, W as ActionButton } from "./doenetml-iwXfjzfc.js";
|
|
2
2
|
import React__default, { useState, useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-C1c6hJ9C.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-iwXfjzfc.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-C1c6hJ9C.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-iwXfjzfc.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-C1c6hJ9C.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-iwXfjzfc.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-C1c6hJ9C.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-iwXfjzfc.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-C1c6hJ9C.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-iwXfjzfc.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-Cmzky2dS.js";
|
|
4
|
+
import { B as BoardContext, T as TEXT_LAYER_OFFSET } from "./graph-Cfmt0ctM.js";
|
|
5
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-C1c6hJ9C.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-RbREw_Rm.js";
|
|
9
|
+
import { I as InputLabelContext } from "./inputLabel-CwPHvk1Q.js";
|
|
10
10
|
import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-BZQatkpv.js";
|
|
11
11
|
import { u as useDraggableRefs } from "./useDraggableRefs-QaTfkVuD.js";
|
|
12
|
-
import { d as detachAnchoredGraphElement, a as attachAnchoredGraphDragHandlers } from "./useAnchoredGraphDragHandler-
|
|
12
|
+
import { d as detachAnchoredGraphElement, a as attachAnchoredGraphDragHandlers } from "./useAnchoredGraphDragHandler-DgC4kEBt.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-Di8-W8f_.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-iwXfjzfc.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-Cmzky2dS.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-C1c6hJ9C.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-Cfmt0ctM.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-DhRRGHIQ.js";
|
|
10
|
+
import { D as DescriptionPopover } from "./Description-DAbGkvhw.js";
|
|
11
|
+
import { u as useRenderedLabel } from "./inputLabel-CwPHvk1Q.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-CV6Fygnw.js";
|
|
14
14
|
import { u as useMathJaxOutOfTabOrder } from "./useMathJaxOutOfTabOrder-C0wsYqBF.js";
|
|
15
15
|
const EXPANDED_INPUT_MARGIN_X = 4;
|
|
16
16
|
const BOARD_INPUT_FALLBACK_WIDTH = "100px";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { aj as createStoreContext, ak as createDialogComponent, a2 as forwardRef, a3 as createElement, a4 as createHook, a6 as invariant, al as useWrapElement, q as jsxRuntimeExports, a7 as useStoreState, am as isFalsyBooleanCallback, an as contains, ao as sync, ap as chain, aq as useEvent, ar as createStore, as as defaultValue, at as useStore, au as useStoreProps } from "./doenetml-
|
|
2
|
-
import { H as HovercardScopedContextProvider, a as HovercardContextProvider, u as useHovercard, b as useHovercardAnchor, c as createHovercardStore, d as useHovercardStoreProps } from "./hovercard-store-
|
|
1
|
+
import { aj as createStoreContext, ak as createDialogComponent, a2 as forwardRef, a3 as createElement, a4 as createHook, a6 as invariant, al as useWrapElement, q as jsxRuntimeExports, a7 as useStoreState, am as isFalsyBooleanCallback, an as contains, ao as sync, ap as chain, aq as useEvent, ar as createStore, as as defaultValue, at as useStore, au as useStoreProps } from "./doenetml-iwXfjzfc.js";
|
|
2
|
+
import { H as HovercardScopedContextProvider, a as HovercardContextProvider, u as useHovercard, b as useHovercardAnchor, c as createHovercardStore, d as useHovercardStoreProps } from "./hovercard-store-C0A3QPIM.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-Cmzky2dS.js";
|
|
2
2
|
import { e as exceededDragThreshold, p as pointerEventToUserCoords } from "./dragThreshold-DkT37QqI.js";
|
|
3
3
|
function attachAnchoredGraphDragHandlers(params) {
|
|
4
4
|
const {
|