@doenet/doenetml 0.7.22 → 0.7.23-dev.446
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-z26tufJs.js → AnswerResponseButton-DyWXKo6v.js} +2 -2
- package/{Description-CgfkOAsF.js → Description-D8eSeiSN.js} +1 -1
- package/{GraphFrame-BfihAgoG.js → GraphFrame-BLQMoTz7.js} +2 -2
- package/{JSXGraphRenderer-BGRQlTa2.js → JSXGraphRenderer-DsED_IYR.js} +1 -1
- package/{NonInlineMediaWrapper-Bfz3Wg2x.js → NonInlineMediaWrapper-BIZiYEyJ.js} +1 -1
- package/{_error-Dc58Ivsy.js → _error-BR4OLjxm.js} +2 -2
- package/{alert-CGjYkXsO.js → alert-yVdGlXkn.js} +3 -3
- package/{angle-97wH4Ys9.js → angle-BHMjBiYL.js} +6 -6
- package/{answer-DwJn-HYB.js → answer-B3MlhyK1.js} +5 -5
- package/{asList-DBFNMD6X.js → asList-C-QGYFna.js} +2 -2
- package/{blockQuote-DGQ4BKrQ.js → blockQuote-BUijb7-U.js} +3 -3
- package/{boolean-Cvr8d5xk.js → boolean-Bb0VIVoS.js} +2 -2
- package/{booleanInput-Z053Kvv-.js → booleanInput-hVFN83aA.js} +6 -6
- package/{br-DJnyVoyA.js → br-DwmabJPD.js} +2 -2
- package/{button-DFLl0_Km.js → button-DTnZStCy.js} +4 -4
- package/{c-9AZgfFbD.js → c-Dnlt6r-1.js} +3 -3
- package/{cell-CNkuz0Ul.js → cell-CdGTtaUp.js} +3 -3
- package/{choiceInput-B3Hnc0NP.js → choiceInput-C_4uPa4T.js} +4 -4
- package/{circle-ByH7ZKM8.js → circle-D4puQp-K.js} +6 -6
- package/{cobwebPolyline-C2Mt2w5_.js → cobwebPolyline-pzpR8b86.js} +4 -4
- package/{codeEditor-BRIEjNsU.js → codeEditor-Bku7Ylau.js} +2 -2
- package/{composites-Dkldm2Vp.js → composites-BqzFUk_h.js} +1 -1
- package/{containerBlock-DUiOOf5u.js → containerBlock-CiAsFmTu.js} +4 -4
- package/{containerInline-DZQaDktJ.js → containerInline-BduAdm_w.js} +4 -4
- package/{curve-DYY-ePZb.js → curve-D9Bz5bzE.js} +4 -4
- package/{doenetml-D5HX-x7S.js → doenetml-KneMbdUl.js} +851 -84
- package/doenetml-external-worker.js +8 -6
- package/doenetml-inline-worker.js +8 -6
- package/{ellipsis-CvGUChTX.js → ellipsis-CySN_qv6.js} +2 -2
- package/{em-WMlNwyJV.js → em-DAUgIg6f.js} +3 -3
- package/{embed-Ts8N9zsJ.js → embed-l4BxxdBO.js} +2 -2
- package/{feedback-fyFZJNr-.js → feedback-BTZMQoBJ.js} +4 -4
- package/{figure-CvH-umji.js → figure-QbUCbI8x.js} +3 -3
- package/{fillPatterns-BxyLP9oy.js → fillPatterns-O5qMvUVb.js} +1 -1
- package/{footnote-BKpCCSpF.js → footnote-dMsVu_z4.js} +3 -3
- package/{fractionInput-CegMDYmq.js → fractionInput-D7Eq6FLE.js} +4 -4
- package/{graph-6vpwOcjZ.js → graph-mqujNItp.js} +6 -6
- package/{hint-g6IEkpOj.js → hint-CrOY6rw7.js} +4 -4
- package/{hr-DR_PDOdp.js → hr-CC-1JDh8.js} +2 -2
- package/{image-DXbtZtpl.js → image-DxD-Pqmd.js} +7 -7
- package/{index-iT2H0VJs.js → index-D3aI7lEB.js} +1 -1
- package/index.d.ts +1 -0
- package/index.d.ts.map +1 -1
- package/{index.es-C5jQv44J.js → index.es-B8h2rGUR.js} +1 -1
- package/index.js +7 -5
- package/{label-A72n_FEH.js → label-BUJ6Rpgu.js} +6 -6
- package/{labelWithLatex-By0i4njZ.js → labelWithLatex-DuSUomAn.js} +1 -1
- package/{legend-CdJsGBdl.js → legend-BO--dbsh.js} +4 -4
- package/{line-D9DRsSaF.js → line-Dwhehwjd.js} +6 -6
- package/{lineFamilyDragHandlers-Dl1BMPrP.js → lineFamilyDragHandlers-C0KNuiat.js} +1 -1
- package/{lineSegment-DGKFUZRD.js → lineSegment-BUwlyA8O.js} +5 -5
- package/{list-CCWvt27q.js → list-BewyxFt1.js} +4 -4
- package/{lq-D3JiP6au.js → lq-CPygjQ0I.js} +2 -2
- package/{lsq-CzTXhDrA.js → lsq-Dq2OdgJ3.js} +2 -2
- package/{markupRenderer-PgPCJVQ4.js → markupRenderer-B28xMxjd.js} +1 -1
- package/{math-BwyJvx_l.js → math-DIkg5kdb.js} +6 -6
- package/{mathInput-TmmGKcf6.js → mathInput-CuSgICqM.js} +7 -7
- package/{matrixInput-CyQPqk1-.js → matrixInput-BjEzCkej.js} +4 -4
- package/{mdash-Ki9BeVTF.js → mdash-Dd0dC9ZN.js} +2 -2
- package/{nbsp-bX1kNdfi.js → nbsp-BDj188gH.js} +2 -2
- package/{ndash-CsuWYs5d.js → ndash-D82WGMk5.js} +2 -2
- package/{number-BRMOc-nJ.js → number-CsmZNCaA.js} +6 -6
- package/{orbitalDiagram-CYUPIJxh.js → orbitalDiagram-CmYJeGHp.js} +2 -2
- package/{orbitalDiagramInput-HtC-z_hm.js → orbitalDiagramInput-6edLs5Cb.js} +2 -2
- package/{p-OxuePfOc.js → p-leQyCCs0.js} +4 -4
- package/package.json +1 -1
- package/{paginatorControls-D9gndDjL.js → paginatorControls-DjBJjyTq.js} +2 -2
- package/{pegboard-8j9BEK4B.js → pegboard-CmvMLZQE.js} +4 -4
- package/{point-C2PjGG5K.js → point-DlaA8ggd.js} +6 -6
- package/{polygon-CX-Bh1kP.js → polygon-I15KTIEp.js} +6 -6
- package/{polyline-CW4UpPVk.js → polyline-CemVFqvk.js} +5 -5
- package/{pre-RACzW6qm.js → pre-CW_2k1QS.js} +3 -3
- package/{prefigure-C7x7kbaF.js → prefigure-DvcLIrYI.js} +2 -2
- package/{pretzel-BZ1IR4LM.js → pretzel-Bd6DgnWW.js} +4 -4
- package/{q-Ckln1Wct.js → q-B216JPnK.js} +3 -3
- package/{ray-B_exORWR.js → ray-DUKyOz39.js} +5 -5
- package/{ref-4PCXthsO.js → ref-BaSdfHFR.js} +2 -2
- package/{regionBetweenCurveXAxis-xpcdsu7r.js → regionBetweenCurveXAxis-C_VBs5PN.js} +5 -5
- package/{regionBetweenCurves-D008cTQy.js → regionBetweenCurves-Bj8QeXXP.js} +5 -5
- package/{row-D4F-dIpD.js → row-DLpefFHp.js} +2 -2
- package/{rq-Bo3cGdDE.js → rq-DlDsQlOl.js} +2 -2
- package/{rsq-Duqega7O.js → rsq-Bmp9ngqj.js} +2 -2
- package/{section-C7JhOcfS.js → section-5MLd0hE8.js} +5 -5
- package/{sha256-Bzrm4-tO-CvAUGkOU.js → sha256-Bzrm4-tO-D4VOq96C.js} +1 -1
- package/{sideBySide-DX66G0uP.js → sideBySide-DK__lF5P.js} +2 -2
- package/{slider-D6Adyob-.js → slider-Dw69lcuv.js} +3 -3
- package/{solution-O_b6wkco.js → solution-L0c-SKhS.js} +4 -4
- package/{spreadsheet-KHSCRaVg.js → spreadsheet-4LrZjKvD.js} +2 -2
- package/{sq-94l7R-cD.js → sq-ClwtbJl2.js} +3 -3
- package/style.css +7 -2
- package/{subsetOfRealsInput-BfqWk4lE.js → subsetOfRealsInput--odUYpOc.js} +2 -2
- package/{summaryStatistics-cnbLxjy1.js → summaryStatistics-B_C7MwLj.js} +2 -2
- package/{table-Ct9lxAgO.js → table-DGt4W_HM.js} +2 -2
- package/{tabular-CcyMJzGI.js → tabular-CNiL6xjX.js} +2 -2
- package/{tag-CakW4-2Z.js → tag-Ch4GTmdQ.js} +2 -2
- package/{text-DOkN5oPb.js → text-CYTqx_LY.js} +6 -6
- package/{textInput-MTKc-7d-.js → textInput-yfy-FD9B.js} +6 -6
- package/{tooltip-provider-crfLKplj.js → tooltip-provider-DsW_MxoB.js} +1 -1
- package/{useAnchoredGraphDragHandler-CerehN46.js → useAnchoredGraphDragHandler-CGKjsqrU.js} +1 -1
- package/useDoenetRenderer-NkmIqE-s.js +114 -0
- package/{useSubmitActionWithDelay-B-8RE6oy.js → useSubmitActionWithDelay-AdyQf3WY.js} +2 -2
- package/{vector-Jx7YLo4a.js → vector-DFzBM71C.js} +6 -6
- package/{video-BjmxyUjk.js → video-CAIKbj6G.js} +4 -4
- package/useDoenetRenderer-CqXPf2ND.js +0 -114
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { z as DocContext, p as jsxRuntimeExports } from "./doenetml-KneMbdUl.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-DsED_IYR.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-NkmIqE-s.js";
|
|
5
|
+
import { BoardContext, VERTEX_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-mqujNItp.js";
|
|
6
|
+
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-C0KNuiat.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 {
|
|
1
|
+
import { G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-KneMbdUl.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-NkmIqE-s.js";
|
|
4
|
+
import { a as addCommasForCompositeRanges } from "./composites-BqzFUk_h.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,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { p as jsxRuntimeExports } from "./doenetml-KneMbdUl.js";
|
|
2
2
|
import React__default, { useState, useRef, useEffect } from "react";
|
|
3
|
-
const __vite_import_meta_env__ = {};
|
|
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";
|
|
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,
|
|
1
|
+
import { u as useT, F as useContentT, t as useChromeLangDir, G as useRecordVisibilityChanges, z as DocContext, p as jsxRuntimeExports } from "./doenetml-KneMbdUl.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-NkmIqE-s.js";
|
|
4
|
+
import { A as AnswerResponseButton } from "./AnswerResponseButton-DyWXKo6v.js";
|
|
5
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-AdyQf3WY.js";
|
|
6
6
|
const pretzel = React__default.memo(function Pretzel(props) {
|
|
7
7
|
let {
|
|
8
8
|
componentIdx,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { p as jsxRuntimeExports } from "./doenetml-KneMbdUl.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-NkmIqE-s.js";
|
|
4
|
+
import { r as renderMarkupBody } from "./markupRenderer-B28xMxjd.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 {
|
|
1
|
+
import { z as DocContext, p as jsxRuntimeExports } from "./doenetml-KneMbdUl.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-DsED_IYR.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-NkmIqE-s.js";
|
|
5
|
+
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-mqujNItp.js";
|
|
6
|
+
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-C0KNuiat.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 {
|
|
1
|
+
import { z as DocContext, p as jsxRuntimeExports } from "./doenetml-KneMbdUl.js";
|
|
2
2
|
import React__default, { useContext, useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-NkmIqE-s.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 {
|
|
1
|
+
import { z as DocContext, K as createFunctionFromDefinition, p as jsxRuntimeExports } from "./doenetml-KneMbdUl.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-DsED_IYR.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-NkmIqE-s.js";
|
|
5
|
+
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-mqujNItp.js";
|
|
6
|
+
import { g as getPatternFillAttributes } from "./fillPatterns-O5qMvUVb.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 {
|
|
1
|
+
import { z as DocContext, K as createFunctionFromDefinition, p as jsxRuntimeExports } from "./doenetml-KneMbdUl.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-NkmIqE-s.js";
|
|
4
|
+
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-mqujNItp.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-O5qMvUVb.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-DsED_IYR.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 {
|
|
1
|
+
import { p as jsxRuntimeExports } from "./doenetml-KneMbdUl.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-NkmIqE-s.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 {
|
|
1
|
+
import { p as jsxRuntimeExports } from "./doenetml-KneMbdUl.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-NkmIqE-s.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 {
|
|
1
|
+
import { p as jsxRuntimeExports } from "./doenetml-KneMbdUl.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-NkmIqE-s.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,
|
|
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-KneMbdUl.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-B8h2rGUR.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-NkmIqE-s.js";
|
|
6
|
+
import { a as addCommasForCompositeRanges } from "./composites-BqzFUk_h.js";
|
|
7
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-AdyQf3WY.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 {
|
|
1
|
+
import { G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-KneMbdUl.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-NkmIqE-s.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,
|
|
1
|
+
import { u as useT, p as jsxRuntimeExports, R as ActionButtonGroup, S as ActionButton, H as Context } from "./doenetml-KneMbdUl.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-NkmIqE-s.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-DuSUomAn.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,
|
|
1
|
+
import { u as useT, G as useRecordVisibilityChanges, t as useChromeLangDir, p as jsxRuntimeExports } from "./doenetml-KneMbdUl.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-NkmIqE-s.js";
|
|
4
|
+
import { F as FontAwesomeIcon } from "./index.es-B8h2rGUR.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-BqzFUk_h.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 {
|
|
1
|
+
import { z as DocContext, G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-KneMbdUl.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-NkmIqE-s.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 {
|
|
1
|
+
import { p as jsxRuntimeExports } from "./doenetml-KneMbdUl.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-NkmIqE-s.js";
|
|
4
|
+
import { r as renderMarkupBody } from "./markupRenderer-B28xMxjd.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 });
|
package/style.css
CHANGED
|
@@ -2225,11 +2225,16 @@ Tailwind base is purposely not included because we want all styles to be prefixe
|
|
|
2225
2225
|
display: flex;
|
|
2226
2226
|
flex-direction: column;
|
|
2227
2227
|
height: 100%;
|
|
2228
|
-
padding: 0rem 0.4rem;
|
|
2229
2228
|
}
|
|
2230
2229
|
|
|
2230
|
+
/*
|
|
2231
|
+
* Each tab panel carries its own inline padding to inset the panel text from
|
|
2232
|
+
* the editor's edges. That keeps the scrolling element
|
|
2233
|
+
* (`.diagnostics-response-tabs-panels`) spanning the full width, so its
|
|
2234
|
+
* scrollbar sits flush against the resizer.
|
|
2235
|
+
*/
|
|
2231
2236
|
.editor-panel .diagnostic-panel {
|
|
2232
|
-
padding: 0.75rem 0.
|
|
2237
|
+
padding: 0.75rem 0.65rem 1rem;
|
|
2233
2238
|
}
|
|
2234
2239
|
|
|
2235
2240
|
.editor-panel .diagnostic-list {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { u as useT,
|
|
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-KneMbdUl.js";
|
|
2
2
|
import React__default, { useState, useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-NkmIqE-s.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,
|
|
1
|
+
import { u as useT, t as useChromeLangDir, G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-KneMbdUl.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-NkmIqE-s.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 {
|
|
1
|
+
import { G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-KneMbdUl.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-NkmIqE-s.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 {
|
|
1
|
+
import { G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-KneMbdUl.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-NkmIqE-s.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 {
|
|
1
|
+
import { p as jsxRuntimeExports } from "./doenetml-KneMbdUl.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-NkmIqE-s.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 {
|
|
1
|
+
import { z as DocContext, H as Context, p as jsxRuntimeExports, A as textRendererStyle } from "./doenetml-KneMbdUl.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-DsED_IYR.js";
|
|
4
|
+
import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-mqujNItp.js";
|
|
5
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-NkmIqE-s.js";
|
|
6
6
|
import { g as getPositionFromAnchorByCoordinate } from "./graph-W6vrFcBu.js";
|
|
7
|
-
import { ChoiceInputInlineContext } from "./choiceInput-
|
|
7
|
+
import { ChoiceInputInlineContext } from "./choiceInput-C_4uPa4T.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-CGKjsqrU.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 {
|
|
1
|
+
import { F as useContentT, H as Context, p as jsxRuntimeExports, T as MathJax } from "./doenetml-KneMbdUl.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-DsED_IYR.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-NkmIqE-s.js";
|
|
5
5
|
import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
|
|
6
|
-
import { BoardContext } from "./graph-
|
|
6
|
+
import { BoardContext } from "./graph-mqujNItp.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-AdyQf3WY.js";
|
|
9
|
+
import { D as DescriptionPopover } from "./Description-D8eSeiSN.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 {
|
|
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-KneMbdUl.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-DsED_IYR.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-KneMbdUl.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-BLQMoTz7.js"), "./renderers/JSXGraphRenderer.tsx": () => import("./JSXGraphRenderer-DsED_IYR.js").then((n) => n.m), "./renderers/_error.tsx": () => import("./_error-BR4OLjxm.js"), "./renderers/alert.tsx": () => import("./alert-yVdGlXkn.js"), "./renderers/angle.tsx": () => import("./angle-BHMjBiYL.js"), "./renderers/answer.tsx": () => import("./answer-B3MlhyK1.js"), "./renderers/asList.tsx": () => import("./asList-C-QGYFna.js"), "./renderers/blockQuote.tsx": () => import("./blockQuote-BUijb7-U.js"), "./renderers/boolean.tsx": () => import("./boolean-Bb0VIVoS.js"), "./renderers/booleanInput.tsx": () => import("./booleanInput-hVFN83aA.js"), "./renderers/br.tsx": () => import("./br-DwmabJPD.js"), "./renderers/button.tsx": () => import("./button-DTnZStCy.js"), "./renderers/c.tsx": () => import("./c-Dnlt6r-1.js"), "./renderers/cell.tsx": () => import("./cell-CdGTtaUp.js"), "./renderers/choiceInput.tsx": () => import("./choiceInput-C_4uPa4T.js"), "./renderers/circle.tsx": () => import("./circle-D4puQp-K.js"), "./renderers/cobwebPolyline.tsx": () => import("./cobwebPolyline-pzpR8b86.js"), "./renderers/codeEditor.tsx": () => import("./codeEditor-Bku7Ylau.js"), "./renderers/containerBlock.tsx": () => import("./containerBlock-CiAsFmTu.js"), "./renderers/containerInline.tsx": () => import("./containerInline-BduAdm_w.js"), "./renderers/curve.tsx": () => import("./curve-D9Bz5bzE.js"), "./renderers/ellipsis.tsx": () => import("./ellipsis-CySN_qv6.js"), "./renderers/em.tsx": () => import("./em-DAUgIg6f.js"), "./renderers/embed.tsx": () => import("./embed-l4BxxdBO.js"), "./renderers/feedback.tsx": () => import("./feedback-BTZMQoBJ.js"), "./renderers/figure.tsx": () => import("./figure-QbUCbI8x.js"), "./renderers/footnote.tsx": () => import("./footnote-dMsVu_z4.js"), "./renderers/fractionInput.tsx": () => import("./fractionInput-D7Eq6FLE.js"), "./renderers/graph.tsx": () => import("./graph-mqujNItp.js"), "./renderers/hint.tsx": () => import("./hint-CrOY6rw7.js"), "./renderers/hr.tsx": () => import("./hr-CC-1JDh8.js"), "./renderers/image.tsx": () => import("./image-DxD-Pqmd.js"), "./renderers/label.tsx": () => import("./label-BUJ6Rpgu.js"), "./renderers/legend.tsx": () => import("./legend-BO--dbsh.js"), "./renderers/line.tsx": () => import("./line-Dwhehwjd.js"), "./renderers/lineSegment.tsx": () => import("./lineSegment-BUwlyA8O.js"), "./renderers/list.tsx": () => import("./list-BewyxFt1.js"), "./renderers/lq.tsx": () => import("./lq-CPygjQ0I.js"), "./renderers/lsq.tsx": () => import("./lsq-Dq2OdgJ3.js"), "./renderers/math.tsx": () => import("./math-DIkg5kdb.js"), "./renderers/mathInput.tsx": () => import("./mathInput-CuSgICqM.js"), "./renderers/matrixInput.tsx": () => import("./matrixInput-BjEzCkej.js"), "./renderers/mdash.tsx": () => import("./mdash-Dd0dC9ZN.js"), "./renderers/nbsp.tsx": () => import("./nbsp-BDj188gH.js"), "./renderers/ndash.tsx": () => import("./ndash-D82WGMk5.js"), "./renderers/number.tsx": () => import("./number-CsmZNCaA.js"), "./renderers/orbitalDiagram.tsx": () => import("./orbitalDiagram-CmYJeGHp.js"), "./renderers/orbitalDiagramInput.tsx": () => import("./orbitalDiagramInput-6edLs5Cb.js"), "./renderers/p.tsx": () => import("./p-leQyCCs0.js"), "./renderers/paginatorControls.tsx": () => import("./paginatorControls-DjBJjyTq.js"), "./renderers/pegboard.tsx": () => import("./pegboard-CmvMLZQE.js"), "./renderers/point.tsx": () => import("./point-DlaA8ggd.js"), "./renderers/polygon.tsx": () => import("./polygon-I15KTIEp.js"), "./renderers/polyline.tsx": () => import("./polyline-CemVFqvk.js"), "./renderers/pre.tsx": () => import("./pre-CW_2k1QS.js"), "./renderers/prefigure.tsx": () => import("./prefigure-DvcLIrYI.js"), "./renderers/pretzel.tsx": () => import("./pretzel-Bd6DgnWW.js"), "./renderers/q.tsx": () => import("./q-B216JPnK.js"), "./renderers/ray.tsx": () => import("./ray-DUKyOz39.js"), "./renderers/ref.tsx": () => import("./ref-BaSdfHFR.js"), "./renderers/regionBetweenCurveXAxis.tsx": () => import("./regionBetweenCurveXAxis-C_VBs5PN.js"), "./renderers/regionBetweenCurves.tsx": () => import("./regionBetweenCurves-Bj8QeXXP.js"), "./renderers/row.tsx": () => import("./row-DLpefFHp.js"), "./renderers/rq.tsx": () => import("./rq-DlDsQlOl.js"), "./renderers/rsq.tsx": () => import("./rsq-Bmp9ngqj.js"), "./renderers/section.tsx": () => import("./section-5MLd0hE8.js"), "./renderers/sideBySide.tsx": () => import("./sideBySide-DK__lF5P.js"), "./renderers/slider.tsx": () => import("./slider-Dw69lcuv.js"), "./renderers/solution.tsx": () => import("./solution-L0c-SKhS.js"), "./renderers/spreadsheet.tsx": () => import("./spreadsheet-4LrZjKvD.js"), "./renderers/sq.tsx": () => import("./sq-ClwtbJl2.js"), "./renderers/subsetOfRealsInput.tsx": () => import("./subsetOfRealsInput--odUYpOc.js"), "./renderers/summaryStatistics.tsx": () => import("./summaryStatistics-B_C7MwLj.js"), "./renderers/table.tsx": () => import("./table-DGt4W_HM.js"), "./renderers/tabular.tsx": () => import("./tabular-CNiL6xjX.js"), "./renderers/tag.tsx": () => import("./tag-Ch4GTmdQ.js"), "./renderers/text.tsx": () => import("./text-CYTqx_LY.js"), "./renderers/textInput.tsx": () => import("./textInput-yfy-FD9B.js"), "./renderers/vector.tsx": () => import("./vector-DFzBM71C.js"), "./renderers/video.tsx": () => import("./video-CAIKbj6G.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 {
|
|
2
|
-
import { F as FontAwesomeIcon } from "./index.es-
|
|
1
|
+
import { p as jsxRuntimeExports } from "./doenetml-KneMbdUl.js";
|
|
2
|
+
import { F as FontAwesomeIcon } from "./index.es-B8h2rGUR.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 {
|
|
1
|
+
import { z as DocContext, p as jsxRuntimeExports, A as textRendererStyle, B as DynamicMath } from "./doenetml-KneMbdUl.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-DsED_IYR.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-NkmIqE-s.js";
|
|
5
|
+
import { BoardContext, VERTEX_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-mqujNItp.js";
|
|
6
|
+
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-C0KNuiat.js";
|
|
7
|
+
import { ChoiceInputInlineContext } from "./choiceInput-C_4uPa4T.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 {
|
|
1
|
+
import { G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-KneMbdUl.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-NkmIqE-s.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-D8eSeiSN.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-BIZiYEyJ.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;
|