@doenet/doenetml 0.7.0-alpha14 → 0.7.0-alpha16
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-DsqZiila.js} +1 -1
- package/{alert-ev_eZHrg.js → alert-DiZCggRu.js} +2 -2
- package/{angle-dqW50zKP.js → angle-DK3ToDk7.js} +2 -2
- package/{answer-CXmS7Fxg.js → answer-Do1_SXVw.js} +1 -1
- package/{asList-BAKtINX-.js → asList-B_kQuYT_.js} +1 -1
- package/{blockQuote-Cvoqeqmb.js → blockQuote-DzZ2Jdvq.js} +2 -2
- package/{boolean-D_7nNhvG.js → boolean-YtnK0Kbw.js} +1 -1
- package/{booleanInput-Cxzz5GdJ.js → booleanInput-BCVZBpbc.js} +2 -2
- package/{button-3g38JTXH.js → button-FLjeR41d.js} +2 -2
- package/{c-CsGve4C2.js → c-DkqknrAe.js} +2 -2
- package/{cell-CjrMmb6l.js → cell-DCiTGeZA.js} +2 -2
- package/{chart-D5mI762i.js → chart-BufP1E3z.js} +1 -1
- package/{choiceInput-Do1Lyb4Y.js → choiceInput-R5NT5Cw4.js} +1 -1
- package/{circle-C1Xa89FP.js → circle-QyfsG6aL.js} +2 -2
- package/{cobwebPolyline-ifbvR7DZ.js → cobwebPolyline-CyB6Nqah.js} +2 -2
- package/{codeEditor-Ct-cWk-U.js → codeEditor-B5x40y_6.js} +1 -1
- package/{codeViewer-BdSRy2Ys.js → codeViewer-DqstCibI.js} +1 -1
- package/{composites-BYriBbOz.js → composites-B56AWLHs.js} +1 -1
- package/{containerBlock-BcuCCEpP.js → containerBlock-BPio4qfz.js} +2 -2
- package/{containerInline-D_JP7Nyx.js → containerInline-BFM76ZVH.js} +2 -2
- package/{contentBrowser-7CPoYNUS.js → contentBrowser-BOmF-nW8.js} +2 -2
- package/{contentPicker-C28FhT-I.js → contentPicker-ZAU5xoT5.js} +2 -2
- package/{curve-DMrJaUmL.js → curve-CRzMZWMs.js} +2 -2
- package/{doenetml--qXLwv9N.js → doenetml-DUX982ec.js} +71 -42
- 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-BnZryJ4v.js} +1 -1
- package/{em-CW5xJo1u.js → em-BqAo4uId.js} +2 -2
- package/{embed-DSVCv0NE.js → embed-eJ3gLTSJ.js} +1 -1
- package/{feedback-DwIs9_LX.js → feedback-WTGYkZuS.js} +2 -2
- package/{figure-DE3YOfcA.js → figure-i0g5Q8Af.js} +1 -1
- package/{footnote-C03SGIF-.js → footnote-DhrNqgDo.js} +1 -1
- package/{graph-Cs3vjKNg.js → graph-aCHrcyUs.js} +1 -1
- package/{hint-Bv33rGO3.js → hint-Csys3Kkm.js} +2 -2
- package/{image--kppbnWH.js → image-CvJBHmEL.js} +2 -2
- package/index.js +1 -1
- package/{label-BbG6bzIW.js → label-DFtD-ihI.js} +2 -2
- package/{legend-Dh13eHLZ.js → legend-s0XLA4vL.js} +2 -2
- package/{line-CRAFbKhl.js → line-C2seEYQD.js} +2 -2
- package/{lineSegment-Cdkbx33a.js → lineSegment-Dn8qDaRW.js} +2 -2
- package/{list-DNZ4B5Pr.js → list-cagHwD1U.js} +2 -2
- package/{lq-CMseLFV-.js → lq-0G2rdfGU.js} +1 -1
- package/{lsq-CJ_HoNmS.js → lsq-Csl0U8me.js} +1 -1
- package/{math-BqiM3zOO.js → math-Dz9npD8X.js} +2 -2
- package/{mathInput-BqjixuKP.js → mathInput-DSjHjn5F.js} +13 -3
- package/{mathList-XyspjN_T.js → mathList-BR-isYVm.js} +1 -1
- package/{matrixInput-4Z1mwfgz.js → matrixInput-Bt0kF-6a.js} +1 -1
- package/{mdash-B4cbu5Xy.js → mdash-Da96j696.js} +1 -1
- package/{nbsp-PxlUASRz.js → nbsp-BgOhJE53.js} +1 -1
- package/{ndash-DvSIf6r0.js → ndash-Xpy50nLl.js} +1 -1
- package/{number-nAhLr1Bz.js → number-DjQkwsz-.js} +2 -2
- package/{numberList-ZA6aI-Mi.js → numberList-DnOkxR2q.js} +1 -1
- package/{orbitalDiagram-D6_C-vs1.js → orbitalDiagram-B8PcK-8O.js} +1 -1
- package/{orbitalDiagramInput-BV_rwJ2W.js → orbitalDiagramInput-DlUqdjfm.js} +1 -1
- package/{p-Cn0-7hhi.js → p-BmuXzMcn.js} +2 -2
- package/package.json +1 -1
- package/{paginatorControls-CgFLIrai.js → paginatorControls-DOE7nnC8.js} +1 -1
- package/{pegboard-CNQQZOJz.js → pegboard-Dk73xnpW.js} +2 -2
- package/{point-CIHylWTA.js → point-gQhyhp8D.js} +2 -2
- package/{polygon-08ahXbId.js → polygon-CAzgF_U1.js} +2 -2
- package/{polyline-DwilnKG8.js → polyline--EWKC6wj.js} +2 -2
- package/{pre-DFGm3Rx2.js → pre-CWplN4rm.js} +2 -2
- package/{q-OSWtQWmG.js → q-A7bMZUYI.js} +2 -2
- package/{ray-DcvxJBYS.js → ray-C542zoir.js} +2 -2
- package/{ref-KsjHWb04.js → ref-Bax-I7xF.js} +1 -1
- package/{regionBetweenCurveXAxis-BC4F4bB8.js → regionBetweenCurveXAxis-BOrWIGRs.js} +2 -2
- package/{regionBetweenCurves-BULkISWU.js → regionBetweenCurves-BATAlzD6.js} +2 -2
- package/{row-BRlWnpOZ.js → row-BY0m-JvJ.js} +1 -1
- package/{rq-C-5CNqFm.js → rq-fp0UaPHo.js} +1 -1
- package/{rsq-B0pli4Cn.js → rsq-D_Jf4iYU.js} +1 -1
- package/{section-OFAWcWxL.js → section-Bq_EfHw7.js} +2 -2
- package/{sideBySide-DpwMd9gt.js → sideBySide-CiWvR0FH.js} +1 -1
- package/{slider-D_PzZtIy.js → slider-DIe3c47Z.js} +1 -1
- package/{solution-D9YHppLR.js → solution-C_ncL8rw.js} +2 -2
- package/{spreadsheet-0ldFyV0S.js → spreadsheet-D7lQ1ouM.js} +4 -4
- package/{sq-DgLxT-yU.js → sq-BOuwQjHe.js} +2 -2
- package/{subsetOfRealsInput-BcEI76rf.js → subsetOfRealsInput-YdjQ0dnr.js} +1 -1
- package/{summaryStatistics-DRkxl47D.js → summaryStatistics-52v4ogkL.js} +1 -1
- package/{table-CmHuGZrC.js → table-D6Ah06uR.js} +1 -1
- package/{tabular-CG32JU4H.js → tabular-CW6z89Fp.js} +1 -1
- package/{tag-Oj00Q3Oq.js → tag-BmKRsSlq.js} +1 -1
- package/{text-Cl3muBXX.js → text-BbFYWWtu.js} +2 -2
- package/{textInput-BcbYr3mc.js → textInput-DW3LVUzo.js} +2 -2
- package/{textList-DiuSdF8g.js → textList-B7B2rRi_.js} +1 -1
- package/{vector-xhDVkovw.js → vector-iPNEKyv5.js} +2 -2
- package/{video-6G-ZLD-U.js → video-D_Bvcg0y.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-DUX982ec.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-DUX982ec.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { a as addCommasForCompositeRanges } from "./composites-
|
|
3
|
+
import { a as addCommasForCompositeRanges } from "./composites-B56AWLHs.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-DUX982ec.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-aCHrcyUs.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-DUX982ec.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-DUX982ec.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-DUX982ec.js";
|
|
2
2
|
import React__default, { useEffect } from "react";
|
|
3
|
-
import { a as addCommasForCompositeRanges } from "./composites-
|
|
3
|
+
import { a as addCommasForCompositeRanges } from "./composites-B56AWLHs.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-DUX982ec.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-DUX982ec.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-aCHrcyUs.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-DUX982ec.js";
|
|
2
2
|
import React__default, { useRef, useContext, useEffect } from "react";
|
|
3
|
-
import { BoardContext } from "./graph-
|
|
3
|
+
import { BoardContext } from "./graph-aCHrcyUs.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-DUX982ec.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { a as addCommasForCompositeRanges } from "./composites-
|
|
3
|
+
import { a as addCommasForCompositeRanges } from "./composites-B56AWLHs.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-DUX982ec.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { a as addCommasForCompositeRanges } from "./composites-
|
|
3
|
+
import { a as addCommasForCompositeRanges } from "./composites-B56AWLHs.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-DUX982ec.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-DUX982ec.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-DUX982ec.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-aCHrcyUs.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-DUX982ec.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-aCHrcyUs.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-DUX982ec.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-DUX982ec.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-DUX982ec.js";
|
|
2
2
|
import React__default, { useEffect } from "react";
|
|
3
|
-
import { a as addCommasForCompositeRanges } from "./composites-
|
|
3
|
+
import { a as addCommasForCompositeRanges } from "./composites-B56AWLHs.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-DUX982ec.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { a as addCommasForCompositeRanges } from "./composites-
|
|
3
|
+
import { a as addCommasForCompositeRanges } from "./composites-B56AWLHs.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-DUX982ec.js";
|
|
2
2
|
import React__default, { useContext, useEffect } from "react";
|
|
3
|
-
import { a as addCommasForCompositeRanges } from "./composites-
|
|
3
|
+
import { a as addCommasForCompositeRanges } from "./composites-B56AWLHs.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-DUX982ec.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-B56AWLHs.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-DUX982ec.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-aCHrcyUs.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-DsqZiila.js"), "./renderers/alert.jsx": () => import("./alert-DiZCggRu.js"), "./renderers/angle.jsx": () => import("./angle-DK3ToDk7.js"), "./renderers/answer.jsx": () => import("./answer-Do1_SXVw.js"), "./renderers/asList.jsx": () => import("./asList-B_kQuYT_.js"), "./renderers/blockQuote.jsx": () => import("./blockQuote-DzZ2Jdvq.js"), "./renderers/boolean.jsx": () => import("./boolean-YtnK0Kbw.js"), "./renderers/booleanInput.jsx": () => import("./booleanInput-BCVZBpbc.js"), "./renderers/button.jsx": () => import("./button-FLjeR41d.js"), "./renderers/c.jsx": () => import("./c-DkqknrAe.js"), "./renderers/cell.jsx": () => import("./cell-DCiTGeZA.js"), "./renderers/chart.jsx": () => import("./chart-BufP1E3z.js"), "./renderers/choiceInput.jsx": () => import("./choiceInput-R5NT5Cw4.js"), "./renderers/circle.jsx": () => import("./circle-QyfsG6aL.js"), "./renderers/cobwebPolyline.jsx": () => import("./cobwebPolyline-CyB6Nqah.js"), "./renderers/codeEditor.jsx": () => import("./codeEditor-B5x40y_6.js"), "./renderers/codeViewer.jsx": () => import("./codeViewer-DqstCibI.js"), "./renderers/containerBlock.jsx": () => import("./containerBlock-BPio4qfz.js"), "./renderers/containerInline.jsx": () => import("./containerInline-BFM76ZVH.js"), "./renderers/contentBrowser.jsx": () => import("./contentBrowser-BOmF-nW8.js"), "./renderers/contentPicker.jsx": () => import("./contentPicker-ZAU5xoT5.js"), "./renderers/curve.jsx": () => import("./curve-CRzMZWMs.js"), "./renderers/ellipsis.jsx": () => import("./ellipsis-BnZryJ4v.js"), "./renderers/em.jsx": () => import("./em-BqAo4uId.js"), "./renderers/embed.jsx": () => import("./embed-eJ3gLTSJ.js"), "./renderers/feedback.jsx": () => import("./feedback-WTGYkZuS.js"), "./renderers/figure.jsx": () => import("./figure-i0g5Q8Af.js"), "./renderers/footnote.jsx": () => import("./footnote-DhrNqgDo.js"), "./renderers/graph.jsx": () => import("./graph-aCHrcyUs.js"), "./renderers/hint.jsx": () => import("./hint-Csys3Kkm.js"), "./renderers/image.jsx": () => import("./image-CvJBHmEL.js"), "./renderers/label.jsx": () => import("./label-DFtD-ihI.js"), "./renderers/legend.jsx": () => import("./legend-s0XLA4vL.js"), "./renderers/line.jsx": () => import("./line-C2seEYQD.js"), "./renderers/lineSegment.jsx": () => import("./lineSegment-Dn8qDaRW.js"), "./renderers/list.jsx": () => import("./list-cagHwD1U.js"), "./renderers/lq.jsx": () => import("./lq-0G2rdfGU.js"), "./renderers/lsq.jsx": () => import("./lsq-Csl0U8me.js"), "./renderers/math.jsx": () => import("./math-Dz9npD8X.js"), "./renderers/mathInput.jsx": () => import("./mathInput-DSjHjn5F.js"), "./renderers/mathList.jsx": () => import("./mathList-BR-isYVm.js"), "./renderers/matrixInput.jsx": () => import("./matrixInput-Bt0kF-6a.js"), "./renderers/mdash.jsx": () => import("./mdash-Da96j696.js"), "./renderers/nbsp.jsx": () => import("./nbsp-BgOhJE53.js"), "./renderers/ndash.jsx": () => import("./ndash-Xpy50nLl.js"), "./renderers/number.jsx": () => import("./number-DjQkwsz-.js"), "./renderers/numberList.jsx": () => import("./numberList-DnOkxR2q.js"), "./renderers/orbitalDiagram.jsx": () => import("./orbitalDiagram-B8PcK-8O.js"), "./renderers/orbitalDiagramInput.jsx": () => import("./orbitalDiagramInput-DlUqdjfm.js"), "./renderers/p.jsx": () => import("./p-BmuXzMcn.js"), "./renderers/paginatorControls.jsx": () => import("./paginatorControls-DOE7nnC8.js"), "./renderers/pegboard.jsx": () => import("./pegboard-Dk73xnpW.js"), "./renderers/point.jsx": () => import("./point-gQhyhp8D.js"), "./renderers/polygon.jsx": () => import("./polygon-CAzgF_U1.js"), "./renderers/polyline.jsx": () => import("./polyline--EWKC6wj.js"), "./renderers/pre.jsx": () => import("./pre-CWplN4rm.js"), "./renderers/q.jsx": () => import("./q-A7bMZUYI.js"), "./renderers/ray.jsx": () => import("./ray-C542zoir.js"), "./renderers/ref.jsx": () => import("./ref-Bax-I7xF.js"), "./renderers/regionBetweenCurveXAxis.jsx": () => import("./regionBetweenCurveXAxis-BOrWIGRs.js"), "./renderers/regionBetweenCurves.jsx": () => import("./regionBetweenCurves-BATAlzD6.js"), "./renderers/row.jsx": () => import("./row-BY0m-JvJ.js"), "./renderers/rq.jsx": () => import("./rq-fp0UaPHo.js"), "./renderers/rsq.jsx": () => import("./rsq-D_Jf4iYU.js"), "./renderers/section.jsx": () => import("./section-Bq_EfHw7.js"), "./renderers/sideBySide.jsx": () => import("./sideBySide-CiWvR0FH.js"), "./renderers/slider.jsx": () => import("./slider-DIe3c47Z.js"), "./renderers/solution.jsx": () => import("./solution-C_ncL8rw.js"), "./renderers/spreadsheet.jsx": () => import("./spreadsheet-D7lQ1ouM.js"), "./renderers/sq.jsx": () => import("./sq-BOuwQjHe.js"), "./renderers/subsetOfRealsInput.jsx": () => import("./subsetOfRealsInput-YdjQ0dnr.js"), "./renderers/summaryStatistics.jsx": () => import("./summaryStatistics-52v4ogkL.js"), "./renderers/table.jsx": () => import("./table-D6Ah06uR.js"), "./renderers/tabular.jsx": () => import("./tabular-CW6z89Fp.js"), "./renderers/tag.jsx": () => import("./tag-BmKRsSlq.js"), "./renderers/text.jsx": () => import("./text-BbFYWWtu.js"), "./renderers/textInput.jsx": () => import("./textInput-DW3LVUzo.js"), "./renderers/textList.jsx": () => import("./textList-B7B2rRi_.js"), "./renderers/vector.jsx": () => import("./vector-iPNEKyv5.js"), "./renderers/video.jsx": () => import("./video-D_Bvcg0y.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-DsqZiila.js"), "./renderers/alert.jsx": () => import("./alert-DiZCggRu.js"), "./renderers/angle.jsx": () => import("./angle-DK3ToDk7.js"), "./renderers/answer.jsx": () => import("./answer-Do1_SXVw.js"), "./renderers/asList.jsx": () => import("./asList-B_kQuYT_.js"), "./renderers/blockQuote.jsx": () => import("./blockQuote-DzZ2Jdvq.js"), "./renderers/boolean.jsx": () => import("./boolean-YtnK0Kbw.js"), "./renderers/booleanInput.jsx": () => import("./booleanInput-BCVZBpbc.js"), "./renderers/button.jsx": () => import("./button-FLjeR41d.js"), "./renderers/c.jsx": () => import("./c-DkqknrAe.js"), "./renderers/cell.jsx": () => import("./cell-DCiTGeZA.js"), "./renderers/chart.jsx": () => import("./chart-BufP1E3z.js"), "./renderers/choiceInput.jsx": () => import("./choiceInput-R5NT5Cw4.js"), "./renderers/circle.jsx": () => import("./circle-QyfsG6aL.js"), "./renderers/cobwebPolyline.jsx": () => import("./cobwebPolyline-CyB6Nqah.js"), "./renderers/codeEditor.jsx": () => import("./codeEditor-B5x40y_6.js"), "./renderers/codeViewer.jsx": () => import("./codeViewer-DqstCibI.js"), "./renderers/containerBlock.jsx": () => import("./containerBlock-BPio4qfz.js"), "./renderers/containerInline.jsx": () => import("./containerInline-BFM76ZVH.js"), "./renderers/contentBrowser.jsx": () => import("./contentBrowser-BOmF-nW8.js"), "./renderers/contentPicker.jsx": () => import("./contentPicker-ZAU5xoT5.js"), "./renderers/curve.jsx": () => import("./curve-CRzMZWMs.js"), "./renderers/ellipsis.jsx": () => import("./ellipsis-BnZryJ4v.js"), "./renderers/em.jsx": () => import("./em-BqAo4uId.js"), "./renderers/embed.jsx": () => import("./embed-eJ3gLTSJ.js"), "./renderers/feedback.jsx": () => import("./feedback-WTGYkZuS.js"), "./renderers/figure.jsx": () => import("./figure-i0g5Q8Af.js"), "./renderers/footnote.jsx": () => import("./footnote-DhrNqgDo.js"), "./renderers/graph.jsx": () => import("./graph-aCHrcyUs.js"), "./renderers/hint.jsx": () => import("./hint-Csys3Kkm.js"), "./renderers/image.jsx": () => import("./image-CvJBHmEL.js"), "./renderers/label.jsx": () => import("./label-DFtD-ihI.js"), "./renderers/legend.jsx": () => import("./legend-s0XLA4vL.js"), "./renderers/line.jsx": () => import("./line-C2seEYQD.js"), "./renderers/lineSegment.jsx": () => import("./lineSegment-Dn8qDaRW.js"), "./renderers/list.jsx": () => import("./list-cagHwD1U.js"), "./renderers/lq.jsx": () => import("./lq-0G2rdfGU.js"), "./renderers/lsq.jsx": () => import("./lsq-Csl0U8me.js"), "./renderers/math.jsx": () => import("./math-Dz9npD8X.js"), "./renderers/mathInput.jsx": () => import("./mathInput-DSjHjn5F.js"), "./renderers/mathList.jsx": () => import("./mathList-BR-isYVm.js"), "./renderers/matrixInput.jsx": () => import("./matrixInput-Bt0kF-6a.js"), "./renderers/mdash.jsx": () => import("./mdash-Da96j696.js"), "./renderers/nbsp.jsx": () => import("./nbsp-BgOhJE53.js"), "./renderers/ndash.jsx": () => import("./ndash-Xpy50nLl.js"), "./renderers/number.jsx": () => import("./number-DjQkwsz-.js"), "./renderers/numberList.jsx": () => import("./numberList-DnOkxR2q.js"), "./renderers/orbitalDiagram.jsx": () => import("./orbitalDiagram-B8PcK-8O.js"), "./renderers/orbitalDiagramInput.jsx": () => import("./orbitalDiagramInput-DlUqdjfm.js"), "./renderers/p.jsx": () => import("./p-BmuXzMcn.js"), "./renderers/paginatorControls.jsx": () => import("./paginatorControls-DOE7nnC8.js"), "./renderers/pegboard.jsx": () => import("./pegboard-Dk73xnpW.js"), "./renderers/point.jsx": () => import("./point-gQhyhp8D.js"), "./renderers/polygon.jsx": () => import("./polygon-CAzgF_U1.js"), "./renderers/polyline.jsx": () => import("./polyline--EWKC6wj.js"), "./renderers/pre.jsx": () => import("./pre-CWplN4rm.js"), "./renderers/q.jsx": () => import("./q-A7bMZUYI.js"), "./renderers/ray.jsx": () => import("./ray-C542zoir.js"), "./renderers/ref.jsx": () => import("./ref-Bax-I7xF.js"), "./renderers/regionBetweenCurveXAxis.jsx": () => import("./regionBetweenCurveXAxis-BOrWIGRs.js"), "./renderers/regionBetweenCurves.jsx": () => import("./regionBetweenCurves-BATAlzD6.js"), "./renderers/row.jsx": () => import("./row-BY0m-JvJ.js"), "./renderers/rq.jsx": () => import("./rq-fp0UaPHo.js"), "./renderers/rsq.jsx": () => import("./rsq-D_Jf4iYU.js"), "./renderers/section.jsx": () => import("./section-Bq_EfHw7.js"), "./renderers/sideBySide.jsx": () => import("./sideBySide-CiWvR0FH.js"), "./renderers/slider.jsx": () => import("./slider-DIe3c47Z.js"), "./renderers/solution.jsx": () => import("./solution-C_ncL8rw.js"), "./renderers/spreadsheet.jsx": () => import("./spreadsheet-D7lQ1ouM.js"), "./renderers/sq.jsx": () => import("./sq-BOuwQjHe.js"), "./renderers/subsetOfRealsInput.jsx": () => import("./subsetOfRealsInput-YdjQ0dnr.js"), "./renderers/summaryStatistics.jsx": () => import("./summaryStatistics-52v4ogkL.js"), "./renderers/table.jsx": () => import("./table-D6Ah06uR.js"), "./renderers/tabular.jsx": () => import("./tabular-CW6z89Fp.js"), "./renderers/tag.jsx": () => import("./tag-BmKRsSlq.js"), "./renderers/text.jsx": () => import("./text-BbFYWWtu.js"), "./renderers/textInput.jsx": () => import("./textInput-DW3LVUzo.js"), "./renderers/textList.jsx": () => import("./textList-B7B2rRi_.js"), "./renderers/vector.jsx": () => import("./vector-iPNEKyv5.js"), "./renderers/video.jsx": () => import("./video-D_Bvcg0y.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: () => {
|
|
@@ -57993,7 +58009,7 @@ const TEX_NAMES_LOWER = [
|
|
|
57993
58009
|
"upsilon",
|
|
57994
58010
|
"theta",
|
|
57995
58011
|
"iota",
|
|
57996
|
-
|
|
58012
|
+
null,
|
|
57997
58013
|
"pi",
|
|
57998
58014
|
"alpha",
|
|
57999
58015
|
"sigma",
|
|
@@ -58061,7 +58077,12 @@ const KEYS = {
|
|
|
58061
58077
|
greek_lower: [..."ϕ𝜍ερτυθιοπασδφγηξκλζχψωβνμ,'"].map((c2, i2) => ({
|
|
58062
58078
|
displayName: c2,
|
|
58063
58079
|
name: c2,
|
|
58064
|
-
commands: [
|
|
58080
|
+
commands: [
|
|
58081
|
+
{
|
|
58082
|
+
type: "write",
|
|
58083
|
+
command: TEX_NAMES_LOWER[i2] ? `\\${TEX_NAMES_LOWER[i2]}` : c2
|
|
58084
|
+
}
|
|
58085
|
+
]
|
|
58065
58086
|
})),
|
|
58066
58087
|
// upper-case greek letters in QWERTY order
|
|
58067
58088
|
greek_upper: [..."ΦΣΕΡΤΥΘΙΟΠΑΣΔΦΓΗΞΚΛΖΧΨΩΒΝΜ,'"].map((c2, i2) => ({
|
|
@@ -58113,7 +58134,7 @@ const OPERATOR_KEYS = {
|
|
|
58113
58134
|
times: {
|
|
58114
58135
|
displayName: "×",
|
|
58115
58136
|
name: "times",
|
|
58116
|
-
commands: [{ type: "
|
|
58137
|
+
commands: [{ type: "write", command: "\\times" }]
|
|
58117
58138
|
},
|
|
58118
58139
|
divide: {
|
|
58119
58140
|
displayName: "÷",
|
|
@@ -58316,12 +58337,12 @@ const OTHER_SYMBOLS = {
|
|
|
58316
58337
|
langle: {
|
|
58317
58338
|
displayName: "⟨",
|
|
58318
58339
|
name: "langle",
|
|
58319
|
-
commands: [{ type: "
|
|
58340
|
+
commands: [{ type: "cmd", command: "\\langle" }]
|
|
58320
58341
|
},
|
|
58321
58342
|
rangle: {
|
|
58322
58343
|
displayName: "⟩",
|
|
58323
58344
|
name: "rangle",
|
|
58324
|
-
commands: [{ type: "
|
|
58345
|
+
commands: [{ type: "cmd", command: "\\rangle" }]
|
|
58325
58346
|
},
|
|
58326
58347
|
cdot: {
|
|
58327
58348
|
displayName: "⋅",
|
|
@@ -58336,7 +58357,7 @@ const OTHER_SYMBOLS = {
|
|
|
58336
58357
|
conj: {
|
|
58337
58358
|
displayName: "ā",
|
|
58338
58359
|
name: "conj",
|
|
58339
|
-
commands: [{ type: "
|
|
58360
|
+
commands: [{ type: "cmd", command: "\\overline" }]
|
|
58340
58361
|
},
|
|
58341
58362
|
perp: {
|
|
58342
58363
|
displayName: "⊥",
|
|
@@ -58500,12 +58521,12 @@ const FUNCTION_KEYS = {
|
|
|
58500
58521
|
nPr: {
|
|
58501
58522
|
displayName: "nPr",
|
|
58502
58523
|
name: "nPr",
|
|
58503
|
-
commands: [{ type: "
|
|
58524
|
+
commands: [{ type: "type", command: "nPr(" }]
|
|
58504
58525
|
},
|
|
58505
58526
|
nCr: {
|
|
58506
58527
|
displayName: "nCr",
|
|
58507
58528
|
name: "nCr",
|
|
58508
|
-
commands: [{ type: "
|
|
58529
|
+
commands: [{ type: "type", command: "nCr(" }]
|
|
58509
58530
|
},
|
|
58510
58531
|
factorial: {
|
|
58511
58532
|
displayName: "n!",
|
|
@@ -62892,22 +62913,6 @@ function ManagedKeyboard({ onClick }) {
|
|
|
62892
62913
|
);
|
|
62893
62914
|
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
62915
|
}
|
|
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
62916
|
var classnames$1 = { exports: {} };
|
|
62912
62917
|
/*!
|
|
62913
62918
|
Copyright (c) 2018 Jed Watson.
|
|
@@ -62984,7 +62989,7 @@ const KeyboardIcon = () => /* @__PURE__ */ React__default.createElement(
|
|
|
62984
62989
|
);
|
|
62985
62990
|
function KeyboardTray({ onClick }) {
|
|
62986
62991
|
const [open, setOpen] = React__default.useState(false);
|
|
62987
|
-
return
|
|
62992
|
+
return ReactDOM.createPortal(
|
|
62988
62993
|
/* @__PURE__ */ React__default.createElement(
|
|
62989
62994
|
"div",
|
|
62990
62995
|
{
|
|
@@ -63023,13 +63028,18 @@ function KeyboardTray({ onClick }) {
|
|
|
63023
63028
|
document.body
|
|
63024
63029
|
);
|
|
63025
63030
|
}
|
|
63026
|
-
|
|
63027
|
-
|
|
63028
|
-
|
|
63029
|
-
|
|
63030
|
-
|
|
63031
|
-
|
|
63032
|
-
|
|
63031
|
+
let virtualKeyboardState;
|
|
63032
|
+
if (window.virtualKeyboardState) {
|
|
63033
|
+
virtualKeyboardState = window.virtualKeyboardState;
|
|
63034
|
+
} else {
|
|
63035
|
+
virtualKeyboardState = {
|
|
63036
|
+
count: 0,
|
|
63037
|
+
keyboardDomNode: null,
|
|
63038
|
+
keyboardReactRoot: null,
|
|
63039
|
+
callbacks: []
|
|
63040
|
+
};
|
|
63041
|
+
window.virtualKeyboardState = virtualKeyboardState;
|
|
63042
|
+
}
|
|
63033
63043
|
function UniqueKeyboardTray({ onClick }) {
|
|
63034
63044
|
React__default.useEffect(() => {
|
|
63035
63045
|
if (virtualKeyboardState.count === 0) {
|
|
@@ -63083,7 +63093,9 @@ function translateKeyboardEvent(commands) {
|
|
|
63083
63093
|
return { focusedMathField: command2 };
|
|
63084
63094
|
});
|
|
63085
63095
|
}
|
|
63086
|
-
function RecoilVirtualKeyboard(
|
|
63096
|
+
function RecoilVirtualKeyboard({
|
|
63097
|
+
keyboardIsOutsideIframe = false
|
|
63098
|
+
}) {
|
|
63087
63099
|
const callback = Recoil_index_20(focusedMathField);
|
|
63088
63100
|
const returnCallback = Recoil_index_20(focusedMathFieldReturn);
|
|
63089
63101
|
const [recoilEvents, setRecoilEvents] = React__default.useState([]);
|
|
@@ -63102,7 +63114,22 @@ function RecoilVirtualKeyboard() {
|
|
|
63102
63114
|
}
|
|
63103
63115
|
}
|
|
63104
63116
|
}, [recoilEvents]);
|
|
63105
|
-
|
|
63117
|
+
React__default.useEffect(() => {
|
|
63118
|
+
if (keyboardIsOutsideIframe) {
|
|
63119
|
+
const listener3 = (event) => {
|
|
63120
|
+
var _a4;
|
|
63121
|
+
if (event.origin !== window.parent.location.origin || ((_a4 = event.data) == null ? void 0 : _a4.subject) !== "keyboard") {
|
|
63122
|
+
return;
|
|
63123
|
+
}
|
|
63124
|
+
setRecoilEvents(translateKeyboardEvent(event.data.keyCommands));
|
|
63125
|
+
};
|
|
63126
|
+
window.parent.addEventListener("message", listener3);
|
|
63127
|
+
return () => {
|
|
63128
|
+
window.parent.removeEventListener("message", listener3);
|
|
63129
|
+
};
|
|
63130
|
+
}
|
|
63131
|
+
}, []);
|
|
63132
|
+
return keyboardIsOutsideIframe ? null : /* @__PURE__ */ React__default.createElement(
|
|
63106
63133
|
UniqueKeyboardTray,
|
|
63107
63134
|
{
|
|
63108
63135
|
onClick: (events2) => {
|
|
@@ -134052,7 +134079,7 @@ function EditorViewer({
|
|
|
134052
134079
|
/* @__PURE__ */ jsxRuntimeExports$2.jsx(Spacer, {}),
|
|
134053
134080
|
/* @__PURE__ */ jsxRuntimeExports$2.jsxs(Box, { alignSelf: "center", fontSize: "smaller", children: [
|
|
134054
134081
|
"Version: ",
|
|
134055
|
-
"0.7.0-
|
|
134082
|
+
"0.7.0-alpha16"
|
|
134056
134083
|
] })
|
|
134057
134084
|
]
|
|
134058
134085
|
}
|
|
@@ -134372,6 +134399,7 @@ function DoenetViewer({
|
|
|
134372
134399
|
forceShowSolution = false,
|
|
134373
134400
|
forceUnsuppressCheckwork = false,
|
|
134374
134401
|
addVirtualKeyboard = true,
|
|
134402
|
+
keyboardIsOutsideIframe = false,
|
|
134375
134403
|
addBottomPadding = false,
|
|
134376
134404
|
location,
|
|
134377
134405
|
navigate,
|
|
@@ -134445,7 +134473,7 @@ function DoenetViewer({
|
|
|
134445
134473
|
lastPropSet.current = thisPropSet;
|
|
134446
134474
|
}
|
|
134447
134475
|
}
|
|
134448
|
-
const keyboard = addVirtualKeyboard ? /* @__PURE__ */ jsxRuntimeExports$2.jsx(RecoilVirtualKeyboard, {}) : null;
|
|
134476
|
+
const keyboard = addVirtualKeyboard ? /* @__PURE__ */ jsxRuntimeExports$2.jsx(RecoilVirtualKeyboard, { keyboardIsOutsideIframe }) : null;
|
|
134449
134477
|
const viewer = /* @__PURE__ */ jsxRuntimeExports$2.jsx(
|
|
134450
134478
|
ActivityViewer,
|
|
134451
134479
|
{
|
|
@@ -134504,6 +134532,7 @@ function DoenetEditor({
|
|
|
134504
134532
|
activityId,
|
|
134505
134533
|
paginate = false,
|
|
134506
134534
|
addVirtualKeyboard = true,
|
|
134535
|
+
keyboardIsOutsideIframe = false,
|
|
134507
134536
|
addBottomPadding = false,
|
|
134508
134537
|
location,
|
|
134509
134538
|
navigate,
|
|
@@ -134526,7 +134555,7 @@ function DoenetEditor({
|
|
|
134526
134555
|
initialErrors = [],
|
|
134527
134556
|
initialWarnings = []
|
|
134528
134557
|
}) {
|
|
134529
|
-
const keyboard = addVirtualKeyboard ? /* @__PURE__ */ jsxRuntimeExports$2.jsx(RecoilVirtualKeyboard, {}) : null;
|
|
134558
|
+
const keyboard = addVirtualKeyboard ? /* @__PURE__ */ jsxRuntimeExports$2.jsx(RecoilVirtualKeyboard, { keyboardIsOutsideIframe }) : null;
|
|
134530
134559
|
const editor = /* @__PURE__ */ jsxRuntimeExports$2.jsx(
|
|
134531
134560
|
EditorViewer,
|
|
134532
134561
|
{
|