@doenet/doenetml 0.7.21-dev.393 → 0.7.21-dev.394
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-DQwAdHX2.js → AnswerResponseButton-D8cecyxo.js} +2 -2
- package/{Description-kcKiIsUu.js → Description-CpqUPpwA.js} +1 -1
- package/{GraphFrame-LDqZHTPC.js → GraphFrame-DkJnCqmY.js} +2 -2
- package/{JSXGraphRenderer-DGH7P4zf.js → JSXGraphRenderer-CQ4UnDuA.js} +1 -1
- package/{NonInlineMediaWrapper-CyfGNcth.js → NonInlineMediaWrapper-BJJ7dSCJ.js} +1 -1
- package/Viewer/DocViewer.d.ts.map +1 -1
- package/Viewer/renderers/answer.d.ts.map +1 -1
- package/Viewer/renderers/booleanInput.d.ts.map +1 -1
- package/Viewer/renderers/choiceInput.d.ts.map +1 -1
- package/Viewer/renderers/containerBlock.d.ts.map +1 -1
- package/Viewer/renderers/containerInline.d.ts.map +1 -1
- package/Viewer/renderers/fractionInput.d.ts.map +1 -1
- package/Viewer/renderers/list.d.ts.map +1 -1
- package/Viewer/renderers/mathInput.d.ts.map +1 -1
- package/Viewer/renderers/matrixInput.d.ts.map +1 -1
- package/Viewer/renderers/p.d.ts.map +1 -1
- package/Viewer/renderers/pretzel.d.ts.map +1 -1
- package/Viewer/renderers/section.d.ts.map +1 -1
- package/Viewer/renderers/textInput.d.ts.map +1 -1
- package/Viewer/renderers/utils/checkWork.d.ts +9 -2
- package/Viewer/renderers/utils/checkWork.d.ts.map +1 -1
- package/Viewer/renderers/utils/validationState.d.ts +7 -1
- package/Viewer/renderers/utils/validationState.d.ts.map +1 -1
- package/{_error-BuKpjCb1.js → _error-B4Oho622.js} +2 -2
- package/{alert-Cv1_RLrQ.js → alert-BL0q2ccF.js} +3 -3
- package/{angle-DcdoJNiv.js → angle-B78qnore.js} +6 -6
- package/{answer-BKBbzk3a.js → answer-CRrKuv0J.js} +7 -7
- package/{asList-pqSyJPcN.js → asList-Byc66duD.js} +2 -2
- package/{blockQuote-0LLUyiD7.js → blockQuote-VtHvsxDh.js} +3 -3
- package/{boolean-BVYrZLUc.js → boolean-BzxaJixO.js} +2 -2
- package/{booleanInput-DROlOkmS.js → booleanInput-Dv5TU6If.js} +8 -8
- package/{br-MvAHmErh.js → br-CUb6oTi6.js} +2 -2
- package/{button-RrnmXhwT.js → button-C9Hxh-2e.js} +4 -4
- package/{c-CHLIJ9rr.js → c-ylFmrkJc.js} +3 -3
- package/{cell-DaIk_iBZ.js → cell-B_vT-N8p.js} +3 -3
- package/{choiceInput-DUmyLdvW.js → choiceInput-CJIUcxFH.js} +7 -7
- package/{circle-CWyavNC6.js → circle-6QF0Ni9Y.js} +6 -6
- package/{cobwebPolyline-OoivfaI4.js → cobwebPolyline-DIYZW5Sc.js} +4 -4
- package/{codeEditor-MFGmzXrn.js → codeEditor-yddXkzmF.js} +2 -2
- package/{composites-Ur8mMp9J.js → composites-D3aDmkmy.js} +1 -1
- package/{containerBlock-BdsmwwE0.js → containerBlock-CcyGSn-A.js} +6 -6
- package/{containerInline-D2wrqOOZ.js → containerInline-D43T-PUb.js} +6 -6
- package/{curve-OUEZJHzC.js → curve-ZuACj1i8.js} +4 -4
- package/{doenetml-pwYrzume.js → doenetml-M4DBortx.js} +78 -63
- package/doenetml-external-worker.js +2 -2
- package/doenetml-inline-worker.js +2 -2
- package/{ellipsis-BY1gjFaj.js → ellipsis-CikXCTS4.js} +2 -2
- package/{em-CIC2L8-X.js → em-Bznqd91f.js} +3 -3
- package/{embed-CR9CoYHt.js → embed-vLohMCBG.js} +2 -2
- package/{feedback-BxUH7q4C.js → feedback-DRu7VSKX.js} +4 -4
- package/{figure-B0EkOX2h.js → figure-Jtc-fKzc.js} +3 -3
- package/{fillPatterns-C8vdMra-.js → fillPatterns-Cx9SYc5t.js} +1 -1
- package/{footnote-DySi7tuS.js → footnote-BjHWBHoB.js} +3 -3
- package/{fractionInput-aidkKaUT.js → fractionInput-BbJoQVWi.js} +7 -7
- package/{graph-CpJquYXz.js → graph-CoAsQ_ck.js} +6 -6
- package/{hint-_ReoOUSN.js → hint-DW58dgtH.js} +4 -4
- package/{hr-B-YChV4e.js → hr-CXoyx0h4.js} +2 -2
- package/{image-GucHr3Fs.js → image-DA8Rlq6z.js} +7 -7
- package/{index-D_WGbXnQ.js → index-o-rmv2Q6.js} +1 -1
- package/{index.es-CYh-S9ku.js → index.es-D0L-dwBl.js} +1 -1
- package/index.js +1 -1
- package/{label-CgJfmzuE.js → label-BTrHrS2r.js} +6 -6
- package/{labelWithLatex-Dyh44zVC.js → labelWithLatex-D2_zUZ8t.js} +1 -1
- package/{legend-CB1XhEFU.js → legend-BPkT7kuB.js} +4 -4
- package/{line-Cso0t33P.js → line-Cegmf8m3.js} +6 -6
- package/{lineFamilyDragHandlers-D49hLbrj.js → lineFamilyDragHandlers-BdbaGIUE.js} +1 -1
- package/{lineSegment-B8O3N9Cu.js → lineSegment-CGCfT6Da.js} +5 -5
- package/{list-CZTnP_Ds.js → list-a67fT9yh.js} +6 -6
- package/{lq-DWeaQAwV.js → lq-6oZLm5K6.js} +2 -2
- package/{lsq-Il7EMuuO.js → lsq-D0YQbDIR.js} +2 -2
- package/{markupRenderer-C_yN5ah4.js → markupRenderer-CKCx6OJL.js} +1 -1
- package/{math-D7vT-BqW.js → math-C3t9SSI5.js} +6 -6
- package/{mathInput-CIJP6Soy.js → mathInput-CokLvyoG.js} +10 -10
- package/{matrixInput-DV1bXIG9.js → matrixInput-Cwo-V_Yk.js} +6 -5
- package/{mdash-DAOr4MG9.js → mdash-BDGj1dpJ.js} +2 -2
- package/{nbsp-CafnSEbd.js → nbsp-lE5WK9SF.js} +2 -2
- package/{ndash--E9FnFYk.js → ndash-DdoXaOfJ.js} +2 -2
- package/{number-usb1aLJ7.js → number-DtJ-CTaw.js} +6 -6
- package/{orbitalDiagram-D1oi-yDi.js → orbitalDiagram-DPLf42mz.js} +2 -2
- package/{orbitalDiagramInput-CTIhyhUz.js → orbitalDiagramInput-Dm2XgaLh.js} +2 -2
- package/{p-hln_7ooZ.js → p-BGiiZMSa.js} +6 -6
- package/package.json +1 -1
- package/{paginatorControls-0ymdghMm.js → paginatorControls-BUD-MI2d.js} +2 -2
- package/{pegboard-CKooxSGH.js → pegboard-CQI5zwd8.js} +4 -4
- package/{point-BSxJ2BnS.js → point-BxczWypz.js} +6 -6
- package/{polygon-CBNRp60z.js → polygon-DwRxpJ3-.js} +6 -6
- package/{polyline-GAh4H9p0.js → polyline-CqlaMAc9.js} +5 -5
- package/{pre-zDQgCXFe.js → pre-HrqEtqQJ.js} +3 -3
- package/{prefigure-G--3no_a.js → prefigure-DmFL_GTz.js} +1 -1
- package/{pretzel-OcJYDh1B.js → pretzel-S2OXRrpz.js} +6 -5
- package/{q-3Dia_368.js → q-2gFYzLe-.js} +3 -3
- package/{ray-07T3Uzf_.js → ray-Cm4aCzsB.js} +5 -5
- package/{ref-Ds74I8Cw.js → ref-gXA8ndaP.js} +2 -2
- package/{regionBetweenCurveXAxis-C4RFBXHq.js → regionBetweenCurveXAxis-CpsnQ4zy.js} +5 -5
- package/{regionBetweenCurves-I902DEC-.js → regionBetweenCurves-D8j17vWE.js} +5 -5
- package/{row-CwUonUzt.js → row-Doiu0TLJ.js} +2 -2
- package/{rq-DrSf5VSd.js → rq-1_gG74Jw.js} +2 -2
- package/{rsq-C5kUzS8d.js → rsq-5j-4hYKU.js} +2 -2
- package/{section-PMLPEMUv.js → section-D9ATngmG.js} +7 -6
- package/{sha256-AuWkkb03-BxQuqeyG.js → sha256-AuWkkb03-SPFNQ78W.js} +1 -1
- package/{sideBySide-D32_g8FK.js → sideBySide-amvyICUd.js} +2 -2
- package/{slider-BYhpoM2O.js → slider-DImp35oF.js} +3 -3
- package/{solution-CbXNhznJ.js → solution-DH8QweIs.js} +4 -4
- package/{spreadsheet-ozrM7-UB.js → spreadsheet-CpaizOgd.js} +2 -2
- package/{sq-CAKz9x_X.js → sq-D9SSTgIX.js} +3 -3
- package/{subsetOfRealsInput-C1qF4zde.js → subsetOfRealsInput-6nUGa76R.js} +2 -2
- package/{summaryStatistics-Blmw-X1a.js → summaryStatistics-DiWNUeD3.js} +2 -2
- package/{table-DmRTyhL0.js → table-C5W6jTEg.js} +2 -2
- package/{tabular-C6v4sxO_.js → tabular-CTNsSyqf.js} +2 -2
- package/{tag-BCmJ32cM.js → tag-Dwt_sh99.js} +2 -2
- package/{text-CeMtCdIU.js → text-CCC_HiXX.js} +6 -6
- package/{textInput-DQijaHeR.js → textInput-N47wvFgX.js} +9 -9
- package/{tooltip-provider-BxNX9ykJ.js → tooltip-provider-D4iBdY_5.js} +1 -1
- package/{useAnchoredGraphDragHandler-B5i789Rc.js → useAnchoredGraphDragHandler-DgiHGeuc.js} +1 -1
- package/useDoenetRenderer-xKXv4Q3h.js +114 -0
- package/{useSubmitActionWithDelay-YEoNlg6K.js → useSubmitActionWithDelay-CfntauU-.js} +2 -2
- package/utils/i18n.d.ts +58 -0
- package/utils/i18n.d.ts.map +1 -1
- package/{vector-BRN-3p5O.js → vector-CqDzM8VB.js} +6 -6
- package/{video--Z4kLzNs.js → video-Dqu_SN1a.js} +4 -4
- package/useDoenetRenderer-Crmjm0_-.js +0 -114
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { p as jsxRuntimeExports } from "./doenetml-M4DBortx.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-xKXv4Q3h.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-M4DBortx.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-xKXv4Q3h.js";
|
|
4
|
+
import { r as renderMarkupBody } from "./markupRenderer-CKCx6OJL.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 {
|
|
1
|
+
import { x as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-M4DBortx.js";
|
|
2
2
|
import React__default, { useRef, useEffect } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-xKXv4Q3h.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,
|
|
1
|
+
import { u as useT, x as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-M4DBortx.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-xKXv4Q3h.js";
|
|
4
|
+
import { F as FontAwesomeIcon } from "./index.es-D0L-dwBl.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-D3aDmkmy.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 {
|
|
1
|
+
import { x as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-M4DBortx.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-xKXv4Q3h.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-o-rmv2Q6.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 { I as encodeFillPatternColorToken } from "./doenetml-M4DBortx.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,
|
|
1
|
+
import { u as useT, p as jsxRuntimeExports, E as Button } from "./doenetml-M4DBortx.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-xKXv4Q3h.js";
|
|
4
|
+
import { T as TooltipProvider, a as TooltipAnchor, b as Tooltip } from "./tooltip-provider-D4iBdY_5.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,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { w as useContentT, p as jsxRuntimeExports, M as MathJax } from "./doenetml-M4DBortx.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-xKXv4Q3h.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-CfntauU-.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-CpqUPpwA.js";
|
|
8
8
|
const fractionInput = React__default.memo(function FractionInput(props) {
|
|
9
9
|
let { id, SVs, actions, children, callAction } = useDoenetRenderer(props);
|
|
10
|
-
const
|
|
10
|
+
const tContent = useContentT();
|
|
11
11
|
let validationState = useRef("unvalidated");
|
|
12
12
|
if (SVs.hidden) {
|
|
13
13
|
return null;
|
|
@@ -27,7 +27,7 @@ const fractionInput = React__default.memo(function FractionInput(props) {
|
|
|
27
27
|
submitActionWithPending,
|
|
28
28
|
SVs.forceFullCheckWorkButton,
|
|
29
29
|
isPending,
|
|
30
|
-
|
|
30
|
+
tContent
|
|
31
31
|
);
|
|
32
32
|
let label = SVs.label;
|
|
33
33
|
const hasLabel = typeof SVs.label === "string" ? SVs.label.trim() !== "" : !!SVs.label;
|
|
@@ -45,7 +45,7 @@ const fractionInput = React__default.memo(function FractionInput(props) {
|
|
|
45
45
|
shortDescription = addValidationStateToShortDescription(
|
|
46
46
|
validationState.current,
|
|
47
47
|
shortDescription,
|
|
48
|
-
|
|
48
|
+
tContent
|
|
49
49
|
);
|
|
50
50
|
}
|
|
51
51
|
const descriptionChild = SVs.descriptionChildInd !== void 0 && SVs.descriptionChildInd !== -1 && children[SVs.descriptionChildInd];
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { p as jsxRuntimeExports,
|
|
1
|
+
import { p as jsxRuntimeExports, at as roundForDisplay, y as Context, x as useRecordVisibilityChanges } from "./doenetml-M4DBortx.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-xKXv4Q3h.js";
|
|
4
|
+
import Prefigure from "./prefigure-DmFL_GTz.js";
|
|
5
|
+
import { a as accessibleLabelText, r as renderLabelWithLatex } from "./labelWithLatex-D2_zUZ8t.js";
|
|
6
|
+
import GraphFrame from "./GraphFrame-DkJnCqmY.js";
|
|
7
|
+
import { J as JSXGraphRenderer } from "./JSXGraphRenderer-CQ4UnDuA.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,
|
|
1
|
+
import { u as useT, x as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-M4DBortx.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-xKXv4Q3h.js";
|
|
4
|
+
import { F as FontAwesomeIcon } from "./index.es-D0L-dwBl.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-D3aDmkmy.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-M4DBortx.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-xKXv4Q3h.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,
|
|
1
|
+
import { q as DocContext, x as useRecordVisibilityChanges, y as Context, p as jsxRuntimeExports, g as getMediaLicenseDisplay } from "./doenetml-M4DBortx.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-CQ4UnDuA.js";
|
|
4
|
+
import { BoardContext, IMAGE_LAYER_OFFSET } from "./graph-CoAsQ_ck.js";
|
|
5
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-xKXv4Q3h.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-CpqUPpwA.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-BJJ7dSCJ.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-DgiHGeuc.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,
|
|
1
|
+
import { q as DocContext, y as Context, p as jsxRuntimeExports, t as textRendererStyle, v as DynamicMath } from "./doenetml-M4DBortx.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-CQ4UnDuA.js";
|
|
4
|
+
import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-CoAsQ_ck.js";
|
|
5
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-xKXv4Q3h.js";
|
|
6
6
|
import { g as getPositionFromAnchorByCoordinate } from "./graph-W6vrFcBu.js";
|
|
7
|
-
import { ChoiceInputInlineContext } from "./choiceInput-
|
|
7
|
+
import { ChoiceInputInlineContext } from "./choiceInput-CJIUcxFH.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-DgiHGeuc.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 {
|
|
1
|
+
import { J as deepCompare, p as jsxRuntimeExports } from "./doenetml-M4DBortx.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-CQ4UnDuA.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-xKXv4Q3h.js";
|
|
5
|
+
import { BoardContext } from "./graph-CoAsQ_ck.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-M4DBortx.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-CQ4UnDuA.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-xKXv4Q3h.js";
|
|
5
|
+
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-CoAsQ_ck.js";
|
|
6
|
+
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-BdbaGIUE.js";
|
|
7
|
+
import { ChoiceInputInlineContext } from "./choiceInput-CJIUcxFH.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,
|
|
2
|
+
import { q as DocContext, N as hasNavigationModifier } from "./doenetml-M4DBortx.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-M4DBortx.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-CQ4UnDuA.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-xKXv4Q3h.js";
|
|
5
|
+
import { BoardContext, VERTEX_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-CoAsQ_ck.js";
|
|
6
|
+
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-BdbaGIUE.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,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { w as useContentT, x as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-M4DBortx.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-xKXv4Q3h.js";
|
|
4
|
+
import { a as addCommasForCompositeRanges } from "./composites-D3aDmkmy.js";
|
|
5
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-CfntauU-.js";
|
|
6
6
|
const list = React__default.memo(function List(props) {
|
|
7
7
|
let { id, SVs, children, actions, callAction } = useDoenetRenderer(props);
|
|
8
|
-
const
|
|
8
|
+
const tContent = useContentT();
|
|
9
9
|
const ref = useRef(null);
|
|
10
10
|
useRecordVisibilityChanges(ref, callAction, actions);
|
|
11
11
|
if (SVs.hidden) {
|
|
@@ -28,7 +28,7 @@ const list = React__default.memo(function List(props) {
|
|
|
28
28
|
submitActionWithPending,
|
|
29
29
|
true,
|
|
30
30
|
isPending,
|
|
31
|
-
|
|
31
|
+
tContent
|
|
32
32
|
);
|
|
33
33
|
}
|
|
34
34
|
if (SVs._compositeReplacementActiveRange) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { p as jsxRuntimeExports } from "./doenetml-M4DBortx.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-xKXv4Q3h.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-M4DBortx.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-xKXv4Q3h.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,
|
|
1
|
+
import { q as DocContext, y as Context, p as jsxRuntimeExports, t as textRendererStyle, v as DynamicMath } from "./doenetml-M4DBortx.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-CQ4UnDuA.js";
|
|
4
|
+
import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-CoAsQ_ck.js";
|
|
5
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-xKXv4Q3h.js";
|
|
6
6
|
import { g as getPositionFromAnchorByCoordinate } from "./graph-W6vrFcBu.js";
|
|
7
|
-
import { ChoiceInputInlineContext } from "./choiceInput-
|
|
7
|
+
import { ChoiceInputInlineContext } from "./choiceInput-CJIUcxFH.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-DgiHGeuc.js";
|
|
11
11
|
function getMathDelimiters(SVs) {
|
|
12
12
|
if (SVs.renderMode === "inline") {
|
|
13
13
|
return ["\\(", "\\)"];
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { p as jsxRuntimeExports,
|
|
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-M4DBortx.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-CQ4UnDuA.js";
|
|
5
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-xKXv4Q3h.js";
|
|
6
|
+
import { P as PropTypes } from "./index-o-rmv2Q6.js";
|
|
7
|
+
import { D as DescriptionPopover, P as PopoverArrow } from "./Description-CpqUPpwA.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-CfntauU-.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-CoAsQ_ck.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",
|
|
@@ -9145,7 +9145,7 @@ function getBlurTransitionContext({
|
|
|
9145
9145
|
}
|
|
9146
9146
|
function MathInput(props) {
|
|
9147
9147
|
let { id, SVs, children, actions, ignoreUpdate, callAction } = useDoenetRenderer(props);
|
|
9148
|
-
const
|
|
9148
|
+
const tContent = useContentT();
|
|
9149
9149
|
MathInput.baseStateVariable = "rawRendererValue";
|
|
9150
9150
|
MathInput.ignoreActionsWithoutCore = (actionName) => actionName === "moveInput";
|
|
9151
9151
|
const virtualKeyboardEvents = useAppSelector(
|
|
@@ -9586,7 +9586,7 @@ function MathInput(props) {
|
|
|
9586
9586
|
shortDescription = addValidationStateToShortDescription(
|
|
9587
9587
|
validationState.current,
|
|
9588
9588
|
shortDescription,
|
|
9589
|
-
|
|
9589
|
+
tContent
|
|
9590
9590
|
);
|
|
9591
9591
|
}
|
|
9592
9592
|
}
|
|
@@ -9746,7 +9746,7 @@ function MathInput(props) {
|
|
|
9746
9746
|
submitActionWithPending,
|
|
9747
9747
|
SVs.forceFullCheckWorkButton,
|
|
9748
9748
|
isPending,
|
|
9749
|
-
|
|
9749
|
+
tContent
|
|
9750
9750
|
);
|
|
9751
9751
|
const labelComponent = hasLabel ? /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
9752
9752
|
"label",
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import { u as useT, p as jsxRuntimeExports,
|
|
1
|
+
import { u as useT, w as useContentT, p as jsxRuntimeExports, K as ActionButtonGroup, L as ActionButton, M as MathJax } from "./doenetml-M4DBortx.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-xKXv4Q3h.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-CfntauU-.js";
|
|
6
|
+
import { D as DescriptionPopover } from "./Description-CpqUPpwA.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();
|
|
10
|
+
const tContent = useContentT();
|
|
10
11
|
let validationState = useRef("unvalidated");
|
|
11
12
|
if (SVs.hidden) {
|
|
12
13
|
return null;
|
|
@@ -30,7 +31,7 @@ const matrixInput = React__default.memo(function MatrixInput(props) {
|
|
|
30
31
|
submitActionWithPending,
|
|
31
32
|
SVs.forceFullCheckWorkButton,
|
|
32
33
|
isPending,
|
|
33
|
-
|
|
34
|
+
tContent
|
|
34
35
|
);
|
|
35
36
|
let matrixInputs = [];
|
|
36
37
|
for (let rowInd = 0; rowInd < SVs.numRows; rowInd++) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { p as jsxRuntimeExports } from "./doenetml-M4DBortx.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-xKXv4Q3h.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-M4DBortx.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-xKXv4Q3h.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-M4DBortx.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-xKXv4Q3h.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,
|
|
1
|
+
import { q as DocContext, y as Context, p as jsxRuntimeExports, t as textRendererStyle, v as DynamicMath } from "./doenetml-M4DBortx.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-CQ4UnDuA.js";
|
|
4
|
+
import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-CoAsQ_ck.js";
|
|
5
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-xKXv4Q3h.js";
|
|
6
6
|
import { g as getPositionFromAnchorByCoordinate } from "./graph-W6vrFcBu.js";
|
|
7
|
-
import { ChoiceInputInlineContext } from "./choiceInput-
|
|
7
|
+
import { ChoiceInputInlineContext } from "./choiceInput-CJIUcxFH.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-DgiHGeuc.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 {
|
|
1
|
+
import { x as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-M4DBortx.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-xKXv4Q3h.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,
|
|
1
|
+
import { u as useT, x as useRecordVisibilityChanges, p as jsxRuntimeExports, B as Button2 } from "./doenetml-M4DBortx.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-xKXv4Q3h.js";
|
|
4
4
|
const ORBITAL_ARROW_STYLE = {
|
|
5
5
|
fill: "none",
|
|
6
6
|
stroke: "var(--canvasText)",
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { w as useContentT, x as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-M4DBortx.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-xKXv4Q3h.js";
|
|
4
|
+
import { a as addCommasForCompositeRanges } from "./composites-D3aDmkmy.js";
|
|
5
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-CfntauU-.js";
|
|
6
6
|
const p = React__default.memo(function P(props) {
|
|
7
7
|
let { id, SVs, children, actions, callAction } = useDoenetRenderer(props);
|
|
8
|
-
const
|
|
8
|
+
const tContent = useContentT();
|
|
9
9
|
const ref = useRef(null);
|
|
10
10
|
useRecordVisibilityChanges(ref, callAction, actions);
|
|
11
11
|
if (SVs.hidden) {
|
|
@@ -28,7 +28,7 @@ const p = React__default.memo(function P(props) {
|
|
|
28
28
|
submitActionWithPending,
|
|
29
29
|
true,
|
|
30
30
|
isPending,
|
|
31
|
-
|
|
31
|
+
tContent
|
|
32
32
|
);
|
|
33
33
|
}
|
|
34
34
|
if (SVs._compositeReplacementActiveRange) {
|
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.394",
|
|
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-M4DBortx.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-xKXv4Q3h.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-CQ4UnDuA.js";
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-xKXv4Q3h.js";
|
|
4
|
+
import { BoardContext, BASE_LAYER_OFFSET } from "./graph-CoAsQ_ck.js";
|
|
5
|
+
import { y as Context } from "./doenetml-M4DBortx.js";
|
|
6
6
|
const { round } = Context.math;
|
|
7
7
|
const pegboard = React__default.memo(function Pegboard(props) {
|
|
8
8
|
let { SVs } = useDoenetRenderer(props);
|