@hybridcore/ui 1.6.11 → 1.6.12

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 (48) hide show
  1. package/dist/{AnimatedTheme-D3VZKKNV.js → AnimatedTheme-ktdO3Bel.js} +6 -6
  2. package/dist/{AxisRenderer-Doyw-FTI.js → AxisRenderer-BCQoUJw6.js} +6 -6
  3. package/dist/{AxisRendererY-BylCU67e.js → AxisRendererY-AXWvGU6r.js} +3 -3
  4. package/dist/{Bullet-C6357hTv.js → Bullet-Djj7Vs9T.js} +1 -1
  5. package/dist/{Button-DGOT8RcT.js → Button-BLY4PVJC.js} +3 -3
  6. package/dist/{CategoryAxis-B5uTZjhL.js → CategoryAxis-B6NqW8qd.js} +3 -3
  7. package/dist/{Circle-DhzVdFBd.js → Circle-BnfBNKBD.js} +1 -1
  8. package/dist/{ColorSet-DGLMpbL3.js → ColorSet-cyPmWGwh.js} +1 -1
  9. package/dist/{ColumnSeries-CqJ-563p.js → ColumnSeries-CtRTsn-E.js} +28 -28
  10. package/dist/{DateAxis-lJZjbAS-.js → DateAxis-DEXKps1S.js} +4 -4
  11. package/dist/{Entity-4Lr2piVN.js → Entity-BJCuhdq_.js} +14 -14
  12. package/dist/GaplessDateAxis-B2g2jgSG.js +376 -0
  13. package/dist/{Hierarchy-DPEcTr0v.js → Hierarchy-CEOK8Gzh.js} +4 -4
  14. package/dist/{Legend-CTb6rZz_.js → Legend-CFvQiIfn.js} +4 -4
  15. package/dist/{LineSeries-Dg1aytHA.js → LineSeries-D_IL2qGF.js} +4 -4
  16. package/dist/{LinearGradient-D1hzMjaW.js → LinearGradient-CxQyCSEB.js} +2 -2
  17. package/dist/{PieSeries-C9YUWMnA.js → PieSeries-CMH0Z7pz.js} +8 -8
  18. package/dist/{RoundedRectangle-B23Oh_r6.js → RoundedRectangle-BKLX1LKM.js} +2 -2
  19. package/dist/{Scrollbar-CSoXoZSe.js → Scrollbar-CTI7_8Qw.js} +4 -4
  20. package/dist/{Slice-CIP7Vmzu.js → Slice-BUncQh1B.js} +11 -11
  21. package/dist/{Tick-CRu6rQQy.js → Tick--VhF0xlz.js} +2 -2
  22. package/dist/{Tooltip-RhAldW7s.js → Tooltip-vyZRZWih.js} +1 -1
  23. package/dist/{XYCursor-Z-Ral42q.js → XYCursor-CVUSpqb9.js} +3 -3
  24. package/dist/{ZoomableContainer-D1laxHnA.js → ZoomableContainer-Ca_pDVYQ.js} +2 -2
  25. package/dist/components/charts/_common/tooltip.js +2 -2
  26. package/dist/components/charts/_common/utils.js +2 -2
  27. package/dist/components/charts/candlestick/logic.js +34 -35
  28. package/dist/components/charts/column-line-mix/logic.js +40 -41
  29. package/dist/components/charts/donut-chart/logic.js +4 -4
  30. package/dist/components/charts/drill-down-treemap/logic.js +5 -5
  31. package/dist/components/charts/drill-down-voronoi-treemap/logic.js +5 -5
  32. package/dist/components/charts/forecast-cone/logic.js +134 -120
  33. package/dist/components/charts/heatmap/logic.js +9 -9
  34. package/dist/components/charts/highlighting-line-data/logic.js +10 -10
  35. package/dist/components/charts/line/logic.js +19 -20
  36. package/dist/components/charts/logaritmic-scale/logic.js +30 -31
  37. package/dist/components/charts/multiple-value-axes/logic.js +18 -19
  38. package/dist/components/charts/nested-pie/logic.js +3 -3
  39. package/dist/components/charts/packed-circles/logic.js +7 -7
  40. package/dist/components/charts/pie-chart/logic.js +4 -4
  41. package/dist/components/charts/stacked-area-radar/logic.js +9 -9
  42. package/dist/components/charts/stacked-column-chart/logic.js +10 -10
  43. package/dist/components/charts/xy-chart/logic.js +28 -29
  44. package/dist/components/metric-card/MetricChart.js +9 -9
  45. package/dist/main.d.ts +13 -0
  46. package/package.json +1 -1
  47. package/dist/DataProcessor-WXzhvIg6.js +0 -83
  48. package/dist/GaplessDateAxis-DowssQ6y.js +0 -296
