@doenet/doenetml 0.7.21-dev.361 → 0.7.21-dev.362
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-BzVcEOrl.js → AnswerResponseButton-FrNXi7jz.js} +8 -10
- package/{Description-CeDL7FZY.js → Description-D4h1QV0r.js} +20 -3
- package/{GraphFrame-8IPcvXqk.js → GraphFrame-7muJHYBu.js} +2 -2
- package/{JSXGraphRenderer-Be41lgIz.js → JSXGraphRenderer-DH6ZzfYT.js} +1 -1
- package/{NonInlineMediaWrapper-Tf8Bgp1V.js → NonInlineMediaWrapper-CqBvf7rz.js} +1 -1
- package/Viewer/DocViewer.d.ts.map +1 -1
- package/Viewer/coreWorkerBoot.d.ts.map +1 -1
- package/Viewer/renderers/_error.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/feedback.d.ts.map +1 -1
- package/Viewer/renderers/footnote.d.ts.map +1 -1
- package/Viewer/renderers/fractionInput.d.ts.map +1 -1
- package/Viewer/renderers/hint.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/orbitalDiagramInput.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/slider.d.ts.map +1 -1
- package/Viewer/renderers/solution.d.ts.map +1 -1
- package/Viewer/renderers/subsetOfRealsInput.d.ts.map +1 -1
- package/Viewer/renderers/summaryStatistics.d.ts.map +1 -1
- package/Viewer/renderers/textInput.d.ts.map +1 -1
- package/Viewer/renderers/utils/AnswerResponseButton.d.ts.map +1 -1
- package/Viewer/renderers/utils/Description.d.ts.map +1 -1
- package/Viewer/renderers/utils/checkWork.d.ts +5 -1
- package/Viewer/renderers/utils/checkWork.d.ts.map +1 -1
- package/Viewer/renderers/utils/disclosure.d.ts +16 -0
- package/Viewer/renderers/utils/disclosure.d.ts.map +1 -0
- package/Viewer/renderers/utils/validationState.d.ts +3 -1
- package/Viewer/renderers/utils/validationState.d.ts.map +1 -1
- package/Viewer/renderersLoadComponent.d.ts.map +1 -1
- package/{_error-DhRiszio.js → _error-BdTgXDgj.js} +4 -3
- package/{alert-CExDcbrh.js → alert-Bp9rBO1c.js} +3 -3
- package/{angle-FCTtCuvN.js → angle-xoJC6SFX.js} +6 -6
- package/{answer-BLusvBSG.js → answer-_Zvxo4jA.js} +8 -6
- package/{asList-Dv__hv6D.js → asList-DZD-Xdrj.js} +2 -2
- package/{blockQuote-B6Wtw4HN.js → blockQuote-CUi9cydG.js} +3 -3
- package/{boolean-IP59-Zjp.js → boolean-CX7vVQJz.js} +2 -2
- package/{booleanInput-BCNoC_vo.js → booleanInput-CceFBEy2.js} +9 -7
- package/{br-BqejfFtq.js → br-C_fdDVKv.js} +2 -2
- package/{button-DzYMy3G6.js → button-DBxivYmV.js} +4 -4
- package/{c-wV9nNSPC.js → c-Dr5FHPut.js} +3 -3
- package/{cell-Cfv7v4mc.js → cell-hqwqMA4A.js} +3 -3
- package/{choiceInput-BjbqDU9d.js → choiceInput-7JZaBHNZ.js} +10 -7
- package/{circle-CQ5lWEtc.js → circle-BqfCWmj2.js} +6 -6
- package/{cobwebPolyline-CAStHK_5.js → cobwebPolyline-JFOTL1HK.js} +4 -4
- package/{codeEditor-C2tiWOSh.js → codeEditor-oSH9duvd.js} +2 -2
- package/{composites-BVLPwfSW.js → composites-DbpoF3XJ.js} +1 -1
- package/{containerBlock-CLEUmhMM.js → containerBlock-BwJnX0UE.js} +7 -5
- package/{containerInline-kv3umsgq.js → containerInline-DSHf9h9o.js} +7 -5
- package/{curve-gdmcSsYU.js → curve-BH7j7hXT.js} +4 -4
- package/disclosure-axyZa36E.js +6 -0
- package/{doenetml-BXSsTmMg.js → doenetml-CCMBYR_b.js} +1712 -227
- package/doenetml-external-worker.js +2 -2
- package/doenetml-inline-worker.js +2 -2
- package/doenetml.d.ts.map +1 -1
- package/{ellipsis-D4fj-dH6.js → ellipsis-CQ4585lT.js} +2 -2
- package/{em-BLDmBPbZ.js → em-CYcBkUiA.js} +3 -3
- package/{embed-DFjdhAuI.js → embed-Be0he9Uz.js} +2 -2
- package/{feedback-BDSuY82b.js → feedback-ByTDuaNm.js} +7 -5
- package/{figure-DCQvyct_.js → figure-Dl_yKz7e.js} +3 -3
- package/{fillPatterns-DePmEjFP.js → fillPatterns-B-Wb7Rdw.js} +1 -1
- package/{footnote-EqPCQBWN.js → footnote-BpmhdxIC.js} +6 -8
- package/{fractionInput-CLSJPyA_.js → fractionInput-CCMZLzep.js} +10 -7
- package/{graph-C6hIOAwD.js → graph-CJRztDFF.js} +6 -6
- package/{hint-5LodBIQj.js → hint-39ljV3xf.js} +9 -9
- package/{hr-C9sb2QsS.js → hr-ACnfIwXC.js} +2 -2
- package/{image-CVqPuME4.js → image-DvAqXhei.js} +7 -7
- package/{index-yIMJFPe2.js → index-CMIXIik7.js} +1 -1
- package/{index.es-DnBW6AYz.js → index.es-p77isnix.js} +1 -1
- package/index.js +1 -1
- package/{label-BH-b9r-w.js → label-C63Ww5PO.js} +6 -6
- package/{labelWithLatex-DpzLXHtw.js → labelWithLatex-ClPeO6KG.js} +1 -1
- package/{legend-Dmq310xU.js → legend-BIyyKsy5.js} +4 -4
- package/{line-BerJZTGH.js → line-nzRw-2iw.js} +6 -6
- package/{lineFamilyDragHandlers-YfhC_Q94.js → lineFamilyDragHandlers-LT5y2nwm.js} +1 -1
- package/{lineSegment-BUtYPLbh.js → lineSegment-DEV7vXZ3.js} +5 -5
- package/{list-Ye_2Ltwm.js → list-0vosUKx2.js} +7 -5
- package/{lq-BiqdUNus.js → lq-C6SI-4Ja.js} +2 -2
- package/{lsq-DiKKUzSa.js → lsq-77sCkOO8.js} +2 -2
- package/{markupRenderer-Cb5alIAV.js → markupRenderer-BkS3m7gW.js} +1 -1
- package/{math-CIdkbUN1.js → math-dC5Avala.js} +6 -6
- package/{mathInput-BzRlJdzU.js → mathInput-Be03NUZy.js} +25 -13
- package/{matrixInput-DDs7lvBh.js → matrixInput-BZHnwuib.js} +23 -9
- package/{mdash-6RQrvN6B.js → mdash-D-AfwjXw.js} +2 -2
- package/{nbsp-Bv8MOxpQ.js → nbsp-D2K2UhZb.js} +2 -2
- package/{ndash-9o2u4hWP.js → ndash-DadHhIWX.js} +2 -2
- package/{number-CkoP-Awu.js → number-dzVGZ9ov.js} +6 -6
- package/{orbitalDiagram-B0YGzU6e.js → orbitalDiagram-Dxcuy3dt.js} +2 -2
- package/{orbitalDiagramInput-CMOVOQd6.js → orbitalDiagramInput-CI-jzpnD.js} +25 -10
- package/{p-Ds5IiZOP.js → p-pEbvJ23K.js} +7 -5
- package/package.json +1 -1
- package/{paginatorControls-2F08srE_.js → paginatorControls-DGwC24KV.js} +2 -2
- package/{pegboard-CJ7R1ORC.js → pegboard-DThvj_AK.js} +4 -4
- package/{point-DWqkuQLD.js → point-DRIItKT6.js} +6 -6
- package/{polygon-DVaeOcPw.js → polygon-CyiUEjCg.js} +6 -6
- package/{polyline-DQvHh8rj.js → polyline-Boz-zlQv.js} +5 -5
- package/{pre-C_MW5Olo.js → pre-Bjvq5iJ4.js} +3 -3
- package/{prefigure-Ci1f1zUh.js → prefigure-BPQPwHBD.js} +1 -1
- package/{pretzel-DVucy8kL.js → pretzel-CfNL3RKC.js} +10 -7
- package/{q-CNXXCBSX.js → q-DJbSp6bj.js} +3 -3
- package/{ray-DJJXgWjR.js → ray-BfGfX6gD.js} +5 -5
- package/{ref-Cd36RrOw.js → ref-B-M85Wgb.js} +2 -2
- package/{regionBetweenCurveXAxis-C4leqEex.js → regionBetweenCurveXAxis-CGlQKapF.js} +5 -5
- package/{regionBetweenCurves-BMps4Bio.js → regionBetweenCurves-DV7ARKKw.js} +5 -5
- package/{row-CbA-d6r0.js → row-DBEHryOQ.js} +2 -2
- package/{rq-DOr-Phc5.js → rq-DSkqTb4D.js} +2 -2
- package/{rsq-DIEK5RYn.js → rsq-CmYO91JS.js} +2 -2
- package/{section-DxVcSpPO.js → section-P6nedLi8.js} +26 -22
- package/{sha256-J35x7uWS-BC2XE0XO.js → sha256-J35x7uWS-BtnkRJk3.js} +1 -1
- package/{sideBySide-Dax2p65a.js → sideBySide-B__iobBS.js} +2 -2
- package/{slider-WcUbkagC.js → slider-Cj1kf_PL.js} +6 -5
- package/{solution-pYYqr4mI.js → solution-CugnzBD0.js} +10 -10
- package/{spreadsheet-BrvEPVkR.js → spreadsheet-BDQTKOo4.js} +2 -2
- package/{sq-CsVdwQ0w.js → sq-DRRKkcQ2.js} +3 -3
- package/style.css +7 -0
- package/{subsetOfRealsInput-C7LSCImc.js → subsetOfRealsInput-runRYoEh.js} +34 -6
- package/{summaryStatistics-Dx4n5bYn.js → summaryStatistics-CpAo0yUx.js} +11 -6
- package/{table-BCG2EBik.js → table-DFoJXU6W.js} +2 -2
- package/{tabular-DEiey_kF.js → tabular-CHSfbyFz.js} +2 -2
- package/{tag-CfZ-K_y5.js → tag-CgmbdQFT.js} +2 -2
- package/{text-C6U0VcDc.js → text-Cp6jnCrT.js} +6 -6
- package/{textInput-CaAFDfjE.js → textInput-Dqw-NXoY.js} +12 -9
- package/{tooltip-provider-kvNemycF.js → tooltip-provider-BTQ5leCb.js} +1 -1
- package/{useAnchoredGraphDragHandler-BUbd_SAk.js → useAnchoredGraphDragHandler-CoDUH2rg.js} +1 -1
- package/useDoenetRenderer-DAqF5zFD.js +114 -0
- package/{useSubmitActionWithDelay-BysJ9T7y.js → useSubmitActionWithDelay-DBHyoI8R.js} +52 -24
- package/utils/i18n.d.ts +46 -0
- package/utils/i18n.d.ts.map +1 -0
- package/validationState-DI_lxk1a.js +21 -0
- package/{vector-eEvp4DAc.js → vector-Dnoio46i.js} +6 -6
- package/{video-B7wOIA1h.js → video-DQw2pxWK.js} +4 -4
- package/useDoenetRenderer-BAq1ktng.js +0 -114
- package/validationState-CVwSJZpB.js +0 -13
package/doenetml.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"doenetml.d.ts","sourceRoot":"","sources":["../src/doenetml.tsx"],"names":[],"mappings":"AAAA,OAAO,gBAAgB,CAAC;AAExB,OAAO,KAMN,MAAM,OAAO,CAAC;AACf,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpE,YAAY,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAGzD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,eAAe,CAAC;AAC1D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AACrE,OAAO,KAAK,EACR,gBAAgB,EAChB,WAAW,EACX,aAAa,EAChB,MAAM,eAAe,CAAC;AAEvB,OAAO,oCAAoC,CAAC;AAC5C,OAAO,iCAAiC,CAAC;AAEzC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AACtE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wCAAwC,CAAC;AAC/E,YAAY,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AACtE,YAAY,EAAE,gBAAgB,EAAE,MAAM,wCAAwC,CAAC;AAY/E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAClD,YAAY,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"doenetml.d.ts","sourceRoot":"","sources":["../src/doenetml.tsx"],"names":[],"mappings":"AAAA,OAAO,gBAAgB,CAAC;AAExB,OAAO,KAMN,MAAM,OAAO,C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C;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,sBAAsB,CAAC,EAAE,QAAQ,CAAC;IAClC,+BAA+B,CAAC,EAAE,QAAQ,CAAC;IAC3C,yBAAyB,CAAC,EAAE,QAAQ,CAAC;IACrC,0BAA0B,CAAC,EAAE,CACzB,kBAAkB,EAAE,kBAAkB,EACtC,QAAQ,EAAE,MAAM,KACf,IAAI,CAAC;IACV,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,kBAAkB,CAAC,EAAE,gBAAgB,EAAE,CAAC;IACxC,aAAa,CAAC,EAAE,WAAW,EAAE,CAAC;IAC9B,eAAe,CAAC,EAAE,aAAa,EAAE,CAAC;IAClC,qBAAqB,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,OAAO,CAAC,MAAM,CAAC,CAAC;IACzD,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;OAGG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B;;;;;;;;;;OAUG;IACH,cAAc,CAAC,EAAE,gBAAgB,GAAG,IAAI,CAAC;CAC5C,CAAC;AAEF,eAAO,MAAM,YAAY,8FA4JvB,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { n as jsxRuntimeExports } from "./doenetml-CCMBYR_b.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DAqF5zFD.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 { n as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { n as jsxRuntimeExports } from "./doenetml-CCMBYR_b.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-DAqF5zFD.js";
|
|
4
|
+
import { r as renderMarkupBody } from "./markupRenderer-BkS3m7gW.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 { q as useRecordVisibilityChanges, n as jsxRuntimeExports } from "./doenetml-CCMBYR_b.js";
|
|
2
2
|
import React__default, { useRef, useEffect } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DAqF5zFD.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,11 +1,12 @@
|
|
|
1
|
-
import { u as useRecordVisibilityChanges, n as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useT, q as useRecordVisibilityChanges, n as jsxRuntimeExports } from "./doenetml-CCMBYR_b.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-DAqF5zFD.js";
|
|
4
|
+
import { F as FontAwesomeIcon } from "./index.es-p77isnix.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-DbpoF3XJ.js";
|
|
7
7
|
const feedback = React__default.memo(function Feedback(props) {
|
|
8
8
|
let { id, SVs, children, actions, callAction } = useDoenetRenderer(props);
|
|
9
|
+
const t = useT();
|
|
9
10
|
const ref = useRef(null);
|
|
10
11
|
useRecordVisibilityChanges(ref, callAction, actions);
|
|
11
12
|
if (SVs.hidden) {
|
|
@@ -23,7 +24,8 @@ const feedback = React__default.memo(function Feedback(props) {
|
|
|
23
24
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { ref, className: "feedback", children: [
|
|
24
25
|
/* @__PURE__ */ jsxRuntimeExports.jsxs("span", { tabIndex: 0, children: [
|
|
25
26
|
icon,
|
|
26
|
-
"
|
|
27
|
+
" ",
|
|
28
|
+
t("feedback-heading", void 0, "Feedback")
|
|
27
29
|
] }),
|
|
28
30
|
/* @__PURE__ */ jsxRuntimeExports.jsxs("aside", { id, children: [
|
|
29
31
|
SVs.feedbackText,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { q as useRecordVisibilityChanges, n as jsxRuntimeExports } from "./doenetml-CCMBYR_b.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-DAqF5zFD.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-CMIXIik7.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 { F as encodeFillPatternColorToken } from "./doenetml-CCMBYR_b.js";
|
|
2
2
|
const warnedUnsupportedFillStyles = /* @__PURE__ */ new Set();
|
|
3
3
|
function warnUnsupportedFillStyle(fillStyle) {
|
|
4
4
|
if (warnedUnsupportedFillStyles.has(fillStyle)) {
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { n as jsxRuntimeExports,
|
|
1
|
+
import { u as useT, n as jsxRuntimeExports, y as Button } from "./doenetml-CCMBYR_b.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-DAqF5zFD.js";
|
|
4
|
+
import { T as TooltipProvider, a as TooltipAnchor, b as Tooltip } from "./tooltip-provider-BTQ5leCb.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);
|
|
8
|
+
const t = useT();
|
|
8
9
|
if (SVs.hidden) {
|
|
9
10
|
return null;
|
|
10
11
|
}
|
|
@@ -46,7 +47,7 @@ const footnote = React__default.memo(function Footnote(props) {
|
|
|
46
47
|
]
|
|
47
48
|
}
|
|
48
49
|
),
|
|
49
|
-
/* @__PURE__ */ jsxRuntimeExports.
|
|
50
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
50
51
|
Tooltip,
|
|
51
52
|
{
|
|
52
53
|
style: {
|
|
@@ -55,10 +56,7 @@ const footnote = React__default.memo(function Footnote(props) {
|
|
|
55
56
|
border: "1px solid var(--canvasText)",
|
|
56
57
|
padding: "0.2em 0.5em"
|
|
57
58
|
},
|
|
58
|
-
children:
|
|
59
|
-
isVisible ? "Hide" : "Show",
|
|
60
|
-
" footnote"
|
|
61
|
-
]
|
|
59
|
+
children: isVisible ? t("footnote-hide", void 0, "Hide footnote") : t("footnote-show", void 0, "Show footnote")
|
|
62
60
|
}
|
|
63
61
|
)
|
|
64
62
|
] }) }),
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import { n as jsxRuntimeExports, M as MathJax } from "./doenetml-
|
|
1
|
+
import { u as useT, n as jsxRuntimeExports, M as MathJax } from "./doenetml-CCMBYR_b.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DAqF5zFD.js";
|
|
4
4
|
/* empty css */
|
|
5
|
-
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-
|
|
6
|
-
import { a as addValidationStateToShortDescription } from "./validationState-
|
|
7
|
-
import { D as DescriptionPopover } from "./Description-
|
|
5
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-DBHyoI8R.js";
|
|
6
|
+
import { a as addValidationStateToShortDescription } from "./validationState-DI_lxk1a.js";
|
|
7
|
+
import { D as DescriptionPopover } from "./Description-D4h1QV0r.js";
|
|
8
8
|
const fractionInput = React__default.memo(function FractionInput(props) {
|
|
9
9
|
let { id, SVs, actions, children, callAction } = useDoenetRenderer(props);
|
|
10
|
+
const t = useT();
|
|
10
11
|
let validationState = useRef("unvalidated");
|
|
11
12
|
if (SVs.hidden) {
|
|
12
13
|
return null;
|
|
@@ -25,7 +26,8 @@ const fractionInput = React__default.memo(function FractionInput(props) {
|
|
|
25
26
|
validationState.current,
|
|
26
27
|
submitActionWithPending,
|
|
27
28
|
SVs.forceFullCheckWorkButton,
|
|
28
|
-
isPending
|
|
29
|
+
isPending,
|
|
30
|
+
t
|
|
29
31
|
);
|
|
30
32
|
let label = SVs.label;
|
|
31
33
|
const hasLabel = typeof SVs.label === "string" ? SVs.label.trim() !== "" : !!SVs.label;
|
|
@@ -42,7 +44,8 @@ const fractionInput = React__default.memo(function FractionInput(props) {
|
|
|
42
44
|
if (SVs.colorCorrectness) {
|
|
43
45
|
shortDescription = addValidationStateToShortDescription(
|
|
44
46
|
validationState.current,
|
|
45
|
-
shortDescription
|
|
47
|
+
shortDescription,
|
|
48
|
+
t
|
|
46
49
|
);
|
|
47
50
|
}
|
|
48
51
|
const descriptionChild = SVs.descriptionChildInd !== void 0 && SVs.descriptionChildInd !== -1 && children[SVs.descriptionChildInd];
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { n as jsxRuntimeExports,
|
|
1
|
+
import { n as jsxRuntimeExports, aq as roundForDisplay, v as Context, q as useRecordVisibilityChanges } from "./doenetml-CCMBYR_b.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-DAqF5zFD.js";
|
|
4
|
+
import Prefigure from "./prefigure-BPQPwHBD.js";
|
|
5
|
+
import { a as accessibleLabelText, r as renderLabelWithLatex } from "./labelWithLatex-ClPeO6KG.js";
|
|
6
|
+
import GraphFrame from "./GraphFrame-7muJHYBu.js";
|
|
7
|
+
import { J as JSXGraphRenderer } from "./JSXGraphRenderer-DH6ZzfYT.js";
|
|
8
8
|
const GRAPH_CONTROL_CARD_STYLE = {
|
|
9
9
|
width: "100%",
|
|
10
10
|
boxSizing: "border-box",
|
|
@@ -1,12 +1,14 @@
|
|
|
1
|
-
import { u as useRecordVisibilityChanges, n as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useT, q as useRecordVisibilityChanges, n as jsxRuntimeExports } from "./doenetml-CCMBYR_b.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-DAqF5zFD.js";
|
|
4
|
+
import { F as FontAwesomeIcon } from "./index.es-p77isnix.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-DbpoF3XJ.js";
|
|
8
|
+
import { c as clickToToggleLabel } from "./disclosure-axyZa36E.js";
|
|
8
9
|
const hint = React__default.memo(function Hint(props) {
|
|
9
10
|
let { id, SVs, children, actions, callAction } = useDoenetRenderer(props);
|
|
11
|
+
const t = useT();
|
|
10
12
|
const ref = useRef(null);
|
|
11
13
|
useRecordVisibilityChanges(ref, callAction, actions);
|
|
12
14
|
if (!SVs.showHints) {
|
|
@@ -42,7 +44,7 @@ const hint = React__default.memo(function Hint(props) {
|
|
|
42
44
|
});
|
|
43
45
|
}
|
|
44
46
|
};
|
|
45
|
-
|
|
47
|
+
const openCloseText = clickToToggleLabel(t, SVs.open);
|
|
46
48
|
if (SVs.open) {
|
|
47
49
|
if (SVs._compositeReplacementActiveRange) {
|
|
48
50
|
children = addCommasForCompositeRanges({
|
|
@@ -53,7 +55,6 @@ const hint = React__default.memo(function Hint(props) {
|
|
|
53
55
|
removedInd: removedChildInd
|
|
54
56
|
});
|
|
55
57
|
}
|
|
56
|
-
openCloseText = "close";
|
|
57
58
|
icon = /* @__PURE__ */ jsxRuntimeExports.jsx(FontAwesomeIcon, { icon: faLightbulb$1 });
|
|
58
59
|
info = children;
|
|
59
60
|
infoBlockStyle = {
|
|
@@ -98,9 +99,8 @@ const hint = React__default.memo(function Hint(props) {
|
|
|
98
99
|
icon,
|
|
99
100
|
" ",
|
|
100
101
|
title,
|
|
101
|
-
"
|
|
102
|
-
openCloseText
|
|
103
|
-
")"
|
|
102
|
+
" ",
|
|
103
|
+
openCloseText
|
|
104
104
|
]
|
|
105
105
|
}
|
|
106
106
|
),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { n as jsxRuntimeExports } from "./doenetml-CCMBYR_b.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DAqF5zFD.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 { o as DocContext,
|
|
1
|
+
import { o as DocContext, q as useRecordVisibilityChanges, v as Context, n as jsxRuntimeExports, g as getMediaLicenseDisplay } from "./doenetml-CCMBYR_b.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-DH6ZzfYT.js";
|
|
4
|
+
import { BoardContext, IMAGE_LAYER_OFFSET } from "./graph-CJRztDFF.js";
|
|
5
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DAqF5zFD.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-D4h1QV0r.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-CqBvf7rz.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-CoDUH2rg.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 { o as DocContext,
|
|
1
|
+
import { o as DocContext, v as Context, n as jsxRuntimeExports, t as textRendererStyle, p as DynamicMath } from "./doenetml-CCMBYR_b.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-DH6ZzfYT.js";
|
|
4
|
+
import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-CJRztDFF.js";
|
|
5
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DAqF5zFD.js";
|
|
6
6
|
import { g as getPositionFromAnchorByCoordinate } from "./graph-W6vrFcBu.js";
|
|
7
|
-
import { ChoiceInputInlineContext } from "./choiceInput-
|
|
7
|
+
import { ChoiceInputInlineContext } from "./choiceInput-7JZaBHNZ.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-CoDUH2rg.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 { G as deepCompare, n as jsxRuntimeExports } from "./doenetml-CCMBYR_b.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-DH6ZzfYT.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DAqF5zFD.js";
|
|
5
|
+
import { BoardContext } from "./graph-CJRztDFF.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 { o as DocContext, n as jsxRuntimeExports, t as textRendererStyle, p as DynamicMath } from "./doenetml-
|
|
1
|
+
import { o as DocContext, n as jsxRuntimeExports, t as textRendererStyle, p as DynamicMath } from "./doenetml-CCMBYR_b.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-DH6ZzfYT.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DAqF5zFD.js";
|
|
5
|
+
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-CJRztDFF.js";
|
|
6
|
+
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-LT5y2nwm.js";
|
|
7
|
+
import { ChoiceInputInlineContext } from "./choiceInput-7JZaBHNZ.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 { o as DocContext } from "./doenetml-
|
|
2
|
+
import { o as DocContext } from "./doenetml-CCMBYR_b.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 { o as DocContext, n as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { o as DocContext, n as jsxRuntimeExports } from "./doenetml-CCMBYR_b.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-DH6ZzfYT.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DAqF5zFD.js";
|
|
5
|
+
import { BoardContext, VERTEX_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-CJRztDFF.js";
|
|
6
|
+
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-LT5y2nwm.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,10 +1,11 @@
|
|
|
1
|
-
import { u as useRecordVisibilityChanges, n as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useT, q as useRecordVisibilityChanges, n as jsxRuntimeExports } from "./doenetml-CCMBYR_b.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-DAqF5zFD.js";
|
|
4
|
+
import { a as addCommasForCompositeRanges } from "./composites-DbpoF3XJ.js";
|
|
5
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-DBHyoI8R.js";
|
|
6
6
|
const list = React__default.memo(function List(props) {
|
|
7
7
|
let { id, SVs, children, actions, callAction } = useDoenetRenderer(props);
|
|
8
|
+
const t = useT();
|
|
8
9
|
const ref = useRef(null);
|
|
9
10
|
useRecordVisibilityChanges(ref, callAction, actions);
|
|
10
11
|
if (SVs.hidden) {
|
|
@@ -26,7 +27,8 @@ const list = React__default.memo(function List(props) {
|
|
|
26
27
|
validationState,
|
|
27
28
|
submitActionWithPending,
|
|
28
29
|
true,
|
|
29
|
-
isPending
|
|
30
|
+
isPending,
|
|
31
|
+
t
|
|
30
32
|
);
|
|
31
33
|
}
|
|
32
34
|
if (SVs._compositeReplacementActiveRange) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { n as jsxRuntimeExports } from "./doenetml-CCMBYR_b.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DAqF5zFD.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 { n as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { n as jsxRuntimeExports } from "./doenetml-CCMBYR_b.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DAqF5zFD.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 { o as DocContext,
|
|
1
|
+
import { o as DocContext, v as Context, n as jsxRuntimeExports, t as textRendererStyle, p as DynamicMath } from "./doenetml-CCMBYR_b.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-DH6ZzfYT.js";
|
|
4
|
+
import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-CJRztDFF.js";
|
|
5
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DAqF5zFD.js";
|
|
6
6
|
import { g as getPositionFromAnchorByCoordinate } from "./graph-W6vrFcBu.js";
|
|
7
|
-
import { ChoiceInputInlineContext } from "./choiceInput-
|
|
7
|
+
import { ChoiceInputInlineContext } from "./choiceInput-7JZaBHNZ.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-CoDUH2rg.js";
|
|
11
11
|
function getMathDelimiters(SVs) {
|
|
12
12
|
if (SVs.renderMode === "inline") {
|
|
13
13
|
return ["\\(", "\\)"];
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { n as jsxRuntimeExports,
|
|
1
|
+
import { n as jsxRuntimeExports, u as useT, z as useAppSelector, a3 as keyboardSlice, a4 as FocusedMathInputContext, a5 as DEFAULT_MATH_INPUT_FUNCTION_NAMES, v as Context, a6 as PopoverAnchor, M as MathJax, $ as usePopoverStore, S as useStoreState, a2 as Popover } from "./doenetml-CCMBYR_b.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-DH6ZzfYT.js";
|
|
5
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DAqF5zFD.js";
|
|
6
|
+
import { P as PropTypes } from "./index-CMIXIik7.js";
|
|
7
|
+
import { D as DescriptionPopover, P as PopoverArrow } from "./Description-D4h1QV0r.js";
|
|
8
8
|
/* empty css */
|
|
9
|
-
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-
|
|
10
|
-
import { a as addValidationStateToShortDescription } from "./validationState-
|
|
11
|
-
import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-
|
|
9
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-DBHyoI8R.js";
|
|
10
|
+
import { a as addValidationStateToShortDescription } from "./validationState-DI_lxk1a.js";
|
|
11
|
+
import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-CJRztDFF.js";
|
|
12
12
|
import { g as getPositionFromAnchorByCoordinate, P as POINTER_DRAG_THRESHOLD } from "./graph-W6vrFcBu.js";
|
|
13
13
|
var __extends = /* @__PURE__ */ (function() {
|
|
14
14
|
var extendStatics = function(d, b) {
|
|
@@ -9022,6 +9022,7 @@ function MathInputPreviewPopover({
|
|
|
9022
9022
|
immediateValueLatex,
|
|
9023
9023
|
errorMessageRawRenderer
|
|
9024
9024
|
}) {
|
|
9025
|
+
const t = useT();
|
|
9025
9026
|
if (!showPreview) {
|
|
9026
9027
|
return null;
|
|
9027
9028
|
}
|
|
@@ -9031,7 +9032,11 @@ function MathInputPreviewPopover({
|
|
|
9031
9032
|
{
|
|
9032
9033
|
store: preview.previewPopover,
|
|
9033
9034
|
className: "description-popover mathInputPreviewPopover",
|
|
9034
|
-
"aria-label":
|
|
9035
|
+
"aria-label": t(
|
|
9036
|
+
"math-input-preview-region",
|
|
9037
|
+
void 0,
|
|
9038
|
+
"math expression preview"
|
|
9039
|
+
),
|
|
9035
9040
|
gutter: 8,
|
|
9036
9041
|
flip: "top bottom left",
|
|
9037
9042
|
fitViewport: true,
|
|
@@ -9051,12 +9056,16 @@ function MathInputPreviewPopover({
|
|
|
9051
9056
|
id: preview.previewId,
|
|
9052
9057
|
className: "mathInputPreviewContent",
|
|
9053
9058
|
tabIndex: 0,
|
|
9054
|
-
"aria-label": "Preview",
|
|
9059
|
+
"aria-label": t("math-input-preview", void 0, "Preview"),
|
|
9055
9060
|
onFocus: () => preview.setInteractingWithPreview(true),
|
|
9056
9061
|
onBlur: () => preview.setInteractingWithPreview(false),
|
|
9057
9062
|
onKeyDown: preview.handlePreviewKeyDown,
|
|
9058
9063
|
children: showParseErrorMessage ? /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "mathInputPreviewErrorMessage", children: [
|
|
9059
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("strong", { children:
|
|
9064
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("strong", { children: t(
|
|
9065
|
+
"math-input-invalid-expression",
|
|
9066
|
+
void 0,
|
|
9067
|
+
"Invalid expression:"
|
|
9068
|
+
) }),
|
|
9060
9069
|
" ",
|
|
9061
9070
|
errorMessageRawRenderer
|
|
9062
9071
|
] }) : /* @__PURE__ */ jsxRuntimeExports.jsx(MathJax, { hideUntilTypeset: "first", inline: true, dynamic: true, children: `\\(${immediateValueLatex}\\)` })
|
|
@@ -9081,6 +9090,7 @@ function getBlurTransitionContext({
|
|
|
9081
9090
|
}
|
|
9082
9091
|
function MathInput(props) {
|
|
9083
9092
|
let { id, SVs, children, actions, ignoreUpdate, callAction } = useDoenetRenderer(props);
|
|
9093
|
+
const t = useT();
|
|
9084
9094
|
MathInput.baseStateVariable = "rawRendererValue";
|
|
9085
9095
|
MathInput.ignoreActionsWithoutCore = (actionName) => actionName === "moveInput";
|
|
9086
9096
|
const virtualKeyboardEvents = useAppSelector(
|
|
@@ -9520,7 +9530,8 @@ function MathInput(props) {
|
|
|
9520
9530
|
if (SVs.includeValidationStateInShortDescription !== false) {
|
|
9521
9531
|
shortDescription = addValidationStateToShortDescription(
|
|
9522
9532
|
validationState.current,
|
|
9523
|
-
shortDescription
|
|
9533
|
+
shortDescription,
|
|
9534
|
+
t
|
|
9524
9535
|
);
|
|
9525
9536
|
}
|
|
9526
9537
|
}
|
|
@@ -9679,7 +9690,8 @@ function MathInput(props) {
|
|
|
9679
9690
|
validationState.current,
|
|
9680
9691
|
submitActionWithPending,
|
|
9681
9692
|
SVs.forceFullCheckWorkButton,
|
|
9682
|
-
isPending
|
|
9693
|
+
isPending,
|
|
9694
|
+
t
|
|
9683
9695
|
);
|
|
9684
9696
|
const labelComponent = hasLabel ? /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
9685
9697
|
"label",
|