@mx-cartographer/experiences 8.2.0-alpha.bb0 → 8.2.1

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 (64) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/{Account-BTOmbrEK.mjs → Account-BaJmiJAG.mjs} +2 -2
  3. package/dist/{Account-DC2d-cjn.mjs → Account-BxHMlV9R.mjs} +1 -1
  4. package/dist/{AccountDetailsHeader-IDZ6GTT0.mjs → AccountDetailsHeader-CfdnKyJK.mjs} +17 -17
  5. package/dist/{AccountFields-BRAl-Hro.mjs → AccountFields-CAy0x_4i.mjs} +6 -6
  6. package/dist/{AccountListItem-B8koowMf.mjs → AccountListItem-BYyeeCf6.mjs} +5 -5
  7. package/dist/{AccountUtils-Bc-SndzX.mjs → AccountUtils-T5_Odvos.mjs} +1 -1
  8. package/dist/{Analytics-vgPYa2Zt.mjs → Analytics-CkYXKvco.mjs} +1 -1
  9. package/dist/{BudgetUtil-CGchXaek.mjs → BudgetUtil-Bg2AQJpQ.mjs} +3 -3
  10. package/dist/{CategorySelectorDrawer-nHEBR24E.mjs → CategorySelectorDrawer-Cu1ohxeM.mjs} +1 -1
  11. package/dist/{CurrencyDialog-C7r7JqVu.mjs → CurrencyDialog-d4dL7vA5.mjs} +1 -1
  12. package/dist/{CurrencyInput-BUd8mAcE.mjs → CurrencyInput-B59ugxPN.mjs} +2 -2
  13. package/dist/{CurrencyText-Dd3NxFYY.mjs → CurrencyText-CCbE6MmF.mjs} +1 -1
  14. package/dist/{DateFormats-BSktnUw6.mjs → DateFormats-HudZ3Bjs.mjs} +1 -1
  15. package/dist/{DateUtil-Bdm-ZxFw.mjs → DateUtil-Bhq59ZVg.mjs} +1 -1
  16. package/dist/{DebtUtils-DPn1cXKG.mjs → DebtUtils-DD3186U-.mjs} +1 -1
  17. package/dist/{EmbeddedCard-CAY_HJjE.mjs → EmbeddedCard-BNl3quCs.mjs} +4 -4
  18. package/dist/{ExportCsvAction-DzeJOb_g.mjs → ExportCsvAction-hDprC41l.mjs} +2 -2
  19. package/dist/GlobalCopyApi-wcnDUzMV.mjs +128 -0
  20. package/dist/{GoalsUtil-B-Z6fq_t.mjs → GoalsUtil-C9EnLWvC.mjs} +3 -3
  21. package/dist/{Help-HoxJgoVt.mjs → Help-BSQm9o29.mjs} +1 -1
  22. package/dist/{LineChart-DNynWPGz.mjs → LineChart-CejWS_rh.mjs} +1 -1
  23. package/dist/Localization-DnoVyBNK.mjs +38 -0
  24. package/dist/{ManageIncome-C_FjST7B.mjs → ManageIncome-DwylSiWs.mjs} +41 -41
  25. package/dist/{NetWorthUtils-CyVz9bUn.mjs → NetWorthUtils-DilGN1nW.mjs} +2 -2
  26. package/dist/{NotificationSettings-B8pH9TOv.mjs → NotificationSettings-CCg-Tml2.mjs} +6 -6
  27. package/dist/{NumberFormatting-Dnk0YyfZ.mjs → NumberFormatting--XMeeBfr.mjs} +2 -1
  28. package/dist/{OriginalBalanceAction-BEBuqeS1.mjs → OriginalBalanceAction-CvDx0K6k.mjs} +2 -2
  29. package/dist/{RecurringSettings-eQb1AS5x.mjs → RecurringSettings-CPXLW6AR.mjs} +2 -2
  30. package/dist/{RecurringTransactionsUtil-DbMNqEu_.mjs → RecurringTransactionsUtil-B3rLEx_g.mjs} +6 -6
  31. package/dist/{SpendingData-CktOElG1.mjs → SpendingData-PKlh8caU.mjs} +1 -1
  32. package/dist/{SpendingLegend-CM5L_1Ka.mjs → SpendingLegend-BmkEr9Nh.mjs} +56 -56
  33. package/dist/{TransactionDetails-BP-sFltN.mjs → TransactionDetails-CbBSxdOi.mjs} +9 -9
  34. package/dist/{TransactionUtils-CvJW9wDu.mjs → TransactionUtils-BphBJBbU.mjs} +8 -8
  35. package/dist/UserStore-CRpKQjpP.mjs +3002 -0
  36. package/dist/{ViewMoreMicroCard-DWOpU5L8.mjs → ViewMoreMicroCard-K69RRs_b.mjs} +3 -3
  37. package/dist/{WidgetContainer-CAgbD0ZS.mjs → WidgetContainer-CYcmwsSu.mjs} +47 -40
  38. package/dist/accounts/index.es.js +25 -25
  39. package/dist/budgets/index.es.js +11 -11
  40. package/dist/cashflow/index.es.js +12 -12
  41. package/dist/categories/index.es.js +1 -1
  42. package/dist/common/context/hooks.d.ts +1 -1
  43. package/dist/common/index.d.ts +3 -0
  44. package/dist/common/index.es.js +148 -136
  45. package/dist/core/index.es.js +104 -3061
  46. package/dist/core/utils/Localization.d.ts +1 -0
  47. package/dist/debts/index.es.js +9 -9
  48. package/dist/finstrong/index.es.js +13 -13
  49. package/dist/goals/index.es.js +8 -8
  50. package/dist/help/index.es.js +2 -2
  51. package/dist/insights/index.es.js +5 -5
  52. package/dist/investments/index.es.js +3 -3
  53. package/dist/microinsights/index.es.js +1 -1
  54. package/dist/networth/index.es.js +7 -7
  55. package/dist/notifications/index.es.js +2 -2
  56. package/dist/recurringtransactions/index.es.js +37 -37
  57. package/dist/settings/index.es.js +6 -6
  58. package/dist/spending/index.es.js +139 -139
  59. package/dist/transactions/index.es.js +12 -12
  60. package/dist/trends/index.es.js +12 -12
  61. package/package.json +1 -1
  62. package/dist/AnalyticsApi-DwgSyZ6m.mjs +0 -102
  63. package/dist/GlobalCopyApi-C75qVBk6.mjs +0 -30
  64. package/dist/Localization-Li21_krp.mjs +0 -37
