@doenet/doenetml 0.7.21-dev.421 → 0.7.21-dev.422
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-Ca-f1r4c.js → AnswerResponseButton-Dmm9lsfV.js} +2 -2
- package/{Description-B5NRX_cc.js → Description-CGeXuHDe.js} +1 -1
- package/{GraphFrame-1IamFflT.js → GraphFrame-BkfVY6Rs.js} +2 -2
- package/{JSXGraphRenderer-Dm9Ydhz6.js → JSXGraphRenderer-BNukIkMB.js} +1 -1
- package/{NonInlineMediaWrapper-Twk8g5V3.js → NonInlineMediaWrapper-CqdSbLIB.js} +1 -1
- package/{_error-HDElnQ6M.js → _error-iXDYx8b6.js} +2 -2
- package/{alert-BLo9JOYM.js → alert-10gKJqVh.js} +3 -3
- package/{angle-Dl39bnrL.js → angle-H7gggVXo.js} +6 -6
- package/{answer-ozaDw4ln.js → answer-C8Tm-tz-.js} +5 -5
- package/{asList-vyhNFSFT.js → asList-_CDnJFzR.js} +2 -2
- package/{blockQuote-C5Ryi53-.js → blockQuote-C-1EdNSp.js} +3 -3
- package/{boolean-D55Gh0y3.js → boolean-D3XV6OBB.js} +2 -2
- package/{booleanInput-CeTu1GJ2.js → booleanInput-CH5Onzce.js} +6 -6
- package/{br-B-NrXT81.js → br-C0U6hLyf.js} +2 -2
- package/{button-CFiY4uRC.js → button-mStGLK-n.js} +4 -4
- package/{c-V5c6BMYL.js → c-CQU0ZT69.js} +3 -3
- package/{cell-Crqu-Gy8.js → cell-CwjaM6rj.js} +3 -3
- package/{choiceInput-DBj11kC4.js → choiceInput-DMP3Rtam.js} +4 -4
- package/{circle-bioandhY.js → circle-BE8XuXAi.js} +6 -6
- package/{cobwebPolyline-BgEPP08O.js → cobwebPolyline-Djm8Lwwb.js} +4 -4
- package/{codeEditor-BVa4Jw9Z.js → codeEditor-Du2QGGKR.js} +2 -2
- package/{composites-Ue9jiqcv.js → composites-COqp0OWh.js} +1 -1
- package/{containerBlock-C2rxXWpw.js → containerBlock-DoJfOFzW.js} +4 -4
- package/{containerInline-TL4LzlEK.js → containerInline-DZhOomPs.js} +4 -4
- package/{curve-DJUGmhQV.js → curve-D7eLWGKZ.js} +4 -4
- package/{doenetml-BnUyHGze.js → doenetml-Bsr0wuYA.js} +5 -5
- package/doenetml-external-worker.js +2 -2
- package/doenetml-inline-worker.js +2 -2
- package/{ellipsis-hLbZx6W9.js → ellipsis-DSoj6vAD.js} +2 -2
- package/{em-D0tlkcUv.js → em-EUNOQFks.js} +3 -3
- package/{embed-BTgvyR50.js → embed-BuOW28n0.js} +2 -2
- package/{feedback-Pqg4aaJ_.js → feedback-IgKa8aRQ.js} +4 -4
- package/{figure-CpnMVDIV.js → figure-CGRCHYmu.js} +3 -3
- package/{fillPatterns-T0hCeuE0.js → fillPatterns-DcVjleu_.js} +1 -1
- package/{footnote-BLwljql9.js → footnote-BUQm3ImO.js} +3 -3
- package/{fractionInput-DGklJoyy.js → fractionInput-BMA_GPx-.js} +4 -4
- package/{graph-Cl1Ji5xm.js → graph-D8SBsM4I.js} +6 -6
- package/{hint-BJTyaPHs.js → hint-CBksvmfa.js} +4 -4
- package/{hr-kKlf7q_l.js → hr-BmzSuvTw.js} +2 -2
- package/{image-CNXctHdS.js → image-D_YGqimj.js} +7 -7
- package/{index-qgQLGYfe.js → index-C7F-ROMY.js} +1 -1
- package/{index.es-chNARbdd.js → index.es-3FjlFjNy.js} +1 -1
- package/index.js +1 -1
- package/{label-D18OySMO.js → label-kvUd3wk3.js} +6 -6
- package/{labelWithLatex-D1OEMOqn.js → labelWithLatex-Dg5iRHXW.js} +1 -1
- package/{legend-XsF7zMZ0.js → legend-CDMConsf.js} +4 -4
- package/{line-B7pZT_Oo.js → line-DEoBfPm1.js} +6 -6
- package/{lineFamilyDragHandlers-BYsjxtUf.js → lineFamilyDragHandlers-C2XfgMtq.js} +1 -1
- package/{lineSegment-34PGk43r.js → lineSegment-BbRJVCKY.js} +5 -5
- package/{list-YHNWW3sX.js → list-CCQUlJpj.js} +4 -4
- package/{lq-DSvhuxcX.js → lq-Dfs-6tyb.js} +2 -2
- package/{lsq--jl3Ey7F.js → lsq-B_bOIm_D.js} +2 -2
- package/{markupRenderer-Blzjyo_V.js → markupRenderer-BvdOOmU6.js} +1 -1
- package/{math-CPC5W_-H.js → math-DUoPYejw.js} +6 -6
- package/{mathInput-CT6nq_o0.js → mathInput-B6W3bovL.js} +7 -7
- package/{matrixInput-BWNVtA1P.js → matrixInput-CgfuDcf3.js} +4 -4
- package/{mdash-DZKXzoT3.js → mdash-C1yPqhkH.js} +2 -2
- package/{nbsp-DgC9JcQX.js → nbsp-zbZ63c7u.js} +2 -2
- package/{ndash-DUJqzOGh.js → ndash-CdMgZfx-.js} +2 -2
- package/{number-B7a68i15.js → number-DXNZsxgY.js} +6 -6
- package/{orbitalDiagram-EYEAdUAA.js → orbitalDiagram-GTRChjuW.js} +2 -2
- package/{orbitalDiagramInput-CXCkyjsJ.js → orbitalDiagramInput-KEkYA1a4.js} +2 -2
- package/{p-EqKJ6uqm.js → p-C-_eqtUj.js} +4 -4
- package/package.json +1 -1
- package/{paginatorControls-DG8Q03mY.js → paginatorControls-D8k5auRs.js} +2 -2
- package/{pegboard-COGS60ed.js → pegboard-BA7Moi-e.js} +4 -4
- package/{point-DwXTl94V.js → point-CyLZ9vYw.js} +6 -6
- package/{polygon-CRNajWAc.js → polygon-8JT6-FLZ.js} +6 -6
- package/{polyline-j-H8w8kU.js → polyline-TxKKJ6br.js} +5 -5
- package/{pre-BMR2wm98.js → pre-ED_RUrmC.js} +3 -3
- package/{prefigure-Bny4-vHP.js → prefigure-C6bCqCtM.js} +1 -1
- package/{pretzel-BvOzEn6m.js → pretzel-B7oscB78.js} +4 -4
- package/{q-BVVqv8Vk.js → q-k3vGjhBe.js} +3 -3
- package/{ray-BO6wN3JA.js → ray-CAguAvtM.js} +5 -5
- package/{ref-Wqm6UBbX.js → ref-2qUSoq4N.js} +2 -2
- package/{regionBetweenCurveXAxis-DKRaMCAM.js → regionBetweenCurveXAxis-CE404trN.js} +5 -5
- package/{regionBetweenCurves-CpCqUJXI.js → regionBetweenCurves-DKjwKm3j.js} +5 -5
- package/{row-CCCZPPdi.js → row-1Fl_gg9B.js} +2 -2
- package/{rq-Bh38lIHq.js → rq-Cwp65ezy.js} +2 -2
- package/{rsq-BrkLimlV.js → rsq-Dpxn1dKy.js} +2 -2
- package/{section-b4EVDR8A.js → section-DBRJmror.js} +5 -5
- package/{sha256-Bzrm4-tO-sWVLzqNK.js → sha256-Bzrm4-tO-Dowa-FrR.js} +1 -1
- package/{sideBySide-BnyDn0-f.js → sideBySide-D9KSV0gn.js} +2 -2
- package/{slider-CDliGja7.js → slider-_sD_qcl2.js} +3 -3
- package/{solution-CpYijXsU.js → solution-Co7IMA3m.js} +4 -4
- package/{spreadsheet-aljKrWQS.js → spreadsheet-DdYEX9Y4.js} +2 -2
- package/{sq-Dsh_mDag.js → sq-CwRWK1cl.js} +3 -3
- package/{subsetOfRealsInput-Xk1DdBoN.js → subsetOfRealsInput-0wImt5fQ.js} +2 -2
- package/{summaryStatistics-OjF5xQvm.js → summaryStatistics-oRHqrz6-.js} +2 -2
- package/{table--eNDIEc5.js → table-CNay1-6l.js} +2 -2
- package/{tabular-CxldYt2f.js → tabular-XQGTFSRN.js} +2 -2
- package/{tag-Z8CcDn8R.js → tag-DItVf5SO.js} +2 -2
- package/{text-DZ7ybDV1.js → text-GmEtlOkm.js} +6 -6
- package/{textInput-BA0bra7m.js → textInput-Bcqr0Cx2.js} +6 -6
- package/{tooltip-provider-CQrXZnpP.js → tooltip-provider-C_PAkQHi.js} +1 -1
- package/{useAnchoredGraphDragHandler-CM8ry2Xs.js → useAnchoredGraphDragHandler-BZWG8vvb.js} +1 -1
- package/useDoenetRenderer-DgTLXam5.js +114 -0
- package/{useSubmitActionWithDelay-DI8mOwf_.js → useSubmitActionWithDelay-N8Iql_jJ.js} +2 -2
- package/{vector-CATuMvgc.js → vector-6RRmExHn.js} +6 -6
- package/{video-CV8rMlUy.js → video-DVtkzDxr.js} +4 -4
- package/useDoenetRenderer-CbOymbDI.js +0 -114
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { u as useT, x as useContentT, o as useChromeLangDir, y as useRecordVisibilityChanges, t as DocContext, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useT, x as useContentT, o as useChromeLangDir, y as useRecordVisibilityChanges, t as DocContext, q as jsxRuntimeExports } from "./doenetml-Bsr0wuYA.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-DgTLXam5.js";
|
|
4
|
+
import { A as AnswerResponseButton } from "./AnswerResponseButton-Dmm9lsfV.js";
|
|
5
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-N8Iql_jJ.js";
|
|
6
6
|
const pretzel = React__default.memo(function Pretzel(props) {
|
|
7
7
|
let {
|
|
8
8
|
componentIdx,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { q as jsxRuntimeExports } from "./doenetml-Bsr0wuYA.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-DgTLXam5.js";
|
|
4
|
+
import { r as renderMarkupBody } from "./markupRenderer-BvdOOmU6.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 { t as DocContext, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { t as DocContext, q as jsxRuntimeExports } from "./doenetml-Bsr0wuYA.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-BNukIkMB.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DgTLXam5.js";
|
|
5
|
+
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-D8SBsM4I.js";
|
|
6
|
+
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-C2XfgMtq.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 { t as DocContext, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { t as DocContext, q as jsxRuntimeExports } from "./doenetml-Bsr0wuYA.js";
|
|
2
2
|
import React__default, { useContext, useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DgTLXam5.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 { t as DocContext, E as createFunctionFromDefinition, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { t as DocContext, E as createFunctionFromDefinition, q as jsxRuntimeExports } from "./doenetml-Bsr0wuYA.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-BNukIkMB.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DgTLXam5.js";
|
|
5
|
+
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-D8SBsM4I.js";
|
|
6
|
+
import { g as getPatternFillAttributes } from "./fillPatterns-DcVjleu_.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 { t as DocContext, E as createFunctionFromDefinition, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { t as DocContext, E as createFunctionFromDefinition, q as jsxRuntimeExports } from "./doenetml-Bsr0wuYA.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-DgTLXam5.js";
|
|
4
|
+
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-D8SBsM4I.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-DcVjleu_.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-BNukIkMB.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 { q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { q as jsxRuntimeExports } from "./doenetml-Bsr0wuYA.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DgTLXam5.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 { q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { q as jsxRuntimeExports } from "./doenetml-Bsr0wuYA.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DgTLXam5.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 { q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { q as jsxRuntimeExports } from "./doenetml-Bsr0wuYA.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DgTLXam5.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, x as useContentT, L as directionOf, M as useDocumentDirection, N as chromeLangDir, n as useUiLocale, t as DocContext, A as cesc, y as useRecordVisibilityChanges, q as jsxRuntimeExports, O as DocumentDirectionProvider } from "./doenetml-
|
|
1
|
+
import { u as useT, x as useContentT, L as directionOf, M as useDocumentDirection, N as chromeLangDir, n as useUiLocale, t as DocContext, A as cesc, y as useRecordVisibilityChanges, q as jsxRuntimeExports, O as DocumentDirectionProvider } from "./doenetml-Bsr0wuYA.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-3FjlFjNy.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-DgTLXam5.js";
|
|
6
|
+
import { a as addCommasForCompositeRanges } from "./composites-COqp0OWh.js";
|
|
7
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-N8Iql_jJ.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 { y as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { y as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-Bsr0wuYA.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DgTLXam5.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, q as jsxRuntimeExports, P as ActionButtonGroup, Q as ActionButton, z as Context } from "./doenetml-
|
|
1
|
+
import { u as useT, q as jsxRuntimeExports, P as ActionButtonGroup, Q as ActionButton, z as Context } from "./doenetml-Bsr0wuYA.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-DgTLXam5.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-Dg5iRHXW.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, y as useRecordVisibilityChanges, o as useChromeLangDir, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useT, y as useRecordVisibilityChanges, o as useChromeLangDir, q as jsxRuntimeExports } from "./doenetml-Bsr0wuYA.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-DgTLXam5.js";
|
|
4
|
+
import { F as FontAwesomeIcon } from "./index.es-3FjlFjNy.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-COqp0OWh.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 { t as DocContext, y as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { t as DocContext, y as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-Bsr0wuYA.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-DgTLXam5.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 { q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { q as jsxRuntimeExports } from "./doenetml-Bsr0wuYA.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-DgTLXam5.js";
|
|
4
|
+
import { r as renderMarkupBody } from "./markupRenderer-BvdOOmU6.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, y as useRecordVisibilityChanges, q as jsxRuntimeExports, U as ToggleButtonGroup, T as ToggleButton, P as ActionButtonGroup, Q as ActionButton } from "./doenetml-
|
|
1
|
+
import { u as useT, y as useRecordVisibilityChanges, q as jsxRuntimeExports, U as ToggleButtonGroup, T as ToggleButton, P as ActionButtonGroup, Q as ActionButton } from "./doenetml-Bsr0wuYA.js";
|
|
2
2
|
import React__default, { useState, useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DgTLXam5.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, o as useChromeLangDir, y as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useT, o as useChromeLangDir, y as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-Bsr0wuYA.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DgTLXam5.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 { y as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { y as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-Bsr0wuYA.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DgTLXam5.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 { y as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { y as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-Bsr0wuYA.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DgTLXam5.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 { q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { q as jsxRuntimeExports } from "./doenetml-Bsr0wuYA.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DgTLXam5.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 { t as DocContext, z as Context, q as jsxRuntimeExports, v as textRendererStyle } from "./doenetml-
|
|
1
|
+
import { t as DocContext, z as Context, q as jsxRuntimeExports, v as textRendererStyle } from "./doenetml-Bsr0wuYA.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-BNukIkMB.js";
|
|
4
|
+
import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-D8SBsM4I.js";
|
|
5
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DgTLXam5.js";
|
|
6
6
|
import { g as getPositionFromAnchorByCoordinate } from "./graph-W6vrFcBu.js";
|
|
7
|
-
import { ChoiceInputInlineContext } from "./choiceInput-
|
|
7
|
+
import { ChoiceInputInlineContext } from "./choiceInput-DMP3Rtam.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-BZWG8vvb.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 { x as useContentT, z as Context, q as jsxRuntimeExports, R as MathJax } from "./doenetml-
|
|
1
|
+
import { x as useContentT, z as Context, q as jsxRuntimeExports, R as MathJax } from "./doenetml-Bsr0wuYA.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-BNukIkMB.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DgTLXam5.js";
|
|
5
5
|
import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
|
|
6
|
-
import { BoardContext } from "./graph-
|
|
6
|
+
import { BoardContext } from "./graph-D8SBsM4I.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-N8Iql_jJ.js";
|
|
9
|
+
import { D as DescriptionPopover } from "./Description-CGeXuHDe.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 { ac as createStoreContext, ad as HovercardScopedContextProvider, ae as HovercardContextProvider, af as createDialogComponent, X as forwardRef, Y as createElement, Z as createHook, a0 as invariant, ag as useWrapElement, q as jsxRuntimeExports, a1 as useStoreState, ah as useHovercard, ai as isFalsyBooleanCallback, aj as contains, ak as sync, al as chain, am as useEvent, an as useHovercardAnchor, ao as createStore, ap as createHovercardStore, aq as defaultValue, ar as useStore, as as useStoreProps, at as useHovercardStoreProps } from "./doenetml-
|
|
1
|
+
import { ac as createStoreContext, ad as HovercardScopedContextProvider, ae as HovercardContextProvider, af as createDialogComponent, X as forwardRef, Y as createElement, Z as createHook, a0 as invariant, ag as useWrapElement, q as jsxRuntimeExports, a1 as useStoreState, ah as useHovercard, ai as isFalsyBooleanCallback, aj as contains, ak as sync, al as chain, am as useEvent, an as useHovercardAnchor, ao as createStore, ap as createHovercardStore, aq as defaultValue, ar as useStore, as as useStoreProps, at as useHovercardStoreProps } from "./doenetml-Bsr0wuYA.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-BNukIkMB.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 { G as useAppSelector, H as mainSlice, I as renderersLoadComponent, _ as __variableDynamicImportRuntimeHelper } from "./doenetml-Bsr0wuYA.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-BkfVY6Rs.js"), "./renderers/JSXGraphRenderer.tsx": () => import("./JSXGraphRenderer-BNukIkMB.js").then((n) => n.m), "./renderers/_error.tsx": () => import("./_error-iXDYx8b6.js"), "./renderers/alert.tsx": () => import("./alert-10gKJqVh.js"), "./renderers/angle.tsx": () => import("./angle-H7gggVXo.js"), "./renderers/answer.tsx": () => import("./answer-C8Tm-tz-.js"), "./renderers/asList.tsx": () => import("./asList-_CDnJFzR.js"), "./renderers/blockQuote.tsx": () => import("./blockQuote-C-1EdNSp.js"), "./renderers/boolean.tsx": () => import("./boolean-D3XV6OBB.js"), "./renderers/booleanInput.tsx": () => import("./booleanInput-CH5Onzce.js"), "./renderers/br.tsx": () => import("./br-C0U6hLyf.js"), "./renderers/button.tsx": () => import("./button-mStGLK-n.js"), "./renderers/c.tsx": () => import("./c-CQU0ZT69.js"), "./renderers/cell.tsx": () => import("./cell-CwjaM6rj.js"), "./renderers/choiceInput.tsx": () => import("./choiceInput-DMP3Rtam.js"), "./renderers/circle.tsx": () => import("./circle-BE8XuXAi.js"), "./renderers/cobwebPolyline.tsx": () => import("./cobwebPolyline-Djm8Lwwb.js"), "./renderers/codeEditor.tsx": () => import("./codeEditor-Du2QGGKR.js"), "./renderers/containerBlock.tsx": () => import("./containerBlock-DoJfOFzW.js"), "./renderers/containerInline.tsx": () => import("./containerInline-DZhOomPs.js"), "./renderers/curve.tsx": () => import("./curve-D7eLWGKZ.js"), "./renderers/ellipsis.tsx": () => import("./ellipsis-DSoj6vAD.js"), "./renderers/em.tsx": () => import("./em-EUNOQFks.js"), "./renderers/embed.tsx": () => import("./embed-BuOW28n0.js"), "./renderers/feedback.tsx": () => import("./feedback-IgKa8aRQ.js"), "./renderers/figure.tsx": () => import("./figure-CGRCHYmu.js"), "./renderers/footnote.tsx": () => import("./footnote-BUQm3ImO.js"), "./renderers/fractionInput.tsx": () => import("./fractionInput-BMA_GPx-.js"), "./renderers/graph.tsx": () => import("./graph-D8SBsM4I.js"), "./renderers/hint.tsx": () => import("./hint-CBksvmfa.js"), "./renderers/hr.tsx": () => import("./hr-BmzSuvTw.js"), "./renderers/image.tsx": () => import("./image-D_YGqimj.js"), "./renderers/label.tsx": () => import("./label-kvUd3wk3.js"), "./renderers/legend.tsx": () => import("./legend-CDMConsf.js"), "./renderers/line.tsx": () => import("./line-DEoBfPm1.js"), "./renderers/lineSegment.tsx": () => import("./lineSegment-BbRJVCKY.js"), "./renderers/list.tsx": () => import("./list-CCQUlJpj.js"), "./renderers/lq.tsx": () => import("./lq-Dfs-6tyb.js"), "./renderers/lsq.tsx": () => import("./lsq-B_bOIm_D.js"), "./renderers/math.tsx": () => import("./math-DUoPYejw.js"), "./renderers/mathInput.tsx": () => import("./mathInput-B6W3bovL.js"), "./renderers/matrixInput.tsx": () => import("./matrixInput-CgfuDcf3.js"), "./renderers/mdash.tsx": () => import("./mdash-C1yPqhkH.js"), "./renderers/nbsp.tsx": () => import("./nbsp-zbZ63c7u.js"), "./renderers/ndash.tsx": () => import("./ndash-CdMgZfx-.js"), "./renderers/number.tsx": () => import("./number-DXNZsxgY.js"), "./renderers/orbitalDiagram.tsx": () => import("./orbitalDiagram-GTRChjuW.js"), "./renderers/orbitalDiagramInput.tsx": () => import("./orbitalDiagramInput-KEkYA1a4.js"), "./renderers/p.tsx": () => import("./p-C-_eqtUj.js"), "./renderers/paginatorControls.tsx": () => import("./paginatorControls-D8k5auRs.js"), "./renderers/pegboard.tsx": () => import("./pegboard-BA7Moi-e.js"), "./renderers/point.tsx": () => import("./point-CyLZ9vYw.js"), "./renderers/polygon.tsx": () => import("./polygon-8JT6-FLZ.js"), "./renderers/polyline.tsx": () => import("./polyline-TxKKJ6br.js"), "./renderers/pre.tsx": () => import("./pre-ED_RUrmC.js"), "./renderers/prefigure.tsx": () => import("./prefigure-C6bCqCtM.js"), "./renderers/pretzel.tsx": () => import("./pretzel-B7oscB78.js"), "./renderers/q.tsx": () => import("./q-k3vGjhBe.js"), "./renderers/ray.tsx": () => import("./ray-CAguAvtM.js"), "./renderers/ref.tsx": () => import("./ref-2qUSoq4N.js"), "./renderers/regionBetweenCurveXAxis.tsx": () => import("./regionBetweenCurveXAxis-CE404trN.js"), "./renderers/regionBetweenCurves.tsx": () => import("./regionBetweenCurves-DKjwKm3j.js"), "./renderers/row.tsx": () => import("./row-1Fl_gg9B.js"), "./renderers/rq.tsx": () => import("./rq-Cwp65ezy.js"), "./renderers/rsq.tsx": () => import("./rsq-Dpxn1dKy.js"), "./renderers/section.tsx": () => import("./section-DBRJmror.js"), "./renderers/sideBySide.tsx": () => import("./sideBySide-D9KSV0gn.js"), "./renderers/slider.tsx": () => import("./slider-_sD_qcl2.js"), "./renderers/solution.tsx": () => import("./solution-Co7IMA3m.js"), "./renderers/spreadsheet.tsx": () => import("./spreadsheet-DdYEX9Y4.js"), "./renderers/sq.tsx": () => import("./sq-CwRWK1cl.js"), "./renderers/subsetOfRealsInput.tsx": () => import("./subsetOfRealsInput-0wImt5fQ.js"), "./renderers/summaryStatistics.tsx": () => import("./summaryStatistics-oRHqrz6-.js"), "./renderers/table.tsx": () => import("./table-CNay1-6l.js"), "./renderers/tabular.tsx": () => import("./tabular-XQGTFSRN.js"), "./renderers/tag.tsx": () => import("./tag-DItVf5SO.js"), "./renderers/text.tsx": () => import("./text-GmEtlOkm.js"), "./renderers/textInput.tsx": () => import("./textInput-Bcqr0Cx2.js"), "./renderers/vector.tsx": () => import("./vector-6RRmExHn.js"), "./renderers/video.tsx": () => import("./video-DVtkzDxr.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 { q as jsxRuntimeExports } from "./doenetml-
|
|
2
|
-
import { F as FontAwesomeIcon } from "./index.es-
|
|
1
|
+
import { q as jsxRuntimeExports } from "./doenetml-Bsr0wuYA.js";
|
|
2
|
+
import { F as FontAwesomeIcon } from "./index.es-3FjlFjNy.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 { t as DocContext, q as jsxRuntimeExports, v as textRendererStyle, w as DynamicMath } from "./doenetml-
|
|
1
|
+
import { t as DocContext, q as jsxRuntimeExports, v as textRendererStyle, w as DynamicMath } from "./doenetml-Bsr0wuYA.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-BNukIkMB.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DgTLXam5.js";
|
|
5
|
+
import { BoardContext, VERTEX_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-D8SBsM4I.js";
|
|
6
|
+
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-C2XfgMtq.js";
|
|
7
|
+
import { ChoiceInputInlineContext } from "./choiceInput-DMP3Rtam.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 { y as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { y as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-Bsr0wuYA.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-DgTLXam5.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-CGeXuHDe.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-CqdSbLIB.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;
|