@doenet/doenetml 0.7.20-dev.334 → 0.7.20-dev.335
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-Gvhmmj9A.js → AnswerResponseButton-Bb2BI_rl.js} +2 -2
- package/{Description-B0pkxmYM.js → Description-X0wbmle2.js} +1 -1
- package/{GraphFrame-ZF35-YCf.js → GraphFrame-D0SsTifD.js} +2 -2
- package/{JSXGraphRenderer-ClyyL_2A.js → JSXGraphRenderer-WH0QKyTO.js} +1 -1
- package/{NonInlineMediaWrapper-ULod_asW.js → NonInlineMediaWrapper-BwSgbGOA.js} +1 -1
- package/Viewer/renderers/angle.d.ts.map +1 -1
- package/Viewer/renderers/circle.d.ts.map +1 -1
- package/Viewer/renderers/polygon.d.ts.map +1 -1
- package/Viewer/renderers/regionBetweenCurveXAxis.d.ts.map +1 -1
- package/Viewer/renderers/regionBetweenCurves.d.ts.map +1 -1
- package/Viewer/renderers/utils/fillPatterns.d.ts +35 -11
- package/Viewer/renderers/utils/fillPatterns.d.ts.map +1 -1
- package/Viewer/renderers/utils/styleColors.d.ts +12 -0
- package/Viewer/renderers/utils/styleColors.d.ts.map +1 -1
- package/{_error-e2DvTR_-.js → _error-IQ9UNo67.js} +2 -2
- package/{alert-CiDph-qI.js → alert-CGC3bff7.js} +3 -3
- package/{angle-BO-faJS7.js → angle-DHh7zuz0.js} +9 -7
- package/{answer-BAfMeEuz.js → answer-BRsvUVeb.js} +5 -5
- package/{asList-kgA-OT8n.js → asList-BDTqMh8x.js} +2 -2
- package/{blockQuote-CItqFOqX.js → blockQuote-a_wAKOhU.js} +3 -3
- package/{boolean-BCSLGpJu.js → boolean-DyQyJb0r.js} +2 -2
- package/{booleanInput-u3Zps6Fb.js → booleanInput-BuXBjR85.js} +6 -6
- package/{br-KYVD8qcq.js → br-Cfe4q1oD.js} +2 -2
- package/{buildGraphicalAttributes-WXpVD4ud.js → buildGraphicalAttributes-C7PtyKL7.js} +1 -1
- package/{button-w7VVe654.js → button-BNh32tF9.js} +4 -4
- package/{c-BSP1SVSx.js → c-DR_c8Y0-.js} +3 -3
- package/{cell-CB0DzYcL.js → cell-DaCO5BD5.js} +3 -3
- package/{choiceInput-rMXvVgk1.js → choiceInput-Ck8DVMmG.js} +4 -4
- package/{circle-BeLDrQ8q.js → circle-BZFa865i.js} +9 -7
- package/{cobwebPolyline-BTmHg_rW.js → cobwebPolyline-D5GvgpiH.js} +4 -4
- package/{codeEditor-Ct5C8db2.js → codeEditor-DYVj_Ab-.js} +2 -2
- package/{composites-Dm300CeM.js → composites-XinFoIcx.js} +1 -1
- package/{containerBlock-DIy2KB5D.js → containerBlock-BjigEe4d.js} +4 -4
- package/{containerInline-BmxKUHqq.js → containerInline-ByxuSmSL.js} +4 -4
- package/{curve-DmoNrVfA.js → curve-A385radh.js} +5 -5
- package/{doenetml-BKWgWWIN.js → doenetml-CLvAz_2Y.js} +4 -4
- package/doenetml-external-worker.js +2 -2
- package/doenetml-inline-worker.js +2 -2
- package/{ellipsis-scY2XC69.js → ellipsis-0Rf9uFcz.js} +2 -2
- package/{em-Dnuk5NWT.js → em-C-HqHV4n.js} +3 -3
- package/{embed-Cp--9Yfg.js → embed-BfNzc5Le.js} +2 -2
- package/{feedback-c_A4BreS.js → feedback-DwhXmMSH.js} +4 -4
- package/{figure-jTKaDOz3.js → figure-7Xi2fQSv.js} +3 -3
- package/{fillPatterns-D3zaP49I.js → fillPatterns-xFNXM2wi.js} +55 -10
- package/{footnote-CUHggjY3.js → footnote-B6OpfKj6.js} +3 -3
- package/{fractionInput-DETXKhQJ.js → fractionInput-D1xTeDSb.js} +4 -4
- package/{graph-CIVVSnH7.js → graph-DwiumKgy.js} +6 -6
- package/{hint-CdmNr5z6.js → hint-BAGwv27L.js} +4 -4
- package/{hr-D_9e0dVs.js → hr-Aj-J3kTg.js} +2 -2
- package/{image-BE89vcic.js → image-DkVGJkU9.js} +7 -7
- package/{index-BG3VxTKI.js → index-DOvVPLCZ.js} +1 -1
- package/{index.es-75dsQOf4.js → index.es-RhJQkW78.js} +1 -1
- package/index.js +1 -1
- package/{label-_U3xA-Bt.js → label-t5QOz3hz.js} +6 -6
- package/{labelWithLatex-BdorE1Ba.js → labelWithLatex-DGChcqLA.js} +1 -1
- package/{legend-CZGk-DEr.js → legend-GzOZUocx.js} +4 -4
- package/{line-DB_1uxnA.js → line-BeQtVGs_.js} +7 -7
- package/{lineSegment-Bo4V-Ids.js → lineSegment-oIe7WXtR.js} +6 -6
- package/{list-BbIsQlsb.js → list-x28rSefl.js} +4 -4
- package/{lq-BwD76zkS.js → lq-8l0sDOr8.js} +2 -2
- package/{lsq-C7B2cqLf.js → lsq-CZFG7Nl5.js} +2 -2
- package/{markupRenderer-Say_o9uX.js → markupRenderer-WCkpS3Xg.js} +1 -1
- package/{math-DU-09uBw.js → math-BMR5AiER.js} +6 -6
- package/{mathInput-B7nN2ol0.js → mathInput-DS_W_e8n.js} +7 -7
- package/{matrixInput-C3JylJ_O.js → matrixInput-DmrPKznJ.js} +4 -4
- package/{mdash-D3PcaUii.js → mdash-Bu1Q1ekL.js} +2 -2
- package/{nbsp-B_XH-l5k.js → nbsp-DVm0h4-x.js} +2 -2
- package/{ndash-DaNmR36W.js → ndash-DdGtnsQK.js} +2 -2
- package/{number-YvxsR4BL.js → number-CfeeIc74.js} +6 -6
- package/{orbitalDiagram-CmTWXDzB.js → orbitalDiagram-DEDYTOaB.js} +2 -2
- package/{orbitalDiagramInput-Cy_7ng8s.js → orbitalDiagramInput-CX08AX-x.js} +2 -2
- package/{p-DA_rzyWJ.js → p-yQIjH8Fa.js} +4 -4
- package/package.json +1 -1
- package/{paginatorControls-BBPqx8C9.js → paginatorControls-FHx8dyK2.js} +2 -2
- package/{pegboard-CRZQVxuV.js → pegboard-DOjue_FK.js} +4 -4
- package/{point-ByEbaxWn.js → point-CwMVWF91.js} +6 -6
- package/{polygon-BmdkJEts.js → polygon-DdAM4aKr.js} +9 -7
- package/{polyline-CvqkWn7E.js → polyline-DWOgBzqs.js} +6 -6
- package/{pre-1IrMFXkg.js → pre-BZ7ZCw9Z.js} +3 -3
- package/{prefigure-lmP6VsjT.js → prefigure-DueQF7ys.js} +1 -1
- package/{pretzel-D6WX7Z_y.js → pretzel-ES8Yvo78.js} +4 -4
- package/{q-kRzKxy6K.js → q-xpEgI0-d.js} +3 -3
- package/{ray-DgnftbwK.js → ray-BNmkEcDJ.js} +6 -6
- package/{ref-ChyMLX-H.js → ref-CK0oY9LN.js} +2 -2
- package/{regionBetweenCurveXAxis-BBAp-W44.js → regionBetweenCurveXAxis-BDAOPDMD.js} +8 -5
- package/{regionBetweenCurves-FuodCBzl.js → regionBetweenCurves-DdPYLipw.js} +8 -5
- package/{row-CBcYGCtp.js → row-nP0ZhX6Z.js} +2 -2
- package/{rq-qOWxtmZg.js → rq-DLF6CDjv.js} +2 -2
- package/{rsq-C70_1w-v.js → rsq-Jh7GuweM.js} +2 -2
- package/{section-5EiCWYMD.js → section-n-Mv8eqZ.js} +5 -5
- package/{sha256-C0vj3HDn-CCgktFhW.js → sha256-C0vj3HDn-UGyxHwaY.js} +1 -1
- package/{sideBySide-BjpdpZxA.js → sideBySide-DdjzZlgo.js} +2 -2
- package/{slider-C8-N3Zwb.js → slider-BwwfFUMx.js} +3 -3
- package/{solution-nJ9QkZ6m.js → solution-CMJnOEXE.js} +4 -4
- package/{spreadsheet-UGkznEIk.js → spreadsheet-BPeiYRXq.js} +2 -2
- package/{sq-D7ffIkkq.js → sq-f0eKuiZ7.js} +3 -3
- package/{styleColors-DH1y_fdG.js → styleColors-Cknqcr0q.js} +6 -2
- package/{subsetOfRealsInput-Dx1x79Fj.js → subsetOfRealsInput-cPp2Z2Lo.js} +2 -2
- package/{summaryStatistics-CywLC3ub.js → summaryStatistics-_-_4_PVE.js} +2 -2
- package/{table-BhOldp85.js → table-Ctq_Iify.js} +2 -2
- package/{tabular-CHpPJUMK.js → tabular-DQg3Elet.js} +2 -2
- package/{tag-M3xzh0Ga.js → tag-C3cIMi7z.js} +2 -2
- package/{text-B5WNf0j4.js → text-DbQWmZqo.js} +6 -6
- package/{textInput-CAZzwrlH.js → textInput-CJmzQBzV.js} +6 -6
- package/{tooltip-provider-DCm__NtM.js → tooltip-provider-DH2D7lj4.js} +1 -1
- package/{useAnchoredGraphDragHandler-C6vmBXIi.js → useAnchoredGraphDragHandler-jENznKTo.js} +1 -1
- package/useDoenetRenderer-Dxxe3hVm.js +114 -0
- package/{useSubmitActionWithDelay-DFazHOZj.js → useSubmitActionWithDelay-Cf1y_3x3.js} +2 -2
- package/{vector-WRgenjlW.js → vector-B5kimWqF.js} +7 -7
- package/{video-oFHacN2c.js → video-CPqqjP8F.js} +4 -4
- package/useDoenetRenderer-D_88xSdj.js +0 -114
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { k as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { k as jsxRuntimeExports } from "./doenetml-CLvAz_2Y.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-Dxxe3hVm.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 { k as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { k as jsxRuntimeExports } from "./doenetml-CLvAz_2Y.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-Dxxe3hVm.js";
|
|
4
|
+
import { r as renderMarkupBody } from "./markupRenderer-WCkpS3Xg.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 { u as useRecordVisibilityChanges, k as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useRecordVisibilityChanges, k as jsxRuntimeExports } from "./doenetml-CLvAz_2Y.js";
|
|
2
2
|
import React__default, { useRef, useEffect } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-Dxxe3hVm.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 useRecordVisibilityChanges, k as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useRecordVisibilityChanges, k as jsxRuntimeExports } from "./doenetml-CLvAz_2Y.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-Dxxe3hVm.js";
|
|
4
|
+
import { F as FontAwesomeIcon } from "./index.es-RhJQkW78.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-XinFoIcx.js";
|
|
7
7
|
const feedback = React__default.memo(function Feedback(props) {
|
|
8
8
|
let { id, SVs, children, actions, callAction } = useDoenetRenderer(props);
|
|
9
9
|
const ref = useRef(null);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { u as useRecordVisibilityChanges, k as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useRecordVisibilityChanges, k as jsxRuntimeExports } from "./doenetml-CLvAz_2Y.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-Dxxe3hVm.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-DOvVPLCZ.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 { z as encodeFillPatternColorToken } from "./doenetml-
|
|
1
|
+
import { z as encodeFillPatternColorToken } from "./doenetml-CLvAz_2Y.js";
|
|
2
2
|
const warnedUnsupportedFillStyles = /* @__PURE__ */ new Set();
|
|
3
3
|
function warnUnsupportedFillStyle(fillStyle) {
|
|
4
4
|
if (warnedUnsupportedFillStyles.has(fillStyle)) {
|
|
@@ -50,10 +50,36 @@ const FILL_PATTERN_DEFS = {
|
|
|
50
50
|
useFill: true
|
|
51
51
|
}
|
|
52
52
|
};
|
|
53
|
-
function
|
|
54
|
-
return
|
|
53
|
+
function encodeOpacityToken(value) {
|
|
54
|
+
return String(value).replace(/[^0-9]/g, "_");
|
|
55
55
|
}
|
|
56
|
-
function
|
|
56
|
+
function buildPatternId({
|
|
57
|
+
boardId,
|
|
58
|
+
fillStyle,
|
|
59
|
+
fillColor,
|
|
60
|
+
canvasColor,
|
|
61
|
+
fillOpacity,
|
|
62
|
+
fillPatternOpacity
|
|
63
|
+
}) {
|
|
64
|
+
return [
|
|
65
|
+
"doenet-fill-pattern",
|
|
66
|
+
boardId,
|
|
67
|
+
fillStyle,
|
|
68
|
+
encodeFillPatternColorToken(fillColor),
|
|
69
|
+
encodeFillPatternColorToken(canvasColor),
|
|
70
|
+
encodeOpacityToken(fillOpacity),
|
|
71
|
+
encodeOpacityToken(fillPatternOpacity)
|
|
72
|
+
].join("-");
|
|
73
|
+
}
|
|
74
|
+
function getOrInjectPattern({
|
|
75
|
+
defsEl,
|
|
76
|
+
boardId,
|
|
77
|
+
fillStyle,
|
|
78
|
+
fillColor,
|
|
79
|
+
fillOpacity,
|
|
80
|
+
canvasColor,
|
|
81
|
+
fillPatternOpacity
|
|
82
|
+
}) {
|
|
57
83
|
const def = FILL_PATTERN_DEFS[fillStyle];
|
|
58
84
|
if (!def) {
|
|
59
85
|
if (fillStyle !== "solid") {
|
|
@@ -64,7 +90,14 @@ function getOrInjectPattern(defsEl, boardId, fillStyle, fillColor) {
|
|
|
64
90
|
if (!defsEl) {
|
|
65
91
|
return fillColor;
|
|
66
92
|
}
|
|
67
|
-
const id = buildPatternId(
|
|
93
|
+
const id = buildPatternId({
|
|
94
|
+
boardId,
|
|
95
|
+
fillStyle,
|
|
96
|
+
fillColor,
|
|
97
|
+
fillOpacity,
|
|
98
|
+
canvasColor,
|
|
99
|
+
fillPatternOpacity
|
|
100
|
+
});
|
|
68
101
|
if (defsEl.ownerDocument?.getElementById(id)) {
|
|
69
102
|
return `url(#${id})`;
|
|
70
103
|
}
|
|
@@ -76,14 +109,22 @@ function getOrInjectPattern(defsEl, boardId, fillStyle, fillColor) {
|
|
|
76
109
|
pattern.setAttribute("height", String(def.height));
|
|
77
110
|
pattern.setAttribute("patternUnits", "userSpaceOnUse");
|
|
78
111
|
pattern.setAttribute("overflow", "visible");
|
|
112
|
+
const background = ownerDocument.createElementNS(svgNS, "rect");
|
|
113
|
+
background.setAttribute("width", String(def.width));
|
|
114
|
+
background.setAttribute("height", String(def.height));
|
|
115
|
+
background.setAttribute("fill", canvasColor);
|
|
116
|
+
background.setAttribute("fill-opacity", String(fillOpacity));
|
|
117
|
+
pattern.appendChild(background);
|
|
79
118
|
const path = ownerDocument.createElementNS(svgNS, "path");
|
|
80
119
|
path.setAttribute("d", def.path);
|
|
81
120
|
if (def.useFill) {
|
|
82
121
|
path.setAttribute("fill", fillColor);
|
|
122
|
+
path.setAttribute("fill-opacity", String(fillPatternOpacity));
|
|
83
123
|
path.setAttribute("stroke", "none");
|
|
84
124
|
} else {
|
|
85
125
|
path.setAttribute("stroke", fillColor);
|
|
86
126
|
path.setAttribute("stroke-width", String(def.strokeWidth ?? 1.5));
|
|
127
|
+
path.setAttribute("stroke-opacity", String(fillPatternOpacity));
|
|
87
128
|
path.setAttribute("fill", "none");
|
|
88
129
|
if (def.strokeLinecap) {
|
|
89
130
|
path.setAttribute("stroke-linecap", def.strokeLinecap);
|
|
@@ -99,21 +140,25 @@ function getPatternFillAttributes({
|
|
|
99
140
|
fillStyle,
|
|
100
141
|
fillColor,
|
|
101
142
|
fillOpacity,
|
|
143
|
+
canvasColor,
|
|
102
144
|
fillPatternOpacity = 1,
|
|
103
145
|
highlightFillOpacity = fillOpacity * 0.5
|
|
104
146
|
}) {
|
|
105
|
-
const resolvedFillColor = getOrInjectPattern(
|
|
147
|
+
const resolvedFillColor = getOrInjectPattern({
|
|
106
148
|
defsEl,
|
|
107
149
|
boardId,
|
|
108
150
|
fillStyle,
|
|
109
|
-
fillColor
|
|
110
|
-
|
|
151
|
+
fillColor,
|
|
152
|
+
fillOpacity,
|
|
153
|
+
canvasColor,
|
|
154
|
+
fillPatternOpacity
|
|
155
|
+
});
|
|
111
156
|
const usesPatternFill = resolvedFillColor !== fillColor;
|
|
112
157
|
return {
|
|
113
158
|
fillColor: resolvedFillColor,
|
|
114
|
-
fillOpacity: usesPatternFill ?
|
|
159
|
+
fillOpacity: usesPatternFill ? 1 : fillOpacity,
|
|
115
160
|
highlightFillColor: resolvedFillColor,
|
|
116
|
-
highlightFillOpacity: usesPatternFill ?
|
|
161
|
+
highlightFillOpacity: usesPatternFill ? 0.5 : highlightFillOpacity
|
|
117
162
|
};
|
|
118
163
|
}
|
|
119
164
|
export {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { k as jsxRuntimeExports, v as Button } from "./doenetml-
|
|
1
|
+
import { k as jsxRuntimeExports, v as Button } from "./doenetml-CLvAz_2Y.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-Dxxe3hVm.js";
|
|
4
|
+
import { T as TooltipProvider, a as TooltipAnchor, b as Tooltip } from "./tooltip-provider-DH2D7lj4.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 { k as jsxRuntimeExports, M as MathJax } from "./doenetml-
|
|
1
|
+
import { k as jsxRuntimeExports, M as MathJax } from "./doenetml-CLvAz_2Y.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-Dxxe3hVm.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-Cf1y_3x3.js";
|
|
6
6
|
import { a as addValidationStateToShortDescription } from "./validationState-CVwSJZpB.js";
|
|
7
|
-
import { D as DescriptionPopover } from "./Description-
|
|
7
|
+
import { D as DescriptionPopover } from "./Description-X0wbmle2.js";
|
|
8
8
|
const fractionInput = React__default.memo(function FractionInput(props) {
|
|
9
9
|
let { id, SVs, actions, children, callAction } = useDoenetRenderer(props);
|
|
10
10
|
let validationState = useRef("unvalidated");
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { k as jsxRuntimeExports, an as roundForDisplay, o as Context, u as useRecordVisibilityChanges } from "./doenetml-
|
|
1
|
+
import { k as jsxRuntimeExports, an as roundForDisplay, o as Context, u as useRecordVisibilityChanges } from "./doenetml-CLvAz_2Y.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-Dxxe3hVm.js";
|
|
4
|
+
import Prefigure from "./prefigure-DueQF7ys.js";
|
|
5
|
+
import { a as accessibleLabelText, r as renderLabelWithLatex } from "./labelWithLatex-DGChcqLA.js";
|
|
6
|
+
import GraphFrame from "./GraphFrame-D0SsTifD.js";
|
|
7
|
+
import { J as JSXGraphRenderer } from "./JSXGraphRenderer-WH0QKyTO.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 useRecordVisibilityChanges, k as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useRecordVisibilityChanges, k as jsxRuntimeExports } from "./doenetml-CLvAz_2Y.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-Dxxe3hVm.js";
|
|
4
|
+
import { F as FontAwesomeIcon } from "./index.es-RhJQkW78.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-XinFoIcx.js";
|
|
8
8
|
const hint = React__default.memo(function Hint(props) {
|
|
9
9
|
let { id, SVs, children, actions, callAction } = useDoenetRenderer(props);
|
|
10
10
|
const ref = useRef(null);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { k as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { k as jsxRuntimeExports } from "./doenetml-CLvAz_2Y.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-Dxxe3hVm.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 { l as DocContext, u as useRecordVisibilityChanges, o as Context, k as jsxRuntimeExports, g as getMediaLicenseDisplay } from "./doenetml-
|
|
1
|
+
import { l as DocContext, u as useRecordVisibilityChanges, o as Context, k as jsxRuntimeExports, g as getMediaLicenseDisplay } from "./doenetml-CLvAz_2Y.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-WH0QKyTO.js";
|
|
4
|
+
import { BoardContext, IMAGE_LAYER_OFFSET } from "./graph-DwiumKgy.js";
|
|
5
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-Dxxe3hVm.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-X0wbmle2.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-BwSgbGOA.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-jENznKTo.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 { l as DocContext, o as Context, k as jsxRuntimeExports, t as textRendererStyle, n as DynamicMath } from "./doenetml-
|
|
1
|
+
import { l as DocContext, o as Context, k as jsxRuntimeExports, t as textRendererStyle, n as DynamicMath } from "./doenetml-CLvAz_2Y.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-WH0QKyTO.js";
|
|
4
|
+
import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-DwiumKgy.js";
|
|
5
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-Dxxe3hVm.js";
|
|
6
6
|
import { g as getPositionFromAnchorByCoordinate } from "./graph-W6vrFcBu.js";
|
|
7
|
-
import { ChoiceInputInlineContext } from "./choiceInput-
|
|
7
|
+
import { ChoiceInputInlineContext } from "./choiceInput-Ck8DVMmG.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-jENznKTo.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 { A as deepCompare, k as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { A as deepCompare, k as jsxRuntimeExports } from "./doenetml-CLvAz_2Y.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-WH0QKyTO.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-Dxxe3hVm.js";
|
|
5
|
+
import { BoardContext } from "./graph-DwiumKgy.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,13 +1,13 @@
|
|
|
1
|
-
import { l as DocContext, k as jsxRuntimeExports, t as textRendererStyle, n as DynamicMath } from "./doenetml-
|
|
1
|
+
import { l as DocContext, k as jsxRuntimeExports, t as textRendererStyle, n as DynamicMath } from "./doenetml-CLvAz_2Y.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 { ChoiceInputInlineContext } from "./choiceInput-
|
|
7
|
-
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-WH0QKyTO.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-Dxxe3hVm.js";
|
|
5
|
+
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-DwiumKgy.js";
|
|
6
|
+
import { ChoiceInputInlineContext } from "./choiceInput-Ck8DVMmG.js";
|
|
7
|
+
import { a as buildLineLikeAttributes } from "./buildGraphicalAttributes-C7PtyKL7.js";
|
|
8
8
|
import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-DV6a8Wvg.js";
|
|
9
9
|
import { p as pointerEventToUserCoords } from "./dragThreshold-DuSSFrIU.js";
|
|
10
|
-
import { a as resolveLineColor } from "./styleColors-
|
|
10
|
+
import { a as resolveLineColor } from "./styleColors-Cknqcr0q.js";
|
|
11
11
|
import { s as styleToDash } from "./styleToDash-DWb71gbd.js";
|
|
12
12
|
import { u as useDraggableRefs, a as useJSXGraphCleanup } from "./useJSXGraphCleanup-CX91oVW8.js";
|
|
13
13
|
import { a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-tcr76K44.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { l as DocContext, k as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { l as DocContext, k as jsxRuntimeExports } from "./doenetml-CLvAz_2Y.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 { 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-WH0QKyTO.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-Dxxe3hVm.js";
|
|
5
|
+
import { BoardContext, VERTEX_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-DwiumKgy.js";
|
|
6
|
+
import { a as buildLineLikeAttributes } from "./buildGraphicalAttributes-C7PtyKL7.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
|
-
import { a as resolveLineColor,
|
|
9
|
+
import { a as resolveLineColor, 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
12
|
import { a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-tcr76K44.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { u as useRecordVisibilityChanges, k as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useRecordVisibilityChanges, k as jsxRuntimeExports } from "./doenetml-CLvAz_2Y.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-Dxxe3hVm.js";
|
|
4
|
+
import { a as addCommasForCompositeRanges } from "./composites-XinFoIcx.js";
|
|
5
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-Cf1y_3x3.js";
|
|
6
6
|
const list = React__default.memo(function List(props) {
|
|
7
7
|
let { id, SVs, children, actions, callAction } = useDoenetRenderer(props);
|
|
8
8
|
const ref = useRef(null);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { k as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { k as jsxRuntimeExports } from "./doenetml-CLvAz_2Y.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-Dxxe3hVm.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 { k as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { k as jsxRuntimeExports } from "./doenetml-CLvAz_2Y.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-Dxxe3hVm.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 { l as DocContext, o as Context, k as jsxRuntimeExports, t as textRendererStyle, n as DynamicMath } from "./doenetml-
|
|
1
|
+
import { l as DocContext, o as Context, k as jsxRuntimeExports, t as textRendererStyle, n as DynamicMath } from "./doenetml-CLvAz_2Y.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-WH0QKyTO.js";
|
|
4
|
+
import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-DwiumKgy.js";
|
|
5
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-Dxxe3hVm.js";
|
|
6
6
|
import { g as getPositionFromAnchorByCoordinate } from "./graph-W6vrFcBu.js";
|
|
7
|
-
import { ChoiceInputInlineContext } from "./choiceInput-
|
|
7
|
+
import { ChoiceInputInlineContext } from "./choiceInput-Ck8DVMmG.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-jENznKTo.js";
|
|
11
11
|
function getMathDelimiters(SVs) {
|
|
12
12
|
if (SVs.renderMode === "inline") {
|
|
13
13
|
return ["\\(", "\\)"];
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { k as jsxRuntimeExports, w as useAppSelector, a0 as keyboardSlice, a1 as FocusedMathInputContext, a2 as DEFAULT_MATH_INPUT_FUNCTION_NAMES, o as Context, a3 as PopoverAnchor, M as MathJax, X as usePopoverStore, P as useStoreState, $ as Popover } from "./doenetml-
|
|
1
|
+
import { k as jsxRuntimeExports, w as useAppSelector, a0 as keyboardSlice, a1 as FocusedMathInputContext, a2 as DEFAULT_MATH_INPUT_FUNCTION_NAMES, o as Context, a3 as PopoverAnchor, M as MathJax, X as usePopoverStore, P as useStoreState, $ as Popover } from "./doenetml-CLvAz_2Y.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-WH0QKyTO.js";
|
|
5
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-Dxxe3hVm.js";
|
|
6
|
+
import { P as PropTypes } from "./index-DOvVPLCZ.js";
|
|
7
|
+
import { D as DescriptionPopover, P as PopoverArrow } from "./Description-X0wbmle2.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-Cf1y_3x3.js";
|
|
10
10
|
import { a as addValidationStateToShortDescription } from "./validationState-CVwSJZpB.js";
|
|
11
|
-
import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-
|
|
11
|
+
import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-DwiumKgy.js";
|
|
12
12
|
import { g as getPositionFromAnchorByCoordinate, P as POINTER_DRAG_THRESHOLD } from "./graph-W6vrFcBu.js";
|
|
13
13
|
var __extends = /* @__PURE__ */ (function() {
|
|
14
14
|
var extendStatics = function(d, b) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { k as jsxRuntimeExports, E as ActionButtonGroup, F as ActionButton, M as MathJax } from "./doenetml-
|
|
1
|
+
import { k as jsxRuntimeExports, E as ActionButtonGroup, F as ActionButton, M as MathJax } from "./doenetml-CLvAz_2Y.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-Dxxe3hVm.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-Cf1y_3x3.js";
|
|
6
|
+
import { D as DescriptionPopover } from "./Description-X0wbmle2.js";
|
|
7
7
|
const matrixInput = React__default.memo(function MatrixInput(props) {
|
|
8
8
|
let { id, SVs, actions, children, callAction } = useDoenetRenderer(props);
|
|
9
9
|
let validationState = useRef("unvalidated");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { k as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { k as jsxRuntimeExports } from "./doenetml-CLvAz_2Y.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-Dxxe3hVm.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 { k as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { k as jsxRuntimeExports } from "./doenetml-CLvAz_2Y.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-Dxxe3hVm.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 { k as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { k as jsxRuntimeExports } from "./doenetml-CLvAz_2Y.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-Dxxe3hVm.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 { l as DocContext, o as Context, k as jsxRuntimeExports, t as textRendererStyle, n as DynamicMath } from "./doenetml-
|
|
1
|
+
import { l as DocContext, o as Context, k as jsxRuntimeExports, t as textRendererStyle, n as DynamicMath } from "./doenetml-CLvAz_2Y.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-WH0QKyTO.js";
|
|
4
|
+
import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-DwiumKgy.js";
|
|
5
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-Dxxe3hVm.js";
|
|
6
6
|
import { g as getPositionFromAnchorByCoordinate } from "./graph-W6vrFcBu.js";
|
|
7
|
-
import { ChoiceInputInlineContext } from "./choiceInput-
|
|
7
|
+
import { ChoiceInputInlineContext } from "./choiceInput-Ck8DVMmG.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-jENznKTo.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 { u as useRecordVisibilityChanges, k as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useRecordVisibilityChanges, k as jsxRuntimeExports } from "./doenetml-CLvAz_2Y.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-Dxxe3hVm.js";
|
|
4
4
|
const ORBITAL_ARROW_STYLE = {
|
|
5
5
|
fill: "none",
|
|
6
6
|
stroke: "var(--canvasText)",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { u as useRecordVisibilityChanges, k as jsxRuntimeExports, B as Button2 } from "./doenetml-
|
|
1
|
+
import { u as useRecordVisibilityChanges, k as jsxRuntimeExports, B as Button2 } from "./doenetml-CLvAz_2Y.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-Dxxe3hVm.js";
|
|
4
4
|
const ORBITAL_ARROW_STYLE = {
|
|
5
5
|
fill: "none",
|
|
6
6
|
stroke: "var(--canvasText)",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { u as useRecordVisibilityChanges, k as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useRecordVisibilityChanges, k as jsxRuntimeExports } from "./doenetml-CLvAz_2Y.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-Dxxe3hVm.js";
|
|
4
|
+
import { a as addCommasForCompositeRanges } from "./composites-XinFoIcx.js";
|
|
5
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-Cf1y_3x3.js";
|
|
6
6
|
const p = React__default.memo(function P(props) {
|
|
7
7
|
let { id, SVs, children, actions, callAction } = useDoenetRenderer(props);
|
|
8
8
|
const ref = useRef(null);
|
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.20-dev.
|
|
5
|
+
"version": "0.7.20-dev.335",
|
|
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 { k as jsxRuntimeExports, B as Button2 } from "./doenetml-
|
|
1
|
+
import { k as jsxRuntimeExports, B as Button2 } from "./doenetml-CLvAz_2Y.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-Dxxe3hVm.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) {
|