@hybridcore/ui 1.6.9 → 1.6.10

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 (46) hide show
  1. package/dist/{AnimatedTheme-BOKdw2Oy.js → AnimatedTheme-ktdO3Bel.js} +2 -2
  2. package/dist/{AxisRenderer-lUbezuh7.js → AxisRenderer-BCQoUJw6.js} +6 -6
  3. package/dist/{AxisRendererY-DbSiyb45.js → AxisRendererY-AXWvGU6r.js} +3 -3
  4. package/dist/{Bullet-PgoNb3Jv.js → Bullet-Djj7Vs9T.js} +1 -1
  5. package/dist/{Button-XBf4Mwz-.js → Button-BLY4PVJC.js} +3 -3
  6. package/dist/{CategoryAxis-B8KQp1pE.js → CategoryAxis-B6NqW8qd.js} +3 -3
  7. package/dist/{Circle-BWRdiMpG.js → Circle-BnfBNKBD.js} +1 -1
  8. package/dist/{ColorSet-DDmFoKtZ.js → ColorSet-cyPmWGwh.js} +1 -1
  9. package/dist/{ColumnSeries-rgnGm-Bg.js → ColumnSeries-CtRTsn-E.js} +4 -4
  10. package/dist/{DateAxis-zNtbSVjW.js → DateAxis-DEXKps1S.js} +4 -4
  11. package/dist/{Entity-CCUIdRAr.js → Entity-BJCuhdq_.js} +62 -62
  12. package/dist/GaplessDateAxis-B2g2jgSG.js +376 -0
  13. package/dist/{Hierarchy-CCvGsF1A.js → Hierarchy-CEOK8Gzh.js} +8 -8
  14. package/dist/{Legend-kbCFjJAW.js → Legend-CFvQiIfn.js} +4 -4
  15. package/dist/{LineSeries-BLFvwrLT.js → LineSeries-D_IL2qGF.js} +4 -4
  16. package/dist/{LinearGradient-C7rnipF7.js → LinearGradient-CxQyCSEB.js} +2 -2
  17. package/dist/{PieSeries-3iLRbqFv.js → PieSeries-CMH0Z7pz.js} +6 -6
  18. package/dist/{RoundedRectangle-CqMMmPM0.js → RoundedRectangle-BKLX1LKM.js} +2 -2
  19. package/dist/{Scrollbar-BzSBcIUt.js → Scrollbar-CTI7_8Qw.js} +4 -4
  20. package/dist/{Slice-CS23iLiS.js → Slice-BUncQh1B.js} +2 -2
  21. package/dist/{Tick-BADQ8QeT.js → Tick--VhF0xlz.js} +2 -2
  22. package/dist/{Tooltip-A_HlttXp.js → Tooltip-vyZRZWih.js} +13 -13
  23. package/dist/{XYCursor-gHAo40xC.js → XYCursor-CVUSpqb9.js} +3 -3
  24. package/dist/{ZoomableContainer-Brs1wHM1.js → ZoomableContainer-Ca_pDVYQ.js} +4 -4
  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 +175 -173
  28. package/dist/components/charts/column-line-mix/logic.js +89 -83
  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/heatmap/logic.js +9 -9
  33. package/dist/components/charts/highlighting-line-data/logic.js +10 -10
  34. package/dist/components/charts/line/logic.js +99 -86
  35. package/dist/components/charts/logaritmic-scale/logic.js +78 -72
  36. package/dist/components/charts/multiple-value-axes/logic.js +100 -95
  37. package/dist/components/charts/nested-pie/logic.js +3 -3
  38. package/dist/components/charts/packed-circles/logic.js +7 -7
  39. package/dist/components/charts/pie-chart/logic.js +4 -4
  40. package/dist/components/charts/stacked-area-radar/logic.js +9 -9
  41. package/dist/components/charts/stacked-column-chart/logic.js +10 -10
  42. package/dist/components/charts/xy-chart/logic.js +66 -64
  43. package/dist/components/metric-card/MetricChart.js +9 -9
  44. package/dist/main.d.ts +13 -0
  45. package/package.json +1 -1
  46. package/dist/DataProcessor-CvIe9BVn.js +0 -83
