@doenet/doenetml 0.7.27-dev.721 → 0.7.27-dev.722
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-Cn_kWADf.js → AnswerResponseButton-Bod3ceCt.js} +2 -2
- package/{ClickTarget-DJZjNb1L.js → ClickTarget-vvCrTXcX.js} +1 -1
- package/{Description-DHCETU9C.js → Description-DLObq3bT.js} +1 -1
- package/{EditorViewer-BYBPd0Ih.js → EditorViewer-CcflAMZR.js} +5 -5
- package/{GraphFrame-Bhy0aa-6.js → GraphFrame-BZC_g30g.js} +2 -2
- package/{JSXGraphRenderer-D4wZRKPM.js → JSXGraphRenderer-BE3bSw4H.js} +1 -1
- package/{NonInlineMediaWrapper-C4n3I40a.js → NonInlineMediaWrapper-LSNjLjKF.js} +1 -1
- package/Viewer/renderers/choiceInput.d.ts.map +1 -1
- package/{_error-BelWfZCt.js → _error-DeO4SnNB.js} +2 -2
- package/{alert-qajfDtsc.js → alert-gijULeG8.js} +3 -3
- package/{angle-Qa7Ib9IQ.js → angle-BtbmakG7.js} +6 -6
- package/{answer-Cvsf4adt.js → answer-ggR9tYaJ.js} +6 -6
- package/{asList-BiiyW8E0.js → asList-BHzPGacl.js} +2 -2
- package/{blockQuote-Dqm8sZSw.js → blockQuote-e5mHURKi.js} +3 -3
- package/{boolean-LAAfaCUZ.js → boolean-DQtxy-ly.js} +2 -2
- package/{booleanInput-RGIONjlB.js → booleanInput-vV9jt02-.js} +7 -7
- package/{br-COAQNctN.js → br-CAHyglQd.js} +2 -2
- package/{button-HxiPftiP.js → button-0pmxUmkh.js} +5 -5
- package/{c-C9B5IULA.js → c-4sNZy_aI.js} +3 -3
- package/{cell-BF_pxGDz.js → cell-BCFIn152.js} +3 -3
- package/{chart-BHXup9m4.js → chart-D8Kvduvq.js} +4 -4
- package/{choiceInput-nCn38nca.js → choiceInput-CtWRN_pP.js} +83 -28
- package/{circle-DPck7X1d.js → circle-DXj4GXmn.js} +6 -6
- package/{cobwebPolyline-Cbw8q771.js → cobwebPolyline-CrNpZ5nX.js} +4 -4
- package/{codeEditor-CvQi6A1W.js → codeEditor-CGhQV4Rv.js} +2 -2
- package/{composites-B2nnzluQ.js → composites-xwasy1NL.js} +1 -1
- package/{containerBlock-DUrJS99a.js → containerBlock-oac5S56C.js} +4 -4
- package/{containerInline-CKm3fN2E.js → containerInline-jhTrkhCK.js} +4 -4
- package/{curve-DXvK8J0k.js → curve-DSq92BzX.js} +4 -4
- package/{delete-B66Z8RbZ.js → delete-DaSfMCHw.js} +3 -3
- package/{doenetml-Bok4gHdd.js → doenetml-ClwXiJO3.js} +3 -3
- package/doenetml-external-worker.js +2 -2
- package/doenetml-inline-worker.js +3 -3
- package/doenetml-worker/index.esm.js +1 -1
- package/doenetml-worker/index.js +1 -1
- package/{ellipsis-C3Bof9x2.js → ellipsis-C9JFYm9i.js} +2 -2
- package/{em-hbIfeFmE.js → em-C6boKOOT.js} +3 -3
- package/{embed-DN3hfH6l.js → embed-DvrmzAm5.js} +2 -2
- package/{feedback-BTwjGZa0.js → feedback-Tx-4G83v.js} +4 -4
- package/{figure-CGzEadVW.js → figure-DtT6Bkl4.js} +3 -3
- package/{fillPatterns-CDhEtDtQ.js → fillPatterns-B5I5AKPl.js} +1 -1
- package/{footnote-BAurAcIl.js → footnote-DrPbf0zq.js} +3 -3
- package/{fractionInput-DZ68vg6z.js → fractionInput-Cm4lF95d.js} +5 -5
- package/{graph-DNz7Atvj.js → graph-BQK8i7d3.js} +5 -5
- package/{hint-B58iazEc.js → hint-BMXfpGMl.js} +5 -5
- package/{hovercard-store-C57rnrYN.js → hovercard-store-Cjww_WHq.js} +1 -1
- package/{hr-DwfcPsBv.js → hr-Cuh2LIln.js} +2 -2
- package/{image-09EGiU40.js → image-DbzMtY0A.js} +8 -8
- package/{index-ufG_JASR.js → index-DA3O2ID3.js} +1 -1
- package/{index.es-BUYoJiTy.js → index.es-C27pwVDJ.js} +1 -1
- package/index.js +1 -1
- package/{inputLabel-DBXcH7OC.js → inputLabel-CVZxmyOZ.js} +3 -3
- package/{insert-C0ANWCk0.js → insert-w_xdww3c.js} +3 -3
- package/{label-t8f8xk8h.js → label-BojouvY4.js} +9 -9
- package/{legend-D8Ub10XG.js → legend-GF-p_DSI.js} +4 -4
- package/{line-DPeN1nyH.js → line-DdaecR60.js} +6 -6
- package/{lineFamilyDragHandlers-BhXamjDH.js → lineFamilyDragHandlers-BBdndXCt.js} +1 -1
- package/{lineSegment-CeYpUpWV.js → lineSegment-BB3HAgsm.js} +5 -5
- package/{list-Dm17pGBD.js → list-Bk2hQ9-6.js} +4 -4
- package/{lq-BH-3FRcp.js → lq-89nzURE6.js} +2 -2
- package/{lsq-Ba676wK3.js → lsq-BWlGjme9.js} +2 -2
- package/{markupRenderer-CgmZ1z89.js → markupRenderer-C9tjwgIO.js} +1 -1
- package/{math-Dfd9qZ-P.js → math-Df-t0JTM.js} +8 -8
- package/{mathInput-BSawVYVk.js → mathInput-CZ7U59sg.js} +9 -9
- package/{mathInputSlots-D4qviFeF.js → mathInputSlots-slK7qkPq.js} +1 -1
- package/{matrixInput-ON-6kkvu.js → matrixInput-B0gzG5EH.js} +5 -5
- package/{mdash-C_kSZosn.js → mdash-BQ_dg7TS.js} +2 -2
- package/{nbsp-BzMTzEQE.js → nbsp-Bkp7bx93.js} +2 -2
- package/{ndash-Cqs7gl-w.js → ndash-ihSwJeyP.js} +2 -2
- package/{number-EJr_VDz9.js → number-CkJBcUzx.js} +8 -8
- package/{orbitalDiagram-DmXr_q4t.js → orbitalDiagram-D5bcasa_.js} +2 -2
- package/{orbitalDiagramInput-BRnzwyMf.js → orbitalDiagramInput-CxxHR53H.js} +2 -2
- package/{p-CTghyRch.js → p-BuVblnlK.js} +4 -4
- package/package.json +1 -1
- package/{paginatorControls-BU9qYAzD.js → paginatorControls-BFpPqxCm.js} +2 -2
- package/{pegboard-D7CtMlua.js → pegboard-BzcBBX1v.js} +3 -3
- package/{point-0P_UjlCJ.js → point-3kd126As.js} +6 -6
- package/{polygon-CO_chiFy.js → polygon-C1vHL1tL.js} +6 -6
- package/{polyline-DcI07fTk.js → polyline-BZ5tbr26.js} +5 -5
- package/{pre-CrMByeEJ.js → pre-CTx3vJdL.js} +3 -3
- package/{prefigure-BEDuJ2_H.js → prefigure-CpUTHyWB.js} +1 -1
- package/{pretzel-D3hmzSyf.js → pretzel-Dd_THE9a.js} +4 -4
- package/{q-BPKtNIFO.js → q-CjbnHfez.js} +3 -3
- package/{ray-BclqVvqi.js → ray-C8iLLfwp.js} +5 -5
- package/{ref-CzVYs4HZ.js → ref-D_rLUUu1.js} +3 -3
- package/{regionBetweenCurveXAxis-JnuIRsqi.js → regionBetweenCurveXAxis-DaM0oiTa.js} +5 -5
- package/{regionBetweenCurves-CM9NdAYK.js → regionBetweenCurves-DosygKzW.js} +5 -5
- package/{row-lZQeyeuL.js → row-CfTQLP_J.js} +2 -2
- package/{rq-BET3x2EB.js → rq-C7uWHWir.js} +2 -2
- package/{rsq-CvaHeTkb.js → rsq-BMZd-nug.js} +2 -2
- package/{section-UBcczZHm.js → section-BIefvNxm.js} +6 -6
- package/{sha256-8sXzDnE0-CdFNW8tj.js → sha256-8sXzDnE0-CDx48_Bq.js} +1 -1
- package/{sideBySide-CGWf0Ce5.js → sideBySide-CHpC8ARR.js} +2 -2
- package/{slider-CivKGWgP.js → slider-aneeZXte.js} +4 -4
- package/{slopeField-Dl6Z3iNP.js → slopeField-CCO2Izch.js} +2 -2
- package/{solution-DZyRR8hA.js → solution-D_UWNM_j.js} +4 -4
- package/{spreadsheet-DOVdsRAL.js → spreadsheet-61-PbW9a.js} +2 -2
- package/{sq-C9wbF0gJ.js → sq-BXFZPb45.js} +3 -3
- package/{subsetOfRealsInput-BG_vZ7fv.js → subsetOfRealsInput-DVT8PHIK.js} +2 -2
- package/{summaryStatistics-7luik8nM.js → summaryStatistics-DZdHRQeS.js} +2 -2
- package/{table-CrStEJKH.js → table-B7mZ_auR.js} +2 -2
- package/{tabular-DpwdLgeD.js → tabular-Clmq_4Hd.js} +2 -2
- package/{tag-B3JWpmwM.js → tag-D9xHhESL.js} +2 -2
- package/{text-CkUJp7-h.js → text-DdphJnSc.js} +8 -8
- package/{textInput-BVZtHbxk.js → textInput-CT8y5U5b.js} +8 -8
- package/{tooltip-provider-ijiFZRTB.js → tooltip-provider-BME-Kb4-.js} +2 -2
- package/{useAnchoredGraphDragHandler-CuqbNw1x.js → useAnchoredGraphDragHandler-B-0OeylA.js} +1 -1
- package/useDoenetRenderer-D_ZOsiYo.js +114 -0
- package/{useFieldCurve-DaEVVy4L.js → useFieldCurve-IE5ynYvL.js} +2 -2
- package/{useSubmitActionWithDelay-ubCEF5gE.js → useSubmitActionWithDelay-sZW78Xjk.js} +2 -2
- package/{vector-BAv1JZ4E.js → vector-CI5clpda.js} +6 -6
- package/{vectorField-CKNIPSdP.js → vectorField-B6mkdae9.js} +2 -2
- package/{video-DWjJwDap.js → video-uy9puQHf.js} +4 -4
- package/useDoenetRenderer-CbGnTt8Q.js +0 -114
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { u as useT, q as jsxRuntimeExports, L 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, L as Button } from "./doenetml-ClwXiJO3.js";
|
|
2
|
+
import { T as TooltipProvider, a as TooltipAnchor, b as Tooltip } from "./tooltip-provider-BME-Kb4-.js";
|
|
3
3
|
function AnswerResponseButton({
|
|
4
4
|
answerId,
|
|
5
5
|
answerComponentIdx,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { q as jsxRuntimeExports } from "./doenetml-ClwXiJO3.js";
|
|
2
2
|
import { useContext, useRef, useState, useLayoutEffect, createContext } from "react";
|
|
3
3
|
import { u as useMathJaxOutOfTabOrder } from "./useMathJaxOutOfTabOrder-C0wsYqBF.js";
|
|
4
4
|
const NoClickTargetContext = createContext(false);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a1 as memo, a2 as forwardRef, a3 as createElement, a4 as createHook, a5 as usePopoverContext, a6 as invariant, a7 as useStoreState, a8 as getBasePlacement, a9 as useId, aa as useMergeRefs, q as jsxRuntimeExports, ab as removeUndefinedValues, ac as useSafeLayoutEffect, ad as getWindow, ae as usePopoverStore, E as DocContext, u as useT, af as PopoverDisclosure, ag as MdInfoOutline, ah as Popover } from "./doenetml-
|
|
1
|
+
import { a1 as memo, a2 as forwardRef, a3 as createElement, a4 as createHook, a5 as usePopoverContext, a6 as invariant, a7 as useStoreState, a8 as getBasePlacement, a9 as useId, aa as useMergeRefs, q as jsxRuntimeExports, ab as removeUndefinedValues, ac as useSafeLayoutEffect, ad as getWindow, ae as usePopoverStore, E as DocContext, u as useT, af as PopoverDisclosure, ag as MdInfoOutline, ah as Popover } from "./doenetml-ClwXiJO3.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,9 +1,9 @@
|
|
|
1
|
-
import { aj as createStoreContext, aV as CompositeScopedContextProvider, aW as CompositeContextProvider, a1 as memo, a2 as forwardRef, a3 as createElement, a4 as createHook, a6 as invariant, a9 as useId, aE as disabledFromProps, aq as useEvent, a7 as useStoreState, q as jsxRuntimeExports, aX as CompositeItem, aY as useCompositeItem, al as useWrapElement, aZ as useComposite, a_ as useDisclosureStore, ac as useSafeLayoutEffect, a$ as getFirstTabbableIn, aa as useMergeRefs, aF as useFocusable, b0 as useDisclosureContent, b1 as useCollectionItem, b2 as mergeStore, b3 as omit, b4 as createCompositeStore, as as defaultValue, ar as createStore, b5 as setup, ao as sync, b6 as batch, ap as chain, b7 as createCollectionStore, b8 as useComboboxContext, b9 as useSelectContext, at as useStore, ba as useUpdateEffect, bb as useCompositeStoreProps, au as useStoreProps, a8 as getBasePlacement, bc as isHidden, bd as useCompositeTypeahead, ak as createDialogComponent, be as fireEvent, aD as hasFocusWithin, am as isFalsyBooleanCallback, bf as Role, bg as getPopupRole, bh as getPopupItemRole, bi as usePopoverDisclosure, bj as disabledFromElement, az as useBooleanEvent, bk as isDownloading, bl as isOpeningInNewTab, bm as useCompositeHover, bn as getDocument, bo as pick, bp as throwOnConflictingProps, bq as applyState, br as useComboboxProviderContext, bs as GenIcon, u as useT, Y as MathJax, bt as isMacPlatform, bu as BsXOctagonFill, bv as BsExclamationTriangleFill, bw as BsInfoCircleFill, bx as classNames, by as toXml, bz as referenceWouldAbsorb, bA as nodesToXml, bB as escape, bC as name, bD as quote, bE as lezerToDast, bF as unified, bG as replaceNode, bH as visit, bI as SKIP, G as DynamicMath, bJ as BsCodeSlash, bK as BsXOctagon, bL as BsExclamationTriangle, bM as BsInfoCircle, bN as BsChatSquareTextFill, bO as BsChatSquareText, bP as BsThreeDotsVertical, bQ as UiButton, bR as VariantSelect, bS as setVariantIndex, bT as getAugmentedNamespace, bU as isAccessibilityRecord, bV as nanoid, t as useUiLocale, bW as useLocaleCatalogs, bX as useChromeTranslator, w as useDiagnosticFormatter, o as doenetGlobalConfig, bY as DocViewer, bZ as setVariantsFromCallback, b_ as I18nProvider, b$ as ResizablePanelPair, c0 as nanInfinityReviver, c1 as isSaveShortcutKeydown, $ as hasNavigationModifier, c2 as ResizableCollapsiblePanelPair } from "./doenetml-
|
|
1
|
+
import { aj as createStoreContext, aV as CompositeScopedContextProvider, aW as CompositeContextProvider, a1 as memo, a2 as forwardRef, a3 as createElement, a4 as createHook, a6 as invariant, a9 as useId, aE as disabledFromProps, aq as useEvent, a7 as useStoreState, q as jsxRuntimeExports, aX as CompositeItem, aY as useCompositeItem, al as useWrapElement, aZ as useComposite, a_ as useDisclosureStore, ac as useSafeLayoutEffect, a$ as getFirstTabbableIn, aa as useMergeRefs, aF as useFocusable, b0 as useDisclosureContent, b1 as useCollectionItem, b2 as mergeStore, b3 as omit, b4 as createCompositeStore, as as defaultValue, ar as createStore, b5 as setup, ao as sync, b6 as batch, ap as chain, b7 as createCollectionStore, b8 as useComboboxContext, b9 as useSelectContext, at as useStore, ba as useUpdateEffect, bb as useCompositeStoreProps, au as useStoreProps, a8 as getBasePlacement, bc as isHidden, bd as useCompositeTypeahead, ak as createDialogComponent, be as fireEvent, aD as hasFocusWithin, am as isFalsyBooleanCallback, bf as Role, bg as getPopupRole, bh as getPopupItemRole, bi as usePopoverDisclosure, bj as disabledFromElement, az as useBooleanEvent, bk as isDownloading, bl as isOpeningInNewTab, bm as useCompositeHover, bn as getDocument, bo as pick, bp as throwOnConflictingProps, bq as applyState, br as useComboboxProviderContext, bs as GenIcon, u as useT, Y as MathJax, bt as isMacPlatform, bu as BsXOctagonFill, bv as BsExclamationTriangleFill, bw as BsInfoCircleFill, bx as classNames, by as toXml, bz as referenceWouldAbsorb, bA as nodesToXml, bB as escape, bC as name, bD as quote, bE as lezerToDast, bF as unified, bG as replaceNode, bH as visit, bI as SKIP, G as DynamicMath, bJ as BsCodeSlash, bK as BsXOctagon, bL as BsExclamationTriangle, bM as BsInfoCircle, bN as BsChatSquareTextFill, bO as BsChatSquareText, bP as BsThreeDotsVertical, bQ as UiButton, bR as VariantSelect, bS as setVariantIndex, bT as getAugmentedNamespace, bU as isAccessibilityRecord, bV as nanoid, t as useUiLocale, bW as useLocaleCatalogs, bX as useChromeTranslator, w as useDiagnosticFormatter, o as doenetGlobalConfig, bY as DocViewer, bZ as setVariantsFromCallback, b_ as I18nProvider, b$ as ResizablePanelPair, c0 as nanInfinityReviver, c1 as isSaveShortcutKeydown, $ as hasNavigationModifier, c2 as ResizableCollapsiblePanelPair } from "./doenetml-ClwXiJO3.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-DqAxh5HC.js";
|
|
5
5
|
import me$1 from "math-expressions";
|
|
6
|
-
import { H as HovercardScopedContextProvider, a as HovercardContextProvider, u as useHovercard, b as useHovercardAnchor, c as createHovercardStore, d as useHovercardStoreProps } from "./hovercard-store-
|
|
6
|
+
import { H as HovercardScopedContextProvider, a as HovercardContextProvider, u as useHovercard, b as useHovercardAnchor, c as createHovercardStore, d as useHovercardStoreProps } from "./hovercard-store-Cjww_WHq.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.27-dev.
|
|
11022
|
-
`DoenetML version ${"0.7.27-dev.
|
|
11021
|
+
{ version: "0.7.27-dev.722" },
|
|
11022
|
+
`DoenetML version ${"0.7.27-dev.722"}`
|
|
11023
11023
|
),
|
|
11024
11024
|
children: [
|
|
11025
11025
|
"v",
|
|
11026
|
-
"0.7.27-dev.
|
|
11026
|
+
"0.7.27-dev.722"
|
|
11027
11027
|
]
|
|
11028
11028
|
}
|
|
11029
11029
|
),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { q as jsxRuntimeExports } from "./doenetml-ClwXiJO3.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-DLObq3bT.js";
|
|
4
4
|
function GraphFrame({
|
|
5
5
|
id,
|
|
6
6
|
SVs,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { T as cesc, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { T as cesc, q as jsxRuntimeExports } from "./doenetml-ClwXiJO3.js";
|
|
2
2
|
import { useRef, useEffect, useState } from "react";
|
|
3
3
|
import me from "math-expressions";
|
|
4
4
|
import { u as useMathJaxOutOfTabOrder } from "./useMathJaxOutOfTabOrder-C0wsYqBF.js";
|
|
@@ -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;AA2C3B;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,wBAAwB;cACvB,OAAO;cACP,OAAO;EACmB,CAAC;;AAuGzC,wBAk0BG"}
|
|
@@ -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-ClwXiJO3.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-D_ZOsiYo.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-ClwXiJO3.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-D_ZOsiYo.js";
|
|
4
|
+
import { a as addCommasForCompositeRanges } from "./composites-xwasy1NL.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,10 +1,10 @@
|
|
|
1
|
-
import { E as DocContext, q as jsxRuntimeExports, F as textRendererStyle, G as DynamicMath } from "./doenetml-
|
|
1
|
+
import { E as DocContext, q as jsxRuntimeExports, F as textRendererStyle, G as DynamicMath } from "./doenetml-ClwXiJO3.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 { B as BoardContext, L as LINE_LAYER_OFFSET } from "./graph-
|
|
6
|
-
import { ChoiceInputInlineContext } from "./choiceInput-
|
|
7
|
-
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-BE3bSw4H.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-D_ZOsiYo.js";
|
|
5
|
+
import { B as BoardContext, L as LINE_LAYER_OFFSET } from "./graph-BQK8i7d3.js";
|
|
6
|
+
import { ChoiceInputInlineContext } from "./choiceInput-CtWRN_pP.js";
|
|
7
|
+
import { g as getPatternFillAttributes } from "./fillPatterns-B5I5AKPl.js";
|
|
8
8
|
import { r as resolveFillColor, a as resolveLineColor, b as resolveCanvasColor } from "./styleColors-BrCvjxze.js";
|
|
9
9
|
const angle = React__default.memo(function Angle(props) {
|
|
10
10
|
let { id, SVs } = useDoenetRenderer(props);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { I as useContentT, E as DocContext, q as jsxRuntimeExports, G as DynamicMath } from "./doenetml-
|
|
1
|
+
import { I as useContentT, E as DocContext, q as jsxRuntimeExports, G as DynamicMath } from "./doenetml-ClwXiJO3.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 DescriptionPopover } from "./Description-
|
|
7
|
-
import { u as useRenderedLabel, A as AnswerLabelContext } from "./inputLabel-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-D_ZOsiYo.js";
|
|
4
|
+
import { A as AnswerResponseButton } from "./AnswerResponseButton-Bod3ceCt.js";
|
|
5
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent, w as wantsFullCheckWorkButton } from "./useSubmitActionWithDelay-sZW78Xjk.js";
|
|
6
|
+
import { D as DescriptionPopover } from "./Description-DLObq3bT.js";
|
|
7
|
+
import { u as useRenderedLabel, A as AnswerLabelContext } from "./inputLabel-CVZxmyOZ.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-ClwXiJO3.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-D_ZOsiYo.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-ClwXiJO3.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-D_ZOsiYo.js";
|
|
4
|
+
import { r as renderMarkupBody } from "./markupRenderer-C9tjwgIO.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-ClwXiJO3.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-D_ZOsiYo.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,13 +1,13 @@
|
|
|
1
|
-
import { I as useContentT, M as toNumberOrNaN, q as jsxRuntimeExports, Y as MathJax, Z as ToggleButton } from "./doenetml-
|
|
1
|
+
import { I as useContentT, M as toNumberOrNaN, q as jsxRuntimeExports, Y as MathJax, Z as ToggleButton } from "./doenetml-ClwXiJO3.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 { B as BoardContext } from "./graph-
|
|
3
|
+
import { j as jxg } from "./JSXGraphRenderer-BE3bSw4H.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-D_ZOsiYo.js";
|
|
5
|
+
import { B as BoardContext } from "./graph-BQK8i7d3.js";
|
|
6
6
|
import me from "math-expressions";
|
|
7
7
|
import { e as getPositionFromAnchorByCoordinate, P as POINTER_DRAG_THRESHOLD } from "./graph-N7QcDlVU.js";
|
|
8
|
-
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-
|
|
9
|
-
import { D as DescriptionPopover } from "./Description-
|
|
10
|
-
import { u as useRenderedLabel } from "./inputLabel-
|
|
8
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-sZW78Xjk.js";
|
|
9
|
+
import { D as DescriptionPopover } from "./Description-DLObq3bT.js";
|
|
10
|
+
import { u as useRenderedLabel } from "./inputLabel-CVZxmyOZ.js";
|
|
11
11
|
const booleanInput = React__default.memo(function BooleanInput(props) {
|
|
12
12
|
let { id, SVs, children, actions, ignoreUpdate, callAction } = useDoenetRenderer(props);
|
|
13
13
|
const renderedLabel = useRenderedLabel({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { q as jsxRuntimeExports } from "./doenetml-ClwXiJO3.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-D_ZOsiYo.js";
|
|
4
4
|
const br = React__default.memo(function Br(props) {
|
|
5
5
|
let { id, SVs } = useDoenetRenderer(props);
|
|
6
6
|
if (SVs.hidden) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { M as toNumberOrNaN, T as cesc, q as jsxRuntimeExports, P as Button2 } from "./doenetml-
|
|
1
|
+
import { M as toNumberOrNaN, T as cesc, q as jsxRuntimeExports, P as Button2 } from "./doenetml-ClwXiJO3.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 { B as BoardContext } from "./graph-
|
|
6
|
-
import { u as useRenderedLabel } from "./inputLabel-
|
|
3
|
+
import { j as jxg } from "./JSXGraphRenderer-BE3bSw4H.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-D_ZOsiYo.js";
|
|
5
|
+
import { B as BoardContext } from "./graph-BQK8i7d3.js";
|
|
6
|
+
import { u as useRenderedLabel } from "./inputLabel-CVZxmyOZ.js";
|
|
7
7
|
import me from "math-expressions";
|
|
8
8
|
import { e as getPositionFromAnchorByCoordinate, P as POINTER_DRAG_THRESHOLD } from "./graph-N7QcDlVU.js";
|
|
9
9
|
const button = React__default.memo(function ButtonComponent(props) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { q as jsxRuntimeExports } from "./doenetml-ClwXiJO3.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-D_ZOsiYo.js";
|
|
4
|
+
import { r as renderMarkupBody } from "./markupRenderer-C9tjwgIO.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-ClwXiJO3.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-D_ZOsiYo.js";
|
|
4
|
+
import { a as addCommasForCompositeRanges } from "./composites-xwasy1NL.js";
|
|
5
5
|
import { c as cellInlinePadding } from "./tabularCellPadding-BFCU20f_.js";
|
|
6
6
|
const cell = React__default.memo(function Cell(props) {
|
|
7
7
|
let { id, SVs, children } = useDoenetRenderer(props);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { J as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { J as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-ClwXiJO3.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-D_ZOsiYo.js";
|
|
4
|
+
import GraphFrame from "./GraphFrame-BZC_g30g.js";
|
|
5
|
+
import Prefigure from "./prefigure-CpUTHyWB.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,17 +1,17 @@
|
|
|
1
|
-
import { aT as autoUpdate, u as useT, I as useContentT, E as DocContext, q as jsxRuntimeExports, aU as CANVAS_DARK_MODE_COLOR, Y as MathJax } from "./doenetml-
|
|
1
|
+
import { aT as autoUpdate, u as useT, I as useContentT, E as DocContext, q as jsxRuntimeExports, aU as CANVAS_DARK_MODE_COLOR, Y as MathJax } from "./doenetml-ClwXiJO3.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-D_ZOsiYo.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-
|
|
9
|
-
import { u as useRenderedLabel } from "./inputLabel-
|
|
7
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, w as wantsFullCheckWorkButton, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-sZW78Xjk.js";
|
|
8
|
+
import { D as DescriptionPopover } from "./Description-DLObq3bT.js";
|
|
9
|
+
import { u as useRenderedLabel } from "./inputLabel-CVZxmyOZ.js";
|
|
10
10
|
import { a as addValidationStateToShortDescription } from "./validationState-DI_lxk1a.js";
|
|
11
11
|
import { a as getBlockMarginWithOptionalTopSuppression } from "./nonInlineMediaLayout-CkXHaqzo.js";
|
|
12
|
-
import { b as useInMathSlot, c as useMathSlotEditing } from "./mathInputSlots-
|
|
12
|
+
import { b as useInMathSlot, c as useMathSlotEditing } from "./mathInputSlots-slK7qkPq.js";
|
|
13
13
|
import { u as useMathJaxOutOfTabOrder } from "./useMathJaxOutOfTabOrder-C0wsYqBF.js";
|
|
14
|
-
import { N as NoClickTargetContext } from "./ClickTarget-
|
|
14
|
+
import { N as NoClickTargetContext } from "./ClickTarget-vvCrTXcX.js";
|
|
15
15
|
function _typeof(o) {
|
|
16
16
|
"@babel/helpers - typeof";
|
|
17
17
|
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o2) {
|
|
@@ -5146,10 +5146,57 @@ const isMultiValue = (val) => {
|
|
|
5146
5146
|
return Array.isArray(val);
|
|
5147
5147
|
};
|
|
5148
5148
|
const ChoiceInputInlineContext = createContext({ isHidden: false, inOption: false });
|
|
5149
|
+
const MIN_MENU_HEIGHT = 140;
|
|
5150
|
+
const MIN_MENU_HEIGHT_ALT = 139.9;
|
|
5151
|
+
const RecheckMenuPlacementContext = createContext(() => {
|
|
5152
|
+
});
|
|
5153
|
+
function MenuThatRechecksPlacement(props) {
|
|
5154
|
+
const recheckPlacement = useContext(RecheckMenuPlacementContext);
|
|
5155
|
+
const { innerRef, placement } = props;
|
|
5156
|
+
const [menuElement, setMenuElement] = useState(null);
|
|
5157
|
+
const setMenuRef = useCallback(
|
|
5158
|
+
(element) => {
|
|
5159
|
+
setMenuElement(element);
|
|
5160
|
+
if (typeof innerRef === "function") {
|
|
5161
|
+
innerRef(element);
|
|
5162
|
+
} else if (innerRef) {
|
|
5163
|
+
innerRef.current = element;
|
|
5164
|
+
}
|
|
5165
|
+
},
|
|
5166
|
+
[innerRef]
|
|
5167
|
+
);
|
|
5168
|
+
useEffect(() => {
|
|
5169
|
+
if (!menuElement || placement !== "bottom" || typeof ResizeObserver === "undefined") {
|
|
5170
|
+
return;
|
|
5171
|
+
}
|
|
5172
|
+
let lastHeight = menuElement.getBoundingClientRect().height;
|
|
5173
|
+
const observer = new ResizeObserver(() => {
|
|
5174
|
+
const height = menuElement.getBoundingClientRect().height;
|
|
5175
|
+
if (height > lastHeight) {
|
|
5176
|
+
recheckPlacement();
|
|
5177
|
+
}
|
|
5178
|
+
lastHeight = height;
|
|
5179
|
+
});
|
|
5180
|
+
observer.observe(menuElement);
|
|
5181
|
+
return () => observer.disconnect();
|
|
5182
|
+
}, [menuElement, placement, recheckPlacement]);
|
|
5183
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(components.Menu, { ...props, innerRef: setMenuRef });
|
|
5184
|
+
}
|
|
5149
5185
|
const choiceInput = React__default.memo(function ChoiceInput(props) {
|
|
5150
5186
|
let { id, SVs, actions, children, ignoreUpdate, callAction } = useDoenetRenderer(props);
|
|
5151
5187
|
const renderedLabel = useRenderedLabel({ SVs, children });
|
|
5152
5188
|
const t = useT();
|
|
5189
|
+
const [altMinMenuHeight, setAltMinMenuHeight] = useState(false);
|
|
5190
|
+
const menuRecheckPending = useRef(false);
|
|
5191
|
+
const recheckMenuPlacement = useCallback(() => {
|
|
5192
|
+
if (!menuRecheckPending.current) {
|
|
5193
|
+
menuRecheckPending.current = true;
|
|
5194
|
+
setAltMinMenuHeight((alt) => !alt);
|
|
5195
|
+
}
|
|
5196
|
+
}, []);
|
|
5197
|
+
useLayoutEffect(() => {
|
|
5198
|
+
menuRecheckPending.current = false;
|
|
5199
|
+
}, [altMinMenuHeight]);
|
|
5153
5200
|
const tContent = useContentT();
|
|
5154
5201
|
const { darkMode } = useContext(DocContext) || {};
|
|
5155
5202
|
const inMathSlot = useInMathSlot();
|
|
@@ -5275,7 +5322,8 @@ const choiceInput = React__default.memo(function ChoiceInput(props) {
|
|
|
5275
5322
|
}
|
|
5276
5323
|
),
|
|
5277
5324
|
// Add aria-details to the internal input used by react-select.
|
|
5278
|
-
Input: (props2) => /* @__PURE__ */ jsxRuntimeExports.jsx(components.Input, { ...props2, "aria-details": descriptionId })
|
|
5325
|
+
Input: (props2) => /* @__PURE__ */ jsxRuntimeExports.jsx(components.Input, { ...props2, "aria-details": descriptionId }),
|
|
5326
|
+
Menu: MenuThatRechecksPlacement
|
|
5279
5327
|
}),
|
|
5280
5328
|
[descriptionId, t]
|
|
5281
5329
|
);
|
|
@@ -5473,27 +5521,34 @@ const choiceInput = React__default.memo(function ChoiceInput(props) {
|
|
|
5473
5521
|
{
|
|
5474
5522
|
value: { isHidden: false, inOption: false },
|
|
5475
5523
|
children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
5476
|
-
|
|
5524
|
+
RecheckMenuPlacementContext.Provider,
|
|
5477
5525
|
{
|
|
5478
|
-
|
|
5479
|
-
|
|
5480
|
-
|
|
5481
|
-
|
|
5482
|
-
|
|
5483
|
-
|
|
5484
|
-
|
|
5485
|
-
|
|
5486
|
-
|
|
5487
|
-
|
|
5488
|
-
|
|
5489
|
-
|
|
5490
|
-
|
|
5491
|
-
|
|
5492
|
-
|
|
5493
|
-
|
|
5494
|
-
|
|
5495
|
-
|
|
5496
|
-
|
|
5526
|
+
value: recheckMenuPlacement,
|
|
5527
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
5528
|
+
StateManagedSelect$1,
|
|
5529
|
+
{
|
|
5530
|
+
id,
|
|
5531
|
+
inputId: inlineInputId,
|
|
5532
|
+
isMulti: SVs.selectMultiple,
|
|
5533
|
+
styles: customStyles,
|
|
5534
|
+
options: choiceOptions,
|
|
5535
|
+
components: inlineSelectComponents,
|
|
5536
|
+
getOptionLabel: (opt) => opt.label,
|
|
5537
|
+
formatOptionLabel: (opt) => opt.content,
|
|
5538
|
+
menuPortalTarget,
|
|
5539
|
+
menuPlacement: "auto",
|
|
5540
|
+
minMenuHeight: altMinMenuHeight ? MIN_MENU_HEIGHT_ALT : MIN_MENU_HEIGHT,
|
|
5541
|
+
className: inputClasses,
|
|
5542
|
+
onChange: onChangeHandlerInline,
|
|
5543
|
+
value: rendererSelectedIndices.map((ind) => getOptionFromIndex(ind)).filter((opt) => opt !== void 0),
|
|
5544
|
+
placeholder: SVs.placeHolder,
|
|
5545
|
+
isDisabled: disabled,
|
|
5546
|
+
isOptionDisabled: (opt) => !!opt.isDisabled,
|
|
5547
|
+
"aria-labelledby": inlineLabelledByIds || void 0,
|
|
5548
|
+
"aria-label": !inlineLabelledByIds ? shortDescription : void 0,
|
|
5549
|
+
"aria-description": inlineLabelledByIds ? shortDescription : void 0
|
|
5550
|
+
}
|
|
5551
|
+
)
|
|
5497
5552
|
}
|
|
5498
5553
|
)
|
|
5499
5554
|
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { E as DocContext, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { E as DocContext, q as jsxRuntimeExports } from "./doenetml-ClwXiJO3.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 { B as BoardContext, P as POINT_LAYER_OFFSET, L as 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-BE3bSw4H.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-D_ZOsiYo.js";
|
|
5
|
+
import { B as BoardContext, P as POINT_LAYER_OFFSET, L as LINE_LAYER_OFFSET } from "./graph-BQK8i7d3.js";
|
|
6
6
|
import { c as characterizeOffGraphPoint, a as characterizeOffGraphCircleArc } from "./offGraphIndicators-BfjnfwAp.js";
|
|
7
7
|
import { n as normalizePointStyle, a as normalizePointSize, b as adjustPointLabelPosition, g as getEffectiveBoundingBox, c as getGraphCornerWithBuffer, d as calculatePointLabelAnchor } from "./graph-N7QcDlVU.js";
|
|
8
|
-
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-
|
|
8
|
+
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-BBdndXCt.js";
|
|
9
9
|
import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-BZQatkpv.js";
|
|
10
10
|
import { p as pointerEventToUserCoords } from "./dragThreshold-DkT37QqI.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-B5I5AKPl.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 { K as createFunctionFromDefinition, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { K as createFunctionFromDefinition, q as jsxRuntimeExports } from "./doenetml-ClwXiJO3.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 { B as BoardContext, L as LINE_LAYER_OFFSET, V as VERTEX_LAYER_OFFSET } from "./graph-
|
|
3
|
+
import { j as jxg, b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-BE3bSw4H.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-D_ZOsiYo.js";
|
|
5
|
+
import { B as BoardContext, L as LINE_LAYER_OFFSET, V as VERTEX_LAYER_OFFSET } from "./graph-BQK8i7d3.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, ai as EditorViewerLazy } from "./doenetml-
|
|
1
|
+
import { E as DocContext, q as jsxRuntimeExports, ai as EditorViewerLazy } from "./doenetml-ClwXiJO3.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-D_ZOsiYo.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-ClwXiJO3.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-ClwXiJO3.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-D_ZOsiYo.js";
|
|
4
|
+
import { a as addCommasForCompositeRanges } from "./composites-xwasy1NL.js";
|
|
5
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-sZW78Xjk.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-ClwXiJO3.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-D_ZOsiYo.js";
|
|
4
|
+
import { a as addCommasForCompositeRanges } from "./composites-xwasy1NL.js";
|
|
5
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-sZW78Xjk.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, K as createFunctionFromDefinition, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { E as DocContext, K as createFunctionFromDefinition, q as jsxRuntimeExports } from "./doenetml-ClwXiJO3.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 { B as BoardContext, V as VERTEX_LAYER_OFFSET, C as CONTROL_POINT_LAYER_OFFSET, L as 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-BE3bSw4H.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-D_ZOsiYo.js";
|
|
5
|
+
import { B as BoardContext, V as VERTEX_LAYER_OFFSET, C as CONTROL_POINT_LAYER_OFFSET, L as LINE_LAYER_OFFSET } from "./graph-BQK8i7d3.js";
|
|
6
6
|
import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-BZQatkpv.js";
|
|
7
7
|
import { a as resolveLineColor, d as resolveHandleColor } from "./styleColors-BrCvjxze.js";
|
|
8
8
|
import { s as styleToDash } from "./styleToDash-DWb71gbd.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { q as jsxRuntimeExports } from "./doenetml-ClwXiJO3.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-D_ZOsiYo.js";
|
|
4
|
+
import { r as renderMarkupBody } from "./markupRenderer-C9tjwgIO.js";
|
|
5
5
|
/* empty css */
|
|
6
6
|
const _delete = React__default.memo(function Delete(props) {
|
|
7
7
|
const { id, SVs, children } = useDoenetRenderer(props);
|