@mx-cartographer/experiences 7.1.3 → 7.1.4-ram1-alpha-finstrong-credit-score-graph-check

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 (125) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/dist/{Account-8IUM_CLv.mjs → Account-CpRTVIHg.mjs} +1 -1
  3. package/dist/{AccountDetailsContent-CuZSSAEc.mjs → AccountDetailsContent-6aPMU6Hp.mjs} +10 -10
  4. package/dist/{AccountDetailsHeader-BZBsIKdF.mjs → AccountDetailsHeader-BkUZYoV8.mjs} +8 -8
  5. package/dist/{AccountFields-BD_0GT68.mjs → AccountFields-DOLjKu5l.mjs} +5 -5
  6. package/dist/{AccountListItem-CllIBCao.mjs → AccountListItem-CTT5m4qx.mjs} +4 -4
  7. package/dist/{AccountStore-BL0FE1QL.mjs → AccountStore-DTfpr3h0.mjs} +26 -15
  8. package/dist/{Accounts-Bvc9TJaO.mjs → Accounts-D0BmvNxn.mjs} +1 -1
  9. package/dist/{BudgetUtil-psfk-Amb.mjs → BudgetUtil-D2Jcp-E-.mjs} +1 -1
  10. package/dist/{CategorySelectorDrawer-BmenK5bu.mjs → CategorySelectorDrawer-DomNyubP.mjs} +3 -3
  11. package/dist/{CategoryStore-BCcpI3oJ.mjs → CategoryStore-C1IfDPCE.mjs} +1 -1
  12. package/dist/{CategoryUtil-BR3H5i6n.mjs → CategoryUtil-DUM8NuGO.mjs} +1 -1
  13. package/dist/{ConnectDrawer-CPTXh70j.mjs → ConnectDrawer--gJHyp-S.mjs} +2 -2
  14. package/dist/{ConnectionsDrawer-Dkb4vBmt.mjs → ConnectionsDrawer-DabiwV9L.mjs} +3 -3
  15. package/dist/{CurrencyInput-C4xNRL2W.mjs → CurrencyInput-CC5cwVit.mjs} +1 -1
  16. package/dist/{DateUtil-BcuH7ErC.mjs → DateUtil-CBdcsyuk.mjs} +3 -3
  17. package/dist/{DebtsStore-D4grpB4m.mjs → DebtsStore-9aR2sTJQ.mjs} +1 -1
  18. package/dist/{Dialog-CWW597AF.mjs → Dialog-BPTr3qHE.mjs} +2 -2
  19. package/dist/Drawer-BEtCk82g.mjs +163 -0
  20. package/dist/{ExportCsvAction-CBJAfyAw.mjs → ExportCsvAction-Um-CDa4C.mjs} +3 -3
  21. package/dist/FinstrongStore-CC4SrBjA.mjs +436 -0
  22. package/dist/{GoalStore-B5MZzPLZ.mjs → GoalStore-CiBKZvTg.mjs} +3 -3
  23. package/dist/{Help-CzBAsKA2.mjs → Help-BZ8pIkkR.mjs} +2 -2
  24. package/dist/LineChart-CE3oLBQ0.mjs +566 -0
  25. package/dist/{ListItemAction-DSrYDGAP.mjs → ListItemAction-DGaxy7oz.mjs} +10 -10
  26. package/dist/{ManageIncome-DUuT-yMV.mjs → ManageIncome-BaNgfwr5.mjs} +34 -32
  27. package/dist/{MicroWidgetContainer-C4QQHfD7.mjs → MicroWidgetContainer-C3iV1FBR.mjs} +1 -1
  28. package/dist/{MiniWidgetContainer-DTQdRK-3.mjs → MiniWidgetContainer-LtXXgZ6H.mjs} +1 -1
  29. package/dist/{NetWorthStore-Do1Gk8Te.mjs → NetWorthStore-MnpP5KEc.mjs} +2 -2
  30. package/dist/{NotificationSettings-BuShgjn6.mjs → NotificationSettings-Ckx8tgQj.mjs} +5 -5
  31. package/dist/{OriginalBalanceAction-BsxcvNEF.mjs → OriginalBalanceAction-CGZDUsCc.mjs} +3 -3
  32. package/dist/{RecurringSettings-BVOt46uV.mjs → RecurringSettings-DE4T4yQy.mjs} +4 -4
  33. package/dist/{RecurringTransactions-ej39mgA6.mjs → RecurringTransactions-CngsRZ3K.mjs} +45 -44
  34. package/dist/{RecurringTransactionsStore-DrzS1LmF.mjs → RecurringTransactionsStore-C4RVULF8.mjs} +1 -1
  35. package/dist/{SpendingData-D5vsfYKo.mjs → SpendingData-BuJ03S9d.mjs} +16 -16
  36. package/dist/SpendingLegend-D24CEkL3.mjs +170 -0
  37. package/dist/{TransactionDetails-_cXLXTd3.mjs → TransactionDetails-DRlrltGq.mjs} +11 -8
  38. package/dist/{TransactionStore-B-Tq_YFE.mjs → TransactionStore-D8MKYDMb.mjs} +3 -3
  39. package/dist/{TrendsStore-ZZ8X36lJ.mjs → TrendsStore-DL3Vuh71.mjs} +14 -14
  40. package/dist/{User-DaJAQ09j.mjs → User-BthIKO4w.mjs} +2 -2
  41. package/dist/{WidgetContainer-DtPnPQZY.mjs → WidgetContainer-DJA1bxLn.mjs} +4 -4
  42. package/dist/accounts/components/AccountsListCompact.d.ts +10 -0
  43. package/dist/accounts/index.es.js +14 -14
  44. package/dist/accounts/stores/AccountStore.d.ts +2 -0
  45. package/dist/analytics/index.es.js +2 -2
  46. package/dist/budgets/index.es.js +12 -12
  47. package/dist/cashflow/index.es.js +287 -295
  48. package/dist/categories/index.es.js +2 -2
  49. package/dist/common/components/Select.d.ts +4 -2
  50. package/dist/common/components/charts/LineChart.d.ts +2 -0
  51. package/dist/common/components/charts/linechart/CustomMark.d.ts +2 -0
  52. package/dist/common/components/drawer/Drawer.d.ts +3 -0
  53. package/dist/common/components/drawer/Footer.d.ts +17 -0
  54. package/dist/common/index.es.js +33 -33
  55. package/dist/common/types/Finstrong.d.ts +50 -0
  56. package/dist/common/types/index.d.ts +1 -1
  57. package/dist/common/types/localization/FinstrongCopy.d.ts +57 -1
  58. package/dist/dashboard/index.es.js +2 -2
  59. package/dist/debts/index.es.js +11 -11
  60. package/dist/{exportTransactionsToCSV-D8TTNrrE.mjs → exportTransactionsToCSV-XqdHNe2V.mjs} +2 -2
  61. package/dist/finstrong/api/FinstrongApi.d.ts +5 -0
  62. package/dist/finstrong/components/ConnectMoreAccountsCard.d.ts +2 -1
  63. package/dist/finstrong/components/CreditOverTimeGraph.d.ts +1 -0
  64. package/dist/finstrong/components/CreditScore/CreditScoreContent.d.ts +4 -0
  65. package/dist/finstrong/components/CreditScore/CreditScoreHeader.d.ts +4 -0
  66. package/dist/finstrong/components/HaveManageableDebt/DebtPaymentTabContent.d.ts +3 -0
  67. package/dist/finstrong/components/HaveManageableDebt/HaveManageableDebtComponent.d.ts +3 -0
  68. package/dist/finstrong/components/HaveManageableDebt/HaveManageableDebtProgressBar.d.ts +4 -0
  69. package/dist/finstrong/components/HaveManageableDebt/IncomeTabContent.d.ts +3 -0
  70. package/dist/finstrong/components/KeyIndicatorsBorrowTab.d.ts +2 -2
  71. package/dist/finstrong/components/KeyIndicatorsDrawer.d.ts +1 -1
  72. package/dist/finstrong/components/KeyIndicatorsSaveTab.d.ts +2 -2
  73. package/dist/finstrong/components/KeyIndicatorsSpendTab.d.ts +2 -2
  74. package/dist/finstrong/components/KeyIndicatorsTabItem.d.ts +4 -3
  75. package/dist/finstrong/components/KeyIndicatorsTabItemDrawer.d.ts +10 -0
  76. package/dist/finstrong/components/KeyIndicatorsTabsWidget.d.ts +2 -2
  77. package/dist/finstrong/components/MaintainingEmergencySavings/EstimatedContributionCalculator.d.ts +6 -0
  78. package/dist/finstrong/components/MaintainingEmergencySavings/MaintainingEmergencySavingsContent.d.ts +4 -0
  79. package/dist/finstrong/components/MaintainingEmergencySavings/MaintainingEmergencySavingsSticky.d.ts +4 -0
  80. package/dist/finstrong/components/ProgressBar.d.ts +15 -0
  81. package/dist/finstrong/components/SaveEnoughToLiveOn/AvailableTabContent.d.ts +3 -0
  82. package/dist/finstrong/components/SaveEnoughToLiveOn/SaveEnoughToLiveOnDrawerContent.d.ts +3 -0
  83. package/dist/finstrong/components/SaveEnoughToLiveOn/SaveEnoughToLiveOnProgressBar.d.ts +4 -0
  84. package/dist/finstrong/components/SaveEnoughToLiveOn/SpendingTabContent.d.ts +3 -0
  85. package/dist/finstrong/components/SpendLessThanYouMake/SpendLessThanYouMakeComponent.d.ts +3 -0
  86. package/dist/finstrong/components/SpendLessThanYouMake/SpendLessThanYouMakeProgressBar.d.ts +4 -0
  87. package/dist/finstrong/components/StatusChip.d.ts +5 -0
  88. package/dist/finstrong/components/onboarding/Onboarding.d.ts +2 -0
  89. package/dist/finstrong/components/onboarding/OnboardingAddMonthlyIncome.d.ts +11 -0
  90. package/dist/finstrong/components/onboarding/OnboardingBirthday.d.ts +8 -0
  91. package/dist/finstrong/components/onboarding/OnboardingCreditScore.d.ts +8 -0
  92. package/dist/finstrong/components/onboarding/OnboardingStepsDrawer.d.ts +14 -0
  93. package/dist/finstrong/components/onboarding/OnboardingStepsHeader.d.ts +8 -0
  94. package/dist/finstrong/components/paybillsontime/PayBillsOnTimeDrawerComponent.d.ts +4 -0
  95. package/dist/finstrong/components/paybillsontime/PayBillsOnTimeStickyComponent.d.ts +4 -0
  96. package/dist/finstrong/components/shared/Accounts.d.ts +8 -0
  97. package/dist/finstrong/components/shared/CustomDoubleBarPlot.d.ts +25 -0
  98. package/dist/finstrong/components/shared/DoubleBarChart.d.ts +28 -0
  99. package/dist/finstrong/components/shared/LineGraph.d.ts +7 -0
  100. package/dist/finstrong/components/shared/TotalCard.d.ts +8 -0
  101. package/dist/finstrong/components/shared/TransactionList.d.ts +15 -0
  102. package/dist/finstrong/components/shared/Transactions.d.ts +11 -0
  103. package/dist/finstrong/constants/index.d.ts +8 -0
  104. package/dist/finstrong/index.es.js +2899 -1017
  105. package/dist/finstrong/stores/FinstrongStore.d.ts +9 -1
  106. package/dist/finstrong/util/finstrongUtils.d.ts +65 -1
  107. package/dist/goals/index.es.js +14 -14
  108. package/dist/help/index.es.js +3 -3
  109. package/dist/{hooks-CE2TKk4a.mjs → hooks-CBST3rkm.mjs} +3 -3
  110. package/dist/investments/index.es.js +4 -4
  111. package/dist/merchants/index.es.js +1 -1
  112. package/dist/networth/index.es.js +34 -34
  113. package/dist/notifications/index.es.js +4 -4
  114. package/dist/recurringtransactions/index.es.js +13 -13
  115. package/dist/settings/index.es.js +8 -8
  116. package/dist/spending/index.es.js +222 -373
  117. package/dist/transactions/index.es.js +15 -15
  118. package/dist/trends/index.es.js +15 -15
  119. package/dist/{useAccountDisplayName-BXGkZN5B.mjs → useAccountDisplayName-DH1CuQ9R.mjs} +2 -2
  120. package/dist/{useInsightsEnabled-DSnpkUq0.mjs → useInsightsEnabled-jdvS1ppf.mjs} +1 -1
  121. package/package.json +1 -1
  122. package/dist/Drawer-kEE73B87.mjs +0 -113
  123. package/dist/FinstrongStore-F2c607dj.mjs +0 -101
  124. package/dist/LineChart-B35qvXik.mjs +0 -541
  125. package/dist/finstrong/utils/Finstrong.d.ts +0 -6
