@doenet/doenetml 0.7.20-dev.300 → 0.7.20-dev.301
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-D2fKlSbG.js → AnswerResponseButton-DM4a6oHW.js} +2 -2
- package/{Description-1zebtoaA.js → Description-CNHIKFoN.js} +1 -1
- package/{GraphFrame-N4RdDbnr.js → GraphFrame-DKgYEFNT.js} +2 -2
- package/{JSXGraphRenderer-C_ze-BW3.js → JSXGraphRenderer-UkH1CcXh.js} +1 -1
- package/{NonInlineMediaWrapper-Cxw2tH9-.js → NonInlineMediaWrapper-PFKgKoQL.js} +1 -1
- package/{_error-BE5TmF_0.js → _error-DDKiYq-5.js} +2 -2
- package/{alert-scMCzzgD.js → alert-Bx4AzWP-.js} +3 -3
- package/{angle-D8WjSZT3.js → angle-8h4fj48A.js} +6 -6
- package/{answer-BI32VWKw.js → answer-C9CFP9ka.js} +5 -5
- package/{asList-DTStzdxw.js → asList-aPHQi5Nd.js} +2 -2
- package/{blockQuote-DU5_L4C0.js → blockQuote-D33tfU-f.js} +3 -3
- package/{boolean-ue-C2YSH.js → boolean-BwUlNwl4.js} +2 -2
- package/{booleanInput-BP3qKvjc.js → booleanInput-C8g-brQJ.js} +6 -6
- package/{br-DW02MWir.js → br-D8CQLLx4.js} +2 -2
- package/{button-Cj8H46wR.js → button-CF8C2ry5.js} +4 -4
- package/{c-Fz1rHF_1.js → c-BNocXy12.js} +3 -3
- package/{cell-BovE1ry1.js → cell-Kgwn4sDS.js} +3 -3
- package/{choiceInput-CrgIEajm.js → choiceInput-JdAvGY0k.js} +4 -4
- package/{circle-B1lpLKF7.js → circle-DLry40OT.js} +5 -5
- package/{cobwebPolyline-Bax6_R9d.js → cobwebPolyline-B4JTFowV.js} +4 -4
- package/{codeEditor-CnkuDVmO.js → codeEditor-FQ2jK3CN.js} +2 -2
- package/{composites-BNs629W0.js → composites-dMz4m52O.js} +1 -1
- package/{containerBlock-BQQK9ke_.js → containerBlock-CSewnBnH.js} +4 -4
- package/{containerInline-BCm9gAfi.js → containerInline-CUi4DgJh.js} +4 -4
- package/{curve-DIfo6dwP.js → curve-BZzR-sjb.js} +4 -4
- package/doenetml-inline-worker.js +2 -2
- package/{doenetml-DwOsdb9u.js → doenetml-z8RlzWPI.js} +4 -4
- package/{ellipsis-CnR3154T.js → ellipsis-BbO-EfB4.js} +2 -2
- package/{em-9c2cQTHf.js → em-CS99vQ7t.js} +3 -3
- package/{embed-Cj-b-NVT.js → embed-DqM8Wi85.js} +2 -2
- package/{feedback-CZZSZJc3.js → feedback-D-xH9rSs.js} +4 -4
- package/{figure-CtuvAsyx.js → figure-BuBwpCjh.js} +3 -3
- package/{fillPatterns-D2andFDg.js → fillPatterns-DdtUUOND.js} +1 -1
- package/{footnote-CxAO20ZE.js → footnote-BCu3S78k.js} +3 -3
- package/{fractionInput-thIWCYes.js → fractionInput-CZZuKrF_.js} +4 -4
- package/{graph-Px18HF0X.js → graph-AZJbUlAI.js} +6 -6
- package/{hint-d_byAGL0.js → hint-5Bc-hhgS.js} +4 -4
- package/{hr-NoF4lclg.js → hr-DaZ3-BWu.js} +2 -2
- package/{image-DATuAwji.js → image-BadwQvui.js} +7 -7
- package/{index-CjP11lXj.js → index-DQ_IGGYL.js} +1 -1
- package/{index.es-DNkXz0QS.js → index.es-DpCR_AB_.js} +1 -1
- package/index.js +1 -1
- package/{label-cIQESG5b.js → label-CPjyx4YA.js} +6 -6
- package/{labelWithLatex-COqMJ0jf.js → labelWithLatex-DjLovTzQ.js} +1 -1
- package/{legend-D_zfJX3L.js → legend-Ciu_KJck.js} +4 -4
- package/{line-D8dz2yzN.js → line-2NV-JzWI.js} +5 -5
- package/{lineSegment-qhHN1MIi.js → lineSegment-_IEng_VN.js} +4 -4
- package/{list-B_0IFlTC.js → list-Crh8wZGX.js} +4 -4
- package/{lq-BWHuBoFk.js → lq-MeqrJCRQ.js} +2 -2
- package/{lsq-2WYhqiF6.js → lsq-C8FO-gWc.js} +2 -2
- package/{markupRenderer-D7Th1qsa.js → markupRenderer-BpzDcmlG.js} +1 -1
- package/{math-C4u6zaVN.js → math-BhmQZk1P.js} +6 -6
- package/{mathInput-CgAiFv-Z.js → mathInput-C2qKGkpA.js} +5 -5
- package/{matrixInput-B4AfrfX7.js → matrixInput-Bf68naN_.js} +4 -4
- package/{mdash-Jmrr6sNz.js → mdash-BqUoG5tv.js} +2 -2
- package/{nbsp-DTRQfIuP.js → nbsp-BbHxKw3w.js} +2 -2
- package/{ndash-DUnJMhQ1.js → ndash-Lb9m4XfK.js} +2 -2
- package/{number-DOjQJE4x.js → number-BjRZ0Cl5.js} +6 -6
- package/{orbitalDiagram-CQeR2Mba.js → orbitalDiagram-BINGRvvC.js} +2 -2
- package/{orbitalDiagramInput-BtrRYIb6.js → orbitalDiagramInput-BnmQOagl.js} +2 -2
- package/{p-DlSFUXyZ.js → p-BjUPpCaN.js} +4 -4
- package/package.json +1 -1
- package/{paginatorControls-PUXSsKlk.js → paginatorControls-BlzSj8jj.js} +2 -2
- package/{pegboard-D_jhEM-N.js → pegboard-CF3Jl6hU.js} +4 -4
- package/{point-C1JU6u7z.js → point-DlHxWdX7.js} +5 -5
- package/{polygon-XN7WNNMP.js → polygon-BJQvz4t1.js} +5 -5
- package/{polyline-OxdvRpmy.js → polyline-Cb5AgDXI.js} +4 -4
- package/{pre-DZ9DYE4E.js → pre-DYJ5iGvj.js} +3 -3
- package/{prefigure-C4AW-cO0.js → prefigure-DFtvdC3R.js} +1 -1
- package/{pretzel-CmBie1qg.js → pretzel-CL6RNGnU.js} +4 -4
- package/{q-ahbBkxTo.js → q-0Zwe6b9o.js} +3 -3
- package/{ray-BTJ8qClY.js → ray-Cd0B9TYn.js} +4 -4
- package/{ref-yONah3eu.js → ref-83cRLgI-.js} +2 -2
- package/{regionBetweenCurveXAxis-DDG988eG.js → regionBetweenCurveXAxis-_1JCx76a.js} +5 -5
- package/{regionBetweenCurves-D6i_nk7G.js → regionBetweenCurves-BzRKJfDD.js} +4 -4
- package/{row-CSlo5Ult.js → row-B9r7X2oJ.js} +2 -2
- package/{rq-yGBF1Lzm.js → rq-CsxyDjZU.js} +2 -2
- package/{rsq-nCNnYwgs.js → rsq-B26lhQvu.js} +2 -2
- package/{section-Dmx5-RDa.js → section-BP5EL_RX.js} +5 -5
- package/{sha256-Cki_HER3-CpFXjZEJ.js → sha256-Cki_HER3-rhCoKzrD.js} +1 -1
- package/{sideBySide-BRvq8obz.js → sideBySide-DzuV_FDI.js} +2 -2
- package/{slider-Dw2kaqd4.js → slider-DmwnnaZk.js} +3 -3
- package/{solution-eA8XqZXL.js → solution-DsLOxcU_.js} +4 -4
- package/{spreadsheet-Bl53SPul.js → spreadsheet-AY5e3fWe.js} +2 -2
- package/{sq-DoHtOc3M.js → sq-5sadifZU.js} +3 -3
- package/{subsetOfRealsInput-BmFccyKe.js → subsetOfRealsInput-R4WTyzd3.js} +2 -2
- package/{summaryStatistics-EA5WqKF5.js → summaryStatistics-BNxkeHp1.js} +2 -2
- package/{table-CbLZ4S7y.js → table-BhVPlWRk.js} +2 -2
- package/{tabular-CFSaXH1o.js → tabular-Dir1u3au.js} +2 -2
- package/{tag-DQwAdlEE.js → tag-CCZtd_rl.js} +2 -2
- package/{text-DxI_HN6e.js → text-BcHonvFh.js} +6 -6
- package/{textInput-DW5RqePu.js → textInput-lZtvG2Xv.js} +6 -6
- package/{tooltip-provider-ChRHoXHl.js → tooltip-provider-PUupfF3l.js} +1 -1
- package/{useAnchoredGraphDragHandler-C3oL4ASY.js → useAnchoredGraphDragHandler-BRIzZ5N0.js} +1 -1
- package/useDoenetRenderer-gI6qC2I3.js +114 -0
- package/{useSubmitActionWithDelay-1eucj2M7.js → useSubmitActionWithDelay-DNG_4j8Q.js} +2 -2
- package/{vector-DxGqp0Wj.js → vector-Cw-TlaU_.js} +5 -5
- package/{video-BcNixpxt.js → video-DQ11HBIa.js} +4 -4
- package/useDoenetRenderer-DtgJj0ZG.js +0 -114
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { k as DocContext, j as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { k as DocContext, j as jsxRuntimeExports } from "./doenetml-z8RlzWPI.js";
|
|
2
2
|
import React__default, { useContext, useRef } from "react";
|
|
3
|
-
import { r as removeJXGEventHandlers, j as jxg, d as syncVisPropValues, s as syncLayer, c as syncLabelStrokeColor, b as syncLineStrokeStyle } from "./JSXGraphRenderer-
|
|
4
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
5
|
-
import { BoardContext, LINE_LAYER_OFFSET, VERTEX_LAYER_OFFSET } from "./graph-
|
|
3
|
+
import { r as removeJXGEventHandlers, j as jxg, d as syncVisPropValues, s as syncLayer, c as syncLabelStrokeColor, b as syncLineStrokeStyle } from "./JSXGraphRenderer-UkH1CcXh.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-gI6qC2I3.js";
|
|
5
|
+
import { BoardContext, LINE_LAYER_OFFSET, VERTEX_LAYER_OFFSET } from "./graph-AZJbUlAI.js";
|
|
6
6
|
import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-DeK-TkFS.js";
|
|
7
7
|
import { p as pointerEventToUserCoords } from "./dragThreshold-1Y9NDMT1.js";
|
|
8
8
|
import { c as resolveHandleColor, a as resolveLineColor, r as resolveFillColor } from "./styleColors-DH1y_fdG.js";
|
|
@@ -10,7 +10,7 @@ import { s as styleToDash } from "./styleToDash-DWb71gbd.js";
|
|
|
10
10
|
import { u as useDraggableRefs, a as useJSXGraphCleanup } from "./useJSXGraphCleanup-CX91oVW8.js";
|
|
11
11
|
import { a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-BFAmG26N.js";
|
|
12
12
|
import { c as buildBaseAttributes } from "./buildGraphicalAttributes-WXpVD4ud.js";
|
|
13
|
-
import { g as getPatternFillAttributes } from "./fillPatterns-
|
|
13
|
+
import { g as getPatternFillAttributes } from "./fillPatterns-DdtUUOND.js";
|
|
14
14
|
const polygon = React__default.memo(function Polygon(props) {
|
|
15
15
|
let { componentIdx, id, SVs, actions, sourceOfUpdate, callAction } = useDoenetRenderer(props);
|
|
16
16
|
Polygon.ignoreActionsWithoutCore = () => true;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { k as DocContext, j as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { k as DocContext, j as jsxRuntimeExports } from "./doenetml-z8RlzWPI.js";
|
|
2
2
|
import React__default, { useContext, useRef } from "react";
|
|
3
|
-
import { s as syncLayer, r as removeJXGEventHandlers, j as jxg, d as syncVisPropValues, b as syncLineStrokeStyle, c as syncLabelStrokeColor } from "./JSXGraphRenderer-
|
|
4
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
5
|
-
import { BoardContext, VERTEX_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-
|
|
3
|
+
import { s as syncLayer, r as removeJXGEventHandlers, j as jxg, d as syncVisPropValues, b as syncLineStrokeStyle, c as syncLabelStrokeColor } from "./JSXGraphRenderer-UkH1CcXh.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-gI6qC2I3.js";
|
|
5
|
+
import { BoardContext, VERTEX_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-AZJbUlAI.js";
|
|
6
6
|
import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-DeK-TkFS.js";
|
|
7
7
|
import { p as pointerEventToUserCoords } from "./dragThreshold-1Y9NDMT1.js";
|
|
8
8
|
import { c as resolveHandleColor, a as resolveLineColor } from "./styleColors-DH1y_fdG.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { u as useRecordVisibilityChanges, j as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useRecordVisibilityChanges, j as jsxRuntimeExports } from "./doenetml-z8RlzWPI.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-gI6qC2I3.js";
|
|
4
|
+
import { a as addCommasForCompositeRanges } from "./composites-dMz4m52O.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 { j as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { j as jsxRuntimeExports } from "./doenetml-z8RlzWPI.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 useRecordVisibilityChanges, k as DocContext, j as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useRecordVisibilityChanges, k as DocContext, j as jsxRuntimeExports } from "./doenetml-z8RlzWPI.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-gI6qC2I3.js";
|
|
4
|
+
import { A as AnswerResponseButton } from "./AnswerResponseButton-DM4a6oHW.js";
|
|
5
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-DNG_4j8Q.js";
|
|
6
6
|
const pretzel = React__default.memo(function Pretzel(props) {
|
|
7
7
|
let {
|
|
8
8
|
componentIdx,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { j as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { j as jsxRuntimeExports } from "./doenetml-z8RlzWPI.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-gI6qC2I3.js";
|
|
4
|
+
import { r as renderMarkupBody } from "./markupRenderer-BpzDcmlG.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,8 +1,8 @@
|
|
|
1
|
-
import { k as DocContext, j as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { k as DocContext, j as jsxRuntimeExports } from "./doenetml-z8RlzWPI.js";
|
|
2
2
|
import React__default, { useContext, useRef } from "react";
|
|
3
|
-
import { j as jxg, e as syncLineFamilyVisibility, s as syncLayer, b as syncLineStrokeStyle, a as syncWithLabelToggle, c as syncLabelStrokeColor, f as applyLineFamilyLabelPlacement, g as buildLineFamilyLabelAttributes, h as stabilizeInitialLineFamilyLabelPlacement, r as removeJXGEventHandlers } from "./JSXGraphRenderer-
|
|
4
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
5
|
-
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-
|
|
3
|
+
import { j as jxg, e as syncLineFamilyVisibility, s as syncLayer, b as syncLineStrokeStyle, a as syncWithLabelToggle, c as syncLabelStrokeColor, f as applyLineFamilyLabelPlacement, g as buildLineFamilyLabelAttributes, h as stabilizeInitialLineFamilyLabelPlacement, r as removeJXGEventHandlers } from "./JSXGraphRenderer-UkH1CcXh.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-gI6qC2I3.js";
|
|
5
|
+
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-AZJbUlAI.js";
|
|
6
6
|
import { a as buildLineLikeAttributes } from "./buildGraphicalAttributes-WXpVD4ud.js";
|
|
7
7
|
import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-DeK-TkFS.js";
|
|
8
8
|
import { p as pointerEventToUserCoords } from "./dragThreshold-1Y9NDMT1.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { k as DocContext, j as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { k as DocContext, j as jsxRuntimeExports } from "./doenetml-z8RlzWPI.js";
|
|
2
2
|
import React__default, { useContext, useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-gI6qC2I3.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 { k as DocContext, o as createFunctionFromDefinition, j as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { k as DocContext, o as createFunctionFromDefinition, j as jsxRuntimeExports } from "./doenetml-z8RlzWPI.js";
|
|
2
2
|
import React__default, { useContext, useRef, useEffect } from "react";
|
|
3
|
-
import { j as jxg } 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 } from "./JSXGraphRenderer-UkH1CcXh.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-gI6qC2I3.js";
|
|
5
|
+
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-AZJbUlAI.js";
|
|
6
|
+
import { g as getPatternFillAttributes } from "./fillPatterns-DdtUUOND.js";
|
|
7
7
|
const regionBetweenCurveXAxis = React__default.memo(function RegionBetweenCurveXAxis(props) {
|
|
8
8
|
let { id, SVs } = useDoenetRenderer(props);
|
|
9
9
|
RegionBetweenCurveXAxis.ignoreActionsWithoutCore = () => true;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { k as DocContext, o as createFunctionFromDefinition, j as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { k as DocContext, o as createFunctionFromDefinition, j as jsxRuntimeExports } from "./doenetml-z8RlzWPI.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-gI6qC2I3.js";
|
|
4
|
+
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-AZJbUlAI.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-DdtUUOND.js";
|
|
7
7
|
const regionBetweenCurves = React__default.memo(function RegionBetweenCurves(props) {
|
|
8
8
|
let { id, SVs } = useDoenetRenderer(props);
|
|
9
9
|
RegionBetweenCurves.ignoreActionsWithoutCore = () => true;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { j as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { j as jsxRuntimeExports } from "./doenetml-z8RlzWPI.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-gI6qC2I3.js";
|
|
4
4
|
const row = React__default.memo(function Row(props) {
|
|
5
5
|
let { id, SVs, children } = useDoenetRenderer(props);
|
|
6
6
|
if (SVs.hidden) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { j as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { j as jsxRuntimeExports } from "./doenetml-z8RlzWPI.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-gI6qC2I3.js";
|
|
4
4
|
const rq = React__default.memo(function Rq(props) {
|
|
5
5
|
let { SVs } = useDoenetRenderer(props, false);
|
|
6
6
|
if (SVs.hidden) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { j as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { j as jsxRuntimeExports } from "./doenetml-z8RlzWPI.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-gI6qC2I3.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 { k as DocContext, n as cesc, u as useRecordVisibilityChanges, j as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { k as DocContext, n as cesc, u as useRecordVisibilityChanges, j as jsxRuntimeExports } from "./doenetml-z8RlzWPI.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-DpCR_AB_.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-gI6qC2I3.js";
|
|
6
|
+
import { a as addCommasForCompositeRanges } from "./composites-dMz4m52O.js";
|
|
7
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-DNG_4j8Q.js";
|
|
8
8
|
const section = React__default.memo(function Section(props) {
|
|
9
9
|
let { id, SVs, children, actions, callAction } = useDoenetRenderer(props);
|
|
10
10
|
const { darkMode } = useContext(DocContext) || {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { u as useRecordVisibilityChanges, j as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useRecordVisibilityChanges, j as jsxRuntimeExports } from "./doenetml-z8RlzWPI.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-gI6qC2I3.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 { j as jsxRuntimeExports, A as ActionButtonGroup, z as ActionButton, l as Context } from "./doenetml-
|
|
1
|
+
import { j as jsxRuntimeExports, A as ActionButtonGroup, z as ActionButton, l as Context } from "./doenetml-z8RlzWPI.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-gI6qC2I3.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-DjLovTzQ.js";
|
|
6
6
|
let round_to_decimals = (x, n) => {
|
|
7
7
|
try {
|
|
8
8
|
return Context.round_numbers_to_decimals(x, n).tree;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { u as useRecordVisibilityChanges, j as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useRecordVisibilityChanges, j as jsxRuntimeExports } from "./doenetml-z8RlzWPI.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-gI6qC2I3.js";
|
|
4
|
+
import { F as FontAwesomeIcon } from "./index.es-DpCR_AB_.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-dMz4m52O.js";
|
|
7
7
|
const solution = React__default.memo(function Solution(props) {
|
|
8
8
|
let { id, SVs, children, actions, callAction } = useDoenetRenderer(props);
|
|
9
9
|
const ref = useRef(null);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { k as DocContext, u as useRecordVisibilityChanges, j as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { k as DocContext, u as useRecordVisibilityChanges, j as jsxRuntimeExports } from "./doenetml-z8RlzWPI.js";
|
|
2
2
|
import React__default, { forwardRef, useId, useRef, useCallback, useMemo, createContext as createContext$1, useEffect, Children, useImperativeHandle, Fragment, useContext, useState } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-gI6qC2I3.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 { j as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { j as jsxRuntimeExports } from "./doenetml-z8RlzWPI.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-gI6qC2I3.js";
|
|
4
|
+
import { r as renderMarkupBody } from "./markupRenderer-BpzDcmlG.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 useRecordVisibilityChanges, j as jsxRuntimeExports, F as ToggleButtonGroup, T as ToggleButton, A as ActionButtonGroup, z as ActionButton } from "./doenetml-
|
|
1
|
+
import { u as useRecordVisibilityChanges, j as jsxRuntimeExports, F as ToggleButtonGroup, T as ToggleButton, A as ActionButtonGroup, z as ActionButton } from "./doenetml-z8RlzWPI.js";
|
|
2
2
|
import React__default, { useState, useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-gI6qC2I3.js";
|
|
4
4
|
const subsetOfRealsInput = React__default.memo(function subsetOfReals(props) {
|
|
5
5
|
let { id, SVs, actions, callAction } = useDoenetRenderer(props, false);
|
|
6
6
|
let [mode, setMode] = useState("add remove points");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { u as useRecordVisibilityChanges, j as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useRecordVisibilityChanges, j as jsxRuntimeExports } from "./doenetml-z8RlzWPI.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-gI6qC2I3.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 { u as useRecordVisibilityChanges, j as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useRecordVisibilityChanges, j as jsxRuntimeExports } from "./doenetml-z8RlzWPI.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-gI6qC2I3.js";
|
|
4
4
|
const table = React__default.memo(function Table(props) {
|
|
5
5
|
let { id, SVs, children, actions, callAction } = useDoenetRenderer(props);
|
|
6
6
|
const ref = useRef(null);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { u as useRecordVisibilityChanges, j as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useRecordVisibilityChanges, j as jsxRuntimeExports } from "./doenetml-z8RlzWPI.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-gI6qC2I3.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 { j as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { j as jsxRuntimeExports } from "./doenetml-z8RlzWPI.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-gI6qC2I3.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 { k as DocContext, l as Context, j as jsxRuntimeExports, t as textRendererStyle } from "./doenetml-
|
|
1
|
+
import { k as DocContext, l as Context, j as jsxRuntimeExports, t as textRendererStyle } from "./doenetml-z8RlzWPI.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-UkH1CcXh.js";
|
|
4
|
+
import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-AZJbUlAI.js";
|
|
5
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-gI6qC2I3.js";
|
|
6
6
|
import { g as getPositionFromAnchorByCoordinate } from "./graph-FesVg1vs.js";
|
|
7
|
-
import { ChoiceInputInlineContext } from "./choiceInput-
|
|
7
|
+
import { ChoiceInputInlineContext } from "./choiceInput-JdAvGY0k.js";
|
|
8
8
|
import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-DeK-TkFS.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-BRIzZ5N0.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 { l as Context, j as jsxRuntimeExports, M as MathJax } from "./doenetml-
|
|
1
|
+
import { l as Context, j as jsxRuntimeExports, M as MathJax } from "./doenetml-z8RlzWPI.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-UkH1CcXh.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-gI6qC2I3.js";
|
|
5
5
|
import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
|
|
6
|
-
import { BoardContext } from "./graph-
|
|
6
|
+
import { BoardContext } from "./graph-AZJbUlAI.js";
|
|
7
7
|
import { g as getPositionFromAnchorByCoordinate, P as POINTER_DRAG_THRESHOLD } from "./graph-FesVg1vs.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-DNG_4j8Q.js";
|
|
9
|
+
import { D as DescriptionPopover } from "./Description-CNHIKFoN.js";
|
|
10
10
|
import { a as addValidationStateToShortDescription } from "./validationState-CVwSJZpB.js";
|
|
11
11
|
function TextInput(props) {
|
|
12
12
|
let { id, SVs, children, actions, ignoreUpdate, callAction } = useDoenetRenderer(props);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a2 as createStoreContext, a3 as HovercardScopedContextProvider, a4 as HovercardContextProvider, a5 as createDialogComponent, I as forwardRef2, J as createHook, K as createElement, N as invariant, a6 as useWrapElement, j as jsxRuntimeExports, a7 as useHovercard, a8 as isFalsyBooleanCallback, a9 as contains, aa as sync, ab as chain, ac as createStore, ad as useEvent, ae as useHovercardAnchor, af as createHovercardStore, ag as defaultValue, ah as useStore, ai as useStoreProps, aj as useHovercardStoreProps } from "./doenetml-
|
|
1
|
+
import { a2 as createStoreContext, a3 as HovercardScopedContextProvider, a4 as HovercardContextProvider, a5 as createDialogComponent, I as forwardRef2, J as createHook, K as createElement, N as invariant, a6 as useWrapElement, j as jsxRuntimeExports, a7 as useHovercard, a8 as isFalsyBooleanCallback, a9 as contains, aa as sync, ab as chain, ac as createStore, ad as useEvent, ae as useHovercardAnchor, af as createHovercardStore, ag as defaultValue, ah as useStore, ai as useStoreProps, aj as useHovercardStoreProps } from "./doenetml-z8RlzWPI.js";
|
|
2
2
|
import { useRef, useEffect } from "react";
|
|
3
3
|
var ctx = createStoreContext(
|
|
4
4
|
[HovercardContextProvider],
|
|
@@ -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-UkH1CcXh.js";
|
|
2
2
|
import { e as exceededDragThreshold, p as pointerEventToUserCoords } from "./dragThreshold-1Y9NDMT1.js";
|
|
3
3
|
function attachAnchoredGraphDragHandlers(params) {
|
|
4
4
|
const {
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import { q as useAppSelector, v as mainSlice, w as renderersLoadComponent, _ as __variableDynamicImportRuntimeHelper } from "./doenetml-z8RlzWPI.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-DKgYEFNT.js"), "./renderers/JSXGraphRenderer.tsx": () => import("./JSXGraphRenderer-UkH1CcXh.js").then((n) => n.i), "./renderers/_error.tsx": () => import("./_error-DDKiYq-5.js"), "./renderers/alert.tsx": () => import("./alert-Bx4AzWP-.js"), "./renderers/angle.tsx": () => import("./angle-8h4fj48A.js"), "./renderers/answer.tsx": () => import("./answer-C9CFP9ka.js"), "./renderers/asList.tsx": () => import("./asList-aPHQi5Nd.js"), "./renderers/blockQuote.tsx": () => import("./blockQuote-D33tfU-f.js"), "./renderers/boolean.tsx": () => import("./boolean-BwUlNwl4.js"), "./renderers/booleanInput.tsx": () => import("./booleanInput-C8g-brQJ.js"), "./renderers/br.tsx": () => import("./br-D8CQLLx4.js"), "./renderers/button.tsx": () => import("./button-CF8C2ry5.js"), "./renderers/c.tsx": () => import("./c-BNocXy12.js"), "./renderers/cell.tsx": () => import("./cell-Kgwn4sDS.js"), "./renderers/choiceInput.tsx": () => import("./choiceInput-JdAvGY0k.js"), "./renderers/circle.tsx": () => import("./circle-DLry40OT.js"), "./renderers/cobwebPolyline.tsx": () => import("./cobwebPolyline-B4JTFowV.js"), "./renderers/codeEditor.tsx": () => import("./codeEditor-FQ2jK3CN.js"), "./renderers/containerBlock.tsx": () => import("./containerBlock-CSewnBnH.js"), "./renderers/containerInline.tsx": () => import("./containerInline-CUi4DgJh.js"), "./renderers/curve.tsx": () => import("./curve-BZzR-sjb.js"), "./renderers/ellipsis.tsx": () => import("./ellipsis-BbO-EfB4.js"), "./renderers/em.tsx": () => import("./em-CS99vQ7t.js"), "./renderers/embed.tsx": () => import("./embed-DqM8Wi85.js"), "./renderers/feedback.tsx": () => import("./feedback-D-xH9rSs.js"), "./renderers/figure.tsx": () => import("./figure-BuBwpCjh.js"), "./renderers/footnote.tsx": () => import("./footnote-BCu3S78k.js"), "./renderers/fractionInput.tsx": () => import("./fractionInput-CZZuKrF_.js"), "./renderers/graph.tsx": () => import("./graph-AZJbUlAI.js"), "./renderers/hint.tsx": () => import("./hint-5Bc-hhgS.js"), "./renderers/hr.tsx": () => import("./hr-DaZ3-BWu.js"), "./renderers/image.tsx": () => import("./image-BadwQvui.js"), "./renderers/label.tsx": () => import("./label-CPjyx4YA.js"), "./renderers/legend.tsx": () => import("./legend-Ciu_KJck.js"), "./renderers/line.tsx": () => import("./line-2NV-JzWI.js"), "./renderers/lineSegment.tsx": () => import("./lineSegment-_IEng_VN.js"), "./renderers/list.tsx": () => import("./list-Crh8wZGX.js"), "./renderers/lq.tsx": () => import("./lq-MeqrJCRQ.js"), "./renderers/lsq.tsx": () => import("./lsq-C8FO-gWc.js"), "./renderers/math.tsx": () => import("./math-BhmQZk1P.js"), "./renderers/mathInput.tsx": () => import("./mathInput-C2qKGkpA.js"), "./renderers/matrixInput.tsx": () => import("./matrixInput-Bf68naN_.js"), "./renderers/mdash.tsx": () => import("./mdash-BqUoG5tv.js"), "./renderers/nbsp.tsx": () => import("./nbsp-BbHxKw3w.js"), "./renderers/ndash.tsx": () => import("./ndash-Lb9m4XfK.js"), "./renderers/number.tsx": () => import("./number-BjRZ0Cl5.js"), "./renderers/orbitalDiagram.tsx": () => import("./orbitalDiagram-BINGRvvC.js"), "./renderers/orbitalDiagramInput.tsx": () => import("./orbitalDiagramInput-BnmQOagl.js"), "./renderers/p.tsx": () => import("./p-BjUPpCaN.js"), "./renderers/paginatorControls.tsx": () => import("./paginatorControls-BlzSj8jj.js"), "./renderers/pegboard.tsx": () => import("./pegboard-CF3Jl6hU.js"), "./renderers/point.tsx": () => import("./point-DlHxWdX7.js"), "./renderers/polygon.tsx": () => import("./polygon-BJQvz4t1.js"), "./renderers/polyline.tsx": () => import("./polyline-Cb5AgDXI.js"), "./renderers/pre.tsx": () => import("./pre-DYJ5iGvj.js"), "./renderers/prefigure.tsx": () => import("./prefigure-DFtvdC3R.js"), "./renderers/pretzel.tsx": () => import("./pretzel-CL6RNGnU.js"), "./renderers/q.tsx": () => import("./q-0Zwe6b9o.js"), "./renderers/ray.tsx": () => import("./ray-Cd0B9TYn.js"), "./renderers/ref.tsx": () => import("./ref-83cRLgI-.js"), "./renderers/regionBetweenCurveXAxis.tsx": () => import("./regionBetweenCurveXAxis-_1JCx76a.js"), "./renderers/regionBetweenCurves.tsx": () => import("./regionBetweenCurves-BzRKJfDD.js"), "./renderers/row.tsx": () => import("./row-B9r7X2oJ.js"), "./renderers/rq.tsx": () => import("./rq-CsxyDjZU.js"), "./renderers/rsq.tsx": () => import("./rsq-B26lhQvu.js"), "./renderers/section.tsx": () => import("./section-BP5EL_RX.js"), "./renderers/sideBySide.tsx": () => import("./sideBySide-DzuV_FDI.js"), "./renderers/slider.tsx": () => import("./slider-DmwnnaZk.js"), "./renderers/solution.tsx": () => import("./solution-DsLOxcU_.js"), "./renderers/spreadsheet.tsx": () => import("./spreadsheet-AY5e3fWe.js"), "./renderers/sq.tsx": () => import("./sq-5sadifZU.js"), "./renderers/subsetOfRealsInput.tsx": () => import("./subsetOfRealsInput-R4WTyzd3.js"), "./renderers/summaryStatistics.tsx": () => import("./summaryStatistics-BNxkeHp1.js"), "./renderers/table.tsx": () => import("./table-BhVPlWRk.js"), "./renderers/tabular.tsx": () => import("./tabular-Dir1u3au.js"), "./renderers/tag.tsx": () => import("./tag-CCZtd_rl.js"), "./renderers/text.tsx": () => import("./text-BcHonvFh.js"), "./renderers/textInput.tsx": () => import("./textInput-lZtvG2Xv.js"), "./renderers/vector.tsx": () => import("./vector-Cw-TlaU_.js"), "./renderers/video.tsx": () => import("./video-DQ11HBIa.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 { j as jsxRuntimeExports } from "./doenetml-
|
|
2
|
-
import { F as FontAwesomeIcon } from "./index.es-
|
|
1
|
+
import { j as jsxRuntimeExports } from "./doenetml-z8RlzWPI.js";
|
|
2
|
+
import { F as FontAwesomeIcon } from "./index.es-DpCR_AB_.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,9 +1,9 @@
|
|
|
1
|
-
import { k as DocContext, j as jsxRuntimeExports, t as textRendererStyle, M as MathJax } from "./doenetml-
|
|
1
|
+
import { k as DocContext, j as jsxRuntimeExports, t as textRendererStyle, M as MathJax } from "./doenetml-z8RlzWPI.js";
|
|
2
2
|
import React__default, { useContext, useRef } from "react";
|
|
3
|
-
import { j as jxg, s as syncLayer, d as syncVisPropValues, b as syncLineStrokeStyle, a as syncWithLabelToggle, c as syncLabelStrokeColor, f as applyLineFamilyLabelPlacement, g as buildLineFamilyLabelAttributes, h 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 { ChoiceInputInlineContext } from "./choiceInput-
|
|
3
|
+
import { j as jxg, s as syncLayer, d as syncVisPropValues, b as syncLineStrokeStyle, a as syncWithLabelToggle, c as syncLabelStrokeColor, f as applyLineFamilyLabelPlacement, g as buildLineFamilyLabelAttributes, h as stabilizeInitialLineFamilyLabelPlacement, r as removeJXGEventHandlers } from "./JSXGraphRenderer-UkH1CcXh.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-gI6qC2I3.js";
|
|
5
|
+
import { BoardContext, VERTEX_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-AZJbUlAI.js";
|
|
6
|
+
import { ChoiceInputInlineContext } from "./choiceInput-JdAvGY0k.js";
|
|
7
7
|
import { a as buildLineLikeAttributes } from "./buildGraphicalAttributes-WXpVD4ud.js";
|
|
8
8
|
import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-DeK-TkFS.js";
|
|
9
9
|
import { p as pointerEventToUserCoords } from "./dragThreshold-1Y9NDMT1.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { u as useRecordVisibilityChanges, j as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useRecordVisibilityChanges, j as jsxRuntimeExports } from "./doenetml-z8RlzWPI.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-gI6qC2I3.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-CNHIKFoN.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-PFKgKoQL.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;
|