@doenet/doenetml 0.7.26-dev.571 → 0.7.26-dev.572
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-DlsnDwIt.js → AnswerResponseButton-zNtd5s5y.js} +2 -2
- package/{Description-C05RmhBc.js → Description-D3U29Z4A.js} +1 -1
- package/{DynamicMath-0JWrNNqs.js → DynamicMath-CAf5EOCk.js} +1 -1
- package/{EditorViewer-BDWWotOQ.js → EditorViewer-LMY8FfzB.js} +7 -7
- package/{GraphFrame-DRuIusbl.js → GraphFrame-DgqRdBbk.js} +2 -2
- package/{JSXGraphRenderer-BiY11WVG.js → JSXGraphRenderer-XWKWy4-F.js} +1 -1
- package/{NonInlineMediaWrapper-CrNtlJ3n.js → NonInlineMediaWrapper-Dy4fM_bE.js} +1 -1
- package/{_error-BpZao1cE.js → _error-CFdzrnLM.js} +2 -2
- package/{alert-CUuyh3ox.js → alert-D04sHqdn.js} +3 -3
- package/{angle-DizYaFoA.js → angle-Dspy6vIH.js} +7 -7
- package/{answer-BS1qCC3W.js → answer-zY_vq2ww.js} +6 -6
- package/{asList-0glVXm9h.js → asList-fztVpm8p.js} +2 -2
- package/{blockQuote-BocBHZKU.js → blockQuote-DouLhHPJ.js} +3 -3
- package/{boolean-DCo3ENxS.js → boolean-BnDOi2Nv.js} +2 -2
- package/{booleanInput-BiiTqVBp.js → booleanInput-DX5wsv98.js} +6 -6
- package/{br-CN7BeUzn.js → br-CvGm0QLJ.js} +2 -2
- package/{button-C0zoQjei.js → button-Ve8A_BO9.js} +4 -4
- package/{c-jFLO-KfB.js → c-7Her5tG2.js} +3 -3
- package/{cell-HP_P8OVo.js → cell-B_O6N44M.js} +3 -3
- package/{chart-B4sMKJA2.js → chart-BkSUhnWn.js} +4 -4
- package/{choiceInput-DKyP88Ek.js → choiceInput-2tbCOvtR.js} +5 -5
- package/{circle-BCrW4EMt.js → circle-CqSkdKOx.js} +6 -6
- package/{cobwebPolyline-BLkBWHti.js → cobwebPolyline-LwRomtHy.js} +4 -4
- package/{codeEditor-CfrdzFmg.js → codeEditor-DrjGMeDT.js} +2 -2
- package/codemirror.js +1 -1
- package/{composites-DSVkcpyo.js → composites-DUZoak0_.js} +1 -1
- package/{containerBlock-DWW-3Snc.js → containerBlock-Bw3umU-k.js} +4 -4
- package/{containerInline-CHr-GsZi.js → containerInline-CrNA-Qfl.js} +4 -4
- package/{curve-D0JQu0YP.js → curve-CiPL-CK9.js} +4 -4
- package/{doenetml-ClgPtrr6.js → doenetml-PgMMzEGD.js} +47 -15
- 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-DrRFPX8_.js → ellipsis-iWb00hqe.js} +2 -2
- package/{em-CDlX1Vk0.js → em-DtnLv6kn.js} +3 -3
- package/{embed-Cyq7SNNh.js → embed-DRDms-8_.js} +2 -2
- package/{feedback-BfS1lypO.js → feedback-CHLHF8nV.js} +4 -4
- package/{figure-Ci2Ufr7V.js → figure-DgWzzXfZ.js} +3 -3
- package/{fillPatterns-Df5aTwU4.js → fillPatterns-CUIi3Pe_.js} +1 -1
- package/{footnote-CDsjSiZw.js → footnote-SKiSBzB4.js} +3 -3
- package/{fractionInput-D2ZzTjF2.js → fractionInput-oBJb2mOX.js} +4 -4
- package/{graph-BlfCm7m4.js → graph-x_OnMMb7.js} +6 -6
- package/{hint-D8GozWsH.js → hint-CNpwo6VM.js} +4 -4
- package/{hovercard-store-D75mgP9s.js → hovercard-store-BO9rPaGT.js} +1 -1
- package/{hr-DrNW-IAy.js → hr-DE_DB_hn.js} +2 -2
- package/{image-BMffCYbp.js → image-DC0OAoGr.js} +7 -7
- package/{index-COdWI3C-.js → index-B6QVEKAt.js} +45 -13
- package/{index-D1oIUo8u.js → index-bbPwfcbW.js} +1 -1
- package/{index.es-Bxyz5A2j.js → index.es-BmdS9muB.js} +1 -1
- package/index.js +1 -1
- package/{label-DMgi13xj.js → label-D_4U-4Jo.js} +7 -7
- package/{labelWithLatex-OgyqJA2k.js → labelWithLatex-D69TkcV_.js} +2 -2
- package/{legend-C1QqPUgt.js → legend-D-Zr8vmM.js} +4 -4
- package/{line-CQ-ZNFC0.js → line-DAudJpgx.js} +7 -7
- package/{lineFamilyDragHandlers-CO4b-nwq.js → lineFamilyDragHandlers-L0YYLE39.js} +1 -1
- package/{lineSegment-Dev_1lGH.js → lineSegment-C_QvZlOv.js} +5 -5
- package/{list-BhtzvPxq.js → list-SzfazEfw.js} +4 -4
- package/{lq-CJd78iQB.js → lq-DxbrTrvt.js} +2 -2
- package/{lsq-CJ__fBKU.js → lsq-DY-rs_h1.js} +2 -2
- package/{markupRenderer-BKI6jPSC.js → markupRenderer-Bpj478Hc.js} +1 -1
- package/{math-Dm24DYRg.js → math-8cUGybnW.js} +8 -8
- package/{mathInput-DhIYKafP.js → mathInput-CgwX1oU0.js} +8 -8
- package/{mathInputSlots-CSU0wkNU.js → mathInputSlots-8xl-svdV.js} +1 -1
- package/{matrixInput-_wnKBNDY.js → matrixInput-Bopsk47s.js} +4 -4
- package/{mdash-B98n_Dkp.js → mdash-z9yaPP_9.js} +2 -2
- package/{nbsp-C9wcTzu9.js → nbsp-fNJ3DNiB.js} +2 -2
- package/{ndash-CUCluowr.js → ndash-BuBwHfzQ.js} +2 -2
- package/{number-dtAGRmqo.js → number-B9N-tSB4.js} +7 -7
- package/{orbitalDiagram-B42WIkcg.js → orbitalDiagram-Cks_vZzj.js} +2 -2
- package/{orbitalDiagramInput-CinCD5su.js → orbitalDiagramInput-DXokzywe.js} +2 -2
- package/{p-2BMkdx24.js → p-Deq27mzL.js} +4 -4
- package/package.json +1 -1
- package/{paginatorControls-CVKrOVQ3.js → paginatorControls-CBxZ-3FJ.js} +2 -2
- package/{pegboard-DAhWt0ze.js → pegboard-Cq-dErzM.js} +4 -4
- package/{point-CN2JFQTf.js → point-akq49rQP.js} +7 -7
- package/{polygon-BJ53xVP7.js → polygon-Vwt-D_Sz.js} +6 -6
- package/{polyline-1uXma0kg.js → polyline-DfczwpE5.js} +5 -5
- package/{pre-DjbEcO2X.js → pre-BPLnccKd.js} +3 -3
- package/{prefigure-B7C4_8DK.js → prefigure-BUPO6YQQ.js} +1 -1
- package/{pretzel-DQ7pT99W.js → pretzel-D583IyL6.js} +4 -4
- package/{q-4_qFT_5u.js → q-B8jUrPjs.js} +3 -3
- package/{ray-BIA5SH5K.js → ray-Cke8uONy.js} +5 -5
- package/{ref-D9KceMOA.js → ref-DVEzQ1aY.js} +2 -2
- package/{regionBetweenCurveXAxis-Dn_o0-sH.js → regionBetweenCurveXAxis-CtnRbMtG.js} +5 -5
- package/{regionBetweenCurves-DH88oXno.js → regionBetweenCurves-DUHjpyUo.js} +5 -5
- package/{row-BIc3D1aN.js → row-CfWGCpd5.js} +2 -2
- package/{rq-DZKAXcim.js → rq-BH6frDIO.js} +2 -2
- package/{rsq-cncZplfi.js → rsq-DSYEyY3J.js} +2 -2
- package/{section-U0YGG0kT.js → section-mu7uRgz_.js} +5 -5
- package/{sha256-8sXzDnE0-D1j83WY2.js → sha256-8sXzDnE0-CYk2peHQ.js} +1 -1
- package/{sideBySide-BK8_mN0H.js → sideBySide-D8L6uZUZ.js} +2 -2
- package/{slider-C_izhoyJ.js → slider-BLhelRlD.js} +3 -3
- package/{slopeField-CbBs8skW.js → slopeField-DWt_LmRo.js} +2 -2
- package/{solution-8ISlqOK1.js → solution-BnxIR_yt.js} +4 -4
- package/{spreadsheet-CY6p0PPK.js → spreadsheet-AemP6yw2.js} +2 -2
- package/{sq-r6TLB87K.js → sq-B2HGBuzc.js} +3 -3
- package/{subsetOfRealsInput-Cp5ddB-q.js → subsetOfRealsInput-3KGr03Ey.js} +2 -2
- package/{summaryStatistics-CViVqnNK.js → summaryStatistics-BA9O53rB.js} +2 -2
- package/{table-CNg_aFtV.js → table-BW_Ntu-7.js} +2 -2
- package/{tabular-WldWOJun.js → tabular-1ENo1S0x.js} +2 -2
- package/{tag-BQEEITcL.js → tag-C4vLX-WP.js} +2 -2
- package/{text-2qpTfb1z.js → text-C4edI0qX.js} +6 -6
- package/{textInput-DWVHFrMI.js → textInput-BdSnAFlA.js} +7 -7
- package/{tooltip-provider-D3rXMbIp.js → tooltip-provider-DOnFbVCY.js} +2 -2
- package/{useAnchoredGraphDragHandler-D_o-IlCu.js → useAnchoredGraphDragHandler-CEQh7Cxv.js} +1 -1
- package/useDoenetRenderer-QI4Rm3mD.js +114 -0
- package/{useFieldCurve-BuCcl3hh.js → useFieldCurve-C6vr5pQE.js} +2 -2
- package/{useSubmitActionWithDelay-r1OsiIEG.js → useSubmitActionWithDelay-v-huSZJK.js} +2 -2
- package/{vector-DD5mByv8.js → vector-DtcBe0L3.js} +7 -7
- package/{vectorField-DW8JHQgF.js → vectorField-BbdSrHs6.js} +2 -2
- package/{video-Q38z8BUo.js → video-DLC7oUNN.js} +4 -4
- package/useDoenetRenderer-JI5-cz4o.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-PgMMzEGD.js";
|
|
2
|
+
import { T as TooltipProvider, a as TooltipAnchor, b as Tooltip } from "./tooltip-provider-DOnFbVCY.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-PgMMzEGD.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-PgMMzEGD.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 escape, by as name, bz as quote, bA as nodesToXml, bB as lezerToDast, bC as unified, bD as replaceNode, bE as visit, bF as SKIP, K as Context, bG as BsCodeSlash, bH as BsXOctagon, bI as BsExclamationTriangle, bJ as BsInfoCircle, bK as BsChatSquareTextFill, bL as BsChatSquareText, bM as BsThreeDotsVertical, bN as UiButton, bO as VariantSelect, bP as setVariantIndex, bQ as getAugmentedNamespace, bR as isAccessibilityRecord, bS as nanoid, t as useUiLocale, bT as useLocaleCatalogs, bU as useChromeTranslator, w as useDiagnosticFormatter, o as doenetGlobalConfig, bV as DocViewer, bW as setVariantsFromCallback, bX as I18nProvider, bY as ResizablePanelPair, bZ as nanInfinityReviver, b_ as isSaveShortcutKeydown, Z as hasNavigationModifier, b$ 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 escape, by as name, bz as quote, bA as nodesToXml, bB as lezerToDast, bC as unified, bD as replaceNode, bE as visit, bF as SKIP, K as Context, bG as BsCodeSlash, bH as BsXOctagon, bI as BsExclamationTriangle, bJ as BsInfoCircle, bK as BsChatSquareTextFill, bL as BsChatSquareText, bM as BsThreeDotsVertical, bN as UiButton, bO as VariantSelect, bP as setVariantIndex, bQ as getAugmentedNamespace, bR as isAccessibilityRecord, bS as nanoid, t as useUiLocale, bT as useLocaleCatalogs, bU as useChromeTranslator, w as useDiagnosticFormatter, o as doenetGlobalConfig, bV as DocViewer, bW as setVariantsFromCallback, bX as I18nProvider, bY as ResizablePanelPair, bZ as nanInfinityReviver, b_ as isSaveShortcutKeydown, Z as hasNavigationModifier, b$ as ResizableCollapsiblePanelPair } from "./doenetml-PgMMzEGD.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
|
-
import { i as isMathDefaultValue, a as isComponentSizeValue, f as formatComponentSize, d as doenetSchema, k as keymap, C as CodeMirror, E as EditorView } from "./index-
|
|
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-
|
|
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-B6QVEKAt.js";
|
|
5
|
+
import { D as DynamicMath } from "./DynamicMath-CAf5EOCk.js";
|
|
6
|
+
import { H as HovercardScopedContextProvider, a as HovercardContextProvider, u as useHovercard, b as useHovercardAnchor, c as createHovercardStore, d as useHovercardStoreProps } from "./hovercard-store-BO9rPaGT.js";
|
|
7
7
|
const ctx = createStoreContext([CompositeContextProvider], [CompositeScopedContextProvider]);
|
|
8
8
|
const useTabScopedContext = ctx.useScopedContext;
|
|
9
9
|
const useTabProviderContext = ctx.useProviderContext;
|
|
@@ -11001,12 +11001,12 @@ function EditorFooter({
|
|
|
11001
11001
|
className: "doenetml-version",
|
|
11002
11002
|
title: t(
|
|
11003
11003
|
"editor-version-title",
|
|
11004
|
-
{ version: "0.7.26-dev.
|
|
11005
|
-
`DoenetML version ${"0.7.26-dev.
|
|
11004
|
+
{ version: "0.7.26-dev.572" },
|
|
11005
|
+
`DoenetML version ${"0.7.26-dev.572"}`
|
|
11006
11006
|
),
|
|
11007
11007
|
children: [
|
|
11008
11008
|
"v",
|
|
11009
|
-
"0.7.26-dev.
|
|
11009
|
+
"0.7.26-dev.572"
|
|
11010
11010
|
]
|
|
11011
11011
|
}
|
|
11012
11012
|
),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { q as jsxRuntimeExports } from "./doenetml-PgMMzEGD.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-D3U29Z4A.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-PgMMzEGD.js";
|
|
2
2
|
import { useRef, useEffect, useState } from "react";
|
|
3
3
|
import { u as useMathJaxOutOfTabOrder } from "./useMathJaxOutOfTabOrder-C0wsYqBF.js";
|
|
4
4
|
var jxg = {};
|
|
@@ -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-PgMMzEGD.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-QI4Rm3mD.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-PgMMzEGD.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-QI4Rm3mD.js";
|
|
4
|
+
import { a as addCommasForCompositeRanges } from "./composites-DUZoak0_.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-PgMMzEGD.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-XWKWy4-F.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-QI4Rm3mD.js";
|
|
5
|
+
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-x_OnMMb7.js";
|
|
6
|
+
import { D as DynamicMath } from "./DynamicMath-CAf5EOCk.js";
|
|
7
|
+
import { ChoiceInputInlineContext } from "./choiceInput-2tbCOvtR.js";
|
|
8
|
+
import { g as getPatternFillAttributes } from "./fillPatterns-CUIi3Pe_.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-PgMMzEGD.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-QI4Rm3mD.js";
|
|
4
|
+
import { A as AnswerResponseButton } from "./AnswerResponseButton-zNtd5s5y.js";
|
|
5
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent, w as wantsFullCheckWorkButton } from "./useSubmitActionWithDelay-v-huSZJK.js";
|
|
6
|
+
import { D as DynamicMath } from "./DynamicMath-CAf5EOCk.js";
|
|
7
|
+
import { D as DescriptionPopover } from "./Description-D3U29Z4A.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-PgMMzEGD.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-QI4Rm3mD.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-PgMMzEGD.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-QI4Rm3mD.js";
|
|
4
|
+
import { r as renderMarkupBody } from "./markupRenderer-Bpj478Hc.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-PgMMzEGD.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-QI4Rm3mD.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-PgMMzEGD.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-XWKWy4-F.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-QI4Rm3mD.js";
|
|
5
|
+
import { BoardContext } from "./graph-x_OnMMb7.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-v-huSZJK.js";
|
|
8
|
+
import { D as DescriptionPopover } from "./Description-D3U29Z4A.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-PgMMzEGD.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-QI4Rm3mD.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-PgMMzEGD.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-XWKWy4-F.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-QI4Rm3mD.js";
|
|
5
|
+
import { BoardContext } from "./graph-x_OnMMb7.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-PgMMzEGD.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-QI4Rm3mD.js";
|
|
4
|
+
import { r as renderMarkupBody } from "./markupRenderer-Bpj478Hc.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-PgMMzEGD.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-QI4Rm3mD.js";
|
|
4
|
+
import { a as addCommasForCompositeRanges } from "./composites-DUZoak0_.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-PgMMzEGD.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-QI4Rm3mD.js";
|
|
4
|
+
import GraphFrame from "./GraphFrame-DgqRdBbk.js";
|
|
5
|
+
import Prefigure from "./prefigure-BUPO6YQQ.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-PgMMzEGD.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-QI4Rm3mD.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-v-huSZJK.js";
|
|
8
|
+
import { D as DescriptionPopover } from "./Description-D3U29Z4A.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-8xl-svdV.js";
|
|
12
12
|
import { u as useMathJaxOutOfTabOrder } from "./useMathJaxOutOfTabOrder-C0wsYqBF.js";
|
|
13
13
|
function _typeof(o) {
|
|
14
14
|
"@babel/helpers - typeof";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { E as DocContext, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { E as DocContext, q as jsxRuntimeExports } from "./doenetml-PgMMzEGD.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-XWKWy4-F.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-QI4Rm3mD.js";
|
|
5
|
+
import { BoardContext, POINT_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-x_OnMMb7.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-L0YYLE39.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-CUIi3Pe_.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-PgMMzEGD.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-XWKWy4-F.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-QI4Rm3mD.js";
|
|
5
|
+
import { BoardContext, LINE_LAYER_OFFSET, VERTEX_LAYER_OFFSET } from "./graph-x_OnMMb7.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-PgMMzEGD.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-QI4Rm3mD.js";
|
|
4
4
|
import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
|
|
5
5
|
function resolveElements(elementOrSelector, scope, selectorCache) {
|
|
6
6
|
if (elementOrSelector == null) {
|
package/codemirror.js
CHANGED
|
@@ -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-PgMMzEGD.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-PgMMzEGD.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-QI4Rm3mD.js";
|
|
4
|
+
import { a as addCommasForCompositeRanges } from "./composites-DUZoak0_.js";
|
|
5
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-v-huSZJK.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-PgMMzEGD.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-QI4Rm3mD.js";
|
|
4
|
+
import { a as addCommasForCompositeRanges } from "./composites-DUZoak0_.js";
|
|
5
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-v-huSZJK.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-PgMMzEGD.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-XWKWy4-F.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-QI4Rm3mD.js";
|
|
5
|
+
import { BoardContext, VERTEX_LAYER_OFFSET, CONTROL_POINT_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-x_OnMMb7.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";
|
|
@@ -33375,7 +33375,7 @@ async function cidFromArrayBuffer(data) {
|
|
|
33375
33375
|
await crypto.subtle.digest("SHA-256", new Uint8Array());
|
|
33376
33376
|
digest = (data2) => crypto.subtle.digest("SHA-256", data2);
|
|
33377
33377
|
} catch (e2) {
|
|
33378
|
-
const sha256 = (await import("./sha256-8sXzDnE0-
|
|
33378
|
+
const sha256 = (await import("./sha256-8sXzDnE0-CYk2peHQ.js").then((n2) => n2.s)).default;
|
|
33379
33379
|
digest = (data2) => sha256(data2, {
|
|
33380
33380
|
asBytes: true
|
|
33381
33381
|
});
|
|
@@ -41930,16 +41930,16 @@ function findNodesWithPositionInfo(nodes) {
|
|
|
41930
41930
|
}
|
|
41931
41931
|
return ret;
|
|
41932
41932
|
}
|
|
41933
|
-
function macroToString(node) {
|
|
41933
|
+
function macroToString(node, forceParens = false) {
|
|
41934
41934
|
if (Array.isArray(node)) {
|
|
41935
|
-
return node
|
|
41935
|
+
return arrayToString(node);
|
|
41936
41936
|
}
|
|
41937
41937
|
switch (node.type) {
|
|
41938
41938
|
case "macro": {
|
|
41939
41939
|
const macro = unwrappedMacroToString$1(node);
|
|
41940
41940
|
let start = "$";
|
|
41941
41941
|
let end = "";
|
|
41942
|
-
if (macroNeedsParens$1(node)) {
|
|
41942
|
+
if (macroNeedsParens$1(node) || forceParens) {
|
|
41943
41943
|
start += "(";
|
|
41944
41944
|
end += ")";
|
|
41945
41945
|
}
|
|
@@ -41949,11 +41949,11 @@ function macroToString(node) {
|
|
|
41949
41949
|
const macro = unwrappedMacroToString$1(node.macro);
|
|
41950
41950
|
let start = "$$";
|
|
41951
41951
|
let end = "";
|
|
41952
|
-
if (macroNeedsParens$1(node)) {
|
|
41952
|
+
if (macroNeedsParens$1(node) || forceParens) {
|
|
41953
41953
|
start += "(";
|
|
41954
41954
|
end += ")";
|
|
41955
41955
|
}
|
|
41956
|
-
const args = node.input ? `(${node.input.map(macroToString).join(", ")})` : "";
|
|
41956
|
+
const args = node.input ? `(${node.input.map((arg) => macroToString(arg)).join(", ")})` : "";
|
|
41957
41957
|
return start + macro + end + args;
|
|
41958
41958
|
}
|
|
41959
41959
|
case "text":
|
|
@@ -41979,12 +41979,29 @@ function macroPathToString$1(path) {
|
|
|
41979
41979
|
function macroPathPartToString$1(pathPart) {
|
|
41980
41980
|
return pathPart.name + pathPart.index.map((part) => `[${macroToString(part.value)}]`).join("");
|
|
41981
41981
|
}
|
|
41982
|
+
function arrayToString(nodes) {
|
|
41983
|
+
const parts = nodes.map((n2) => macroToString(n2));
|
|
41984
|
+
let nextChar = "";
|
|
41985
|
+
for (let i2 = parts.length - 1; i2 >= 0; i2--) {
|
|
41986
|
+
const child = nodes[i2];
|
|
41987
|
+
if ((child.type === "macro" || child.type === "function") && isNameChar$1(nextChar) && isNameChar$1(parts[i2].slice(-1))) {
|
|
41988
|
+
parts[i2] = macroToString(child, true);
|
|
41989
|
+
}
|
|
41990
|
+
if (parts[i2]) {
|
|
41991
|
+
nextChar = parts[i2][0];
|
|
41992
|
+
}
|
|
41993
|
+
}
|
|
41994
|
+
return parts.join("");
|
|
41995
|
+
}
|
|
41996
|
+
function isNameChar$1(char) {
|
|
41997
|
+
return /^[a-zA-Z0-9_]$/.test(char);
|
|
41998
|
+
}
|
|
41982
41999
|
function attrToString$1(attr) {
|
|
41983
42000
|
const name2 = attr.name;
|
|
41984
42001
|
if (attr.children.length === 0) {
|
|
41985
42002
|
return name2;
|
|
41986
42003
|
}
|
|
41987
|
-
const value = attr.children
|
|
42004
|
+
const value = arrayToString(attr.children);
|
|
41988
42005
|
return `${name2}=${quote(value)}`;
|
|
41989
42006
|
}
|
|
41990
42007
|
function macroNeedsParens$1(macro) {
|
|
@@ -42004,10 +42021,22 @@ function toXml(tree, options) {
|
|
|
42004
42021
|
const node = Array.isArray(tree) ? { type: "root", children: tree } : tree;
|
|
42005
42022
|
return nodesToXml(node, options);
|
|
42006
42023
|
}
|
|
42007
|
-
function nodesToXml(node, options) {
|
|
42024
|
+
function nodesToXml(node, options, forceParens = false) {
|
|
42008
42025
|
if (Array.isArray(node)) {
|
|
42009
42026
|
if (!node.some((n2) => n2.type === "pathPart")) {
|
|
42010
|
-
|
|
42027
|
+
const children = mergeAdjacentTextInArray(node);
|
|
42028
|
+
const parts = children.map((child) => nodesToXml(child, options));
|
|
42029
|
+
let nextChar = "";
|
|
42030
|
+
for (let i2 = parts.length - 1; i2 >= 0; i2--) {
|
|
42031
|
+
const child = children[i2];
|
|
42032
|
+
if ((child.type === "macro" || child.type === "function") && isNameChar(nextChar) && isNameChar(parts[i2].slice(-1))) {
|
|
42033
|
+
parts[i2] = nodesToXml(child, options, true);
|
|
42034
|
+
}
|
|
42035
|
+
if (parts[i2]) {
|
|
42036
|
+
nextChar = parts[i2][0];
|
|
42037
|
+
}
|
|
42038
|
+
}
|
|
42039
|
+
return parts.join("");
|
|
42011
42040
|
} else {
|
|
42012
42041
|
return node.map((part) => nodesToXml(part, options)).join(".");
|
|
42013
42042
|
}
|
|
@@ -42092,12 +42121,12 @@ function nodesToXml(node, options) {
|
|
|
42092
42121
|
}
|
|
42093
42122
|
case "macro": {
|
|
42094
42123
|
if (node.version === "0.6") {
|
|
42095
|
-
return macroToString(node);
|
|
42124
|
+
return macroToString(node, forceParens);
|
|
42096
42125
|
}
|
|
42097
42126
|
const macro = unwrappedMacroToString(node, options);
|
|
42098
42127
|
let start = "$";
|
|
42099
42128
|
let end = "";
|
|
42100
|
-
if (macroNeedsParens(node)) {
|
|
42129
|
+
if (macroNeedsParens(node) || forceParens) {
|
|
42101
42130
|
start += "(";
|
|
42102
42131
|
end += ")";
|
|
42103
42132
|
}
|
|
@@ -42105,12 +42134,12 @@ function nodesToXml(node, options) {
|
|
|
42105
42134
|
}
|
|
42106
42135
|
case "function": {
|
|
42107
42136
|
if (node.version === "0.6") {
|
|
42108
|
-
return macroToString(node);
|
|
42137
|
+
return macroToString(node, forceParens);
|
|
42109
42138
|
}
|
|
42110
42139
|
const macro = unwrappedMacroToString(node, options);
|
|
42111
42140
|
let start = "$$";
|
|
42112
42141
|
let end = "";
|
|
42113
|
-
if (macroNeedsParens(node)) {
|
|
42142
|
+
if (macroNeedsParens(node) || forceParens) {
|
|
42114
42143
|
start += "(";
|
|
42115
42144
|
end += ")";
|
|
42116
42145
|
}
|
|
@@ -42163,6 +42192,9 @@ function attrToString(attr, options) {
|
|
|
42163
42192
|
function macroNeedsParens(macro) {
|
|
42164
42193
|
return macro.path.some((part) => part.name.includes("-"));
|
|
42165
42194
|
}
|
|
42195
|
+
function isNameChar(char) {
|
|
42196
|
+
return /^[a-zA-Z0-9_]$/.test(char);
|
|
42197
|
+
}
|
|
42166
42198
|
const StartTag = 1, StartCloseTag = 2, MissingCloseTag = 3, mismatchedStartCloseTag = 4, incompleteStartCloseTag = 5, commentContent$1 = 36, piContent$1 = 37, cdataContent$1 = 38, Text = 7, Element$1 = 12, EndTag = 13, OpenTag = 14, TagName$u = 15, Attribute = 16, AttributeValue = 19, CloseTag = 20, SelfCloseEndTag = 21, SelfClosingTag = 22, MismatchedCloseTag = 25;
|
|
42167
42199
|
const DefaultBufferLength = 1024;
|
|
42168
42200
|
let nextPropID = 0;
|
|
@@ -56332,7 +56364,7 @@ function DocViewer({
|
|
|
56332
56364
|
for (const rendererClassName of coreInfo.current.rendererTypesInDocument) {
|
|
56333
56365
|
rendererClassNames.push(rendererClassName);
|
|
56334
56366
|
rendererLoaders.push(
|
|
56335
|
-
() => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "./renderers/GraphFrame.tsx": () => import("./GraphFrame-
|
|
56367
|
+
() => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "./renderers/GraphFrame.tsx": () => import("./GraphFrame-DgqRdBbk.js"), "./renderers/JSXGraphRenderer.tsx": () => import("./JSXGraphRenderer-XWKWy4-F.js").then((n2) => n2.m), "./renderers/_error.tsx": () => import("./_error-CFdzrnLM.js"), "./renderers/alert.tsx": () => import("./alert-D04sHqdn.js"), "./renderers/angle.tsx": () => import("./angle-Dspy6vIH.js"), "./renderers/answer.tsx": () => import("./answer-zY_vq2ww.js"), "./renderers/asList.tsx": () => import("./asList-fztVpm8p.js"), "./renderers/blockQuote.tsx": () => import("./blockQuote-DouLhHPJ.js"), "./renderers/boolean.tsx": () => import("./boolean-BnDOi2Nv.js"), "./renderers/booleanInput.tsx": () => import("./booleanInput-DX5wsv98.js"), "./renderers/br.tsx": () => import("./br-CvGm0QLJ.js"), "./renderers/button.tsx": () => import("./button-Ve8A_BO9.js"), "./renderers/c.tsx": () => import("./c-7Her5tG2.js"), "./renderers/cell.tsx": () => import("./cell-B_O6N44M.js"), "./renderers/chart.tsx": () => import("./chart-BkSUhnWn.js"), "./renderers/choiceInput.tsx": () => import("./choiceInput-2tbCOvtR.js"), "./renderers/circle.tsx": () => import("./circle-CqSkdKOx.js"), "./renderers/cobwebPolyline.tsx": () => import("./cobwebPolyline-LwRomtHy.js"), "./renderers/codeEditor.tsx": () => import("./codeEditor-DrjGMeDT.js"), "./renderers/containerBlock.tsx": () => import("./containerBlock-Bw3umU-k.js"), "./renderers/containerInline.tsx": () => import("./containerInline-CrNA-Qfl.js"), "./renderers/curve.tsx": () => import("./curve-CiPL-CK9.js"), "./renderers/ellipsis.tsx": () => import("./ellipsis-iWb00hqe.js"), "./renderers/em.tsx": () => import("./em-DtnLv6kn.js"), "./renderers/embed.tsx": () => import("./embed-DRDms-8_.js"), "./renderers/feedback.tsx": () => import("./feedback-CHLHF8nV.js"), "./renderers/figure.tsx": () => import("./figure-DgWzzXfZ.js"), "./renderers/footnote.tsx": () => import("./footnote-SKiSBzB4.js"), "./renderers/fractionInput.tsx": () => import("./fractionInput-oBJb2mOX.js"), "./renderers/graph.tsx": () => import("./graph-x_OnMMb7.js"), "./renderers/hint.tsx": () => import("./hint-CNpwo6VM.js"), "./renderers/hr.tsx": () => import("./hr-DE_DB_hn.js"), "./renderers/image.tsx": () => import("./image-DC0OAoGr.js"), "./renderers/label.tsx": () => import("./label-D_4U-4Jo.js"), "./renderers/legend.tsx": () => import("./legend-D-Zr8vmM.js"), "./renderers/line.tsx": () => import("./line-DAudJpgx.js"), "./renderers/lineSegment.tsx": () => import("./lineSegment-C_QvZlOv.js"), "./renderers/list.tsx": () => import("./list-SzfazEfw.js"), "./renderers/lq.tsx": () => import("./lq-DxbrTrvt.js"), "./renderers/lsq.tsx": () => import("./lsq-DY-rs_h1.js"), "./renderers/math.tsx": () => import("./math-8cUGybnW.js"), "./renderers/mathInput.tsx": () => import("./mathInput-CgwX1oU0.js"), "./renderers/matrixInput.tsx": () => import("./matrixInput-Bopsk47s.js"), "./renderers/mdash.tsx": () => import("./mdash-z9yaPP_9.js"), "./renderers/nbsp.tsx": () => import("./nbsp-fNJ3DNiB.js"), "./renderers/ndash.tsx": () => import("./ndash-BuBwHfzQ.js"), "./renderers/number.tsx": () => import("./number-B9N-tSB4.js"), "./renderers/orbitalDiagram.tsx": () => import("./orbitalDiagram-Cks_vZzj.js"), "./renderers/orbitalDiagramInput.tsx": () => import("./orbitalDiagramInput-DXokzywe.js"), "./renderers/p.tsx": () => import("./p-Deq27mzL.js"), "./renderers/paginatorControls.tsx": () => import("./paginatorControls-CBxZ-3FJ.js"), "./renderers/pegboard.tsx": () => import("./pegboard-Cq-dErzM.js"), "./renderers/point.tsx": () => import("./point-akq49rQP.js"), "./renderers/polygon.tsx": () => import("./polygon-Vwt-D_Sz.js"), "./renderers/polyline.tsx": () => import("./polyline-DfczwpE5.js"), "./renderers/pre.tsx": () => import("./pre-BPLnccKd.js"), "./renderers/prefigure.tsx": () => import("./prefigure-BUPO6YQQ.js"), "./renderers/pretzel.tsx": () => import("./pretzel-D583IyL6.js"), "./renderers/q.tsx": () => import("./q-B8jUrPjs.js"), "./renderers/ray.tsx": () => import("./ray-Cke8uONy.js"), "./renderers/ref.tsx": () => import("./ref-DVEzQ1aY.js"), "./renderers/regionBetweenCurveXAxis.tsx": () => import("./regionBetweenCurveXAxis-CtnRbMtG.js"), "./renderers/regionBetweenCurves.tsx": () => import("./regionBetweenCurves-DUHjpyUo.js"), "./renderers/row.tsx": () => import("./row-CfWGCpd5.js"), "./renderers/rq.tsx": () => import("./rq-BH6frDIO.js"), "./renderers/rsq.tsx": () => import("./rsq-DSYEyY3J.js"), "./renderers/section.tsx": () => import("./section-mu7uRgz_.js"), "./renderers/sideBySide.tsx": () => import("./sideBySide-D8L6uZUZ.js"), "./renderers/slider.tsx": () => import("./slider-BLhelRlD.js"), "./renderers/slopeField.tsx": () => import("./slopeField-DWt_LmRo.js"), "./renderers/solution.tsx": () => import("./solution-BnxIR_yt.js"), "./renderers/spreadsheet.tsx": () => import("./spreadsheet-AemP6yw2.js"), "./renderers/sq.tsx": () => import("./sq-B2HGBuzc.js"), "./renderers/subsetOfRealsInput.tsx": () => import("./subsetOfRealsInput-3KGr03Ey.js"), "./renderers/summaryStatistics.tsx": () => import("./summaryStatistics-BA9O53rB.js"), "./renderers/table.tsx": () => import("./table-BW_Ntu-7.js"), "./renderers/tabular.tsx": () => import("./tabular-1ENo1S0x.js"), "./renderers/tag.tsx": () => import("./tag-C4vLX-WP.js"), "./renderers/text.tsx": () => import("./text-C4edI0qX.js"), "./renderers/textInput.tsx": () => import("./textInput-BdSnAFlA.js"), "./renderers/vector.tsx": () => import("./vector-DtcBe0L3.js"), "./renderers/vectorField.tsx": () => import("./vectorField-BbdSrHs6.js"), "./renderers/video.tsx": () => import("./video-DLC7oUNN.js") }), `./renderers/${rendererClassName}.tsx`, 3)
|
|
56336
56368
|
);
|
|
56337
56369
|
}
|
|
56338
56370
|
const documentComponentInstructions = coreInfo.current.documentToRender;
|
|
@@ -120201,7 +120233,7 @@ function ExternalAwareVirtualKeyboard({
|
|
|
120201
120233
|
}
|
|
120202
120234
|
const LazyInner = React__default.lazy(async () => {
|
|
120203
120235
|
const module = await importRendererWithRetry(
|
|
120204
|
-
() => import("./EditorViewer-
|
|
120236
|
+
() => import("./EditorViewer-LMY8FfzB.js"),
|
|
120205
120237
|
"EditorViewer"
|
|
120206
120238
|
);
|
|
120207
120239
|
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-PgMMzEGD.js";
|
|
2
|
+
import { D, a, c, b, d, f, g, e, h, i, m, j, r, s, k, l } from "./doenetml-PgMMzEGD.js";
|
|
3
3
|
const workerPath = "./doenetml-worker/index.js";
|
|
4
4
|
function resolveWorkerUrl() {
|
|
5
5
|
try {
|