@doenet/doenetml 0.7.20-dev.313 → 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-gBn2BuZZ.js → AnswerResponseButton-CiRNQDkk.js} +2 -2
- package/{Description-FpFtgmYe.js → Description-Dtbg0fpJ.js} +1 -1
- package/{GraphFrame-BV1tncNY.js → GraphFrame-DQeTtfXQ.js} +2 -2
- package/{JSXGraphRenderer-SxtkTQZL.js → JSXGraphRenderer-DXTUSosW.js} +1 -1
- package/{NonInlineMediaWrapper-DCDj8jdC.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-DTeGsUd9.js → _error-BRhFHbK8.js} +2 -2
- package/{alert-D2P5HLfk.js → alert-Cz6izeq3.js} +3 -3
- package/{angle-YOvmhW4W.js → angle-D_iekSNn.js} +7 -7
- package/{answer-Bi_gynn7.js → answer-1f2NkfC0.js} +6 -6
- package/{asList-DFNSJm92.js → asList-D4hiNpz-.js} +2 -2
- package/{blockQuote-B02M6UZq.js → blockQuote-x1--I760.js} +3 -3
- package/{boolean-CXwIn6q8.js → boolean-BYGrs76j.js} +2 -2
- package/{booleanInput-CA2jF9XQ.js → booleanInput-DYE1w3LD.js} +6 -6
- package/{br-DK6fKex_.js → br-BzkMqYuD.js} +2 -2
- package/{button-B190tSzd.js → button-CRqE1tsC.js} +4 -4
- package/{c-D86q_5kG.js → c-BHOryYDz.js} +3 -3
- package/{cell-B9rbrekZ.js → cell-C03X9gmD.js} +3 -3
- package/{choiceInput-C91qJgfW.js → choiceInput-BFXDUvNz.js} +4 -4
- package/{circle-BlxgakVF.js → circle-CoIOk1wQ.js} +5 -5
- package/{cobwebPolyline-CPO6OFVc.js → cobwebPolyline-BFJojr_D.js} +4 -4
- package/{codeEditor-DGXSlmAF.js → codeEditor-C_WxAh0Y.js} +2 -2
- package/{composites-BzV9IeXt.js → composites-C4lhzFZo.js} +1 -1
- package/{containerBlock-CsJFmQ8Z.js → containerBlock-Q1XvK22P.js} +4 -4
- package/{containerInline-BaU3vl-K.js → containerInline-DGIGDg83.js} +4 -4
- package/{curve-DyiaqEHt.js → curve-DcKNQ4Kz.js} +4 -4
- package/{doenetml-aB7JbNZg.js → doenetml-CVtfzUck.js} +151 -67
- package/doenetml-inline-worker.js +2 -2
- package/{ellipsis-trFCDnIC.js → ellipsis-Dbe1pFFH.js} +2 -2
- package/{em-CrprMPIW.js → em-DKjg8lu6.js} +3 -3
- package/{embed-DMAbXCVx.js → embed-xTwIo3rl.js} +2 -2
- package/{feedback-ikfYsf51.js → feedback-DxgOg5wz.js} +4 -4
- package/{figure-Bsi8oG85.js → figure-FtqA6IS4.js} +3 -3
- package/{fillPatterns-o8iy0sP3.js → fillPatterns-C3JuhCEv.js} +1 -1
- package/{footnote-DB5VIQtW.js → footnote-D-wv680X.js} +3 -3
- package/{fractionInput-BlYcirDm.js → fractionInput-C-0_Lh92.js} +4 -4
- package/{graph-CzIHr24I.js → graph-DI6rClAs.js} +6 -6
- package/{hint-49RJ4fJX.js → hint-D--xKdKK.js} +4 -4
- package/{hr-Dm7qj5dF.js → hr-BOLAFmYk.js} +2 -2
- package/{image-C6I50qsx.js → image-BqEpw5il.js} +7 -7
- package/{index-JfStC2sR.js → index-CgIVilS0.js} +1 -1
- package/{index.es-B5c7aVtr.js → index.es-D15M8_qe.js} +1 -1
- package/index.js +1 -1
- package/{label-BJWGc5uw.js → label-BVH6ieXC.js} +7 -7
- package/{labelWithLatex-BaRabWVZ.js → labelWithLatex-CvFirg3n.js} +2 -2
- package/{legend-BXoIRWPD.js → legend-nJHE8oqg.js} +4 -4
- package/{line-Cg4ShxTz.js → line-BZJDGv87.js} +6 -6
- package/{lineSegment-hNwK2hsc.js → lineSegment-CSrBTpnV.js} +4 -4
- package/{list-CQTXv4FP.js → list-D65_oYuY.js} +4 -4
- package/{lq-BatnPWGT.js → lq-CBqNNz3G.js} +2 -2
- package/{lsq-B9ordhmD.js → lsq-K3XjaXqe.js} +2 -2
- package/{markupRenderer-DBCx6EX_.js → markupRenderer-BImj5ysD.js} +1 -1
- package/{math-B5hpOW9-.js → math-BGK8VrLz.js} +7 -8
- package/{mathInput-Aj9BWdJk.js → mathInput-Do6kAhnM.js} +5 -5
- package/{matrixInput-B29WjEkr.js → matrixInput-Dk9yGska.js} +4 -4
- package/{mdash-3qcZ92p7.js → mdash-BJFCsNNC.js} +2 -2
- package/{nbsp-BAoRPv2r.js → nbsp-B9325-Gc.js} +2 -2
- package/{ndash-Dw-USMRq.js → ndash-B2df5nIG.js} +2 -2
- package/{number-BM2f5HSD.js → number-DjhKxqNt.js} +7 -7
- package/{orbitalDiagram-DzTPPpQi.js → orbitalDiagram-BSvivjnx.js} +2 -2
- package/{orbitalDiagramInput-BeTursfi.js → orbitalDiagramInput-PDaj8an3.js} +2 -2
- package/{p-BW8xHyx2.js → p-dxu1bQfB.js} +4 -4
- package/package.json +1 -1
- package/{paginatorControls-OETLghCG.js → paginatorControls-Ce-gIGnb.js} +2 -2
- package/{pegboard-B1GM0ABK.js → pegboard-Ctf3Za3n.js} +4 -4
- package/{point-CPttFfZz.js → point-B_FM2eEi.js} +6 -6
- package/{polygon-V1vpI61u.js → polygon-CSxHL_tF.js} +5 -5
- package/{polyline-DVCO1i5w.js → polyline-DW7rB9Q4.js} +4 -4
- package/{pre-3uAzzLKW.js → pre-BgTf9L_1.js} +3 -3
- package/{prefigure-D03S9bOi.js → prefigure-C5snxl4O.js} +1 -1
- package/{pretzel-Bq-VxedX.js → pretzel-C3L-MNrj.js} +4 -4
- package/{q-BLQ1W1_T.js → q-DmVtlPVd.js} +3 -3
- package/{ray-BkDCQnP3.js → ray-C0dTG3fu.js} +4 -4
- package/{ref-TZAHMM8s.js → ref-CSI25f1d.js} +2 -2
- package/{regionBetweenCurveXAxis-DQ5BnwzU.js → regionBetweenCurveXAxis-M1aZCAh_.js} +5 -5
- package/{regionBetweenCurves-CiotMNXF.js → regionBetweenCurves-BrdeHWZ1.js} +5 -5
- package/{row-CwSzBQDR.js → row-Cme62ZUT.js} +2 -2
- package/{rq-BGCb_4TP.js → rq-l2YVdxg8.js} +2 -2
- package/{rsq-BKan60lP.js → rsq-CUv-1slA.js} +2 -2
- package/{section-DoIdLwXY.js → section-BZi63FfU.js} +5 -5
- package/{sha256-C0vj3HDn-kwD8I0Br.js → sha256-C0vj3HDn-CwyO0a3t.js} +1 -1
- package/{sideBySide-Ceiw05Ta.js → sideBySide-DckexN5b.js} +2 -2
- package/{slider-DZl588DU.js → slider-CiY5ndOW.js} +3 -3
- package/{solution-Cust6iDD.js → solution-DbjNYfX2.js} +4 -4
- package/{spreadsheet-Bvk3Ranp.js → spreadsheet-BT75LlVE.js} +2 -2
- package/{sq-BfIVoseF.js → sq-txtyc2FV.js} +3 -3
- package/{subsetOfRealsInput-CVmF_q1p.js → subsetOfRealsInput-B7MKFCIn.js} +2 -2
- package/{summaryStatistics-DDPla-1v.js → summaryStatistics-MVmSE86t.js} +2 -2
- package/{table-CQLwh6QP.js → table-CNuvOYw8.js} +2 -2
- package/{tabular-DsN43g34.js → tabular-CWsgPtBE.js} +2 -2
- package/{tag-Cdb96Wzz.js → tag-DG3ZBcyS.js} +2 -2
- package/{text-DNvU-2P_.js → text-BYvGY30m.js} +6 -6
- package/{textInput-uQdxxKXT.js → textInput-Bw1QoXBR.js} +6 -6
- package/{tooltip-provider-CDOusxAp.js → tooltip-provider-BT1FtxeZ.js} +1 -1
- package/{useAnchoredGraphDragHandler-BoZvihO4.js → useAnchoredGraphDragHandler-BW74Dr6I.js} +1 -1
- package/useDoenetRenderer-BF76vylQ.js +114 -0
- package/{useSubmitActionWithDelay-Dt9JKy0v.js → useSubmitActionWithDelay-inCDr5aI.js} +2 -2
- package/{vector-D5la2Csg.js → vector-C-WWCq6y.js} +6 -6
- package/{video-wzYkKkvI.js → video-bjQrfsvF.js} +4 -4
- package/useDoenetRenderer-B72juXfz.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;
|