@doenet/doenetml 0.7.28 → 0.7.29
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-BhV-fH0f.js → AnswerResponseButton-5TmbZd7d.js} +2 -2
- package/{Description-B3WntRi0.js → Description-Bwh1ddsL.js} +1 -1
- package/{DynamicMath-C5szNUNB.js → DynamicMath-JfkONiS3.js} +1 -1
- package/{EditorViewer-B2aXI6nR.js → EditorViewer-CdphUA5N.js} +6 -6
- package/{GraphFrame-BtykRfYE.js → GraphFrame-B3v71UGh.js} +2 -2
- package/{JSXGraphRenderer-CXQTf2Og.js → JSXGraphRenderer-ol9yW3zC.js} +1 -1
- package/{NonInlineMediaWrapper-CAgt05UB.js → NonInlineMediaWrapper-DWliwtbX.js} +1 -1
- package/Viewer/renderers/choiceInput.d.ts.map +1 -1
- package/{_error-F7uUPeAr.js → _error-D39DZJ5z.js} +2 -2
- package/{alert-DdcwjfH3.js → alert-BYylv8TH.js} +3 -3
- package/{angle-vcsvcksN.js → angle-C_4jhlEj.js} +7 -7
- package/{answer-DlUVwqYk.js → answer-C7b27qNN.js} +6 -6
- package/{asList-Cf9fd2aP.js → asList-Dlzt8eM4.js} +2 -2
- package/{blockQuote-Cu0DspP7.js → blockQuote-CG4Got3o.js} +3 -3
- package/{boolean-uAULjT3p.js → boolean-D-9CqFgJ.js} +2 -2
- package/{booleanInput-CEEhKJvt.js → booleanInput-Cb4FcdC7.js} +6 -6
- package/{br-HRKg7Ie4.js → br-uUDTVde6.js} +2 -2
- package/{button-D4cgMCgE.js → button-BXBCkLN6.js} +4 -4
- package/{c-DYHo3Ug0.js → c-BIN1p-q5.js} +3 -3
- package/{cell-BBBhfLEa.js → cell-C6b4N8WY.js} +3 -3
- package/{chart-_d_pFWkN.js → chart-Bad1vbl5.js} +4 -4
- package/{choiceInput-D8XoroYo.js → choiceInput-CiPmndKK.js} +81 -26
- package/{circle-DMWP5PVJ.js → circle-iNnYmJbZ.js} +6 -6
- package/{cobwebPolyline-KsiLYUwt.js → cobwebPolyline-CUcfz9WT.js} +4 -4
- package/{codeEditor-DotcRYEg.js → codeEditor-C9lN32yo.js} +2 -2
- package/{composites-BLiLfHzq.js → composites-y-QErhdu.js} +1 -1
- package/{containerBlock-CcygST-m.js → containerBlock-BUk-D9qQ.js} +4 -4
- package/{containerInline-CQ24xJAc.js → containerInline-DgegussH.js} +4 -4
- package/{curve-BZUU1pxK.js → curve-DJzGwEZ0.js} +4 -4
- package/{doenetml-BBdC5nDq.js → doenetml-DniRyXf-.js} +3 -3
- package/doenetml-external-worker.js +2 -2
- package/doenetml-inline-worker.js +4 -4
- package/doenetml-worker/index.esm.js +1 -1
- package/doenetml-worker/index.js +1 -1
- package/doenetml-worker/lib_doenetml_worker_bg.wasm +0 -0
- package/{ellipsis-BQXu0AAI.js → ellipsis-PN7ngj7W.js} +2 -2
- package/{em-C40KG-3z.js → em-CNG_iK55.js} +3 -3
- package/{embed-BJr1GMwg.js → embed-CWpeIjuo.js} +2 -2
- package/{feedback-BMsUlQe0.js → feedback-dBBsU2hM.js} +4 -4
- package/{figure-Bp0y1pMc.js → figure-CK0Xq5kb.js} +3 -3
- package/{fillPatterns-eo66TX5S.js → fillPatterns-BHzhY-Du.js} +1 -1
- package/{footnote-A9EOMZmI.js → footnote-B4dfh99B.js} +3 -3
- package/{fractionInput-C_xY5GuJ.js → fractionInput-CEHZYDhK.js} +4 -4
- package/{graph-DZy3b5_V.js → graph-B6sbYCWq.js} +6 -6
- package/{hint-DYR_8dZI.js → hint-B0kL7jAI.js} +4 -4
- package/{hovercard-store-DlTzI4OX.js → hovercard-store-o287QVQm.js} +1 -1
- package/{hr-CMi5iaaC.js → hr-C0qaqPqo.js} +2 -2
- package/{image-BPCtrSRJ.js → image--uHTiApM.js} +7 -7
- package/{index-DTxWFUza.js → index-CVNV-HQs.js} +1 -1
- package/{index.es-8gpABX0x.js → index.es-umP8GwPR.js} +1 -1
- package/index.js +1 -1
- package/{label-DXcjGXe3.js → label-BSv-gF4o.js} +7 -7
- package/{labelWithLatex-DVjlrIhb.js → labelWithLatex-COLLE6eZ.js} +2 -2
- package/{legend-DqcoieLZ.js → legend-C7vDBwmq.js} +4 -4
- package/{line-B0qvaiLu.js → line-Brcc-CY6.js} +7 -7
- package/{lineFamilyDragHandlers-B4Dq55i-.js → lineFamilyDragHandlers-B5KcJnym.js} +1 -1
- package/{lineSegment-D021fRyO.js → lineSegment-C9aAy33M.js} +5 -5
- package/{list-BMGsodT4.js → list-GFsHmmCF.js} +4 -4
- package/{lq-C0nE6hdc.js → lq-CzHReOcD.js} +2 -2
- package/{lsq-Dzw1Y7Py.js → lsq--HNpXZBU.js} +2 -2
- package/{markupRenderer-B5rMHTYk.js → markupRenderer-Byil5VV6.js} +1 -1
- package/{math-D2Wh4WwC.js → math-DOUW0K2g.js} +8 -8
- package/{mathInput-B1s60n8d.js → mathInput-C8O8rBbr.js} +8 -8
- package/{mathInputSlots-DdtupGxI.js → mathInputSlots-DsRG1Uuu.js} +1 -1
- package/{matrixInput-Cdk_xWjc.js → matrixInput-FWIkxBbp.js} +4 -4
- package/{mdash-Ds8nKk0B.js → mdash-ChIJ3dQB.js} +2 -2
- package/{nbsp-2q2bf8S6.js → nbsp-OyT3nzjV.js} +2 -2
- package/{ndash-BBubruiq.js → ndash-d5pwuB9Y.js} +2 -2
- package/{number-Ddb1pE5J.js → number-D3qOIb51.js} +7 -7
- package/{orbitalDiagram-B3SBBkgY.js → orbitalDiagram-CDTD8KFd.js} +2 -2
- package/{orbitalDiagramInput-DihBoUEV.js → orbitalDiagramInput-D7vtQwXv.js} +2 -2
- package/{p-s7SLLSm2.js → p-CGnrUUp6.js} +4 -4
- package/package.json +1 -1
- package/{paginatorControls-DpvSadO2.js → paginatorControls-CVXxrvva.js} +2 -2
- package/{pegboard-I1K5UGJn.js → pegboard-Gp1mwVe_.js} +4 -4
- package/{point-BQTv3wMK.js → point-C0aNSn-i.js} +7 -7
- package/{polygon-BC8ctVEl.js → polygon-CZlBz0Ie.js} +6 -6
- package/{polyline-D2gpd7Oq.js → polyline-DlooE8zP.js} +5 -5
- package/{pre-CrJYYMQo.js → pre-DxDtrGME.js} +3 -3
- package/{prefigure-CslXm89f.js → prefigure-Bnap2gVW.js} +1 -1
- package/{pretzel-D3gvUOyD.js → pretzel-CmVIlfFT.js} +4 -4
- package/{q-BAawm9xW.js → q-nZyE7NwW.js} +3 -3
- package/{ray-BaHiyOUa.js → ray-DtpF790l.js} +5 -5
- package/{ref-GUgcjhfU.js → ref-D69dwNoF.js} +2 -2
- package/{regionBetweenCurveXAxis-i3bOTzjd.js → regionBetweenCurveXAxis-D7l7jYRM.js} +5 -5
- package/{regionBetweenCurves-DYE1Vbnc.js → regionBetweenCurves-CveBlyt7.js} +5 -5
- package/{row-CBxwjwyT.js → row-Ct3DC53R.js} +2 -2
- package/{rq-D6dugJGJ.js → rq-_VjcWBZ5.js} +2 -2
- package/{rsq-CalTiWfM.js → rsq-Blw7E8_1.js} +2 -2
- package/{section-BIWlmh5W.js → section-CWznnm7l.js} +5 -5
- package/{sha256-8sXzDnE0-Cr48C36V.js → sha256-8sXzDnE0-CBfjP5sv.js} +1 -1
- package/{sideBySide-B633NR5Y.js → sideBySide-P-YmSoy0.js} +2 -2
- package/{slider-Bx5Oqnqn.js → slider-CMvMSH4g.js} +3 -3
- package/{slopeField-B8aDymjD.js → slopeField-CHNhckOI.js} +2 -2
- package/{solution-kGIfYtgM.js → solution-DTsJTRhp.js} +4 -4
- package/{spreadsheet-CxQbb_QO.js → spreadsheet-CXGYsx5G.js} +2 -2
- package/{sq-BBncZvOg.js → sq-B2lzNWa4.js} +3 -3
- package/style.css +5 -0
- package/{subsetOfRealsInput-BshJ4zsS.js → subsetOfRealsInput-Dx6ZhpTn.js} +2 -2
- package/{summaryStatistics-Be0JqPsp.js → summaryStatistics-Bz2G-3Kb.js} +2 -2
- package/{table-DASPy9FW.js → table-BgjTP2Le.js} +2 -2
- package/{tabular-BrxL-3Wz.js → tabular-Blmdy1BA.js} +2 -2
- package/{tag-B6k31w7B.js → tag-CEbnb-fS.js} +2 -2
- package/{text-CMVHChn2.js → text-B2udsWdP.js} +6 -6
- package/{textInput-DFxuPFsZ.js → textInput-BZKFL2BV.js} +7 -7
- package/{tooltip-provider-DEDN8FXl.js → tooltip-provider-t6Hy5a1b.js} +2 -2
- package/{useAnchoredGraphDragHandler-DrzIP4BN.js → useAnchoredGraphDragHandler-BFuYmBrP.js} +1 -1
- package/useDoenetRenderer-BhmRwE0u.js +114 -0
- package/{useFieldCurve-ImmDLKXk.js → useFieldCurve-9Kzohky2.js} +2 -2
- package/{useSubmitActionWithDelay-DKaHznN9.js → useSubmitActionWithDelay-CM0JOqF-.js} +2 -2
- package/{vector-kClHMBkU.js → vector-Dx8Tig9b.js} +7 -7
- package/{vectorField-DlGuHWNR.js → vectorField-BMk-f7FD.js} +2 -2
- package/{video-Ch3BGVbQ.js → video-CASoy4Xd.js} +4 -4
- package/useDoenetRenderer-C1ESpwv3.js +0 -114
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { u as useT, q as jsxRuntimeExports, O as Button } from "./doenetml-
|
|
2
|
-
import { T as TooltipProvider, a as TooltipAnchor, b as Tooltip } from "./tooltip-provider-
|
|
1
|
+
import { u as useT, q as jsxRuntimeExports, O as Button } from "./doenetml-DniRyXf-.js";
|
|
2
|
+
import { T as TooltipProvider, a as TooltipAnchor, b as Tooltip } from "./tooltip-provider-t6Hy5a1b.js";
|
|
3
3
|
function AnswerResponseButton({
|
|
4
4
|
answerId,
|
|
5
5
|
answerComponentIdx,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a0 as memo, a1 as forwardRef, a2 as createElement, a3 as createHook, a4 as usePopoverContext, a5 as invariant, a6 as useStoreState, a7 as getBasePlacement, a8 as useId, a9 as useMergeRefs, q as jsxRuntimeExports, aa as removeUndefinedValues, ab as useSafeLayoutEffect, ac as getWindow, ad as usePopoverStore, E as DocContext, u as useT, ae as PopoverDisclosure, af as MdInfoOutline, ag as Popover } from "./doenetml-
|
|
1
|
+
import { a0 as memo, a1 as forwardRef, a2 as createElement, a3 as createHook, a4 as usePopoverContext, a5 as invariant, a6 as useStoreState, a7 as getBasePlacement, a8 as useId, a9 as useMergeRefs, q as jsxRuntimeExports, aa as removeUndefinedValues, ab as useSafeLayoutEffect, ac as getWindow, ad as usePopoverStore, E as DocContext, u as useT, ae as PopoverDisclosure, af as MdInfoOutline, ag as Popover } from "./doenetml-DniRyXf-.js";
|
|
2
2
|
import { useMemo, useState, useRef, useContext } from "react";
|
|
3
3
|
const POPOVER_ARROW_PATH = "M23 27.8C24.1 29 26.4 30 28 30H30H0H2C3.7 30 5.9 29 7 27.8L14 20.6C14.7 19.8 15.3 19.8 16 20.6L23 27.8Z";
|
|
4
4
|
const TagName = "div";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { G as loadMathJax, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { G as loadMathJax, q as jsxRuntimeExports } from "./doenetml-DniRyXf-.js";
|
|
2
2
|
import { useRef, useLayoutEffect } from "react";
|
|
3
3
|
const THROTTLE_MS = 100;
|
|
4
4
|
const IMMEDIATE_BUDGET_MS = 12;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { ai as createStoreContext, aT as CompositeScopedContextProvider, aU as CompositeContextProvider, a0 as memo, a1 as forwardRef, a2 as createElement, a3 as createHook, a5 as invariant, a8 as useId, aD as disabledFromProps, ap as useEvent, a6 as useStoreState, q as jsxRuntimeExports, aV as CompositeItem, aW as useCompositeItem, ak as useWrapElement, aX as useComposite, aY as useDisclosureStore, ab as useSafeLayoutEffect, aZ as getFirstTabbableIn, a9 as useMergeRefs, aE as useFocusable, a_ as useDisclosureContent, a$ as useCollectionItem, b0 as mergeStore, b1 as omit, b2 as createCompositeStore, ar as defaultValue, aq as createStore, b3 as setup, an as sync, b4 as batch, ao as chain, b5 as createCollectionStore, b6 as useComboboxContext, b7 as useSelectContext, as as useStore, b8 as useUpdateEffect, b9 as useCompositeStoreProps, at as useStoreProps, a7 as getBasePlacement, ba as isHidden, bb as useCompositeTypeahead, aj as createDialogComponent, bc as fireEvent, aC as hasFocusWithin, al as isFalsyBooleanCallback, bd as Role, be as getPopupRole, bf as getPopupItemRole, bg as usePopoverDisclosure, bh as disabledFromElement, ay as useBooleanEvent, bi as isDownloading, bj as isOpeningInNewTab, bk as useCompositeHover, bl as getDocument, bm as pick, bn as throwOnConflictingProps, bo as applyState, bp as useComboboxProviderContext, bq as GenIcon, u as useT, X as MathJax, br as isMacPlatform, bs as BsXOctagonFill, bt as BsExclamationTriangleFill, bu as BsInfoCircleFill, bv as classNames, bw as toXml, bx as referenceWouldAbsorb, by as nodesToXml, bz as escape, bA as name, bB as quote, bC as lezerToDast, bD as unified, bE as replaceNode, bF as visit, bG as SKIP, K as Context, bH as BsCodeSlash, bI as BsXOctagon, bJ as BsExclamationTriangle, bK as BsInfoCircle, bL as BsChatSquareTextFill, bM as BsChatSquareText, bN as BsThreeDotsVertical, bO as UiButton, bP as VariantSelect, bQ as setVariantIndex, bR as getAugmentedNamespace, bS as isAccessibilityRecord, bT as nanoid, t as useUiLocale, bU as useLocaleCatalogs, bV as useChromeTranslator, w as useDiagnosticFormatter, o as doenetGlobalConfig, bW as DocViewer, bX as setVariantsFromCallback, bY as I18nProvider, bZ as ResizablePanelPair, b_ as nanInfinityReviver, b$ as isSaveShortcutKeydown, Z as hasNavigationModifier, c0 as ResizableCollapsiblePanelPair } from "./doenetml-
|
|
1
|
+
import { ai as createStoreContext, aT as CompositeScopedContextProvider, aU as CompositeContextProvider, a0 as memo, a1 as forwardRef, a2 as createElement, a3 as createHook, a5 as invariant, a8 as useId, aD as disabledFromProps, ap as useEvent, a6 as useStoreState, q as jsxRuntimeExports, aV as CompositeItem, aW as useCompositeItem, ak as useWrapElement, aX as useComposite, aY as useDisclosureStore, ab as useSafeLayoutEffect, aZ as getFirstTabbableIn, a9 as useMergeRefs, aE as useFocusable, a_ as useDisclosureContent, a$ as useCollectionItem, b0 as mergeStore, b1 as omit, b2 as createCompositeStore, ar as defaultValue, aq as createStore, b3 as setup, an as sync, b4 as batch, ao as chain, b5 as createCollectionStore, b6 as useComboboxContext, b7 as useSelectContext, as as useStore, b8 as useUpdateEffect, b9 as useCompositeStoreProps, at as useStoreProps, a7 as getBasePlacement, ba as isHidden, bb as useCompositeTypeahead, aj as createDialogComponent, bc as fireEvent, aC as hasFocusWithin, al as isFalsyBooleanCallback, bd as Role, be as getPopupRole, bf as getPopupItemRole, bg as usePopoverDisclosure, bh as disabledFromElement, ay as useBooleanEvent, bi as isDownloading, bj as isOpeningInNewTab, bk as useCompositeHover, bl as getDocument, bm as pick, bn as throwOnConflictingProps, bo as applyState, bp as useComboboxProviderContext, bq as GenIcon, u as useT, X as MathJax, br as isMacPlatform, bs as BsXOctagonFill, bt as BsExclamationTriangleFill, bu as BsInfoCircleFill, bv as classNames, bw as toXml, bx as referenceWouldAbsorb, by as nodesToXml, bz as escape, bA as name, bB as quote, bC as lezerToDast, bD as unified, bE as replaceNode, bF as visit, bG as SKIP, K as Context, bH as BsCodeSlash, bI as BsXOctagon, bJ as BsExclamationTriangle, bK as BsInfoCircle, bL as BsChatSquareTextFill, bM as BsChatSquareText, bN as BsThreeDotsVertical, bO as UiButton, bP as VariantSelect, bQ as setVariantIndex, bR as getAugmentedNamespace, bS as isAccessibilityRecord, bT as nanoid, t as useUiLocale, bU as useLocaleCatalogs, bV as useChromeTranslator, w as useDiagnosticFormatter, o as doenetGlobalConfig, bW as DocViewer, bX as setVariantsFromCallback, bY as I18nProvider, bZ as ResizablePanelPair, b_ as nanInfinityReviver, b$ as isSaveShortcutKeydown, Z as hasNavigationModifier, c0 as ResizableCollapsiblePanelPair } from "./doenetml-DniRyXf-.js";
|
|
2
2
|
import React__default, { useCallback, useRef, useEffect, useState, useMemo, createContext, createRef, useContext, useImperativeHandle } from "react";
|
|
3
3
|
import { flushSync } from "react-dom";
|
|
4
4
|
import { i as isMathDefaultValue, a as isComponentSizeValue, f as formatComponentSize, d as doenetSchema, k as keymap, C as CodeMirror, E as EditorView } from "./index-X_sVB7n-.js";
|
|
5
|
-
import { D as DynamicMath } from "./DynamicMath-
|
|
6
|
-
import { H as HovercardScopedContextProvider, a as HovercardContextProvider, u as useHovercard, b as useHovercardAnchor, c as createHovercardStore, d as useHovercardStoreProps } from "./hovercard-store-
|
|
5
|
+
import { D as DynamicMath } from "./DynamicMath-JfkONiS3.js";
|
|
6
|
+
import { H as HovercardScopedContextProvider, a as HovercardContextProvider, u as useHovercard, b as useHovercardAnchor, c as createHovercardStore, d as useHovercardStoreProps } from "./hovercard-store-o287QVQm.js";
|
|
7
7
|
const ctx = createStoreContext([CompositeContextProvider], [CompositeScopedContextProvider]);
|
|
8
8
|
const useTabScopedContext = ctx.useScopedContext;
|
|
9
9
|
const useTabProviderContext = ctx.useProviderContext;
|
|
@@ -11018,12 +11018,12 @@ function EditorFooter({
|
|
|
11018
11018
|
className: "doenetml-version",
|
|
11019
11019
|
title: t(
|
|
11020
11020
|
"editor-version-title",
|
|
11021
|
-
{ version: "0.7.
|
|
11022
|
-
`DoenetML version ${"0.7.
|
|
11021
|
+
{ version: "0.7.29" },
|
|
11022
|
+
`DoenetML version ${"0.7.29"}`
|
|
11023
11023
|
),
|
|
11024
11024
|
children: [
|
|
11025
11025
|
"v",
|
|
11026
|
-
"0.7.
|
|
11026
|
+
"0.7.29"
|
|
11027
11027
|
]
|
|
11028
11028
|
}
|
|
11029
11029
|
),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { q as jsxRuntimeExports } from "./doenetml-DniRyXf-.js";
|
|
2
2
|
import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
|
|
3
|
-
import { D as DescriptionPopover, a as DescriptionAsDetails } from "./Description-
|
|
3
|
+
import { D as DescriptionPopover, a as DescriptionAsDetails } from "./Description-Bwh1ddsL.js";
|
|
4
4
|
function GraphFrame({
|
|
5
5
|
id,
|
|
6
6
|
SVs,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { K as Context, L as cesc, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { K as Context, L as cesc, q as jsxRuntimeExports } from "./doenetml-DniRyXf-.js";
|
|
2
2
|
import { useRef, useEffect, useState } from "react";
|
|
3
3
|
import { u as useMathJaxOutOfTabOrder } from "./useMathJaxOutOfTabOrder-C0wsYqBF.js";
|
|
4
4
|
var jxg = {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"choiceInput.d.ts","sourceRoot":"","sources":["../../../src/Viewer/renderers/choiceInput.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"choiceInput.d.ts","sourceRoot":"","sources":["../../../src/Viewer/renderers/choiceInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KASN,MAAM,OAAO,CAAC;AACf,OAA0B,EACtB,sBAAsB,EACzB,MAAM,sBAAsB,CAAC;AAU9B,OAAO,mBAAmB,CAAC;AAyC3B;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,wBAAwB;cACvB,OAAO;cACP,OAAO;EACmB,CAAC;;AAuGzC,wBAwzBG"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { u as useT, t as useUiLocale, v as useChromeLangDir, w as useDiagnosticFormatter, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useT, t as useUiLocale, v as useChromeLangDir, w as useDiagnosticFormatter, q as jsxRuntimeExports } from "./doenetml-DniRyXf-.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BhmRwE0u.js";
|
|
4
4
|
const _error = React__default.memo(function Error(props) {
|
|
5
5
|
let { id, SVs, children } = useDoenetRenderer(props);
|
|
6
6
|
const t = useT();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { q as jsxRuntimeExports } from "./doenetml-DniRyXf-.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
4
|
-
import { a as addCommasForCompositeRanges } from "./composites-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BhmRwE0u.js";
|
|
4
|
+
import { a as addCommasForCompositeRanges } from "./composites-y-QErhdu.js";
|
|
5
5
|
const alert = React__default.memo(function Alert(props) {
|
|
6
6
|
let { id, SVs, children } = useDoenetRenderer(props);
|
|
7
7
|
if (SVs.hidden) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { E as DocContext, q as jsxRuntimeExports, F as textRendererStyle } from "./doenetml-
|
|
1
|
+
import { E as DocContext, q as jsxRuntimeExports, F as textRendererStyle } from "./doenetml-DniRyXf-.js";
|
|
2
2
|
import React__default, { useContext, useRef, useEffect } from "react";
|
|
3
|
-
import { j as jxg, s as syncLayer, a as syncWithLabelToggle, 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 { D as DynamicMath } from "./DynamicMath-
|
|
7
|
-
import { ChoiceInputInlineContext } from "./choiceInput-
|
|
8
|
-
import { g as getPatternFillAttributes } from "./fillPatterns-
|
|
3
|
+
import { j as jxg, s as syncLayer, a as syncWithLabelToggle, b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-ol9yW3zC.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BhmRwE0u.js";
|
|
5
|
+
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-B6sbYCWq.js";
|
|
6
|
+
import { D as DynamicMath } from "./DynamicMath-JfkONiS3.js";
|
|
7
|
+
import { ChoiceInputInlineContext } from "./choiceInput-CiPmndKK.js";
|
|
8
|
+
import { g as getPatternFillAttributes } from "./fillPatterns-BHzhY-Du.js";
|
|
9
9
|
import { r as resolveFillColor, a as resolveLineColor, b as resolveCanvasColor } from "./styleColors-BrCvjxze.js";
|
|
10
10
|
const angle = React__default.memo(function Angle(props) {
|
|
11
11
|
let { id, SVs } = useDoenetRenderer(props);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { I as useContentT, E as DocContext, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { I as useContentT, E as DocContext, q as jsxRuntimeExports } from "./doenetml-DniRyXf-.js";
|
|
2
2
|
import React__default, { 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, w as wantsFullCheckWorkButton } from "./useSubmitActionWithDelay-
|
|
6
|
-
import { D as DynamicMath } from "./DynamicMath-
|
|
7
|
-
import { D as DescriptionPopover } from "./Description-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BhmRwE0u.js";
|
|
4
|
+
import { A as AnswerResponseButton } from "./AnswerResponseButton-5TmbZd7d.js";
|
|
5
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent, w as wantsFullCheckWorkButton } from "./useSubmitActionWithDelay-CM0JOqF-.js";
|
|
6
|
+
import { D as DynamicMath } from "./DynamicMath-JfkONiS3.js";
|
|
7
|
+
import { D as DescriptionPopover } from "./Description-Bwh1ddsL.js";
|
|
8
8
|
const answer = React__default.memo(function Answer(props) {
|
|
9
9
|
let {
|
|
10
10
|
componentIdx,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { q as jsxRuntimeExports } from "./doenetml-DniRyXf-.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BhmRwE0u.js";
|
|
4
4
|
const asList = React__default.memo(function AsList(props) {
|
|
5
5
|
let { id, SVs, children } = useDoenetRenderer(props);
|
|
6
6
|
if (SVs.hidden) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { J as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { J as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-DniRyXf-.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
4
|
-
import { r as renderMarkupBody } from "./markupRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BhmRwE0u.js";
|
|
4
|
+
import { r as renderMarkupBody } from "./markupRenderer-Byil5VV6.js";
|
|
5
5
|
const blockQuote = React__default.memo(function Container(props) {
|
|
6
6
|
const { id, SVs, children, actions, callAction } = useDoenetRenderer(props);
|
|
7
7
|
const ref = useRef(null);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { q as jsxRuntimeExports } from "./doenetml-DniRyXf-.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BhmRwE0u.js";
|
|
4
4
|
const boolean = React__default.memo(function Boolean(props) {
|
|
5
5
|
let { id, SVs } = useDoenetRenderer(props, false);
|
|
6
6
|
if (SVs.hidden) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { I as useContentT, K as Context, q as jsxRuntimeExports, X as MathJax, Y as ToggleButton } from "./doenetml-
|
|
1
|
+
import { I as useContentT, K as Context, q as jsxRuntimeExports, X as MathJax, Y as ToggleButton } from "./doenetml-DniRyXf-.js";
|
|
2
2
|
import React__default, { useState, useRef, useContext, useEffect } from "react";
|
|
3
|
-
import { j as jxg } from "./JSXGraphRenderer-
|
|
4
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
5
|
-
import { BoardContext } from "./graph-
|
|
3
|
+
import { j as jxg } from "./JSXGraphRenderer-ol9yW3zC.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BhmRwE0u.js";
|
|
5
|
+
import { BoardContext } from "./graph-B6sbYCWq.js";
|
|
6
6
|
import { g as getPositionFromAnchorByCoordinate, P as POINTER_DRAG_THRESHOLD } from "./graph-W6vrFcBu.js";
|
|
7
|
-
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-
|
|
8
|
-
import { D as DescriptionPopover } from "./Description-
|
|
7
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-CM0JOqF-.js";
|
|
8
|
+
import { D as DescriptionPopover } from "./Description-Bwh1ddsL.js";
|
|
9
9
|
const booleanInput = React__default.memo(function BooleanInput(props) {
|
|
10
10
|
let { id, SVs, children, actions, ignoreUpdate, callAction } = useDoenetRenderer(props);
|
|
11
11
|
const tContent = useContentT();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { q as jsxRuntimeExports } from "./doenetml-DniRyXf-.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BhmRwE0u.js";
|
|
4
4
|
const br = React__default.memo(function Br(props) {
|
|
5
5
|
let { id, SVs } = useDoenetRenderer(props);
|
|
6
6
|
if (SVs.hidden) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { K as Context, L as cesc, q as jsxRuntimeExports, M as Button2 } from "./doenetml-
|
|
1
|
+
import { K as Context, L as cesc, q as jsxRuntimeExports, M as Button2 } from "./doenetml-DniRyXf-.js";
|
|
2
2
|
import React__default, { useRef, useContext, useEffect } from "react";
|
|
3
|
-
import { j as jxg } from "./JSXGraphRenderer-
|
|
4
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
5
|
-
import { BoardContext } from "./graph-
|
|
3
|
+
import { j as jxg } from "./JSXGraphRenderer-ol9yW3zC.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BhmRwE0u.js";
|
|
5
|
+
import { BoardContext } from "./graph-B6sbYCWq.js";
|
|
6
6
|
import { g as getPositionFromAnchorByCoordinate, P as POINTER_DRAG_THRESHOLD } from "./graph-W6vrFcBu.js";
|
|
7
7
|
const button = React__default.memo(function ButtonComponent(props) {
|
|
8
8
|
let { id, SVs, actions, callAction } = useDoenetRenderer(
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { q as jsxRuntimeExports } from "./doenetml-DniRyXf-.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-BhmRwE0u.js";
|
|
4
|
+
import { r as renderMarkupBody } from "./markupRenderer-Byil5VV6.js";
|
|
5
5
|
const c = React__default.memo(function C(props) {
|
|
6
6
|
const { id, SVs, children } = useDoenetRenderer(props);
|
|
7
7
|
const body = renderMarkupBody({ SVs, children });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { q as jsxRuntimeExports } from "./doenetml-DniRyXf-.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
4
|
-
import { a as addCommasForCompositeRanges } from "./composites-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BhmRwE0u.js";
|
|
4
|
+
import { a as addCommasForCompositeRanges } from "./composites-y-QErhdu.js";
|
|
5
5
|
const cell = React__default.memo(function Cell(props) {
|
|
6
6
|
let { id, SVs, children } = useDoenetRenderer(props);
|
|
7
7
|
if (SVs.hidden) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { J as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { J as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-DniRyXf-.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
4
|
-
import GraphFrame from "./GraphFrame-
|
|
5
|
-
import Prefigure from "./prefigure-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BhmRwE0u.js";
|
|
4
|
+
import GraphFrame from "./GraphFrame-B3v71UGh.js";
|
|
5
|
+
import Prefigure from "./prefigure-Bnap2gVW.js";
|
|
6
6
|
const chart = React__default.memo(function Chart(props) {
|
|
7
7
|
const { id, SVs, actions, callAction } = useDoenetRenderer(props);
|
|
8
8
|
const containerRef = useRef(null);
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { aR as autoUpdate, u as useT, I as useContentT, E as DocContext, q as jsxRuntimeExports, aS as CANVAS_DARK_MODE_COLOR, X as MathJax } from "./doenetml-
|
|
1
|
+
import { aR as autoUpdate, u as useT, I as useContentT, E as DocContext, q as jsxRuntimeExports, aS as CANVAS_DARK_MODE_COLOR, X as MathJax } from "./doenetml-DniRyXf-.js";
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
import React__default, { useState, useCallback, forwardRef, useContext, useLayoutEffect, useRef, useMemo, createContext, Component, Fragment, useEffect } from "react";
|
|
4
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BhmRwE0u.js";
|
|
5
5
|
import { a as _objectWithoutPropertiesLoose, _ as _setPrototypeOf, b as _extends } from "./setPrototypeOf-C-47lAIH.js";
|
|
6
6
|
import { createPortal } from "react-dom";
|
|
7
|
-
import { c as calculateValidationState, u as useSubmitActionWithDelay, w as wantsFullCheckWorkButton, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-
|
|
8
|
-
import { D as DescriptionPopover } from "./Description-
|
|
7
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, w as wantsFullCheckWorkButton, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-CM0JOqF-.js";
|
|
8
|
+
import { D as DescriptionPopover } from "./Description-Bwh1ddsL.js";
|
|
9
9
|
import { a as addValidationStateToShortDescription } from "./validationState-DI_lxk1a.js";
|
|
10
10
|
import { a as getBlockMarginWithOptionalTopSuppression } from "./nonInlineMediaLayout-CkXHaqzo.js";
|
|
11
|
-
import { b as useInMathSlot, c as useMathSlotEditing } from "./mathInputSlots-
|
|
11
|
+
import { b as useInMathSlot, c as useMathSlotEditing } from "./mathInputSlots-DsRG1Uuu.js";
|
|
12
12
|
import { u as useMathJaxOutOfTabOrder } from "./useMathJaxOutOfTabOrder-C0wsYqBF.js";
|
|
13
13
|
function _typeof(o) {
|
|
14
14
|
"@babel/helpers - typeof";
|
|
@@ -5144,9 +5144,56 @@ const isMultiValue = (val) => {
|
|
|
5144
5144
|
return Array.isArray(val);
|
|
5145
5145
|
};
|
|
5146
5146
|
const ChoiceInputInlineContext = createContext({ isHidden: false, inOption: false });
|
|
5147
|
+
const MIN_MENU_HEIGHT = 140;
|
|
5148
|
+
const MIN_MENU_HEIGHT_ALT = 139.9;
|
|
5149
|
+
const RecheckMenuPlacementContext = createContext(() => {
|
|
5150
|
+
});
|
|
5151
|
+
function MenuThatRechecksPlacement(props) {
|
|
5152
|
+
const recheckPlacement = useContext(RecheckMenuPlacementContext);
|
|
5153
|
+
const { innerRef, placement } = props;
|
|
5154
|
+
const [menuElement, setMenuElement] = useState(null);
|
|
5155
|
+
const setMenuRef = useCallback(
|
|
5156
|
+
(element) => {
|
|
5157
|
+
setMenuElement(element);
|
|
5158
|
+
if (typeof innerRef === "function") {
|
|
5159
|
+
innerRef(element);
|
|
5160
|
+
} else if (innerRef) {
|
|
5161
|
+
innerRef.current = element;
|
|
5162
|
+
}
|
|
5163
|
+
},
|
|
5164
|
+
[innerRef]
|
|
5165
|
+
);
|
|
5166
|
+
useEffect(() => {
|
|
5167
|
+
if (!menuElement || placement !== "bottom" || typeof ResizeObserver === "undefined") {
|
|
5168
|
+
return;
|
|
5169
|
+
}
|
|
5170
|
+
let lastHeight = menuElement.getBoundingClientRect().height;
|
|
5171
|
+
const observer = new ResizeObserver(() => {
|
|
5172
|
+
const height = menuElement.getBoundingClientRect().height;
|
|
5173
|
+
if (height > lastHeight) {
|
|
5174
|
+
recheckPlacement();
|
|
5175
|
+
}
|
|
5176
|
+
lastHeight = height;
|
|
5177
|
+
});
|
|
5178
|
+
observer.observe(menuElement);
|
|
5179
|
+
return () => observer.disconnect();
|
|
5180
|
+
}, [menuElement, placement, recheckPlacement]);
|
|
5181
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(components.Menu, { ...props, innerRef: setMenuRef });
|
|
5182
|
+
}
|
|
5147
5183
|
const choiceInput = React__default.memo(function ChoiceInput(props) {
|
|
5148
5184
|
let { id, SVs, actions, children, ignoreUpdate, callAction } = useDoenetRenderer(props);
|
|
5149
5185
|
const t = useT();
|
|
5186
|
+
const [altMinMenuHeight, setAltMinMenuHeight] = useState(false);
|
|
5187
|
+
const menuRecheckPending = useRef(false);
|
|
5188
|
+
const recheckMenuPlacement = useCallback(() => {
|
|
5189
|
+
if (!menuRecheckPending.current) {
|
|
5190
|
+
menuRecheckPending.current = true;
|
|
5191
|
+
setAltMinMenuHeight((alt) => !alt);
|
|
5192
|
+
}
|
|
5193
|
+
}, []);
|
|
5194
|
+
useLayoutEffect(() => {
|
|
5195
|
+
menuRecheckPending.current = false;
|
|
5196
|
+
}, [altMinMenuHeight]);
|
|
5150
5197
|
const tContent = useContentT();
|
|
5151
5198
|
const { darkMode } = useContext(DocContext) || {};
|
|
5152
5199
|
const inMathSlot = useInMathSlot();
|
|
@@ -5272,7 +5319,8 @@ const choiceInput = React__default.memo(function ChoiceInput(props) {
|
|
|
5272
5319
|
}
|
|
5273
5320
|
),
|
|
5274
5321
|
// Add aria-details to the internal input used by react-select.
|
|
5275
|
-
Input: (props2) => /* @__PURE__ */ jsxRuntimeExports.jsx(components.Input, { ...props2, "aria-details": descriptionId })
|
|
5322
|
+
Input: (props2) => /* @__PURE__ */ jsxRuntimeExports.jsx(components.Input, { ...props2, "aria-details": descriptionId }),
|
|
5323
|
+
Menu: MenuThatRechecksPlacement
|
|
5276
5324
|
}),
|
|
5277
5325
|
[descriptionId, t]
|
|
5278
5326
|
);
|
|
@@ -5467,27 +5515,34 @@ const choiceInput = React__default.memo(function ChoiceInput(props) {
|
|
|
5467
5515
|
{
|
|
5468
5516
|
value: { isHidden: false, inOption: false },
|
|
5469
5517
|
children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
5470
|
-
|
|
5518
|
+
RecheckMenuPlacementContext.Provider,
|
|
5471
5519
|
{
|
|
5472
|
-
|
|
5473
|
-
|
|
5474
|
-
|
|
5475
|
-
|
|
5476
|
-
|
|
5477
|
-
|
|
5478
|
-
|
|
5479
|
-
|
|
5480
|
-
|
|
5481
|
-
|
|
5482
|
-
|
|
5483
|
-
|
|
5484
|
-
|
|
5485
|
-
|
|
5486
|
-
|
|
5487
|
-
|
|
5488
|
-
|
|
5489
|
-
|
|
5490
|
-
|
|
5520
|
+
value: recheckMenuPlacement,
|
|
5521
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
5522
|
+
StateManagedSelect$1,
|
|
5523
|
+
{
|
|
5524
|
+
id,
|
|
5525
|
+
inputId: inlineInputId,
|
|
5526
|
+
isMulti: SVs.selectMultiple,
|
|
5527
|
+
styles: customStyles,
|
|
5528
|
+
options: choiceOptions,
|
|
5529
|
+
components: inlineSelectComponents,
|
|
5530
|
+
getOptionLabel: (opt) => opt.label,
|
|
5531
|
+
formatOptionLabel: (opt) => opt.content,
|
|
5532
|
+
menuPortalTarget,
|
|
5533
|
+
menuPlacement: "auto",
|
|
5534
|
+
minMenuHeight: altMinMenuHeight ? MIN_MENU_HEIGHT_ALT : MIN_MENU_HEIGHT,
|
|
5535
|
+
className: inputClasses,
|
|
5536
|
+
onChange: onChangeHandlerInline,
|
|
5537
|
+
value: rendererSelectedIndices.map((ind) => getOptionFromIndex(ind)).filter((opt) => opt !== void 0),
|
|
5538
|
+
placeholder: SVs.placeHolder,
|
|
5539
|
+
isDisabled: disabled,
|
|
5540
|
+
isOptionDisabled: (opt) => !!opt.isDisabled,
|
|
5541
|
+
"aria-labelledby": inlineLabelledByIds || void 0,
|
|
5542
|
+
"aria-label": !inlineLabelledByIds ? shortDescription : void 0,
|
|
5543
|
+
"aria-description": inlineLabelledByIds ? shortDescription : void 0
|
|
5544
|
+
}
|
|
5545
|
+
)
|
|
5491
5546
|
}
|
|
5492
5547
|
)
|
|
5493
5548
|
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { E as DocContext, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { E as DocContext, q as jsxRuntimeExports } from "./doenetml-DniRyXf-.js";
|
|
2
2
|
import React__default, { useContext, useRef } from "react";
|
|
3
|
-
import { j as jxg, s as syncLayer, e as syncLineStrokeStyle, a as syncWithLabelToggle, f as syncLabelStrokeColor, b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight, r as removeJXGEventHandlers } from "./JSXGraphRenderer-
|
|
4
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
5
|
-
import { BoardContext, POINT_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-
|
|
3
|
+
import { j as jxg, s as syncLayer, e as syncLineStrokeStyle, a as syncWithLabelToggle, f as syncLabelStrokeColor, b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight, r as removeJXGEventHandlers } from "./JSXGraphRenderer-ol9yW3zC.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BhmRwE0u.js";
|
|
5
|
+
import { BoardContext, POINT_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-B6sbYCWq.js";
|
|
6
6
|
import { c as characterizeOffGraphPoint, a as characterizeOffGraphCircleArc } from "./offGraphIndicators-CYoqQHuD.js";
|
|
7
7
|
import { n as normalizePointStyle, a as normalizePointSize, b as adjustPointLabelPosition, c as getEffectiveBoundingBox, d as getGraphCornerWithBuffer, e as calculatePointLabelAnchor } from "./graph-W6vrFcBu.js";
|
|
8
|
-
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-
|
|
8
|
+
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-B5KcJnym.js";
|
|
9
9
|
import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-DV6a8Wvg.js";
|
|
10
10
|
import { p as pointerEventToUserCoords } from "./dragThreshold-DuSSFrIU.js";
|
|
11
11
|
import { a as resolveLineColor, r as resolveFillColor, c as resolveMarkerColor, b as resolveCanvasColor } from "./styleColors-BrCvjxze.js";
|
|
12
12
|
import { s as styleToDash } from "./styleToDash-DWb71gbd.js";
|
|
13
13
|
import { b as buildFilledShapeAttributes } from "./buildGraphicalAttributes-B_soifR-.js";
|
|
14
|
-
import { g as getPatternFillAttributes } from "./fillPatterns-
|
|
14
|
+
import { g as getPatternFillAttributes } from "./fillPatterns-BHzhY-Du.js";
|
|
15
15
|
import { u as useDraggableRefs } from "./useDraggableRefs-QaTfkVuD.js";
|
|
16
16
|
import { u as useJSXGraphCleanup } from "./useJSXGraphCleanup-BNk4sn6x.js";
|
|
17
17
|
const circle = React__default.memo(function Circle(props) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { N as createFunctionFromDefinition, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { N as createFunctionFromDefinition, q as jsxRuntimeExports } from "./doenetml-DniRyXf-.js";
|
|
2
2
|
import React__default, { useContext, useRef } 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, VERTEX_LAYER_OFFSET } from "./graph-
|
|
3
|
+
import { j as jxg, b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-ol9yW3zC.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BhmRwE0u.js";
|
|
5
|
+
import { BoardContext, LINE_LAYER_OFFSET, VERTEX_LAYER_OFFSET } from "./graph-B6sbYCWq.js";
|
|
6
6
|
import { s as styleToDash } from "./styleToDash-DWb71gbd.js";
|
|
7
7
|
const cobwebPolyline = React__default.memo(function CobwebPolyline(props) {
|
|
8
8
|
let { componentIdx, id, SVs, actions, sourceOfUpdate, callAction } = useDoenetRenderer(props);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { E as DocContext, q as jsxRuntimeExports, ah as EditorViewerLazy } from "./doenetml-
|
|
1
|
+
import { E as DocContext, q as jsxRuntimeExports, ah as EditorViewerLazy } from "./doenetml-DniRyXf-.js";
|
|
2
2
|
import React__default, { useState, useEffect, useContext, useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BhmRwE0u.js";
|
|
4
4
|
import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
|
|
5
5
|
function resolveElements(elementOrSelector, scope, selectorCache) {
|
|
6
6
|
if (elementOrSelector == null) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as groupCompositeRanges, q as jsxRuntimeExports, B as listCommaPositions, C as isBlankGroup } from "./doenetml-
|
|
1
|
+
import { A as groupCompositeRanges, q as jsxRuntimeExports, B as listCommaPositions, C as isBlankGroup } from "./doenetml-DniRyXf-.js";
|
|
2
2
|
function addCommasForCompositeRanges({
|
|
3
3
|
compositeReplacementActiveRange,
|
|
4
4
|
children,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { I as useContentT, J as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { I as useContentT, J as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-DniRyXf-.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
4
|
-
import { a as addCommasForCompositeRanges } from "./composites-
|
|
5
|
-
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BhmRwE0u.js";
|
|
4
|
+
import { a as addCommasForCompositeRanges } from "./composites-y-QErhdu.js";
|
|
5
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-CM0JOqF-.js";
|
|
6
6
|
const containerBlock = React__default.memo(function Container(props) {
|
|
7
7
|
let { id, SVs, children, actions, callAction } = useDoenetRenderer(props);
|
|
8
8
|
const tContent = useContentT();
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { I as useContentT, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { I as useContentT, q as jsxRuntimeExports } from "./doenetml-DniRyXf-.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
4
|
-
import { a as addCommasForCompositeRanges } from "./composites-
|
|
5
|
-
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BhmRwE0u.js";
|
|
4
|
+
import { a as addCommasForCompositeRanges } from "./composites-y-QErhdu.js";
|
|
5
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-CM0JOqF-.js";
|
|
6
6
|
const containerInline = React__default.memo(function ContainerInline(props) {
|
|
7
7
|
let { id, SVs, children, actions, callAction } = useDoenetRenderer(props);
|
|
8
8
|
const tContent = useContentT();
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { E as DocContext, N as createFunctionFromDefinition, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { E as DocContext, N as createFunctionFromDefinition, q as jsxRuntimeExports } from "./doenetml-DniRyXf-.js";
|
|
2
2
|
import React__default, { useContext, useRef } from "react";
|
|
3
|
-
import { s as syncLayer, f as syncLabelStrokeColor, b as syncLabelMaskCssStyle, g as syncVisPropValues, j as jxg, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-
|
|
4
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
5
|
-
import { BoardContext, VERTEX_LAYER_OFFSET, CONTROL_POINT_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-
|
|
3
|
+
import { s as syncLayer, f as syncLabelStrokeColor, b as syncLabelMaskCssStyle, g as syncVisPropValues, j as jxg, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-ol9yW3zC.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BhmRwE0u.js";
|
|
5
|
+
import { BoardContext, VERTEX_LAYER_OFFSET, CONTROL_POINT_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-B6sbYCWq.js";
|
|
6
6
|
import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-DV6a8Wvg.js";
|
|
7
7
|
import { a as resolveLineColor, d as resolveHandleColor } from "./styleColors-BrCvjxze.js";
|
|
8
8
|
import { s as styleToDash } from "./styleToDash-DWb71gbd.js";
|
|
@@ -33378,7 +33378,7 @@ async function cidFromArrayBuffer(data) {
|
|
|
33378
33378
|
await crypto.subtle.digest("SHA-256", new Uint8Array());
|
|
33379
33379
|
digest = (data2) => crypto.subtle.digest("SHA-256", data2);
|
|
33380
33380
|
} catch (e2) {
|
|
33381
|
-
const sha256 = (await import("./sha256-8sXzDnE0-
|
|
33381
|
+
const sha256 = (await import("./sha256-8sXzDnE0-CBfjP5sv.js").then((n2) => n2.s)).default;
|
|
33382
33382
|
digest = (data2) => sha256(data2, {
|
|
33383
33383
|
asBytes: true
|
|
33384
33384
|
});
|
|
@@ -56908,7 +56908,7 @@ function DocViewer({
|
|
|
56908
56908
|
for (const rendererClassName of coreInfo.current.rendererTypesInDocument) {
|
|
56909
56909
|
rendererClassNames.push(rendererClassName);
|
|
56910
56910
|
rendererLoaders.push(
|
|
56911
|
-
() => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "./renderers/GraphFrame.tsx": () => import("./GraphFrame-
|
|
56911
|
+
() => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "./renderers/GraphFrame.tsx": () => import("./GraphFrame-B3v71UGh.js"), "./renderers/JSXGraphRenderer.tsx": () => import("./JSXGraphRenderer-ol9yW3zC.js").then((n2) => n2.m), "./renderers/_error.tsx": () => import("./_error-D39DZJ5z.js"), "./renderers/alert.tsx": () => import("./alert-BYylv8TH.js"), "./renderers/angle.tsx": () => import("./angle-C_4jhlEj.js"), "./renderers/answer.tsx": () => import("./answer-C7b27qNN.js"), "./renderers/asList.tsx": () => import("./asList-Dlzt8eM4.js"), "./renderers/blockQuote.tsx": () => import("./blockQuote-CG4Got3o.js"), "./renderers/boolean.tsx": () => import("./boolean-D-9CqFgJ.js"), "./renderers/booleanInput.tsx": () => import("./booleanInput-Cb4FcdC7.js"), "./renderers/br.tsx": () => import("./br-uUDTVde6.js"), "./renderers/button.tsx": () => import("./button-BXBCkLN6.js"), "./renderers/c.tsx": () => import("./c-BIN1p-q5.js"), "./renderers/cell.tsx": () => import("./cell-C6b4N8WY.js"), "./renderers/chart.tsx": () => import("./chart-Bad1vbl5.js"), "./renderers/choiceInput.tsx": () => import("./choiceInput-CiPmndKK.js"), "./renderers/circle.tsx": () => import("./circle-iNnYmJbZ.js"), "./renderers/cobwebPolyline.tsx": () => import("./cobwebPolyline-CUcfz9WT.js"), "./renderers/codeEditor.tsx": () => import("./codeEditor-C9lN32yo.js"), "./renderers/containerBlock.tsx": () => import("./containerBlock-BUk-D9qQ.js"), "./renderers/containerInline.tsx": () => import("./containerInline-DgegussH.js"), "./renderers/curve.tsx": () => import("./curve-DJzGwEZ0.js"), "./renderers/ellipsis.tsx": () => import("./ellipsis-PN7ngj7W.js"), "./renderers/em.tsx": () => import("./em-CNG_iK55.js"), "./renderers/embed.tsx": () => import("./embed-CWpeIjuo.js"), "./renderers/feedback.tsx": () => import("./feedback-dBBsU2hM.js"), "./renderers/figure.tsx": () => import("./figure-CK0Xq5kb.js"), "./renderers/footnote.tsx": () => import("./footnote-B4dfh99B.js"), "./renderers/fractionInput.tsx": () => import("./fractionInput-CEHZYDhK.js"), "./renderers/graph.tsx": () => import("./graph-B6sbYCWq.js"), "./renderers/hint.tsx": () => import("./hint-B0kL7jAI.js"), "./renderers/hr.tsx": () => import("./hr-C0qaqPqo.js"), "./renderers/image.tsx": () => import("./image--uHTiApM.js"), "./renderers/label.tsx": () => import("./label-BSv-gF4o.js"), "./renderers/legend.tsx": () => import("./legend-C7vDBwmq.js"), "./renderers/line.tsx": () => import("./line-Brcc-CY6.js"), "./renderers/lineSegment.tsx": () => import("./lineSegment-C9aAy33M.js"), "./renderers/list.tsx": () => import("./list-GFsHmmCF.js"), "./renderers/lq.tsx": () => import("./lq-CzHReOcD.js"), "./renderers/lsq.tsx": () => import("./lsq--HNpXZBU.js"), "./renderers/math.tsx": () => import("./math-DOUW0K2g.js"), "./renderers/mathInput.tsx": () => import("./mathInput-C8O8rBbr.js"), "./renderers/matrixInput.tsx": () => import("./matrixInput-FWIkxBbp.js"), "./renderers/mdash.tsx": () => import("./mdash-ChIJ3dQB.js"), "./renderers/nbsp.tsx": () => import("./nbsp-OyT3nzjV.js"), "./renderers/ndash.tsx": () => import("./ndash-d5pwuB9Y.js"), "./renderers/number.tsx": () => import("./number-D3qOIb51.js"), "./renderers/orbitalDiagram.tsx": () => import("./orbitalDiagram-CDTD8KFd.js"), "./renderers/orbitalDiagramInput.tsx": () => import("./orbitalDiagramInput-D7vtQwXv.js"), "./renderers/p.tsx": () => import("./p-CGnrUUp6.js"), "./renderers/paginatorControls.tsx": () => import("./paginatorControls-CVXxrvva.js"), "./renderers/pegboard.tsx": () => import("./pegboard-Gp1mwVe_.js"), "./renderers/point.tsx": () => import("./point-C0aNSn-i.js"), "./renderers/polygon.tsx": () => import("./polygon-CZlBz0Ie.js"), "./renderers/polyline.tsx": () => import("./polyline-DlooE8zP.js"), "./renderers/pre.tsx": () => import("./pre-DxDtrGME.js"), "./renderers/prefigure.tsx": () => import("./prefigure-Bnap2gVW.js"), "./renderers/pretzel.tsx": () => import("./pretzel-CmVIlfFT.js"), "./renderers/q.tsx": () => import("./q-nZyE7NwW.js"), "./renderers/ray.tsx": () => import("./ray-DtpF790l.js"), "./renderers/ref.tsx": () => import("./ref-D69dwNoF.js"), "./renderers/regionBetweenCurveXAxis.tsx": () => import("./regionBetweenCurveXAxis-D7l7jYRM.js"), "./renderers/regionBetweenCurves.tsx": () => import("./regionBetweenCurves-CveBlyt7.js"), "./renderers/row.tsx": () => import("./row-Ct3DC53R.js"), "./renderers/rq.tsx": () => import("./rq-_VjcWBZ5.js"), "./renderers/rsq.tsx": () => import("./rsq-Blw7E8_1.js"), "./renderers/section.tsx": () => import("./section-CWznnm7l.js"), "./renderers/sideBySide.tsx": () => import("./sideBySide-P-YmSoy0.js"), "./renderers/slider.tsx": () => import("./slider-CMvMSH4g.js"), "./renderers/slopeField.tsx": () => import("./slopeField-CHNhckOI.js"), "./renderers/solution.tsx": () => import("./solution-DTsJTRhp.js"), "./renderers/spreadsheet.tsx": () => import("./spreadsheet-CXGYsx5G.js"), "./renderers/sq.tsx": () => import("./sq-B2lzNWa4.js"), "./renderers/subsetOfRealsInput.tsx": () => import("./subsetOfRealsInput-Dx6ZhpTn.js"), "./renderers/summaryStatistics.tsx": () => import("./summaryStatistics-Bz2G-3Kb.js"), "./renderers/table.tsx": () => import("./table-BgjTP2Le.js"), "./renderers/tabular.tsx": () => import("./tabular-Blmdy1BA.js"), "./renderers/tag.tsx": () => import("./tag-CEbnb-fS.js"), "./renderers/text.tsx": () => import("./text-B2udsWdP.js"), "./renderers/textInput.tsx": () => import("./textInput-BZKFL2BV.js"), "./renderers/vector.tsx": () => import("./vector-Dx8Tig9b.js"), "./renderers/vectorField.tsx": () => import("./vectorField-BMk-f7FD.js"), "./renderers/video.tsx": () => import("./video-CASoy4Xd.js") }), `./renderers/${rendererClassName}.tsx`, 3)
|
|
56912
56912
|
);
|
|
56913
56913
|
}
|
|
56914
56914
|
const documentComponentInstructions = coreInfo.current.documentToRender;
|
|
@@ -120816,7 +120816,7 @@ function ExternalAwareVirtualKeyboard({
|
|
|
120816
120816
|
}
|
|
120817
120817
|
const LazyInner = React__default.lazy(async () => {
|
|
120818
120818
|
const module = await importRendererWithRetry(
|
|
120819
|
-
() => import("./EditorViewer-
|
|
120819
|
+
() => import("./EditorViewer-CdphUA5N.js"),
|
|
120820
120820
|
"EditorViewer"
|
|
120821
120821
|
);
|
|
120822
120822
|
return { default: module.EditorViewer };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as hostProvidedWorkerUrl, o as doenetGlobalConfig } from "./doenetml-
|
|
2
|
-
import { D, a, c, b, d, f, g, e, h, i, m, j, r, s, k, l } from "./doenetml-
|
|
1
|
+
import { n as hostProvidedWorkerUrl, o as doenetGlobalConfig } from "./doenetml-DniRyXf-.js";
|
|
2
|
+
import { D, a, c, b, d, f, g, e, h, i, m, j, r, s, k, l } from "./doenetml-DniRyXf-.js";
|
|
3
3
|
const workerPath = "./doenetml-worker/index.js";
|
|
4
4
|
function resolveWorkerUrl() {
|
|
5
5
|
try {
|