@doenet/doenetml 0.7.20-dev.312 → 0.7.20-dev.314
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-DxoUVG9J.js → AnswerResponseButton-CiRNQDkk.js} +2 -2
- package/{Description-BQlDpTEW.js → Description-Dtbg0fpJ.js} +1 -1
- package/{GraphFrame-CuvHdDgq.js → GraphFrame-DQeTtfXQ.js} +2 -2
- package/{JSXGraphRenderer-BOzKpTdd.js → JSXGraphRenderer-DXTUSosW.js} +1 -1
- package/{NonInlineMediaWrapper-BO5mYi-I.js → NonInlineMediaWrapper-CrVGag52.js} +1 -1
- package/Viewer/renderers/angle.d.ts.map +1 -1
- package/Viewer/renderers/answer.d.ts.map +1 -1
- package/Viewer/renderers/label.d.ts.map +1 -1
- package/Viewer/renderers/line.d.ts.map +1 -1
- package/Viewer/renderers/math.d.ts.map +1 -1
- package/Viewer/renderers/number.d.ts.map +1 -1
- package/Viewer/renderers/point.d.ts.map +1 -1
- package/Viewer/renderers/utils/DynamicMath.d.ts +25 -0
- package/Viewer/renderers/utils/DynamicMath.d.ts.map +1 -0
- package/Viewer/renderers/utils/labelWithLatex.d.ts.map +1 -1
- package/Viewer/renderers/vector.d.ts.map +1 -1
- package/{_error--gnqS_Cc.js → _error-BRhFHbK8.js} +2 -2
- package/{alert-mEWnrqFn.js → alert-Cz6izeq3.js} +3 -3
- package/{angle-CGc8RvVx.js → angle-D_iekSNn.js} +7 -7
- package/{answer-BSDWUlLH.js → answer-1f2NkfC0.js} +6 -6
- package/{asList-DJukSzH2.js → asList-D4hiNpz-.js} +2 -2
- package/{blockQuote-B5HDe9_d.js → blockQuote-x1--I760.js} +3 -3
- package/{boolean-DReYcHhK.js → boolean-BYGrs76j.js} +2 -2
- package/{booleanInput-DpOzfB4V.js → booleanInput-DYE1w3LD.js} +6 -6
- package/{br-BfJiEL6k.js → br-BzkMqYuD.js} +2 -2
- package/{button-DoRESk8x.js → button-CRqE1tsC.js} +4 -4
- package/{c-B69rXdyO.js → c-BHOryYDz.js} +3 -3
- package/{cell-D94t7isO.js → cell-C03X9gmD.js} +3 -3
- package/{choiceInput-C1s6t1vp.js → choiceInput-BFXDUvNz.js} +4 -4
- package/{circle-B0iGK0Vg.js → circle-CoIOk1wQ.js} +5 -5
- package/{cobwebPolyline-BJ4xMoeK.js → cobwebPolyline-BFJojr_D.js} +4 -4
- package/{codeEditor-0tF1z4w6.js → codeEditor-C_WxAh0Y.js} +2 -2
- package/{composites-CFYSb7v0.js → composites-C4lhzFZo.js} +1 -1
- package/{containerBlock-BHb20rW8.js → containerBlock-Q1XvK22P.js} +4 -4
- package/{containerInline-qqXkrPWC.js → containerInline-DGIGDg83.js} +4 -4
- package/{curve-DNTaiilA.js → curve-DcKNQ4Kz.js} +4 -4
- package/{doenetml-B40wNOxL.js → doenetml-CVtfzUck.js} +151 -67
- package/doenetml-inline-worker.js +2 -2
- package/{ellipsis-BzBUT01-.js → ellipsis-Dbe1pFFH.js} +2 -2
- package/{em-Drac3kyc.js → em-DKjg8lu6.js} +3 -3
- package/{embed-eX-vyjbe.js → embed-xTwIo3rl.js} +2 -2
- package/{feedback-DhE5ZszX.js → feedback-DxgOg5wz.js} +4 -4
- package/{figure-GN0sirBO.js → figure-FtqA6IS4.js} +3 -3
- package/{fillPatterns-N9QFaocE.js → fillPatterns-C3JuhCEv.js} +1 -1
- package/{footnote-Lq6OSVPA.js → footnote-D-wv680X.js} +3 -3
- package/{fractionInput-Ds3Q4iDt.js → fractionInput-C-0_Lh92.js} +4 -4
- package/{graph-3R7C5cfM.js → graph-DI6rClAs.js} +6 -6
- package/{hint-7qQqMG7S.js → hint-D--xKdKK.js} +4 -4
- package/{hr-Dmu8wzGU.js → hr-BOLAFmYk.js} +2 -2
- package/{image-Bc0G2MtM.js → image-BqEpw5il.js} +7 -7
- package/{index-BGpr8vdT.js → index-CgIVilS0.js} +1 -1
- package/{index.es-DZph8YfV.js → index.es-D15M8_qe.js} +1 -1
- package/index.js +1 -1
- package/{label-BBeVslu0.js → label-BVH6ieXC.js} +7 -7
- package/{labelWithLatex-CKfa0Ss3.js → labelWithLatex-CvFirg3n.js} +2 -2
- package/{legend-MGE0n882.js → legend-nJHE8oqg.js} +4 -4
- package/{line-CWRKiDi-.js → line-BZJDGv87.js} +6 -6
- package/{lineSegment-CPHVL1Lq.js → lineSegment-CSrBTpnV.js} +4 -4
- package/{list-BzRIdAAK.js → list-D65_oYuY.js} +4 -4
- package/{lq-BcMgWtU1.js → lq-CBqNNz3G.js} +2 -2
- package/{lsq-ApHtZGB1.js → lsq-K3XjaXqe.js} +2 -2
- package/{markupRenderer-OMnWKMCh.js → markupRenderer-BImj5ysD.js} +1 -1
- package/{math-BBeeZQxo.js → math-BGK8VrLz.js} +7 -8
- package/{mathInput-gz7Powg7.js → mathInput-Do6kAhnM.js} +5 -5
- package/{matrixInput-B0dE9Yf-.js → matrixInput-Dk9yGska.js} +4 -4
- package/{mdash-CKo8Hq6y.js → mdash-BJFCsNNC.js} +2 -2
- package/{nbsp-B0g0yKGD.js → nbsp-B9325-Gc.js} +2 -2
- package/{ndash-D8g5dK9R.js → ndash-B2df5nIG.js} +2 -2
- package/{number-C4dwUepQ.js → number-DjhKxqNt.js} +7 -7
- package/{orbitalDiagram-CkUFCUhH.js → orbitalDiagram-BSvivjnx.js} +2 -2
- package/{orbitalDiagramInput-CA7ALRKw.js → orbitalDiagramInput-PDaj8an3.js} +2 -2
- package/{p-dNesGl7y.js → p-dxu1bQfB.js} +4 -4
- package/package.json +1 -1
- package/{paginatorControls-dzc6Bz66.js → paginatorControls-Ce-gIGnb.js} +2 -2
- package/{pegboard-BuJhwqJ3.js → pegboard-Ctf3Za3n.js} +4 -4
- package/{point--JI4dgT_.js → point-B_FM2eEi.js} +6 -6
- package/{polygon-CeviWAsR.js → polygon-CSxHL_tF.js} +5 -5
- package/{polyline-BzOg4xJX.js → polyline-DW7rB9Q4.js} +4 -4
- package/{pre-Di8czc9f.js → pre-BgTf9L_1.js} +3 -3
- package/{prefigure-DfRAL724.js → prefigure-C5snxl4O.js} +1 -1
- package/{pretzel-ruve715s.js → pretzel-C3L-MNrj.js} +4 -4
- package/{q-Znh7xskp.js → q-DmVtlPVd.js} +3 -3
- package/{ray-DrR0bWfB.js → ray-C0dTG3fu.js} +4 -4
- package/{ref-BfWemFs1.js → ref-CSI25f1d.js} +2 -2
- package/{regionBetweenCurveXAxis-Cr2DS7Kb.js → regionBetweenCurveXAxis-M1aZCAh_.js} +5 -5
- package/{regionBetweenCurves-ByK91Am_.js → regionBetweenCurves-BrdeHWZ1.js} +5 -5
- package/{row-SSPe5IvC.js → row-Cme62ZUT.js} +2 -2
- package/{rq-Df9PrY5-.js → rq-l2YVdxg8.js} +2 -2
- package/{rsq-BdUrtv5F.js → rsq-CUv-1slA.js} +2 -2
- package/{section-ELnhvmGD.js → section-BZi63FfU.js} +5 -5
- package/{sha256-C0vj3HDn-DRhnsFBS.js → sha256-C0vj3HDn-CwyO0a3t.js} +1 -1
- package/{sideBySide-CZYA_QoX.js → sideBySide-DckexN5b.js} +2 -2
- package/{slider-DxlnPFzu.js → slider-CiY5ndOW.js} +3 -3
- package/{solution-CXXW3-MF.js → solution-DbjNYfX2.js} +4 -4
- package/{spreadsheet-DdW4FWWh.js → spreadsheet-BT75LlVE.js} +2 -2
- package/{sq-CgiPY-JT.js → sq-txtyc2FV.js} +3 -3
- package/{subsetOfRealsInput-Cxhq6vJJ.js → subsetOfRealsInput-B7MKFCIn.js} +2 -2
- package/{summaryStatistics-D8qTNe4c.js → summaryStatistics-MVmSE86t.js} +2 -2
- package/{table-Ke5_0h4M.js → table-CNuvOYw8.js} +2 -2
- package/{tabular-UjhV3ogI.js → tabular-CWsgPtBE.js} +2 -2
- package/{tag-DWmzB0Xe.js → tag-DG3ZBcyS.js} +2 -2
- package/{text-D-W887rc.js → text-BYvGY30m.js} +6 -6
- package/{textInput-BY2Md0ON.js → textInput-Bw1QoXBR.js} +6 -6
- package/{tooltip-provider-BNqQrZ2M.js → tooltip-provider-BT1FtxeZ.js} +1 -1
- package/{useAnchoredGraphDragHandler-CI_PqnWq.js → useAnchoredGraphDragHandler-BW74Dr6I.js} +1 -1
- package/useDoenetRenderer-BF76vylQ.js +114 -0
- package/{useSubmitActionWithDelay-LSS6yd10.js → useSubmitActionWithDelay-inCDr5aI.js} +2 -2
- package/{vector-COavI6aB.js → vector-C-WWCq6y.js} +6 -6
- package/{video-C6ogIfeH.js → video-bjQrfsvF.js} +4 -4
- package/useDoenetRenderer-BN0elJwP.js +0 -114
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { j as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { j as jsxRuntimeExports } from "./doenetml-CVtfzUck.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BF76vylQ.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 { j as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { j as jsxRuntimeExports } from "./doenetml-CVtfzUck.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-BF76vylQ.js";
|
|
4
|
+
import { r as renderMarkupBody } from "./markupRenderer-BImj5ysD.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 { u as useRecordVisibilityChanges, j as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useRecordVisibilityChanges, j as jsxRuntimeExports } from "./doenetml-CVtfzUck.js";
|
|
2
2
|
import React__default, { useRef, useEffect } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BF76vylQ.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 useRecordVisibilityChanges, j as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useRecordVisibilityChanges, j as jsxRuntimeExports } from "./doenetml-CVtfzUck.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-BF76vylQ.js";
|
|
4
|
+
import { F as FontAwesomeIcon } from "./index.es-D15M8_qe.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-C4lhzFZo.js";
|
|
7
7
|
const feedback = React__default.memo(function Feedback(props) {
|
|
8
8
|
let { id, SVs, children, actions, callAction } = useDoenetRenderer(props);
|
|
9
9
|
const ref = useRef(null);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { u as useRecordVisibilityChanges, j as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useRecordVisibilityChanges, j as jsxRuntimeExports } from "./doenetml-CVtfzUck.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-BF76vylQ.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-CgIVilS0.js";
|
|
6
6
|
function _inheritsLoose(t, o) {
|
|
7
7
|
t.prototype = Object.create(o.prototype), t.prototype.constructor = t, _setPrototypeOf(t, o);
|
|
8
8
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { y as encodeFillPatternColorToken } from "./doenetml-CVtfzUck.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 { j as jsxRuntimeExports,
|
|
1
|
+
import { j as jsxRuntimeExports, q as Button } from "./doenetml-CVtfzUck.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-BF76vylQ.js";
|
|
4
|
+
import { T as TooltipProvider, a as TooltipAnchor, b as Tooltip } from "./tooltip-provider-BT1FtxeZ.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 { j as jsxRuntimeExports, M as MathJax } from "./doenetml-
|
|
1
|
+
import { j as jsxRuntimeExports, M as MathJax } from "./doenetml-CVtfzUck.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BF76vylQ.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-inCDr5aI.js";
|
|
6
6
|
import { a as addValidationStateToShortDescription } from "./validationState-CVwSJZpB.js";
|
|
7
|
-
import { D as DescriptionPopover } from "./Description-
|
|
7
|
+
import { D as DescriptionPopover } from "./Description-Dtbg0fpJ.js";
|
|
8
8
|
const fractionInput = React__default.memo(function FractionInput(props) {
|
|
9
9
|
let { id, SVs, actions, children, callAction } = useDoenetRenderer(props);
|
|
10
10
|
let validationState = useRef("unvalidated");
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { j as jsxRuntimeExports,
|
|
1
|
+
import { j as jsxRuntimeExports, an as roundForDisplay, n as Context, u as useRecordVisibilityChanges } from "./doenetml-CVtfzUck.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-BF76vylQ.js";
|
|
4
|
+
import Prefigure from "./prefigure-C5snxl4O.js";
|
|
5
|
+
import { a as accessibleLabelText, r as renderLabelWithLatex } from "./labelWithLatex-CvFirg3n.js";
|
|
6
|
+
import GraphFrame from "./GraphFrame-DQeTtfXQ.js";
|
|
7
|
+
import { J as JSXGraphRenderer } from "./JSXGraphRenderer-DXTUSosW.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 useRecordVisibilityChanges, j as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useRecordVisibilityChanges, j as jsxRuntimeExports } from "./doenetml-CVtfzUck.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-BF76vylQ.js";
|
|
4
|
+
import { F as FontAwesomeIcon } from "./index.es-D15M8_qe.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-C4lhzFZo.js";
|
|
8
8
|
const hint = React__default.memo(function Hint(props) {
|
|
9
9
|
let { id, SVs, children, actions, callAction } = useDoenetRenderer(props);
|
|
10
10
|
const ref = useRef(null);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { j as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { j as jsxRuntimeExports } from "./doenetml-CVtfzUck.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BF76vylQ.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 { k as DocContext, u as useRecordVisibilityChanges,
|
|
1
|
+
import { k as DocContext, u as useRecordVisibilityChanges, n as Context, j as jsxRuntimeExports, g as getMediaLicenseDisplay } from "./doenetml-CVtfzUck.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-DXTUSosW.js";
|
|
4
|
+
import { BoardContext, IMAGE_LAYER_OFFSET } from "./graph-DI6rClAs.js";
|
|
5
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BF76vylQ.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-Dtbg0fpJ.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-CrVGag52.js";
|
|
10
10
|
import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-DV6a8Wvg.js";
|
|
11
11
|
import { u as useDraggableRefs, a as useJSXGraphCleanup } from "./useJSXGraphCleanup-CX91oVW8.js";
|
|
12
|
-
import { d as detachAnchoredGraphElement, a as attachAnchoredGraphDragHandlers } from "./useAnchoredGraphDragHandler-
|
|
12
|
+
import { d as detachAnchoredGraphElement, a as attachAnchoredGraphDragHandlers } from "./useAnchoredGraphDragHandler-BW74Dr6I.js";
|
|
13
13
|
const image = React__default.memo(function Image(props) {
|
|
14
14
|
let { componentIdx, id, SVs, children, actions, callAction } = useDoenetRenderer(props, false);
|
|
15
15
|
Image.ignoreActionsWithoutCore = () => true;
|
package/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { k as DocContext,
|
|
1
|
+
import { k as DocContext, n as Context, j as jsxRuntimeExports, t as textRendererStyle, l as DynamicMath } from "./doenetml-CVtfzUck.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-DXTUSosW.js";
|
|
4
|
+
import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-DI6rClAs.js";
|
|
5
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BF76vylQ.js";
|
|
6
6
|
import { g as getPositionFromAnchorByCoordinate } from "./graph-W6vrFcBu.js";
|
|
7
|
-
import { ChoiceInputInlineContext } from "./choiceInput-
|
|
7
|
+
import { ChoiceInputInlineContext } from "./choiceInput-BFXDUvNz.js";
|
|
8
8
|
import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-DV6a8Wvg.js";
|
|
9
9
|
import { u as useDraggableRefs, a as useJSXGraphCleanup } from "./useJSXGraphCleanup-CX91oVW8.js";
|
|
10
|
-
import { d as detachAnchoredGraphElement, a as attachAnchoredGraphDragHandlers } from "./useAnchoredGraphDragHandler-
|
|
10
|
+
import { d as detachAnchoredGraphElement, a as attachAnchoredGraphDragHandlers } from "./useAnchoredGraphDragHandler-BW74Dr6I.js";
|
|
11
11
|
const label = React__default.memo(function Label(props) {
|
|
12
12
|
let { componentIdx, id, SVs, actions, callAction } = useDoenetRenderer(props);
|
|
13
13
|
Label.ignoreActionsWithoutCore = () => true;
|
|
@@ -214,7 +214,7 @@ const label = React__default.memo(function Label(props) {
|
|
|
214
214
|
const style = !choiceInputInlineContext.inOption ? textRendererStyle(darkMode ?? "light", SVs.selectedStyle) : void 0;
|
|
215
215
|
let label2 = SVs.value;
|
|
216
216
|
if (SVs.hasLatex) {
|
|
217
|
-
label2 = /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
217
|
+
label2 = /* @__PURE__ */ jsxRuntimeExports.jsx(DynamicMath, { latex: SVs.value });
|
|
218
218
|
}
|
|
219
219
|
if (SVs.forTargetRendererId) {
|
|
220
220
|
if (SVs.forTargetIsGroup) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { j as jsxRuntimeExports,
|
|
1
|
+
import { j as jsxRuntimeExports, l as DynamicMath } from "./doenetml-CVtfzUck.js";
|
|
2
2
|
function renderLabelWithLatex({
|
|
3
3
|
label,
|
|
4
4
|
labelHasLatex
|
|
5
5
|
}) {
|
|
6
6
|
if (labelHasLatex) {
|
|
7
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
7
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(DynamicMath, { latex: label });
|
|
8
8
|
}
|
|
9
9
|
return label;
|
|
10
10
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { z as deepCompare, j as jsxRuntimeExports } from "./doenetml-CVtfzUck.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-DXTUSosW.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BF76vylQ.js";
|
|
5
|
+
import { BoardContext } from "./graph-DI6rClAs.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,9 +1,9 @@
|
|
|
1
|
-
import { k as DocContext, j as jsxRuntimeExports, t as textRendererStyle,
|
|
1
|
+
import { k as DocContext, j as jsxRuntimeExports, t as textRendererStyle, l as DynamicMath } from "./doenetml-CVtfzUck.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 { 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-DXTUSosW.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BF76vylQ.js";
|
|
5
|
+
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-DI6rClAs.js";
|
|
6
|
+
import { ChoiceInputInlineContext } from "./choiceInput-BFXDUvNz.js";
|
|
7
7
|
import { a as buildLineLikeAttributes } from "./buildGraphicalAttributes-WXpVD4ud.js";
|
|
8
8
|
import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-DV6a8Wvg.js";
|
|
9
9
|
import { p as pointerEventToUserCoords } from "./dragThreshold-DuSSFrIU.js";
|
|
@@ -248,7 +248,7 @@ const line = React__default.memo(function Line(props) {
|
|
|
248
248
|
}
|
|
249
249
|
const mathJaxify = "\\(" + SVs.latex + "\\)";
|
|
250
250
|
const style = !choiceInputInlineContext.inOption ? textRendererStyle(darkMode ?? "light", SVs.selectedStyle) : void 0;
|
|
251
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx("span", { style, id, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
251
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx("span", { style, id, children: /* @__PURE__ */ jsxRuntimeExports.jsx(DynamicMath, { latex: mathJaxify }) });
|
|
252
252
|
});
|
|
253
253
|
export {
|
|
254
254
|
line as default
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { k as DocContext, j as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { k as DocContext, j as jsxRuntimeExports } from "./doenetml-CVtfzUck.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-
|
|
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-DXTUSosW.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BF76vylQ.js";
|
|
5
|
+
import { BoardContext, VERTEX_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-DI6rClAs.js";
|
|
6
6
|
import { a as buildLineLikeAttributes } from "./buildGraphicalAttributes-WXpVD4ud.js";
|
|
7
7
|
import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-DV6a8Wvg.js";
|
|
8
8
|
import { p as pointerEventToUserCoords } from "./dragThreshold-DuSSFrIU.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { u as useRecordVisibilityChanges, j as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useRecordVisibilityChanges, j as jsxRuntimeExports } from "./doenetml-CVtfzUck.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-BF76vylQ.js";
|
|
4
|
+
import { a as addCommasForCompositeRanges } from "./composites-C4lhzFZo.js";
|
|
5
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-inCDr5aI.js";
|
|
6
6
|
const list = React__default.memo(function List(props) {
|
|
7
7
|
let { id, SVs, children, actions, callAction } = useDoenetRenderer(props);
|
|
8
8
|
const ref = useRef(null);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { j as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { j as jsxRuntimeExports } from "./doenetml-CVtfzUck.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BF76vylQ.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 { j as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { j as jsxRuntimeExports } from "./doenetml-CVtfzUck.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BF76vylQ.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 { k as DocContext,
|
|
1
|
+
import { k as DocContext, n as Context, j as jsxRuntimeExports, t as textRendererStyle, l as DynamicMath } from "./doenetml-CVtfzUck.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-DXTUSosW.js";
|
|
4
|
+
import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-DI6rClAs.js";
|
|
5
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BF76vylQ.js";
|
|
6
6
|
import { g as getPositionFromAnchorByCoordinate } from "./graph-W6vrFcBu.js";
|
|
7
|
-
import { ChoiceInputInlineContext } from "./choiceInput-
|
|
7
|
+
import { ChoiceInputInlineContext } from "./choiceInput-BFXDUvNz.js";
|
|
8
8
|
import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-DV6a8Wvg.js";
|
|
9
9
|
import { u as useDraggableRefs, a as useJSXGraphCleanup } from "./useJSXGraphCleanup-CX91oVW8.js";
|
|
10
|
-
import { d as detachAnchoredGraphElement, a as attachAnchoredGraphDragHandlers } from "./useAnchoredGraphDragHandler-
|
|
10
|
+
import { d as detachAnchoredGraphElement, a as attachAnchoredGraphDragHandlers } from "./useAnchoredGraphDragHandler-BW74Dr6I.js";
|
|
11
11
|
function getMathDelimiters(SVs) {
|
|
12
12
|
if (SVs.renderMode === "inline") {
|
|
13
13
|
return ["\\(", "\\)"];
|
|
@@ -230,10 +230,9 @@ const math = React__default.memo(function MathComponent(props) {
|
|
|
230
230
|
);
|
|
231
231
|
}
|
|
232
232
|
const style = !choiceInputInlineContext.inOption ? textRendererStyle(darkMode ?? "light", SVs.selectedStyle) : void 0;
|
|
233
|
-
const hideUntilTypeset = !choiceInputInlineContext.isHidden ? "first" : void 0;
|
|
234
233
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
|
|
235
234
|
anchors,
|
|
236
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { style, id, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
235
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { style, id, children: /* @__PURE__ */ jsxRuntimeExports.jsx(DynamicMath, { latex: latexWithDelims }) })
|
|
237
236
|
] });
|
|
238
237
|
});
|
|
239
238
|
export {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { j as jsxRuntimeExports,
|
|
1
|
+
import { j as jsxRuntimeExports, v as useAppSelector, a0 as keyboardSlice, a1 as FocusedMathInputContext, a2 as DEFAULT_MATH_INPUT_FUNCTION_NAMES, a3 as PopoverAnchor, M as MathJax, X as usePopoverStore, P as useStoreState, $ as Popover } from "./doenetml-CVtfzUck.js";
|
|
2
2
|
import React__default, { useRef, useEffect, useContext, useState, useMemo } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
4
|
-
import { P as PropTypes } from "./index-
|
|
5
|
-
import { D as DescriptionPopover, P as PopoverArrow } from "./Description-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BF76vylQ.js";
|
|
4
|
+
import { P as PropTypes } from "./index-CgIVilS0.js";
|
|
5
|
+
import { D as DescriptionPopover, P as PopoverArrow } from "./Description-Dtbg0fpJ.js";
|
|
6
6
|
/* empty css */
|
|
7
|
-
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-
|
|
7
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-inCDr5aI.js";
|
|
8
8
|
import { a as addValidationStateToShortDescription } from "./validationState-CVwSJZpB.js";
|
|
9
9
|
var __extends = /* @__PURE__ */ (function() {
|
|
10
10
|
var extendStatics = function(d, b) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { j as jsxRuntimeExports, A as ActionButtonGroup,
|
|
1
|
+
import { j as jsxRuntimeExports, A as ActionButtonGroup, E as ActionButton, M as MathJax } from "./doenetml-CVtfzUck.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BF76vylQ.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-inCDr5aI.js";
|
|
6
|
+
import { D as DescriptionPopover } from "./Description-Dtbg0fpJ.js";
|
|
7
7
|
const matrixInput = React__default.memo(function MatrixInput(props) {
|
|
8
8
|
let { id, SVs, actions, children, callAction } = useDoenetRenderer(props);
|
|
9
9
|
let validationState = useRef("unvalidated");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { j as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { j as jsxRuntimeExports } from "./doenetml-CVtfzUck.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BF76vylQ.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 { j as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { j as jsxRuntimeExports } from "./doenetml-CVtfzUck.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BF76vylQ.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 { j as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { j as jsxRuntimeExports } from "./doenetml-CVtfzUck.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BF76vylQ.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 { k as DocContext,
|
|
1
|
+
import { k as DocContext, n as Context, j as jsxRuntimeExports, t as textRendererStyle, l as DynamicMath } from "./doenetml-CVtfzUck.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-DXTUSosW.js";
|
|
4
|
+
import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-DI6rClAs.js";
|
|
5
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BF76vylQ.js";
|
|
6
6
|
import { g as getPositionFromAnchorByCoordinate } from "./graph-W6vrFcBu.js";
|
|
7
|
-
import { ChoiceInputInlineContext } from "./choiceInput-
|
|
7
|
+
import { ChoiceInputInlineContext } from "./choiceInput-BFXDUvNz.js";
|
|
8
8
|
import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-DV6a8Wvg.js";
|
|
9
9
|
import { u as useDraggableRefs, a as useJSXGraphCleanup } from "./useJSXGraphCleanup-CX91oVW8.js";
|
|
10
|
-
import { d as detachAnchoredGraphElement, a as attachAnchoredGraphDragHandlers } from "./useAnchoredGraphDragHandler-
|
|
10
|
+
import { d as detachAnchoredGraphElement, a as attachAnchoredGraphDragHandlers } from "./useAnchoredGraphDragHandler-BW74Dr6I.js";
|
|
11
11
|
const number = React__default.memo(function NumberComponent(props) {
|
|
12
12
|
let { componentIdx, id, SVs, actions, callAction } = useDoenetRenderer(props);
|
|
13
13
|
NumberComponent.ignoreActionsWithoutCore = () => true;
|
|
@@ -201,7 +201,7 @@ const number = React__default.memo(function NumberComponent(props) {
|
|
|
201
201
|
number2 = "\\(" + number2 + "\\)";
|
|
202
202
|
}
|
|
203
203
|
const style = !choiceInputInlineContext.inOption ? textRendererStyle(darkMode ?? "light", SVs.selectedStyle) : void 0;
|
|
204
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx("span", { style, id, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
204
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx("span", { style, id, children: /* @__PURE__ */ jsxRuntimeExports.jsx(DynamicMath, { latex: number2 }) });
|
|
205
205
|
});
|
|
206
206
|
export {
|
|
207
207
|
number as default
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { u as useRecordVisibilityChanges, j as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useRecordVisibilityChanges, j as jsxRuntimeExports } from "./doenetml-CVtfzUck.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BF76vylQ.js";
|
|
4
4
|
const ORBITAL_ARROW_STYLE = {
|
|
5
5
|
fill: "none",
|
|
6
6
|
stroke: "var(--canvasText)",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { u as useRecordVisibilityChanges, j as jsxRuntimeExports, B as Button2 } from "./doenetml-
|
|
1
|
+
import { u as useRecordVisibilityChanges, j as jsxRuntimeExports, B as Button2 } from "./doenetml-CVtfzUck.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BF76vylQ.js";
|
|
4
4
|
const ORBITAL_ARROW_STYLE = {
|
|
5
5
|
fill: "none",
|
|
6
6
|
stroke: "var(--canvasText)",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { u as useRecordVisibilityChanges, j as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useRecordVisibilityChanges, j as jsxRuntimeExports } from "./doenetml-CVtfzUck.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-BF76vylQ.js";
|
|
4
|
+
import { a as addCommasForCompositeRanges } from "./composites-C4lhzFZo.js";
|
|
5
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-inCDr5aI.js";
|
|
6
6
|
const p = React__default.memo(function P(props) {
|
|
7
7
|
let { id, SVs, children, actions, callAction } = useDoenetRenderer(props);
|
|
8
8
|
const ref = useRef(null);
|
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.20-dev.
|
|
5
|
+
"version": "0.7.20-dev.314",
|
|
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 { j as jsxRuntimeExports, B as Button2 } from "./doenetml-
|
|
1
|
+
import { j as jsxRuntimeExports, B as Button2 } from "./doenetml-CVtfzUck.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BF76vylQ.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 {
|
|
2
|
+
import { j as jxg } from "./JSXGraphRenderer-DXTUSosW.js";
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BF76vylQ.js";
|
|
4
|
+
import { BoardContext, BASE_LAYER_OFFSET } from "./graph-DI6rClAs.js";
|
|
5
|
+
import { n as Context } from "./doenetml-CVtfzUck.js";
|
|
6
6
|
const { round } = Context.math;
|
|
7
7
|
const pegboard = React__default.memo(function Pegboard(props) {
|
|
8
8
|
let { SVs } = useDoenetRenderer(props);
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { k as DocContext, t as textRendererStyle, j as jsxRuntimeExports,
|
|
1
|
+
import { k as DocContext, t as textRendererStyle, j as jsxRuntimeExports, l as DynamicMath } from "./doenetml-CVtfzUck.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-DXTUSosW.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BF76vylQ.js";
|
|
5
|
+
import { BoardContext, POINT_LAYER_OFFSET } from "./graph-DI6rClAs.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 { ChoiceInputInlineContext } from "./choiceInput-
|
|
8
|
+
import { ChoiceInputInlineContext } from "./choiceInput-BFXDUvNz.js";
|
|
9
9
|
import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-DV6a8Wvg.js";
|
|
10
10
|
import { p as pointerEventToUserCoords } from "./dragThreshold-DuSSFrIU.js";
|
|
11
11
|
import { b as resolveMarkerColor } from "./styleColors-DH1y_fdG.js";
|
|
@@ -455,7 +455,7 @@ const point = React__default.memo(function Point(props) {
|
|
|
455
455
|
}
|
|
456
456
|
const mathJaxify = "\\(" + SVs.latex + "\\)";
|
|
457
457
|
const style = !choiceInputInlineContext.inOption ? textRendererStyle(darkMode ?? "light", SVs.selectedStyle) : void 0;
|
|
458
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx("span", { style, id, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
458
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx("span", { style, id, children: /* @__PURE__ */ jsxRuntimeExports.jsx(DynamicMath, { latex: mathJaxify }) });
|
|
459
459
|
});
|
|
460
460
|
export {
|
|
461
461
|
point as default
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { k as DocContext, j as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { k as DocContext, j as jsxRuntimeExports } from "./doenetml-CVtfzUck.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-
|
|
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-DXTUSosW.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BF76vylQ.js";
|
|
5
|
+
import { BoardContext, LINE_LAYER_OFFSET, VERTEX_LAYER_OFFSET } from "./graph-DI6rClAs.js";
|
|
6
6
|
import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-DV6a8Wvg.js";
|
|
7
7
|
import { p as pointerEventToUserCoords } from "./dragThreshold-DuSSFrIU.js";
|
|
8
8
|
import { a as resolveLineColor, r as resolveFillColor, c as resolveHandleColor } from "./styleColors-DH1y_fdG.js";
|
|
@@ -10,7 +10,7 @@ import { s as styleToDash } from "./styleToDash-DWb71gbd.js";
|
|
|
10
10
|
import { u as useDraggableRefs, a as useJSXGraphCleanup } from "./useJSXGraphCleanup-CX91oVW8.js";
|
|
11
11
|
import { a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-tcr76K44.js";
|
|
12
12
|
import { c as buildBaseAttributes } from "./buildGraphicalAttributes-WXpVD4ud.js";
|
|
13
|
-
import { g as getPatternFillAttributes } from "./fillPatterns-
|
|
13
|
+
import { g as getPatternFillAttributes } from "./fillPatterns-C3JuhCEv.js";
|
|
14
14
|
const polygon = React__default.memo(function Polygon(props) {
|
|
15
15
|
let { componentIdx, id, SVs, actions, sourceOfUpdate, callAction } = useDoenetRenderer(props);
|
|
16
16
|
Polygon.ignoreActionsWithoutCore = () => true;
|