@pie-element/graphing-solution-set 7.0.5 → 7.0.6-next.20261016071127

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.
@@ -1,5 +1,5 @@
1
1
  import { E as e, f as t, g as n, i as r, t as i, v as a, x as o } from "../browser-D_x3mPO2.js";
2
- import { $ as s, B as c, D as l, E as u, F as d, G as f, H as p, I as m, J as h, K as g, L as _, O as v, P as y, Q as b, R as x, T as S, U as C, V as w, X as T, Y as E, Z as D, _ as O, a as k, b as A, c as j, d as ee, et as M, f as te, g as N, h as ne, i as re, j as P, k as F, l as ie, m as ae, n as oe, nt as se, o as ce, p as le, q as I, r as ue, rt as de, s as fe, t as pe, tt as me, u as he, v as L, y as ge, z as R } from "../alert-dialog-CXOWAQbA.js";
2
+ import { $ as s, B as c, D as l, E as u, F as d, G as f, H as p, I as m, J as h, K as g, L as _, O as v, P as y, Q as b, R as x, T as S, U as C, V as w, X as T, Y as E, Z as D, _ as O, a as k, b as A, c as j, d as ee, et as M, f as te, g as N, h as ne, i as re, j as P, k as F, l as ie, m as ae, n as oe, nt as se, o as ce, p as le, q as I, r as ue, rt as de, s as fe, t as pe, tt as me, u as he, v as L, y as ge, z as R } from "../alert-dialog-O7l81UTU.js";
3
3
  import * as z from "react";
4
4
  import B, { Component as _e, createElement as ve, useId as ye } from "react";
5
5
  import { createRoot as be } from "react-dom/client";
@@ -3828,7 +3828,7 @@ var zr = [
3828
3828
  }
3829
3829
  }, Bi = Object.freeze({
3830
3830
  name: "@pie-element/graphing-solution-set",
3831
- version: "7.0.5"
3831
+ version: "7.0.6-next.20261016071127"
3832
3832
  });
3833
3833
  //#endregion
3834
3834
  export { zi as default, Bi as piePackage };
@@ -190,7 +190,7 @@ var M = (e, t) => new Promise((n) => {
190
190
  return !o && (!n.selectedTool === "solutionSet" || !s) && (a.correctAnswer = "Please select a solution set for the graphing solution set item."), r(a) || (i.correctAnswerErrors = a), i;
191
191
  }, P = Object.freeze({
192
192
  name: "@pie-element/graphing-solution-set",
193
- version: "7.0.5"
193
+ version: "7.0.6-next.20261016071127"
194
194
  });
195
195
  //#endregion
196
196
  export { E as compareMarks, M as createCorrectResponseSession, D as getAnswerCorrected, O as getBestAnswer, A as model, k as normalize, j as outcome, P as piePackage, N as validate };
@@ -1,5 +1,5 @@
1
1
  import { E as e } from "../browser-D_x3mPO2.js";
2
- import { A as t, C as n, G as r, M as i, N as a, S as o, W as s, b as c, n as l, nt as u, q as d, rt as f, t as ee, w as p, x as te } from "../alert-dialog-CXOWAQbA.js";
2
+ import { A as t, C as n, G as r, M as i, N as a, S as o, W as s, b as c, n as l, nt as u, q as d, rt as f, t as ee, w as p, x as te } from "../alert-dialog-O7l81UTU.js";
3
3
  import m, { useRef as h } from "react";
4
4
  import { createRoot as g } from "react-dom/client";
5
5
  import { jsx as _, jsxs as v } from "react/jsx-runtime";
@@ -794,7 +794,7 @@ var Y = c, X = Y.default, Z = X && typeof X == "object" ? X : Y, _e = J(t, "UiLa
794
794
  }
795
795
  }, we = Object.freeze({
796
796
  name: "@pie-element/graphing-solution-set",
797
- version: "7.0.5"
797
+ version: "7.0.6-next.20261016071127"
798
798
  });
799
799
  //#endregion
