@doenet/doenetml 0.7.24-dev.484 → 0.7.24-dev.485
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-DOkiGXwR.js → AnswerResponseButton-C5D4U5Th.js} +2 -2
- package/{Description-dd5zo0Da.js → Description-Dy5jBoGd.js} +1 -1
- package/{GraphFrame-CJnYmlxB.js → GraphFrame-DYFhUbFq.js} +2 -2
- package/{JSXGraphRenderer-CqQeYbb_.js → JSXGraphRenderer-CYtq27Rg.js} +1 -1
- package/{NonInlineMediaWrapper-Bzzs4aLp.js → NonInlineMediaWrapper-BLBBzhkX.js} +1 -1
- package/Viewer/DocViewer.d.ts.map +1 -1
- package/{_error-DshBxNw7.js → _error-DgmZcnIy.js} +2 -2
- package/{alert-boEZiy8P.js → alert-Du0SHsO2.js} +3 -3
- package/{angle-Cg_cvHt2.js → angle-B8aLU_tq.js} +6 -6
- package/{answer-Cv8KidCI.js → answer-D9O4nx1N.js} +5 -5
- package/{asList-BRziaNyA.js → asList-8xrZNcX4.js} +2 -2
- package/{blockQuote-DHZVW_Gd.js → blockQuote-CGPBCSob.js} +3 -3
- package/{boolean-CD7ZkKG1.js → boolean-CVUCiYTF.js} +2 -2
- package/{booleanInput-B2d95be3.js → booleanInput-DylenXFQ.js} +6 -6
- package/{br-BySBp0Qm.js → br-B1yOnwfq.js} +2 -2
- package/{button-i7QU2Gp2.js → button-DIrhxNM-.js} +4 -4
- package/{c-C6eFHKOm.js → c-zgo_OQlW.js} +3 -3
- package/{cell-CuBy_sd-.js → cell-BoEckAA9.js} +3 -3
- package/{choiceInput-cCdnPZxl.js → choiceInput-B8Wy64nu.js} +4 -4
- package/{circle-Cl0ehDpP.js → circle-Mn_cEAUr.js} +6 -6
- package/{cobwebPolyline-CIbCw1DX.js → cobwebPolyline-B-DsQ6F7.js} +4 -4
- package/{codeEditor-CVdj4BCY.js → codeEditor-DONOrg4K.js} +2 -2
- package/{composites-BahnWZ44.js → composites-utuWJTx9.js} +1 -1
- package/{containerBlock-DrN10qVb.js → containerBlock-34ay8OVs.js} +4 -4
- package/{containerInline-BMaCC4K_.js → containerInline-DLl_Wil0.js} +4 -4
- package/{curve-D_UKYjPX.js → curve-DSAmQKBN.js} +4 -4
- package/{doenetml-aUmY9leg.js → doenetml-DciZAG_S.js} +123 -33
- package/doenetml-external-worker.js +2 -2
- package/doenetml-inline-worker.js +2 -2
- package/{ellipsis-CY3IE_8F.js → ellipsis-CQDCvqQY.js} +2 -2
- package/{em-B1X1bCB5.js → em-g6j-S6MK.js} +3 -3
- package/{embed-CKDnpG5N.js → embed-BvauYkDC.js} +2 -2
- package/{feedback-COUFZk1c.js → feedback-C2L7dpAf.js} +4 -4
- package/{figure-Blo3AaKP.js → figure-Dv4FG8C9.js} +3 -3
- package/{fillPatterns-BMeeuJF5.js → fillPatterns-CDmt71wM.js} +1 -1
- package/{footnote-LNP_5Px7.js → footnote-dcb4bCes.js} +3 -3
- package/{fractionInput-B0vgkmCH.js → fractionInput-rOeJ2CGX.js} +4 -4
- package/global-config.d.ts +11 -7
- package/global-config.d.ts.map +1 -1
- package/{graph-tfQQFRA6.js → graph-BaPxo8Y1.js} +6 -6
- package/{hint-BNFwH9y4.js → hint-rfaBUgXj.js} +4 -4
- package/{hr-DLtP75RR.js → hr-BIzKgl5O.js} +2 -2
- package/{image-BAVOKRjs.js → image-DSWYAvdw.js} +7 -7
- package/{index-DEGhhHR0.js → index-jt_-0b5V.js} +1 -1
- package/{index.es-EwFj50Xp.js → index.es-D1nvu1l-.js} +1 -1
- package/index.js +1 -1
- package/{label-CcWhR8P3.js → label-BTpICnEk.js} +6 -6
- package/{labelWithLatex-CG5R0Beu.js → labelWithLatex-BIFvNrpS.js} +1 -1
- package/{legend-CTr43fsJ.js → legend-DFF7JH-M.js} +4 -4
- package/{line-Uh10z24B.js → line-jJbGBnMj.js} +6 -6
- package/{lineFamilyDragHandlers-Cq8PcFCJ.js → lineFamilyDragHandlers-CNHbhwfs.js} +1 -1
- package/{lineSegment-hVn537jV.js → lineSegment-G-Rl5xyE.js} +5 -5
- package/{list-C-YcT9Dk.js → list-CECTs7LB.js} +4 -4
- package/{lq-Cj3uwOLp.js → lq-BLomm5Xe.js} +2 -2
- package/{lsq-7QeR5rpb.js → lsq-CKbD8KCb.js} +2 -2
- package/{markupRenderer-DaZQsDAf.js → markupRenderer-DCoW1x9J.js} +1 -1
- package/{math-DrMdOcrl.js → math-D5UPF1gw.js} +6 -6
- package/{mathInput-CtURtu72.js → mathInput-BYXwpqpv.js} +7 -7
- package/{matrixInput-DgV6Rt8a.js → matrixInput-HSdm1FUG.js} +4 -4
- package/{mdash-4WjRv6iT.js → mdash-C4CqMwkk.js} +2 -2
- package/{nbsp-yuITh3Y6.js → nbsp-CsHNdCv7.js} +2 -2
- package/{ndash-DkVZ1P1m.js → ndash-_Y3GA8Km.js} +2 -2
- package/{number-AVe_Yorf.js → number-8OOLhJnM.js} +6 -6
- package/{orbitalDiagram-BgRjqqBD.js → orbitalDiagram-DqngPagb.js} +2 -2
- package/{orbitalDiagramInput-CbCVpaO2.js → orbitalDiagramInput-C_JRrwmg.js} +2 -2
- package/{p-B9P3Wh1I.js → p-KVTTGNUY.js} +4 -4
- package/package.json +1 -1
- package/{paginatorControls-CgRMs12_.js → paginatorControls-BcnmiF8z.js} +2 -2
- package/{pegboard-DOmqpNmS.js → pegboard-C80OFUoo.js} +4 -4
- package/{point-Dek6LcYq.js → point-CQ1fXFkV.js} +6 -6
- package/{polygon-CtjOBqjz.js → polygon-CajPfXls.js} +6 -6
- package/{polyline-PBXmF4gv.js → polyline-dvPND6uf.js} +5 -5
- package/{pre-CwsrcLE-.js → pre-ByMS-MiF.js} +3 -3
- package/{prefigure-BYOevvcI.js → prefigure-1HeQVTyp.js} +1 -1
- package/{pretzel-3C2U-3Z2.js → pretzel-D8RXV1sR.js} +4 -4
- package/{q-B0j14wnX.js → q-ByXXK_CG.js} +3 -3
- package/{ray-DquLwch7.js → ray-CuVGqAIM.js} +5 -5
- package/{ref-gb-FQAGZ.js → ref-D9iyvcOu.js} +2 -2
- package/{regionBetweenCurveXAxis-BmWzX2yw.js → regionBetweenCurveXAxis-B9SiLisG.js} +5 -5
- package/{regionBetweenCurves-UTO3bi4h.js → regionBetweenCurves-20P1BrBh.js} +5 -5
- package/{row-CxL5y8rd.js → row-D2zm12Ky.js} +2 -2
- package/{rq-DObfWLeh.js → rq-DkSUG5aT.js} +2 -2
- package/{rsq-CPquodKd.js → rsq-CVF6fXCo.js} +2 -2
- package/{section-DHS5-Mky.js → section-DpKnjoKz.js} +5 -5
- package/{sha256-DT5xJ2Hv-8W5OTWey.js → sha256-DT5xJ2Hv-5XfPrC_i.js} +1 -1
- package/{sideBySide-BZMviE2e.js → sideBySide-DYSky61U.js} +2 -2
- package/{slider-DQ_e-7JO.js → slider-DvIXM3UQ.js} +3 -3
- package/{slopeField-DhpVaCAs.js → slopeField-BFGgY0Bd.js} +2 -2
- package/{solution-CeOknXdN.js → solution-B_ARlxIE.js} +4 -4
- package/{spreadsheet-Bb7QZCwp.js → spreadsheet-D72naLg7.js} +2 -2
- package/{sq-DFXnQtlX.js → sq-BymhjcPV.js} +3 -3
- package/{subsetOfRealsInput-OMZK5TMU.js → subsetOfRealsInput-CEVFMQ5S.js} +2 -2
- package/{summaryStatistics-DL5x6SV9.js → summaryStatistics-BzRFvJjc.js} +2 -2
- package/{table-Ch6FGFNm.js → table-DF-BBs2h.js} +2 -2
- package/{tabular-i1heii-8.js → tabular-mzUh-ynS.js} +2 -2
- package/{tag-BMGntAbf.js → tag-BFEbwmvq.js} +2 -2
- package/{text-Dc55QUnq.js → text-Buj_wCBZ.js} +6 -6
- package/{textInput-B3xysjq1.js → textInput-CKxCXeX_.js} +6 -6
- package/{tooltip-provider-DZ3hRPOU.js → tooltip-provider-C0qKQ8iQ.js} +1 -1
- package/{useAnchoredGraphDragHandler-BCAKAf-r.js → useAnchoredGraphDragHandler-D7Q6SVvi.js} +1 -1
- package/useDoenetRenderer-DqWxtkjw.js +114 -0
- package/{useFieldCurve-hjrRP_ku.js → useFieldCurve-DOAeD_nE.js} +2 -2
- package/{useSubmitActionWithDelay-ByB5sjDD.js → useSubmitActionWithDelay-i-9XmBgD.js} +2 -2
- package/{vector-OZe-6Ily.js → vector-9_y6eRvD.js} +6 -6
- package/{vectorField-D9u-3-c1.js → vectorField-Bqi-bQq-.js} +2 -2
- package/{video-B3Ot8JE_.js → video-Dp4_v6Tb.js} +4 -4
- package/useDoenetRenderer-D0-8JAxz.js +0 -114
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { p as jsxRuntimeExports } from "./doenetml-DciZAG_S.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DqWxtkjw.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 { p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { p as jsxRuntimeExports } from "./doenetml-DciZAG_S.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-DqWxtkjw.js";
|
|
4
|
+
import { r as renderMarkupBody } from "./markupRenderer-DCoW1x9J.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 { G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-DciZAG_S.js";
|
|
2
2
|
import React__default, { useRef, useEffect } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DqWxtkjw.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, t as useChromeLangDir, G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useT, t as useChromeLangDir, G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-DciZAG_S.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-DqWxtkjw.js";
|
|
4
|
+
import { F as FontAwesomeIcon } from "./index.es-D1nvu1l-.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-utuWJTx9.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 { G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-DciZAG_S.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-DqWxtkjw.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-jt_-0b5V.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 { E as encodeFillPatternColorToken } from "./doenetml-
|
|
1
|
+
import { E as encodeFillPatternColorToken } from "./doenetml-DciZAG_S.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, p as jsxRuntimeExports, L as Button } from "./doenetml-
|
|
1
|
+
import { u as useT, p as jsxRuntimeExports, L as Button } from "./doenetml-DciZAG_S.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-DqWxtkjw.js";
|
|
4
|
+
import { T as TooltipProvider, a as TooltipAnchor, b as Tooltip } from "./tooltip-provider-C0qKQ8iQ.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 { F as useContentT, p as jsxRuntimeExports, T as MathJax } from "./doenetml-
|
|
1
|
+
import { F as useContentT, p as jsxRuntimeExports, T as MathJax } from "./doenetml-DciZAG_S.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DqWxtkjw.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-i-9XmBgD.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-Dy5jBoGd.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();
|
package/global-config.d.ts
CHANGED
|
@@ -60,13 +60,17 @@ export declare const doenetGlobalConfig: {
|
|
|
60
60
|
*/
|
|
61
61
|
coreHandshakeWatchdogMs?: number;
|
|
62
62
|
/**
|
|
63
|
-
* Test-only seam. When set, `DocViewer` awaits this at each
|
|
64
|
-
*
|
|
65
|
-
*
|
|
66
|
-
*
|
|
67
|
-
*
|
|
68
|
-
*
|
|
63
|
+
* Test-only seam. When set, `DocViewer` awaits this at each phase of
|
|
64
|
+
* getting a document on screen: `"stateLoad"` (the saved-state load that
|
|
65
|
+
* precedes a boot), `"handshake"` (covered by the watchdog) and
|
|
66
|
+
* `"generate"` (the un-watchdogged evaluation). Throwing, rejecting, or
|
|
67
|
+
* returning a never-resolving promise lets a test deterministically
|
|
68
|
+
* simulate a slow or failing load, a hung/wedged worker handshake, or a
|
|
69
|
+
* slow-but-alive evaluation (Doenet/DoenetApps#2957) — and, by holding a
|
|
70
|
+
* phase open across a rebuild, the supersession races those waits opened
|
|
71
|
+
* up (#1714). Always `undefined` in production, where the phase is
|
|
72
|
+
* therefore never awaited at all.
|
|
69
73
|
*/
|
|
70
|
-
__doenetTestCoreInitHook?: (phase: "handshake" | "generate", attempt: number) => void | Promise<void>;
|
|
74
|
+
__doenetTestCoreInitHook?: (phase: "stateLoad" | "handshake" | "generate", attempt: number) => void | Promise<void>;
|
|
71
75
|
};
|
|
72
76
|
//# sourceMappingURL=global-config.d.ts.map
|
package/global-config.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"global-config.d.ts","sourceRoot":"","sources":["../src/global-config.ts"],"names":[],"mappings":"AAKA;;GAEG;AACH,eAAO,MAAM,kBAAkB,EAAE;IAC7B,eAAe,EAAE,MAAM,CAAC;IACxB;;;;;;;OAOG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B;;;;;OAKG;IACH,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC;;;;;;;;;;;OAWG;IACH,4BAA4B,CAAC,EAAE,MAAM;QACjC,IAAI,EAAE,WAAW,CAAC;QAClB,OAAO,EAAE,CAAC,YAAY,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;KAC7C,GAAG,IAAI,CAAC;IACT;;;;;;OAMG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B;;;;;;;;;;;;;;OAcG;IACH,uBAAuB,CAAC,EAAE,MAAM,CAAC;IACjC
|
|
1
|
+
{"version":3,"file":"global-config.d.ts","sourceRoot":"","sources":["../src/global-config.ts"],"names":[],"mappings":"AAKA;;GAEG;AACH,eAAO,MAAM,kBAAkB,EAAE;IAC7B,eAAe,EAAE,MAAM,CAAC;IACxB;;;;;;;OAOG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B;;;;;OAKG;IACH,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC;;;;;;;;;;;OAWG;IACH,4BAA4B,CAAC,EAAE,MAAM;QACjC,IAAI,EAAE,WAAW,CAAC;QAClB,OAAO,EAAE,CAAC,YAAY,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;KAC7C,GAAG,IAAI,CAAC;IACT;;;;;;OAMG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B;;;;;;;;;;;;;;OAcG;IACH,uBAAuB,CAAC,EAAE,MAAM,CAAC;IACjC;;;;;;;;;;;OAWG;IACH,wBAAwB,CAAC,EAAE,CACvB,KAAK,EAAE,WAAW,GAAG,WAAW,GAAG,UAAU,EAC7C,OAAO,EAAE,MAAM,KACd,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CAG7B,CAAC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { p as jsxRuntimeExports, aF as roundForDisplay, H as Context, G as useRecordVisibilityChanges } from "./doenetml-
|
|
1
|
+
import { p as jsxRuntimeExports, aF as roundForDisplay, H as Context, G as useRecordVisibilityChanges } from "./doenetml-DciZAG_S.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-DqWxtkjw.js";
|
|
4
|
+
import Prefigure from "./prefigure-1HeQVTyp.js";
|
|
5
|
+
import { a as accessibleLabelText, r as renderLabelWithLatex } from "./labelWithLatex-BIFvNrpS.js";
|
|
6
|
+
import GraphFrame from "./GraphFrame-DYFhUbFq.js";
|
|
7
|
+
import { J as JSXGraphRenderer } from "./JSXGraphRenderer-CYtq27Rg.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, G as useRecordVisibilityChanges, t as useChromeLangDir, p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useT, G as useRecordVisibilityChanges, t as useChromeLangDir, p as jsxRuntimeExports } from "./doenetml-DciZAG_S.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-DqWxtkjw.js";
|
|
4
|
+
import { F as FontAwesomeIcon } from "./index.es-D1nvu1l-.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-utuWJTx9.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,6 +1,6 @@
|
|
|
1
|
-
import { p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { p as jsxRuntimeExports } from "./doenetml-DciZAG_S.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DqWxtkjw.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 { z as DocContext, G as useRecordVisibilityChanges, H as Context, p as jsxRuntimeExports, g as getMediaLicenseDisplay } from "./doenetml-
|
|
1
|
+
import { z as DocContext, G as useRecordVisibilityChanges, H as Context, p as jsxRuntimeExports, g as getMediaLicenseDisplay } from "./doenetml-DciZAG_S.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-CYtq27Rg.js";
|
|
4
|
+
import { BoardContext, IMAGE_LAYER_OFFSET } from "./graph-BaPxo8Y1.js";
|
|
5
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DqWxtkjw.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-Dy5jBoGd.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-BLBBzhkX.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-D7Q6SVvi.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,13 +1,13 @@
|
|
|
1
|
-
import { z as DocContext, H as Context, p as jsxRuntimeExports, A as textRendererStyle, B as DynamicMath } from "./doenetml-
|
|
1
|
+
import { z as DocContext, H as Context, p as jsxRuntimeExports, A as textRendererStyle, B as DynamicMath } from "./doenetml-DciZAG_S.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-
|
|
3
|
+
import { j as jxg, c as computeLabelMaskCssStyle } from "./JSXGraphRenderer-CYtq27Rg.js";
|
|
4
|
+
import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-BaPxo8Y1.js";
|
|
5
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DqWxtkjw.js";
|
|
6
6
|
import { g as getPositionFromAnchorByCoordinate } from "./graph-W6vrFcBu.js";
|
|
7
|
-
import { ChoiceInputInlineContext } from "./choiceInput-
|
|
7
|
+
import { ChoiceInputInlineContext } from "./choiceInput-B8Wy64nu.js";
|
|
8
8
|
import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-DV6a8Wvg.js";
|
|
9
9
|
import { u as useDraggableRefs } from "./useDraggableRefs-QaTfkVuD.js";
|
|
10
|
-
import { d as detachAnchoredGraphElement, a as attachAnchoredGraphDragHandlers } from "./useAnchoredGraphDragHandler-
|
|
10
|
+
import { d as detachAnchoredGraphElement, a as attachAnchoredGraphDragHandlers } from "./useAnchoredGraphDragHandler-D7Q6SVvi.js";
|
|
11
11
|
import { u as useJSXGraphCleanup } from "./useJSXGraphCleanup-BNk4sn6x.js";
|
|
12
12
|
const label = React__default.memo(function Label(props) {
|
|
13
13
|
let { componentIdx, id, SVs, actions, callAction } = useDoenetRenderer(props);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { M as deepCompare, p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { M as deepCompare, p as jsxRuntimeExports } from "./doenetml-DciZAG_S.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 } from "./graph-
|
|
3
|
+
import { j as jxg } from "./JSXGraphRenderer-CYtq27Rg.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DqWxtkjw.js";
|
|
5
|
+
import { BoardContext } from "./graph-BaPxo8Y1.js";
|
|
6
6
|
import { s as styleToDash } from "./styleToDash-DWb71gbd.js";
|
|
7
7
|
const legend = React__default.memo(function Legend(props) {
|
|
8
8
|
let { id, SVs } = useDoenetRenderer(props);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { z as DocContext, p as jsxRuntimeExports, A as textRendererStyle, B as DynamicMath } from "./doenetml-
|
|
1
|
+
import { z as DocContext, p as jsxRuntimeExports, A as textRendererStyle, B as DynamicMath } from "./doenetml-DciZAG_S.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 { 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-CYtq27Rg.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DqWxtkjw.js";
|
|
5
|
+
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-BaPxo8Y1.js";
|
|
6
|
+
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-CNHbhwfs.js";
|
|
7
|
+
import { ChoiceInputInlineContext } from "./choiceInput-B8Wy64nu.js";
|
|
8
8
|
import { a as buildLineLikeAttributes } from "./buildGraphicalAttributes-0RNcbd2S.js";
|
|
9
9
|
import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-DV6a8Wvg.js";
|
|
10
10
|
import { p as pointerEventToUserCoords } from "./dragThreshold-DuSSFrIU.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useContext } from "react";
|
|
2
|
-
import { z as DocContext, V as hasNavigationModifier } from "./doenetml-
|
|
2
|
+
import { z as DocContext, V as hasNavigationModifier } from "./doenetml-DciZAG_S.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 { z as DocContext, p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { z as DocContext, p as jsxRuntimeExports } from "./doenetml-DciZAG_S.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-CYtq27Rg.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DqWxtkjw.js";
|
|
5
|
+
import { BoardContext, VERTEX_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-BaPxo8Y1.js";
|
|
6
|
+
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-CNHbhwfs.js";
|
|
7
7
|
import { a as buildLineLikeAttributes, c as buildDragHandleAttributes } from "./buildGraphicalAttributes-0RNcbd2S.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 { F as useContentT, G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { F as useContentT, G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-DciZAG_S.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-DqWxtkjw.js";
|
|
4
|
+
import { a as addCommasForCompositeRanges } from "./composites-utuWJTx9.js";
|
|
5
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-i-9XmBgD.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 { p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { p as jsxRuntimeExports } from "./doenetml-DciZAG_S.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DqWxtkjw.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 { p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { p as jsxRuntimeExports } from "./doenetml-DciZAG_S.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DqWxtkjw.js";
|
|
4
4
|
const lsq = React__default.memo(function Lsq(props) {
|
|
5
5
|
let { SVs } = useDoenetRenderer(props, false);
|
|
6
6
|
if (SVs.hidden) {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { z as DocContext, H as Context, p as jsxRuntimeExports, A as textRendererStyle, B as DynamicMath } from "./doenetml-
|
|
1
|
+
import { z as DocContext, H as Context, p as jsxRuntimeExports, A as textRendererStyle, B as DynamicMath } from "./doenetml-DciZAG_S.js";
|
|
2
2
|
import React__default, { useRef, useContext } from "react";
|
|
3
|
-
import { j as jxg } from "./JSXGraphRenderer-
|
|
4
|
-
import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-
|
|
5
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { j as jxg } from "./JSXGraphRenderer-CYtq27Rg.js";
|
|
4
|
+
import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-BaPxo8Y1.js";
|
|
5
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DqWxtkjw.js";
|
|
6
6
|
import { g as getPositionFromAnchorByCoordinate } from "./graph-W6vrFcBu.js";
|
|
7
|
-
import { ChoiceInputInlineContext } from "./choiceInput-
|
|
7
|
+
import { ChoiceInputInlineContext } from "./choiceInput-B8Wy64nu.js";
|
|
8
8
|
import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-DV6a8Wvg.js";
|
|
9
9
|
import { u as useDraggableRefs } from "./useDraggableRefs-QaTfkVuD.js";
|
|
10
|
-
import { d as detachAnchoredGraphElement, a as attachAnchoredGraphDragHandlers } from "./useAnchoredGraphDragHandler-
|
|
10
|
+
import { d as detachAnchoredGraphElement, a as attachAnchoredGraphDragHandlers } from "./useAnchoredGraphDragHandler-D7Q6SVvi.js";
|
|
11
11
|
import { u as useJSXGraphCleanup } from "./useJSXGraphCleanup-BNk4sn6x.js";
|
|
12
12
|
function getMathDelimiters(SVs) {
|
|
13
13
|
if (SVs.renderMode === "inline") {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { p as jsxRuntimeExports, F as useContentT, w as useAppSelector, aw as keyboardSlice, ax as FocusedMathInputContext, ay as LegacyKeyboardTrayContext, az as isInVirtualKeyboardTray, H as Context, aA as PopoverAnchor, T as MathJax, aB as subscribeToPrimaryPointerType, aC as hasCoarsePrimaryPointer, a9 as usePopoverStore, a2 as useStoreState, u as useT, t as useChromeLangDir, ac as Popover, aD as getVirtualKeyboardTrayElement } from "./doenetml-
|
|
1
|
+
import { p as jsxRuntimeExports, F as useContentT, w as useAppSelector, aw as keyboardSlice, ax as FocusedMathInputContext, ay as LegacyKeyboardTrayContext, az as isInVirtualKeyboardTray, H as Context, aA as PopoverAnchor, T as MathJax, aB as subscribeToPrimaryPointerType, aC as hasCoarsePrimaryPointer, a9 as usePopoverStore, a2 as useStoreState, u as useT, t as useChromeLangDir, ac as Popover, aD as getVirtualKeyboardTrayElement } from "./doenetml-DciZAG_S.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-CYtq27Rg.js";
|
|
5
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DqWxtkjw.js";
|
|
6
|
+
import { P as PropTypes } from "./index-jt_-0b5V.js";
|
|
7
|
+
import { D as DescriptionPopover, P as PopoverArrow } from "./Description-Dy5jBoGd.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-i-9XmBgD.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-BaPxo8Y1.js";
|
|
12
12
|
import { g as getPositionFromAnchorByCoordinate, P as POINTER_DRAG_THRESHOLD } from "./graph-W6vrFcBu.js";
|
|
13
13
|
const DEFAULT_MATH_INPUT_FUNCTION_NAMES = [
|
|
14
14
|
"arg",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { u as useT, F as useContentT, p as jsxRuntimeExports, R as ActionButtonGroup, S as ActionButton, T as MathJax } from "./doenetml-
|
|
1
|
+
import { u as useT, F as useContentT, p as jsxRuntimeExports, R as ActionButtonGroup, S as ActionButton, T as MathJax } from "./doenetml-DciZAG_S.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DqWxtkjw.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-i-9XmBgD.js";
|
|
6
|
+
import { D as DescriptionPopover } from "./Description-Dy5jBoGd.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 { p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { p as jsxRuntimeExports } from "./doenetml-DciZAG_S.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DqWxtkjw.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 { p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { p as jsxRuntimeExports } from "./doenetml-DciZAG_S.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DqWxtkjw.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 { p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { p as jsxRuntimeExports } from "./doenetml-DciZAG_S.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DqWxtkjw.js";
|
|
4
4
|
const ndash = React__default.memo(function Ndash(props) {
|
|
5
5
|
let { SVs } = useDoenetRenderer(props);
|
|
6
6
|
if (SVs.hidden) {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { z as DocContext, H as Context, p as jsxRuntimeExports, A as textRendererStyle, B as DynamicMath } from "./doenetml-
|
|
1
|
+
import { z as DocContext, H as Context, p as jsxRuntimeExports, A as textRendererStyle, B as DynamicMath } from "./doenetml-DciZAG_S.js";
|
|
2
2
|
import React__default, { useRef, useContext } from "react";
|
|
3
|
-
import { j as jxg } from "./JSXGraphRenderer-
|
|
4
|
-
import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-
|
|
5
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { j as jxg } from "./JSXGraphRenderer-CYtq27Rg.js";
|
|
4
|
+
import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-BaPxo8Y1.js";
|
|
5
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DqWxtkjw.js";
|
|
6
6
|
import { g as getPositionFromAnchorByCoordinate } from "./graph-W6vrFcBu.js";
|
|
7
|
-
import { ChoiceInputInlineContext } from "./choiceInput-
|
|
7
|
+
import { ChoiceInputInlineContext } from "./choiceInput-B8Wy64nu.js";
|
|
8
8
|
import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-DV6a8Wvg.js";
|
|
9
9
|
import { u as useDraggableRefs } from "./useDraggableRefs-QaTfkVuD.js";
|
|
10
|
-
import { d as detachAnchoredGraphElement, a as attachAnchoredGraphDragHandlers } from "./useAnchoredGraphDragHandler-
|
|
10
|
+
import { d as detachAnchoredGraphElement, a as attachAnchoredGraphDragHandlers } from "./useAnchoredGraphDragHandler-D7Q6SVvi.js";
|
|
11
11
|
import { u as useJSXGraphCleanup } from "./useJSXGraphCleanup-BNk4sn6x.js";
|
|
12
12
|
const number = React__default.memo(function NumberComponent(props) {
|
|
13
13
|
let { componentIdx, id, SVs, actions, callAction } = useDoenetRenderer(props);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-DciZAG_S.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DqWxtkjw.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, G as useRecordVisibilityChanges, p as jsxRuntimeExports, J as Button2 } from "./doenetml-
|
|
1
|
+
import { u as useT, G as useRecordVisibilityChanges, p as jsxRuntimeExports, J as Button2 } from "./doenetml-DciZAG_S.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DqWxtkjw.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 { F as useContentT, G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { F as useContentT, G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-DciZAG_S.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-DqWxtkjw.js";
|
|
4
|
+
import { a as addCommasForCompositeRanges } from "./composites-utuWJTx9.js";
|
|
5
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-i-9XmBgD.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.24-dev.
|
|
5
|
+
"version": "0.7.24-dev.485",
|
|
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 { p as jsxRuntimeExports, J as Button2 } from "./doenetml-
|
|
1
|
+
import { p as jsxRuntimeExports, J as Button2 } from "./doenetml-DciZAG_S.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DqWxtkjw.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 { H as Context } from "./doenetml-
|
|
2
|
+
import { j as jxg } from "./JSXGraphRenderer-CYtq27Rg.js";
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DqWxtkjw.js";
|
|
4
|
+
import { BoardContext, BASE_LAYER_OFFSET } from "./graph-BaPxo8Y1.js";
|
|
5
|
+
import { H as Context } from "./doenetml-DciZAG_S.js";
|
|
6
6
|
const { round } = Context.math;
|
|
7
7
|
function latticeIsDrawable(...range) {
|
|
8
8
|
return range.every(Number.isFinite);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { z as DocContext, A as textRendererStyle, p as jsxRuntimeExports, B as DynamicMath } from "./doenetml-
|
|
1
|
+
import { z as DocContext, A as textRendererStyle, p as jsxRuntimeExports, B as DynamicMath } from "./doenetml-DciZAG_S.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-
|
|
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-CYtq27Rg.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DqWxtkjw.js";
|
|
5
|
+
import { BoardContext, POINT_LAYER_OFFSET } from "./graph-BaPxo8Y1.js";
|
|
6
6
|
import { c as characterizeOffGraphPoint } from "./offGraphIndicators-CYoqQHuD.js";
|
|
7
7
|
import { n as normalizePointStyle, a as normalizePointSize, b as adjustPointLabelPosition, e as calculatePointLabelAnchor } from "./graph-W6vrFcBu.js";
|
|
8
|
-
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-
|
|
9
|
-
import { ChoiceInputInlineContext } from "./choiceInput-
|
|
8
|
+
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-CNHbhwfs.js";
|
|
9
|
+
import { ChoiceInputInlineContext } from "./choiceInput-B8Wy64nu.js";
|
|
10
10
|
import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-DV6a8Wvg.js";
|
|
11
11
|
import { p as pointerEventToUserCoords } from "./dragThreshold-DuSSFrIU.js";
|
|
12
12
|
import { c as resolveMarkerColor } from "./styleColors-Cknqcr0q.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { z as DocContext, p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { z as DocContext, p as jsxRuntimeExports } from "./doenetml-DciZAG_S.js";
|
|
2
2
|
import React__default, { useContext, useRef } from "react";
|
|
3
|
-
import { r as removeJXGEventHandlers, j as jxg, g as syncVisPropValues, s as syncLayer, f as syncLabelStrokeColor, b as syncLabelMaskCssStyle, e as syncLineStrokeStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-
|
|
4
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
5
|
-
import { BoardContext, LINE_LAYER_OFFSET, VERTEX_LAYER_OFFSET } from "./graph-
|
|
6
|
-
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-
|
|
3
|
+
import { r as removeJXGEventHandlers, j as jxg, g as syncVisPropValues, s as syncLayer, f as syncLabelStrokeColor, b as syncLabelMaskCssStyle, e as syncLineStrokeStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-CYtq27Rg.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DqWxtkjw.js";
|
|
5
|
+
import { BoardContext, LINE_LAYER_OFFSET, VERTEX_LAYER_OFFSET } from "./graph-BaPxo8Y1.js";
|
|
6
|
+
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-CNHbhwfs.js";
|
|
7
7
|
import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-DV6a8Wvg.js";
|
|
8
8
|
import { p as pointerEventToUserCoords } from "./dragThreshold-DuSSFrIU.js";
|
|
9
9
|
import { a as resolveLineColor, r as resolveFillColor, b as resolveCanvasColor, d as resolveHandleColor } from "./styleColors-Cknqcr0q.js";
|
|
@@ -11,7 +11,7 @@ import { s as styleToDash } from "./styleToDash-DWb71gbd.js";
|
|
|
11
11
|
import { u as useDraggableRefs } from "./useDraggableRefs-QaTfkVuD.js";
|
|
12
12
|
import { u as useJSXGraphCleanup } from "./useJSXGraphCleanup-BNk4sn6x.js";
|
|
13
13
|
import { d as buildBaseAttributes } from "./buildGraphicalAttributes-0RNcbd2S.js";
|
|
14
|
-
import { g as getPatternFillAttributes } from "./fillPatterns-
|
|
14
|
+
import { g as getPatternFillAttributes } from "./fillPatterns-CDmt71wM.js";
|
|
15
15
|
const polygon = React__default.memo(function Polygon(props) {
|
|
16
16
|
let { componentIdx, id, SVs, actions, sourceOfUpdate, callAction } = useDoenetRenderer(props);
|
|
17
17
|
Polygon.ignoreActionsWithoutCore = () => true;
|