@mx-cartographer/experiences 7.3.2 → 7.4.0

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 (131) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/dist/{Account-YwUMFz93.mjs → Account-01wOyrH1.mjs} +1 -1
  3. package/dist/{AccountDetailsContent-BgCST7mK.mjs → AccountDetailsContent-gke-5zMF.mjs} +10 -10
  4. package/dist/{AccountDetailsHeader-jAFWoHj7.mjs → AccountDetailsHeader-CRzfuFA2.mjs} +7 -7
  5. package/dist/{AccountFields-DPxMPBF0.mjs → AccountFields-CPkGZ3SD.mjs} +5 -5
  6. package/dist/{AccountListItem-D6rWAreC.mjs → AccountListItem-D4uG9yC-.mjs} +4 -4
  7. package/dist/{AccountStore-B5E98oM1.mjs → AccountStore-C1zMBzHq.mjs} +40 -29
  8. package/dist/{Accounts-UIlYCmHb.mjs → Accounts-D7QljYas.mjs} +1 -1
  9. package/dist/{BudgetUtil-CXvenbdN.mjs → BudgetUtil-wjoNuj7B.mjs} +1 -1
  10. package/dist/{CategorySelectorDrawer-Buy70Y3V.mjs → CategorySelectorDrawer-DqJK_rrL.mjs} +3 -3
  11. package/dist/{CategoryStore-BEdFs69_.mjs → CategoryStore-U7hOZAbP.mjs} +1 -1
  12. package/dist/{CategoryUtil-BR3H5i6n.mjs → CategoryUtil-DUM8NuGO.mjs} +1 -1
  13. package/dist/{ConnectDrawer-CbxHKlRv.mjs → ConnectDrawer-CuUj16NH.mjs} +2 -2
  14. package/dist/{ConnectionsDrawer-C6kanU7I.mjs → ConnectionsDrawer-Bz4uwdFE.mjs} +3 -3
  15. package/dist/{CurrencyInput-lSC7oPDg.mjs → CurrencyInput-xH-hqry9.mjs} +1 -1
  16. package/dist/{DateUtil-BcuH7ErC.mjs → DateUtil-CBdcsyuk.mjs} +3 -3
  17. package/dist/{DebtsStore-DgIcphe_.mjs → DebtsStore-Bu8rRRSL.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/{EmptyState-DA_lfRBv.mjs → EmptyState-DoxNUae-.mjs} +24 -22
  21. package/dist/{ExportCsvAction-DNSgmdyv.mjs → ExportCsvAction-DzTrtPzk.mjs} +3 -3
  22. package/dist/FinstrongStore-CfD6bbJk.mjs +441 -0
  23. package/dist/{GoalStore-CAlmSu4U.mjs → GoalStore-j6QYHgEa.mjs} +3 -3
  24. package/dist/{Help-hi9I9EYP.mjs → Help-BnPXM_N2.mjs} +2 -2
  25. package/dist/LineChart-DttMO7uS.mjs +581 -0
  26. package/dist/{ListItemAction-BmL5buOf.mjs → ListItemAction-uobBrm_a.mjs} +10 -10
  27. package/dist/{ManageIncome-Cypo9qY4.mjs → ManageIncome-CU5C0AeO.mjs} +97 -95
  28. package/dist/{MicroWidgetContainer-CFdMGJKg.mjs → MicroWidgetContainer-DEiRnYVa.mjs} +1 -1
  29. package/dist/{MiniWidgetContainer-BdgBvpga.mjs → MiniWidgetContainer-CmXpTylX.mjs} +1 -1
  30. package/dist/{NetWorthStore-CxqIxAgN.mjs → NetWorthStore-CpL_kqvx.mjs} +2 -2
  31. package/dist/{NotificationSettings-DxytNHlN.mjs → NotificationSettings-DI5B1spM.mjs} +5 -5
  32. package/dist/{OriginalBalanceAction-V6FEoIDe.mjs → OriginalBalanceAction-CCmnsd7y.mjs} +3 -3
  33. package/dist/{RecurringSettings-iIupYxJW.mjs → RecurringSettings-Cm5Bqcai.mjs} +4 -4
  34. package/dist/{RecurringTransactions-ej39mgA6.mjs → RecurringTransactions-CngsRZ3K.mjs} +45 -44
  35. package/dist/{RecurringTransactionsStore-BiwCzScZ.mjs → RecurringTransactionsStore-Bc1wCiNB.mjs} +1 -1
  36. package/dist/{SpendingData-D5vsfYKo.mjs → SpendingData-BuJ03S9d.mjs} +16 -16
  37. package/dist/SpendingLegend-B2BYr8B4.mjs +193 -0
  38. package/dist/{TransactionDetails-BUoNbsu-.mjs → TransactionDetails-CtbBBSoU.mjs} +396 -386
  39. package/dist/{TransactionStore-CtGTg0XS.mjs → TransactionStore-Dz-G8Wd0.mjs} +3 -3
  40. package/dist/{TrendsStore-5PvDT_o6.mjs → TrendsStore-BW9FGQeE.mjs} +1 -1
  41. package/dist/{User-Bj34_i8g.mjs → User-wXzDI4M8.mjs} +2 -2
  42. package/dist/{WidgetContainer-BnTgAfQn.mjs → WidgetContainer-6dsjtOVg.mjs} +4 -4
  43. package/dist/accounts/components/AccountsListCompact.d.ts +10 -0
  44. package/dist/accounts/index.es.js +17 -17
  45. package/dist/accounts/stores/AccountStore.d.ts +2 -0
  46. package/dist/analytics/index.es.js +2 -2
  47. package/dist/budgets/index.es.js +13 -13
  48. package/dist/cashflow/index.es.js +49 -49
  49. package/dist/categories/index.es.js +2 -2
  50. package/dist/common/components/Select.d.ts +4 -2
  51. package/dist/common/components/charts/LineChart.d.ts +12 -2
  52. package/dist/common/components/charts/linechart/CustomLegend.d.ts +3 -1
  53. package/dist/common/components/charts/linechart/CustomMark.d.ts +4 -0
  54. package/dist/common/components/drawer/Drawer.d.ts +3 -0
  55. package/dist/common/components/drawer/Footer.d.ts +17 -0
  56. package/dist/common/index.es.js +33 -33
  57. package/dist/common/types/Finstrong.d.ts +54 -0
  58. package/dist/common/types/Widgets.d.ts +1 -0
  59. package/dist/common/types/index.d.ts +1 -1
  60. package/dist/common/types/localization/FinstrongCopy.d.ts +105 -2
  61. package/dist/common/types/localization/GoalsCopy.d.ts +1 -0
  62. package/dist/dashboard/index.es.js +2 -2
  63. package/dist/debts/index.es.js +11 -11
  64. package/dist/{exportTransactionsToCSV-C4PkIYP6.mjs → exportTransactionsToCSV-Cz2t0lmA.mjs} +2 -2
  65. package/dist/finstrong/FinstrongWidget.d.ts +1 -1
  66. package/dist/finstrong/api/FinstrongApi.d.ts +5 -0
  67. package/dist/finstrong/components/ConnectMoreAccountsCard.d.ts +3 -1
  68. package/dist/finstrong/components/CreditScore/CreditScoreContent.d.ts +4 -0
  69. package/dist/finstrong/components/CreditScore/CreditScoreHeader.d.ts +4 -0
  70. package/dist/finstrong/components/FinancialStrengthGraph.d.ts +7 -1
  71. package/dist/finstrong/components/HaveManageableDebt/DebtPaymentTabContent.d.ts +3 -0
  72. package/dist/finstrong/components/HaveManageableDebt/HaveManageableDebtComponent.d.ts +3 -0
  73. package/dist/finstrong/components/HaveManageableDebt/HaveManageableDebtProgressBar.d.ts +4 -0
  74. package/dist/finstrong/components/HaveManageableDebt/IncomeTabContent.d.ts +3 -0
  75. package/dist/finstrong/components/KeyIndicatorsBorrowTab.d.ts +2 -2
  76. package/dist/finstrong/components/KeyIndicatorsDrawer.d.ts +4 -1
  77. package/dist/finstrong/components/KeyIndicatorsSaveTab.d.ts +2 -2
  78. package/dist/finstrong/components/KeyIndicatorsSpendTab.d.ts +2 -2
  79. package/dist/finstrong/components/KeyIndicatorsTabItem.d.ts +4 -3
  80. package/dist/finstrong/components/KeyIndicatorsTabItemDrawer.d.ts +10 -0
  81. package/dist/finstrong/components/KeyIndicatorsTabsWidget.d.ts +2 -2
  82. package/dist/finstrong/components/MaintainingEmergencySavings/EstimatedContributionCalculator.d.ts +6 -0
  83. package/dist/finstrong/components/MaintainingEmergencySavings/MaintainingEmergencySavingsContent.d.ts +4 -0
  84. package/dist/finstrong/components/MaintainingEmergencySavings/MaintainingEmergencySavingsSticky.d.ts +4 -0
  85. package/dist/finstrong/components/ProgressBar.d.ts +15 -0
  86. package/dist/finstrong/components/SaveEnoughToLiveOn/AvailableTabContent.d.ts +3 -0
  87. package/dist/finstrong/components/SaveEnoughToLiveOn/SaveEnoughToLiveOnDrawerContent.d.ts +3 -0
  88. package/dist/finstrong/components/SaveEnoughToLiveOn/SaveEnoughToLiveOnProgressBar.d.ts +4 -0
  89. package/dist/finstrong/components/SaveEnoughToLiveOn/SpendingTabContent.d.ts +3 -0
  90. package/dist/finstrong/components/SpendLessThanYouMake/SpendLessThanYouMakeComponent.d.ts +3 -0
  91. package/dist/finstrong/components/SpendLessThanYouMake/SpendLessThanYouMakeProgressBar.d.ts +4 -0
  92. package/dist/finstrong/components/StatusChip.d.ts +5 -0
  93. package/dist/finstrong/components/onboarding/Onboarding.d.ts +2 -0
  94. package/dist/finstrong/components/onboarding/OnboardingAddMonthlyIncome.d.ts +17 -0
  95. package/dist/finstrong/components/onboarding/OnboardingBirthday.d.ts +8 -0
  96. package/dist/finstrong/components/onboarding/OnboardingCreditScore.d.ts +8 -0
  97. package/dist/finstrong/components/onboarding/OnboardingStepsDrawer.d.ts +14 -0
  98. package/dist/finstrong/components/onboarding/OnboardingStepsHeader.d.ts +8 -0
  99. package/dist/finstrong/components/paybillsontime/PayBillsOnTimeDrawerComponent.d.ts +4 -0
  100. package/dist/finstrong/components/paybillsontime/PayBillsOnTimeStickyComponent.d.ts +4 -0
  101. package/dist/finstrong/components/shared/Accounts.d.ts +8 -0
  102. package/dist/finstrong/components/shared/CustomDoubleBarPlot.d.ts +25 -0
  103. package/dist/finstrong/components/shared/DialScoreCard.d.ts +7 -1
  104. package/dist/finstrong/components/shared/DoubleBarChart.d.ts +28 -0
  105. package/dist/finstrong/components/shared/LineGraph.d.ts +7 -0
  106. package/dist/finstrong/components/shared/TotalCard.d.ts +8 -0
  107. package/dist/finstrong/components/shared/Transactions.d.ts +11 -0
  108. package/dist/finstrong/constants/index.d.ts +20 -0
  109. package/dist/finstrong/index.es.js +3174 -1069
  110. package/dist/finstrong/stores/FinstrongStore.d.ts +21 -2
  111. package/dist/finstrong/util/finstrongUtils.d.ts +58 -1
  112. package/dist/goals/index.es.js +15 -15
  113. package/dist/help/index.es.js +3 -3
  114. package/dist/{hooks-Cy8JnjCg.mjs → hooks-C41HAxM5.mjs} +4 -4
  115. package/dist/investments/index.es.js +5 -5
  116. package/dist/merchants/index.es.js +1 -1
  117. package/dist/networth/index.es.js +33 -33
  118. package/dist/notifications/index.es.js +4 -4
  119. package/dist/recurringtransactions/index.es.js +43 -43
  120. package/dist/settings/index.es.js +8 -8
  121. package/dist/spending/index.es.js +261 -436
  122. package/dist/transactions/components/shared/TransactionList.d.ts +1 -0
  123. package/dist/transactions/index.es.js +15 -15
  124. package/dist/trends/index.es.js +16 -16
  125. package/dist/{useAccountDisplayName-D6sQsNNQ.mjs → useAccountDisplayName-CMMlIOXF.mjs} +2 -2
  126. package/dist/{useInsightsEnabled-BxytCjq5.mjs → useInsightsEnabled-CNjP5cfR.mjs} +1 -1
  127. package/package.json +1 -1
  128. package/dist/Drawer-kEE73B87.mjs +0 -113
  129. package/dist/FinstrongStore-CL7t5lBL.mjs +0 -101
  130. package/dist/LineChart-eK4IQImU.mjs +0 -541
  131. package/dist/finstrong/utils/Finstrong.d.ts +0 -6
@@ -13,12 +13,12 @@ import { isBefore as Y } from "date-fns/isBefore";
13
13
  import { startOfMonth as R } from "date-fns/startOfMonth";
14
14
  import { startOfToday as b } from "date-fns/startOfToday";
15
15
  import { subDays as F } from "date-fns/subDays";
16
- import { O as n, a as G, T as w } from "./User-Bj34_i8g.mjs";
16
+ import { O as n, a as G, T as w } from "./User-wXzDI4M8.mjs";
17
17
  import { T as p } from "./TransactionApi-CjBoLleL.mjs";
18
18
  import { b as W } from "./Category-CevNQ03n.mjs";
19
- import { f as z } from "./exportTransactionsToCSV-C4PkIYP6.mjs";
19
+ import { f as z } from "./exportTransactionsToCSV-Cz2t0lmA.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-De2IaqH2.mjs";
24
24
  const j = ({
@@ -12,7 +12,7 @@ import { differenceInCalendarMonths as w } from "date-fns/differenceInCalendarMo
12
12
  import { endOfMonth as D } from "date-fns/endOfMonth";
13
13
  import { subMonths as I } from "date-fns/subMonths";
14
14
  import { b as E, C as _, c as O } from "./Category-CevNQ03n.mjs";
15
- import { f as L, D as T } from "./Dialog-CWW597AF.mjs";
15
+ import { f as L, a as T } from "./Dialog-BPTr3qHE.mjs";
16
16
  const at = ({
17
17
  onClick: e,
18
18
  leftIcon: t,
@@ -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-Cy8JnjCg.mjs";
25
+ import { g as tn } from "./hooks-C41HAxM5.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-Cy8JnjCg.mjs";
16
+ import { g as Ee, b as Re, u as ge, a as Ae, W as Se } from "./hooks-C41HAxM5.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-CbxHKlRv.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-CuUj16NH.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;
@@ -8,28 +8,28 @@ import O from "@mui/material/ListSubheader";
8
8
  import y from "@mui/system/Stack";
9
9
  import { Text as g } from "@mxenabled/mxui";
10
10
  import { useTheme as J } from "@mui/material/styles";
11
- import { u as D, A as Q } from "../AccountDetailsHeader-jAFWoHj7.mjs";
12
- import { L as X } from "../LineChart-eK4IQImU.mjs";
13
- import { g as e1, a as t1, b as n1 } from "../SpendingData-D5vsfYKo.mjs";
14
- import { m as l1, u as M, b, d as N, g as U, a as i1, n as o1 } from "../hooks-Cy8JnjCg.mjs";
15
- import { A as W, l as P, m as C1 } from "../ConnectDrawer-CbxHKlRv.mjs";
16
- import { F as o3, M as C3 } from "../ConnectDrawer-CbxHKlRv.mjs";
17
- import { I as G, P as $, S as j } from "../Account-YwUMFz93.mjs";
18
- import { a as d1 } from "../AccountFields-DPxMPBF0.mjs";
19
- import { g as c3, b as s3 } from "../AccountFields-DPxMPBF0.mjs";
20
- import { A as B } from "../AccountListItem-D6rWAreC.mjs";
21
- import { A as c1 } from "../AccountDetailsContent-BgCST7mK.mjs";
22
- import { u as r3 } from "../AccountDetailsContent-BgCST7mK.mjs";
11
+ import { u as D, A as Q } from "../AccountDetailsHeader-CRzfuFA2.mjs";
12
+ import { L as X } from "../LineChart-DttMO7uS.mjs";
13
+ import { g as e1, a as t1, b as n1 } from "../SpendingData-BuJ03S9d.mjs";
14
+ import { m as l1, u as M, b, d as N, g as U, a as i1, n as o1 } from "../hooks-C41HAxM5.mjs";
15
+ import { A as W, l as P, m as C1 } from "../ConnectDrawer-CuUj16NH.mjs";
16
+ import { F as o3, M as C3 } from "../ConnectDrawer-CuUj16NH.mjs";
17
+ import { I as G, P as $, S as j } from "../Account-01wOyrH1.mjs";
18
+ import { a as d1 } from "../AccountFields-CPkGZ3SD.mjs";
19
+ import { g as c3, b as s3 } from "../AccountFields-CPkGZ3SD.mjs";
20
+ import { A as B } from "../AccountListItem-D4uG9yC-.mjs";
21
+ import { A as c1 } from "../AccountDetailsContent-gke-5zMF.mjs";
22
+ import { u as r3 } from "../AccountDetailsContent-gke-5zMF.mjs";
23
23
  import { f as I } from "../NumberFormatting-Buh7u8Oi.mjs";
24
- import { D as s1 } from "../Drawer-kEE73B87.mjs";
25
- import { A as S, W as a1 } from "../WidgetContainer-BnTgAfQn.mjs";
26
- import { C as r1 } from "../ConnectionsDrawer-C6kanU7I.mjs";
24
+ import { D as s1 } from "../Drawer-BEtCk82g.mjs";
25
+ import { A as S, W as a1 } from "../WidgetContainer-6dsjtOVg.mjs";
26
+ import { C as r1 } from "../ConnectionsDrawer-Bz4uwdFE.mjs";
27
27
  import { u as Y } from "../useScreenSize-B6JyS_Lj.mjs";
28
28
  import { L as _ } from "../Loader-DUaFpDGv.mjs";
29
29
  import L1 from "@mui/material/ListItem";
30
- import { M as K } from "../MiniWidgetContainer-BdgBvpga.mjs";
30
+ import { M as K } from "../MiniWidgetContainer-CmXpTylX.mjs";
31
31
  import u1 from "@mui/material/Stack";
32
- import { A as u3, a as h3 } from "../AccountStore-B5E98oM1.mjs";
32
+ import { A as u3, a as h3 } from "../AccountStore-C1zMBzHq.mjs";
33
33
  const h1 = (i, o) => {
34
34
  const l = G.includes(o) ? e1(i) : [], t = $.includes(o) ? t1(i) : [], L = j.includes(o) ? n1(i) : [];
35
35
  return [l, t, L].filter((C) => C.length > 0);
@@ -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-BdgBvpga.mjs";
12
- import { k as f, u as b, g as q, b as E } from "../hooks-Cy8JnjCg.mjs";
11
+ import { M as j } from "../MiniWidgetContainer-CmXpTylX.mjs";
12
+ import { k as f, u as b, g as q, b as E } from "../hooks-C41HAxM5.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 te from "@mui/material/styles/useTheme";
9
9
  import { Text as b, CategoryIcon as K, Icon as N, H1 as Ue, H3 as Ae } from "@mxenabled/mxui";
10
10
  import X from "@mui/material/List";
11
- import { u as w, i as D, j as ne, m as z, q as oe, g as V, b as ae, h as re, a as Fe, d as Te, n as He } from "../hooks-Cy8JnjCg.mjs";
11
+ import { u as w, i as D, j as ne, m as z, q as oe, g as V, b as ae, h as re, a as Fe, d as Te, n as He } from "../hooks-C41HAxM5.mjs";
12
12
  import { f as T } from "../NumberFormatting-Buh7u8Oi.mjs";
13
13
  import we from "@mui/material/Button";
14
14
  import se from "@mui/material/Divider";
@@ -17,37 +17,37 @@ import ie from "@mui/material/ListItemAvatar";
17
17
  import Z from "@mui/material/ListItemButton";
18
18
  import q from "@mui/material/ListItemText";
19
19
  import { b as R } 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 We from "@mui/material/ListItemSecondaryAction";
22
- import { C as Ke } from "../CurrencyInput-lSC7oPDg.mjs";
23
- import { a as G } from "../Dialog-CWW597AF.mjs";
24
- import { C as Xe } from "../ConnectionsDrawer-C6kanU7I.mjs";
22
+ import { C as Ke } from "../CurrencyInput-xH-hqry9.mjs";
23
+ import { D as G } from "../Dialog-BPTr3qHE.mjs";
24
+ import { C as Xe } from "../ConnectionsDrawer-Bz4uwdFE.mjs";
25
25
  import * as O from "d3";
26
26
  import Ve from "@mui/material/Tooltip";
27
27
  import { useTheme as Ye } from "@mui/material/styles";
28
28
  import { u as ce } from "../useScreenSize-B6JyS_Lj.mjs";
29
29
  import { L as j } from "../Loader-DUaFpDGv.mjs";
30
- import { E as me } from "../EmptyState-DA_lfRBv.mjs";
31
- import { A as L, W as Ze } from "../WidgetContainer-BnTgAfQn.mjs";
32
- import { u as qe } from "../BudgetUtil-CXvenbdN.mjs";
33
- import { M as Je } from "../MiniWidgetContainer-BdgBvpga.mjs";
30
+ import { E as me } from "../EmptyState-DoxNUae-.mjs";
31
+ import { A as L, W as Ze } from "../WidgetContainer-6dsjtOVg.mjs";
32
+ import { u as qe } from "../BudgetUtil-wjoNuj7B.mjs";
33
+ import { M as Je } from "../MiniWidgetContainer-CmXpTylX.mjs";
34
34
  import { isAfter as Qe } from "date-fns/isAfter";
35
35
  import { startOfToday as J } from "date-fns/startOfToday";
36
36
  import et from "@mui/material/Alert";
37
37
  import tt from "@mui/material/Snackbar";
38
38
  import Ce from "@mui/material/Tab";
39
39
  import nt from "@mui/material/Tabs";
40
- import { e as ot } from "../exportTransactionsToCSV-C4PkIYP6.mjs";
41
- import { T as De, a as at } from "../TransactionDetails-BUoNbsu-.mjs";
40
+ import { e as ot } from "../exportTransactionsToCSV-Cz2t0lmA.mjs";
41
+ import { T as De, a as at } from "../TransactionDetails-CtbBBSoU.mjs";
42
42
  import fe from "@mui/material/Card";
43
43
  import be from "@mui/material/CardContent";
44
44
  import { S as he } from "../StatusBar-BK_uYHAB.mjs";
45
45
  import { S as Ie } from "../SingleSegmentDonut-BgbLgwHi.mjs";
46
- import { u as rt, b as st } from "../CategorySelectorDrawer-Buy70Y3V.mjs";
46
+ import { u as rt, b as st } from "../CategorySelectorDrawer-DqJK_rrL.mjs";
47
47
  import Ee from "@mui/material/CardHeader";
48
48
  import { subDays as it } from "date-fns/subDays";
49
49
  import ct from "@mui/material/IconButton";
50
- import { M as lt } from "../ManageIncome-Cypo9qY4.mjs";
50
+ import { M as lt } from "../ManageIncome-CU5C0AeO.mjs";
51
51
  const dt = I(() => {
52
52
  const { budgets: t } = w(), { totalBudgeted: o } = D(), { incomeTotal: i } = ne(), s = i - o;
53
53
  return /* @__PURE__ */ m(S, { direction: "row", justifyContent: "center", my: 16, spacing: 20, children: [
@@ -3,28 +3,28 @@ import p, { useState as J } from "react";
3
3
  import { observer as L } from "mobx-react-lite";
4
4
  import { addMonths as Xe } from "date-fns/addMonths";
5
5
  import { startOfToday as $ } from "date-fns/startOfToday";
6
- import D from "@mui/material/Box";
7
- import v from "@mui/material/Divider";
6
+ import v from "@mui/material/Box";
7
+ import D from "@mui/material/Divider";
8
8
  import s from "@mui/material/Stack";
9
9
  import ce from "@mui/material/styles/useTheme";
10
10
  import { Text as u, P as k, Icon as j, InstitutionLogo as ye, H1 as me, H2 as Ye } from "@mxenabled/mxui";
11
- import { G as Qe, v as ue, u as N, q as le, d as Ne, b as Y, j as P, g as ke, p as He, h as Fe, n as Ve, a as Ke } from "../hooks-Cy8JnjCg.mjs";
11
+ import { G as Qe, v as ue, u as N, q as le, d as Ne, b as Y, j as P, g as ke, p as He, h as Fe, n as Ve, a as Ke } from "../hooks-C41HAxM5.mjs";
12
12
  import { C as O } from "../CurrencyText-kyC1aseI.mjs";
13
13
  import { u as he } from "../useScreenSize-B6JyS_Lj.mjs";
14
14
  import { L as te } from "../Loader-DUaFpDGv.mjs";
15
15
  import { I as pe } from "../CashflowStore-D9Dpuz7X.mjs";
16
16
  import { C as zn } from "../CashflowStore-D9Dpuz7X.mjs";
17
17
  import { b as M } from "../Localization-2MODESHW.mjs";
18
- import { M as Je } from "../MiniWidgetContainer-BdgBvpga.mjs";
19
- import { E as Ze } from "../EmptyState-DA_lfRBv.mjs";
20
- import { R as et } from "../RecurringSettings-iIupYxJW.mjs";
18
+ import { M as Je } from "../MiniWidgetContainer-CmXpTylX.mjs";
19
+ import { E as Ze } from "../EmptyState-DoxNUae-.mjs";
20
+ import { R as et } from "../RecurringSettings-Cm5Bqcai.mjs";
21
21
  import tt from "@mui/material/Tabs";
22
22
  import Ce from "@mui/material/Tab";
23
23
  import { getUnixTime as B } from "date-fns/getUnixTime";
24
24
  import ee from "@mui/material/List";
25
25
  import ne from "@mui/material/ListItem";
26
- import { A as nt } from "../AccountListItem-D6rWAreC.mjs";
27
- import { f as Q, D as V } from "../Dialog-CWW597AF.mjs";
26
+ import { A as nt } from "../AccountListItem-D4uG9yC-.mjs";
27
+ import { f as Q, a as V } from "../Dialog-BPTr3qHE.mjs";
28
28
  import ot from "@mui/material/ListSubheader";
29
29
  import { f as Z } from "../NumberFormatting-Buh7u8Oi.mjs";
30
30
  import { isAfter as We } from "date-fns/isAfter";
@@ -35,17 +35,17 @@ import { alpha as at, keyframes as it } from "@mui/material/styles";
35
35
  import { DataGridPro as rt } from "@mui/x-data-grid-pro";
36
36
  import { T as Se } from "../TabContentContainer-j01JYR_7.mjs";
37
37
  import G from "@mui/material/Button";
38
- import { M as st, S as ct, i as lt, d as _e, c as dt } from "../ManageIncome-Cypo9qY4.mjs";
39
- import { D as Ge } from "../Drawer-kEE73B87.mjs";
38
+ import { M as st, S as ct, i as lt, d as _e, c as dt } from "../ManageIncome-CU5C0AeO.mjs";
39
+ import { D as Ge } from "../Drawer-BEtCk82g.mjs";
40
40
  import { formatISO as mt } from "date-fns/formatISO";
41
41
  import { fromUnixTime as Ie } from "date-fns/fromUnixTime";
42
42
  import { startOfMonth as ut } from "date-fns/startOfMonth";
43
43
  import { subDays as je } from "date-fns/subDays";
44
- import { S as ht, b as pt } from "../TransactionDetails-BUoNbsu-.mjs";
45
- import { F as ft, R as De, e as ve } from "../RecurringTransactions-ej39mgA6.mjs";
46
- import { h as gt } from "../DateUtil-BcuH7ErC.mjs";
44
+ import { S as ht, c as pt } from "../TransactionDetails-CtbBBSoU.mjs";
45
+ import { F as ft, R as ve, e as De } from "../RecurringTransactions-CngsRZ3K.mjs";
46
+ import { h as gt } from "../DateUtil-CBdcsyuk.mjs";
47
47
  import { endOfToday as bt } from "date-fns/endOfToday";
48
- import { W as Ae, A as Ee } from "../WidgetContainer-BnTgAfQn.mjs";
48
+ import { W as Ae, A as Ee } from "../WidgetContainer-6dsjtOVg.mjs";
49
49
  import { F as xt, A as z } from "../Fetch-DecPFeGU.mjs";
50
50
  const K = () => {
51
51
  if (!p.useContext(Qe))
@@ -55,7 +55,7 @@ const K = () => {
55
55
  const { cashflow: n } = N();
56
56
  return /* @__PURE__ */ o(U, { children: [
57
57
  /* @__PURE__ */ e(
58
- D,
58
+ v,
59
59
  {
60
60
  sx: {
61
61
  borderRadius: "1px",
@@ -96,7 +96,7 @@ const K = () => {
96
96
  () => f - w,
97
97
  [f, w]
98
98
  );
99
- return H ? /* @__PURE__ */ e(D, { className: "mx-cashflow", pl: 16, pr: 16, pt: 16, children: n > 710 ? /* @__PURE__ */ o(
99
+ return H ? /* @__PURE__ */ e(v, { className: "mx-cashflow", pl: 16, pr: 16, pt: 16, children: n > 710 ? /* @__PURE__ */ o(
100
100
  s,
101
101
  {
102
102
  border: `1px solid ${a.palette.border.light}`,
@@ -139,12 +139,12 @@ const K = () => {
139
139
  ) }),
140
140
  /* @__PURE__ */ e(O, { amount: g, bold: !0, variant: "XSmall" })
141
141
  ] }),
142
- /* @__PURE__ */ e(v, {}),
142
+ /* @__PURE__ */ e(D, {}),
143
143
  /* @__PURE__ */ o(s, { direction: "row", justifyContent: "space-between", p: 16, children: [
144
144
  /* @__PURE__ */ e(u, { variant: "Small", children: M(l.expenses_due, c.length) }),
145
145
  /* @__PURE__ */ e(O, { amount: w, bold: !0, symbol: "-", variant: "XSmall" })
146
146
  ] }),
147
- /* @__PURE__ */ e(v, {}),
147
+ /* @__PURE__ */ e(D, {}),
148
148
  /* @__PURE__ */ e(
149
149
  s,
150
150
  {
@@ -159,7 +159,7 @@ const K = () => {
159
159
  children: /* @__PURE__ */ e(fe, { remaining: I })
160
160
  }
161
161
  ),
162
- /* @__PURE__ */ e(v, {}),
162
+ /* @__PURE__ */ e(D, {}),
163
163
  /* @__PURE__ */ o(s, { direction: "row", justifyContent: "space-between", p: 16, children: [
164
164
  /* @__PURE__ */ e(u, { variant: "Small", children: l.next_paycheck }),
165
165
  /* @__PURE__ */ e(u, { bold: !0, variant: "XSmall", children: M(l.days, r) })
@@ -233,8 +233,8 @@ const It = ({ recurrence: a }) => /* @__PURE__ */ o(U, { children: [
233
233
  }
234
234
  )
235
235
  ] }),
236
- /* @__PURE__ */ e(v, {})
237
- ] }), Te = L(It), Dt = ({ total: a, type: n }) => {
236
+ /* @__PURE__ */ e(D, {})
237
+ ] }), Te = L(It), vt = ({ total: a, type: n }) => {
238
238
  const { cashflow: t } = N();
239
239
  return /* @__PURE__ */ o(U, { children: [
240
240
  /* @__PURE__ */ o(
@@ -258,9 +258,9 @@ const It = ({ recurrence: a }) => /* @__PURE__ */ o(U, { children: [
258
258
  ]
259
259
  }
260
260
  ),
261
- /* @__PURE__ */ e(v, {})
261
+ /* @__PURE__ */ e(D, {})
262
262
  ] });
263
- }, Re = L(Dt), se = (a, n) => (t) => t.accountGuid === a.guid && (Me(t.expectedDate) || We(t.expectedDate, n.start)) && $e(t.expectedDate, n.end), vt = () => {
263
+ }, Re = L(vt), se = (a, n) => (t) => t.accountGuid === a.guid && (Me(t.expectedDate) || We(t.expectedDate, n.start)) && $e(t.expectedDate, n.end), Dt = () => {
264
264
  const { availableWidth: a } = le(), { cashflow: n } = N(), { upcomingExpenses: t, upcomingIncome: i } = P(), { dateRange: g, selectedCashAccounts: b } = K();
265
265
  return /* @__PURE__ */ o(s, { children: [
266
266
  /* @__PURE__ */ o(s, { direction: a < 400 ? "column" : "row", justifyContent: "space-between", children: [
@@ -303,7 +303,7 @@ const It = ({ recurrence: a }) => /* @__PURE__ */ o(U, { children: [
303
303
  }
304
304
  }
305
305
  ),
306
- /* @__PURE__ */ e(v, {}),
306
+ /* @__PURE__ */ e(D, {}),
307
307
  h.length > 0 && /* @__PURE__ */ e(ne, { children: /* @__PURE__ */ e(
308
308
  ee,
309
309
  {
@@ -332,7 +332,7 @@ const It = ({ recurrence: a }) => /* @__PURE__ */ o(U, { children: [
332
332
  );
333
333
  }) })
334
334
  ] });
335
- }, At = L(vt), Et = () => {
335
+ }, At = L(Dt), Et = () => {
336
336
  const { availableWidth: a } = le(), n = ce(), { cashflow: t } = N(), { upcomingExpenses: i, upcomingIncome: g } = P(), { dateRange: b, selectedCashAccounts: m } = K(), h = [
337
337
  {
338
338
  field: "account",
@@ -407,7 +407,7 @@ const It = ({ recurrence: a }) => /* @__PURE__ */ o(U, { children: [
407
407
  };
408
408
  }), [m, i, g]);
409
409
  return /* @__PURE__ */ o(
410
- D,
410
+ v,
411
411
  {
412
412
  sx: {
413
413
  width: "100%"
@@ -515,7 +515,7 @@ const It = ({ recurrence: a }) => /* @__PURE__ */ o(U, { children: [
515
515
  ]
516
516
  }
517
517
  ),
518
- /* @__PURE__ */ e(v, { sx: { width: "100%" } }),
518
+ /* @__PURE__ */ e(D, { sx: { width: "100%" } }),
519
519
  /* @__PURE__ */ o(
520
520
  s,
521
521
  {
@@ -530,7 +530,7 @@ const It = ({ recurrence: a }) => /* @__PURE__ */ o(U, { children: [
530
530
  ]
531
531
  }
532
532
  ),
533
- /* @__PURE__ */ e(v, { sx: { width: "100%" } }),
533
+ /* @__PURE__ */ e(D, { sx: { width: "100%" } }),
534
534
  /* @__PURE__ */ o(
535
535
  s,
536
536
  {
@@ -545,7 +545,7 @@ const It = ({ recurrence: a }) => /* @__PURE__ */ o(U, { children: [
545
545
  ]
546
546
  }
547
547
  ),
548
- /* @__PURE__ */ e(v, { sx: { width: "100%" } }),
548
+ /* @__PURE__ */ e(D, { sx: { width: "100%" } }),
549
549
  /* @__PURE__ */ e(
550
550
  s,
551
551
  {
@@ -574,7 +574,7 @@ const It = ({ recurrence: a }) => /* @__PURE__ */ o(U, { children: [
574
574
  };
575
575
  return p.useEffect(() => {
576
576
  t(i === 0 ? "cash_flow_summary" : "cash_flow_details");
577
- }, [i]), /* @__PURE__ */ o(D, { children: [
577
+ }, [i]), /* @__PURE__ */ o(v, { children: [
578
578
  /* @__PURE__ */ o(
579
579
  tt,
580
580
  {
@@ -610,9 +610,9 @@ const It = ({ recurrence: a }) => /* @__PURE__ */ o(U, { children: [
610
610
  ]
611
611
  }
612
612
  ),
613
- /* @__PURE__ */ e(D, { sx: { mb: 32 } }),
614
- /* @__PURE__ */ e(Se, { index: 0, name: "cashflow", value: i, children: /* @__PURE__ */ e(D, { sx: { m: n ? 48 : 16 }, children: /* @__PURE__ */ e(Tt, {}) }) }),
615
- /* @__PURE__ */ e(Se, { index: 1, name: "cashflow", value: i, children: /* @__PURE__ */ e(D, { sx: { m: n ? 48 : 16 }, children: /* @__PURE__ */ e(At, {}) }) })
613
+ /* @__PURE__ */ e(v, { sx: { mb: 32 } }),
614
+ /* @__PURE__ */ e(Se, { index: 0, name: "cashflow", value: i, children: /* @__PURE__ */ e(v, { sx: { m: n ? 48 : 16 }, children: /* @__PURE__ */ e(Tt, {}) }) }),
615
+ /* @__PURE__ */ e(Se, { index: 1, name: "cashflow", value: i, children: /* @__PURE__ */ e(v, { sx: { m: n ? 48 : 16 }, children: /* @__PURE__ */ e(At, {}) }) })
616
616
  ] });
617
617
  }, Lt = L(Rt), re = ({
618
618
  amount: a,
@@ -668,7 +668,7 @@ const It = ({ recurrence: a }) => /* @__PURE__ */ o(U, { children: [
668
668
  label: M(n.cash_and_bank, l.length)
669
669
  }
670
670
  ),
671
- f && /* @__PURE__ */ e(v, {}),
671
+ f && /* @__PURE__ */ e(D, {}),
672
672
  W ? /* @__PURE__ */ o(U, { children: [
673
673
  !f && /* @__PURE__ */ e(u, { sx: { fontSize: 25, lineHeight: 1 }, children: "+" }),
674
674
  /* @__PURE__ */ e(
@@ -689,7 +689,7 @@ const It = ({ recurrence: a }) => /* @__PURE__ */ o(U, { children: [
689
689
  children: n.add_income
690
690
  }
691
691
  ),
692
- f ? /* @__PURE__ */ e(v, {}) : /* @__PURE__ */ e(u, { sx: { fontSize: 25, lineHeight: 1 }, children: "-" }),
692
+ f ? /* @__PURE__ */ e(D, {}) : /* @__PURE__ */ e(u, { sx: { fontSize: 25, lineHeight: 1 }, children: "-" }),
693
693
  /* @__PURE__ */ e(
694
694
  re,
695
695
  {
@@ -699,7 +699,7 @@ const It = ({ recurrence: a }) => /* @__PURE__ */ o(U, { children: [
699
699
  symbol: f ? "-" : void 0
700
700
  }
701
701
  ),
702
- f ? /* @__PURE__ */ e(v, {}) : /* @__PURE__ */ e(u, { sx: { fontSize: 25, lineHeight: 1 }, children: "=" }),
702
+ f ? /* @__PURE__ */ e(D, {}) : /* @__PURE__ */ e(u, { sx: { fontSize: 25, lineHeight: 1 }, children: "=" }),
703
703
  /* @__PURE__ */ e(
704
704
  re,
705
705
  {
@@ -749,7 +749,7 @@ const It = ({ recurrence: a }) => /* @__PURE__ */ o(U, { children: [
749
749
  /* @__PURE__ */ o(s, { direction: "column", mb: 32, spacing: 32, children: [
750
750
  /* @__PURE__ */ o(k, { sx: { display: "flex", alignItems: "center", fontSize: 18 }, children: [
751
751
  /* @__PURE__ */ e(
752
- D,
752
+ v,
753
753
  {
754
754
  bgcolor: i.palette.primary.lighter,
755
755
  borderRadius: 1,
@@ -765,7 +765,7 @@ const It = ({ recurrence: a }) => /* @__PURE__ */ o(U, { children: [
765
765
  ] }),
766
766
  /* @__PURE__ */ o(k, { sx: { display: "flex", alignItems: "center", fontSize: 18 }, children: [
767
767
  /* @__PURE__ */ e(
768
- D,
768
+ v,
769
769
  {
770
770
  bgcolor: i.palette.primary.lighter,
771
771
  borderRadius: 1,
@@ -781,7 +781,7 @@ const It = ({ recurrence: a }) => /* @__PURE__ */ o(U, { children: [
781
781
  ] }),
782
782
  /* @__PURE__ */ o(k, { sx: { display: "flex", alignItems: "center", fontSize: 18 }, children: [
783
783
  /* @__PURE__ */ e(
784
- D,
784
+ v,
785
785
  {
786
786
  bgcolor: i.palette.primary.lighter,
787
787
  borderRadius: 1,
@@ -823,7 +823,7 @@ const It = ({ recurrence: a }) => /* @__PURE__ */ o(U, { children: [
823
823
  () => x.find((y) => y.guid === ie),
824
824
  [ie, x]
825
825
  ), Be = !!n.filter(
826
- (y) => y.repeating_transaction_type === De.Income
826
+ (y) => y.repeating_transaction_type === ve.Income
827
827
  ).length, be = async () => {
828
828
  ae(2), r(
829
829
  // Beginning of the month, 90 days before today
@@ -834,7 +834,7 @@ const It = ({ recurrence: a }) => /* @__PURE__ */ o(U, { children: [
834
834
  if (!(T.length < 1)) {
835
835
  ge(!0);
836
836
  for (let y = 0; y < T.length; y++) {
837
- const R = T[y], xe = ve(A, Ie(R.date)), qe = {
837
+ const R = T[y], xe = De(A, Ie(R.date)), qe = {
838
838
  account_guid: R.account_guid,
839
839
  amount: R.amount,
840
840
  created_by: 0,
@@ -844,7 +844,7 @@ const It = ({ recurrence: a }) => /* @__PURE__ */ o(U, { children: [
844
844
  predicted_occurs_on: mt(xe, { representation: "date" }),
845
845
  recurrence_day: xe.getDay(),
846
846
  recurrence_type: A,
847
- repeating_transaction_type: De.Income,
847
+ repeating_transaction_type: ve.Income,
848
848
  second_recurrence_day: I,
849
849
  transaction_type: R.transaction_type,
850
850
  user_guid: g.guid
@@ -855,7 +855,7 @@ const It = ({ recurrence: a }) => /* @__PURE__ */ o(U, { children: [
855
855
  }
856
856
  }, Pe = !S && _ || !S && T.length < 1;
857
857
  return l ? /* @__PURE__ */ o(
858
- D,
858
+ v,
859
859
  {
860
860
  sx: {
861
861
  display: "flex",
@@ -869,7 +869,7 @@ const It = ({ recurrence: a }) => /* @__PURE__ */ o(U, { children: [
869
869
  },
870
870
  children: [
871
871
  q === 1 && /* @__PURE__ */ e(
872
- D,
872
+ v,
873
873
  {
874
874
  sx: {
875
875
  ...h ? { display: "flex", flexDirection: "column", maxWidth: "100%", padding: "0 16px" } : { maxWidth: 590, ml: "40%", mr: 90 }
@@ -878,7 +878,7 @@ const It = ({ recurrence: a }) => /* @__PURE__ */ o(U, { children: [
878
878
  }
879
879
  ),
880
880
  q === 2 && /* @__PURE__ */ e(
881
- D,
881
+ v,
882
882
  {
883
883
  sx: {
884
884
  ...h ? { display: "flex", flexDirection: "column", maxWidth: "100%", padding: "0 16px" } : { maxWidth: 590, ml: "40%", mr: 90 }
@@ -887,7 +887,7 @@ const It = ({ recurrence: a }) => /* @__PURE__ */ o(U, { children: [
887
887
  }
888
888
  ),
889
889
  q === 3 && /* @__PURE__ */ o(
890
- D,
890
+ v,
891
891
  {
892
892
  sx: {
893
893
  ...h ? { display: "flex", flexDirection: "column", maxWidth: "100%", padding: "0 16px" } : { maxWidth: 590, ml: "40%", mr: 90 }
@@ -901,10 +901,10 @@ const It = ({ recurrence: a }) => /* @__PURE__ */ o(U, { children: [
901
901
  B(y.nextDate || y.date)
902
902
  ) }),
903
903
  /* @__PURE__ */ e(pt, { transaction: y }),
904
- R !== T.length - 1 && /* @__PURE__ */ e(v, {})
904
+ R !== T.length - 1 && /* @__PURE__ */ e(D, {})
905
905
  ] }, y.guid)) }),
906
906
  /* @__PURE__ */ o(s, { alignItems: "center", direction: "row", children: [
907
- /* @__PURE__ */ e(v, { sx: { flexGrow: 1 } }),
907
+ /* @__PURE__ */ e(D, { sx: { flexGrow: 1 } }),
908
908
  /* @__PURE__ */ e(
909
909
  G,
910
910
  {
@@ -952,7 +952,7 @@ const It = ({ recurrence: a }) => /* @__PURE__ */ o(U, { children: [
952
952
  const y = [...T];
953
953
  y.push({
954
954
  ...S,
955
- nextDate: ve(A, Ie(S.date)),
955
+ nextDate: De(A, Ie(S.date)),
956
956
  frequency: A
957
957
  }), de(y), X("");
958
958
  },
@@ -1,5 +1,5 @@
1
- import { b as o, C as a, a as t, u as C } from "../CategorySelectorDrawer-Buy70Y3V.mjs";
2
- import { C as g } from "../CategoryStore-BEdFs69_.mjs";
1
+ import { b as o, C as a, a as t, u as C } from "../CategorySelectorDrawer-DqJK_rrL.mjs";
2
+ import { C as g } from "../CategoryStore-U7hOZAbP.mjs";
3
3
  export {
4
4
  o as CategoryRow,
5
5
  a as CategorySelector,
@@ -1,12 +1,14 @@
1
+ import { default as React } from 'react';
2
+ import { default as TextField } from '@mui/material/TextField';
1
3
  export type SelectOption = {
2
4
  id: number;
3
5
  label: string;
4
6
  };
5
- interface SelectProps {
7
+ interface SelectProps extends Omit<React.ComponentProps<typeof TextField>, 'onChange'> {
6
8
  label: string;
7
9
  onChange: (value: number) => void;
8
10
  options: SelectOption[];
9
11
  value: number;
10
12
  }
11
- export declare const Select: ({ label, onChange, options, value }: SelectProps) => import("react/jsx-runtime").JSX.Element;
13
+ export declare const Select: ({ label, onChange, options, value, ...props }: SelectProps) => import("react/jsx-runtime").JSX.Element;
12
14
  export {};
@@ -1,4 +1,4 @@
1
- import { default as React, CSSProperties } from 'react';
1
+ import { default as React } from 'react';
2
2
  import { SxProps } from '@mui/material/styles';
3
3
  import { MarkHandlers } from './linechart/CustomMark';
4
4
  export type LineChartDataset = {
@@ -14,6 +14,7 @@ export type TooltipLabel = LineChartLabel & {
14
14
  };
15
15
  type LineChartCurve = 'catmullRom' | 'linear' | 'monotoneX' | 'monotoneY' | 'natural' | 'step' | 'stepBefore' | 'stepAfter' | 'bump' | 'bumpX' | 'bumpY';
16
16
  interface LineChartProps {
17
+ areaColor?: string;
17
18
  axisColor?: string;
18
19
  baseline?: string;
19
20
  chartFor?: string;
@@ -22,6 +23,8 @@ interface LineChartProps {
22
23
  colors: (string | undefined)[];
23
24
  curveType?: LineChartCurve;
24
25
  customLegendVariant?: string;
26
+ customLegendSx?: SxProps;
27
+ customLegendBoxSx?: SxProps;
25
28
  customTooltipLabels?: TooltipLabel[][];
26
29
  datasets: LineChartDataset[];
27
30
  height?: number;
@@ -37,13 +40,19 @@ interface LineChartProps {
37
40
  left?: number;
38
41
  };
39
42
  markHandlers?: MarkHandlers;
40
- markStyles?: (markIndex: number) => CSSProperties;
43
+ markStyles?: (markIndex: number) => React.CSSProperties & {
44
+ markLabelStyles?: React.CSSProperties;
45
+ };
46
+ minRange?: number;
47
+ maxRange?: number;
41
48
  onItemClick?: () => void;
49
+ peerAverage?: number;
42
50
  showArea?: boolean;
43
51
  showAverage?: boolean;
44
52
  showAxisHighlight?: boolean;
45
53
  showBars?: boolean;
46
54
  showLegend?: boolean;
55
+ showMark?: boolean;
47
56
  showMarkLabel?: boolean;
48
57
  showTooltip?: boolean;
49
58
  showXAxis?: boolean;
@@ -55,6 +64,7 @@ interface LineChartProps {
55
64
  useCustomMark?: boolean;
56
65
  valueFormatterString?: string;
57
66
  width?: number;
67
+ xAxisScaleType?: 'band' | 'point';
58
68
  }
59
69
  export declare const LineChart: React.FC<LineChartProps>;
60
70
  export {};
@@ -1,11 +1,13 @@
1
+ import { SxProps } from '@mui/material/styles';
1
2
  import { LineChartLabel } from '../LineChart';
2
3
  export declare const CustomLegendLabel: ({ label, customLegendVariant, }: {
3
4
  label: LineChartLabel;
4
5
  customLegendVariant?: string;
5
6
  }) => import("react/jsx-runtime").JSX.Element | null;
6
- declare const _default: (({ average, customLegendVariant, labels, series, style, title, valueFormatterString, }: {
7
+ declare const _default: (({ average, customLegendVariant, customLegendBoxSx, labels, series, style, title, valueFormatterString, }: {
7
8
  average?: number;
8
9
  customLegendVariant?: string;
10
+ customLegendBoxSx?: SxProps;
9
11
  labels?: LineChartLabel[];
10
12
  series: any[];
11
13
  title?: string;