@doenet/doenetml 0.7.21-dev.393 → 0.7.21-dev.394
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-DQwAdHX2.js → AnswerResponseButton-D8cecyxo.js} +2 -2
- package/{Description-kcKiIsUu.js → Description-CpqUPpwA.js} +1 -1
- package/{GraphFrame-LDqZHTPC.js → GraphFrame-DkJnCqmY.js} +2 -2
- package/{JSXGraphRenderer-DGH7P4zf.js → JSXGraphRenderer-CQ4UnDuA.js} +1 -1
- package/{NonInlineMediaWrapper-CyfGNcth.js → NonInlineMediaWrapper-BJJ7dSCJ.js} +1 -1
- package/Viewer/DocViewer.d.ts.map +1 -1
- package/Viewer/renderers/answer.d.ts.map +1 -1
- package/Viewer/renderers/booleanInput.d.ts.map +1 -1
- package/Viewer/renderers/choiceInput.d.ts.map +1 -1
- package/Viewer/renderers/containerBlock.d.ts.map +1 -1
- package/Viewer/renderers/containerInline.d.ts.map +1 -1
- package/Viewer/renderers/fractionInput.d.ts.map +1 -1
- package/Viewer/renderers/list.d.ts.map +1 -1
- package/Viewer/renderers/mathInput.d.ts.map +1 -1
- package/Viewer/renderers/matrixInput.d.ts.map +1 -1
- package/Viewer/renderers/p.d.ts.map +1 -1
- package/Viewer/renderers/pretzel.d.ts.map +1 -1
- package/Viewer/renderers/section.d.ts.map +1 -1
- package/Viewer/renderers/textInput.d.ts.map +1 -1
- package/Viewer/renderers/utils/checkWork.d.ts +9 -2
- package/Viewer/renderers/utils/checkWork.d.ts.map +1 -1
- package/Viewer/renderers/utils/validationState.d.ts +7 -1
- package/Viewer/renderers/utils/validationState.d.ts.map +1 -1
- package/{_error-BuKpjCb1.js → _error-B4Oho622.js} +2 -2
- package/{alert-Cv1_RLrQ.js → alert-BL0q2ccF.js} +3 -3
- package/{angle-DcdoJNiv.js → angle-B78qnore.js} +6 -6
- package/{answer-BKBbzk3a.js → answer-CRrKuv0J.js} +7 -7
- package/{asList-pqSyJPcN.js → asList-Byc66duD.js} +2 -2
- package/{blockQuote-0LLUyiD7.js → blockQuote-VtHvsxDh.js} +3 -3
- package/{boolean-BVYrZLUc.js → boolean-BzxaJixO.js} +2 -2
- package/{booleanInput-DROlOkmS.js → booleanInput-Dv5TU6If.js} +8 -8
- package/{br-MvAHmErh.js → br-CUb6oTi6.js} +2 -2
- package/{button-RrnmXhwT.js → button-C9Hxh-2e.js} +4 -4
- package/{c-CHLIJ9rr.js → c-ylFmrkJc.js} +3 -3
- package/{cell-DaIk_iBZ.js → cell-B_vT-N8p.js} +3 -3
- package/{choiceInput-DUmyLdvW.js → choiceInput-CJIUcxFH.js} +7 -7
- package/{circle-CWyavNC6.js → circle-6QF0Ni9Y.js} +6 -6
- package/{cobwebPolyline-OoivfaI4.js → cobwebPolyline-DIYZW5Sc.js} +4 -4
- package/{codeEditor-MFGmzXrn.js → codeEditor-yddXkzmF.js} +2 -2
- package/{composites-Ur8mMp9J.js → composites-D3aDmkmy.js} +1 -1
- package/{containerBlock-BdsmwwE0.js → containerBlock-CcyGSn-A.js} +6 -6
- package/{containerInline-D2wrqOOZ.js → containerInline-D43T-PUb.js} +6 -6
- package/{curve-OUEZJHzC.js → curve-ZuACj1i8.js} +4 -4
- package/{doenetml-pwYrzume.js → doenetml-M4DBortx.js} +78 -63
- package/doenetml-external-worker.js +2 -2
- package/doenetml-inline-worker.js +2 -2
- package/{ellipsis-BY1gjFaj.js → ellipsis-CikXCTS4.js} +2 -2
- package/{em-CIC2L8-X.js → em-Bznqd91f.js} +3 -3
- package/{embed-CR9CoYHt.js → embed-vLohMCBG.js} +2 -2
- package/{feedback-BxUH7q4C.js → feedback-DRu7VSKX.js} +4 -4
- package/{figure-B0EkOX2h.js → figure-Jtc-fKzc.js} +3 -3
- package/{fillPatterns-C8vdMra-.js → fillPatterns-Cx9SYc5t.js} +1 -1
- package/{footnote-DySi7tuS.js → footnote-BjHWBHoB.js} +3 -3
- package/{fractionInput-aidkKaUT.js → fractionInput-BbJoQVWi.js} +7 -7
- package/{graph-CpJquYXz.js → graph-CoAsQ_ck.js} +6 -6
- package/{hint-_ReoOUSN.js → hint-DW58dgtH.js} +4 -4
- package/{hr-B-YChV4e.js → hr-CXoyx0h4.js} +2 -2
- package/{image-GucHr3Fs.js → image-DA8Rlq6z.js} +7 -7
- package/{index-D_WGbXnQ.js → index-o-rmv2Q6.js} +1 -1
- package/{index.es-CYh-S9ku.js → index.es-D0L-dwBl.js} +1 -1
- package/index.js +1 -1
- package/{label-CgJfmzuE.js → label-BTrHrS2r.js} +6 -6
- package/{labelWithLatex-Dyh44zVC.js → labelWithLatex-D2_zUZ8t.js} +1 -1
- package/{legend-CB1XhEFU.js → legend-BPkT7kuB.js} +4 -4
- package/{line-Cso0t33P.js → line-Cegmf8m3.js} +6 -6
- package/{lineFamilyDragHandlers-D49hLbrj.js → lineFamilyDragHandlers-BdbaGIUE.js} +1 -1
- package/{lineSegment-B8O3N9Cu.js → lineSegment-CGCfT6Da.js} +5 -5
- package/{list-CZTnP_Ds.js → list-a67fT9yh.js} +6 -6
- package/{lq-DWeaQAwV.js → lq-6oZLm5K6.js} +2 -2
- package/{lsq-Il7EMuuO.js → lsq-D0YQbDIR.js} +2 -2
- package/{markupRenderer-C_yN5ah4.js → markupRenderer-CKCx6OJL.js} +1 -1
- package/{math-D7vT-BqW.js → math-C3t9SSI5.js} +6 -6
- package/{mathInput-CIJP6Soy.js → mathInput-CokLvyoG.js} +10 -10
- package/{matrixInput-DV1bXIG9.js → matrixInput-Cwo-V_Yk.js} +6 -5
- package/{mdash-DAOr4MG9.js → mdash-BDGj1dpJ.js} +2 -2
- package/{nbsp-CafnSEbd.js → nbsp-lE5WK9SF.js} +2 -2
- package/{ndash--E9FnFYk.js → ndash-DdoXaOfJ.js} +2 -2
- package/{number-usb1aLJ7.js → number-DtJ-CTaw.js} +6 -6
- package/{orbitalDiagram-D1oi-yDi.js → orbitalDiagram-DPLf42mz.js} +2 -2
- package/{orbitalDiagramInput-CTIhyhUz.js → orbitalDiagramInput-Dm2XgaLh.js} +2 -2
- package/{p-hln_7ooZ.js → p-BGiiZMSa.js} +6 -6
- package/package.json +1 -1
- package/{paginatorControls-0ymdghMm.js → paginatorControls-BUD-MI2d.js} +2 -2
- package/{pegboard-CKooxSGH.js → pegboard-CQI5zwd8.js} +4 -4
- package/{point-BSxJ2BnS.js → point-BxczWypz.js} +6 -6
- package/{polygon-CBNRp60z.js → polygon-DwRxpJ3-.js} +6 -6
- package/{polyline-GAh4H9p0.js → polyline-CqlaMAc9.js} +5 -5
- package/{pre-zDQgCXFe.js → pre-HrqEtqQJ.js} +3 -3
- package/{prefigure-G--3no_a.js → prefigure-DmFL_GTz.js} +1 -1
- package/{pretzel-OcJYDh1B.js → pretzel-S2OXRrpz.js} +6 -5
- package/{q-3Dia_368.js → q-2gFYzLe-.js} +3 -3
- package/{ray-07T3Uzf_.js → ray-Cm4aCzsB.js} +5 -5
- package/{ref-Ds74I8Cw.js → ref-gXA8ndaP.js} +2 -2
- package/{regionBetweenCurveXAxis-C4RFBXHq.js → regionBetweenCurveXAxis-CpsnQ4zy.js} +5 -5
- package/{regionBetweenCurves-I902DEC-.js → regionBetweenCurves-D8j17vWE.js} +5 -5
- package/{row-CwUonUzt.js → row-Doiu0TLJ.js} +2 -2
- package/{rq-DrSf5VSd.js → rq-1_gG74Jw.js} +2 -2
- package/{rsq-C5kUzS8d.js → rsq-5j-4hYKU.js} +2 -2
- package/{section-PMLPEMUv.js → section-D9ATngmG.js} +7 -6
- package/{sha256-AuWkkb03-BxQuqeyG.js → sha256-AuWkkb03-SPFNQ78W.js} +1 -1
- package/{sideBySide-D32_g8FK.js → sideBySide-amvyICUd.js} +2 -2
- package/{slider-BYhpoM2O.js → slider-DImp35oF.js} +3 -3
- package/{solution-CbXNhznJ.js → solution-DH8QweIs.js} +4 -4
- package/{spreadsheet-ozrM7-UB.js → spreadsheet-CpaizOgd.js} +2 -2
- package/{sq-CAKz9x_X.js → sq-D9SSTgIX.js} +3 -3
- package/{subsetOfRealsInput-C1qF4zde.js → subsetOfRealsInput-6nUGa76R.js} +2 -2
- package/{summaryStatistics-Blmw-X1a.js → summaryStatistics-DiWNUeD3.js} +2 -2
- package/{table-DmRTyhL0.js → table-C5W6jTEg.js} +2 -2
- package/{tabular-C6v4sxO_.js → tabular-CTNsSyqf.js} +2 -2
- package/{tag-BCmJ32cM.js → tag-Dwt_sh99.js} +2 -2
- package/{text-CeMtCdIU.js → text-CCC_HiXX.js} +6 -6
- package/{textInput-DQijaHeR.js → textInput-N47wvFgX.js} +9 -9
- package/{tooltip-provider-BxNX9ykJ.js → tooltip-provider-D4iBdY_5.js} +1 -1
- package/{useAnchoredGraphDragHandler-B5i789Rc.js → useAnchoredGraphDragHandler-DgiHGeuc.js} +1 -1
- package/useDoenetRenderer-xKXv4Q3h.js +114 -0
- package/{useSubmitActionWithDelay-YEoNlg6K.js → useSubmitActionWithDelay-CfntauU-.js} +2 -2
- package/utils/i18n.d.ts +58 -0
- package/utils/i18n.d.ts.map +1 -1
- package/{vector-BRN-3p5O.js → vector-CqDzM8VB.js} +6 -6
- package/{video--Z4kLzNs.js → video-Dqu_SN1a.js} +4 -4
- package/useDoenetRenderer-Crmjm0_-.js +0 -114
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { u as useT, p as jsxRuntimeExports,
|
|
2
|
-
import { T as TooltipProvider, a as TooltipAnchor, b as Tooltip } from "./tooltip-provider-
|
|
1
|
+
import { u as useT, p as jsxRuntimeExports, E as Button } from "./doenetml-M4DBortx.js";
|
|
2
|
+
import { T as TooltipProvider, a as TooltipAnchor, b as Tooltip } from "./tooltip-provider-D4iBdY_5.js";
|
|
3
3
|
function AnswerResponseButton({
|
|
4
4
|
answerId,
|
|
5
5
|
answerComponentIdx,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Q as memo, R as forwardRef, S as createElement, U as createHook, V as usePopoverContext, W as invariant, X as useStoreState, Y as getBasePlacement, Z as useId, $ as useMergeRefs, p as jsxRuntimeExports, a0 as removeUndefinedValues, a1 as useSafeLayoutEffect, a2 as getWindow, a3 as usePopoverStore, q as DocContext, u as useT, a4 as PopoverDisclosure, a5 as MdInfoOutline, a6 as Popover } from "./doenetml-M4DBortx.js";
|
|
2
2
|
import { useMemo, useState, useRef, useContext } from "react";
|
|
3
3
|
const POPOVER_ARROW_PATH = "M23 27.8C24.1 29 26.4 30 28 30H30H0H2C3.7 30 5.9 29 7 27.8L14 20.6C14.7 19.8 15.3 19.8 16 20.6L23 27.8Z";
|
|
4
4
|
const TagName = "div";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { p as jsxRuntimeExports } from "./doenetml-M4DBortx.js";
|
|
2
2
|
import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
|
|
3
|
-
import { D as DescriptionPopover, a as DescriptionAsDetails } from "./Description-
|
|
3
|
+
import { D as DescriptionPopover, a as DescriptionAsDetails } from "./Description-CpqUPpwA.js";
|
|
4
4
|
function GraphFrame({
|
|
5
5
|
id,
|
|
6
6
|
SVs,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DocViewer.d.ts","sourceRoot":"","sources":["../../src/Viewer/DocViewer.tsx"],"names":[],"mappings":"AAAA,OAAO,KASN,MAAM,OAAO,CAAC;AAQf,OAAO,KAAK,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,MAAM,eAAe,CAAC;AAe5E,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAkB5C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"DocViewer.d.ts","sourceRoot":"","sources":["../../src/Viewer/DocViewer.tsx"],"names":[],"mappings":"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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"answer.d.ts","sourceRoot":"","sources":["../../../src/Viewer/renderers/answer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAC1C,OAA0B,EACtB,sBAAsB,EACzB,MAAM,sBAAsB,CAAC;;AA0B9B,
|
|
1
|
+
{"version":3,"file":"answer.d.ts","sourceRoot":"","sources":["../../../src/Viewer/renderers/answer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAC1C,OAA0B,EACtB,sBAAsB,EACzB,MAAM,sBAAsB,CAAC;;AA0B9B,wBA8IG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"booleanInput.d.ts","sourceRoot":"","sources":["../../../src/Viewer/renderers/booleanInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkD,MAAM,OAAO,CAAC;AAEvE,OAA0B,EACtB,sBAAsB,EACzB,MAAM,sBAAsB,CAAC;AAE9B,OAAO,oBAAoB,CAAC;;AAoC5B,
|
|
1
|
+
{"version":3,"file":"booleanInput.d.ts","sourceRoot":"","sources":["../../../src/Viewer/renderers/booleanInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkD,MAAM,OAAO,CAAC;AAEvE,OAA0B,EACtB,sBAAsB,EACzB,MAAM,sBAAsB,CAAC;AAE9B,OAAO,oBAAoB,CAAC;;AAoC5B,wBAslBG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"choiceInput.d.ts","sourceRoot":"","sources":["../../../src/Viewer/renderers/choiceInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAMN,MAAM,OAAO,CAAC;AACf,OAA0B,EACtB,sBAAsB,EACzB,MAAM,sBAAsB,CAAC;AAK9B,OAAO,mBAAmB,CAAC;AAoB3B;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,wBAAwB;cACvB,OAAO;cACP,OAAO;EACmB,CAAC;;AA0BzC,
|
|
1
|
+
{"version":3,"file":"choiceInput.d.ts","sourceRoot":"","sources":["../../../src/Viewer/renderers/choiceInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAMN,MAAM,OAAO,CAAC;AACf,OAA0B,EACtB,sBAAsB,EACzB,MAAM,sBAAsB,CAAC;AAK9B,OAAO,mBAAmB,CAAC;AAoB3B;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,wBAAwB;cACvB,OAAO;cACP,OAAO;EACmB,CAAC;;AA0BzC,wBAkrBG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"containerBlock.d.ts","sourceRoot":"","sources":["../../../src/Viewer/renderers/containerBlock.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiB,MAAM,OAAO,CAAC;AACtC,OAA0B,EACtB,sBAAsB,EACzB,MAAM,sBAAsB,CAAC;;AAkB9B,
|
|
1
|
+
{"version":3,"file":"containerBlock.d.ts","sourceRoot":"","sources":["../../../src/Viewer/renderers/containerBlock.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiB,MAAM,OAAO,CAAC;AACtC,OAA0B,EACtB,sBAAsB,EACzB,MAAM,sBAAsB,CAAC;;AAkB9B,wBAgEG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"containerInline.d.ts","sourceRoot":"","sources":["../../../src/Viewer/renderers/containerInline.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAA0B,EACtB,sBAAsB,EACzB,MAAM,sBAAsB,CAAC;;AAgB9B,
|
|
1
|
+
{"version":3,"file":"containerInline.d.ts","sourceRoot":"","sources":["../../../src/Viewer/renderers/containerInline.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAA0B,EACtB,sBAAsB,EACzB,MAAM,sBAAsB,CAAC;;AAgB9B,wBAoDG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fractionInput.d.ts","sourceRoot":"","sources":["../../../src/Viewer/renderers/fractionInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiB,MAAM,OAAO,CAAC;AACtC,OAA0B,EACtB,sBAAsB,EACzB,MAAM,sBAAsB,CAAC;AAG9B,OAAO,qBAAqB,CAAC;AAC7B,OAAO,iBAAiB,CAAC;;AAyBzB,
|
|
1
|
+
{"version":3,"file":"fractionInput.d.ts","sourceRoot":"","sources":["../../../src/Viewer/renderers/fractionInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiB,MAAM,OAAO,CAAC;AACtC,OAA0B,EACtB,sBAAsB,EACzB,MAAM,sBAAsB,CAAC;AAG9B,OAAO,qBAAqB,CAAC;AAC7B,OAAO,iBAAiB,CAAC;;AAyBzB,wBAuKG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../src/Viewer/renderers/list.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiB,MAAM,OAAO,CAAC;AACtC,OAA0B,EACtB,sBAAsB,EACzB,MAAM,sBAAsB,CAAC;;AAqB9B,
|
|
1
|
+
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../src/Viewer/renderers/list.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiB,MAAM,OAAO,CAAC;AACtC,OAA0B,EACtB,sBAAsB,EACzB,MAAM,sBAAsB,CAAC;;AAqB9B,wBA4GG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mathInput.d.ts","sourceRoot":"","sources":["../../../src/Viewer/renderers/mathInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAQN,MAAM,OAAO,CAAC;AAGf,OAA0B,EACtB,sBAAsB,EACzB,MAAM,sBAAsB,CAAC;AAG9B,OAAO,2BAA2B,CAAC;AAOnC,OAAO,iBAAiB,CAAC;AAyYzB,MAAM,CAAC,OAAO,UAAU,SAAS,CAAC,KAAK,EAAE,sBAAsB,
|
|
1
|
+
{"version":3,"file":"mathInput.d.ts","sourceRoot":"","sources":["../../../src/Viewer/renderers/mathInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAQN,MAAM,OAAO,CAAC;AAGf,OAA0B,EACtB,sBAAsB,EACzB,MAAM,sBAAsB,CAAC;AAG9B,OAAO,2BAA2B,CAAC;AAOnC,OAAO,iBAAiB,CAAC;AAyYzB,MAAM,CAAC,OAAO,UAAU,SAAS,CAAC,KAAK,EAAE,sBAAsB,4BAg9B9D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"matrixInput.d.ts","sourceRoot":"","sources":["../../../src/Viewer/renderers/matrixInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6B,MAAM,OAAO,CAAC;AAClD,OAA0B,EACtB,sBAAsB,EACzB,MAAM,sBAAsB,CAAC;AAM9B,OAAO,mBAAmB,CAAC;AAC3B,OAAO,iBAAiB,CAAC;;AA0BzB,
|
|
1
|
+
{"version":3,"file":"matrixInput.d.ts","sourceRoot":"","sources":["../../../src/Viewer/renderers/matrixInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6B,MAAM,OAAO,CAAC;AAClD,OAA0B,EACtB,sBAAsB,EACzB,MAAM,sBAAsB,CAAC;AAM9B,OAAO,mBAAmB,CAAC;AAC3B,OAAO,iBAAiB,CAAC;;AA0BzB,wBAsQG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"p.d.ts","sourceRoot":"","sources":["../../../src/Viewer/renderers/p.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAA0B,EACtB,sBAAsB,EACzB,MAAM,sBAAsB,CAAC;;AAmB9B,
|
|
1
|
+
{"version":3,"file":"p.d.ts","sourceRoot":"","sources":["../../../src/Viewer/renderers/p.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAA0B,EACtB,sBAAsB,EACzB,MAAM,sBAAsB,CAAC;;AAmB9B,wBA6DG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pretzel.d.ts","sourceRoot":"","sources":["../../../src/Viewer/renderers/pretzel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2C,MAAM,OAAO,CAAC;AAChE,OAA0B,EACtB,sBAAsB,EACzB,MAAM,sBAAsB,CAAC;AAI9B,OAAO,eAAe,CAAC;;AAgBvB,
|
|
1
|
+
{"version":3,"file":"pretzel.d.ts","sourceRoot":"","sources":["../../../src/Viewer/renderers/pretzel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2C,MAAM,OAAO,CAAC;AAChE,OAA0B,EACtB,sBAAsB,EACzB,MAAM,sBAAsB,CAAC;AAI9B,OAAO,eAAe,CAAC;;AAgBvB,wBAqIG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"section.d.ts","sourceRoot":"","sources":["../../../src/Viewer/renderers/section.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAwC,MAAM,OAAO,CAAC;AAW7D,OAA0B,EACtB,sBAAsB,EACzB,MAAM,sBAAsB,CAAC;;AAmC9B,
|
|
1
|
+
{"version":3,"file":"section.d.ts","sourceRoot":"","sources":["../../../src/Viewer/renderers/section.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAwC,MAAM,OAAO,CAAC;AAW7D,OAA0B,EACtB,sBAAsB,EACzB,MAAM,sBAAsB,CAAC;;AAmC9B,wBAqmBG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"textInput.d.ts","sourceRoot":"","sources":["../../../src/Viewer/renderers/textInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkD,MAAM,OAAO,CAAC;AAEvE,OAA0B,EACtB,sBAAsB,EACzB,MAAM,sBAAsB,CAAC;AAc9B,OAAO,iBAAiB,CAAC;AA6BzB,MAAM,CAAC,OAAO,UAAU,SAAS,CAAC,KAAK,EAAE,sBAAsB,
|
|
1
|
+
{"version":3,"file":"textInput.d.ts","sourceRoot":"","sources":["../../../src/Viewer/renderers/textInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkD,MAAM,OAAO,CAAC;AAEvE,OAA0B,EACtB,sBAAsB,EACzB,MAAM,sBAAsB,CAAC;AAc9B,OAAO,iBAAiB,CAAC;AA6BzB,MAAM,CAAC,OAAO,UAAU,SAAS,CAAC,KAAK,EAAE,sBAAsB,4BAutB9D"}
|
|
@@ -20,8 +20,15 @@ export declare function calculateValidationState(SVs: Record<string, any>): Vali
|
|
|
20
20
|
* - showText: if true, then the button includes text like "Submit" or "Correct"
|
|
21
21
|
* in addition to the symbols
|
|
22
22
|
* - isPending: if true, shows pending/checking state with spinner
|
|
23
|
-
* - t:
|
|
24
|
-
*
|
|
23
|
+
* - t: translator for the *document's* language, from `useContentT()` — not
|
|
24
|
+
* the reader's. The resting label is `SVs.submitLabel`, which the core
|
|
25
|
+
* computed against `documentLocale` because authored prose can name it
|
|
26
|
+
* ("Pulsa el botón $ans.submitLabel"), so everything else written here has
|
|
27
|
+
* to answer to the same tag: the verdict, the status only a screen reader
|
|
28
|
+
* hears, and the message line beside the button, which sits next to
|
|
29
|
+
* `submitLabel` in one hidden span or one joined sentence. See `useContentT`
|
|
30
|
+
* for the whole argument. Passed in rather than read from context here
|
|
31
|
+
* because this is a plain function that several renderers call
|
|
25
32
|
* conditionally, so it cannot itself use a hook.
|
|
26
33
|
*/
|
|
27
34
|
export declare function createCheckWorkComponent(SVs: Record<string, any>, id: string, validationState: ValidationState, submitAnswer: () => void, showText: boolean, isPending: boolean, t: Translator): React.JSX.Element | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"checkWork.d.ts","sourceRoot":"","sources":["../../../../src/Viewer/renderers/utils/checkWork.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAU1B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,iBAAiB,CAAC;AAEzB,8CAA8C;AAC9C,MAAM,MAAM,eAAe,GACvB,aAAa,GAAG,SAAS,GAAG,WAAW,GAAG,gBAAgB,CAAC;AAE/D;;;;;GAKG;AACH,wBAAgB,wBAAwB,CACpC,GAAG,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GACzB,eAAe,CAYjB;AAED
|
|
1
|
+
{"version":3,"file":"checkWork.d.ts","sourceRoot":"","sources":["../../../../src/Viewer/renderers/utils/checkWork.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAU1B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,iBAAiB,CAAC;AAEzB,8CAA8C;AAC9C,MAAM,MAAM,eAAe,GACvB,aAAa,GAAG,SAAS,GAAG,WAAW,GAAG,gBAAgB,CAAC;AAE/D;;;;;GAKG;AACH,wBAAgB,wBAAwB,CACpC,GAAG,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GACzB,eAAe,CAYjB;AAED;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,wBAAwB,CACpC,GAAG,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EACxB,EAAE,EAAE,MAAM,EACV,eAAe,EAAE,eAAe,EAChC,YAAY,EAAE,MAAM,IAAI,EACxB,QAAQ,EAAE,OAAO,EACjB,SAAS,EAAE,OAAO,EAClB,CAAC,EAAE,UAAU,4BAkMhB"}
|
|
@@ -4,7 +4,13 @@ import { Translator } from '../../../../packages/i18n/dist';
|
|
|
4
4
|
*
|
|
5
5
|
* @param validationState - one of "correct", "incorrect", "partialcorrect", or "unvalidated"
|
|
6
6
|
* @param shortDescription - the existing short description
|
|
7
|
-
* @param t -
|
|
7
|
+
* @param t - translator for the *document's* language, from `useContentT()`.
|
|
8
|
+
* This suffix and the check-work button beside it announce the same verdict
|
|
9
|
+
* about the same response, so they are one control and answer to one tag
|
|
10
|
+
* (see `useContentT`). Being addressed to a screen reader does not put it on
|
|
11
|
+
* `uiLocale`: the button's own `aria-live` region is addressed there too and
|
|
12
|
+
* follows the document. Splitting them would land only on screen-reader
|
|
13
|
+
* users, who are the only ones who hear both.
|
|
8
14
|
* @returns updated short description with validation state appended if applicable
|
|
9
15
|
*/
|
|
10
16
|
export declare function addValidationStateToShortDescription(validationState: string, shortDescription: string | undefined, t: Translator): string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validationState.d.ts","sourceRoot":"","sources":["../../../../src/Viewer/renderers/utils/validationState.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C
|
|
1
|
+
{"version":3,"file":"validationState.d.ts","sourceRoot":"","sources":["../../../../src/Viewer/renderers/utils/validationState.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C;;;;;;;;;;;;;GAaG;AACH,wBAAgB,oCAAoC,CAChD,eAAe,EAAE,MAAM,EACvB,gBAAgB,EAAE,MAAM,GAAG,SAAS,EACpC,CAAC,EAAE,UAAU,sBAkBhB"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { u as useT, n as useUiLocale, o as useDiagnosticFormatter, p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useT, n as useUiLocale, o as useDiagnosticFormatter, p as jsxRuntimeExports } from "./doenetml-M4DBortx.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-xKXv4Q3h.js";
|
|
4
4
|
const _error = React__default.memo(function Error(props) {
|
|
5
5
|
let { id, SVs, children } = useDoenetRenderer(props);
|
|
6
6
|
const t = useT();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { p as jsxRuntimeExports } from "./doenetml-M4DBortx.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
4
|
-
import { a as addCommasForCompositeRanges } from "./composites-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-xKXv4Q3h.js";
|
|
4
|
+
import { a as addCommasForCompositeRanges } from "./composites-D3aDmkmy.js";
|
|
5
5
|
const alert = React__default.memo(function Alert(props) {
|
|
6
6
|
let { id, SVs, children } = useDoenetRenderer(props);
|
|
7
7
|
if (SVs.hidden) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { q as DocContext, p as jsxRuntimeExports, t as textRendererStyle, v as DynamicMath } from "./doenetml-
|
|
1
|
+
import { q as DocContext, p as jsxRuntimeExports, t as textRendererStyle, v as DynamicMath } from "./doenetml-M4DBortx.js";
|
|
2
2
|
import React__default, { useContext, useRef, useEffect } from "react";
|
|
3
|
-
import { j as jxg, s as syncLayer, a as syncWithLabelToggle, b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-
|
|
4
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
5
|
-
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-
|
|
6
|
-
import { ChoiceInputInlineContext } from "./choiceInput-
|
|
7
|
-
import { g as getPatternFillAttributes } from "./fillPatterns-
|
|
3
|
+
import { j as jxg, s as syncLayer, a as syncWithLabelToggle, b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-CQ4UnDuA.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-xKXv4Q3h.js";
|
|
5
|
+
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-CoAsQ_ck.js";
|
|
6
|
+
import { ChoiceInputInlineContext } from "./choiceInput-CJIUcxFH.js";
|
|
7
|
+
import { g as getPatternFillAttributes } from "./fillPatterns-Cx9SYc5t.js";
|
|
8
8
|
import { r as resolveFillColor, a as resolveLineColor, b as resolveCanvasColor } from "./styleColors-Cknqcr0q.js";
|
|
9
9
|
const angle = React__default.memo(function Angle(props) {
|
|
10
10
|
let { id, SVs } = useDoenetRenderer(props);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { w as useContentT, q as DocContext, p as jsxRuntimeExports, v as DynamicMath } from "./doenetml-M4DBortx.js";
|
|
2
2
|
import React__default, { useContext } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
4
|
-
import { A as AnswerResponseButton } from "./AnswerResponseButton-
|
|
5
|
-
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-
|
|
6
|
-
import { D as DescriptionPopover } from "./Description-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-xKXv4Q3h.js";
|
|
4
|
+
import { A as AnswerResponseButton } from "./AnswerResponseButton-D8cecyxo.js";
|
|
5
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-CfntauU-.js";
|
|
6
|
+
import { D as DescriptionPopover } from "./Description-CpqUPpwA.js";
|
|
7
7
|
const answer = React__default.memo(function Answer(props) {
|
|
8
8
|
let {
|
|
9
9
|
componentIdx,
|
|
@@ -16,7 +16,7 @@ const answer = React__default.memo(function Answer(props) {
|
|
|
16
16
|
flags,
|
|
17
17
|
callAction
|
|
18
18
|
} = useDoenetRenderer(props);
|
|
19
|
-
const
|
|
19
|
+
const tContent = useContentT();
|
|
20
20
|
const { showAnswerResponseButton, answerResponseCounts } = useContext(DocContext) || {};
|
|
21
21
|
if (SVs.hidden) {
|
|
22
22
|
return null;
|
|
@@ -64,7 +64,7 @@ const answer = React__default.memo(function Answer(props) {
|
|
|
64
64
|
submitActionWithPending,
|
|
65
65
|
SVs.forceFullCheckWorkButton || !SVs.forceSmallCheckWorkButton,
|
|
66
66
|
isPending,
|
|
67
|
-
|
|
67
|
+
tContent
|
|
68
68
|
);
|
|
69
69
|
if (checkWorkComponent) {
|
|
70
70
|
if (description) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { p as jsxRuntimeExports } from "./doenetml-M4DBortx.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-xKXv4Q3h.js";
|
|
4
4
|
const asList = React__default.memo(function AsList(props) {
|
|
5
5
|
let { id, SVs, children } = useDoenetRenderer(props);
|
|
6
6
|
if (SVs.hidden) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { x as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-M4DBortx.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
4
|
-
import { r as renderMarkupBody } from "./markupRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-xKXv4Q3h.js";
|
|
4
|
+
import { r as renderMarkupBody } from "./markupRenderer-CKCx6OJL.js";
|
|
5
5
|
const blockQuote = React__default.memo(function Container(props) {
|
|
6
6
|
const { id, SVs, children, actions, callAction } = useDoenetRenderer(props);
|
|
7
7
|
const ref = useRef(null);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { p as jsxRuntimeExports } from "./doenetml-M4DBortx.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-xKXv4Q3h.js";
|
|
4
4
|
const boolean = React__default.memo(function Boolean(props) {
|
|
5
5
|
let { id, SVs } = useDoenetRenderer(props, false);
|
|
6
6
|
if (SVs.hidden) {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { w as useContentT, y as Context, p as jsxRuntimeExports, M as MathJax, T as ToggleButton } from "./doenetml-M4DBortx.js";
|
|
2
2
|
import React__default, { useState, useRef, useContext, 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-CQ4UnDuA.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-xKXv4Q3h.js";
|
|
5
|
+
import { BoardContext } from "./graph-CoAsQ_ck.js";
|
|
6
6
|
import { g as getPositionFromAnchorByCoordinate, P as POINTER_DRAG_THRESHOLD } from "./graph-W6vrFcBu.js";
|
|
7
|
-
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-
|
|
8
|
-
import { D as DescriptionPopover } from "./Description-
|
|
7
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-CfntauU-.js";
|
|
8
|
+
import { D as DescriptionPopover } from "./Description-CpqUPpwA.js";
|
|
9
9
|
const booleanInput = React__default.memo(function BooleanInput(props) {
|
|
10
10
|
let { id, SVs, children, actions, ignoreUpdate, callAction } = useDoenetRenderer(props);
|
|
11
|
-
const
|
|
11
|
+
const tContent = useContentT();
|
|
12
12
|
BooleanInput.baseStateVariable = "value";
|
|
13
13
|
BooleanInput.ignoreActionsWithoutCore = (actionName) => actionName === "moveInput";
|
|
14
14
|
const [rendererValue, setRendererValue] = useState(SVs.value);
|
|
@@ -347,7 +347,7 @@ const booleanInput = React__default.memo(function BooleanInput(props) {
|
|
|
347
347
|
submitActionWithPending,
|
|
348
348
|
SVs.forceFullCheckWorkButton,
|
|
349
349
|
isPending,
|
|
350
|
-
|
|
350
|
+
tContent
|
|
351
351
|
);
|
|
352
352
|
let input;
|
|
353
353
|
let label = SVs.label;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { p as jsxRuntimeExports } from "./doenetml-M4DBortx.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-xKXv4Q3h.js";
|
|
4
4
|
const br = React__default.memo(function Br(props) {
|
|
5
5
|
let { id, SVs } = useDoenetRenderer(props);
|
|
6
6
|
if (SVs.hidden) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { y as Context, z as cesc, p as jsxRuntimeExports, B as Button2 } from "./doenetml-M4DBortx.js";
|
|
2
2
|
import React__default, { useRef, useContext, 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-CQ4UnDuA.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-xKXv4Q3h.js";
|
|
5
|
+
import { BoardContext } from "./graph-CoAsQ_ck.js";
|
|
6
6
|
import { g as getPositionFromAnchorByCoordinate, P as POINTER_DRAG_THRESHOLD } from "./graph-W6vrFcBu.js";
|
|
7
7
|
const button = React__default.memo(function ButtonComponent(props) {
|
|
8
8
|
let { id, SVs, actions, callAction } = useDoenetRenderer(
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { p as jsxRuntimeExports } from "./doenetml-M4DBortx.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-xKXv4Q3h.js";
|
|
4
|
+
import { r as renderMarkupBody } from "./markupRenderer-CKCx6OJL.js";
|
|
5
5
|
const c = React__default.memo(function C(props) {
|
|
6
6
|
const { id, SVs, children } = useDoenetRenderer(props);
|
|
7
7
|
const body = renderMarkupBody({ SVs, children });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { p as jsxRuntimeExports } from "./doenetml-M4DBortx.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
4
|
-
import { a as addCommasForCompositeRanges } from "./composites-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-xKXv4Q3h.js";
|
|
4
|
+
import { a as addCommasForCompositeRanges } from "./composites-D3aDmkmy.js";
|
|
5
5
|
const cell = React__default.memo(function Cell(props) {
|
|
6
6
|
let { id, SVs, children } = useDoenetRenderer(props);
|
|
7
7
|
if (SVs.hidden) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { au as autoUpdate, w as useContentT, q as DocContext, p as jsxRuntimeExports, av as CANVAS_DARK_MODE_COLOR, M as MathJax } from "./doenetml-M4DBortx.js";
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
import React__default, { useState, useCallback, forwardRef, useContext, useLayoutEffect, useRef, useMemo, createContext, Component, Fragment, useEffect } from "react";
|
|
4
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-xKXv4Q3h.js";
|
|
5
5
|
import { a as _objectWithoutPropertiesLoose, _ as _setPrototypeOf, b as _extends } from "./setPrototypeOf-C-47lAIH.js";
|
|
6
6
|
import { createPortal } from "react-dom";
|
|
7
|
-
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-
|
|
8
|
-
import { D as DescriptionPopover } from "./Description-
|
|
7
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-CfntauU-.js";
|
|
8
|
+
import { D as DescriptionPopover } from "./Description-CpqUPpwA.js";
|
|
9
9
|
import { a as addValidationStateToShortDescription } from "./validationState-DI_lxk1a.js";
|
|
10
10
|
import { a as getBlockMarginWithOptionalTopSuppression } from "./nonInlineMediaLayout-CkXHaqzo.js";
|
|
11
11
|
function _typeof(o) {
|
|
@@ -5144,7 +5144,7 @@ const isMultiValue = (val) => {
|
|
|
5144
5144
|
const ChoiceInputInlineContext = createContext({ isHidden: false, inOption: false });
|
|
5145
5145
|
const choiceInput = React__default.memo(function ChoiceInput(props) {
|
|
5146
5146
|
let { id, SVs, actions, children, ignoreUpdate, callAction } = useDoenetRenderer(props);
|
|
5147
|
-
const
|
|
5147
|
+
const tContent = useContentT();
|
|
5148
5148
|
const { darkMode } = useContext(DocContext) || {};
|
|
5149
5149
|
ChoiceInput.baseStateVariable = "selectedIndices";
|
|
5150
5150
|
const [rendererSelectedIndices, setRendererSelectedIndices] = useState(SVs.selectedIndices);
|
|
@@ -5253,7 +5253,7 @@ const choiceInput = React__default.memo(function ChoiceInput(props) {
|
|
|
5253
5253
|
submitActionWithPending,
|
|
5254
5254
|
fullCheckWork,
|
|
5255
5255
|
isPending,
|
|
5256
|
-
|
|
5256
|
+
tContent
|
|
5257
5257
|
);
|
|
5258
5258
|
const inlineSelectComponents = useMemo(
|
|
5259
5259
|
() => ({
|
|
@@ -5279,7 +5279,7 @@ const choiceInput = React__default.memo(function ChoiceInput(props) {
|
|
|
5279
5279
|
shortDescription = addValidationStateToShortDescription(
|
|
5280
5280
|
validationState,
|
|
5281
5281
|
shortDescription,
|
|
5282
|
-
|
|
5282
|
+
tContent
|
|
5283
5283
|
);
|
|
5284
5284
|
}
|
|
5285
5285
|
const choiceChildren = SVs.choiceChildIndices.map(
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { q as DocContext, p as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { q as DocContext, p as jsxRuntimeExports } from "./doenetml-M4DBortx.js";
|
|
2
2
|
import React__default, { useContext, useRef } from "react";
|
|
3
|
-
import { j as jxg, s as syncLayer, e as syncLineStrokeStyle, a as syncWithLabelToggle, f as syncLabelStrokeColor, b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight, r as removeJXGEventHandlers } from "./JSXGraphRenderer-
|
|
4
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
5
|
-
import { BoardContext, POINT_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-
|
|
3
|
+
import { j as jxg, s as syncLayer, e as syncLineStrokeStyle, a as syncWithLabelToggle, f as syncLabelStrokeColor, b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight, r as removeJXGEventHandlers } from "./JSXGraphRenderer-CQ4UnDuA.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-xKXv4Q3h.js";
|
|
5
|
+
import { BoardContext, POINT_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-CoAsQ_ck.js";
|
|
6
6
|
import { c as characterizeOffGraphPoint, a as characterizeOffGraphCircleArc } from "./offGraphIndicators-CYoqQHuD.js";
|
|
7
7
|
import { n as normalizePointStyle, a as normalizePointSize, b as adjustPointLabelPosition, c as getEffectiveBoundingBox, d as getGraphCornerWithBuffer, e as calculatePointLabelAnchor } from "./graph-W6vrFcBu.js";
|
|
8
|
-
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-
|
|
8
|
+
import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-BdbaGIUE.js";
|
|
9
9
|
import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-DV6a8Wvg.js";
|
|
10
10
|
import { p as pointerEventToUserCoords } from "./dragThreshold-DuSSFrIU.js";
|
|
11
11
|
import { a as resolveLineColor, r as resolveFillColor, c as resolveMarkerColor, b as resolveCanvasColor } from "./styleColors-Cknqcr0q.js";
|
|
12
12
|
import { s as styleToDash } from "./styleToDash-DWb71gbd.js";
|
|
13
13
|
import { b as buildFilledShapeAttributes } from "./buildGraphicalAttributes-C7PtyKL7.js";
|
|
14
|
-
import { g as getPatternFillAttributes } from "./fillPatterns-
|
|
14
|
+
import { g as getPatternFillAttributes } from "./fillPatterns-Cx9SYc5t.js";
|
|
15
15
|
import { u as useDraggableRefs, a as useJSXGraphCleanup } from "./useJSXGraphCleanup-CX91oVW8.js";
|
|
16
16
|
const circle = React__default.memo(function Circle(props) {
|
|
17
17
|
let { componentIdx, id, SVs, actions, callAction } = useDoenetRenderer(props);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { A as createFunctionFromDefinition, p as jsxRuntimeExports } from "./doenetml-M4DBortx.js";
|
|
2
2
|
import React__default, { useContext, useRef } from "react";
|
|
3
|
-
import { j as jxg, b as syncLabelMaskCssStyle, 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-
|
|
3
|
+
import { j as jxg, b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-CQ4UnDuA.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-xKXv4Q3h.js";
|
|
5
|
+
import { BoardContext, LINE_LAYER_OFFSET, VERTEX_LAYER_OFFSET } from "./graph-CoAsQ_ck.js";
|
|
6
6
|
import { s as styleToDash } from "./styleToDash-DWb71gbd.js";
|
|
7
7
|
const cobwebPolyline = React__default.memo(function CobwebPolyline(props) {
|
|
8
8
|
let { componentIdx, id, SVs, actions, sourceOfUpdate, callAction } = useDoenetRenderer(props);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { p as jsxRuntimeExports,
|
|
1
|
+
import { p as jsxRuntimeExports, P as EditorViewer } from "./doenetml-M4DBortx.js";
|
|
2
2
|
import React__default, { useState, useEffect, useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-xKXv4Q3h.js";
|
|
4
4
|
import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
|
|
5
5
|
function resolveElements(elementOrSelector, scope, selectorCache) {
|
|
6
6
|
if (elementOrSelector == null) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { w as useContentT, x as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-M4DBortx.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-xKXv4Q3h.js";
|
|
4
|
+
import { a as addCommasForCompositeRanges } from "./composites-D3aDmkmy.js";
|
|
5
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-CfntauU-.js";
|
|
6
6
|
const containerBlock = React__default.memo(function Container(props) {
|
|
7
7
|
let { id, SVs, children, actions, callAction } = useDoenetRenderer(props);
|
|
8
|
-
const
|
|
8
|
+
const tContent = useContentT();
|
|
9
9
|
const ref = useRef(null);
|
|
10
10
|
useRecordVisibilityChanges(ref, callAction, actions);
|
|
11
11
|
if (SVs.hidden) {
|
|
@@ -28,7 +28,7 @@ const containerBlock = React__default.memo(function Container(props) {
|
|
|
28
28
|
submitActionWithPending,
|
|
29
29
|
true,
|
|
30
30
|
isPending,
|
|
31
|
-
|
|
31
|
+
tContent
|
|
32
32
|
);
|
|
33
33
|
if (checkWorkComponent) {
|
|
34
34
|
checkWorkComponent = /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: checkWorkComponent });
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { w as useContentT, p as jsxRuntimeExports } from "./doenetml-M4DBortx.js";
|
|
2
2
|
import React__default 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-xKXv4Q3h.js";
|
|
4
|
+
import { a as addCommasForCompositeRanges } from "./composites-D3aDmkmy.js";
|
|
5
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-CfntauU-.js";
|
|
6
6
|
const containerInline = React__default.memo(function ContainerInline(props) {
|
|
7
7
|
let { id, SVs, children, actions, callAction } = useDoenetRenderer(props);
|
|
8
|
-
const
|
|
8
|
+
const tContent = useContentT();
|
|
9
9
|
if (SVs.hidden) {
|
|
10
10
|
return null;
|
|
11
11
|
}
|
|
@@ -26,7 +26,7 @@ const containerInline = React__default.memo(function ContainerInline(props) {
|
|
|
26
26
|
submitActionWithPending,
|
|
27
27
|
true,
|
|
28
28
|
isPending,
|
|
29
|
-
|
|
29
|
+
tContent
|
|
30
30
|
);
|
|
31
31
|
}
|
|
32
32
|
if (SVs._compositeReplacementActiveRange) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { q as DocContext,
|
|
1
|
+
import { q as DocContext, A as createFunctionFromDefinition, p as jsxRuntimeExports } from "./doenetml-M4DBortx.js";
|
|
2
2
|
import React__default, { useContext, useRef } from "react";
|
|
3
|
-
import { s as syncLayer, f as syncLabelStrokeColor, b as syncLabelMaskCssStyle, g as syncVisPropValues, j as jxg, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-
|
|
4
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
5
|
-
import { BoardContext, VERTEX_LAYER_OFFSET, CONTROL_POINT_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-
|
|
3
|
+
import { s as syncLayer, f as syncLabelStrokeColor, b as syncLabelMaskCssStyle, g as syncVisPropValues, j as jxg, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-CQ4UnDuA.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-xKXv4Q3h.js";
|
|
5
|
+
import { BoardContext, VERTEX_LAYER_OFFSET, CONTROL_POINT_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-CoAsQ_ck.js";
|
|
6
6
|
import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-DV6a8Wvg.js";
|
|
7
7
|
import { a as resolveLineColor, d as resolveHandleColor } from "./styleColors-Cknqcr0q.js";
|
|
8
8
|
import { s as styleToDash } from "./styleToDash-DWb71gbd.js";
|