@@ -0,0 +1,170 @@
1
+ import { b } from "./CategoryUtil-DUM8NuGO.mjs";
2
+ import { b as m } from "./Category-CevNQ03n.mjs";
3
+ import { jsx as d, jsxs as x } from "react/jsx-runtime";
4
+ import T from "react";
5
+ import { observer as E } from "mobx-react-lite";
6
+ import h from "@mui/material/Stack";
7
+ import { CategoryIcon as I, CategoryIconVariants as M, Text as p } from "@mxenabled/mxui";
8
+ import N from "@mui/material/Button";
9
+ import { useTheme as v } from "@mui/material";
10
+ import { D as G } from "./Donut-1UMNcG67.mjs";
11
+ import { u as w } from "./hooks-CBST3rkm.mjs";
12
+ import { u as O } from "./useScreenSize-B6JyS_Lj.mjs";
13
+ import { f as D } from "./NumberFormatting-Buh7u8Oi.mjs";
14
+ import j from "@mui/material/Box";
15
+ const C = 5, k = (a, l, g) => g.reduce((e, r) => {
16
+ if (r.total > 0) {
17
+ const n = a.find((o) => o.guid === r.category_guid);
18
+ if (!n) return e;
19
+ const u = n.parent_guid ?? n.guid, t = a.find((o) => o.guid === u);
20
+ if (!t) return e;
21
+ const i = {
22
+ guid: n.guid,
23
+ name: n.guid === u ? `General ${n.name}` : n.name,
24
+ color: b(t.guid, l),
25
+ amount: r.total
26
+ }, c = e.find((o) => o.guid === u);
27
+ c ? (c.amount += r.total, c.categoryTotals?.push(i)) : e.push({
28
+ guid: u,
29
+ name: t.name,
30
+ color: b(t.guid, l),
31
+ categoryTotals: [i],
32
+ amount: r.total
33
+ });
34
+ }
35
+ return e;
36
+ }, []), L = (a, l, g, e) => {
37
+ const r = k(a, g, e), n = r.filter(
38
+ (o) => o.guid !== m.INCOME && o.guid !== m.INVESTMENTS && o.guid !== m.TRANSFER
39
+ ).sort((o, s) => s.amount - o.amount), u = n.reduce(
40
+ (o, s) => o + s.amount,
41
+ 0
42
+ ), t = n.length > C ? C : n.length, i = n.slice(0, t), c = i.map((o) => ({
43
+ id: o.guid,
44
+ color: b(o.guid, g),
45
+ label: o.name,
46
+ value: o.amount / u * 100
47
+ }));
48
+ if (n.length > 5) {
49
+ const o = n.slice(C, r.length), s = o.reduce(
50
+ (f, y) => f + y.amount,
51
+ 0
52
+ );
53
+ i.push({
54
+ guid: "other",
55
+ color: g.palette.categories.others || "",
56
+ name: l.saving_goal_other,
57
+ categoryTotals: o,
58
+ amount: s
59
+ }), c.push({
60
+ id: "other",
61
+ color: g.palette.categories.others || "",
62
+ label: l.saving_goal_other,
63
+ value: s / u * 100
64
+ });
65
+ }
66
+ return {
67
+ categoryData: i,
68
+ donutData: c,
69
+ totalAmount: u
70
+ };
71
+ }, Q = (a, l, g) => {
72
+ const e = a.filter(
73
+ (t) => t.guid === m.INCOME || t.parent_guid === m.INCOME
74
+ ), r = l.filter((t) => e.some((i) => i.guid === t.category_guid)).sort((t, i) => t.total - i.total).map((t, i) => ({
75
+ guid: t.category_guid,
76
+ name: a.find((c) => c.guid === t.category_guid)?.name,
77
+ color: g[i],
78
+ categoryTotals: [],
79
+ amount: Math.abs(t.total)
80
+ })), n = r.reduce(
81
+ (t, i) => t + i.amount,
82
+ 0
83
+ ), u = r.map((t) => ({
84
+ id: t.guid,
85
+ color: t.color,
86
+ label: t.name,
87
+ value: t.amount / n * 100
88
+ }));
89
+ return {
90
+ categoryData: r,
91
+ donutData: u,
92
+ totalAmount: n
93
+ };
94
+ }, A = ({
95
+ data: a,
96
+ isIncome: l = !1,
97
+ onSelected: g,
98
+ onViewTransactions: e,
99
+ selectedId: r,
100
+ size: n = 150,
101
+ totalLabel: u,
102
+ variant: t = "mini"
103
+ }) => {
104
+ const { spending: i } = w(), c = v(), { isTablet: o } = O(), s = T.useMemo(
105
+ () => r ? a.categoryData.find((_) => _.guid === r) : void 0,
106
+ [r]
107
+ ), f = T.useMemo(() => a.donutData.length > 0 ? a.donutData : [{ id: "0", color: c.palette.divider, value: 100 }], [a, c]), y = () => {
108
+ e?.(r);
109
+ }, S = o ? 32 : 48;
110
+ return /* @__PURE__ */ d(G, { data: f, onClick: g, selectedId: r, size: n, children: /* @__PURE__ */ d(h, { alignItems: "center", height: "100%", justifyContent: "center", width: "100%", children: /* @__PURE__ */ x(h, { alignItems: "center", justifyContent: "center", minHeight: n, minWidth: n, children: [
111
+ s && /* @__PURE__ */ x(
112
+ h,
113
+ {
114
+ alignItems: "center",
115
+ gap: t === "mini" ? 0 : 8,
116
+ mb: t === "mini" ? 0 : 8,
117
+ mt: t === "mini" ? 0 : -16,
118
+ sx: t === "mini" ? { gap: 0, mb: 0 } : { gap: { xs: 4, xl: 8 }, mb: { xs: 4, xl: 8 } },
119
+ children: [
120
+ /* @__PURE__ */ d(
121
+ I,
122
+ {
123
+ categoryGuid: l ? m.INCOME : s.guid,
124
+ size: t === "mini" ? 24 : S,
125
+ variant: M.Transparent
126
+ }
127
+ ),
128
+ /* @__PURE__ */ d(p, { color: "secondary", noWrap: !0, variant: t === "mini" ? "Tiny" : "Body", children: s ? s.name : u })
129
+ ]
130
+ }
131
+ ),
132
+ !s && t === "full" && /* @__PURE__ */ d(p, { bold: !0, color: "secondary", sx: { mb: { xs: 4, xl: 8 } }, children: u }),
133
+ /* @__PURE__ */ d(p, { variant: t === "mini" ? "H2" : "H1", children: s ? D(s.amount, "0,0") : D(a.totalAmount, "0,0") }),
134
+ !s && t === "mini" && /* @__PURE__ */ d(p, { color: "secondary", noWrap: !0, variant: "Tiny", children: u }),
135
+ t === "full" && /* @__PURE__ */ d(
136
+ N,
137
+ {
138
+ "aria-label": `View ${s?.name || ""} Transactions`,
139
+ disabled: a.categoryData.length === 0,
140
+ onClick: y,
141
+ sx: { mt: { xl: 4, xs: 0 }, zIndex: 1 },
142
+ variant: "text",
143
+ children: i.view_transactions
144
+ }
145
+ )
146
+ ] }) }) });
147
+ }, U = E(A), Z = ({ data: a, onSelected: l, selectedId: g }) => /* @__PURE__ */ d(h, { gap: 8, height: "100%", justifyContent: "center", my: "auto", children: a.categoryData.map((e) => /* @__PURE__ */ x(
148
+ h,
149
+ {
150
+ alignItems: "center",
151
+ "aria-label": e.name,
152
+ "aria-selected": e.guid === g,
153
+ direction: "row",
154
+ gap: 8,
155
+ onClick: () => l(e.guid),
156
+ role: "button",
157
+ sx: { cursor: "pointer" },
158
+ children: [
159
+ /* @__PURE__ */ d(j, { borderRadius: 4, height: 8, sx: { backgroundColor: e.color }, width: 8 }),
160
+ /* @__PURE__ */ d(p, { bold: e.guid === g, variant: "XSmall", children: e.name })
161
+ ]
162
+ },
163
+ e.guid
164
+ )) });
165
+ export {
166
+ U as S,
167
+ Q as a,
168
+ Z as b,
169
+ L as g
170
+ };
@@ -9,15 +9,15 @@ import { MerchantLogo as pe, Icon as S, Text as T, useTokens as ee, CategoryIcon
9
9
  import B from "@mui/material/ListItemAvatar";
10
10
  import M from "@mui/material/ListItemText";
11
11
  import f from "@mui/material/Stack";
12
- import { T as Pe, L as Ge, O as h, C as Me, b as Ke, i as $e } from "./User-DaJAQ09j.mjs";
13
- import { G as Be, h as v, u as A, g as L, m as xe, b as Fe, o as He } from "./hooks-CE2TKk4a.mjs";
12
+ import { T as Pe, L as Ge, O as h, C as Me, b as Ke, i as $e } from "./User-BthIKO4w.mjs";
13
+ import { G as Be, h as v, u as A, g as L, m as xe, b as Fe, o as He } from "./hooks-CBST3rkm.mjs";
14
14
  import { f as te } from "./NumberFormatting-Buh7u8Oi.mjs";
15
15
  import { Receipt as ze, Delete as oe, ChevronRight as Ue, Cancel as ie, Search as Xe, Edit as Ve, Flag as We } from "@mxenabled/mx-icons";
16
16
  import { fromUnixTime as W } from "date-fns/fromUnixTime";
17
17
  import { isSameDay as Ne } from "date-fns/isSameDay";
18
- import { h as Ye } from "./DateUtil-BcuH7ErC.mjs";
18
+ import { h as Ye } from "./DateUtil-CBdcsyuk.mjs";
19
19
  import { L as Ie } from "./Loader-DUaFpDGv.mjs";
20
- import { A as P } from "./WidgetContainer-DtPnPQZY.mjs";
20
+ import { A as P } from "./WidgetContainer-DJA1bxLn.mjs";
21
21
  import ne from "@mui/material/Paper";
22
22
  import ce from "@mui/material/Button";
23
23
  import je from "@mui/material/FormGroup";
@@ -27,17 +27,17 @@ import qe from "@mui/material/ToggleButton";
27
27
  import ve from "@mui/material/styles/useTheme";
28
28
  import z from "@mui/material/Avatar";
29
29
  import F from "@mui/material/ListItem";
30
- import { a as V, f as Ee, D as Oe } from "./Dialog-CWW597AF.mjs";
30
+ import { D as V, f as Ee, a as Oe } from "./Dialog-BPTr3qHE.mjs";
31
31
  import U from "@mui/material/ListItemButton";
32
32
  import X from "@mui/material/ListItemIcon";
33
- import { a as we } from "./CategorySelectorDrawer-BmenK5bu.mjs";
33
+ import { a as we } from "./CategorySelectorDrawer-DomNyubP.mjs";
34
34
  import { b as se } from "./Localization-2MODESHW.mjs";
35
35
  import { getUnixTime as Ze } from "date-fns/getUnixTime";
36
- import { D as de } from "./Drawer-kEE73B87.mjs";
36
+ import { D as de } from "./Drawer-BEtCk82g.mjs";
37
37
  import ye from "@mui/material/InputAdornment";
38
38
  import Je from "@mui/material/Checkbox";
39
39
  import ge from "@mui/material/Grid";
40
- import { C as Qe } from "./CurrencyInput-C4xNRL2W.mjs";
40
+ import { C as Qe } from "./CurrencyInput-CC5cwVit.mjs";
41
41
  import et from "@mui/material/Switch";
42
42
  var q = /* @__PURE__ */ ((t) => (t[t.Category = 0] = "Category", t[t.Date = 1] = "Date", t[t.Memo = 2] = "Memo", t[t.Tags = 3] = "Tags", t))(q || {}), re = /* @__PURE__ */ ((t) => (t[t.SplitTransaction = 0] = "SplitTransaction", t[t.HideTransaction = 1] = "HideTransaction", t[t.MerchantLogo = 2] = "MerchantLogo", t))(re || {});
43
43
  const tt = [
@@ -1329,9 +1329,12 @@ export {
1329
1329
  bt as M,
1330
1330
  lt as S,
1331
1331
  Ra as T,
1332
+ dt as Z,
1332
1333
  ka as a,
1333
1334
  st as b,
1334
1335
  Kt as c,
1335
1336
  q as d,
1337
+ _t as h,
1338
+ Se as s,
1336
1339
  G as u
1337
1340
  };
@@ -13,12 +13,12 @@ import { isBefore as B } from "date-fns/isBefore";
13
13
  import { startOfMonth as R } from "date-fns/startOfMonth";
14
14
  import { startOfToday as G } from "date-fns/startOfToday";
15
15
  import { subDays as Y } from "date-fns/subDays";
16
- import { O as n, a as b, T as F } from "./User-DaJAQ09j.mjs";
16
+ import { O as n, a as b, T as F } from "./User-BthIKO4w.mjs";
17
17
  import { T as p } from "./TransactionApi-B3Tksf7L.mjs";
18
18
  import { b as W } from "./Category-CevNQ03n.mjs";
19
- import { f as z } from "./exportTransactionsToCSV-D8TTNrrE.mjs";
19
+ import { f as z } from "./exportTransactionsToCSV-XqdHNe2V.mjs";
20
20
  import { format as k } from "date-fns/format";
21
- import { f as g, D as O, O as $ } from "./Dialog-CWW597AF.mjs";
21
+ import { f as g, a as O, O as $ } from "./Dialog-BPTr3qHE.mjs";
22
22
  import { endOfMonth as X } from "date-fns/endOfMonth";
23
23
  import { B as f } from "./BeatApi-DhJpgCLz.mjs";
24
24
  const j = ({
@@ -8,17 +8,17 @@ import { u as K } from "./useScreenSize-B6JyS_Lj.mjs";
8
8
  import { u as _t } from "./useDimensions-27p2evRx.mjs";
9
9
  import { observer as Mt } from "mobx-react-lite";
10
10
  import Tt from "@mui/material/Card";
11
- import Dt from "@mui/material/CardContent";
11
+ import At from "@mui/material/CardContent";
12
12
  import P from "@mui/material/Divider";
13
13
  import X from "@mui/material/Grid";
14
- import { CategoryIcon as At, Text as S } from "@mxenabled/mxui";
15
- import { u as Lt, m as Q } from "./hooks-CE2TKk4a.mjs";
14
+ import { CategoryIcon as Dt, Text as S } from "@mxenabled/mxui";
15
+ import { u as Lt, m as Q } from "./hooks-CBST3rkm.mjs";
16
16
  import { b as Rt } from "./Localization-2MODESHW.mjs";
17
17
  import { C as O } from "./CurrencyText-kyC1aseI.mjs";
18
18
  import { useTheme as wt, Card as Ht, CardContent as It, Box as kt } from "@mui/material";
19
- import { f as R, D as w } from "./Dialog-CWW597AF.mjs";
19
+ import { f as R, a as w } from "./Dialog-BPTr3qHE.mjs";
20
20
  import Et from "@mui/material/Button";
21
- import { C as A, b as Gt, c as Nt } from "./Category-CevNQ03n.mjs";
21
+ import { C as D, b as Gt, c as Nt } from "./Category-CevNQ03n.mjs";
22
22
  import { f as V } from "./NumberFormatting-Buh7u8Oi.mjs";
23
23
  import Bt from "@mui/material/ListItem";
24
24
  import Ot from "@mui/material/ListItemButton";
@@ -38,7 +38,7 @@ const U = ({ categoryGuid: r, topLevelCategoryGuid: e }) => {
38
38
  "aria-label": Rt(o.category_icon_label_aria, n),
39
39
  mb: 4,
40
40
  role: "img",
41
- children: /* @__PURE__ */ s(At, { categoryGuid: e })
41
+ children: /* @__PURE__ */ s(Dt, { categoryGuid: e })
42
42
  }
43
43
  ),
44
44
  /* @__PURE__ */ s(S, { variant: "Body", children: n })
@@ -71,7 +71,7 @@ const U = ({ categoryGuid: r, topLevelCategoryGuid: e }) => {
71
71
  width: 250,
72
72
  pointerEvents: "none"
73
73
  },
74
- children: /* @__PURE__ */ f(Dt, { children: [
74
+ children: /* @__PURE__ */ f(At, { children: [
75
75
  /* @__PURE__ */ f(L, { alignItems: "center", display: "flex", flexDirection: "column", children: [
76
76
  /* @__PURE__ */ s(U, { categoryGuid: r, topLevelCategoryGuid: e }),
77
77
  /* @__PURE__ */ s(S, { variant: "Small", children: `${o.length}-month total` }),
@@ -127,7 +127,7 @@ const U = ({ categoryGuid: r, topLevelCategoryGuid: e }) => {
127
127
  ref: a,
128
128
  sx: r,
129
129
  children: e.map(({ guid: g, top_level_guid: C }) => {
130
- const d = o === g, u = A[g], x = A[C], y = u ?? x ?? A.default, b = y + "33";
130
+ const d = o === g, u = D[g], x = D[C], y = u ?? x ?? D.default, b = y + "33";
131
131
  return /* @__PURE__ */ f(
132
132
  Et,
133
133
  {
@@ -186,7 +186,7 @@ const U = ({ categoryGuid: r, topLevelCategoryGuid: e }) => {
186
186
  hoveredAreaData: null,
187
187
  isAreaHovered: !1,
188
188
  cursorPos: { x: 0, y: 0 }
189
- }), { hoveredSeriesId: D, hoveredAreaData: $, isAreaHovered: tt, cursorPos: I } = Z, W = tt && D && $, j = !W, G = [...n, ...i], et = G[0]?.dataset.length ?? 0, N = G.flatMap((t) => t.dataset.map((c) => c.x)), ot = G.flatMap((t) => t.dataset.map((c) => c.y)), rt = n[0]?.dataset?.map(
189
+ }), { hoveredSeriesId: A, hoveredAreaData: $, isAreaHovered: tt, cursorPos: I } = Z, W = tt && A && $, j = !W, G = [...n, ...i], et = G[0]?.dataset.length ?? 0, N = G.flatMap((t) => t.dataset.map((c) => c.x)), ot = G.flatMap((t) => t.dataset.map((c) => c.y)), rt = n[0]?.dataset?.map(
190
190
  (t, c) => n.reduce((m, _) => m + _.dataset[c]?.y || 0, 0)
191
191
  ) ?? [0], at = Math.max(...rt), nt = Math.max(
192
192
  ...i.flatMap((t) => t.dataset.map((c) => c.y))
@@ -232,7 +232,7 @@ const U = ({ categoryGuid: r, topLevelCategoryGuid: e }) => {
232
232
  }, dt = (t) => {
233
233
  a?.(t ?? "");
234
234
  }, ut = () => {
235
- const t = E(String(D)).guid;
235
+ const t = E(String(A)).guid;
236
236
  t && a?.(t);
237
237
  }, mt = (t) => {
238
238
  const c = String(t?.seriesId), m = E(c).guid, _ = Y.find((B) => B.id === c), pt = _ && t?.dataIndex !== void 0, yt = _ && t?.dataIndex === void 0;
@@ -331,10 +331,10 @@ const U = ({ categoryGuid: r, topLevelCategoryGuid: e }) => {
331
331
  }
332
332
  },
333
333
  slots: {
334
- itemContent: (t) => j && D ? /* @__PURE__ */ s(
334
+ itemContent: (t) => j && A ? /* @__PURE__ */ s(
335
335
  Vt,
336
336
  {
337
- categoryGuids: E(D),
337
+ categoryGuids: E(A),
338
338
  xData: N,
339
339
  ...t
340
340
  }
@@ -375,7 +375,7 @@ const U = ({ categoryGuid: r, topLevelCategoryGuid: e }) => {
375
375
  W && /* @__PURE__ */ s(
376
376
  Xt,
377
377
  {
378
- categoryGuids: E(D),
378
+ categoryGuids: E(A),
379
379
  chartContainerRef: x,
380
380
  cursorPosition: I,
381
381
  hoveredAreaData: $.map((t) => ({
@@ -444,7 +444,7 @@ const U = ({ categoryGuid: r, topLevelCategoryGuid: e }) => {
444
444
  children: g
445
445
  }
446
446
  ) });
447
- }, qt = (r) => A[r] ?? A.default, Jt = (r) => Nt[r];
447
+ }, qt = (r) => D[r] ?? D.default, Jt = (r) => Nt[r];
448
448
  function Kt(r, e) {
449
449
  const o = [], a = new Date(r);
450
450
  for (; a <= e; ) {
@@ -16,13 +16,13 @@ import E from "@mui/material/Button";
16
16
  import Y from "@mui/material/Paper";
17
17
  import { useTokens as v, H2 as z, Text as G } from "@mxenabled/mxui";
18
18
  import { ChevronLeft as X, ChevronRight as Z } from "@mxenabled/mx-icons";
19
- import { f as q, D as J } from "./Dialog-CWW597AF.mjs";
19
+ import { f as q, a as J } from "./Dialog-BPTr3qHE.mjs";
20
20
  import { isSameDay as T } from "date-fns/isSameDay";
21
21
  import { isWithinInterval as Q } from "date-fns/isWithinInterval";
22
22
  import nn from "@mui/material/styles/useTheme";
23
23
  import k from "@mui/material/ListItem";
24
24
  import an from "@mui/material/ListItemButton";
25
- import { g as tn } from "./hooks-CE2TKk4a.mjs";
25
+ import { g as tn } from "./hooks-CBST3rkm.mjs";
26
26
  var on = /* @__PURE__ */ ((n) => (n[n.CREDIT = 1] = "CREDIT", n[n.DEBIT = 2] = "DEBIT", n))(on || {}), en = /* @__PURE__ */ ((n) => (n[n.POSTED = 1] = "POSTED", n[n.PENDING = 2] = "PENDING", n))(en || {});
27
27
  const rn = ({ copy: n, date: a, onNextClick: o, onPreviousClick: r }) => {
28
28
  const c = v(), l = cn(c);
@@ -13,7 +13,7 @@ import { ChevronLeft as le } from "@mxenabled/mx-icons";
13
13
  import { Icon as T, Text as X, DateRangePicker as J, H1 as Ce, H3 as de } from "@mxenabled/mxui";
14
14
  import { u as Te } from "./useDimensions-27p2evRx.mjs";
15
15
  import { L as Ie } from "./Loader-DUaFpDGv.mjs";
16
- import { g as Ee, b as Re, u as ge, a as Ae, W as Se } from "./hooks-CE2TKk4a.mjs";
16
+ import { g as Ee, b as Re, u as ge, a as Ae, W as Se } from "./hooks-CBST3rkm.mjs";
17
17
  import { u as ie } from "./useScreenSize-B6JyS_Lj.mjs";
18
18
  import { addMonths as Q } from "date-fns/addMonths";
19
19
  import { addDays as ue } from "date-fns/addDays";
@@ -35,9 +35,9 @@ import be from "@mui/material/Tabs";
35
35
  import we from "@mui/material/ToggleButton";
36
36
  import Ke from "@mui/material/ToggleButtonGroup";
37
37
  import Ge from "@mui/material/styles/useTheme";
38
- import { f as K, D as G, a as Me } from "./Dialog-CWW597AF.mjs";
39
- import { D as We } from "./Drawer-kEE73B87.mjs";
40
- import { k as ye, l as xe } from "./ConnectDrawer-CPTXh70j.mjs";
38
+ import { f as K, a as G, D as Me } from "./Dialog-BPTr3qHE.mjs";
39
+ import { D as We } from "./Drawer-BEtCk82g.mjs";
40
+ import { k as ye, l as xe } from "./ConnectDrawer--gJHyp-S.mjs";
41
41
  const ve = {
42
42
  ACCOUNTS_CLICK_ACCOUNT: "accounts_widget_click_account",
43
43
  ACCOUNTS_CLICK_CONNECT: "accounts_widget_click_connect_accounts",
@@ -0,0 +1,10 @@
1
+ import { Account, AccountType } from '../../common';
2
+ interface AccountsListCompactProps {
3
+ onClick?: (account: Account) => void;
4
+ shouldShowBalance?: boolean;
5
+ loadAccounts?: AccountType[];
6
+ }
7
+ declare const _default: (({ onClick, shouldShowBalance, loadAccounts, }: AccountsListCompactProps) => import("react/jsx-runtime").JSX.Element | null) & {
8
+ displayName: string;
9
+ };
10
+ export default _default;
@@ -7,25 +7,25 @@ import E from "@mui/material/List";
7
7
  import O from "@mui/material/ListSubheader";
8
8
  import _ from "@mui/system/Stack";
9
9
  import { Text as v } from "@mxenabled/mxui";
10
- import { A as K } from "../AccountDetailsContent-CuZSSAEc.mjs";
11
- import { u as D1 } from "../AccountDetailsContent-CuZSSAEc.mjs";
12
- import { u as z, A as P } from "../AccountDetailsHeader-BZBsIKdF.mjs";
13
- import { A as W } from "../AccountListItem-CllIBCao.mjs";
14
- import { a as Y } from "../AccountFields-BD_0GT68.mjs";
15
- import { g as U1, b as $1 } from "../AccountFields-BD_0GT68.mjs";
16
- import { u as w, b as S, d as T, g as D, a as q } from "../hooks-CE2TKk4a.mjs";
10
+ import { A as K } from "../AccountDetailsContent-6aPMU6Hp.mjs";
11
+ import { u as D1 } from "../AccountDetailsContent-6aPMU6Hp.mjs";
12
+ import { u as z, A as P } from "../AccountDetailsHeader-BkUZYoV8.mjs";
13
+ import { A as W } from "../AccountListItem-CTT5m4qx.mjs";
14
+ import { a as Y } from "../AccountFields-DOLjKu5l.mjs";
15
+ import { g as U1, b as $1 } from "../AccountFields-DOLjKu5l.mjs";
16
+ import { u as w, b as S, d as T, g as D, a as q } from "../hooks-CBST3rkm.mjs";
17
17
  import { f as I } from "../NumberFormatting-Buh7u8Oi.mjs";
18
- import { D as J } from "../Drawer-kEE73B87.mjs";
19
- import { A as y, W as Q } from "../WidgetContainer-DtPnPQZY.mjs";
20
- import { C as X } from "../ConnectionsDrawer-Dkb4vBmt.mjs";
18
+ import { D as J } from "../Drawer-BEtCk82g.mjs";
19
+ import { A as y, W as Q } from "../WidgetContainer-DJA1bxLn.mjs";
20
+ import { C as X } from "../ConnectionsDrawer-DabiwV9L.mjs";
21
21
  import { u as N } from "../useScreenSize-B6JyS_Lj.mjs";
22
22
  import { L as R } from "../Loader-DUaFpDGv.mjs";
23
- import { l as U, m as e1 } from "../ConnectDrawer-CPTXh70j.mjs";
24
- import { F as G1, M as K1 } from "../ConnectDrawer-CPTXh70j.mjs";
23
+ import { l as U, m as e1 } from "../ConnectDrawer--gJHyp-S.mjs";
24
+ import { F as G1, M as K1 } from "../ConnectDrawer--gJHyp-S.mjs";
25
25
  import t1 from "@mui/material/ListItem";
26
- import { M as $ } from "../MiniWidgetContainer-DTQdRK-3.mjs";
26
+ import { M as $ } from "../MiniWidgetContainer-LtXXgZ6H.mjs";
27
27
  import l1 from "@mui/material/Stack";
28
- import { A as P1, a as Y1 } from "../AccountStore-BL0FE1QL.mjs";
28
+ import { A as P1, a as Y1 } from "../AccountStore-DTfpr3h0.mjs";
29
29
  const i1 = () => {
30
30
  const [c, H] = d.useState(""), { accounts: C } = w(), { selectedAccounts: l } = S(), { setSelectedAccount: h, setSelectedMember: r } = z(), { members: L } = T(), { onEvent: f } = D(), s = [...new Set(l.map((t) => t.account_type))], a = l.find((t) => c === t.guid), u = d.useMemo(
31
31
  () => l.filter((t) => t.is_hidden),
@@ -30,6 +30,8 @@ export declare class AccountStore {
30
30
  get visibleRetirementAccounts(): Account[];
31
31
  get visibleInvestmentAccounts(): Account[];
32
32
  get visibleSavingsAccounts(): Account[];
33
+ get savingsAndCheckingAccountsBalance(): number;
34
+ get savingsAndCheckingAccounts(): Account[];
33
35
  addAccount: (account: Account) => Promise<void>;
34
36
  augmentAccounts: (accounts?: Account[]) => Account[];
35
37
  loadAccounts: (accountsOverride?: Account[]) => Promise<void>;
@@ -8,8 +8,8 @@ import a from "@mui/material/Stack";
8
8
  import _ from "@mui/material/styles/useTheme";
9
9
  import { Text as u, TextField as L } from "@mxenabled/mxui";
10
10
  import { L as W } from "../Loader-DUaFpDGv.mjs";
11
- import { M as j } from "../MiniWidgetContainer-DTQdRK-3.mjs";
12
- import { k as f, u as b, g as q, b as E } from "../hooks-CE2TKk4a.mjs";
11
+ import { M as j } from "../MiniWidgetContainer-LtXXgZ6H.mjs";
12
+ import { k as f, u as b, g as q, b as E } from "../hooks-CBST3rkm.mjs";
13
13
  import Q from "@mui/material/ToggleButton";
14
14
  import G from "@mui/material/ToggleButtonGroup";
15
15
  const O = () => {
@@ -8,7 +8,7 @@ import S from "@mui/material/Stack";
8
8
  import Q from "@mui/material/styles/useTheme";
9
9
  import { Text as y, CategoryIcon as H, Icon as N, H1 as ze, H3 as xe } from "@mxenabled/mxui";
10
10
  import W from "@mui/material/List";
11
- import { u as w, i as D, j as ee, m as j, p as te, g as X, b as ne, h as oe, a as Ue, d as ve } from "../hooks-CE2TKk4a.mjs";
11
+ import { u as w, i as D, j as ee, m as j, p as te, g as X, b as ne, h as oe, a as Ue, d as ve } from "../hooks-CBST3rkm.mjs";
12
12
  import { f as T } from "../NumberFormatting-Buh7u8Oi.mjs";
13
13
  import Ae from "@mui/material/Button";
14
14
  import ae from "@mui/material/Divider";
@@ -17,36 +17,36 @@ import re from "@mui/material/ListItemAvatar";
17
17
  import V from "@mui/material/ListItemButton";
18
18
  import Y from "@mui/material/ListItemText";
19
19
  import { b as M } from "../Localization-2MODESHW.mjs";
20
- import { D as k } from "../Drawer-kEE73B87.mjs";
20
+ import { D as k } from "../Drawer-BEtCk82g.mjs";
21
21
  import Fe from "@mui/material/ListItemSecondaryAction";
22
- import { C as He } from "../CurrencyInput-C4xNRL2W.mjs";
23
- import { a as $ } from "../Dialog-CWW597AF.mjs";
24
- import { C as We } from "../ConnectionsDrawer-Dkb4vBmt.mjs";
22
+ import { C as He } from "../CurrencyInput-CC5cwVit.mjs";
23
+ import { D as $ } from "../Dialog-BPTr3qHE.mjs";
24
+ import { C as We } from "../ConnectionsDrawer-DabiwV9L.mjs";
25
25
  import * as O from "d3";
26
26
  import Xe from "@mui/material/Tooltip";
27
27
  import { u as se } from "../useScreenSize-B6JyS_Lj.mjs";
28
28
  import { L as G } from "../Loader-DUaFpDGv.mjs";
29
29
  import { E as de } from "../EmptyState-DA_lfRBv.mjs";
30
- import { A as L, W as Ke } from "../WidgetContainer-DtPnPQZY.mjs";
31
- import { u as Ve } from "../BudgetUtil-psfk-Amb.mjs";
32
- import { M as Ye } from "../MiniWidgetContainer-DTQdRK-3.mjs";
30
+ import { A as L, W as Ke } from "../WidgetContainer-DJA1bxLn.mjs";
31
+ import { u as Ve } from "../BudgetUtil-D2Jcp-E-.mjs";
32
+ import { M as Ye } from "../MiniWidgetContainer-LtXXgZ6H.mjs";
33
33
  import { isAfter as Ze } from "date-fns/isAfter";
34
34
  import { startOfToday as Z } from "date-fns/startOfToday";
35
35
  import qe from "@mui/material/Alert";
36
36
  import Je from "@mui/material/Snackbar";
37
37
  import ye from "@mui/material/Tab";
38
38
  import Qe from "@mui/material/Tabs";
39
- import { e as et } from "../exportTransactionsToCSV-D8TTNrrE.mjs";
40
- import { T as Te, a as tt } from "../TransactionDetails-_cXLXTd3.mjs";
39
+ import { e as et } from "../exportTransactionsToCSV-XqdHNe2V.mjs";
40
+ import { T as Te, a as tt } from "../TransactionDetails-DRlrltGq.mjs";
41
41
  import pe from "@mui/material/Card";
42
42
  import he from "@mui/material/CardContent";
43
43
  import { S as ge } from "../StatusBar-BK_uYHAB.mjs";
44
44
  import { S as we } from "../SingleSegmentDonut-BgbLgwHi.mjs";
45
- import { u as nt, b as ot } from "../CategorySelectorDrawer-BmenK5bu.mjs";
45
+ import { u as nt, b as ot } from "../CategorySelectorDrawer-DomNyubP.mjs";
46
46
  import De from "@mui/material/CardHeader";
47
47
  import { subDays as at } from "date-fns/subDays";
48
48
  import rt from "@mui/material/IconButton";
49
- import { M as st } from "../ManageIncome-DUuT-yMV.mjs";
49
+ import { M as st } from "../ManageIncome-BaNgfwr5.mjs";
50
50
  const it = I(() => {
51
51
  const { budgets: t } = w(), { totalBudgeted: o } = D(), { incomeTotal: i } = ee(), s = i - o;
52
52
  return /* @__PURE__ */ m(S, { direction: "row", justifyContent: "center", my: 16, spacing: 20, children: [