@doenet/doenetml 0.7.21-dev.396 → 0.7.21-dev.398
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-DpsSIiMM.js → AnswerResponseButton-Bu926yhx.js} +2 -2
- package/{Description-DNu2Ukh5.js → Description-K2dsuF2n.js} +1 -1
- package/{GraphFrame-DwGkmJOe.js → GraphFrame-CbkRSYY5.js} +2 -2
- package/{JSXGraphRenderer-5qzR1rG8.js → JSXGraphRenderer-CUzVmCr1.js} +1 -1
- package/{NonInlineMediaWrapper-C3jryKN1.js → NonInlineMediaWrapper-CBOxNEY-.js} +1 -1
- package/{_error-BwzBQm4M.js → _error-B8crXcjh.js} +2 -2
- package/{alert-BYGVQLyi.js → alert-D4aZwLow.js} +3 -3
- package/{angle-DdcOEcSD.js → angle-BEfoqzba.js} +6 -6
- package/{answer-CA-yuyyJ.js → answer-BJqV5axq.js} +5 -5
- package/{asList-BQfmK4fL.js → asList-D2LiWC6h.js} +2 -2
- package/{blockQuote-B1rhInQs.js → blockQuote-PfRjeJqx.js} +3 -3
- package/{boolean-PjedViWf.js → boolean-DQvy03d7.js} +2 -2
- package/{booleanInput-hXvTpw14.js → booleanInput-6DQ8_hji.js} +6 -6
- package/{br-DdAJwGDI.js → br-DDwYdFm8.js} +2 -2
- package/{button-Cd0V9XPK.js → button-1wJWwWOf.js} +4 -4
- package/{c-BpKxJ-Nb.js → c-BzYHhNcn.js} +3 -3
- package/{cell-CZXW0vfm.js → cell-BT3KmK5o.js} +3 -3
- package/{choiceInput-B2c8S1HC.js → choiceInput-w0697zFY.js} +4 -4
- package/{circle-BfS1WR3w.js → circle-Bno-DkC_.js} +6 -6
- package/{cobwebPolyline-Dz0P5ZML.js → cobwebPolyline-D12NaphD.js} +4 -4
- package/{codeEditor-CDTdBLUo.js → codeEditor-BJzeCVGE.js} +2 -2
- package/{composites-BVTBc1NG.js → composites-CzyvlYIF.js} +1 -1
- package/{containerBlock-D7fi45s1.js → containerBlock-DzoVgTWm.js} +4 -4
- package/{containerInline-3jc5m_bY.js → containerInline-DDnNwkCH.js} +4 -4
- package/{curve-CbtLjg2a.js → curve-CKFQ8PXz.js} +4 -4
- package/{doenetml--12UdDUJ.js → doenetml-BGEEuMFo.js} +5 -5
- package/doenetml-external-worker.js +2 -2
- package/doenetml-inline-worker.js +2 -2
- package/{ellipsis-Cwb7jXsY.js → ellipsis-CePw7FyB.js} +2 -2
- package/{em-UoIDb0s3.js → em-DW6_BXUK.js} +3 -3
- package/{embed-CEK_AtMj.js → embed-CArBVLcQ.js} +2 -2
- package/{feedback-DJkV7ZWp.js → feedback-X1TjfGts.js} +4 -4
- package/{figure-BJPL6MsH.js → figure-DltCWNY2.js} +3 -3
- package/{fillPatterns-BlZYk1NA.js → fillPatterns-CTvJ1WhF.js} +1 -1
- package/{footnote-CsZj75Pg.js → footnote-CNyJWmpZ.js} +3 -3
- package/{fractionInput-CGokru3X.js → fractionInput-CqWmqdpI.js} +4 -4
- package/{graph-D9Bg6f4_.js → graph-npgGcKU1.js} +6 -6
- package/{hint-8viM7Of1.js → hint-BefR5DN3.js} +4 -4
- package/{hr-bhoGppeV.js → hr-B9ecVB-d.js} +2 -2
- package/{image-DKkAbIML.js → image-C9Hh3UHP.js} +7 -7
- package/{index-C06IPiEs.js → index-BJMKMou5.js} +1 -1
- package/{index.es-B6oAk1tv.js → index.es-Cwe2nLPR.js} +1 -1
- package/index.js +1 -1
- package/{label-CswVDPr0.js → label-BTpsPFjn.js} +6 -6
- package/{labelWithLatex-Dam-10b9.js → labelWithLatex-BoVE9gxB.js} +1 -1
- package/{legend-BjVA8ReD.js → legend-CBAYiRS3.js} +4 -4
- package/{line-Cbvdn6S-.js → line-BERm8Hk3.js} +6 -6
- package/{lineFamilyDragHandlers-CgdEmPAi.js → lineFamilyDragHandlers-8IQJxVnD.js} +1 -1
- package/{lineSegment-P86urcUX.js → lineSegment-C-oEO0o9.js} +5 -5
- package/{list-BKET3TDu.js → list-D3dkQlt1.js} +4 -4
- package/{lq-BLkqVFkh.js → lq-DxBBrkJK.js} +2 -2
- package/{lsq-3JGjsmxz.js → lsq-BUPrDfBv.js} +2 -2
- package/{markupRenderer-DWD1NPiB.js → markupRenderer-BQlC6AGZ.js} +1 -1
- package/{math-ThOZ_qXb.js → math-D4YTSzQG.js} +6 -6
- package/{mathInput-BLAf0iEF.js → mathInput-BKFmk7vp.js} +7 -7
- package/{matrixInput-Cckslyqj.js → matrixInput-D5wTSWtl.js} +4 -4
- package/{mdash-BFz1DvvD.js → mdash-CIYBCZqZ.js} +2 -2
- package/{nbsp-Dx8CxTZO.js → nbsp-BwTaiURP.js} +2 -2
- package/{ndash-CHzFjR6v.js → ndash-D4wpL_YQ.js} +2 -2
- package/{number-DaixNf4V.js → number-b3APh7K4.js} +6 -6
- package/{orbitalDiagram-BjQDj9Tp.js → orbitalDiagram-DZuyomEf.js} +2 -2
- package/{orbitalDiagramInput-BxNBprv3.js → orbitalDiagramInput-Bm8-u4Du.js} +2 -2
- package/{p-CDKa9l0u.js → p-DV4v6LAA.js} +4 -4
- package/package.json +1 -1
- package/{paginatorControls-C5AAKmsO.js → paginatorControls-BkeVSEO-.js} +2 -2
- package/{pegboard-D5Z4k7vb.js → pegboard-Cr4emg1s.js} +4 -4
- package/{point-JSGDlUnW.js → point-Di5SWzoV.js} +6 -6
- package/{polygon-CwzmYdZW.js → polygon-BVJ0UFpL.js} +6 -6
- package/{polyline-DW5zbcot.js → polyline-CM1QMDyB.js} +5 -5
- package/{pre-DjnFiGHm.js → pre-D-GUjHYg.js} +3 -3
- package/{prefigure-nTCqHj1B.js → prefigure-QCT4XJ7k.js} +1 -1
- package/{pretzel-DCD1fBkl.js → pretzel-CqifcH2B.js} +4 -4
- package/{q-s5Tyu-95.js → q-DODKcBIP.js} +3 -3
- package/{ray-J4Fw29B9.js → ray-CmKeMJty.js} +5 -5
- package/{ref-CdKSmxj_.js → ref-CNlVuh_L.js} +2 -2
- package/{regionBetweenCurveXAxis-uMMBnqY6.js → regionBetweenCurveXAxis-3k8LF1SM.js} +5 -5
- package/{regionBetweenCurves-BoGpi3FL.js → regionBetweenCurves-DoOw1r0K.js} +5 -5
- package/{row-DvjfxBBn.js → row-DN_wt77l.js} +2 -2
- package/{rq-Ch2FEpW1.js → rq-DvdqTuf_.js} +2 -2
- package/{rsq-CBzmQyJh.js → rsq-CNggnmyh.js} +2 -2
- package/{section-BYyFqFJY.js → section-CWK-ger1.js} +5 -5
- package/{sha256-AuWkkb03-CuRsClW4.js → sha256-AuWkkb03-RtR70coq.js} +1 -1
- package/{sideBySide-DTzt5Zhk.js → sideBySide-BAQuF7pk.js} +2 -2
- package/{slider-D2T0U1hH.js → slider-ClD1ZWD1.js} +3 -3
- package/{solution-BFfqO9bU.js → solution-BwthrBuO.js} +4 -4
- package/{spreadsheet-2C_8KRg9.js → spreadsheet-CnDQ8lXn.js} +2 -2
- package/{sq-oHT0eXuD.js → sq-CaU1pdfM.js} +3 -3
- package/{subsetOfRealsInput-Ds-xOo7j.js → subsetOfRealsInput-BXEh4ae8.js} +2 -2
- package/{summaryStatistics-CDglRXDV.js → summaryStatistics-MSGgkkEE.js} +2 -2
- package/{table-BsiiaDm7.js → table-BReD9WV6.js} +2 -2
- package/{tabular-BB8UGQbM.js → tabular-3E64GHmp.js} +2 -2
- package/{tag-BZuHBKAb.js → tag-w_RtitIQ.js} +2 -2
- package/{text-9EE_QtEz.js → text-CVGY_GWs.js} +6 -6
- package/{textInput-CLYeVG5x.js → textInput-D_J59zho.js} +6 -6
- package/{tooltip-provider-DyQ4mSGJ.js → tooltip-provider-CInaPTXn.js} +1 -1
- package/{useAnchoredGraphDragHandler-ORJycvK5.js → useAnchoredGraphDragHandler-CyYaRVRS.js} +1 -1
- package/useDoenetRenderer-BF6SLLFI.js +114 -0
- package/{useSubmitActionWithDelay-BKPQ30Xn.js → useSubmitActionWithDelay-VpJXSBnL.js} +2 -2
- package/{vector-BWmJ1x5-.js → vector-CbC8OhGJ.js} +6 -6
- package/{video-bjsE8XSw.js → video-PLEKl8rH.js} +4 -4
- package/useDoenetRenderer-CBaoKTsD.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-BGEEuMFo.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-BF6SLLFI.js";
|
|
4
|
+
import { A as AnswerResponseButton } from "./AnswerResponseButton-Bu926yhx.js";
|
|
5
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-VpJXSBnL.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-BGEEuMFo.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-BF6SLLFI.js";
|
|
4
|
+
import { r as renderMarkupBody } from "./markupRenderer-BQlC6AGZ.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-BGEEuMFo.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-CUzVmCr1.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BF6SLLFI.js";
|
|
5
|
+
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-npgGcKU1.js";
|
|
6
|
+
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-8IQJxVnD.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-BGEEuMFo.js";
|
|
2
2
|
import React__default, { useContext, useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BF6SLLFI.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-BGEEuMFo.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-CUzVmCr1.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BF6SLLFI.js";
|
|
5
|
+
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-npgGcKU1.js";
|
|
6
|
+
import { g as getPatternFillAttributes } from "./fillPatterns-CTvJ1WhF.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-BGEEuMFo.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-BF6SLLFI.js";
|
|
4
|
+
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-npgGcKU1.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-CTvJ1WhF.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-CUzVmCr1.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-BGEEuMFo.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BF6SLLFI.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-BGEEuMFo.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BF6SLLFI.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-BGEEuMFo.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BF6SLLFI.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-BGEEuMFo.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-Cwe2nLPR.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-BF6SLLFI.js";
|
|
6
|
+
import { a as addCommasForCompositeRanges } from "./composites-CzyvlYIF.js";
|
|
7
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-VpJXSBnL.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-BGEEuMFo.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BF6SLLFI.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-BGEEuMFo.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-BF6SLLFI.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-BoVE9gxB.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-BGEEuMFo.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-BF6SLLFI.js";
|
|
4
|
+
import { F as FontAwesomeIcon } from "./index.es-Cwe2nLPR.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-CzyvlYIF.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-BGEEuMFo.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-BF6SLLFI.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-BGEEuMFo.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-BF6SLLFI.js";
|
|
4
|
+
import { r as renderMarkupBody } from "./markupRenderer-BQlC6AGZ.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-BGEEuMFo.js";
|
|
2
2
|
import React__default, { useState, useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BF6SLLFI.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-BGEEuMFo.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BF6SLLFI.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-BGEEuMFo.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BF6SLLFI.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-BGEEuMFo.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BF6SLLFI.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-BGEEuMFo.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BF6SLLFI.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-BGEEuMFo.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-CUzVmCr1.js";
|
|
4
|
+
import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-npgGcKU1.js";
|
|
5
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BF6SLLFI.js";
|
|
6
6
|
import { g as getPositionFromAnchorByCoordinate } from "./graph-W6vrFcBu.js";
|
|
7
|
-
import { ChoiceInputInlineContext } from "./choiceInput-
|
|
7
|
+
import { ChoiceInputInlineContext } from "./choiceInput-w0697zFY.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-CyYaRVRS.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-BGEEuMFo.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-CUzVmCr1.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BF6SLLFI.js";
|
|
5
5
|
import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
|
|
6
|
-
import { BoardContext } from "./graph-
|
|
6
|
+
import { BoardContext } from "./graph-npgGcKU1.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-VpJXSBnL.js";
|
|
9
|
+
import { D as DescriptionPopover } from "./Description-K2dsuF2n.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-BGEEuMFo.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-CUzVmCr1.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-BGEEuMFo.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-CbkRSYY5.js"), "./renderers/JSXGraphRenderer.tsx": () => import("./JSXGraphRenderer-CUzVmCr1.js").then((n) => n.m), "./renderers/_error.tsx": () => import("./_error-B8crXcjh.js"), "./renderers/alert.tsx": () => import("./alert-D4aZwLow.js"), "./renderers/angle.tsx": () => import("./angle-BEfoqzba.js"), "./renderers/answer.tsx": () => import("./answer-BJqV5axq.js"), "./renderers/asList.tsx": () => import("./asList-D2LiWC6h.js"), "./renderers/blockQuote.tsx": () => import("./blockQuote-PfRjeJqx.js"), "./renderers/boolean.tsx": () => import("./boolean-DQvy03d7.js"), "./renderers/booleanInput.tsx": () => import("./booleanInput-6DQ8_hji.js"), "./renderers/br.tsx": () => import("./br-DDwYdFm8.js"), "./renderers/button.tsx": () => import("./button-1wJWwWOf.js"), "./renderers/c.tsx": () => import("./c-BzYHhNcn.js"), "./renderers/cell.tsx": () => import("./cell-BT3KmK5o.js"), "./renderers/choiceInput.tsx": () => import("./choiceInput-w0697zFY.js"), "./renderers/circle.tsx": () => import("./circle-Bno-DkC_.js"), "./renderers/cobwebPolyline.tsx": () => import("./cobwebPolyline-D12NaphD.js"), "./renderers/codeEditor.tsx": () => import("./codeEditor-BJzeCVGE.js"), "./renderers/containerBlock.tsx": () => import("./containerBlock-DzoVgTWm.js"), "./renderers/containerInline.tsx": () => import("./containerInline-DDnNwkCH.js"), "./renderers/curve.tsx": () => import("./curve-CKFQ8PXz.js"), "./renderers/ellipsis.tsx": () => import("./ellipsis-CePw7FyB.js"), "./renderers/em.tsx": () => import("./em-DW6_BXUK.js"), "./renderers/embed.tsx": () => import("./embed-CArBVLcQ.js"), "./renderers/feedback.tsx": () => import("./feedback-X1TjfGts.js"), "./renderers/figure.tsx": () => import("./figure-DltCWNY2.js"), "./renderers/footnote.tsx": () => import("./footnote-CNyJWmpZ.js"), "./renderers/fractionInput.tsx": () => import("./fractionInput-CqWmqdpI.js"), "./renderers/graph.tsx": () => import("./graph-npgGcKU1.js"), "./renderers/hint.tsx": () => import("./hint-BefR5DN3.js"), "./renderers/hr.tsx": () => import("./hr-B9ecVB-d.js"), "./renderers/image.tsx": () => import("./image-C9Hh3UHP.js"), "./renderers/label.tsx": () => import("./label-BTpsPFjn.js"), "./renderers/legend.tsx": () => import("./legend-CBAYiRS3.js"), "./renderers/line.tsx": () => import("./line-BERm8Hk3.js"), "./renderers/lineSegment.tsx": () => import("./lineSegment-C-oEO0o9.js"), "./renderers/list.tsx": () => import("./list-D3dkQlt1.js"), "./renderers/lq.tsx": () => import("./lq-DxBBrkJK.js"), "./renderers/lsq.tsx": () => import("./lsq-BUPrDfBv.js"), "./renderers/math.tsx": () => import("./math-D4YTSzQG.js"), "./renderers/mathInput.tsx": () => import("./mathInput-BKFmk7vp.js"), "./renderers/matrixInput.tsx": () => import("./matrixInput-D5wTSWtl.js"), "./renderers/mdash.tsx": () => import("./mdash-CIYBCZqZ.js"), "./renderers/nbsp.tsx": () => import("./nbsp-BwTaiURP.js"), "./renderers/ndash.tsx": () => import("./ndash-D4wpL_YQ.js"), "./renderers/number.tsx": () => import("./number-b3APh7K4.js"), "./renderers/orbitalDiagram.tsx": () => import("./orbitalDiagram-DZuyomEf.js"), "./renderers/orbitalDiagramInput.tsx": () => import("./orbitalDiagramInput-Bm8-u4Du.js"), "./renderers/p.tsx": () => import("./p-DV4v6LAA.js"), "./renderers/paginatorControls.tsx": () => import("./paginatorControls-BkeVSEO-.js"), "./renderers/pegboard.tsx": () => import("./pegboard-Cr4emg1s.js"), "./renderers/point.tsx": () => import("./point-Di5SWzoV.js"), "./renderers/polygon.tsx": () => import("./polygon-BVJ0UFpL.js"), "./renderers/polyline.tsx": () => import("./polyline-CM1QMDyB.js"), "./renderers/pre.tsx": () => import("./pre-D-GUjHYg.js"), "./renderers/prefigure.tsx": () => import("./prefigure-QCT4XJ7k.js"), "./renderers/pretzel.tsx": () => import("./pretzel-CqifcH2B.js"), "./renderers/q.tsx": () => import("./q-DODKcBIP.js"), "./renderers/ray.tsx": () => import("./ray-CmKeMJty.js"), "./renderers/ref.tsx": () => import("./ref-CNlVuh_L.js"), "./renderers/regionBetweenCurveXAxis.tsx": () => import("./regionBetweenCurveXAxis-3k8LF1SM.js"), "./renderers/regionBetweenCurves.tsx": () => import("./regionBetweenCurves-DoOw1r0K.js"), "./renderers/row.tsx": () => import("./row-DN_wt77l.js"), "./renderers/rq.tsx": () => import("./rq-DvdqTuf_.js"), "./renderers/rsq.tsx": () => import("./rsq-CNggnmyh.js"), "./renderers/section.tsx": () => import("./section-CWK-ger1.js"), "./renderers/sideBySide.tsx": () => import("./sideBySide-BAQuF7pk.js"), "./renderers/slider.tsx": () => import("./slider-ClD1ZWD1.js"), "./renderers/solution.tsx": () => import("./solution-BwthrBuO.js"), "./renderers/spreadsheet.tsx": () => import("./spreadsheet-CnDQ8lXn.js"), "./renderers/sq.tsx": () => import("./sq-CaU1pdfM.js"), "./renderers/subsetOfRealsInput.tsx": () => import("./subsetOfRealsInput-BXEh4ae8.js"), "./renderers/summaryStatistics.tsx": () => import("./summaryStatistics-MSGgkkEE.js"), "./renderers/table.tsx": () => import("./table-BReD9WV6.js"), "./renderers/tabular.tsx": () => import("./tabular-3E64GHmp.js"), "./renderers/tag.tsx": () => import("./tag-w_RtitIQ.js"), "./renderers/text.tsx": () => import("./text-CVGY_GWs.js"), "./renderers/textInput.tsx": () => import("./textInput-D_J59zho.js"), "./renderers/vector.tsx": () => import("./vector-CbC8OhGJ.js"), "./renderers/video.tsx": () => import("./video-PLEKl8rH.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-BGEEuMFo.js";
|
|
2
|
+
import { F as FontAwesomeIcon } from "./index.es-Cwe2nLPR.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-BGEEuMFo.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-CUzVmCr1.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BF6SLLFI.js";
|
|
5
|
+
import { BoardContext, VERTEX_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-npgGcKU1.js";
|
|
6
|
+
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-8IQJxVnD.js";
|
|
7
|
+
import { ChoiceInputInlineContext } from "./choiceInput-w0697zFY.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-BGEEuMFo.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-BF6SLLFI.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-K2dsuF2n.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-CBOxNEY-.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;
|