@@ -12,11 +12,11 @@ import { alpha as s, useTheme as j } from "@mui/material/styles";
12
12
  import { useInView as Re } from "react-intersection-observer";
13
13
  import se from "@mui/material/styles/useTheme";
14
14
  import { C as je } from "./Category-DEKZGLYe.mjs";
15
- import { b as Ye } from "./Localization-Li21_krp.mjs";
15
+ import { b as Ye } from "./Localization-DnoVyBNK.mjs";
16
16
  import Xe from "@mui/material/CircularProgress";
17
17
  import { makeAutoObservable as ce, runInAction as Oe } from "mobx";
18
- import { a as Ze, u as Qe, b as qe } from "./Analytics-vgPYa2Zt.mjs";
19
- import { G as Ce, B as he } from "./GlobalCopyApi-C75qVBk6.mjs";
18
+ import { a as Ze, u as Qe, b as qe } from "./Analytics-CkYXKvco.mjs";
19
+ import { G as Ce, B as he } from "./GlobalCopyApi-wcnDUzMV.mjs";
20
20
  import { u as Je } from "./useWidgetLoadTimer-CJb-RELP.mjs";
21
21
  import et from "@mui/material/Card";
22
22
  import tt from "@mui/material/CardActionArea";
@@ -32,18 +32,18 @@ import Me from "@mui/material/ButtonGroup";
32
32
  import Pe from "@mui/material/Tab";
33
33
  import Se from "@mui/material/Tabs";
34
34
  import Ee from "@mui/material/ToggleButton";
35
- import Le from "@mui/material/ToggleButtonGroup";
36
- import Ye from "@mui/material/styles/useTheme";
35
+ import Ye from "@mui/material/ToggleButtonGroup";
36
+ import Le from "@mui/material/styles/useTheme";
37
37
  import { u as Ae } from "./useAriaLive-MkYebyUR.mjs";
38
38
  import { D as Be } from "./Dialog-iLlBR8TG.mjs";
39
- import { D as Ne } from "./Drawer-XPaLYjiO.mjs";
39
+ import { D as we } from "./Drawer-XPaLYjiO.mjs";
40
40
  import { u as le } from "./useScreenSize-CeFhWTt_.mjs";
41
- import { f as P, D as S } from "./DateFormats-BSktnUw6.mjs";
42
- import { L as Oe } from "./Loader-CxeBwuPG.mjs";
43
- import we from "@mui/material/useMediaQuery";
41
+ import { f as P, D as S } from "./DateFormats-HudZ3Bjs.mjs";
42
+ import { L as Ne } from "./Loader-CxeBwuPG.mjs";
43
+ import Oe from "@mui/material/useMediaQuery";
44
44
  import { A as oe } from "./Analytics-CzGzz_sE.mjs";
