@doenet/doenetml 0.7.27-dev.645 → 0.7.27-dev.647
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-CgR0G9rg.js → AnswerResponseButton-DFpTjprA.js} +2 -2
- package/{Description-D4Ezp_YL.js → Description-DQd9-rvg.js} +1 -1
- package/{EditorViewer-Bz8U6Ivt.js → EditorViewer-D9lpO-f2.js} +5 -5
- package/{GraphFrame-Bsg6Ds7y.js → GraphFrame-7j5IxYUI.js} +2 -2
- package/{JSXGraphRenderer-a8t7Mv7O.js → JSXGraphRenderer-icU3jyqz.js} +1 -1
- package/{NonInlineMediaWrapper-GM0sfon_.js → NonInlineMediaWrapper-DsMcOIuO.js} +1 -1
- package/Viewer/renderers/booleanInput.d.ts.map +1 -1
- package/{_error-BfoaUD_r.js → _error-B-JaAtug.js} +2 -2
- package/{alert-BN_pfCFA.js → alert-uQvUWCXf.js} +3 -3
- package/{angle-4HVX9WE_.js → angle-HoGYg3OT.js} +6 -6
- package/{answer-6hNqHkw7.js → answer-BRJ9j8ZV.js} +5 -5
- package/{asList-Bp581195.js → asList-FD9oURXW.js} +2 -2
- package/{blockQuote-BypJ1PM3.js → blockQuote-C02IKxmf.js} +3 -3
- package/{boolean-CvlMGcSI.js → boolean-BuammMp8.js} +2 -2
- package/{booleanInput-BnnYg-iQ.js → booleanInput-C9iWav5O.js} +15 -15
- package/{br-Cf-iwf4c.js → br-DhtOcKEp.js} +2 -2
- package/{button-D4Px1qsK.js → button-CvtHANSh.js} +4 -4
- package/{c-DkYBXrkz.js → c-CIA38ujj.js} +3 -3
- package/{cell-B2YarIDl.js → cell-ls4Nv98K.js} +3 -3
- package/{chart-pTHIdRyv.js → chart-3WvJra2-.js} +4 -4
- package/{choiceInput-BtK6j9VL.js → choiceInput-C2JUQfud.js} +5 -5
- package/{circle-DKPpZp0d.js → circle-AdvYtgDL.js} +6 -6
- package/{cobwebPolyline-UTLcL43h.js → cobwebPolyline-DcIVIL1r.js} +4 -4
- package/{codeEditor-fxW7yNou.js → codeEditor-Bxtv7urV.js} +2 -2
- package/{composites-CdxVE6xH.js → composites-C24nb5la.js} +1 -1
- package/{containerBlock-DNWrsOzm.js → containerBlock-C3Zwxtsr.js} +4 -4
- package/{containerInline-BF0Gfjsn.js → containerInline-PDWu-Q1H.js} +4 -4
- package/{curve-D2w2OlVt.js → curve-B90bm29F.js} +4 -4
- package/{delete-CrkrbPod.js → delete-B-uPUaAZ.js} +3 -3
- package/doenetml-external-worker.js +2 -2
- package/doenetml-inline-worker.js +3 -3
- package/{doenetml-BEoK2zd3.js → doenetml-vyJfJrgr.js} +3 -3
- package/doenetml-worker/index.esm.js +1 -1
- package/doenetml-worker/index.js +1 -1
- package/{ellipsis-B9B6kAg2.js → ellipsis-BkGUdEHa.js} +2 -2
- package/{em-DabaOi-7.js → em-DdG2P0Qw.js} +3 -3
- package/{embed-ju2aO-Jt.js → embed-CAkvq5f1.js} +2 -2
- package/{feedback-YJmQqjf6.js → feedback-LcYdmt4m.js} +4 -4
- package/{figure-CtIiqrHO.js → figure-vUzUZ1Cz.js} +3 -3
- package/{fillPatterns-BT7NSZpS.js → fillPatterns-DnqjZD3h.js} +1 -1
- package/{footnote-BOpJ6vCI.js → footnote-C3g3-uKS.js} +3 -3
- package/{fractionInput-DFh0PfEa.js → fractionInput-CWy3Ty6c.js} +4 -4
- package/{graph-F5joEg-C.js → graph-DKIV-guP.js} +6 -6
- package/{hint-BTXIGTNo.js → hint-B25oaJkR.js} +4 -4
- package/{hovercard-store-W9UbD1Fr.js → hovercard-store-C_4-N8yY.js} +1 -1
- package/{hr-Cw-NW5ol.js → hr-B8PzUCIb.js} +2 -2
- package/{image-Cxp9xF9X.js → image-DvfDYwu3.js} +7 -7
- package/{index-QaY80w3B.js → index-B-J93pZZ.js} +1 -1
- package/{index.es-QpzUe8jc.js → index.es-YUIlu0oj.js} +1 -1
- package/index.js +1 -1
- package/{insert-lIkuHTPh.js → insert-DQYCRAxu.js} +3 -3
- package/{label-BmQuVMVR.js → label-BqddU7Fl.js} +6 -6
- package/{labelWithLatex-DYuYwi0W.js → labelWithLatex-BHuTdN6F.js} +1 -1
- package/{legend-BDR6fEUV.js → legend-xQf3Mwb4.js} +4 -4
- package/{line-DGFFMPal.js → line-DmqChxCU.js} +6 -6
- package/{lineFamilyDragHandlers-DzBsXiiM.js → lineFamilyDragHandlers-RaJPDnyN.js} +1 -1
- package/{lineSegment-DxnGC54i.js → lineSegment-DBmchZJ6.js} +5 -5
- package/{list-lm37Ka8Z.js → list-DLP9lwr-.js} +4 -4
- package/{lq-Dfn55miT.js → lq-D025d566.js} +2 -2
- package/{lsq-B3_5m_qD.js → lsq-BcD4w6Mo.js} +2 -2
- package/{markupRenderer-IWHX_vmG.js → markupRenderer-BZxifnTf.js} +1 -1
- package/{math-cxoQKPwl.js → math-CH8jfRpJ.js} +7 -7
- package/{mathInput-CEmqcKvs.js → mathInput-CwioOxEZ.js} +8 -8
- package/{mathInputSlots-BYpHsC8v.js → mathInputSlots-BvA3MZCc.js} +1 -1
- package/{matrixInput-CgEN-XtJ.js → matrixInput-4fzy6Gn-.js} +4 -4
- package/{mdash-B7kc3hnV.js → mdash-CoBGu0ha.js} +2 -2
- package/{nbsp-Hdl0_tld.js → nbsp-R2jMVvGq.js} +2 -2
- package/{ndash-DphZooCN.js → ndash-DwJKgQb3.js} +2 -2
- package/{number-BBquANsO.js → number-Bpa6HBDM.js} +6 -6
- package/{orbitalDiagram-CRuEvT7J.js → orbitalDiagram-CO_akjun.js} +2 -2
- package/{orbitalDiagramInput-DZ2rafsS.js → orbitalDiagramInput-DWWaA-O2.js} +2 -2
- package/{p-wfR_2Dga.js → p-BOVll6CC.js} +4 -4
- package/package.json +1 -1
- package/{paginatorControls--8d_omxN.js → paginatorControls-D6rYH1tt.js} +2 -2
- package/{pegboard-BrXe5gPY.js → pegboard-6tSGXeRH.js} +3 -3
- package/{point-OTszn1LJ.js → point-Tp1F3-l0.js} +6 -6
- package/{polygon-BQntsSLr.js → polygon-DqIdK9MW.js} +6 -6
- package/{polyline-D0LN4HII.js → polyline-Oc2WOrb8.js} +5 -5
- package/{pre-DGamv_pN.js → pre-CPFulJ1t.js} +3 -3
- package/{prefigure-BkgcehMx.js → prefigure-DvKP3Gww.js} +1 -1
- package/{pretzel-DvJbgnUC.js → pretzel-DpPoLxKm.js} +4 -4
- package/{q-BBXiG73t.js → q-BPDaCKfk.js} +3 -3
- package/{ray-BqtLfRv9.js → ray-4SkrGuJu.js} +5 -5
- package/{ref-DwumkaKd.js → ref-BdmC_ncV.js} +2 -2
- package/{regionBetweenCurveXAxis-lLKykTjw.js → regionBetweenCurveXAxis-BinfshqJ.js} +5 -5
- package/{regionBetweenCurves-DA7OSjLH.js → regionBetweenCurves-DQDL5Quf.js} +5 -5
- package/{row-DX6djQTl.js → row-_u0WwxcR.js} +2 -2
- package/{rq-Cn_eb-Pd.js → rq-DdrQPoLR.js} +2 -2
- package/{rsq-D5Dlsl8d.js → rsq-CFvoLmyU.js} +2 -2
- package/{section-COtQtfzG.js → section-BPYCcvyQ.js} +5 -5
- package/{sha256-8sXzDnE0-ClmMY2Gy.js → sha256-8sXzDnE0-xhs90Jsr.js} +1 -1
- package/{sideBySide-DeJ8D8_Y.js → sideBySide-DKROSzQr.js} +2 -2
- package/{slider-WLkmm5xb.js → slider-2-_u1xpC.js} +3 -3
- package/{slopeField-CIuV4Hki.js → slopeField-D_Rr1jwh.js} +2 -2
- package/{solution-DnXw4oa-.js → solution-Upj2P-9R.js} +4 -4
- package/{spreadsheet-BrwdaORf.js → spreadsheet-DEYNqxxV.js} +2 -2
- package/{sq-CNuD62Se.js → sq-BkAjhyDi.js} +3 -3
- package/style.css +4 -2
- package/{subsetOfRealsInput-CI_dmjO9.js → subsetOfRealsInput-DVg5MNB6.js} +2 -2
- package/{summaryStatistics-6sTm7xfr.js → summaryStatistics-DKDNnLWr.js} +2 -2
- package/{table-NxxVoLH_.js → table-BBTwp5P3.js} +2 -2
- package/{tabular-BZzGNi40.js → tabular-DDPa0iJB.js} +2 -2
- package/{tag-DsPMictV.js → tag-Bx2l7EMs.js} +2 -2
- package/{text-DGnE6mt5.js → text-5T43_aXx.js} +6 -6
- package/{textInput-GvQe3unC.js → textInput-DYSHg_7f.js} +7 -7
- package/{tooltip-provider-DMTp3EIF.js → tooltip-provider-CJ-fZ1Hx.js} +2 -2
- package/{useAnchoredGraphDragHandler-CKyvNxsM.js → useAnchoredGraphDragHandler-Dy6kJYMj.js} +1 -1
- package/useDoenetRenderer-Bu55BG1U.js +114 -0
- package/{useFieldCurve-vPv9_Ycz.js → useFieldCurve-1qzwcWQ6.js} +2 -2
- package/{useSubmitActionWithDelay-lwVw4X71.js → useSubmitActionWithDelay-DCyWBMwP.js} +2 -2
- package/{vector-Btn9vQGA.js → vector-A8WrHpAV.js} +6 -6
- package/{vectorField-CIZCTe33.js → vectorField-DMtiqcj8.js} +2 -2
- package/{video-BatqD-q3.js → video-FxUXZ-iV.js} +4 -4
- package/useDoenetRenderer-Cf_v2InT.js +0 -114
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { E as DocContext, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { E as DocContext, q as jsxRuntimeExports } from "./doenetml-vyJfJrgr.js";
|
|
2
2
|
import React__default, { useContext, useRef } from "react";
|
|
3
|
-
import { r as removeJXGEventHandlers, j as jxg, g as syncVisPropValues, s as syncLayer, f as syncLabelStrokeColor, b as syncLabelMaskCssStyle, e as syncLineStrokeStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-
|
|
4
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
5
|
-
import { BoardContext, LINE_LAYER_OFFSET, VERTEX_LAYER_OFFSET } from "./graph-
|
|
6
|
-
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-
|
|
3
|
+
import { r as removeJXGEventHandlers, j as jxg, g as syncVisPropValues, s as syncLayer, f as syncLabelStrokeColor, b as syncLabelMaskCssStyle, e as syncLineStrokeStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-icU3jyqz.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-Bu55BG1U.js";
|
|
5
|
+
import { BoardContext, LINE_LAYER_OFFSET, VERTEX_LAYER_OFFSET } from "./graph-DKIV-guP.js";
|
|
6
|
+
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-RaJPDnyN.js";
|
|
7
7
|
import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-DV6a8Wvg.js";
|
|
8
8
|
import { p as pointerEventToUserCoords } from "./dragThreshold-DuSSFrIU.js";
|
|
9
9
|
import { a as resolveLineColor, r as resolveFillColor, b as resolveCanvasColor, d as resolveHandleColor } from "./styleColors-BrCvjxze.js";
|
|
@@ -11,7 +11,7 @@ import { s as styleToDash } from "./styleToDash-DWb71gbd.js";
|
|
|
11
11
|
import { u as useDraggableRefs } from "./useDraggableRefs-QaTfkVuD.js";
|
|
12
12
|
import { u as useJSXGraphCleanup } from "./useJSXGraphCleanup-BNk4sn6x.js";
|
|
13
13
|
import { d as buildBaseAttributes } from "./buildGraphicalAttributes-B_soifR-.js";
|
|
14
|
-
import { g as getPatternFillAttributes } from "./fillPatterns-
|
|
14
|
+
import { g as getPatternFillAttributes } from "./fillPatterns-DnqjZD3h.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-vyJfJrgr.js";
|
|
2
2
|
import React__default, { useContext, useRef } from "react";
|
|
3
|
-
import { s as syncLayer, r as removeJXGEventHandlers, j as jxg, g as syncVisPropValues, e as syncLineStrokeStyle, f as syncLabelStrokeColor, b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-
|
|
4
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
5
|
-
import { BoardContext, VERTEX_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-
|
|
6
|
-
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-
|
|
3
|
+
import { s as syncLayer, r as removeJXGEventHandlers, j as jxg, g as syncVisPropValues, e as syncLineStrokeStyle, f as syncLabelStrokeColor, b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-icU3jyqz.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-Bu55BG1U.js";
|
|
5
|
+
import { BoardContext, VERTEX_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-DKIV-guP.js";
|
|
6
|
+
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-RaJPDnyN.js";
|
|
7
7
|
import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-DV6a8Wvg.js";
|
|
8
8
|
import { p as pointerEventToUserCoords } from "./dragThreshold-DuSSFrIU.js";
|
|
9
9
|
import { a as resolveLineColor, d as resolveHandleColor } from "./styleColors-BrCvjxze.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { J as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { J as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-vyJfJrgr.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-Bu55BG1U.js";
|
|
4
|
+
import { a as addCommasForCompositeRanges } from "./composites-C24nb5la.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-vyJfJrgr.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-vyJfJrgr.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-Bu55BG1U.js";
|
|
4
|
+
import { A as AnswerResponseButton } from "./AnswerResponseButton-DFpTjprA.js";
|
|
5
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-DCyWBMwP.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-vyJfJrgr.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-Bu55BG1U.js";
|
|
4
|
+
import { r as renderMarkupBody } from "./markupRenderer-BZxifnTf.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-vyJfJrgr.js";
|
|
2
2
|
import React__default, { useContext, useRef } from "react";
|
|
3
|
-
import { j as jxg, h as syncLineFamilyVisibility, s as syncLayer, e as syncLineStrokeStyle, a as syncWithLabelToggle, f as syncLabelStrokeColor, b as syncLabelMaskCssStyle, i as applyLineFamilyLabelPlacement, k as buildLineFamilyLabelAttributes, d as attachLabelHoverHighlight, c as computeLabelMaskCssStyle, l as stabilizeInitialLineFamilyLabelPlacement, r as removeJXGEventHandlers } from "./JSXGraphRenderer-
|
|
4
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
5
|
-
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-
|
|
6
|
-
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-
|
|
3
|
+
import { j as jxg, h as syncLineFamilyVisibility, s as syncLayer, e as syncLineStrokeStyle, a as syncWithLabelToggle, f as syncLabelStrokeColor, b as syncLabelMaskCssStyle, i as applyLineFamilyLabelPlacement, k as buildLineFamilyLabelAttributes, d as attachLabelHoverHighlight, c as computeLabelMaskCssStyle, l as stabilizeInitialLineFamilyLabelPlacement, r as removeJXGEventHandlers } from "./JSXGraphRenderer-icU3jyqz.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-Bu55BG1U.js";
|
|
5
|
+
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-DKIV-guP.js";
|
|
6
|
+
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-RaJPDnyN.js";
|
|
7
7
|
import { a as buildLineLikeAttributes } from "./buildGraphicalAttributes-B_soifR-.js";
|
|
8
8
|
import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-DV6a8Wvg.js";
|
|
9
9
|
import { p as pointerEventToUserCoords } from "./dragThreshold-DuSSFrIU.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { E as DocContext, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { E as DocContext, q as jsxRuntimeExports } from "./doenetml-vyJfJrgr.js";
|
|
2
2
|
import React__default, { useContext, useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-Bu55BG1U.js";
|
|
4
4
|
const ref = React__default.memo(function Ref(props) {
|
|
5
5
|
const { id, SVs, children, requestScrollTo } = useDoenetRenderer(props);
|
|
6
6
|
const { doenetViewerUrl } = useContext(DocContext) || {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { E as DocContext, N as createFunctionFromDefinition, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { E as DocContext, N as createFunctionFromDefinition, q as jsxRuntimeExports } from "./doenetml-vyJfJrgr.js";
|
|
2
2
|
import React__default, { useContext, useRef, useEffect } from "react";
|
|
3
|
-
import { j as jxg, b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-
|
|
4
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
5
|
-
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-
|
|
6
|
-
import { g as getPatternFillAttributes } from "./fillPatterns-
|
|
3
|
+
import { j as jxg, b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-icU3jyqz.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-Bu55BG1U.js";
|
|
5
|
+
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-DKIV-guP.js";
|
|
6
|
+
import { g as getPatternFillAttributes } from "./fillPatterns-DnqjZD3h.js";
|
|
7
7
|
import { b as resolveCanvasColor } from "./styleColors-BrCvjxze.js";
|
|
8
8
|
const regionBetweenCurveXAxis = React__default.memo(function RegionBetweenCurveXAxis(props) {
|
|
9
9
|
let { id, SVs } = useDoenetRenderer(props);
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { E as DocContext, N as createFunctionFromDefinition, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { E as DocContext, N as createFunctionFromDefinition, q as jsxRuntimeExports } from "./doenetml-vyJfJrgr.js";
|
|
2
2
|
import React__default, { useContext, useRef, useEffect } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
4
|
-
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-Bu55BG1U.js";
|
|
4
|
+
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-DKIV-guP.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-DnqjZD3h.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-icU3jyqz.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-vyJfJrgr.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-Bu55BG1U.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-vyJfJrgr.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-Bu55BG1U.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-vyJfJrgr.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-Bu55BG1U.js";
|
|
4
4
|
const rsq = React__default.memo(function Rsq(props) {
|
|
5
5
|
let { SVs } = useDoenetRenderer(props, false);
|
|
6
6
|
if (SVs.hidden) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { u as useT, I as useContentT, R as directionOf, S as useDocumentDirection, T as chromeLangDir, t as useUiLocale, E as DocContext, L as cesc, J as useRecordVisibilityChanges, q as jsxRuntimeExports, U as DocumentDirectionProvider } from "./doenetml-
|
|
1
|
+
import { u as useT, I as useContentT, R as directionOf, S as useDocumentDirection, T as chromeLangDir, t as useUiLocale, E as DocContext, L as cesc, J as useRecordVisibilityChanges, q as jsxRuntimeExports, U as DocumentDirectionProvider } from "./doenetml-vyJfJrgr.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-YUIlu0oj.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-Bu55BG1U.js";
|
|
6
|
+
import { a as addCommasForCompositeRanges } from "./composites-C24nb5la.js";
|
|
7
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-DCyWBMwP.js";
|
|
8
8
|
import { c as clickToToggleLabel } from "./disclosure-axyZa36E.js";
|
|
9
9
|
const section = React__default.memo(function Section(props) {
|
|
10
10
|
let { id, SVs, children, actions, callAction } = useDoenetRenderer(props);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { J as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { J as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-vyJfJrgr.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-Bu55BG1U.js";
|
|
4
4
|
import { a as getBlockMarginWithOptionalTopSuppression } from "./nonInlineMediaLayout-CkXHaqzo.js";
|
|
5
5
|
function isWhitespaceTextChild(child) {
|
|
6
6
|
return typeof child === "string" && child.trim() === "";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { u as useT, q as jsxRuntimeExports, V as ActionButtonGroup, W as ActionButton } from "./doenetml-
|
|
1
|
+
import { u as useT, q as jsxRuntimeExports, V as ActionButtonGroup, W as ActionButton } from "./doenetml-vyJfJrgr.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-Bu55BG1U.js";
|
|
5
5
|
import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
|
|
6
|
-
import { r as renderLabelWithLatex } from "./labelWithLatex-
|
|
6
|
+
import { r as renderLabelWithLatex } from "./labelWithLatex-BHuTdN6F.js";
|
|
7
7
|
import { l as ltrIslandProps } from "./direction-BwrU7jHk.js";
|
|
8
8
|
let round_to_decimals = (x, n) => {
|
|
9
9
|
try {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React__default from "react";
|
|
2
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
-
import { u as useFieldFunction, a as useFieldCurve, b as buildSlopeFieldData } from "./useFieldCurve-
|
|
2
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-Bu55BG1U.js";
|
|
3
|
+
import { u as useFieldFunction, a as useFieldCurve, b as buildSlopeFieldData } from "./useFieldCurve-1qzwcWQ6.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-vyJfJrgr.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-Bu55BG1U.js";
|
|
4
|
+
import { F as FontAwesomeIcon } from "./index.es-YUIlu0oj.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-C24nb5la.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-vyJfJrgr.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-Bu55BG1U.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-vyJfJrgr.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-Bu55BG1U.js";
|
|
4
|
+
import { r as renderMarkupBody } from "./markupRenderer-BZxifnTf.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
|
@@ -2306,8 +2306,10 @@ Tailwind base is purposely not included because we want all styles to be prefixe
|
|
|
2306
2306
|
booleanInput.tsx so the checkbox flows beside a wrapping label (#1245). */
|
|
2307
2307
|
position: relative;
|
|
2308
2308
|
padding-inline-start: 24px;
|
|
2309
|
-
margin
|
|
2310
|
-
|
|
2309
|
+
/* No bottom margin: the container is inline content, so a bottom margin
|
|
2310
|
+
would hang below the text and, in a table cell or anything else that
|
|
2311
|
+
centers its content vertically, lift the label above neighboring text. */
|
|
2312
|
+
margin-inline-end: 2px; /* 2px less than other components (6px inline-end margin) because an end label adds 2px of its own (see labelStyle in booleanInput.tsx) */
|
|
2311
2313
|
margin-inline-start: 4px;
|
|
2312
2314
|
cursor: pointer;
|
|
2313
2315
|
-webkit-user-select: none;
|
|
@@ -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-vyJfJrgr.js";
|
|
2
2
|
import React__default, { useState, useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-Bu55BG1U.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-vyJfJrgr.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-Bu55BG1U.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-vyJfJrgr.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-Bu55BG1U.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-vyJfJrgr.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-Bu55BG1U.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-vyJfJrgr.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-Bu55BG1U.js";
|
|
4
4
|
const tag = React__default.memo(function Tag(props) {
|
|
5
5
|
let { id, SVs, children } = useDoenetRenderer(props);
|
|
6
6
|
if (SVs.hidden) {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { E as DocContext, K as toNumberOrNaN, q as jsxRuntimeExports, F as textRendererStyle } from "./doenetml-
|
|
1
|
+
import { E as DocContext, K as toNumberOrNaN, q as jsxRuntimeExports, F as textRendererStyle } from "./doenetml-vyJfJrgr.js";
|
|
2
2
|
import React__default, { useRef, useContext } from "react";
|
|
3
|
-
import { j as jxg } from "./JSXGraphRenderer-
|
|
4
|
-
import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-
|
|
5
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { j as jxg } from "./JSXGraphRenderer-icU3jyqz.js";
|
|
4
|
+
import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-DKIV-guP.js";
|
|
5
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-Bu55BG1U.js";
|
|
6
6
|
import me from "math-expressions";
|
|
7
7
|
import { g as getPositionFromAnchorByCoordinate } from "./graph-W6vrFcBu.js";
|
|
8
|
-
import { ChoiceInputInlineContext } from "./choiceInput-
|
|
8
|
+
import { ChoiceInputInlineContext } from "./choiceInput-C2JUQfud.js";
|
|
9
9
|
import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-DV6a8Wvg.js";
|
|
10
10
|
import { u as useDraggableRefs } from "./useDraggableRefs-QaTfkVuD.js";
|
|
11
|
-
import { d as detachAnchoredGraphElement, a as attachAnchoredGraphDragHandlers } from "./useAnchoredGraphDragHandler-
|
|
11
|
+
import { d as detachAnchoredGraphElement, a as attachAnchoredGraphDragHandlers } from "./useAnchoredGraphDragHandler-Dy6kJYMj.js";
|
|
12
12
|
import { u as useJSXGraphCleanup } from "./useJSXGraphCleanup-BNk4sn6x.js";
|
|
13
13
|
import { e as resolveTextColor, f as resolveBackgroundColor } from "./styleColors-BrCvjxze.js";
|
|
14
14
|
const text = React__default.memo(function Text(props) {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { I as useContentT, K as toNumberOrNaN, q as jsxRuntimeExports, Y as MathJax } from "./doenetml-
|
|
1
|
+
import { I as useContentT, K as toNumberOrNaN, q as jsxRuntimeExports, Y as MathJax } from "./doenetml-vyJfJrgr.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-icU3jyqz.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-Bu55BG1U.js";
|
|
5
5
|
import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
|
|
6
|
-
import { BoardContext } from "./graph-
|
|
6
|
+
import { BoardContext } from "./graph-DKIV-guP.js";
|
|
7
7
|
import me from "math-expressions";
|
|
8
8
|
import { g as getPositionFromAnchorByCoordinate, P as POINTER_DRAG_THRESHOLD } from "./graph-W6vrFcBu.js";
|
|
9
|
-
import { c as calculateValidationState, u as useSubmitActionWithDelay, w as wantsFullCheckWorkButton, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-
|
|
10
|
-
import { D as DescriptionPopover } from "./Description-
|
|
9
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, w as wantsFullCheckWorkButton, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-DCyWBMwP.js";
|
|
10
|
+
import { D as DescriptionPopover } from "./Description-DQd9-rvg.js";
|
|
11
11
|
import { a as addValidationStateToShortDescription } from "./validationState-DI_lxk1a.js";
|
|
12
|
-
import { b as useInMathSlot, c as useMathSlotEditing } from "./mathInputSlots-
|
|
12
|
+
import { b as useInMathSlot, c as useMathSlotEditing } from "./mathInputSlots-BvA3MZCc.js";
|
|
13
13
|
import { u as useMathJaxOutOfTabOrder } from "./useMathJaxOutOfTabOrder-C0wsYqBF.js";
|
|
14
14
|
const EXPANDED_INPUT_MARGIN_X = 4;
|
|
15
15
|
const BOARD_INPUT_FALLBACK_WIDTH = "100px";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { 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-vyJfJrgr.js";
|
|
2
|
+
import { H as HovercardScopedContextProvider, a as HovercardContextProvider, u as useHovercard, b as useHovercardAnchor, c as createHovercardStore, d as useHovercardStoreProps } from "./hovercard-store-C_4-N8yY.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-icU3jyqz.js";
|
|
2
2
|
import { e as exceededDragThreshold, p as pointerEventToUserCoords } from "./dragThreshold-DuSSFrIU.js";
|
|
3
3
|
function attachAnchoredGraphDragHandlers(params) {
|
|
4
4
|
const {
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import { x as useAppSelector, y as mainSlice, z as renderersLoadComponent, _ as __variableDynamicImportRuntimeHelper } from "./doenetml-vyJfJrgr.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-7j5IxYUI.js"), "./renderers/JSXGraphRenderer.tsx": () => import("./JSXGraphRenderer-icU3jyqz.js").then((n) => n.m), "./renderers/_error.tsx": () => import("./_error-B-JaAtug.js"), "./renderers/alert.tsx": () => import("./alert-uQvUWCXf.js"), "./renderers/angle.tsx": () => import("./angle-HoGYg3OT.js"), "./renderers/answer.tsx": () => import("./answer-BRJ9j8ZV.js"), "./renderers/asList.tsx": () => import("./asList-FD9oURXW.js"), "./renderers/blockQuote.tsx": () => import("./blockQuote-C02IKxmf.js"), "./renderers/boolean.tsx": () => import("./boolean-BuammMp8.js"), "./renderers/booleanInput.tsx": () => import("./booleanInput-C9iWav5O.js"), "./renderers/br.tsx": () => import("./br-DhtOcKEp.js"), "./renderers/button.tsx": () => import("./button-CvtHANSh.js"), "./renderers/c.tsx": () => import("./c-CIA38ujj.js"), "./renderers/cell.tsx": () => import("./cell-ls4Nv98K.js"), "./renderers/chart.tsx": () => import("./chart-3WvJra2-.js"), "./renderers/choiceInput.tsx": () => import("./choiceInput-C2JUQfud.js"), "./renderers/circle.tsx": () => import("./circle-AdvYtgDL.js"), "./renderers/cobwebPolyline.tsx": () => import("./cobwebPolyline-DcIVIL1r.js"), "./renderers/codeEditor.tsx": () => import("./codeEditor-Bxtv7urV.js"), "./renderers/containerBlock.tsx": () => import("./containerBlock-C3Zwxtsr.js"), "./renderers/containerInline.tsx": () => import("./containerInline-PDWu-Q1H.js"), "./renderers/curve.tsx": () => import("./curve-B90bm29F.js"), "./renderers/delete.tsx": () => import("./delete-B-uPUaAZ.js"), "./renderers/ellipsis.tsx": () => import("./ellipsis-BkGUdEHa.js"), "./renderers/em.tsx": () => import("./em-DdG2P0Qw.js"), "./renderers/embed.tsx": () => import("./embed-CAkvq5f1.js"), "./renderers/feedback.tsx": () => import("./feedback-LcYdmt4m.js"), "./renderers/figure.tsx": () => import("./figure-vUzUZ1Cz.js"), "./renderers/footnote.tsx": () => import("./footnote-C3g3-uKS.js"), "./renderers/fractionInput.tsx": () => import("./fractionInput-CWy3Ty6c.js"), "./renderers/graph.tsx": () => import("./graph-DKIV-guP.js"), "./renderers/hint.tsx": () => import("./hint-B25oaJkR.js"), "./renderers/hr.tsx": () => import("./hr-B8PzUCIb.js"), "./renderers/image.tsx": () => import("./image-DvfDYwu3.js"), "./renderers/insert.tsx": () => import("./insert-DQYCRAxu.js"), "./renderers/label.tsx": () => import("./label-BqddU7Fl.js"), "./renderers/legend.tsx": () => import("./legend-xQf3Mwb4.js"), "./renderers/line.tsx": () => import("./line-DmqChxCU.js"), "./renderers/lineSegment.tsx": () => import("./lineSegment-DBmchZJ6.js"), "./renderers/list.tsx": () => import("./list-DLP9lwr-.js"), "./renderers/lq.tsx": () => import("./lq-D025d566.js"), "./renderers/lsq.tsx": () => import("./lsq-BcD4w6Mo.js"), "./renderers/math.tsx": () => import("./math-CH8jfRpJ.js"), "./renderers/mathInput.tsx": () => import("./mathInput-CwioOxEZ.js"), "./renderers/matrixInput.tsx": () => import("./matrixInput-4fzy6Gn-.js"), "./renderers/mdash.tsx": () => import("./mdash-CoBGu0ha.js"), "./renderers/nbsp.tsx": () => import("./nbsp-R2jMVvGq.js"), "./renderers/ndash.tsx": () => import("./ndash-DwJKgQb3.js"), "./renderers/number.tsx": () => import("./number-Bpa6HBDM.js"), "./renderers/orbitalDiagram.tsx": () => import("./orbitalDiagram-CO_akjun.js"), "./renderers/orbitalDiagramInput.tsx": () => import("./orbitalDiagramInput-DWWaA-O2.js"), "./renderers/p.tsx": () => import("./p-BOVll6CC.js"), "./renderers/paginatorControls.tsx": () => import("./paginatorControls-D6rYH1tt.js"), "./renderers/pegboard.tsx": () => import("./pegboard-6tSGXeRH.js"), "./renderers/point.tsx": () => import("./point-Tp1F3-l0.js"), "./renderers/polygon.tsx": () => import("./polygon-DqIdK9MW.js"), "./renderers/polyline.tsx": () => import("./polyline-Oc2WOrb8.js"), "./renderers/pre.tsx": () => import("./pre-CPFulJ1t.js"), "./renderers/prefigure.tsx": () => import("./prefigure-DvKP3Gww.js"), "./renderers/pretzel.tsx": () => import("./pretzel-DpPoLxKm.js"), "./renderers/q.tsx": () => import("./q-BPDaCKfk.js"), "./renderers/ray.tsx": () => import("./ray-4SkrGuJu.js"), "./renderers/ref.tsx": () => import("./ref-BdmC_ncV.js"), "./renderers/regionBetweenCurveXAxis.tsx": () => import("./regionBetweenCurveXAxis-BinfshqJ.js"), "./renderers/regionBetweenCurves.tsx": () => import("./regionBetweenCurves-DQDL5Quf.js"), "./renderers/row.tsx": () => import("./row-_u0WwxcR.js"), "./renderers/rq.tsx": () => import("./rq-DdrQPoLR.js"), "./renderers/rsq.tsx": () => import("./rsq-CFvoLmyU.js"), "./renderers/section.tsx": () => import("./section-BPYCcvyQ.js"), "./renderers/sideBySide.tsx": () => import("./sideBySide-DKROSzQr.js"), "./renderers/slider.tsx": () => import("./slider-2-_u1xpC.js"), "./renderers/slopeField.tsx": () => import("./slopeField-D_Rr1jwh.js"), "./renderers/solution.tsx": () => import("./solution-Upj2P-9R.js"), "./renderers/spreadsheet.tsx": () => import("./spreadsheet-DEYNqxxV.js"), "./renderers/sq.tsx": () => import("./sq-BkAjhyDi.js"), "./renderers/subsetOfRealsInput.tsx": () => import("./subsetOfRealsInput-DVg5MNB6.js"), "./renderers/summaryStatistics.tsx": () => import("./summaryStatistics-DKDNnLWr.js"), "./renderers/table.tsx": () => import("./table-BBTwp5P3.js"), "./renderers/tabular.tsx": () => import("./tabular-DDPa0iJB.js"), "./renderers/tag.tsx": () => import("./tag-Bx2l7EMs.js"), "./renderers/text.tsx": () => import("./text-5T43_aXx.js"), "./renderers/textInput.tsx": () => import("./textInput-DYSHg_7f.js"), "./renderers/vector.tsx": () => import("./vector-A8WrHpAV.js"), "./renderers/vectorField.tsx": () => import("./vectorField-DMtiqcj8.js"), "./renderers/video.tsx": () => import("./video-FxUXZ-iV.js") }), `./renderers/${childInstructions.rendererType}.tsx`, 3);
|
|
71
|
+
}
|
|
72
|
+
return rendererLoaders;
|
|
73
|
+
});
|
|
74
|
+
}
|
|
75
|
+
return null;
|
|
76
|
+
}
|
|
77
|
+
let child = React__default.createElement(rendererClass, propsForChild);
|
|
78
|
+
return child;
|
|
79
|
+
}
|
|
80
|
+
let rendererType = props.componentInstructions.rendererType;
|
|
81
|
+
const callAction = (argObj) => {
|
|
82
|
+
if (!argObj.componentIdx) {
|
|
83
|
+
argObj = { ...argObj };
|
|
84
|
+
argObj.componentIdx = componentIdx;
|
|
85
|
+
}
|
|
86
|
+
if (!argObj.rendererType) {
|
|
87
|
+
argObj = { ...argObj };
|
|
88
|
+
argObj.rendererType = rendererType;
|
|
89
|
+
}
|
|
90
|
+
return props.callAction(argObj);
|
|
91
|
+
};
|
|
92
|
+
return {
|
|
93
|
+
componentIdx: effectiveIdx,
|
|
94
|
+
id: prefixForIds + id,
|
|
95
|
+
SVs: stateValues,
|
|
96
|
+
docId: props.docId,
|
|
97
|
+
activityId: props.activityId,
|
|
98
|
+
actions,
|
|
99
|
+
children,
|
|
100
|
+
sourceOfUpdate,
|
|
101
|
+
ignoreUpdate,
|
|
102
|
+
rendererName,
|
|
103
|
+
initializeChildren: () => {
|
|
104
|
+
},
|
|
105
|
+
callAction,
|
|
106
|
+
doenetViewerUrl: props.doenetViewerUrl,
|
|
107
|
+
fetchExternalDoenetML: props.fetchExternalDoenetML,
|
|
108
|
+
requestScrollTo: props.requestScrollTo,
|
|
109
|
+
flags: props.flags
|
|
110
|
+
};
|
|
111
|
+
}
|
|
112
|
+
export {
|
|
113
|
+
useDoenetRenderer as u
|
|
114
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useMemo, useContext, useRef } from "react";
|
|
2
|
-
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-
|
|
3
|
-
import { N as createFunctionFromDefinition, E as DocContext } from "./doenetml-
|
|
2
|
+
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-DKIV-guP.js";
|
|
3
|
+
import { N as createFunctionFromDefinition, E as DocContext } from "./doenetml-vyJfJrgr.js";
|
|
4
4
|
import { s as styleToDash } from "./styleToDash-DWb71gbd.js";
|
|
5
5
|
import { u as useJSXGraphCleanup } from "./useJSXGraphCleanup-BNk4sn6x.js";
|
|
6
6
|
function fieldFunctionFromDefinition(fDefinition) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { q as jsxRuntimeExports } from "./doenetml-
|
|
2
|
-
import { F as FontAwesomeIcon } from "./index.es-
|
|
1
|
+
import { q as jsxRuntimeExports } from "./doenetml-vyJfJrgr.js";
|
|
2
|
+
import { F as FontAwesomeIcon } from "./index.es-YUIlu0oj.js";
|
|
3
3
|
import { d as faSpinner, e as faLevelDownAlt, g as faCheck, h as faTimes, i as faCloud } from "./index-BDlitCgu.js";
|
|
4
4
|
import React__default, { useCallback } from "react";
|
|
5
5
|
function checkWorkCredit(SVs) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { E as DocContext, q as jsxRuntimeExports, F as textRendererStyle, G as DynamicMath } from "./doenetml-
|
|
1
|
+
import { E as DocContext, q as jsxRuntimeExports, F as textRendererStyle, G as DynamicMath } from "./doenetml-vyJfJrgr.js";
|
|
2
2
|
import React__default, { useContext, useRef } from "react";
|
|
3
|
-
import { j as jxg, s as syncLayer, g as syncVisPropValues, e as syncLineStrokeStyle, a as syncWithLabelToggle, f as syncLabelStrokeColor, b as syncLabelMaskCssStyle, i as applyLineFamilyLabelPlacement, k as buildLineFamilyLabelAttributes, d as attachLabelHoverHighlight, c as computeLabelMaskCssStyle, l as stabilizeInitialLineFamilyLabelPlacement, r as removeJXGEventHandlers } from "./JSXGraphRenderer-
|
|
4
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
5
|
-
import { BoardContext, VERTEX_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-
|
|
6
|
-
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-
|
|
7
|
-
import { ChoiceInputInlineContext } from "./choiceInput-
|
|
3
|
+
import { j as jxg, s as syncLayer, g as syncVisPropValues, e as syncLineStrokeStyle, a as syncWithLabelToggle, f as syncLabelStrokeColor, b as syncLabelMaskCssStyle, i as applyLineFamilyLabelPlacement, k as buildLineFamilyLabelAttributes, d as attachLabelHoverHighlight, c as computeLabelMaskCssStyle, l as stabilizeInitialLineFamilyLabelPlacement, r as removeJXGEventHandlers } from "./JSXGraphRenderer-icU3jyqz.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-Bu55BG1U.js";
|
|
5
|
+
import { BoardContext, VERTEX_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-DKIV-guP.js";
|
|
6
|
+
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-RaJPDnyN.js";
|
|
7
|
+
import { ChoiceInputInlineContext } from "./choiceInput-C2JUQfud.js";
|
|
8
8
|
import { a as buildLineLikeAttributes, c as buildDragHandleAttributes } from "./buildGraphicalAttributes-B_soifR-.js";
|
|
9
9
|
import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-DV6a8Wvg.js";
|
|
10
10
|
import { p as pointerEventToUserCoords } from "./dragThreshold-DuSSFrIU.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React__default from "react";
|
|
2
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
-
import { u as useFieldFunction, a as useFieldCurve, c as buildVectorFieldData } from "./useFieldCurve-
|
|
2
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-Bu55BG1U.js";
|
|
3
|
+
import { u as useFieldFunction, a as useFieldCurve, c as buildVectorFieldData } from "./useFieldCurve-1qzwcWQ6.js";
|
|
4
4
|
const vectorField = React__default.memo(function VectorField(props) {
|
|
5
5
|
let { SVs } = useDoenetRenderer(props);
|
|
6
6
|
VectorField.ignoreActionsWithoutCore = () => true;
|