@doenet/doenetml 0.7.3-dev.20260120202505.505fe9b → 0.7.3-dev.20260120214106.400bc1c
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-bn9Hmq0d.js → AnswerResponseButton-B-lam2Xf.js} +2 -2
- package/{Description-B5k670R8.js → Description-BreqX04b.js} +1 -1
- package/{_error-CJ0dTyWm.js → _error-BbymjvaV.js} +2 -2
- package/{alert-DV26Tvri.js → alert-DqP1gj8c.js} +3 -3
- package/{angle--U1Bezmc.js → angle-D8751h80.js} +4 -4
- package/{answer-CI_0Q22m.js → answer-0CxY7KDC.js} +5 -5
- package/{asList-DoFnSwOa.js → asList-CjRgc3SN.js} +2 -2
- package/{blockQuote-CWhNsrfK.js → blockQuote-5Vv7CLDQ.js} +3 -3
- package/{boolean-BVIasHQK.js → boolean-DDWl-0H4.js} +2 -2
- package/{booleanInput-vjJ3Z9wS.js → booleanInput-LDC-t0Rk.js} +5 -5
- package/{br-C_EHdJp2.js → br-BmDa-g5d.js} +2 -2
- package/{button-BX8FeWLR.js → button-CArKcKJS.js} +3 -3
- package/{c-fkJTbDL0.js → c-B49OScXd.js} +3 -3
- package/{cell-DAtxVHaG.js → cell-2dCfRJB_.js} +3 -3
- package/{checkWork-C83J6vJ_.js → checkWork-CI79x44B.js} +2 -2
- package/{choiceInput-CZA8iyJ0.js → choiceInput-B85roW9a.js} +4 -4
- package/{circle-C7Lbn0Al.js → circle-DJxcUjkK.js} +3 -3
- package/{cobwebPolyline-BYArxLOb.js → cobwebPolyline-BRmar-iQ.js} +3 -3
- package/{codeEditor-CZ4kVKOF.js → codeEditor-BFpzeJv_.js} +2 -2
- package/{composites-CvW8kHiI.js → composites-BYAnp6wC.js} +1 -1
- package/{containerBlock-Dmt9r8EK.js → containerBlock-WJ8vclEB.js} +4 -4
- package/{containerInline-DixK8vby.js → containerInline-xxeTfZUx.js} +4 -4
- package/{curve-CPlrz0Vo.js → curve-Iz547Xpo.js} +3 -3
- package/doenetml-inline-worker.js +2 -2
- package/{doenetml-D-WiY7c6.js → doenetml-p1gh2yJh.js} +2 -2
- package/{ellipsis-CEcO61KW.js → ellipsis-qD-ZJmOx.js} +2 -2
- package/{em-BVL0BiJW.js → em-CdrK9r6B.js} +3 -3
- package/{embed-DaNGPqw6.js → embed-CqLZ5sX0.js} +2 -2
- package/{feedback-Cl4cMvak.js → feedback-QsmGRSPX.js} +4 -4
- package/{figure-B-eAe3Qr.js → figure-BwDfq9xL.js} +3 -3
- package/{footnote-DKjPqym-.js → footnote-DxJoJS2p.js} +3 -3
- package/{graph-BloqIijF.js → graph-DJaDfS7z.js} +3 -3
- package/{hint-D71IuFzQ.js → hint-D4YTauoY.js} +4 -4
- package/{hr-sLXCh3bA.js → hr-dOyltLEW.js} +2 -2
- package/{image-PRua1nCt.js → image-B-lDbHdt.js} +4 -4
- package/{index-BBgi3_cJ.js → index-D5jeuVNJ.js} +1 -1
- package/{index.es-BlDkiA1D.js → index.es-AyQucDXW.js} +1 -1
- package/index.js +1 -1
- package/{label-CWw05JKz.js → label-BWS21CM7.js} +4 -4
- package/{legend-Dtm3Wtxx.js → legend-2m_gPdW0.js} +3 -3
- package/{line-XWc0Jtq9.js → line-Crp3yHT8.js} +4 -4
- package/{lineSegment-Ck3baa9G.js → lineSegment-BNUFsvVd.js} +3 -3
- package/{list-CQ7WBXaf.js → list-DnW0vqdT.js} +4 -4
- package/{lq-_XPYvs9-.js → lq-Dcq6G054.js} +2 -2
- package/{lsq-DnfYihjY.js → lsq-B3fO4bFH.js} +2 -2
- package/{math-CjLiBjQX.js → math-DpXHkqUZ.js} +4 -4
- package/{mathInput-CRW0Eo09.js → mathInput-Csf6E5Md.js} +5 -5
- package/{matrixInput-CXmbpujP.js → matrixInput-ciqzMR8O.js} +4 -4
- package/{mdash-BNBKkUZL.js → mdash-CHV5OhtB.js} +2 -2
- package/{nbsp-Rnjyz2XD.js → nbsp-BKphTJqb.js} +2 -2
- package/{ndash-Bnv_WX8O.js → ndash-CFOyqKKh.js} +2 -2
- package/{number-BsCAP41L.js → number-B4-d-RMq.js} +4 -4
- package/{orbitalDiagram-RfcEy5Q4.js → orbitalDiagram-DRgFgx0b.js} +2 -2
- package/{orbitalDiagramInput-DCm2HbDq.js → orbitalDiagramInput-DSdW4Edz.js} +2 -2
- package/{p-B2dtxBJ_.js → p-4oOJ-XUS.js} +4 -4
- package/package.json +1 -1
- package/{paginatorControls-BTf44aOP.js → paginatorControls-BioZ4Rq_.js} +2 -2
- package/{pegboard-CKMYRAw_.js → pegboard-vEv8C58T.js} +3 -3
- package/{point-BPk_P9Bm.js → point-Clt1rhST.js} +4 -4
- package/{polygon-Dc87A8-W.js → polygon-BS3-STLz.js} +3 -3
- package/{polyline-Biw9p9xZ.js → polyline-BF5IoQ84.js} +3 -3
- package/{pre-HA0Nmhww.js → pre-CqD02ziB.js} +3 -3
- package/{pretzel-VF2jGmNH.js → pretzel-BJAcLtj4.js} +4 -4
- package/{q-xqRDt_YE.js → q-Dkfk0fRZ.js} +3 -3
- package/{ray-DQBGVGzi.js → ray-CMgJ512X.js} +3 -3
- package/{ref-N5xaa9d_.js → ref-CISx4IMn.js} +2 -2
- package/{regionBetweenCurveXAxis-DGsBoZl4.js → regionBetweenCurveXAxis-CyljAcU6.js} +3 -3
- package/{regionBetweenCurves-DBfF2P98.js → regionBetweenCurves-D_h_GXiK.js} +3 -3
- package/{row-BvR9PAGo.js → row-GnF7p9wx.js} +2 -2
- package/{rq-CCYZ-C5Z.js → rq-CNDzOc_X.js} +2 -2
- package/{rsq-B43cC-wd.js → rsq-C6un9CxY.js} +2 -2
- package/{section-BLOATuU_.js → section-CbjCFLrA.js} +5 -5
- package/{sideBySide-iEPwTP1x.js → sideBySide-CblD3AmC.js} +2 -2
- package/{slider-C7P_nCOJ.js → slider-Dm-91QM6.js} +2 -2
- package/{solution-UGONy0R2.js → solution-7rFUMnJ-.js} +4 -4
- package/{spreadsheet-BxIKTWff.js → spreadsheet-DSf6r62x.js} +2 -2
- package/{sq-DdME9C7M.js → sq-B8qvGWg8.js} +3 -3
- package/{subsetOfRealsInput-D36zFBZf.js → subsetOfRealsInput-CphH_hok.js} +2 -2
- package/{summaryStatistics-D7YDMkMe.js → summaryStatistics-cpRIBt7N.js} +2 -2
- package/{table-Dl2J_I7A.js → table-C_mG5fcR.js} +2 -2
- package/{tabular-CgzMMdRq.js → tabular-CnuPlaFr.js} +2 -2
- package/{tag-Ie-uFrpm.js → tag-DuYTKO2X.js} +2 -2
- package/{text-JjxNbmxp.js → text-Cl79anY9.js} +4 -4
- package/{textInput-BWeU5EBE.js → textInput-ByjeBul5.js} +5 -5
- package/{tooltip-provider-dudMeuTo.js → tooltip-provider-BxmL6VVD.js} +1 -1
- package/useDoenetRenderer-CxINo65A.js +112 -0
- package/{vector-D1l0iksk.js → vector-CBhJLlBT.js} +4 -4
- package/{video-CMFDzW6d.js → video-B8D5XDq8.js} +3 -3
- package/useDoenetRenderer-VbNvt9F8.js +0 -112
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { j as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { j as jsxRuntimeExports } from "./doenetml-p1gh2yJh.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CxINo65A.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 { j as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { j as jsxRuntimeExports } from "./doenetml-p1gh2yJh.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CxINo65A.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 { j as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { j as jsxRuntimeExports } from "./doenetml-p1gh2yJh.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CxINo65A.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 useRecordVisibilityChanges, j as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useRecordVisibilityChanges, j as jsxRuntimeExports } from "./doenetml-p1gh2yJh.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { F as FontAwesomeIcon } from "./index.es-
|
|
3
|
+
import { F as FontAwesomeIcon } from "./index.es-AyQucDXW.js";
|
|
4
4
|
import { f as faCaretDown, a as faCaretRight } from "./index-D_-RBdRX.js";
|
|
5
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
6
|
-
import { a as addCommasForCompositeRanges } from "./composites-
|
|
7
|
-
import { c as calculateValidationState, a as createCheckWorkComponent } from "./checkWork-
|
|
5
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CxINo65A.js";
|
|
6
|
+
import { a as addCommasForCompositeRanges } from "./composites-BYAnp6wC.js";
|
|
7
|
+
import { c as calculateValidationState, a as createCheckWorkComponent } from "./checkWork-CI79x44B.js";
|
|
8
8
|
const section = React__default.memo(function Section(props) {
|
|
9
9
|
let { id, SVs, children, actions, callAction } = useDoenetRenderer(props);
|
|
10
10
|
const ref = useRef(null);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { u as useRecordVisibilityChanges, j as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useRecordVisibilityChanges, j as jsxRuntimeExports } from "./doenetml-p1gh2yJh.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CxINo65A.js";
|
|
4
4
|
const sideBySide = React__default.memo(function sideBySide2(props) {
|
|
5
5
|
let { id, SVs, children, actions, callAction } = useDoenetRenderer(props);
|
|
6
6
|
const ref = useRef(null);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { j as jsxRuntimeExports, A as ActionButtonGroup, o as ActionButton, M as MathJax, e as Context } from "./doenetml-
|
|
1
|
+
import { j as jsxRuntimeExports, A as ActionButtonGroup, o as ActionButton, M as MathJax, e as Context } from "./doenetml-p1gh2yJh.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-CxINo65A.js";
|
|
4
4
|
import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
|
|
5
5
|
let round_to_decimals = (x, n) => {
|
|
6
6
|
try {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { u as useRecordVisibilityChanges, j as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useRecordVisibilityChanges, j as jsxRuntimeExports } from "./doenetml-p1gh2yJh.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-CxINo65A.js";
|
|
4
|
+
import { F as FontAwesomeIcon } from "./index.es-AyQucDXW.js";
|
|
5
5
|
import { h as faPuzzlePiece } from "./index-D_-RBdRX.js";
|
|
6
|
-
import { a as addCommasForCompositeRanges } from "./composites-
|
|
6
|
+
import { a as addCommasForCompositeRanges } from "./composites-BYAnp6wC.js";
|
|
7
7
|
const solution = React__default.memo(function Solution(props) {
|
|
8
8
|
let { id, SVs, children, actions, callAction } = useDoenetRenderer(props);
|
|
9
9
|
const ref = useRef(null);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ak as commonjsGlobal, al as getAugmentedNamespace, ai as getDefaultExportFromCjs, u as useRecordVisibilityChanges, j as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { ak as commonjsGlobal, al as getAugmentedNamespace, ai as getDefaultExportFromCjs, u as useRecordVisibilityChanges, j as jsxRuntimeExports } from "./doenetml-p1gh2yJh.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CxINo65A.js";
|
|
4
4
|
import require$$2 from "react-dom";
|
|
5
5
|
import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
|
|
6
6
|
var es_symbol = {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { j as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { j as jsxRuntimeExports } from "./doenetml-p1gh2yJh.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
4
|
-
import { a as addCommasForCompositeRanges } from "./composites-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CxINo65A.js";
|
|
4
|
+
import { a as addCommasForCompositeRanges } from "./composites-BYAnp6wC.js";
|
|
5
5
|
const sq = React__default.memo(function Sq(props) {
|
|
6
6
|
let { SVs, children } = useDoenetRenderer(props);
|
|
7
7
|
if (SVs.hidden) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { u as useRecordVisibilityChanges, j as jsxRuntimeExports, q as ToggleButtonGroup, T as ToggleButton, A as ActionButtonGroup, o as ActionButton } from "./doenetml-
|
|
1
|
+
import { u as useRecordVisibilityChanges, j as jsxRuntimeExports, q as ToggleButtonGroup, T as ToggleButton, A as ActionButtonGroup, o as ActionButton } from "./doenetml-p1gh2yJh.js";
|
|
2
2
|
import React__default, { useState, useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CxINo65A.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 useRecordVisibilityChanges, j as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useRecordVisibilityChanges, j as jsxRuntimeExports } from "./doenetml-p1gh2yJh.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CxINo65A.js";
|
|
4
4
|
import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
|
|
5
5
|
const summaryStatistics = React__default.memo(function Tabular(props) {
|
|
6
6
|
let { id, SVs, actions, callAction } = useDoenetRenderer(props);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { u as useRecordVisibilityChanges, j as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useRecordVisibilityChanges, j as jsxRuntimeExports } from "./doenetml-p1gh2yJh.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CxINo65A.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 { u as useRecordVisibilityChanges, j as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useRecordVisibilityChanges, j as jsxRuntimeExports } from "./doenetml-p1gh2yJh.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CxINo65A.js";
|
|
4
4
|
import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
|
|
5
5
|
const tabular = React__default.memo(function Tabular(props) {
|
|
6
6
|
let { id, SVs, children, actions, callAction } = useDoenetRenderer(props);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { j as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { j as jsxRuntimeExports } from "./doenetml-p1gh2yJh.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CxINo65A.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,9 +1,9 @@
|
|
|
1
|
-
import { d as DocContext, e as Context, j as jsxRuntimeExports, t as textRendererStyle } from "./doenetml-
|
|
1
|
+
import { d as DocContext, e as Context, j as jsxRuntimeExports, t as textRendererStyle } from "./doenetml-p1gh2yJh.js";
|
|
2
2
|
import React__default, { useRef, useContext, useEffect } from "react";
|
|
3
|
-
import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-
|
|
4
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-DJaDfS7z.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CxINo65A.js";
|
|
5
5
|
import { P as POINTER_DRAG_THRESHOLD, g as getPositionFromAnchorByCoordinate } from "./graph-FesVg1vs.js";
|
|
6
|
-
import { ChoiceInputInlineContext } from "./choiceInput-
|
|
6
|
+
import { ChoiceInputInlineContext } from "./choiceInput-B85roW9a.js";
|
|
7
7
|
const text = React__default.memo(function Text(props) {
|
|
8
8
|
let { componentIdx, id, SVs, actions, callAction } = useDoenetRenderer(props);
|
|
9
9
|
Text.ignoreActionsWithoutCore = () => true;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { e as Context, j as jsxRuntimeExports, M as MathJax } from "./doenetml-
|
|
1
|
+
import { e as Context, j as jsxRuntimeExports, M as MathJax } from "./doenetml-p1gh2yJh.js";
|
|
2
2
|
import { useState, useRef, useContext, useEffect } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CxINo65A.js";
|
|
4
4
|
import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
|
|
5
|
-
import { BoardContext } from "./graph-
|
|
5
|
+
import { BoardContext } from "./graph-DJaDfS7z.js";
|
|
6
6
|
import { g as getPositionFromAnchorByCoordinate, P as POINTER_DRAG_THRESHOLD } from "./graph-FesVg1vs.js";
|
|
7
|
-
import { c as calculateValidationState, a as createCheckWorkComponent } from "./checkWork-
|
|
8
|
-
import { D as DescriptionPopover } from "./Description-
|
|
7
|
+
import { c as calculateValidationState, a as createCheckWorkComponent } from "./checkWork-CI79x44B.js";
|
|
8
|
+
import { D as DescriptionPopover } from "./Description-BreqX04b.js";
|
|
9
9
|
import { a as addValidationStateToShortDescription } from "./description-CVwSJZpB.js";
|
|
10
10
|
function TextInput(props) {
|
|
11
11
|
let { id, SVs, children, actions, ignoreUpdate, callAction } = useDoenetRenderer(props);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { U as createStoreContext, V as PopoverScopedContextProvider, W as PopoverContextProvider, x as createHook, F as invariant, X as usePortalRef, Y as useIsMouseMoving, Z as useBooleanEvent, $ as chain, a0 as addGlobalEventListener, a1 as useLiveRef, K as useSafeLayoutEffect, a2 as useWrapElement, j as jsxRuntimeExports, I as useMergeRefs, a3 as usePopover, a4 as isFalsyBooleanCallback, a5 as contains, a6 as useEvent, a7 as sync, a8 as hasFocusWithin, a9 as createDialogComponent, w as forwardRef2, y as createElement, aa as disabledFromProps, ab as useFocusable, ac as createStore, ad as createPopoverStore, ae as defaultValue, af as useStoreProps, ag as usePopoverStoreProps, ah as useStore } from "./doenetml-
|
|
1
|
+
import { U as createStoreContext, V as PopoverScopedContextProvider, W as PopoverContextProvider, x as createHook, F as invariant, X as usePortalRef, Y as useIsMouseMoving, Z as useBooleanEvent, $ as chain, a0 as addGlobalEventListener, a1 as useLiveRef, K as useSafeLayoutEffect, a2 as useWrapElement, j as jsxRuntimeExports, I as useMergeRefs, a3 as usePopover, a4 as isFalsyBooleanCallback, a5 as contains, a6 as useEvent, a7 as sync, a8 as hasFocusWithin, a9 as createDialogComponent, w as forwardRef2, y as createElement, aa as disabledFromProps, ab as useFocusable, ac as createStore, ad as createPopoverStore, ae as defaultValue, af as useStoreProps, ag as usePopoverStoreProps, ah as useStore } from "./doenetml-p1gh2yJh.js";
|
|
2
2
|
import { useRef, useState, useEffect, useContext, createContext, useCallback } from "react";
|
|
3
3
|
var ctx$1 = createStoreContext(
|
|
4
4
|
[PopoverContextProvider],
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import { i as useAppSelector, k as mainSlice, l as renderersLoadComponent, _ as __variableDynamicImportRuntimeHelper } from "./doenetml-p1gh2yJh.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
|
+
if (Object.keys(renderersToLoad).length > 0) {
|
|
37
|
+
renderersLoadComponent(
|
|
38
|
+
Object.values(renderersToLoad),
|
|
39
|
+
Object.keys(renderersToLoad)
|
|
40
|
+
).then((newRendererClasses) => {
|
|
41
|
+
Object.assign(props.rendererClasses, newRendererClasses);
|
|
42
|
+
setRenderersToLoad({});
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
}, [renderersToLoad, props.rendererClasses]);
|
|
46
|
+
function createChildFromInstructions(childInstructions, loadMoreRenderers2) {
|
|
47
|
+
if (typeof childInstructions === "string" || childInstructions === null) {
|
|
48
|
+
return childInstructions;
|
|
49
|
+
}
|
|
50
|
+
let propsForChild = {
|
|
51
|
+
key: props.coreId + childInstructions.componentIdx,
|
|
52
|
+
componentInstructions: childInstructions,
|
|
53
|
+
rendererClasses: props.rendererClasses,
|
|
54
|
+
coreId: props.coreId,
|
|
55
|
+
docId: props.docId,
|
|
56
|
+
activityId: props.activityId,
|
|
57
|
+
callAction: props.callAction,
|
|
58
|
+
fetchExternalDoenetML: props.fetchExternalDoenetML,
|
|
59
|
+
requestScrollTo: props.requestScrollTo,
|
|
60
|
+
flags: props.flags
|
|
61
|
+
};
|
|
62
|
+
let rendererClass = props.rendererClasses[childInstructions.rendererType];
|
|
63
|
+
if (!rendererClass) {
|
|
64
|
+
if (loadMoreRenderers2) {
|
|
65
|
+
setRenderersToLoad((old) => {
|
|
66
|
+
let rendererPromises = { ...old };
|
|
67
|
+
if (!(childInstructions.rendererType in rendererPromises)) {
|
|
68
|
+
rendererPromises[childInstructions.rendererType] = __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "./renderers/_error.tsx": () => import("./_error-BbymjvaV.js"), "./renderers/alert.tsx": () => import("./alert-DqP1gj8c.js"), "./renderers/angle.tsx": () => import("./angle-D8751h80.js"), "./renderers/answer.tsx": () => import("./answer-0CxY7KDC.js"), "./renderers/asList.tsx": () => import("./asList-CjRgc3SN.js"), "./renderers/blockQuote.tsx": () => import("./blockQuote-5Vv7CLDQ.js"), "./renderers/boolean.tsx": () => import("./boolean-DDWl-0H4.js"), "./renderers/booleanInput.tsx": () => import("./booleanInput-LDC-t0Rk.js"), "./renderers/br.tsx": () => import("./br-BmDa-g5d.js"), "./renderers/button.tsx": () => import("./button-CArKcKJS.js"), "./renderers/c.tsx": () => import("./c-B49OScXd.js"), "./renderers/cell.tsx": () => import("./cell-2dCfRJB_.js"), "./renderers/choiceInput.tsx": () => import("./choiceInput-B85roW9a.js"), "./renderers/circle.tsx": () => import("./circle-DJxcUjkK.js"), "./renderers/cobwebPolyline.tsx": () => import("./cobwebPolyline-BRmar-iQ.js"), "./renderers/codeEditor.tsx": () => import("./codeEditor-BFpzeJv_.js"), "./renderers/containerBlock.tsx": () => import("./containerBlock-WJ8vclEB.js"), "./renderers/containerInline.tsx": () => import("./containerInline-xxeTfZUx.js"), "./renderers/curve.tsx": () => import("./curve-Iz547Xpo.js"), "./renderers/ellipsis.tsx": () => import("./ellipsis-qD-ZJmOx.js"), "./renderers/em.tsx": () => import("./em-CdrK9r6B.js"), "./renderers/embed.tsx": () => import("./embed-CqLZ5sX0.js"), "./renderers/feedback.tsx": () => import("./feedback-QsmGRSPX.js"), "./renderers/figure.tsx": () => import("./figure-BwDfq9xL.js"), "./renderers/footnote.tsx": () => import("./footnote-DxJoJS2p.js"), "./renderers/graph.tsx": () => import("./graph-DJaDfS7z.js"), "./renderers/hint.tsx": () => import("./hint-D4YTauoY.js"), "./renderers/hr.tsx": () => import("./hr-dOyltLEW.js"), "./renderers/image.tsx": () => import("./image-B-lDbHdt.js"), "./renderers/label.tsx": () => import("./label-BWS21CM7.js"), "./renderers/legend.tsx": () => import("./legend-2m_gPdW0.js"), "./renderers/line.tsx": () => import("./line-Crp3yHT8.js"), "./renderers/lineSegment.tsx": () => import("./lineSegment-BNUFsvVd.js"), "./renderers/list.tsx": () => import("./list-DnW0vqdT.js"), "./renderers/lq.tsx": () => import("./lq-Dcq6G054.js"), "./renderers/lsq.tsx": () => import("./lsq-B3fO4bFH.js"), "./renderers/math.tsx": () => import("./math-DpXHkqUZ.js"), "./renderers/mathInput.tsx": () => import("./mathInput-Csf6E5Md.js"), "./renderers/matrixInput.tsx": () => import("./matrixInput-ciqzMR8O.js"), "./renderers/mdash.tsx": () => import("./mdash-CHV5OhtB.js"), "./renderers/nbsp.tsx": () => import("./nbsp-BKphTJqb.js"), "./renderers/ndash.tsx": () => import("./ndash-CFOyqKKh.js"), "./renderers/number.tsx": () => import("./number-B4-d-RMq.js"), "./renderers/orbitalDiagram.tsx": () => import("./orbitalDiagram-DRgFgx0b.js"), "./renderers/orbitalDiagramInput.tsx": () => import("./orbitalDiagramInput-DSdW4Edz.js"), "./renderers/p.tsx": () => import("./p-4oOJ-XUS.js"), "./renderers/paginatorControls.tsx": () => import("./paginatorControls-BioZ4Rq_.js"), "./renderers/pegboard.tsx": () => import("./pegboard-vEv8C58T.js"), "./renderers/point.tsx": () => import("./point-Clt1rhST.js"), "./renderers/polygon.tsx": () => import("./polygon-BS3-STLz.js"), "./renderers/polyline.tsx": () => import("./polyline-BF5IoQ84.js"), "./renderers/pre.tsx": () => import("./pre-CqD02ziB.js"), "./renderers/pretzel.tsx": () => import("./pretzel-BJAcLtj4.js"), "./renderers/q.tsx": () => import("./q-Dkfk0fRZ.js"), "./renderers/ray.tsx": () => import("./ray-CMgJ512X.js"), "./renderers/ref.tsx": () => import("./ref-CISx4IMn.js"), "./renderers/regionBetweenCurveXAxis.tsx": () => import("./regionBetweenCurveXAxis-CyljAcU6.js"), "./renderers/regionBetweenCurves.tsx": () => import("./regionBetweenCurves-D_h_GXiK.js"), "./renderers/row.tsx": () => import("./row-GnF7p9wx.js"), "./renderers/rq.tsx": () => import("./rq-CNDzOc_X.js"), "./renderers/rsq.tsx": () => import("./rsq-C6un9CxY.js"), "./renderers/section.tsx": () => import("./section-CbjCFLrA.js"), "./renderers/sideBySide.tsx": () => import("./sideBySide-CblD3AmC.js"), "./renderers/slider.tsx": () => import("./slider-Dm-91QM6.js"), "./renderers/solution.tsx": () => import("./solution-7rFUMnJ-.js"), "./renderers/spreadsheet.tsx": () => import("./spreadsheet-DSf6r62x.js"), "./renderers/sq.tsx": () => import("./sq-B8qvGWg8.js"), "./renderers/subsetOfRealsInput.tsx": () => import("./subsetOfRealsInput-CphH_hok.js"), "./renderers/summaryStatistics.tsx": () => import("./summaryStatistics-cpRIBt7N.js"), "./renderers/table.tsx": () => import("./table-C_mG5fcR.js"), "./renderers/tabular.tsx": () => import("./tabular-CnuPlaFr.js"), "./renderers/tag.tsx": () => import("./tag-DuYTKO2X.js"), "./renderers/text.tsx": () => import("./text-Cl79anY9.js"), "./renderers/textInput.tsx": () => import("./textInput-ByjeBul5.js"), "./renderers/vector.tsx": () => import("./vector-CBhJLlBT.js"), "./renderers/video.tsx": () => import("./video-B8D5XDq8.js") }), `./renderers/${childInstructions.rendererType}.tsx`, 3);
|
|
69
|
+
}
|
|
70
|
+
return rendererPromises;
|
|
71
|
+
});
|
|
72
|
+
}
|
|
73
|
+
return null;
|
|
74
|
+
}
|
|
75
|
+
let child = React__default.createElement(rendererClass, propsForChild);
|
|
76
|
+
return child;
|
|
77
|
+
}
|
|
78
|
+
let rendererType = props.componentInstructions.rendererType;
|
|
79
|
+
const callAction = (argObj) => {
|
|
80
|
+
if (!argObj.componentIdx) {
|
|
81
|
+
argObj = { ...argObj };
|
|
82
|
+
argObj.componentIdx = componentIdx;
|
|
83
|
+
}
|
|
84
|
+
if (!argObj.rendererType) {
|
|
85
|
+
argObj = { ...argObj };
|
|
86
|
+
argObj.rendererType = rendererType;
|
|
87
|
+
}
|
|
88
|
+
return props.callAction(argObj);
|
|
89
|
+
};
|
|
90
|
+
return {
|
|
91
|
+
componentIdx: effectiveIdx,
|
|
92
|
+
id: prefixForIds + id,
|
|
93
|
+
SVs: stateValues,
|
|
94
|
+
docId: props.docId,
|
|
95
|
+
activityId: props.activityId,
|
|
96
|
+
actions,
|
|
97
|
+
children,
|
|
98
|
+
sourceOfUpdate,
|
|
99
|
+
ignoreUpdate,
|
|
100
|
+
rendererName,
|
|
101
|
+
initializeChildren: () => {
|
|
102
|
+
},
|
|
103
|
+
callAction,
|
|
104
|
+
doenetViewerUrl: props.doenetViewerUrl,
|
|
105
|
+
fetchExternalDoenetML: props.fetchExternalDoenetML,
|
|
106
|
+
requestScrollTo: props.requestScrollTo,
|
|
107
|
+
flags: props.flags
|
|
108
|
+
};
|
|
109
|
+
}
|
|
110
|
+
export {
|
|
111
|
+
useDoenetRenderer as u
|
|
112
|
+
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { d as DocContext, j as jsxRuntimeExports, t as textRendererStyle, M as MathJax } from "./doenetml-
|
|
1
|
+
import { d as DocContext, j as jsxRuntimeExports, t as textRendererStyle, M as MathJax } from "./doenetml-p1gh2yJh.js";
|
|
2
2
|
import React__default, { useContext, useRef, useEffect } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
4
|
-
import { BoardContext, LINE_LAYER_OFFSET, VERTEX_LAYER_OFFSET } from "./graph-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CxINo65A.js";
|
|
4
|
+
import { BoardContext, LINE_LAYER_OFFSET, VERTEX_LAYER_OFFSET } from "./graph-DJaDfS7z.js";
|
|
5
5
|
import { P as POINTER_DRAG_THRESHOLD } from "./graph-FesVg1vs.js";
|
|
6
|
-
import { ChoiceInputInlineContext } from "./choiceInput-
|
|
6
|
+
import { ChoiceInputInlineContext } from "./choiceInput-B85roW9a.js";
|
|
7
7
|
const vector = React__default.memo(function Vector(props) {
|
|
8
8
|
let { componentIdx, id, SVs, actions, sourceOfUpdate, callAction } = useDoenetRenderer(props);
|
|
9
9
|
Vector.ignoreActionsWithoutCore = () => true;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { u as useRecordVisibilityChanges, j as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useRecordVisibilityChanges, j as jsxRuntimeExports } from "./doenetml-p1gh2yJh.js";
|
|
2
2
|
import React__default, { useRef, useEffect } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CxINo65A.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-BreqX04b.js";
|
|
6
6
|
const video = React__default.memo(function Video(props) {
|
|
7
7
|
let { id, SVs, children, actions, callAction } = useDoenetRenderer(props);
|
|
8
8
|
let player = useRef(null);
|
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
import { i as useAppSelector, k as mainSlice, l as renderersLoadComponent, _ as __variableDynamicImportRuntimeHelper } from "./doenetml-D-WiY7c6.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
|
-
if (Object.keys(renderersToLoad).length > 0) {
|
|
37
|
-
renderersLoadComponent(
|
|
38
|
-
Object.values(renderersToLoad),
|
|
39
|
-
Object.keys(renderersToLoad)
|
|
40
|
-
).then((newRendererClasses) => {
|
|
41
|
-
Object.assign(props.rendererClasses, newRendererClasses);
|
|
42
|
-
setRenderersToLoad({});
|
|
43
|
-
});
|
|
44
|
-
}
|
|
45
|
-
}, [renderersToLoad, props.rendererClasses]);
|
|
46
|
-
function createChildFromInstructions(childInstructions, loadMoreRenderers2) {
|
|
47
|
-
if (typeof childInstructions === "string" || childInstructions === null) {
|
|
48
|
-
return childInstructions;
|
|
49
|
-
}
|
|
50
|
-
let propsForChild = {
|
|
51
|
-
key: props.coreId + childInstructions.componentIdx,
|
|
52
|
-
componentInstructions: childInstructions,
|
|
53
|
-
rendererClasses: props.rendererClasses,
|
|
54
|
-
coreId: props.coreId,
|
|
55
|
-
docId: props.docId,
|
|
56
|
-
activityId: props.activityId,
|
|
57
|
-
callAction: props.callAction,
|
|
58
|
-
fetchExternalDoenetML: props.fetchExternalDoenetML,
|
|
59
|
-
requestScrollTo: props.requestScrollTo,
|
|
60
|
-
flags: props.flags
|
|
61
|
-
};
|
|
62
|
-
let rendererClass = props.rendererClasses[childInstructions.rendererType];
|
|
63
|
-
if (!rendererClass) {
|
|
64
|
-
if (loadMoreRenderers2) {
|
|
65
|
-
setRenderersToLoad((old) => {
|
|
66
|
-
let rendererPromises = { ...old };
|
|
67
|
-
if (!(childInstructions.rendererType in rendererPromises)) {
|
|
68
|
-
rendererPromises[childInstructions.rendererType] = __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "./renderers/_error.tsx": () => import("./_error-CJ0dTyWm.js"), "./renderers/alert.tsx": () => import("./alert-DV26Tvri.js"), "./renderers/angle.tsx": () => import("./angle--U1Bezmc.js"), "./renderers/answer.tsx": () => import("./answer-CI_0Q22m.js"), "./renderers/asList.tsx": () => import("./asList-DoFnSwOa.js"), "./renderers/blockQuote.tsx": () => import("./blockQuote-CWhNsrfK.js"), "./renderers/boolean.tsx": () => import("./boolean-BVIasHQK.js"), "./renderers/booleanInput.tsx": () => import("./booleanInput-vjJ3Z9wS.js"), "./renderers/br.tsx": () => import("./br-C_EHdJp2.js"), "./renderers/button.tsx": () => import("./button-BX8FeWLR.js"), "./renderers/c.tsx": () => import("./c-fkJTbDL0.js"), "./renderers/cell.tsx": () => import("./cell-DAtxVHaG.js"), "./renderers/choiceInput.tsx": () => import("./choiceInput-CZA8iyJ0.js"), "./renderers/circle.tsx": () => import("./circle-C7Lbn0Al.js"), "./renderers/cobwebPolyline.tsx": () => import("./cobwebPolyline-BYArxLOb.js"), "./renderers/codeEditor.tsx": () => import("./codeEditor-CZ4kVKOF.js"), "./renderers/containerBlock.tsx": () => import("./containerBlock-Dmt9r8EK.js"), "./renderers/containerInline.tsx": () => import("./containerInline-DixK8vby.js"), "./renderers/curve.tsx": () => import("./curve-CPlrz0Vo.js"), "./renderers/ellipsis.tsx": () => import("./ellipsis-CEcO61KW.js"), "./renderers/em.tsx": () => import("./em-BVL0BiJW.js"), "./renderers/embed.tsx": () => import("./embed-DaNGPqw6.js"), "./renderers/feedback.tsx": () => import("./feedback-Cl4cMvak.js"), "./renderers/figure.tsx": () => import("./figure-B-eAe3Qr.js"), "./renderers/footnote.tsx": () => import("./footnote-DKjPqym-.js"), "./renderers/graph.tsx": () => import("./graph-BloqIijF.js"), "./renderers/hint.tsx": () => import("./hint-D71IuFzQ.js"), "./renderers/hr.tsx": () => import("./hr-sLXCh3bA.js"), "./renderers/image.tsx": () => import("./image-PRua1nCt.js"), "./renderers/label.tsx": () => import("./label-CWw05JKz.js"), "./renderers/legend.tsx": () => import("./legend-Dtm3Wtxx.js"), "./renderers/line.tsx": () => import("./line-XWc0Jtq9.js"), "./renderers/lineSegment.tsx": () => import("./lineSegment-Ck3baa9G.js"), "./renderers/list.tsx": () => import("./list-CQ7WBXaf.js"), "./renderers/lq.tsx": () => import("./lq-_XPYvs9-.js"), "./renderers/lsq.tsx": () => import("./lsq-DnfYihjY.js"), "./renderers/math.tsx": () => import("./math-CjLiBjQX.js"), "./renderers/mathInput.tsx": () => import("./mathInput-CRW0Eo09.js"), "./renderers/matrixInput.tsx": () => import("./matrixInput-CXmbpujP.js"), "./renderers/mdash.tsx": () => import("./mdash-BNBKkUZL.js"), "./renderers/nbsp.tsx": () => import("./nbsp-Rnjyz2XD.js"), "./renderers/ndash.tsx": () => import("./ndash-Bnv_WX8O.js"), "./renderers/number.tsx": () => import("./number-BsCAP41L.js"), "./renderers/orbitalDiagram.tsx": () => import("./orbitalDiagram-RfcEy5Q4.js"), "./renderers/orbitalDiagramInput.tsx": () => import("./orbitalDiagramInput-DCm2HbDq.js"), "./renderers/p.tsx": () => import("./p-B2dtxBJ_.js"), "./renderers/paginatorControls.tsx": () => import("./paginatorControls-BTf44aOP.js"), "./renderers/pegboard.tsx": () => import("./pegboard-CKMYRAw_.js"), "./renderers/point.tsx": () => import("./point-BPk_P9Bm.js"), "./renderers/polygon.tsx": () => import("./polygon-Dc87A8-W.js"), "./renderers/polyline.tsx": () => import("./polyline-Biw9p9xZ.js"), "./renderers/pre.tsx": () => import("./pre-HA0Nmhww.js"), "./renderers/pretzel.tsx": () => import("./pretzel-VF2jGmNH.js"), "./renderers/q.tsx": () => import("./q-xqRDt_YE.js"), "./renderers/ray.tsx": () => import("./ray-DQBGVGzi.js"), "./renderers/ref.tsx": () => import("./ref-N5xaa9d_.js"), "./renderers/regionBetweenCurveXAxis.tsx": () => import("./regionBetweenCurveXAxis-DGsBoZl4.js"), "./renderers/regionBetweenCurves.tsx": () => import("./regionBetweenCurves-DBfF2P98.js"), "./renderers/row.tsx": () => import("./row-BvR9PAGo.js"), "./renderers/rq.tsx": () => import("./rq-CCYZ-C5Z.js"), "./renderers/rsq.tsx": () => import("./rsq-B43cC-wd.js"), "./renderers/section.tsx": () => import("./section-BLOATuU_.js"), "./renderers/sideBySide.tsx": () => import("./sideBySide-iEPwTP1x.js"), "./renderers/slider.tsx": () => import("./slider-C7P_nCOJ.js"), "./renderers/solution.tsx": () => import("./solution-UGONy0R2.js"), "./renderers/spreadsheet.tsx": () => import("./spreadsheet-BxIKTWff.js"), "./renderers/sq.tsx": () => import("./sq-DdME9C7M.js"), "./renderers/subsetOfRealsInput.tsx": () => import("./subsetOfRealsInput-D36zFBZf.js"), "./renderers/summaryStatistics.tsx": () => import("./summaryStatistics-D7YDMkMe.js"), "./renderers/table.tsx": () => import("./table-Dl2J_I7A.js"), "./renderers/tabular.tsx": () => import("./tabular-CgzMMdRq.js"), "./renderers/tag.tsx": () => import("./tag-Ie-uFrpm.js"), "./renderers/text.tsx": () => import("./text-JjxNbmxp.js"), "./renderers/textInput.tsx": () => import("./textInput-BWeU5EBE.js"), "./renderers/vector.tsx": () => import("./vector-D1l0iksk.js"), "./renderers/video.tsx": () => import("./video-CMFDzW6d.js") }), `./renderers/${childInstructions.rendererType}.tsx`, 3);
|
|
69
|
-
}
|
|
70
|
-
return rendererPromises;
|
|
71
|
-
});
|
|
72
|
-
}
|
|
73
|
-
return null;
|
|
74
|
-
}
|
|
75
|
-
let child = React__default.createElement(rendererClass, propsForChild);
|
|
76
|
-
return child;
|
|
77
|
-
}
|
|
78
|
-
let rendererType = props.componentInstructions.rendererType;
|
|
79
|
-
const callAction = (argObj) => {
|
|
80
|
-
if (!argObj.componentIdx) {
|
|
81
|
-
argObj = { ...argObj };
|
|
82
|
-
argObj.componentIdx = componentIdx;
|
|
83
|
-
}
|
|
84
|
-
if (!argObj.rendererType) {
|
|
85
|
-
argObj = { ...argObj };
|
|
86
|
-
argObj.rendererType = rendererType;
|
|
87
|
-
}
|
|
88
|
-
return props.callAction(argObj);
|
|
89
|
-
};
|
|
90
|
-
return {
|
|
91
|
-
componentIdx: effectiveIdx,
|
|
92
|
-
id: prefixForIds + id,
|
|
93
|
-
SVs: stateValues,
|
|
94
|
-
docId: props.docId,
|
|
95
|
-
activityId: props.activityId,
|
|
96
|
-
actions,
|
|
97
|
-
children,
|
|
98
|
-
sourceOfUpdate,
|
|
99
|
-
ignoreUpdate,
|
|
100
|
-
rendererName,
|
|
101
|
-
initializeChildren: () => {
|
|
102
|
-
},
|
|
103
|
-
callAction,
|
|
104
|
-
doenetViewerUrl: props.doenetViewerUrl,
|
|
105
|
-
fetchExternalDoenetML: props.fetchExternalDoenetML,
|
|
106
|
-
requestScrollTo: props.requestScrollTo,
|
|
107
|
-
flags: props.flags
|
|
108
|
-
};
|
|
109
|
-
}
|
|
110
|
-
export {
|
|
111
|
-
useDoenetRenderer as u
|
|
112
|
-
};
|