@doenet/doenetml 0.7.0-alpha14 → 0.7.0-alpha15
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/Viewer/renderers/mathInput.d.ts.map +1 -1
- package/{_error-BCAowUgO.js → _error-BUCX4xIl.js} +1 -1
- package/{alert-ev_eZHrg.js → alert-LiNG7udV.js} +2 -2
- package/{angle-dqW50zKP.js → angle-D7LBZKTf.js} +2 -2
- package/{answer-CXmS7Fxg.js → answer-BmAZs7Xk.js} +1 -1
- package/{asList-BAKtINX-.js → asList-BtNcId2Y.js} +1 -1
- package/{blockQuote-Cvoqeqmb.js → blockQuote-DRSP4PJF.js} +2 -2
- package/{boolean-D_7nNhvG.js → boolean-rHngQw__.js} +1 -1
- package/{booleanInput-Cxzz5GdJ.js → booleanInput-CD7pzVGI.js} +2 -2
- package/{button-3g38JTXH.js → button-B_zkkeMB.js} +2 -2
- package/{c-CsGve4C2.js → c-9RkbCQbz.js} +2 -2
- package/{cell-CjrMmb6l.js → cell-CaNwunq_.js} +2 -2
- package/{chart-D5mI762i.js → chart-B5YUB_4K.js} +1 -1
- package/{choiceInput-Do1Lyb4Y.js → choiceInput-DGUft-K_.js} +1 -1
- package/{circle-C1Xa89FP.js → circle-DykBtM5x.js} +2 -2
- package/{cobwebPolyline-ifbvR7DZ.js → cobwebPolyline-CIbRbXmc.js} +2 -2
- package/{codeEditor-Ct-cWk-U.js → codeEditor-Dws5hmky.js} +1 -1
- package/{codeViewer-BdSRy2Ys.js → codeViewer-CcGGmCQv.js} +1 -1
- package/{composites-BYriBbOz.js → composites-BWEO6WxF.js} +1 -1
- package/{containerBlock-BcuCCEpP.js → containerBlock-Cw5VdAPR.js} +2 -2
- package/{containerInline-D_JP7Nyx.js → containerInline-BxwFSGYC.js} +2 -2
- package/{contentBrowser-7CPoYNUS.js → contentBrowser-57q8gAdD.js} +2 -2
- package/{contentPicker-C28FhT-I.js → contentPicker-DdFPzjIa.js} +2 -2
- package/{curve-DMrJaUmL.js → curve-DJ1dCT1Y.js} +2 -2
- package/{doenetml--qXLwv9N.js → doenetml-CXPKciJB.js} +46 -27
- package/doenetml-inline-worker.js +2 -2
- package/doenetml.d.ts +4 -2
- package/doenetml.d.ts.map +1 -1
- package/{ellipsis-CPFOY18v.js → ellipsis-CBIxYp1B.js} +1 -1
- package/{em-CW5xJo1u.js → em-l19FRswh.js} +2 -2
- package/{embed-DSVCv0NE.js → embed-Dzn6OD3b.js} +1 -1
- package/{feedback-DwIs9_LX.js → feedback-jaAGR6nT.js} +2 -2
- package/{figure-DE3YOfcA.js → figure-BPbIFQxa.js} +1 -1
- package/{footnote-C03SGIF-.js → footnote-DSywNsdI.js} +1 -1
- package/{graph-Cs3vjKNg.js → graph-BmfTY8n4.js} +1 -1
- package/{hint-Bv33rGO3.js → hint-BF03rq5X.js} +2 -2
- package/{image--kppbnWH.js → image-GxBZ1nZq.js} +2 -2
- package/index.js +1 -1
- package/{label-BbG6bzIW.js → label-C0VH9lRi.js} +2 -2
- package/{legend-Dh13eHLZ.js → legend-F3AT4YsA.js} +2 -2
- package/{line-CRAFbKhl.js → line-Ct2HYP0x.js} +2 -2
- package/{lineSegment-Cdkbx33a.js → lineSegment-gZJSc6Hz.js} +2 -2
- package/{list-DNZ4B5Pr.js → list-BrjCqv3u.js} +2 -2
- package/{lq-CMseLFV-.js → lq-D2FfUhEX.js} +1 -1
- package/{lsq-CJ_HoNmS.js → lsq-YvLhbgzX.js} +1 -1
- package/{math-BqiM3zOO.js → math-Dt8xX395.js} +2 -2
- package/{mathInput-BqjixuKP.js → mathInput-CMt04AV_.js} +13 -3
- package/{mathList-XyspjN_T.js → mathList-DQFKVZEZ.js} +1 -1
- package/{matrixInput-4Z1mwfgz.js → matrixInput-Bfa9_rFc.js} +1 -1
- package/{mdash-B4cbu5Xy.js → mdash-DMm709Dh.js} +1 -1
- package/{nbsp-PxlUASRz.js → nbsp-Dz0FF10J.js} +1 -1
- package/{ndash-DvSIf6r0.js → ndash-C91rkd-j.js} +1 -1
- package/{number-nAhLr1Bz.js → number-BnxbunHV.js} +2 -2
- package/{numberList-ZA6aI-Mi.js → numberList-BxHGJxBk.js} +1 -1
- package/{orbitalDiagram-D6_C-vs1.js → orbitalDiagram-2uC6M2bc.js} +1 -1
- package/{orbitalDiagramInput-BV_rwJ2W.js → orbitalDiagramInput-CsRmCKOo.js} +1 -1
- package/{p-Cn0-7hhi.js → p-CM3RBKnN.js} +2 -2
- package/package.json +1 -1
- package/{paginatorControls-CgFLIrai.js → paginatorControls-cs006E6E.js} +1 -1
- package/{pegboard-CNQQZOJz.js → pegboard-DQb1XwjY.js} +2 -2
- package/{point-CIHylWTA.js → point-9KXFlmsC.js} +2 -2
- package/{polygon-08ahXbId.js → polygon-xE-OoC7n.js} +2 -2
- package/{polyline-DwilnKG8.js → polyline-BpkjVEIC.js} +2 -2
- package/{pre-DFGm3Rx2.js → pre-DTqNKr_o.js} +2 -2
- package/{q-OSWtQWmG.js → q-CbHMNqq0.js} +2 -2
- package/{ray-DcvxJBYS.js → ray-q1Lt4YjH.js} +2 -2
- package/{ref-KsjHWb04.js → ref-k7JHC2R5.js} +1 -1
- package/{regionBetweenCurveXAxis-BC4F4bB8.js → regionBetweenCurveXAxis-UqNbw7xr.js} +2 -2
- package/{regionBetweenCurves-BULkISWU.js → regionBetweenCurves-BdGHPSLu.js} +2 -2
- package/{row-BRlWnpOZ.js → row-DEQO4AP3.js} +1 -1
- package/{rq-C-5CNqFm.js → rq-DBF6IlMF.js} +1 -1
- package/{rsq-B0pli4Cn.js → rsq-xTeWaD2q.js} +1 -1
- package/{section-OFAWcWxL.js → section-DwCTN1_w.js} +2 -2
- package/{sideBySide-DpwMd9gt.js → sideBySide-BfXudRW7.js} +1 -1
- package/{slider-D_PzZtIy.js → slider-Csm6YrNA.js} +1 -1
- package/{solution-D9YHppLR.js → solution-DzY8i66U.js} +2 -2
- package/{spreadsheet-0ldFyV0S.js → spreadsheet-CspuDACA.js} +4 -4
- package/{sq-DgLxT-yU.js → sq-Bf88-CsN.js} +2 -2
- package/{subsetOfRealsInput-BcEI76rf.js → subsetOfRealsInput-DPF7Xljn.js} +1 -1
- package/{summaryStatistics-DRkxl47D.js → summaryStatistics-Brp0Gb6V.js} +1 -1
- package/{table-CmHuGZrC.js → table-BLOhaU7J.js} +1 -1
- package/{tabular-CG32JU4H.js → tabular-D-Pt7Iiy.js} +1 -1
- package/{tag-Oj00Q3Oq.js → tag-1wVMH1f2.js} +1 -1
- package/{text-Cl3muBXX.js → text-CsJdlHSL.js} +2 -2
- package/{textInput-BcbYr3mc.js → textInput-Br_ynieV.js} +2 -2
- package/{textList-DiuSdF8g.js → textList-B4hPs2mu.js} +1 -1
- package/{vector-xhDVkovw.js → vector-z5jjQWYM.js} +2 -2
- package/{video-6G-ZLD-U.js → video-Drv6L0Pa.js} +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mathInput.d.ts","sourceRoot":"","sources":["../../../src/Viewer/renderers/mathInput.jsx"],"names":[],"mappings":"AA+CA,
|
|
1
|
+
{"version":3,"file":"mathInput.d.ts","sourceRoot":"","sources":["../../../src/Viewer/renderers/mathInput.jsx"],"names":[],"mappings":"AA+CA,wEA2YC;kBA1b8D,OAAO"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { u as useDoenetRenderer, j as jsxRuntimeExports } from "./doenetml
|
|
1
|
+
import { u as useDoenetRenderer, j as jsxRuntimeExports } from "./doenetml-CXPKciJB.js";
|
|
2
2
|
import React__default from "react";
|
|
3
3
|
const _error = React__default.memo(function Error(props) {
|
|
4
4
|
let { id, SVs, children } = useDoenetRenderer(props);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { u as useDoenetRenderer, j as jsxRuntimeExports } from "./doenetml
|
|
1
|
+
import { u as useDoenetRenderer, j as jsxRuntimeExports } from "./doenetml-CXPKciJB.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { a as addCommasForCompositeRanges } from "./composites-
|
|
3
|
+
import { a as addCommasForCompositeRanges } from "./composites-BWEO6WxF.js";
|
|
4
4
|
const alert = React__default.memo(function Alert(props) {
|
|
5
5
|
let { name, id, SVs, children } = useDoenetRenderer(props);
|
|
6
6
|
if (SVs.hidden) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { u as useDoenetRenderer, j as jsxRuntimeExports, M as MathJax } from "./doenetml
|
|
1
|
+
import { u as useDoenetRenderer, j as jsxRuntimeExports, M as MathJax } from "./doenetml-CXPKciJB.js";
|
|
2
2
|
import React__default, { useContext, useRef, useEffect } from "react";
|
|
3
|
-
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-
|
|
3
|
+
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-BmfTY8n4.js";
|
|
4
4
|
const angle = React__default.memo(function Angle(props) {
|
|
5
5
|
let { name, id, SVs } = useDoenetRenderer(props);
|
|
6
6
|
const board = useContext(BoardContext);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { u as useDoenetRenderer, P as PageContext, j as jsxRuntimeExports, F as FontAwesomeIcon, h as faLevelDownAlt, i as faCheck, k as faTimes, l as faCloud } from "./doenetml
|
|
1
|
+
import { u as useDoenetRenderer, P as PageContext, j as jsxRuntimeExports, F as FontAwesomeIcon, h as faLevelDownAlt, i as faCheck, k as faTimes, l as faCloud } from "./doenetml-CXPKciJB.js";
|
|
2
2
|
import React__default, { useContext } from "react";
|
|
3
3
|
import styled from "styled-components";
|
|
4
4
|
const Button = styled.button`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { u as useDoenetRenderer, j as jsxRuntimeExports } from "./doenetml
|
|
1
|
+
import { u as useDoenetRenderer, j as jsxRuntimeExports } from "./doenetml-CXPKciJB.js";
|
|
2
2
|
import React__default from "react";
|
|
3
3
|
const asList = React__default.memo(function AsList(props) {
|
|
4
4
|
let { name, id, SVs, children } = useDoenetRenderer(props);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { u as useDoenetRenderer, j as jsxRuntimeExports, V as VisibilitySensor } from "./doenetml
|
|
1
|
+
import { u as useDoenetRenderer, j as jsxRuntimeExports, V as VisibilitySensor } from "./doenetml-CXPKciJB.js";
|
|
2
2
|
import React__default, { useEffect } from "react";
|
|
3
|
-
import { a as addCommasForCompositeRanges } from "./composites-
|
|
3
|
+
import { a as addCommasForCompositeRanges } from "./composites-BWEO6WxF.js";
|
|
4
4
|
const blockQuote = React__default.memo(function Container(props) {
|
|
5
5
|
let { name, id, SVs, children, actions, callAction } = useDoenetRenderer(props);
|
|
6
6
|
let onChangeVisibility = (isVisible) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { u as useDoenetRenderer, j as jsxRuntimeExports } from "./doenetml
|
|
1
|
+
import { u as useDoenetRenderer, j as jsxRuntimeExports } from "./doenetml-CXPKciJB.js";
|
|
2
2
|
import React__default from "react";
|
|
3
3
|
const boolean = React__default.memo(function Boolean(props) {
|
|
4
4
|
let { name, id, SVs } = useDoenetRenderer(props, false);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { u as useDoenetRenderer, x as Recoil_index_24, y as rendererState, P as PageContext, n as Context, j as jsxRuntimeExports, F as FontAwesomeIcon, h as faLevelDownAlt, i as faCheck, k as faTimes, l as faCloud, S as ToggleButton, M as MathJax } from "./doenetml
|
|
1
|
+
import { u as useDoenetRenderer, x as Recoil_index_24, y as rendererState, P as PageContext, n as Context, j as jsxRuntimeExports, F as FontAwesomeIcon, h as faLevelDownAlt, i as faCheck, k as faTimes, l as faCloud, S as ToggleButton, M as MathJax } from "./doenetml-CXPKciJB.js";
|
|
2
2
|
import React__default, { useState, useRef, useContext, useEffect } from "react";
|
|
3
3
|
import styled from "styled-components";
|
|
4
|
-
import { BoardContext } from "./graph-
|
|
4
|
+
import { BoardContext } from "./graph-BmfTY8n4.js";
|
|
5
5
|
import { g as getPositionFromAnchorByCoordinate } from "./graph-DhkJvcM2.js";
|
|
6
6
|
const Button = styled.button`
|
|
7
7
|
position: relative;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { u as useDoenetRenderer, n as Context, j as jsxRuntimeExports, B as Button$1 } from "./doenetml
|
|
1
|
+
import { u as useDoenetRenderer, n as Context, j as jsxRuntimeExports, B as Button$1 } from "./doenetml-CXPKciJB.js";
|
|
2
2
|
import React__default, { useRef, useContext, useEffect } from "react";
|
|
3
|
-
import { BoardContext } from "./graph-
|
|
3
|
+
import { BoardContext } from "./graph-BmfTY8n4.js";
|
|
4
4
|
import { g as getPositionFromAnchorByCoordinate } from "./graph-DhkJvcM2.js";
|
|
5
5
|
const button = React__default.memo(function ButtonComponent(props) {
|
|
6
6
|
let { name, id, SVs, actions, callAction } = useDoenetRenderer(
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { u as useDoenetRenderer, j as jsxRuntimeExports } from "./doenetml
|
|
1
|
+
import { u as useDoenetRenderer, j as jsxRuntimeExports } from "./doenetml-CXPKciJB.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { a as addCommasForCompositeRanges } from "./composites-
|
|
3
|
+
import { a as addCommasForCompositeRanges } from "./composites-BWEO6WxF.js";
|
|
4
4
|
const c = React__default.memo(function C(props) {
|
|
5
5
|
let { name, id, SVs, children } = useDoenetRenderer(props);
|
|
6
6
|
if (SVs.hidden) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { u as useDoenetRenderer, j as jsxRuntimeExports } from "./doenetml
|
|
1
|
+
import { u as useDoenetRenderer, j as jsxRuntimeExports } from "./doenetml-CXPKciJB.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { a as addCommasForCompositeRanges } from "./composites-
|
|
3
|
+
import { a as addCommasForCompositeRanges } from "./composites-BWEO6WxF.js";
|
|
4
4
|
const cell = React__default.memo(function Cell(props) {
|
|
5
5
|
let { name, id, SVs, children } = useDoenetRenderer(props);
|
|
6
6
|
if (SVs.hidden) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { u as useDoenetRenderer, j as jsxRuntimeExports, V as VisibilitySensor } from "./doenetml
|
|
1
|
+
import { u as useDoenetRenderer, j as jsxRuntimeExports, V as VisibilitySensor } from "./doenetml-CXPKciJB.js";
|
|
2
2
|
import React__default, { useEffect, createContext } from "react";
|
|
3
3
|
const BoardContext = createContext();
|
|
4
4
|
const chart = React__default.memo(function Chart(props) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { u as useDoenetRenderer, x as Recoil_index_24, y as rendererState, P as PageContext, j as jsxRuntimeExports, F as FontAwesomeIcon, h as faLevelDownAlt, i as faCheck, k as faTimes, l as faCloud, M as MathJax } from "./doenetml
|
|
1
|
+
import { u as useDoenetRenderer, x as Recoil_index_24, y as rendererState, P as PageContext, j as jsxRuntimeExports, F as FontAwesomeIcon, h as faLevelDownAlt, i as faCheck, k as faTimes, l as faCloud, M as MathJax } from "./doenetml-CXPKciJB.js";
|
|
2
2
|
import React__default, { useState, useRef, useContext } from "react";
|
|
3
3
|
import styled from "styled-components";
|
|
4
4
|
const Button = styled.button`
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { u as useDoenetRenderer, P as PageContext, j as jsxRuntimeExports } from "./doenetml
|
|
1
|
+
import { u as useDoenetRenderer, P as PageContext, j as jsxRuntimeExports } from "./doenetml-CXPKciJB.js";
|
|
2
2
|
import React__default, { useContext, useRef, useEffect } from "react";
|
|
3
|
-
import { BoardContext, LINE_LAYER_OFFSET, POINT_LAYER_OFFSET } from "./graph-
|
|
3
|
+
import { BoardContext, LINE_LAYER_OFFSET, POINT_LAYER_OFFSET } from "./graph-BmfTY8n4.js";
|
|
4
4
|
import { c as characterizeOffGraphPoint, a as characterizeOffGraphCircleArc } from "./offGraphIndicators-4rjyYdQV.js";
|
|
5
5
|
import { a as getEffectiveBoundingBox, b as getGraphCornerWithBuffer, n as normalizePointStyle, c as normalizePointSize, d as adjustPointLabelPosition, e as calculatePointLabelAnchor } from "./graph-DhkJvcM2.js";
|
|
6
6
|
const circle = React__default.memo(function Circle(props) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { u as useDoenetRenderer, o as createFunctionFromDefinition, j as jsxRuntimeExports } from "./doenetml
|
|
1
|
+
import { u as useDoenetRenderer, o as createFunctionFromDefinition, j as jsxRuntimeExports } from "./doenetml-CXPKciJB.js";
|
|
2
2
|
import React__default, { useContext, useRef, useEffect } from "react";
|
|
3
|
-
import { BoardContext, LINE_LAYER_OFFSET, VERTEX_LAYER_OFFSET } from "./graph-
|
|
3
|
+
import { BoardContext, LINE_LAYER_OFFSET, VERTEX_LAYER_OFFSET } from "./graph-BmfTY8n4.js";
|
|
4
4
|
const cobwebPolyline = React__default.memo(function CobwebPolyline(props) {
|
|
5
5
|
let { name, id, SVs, actions, sourceOfUpdate, callAction } = useDoenetRenderer(props);
|
|
6
6
|
CobwebPolyline.ignoreActionsWithoutCore = () => true;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { u as useDoenetRenderer, x as Recoil_index_24, y as rendererState, j as jsxRuntimeExports, X as EditorViewer } from "./doenetml
|
|
1
|
+
import { u as useDoenetRenderer, x as Recoil_index_24, y as rendererState, j as jsxRuntimeExports, X as EditorViewer } from "./doenetml-CXPKciJB.js";
|
|
2
2
|
import React__default, { useState, useEffect, useRef } from "react";
|
|
3
3
|
import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
|
|
4
4
|
function resolveElements(elements, scope, selectorCache) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { u as useDoenetRenderer, j as jsxRuntimeExports, H as HStack, q as Box, T as Tooltip, t as Button, R as RxUpdate, W as WarningTwoIcon, v as VariantSelect, D as DoenetViewer, V as VisibilitySensor } from "./doenetml
|
|
1
|
+
import { u as useDoenetRenderer, j as jsxRuntimeExports, H as HStack, q as Box, T as Tooltip, t as Button, R as RxUpdate, W as WarningTwoIcon, v as VariantSelect, D as DoenetViewer, V as VisibilitySensor } from "./doenetml-CXPKciJB.js";
|
|
2
2
|
import React__default, { useState, useEffect } from "react";
|
|
3
3
|
import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
|
|
4
4
|
const codeViewer = React__default.memo(function CodeViewer(props) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { u as useDoenetRenderer, j as jsxRuntimeExports, V as VisibilitySensor } from "./doenetml
|
|
1
|
+
import { u as useDoenetRenderer, j as jsxRuntimeExports, V as VisibilitySensor } from "./doenetml-CXPKciJB.js";
|
|
2
2
|
import React__default, { useEffect } from "react";
|
|
3
|
-
import { a as addCommasForCompositeRanges } from "./composites-
|
|
3
|
+
import { a as addCommasForCompositeRanges } from "./composites-BWEO6WxF.js";
|
|
4
4
|
const containerBlock = React__default.memo(function Container(props) {
|
|
5
5
|
let { name, id, SVs, children, actions, callAction } = useDoenetRenderer(props);
|
|
6
6
|
let onChangeVisibility = (isVisible) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { u as useDoenetRenderer, j as jsxRuntimeExports } from "./doenetml
|
|
1
|
+
import { u as useDoenetRenderer, j as jsxRuntimeExports } from "./doenetml-CXPKciJB.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { a as addCommasForCompositeRanges } from "./composites-
|
|
3
|
+
import { a as addCommasForCompositeRanges } from "./composites-BWEO6WxF.js";
|
|
4
4
|
const containerInline = React__default.memo(function ContainerInline(props) {
|
|
5
5
|
let { name, id, SVs, children } = useDoenetRenderer(props);
|
|
6
6
|
if (SVs.hidden) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { u as useDoenetRenderer, P as PageContext, j as jsxRuntimeExports, w as cesc, V as VisibilitySensor } from "./doenetml
|
|
1
|
+
import { u as useDoenetRenderer, P as PageContext, j as jsxRuntimeExports, w as cesc, V as VisibilitySensor } from "./doenetml-CXPKciJB.js";
|
|
2
2
|
import React__default, { useContext, useEffect } from "react";
|
|
3
|
-
import { a as addCommasForCompositeRanges } from "./composites-
|
|
3
|
+
import { a as addCommasForCompositeRanges } from "./composites-BWEO6WxF.js";
|
|
4
4
|
const contentBrowser = React__default.memo(function ContentBrowser(props) {
|
|
5
5
|
let { name, id, SVs, children, actions, callAction } = useDoenetRenderer(props);
|
|
6
6
|
let { location = {} } = useContext(PageContext) || {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { u as useDoenetRenderer, x as Recoil_index_24, y as rendererState, j as jsxRuntimeExports, V as VisibilitySensor } from "./doenetml
|
|
1
|
+
import { u as useDoenetRenderer, x as Recoil_index_24, y as rendererState, j as jsxRuntimeExports, V as VisibilitySensor } from "./doenetml-CXPKciJB.js";
|
|
2
2
|
import React__default, { useState, useRef, useEffect } from "react";
|
|
3
|
-
import { a as addCommasForCompositeRanges } from "./composites-
|
|
3
|
+
import { a as addCommasForCompositeRanges } from "./composites-BWEO6WxF.js";
|
|
4
4
|
const contentPicker = React__default.memo(function ContentPicker(props) {
|
|
5
5
|
let {
|
|
6
6
|
name,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { u as useDoenetRenderer, P as PageContext, o as createFunctionFromDefinition, j as jsxRuntimeExports } from "./doenetml
|
|
1
|
+
import { u as useDoenetRenderer, P as PageContext, o as createFunctionFromDefinition, j as jsxRuntimeExports } from "./doenetml-CXPKciJB.js";
|
|
2
2
|
import React__default, { useContext, useRef, useEffect } from "react";
|
|
3
|
-
import { BoardContext, LINE_LAYER_OFFSET, VERTEX_LAYER_OFFSET, CONTROL_POINT_LAYER_OFFSET } from "./graph-
|
|
3
|
+
import { BoardContext, LINE_LAYER_OFFSET, VERTEX_LAYER_OFFSET, CONTROL_POINT_LAYER_OFFSET } from "./graph-BmfTY8n4.js";
|
|
4
4
|
const curve = React__default.memo(function Curve(props) {
|
|
5
5
|
let { name, id, SVs, actions, sourceOfUpdate, callAction } = useDoenetRenderer(props);
|
|
6
6
|
Curve.ignoreActionsWithoutCore = () => true;
|
|
@@ -3,7 +3,7 @@ var __defNormalProp2 = (obj, key, value) => key in obj ? __defProp3(obj, key, {
|
|
|
3
3
|
var __publicField2 = (obj, key, value) => __defNormalProp2(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4
4
|
import * as React from "react";
|
|
5
5
|
import React__default, { useState as useState$3, useEffect as useEffect$5, createContext as createContext$2, useRef as useRef$6, useCallback as useCallback$5, useContext as useContext$1, useLayoutEffect, useMemo as useMemo$4, isValidElement as isValidElement$1, forwardRef as forwardRef$1, useReducer, useInsertionEffect as useInsertionEffect$1, Fragment, createElement as createElement$2, useId as useId$1, Component, cloneElement, Children, memo as memo$1, useSyncExternalStore as useSyncExternalStore$2, useImperativeHandle } from "react";
|
|
6
|
-
import
|
|
6
|
+
import ReactDOM, { createPortal } from "react-dom";
|
|
7
7
|
import styled$1, { ThemeProvider as ThemeProvider$2 } from "styled-components";
|
|
8
8
|
var commonjsGlobal$3 = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
|
|
9
9
|
function getDefaultExportFromCjs$5(x2) {
|
|
@@ -33362,7 +33362,7 @@ var Recoil_Retention = {
|
|
|
33362
33362
|
};
|
|
33363
33363
|
const {
|
|
33364
33364
|
unstable_batchedUpdates
|
|
33365
|
-
} =
|
|
33365
|
+
} = ReactDOM;
|
|
33366
33366
|
var ReactBatchedUpdates = {
|
|
33367
33367
|
unstable_batchedUpdates
|
|
33368
33368
|
};
|
|
@@ -37114,7 +37114,7 @@ function useDoenetRenderer(props, initializeChildrenOnConstruction = true) {
|
|
|
37114
37114
|
setRenderersToLoad((old) => {
|
|
37115
37115
|
let rendererPromises = { ...old };
|
|
37116
37116
|
if (!(childInstructions.rendererType in rendererPromises)) {
|
|
37117
|
-
rendererPromises[childInstructions.rendererType] = __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "./renderers/_error.jsx": () => import("./_error-
|
|
37117
|
+
rendererPromises[childInstructions.rendererType] = __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "./renderers/_error.jsx": () => import("./_error-BUCX4xIl.js"), "./renderers/alert.jsx": () => import("./alert-LiNG7udV.js"), "./renderers/angle.jsx": () => import("./angle-D7LBZKTf.js"), "./renderers/answer.jsx": () => import("./answer-BmAZs7Xk.js"), "./renderers/asList.jsx": () => import("./asList-BtNcId2Y.js"), "./renderers/blockQuote.jsx": () => import("./blockQuote-DRSP4PJF.js"), "./renderers/boolean.jsx": () => import("./boolean-rHngQw__.js"), "./renderers/booleanInput.jsx": () => import("./booleanInput-CD7pzVGI.js"), "./renderers/button.jsx": () => import("./button-B_zkkeMB.js"), "./renderers/c.jsx": () => import("./c-9RkbCQbz.js"), "./renderers/cell.jsx": () => import("./cell-CaNwunq_.js"), "./renderers/chart.jsx": () => import("./chart-B5YUB_4K.js"), "./renderers/choiceInput.jsx": () => import("./choiceInput-DGUft-K_.js"), "./renderers/circle.jsx": () => import("./circle-DykBtM5x.js"), "./renderers/cobwebPolyline.jsx": () => import("./cobwebPolyline-CIbRbXmc.js"), "./renderers/codeEditor.jsx": () => import("./codeEditor-Dws5hmky.js"), "./renderers/codeViewer.jsx": () => import("./codeViewer-CcGGmCQv.js"), "./renderers/containerBlock.jsx": () => import("./containerBlock-Cw5VdAPR.js"), "./renderers/containerInline.jsx": () => import("./containerInline-BxwFSGYC.js"), "./renderers/contentBrowser.jsx": () => import("./contentBrowser-57q8gAdD.js"), "./renderers/contentPicker.jsx": () => import("./contentPicker-DdFPzjIa.js"), "./renderers/curve.jsx": () => import("./curve-DJ1dCT1Y.js"), "./renderers/ellipsis.jsx": () => import("./ellipsis-CBIxYp1B.js"), "./renderers/em.jsx": () => import("./em-l19FRswh.js"), "./renderers/embed.jsx": () => import("./embed-Dzn6OD3b.js"), "./renderers/feedback.jsx": () => import("./feedback-jaAGR6nT.js"), "./renderers/figure.jsx": () => import("./figure-BPbIFQxa.js"), "./renderers/footnote.jsx": () => import("./footnote-DSywNsdI.js"), "./renderers/graph.jsx": () => import("./graph-BmfTY8n4.js"), "./renderers/hint.jsx": () => import("./hint-BF03rq5X.js"), "./renderers/image.jsx": () => import("./image-GxBZ1nZq.js"), "./renderers/label.jsx": () => import("./label-C0VH9lRi.js"), "./renderers/legend.jsx": () => import("./legend-F3AT4YsA.js"), "./renderers/line.jsx": () => import("./line-Ct2HYP0x.js"), "./renderers/lineSegment.jsx": () => import("./lineSegment-gZJSc6Hz.js"), "./renderers/list.jsx": () => import("./list-BrjCqv3u.js"), "./renderers/lq.jsx": () => import("./lq-D2FfUhEX.js"), "./renderers/lsq.jsx": () => import("./lsq-YvLhbgzX.js"), "./renderers/math.jsx": () => import("./math-Dt8xX395.js"), "./renderers/mathInput.jsx": () => import("./mathInput-CMt04AV_.js"), "./renderers/mathList.jsx": () => import("./mathList-DQFKVZEZ.js"), "./renderers/matrixInput.jsx": () => import("./matrixInput-Bfa9_rFc.js"), "./renderers/mdash.jsx": () => import("./mdash-DMm709Dh.js"), "./renderers/nbsp.jsx": () => import("./nbsp-Dz0FF10J.js"), "./renderers/ndash.jsx": () => import("./ndash-C91rkd-j.js"), "./renderers/number.jsx": () => import("./number-BnxbunHV.js"), "./renderers/numberList.jsx": () => import("./numberList-BxHGJxBk.js"), "./renderers/orbitalDiagram.jsx": () => import("./orbitalDiagram-2uC6M2bc.js"), "./renderers/orbitalDiagramInput.jsx": () => import("./orbitalDiagramInput-CsRmCKOo.js"), "./renderers/p.jsx": () => import("./p-CM3RBKnN.js"), "./renderers/paginatorControls.jsx": () => import("./paginatorControls-cs006E6E.js"), "./renderers/pegboard.jsx": () => import("./pegboard-DQb1XwjY.js"), "./renderers/point.jsx": () => import("./point-9KXFlmsC.js"), "./renderers/polygon.jsx": () => import("./polygon-xE-OoC7n.js"), "./renderers/polyline.jsx": () => import("./polyline-BpkjVEIC.js"), "./renderers/pre.jsx": () => import("./pre-DTqNKr_o.js"), "./renderers/q.jsx": () => import("./q-CbHMNqq0.js"), "./renderers/ray.jsx": () => import("./ray-q1Lt4YjH.js"), "./renderers/ref.jsx": () => import("./ref-k7JHC2R5.js"), "./renderers/regionBetweenCurveXAxis.jsx": () => import("./regionBetweenCurveXAxis-UqNbw7xr.js"), "./renderers/regionBetweenCurves.jsx": () => import("./regionBetweenCurves-BdGHPSLu.js"), "./renderers/row.jsx": () => import("./row-DEQO4AP3.js"), "./renderers/rq.jsx": () => import("./rq-DBF6IlMF.js"), "./renderers/rsq.jsx": () => import("./rsq-xTeWaD2q.js"), "./renderers/section.jsx": () => import("./section-DwCTN1_w.js"), "./renderers/sideBySide.jsx": () => import("./sideBySide-BfXudRW7.js"), "./renderers/slider.jsx": () => import("./slider-Csm6YrNA.js"), "./renderers/solution.jsx": () => import("./solution-DzY8i66U.js"), "./renderers/spreadsheet.jsx": () => import("./spreadsheet-CspuDACA.js"), "./renderers/sq.jsx": () => import("./sq-Bf88-CsN.js"), "./renderers/subsetOfRealsInput.jsx": () => import("./subsetOfRealsInput-DPF7Xljn.js"), "./renderers/summaryStatistics.jsx": () => import("./summaryStatistics-Brp0Gb6V.js"), "./renderers/table.jsx": () => import("./table-BLOhaU7J.js"), "./renderers/tabular.jsx": () => import("./tabular-D-Pt7Iiy.js"), "./renderers/tag.jsx": () => import("./tag-1wVMH1f2.js"), "./renderers/text.jsx": () => import("./text-CsJdlHSL.js"), "./renderers/textInput.jsx": () => import("./textInput-Br_ynieV.js"), "./renderers/textList.jsx": () => import("./textList-B4hPs2mu.js"), "./renderers/vector.jsx": () => import("./vector-z5jjQWYM.js"), "./renderers/video.jsx": () => import("./video-Drv6L0Pa.js") }), `./renderers/${childInstructions.rendererType}.jsx`, 3);
|
|
37118
37118
|
}
|
|
37119
37119
|
return rendererPromises;
|
|
37120
37120
|
});
|
|
@@ -54853,7 +54853,7 @@ function PageViewer({
|
|
|
54853
54853
|
let rendererClassNames = [];
|
|
54854
54854
|
for (let rendererClassName of coreInfo.current.rendererTypesInDocument) {
|
|
54855
54855
|
rendererClassNames.push(rendererClassName);
|
|
54856
|
-
renderPromises.push(__variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "./renderers/_error.jsx": () => import("./_error-
|
|
54856
|
+
renderPromises.push(__variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "./renderers/_error.jsx": () => import("./_error-BUCX4xIl.js"), "./renderers/alert.jsx": () => import("./alert-LiNG7udV.js"), "./renderers/angle.jsx": () => import("./angle-D7LBZKTf.js"), "./renderers/answer.jsx": () => import("./answer-BmAZs7Xk.js"), "./renderers/asList.jsx": () => import("./asList-BtNcId2Y.js"), "./renderers/blockQuote.jsx": () => import("./blockQuote-DRSP4PJF.js"), "./renderers/boolean.jsx": () => import("./boolean-rHngQw__.js"), "./renderers/booleanInput.jsx": () => import("./booleanInput-CD7pzVGI.js"), "./renderers/button.jsx": () => import("./button-B_zkkeMB.js"), "./renderers/c.jsx": () => import("./c-9RkbCQbz.js"), "./renderers/cell.jsx": () => import("./cell-CaNwunq_.js"), "./renderers/chart.jsx": () => import("./chart-B5YUB_4K.js"), "./renderers/choiceInput.jsx": () => import("./choiceInput-DGUft-K_.js"), "./renderers/circle.jsx": () => import("./circle-DykBtM5x.js"), "./renderers/cobwebPolyline.jsx": () => import("./cobwebPolyline-CIbRbXmc.js"), "./renderers/codeEditor.jsx": () => import("./codeEditor-Dws5hmky.js"), "./renderers/codeViewer.jsx": () => import("./codeViewer-CcGGmCQv.js"), "./renderers/containerBlock.jsx": () => import("./containerBlock-Cw5VdAPR.js"), "./renderers/containerInline.jsx": () => import("./containerInline-BxwFSGYC.js"), "./renderers/contentBrowser.jsx": () => import("./contentBrowser-57q8gAdD.js"), "./renderers/contentPicker.jsx": () => import("./contentPicker-DdFPzjIa.js"), "./renderers/curve.jsx": () => import("./curve-DJ1dCT1Y.js"), "./renderers/ellipsis.jsx": () => import("./ellipsis-CBIxYp1B.js"), "./renderers/em.jsx": () => import("./em-l19FRswh.js"), "./renderers/embed.jsx": () => import("./embed-Dzn6OD3b.js"), "./renderers/feedback.jsx": () => import("./feedback-jaAGR6nT.js"), "./renderers/figure.jsx": () => import("./figure-BPbIFQxa.js"), "./renderers/footnote.jsx": () => import("./footnote-DSywNsdI.js"), "./renderers/graph.jsx": () => import("./graph-BmfTY8n4.js"), "./renderers/hint.jsx": () => import("./hint-BF03rq5X.js"), "./renderers/image.jsx": () => import("./image-GxBZ1nZq.js"), "./renderers/label.jsx": () => import("./label-C0VH9lRi.js"), "./renderers/legend.jsx": () => import("./legend-F3AT4YsA.js"), "./renderers/line.jsx": () => import("./line-Ct2HYP0x.js"), "./renderers/lineSegment.jsx": () => import("./lineSegment-gZJSc6Hz.js"), "./renderers/list.jsx": () => import("./list-BrjCqv3u.js"), "./renderers/lq.jsx": () => import("./lq-D2FfUhEX.js"), "./renderers/lsq.jsx": () => import("./lsq-YvLhbgzX.js"), "./renderers/math.jsx": () => import("./math-Dt8xX395.js"), "./renderers/mathInput.jsx": () => import("./mathInput-CMt04AV_.js"), "./renderers/mathList.jsx": () => import("./mathList-DQFKVZEZ.js"), "./renderers/matrixInput.jsx": () => import("./matrixInput-Bfa9_rFc.js"), "./renderers/mdash.jsx": () => import("./mdash-DMm709Dh.js"), "./renderers/nbsp.jsx": () => import("./nbsp-Dz0FF10J.js"), "./renderers/ndash.jsx": () => import("./ndash-C91rkd-j.js"), "./renderers/number.jsx": () => import("./number-BnxbunHV.js"), "./renderers/numberList.jsx": () => import("./numberList-BxHGJxBk.js"), "./renderers/orbitalDiagram.jsx": () => import("./orbitalDiagram-2uC6M2bc.js"), "./renderers/orbitalDiagramInput.jsx": () => import("./orbitalDiagramInput-CsRmCKOo.js"), "./renderers/p.jsx": () => import("./p-CM3RBKnN.js"), "./renderers/paginatorControls.jsx": () => import("./paginatorControls-cs006E6E.js"), "./renderers/pegboard.jsx": () => import("./pegboard-DQb1XwjY.js"), "./renderers/point.jsx": () => import("./point-9KXFlmsC.js"), "./renderers/polygon.jsx": () => import("./polygon-xE-OoC7n.js"), "./renderers/polyline.jsx": () => import("./polyline-BpkjVEIC.js"), "./renderers/pre.jsx": () => import("./pre-DTqNKr_o.js"), "./renderers/q.jsx": () => import("./q-CbHMNqq0.js"), "./renderers/ray.jsx": () => import("./ray-q1Lt4YjH.js"), "./renderers/ref.jsx": () => import("./ref-k7JHC2R5.js"), "./renderers/regionBetweenCurveXAxis.jsx": () => import("./regionBetweenCurveXAxis-UqNbw7xr.js"), "./renderers/regionBetweenCurves.jsx": () => import("./regionBetweenCurves-BdGHPSLu.js"), "./renderers/row.jsx": () => import("./row-DEQO4AP3.js"), "./renderers/rq.jsx": () => import("./rq-DBF6IlMF.js"), "./renderers/rsq.jsx": () => import("./rsq-xTeWaD2q.js"), "./renderers/section.jsx": () => import("./section-DwCTN1_w.js"), "./renderers/sideBySide.jsx": () => import("./sideBySide-BfXudRW7.js"), "./renderers/slider.jsx": () => import("./slider-Csm6YrNA.js"), "./renderers/solution.jsx": () => import("./solution-DzY8i66U.js"), "./renderers/spreadsheet.jsx": () => import("./spreadsheet-CspuDACA.js"), "./renderers/sq.jsx": () => import("./sq-Bf88-CsN.js"), "./renderers/subsetOfRealsInput.jsx": () => import("./subsetOfRealsInput-DPF7Xljn.js"), "./renderers/summaryStatistics.jsx": () => import("./summaryStatistics-Brp0Gb6V.js"), "./renderers/table.jsx": () => import("./table-BLOhaU7J.js"), "./renderers/tabular.jsx": () => import("./tabular-D-Pt7Iiy.js"), "./renderers/tag.jsx": () => import("./tag-1wVMH1f2.js"), "./renderers/text.jsx": () => import("./text-CsJdlHSL.js"), "./renderers/textInput.jsx": () => import("./textInput-Br_ynieV.js"), "./renderers/textList.jsx": () => import("./textList-B4hPs2mu.js"), "./renderers/vector.jsx": () => import("./vector-z5jjQWYM.js"), "./renderers/video.jsx": () => import("./video-Drv6L0Pa.js") }), `./renderers/${rendererClassName}.jsx`, 3));
|
|
54857
54857
|
}
|
|
54858
54858
|
let documentComponentInstructions = coreInfo.current.documentToRender;
|
|
54859
54859
|
renderersloadComponent(renderPromises, rendererClassNames).then((newRendererClasses) => {
|
|
@@ -55511,7 +55511,7 @@ function getURLFromRef({
|
|
|
55511
55511
|
var visibilitySensor = { exports: {} };
|
|
55512
55512
|
(function(module2, exports2) {
|
|
55513
55513
|
(function webpackUniversalModuleDefinition(root2, factory2) {
|
|
55514
|
-
module2.exports = factory2(React__default,
|
|
55514
|
+
module2.exports = factory2(React__default, ReactDOM);
|
|
55515
55515
|
})(commonjsGlobal$3, function(__WEBPACK_EXTERNAL_MODULE__1__, __WEBPACK_EXTERNAL_MODULE__2__) {
|
|
55516
55516
|
return (
|
|
55517
55517
|
/******/
|
|
@@ -57962,6 +57962,22 @@ function ActivityViewer({
|
|
|
57962
57962
|
finishAssessmentPrompt
|
|
57963
57963
|
] });
|
|
57964
57964
|
}
|
|
57965
|
+
var createRoot;
|
|
57966
|
+
var m = ReactDOM;
|
|
57967
|
+
if (process.env.NODE_ENV === "production") {
|
|
57968
|
+
createRoot = m.createRoot;
|
|
57969
|
+
m.hydrateRoot;
|
|
57970
|
+
} else {
|
|
57971
|
+
var i$1 = m.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
57972
|
+
createRoot = function(c2, o) {
|
|
57973
|
+
i$1.usingClientEntryPoint = true;
|
|
57974
|
+
try {
|
|
57975
|
+
return m.createRoot(c2, o);
|
|
57976
|
+
} finally {
|
|
57977
|
+
i$1.usingClientEntryPoint = false;
|
|
57978
|
+
}
|
|
57979
|
+
};
|
|
57980
|
+
}
|
|
57965
57981
|
const focusedMathField = Recoil_index_8({
|
|
57966
57982
|
key: "focusedMathField",
|
|
57967
57983
|
default: () => {
|
|
@@ -62892,22 +62908,6 @@ function ManagedKeyboard({ onClick }) {
|
|
|
62892
62908
|
);
|
|
62893
62909
|
return /* @__PURE__ */ React__default.createElement(TabProvider, null, /* @__PURE__ */ React__default.createElement(TabList, { className: "virtual-keyboard-tab-list" }, /* @__PURE__ */ React__default.createElement(Tab, { store, id: "numeric" }, "123"), /* @__PURE__ */ React__default.createElement(Tab, { store, id: "function" }, "f(x)"), /* @__PURE__ */ React__default.createElement(Tab, { store, id: "alpha_lower" }, "ABC"), /* @__PURE__ */ React__default.createElement(Tab, { store, id: "greek_lower" }, "αβγ"), /* @__PURE__ */ React__default.createElement(Tab, { store, id: "symbol" }, "$%∞")), /* @__PURE__ */ React__default.createElement(Keyboard, { style, onClick: wrappedOnClick }));
|
|
62894
62910
|
}
|
|
62895
|
-
var createRoot;
|
|
62896
|
-
var m = require$$1$1;
|
|
62897
|
-
if (process.env.NODE_ENV === "production") {
|
|
62898
|
-
createRoot = m.createRoot;
|
|
62899
|
-
m.hydrateRoot;
|
|
62900
|
-
} else {
|
|
62901
|
-
var i$1 = m.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
62902
|
-
createRoot = function(c2, o) {
|
|
62903
|
-
i$1.usingClientEntryPoint = true;
|
|
62904
|
-
try {
|
|
62905
|
-
return m.createRoot(c2, o);
|
|
62906
|
-
} finally {
|
|
62907
|
-
i$1.usingClientEntryPoint = false;
|
|
62908
|
-
}
|
|
62909
|
-
};
|
|
62910
|
-
}
|
|
62911
62911
|
var classnames$1 = { exports: {} };
|
|
62912
62912
|
/*!
|
|
62913
62913
|
Copyright (c) 2018 Jed Watson.
|
|
@@ -62984,7 +62984,7 @@ const KeyboardIcon = () => /* @__PURE__ */ React__default.createElement(
|
|
|
62984
62984
|
);
|
|
62985
62985
|
function KeyboardTray({ onClick }) {
|
|
62986
62986
|
const [open, setOpen] = React__default.useState(false);
|
|
62987
|
-
return
|
|
62987
|
+
return ReactDOM.createPortal(
|
|
62988
62988
|
/* @__PURE__ */ React__default.createElement(
|
|
62989
62989
|
"div",
|
|
62990
62990
|
{
|
|
@@ -63083,7 +63083,9 @@ function translateKeyboardEvent(commands) {
|
|
|
63083
63083
|
return { focusedMathField: command2 };
|
|
63084
63084
|
});
|
|
63085
63085
|
}
|
|
63086
|
-
function RecoilVirtualKeyboard(
|
|
63086
|
+
function RecoilVirtualKeyboard({
|
|
63087
|
+
keyboardIsOutsideIframe = false
|
|
63088
|
+
}) {
|
|
63087
63089
|
const callback = Recoil_index_20(focusedMathField);
|
|
63088
63090
|
const returnCallback = Recoil_index_20(focusedMathFieldReturn);
|
|
63089
63091
|
const [recoilEvents, setRecoilEvents] = React__default.useState([]);
|
|
@@ -63102,7 +63104,22 @@ function RecoilVirtualKeyboard() {
|
|
|
63102
63104
|
}
|
|
63103
63105
|
}
|
|
63104
63106
|
}, [recoilEvents]);
|
|
63105
|
-
|
|
63107
|
+
React__default.useEffect(() => {
|
|
63108
|
+
if (keyboardIsOutsideIframe) {
|
|
63109
|
+
const listener3 = (event) => {
|
|
63110
|
+
var _a4;
|
|
63111
|
+
if (event.origin !== window.parent.location.origin || ((_a4 = event.data) == null ? void 0 : _a4.subject) !== "keyboard") {
|
|
63112
|
+
return;
|
|
63113
|
+
}
|
|
63114
|
+
setRecoilEvents(translateKeyboardEvent(event.data.keyCommands));
|
|
63115
|
+
};
|
|
63116
|
+
window.parent.addEventListener("message", listener3);
|
|
63117
|
+
return () => {
|
|
63118
|
+
window.parent.removeEventListener("message", listener3);
|
|
63119
|
+
};
|
|
63120
|
+
}
|
|
63121
|
+
}, []);
|
|
63122
|
+
return keyboardIsOutsideIframe ? null : /* @__PURE__ */ React__default.createElement(
|
|
63106
63123
|
UniqueKeyboardTray,
|
|
63107
63124
|
{
|
|
63108
63125
|
onClick: (events2) => {
|
|
@@ -134052,7 +134069,7 @@ function EditorViewer({
|
|
|
134052
134069
|
/* @__PURE__ */ jsxRuntimeExports$2.jsx(Spacer, {}),
|
|
134053
134070
|
/* @__PURE__ */ jsxRuntimeExports$2.jsxs(Box, { alignSelf: "center", fontSize: "smaller", children: [
|
|
134054
134071
|
"Version: ",
|
|
134055
|
-
"0.7.0-
|
|
134072
|
+
"0.7.0-alpha15"
|
|
134056
134073
|
] })
|
|
134057
134074
|
]
|
|
134058
134075
|
}
|
|
@@ -134372,6 +134389,7 @@ function DoenetViewer({
|
|
|
134372
134389
|
forceShowSolution = false,
|
|
134373
134390
|
forceUnsuppressCheckwork = false,
|
|
134374
134391
|
addVirtualKeyboard = true,
|
|
134392
|
+
keyboardIsOutsideIframe = false,
|
|
134375
134393
|
addBottomPadding = false,
|
|
134376
134394
|
location,
|
|
134377
134395
|
navigate,
|
|
@@ -134445,7 +134463,7 @@ function DoenetViewer({
|
|
|
134445
134463
|
lastPropSet.current = thisPropSet;
|
|
134446
134464
|
}
|
|
134447
134465
|
}
|
|
134448
|
-
const keyboard = addVirtualKeyboard ? /* @__PURE__ */ jsxRuntimeExports$2.jsx(RecoilVirtualKeyboard, {}) : null;
|
|
134466
|
+
const keyboard = addVirtualKeyboard ? /* @__PURE__ */ jsxRuntimeExports$2.jsx(RecoilVirtualKeyboard, { keyboardIsOutsideIframe }) : null;
|
|
134449
134467
|
const viewer = /* @__PURE__ */ jsxRuntimeExports$2.jsx(
|
|
134450
134468
|
ActivityViewer,
|
|
134451
134469
|
{
|
|
@@ -134504,6 +134522,7 @@ function DoenetEditor({
|
|
|
134504
134522
|
activityId,
|
|
134505
134523
|
paginate = false,
|
|
134506
134524
|
addVirtualKeyboard = true,
|
|
134525
|
+
keyboardIsOutsideIframe = false,
|
|
134507
134526
|
addBottomPadding = false,
|
|
134508
134527
|
location,
|
|
134509
134528
|
navigate,
|
|
@@ -134526,7 +134545,7 @@ function DoenetEditor({
|
|
|
134526
134545
|
initialErrors = [],
|
|
134527
134546
|
initialWarnings = []
|
|
134528
134547
|
}) {
|
|
134529
|
-
const keyboard = addVirtualKeyboard ? /* @__PURE__ */ jsxRuntimeExports$2.jsx(RecoilVirtualKeyboard, {}) : null;
|
|
134548
|
+
const keyboard = addVirtualKeyboard ? /* @__PURE__ */ jsxRuntimeExports$2.jsx(RecoilVirtualKeyboard, { keyboardIsOutsideIframe }) : null;
|
|
134530
134549
|
const editor = /* @__PURE__ */ jsxRuntimeExports$2.jsx(
|
|
134531
134550
|
EditorViewer,
|
|
134532
134551
|
{
|