@mx-cartographer/experiences 4.0.6-alpha.mm.7 → 4.0.6-alpha.mm.9

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
@@ -16621,17 +16621,17 @@ const Pt = C.createContext(null), X1 = ({
16621
16621
  }, {});
16622
16622
  return console.log(
16623
16623
  `
16624
- %c createGroupedCategoryTotals
16625
- %c Earliest year: ${e?.year}
16626
- Earliest month: ${e?.month}
16627
- Latest year: ${n?.year}
16628
- Latest month: ${n?.month}
16629
- Earliest date: ${e?.date}
16630
- Latest date: ${n?.date}
16624
+ %c createGroupedCategoryTotals
16625
+ %c Earliest year: ${e?.year}
16626
+ Earliest month: ${e?.month}
16627
+ Latest year: ${n?.year}
16628
+ Latest month: ${n?.month}
16629
+ Earliest date: ${e?.date}
16630
+ Latest date: ${n?.date}
16631
16631
  `,
16632
16632
  "color: yellow",
16633
16633
  "color: white"
16634
- ), r;
16634
+ ), console.log(A), r;
16635
16635
  }, MC = (A) => {
16636
16636
  const e = NC(A), n = Object.values(e).flatMap((s) => s.map((c) => c.year_month)).sort((s, c) => s - c), r = Array.from(new Set(n));
16637
16637
  let a = null, i = null;
@@ -16828,6 +16828,7 @@ const Pt = C.createContext(null), X1 = ({
16828
16828
  });
16829
16829
  }, [g, f, B]);
16830
16830
  const F = C.useMemo(() => {
16831
+ if (!S) return { stackedDatasets: [], unstackedDatasets: [] };
16831
16832
  const vA = MC(u), XA = O.length ? vA.filter(
16832
16833
  (fe) => fe.top_level_category_guid === O || fe.category_guid === O
16833
16834
  ) : Sg(vA);