@hybridcore/ui 1.6.10 → 1.6.11

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 (52) hide show
  1. package/dist/{AnimatedTheme-ktdO3Bel.js → AnimatedTheme-D3VZKKNV.js} +6 -6
  2. package/dist/{AxisRenderer-BCQoUJw6.js → AxisRenderer-Doyw-FTI.js} +6 -6
  3. package/dist/{AxisRendererY-AXWvGU6r.js → AxisRendererY-BylCU67e.js} +3 -3
  4. package/dist/{Bullet-Djj7Vs9T.js → Bullet-C6357hTv.js} +1 -1
  5. package/dist/{Button-BLY4PVJC.js → Button-DGOT8RcT.js} +3 -3
  6. package/dist/{CategoryAxis-B6NqW8qd.js → CategoryAxis-B5uTZjhL.js} +3 -3
  7. package/dist/{Circle-BnfBNKBD.js → Circle-DhzVdFBd.js} +1 -1
  8. package/dist/{ColorSet-cyPmWGwh.js → ColorSet-DGLMpbL3.js} +1 -1
  9. package/dist/{ColumnSeries-CtRTsn-E.js → ColumnSeries-CqJ-563p.js} +28 -28
  10. package/dist/DataProcessor-WXzhvIg6.js +83 -0
  11. package/dist/{DateAxis-DEXKps1S.js → DateAxis-lJZjbAS-.js} +4 -4
  12. package/dist/{Entity-BJCuhdq_.js → Entity-4Lr2piVN.js} +14 -14
  13. package/dist/GaplessDateAxis-DowssQ6y.js +296 -0
  14. package/dist/{Hierarchy-CEOK8Gzh.js → Hierarchy-DPEcTr0v.js} +4 -4
  15. package/dist/{Legend-CFvQiIfn.js → Legend-CTb6rZz_.js} +4 -4
  16. package/dist/{LineSeries-D_IL2qGF.js → LineSeries-Dg1aytHA.js} +4 -4
  17. package/dist/{LinearGradient-CxQyCSEB.js → LinearGradient-D1hzMjaW.js} +2 -2
  18. package/dist/{PieSeries-CMH0Z7pz.js → PieSeries-C9YUWMnA.js} +8 -8
  19. package/dist/{RoundedRectangle-BKLX1LKM.js → RoundedRectangle-B23Oh_r6.js} +2 -2
  20. package/dist/{Scrollbar-CTI7_8Qw.js → Scrollbar-CSoXoZSe.js} +4 -4
  21. package/dist/{Slice-BUncQh1B.js → Slice-CIP7Vmzu.js} +11 -11
  22. package/dist/{Tick--VhF0xlz.js → Tick-CRu6rQQy.js} +2 -2
  23. package/dist/{Tooltip-vyZRZWih.js → Tooltip-RhAldW7s.js} +1 -1
  24. package/dist/{XYCursor-CVUSpqb9.js → XYCursor-Z-Ral42q.js} +3 -3
  25. package/dist/{ZoomableContainer-Ca_pDVYQ.js → ZoomableContainer-D1laxHnA.js} +2 -2
  26. package/dist/components/charts/_common/tooltip.js +2 -2
  27. package/dist/components/charts/_common/utils.js +2 -2
  28. package/dist/components/charts/candlestick/logic.js +35 -34
  29. package/dist/components/charts/chart-wrapper/index.js +36 -34
  30. package/dist/components/charts/column-line-mix/logic.js +41 -40
  31. package/dist/components/charts/donut-chart/logic.js +4 -4
  32. package/dist/components/charts/drill-down-treemap/logic.js +5 -5
  33. package/dist/components/charts/drill-down-voronoi-treemap/logic.js +5 -5
  34. package/dist/components/charts/forecast-cone/index.js +52 -0
  35. package/dist/components/charts/forecast-cone/logic.js +331 -0
  36. package/dist/components/charts/forecast-cone/styled.js +12 -0
  37. package/dist/components/charts/heatmap/logic.js +9 -9
  38. package/dist/components/charts/highlighting-line-data/logic.js +10 -10
  39. package/dist/components/charts/line/logic.js +20 -19
  40. package/dist/components/charts/logaritmic-scale/logic.js +31 -30
  41. package/dist/components/charts/multiple-value-axes/logic.js +19 -18
  42. package/dist/components/charts/nested-pie/logic.js +3 -3
  43. package/dist/components/charts/packed-circles/logic.js +7 -7
  44. package/dist/components/charts/pie-chart/logic.js +4 -4
  45. package/dist/components/charts/stacked-area-radar/logic.js +9 -9
  46. package/dist/components/charts/stacked-column-chart/logic.js +10 -10
  47. package/dist/components/charts/xy-chart/logic.js +29 -28
  48. package/dist/components/metric-card/MetricChart.js +9 -9
  49. package/dist/main.d.ts +69 -1
  50. package/dist/main.js +167 -165
  51. package/package.json +1 -1
  52. package/dist/GaplessDateAxis-B2g2jgSG.js +0 -376
@@ -1,15 +1,15 @@
1
- import { R as I, A as W } from "../../../AnimatedTheme-ktdO3Bel.js";
1
+ import { R as I, A as W } from "../../../AnimatedTheme-D3VZKKNV.js";
2
2
  import { useThemeProps as z } from "@mui/material";
3
3
  import { useRef as d, useLayoutEffect as S } from "react";
