@pie-element/graphing-solution-set 7.0.6-next.20261015154938 → 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.
@@ -156,7 +156,7 @@ var Le;
156
156
  function Re() {
157
157
  return Le;
158
158
  }
159
- var ze = import("./mathjax-CptWnMbQ-BhXSFtXT.js");
159
+ var ze = import("./mathjax-CptWnMbQ-CeXchq3w.js");
160
160
  ze.catch(() => {});
161
161
  async function Be(e, t) {
162
162
  let { createMathJax: n } = await ze;
@@ -46992,7 +46992,8 @@ var S6 = $y, C6 = S6.default, w6 = C6 && typeof C6 == "object" ? C6 : S6, T6 = x
46992
46992
  mathMlOptions: B.default.object,
46993
46993
  labelsCharactersLimit: B.default.number,
46994
46994
  ariaLabel: B.default.string,
46995
- ariaDescription: B.default.string
46995
+ ariaDescription: B.default.string,
46996
+ leftAxisOverhang: B.default.number
46996
46997
  };
46997
46998
  mouseMove = (e, t) => {
46998
46999
  let { graphProps: n, onMouseMove: r } = this.props;
@@ -47058,7 +47059,7 @@ var S6 = $y, C6 = S6.default, w6 = C6 && typeof C6 == "object" ? C6 : S6, T6 = x
47058
47059
  this.resizeObserver &&= (this.resizeObserver.disconnect(), null);
47059
47060
  };
