@doenet/doenetml 0.7.24-dev.484 → 0.7.24-dev.485
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-DOkiGXwR.js → AnswerResponseButton-C5D4U5Th.js} +2 -2
- package/{Description-dd5zo0Da.js → Description-Dy5jBoGd.js} +1 -1
- package/{GraphFrame-CJnYmlxB.js → GraphFrame-DYFhUbFq.js} +2 -2
- package/{JSXGraphRenderer-CqQeYbb_.js → JSXGraphRenderer-CYtq27Rg.js} +1 -1
- package/{NonInlineMediaWrapper-Bzzs4aLp.js → NonInlineMediaWrapper-BLBBzhkX.js} +1 -1
- package/Viewer/DocViewer.d.ts.map +1 -1
- package/{_error-DshBxNw7.js → _error-DgmZcnIy.js} +2 -2
- package/{alert-boEZiy8P.js → alert-Du0SHsO2.js} +3 -3
- package/{angle-Cg_cvHt2.js → angle-B8aLU_tq.js} +6 -6
- package/{answer-Cv8KidCI.js → answer-D9O4nx1N.js} +5 -5
- package/{asList-BRziaNyA.js → asList-8xrZNcX4.js} +2 -2
- package/{blockQuote-DHZVW_Gd.js → blockQuote-CGPBCSob.js} +3 -3
- package/{boolean-CD7ZkKG1.js → boolean-CVUCiYTF.js} +2 -2
- package/{booleanInput-B2d95be3.js → booleanInput-DylenXFQ.js} +6 -6
- package/{br-BySBp0Qm.js → br-B1yOnwfq.js} +2 -2
- package/{button-i7QU2Gp2.js → button-DIrhxNM-.js} +4 -4
- package/{c-C6eFHKOm.js → c-zgo_OQlW.js} +3 -3
- package/{cell-CuBy_sd-.js → cell-BoEckAA9.js} +3 -3
- package/{choiceInput-cCdnPZxl.js → choiceInput-B8Wy64nu.js} +4 -4
- package/{circle-Cl0ehDpP.js → circle-Mn_cEAUr.js} +6 -6
- package/{cobwebPolyline-CIbCw1DX.js → cobwebPolyline-B-DsQ6F7.js} +4 -4
- package/{codeEditor-CVdj4BCY.js → codeEditor-DONOrg4K.js} +2 -2
- package/{composites-BahnWZ44.js → composites-utuWJTx9.js} +1 -1
- package/{containerBlock-DrN10qVb.js → containerBlock-34ay8OVs.js} +4 -4
- package/{containerInline-BMaCC4K_.js → containerInline-DLl_Wil0.js} +4 -4
- package/{curve-D_UKYjPX.js → curve-DSAmQKBN.js} +4 -4
- package/{doenetml-aUmY9leg.js → doenetml-DciZAG_S.js} +123 -33
- package/doenetml-external-worker.js +2 -2
- package/doenetml-inline-worker.js +2 -2
- package/{ellipsis-CY3IE_8F.js → ellipsis-CQDCvqQY.js} +2 -2
- package/{em-B1X1bCB5.js → em-g6j-S6MK.js} +3 -3
- package/{embed-CKDnpG5N.js → embed-BvauYkDC.js} +2 -2
- package/{feedback-COUFZk1c.js → feedback-C2L7dpAf.js} +4 -4
- package/{figure-Blo3AaKP.js → figure-Dv4FG8C9.js} +3 -3
- package/{fillPatterns-BMeeuJF5.js → fillPatterns-CDmt71wM.js} +1 -1
- package/{footnote-LNP_5Px7.js → footnote-dcb4bCes.js} +3 -3
- package/{fractionInput-B0vgkmCH.js → fractionInput-rOeJ2CGX.js} +4 -4
- package/global-config.d.ts +11 -7
- package/global-config.d.ts.map +1 -1
- package/{graph-tfQQFRA6.js → graph-BaPxo8Y1.js} +6 -6
- package/{hint-BNFwH9y4.js → hint-rfaBUgXj.js} +4 -4
- package/{hr-DLtP75RR.js → hr-BIzKgl5O.js} +2 -2
- package/{image-BAVOKRjs.js → image-DSWYAvdw.js} +7 -7
- package/{index-DEGhhHR0.js → index-jt_-0b5V.js} +1 -1
- package/{index.es-EwFj50Xp.js → index.es-D1nvu1l-.js} +1 -1
- package/index.js +1 -1
- package/{label-CcWhR8P3.js → label-BTpICnEk.js} +6 -6
- package/{labelWithLatex-CG5R0Beu.js → labelWithLatex-BIFvNrpS.js} +1 -1
- package/{legend-CTr43fsJ.js → legend-DFF7JH-M.js} +4 -4
- package/{line-Uh10z24B.js → line-jJbGBnMj.js} +6 -6
- package/{lineFamilyDragHandlers-Cq8PcFCJ.js → lineFamilyDragHandlers-CNHbhwfs.js} +1 -1
- package/{lineSegment-hVn537jV.js → lineSegment-G-Rl5xyE.js} +5 -5
- package/{list-C-YcT9Dk.js → list-CECTs7LB.js} +4 -4
- package/{lq-Cj3uwOLp.js → lq-BLomm5Xe.js} +2 -2
- package/{lsq-7QeR5rpb.js → lsq-CKbD8KCb.js} +2 -2
- package/{markupRenderer-DaZQsDAf.js → markupRenderer-DCoW1x9J.js} +1 -1
- package/{math-DrMdOcrl.js → math-D5UPF1gw.js} +6 -6
- package/{mathInput-CtURtu72.js → mathInput-BYXwpqpv.js} +7 -7
- package/{matrixInput-DgV6Rt8a.js → matrixInput-HSdm1FUG.js} +4 -4
- package/{mdash-4WjRv6iT.js → mdash-C4CqMwkk.js} +2 -2
- package/{nbsp-yuITh3Y6.js → nbsp-CsHNdCv7.js} +2 -2
- package/{ndash-DkVZ1P1m.js → ndash-_Y3GA8Km.js} +2 -2
- package/{number-AVe_Yorf.js → number-8OOLhJnM.js} +6 -6
- package/{orbitalDiagram-BgRjqqBD.js → orbitalDiagram-DqngPagb.js} +2 -2
- package/{orbitalDiagramInput-CbCVpaO2.js → orbitalDiagramInput-C_JRrwmg.js} +2 -2
- package/{p-B9P3Wh1I.js → p-KVTTGNUY.js} +4 -4
- package/package.json +1 -1
- package/{paginatorControls-CgRMs12_.js → paginatorControls-BcnmiF8z.js} +2 -2
- package/{pegboard-DOmqpNmS.js → pegboard-C80OFUoo.js} +4 -4
- package/{point-Dek6LcYq.js → point-CQ1fXFkV.js} +6 -6
- package/{polygon-CtjOBqjz.js → polygon-CajPfXls.js} +6 -6
- package/{polyline-PBXmF4gv.js → polyline-dvPND6uf.js} +5 -5
- package/{pre-CwsrcLE-.js → pre-ByMS-MiF.js} +3 -3
- package/{prefigure-BYOevvcI.js → prefigure-1HeQVTyp.js} +1 -1
- package/{pretzel-3C2U-3Z2.js → pretzel-D8RXV1sR.js} +4 -4
- package/{q-B0j14wnX.js → q-ByXXK_CG.js} +3 -3
- package/{ray-DquLwch7.js → ray-CuVGqAIM.js} +5 -5
- package/{ref-gb-FQAGZ.js → ref-D9iyvcOu.js} +2 -2
- package/{regionBetweenCurveXAxis-BmWzX2yw.js → regionBetweenCurveXAxis-B9SiLisG.js} +5 -5
- package/{regionBetweenCurves-UTO3bi4h.js → regionBetweenCurves-20P1BrBh.js} +5 -5
- package/{row-CxL5y8rd.js → row-D2zm12Ky.js} +2 -2
- package/{rq-DObfWLeh.js → rq-DkSUG5aT.js} +2 -2
- package/{rsq-CPquodKd.js → rsq-CVF6fXCo.js} +2 -2
- package/{section-DHS5-Mky.js → section-DpKnjoKz.js} +5 -5
- package/{sha256-DT5xJ2Hv-8W5OTWey.js → sha256-DT5xJ2Hv-5XfPrC_i.js} +1 -1
- package/{sideBySide-BZMviE2e.js → sideBySide-DYSky61U.js} +2 -2
- package/{slider-DQ_e-7JO.js → slider-DvIXM3UQ.js} +3 -3
- package/{slopeField-DhpVaCAs.js → slopeField-BFGgY0Bd.js} +2 -2
- package/{solution-CeOknXdN.js → solution-B_ARlxIE.js} +4 -4
- package/{spreadsheet-Bb7QZCwp.js → spreadsheet-D72naLg7.js} +2 -2
- package/{sq-DFXnQtlX.js → sq-BymhjcPV.js} +3 -3
- package/{subsetOfRealsInput-OMZK5TMU.js → subsetOfRealsInput-CEVFMQ5S.js} +2 -2
- package/{summaryStatistics-DL5x6SV9.js → summaryStatistics-BzRFvJjc.js} +2 -2
- package/{table-Ch6FGFNm.js → table-DF-BBs2h.js} +2 -2
- package/{tabular-i1heii-8.js → tabular-mzUh-ynS.js} +2 -2
- package/{tag-BMGntAbf.js → tag-BFEbwmvq.js} +2 -2
- package/{text-Dc55QUnq.js → text-Buj_wCBZ.js} +6 -6
- package/{textInput-B3xysjq1.js → textInput-CKxCXeX_.js} +6 -6
- package/{tooltip-provider-DZ3hRPOU.js → tooltip-provider-C0qKQ8iQ.js} +1 -1
- package/{useAnchoredGraphDragHandler-BCAKAf-r.js → useAnchoredGraphDragHandler-D7Q6SVvi.js} +1 -1
- package/useDoenetRenderer-DqWxtkjw.js +114 -0
- package/{useFieldCurve-hjrRP_ku.js → useFieldCurve-DOAeD_nE.js} +2 -2
- package/{useSubmitActionWithDelay-ByB5sjDD.js → useSubmitActionWithDelay-i-9XmBgD.js} +2 -2
- package/{vector-OZe-6Ily.js → vector-9_y6eRvD.js} +6 -6
- package/{vectorField-D9u-3-c1.js → vectorField-Bqi-bQq-.js} +2 -2
- package/{video-B3Ot8JE_.js → video-Dp4_v6Tb.js} +4 -4
- package/useDoenetRenderer-D0-8JAxz.js +0 -114
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { z as DocContext, p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { z as DocContext, p as jsxRuntimeExports } from "./doenetml-DciZAG_S.js";
|
|
2
2
|
import React__default, { useContext, useRef } from "react";
|
|
3
|
-
import { s as syncLayer, r as removeJXGEventHandlers, j as jxg, g as syncVisPropValues, e as syncLineStrokeStyle, f as syncLabelStrokeColor, b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } 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-
|
|
3
|
+
import { s as syncLayer, r as removeJXGEventHandlers, j as jxg, g as syncVisPropValues, e as syncLineStrokeStyle, f as syncLabelStrokeColor, b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-CYtq27Rg.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DqWxtkjw.js";
|
|
5
|
+
import { BoardContext, VERTEX_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-BaPxo8Y1.js";
|
|
6
|
+
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-CNHbhwfs.js";
|
|
7
7
|
import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-DV6a8Wvg.js";
|
|
8
8
|
import { p as pointerEventToUserCoords } from "./dragThreshold-DuSSFrIU.js";
|
|
9
9
|
import { a as resolveLineColor, d as resolveHandleColor } from "./styleColors-Cknqcr0q.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-DciZAG_S.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
4
|
-
import { a as addCommasForCompositeRanges } from "./composites-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DqWxtkjw.js";
|
|
4
|
+
import { a as addCommasForCompositeRanges } from "./composites-utuWJTx9.js";
|
|
5
5
|
import { a as getBlockMarginWithOptionalTopSuppression } from "./nonInlineMediaLayout-CkXHaqzo.js";
|
|
6
6
|
const pre = React__default.memo(function Pre(props) {
|
|
7
7
|
let { id, SVs, children, actions, callAction } = useDoenetRenderer(props);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { p as jsxRuntimeExports } from "./doenetml-DciZAG_S.js";
|
|
2
2
|
import React__default, { useState, useRef, useEffect } from "react";
|
|
3
3
|
const __vite_import_meta_env__ = { "VITE_PREFIGURE_MODULE_URL": "https://cdn.jsdelivr.net/npm/@doenet/prefigure@latest/prefigure.js" };
|
|
4
4
|
const DEFAULT_PREFIGURE_BUILD_ENDPOINT = "https://prefigure.doenet.org/build";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { u as useT, F as useContentT, t as useChromeLangDir, G as useRecordVisibilityChanges, z as DocContext, p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useT, F as useContentT, t as useChromeLangDir, G as useRecordVisibilityChanges, z as DocContext, p as jsxRuntimeExports } from "./doenetml-DciZAG_S.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-DqWxtkjw.js";
|
|
4
|
+
import { A as AnswerResponseButton } from "./AnswerResponseButton-C5D4U5Th.js";
|
|
5
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-i-9XmBgD.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-DciZAG_S.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-DqWxtkjw.js";
|
|
4
|
+
import { r as renderMarkupBody } from "./markupRenderer-DCoW1x9J.js";
|
|
5
5
|
const q = React__default.memo(function Q(props) {
|
|
6
6
|
const { SVs, children } = useDoenetRenderer(props);
|
|
7
7
|
const body = renderMarkupBody({ SVs, children });
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { z as DocContext, p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { z as DocContext, p as jsxRuntimeExports } from "./doenetml-DciZAG_S.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-CYtq27Rg.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DqWxtkjw.js";
|
|
5
|
+
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-BaPxo8Y1.js";
|
|
6
|
+
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-CNHbhwfs.js";
|
|
7
7
|
import { a as buildLineLikeAttributes } from "./buildGraphicalAttributes-0RNcbd2S.js";
|
|
8
8
|
import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-DV6a8Wvg.js";
|
|
9
9
|
import { p as pointerEventToUserCoords } from "./dragThreshold-DuSSFrIU.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { z as DocContext, p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { z as DocContext, p as jsxRuntimeExports } from "./doenetml-DciZAG_S.js";
|
|
2
2
|
import React__default, { useContext, useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DqWxtkjw.js";
|
|
4
4
|
const ref = React__default.memo(function Ref(props) {
|
|
5
5
|
const { id, SVs, children, requestScrollTo } = useDoenetRenderer(props);
|
|
6
6
|
const { doenetViewerUrl } = useContext(DocContext) || {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { z as DocContext, K as createFunctionFromDefinition, p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { z as DocContext, K as createFunctionFromDefinition, p as jsxRuntimeExports } from "./doenetml-DciZAG_S.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-CYtq27Rg.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DqWxtkjw.js";
|
|
5
|
+
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-BaPxo8Y1.js";
|
|
6
|
+
import { g as getPatternFillAttributes } from "./fillPatterns-CDmt71wM.js";
|
|
7
7
|
import { b as resolveCanvasColor } from "./styleColors-Cknqcr0q.js";
|
|
8
8
|
const regionBetweenCurveXAxis = React__default.memo(function RegionBetweenCurveXAxis(props) {
|
|
9
9
|
let { id, SVs } = useDoenetRenderer(props);
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { z as DocContext, K as createFunctionFromDefinition, p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { z as DocContext, K as createFunctionFromDefinition, p as jsxRuntimeExports } from "./doenetml-DciZAG_S.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-DqWxtkjw.js";
|
|
4
|
+
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-BaPxo8Y1.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-CDmt71wM.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-CYtq27Rg.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-DciZAG_S.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DqWxtkjw.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-DciZAG_S.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DqWxtkjw.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-DciZAG_S.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DqWxtkjw.js";
|
|
4
4
|
const rsq = React__default.memo(function Rsq(props) {
|
|
5
5
|
let { SVs } = useDoenetRenderer(props, false);
|
|
6
6
|
if (SVs.hidden) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { u as useT, F as useContentT, N as directionOf, O as useDocumentDirection, P as chromeLangDir, q as useUiLocale, z as DocContext, I as cesc, G as useRecordVisibilityChanges, p as jsxRuntimeExports, Q as DocumentDirectionProvider } from "./doenetml-
|
|
1
|
+
import { u as useT, F as useContentT, N as directionOf, O as useDocumentDirection, P as chromeLangDir, q as useUiLocale, z as DocContext, I as cesc, G as useRecordVisibilityChanges, p as jsxRuntimeExports, Q as DocumentDirectionProvider } from "./doenetml-DciZAG_S.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-D1nvu1l-.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-DqWxtkjw.js";
|
|
6
|
+
import { a as addCommasForCompositeRanges } from "./composites-utuWJTx9.js";
|
|
7
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-i-9XmBgD.js";
|
|
8
8
|
import { c as clickToToggleLabel } from "./disclosure-axyZa36E.js";
|
|
9
9
|
const section = React__default.memo(function Section(props) {
|
|
10
10
|
let { id, SVs, children, actions, callAction } = useDoenetRenderer(props);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-DciZAG_S.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DqWxtkjw.js";
|
|
4
4
|
import { a as getBlockMarginWithOptionalTopSuppression } from "./nonInlineMediaLayout-CkXHaqzo.js";
|
|
5
5
|
function isWhitespaceTextChild(child) {
|
|
6
6
|
return typeof child === "string" && child.trim() === "";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { u as useT, p as jsxRuntimeExports, R as ActionButtonGroup, S as ActionButton, H as Context } from "./doenetml-
|
|
1
|
+
import { u as useT, p as jsxRuntimeExports, R as ActionButtonGroup, S as ActionButton, H as Context } from "./doenetml-DciZAG_S.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-DqWxtkjw.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-BIFvNrpS.js";
|
|
6
6
|
import { l as ltrIslandProps } from "./direction-BwrU7jHk.js";
|
|
7
7
|
let round_to_decimals = (x, n) => {
|
|
8
8
|
try {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React__default from "react";
|
|
2
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
-
import { u as useFieldFunction, a as useFieldCurve, b as buildSlopeFieldData } from "./useFieldCurve-
|
|
2
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DqWxtkjw.js";
|
|
3
|
+
import { u as useFieldFunction, a as useFieldCurve, b as buildSlopeFieldData } from "./useFieldCurve-DOAeD_nE.js";
|
|
4
4
|
const slopeField = React__default.memo(function SlopeField(props) {
|
|
5
5
|
let { SVs } = useDoenetRenderer(props);
|
|
6
6
|
SlopeField.ignoreActionsWithoutCore = () => true;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { u as useT, G as useRecordVisibilityChanges, t as useChromeLangDir, p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useT, G as useRecordVisibilityChanges, t as useChromeLangDir, p as jsxRuntimeExports } from "./doenetml-DciZAG_S.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-DqWxtkjw.js";
|
|
4
|
+
import { F as FontAwesomeIcon } from "./index.es-D1nvu1l-.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-utuWJTx9.js";
|
|
7
7
|
import { c as clickToToggleLabel } from "./disclosure-axyZa36E.js";
|
|
8
8
|
const solution = React__default.memo(function Solution(props) {
|
|
9
9
|
let { id, SVs, children, actions, callAction } = useDoenetRenderer(props);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { z as DocContext, G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { z as DocContext, G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-DciZAG_S.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-DqWxtkjw.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-DciZAG_S.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-DqWxtkjw.js";
|
|
4
|
+
import { r as renderMarkupBody } from "./markupRenderer-DCoW1x9J.js";
|
|
5
5
|
const sq = React__default.memo(function Sq(props) {
|
|
6
6
|
const { SVs, children } = useDoenetRenderer(props);
|
|
7
7
|
const body = renderMarkupBody({ SVs, children });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { u as useT, G as useRecordVisibilityChanges, p as jsxRuntimeExports, W as ToggleButtonGroup, U as ToggleButton, R as ActionButtonGroup, S as ActionButton } from "./doenetml-
|
|
1
|
+
import { u as useT, G as useRecordVisibilityChanges, p as jsxRuntimeExports, W as ToggleButtonGroup, U as ToggleButton, R as ActionButtonGroup, S as ActionButton } from "./doenetml-DciZAG_S.js";
|
|
2
2
|
import React__default, { useState, useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DqWxtkjw.js";
|
|
4
4
|
import { l as ltrIslandProps } from "./direction-BwrU7jHk.js";
|
|
5
5
|
const subsetOfRealsInput = React__default.memo(function subsetOfReals(props) {
|
|
6
6
|
let { id, SVs, actions, callAction } = useDoenetRenderer(props, false);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { u as useT, t as useChromeLangDir, G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useT, t as useChromeLangDir, G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-DciZAG_S.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DqWxtkjw.js";
|
|
4
4
|
import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
|
|
5
5
|
const summaryStatistics = React__default.memo(function SummaryStatistics(props) {
|
|
6
6
|
let { id, SVs, actions, callAction } = useDoenetRenderer(props);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-DciZAG_S.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DqWxtkjw.js";
|
|
4
4
|
const table = React__default.memo(function Table(props) {
|
|
5
5
|
let { id, SVs, children, actions, callAction } = useDoenetRenderer(props);
|
|
6
6
|
const ref = useRef(null);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-DciZAG_S.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DqWxtkjw.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-DciZAG_S.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DqWxtkjw.js";
|
|
4
4
|
const tag = React__default.memo(function Tag(props) {
|
|
5
5
|
let { id, SVs, children } = useDoenetRenderer(props);
|
|
6
6
|
if (SVs.hidden) {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { z as DocContext, H as Context, p as jsxRuntimeExports, A as textRendererStyle } from "./doenetml-
|
|
1
|
+
import { z as DocContext, H as Context, p as jsxRuntimeExports, A as textRendererStyle } from "./doenetml-DciZAG_S.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-CYtq27Rg.js";
|
|
4
|
+
import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-BaPxo8Y1.js";
|
|
5
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DqWxtkjw.js";
|
|
6
6
|
import { g as getPositionFromAnchorByCoordinate } from "./graph-W6vrFcBu.js";
|
|
7
|
-
import { ChoiceInputInlineContext } from "./choiceInput-
|
|
7
|
+
import { ChoiceInputInlineContext } from "./choiceInput-B8Wy64nu.js";
|
|
8
8
|
import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-DV6a8Wvg.js";
|
|
9
9
|
import { u as useDraggableRefs } from "./useDraggableRefs-QaTfkVuD.js";
|
|
10
|
-
import { d as detachAnchoredGraphElement, a as attachAnchoredGraphDragHandlers } from "./useAnchoredGraphDragHandler-
|
|
10
|
+
import { d as detachAnchoredGraphElement, a as attachAnchoredGraphDragHandlers } from "./useAnchoredGraphDragHandler-D7Q6SVvi.js";
|
|
11
11
|
import { u as useJSXGraphCleanup } from "./useJSXGraphCleanup-BNk4sn6x.js";
|
|
12
12
|
const text = React__default.memo(function Text(props) {
|
|
13
13
|
let { componentIdx, id, SVs, actions, callAction } = useDoenetRenderer(props);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { F as useContentT, H as Context, p as jsxRuntimeExports, T as MathJax } from "./doenetml-
|
|
1
|
+
import { F as useContentT, H as Context, p as jsxRuntimeExports, T as MathJax } from "./doenetml-DciZAG_S.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-CYtq27Rg.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DqWxtkjw.js";
|
|
5
5
|
import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
|
|
6
|
-
import { BoardContext } from "./graph-
|
|
6
|
+
import { BoardContext } from "./graph-BaPxo8Y1.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-i-9XmBgD.js";
|
|
9
|
+
import { D as DescriptionPopover } from "./Description-Dy5jBoGd.js";
|
|
10
10
|
import { a as addValidationStateToShortDescription } from "./validationState-DI_lxk1a.js";
|
|
11
11
|
function TextInput(props) {
|
|
12
12
|
let { id, SVs, children, actions, ignoreUpdate, callAction } = useDoenetRenderer(props);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ae as createStoreContext, af as HovercardScopedContextProvider, ag as HovercardContextProvider, ah as createDialogComponent, Y as forwardRef, Z as createElement, $ as createHook, a1 as invariant, ai as useWrapElement, p as jsxRuntimeExports, a2 as useStoreState, aj as useHovercard, ak as isFalsyBooleanCallback, al as contains, am as sync, an as chain, ao as useEvent, ap as useHovercardAnchor, aq as createStore, ar as createHovercardStore, as as defaultValue, at as useStore, au as useStoreProps, av as useHovercardStoreProps } from "./doenetml-
|
|
1
|
+
import { ae as createStoreContext, af as HovercardScopedContextProvider, ag as HovercardContextProvider, ah as createDialogComponent, Y as forwardRef, Z as createElement, $ as createHook, a1 as invariant, ai as useWrapElement, p as jsxRuntimeExports, a2 as useStoreState, aj as useHovercard, ak as isFalsyBooleanCallback, al as contains, am as sync, an as chain, ao as useEvent, ap as useHovercardAnchor, aq as createStore, ar as createHovercardStore, as as defaultValue, at as useStore, au as useStoreProps, av as useHovercardStoreProps } from "./doenetml-DciZAG_S.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-CYtq27Rg.js";
|
|
2
2
|
import { e as exceededDragThreshold, p as pointerEventToUserCoords } from "./dragThreshold-DuSSFrIU.js";
|
|
3
3
|
function attachAnchoredGraphDragHandlers(params) {
|
|
4
4
|
const {
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import { w as useAppSelector, x as mainSlice, y as renderersLoadComponent, _ as __variableDynamicImportRuntimeHelper } from "./doenetml-DciZAG_S.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-DYFhUbFq.js"), "./renderers/JSXGraphRenderer.tsx": () => import("./JSXGraphRenderer-CYtq27Rg.js").then((n) => n.m), "./renderers/_error.tsx": () => import("./_error-DgmZcnIy.js"), "./renderers/alert.tsx": () => import("./alert-Du0SHsO2.js"), "./renderers/angle.tsx": () => import("./angle-B8aLU_tq.js"), "./renderers/answer.tsx": () => import("./answer-D9O4nx1N.js"), "./renderers/asList.tsx": () => import("./asList-8xrZNcX4.js"), "./renderers/blockQuote.tsx": () => import("./blockQuote-CGPBCSob.js"), "./renderers/boolean.tsx": () => import("./boolean-CVUCiYTF.js"), "./renderers/booleanInput.tsx": () => import("./booleanInput-DylenXFQ.js"), "./renderers/br.tsx": () => import("./br-B1yOnwfq.js"), "./renderers/button.tsx": () => import("./button-DIrhxNM-.js"), "./renderers/c.tsx": () => import("./c-zgo_OQlW.js"), "./renderers/cell.tsx": () => import("./cell-BoEckAA9.js"), "./renderers/choiceInput.tsx": () => import("./choiceInput-B8Wy64nu.js"), "./renderers/circle.tsx": () => import("./circle-Mn_cEAUr.js"), "./renderers/cobwebPolyline.tsx": () => import("./cobwebPolyline-B-DsQ6F7.js"), "./renderers/codeEditor.tsx": () => import("./codeEditor-DONOrg4K.js"), "./renderers/containerBlock.tsx": () => import("./containerBlock-34ay8OVs.js"), "./renderers/containerInline.tsx": () => import("./containerInline-DLl_Wil0.js"), "./renderers/curve.tsx": () => import("./curve-DSAmQKBN.js"), "./renderers/ellipsis.tsx": () => import("./ellipsis-CQDCvqQY.js"), "./renderers/em.tsx": () => import("./em-g6j-S6MK.js"), "./renderers/embed.tsx": () => import("./embed-BvauYkDC.js"), "./renderers/feedback.tsx": () => import("./feedback-C2L7dpAf.js"), "./renderers/figure.tsx": () => import("./figure-Dv4FG8C9.js"), "./renderers/footnote.tsx": () => import("./footnote-dcb4bCes.js"), "./renderers/fractionInput.tsx": () => import("./fractionInput-rOeJ2CGX.js"), "./renderers/graph.tsx": () => import("./graph-BaPxo8Y1.js"), "./renderers/hint.tsx": () => import("./hint-rfaBUgXj.js"), "./renderers/hr.tsx": () => import("./hr-BIzKgl5O.js"), "./renderers/image.tsx": () => import("./image-DSWYAvdw.js"), "./renderers/label.tsx": () => import("./label-BTpICnEk.js"), "./renderers/legend.tsx": () => import("./legend-DFF7JH-M.js"), "./renderers/line.tsx": () => import("./line-jJbGBnMj.js"), "./renderers/lineSegment.tsx": () => import("./lineSegment-G-Rl5xyE.js"), "./renderers/list.tsx": () => import("./list-CECTs7LB.js"), "./renderers/lq.tsx": () => import("./lq-BLomm5Xe.js"), "./renderers/lsq.tsx": () => import("./lsq-CKbD8KCb.js"), "./renderers/math.tsx": () => import("./math-D5UPF1gw.js"), "./renderers/mathInput.tsx": () => import("./mathInput-BYXwpqpv.js"), "./renderers/matrixInput.tsx": () => import("./matrixInput-HSdm1FUG.js"), "./renderers/mdash.tsx": () => import("./mdash-C4CqMwkk.js"), "./renderers/nbsp.tsx": () => import("./nbsp-CsHNdCv7.js"), "./renderers/ndash.tsx": () => import("./ndash-_Y3GA8Km.js"), "./renderers/number.tsx": () => import("./number-8OOLhJnM.js"), "./renderers/orbitalDiagram.tsx": () => import("./orbitalDiagram-DqngPagb.js"), "./renderers/orbitalDiagramInput.tsx": () => import("./orbitalDiagramInput-C_JRrwmg.js"), "./renderers/p.tsx": () => import("./p-KVTTGNUY.js"), "./renderers/paginatorControls.tsx": () => import("./paginatorControls-BcnmiF8z.js"), "./renderers/pegboard.tsx": () => import("./pegboard-C80OFUoo.js"), "./renderers/point.tsx": () => import("./point-CQ1fXFkV.js"), "./renderers/polygon.tsx": () => import("./polygon-CajPfXls.js"), "./renderers/polyline.tsx": () => import("./polyline-dvPND6uf.js"), "./renderers/pre.tsx": () => import("./pre-ByMS-MiF.js"), "./renderers/prefigure.tsx": () => import("./prefigure-1HeQVTyp.js"), "./renderers/pretzel.tsx": () => import("./pretzel-D8RXV1sR.js"), "./renderers/q.tsx": () => import("./q-ByXXK_CG.js"), "./renderers/ray.tsx": () => import("./ray-CuVGqAIM.js"), "./renderers/ref.tsx": () => import("./ref-D9iyvcOu.js"), "./renderers/regionBetweenCurveXAxis.tsx": () => import("./regionBetweenCurveXAxis-B9SiLisG.js"), "./renderers/regionBetweenCurves.tsx": () => import("./regionBetweenCurves-20P1BrBh.js"), "./renderers/row.tsx": () => import("./row-D2zm12Ky.js"), "./renderers/rq.tsx": () => import("./rq-DkSUG5aT.js"), "./renderers/rsq.tsx": () => import("./rsq-CVF6fXCo.js"), "./renderers/section.tsx": () => import("./section-DpKnjoKz.js"), "./renderers/sideBySide.tsx": () => import("./sideBySide-DYSky61U.js"), "./renderers/slider.tsx": () => import("./slider-DvIXM3UQ.js"), "./renderers/slopeField.tsx": () => import("./slopeField-BFGgY0Bd.js"), "./renderers/solution.tsx": () => import("./solution-B_ARlxIE.js"), "./renderers/spreadsheet.tsx": () => import("./spreadsheet-D72naLg7.js"), "./renderers/sq.tsx": () => import("./sq-BymhjcPV.js"), "./renderers/subsetOfRealsInput.tsx": () => import("./subsetOfRealsInput-CEVFMQ5S.js"), "./renderers/summaryStatistics.tsx": () => import("./summaryStatistics-BzRFvJjc.js"), "./renderers/table.tsx": () => import("./table-DF-BBs2h.js"), "./renderers/tabular.tsx": () => import("./tabular-mzUh-ynS.js"), "./renderers/tag.tsx": () => import("./tag-BFEbwmvq.js"), "./renderers/text.tsx": () => import("./text-Buj_wCBZ.js"), "./renderers/textInput.tsx": () => import("./textInput-CKxCXeX_.js"), "./renderers/vector.tsx": () => import("./vector-9_y6eRvD.js"), "./renderers/vectorField.tsx": () => import("./vectorField-Bqi-bQq-.js"), "./renderers/video.tsx": () => import("./video-Dp4_v6Tb.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,6 +1,6 @@
|
|
|
1
1
|
import { useMemo, useContext, useRef } from "react";
|
|
2
|
-
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-
|
|
3
|
-
import { K as createFunctionFromDefinition, z as DocContext } from "./doenetml-
|
|
2
|
+
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-BaPxo8Y1.js";
|
|
3
|
+
import { K as createFunctionFromDefinition, z as DocContext } from "./doenetml-DciZAG_S.js";
|
|
4
4
|
import { s as styleToDash } from "./styleToDash-DWb71gbd.js";
|
|
5
5
|
import { u as useJSXGraphCleanup } from "./useJSXGraphCleanup-BNk4sn6x.js";
|
|
6
6
|
function fieldFunctionFromDefinition(fDefinition) {
|
|
@@ -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-DciZAG_S.js";
|
|
2
|
+
import { F as FontAwesomeIcon } from "./index.es-D1nvu1l-.js";
|
|
3
3
|
import { d as faSpinner, e as faLevelDownAlt, g as faCheck, h as faTimes, i as faCloud } from "./index-BDlitCgu.js";
|
|
4
4
|
import React__default, { useCallback } from "react";
|
|
5
5
|
function calculateValidationState(SVs) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { z as DocContext, p as jsxRuntimeExports, A as textRendererStyle, B as DynamicMath } from "./doenetml-
|
|
1
|
+
import { z as DocContext, p as jsxRuntimeExports, A as textRendererStyle, B as DynamicMath } from "./doenetml-DciZAG_S.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-CYtq27Rg.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DqWxtkjw.js";
|
|
5
|
+
import { BoardContext, VERTEX_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-BaPxo8Y1.js";
|
|
6
|
+
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-CNHbhwfs.js";
|
|
7
|
+
import { ChoiceInputInlineContext } from "./choiceInput-B8Wy64nu.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,6 +1,6 @@
|
|
|
1
1
|
import React__default from "react";
|
|
2
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
-
import { u as useFieldFunction, a as useFieldCurve, c as buildVectorFieldData } from "./useFieldCurve-
|
|
2
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DqWxtkjw.js";
|
|
3
|
+
import { u as useFieldFunction, a as useFieldCurve, c as buildVectorFieldData } from "./useFieldCurve-DOAeD_nE.js";
|
|
4
4
|
const vectorField = React__default.memo(function VectorField(props) {
|
|
5
5
|
let { SVs } = useDoenetRenderer(props);
|
|
6
6
|
VectorField.ignoreActionsWithoutCore = () => true;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-DciZAG_S.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-DqWxtkjw.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-Dy5jBoGd.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-BLBBzhkX.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;
|