800
800
  export { Se as Component, Ce as default, we as piePackage };
@@ -172,7 +172,7 @@ var gt;
172
172
  function _t() {
173
173
  return gt;
174
174
  }
175
- var vt = import("./mathjax-CptWnMbQ-D9IlROIf.js");
175
+ var vt = import("./mathjax-CptWnMbQ-C7JxCmR_.js");
176
176
  vt.catch(() => {});
177
177
  async function yt(e, t) {
178
178
  let { createMathJax: n } = await vt;
@@ -30404,7 +30404,8 @@ var SU = TS, CU = SU.default, wU = CU && typeof CU == "object" ? CU : SU, TU = x
30404
30404
  mathMlOptions: H.default.object,
30405
30405
  labelsCharactersLimit: H.default.number,
30406
30406
  ariaLabel: H.default.string,
30407
- ariaDescription: H.default.string
30407
+ ariaDescription: H.default.string,
30408
+ leftAxisOverhang: H.default.number
30408
30409
  };
30409
30410
  mouseMove = (e, t) => {
30410
30411
  let { graphProps: n, onMouseMove: r } = this.props;
@@ -30470,7 +30471,7 @@ var SU = TS, CU = SU.default, wU = CU && typeof CU == "object" ? CU : SU, TU = x
30470
30471
  this.resizeObserver &&= (this.resizeObserver.disconnect(), null);
30471
30472
  };