47060
47061
  render() {
47061
- 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 = Eu(wu(n?.left)) && Tu(r) ? 48 : 70, w = Eu(wu(n?.right)) && Tu(r) ? 48 : 70, T = y + C + w + (x.padding || 0) * 2, E = b + 80 + (S.padding || 0) * 2, D = [
47062
+ 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 = (Eu(wu(n?.left)) && Tu(r) ? 48 : 70) + y, T = Eu(wu(n?.right)) && Tu(r) ? 48 : 70, E = b + w + T + (S.padding || 0) * 2, D = x + 80 + (C.padding || 0) * 2, O = [
47062
47063
  "bold",
47063
47064
  "italic",
47064
47065
  "underline",
@@ -47066,20 +47067,20 @@ var S6 = $y, C6 = S6.default, w6 = C6 && typeof C6 == "object" ? C6 : S6, T6 = x
47066
47067
  "subscript",
47067
47068
  "strikethrough",
47068
47069
  "math"
47069
- ], O = s && d ? b - 160 : b, k = parseInt(y / 100), A = parseInt(O / 100), j = parseInt(O % 100), { titleHeight: M } = this.state, N = {
47070
+ ], k = s && d ? x - 160 : x, A = parseInt(b / 100), j = parseInt(k / 100), M = parseInt(k % 100), { titleHeight: N } = this.state, ee = {
47070
47071
  ..._ && {
47071
47072
  role: "group",
47072
47073
  "aria-label": _
47073
47074
  },
47074
47075
  ...v && { "aria-describedby": this.descriptionId }
47075
- }, ee = v ? /* @__PURE__ */ I("desc", {
47076
+ }, te = v ? /* @__PURE__ */ I("desc", {
47076
47077
  id: this.descriptionId,
47077
47078
  children: v
47078
47079
  }) : null;
47079
47080
  return /* @__PURE__ */ L(D6, { children: [
47080
47081
  d && /* @__PURE__ */ I(Mie, {
47081
47082
  style: { marginLeft: l ? 80 : u ? 30 : 10 },
47082
- children: [...Array(k + 1).keys()].map((e) => /* @__PURE__ */ I(T6, {
47083
+ children: [...Array(A + 1).keys()].map((e) => /* @__PURE__ */ I(T6, {
47083
47084
  false: !0,
47084
47085
  children: /* @__PURE__ */ L(Nie, { children: [/* @__PURE__ */ L("div", { children: [e * 100, "px"] }), /* @__PURE__ */ I("div", { children: "|" })] })
47085
47086
  }, `top-guide-${e}`))
@@ -47087,7 +47088,7 @@ var S6 = $y, C6 = S6.default, w6 = C6 && typeof C6 == "object" ? C6 : S6, T6 = x
47087
47088
  f && (e ? /* @__PURE__ */ I("div", {
47088
47089
  ref: (e) => this.titleRef = e,
47089
47090
  style: {
47090
- ...l && { width: T },
47091
+ ...l && { width: E },
47091
47092
  ...Eu(wu(p)) && { display: "none" }
47092
47093
  },
47093
47094
  children: I(l ? k6 : O6, {
@@ -47099,7 +47100,7 @@ var S6 = $y, C6 = S6.default, w6 = C6 && typeof C6 == "object" ? C6 : S6, T6 = x
47099
47100
  children: I(l ? k6 : O6, {
47100
47101
  className: d ? "rightMargin" : "",
47101
47102
  children: /* @__PURE__ */ I(c4, {
47102
- ...l && { width: T },
47103
+ ...l && { width: E },
47103
47104
  markup: p || "",
47104
47105
  onChange: c,
47105
47106
  placeholder: s && i || !e && "Click here to add a title for this graph",
@@ -47107,7 +47108,7 @@ var S6 = $y, C6 = S6.default, w6 = C6 && typeof C6 == "object" ? C6 : S6, T6 = x
47107
47108
  noPadding: !0,
47108
47109
  noBorder: !0
47109
47110
  },
47110
- activePlugins: D,
47111
+ activePlugins: O,
47111
47112
  disableScrollbar: !0,
47112
47113
  onKeyDown: this.handleKeyDown
47113
47114
  })
@@ -47118,8 +47119,8 @@ var S6 = $y, C6 = S6.default, w6 = C6 && typeof C6 == "object" ? C6 : S6, T6 = x
47118
47119
  text: n.top,
47119
47120
  disabledLabel: t,
47120
47121
  placeholder: r?.top,
47121
- graphHeight: E,
47122
- graphWidth: T,
47122
+ graphHeight: D,
47123
+ graphWidth: E,
47123
47124
  onChange: (e) => this.onChangeLabel(e, "top"),
47124
47125
  mathMlOptions: h,
47125
47126
  preventNewLines: !0,
@@ -47131,8 +47132,8 @@ var S6 = $y, C6 = S6.default, w6 = C6 && typeof C6 == "object" ? C6 : S6, T6 = x
47131
47132
  text: n.left,
47132
47133
  disabledLabel: t,
47133
47134
  placeholder: r?.left,
47134
- graphHeight: E,
47135
- graphWidth: T,
47135
+ graphHeight: D,
47136
+ graphWidth: E,
47136
47137
  isChartLeftLabel: l && !s,
47137
47138
  isDefineChartLeftLabel: l && s,
47138
47139
  onChange: (e) => this.onChangeLabel(e, "left"),
@@ -47141,14 +47142,14 @@ var S6 = $y, C6 = S6.default, w6 = C6 && typeof C6 == "object" ? C6 : S6, T6 = x
47141
47142
  charactersLimit: g
47142
47143
  }),
47143
47144
  L(s ? kie : Aie, {
47144
- width: T,
47145
- height: E,
47146
- ...N,
47147
- children: [ee, /* @__PURE__ */ I(jie, {
47145
+ width: E,
47146
+ height: D,
47147
+ ...ee,
47148
+ children: [te, /* @__PURE__ */ I(jie, {
47148
47149
  ref: (e) => {
47149
47150
  this.g = e, m && m(e);
47150
47151
  },
47151
- transform: `translate(${C + (x.padding || 0)}, ${40 + (S.padding || 0)})`,
47152
+ transform: `translate(${w + (S.padding || 0)}, ${40 + (C.padding || 0)})`,
47152
47153
  children: o
47153
47154
  })]
47154
47155
  }),
@@ -47157,8 +47158,8 @@ var S6 = $y, C6 = S6.default, w6 = C6 && typeof C6 == "object" ? C6 : S6, T6 = x
47157
47158
  text: n.right,
47158
47159
  disabledLabel: t,
47159
47160
  placeholder: r?.right,
47160
- graphHeight: E,
47161
- graphWidth: T,
47161
+ graphHeight: D,
47162
+ graphWidth: E,
47162
47163
  onChange: (e) => this.onChangeLabel(e, "right"),
47163
47164
  mathMlOptions: h,
47164
47165
  preventNewLines: !0,
@@ -47166,10 +47167,10 @@ var S6 = $y, C6 = S6.default, w6 = C6 && typeof C6 == "object" ? C6 : S6, T6 = x
47166
47167
  }),
47167
47168
  d && /* @__PURE__ */ I(Pie, {
47168
47169
  style: {
47169
- paddingTop: j,
47170
+ paddingTop: M,
47170
47171
  marginTop: 31
47171
47172
  },
47172
- children: [...Array(A + 1).keys()].reverse().map((e) => /* @__PURE__ */ I(T6, {
47173
+ children: [...Array(j + 1).keys()].reverse().map((e) => /* @__PURE__ */ I(T6, {
47173
47174
  false: !0,
47174
47175
  children: /* @__PURE__ */ L(Fie, { children: [
47175
47176
  "━ ",
@@ -47184,9 +47185,9 @@ var S6 = $y, C6 = S6.default, w6 = C6 && typeof C6 == "object" ? C6 : S6, T6 = x
47184
47185
  text: n.bottom,
47185
47186
  disabledLabel: t,
47186
47187
  placeholder: r?.bottom,
47187
- graphHeight: E,
47188
- graphWidth: T,
47189
- titleHeight: M,
47188
+ graphHeight: D,
47189
+ graphWidth: E,
47190
+ titleHeight: N,
47190
47191
  isChartBottomLabel: l && !s,
47191
47192
  isDefineChartBottomLabel: l && s,
47192
47193
  onChange: (e) => this.onChangeLabel(e, "bottom"),
@@ -53843,4 +53844,4 @@ $9.defaultProps = {
53843
53844
  //#endregion
53844
53845
  export { as as $, Vv as A, yg as B, Cy as C, qv as D, ry as E, r_ as F, V as G, Ih as H, e_ as I, Vl as J, Gl as K, Qg as L, ov as M, iv as N, Kv as O, S_ as P, ss as Q, Yg as R, Dy as S, py as T, _h as U, pg as V, lf as W, jc as X, Ll as Y, Oc as Z, NW as _, H7 as a, Fe as at, $y as b, L7 as c, Ce as ct, Fq as d, rs as et, Aq as f, XW as g, nG as h, W7 as i, Ie as it, fv as j, Gv as k, I7 as l, sG as m, Rle as n, pr as nt, B7 as o, ke as ot, fK as p, z as q, A9 as r, cr as rt, z7 as s, ue as st, $9 as t, wa as tt, c4 as u, RU as v, Sy as w, ky as x, PP as y, H as z };
53845
53846
 
53846
- //# sourceMappingURL=alert-dialog-CXOWAQbA.js.map
53847
+ //# sourceMappingURL=alert-dialog-O7l81UTU.js.map