@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
|
@@ -1,17 +1,17 @@
|
|
|
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, s as syncLayer, e as syncLineStrokeStyle, a as syncWithLabelToggle, f as syncLabelStrokeColor, b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight, r as removeJXGEventHandlers } from "./JSXGraphRenderer-
|
|
4
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
5
|
-
import { BoardContext, POINT_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-
|
|
3
|
+
import { j as jxg, s as syncLayer, e as syncLineStrokeStyle, a as syncWithLabelToggle, f as syncLabelStrokeColor, b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight, r as removeJXGEventHandlers } from "./JSXGraphRenderer-DH6ZzfYT.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DAqF5zFD.js";
|
|
5
|
+
import { BoardContext, POINT_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-CJRztDFF.js";
|
|
6
6
|
import { c as characterizeOffGraphPoint, a as characterizeOffGraphCircleArc } from "./offGraphIndicators-CYoqQHuD.js";
|
|
7
7
|
import { n as normalizePointStyle, a as normalizePointSize, b as adjustPointLabelPosition, c as getEffectiveBoundingBox, d as getGraphCornerWithBuffer, e as calculatePointLabelAnchor } from "./graph-W6vrFcBu.js";
|
|
8
|
-
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-
|
|
8
|
+
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-LT5y2nwm.js";
|
|
9
9
|
import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-DV6a8Wvg.js";
|
|
10
10
|
import { p as pointerEventToUserCoords } from "./dragThreshold-DuSSFrIU.js";
|
|
11
11
|
import { a as resolveLineColor, r as resolveFillColor, c as resolveMarkerColor, b as resolveCanvasColor } from "./styleColors-Cknqcr0q.js";
|
|
12
12
|
import { s as styleToDash } from "./styleToDash-DWb71gbd.js";
|
|
13
13
|
import { b as buildFilledShapeAttributes } from "./buildGraphicalAttributes-C7PtyKL7.js";
|
|
14
|
-
import { g as getPatternFillAttributes } from "./fillPatterns-
|
|
14
|
+
import { g as getPatternFillAttributes } from "./fillPatterns-B-Wb7Rdw.js";
|
|
15
15
|
import { u as useDraggableRefs, a as useJSXGraphCleanup } from "./useJSXGraphCleanup-CX91oVW8.js";
|
|
16
16
|
const circle = React__default.memo(function Circle(props) {
|
|
17
17
|
let { componentIdx, id, SVs, actions, callAction } = useDoenetRenderer(props);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { x as createFunctionFromDefinition, n as jsxRuntimeExports } from "./doenetml-CCMBYR_b.js";
|
|
2
2
|
import React__default, { useContext, useRef } from "react";
|
|
3
|
-
import { j as jxg, b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-
|
|
4
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
5
|
-
import { BoardContext, LINE_LAYER_OFFSET, VERTEX_LAYER_OFFSET } from "./graph-
|
|
3
|
+
import { j as jxg, b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-DH6ZzfYT.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DAqF5zFD.js";
|
|
5
|
+
import { BoardContext, LINE_LAYER_OFFSET, VERTEX_LAYER_OFFSET } from "./graph-CJRztDFF.js";
|
|
6
6
|
import { s as styleToDash } from "./styleToDash-DWb71gbd.js";
|
|
7
7
|
const cobwebPolyline = React__default.memo(function CobwebPolyline(props) {
|
|
8
8
|
let { componentIdx, id, SVs, actions, sourceOfUpdate, callAction } = useDoenetRenderer(props);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as jsxRuntimeExports,
|
|
1
|
+
import { n as jsxRuntimeExports, K as EditorViewer } from "./doenetml-CCMBYR_b.js";
|
|
2
2
|
import React__default, { useState, useEffect, useRef } 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
|
function resolveElements(elementOrSelector, scope, selectorCache) {
|
|
6
6
|
if (elementOrSelector == null) {
|
|
@@ -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 containerBlock = React__default.memo(function Container(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 containerBlock = React__default.memo(function Container(props) {
|
|
|
26
27
|
validationState,
|
|
27
28
|
submitActionWithPending,
|
|
28
29
|
true,
|
|
29
|
-
isPending
|
|
30
|
+
isPending,
|
|
31
|
+
t
|
|
30
32
|
);
|
|
31
33
|
if (checkWorkComponent) {
|
|
32
34
|
checkWorkComponent = /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: checkWorkComponent });
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { n as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useT, n as jsxRuntimeExports } from "./doenetml-CCMBYR_b.js";
|
|
2
2
|
import React__default 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 containerInline = React__default.memo(function ContainerInline(props) {
|
|
7
7
|
let { id, SVs, children, actions, callAction } = useDoenetRenderer(props);
|
|
8
|
+
const t = useT();
|
|
8
9
|
if (SVs.hidden) {
|
|
9
10
|
return null;
|
|
10
11
|
}
|
|
@@ -24,7 +25,8 @@ const containerInline = React__default.memo(function ContainerInline(props) {
|
|
|
24
25
|
validationState,
|
|
25
26
|
submitActionWithPending,
|
|
26
27
|
true,
|
|
27
|
-
isPending
|
|
28
|
+
isPending,
|
|
29
|
+
t
|
|
28
30
|
);
|
|
29
31
|
}
|
|
30
32
|
if (SVs._compositeReplacementActiveRange) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { o as DocContext,
|
|
1
|
+
import { o as DocContext, x as createFunctionFromDefinition, n as jsxRuntimeExports } from "./doenetml-CCMBYR_b.js";
|
|
2
2
|
import React__default, { useContext, useRef } from "react";
|
|
3
|
-
import { s as syncLayer, f as syncLabelStrokeColor, b as syncLabelMaskCssStyle, g as syncVisPropValues, j as jxg, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-
|
|
4
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
5
|
-
import { BoardContext, VERTEX_LAYER_OFFSET, CONTROL_POINT_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-
|
|
3
|
+
import { s as syncLayer, f as syncLabelStrokeColor, b as syncLabelMaskCssStyle, g as syncVisPropValues, j as jxg, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-DH6ZzfYT.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DAqF5zFD.js";
|
|
5
|
+
import { BoardContext, VERTEX_LAYER_OFFSET, CONTROL_POINT_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-CJRztDFF.js";
|
|
6
6
|
import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-DV6a8Wvg.js";
|
|
7
7
|
import { a as resolveLineColor, d as resolveHandleColor } from "./styleColors-Cknqcr0q.js";
|
|
8
8
|
import { s as styleToDash } from "./styleToDash-DWb71gbd.js";
|