@doenet/doenetml 0.7.21-dev.414 → 0.7.21-dev.415
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-BAXbj7kj.js → AnswerResponseButton-CsMwAC3t.js} +2 -2
- package/{Description-D7DQiy4U.js → Description-B_KGuyjX.js} +1 -1
- package/{GraphFrame-BweM4x8M.js → GraphFrame-BCe-sXyY.js} +2 -2
- package/{JSXGraphRenderer-CUxawCfe.js → JSXGraphRenderer-CTbAGksr.js} +1 -1
- package/{NonInlineMediaWrapper-BxTS8hP-.js → NonInlineMediaWrapper-DqUh14n5.js} +1 -1
- package/{_error-CC7OLgi5.js → _error-8CVqZvs9.js} +2 -2
- package/{alert-CGnI5eOc.js → alert-CnVNVwp0.js} +3 -3
- package/{angle-D9isRQsq.js → angle-DtykfDvk.js} +6 -6
- package/{answer-YZ6bVvDY.js → answer-D8_55NUB.js} +5 -5
- package/{asList-Dxtoz4d2.js → asList-Cvb4HFYc.js} +2 -2
- package/{blockQuote-CtWJTO6D.js → blockQuote-CD7LAibH.js} +3 -3
- package/{boolean-xw_iC-2s.js → boolean-i9xt_Fyy.js} +2 -2
- package/{booleanInput-BCwHrXOH.js → booleanInput-DxN2aj4D.js} +6 -6
- package/{br-CN3TI8UG.js → br-Ch6INIwC.js} +2 -2
- package/{button-8CGxyPJE.js → button-B5SnRU2e.js} +4 -4
- package/{c-C9ha-0b3.js → c-DArDpN4A.js} +3 -3
- package/{cell-BLoLbnXd.js → cell-BFX6fxf0.js} +3 -3
- package/{choiceInput-CHWc1w2P.js → choiceInput-DXKjyCqp.js} +4 -4
- package/{circle-Cn4dm6Eh.js → circle-AbQzXEA5.js} +6 -6
- package/{cobwebPolyline-BCFqOROa.js → cobwebPolyline-CB6cVyKX.js} +4 -4
- package/{codeEditor-CUx39nAv.js → codeEditor-D0vhTs3g.js} +2 -2
- package/{composites-B1haO7oZ.js → composites-BY7-JuTc.js} +1 -1
- package/{containerBlock-BAvZvoOC.js → containerBlock-Cm-kBh3q.js} +4 -4
- package/{containerInline-BlWCZIi7.js → containerInline-CcOaOhs8.js} +4 -4
- package/{curve-C_gRM5Ew.js → curve-CdVn_xI2.js} +4 -4
- package/{doenetml-K0U3nAj1.js → doenetml-RwjW6x7w.js} +5 -5
- package/doenetml-external-worker.js +2 -2
- package/doenetml-inline-worker.js +2 -2
- package/{ellipsis-BLb2Ivus.js → ellipsis-DVinv6-1.js} +2 -2
- package/{em-CJVWqnoc.js → em-B8Bn3iQ8.js} +3 -3
- package/{embed-Dm2dGl7N.js → embed-CCP_3Jzm.js} +2 -2
- package/{feedback-H71dMitQ.js → feedback-C7b_K-S3.js} +4 -4
- package/{figure-BaKjSNah.js → figure-vxfnUy1i.js} +3 -3
- package/{fillPatterns-BUW17QQa.js → fillPatterns-Cwsbhubm.js} +1 -1
- package/{footnote-ClocAxhy.js → footnote-DniX_WDV.js} +3 -3
- package/{fractionInput-BB4aovlL.js → fractionInput-Byd4TDY-.js} +4 -4
- package/{graph-_elvN6KO.js → graph-BpbjUn8w.js} +6 -6
- package/{hint-HfKucLFl.js → hint-BSyMGzDu.js} +4 -4
- package/{hr-CQ8u04xQ.js → hr-Dv_52Wxd.js} +2 -2
- package/{image-BimLGrVX.js → image-CDzqgIV7.js} +7 -7
- package/{index-CG8q77jZ.js → index-Ci4K0tDE.js} +1 -1
- package/{index.es-BSrlnJxI.js → index.es-BCeR6l3D.js} +1 -1
- package/index.js +1 -1
- package/{label-Dl4hnv9q.js → label-BpLxA1Ur.js} +6 -6
- package/{labelWithLatex-Cm75MuIL.js → labelWithLatex-CsOmIYzz.js} +1 -1
- package/{legend-BiX7Kv87.js → legend-ZPzJ1SLv.js} +4 -4
- package/{line-0yHHK0uo.js → line-B1QiilgT.js} +6 -6
- package/{lineFamilyDragHandlers-BtejdTcl.js → lineFamilyDragHandlers-DVSxZbFk.js} +1 -1
- package/{lineSegment-CDBeH3-c.js → lineSegment-CT3KASYT.js} +5 -5
- package/{list-BYC5gBjN.js → list-CseGxUq-.js} +4 -4
- package/{lq-CTrL309t.js → lq-CAAidAOg.js} +2 -2
- package/{lsq-D8oUU3HF.js → lsq-B28Z8bv3.js} +2 -2
- package/{markupRenderer-dcLUQES4.js → markupRenderer-BtKUERzJ.js} +1 -1
- package/{math-oN3X6Fcu.js → math-BREIxh-E.js} +6 -6
- package/{mathInput-Bgb8JfTl.js → mathInput-BkKkb63g.js} +7 -7
- package/{matrixInput-Bk6zYzvy.js → matrixInput-BNWpketN.js} +4 -4
- package/{mdash-DGX50OQt.js → mdash-9jp_u7Un.js} +2 -2
- package/{nbsp-BhTIAQMM.js → nbsp-C8hCQ6TS.js} +2 -2
- package/{ndash-D3LnWFFi.js → ndash-CmJAVnNq.js} +2 -2
- package/{number-CswIY83t.js → number-r1umcD9p.js} +6 -6
- package/{orbitalDiagram-Cmyy8EyX.js → orbitalDiagram-CaNwebaQ.js} +2 -2
- package/{orbitalDiagramInput-DAAHsSwH.js → orbitalDiagramInput-B5JhTAdB.js} +2 -2
- package/{p-CnfF2ZCc.js → p-DP7YNDfx.js} +4 -4
- package/package.json +1 -1
- package/{paginatorControls-CJdq5Ok0.js → paginatorControls-B-qNFkKU.js} +2 -2
- package/{pegboard-BR6fbTVp.js → pegboard-D7nAJ6RY.js} +4 -4
- package/{point-oAiTw1yZ.js → point-C59ja3n2.js} +6 -6
- package/{polygon-2pVfr4vR.js → polygon-CT-ARozK.js} +6 -6
- package/{polyline-A9O9CMsQ.js → polyline-DeGq7WP0.js} +5 -5
- package/{pre-Cu4G11Ve.js → pre-BHH6fa9U.js} +3 -3
- package/{prefigure-D1iwanBd.js → prefigure-BnSkAPHE.js} +1 -1
- package/{pretzel-wGwlZR7u.js → pretzel-CC5NgapN.js} +4 -4
- package/{q-DifeA8ye.js → q-CcNznZUD.js} +3 -3
- package/{ray-CeMqVIpB.js → ray-D1b2GIcp.js} +5 -5
- package/{ref-CirmDIG4.js → ref-OLToqdQ5.js} +2 -2
- package/{regionBetweenCurveXAxis-cntg_5yu.js → regionBetweenCurveXAxis-PPEOPw8t.js} +5 -5
- package/{regionBetweenCurves-KV0hZltY.js → regionBetweenCurves-DOtEzJak.js} +5 -5
- package/{row--YuuFi7-.js → row-D42z_svT.js} +2 -2
- package/{rq-BPZevSp-.js → rq-DdecWWBG.js} +2 -2
- package/{rsq-CnCkyPMl.js → rsq-D2qKFBXV.js} +2 -2
- package/{section-BVp10S8c.js → section-AwW9I9a-.js} +5 -5
- package/{sha256-Bzrm4-tO-COrsjypW.js → sha256-Bzrm4-tO-BHq68al3.js} +1 -1
- package/{sideBySide-fPNTy5D_.js → sideBySide-BE1-5d7U.js} +2 -2
- package/{slider-DLPYfo0B.js → slider-B92oejpK.js} +3 -3
- package/{solution-JrqguZO4.js → solution-DuvHYP7q.js} +4 -4
- package/{spreadsheet-BGDpfQMy.js → spreadsheet-CYi5VTRB.js} +2 -2
- package/{sq-CPAu1kpX.js → sq-CGmtbJG8.js} +3 -3
- package/{subsetOfRealsInput-p13ESgI_.js → subsetOfRealsInput-Dof9pDQJ.js} +2 -2
- package/{summaryStatistics-DW68T7GB.js → summaryStatistics-CHLmwy4B.js} +2 -2
- package/{table-DveZzS6m.js → table-Ds4FsDXG.js} +2 -2
- package/{tabular-CAX3e-pl.js → tabular-D93ZooVU.js} +2 -2
- package/{tag-DbnIplog.js → tag-CQG7jGLX.js} +2 -2
- package/{text-5TjEYk01.js → text-Cs4GBrRa.js} +6 -6
- package/{textInput-DkTUtl8A.js → textInput-D08eVSJy.js} +6 -6
- package/{tooltip-provider-CaXI-D38.js → tooltip-provider-mEVAI_oo.js} +1 -1
- package/{useAnchoredGraphDragHandler-C6whw4IS.js → useAnchoredGraphDragHandler-CE3goik5.js} +1 -1
- package/useDoenetRenderer-BUPvEAwn.js +114 -0
- package/{useSubmitActionWithDelay-UIuMCWGO.js → useSubmitActionWithDelay-Bl1nM1Rc.js} +2 -2
- package/{vector-Bvtt5sAH.js → vector-DTjqdT0D.js} +6 -6
- package/{video-CF6APd4x.js → video-Bj4ChYgg.js} +4 -4
- package/useDoenetRenderer-BblKald1.js +0 -114
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { u as useT, w as useContentT, x as useRecordVisibilityChanges, q as DocContext, p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useT, w as useContentT, x as useRecordVisibilityChanges, q as DocContext, p as jsxRuntimeExports } from "./doenetml-RwjW6x7w.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-BUPvEAwn.js";
|
|
4
|
+
import { A as AnswerResponseButton } from "./AnswerResponseButton-CsMwAC3t.js";
|
|
5
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-Bl1nM1Rc.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-RwjW6x7w.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-BUPvEAwn.js";
|
|
4
|
+
import { r as renderMarkupBody } from "./markupRenderer-BtKUERzJ.js";
|
|
5
5
|
const q = React__default.memo(function Q(props) {
|
|
6
6
|
const { SVs, children } = useDoenetRenderer(props);
|
|
7
7
|
const body = renderMarkupBody({ SVs, children });
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { q as DocContext, p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { q as DocContext, p as jsxRuntimeExports } from "./doenetml-RwjW6x7w.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-CTbAGksr.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BUPvEAwn.js";
|
|
5
|
+
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-BpbjUn8w.js";
|
|
6
|
+
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-DVSxZbFk.js";
|
|
7
7
|
import { a as buildLineLikeAttributes } from "./buildGraphicalAttributes-C7PtyKL7.js";
|
|
8
8
|
import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-DV6a8Wvg.js";
|
|
9
9
|
import { p as pointerEventToUserCoords } from "./dragThreshold-DuSSFrIU.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { q as DocContext, p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { q as DocContext, p as jsxRuntimeExports } from "./doenetml-RwjW6x7w.js";
|
|
2
2
|
import React__default, { useContext, useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BUPvEAwn.js";
|
|
4
4
|
const ref = React__default.memo(function Ref(props) {
|
|
5
5
|
const { id, SVs, children, requestScrollTo } = useDoenetRenderer(props);
|
|
6
6
|
const { doenetViewerUrl } = useContext(DocContext) || {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { q as DocContext, A as createFunctionFromDefinition, p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { q as DocContext, A as createFunctionFromDefinition, p as jsxRuntimeExports } from "./doenetml-RwjW6x7w.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-CTbAGksr.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BUPvEAwn.js";
|
|
5
|
+
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-BpbjUn8w.js";
|
|
6
|
+
import { g as getPatternFillAttributes } from "./fillPatterns-Cwsbhubm.js";
|
|
7
7
|
import { b as resolveCanvasColor } from "./styleColors-Cknqcr0q.js";
|
|
8
8
|
const regionBetweenCurveXAxis = React__default.memo(function RegionBetweenCurveXAxis(props) {
|
|
9
9
|
let { id, SVs } = useDoenetRenderer(props);
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { q as DocContext, A as createFunctionFromDefinition, p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { q as DocContext, A as createFunctionFromDefinition, p as jsxRuntimeExports } from "./doenetml-RwjW6x7w.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-BUPvEAwn.js";
|
|
4
|
+
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-BpbjUn8w.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-Cwsbhubm.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-CTbAGksr.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-RwjW6x7w.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BUPvEAwn.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-RwjW6x7w.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BUPvEAwn.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-RwjW6x7w.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BUPvEAwn.js";
|
|
4
4
|
const rsq = React__default.memo(function Rsq(props) {
|
|
5
5
|
let { SVs } = useDoenetRenderer(props, false);
|
|
6
6
|
if (SVs.hidden) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { u as useT, w as useContentT, q as DocContext, z as cesc, x as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useT, w as useContentT, q as DocContext, z as cesc, x as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-RwjW6x7w.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-BCeR6l3D.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-BUPvEAwn.js";
|
|
6
|
+
import { a as addCommasForCompositeRanges } from "./composites-BY7-JuTc.js";
|
|
7
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-Bl1nM1Rc.js";
|
|
8
8
|
import { c as clickToToggleLabel } from "./disclosure-axyZa36E.js";
|
|
9
9
|
const section = React__default.memo(function Section(props) {
|
|
10
10
|
let { id, SVs, children, actions, callAction } = useDoenetRenderer(props);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { x as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { x as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-RwjW6x7w.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BUPvEAwn.js";
|
|
4
4
|
import { a as getBlockMarginWithOptionalTopSuppression } from "./nonInlineMediaLayout-CkXHaqzo.js";
|
|
5
5
|
function isWhitespaceTextChild(child) {
|
|
6
6
|
return typeof child === "string" && child.trim() === "";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { u as useT, p as jsxRuntimeExports, K as ActionButtonGroup, L as ActionButton, y as Context } from "./doenetml-
|
|
1
|
+
import { u as useT, p as jsxRuntimeExports, K as ActionButtonGroup, L as ActionButton, y as Context } from "./doenetml-RwjW6x7w.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-BUPvEAwn.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-CsOmIYzz.js";
|
|
6
6
|
let round_to_decimals = (x, n) => {
|
|
7
7
|
try {
|
|
8
8
|
return Context.round_numbers_to_decimals(x, n).tree;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { u as useT, x as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useT, x as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-RwjW6x7w.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-BUPvEAwn.js";
|
|
4
|
+
import { F as FontAwesomeIcon } from "./index.es-BCeR6l3D.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-BY7-JuTc.js";
|
|
7
7
|
import { c as clickToToggleLabel } from "./disclosure-axyZa36E.js";
|
|
8
8
|
const solution = React__default.memo(function Solution(props) {
|
|
9
9
|
let { id, SVs, children, actions, callAction } = useDoenetRenderer(props);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { q as DocContext, x as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { q as DocContext, x as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-RwjW6x7w.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-BUPvEAwn.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-RwjW6x7w.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-BUPvEAwn.js";
|
|
4
|
+
import { r as renderMarkupBody } from "./markupRenderer-BtKUERzJ.js";
|
|
5
5
|
const sq = React__default.memo(function Sq(props) {
|
|
6
6
|
const { SVs, children } = useDoenetRenderer(props);
|
|
7
7
|
const body = renderMarkupBody({ SVs, children });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { u as useT, x as useRecordVisibilityChanges, p as jsxRuntimeExports, O as ToggleButtonGroup, T as ToggleButton, K as ActionButtonGroup, L as ActionButton } from "./doenetml-
|
|
1
|
+
import { u as useT, x as useRecordVisibilityChanges, p as jsxRuntimeExports, O as ToggleButtonGroup, T as ToggleButton, K as ActionButtonGroup, L as ActionButton } from "./doenetml-RwjW6x7w.js";
|
|
2
2
|
import React__default, { useState, useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BUPvEAwn.js";
|
|
4
4
|
const subsetOfRealsInput = React__default.memo(function subsetOfReals(props) {
|
|
5
5
|
let { id, SVs, actions, callAction } = useDoenetRenderer(props, false);
|
|
6
6
|
let [mode, setMode] = useState("add remove points");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { u as useT, x as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useT, x as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-RwjW6x7w.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BUPvEAwn.js";
|
|
4
4
|
import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
|
|
5
5
|
const summaryStatistics = React__default.memo(function SummaryStatistics(props) {
|
|
6
6
|
let { id, SVs, actions, callAction } = useDoenetRenderer(props);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { x as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { x as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-RwjW6x7w.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BUPvEAwn.js";
|
|
4
4
|
const table = React__default.memo(function Table(props) {
|
|
5
5
|
let { id, SVs, children, actions, callAction } = useDoenetRenderer(props);
|
|
6
6
|
const ref = useRef(null);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { x as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { x as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-RwjW6x7w.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BUPvEAwn.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-RwjW6x7w.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BUPvEAwn.js";
|
|
4
4
|
const tag = React__default.memo(function Tag(props) {
|
|
5
5
|
let { id, SVs, children } = useDoenetRenderer(props);
|
|
6
6
|
if (SVs.hidden) {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { q as DocContext, y as Context, p as jsxRuntimeExports, t as textRendererStyle } from "./doenetml-
|
|
1
|
+
import { q as DocContext, y as Context, p as jsxRuntimeExports, t as textRendererStyle } from "./doenetml-RwjW6x7w.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-CTbAGksr.js";
|
|
4
|
+
import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-BpbjUn8w.js";
|
|
5
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BUPvEAwn.js";
|
|
6
6
|
import { g as getPositionFromAnchorByCoordinate } from "./graph-W6vrFcBu.js";
|
|
7
|
-
import { ChoiceInputInlineContext } from "./choiceInput-
|
|
7
|
+
import { ChoiceInputInlineContext } from "./choiceInput-DXKjyCqp.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-CE3goik5.js";
|
|
11
11
|
const text = React__default.memo(function Text(props) {
|
|
12
12
|
let { componentIdx, id, SVs, actions, callAction } = useDoenetRenderer(props);
|
|
13
13
|
Text.ignoreActionsWithoutCore = () => true;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { w as useContentT, y as Context, p as jsxRuntimeExports, M as MathJax } from "./doenetml-
|
|
1
|
+
import { w as useContentT, y as Context, p as jsxRuntimeExports, M as MathJax } from "./doenetml-RwjW6x7w.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-CTbAGksr.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BUPvEAwn.js";
|
|
5
5
|
import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
|
|
6
|
-
import { BoardContext } from "./graph-
|
|
6
|
+
import { BoardContext } from "./graph-BpbjUn8w.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-Bl1nM1Rc.js";
|
|
9
|
+
import { D as DescriptionPopover } from "./Description-B_KGuyjX.js";
|
|
10
10
|
import { a as addValidationStateToShortDescription } from "./validationState-DI_lxk1a.js";
|
|
11
11
|
function TextInput(props) {
|
|
12
12
|
let { id, SVs, children, actions, ignoreUpdate, callAction } = useDoenetRenderer(props);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a7 as createStoreContext, a8 as HovercardScopedContextProvider, a9 as HovercardContextProvider, aa as createDialogComponent, R as forwardRef, S as createElement, U as createHook, W as invariant, ab as useWrapElement, p as jsxRuntimeExports, X as useStoreState, ac as useHovercard, ad as isFalsyBooleanCallback, ae as contains, af as sync, ag as chain, ah as useEvent, ai as useHovercardAnchor, aj as createStore, ak as createHovercardStore, al as defaultValue, am as useStore, an as useStoreProps, ao as useHovercardStoreProps } from "./doenetml-
|
|
1
|
+
import { a7 as createStoreContext, a8 as HovercardScopedContextProvider, a9 as HovercardContextProvider, aa as createDialogComponent, R as forwardRef, S as createElement, U as createHook, W as invariant, ab as useWrapElement, p as jsxRuntimeExports, X as useStoreState, ac as useHovercard, ad as isFalsyBooleanCallback, ae as contains, af as sync, ag as chain, ah as useEvent, ai as useHovercardAnchor, aj as createStore, ak as createHovercardStore, al as defaultValue, am as useStore, an as useStoreProps, ao as useHovercardStoreProps } from "./doenetml-RwjW6x7w.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-CTbAGksr.js";
|
|
2
2
|
import { e as exceededDragThreshold, p as pointerEventToUserCoords } from "./dragThreshold-DuSSFrIU.js";
|
|
3
3
|
function attachAnchoredGraphDragHandlers(params) {
|
|
4
4
|
const {
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import { F as useAppSelector, G as mainSlice, H as renderersLoadComponent, _ as __variableDynamicImportRuntimeHelper } from "./doenetml-RwjW6x7w.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-BCe-sXyY.js"), "./renderers/JSXGraphRenderer.tsx": () => import("./JSXGraphRenderer-CTbAGksr.js").then((n) => n.m), "./renderers/_error.tsx": () => import("./_error-8CVqZvs9.js"), "./renderers/alert.tsx": () => import("./alert-CnVNVwp0.js"), "./renderers/angle.tsx": () => import("./angle-DtykfDvk.js"), "./renderers/answer.tsx": () => import("./answer-D8_55NUB.js"), "./renderers/asList.tsx": () => import("./asList-Cvb4HFYc.js"), "./renderers/blockQuote.tsx": () => import("./blockQuote-CD7LAibH.js"), "./renderers/boolean.tsx": () => import("./boolean-i9xt_Fyy.js"), "./renderers/booleanInput.tsx": () => import("./booleanInput-DxN2aj4D.js"), "./renderers/br.tsx": () => import("./br-Ch6INIwC.js"), "./renderers/button.tsx": () => import("./button-B5SnRU2e.js"), "./renderers/c.tsx": () => import("./c-DArDpN4A.js"), "./renderers/cell.tsx": () => import("./cell-BFX6fxf0.js"), "./renderers/choiceInput.tsx": () => import("./choiceInput-DXKjyCqp.js"), "./renderers/circle.tsx": () => import("./circle-AbQzXEA5.js"), "./renderers/cobwebPolyline.tsx": () => import("./cobwebPolyline-CB6cVyKX.js"), "./renderers/codeEditor.tsx": () => import("./codeEditor-D0vhTs3g.js"), "./renderers/containerBlock.tsx": () => import("./containerBlock-Cm-kBh3q.js"), "./renderers/containerInline.tsx": () => import("./containerInline-CcOaOhs8.js"), "./renderers/curve.tsx": () => import("./curve-CdVn_xI2.js"), "./renderers/ellipsis.tsx": () => import("./ellipsis-DVinv6-1.js"), "./renderers/em.tsx": () => import("./em-B8Bn3iQ8.js"), "./renderers/embed.tsx": () => import("./embed-CCP_3Jzm.js"), "./renderers/feedback.tsx": () => import("./feedback-C7b_K-S3.js"), "./renderers/figure.tsx": () => import("./figure-vxfnUy1i.js"), "./renderers/footnote.tsx": () => import("./footnote-DniX_WDV.js"), "./renderers/fractionInput.tsx": () => import("./fractionInput-Byd4TDY-.js"), "./renderers/graph.tsx": () => import("./graph-BpbjUn8w.js"), "./renderers/hint.tsx": () => import("./hint-BSyMGzDu.js"), "./renderers/hr.tsx": () => import("./hr-Dv_52Wxd.js"), "./renderers/image.tsx": () => import("./image-CDzqgIV7.js"), "./renderers/label.tsx": () => import("./label-BpLxA1Ur.js"), "./renderers/legend.tsx": () => import("./legend-ZPzJ1SLv.js"), "./renderers/line.tsx": () => import("./line-B1QiilgT.js"), "./renderers/lineSegment.tsx": () => import("./lineSegment-CT3KASYT.js"), "./renderers/list.tsx": () => import("./list-CseGxUq-.js"), "./renderers/lq.tsx": () => import("./lq-CAAidAOg.js"), "./renderers/lsq.tsx": () => import("./lsq-B28Z8bv3.js"), "./renderers/math.tsx": () => import("./math-BREIxh-E.js"), "./renderers/mathInput.tsx": () => import("./mathInput-BkKkb63g.js"), "./renderers/matrixInput.tsx": () => import("./matrixInput-BNWpketN.js"), "./renderers/mdash.tsx": () => import("./mdash-9jp_u7Un.js"), "./renderers/nbsp.tsx": () => import("./nbsp-C8hCQ6TS.js"), "./renderers/ndash.tsx": () => import("./ndash-CmJAVnNq.js"), "./renderers/number.tsx": () => import("./number-r1umcD9p.js"), "./renderers/orbitalDiagram.tsx": () => import("./orbitalDiagram-CaNwebaQ.js"), "./renderers/orbitalDiagramInput.tsx": () => import("./orbitalDiagramInput-B5JhTAdB.js"), "./renderers/p.tsx": () => import("./p-DP7YNDfx.js"), "./renderers/paginatorControls.tsx": () => import("./paginatorControls-B-qNFkKU.js"), "./renderers/pegboard.tsx": () => import("./pegboard-D7nAJ6RY.js"), "./renderers/point.tsx": () => import("./point-C59ja3n2.js"), "./renderers/polygon.tsx": () => import("./polygon-CT-ARozK.js"), "./renderers/polyline.tsx": () => import("./polyline-DeGq7WP0.js"), "./renderers/pre.tsx": () => import("./pre-BHH6fa9U.js"), "./renderers/prefigure.tsx": () => import("./prefigure-BnSkAPHE.js"), "./renderers/pretzel.tsx": () => import("./pretzel-CC5NgapN.js"), "./renderers/q.tsx": () => import("./q-CcNznZUD.js"), "./renderers/ray.tsx": () => import("./ray-D1b2GIcp.js"), "./renderers/ref.tsx": () => import("./ref-OLToqdQ5.js"), "./renderers/regionBetweenCurveXAxis.tsx": () => import("./regionBetweenCurveXAxis-PPEOPw8t.js"), "./renderers/regionBetweenCurves.tsx": () => import("./regionBetweenCurves-DOtEzJak.js"), "./renderers/row.tsx": () => import("./row-D42z_svT.js"), "./renderers/rq.tsx": () => import("./rq-DdecWWBG.js"), "./renderers/rsq.tsx": () => import("./rsq-D2qKFBXV.js"), "./renderers/section.tsx": () => import("./section-AwW9I9a-.js"), "./renderers/sideBySide.tsx": () => import("./sideBySide-BE1-5d7U.js"), "./renderers/slider.tsx": () => import("./slider-B92oejpK.js"), "./renderers/solution.tsx": () => import("./solution-DuvHYP7q.js"), "./renderers/spreadsheet.tsx": () => import("./spreadsheet-CYi5VTRB.js"), "./renderers/sq.tsx": () => import("./sq-CGmtbJG8.js"), "./renderers/subsetOfRealsInput.tsx": () => import("./subsetOfRealsInput-Dof9pDQJ.js"), "./renderers/summaryStatistics.tsx": () => import("./summaryStatistics-CHLmwy4B.js"), "./renderers/table.tsx": () => import("./table-Ds4FsDXG.js"), "./renderers/tabular.tsx": () => import("./tabular-D93ZooVU.js"), "./renderers/tag.tsx": () => import("./tag-CQG7jGLX.js"), "./renderers/text.tsx": () => import("./text-Cs4GBrRa.js"), "./renderers/textInput.tsx": () => import("./textInput-D08eVSJy.js"), "./renderers/vector.tsx": () => import("./vector-DTjqdT0D.js"), "./renderers/video.tsx": () => import("./video-Bj4ChYgg.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-RwjW6x7w.js";
|
|
2
|
+
import { F as FontAwesomeIcon } from "./index.es-BCeR6l3D.js";
|
|
3
3
|
import { d as faSpinner, e as faLevelDownAlt, g as faCheck, h as faTimes, i as faCloud } from "./index-BDlitCgu.js";
|
|
4
4
|
import React__default, { useCallback } from "react";
|
|
5
5
|
function calculateValidationState(SVs) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { q as DocContext, p as jsxRuntimeExports, t as textRendererStyle, v as DynamicMath } from "./doenetml-
|
|
1
|
+
import { q as DocContext, p as jsxRuntimeExports, t as textRendererStyle, v as DynamicMath } from "./doenetml-RwjW6x7w.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-CTbAGksr.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BUPvEAwn.js";
|
|
5
|
+
import { BoardContext, VERTEX_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-BpbjUn8w.js";
|
|
6
|
+
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-DVSxZbFk.js";
|
|
7
|
+
import { ChoiceInputInlineContext } from "./choiceInput-DXKjyCqp.js";
|
|
8
8
|
import { a as buildLineLikeAttributes } from "./buildGraphicalAttributes-C7PtyKL7.js";
|
|
9
9
|
import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-DV6a8Wvg.js";
|
|
10
10
|
import { p as pointerEventToUserCoords } from "./dragThreshold-DuSSFrIU.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { x as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { x as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-RwjW6x7w.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-BUPvEAwn.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-B_KGuyjX.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-DqUh14n5.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;
|