@doenet/doenetml 0.7.22-dev.440 → 0.7.22
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-BBNdSfp-.js → AnswerResponseButton-z26tufJs.js} +2 -2
- package/{Description-COcIfA5f.js → Description-CgfkOAsF.js} +1 -1
- package/{GraphFrame-DHqtCo8b.js → GraphFrame-BfihAgoG.js} +2 -2
- package/{JSXGraphRenderer-C7sAvDqA.js → JSXGraphRenderer-BGRQlTa2.js} +1 -1
- package/{NonInlineMediaWrapper-B91JDd1i.js → NonInlineMediaWrapper-Bfz3Wg2x.js} +1 -1
- package/{_error-Crx6I4OR.js → _error-Dc58Ivsy.js} +2 -2
- package/{alert-CR-AWuTz.js → alert-CGjYkXsO.js} +3 -3
- package/{angle-D5VIm_dm.js → angle-97wH4Ys9.js} +6 -6
- package/{answer-__vFYbiH.js → answer-DwJn-HYB.js} +5 -5
- package/{asList-Dirlog76.js → asList-DBFNMD6X.js} +2 -2
- package/{blockQuote-CH6NpEPk.js → blockQuote-DGQ4BKrQ.js} +3 -3
- package/{boolean-CHkKKfV8.js → boolean-Cvr8d5xk.js} +2 -2
- package/{booleanInput-C9vcsKTJ.js → booleanInput-Z053Kvv-.js} +6 -6
- package/{br-b1_nReM-.js → br-DJnyVoyA.js} +2 -2
- package/{button-Dyp_k6Aj.js → button-DFLl0_Km.js} +4 -4
- package/{c-BrscNe4_.js → c-9AZgfFbD.js} +3 -3
- package/{cell-BsJo-Jlj.js → cell-CNkuz0Ul.js} +3 -3
- package/{choiceInput-Cnf0dbNG.js → choiceInput-B3Hnc0NP.js} +4 -4
- package/{circle-BM31YfGx.js → circle-ByH7ZKM8.js} +6 -6
- package/{cobwebPolyline-_Dq6jLxQ.js → cobwebPolyline-C2Mt2w5_.js} +4 -4
- package/{codeEditor-DIHneVxn.js → codeEditor-BRIEjNsU.js} +2 -2
- package/{composites-Bb4XNTFb.js → composites-Dkldm2Vp.js} +1 -1
- package/{containerBlock-B8rKiQiA.js → containerBlock-DUiOOf5u.js} +4 -4
- package/{containerInline-BAsgnrl3.js → containerInline-DZQaDktJ.js} +4 -4
- package/{curve-Dy99hHci.js → curve-DYY-ePZb.js} +4 -4
- package/{doenetml-DP8Y1bFO.js → doenetml-D5HX-x7S.js} +5 -5
- package/doenetml-external-worker.js +2 -2
- package/doenetml-inline-worker.js +2 -2
- package/{ellipsis-DVn-wS-T.js → ellipsis-CvGUChTX.js} +2 -2
- package/{em-ULiJvvM1.js → em-WMlNwyJV.js} +3 -3
- package/{embed-s-S-R-ly.js → embed-Ts8N9zsJ.js} +2 -2
- package/{feedback-DP8YTv93.js → feedback-fyFZJNr-.js} +4 -4
- package/{figure-CnyfbWjn.js → figure-CvH-umji.js} +3 -3
- package/{fillPatterns-BS-pggZe.js → fillPatterns-BxyLP9oy.js} +1 -1
- package/{footnote-CE11wnw2.js → footnote-BKpCCSpF.js} +3 -3
- package/{fractionInput-CboSWhuF.js → fractionInput-CegMDYmq.js} +4 -4
- package/{graph-CX37qeZQ.js → graph-6vpwOcjZ.js} +6 -6
- package/{hint-Bv537kpg.js → hint-g6IEkpOj.js} +4 -4
- package/{hr-DRqJfD5n.js → hr-DR_PDOdp.js} +2 -2
- package/{image-Dh2SJ80F.js → image-DXbtZtpl.js} +7 -7
- package/{index-09JuRy2Y.js → index-iT2H0VJs.js} +1 -1
- package/{index.es-D_U8jarR.js → index.es-C5jQv44J.js} +1 -1
- package/index.js +1 -1
- package/{label-C0zQv0Hp.js → label-A72n_FEH.js} +6 -6
- package/{labelWithLatex-CktTerdg.js → labelWithLatex-By0i4njZ.js} +1 -1
- package/{legend-CO42FXzh.js → legend-CdJsGBdl.js} +4 -4
- package/{line-75joeWQf.js → line-D9DRsSaF.js} +6 -6
- package/{lineFamilyDragHandlers-CR39EnO0.js → lineFamilyDragHandlers-Dl1BMPrP.js} +1 -1
- package/{lineSegment-B61huKwv.js → lineSegment-DGKFUZRD.js} +5 -5
- package/{list-s8Cz69NZ.js → list-CCWvt27q.js} +4 -4
- package/{lq-EFTZGtl4.js → lq-D3JiP6au.js} +2 -2
- package/{lsq-C5K63vuS.js → lsq-CzTXhDrA.js} +2 -2
- package/{markupRenderer-XjwEI-uE.js → markupRenderer-PgPCJVQ4.js} +1 -1
- package/{math-BoCLat7g.js → math-BwyJvx_l.js} +6 -6
- package/{mathInput-RNdNgRSu.js → mathInput-TmmGKcf6.js} +7 -7
- package/{matrixInput-H-lHJ4Bh.js → matrixInput-CyQPqk1-.js} +4 -4
- package/{mdash-CUuKsGLQ.js → mdash-Ki9BeVTF.js} +2 -2
- package/{nbsp-gGIH6Wd5.js → nbsp-bX1kNdfi.js} +2 -2
- package/{ndash-CwVgyeBj.js → ndash-CsuWYs5d.js} +2 -2
- package/{number-DAnoeWAB.js → number-BRMOc-nJ.js} +6 -6
- package/{orbitalDiagram-Ce1qNgHU.js → orbitalDiagram-CYUPIJxh.js} +2 -2
- package/{orbitalDiagramInput-CKPXw0JH.js → orbitalDiagramInput-HtC-z_hm.js} +2 -2
- package/{p-DU01XSsJ.js → p-OxuePfOc.js} +4 -4
- package/package.json +1 -1
- package/{paginatorControls-D0BIaIqJ.js → paginatorControls-D9gndDjL.js} +2 -2
- package/{pegboard-rpoLgDgs.js → pegboard-8j9BEK4B.js} +4 -4
- package/{point-yLJ-kjTi.js → point-C2PjGG5K.js} +6 -6
- package/{polygon-CV3zXoF6.js → polygon-CX-Bh1kP.js} +6 -6
- package/{polyline-CLxgKKmz.js → polyline-CW4UpPVk.js} +5 -5
- package/{pre-CVMb7kW4.js → pre-RACzW6qm.js} +3 -3
- package/{prefigure-Bs2AkKZ1.js → prefigure-C7x7kbaF.js} +2 -2
- package/{pretzel-DUeLV-Ue.js → pretzel-BZ1IR4LM.js} +4 -4
- package/{q-B1CCAo-K.js → q-Ckln1Wct.js} +3 -3
- package/{ray-Bf9uob8_.js → ray-B_exORWR.js} +5 -5
- package/{ref-DqvJpRMq.js → ref-4PCXthsO.js} +2 -2
- package/{regionBetweenCurveXAxis-B86uSY1W.js → regionBetweenCurveXAxis-xpcdsu7r.js} +5 -5
- package/{regionBetweenCurves-BtLUkzR1.js → regionBetweenCurves-D008cTQy.js} +5 -5
- package/{row-BNHM4kUH.js → row-D4F-dIpD.js} +2 -2
- package/{rq-DB-pDggY.js → rq-Bo3cGdDE.js} +2 -2
- package/{rsq-CrRNEDvD.js → rsq-Duqega7O.js} +2 -2
- package/{section-BsNAiTLC.js → section-C7JhOcfS.js} +5 -5
- package/{sha256-Bzrm4-tO-SfFa0x2D.js → sha256-Bzrm4-tO-CvAUGkOU.js} +1 -1
- package/{sideBySide-BR8MjVrK.js → sideBySide-DX66G0uP.js} +2 -2
- package/{slider-BcvR0SVF.js → slider-D6Adyob-.js} +3 -3
- package/{solution-VDiFkWie.js → solution-O_b6wkco.js} +4 -4
- package/{spreadsheet-wEz7Ti-7.js → spreadsheet-KHSCRaVg.js} +2 -2
- package/{sq-DdzIAtqI.js → sq-94l7R-cD.js} +3 -3
- package/{subsetOfRealsInput-DHUITGR_.js → subsetOfRealsInput-BfqWk4lE.js} +2 -2
- package/{summaryStatistics-Scz9vYo3.js → summaryStatistics-cnbLxjy1.js} +2 -2
- package/{table-_E-o0UEe.js → table-Ct9lxAgO.js} +2 -2
- package/{tabular-YNEYZmlX.js → tabular-CcyMJzGI.js} +2 -2
- package/{tag-Cl2mYqWk.js → tag-CakW4-2Z.js} +2 -2
- package/{text-Cg_09aUm.js → text-DOkN5oPb.js} +6 -6
- package/{textInput-CZkpoxjp.js → textInput-MTKc-7d-.js} +6 -6
- package/{tooltip-provider-BsBcSwXs.js → tooltip-provider-crfLKplj.js} +1 -1
- package/{useAnchoredGraphDragHandler-DNVsJGkt.js → useAnchoredGraphDragHandler-CerehN46.js} +1 -1
- package/useDoenetRenderer-CqXPf2ND.js +114 -0
- package/{useSubmitActionWithDelay-DoE4sjeF.js → useSubmitActionWithDelay-B-8RE6oy.js} +2 -2
- package/{vector-BcEBo2Ze.js → vector-Jx7YLo4a.js} +6 -6
- package/{video-BmfS7sZB.js → video-BjmxyUjk.js} +4 -4
- package/useDoenetRenderer-Bvv_cwEa.js +0 -114
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { q as jsxRuntimeExports } from "./doenetml-D5HX-x7S.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, x as useContentT, o as useChromeLangDir, y as useRecordVisibilityChanges, t as DocContext, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useT, x as useContentT, o as useChromeLangDir, y as useRecordVisibilityChanges, t as DocContext, q as jsxRuntimeExports } from "./doenetml-D5HX-x7S.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-CqXPf2ND.js";
|
|
4
|
+
import { A as AnswerResponseButton } from "./AnswerResponseButton-z26tufJs.js";
|
|
5
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-B-8RE6oy.js";
|
|
6
6
|
const pretzel = React__default.memo(function Pretzel(props) {
|
|
7
7
|
let {
|
|
8
8
|
componentIdx,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { q as jsxRuntimeExports } from "./doenetml-D5HX-x7S.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-CqXPf2ND.js";
|
|
4
|
+
import { r as renderMarkupBody } from "./markupRenderer-PgPCJVQ4.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 { t as DocContext, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { t as DocContext, q as jsxRuntimeExports } from "./doenetml-D5HX-x7S.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-BGRQlTa2.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CqXPf2ND.js";
|
|
5
|
+
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-6vpwOcjZ.js";
|
|
6
|
+
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-Dl1BMPrP.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 { t as DocContext, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { t as DocContext, q as jsxRuntimeExports } from "./doenetml-D5HX-x7S.js";
|
|
2
2
|
import React__default, { useContext, useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CqXPf2ND.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 { t as DocContext, E as createFunctionFromDefinition, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { t as DocContext, E as createFunctionFromDefinition, q as jsxRuntimeExports } from "./doenetml-D5HX-x7S.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-BGRQlTa2.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CqXPf2ND.js";
|
|
5
|
+
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-6vpwOcjZ.js";
|
|
6
|
+
import { g as getPatternFillAttributes } from "./fillPatterns-BxyLP9oy.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 { t as DocContext, E as createFunctionFromDefinition, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { t as DocContext, E as createFunctionFromDefinition, q as jsxRuntimeExports } from "./doenetml-D5HX-x7S.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-CqXPf2ND.js";
|
|
4
|
+
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-6vpwOcjZ.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-BxyLP9oy.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-BGRQlTa2.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 { q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { q as jsxRuntimeExports } from "./doenetml-D5HX-x7S.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CqXPf2ND.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 { q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { q as jsxRuntimeExports } from "./doenetml-D5HX-x7S.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CqXPf2ND.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 { q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { q as jsxRuntimeExports } from "./doenetml-D5HX-x7S.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CqXPf2ND.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, x as useContentT, L as directionOf, M as useDocumentDirection, N as chromeLangDir, n as useUiLocale, t as DocContext, A as cesc, y as useRecordVisibilityChanges, q as jsxRuntimeExports, O as DocumentDirectionProvider } from "./doenetml-
|
|
1
|
+
import { u as useT, x as useContentT, L as directionOf, M as useDocumentDirection, N as chromeLangDir, n as useUiLocale, t as DocContext, A as cesc, y as useRecordVisibilityChanges, q as jsxRuntimeExports, O as DocumentDirectionProvider } from "./doenetml-D5HX-x7S.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-C5jQv44J.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-CqXPf2ND.js";
|
|
6
|
+
import { a as addCommasForCompositeRanges } from "./composites-Dkldm2Vp.js";
|
|
7
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-B-8RE6oy.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 { y as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { y as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-D5HX-x7S.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CqXPf2ND.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, q as jsxRuntimeExports, P as ActionButtonGroup, Q as ActionButton, z as Context } from "./doenetml-
|
|
1
|
+
import { u as useT, q as jsxRuntimeExports, P as ActionButtonGroup, Q as ActionButton, z as Context } from "./doenetml-D5HX-x7S.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-CqXPf2ND.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-By0i4njZ.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, y as useRecordVisibilityChanges, o as useChromeLangDir, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useT, y as useRecordVisibilityChanges, o as useChromeLangDir, q as jsxRuntimeExports } from "./doenetml-D5HX-x7S.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-CqXPf2ND.js";
|
|
4
|
+
import { F as FontAwesomeIcon } from "./index.es-C5jQv44J.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-Dkldm2Vp.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 { t as DocContext, y as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { t as DocContext, y as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-D5HX-x7S.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-CqXPf2ND.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 { q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { q as jsxRuntimeExports } from "./doenetml-D5HX-x7S.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-CqXPf2ND.js";
|
|
4
|
+
import { r as renderMarkupBody } from "./markupRenderer-PgPCJVQ4.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, y as useRecordVisibilityChanges, q as jsxRuntimeExports, U as ToggleButtonGroup, T as ToggleButton, P as ActionButtonGroup, Q as ActionButton } from "./doenetml-
|
|
1
|
+
import { u as useT, y as useRecordVisibilityChanges, q as jsxRuntimeExports, U as ToggleButtonGroup, T as ToggleButton, P as ActionButtonGroup, Q as ActionButton } from "./doenetml-D5HX-x7S.js";
|
|
2
2
|
import React__default, { useState, useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CqXPf2ND.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, o as useChromeLangDir, y as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useT, o as useChromeLangDir, y as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-D5HX-x7S.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CqXPf2ND.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 { y as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { y as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-D5HX-x7S.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CqXPf2ND.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 { y as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { y as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-D5HX-x7S.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CqXPf2ND.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 { q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { q as jsxRuntimeExports } from "./doenetml-D5HX-x7S.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CqXPf2ND.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 { t as DocContext, z as Context, q as jsxRuntimeExports, v as textRendererStyle } from "./doenetml-
|
|
1
|
+
import { t as DocContext, z as Context, q as jsxRuntimeExports, v as textRendererStyle } from "./doenetml-D5HX-x7S.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-BGRQlTa2.js";
|
|
4
|
+
import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-6vpwOcjZ.js";
|
|
5
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CqXPf2ND.js";
|
|
6
6
|
import { g as getPositionFromAnchorByCoordinate } from "./graph-W6vrFcBu.js";
|
|
7
|
-
import { ChoiceInputInlineContext } from "./choiceInput-
|
|
7
|
+
import { ChoiceInputInlineContext } from "./choiceInput-B3Hnc0NP.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-CerehN46.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 { x as useContentT, z as Context, q as jsxRuntimeExports, R as MathJax } from "./doenetml-
|
|
1
|
+
import { x as useContentT, z as Context, q as jsxRuntimeExports, R as MathJax } from "./doenetml-D5HX-x7S.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-BGRQlTa2.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CqXPf2ND.js";
|
|
5
5
|
import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
|
|
6
|
-
import { BoardContext } from "./graph-
|
|
6
|
+
import { BoardContext } from "./graph-6vpwOcjZ.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-B-8RE6oy.js";
|
|
9
|
+
import { D as DescriptionPopover } from "./Description-CgfkOAsF.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 { ac as createStoreContext, ad as HovercardScopedContextProvider, ae as HovercardContextProvider, af as createDialogComponent, X as forwardRef, Y as createElement, Z as createHook, a0 as invariant, ag as useWrapElement, q as jsxRuntimeExports, a1 as useStoreState, ah as useHovercard, ai as isFalsyBooleanCallback, aj as contains, ak as sync, al as chain, am as useEvent, an as useHovercardAnchor, ao as createStore, ap as createHovercardStore, aq as defaultValue, ar as useStore, as as useStoreProps, at as useHovercardStoreProps } from "./doenetml-
|
|
1
|
+
import { ac as createStoreContext, ad as HovercardScopedContextProvider, ae as HovercardContextProvider, af as createDialogComponent, X as forwardRef, Y as createElement, Z as createHook, a0 as invariant, ag as useWrapElement, q as jsxRuntimeExports, a1 as useStoreState, ah as useHovercard, ai as isFalsyBooleanCallback, aj as contains, ak as sync, al as chain, am as useEvent, an as useHovercardAnchor, ao as createStore, ap as createHovercardStore, aq as defaultValue, ar as useStore, as as useStoreProps, at as useHovercardStoreProps } from "./doenetml-D5HX-x7S.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-BGRQlTa2.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 { G as useAppSelector, H as mainSlice, I as renderersLoadComponent, _ as __variableDynamicImportRuntimeHelper } from "./doenetml-D5HX-x7S.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-BfihAgoG.js"), "./renderers/JSXGraphRenderer.tsx": () => import("./JSXGraphRenderer-BGRQlTa2.js").then((n) => n.m), "./renderers/_error.tsx": () => import("./_error-Dc58Ivsy.js"), "./renderers/alert.tsx": () => import("./alert-CGjYkXsO.js"), "./renderers/angle.tsx": () => import("./angle-97wH4Ys9.js"), "./renderers/answer.tsx": () => import("./answer-DwJn-HYB.js"), "./renderers/asList.tsx": () => import("./asList-DBFNMD6X.js"), "./renderers/blockQuote.tsx": () => import("./blockQuote-DGQ4BKrQ.js"), "./renderers/boolean.tsx": () => import("./boolean-Cvr8d5xk.js"), "./renderers/booleanInput.tsx": () => import("./booleanInput-Z053Kvv-.js"), "./renderers/br.tsx": () => import("./br-DJnyVoyA.js"), "./renderers/button.tsx": () => import("./button-DFLl0_Km.js"), "./renderers/c.tsx": () => import("./c-9AZgfFbD.js"), "./renderers/cell.tsx": () => import("./cell-CNkuz0Ul.js"), "./renderers/choiceInput.tsx": () => import("./choiceInput-B3Hnc0NP.js"), "./renderers/circle.tsx": () => import("./circle-ByH7ZKM8.js"), "./renderers/cobwebPolyline.tsx": () => import("./cobwebPolyline-C2Mt2w5_.js"), "./renderers/codeEditor.tsx": () => import("./codeEditor-BRIEjNsU.js"), "./renderers/containerBlock.tsx": () => import("./containerBlock-DUiOOf5u.js"), "./renderers/containerInline.tsx": () => import("./containerInline-DZQaDktJ.js"), "./renderers/curve.tsx": () => import("./curve-DYY-ePZb.js"), "./renderers/ellipsis.tsx": () => import("./ellipsis-CvGUChTX.js"), "./renderers/em.tsx": () => import("./em-WMlNwyJV.js"), "./renderers/embed.tsx": () => import("./embed-Ts8N9zsJ.js"), "./renderers/feedback.tsx": () => import("./feedback-fyFZJNr-.js"), "./renderers/figure.tsx": () => import("./figure-CvH-umji.js"), "./renderers/footnote.tsx": () => import("./footnote-BKpCCSpF.js"), "./renderers/fractionInput.tsx": () => import("./fractionInput-CegMDYmq.js"), "./renderers/graph.tsx": () => import("./graph-6vpwOcjZ.js"), "./renderers/hint.tsx": () => import("./hint-g6IEkpOj.js"), "./renderers/hr.tsx": () => import("./hr-DR_PDOdp.js"), "./renderers/image.tsx": () => import("./image-DXbtZtpl.js"), "./renderers/label.tsx": () => import("./label-A72n_FEH.js"), "./renderers/legend.tsx": () => import("./legend-CdJsGBdl.js"), "./renderers/line.tsx": () => import("./line-D9DRsSaF.js"), "./renderers/lineSegment.tsx": () => import("./lineSegment-DGKFUZRD.js"), "./renderers/list.tsx": () => import("./list-CCWvt27q.js"), "./renderers/lq.tsx": () => import("./lq-D3JiP6au.js"), "./renderers/lsq.tsx": () => import("./lsq-CzTXhDrA.js"), "./renderers/math.tsx": () => import("./math-BwyJvx_l.js"), "./renderers/mathInput.tsx": () => import("./mathInput-TmmGKcf6.js"), "./renderers/matrixInput.tsx": () => import("./matrixInput-CyQPqk1-.js"), "./renderers/mdash.tsx": () => import("./mdash-Ki9BeVTF.js"), "./renderers/nbsp.tsx": () => import("./nbsp-bX1kNdfi.js"), "./renderers/ndash.tsx": () => import("./ndash-CsuWYs5d.js"), "./renderers/number.tsx": () => import("./number-BRMOc-nJ.js"), "./renderers/orbitalDiagram.tsx": () => import("./orbitalDiagram-CYUPIJxh.js"), "./renderers/orbitalDiagramInput.tsx": () => import("./orbitalDiagramInput-HtC-z_hm.js"), "./renderers/p.tsx": () => import("./p-OxuePfOc.js"), "./renderers/paginatorControls.tsx": () => import("./paginatorControls-D9gndDjL.js"), "./renderers/pegboard.tsx": () => import("./pegboard-8j9BEK4B.js"), "./renderers/point.tsx": () => import("./point-C2PjGG5K.js"), "./renderers/polygon.tsx": () => import("./polygon-CX-Bh1kP.js"), "./renderers/polyline.tsx": () => import("./polyline-CW4UpPVk.js"), "./renderers/pre.tsx": () => import("./pre-RACzW6qm.js"), "./renderers/prefigure.tsx": () => import("./prefigure-C7x7kbaF.js"), "./renderers/pretzel.tsx": () => import("./pretzel-BZ1IR4LM.js"), "./renderers/q.tsx": () => import("./q-Ckln1Wct.js"), "./renderers/ray.tsx": () => import("./ray-B_exORWR.js"), "./renderers/ref.tsx": () => import("./ref-4PCXthsO.js"), "./renderers/regionBetweenCurveXAxis.tsx": () => import("./regionBetweenCurveXAxis-xpcdsu7r.js"), "./renderers/regionBetweenCurves.tsx": () => import("./regionBetweenCurves-D008cTQy.js"), "./renderers/row.tsx": () => import("./row-D4F-dIpD.js"), "./renderers/rq.tsx": () => import("./rq-Bo3cGdDE.js"), "./renderers/rsq.tsx": () => import("./rsq-Duqega7O.js"), "./renderers/section.tsx": () => import("./section-C7JhOcfS.js"), "./renderers/sideBySide.tsx": () => import("./sideBySide-DX66G0uP.js"), "./renderers/slider.tsx": () => import("./slider-D6Adyob-.js"), "./renderers/solution.tsx": () => import("./solution-O_b6wkco.js"), "./renderers/spreadsheet.tsx": () => import("./spreadsheet-KHSCRaVg.js"), "./renderers/sq.tsx": () => import("./sq-94l7R-cD.js"), "./renderers/subsetOfRealsInput.tsx": () => import("./subsetOfRealsInput-BfqWk4lE.js"), "./renderers/summaryStatistics.tsx": () => import("./summaryStatistics-cnbLxjy1.js"), "./renderers/table.tsx": () => import("./table-Ct9lxAgO.js"), "./renderers/tabular.tsx": () => import("./tabular-CcyMJzGI.js"), "./renderers/tag.tsx": () => import("./tag-CakW4-2Z.js"), "./renderers/text.tsx": () => import("./text-DOkN5oPb.js"), "./renderers/textInput.tsx": () => import("./textInput-MTKc-7d-.js"), "./renderers/vector.tsx": () => import("./vector-Jx7YLo4a.js"), "./renderers/video.tsx": () => import("./video-BjmxyUjk.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 { q as jsxRuntimeExports } from "./doenetml-
|
|
2
|
-
import { F as FontAwesomeIcon } from "./index.es-
|
|
1
|
+
import { q as jsxRuntimeExports } from "./doenetml-D5HX-x7S.js";
|
|
2
|
+
import { F as FontAwesomeIcon } from "./index.es-C5jQv44J.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 { t as DocContext, q as jsxRuntimeExports, v as textRendererStyle, w as DynamicMath } from "./doenetml-
|
|
1
|
+
import { t as DocContext, q as jsxRuntimeExports, v as textRendererStyle, w as DynamicMath } from "./doenetml-D5HX-x7S.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-BGRQlTa2.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CqXPf2ND.js";
|
|
5
|
+
import { BoardContext, VERTEX_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-6vpwOcjZ.js";
|
|
6
|
+
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-Dl1BMPrP.js";
|
|
7
|
+
import { ChoiceInputInlineContext } from "./choiceInput-B3Hnc0NP.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 { y as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { y as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-D5HX-x7S.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-CqXPf2ND.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-CgfkOAsF.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-Bfz3Wg2x.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;
|