@doenet/doenetml 0.7.21-dev.405 → 0.7.21-dev.406
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-CdnnKl-H.js → AnswerResponseButton-B_2qPW3L.js} +2 -2
- package/{Description-DzoH6g1j.js → Description-BhJOU_Eq.js} +1 -1
- package/{GraphFrame-GIHtuC7w.js → GraphFrame-BW6APMud.js} +2 -2
- package/{JSXGraphRenderer-BiXB0b8-.js → JSXGraphRenderer-l5Vog5Pd.js} +1 -1
- package/{NonInlineMediaWrapper-2U5DEreX.js → NonInlineMediaWrapper-BG6DLf_b.js} +1 -1
- package/{_error-zicwN22R.js → _error-BouXdom3.js} +2 -2
- package/{alert-L2RvdhPj.js → alert-C4UTvymC.js} +3 -3
- package/{angle-DcWjoax9.js → angle-zl-2t7GY.js} +6 -6
- package/{answer-DsPh3mO5.js → answer-DnchP6sA.js} +5 -5
- package/{asList-Gnj5Pnn6.js → asList-CGZJFVb_.js} +2 -2
- package/{blockQuote-BT3DoP2x.js → blockQuote-BMDvcLQE.js} +3 -3
- package/{boolean-BJVpQJEp.js → boolean-dsa_JjzD.js} +2 -2
- package/{booleanInput-C0OChrhV.js → booleanInput-Y8rNlLL1.js} +6 -6
- package/{br-DYdHldt0.js → br-Cknk9JEL.js} +2 -2
- package/{button-h1XSyyVB.js → button-BuWsn6ML.js} +4 -4
- package/{c-CKwyV3Iy.js → c-BaNGe-AV.js} +3 -3
- package/{cell-N5Djn4Eu.js → cell-COPRqzD6.js} +3 -3
- package/{choiceInput-JENfhWEW.js → choiceInput-BMJ-t8M9.js} +4 -4
- package/{circle-BIWTfK2t.js → circle-CG0HZ1ro.js} +6 -6
- package/{cobwebPolyline-CrkwKxC3.js → cobwebPolyline-C41eRXH_.js} +4 -4
- package/{codeEditor-CGQAB_f7.js → codeEditor-lrdfa0zB.js} +2 -2
- package/{composites-BYkyX8AF.js → composites-BeLkG_4o.js} +1 -1
- package/{containerBlock-DDgAkjfv.js → containerBlock-LR6QhizP.js} +4 -4
- package/{containerInline-BMlIu0km.js → containerInline-D0ye8ikG.js} +4 -4
- package/{curve-ByiazNr0.js → curve-CAHPeuOB.js} +4 -4
- package/{doenetml-BfUAXuG3.js → doenetml-Cn7pGhnU.js} +5 -5
- package/doenetml-external-worker.js +2 -2
- package/doenetml-inline-worker.js +2 -2
- package/{ellipsis-BilvxK43.js → ellipsis-CEfjRNi1.js} +2 -2
- package/{em-CWWbWVwd.js → em-B022B5-C.js} +3 -3
- package/{embed-B0LrBmBk.js → embed-685rq_ti.js} +2 -2
- package/{feedback-DnDWPlnD.js → feedback-O8uQoGIC.js} +4 -4
- package/{figure-4JJZIwWj.js → figure-CDxHkzZF.js} +3 -3
- package/{fillPatterns-Dzvj18XN.js → fillPatterns-W-CjIiY-.js} +1 -1
- package/{footnote-rK450qVf.js → footnote-DY6QT0P4.js} +3 -3
- package/{fractionInput-C87xL9tE.js → fractionInput-Bao5CFMU.js} +4 -4
- package/{graph-CyEzqX9M.js → graph-B02uxnU9.js} +6 -6
- package/{hint-C2DnXWmW.js → hint-_TWSoYlg.js} +4 -4
- package/{hr-B7Pwzvq8.js → hr-BKBqiv3f.js} +2 -2
- package/{image-CqUU1tP7.js → image-CK9jOUSw.js} +7 -7
- package/{index-Bechn6ty.js → index-B1e-QuXO.js} +1 -1
- package/{index.es-D0dW3PTC.js → index.es-Dy45MXTl.js} +1 -1
- package/index.js +1 -1
- package/{label-DmfIcKP-.js → label-vBYL_Qji.js} +6 -6
- package/{labelWithLatex-hfzRl625.js → labelWithLatex-Bm-vluQk.js} +1 -1
- package/{legend-npI0BpLv.js → legend-DnB0gv8v.js} +4 -4
- package/{line-zqzUNltr.js → line-CnerYP6R.js} +6 -6
- package/{lineFamilyDragHandlers-sXJLXB8j.js → lineFamilyDragHandlers-C7Gxm0vy.js} +1 -1
- package/{lineSegment-SnZtFrF7.js → lineSegment-rP3yPwxR.js} +5 -5
- package/{list-CQCdelW4.js → list-C3h4GSAH.js} +4 -4
- package/{lq-D-NkFc1R.js → lq-jG8yKFzG.js} +2 -2
- package/{lsq-CKiM3rVz.js → lsq-Dt43tyij.js} +2 -2
- package/{markupRenderer-wDGPnooQ.js → markupRenderer-Bz0MY8wb.js} +1 -1
- package/{math-BTrqWkVF.js → math-Bp0kf1Qk.js} +6 -6
- package/{mathInput-DVJ13NiQ.js → mathInput-BHvD9nAF.js} +26 -7
- package/{matrixInput-DTXySMaL.js → matrixInput-C2PiAYyA.js} +4 -4
- package/{mdash-Cx_8aj7a.js → mdash-V71IU6Sy.js} +2 -2
- package/{nbsp-BNzMwuNR.js → nbsp-D3R2cmva.js} +2 -2
- package/{ndash-BXiJRdBb.js → ndash-DAQnHBgi.js} +2 -2
- package/{number-DdgG8Uk5.js → number-1WjWju7E.js} +6 -6
- package/{orbitalDiagram-VmPq5vAg.js → orbitalDiagram-CC3oIqaM.js} +2 -2
- package/{orbitalDiagramInput-D0f5sW7K.js → orbitalDiagramInput-XElhelMs.js} +2 -2
- package/{p-CpcQkCaF.js → p-CWlrn0cD.js} +4 -4
- package/package.json +1 -1
- package/{paginatorControls-Br2paUZq.js → paginatorControls-T5oHrpXf.js} +2 -2
- package/{pegboard-ImlHloKD.js → pegboard-DRCbR2Nq.js} +4 -4
- package/{point-Ds4tWl4n.js → point-Dk2TRbwV.js} +6 -6
- package/{polygon-ChF75DHZ.js → polygon-CVIfP8Sx.js} +6 -6
- package/{polyline-C3VyMxcf.js → polyline-uRFSENSB.js} +5 -5
- package/{pre-Be8_oUc_.js → pre-BTdO1ZXb.js} +3 -3
- package/{prefigure-BmeB-EmI.js → prefigure-QWZ_aJK2.js} +1 -1
- package/{pretzel-DA_TUc_T.js → pretzel-CaiLyvVc.js} +4 -4
- package/{q-D8eZtYcD.js → q-BGO3Viaw.js} +3 -3
- package/{ray-DKluMY6Q.js → ray-CIbP6WMs.js} +5 -5
- package/{ref-Ck4WgboX.js → ref-BGRe_YEb.js} +2 -2
- package/{regionBetweenCurveXAxis-BFndDpWR.js → regionBetweenCurveXAxis-1Eldm5Eu.js} +5 -5
- package/{regionBetweenCurves-D_y0ZaPr.js → regionBetweenCurves-Cg_rn5hY.js} +5 -5
- package/{row-9y_U69WH.js → row-DLZPLx78.js} +2 -2
- package/{rq-DHzzgEHc.js → rq-DK94Q70o.js} +2 -2
- package/{rsq-2xOSNXtN.js → rsq-BxLGIZeP.js} +2 -2
- package/{section-B6EleoDG.js → section-D7e7nIFs.js} +5 -5
- package/{sha256-AuWkkb03-CWPpiENf.js → sha256-AuWkkb03-CjWrhwFg.js} +1 -1
- package/{sideBySide-CJkJ3NKf.js → sideBySide-BLJmhfkL.js} +2 -2
- package/{slider-xM-nS7gb.js → slider-BXIdntvN.js} +3 -3
- package/{solution-DVtPQf1K.js → solution-Bub7pyjf.js} +4 -4
- package/{spreadsheet-zbWJM61B.js → spreadsheet-mGBBoJYj.js} +2 -2
- package/{sq-BEh2o1R4.js → sq-DfstnkOU.js} +3 -3
- package/{subsetOfRealsInput-B8VDem7m.js → subsetOfRealsInput-Du3D4jl8.js} +2 -2
- package/{summaryStatistics-BkrDZ7Se.js → summaryStatistics-CAoBEmnE.js} +2 -2
- package/{table-5KJxyNW8.js → table-ClU15wdV.js} +2 -2
- package/{tabular-Du8u6oMm.js → tabular-Cq5Th36R.js} +2 -2
- package/{tag-CCFjjeyw.js → tag-s_2kMzWa.js} +2 -2
- package/{text-BbOBaz8L.js → text-B9MDJIG3.js} +6 -6
- package/{textInput-gnNM09W6.js → textInput-C7cvLKVr.js} +6 -6
- package/{tooltip-provider-VyRW6gh7.js → tooltip-provider-H0yJxdo2.js} +1 -1
- package/{useAnchoredGraphDragHandler-CW47CSt8.js → useAnchoredGraphDragHandler-BKkAGIXp.js} +1 -1
- package/useDoenetRenderer-BF3gSz3E.js +114 -0
- package/{useSubmitActionWithDelay-DI-JLRnx.js → useSubmitActionWithDelay-C9RK1SwE.js} +2 -2
- package/{vector-DmrWHOxV.js → vector-BqfMELwQ.js} +6 -6
- package/{video-BDKgUA5p.js → video-BkpQrAO3.js} +4 -4
- package/useDoenetRenderer-CBT-VOB_.js +0 -114
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { x as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { x as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-Cn7pGhnU.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-BF3gSz3E.js";
|
|
4
|
+
import { a as addCommasForCompositeRanges } from "./composites-BeLkG_4o.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 { p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { p as jsxRuntimeExports } from "./doenetml-Cn7pGhnU.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, 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-Cn7pGhnU.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-BF3gSz3E.js";
|
|
4
|
+
import { A as AnswerResponseButton } from "./AnswerResponseButton-B_2qPW3L.js";
|
|
5
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-C9RK1SwE.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-Cn7pGhnU.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-BF3gSz3E.js";
|
|
4
|
+
import { r as renderMarkupBody } from "./markupRenderer-Bz0MY8wb.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-Cn7pGhnU.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-l5Vog5Pd.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BF3gSz3E.js";
|
|
5
|
+
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-B02uxnU9.js";
|
|
6
|
+
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-C7Gxm0vy.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-Cn7pGhnU.js";
|
|
2
2
|
import React__default, { useContext, useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BF3gSz3E.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-Cn7pGhnU.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-l5Vog5Pd.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BF3gSz3E.js";
|
|
5
|
+
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-B02uxnU9.js";
|
|
6
|
+
import { g as getPatternFillAttributes } from "./fillPatterns-W-CjIiY-.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-Cn7pGhnU.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-BF3gSz3E.js";
|
|
4
|
+
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-B02uxnU9.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-W-CjIiY-.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-l5Vog5Pd.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-Cn7pGhnU.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BF3gSz3E.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-Cn7pGhnU.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BF3gSz3E.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-Cn7pGhnU.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BF3gSz3E.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-Cn7pGhnU.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-Dy45MXTl.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-BF3gSz3E.js";
|
|
6
|
+
import { a as addCommasForCompositeRanges } from "./composites-BeLkG_4o.js";
|
|
7
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-C9RK1SwE.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-Cn7pGhnU.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BF3gSz3E.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-Cn7pGhnU.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-BF3gSz3E.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-Bm-vluQk.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-Cn7pGhnU.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-BF3gSz3E.js";
|
|
4
|
+
import { F as FontAwesomeIcon } from "./index.es-Dy45MXTl.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-BeLkG_4o.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-Cn7pGhnU.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-BF3gSz3E.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-Cn7pGhnU.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-BF3gSz3E.js";
|
|
4
|
+
import { r as renderMarkupBody } from "./markupRenderer-Bz0MY8wb.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-Cn7pGhnU.js";
|
|
2
2
|
import React__default, { useState, useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BF3gSz3E.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-Cn7pGhnU.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BF3gSz3E.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-Cn7pGhnU.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BF3gSz3E.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-Cn7pGhnU.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BF3gSz3E.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-Cn7pGhnU.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BF3gSz3E.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-Cn7pGhnU.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-l5Vog5Pd.js";
|
|
4
|
+
import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-B02uxnU9.js";
|
|
5
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BF3gSz3E.js";
|
|
6
6
|
import { g as getPositionFromAnchorByCoordinate } from "./graph-W6vrFcBu.js";
|
|
7
|
-
import { ChoiceInputInlineContext } from "./choiceInput-
|
|
7
|
+
import { ChoiceInputInlineContext } from "./choiceInput-BMJ-t8M9.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-BKkAGIXp.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-Cn7pGhnU.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-l5Vog5Pd.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BF3gSz3E.js";
|
|
5
5
|
import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
|
|
6
|
-
import { BoardContext } from "./graph-
|
|
6
|
+
import { BoardContext } from "./graph-B02uxnU9.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-C9RK1SwE.js";
|
|
9
|
+
import { D as DescriptionPopover } from "./Description-BhJOU_Eq.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-Cn7pGhnU.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-l5Vog5Pd.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-Cn7pGhnU.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-BW6APMud.js"), "./renderers/JSXGraphRenderer.tsx": () => import("./JSXGraphRenderer-l5Vog5Pd.js").then((n) => n.m), "./renderers/_error.tsx": () => import("./_error-BouXdom3.js"), "./renderers/alert.tsx": () => import("./alert-C4UTvymC.js"), "./renderers/angle.tsx": () => import("./angle-zl-2t7GY.js"), "./renderers/answer.tsx": () => import("./answer-DnchP6sA.js"), "./renderers/asList.tsx": () => import("./asList-CGZJFVb_.js"), "./renderers/blockQuote.tsx": () => import("./blockQuote-BMDvcLQE.js"), "./renderers/boolean.tsx": () => import("./boolean-dsa_JjzD.js"), "./renderers/booleanInput.tsx": () => import("./booleanInput-Y8rNlLL1.js"), "./renderers/br.tsx": () => import("./br-Cknk9JEL.js"), "./renderers/button.tsx": () => import("./button-BuWsn6ML.js"), "./renderers/c.tsx": () => import("./c-BaNGe-AV.js"), "./renderers/cell.tsx": () => import("./cell-COPRqzD6.js"), "./renderers/choiceInput.tsx": () => import("./choiceInput-BMJ-t8M9.js"), "./renderers/circle.tsx": () => import("./circle-CG0HZ1ro.js"), "./renderers/cobwebPolyline.tsx": () => import("./cobwebPolyline-C41eRXH_.js"), "./renderers/codeEditor.tsx": () => import("./codeEditor-lrdfa0zB.js"), "./renderers/containerBlock.tsx": () => import("./containerBlock-LR6QhizP.js"), "./renderers/containerInline.tsx": () => import("./containerInline-D0ye8ikG.js"), "./renderers/curve.tsx": () => import("./curve-CAHPeuOB.js"), "./renderers/ellipsis.tsx": () => import("./ellipsis-CEfjRNi1.js"), "./renderers/em.tsx": () => import("./em-B022B5-C.js"), "./renderers/embed.tsx": () => import("./embed-685rq_ti.js"), "./renderers/feedback.tsx": () => import("./feedback-O8uQoGIC.js"), "./renderers/figure.tsx": () => import("./figure-CDxHkzZF.js"), "./renderers/footnote.tsx": () => import("./footnote-DY6QT0P4.js"), "./renderers/fractionInput.tsx": () => import("./fractionInput-Bao5CFMU.js"), "./renderers/graph.tsx": () => import("./graph-B02uxnU9.js"), "./renderers/hint.tsx": () => import("./hint-_TWSoYlg.js"), "./renderers/hr.tsx": () => import("./hr-BKBqiv3f.js"), "./renderers/image.tsx": () => import("./image-CK9jOUSw.js"), "./renderers/label.tsx": () => import("./label-vBYL_Qji.js"), "./renderers/legend.tsx": () => import("./legend-DnB0gv8v.js"), "./renderers/line.tsx": () => import("./line-CnerYP6R.js"), "./renderers/lineSegment.tsx": () => import("./lineSegment-rP3yPwxR.js"), "./renderers/list.tsx": () => import("./list-C3h4GSAH.js"), "./renderers/lq.tsx": () => import("./lq-jG8yKFzG.js"), "./renderers/lsq.tsx": () => import("./lsq-Dt43tyij.js"), "./renderers/math.tsx": () => import("./math-Bp0kf1Qk.js"), "./renderers/mathInput.tsx": () => import("./mathInput-BHvD9nAF.js"), "./renderers/matrixInput.tsx": () => import("./matrixInput-C2PiAYyA.js"), "./renderers/mdash.tsx": () => import("./mdash-V71IU6Sy.js"), "./renderers/nbsp.tsx": () => import("./nbsp-D3R2cmva.js"), "./renderers/ndash.tsx": () => import("./ndash-DAQnHBgi.js"), "./renderers/number.tsx": () => import("./number-1WjWju7E.js"), "./renderers/orbitalDiagram.tsx": () => import("./orbitalDiagram-CC3oIqaM.js"), "./renderers/orbitalDiagramInput.tsx": () => import("./orbitalDiagramInput-XElhelMs.js"), "./renderers/p.tsx": () => import("./p-CWlrn0cD.js"), "./renderers/paginatorControls.tsx": () => import("./paginatorControls-T5oHrpXf.js"), "./renderers/pegboard.tsx": () => import("./pegboard-DRCbR2Nq.js"), "./renderers/point.tsx": () => import("./point-Dk2TRbwV.js"), "./renderers/polygon.tsx": () => import("./polygon-CVIfP8Sx.js"), "./renderers/polyline.tsx": () => import("./polyline-uRFSENSB.js"), "./renderers/pre.tsx": () => import("./pre-BTdO1ZXb.js"), "./renderers/prefigure.tsx": () => import("./prefigure-QWZ_aJK2.js"), "./renderers/pretzel.tsx": () => import("./pretzel-CaiLyvVc.js"), "./renderers/q.tsx": () => import("./q-BGO3Viaw.js"), "./renderers/ray.tsx": () => import("./ray-CIbP6WMs.js"), "./renderers/ref.tsx": () => import("./ref-BGRe_YEb.js"), "./renderers/regionBetweenCurveXAxis.tsx": () => import("./regionBetweenCurveXAxis-1Eldm5Eu.js"), "./renderers/regionBetweenCurves.tsx": () => import("./regionBetweenCurves-Cg_rn5hY.js"), "./renderers/row.tsx": () => import("./row-DLZPLx78.js"), "./renderers/rq.tsx": () => import("./rq-DK94Q70o.js"), "./renderers/rsq.tsx": () => import("./rsq-BxLGIZeP.js"), "./renderers/section.tsx": () => import("./section-D7e7nIFs.js"), "./renderers/sideBySide.tsx": () => import("./sideBySide-BLJmhfkL.js"), "./renderers/slider.tsx": () => import("./slider-BXIdntvN.js"), "./renderers/solution.tsx": () => import("./solution-Bub7pyjf.js"), "./renderers/spreadsheet.tsx": () => import("./spreadsheet-mGBBoJYj.js"), "./renderers/sq.tsx": () => import("./sq-DfstnkOU.js"), "./renderers/subsetOfRealsInput.tsx": () => import("./subsetOfRealsInput-Du3D4jl8.js"), "./renderers/summaryStatistics.tsx": () => import("./summaryStatistics-CAoBEmnE.js"), "./renderers/table.tsx": () => import("./table-ClU15wdV.js"), "./renderers/tabular.tsx": () => import("./tabular-Cq5Th36R.js"), "./renderers/tag.tsx": () => import("./tag-s_2kMzWa.js"), "./renderers/text.tsx": () => import("./text-B9MDJIG3.js"), "./renderers/textInput.tsx": () => import("./textInput-C7cvLKVr.js"), "./renderers/vector.tsx": () => import("./vector-BqfMELwQ.js"), "./renderers/video.tsx": () => import("./video-BkpQrAO3.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-Cn7pGhnU.js";
|
|
2
|
+
import { F as FontAwesomeIcon } from "./index.es-Dy45MXTl.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-Cn7pGhnU.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-l5Vog5Pd.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BF3gSz3E.js";
|
|
5
|
+
import { BoardContext, VERTEX_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-B02uxnU9.js";
|
|
6
|
+
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-C7Gxm0vy.js";
|
|
7
|
+
import { ChoiceInputInlineContext } from "./choiceInput-BMJ-t8M9.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-Cn7pGhnU.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-BF3gSz3E.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-BhJOU_Eq.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-BG6DLf_b.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;
|