@doenet/doenetml 0.7.21-dev.402 → 0.7.21-dev.403
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-B-COVFeJ.js → AnswerResponseButton-BoDaSyjL.js} +2 -2
- package/{Description-BKKbY9Bb.js → Description-BRseqXM7.js} +1 -1
- package/{GraphFrame-ctG_zVzS.js → GraphFrame-Bw0ESey5.js} +2 -2
- package/{JSXGraphRenderer-ClluGyzR.js → JSXGraphRenderer-DCxFJlNq.js} +1 -1
- package/{NonInlineMediaWrapper-CH2UZEjr.js → NonInlineMediaWrapper-Hs1x4FiX.js} +1 -1
- package/{_error-OgAB7m66.js → _error-C8A94Y3h.js} +2 -2
- package/{alert-sXkFLTgf.js → alert-jA0kLLiY.js} +3 -3
- package/{angle-BiO8HJAw.js → angle-DDfm6qfL.js} +6 -6
- package/{answer-DI_hQBdS.js → answer-CmVVaqcB.js} +5 -5
- package/{asList-BHaIYrlH.js → asList-BZxrMH7f.js} +2 -2
- package/{blockQuote-BmTK8rm3.js → blockQuote-GcfNdajj.js} +3 -3
- package/{boolean-smJXgISs.js → boolean-ET51o0ml.js} +2 -2
- package/{booleanInput-DchL2BKJ.js → booleanInput-jArURTbw.js} +6 -6
- package/{br-KFkX2Nzs.js → br-CoibiD8r.js} +2 -2
- package/{button-DRugw4uL.js → button-8DpxPlGR.js} +4 -4
- package/{c-CLgEjQb6.js → c-DWw0GcgZ.js} +3 -3
- package/{cell-ByuRNNHU.js → cell-CgqD0h7-.js} +3 -3
- package/{choiceInput-D1XGhY63.js → choiceInput-uduJbZeL.js} +4 -4
- package/{circle-Ch1c0xkt.js → circle-CqwT4yj0.js} +6 -6
- package/{cobwebPolyline-D0jdaMIW.js → cobwebPolyline-B1ktu48L.js} +4 -4
- package/{codeEditor-CZgX-m_s.js → codeEditor-BfEE8CYi.js} +2 -2
- package/{composites-Dm5IiFIb.js → composites-DSewYs09.js} +1 -1
- package/{containerBlock-DRgeKT9Q.js → containerBlock-C1cztKiY.js} +4 -4
- package/{containerInline-BM9FuHYk.js → containerInline-tGDp9ZFW.js} +4 -4
- package/{curve-CHfB6ddr.js → curve-CSbSwPiD.js} +4 -4
- package/{doenetml-BWUhCqyI.js → doenetml-BBt1ddHI.js} +5 -5
- package/doenetml-external-worker.js +2 -2
- package/doenetml-inline-worker.js +2 -2
- package/{ellipsis-DPlo8uTt.js → ellipsis-DqYwKzCO.js} +2 -2
- package/{em-CA_E2kNb.js → em-Dsqm8SWn.js} +3 -3
- package/{embed-SNZMMsxl.js → embed-CGL3MJXi.js} +2 -2
- package/{feedback-5wFZJVU7.js → feedback-CsNBFLWM.js} +4 -4
- package/{figure-CXMjz0lr.js → figure-CfE0YW0A.js} +3 -3
- package/{fillPatterns-Lrayls7x.js → fillPatterns-CItXPXlB.js} +1 -1
- package/{footnote-CSxbPMVv.js → footnote-CTKuXR9o.js} +3 -3
- package/{fractionInput-BRqE_TLl.js → fractionInput-BKaJslQm.js} +4 -4
- package/{graph-CLmxXg9C.js → graph-DGqD5FEV.js} +6 -6
- package/{hint-Cko9-Ge1.js → hint-DyIL4hJ2.js} +4 -4
- package/{hr-NPuFzgEl.js → hr-Dsd76HAd.js} +2 -2
- package/{image-BLprIZle.js → image-CIKM4an2.js} +7 -7
- package/{index-afyhYpns.js → index-DsokVxZ1.js} +1 -1
- package/{index.es-BIkFuK7J.js → index.es-BN6SzhLX.js} +1 -1
- package/index.js +1 -1
- package/{label-CNRcGZmD.js → label-BsnCrVqH.js} +6 -6
- package/{labelWithLatex-h4kF6DbX.js → labelWithLatex-qXGPCIhR.js} +1 -1
- package/{legend-DKo17XpR.js → legend-ByJPXI5H.js} +4 -4
- package/{line-CVUed9ob.js → line-03AB6bQx.js} +6 -6
- package/{lineFamilyDragHandlers-BxttwtY7.js → lineFamilyDragHandlers-Tz6sOHnX.js} +1 -1
- package/{lineSegment-C3veRieg.js → lineSegment-CQN6lJZC.js} +5 -5
- package/{list-CAHzHvlU.js → list-BAEzAtW2.js} +4 -4
- package/{lq-C17RUGmx.js → lq-A1KY2EP9.js} +2 -2
- package/{lsq-Biow0KEg.js → lsq-BBXFQqOu.js} +2 -2
- package/{markupRenderer-PnkyCX9k.js → markupRenderer-Bth58m5r.js} +1 -1
- package/{math-BW8F1Uvo.js → math-D6sD31FU.js} +6 -6
- package/{mathInput-BG7QXnJk.js → mathInput-FeW5oVnD.js} +7 -7
- package/{matrixInput-DTUIyhcX.js → matrixInput-Vess0hPN.js} +4 -4
- package/{mdash-CeR0NT_c.js → mdash-Dyra4Tmq.js} +2 -2
- package/{nbsp-B2qofGYW.js → nbsp-C26aKXGP.js} +2 -2
- package/{ndash-CIQ3jXFE.js → ndash-2Nt0wk4I.js} +2 -2
- package/{number-DlRd3l02.js → number-DNaBUTJ_.js} +6 -6
- package/{orbitalDiagram-Ckvt8iwi.js → orbitalDiagram-Bx_a1HC1.js} +2 -2
- package/{orbitalDiagramInput-oVaRgHEJ.js → orbitalDiagramInput-Bi9SdBV5.js} +2 -2
- package/{p-zBT1GHb5.js → p-R8K-KwYv.js} +4 -4
- package/package.json +1 -1
- package/{paginatorControls-BLQaAIfj.js → paginatorControls-RG633keC.js} +2 -2
- package/{pegboard-B8QsDpSH.js → pegboard-DgRcDct_.js} +4 -4
- package/{point-B4wEARxg.js → point-CKba2qLX.js} +6 -6
- package/{polygon-DVl13Rgm.js → polygon-DOpHWrnA.js} +6 -6
- package/{polyline-D5U3d3mE.js → polyline-CQKqVBJV.js} +5 -5
- package/{pre-DxbFUzHN.js → pre-C4wAdkvE.js} +3 -3
- package/{prefigure-DELIgOji.js → prefigure-DYXYjfSb.js} +1 -1
- package/{pretzel-C686Qa-E.js → pretzel-DPI55teV.js} +4 -4
- package/{q-Dbp0-1Sj.js → q-D49CVQj7.js} +3 -3
- package/{ray-DQSepHbU.js → ray-CjUuRt1T.js} +5 -5
- package/{ref-tqLv7p8o.js → ref-ClIrE27x.js} +2 -2
- package/{regionBetweenCurveXAxis-C1boU3Ye.js → regionBetweenCurveXAxis-C2N0uSBu.js} +5 -5
- package/{regionBetweenCurves-Bexn7Y5f.js → regionBetweenCurves-DPEtqWpu.js} +5 -5
- package/{row-Bt2HL_SE.js → row-CQbLft7N.js} +2 -2
- package/{rq-zWN5DJtp.js → rq-DlqyOd6l.js} +2 -2
- package/{rsq-DEZmXXV1.js → rsq-BNFLUnHV.js} +2 -2
- package/{section-DRI0EXrR.js → section-DlqHPVFD.js} +5 -5
- package/{sha256-AuWkkb03-BTJSfXF1.js → sha256-AuWkkb03-DUcNYOE5.js} +1 -1
- package/{sideBySide-sY2X1hBs.js → sideBySide-Cyc3-3IW.js} +2 -2
- package/{slider-CHZtBp1m.js → slider-tlhat1nO.js} +3 -3
- package/{solution-BQOiHUR0.js → solution-BCIfcZkm.js} +4 -4
- package/{spreadsheet-CiZcRVvL.js → spreadsheet-2hdeNqW3.js} +2 -2
- package/{sq-C5mJAOc9.js → sq-3_KOjkS1.js} +3 -3
- package/{subsetOfRealsInput-CQyoJI_s.js → subsetOfRealsInput-DSWUG1dy.js} +2 -2
- package/{summaryStatistics-BeRObgrP.js → summaryStatistics-DZoLfohb.js} +2 -2
- package/{table-CU5gxYFG.js → table-BNZnMYAI.js} +2 -2
- package/{tabular-DbEHlN_o.js → tabular-Bm3eFd1H.js} +2 -2
- package/{tag-BXUz2aRt.js → tag-bqNXAiE1.js} +2 -2
- package/{text-L2fAHAlA.js → text-a5bXb7Jw.js} +6 -6
- package/{textInput-yv_eThZ-.js → textInput-rn1rL35o.js} +6 -6
- package/{tooltip-provider-DGgpaQ3N.js → tooltip-provider-C7gtw1aE.js} +1 -1
- package/{useAnchoredGraphDragHandler-C5EGUbCM.js → useAnchoredGraphDragHandler-z1WA4YHV.js} +1 -1
- package/useDoenetRenderer-d6SJo1j6.js +114 -0
- package/{useSubmitActionWithDelay-Bv9MXK1B.js → useSubmitActionWithDelay-DV5NTo6k.js} +2 -2
- package/{vector-5BYdIysd.js → vector-D02IALO5.js} +6 -6
- package/{video-BR1cmpNt.js → video-BWR7woGB.js} +4 -4
- package/useDoenetRenderer-3_tvZXd1.js +0 -114
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { u as useT, w as useContentT, x as useRecordVisibilityChanges, q as DocContext, p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useT, w as useContentT, x as useRecordVisibilityChanges, q as DocContext, p as jsxRuntimeExports } from "./doenetml-BBt1ddHI.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-d6SJo1j6.js";
|
|
4
|
+
import { A as AnswerResponseButton } from "./AnswerResponseButton-BoDaSyjL.js";
|
|
5
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-DV5NTo6k.js";
|
|
6
6
|
const pretzel = React__default.memo(function Pretzel(props) {
|
|
7
7
|
let {
|
|
8
8
|
componentIdx,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { p as jsxRuntimeExports } from "./doenetml-BBt1ddHI.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-d6SJo1j6.js";
|
|
4
|
+
import { r as renderMarkupBody } from "./markupRenderer-Bth58m5r.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 { q as DocContext, p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { q as DocContext, p as jsxRuntimeExports } from "./doenetml-BBt1ddHI.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-DCxFJlNq.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-d6SJo1j6.js";
|
|
5
|
+
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-DGqD5FEV.js";
|
|
6
|
+
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-Tz6sOHnX.js";
|
|
7
7
|
import { a as buildLineLikeAttributes } from "./buildGraphicalAttributes-C7PtyKL7.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 { q as DocContext, p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { q as DocContext, p as jsxRuntimeExports } from "./doenetml-BBt1ddHI.js";
|
|
2
2
|
import React__default, { useContext, useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-d6SJo1j6.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 { q as DocContext, A as createFunctionFromDefinition, p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { q as DocContext, A as createFunctionFromDefinition, p as jsxRuntimeExports } from "./doenetml-BBt1ddHI.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-DCxFJlNq.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-d6SJo1j6.js";
|
|
5
|
+
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-DGqD5FEV.js";
|
|
6
|
+
import { g as getPatternFillAttributes } from "./fillPatterns-CItXPXlB.js";
|
|
7
7
|
import { b as resolveCanvasColor } from "./styleColors-Cknqcr0q.js";
|
|
8
8
|
const regionBetweenCurveXAxis = React__default.memo(function RegionBetweenCurveXAxis(props) {
|
|
9
9
|
let { id, SVs } = useDoenetRenderer(props);
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { q as DocContext, A as createFunctionFromDefinition, p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { q as DocContext, A as createFunctionFromDefinition, p as jsxRuntimeExports } from "./doenetml-BBt1ddHI.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-d6SJo1j6.js";
|
|
4
|
+
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-DGqD5FEV.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-CItXPXlB.js";
|
|
7
7
|
import { b as resolveCanvasColor } from "./styleColors-Cknqcr0q.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-DCxFJlNq.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 { p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { p as jsxRuntimeExports } from "./doenetml-BBt1ddHI.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-d6SJo1j6.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 { p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { p as jsxRuntimeExports } from "./doenetml-BBt1ddHI.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-d6SJo1j6.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 { p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { p as jsxRuntimeExports } from "./doenetml-BBt1ddHI.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-d6SJo1j6.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, w as useContentT, q as DocContext, z as cesc, x as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useT, w as useContentT, q as DocContext, z as cesc, x as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-BBt1ddHI.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-BN6SzhLX.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-d6SJo1j6.js";
|
|
6
|
+
import { a as addCommasForCompositeRanges } from "./composites-DSewYs09.js";
|
|
7
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-DV5NTo6k.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 { x as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { x as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-BBt1ddHI.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-d6SJo1j6.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,8 +1,8 @@
|
|
|
1
|
-
import { u as useT, p as jsxRuntimeExports, K as ActionButtonGroup, L as ActionButton, y as Context } from "./doenetml-
|
|
1
|
+
import { u as useT, p as jsxRuntimeExports, K as ActionButtonGroup, L as ActionButton, y as Context } from "./doenetml-BBt1ddHI.js";
|
|
2
2
|
import React__default, { useState, useRef, useEffect } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-d6SJo1j6.js";
|
|
4
4
|
import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
|
|
5
|
-
import { r as renderLabelWithLatex } from "./labelWithLatex-
|
|
5
|
+
import { r as renderLabelWithLatex } from "./labelWithLatex-qXGPCIhR.js";
|
|
6
6
|
let round_to_decimals = (x, n) => {
|
|
7
7
|
try {
|
|
8
8
|
return Context.round_numbers_to_decimals(x, n).tree;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { u as useT, x as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useT, x as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-BBt1ddHI.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-d6SJo1j6.js";
|
|
4
|
+
import { F as FontAwesomeIcon } from "./index.es-BN6SzhLX.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-DSewYs09.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 { q as DocContext, x as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { q as DocContext, x as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-BBt1ddHI.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-d6SJo1j6.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 { p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { p as jsxRuntimeExports } from "./doenetml-BBt1ddHI.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-d6SJo1j6.js";
|
|
4
|
+
import { r as renderMarkupBody } from "./markupRenderer-Bth58m5r.js";
|
|
5
5
|
const sq = React__default.memo(function Sq(props) {
|
|
6
6
|
const { SVs, children } = useDoenetRenderer(props);
|
|
7
7
|
const body = renderMarkupBody({ SVs, children });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { u as useT, x as useRecordVisibilityChanges, p as jsxRuntimeExports, O as ToggleButtonGroup, T as ToggleButton, K as ActionButtonGroup, L as ActionButton } from "./doenetml-
|
|
1
|
+
import { u as useT, x as useRecordVisibilityChanges, p as jsxRuntimeExports, O as ToggleButtonGroup, T as ToggleButton, K as ActionButtonGroup, L as ActionButton } from "./doenetml-BBt1ddHI.js";
|
|
2
2
|
import React__default, { useState, useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-d6SJo1j6.js";
|
|
4
4
|
const subsetOfRealsInput = React__default.memo(function subsetOfReals(props) {
|
|
5
5
|
let { id, SVs, actions, callAction } = useDoenetRenderer(props, false);
|
|
6
6
|
let [mode, setMode] = useState("add remove points");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { u as useT, x as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useT, x as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-BBt1ddHI.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-d6SJo1j6.js";
|
|
4
4
|
import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
|
|
5
5
|
const summaryStatistics = React__default.memo(function SummaryStatistics(props) {
|
|
6
6
|
let { id, SVs, actions, callAction } = useDoenetRenderer(props);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { x as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { x as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-BBt1ddHI.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-d6SJo1j6.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 { x as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { x as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-BBt1ddHI.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-d6SJo1j6.js";
|
|
4
4
|
import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
|
|
5
5
|
import { a as getBlockMarginWithOptionalTopSuppression } from "./nonInlineMediaLayout-CkXHaqzo.js";
|
|
6
6
|
const tabular = React__default.memo(function Tabular(props) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { p as jsxRuntimeExports } from "./doenetml-BBt1ddHI.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-d6SJo1j6.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,13 +1,13 @@
|
|
|
1
|
-
import { q as DocContext, y as Context, p as jsxRuntimeExports, t as textRendererStyle } from "./doenetml-
|
|
1
|
+
import { q as DocContext, y as Context, p as jsxRuntimeExports, t as textRendererStyle } from "./doenetml-BBt1ddHI.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-DCxFJlNq.js";
|
|
4
|
+
import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-DGqD5FEV.js";
|
|
5
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-d6SJo1j6.js";
|
|
6
6
|
import { g as getPositionFromAnchorByCoordinate } from "./graph-W6vrFcBu.js";
|
|
7
|
-
import { ChoiceInputInlineContext } from "./choiceInput-
|
|
7
|
+
import { ChoiceInputInlineContext } from "./choiceInput-uduJbZeL.js";
|
|
8
8
|
import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-DV6a8Wvg.js";
|
|
9
9
|
import { u as useDraggableRefs, a as useJSXGraphCleanup } from "./useJSXGraphCleanup-CX91oVW8.js";
|
|
10
|
-
import { d as detachAnchoredGraphElement, a as attachAnchoredGraphDragHandlers } from "./useAnchoredGraphDragHandler-
|
|
10
|
+
import { d as detachAnchoredGraphElement, a as attachAnchoredGraphDragHandlers } from "./useAnchoredGraphDragHandler-z1WA4YHV.js";
|
|
11
11
|
const text = React__default.memo(function Text(props) {
|
|
12
12
|
let { componentIdx, id, SVs, actions, callAction } = useDoenetRenderer(props);
|
|
13
13
|
Text.ignoreActionsWithoutCore = () => true;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { w as useContentT, y as Context, p as jsxRuntimeExports, M as MathJax } from "./doenetml-
|
|
1
|
+
import { w as useContentT, y as Context, p as jsxRuntimeExports, M as MathJax } from "./doenetml-BBt1ddHI.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-DCxFJlNq.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-d6SJo1j6.js";
|
|
5
5
|
import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
|
|
6
|
-
import { BoardContext } from "./graph-
|
|
6
|
+
import { BoardContext } from "./graph-DGqD5FEV.js";
|
|
7
7
|
import { g as getPositionFromAnchorByCoordinate, P as POINTER_DRAG_THRESHOLD } from "./graph-W6vrFcBu.js";
|
|
8
|
-
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-
|
|
9
|
-
import { D as DescriptionPopover } from "./Description-
|
|
8
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-DV5NTo6k.js";
|
|
9
|
+
import { D as DescriptionPopover } from "./Description-BRseqXM7.js";
|
|
10
10
|
import { a as addValidationStateToShortDescription } from "./validationState-DI_lxk1a.js";
|
|
11
11
|
function TextInput(props) {
|
|
12
12
|
let { id, SVs, children, actions, ignoreUpdate, callAction } = useDoenetRenderer(props);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a7 as createStoreContext, a8 as HovercardScopedContextProvider, a9 as HovercardContextProvider, aa as createDialogComponent, R as forwardRef, S as createElement, U as createHook, W as invariant, ab as useWrapElement, p as jsxRuntimeExports, X as useStoreState, ac as useHovercard, ad as isFalsyBooleanCallback, ae as contains, af as sync, ag as chain, ah as useEvent, ai as useHovercardAnchor, aj as createStore, ak as createHovercardStore, al as defaultValue, am as useStore, an as useStoreProps, ao as useHovercardStoreProps } from "./doenetml-
|
|
1
|
+
import { a7 as createStoreContext, a8 as HovercardScopedContextProvider, a9 as HovercardContextProvider, aa as createDialogComponent, R as forwardRef, S as createElement, U as createHook, W as invariant, ab as useWrapElement, p as jsxRuntimeExports, X as useStoreState, ac as useHovercard, ad as isFalsyBooleanCallback, ae as contains, af as sync, ag as chain, ah as useEvent, ai as useHovercardAnchor, aj as createStore, ak as createHovercardStore, al as defaultValue, am as useStore, an as useStoreProps, ao as useHovercardStoreProps } from "./doenetml-BBt1ddHI.js";
|
|
2
2
|
import { useRef, useEffect } from "react";
|
|
3
3
|
const ctx = createStoreContext([HovercardContextProvider], [HovercardScopedContextProvider]);
|
|
4
4
|
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-DCxFJlNq.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 { F as useAppSelector, G as mainSlice, H as renderersLoadComponent, _ as __variableDynamicImportRuntimeHelper } from "./doenetml-BBt1ddHI.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-Bw0ESey5.js"), "./renderers/JSXGraphRenderer.tsx": () => import("./JSXGraphRenderer-DCxFJlNq.js").then((n) => n.m), "./renderers/_error.tsx": () => import("./_error-C8A94Y3h.js"), "./renderers/alert.tsx": () => import("./alert-jA0kLLiY.js"), "./renderers/angle.tsx": () => import("./angle-DDfm6qfL.js"), "./renderers/answer.tsx": () => import("./answer-CmVVaqcB.js"), "./renderers/asList.tsx": () => import("./asList-BZxrMH7f.js"), "./renderers/blockQuote.tsx": () => import("./blockQuote-GcfNdajj.js"), "./renderers/boolean.tsx": () => import("./boolean-ET51o0ml.js"), "./renderers/booleanInput.tsx": () => import("./booleanInput-jArURTbw.js"), "./renderers/br.tsx": () => import("./br-CoibiD8r.js"), "./renderers/button.tsx": () => import("./button-8DpxPlGR.js"), "./renderers/c.tsx": () => import("./c-DWw0GcgZ.js"), "./renderers/cell.tsx": () => import("./cell-CgqD0h7-.js"), "./renderers/choiceInput.tsx": () => import("./choiceInput-uduJbZeL.js"), "./renderers/circle.tsx": () => import("./circle-CqwT4yj0.js"), "./renderers/cobwebPolyline.tsx": () => import("./cobwebPolyline-B1ktu48L.js"), "./renderers/codeEditor.tsx": () => import("./codeEditor-BfEE8CYi.js"), "./renderers/containerBlock.tsx": () => import("./containerBlock-C1cztKiY.js"), "./renderers/containerInline.tsx": () => import("./containerInline-tGDp9ZFW.js"), "./renderers/curve.tsx": () => import("./curve-CSbSwPiD.js"), "./renderers/ellipsis.tsx": () => import("./ellipsis-DqYwKzCO.js"), "./renderers/em.tsx": () => import("./em-Dsqm8SWn.js"), "./renderers/embed.tsx": () => import("./embed-CGL3MJXi.js"), "./renderers/feedback.tsx": () => import("./feedback-CsNBFLWM.js"), "./renderers/figure.tsx": () => import("./figure-CfE0YW0A.js"), "./renderers/footnote.tsx": () => import("./footnote-CTKuXR9o.js"), "./renderers/fractionInput.tsx": () => import("./fractionInput-BKaJslQm.js"), "./renderers/graph.tsx": () => import("./graph-DGqD5FEV.js"), "./renderers/hint.tsx": () => import("./hint-DyIL4hJ2.js"), "./renderers/hr.tsx": () => import("./hr-Dsd76HAd.js"), "./renderers/image.tsx": () => import("./image-CIKM4an2.js"), "./renderers/label.tsx": () => import("./label-BsnCrVqH.js"), "./renderers/legend.tsx": () => import("./legend-ByJPXI5H.js"), "./renderers/line.tsx": () => import("./line-03AB6bQx.js"), "./renderers/lineSegment.tsx": () => import("./lineSegment-CQN6lJZC.js"), "./renderers/list.tsx": () => import("./list-BAEzAtW2.js"), "./renderers/lq.tsx": () => import("./lq-A1KY2EP9.js"), "./renderers/lsq.tsx": () => import("./lsq-BBXFQqOu.js"), "./renderers/math.tsx": () => import("./math-D6sD31FU.js"), "./renderers/mathInput.tsx": () => import("./mathInput-FeW5oVnD.js"), "./renderers/matrixInput.tsx": () => import("./matrixInput-Vess0hPN.js"), "./renderers/mdash.tsx": () => import("./mdash-Dyra4Tmq.js"), "./renderers/nbsp.tsx": () => import("./nbsp-C26aKXGP.js"), "./renderers/ndash.tsx": () => import("./ndash-2Nt0wk4I.js"), "./renderers/number.tsx": () => import("./number-DNaBUTJ_.js"), "./renderers/orbitalDiagram.tsx": () => import("./orbitalDiagram-Bx_a1HC1.js"), "./renderers/orbitalDiagramInput.tsx": () => import("./orbitalDiagramInput-Bi9SdBV5.js"), "./renderers/p.tsx": () => import("./p-R8K-KwYv.js"), "./renderers/paginatorControls.tsx": () => import("./paginatorControls-RG633keC.js"), "./renderers/pegboard.tsx": () => import("./pegboard-DgRcDct_.js"), "./renderers/point.tsx": () => import("./point-CKba2qLX.js"), "./renderers/polygon.tsx": () => import("./polygon-DOpHWrnA.js"), "./renderers/polyline.tsx": () => import("./polyline-CQKqVBJV.js"), "./renderers/pre.tsx": () => import("./pre-C4wAdkvE.js"), "./renderers/prefigure.tsx": () => import("./prefigure-DYXYjfSb.js"), "./renderers/pretzel.tsx": () => import("./pretzel-DPI55teV.js"), "./renderers/q.tsx": () => import("./q-D49CVQj7.js"), "./renderers/ray.tsx": () => import("./ray-CjUuRt1T.js"), "./renderers/ref.tsx": () => import("./ref-ClIrE27x.js"), "./renderers/regionBetweenCurveXAxis.tsx": () => import("./regionBetweenCurveXAxis-C2N0uSBu.js"), "./renderers/regionBetweenCurves.tsx": () => import("./regionBetweenCurves-DPEtqWpu.js"), "./renderers/row.tsx": () => import("./row-CQbLft7N.js"), "./renderers/rq.tsx": () => import("./rq-DlqyOd6l.js"), "./renderers/rsq.tsx": () => import("./rsq-BNFLUnHV.js"), "./renderers/section.tsx": () => import("./section-DlqHPVFD.js"), "./renderers/sideBySide.tsx": () => import("./sideBySide-Cyc3-3IW.js"), "./renderers/slider.tsx": () => import("./slider-tlhat1nO.js"), "./renderers/solution.tsx": () => import("./solution-BCIfcZkm.js"), "./renderers/spreadsheet.tsx": () => import("./spreadsheet-2hdeNqW3.js"), "./renderers/sq.tsx": () => import("./sq-3_KOjkS1.js"), "./renderers/subsetOfRealsInput.tsx": () => import("./subsetOfRealsInput-DSWUG1dy.js"), "./renderers/summaryStatistics.tsx": () => import("./summaryStatistics-DZoLfohb.js"), "./renderers/table.tsx": () => import("./table-BNZnMYAI.js"), "./renderers/tabular.tsx": () => import("./tabular-Bm3eFd1H.js"), "./renderers/tag.tsx": () => import("./tag-bqNXAiE1.js"), "./renderers/text.tsx": () => import("./text-a5bXb7Jw.js"), "./renderers/textInput.tsx": () => import("./textInput-rn1rL35o.js"), "./renderers/vector.tsx": () => import("./vector-D02IALO5.js"), "./renderers/video.tsx": () => import("./video-BWR7woGB.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,5 +1,5 @@
|
|
|
1
|
-
import { p as jsxRuntimeExports } from "./doenetml-
|
|
2
|
-
import { F as FontAwesomeIcon } from "./index.es-
|
|
1
|
+
import { p as jsxRuntimeExports } from "./doenetml-BBt1ddHI.js";
|
|
2
|
+
import { F as FontAwesomeIcon } from "./index.es-BN6SzhLX.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 calculateValidationState(SVs) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { q as DocContext, p as jsxRuntimeExports, t as textRendererStyle, v as DynamicMath } from "./doenetml-
|
|
1
|
+
import { q as DocContext, p as jsxRuntimeExports, t as textRendererStyle, v as DynamicMath } from "./doenetml-BBt1ddHI.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-DCxFJlNq.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-d6SJo1j6.js";
|
|
5
|
+
import { BoardContext, VERTEX_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-DGqD5FEV.js";
|
|
6
|
+
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-Tz6sOHnX.js";
|
|
7
|
+
import { ChoiceInputInlineContext } from "./choiceInput-uduJbZeL.js";
|
|
8
8
|
import { a as buildLineLikeAttributes } from "./buildGraphicalAttributes-C7PtyKL7.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,10 +1,10 @@
|
|
|
1
|
-
import { x as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { x as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-BBt1ddHI.js";
|
|
2
2
|
import React__default, { useState, useEffect, useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-d6SJo1j6.js";
|
|
4
4
|
import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
|
|
5
|
-
import { D as DescriptionPopover, a as DescriptionAsDetails } from "./Description-
|
|
5
|
+
import { D as DescriptionPopover, a as DescriptionAsDetails } from "./Description-BRseqXM7.js";
|
|
6
6
|
import { g as getNonInlineMediaLayoutStyles } from "./nonInlineMediaLayout-CkXHaqzo.js";
|
|
7
|
-
import { N as NonInlineMediaWrapper } from "./NonInlineMediaWrapper-
|
|
7
|
+
import { N as NonInlineMediaWrapper } from "./NonInlineMediaWrapper-Hs1x4FiX.js";
|
|
8
8
|
const YT_API_SRC = "https://www.youtube.com/iframe_api";
|
|
9
9
|
const listeners = /* @__PURE__ */ new Set();
|
|
10
10
|
let installed = false;
|