@doenet/doenetml 0.7.22-dev.440 → 0.7.22-dev.444
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-BBNdSfp-.js → AnswerResponseButton-CA4L7a4o.js} +2 -2
- package/{Description-COcIfA5f.js → Description-D1KAri6_.js} +1 -1
- package/{GraphFrame-DHqtCo8b.js → GraphFrame-CS7OdwH1.js} +2 -2
- package/{JSXGraphRenderer-C7sAvDqA.js → JSXGraphRenderer-DgSH6Em-.js} +1 -1
- package/{NonInlineMediaWrapper-B91JDd1i.js → NonInlineMediaWrapper-pXfZgr2C.js} +1 -1
- package/{_error-Crx6I4OR.js → _error-DqP9a_HT.js} +2 -2
- package/{alert-CR-AWuTz.js → alert-8e_2IDwp.js} +3 -3
- package/{angle-D5VIm_dm.js → angle-hABOcGsL.js} +6 -6
- package/{answer-__vFYbiH.js → answer-B8uIWNzu.js} +5 -5
- package/{asList-Dirlog76.js → asList-EWmdB3HX.js} +2 -2
- package/{blockQuote-CH6NpEPk.js → blockQuote-D2lZ537m.js} +3 -3
- package/{boolean-CHkKKfV8.js → boolean-BJ88UXTq.js} +2 -2
- package/{booleanInput-C9vcsKTJ.js → booleanInput-CPa277Yu.js} +6 -6
- package/{br-b1_nReM-.js → br-D7fRW_qy.js} +2 -2
- package/{button-Dyp_k6Aj.js → button-DZxxPNQe.js} +4 -4
- package/{c-BrscNe4_.js → c-C8gZZvyf.js} +3 -3
- package/{cell-BsJo-Jlj.js → cell-Bk-KUza3.js} +3 -3
- package/{choiceInput-Cnf0dbNG.js → choiceInput-DIDA1Ahw.js} +4 -4
- package/{circle-BM31YfGx.js → circle-CnQ9mOXh.js} +6 -6
- package/{cobwebPolyline-_Dq6jLxQ.js → cobwebPolyline-B8IiaY9W.js} +4 -4
- package/{codeEditor-DIHneVxn.js → codeEditor-zQxvJCk1.js} +2 -2
- package/{composites-Bb4XNTFb.js → composites-BqhfAODL.js} +1 -1
- package/{containerBlock-B8rKiQiA.js → containerBlock-Dvm3Qb_I.js} +4 -4
- package/{containerInline-BAsgnrl3.js → containerInline-CflIt3aE.js} +4 -4
- package/{curve-Dy99hHci.js → curve-CRSJTbRI.js} +4 -4
- package/{doenetml-DP8Y1bFO.js → doenetml-DU8CSF9t.js} +851 -84
- package/doenetml-external-worker.js +8 -6
- package/doenetml-inline-worker.js +8 -6
- package/{ellipsis-DVn-wS-T.js → ellipsis-XSX1GAkK.js} +2 -2
- package/{em-ULiJvvM1.js → em-9x8N3DUp.js} +3 -3
- package/{embed-s-S-R-ly.js → embed-BzE32KzP.js} +2 -2
- package/{feedback-DP8YTv93.js → feedback-BZIW6UXv.js} +4 -4
- package/{figure-CnyfbWjn.js → figure-CYk6nlar.js} +3 -3
- package/{fillPatterns-BS-pggZe.js → fillPatterns-XwPsRKRf.js} +1 -1
- package/{footnote-CE11wnw2.js → footnote-BAWVl7p2.js} +3 -3
- package/{fractionInput-CboSWhuF.js → fractionInput-DB8chZT1.js} +4 -4
- package/{graph-CX37qeZQ.js → graph-Dd9xnFyR.js} +6 -6
- package/{hint-Bv537kpg.js → hint-hdGxrF0e.js} +4 -4
- package/{hr-DRqJfD5n.js → hr-ha2F190k.js} +2 -2
- package/{image-Dh2SJ80F.js → image-D_KYhLeW.js} +7 -7
- package/{index-09JuRy2Y.js → index-Baff_z0z.js} +1 -1
- package/index.d.ts +1 -0
- package/index.d.ts.map +1 -1
- package/{index.es-D_U8jarR.js → index.es-B9RSAk-I.js} +1 -1
- package/index.js +7 -5
- package/{label-C0zQv0Hp.js → label-DnImtFvZ.js} +6 -6
- package/{labelWithLatex-CktTerdg.js → labelWithLatex-Cbdx0v5u.js} +1 -1
- package/{legend-CO42FXzh.js → legend-NKA-9Thd.js} +4 -4
- package/{line-75joeWQf.js → line-3vAXaMn-.js} +6 -6
- package/{lineFamilyDragHandlers-CR39EnO0.js → lineFamilyDragHandlers-DKtUHfMO.js} +1 -1
- package/{lineSegment-B61huKwv.js → lineSegment-Dcze5uZI.js} +5 -5
- package/{list-s8Cz69NZ.js → list-FEVMza62.js} +4 -4
- package/{lq-EFTZGtl4.js → lq-CMgSXV5k.js} +2 -2
- package/{lsq-C5K63vuS.js → lsq-BuQq1O_A.js} +2 -2
- package/{markupRenderer-XjwEI-uE.js → markupRenderer-DeIwhNCL.js} +1 -1
- package/{math-BoCLat7g.js → math-LuqDDM2G.js} +6 -6
- package/{mathInput-RNdNgRSu.js → mathInput-D47jp3rC.js} +7 -7
- package/{matrixInput-H-lHJ4Bh.js → matrixInput-DCbKIg-R.js} +4 -4
- package/{mdash-CUuKsGLQ.js → mdash-J_w9GhEA.js} +2 -2
- package/{nbsp-gGIH6Wd5.js → nbsp-BoB3BHKi.js} +2 -2
- package/{ndash-CwVgyeBj.js → ndash-DONJGSnd.js} +2 -2
- package/{number-DAnoeWAB.js → number-DaWXPdfu.js} +6 -6
- package/{orbitalDiagram-Ce1qNgHU.js → orbitalDiagram-Crcn8htf.js} +2 -2
- package/{orbitalDiagramInput-CKPXw0JH.js → orbitalDiagramInput-BQso-GVB.js} +2 -2
- package/{p-DU01XSsJ.js → p-MkdaxhSf.js} +4 -4
- package/package.json +1 -1
- package/{paginatorControls-D0BIaIqJ.js → paginatorControls-C_bi74a3.js} +2 -2
- package/{pegboard-rpoLgDgs.js → pegboard-BJ47uXpn.js} +4 -4
- package/{point-yLJ-kjTi.js → point-BXhho0XD.js} +6 -6
- package/{polygon-CV3zXoF6.js → polygon-BCnc2O1Y.js} +6 -6
- package/{polyline-CLxgKKmz.js → polyline-BJ-jby7W.js} +5 -5
- package/{pre-CVMb7kW4.js → pre-C_ynD7Go.js} +3 -3
- package/{prefigure-Bs2AkKZ1.js → prefigure-D1Y1NTPp.js} +1 -1
- package/{pretzel-DUeLV-Ue.js → pretzel-3Qy8iB8r.js} +4 -4
- package/{q-B1CCAo-K.js → q-HHmebLeo.js} +3 -3
- package/{ray-Bf9uob8_.js → ray-Blji26hY.js} +5 -5
- package/{ref-DqvJpRMq.js → ref-U7l2AKl3.js} +2 -2
- package/{regionBetweenCurveXAxis-B86uSY1W.js → regionBetweenCurveXAxis-DLueRGMS.js} +5 -5
- package/{regionBetweenCurves-BtLUkzR1.js → regionBetweenCurves-CF0OoExY.js} +5 -5
- package/{row-BNHM4kUH.js → row-C78hgRf9.js} +2 -2
- package/{rq-DB-pDggY.js → rq-CWgDM0my.js} +2 -2
- package/{rsq-CrRNEDvD.js → rsq-C8LvpbTJ.js} +2 -2
- package/{section-BsNAiTLC.js → section-BVTMDSAz.js} +5 -5
- package/{sha256-Bzrm4-tO-SfFa0x2D.js → sha256-Bzrm4-tO-9Sy5jYSe.js} +1 -1
- package/{sideBySide-BR8MjVrK.js → sideBySide-C52S3klc.js} +2 -2
- package/{slider-BcvR0SVF.js → slider-BU6EQDAy.js} +3 -3
- package/{solution-VDiFkWie.js → solution-B0FNjgTa.js} +4 -4
- package/{spreadsheet-wEz7Ti-7.js → spreadsheet-FoDM8G33.js} +2 -2
- package/{sq-DdzIAtqI.js → sq-eZJFFGI1.js} +3 -3
- package/{subsetOfRealsInput-DHUITGR_.js → subsetOfRealsInput-DkFVlpvM.js} +2 -2
- package/{summaryStatistics-Scz9vYo3.js → summaryStatistics-DG6OFwCQ.js} +2 -2
- package/{table-_E-o0UEe.js → table-b-LADdAl.js} +2 -2
- package/{tabular-YNEYZmlX.js → tabular-Do7Z6U-h.js} +2 -2
- package/{tag-Cl2mYqWk.js → tag-sPNfs6uN.js} +2 -2
- package/{text-Cg_09aUm.js → text-C6SFazdX.js} +6 -6
- package/{textInput-CZkpoxjp.js → textInput-BnNwjIYA.js} +6 -6
- package/{tooltip-provider-BsBcSwXs.js → tooltip-provider-ZuMfKaSc.js} +1 -1
- package/{useAnchoredGraphDragHandler-DNVsJGkt.js → useAnchoredGraphDragHandler-CjoaIjvc.js} +1 -1
- package/useDoenetRenderer-CUd4biwl.js +114 -0
- package/{useSubmitActionWithDelay-DoE4sjeF.js → useSubmitActionWithDelay-CFbFE5uC.js} +2 -2
- package/{vector-BcEBo2Ze.js → vector-CFc8rMbI.js} +6 -6
- package/{video-BmfS7sZB.js → video-vS8MNaYa.js} +4 -4
- package/useDoenetRenderer-Bvv_cwEa.js +0 -114
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { p as jsxRuntimeExports } from "./doenetml-DU8CSF9t.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CUd4biwl.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-DU8CSF9t.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-CUd4biwl.js";
|
|
4
|
+
import { r as renderMarkupBody } from "./markupRenderer-DeIwhNCL.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-DU8CSF9t.js";
|
|
2
2
|
import React__default, { useRef, useEffect } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CUd4biwl.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-DU8CSF9t.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-CUd4biwl.js";
|
|
4
|
+
import { F as FontAwesomeIcon } from "./index.es-B9RSAk-I.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-BqhfAODL.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-DU8CSF9t.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-CUd4biwl.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-Baff_z0z.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-DU8CSF9t.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-DU8CSF9t.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-CUd4biwl.js";
|
|
4
|
+
import { T as TooltipProvider, a as TooltipAnchor, b as Tooltip } from "./tooltip-provider-ZuMfKaSc.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-DU8CSF9t.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CUd4biwl.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-CFbFE5uC.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-D1KAri6_.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-DU8CSF9t.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-CUd4biwl.js";
|
|
4
|
+
import Prefigure from "./prefigure-D1Y1NTPp.js";
|
|
5
|
+
import { a as accessibleLabelText, r as renderLabelWithLatex } from "./labelWithLatex-Cbdx0v5u.js";
|
|
6
|
+
import GraphFrame from "./GraphFrame-CS7OdwH1.js";
|
|
7
|
+
import { J as JSXGraphRenderer } from "./JSXGraphRenderer-DgSH6Em-.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-DU8CSF9t.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-CUd4biwl.js";
|
|
4
|
+
import { F as FontAwesomeIcon } from "./index.es-B9RSAk-I.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-BqhfAODL.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-DU8CSF9t.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CUd4biwl.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-DU8CSF9t.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-DgSH6Em-.js";
|
|
4
|
+
import { BoardContext, IMAGE_LAYER_OFFSET } from "./graph-Dd9xnFyR.js";
|
|
5
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CUd4biwl.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-D1KAri6_.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-pXfZgr2C.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-CjoaIjvc.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-DU8CSF9t.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-DU8CSF9t.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-DgSH6Em-.js";
|
|
4
|
+
import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-Dd9xnFyR.js";
|
|
5
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CUd4biwl.js";
|
|
6
6
|
import { g as getPositionFromAnchorByCoordinate } from "./graph-W6vrFcBu.js";
|
|
7
|
-
import { ChoiceInputInlineContext } from "./choiceInput-
|
|
7
|
+
import { ChoiceInputInlineContext } from "./choiceInput-DIDA1Ahw.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-CjoaIjvc.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-DU8CSF9t.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-DgSH6Em-.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CUd4biwl.js";
|
|
5
|
+
import { BoardContext } from "./graph-Dd9xnFyR.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-DU8CSF9t.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-DgSH6Em-.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CUd4biwl.js";
|
|
5
|
+
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-Dd9xnFyR.js";
|
|
6
|
+
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-DKtUHfMO.js";
|
|
7
|
+
import { ChoiceInputInlineContext } from "./choiceInput-DIDA1Ahw.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-DU8CSF9t.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-DU8CSF9t.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-DgSH6Em-.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CUd4biwl.js";
|
|
5
|
+
import { BoardContext, VERTEX_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-Dd9xnFyR.js";
|
|
6
|
+
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-DKtUHfMO.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-DU8CSF9t.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-CUd4biwl.js";
|
|
4
|
+
import { a as addCommasForCompositeRanges } from "./composites-BqhfAODL.js";
|
|
5
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-CFbFE5uC.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-DU8CSF9t.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CUd4biwl.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-DU8CSF9t.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CUd4biwl.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-DU8CSF9t.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-DgSH6Em-.js";
|
|
4
|
+
import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-Dd9xnFyR.js";
|
|
5
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CUd4biwl.js";
|
|
6
6
|
import { g as getPositionFromAnchorByCoordinate } from "./graph-W6vrFcBu.js";
|
|
7
|
-
import { ChoiceInputInlineContext } from "./choiceInput-
|
|
7
|
+
import { ChoiceInputInlineContext } from "./choiceInput-DIDA1Ahw.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-CjoaIjvc.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-DU8CSF9t.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-DgSH6Em-.js";
|
|
5
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CUd4biwl.js";
|
|
6
|
+
import { P as PropTypes } from "./index-Baff_z0z.js";
|
|
7
|
+
import { D as DescriptionPopover, P as PopoverArrow } from "./Description-D1KAri6_.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-CFbFE5uC.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-Dd9xnFyR.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-DU8CSF9t.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CUd4biwl.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-CFbFE5uC.js";
|
|
6
|
+
import { D as DescriptionPopover } from "./Description-D1KAri6_.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-DU8CSF9t.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CUd4biwl.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-DU8CSF9t.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CUd4biwl.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-DU8CSF9t.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CUd4biwl.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-DU8CSF9t.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-DgSH6Em-.js";
|
|
4
|
+
import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-Dd9xnFyR.js";
|
|
5
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CUd4biwl.js";
|
|
6
6
|
import { g as getPositionFromAnchorByCoordinate } from "./graph-W6vrFcBu.js";
|
|
7
|
-
import { ChoiceInputInlineContext } from "./choiceInput-
|
|
7
|
+
import { ChoiceInputInlineContext } from "./choiceInput-DIDA1Ahw.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-CjoaIjvc.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-DU8CSF9t.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CUd4biwl.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-DU8CSF9t.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CUd4biwl.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-DU8CSF9t.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-CUd4biwl.js";
|
|
4
|
+
import { a as addCommasForCompositeRanges } from "./composites-BqhfAODL.js";
|
|
5
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-CFbFE5uC.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.22-dev.
|
|
5
|
+
"version": "0.7.22-dev.444",
|
|
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-DU8CSF9t.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CUd4biwl.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-DgSH6Em-.js";
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CUd4biwl.js";
|
|
4
|
+
import { BoardContext, BASE_LAYER_OFFSET } from "./graph-Dd9xnFyR.js";
|
|
5
|
+
import { H as Context } from "./doenetml-DU8CSF9t.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-DU8CSF9t.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-DgSH6Em-.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CUd4biwl.js";
|
|
5
|
+
import { BoardContext, POINT_LAYER_OFFSET } from "./graph-Dd9xnFyR.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-DKtUHfMO.js";
|
|
9
|
+
import { ChoiceInputInlineContext } from "./choiceInput-DIDA1Ahw.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-DU8CSF9t.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-DgSH6Em-.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-CUd4biwl.js";
|
|
5
|
+
import { BoardContext, LINE_LAYER_OFFSET, VERTEX_LAYER_OFFSET } from "./graph-Dd9xnFyR.js";
|
|
6
|
+
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-DKtUHfMO.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-XwPsRKRf.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;
|