@mx-cartographer/experiences 3.13.5-alpha.mm.5 → 3.13.5-alpha.mm.7

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.
package/dist/index.es.js CHANGED
@@ -2215,7 +2215,7 @@ const ec = ({
2215
2215
  hoveredAreaData: null,
2216
2216
  isAreaHovered: !1,
2217
2217
  cursorPos: { x: 0, y: 0 }
2218
- }), { hoveredSeriesId: y, hoveredAreaData: p, isAreaHovered: S, cursorPos: I } = m, L = S && y && p, P = !L, x = [...a, ...i], O = x[0].dataset.length, N = x.flatMap((R) => R.dataset.map((AA) => AA.x)), q = x.flatMap((R) => R.dataset.map((AA) => AA.y)), B = a[0]?.dataset?.map(
2218
+ }), { hoveredSeriesId: y, hoveredAreaData: p, isAreaHovered: S, cursorPos: I } = m, L = S && y && p, P = !L, x = [...a, ...i], O = x[0]?.dataset.length ?? 0, N = x.flatMap((R) => R.dataset.map((AA) => AA.x)), q = x.flatMap((R) => R.dataset.map((AA) => AA.y)), B = a[0]?.dataset?.map(
2219
2219
  (R, AA) => a.reduce((EA, ZA) => EA + ZA.dataset[AA]?.y || 0, 0)
2220
2220
  ) ?? [0], k = Math.max(...B), X = Math.max(
2221
2221
  ...i.flatMap((R) => R.dataset.map((AA) => AA.y))
@@ -16026,17 +16026,14 @@ const St = C.createContext(null), ag = ({
16026
16026
  C.useEffect(() => {
16027
16027
  g(s);
16028
16028
  }, [s]), C.useEffect(() => {
16029
- l && (console.log({
16030
- selectedAccounts: h,
16031
- accounts: s
16032
- }), c(
16029
+ l && c(
16033
16030
  h,
16034
16031
  x.start,
16035
16032
  x.end
16036
16033
  ).finally(() => {
16037
- h.length > 0 && p(!0);
16038
- }));
16039
- }, [l, s, h, x]);
16034
+ p(!0);
16035
+ });
16036
+ }, [l, h, x]);
16040
16037
  const B = C.useMemo(
16041
16038
  () => Wg(u),
16042
16039
  [u]