30472
30473
  render() {
30473
- let { disabledTitle: e, disabledLabels: t, labels: n, labelsPlaceholders: r, titlePlaceholder: i, graphProps: a, children: o, defineChart: s, onChangeTitle: c, isChart: l, showLabels: u, showPixelGuides: d, showTitle: f, title: p, rootRef: m, mathMlOptions: h = {}, labelsCharactersLimit: g, ariaLabel: _, ariaDescription: v } = this.props, { size: { width: y = 500, height: b = 500 }, domain: x, range: S } = a, C = $d(Zd(n?.left)) && Qd(r) ? 48 : 70, w = $d(Zd(n?.right)) && Qd(r) ? 48 : 70, T = y + C + w + (x.padding || 0) * 2, E = b + 80 + (S.padding || 0) * 2, D = [
30474
+ let { disabledTitle: e, disabledLabels: t, labels: n, labelsPlaceholders: r, titlePlaceholder: i, graphProps: a, children: o, defineChart: s, onChangeTitle: c, isChart: l, showLabels: u, showPixelGuides: d, showTitle: f, title: p, rootRef: m, mathMlOptions: h = {}, labelsCharactersLimit: g, ariaLabel: _, ariaDescription: v, leftAxisOverhang: y = 0 } = this.props, { size: { width: b = 500, height: x = 500 }, domain: S, range: C } = a, w = ($d(Zd(n?.left)) && Qd(r) ? 48 : 70) + y, T = $d(Zd(n?.right)) && Qd(r) ? 48 : 70, E = b + w + T + (S.padding || 0) * 2, D = x + 80 + (C.padding || 0) * 2, O = [
30474
30475
  "bold",
30475
30476
  "italic",
30476
30477
  "underline",
@@ -30478,20 +30479,20 @@ var SU = TS, CU = SU.default, wU = CU && typeof CU == "object" ? CU : SU, TU = x
30478
30479
  "subscript",
30479
30480
  "strikethrough",
30480
30481
  "math"
30481
- ], O = s && d ? b - 160 : b, k = parseInt(y / 100), A = parseInt(O / 100), j = parseInt(O % 100), { titleHeight: M } = this.state, ee = {
30482
+ ], k = s && d ? x - 160 : x, A = parseInt(b / 100), j = parseInt(k / 100), M = parseInt(k % 100), { titleHeight: ee } = this.state, N = {
30482
30483
  ..._ && {
30483
30484
  role: "group",
30484
30485
  "aria-label": _
30485
30486
  },
30486
30487
  ...v && { "aria-describedby": this.descriptionId }
30487
- }, N = v ? /* @__PURE__ */ L("desc", {
30488
+ }, P = v ? /* @__PURE__ */ L("desc", {
30488
30489
  id: this.descriptionId,
30489
30490
  children: v
30490
30491
  }) : null;
30491
30492
  return /* @__PURE__ */ R(DU, { children: [
30492
30493
  d && /* @__PURE__ */ L(PU, {
30493
30494
  style: { marginLeft: l ? 80 : u ? 30 : 10 },
30494
- children: [...Array(k + 1).keys()].map((e) => /* @__PURE__ */ L(TU, {
30495
+ children: [...Array(A + 1).keys()].map((e) => /* @__PURE__ */ L(TU, {
30495
30496
  false: !0,
30496
30497
  children: /* @__PURE__ */ R(FU, { children: [/* @__PURE__ */ R("div", { children: [e * 100, "px"] }), /* @__PURE__ */ L("div", { children: "|" })] })
30497
30498
  }, `top-guide-${e}`))
@@ -30499,7 +30500,7 @@ var SU = TS, CU = SU.default, wU = CU && typeof CU == "object" ? CU : SU, TU = x
30499
30500
  f && (e ? /* @__PURE__ */ L("div", {
30500
30501
  ref: (e) => this.titleRef = e,
30501
30502
  style: {
30502
- ...l && { width: T },
30503
+ ...l && { width: E },
30503
30504
  ...$d(Zd(p)) && { display: "none" }
30504
30505
  },
30505
30506
  children: L(l ? NU : MU, {
@@ -30511,7 +30512,7 @@ var SU = TS, CU = SU.default, wU = CU && typeof CU == "object" ? CU : SU, TU = x
30511
30512
  children: L(l ? NU : MU, {
30512
30513
  className: d ? "rightMargin" : "",
30513
30514
  children: /* @__PURE__ */ L(cV, {
30514
- ...l && { width: T },
30515
+ ...l && { width: E },
30515
30516
  markup: p || "",
30516
30517
  onChange: c,
30517
30518
  placeholder: s && i || !e && "Click here to add a title for this graph",
@@ -30519,7 +30520,7 @@ var SU = TS, CU = SU.default, wU = CU && typeof CU == "object" ? CU : SU, TU = x
30519
30520
  noPadding: !0,
30520
30521
  noBorder: !0
30521
30522
  },
30522
- activePlugins: D,
30523
+ activePlugins: O,
30523
30524
  disableScrollbar: !0,
30524
30525
  onKeyDown: this.handleKeyDown
30525
30526
  })
@@ -30530,8 +30531,8 @@ var SU = TS, CU = SU.default, wU = CU && typeof CU == "object" ? CU : SU, TU = x
30530
30531
  text: n.top,
30531
30532
  disabledLabel: t,
30532
30533
  placeholder: r?.top,
30533
- graphHeight: E,
30534
- graphWidth: T,
30534
+ graphHeight: D,
30535
+ graphWidth: E,
30535
30536
  onChange: (e) => this.onChangeLabel(e, "top"),
30536
30537
  mathMlOptions: h,
30537
30538
  preventNewLines: !0,
@@ -30543,8 +30544,8 @@ var SU = TS, CU = SU.default, wU = CU && typeof CU == "object" ? CU : SU, TU = x
30543
30544
  text: n.left,
30544
30545
  disabledLabel: t,
30545
30546
  placeholder: r?.left,
30546
- graphHeight: E,
30547
- graphWidth: T,
30547
+ graphHeight: D,
30548
+ graphWidth: E,
30548
30549
  isChartLeftLabel: l && !s,
30549
30550
  isDefineChartLeftLabel: l && s,
30550
30551
  onChange: (e) => this.onChangeLabel(e, "left"),
@@ -30553,14 +30554,14 @@ var SU = TS, CU = SU.default, wU = CU && typeof CU == "object" ? CU : SU, TU = x
30553
30554
  charactersLimit: g
30554
30555
  }),
30555
30556
  R(s ? kU : AU, {
30556
- width: T,
30557
- height: E,
30558
- ...ee,
30559
- children: [N, /* @__PURE__ */ L(jU, {
30557
+ width: E,
30558
+ height: D,
30559
+ ...N,
30560
+ children: [P, /* @__PURE__ */ L(jU, {
30560
30561
  ref: (e) => {
30561
30562
  this.g = e, m && m(e);
30562
30563
  },
30563
- transform: `translate(${C + (x.padding || 0)}, ${40 + (S.padding || 0)})`,
30564
+ transform: `translate(${w + (S.padding || 0)}, ${40 + (C.padding || 0)})`,
30564
30565
  children: o
30565
30566
  })]
30566
30567
  }),
@@ -30569,8 +30570,8 @@ var SU = TS, CU = SU.default, wU = CU && typeof CU == "object" ? CU : SU, TU = x
30569
30570
  text: n.right,
30570
30571
  disabledLabel: t,
30571
30572
  placeholder: r?.right,
30572
- graphHeight: E,
30573
- graphWidth: T,
30573
+ graphHeight: D,
30574
+ graphWidth: E,
30574
30575
  onChange: (e) => this.onChangeLabel(e, "right"),
30575
30576
  mathMlOptions: h,
30576
30577
  preventNewLines: !0,
@@ -30578,10 +30579,10 @@ var SU = TS, CU = SU.default, wU = CU && typeof CU == "object" ? CU : SU, TU = x
30578
30579
  }),
30579
30580
  d && /* @__PURE__ */ L(IU, {
30580
30581
  style: {
30581
- paddingTop: j,
30582
+ paddingTop: M,
30582
30583
  marginTop: 31
30583
30584
  },
30584
- children: [...Array(A + 1).keys()].reverse().map((e) => /* @__PURE__ */ L(TU, {
30585
+ children: [...Array(j + 1).keys()].reverse().map((e) => /* @__PURE__ */ L(TU, {
30585
30586
  false: !0,
30586
30587
  children: /* @__PURE__ */ R(LU, { children: [
30587
30588
  "━ ",
@@ -30596,9 +30597,9 @@ var SU = TS, CU = SU.default, wU = CU && typeof CU == "object" ? CU : SU, TU = x
30596
30597
  text: n.bottom,
30597
30598
  disabledLabel: t,
30598
30599
  placeholder: r?.bottom,
30599
- graphHeight: E,
30600
- graphWidth: T,
30601
- titleHeight: M,
30600
+ graphHeight: D,
30601
+ graphWidth: E,
30602
+ titleHeight: ee,
30602
30603
  isChartBottomLabel: l && !s,
30603
30604
  isDefineChartBottomLabel: l && s,
30604
30605
  onChange: (e) => this.onChangeLabel(e, "bottom"),
@@ -37255,4 +37256,4 @@ f$.defaultProps = {
37255
37256
  //#endregion
37256
37257
  export { lc as $, px as A, G_ as B, Yx as C, yx as D, kx as E, kv as F, U as G, c_ as H, Ev as I, Gu as J, Qu as K, wv as L, db as M, ob as N, vx as O, Yv as P, uc as Q, xv as R, $x as S, zx as T, Ug as U, z_ as V, Fp as W, Pl as X, Vu as Y, jl as Z, rP as _, BY as a, mt as at, TS as b, xY as c, nt as ct, aL as d, z as et, eL as f, bP as g, EP as h, YY as i, ht as it, Nb as j, _x as k, _Y as l, jP as m, l$ as n, ci as nt, NY as o, ct as ot, IF as p, V as q, NZ as r, ri as rt, OY as s, Ue as st, f$ as t, Co as tt, cV as u, cN as v, Jx as w, tS as x, HC as y, G as z };
37257
37258
 
37258
- //# sourceMappingURL=alert-dialog-Rbu-0ASZ.js.map
37259
+ //# sourceMappingURL=alert-dialog-DFuXWWBa.js.map