4
- import { X as F, V } from "../../../AxisRenderer-BCQoUJw6.js";
5
- import { X as G } from "../../../XYCursor-CVUSpqb9.js";
6
- import { D as M } from "../../../DateAxis-DEXKps1S.js";
7
- import { A as N, a as P } from "../../../AxisRendererY-AXWvGU6r.js";
8
- import { C as U } from "../../../ColorSet-cyPmWGwh.js";
9
- import { c as Z, p as w } from "../../../Entity-BJCuhdq_.js";
10
- import { L as j } from "../../../LineSeries-D_IL2qGF.js";
11
- import { T as q } from "../../../Tooltip-vyZRZWih.js";
12
- import { L as B } from "../../../Legend-CFvQiIfn.js";
4
+ import { X as F, V } from "../../../AxisRenderer-Doyw-FTI.js";
5
+ import { X as G } from "../../../XYCursor-Z-Ral42q.js";
6
+ import { D as M } from "../../../DateAxis-lJZjbAS-.js";
7
+ import { A as N, a as P } from "../../../AxisRendererY-BylCU67e.js";
8
+ import { C as U } from "../../../ColorSet-DGLMpbL3.js";
9
+ import { c as Z, p as w } from "../../../Entity-4Lr2piVN.js";
10
+ import { L as j } from "../../../LineSeries-Dg1aytHA.js";
11
+ import { T as q } from "../../../Tooltip-RhAldW7s.js";
12
+ import { L as B } from "../../../Legend-CTb6rZz_.js";
13
13
  const ie = (v) => {
14
14
  const u = z({
15
15
  props: v,
@@ -1,21 +1,22 @@
1
- import { R as H, T as Z, A as $ } from "../../../AnimatedTheme-ktdO3Bel.js";
1
+ import { R as H, T as Z, A as $ } from "../../../AnimatedTheme-D3VZKKNV.js";
2
2
  import { useThemeProps as j, useTheme as q } from "@mui/material";
3
3
  import U from "lodash";
4
4
  import { useId as J, useRef as K, useEffect as Q } from "react";
5
5
  import { humanizeLabel as ee } from "../_common/format.js";
6
6
  import { attachCombinedAxisTooltip as te } from "../_common/tooltip.js";
7
7
  import { colorSetFromPalette as re, applyValueFormat as se } from "../_common/utils.js";
8
- import { c as p, p as X, b as V } from "../../../Entity-BJCuhdq_.js";
9
- import { X as oe, V as ae } from "../../../AxisRenderer-BCQoUJw6.js";
10
- import { A as _, a as ie } from "../../../AxisRendererY-AXWvGU6r.js";
11
- import { C as ne } from "../../../CategoryAxis-B6NqW8qd.js";
12
- import { L as le } from "../../../LineSeries-D_IL2qGF.js";
13
- import { D as me, G as de } from "../../../GaplessDateAxis-B2g2jgSG.js";
14
- import { B as pe } from "../../../Bullet-Djj7Vs9T.js";
15
- import { C as ce } from "../../../Circle-BnfBNKBD.js";
16
- import { X as ue } from "../../../XYCursor-CVUSpqb9.js";
17
- import { L as fe } from "../../../Legend-CFvQiIfn.js";
18
- import { D as he } from "../../../DateAxis-DEXKps1S.js";
8
+ import { c as p, p as X, b as V } from "../../../Entity-4Lr2piVN.js";
9
+ import { X as oe, V as ae } from "../../../AxisRenderer-Doyw-FTI.js";
10
+ import { A as _, a as ie } from "../../../AxisRendererY-BylCU67e.js";
11
+ import { C as ne } from "../../../CategoryAxis-B5uTZjhL.js";
12
+ import { L as le } from "../../../LineSeries-Dg1aytHA.js";
13
+ import { D as me } from "../../../DataProcessor-WXzhvIg6.js";
14
+ import { B as de } from "../../../Bullet-C6357hTv.js";
15
+ import { C as pe } from "../../../Circle-DhzVdFBd.js";
16
+ import { X as ce } from "../../../XYCursor-Z-Ral42q.js";
17
+ import { L as ue } from "../../../Legend-CTb6rZz_.js";
18
+ import { G as fe } from "../../../GaplessDateAxis-DowssQ6y.js";
19
+ import { D as he } from "../../../DateAxis-lJZjbAS-.js";
19
20
  const B = 1.1, ge = {
20
21
  millisecond: 1,
21
22
  second: 1e3,
@@ -25,7 +26,7 @@ const B = 1.1, ge = {
25
26
  week: 6048e5,
26
27
  month: 2592e6,
27
28
  year: 31536e6
28
- }, Ve = (E) => {
29
+ }, _e = (E) => {
29
30
  const b = j({ props: E, name: "HCLineChart" }), {
30
31
  dimensions: t,
31
32
  values: m,
@@ -67,7 +68,7 @@ const B = 1.1, ge = {
67
68
  s.set("colors", re(e, L));
68
69
  let n, c = g;
69
70
  if (t[0].type === "date") {
70
- const o = v ? de : he;
71
+ const o = v ? fe : he;
71
72
  n = s.xAxes.push(
72
73
  o.new(e, {
73
74
  maxDeviation: 0.1,
@@ -129,8 +130,8 @@ const B = 1.1, ge = {
129
130
  }), D.size > 0 && a.bullets.push((r, f, F) => {
130
131
  const h = F.dataContext;
131
132
  if (D.has(new Date(h == null ? void 0 : h[y]).getTime()))
132
- return pe.new(r, {
133
- sprite: ce.new(r, {
133
+ return de.new(r, {
134
+ sprite: pe.new(r, {
134
135
  radius: 3,
135
136
  fill: a.get("fill"),
136
137
  stroke: r.interfaceColors.get("background"),
@@ -142,7 +143,7 @@ const B = 1.1, ge = {
142
143
  a.data.setAll(c), a.strokes.template.setAll({ strokeWidth: 2 }), a.appear();
143
144
  }), s.set(
144
145
  "cursor",
145
- ue.new(e, { xAxis: n, behavior: "none" })
146
+ ce.new(e, { xAxis: n, behavior: "none" })
146
147
  ).lineY.set("visible", !1), te({
147
148
  root: e,
148
149
  chart: s,
@@ -153,7 +154,7 @@ const B = 1.1, ge = {
153
154
  follow: !0
154
155
  });
155
156
  const u = s.bottomAxesContainer.children.push(
156
- fe.new(e, {
157
+ ue.new(e, {
157
158
  width: X(100),
158
159
  paddingTop: 10,
159
160
  centerX: X(50),
@@ -199,5 +200,5 @@ const B = 1.1, ge = {
199
200
  return { chartId: N, ownerState: S, sx: R, error: A, other: W };
200
201
  };
201
202
  export {
202
- Ve as useLineChartLogic
203
+ _e as useLineChartLogic
203
204
  };
@@ -1,20 +1,21 @@
1
- import { R as Y, A as R } from "../../../AnimatedTheme-ktdO3Bel.js";
1
+ import { R as Y, A as R } from "../../../AnimatedTheme-D3VZKKNV.js";
2
2
  import { useThemeProps as E, useTheme as I } from "@mui/material";
3
3
  import F from "lodash";
4
4
  import { useId as G, useRef as O, useEffect as P } from "react";
5
5
  import { humanizeLabel as V } from "../_common/format.js";
6
6
  import { attachCombinedAxisTooltip as q } from "../_common/tooltip.js";
7
7
  import { colorSetFromPalette as z, applyValueFormat as B } from "../_common/utils.js";
8
- import { c as i } from "../../../Entity-BJCuhdq_.js";
9
- import { X as H, V as N } from "../../../AxisRenderer-BCQoUJw6.js";
10
- import { X as U } from "../../../XYCursor-CVUSpqb9.js";
11
- import { A as X, a as W } from "../../../AxisRendererY-AXWvGU6r.js";
12
- import { C as Z } from "../../../CategoryAxis-B6NqW8qd.js";
13
- import { L as _ } from "../../../LineSeries-D_IL2qGF.js";
14
- import { D as $, G as j } from "../../../GaplessDateAxis-B2g2jgSG.js";
15
- import { S as J } from "../../../Scrollbar-CTI7_8Qw.js";
16
- import { D as K } from "../../../DateAxis-DEXKps1S.js";
17
- const Ae = (k) => {
8
+ import { c as i } from "../../../Entity-4Lr2piVN.js";
9
+ import { X as H, V as N } from "../../../AxisRenderer-Doyw-FTI.js";
10
+ import { X as U } from "../../../XYCursor-Z-Ral42q.js";
11
+ import { A as X, a as W } from "../../../AxisRendererY-BylCU67e.js";
12
+ import { C as Z } from "../../../CategoryAxis-B5uTZjhL.js";
13
+ import { L as _ } from "../../../LineSeries-Dg1aytHA.js";
14
+ import { D as $ } from "../../../DataProcessor-WXzhvIg6.js";
15
+ import { S as j } from "../../../Scrollbar-CSoXoZSe.js";
16
+ import { G as J } from "../../../GaplessDateAxis-DowssQ6y.js";
17
+ import { D as K } from "../../../DateAxis-lJZjbAS-.js";
18
+ const xe = (k) => {
18
19
  const f = E({ props: k, name: "HCLogaritmicScale" }), {
19
20
  dimensions: t,
20
21
  values: s,
@@ -25,7 +26,7 @@ const Ae = (k) => {
25
26
  skipEmptyDates: x = !1,
26
27
  sx: C,
27
28
  ...L
28
- } = f, a = I(), g = `hc-logaritmic-scale-${G().replace(/:/g, "")}`, d = O(null);
29
+ } = f, o = I(), g = `hc-logaritmic-scale-${G().replace(/:/g, "")}`, d = O(null);
29
30
  let m = null;
30
31
  t.length < 1 ? m = "LogaritmicScale requires at least 1 dimension" : s.length < 1 && (m = "LogaritmicScale requires at least 1 value"), P(() => {
31
32
  if (m) return;
@@ -34,9 +35,9 @@ const Ae = (k) => {
34
35
  var v, w, D, b;
35
36
  const e = Y.new(g);
36
37
  d.current = e, e.setThemes([R.new(e)]), e.interfaceColors.setAll({
37
- text: i(a.palette.text.primary),
38
- grid: i(a.palette.divider),
39
- stroke: i(a.palette.divider)
38
+ text: i(o.palette.text.primary),
39
+ grid: i(o.palette.divider),
40
+ stroke: i(o.palette.divider)
40
41
  });
41
42
  const r = e.container.children.push(
42
43
  H.new(e, {
@@ -52,23 +53,23 @@ const Ae = (k) => {
52
53
  "cursor",
53
54
  U.new(e, { behavior: "none" })
54
55
  ).lineY.set("visible", !1);
55
- let o, p = n;
56
+ let a, p = n;
56
57
  if (t[0].type === "date") {
57
58
  p = F.orderBy(n, [t[0].value]);
58
- const l = x ? j : K;
59
- o = r.xAxes.push(
59
+ const l = x ? J : K;
60
+ a = r.xAxes.push(
60
61
  l.new(e, {
61
62
  maxDeviation: 0.1,
62
63
  groupData: !1,
63
64
  baseInterval: h || { timeUnit: "day", count: 1 },
64
65
  renderer: X.new(e, {})
65
66
  })
66
- ), (v = o.get("renderer")) == null || v.grid.template.setAll({
67
- stroke: i(a.palette.divider),
67
+ ), (v = a.get("renderer")) == null || v.grid.template.setAll({
68
+ stroke: i(o.palette.divider),
68
69
  strokeOpacity: 1
69
70
  });
70
71
  } else
71
- o = r.xAxes.push(
72
+ a = r.xAxes.push(
72
73
  Z.new(e, {
73
74
  categoryField: t[0].value,
74
75
  renderer: X.new(e, {})
@@ -76,8 +77,8 @@ const Ae = (k) => {
76
77
  ), e.numberFormatter.setAll({
77
78
  numberFormat: "#",
78
79
  numericFields: ["valueX"]
79
- }), p = F.orderBy(n, [t[0].value]), o.data.setAll(p), (w = o.get("renderer")) == null || w.grid.template.setAll({
80
- stroke: i(a.palette.divider),
80
+ }), p = F.orderBy(n, [t[0].value]), a.data.setAll(p), (w = a.get("renderer")) == null || w.grid.template.setAll({
81
+ stroke: i(o.palette.divider),
81
82
  strokeOpacity: 1
82
83
  });
83
84
  const y = r.yAxes.push(
@@ -87,13 +88,13 @@ const Ae = (k) => {
87
88
  })
88
89
  );
89
90
  (D = y.get("renderer")) == null || D.grid.template.setAll({
90
- stroke: i(a.palette.divider),
91
+ stroke: i(o.palette.divider),
91
92
  strokeOpacity: 1
92
93
  }), s.forEach((l) => {
93
94
  const c = r.series.push(
94
95
  _.new(e, {
95
96
  name: l.label ?? V(l.name),
96
- xAxis: o,
97
+ xAxis: a,
97
98
  yAxis: y,
98
99
  valueYField: l.dataFieldName,
99
100
  ...t[0].type === "date" ? { valueXField: t[0].value } : { categoryXField: t[0].value }
@@ -106,23 +107,23 @@ const Ae = (k) => {
106
107
  }), q({
107
108
  root: e,
108
109
  chart: r,
109
- xAxis: o,
110
- theme: a,
110
+ xAxis: a,
111
+ theme: o,
111
112
  isDateAxis: t[0].type === "date",
112
113
  baseInterval: h,
113
114
  follow: !0
114
115
  }), r.set(
115
116
  "scrollbarX",
116
- J.new(e, { orientation: "horizontal" })
117
+ j.new(e, { orientation: "horizontal" })
117
118
  ), B(e, (b = s == null ? void 0 : s[0]) == null ? void 0 : b.format), r.appear(1e3, 100);
118
119
  }, S), () => {
119
120
  var e;
120
121
  u && clearTimeout(u), (e = d.current) == null || e.dispose(), d.current = null;
121
122
  };
122
- }, [n, t, s, a.palette.mode, A, x]);
123
+ }, [n, t, s, o.palette.mode, A, x]);
123
124
  const T = { ...f };
124
125
  return { chartId: g, ownerState: T, sx: C, error: m, other: L };
125
126
  };
126
127
  export {
127
- Ae as useLogaritmicScaleLogic
128
+ xe as useLogaritmicScaleLogic
128
129
  };
@@ -1,22 +1,23 @@
1
- import { R as j, A as q } from "../../../AnimatedTheme-ktdO3Bel.js";
1
+ import { R as j, A as q } from "../../../AnimatedTheme-D3VZKKNV.js";
2
2
  import { useThemeProps as z, useTheme as U } from "@mui/material";
3
3
  import D from "lodash";
4
4
  import { useId as H, useRef as $, useEffect as J } from "react";
5
5
  import { humanizeLabel as P } from "../_common/format.js";
6
6
  import { attachCombinedAxisTooltip as K } from "../_common/tooltip.js";
7
7
  import { colorSetFromPalette as Q, applyValueFormat as Z } from "../_common/utils.js";
8
- import { c as C, a as A } from "../../../Entity-BJCuhdq_.js";
9
- import { X as ee, V as te } from "../../../AxisRenderer-BCQoUJw6.js";
10
- import { L as re } from "../../../Legend-CFvQiIfn.js";
11
- import { A as X, a as se } from "../../../AxisRendererY-AXWvGU6r.js";
12
- import { C as ae } from "../../../CategoryAxis-B6NqW8qd.js";
13
- import { X as ie } from "../../../XYCursor-CVUSpqb9.js";
14
- import { G as oe, D as le } from "../../../GaplessDateAxis-B2g2jgSG.js";
15
- import { D as ne } from "../../../DateAxis-DEXKps1S.js";
16
- import { L as ce } from "../../../LineSeries-D_IL2qGF.js";
17
- import { G, R as me } from "../../../Tooltip-vyZRZWih.js";
18
- import { C as ue } from "../../../Circle-BnfBNKBD.js";
19
- import { B as pe } from "../../../Bullet-Djj7Vs9T.js";
8
+ import { c as C, a as A } from "../../../Entity-4Lr2piVN.js";
9
+ import { X as ee, V as te } from "../../../AxisRenderer-Doyw-FTI.js";
10
+ import { L as re } from "../../../Legend-CTb6rZz_.js";
11
+ import { A as X, a as se } from "../../../AxisRendererY-BylCU67e.js";
12
+ import { C as ae } from "../../../CategoryAxis-B5uTZjhL.js";
13
+ import { X as ie } from "../../../XYCursor-Z-Ral42q.js";
14
+ import { G as oe } from "../../../GaplessDateAxis-DowssQ6y.js";
15
+ import { D as le } from "../../../DateAxis-lJZjbAS-.js";
16
+ import { L as ne } from "../../../LineSeries-Dg1aytHA.js";
17
+ import { D as ce } from "../../../DataProcessor-WXzhvIg6.js";
18
+ import { G, R as me } from "../../../Tooltip-RhAldW7s.js";
19
+ import { C as ue } from "../../../Circle-DhzVdFBd.js";
20
+ import { B as pe } from "../../../Bullet-C6357hTv.js";
20
21
  class y extends G {
21
22
  _beforeChanged() {
22
23
  super._beforeChanged(), (this.isDirty("width") || this.isDirty("height") || this.isPrivateDirty("width") || this.isPrivateDirty("height")) && (this._clear = !0);
@@ -44,7 +45,7 @@ Object.defineProperty(y, "classNames", {
44
45
  writable: !0,
45
46
  value: G.classNames.concat([y.className])
46
47
  });
47
- const x = ["CIRCLE", "RECTANGLE", "TRIANGLE"], Xe = (T) => {
48
+ const x = ["CIRCLE", "RECTANGLE", "TRIANGLE"], Ge = (T) => {
48
49
  const n = z({ props: T, name: "HCMultipleValueAxes" }), {
49
50
  dimensions: s,
50
51
  values: t,
@@ -84,7 +85,7 @@ const x = ["CIRCLE", "RECTANGLE", "TRIANGLE"], Xe = (T) => {
84
85
  ), o = s[0];
85
86
  let c, p = d;
86
87
  if (o.type === "date") {
87
- const a = E ? oe : ne;
88
+ const a = E ? oe : le;
88
89
  c = r.xAxes.push(
89
90
  a.new(e, {
90
91
  maxDeviation: 0.1,
@@ -109,7 +110,7 @@ const x = ["CIRCLE", "RECTANGLE", "TRIANGLE"], Xe = (T) => {
109
110
  );
110
111
  r.yAxes.indexOf(v) > 0 && v.set("syncWithAxis", r.yAxes.getIndex(0));
111
112
  const i = r.series.push(
112
- ce.new(e, {
113
+ ne.new(e, {
113
114
  name: l,
114
115
  xAxis: c,
115
116
  yAxis: v,
@@ -121,7 +122,7 @@ const x = ["CIRCLE", "RECTANGLE", "TRIANGLE"], Xe = (T) => {
121
122
  stroke: i.get("fill"),
122
123
  strokeOpacity: 1,
123
124
  opacity: 1
124
- }), M === "date" && (i.data.processor = le.new(e, {
125
+ }), M === "date" && (i.data.processor = ce.new(e, {
125
126
  dateFormat: "i",
126
127
  dateFields: [m]
127
128
  })), k !== void 0 && i.bullets.push(function() {
@@ -193,5 +194,5 @@ const x = ["CIRCLE", "RECTANGLE", "TRIANGLE"], Xe = (T) => {
193
194
  return { chartId: _, ownerState: B, sx: Y, error: h, other: V };
194
195
  };
195
196
  export {
196
- Xe as useMultipleValueAxesLogic
197
+ Ge as useMultipleValueAxesLogic
197
198
  };
@@ -1,11 +1,11 @@
1
- import { R as S, A as E } from "../../../AnimatedTheme-ktdO3Bel.js";
1
+ import { R as S, A as E } from "../../../AnimatedTheme-D3VZKKNV.js";
2
2
  import { useThemeProps as L, useTheme as j } from "@mui/material";
3
3
  import q from "dayjs";
4
4
  import T from "lodash";
5
5
  import { useId as B, useRef as H, useEffect as I } from "react";
6
6
  import { applyValueFormat as W, colorSetFromPalette as O } from "../_common/utils.js";
7
- import { c as n, p as o } from "../../../Entity-BJCuhdq_.js";
8
- import { P as V, a as N } from "../../../PieSeries-CMH0Z7pz.js";
7
+ import { c as n, p as o } from "../../../Entity-4Lr2piVN.js";
8
+ import { P as V, a as N } from "../../../PieSeries-C9YUWMnA.js";
9
9
  const Z = (b) => {
10
10
  const g = L({ props: b, name: "HCNestedPie" }), {
11
11
  dimensions: a,
@@ -1,14 +1,14 @@
1
- import { R as X, A as I } from "../../../AnimatedTheme-ktdO3Bel.js";
1
+ import { R as X, A as I } from "../../../AnimatedTheme-D3VZKKNV.js";
2
2
  import { useThemeProps as ee } from "@mui/material";
3
3
  import te from "dayjs";
4
4
  import { useId as re, useRef as ne, useEffect as ie } from "react";
5
5
  import { applyValueFormat as se, colorSetFromPalette as oe } from "../_common/utils.js";
6
- import { Z as U } from "../../../ZoomableContainer-Ca_pDVYQ.js";
7
- import { M as ae, m as ue, e as le, b as q } from "../../../Entity-BJCuhdq_.js";
8
- import { C as $, G as A, a as ce, b as he } from "../../../Tooltip-vyZRZWih.js";
9
- import { B as O } from "../../../Button-BLY4PVJC.js";
10
- import { H as J } from "../../../Hierarchy-CEOK8Gzh.js";
11
- import { C as fe } from "../../../Circle-BnfBNKBD.js";
6
+ import { Z as U } from "../../../ZoomableContainer-D1laxHnA.js";
7
+ import { M as ae, m as ue, e as le, b as q } from "../../../Entity-4Lr2piVN.js";
8
+ import { C as $, G as A, a as ce, b as he } from "../../../Tooltip-RhAldW7s.js";
9
+ import { B as O } from "../../../Button-DGOT8RcT.js";
10
+ import { H as J } from "../../../Hierarchy-DPEcTr0v.js";
11
+ import { C as fe } from "../../../Circle-DhzVdFBd.js";
12
12
  import { o as de, c as z, a as me } from "../../../constant-BiOGvlZc.js";
13
13
  class j extends $ {
14
14
  constructor() {
@@ -1,11 +1,11 @@
1
- import { R as w, A } from "../../../AnimatedTheme-ktdO3Bel.js";
1
+ import { R as w, A } from "../../../AnimatedTheme-D3VZKKNV.js";
2
2
  import { useThemeProps as C, useTheme as F } from "@mui/material";
3
3
  import L from "dayjs";
4
4
  import { useId as R, useRef as D, 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-CMH0Z7pz.js";
7
- import { c as m, p as v } from "../../../Entity-BJCuhdq_.js";
8
- import { L as j } from "../../../Legend-CFvQiIfn.js";
6
+ import { P as E, a as N } from "../../../PieSeries-C9YUWMnA.js";
7
+ import { c as m, p as v } from "../../../Entity-4Lr2piVN.js";
8
+ import { L as j } from "../../../Legend-CTb6rZz_.js";
9
9
  const K = (y) => {
10
10
  const p = C({ props: y, name: "HCPieChart" }), {
11
11
  dimensions: t,
@@ -1,4 +1,4 @@
1
- import { T as me, s as ae, R as Ae, A as pe } from "../../../AnimatedTheme-ktdO3Bel.js";
1
+ import { T as me, s as ae, R as Ae, A as pe } from "../../../AnimatedTheme-D3VZKKNV.js";
2
2
  import { useThemeProps as xe, useTheme as ve } from "@mui/material";
3
3
  import ye from "dayjs";
4
4
  import U from "lodash";
@@ -6,14 +6,14 @@ import { useId as be, useRef as Pe, useEffect as Re } from "react";
6
6
  import { humanizeLabel as _e } from "../_common/format.js";
7
7
  import { attachCombinedAxisTooltip as we } from "../_common/tooltip.js";
8
8
  import { applyValueFormat as Te, colorSetFromPalette as Ce } from "../_common/utils.js";
9
- import { m as M, t as R, b as J, f as m, p as w, a as N, P as Le, c as Y } from "../../../Entity-BJCuhdq_.js";
10
- import { a as E, X as ue, V as Me } from "../../../AxisRenderer-BCQoUJw6.js";
11
- import { a as W, b as q, h as c, c as h, s as g, C as De, G as $, g as re, m as Ye, n as D, D as L, f as ne, i as le } from "../../../Tooltip-vyZRZWih.js";
12
- import { R as de, S as Ne, a as I } from "../../../Slice-BUncQh1B.js";
13
- import { X as he } from "../../../XYCursor-CVUSpqb9.js";
14
- import { C as oe } from "../../../CategoryAxis-B6NqW8qd.js";
15
- import { L as ge } from "../../../LineSeries-D_IL2qGF.js";
16
- import { L as Oe } from "../../../Legend-CFvQiIfn.js";
9
+ import { m as M, z as R, b as J, f as m, p as w, a as N, P as Le, c as Y } from "../../../Entity-4Lr2piVN.js";
10
+ import { a as E, X as ue, V as Me } from "../../../AxisRenderer-Doyw-FTI.js";
11
+ import { a as W, b as q, h as c, c as h, s as g, C as De, G as $, g as re, m as Ye, n as D, D as L, f as ne, i as le } from "../../../Tooltip-RhAldW7s.js";
12
+ import { R as de, S as Ne, a as I } from "../../../Slice-CIP7Vmzu.js";
13
+ import { X as he } from "../../../XYCursor-Z-Ral42q.js";
14
+ import { C as oe } from "../../../CategoryAxis-B5uTZjhL.js";
15
+ import { L as ge } from "../../../LineSeries-Dg1aytHA.js";
16
+ import { L as Oe } from "../../../Legend-CTb6rZz_.js";
17
17
  class O extends de {
18
18
  constructor() {
19
19
  super(...arguments), Object.defineProperty(this, "_tickPoints", {
@@ -1,4 +1,4 @@
1
- import { R as V, A as q } from "../../../AnimatedTheme-ktdO3Bel.js";
1
+ import { R as V, A as q } from "../../../AnimatedTheme-D3VZKKNV.js";
2
2
  import { useThemeProps as I, useTheme as N } from "@mui/material";
3
3
  import P from "dayjs";
4
4
  import v from "lodash";
@@ -6,15 +6,15 @@ import { useId as z, useRef as H, useEffect as _ } from "react";
6
6
  import { humanizeLabel as $ } from "../_common/format.js";
7
7
  import { attachCombinedAxisTooltip as G } from "../_common/tooltip.js";
8
8
  import { applyValueFormat as J, colorSetFromPalette as K } from "../_common/utils.js";
9
- import { c as p, a as h, p as Q } from "../../../Entity-BJCuhdq_.js";
10
- import { X as W, V as Z } from "../../../AxisRenderer-BCQoUJw6.js";
11
- import { A as ee, a as te } from "../../../AxisRendererY-AXWvGU6r.js";
12
- import { C as D } from "../../../CategoryAxis-B6NqW8qd.js";
13
- import { L as re } from "../../../Legend-CFvQiIfn.js";
14
- import { X as oe } from "../../../XYCursor-CVUSpqb9.js";
15
- import { C as ae } from "../../../ColumnSeries-CtRTsn-E.js";
16
- import { B as se } from "../../../Bullet-Djj7Vs9T.js";
17
- import { L as ne } from "../../../Tooltip-vyZRZWih.js";
9
+ import { c as p, a as h, p as Q } from "../../../Entity-4Lr2piVN.js";
10
+ import { X as W, V as Z } from "../../../AxisRenderer-Doyw-FTI.js";
11
+ import { A as ee, a as te } from "../../../AxisRendererY-BylCU67e.js";
12
+ import { C as D } from "../../../CategoryAxis-B5uTZjhL.js";
13
+ import { L as re } from "../../../Legend-CTb6rZz_.js";
14
+ import { X as oe } from "../../../XYCursor-Z-Ral42q.js";
15
+ import { C as ae } from "../../../ColumnSeries-CqJ-563p.js";
16
+ import { B as se } from "../../../Bullet-C6357hTv.js";
17
+ import { L as ne } from "../../../Tooltip-RhAldW7s.js";
18
18
  const Xe = (L) => {
19
19
  const C = I({
20
20
  props: L,
@@ -1,22 +1,23 @@
1
- import { R as P, A as V } from "../../../AnimatedTheme-ktdO3Bel.js";
1
+ import { R as P, A as V } from "../../../AnimatedTheme-D3VZKKNV.js";
2
2
  import { useThemeProps as W, useTheme as z } from "@mui/material";
3
3
  import k from "lodash";
4
4
  import { useId as N, useRef as j, useEffect as H } from "react";
5
5
  import { humanizeLabel as F } from "../_common/format.js";
6
6
  import { attachCombinedAxisTooltip as M } from "../_common/tooltip.js";
7
7
  import { colorSetFromPalette as U, applyValueFormat as _ } from "../_common/utils.js";
8
- import { c, a as x, p as $ } from "../../../Entity-BJCuhdq_.js";
9
- import { X as q, V as J } from "../../../AxisRenderer-BCQoUJw6.js";
10
- import { L as K } from "../../../Legend-CFvQiIfn.js";
11
- import { A as L, a as Q } from "../../../AxisRendererY-AXWvGU6r.js";
12
- import { C as Z } from "../../../CategoryAxis-B6NqW8qd.js";
13
- import { T as ee, R as te, L as re } from "../../../Tooltip-vyZRZWih.js";
14
- import { X as oe } from "../../../XYCursor-CVUSpqb9.js";
15
- import { G as ae, D as se } from "../../../GaplessDateAxis-B2g2jgSG.js";
16
- import { D as ie } from "../../../DateAxis-DEXKps1S.js";
17
- import { C as ne } from "../../../ColumnSeries-CtRTsn-E.js";
18
- import { B as le } from "../../../Bullet-Djj7Vs9T.js";
19
- const Fe = (R) => {
8
+ import { c as m, a as x, p as $ } from "../../../Entity-4Lr2piVN.js";
9
+ import { X as q, V as J } from "../../../AxisRenderer-Doyw-FTI.js";
10
+ import { L as K } from "../../../Legend-CTb6rZz_.js";
11
+ import { A as L, a as Q } from "../../../AxisRendererY-BylCU67e.js";
12
+ import { C as Z } from "../../../CategoryAxis-B5uTZjhL.js";
13
+ import { T as ee, R as te, L as re } from "../../../Tooltip-RhAldW7s.js";
14
+ import { X as oe } from "../../../XYCursor-Z-Ral42q.js";
15
+ import { G as ae } from "../../../GaplessDateAxis-DowssQ6y.js";
16
+ import { D as se } from "../../../DateAxis-lJZjbAS-.js";
17
+ import { C as ie } from "../../../ColumnSeries-CqJ-563p.js";
18
+ import { D as ne } from "../../../DataProcessor-WXzhvIg6.js";
19
+ import { B as le } from "../../../Bullet-C6357hTv.js";
20
+ const Le = (R) => {
20
21
  const A = W({ props: R, name: "HCXYChart" }), {
21
22
  dimensions: p,
22
23
  values: n,
@@ -35,9 +36,9 @@ const Fe = (R) => {
35
36
  var T, X, Y;
36
37
  const e = P.new(b);
37
38
  u.current = e, e.setThemes([V.new(e)]), e.interfaceColors.setAll({
38
- text: c(i.palette.text.primary),
39
- grid: c(i.palette.divider),
40
- stroke: c(i.palette.divider)
39
+ text: m(i.palette.text.primary),
40
+ grid: m(i.palette.divider),
41
+ stroke: m(i.palette.divider)
41
42
  });
42
43
  const r = e.container.children.push(
43
44
  q.new(e, {
@@ -57,16 +58,16 @@ const Fe = (R) => {
57
58
  x
58
59
  })
59
60
  ), a = p[0];
60
- let o, m = d;
61
+ let o, c = d;
61
62
  if (a.type === "date") {
62
- const t = w ? ae : ie;
63
+ const t = w ? ae : se;
63
64
  o = r.xAxes.push(
64
65
  t.new(e, {
65
66
  maxDeviation: 0,
66
67
  baseInterval: y || { timeUnit: "day", count: 1 },
67
68
  renderer: L.new(e, { minGridDistance: 60 })
68
69
  })
69
- ), m = k.orderBy(d, [a.value]);
70
+ ), c = k.orderBy(d, [a.value]);
70
71
  } else {
71
72
  const t = L.new(e, {
72
73
  cellStartLocation: 0.1,
@@ -89,7 +90,7 @@ const Fe = (R) => {
89
90
  s.set(
90
91
  "background",
91
92
  te.new(e, {
92
- fill: c(0),
93
+ fill: m(0),
93
94
  fillOpacity: 0
94
95
  })
95
96
  );
@@ -98,7 +99,7 @@ const Fe = (R) => {
98
99
  }), e.numberFormatter.setAll({
99
100
  numberFormat: "#",
100
101
  numericFields: ["valueX"]
101
- }), o.data.setAll(m);
102
+ }), o.data.setAll(c);
102
103
  }
103
104
  const D = r.yAxes.push(
104
105
  J.new(e, {
@@ -106,15 +107,15 @@ const Fe = (R) => {
106
107
  })
107
108
  );
108
109
  (T = o.get("renderer")) == null || T.grid.template.setAll({
109
- stroke: c(i.palette.divider),
110
+ stroke: m(i.palette.divider),
110
111
  strokeOpacity: 1
111
112
  }), (X = D.get("renderer")) == null || X.grid.template.setAll({
112
- stroke: c(i.palette.divider),
113
+ stroke: m(i.palette.divider),
113
114
  strokeOpacity: 1
114
115
  });
115
116
  function C(t, s, h, I) {
116
117
  const l = r.series.push(
117
- ne.new(e, {
118
+ ie.new(e, {
118
119
  name: t,
119
120
  xAxis: o,
120
121
  yAxis: D,
@@ -125,7 +126,7 @@ const Fe = (R) => {
125
126
  l.columns.template.setAll({
126
127
  width: $(90),
127
128
  strokeOpacity: 0
128
- }), a.type === "date" && (l.data.processor = se.new(e, {
129
+ }), a.type === "date" && (l.data.processor = ne.new(e, {
129
130
  dateFormat: "i",
130
131
  dateFields: [h]
131
132
  })), l.data.setAll(s), l.appear(), l.bullets.push(function() {
@@ -145,13 +146,13 @@ const Fe = (R) => {
145
146
  n.forEach((t) => {
146
147
  C(
147
148
  t.label ?? F(t.name),
148
- m,
149
+ c,
149
150
  a.value,
150
151
  t.dataFieldName
151
152
  );
152
153
  });
153
154
  else {
154
- const t = k.groupBy(m, p[1].value);
155
+ const t = k.groupBy(c, p[1].value);
155
156
  Object.keys(t).forEach((s) => {
156
157
  C(
157
158
  F(s),
@@ -182,5 +183,5 @@ const Fe = (R) => {
182
183
  return { chartId: b, ownerState: S, sx: B, error: v, other: E };
183
184
  };
184
185
  export {
185
- Fe as useXYChartLogic
186
+ Le as useXYChartLogic
186
187
  };
@@ -1,15 +1,15 @@
1
1
  import { jsx as h } from "react/jsx-runtime";
2
- import { R as u, A } from "../../AnimatedTheme-ktdO3Bel.js";
2
+ import { R as u, A } from "../../AnimatedTheme-D3VZKKNV.js";
3
3
  import { useTheme as g, alpha as v } from "@mui/material";
4
4
  import { useRef as w, useLayoutEffect as x } from "react";
5
- import { X as y, V as R } from "../../AxisRenderer-BCQoUJw6.js";
6
- import { C as L } from "../../CategoryAxis-B6NqW8qd.js";
7
- import { A as T, a as b } from "../../AxisRendererY-AXWvGU6r.js";
8
- import { T as X } from "../../Tooltip-vyZRZWih.js";
9
- import { C } from "../../ColumnSeries-CtRTsn-E.js";
10
- import { c as a } from "../../Entity-BJCuhdq_.js";
11
- import { L as Y } from "../../LineSeries-D_IL2qGF.js";
12
- import { L as F } from "../../LinearGradient-CxQyCSEB.js";
5
+ import { X as y, V as R } from "../../AxisRenderer-Doyw-FTI.js";
6
+ import { C as L } from "../../CategoryAxis-B5uTZjhL.js";
7
+ import { A as T, a as b } from "../../AxisRendererY-BylCU67e.js";
8
+ import { T as X } from "../../Tooltip-RhAldW7s.js";
9
+ import { C } from "../../ColumnSeries-CqJ-563p.js";
10
+ import { c as a } from "../../Entity-4Lr2piVN.js";
11
+ import { L as Y } from "../../LineSeries-Dg1aytHA.js";
12
+ import { L as F } from "../../LinearGradient-D1hzMjaW.js";
13
13
  const z = ({
14
14
  data: o,
15
15
  type: p,