@pie-lib/graphing 4.0.5-next.33 → 4.0.5-next.35

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 (125) hide show
  1. package/dist/_virtual/_rolldown/runtime.js +2 -5
  2. package/dist/axis/arrow.js +5 -5
  3. package/dist/axis/axes.js +29 -29
  4. package/dist/container/index.js +32 -32
  5. package/dist/coordinates-label.js +6 -6
  6. package/dist/graph-with-controls.js +25 -23
  7. package/dist/grid-setup.js +63 -63
  8. package/dist/grid.js +3 -3
  9. package/dist/key-legend.js +38 -38
  10. package/dist/labels.js +19 -19
  11. package/dist/mark-label.js +19 -19
  12. package/dist/node_modules/.bun/@visx_axis@4.0.0_d84c32d47042070f/node_modules/@visx/axis/esm/axis/Axis.js +67 -0
  13. package/dist/node_modules/.bun/@visx_axis@4.0.0_d84c32d47042070f/node_modules/@visx/axis/esm/axis/AxisRenderer.js +66 -0
  14. package/dist/node_modules/.bun/@visx_axis@4.0.0_d84c32d47042070f/node_modules/@visx/axis/esm/axis/Ticks.js +39 -0
  15. package/dist/node_modules/.bun/@visx_axis@4.0.0_d84c32d47042070f/node_modules/@visx/axis/esm/constants/orientation.js +9 -0
  16. package/dist/node_modules/.bun/@visx_axis@4.0.0_d84c32d47042070f/node_modules/@visx/axis/esm/utils/createPoint.js +14 -0
  17. package/dist/node_modules/.bun/@visx_axis@4.0.0_d84c32d47042070f/node_modules/@visx/axis/esm/utils/getAxisRangePaddingConfig.js +13 -0
  18. package/dist/node_modules/.bun/@visx_axis@4.0.0_d84c32d47042070f/node_modules/@visx/axis/esm/utils/getLabelTransform.js +16 -0
  19. package/dist/node_modules/.bun/@visx_axis@4.0.0_d84c32d47042070f/node_modules/@visx/axis/esm/utils/getTickFormatter.js +8 -0
  20. package/dist/node_modules/.bun/@visx_axis@4.0.0_d84c32d47042070f/node_modules/@visx/axis/esm/utils/getTickPosition.js +14 -0
  21. package/dist/node_modules/.bun/@visx_grid@4.0.0_d84c32d47042070f/node_modules/@visx/grid/esm/grids/Grid.js +43 -0
  22. package/dist/node_modules/.bun/@visx_grid@4.0.0_d84c32d47042070f/node_modules/@visx/grid/esm/grids/GridColumns.js +46 -0
  23. package/dist/node_modules/.bun/@visx_grid@4.0.0_d84c32d47042070f/node_modules/@visx/grid/esm/grids/GridRows.js +46 -0
  24. package/dist/node_modules/.bun/@visx_grid@4.0.0_d84c32d47042070f/node_modules/@visx/grid/esm/utils/getScaleBandwidth.js +6 -0
  25. package/dist/node_modules/.bun/@visx_group@4.0.0_d84c32d47042070f/node_modules/@visx/group/esm/Group.js +17 -0
  26. package/dist/node_modules/.bun/@visx_point@4.0.0/node_modules/@visx/point/esm/Point.js +20 -0
  27. package/dist/node_modules/.bun/{@visx_scale@3.12.0 → @visx_scale@4.0.0}/node_modules/@visx/scale/esm/utils/coerceNumber.js +2 -2
  28. package/dist/node_modules/.bun/@visx_scale@4.0.0/node_modules/@visx/scale/esm/utils/getTicks.js +7 -0
  29. package/dist/node_modules/.bun/@visx_scale@4.0.0/node_modules/@visx/scale/esm/utils/toString.js +6 -0
  30. package/dist/node_modules/.bun/@visx_shape@4.0.0_d84c32d47042070f/node_modules/@visx/shape/esm/shapes/Line.js +27 -0
  31. package/dist/node_modules/.bun/@visx_shape@4.0.0_d84c32d47042070f/node_modules/@visx/shape/esm/shapes/LinePath.js +24 -0
  32. package/dist/node_modules/.bun/@visx_shape@4.0.0_d84c32d47042070f/node_modules/@visx/shape/esm/util/D3ShapeFactories.js +9 -0
  33. package/dist/node_modules/.bun/@visx_shape@4.0.0_d84c32d47042070f/node_modules/@visx/shape/esm/util/setNumberOrNumberAccessor.js +6 -0
  34. package/dist/node_modules/.bun/@visx_text@4.0.0_d84c32d47042070f/node_modules/@visx/text/esm/Text.js +27 -0
  35. package/dist/node_modules/.bun/@visx_text@4.0.0_d84c32d47042070f/node_modules/@visx/text/esm/hooks/useText.js +68 -0
  36. package/dist/node_modules/.bun/@visx_text@4.0.0_d84c32d47042070f/node_modules/@visx/text/esm/util/getStringWidth.js +19 -0
  37. package/dist/node_modules/.bun/@visx_text@4.0.0_d84c32d47042070f/node_modules/@visx/text/esm/util/memoize.js +13 -0
  38. package/dist/toggle-bar.js +19 -19
  39. package/dist/tools/circle/bg-circle.js +4 -4
  40. package/dist/tools/circle/component.js +18 -18
  41. package/dist/tools/line/component.js +9 -9
  42. package/dist/tools/polygon/line.js +9 -9
  43. package/dist/tools/polygon/polygon.js +7 -7
  44. package/dist/tools/ray/component.js +9 -9
  45. package/dist/tools/segment/component.js +6 -6
  46. package/dist/tools/shared/arrow-head.js +17 -17
  47. package/dist/tools/shared/line/index.d.ts +1 -1
  48. package/dist/tools/shared/line/index.js +13 -13
  49. package/dist/tools/shared/line/line-path.js +9 -9
  50. package/dist/tools/shared/line/with-root-edge.js +5 -5
  51. package/dist/tools/shared/point/base-point.js +10 -10
  52. package/dist/tools/shared/point/index.js +10 -10
  53. package/dist/tools/shared/styles.d.ts +2 -2
  54. package/dist/tools/shared/styles.js +2 -2
  55. package/dist/tools/vector/component.js +7 -7
  56. package/dist/undo-redo.js +9 -9
  57. package/package.json +14 -14
  58. package/dist/node_modules/.bun/@visx_axis@3.12.0_f4eacebf2041cd4f/node_modules/@visx/axis/esm/axis/Axis.js +0 -101
  59. package/dist/node_modules/.bun/@visx_axis@3.12.0_f4eacebf2041cd4f/node_modules/@visx/axis/esm/axis/AxisRenderer.js +0 -63
  60. package/dist/node_modules/.bun/@visx_axis@3.12.0_f4eacebf2041cd4f/node_modules/@visx/axis/esm/axis/Ticks.js +0 -44
  61. package/dist/node_modules/.bun/@visx_axis@3.12.0_f4eacebf2041cd4f/node_modules/@visx/axis/esm/constants/orientation.js +0 -9
  62. package/dist/node_modules/.bun/@visx_axis@3.12.0_f4eacebf2041cd4f/node_modules/@visx/axis/esm/utils/createPoint.js +0 -14
  63. package/dist/node_modules/.bun/@visx_axis@3.12.0_f4eacebf2041cd4f/node_modules/@visx/axis/esm/utils/getAxisRangePaddingConfig.js +0 -21
  64. package/dist/node_modules/.bun/@visx_axis@3.12.0_f4eacebf2041cd4f/node_modules/@visx/axis/esm/utils/getLabelTransform.js +0 -16
  65. package/dist/node_modules/.bun/@visx_axis@3.12.0_f4eacebf2041cd4f/node_modules/@visx/axis/esm/utils/getTickFormatter.js +0 -8
  66. package/dist/node_modules/.bun/@visx_axis@3.12.0_f4eacebf2041cd4f/node_modules/@visx/axis/esm/utils/getTickPosition.js +0 -15
  67. package/dist/node_modules/.bun/@visx_grid@3.12.0_f4eacebf2041cd4f/node_modules/@visx/grid/esm/grids/Grid.js +0 -79
  68. package/dist/node_modules/.bun/@visx_grid@3.12.0_f4eacebf2041cd4f/node_modules/@visx/grid/esm/grids/GridColumns.js +0 -79
  69. package/dist/node_modules/.bun/@visx_grid@3.12.0_f4eacebf2041cd4f/node_modules/@visx/grid/esm/grids/GridRows.js +0 -79
  70. package/dist/node_modules/.bun/@visx_grid@3.12.0_f4eacebf2041cd4f/node_modules/@visx/grid/esm/utils/getScaleBandwidth.js +0 -6
  71. package/dist/node_modules/.bun/@visx_group@3.12.0_f4eacebf2041cd4f/node_modules/@visx/group/esm/Group.js +0 -50
  72. package/dist/node_modules/.bun/@visx_point@3.12.0/node_modules/@visx/point/esm/Point.js +0 -18
  73. package/dist/node_modules/.bun/@visx_scale@3.12.0/node_modules/@visx/scale/esm/utils/getTicks.js +0 -9
  74. package/dist/node_modules/.bun/@visx_scale@3.12.0/node_modules/@visx/scale/esm/utils/toString.js +0 -6
  75. package/dist/node_modules/.bun/@visx_shape@3.12.0_f4eacebf2041cd4f/node_modules/@visx/shape/esm/shapes/Line.js +0 -47
  76. package/dist/node_modules/.bun/@visx_shape@3.12.0_f4eacebf2041cd4f/node_modules/@visx/shape/esm/shapes/LinePath.js +0 -50
  77. package/dist/node_modules/.bun/@visx_shape@3.12.0_f4eacebf2041cd4f/node_modules/@visx/shape/esm/util/D3ShapeFactories.js +0 -9
  78. package/dist/node_modules/.bun/@visx_shape@3.12.0_f4eacebf2041cd4f/node_modules/@visx/shape/esm/util/setNumberOrNumberAccessor.js +0 -6
  79. package/dist/node_modules/.bun/@visx_shape@3.12.0_f4eacebf2041cd4f/node_modules/@visx/shape/lib/shapes/Line.js +0 -53
  80. package/dist/node_modules/.bun/@visx_text@3.12.0_f4eacebf2041cd4f/node_modules/@visx/text/esm/Text.js +0 -57
  81. package/dist/node_modules/.bun/@visx_text@3.12.0_f4eacebf2041cd4f/node_modules/@visx/text/esm/hooks/useText.js +0 -91
  82. package/dist/node_modules/.bun/@visx_text@3.12.0_f4eacebf2041cd4f/node_modules/@visx/text/esm/util/getStringWidth.js +0 -21
  83. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_Hash.js +0 -21
  84. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_ListCache.js +0 -21
  85. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_Map.js +0 -10
  86. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_MapCache.js +0 -21
  87. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_Symbol.js +0 -9
  88. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_assocIndexOf.js +0 -14
  89. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_baseGetTag.js +0 -15
  90. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_baseIsNative.js +0 -16
  91. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_coreJsData.js +0 -9
  92. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_freeGlobal.js +0 -8
  93. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_getMapData.js +0 -14
  94. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_getNative.js +0 -15
  95. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_getRawTag.js +0 -19
  96. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_getValue.js +0 -11
  97. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_hashClear.js +0 -13
  98. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_hashDelete.js +0 -12
  99. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_hashGet.js +0 -18
  100. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_hashHas.js +0 -14
  101. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_hashSet.js +0 -14
  102. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_isKeyable.js +0 -12
  103. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_isMasked.js +0 -16
  104. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_listCacheClear.js +0 -11
  105. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_listCacheDelete.js +0 -14
  106. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_listCacheGet.js +0 -14
  107. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_listCacheHas.js +0 -13
  108. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_listCacheSet.js +0 -14
  109. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_mapCacheClear.js +0 -19
  110. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_mapCacheDelete.js +0 -14
  111. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_mapCacheGet.js +0 -13
  112. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_mapCacheHas.js +0 -13
  113. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_mapCacheSet.js +0 -14
  114. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_nativeCreate.js +0 -9
  115. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_objectToString.js +0 -12
  116. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_root.js +0 -10
  117. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/_toSource.js +0 -20
  118. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/eq.js +0 -11
  119. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/isFunction.js +0 -16
  120. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/isObject.js +0 -12
  121. package/dist/node_modules/.bun/lodash@4.18.1/node_modules/lodash/memoize.js +0 -20
  122. package/dist/node_modules/.bun/react-redux@9.3.0_9e2203c65d1d5fa1/node_modules/react-redux/dist/react-redux.js +0 -471
  123. package/dist/node_modules/.bun/use-sync-external-store@1.6.0_f4eacebf2041cd4f/node_modules/use-sync-external-store/cjs/use-sync-external-store-with-selector.development.js +0 -53
  124. package/dist/node_modules/.bun/use-sync-external-store@1.6.0_f4eacebf2041cd4f/node_modules/use-sync-external-store/cjs/use-sync-external-store-with-selector.production.js +0 -51
  125. package/dist/node_modules/.bun/use-sync-external-store@1.6.0_f4eacebf2041cd4f/node_modules/use-sync-external-store/with-selector.js +0 -10
