@doenet/doenetml 0.7.22 → 0.7.23-dev.446
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-z26tufJs.js → AnswerResponseButton-DyWXKo6v.js} +2 -2
- package/{Description-CgfkOAsF.js → Description-D8eSeiSN.js} +1 -1
- package/{GraphFrame-BfihAgoG.js → GraphFrame-BLQMoTz7.js} +2 -2
- package/{JSXGraphRenderer-BGRQlTa2.js → JSXGraphRenderer-DsED_IYR.js} +1 -1
- package/{NonInlineMediaWrapper-Bfz3Wg2x.js → NonInlineMediaWrapper-BIZiYEyJ.js} +1 -1
- package/{_error-Dc58Ivsy.js → _error-BR4OLjxm.js} +2 -2
- package/{alert-CGjYkXsO.js → alert-yVdGlXkn.js} +3 -3
- package/{angle-97wH4Ys9.js → angle-BHMjBiYL.js} +6 -6
- package/{answer-DwJn-HYB.js → answer-B3MlhyK1.js} +5 -5
- package/{asList-DBFNMD6X.js → asList-C-QGYFna.js} +2 -2
- package/{blockQuote-DGQ4BKrQ.js → blockQuote-BUijb7-U.js} +3 -3
- package/{boolean-Cvr8d5xk.js → boolean-Bb0VIVoS.js} +2 -2
- package/{booleanInput-Z053Kvv-.js → booleanInput-hVFN83aA.js} +6 -6
- package/{br-DJnyVoyA.js → br-DwmabJPD.js} +2 -2
- package/{button-DFLl0_Km.js → button-DTnZStCy.js} +4 -4
- package/{c-9AZgfFbD.js → c-Dnlt6r-1.js} +3 -3
- package/{cell-CNkuz0Ul.js → cell-CdGTtaUp.js} +3 -3
- package/{choiceInput-B3Hnc0NP.js → choiceInput-C_4uPa4T.js} +4 -4
- package/{circle-ByH7ZKM8.js → circle-D4puQp-K.js} +6 -6
- package/{cobwebPolyline-C2Mt2w5_.js → cobwebPolyline-pzpR8b86.js} +4 -4
- package/{codeEditor-BRIEjNsU.js → codeEditor-Bku7Ylau.js} +2 -2
- package/{composites-Dkldm2Vp.js → composites-BqzFUk_h.js} +1 -1
- package/{containerBlock-DUiOOf5u.js → containerBlock-CiAsFmTu.js} +4 -4
- package/{containerInline-DZQaDktJ.js → containerInline-BduAdm_w.js} +4 -4
- package/{curve-DYY-ePZb.js → curve-D9Bz5bzE.js} +4 -4
- package/{doenetml-D5HX-x7S.js → doenetml-KneMbdUl.js} +851 -84
- package/doenetml-external-worker.js +8 -6
- package/doenetml-inline-worker.js +8 -6
- package/{ellipsis-CvGUChTX.js → ellipsis-CySN_qv6.js} +2 -2
- package/{em-WMlNwyJV.js → em-DAUgIg6f.js} +3 -3
- package/{embed-Ts8N9zsJ.js → embed-l4BxxdBO.js} +2 -2
- package/{feedback-fyFZJNr-.js → feedback-BTZMQoBJ.js} +4 -4
- package/{figure-CvH-umji.js → figure-QbUCbI8x.js} +3 -3
- package/{fillPatterns-BxyLP9oy.js → fillPatterns-O5qMvUVb.js} +1 -1
- package/{footnote-BKpCCSpF.js → footnote-dMsVu_z4.js} +3 -3
- package/{fractionInput-CegMDYmq.js → fractionInput-D7Eq6FLE.js} +4 -4
- package/{graph-6vpwOcjZ.js → graph-mqujNItp.js} +6 -6
- package/{hint-g6IEkpOj.js → hint-CrOY6rw7.js} +4 -4
- package/{hr-DR_PDOdp.js → hr-CC-1JDh8.js} +2 -2
- package/{image-DXbtZtpl.js → image-DxD-Pqmd.js} +7 -7
- package/{index-iT2H0VJs.js → index-D3aI7lEB.js} +1 -1
- package/index.d.ts +1 -0
- package/index.d.ts.map +1 -1
- package/{index.es-C5jQv44J.js → index.es-B8h2rGUR.js} +1 -1
- package/index.js +7 -5
- package/{label-A72n_FEH.js → label-BUJ6Rpgu.js} +6 -6
- package/{labelWithLatex-By0i4njZ.js → labelWithLatex-DuSUomAn.js} +1 -1
- package/{legend-CdJsGBdl.js → legend-BO--dbsh.js} +4 -4
- package/{line-D9DRsSaF.js → line-Dwhehwjd.js} +6 -6
- package/{lineFamilyDragHandlers-Dl1BMPrP.js → lineFamilyDragHandlers-C0KNuiat.js} +1 -1
- package/{lineSegment-DGKFUZRD.js → lineSegment-BUwlyA8O.js} +5 -5
- package/{list-CCWvt27q.js → list-BewyxFt1.js} +4 -4
- package/{lq-D3JiP6au.js → lq-CPygjQ0I.js} +2 -2
- package/{lsq-CzTXhDrA.js → lsq-Dq2OdgJ3.js} +2 -2
- package/{markupRenderer-PgPCJVQ4.js → markupRenderer-B28xMxjd.js} +1 -1
- package/{math-BwyJvx_l.js → math-DIkg5kdb.js} +6 -6
- package/{mathInput-TmmGKcf6.js → mathInput-CuSgICqM.js} +7 -7
- package/{matrixInput-CyQPqk1-.js → matrixInput-BjEzCkej.js} +4 -4
- package/{mdash-Ki9BeVTF.js → mdash-Dd0dC9ZN.js} +2 -2
- package/{nbsp-bX1kNdfi.js → nbsp-BDj188gH.js} +2 -2
- package/{ndash-CsuWYs5d.js → ndash-D82WGMk5.js} +2 -2
- package/{number-BRMOc-nJ.js → number-CsmZNCaA.js} +6 -6
- package/{orbitalDiagram-CYUPIJxh.js → orbitalDiagram-CmYJeGHp.js} +2 -2
- package/{orbitalDiagramInput-HtC-z_hm.js → orbitalDiagramInput-6edLs5Cb.js} +2 -2
- package/{p-OxuePfOc.js → p-leQyCCs0.js} +4 -4
- package/package.json +1 -1
- package/{paginatorControls-D9gndDjL.js → paginatorControls-DjBJjyTq.js} +2 -2
- package/{pegboard-8j9BEK4B.js → pegboard-CmvMLZQE.js} +4 -4
- package/{point-C2PjGG5K.js → point-DlaA8ggd.js} +6 -6
- package/{polygon-CX-Bh1kP.js → polygon-I15KTIEp.js} +6 -6
- package/{polyline-CW4UpPVk.js → polyline-CemVFqvk.js} +5 -5
- package/{pre-RACzW6qm.js → pre-CW_2k1QS.js} +3 -3
- package/{prefigure-C7x7kbaF.js → prefigure-DvcLIrYI.js} +2 -2
- package/{pretzel-BZ1IR4LM.js → pretzel-Bd6DgnWW.js} +4 -4
- package/{q-Ckln1Wct.js → q-B216JPnK.js} +3 -3
- package/{ray-B_exORWR.js → ray-DUKyOz39.js} +5 -5
- package/{ref-4PCXthsO.js → ref-BaSdfHFR.js} +2 -2
- package/{regionBetweenCurveXAxis-xpcdsu7r.js → regionBetweenCurveXAxis-C_VBs5PN.js} +5 -5
- package/{regionBetweenCurves-D008cTQy.js → regionBetweenCurves-Bj8QeXXP.js} +5 -5
- package/{row-D4F-dIpD.js → row-DLpefFHp.js} +2 -2
- package/{rq-Bo3cGdDE.js → rq-DlDsQlOl.js} +2 -2
- package/{rsq-Duqega7O.js → rsq-Bmp9ngqj.js} +2 -2
- package/{section-C7JhOcfS.js → section-5MLd0hE8.js} +5 -5
- package/{sha256-Bzrm4-tO-CvAUGkOU.js → sha256-Bzrm4-tO-D4VOq96C.js} +1 -1
- package/{sideBySide-DX66G0uP.js → sideBySide-DK__lF5P.js} +2 -2
- package/{slider-D6Adyob-.js → slider-Dw69lcuv.js} +3 -3
- package/{solution-O_b6wkco.js → solution-L0c-SKhS.js} +4 -4
- package/{spreadsheet-KHSCRaVg.js → spreadsheet-4LrZjKvD.js} +2 -2
- package/{sq-94l7R-cD.js → sq-ClwtbJl2.js} +3 -3
- package/style.css +7 -2
- package/{subsetOfRealsInput-BfqWk4lE.js → subsetOfRealsInput--odUYpOc.js} +2 -2
- package/{summaryStatistics-cnbLxjy1.js → summaryStatistics-B_C7MwLj.js} +2 -2
- package/{table-Ct9lxAgO.js → table-DGt4W_HM.js} +2 -2
- package/{tabular-CcyMJzGI.js → tabular-CNiL6xjX.js} +2 -2
- package/{tag-CakW4-2Z.js → tag-Ch4GTmdQ.js} +2 -2
- package/{text-DOkN5oPb.js → text-CYTqx_LY.js} +6 -6
- package/{textInput-MTKc-7d-.js → textInput-yfy-FD9B.js} +6 -6
- package/{tooltip-provider-crfLKplj.js → tooltip-provider-DsW_MxoB.js} +1 -1
- package/{useAnchoredGraphDragHandler-CerehN46.js → useAnchoredGraphDragHandler-CGKjsqrU.js} +1 -1
- package/useDoenetRenderer-NkmIqE-s.js +114 -0
- package/{useSubmitActionWithDelay-B-8RE6oy.js → useSubmitActionWithDelay-AdyQf3WY.js} +2 -2
- package/{vector-Jx7YLo4a.js → vector-DFzBM71C.js} +6 -6
- package/{video-BjmxyUjk.js → video-CAIKbj6G.js} +4 -4
- package/useDoenetRenderer-CqXPf2ND.js +0 -114
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { p as jsxRuntimeExports } from "./doenetml-KneMbdUl.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-NkmIqE-s.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 {
|
|
1
|
+
import { p as jsxRuntimeExports } from "./doenetml-KneMbdUl.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-NkmIqE-s.js";
|
|
4
|
+
import { r as renderMarkupBody } from "./markupRenderer-B28xMxjd.js";
|
|
5
5
|
const em = React__default.memo(function Em(props) {
|
|
6
6
|
const { id, SVs, children } = useDoenetRenderer(props);
|
|
7
7
|
const body = renderMarkupBody({ SVs, children });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-KneMbdUl.js";
|
|
2
2
|
import React__default, { useRef, useEffect } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-NkmIqE-s.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,
|
|
1
|
+
import { u as useT, t as useChromeLangDir, G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-KneMbdUl.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-NkmIqE-s.js";
|
|
4
|
+
import { F as FontAwesomeIcon } from "./index.es-B8h2rGUR.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-BqzFUk_h.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 {
|
|
1
|
+
import { G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-KneMbdUl.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-NkmIqE-s.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-D3aI7lEB.js";
|
|
6
6
|
function _inheritsLoose(t, o) {
|
|
7
7
|
t.prototype = Object.create(o.prototype), t.prototype.constructor = t, _setPrototypeOf(t, o);
|
|
8
8
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { E as encodeFillPatternColorToken } from "./doenetml-KneMbdUl.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,
|
|
1
|
+
import { u as useT, p as jsxRuntimeExports, L as Button } from "./doenetml-KneMbdUl.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-NkmIqE-s.js";
|
|
4
|
+
import { T as TooltipProvider, a as TooltipAnchor, b as Tooltip } from "./tooltip-provider-DsW_MxoB.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 {
|
|
1
|
+
import { F as useContentT, p as jsxRuntimeExports, T as MathJax } from "./doenetml-KneMbdUl.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-NkmIqE-s.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-AdyQf3WY.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-D8eSeiSN.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 {
|
|
1
|
+
import { p as jsxRuntimeExports, aA as roundForDisplay, H as Context, G as useRecordVisibilityChanges } from "./doenetml-KneMbdUl.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-NkmIqE-s.js";
|
|
4
|
+
import Prefigure from "./prefigure-DvcLIrYI.js";
|
|
5
|
+
import { a as accessibleLabelText, r as renderLabelWithLatex } from "./labelWithLatex-DuSUomAn.js";
|
|
6
|
+
import GraphFrame from "./GraphFrame-BLQMoTz7.js";
|
|
7
|
+
import { J as JSXGraphRenderer } from "./JSXGraphRenderer-DsED_IYR.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,
|
|
1
|
+
import { u as useT, G as useRecordVisibilityChanges, t as useChromeLangDir, p as jsxRuntimeExports } from "./doenetml-KneMbdUl.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-NkmIqE-s.js";
|
|
4
|
+
import { F as FontAwesomeIcon } from "./index.es-B8h2rGUR.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-BqzFUk_h.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 {
|
|
1
|
+
import { p as jsxRuntimeExports } from "./doenetml-KneMbdUl.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-NkmIqE-s.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 {
|
|
1
|
+
import { z as DocContext, G as useRecordVisibilityChanges, H as Context, p as jsxRuntimeExports, g as getMediaLicenseDisplay } from "./doenetml-KneMbdUl.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-DsED_IYR.js";
|
|
4
|
+
import { BoardContext, IMAGE_LAYER_OFFSET } from "./graph-mqujNItp.js";
|
|
5
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-NkmIqE-s.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-D8eSeiSN.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-BIZiYEyJ.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-CGKjsqrU.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.d.ts
CHANGED
|
@@ -3,4 +3,5 @@ export type { DiagnosticsTabId, DoenetEditorHandle } from './doenetml';
|
|
|
3
3
|
export { getStylePalettes, getStylePalette, mathjaxConfig, cidFromText, retrieveTextFileForCid, serializedComponentsReplacer, serializedComponentsReviver, mediaLicenses, getMediaLicenseInfo, getMediaLicenseDisplay, creativeCommonsVersions, defaultCreativeCommonsVersion, } from '../packages/utils/dist';
|
|
4
4
|
export type { StylePaletteInfo, ResolvedStyleDefinition, DiagnosticRecord, ErrorRecord, WarningRecord, ReaderStyleOverrides, ReaderStyleValueOverrides, MediaLicenseInfo, MediaLicenseKind, MediaLicenseDisplay, CreativeCommonsVersion, } from '../packages/utils/dist';
|
|
5
5
|
export { CodeMirror } from '../packages/codemirror/dist';
|
|
6
|
+
export { setLocaleLoaders, fetchLocaleLoaders, type LocaleLoader, type LocaleLoaders, } from '../packages/i18n/dist';
|
|
6
7
|
//# sourceMappingURL=index.d.ts.map
|
package/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AACxD,YAAY,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAEvE,OAAO,EACH,gBAAgB,EAChB,eAAe,EACf,aAAa,EACb,WAAW,EACX,sBAAsB,EACtB,4BAA4B,EAC5B,2BAA2B,EAC3B,aAAa,EACb,mBAAmB,EACnB,sBAAsB,EACtB,uBAAuB,EACvB,6BAA6B,GAEhC,MAAM,eAAe,CAAC;AACvB,YAAY,EACR,gBAAgB,EAChB,uBAAuB,EACvB,gBAAgB,EAChB,WAAW,EACX,aAAa,EACb,oBAAoB,EACpB,yBAAyB,EACzB,gBAAgB,EAChB,gBAAgB,EAChB,mBAAmB,EACnB,sBAAsB,GACzB,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AACxD,YAAY,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAEvE,OAAO,EACH,gBAAgB,EAChB,eAAe,EACf,aAAa,EACb,WAAW,EACX,sBAAsB,EACtB,4BAA4B,EAC5B,2BAA2B,EAC3B,aAAa,EACb,mBAAmB,EACnB,sBAAsB,EACtB,uBAAuB,EACvB,6BAA6B,GAEhC,MAAM,eAAe,CAAC;AACvB,YAAY,EACR,gBAAgB,EAChB,uBAAuB,EACvB,gBAAgB,EAChB,WAAW,EACX,aAAa,EACb,oBAAoB,EACpB,yBAAyB,EACzB,gBAAgB,EAChB,gBAAgB,EAChB,mBAAmB,EACnB,sBAAsB,GACzB,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAUhD,OAAO,EACH,gBAAgB,EAChB,kBAAkB,EAClB,KAAK,YAAY,EACjB,KAAK,aAAa,GACrB,MAAM,cAAc,CAAC"}
|
package/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C, D, a, c, b, d, g, e,
|
|
1
|
+
import { C, D, a, c, b, d, f, g, e, h, i, m, j, r, s, k, l } from "./doenetml-KneMbdUl.js";
|
|
2
2
|
export {
|
|
3
3
|
C as CodeMirror,
|
|
4
4
|
D as DoenetEditor,
|
|
@@ -6,13 +6,15 @@ export {
|
|
|
6
6
|
c as cidFromText,
|
|
7
7
|
b as creativeCommonsVersions,
|
|
8
8
|
d as defaultCreativeCommonsVersion,
|
|
9
|
+
f as fetchLocaleLoaders,
|
|
9
10
|
g as getMediaLicenseDisplay,
|
|
10
11
|
e as getMediaLicenseInfo,
|
|
11
|
-
|
|
12
|
-
|
|
12
|
+
h as getStylePalette,
|
|
13
|
+
i as getStylePalettes,
|
|
13
14
|
m as mathjaxConfig,
|
|
14
|
-
|
|
15
|
+
j as mediaLicenses,
|
|
15
16
|
r as retrieveTextFileForCid,
|
|
16
17
|
s as serializedComponentsReplacer,
|
|
17
|
-
|
|
18
|
+
k as serializedComponentsReviver,
|
|
19
|
+
l as setLocaleLoaders
|
|
18
20
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { z as DocContext, H as Context, p as jsxRuntimeExports, A as textRendererStyle, B as DynamicMath } from "./doenetml-KneMbdUl.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-DsED_IYR.js";
|
|
4
|
+
import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-mqujNItp.js";
|
|
5
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-NkmIqE-s.js";
|
|
6
6
|
import { g as getPositionFromAnchorByCoordinate } from "./graph-W6vrFcBu.js";
|
|
7
|
-
import { ChoiceInputInlineContext } from "./choiceInput-
|
|
7
|
+
import { ChoiceInputInlineContext } from "./choiceInput-C_4uPa4T.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-CGKjsqrU.js";
|
|
11
11
|
const label = React__default.memo(function Label(props) {
|
|
12
12
|
let { componentIdx, id, SVs, actions, callAction } = useDoenetRenderer(props);
|
|
13
13
|
Label.ignoreActionsWithoutCore = () => true;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { M as deepCompare, p as jsxRuntimeExports } from "./doenetml-KneMbdUl.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-DsED_IYR.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-NkmIqE-s.js";
|
|
5
|
+
import { BoardContext } from "./graph-mqujNItp.js";
|
|
6
6
|
import { s as styleToDash } from "./styleToDash-DWb71gbd.js";
|
|
7
7
|
const legend = React__default.memo(function Legend(props) {
|
|
8
8
|
let { id, SVs } = useDoenetRenderer(props);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { z as DocContext, p as jsxRuntimeExports, A as textRendererStyle, B as DynamicMath } from "./doenetml-KneMbdUl.js";
|
|
2
2
|
import React__default, { useContext, useRef } from "react";
|
|
3
|
-
import { j as jxg, h as syncLineFamilyVisibility, s as syncLayer, e as syncLineStrokeStyle, a as syncWithLabelToggle, f as syncLabelStrokeColor, b as syncLabelMaskCssStyle, i as applyLineFamilyLabelPlacement, k as buildLineFamilyLabelAttributes, d as attachLabelHoverHighlight, c as computeLabelMaskCssStyle, l as stabilizeInitialLineFamilyLabelPlacement, r as removeJXGEventHandlers } from "./JSXGraphRenderer-
|
|
4
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
5
|
-
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-
|
|
6
|
-
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-
|
|
7
|
-
import { ChoiceInputInlineContext } from "./choiceInput-
|
|
3
|
+
import { j as jxg, h as syncLineFamilyVisibility, s as syncLayer, e as syncLineStrokeStyle, a as syncWithLabelToggle, f as syncLabelStrokeColor, b as syncLabelMaskCssStyle, i as applyLineFamilyLabelPlacement, k as buildLineFamilyLabelAttributes, d as attachLabelHoverHighlight, c as computeLabelMaskCssStyle, l as stabilizeInitialLineFamilyLabelPlacement, r as removeJXGEventHandlers } from "./JSXGraphRenderer-DsED_IYR.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-NkmIqE-s.js";
|
|
5
|
+
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-mqujNItp.js";
|
|
6
|
+
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-C0KNuiat.js";
|
|
7
|
+
import { ChoiceInputInlineContext } from "./choiceInput-C_4uPa4T.js";
|
|
8
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";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useContext } from "react";
|
|
2
|
-
import {
|
|
2
|
+
import { z as DocContext, V as hasNavigationModifier } from "./doenetml-KneMbdUl.js";
|
|
3
3
|
import { e as exceededDragThreshold } from "./dragThreshold-DuSSFrIU.js";
|
|
4
4
|
function useSourceNavigation(domId) {
|
|
5
5
|
const { reportGraphElementUp } = useContext(DocContext);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { z as DocContext, p as jsxRuntimeExports } from "./doenetml-KneMbdUl.js";
|
|
2
2
|
import React__default, { useContext, useRef } from "react";
|
|
3
|
-
import { j as jxg, h as syncLineFamilyVisibility, s as syncLayer, g as syncVisPropValues, e as syncLineStrokeStyle, a as syncWithLabelToggle, f as syncLabelStrokeColor, b as syncLabelMaskCssStyle, i as applyLineFamilyLabelPlacement, k as buildLineFamilyLabelAttributes, d as attachLabelHoverHighlight, c as computeLabelMaskCssStyle, l as stabilizeInitialLineFamilyLabelPlacement, r as removeJXGEventHandlers } from "./JSXGraphRenderer-
|
|
4
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
5
|
-
import { BoardContext, VERTEX_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-
|
|
6
|
-
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-
|
|
3
|
+
import { j as jxg, h as syncLineFamilyVisibility, s as syncLayer, g as syncVisPropValues, e as syncLineStrokeStyle, a as syncWithLabelToggle, f as syncLabelStrokeColor, b as syncLabelMaskCssStyle, i as applyLineFamilyLabelPlacement, k as buildLineFamilyLabelAttributes, d as attachLabelHoverHighlight, c as computeLabelMaskCssStyle, l as stabilizeInitialLineFamilyLabelPlacement, r as removeJXGEventHandlers } from "./JSXGraphRenderer-DsED_IYR.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-NkmIqE-s.js";
|
|
5
|
+
import { BoardContext, VERTEX_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-mqujNItp.js";
|
|
6
|
+
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-C0KNuiat.js";
|
|
7
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";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { F as useContentT, G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-KneMbdUl.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-NkmIqE-s.js";
|
|
4
|
+
import { a as addCommasForCompositeRanges } from "./composites-BqzFUk_h.js";
|
|
5
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-AdyQf3WY.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 {
|
|
1
|
+
import { p as jsxRuntimeExports } from "./doenetml-KneMbdUl.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-NkmIqE-s.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 {
|
|
1
|
+
import { p as jsxRuntimeExports } from "./doenetml-KneMbdUl.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-NkmIqE-s.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 {
|
|
1
|
+
import { z as DocContext, H as Context, p as jsxRuntimeExports, A as textRendererStyle, B as DynamicMath } from "./doenetml-KneMbdUl.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-DsED_IYR.js";
|
|
4
|
+
import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-mqujNItp.js";
|
|
5
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-NkmIqE-s.js";
|
|
6
6
|
import { g as getPositionFromAnchorByCoordinate } from "./graph-W6vrFcBu.js";
|
|
7
|
-
import { ChoiceInputInlineContext } from "./choiceInput-
|
|
7
|
+
import { ChoiceInputInlineContext } from "./choiceInput-C_4uPa4T.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-CGKjsqrU.js";
|
|
11
11
|
function getMathDelimiters(SVs) {
|
|
12
12
|
if (SVs.renderMode === "inline") {
|
|
13
13
|
return ["\\(", "\\)"];
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { p as jsxRuntimeExports, F as useContentT, w as useAppSelector, aw as keyboardSlice, ax as FocusedMathInputContext, H as Context, ay as PopoverAnchor, T as MathJax, a9 as usePopoverStore, a2 as useStoreState, u as useT, t as useChromeLangDir, ac as Popover } from "./doenetml-KneMbdUl.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-DsED_IYR.js";
|
|
5
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-NkmIqE-s.js";
|
|
6
|
+
import { P as PropTypes } from "./index-D3aI7lEB.js";
|
|
7
|
+
import { D as DescriptionPopover, P as PopoverArrow } from "./Description-D8eSeiSN.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-AdyQf3WY.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-mqujNItp.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,
|
|
1
|
+
import { u as useT, F as useContentT, p as jsxRuntimeExports, R as ActionButtonGroup, S as ActionButton, T as MathJax } from "./doenetml-KneMbdUl.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-NkmIqE-s.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-AdyQf3WY.js";
|
|
6
|
+
import { D as DescriptionPopover } from "./Description-D8eSeiSN.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 {
|
|
1
|
+
import { p as jsxRuntimeExports } from "./doenetml-KneMbdUl.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-NkmIqE-s.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 {
|
|
1
|
+
import { p as jsxRuntimeExports } from "./doenetml-KneMbdUl.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-NkmIqE-s.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 {
|
|
1
|
+
import { p as jsxRuntimeExports } from "./doenetml-KneMbdUl.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-NkmIqE-s.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 {
|
|
1
|
+
import { z as DocContext, H as Context, p as jsxRuntimeExports, A as textRendererStyle, B as DynamicMath } from "./doenetml-KneMbdUl.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-DsED_IYR.js";
|
|
4
|
+
import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-mqujNItp.js";
|
|
5
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-NkmIqE-s.js";
|
|
6
6
|
import { g as getPositionFromAnchorByCoordinate } from "./graph-W6vrFcBu.js";
|
|
7
|
-
import { ChoiceInputInlineContext } from "./choiceInput-
|
|
7
|
+
import { ChoiceInputInlineContext } from "./choiceInput-C_4uPa4T.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-CGKjsqrU.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 {
|
|
1
|
+
import { G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-KneMbdUl.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-NkmIqE-s.js";
|
|
4
4
|
import { l as ltrIslandProps } from "./direction-BwrU7jHk.js";
|
|
5
5
|
const ORBITAL_ARROW_STYLE = {
|
|
6
6
|
fill: "none",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { u as useT,
|
|
1
|
+
import { u as useT, G as useRecordVisibilityChanges, p as jsxRuntimeExports, J as Button2 } from "./doenetml-KneMbdUl.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-NkmIqE-s.js";
|
|
4
4
|
import { l as ltrIslandProps } from "./direction-BwrU7jHk.js";
|
|
5
5
|
const ORBITAL_ARROW_STYLE = {
|
|
6
6
|
fill: "none",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { F as useContentT, G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-KneMbdUl.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-NkmIqE-s.js";
|
|
4
|
+
import { a as addCommasForCompositeRanges } from "./composites-BqzFUk_h.js";
|
|
5
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-AdyQf3WY.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.
|
|
5
|
+
"version": "0.7.23-dev.446",
|
|
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 {
|
|
1
|
+
import { p as jsxRuntimeExports, J as Button2 } from "./doenetml-KneMbdUl.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-NkmIqE-s.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 {
|
|
2
|
+
import { j as jxg } from "./JSXGraphRenderer-DsED_IYR.js";
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-NkmIqE-s.js";
|
|
4
|
+
import { BoardContext, BASE_LAYER_OFFSET } from "./graph-mqujNItp.js";
|
|
5
|
+
import { H as Context } from "./doenetml-KneMbdUl.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 {
|
|
1
|
+
import { z as DocContext, A as textRendererStyle, p as jsxRuntimeExports, B as DynamicMath } from "./doenetml-KneMbdUl.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-DsED_IYR.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-NkmIqE-s.js";
|
|
5
|
+
import { BoardContext, POINT_LAYER_OFFSET } from "./graph-mqujNItp.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-C0KNuiat.js";
|
|
9
|
+
import { ChoiceInputInlineContext } from "./choiceInput-C_4uPa4T.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 {
|
|
1
|
+
import { z as DocContext, p as jsxRuntimeExports } from "./doenetml-KneMbdUl.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-DsED_IYR.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-NkmIqE-s.js";
|
|
5
|
+
import { BoardContext, LINE_LAYER_OFFSET, VERTEX_LAYER_OFFSET } from "./graph-mqujNItp.js";
|
|
6
|
+
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-C0KNuiat.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
12
|
import { d as buildBaseAttributes } from "./buildGraphicalAttributes-0RNcbd2S.js";
|
|
13
|
-
import { g as getPatternFillAttributes } from "./fillPatterns-
|
|
13
|
+
import { g as getPatternFillAttributes } from "./fillPatterns-O5qMvUVb.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;
|