45
45
  const Ie = (n) => {
46
- const { isDesktop: d, isMobile: a, isSmallTablet: m, isTablet: r } = le(n), i = we("(min-width:900px)"), _ = 24;
46
+ const { isDesktop: d, isMobile: a, isSmallTablet: m, isTablet: r } = le(n), i = Oe("(min-width:900px)"), _ = 24;
47
47
  let s = 48, y = 32, h = 0, c = "h1", R = !1;
48
48
  const o = a || m;
49
49
  r && !m ? (s = 24, y = 24, c = "h2") : o && (s = 8, y = 10, h = 10, c = "h3", R = !0);
@@ -79,7 +79,7 @@ const Ie = (n) => {
79
79
  shouldShrinkToIcon: r = !0,
80
80
  variant: i = "outlined"
81
81
  }) => {
82
- const _ = Ye(), { isMobile: s } = le(), { announce: y, ariaLive: h } = Ae(), [c, R] = u.useState(m), [o, A] = u.useState(a.dateRangePickerCopy.dateRangeThisMonth), [C, N] = u.useState(c), [k, x] = u.useState(!1), [O, F] = u.useState(!0), [E, j] = u.useState(6), w = {
82
+ const _ = Le(), { isMobile: s } = le(), { announce: y, ariaLive: h } = Ae(), [c, R] = u.useState(m), [o, A] = u.useState(a.dateRangePickerCopy.dateRangeThisMonth), [C, w] = u.useState(c), [k, x] = u.useState(!1), [N, F] = u.useState(!0), [E, j] = u.useState(6), O = {
83
83
  buttons: [
84
84
  { ariaLabel: "3 Months", label: "3M", value: 3 },
85
85
  { ariaLabel: "6 Months", label: "6M", value: 6 },
@@ -94,7 +94,7 @@ const Ie = (n) => {
94
94
  ]
95
95
  };
96
96
  u.useEffect(() => {
97
- R(m), N(m);
97
+ R(m), w(m);
98
98
  }, [m]), u.useEffect(() => {
99
99
  (i === "timeframebuttons" || i === "timeframetabs") && n.onRangeChanged(V());
100
100
  }, [E]);
@@ -120,15 +120,15 @@ const Ie = (n) => {
120
120
  b = [M(l, v), M(p, v)];
121
121
  }
122
122
  R(b), n.onRangeChanged(b);
123
- }, L = () => {
123
+ }, Y = () => {
124
124
  R(C), F(
125
125
  o === a.dateRangePickerCopy.dateRangeThisMonth || o === a.dateRangePickerCopy.dateRangeLastMonth
126
126
  ), n.onRangeChanged(C);
127
127
  }, T = (t, l) => {
128
128
  t[1] = t[1] ?? t[0];
129
129
  const p = [t[0], t[1] ? xe(t[1]) : t[1]], f = P(p[0], S.MONTH_DAY_YEAR), b = P(p[1], S.MONTH_DAY_YEAR);
130
- N(p), A(l), y(`${a.dateRangePickerCopy}: ${f} - ${b}`);
131
- }, Y = (t) => {
130
+ w(p), A(l), y(`${a.dateRangePickerCopy}: ${f} - ${b}`);
131
+ }, L = (t) => {
132
132
  j(t);
133
133
  };
134
134
  return /* @__PURE__ */ g(re, { className: "mx-cmn-date-range-selector", m: 4, children: [
@@ -184,7 +184,7 @@ const Ie = (n) => {
184
184
  sx: {
185
185
  p: s ? 0 : 8
186
186
  },
187
- children: O ? P(c[0], S.MONTH_YEAR) : /* @__PURE__ */ g("span", { children: [
187
+ children: N ? P(c[0], S.MONTH_YEAR) : /* @__PURE__ */ g("span", { children: [
188
188
  P(c[0], S.MONTH_DAY_YEAR),
189
189
  " -",
190
190
  " ",
@@ -206,18 +206,18 @@ const Ie = (n) => {
206
206
  }
207
207
  ),
208
208
  i === "timeframebuttons" && /* @__PURE__ */ e(
209
- Le,
209
+ Ye,
210
210
  {
211
211
  "aria-label": a.dateRangeEditTitle,
212
212
  color: d,
213
213
  exclusive: !0,
214
214
  orientation: "horizontal",
215
215
  value: E,
216
- children: w.buttons.map((t) => /* @__PURE__ */ e(
216
+ children: O.buttons.map((t) => /* @__PURE__ */ e(
217
217
  Ee,
218
218
  {
219
219
  "aria-label": t.ariaLabel,
220
- onClick: () => Y(t.value),
220
+ onClick: () => L(t.value),
221
221
  sx: { width: 56 },
222
222
  value: t.value,
223
223
  children: t.label
@@ -230,11 +230,11 @@ const Ie = (n) => {
230
230
  Se,
231
231
  {
232
232
  indicatorColor: "primary",
233
- onChange: (t, l) => Y(l),
233
+ onChange: (t, l) => L(l),
234
234
  textColor: "primary",
235
235
  value: E,
236
236
  variant: "fullWidth",
237
- children: w.tabs.map((t) => /* @__PURE__ */ e(
237
+ children: O.tabs.map((t) => /* @__PURE__ */ e(
238
238
  Pe,
239
239
  {
240
240
  label: /* @__PURE__ */ e(W, { bold: !0, variant: "body1", children: t.label }),
@@ -249,13 +249,13 @@ const Ie = (n) => {
249
249
  }
250
250
  ),
251
251
  k && s && /* @__PURE__ */ g(
252
- Ne,
252
+ we,
253
253
  {
254
254
  ariaLabelClose: a.dateRangeCloseAria,
255
255
  isOpen: k,
256
256
  onClose: () => x(!1),
257
257
  onPrimaryAction: () => {
258
- L(), x(!1);
258
+ Y(), x(!1);
259
259
  },
260
260
  primaryText: a.dateRangeEditApply,
261
261
  title: a.dateRangeEditTitle,
@@ -280,7 +280,7 @@ const Ie = (n) => {
280
280
  copy: { title: a.dateRangeEditTitle },
281
281
  isOpen: !0,
282
282
  onClose: () => x(!1),
283
- onPrimaryAction: () => L(),
283
+ onPrimaryAction: () => Y(),
284
284
  primaryText: a.dateRangeEditApply,
285
285
  sx: {
286
286
  "& .MuiDialogContent-root": {
@@ -340,7 +340,7 @@ const Ie = (n) => {
340
340
  }
341
341
  );
342
342
  }
343
- ), Lt = ne(
343
+ ), Yt = ne(
344
344
  ({
345
345
  actions: n,
346
346
  allowedAccountTypes: d,
@@ -358,28 +358,28 @@ const Ie = (n) => {
358
358
  sx: A = {},
359
359
  title: C = ""
360
360
  }) => {
361
- const [N, { height: k, width: x }] = ge(), { onEvent: O } = fe(), {
361
+ const [w, { height: k, width: x }] = ge(), { onEvent: N } = fe(), {
362
362
  actionsFlex: F,
363
363
  containerSquareCorners: E,
364
364
  headerHeadingLevel: j,
365
- headerPaddingBottom: w,
365
+ headerPaddingBottom: O,
366
366
  headerPaddingTop: V,
367
367
  headerPaddingX: I,
368
- iconSize: L,
368
+ iconSize: Y,
369
369
  isCompact: T,
370
- isDesktop: Y,
370
+ isDesktop: L,
371
371
  isViewportAbove900: t,
372
372
  slotSx: l
373
373
  } = Ie(x), { isCopyLoaded: p } = ie(), { common: f } = se(), {
374
374
  config: { display_widget_headings: b }
375
375
  } = be(), v = () => {
376
- h && (h(), O(oe.WIDGET_BACK_CLICK));
376
+ h && (h(), N(oe.WIDGET_BACK_CLICK));
377
377
  };
378
378
  if (u.useEffect(() => {
379
- O(oe.WIDGET_SIZE_CHANGED, { height: k, width: x });
379
+ N(oe.WIDGET_SIZE_CHANGED, { height: k, width: x });
380
380
  }, [k]), !p)
381
- return /* @__PURE__ */ e(Oe, {});
382
- const M = () => c && T && !t ? /* @__PURE__ */ e($, { color: "primary", onClick: c, sx: { p: 10 }, children: /* @__PURE__ */ e(D, { name: "menu_open", size: L, sx: { transform: "rotate(180deg)" } }) }) : h ? /* @__PURE__ */ e(
381
+ return /* @__PURE__ */ e(Ne, {});
382
+ const M = () => c && T && !t ? /* @__PURE__ */ e($, { color: "primary", onClick: c, sx: { p: 10 }, children: /* @__PURE__ */ e(D, { name: "menu_open", size: Y, sx: { transform: "rotate(180deg)" } }) }) : h ? /* @__PURE__ */ e(
383
383
  $,
384
384
  {
385
385
  "aria-label": f.back_to_dashboard,
@@ -401,9 +401,16 @@ const Ie = (n) => {
401
401
  {
402
402
  className: r,
403
403
  elevation: 1,
404
- ref: N,
404
+ ref: w,
405
405
  square: E,
406
- sx: { borderBottomLeftRadius: 0, borderBottomRightRadius: 0, margin: 0, ...A },
406
+ sx: {
407
+ borderBottomLeftRadius: 0,
408
+ borderBottomRightRadius: 0,
409
+ margin: 0,
410
+ overflowY: "auto",
411
+ height: "100%",
412
+ ...A
413
+ },
407
414
  children: /* @__PURE__ */ g(de, { children: [
408
415
  /* @__PURE__ */ g(
409
416
  B,
@@ -413,7 +420,7 @@ const Ie = (n) => {
413
420
  direction: "row",
414
421
  justifyContent: "space-between",
415
422
  sx: {
416
- pb: w,
423
+ pb: O,
417
424
  pt: V,
418
425
  px: I
419
426
  },
@@ -433,23 +440,23 @@ const Ie = (n) => {
433
440
  he,
434
441
  {
435
442
  allowedAccountTypes: d,
436
- isDesktop: Y,
443
+ isDesktop: L,
437
444
  onAccountFilterClick: y
438
445
  }
439
446
  ),
440
447
  n?.map((q) => {
441
448
  if (u.isValidElement(q))
442
- return u.cloneElement(q, { isDesktop: Y });
449
+ return u.cloneElement(q, { isDesktop: L });
443
450
  const { iconName: G, onClick: Q, label: U } = q;
444
- return Y ? /* @__PURE__ */ e(
451
+ return L ? /* @__PURE__ */ e(
445
452
  H,
446
453
  {
447
454
  onClick: Q,
448
- startIcon: /* @__PURE__ */ e(D, { name: G, size: L }),
455
+ startIcon: /* @__PURE__ */ e(D, { name: G, size: Y }),
449
456
  children: U
450
457
  },
451
458
  G
452
- ) : /* @__PURE__ */ e($, { "aria-label": U, color: "primary", onClick: Q, children: /* @__PURE__ */ e(D, { name: G, size: L }) }, G);
459
+ ) : /* @__PURE__ */ e($, { "aria-label": U, color: "primary", onClick: Q, children: /* @__PURE__ */ e(D, { name: G, size: Y }) }, G);
453
460
  })
454
461
  ]
455
462
  }
@@ -459,7 +466,7 @@ const Ie = (n) => {
459
466
  ),
460
467
  T && (o || X),
461
468
  T && s && /* @__PURE__ */ e(ce, {}),
462
- /* @__PURE__ */ e(me, { children: /* @__PURE__ */ e(_e, { availableHeight: k, availableWidth: x, children: m }) })
469
+ /* @__PURE__ */ e(me, { sx: { p: 0 }, children: /* @__PURE__ */ e(_e, { availableHeight: k, availableWidth: x, children: m }) })
463
470
  ] })
464
471
  }
465
472
  );
@@ -467,6 +474,6 @@ const Ie = (n) => {
467
474
  );
468
475
  export {
469
476
  Ge as D,
470
- Lt as W,
477
+ Yt as W,
471
478
  Ie as u
472
479
  };
@@ -9,23 +9,24 @@ import W from "@mui/material/Divider";
9
9
  import O from "@mui/material/List";
10
10
  import B from "@mui/material/ListSubheader";
11
11
  import P from "@mui/system/Stack";
12
+ import { f as s1 } from "../NumberFormatting--XMeeBfr.mjs";
12
13
  import { useTheme as y1, alpha as w1 } from "@mui/material/styles";
13
- import { u as R, A as x1 } from "../AccountDetailsHeader-IDZ6GTT0.mjs";
14
- import { L as R1 } from "../LineChart-DNynWPGz.mjs";
15
- import { g as S1, a as T1, b as E1 } from "../SpendingData-CktOElG1.mjs";
14
+ import { u as R, A as x1 } from "../AccountDetailsHeader-CfdnKyJK.mjs";
15
+ import { L as R1 } from "../LineChart-CejWS_rh.mjs";
16
+ import { g as S1, a as T1, b as E1 } from "../SpendingData-PKlh8caU.mjs";
16
17
  import { l as D1, u as A, d as D, g as k, h as p1, a as _1, b as G } from "../hooks-BaO_gOI6.mjs";
17
- import { A as I, f, N as L1 } from "../Account-BTOmbrEK.mjs";
18
- import { I as f1, P as g1, S as H1 } from "../Account-DC2d-cjn.mjs";
19
- import { a as k1, b as I1 } from "../AccountFields-BRAl-Hro.mjs";
20
- import { g as c2 } from "../AccountFields-BRAl-Hro.mjs";
21
- import { A as U } from "../AccountListItem-B8koowMf.mjs";
22
- import s1 from "@mui/material/Tab";
18
+ import { A as I, g as f, N as L1 } from "../Account-BaJmiJAG.mjs";
19
+ import { I as f1, P as g1, S as H1 } from "../Account-BxHMlV9R.mjs";
20
+ import { a as k1, b as I1 } from "../AccountFields-CAy0x_4i.mjs";
21
+ import { g as c2 } from "../AccountFields-CAy0x_4i.mjs";
22
+ import { A as U } from "../AccountListItem-BYyeeCf6.mjs";
23
+ import l1 from "@mui/material/Tab";
23
24
  import Z1 from "@mui/material/Tabs";
24
25
  import N1 from "@mui/material/Switch";
25
26
  import E from "@mui/material/ListItem";
26
27
  import $ from "@mui/material/ListItemButton";
27
28
  import Z from "@mui/material/ListItemText";
28
- import { b as H } from "../Localization-Li21_krp.mjs";
29
+ import { b as H } from "../Localization-DnoVyBNK.mjs";
29
30
  import { A as x } from "../Analytics-CzGzz_sE.mjs";
30
31
  import { D as e1 } from "../Dialog-iLlBR8TG.mjs";
31
32
  import { D as n1 } from "../Drawer-XPaLYjiO.mjs";
@@ -36,7 +37,7 @@ import { C as z } from "../ConnectDrawer-DgfsTpyW.mjs";
36
37
  import { fromUnixTime as W1 } from "date-fns/fromUnixTime";
37
38
  import { isToday as B1 } from "date-fns/isToday";
38
39
  import { isYesterday as U1 } from "date-fns/isYesterday";
39
- import { f as l1, D as r1 } from "../DateFormats-BSktnUw6.mjs";
40
+ import { f as r1, D as d1 } from "../DateFormats-HudZ3Bjs.mjs";
40
41
  import { I as X } from "../IconBacking-DgT8DCeh.mjs";
41
42
  import { addMonths as $1 } from "date-fns/addMonths";
42
43
  import { AdapterDateFns as G1 } from "@mui/x-date-pickers/AdapterDateFnsV3";
@@ -49,21 +50,20 @@ import J1 from "@mui/material/Select";
49
50
  import q1 from "@mui/material/TextField";
50
51
  import { F as J } from "../Accounts-CseLC3lL.mjs";
51
52
  import { M as s2 } from "../Accounts-CseLC3lL.mjs";
52
- import { C as Q1 } from "../CurrencyInput-BUd8mAcE.mjs";
53
+ import { C as Q1 } from "../CurrencyInput-B59ugxPN.mjs";
53
54
  import e3 from "@mui/material/Alert";
54
55
  import t3 from "@mui/material/AlertTitle";
55
56
  import n3 from "@mui/material/Link";
56
57
  import o3 from "@mui/material/Paper";
57
58
  import { endOfToday as i3, subDays as c3, startOfToday as a3 } from "date-fns";
58
- import { T as s3 } from "../EmbeddedCard-CAY_HJjE.mjs";
59
- import { T as l3 } from "../TransactionDetails-BP-sFltN.mjs";
60
- import { T as d1 } from "../TabContentContainer-CnMXkVqr.mjs";
61
- import { f as u1 } from "../NumberFormatting-Dnk0YyfZ.mjs";
59
+ import { T as s3 } from "../EmbeddedCard-BNl3quCs.mjs";
60
+ import { T as l3 } from "../TransactionDetails-CbBSxdOi.mjs";
61
+ import { T as u1 } from "../TabContentContainer-CnMXkVqr.mjs";
62
62
  import { C as r3 } from "../ConnectionsDrawer-D7IXAza2.mjs";
63
63
  import { u as b1 } from "../useScreenSize-CeFhWTt_.mjs";
64
64
  import { u as o1 } from "../useWidgetLoadTimer-CJb-RELP.mjs";
65
65
  import { L as i1 } from "../Loader-CxeBwuPG.mjs";
66
- import { W as d3 } from "../WidgetContainer-CAgbD0ZS.mjs";
66
+ import { W as d3 } from "../WidgetContainer-CYcmwsSu.mjs";
67
67
  import { M as V1 } from "../MiniWidgetContainer-BdPiUU-u.mjs";
68
68
  const u3 = (t, o) => {
69
69
  const n = f1.includes(o) ? S1(t) : [], c = g1.includes(o) ? T1(t) : [], i = H1.includes(o) ? E1(t) : [];
@@ -404,11 +404,11 @@ const u3 = (t, o) => {
404
404
  };
405
405
  default: {
406
406
  const c = () => {
407
- const i = t.successfully_aggregated_at ? W1(t.successfully_aggregated_at) : void 0, l = i && l1(i, r1.TIME_STAMP_HOUR_MINUTE);
407
+ const i = t.successfully_aggregated_at ? W1(t.successfully_aggregated_at) : void 0, l = i && r1(i, d1.TIME_STAMP_HOUR_MINUTE);
408
408
  if (l)
409
409
  return B1(i) ? H(o.last_updated_at, o.today, l) : U1(i) ? H(o.last_updated_at, o.yesterday, l) : H(
410
410
  o.last_updated_at,
411
- l1(i, r1.MONTH_DAY_YEAR),
411
+ r1(i, d1.MONTH_DAY_YEAR),
412
412
  l
413
413
  );
414
414
  };
@@ -809,7 +809,7 @@ const u3 = (t, o) => {
809
809
  variant: "fullWidth",
810
810
  children: [
811
811
  /* @__PURE__ */ e(
812
- s1,
812
+ l1,
813
813
  {
814
814
  "aria-controls": "transaction-details-tabpanel-0",
815
815
  id: "transaction-details-tab-0",
@@ -817,7 +817,7 @@ const u3 = (t, o) => {
817
817
  }
818
818
  ),
819
819
  /* @__PURE__ */ e(
820
- s1,
820
+ l1,
821
821
  {
822
822
  "aria-controls": "account-details-tabpanel-1",
823
823
  id: "account-details-tab-1",
@@ -827,8 +827,8 @@ const u3 = (t, o) => {
827
827
  ]
828
828
  }
829
829
  ),
830
- /* @__PURE__ */ e(d1, { index: 0, name: "transaction-details", value: t, children: /* @__PURE__ */ e(R3, {}) }),
831
- /* @__PURE__ */ e(d1, { index: 1, name: "account-details", value: t, children: /* @__PURE__ */ e(M3, {}) })
830
+ /* @__PURE__ */ e(u1, { index: 0, name: "transaction-details", value: t, children: /* @__PURE__ */ e(R3, {}) }),
831
+ /* @__PURE__ */ e(u1, { index: 1, name: "account-details", value: t, children: /* @__PURE__ */ e(M3, {}) })
832
832
  ] });
833
833
  }, T3 = V(S3), E3 = () => {
834
834
  const [t, o] = h.useState(""), { config: n } = _1(), { accounts: c } = A(), { allSelectedAccounts: i } = G(), { setSelectedAccount: l, setSelectedMember: d } = R(), { members: a } = D(), { onEvent: r } = k(), L = [...new Set(i.map((u) => u.account_type))], m = i.find((u) => t === u.guid), s = h.useMemo(
@@ -871,7 +871,7 @@ const u3 = (t, o) => {
871
871
  sx: { justifyContent: "space-between", color: "grey.700" },
872
872
  children: [
873
873
  /* @__PURE__ */ e(v, { bold: !0, variant: "body1", children: b }),
874
- /* @__PURE__ */ e(v, { bold: !0, variant: "body1", children: u1(K, "0,0.00") })
874
+ /* @__PURE__ */ e(v, { bold: !0, variant: "body1", children: s1(K, "0,0.00") })
875
875
  ]
876
876
  }
877
877
  ) }),
@@ -928,7 +928,7 @@ const u3 = (t, o) => {
928
928
  sx: { display: "flex", justifyContent: "space-between" },
929
929
  children: [
930
930
  /* @__PURE__ */ e(v, { bold: !0, variant: "body1", children: c.account_types[u] }),
931
- /* @__PURE__ */ e(v, { bold: !0, variant: "body1", children: u1(K, "0,0.00") })
931
+ /* @__PURE__ */ e(v, { bold: !0, variant: "body1", children: s1(K, "0,0.00") })
932
932
  ]
933
933
  }
934
934
  ) }),
@@ -11,8 +11,9 @@ import x from "@mui/material/Stack";
11
11
  import ce from "@mui/material/styles/useTheme";
12
12
  import Y from "@mui/material/Box";
13
13
  import X from "@mui/material/List";
14
+ import { b as R } from "../Localization-DnoVyBNK.mjs";
14
15
  import { Text as C, CategoryIcon as H, Icon as z, H3 as Le } from "@mxenabled/mxui";
15
- import { f as D } from "../NumberFormatting-Dnk0YyfZ.mjs";
16
+ import { f as D } from "../NumberFormatting--XMeeBfr.mjs";
16
17
  import { u as E, o as w, i as le, l as Z, D as de, a as Ne, g as q, b as J, h as Q, d as ke } from "../hooks-BaO_gOI6.mjs";
17
18
  import $e from "@mui/material/Button";
18
19
  import ue from "@mui/material/Divider";
@@ -20,10 +21,9 @@ import ee from "@mui/material/ListItem";
20
21
  import me from "@mui/material/ListItemAvatar";
21
22
  import te from "@mui/material/ListItemButton";
22
23
  import oe from "@mui/material/ListItemText";
23
- import { b as R } from "../Localization-Li21_krp.mjs";
24
24
  import { D as $ } from "../Drawer-XPaLYjiO.mjs";
25
25
  import Xe from "@mui/material/ListItemSecondaryAction";
26
- import { C as Ze } from "../CurrencyInput-BUd8mAcE.mjs";
26
+ import { C as Ze } from "../CurrencyInput-B59ugxPN.mjs";
27
27
  import { D as W } from "../Dialog-iLlBR8TG.mjs";
28
28
  import { C as qe } from "../ConnectionsDrawer-D7IXAza2.mjs";
29
29
  import * as O from "d3";
@@ -35,23 +35,23 @@ import { E as _e } from "../EmptyState-DHAkGsjk.mjs";
35
35
  import { A as P } from "../Analytics-CzGzz_sE.mjs";
36
36
  import Ee from "@mui/material/Tab";
37
37
  import et from "@mui/material/Tabs";
38
- import { e as tt, g as we } from "../TransactionUtils-CvJW9wDu.mjs";
39
- import { T as ve } from "../EmbeddedCard-CAY_HJjE.mjs";
40
- import { T as ot, c as nt } from "../TransactionDetails-BP-sFltN.mjs";
38
+ import { e as tt, g as we } from "../TransactionUtils-BphBJBbU.mjs";
39
+ import { T as ve } from "../EmbeddedCard-BNl3quCs.mjs";
40
+ import { T as ot, c as nt } from "../TransactionDetails-CbBSxdOi.mjs";
41
41
  import Te from "@mui/material/Card";
42
42
  import De from "@mui/material/CardContent";
43
43
  import { S as Se } from "../StatusBar-CPfSXe80.mjs";
44
44
  import { S as Pe } from "../SingleSegmentDonut-PsRQPkmV.mjs";
45
- import { u as at, C as rt } from "../CategorySelectorDrawer-nHEBR24E.mjs";
45
+ import { u as at, C as rt } from "../CategorySelectorDrawer-Cu1ohxeM.mjs";
46
46
  import je from "@mui/material/CardHeader";
47
47
  import { subDays as st } from "date-fns/subDays";
48
48
  import it from "@mui/material/IconButton";
49
- import { M as ct } from "../ManageIncome-C_FjST7B.mjs";
49
+ import { M as ct } from "../ManageIncome-DwylSiWs.mjs";
50
50
  import { u as ze } from "../useWidgetLoadTimer-CJb-RELP.mjs";
51
- import { W as lt } from "../WidgetContainer-CAgbD0ZS.mjs";
52
- import { g as dt, a as ut } from "../BudgetUtil-CGchXaek.mjs";
51
+ import { W as lt } from "../WidgetContainer-CYcmwsSu.mjs";
52
+ import { g as dt, a as ut } from "../BudgetUtil-Bg2AQJpQ.mjs";
53
53
  import { M as mt } from "../MiniWidgetContainer-BdPiUU-u.mjs";
54
- import { b as gt } from "../CurrencyDialog-C7r7JqVu.mjs";
54
+ import { b as gt } from "../CurrencyDialog-d4dL7vA5.mjs";
55
55
  const pt = I(() => {
56
56
  const { budgets: t } = E(), { totalBudgeted: n } = w(), { incomeTotal: c } = le(), i = c - n;
57
57
  return /* @__PURE__ */ m(x, { direction: "row", justifyContent: "center", my: 16, spacing: 20, children: [
@@ -8,25 +8,25 @@ import v from "@mui/material/Divider";
8
8
  import s from "@mui/material/Stack";
9
9
  import ie from "@mui/material/styles/useTheme";
10
10
  import { Text as m, P as N, Icon as z, InstitutionLogo as xe, H2 as de, H3 as qe } from "@mxenabled/mxui";
11
+ import { b as H } from "../Localization-DnoVyBNK.mjs";
11
12
  import { G as Ke, p as me, u as k, D as ae, d as ke, b as P, i as B, g as Le, a as Ve, h as Ne, C as Xe } from "../hooks-BaO_gOI6.mjs";
12
- import { C as E } from "../CurrencyText-Dd3NxFYY.mjs";
13
- import { b as H } from "../Localization-Li21_krp.mjs";
13
+ import { C as E } from "../CurrencyText-CCbE6MmF.mjs";
14
14
  import { u as ue } from "../useScreenSize-CeFhWTt_.mjs";
15
15
  import { L as Z } from "../Loader-CxeBwuPG.mjs";
16
16
  import { I as pe } from "../InformationTooltip-4su8bn1e.mjs";
17
17
  import { u as Oe } from "../useWidgetLoadTimer-CJb-RELP.mjs";
18
18
  import { M as Je } from "../MiniWidgetContainer-BdPiUU-u.mjs";
19
19
  import { E as Qe } from "../EmptyState-DHAkGsjk.mjs";
20
- import { R as Ze } from "../RecurringSettings-eQb1AS5x.mjs";
20
+ import { R as Ze } from "../RecurringSettings-CPXLW6AR.mjs";
21
21
  import et from "@mui/material/Tabs";
22
22
  import ye from "@mui/material/Tab";
23
23
  import { getUnixTime as le } from "date-fns/getUnixTime";
24
24
  import Q from "@mui/material/List";
25
25
  import ee from "@mui/material/ListItem";
26
- import { A as tt } from "../AccountListItem-B8koowMf.mjs";
27
- import { f as U, D as Y } from "../DateFormats-BSktnUw6.mjs";
26
+ import { A as tt } from "../AccountListItem-BYyeeCf6.mjs";
27
+ import { f as U, D as Y } from "../DateFormats-HudZ3Bjs.mjs";
28
28
  import nt from "@mui/material/ListSubheader";
29
- import { f as J } from "../NumberFormatting-Dnk0YyfZ.mjs";
29
+ import { f as J } from "../NumberFormatting--XMeeBfr.mjs";
30
30
  import { isAfter as Ge } from "date-fns/isAfter";
31
31
  import { isBefore as Me } from "date-fns/isBefore";
32
32
  import { isToday as Fe } from "date-fns/isToday";
@@ -35,19 +35,19 @@ import { alpha as ot, keyframes as it } from "@mui/material/styles";
35
35
  import { DataGridPro as at } from "@mui/x-data-grid-pro";
36
36
  import { T as Ce } from "../TabContentContainer-CnMXkVqr.mjs";
37
37
  import W from "@mui/material/Button";
38
- import { M as rt, S as st, i as ct, b as we, c as lt } from "../ManageIncome-C_FjST7B.mjs";
38
+ import { M as rt, S as st, i as ct, b as we, c as lt } from "../ManageIncome-DwylSiWs.mjs";
39
39
  import { D as He } from "../Drawer-XPaLYjiO.mjs";
40
40
  import { subDays as We } from "date-fns/subDays";
41
41
  import { endOfToday as dt } from "date-fns/endOfToday";
42
- import { W as mt } from "../WidgetContainer-CAgbD0ZS.mjs";
43
- import { A as X } from "../Account-BTOmbrEK.mjs";
42
+ import { W as mt } from "../WidgetContainer-CYcmwsSu.mjs";
43
+ import { A as X } from "../Account-BaJmiJAG.mjs";
44
44
  import { A as Se } from "../Analytics-CzGzz_sE.mjs";
45
45
  import { formatISO as ut } from "date-fns/formatISO";
46
46
  import { fromUnixTime as De } from "date-fns/fromUnixTime";
47
47
  import { startOfMonth as pt } from "date-fns/startOfMonth";
48
- import { S as ht, a as ft } from "../EmbeddedCard-CAY_HJjE.mjs";
49
- import { F as gt, R as Ie, a as ve } from "../RecurringTransactionsUtil-DbMNqEu_.mjs";
50
- import { i as bt } from "../DateUtil-Bdm-ZxFw.mjs";
48
+ import { S as ht, a as ft } from "../EmbeddedCard-BNl3quCs.mjs";
49
+ import { F as gt, R as Ie, c as ve } from "../RecurringTransactionsUtil-B3rLEx_g.mjs";
50
+ import { i as bt } from "../DateUtil-Bhq59ZVg.mjs";
51
51
  const q = () => {
52
52
  if (!h.useContext(Ke))
53
53
  throw new Error("useCashflowUiStore() must be used within the GlobalDataContext");
@@ -1,4 +1,4 @@
1
- import { C as a, a as o, b as t, u as s } from "../CategorySelectorDrawer-nHEBR24E.mjs";
1
+ import { C as a, a as o, b as t, u as s } from "../CategorySelectorDrawer-Cu1ohxeM.mjs";
2
2
  export {
3
3
  a as CategoryRow,
4
4
  o as CategorySelector,
@@ -8,7 +8,7 @@ export declare const useCategoryStore: () => import('../../core').CategoryStore;
8
8
  export declare const useConnectStore: () => import('../../core').ConnectStore;
9
9
  export declare const useDebtStore: () => import('../../core').DebtsStore;
10
10
  export declare const useFinstrongStore: () => import('../../core').FinstrongStore;
11
- export declare const useGlobalStore: () => import('../../core').GlobalStore;
11
+ export declare const useGlobalStore: () => import('..').GlobalStore;
12
12
  export declare const useGlobalUiStore: () => import('../../core').GlobalUiStore;
13
13
  export declare const useGlobalCopyStore: () => import('../../core').GlobalCopy;
14
14
  export declare const useGoalStore: () => import('../../core').GoalStore;
@@ -3,3 +3,6 @@ export * from './constants';
3
3
  export * from './context';
4
4
  export * from './hooks';
5
5
  export * from './utils';
6
+ export { GlobalStore } from '../core/stores/GlobalStore';
7
+ export { buildDynamicCopy, buildPluralCopy } from '../core/utils/Localization';
8
+ export { formatOrdinal, formatCurrency, formatPercentage, getCurrencyCodes, getPluralRules, generateEqualIntervals, } from '../core/utils/NumberFormatting';