@doenet/doenetml 0.7.21-dev.415 → 0.7.21-dev.416

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.
Files changed (109) hide show
  1. package/{AnswerResponseButton-CsMwAC3t.js → AnswerResponseButton-Dd0HJDB-.js} +2 -2
  2. package/{Description-B_KGuyjX.js → Description-CeSquB0w.js} +1 -1
  3. package/{GraphFrame-BCe-sXyY.js → GraphFrame-7iZnp0Pp.js} +2 -2
  4. package/{JSXGraphRenderer-CTbAGksr.js → JSXGraphRenderer-CH3Etvtx.js} +1 -1
  5. package/{NonInlineMediaWrapper-DqUh14n5.js → NonInlineMediaWrapper-BPKCeJoI.js} +1 -1
  6. package/Viewer/renderers/lineSegment.d.ts.map +1 -1
  7. package/Viewer/renderers/polyline.d.ts.map +1 -1
  8. package/Viewer/renderers/utils/buildGraphicalAttributes.d.ts +28 -0
  9. package/Viewer/renderers/utils/buildGraphicalAttributes.d.ts.map +1 -1
  10. package/Viewer/renderers/utils/buildGraphicalAttributes.test.d.ts +2 -0
  11. package/Viewer/renderers/utils/buildGraphicalAttributes.test.d.ts.map +1 -0
  12. package/Viewer/renderers/vector.d.ts.map +1 -1
  13. package/{_error-8CVqZvs9.js → _error-BpXkUOcQ.js} +2 -2
  14. package/{alert-CnVNVwp0.js → alert-Dl4SKpDl.js} +3 -3
  15. package/{angle-DtykfDvk.js → angle-CHPAoa9_.js} +6 -6
  16. package/{answer-D8_55NUB.js → answer-BfTY7xDk.js} +5 -5
  17. package/{asList-Cvb4HFYc.js → asList-CIPYtO56.js} +2 -2
  18. package/{blockQuote-CD7LAibH.js → blockQuote-eD4WN8NB.js} +3 -3
  19. package/{boolean-i9xt_Fyy.js → boolean-AcXpBTjc.js} +2 -2
  20. package/{booleanInput-DxN2aj4D.js → booleanInput-D1KVVjD0.js} +6 -6
  21. package/{br-Ch6INIwC.js → br-sGi9NZV-.js} +2 -2
  22. package/{buildGraphicalAttributes-C7PtyKL7.js → buildGraphicalAttributes-0RNcbd2S.js} +22 -2
  23. package/{button-B5SnRU2e.js → button-zm1xKQ6P.js} +4 -4
  24. package/{c-DArDpN4A.js → c-CS1KT-i7.js} +3 -3
  25. package/{cell-BFX6fxf0.js → cell-DOy9dHlG.js} +3 -3
  26. package/{choiceInput-DXKjyCqp.js → choiceInput-BGjmqGv1.js} +4 -4
  27. package/{circle-AbQzXEA5.js → circle-CdXs4vCM.js} +7 -7
  28. package/{cobwebPolyline-CB6cVyKX.js → cobwebPolyline-nbaAuj6B.js} +4 -4
  29. package/{codeEditor-D0vhTs3g.js → codeEditor-AH1NzGY5.js} +2 -2
  30. package/{composites-BY7-JuTc.js → composites-_Ju1qHUH.js} +1 -1
  31. package/{containerBlock-Cm-kBh3q.js → containerBlock-BJZA-hug.js} +4 -4
  32. package/{containerInline-CcOaOhs8.js → containerInline-CErx1TlK.js} +4 -4
  33. package/{curve-CdVn_xI2.js → curve-CtGjIZZT.js} +4 -4
  34. package/{doenetml-RwjW6x7w.js → doenetml-CKC903On.js} +5 -5
  35. package/doenetml-external-worker.js +2 -2
  36. package/doenetml-inline-worker.js +2 -2
  37. package/{ellipsis-DVinv6-1.js → ellipsis-DfMIkq56.js} +2 -2
  38. package/{em-B8Bn3iQ8.js → em-C68xPdDA.js} +3 -3
  39. package/{embed-CCP_3Jzm.js → embed-EmlL532k.js} +2 -2
  40. package/{feedback-C7b_K-S3.js → feedback-BWaksokN.js} +4 -4
  41. package/{figure-vxfnUy1i.js → figure-DNohFiU-.js} +3 -3
  42. package/{fillPatterns-Cwsbhubm.js → fillPatterns-BC4vIjlx.js} +1 -1
  43. package/{footnote-DniX_WDV.js → footnote-C3cESiVn.js} +3 -3
  44. package/{fractionInput-Byd4TDY-.js → fractionInput-CbT0Fr4D.js} +4 -4
  45. package/{graph-BpbjUn8w.js → graph-Shoc8JnU.js} +6 -6
  46. package/{hint-BSyMGzDu.js → hint-CNCxpEVu.js} +4 -4
  47. package/{hr-Dv_52Wxd.js → hr-DccnD0xy.js} +2 -2
  48. package/{image-CDzqgIV7.js → image-DKmanipP.js} +7 -7
  49. package/{index-Ci4K0tDE.js → index-dmesrz8k.js} +1 -1
  50. package/{index.es-BCeR6l3D.js → index.es-DEgUxk1r.js} +1 -1
  51. package/index.js +1 -1
  52. package/{label-BpLxA1Ur.js → label-iXHeUsem.js} +6 -6
  53. package/{labelWithLatex-CsOmIYzz.js → labelWithLatex-DtXSmigp.js} +1 -1
  54. package/{legend-ZPzJ1SLv.js → legend-P8bA66Pn.js} +4 -4
  55. package/{line-B1QiilgT.js → line-DVW3oKW5.js} +7 -7
  56. package/{lineFamilyDragHandlers-DVSxZbFk.js → lineFamilyDragHandlers-Clzykt4r.js} +1 -1
  57. package/{lineSegment-CT3KASYT.js → lineSegment-CMfI8CzX.js} +14 -18
  58. package/{list-CseGxUq-.js → list-D_mXsSXQ.js} +4 -4
  59. package/{lq-CAAidAOg.js → lq-CyXQKGzw.js} +2 -2
  60. package/{lsq-B28Z8bv3.js → lsq-CKkVotjY.js} +2 -2
  61. package/{markupRenderer-BtKUERzJ.js → markupRenderer-D1tNv_Bq.js} +1 -1
  62. package/{math-BREIxh-E.js → math-DcMrHfiM.js} +6 -6
  63. package/{mathInput-BkKkb63g.js → mathInput-CM0oZNJB.js} +7 -7
  64. package/{matrixInput-BNWpketN.js → matrixInput-FuKpVk_a.js} +4 -4
  65. package/{mdash-9jp_u7Un.js → mdash-BABxuRC_.js} +2 -2
  66. package/{nbsp-C8hCQ6TS.js → nbsp-CUYTxD8h.js} +2 -2
  67. package/{ndash-CmJAVnNq.js → ndash-B-SHbaFG.js} +2 -2
  68. package/{number-r1umcD9p.js → number-BluUugiB.js} +6 -6
  69. package/{orbitalDiagram-CaNwebaQ.js → orbitalDiagram-CcsEMNH5.js} +2 -2
  70. package/{orbitalDiagramInput-B5JhTAdB.js → orbitalDiagramInput-BaR6FltQ.js} +2 -2
  71. package/{p-DP7YNDfx.js → p-DMbbK7I1.js} +4 -4
  72. package/package.json +1 -1
  73. package/{paginatorControls-B-qNFkKU.js → paginatorControls-B-F1HpS4.js} +2 -2
  74. package/{pegboard-D7nAJ6RY.js → pegboard-BGC31Eyq.js} +4 -4
  75. package/{point-C59ja3n2.js → point-BT1XGRo9.js} +6 -6
  76. package/{polygon-CT-ARozK.js → polygon-Cfu9QrkP.js} +7 -7
  77. package/{polyline-DeGq7WP0.js → polyline-san0khs-.js} +9 -15
  78. package/{pre-BHH6fa9U.js → pre-BHN7blJZ.js} +3 -3
  79. package/{prefigure-BnSkAPHE.js → prefigure-C7f9UcnA.js} +1 -1
  80. package/{pretzel-CC5NgapN.js → pretzel-CmIYOB8F.js} +4 -4
  81. package/{q-CcNznZUD.js → q-tXX3oDTu.js} +3 -3
  82. package/{ray-D1b2GIcp.js → ray-BMK7xaAg.js} +6 -6
  83. package/{ref-OLToqdQ5.js → ref-65DT_x0u.js} +2 -2
  84. package/{regionBetweenCurveXAxis-PPEOPw8t.js → regionBetweenCurveXAxis-BsTsPQRg.js} +5 -5
  85. package/{regionBetweenCurves-DOtEzJak.js → regionBetweenCurves-C_M-pjuM.js} +5 -5
  86. package/{row-D42z_svT.js → row-DKwY5fZc.js} +2 -2
  87. package/{rq-DdecWWBG.js → rq-aLJVzNtD.js} +2 -2
  88. package/{rsq-D2qKFBXV.js → rsq-Bi1u3srM.js} +2 -2
  89. package/{section-AwW9I9a-.js → section-C_bOjYSJ.js} +5 -5
  90. package/{sha256-Bzrm4-tO-BHq68al3.js → sha256-Bzrm4-tO-BdovCL5S.js} +1 -1
  91. package/{sideBySide-BE1-5d7U.js → sideBySide-C5qw_QnB.js} +2 -2
  92. package/{slider-B92oejpK.js → slider-CikiyeRf.js} +3 -3
  93. package/{solution-DuvHYP7q.js → solution-DiHy7pvG.js} +4 -4
  94. package/{spreadsheet-CYi5VTRB.js → spreadsheet-B389Kps5.js} +2 -2
  95. package/{sq-CGmtbJG8.js → sq-BhDFF5Cb.js} +3 -3
  96. package/{subsetOfRealsInput-Dof9pDQJ.js → subsetOfRealsInput-9DbCcLIh.js} +2 -2
  97. package/{summaryStatistics-CHLmwy4B.js → summaryStatistics-DqJOzS1v.js} +2 -2
  98. package/{table-Ds4FsDXG.js → table-DgP2sNth.js} +2 -2
  99. package/{tabular-D93ZooVU.js → tabular-CqOenfoA.js} +2 -2
  100. package/{tag-CQG7jGLX.js → tag-B2133YF1.js} +2 -2
  101. package/{text-Cs4GBrRa.js → text-Glel7vRT.js} +6 -6
  102. package/{textInput-D08eVSJy.js → textInput-fbHYsYbe.js} +6 -6
  103. package/{tooltip-provider-mEVAI_oo.js → tooltip-provider-uV4ynrST.js} +1 -1
  104. package/{useAnchoredGraphDragHandler-CE3goik5.js → useAnchoredGraphDragHandler-CKCVFGYp.js} +1 -1
  105. package/useDoenetRenderer-B-lvSi_Q.js +114 -0
  106. package/{useSubmitActionWithDelay-Bl1nM1Rc.js → useSubmitActionWithDelay-DhUttTXy.js} +2 -2
  107. package/{vector-DTjqdT0D.js → vector-B1xF7lTk.js} +10 -16
  108. package/{video-Bj4ChYgg.js → video-DgvfU8N7.js} +4 -4
  109. package/useDoenetRenderer-BUPvEAwn.js +0 -114
