@doenet/doenetml 0.7.21-dev.434 → 0.7.21-dev.435
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-DWOWSx5X.js → AnswerResponseButton-BTGrqlWj.js} +2 -2
- package/{Description-ynrXPWRU.js → Description-D5pNkqYn.js} +1 -1
- package/EditorViewer/contextHelp/ContextHelpPanel.d.ts +13 -0
- package/EditorViewer/contextHelp/ContextHelpPanel.d.ts.map +1 -1
- package/{GraphFrame-BTpetNeg.js → GraphFrame-BTMuW9ID.js} +2 -2
- package/{JSXGraphRenderer-DmnknB5H.js → JSXGraphRenderer-DcRov2L-.js} +1 -1
- package/{NonInlineMediaWrapper-Dqq6mu-2.js → NonInlineMediaWrapper-BqQWE2Lz.js} +1 -1
- package/{_error-CDrwBAGa.js → _error-ClCxUBZI.js} +2 -2
- package/{alert-qr4FiKjZ.js → alert-CFeXVf9z.js} +3 -3
- package/{angle-CStDkggs.js → angle-Sd6QcB4L.js} +6 -6
- package/{answer-Bht9xDHy.js → answer-C-ny5u9H.js} +5 -5
- package/{asList-D71_JChh.js → asList-Cp0pMx2q.js} +2 -2
- package/{blockQuote-DQJx4u6r.js → blockQuote-NjtUDntT.js} +3 -3
- package/{boolean-CbckfiEf.js → boolean-HfqRXB_G.js} +2 -2
- package/{booleanInput-Djkatjvt.js → booleanInput-96nnTT4D.js} +6 -6
- package/{br-Crws8Jxv.js → br-6ifcKJQP.js} +2 -2
- package/{button-Dj52xE3M.js → button-UhMj-ZZc.js} +4 -4
- package/{c-BA872hDa.js → c-DRN1WS7o.js} +3 -3
- package/{cell-CXbJByv_.js → cell-BcJYiCUG.js} +3 -3
- package/{choiceInput-Cm2-iIoM.js → choiceInput-y2iIzuVG.js} +4 -4
- package/{circle-CBgOEDrL.js → circle-BB5Jh2_7.js} +6 -6
- package/{cobwebPolyline-Cu6z9drc.js → cobwebPolyline-mVl2BuzI.js} +4 -4
- package/{codeEditor-BtSP9Tpq.js → codeEditor-Bkszy9Ic.js} +2 -2
- package/{composites-DGHWmaAt.js → composites-UWGvNTPv.js} +1 -1
- package/{containerBlock-BM9QYTq9.js → containerBlock-D-VnGPwq.js} +4 -4
- package/{containerInline-Bvr-pFyE.js → containerInline-CPv6ofIJ.js} +4 -4
- package/{curve-BSlNujHq.js → curve-DThMCYQv.js} +4 -4
- package/{doenetml-BDFOJz-C.js → doenetml-DLrt99P6.js} +9 -6
- package/doenetml-external-worker.js +2 -2
- package/doenetml-inline-worker.js +2 -2
- package/{ellipsis-BNoH065u.js → ellipsis-3xYwCrEB.js} +2 -2
- package/{em-BRCL7O8A.js → em-BEd9jpIH.js} +3 -3
- package/{embed-DAAE7IDO.js → embed-CNpW8SpV.js} +2 -2
- package/{feedback-HwDYfdMG.js → feedback-DPUBjcnI.js} +4 -4
- package/{figure-0g9jm59P.js → figure-DCgfKOGZ.js} +3 -3
- package/{fillPatterns-2aWllW4x.js → fillPatterns-zG6ItPvY.js} +1 -1
- package/{footnote-Cy66jfUd.js → footnote-8455MucL.js} +3 -3
- package/{fractionInput-CCL06Vgs.js → fractionInput-Db_VTjlD.js} +4 -4
- package/{graph-D_o4L7Ho.js → graph-CL8uJ4o0.js} +6 -6
- package/{hint-BdJlGS6U.js → hint-Bw-arhZ8.js} +4 -4
- package/{hr-dRMAVg5G.js → hr-COhveIjR.js} +2 -2
- package/{image-DXwS-lIr.js → image-BPkEPZGJ.js} +7 -7
- package/{index-BEABsEL4.js → index-C2bgVVP_.js} +1 -1
- package/{index.es-BdqOgsLr.js → index.es-C0R2UPJH.js} +1 -1
- package/index.js +1 -1
- package/{label-BuOtoFFn.js → label-Dv658ehB.js} +6 -6
- package/{labelWithLatex-BqlBIwcp.js → labelWithLatex-BLw8a-4m.js} +1 -1
- package/{legend-WeMwDbp8.js → legend-SNtEvQK-.js} +4 -4
- package/{line-BBBHNfpI.js → line-Beeekg0-.js} +6 -6
- package/{lineFamilyDragHandlers-BYDsEZZ1.js → lineFamilyDragHandlers-BD4m8HLF.js} +1 -1
- package/{lineSegment-Ck2y6NMU.js → lineSegment-BdLW3E97.js} +5 -5
- package/{list-BJFx_Gud.js → list-D7eHNFjL.js} +4 -4
- package/{lq-B4M9nLhn.js → lq-gRt6Deoh.js} +2 -2
- package/{lsq-jcDOwt6u.js → lsq-BnO-E5Gx.js} +2 -2
- package/{markupRenderer-Zf3m-eEb.js → markupRenderer-DseRh56c.js} +1 -1
- package/{math-B0mS779i.js → math-CM_T3B3Y.js} +6 -6
- package/{mathInput-mNKcz8ED.js → mathInput-BQwiqkNf.js} +7 -7
- package/{matrixInput-B3jWMgNY.js → matrixInput-DPNs6K16.js} +4 -4
- package/{mdash-x4aWRTrw.js → mdash-DE7tbnfp.js} +2 -2
- package/{nbsp-B3Ly77yn.js → nbsp-Cshqjteb.js} +2 -2
- package/{ndash-9hjScmqd.js → ndash-CVBUKaoD.js} +2 -2
- package/{number-DZx1M3yF.js → number-CNJa7U9T.js} +6 -6
- package/{orbitalDiagram-BaqH1c4z.js → orbitalDiagram-BlNhGtHd.js} +2 -2
- package/{orbitalDiagramInput-DbBxXtnj.js → orbitalDiagramInput-tYtVoC-1.js} +2 -2
- package/{p-DKjmQYVW.js → p-Bm04qRNV.js} +4 -4
- package/package.json +1 -1
- package/{paginatorControls-CzpAhrjV.js → paginatorControls-D0m1M0gb.js} +2 -2
- package/{pegboard-Ds3B68Dj.js → pegboard-iu2LlRMp.js} +4 -4
- package/{point-VxIdxUaR.js → point-B7I56e8z.js} +6 -6
- package/{polygon-CzJ5U_yJ.js → polygon-BBDBTf3E.js} +6 -6
- package/{polyline-2bES3iVk.js → polyline-I09gIRys.js} +5 -5
- package/{pre-70gj1kEQ.js → pre-9Kcg29Qp.js} +3 -3
- package/{prefigure-BwtP4OJs.js → prefigure-DizqugxR.js} +1 -1
- package/{pretzel-BwzJ2Q4P.js → pretzel-2WNdFAQl.js} +4 -4
- package/{q-CaK4MofO.js → q-28KXTDxt.js} +3 -3
- package/{ray-BiMblSsA.js → ray-C3RwiW3R.js} +5 -5
- package/{ref-CvNBqk1U.js → ref-BDEvCFfd.js} +2 -2
- package/{regionBetweenCurveXAxis-WUxK39I2.js → regionBetweenCurveXAxis-CLKq7YuW.js} +5 -5
- package/{regionBetweenCurves-CR6nDM3S.js → regionBetweenCurves-D2-44vOy.js} +5 -5
- package/{row-BKmUChSt.js → row-Dl0rLpcI.js} +2 -2
- package/{rq-CwaCF7Ys.js → rq-BkDjiDOo.js} +2 -2
- package/{rsq-ChT8Pspd.js → rsq-vO8v3wH6.js} +2 -2
- package/{section-guwMFadv.js → section-nEQZol18.js} +5 -5
- package/{sha256-Bzrm4-tO-ConX82XQ.js → sha256-Bzrm4-tO-CPp5uFTF.js} +1 -1
- package/{sideBySide-BxLBBzUy.js → sideBySide-a1iFarh0.js} +2 -2
- package/{slider-NNungKYi.js → slider-CFnCI0T8.js} +3 -3
- package/{solution-DZJED7KH.js → solution-BcNY4D0u.js} +4 -4
- package/{spreadsheet-yRQInxBb.js → spreadsheet-vzh1KtWL.js} +2 -2
- package/{sq-DjR5kjbm.js → sq-BuKMY-KH.js} +3 -3
- package/style.css +2 -2
- package/{subsetOfRealsInput-DS5t6_Yu.js → subsetOfRealsInput-BSX8yZd-.js} +2 -2
- package/{summaryStatistics-urGJVbdk.js → summaryStatistics-BCcbZZp9.js} +2 -2
- package/{table-XQf7Prxs.js → table-9sMsx_WN.js} +2 -2
- package/{tabular-AG1Rlluu.js → tabular-D8ZPO222.js} +2 -2
- package/{tag-DfVVZtUh.js → tag-CJOmE_22.js} +2 -2
- package/{text-DFjB-Xdy.js → text-nTZ2WmPs.js} +6 -6
- package/{textInput-BZw3etH8.js → textInput-DtPrccp4.js} +6 -6
- package/{tooltip-provider-CJGhAyfL.js → tooltip-provider-DxpWQzwG.js} +1 -1
- package/{useAnchoredGraphDragHandler-CGO9n7cD.js → useAnchoredGraphDragHandler-BlJiD9DL.js} +1 -1
- package/useDoenetRenderer-DaWP3yD6.js +114 -0
- package/{useSubmitActionWithDelay-DfXiM7aJ.js → useSubmitActionWithDelay-OcvGuExS.js} +2 -2
- package/{vector-B0L2H6bo.js → vector-CUiBD-v3.js} +6 -6
- package/{video-CPweftOG.js → video-BsnE-dvY.js} +4 -4
- package/useDoenetRenderer-DlmmGpsg.js +0 -114
|
@@ -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-DLrt99P6.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-DaWP3yD6.js";
|
|
4
|
+
import { A as AnswerResponseButton } from "./AnswerResponseButton-BTGrqlWj.js";
|
|
5
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-OcvGuExS.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-DLrt99P6.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-DaWP3yD6.js";
|
|
4
|
+
import { r as renderMarkupBody } from "./markupRenderer-DseRh56c.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-DLrt99P6.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-DcRov2L-.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DaWP3yD6.js";
|
|
5
|
+
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-CL8uJ4o0.js";
|
|
6
|
+
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-BD4m8HLF.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-DLrt99P6.js";
|
|
2
2
|
import React__default, { useContext, useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DaWP3yD6.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-DLrt99P6.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-DcRov2L-.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DaWP3yD6.js";
|
|
5
|
+
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-CL8uJ4o0.js";
|
|
6
|
+
import { g as getPatternFillAttributes } from "./fillPatterns-zG6ItPvY.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-DLrt99P6.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-DaWP3yD6.js";
|
|
4
|
+
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-CL8uJ4o0.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-zG6ItPvY.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-DcRov2L-.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-DLrt99P6.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DaWP3yD6.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-DLrt99P6.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DaWP3yD6.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-DLrt99P6.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DaWP3yD6.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-DLrt99P6.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-C0R2UPJH.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-DaWP3yD6.js";
|
|
6
|
+
import { a as addCommasForCompositeRanges } from "./composites-UWGvNTPv.js";
|
|
7
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-OcvGuExS.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-DLrt99P6.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DaWP3yD6.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-DLrt99P6.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-DaWP3yD6.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-BLw8a-4m.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-DLrt99P6.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-DaWP3yD6.js";
|
|
4
|
+
import { F as FontAwesomeIcon } from "./index.es-C0R2UPJH.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-UWGvNTPv.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-DLrt99P6.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-DaWP3yD6.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-DLrt99P6.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-DaWP3yD6.js";
|
|
4
|
+
import { r as renderMarkupBody } from "./markupRenderer-DseRh56c.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
|
@@ -1780,8 +1780,8 @@ Tailwind base is purposely not included because we want all styles to be prefixe
|
|
|
1780
1780
|
/*
|
|
1781
1781
|
* "What can go here?" suggestions surfaced when the cursor sits in an
|
|
1782
1782
|
* element body or at the top level. The header names the location, the list
|
|
1783
|
-
* shows curated starter components as links, and a muted footer points at
|
|
1784
|
-
*
|
|
1783
|
+
* shows curated starter components as links, and a muted footer points at the
|
|
1784
|
+
* platform's completion shortcut for the full set.
|
|
1785
1785
|
*/
|
|
1786
1786
|
.editor-panel .help-suggestions-header {
|
|
1787
1787
|
margin: 0;
|
|
@@ -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-DLrt99P6.js";
|
|
2
2
|
import React__default, { useState, useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DaWP3yD6.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-DLrt99P6.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DaWP3yD6.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-DLrt99P6.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DaWP3yD6.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-DLrt99P6.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DaWP3yD6.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-DLrt99P6.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DaWP3yD6.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-DLrt99P6.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-DcRov2L-.js";
|
|
4
|
+
import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-CL8uJ4o0.js";
|
|
5
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DaWP3yD6.js";
|
|
6
6
|
import { g as getPositionFromAnchorByCoordinate } from "./graph-W6vrFcBu.js";
|
|
7
|
-
import { ChoiceInputInlineContext } from "./choiceInput-
|
|
7
|
+
import { ChoiceInputInlineContext } from "./choiceInput-y2iIzuVG.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-BlJiD9DL.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-DLrt99P6.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-DcRov2L-.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DaWP3yD6.js";
|
|
5
5
|
import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
|
|
6
|
-
import { BoardContext } from "./graph-
|
|
6
|
+
import { BoardContext } from "./graph-CL8uJ4o0.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-OcvGuExS.js";
|
|
9
|
+
import { D as DescriptionPopover } from "./Description-D5pNkqYn.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-DLrt99P6.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-DcRov2L-.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-DLrt99P6.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-BTMuW9ID.js"), "./renderers/JSXGraphRenderer.tsx": () => import("./JSXGraphRenderer-DcRov2L-.js").then((n) => n.m), "./renderers/_error.tsx": () => import("./_error-ClCxUBZI.js"), "./renderers/alert.tsx": () => import("./alert-CFeXVf9z.js"), "./renderers/angle.tsx": () => import("./angle-Sd6QcB4L.js"), "./renderers/answer.tsx": () => import("./answer-C-ny5u9H.js"), "./renderers/asList.tsx": () => import("./asList-Cp0pMx2q.js"), "./renderers/blockQuote.tsx": () => import("./blockQuote-NjtUDntT.js"), "./renderers/boolean.tsx": () => import("./boolean-HfqRXB_G.js"), "./renderers/booleanInput.tsx": () => import("./booleanInput-96nnTT4D.js"), "./renderers/br.tsx": () => import("./br-6ifcKJQP.js"), "./renderers/button.tsx": () => import("./button-UhMj-ZZc.js"), "./renderers/c.tsx": () => import("./c-DRN1WS7o.js"), "./renderers/cell.tsx": () => import("./cell-BcJYiCUG.js"), "./renderers/choiceInput.tsx": () => import("./choiceInput-y2iIzuVG.js"), "./renderers/circle.tsx": () => import("./circle-BB5Jh2_7.js"), "./renderers/cobwebPolyline.tsx": () => import("./cobwebPolyline-mVl2BuzI.js"), "./renderers/codeEditor.tsx": () => import("./codeEditor-Bkszy9Ic.js"), "./renderers/containerBlock.tsx": () => import("./containerBlock-D-VnGPwq.js"), "./renderers/containerInline.tsx": () => import("./containerInline-CPv6ofIJ.js"), "./renderers/curve.tsx": () => import("./curve-DThMCYQv.js"), "./renderers/ellipsis.tsx": () => import("./ellipsis-3xYwCrEB.js"), "./renderers/em.tsx": () => import("./em-BEd9jpIH.js"), "./renderers/embed.tsx": () => import("./embed-CNpW8SpV.js"), "./renderers/feedback.tsx": () => import("./feedback-DPUBjcnI.js"), "./renderers/figure.tsx": () => import("./figure-DCgfKOGZ.js"), "./renderers/footnote.tsx": () => import("./footnote-8455MucL.js"), "./renderers/fractionInput.tsx": () => import("./fractionInput-Db_VTjlD.js"), "./renderers/graph.tsx": () => import("./graph-CL8uJ4o0.js"), "./renderers/hint.tsx": () => import("./hint-Bw-arhZ8.js"), "./renderers/hr.tsx": () => import("./hr-COhveIjR.js"), "./renderers/image.tsx": () => import("./image-BPkEPZGJ.js"), "./renderers/label.tsx": () => import("./label-Dv658ehB.js"), "./renderers/legend.tsx": () => import("./legend-SNtEvQK-.js"), "./renderers/line.tsx": () => import("./line-Beeekg0-.js"), "./renderers/lineSegment.tsx": () => import("./lineSegment-BdLW3E97.js"), "./renderers/list.tsx": () => import("./list-D7eHNFjL.js"), "./renderers/lq.tsx": () => import("./lq-gRt6Deoh.js"), "./renderers/lsq.tsx": () => import("./lsq-BnO-E5Gx.js"), "./renderers/math.tsx": () => import("./math-CM_T3B3Y.js"), "./renderers/mathInput.tsx": () => import("./mathInput-BQwiqkNf.js"), "./renderers/matrixInput.tsx": () => import("./matrixInput-DPNs6K16.js"), "./renderers/mdash.tsx": () => import("./mdash-DE7tbnfp.js"), "./renderers/nbsp.tsx": () => import("./nbsp-Cshqjteb.js"), "./renderers/ndash.tsx": () => import("./ndash-CVBUKaoD.js"), "./renderers/number.tsx": () => import("./number-CNJa7U9T.js"), "./renderers/orbitalDiagram.tsx": () => import("./orbitalDiagram-BlNhGtHd.js"), "./renderers/orbitalDiagramInput.tsx": () => import("./orbitalDiagramInput-tYtVoC-1.js"), "./renderers/p.tsx": () => import("./p-Bm04qRNV.js"), "./renderers/paginatorControls.tsx": () => import("./paginatorControls-D0m1M0gb.js"), "./renderers/pegboard.tsx": () => import("./pegboard-iu2LlRMp.js"), "./renderers/point.tsx": () => import("./point-B7I56e8z.js"), "./renderers/polygon.tsx": () => import("./polygon-BBDBTf3E.js"), "./renderers/polyline.tsx": () => import("./polyline-I09gIRys.js"), "./renderers/pre.tsx": () => import("./pre-9Kcg29Qp.js"), "./renderers/prefigure.tsx": () => import("./prefigure-DizqugxR.js"), "./renderers/pretzel.tsx": () => import("./pretzel-2WNdFAQl.js"), "./renderers/q.tsx": () => import("./q-28KXTDxt.js"), "./renderers/ray.tsx": () => import("./ray-C3RwiW3R.js"), "./renderers/ref.tsx": () => import("./ref-BDEvCFfd.js"), "./renderers/regionBetweenCurveXAxis.tsx": () => import("./regionBetweenCurveXAxis-CLKq7YuW.js"), "./renderers/regionBetweenCurves.tsx": () => import("./regionBetweenCurves-D2-44vOy.js"), "./renderers/row.tsx": () => import("./row-Dl0rLpcI.js"), "./renderers/rq.tsx": () => import("./rq-BkDjiDOo.js"), "./renderers/rsq.tsx": () => import("./rsq-vO8v3wH6.js"), "./renderers/section.tsx": () => import("./section-nEQZol18.js"), "./renderers/sideBySide.tsx": () => import("./sideBySide-a1iFarh0.js"), "./renderers/slider.tsx": () => import("./slider-CFnCI0T8.js"), "./renderers/solution.tsx": () => import("./solution-BcNY4D0u.js"), "./renderers/spreadsheet.tsx": () => import("./spreadsheet-vzh1KtWL.js"), "./renderers/sq.tsx": () => import("./sq-BuKMY-KH.js"), "./renderers/subsetOfRealsInput.tsx": () => import("./subsetOfRealsInput-BSX8yZd-.js"), "./renderers/summaryStatistics.tsx": () => import("./summaryStatistics-BCcbZZp9.js"), "./renderers/table.tsx": () => import("./table-9sMsx_WN.js"), "./renderers/tabular.tsx": () => import("./tabular-D8ZPO222.js"), "./renderers/tag.tsx": () => import("./tag-CJOmE_22.js"), "./renderers/text.tsx": () => import("./text-nTZ2WmPs.js"), "./renderers/textInput.tsx": () => import("./textInput-DtPrccp4.js"), "./renderers/vector.tsx": () => import("./vector-CUiBD-v3.js"), "./renderers/video.tsx": () => import("./video-BsnE-dvY.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-DLrt99P6.js";
|
|
2
|
+
import { F as FontAwesomeIcon } from "./index.es-C0R2UPJH.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-DLrt99P6.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-DcRov2L-.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DaWP3yD6.js";
|
|
5
|
+
import { BoardContext, VERTEX_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-CL8uJ4o0.js";
|
|
6
|
+
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-BD4m8HLF.js";
|
|
7
|
+
import { ChoiceInputInlineContext } from "./choiceInput-y2iIzuVG.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-DLrt99P6.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-DaWP3yD6.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-D5pNkqYn.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-BqQWE2Lz.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;
|