@doenet/doenetml 0.7.21-dev.405 → 0.7.21-dev.406
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-CdnnKl-H.js → AnswerResponseButton-B_2qPW3L.js} +2 -2
- package/{Description-DzoH6g1j.js → Description-BhJOU_Eq.js} +1 -1
- package/{GraphFrame-GIHtuC7w.js → GraphFrame-BW6APMud.js} +2 -2
- package/{JSXGraphRenderer-BiXB0b8-.js → JSXGraphRenderer-l5Vog5Pd.js} +1 -1
- package/{NonInlineMediaWrapper-2U5DEreX.js → NonInlineMediaWrapper-BG6DLf_b.js} +1 -1
- package/{_error-zicwN22R.js → _error-BouXdom3.js} +2 -2
- package/{alert-L2RvdhPj.js → alert-C4UTvymC.js} +3 -3
- package/{angle-DcWjoax9.js → angle-zl-2t7GY.js} +6 -6
- package/{answer-DsPh3mO5.js → answer-DnchP6sA.js} +5 -5
- package/{asList-Gnj5Pnn6.js → asList-CGZJFVb_.js} +2 -2
- package/{blockQuote-BT3DoP2x.js → blockQuote-BMDvcLQE.js} +3 -3
- package/{boolean-BJVpQJEp.js → boolean-dsa_JjzD.js} +2 -2
- package/{booleanInput-C0OChrhV.js → booleanInput-Y8rNlLL1.js} +6 -6
- package/{br-DYdHldt0.js → br-Cknk9JEL.js} +2 -2
- package/{button-h1XSyyVB.js → button-BuWsn6ML.js} +4 -4
- package/{c-CKwyV3Iy.js → c-BaNGe-AV.js} +3 -3
- package/{cell-N5Djn4Eu.js → cell-COPRqzD6.js} +3 -3
- package/{choiceInput-JENfhWEW.js → choiceInput-BMJ-t8M9.js} +4 -4
- package/{circle-BIWTfK2t.js → circle-CG0HZ1ro.js} +6 -6
- package/{cobwebPolyline-CrkwKxC3.js → cobwebPolyline-C41eRXH_.js} +4 -4
- package/{codeEditor-CGQAB_f7.js → codeEditor-lrdfa0zB.js} +2 -2
- package/{composites-BYkyX8AF.js → composites-BeLkG_4o.js} +1 -1
- package/{containerBlock-DDgAkjfv.js → containerBlock-LR6QhizP.js} +4 -4
- package/{containerInline-BMlIu0km.js → containerInline-D0ye8ikG.js} +4 -4
- package/{curve-ByiazNr0.js → curve-CAHPeuOB.js} +4 -4
- package/{doenetml-BfUAXuG3.js → doenetml-Cn7pGhnU.js} +5 -5
- package/doenetml-external-worker.js +2 -2
- package/doenetml-inline-worker.js +2 -2
- package/{ellipsis-BilvxK43.js → ellipsis-CEfjRNi1.js} +2 -2
- package/{em-CWWbWVwd.js → em-B022B5-C.js} +3 -3
- package/{embed-B0LrBmBk.js → embed-685rq_ti.js} +2 -2
- package/{feedback-DnDWPlnD.js → feedback-O8uQoGIC.js} +4 -4
- package/{figure-4JJZIwWj.js → figure-CDxHkzZF.js} +3 -3
- package/{fillPatterns-Dzvj18XN.js → fillPatterns-W-CjIiY-.js} +1 -1
- package/{footnote-rK450qVf.js → footnote-DY6QT0P4.js} +3 -3
- package/{fractionInput-C87xL9tE.js → fractionInput-Bao5CFMU.js} +4 -4
- package/{graph-CyEzqX9M.js → graph-B02uxnU9.js} +6 -6
- package/{hint-C2DnXWmW.js → hint-_TWSoYlg.js} +4 -4
- package/{hr-B7Pwzvq8.js → hr-BKBqiv3f.js} +2 -2
- package/{image-CqUU1tP7.js → image-CK9jOUSw.js} +7 -7
- package/{index-Bechn6ty.js → index-B1e-QuXO.js} +1 -1
- package/{index.es-D0dW3PTC.js → index.es-Dy45MXTl.js} +1 -1
- package/index.js +1 -1
- package/{label-DmfIcKP-.js → label-vBYL_Qji.js} +6 -6
- package/{labelWithLatex-hfzRl625.js → labelWithLatex-Bm-vluQk.js} +1 -1
- package/{legend-npI0BpLv.js → legend-DnB0gv8v.js} +4 -4
- package/{line-zqzUNltr.js → line-CnerYP6R.js} +6 -6
- package/{lineFamilyDragHandlers-sXJLXB8j.js → lineFamilyDragHandlers-C7Gxm0vy.js} +1 -1
- package/{lineSegment-SnZtFrF7.js → lineSegment-rP3yPwxR.js} +5 -5
- package/{list-CQCdelW4.js → list-C3h4GSAH.js} +4 -4
- package/{lq-D-NkFc1R.js → lq-jG8yKFzG.js} +2 -2
- package/{lsq-CKiM3rVz.js → lsq-Dt43tyij.js} +2 -2
- package/{markupRenderer-wDGPnooQ.js → markupRenderer-Bz0MY8wb.js} +1 -1
- package/{math-BTrqWkVF.js → math-Bp0kf1Qk.js} +6 -6
- package/{mathInput-DVJ13NiQ.js → mathInput-BHvD9nAF.js} +26 -7
- package/{matrixInput-DTXySMaL.js → matrixInput-C2PiAYyA.js} +4 -4
- package/{mdash-Cx_8aj7a.js → mdash-V71IU6Sy.js} +2 -2
- package/{nbsp-BNzMwuNR.js → nbsp-D3R2cmva.js} +2 -2
- package/{ndash-BXiJRdBb.js → ndash-DAQnHBgi.js} +2 -2
- package/{number-DdgG8Uk5.js → number-1WjWju7E.js} +6 -6
- package/{orbitalDiagram-VmPq5vAg.js → orbitalDiagram-CC3oIqaM.js} +2 -2
- package/{orbitalDiagramInput-D0f5sW7K.js → orbitalDiagramInput-XElhelMs.js} +2 -2
- package/{p-CpcQkCaF.js → p-CWlrn0cD.js} +4 -4
- package/package.json +1 -1
- package/{paginatorControls-Br2paUZq.js → paginatorControls-T5oHrpXf.js} +2 -2
- package/{pegboard-ImlHloKD.js → pegboard-DRCbR2Nq.js} +4 -4
- package/{point-Ds4tWl4n.js → point-Dk2TRbwV.js} +6 -6
- package/{polygon-ChF75DHZ.js → polygon-CVIfP8Sx.js} +6 -6
- package/{polyline-C3VyMxcf.js → polyline-uRFSENSB.js} +5 -5
- package/{pre-Be8_oUc_.js → pre-BTdO1ZXb.js} +3 -3
- package/{prefigure-BmeB-EmI.js → prefigure-QWZ_aJK2.js} +1 -1
- package/{pretzel-DA_TUc_T.js → pretzel-CaiLyvVc.js} +4 -4
- package/{q-D8eZtYcD.js → q-BGO3Viaw.js} +3 -3
- package/{ray-DKluMY6Q.js → ray-CIbP6WMs.js} +5 -5
- package/{ref-Ck4WgboX.js → ref-BGRe_YEb.js} +2 -2
- package/{regionBetweenCurveXAxis-BFndDpWR.js → regionBetweenCurveXAxis-1Eldm5Eu.js} +5 -5
- package/{regionBetweenCurves-D_y0ZaPr.js → regionBetweenCurves-Cg_rn5hY.js} +5 -5
- package/{row-9y_U69WH.js → row-DLZPLx78.js} +2 -2
- package/{rq-DHzzgEHc.js → rq-DK94Q70o.js} +2 -2
- package/{rsq-2xOSNXtN.js → rsq-BxLGIZeP.js} +2 -2
- package/{section-B6EleoDG.js → section-D7e7nIFs.js} +5 -5
- package/{sha256-AuWkkb03-CWPpiENf.js → sha256-AuWkkb03-CjWrhwFg.js} +1 -1
- package/{sideBySide-CJkJ3NKf.js → sideBySide-BLJmhfkL.js} +2 -2
- package/{slider-xM-nS7gb.js → slider-BXIdntvN.js} +3 -3
- package/{solution-DVtPQf1K.js → solution-Bub7pyjf.js} +4 -4
- package/{spreadsheet-zbWJM61B.js → spreadsheet-mGBBoJYj.js} +2 -2
- package/{sq-BEh2o1R4.js → sq-DfstnkOU.js} +3 -3
- package/{subsetOfRealsInput-B8VDem7m.js → subsetOfRealsInput-Du3D4jl8.js} +2 -2
- package/{summaryStatistics-BkrDZ7Se.js → summaryStatistics-CAoBEmnE.js} +2 -2
- package/{table-5KJxyNW8.js → table-ClU15wdV.js} +2 -2
- package/{tabular-Du8u6oMm.js → tabular-Cq5Th36R.js} +2 -2
- package/{tag-CCFjjeyw.js → tag-s_2kMzWa.js} +2 -2
- package/{text-BbOBaz8L.js → text-B9MDJIG3.js} +6 -6
- package/{textInput-gnNM09W6.js → textInput-C7cvLKVr.js} +6 -6
- package/{tooltip-provider-VyRW6gh7.js → tooltip-provider-H0yJxdo2.js} +1 -1
- package/{useAnchoredGraphDragHandler-CW47CSt8.js → useAnchoredGraphDragHandler-BKkAGIXp.js} +1 -1
- package/useDoenetRenderer-BF3gSz3E.js +114 -0
- package/{useSubmitActionWithDelay-DI-JLRnx.js → useSubmitActionWithDelay-C9RK1SwE.js} +2 -2
- package/{vector-DmrWHOxV.js → vector-BqfMELwQ.js} +6 -6
- package/{video-BDKgUA5p.js → video-BkpQrAO3.js} +4 -4
- package/useDoenetRenderer-CBT-VOB_.js +0 -114
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { p as jsxRuntimeExports } from "./doenetml-Cn7pGhnU.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BF3gSz3E.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-Cn7pGhnU.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-BF3gSz3E.js";
|
|
4
|
+
import { r as renderMarkupBody } from "./markupRenderer-Bz0MY8wb.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 { x as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { x as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-Cn7pGhnU.js";
|
|
2
2
|
import React__default, { useRef, useEffect } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BF3gSz3E.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, x as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useT, x as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-Cn7pGhnU.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-BF3gSz3E.js";
|
|
4
|
+
import { F as FontAwesomeIcon } from "./index.es-Dy45MXTl.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-BeLkG_4o.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 { x as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { x as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-Cn7pGhnU.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-BF3gSz3E.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-B1e-QuXO.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 { I as encodeFillPatternColorToken } from "./doenetml-
|
|
1
|
+
import { I as encodeFillPatternColorToken } from "./doenetml-Cn7pGhnU.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, E as Button } from "./doenetml-
|
|
1
|
+
import { u as useT, p as jsxRuntimeExports, E as Button } from "./doenetml-Cn7pGhnU.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-BF3gSz3E.js";
|
|
4
|
+
import { T as TooltipProvider, a as TooltipAnchor, b as Tooltip } from "./tooltip-provider-H0yJxdo2.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 { w as useContentT, p as jsxRuntimeExports, M as MathJax } from "./doenetml-
|
|
1
|
+
import { w as useContentT, p as jsxRuntimeExports, M as MathJax } from "./doenetml-Cn7pGhnU.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BF3gSz3E.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-C9RK1SwE.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-BhJOU_Eq.js";
|
|
8
8
|
const fractionInput = React__default.memo(function FractionInput(props) {
|
|
9
9
|
let { id, SVs, actions, children, callAction } = useDoenetRenderer(props);
|
|
10
10
|
const tContent = useContentT();
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { p as jsxRuntimeExports, at as roundForDisplay, y as Context, x as useRecordVisibilityChanges } from "./doenetml-
|
|
1
|
+
import { p as jsxRuntimeExports, at as roundForDisplay, y as Context, x as useRecordVisibilityChanges } from "./doenetml-Cn7pGhnU.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-BF3gSz3E.js";
|
|
4
|
+
import Prefigure from "./prefigure-QWZ_aJK2.js";
|
|
5
|
+
import { a as accessibleLabelText, r as renderLabelWithLatex } from "./labelWithLatex-Bm-vluQk.js";
|
|
6
|
+
import GraphFrame from "./GraphFrame-BW6APMud.js";
|
|
7
|
+
import { J as JSXGraphRenderer } from "./JSXGraphRenderer-l5Vog5Pd.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, x as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useT, x as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-Cn7pGhnU.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-BF3gSz3E.js";
|
|
4
|
+
import { F as FontAwesomeIcon } from "./index.es-Dy45MXTl.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-BeLkG_4o.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-Cn7pGhnU.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BF3gSz3E.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 { q as DocContext, x as useRecordVisibilityChanges, y as Context, p as jsxRuntimeExports, g as getMediaLicenseDisplay } from "./doenetml-
|
|
1
|
+
import { q as DocContext, x as useRecordVisibilityChanges, y as Context, p as jsxRuntimeExports, g as getMediaLicenseDisplay } from "./doenetml-Cn7pGhnU.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-l5Vog5Pd.js";
|
|
4
|
+
import { BoardContext, IMAGE_LAYER_OFFSET } from "./graph-B02uxnU9.js";
|
|
5
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BF3gSz3E.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-BhJOU_Eq.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-BG6DLf_b.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-BKkAGIXp.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 { q as DocContext, y as Context, p as jsxRuntimeExports, t as textRendererStyle, v as DynamicMath } from "./doenetml-
|
|
1
|
+
import { q as DocContext, y as Context, p as jsxRuntimeExports, t as textRendererStyle, v as DynamicMath } from "./doenetml-Cn7pGhnU.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-l5Vog5Pd.js";
|
|
4
|
+
import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-B02uxnU9.js";
|
|
5
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BF3gSz3E.js";
|
|
6
6
|
import { g as getPositionFromAnchorByCoordinate } from "./graph-W6vrFcBu.js";
|
|
7
|
-
import { ChoiceInputInlineContext } from "./choiceInput-
|
|
7
|
+
import { ChoiceInputInlineContext } from "./choiceInput-BMJ-t8M9.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-BKkAGIXp.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;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { J as deepCompare, p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { J as deepCompare, p as jsxRuntimeExports } from "./doenetml-Cn7pGhnU.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-l5Vog5Pd.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BF3gSz3E.js";
|
|
5
|
+
import { BoardContext } from "./graph-B02uxnU9.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 { q as DocContext, p as jsxRuntimeExports, t as textRendererStyle, v as DynamicMath } from "./doenetml-
|
|
1
|
+
import { q as DocContext, p as jsxRuntimeExports, t as textRendererStyle, v as DynamicMath } from "./doenetml-Cn7pGhnU.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-l5Vog5Pd.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BF3gSz3E.js";
|
|
5
|
+
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-B02uxnU9.js";
|
|
6
|
+
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-C7Gxm0vy.js";
|
|
7
|
+
import { ChoiceInputInlineContext } from "./choiceInput-BMJ-t8M9.js";
|
|
8
8
|
import { a as buildLineLikeAttributes } from "./buildGraphicalAttributes-C7PtyKL7.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 { q as DocContext, N as hasNavigationModifier } from "./doenetml-
|
|
2
|
+
import { q as DocContext, N as hasNavigationModifier } from "./doenetml-Cn7pGhnU.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 { q as DocContext, p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { q as DocContext, p as jsxRuntimeExports } from "./doenetml-Cn7pGhnU.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-l5Vog5Pd.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BF3gSz3E.js";
|
|
5
|
+
import { BoardContext, VERTEX_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-B02uxnU9.js";
|
|
6
|
+
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-C7Gxm0vy.js";
|
|
7
7
|
import { a as buildLineLikeAttributes } from "./buildGraphicalAttributes-C7PtyKL7.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 { w as useContentT, x as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { w as useContentT, x as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-Cn7pGhnU.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-BF3gSz3E.js";
|
|
4
|
+
import { a as addCommasForCompositeRanges } from "./composites-BeLkG_4o.js";
|
|
5
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-C9RK1SwE.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-Cn7pGhnU.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BF3gSz3E.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-Cn7pGhnU.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BF3gSz3E.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 { q as DocContext, y as Context, p as jsxRuntimeExports, t as textRendererStyle, v as DynamicMath } from "./doenetml-
|
|
1
|
+
import { q as DocContext, y as Context, p as jsxRuntimeExports, t as textRendererStyle, v as DynamicMath } from "./doenetml-Cn7pGhnU.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-l5Vog5Pd.js";
|
|
4
|
+
import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-B02uxnU9.js";
|
|
5
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BF3gSz3E.js";
|
|
6
6
|
import { g as getPositionFromAnchorByCoordinate } from "./graph-W6vrFcBu.js";
|
|
7
|
-
import { ChoiceInputInlineContext } from "./choiceInput-
|
|
7
|
+
import { ChoiceInputInlineContext } from "./choiceInput-BMJ-t8M9.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-BKkAGIXp.js";
|
|
11
11
|
function getMathDelimiters(SVs) {
|
|
12
12
|
if (SVs.renderMode === "inline") {
|
|
13
13
|
return ["\\(", "\\)"];
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { p as jsxRuntimeExports, w as useContentT, F as useAppSelector, ap as keyboardSlice, aq as FocusedMathInputContext, y as Context, ar as PopoverAnchor, M as MathJax, a3 as usePopoverStore, X as useStoreState, u as useT, a6 as Popover } from "./doenetml-
|
|
1
|
+
import { p as jsxRuntimeExports, w as useContentT, F as useAppSelector, ap as keyboardSlice, aq as FocusedMathInputContext, y as Context, ar as PopoverAnchor, M as MathJax, a3 as usePopoverStore, X as useStoreState, u as useT, a6 as Popover } from "./doenetml-Cn7pGhnU.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-l5Vog5Pd.js";
|
|
5
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BF3gSz3E.js";
|
|
6
|
+
import { P as PropTypes } from "./index-B1e-QuXO.js";
|
|
7
|
+
import { D as DescriptionPopover, P as PopoverArrow } from "./Description-BhJOU_Eq.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-C9RK1SwE.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-B02uxnU9.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",
|
|
@@ -8195,6 +8195,25 @@ var Bracket = (
|
|
|
8195
8195
|
ctx.uncleanedLatex += "\\right" + this.sides[R].ctrlSeq;
|
|
8196
8196
|
this.checkCursorContextClose(ctx);
|
|
8197
8197
|
};
|
|
8198
|
+
Bracket2.prototype.parser = function() {
|
|
8199
|
+
var self = this;
|
|
8200
|
+
var closeCtrlSeq = this.sides[R].ctrlSeq.trim();
|
|
8201
|
+
if (this.side === R) {
|
|
8202
|
+
return Parser.fail("unmatched " + closeCtrlSeq);
|
|
8203
|
+
}
|
|
8204
|
+
var closeParser = Parser.string(closeCtrlSeq);
|
|
8205
|
+
if (/[a-zA-Z]$/.test(closeCtrlSeq)) {
|
|
8206
|
+
closeParser = closeParser.skip(Parser.regex(/^(?![a-zA-Z])/));
|
|
8207
|
+
}
|
|
8208
|
+
return latexMathParser.then(function(block) {
|
|
8209
|
+
return closeParser.result(0).or(Parser.succeed(L)).map(function(side) {
|
|
8210
|
+
self.side = side;
|
|
8211
|
+
self.blocks = [block];
|
|
8212
|
+
block.adopt(self, 0, 0);
|
|
8213
|
+
return self;
|
|
8214
|
+
});
|
|
8215
|
+
});
|
|
8216
|
+
};
|
|
8198
8217
|
Bracket2.prototype.mathspeak = function(opts) {
|
|
8199
8218
|
var open = this.sides[L].ch, close = this.sides[R].ch;
|
|
8200
8219
|
if (open === "|" && close === "|") {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { u as useT, w as useContentT, p as jsxRuntimeExports, K as ActionButtonGroup, L as ActionButton, M as MathJax } from "./doenetml-
|
|
1
|
+
import { u as useT, w as useContentT, p as jsxRuntimeExports, K as ActionButtonGroup, L as ActionButton, M as MathJax } from "./doenetml-Cn7pGhnU.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BF3gSz3E.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-C9RK1SwE.js";
|
|
6
|
+
import { D as DescriptionPopover } from "./Description-BhJOU_Eq.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-Cn7pGhnU.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BF3gSz3E.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-Cn7pGhnU.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BF3gSz3E.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-Cn7pGhnU.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BF3gSz3E.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 { q as DocContext, y as Context, p as jsxRuntimeExports, t as textRendererStyle, v as DynamicMath } from "./doenetml-
|
|
1
|
+
import { q as DocContext, y as Context, p as jsxRuntimeExports, t as textRendererStyle, v as DynamicMath } from "./doenetml-Cn7pGhnU.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-l5Vog5Pd.js";
|
|
4
|
+
import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-B02uxnU9.js";
|
|
5
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BF3gSz3E.js";
|
|
6
6
|
import { g as getPositionFromAnchorByCoordinate } from "./graph-W6vrFcBu.js";
|
|
7
|
-
import { ChoiceInputInlineContext } from "./choiceInput-
|
|
7
|
+
import { ChoiceInputInlineContext } from "./choiceInput-BMJ-t8M9.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-BKkAGIXp.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;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { x as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { x as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-Cn7pGhnU.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BF3gSz3E.js";
|
|
4
4
|
const ORBITAL_ARROW_STYLE = {
|
|
5
5
|
fill: "none",
|
|
6
6
|
stroke: "var(--canvasText)",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { u as useT, x as useRecordVisibilityChanges, p as jsxRuntimeExports, B as Button2 } from "./doenetml-
|
|
1
|
+
import { u as useT, x as useRecordVisibilityChanges, p as jsxRuntimeExports, B as Button2 } from "./doenetml-Cn7pGhnU.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BF3gSz3E.js";
|
|
4
4
|
const ORBITAL_ARROW_STYLE = {
|
|
5
5
|
fill: "none",
|
|
6
6
|
stroke: "var(--canvasText)",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { w as useContentT, x as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { w as useContentT, x as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-Cn7pGhnU.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-BF3gSz3E.js";
|
|
4
|
+
import { a as addCommasForCompositeRanges } from "./composites-BeLkG_4o.js";
|
|
5
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-C9RK1SwE.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.21-dev.
|
|
5
|
+
"version": "0.7.21-dev.406",
|
|
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, B as Button2 } from "./doenetml-
|
|
1
|
+
import { p as jsxRuntimeExports, B as Button2 } from "./doenetml-Cn7pGhnU.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BF3gSz3E.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 { y as Context } from "./doenetml-
|
|
2
|
+
import { j as jxg } from "./JSXGraphRenderer-l5Vog5Pd.js";
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BF3gSz3E.js";
|
|
4
|
+
import { BoardContext, BASE_LAYER_OFFSET } from "./graph-B02uxnU9.js";
|
|
5
|
+
import { y as Context } from "./doenetml-Cn7pGhnU.js";
|
|
6
6
|
const { round } = Context.math;
|
|
7
7
|
const pegboard = React__default.memo(function Pegboard(props) {
|
|
8
8
|
let { SVs } = useDoenetRenderer(props);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { q as DocContext, t as textRendererStyle, p as jsxRuntimeExports, v as DynamicMath } from "./doenetml-
|
|
1
|
+
import { q as DocContext, t as textRendererStyle, p as jsxRuntimeExports, v as DynamicMath } from "./doenetml-Cn7pGhnU.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-l5Vog5Pd.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BF3gSz3E.js";
|
|
5
|
+
import { BoardContext, POINT_LAYER_OFFSET } from "./graph-B02uxnU9.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-C7Gxm0vy.js";
|
|
9
|
+
import { ChoiceInputInlineContext } from "./choiceInput-BMJ-t8M9.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,16 +1,16 @@
|
|
|
1
|
-
import { q as DocContext, p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { q as DocContext, p as jsxRuntimeExports } from "./doenetml-Cn7pGhnU.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-l5Vog5Pd.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BF3gSz3E.js";
|
|
5
|
+
import { BoardContext, LINE_LAYER_OFFSET, VERTEX_LAYER_OFFSET } from "./graph-B02uxnU9.js";
|
|
6
|
+
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-C7Gxm0vy.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";
|
|
10
10
|
import { s as styleToDash } from "./styleToDash-DWb71gbd.js";
|
|
11
11
|
import { u as useDraggableRefs, a as useJSXGraphCleanup } from "./useJSXGraphCleanup-CX91oVW8.js";
|
|
12
12
|
import { c as buildBaseAttributes } from "./buildGraphicalAttributes-C7PtyKL7.js";
|
|
13
|
-
import { g as getPatternFillAttributes } from "./fillPatterns-
|
|
13
|
+
import { g as getPatternFillAttributes } from "./fillPatterns-W-CjIiY-.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;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { q as DocContext, p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { q as DocContext, p as jsxRuntimeExports } from "./doenetml-Cn7pGhnU.js";
|
|
2
2
|
import React__default, { useContext, useRef } from "react";
|
|
3
|
-
import { s as syncLayer, r as removeJXGEventHandlers, j as jxg, g as syncVisPropValues, e as syncLineStrokeStyle, f as syncLabelStrokeColor, b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } 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 { s as syncLayer, r as removeJXGEventHandlers, j as jxg, g as syncVisPropValues, e as syncLineStrokeStyle, f as syncLabelStrokeColor, b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-l5Vog5Pd.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-BF3gSz3E.js";
|
|
5
|
+
import { BoardContext, VERTEX_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-B02uxnU9.js";
|
|
6
|
+
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-C7Gxm0vy.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, d as resolveHandleColor } from "./styleColors-Cknqcr0q.js";
|