@doenet/doenetml 0.7.23-dev.445 → 0.7.23
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-Sa5y_G1z.js → AnswerResponseButton-C9a1IIcX.js} +2 -2
- package/{Description-CSS5gsfo.js → Description-G0B1pi98.js} +1 -1
- package/{GraphFrame-sj_nZNfI.js → GraphFrame-DLg2Q5zE.js} +2 -2
- package/{JSXGraphRenderer-Dnc5iDPV.js → JSXGraphRenderer-CoUOmMnA.js} +1 -1
- package/{NonInlineMediaWrapper-BKw5sWSr.js → NonInlineMediaWrapper-DunDdtqD.js} +1 -1
- package/{_error-xD-Sg0LN.js → _error-DDwzTMPI.js} +2 -2
- package/{alert-DAXadVXB.js → alert-D9GIfyqK.js} +3 -3
- package/{angle-D0mApKJi.js → angle-BV0ytCDY.js} +6 -6
- package/{answer-lm7qsqVK.js → answer-BkDNan9B.js} +5 -5
- package/{asList-aUHRQ-J2.js → asList-Cf-3wB8L.js} +2 -2
- package/{blockQuote-Dl_yWuPq.js → blockQuote-Dzq7yOIV.js} +3 -3
- package/{boolean-CfacyHq_.js → boolean-DkhnSkFl.js} +2 -2
- package/{booleanInput-BZViGjPp.js → booleanInput-BMUjvleU.js} +6 -6
- package/{br-CjdIAekX.js → br-CNJTftVn.js} +2 -2
- package/{button-BqZi6gpi.js → button-DGQ0hV6Y.js} +4 -4
- package/{c-Do6N2kRV.js → c-By4_r7rL.js} +3 -3
- package/{cell-COP25aiA.js → cell-N0Lflz6t.js} +3 -3
- package/{choiceInput-yV5cFT_y.js → choiceInput-DZ9HPiSL.js} +4 -4
- package/{circle-Dlk53UHF.js → circle-OpDTuDhK.js} +6 -6
- package/{cobwebPolyline-D0aX9jbZ.js → cobwebPolyline-Bn6ZaNog.js} +4 -4
- package/{codeEditor-rWfQJxN1.js → codeEditor-MmPxp2Zg.js} +2 -2
- package/{composites-OSI5h2pg.js → composites-AoyAbg6U.js} +1 -1
- package/{containerBlock-BJI1rtVu.js → containerBlock-Be7QGLB6.js} +4 -4
- package/{containerInline-Ci-1qfC3.js → containerInline-CAb0Gu8p.js} +4 -4
- package/{curve-Dqzjs1rB.js → curve-B4HWBqww.js} +4 -4
- package/{doenetml-DG6ritlq.js → doenetml-NmXDuMHr.js} +5 -5
- package/doenetml-external-worker.js +2 -2
- package/doenetml-inline-worker.js +2 -2
- package/{ellipsis-fPCHcWEF.js → ellipsis-ckwL5GqF.js} +2 -2
- package/{em--94e1kc8.js → em-DIIW_gny.js} +3 -3
- package/{embed-Mks0hikC.js → embed-CE9K3TEG.js} +2 -2
- package/{feedback-BXMuDUb_.js → feedback-Cu5L5_KH.js} +4 -4
- package/{figure-CzJEIcbF.js → figure-DYi7dImB.js} +3 -3
- package/{fillPatterns-BwWhz4ON.js → fillPatterns-uDi7qadl.js} +1 -1
- package/{footnote-C5Vomg6s.js → footnote-8rkDbDrT.js} +3 -3
- package/{fractionInput-CzOtnpcS.js → fractionInput-Dpj10kp5.js} +4 -4
- package/{graph-CcJSrGrZ.js → graph-CRde30im.js} +6 -6
- package/{hint-DDWi0Op0.js → hint-XZYyK6xP.js} +4 -4
- package/{hr-D8EWYtKb.js → hr-D8HZy-LO.js} +2 -2
- package/{image-BlU75GvM.js → image-DM7Z_oNd.js} +7 -7
- package/{index-AbZAWCBI.js → index-CgQOVDt6.js} +1 -1
- package/{index.es-BCI7SGcV.js → index.es-yYBz5_7R.js} +1 -1
- package/index.js +1 -1
- package/{label-QQCwMCBj.js → label-D4DRsphP.js} +6 -6
- package/{labelWithLatex-CAigBAL8.js → labelWithLatex-DVAICHiw.js} +1 -1
- package/{legend-Dc3X02WL.js → legend-CZ1Cd882.js} +4 -4
- package/{line-DaccB4Qv.js → line-8rLSyFOy.js} +6 -6
- package/{lineFamilyDragHandlers-BgH-_1ox.js → lineFamilyDragHandlers-9gNGzIOR.js} +1 -1
- package/{lineSegment-Dg-Aeh-B.js → lineSegment-DqV1K6Cp.js} +5 -5
- package/{list-BKbVIcjL.js → list-Cf0vh0WS.js} +4 -4
- package/{lq-S05DHD3q.js → lq-CDVaL4Ao.js} +2 -2
- package/{lsq-CVqVyTEJ.js → lsq-DQ4HcdtP.js} +2 -2
- package/{markupRenderer--dxcdorP.js → markupRenderer-BG6g6JTg.js} +1 -1
- package/{math-BfbAyB3x.js → math-BDHsEjN4.js} +6 -6
- package/{mathInput-DKaO1sxA.js → mathInput-D5g5VbhW.js} +7 -7
- package/{matrixInput-DfVbyiX5.js → matrixInput-B69lOiLI.js} +4 -4
- package/{mdash-BB4iDnGa.js → mdash-BxdcV1fy.js} +2 -2
- package/{nbsp-DtFaH4wt.js → nbsp-CnCsRX_f.js} +2 -2
- package/{ndash-PbT0whCc.js → ndash-W0jw_Nyn.js} +2 -2
- package/{number-WkIN5YxP.js → number-B9TQ0GAL.js} +6 -6
- package/{orbitalDiagram-Dxp7-e0F.js → orbitalDiagram-CM4J_OQT.js} +2 -2
- package/{orbitalDiagramInput-BbH6T9Mn.js → orbitalDiagramInput-YqNrMqgV.js} +2 -2
- package/{p-rtrgBCFF.js → p-DGPKoH7d.js} +4 -4
- package/package.json +1 -1
- package/{paginatorControls-C2fKxlsq.js → paginatorControls-Bzp8ZeEG.js} +2 -2
- package/{pegboard-Dz-sRyjx.js → pegboard-fvnu8-0E.js} +4 -4
- package/{point-CMoAcwE5.js → point-DCHsUoxy.js} +6 -6
- package/{polygon-CG5SBHDs.js → polygon-CLkTrCib.js} +6 -6
- package/{polyline-ButEStBz.js → polyline-DZNb19cP.js} +5 -5
- package/{pre-B6YD3p62.js → pre-R1lxu6Fc.js} +3 -3
- package/{prefigure-AcutCm54.js → prefigure-DFVdohxl.js} +2 -2
- package/{pretzel-BaGJbkRb.js → pretzel-B_p5CaJP.js} +4 -4
- package/{q-DAxQD3R9.js → q-DJITeRmE.js} +3 -3
- package/{ray-hEV4tSOq.js → ray-CK8g4J2V.js} +5 -5
- package/{ref-DN-7cyqI.js → ref-B398wSCk.js} +2 -2
- package/{regionBetweenCurveXAxis-NNQCG4M5.js → regionBetweenCurveXAxis-D6cwY5_c.js} +5 -5
- package/{regionBetweenCurves-mGUMDojJ.js → regionBetweenCurves-DsW0zj6o.js} +5 -5
- package/{row-BUKnzR1q.js → row-6NePO6It.js} +2 -2
- package/{rq-C-z7yKCS.js → rq-DBKHz3Zc.js} +2 -2
- package/{rsq-GiB5Ksln.js → rsq-BiOuFs0z.js} +2 -2
- package/{section-THXxSIXj.js → section-CTeTg4lm.js} +5 -5
- package/{sha256-Bzrm4-tO-CHktaBh6.js → sha256-Bzrm4-tO-CBTFbJi7.js} +1 -1
- package/{sideBySide-DNhnkP28.js → sideBySide-JMyXUG20.js} +2 -2
- package/{slider-VmKSRov-.js → slider-CcaoTvma.js} +3 -3
- package/{solution--sxVtEFn.js → solution-heiQv3Ka.js} +4 -4
- package/{spreadsheet-Dr0ymyBh.js → spreadsheet-C-bqQhGU.js} +2 -2
- package/{sq-AcTs3gR0.js → sq-BxuIJNHh.js} +3 -3
- package/{subsetOfRealsInput-tCdAHqhW.js → subsetOfRealsInput-CFaYSGkA.js} +2 -2
- package/{summaryStatistics-D1cD7f_V.js → summaryStatistics-B0cbRg2I.js} +2 -2
- package/{table-JdmaKACu.js → table-bXVEbiRG.js} +2 -2
- package/{tabular-9lfzVRNH.js → tabular-BiKVz4EB.js} +2 -2
- package/{tag-CKUTRPQr.js → tag-CO6riRsz.js} +2 -2
- package/{text-Ba1OFqyV.js → text-DbwYe4Zc.js} +6 -6
- package/{textInput-crredFnq.js → textInput-DXJvjMfT.js} +6 -6
- package/{tooltip-provider-wQWrbmca.js → tooltip-provider-Bek2bo6U.js} +1 -1
- package/{useAnchoredGraphDragHandler-C9ibMjoG.js → useAnchoredGraphDragHandler-smuwZXMs.js} +1 -1
- package/useDoenetRenderer-iiMuPv8N.js +114 -0
- package/{useSubmitActionWithDelay-i3pdoqV8.js → useSubmitActionWithDelay-CAA7rbjf.js} +2 -2
- package/{vector-DjPOfXhf.js → vector-CLbyqly5.js} +6 -6
- package/{video-CdYmVd8t.js → video-BG93ozur.js} +4 -4
- package/useDoenetRenderer-rtZcMjTC.js +0 -114
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { p as jsxRuntimeExports } from "./doenetml-NmXDuMHr.js";
|
|
2
2
|
import React__default, { useState, useRef, useEffect } from "react";
|
|
3
|
-
const __vite_import_meta_env__ = {
|
|
3
|
+
const __vite_import_meta_env__ = {};
|
|
4
4
|
const DEFAULT_PREFIGURE_BUILD_ENDPOINT = "https://prefigure.doenet.org/build";
|
|
5
5
|
const DEFAULT_PREFIGURE_DIAGCESS_SCRIPT_URL = "https://cdn.jsdelivr.net/npm/diagcess@1.4.1/dist/diagcess.js";
|
|
6
6
|
const DEFAULT_PREFIGURE_MODULE_URL = "https://cdn.jsdelivr.net/npm/@doenet/prefigure@0.6.7/prefigure.js";
|
|
@@ -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-NmXDuMHr.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-iiMuPv8N.js";
|
|
4
|
+
import { A as AnswerResponseButton } from "./AnswerResponseButton-C9a1IIcX.js";
|
|
5
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-CAA7rbjf.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-NmXDuMHr.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-iiMuPv8N.js";
|
|
4
|
+
import { r as renderMarkupBody } from "./markupRenderer-BG6g6JTg.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-NmXDuMHr.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-CoUOmMnA.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-iiMuPv8N.js";
|
|
5
|
+
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-CRde30im.js";
|
|
6
|
+
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-9gNGzIOR.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-NmXDuMHr.js";
|
|
2
2
|
import React__default, { useContext, useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-iiMuPv8N.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-NmXDuMHr.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-CoUOmMnA.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-iiMuPv8N.js";
|
|
5
|
+
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-CRde30im.js";
|
|
6
|
+
import { g as getPatternFillAttributes } from "./fillPatterns-uDi7qadl.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-NmXDuMHr.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-iiMuPv8N.js";
|
|
4
|
+
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-CRde30im.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-uDi7qadl.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-CoUOmMnA.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-NmXDuMHr.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-iiMuPv8N.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-NmXDuMHr.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-iiMuPv8N.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-NmXDuMHr.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-iiMuPv8N.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-NmXDuMHr.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-yYBz5_7R.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-iiMuPv8N.js";
|
|
6
|
+
import { a as addCommasForCompositeRanges } from "./composites-AoyAbg6U.js";
|
|
7
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-CAA7rbjf.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-NmXDuMHr.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-iiMuPv8N.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-NmXDuMHr.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-iiMuPv8N.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-DVAICHiw.js";
|
|
6
6
|
import { l as ltrIslandProps } from "./direction-BwrU7jHk.js";
|
|
7
7
|
let round_to_decimals = (x, n) => {
|
|
8
8
|
try {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { u as useT, G as useRecordVisibilityChanges, t as useChromeLangDir, p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useT, G as useRecordVisibilityChanges, t as useChromeLangDir, p as jsxRuntimeExports } from "./doenetml-NmXDuMHr.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-iiMuPv8N.js";
|
|
4
|
+
import { F as FontAwesomeIcon } from "./index.es-yYBz5_7R.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-AoyAbg6U.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-NmXDuMHr.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-iiMuPv8N.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-NmXDuMHr.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-iiMuPv8N.js";
|
|
4
|
+
import { r as renderMarkupBody } from "./markupRenderer-BG6g6JTg.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-NmXDuMHr.js";
|
|
2
2
|
import React__default, { useState, useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-iiMuPv8N.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-NmXDuMHr.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-iiMuPv8N.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-NmXDuMHr.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-iiMuPv8N.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-NmXDuMHr.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-iiMuPv8N.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-NmXDuMHr.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-iiMuPv8N.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-NmXDuMHr.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-CoUOmMnA.js";
|
|
4
|
+
import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-CRde30im.js";
|
|
5
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-iiMuPv8N.js";
|
|
6
6
|
import { g as getPositionFromAnchorByCoordinate } from "./graph-W6vrFcBu.js";
|
|
7
|
-
import { ChoiceInputInlineContext } from "./choiceInput-
|
|
7
|
+
import { ChoiceInputInlineContext } from "./choiceInput-DZ9HPiSL.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-smuwZXMs.js";
|
|
11
11
|
const text = React__default.memo(function Text(props) {
|
|
12
12
|
let { componentIdx, id, SVs, actions, callAction } = useDoenetRenderer(props);
|
|
13
13
|
Text.ignoreActionsWithoutCore = () => true;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { F as useContentT, H as Context, p as jsxRuntimeExports, T as MathJax } from "./doenetml-
|
|
1
|
+
import { F as useContentT, H as Context, p as jsxRuntimeExports, T as MathJax } from "./doenetml-NmXDuMHr.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-CoUOmMnA.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-iiMuPv8N.js";
|
|
5
5
|
import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
|
|
6
|
-
import { BoardContext } from "./graph-
|
|
6
|
+
import { BoardContext } from "./graph-CRde30im.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-CAA7rbjf.js";
|
|
9
|
+
import { D as DescriptionPopover } from "./Description-G0B1pi98.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-NmXDuMHr.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-CoUOmMnA.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-NmXDuMHr.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-DLg2Q5zE.js"), "./renderers/JSXGraphRenderer.tsx": () => import("./JSXGraphRenderer-CoUOmMnA.js").then((n) => n.m), "./renderers/_error.tsx": () => import("./_error-DDwzTMPI.js"), "./renderers/alert.tsx": () => import("./alert-D9GIfyqK.js"), "./renderers/angle.tsx": () => import("./angle-BV0ytCDY.js"), "./renderers/answer.tsx": () => import("./answer-BkDNan9B.js"), "./renderers/asList.tsx": () => import("./asList-Cf-3wB8L.js"), "./renderers/blockQuote.tsx": () => import("./blockQuote-Dzq7yOIV.js"), "./renderers/boolean.tsx": () => import("./boolean-DkhnSkFl.js"), "./renderers/booleanInput.tsx": () => import("./booleanInput-BMUjvleU.js"), "./renderers/br.tsx": () => import("./br-CNJTftVn.js"), "./renderers/button.tsx": () => import("./button-DGQ0hV6Y.js"), "./renderers/c.tsx": () => import("./c-By4_r7rL.js"), "./renderers/cell.tsx": () => import("./cell-N0Lflz6t.js"), "./renderers/choiceInput.tsx": () => import("./choiceInput-DZ9HPiSL.js"), "./renderers/circle.tsx": () => import("./circle-OpDTuDhK.js"), "./renderers/cobwebPolyline.tsx": () => import("./cobwebPolyline-Bn6ZaNog.js"), "./renderers/codeEditor.tsx": () => import("./codeEditor-MmPxp2Zg.js"), "./renderers/containerBlock.tsx": () => import("./containerBlock-Be7QGLB6.js"), "./renderers/containerInline.tsx": () => import("./containerInline-CAb0Gu8p.js"), "./renderers/curve.tsx": () => import("./curve-B4HWBqww.js"), "./renderers/ellipsis.tsx": () => import("./ellipsis-ckwL5GqF.js"), "./renderers/em.tsx": () => import("./em-DIIW_gny.js"), "./renderers/embed.tsx": () => import("./embed-CE9K3TEG.js"), "./renderers/feedback.tsx": () => import("./feedback-Cu5L5_KH.js"), "./renderers/figure.tsx": () => import("./figure-DYi7dImB.js"), "./renderers/footnote.tsx": () => import("./footnote-8rkDbDrT.js"), "./renderers/fractionInput.tsx": () => import("./fractionInput-Dpj10kp5.js"), "./renderers/graph.tsx": () => import("./graph-CRde30im.js"), "./renderers/hint.tsx": () => import("./hint-XZYyK6xP.js"), "./renderers/hr.tsx": () => import("./hr-D8HZy-LO.js"), "./renderers/image.tsx": () => import("./image-DM7Z_oNd.js"), "./renderers/label.tsx": () => import("./label-D4DRsphP.js"), "./renderers/legend.tsx": () => import("./legend-CZ1Cd882.js"), "./renderers/line.tsx": () => import("./line-8rLSyFOy.js"), "./renderers/lineSegment.tsx": () => import("./lineSegment-DqV1K6Cp.js"), "./renderers/list.tsx": () => import("./list-Cf0vh0WS.js"), "./renderers/lq.tsx": () => import("./lq-CDVaL4Ao.js"), "./renderers/lsq.tsx": () => import("./lsq-DQ4HcdtP.js"), "./renderers/math.tsx": () => import("./math-BDHsEjN4.js"), "./renderers/mathInput.tsx": () => import("./mathInput-D5g5VbhW.js"), "./renderers/matrixInput.tsx": () => import("./matrixInput-B69lOiLI.js"), "./renderers/mdash.tsx": () => import("./mdash-BxdcV1fy.js"), "./renderers/nbsp.tsx": () => import("./nbsp-CnCsRX_f.js"), "./renderers/ndash.tsx": () => import("./ndash-W0jw_Nyn.js"), "./renderers/number.tsx": () => import("./number-B9TQ0GAL.js"), "./renderers/orbitalDiagram.tsx": () => import("./orbitalDiagram-CM4J_OQT.js"), "./renderers/orbitalDiagramInput.tsx": () => import("./orbitalDiagramInput-YqNrMqgV.js"), "./renderers/p.tsx": () => import("./p-DGPKoH7d.js"), "./renderers/paginatorControls.tsx": () => import("./paginatorControls-Bzp8ZeEG.js"), "./renderers/pegboard.tsx": () => import("./pegboard-fvnu8-0E.js"), "./renderers/point.tsx": () => import("./point-DCHsUoxy.js"), "./renderers/polygon.tsx": () => import("./polygon-CLkTrCib.js"), "./renderers/polyline.tsx": () => import("./polyline-DZNb19cP.js"), "./renderers/pre.tsx": () => import("./pre-R1lxu6Fc.js"), "./renderers/prefigure.tsx": () => import("./prefigure-DFVdohxl.js"), "./renderers/pretzel.tsx": () => import("./pretzel-B_p5CaJP.js"), "./renderers/q.tsx": () => import("./q-DJITeRmE.js"), "./renderers/ray.tsx": () => import("./ray-CK8g4J2V.js"), "./renderers/ref.tsx": () => import("./ref-B398wSCk.js"), "./renderers/regionBetweenCurveXAxis.tsx": () => import("./regionBetweenCurveXAxis-D6cwY5_c.js"), "./renderers/regionBetweenCurves.tsx": () => import("./regionBetweenCurves-DsW0zj6o.js"), "./renderers/row.tsx": () => import("./row-6NePO6It.js"), "./renderers/rq.tsx": () => import("./rq-DBKHz3Zc.js"), "./renderers/rsq.tsx": () => import("./rsq-BiOuFs0z.js"), "./renderers/section.tsx": () => import("./section-CTeTg4lm.js"), "./renderers/sideBySide.tsx": () => import("./sideBySide-JMyXUG20.js"), "./renderers/slider.tsx": () => import("./slider-CcaoTvma.js"), "./renderers/solution.tsx": () => import("./solution-heiQv3Ka.js"), "./renderers/spreadsheet.tsx": () => import("./spreadsheet-C-bqQhGU.js"), "./renderers/sq.tsx": () => import("./sq-BxuIJNHh.js"), "./renderers/subsetOfRealsInput.tsx": () => import("./subsetOfRealsInput-CFaYSGkA.js"), "./renderers/summaryStatistics.tsx": () => import("./summaryStatistics-B0cbRg2I.js"), "./renderers/table.tsx": () => import("./table-bXVEbiRG.js"), "./renderers/tabular.tsx": () => import("./tabular-BiKVz4EB.js"), "./renderers/tag.tsx": () => import("./tag-CO6riRsz.js"), "./renderers/text.tsx": () => import("./text-DbwYe4Zc.js"), "./renderers/textInput.tsx": () => import("./textInput-DXJvjMfT.js"), "./renderers/vector.tsx": () => import("./vector-CLbyqly5.js"), "./renderers/video.tsx": () => import("./video-BG93ozur.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-NmXDuMHr.js";
|
|
2
|
+
import { F as FontAwesomeIcon } from "./index.es-yYBz5_7R.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-NmXDuMHr.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-CoUOmMnA.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-iiMuPv8N.js";
|
|
5
|
+
import { BoardContext, VERTEX_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-CRde30im.js";
|
|
6
|
+
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-9gNGzIOR.js";
|
|
7
|
+
import { ChoiceInputInlineContext } from "./choiceInput-DZ9HPiSL.js";
|
|
8
8
|
import { a as buildLineLikeAttributes, c as buildDragHandleAttributes } from "./buildGraphicalAttributes-0RNcbd2S.js";
|
|
9
9
|
import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-DV6a8Wvg.js";
|
|
10
10
|
import { p as pointerEventToUserCoords } from "./dragThreshold-DuSSFrIU.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-NmXDuMHr.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-iiMuPv8N.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-G0B1pi98.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-DunDdtqD.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;
|