@doenet/doenetml 0.7.21-dev.415 → 0.7.21-dev.416
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-CsMwAC3t.js → AnswerResponseButton-Dd0HJDB-.js} +2 -2
- package/{Description-B_KGuyjX.js → Description-CeSquB0w.js} +1 -1
- package/{GraphFrame-BCe-sXyY.js → GraphFrame-7iZnp0Pp.js} +2 -2
- package/{JSXGraphRenderer-CTbAGksr.js → JSXGraphRenderer-CH3Etvtx.js} +1 -1
- package/{NonInlineMediaWrapper-DqUh14n5.js → NonInlineMediaWrapper-BPKCeJoI.js} +1 -1
- package/Viewer/renderers/lineSegment.d.ts.map +1 -1
- package/Viewer/renderers/polyline.d.ts.map +1 -1
- package/Viewer/renderers/utils/buildGraphicalAttributes.d.ts +28 -0
- package/Viewer/renderers/utils/buildGraphicalAttributes.d.ts.map +1 -1
- package/Viewer/renderers/utils/buildGraphicalAttributes.test.d.ts +2 -0
- package/Viewer/renderers/utils/buildGraphicalAttributes.test.d.ts.map +1 -0
- package/Viewer/renderers/vector.d.ts.map +1 -1
- package/{_error-8CVqZvs9.js → _error-BpXkUOcQ.js} +2 -2
- package/{alert-CnVNVwp0.js → alert-Dl4SKpDl.js} +3 -3
- package/{angle-DtykfDvk.js → angle-CHPAoa9_.js} +6 -6
- package/{answer-D8_55NUB.js → answer-BfTY7xDk.js} +5 -5
- package/{asList-Cvb4HFYc.js → asList-CIPYtO56.js} +2 -2
- package/{blockQuote-CD7LAibH.js → blockQuote-eD4WN8NB.js} +3 -3
- package/{boolean-i9xt_Fyy.js → boolean-AcXpBTjc.js} +2 -2
- package/{booleanInput-DxN2aj4D.js → booleanInput-D1KVVjD0.js} +6 -6
- package/{br-Ch6INIwC.js → br-sGi9NZV-.js} +2 -2
- package/{buildGraphicalAttributes-C7PtyKL7.js → buildGraphicalAttributes-0RNcbd2S.js} +22 -2
- package/{button-B5SnRU2e.js → button-zm1xKQ6P.js} +4 -4
- package/{c-DArDpN4A.js → c-CS1KT-i7.js} +3 -3
- package/{cell-BFX6fxf0.js → cell-DOy9dHlG.js} +3 -3
- package/{choiceInput-DXKjyCqp.js → choiceInput-BGjmqGv1.js} +4 -4
- package/{circle-AbQzXEA5.js → circle-CdXs4vCM.js} +7 -7
- package/{cobwebPolyline-CB6cVyKX.js → cobwebPolyline-nbaAuj6B.js} +4 -4
- package/{codeEditor-D0vhTs3g.js → codeEditor-AH1NzGY5.js} +2 -2
- package/{composites-BY7-JuTc.js → composites-_Ju1qHUH.js} +1 -1
- package/{containerBlock-Cm-kBh3q.js → containerBlock-BJZA-hug.js} +4 -4
- package/{containerInline-CcOaOhs8.js → containerInline-CErx1TlK.js} +4 -4
- package/{curve-CdVn_xI2.js → curve-CtGjIZZT.js} +4 -4
- package/{doenetml-RwjW6x7w.js → doenetml-CKC903On.js} +5 -5
- package/doenetml-external-worker.js +2 -2
- package/doenetml-inline-worker.js +2 -2
- package/{ellipsis-DVinv6-1.js → ellipsis-DfMIkq56.js} +2 -2
- package/{em-B8Bn3iQ8.js → em-C68xPdDA.js} +3 -3
- package/{embed-CCP_3Jzm.js → embed-EmlL532k.js} +2 -2
- package/{feedback-C7b_K-S3.js → feedback-BWaksokN.js} +4 -4
- package/{figure-vxfnUy1i.js → figure-DNohFiU-.js} +3 -3
- package/{fillPatterns-Cwsbhubm.js → fillPatterns-BC4vIjlx.js} +1 -1
- package/{footnote-DniX_WDV.js → footnote-C3cESiVn.js} +3 -3
- package/{fractionInput-Byd4TDY-.js → fractionInput-CbT0Fr4D.js} +4 -4
- package/{graph-BpbjUn8w.js → graph-Shoc8JnU.js} +6 -6
- package/{hint-BSyMGzDu.js → hint-CNCxpEVu.js} +4 -4
- package/{hr-Dv_52Wxd.js → hr-DccnD0xy.js} +2 -2
- package/{image-CDzqgIV7.js → image-DKmanipP.js} +7 -7
- package/{index-Ci4K0tDE.js → index-dmesrz8k.js} +1 -1
- package/{index.es-BCeR6l3D.js → index.es-DEgUxk1r.js} +1 -1
- package/index.js +1 -1
- package/{label-BpLxA1Ur.js → label-iXHeUsem.js} +6 -6
- package/{labelWithLatex-CsOmIYzz.js → labelWithLatex-DtXSmigp.js} +1 -1
- package/{legend-ZPzJ1SLv.js → legend-P8bA66Pn.js} +4 -4
- package/{line-B1QiilgT.js → line-DVW3oKW5.js} +7 -7
- package/{lineFamilyDragHandlers-DVSxZbFk.js → lineFamilyDragHandlers-Clzykt4r.js} +1 -1
- package/{lineSegment-CT3KASYT.js → lineSegment-CMfI8CzX.js} +14 -18
- package/{list-CseGxUq-.js → list-D_mXsSXQ.js} +4 -4
- package/{lq-CAAidAOg.js → lq-CyXQKGzw.js} +2 -2
- package/{lsq-B28Z8bv3.js → lsq-CKkVotjY.js} +2 -2
- package/{markupRenderer-BtKUERzJ.js → markupRenderer-D1tNv_Bq.js} +1 -1
- package/{math-BREIxh-E.js → math-DcMrHfiM.js} +6 -6
- package/{mathInput-BkKkb63g.js → mathInput-CM0oZNJB.js} +7 -7
- package/{matrixInput-BNWpketN.js → matrixInput-FuKpVk_a.js} +4 -4
- package/{mdash-9jp_u7Un.js → mdash-BABxuRC_.js} +2 -2
- package/{nbsp-C8hCQ6TS.js → nbsp-CUYTxD8h.js} +2 -2
- package/{ndash-CmJAVnNq.js → ndash-B-SHbaFG.js} +2 -2
- package/{number-r1umcD9p.js → number-BluUugiB.js} +6 -6
- package/{orbitalDiagram-CaNwebaQ.js → orbitalDiagram-CcsEMNH5.js} +2 -2
- package/{orbitalDiagramInput-B5JhTAdB.js → orbitalDiagramInput-BaR6FltQ.js} +2 -2
- package/{p-DP7YNDfx.js → p-DMbbK7I1.js} +4 -4
- package/package.json +1 -1
- package/{paginatorControls-B-qNFkKU.js → paginatorControls-B-F1HpS4.js} +2 -2
- package/{pegboard-D7nAJ6RY.js → pegboard-BGC31Eyq.js} +4 -4
- package/{point-C59ja3n2.js → point-BT1XGRo9.js} +6 -6
- package/{polygon-CT-ARozK.js → polygon-Cfu9QrkP.js} +7 -7
- package/{polyline-DeGq7WP0.js → polyline-san0khs-.js} +9 -15
- package/{pre-BHH6fa9U.js → pre-BHN7blJZ.js} +3 -3
- package/{prefigure-BnSkAPHE.js → prefigure-C7f9UcnA.js} +1 -1
- package/{pretzel-CC5NgapN.js → pretzel-CmIYOB8F.js} +4 -4
- package/{q-CcNznZUD.js → q-tXX3oDTu.js} +3 -3
- package/{ray-D1b2GIcp.js → ray-BMK7xaAg.js} +6 -6
- package/{ref-OLToqdQ5.js → ref-65DT_x0u.js} +2 -2
- package/{regionBetweenCurveXAxis-PPEOPw8t.js → regionBetweenCurveXAxis-BsTsPQRg.js} +5 -5
- package/{regionBetweenCurves-DOtEzJak.js → regionBetweenCurves-C_M-pjuM.js} +5 -5
- package/{row-D42z_svT.js → row-DKwY5fZc.js} +2 -2
- package/{rq-DdecWWBG.js → rq-aLJVzNtD.js} +2 -2
- package/{rsq-D2qKFBXV.js → rsq-Bi1u3srM.js} +2 -2
- package/{section-AwW9I9a-.js → section-C_bOjYSJ.js} +5 -5
- package/{sha256-Bzrm4-tO-BHq68al3.js → sha256-Bzrm4-tO-BdovCL5S.js} +1 -1
- package/{sideBySide-BE1-5d7U.js → sideBySide-C5qw_QnB.js} +2 -2
- package/{slider-B92oejpK.js → slider-CikiyeRf.js} +3 -3
- package/{solution-DuvHYP7q.js → solution-DiHy7pvG.js} +4 -4
- package/{spreadsheet-CYi5VTRB.js → spreadsheet-B389Kps5.js} +2 -2
- package/{sq-CGmtbJG8.js → sq-BhDFF5Cb.js} +3 -3
- package/{subsetOfRealsInput-Dof9pDQJ.js → subsetOfRealsInput-9DbCcLIh.js} +2 -2
- package/{summaryStatistics-CHLmwy4B.js → summaryStatistics-DqJOzS1v.js} +2 -2
- package/{table-Ds4FsDXG.js → table-DgP2sNth.js} +2 -2
- package/{tabular-D93ZooVU.js → tabular-CqOenfoA.js} +2 -2
- package/{tag-CQG7jGLX.js → tag-B2133YF1.js} +2 -2
- package/{text-Cs4GBrRa.js → text-Glel7vRT.js} +6 -6
- package/{textInput-D08eVSJy.js → textInput-fbHYsYbe.js} +6 -6
- package/{tooltip-provider-mEVAI_oo.js → tooltip-provider-uV4ynrST.js} +1 -1
- package/{useAnchoredGraphDragHandler-CE3goik5.js → useAnchoredGraphDragHandler-CKCVFGYp.js} +1 -1
- package/useDoenetRenderer-B-lvSi_Q.js +114 -0
- package/{useSubmitActionWithDelay-Bl1nM1Rc.js → useSubmitActionWithDelay-DhUttTXy.js} +2 -2
- package/{vector-DTjqdT0D.js → vector-B1xF7lTk.js} +10 -16
- package/{video-Bj4ChYgg.js → video-DgvfU8N7.js} +4 -4
- package/useDoenetRenderer-BUPvEAwn.js +0 -114
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { p as jsxRuntimeExports } from "./doenetml-CKC903On.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-B-lvSi_Q.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-CKC903On.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-B-lvSi_Q.js";
|
|
4
|
+
import { r as renderMarkupBody } from "./markupRenderer-D1tNv_Bq.js";
|
|
5
5
|
const em = React__default.memo(function Em(props) {
|
|
6
6
|
const { id, SVs, children } = useDoenetRenderer(props);
|
|
7
7
|
const body = renderMarkupBody({ SVs, children });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { x as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { x as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-CKC903On.js";
|
|
2
2
|
import React__default, { useRef, useEffect } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-B-lvSi_Q.js";
|
|
4
4
|
import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
|
|
5
5
|
const embed = React__default.memo(function Embed(props) {
|
|
6
6
|
let { id, SVs, actions, callAction } = useDoenetRenderer(props);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { u as useT, x as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useT, x as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-CKC903On.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-B-lvSi_Q.js";
|
|
4
|
+
import { F as FontAwesomeIcon } from "./index.es-DEgUxk1r.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-_Ju1qHUH.js";
|
|
7
7
|
const feedback = React__default.memo(function Feedback(props) {
|
|
8
8
|
let { id, SVs, children, actions, callAction } = useDoenetRenderer(props);
|
|
9
9
|
const t = useT();
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { x as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { x as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-CKC903On.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-B-lvSi_Q.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-dmesrz8k.js";
|
|
6
6
|
function _inheritsLoose(t, o) {
|
|
7
7
|
t.prototype = Object.create(o.prototype), t.prototype.constructor = t, _setPrototypeOf(t, o);
|
|
8
8
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { I as encodeFillPatternColorToken } from "./doenetml-
|
|
1
|
+
import { I as encodeFillPatternColorToken } from "./doenetml-CKC903On.js";
|
|
2
2
|
const warnedUnsupportedFillStyles = /* @__PURE__ */ new Set();
|
|
3
3
|
function warnUnsupportedFillStyle(fillStyle) {
|
|
4
4
|
if (warnedUnsupportedFillStyles.has(fillStyle)) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { u as useT, p as jsxRuntimeExports, E as Button } from "./doenetml-
|
|
1
|
+
import { u as useT, p as jsxRuntimeExports, E as Button } from "./doenetml-CKC903On.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-B-lvSi_Q.js";
|
|
4
|
+
import { T as TooltipProvider, a as TooltipAnchor, b as Tooltip } from "./tooltip-provider-uV4ynrST.js";
|
|
5
5
|
const footnote = React__default.memo(function Footnote(props) {
|
|
6
6
|
let { id, SVs } = useDoenetRenderer(props, false);
|
|
7
7
|
let [isVisible, setIsVisible] = useState(false);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { w as useContentT, p as jsxRuntimeExports, M as MathJax } from "./doenetml-
|
|
1
|
+
import { w as useContentT, p as jsxRuntimeExports, M as MathJax } from "./doenetml-CKC903On.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-B-lvSi_Q.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-DhUttTXy.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-CeSquB0w.js";
|
|
8
8
|
const fractionInput = React__default.memo(function FractionInput(props) {
|
|
9
9
|
let { id, SVs, actions, children, callAction } = useDoenetRenderer(props);
|
|
10
10
|
const tContent = useContentT();
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { p as jsxRuntimeExports, at as roundForDisplay, y as Context, x as useRecordVisibilityChanges } from "./doenetml-
|
|
1
|
+
import { p as jsxRuntimeExports, at as roundForDisplay, y as Context, x as useRecordVisibilityChanges } from "./doenetml-CKC903On.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-B-lvSi_Q.js";
|
|
4
|
+
import Prefigure from "./prefigure-C7f9UcnA.js";
|
|
5
|
+
import { a as accessibleLabelText, r as renderLabelWithLatex } from "./labelWithLatex-DtXSmigp.js";
|
|
6
|
+
import GraphFrame from "./GraphFrame-7iZnp0Pp.js";
|
|
7
|
+
import { J as JSXGraphRenderer } from "./JSXGraphRenderer-CH3Etvtx.js";
|
|
8
8
|
const GRAPH_CONTROL_CARD_STYLE = {
|
|
9
9
|
width: "100%",
|
|
10
10
|
boxSizing: "border-box",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { u as useT, x as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useT, x as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-CKC903On.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-B-lvSi_Q.js";
|
|
4
|
+
import { F as FontAwesomeIcon } from "./index.es-DEgUxk1r.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-_Ju1qHUH.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-CKC903On.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-B-lvSi_Q.js";
|
|
4
4
|
const hr = React__default.memo(function Hr(props) {
|
|
5
5
|
let { id, SVs } = useDoenetRenderer(props);
|
|
6
6
|
if (SVs.hidden) {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { q as DocContext, x as useRecordVisibilityChanges, y as Context, p as jsxRuntimeExports, g as getMediaLicenseDisplay } from "./doenetml-
|
|
1
|
+
import { q as DocContext, x as useRecordVisibilityChanges, y as Context, p as jsxRuntimeExports, g as getMediaLicenseDisplay } from "./doenetml-CKC903On.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-CH3Etvtx.js";
|
|
4
|
+
import { BoardContext, IMAGE_LAYER_OFFSET } from "./graph-Shoc8JnU.js";
|
|
5
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-B-lvSi_Q.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-CeSquB0w.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-BPKCeJoI.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-CKCVFGYp.js";
|
|
13
13
|
const image = React__default.memo(function Image(props) {
|
|
14
14
|
let { componentIdx, id, SVs, children, actions, callAction } = useDoenetRenderer(props, false);
|
|
15
15
|
Image.ignoreActionsWithoutCore = () => true;
|
package/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { q as DocContext, y as Context, p as jsxRuntimeExports, t as textRendererStyle, v as DynamicMath } from "./doenetml-
|
|
1
|
+
import { q as DocContext, y as Context, p as jsxRuntimeExports, t as textRendererStyle, v as DynamicMath } from "./doenetml-CKC903On.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-CH3Etvtx.js";
|
|
4
|
+
import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-Shoc8JnU.js";
|
|
5
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-B-lvSi_Q.js";
|
|
6
6
|
import { g as getPositionFromAnchorByCoordinate } from "./graph-W6vrFcBu.js";
|
|
7
|
-
import { ChoiceInputInlineContext } from "./choiceInput-
|
|
7
|
+
import { ChoiceInputInlineContext } from "./choiceInput-BGjmqGv1.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-CKCVFGYp.js";
|
|
11
11
|
const label = React__default.memo(function Label(props) {
|
|
12
12
|
let { componentIdx, id, SVs, actions, callAction } = useDoenetRenderer(props);
|
|
13
13
|
Label.ignoreActionsWithoutCore = () => true;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { J as deepCompare, p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { J as deepCompare, p as jsxRuntimeExports } from "./doenetml-CKC903On.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-CH3Etvtx.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-B-lvSi_Q.js";
|
|
5
|
+
import { BoardContext } from "./graph-Shoc8JnU.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,11 +1,11 @@
|
|
|
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-CKC903On.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-
|
|
8
|
-
import { a as buildLineLikeAttributes } from "./buildGraphicalAttributes-
|
|
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-CH3Etvtx.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-B-lvSi_Q.js";
|
|
5
|
+
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-Shoc8JnU.js";
|
|
6
|
+
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-Clzykt4r.js";
|
|
7
|
+
import { ChoiceInputInlineContext } from "./choiceInput-BGjmqGv1.js";
|
|
8
|
+
import { a as buildLineLikeAttributes } from "./buildGraphicalAttributes-0RNcbd2S.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 } from "./styleColors-Cknqcr0q.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useContext } from "react";
|
|
2
|
-
import { q as DocContext, N as hasNavigationModifier } from "./doenetml-
|
|
2
|
+
import { q as DocContext, N as hasNavigationModifier } from "./doenetml-CKC903On.js";
|
|
3
3
|
import { e as exceededDragThreshold } from "./dragThreshold-DuSSFrIU.js";
|
|
4
4
|
function useSourceNavigation(domId) {
|
|
5
5
|
const { reportGraphElementUp } = useContext(DocContext);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { q as DocContext, p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { q as DocContext, p as jsxRuntimeExports } from "./doenetml-CKC903On.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-
|
|
7
|
-
import { a as buildLineLikeAttributes } from "./buildGraphicalAttributes-
|
|
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-CH3Etvtx.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-B-lvSi_Q.js";
|
|
5
|
+
import { BoardContext, VERTEX_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-Shoc8JnU.js";
|
|
6
|
+
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-Clzykt4r.js";
|
|
7
|
+
import { a as buildLineLikeAttributes, c as buildDragHandleAttributes } from "./buildGraphicalAttributes-0RNcbd2S.js";
|
|
8
8
|
import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-DV6a8Wvg.js";
|
|
9
9
|
import { p as pointerEventToUserCoords } from "./dragThreshold-DuSSFrIU.js";
|
|
10
10
|
import { a as resolveLineColor, d as resolveHandleColor } from "./styleColors-Cknqcr0q.js";
|
|
@@ -72,19 +72,15 @@ const lineSegment = React__default.memo(function LineSegment(props) {
|
|
|
72
72
|
maskLabel: SVs.maskLabel
|
|
73
73
|
});
|
|
74
74
|
let endpointsVisible = !endpointsFixed.current && !SVs.hidden;
|
|
75
|
-
let jsxPointAttributes =
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
highlightStrokeColor: "none",
|
|
83
|
-
highlightFillColor: resolveHandleColor(darkMode),
|
|
84
|
-
layer: 10 * SVs.layer + VERTEX_LAYER_OFFSET,
|
|
85
|
-
showInfoBox: SVs.showCoordsWhenDragging,
|
|
75
|
+
let jsxPointAttributes = {
|
|
76
|
+
...buildDragHandleAttributes({
|
|
77
|
+
elementAttributes: jsxSegmentAttributes,
|
|
78
|
+
layer: 10 * SVs.layer + VERTEX_LAYER_OFFSET,
|
|
79
|
+
darkMode,
|
|
80
|
+
showInfoBox: SVs.showCoordsWhenDragging
|
|
81
|
+
}),
|
|
86
82
|
visible: endpointsVisible
|
|
87
|
-
}
|
|
83
|
+
};
|
|
88
84
|
let endpoints = [
|
|
89
85
|
[...SVs.numericalEndpoints[0]],
|
|
90
86
|
[...SVs.numericalEndpoints[1]]
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { w as useContentT, x as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { w as useContentT, x as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-CKC903On.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-B-lvSi_Q.js";
|
|
4
|
+
import { a as addCommasForCompositeRanges } from "./composites-_Ju1qHUH.js";
|
|
5
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-DhUttTXy.js";
|
|
6
6
|
const list = React__default.memo(function List(props) {
|
|
7
7
|
let { id, SVs, children, actions, callAction } = useDoenetRenderer(props);
|
|
8
8
|
const tContent = useContentT();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { p as jsxRuntimeExports } from "./doenetml-CKC903On.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-B-lvSi_Q.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-CKC903On.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-B-lvSi_Q.js";
|
|
4
4
|
const lsq = React__default.memo(function Lsq(props) {
|
|
5
5
|
let { SVs } = useDoenetRenderer(props, false);
|
|
6
6
|
if (SVs.hidden) {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { q as DocContext, y as Context, p as jsxRuntimeExports, t as textRendererStyle, v as DynamicMath } from "./doenetml-
|
|
1
|
+
import { q as DocContext, y as Context, p as jsxRuntimeExports, t as textRendererStyle, v as DynamicMath } from "./doenetml-CKC903On.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-CH3Etvtx.js";
|
|
4
|
+
import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-Shoc8JnU.js";
|
|
5
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-B-lvSi_Q.js";
|
|
6
6
|
import { g as getPositionFromAnchorByCoordinate } from "./graph-W6vrFcBu.js";
|
|
7
|
-
import { ChoiceInputInlineContext } from "./choiceInput-
|
|
7
|
+
import { ChoiceInputInlineContext } from "./choiceInput-BGjmqGv1.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-CKCVFGYp.js";
|
|
11
11
|
function getMathDelimiters(SVs) {
|
|
12
12
|
if (SVs.renderMode === "inline") {
|
|
13
13
|
return ["\\(", "\\)"];
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { p as jsxRuntimeExports, w as useContentT, F as useAppSelector, ap as keyboardSlice, aq as FocusedMathInputContext, y as Context, ar as PopoverAnchor, M as MathJax, a3 as usePopoverStore, X as useStoreState, u as useT, a6 as Popover } from "./doenetml-
|
|
1
|
+
import { p as jsxRuntimeExports, w as useContentT, F as useAppSelector, ap as keyboardSlice, aq as FocusedMathInputContext, y as Context, ar as PopoverAnchor, M as MathJax, a3 as usePopoverStore, X as useStoreState, u as useT, a6 as Popover } from "./doenetml-CKC903On.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-CH3Etvtx.js";
|
|
5
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-B-lvSi_Q.js";
|
|
6
|
+
import { P as PropTypes } from "./index-dmesrz8k.js";
|
|
7
|
+
import { D as DescriptionPopover, P as PopoverArrow } from "./Description-CeSquB0w.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-DhUttTXy.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-Shoc8JnU.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",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { u as useT, w as useContentT, p as jsxRuntimeExports, K as ActionButtonGroup, L as ActionButton, M as MathJax } from "./doenetml-
|
|
1
|
+
import { u as useT, w as useContentT, p as jsxRuntimeExports, K as ActionButtonGroup, L as ActionButton, M as MathJax } from "./doenetml-CKC903On.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-B-lvSi_Q.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-DhUttTXy.js";
|
|
6
|
+
import { D as DescriptionPopover } from "./Description-CeSquB0w.js";
|
|
7
7
|
const matrixInput = React__default.memo(function MatrixInput(props) {
|
|
8
8
|
let { id, SVs, actions, children, callAction } = useDoenetRenderer(props);
|
|
9
9
|
const t = useT();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { p as jsxRuntimeExports } from "./doenetml-CKC903On.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-B-lvSi_Q.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-CKC903On.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-B-lvSi_Q.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-CKC903On.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-B-lvSi_Q.js";
|
|
4
4
|
const ndash = React__default.memo(function Ndash(props) {
|
|
5
5
|
let { SVs } = useDoenetRenderer(props);
|
|
6
6
|
if (SVs.hidden) {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { q as DocContext, y as Context, p as jsxRuntimeExports, t as textRendererStyle, v as DynamicMath } from "./doenetml-
|
|
1
|
+
import { q as DocContext, y as Context, p as jsxRuntimeExports, t as textRendererStyle, v as DynamicMath } from "./doenetml-CKC903On.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-CH3Etvtx.js";
|
|
4
|
+
import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-Shoc8JnU.js";
|
|
5
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-B-lvSi_Q.js";
|
|
6
6
|
import { g as getPositionFromAnchorByCoordinate } from "./graph-W6vrFcBu.js";
|
|
7
|
-
import { ChoiceInputInlineContext } from "./choiceInput-
|
|
7
|
+
import { ChoiceInputInlineContext } from "./choiceInput-BGjmqGv1.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-CKCVFGYp.js";
|
|
11
11
|
const number = React__default.memo(function NumberComponent(props) {
|
|
12
12
|
let { componentIdx, id, SVs, actions, callAction } = useDoenetRenderer(props);
|
|
13
13
|
NumberComponent.ignoreActionsWithoutCore = () => true;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { x as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { x as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-CKC903On.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-B-lvSi_Q.js";
|
|
4
4
|
const ORBITAL_ARROW_STYLE = {
|
|
5
5
|
fill: "none",
|
|
6
6
|
stroke: "var(--canvasText)",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { u as useT, x as useRecordVisibilityChanges, p as jsxRuntimeExports, B as Button2 } from "./doenetml-
|
|
1
|
+
import { u as useT, x as useRecordVisibilityChanges, p as jsxRuntimeExports, B as Button2 } from "./doenetml-CKC903On.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-B-lvSi_Q.js";
|
|
4
4
|
const ORBITAL_ARROW_STYLE = {
|
|
5
5
|
fill: "none",
|
|
6
6
|
stroke: "var(--canvasText)",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { w as useContentT, x as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { w as useContentT, x as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-CKC903On.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-B-lvSi_Q.js";
|
|
4
|
+
import { a as addCommasForCompositeRanges } from "./composites-_Ju1qHUH.js";
|
|
5
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-DhUttTXy.js";
|
|
6
6
|
const p = React__default.memo(function P(props) {
|
|
7
7
|
let { id, SVs, children, actions, callAction } = useDoenetRenderer(props);
|
|
8
8
|
const tContent = useContentT();
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@doenet/doenetml",
|
|
3
3
|
"type": "module",
|
|
4
4
|
"description": "Semantic markup for building interactive web activities",
|
|
5
|
-
"version": "0.7.21-dev.
|
|
5
|
+
"version": "0.7.21-dev.416",
|
|
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-CKC903On.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-B-lvSi_Q.js";
|
|
4
4
|
const paginatorControls = React__default.memo(function PaginatorControls(props) {
|
|
5
5
|
let { id, SVs, actions, callAction } = useDoenetRenderer(props, false);
|
|
6
6
|
if (SVs.hidden) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React__default, { useContext, useRef, useEffect } from "react";
|
|
2
|
-
import { j as jxg } from "./JSXGraphRenderer-
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
4
|
-
import { BoardContext, BASE_LAYER_OFFSET } from "./graph-
|
|
5
|
-
import { y as Context } from "./doenetml-
|
|
2
|
+
import { j as jxg } from "./JSXGraphRenderer-CH3Etvtx.js";
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-B-lvSi_Q.js";
|
|
4
|
+
import { BoardContext, BASE_LAYER_OFFSET } from "./graph-Shoc8JnU.js";
|
|
5
|
+
import { y as Context } from "./doenetml-CKC903On.js";
|
|
6
6
|
const { round } = Context.math;
|
|
7
7
|
const pegboard = React__default.memo(function Pegboard(props) {
|
|
8
8
|
let { SVs } = useDoenetRenderer(props);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { q as DocContext, t as textRendererStyle, p as jsxRuntimeExports, v as DynamicMath } from "./doenetml-
|
|
1
|
+
import { q as DocContext, t as textRendererStyle, p as jsxRuntimeExports, v as DynamicMath } from "./doenetml-CKC903On.js";
|
|
2
2
|
import React__default, { useContext, useRef } from "react";
|
|
3
|
-
import { r as removeJXGEventHandlers, j as jxg, s as syncLayer, a as syncWithLabelToggle, f as syncLabelStrokeColor, b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-
|
|
4
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
5
|
-
import { BoardContext, POINT_LAYER_OFFSET } from "./graph-
|
|
3
|
+
import { r as removeJXGEventHandlers, j as jxg, s as syncLayer, a as syncWithLabelToggle, f as syncLabelStrokeColor, b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-CH3Etvtx.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-B-lvSi_Q.js";
|
|
5
|
+
import { BoardContext, POINT_LAYER_OFFSET } from "./graph-Shoc8JnU.js";
|
|
6
6
|
import { c as characterizeOffGraphPoint } from "./offGraphIndicators-CYoqQHuD.js";
|
|
7
7
|
import { n as normalizePointStyle, a as normalizePointSize, b as adjustPointLabelPosition, e as calculatePointLabelAnchor } from "./graph-W6vrFcBu.js";
|
|
8
|
-
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-
|
|
9
|
-
import { ChoiceInputInlineContext } from "./choiceInput-
|
|
8
|
+
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-Clzykt4r.js";
|
|
9
|
+
import { ChoiceInputInlineContext } from "./choiceInput-BGjmqGv1.js";
|
|
10
10
|
import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-DV6a8Wvg.js";
|
|
11
11
|
import { p as pointerEventToUserCoords } from "./dragThreshold-DuSSFrIU.js";
|
|
12
12
|
import { c as resolveMarkerColor } from "./styleColors-Cknqcr0q.js";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { q as DocContext, p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { q as DocContext, p as jsxRuntimeExports } from "./doenetml-CKC903On.js";
|
|
2
2
|
import React__default, { useContext, useRef } from "react";
|
|
3
|
-
import { r as removeJXGEventHandlers, j as jxg, g as syncVisPropValues, s as syncLayer, f as syncLabelStrokeColor, b as syncLabelMaskCssStyle, e as syncLineStrokeStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-
|
|
4
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
5
|
-
import { BoardContext, LINE_LAYER_OFFSET, VERTEX_LAYER_OFFSET } from "./graph-
|
|
6
|
-
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-
|
|
3
|
+
import { r as removeJXGEventHandlers, j as jxg, g as syncVisPropValues, s as syncLayer, f as syncLabelStrokeColor, b as syncLabelMaskCssStyle, e as syncLineStrokeStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-CH3Etvtx.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-B-lvSi_Q.js";
|
|
5
|
+
import { BoardContext, LINE_LAYER_OFFSET, VERTEX_LAYER_OFFSET } from "./graph-Shoc8JnU.js";
|
|
6
|
+
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-Clzykt4r.js";
|
|
7
7
|
import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-DV6a8Wvg.js";
|
|
8
8
|
import { p as pointerEventToUserCoords } from "./dragThreshold-DuSSFrIU.js";
|
|
9
9
|
import { a as resolveLineColor, r as resolveFillColor, b as resolveCanvasColor, d as resolveHandleColor } from "./styleColors-Cknqcr0q.js";
|
|
10
10
|
import { s as styleToDash } from "./styleToDash-DWb71gbd.js";
|
|
11
11
|
import { u as useDraggableRefs, a as useJSXGraphCleanup } from "./useJSXGraphCleanup-CX91oVW8.js";
|
|
12
|
-
import {
|
|
13
|
-
import { g as getPatternFillAttributes } from "./fillPatterns-
|
|
12
|
+
import { d as buildBaseAttributes } from "./buildGraphicalAttributes-0RNcbd2S.js";
|
|
13
|
+
import { g as getPatternFillAttributes } from "./fillPatterns-BC4vIjlx.js";
|
|
14
14
|
const polygon = React__default.memo(function Polygon(props) {
|
|
15
15
|
let { componentIdx, id, SVs, actions, sourceOfUpdate, callAction } = useDoenetRenderer(props);
|
|
16
16
|
Polygon.ignoreActionsWithoutCore = () => true;
|