@hybridcore/ui 1.6.14 → 1.6.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,69 +1,82 @@
1
- import { R as P, A } from "../../../AnimatedTheme-ktdO3Bel.js";
2
- import { useThemeProps as C, useTheme as D } from "@mui/material";
3
- import F from "dayjs";
4
- import { useId as R, useRef as L, useEffect as I } from "react";
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 { p as m, c as u } from "../../../Entity-BJCuhdq_.js";
8
- import { L as j } from "../../../Legend-CFvQiIfn.js";
9
- const K = (y) => {
10
- const p = C({ props: y, name: "HCDonutChart" }), {
1
+ import { R as w, A } from "../../../AnimatedTheme-ktdO3Bel.js";
2
+ import { useThemeProps as P, useTheme as R } from "@mui/material";
3
+ import b from "dayjs";
4
+ import { useId as C, useRef as D, useEffect as F } from "react";
5
+ import { applyValueFormat as L, colorSetFromPalette as I } from "../_common/utils.js";
6
+ import { P as S, a as B } from "../../../PieSeries-CMH0Z7pz.js";
7
+ import { p as l, c as s } from "../../../Entity-BJCuhdq_.js";
8
+ import { L as E } from "../../../Legend-CFvQiIfn.js";
9
+ const G = (y) => {
10
+ const u = P({ props: y, name: "HCDonutChart" }), {
11
11
  dimensions: t,
12
12
  values: o,
13
- data: i,
13
+ data: n,
14
14
  initDelay: T = 0,
15
15
  colors: d,
16
16
  sx: x,
17
17
  ...M
18
- } = p, a = D(), f = `hc-donut-chart-${R().replace(/:/g, "")}`, n = L(null);
19
- let s = null;
20
- t.length < 1 ? s = "Missing dimensions config!" : o.length < 1 && (s = "Missing values config!"), I(() => {
21
- if (s) return;
22
- let l;
23
- return l = setTimeout(() => {
24
- var Y;
25
- const e = P.new(f);
26
- n.current = e, S(e, (Y = o == null ? void 0 : o[0]) == null ? void 0 : Y.format), e.setThemes([A.new(e)]);
18
+ } = u, a = R(), f = `hc-donut-chart-${C().replace(/:/g, "")}`, c = D(null);
19
+ let i = null;
20
+ t.length < 1 ? i = "Missing dimensions config!" : o.length < 1 && (i = "Missing values config!"), F(() => {
21
+ if (i) return;
22
+ let m;
23
+ return m = setTimeout(() => {
24
+ var v;
25
+ const e = w.new(f);
26
+ c.current = e, L(e, (v = o == null ? void 0 : o[0]) == null ? void 0 : v.format), e.setThemes([A.new(e)]);
27
27
  const h = e.container.children.push(
28
- E.new(e, {
28
+ S.new(e, {
29
29
  layout: e.verticalLayout,
30
- innerRadius: m(50)
30
+ innerRadius: l(50)
31
31
  })
32
32
  );
33
33
  e.interfaceColors.setAll({
34
- text: u(a.palette.text.primary),
35
- grid: u(a.palette.divider),
36
- stroke: u(a.palette.divider)
34
+ text: s(a.palette.text.primary),
35
+ grid: s(a.palette.divider),
36
+ stroke: s(a.palette.divider),
37
+ // Drives the gap color between slices; tie it to the surface so the
38
+ // beveled edges read correctly in both light and dark mode.
39
+ background: s(a.palette.background.paper)
37
40
  });
38
41
  const r = h.series.push(
39
- N.new(e, {
42
+ B.new(e, {
40
43
  valueField: o[0].dataFieldName,
41
44
  categoryField: t[0].value
42
45
  })
43
46
  );
44
- r.set("colors", b(e, d));
47
+ r.set("colors", I(e, d));
45
48
  const g = "{category}: {valuePercentTotal.formatNumber('0.00')}% ({value})";
46
- r.slices.template.set("tooltipText", g), r.labels.template.set("text", g), t[0].type === "date" && i.forEach((v) => {
47
- let c = "YYYY";
48
- t[0].value.includes("month") ? c = "MMM YYYY" : t[0].value.includes("day") && (c = "DD MMM YYYY"), v[t[0].value] = F(v[t[0].value]).format(
49
- c
49
+ r.slices.template.setAll({
50
+ tooltipText: g,
51
+ stroke: s(a.palette.background.paper),
52
+ strokeWidth: 2,
53
+ strokeOpacity: 1,
54
+ cornerRadius: 4
55
+ }), r.slices.template.states.create("hover", { scale: 1.04 }), r.set("radius", l(80)), r.labels.template.setAll({
56
+ text: g,
57
+ maxWidth: 140,
58
+ oversizedBehavior: "wrap"
59
+ }), t[0].type === "date" && n.forEach((Y) => {
60
+ let p = "YYYY";
61
+ t[0].value.includes("month") ? p = "MMM YYYY" : t[0].value.includes("day") && (p = "DD MMM YYYY"), Y[t[0].value] = b(Y[t[0].value]).format(
62
+ p
50
63
  );
51
- }), r.data.setAll(i), h.children.push(
52
- j.new(e, {
53
- centerX: m(50),
54
- x: m(50),
64
+ }), r.data.setAll(n), h.children.push(
65
+ E.new(e, {
66
+ centerX: l(50),
67
+ x: l(50),
55
68
  marginTop: 15,
56
69
  marginBottom: 15
57
70
  })
58
71
  ).data.setAll(r.dataItems), r.appear(1e3, 100);
59
72
  }, T), () => {
60
73
  var e;
61
- l && clearTimeout(l), (e = n.current) == null || e.dispose(), n.current = null;
74
+ m && clearTimeout(m), (e = c.current) == null || e.dispose(), c.current = null;
62
75
  };
63
- }, [i, t, o, a.palette.mode, d]);
64
- const w = { ...p };
65
- return { chartId: f, ownerState: w, sx: x, error: s, other: M };
76
+ }, [n, t, o, a.palette.mode, d]);
77
+ const k = { ...u };
78
+ return { chartId: f, ownerState: k, sx: x, error: i, other: M };
66
79
  };
67
80
  export {
68
- K as useDonutChartLogic
81
+ G as useDonutChartLogic
69
82
  };
@@ -4,18 +4,18 @@ 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
- 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";
7
+ import { colorSetFromPalette as re, applyDateAxisLabelFormat as se, applyValueFormat as oe } from "../_common/utils.js";
8
+ import { c as d, p as X, b as V } from "../../../Entity-BJCuhdq_.js";
9
+ import { X as ae, V as ie } from "../../../AxisRenderer-BCQoUJw6.js";
10
+ import { A as _, a as ne } from "../../../AxisRendererY-AXWvGU6r.js";
11
+ import { C as le } from "../../../CategoryAxis-B6NqW8qd.js";
12
+ import { L as me } from "../../../LineSeries-D_IL2qGF.js";
13
+ import { D as pe, G as de } from "../../../GaplessDateAxis-B2g2jgSG.js";
14
+ import { B as ce } from "../../../Bullet-Djj7Vs9T.js";
15
+ import { C as ue } from "../../../Circle-BnfBNKBD.js";
16
+ import { X as fe } from "../../../XYCursor-CVUSpqb9.js";
17
+ import { L as he } from "../../../Legend-CFvQiIfn.js";
18
+ import { D as Ae } from "../../../DateAxis-DEXKps1S.js";
19
19
  const B = 1.1, ge = {
20
20
  millisecond: 1,
21
21
  second: 1e3,
@@ -25,22 +25,22 @@ const B = 1.1, ge = {
25
25
  week: 6048e5,
26
26
  month: 2592e6,
27
27
  year: 31536e6
28
- }, Ve = (E) => {
28
+ }, _e = (E) => {
29
29
  const b = j({ props: E, name: "HCLineChart" }), {
30
30
  dimensions: t,
31
31
  values: m,
32
- data: g,
32
+ data: A,
33
33
  initDelay: P = 0,
34
- baseInterval: i,
34
+ baseInterval: n,
35
35
  colors: L,
36
36
  connectMissingData: k = !0,
37
37
  skipEmptyDates: v = !1,
38
38
  sx: R,
39
39
  ...W
40
40
  } = b, l = q(), N = `hc-line-chart-${J().replace(/:/g, "")}`, C = K(null);
41
- let A = null;
42
- t.length < 1 ? A = "Missing dimensions config!" : m.length < 1 && (A = "Missing values config!"), Q(() => {
43
- if (A) return;
41
+ let g = null;
42
+ t.length < 1 ? g = "Missing dimensions config!" : m.length < 1 && (g = "Missing values config!"), Q(() => {
43
+ if (g) return;
44
44
  let T;
45
45
  return T = setTimeout(() => {
46
46
  var G, O, I, M;
@@ -48,12 +48,12 @@ const B = 1.1, ge = {
48
48
  C.current = e;
49
49
  const z = Z.new(e);
50
50
  e.setThemes([$.new(e), z]), e.interfaceColors.setAll({
51
- text: p(l.palette.text.primary),
52
- grid: p(l.palette.divider),
53
- stroke: p(l.palette.divider)
51
+ text: d(l.palette.text.primary),
52
+ grid: d(l.palette.divider),
53
+ stroke: d(l.palette.divider)
54
54
  });
55
55
  const s = e.container.children.push(
56
- oe.new(e, {
56
+ ae.new(e, {
57
57
  panX: !0,
58
58
  panY: !0,
59
59
  wheelX: "none",
@@ -65,45 +65,45 @@ const B = 1.1, ge = {
65
65
  })
66
66
  );
67
67
  s.set("colors", re(e, L));
68
- let n, c = g;
68
+ let i, c = A;
69
69
  if (t[0].type === "date") {
70
- const o = v ? de : he;
71
- n = s.xAxes.push(
70
+ const o = v ? de : Ae;
71
+ i = s.xAxes.push(
72
72
  o.new(e, {
73
73
  maxDeviation: 0.1,
74
74
  groupData: !1,
75
- baseInterval: i || { timeUnit: "day", count: 1 },
75
+ baseInterval: n || { timeUnit: "day", count: 1 },
76
76
  renderer: _.new(e, {})
77
77
  })
78
- ), c = U.orderBy(g, [t[0].value]);
78
+ ), se(i, t[0]), c = U.orderBy(A, [t[0].value]);
79
79
  } else
80
- n = s.xAxes.push(
81
- ne.new(e, {
80
+ i = s.xAxes.push(
81
+ le.new(e, {
82
82
  categoryField: t[0].value,
83
83
  renderer: _.new(e, {})
84
84
  })
85
85
  ), e.numberFormatter.setAll({
86
86
  numberFormat: "#",
87
87
  numericFields: ["valueX"]
88
- }), c = U.orderBy(g, [t[0].value]), n.data.setAll(c);
88
+ }), c = U.orderBy(A, [t[0].value]), i.data.setAll(c);
89
89
  const Y = s.yAxes.push(
90
- ae.new(e, {
91
- renderer: ie.new(e, {})
90
+ ie.new(e, {
91
+ renderer: ne.new(e, {})
92
92
  })
93
93
  );
94
- (G = n.get("renderer")) == null || G.grid.template.setAll({
95
- stroke: p(l.palette.divider),
94
+ (G = i.get("renderer")) == null || G.grid.template.setAll({
95
+ stroke: d(l.palette.divider),
96
96
  strokeOpacity: 1
97
- }), (O = n.get("renderer")) == null || O.labels.template.setAll({ paddingTop: 12 }), (I = Y.get("renderer")) == null || I.grid.template.setAll({
98
- stroke: p(l.palette.divider),
97
+ }), (O = i.get("renderer")) == null || O.labels.template.setAll({ paddingTop: 12 }), (I = Y.get("renderer")) == null || I.grid.template.setAll({
98
+ stroke: d(l.palette.divider),
99
99
  strokeOpacity: 1
100
100
  }), m.forEach((o) => {
101
101
  const a = s.series.push(
102
- le.new(e, {
102
+ me.new(e, {
103
103
  // Legend/tooltip label: explicit override, else humanize the raw
104
104
  // backend field (snake_case / lowercase → Title Case).
105
105
  name: o.label ?? ee(o.name),
106
- xAxis: n,
106
+ xAxis: i,
107
107
  yAxis: Y,
108
108
  valueYField: o.dataFieldName,
109
109
  // When false, the line breaks at missing points. On a date axis the
@@ -115,22 +115,22 @@ const B = 1.1, ge = {
115
115
  ...t[0].type === "date" ? { valueXField: t[0].value } : { categoryXField: t[0].value }
116
116
  })
117
117
  );
118
- if (t[0].type === "date" && (a.data.processor = me.new(e, {
118
+ if (t[0].type === "date" && (a.data.processor = pe.new(e, {
119
119
  dateFormat: "i",
120
120
  dateFields: [t[0].value]
121
121
  })), t[0].type === "date" && !v) {
122
- const y = t[0].value, x = ge[(i == null ? void 0 : i.timeUnit) ?? "day"] * ((i == null ? void 0 : i.count) ?? 1), d = k ? 1 / 0 : x * B, w = c.map((r) => ({
122
+ const y = t[0].value, x = ge[(n == null ? void 0 : n.timeUnit) ?? "day"] * ((n == null ? void 0 : n.count) ?? 1), p = k ? 1 / 0 : x * B, w = c.map((r) => ({
123
123
  t: new Date(r[y]).getTime(),
124
124
  hasValue: r[o.dataFieldName] !== null && r[o.dataFieldName] !== void 0
125
125
  })).filter((r) => r.hasValue && !Number.isNaN(r.t)), D = /* @__PURE__ */ new Set();
126
126
  w.forEach((r, f) => {
127
127
  const F = f > 0 ? r.t - w[f - 1].t : 1 / 0, h = f < w.length - 1 ? w[f + 1].t - r.t : 1 / 0;
128
- F > d && h > d && D.add(r.t);
128
+ F > p && h > p && D.add(r.t);
129
129
  }), D.size > 0 && a.bullets.push((r, f, F) => {
130
130
  const h = F.dataContext;
131
131
  if (D.has(new Date(h == null ? void 0 : h[y]).getTime()))
132
- return pe.new(r, {
133
- sprite: ce.new(r, {
132
+ return ce.new(r, {
133
+ sprite: ue.new(r, {
134
134
  radius: 3,
135
135
  fill: a.get("fill"),
136
136
  stroke: r.interfaceColors.get("background"),
@@ -142,18 +142,18 @@ const B = 1.1, ge = {
142
142
  a.data.setAll(c), a.strokes.template.setAll({ strokeWidth: 2 }), a.appear();
143
143
  }), s.set(
144
144
  "cursor",
145
- ue.new(e, { xAxis: n, behavior: "none" })
145
+ fe.new(e, { xAxis: i, behavior: "none" })
146
146
  ).lineY.set("visible", !1), te({
147
147
  root: e,
148
148
  chart: s,
149
- xAxis: n,
149
+ xAxis: i,
150
150
  theme: l,
151
151
  isDateAxis: t[0].type === "date",
152
- baseInterval: i,
152
+ baseInterval: n,
153
153
  follow: !0
154
154
  });
155
155
  const u = s.bottomAxesContainer.children.push(
156
- fe.new(e, {
156
+ he.new(e, {
157
157
  width: X(100),
158
158
  paddingTop: 10,
159
159
  centerX: X(50),
@@ -164,11 +164,11 @@ const B = 1.1, ge = {
164
164
  u.itemContainers.template.events.on("pointerover", function(o) {
165
165
  var x;
166
166
  const a = o.target, y = (x = a == null ? void 0 : a.dataItem) == null ? void 0 : x.dataContext;
167
- s.series.each(function(d) {
168
- d !== y ? d.strokes.template.setAll({
167
+ s.series.each(function(p) {
168
+ p !== y ? p.strokes.template.setAll({
169
169
  strokeOpacity: 0.15,
170
- stroke: p(0)
171
- }) : d.strokes.template.setAll({ strokeWidth: 3 });
170
+ stroke: d(0)
171
+ }) : p.strokes.template.setAll({ strokeWidth: 3 });
172
172
  });
173
173
  }), u.itemContainers.template.events.on("pointerout", function() {
174
174
  s.series.each(function(o) {
@@ -181,13 +181,13 @@ const B = 1.1, ge = {
181
181
  }), u.itemContainers.template.set("width", V), u.valueLabels.template.setAll({
182
182
  width: V,
183
183
  textAlign: "right"
184
- }), u.data.setAll(s.series.values), se(e, (M = m == null ? void 0 : m[0]) == null ? void 0 : M.format), s.appear(1e3, 100);
184
+ }), u.data.setAll(s.series.values), oe(e, (M = m == null ? void 0 : m[0]) == null ? void 0 : M.format), s.appear(1e3, 100);
185
185
  }, P), () => {
186
186
  var e;
187
187
  T && clearTimeout(T), (e = C.current) == null || e.dispose(), C.current = null;
188
188
  };
189
189
  }, [
190
- g,
190
+ A,
191
191
  t,
192
192
  m,
193
193
  l.palette.mode,
@@ -196,8 +196,8 @@ const B = 1.1, ge = {
196
196
  v
197
197
  ]);
198
198
  const S = { ...b };
199
- return { chartId: N, ownerState: S, sx: R, error: A, other: W };
199
+ return { chartId: N, ownerState: S, sx: R, error: g, other: W };
200
200
  };
201
201
  export {
202
- Ve as useLineChartLogic
202
+ _e as useLineChartLogic
203
203
  };
@@ -4,27 +4,27 @@ 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
- import { colorSetFromPalette as z, applyValueFormat as B } from "../_common/utils.js";
7
+ import { colorSetFromPalette as z, applyDateAxisLabelFormat as B, applyValueFormat as H } from "../_common/utils.js";
8
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) => {
9
+ import { X as N, V as U } from "../../../AxisRenderer-BCQoUJw6.js";
10
+ import { X as W } from "../../../XYCursor-CVUSpqb9.js";
11
+ import { A as X, a as Z } from "../../../AxisRendererY-AXWvGU6r.js";
12
+ import { C as _ } from "../../../CategoryAxis-B6NqW8qd.js";
13
+ import { L as $ } from "../../../LineSeries-D_IL2qGF.js";
14
+ import { D as j, G as J } from "../../../GaplessDateAxis-B2g2jgSG.js";
15
+ import { S as K } from "../../../Scrollbar-CTI7_8Qw.js";
16
+ import { D as M } from "../../../DateAxis-DEXKps1S.js";
17
+ const xe = (k) => {
18
18
  const f = E({ props: k, name: "HCLogaritmicScale" }), {
19
19
  dimensions: t,
20
20
  values: s,
21
21
  data: n,
22
- initDelay: S = 0,
22
+ initDelay: L = 0,
23
23
  baseInterval: h,
24
24
  colors: A,
25
25
  skipEmptyDates: x = !1,
26
- sx: C,
27
- ...L
26
+ sx: S,
27
+ ...C
28
28
  } = f, a = I(), g = `hc-logaritmic-scale-${G().replace(/:/g, "")}`, d = O(null);
29
29
  let m = null;
30
30
  t.length < 1 ? m = "LogaritmicScale requires at least 1 dimension" : s.length < 1 && (m = "LogaritmicScale requires at least 1 value"), P(() => {
@@ -39,7 +39,7 @@ const Ae = (k) => {
39
39
  stroke: i(a.palette.divider)
40
40
  });
41
41
  const r = e.container.children.push(
42
- H.new(e, {
42
+ N.new(e, {
43
43
  panX: !0,
44
44
  panY: !0,
45
45
  wheelX: "none",
@@ -50,12 +50,12 @@ const Ae = (k) => {
50
50
  );
51
51
  r.set("colors", z(e, A)), r.set(
52
52
  "cursor",
53
- U.new(e, { behavior: "none" })
53
+ W.new(e, { behavior: "none" })
54
54
  ).lineY.set("visible", !1);
55
55
  let o, p = n;
56
56
  if (t[0].type === "date") {
57
57
  p = F.orderBy(n, [t[0].value]);
58
- const l = x ? j : K;
58
+ const l = x ? J : M;
59
59
  o = r.xAxes.push(
60
60
  l.new(e, {
61
61
  maxDeviation: 0.1,
@@ -66,10 +66,10 @@ const Ae = (k) => {
66
66
  ), (v = o.get("renderer")) == null || v.grid.template.setAll({
67
67
  stroke: i(a.palette.divider),
68
68
  strokeOpacity: 1
69
- });
69
+ }), B(o, t[0]);
70
70
  } else
71
71
  o = r.xAxes.push(
72
- Z.new(e, {
72
+ _.new(e, {
73
73
  categoryField: t[0].value,
74
74
  renderer: X.new(e, {})
75
75
  })
@@ -81,9 +81,9 @@ const Ae = (k) => {
81
81
  strokeOpacity: 1
82
82
  });
83
83
  const y = r.yAxes.push(
84
- N.new(e, {
84
+ U.new(e, {
85
85
  logarithmic: !0,
86
- renderer: W.new(e, { minorGridEnabled: !0 })
86
+ renderer: Z.new(e, { minorGridEnabled: !0 })
87
87
  })
88
88
  );
89
89
  (D = y.get("renderer")) == null || D.grid.template.setAll({
@@ -91,7 +91,7 @@ const Ae = (k) => {
91
91
  strokeOpacity: 1
92
92
  }), s.forEach((l) => {
93
93
  const c = r.series.push(
94
- _.new(e, {
94
+ $.new(e, {
95
95
  name: l.label ?? V(l.name),
96
96
  xAxis: o,
97
97
  yAxis: y,
@@ -99,7 +99,7 @@ const Ae = (k) => {
99
99
  ...t[0].type === "date" ? { valueXField: t[0].value } : { categoryXField: t[0].value }
100
100
  })
101
101
  );
102
- c.strokes.template.setAll({ strokeWidth: 3 }), t[0].type === "date" && (c.data.processor = $.new(e, {
102
+ c.strokes.template.setAll({ strokeWidth: 3 }), t[0].type === "date" && (c.data.processor = j.new(e, {
103
103
  dateFormat: "i",
104
104
  dateFields: [t[0].value]
105
105
  })), c.data.setAll(p), c.appear(1e3);
@@ -113,16 +113,16 @@ const Ae = (k) => {
113
113
  follow: !0
114
114
  }), r.set(
115
115
  "scrollbarX",
116
- J.new(e, { orientation: "horizontal" })
117
- ), B(e, (b = s == null ? void 0 : s[0]) == null ? void 0 : b.format), r.appear(1e3, 100);
118
- }, S), () => {
116
+ K.new(e, { orientation: "horizontal" })
117
+ ), H(e, (b = s == null ? void 0 : s[0]) == null ? void 0 : b.format), r.appear(1e3, 100);
118
+ }, L), () => {
119
119
  var e;
120
120
  u && clearTimeout(u), (e = d.current) == null || e.dispose(), d.current = null;
121
121
  };
122
122
  }, [n, t, s, a.palette.mode, A, x]);
123
123
  const T = { ...f };
124
- return { chartId: g, ownerState: T, sx: C, error: m, other: L };
124
+ return { chartId: g, ownerState: T, sx: S, error: m, other: C };
125
125
  };
126
126
  export {
127
- Ae as useLogaritmicScaleLogic
127
+ xe as useLogaritmicScaleLogic
128
128
  };