@doenet/doenetml 0.7.27-dev.649 → 0.7.27-dev.651
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-D7YYHmWo.js → AnswerResponseButton-jd-bRHxQ.js} +2 -2
- package/{ClickTarget-D8u4xiP-.js → ClickTarget-DulY-v4Y.js} +1 -1
- package/{Description-Dx9FHDQ7.js → Description-D_T-WiYQ.js} +1 -1
- package/{EditorViewer-CKqqi3aE.js → EditorViewer-CHnkVeAi.js} +5 -5
- package/{GraphFrame-BUmDVS5D.js → GraphFrame-B4LasjFk.js} +2 -2
- package/{JSXGraphRenderer-Dp8XNwWC.js → JSXGraphRenderer-fPyUbg60.js} +1 -1
- package/{NonInlineMediaWrapper-DNef4URc.js → NonInlineMediaWrapper-6B5ZAmdu.js} +1 -1
- package/Viewer/renderers/subsetOfRealsInput.d.ts.map +1 -1
- package/{_error-Henad9wz.js → _error-B5-Lw17p.js} +2 -2
- package/{alert-Co9_Zsio.js → alert-B9fs5ZX-.js} +3 -3
- package/{angle-qFPs-qF6.js → angle-ClZI7eB5.js} +6 -6
- package/{answer-wqE1yXso.js → answer-B3G51FI7.js} +6 -6
- package/{asList-DE_l8knb.js → asList-BAZCNgjP.js} +2 -2
- package/{blockQuote-C1MUHNHU.js → blockQuote-CPz4IMB0.js} +3 -3
- package/{boolean-DRtK9rke.js → boolean-BKDszHBP.js} +2 -2
- package/{booleanInput-B0ZkzzS1.js → booleanInput-D4mncMh9.js} +7 -7
- package/{br-C1Fl2OhN.js → br-BrmtIADc.js} +2 -2
- package/{button-C07p5-IW.js → button-DsOJnk6V.js} +5 -5
- package/{c-D0KA9znJ.js → c-D51pIgNq.js} +3 -3
- package/{cell-C3Jxm2TE.js → cell-tctVCGFe.js} +3 -3
- package/{chart-DmQXw7Wj.js → chart-CSHOMod4.js} +4 -4
- package/{choiceInput-DB0DmIFM.js → choiceInput-Dx_YEK3b.js} +7 -7
- package/{circle-D3rFqOLP.js → circle-BHlIbdJT.js} +6 -6
- package/{cobwebPolyline-CIMEQTJn.js → cobwebPolyline-Sv2FSOoq.js} +4 -4
- package/{codeEditor-D6a3hBEE.js → codeEditor-oAl5fbxd.js} +2 -2
- package/{composites-BJOxtFqh.js → composites-BDORaURj.js} +1 -1
- package/{containerBlock-BdT0SlAl.js → containerBlock-7_RdOF0x.js} +4 -4
- package/{containerInline-BEbavSa4.js → containerInline-Cpb02JJE.js} +4 -4
- package/{curve-DKvJRJZp.js → curve-BWV5g6F_.js} +4 -4
- package/{delete-CRp4kgV6.js → delete-D7IIZ-sD.js} +3 -3
- package/{doenetml-B7YgEkww.js → doenetml-D8vZ_PHx.js} +3 -3
- package/doenetml-external-worker.js +2 -2
- package/doenetml-inline-worker.js +3 -3
- package/doenetml-worker/index.esm.js +1 -1
- package/doenetml-worker/index.js +1 -1
- package/{ellipsis-DKehl6Jp.js → ellipsis-Dkbr1F6G.js} +2 -2
- package/{em-qbY3uuHH.js → em-CiIZ0QOU.js} +3 -3
- package/{embed-DzQEPiqd.js → embed-DoKCarUJ.js} +2 -2
- package/{feedback-BK31fnrS.js → feedback-Dr4ViUcO.js} +4 -4
- package/{figure-Bseme70U.js → figure-AOriDSTq.js} +3 -3
- package/{fillPatterns-Bc-itiSM.js → fillPatterns-BI_dD3dO.js} +1 -1
- package/{footnote-DKLbEmlF.js → footnote-DWembFIa.js} +3 -3
- package/{fractionInput-D8jTYl83.js → fractionInput-Ce5y3f1y.js} +5 -5
- package/{graph-BngE5cxe.js → graph-BWlidiEv.js} +5 -5
- package/{hint-Dh-wZgI-.js → hint-Dqt_pBQx.js} +5 -5
- package/{hovercard-store-DO4yISkX.js → hovercard-store-DR8WJ_iF.js} +1 -1
- package/{hr-Bt8OY7iD.js → hr-BZCxTsxT.js} +2 -2
- package/{image-qqjYpg6H.js → image-Cvi0ZFAd.js} +8 -8
- package/{index-B1TCiY_f.js → index-CkO8C6Qi.js} +1 -1
- package/{index.es-TPkch2U6.js → index.es-BFSAB25_.js} +1 -1
- package/index.js +1 -1
- package/{inputLabel-Cs1CMX-q.js → inputLabel-DEiJARYO.js} +3 -3
- package/{insert-DrqsMDd-.js → insert-CRd6eZ6Z.js} +3 -3
- package/{label-CjreqKyI.js → label-BzSgdiyf.js} +9 -9
- package/{legend-DiDl0EsH.js → legend-4YvUonBF.js} +4 -4
- package/{line-B_U1Ae4B.js → line-B0Hr1hiT.js} +6 -6
- package/{lineFamilyDragHandlers-DqEm1HxF.js → lineFamilyDragHandlers-yEqKWtv4.js} +1 -1
- package/{lineSegment-Daevkxw0.js → lineSegment-DIQavz2W.js} +5 -5
- package/{list-CB941a28.js → list-DSbRuzX0.js} +4 -4
- package/{lq-CFqV_o0r.js → lq-D-hDn8I6.js} +2 -2
- package/{lsq-CyKYXsR6.js → lsq-WFYzQbR_.js} +2 -2
- package/{markupRenderer-B5ow3A7v.js → markupRenderer-BHcH7XW4.js} +1 -1
- package/{math-DESAdYNY.js → math-9ipYsK1O.js} +8 -8
- package/{mathInput-DfsQVwqE.js → mathInput-DjAz7iAb.js} +9 -9
- package/{mathInputSlots-BrrcZG0V.js → mathInputSlots-BLwwy3zM.js} +1 -1
- package/{matrixInput-Btc1aH0q.js → matrixInput-DXWAiEyw.js} +5 -5
- package/{mdash-Cxr1eMgH.js → mdash-B_qmaA5N.js} +2 -2
- package/{nbsp-D9EaA05X.js → nbsp-DSTIz9lr.js} +2 -2
- package/{ndash-J2nVccxt.js → ndash-DIDEyDVQ.js} +2 -2
- package/{number-XLQzxMnQ.js → number-gqt_QmBK.js} +8 -8
- package/{orbitalDiagram-4Hm9POl9.js → orbitalDiagram-CsmSBAmm.js} +2 -2
- package/{orbitalDiagramInput-De-KMtle.js → orbitalDiagramInput-_L3iCpvF.js} +2 -2
- package/{p-C9HA4vtR.js → p-BVDS0Z82.js} +4 -4
- package/package.json +1 -1
- package/{paginatorControls-B-ZC5EHv.js → paginatorControls-CdhphI9i.js} +2 -2
- package/{pegboard-DsrfuSI9.js → pegboard-XqFJYQR2.js} +3 -3
- package/{point-BgMPuCu9.js → point-D8MVTRjb.js} +6 -6
- package/{polygon-Ddq3F4qL.js → polygon-BMRgxRAm.js} +6 -6
- package/{polyline-DvrWa3hw.js → polyline-DrVPFk97.js} +5 -5
- package/{pre-HQzXPJZm.js → pre-CCavo6rV.js} +3 -3
- package/{prefigure-mSdit1v3.js → prefigure-D1TU89ND.js} +1 -1
- package/{pretzel-C7FFQwl-.js → pretzel-Ci6LMYP7.js} +4 -4
- package/{q-D8M2TT9O.js → q-DAtrD59K.js} +3 -3
- package/{ray-BSq679ZW.js → ray-BzzsI3ni.js} +5 -5
- package/{ref-CTbpmpt4.js → ref-CbtIuBV6.js} +3 -3
- package/{regionBetweenCurveXAxis-Dnv4q5HT.js → regionBetweenCurveXAxis-DJTv_wcJ.js} +5 -5
- package/{regionBetweenCurves-J8TYAiQE.js → regionBetweenCurves-BmQTnXGC.js} +5 -5
- package/{row-c9N5yFdD.js → row-Do8bpf7j.js} +2 -2
- package/{rq-tPOhpqqc.js → rq-jO7eoWFc.js} +2 -2
- package/{rsq-BMHVn1QN.js → rsq-CrJOK9r3.js} +2 -2
- package/{section-DOkLghJ1.js → section-Des0SqAh.js} +6 -6
- package/{sha256-8sXzDnE0-BfVXmeXa.js → sha256-8sXzDnE0-CgCDmaQw.js} +1 -1
- package/{sideBySide-DhmbKtKt.js → sideBySide-D67VUzm_.js} +2 -2
- package/{slider-ByExeA20.js → slider-CS3SAwUa.js} +4 -4
- package/{slopeField-CAMgLrX8.js → slopeField-UWDH1qdT.js} +2 -2
- package/{solution-DsPFL28w.js → solution-CD8o-q_c.js} +4 -4
- package/{spreadsheet-C2FleaWB.js → spreadsheet-CkR6qmVp.js} +2 -2
- package/{sq-BM8sI-i_.js → sq-BbRTcTOB.js} +3 -3
- package/style.css +3 -0
- package/{subsetOfRealsInput-B7eYWQIb.js → subsetOfRealsInput-BeyO8SZz.js} +3 -3
- package/{summaryStatistics-BxJzW6tf.js → summaryStatistics-B6dhFqSw.js} +2 -2
- package/{table-BGgizwL4.js → table-DOri6rVv.js} +2 -2
- package/{tabular-DD-U_c2j.js → tabular-DKhYyDKC.js} +2 -2
- package/{tag-DRPK8NxJ.js → tag-CxU24RNr.js} +2 -2
- package/{text-CxrayF2e.js → text-DvmLSjKe.js} +8 -8
- package/{textInput-vZJgVguQ.js → textInput-Cixst4Sn.js} +8 -8
- package/{tooltip-provider-C4v2PJ4S.js → tooltip-provider-D7EDS5HY.js} +2 -2
- package/{useAnchoredGraphDragHandler-MuB6CRjf.js → useAnchoredGraphDragHandler-Bg4DqLZT.js} +1 -1
- package/useDoenetRenderer-CNR6XAVz.js +114 -0
- package/{useFieldCurve-D3mdRiDS.js → useFieldCurve-C8OBi3vF.js} +2 -2
- package/{useSubmitActionWithDelay-C95MEHkn.js → useSubmitActionWithDelay--lbFfAgF.js} +2 -2
- package/{vector-5Hd-pAXC.js → vector-TNThnq4g.js} +6 -6
- package/{vectorField-Bw2xr9Tb.js → vectorField-DDrDftdS.js} +2 -2
- package/{video-et0DUivm.js → video-B2r7P6s-.js} +4 -4
- package/useDoenetRenderer-kwjSXJYx.js +0 -114
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { q as jsxRuntimeExports } from "./doenetml-D8vZ_PHx.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CNR6XAVz.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-D8vZ_PHx.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-CNR6XAVz.js";
|
|
4
|
+
import { r as renderMarkupBody } from "./markupRenderer-BHcH7XW4.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-D8vZ_PHx.js";
|
|
2
2
|
import React__default, { useRef, useEffect } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CNR6XAVz.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-D8vZ_PHx.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-CNR6XAVz.js";
|
|
4
|
+
import { F as FontAwesomeIcon } from "./index.es-BFSAB25_.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-BDORaURj.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-D8vZ_PHx.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-CNR6XAVz.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-CkO8C6Qi.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-D8vZ_PHx.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, L as Button } from "./doenetml-
|
|
1
|
+
import { u as useT, q as jsxRuntimeExports, L as Button } from "./doenetml-D8vZ_PHx.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-CNR6XAVz.js";
|
|
4
|
+
import { T as TooltipProvider, a as TooltipAnchor, b as Tooltip } from "./tooltip-provider-D7EDS5HY.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,11 +1,11 @@
|
|
|
1
|
-
import { I as useContentT, q as jsxRuntimeExports, Y as MathJax } from "./doenetml-
|
|
1
|
+
import { I as useContentT, q as jsxRuntimeExports, Y as MathJax } from "./doenetml-D8vZ_PHx.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CNR6XAVz.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--lbFfAgF.js";
|
|
6
6
|
import { a as addValidationStateToShortDescription } from "./validationState-DI_lxk1a.js";
|
|
7
|
-
import { D as DescriptionPopover } from "./Description-
|
|
8
|
-
import { u as useRenderedLabel } from "./inputLabel-
|
|
7
|
+
import { D as DescriptionPopover } from "./Description-D_T-WiYQ.js";
|
|
8
|
+
import { u as useRenderedLabel } from "./inputLabel-DEiJARYO.js";
|
|
9
9
|
const fractionInput = React__default.memo(function FractionInput(props) {
|
|
10
10
|
let { id, SVs, actions, children, callAction } = useDoenetRenderer(props);
|
|
11
11
|
const renderedLabel = useRenderedLabel({ SVs, children });
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { q as jsxRuntimeExports, aR as roundForDisplay, M as toNumberOrNaN, G as DynamicMath, J as useRecordVisibilityChanges } from "./doenetml-
|
|
1
|
+
import { q as jsxRuntimeExports, aR as roundForDisplay, M as toNumberOrNaN, G as DynamicMath, J as useRecordVisibilityChanges } from "./doenetml-D8vZ_PHx.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-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CNR6XAVz.js";
|
|
4
|
+
import Prefigure from "./prefigure-D1TU89ND.js";
|
|
5
5
|
import me from "math-expressions";
|
|
6
|
-
import GraphFrame from "./GraphFrame-
|
|
7
|
-
import { J as JSXGraphRenderer } from "./JSXGraphRenderer-
|
|
6
|
+
import GraphFrame from "./GraphFrame-B4LasjFk.js";
|
|
7
|
+
import { J as JSXGraphRenderer } from "./JSXGraphRenderer-fPyUbg60.js";
|
|
8
8
|
const GRAPH_CONTROL_CARD_STYLE = {
|
|
9
9
|
width: "100%",
|
|
10
10
|
boxSizing: "border-box",
|
|
@@ -1,12 +1,12 @@
|
|
|
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-D8vZ_PHx.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-CNR6XAVz.js";
|
|
4
|
+
import { F as FontAwesomeIcon } from "./index.es-BFSAB25_.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-BDORaURj.js";
|
|
8
8
|
import { c as clickToToggleLabel } from "./disclosure-axyZa36E.js";
|
|
9
|
-
import { N as NoClickTargetContext } from "./ClickTarget-
|
|
9
|
+
import { N as NoClickTargetContext } from "./ClickTarget-DulY-v4Y.js";
|
|
10
10
|
const hint = React__default.memo(function Hint(props) {
|
|
11
11
|
let { id, SVs, children, actions, callAction } = useDoenetRenderer(props);
|
|
12
12
|
const t = useT();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { aj as createStoreContext, av as PopoverScopedContextProvider, aw as PopoverContextProvider, a4 as createHook, a6 as invariant, ax as usePortalRef, ay as useIsMouseMoving, az as useBooleanEvent, a7 as useStoreState, ap as chain, aA as addGlobalEventListener, aB as useLiveRef, ac as useSafeLayoutEffect, al as useWrapElement, q as jsxRuntimeExports, aa as useMergeRefs, aC as usePopover, am as isFalsyBooleanCallback, aq as useEvent, ao as sync, aD as hasFocusWithin, ak as createDialogComponent, a2 as forwardRef, a3 as createElement, aE as disabledFromProps, aF as useFocusable, aG as createPopoverStore, as as defaultValue, ar as createStore, au as useStoreProps, aH as usePopoverStoreProps } from "./doenetml-
|
|
1
|
+
import { aj as createStoreContext, av as PopoverScopedContextProvider, aw as PopoverContextProvider, a4 as createHook, a6 as invariant, ax as usePortalRef, ay as useIsMouseMoving, az as useBooleanEvent, a7 as useStoreState, ap as chain, aA as addGlobalEventListener, aB as useLiveRef, ac as useSafeLayoutEffect, al as useWrapElement, q as jsxRuntimeExports, aa as useMergeRefs, aC as usePopover, am as isFalsyBooleanCallback, aq as useEvent, ao as sync, aD as hasFocusWithin, ak as createDialogComponent, a2 as forwardRef, a3 as createElement, aE as disabledFromProps, aF as useFocusable, aG as createPopoverStore, as as defaultValue, ar as createStore, au as useStoreProps, aH as usePopoverStoreProps } from "./doenetml-D8vZ_PHx.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-D8vZ_PHx.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CNR6XAVz.js";
|
|
4
4
|
const hr = React__default.memo(function Hr(props) {
|
|
5
5
|
let { id, SVs } = useDoenetRenderer(props);
|
|
6
6
|
if (SVs.hidden) {
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { E as DocContext, J as useRecordVisibilityChanges, M as toNumberOrNaN, q as jsxRuntimeExports, g as getMediaLicenseDisplay } from "./doenetml-
|
|
1
|
+
import { E as DocContext, J as useRecordVisibilityChanges, M as toNumberOrNaN, q as jsxRuntimeExports, g as getMediaLicenseDisplay } from "./doenetml-D8vZ_PHx.js";
|
|
2
2
|
import React__default, { useContext, useRef, useMemo } from "react";
|
|
3
|
-
import { j as jxg } from "./JSXGraphRenderer-
|
|
4
|
-
import { B as BoardContext, I as IMAGE_LAYER_OFFSET } from "./graph-
|
|
5
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { j as jxg } from "./JSXGraphRenderer-fPyUbg60.js";
|
|
4
|
+
import { B as BoardContext, I as IMAGE_LAYER_OFFSET } from "./graph-BWlidiEv.js";
|
|
5
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CNR6XAVz.js";
|
|
6
6
|
import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
|
|
7
7
|
import me from "math-expressions";
|
|
8
|
-
import { D as DescriptionPopover, a as DescriptionAsDetails } from "./Description-
|
|
8
|
+
import { D as DescriptionPopover, a as DescriptionAsDetails } from "./Description-D_T-WiYQ.js";
|
|
9
9
|
import { g as getNonInlineMediaLayoutStyles } from "./nonInlineMediaLayout-CkXHaqzo.js";
|
|
10
|
-
import { N as NonInlineMediaWrapper } from "./NonInlineMediaWrapper-
|
|
10
|
+
import { N as NonInlineMediaWrapper } from "./NonInlineMediaWrapper-6B5ZAmdu.js";
|
|
11
11
|
import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-BZQatkpv.js";
|
|
12
12
|
import { u as useDraggableRefs } from "./useDraggableRefs-QaTfkVuD.js";
|
|
13
|
-
import { d as detachAnchoredGraphElement, a as attachAnchoredGraphDragHandlers } from "./useAnchoredGraphDragHandler-
|
|
13
|
+
import { d as detachAnchoredGraphElement, a as attachAnchoredGraphDragHandlers } from "./useAnchoredGraphDragHandler-Bg4DqLZT.js";
|
|
14
14
|
import { u as useJSXGraphCleanup } from "./useJSXGraphCleanup-BNk4sn6x.js";
|
|
15
|
-
import { u as useClickTargetAllowed, C as ClickTargetButton } from "./ClickTarget-
|
|
15
|
+
import { u as useClickTargetAllowed, C as ClickTargetButton } from "./ClickTarget-DulY-v4Y.js";
|
|
16
16
|
const image = React__default.memo(function Image(props) {
|
|
17
17
|
let { componentIdx, id, SVs, children, actions, callAction } = useDoenetRenderer(props, false);
|
|
18
18
|
Image.ignoreActionsWithoutCore = () => true;
|
package/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { q as jsxRuntimeExports } from "./doenetml-D8vZ_PHx.js";
|
|
2
2
|
import { useContext, createContext } from "react";
|
|
3
|
-
import { B as BoardContext } from "./graph-
|
|
4
|
-
import { N as NoClickTargetContext } from "./ClickTarget-
|
|
3
|
+
import { B as BoardContext } from "./graph-BWlidiEv.js";
|
|
4
|
+
import { N as NoClickTargetContext } from "./ClickTarget-DulY-v4Y.js";
|
|
5
5
|
const InputLabelContext = createContext({
|
|
6
6
|
inLabel: false,
|
|
7
7
|
inheritTextColor: false
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { q as jsxRuntimeExports } from "./doenetml-D8vZ_PHx.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-CNR6XAVz.js";
|
|
4
|
+
import { r as renderMarkupBody } from "./markupRenderer-BHcH7XW4.js";
|
|
5
5
|
/* empty css */
|
|
6
6
|
const insert = React__default.memo(function Insert(props) {
|
|
7
7
|
const { id, SVs, children } = useDoenetRenderer(props);
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { E as DocContext, M as toNumberOrNaN, q as jsxRuntimeExports, F as textRendererStyle, G as DynamicMath } from "./doenetml-
|
|
1
|
+
import { E as DocContext, M as toNumberOrNaN, q as jsxRuntimeExports, F as textRendererStyle, G as DynamicMath } from "./doenetml-D8vZ_PHx.js";
|
|
2
2
|
import React__default, { useRef, useContext } from "react";
|
|
3
|
-
import { j as jxg, c as computeLabelMaskCssStyle } from "./JSXGraphRenderer-
|
|
4
|
-
import { B as BoardContext, T as TEXT_LAYER_OFFSET } from "./graph-
|
|
5
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { j as jxg, c as computeLabelMaskCssStyle } from "./JSXGraphRenderer-fPyUbg60.js";
|
|
4
|
+
import { B as BoardContext, T as TEXT_LAYER_OFFSET } from "./graph-BWlidiEv.js";
|
|
5
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CNR6XAVz.js";
|
|
6
6
|
import me from "math-expressions";
|
|
7
7
|
import { e as getPositionFromAnchorByCoordinate } from "./graph-N7QcDlVU.js";
|
|
8
|
-
import { ChoiceInputInlineContext } from "./choiceInput-
|
|
8
|
+
import { ChoiceInputInlineContext } from "./choiceInput-Dx_YEK3b.js";
|
|
9
9
|
import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-BZQatkpv.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-Bg4DqLZT.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 { I as InputLabelContext } from "./inputLabel-
|
|
15
|
-
import { r as renderMarkupBody } from "./markupRenderer-
|
|
16
|
-
import { u as useClickTargetAllowed, N as NoClickTargetContext, C as ClickTargetButton } from "./ClickTarget-
|
|
14
|
+
import { I as InputLabelContext } from "./inputLabel-DEiJARYO.js";
|
|
15
|
+
import { r as renderMarkupBody } from "./markupRenderer-BHcH7XW4.js";
|
|
16
|
+
import { u as useClickTargetAllowed, N as NoClickTargetContext, C as ClickTargetButton } from "./ClickTarget-DulY-v4Y.js";
|
|
17
17
|
const label = React__default.memo(function Label(props) {
|
|
18
18
|
let { componentIdx, id, SVs, children, actions, callAction } = useDoenetRenderer(props);
|
|
19
19
|
Label.ignoreActionsWithoutCore = () => true;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { E as DocContext, N as deepCompare, q as jsxRuntimeExports, O as loadMathJax } from "./doenetml-
|
|
1
|
+
import { E as DocContext, N as deepCompare, q as jsxRuntimeExports, O as loadMathJax } from "./doenetml-D8vZ_PHx.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 { B as BoardContext, a as BASE_LAYER_OFFSET, L as LINE_LAYER_OFFSET, P as POINT_LAYER_OFFSET, T as TEXT_LAYER_OFFSET } from "./graph-
|
|
3
|
+
import { j as jxg } from "./JSXGraphRenderer-fPyUbg60.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CNR6XAVz.js";
|
|
5
|
+
import { B as BoardContext, a as BASE_LAYER_OFFSET, L as LINE_LAYER_OFFSET, P as POINT_LAYER_OFFSET, T as TEXT_LAYER_OFFSET } from "./graph-BWlidiEv.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,10 +1,10 @@
|
|
|
1
|
-
import { E as DocContext, q as jsxRuntimeExports, F as textRendererStyle, G as DynamicMath } from "./doenetml-
|
|
1
|
+
import { E as DocContext, q as jsxRuntimeExports, F as textRendererStyle, G as DynamicMath } from "./doenetml-D8vZ_PHx.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 { B as BoardContext, L as LINE_LAYER_OFFSET } from "./graph-
|
|
6
|
-
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-
|
|
7
|
-
import { ChoiceInputInlineContext } from "./choiceInput-
|
|
3
|
+
import { j as jxg, 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-fPyUbg60.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CNR6XAVz.js";
|
|
5
|
+
import { B as BoardContext, L as LINE_LAYER_OFFSET } from "./graph-BWlidiEv.js";
|
|
6
|
+
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-yEqKWtv4.js";
|
|
7
|
+
import { ChoiceInputInlineContext } from "./choiceInput-Dx_YEK3b.js";
|
|
8
8
|
import { a as buildLineLikeAttributes } from "./buildGraphicalAttributes-B_soifR-.js";
|
|
9
9
|
import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-BZQatkpv.js";
|
|
10
10
|
import { p as pointerEventToUserCoords } from "./dragThreshold-DkT37QqI.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useContext } from "react";
|
|
2
|
-
import { E as DocContext, $ as hasNavigationModifier } from "./doenetml-
|
|
2
|
+
import { E as DocContext, $ as hasNavigationModifier } from "./doenetml-D8vZ_PHx.js";
|
|
3
3
|
import { e as exceededDragThreshold } from "./dragThreshold-DkT37QqI.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-D8vZ_PHx.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 { B as BoardContext, V as VERTEX_LAYER_OFFSET, L as 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-fPyUbg60.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CNR6XAVz.js";
|
|
5
|
+
import { B as BoardContext, V as VERTEX_LAYER_OFFSET, L as LINE_LAYER_OFFSET } from "./graph-BWlidiEv.js";
|
|
6
|
+
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-yEqKWtv4.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-BZQatkpv.js";
|
|
9
9
|
import { p as pointerEventToUserCoords } from "./dragThreshold-DkT37QqI.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-D8vZ_PHx.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-CNR6XAVz.js";
|
|
4
|
+
import { a as addCommasForCompositeRanges } from "./composites-BDORaURj.js";
|
|
5
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay--lbFfAgF.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-D8vZ_PHx.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CNR6XAVz.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-D8vZ_PHx.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CNR6XAVz.js";
|
|
4
4
|
const lsq = React__default.memo(function Lsq(props) {
|
|
5
5
|
let { SVs } = useDoenetRenderer(props, false);
|
|
6
6
|
if (SVs.hidden) {
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { E as DocContext, M as toNumberOrNaN, q as jsxRuntimeExports, F as textRendererStyle, G as DynamicMath, I as useContentT } from "./doenetml-
|
|
1
|
+
import { E as DocContext, M as toNumberOrNaN, q as jsxRuntimeExports, F as textRendererStyle, G as DynamicMath, I as useContentT } from "./doenetml-D8vZ_PHx.js";
|
|
2
2
|
import React__default, { useRef, useContext, useCallback, useEffect } from "react";
|
|
3
|
-
import { j as jxg } from "./JSXGraphRenderer-
|
|
4
|
-
import { B as BoardContext, T as TEXT_LAYER_OFFSET } from "./graph-
|
|
5
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { j as jxg } from "./JSXGraphRenderer-fPyUbg60.js";
|
|
4
|
+
import { B as BoardContext, T as TEXT_LAYER_OFFSET } from "./graph-BWlidiEv.js";
|
|
5
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CNR6XAVz.js";
|
|
6
6
|
import me from "math-expressions";
|
|
7
7
|
import { e as getPositionFromAnchorByCoordinate } from "./graph-N7QcDlVU.js";
|
|
8
|
-
import { ChoiceInputInlineContext } from "./choiceInput-
|
|
9
|
-
import { I as InputLabelContext } from "./inputLabel-
|
|
8
|
+
import { ChoiceInputInlineContext } from "./choiceInput-Dx_YEK3b.js";
|
|
9
|
+
import { I as InputLabelContext } from "./inputLabel-DEiJARYO.js";
|
|
10
10
|
import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-BZQatkpv.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-Bg4DqLZT.js";
|
|
13
13
|
import { u as useJSXGraphCleanup } from "./useJSXGraphCleanup-BNk4sn6x.js";
|
|
14
14
|
import { e as resolveTextColor, f as resolveBackgroundColor } from "./styleColors-BrCvjxze.js";
|
|
15
|
-
import { M as MathSlot, u as useMathSlots, a as MathSlotProvider } from "./mathInputSlots-
|
|
15
|
+
import { M as MathSlot, u as useMathSlots, a as MathSlotProvider } from "./mathInputSlots-BLwwy3zM.js";
|
|
16
16
|
function getMathDelimiters(SVs) {
|
|
17
17
|
if (SVs.renderMode === "inline") {
|
|
18
18
|
return ["\\(", "\\)"];
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { q as jsxRuntimeExports, I as useContentT, x as useAppSelector, aI as keyboardSlice, aJ as FocusedMathInputContext, aK as LegacyKeyboardTrayContext, aL as isInVirtualKeyboardTray, M as toNumberOrNaN, aM as PopoverAnchor, Y as MathJax, aN as subscribeToPrimaryPointerType, aO as hasCoarsePrimaryPointer, ae as usePopoverStore, a7 as useStoreState, u as useT, v as useChromeLangDir, ah as Popover, aP as getVirtualKeyboardTrayElement } from "./doenetml-
|
|
1
|
+
import { q as jsxRuntimeExports, I as useContentT, x as useAppSelector, aI as keyboardSlice, aJ as FocusedMathInputContext, aK as LegacyKeyboardTrayContext, aL as isInVirtualKeyboardTray, M as toNumberOrNaN, aM as PopoverAnchor, Y as MathJax, aN as subscribeToPrimaryPointerType, aO as hasCoarsePrimaryPointer, ae as usePopoverStore, a7 as useStoreState, u as useT, v as useChromeLangDir, ah as Popover, aP as getVirtualKeyboardTrayElement } from "./doenetml-D8vZ_PHx.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-
|
|
8
|
-
import { u as useRenderedLabel } from "./inputLabel-
|
|
4
|
+
import { j as jxg } from "./JSXGraphRenderer-fPyUbg60.js";
|
|
5
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CNR6XAVz.js";
|
|
6
|
+
import { P as PropTypes } from "./index-CkO8C6Qi.js";
|
|
7
|
+
import { D as DescriptionPopover, P as PopoverArrow } from "./Description-D_T-WiYQ.js";
|
|
8
|
+
import { u as useRenderedLabel } from "./inputLabel-DEiJARYO.js";
|
|
9
9
|
/* empty css */
|
|
10
|
-
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay
|
|
10
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay--lbFfAgF.js";
|
|
11
11
|
import { a as addValidationStateToShortDescription } from "./validationState-DI_lxk1a.js";
|
|
12
|
-
import { B as BoardContext, T as TEXT_LAYER_OFFSET } from "./graph-
|
|
12
|
+
import { B as BoardContext, T as TEXT_LAYER_OFFSET } from "./graph-BWlidiEv.js";
|
|
13
13
|
import me from "math-expressions";
|
|
14
14
|
import { e as getPositionFromAnchorByCoordinate, P as POINTER_DRAG_THRESHOLD } from "./graph-N7QcDlVU.js";
|
|
15
|
-
import { b as useInMathSlot, c as useMathSlotEditing } from "./mathInputSlots-
|
|
15
|
+
import { b as useInMathSlot, c as useMathSlotEditing } from "./mathInputSlots-BLwwy3zM.js";
|
|
16
16
|
import { u as useMathJaxOutOfTabOrder } from "./useMathJaxOutOfTabOrder-C0wsYqBF.js";
|
|
17
17
|
const DEFAULT_MATH_INPUT_FUNCTION_NAMES = [
|
|
18
18
|
"arg",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { q as jsxRuntimeExports, X as MATH_INPUT_SLOT_PATTERN } from "./doenetml-
|
|
1
|
+
import { q as jsxRuntimeExports, X as MATH_INPUT_SLOT_PATTERN } from "./doenetml-D8vZ_PHx.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,10 +1,10 @@
|
|
|
1
|
-
import { u as useT, I as useContentT, q as jsxRuntimeExports, V as ActionButtonGroup, W as ActionButton, Y as MathJax } from "./doenetml-
|
|
1
|
+
import { u as useT, I as useContentT, q as jsxRuntimeExports, V as ActionButtonGroup, W as ActionButton, Y as MathJax } from "./doenetml-D8vZ_PHx.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CNR6XAVz.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-
|
|
7
|
-
import { u as useRenderedLabel } from "./inputLabel-
|
|
5
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay--lbFfAgF.js";
|
|
6
|
+
import { D as DescriptionPopover } from "./Description-D_T-WiYQ.js";
|
|
7
|
+
import { u as useRenderedLabel } from "./inputLabel-DEiJARYO.js";
|
|
8
8
|
const matrixInput = React__default.memo(function MatrixInput(props) {
|
|
9
9
|
let { id, SVs, actions, children, callAction } = useDoenetRenderer(props);
|
|
10
10
|
const renderedLabel = useRenderedLabel({ SVs, children });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { q as jsxRuntimeExports } from "./doenetml-D8vZ_PHx.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CNR6XAVz.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-D8vZ_PHx.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CNR6XAVz.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-D8vZ_PHx.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CNR6XAVz.js";
|
|
4
4
|
const ndash = React__default.memo(function Ndash(props) {
|
|
5
5
|
let { SVs } = useDoenetRenderer(props);
|
|
6
6
|
if (SVs.hidden) {
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { E as DocContext, M as toNumberOrNaN, q as jsxRuntimeExports, F as textRendererStyle, G as DynamicMath } from "./doenetml-
|
|
1
|
+
import { E as DocContext, M as toNumberOrNaN, q as jsxRuntimeExports, F as textRendererStyle, G as DynamicMath } from "./doenetml-D8vZ_PHx.js";
|
|
2
2
|
import React__default, { useRef, useContext } from "react";
|
|
3
|
-
import { j as jxg } from "./JSXGraphRenderer-
|
|
4
|
-
import { B as BoardContext, T as TEXT_LAYER_OFFSET } from "./graph-
|
|
5
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { j as jxg } from "./JSXGraphRenderer-fPyUbg60.js";
|
|
4
|
+
import { B as BoardContext, T as TEXT_LAYER_OFFSET } from "./graph-BWlidiEv.js";
|
|
5
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CNR6XAVz.js";
|
|
6
6
|
import me from "math-expressions";
|
|
7
7
|
import { e as getPositionFromAnchorByCoordinate } from "./graph-N7QcDlVU.js";
|
|
8
|
-
import { ChoiceInputInlineContext } from "./choiceInput-
|
|
9
|
-
import { I as InputLabelContext } from "./inputLabel-
|
|
8
|
+
import { ChoiceInputInlineContext } from "./choiceInput-Dx_YEK3b.js";
|
|
9
|
+
import { I as InputLabelContext } from "./inputLabel-DEiJARYO.js";
|
|
10
10
|
import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-BZQatkpv.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-Bg4DqLZT.js";
|
|
13
13
|
import { u as useJSXGraphCleanup } from "./useJSXGraphCleanup-BNk4sn6x.js";
|
|
14
14
|
import { e as resolveTextColor, f as resolveBackgroundColor } from "./styleColors-BrCvjxze.js";
|
|
15
|
-
import { u as useClickTargetAllowed, C as ClickTargetButton } from "./ClickTarget-
|
|
15
|
+
import { u as useClickTargetAllowed, C as ClickTargetButton } from "./ClickTarget-DulY-v4Y.js";
|
|
16
16
|
const number = React__default.memo(function NumberComponent(props) {
|
|
17
17
|
let { componentIdx, id, SVs, actions, callAction } = useDoenetRenderer(props);
|
|
18
18
|
NumberComponent.ignoreActionsWithoutCore = () => true;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { J as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { J as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-D8vZ_PHx.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CNR6XAVz.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, P as Button2 } from "./doenetml-
|
|
1
|
+
import { u as useT, J as useRecordVisibilityChanges, q as jsxRuntimeExports, P as Button2 } from "./doenetml-D8vZ_PHx.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CNR6XAVz.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-D8vZ_PHx.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-CNR6XAVz.js";
|
|
4
|
+
import { a as addCommasForCompositeRanges } from "./composites-BDORaURj.js";
|
|
5
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay--lbFfAgF.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.27-dev.
|
|
5
|
+
"version": "0.7.27-dev.651",
|
|
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, P as Button2 } from "./doenetml-
|
|
1
|
+
import { q as jsxRuntimeExports, P as Button2 } from "./doenetml-D8vZ_PHx.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CNR6XAVz.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,7 +1,7 @@
|
|
|
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 { B as BoardContext, a as BASE_LAYER_OFFSET } from "./graph-
|
|
2
|
+
import { j as jxg } from "./JSXGraphRenderer-fPyUbg60.js";
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CNR6XAVz.js";
|
|
4
|
+
import { B as BoardContext, a as BASE_LAYER_OFFSET } from "./graph-BWlidiEv.js";
|
|
5
5
|
import me from "math-expressions";
|
|
6
6
|
const { round } = me.math;
|
|
7
7
|
function latticeIsDrawable(...range) {
|