@doenet/doenetml 0.7.20-dev.20260624134032.12ec607 → 0.7.20-dev.20260624162853.affed83
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-Bc90kgwT.js → AnswerResponseButton-B75D-urw.js} +2 -2
- package/{Description-On1l-uIu.js → Description-rdTQ9TLX.js} +1 -1
- package/{GraphFrame-nX3vGfPz.js → GraphFrame-yJEQC-e5.js} +2 -2
- package/{JSXGraphRenderer-D7H5Tp66.js → JSXGraphRenderer-CfJ0cmjK.js} +1 -1
- package/{NonInlineMediaWrapper-CWBODc8-.js → NonInlineMediaWrapper-CTav5TPR.js} +1 -1
- package/Viewer/renderers/choiceInput.d.ts +6 -3
- package/Viewer/renderers/choiceInput.d.ts.map +1 -1
- package/{_error-CA4GBjZD.js → _error-Cf9zp7fd.js} +2 -2
- package/{alert-EUt6qVHw.js → alert-aTE7Rof1.js} +3 -3
- package/{angle-CwOzzOXo.js → angle-D-RzMK6C.js} +5 -5
- package/{answer-B5_Hl4os.js → answer-KBo75NLa.js} +5 -5
- package/{asList-NC0pH23Z.js → asList-PjkIO1aA.js} +2 -2
- package/{blockQuote-C7sorIs3.js → blockQuote-DGyFCl1v.js} +3 -3
- package/{boolean-uR2qE0aX.js → boolean-DUv73xWO.js} +2 -2
- package/{booleanInput-CZj5QGI2.js → booleanInput-CllzOTf_.js} +6 -6
- package/{br-DrJTOdjw.js → br-BMcEWJJY.js} +2 -2
- package/{button-7Wh8G4lF.js → button-PyieW38w.js} +4 -4
- package/{c--HDi5IEO.js → c-BsgrRFbG.js} +3 -3
- package/{cell-DqZhQvUu.js → cell-B_wtBwVi.js} +3 -3
- package/{choiceInput-Cj1mFSH3.js → choiceInput-CnyzF2Nz.js} +15 -6
- package/{circle-NSXIc_AA.js → circle-DyWuxivt.js} +4 -4
- package/{cobwebPolyline-CH0KvRS4.js → cobwebPolyline-Bf25Mkdw.js} +4 -4
- package/{codeEditor-CvI5Rajd.js → codeEditor-KHhoyhtt.js} +2 -2
- package/{composites-B8aKaIyS.js → composites-CjTJiM0U.js} +1 -1
- package/{containerBlock-gvPLH7Ln.js → containerBlock-B_QwB5qG.js} +4 -4
- package/{containerInline-Comz3c7S.js → containerInline-D4yIfB7j.js} +4 -4
- package/{curve-Buqmkbnb.js → curve-9FEgZ4Np.js} +4 -4
- package/{doenetml-DJHNRc3s.js → doenetml-DW3RwRMG.js} +24 -9
- package/doenetml-inline-worker.js +2 -2
- package/{ellipsis-BkOL2XK8.js → ellipsis-BxNCzjKG.js} +2 -2
- package/{em-BUtl7c5h.js → em-kl_HvbfY.js} +3 -3
- package/{embed-C9VI9Zrw.js → embed-BFTI58C0.js} +2 -2
- package/{feedback-DMxyh9E7.js → feedback-B6yLC0DG.js} +4 -4
- package/{figure-9sYvWm1n.js → figure-BikGGF60.js} +3 -3
- package/{footnote-DZ4C230U.js → footnote-Dw45F11E.js} +3 -3
- package/{fractionInput-0rCcKEr1.js → fractionInput-BF5MLLNm.js} +4 -4
- package/{graph-DMblshWn.js → graph-DSXnCPHN.js} +6 -6
- package/{hint-DLniN44e.js → hint-Dtd0M_d9.js} +4 -4
- package/{hr-BHeDsDDa.js → hr-TX1SOJ7u.js} +2 -2
- package/{image-DNxwtes1.js → image-DiW4sPEW.js} +7 -7
- package/{index-BTqclIwl.js → index-B3Uhw2Kh.js} +1 -1
- package/{index.es-BVYdRrEq.js → index.es-DlbkZlNJ.js} +1 -1
- package/index.js +1 -1
- package/{label-D9u8VRM1.js → label-BiKZDCrL.js} +6 -6
- package/{labelWithLatex-Cl3GFgX9.js → labelWithLatex-36F-nuA1.js} +1 -1
- package/{legend-yN74pgdf.js → legend-BE8fTuWl.js} +4 -4
- package/{line-DEuLJU91.js → line-CrYCnzCD.js} +5 -5
- package/{lineSegment-aBJOMZUD.js → lineSegment-Cu8mL57I.js} +4 -4
- package/{list-B07ol1EN.js → list-4LFZT7Gu.js} +4 -4
- package/{lq-DrXlZ3EE.js → lq-CsutsH2X.js} +2 -2
- package/{lsq-DGS-Yl7h.js → lsq-C-uGJjZh.js} +2 -2
- package/{markupRenderer-B2wD06pu.js → markupRenderer-IJikk3q7.js} +1 -1
- package/{math-aDotavgR.js → math-C40qf9d8.js} +6 -6
- package/{mathInput-CyzI8MhU.js → mathInput-BLqtqwdx.js} +5 -5
- package/{matrixInput-BljGQnMf.js → matrixInput-CkJkC0vQ.js} +4 -4
- package/{mdash-ANGVchCq.js → mdash-CIWG_U2E.js} +2 -2
- package/{nbsp-D7mSi8LF.js → nbsp-Bcw4cMz3.js} +2 -2
- package/{ndash-BdBLShQT.js → ndash-BPUBTrqm.js} +2 -2
- package/{number-SXICNCCV.js → number-CabGbcpP.js} +6 -6
- package/{orbitalDiagram-u3FaIqVL.js → orbitalDiagram-DLIlT0vx.js} +2 -2
- package/{orbitalDiagramInput-Cp4tt2K-.js → orbitalDiagramInput-Cxm-Tys8.js} +2 -2
- package/{p-DMTzgemT.js → p-C0ykR-7U.js} +4 -4
- package/package.json +1 -1
- package/{paginatorControls-ReFY9hcv.js → paginatorControls-B4bwDD2u.js} +2 -2
- package/{pegboard-BYvPu4Iw.js → pegboard-CNP6s2f3.js} +4 -4
- package/{point-Cq4BU5Ld.js → point-DB_wFxhV.js} +5 -5
- package/{polygon-B8lTv2GQ.js → polygon-B4GW2gKS.js} +4 -4
- package/{polyline-BOhq8zFd.js → polyline-B7G9jmAu.js} +4 -4
- package/{pre-mbpMTMvZ.js → pre-BJ3CLXqT.js} +3 -3
- package/{prefigure-COdS-0lG.js → prefigure-C5slkTnu.js} +1 -1
- package/{pretzel-BY7t5WEX.js → pretzel-CIO7Ig8f.js} +4 -4
- package/{q-CAJuIg3B.js → q-DSqWEwNo.js} +3 -3
- package/{ray-DBei4kts.js → ray-CEAZdGlM.js} +4 -4
- package/{ref-DHj4isnY.js → ref-BIKT7B2W.js} +2 -2
- package/{regionBetweenCurveXAxis-DsSUX23I.js → regionBetweenCurveXAxis-jTzPIn2d.js} +4 -4
- package/{regionBetweenCurves-R7He2Uv9.js → regionBetweenCurves-C8iyMyeR.js} +3 -3
- package/{row-CYREBhml.js → row-Q5MW2RMx.js} +2 -2
- package/{rq-DzE44uyU.js → rq-DynBbaKk.js} +2 -2
- package/{rsq-BDGhcwpN.js → rsq-DYCuGbFj.js} +2 -2
- package/{section-D2FCfZFD.js → section-iyvxXatI.js} +5 -5
- package/{sha256-D_YDvB1B-BW4T4emA.js → sha256-D_YDvB1B-DihdN9TA.js} +1 -1
- package/{sideBySide-DyDXExMo.js → sideBySide-IHQodA4s.js} +2 -2
- package/{slider-29ZwEPXB.js → slider-4ZN1OZKs.js} +3 -3
- package/{solution-C9R12MFy.js → solution-UZ5CHncP.js} +4 -4
- package/{spreadsheet-BS25BEov.js → spreadsheet-BVNOlTjK.js} +2 -2
- package/{sq-CSRSrJzD.js → sq-BiQPDg0g.js} +3 -3
- package/{subsetOfRealsInput-Bp0WC0c2.js → subsetOfRealsInput-oqfMgYSc.js} +2 -2
- package/{summaryStatistics-BEMgc6vF.js → summaryStatistics-D4rsqpvn.js} +2 -2
- package/{table-Be7FQxQW.js → table-P1XTt1xY.js} +2 -2
- package/{tabular-o19CaqOs.js → tabular-DYwcyah4.js} +2 -2
- package/{tag-DThhF0bm.js → tag-BvKdbhv-.js} +2 -2
- package/{text-Bplhmii-.js → text-DB0HYDFh.js} +6 -6
- package/{textInput-CpWZo8wd.js → textInput-BPA8hEJJ.js} +6 -6
- package/{tooltip-provider-DRPd6PaT.js → tooltip-provider-Cwb_JJuV.js} +1 -1
- package/{useAnchoredGraphDragHandler-Z0r1QfvD.js → useAnchoredGraphDragHandler-CXBdiI2q.js} +1 -1
- package/useDoenetRenderer-DRCWvKKg.js +114 -0
- package/{useSubmitActionWithDelay-BjD10edl.js → useSubmitActionWithDelay-CBbCEjH_.js} +2 -2
- package/{vector-BZrqujjJ.js → vector-DAhbrIUn.js} +5 -5
- package/{video-DKzsC6If.js → video-ep7IKugM.js} +4 -4
- package/useDoenetRenderer-CMHm_Ap8.js +0 -114
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { j as jsxRuntimeExports, p as Button } from "./doenetml-
|
|
2
|
-
import { T as TooltipProvider, a as TooltipAnchor, b as Tooltip } from "./tooltip-provider-
|
|
1
|
+
import { j as jsxRuntimeExports, p as Button } from "./doenetml-DW3RwRMG.js";
|
|
2
|
+
import { T as TooltipProvider, a as TooltipAnchor, b as Tooltip } from "./tooltip-provider-Cwb_JJuV.js";
|
|
3
3
|
function AnswerResponseButton({
|
|
4
4
|
answerId,
|
|
5
5
|
answerComponentIdx,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { G as memo2, H as forwardRef2, I as createHook, J as createElement, K as usePopoverContext, L as invariant, N as useStoreState, O as useId, j as jsxRuntimeExports, P as useMergeRefs, Q as removeUndefinedValues, R as useSafeLayoutEffect, S as getWindow, U as usePopoverStore, V as PopoverDisclosure, W as MdInfoOutline, X as Popover } from "./doenetml-
|
|
1
|
+
import { G as memo2, H as forwardRef2, I as createHook, J as createElement, K as usePopoverContext, L as invariant, N as useStoreState, O as useId, j as jsxRuntimeExports, P as useMergeRefs, Q as removeUndefinedValues, R as useSafeLayoutEffect, S as getWindow, U as usePopoverStore, V as PopoverDisclosure, W as MdInfoOutline, X as Popover } from "./doenetml-DW3RwRMG.js";
|
|
2
2
|
import { useMemo, useState, useRef } from "react";
|
|
3
3
|
var POPOVER_ARROW_PATH = "M23 27.8C24.1 29 26.4 30 28 30H30H0H2C3.7 30 5.9 29 7 27.8L14 20.6C14.7 19.8 15.3 19.8 16 20.6L23 27.8Z";
|
|
4
4
|
var TagName = "div";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { j as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { j as jsxRuntimeExports } from "./doenetml-DW3RwRMG.js";
|
|
2
2
|
import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
|
|
3
|
-
import { D as DescriptionPopover, a as DescriptionAsDetails } from "./Description-
|
|
3
|
+
import { D as DescriptionPopover, a as DescriptionAsDetails } from "./Description-rdTQ9TLX.js";
|
|
4
4
|
function GraphFrame({
|
|
5
5
|
id,
|
|
6
6
|
SVs,
|
|
@@ -5,9 +5,12 @@ import { UseDoenetRendererProps } from '../useDoenetRenderer';
|
|
|
5
5
|
* 1. isHidden: indicates that the content is being rendered invisibly to size the select input.
|
|
6
6
|
* It is used by the math renderer to turn off hideUntilTypeset, which would cause it to
|
|
7
7
|
* overwrite the invisible rendering and add tab stops to the invisible content.
|
|
8
|
-
* 2. inOption: indicates that the content is being rendered inside a
|
|
9
|
-
*
|
|
10
|
-
*
|
|
8
|
+
* 2. inOption: indicates that the content is being rendered inside a selected
|
|
9
|
+
* (highlighted) select option. Because a selected option uses a dark
|
|
10
|
+
* background, it is used to turn off color specifications so that the font
|
|
11
|
+
* color can be set to white for contrast. (With selectMultiple, more than
|
|
12
|
+
* one option can be selected at once.) Unselected options and the displayed
|
|
13
|
+
* value render with their own style colors.
|
|
11
14
|
*/
|
|
12
15
|
export declare const ChoiceInputInlineContext: React.Context<{
|
|
13
16
|
isHidden: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"choiceInput.d.ts","sourceRoot":"","sources":["../../../src/Viewer/renderers/choiceInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmD,MAAM,OAAO,CAAC;AACxE,OAA0B,EACtB,sBAAsB,EACzB,MAAM,sBAAsB,CAAC;AAG9B,OAAO,mBAAmB,CAAC;AAmB3B
|
|
1
|
+
{"version":3,"file":"choiceInput.d.ts","sourceRoot":"","sources":["../../../src/Viewer/renderers/choiceInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmD,MAAM,OAAO,CAAC;AACxE,OAA0B,EACtB,sBAAsB,EACzB,MAAM,sBAAsB,CAAC;AAG9B,OAAO,mBAAmB,CAAC;AAmB3B;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,wBAAwB;cACvB,OAAO;cACP,OAAO;EACmB,CAAC;;AA0BzC,wBA6lBG"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { j as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { j as jsxRuntimeExports } from "./doenetml-DW3RwRMG.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DRCWvKKg.js";
|
|
4
4
|
const _error = React__default.memo(function Error(props) {
|
|
5
5
|
let { id, SVs, children } = useDoenetRenderer(props);
|
|
6
6
|
let displayedMessage = null;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { j as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { j as jsxRuntimeExports } from "./doenetml-DW3RwRMG.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
4
|
-
import { a as addCommasForCompositeRanges } from "./composites-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DRCWvKKg.js";
|
|
4
|
+
import { a as addCommasForCompositeRanges } from "./composites-CjTJiM0U.js";
|
|
5
5
|
const alert = React__default.memo(function Alert(props) {
|
|
6
6
|
let { id, SVs, children } = useDoenetRenderer(props);
|
|
7
7
|
if (SVs.hidden) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { k as DocContext, j as jsxRuntimeExports, t as textRendererStyle, M as MathJax } from "./doenetml-
|
|
1
|
+
import { k as DocContext, j as jsxRuntimeExports, t as textRendererStyle, M as MathJax } from "./doenetml-DW3RwRMG.js";
|
|
2
2
|
import React__default, { useContext, useRef, useEffect } from "react";
|
|
3
|
-
import { j as jxg, s as syncLayer, a as syncWithLabelToggle } from "./JSXGraphRenderer-
|
|
4
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
5
|
-
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-
|
|
6
|
-
import { ChoiceInputInlineContext } from "./choiceInput-
|
|
3
|
+
import { j as jxg, s as syncLayer, a as syncWithLabelToggle } from "./JSXGraphRenderer-CfJ0cmjK.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DRCWvKKg.js";
|
|
5
|
+
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-DSXnCPHN.js";
|
|
6
|
+
import { ChoiceInputInlineContext } from "./choiceInput-CnyzF2Nz.js";
|
|
7
7
|
const angle = React__default.memo(function Angle(props) {
|
|
8
8
|
let { id, SVs } = useDoenetRenderer(props);
|
|
9
9
|
const board = useContext(BoardContext);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { k as DocContext, j as jsxRuntimeExports, M as MathJax } from "./doenetml-
|
|
1
|
+
import { k as DocContext, j as jsxRuntimeExports, M as MathJax } from "./doenetml-DW3RwRMG.js";
|
|
2
2
|
import React__default, { useContext } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
4
|
-
import { A as AnswerResponseButton } from "./AnswerResponseButton-
|
|
5
|
-
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-
|
|
6
|
-
import { D as DescriptionPopover } from "./Description-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DRCWvKKg.js";
|
|
4
|
+
import { A as AnswerResponseButton } from "./AnswerResponseButton-B75D-urw.js";
|
|
5
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-CBbCEjH_.js";
|
|
6
|
+
import { D as DescriptionPopover } from "./Description-rdTQ9TLX.js";
|
|
7
7
|
const answer = React__default.memo(function Answer(props) {
|
|
8
8
|
let {
|
|
9
9
|
componentIdx,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { j as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { j as jsxRuntimeExports } from "./doenetml-DW3RwRMG.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DRCWvKKg.js";
|
|
4
4
|
const asList = React__default.memo(function AsList(props) {
|
|
5
5
|
let { id, SVs, children } = useDoenetRenderer(props);
|
|
6
6
|
if (SVs.hidden) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { u as useRecordVisibilityChanges, j as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useRecordVisibilityChanges, j as jsxRuntimeExports } from "./doenetml-DW3RwRMG.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
4
|
-
import { r as renderMarkupBody } from "./markupRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DRCWvKKg.js";
|
|
4
|
+
import { r as renderMarkupBody } from "./markupRenderer-IJikk3q7.js";
|
|
5
5
|
const blockQuote = React__default.memo(function Container(props) {
|
|
6
6
|
const { id, SVs, children, actions, callAction } = useDoenetRenderer(props);
|
|
7
7
|
const ref = useRef(null);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { j as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { j as jsxRuntimeExports } from "./doenetml-DW3RwRMG.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DRCWvKKg.js";
|
|
4
4
|
const boolean = React__default.memo(function Boolean(props) {
|
|
5
5
|
let { id, SVs } = useDoenetRenderer(props, false);
|
|
6
6
|
if (SVs.hidden) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { l as Context, j as jsxRuntimeExports, M as MathJax, T as ToggleButton } from "./doenetml-
|
|
1
|
+
import { l as Context, j as jsxRuntimeExports, M as MathJax, T as ToggleButton } from "./doenetml-DW3RwRMG.js";
|
|
2
2
|
import React__default, { useState, useRef, useContext, 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-CfJ0cmjK.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DRCWvKKg.js";
|
|
5
|
+
import { BoardContext } from "./graph-DSXnCPHN.js";
|
|
6
6
|
import { g as getPositionFromAnchorByCoordinate, P as POINTER_DRAG_THRESHOLD } from "./graph-FesVg1vs.js";
|
|
7
|
-
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-
|
|
8
|
-
import { D as DescriptionPopover } from "./Description-
|
|
7
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-CBbCEjH_.js";
|
|
8
|
+
import { D as DescriptionPopover } from "./Description-rdTQ9TLX.js";
|
|
9
9
|
const booleanInput = React__default.memo(function BooleanInput(props) {
|
|
10
10
|
let { id, SVs, children, actions, ignoreUpdate, callAction } = useDoenetRenderer(props);
|
|
11
11
|
BooleanInput.baseStateVariable = "value";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { j as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { j as jsxRuntimeExports } from "./doenetml-DW3RwRMG.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DRCWvKKg.js";
|
|
4
4
|
const br = React__default.memo(function Br(props) {
|
|
5
5
|
let { id, SVs } = useDoenetRenderer(props);
|
|
6
6
|
if (SVs.hidden) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { l as Context, n as cesc, j as jsxRuntimeExports, B as Button } from "./doenetml-
|
|
1
|
+
import { l as Context, n as cesc, j as jsxRuntimeExports, B as Button } from "./doenetml-DW3RwRMG.js";
|
|
2
2
|
import React__default, { useRef, useContext, 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-CfJ0cmjK.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DRCWvKKg.js";
|
|
5
|
+
import { BoardContext } from "./graph-DSXnCPHN.js";
|
|
6
6
|
import { g as getPositionFromAnchorByCoordinate, P as POINTER_DRAG_THRESHOLD } from "./graph-FesVg1vs.js";
|
|
7
7
|
const button = React__default.memo(function ButtonComponent(props) {
|
|
8
8
|
let { id, SVs, actions, callAction } = useDoenetRenderer(
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { j as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { j as jsxRuntimeExports } from "./doenetml-DW3RwRMG.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-DRCWvKKg.js";
|
|
4
|
+
import { r as renderMarkupBody } from "./markupRenderer-IJikk3q7.js";
|
|
5
5
|
const c = React__default.memo(function C(props) {
|
|
6
6
|
const { id, SVs, children } = useDoenetRenderer(props);
|
|
7
7
|
const body = renderMarkupBody({ SVs, children });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { j as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { j as jsxRuntimeExports } from "./doenetml-DW3RwRMG.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
4
|
-
import { a as addCommasForCompositeRanges } from "./composites-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DRCWvKKg.js";
|
|
4
|
+
import { a as addCommasForCompositeRanges } from "./composites-CjTJiM0U.js";
|
|
5
5
|
const cell = React__default.memo(function Cell(props) {
|
|
6
6
|
let { id, SVs, children } = useDoenetRenderer(props);
|
|
7
7
|
if (SVs.hidden) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { al as autoUpdate, j as jsxRuntimeExports, M as MathJax } from "./doenetml-
|
|
1
|
+
import { al as autoUpdate, j as jsxRuntimeExports, M as MathJax } from "./doenetml-DW3RwRMG.js";
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
import React__default, { useState, useCallback, forwardRef, useContext, useLayoutEffect, useRef, useMemo, createContext, Component, Fragment, useEffect } from "react";
|
|
4
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DRCWvKKg.js";
|
|
5
5
|
import { a as _objectWithoutPropertiesLoose, _ as _setPrototypeOf, b as _extends } from "./setPrototypeOf-C-47lAIH.js";
|
|
6
6
|
import { createPortal } from "react-dom";
|
|
7
|
-
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-
|
|
8
|
-
import { D as DescriptionPopover } from "./Description-
|
|
7
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-CBbCEjH_.js";
|
|
8
|
+
import { D as DescriptionPopover } from "./Description-rdTQ9TLX.js";
|
|
9
9
|
import { a as addValidationStateToShortDescription } from "./validationState-CVwSJZpB.js";
|
|
10
10
|
import { a as getBlockMarginWithOptionalTopSuppression } from "./nonInlineMediaLayout-CkXHaqzo.js";
|
|
11
11
|
function _typeof(o) {
|
|
@@ -5256,7 +5256,16 @@ const choiceInput = React__default.memo(function ChoiceInput(props) {
|
|
|
5256
5256
|
() => ({
|
|
5257
5257
|
// Disable pointer events on option content to keep MathJax from
|
|
5258
5258
|
// interfering with option selection.
|
|
5259
|
-
Option: (props2) => /* @__PURE__ */ jsxRuntimeExports.jsx(components.Option, { ...props2, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
5259
|
+
Option: (props2) => /* @__PURE__ */ jsxRuntimeExports.jsx(components.Option, { ...props2, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
5260
|
+
ChoiceInputInlineContext.Provider,
|
|
5261
|
+
{
|
|
5262
|
+
value: {
|
|
5263
|
+
isHidden: false,
|
|
5264
|
+
inOption: !!props2.isSelected
|
|
5265
|
+
},
|
|
5266
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { style: { pointerEvents: "none" }, children: props2.label })
|
|
5267
|
+
}
|
|
5268
|
+
) }),
|
|
5260
5269
|
// Add aria-details to the internal input used by react-select.
|
|
5261
5270
|
Input: (props2) => /* @__PURE__ */ jsxRuntimeExports.jsx(components.Input, { ...props2, "aria-details": descriptionId })
|
|
5262
5271
|
}),
|
|
@@ -5403,7 +5412,7 @@ const choiceInput = React__default.memo(function ChoiceInput(props) {
|
|
|
5403
5412
|
children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
5404
5413
|
ChoiceInputInlineContext.Provider,
|
|
5405
5414
|
{
|
|
5406
|
-
value: { isHidden: false, inOption:
|
|
5415
|
+
value: { isHidden: false, inOption: false },
|
|
5407
5416
|
children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
5408
5417
|
StateManagedSelect$1,
|
|
5409
5418
|
{
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { k as DocContext, j as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { k as DocContext, j as jsxRuntimeExports } from "./doenetml-DW3RwRMG.js";
|
|
2
2
|
import React__default, { useContext, useRef } from "react";
|
|
3
|
-
import { j as jxg, s as syncLayer, b as syncLineStrokeStyle, a as syncWithLabelToggle, c as syncLabelStrokeColor, 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, b as syncLineStrokeStyle, a as syncWithLabelToggle, c as syncLabelStrokeColor, r as removeJXGEventHandlers } from "./JSXGraphRenderer-CfJ0cmjK.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DRCWvKKg.js";
|
|
5
|
+
import { BoardContext, POINT_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-DSXnCPHN.js";
|
|
6
6
|
import { c as characterizeOffGraphPoint, a as characterizeOffGraphCircleArc } from "./offGraphIndicators-C1kTHL4X.js";
|
|
7
7
|
import { n as normalizePointStyle, a as normalizePointSize, b as adjustPointLabelPosition, c as calculatePointLabelAnchor, d as getEffectiveBoundingBox, e as getGraphCornerWithBuffer } from "./graph-FesVg1vs.js";
|
|
8
8
|
import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-DeK-TkFS.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { o as createFunctionFromDefinition, j as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { o as createFunctionFromDefinition, j as jsxRuntimeExports } from "./doenetml-DW3RwRMG.js";
|
|
2
2
|
import React__default, { useContext, useRef } from "react";
|
|
3
|
-
import { j as jxg } 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 } from "./JSXGraphRenderer-CfJ0cmjK.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DRCWvKKg.js";
|
|
5
|
+
import { BoardContext, LINE_LAYER_OFFSET, VERTEX_LAYER_OFFSET } from "./graph-DSXnCPHN.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 { j as jsxRuntimeExports, F as EditorViewer } from "./doenetml-
|
|
1
|
+
import { j as jsxRuntimeExports, F as EditorViewer } from "./doenetml-DW3RwRMG.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-DRCWvKKg.js";
|
|
4
4
|
import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
|
|
5
5
|
function resolveElements(elementOrSelector, scope, selectorCache) {
|
|
6
6
|
if (elementOrSelector instanceof EventTarget) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { u as useRecordVisibilityChanges, j as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useRecordVisibilityChanges, j as jsxRuntimeExports } from "./doenetml-DW3RwRMG.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-DRCWvKKg.js";
|
|
4
|
+
import { a as addCommasForCompositeRanges } from "./composites-CjTJiM0U.js";
|
|
5
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-CBbCEjH_.js";
|
|
6
6
|
const containerBlock = React__default.memo(function Container(props) {
|
|
7
7
|
let { id, SVs, children, actions, callAction } = useDoenetRenderer(props);
|
|
8
8
|
const ref = useRef(null);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { j as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { j as jsxRuntimeExports } from "./doenetml-DW3RwRMG.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-DRCWvKKg.js";
|
|
4
|
+
import { a as addCommasForCompositeRanges } from "./composites-CjTJiM0U.js";
|
|
5
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-CBbCEjH_.js";
|
|
6
6
|
const containerInline = React__default.memo(function ContainerInline(props) {
|
|
7
7
|
let { id, SVs, children, actions, callAction } = useDoenetRenderer(props);
|
|
8
8
|
if (SVs.hidden) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { k as DocContext, o as createFunctionFromDefinition, j as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { k as DocContext, o as createFunctionFromDefinition, j as jsxRuntimeExports } from "./doenetml-DW3RwRMG.js";
|
|
2
2
|
import React__default, { useContext, useRef } from "react";
|
|
3
|
-
import { s as syncLayer, c as syncLabelStrokeColor, j as jxg } 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, c as syncLabelStrokeColor, j as jxg } from "./JSXGraphRenderer-CfJ0cmjK.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DRCWvKKg.js";
|
|
5
|
+
import { BoardContext, VERTEX_LAYER_OFFSET, CONTROL_POINT_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-DSXnCPHN.js";
|
|
6
6
|
import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-DeK-TkFS.js";
|
|
7
7
|
import { r as resolveLineColor } from "./styleColors-YDFrYWfD.js";
|
|
8
8
|
import { s as styleToDash } from "./styleToDash-DWb71gbd.js";
|