@doenet/doenetml 0.7.27-dev.719 → 0.7.27-dev.721
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-0eDKuA7_.js → AnswerResponseButton-Cn_kWADf.js} +2 -2
- package/{ClickTarget-COcl6i7B.js → ClickTarget-DJZjNb1L.js} +1 -1
- package/{Description-SrlhinsL.js → Description-DHCETU9C.js} +1 -1
- package/{EditorViewer-a5L5bowh.js → EditorViewer-BYBPd0Ih.js} +5 -5
- package/{GraphFrame-CSPojX5m.js → GraphFrame-Bhy0aa-6.js} +2 -2
- package/{JSXGraphRenderer-D0Vf9-IL.js → JSXGraphRenderer-D4wZRKPM.js} +1 -1
- package/{NonInlineMediaWrapper-WTLOxJXx.js → NonInlineMediaWrapper-C4n3I40a.js} +1 -1
- package/Viewer/renderers/slider.d.ts.map +1 -1
- package/{_error-CkThi_Pw.js → _error-BelWfZCt.js} +2 -2
- package/{alert-eaMElgKS.js → alert-qajfDtsc.js} +3 -3
- package/{angle-Cmc9zkms.js → angle-Qa7Ib9IQ.js} +6 -6
- package/{answer-C1BVuXdY.js → answer-Cvsf4adt.js} +6 -6
- package/{asList-ecS3gE0q.js → asList-BiiyW8E0.js} +2 -2
- package/{blockQuote-CeEViii8.js → blockQuote-Dqm8sZSw.js} +3 -3
- package/{boolean-CWPjx2FM.js → boolean-LAAfaCUZ.js} +2 -2
- package/{booleanInput-CWWFgyu8.js → booleanInput-RGIONjlB.js} +7 -7
- package/{br-D-BQaCzx.js → br-COAQNctN.js} +2 -2
- package/{button-BcYnUdov.js → button-HxiPftiP.js} +5 -5
- package/{c-PyJl9dGG.js → c-C9B5IULA.js} +3 -3
- package/{cell-PpAMx1iW.js → cell-BF_pxGDz.js} +3 -3
- package/{chart-DSuG-cw4.js → chart-BHXup9m4.js} +4 -4
- package/{choiceInput-B-wNJFFR.js → choiceInput-nCn38nca.js} +7 -7
- package/{circle-Bk4ZphzW.js → circle-DPck7X1d.js} +6 -6
- package/{cobwebPolyline-B7hNdtCS.js → cobwebPolyline-Cbw8q771.js} +4 -4
- package/{codeEditor-B3H3mj8e.js → codeEditor-CvQi6A1W.js} +2 -2
- package/{composites-puH0f2zE.js → composites-B2nnzluQ.js} +1 -1
- package/{containerBlock-CLgofTBm.js → containerBlock-DUrJS99a.js} +4 -4
- package/{containerInline-C1UjBxYp.js → containerInline-CKm3fN2E.js} +4 -4
- package/{curve-CA8AaqzD.js → curve-DXvK8J0k.js} +4 -4
- package/{delete-CZd-cjTt.js → delete-B66Z8RbZ.js} +3 -3
- package/{doenetml-Dp96SaHR.js → doenetml-Bok4gHdd.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-DQZduSxj.js → ellipsis-C3Bof9x2.js} +2 -2
- package/{em-CRJDAWki.js → em-hbIfeFmE.js} +3 -3
- package/{embed-qBBBDlVX.js → embed-DN3hfH6l.js} +2 -2
- package/{feedback-DW5LKUhU.js → feedback-BTwjGZa0.js} +4 -4
- package/{figure-CWpBWhqB.js → figure-CGzEadVW.js} +3 -3
- package/{fillPatterns-Cc1bjgpP.js → fillPatterns-CDhEtDtQ.js} +1 -1
- package/{footnote-BzmrNTYD.js → footnote-BAurAcIl.js} +3 -3
- package/{fractionInput-6iTPDAKP.js → fractionInput-DZ68vg6z.js} +5 -5
- package/{graph-DsnHA79O.js → graph-DNz7Atvj.js} +5 -5
- package/{hint-B9owaQ_R.js → hint-B58iazEc.js} +5 -5
- package/{hovercard-store-BssBlOcZ.js → hovercard-store-C57rnrYN.js} +1 -1
- package/{hr-CCiC8SPl.js → hr-DwfcPsBv.js} +2 -2
- package/{image-C1Xsr7Kq.js → image-09EGiU40.js} +8 -8
- package/{index-D7mYtEvr.js → index-ufG_JASR.js} +1 -1
- package/{index.es-ClVRFF5T.js → index.es-BUYoJiTy.js} +1 -1
- package/index.js +1 -1
- package/{inputLabel-U7-Wv5QK.js → inputLabel-DBXcH7OC.js} +3 -3
- package/{insert-Pn9xIKj1.js → insert-C0ANWCk0.js} +3 -3
- package/{label-CT2lRg5F.js → label-t8f8xk8h.js} +9 -9
- package/{legend-D3_YeU_p.js → legend-D8Ub10XG.js} +4 -4
- package/{line-CgnDjmqg.js → line-DPeN1nyH.js} +6 -6
- package/{lineFamilyDragHandlers-CIMYV5Dm.js → lineFamilyDragHandlers-BhXamjDH.js} +1 -1
- package/{lineSegment-CvGW6iAL.js → lineSegment-CeYpUpWV.js} +5 -5
- package/{list-DUIh2yHc.js → list-Dm17pGBD.js} +4 -4
- package/{lq-D1GMgSBq.js → lq-BH-3FRcp.js} +2 -2
- package/{lsq-CbMSHOUg.js → lsq-Ba676wK3.js} +2 -2
- package/{markupRenderer-B4VpLE_I.js → markupRenderer-CgmZ1z89.js} +1 -1
- package/{math-C_sYeVpD.js → math-Dfd9qZ-P.js} +8 -8
- package/{mathInput-BweLF9Hf.js → mathInput-BSawVYVk.js} +9 -9
- package/{mathInputSlots-CN11fMs7.js → mathInputSlots-D4qviFeF.js} +1 -1
- package/{matrixInput-BOelp-1J.js → matrixInput-ON-6kkvu.js} +5 -5
- package/{mdash-BDLePEMn.js → mdash-C_kSZosn.js} +2 -2
- package/{nbsp-FSyRncx0.js → nbsp-BzMTzEQE.js} +2 -2
- package/{ndash-vXn90XqC.js → ndash-Cqs7gl-w.js} +2 -2
- package/{number-BAj7a0FJ.js → number-EJr_VDz9.js} +8 -8
- package/{orbitalDiagram-DXn3ODSU.js → orbitalDiagram-DmXr_q4t.js} +2 -2
- package/{orbitalDiagramInput-DdxBsBXE.js → orbitalDiagramInput-BRnzwyMf.js} +2 -2
- package/{p-DqacdRiD.js → p-CTghyRch.js} +4 -4
- package/package.json +1 -1
- package/{paginatorControls-BFY-IT-8.js → paginatorControls-BU9qYAzD.js} +2 -2
- package/{pegboard-BLNgWrYT.js → pegboard-D7CtMlua.js} +3 -3
- package/{point-CAr78ICU.js → point-0P_UjlCJ.js} +6 -6
- package/{polygon-D8OGbZa3.js → polygon-CO_chiFy.js} +6 -6
- package/{polyline-CYuGDPOR.js → polyline-DcI07fTk.js} +5 -5
- package/{pre-CCC0VS4Y.js → pre-CrMByeEJ.js} +3 -3
- package/{prefigure-B_4wnzvN.js → prefigure-BEDuJ2_H.js} +1 -1
- package/{pretzel-C3cjxtSc.js → pretzel-D3hmzSyf.js} +4 -4
- package/{q-CqdfGM7r.js → q-BPKtNIFO.js} +3 -3
- package/{ray-CFJbbXsG.js → ray-BclqVvqi.js} +5 -5
- package/{ref-BCAsJReo.js → ref-CzVYs4HZ.js} +3 -3
- package/{regionBetweenCurveXAxis-DxevIpJM.js → regionBetweenCurveXAxis-JnuIRsqi.js} +5 -5
- package/{regionBetweenCurves-BsGzRCC-.js → regionBetweenCurves-CM9NdAYK.js} +5 -5
- package/{row-CVwsdpLC.js → row-lZQeyeuL.js} +2 -2
- package/{rq-BY47kRBf.js → rq-BET3x2EB.js} +2 -2
- package/{rsq-B-N7UCyJ.js → rsq-CvaHeTkb.js} +2 -2
- package/{section-P8H_LpdH.js → section-UBcczZHm.js} +6 -6
- package/{sha256-8sXzDnE0-CdP5P8JK.js → sha256-8sXzDnE0-CdFNW8tj.js} +1 -1
- package/{sideBySide-Az3NQOsA.js → sideBySide-CGWf0Ce5.js} +2 -2
- package/{slider-DPv5ZqlD.js → slider-CivKGWgP.js} +13 -11
- package/{slopeField-BfvbeM3u.js → slopeField-Dl6Z3iNP.js} +2 -2
- package/{solution-DfaZDA3q.js → solution-DZyRR8hA.js} +4 -4
- package/{spreadsheet-aE5E9o3z.js → spreadsheet-DOVdsRAL.js} +2 -2
- package/{sq-CwVlXF83.js → sq-C9wbF0gJ.js} +3 -3
- package/style.css +5 -0
- package/{subsetOfRealsInput-CoWCalmj.js → subsetOfRealsInput-BG_vZ7fv.js} +2 -2
- package/{summaryStatistics-Bpq49fq0.js → summaryStatistics-7luik8nM.js} +2 -2
- package/{table-_vOqeGrt.js → table-CrStEJKH.js} +2 -2
- package/{tabular-De32sVaj.js → tabular-DpwdLgeD.js} +2 -2
- package/{tag-D8gH3Vao.js → tag-B3JWpmwM.js} +2 -2
- package/{text-CF8s_53J.js → text-CkUJp7-h.js} +8 -8
- package/{textInput-CWT2vMEA.js → textInput-BVZtHbxk.js} +8 -8
- package/{tooltip-provider-CUtNOzkx.js → tooltip-provider-ijiFZRTB.js} +2 -2
- package/{useAnchoredGraphDragHandler-BwLnlW0I.js → useAnchoredGraphDragHandler-CuqbNw1x.js} +1 -1
- package/useDoenetRenderer-CbGnTt8Q.js +114 -0
- package/{useFieldCurve-DtPK9Ixh.js → useFieldCurve-DaEVVy4L.js} +2 -2
- package/{useSubmitActionWithDelay-CpmY-JH5.js → useSubmitActionWithDelay-ubCEF5gE.js} +2 -2
- package/{vector-CVbYc9PY.js → vector-BAv1JZ4E.js} +6 -6
- package/{vectorField-DyF2V_RH.js → vectorField-CKNIPSdP.js} +2 -2
- package/{video-BKU3mxV3.js → video-DWjJwDap.js} +4 -4
- package/useDoenetRenderer-3ltMP8Ii.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-Bok4gHdd.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-D4wZRKPM.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CbGnTt8Q.js";
|
|
5
|
+
import { B as BoardContext, P as POINT_LAYER_OFFSET } from "./graph-DNz7Atvj.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-BhXamjDH.js";
|
|
9
|
+
import { ChoiceInputInlineContext } from "./choiceInput-nCn38nca.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-Bok4gHdd.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-D4wZRKPM.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CbGnTt8Q.js";
|
|
5
|
+
import { B as BoardContext, L as LINE_LAYER_OFFSET, V as VERTEX_LAYER_OFFSET } from "./graph-DNz7Atvj.js";
|
|
6
|
+
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-BhXamjDH.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-CDhEtDtQ.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-Bok4gHdd.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-D4wZRKPM.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CbGnTt8Q.js";
|
|
5
|
+
import { B as BoardContext, V as VERTEX_LAYER_OFFSET, L as LINE_LAYER_OFFSET } from "./graph-DNz7Atvj.js";
|
|
6
|
+
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-BhXamjDH.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-Bok4gHdd.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-CbGnTt8Q.js";
|
|
4
|
+
import { a as addCommasForCompositeRanges } from "./composites-B2nnzluQ.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-Bok4gHdd.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-Bok4gHdd.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-CbGnTt8Q.js";
|
|
4
|
+
import { A as AnswerResponseButton } from "./AnswerResponseButton-Cn_kWADf.js";
|
|
5
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-ubCEF5gE.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-Bok4gHdd.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-CbGnTt8Q.js";
|
|
4
|
+
import { r as renderMarkupBody } from "./markupRenderer-CgmZ1z89.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-Bok4gHdd.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-D4wZRKPM.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CbGnTt8Q.js";
|
|
5
|
+
import { B as BoardContext, L as LINE_LAYER_OFFSET } from "./graph-DNz7Atvj.js";
|
|
6
|
+
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-BhXamjDH.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-Bok4gHdd.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-CbGnTt8Q.js";
|
|
4
|
+
import { N as NoClickTargetContext } from "./ClickTarget-DJZjNb1L.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-Bok4gHdd.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-D4wZRKPM.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CbGnTt8Q.js";
|
|
5
|
+
import { B as BoardContext, L as LINE_LAYER_OFFSET } from "./graph-DNz7Atvj.js";
|
|
6
|
+
import { g as getPatternFillAttributes } from "./fillPatterns-CDhEtDtQ.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-Bok4gHdd.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-CbGnTt8Q.js";
|
|
4
|
+
import { B as BoardContext, L as LINE_LAYER_OFFSET } from "./graph-DNz7Atvj.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-CDhEtDtQ.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-D4wZRKPM.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-Bok4gHdd.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CbGnTt8Q.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-Bok4gHdd.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CbGnTt8Q.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-Bok4gHdd.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CbGnTt8Q.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-Bok4gHdd.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-BUYoJiTy.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-CbGnTt8Q.js";
|
|
6
|
+
import { a as addCommasForCompositeRanges } from "./composites-B2nnzluQ.js";
|
|
7
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-ubCEF5gE.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-DJZjNb1L.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-Bok4gHdd.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CbGnTt8Q.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-Bok4gHdd.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-CbGnTt8Q.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-DNz7Atvj.js";
|
|
7
|
+
import { u as useRenderedLabel } from "./inputLabel-DBXcH7OC.js";
|
|
8
8
|
import { l as ltrIslandProps } from "./direction-BwrU7jHk.js";
|
|
9
9
|
let round_to_decimals = (x, n) => {
|
|
10
10
|
try {
|
|
@@ -143,13 +143,13 @@ function generateTextLabels(points, inputWidth, SVs) {
|
|
|
143
143
|
}
|
|
144
144
|
}
|
|
145
145
|
const slider = React__default.memo(function Slider(props) {
|
|
146
|
-
let { id, SVs, actions, children, callAction } = useDoenetRenderer(props);
|
|
146
|
+
let { id, SVs, actions, children, ignoreUpdate, callAction } = useDoenetRenderer(props);
|
|
147
147
|
const renderedLabel = useRenderedLabel({ SVs, children });
|
|
148
148
|
const t = useT();
|
|
149
149
|
Slider.baseStateVariable = "index";
|
|
150
150
|
const [index, setIndex] = useState(SVs.index);
|
|
151
151
|
const width = sizeToCSS(SVs.width);
|
|
152
|
-
const
|
|
152
|
+
const transientRef = useRef(false);
|
|
153
153
|
const [inputWidth, setInputWidth] = useState(0);
|
|
154
154
|
const inputRef = useRef(null);
|
|
155
155
|
useEffect(() => {
|
|
@@ -167,10 +167,10 @@ const slider = React__default.memo(function Slider(props) {
|
|
|
167
167
|
};
|
|
168
168
|
}, []);
|
|
169
169
|
useEffect(() => {
|
|
170
|
-
if (!
|
|
170
|
+
if (!transientRef.current && !ignoreUpdate) {
|
|
171
171
|
setIndex(SVs.index);
|
|
172
172
|
}
|
|
173
|
-
}, [SVs
|
|
173
|
+
}, [SVs, ignoreUpdate]);
|
|
174
174
|
const changeValue = React__default.useCallback((v, isTransient) => {
|
|
175
175
|
const index2 = Number(v);
|
|
176
176
|
if (!(SVs.type === "text")) {
|
|
@@ -324,11 +324,13 @@ const slider = React__default.memo(function Slider(props) {
|
|
|
324
324
|
max: SVs.numItems - 1,
|
|
325
325
|
onInput: (e) => changeValue(
|
|
326
326
|
e.target.value,
|
|
327
|
-
|
|
327
|
+
transientRef.current
|
|
328
328
|
),
|
|
329
|
-
onMouseDown: () =>
|
|
329
|
+
onMouseDown: () => {
|
|
330
|
+
transientRef.current = true;
|
|
331
|
+
},
|
|
330
332
|
onMouseUp: (e) => {
|
|
331
|
-
|
|
333
|
+
transientRef.current = false;
|
|
332
334
|
changeValue(
|
|
333
335
|
e.target.value,
|
|
334
336
|
false
|
|
@@ -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-CbGnTt8Q.js";
|
|
3
|
+
import { u as useFieldFunction, a as useFieldCurve, b as buildSlopeFieldData } from "./useFieldCurve-DaEVVy4L.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-Bok4gHdd.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-CbGnTt8Q.js";
|
|
4
|
+
import { F as FontAwesomeIcon } from "./index.es-BUYoJiTy.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-B2nnzluQ.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-Bok4gHdd.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-CbGnTt8Q.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-Bok4gHdd.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-CbGnTt8Q.js";
|
|
4
|
+
import { r as renderMarkupBody } from "./markupRenderer-CgmZ1z89.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
|
@@ -129,6 +129,11 @@ html {
|
|
|
129
129
|
font-family: "Open Sans" !important;
|
|
130
130
|
color: var(--canvasText);
|
|
131
131
|
overflow-x: auto;
|
|
132
|
+
/* Without this, `overflow-x: auto` makes `overflow-y` compute to `auto`,
|
|
133
|
+
and content a few pixels taller than the viewer turns it into a
|
|
134
|
+
vertical scroller. iOS WebKit then hands every drag to that tiny
|
|
135
|
+
scroller, which snaps back, so the host page can't be scrolled. */
|
|
136
|
+
overflow-y: hidden;
|
|
132
137
|
}
|
|
133
138
|
.doenet-viewer h1 {
|
|
134
139
|
font-size: 2em;
|
|
@@ -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-Bok4gHdd.js";
|
|
2
2
|
import React__default, { useState, useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CbGnTt8Q.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-Bok4gHdd.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CbGnTt8Q.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-Bok4gHdd.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CbGnTt8Q.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-Bok4gHdd.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-CbGnTt8Q.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-Bok4gHdd.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CbGnTt8Q.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-Bok4gHdd.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-D4wZRKPM.js";
|
|
4
|
+
import { B as BoardContext, T as TEXT_LAYER_OFFSET } from "./graph-DNz7Atvj.js";
|
|
5
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CbGnTt8Q.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-nCn38nca.js";
|
|
9
|
+
import { I as InputLabelContext } from "./inputLabel-DBXcH7OC.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-CuqbNw1x.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-DJZjNb1L.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-Bok4gHdd.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-D4wZRKPM.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CbGnTt8Q.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-DNz7Atvj.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-ubCEF5gE.js";
|
|
10
|
+
import { D as DescriptionPopover } from "./Description-DHCETU9C.js";
|
|
11
|
+
import { u as useRenderedLabel } from "./inputLabel-DBXcH7OC.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-D4qviFeF.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-Bok4gHdd.js";
|
|
2
|
+
import { H as HovercardScopedContextProvider, a as HovercardContextProvider, u as useHovercard, b as useHovercardAnchor, c as createHovercardStore, d as useHovercardStoreProps } from "./hovercard-store-C57rnrYN.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-D4wZRKPM.js";
|
|
2
2
|
import { e as exceededDragThreshold, p as pointerEventToUserCoords } from "./dragThreshold-DkT37QqI.js";
|
|
3
3
|
function attachAnchoredGraphDragHandlers(params) {
|
|
4
4
|
const {
|