@@ -1,5 +1,5 @@
1
- import { u as useT, p as jsxRuntimeExports, E as Button } from "./doenetml-RwjW6x7w.js";
2
- import { T as TooltipProvider, a as TooltipAnchor, b as Tooltip } from "./tooltip-provider-mEVAI_oo.js";
1
+ import { u as useT, p as jsxRuntimeExports, E as Button } from "./doenetml-CKC903On.js";
2
+ import { T as TooltipProvider, a as TooltipAnchor, b as Tooltip } from "./tooltip-provider-uV4ynrST.js";
3
3
  function AnswerResponseButton({
4
4
  answerId,
5
5
  answerComponentIdx,
@@ -1,4 +1,4 @@
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-RwjW6x7w.js";
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-CKC903On.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-RwjW6x7w.js";
1
+ import { p as jsxRuntimeExports } from "./doenetml-CKC903On.js";
2
2
  import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
3
- import { D as DescriptionPopover, a as DescriptionAsDetails } from "./Description-B_KGuyjX.js";
3
+ import { D as DescriptionPopover, a as DescriptionAsDetails } from "./Description-CeSquB0w.js";
4
4
  function GraphFrame({
5
5
  id,
6
6
  SVs,
@@ -1,4 +1,4 @@
1
- import { y as Context, z as cesc, p as jsxRuntimeExports } from "./doenetml-RwjW6x7w.js";
1
+ import { y as Context, z as cesc, p as jsxRuntimeExports } from "./doenetml-CKC903On.js";
2
2
  import { useEffect, useState, useRef } from "react";
3
3
  var jxg = {};
4
4
  try {
@@ -1,4 +1,4 @@
1
- import { p as jsxRuntimeExports } from "./doenetml-RwjW6x7w.js";
1
+ import { p as jsxRuntimeExports } from "./doenetml-CKC903On.js";
2
2
  function NonInlineMediaWrapper({
3
3
  id,
4
4
  displayMode,
@@ -1 +1 @@
1
- {"version":3,"file":"lineSegment.d.ts","sourceRoot":"","sources":["../../../src/Viewer/renderers/lineSegment.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6B,MAAM,OAAO,CAAC;AAElD,OAA0B,EACtB,sBAAsB,EACzB,MAAM,sBAAsB,CAAC;;AA0C9B,wBAoeG"}
1
+ {"version":3,"file":"lineSegment.d.ts","sourceRoot":"","sources":["../../../src/Viewer/renderers/lineSegment.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6B,MAAM,OAAO,CAAC;AAElD,OAA0B,EACtB,sBAAsB,EACzB,MAAM,sBAAsB,CAAC;;AA6C9B,wBAgeG"}
@@ -1 +1 @@
1
- {"version":3,"file":"polyline.d.ts","sourceRoot":"","sources":["../../../src/Viewer/renderers/polyline.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6B,MAAM,OAAO,CAAC;AAElD,OAA0B,EACtB,sBAAsB,EACzB,MAAM,sBAAsB,CAAC;;AAuC9B,wBA8iBG"}
1
+ {"version":3,"file":"polyline.d.ts","sourceRoot":"","sources":["../../../src/Viewer/renderers/polyline.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6B,MAAM,OAAO,CAAC;AAElD,OAA0B,EACtB,sBAAsB,EACzB,MAAM,sBAAsB,CAAC;;AA0C9B,wBAwiBG"}
@@ -41,5 +41,33 @@ export declare function buildFilledShapeAttributes({ SVs, layerOffset, fixed, fi
41
41
  darkMode: DarkMode;
42
42
  dashed?: boolean;
43
43
  }): Record<string, any>;
44
+ /**
45
+ * Attributes for the invisible points a line-family renderer creates as drag
46
+ * handles: a vector's or line segment's endpoints, a polyline's vertices.
47
+ *
48
+ * The handles are derived from the attributes of the element they drag, so that
49
+ * they follow its visibility, and are then made transparent (they show up only
50
+ * as a highlight under the pointer), individually draggable even when the
51
+ * element itself is not, and label-free.
52
+ *
53
+ * Suppressing the label is essential rather than cosmetic: the element's
54
+ * attributes carry `name: SVs.labelForGraph`, so any handle left with
55
+ * `withlabel` on draws its own copy of the label — an untypeset one, since only
56
+ * the element's own label object sets `useMathJax`.
57
+ *
58
+ * Callers that show only some of the handles layer their own `visible` on top.
59
+ */
60
+ export declare function buildDragHandleAttributes({ elementAttributes, layer, darkMode, showInfoBox, }: {
61
+ /** Attributes of the element whose points these handles drag. */
62
+ elementAttributes: Record<string, any>;
63
+ /**
64
+ * Resolved JSXgraph layer for the handles, normally
65
+ * `10 * SVs.layer + VERTEX_LAYER_OFFSET`.
66
+ */
67
+ layer: number;
68
+ darkMode: DarkMode;
69
+ /** Show the coordinate info box while dragging (`SVs.showCoordsWhenDragging`). */
70
+ showInfoBox: boolean;
71
+ }): Record<string, any>;
44
72
  export {};
45
73
  //# sourceMappingURL=buildGraphicalAttributes.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"buildGraphicalAttributes.d.ts","sourceRoot":"","sources":["../../../../src/Viewer/renderers/utils/buildGraphicalAttributes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAsC,QAAQ,EAAE,MAAM,eAAe,CAAC;AAG7E;;;;;;;GAOG;AACH,wBAAgB,mBAAmB,CAAC,EAChC,GAAG,EACH,WAAW,EACX,KAAK,EACL,WAAW,GACd,EAAE;IACC,GAAG,EAAE,IAAI,CAAC,YAAY,EAAE,eAAe,GAAG,QAAQ,GAAG,OAAO,CAAC,CAAC;IAC9D,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,OAAO,CAAC;IACf,WAAW,EAAE,OAAO,CAAC;CACxB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAStB;AAED,KAAK,WAAW,GAAG,IAAI,CACnB,YAAY,EACZ,eAAe,GAAG,QAAQ,GAAG,OAAO,GAAG,eAAe,CACzD,CAAC;AAEF;;;;GAIG;AACH,wBAAgB,uBAAuB,CAAC,EACpC,GAAG,EACH,WAAW,EACX,KAAK,EACL,WAAW,EACX,QAAQ,EACR,MAAM,GACT,EAAE;IACC,GAAG,EAAE,WAAW,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,OAAO,CAAC;IACf,WAAW,EAAE,OAAO,CAAC;IACrB,QAAQ,EAAE,QAAQ,CAAC;IACnB,2EAA2E;IAC3E,MAAM,CAAC,EAAE,OAAO,CAAC;CACpB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAYtB;AAED;;;GAGG;AACH,wBAAgB,0BAA0B,CAAC,EACvC,GAAG,EACH,WAAW,EACX,KAAK,EACL,WAAW,EACX,QAAQ,EACR,MAAM,GACT,EAAE;IACC,GAAG,EAAE,WAAW,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,OAAO,CAAC;IACf,WAAW,EAAE,OAAO,CAAC;IACrB,QAAQ,EAAE,QAAQ,CAAC;IACnB,MAAM,CAAC,EAAE,OAAO,CAAC;CACpB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAgBtB"}
1
+ {"version":3,"file":"buildGraphicalAttributes.d.ts","sourceRoot":"","sources":["../../../../src/Viewer/renderers/utils/buildGraphicalAttributes.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AACH,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAIH,QAAQ,EACX,MAAM,eAAe,CAAC;AAGvB;;;;;;;GAOG;AACH,wBAAgB,mBAAmB,CAAC,EAChC,GAAG,EACH,WAAW,EACX,KAAK,EACL,WAAW,GACd,EAAE;IACC,GAAG,EAAE,IAAI,CAAC,YAAY,EAAE,eAAe,GAAG,QAAQ,GAAG,OAAO,CAAC,CAAC;IAC9D,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,OAAO,CAAC;IACf,WAAW,EAAE,OAAO,CAAC;CACxB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAStB;AAED,KAAK,WAAW,GAAG,IAAI,CACnB,YAAY,EACZ,eAAe,GAAG,QAAQ,GAAG,OAAO,GAAG,eAAe,CACzD,CAAC;AAEF;;;;GAIG;AACH,wBAAgB,uBAAuB,CAAC,EACpC,GAAG,EACH,WAAW,EACX,KAAK,EACL,WAAW,EACX,QAAQ,EACR,MAAM,GACT,EAAE;IACC,GAAG,EAAE,WAAW,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,OAAO,CAAC;IACf,WAAW,EAAE,OAAO,CAAC;IACrB,QAAQ,EAAE,QAAQ,CAAC;IACnB,2EAA2E;IAC3E,MAAM,CAAC,EAAE,OAAO,CAAC;CACpB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAYtB;AAED;;;GAGG;AACH,wBAAgB,0BAA0B,CAAC,EACvC,GAAG,EACH,WAAW,EACX,KAAK,EACL,WAAW,EACX,QAAQ,EACR,MAAM,GACT,EAAE;IACC,GAAG,EAAE,WAAW,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,OAAO,CAAC;IACf,WAAW,EAAE,OAAO,CAAC;IACrB,QAAQ,EAAE,QAAQ,CAAC;IACnB,MAAM,CAAC,EAAE,OAAO,CAAC;CACpB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAgBtB;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,yBAAyB,CAAC,EACtC,iBAAiB,EACjB,KAAK,EACL,QAAQ,EACR,WAAW,GACd,EAAE;IACC,iEAAiE;IACjE,iBAAiB,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IACvC;;;OAGG;IACH,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,QAAQ,CAAC;IACnB,kFAAkF;IAClF,WAAW,EAAE,OAAO,CAAC;CACxB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAatB"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=buildGraphicalAttributes.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"buildGraphicalAttributes.test.d.ts","sourceRoot":"","sources":["../../../../src/Viewer/renderers/utils/buildGraphicalAttributes.test.ts"],"names":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"vector.d.ts","sourceRoot":"","sources":["../../../src/Viewer/renderers/vector.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6B,MAAM,OAAO,CAAC;AAElD,OAA0B,EACtB,sBAAsB,EACzB,MAAM,sBAAsB,CAAC;;AA8C9B,wBA+eG"}
1
+ {"version":3,"file":"vector.d.ts","sourceRoot":"","sources":["../../../src/Viewer/renderers/vector.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6B,MAAM,OAAO,CAAC;AAElD,OAA0B,EACtB,sBAAsB,EACzB,MAAM,sBAAsB,CAAC;;AAiD9B,wBAyeG"}
@@ -1,6 +1,6 @@
1
- import { u as useT, n as useUiLocale, o as useDiagnosticFormatter, p as jsxRuntimeExports } from "./doenetml-RwjW6x7w.js";
1
+ import { u as useT, n as useUiLocale, o as useDiagnosticFormatter, p as jsxRuntimeExports } from "./doenetml-CKC903On.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-BUPvEAwn.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-B-lvSi_Q.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-RwjW6x7w.js";
1
+ import { p as jsxRuntimeExports } from "./doenetml-CKC903On.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-BUPvEAwn.js";
4
- import { a as addCommasForCompositeRanges } from "./composites-BY7-JuTc.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-B-lvSi_Q.js";
4
+ import { a as addCommasForCompositeRanges } from "./composites-_Ju1qHUH.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-RwjW6x7w.js";
1
+ import { q as DocContext, p as jsxRuntimeExports, t as textRendererStyle, v as DynamicMath } from "./doenetml-CKC903On.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-CTbAGksr.js";
4
- import { u as useDoenetRenderer } from "./useDoenetRenderer-BUPvEAwn.js";
5
- import { BoardContext, LINE_LAYER_OFFSET } from "./graph-BpbjUn8w.js";
6
- import { ChoiceInputInlineContext } from "./choiceInput-DXKjyCqp.js";
7
- import { g as getPatternFillAttributes } from "./fillPatterns-Cwsbhubm.js";
3
+ import { j as jxg, s as syncLayer, a as syncWithLabelToggle, b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-CH3Etvtx.js";
4
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-B-lvSi_Q.js";
5
+ import { BoardContext, LINE_LAYER_OFFSET } from "./graph-Shoc8JnU.js";
6
+ import { ChoiceInputInlineContext } from "./choiceInput-BGjmqGv1.js";
7
+ import { g as getPatternFillAttributes } from "./fillPatterns-BC4vIjlx.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 { w as useContentT, q as DocContext, p as jsxRuntimeExports, v as DynamicMath } from "./doenetml-RwjW6x7w.js";
1
+ import { w as useContentT, q as DocContext, p as jsxRuntimeExports, v as DynamicMath } from "./doenetml-CKC903On.js";
2
2
  import React__default, { useContext } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-BUPvEAwn.js";
4
- import { A as AnswerResponseButton } from "./AnswerResponseButton-CsMwAC3t.js";
5
- import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-Bl1nM1Rc.js";
6
- import { D as DescriptionPopover } from "./Description-B_KGuyjX.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-B-lvSi_Q.js";
4
+ import { A as AnswerResponseButton } from "./AnswerResponseButton-Dd0HJDB-.js";
5
+ import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-DhUttTXy.js";
6
+ import { D as DescriptionPopover } from "./Description-CeSquB0w.js";
7
7
  const answer = React__default.memo(function Answer(props) {
8
8
  let {
9
9
  componentIdx,
@@ -1,6 +1,6 @@
1
- import { p as jsxRuntimeExports } from "./doenetml-RwjW6x7w.js";
1
+ import { p as jsxRuntimeExports } from "./doenetml-CKC903On.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-BUPvEAwn.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-B-lvSi_Q.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 { x as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-RwjW6x7w.js";
1
+ import { x as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-CKC903On.js";
2
2
  import React__default, { useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-BUPvEAwn.js";
4
- import { r as renderMarkupBody } from "./markupRenderer-BtKUERzJ.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-B-lvSi_Q.js";
4
+ import { r as renderMarkupBody } from "./markupRenderer-D1tNv_Bq.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-RwjW6x7w.js";
1
+ import { p as jsxRuntimeExports } from "./doenetml-CKC903On.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-BUPvEAwn.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-B-lvSi_Q.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,11 +1,11 @@
1
- import { w as useContentT, y as Context, p as jsxRuntimeExports, M as MathJax, T as ToggleButton } from "./doenetml-RwjW6x7w.js";
1
+ import { w as useContentT, y as Context, p as jsxRuntimeExports, M as MathJax, T as ToggleButton } from "./doenetml-CKC903On.js";
2
2
  import React__default, { useState, useRef, useContext, useEffect } from "react";
3
- import { j as jxg } from "./JSXGraphRenderer-CTbAGksr.js";
4
- import { u as useDoenetRenderer } from "./useDoenetRenderer-BUPvEAwn.js";
5
- import { BoardContext } from "./graph-BpbjUn8w.js";
3
+ import { j as jxg } from "./JSXGraphRenderer-CH3Etvtx.js";
4
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-B-lvSi_Q.js";
5
+ import { BoardContext } from "./graph-Shoc8JnU.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-Bl1nM1Rc.js";
8
- import { D as DescriptionPopover } from "./Description-B_KGuyjX.js";
7
+ import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-DhUttTXy.js";
8
+ import { D as DescriptionPopover } from "./Description-CeSquB0w.js";
9
9
  const booleanInput = React__default.memo(function BooleanInput(props) {
10
10
  let { id, SVs, children, actions, ignoreUpdate, callAction } = useDoenetRenderer(props);
11
11
  const tContent = useContentT();
@@ -1,6 +1,6 @@
1
- import { p as jsxRuntimeExports } from "./doenetml-RwjW6x7w.js";
1
+ import { p as jsxRuntimeExports } from "./doenetml-CKC903On.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-BUPvEAwn.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-B-lvSi_Q.js";
4
4
  const br = React__default.memo(function Br(props) {
5
5
  let { id, SVs } = useDoenetRenderer(props);
6
6
  if (SVs.hidden) {
@@ -1,4 +1,4 @@
1
- import { a as resolveLineColor, r as resolveFillColor } from "./styleColors-Cknqcr0q.js";
1
+ import { a as resolveLineColor, d as resolveHandleColor, r as resolveFillColor } from "./styleColors-Cknqcr0q.js";
2
2
  import { s as styleToDash } from "./styleToDash-DWb71gbd.js";
3
3
  function buildBaseAttributes({
4
4
  SVs,
@@ -59,8 +59,28 @@ function buildFilledShapeAttributes({
59
59
  highlightFillOpacity: SVs.selectedStyle.fillOpacity * 0.5
60
60
  };
61
61
  }
62
+ function buildDragHandleAttributes({
63
+ elementAttributes,
64
+ layer,
65
+ darkMode,
66
+ showInfoBox
67
+ }) {
68
+ return {
69
+ ...elementAttributes,
70
+ withlabel: false,
71
+ fixed: false,
72
+ highlight: true,
73
+ fillColor: "none",
74
+ strokeColor: "none",
75
+ highlightStrokeColor: "none",
76
+ highlightFillColor: resolveHandleColor(darkMode),
77
+ layer,
78
+ showInfoBox
79
+ };
80
+ }
62
81
  export {
63
82
  buildLineLikeAttributes as a,
64
83
  buildFilledShapeAttributes as b,
65
- buildBaseAttributes as c
84
+ buildDragHandleAttributes as c,
85
+ buildBaseAttributes as d
66
86
  };
@@ -1,8 +1,8 @@
1
- import { y as Context, z as cesc, p as jsxRuntimeExports, B as Button2 } from "./doenetml-RwjW6x7w.js";
1
+ import { y as Context, z as cesc, p as jsxRuntimeExports, B as Button2 } from "./doenetml-CKC903On.js";
2
2
  import React__default, { useRef, useContext, useEffect } from "react";
3
- import { j as jxg } from "./JSXGraphRenderer-CTbAGksr.js";
4
- import { u as useDoenetRenderer } from "./useDoenetRenderer-BUPvEAwn.js";
5
- import { BoardContext } from "./graph-BpbjUn8w.js";
3
+ import { j as jxg } from "./JSXGraphRenderer-CH3Etvtx.js";
4
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-B-lvSi_Q.js";
5
+ import { BoardContext } from "./graph-Shoc8JnU.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-RwjW6x7w.js";
1
+ import { p as jsxRuntimeExports } from "./doenetml-CKC903On.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-BUPvEAwn.js";
4
- import { r as renderMarkupBody } from "./markupRenderer-BtKUERzJ.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-B-lvSi_Q.js";
4
+ import { r as renderMarkupBody } from "./markupRenderer-D1tNv_Bq.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-RwjW6x7w.js";
1
+ import { p as jsxRuntimeExports } from "./doenetml-CKC903On.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-BUPvEAwn.js";
4
- import { a as addCommasForCompositeRanges } from "./composites-BY7-JuTc.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-B-lvSi_Q.js";
4
+ import { a as addCommasForCompositeRanges } from "./composites-_Ju1qHUH.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 { au as autoUpdate, w as useContentT, q as DocContext, p as jsxRuntimeExports, av as CANVAS_DARK_MODE_COLOR, M as MathJax } from "./doenetml-RwjW6x7w.js";
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-CKC903On.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-BUPvEAwn.js";
4
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-B-lvSi_Q.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-Bl1nM1Rc.js";
8
- import { D as DescriptionPopover } from "./Description-B_KGuyjX.js";
7
+ import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-DhUttTXy.js";
8
+ import { D as DescriptionPopover } from "./Description-CeSquB0w.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) {
@@ -1,17 +1,17 @@
1
- import { q as DocContext, p as jsxRuntimeExports } from "./doenetml-RwjW6x7w.js";
1
+ import { q as DocContext, p as jsxRuntimeExports } from "./doenetml-CKC903On.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-CTbAGksr.js";
4
- import { u as useDoenetRenderer } from "./useDoenetRenderer-BUPvEAwn.js";
5
- import { BoardContext, POINT_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-BpbjUn8w.js";
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-CH3Etvtx.js";
4
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-B-lvSi_Q.js";
5
+ import { BoardContext, POINT_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-Shoc8JnU.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-DVSxZbFk.js";
8
+ import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-Clzykt4r.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
- import { b as buildFilledShapeAttributes } from "./buildGraphicalAttributes-C7PtyKL7.js";
14
- import { g as getPatternFillAttributes } from "./fillPatterns-Cwsbhubm.js";
13
+ import { b as buildFilledShapeAttributes } from "./buildGraphicalAttributes-0RNcbd2S.js";
14
+ import { g as getPatternFillAttributes } from "./fillPatterns-BC4vIjlx.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 { A as createFunctionFromDefinition, p as jsxRuntimeExports } from "./doenetml-RwjW6x7w.js";
1
+ import { A as createFunctionFromDefinition, p as jsxRuntimeExports } from "./doenetml-CKC903On.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-CTbAGksr.js";
4
- import { u as useDoenetRenderer } from "./useDoenetRenderer-BUPvEAwn.js";
5
- import { BoardContext, LINE_LAYER_OFFSET, VERTEX_LAYER_OFFSET } from "./graph-BpbjUn8w.js";
3
+ import { j as jxg, b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-CH3Etvtx.js";
4
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-B-lvSi_Q.js";
5
+ import { BoardContext, LINE_LAYER_OFFSET, VERTEX_LAYER_OFFSET } from "./graph-Shoc8JnU.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, P as EditorViewer } from "./doenetml-RwjW6x7w.js";
1
+ import { p as jsxRuntimeExports, P as EditorViewer } from "./doenetml-CKC903On.js";
2
2
  import React__default, { useState, useEffect, useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-BUPvEAwn.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-B-lvSi_Q.js";
4
4
  import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
5
5
  function resolveElements(elementOrSelector, scope, selectorCache) {
6
6
  if (elementOrSelector == null) {
@@ -1,4 +1,4 @@
1
- import { p as jsxRuntimeExports } from "./doenetml-RwjW6x7w.js";
1
+ import { p as jsxRuntimeExports } from "./doenetml-CKC903On.js";
2
2
  import React__default from "react";
3
3
  function addCommasForCompositeRanges({
4
4
  compositeReplacementActiveRange,
@@ -1,8 +1,8 @@
1
- import { w as useContentT, x as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-RwjW6x7w.js";
1
+ import { w as useContentT, x as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-CKC903On.js";
2
2
  import React__default, { useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-BUPvEAwn.js";
4
- import { a as addCommasForCompositeRanges } from "./composites-BY7-JuTc.js";
5
- import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-Bl1nM1Rc.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-B-lvSi_Q.js";
4
+ import { a as addCommasForCompositeRanges } from "./composites-_Ju1qHUH.js";
5
+ import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-DhUttTXy.js";
6
6
  const containerBlock = React__default.memo(function Container(props) {
7
7
  let { id, SVs, children, actions, callAction } = useDoenetRenderer(props);
8
8
  const tContent = useContentT();
@@ -1,8 +1,8 @@
1
- import { w as useContentT, p as jsxRuntimeExports } from "./doenetml-RwjW6x7w.js";
1
+ import { w as useContentT, p as jsxRuntimeExports } from "./doenetml-CKC903On.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-BUPvEAwn.js";
4
- import { a as addCommasForCompositeRanges } from "./composites-BY7-JuTc.js";
5
- import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-Bl1nM1Rc.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-B-lvSi_Q.js";
4
+ import { a as addCommasForCompositeRanges } from "./composites-_Ju1qHUH.js";
5
+ import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-DhUttTXy.js";
6
6
  const containerInline = React__default.memo(function ContainerInline(props) {
7
7
  let { id, SVs, children, actions, callAction } = useDoenetRenderer(props);
8
8
  const tContent = useContentT();
@@ -1,8 +1,8 @@
1
- import { q as DocContext, A as createFunctionFromDefinition, p as jsxRuntimeExports } from "./doenetml-RwjW6x7w.js";
1
+ import { q as DocContext, A as createFunctionFromDefinition, p as jsxRuntimeExports } from "./doenetml-CKC903On.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-CTbAGksr.js";
4
- import { u as useDoenetRenderer } from "./useDoenetRenderer-BUPvEAwn.js";
5
- import { BoardContext, VERTEX_LAYER_OFFSET, CONTROL_POINT_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-BpbjUn8w.js";
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-CH3Etvtx.js";
4
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-B-lvSi_Q.js";
5
+ import { BoardContext, VERTEX_LAYER_OFFSET, CONTROL_POINT_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-Shoc8JnU.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";
@@ -29523,7 +29523,7 @@ async function cidFromArrayBuffer(data) {
29523
29523
  await crypto.subtle.digest("SHA-256", new Uint8Array());
29524
29524
  digest = (data2) => crypto.subtle.digest("SHA-256", data2);
29525
29525
  } catch (e2) {
29526
- const sha256 = (await import("./sha256-Bzrm4-tO-BHq68al3.js").then((n2) => n2.s)).default;
29526
+ const sha256 = (await import("./sha256-Bzrm4-tO-BdovCL5S.js").then((n2) => n2.s)).default;
29527
29527
  digest = (data2) => sha256(data2, {
29528
29528
  asBytes: true
29529
29529
  });
@@ -45822,7 +45822,7 @@ function DocViewer({
45822
45822
  for (const rendererClassName of coreInfo.current.rendererTypesInDocument) {
45823
45823
  rendererClassNames.push(rendererClassName);
45824
45824
  rendererLoaders.push(
45825
- () => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "./renderers/GraphFrame.tsx": () => import("./GraphFrame-BCe-sXyY.js"), "./renderers/JSXGraphRenderer.tsx": () => import("./JSXGraphRenderer-CTbAGksr.js").then((n2) => n2.m), "./renderers/_error.tsx": () => import("./_error-8CVqZvs9.js"), "./renderers/alert.tsx": () => import("./alert-CnVNVwp0.js"), "./renderers/angle.tsx": () => import("./angle-DtykfDvk.js"), "./renderers/answer.tsx": () => import("./answer-D8_55NUB.js"), "./renderers/asList.tsx": () => import("./asList-Cvb4HFYc.js"), "./renderers/blockQuote.tsx": () => import("./blockQuote-CD7LAibH.js"), "./renderers/boolean.tsx": () => import("./boolean-i9xt_Fyy.js"), "./renderers/booleanInput.tsx": () => import("./booleanInput-DxN2aj4D.js"), "./renderers/br.tsx": () => import("./br-Ch6INIwC.js"), "./renderers/button.tsx": () => import("./button-B5SnRU2e.js"), "./renderers/c.tsx": () => import("./c-DArDpN4A.js"), "./renderers/cell.tsx": () => import("./cell-BFX6fxf0.js"), "./renderers/choiceInput.tsx": () => import("./choiceInput-DXKjyCqp.js"), "./renderers/circle.tsx": () => import("./circle-AbQzXEA5.js"), "./renderers/cobwebPolyline.tsx": () => import("./cobwebPolyline-CB6cVyKX.js"), "./renderers/codeEditor.tsx": () => import("./codeEditor-D0vhTs3g.js"), "./renderers/containerBlock.tsx": () => import("./containerBlock-Cm-kBh3q.js"), "./renderers/containerInline.tsx": () => import("./containerInline-CcOaOhs8.js"), "./renderers/curve.tsx": () => import("./curve-CdVn_xI2.js"), "./renderers/ellipsis.tsx": () => import("./ellipsis-DVinv6-1.js"), "./renderers/em.tsx": () => import("./em-B8Bn3iQ8.js"), "./renderers/embed.tsx": () => import("./embed-CCP_3Jzm.js"), "./renderers/feedback.tsx": () => import("./feedback-C7b_K-S3.js"), "./renderers/figure.tsx": () => import("./figure-vxfnUy1i.js"), "./renderers/footnote.tsx": () => import("./footnote-DniX_WDV.js"), "./renderers/fractionInput.tsx": () => import("./fractionInput-Byd4TDY-.js"), "./renderers/graph.tsx": () => import("./graph-BpbjUn8w.js"), "./renderers/hint.tsx": () => import("./hint-BSyMGzDu.js"), "./renderers/hr.tsx": () => import("./hr-Dv_52Wxd.js"), "./renderers/image.tsx": () => import("./image-CDzqgIV7.js"), "./renderers/label.tsx": () => import("./label-BpLxA1Ur.js"), "./renderers/legend.tsx": () => import("./legend-ZPzJ1SLv.js"), "./renderers/line.tsx": () => import("./line-B1QiilgT.js"), "./renderers/lineSegment.tsx": () => import("./lineSegment-CT3KASYT.js"), "./renderers/list.tsx": () => import("./list-CseGxUq-.js"), "./renderers/lq.tsx": () => import("./lq-CAAidAOg.js"), "./renderers/lsq.tsx": () => import("./lsq-B28Z8bv3.js"), "./renderers/math.tsx": () => import("./math-BREIxh-E.js"), "./renderers/mathInput.tsx": () => import("./mathInput-BkKkb63g.js"), "./renderers/matrixInput.tsx": () => import("./matrixInput-BNWpketN.js"), "./renderers/mdash.tsx": () => import("./mdash-9jp_u7Un.js"), "./renderers/nbsp.tsx": () => import("./nbsp-C8hCQ6TS.js"), "./renderers/ndash.tsx": () => import("./ndash-CmJAVnNq.js"), "./renderers/number.tsx": () => import("./number-r1umcD9p.js"), "./renderers/orbitalDiagram.tsx": () => import("./orbitalDiagram-CaNwebaQ.js"), "./renderers/orbitalDiagramInput.tsx": () => import("./orbitalDiagramInput-B5JhTAdB.js"), "./renderers/p.tsx": () => import("./p-DP7YNDfx.js"), "./renderers/paginatorControls.tsx": () => import("./paginatorControls-B-qNFkKU.js"), "./renderers/pegboard.tsx": () => import("./pegboard-D7nAJ6RY.js"), "./renderers/point.tsx": () => import("./point-C59ja3n2.js"), "./renderers/polygon.tsx": () => import("./polygon-CT-ARozK.js"), "./renderers/polyline.tsx": () => import("./polyline-DeGq7WP0.js"), "./renderers/pre.tsx": () => import("./pre-BHH6fa9U.js"), "./renderers/prefigure.tsx": () => import("./prefigure-BnSkAPHE.js"), "./renderers/pretzel.tsx": () => import("./pretzel-CC5NgapN.js"), "./renderers/q.tsx": () => import("./q-CcNznZUD.js"), "./renderers/ray.tsx": () => import("./ray-D1b2GIcp.js"), "./renderers/ref.tsx": () => import("./ref-OLToqdQ5.js"), "./renderers/regionBetweenCurveXAxis.tsx": () => import("./regionBetweenCurveXAxis-PPEOPw8t.js"), "./renderers/regionBetweenCurves.tsx": () => import("./regionBetweenCurves-DOtEzJak.js"), "./renderers/row.tsx": () => import("./row-D42z_svT.js"), "./renderers/rq.tsx": () => import("./rq-DdecWWBG.js"), "./renderers/rsq.tsx": () => import("./rsq-D2qKFBXV.js"), "./renderers/section.tsx": () => import("./section-AwW9I9a-.js"), "./renderers/sideBySide.tsx": () => import("./sideBySide-BE1-5d7U.js"), "./renderers/slider.tsx": () => import("./slider-B92oejpK.js"), "./renderers/solution.tsx": () => import("./solution-DuvHYP7q.js"), "./renderers/spreadsheet.tsx": () => import("./spreadsheet-CYi5VTRB.js"), "./renderers/sq.tsx": () => import("./sq-CGmtbJG8.js"), "./renderers/subsetOfRealsInput.tsx": () => import("./subsetOfRealsInput-Dof9pDQJ.js"), "./renderers/summaryStatistics.tsx": () => import("./summaryStatistics-CHLmwy4B.js"), "./renderers/table.tsx": () => import("./table-Ds4FsDXG.js"), "./renderers/tabular.tsx": () => import("./tabular-D93ZooVU.js"), "./renderers/tag.tsx": () => import("./tag-CQG7jGLX.js"), "./renderers/text.tsx": () => import("./text-Cs4GBrRa.js"), "./renderers/textInput.tsx": () => import("./textInput-D08eVSJy.js"), "./renderers/vector.tsx": () => import("./vector-DTjqdT0D.js"), "./renderers/video.tsx": () => import("./video-Bj4ChYgg.js") }), `./renderers/${rendererClassName}.tsx`, 3)
45825
+ () => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "./renderers/GraphFrame.tsx": () => import("./GraphFrame-7iZnp0Pp.js"), "./renderers/JSXGraphRenderer.tsx": () => import("./JSXGraphRenderer-CH3Etvtx.js").then((n2) => n2.m), "./renderers/_error.tsx": () => import("./_error-BpXkUOcQ.js"), "./renderers/alert.tsx": () => import("./alert-Dl4SKpDl.js"), "./renderers/angle.tsx": () => import("./angle-CHPAoa9_.js"), "./renderers/answer.tsx": () => import("./answer-BfTY7xDk.js"), "./renderers/asList.tsx": () => import("./asList-CIPYtO56.js"), "./renderers/blockQuote.tsx": () => import("./blockQuote-eD4WN8NB.js"), "./renderers/boolean.tsx": () => import("./boolean-AcXpBTjc.js"), "./renderers/booleanInput.tsx": () => import("./booleanInput-D1KVVjD0.js"), "./renderers/br.tsx": () => import("./br-sGi9NZV-.js"), "./renderers/button.tsx": () => import("./button-zm1xKQ6P.js"), "./renderers/c.tsx": () => import("./c-CS1KT-i7.js"), "./renderers/cell.tsx": () => import("./cell-DOy9dHlG.js"), "./renderers/choiceInput.tsx": () => import("./choiceInput-BGjmqGv1.js"), "./renderers/circle.tsx": () => import("./circle-CdXs4vCM.js"), "./renderers/cobwebPolyline.tsx": () => import("./cobwebPolyline-nbaAuj6B.js"), "./renderers/codeEditor.tsx": () => import("./codeEditor-AH1NzGY5.js"), "./renderers/containerBlock.tsx": () => import("./containerBlock-BJZA-hug.js"), "./renderers/containerInline.tsx": () => import("./containerInline-CErx1TlK.js"), "./renderers/curve.tsx": () => import("./curve-CtGjIZZT.js"), "./renderers/ellipsis.tsx": () => import("./ellipsis-DfMIkq56.js"), "./renderers/em.tsx": () => import("./em-C68xPdDA.js"), "./renderers/embed.tsx": () => import("./embed-EmlL532k.js"), "./renderers/feedback.tsx": () => import("./feedback-BWaksokN.js"), "./renderers/figure.tsx": () => import("./figure-DNohFiU-.js"), "./renderers/footnote.tsx": () => import("./footnote-C3cESiVn.js"), "./renderers/fractionInput.tsx": () => import("./fractionInput-CbT0Fr4D.js"), "./renderers/graph.tsx": () => import("./graph-Shoc8JnU.js"), "./renderers/hint.tsx": () => import("./hint-CNCxpEVu.js"), "./renderers/hr.tsx": () => import("./hr-DccnD0xy.js"), "./renderers/image.tsx": () => import("./image-DKmanipP.js"), "./renderers/label.tsx": () => import("./label-iXHeUsem.js"), "./renderers/legend.tsx": () => import("./legend-P8bA66Pn.js"), "./renderers/line.tsx": () => import("./line-DVW3oKW5.js"), "./renderers/lineSegment.tsx": () => import("./lineSegment-CMfI8CzX.js"), "./renderers/list.tsx": () => import("./list-D_mXsSXQ.js"), "./renderers/lq.tsx": () => import("./lq-CyXQKGzw.js"), "./renderers/lsq.tsx": () => import("./lsq-CKkVotjY.js"), "./renderers/math.tsx": () => import("./math-DcMrHfiM.js"), "./renderers/mathInput.tsx": () => import("./mathInput-CM0oZNJB.js"), "./renderers/matrixInput.tsx": () => import("./matrixInput-FuKpVk_a.js"), "./renderers/mdash.tsx": () => import("./mdash-BABxuRC_.js"), "./renderers/nbsp.tsx": () => import("./nbsp-CUYTxD8h.js"), "./renderers/ndash.tsx": () => import("./ndash-B-SHbaFG.js"), "./renderers/number.tsx": () => import("./number-BluUugiB.js"), "./renderers/orbitalDiagram.tsx": () => import("./orbitalDiagram-CcsEMNH5.js"), "./renderers/orbitalDiagramInput.tsx": () => import("./orbitalDiagramInput-BaR6FltQ.js"), "./renderers/p.tsx": () => import("./p-DMbbK7I1.js"), "./renderers/paginatorControls.tsx": () => import("./paginatorControls-B-F1HpS4.js"), "./renderers/pegboard.tsx": () => import("./pegboard-BGC31Eyq.js"), "./renderers/point.tsx": () => import("./point-BT1XGRo9.js"), "./renderers/polygon.tsx": () => import("./polygon-Cfu9QrkP.js"), "./renderers/polyline.tsx": () => import("./polyline-san0khs-.js"), "./renderers/pre.tsx": () => import("./pre-BHN7blJZ.js"), "./renderers/prefigure.tsx": () => import("./prefigure-C7f9UcnA.js"), "./renderers/pretzel.tsx": () => import("./pretzel-CmIYOB8F.js"), "./renderers/q.tsx": () => import("./q-tXX3oDTu.js"), "./renderers/ray.tsx": () => import("./ray-BMK7xaAg.js"), "./renderers/ref.tsx": () => import("./ref-65DT_x0u.js"), "./renderers/regionBetweenCurveXAxis.tsx": () => import("./regionBetweenCurveXAxis-BsTsPQRg.js"), "./renderers/regionBetweenCurves.tsx": () => import("./regionBetweenCurves-C_M-pjuM.js"), "./renderers/row.tsx": () => import("./row-DKwY5fZc.js"), "./renderers/rq.tsx": () => import("./rq-aLJVzNtD.js"), "./renderers/rsq.tsx": () => import("./rsq-Bi1u3srM.js"), "./renderers/section.tsx": () => import("./section-C_bOjYSJ.js"), "./renderers/sideBySide.tsx": () => import("./sideBySide-C5qw_QnB.js"), "./renderers/slider.tsx": () => import("./slider-CikiyeRf.js"), "./renderers/solution.tsx": () => import("./solution-DiHy7pvG.js"), "./renderers/spreadsheet.tsx": () => import("./spreadsheet-B389Kps5.js"), "./renderers/sq.tsx": () => import("./sq-BhDFF5Cb.js"), "./renderers/subsetOfRealsInput.tsx": () => import("./subsetOfRealsInput-9DbCcLIh.js"), "./renderers/summaryStatistics.tsx": () => import("./summaryStatistics-DqJOzS1v.js"), "./renderers/table.tsx": () => import("./table-DgP2sNth.js"), "./renderers/tabular.tsx": () => import("./tabular-CqOenfoA.js"), "./renderers/tag.tsx": () => import("./tag-B2133YF1.js"), "./renderers/text.tsx": () => import("./text-Glel7vRT.js"), "./renderers/textInput.tsx": () => import("./textInput-fbHYsYbe.js"), "./renderers/vector.tsx": () => import("./vector-B1xF7lTk.js"), "./renderers/video.tsx": () => import("./video-DgvfU8N7.js") }), `./renderers/${rendererClassName}.tsx`, 3)
45826
45826
  );
45827
45827
  }
45828
45828
  const documentComponentInstructions = coreInfo.current.documentToRender;
@@ -185905,12 +185905,12 @@ function EditorFooter({
185905
185905
  className: "doenetml-version",
185906
185906
  title: t4(
185907
185907
  "editor-version-title",
185908
- { version: "0.7.21-dev.415" },
185909
- `DoenetML version ${"0.7.21-dev.415"}`
185908
+ { version: "0.7.21-dev.416" },
185909
+ `DoenetML version ${"0.7.21-dev.416"}`
185910
185910
  ),
185911
185911
  children: [
185912
185912
  "v",
185913
- "0.7.21-dev.415"
185913
+ "0.7.21-dev.416"
185914
185914
  ]
185915
185915
  }
185916
185916
  ),
@@ -1,5 +1,5 @@
1
- import { k as doenetGlobalConfig } from "./doenetml-RwjW6x7w.js";
2
- import { C, D, a, c, b, d, g, e, f, h, m, i, r, s, j } from "./doenetml-RwjW6x7w.js";
1
+ import { k as doenetGlobalConfig } from "./doenetml-CKC903On.js";
2
+ import { C, D, a, c, b, d, g, e, f, h, m, i, r, s, j } from "./doenetml-CKC903On.js";
3
3
  const workerPath = "./doenetml-worker/index.js";
4
4
  function resolveWorkerUrl() {
5
5
  try {