@doenet/doenetml 0.7.23-dev.460 → 0.7.23-dev.461
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-Dyj_sDqd.js → AnswerResponseButton-DvBGOIVB.js} +2 -2
- package/{Description-CUSNjYxo.js → Description-GW0NjaEq.js} +1 -1
- package/{GraphFrame-DamUD8UF.js → GraphFrame-BJjYygKe.js} +2 -2
- package/{JSXGraphRenderer-BbIZ6d0i.js → JSXGraphRenderer-ZFr_6QOR.js} +1 -1
- package/{NonInlineMediaWrapper-BLMJTpYS.js → NonInlineMediaWrapper-81kGSS0w.js} +1 -1
- package/{_error-D8u5xkm1.js → _error-BcfcQ34B.js} +2 -2
- package/{alert-C0nCPOzH.js → alert-CiNe6bbQ.js} +3 -3
- package/{angle-BdueY_JA.js → angle-BhSdU2vI.js} +6 -6
- package/{answer-CWW4nTD7.js → answer-D94Otjzi.js} +5 -5
- package/{asList-DeVIi2_R.js → asList-D-_zPXUS.js} +2 -2
- package/{blockQuote-BDL4mPlf.js → blockQuote-CrN7VPbt.js} +3 -3
- package/{boolean-Bgtja7-6.js → boolean-sZJ04Xn_.js} +2 -2
- package/{booleanInput-CG4yENsz.js → booleanInput-xCxyeqfR.js} +6 -6
- package/{br-Bo8mqEFn.js → br-Ocuz7kax.js} +2 -2
- package/{button-ByuLoAeP.js → button-Df2wm2R6.js} +4 -4
- package/{c-pQ5Ejo2q.js → c-DnBu_ES5.js} +3 -3
- package/{cell-CSffXVd2.js → cell-B521plg0.js} +3 -3
- package/{choiceInput-DeUnPE5n.js → choiceInput-D9pM8vOO.js} +4 -4
- package/{circle-BKV9af5s.js → circle-De9wDUIo.js} +6 -6
- package/{cobwebPolyline-FN3x6Zyj.js → cobwebPolyline-BJG8lepA.js} +4 -4
- package/{codeEditor-CA1Y4h-3.js → codeEditor-D-fROLjN.js} +2 -2
- package/{composites-BaqsA2tu.js → composites-CxkIiGv9.js} +1 -1
- package/{containerBlock-ClU6ndZW.js → containerBlock-Bb3Eo2ea.js} +4 -4
- package/{containerInline-B1W0-nra.js → containerInline-Bhm-m4xN.js} +4 -4
- package/{curve-BfUEOJg8.js → curve-z0Dd10MP.js} +4 -4
- package/{doenetml-CFoUfAdt.js → doenetml-CPLTkvkK.js} +5 -5
- package/doenetml-external-worker.js +2 -2
- package/doenetml-inline-worker.js +2 -2
- package/{ellipsis-DCLFyOGI.js → ellipsis-bdXiPKPX.js} +2 -2
- package/{em-BMiVIqAR.js → em-CMaH33x0.js} +3 -3
- package/{embed-C9VajJkB.js → embed-DVE0G4Re.js} +2 -2
- package/{feedback-CyuXW1Wm.js → feedback-CFZYO7G-.js} +4 -4
- package/{figure-BMnC1ZPg.js → figure-ePEuGG79.js} +3 -3
- package/{fillPatterns-Bo8nw4AS.js → fillPatterns-BuijYEjg.js} +1 -1
- package/{footnote-CpQdgwbK.js → footnote-mDTfrtRp.js} +3 -3
- package/{fractionInput-Dz3Vm73D.js → fractionInput-CeKnTxKV.js} +4 -4
- package/{graph-wtr6R63g.js → graph-7iz12kxw.js} +6 -6
- package/{hint-ITLEX9-L.js → hint-TXNOHwK-.js} +4 -4
- package/{hr-2lzs69Qp.js → hr-DIKkSr_M.js} +2 -2
- package/{image-CNOa50AM.js → image-D3QblFxP.js} +7 -7
- package/{index-DKUKE09T.js → index-DnhaRi3m.js} +1 -1
- package/{index.es-D8wDks-c.js → index.es-D3XNtNLG.js} +1 -1
- package/index.js +1 -1
- package/{label-CZfdqn0n.js → label-GJDD_CM4.js} +6 -6
- package/{labelWithLatex-jibsew5x.js → labelWithLatex-CAcmHMGP.js} +1 -1
- package/{legend-C3tRpN95.js → legend-DHMbGFRw.js} +4 -4
- package/{line-BaPu2eAD.js → line-B5a8CGGt.js} +6 -6
- package/{lineFamilyDragHandlers-CD-o9rrt.js → lineFamilyDragHandlers-aZpiFuKe.js} +1 -1
- package/{lineSegment-BgdPHyXr.js → lineSegment-DFs81ERd.js} +5 -5
- package/{list-B6sjOIgH.js → list-x2Fi_FrD.js} +4 -4
- package/{lq-BgxOcHml.js → lq-BNhMocM0.js} +2 -2
- package/{lsq-C4q2k7FL.js → lsq-DtKs_9vl.js} +2 -2
- package/{markupRenderer-D23ox2ch.js → markupRenderer-D6HwSAwS.js} +1 -1
- package/{math-Cdb0nMG0.js → math-B_mjPZfW.js} +6 -6
- package/{mathInput-DExSz0WA.js → mathInput-CnfDOJnA.js} +7 -7
- package/{matrixInput-BOj_tkQe.js → matrixInput-D5W-3T2t.js} +4 -4
- package/{mdash-Jv2PlCoS.js → mdash-HaJvFNEF.js} +2 -2
- package/{nbsp-CVUj0oDd.js → nbsp-Bvpw8NKm.js} +2 -2
- package/{ndash-tanvEwyG.js → ndash-CFMRiocA.js} +2 -2
- package/{number-CM1CiFQZ.js → number-DpMEW5OY.js} +6 -6
- package/{orbitalDiagram-D4Og3fM7.js → orbitalDiagram-DocD3MQh.js} +2 -2
- package/{orbitalDiagramInput-9-SPrKOV.js → orbitalDiagramInput-f7UUGRm0.js} +2 -2
- package/{p-woVhek73.js → p-CcQQnB8y.js} +4 -4
- package/package.json +1 -1
- package/{paginatorControls-dJbHzLVc.js → paginatorControls-MwPm33S9.js} +2 -2
- package/{pegboard-naYgt2kW.js → pegboard-BLy4lcXb.js} +4 -4
- package/{point-DRP2H6uM.js → point-_xoxh39z.js} +6 -6
- package/{polygon-CxTmjgRK.js → polygon-Yr_tjuZ6.js} +6 -6
- package/{polyline-00Vn5x8a.js → polyline-BaII4RBb.js} +5 -5
- package/{pre-BZBcU7pL.js → pre-D_VTik8A.js} +3 -3
- package/{prefigure-DGTlt3Wx.js → prefigure-tt93psWB.js} +1 -1
- package/{pretzel-D1bBzL9U.js → pretzel-WFFej2RR.js} +4 -4
- package/{q-VG8wdSXJ.js → q-CX2GYyYv.js} +3 -3
- package/{ray-CU2Tl1mu.js → ray-CpXKkbuF.js} +5 -5
- package/{ref-Yu4BJfrE.js → ref-D9iHLnht.js} +2 -2
- package/{regionBetweenCurveXAxis-DLy5tk7q.js → regionBetweenCurveXAxis-CIYS2o0_.js} +5 -5
- package/{regionBetweenCurves-Dl_oviIB.js → regionBetweenCurves-DEEXRJ2J.js} +5 -5
- package/{row-uDODzp3M.js → row-Wk5RTtkv.js} +2 -2
- package/{rq-DX97pqLH.js → rq-cmyRtNsG.js} +2 -2
- package/{rsq-CbY4P8Lt.js → rsq-CkQIliR3.js} +2 -2
- package/{section-DNy9mDKX.js → section-Diqkzvvh.js} +5 -5
- package/{sha256-BqwaiouD-BqInQwb4.js → sha256-BqwaiouD-1Anv7Rh7.js} +1 -1
- package/{sideBySide-ByXyMM8z.js → sideBySide-Bba8xkFo.js} +2 -2
- package/{slider-CupYvspH.js → slider-D14Bs7kh.js} +3 -3
- package/{solution-cjeB283C.js → solution-DAti62Gy.js} +4 -4
- package/{spreadsheet-eX3Vx6uZ.js → spreadsheet-D8jlZxrZ.js} +2 -2
- package/{sq-DWH0Uqle.js → sq-BINeJMFT.js} +3 -3
- package/{subsetOfRealsInput-Cd_Z0XPf.js → subsetOfRealsInput-CPK4rPJl.js} +2 -2
- package/{summaryStatistics-B8Cw0BGs.js → summaryStatistics-Dmm4Mo8j.js} +2 -2
- package/{table-D1dppn6p.js → table-BIGFfrmp.js} +2 -2
- package/{tabular-Rrm5--L2.js → tabular-Ufypc5BE.js} +2 -2
- package/{tag-BXCXEM84.js → tag-B0ivbAMJ.js} +2 -2
- package/{text-YTLF1emr.js → text-eu9Zfstb.js} +6 -6
- package/{textInput-DxP9wwOl.js → textInput-V8CVPR9-.js} +6 -6
- package/{tooltip-provider-CRdu6jXA.js → tooltip-provider-CeI9zQLb.js} +1 -1
- package/{useAnchoredGraphDragHandler-46tZimFY.js → useAnchoredGraphDragHandler-BNqAvAdT.js} +1 -1
- package/useDoenetRenderer-CrnzXN9V.js +114 -0
- package/{useSubmitActionWithDelay-BSbzRVOg.js → useSubmitActionWithDelay-BuCKSAEt.js} +2 -2
- package/{vector-BlwbNcka.js → vector-gYq6EaJS.js} +6 -6
- package/{video-DWNlH05D.js → video-NIUGwx3H.js} +4 -4
- package/useDoenetRenderer-DitzvBX2.js +0 -114
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { u as useT, F as useContentT, t as useChromeLangDir, G as useRecordVisibilityChanges, z as DocContext, p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useT, F as useContentT, t as useChromeLangDir, G as useRecordVisibilityChanges, z as DocContext, p as jsxRuntimeExports } from "./doenetml-CPLTkvkK.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-CrnzXN9V.js";
|
|
4
|
+
import { A as AnswerResponseButton } from "./AnswerResponseButton-DvBGOIVB.js";
|
|
5
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-BuCKSAEt.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-CPLTkvkK.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-CrnzXN9V.js";
|
|
4
|
+
import { r as renderMarkupBody } from "./markupRenderer-D6HwSAwS.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 { z as DocContext, p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { z as DocContext, p as jsxRuntimeExports } from "./doenetml-CPLTkvkK.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-ZFr_6QOR.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CrnzXN9V.js";
|
|
5
|
+
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-7iz12kxw.js";
|
|
6
|
+
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-aZpiFuKe.js";
|
|
7
7
|
import { a as buildLineLikeAttributes } from "./buildGraphicalAttributes-0RNcbd2S.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 { z as DocContext, p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { z as DocContext, p as jsxRuntimeExports } from "./doenetml-CPLTkvkK.js";
|
|
2
2
|
import React__default, { useContext, useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CrnzXN9V.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 { z as DocContext, K as createFunctionFromDefinition, p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { z as DocContext, K as createFunctionFromDefinition, p as jsxRuntimeExports } from "./doenetml-CPLTkvkK.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-ZFr_6QOR.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CrnzXN9V.js";
|
|
5
|
+
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-7iz12kxw.js";
|
|
6
|
+
import { g as getPatternFillAttributes } from "./fillPatterns-BuijYEjg.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 { z as DocContext, K as createFunctionFromDefinition, p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { z as DocContext, K as createFunctionFromDefinition, p as jsxRuntimeExports } from "./doenetml-CPLTkvkK.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-CrnzXN9V.js";
|
|
4
|
+
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-7iz12kxw.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-BuijYEjg.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-ZFr_6QOR.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-CPLTkvkK.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CrnzXN9V.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-CPLTkvkK.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CrnzXN9V.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-CPLTkvkK.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CrnzXN9V.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, F as useContentT, N as directionOf, O as useDocumentDirection, P as chromeLangDir, q as useUiLocale, z as DocContext, I as cesc, G as useRecordVisibilityChanges, p as jsxRuntimeExports, Q as DocumentDirectionProvider } from "./doenetml-
|
|
1
|
+
import { u as useT, F as useContentT, N as directionOf, O as useDocumentDirection, P as chromeLangDir, q as useUiLocale, z as DocContext, I as cesc, G as useRecordVisibilityChanges, p as jsxRuntimeExports, Q as DocumentDirectionProvider } from "./doenetml-CPLTkvkK.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-D3XNtNLG.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-CrnzXN9V.js";
|
|
6
|
+
import { a as addCommasForCompositeRanges } from "./composites-CxkIiGv9.js";
|
|
7
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-BuCKSAEt.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 { G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-CPLTkvkK.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CrnzXN9V.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, R as ActionButtonGroup, S as ActionButton, H as Context } from "./doenetml-
|
|
1
|
+
import { u as useT, p as jsxRuntimeExports, R as ActionButtonGroup, S as ActionButton, H as Context } from "./doenetml-CPLTkvkK.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-CrnzXN9V.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-CAcmHMGP.js";
|
|
6
6
|
import { l as ltrIslandProps } from "./direction-BwrU7jHk.js";
|
|
7
7
|
let round_to_decimals = (x, n) => {
|
|
8
8
|
try {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { u as useT, G as useRecordVisibilityChanges, t as useChromeLangDir, p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useT, G as useRecordVisibilityChanges, t as useChromeLangDir, p as jsxRuntimeExports } from "./doenetml-CPLTkvkK.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-CrnzXN9V.js";
|
|
4
|
+
import { F as FontAwesomeIcon } from "./index.es-D3XNtNLG.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-CxkIiGv9.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 { z as DocContext, G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { z as DocContext, G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-CPLTkvkK.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-CrnzXN9V.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-CPLTkvkK.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-CrnzXN9V.js";
|
|
4
|
+
import { r as renderMarkupBody } from "./markupRenderer-D6HwSAwS.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, G as useRecordVisibilityChanges, p as jsxRuntimeExports, W as ToggleButtonGroup, U as ToggleButton, R as ActionButtonGroup, S as ActionButton } from "./doenetml-
|
|
1
|
+
import { u as useT, G as useRecordVisibilityChanges, p as jsxRuntimeExports, W as ToggleButtonGroup, U as ToggleButton, R as ActionButtonGroup, S as ActionButton } from "./doenetml-CPLTkvkK.js";
|
|
2
2
|
import React__default, { useState, useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CrnzXN9V.js";
|
|
4
4
|
import { l as ltrIslandProps } from "./direction-BwrU7jHk.js";
|
|
5
5
|
const subsetOfRealsInput = React__default.memo(function subsetOfReals(props) {
|
|
6
6
|
let { id, SVs, actions, callAction } = useDoenetRenderer(props, false);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { u as useT, t as useChromeLangDir, G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useT, t as useChromeLangDir, G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-CPLTkvkK.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CrnzXN9V.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 { G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-CPLTkvkK.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CrnzXN9V.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 { G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-CPLTkvkK.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CrnzXN9V.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-CPLTkvkK.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CrnzXN9V.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 { z as DocContext, H as Context, p as jsxRuntimeExports, A as textRendererStyle } from "./doenetml-
|
|
1
|
+
import { z as DocContext, H as Context, p as jsxRuntimeExports, A as textRendererStyle } from "./doenetml-CPLTkvkK.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-ZFr_6QOR.js";
|
|
4
|
+
import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-7iz12kxw.js";
|
|
5
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CrnzXN9V.js";
|
|
6
6
|
import { g as getPositionFromAnchorByCoordinate } from "./graph-W6vrFcBu.js";
|
|
7
|
-
import { ChoiceInputInlineContext } from "./choiceInput-
|
|
7
|
+
import { ChoiceInputInlineContext } from "./choiceInput-D9pM8vOO.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-BNqAvAdT.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 { F as useContentT, H as Context, p as jsxRuntimeExports, T as MathJax } from "./doenetml-
|
|
1
|
+
import { F as useContentT, H as Context, p as jsxRuntimeExports, T as MathJax } from "./doenetml-CPLTkvkK.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-ZFr_6QOR.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CrnzXN9V.js";
|
|
5
5
|
import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
|
|
6
|
-
import { BoardContext } from "./graph-
|
|
6
|
+
import { BoardContext } from "./graph-7iz12kxw.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-BuCKSAEt.js";
|
|
9
|
+
import { D as DescriptionPopover } from "./Description-GW0NjaEq.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 { ae as createStoreContext, af as HovercardScopedContextProvider, ag as HovercardContextProvider, ah as createDialogComponent, Y as forwardRef, Z as createElement, $ as createHook, a1 as invariant, ai as useWrapElement, p as jsxRuntimeExports, a2 as useStoreState, aj as useHovercard, ak as isFalsyBooleanCallback, al as contains, am as sync, an as chain, ao as useEvent, ap as useHovercardAnchor, aq as createStore, ar as createHovercardStore, as as defaultValue, at as useStore, au as useStoreProps, av as useHovercardStoreProps } from "./doenetml-
|
|
1
|
+
import { ae as createStoreContext, af as HovercardScopedContextProvider, ag as HovercardContextProvider, ah as createDialogComponent, Y as forwardRef, Z as createElement, $ as createHook, a1 as invariant, ai as useWrapElement, p as jsxRuntimeExports, a2 as useStoreState, aj as useHovercard, ak as isFalsyBooleanCallback, al as contains, am as sync, an as chain, ao as useEvent, ap as useHovercardAnchor, aq as createStore, ar as createHovercardStore, as as defaultValue, at as useStore, au as useStoreProps, av as useHovercardStoreProps } from "./doenetml-CPLTkvkK.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-ZFr_6QOR.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 { w as useAppSelector, x as mainSlice, y as renderersLoadComponent, _ as __variableDynamicImportRuntimeHelper } from "./doenetml-CPLTkvkK.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-BJjYygKe.js"), "./renderers/JSXGraphRenderer.tsx": () => import("./JSXGraphRenderer-ZFr_6QOR.js").then((n) => n.m), "./renderers/_error.tsx": () => import("./_error-BcfcQ34B.js"), "./renderers/alert.tsx": () => import("./alert-CiNe6bbQ.js"), "./renderers/angle.tsx": () => import("./angle-BhSdU2vI.js"), "./renderers/answer.tsx": () => import("./answer-D94Otjzi.js"), "./renderers/asList.tsx": () => import("./asList-D-_zPXUS.js"), "./renderers/blockQuote.tsx": () => import("./blockQuote-CrN7VPbt.js"), "./renderers/boolean.tsx": () => import("./boolean-sZJ04Xn_.js"), "./renderers/booleanInput.tsx": () => import("./booleanInput-xCxyeqfR.js"), "./renderers/br.tsx": () => import("./br-Ocuz7kax.js"), "./renderers/button.tsx": () => import("./button-Df2wm2R6.js"), "./renderers/c.tsx": () => import("./c-DnBu_ES5.js"), "./renderers/cell.tsx": () => import("./cell-B521plg0.js"), "./renderers/choiceInput.tsx": () => import("./choiceInput-D9pM8vOO.js"), "./renderers/circle.tsx": () => import("./circle-De9wDUIo.js"), "./renderers/cobwebPolyline.tsx": () => import("./cobwebPolyline-BJG8lepA.js"), "./renderers/codeEditor.tsx": () => import("./codeEditor-D-fROLjN.js"), "./renderers/containerBlock.tsx": () => import("./containerBlock-Bb3Eo2ea.js"), "./renderers/containerInline.tsx": () => import("./containerInline-Bhm-m4xN.js"), "./renderers/curve.tsx": () => import("./curve-z0Dd10MP.js"), "./renderers/ellipsis.tsx": () => import("./ellipsis-bdXiPKPX.js"), "./renderers/em.tsx": () => import("./em-CMaH33x0.js"), "./renderers/embed.tsx": () => import("./embed-DVE0G4Re.js"), "./renderers/feedback.tsx": () => import("./feedback-CFZYO7G-.js"), "./renderers/figure.tsx": () => import("./figure-ePEuGG79.js"), "./renderers/footnote.tsx": () => import("./footnote-mDTfrtRp.js"), "./renderers/fractionInput.tsx": () => import("./fractionInput-CeKnTxKV.js"), "./renderers/graph.tsx": () => import("./graph-7iz12kxw.js"), "./renderers/hint.tsx": () => import("./hint-TXNOHwK-.js"), "./renderers/hr.tsx": () => import("./hr-DIKkSr_M.js"), "./renderers/image.tsx": () => import("./image-D3QblFxP.js"), "./renderers/label.tsx": () => import("./label-GJDD_CM4.js"), "./renderers/legend.tsx": () => import("./legend-DHMbGFRw.js"), "./renderers/line.tsx": () => import("./line-B5a8CGGt.js"), "./renderers/lineSegment.tsx": () => import("./lineSegment-DFs81ERd.js"), "./renderers/list.tsx": () => import("./list-x2Fi_FrD.js"), "./renderers/lq.tsx": () => import("./lq-BNhMocM0.js"), "./renderers/lsq.tsx": () => import("./lsq-DtKs_9vl.js"), "./renderers/math.tsx": () => import("./math-B_mjPZfW.js"), "./renderers/mathInput.tsx": () => import("./mathInput-CnfDOJnA.js"), "./renderers/matrixInput.tsx": () => import("./matrixInput-D5W-3T2t.js"), "./renderers/mdash.tsx": () => import("./mdash-HaJvFNEF.js"), "./renderers/nbsp.tsx": () => import("./nbsp-Bvpw8NKm.js"), "./renderers/ndash.tsx": () => import("./ndash-CFMRiocA.js"), "./renderers/number.tsx": () => import("./number-DpMEW5OY.js"), "./renderers/orbitalDiagram.tsx": () => import("./orbitalDiagram-DocD3MQh.js"), "./renderers/orbitalDiagramInput.tsx": () => import("./orbitalDiagramInput-f7UUGRm0.js"), "./renderers/p.tsx": () => import("./p-CcQQnB8y.js"), "./renderers/paginatorControls.tsx": () => import("./paginatorControls-MwPm33S9.js"), "./renderers/pegboard.tsx": () => import("./pegboard-BLy4lcXb.js"), "./renderers/point.tsx": () => import("./point-_xoxh39z.js"), "./renderers/polygon.tsx": () => import("./polygon-Yr_tjuZ6.js"), "./renderers/polyline.tsx": () => import("./polyline-BaII4RBb.js"), "./renderers/pre.tsx": () => import("./pre-D_VTik8A.js"), "./renderers/prefigure.tsx": () => import("./prefigure-tt93psWB.js"), "./renderers/pretzel.tsx": () => import("./pretzel-WFFej2RR.js"), "./renderers/q.tsx": () => import("./q-CX2GYyYv.js"), "./renderers/ray.tsx": () => import("./ray-CpXKkbuF.js"), "./renderers/ref.tsx": () => import("./ref-D9iHLnht.js"), "./renderers/regionBetweenCurveXAxis.tsx": () => import("./regionBetweenCurveXAxis-CIYS2o0_.js"), "./renderers/regionBetweenCurves.tsx": () => import("./regionBetweenCurves-DEEXRJ2J.js"), "./renderers/row.tsx": () => import("./row-Wk5RTtkv.js"), "./renderers/rq.tsx": () => import("./rq-cmyRtNsG.js"), "./renderers/rsq.tsx": () => import("./rsq-CkQIliR3.js"), "./renderers/section.tsx": () => import("./section-Diqkzvvh.js"), "./renderers/sideBySide.tsx": () => import("./sideBySide-Bba8xkFo.js"), "./renderers/slider.tsx": () => import("./slider-D14Bs7kh.js"), "./renderers/solution.tsx": () => import("./solution-DAti62Gy.js"), "./renderers/spreadsheet.tsx": () => import("./spreadsheet-D8jlZxrZ.js"), "./renderers/sq.tsx": () => import("./sq-BINeJMFT.js"), "./renderers/subsetOfRealsInput.tsx": () => import("./subsetOfRealsInput-CPK4rPJl.js"), "./renderers/summaryStatistics.tsx": () => import("./summaryStatistics-Dmm4Mo8j.js"), "./renderers/table.tsx": () => import("./table-BIGFfrmp.js"), "./renderers/tabular.tsx": () => import("./tabular-Ufypc5BE.js"), "./renderers/tag.tsx": () => import("./tag-B0ivbAMJ.js"), "./renderers/text.tsx": () => import("./text-eu9Zfstb.js"), "./renderers/textInput.tsx": () => import("./textInput-V8CVPR9-.js"), "./renderers/vector.tsx": () => import("./vector-gYq6EaJS.js"), "./renderers/video.tsx": () => import("./video-NIUGwx3H.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-CPLTkvkK.js";
|
|
2
|
+
import { F as FontAwesomeIcon } from "./index.es-D3XNtNLG.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 { z as DocContext, p as jsxRuntimeExports, A as textRendererStyle, B as DynamicMath } from "./doenetml-
|
|
1
|
+
import { z as DocContext, p as jsxRuntimeExports, A as textRendererStyle, B as DynamicMath } from "./doenetml-CPLTkvkK.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-ZFr_6QOR.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CrnzXN9V.js";
|
|
5
|
+
import { BoardContext, VERTEX_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-7iz12kxw.js";
|
|
6
|
+
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-aZpiFuKe.js";
|
|
7
|
+
import { ChoiceInputInlineContext } from "./choiceInput-D9pM8vOO.js";
|
|
8
8
|
import { a as buildLineLikeAttributes, c as buildDragHandleAttributes } from "./buildGraphicalAttributes-0RNcbd2S.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 { G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-CPLTkvkK.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-CrnzXN9V.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-GW0NjaEq.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-81kGSS0w.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;
|