@doenet/doenetml 0.7.28 → 0.7.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{AnswerResponseButton-BhV-fH0f.js → AnswerResponseButton-5TmbZd7d.js} +2 -2
- package/{Description-B3WntRi0.js → Description-Bwh1ddsL.js} +1 -1
- package/{DynamicMath-C5szNUNB.js → DynamicMath-JfkONiS3.js} +1 -1
- package/{EditorViewer-B2aXI6nR.js → EditorViewer-CdphUA5N.js} +6 -6
- package/{GraphFrame-BtykRfYE.js → GraphFrame-B3v71UGh.js} +2 -2
- package/{JSXGraphRenderer-CXQTf2Og.js → JSXGraphRenderer-ol9yW3zC.js} +1 -1
- package/{NonInlineMediaWrapper-CAgt05UB.js → NonInlineMediaWrapper-DWliwtbX.js} +1 -1
- package/Viewer/renderers/choiceInput.d.ts.map +1 -1
- package/{_error-F7uUPeAr.js → _error-D39DZJ5z.js} +2 -2
- package/{alert-DdcwjfH3.js → alert-BYylv8TH.js} +3 -3
- package/{angle-vcsvcksN.js → angle-C_4jhlEj.js} +7 -7
- package/{answer-DlUVwqYk.js → answer-C7b27qNN.js} +6 -6
- package/{asList-Cf9fd2aP.js → asList-Dlzt8eM4.js} +2 -2
- package/{blockQuote-Cu0DspP7.js → blockQuote-CG4Got3o.js} +3 -3
- package/{boolean-uAULjT3p.js → boolean-D-9CqFgJ.js} +2 -2
- package/{booleanInput-CEEhKJvt.js → booleanInput-Cb4FcdC7.js} +6 -6
- package/{br-HRKg7Ie4.js → br-uUDTVde6.js} +2 -2
- package/{button-D4cgMCgE.js → button-BXBCkLN6.js} +4 -4
- package/{c-DYHo3Ug0.js → c-BIN1p-q5.js} +3 -3
- package/{cell-BBBhfLEa.js → cell-C6b4N8WY.js} +3 -3
- package/{chart-_d_pFWkN.js → chart-Bad1vbl5.js} +4 -4
- package/{choiceInput-D8XoroYo.js → choiceInput-CiPmndKK.js} +81 -26
- package/{circle-DMWP5PVJ.js → circle-iNnYmJbZ.js} +6 -6
- package/{cobwebPolyline-KsiLYUwt.js → cobwebPolyline-CUcfz9WT.js} +4 -4
- package/{codeEditor-DotcRYEg.js → codeEditor-C9lN32yo.js} +2 -2
- package/{composites-BLiLfHzq.js → composites-y-QErhdu.js} +1 -1
- package/{containerBlock-CcygST-m.js → containerBlock-BUk-D9qQ.js} +4 -4
- package/{containerInline-CQ24xJAc.js → containerInline-DgegussH.js} +4 -4
- package/{curve-BZUU1pxK.js → curve-DJzGwEZ0.js} +4 -4
- package/{doenetml-BBdC5nDq.js → doenetml-DniRyXf-.js} +3 -3
- package/doenetml-external-worker.js +2 -2
- package/doenetml-inline-worker.js +4 -4
- package/doenetml-worker/index.esm.js +1 -1
- package/doenetml-worker/index.js +1 -1
- package/doenetml-worker/lib_doenetml_worker_bg.wasm +0 -0
- package/{ellipsis-BQXu0AAI.js → ellipsis-PN7ngj7W.js} +2 -2
- package/{em-C40KG-3z.js → em-CNG_iK55.js} +3 -3
- package/{embed-BJr1GMwg.js → embed-CWpeIjuo.js} +2 -2
- package/{feedback-BMsUlQe0.js → feedback-dBBsU2hM.js} +4 -4
- package/{figure-Bp0y1pMc.js → figure-CK0Xq5kb.js} +3 -3
- package/{fillPatterns-eo66TX5S.js → fillPatterns-BHzhY-Du.js} +1 -1
- package/{footnote-A9EOMZmI.js → footnote-B4dfh99B.js} +3 -3
- package/{fractionInput-C_xY5GuJ.js → fractionInput-CEHZYDhK.js} +4 -4
- package/{graph-DZy3b5_V.js → graph-B6sbYCWq.js} +6 -6
- package/{hint-DYR_8dZI.js → hint-B0kL7jAI.js} +4 -4
- package/{hovercard-store-DlTzI4OX.js → hovercard-store-o287QVQm.js} +1 -1
- package/{hr-CMi5iaaC.js → hr-C0qaqPqo.js} +2 -2
- package/{image-BPCtrSRJ.js → image--uHTiApM.js} +7 -7
- package/{index-DTxWFUza.js → index-CVNV-HQs.js} +1 -1
- package/{index.es-8gpABX0x.js → index.es-umP8GwPR.js} +1 -1
- package/index.js +1 -1
- package/{label-DXcjGXe3.js → label-BSv-gF4o.js} +7 -7
- package/{labelWithLatex-DVjlrIhb.js → labelWithLatex-COLLE6eZ.js} +2 -2
- package/{legend-DqcoieLZ.js → legend-C7vDBwmq.js} +4 -4
- package/{line-B0qvaiLu.js → line-Brcc-CY6.js} +7 -7
- package/{lineFamilyDragHandlers-B4Dq55i-.js → lineFamilyDragHandlers-B5KcJnym.js} +1 -1
- package/{lineSegment-D021fRyO.js → lineSegment-C9aAy33M.js} +5 -5
- package/{list-BMGsodT4.js → list-GFsHmmCF.js} +4 -4
- package/{lq-C0nE6hdc.js → lq-CzHReOcD.js} +2 -2
- package/{lsq-Dzw1Y7Py.js → lsq--HNpXZBU.js} +2 -2
- package/{markupRenderer-B5rMHTYk.js → markupRenderer-Byil5VV6.js} +1 -1
- package/{math-D2Wh4WwC.js → math-DOUW0K2g.js} +8 -8
- package/{mathInput-B1s60n8d.js → mathInput-C8O8rBbr.js} +8 -8
- package/{mathInputSlots-DdtupGxI.js → mathInputSlots-DsRG1Uuu.js} +1 -1
- package/{matrixInput-Cdk_xWjc.js → matrixInput-FWIkxBbp.js} +4 -4
- package/{mdash-Ds8nKk0B.js → mdash-ChIJ3dQB.js} +2 -2
- package/{nbsp-2q2bf8S6.js → nbsp-OyT3nzjV.js} +2 -2
- package/{ndash-BBubruiq.js → ndash-d5pwuB9Y.js} +2 -2
- package/{number-Ddb1pE5J.js → number-D3qOIb51.js} +7 -7
- package/{orbitalDiagram-B3SBBkgY.js → orbitalDiagram-CDTD8KFd.js} +2 -2
- package/{orbitalDiagramInput-DihBoUEV.js → orbitalDiagramInput-D7vtQwXv.js} +2 -2
- package/{p-s7SLLSm2.js → p-CGnrUUp6.js} +4 -4
- package/package.json +1 -1
- package/{paginatorControls-DpvSadO2.js → paginatorControls-CVXxrvva.js} +2 -2
- package/{pegboard-I1K5UGJn.js → pegboard-Gp1mwVe_.js} +4 -4
- package/{point-BQTv3wMK.js → point-C0aNSn-i.js} +7 -7
- package/{polygon-BC8ctVEl.js → polygon-CZlBz0Ie.js} +6 -6
- package/{polyline-D2gpd7Oq.js → polyline-DlooE8zP.js} +5 -5
- package/{pre-CrJYYMQo.js → pre-DxDtrGME.js} +3 -3
- package/{prefigure-CslXm89f.js → prefigure-Bnap2gVW.js} +1 -1
- package/{pretzel-D3gvUOyD.js → pretzel-CmVIlfFT.js} +4 -4
- package/{q-BAawm9xW.js → q-nZyE7NwW.js} +3 -3
- package/{ray-BaHiyOUa.js → ray-DtpF790l.js} +5 -5
- package/{ref-GUgcjhfU.js → ref-D69dwNoF.js} +2 -2
- package/{regionBetweenCurveXAxis-i3bOTzjd.js → regionBetweenCurveXAxis-D7l7jYRM.js} +5 -5
- package/{regionBetweenCurves-DYE1Vbnc.js → regionBetweenCurves-CveBlyt7.js} +5 -5
- package/{row-CBxwjwyT.js → row-Ct3DC53R.js} +2 -2
- package/{rq-D6dugJGJ.js → rq-_VjcWBZ5.js} +2 -2
- package/{rsq-CalTiWfM.js → rsq-Blw7E8_1.js} +2 -2
- package/{section-BIWlmh5W.js → section-CWznnm7l.js} +5 -5
- package/{sha256-8sXzDnE0-Cr48C36V.js → sha256-8sXzDnE0-CBfjP5sv.js} +1 -1
- package/{sideBySide-B633NR5Y.js → sideBySide-P-YmSoy0.js} +2 -2
- package/{slider-Bx5Oqnqn.js → slider-CMvMSH4g.js} +3 -3
- package/{slopeField-B8aDymjD.js → slopeField-CHNhckOI.js} +2 -2
- package/{solution-kGIfYtgM.js → solution-DTsJTRhp.js} +4 -4
- package/{spreadsheet-CxQbb_QO.js → spreadsheet-CXGYsx5G.js} +2 -2
- package/{sq-BBncZvOg.js → sq-B2lzNWa4.js} +3 -3
- package/style.css +5 -0
- package/{subsetOfRealsInput-BshJ4zsS.js → subsetOfRealsInput-Dx6ZhpTn.js} +2 -2
- package/{summaryStatistics-Be0JqPsp.js → summaryStatistics-Bz2G-3Kb.js} +2 -2
- package/{table-DASPy9FW.js → table-BgjTP2Le.js} +2 -2
- package/{tabular-BrxL-3Wz.js → tabular-Blmdy1BA.js} +2 -2
- package/{tag-B6k31w7B.js → tag-CEbnb-fS.js} +2 -2
- package/{text-CMVHChn2.js → text-B2udsWdP.js} +6 -6
- package/{textInput-DFxuPFsZ.js → textInput-BZKFL2BV.js} +7 -7
- package/{tooltip-provider-DEDN8FXl.js → tooltip-provider-t6Hy5a1b.js} +2 -2
- package/{useAnchoredGraphDragHandler-DrzIP4BN.js → useAnchoredGraphDragHandler-BFuYmBrP.js} +1 -1
- package/useDoenetRenderer-BhmRwE0u.js +114 -0
- package/{useFieldCurve-ImmDLKXk.js → useFieldCurve-9Kzohky2.js} +2 -2
- package/{useSubmitActionWithDelay-DKaHznN9.js → useSubmitActionWithDelay-CM0JOqF-.js} +2 -2
- package/{vector-kClHMBkU.js → vector-Dx8Tig9b.js} +7 -7
- package/{vectorField-DlGuHWNR.js → vectorField-BMk-f7FD.js} +2 -2
- package/{video-Ch3BGVbQ.js → video-CASoy4Xd.js} +4 -4
- package/useDoenetRenderer-C1ESpwv3.js +0 -114
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { q as jsxRuntimeExports } from "./doenetml-DniRyXf-.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BhmRwE0u.js";
|
|
4
4
|
const ellipsis = React__default.memo(function Ellipsis(props) {
|
|
5
5
|
let { id, SVs } = useDoenetRenderer(props);
|
|
6
6
|
if (SVs.hidden) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { q as jsxRuntimeExports } from "./doenetml-DniRyXf-.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
4
|
-
import { r as renderMarkupBody } from "./markupRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BhmRwE0u.js";
|
|
4
|
+
import { r as renderMarkupBody } from "./markupRenderer-Byil5VV6.js";
|
|
5
5
|
const em = React__default.memo(function Em(props) {
|
|
6
6
|
const { id, SVs, children } = useDoenetRenderer(props);
|
|
7
7
|
const body = renderMarkupBody({ SVs, children });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { J as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { J as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-DniRyXf-.js";
|
|
2
2
|
import React__default, { useRef, useEffect } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BhmRwE0u.js";
|
|
4
4
|
import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
|
|
5
5
|
const embed = React__default.memo(function Embed(props) {
|
|
6
6
|
let { id, SVs, actions, callAction } = useDoenetRenderer(props);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { u as useT, v as useChromeLangDir, J as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useT, v as useChromeLangDir, J as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-DniRyXf-.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
4
|
-
import { F as FontAwesomeIcon } from "./index.es-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BhmRwE0u.js";
|
|
4
|
+
import { F as FontAwesomeIcon } from "./index.es-umP8GwPR.js";
|
|
5
5
|
import { f as faComment } from "./index-CwWLcRpc.js";
|
|
6
|
-
import { a as addCommasForCompositeRanges } from "./composites-
|
|
6
|
+
import { a as addCommasForCompositeRanges } from "./composites-y-QErhdu.js";
|
|
7
7
|
const feedback = React__default.memo(function Feedback(props) {
|
|
8
8
|
let { id, SVs, children, actions, callAction } = useDoenetRenderer(props);
|
|
9
9
|
const t = useT();
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { J as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { J as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-DniRyXf-.js";
|
|
2
2
|
import React__default, { createElement, Component, useRef, useState } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BhmRwE0u.js";
|
|
4
4
|
import { _ as _setPrototypeOf, a as _objectWithoutPropertiesLoose, b as _extends } from "./setPrototypeOf-C-47lAIH.js";
|
|
5
|
-
import { P as PropTypes } from "./index-
|
|
5
|
+
import { P as PropTypes } from "./index-CVNV-HQs.js";
|
|
6
6
|
import { a as getBlockMarginWithOptionalTopSuppression } from "./nonInlineMediaLayout-CkXHaqzo.js";
|
|
7
7
|
function _inheritsLoose(t, o) {
|
|
8
8
|
t.prototype = Object.create(o.prototype), t.prototype.constructor = t, _setPrototypeOf(t, o);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { H as encodeFillPatternColorToken } from "./doenetml-
|
|
1
|
+
import { H as encodeFillPatternColorToken } from "./doenetml-DniRyXf-.js";
|
|
2
2
|
const warnedUnsupportedFillStyles = /* @__PURE__ */ new Set();
|
|
3
3
|
function warnUnsupportedFillStyle(fillStyle) {
|
|
4
4
|
if (warnedUnsupportedFillStyles.has(fillStyle)) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { u as useT, q as jsxRuntimeExports, O as Button } from "./doenetml-
|
|
1
|
+
import { u as useT, q as jsxRuntimeExports, O as Button } from "./doenetml-DniRyXf-.js";
|
|
2
2
|
import React__default, { useState } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
4
|
-
import { T as TooltipProvider, a as TooltipAnchor, b as Tooltip } from "./tooltip-provider-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BhmRwE0u.js";
|
|
4
|
+
import { T as TooltipProvider, a as TooltipAnchor, b as Tooltip } from "./tooltip-provider-t6Hy5a1b.js";
|
|
5
5
|
const footnote = React__default.memo(function Footnote(props) {
|
|
6
6
|
let { id, SVs } = useDoenetRenderer(props, false);
|
|
7
7
|
let [isVisible, setIsVisible] = useState(false);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { I as useContentT, q as jsxRuntimeExports, X as MathJax } from "./doenetml-
|
|
1
|
+
import { I as useContentT, q as jsxRuntimeExports, X as MathJax } from "./doenetml-DniRyXf-.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BhmRwE0u.js";
|
|
4
4
|
/* empty css */
|
|
5
|
-
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-
|
|
5
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-CM0JOqF-.js";
|
|
6
6
|
import { a as addValidationStateToShortDescription } from "./validationState-DI_lxk1a.js";
|
|
7
|
-
import { D as DescriptionPopover } from "./Description-
|
|
7
|
+
import { D as DescriptionPopover } from "./Description-Bwh1ddsL.js";
|
|
8
8
|
const fractionInput = React__default.memo(function FractionInput(props) {
|
|
9
9
|
let { id, SVs, actions, children, callAction } = useDoenetRenderer(props);
|
|
10
10
|
const tContent = useContentT();
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { q as jsxRuntimeExports, aQ as roundForDisplay, K as Context, J as useRecordVisibilityChanges } from "./doenetml-
|
|
1
|
+
import { q as jsxRuntimeExports, aQ as roundForDisplay, K as Context, J as useRecordVisibilityChanges } from "./doenetml-DniRyXf-.js";
|
|
2
2
|
import React__default, { useState, useRef, useEffect, useMemo, createContext } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
4
|
-
import Prefigure from "./prefigure-
|
|
5
|
-
import { a as accessibleLabelText, r as renderLabelWithLatex } from "./labelWithLatex-
|
|
6
|
-
import GraphFrame from "./GraphFrame-
|
|
7
|
-
import { J as JSXGraphRenderer } from "./JSXGraphRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BhmRwE0u.js";
|
|
4
|
+
import Prefigure from "./prefigure-Bnap2gVW.js";
|
|
5
|
+
import { a as accessibleLabelText, r as renderLabelWithLatex } from "./labelWithLatex-COLLE6eZ.js";
|
|
6
|
+
import GraphFrame from "./GraphFrame-B3v71UGh.js";
|
|
7
|
+
import { J as JSXGraphRenderer } from "./JSXGraphRenderer-ol9yW3zC.js";
|
|
8
8
|
const GRAPH_CONTROL_CARD_STYLE = {
|
|
9
9
|
width: "100%",
|
|
10
10
|
boxSizing: "border-box",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { u as useT, J as useRecordVisibilityChanges, v as useChromeLangDir, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useT, J as useRecordVisibilityChanges, v as useChromeLangDir, q as jsxRuntimeExports } from "./doenetml-DniRyXf-.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
4
|
-
import { F as FontAwesomeIcon } from "./index.es-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BhmRwE0u.js";
|
|
4
|
+
import { F as FontAwesomeIcon } from "./index.es-umP8GwPR.js";
|
|
5
5
|
import { b as faLightbulb } from "./index-BDlitCgu.js";
|
|
6
6
|
import { a as faLightbulb$1 } from "./index-CwWLcRpc.js";
|
|
7
|
-
import { a as addCommasForCompositeRanges } from "./composites-
|
|
7
|
+
import { a as addCommasForCompositeRanges } from "./composites-y-QErhdu.js";
|
|
8
8
|
import { c as clickToToggleLabel } from "./disclosure-axyZa36E.js";
|
|
9
9
|
const hint = React__default.memo(function Hint(props) {
|
|
10
10
|
let { id, SVs, children, actions, callAction } = useDoenetRenderer(props);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ai as createStoreContext, au as PopoverScopedContextProvider, av as PopoverContextProvider, a3 as createHook, a5 as invariant, aw as usePortalRef, ax as useIsMouseMoving, ay as useBooleanEvent, a6 as useStoreState, ao as chain, az as addGlobalEventListener, aA as useLiveRef, ab as useSafeLayoutEffect, ak as useWrapElement, q as jsxRuntimeExports, a9 as useMergeRefs, aB as usePopover, al as isFalsyBooleanCallback, ap as useEvent, an as sync, aC as hasFocusWithin, aj as createDialogComponent, a1 as forwardRef, a2 as createElement, aD as disabledFromProps, aE as useFocusable, aF as createPopoverStore, ar as defaultValue, aq as createStore, at as useStoreProps, aG as usePopoverStoreProps } from "./doenetml-
|
|
1
|
+
import { ai as createStoreContext, au as PopoverScopedContextProvider, av as PopoverContextProvider, a3 as createHook, a5 as invariant, aw as usePortalRef, ax as useIsMouseMoving, ay as useBooleanEvent, a6 as useStoreState, ao as chain, az as addGlobalEventListener, aA as useLiveRef, ab as useSafeLayoutEffect, ak as useWrapElement, q as jsxRuntimeExports, a9 as useMergeRefs, aB as usePopover, al as isFalsyBooleanCallback, ap as useEvent, an as sync, aC as hasFocusWithin, aj as createDialogComponent, a1 as forwardRef, a2 as createElement, aD as disabledFromProps, aE as useFocusable, aF as createPopoverStore, ar as defaultValue, aq as createStore, at as useStoreProps, aG as usePopoverStoreProps } from "./doenetml-DniRyXf-.js";
|
|
2
2
|
import { useRef, useCallback, useEffect, useContext, createContext, useState } from "react";
|
|
3
3
|
const ctx = createStoreContext([PopoverContextProvider], [PopoverScopedContextProvider]);
|
|
4
4
|
const useHovercardProviderContext = ctx.useProviderContext;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { q as jsxRuntimeExports } from "./doenetml-DniRyXf-.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BhmRwE0u.js";
|
|
4
4
|
const hr = React__default.memo(function Hr(props) {
|
|
5
5
|
let { id, SVs } = useDoenetRenderer(props);
|
|
6
6
|
if (SVs.hidden) {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { E as DocContext, J as useRecordVisibilityChanges, K as Context, q as jsxRuntimeExports, g as getMediaLicenseDisplay } from "./doenetml-
|
|
1
|
+
import { E as DocContext, J as useRecordVisibilityChanges, K as Context, q as jsxRuntimeExports, g as getMediaLicenseDisplay } from "./doenetml-DniRyXf-.js";
|
|
2
2
|
import React__default, { useContext, useRef, useMemo } from "react";
|
|
3
|
-
import { j as jxg } from "./JSXGraphRenderer-
|
|
4
|
-
import { BoardContext, IMAGE_LAYER_OFFSET } from "./graph-
|
|
5
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { j as jxg } from "./JSXGraphRenderer-ol9yW3zC.js";
|
|
4
|
+
import { BoardContext, IMAGE_LAYER_OFFSET } from "./graph-B6sbYCWq.js";
|
|
5
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BhmRwE0u.js";
|
|
6
6
|
import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
|
|
7
|
-
import { D as DescriptionPopover, a as DescriptionAsDetails } from "./Description-
|
|
7
|
+
import { D as DescriptionPopover, a as DescriptionAsDetails } from "./Description-Bwh1ddsL.js";
|
|
8
8
|
import { g as getNonInlineMediaLayoutStyles } from "./nonInlineMediaLayout-CkXHaqzo.js";
|
|
9
|
-
import { N as NonInlineMediaWrapper } from "./NonInlineMediaWrapper-
|
|
9
|
+
import { N as NonInlineMediaWrapper } from "./NonInlineMediaWrapper-DWliwtbX.js";
|
|
10
10
|
import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-DV6a8Wvg.js";
|
|
11
11
|
import { u as useDraggableRefs } from "./useDraggableRefs-QaTfkVuD.js";
|
|
12
|
-
import { d as detachAnchoredGraphElement, a as attachAnchoredGraphDragHandlers } from "./useAnchoredGraphDragHandler-
|
|
12
|
+
import { d as detachAnchoredGraphElement, a as attachAnchoredGraphDragHandlers } from "./useAnchoredGraphDragHandler-BFuYmBrP.js";
|
|
13
13
|
import { u as useJSXGraphCleanup } from "./useJSXGraphCleanup-BNk4sn6x.js";
|
|
14
14
|
const image = React__default.memo(function Image(props) {
|
|
15
15
|
let { componentIdx, id, SVs, children, actions, callAction } = useDoenetRenderer(props, false);
|
package/index.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { E as DocContext, K as Context, q as jsxRuntimeExports, F as textRendererStyle } from "./doenetml-
|
|
1
|
+
import { E as DocContext, K as Context, q as jsxRuntimeExports, F as textRendererStyle } from "./doenetml-DniRyXf-.js";
|
|
2
2
|
import React__default, { useRef, useContext } from "react";
|
|
3
|
-
import { j as jxg, c as computeLabelMaskCssStyle } from "./JSXGraphRenderer-
|
|
4
|
-
import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-
|
|
5
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
6
|
-
import { D as DynamicMath } from "./DynamicMath-
|
|
3
|
+
import { j as jxg, c as computeLabelMaskCssStyle } from "./JSXGraphRenderer-ol9yW3zC.js";
|
|
4
|
+
import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-B6sbYCWq.js";
|
|
5
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BhmRwE0u.js";
|
|
6
|
+
import { D as DynamicMath } from "./DynamicMath-JfkONiS3.js";
|
|
7
7
|
import { g as getPositionFromAnchorByCoordinate } from "./graph-W6vrFcBu.js";
|
|
8
|
-
import { ChoiceInputInlineContext } from "./choiceInput-
|
|
8
|
+
import { ChoiceInputInlineContext } from "./choiceInput-CiPmndKK.js";
|
|
9
9
|
import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-DV6a8Wvg.js";
|
|
10
10
|
import { u as useDraggableRefs } from "./useDraggableRefs-QaTfkVuD.js";
|
|
11
|
-
import { d as detachAnchoredGraphElement, a as attachAnchoredGraphDragHandlers } from "./useAnchoredGraphDragHandler-
|
|
11
|
+
import { d as detachAnchoredGraphElement, a as attachAnchoredGraphDragHandlers } from "./useAnchoredGraphDragHandler-BFuYmBrP.js";
|
|
12
12
|
import { u as useJSXGraphCleanup } from "./useJSXGraphCleanup-BNk4sn6x.js";
|
|
13
13
|
import { e as resolveTextColor, f as resolveBackgroundColor } from "./styleColors-BrCvjxze.js";
|
|
14
14
|
const label = React__default.memo(function Label(props) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { q as jsxRuntimeExports } from "./doenetml-
|
|
2
|
-
import { D as DynamicMath } from "./DynamicMath-
|
|
1
|
+
import { q as jsxRuntimeExports } from "./doenetml-DniRyXf-.js";
|
|
2
|
+
import { D as DynamicMath } from "./DynamicMath-JfkONiS3.js";
|
|
3
3
|
function renderLabelWithLatex({
|
|
4
4
|
label,
|
|
5
5
|
labelHasLatex
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { E as DocContext, P as deepCompare, q as jsxRuntimeExports, G as loadMathJax } from "./doenetml-
|
|
1
|
+
import { E as DocContext, P as deepCompare, q as jsxRuntimeExports, G as loadMathJax } from "./doenetml-DniRyXf-.js";
|
|
2
2
|
import React__default, { useContext, useRef, useEffect } from "react";
|
|
3
|
-
import { j as jxg } from "./JSXGraphRenderer-
|
|
4
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
5
|
-
import { BoardContext, BASE_LAYER_OFFSET, LINE_LAYER_OFFSET, POINT_LAYER_OFFSET, TEXT_LAYER_OFFSET } from "./graph-
|
|
3
|
+
import { j as jxg } from "./JSXGraphRenderer-ol9yW3zC.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BhmRwE0u.js";
|
|
5
|
+
import { BoardContext, BASE_LAYER_OFFSET, LINE_LAYER_OFFSET, POINT_LAYER_OFFSET, TEXT_LAYER_OFFSET } from "./graph-B6sbYCWq.js";
|
|
6
6
|
import { s as styleToDash } from "./styleToDash-DWb71gbd.js";
|
|
7
7
|
import { f as resolveBackgroundColor, b as resolveCanvasColor, e as resolveTextColor, g as resolvePanelBorderColor, c as resolveMarkerColor, a as resolveLineColor, r as resolveFillColor } from "./styleColors-BrCvjxze.js";
|
|
8
8
|
const ORIGIN = [0, 0];
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { E as DocContext, q as jsxRuntimeExports, F as textRendererStyle } from "./doenetml-
|
|
1
|
+
import { E as DocContext, q as jsxRuntimeExports, F as textRendererStyle } from "./doenetml-DniRyXf-.js";
|
|
2
2
|
import React__default, { useContext, useRef } from "react";
|
|
3
|
-
import { j as jxg, h as syncLineFamilyVisibility, s as syncLayer, e as syncLineStrokeStyle, a as syncWithLabelToggle, f as syncLabelStrokeColor, b as syncLabelMaskCssStyle, i as applyLineFamilyLabelPlacement, k as buildLineFamilyLabelAttributes, d as attachLabelHoverHighlight, c as computeLabelMaskCssStyle, l as stabilizeInitialLineFamilyLabelPlacement, r as removeJXGEventHandlers } from "./JSXGraphRenderer-
|
|
4
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
5
|
-
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-
|
|
6
|
-
import { D as DynamicMath } from "./DynamicMath-
|
|
7
|
-
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-
|
|
8
|
-
import { ChoiceInputInlineContext } from "./choiceInput-
|
|
3
|
+
import { j as jxg, h as syncLineFamilyVisibility, s as syncLayer, e as syncLineStrokeStyle, a as syncWithLabelToggle, f as syncLabelStrokeColor, b as syncLabelMaskCssStyle, i as applyLineFamilyLabelPlacement, k as buildLineFamilyLabelAttributes, d as attachLabelHoverHighlight, c as computeLabelMaskCssStyle, l as stabilizeInitialLineFamilyLabelPlacement, r as removeJXGEventHandlers } from "./JSXGraphRenderer-ol9yW3zC.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BhmRwE0u.js";
|
|
5
|
+
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-B6sbYCWq.js";
|
|
6
|
+
import { D as DynamicMath } from "./DynamicMath-JfkONiS3.js";
|
|
7
|
+
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-B5KcJnym.js";
|
|
8
|
+
import { ChoiceInputInlineContext } from "./choiceInput-CiPmndKK.js";
|
|
9
9
|
import { a as buildLineLikeAttributes } from "./buildGraphicalAttributes-B_soifR-.js";
|
|
10
10
|
import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-DV6a8Wvg.js";
|
|
11
11
|
import { p as pointerEventToUserCoords } from "./dragThreshold-DuSSFrIU.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useContext } from "react";
|
|
2
|
-
import { E as DocContext, Z as hasNavigationModifier } from "./doenetml-
|
|
2
|
+
import { E as DocContext, Z as hasNavigationModifier } from "./doenetml-DniRyXf-.js";
|
|
3
3
|
import { e as exceededDragThreshold } from "./dragThreshold-DuSSFrIU.js";
|
|
4
4
|
function useSourceNavigation(domId) {
|
|
5
5
|
const { reportGraphElementUp } = useContext(DocContext);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { E as DocContext, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { E as DocContext, q as jsxRuntimeExports } from "./doenetml-DniRyXf-.js";
|
|
2
2
|
import React__default, { useContext, useRef } from "react";
|
|
3
|
-
import { j as jxg, h as syncLineFamilyVisibility, s as syncLayer, g as syncVisPropValues, e as syncLineStrokeStyle, a as syncWithLabelToggle, f as syncLabelStrokeColor, b as syncLabelMaskCssStyle, i as applyLineFamilyLabelPlacement, k as buildLineFamilyLabelAttributes, d as attachLabelHoverHighlight, c as computeLabelMaskCssStyle, l as stabilizeInitialLineFamilyLabelPlacement, r as removeJXGEventHandlers } from "./JSXGraphRenderer-
|
|
4
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
5
|
-
import { BoardContext, VERTEX_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-
|
|
6
|
-
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-
|
|
3
|
+
import { j as jxg, h as syncLineFamilyVisibility, s as syncLayer, g as syncVisPropValues, e as syncLineStrokeStyle, a as syncWithLabelToggle, f as syncLabelStrokeColor, b as syncLabelMaskCssStyle, i as applyLineFamilyLabelPlacement, k as buildLineFamilyLabelAttributes, d as attachLabelHoverHighlight, c as computeLabelMaskCssStyle, l as stabilizeInitialLineFamilyLabelPlacement, r as removeJXGEventHandlers } from "./JSXGraphRenderer-ol9yW3zC.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BhmRwE0u.js";
|
|
5
|
+
import { BoardContext, VERTEX_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-B6sbYCWq.js";
|
|
6
|
+
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-B5KcJnym.js";
|
|
7
7
|
import { a as buildLineLikeAttributes, c as buildDragHandleAttributes } from "./buildGraphicalAttributes-B_soifR-.js";
|
|
8
8
|
import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-DV6a8Wvg.js";
|
|
9
9
|
import { p as pointerEventToUserCoords } from "./dragThreshold-DuSSFrIU.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { I as useContentT, J as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { I as useContentT, J as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-DniRyXf-.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
4
|
-
import { a as addCommasForCompositeRanges } from "./composites-
|
|
5
|
-
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BhmRwE0u.js";
|
|
4
|
+
import { a as addCommasForCompositeRanges } from "./composites-y-QErhdu.js";
|
|
5
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-CM0JOqF-.js";
|
|
6
6
|
const list = React__default.memo(function List(props) {
|
|
7
7
|
let { id, SVs, children, actions, callAction } = useDoenetRenderer(props);
|
|
8
8
|
const tContent = useContentT();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { q as jsxRuntimeExports } from "./doenetml-DniRyXf-.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BhmRwE0u.js";
|
|
4
4
|
const lq = React__default.memo(function Lq(props) {
|
|
5
5
|
let { SVs } = useDoenetRenderer(props, false);
|
|
6
6
|
if (SVs.hidden) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { q as jsxRuntimeExports } from "./doenetml-DniRyXf-.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BhmRwE0u.js";
|
|
4
4
|
const lsq = React__default.memo(function Lsq(props) {
|
|
5
5
|
let { SVs } = useDoenetRenderer(props, false);
|
|
6
6
|
if (SVs.hidden) {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { E as DocContext, K as Context, q as jsxRuntimeExports, F as textRendererStyle, I as useContentT } from "./doenetml-
|
|
1
|
+
import { E as DocContext, K as Context, q as jsxRuntimeExports, F as textRendererStyle, I as useContentT } from "./doenetml-DniRyXf-.js";
|
|
2
2
|
import React__default, { useRef, useContext, useCallback, useEffect } from "react";
|
|
3
|
-
import { j as jxg } from "./JSXGraphRenderer-
|
|
4
|
-
import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-
|
|
5
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
6
|
-
import { D as DynamicMath } from "./DynamicMath-
|
|
3
|
+
import { j as jxg } from "./JSXGraphRenderer-ol9yW3zC.js";
|
|
4
|
+
import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-B6sbYCWq.js";
|
|
5
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BhmRwE0u.js";
|
|
6
|
+
import { D as DynamicMath } from "./DynamicMath-JfkONiS3.js";
|
|
7
7
|
import { g as getPositionFromAnchorByCoordinate } from "./graph-W6vrFcBu.js";
|
|
8
|
-
import { ChoiceInputInlineContext } from "./choiceInput-
|
|
8
|
+
import { ChoiceInputInlineContext } from "./choiceInput-CiPmndKK.js";
|
|
9
9
|
import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-DV6a8Wvg.js";
|
|
10
10
|
import { u as useDraggableRefs } from "./useDraggableRefs-QaTfkVuD.js";
|
|
11
|
-
import { d as detachAnchoredGraphElement, a as attachAnchoredGraphDragHandlers } from "./useAnchoredGraphDragHandler-
|
|
11
|
+
import { d as detachAnchoredGraphElement, a as attachAnchoredGraphDragHandlers } from "./useAnchoredGraphDragHandler-BFuYmBrP.js";
|
|
12
12
|
import { u as useJSXGraphCleanup } from "./useJSXGraphCleanup-BNk4sn6x.js";
|
|
13
13
|
import { e as resolveTextColor, f as resolveBackgroundColor } from "./styleColors-BrCvjxze.js";
|
|
14
|
-
import { M as MathSlot, u as useMathSlots, a as MathSlotProvider } from "./mathInputSlots-
|
|
14
|
+
import { M as MathSlot, u as useMathSlots, a as MathSlotProvider } from "./mathInputSlots-DsRG1Uuu.js";
|
|
15
15
|
function getMathDelimiters(SVs) {
|
|
16
16
|
if (SVs.renderMode === "inline") {
|
|
17
17
|
return ["\\(", "\\)"];
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { q as jsxRuntimeExports, I as useContentT, x as useAppSelector, aH as keyboardSlice, aI as FocusedMathInputContext, aJ as LegacyKeyboardTrayContext, aK as isInVirtualKeyboardTray, K as Context, aL as PopoverAnchor, X as MathJax, aM as subscribeToPrimaryPointerType, aN as hasCoarsePrimaryPointer, ad as usePopoverStore, a6 as useStoreState, u as useT, v as useChromeLangDir, ag as Popover, aO as getVirtualKeyboardTrayElement } from "./doenetml-
|
|
1
|
+
import { q as jsxRuntimeExports, I as useContentT, x as useAppSelector, aH as keyboardSlice, aI as FocusedMathInputContext, aJ as LegacyKeyboardTrayContext, aK as isInVirtualKeyboardTray, K as Context, aL as PopoverAnchor, X as MathJax, aM as subscribeToPrimaryPointerType, aN as hasCoarsePrimaryPointer, ad as usePopoverStore, a6 as useStoreState, u as useT, v as useChromeLangDir, ag as Popover, aO as getVirtualKeyboardTrayElement } from "./doenetml-DniRyXf-.js";
|
|
2
2
|
import React__default, { useRef, useEffect, useContext, useState, useMemo } from "react";
|
|
3
3
|
import { createPortal } from "react-dom";
|
|
4
|
-
import { j as jxg } from "./JSXGraphRenderer-
|
|
5
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
6
|
-
import { P as PropTypes } from "./index-
|
|
7
|
-
import { D as DescriptionPopover, P as PopoverArrow } from "./Description-
|
|
4
|
+
import { j as jxg } from "./JSXGraphRenderer-ol9yW3zC.js";
|
|
5
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BhmRwE0u.js";
|
|
6
|
+
import { P as PropTypes } from "./index-CVNV-HQs.js";
|
|
7
|
+
import { D as DescriptionPopover, P as PopoverArrow } from "./Description-Bwh1ddsL.js";
|
|
8
8
|
/* empty css */
|
|
9
|
-
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-
|
|
9
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-CM0JOqF-.js";
|
|
10
10
|
import { a as addValidationStateToShortDescription } from "./validationState-DI_lxk1a.js";
|
|
11
|
-
import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-
|
|
11
|
+
import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-B6sbYCWq.js";
|
|
12
12
|
import { g as getPositionFromAnchorByCoordinate, P as POINTER_DRAG_THRESHOLD } from "./graph-W6vrFcBu.js";
|
|
13
|
-
import { b as useInMathSlot, c as useMathSlotEditing } from "./mathInputSlots-
|
|
13
|
+
import { b as useInMathSlot, c as useMathSlotEditing } from "./mathInputSlots-DsRG1Uuu.js";
|
|
14
14
|
import { u as useMathJaxOutOfTabOrder } from "./useMathJaxOutOfTabOrder-C0wsYqBF.js";
|
|
15
15
|
const DEFAULT_MATH_INPUT_FUNCTION_NAMES = [
|
|
16
16
|
"arg",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { q as jsxRuntimeExports, W as MATH_INPUT_SLOT_PATTERN } from "./doenetml-
|
|
1
|
+
import { q as jsxRuntimeExports, W as MATH_INPUT_SLOT_PATTERN } from "./doenetml-DniRyXf-.js";
|
|
2
2
|
import { useContext, createContext, useRef, useState, useCallback, useLayoutEffect, useMemo } from "react";
|
|
3
3
|
import { flushSync } from "react-dom";
|
|
4
4
|
function sameBox(a, b) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { u as useT, I as useContentT, q as jsxRuntimeExports, U as ActionButtonGroup, V as ActionButton, X as MathJax } from "./doenetml-
|
|
1
|
+
import { u as useT, I as useContentT, q as jsxRuntimeExports, U as ActionButtonGroup, V as ActionButton, X as MathJax } from "./doenetml-DniRyXf-.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BhmRwE0u.js";
|
|
4
4
|
/* empty css */
|
|
5
|
-
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-
|
|
6
|
-
import { D as DescriptionPopover } from "./Description-
|
|
5
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-CM0JOqF-.js";
|
|
6
|
+
import { D as DescriptionPopover } from "./Description-Bwh1ddsL.js";
|
|
7
7
|
const matrixInput = React__default.memo(function MatrixInput(props) {
|
|
8
8
|
let { id, SVs, actions, children, callAction } = useDoenetRenderer(props);
|
|
9
9
|
const t = useT();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { q as jsxRuntimeExports } from "./doenetml-DniRyXf-.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BhmRwE0u.js";
|
|
4
4
|
const mdash = React__default.memo(function Mdash(props) {
|
|
5
5
|
let { SVs } = useDoenetRenderer(props, false);
|
|
6
6
|
if (SVs.hidden) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { q as jsxRuntimeExports } from "./doenetml-DniRyXf-.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BhmRwE0u.js";
|
|
4
4
|
const nbsp = React__default.memo(function Nbsp(props) {
|
|
5
5
|
let { SVs } = useDoenetRenderer(props, false);
|
|
6
6
|
if (SVs.hidden) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { q as jsxRuntimeExports } from "./doenetml-DniRyXf-.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BhmRwE0u.js";
|
|
4
4
|
const ndash = React__default.memo(function Ndash(props) {
|
|
5
5
|
let { SVs } = useDoenetRenderer(props);
|
|
6
6
|
if (SVs.hidden) {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { E as DocContext, K as Context, q as jsxRuntimeExports, F as textRendererStyle } from "./doenetml-
|
|
2
|
-
import { D as DynamicMath } from "./DynamicMath-
|
|
1
|
+
import { E as DocContext, K as Context, q as jsxRuntimeExports, F as textRendererStyle } from "./doenetml-DniRyXf-.js";
|
|
2
|
+
import { D as DynamicMath } from "./DynamicMath-JfkONiS3.js";
|
|
3
3
|
import React__default, { useRef, useContext } from "react";
|
|
4
|
-
import { j as jxg } from "./JSXGraphRenderer-
|
|
5
|
-
import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-
|
|
6
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
4
|
+
import { j as jxg } from "./JSXGraphRenderer-ol9yW3zC.js";
|
|
5
|
+
import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-B6sbYCWq.js";
|
|
6
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BhmRwE0u.js";
|
|
7
7
|
import { g as getPositionFromAnchorByCoordinate } from "./graph-W6vrFcBu.js";
|
|
8
|
-
import { ChoiceInputInlineContext } from "./choiceInput-
|
|
8
|
+
import { ChoiceInputInlineContext } from "./choiceInput-CiPmndKK.js";
|
|
9
9
|
import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-DV6a8Wvg.js";
|
|
10
10
|
import { u as useDraggableRefs } from "./useDraggableRefs-QaTfkVuD.js";
|
|
11
|
-
import { d as detachAnchoredGraphElement, a as attachAnchoredGraphDragHandlers } from "./useAnchoredGraphDragHandler-
|
|
11
|
+
import { d as detachAnchoredGraphElement, a as attachAnchoredGraphDragHandlers } from "./useAnchoredGraphDragHandler-BFuYmBrP.js";
|
|
12
12
|
import { u as useJSXGraphCleanup } from "./useJSXGraphCleanup-BNk4sn6x.js";
|
|
13
13
|
import { e as resolveTextColor, f as resolveBackgroundColor } from "./styleColors-BrCvjxze.js";
|
|
14
14
|
const number = React__default.memo(function NumberComponent(props) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { J as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { J as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-DniRyXf-.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BhmRwE0u.js";
|
|
4
4
|
import { l as ltrIslandProps } from "./direction-BwrU7jHk.js";
|
|
5
5
|
const ORBITAL_ARROW_STYLE = {
|
|
6
6
|
fill: "none",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { u as useT, J as useRecordVisibilityChanges, q as jsxRuntimeExports, M as Button2 } from "./doenetml-
|
|
1
|
+
import { u as useT, J as useRecordVisibilityChanges, q as jsxRuntimeExports, M as Button2 } from "./doenetml-DniRyXf-.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BhmRwE0u.js";
|
|
4
4
|
import { l as ltrIslandProps } from "./direction-BwrU7jHk.js";
|
|
5
5
|
const ORBITAL_ARROW_STYLE = {
|
|
6
6
|
fill: "none",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { I as useContentT, J as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { I as useContentT, J as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-DniRyXf-.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
4
|
-
import { a as addCommasForCompositeRanges } from "./composites-
|
|
5
|
-
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BhmRwE0u.js";
|
|
4
|
+
import { a as addCommasForCompositeRanges } from "./composites-y-QErhdu.js";
|
|
5
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-CM0JOqF-.js";
|
|
6
6
|
const p = React__default.memo(function P(props) {
|
|
7
7
|
let { id, SVs, children, actions, callAction } = useDoenetRenderer(props);
|
|
8
8
|
const tContent = useContentT();
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@doenet/doenetml",
|
|
3
3
|
"type": "module",
|
|
4
4
|
"description": "Semantic markup for building interactive web activities",
|
|
5
|
-
"version": "0.7.
|
|
5
|
+
"version": "0.7.29",
|
|
6
6
|
"license": "AGPL-3.0-or-later",
|
|
7
7
|
"homepage": "https://github.com/Doenet/DoenetML#readme",
|
|
8
8
|
"repository": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { q as jsxRuntimeExports, M as Button2 } from "./doenetml-
|
|
1
|
+
import { q as jsxRuntimeExports, M as Button2 } from "./doenetml-DniRyXf-.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BhmRwE0u.js";
|
|
4
4
|
const paginatorControls = React__default.memo(function PaginatorControls(props) {
|
|
5
5
|
let { id, SVs, actions, callAction } = useDoenetRenderer(props, false);
|
|
6
6
|
if (SVs.hidden) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React__default, { useContext, useRef, useEffect } from "react";
|
|
2
|
-
import { j as jxg } from "./JSXGraphRenderer-
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
4
|
-
import { BoardContext, BASE_LAYER_OFFSET } from "./graph-
|
|
5
|
-
import { K as Context } from "./doenetml-
|
|
2
|
+
import { j as jxg } from "./JSXGraphRenderer-ol9yW3zC.js";
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BhmRwE0u.js";
|
|
4
|
+
import { BoardContext, BASE_LAYER_OFFSET } from "./graph-B6sbYCWq.js";
|
|
5
|
+
import { K as Context } from "./doenetml-DniRyXf-.js";
|
|
6
6
|
const { round } = Context.math;
|
|
7
7
|
function latticeIsDrawable(...range) {
|
|
8
8
|
return range.every(Number.isFinite);
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { E as DocContext, F as textRendererStyle, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { E as DocContext, F as textRendererStyle, q as jsxRuntimeExports } from "./doenetml-DniRyXf-.js";
|
|
2
2
|
import React__default, { useContext, useRef } from "react";
|
|
3
|
-
import { r as removeJXGEventHandlers, j as jxg, s as syncLayer, a as syncWithLabelToggle, f as syncLabelStrokeColor, b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-
|
|
4
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
5
|
-
import { BoardContext, POINT_LAYER_OFFSET } from "./graph-
|
|
6
|
-
import { D as DynamicMath } from "./DynamicMath-
|
|
3
|
+
import { r as removeJXGEventHandlers, j as jxg, s as syncLayer, a as syncWithLabelToggle, f as syncLabelStrokeColor, b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-ol9yW3zC.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BhmRwE0u.js";
|
|
5
|
+
import { BoardContext, POINT_LAYER_OFFSET } from "./graph-B6sbYCWq.js";
|
|
6
|
+
import { D as DynamicMath } from "./DynamicMath-JfkONiS3.js";
|
|
7
7
|
import { c as characterizeOffGraphPoint } from "./offGraphIndicators-CYoqQHuD.js";
|
|
8
8
|
import { n as normalizePointStyle, a as normalizePointSize, b as adjustPointLabelPosition, e as calculatePointLabelAnchor } from "./graph-W6vrFcBu.js";
|
|
9
|
-
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-
|
|
10
|
-
import { ChoiceInputInlineContext } from "./choiceInput-
|
|
9
|
+
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-B5KcJnym.js";
|
|
10
|
+
import { ChoiceInputInlineContext } from "./choiceInput-CiPmndKK.js";
|
|
11
11
|
import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-DV6a8Wvg.js";
|
|
12
12
|
import { p as pointerEventToUserCoords } from "./dragThreshold-DuSSFrIU.js";
|
|
13
13
|
import { c as resolveMarkerColor } from "./styleColors-BrCvjxze.js";
|