@@ -1,44 +1,45 @@
1
- import { R as C, A as Y } from "../../../AnimatedTheme-BOKdw2Oy.js";
2
- import { useThemeProps as R, useTheme as I } from "@mui/material";
1
+ import { R as Y, A as R } from "../../../AnimatedTheme-ktdO3Bel.js";
2
+ import { useThemeProps as E, useTheme as I } from "@mui/material";
3
3
  import F from "lodash";
4
- import { useId as E, useRef as O, useEffect as P } from "react";
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-CCUIdRAr.js";
9
- import { X as G, V as H } from "../../../AxisRenderer-lUbezuh7.js";
10
- import { X as N } from "../../../XYCursor-gHAo40xC.js";
11
- import { D as U } from "../../../DateAxis-zNtbSVjW.js";
12
- import { A as X, a as W } from "../../../AxisRendererY-DbSiyb45.js";
13
- import { C as Z } from "../../../CategoryAxis-B8KQp1pE.js";
14
- import { L as _ } from "../../../LineSeries-BLFvwrLT.js";
15
- import { D as $ } from "../../../DataProcessor-CvIe9BVn.js";
16
- import { S as j } from "../../../Scrollbar-BzSBcIUt.js";
17
- const fe = (D) => {
18
- const f = R({ props: D, name: "HCLogaritmicScale" }), {
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) => {
18
+ const f = E({ props: k, name: "HCLogaritmicScale" }), {
19
19
  dimensions: t,
20
20
  values: s,
21
- data: l,
22
- initDelay: k = 0,
21
+ data: n,
22
+ initDelay: S = 0,
23
23
  baseInterval: h,
24
24
  colors: A,
25
- sx: S,
25
+ skipEmptyDates: x = !1,
26
+ sx: C,
26
27
  ...L
27
- } = f, o = I(), g = `hc-logaritmic-scale-${E().replace(/:/g, "")}`, p = O(null);
28
- let n = null;
29
- t.length < 1 ? n = "LogaritmicScale requires at least 1 dimension" : s.length < 1 && (n = "LogaritmicScale requires at least 1 value"), P(() => {
30
- if (n) return;
31
- let d;
32
- return d = setTimeout(() => {
33
- var y, v, w, b;
34
- const e = C.new(g);
35
- p.current = e, e.setThemes([Y.new(e)]), e.interfaceColors.setAll({
36
- text: i(o.palette.text.primary),
37
- grid: i(o.palette.divider),
38
- stroke: i(o.palette.divider)
28
+ } = f, a = I(), g = `hc-logaritmic-scale-${G().replace(/:/g, "")}`, d = O(null);
29
+ let m = null;
30
+ t.length < 1 ? m = "LogaritmicScale requires at least 1 dimension" : s.length < 1 && (m = "LogaritmicScale requires at least 1 value"), P(() => {
31
+ if (m) return;
32
+ let u;
33
+ return u = setTimeout(() => {
34
+ var v, w, D, b;
35
+ const e = Y.new(g);
36
+ 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)
39
40
  });
40
41
  const r = e.container.children.push(
41
- G.new(e, {
42
+ H.new(e, {
42
43
  panX: !0,
43
44
  panY: !0,
44
45
  wheelX: "none",
@@ -49,74 +50,79 @@ const fe = (D) => {
49
50
  );
50
51
  r.set("colors", z(e, A)), r.set(
51
52
  "cursor",
52
- N.new(e, { behavior: "none" })
53
+ U.new(e, { behavior: "none" })
53
54
  ).lineY.set("visible", !1);
54
- let a, m = l;
55
- t[0].type === "date" ? (m = F.orderBy(l, [t[0].value]), a = r.xAxes.push(
56
- U.new(e, {
57
- maxDeviation: 0.1,
58
- groupData: !1,
59
- baseInterval: h || { timeUnit: "day", count: 1 },
60
- renderer: X.new(e, {})
61
- })
62
- ), (y = a.get("renderer")) == null || y.grid.template.setAll({
63
- stroke: i(o.palette.divider),
64
- strokeOpacity: 1
65
- })) : (a = r.xAxes.push(
66
- Z.new(e, {
67
- categoryField: t[0].value,
68
- renderer: X.new(e, {})
69
- })
70
- ), e.numberFormatter.setAll({
71
- numberFormat: "#",
72
- numericFields: ["valueX"]
73
- }), m = F.orderBy(l, [t[0].value]), a.data.setAll(m), (v = a.get("renderer")) == null || v.grid.template.setAll({
74
- stroke: i(o.palette.divider),
75
- strokeOpacity: 1
76
- }));
77
- const x = r.yAxes.push(
78
- H.new(e, {
55
+ let o, p = n;
56
+ if (t[0].type === "date") {
57
+ p = F.orderBy(n, [t[0].value]);
58
+ const l = x ? j : K;
59
+ o = r.xAxes.push(
60
+ l.new(e, {
61
+ maxDeviation: 0.1,
62
+ groupData: !1,
63
+ baseInterval: h || { timeUnit: "day", count: 1 },
64
+ renderer: X.new(e, {})
65
+ })
66
+ ), (v = o.get("renderer")) == null || v.grid.template.setAll({
67
+ stroke: i(a.palette.divider),
68
+ strokeOpacity: 1
69
+ });
70
+ } else
71
+ o = r.xAxes.push(
72
+ Z.new(e, {
73
+ categoryField: t[0].value,
74
+ renderer: X.new(e, {})
75
+ })
76
+ ), e.numberFormatter.setAll({
77
+ numberFormat: "#",
78
+ 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),
81
+ strokeOpacity: 1
82
+ });
83
+ const y = r.yAxes.push(
84
+ N.new(e, {
79
85
  logarithmic: !0,
80
86
  renderer: W.new(e, { minorGridEnabled: !0 })
81
87
  })
82
88
  );
83
- (w = x.get("renderer")) == null || w.grid.template.setAll({
84
- stroke: i(o.palette.divider),
89
+ (D = y.get("renderer")) == null || D.grid.template.setAll({
90
+ stroke: i(a.palette.divider),
85
91
  strokeOpacity: 1
86
- }), s.forEach((u) => {
92
+ }), s.forEach((l) => {
87
93
  const c = r.series.push(
88
94
  _.new(e, {
89
- name: u.label ?? V(u.name),
90
- xAxis: a,
91
- yAxis: x,
92
- valueYField: u.dataFieldName,
95
+ name: l.label ?? V(l.name),
96
+ xAxis: o,
97
+ yAxis: y,
98
+ valueYField: l.dataFieldName,
93
99
  ...t[0].type === "date" ? { valueXField: t[0].value } : { categoryXField: t[0].value }
94
100
  })
95
101
  );
96
102
  c.strokes.template.setAll({ strokeWidth: 3 }), t[0].type === "date" && (c.data.processor = $.new(e, {
97
103
  dateFormat: "i",
98
104
  dateFields: [t[0].value]
99
- })), c.data.setAll(m), c.appear(1e3);
105
+ })), c.data.setAll(p), c.appear(1e3);
100
106
  }), q({
101
107
  root: e,
102
108
  chart: r,
103
- xAxis: a,
104
- theme: o,
109
+ xAxis: o,
110
+ theme: a,
105
111
  isDateAxis: t[0].type === "date",
106
112
  baseInterval: h,
107
113
  follow: !0
108
114
  }), r.set(
109
115
  "scrollbarX",
110
- j.new(e, { orientation: "horizontal" })
116
+ J.new(e, { orientation: "horizontal" })
111
117
  ), B(e, (b = s == null ? void 0 : s[0]) == null ? void 0 : b.format), r.appear(1e3, 100);
112
- }, k), () => {
118
+ }, S), () => {
113
119
  var e;
114
- d && clearTimeout(d), (e = p.current) == null || e.dispose(), p.current = null;
120
+ u && clearTimeout(u), (e = d.current) == null || e.dispose(), d.current = null;
115
121
  };
116
- }, [l, t, s, o.palette.mode, A]);
122
+ }, [n, t, s, a.palette.mode, A, x]);
117
123
  const T = { ...f };
118
- return { chartId: g, ownerState: T, sx: S, error: n, other: L };
124
+ return { chartId: g, ownerState: T, sx: C, error: m, other: L };
119
125
  };
120
126
  export {
121
- fe as useLogaritmicScaleLogic
127
+ Ae as useLogaritmicScaleLogic
122
128
  };
@@ -1,23 +1,23 @@
1
- import { R as M, A as j } from "../../../AnimatedTheme-BOKdw2Oy.js";
2
- import { useThemeProps as q, useTheme as z } from "@mui/material";
3
- import C from "lodash";
4
- import { useId as U, useRef as H, useEffect as $ } from "react";
5
- import { humanizeLabel as F } from "../_common/format.js";
6
- import { attachCombinedAxisTooltip as J } from "../_common/tooltip.js";
7
- import { colorSetFromPalette as K, applyValueFormat as Q } from "../_common/utils.js";
8
- import { c as T, a as A } from "../../../Entity-CCUIdRAr.js";
9
- import { X as Z, V as ee } from "../../../AxisRenderer-lUbezuh7.js";
10
- import { L as te } from "../../../Legend-kbCFjJAW.js";
11
- import { D as re } from "../../../DateAxis-zNtbSVjW.js";
12
- import { A as P, a as se } from "../../../AxisRendererY-DbSiyb45.js";
13
- import { C as ae } from "../../../CategoryAxis-B8KQp1pE.js";
14
- import { X as ie } from "../../../XYCursor-gHAo40xC.js";
15
- import { L as oe } from "../../../LineSeries-BLFvwrLT.js";
16
- import { D as le } from "../../../DataProcessor-CvIe9BVn.js";
17
- import { G as X, R as ne } from "../../../Tooltip-A_HlttXp.js";
18
- import { C as ce } from "../../../Circle-BWRdiMpG.js";
19
- import { B as me } from "../../../Bullet-PgoNb3Jv.js";
20
- class w extends X {
1
+ import { R as j, A as q } from "../../../AnimatedTheme-ktdO3Bel.js";
2
+ import { useThemeProps as z, useTheme as U } from "@mui/material";
3
+ import D from "lodash";
4
+ import { useId as H, useRef as $, useEffect as J } from "react";
5
+ import { humanizeLabel as P } from "../_common/format.js";
6
+ import { attachCombinedAxisTooltip as K } from "../_common/tooltip.js";
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";
20
+ class y extends G {
21
21
  _beforeChanged() {
22
22
  super._beforeChanged(), (this.isDirty("width") || this.isDirty("height") || this.isPrivateDirty("width") || this.isPrivateDirty("height")) && (this._clear = !0);
23
23
  }
@@ -32,43 +32,44 @@ class w extends X {
32
32
  this.markDirty(), this._clear = !0;
33
33
  }
34
34
  }
35
- Object.defineProperty(w, "className", {
35
+ Object.defineProperty(y, "className", {
36
36
  enumerable: !0,
37
37
  configurable: !0,
38
38
  writable: !0,
39
39
  value: "Triangle"
40
40
  });
41
- Object.defineProperty(w, "classNames", {
41
+ Object.defineProperty(y, "classNames", {
42
42
  enumerable: !0,
43
43
  configurable: !0,
44
44
  writable: !0,
45
- value: X.classNames.concat([w.className])
45
+ value: G.classNames.concat([y.className])
46
46
  });
47
- const x = ["CIRCLE", "RECTANGLE", "TRIANGLE"], Fe = (D) => {
48
- const n = q({ props: D, name: "HCMultipleValueAxes" }), {
47
+ const x = ["CIRCLE", "RECTANGLE", "TRIANGLE"], Xe = (T) => {
48
+ const n = z({ props: T, name: "HCMultipleValueAxes" }), {
49
49
  dimensions: s,
50
50
  values: t,
51
- data: p,
51
+ data: d,
52
52
  initDelay: I = 0,
53
53
  baseInterval: L,
54
54
  colors: R,
55
+ skipEmptyDates: E = !1,
55
56
  sx: Y,
56
57
  ...V
57
- } = n, u = z(), _ = `hc-multiple-value-axes-${U().replace(/:/g, "")}`, y = H(null);
58
+ } = n, u = U(), _ = `hc-multiple-value-axes-${H().replace(/:/g, "")}`, w = $(null);
58
59
  let h = null;
59
- s.length < 1 ? h = "MultipleValueAxes requires at least 1 dimension" : t.length < 1 && (h = "MultipleValueAxes requires at least 1 value"), $(() => {
60
+ s.length < 1 ? h = "MultipleValueAxes requires at least 1 dimension" : t.length < 1 && (h = "MultipleValueAxes requires at least 1 value"), J(() => {
60
61
  if (h) return;
61
62
  let b;
62
63
  return b = setTimeout(() => {
63
- var N;
64
- const e = M.new(_);
65
- y.current = e, e.setThemes([j.new(e)]), e.interfaceColors.setAll({
66
- text: T(u.palette.text.primary),
67
- grid: T(u.palette.divider),
68
- stroke: T(u.palette.divider)
64
+ var F;
65
+ const e = j.new(_);
66
+ w.current = e, e.setThemes([q.new(e)]), e.interfaceColors.setAll({
67
+ text: C(u.palette.text.primary),
68
+ grid: C(u.palette.divider),
69
+ stroke: C(u.palette.divider)
69
70
  });
70
71
  const r = e.container.children.push(
71
- Z.new(e, {
72
+ ee.new(e, {
72
73
  panX: !1,
73
74
  panY: !1,
74
75
  wheelX: "none",
@@ -77,89 +78,93 @@ const x = ["CIRCLE", "RECTANGLE", "TRIANGLE"], Fe = (D) => {
77
78
  layout: e.verticalLayout
78
79
  })
79
80
  );
80
- r.set("colors", K(e, R)), r.get("colors", {}).set("step", 3);
81
- const G = r.children.push(
82
- te.new(e, { centerX: A, x: A })
83
- ), i = s[0];
84
- let c, d = p;
85
- i.type === "date" ? (c = r.xAxes.push(
86
- re.new(e, {
87
- maxDeviation: 0.1,
88
- groupData: !1,
89
- baseInterval: L || { timeUnit: "day", count: 1 },
90
- renderer: P.new(e, {})
91
- })
92
- ), d = C.orderBy(p, [i.value])) : (c = r.xAxes.push(
93
- ae.new(e, {
94
- categoryField: i.value,
95
- renderer: P.new(e, {})
96
- })
97
- ), e.numberFormatter.setAll({
98
- numberFormat: "#",
99
- numericFields: ["valueX"]
100
- }), d = C.orderBy(p, [i.value]), c.data.setAll(d));
101
- function E(o, l, m, O, S, v, W) {
102
- const f = se.new(e, { opposite: S }), k = r.yAxes.push(
103
- ee.new(e, { maxDeviation: 1, renderer: f })
81
+ r.set("colors", Q(e, R)), r.get("colors", {}).set("step", 3);
82
+ const O = r.children.push(
83
+ re.new(e, { centerX: A, x: A })
84
+ ), o = s[0];
85
+ let c, p = d;
86
+ if (o.type === "date") {
87
+ const a = E ? oe : ne;
88
+ c = r.xAxes.push(
89
+ a.new(e, {
90
+ maxDeviation: 0.1,
91
+ groupData: !1,
92
+ baseInterval: L || { timeUnit: "day", count: 1 },
93
+ renderer: X.new(e, {})
94
+ })
95
+ ), p = D.orderBy(d, [o.value]);
96
+ } else
97
+ c = r.xAxes.push(
98
+ ae.new(e, {
99
+ categoryField: o.value,
100
+ renderer: X.new(e, {})
101
+ })
102
+ ), e.numberFormatter.setAll({
103
+ numberFormat: "#",
104
+ numericFields: ["valueX"]
105
+ }), p = D.orderBy(d, [o.value]), c.data.setAll(p);
106
+ function N(a, l, m, S, W, k, M) {
107
+ const f = se.new(e, { opposite: W }), v = r.yAxes.push(
108
+ te.new(e, { maxDeviation: 1, renderer: f })
104
109
  );
105
- r.yAxes.indexOf(k) > 0 && k.set("syncWithAxis", r.yAxes.getIndex(0));
106
- const a = r.series.push(
107
- oe.new(e, {
110
+ r.yAxes.indexOf(v) > 0 && v.set("syncWithAxis", r.yAxes.getIndex(0));
111
+ const i = r.series.push(
112
+ ce.new(e, {
108
113
  name: l,
109
114
  xAxis: c,
110
- yAxis: k,
111
- valueYField: O,
112
- ...i.type === "date" ? { valueXField: m } : { categoryXField: m }
115
+ yAxis: v,
116
+ valueYField: S,
117
+ ...o.type === "date" ? { valueXField: m } : { categoryXField: m }
113
118
  })
114
119
  );
115
- a.strokes.template.setAll({ strokeWidth: 2 }), f.grid.template.set("strokeOpacity", 0.05), f.labels.template.set("fill", a.get("fill")), f.setAll({
116
- stroke: a.get("fill"),
120
+ i.strokes.template.setAll({ strokeWidth: 2 }), f.grid.template.set("strokeOpacity", 0.05), f.labels.template.set("fill", i.get("fill")), f.setAll({
121
+ stroke: i.get("fill"),
117
122
  strokeOpacity: 1,
118
123
  opacity: 1
119
- }), W === "date" && (a.data.processor = le.new(e, {
124
+ }), M === "date" && (i.data.processor = le.new(e, {
120
125
  dateFormat: "i",
121
126
  dateFields: [m]
122
- })), v !== void 0 && a.bullets.push(function() {
127
+ })), k !== void 0 && i.bullets.push(function() {
123
128
  let g;
124
- return v === "RECTANGLE" ? g = ne.new(e, {
129
+ return k === "RECTANGLE" ? g = me.new(e, {
125
130
  width: 10,
126
131
  height: 10,
127
132
  centerX: A,
128
133
  centerY: A,
129
134
  strokeWidth: 2,
130
- stroke: a.get("stroke"),
135
+ stroke: i.get("stroke"),
131
136
  fill: e.interfaceColors.get("background")
132
- }) : v === "TRIANGLE" ? g = w.new(e, {
137
+ }) : k === "TRIANGLE" ? g = y.new(e, {
133
138
  width: 10,
134
139
  height: 10,
135
140
  strokeWidth: 2,
136
- stroke: a.get("stroke"),
141
+ stroke: i.get("stroke"),
137
142
  fill: e.interfaceColors.get("background")
138
- }) : g = ce.new(e, {
143
+ }) : g = ue.new(e, {
139
144
  strokeWidth: 2,
140
145
  radius: 4,
141
- stroke: a.get("stroke"),
146
+ stroke: i.get("stroke"),
142
147
  fill: e.interfaceColors.get("background")
143
- }), me.new(e, { sprite: g });
144
- }), a.data.setAll(o);
148
+ }), pe.new(e, { sprite: g });
149
+ }), i.data.setAll(a);
145
150
  }
146
151
  if (r.set(
147
152
  "cursor",
148
153
  ie.new(e, { xAxis: c, behavior: "none" })
149
- ).lineY.set("visible", !1), J({
154
+ ).lineY.set("visible", !1), K({
150
155
  root: e,
151
156
  chart: r,
152
157
  xAxis: c,
153
158
  theme: u,
154
- isDateAxis: i.type === "date",
159
+ isDateAxis: o.type === "date",
155
160
  baseInterval: L,
156
161
  follow: !0
157
162
  }), s.length > 1) {
158
- const o = C.groupBy(d, s[1].value);
159
- Object.keys(o).forEach((l, m) => {
160
- E(
161
- o[l],
162
- F(l),
163
+ const a = D.groupBy(p, s[1].value);
164
+ Object.keys(a).forEach((l, m) => {
165
+ N(
166
+ a[l],
167
+ P(l),
163
168
  s[0].value,
164
169
  t[0].dataFieldName,
165
170
  m !== 0,
@@ -167,26 +172,26 @@ const x = ["CIRCLE", "RECTANGLE", "TRIANGLE"], Fe = (D) => {
167
172
  );
168
173
  });
169
174
  } else
170
- t.forEach((o, l) => {
171
- E(
172
- d,
173
- o.label ?? F(o.name),
174
- i.value,
175
- o.dataFieldName,
175
+ t.forEach((a, l) => {
176
+ N(
177
+ p,
178
+ a.label ?? P(a.name),
179
+ o.value,
180
+ a.dataFieldName,
176
181
  l !== 0,
177
182
  x[l % x.length],
178
- i.type
183
+ o.type
179
184
  );
180
185
  });
181
- G.data.setAll(r.series.values), Q(e, (N = t == null ? void 0 : t[0]) == null ? void 0 : N.format), r.appear(1e3, 100);
186
+ O.data.setAll(r.series.values), Z(e, (F = t == null ? void 0 : t[0]) == null ? void 0 : F.format), r.appear(1e3, 100);
182
187
  }, I), () => {
183
188
  var e;
184
- b && clearTimeout(b), (e = y.current) == null || e.dispose(), y.current = null;
189
+ b && clearTimeout(b), (e = w.current) == null || e.dispose(), w.current = null;
185
190
  };
186
- }, [p, s, t, u.palette.mode, R]);
191
+ }, [d, s, t, u.palette.mode, R, E]);
187
192
  const B = { ...n };
188
193
  return { chartId: _, ownerState: B, sx: Y, error: h, other: V };
189
194
  };
190
195
  export {
191
- Fe as useMultipleValueAxesLogic
196
+ Xe as useMultipleValueAxesLogic
192
197
  };
@@ -1,11 +1,11 @@
1
- import { R as S, A as E } from "../../../AnimatedTheme-BOKdw2Oy.js";
1
+ import { R as S, A as E } from "../../../AnimatedTheme-ktdO3Bel.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-CCUIdRAr.js";
8
- import { P as V, a as N } from "../../../PieSeries-3iLRbqFv.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";
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-BOKdw2Oy.js";
1
+ import { R as X, A as I } from "../../../AnimatedTheme-ktdO3Bel.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-Brs1wHM1.js";
7
- import { M as ae, m as ue, e as le, b as q } from "../../../Entity-CCUIdRAr.js";
8
- import { C as $, G as A, a as ce, b as he } from "../../../Tooltip-A_HlttXp.js";
9
- import { B as O } from "../../../Button-XBf4Mwz-.js";
10
- import { H as J } from "../../../Hierarchy-CCvGsF1A.js";
11
- import { C as fe } from "../../../Circle-BWRdiMpG.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";
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-BOKdw2Oy.js";
1
+ import { R as w, A } from "../../../AnimatedTheme-ktdO3Bel.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-3iLRbqFv.js";
7
- import { c as m, p as v } from "../../../Entity-CCUIdRAr.js";
8
- import { L as j } from "../../../Legend-kbCFjJAW.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";
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-BOKdw2Oy.js";
1
+ import { T as me, s as ae, R as Ae, A as pe } from "../../../AnimatedTheme-ktdO3Bel.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, w as R, b as J, f as m, p as w, a as N, P as Le, c as Y } from "../../../Entity-CCUIdRAr.js";
10
- import { a as E, X as ue, V as Me } from "../../../AxisRenderer-lUbezuh7.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-A_HlttXp.js";
12
- import { R as de, S as Ne, a as I } from "../../../Slice-CS23iLiS.js";
13
- import { X as he } from "../../../XYCursor-gHAo40xC.js";
14
- import { C as oe } from "../../../CategoryAxis-B8KQp1pE.js";
15
- import { L as ge } from "../../../LineSeries-BLFvwrLT.js";
16
- import { L as Oe } from "../../../Legend-kbCFjJAW.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";
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-BOKdw2Oy.js";
1
+ import { R as V, A as q } from "../../../AnimatedTheme-ktdO3Bel.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-CCUIdRAr.js";
10
- import { X as W, V as Z } from "../../../AxisRenderer-lUbezuh7.js";
11
- import { A as ee, a as te } from "../../../AxisRendererY-DbSiyb45.js";
12
- import { C as D } from "../../../CategoryAxis-B8KQp1pE.js";
13
- import { L as re } from "../../../Legend-kbCFjJAW.js";
14
- import { X as oe } from "../../../XYCursor-gHAo40xC.js";
15
- import { C as ae } from "../../../ColumnSeries-rgnGm-Bg.js";
16
- import { B as se } from "../../../Bullet-PgoNb3Jv.js";
17
- import { L as ne } from "../../../Tooltip-A_HlttXp.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";
18
18
  const Xe = (L) => {
19
19
  const C = I({
20
20
  props: L,