@@ -1,7 +1,7 @@
1
1
  import "react";
2
2
  import e from "prop-types";
3
- import { styled as t } from "@mui/material/styles";
4
- import { Fragment as n, jsx as r, jsxs as i } from "react/jsx-runtime";
3
+ import { Fragment as t, jsx as n, jsxs as r } from "react/jsx-runtime";
4
+ import { styled as i } from "@mui/material/styles";
5
5
  import * as a from "@pie-lib/render-ui";
6
6
  import { InputContainer as o, color as s } from "@pie-lib/render-ui";
7
7
  import c from "@pie-lib/editable-html-tip-tap";
@@ -15,46 +15,46 @@ function g(e) {
15
15
  function _(e, t) {
16
16
  return !e || g(e) ? e : g(e.default) ? e.default : t && g(e[t]) ? e[t] : t && g(e[t]?.default) ? e[t].default : e;
17
17
  }
18
- var v = _(o, "InputContainer") || _(x.InputContainer, "InputContainer"), y = a, b = y.default, x = b && typeof b == "object" ? b : y, S = t("div")(() => ({ width: "450px" })), C = t("div")(() => ({
18
+ var v = _(o, "InputContainer") || _(x.InputContainer, "InputContainer"), y = a, b = y.default, x = b && typeof b == "object" ? b : y, S = i("div")(() => ({ width: "450px" })), C = i("div")(() => ({
19
19
  display: "flex",
20
20
  flexDirection: "column",
21
21
  width: "100%"
22
- })), w = t("div")(() => ({
22
+ })), w = i("div")(() => ({
23
23
  display: "flex",
24
24
  flexDirection: "column",
25
25
  alignItems: "center"
26
- })), T = t("div")(() => ({
26
+ })), T = i("div")(() => ({
27
27
  display: "flex",
28
28
  justifyContent: "space-around",
29
29
  alignItems: "center"
30
- })), E = t("div")(({ theme: e }) => ({
30
+ })), E = i("div")(({ theme: e }) => ({
31
31
  width: "130px",
32
32
  margin: `${e.spacing(1)} ${e.spacing(.5)}`
33
- })), D = t("div")(({ theme: e }) => ({
33
+ })), D = i("div")(({ theme: e }) => ({
34
34
  width: "160px",
35
35
  margin: `${e.spacing(1)} ${e.spacing(.5)}`,
36
36
  "& .MuiFormControl-root": { width: "100%" }
37
- })), O = t("div")(({ theme: e }) => ({
37
+ })), O = i("div")(({ theme: e }) => ({
38
38
  width: "230px",
39
39
  margin: `${e.spacing(1)} ${e.spacing(.5)}`,
40
40
  "& .MuiFormControl-root": { width: "100%" }
41
- })), k = t(f)(({ theme: e }) => ({
41
+ })), k = i(f)(({ theme: e }) => ({
42
42
  fontStyle: "italic",
43
43
  margin: `${e.spacing(1)} 0`
44
- })), A = t("div")(() => ({
44
+ })), A = i("div")(() => ({
45
45
  display: "flex",
46
46
  justifyContent: "space-between",
47
47
  alignItems: "center"
48
- })), j = t(f)(() => ({ color: s.disabled() })), M = t("div")(({ theme: e }) => ({ paddingTop: e.spacing(2) })), N = (e) => {
49
- let { disabled: t, displayedFields: n, labelValue: a, labelValues: o, gridValue: s, gridValues: c, onChange: l } = e, { labelStep: u = {}, step: d = {} } = n;
50
- return /* @__PURE__ */ i(w, { children: [d && d.enabled && /* @__PURE__ */ r(D, { children: /* @__PURE__ */ r(m, {
48
+ })), j = i(f)(() => ({ color: s.disabled() })), M = i("div")(({ theme: e }) => ({ paddingTop: e.spacing(2) })), N = (e) => {
49
+ let { disabled: t, displayedFields: i, labelValue: a, labelValues: o, gridValue: s, gridValues: c, onChange: l } = e, { labelStep: u = {}, step: d = {} } = i;
50
+ return /* @__PURE__ */ r(w, { children: [d && d.enabled && /* @__PURE__ */ n(D, { children: /* @__PURE__ */ n(m, {
51
51
  label: d.label || "",
52
52
  value: s,
53
53
  customValues: c,
54
54
  variant: "outlined",
55
55
  disabled: t,
56
56
  onChange: (e, t) => l("step", t)
57
- }) }), u && u.enabled && /* @__PURE__ */ r(D, { children: /* @__PURE__ */ r(m, {
57
+ }) }), u && u.enabled && /* @__PURE__ */ n(D, { children: /* @__PURE__ */ n(m, {
58
58
  label: u.label || "",
59
59
  value: a,
60
60
  customValues: o,
@@ -73,13 +73,13 @@ N.propTypes = {
73
73
  onChange: e.func
74
74
  };
75
75
  var P = (e) => {
76
- let { disabled: t, displayedFields: n, displayHeader: a, label: o, maxValue: s, minValue: l, onChange: u, type: d } = e, { axisLabel: p = {}, min: h = {}, max: g = {} } = n;
77
- return /* @__PURE__ */ i(w, { children: [
78
- a && /* @__PURE__ */ i(f, {
76
+ let { disabled: t, displayedFields: i, displayHeader: a, label: o, maxValue: s, minValue: l, onChange: u, type: d } = e, { axisLabel: p = {}, min: h = {}, max: g = {} } = i;
77
+ return /* @__PURE__ */ r(w, { children: [
78
+ a && /* @__PURE__ */ r(f, {
79
79
  variant: "subtitle2",
80
- children: [/* @__PURE__ */ r("i", { children: d === "domain" ? "x" : "y" }), "-axis"]
80
+ children: [/* @__PURE__ */ n("i", { children: d === "domain" ? "x" : "y" }), "-axis"]
81
81
  }),
82
- h && h.enabled && /* @__PURE__ */ r(D, { children: /* @__PURE__ */ r(m, {
82
+ h && h.enabled && /* @__PURE__ */ n(D, { children: /* @__PURE__ */ n(m, {
83
83
  label: h.label || "",
84
84
  value: l,
85
85
  min: -1e4,
@@ -88,7 +88,7 @@ var P = (e) => {
88
88
  disabled: t,
89
89
  onChange: (e, t) => u("min", t)
90
90
  }) }),
91
- g && g.enabled && /* @__PURE__ */ r(D, { children: /* @__PURE__ */ r(m, {
91
+ g && g.enabled && /* @__PURE__ */ n(D, { children: /* @__PURE__ */ n(m, {
92
92
  label: g.label || "",
93
93
  value: s,
94
94
  min: l + .05,
@@ -97,9 +97,9 @@ var P = (e) => {
97
97
  disabled: t,
98
98
  onChange: (e, t) => u("max", t)
99
99
  }) }),
100
- p && p.enabled && /* @__PURE__ */ r(D, { children: /* @__PURE__ */ r(v, {
100
+ p && p.enabled && /* @__PURE__ */ n(D, { children: /* @__PURE__ */ n(v, {
101
101
  label: p.label || "",
102
- children: /* @__PURE__ */ r(M, { children: /* @__PURE__ */ r(c, {
102
+ children: /* @__PURE__ */ n(M, { children: /* @__PURE__ */ n(c, {
103
103
  onChange: (e) => u("axisLabel", e),
104
104
  markup: o || "",
105
105
  charactersLimit: 5,
@@ -125,7 +125,7 @@ P.propTypes = {
125
125
  onChange: e.func
126
126
  };
127
127
  var F = (e) => {
128
- let { domain: t, displayedFields: a = {}, gridValues: o = {}, includeAxes: s, labelValues: c = {}, onChange: g, onChangeView: _, range: v, size: y, sizeConstraints: b, standardGrid: x } = e, D = {
128
+ let { domain: i, displayedFields: a = {}, gridValues: o = {}, includeAxes: s, labelValues: c = {}, onChange: g, onChangeView: _, range: v, size: y, sizeConstraints: b, standardGrid: x } = e, D = {
129
129
  min: 2,
130
130
  max: 41
131
131
  }, { axisLabel: M = {}, dimensionsEnabled: F, includeAxesEnabled: I, labelStep: L = {}, min: R = {}, max: z = {}, standardGridEnabled: B, step: V = {} } = a || {}, H = R.enabled || z.enabled || M.enabled || V.enabled || L.enabled, U = {
@@ -136,31 +136,31 @@ var F = (e) => {
136
136
  max: z,
137
137
  axisLabel: M
138
138
  }, G = (e) => {
139
- let n = (e) => {
140
- let n = e === "domain" ? t : v;
139
+ let t = (e) => {
140
+ let t = e === "domain" ? i : v;
141
141
  return {
142
142
  min: 1,
143
- max: n.max < D.min || n.max > D.max ? 16 : n.max,
143
+ max: t.max < D.min || t.max > D.max ? 16 : t.max,
144
144
  step: 1,
145
145
  labelStep: 0
146
146
  };
147
- }, r = {
147
+ }, n = {
148
148
  ...v,
149
- ...e ? { labelStep: 1 } : n("range")
150
- }, i = {
151
- ...t,
152
- ...e ? { labelStep: 1 } : n("domain")
149
+ ...e ? { labelStep: 1 } : t("range")
150
+ }, r = {
151
+ ...i,
152
+ ...e ? { labelStep: 1 } : t("domain")
153
153
  };
154
154
  g({
155
155
  includeAxes: e,
156
- range: r,
157
- domain: i
156
+ range: n,
157
+ domain: r
158
158
  });
159
159
  }, K = (e) => {
160
160
  g({
161
161
  standardGrid: e,
162
162
  range: {
163
- ...t,
163
+ ...i,
164
164
  axisLabel: v.axisLabel
165
165
  },
166
166
  graph: {
@@ -174,24 +174,24 @@ var F = (e) => {
174
174
  [e]: t
175
175
  };
176
176
  x && (n.height = t), g({ graph: n });
177
- }, J = (e, n) => {
178
- t[e] = n, x && e !== "axisLabel" && (v[e] = n), g({
179
- domain: t,
177
+ }, J = (e, t) => {
178
+ i[e] = t, x && e !== "axisLabel" && (v[e] = t), g({
179
+ domain: i,
180
180
  range: v
181
181
  });
182
182
  }, Y = (e, t) => {
183
183
  v[e] = t, g({ range: v });
184
- }, X = /* @__PURE__ */ i(n, { children: [
185
- /* @__PURE__ */ i(T, { children: [/* @__PURE__ */ r(P, {
184
+ }, X = /* @__PURE__ */ r(t, { children: [
185
+ /* @__PURE__ */ r(T, { children: [/* @__PURE__ */ n(P, {
186
186
  displayedFields: W,
187
187
  displayHeader: H,
188
188
  type: "domain",
189
- minValue: t.min,
190
- maxValue: t.max,
191
- label: t.axisLabel,
189
+ minValue: i.min,
190
+ maxValue: i.max,
191
+ label: i.axisLabel,
192
192
  includeAxes: s,
193
193
  onChange: J
194
- }), /* @__PURE__ */ r(P, {
194
+ }), /* @__PURE__ */ n(P, {
195
195
  displayedFields: W,
196
196
  displayHeader: H,
197
197
  type: "range",
@@ -202,15 +202,15 @@ var F = (e) => {
202
202
  includeAxes: s,
203
203
  onChange: Y
204
204
  })] }),
205
- (R.enabled || z.enabled) && /* @__PURE__ */ r(k, { children: "If you want the axis to be visible, use a zero or negative Min Value, and a positive Max Value" }),
206
- (V.enabled || L.enabled) && /* @__PURE__ */ i(T, { children: [/* @__PURE__ */ r(N, {
205
+ (R.enabled || z.enabled) && /* @__PURE__ */ n(k, { children: "If you want the axis to be visible, use a zero or negative Min Value, and a positive Max Value" }),
206
+ (V.enabled || L.enabled) && /* @__PURE__ */ r(T, { children: [/* @__PURE__ */ n(N, {
207
207
  displayedFields: U,
208
- gridValue: t.step,
209
- labelValue: t.labelStep,
208
+ gridValue: i.step,
209
+ labelValue: i.labelStep,
210
210
  gridValues: o.domain || [],
211
211
  labelValues: c.domain || [],
212
212
  onChange: J
213
- }), /* @__PURE__ */ r(N, {
213
+ }), /* @__PURE__ */ n(N, {
214
214
  disabled: x,
215
215
  displayedFields: U,
216
216
  gridValue: v.step,
@@ -219,15 +219,15 @@ var F = (e) => {
219
219
  labelValues: c.range || [],
220
220
  onChange: Y
221
221
  })] }),
222
- L.enabled && /* @__PURE__ */ r(k, { children: "For unnumbered gridlines, enter a label interval of 0" })
223
- ] }), Z = z.enabled ? /* @__PURE__ */ i(w, { children: [/* @__PURE__ */ r(O, { children: /* @__PURE__ */ r(m, {
222
+ L.enabled && /* @__PURE__ */ n(k, { children: "For unnumbered gridlines, enter a label interval of 0" })
223
+ ] }), Z = z.enabled ? /* @__PURE__ */ r(w, { children: [/* @__PURE__ */ n(O, { children: /* @__PURE__ */ n(m, {
224
224
  label: "Number of Vertical Gridlines",
225
- value: t.max,
225
+ value: i.max,
226
226
  min: !s && D.min,
227
227
  max: !s && D.max,
228
228
  variant: "outlined",
229
229
  onChange: (e, t) => J("max", t)
230
- }) }), /* @__PURE__ */ r(O, { children: /* @__PURE__ */ r(m, {
230
+ }) }), /* @__PURE__ */ n(O, { children: /* @__PURE__ */ n(m, {
231
231
  label: "Number of Horizontal Gridlines",
232
232
  value: v.max,
233
233
  min: !s && D.min,
@@ -236,38 +236,38 @@ var F = (e) => {
236
236
  disabled: x,
237
237
  onChange: (e, t) => Y("max", t)
238
238
  }) })] }) : null;
239
- return /* @__PURE__ */ r(S, { children: /* @__PURE__ */ i(l, {
239
+ return /* @__PURE__ */ n(S, { children: /* @__PURE__ */ r(l, {
240
240
  onChange: _,
241
241
  TransitionProps: { timeout: {
242
242
  enter: 225,
243
243
  exit: 195
244
244
  } },
245
- children: [/* @__PURE__ */ r(d, {
246
- expandIcon: /* @__PURE__ */ r(p, {}),
247
- children: /* @__PURE__ */ r(f, {
245
+ children: [/* @__PURE__ */ n(d, {
246
+ expandIcon: /* @__PURE__ */ n(p, {}),
247
+ children: /* @__PURE__ */ n(f, {
248
248
  variant: "subtitle1",
249
249
  children: "Customize Grid Setup"
250
250
  })
251
- }), /* @__PURE__ */ r(u, { children: /* @__PURE__ */ i(C, { children: [
252
- I && /* @__PURE__ */ r(h, {
251
+ }), /* @__PURE__ */ n(u, { children: /* @__PURE__ */ r(C, { children: [
252
+ I && /* @__PURE__ */ n(h, {
253
253
  label: "Include axes and labels?",
254
254
  toggle: G,
255
255
  checked: s
256
256
  }),
257
- B && /* @__PURE__ */ r(h, {
257
+ B && /* @__PURE__ */ n(h, {
258
258
  label: "Constrain to standard coordinate grid?",
259
259
  toggle: K,
260
260
  checked: x
261
261
  }),
262
262
  s ? X : Z,
263
- F && /* @__PURE__ */ i(A, { children: [
264
- /* @__PURE__ */ i("div", { children: [/* @__PURE__ */ r(f, { children: "Dimensions(px)" }), /* @__PURE__ */ i(j, { children: [
263
+ F && /* @__PURE__ */ r(A, { children: [
264
+ /* @__PURE__ */ r("div", { children: [/* @__PURE__ */ n(f, { children: "Dimensions(px)" }), /* @__PURE__ */ r(j, { children: [
265
265
  "Min ",
266
266
  b.min,
267
267
  ", Max ",
268
268
  b.max
269
269
  ] })] }),
270
- /* @__PURE__ */ r(E, { children: /* @__PURE__ */ r(m, {
270
+ /* @__PURE__ */ n(E, { children: /* @__PURE__ */ n(m, {
271
271
  label: "Width",
272
272
  value: y.width,
273
273
  min: b.min,
@@ -276,7 +276,7 @@ var F = (e) => {
276
276
  variant: "outlined",
277
277
  onChange: (e, t) => q("width", t)
278
278
  }) }),
279
- /* @__PURE__ */ r(E, { children: /* @__PURE__ */ r(m, {
279
+ /* @__PURE__ */ n(E, { children: /* @__PURE__ */ n(m, {
280
280
  label: "Height",
281
281
  value: y.height,
282
282
  min: b.min,
package/dist/grid.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { getTickValues as e } from "./utils.js";
2
- import t from "./node_modules/.bun/@visx_grid@3.12.0_f4eacebf2041cd4f/node_modules/@visx/grid/esm/grids/GridRows.js";
3
- import n from "./node_modules/.bun/@visx_grid@3.12.0_f4eacebf2041cd4f/node_modules/@visx/grid/esm/grids/GridColumns.js";
4
- import r from "./node_modules/.bun/@visx_grid@3.12.0_f4eacebf2041cd4f/node_modules/@visx/grid/esm/grids/Grid.js";
2
+ import t from "./node_modules/.bun/@visx_grid@4.0.0_d84c32d47042070f/node_modules/@visx/grid/esm/grids/GridRows.js";
3
+ import n from "./node_modules/.bun/@visx_grid@4.0.0_d84c32d47042070f/node_modules/@visx/grid/esm/grids/GridColumns.js";
4
+ import r from "./node_modules/.bun/@visx_grid@4.0.0_d84c32d47042070f/node_modules/@visx/grid/esm/grids/Grid.js";
5
5
  import i from "react";
6
6
  import a from "prop-types";
7
7
  import { types as o } from "@pie-lib/plot";
@@ -1,40 +1,40 @@
1
1
  import "react";
2
2
  import e from "prop-types";
3
- import { styled as t } from "@mui/material/styles";
4
- import { jsx as n, jsxs as r } from "react/jsx-runtime";
3
+ import { jsx as t, jsxs as n } from "react/jsx-runtime";
4
+ import { styled as r } from "@mui/material/styles";
5
5
  import { color as i } from "@pie-lib/render-ui";
6
6
  //#region src/key-legend.tsx
7
- var a = t("div")(() => ({
7
+ var a = r("div")(() => ({
8
8
  backgroundColor: i.defaults.WHITE,
9
9
  padding: "20px",
10
10
  width: "355px",
11
11
  boxShadow: "0px 1px 5px 0px #9297A6"
12
- })), o = t("div")({
12
+ })), o = r("div")({
13
13
  display: "flex",
14
14
  alignItems: "center",
15
15
  padding: "10px"
16
- }), s = t("div")(({ theme: e }) => ({
16
+ }), s = r("div")(({ theme: e }) => ({
17
17
  fontSize: e.typography.h6.fontSize,
18
18
  marginLeft: "30px",
19
19
  fontWeight: "700",
20
20
  marginBottom: "10px"
21
- })), c = t("div")({
21
+ })), c = r("div")({
22
22
  textAlign: "right",
23
23
  marginRight: "10px",
24
24
  width: "175px",
25
25
  fontSize: "15px"
26
- }), l = ({ className: e, isLabelAvailable: t }) => /* @__PURE__ */ r(a, {
26
+ }), l = ({ className: e, isLabelAvailable: r }) => /* @__PURE__ */ n(a, {
27
27
  className: e,
28
28
  children: [
29
- /* @__PURE__ */ n(s, { children: "Key" }),
30
- t && /* @__PURE__ */ r(o, { children: [/* @__PURE__ */ n(c, { children: " Missing Required Label " }), /* @__PURE__ */ r("svg", {
29
+ /* @__PURE__ */ t(s, { children: "Key" }),
30
+ r && /* @__PURE__ */ n(o, { children: [/* @__PURE__ */ t(c, { children: " Missing Required Label " }), /* @__PURE__ */ n("svg", {
31
31
  width: "34",
32
32
  height: "16",
33
33
  viewBox: "0 0 34 16",
34
34
  fill: "none",
35
35
  xmlns: "http://www.w3.org/2000/svg",
36
36
  children: [
37
- /* @__PURE__ */ n("rect", {
37
+ /* @__PURE__ */ t("rect", {
38
38
  x: "0.5",
39
39
  y: "0.5",
40
40
  width: "33",
@@ -43,48 +43,48 @@ var a = t("div")(() => ({
43
43
  fill: "white",
44
44
  stroke: "#BF0D00"
45
45
  }),
46
- /* @__PURE__ */ n("path", {
46
+ /* @__PURE__ */ t("path", {
47
47
  d: "M17.25 6.13965V3.2334C17.25 2.92871 17.4844 2.6709 17.8125 2.6709H20.7188C20.8594 2.6709 21 2.81152 21 2.95215V3.51465C21 3.67871 20.8594 3.7959 20.7188 3.7959H18.375V6.13965C18.375 6.30371 18.2344 6.4209 18.0938 6.4209H17.5312C17.3672 6.4209 17.25 6.30371 17.25 6.13965ZM24 2.95215C24 2.81152 24.1172 2.6709 24.2812 2.6709H27.1875C27.4922 2.6709 27.75 2.92871 27.75 3.2334V6.13965C27.75 6.30371 27.6094 6.4209 27.4688 6.4209H26.9062C26.7422 6.4209 26.625 6.30371 26.625 6.13965V3.7959H24.2812C24.1172 3.7959 24 3.67871 24 3.51465V2.95215ZM27.4688 9.4209C27.6094 9.4209 27.75 9.56152 27.75 9.70215V12.6084C27.75 12.9365 27.4922 13.1709 27.1875 13.1709H24.2812C24.1172 13.1709 24 13.0537 24 12.8896V12.3271C24 12.1865 24.1172 12.0459 24.2812 12.0459H26.625V9.70215C26.625 9.56152 26.7422 9.4209 26.9062 9.4209H27.4688ZM21 12.8896C21 13.0537 20.8594 13.1709 20.7188 13.1709H17.8125C17.4844 13.1709 17.25 12.9365 17.25 12.6084V9.70215C17.25 9.56152 17.3672 9.4209 17.5312 9.4209H18.0938C18.2344 9.4209 18.375 9.56152 18.375 9.70215V12.0459H20.7188C20.8594 12.0459 21 12.1865 21 12.3271V12.8896Z",
48
48
  fill: "#BF0D00"
49
49
  }),
50
- /* @__PURE__ */ n("path", {
50
+ /* @__PURE__ */ t("path", {
51
51
  d: "M9.23438 8.21045L10.9219 9.89795C11.0156 9.9917 11.0156 10.1636 10.9219 10.2573L10.5312 10.6479C10.4375 10.7417 10.2656 10.7417 10.1719 10.6479L8.5 8.96045L6.8125 10.6479C6.71875 10.7417 6.54688 10.7417 6.45312 10.6479L6.0625 10.2573C5.96875 10.1636 5.96875 9.9917 6.0625 9.89795L7.75 8.21045L6.0625 6.53857C5.96875 6.44482 5.96875 6.27295 6.0625 6.1792L6.45312 5.78857C6.54688 5.69482 6.71875 5.69482 6.8125 5.78857L8.5 7.47607L10.1719 5.78857C10.2656 5.69482 10.4375 5.69482 10.5312 5.78857L10.9219 6.1792C11.0156 6.27295 11.0156 6.44482 10.9219 6.53857L9.23438 8.21045Z",
52
52
  fill: "#BF0D00"
53
53
  })
54
54
  ]
55
55
  })] }),
56
- /* @__PURE__ */ r(o, { children: [/* @__PURE__ */ n(c, { children: " Answer Key Correct " }), /* @__PURE__ */ r("svg", {
56
+ /* @__PURE__ */ n(o, { children: [/* @__PURE__ */ t(c, { children: " Answer Key Correct " }), /* @__PURE__ */ n("svg", {
57
57
  width: "75",
58
58
  height: "15",
59
59
  viewBox: "0 0 75 15",
60
60
  fill: "none",
61
61
  xmlns: "http://www.w3.org/2000/svg",
62
62
  children: [
63
- /* @__PURE__ */ n("circle", {
63
+ /* @__PURE__ */ t("circle", {
64
64
  cx: "7.5",
65
65
  cy: "7.5",
66
66
  r: "7.5",
67
67
  fill: "#6A78A1"
68
68
  }),
69
- /* @__PURE__ */ n("path", {
69
+ /* @__PURE__ */ t("path", {
70
70
  d: "M3.125 5.76562V3.34375C3.125 3.08984 3.32031 2.875 3.59375 2.875H6.01562C6.13281 2.875 6.25 2.99219 6.25 3.10938V3.89062C6.25 4.02734 6.13281 4.125 6.01562 4.125H4.375V5.76562C4.375 5.90234 4.25781 6 4.14062 6H3.35938C3.22266 6 3.125 5.90234 3.125 5.76562ZM8.75 3.10938C8.75 2.99219 8.84766 2.875 8.98438 2.875H11.4062C11.6602 2.875 11.875 3.08984 11.875 3.34375V5.76562C11.875 5.90234 11.7578 6 11.6406 6H10.8594C10.7227 6 10.625 5.90234 10.625 5.76562V4.125H8.98438C8.84766 4.125 8.75 4.02734 8.75 3.89062V3.10938ZM11.6406 8.5C11.7578 8.5 11.875 8.61719 11.875 8.73438V11.1562C11.875 11.4297 11.6602 11.625 11.4062 11.625H8.98438C8.84766 11.625 8.75 11.5273 8.75 11.3906V10.6094C8.75 10.4922 8.84766 10.375 8.98438 10.375H10.625V8.73438C10.625 8.61719 10.7227 8.5 10.8594 8.5H11.6406ZM6.25 11.3906C6.25 11.5273 6.13281 11.625 6.01562 11.625H3.59375C3.32031 11.625 3.125 11.4297 3.125 11.1562V8.73438C3.125 8.61719 3.22266 8.5 3.35938 8.5H4.14062C4.25781 8.5 4.375 8.61719 4.375 8.73438V10.375H6.01562C6.13281 10.375 6.25 10.4922 6.25 10.6094V11.3906Z",
71
71
  fill: "white"
72
72
  }),
73
- /* @__PURE__ */ n("path", {
73
+ /* @__PURE__ */ t("path", {
74
74
  d: "M75 7L15 7",
75
75
  stroke: "#6A78A1",
76
76
  strokeDasharray: "4 2"
77
77
  })
78
78
  ]
79
79
  })] }),
80
- t && /* @__PURE__ */ r(o, { children: [/* @__PURE__ */ n(c, { children: " Answer Key Correct Label " }), /* @__PURE__ */ r("svg", {
80
+ r && /* @__PURE__ */ n(o, { children: [/* @__PURE__ */ t(c, { children: " Answer Key Correct Label " }), /* @__PURE__ */ n("svg", {
81
81
  width: "30",
82
82
  height: "16",
83
83
  viewBox: "0 0 30 16",
84
84
  fill: "none",
85
85
  xmlns: "http://www.w3.org/2000/svg",
86
86
  children: [
87
- /* @__PURE__ */ n("rect", {
87
+ /* @__PURE__ */ t("rect", {
88
88
  x: "0.5",
89
89
  y: "0.5",
90
90
  width: "29",
@@ -92,7 +92,7 @@ var a = t("div")(() => ({
92
92
  rx: "3.5",
93
93
  fill: "white"
94
94
  }),
95
- /* @__PURE__ */ n("rect", {
95
+ /* @__PURE__ */ t("rect", {
96
96
  x: "0.5",
97
97
  y: "0.5",
98
98
  width: "29",
@@ -100,44 +100,44 @@ var a = t("div")(() => ({
100
100
  rx: "3.5",
101
101
  stroke: "#6A78A1"
102
102
  }),
103
- /* @__PURE__ */ n("path", {
103
+ /* @__PURE__ */ t("path", {
104
104
  d: "M4.37793 10.2061H6.58984V11.5H2.91309V4.44434H4.37793V10.2061ZM11.6387 10.1377C11.6387 10.6715 11.6794 11.0801 11.7607 11.3633V11.5H10.4473L10.335 10.9531C10.1559 11.168 9.92155 11.3291 9.63184 11.4365C9.34212 11.5439 9.03939 11.5977 8.72363 11.5977C8.55762 11.5977 8.40137 11.583 8.25488 11.5537C8.1084 11.5244 7.9668 11.4756 7.83008 11.4072C7.69661 11.3356 7.58105 11.2477 7.4834 11.1436C7.38574 11.0394 7.30762 10.9076 7.24902 10.748C7.19043 10.5853 7.16113 10.403 7.16113 10.2012C7.16113 9.99935 7.19206 9.81868 7.25391 9.65918C7.31576 9.49642 7.39714 9.3597 7.49805 9.24902C7.59896 9.13835 7.73079 9.03906 7.89355 8.95117C8.05632 8.86328 8.22233 8.79167 8.3916 8.73633C8.56087 8.68099 8.75944 8.62891 8.9873 8.58008L9.8125 8.39453C9.98828 8.35221 10.112 8.30013 10.1836 8.23828C10.2585 8.17318 10.2959 8.08854 10.2959 7.98438C10.2959 7.75977 10.2129 7.59863 10.0469 7.50098C9.88411 7.40332 9.68555 7.35449 9.45117 7.35449C8.875 7.35449 8.54785 7.61003 8.46973 8.12109L7.22461 7.89648C7.32878 7.37891 7.57129 6.99805 7.95215 6.75391C8.33301 6.50651 8.85872 6.38281 9.5293 6.38281C10.9355 6.38281 11.6387 6.98665 11.6387 8.19434V10.1377ZM9.16309 10.6455C9.5179 10.6455 9.80762 10.5251 10.0322 10.2842C10.2568 10.04 10.3691 9.68034 10.3691 9.20508L9.17773 9.54199C8.95964 9.59408 8.79199 9.66243 8.6748 9.74707C8.56087 9.83171 8.50391 9.95215 8.50391 10.1084C8.50391 10.2809 8.56576 10.4144 8.68945 10.5088C8.81315 10.5999 8.97103 10.6455 9.16309 10.6455ZM15.96 6.38281C16.2887 6.38281 16.5996 6.44303 16.8926 6.56348C17.1855 6.68392 17.4411 6.85482 17.6592 7.07617C17.8805 7.29427 18.0547 7.56934 18.1816 7.90137C18.3086 8.2334 18.3721 8.59961 18.3721 9C18.3721 9.40039 18.3086 9.7666 18.1816 10.0986C18.0547 10.4307 17.8805 10.7074 17.6592 10.9287C17.4411 11.1468 17.1855 11.3161 16.8926 11.4365C16.5996 11.557 16.2887 11.6172 15.96 11.6172C15.6084 11.6172 15.291 11.5505 15.0078 11.417C14.7279 11.2803 14.5179 11.0898 14.3779 10.8457L14.3438 11.5H13.0107V4H14.417V7.09082C14.5602 6.86621 14.7686 6.69206 15.042 6.56836C15.3187 6.44466 15.6247 6.38281 15.96 6.38281ZM15.6328 10.4502C16.0169 10.4502 16.3343 10.3184 16.585 10.0547C16.8389 9.79102 16.9658 9.43945 16.9658 9C16.9658 8.55729 16.8389 8.2041 16.585 7.94043C16.3343 7.67676 16.0169 7.54492 15.6328 7.54492C15.2552 7.54492 14.9395 7.68001 14.6855 7.9502C14.4316 8.21712 14.3047 8.56706 14.3047 9C14.3047 9.43294 14.43 9.78288 14.6807 10.0498C14.9346 10.3167 15.252 10.4502 15.6328 10.4502ZM24.1582 8.91699L24.1436 9.25391H20.4229C20.4521 9.6543 20.5856 9.96029 20.8232 10.1719C21.0609 10.3835 21.3555 10.4893 21.707 10.4893C21.9609 10.4893 22.1807 10.4323 22.3662 10.3184C22.555 10.2012 22.6966 10.0319 22.791 9.81055L24.0801 10.001C23.9141 10.5055 23.6211 10.8978 23.2012 11.1777C22.7812 11.4577 22.2865 11.5977 21.7168 11.5977C20.8965 11.5977 20.2438 11.3682 19.7588 10.9092C19.277 10.4469 19.0361 9.80729 19.0361 8.99023C19.0361 8.17969 19.2786 7.54167 19.7637 7.07617C20.2487 6.60742 20.8851 6.37305 21.6729 6.37305C22.4215 6.37305 23.0221 6.58626 23.4746 7.0127C23.9271 7.43913 24.1549 8.07389 24.1582 8.91699ZM21.6826 7.36914C20.999 7.36914 20.5921 7.69141 20.4619 8.33594H22.7666C22.7308 8.02344 22.6152 7.78418 22.4199 7.61816C22.2246 7.45215 21.9788 7.36914 21.6826 7.36914ZM25.2275 11.5V4H26.6484V11.5H25.2275Z",
105
105
  fill: "#6A78A1"
106
106
  })
107
107
  ]
108
108
  })] }),
109
- /* @__PURE__ */ r(o, { children: [/* @__PURE__ */ n(c, { children: " Student Incorrect " }), /* @__PURE__ */ r("svg", {
109
+ /* @__PURE__ */ n(o, { children: [/* @__PURE__ */ t(c, { children: " Student Incorrect " }), /* @__PURE__ */ n("svg", {
110
110
  width: "77",
111
111
  height: "16",
112
112
  viewBox: "0 0 77 16",
113
113
  fill: "none",
114
114
  xmlns: "http://www.w3.org/2000/svg",
115
115
  children: [
116
- /* @__PURE__ */ n("circle", {
116
+ /* @__PURE__ */ t("circle", {
117
117
  cx: "8",
118
118
  cy: "8",
119
119
  r: "8",
120
120
  fill: "#BF0D00"
121
121
  }),
122
- /* @__PURE__ */ n("path", {
122
+ /* @__PURE__ */ t("path", {
123
123
  d: "M9.04688 8.5L11.3906 10.8672C11.6953 11.1484 11.6953 11.6172 11.3906 11.8984L10.875 12.4141C10.5938 12.7188 10.125 12.7188 9.84375 12.4141L7.5 10.0703L5.13281 12.4141C4.85156 12.7188 4.38281 12.7188 4.10156 12.4141L3.58594 11.8984C3.28125 11.6172 3.28125 11.1484 3.58594 10.8672L5.92969 8.5L3.58594 6.15625C3.28125 5.875 3.28125 5.40625 3.58594 5.125L4.10156 4.60938C4.38281 4.30469 4.85156 4.30469 5.13281 4.60938L7.5 6.95312L9.84375 4.60938C10.125 4.30469 10.5938 4.30469 10.875 4.60938L11.3906 5.125C11.6953 5.40625 11.6953 5.875 11.3906 6.15625L9.04688 8.5Z",
124
124
  fill: "white"
125
125
  }),
126
- /* @__PURE__ */ n("path", {
126
+ /* @__PURE__ */ t("path", {
127
127
  d: "M77 8L15 8",
128
128
  stroke: "#BF0D00",
129
129
  strokeWidth: "3"
130
130
  })
131
131
  ]
132
132
  })] }),
133
- t && /* @__PURE__ */ r(o, { children: [/* @__PURE__ */ n(c, { children: " Incorrect Student Label " }), /* @__PURE__ */ r("svg", {
133
+ r && /* @__PURE__ */ n(o, { children: [/* @__PURE__ */ t(c, { children: " Incorrect Student Label " }), /* @__PURE__ */ n("svg", {
134
134
  width: "42",
135
135
  height: "16",
136
136
  viewBox: "0 0 42 16",
137
137
  fill: "none",
138
138
  xmlns: "http://www.w3.org/2000/svg",
139
139
  children: [
140
- /* @__PURE__ */ n("rect", {
140
+ /* @__PURE__ */ t("rect", {
141
141
  x: "0.5",
142
142
  y: "0.5",
143
143
  width: "41",
@@ -145,7 +145,7 @@ var a = t("div")(() => ({
145
145
  rx: "3.5",
146
146
  fill: "white"
147
147
  }),
148
- /* @__PURE__ */ n("rect", {
148
+ /* @__PURE__ */ t("rect", {
149
149
  x: "0.5",
150
150
  y: "0.5",
151
151
  width: "41",
@@ -153,49 +153,49 @@ var a = t("div")(() => ({
153
153
  rx: "3.5",
154
154
  stroke: "#BF0D00"
155
155
  }),
156
- /* @__PURE__ */ n("path", {
156
+ /* @__PURE__ */ t("path", {
157
157
  d: "M7.23438 8.5L8.92188 10.1875C9.01562 10.2812 9.01562 10.4531 8.92188 10.5469L8.53125 10.9375C8.4375 11.0312 8.26562 11.0312 8.17188 10.9375L6.5 9.25L4.8125 10.9375C4.71875 11.0312 4.54688 11.0312 4.45312 10.9375L4.0625 10.5469C3.96875 10.4531 3.96875 10.2812 4.0625 10.1875L5.75 8.5L4.0625 6.82812C3.96875 6.73438 3.96875 6.5625 4.0625 6.46875L4.45312 6.07812C4.54688 5.98438 4.71875 5.98438 4.8125 6.07812L6.5 7.76562L8.17188 6.07812C8.26562 5.98438 8.4375 5.98438 8.53125 6.07812L8.92188 6.46875C9.01562 6.5625 9.01562 6.73438 8.92188 6.82812L7.23438 8.5Z",
158
158
  fill: "#BF0D00"
159
159
  }),
160
- /* @__PURE__ */ n("path", {
160
+ /* @__PURE__ */ t("path", {
161
161
  d: "M14.9531 10.7041H17.3408V11.5H14.0791V4.625H14.9531V10.7041ZM19.5869 11.5928C19.1605 11.5928 18.8089 11.4837 18.5322 11.2656C18.2588 11.0443 18.1221 10.7155 18.1221 10.2793C18.1221 10.0384 18.166 9.83008 18.2539 9.6543C18.3418 9.47526 18.472 9.32878 18.6445 9.21484C18.8171 9.10091 19.0042 9.01139 19.2061 8.94629C19.4111 8.87793 19.6553 8.81934 19.9385 8.77051L20.7148 8.64355C20.998 8.59147 21.1396 8.44336 21.1396 8.19922C21.1396 7.8737 21.0387 7.63607 20.8369 7.48633C20.6383 7.33333 20.3861 7.25684 20.0801 7.25684C19.7806 7.25684 19.5299 7.33008 19.3281 7.47656C19.1263 7.62305 19.0075 7.84766 18.9717 8.15039L18.21 7.98926C18.2816 7.53353 18.4818 7.19173 18.8105 6.96387C19.1393 6.73275 19.5755 6.61719 20.1191 6.61719C20.373 6.61719 20.6042 6.64648 20.8125 6.70508C21.0241 6.76042 21.2178 6.84993 21.3936 6.97363C21.5726 7.09408 21.7109 7.2666 21.8086 7.49121C21.9095 7.71257 21.96 7.97461 21.96 8.27734V10.2598C21.96 10.5072 21.9958 10.6748 22.0674 10.7627C22.1423 10.8473 22.2692 10.8896 22.4482 10.8896H22.5264V11.5H22.1064C21.5889 11.5 21.2861 11.2835 21.1982 10.8506H21.1592C20.7946 11.3454 20.2705 11.5928 19.5869 11.5928ZM19.7822 10.9092C20.2087 10.9092 20.5521 10.7546 20.8125 10.4453C21.0729 10.1361 21.2031 9.71289 21.2031 9.17578L19.9336 9.41992C19.5983 9.47526 19.3493 9.56478 19.1865 9.68848C19.027 9.80892 18.9473 9.98307 18.9473 10.2109C18.9473 10.4486 19.0238 10.6243 19.1768 10.7383C19.333 10.8522 19.5348 10.9092 19.7822 10.9092ZM26.2666 6.60742C26.8916 6.60742 27.4206 6.83854 27.8535 7.30078C28.2865 7.76302 28.5029 8.36361 28.5029 9.10254C28.5029 9.84473 28.2881 10.4469 27.8584 10.9092C27.4287 11.3714 26.8981 11.6025 26.2666 11.6025C25.889 11.6025 25.5472 11.5098 25.2412 11.3242C24.9385 11.1387 24.7106 10.8864 24.5576 10.5674L24.5381 11.5H23.7227V4H24.5625L24.5674 7.61816C24.7236 7.30566 24.9515 7.0599 25.251 6.88086C25.5537 6.69857 25.8923 6.60742 26.2666 6.60742ZM26.0811 10.8701C26.527 10.8701 26.9014 10.7074 27.2041 10.3818C27.5068 10.0531 27.6582 9.62663 27.6582 9.10254C27.6582 8.57845 27.5068 8.15365 27.2041 7.82812C26.9014 7.49935 26.527 7.33496 26.0811 7.33496C25.6416 7.33496 25.2705 7.50423 24.9678 7.84277C24.665 8.18132 24.5137 8.60124 24.5137 9.10254C24.5137 9.6071 24.6634 10.0286 24.9629 10.3672C25.2656 10.7025 25.6383 10.8701 26.0811 10.8701ZM34.0352 9.00488L34.0254 9.23438H30.2754C30.2884 9.76823 30.4414 10.1784 30.7344 10.4648C31.0273 10.748 31.3919 10.8896 31.8281 10.8896C32.1211 10.8896 32.3864 10.8132 32.624 10.6602C32.8617 10.5072 33.0439 10.2956 33.1709 10.0254L33.9326 10.1865C33.7601 10.6227 33.4867 10.9661 33.1123 11.2168C32.738 11.4674 32.3132 11.5928 31.8379 11.5928C31.125 11.5928 30.5488 11.3698 30.1094 10.9238C29.6699 10.4779 29.4502 9.86914 29.4502 9.09766C29.4502 8.32943 29.6699 7.72233 30.1094 7.27637C30.5521 6.8304 31.1201 6.60742 31.8135 6.60742C32.484 6.60742 33.0212 6.8125 33.4248 7.22266C33.8317 7.63281 34.0352 8.22689 34.0352 9.00488ZM31.8135 7.25684C31.4163 7.25684 31.0827 7.37077 30.8125 7.59863C30.5456 7.82324 30.3779 8.15202 30.3096 8.58496H33.1855C33.153 8.15202 33.013 7.82324 32.7656 7.59863C32.5182 7.37077 32.2008 7.25684 31.8135 7.25684ZM35.3633 11.5V4H36.2178V11.5H35.3633Z",
162
162
  fill: "#BF0D00"
163
163
  })
164
164
  ]
165
165
  })] }),
166
- /* @__PURE__ */ r(o, { children: [/* @__PURE__ */ n(c, { children: " Student Correct " }), /* @__PURE__ */ r("svg", {
166
+ /* @__PURE__ */ n(o, { children: [/* @__PURE__ */ t(c, { children: " Student Correct " }), /* @__PURE__ */ n("svg", {
167
167
  width: "76",
168
168
  height: "16",
169
169
  viewBox: "0 0 76 16",
170
170
  fill: "none",
171
171
  xmlns: "http://www.w3.org/2000/svg",
172
172
  children: [
173
- /* @__PURE__ */ n("path", {
173
+ /* @__PURE__ */ t("path", {
174
174
  d: "M76 8L14 8",
175
175
  stroke: "#0B7D38",
176
176
  strokeWidth: "3"
177
177
  }),
178
- /* @__PURE__ */ n("circle", {
178
+ /* @__PURE__ */ t("circle", {
179
179
  cx: "8",
180
180
  cy: "8",
181
181
  r: "8",
182
182
  fill: "#0B7D38"
183
183
  }),
184
- /* @__PURE__ */ n("path", {
184
+ /* @__PURE__ */ t("path", {
185
185
  d: "M12.1953 4.46875C12.3125 4.35156 12.5 4.35156 12.5938 4.46875L13.2734 5.125C13.3672 5.24219 13.3672 5.42969 13.2734 5.52344L6.24219 12.5547C6.125 12.6719 5.96094 12.6719 5.84375 12.5547L2.70312 9.4375C2.60938 9.32031 2.60938 9.13281 2.70312 9.03906L3.38281 8.35938C3.47656 8.26562 3.66406 8.26562 3.78125 8.35938L6.03125 10.6328L12.1953 4.46875Z",
186
186
  fill: "white"
187
187
  }),
188
188
  " "
189
189
  ]
190
190
  })] }),
191
- t && /* @__PURE__ */ r(o, { children: [/* @__PURE__ */ n(c, { children: " Student Correct Label " }), /* @__PURE__ */ r("svg", {
191
+ r && /* @__PURE__ */ n(o, { children: [/* @__PURE__ */ t(c, { children: " Student Correct Label " }), /* @__PURE__ */ n("svg", {
192
192
  width: "43",
193
193
  height: "16",
194
194
  viewBox: "0 0 43 16",
195
195
  fill: "none",
196
196
  xmlns: "http://www.w3.org/2000/svg",
197
197
  children: [
198
- /* @__PURE__ */ n("rect", {
198
+ /* @__PURE__ */ t("rect", {
199
199
  x: "0.5",
200
200
  y: "0.5",
201
201
  width: "42",
@@ -203,7 +203,7 @@ var a = t("div")(() => ({
203
203
  rx: "3.5",
204
204
  fill: "white"
205
205
  }),
206
- /* @__PURE__ */ n("rect", {
206
+ /* @__PURE__ */ t("rect", {
207
207
  x: "0.5",
208
208
  y: "0.5",
209
209
  width: "42",
@@ -211,11 +211,11 @@ var a = t("div")(() => ({
211
211
  rx: "3.5",
212
212
  stroke: "#0B7D38"
213
213
  }),
214
- /* @__PURE__ */ n("path", {
214
+ /* @__PURE__ */ t("path", {
215
215
  d: "M11.7969 5.3125C11.875 5.23438 12 5.23438 12.0625 5.3125L12.5156 5.75C12.5781 5.82812 12.5781 5.95312 12.5156 6.01562L7.82812 10.7031C7.75 10.7812 7.64062 10.7812 7.5625 10.7031L5.46875 8.625C5.40625 8.54688 5.40625 8.42188 5.46875 8.35938L5.92188 7.90625C5.98438 7.84375 6.10938 7.84375 6.1875 7.90625L7.6875 9.42188L11.7969 5.3125Z",
216
216
  fill: "#0B7D38"
217
217
  }),
218
- /* @__PURE__ */ n("path", {
218
+ /* @__PURE__ */ t("path", {
219
219
  d: "M15.9531 10.7041H18.3408V11.5H15.0791V4.625H15.9531V10.7041ZM20.5869 11.5928C20.1605 11.5928 19.8089 11.4837 19.5322 11.2656C19.2588 11.0443 19.1221 10.7155 19.1221 10.2793C19.1221 10.0384 19.166 9.83008 19.2539 9.6543C19.3418 9.47526 19.472 9.32878 19.6445 9.21484C19.8171 9.10091 20.0042 9.01139 20.2061 8.94629C20.4111 8.87793 20.6553 8.81934 20.9385 8.77051L21.7148 8.64355C21.998 8.59147 22.1396 8.44336 22.1396 8.19922C22.1396 7.8737 22.0387 7.63607 21.8369 7.48633C21.6383 7.33333 21.3861 7.25684 21.0801 7.25684C20.7806 7.25684 20.5299 7.33008 20.3281 7.47656C20.1263 7.62305 20.0075 7.84766 19.9717 8.15039L19.21 7.98926C19.2816 7.53353 19.4818 7.19173 19.8105 6.96387C20.1393 6.73275 20.5755 6.61719 21.1191 6.61719C21.373 6.61719 21.6042 6.64648 21.8125 6.70508C22.0241 6.76042 22.2178 6.84993 22.3936 6.97363C22.5726 7.09408 22.7109 7.2666 22.8086 7.49121C22.9095 7.71257 22.96 7.97461 22.96 8.27734V10.2598C22.96 10.5072 22.9958 10.6748 23.0674 10.7627C23.1423 10.8473 23.2692 10.8896 23.4482 10.8896H23.5264V11.5H23.1064C22.5889 11.5 22.2861 11.2835 22.1982 10.8506H22.1592C21.7946 11.3454 21.2705 11.5928 20.5869 11.5928ZM20.7822 10.9092C21.2087 10.9092 21.5521 10.7546 21.8125 10.4453C22.0729 10.1361 22.2031 9.71289 22.2031 9.17578L20.9336 9.41992C20.5983 9.47526 20.3493 9.56478 20.1865 9.68848C20.027 9.80892 19.9473 9.98307 19.9473 10.2109C19.9473 10.4486 20.0238 10.6243 20.1768 10.7383C20.333 10.8522 20.5348 10.9092 20.7822 10.9092ZM27.2666 6.60742C27.8916 6.60742 28.4206 6.83854 28.8535 7.30078C29.2865 7.76302 29.5029 8.36361 29.5029 9.10254C29.5029 9.84473 29.2881 10.4469 28.8584 10.9092C28.4287 11.3714 27.8981 11.6025 27.2666 11.6025C26.889 11.6025 26.5472 11.5098 26.2412 11.3242C25.9385 11.1387 25.7106 10.8864 25.5576 10.5674L25.5381 11.5H24.7227V4H25.5625L25.5674 7.61816C25.7236 7.30566 25.9515 7.0599 26.251 6.88086C26.5537 6.69857 26.8923 6.60742 27.2666 6.60742ZM27.0811 10.8701C27.527 10.8701 27.9014 10.7074 28.2041 10.3818C28.5068 10.0531 28.6582 9.62663 28.6582 9.10254C28.6582 8.57845 28.5068 8.15365 28.2041 7.82812C27.9014 7.49935 27.527 7.33496 27.0811 7.33496C26.6416 7.33496 26.2705 7.50423 25.9678 7.84277C25.665 8.18132 25.5137 8.60124 25.5137 9.10254C25.5137 9.6071 25.6634 10.0286 25.9629 10.3672C26.2656 10.7025 26.6383 10.8701 27.0811 10.8701ZM35.0352 9.00488L35.0254 9.23438H31.2754C31.2884 9.76823 31.4414 10.1784 31.7344 10.4648C32.0273 10.748 32.3919 10.8896 32.8281 10.8896C33.1211 10.8896 33.3864 10.8132 33.624 10.6602C33.8617 10.5072 34.0439 10.2956 34.1709 10.0254L34.9326 10.1865C34.7601 10.6227 34.4867 10.9661 34.1123 11.2168C33.738 11.4674 33.3132 11.5928 32.8379 11.5928C32.125 11.5928 31.5488 11.3698 31.1094 10.9238C30.6699 10.4779 30.4502 9.86914 30.4502 9.09766C30.4502 8.32943 30.6699 7.72233 31.1094 7.27637C31.5521 6.8304 32.1201 6.60742 32.8135 6.60742C33.484 6.60742 34.0212 6.8125 34.4248 7.22266C34.8317 7.63281 35.0352 8.22689 35.0352 9.00488ZM32.8135 7.25684C32.4163 7.25684 32.0827 7.37077 31.8125 7.59863C31.5456 7.82324 31.3779 8.15202 31.3096 8.58496H34.1855C34.153 8.15202 34.013 7.82324 33.7656 7.59863C33.5182 7.37077 33.2008 7.25684 32.8135 7.25684ZM36.3633 11.5V4H37.2178V11.5H36.3633Z",
220
220
  fill: "#0B7D38"
221
221
  })