@@ -1,7 +1,7 @@
1
- import { b as x, I as L, a as u, p as v, J as N, m as R, e as p, K as C, f, _ as A } from "./Entity-4Lr2piVN.js";
2
- import { T as S, s as d, S as P, D as B } from "./AnimatedTheme-D3VZKKNV.js";
3
- import { C as H } from "./ColorSet-DGLMpbL3.js";
4
- import { C as _, a as T, b as O, L as j } from "./Tooltip-RhAldW7s.js";
1
+ import { b as x, I as L, a as u, p as v, J as N, m as R, e as p, K as C, f, _ as A } from "./Entity-BJCuhdq_.js";
2
+ import { T as S, s as d, S as P, D as B } from "./AnimatedTheme-ktdO3Bel.js";
3
+ import { C as H } from "./ColorSet-cyPmWGwh.js";
4
+ import { C as _, a as T, b as O, L as j } from "./Tooltip-vyZRZWih.js";
5
5
  class I extends S {
6
6
  setupDefaultRules() {
7
7
  super.setupDefaultRules();
@@ -1,7 +1,7 @@
1
- import { S as C } from "./AnimatedTheme-D3VZKKNV.js";
2
- import { a as b, b as f, C as _, L as w } from "./Tooltip-RhAldW7s.js";
3
- import { R as T } from "./RoundedRectangle-B23Oh_r6.js";
4
- import { m as i } from "./Entity-4Lr2piVN.js";
1
+ import { S as C } from "./AnimatedTheme-ktdO3Bel.js";
2
+ import { a as b, b as f, C as _, L as w } from "./Tooltip-vyZRZWih.js";
3
+ import { R as T } from "./RoundedRectangle-BKLX1LKM.js";
4
+ import { m as i } from "./Entity-BJCuhdq_.js";
5
5
  class k extends C {
6
6
  constructor() {
7
7
  super(...arguments), Object.defineProperty(this, "itemContainers", {
@@ -1,7 +1,7 @@
1
- import { b as U } from "./AxisRenderer-Doyw-FTI.js";
2
- import { a as S, b as D, G as A, R as fe } from "./Tooltip-RhAldW7s.js";
3
- import { m as G, e as j, v as K, c as ce, f as Q } from "./Entity-4Lr2piVN.js";
4
- import { D as he } from "./AnimatedTheme-D3VZKKNV.js";
1
+ import { b as U } from "./AxisRenderer-BCQoUJw6.js";
2
+ import { a as S, b as D, G as A, R as fe } from "./Tooltip-vyZRZWih.js";
3
+ import { m as G, e as j, h as K, c as ce, f as Q } from "./Entity-BJCuhdq_.js";
4
+ import { D as he } from "./AnimatedTheme-ktdO3Bel.js";
5
5
  import { w as W, c as g } from "./path-CNVruS--.js";
6
6
  function Z(o) {
7
7
  return typeof o == "object" && "length" in o ? o : Array.from(o);
@@ -1,5 +1,5 @@
1
- import { E as M, e as v, f as w, C as G } from "./Entity-4Lr2piVN.js";
2
- import { c as B, s as C } from "./Tooltip-RhAldW7s.js";
1
+ import { E as M, e as v, f as w, C as G } from "./Entity-BJCuhdq_.js";
2
+ import { c as B, s as C } from "./Tooltip-vyZRZWih.js";
3
3
  class c extends M {
4
4
  _afterNew() {
5
5
  super._afterNewApplyThemes();
@@ -1,9 +1,9 @@
1
- import { b as T, p as H, a as f, e as d, _ as k, f as j, P as z, z as b, m as w } from "./Entity-4Lr2piVN.js";
2
- import { S as B, T as Y } from "./Tick-CRu6rQQy.js";
3
- import { T as V, s as X, S as F } from "./AnimatedTheme-D3VZKKNV.js";
4
- import { C as W } from "./ColorSet-DGLMpbL3.js";
5
- import { C as A, v as U, g as M, m as K, a as x, b as D, c as P, s as m, n as q } from "./Tooltip-RhAldW7s.js";
6
- import { S as E, R as $ } from "./Slice-CIP7Vmzu.js";
1
+ import { b as T, p as H, a as f, e as d, _ as k, f as j, P as Y, t as b, m as w } from "./Entity-BJCuhdq_.js";
2
+ import { S as B, T as z } from "./Tick--VhF0xlz.js";
3
+ import { T as V, s as X, S as F } from "./AnimatedTheme-ktdO3Bel.js";
4
+ import { C as W } from "./ColorSet-cyPmWGwh.js";
5
+ import { C as A, v as U, g as M, m as K, a as x, b as D, c as P, s as m, n as q } from "./Tooltip-vyZRZWih.js";
6
+ import { S as E, R as $ } from "./Slice-BUncQh1B.js";
7
7
  class G extends V {
8
8
  setupDefaultRules() {
9
9
  super.setupDefaultRules();
@@ -497,7 +497,7 @@ class R extends y {
497
497
  let r = M(0, 0, s, a, 1);
498
498
  const u = e / (r.right - r.left), h = i / (r.bottom - r.top);
499
499
  let o = { left: 0, right: 0, top: 0, bottom: 0 };
500
- if (l instanceof z) {
500
+ if (l instanceof Y) {
501
501
  let c = l.value, g = Math.min(u, h);
502
502
  c = Math.max(g * c, g - Math.min(i, e)) / g, o = M(0, 0, s, a, c), this.setPrivateRaw("irModifyer", c / l.value);
503
503
  }
@@ -577,7 +577,7 @@ class L extends _ {
577
577
  }, [this.labels.template]));
578
578
  }
579
579
  _makeTicks() {
580
- return new x(D.new({}), () => Y._new(this._root, {
580
+ return new x(D.new({}), () => z._new(this._root, {
581
581
  themeTags: w(this.ticks.template.get("themeTags", []), ["pie", "series"])
582
582
  }, [this.ticks.template]));
583
583
  }
@@ -1,5 +1,5 @@
1
- import { f as y, z as b } from "./Entity-4Lr2piVN.js";
2
- import { R as p, f as m } from "./Tooltip-RhAldW7s.js";
1
+ import { f as y, t as b } from "./Entity-BJCuhdq_.js";
2
+ import { R as p, f as m } from "./Tooltip-vyZRZWih.js";
3
3
  class T extends p {
4
4
  _beforeChanged() {
5
5
  super._beforeChanged(), (this.isDirty("cornerRadiusTL") || this.isDirty("cornerRadiusTR") || this.isDirty("cornerRadiusBR") || this.isDirty("cornerRadiusBL")) && (this._clear = !0);
@@ -1,7 +1,7 @@
1
- import { R as b } from "./RoundedRectangle-B23Oh_r6.js";
2
- import { C as w, G as v } from "./Tooltip-RhAldW7s.js";
3
- import { B as x } from "./Button-DGOT8RcT.js";
4
- import { m as f, y as D, f as g } from "./Entity-4Lr2piVN.js";
1
+ import { R as b } from "./RoundedRectangle-BKLX1LKM.js";
2
+ import { C as w, G as v } from "./Tooltip-vyZRZWih.js";
3
+ import { B as x } from "./Button-BLY4PVJC.js";
4
+ import { m as f, q as D, f as g } from "./Entity-BJCuhdq_.js";
5
5
  class _ extends w {
6
6
  constructor() {
7
7
  super(...arguments), Object.defineProperty(this, "thumb", {
@@ -1,5 +1,5 @@
1
- import { z as Re, a as he, P as ne, f as ce } from "./Entity-4Lr2piVN.js";
2
- import { e as ye, h as re, L as pe, n as be, c as H, s as J, G as me } from "./Tooltip-RhAldW7s.js";
1
+ import { t as Re, a as he, P as ne, f as ce } from "./Entity-BJCuhdq_.js";
2
+ import { e as ye, h as re, L as pe, n as be, c as H, s as J, G as me } from "./Tooltip-vyZRZWih.js";
3
3
  import { w as xe, c as I } from "./path-CNVruS--.js";
4
4
  class Q extends ye {
5
5
  constructor() {
@@ -114,9 +114,9 @@ Object.defineProperty(ue, "classNames", {
114
114
  writable: !0,
115
115
  value: pe.classNames.concat([ue.className])
116
116
  });
117
- const fe = Math.abs, p = Math.atan2, L = Math.cos, ve = Math.max, ae = Math.min, j = Math.sin, q = Math.sqrt, b = 1e-12, z = Math.PI, U = z / 2, we = 2 * z;
117
+ const fe = Math.abs, p = Math.atan2, L = Math.cos, ve = Math.max, ae = Math.min, j = Math.sin, q = Math.sqrt, b = 1e-12, G = Math.PI, U = G / 2, we = 2 * G;
118
118
  function De(n) {
119
- return n > 1 ? 0 : n < -1 ? z : Math.acos(n);
119
+ return n > 1 ? 0 : n < -1 ? G : Math.acos(n);
120
120
  }
121
121
  function ge(n) {
122
122
  return n >= 1 ? U : n <= -1 ? -U : Math.asin(n);
@@ -162,25 +162,25 @@ function ke() {
162
162
  else {
163
163
  var w = m, x = R, _ = m, P = R, T = C, O = C, M = c.apply(this, arguments) / 2, B = M > b && (h ? +h.apply(this, arguments) : q(u * u + f * f)), N = ae(fe(f - u) / 2, +d.apply(this, arguments)), D = N, A = N, i, o;
164
164
  if (B > b) {
165
- var S = ge(B / u * j(M)), G = ge(B / f * j(M));
166
- (T -= S * 2) > b ? (S *= g ? 1 : -1, _ += S, P -= S) : (T = 0, _ = P = (m + R) / 2), (O -= G * 2) > b ? (G *= g ? 1 : -1, w += G, x -= G) : (O = 0, w = x = (m + R) / 2);
165
+ var S = ge(B / u * j(M)), $ = ge(B / f * j(M));
166
+ (T -= S * 2) > b ? (S *= g ? 1 : -1, _ += S, P -= S) : (T = 0, _ = P = (m + R) / 2), (O -= $ * 2) > b ? ($ *= g ? 1 : -1, w += $, x -= $) : (O = 0, w = x = (m + R) / 2);
167
167
  }
168
- var X = f * L(w), Y = f * j(w), $ = u * L(P), E = u * j(P);
168
+ var X = f * L(w), Y = f * j(w), z = u * L(P), E = u * j(P);
169
169
  if (N > b) {
170
170
  var K = f * L(x), V = f * j(x), W = u * L(_), Z = u * j(_), k;
171
- if (C < z)
172
- if (k = je(X, Y, W, Z, K, V, $, E)) {
171
+ if (C < G)
172
+ if (k = je(X, Y, W, Z, K, V, z, E)) {
173
173
  var ee = X - k[0], te = Y - k[1], ie = K - k[0], se = V - k[1], oe = 1 / j(De((ee * ie + te * se) / (q(ee * ee + te * te) * q(ie * ie + se * se))) / 2), de = q(k[0] * k[0] + k[1] * k[1]);
174
174
  D = ae(N, (u - de) / (oe - 1)), A = ae(N, (f - de) / (oe + 1));
175
175
  } else
176
176
  D = A = 0;
177
177
  }
178
- O > b ? A > b ? (i = F(W, Z, X, Y, f, A, g), o = F(K, V, $, E, f, A, g), t.moveTo(i.cx + i.x01, i.cy + i.y01), A < N ? t.arc(i.cx, i.cy, A, p(i.y01, i.x01), p(o.y01, o.x01), !g) : (t.arc(i.cx, i.cy, A, p(i.y01, i.x01), p(i.y11, i.x11), !g), t.arc(0, 0, f, p(i.cy + i.y11, i.cx + i.x11), p(o.cy + o.y11, o.cx + o.x11), !g), t.arc(o.cx, o.cy, A, p(o.y11, o.x11), p(o.y01, o.x01), !g))) : (t.moveTo(X, Y), t.arc(0, 0, f, w, x, !g)) : t.moveTo(X, Y), !(u > b) || !(T > b) ? t.lineTo($, E) : D > b ? (i = F($, E, K, V, u, -D, g), o = F(X, Y, W, Z, u, -D, g), t.lineTo(i.cx + i.x01, i.cy + i.y01), D < N ? t.arc(i.cx, i.cy, D, p(i.y01, i.x01), p(o.y01, o.x01), !g) : (t.arc(i.cx, i.cy, D, p(i.y01, i.x01), p(i.y11, i.x11), !g), t.arc(0, 0, u, p(i.cy + i.y11, i.cx + i.x11), p(o.cy + o.y11, o.cx + o.x11), g), t.arc(o.cx, o.cy, D, p(o.y11, o.x11), p(o.y01, o.x01), !g))) : t.arc(0, 0, u, P, _, g);
178
+ O > b ? A > b ? (i = F(W, Z, X, Y, f, A, g), o = F(K, V, z, E, f, A, g), t.moveTo(i.cx + i.x01, i.cy + i.y01), A < N ? t.arc(i.cx, i.cy, A, p(i.y01, i.x01), p(o.y01, o.x01), !g) : (t.arc(i.cx, i.cy, A, p(i.y01, i.x01), p(i.y11, i.x11), !g), t.arc(0, 0, f, p(i.cy + i.y11, i.cx + i.x11), p(o.cy + o.y11, o.cx + o.x11), !g), t.arc(o.cx, o.cy, A, p(o.y11, o.x11), p(o.y01, o.x01), !g))) : (t.moveTo(X, Y), t.arc(0, 0, f, w, x, !g)) : t.moveTo(X, Y), !(u > b) || !(T > b) ? t.lineTo(z, E) : D > b ? (i = F(z, E, K, V, u, -D, g), o = F(X, Y, W, Z, u, -D, g), t.lineTo(i.cx + i.x01, i.cy + i.y01), D < N ? t.arc(i.cx, i.cy, D, p(i.y01, i.x01), p(o.y01, o.x01), !g) : (t.arc(i.cx, i.cy, D, p(i.y01, i.x01), p(i.y11, i.x11), !g), t.arc(0, 0, u, p(i.cy + i.y11, i.cx + i.x11), p(o.cy + o.y11, o.cx + o.x11), g), t.arc(o.cx, o.cy, D, p(o.y11, o.x11), p(o.y01, o.x01), !g))) : t.arc(0, 0, u, P, _, g);
179
179
  }
180
180
  if (t.closePath(), e) return t = null, e + "" || null;
181
181
  }
182
182
  return s.centroid = function() {
183
- var e = (+n.apply(this, arguments) + +a.apply(this, arguments)) / 2, v = (+r.apply(this, arguments) + +l.apply(this, arguments)) / 2 - z / 2;
183
+ var e = (+n.apply(this, arguments) + +a.apply(this, arguments)) / 2, v = (+r.apply(this, arguments) + +l.apply(this, arguments)) / 2 - G / 2;
184
184
  return [L(v) * e, j(v) * e];
185
185
  }, s.innerRadius = function(e) {
186
186
  return arguments.length ? (n = typeof e == "function" ? e : I(+e), s) : n;
@@ -1,5 +1,5 @@
1
- import { G as b, C as o, d as w } from "./Tooltip-RhAldW7s.js";
2
- import { b as n, e as v } from "./Entity-4Lr2piVN.js";
1
+ import { G as b, C as o, d as w } from "./Tooltip-vyZRZWih.js";
2
+ import { b as n, e as v } from "./Entity-BJCuhdq_.js";
3
3
  function p(i, t) {
4
4
  for (let e = 0, r = t.length; e < r; e++) {
5
5
  const s = t[e];
@@ -1,4 +1,4 @@
1
- import { e as w, aj as mt, a8 as St, q as rt, av as yt, aw as Ot, f as m, j as H, a7 as Z, F as B, M as C, D as Ct, l as bt, k as lt, E as F, P as D, ad as vt, z as L, d as q, i as Dt, ax as at, _ as nt, ay as Lt, aa as It, az as wt, R as xt, C as ht, ae as Mt, t as Pt, aA as Bt, aB as kt, v as Wt, y as Nt, aC as Rt, b as Ft, a as At, m as Gt } from "./Entity-4Lr2piVN.js";
1
+ import { e as w, aj as mt, a8 as St, y as rt, av as yt, aw as Ot, f as m, r as H, a7 as Z, F as B, M as C, D as Ct, x as bt, k as lt, E as F, P as D, ad as vt, t as L, d as q, i as Dt, ax as at, _ as nt, ay as Lt, aa as It, az as wt, R as xt, C as ht, ae as Mt, w as Pt, aA as Bt, aB as kt, h as Wt, q as Nt, aC as Rt, b as Ft, a as At, m as Gt } from "./Entity-BJCuhdq_.js";
2
2
  function z(n, t) {
3
3
  if (!(n >= 0 && n < t))
4
4
  throw new Error("Index out of bounds: " + n);
@@ -1,6 +1,6 @@
1
- import { C as m, G as X, r as v } from "./Tooltip-RhAldW7s.js";
2
- import { m as Y, b, s as y, d as T, e as C, i as L, k as w, g as A, f as P } from "./Entity-4Lr2piVN.js";
3
- import { G as x } from "./AxisRenderer-Doyw-FTI.js";
1
+ import { C as m, G as X, r as v } from "./Tooltip-vyZRZWih.js";
2
+ import { m as Y, b, s as y, d as T, e as C, i as L, k as w, g as A, f as P } from "./Entity-BJCuhdq_.js";
3
+ import { G as x } from "./AxisRenderer-BCQoUJw6.js";
4
4
  class c extends m {
5
5
  constructor() {
6
6
  super(...arguments), Object.defineProperty(this, "_alwaysShow", {
@@ -1,5 +1,5 @@
1
- import { C as c, R as x, f as v } from "./Tooltip-RhAldW7s.js";
2
- import { b as g, c as D, f, y as O, k as b, j as z } from "./Entity-4Lr2piVN.js";
1
+ import { C as c, R as x, f as v } from "./Tooltip-vyZRZWih.js";
2
+ import { b as g, c as D, f, q as O, k as b, r as z } from "./Entity-BJCuhdq_.js";
3
3
  class d extends c {
4
4
  constructor() {
5
5
  super(...arguments), Object.defineProperty(this, "_za", {
@@ -1,5 +1,5 @@
1
- import { T as x } from "../../../Tooltip-RhAldW7s.js";
2
- import { c as p, p as v } from "../../../Entity-4Lr2piVN.js";
1
+ import { T as x } from "../../../Tooltip-vyZRZWih.js";
2
+ import { c as p, p as v } from "../../../Entity-BJCuhdq_.js";
3
3
  const F = {
4
4
  millisecond: "d MMM, yyyy HH:mm:ss.SSS",
5
5
  second: "d MMM, yyyy HH:mm:ss",
@@ -1,6 +1,6 @@
1
1
  import { buildAmNumberFormat as e } from "./format.js";
2
- import { C as m } from "../../../ColorSet-DGLMpbL3.js";
3
- import { c as F } from "../../../Entity-4Lr2piVN.js";
2
+ import { C as m } from "../../../ColorSet-cyPmWGwh.js";
3
+ import { c as F } from "../../../Entity-BJCuhdq_.js";
4
4
  const a = [
5
5
  "#294D94",
6
6
  "#375F97",
@@ -1,18 +1,17 @@
1
- import { R as le, A as ne } from "../../../AnimatedTheme-D3VZKKNV.js";
1
+ import { R as le, A as ne } from "../../../AnimatedTheme-ktdO3Bel.js";
2
2
  import { useTheme as he, useThemeProps as ce } from "@mui/material";
3
3
  import ue from "lodash";
4
4
  import { useRef as N, useLayoutEffect as ge, useEffect as B } from "react";
5
5
  import { getTooltipDateFormat as pe, attachCursorTooltip as me } from "../_common/tooltip.js";
6
- import { m as U, e as Z, c as p, p as de } from "../../../Entity-4Lr2piVN.js";
7
- import { X as fe, V as q } from "../../../AxisRenderer-Doyw-FTI.js";
8
- import { X as we } from "../../../XYCursor-Z-Ral42q.js";
9
- import { A as xe, a as J } from "../../../AxisRendererY-BylCU67e.js";
10
- import { C as G } from "../../../ColumnSeries-CqJ-563p.js";
11
- import { R as te } from "../../../RoundedRectangle-B23Oh_r6.js";
12
- import { a as K, b as Q } from "../../../Tooltip-RhAldW7s.js";
13
- import { D as ee } from "../../../DataProcessor-WXzhvIg6.js";
14
- import { G as Ye } from "../../../GaplessDateAxis-DowssQ6y.js";
15
- import { D as ye } from "../../../DateAxis-lJZjbAS-.js";
6
+ import { m as U, e as Z, c as p, p as de } from "../../../Entity-BJCuhdq_.js";
7
+ import { X as we, V as q } from "../../../AxisRenderer-BCQoUJw6.js";
8
+ import { X as fe } from "../../../XYCursor-CVUSpqb9.js";
9
+ import { A as xe, a as J } from "../../../AxisRendererY-AXWvGU6r.js";
10
+ import { C as G } from "../../../ColumnSeries-CtRTsn-E.js";
11
+ import { R as te } from "../../../RoundedRectangle-BKLX1LKM.js";
12
+ import { a as K, b as Q } from "../../../Tooltip-vyZRZWih.js";
13
+ import { D as ee, G as Ye } from "../../../GaplessDateAxis-B2g2jgSG.js";
14
+ import { D as ye } from "../../../DateAxis-DEXKps1S.js";
16
15
  class T extends te {
17
16
  _beforeChanged() {
18
17
  super._beforeChanged(), (this.isDirty("lowX0") || this.isDirty("lowY0") || this.isDirty("lowX1") || this.isDirty("lowY1") || this.isDirty("highX0") || this.isDirty("highX1") || this.isDirty("highY0") || this.isDirty("highY1")) && (this._clear = !0);
@@ -57,34 +56,34 @@ class V extends G {
57
56
  }
58
57
  _updateGraphics(e, s, m) {
59
58
  super._updateGraphics(e, s, m);
60
- const w = this.getRaw("xAxis"), x = this.getRaw("yAxis");
61
- let Y = this.get("vcy", 1), y = this.get("vcx", 1), h, c, r, i, d, u, g, f, o = this.get("locationX", e.get("locationX", 0.5)), l = this.get("locationY", e.get("locationY", 0.5)), D = this.get("openLocationX", e.get("openLocationX", o)), a = this.get("openLocationY", e.get("openLocationY", l)), _;
59
+ const f = this.getRaw("xAxis"), x = this.getRaw("yAxis");
60
+ let Y = this.get("vcy", 1), y = this.get("vcx", 1), h, c, r, i, d, u, g, w, o = this.get("locationX", e.get("locationX", 0.5)), l = this.get("locationY", e.get("locationY", 0.5)), D = this.get("openLocationX", e.get("openLocationX", o)), a = this.get("openLocationY", e.get("openLocationY", l)), _;
62
61
  if (m == 0) {
63
62
  let v = x.getDataItemPositionY(e, this._yOpenField, 1, Y), t = x.getDataItemPositionY(e, this._yField, 1, Y);
64
- i = x.getDataItemPositionY(e, this._yLowField, 1, Y), f = x.getDataItemPositionY(e, this._yHighField, 1, Y), g = Math.max(v, t), r = Math.min(v, t);
63
+ i = x.getDataItemPositionY(e, this._yLowField, 1, Y), w = x.getDataItemPositionY(e, this._yHighField, 1, Y), g = Math.max(v, t), r = Math.min(v, t);
65
64
  let n = this._aLocationX0 + D - 0.5, C = this._aLocationX1 + o - 0.5;
66
- h = w.getDataItemPositionX(e, this._xField, n + (C - n) / 2, y), c = h, d = h, u = h, _ = "vertical";
65
+ h = f.getDataItemPositionX(e, this._xField, n + (C - n) / 2, y), c = h, d = h, u = h, _ = "vertical";
67
66
  } else {
68
- let v = w.getDataItemPositionX(e, this._xOpenField, 1, y), t = w.getDataItemPositionX(e, this._xField, 1, y);
69
- c = w.getDataItemPositionX(e, this._xLowField, 1, y), u = w.getDataItemPositionX(e, this._xHighField, 1, y), d = Math.max(v, t), h = Math.min(v, t);
67
+ let v = f.getDataItemPositionX(e, this._xOpenField, 1, y), t = f.getDataItemPositionX(e, this._xField, 1, y);
68
+ c = f.getDataItemPositionX(e, this._xLowField, 1, y), u = f.getDataItemPositionX(e, this._xHighField, 1, y), d = Math.max(v, t), h = Math.min(v, t);
70
69
  let n = this._aLocationY0 + a - 0.5, C = this._aLocationY1 + l - 0.5;
71
- r = x.getDataItemPositionY(e, this._yField, n + (C - n) / 2, Y), i = r, g = r, f = r, _ = "horizontal";
70
+ r = x.getDataItemPositionY(e, this._yField, n + (C - n) / 2, Y), i = r, g = r, w = r, _ = "horizontal";
72
71
  }
73
- this._updateCandleGraphics(e, h, c, r, i, d, u, g, f, _);
72
+ this._updateCandleGraphics(e, h, c, r, i, d, u, g, w, _);
74
73
  }
75
- _updateCandleGraphics(e, s, m, w, x, Y, y, h, c, r) {
74
+ _updateCandleGraphics(e, s, m, f, x, Y, y, h, c, r) {
76
75
  let i = e.get("graphics");
77
76
  if (i) {
78
- let d = this.getPoint(s, w), u = this.getPoint(m, x), g = this.getPoint(Y, h), f = this.getPoint(y, c);
77
+ let d = this.getPoint(s, f), u = this.getPoint(m, x), g = this.getPoint(Y, h), w = this.getPoint(y, c);
79
78
  if (this.get("turboMode")) {
80
79
  const o = this.allColumnsData[this.allColumnsData.length - 1];
81
- o.lowX0 = d.x, o.lowY0 = d.y, o.lowX1 = u.x, o.lowY1 = u.y, o.highX0 = g.x, o.highY0 = g.y, o.highX1 = f.x, o.highY1 = f.y;
80
+ o.lowX0 = d.x, o.lowY0 = d.y, o.lowX1 = u.x, o.lowY1 = u.y, o.highX0 = g.x, o.highY0 = g.y, o.highX1 = w.x, o.highY1 = w.y;
82
81
  } else {
83
82
  let o = i.x(), l = i.y();
84
- i.set("lowX0", d.x - o), i.set("lowY0", d.y - l), i.set("lowX1", u.x - o), i.set("lowY1", u.y - l), i.set("highX0", g.x - o), i.set("highY0", g.y - l), i.set("highX1", f.x - o), i.set("highY1", f.y - l), i.set("orientation", r);
83
+ i.set("lowX0", d.x - o), i.set("lowY0", d.y - l), i.set("lowX1", u.x - o), i.set("lowY1", u.y - l), i.set("highX0", g.x - o), i.set("highY0", g.y - l), i.set("highX1", w.x - o), i.set("highY1", w.y - l), i.set("orientation", r);
85
84
  let D = e.get("rangeGraphics");
86
85
  D && Z(D, (a) => {
87
- a.set("lowX0", d.x - o), a.set("lowY0", d.y - l), a.set("lowX1", u.x - o), a.set("lowY1", u.y - l), a.set("highX0", g.x - o), a.set("highY0", g.y - l), a.set("highX1", f.x - o), a.set("highY1", f.y - l), a.set("orientation", r);
86
+ a.set("lowX0", d.x - o), a.set("lowY0", d.y - l), a.set("lowX1", u.x - o), a.set("lowY1", u.y - l), a.set("highX0", g.x - o), a.set("highY0", g.y - l), a.set("highX1", w.x - o), a.set("highY1", w.y - l), a.set("orientation", r);
88
87
  });
89
88
  }
90
89
  }
@@ -93,8 +92,8 @@ class V extends G {
93
92
  this.get("turboMode") && this.allColumns.set("draw", (e) => {
94
93
  e.clear(), Z(this.allColumnsData, (s) => {
95
94
  e.beginPath();
96
- const m = s.width, w = s.height, x = s.x, Y = s.y, y = s.stroke, h = s.fill, c = s.strokeWidth, r = s.strokeOpacity, i = s.fillOpacity, d = s.lowX0, u = s.lowY0, g = s.lowX1, f = s.lowY1, o = s.highX0, l = s.highY0, D = s.highX1, a = s.highY1;
97
- e.beginFill(h, i), e.beginPath(), e.lineStyle(c, y, r), e.drawRect(x, Y, m, w), e.moveTo(d, u), e.lineTo(g, f), e.moveTo(o, l), e.lineTo(D, a), e.endStroke(), e.endFill();
95
+ const m = s.width, f = s.height, x = s.x, Y = s.y, y = s.stroke, h = s.fill, c = s.strokeWidth, r = s.strokeOpacity, i = s.fillOpacity, d = s.lowX0, u = s.lowY0, g = s.lowX1, w = s.lowY1, o = s.highX0, l = s.highY0, D = s.highX1, a = s.highY1;
96
+ e.beginFill(h, i), e.beginPath(), e.lineStyle(c, y, r), e.drawRect(x, Y, m, f), e.moveTo(d, u), e.lineTo(g, w), e.moveTo(o, l), e.lineTo(D, a), e.endStroke(), e.endFill();
98
97
  });
99
98
  });
100
99
  }
@@ -116,13 +115,13 @@ Object.defineProperty(V, "classNames", {
116
115
  writable: !0,
117
116
  value: G.classNames.concat([V.className])
118
117
  });
119
- const $e = ($) => {
118
+ const Ve = ($) => {
120
119
  const e = he(), s = ce({
121
120
  props: $,
122
121
  name: "HCCandlestickChart"
123
122
  }), {
124
123
  data: m,
125
- seriesName: w,
124
+ seriesName: f,
126
125
  height: x = "100%",
127
126
  width: Y = "100%",
128
127
  chartId: y = "candlestick-chart",
@@ -133,7 +132,7 @@ const $e = ($) => {
133
132
  emptyMessage: d = "No data available",
134
133
  baseInterval: u,
135
134
  skipEmptyDates: g = !1,
136
- sx: f,
135
+ sx: w,
137
136
  ...o
138
137
  } = s, l = ue.orderBy(m, ["date"]), D = {
139
138
  ...s,
@@ -158,7 +157,7 @@ const $e = ($) => {
158
157
  stroke: p(e.palette.divider)
159
158
  });
160
159
  const n = t.container.children.push(
161
- fe.new(t, {
160
+ we.new(t, {
162
161
  panX: !0,
163
162
  panY: !0,
164
163
  wheelX: "none",
@@ -170,7 +169,7 @@ const $e = ($) => {
170
169
  );
171
170
  a.current = n, n.set(
172
171
  "cursor",
173
- we.new(t, {
172
+ fe.new(t, {
174
173
  behavior: "zoomX"
175
174
  })
176
175
  ).lineY.set("visible", !1);
@@ -199,7 +198,7 @@ const $e = ($) => {
199
198
  });
200
199
  const A = n.series.push(
201
200
  V.new(t, {
202
- name: w || "Price",
201
+ name: f || "Price",
203
202
  xAxis: L,
204
203
  yAxis: S,
205
204
  valueXField: "date",
@@ -298,7 +297,7 @@ ${R.join(`
298
297
  }, [c, r]), {
299
298
  chartDivRef: v,
300
299
  data: m,
301
- seriesName: w,
300
+ seriesName: f,
302
301
  height: x,
303
302
  width: Y,
304
303
  chartId: y,
@@ -307,11 +306,11 @@ ${R.join(`
307
306
  fallingColor: r,
308
307
  loading: i,
309
308
  emptyMessage: d,
310
- sx: f,
309
+ sx: w,
311
310
  other: o,
312
311
  ownerState: D
313
312
  };
314
313
  };
315
314
  export {
316
- $e as useCandlestickChartLogic
315
+ Ve as useCandlestickChartLogic
317
316
  };
@@ -1,25 +1,24 @@
1
- import { R as M, A as O } from "../../../AnimatedTheme-D3VZKKNV.js";
1
+ import { R as M, A as O } from "../../../AnimatedTheme-ktdO3Bel.js";
2
2
  import { useThemeProps as E, useTheme as P } from "@mui/material";
3
3
  import C from "lodash";
4
4
  import { useId as V, useRef as z, useEffect as G } from "react";
5
5
  import { humanizeLabel as b } from "../_common/format.js";
6
6
  import { attachCombinedAxisTooltip as N } from "../_common/tooltip.js";
7
7
  import { colorSetFromPalette as W, applyValueFormat as q } from "../_common/utils.js";
8
- import { c as l, p as H, a as X } from "../../../Entity-4Lr2piVN.js";
9
- import { X as U, V as _ } from "../../../AxisRenderer-Doyw-FTI.js";
10
- import { S as $ } from "../../../Scrollbar-CSoXoZSe.js";
11
- import { A as D, a as j } from "../../../AxisRendererY-BylCU67e.js";
12
- import { C as J } from "../../../CategoryAxis-B5uTZjhL.js";
13
- import { C as K } from "../../../ColumnSeries-CqJ-563p.js";
14
- import { D as L } from "../../../DataProcessor-WXzhvIg6.js";
15
- import { L as Q } from "../../../LineSeries-Dg1aytHA.js";
16
- import { B as Z } from "../../../Bullet-C6357hTv.js";
17
- import { C as ee } from "../../../Circle-DhzVdFBd.js";
18
- import { X as te } from "../../../XYCursor-Z-Ral42q.js";
19
- import { L as re } from "../../../Legend-CTb6rZz_.js";
20
- import { G as oe } from "../../../GaplessDateAxis-DowssQ6y.js";
21
- import { D as ae } from "../../../DateAxis-lJZjbAS-.js";
22
- const Ye = (Y) => {
8
+ import { c as l, p as H, a as X } from "../../../Entity-BJCuhdq_.js";
9
+ import { X as U, V as _ } from "../../../AxisRenderer-BCQoUJw6.js";
10
+ import { S as $ } from "../../../Scrollbar-CTI7_8Qw.js";
11
+ import { A as D, a as j } from "../../../AxisRendererY-AXWvGU6r.js";
12
+ import { C as J } from "../../../CategoryAxis-B6NqW8qd.js";
13
+ import { C as K } from "../../../ColumnSeries-CtRTsn-E.js";
14
+ import { D as L, G as Q } from "../../../GaplessDateAxis-B2g2jgSG.js";
15
+ import { L as Z } from "../../../LineSeries-D_IL2qGF.js";
16
+ import { B as ee } from "../../../Bullet-Djj7Vs9T.js";
17
+ import { C as te } from "../../../Circle-BnfBNKBD.js";
18
+ import { X as re } from "../../../XYCursor-CVUSpqb9.js";
19
+ import { L as ae } from "../../../Legend-CFvQiIfn.js";
20
+ import { D as oe } from "../../../DateAxis-DEXKps1S.js";
21
+ const Le = (Y) => {
23
22
  const f = E({ props: Y, name: "HCColumnLineMix" }), {
24
23
  dimensions: t,
25
24
  values: n,
@@ -57,34 +56,34 @@ const Ye = (Y) => {
57
56
  "scrollbarX",
58
57
  $.new(e, { orientation: "horizontal" })
59
58
  );
60
- let a, m = p;
59
+ let o, m = p;
61
60
  if (t[0].type === "date") {
62
61
  m = C.orderBy(p, [t[0].value]);
63
- const i = A ? oe : ae;
64
- a = r.xAxes.push(
62
+ const i = A ? Q : oe;
63
+ o = r.xAxes.push(
65
64
  i.new(e, {
66
65
  maxDeviation: 0.1,
67
66
  groupData: !1,
68
67
  baseInterval: h || { timeUnit: "day", count: 1 },
69
68
  renderer: D.new(e, {})
70
69
  })
71
- ), (w = a.get("renderer")) == null || w.grid.template.setAll({
70
+ ), (w = o.get("renderer")) == null || w.grid.template.setAll({
72
71
  stroke: l(s.palette.divider),
73
72
  strokeOpacity: 1
74
73
  });
75
74
  } else
76
- a = r.xAxes.push(
75
+ o = r.xAxes.push(
77
76
  J.new(e, {
78
77
  categoryField: t[0].value,
79
78
  renderer: D.new(e, {})
80
79
  })
81
- ), (v = a.get("renderer")) == null || v.grid.template.setAll({
80
+ ), (v = o.get("renderer")) == null || v.grid.template.setAll({
82
81
  stroke: l(s.palette.divider),
83
82
  strokeOpacity: 1
84
83
  }), e.numberFormatter.setAll({
85
84
  numberFormat: "#",
86
85
  numericFields: ["valueX"]
87
- }), m = C.orderBy(p, [t[0].value]), a.data.setAll(m);
86
+ }), m = C.orderBy(p, [t[0].value]), o.data.setAll(m);
88
87
  const u = r.yAxes.push(
89
88
  _.new(e, {
90
89
  min: 0,
@@ -97,43 +96,43 @@ const Ye = (Y) => {
97
96
  strokeOpacity: 1
98
97
  }), n.forEach((i, I) => {
99
98
  if (I === 0) {
100
- const o = r.series.push(
99
+ const a = r.series.push(
101
100
  K.new(e, {
102
101
  name: i.label ?? b(i.name),
103
- xAxis: a,
102
+ xAxis: o,
104
103
  yAxis: u,
105
104
  valueYField: i.dataFieldName,
106
105
  ...t[0].type === "date" ? { valueXField: t[0].value } : { categoryXField: t[0].value }
107
106
  })
108
107
  );
109
- o.columns.template.setAll({
108
+ a.columns.template.setAll({
110
109
  tooltipY: H(10),
111
110
  templateField: "columnSettings"
112
- }), t[0].type === "date" && (o.data.processor = L.new(e, {
111
+ }), t[0].type === "date" && (a.data.processor = L.new(e, {
113
112
  dateFormat: "i",
114
113
  dateFields: [t[0].value]
115
- })), o.data.setAll(m), o.appear();
114
+ })), a.data.setAll(m), a.appear();
116
115
  } else {
117
- const o = r.series.push(
118
- Q.new(e, {
116
+ const a = r.series.push(
117
+ Z.new(e, {
119
118
  name: i.label ?? b(i.name),
120
- xAxis: a,
119
+ xAxis: o,
121
120
  yAxis: u,
122
121
  valueYField: i.dataFieldName,
123
122
  ...t[0].type === "date" ? { valueXField: t[0].value } : { categoryXField: t[0].value }
124
123
  })
125
124
  );
126
- o.strokes.template.setAll({
125
+ a.strokes.template.setAll({
127
126
  strokeWidth: 3,
128
127
  templateField: "strokeSettings"
129
- }), t[0].type === "date" && (o.data.processor = L.new(e, {
128
+ }), t[0].type === "date" && (a.data.processor = L.new(e, {
130
129
  dateFormat: "i",
131
130
  dateFields: [t[0].value]
132
- })), o.data.setAll(m), o.bullets.push(function() {
133
- return Z.new(e, {
134
- sprite: ee.new(e, {
131
+ })), a.data.setAll(m), a.bullets.push(function() {
132
+ return ee.new(e, {
133
+ sprite: te.new(e, {
135
134
  strokeWidth: 3,
136
- stroke: o.get("stroke"),
135
+ stroke: a.get("stroke"),
137
136
  radius: 5,
138
137
  fill: e.interfaceColors.get("background")
139
138
  })
@@ -142,17 +141,17 @@ const Ye = (Y) => {
142
141
  }
143
142
  }), r.set(
144
143
  "cursor",
145
- te.new(e, { xAxis: a, behavior: "none" })
144
+ re.new(e, { xAxis: o, behavior: "none" })
146
145
  ).lineY.set("visible", !1), N({
147
146
  root: e,
148
147
  chart: r,
149
- xAxis: a,
148
+ xAxis: o,
150
149
  theme: s,
151
150
  isDateAxis: t[0].type === "date",
152
151
  baseInterval: h,
153
152
  follow: !0
154
153
  }), r.children.push(
155
- re.new(e, {
154
+ ae.new(e, {
156
155
  centerX: X,
157
156
  x: X
158
157
  })
@@ -166,5 +165,5 @@ const Ye = (Y) => {
166
165
  return { chartId: g, ownerState: B, sx: T, error: y, other: R };
167
166
  };
168
167
  export {
169
- Ye as useColumnLineMixLogic
168
+ Le as useColumnLineMixLogic
170
169
  };
@@ -1,11 +1,11 @@
1
- import { R as P, A } from "../../../AnimatedTheme-D3VZKKNV.js";
1
+ import { R as P, A } from "../../../AnimatedTheme-ktdO3Bel.js";
2
2
  import { useThemeProps as C, useTheme as D } from "@mui/material";
3
3
  import F from "dayjs";
4
4
  import { useId as R, useRef as L, useEffect as I } from "react";
5
5
  import { applyValueFormat as S, colorSetFromPalette as b } from "../_common/utils.js";
6
- import { P as E, a as N } from "../../../PieSeries-C9YUWMnA.js";
7
- import { p as m, c as u } from "../../../Entity-4Lr2piVN.js";
8
- import { L as j } from "../../../Legend-CTb6rZz_.js";
6
+ import { P as E, a as N } from "../../../PieSeries-CMH0Z7pz.js";
7
+ import { p as m, c as u } from "../../../Entity-BJCuhdq_.js";
8
+ import { L as j } from "../../../Legend-CFvQiIfn.js";
9
9
  const K = (y) => {
10
10
  const p = C({ props: y, name: "HCDonutChart" }), {
11
11
  dimensions: t,
@@ -1,13 +1,13 @@
1
- import { R as W, T as E, A as Z } from "../../../AnimatedTheme-D3VZKKNV.js";
1
+ import { R as W, T as E, A as Z } from "../../../AnimatedTheme-ktdO3Bel.js";
2
2
  import { useThemeProps as $, useTheme as G } from "@mui/material";
3
3
  import J from "dayjs";
4
4
  import K from "lodash";
5
5
  import { useId as Q, useRef as U, useEffect as ee } from "react";
6
6
  import { applyValueFormat as te, colorSetFromPalette as ie } from "../_common/utils.js";
7
- import { C as x, a as F, b as I, L as ae } from "../../../Tooltip-RhAldW7s.js";
8
- import { m as M, f as O, e as j, p as C } from "../../../Entity-4Lr2piVN.js";
9
- import { a as ne, H as X } from "../../../Hierarchy-DPEcTr0v.js";
10
- import { R as z } from "../../../RoundedRectangle-B23Oh_r6.js";
7
+ import { C as x, a as F, b as I, L as ae } from "../../../Tooltip-vyZRZWih.js";
8
+ import { m as M, f as O, e as j, p as C } from "../../../Entity-BJCuhdq_.js";
9
+ import { a as ne, H as X } from "../../../Hierarchy-CEOK8Gzh.js";
10
+ import { R as z } from "../../../RoundedRectangle-BKLX1LKM.js";
11
11
  import { r as se, c as R, a as L } from "../../../constant-BiOGvlZc.js";
12
12
  class Y extends x {
13
13
  constructor() {
@@ -1,13 +1,13 @@
1
- import { R as ve, T as de, A as xe } from "../../../AnimatedTheme-D3VZKKNV.js";
1
+ import { R as ve, T as de, A as xe } from "../../../AnimatedTheme-ktdO3Bel.js";
2
2
  import { useThemeProps as we, useTheme as me } from "@mui/material";
3
3
  import ye from "dayjs";
4
4
  import be from "lodash";
5
5
  import { useId as Ce, useRef as Ae, useEffect as Pe } from "react";
6
6
  import { applyValueFormat as _e, colorSetFromPalette as ze } from "../_common/utils.js";
7
- import { e as Zt, B as ht, m as De, a as lt, c as Ht, b as Vt } from "../../../Entity-4Lr2piVN.js";
8
- import { Z as Ee } from "../../../ZoomableContainer-D1laxHnA.js";
9
- import { H as Kt } from "../../../Hierarchy-DPEcTr0v.js";
10
- import { G as Jt, a as Te, b as Ne } from "../../../Tooltip-RhAldW7s.js";
7
+ import { e as Zt, B as ht, m as De, a as lt, c as Ht, b as Vt } from "../../../Entity-BJCuhdq_.js";
8
+ import { Z as Ee } from "../../../ZoomableContainer-Ca_pDVYQ.js";
9
+ import { H as Kt } from "../../../Hierarchy-CEOK8Gzh.js";
10
+ import { G as Jt, a as Te, b as Ne } from "../../../Tooltip-vyZRZWih.js";
11
11
  import { c as K, g as ke, a as Ie } from "../../../_commonjsHelpers-BVfed4GL.js";
12
12
  class pt extends Jt {
13
13
  constructor() {