@mx-cartographer/experiences 7.2.11 → 7.2.12-alpha-ram1-finstrong-testing

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 (124) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/dist/{Account-B-CuHOYf.mjs → Account-CBQnFO6w.mjs} +1 -1
  3. package/dist/{AccountDetailsContent-DfzPOeMI.mjs → AccountDetailsContent-BkurfGCr.mjs} +48 -44
  4. package/dist/{AccountDetailsHeader-vcy67tuH.mjs → AccountDetailsHeader-CaIoP_2Q.mjs} +8 -8
  5. package/dist/{AccountFields-cUP-9Hm6.mjs → AccountFields-CLbLAhLf.mjs} +5 -5
  6. package/dist/{AccountListItem-DChcf3SN.mjs → AccountListItem-CPm3572e.mjs} +4 -4
  7. package/dist/{AccountStore-D6KiXA1B.mjs → AccountStore-DttEGFeu.mjs} +40 -29
  8. package/dist/{Accounts-IeEtQjzA.mjs → Accounts-B5Yr0e_o.mjs} +1 -1
  9. package/dist/{BudgetUtil-B2ZXyw-g.mjs → BudgetUtil-wjoNuj7B.mjs} +1 -1
  10. package/dist/{CategorySelectorDrawer-DUe4lH5-.mjs → CategorySelectorDrawer-ZO9N26Kx.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-DaFRU5st.mjs → ConnectDrawer-FyY0AWYQ.mjs} +2 -2
  14. package/dist/{ConnectionsDrawer-DHJ7qdWL.mjs → ConnectionsDrawer-Cd_rztVC.mjs} +3 -3
  15. package/dist/CurrencyInput-xH-hqry9.mjs +85 -0
  16. package/dist/{DateUtil-BcuH7ErC.mjs → DateUtil-CBdcsyuk.mjs} +3 -3
  17. package/dist/{DebtsStore-z3VARSO6.mjs → DebtsStore-DB5U2WMC.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-sX8Rg4Ov.mjs → ExportCsvAction-DlGZfm4y.mjs} +3 -3
  21. package/dist/FinstrongStore-CJBV4K5Y.mjs +432 -0
  22. package/dist/{GoalStore-TD0BfzWX.mjs → GoalStore-deVLYr7n.mjs} +3 -3
  23. package/dist/{Help-B6dIcujh.mjs → Help-BnPXM_N2.mjs} +2 -2
  24. package/dist/{LineChart-D4GI7nVh.mjs → LineChart-Ct9DNmhS.mjs} +209 -181
  25. package/dist/{ListItemAction-DHa3KJPs.mjs → ListItemAction-uobBrm_a.mjs} +10 -10
  26. package/dist/{ManageIncome-D3n1EWxe.mjs → ManageIncome-CqNstpx_.mjs} +63 -61
  27. package/dist/{MicroWidgetContainer-DpeqN9n3.mjs → MicroWidgetContainer-DEiRnYVa.mjs} +1 -1
  28. package/dist/{MiniWidgetContainer-D0gfmbaF.mjs → MiniWidgetContainer-CmXpTylX.mjs} +1 -1
  29. package/dist/{NetWorthStore-B_1oulrt.mjs → NetWorthStore-CUz0bwVm.mjs} +2 -2
  30. package/dist/{NotificationSettings-BRm_EJZV.mjs → NotificationSettings-BKKuULAd.mjs} +5 -5
  31. package/dist/{OriginalBalanceAction-CAaVbVMO.mjs → OriginalBalanceAction-CCmnsd7y.mjs} +3 -3
  32. package/dist/{RecurringSettings-C28GrQcP.mjs → RecurringSettings-DfAMEAuh.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-squvjEhu.mjs +170 -0
  37. package/dist/{TransactionDetails-BWffqew4.mjs → TransactionDetails-CabNHK_I.mjs} +12 -12
  38. package/dist/{TransactionStore-DxPLdF3B.mjs → TransactionStore-DvOEbOzL.mjs} +3 -3
  39. package/dist/{TrendsStore-DCYbpXPO.mjs → TrendsStore-BVNxGsE4.mjs} +14 -14
  40. package/dist/{User-BQUxBeZV.mjs → User-wXzDI4M8.mjs} +2 -2
  41. package/dist/{WidgetContainer-C88Ecu2W.mjs → WidgetContainer-GoNq8wwm.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 +44 -44
  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 +8 -2
  51. package/dist/common/components/charts/linechart/CustomMark.d.ts +4 -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 +58 -1
  58. package/dist/dashboard/index.es.js +2 -2
  59. package/dist/debts/index.es.js +11 -11
  60. package/dist/{exportTransactionsToCSV-7bVS7KXf.mjs → exportTransactionsToCSV-hrNpJ77n.mjs} +2 -2
  61. package/dist/finstrong/api/FinstrongApi.d.ts +5 -0
  62. package/dist/finstrong/components/ConnectMoreAccountsCard.d.ts +3 -1
  63. package/dist/finstrong/components/CreditScore/CreditScoreContent.d.ts +4 -0
  64. package/dist/finstrong/components/CreditScore/CreditScoreHeader.d.ts +4 -0
  65. package/dist/finstrong/components/HaveManageableDebt/DebtPaymentTabContent.d.ts +3 -0
  66. package/dist/finstrong/components/HaveManageableDebt/HaveManageableDebtComponent.d.ts +3 -0
  67. package/dist/finstrong/components/HaveManageableDebt/HaveManageableDebtProgressBar.d.ts +4 -0
  68. package/dist/finstrong/components/HaveManageableDebt/IncomeTabContent.d.ts +3 -0
  69. package/dist/finstrong/components/KeyIndicatorsBorrowTab.d.ts +2 -2
  70. package/dist/finstrong/components/KeyIndicatorsDrawer.d.ts +4 -1
  71. package/dist/finstrong/components/KeyIndicatorsSaveTab.d.ts +2 -2
  72. package/dist/finstrong/components/KeyIndicatorsSpendTab.d.ts +2 -2
  73. package/dist/finstrong/components/KeyIndicatorsTabItem.d.ts +4 -3
  74. package/dist/finstrong/components/KeyIndicatorsTabItemDrawer.d.ts +10 -0
  75. package/dist/finstrong/components/KeyIndicatorsTabsWidget.d.ts +2 -2
  76. package/dist/finstrong/components/MaintainingEmergencySavings/EstimatedContributionCalculator.d.ts +6 -0
  77. package/dist/finstrong/components/MaintainingEmergencySavings/MaintainingEmergencySavingsContent.d.ts +4 -0
  78. package/dist/finstrong/components/MaintainingEmergencySavings/MaintainingEmergencySavingsSticky.d.ts +4 -0
  79. package/dist/finstrong/components/ProgressBar.d.ts +15 -0
  80. package/dist/finstrong/components/SaveEnoughToLiveOn/AvailableTabContent.d.ts +3 -0
  81. package/dist/finstrong/components/SaveEnoughToLiveOn/SaveEnoughToLiveOnDrawerContent.d.ts +3 -0
  82. package/dist/finstrong/components/SaveEnoughToLiveOn/SaveEnoughToLiveOnProgressBar.d.ts +4 -0
  83. package/dist/finstrong/components/SaveEnoughToLiveOn/SpendingTabContent.d.ts +3 -0
  84. package/dist/finstrong/components/SpendLessThanYouMake/SpendLessThanYouMakeComponent.d.ts +3 -0
  85. package/dist/finstrong/components/SpendLessThanYouMake/SpendLessThanYouMakeProgressBar.d.ts +4 -0
  86. package/dist/finstrong/components/StatusChip.d.ts +5 -0
  87. package/dist/finstrong/components/onboarding/Onboarding.d.ts +2 -0
  88. package/dist/finstrong/components/onboarding/OnboardingAddMonthlyIncome.d.ts +11 -0
  89. package/dist/finstrong/components/onboarding/OnboardingBirthday.d.ts +8 -0
  90. package/dist/finstrong/components/onboarding/OnboardingCreditScore.d.ts +8 -0
  91. package/dist/finstrong/components/onboarding/OnboardingStepsDrawer.d.ts +14 -0
  92. package/dist/finstrong/components/onboarding/OnboardingStepsHeader.d.ts +8 -0
  93. package/dist/finstrong/components/paybillsontime/PayBillsOnTimeDrawerComponent.d.ts +4 -0
  94. package/dist/finstrong/components/paybillsontime/PayBillsOnTimeStickyComponent.d.ts +4 -0
  95. package/dist/finstrong/components/shared/Accounts.d.ts +8 -0
  96. package/dist/finstrong/components/shared/CustomDoubleBarPlot.d.ts +25 -0
  97. package/dist/finstrong/components/shared/DoubleBarChart.d.ts +28 -0
  98. package/dist/finstrong/components/shared/LineGraph.d.ts +7 -0
  99. package/dist/finstrong/components/shared/TotalCard.d.ts +8 -0
  100. package/dist/finstrong/components/shared/TransactionList.d.ts +15 -0
  101. package/dist/finstrong/components/shared/Transactions.d.ts +11 -0
  102. package/dist/finstrong/constants/index.d.ts +8 -0
  103. package/dist/finstrong/index.es.js +3119 -1044
  104. package/dist/finstrong/stores/FinstrongStore.d.ts +9 -1
  105. package/dist/finstrong/util/finstrongUtils.d.ts +58 -1
  106. package/dist/goals/index.es.js +14 -14
  107. package/dist/help/index.es.js +3 -3
  108. package/dist/{hooks-D6XlXHf4.mjs → hooks-C41HAxM5.mjs} +3 -3
  109. package/dist/investments/index.es.js +4 -4
  110. package/dist/merchants/index.es.js +1 -1
  111. package/dist/networth/index.es.js +34 -34
  112. package/dist/notifications/index.es.js +4 -4
  113. package/dist/recurringtransactions/index.es.js +13 -13
  114. package/dist/settings/index.es.js +8 -8
  115. package/dist/spending/index.es.js +222 -373
  116. package/dist/transactions/index.es.js +15 -15
  117. package/dist/trends/index.es.js +94 -94
  118. package/dist/{useAccountDisplayName-BcRqfar8.mjs → useAccountDisplayName-B5O6hQ1B.mjs} +2 -2
  119. package/dist/{useInsightsEnabled-DBpwEq10.mjs → useInsightsEnabled-CNjP5cfR.mjs} +1 -1
  120. package/package.json +1 -1
  121. package/dist/CurrencyInput-CsCy7uaS.mjs +0 -83
  122. package/dist/Drawer-kEE73B87.mjs +0 -113
  123. package/dist/FinstrongStore-F2c607dj.mjs +0 -101
  124. package/dist/finstrong/utils/Finstrong.d.ts +0 -6
@@ -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-D6XlXHf4.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-D6XlXHf4.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-DaFRU5st.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-FyY0AWYQ.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-DfzPOeMI.mjs";
11
- import { u as D1 } from "../AccountDetailsContent-DfzPOeMI.mjs";
12
- import { u as z, A as P } from "../AccountDetailsHeader-vcy67tuH.mjs";
13
- import { A as W } from "../AccountListItem-DChcf3SN.mjs";
14
- import { a as Y } from "../AccountFields-cUP-9Hm6.mjs";
15
- import { g as U1, b as $1 } from "../AccountFields-cUP-9Hm6.mjs";
16
- import { u as w, b as S, d as T, g as D, a as q } from "../hooks-D6XlXHf4.mjs";
10
+ import { A as K } from "../AccountDetailsContent-BkurfGCr.mjs";
11
+ import { u as D1 } from "../AccountDetailsContent-BkurfGCr.mjs";
12
+ import { u as z, A as P } from "../AccountDetailsHeader-CaIoP_2Q.mjs";
13
+ import { A as W } from "../AccountListItem-CPm3572e.mjs";
14
+ import { a as Y } from "../AccountFields-CLbLAhLf.mjs";
15
+ import { g as U1, b as $1 } from "../AccountFields-CLbLAhLf.mjs";
16
+ import { u as w, b as S, d as T, g as D, a as q } from "../hooks-C41HAxM5.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-C88Ecu2W.mjs";
20
- import { C as X } from "../ConnectionsDrawer-DHJ7qdWL.mjs";
18
+ import { D as J } from "../Drawer-BEtCk82g.mjs";
19
+ import { A as y, W as Q } from "../WidgetContainer-GoNq8wwm.mjs";
20
+ import { C as X } from "../ConnectionsDrawer-Cd_rztVC.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-DaFRU5st.mjs";
24
- import { F as G1, M as K1 } from "../ConnectDrawer-DaFRU5st.mjs";
23
+ import { l as U, m as e1 } from "../ConnectDrawer-FyY0AWYQ.mjs";
24
+ import { F as G1, M as K1 } from "../ConnectDrawer-FyY0AWYQ.mjs";
25
25
  import t1 from "@mui/material/ListItem";
26
- import { M as $ } from "../MiniWidgetContainer-D0gfmbaF.mjs";
26
+ import { M as $ } from "../MiniWidgetContainer-CmXpTylX.mjs";
27
27
  import l1 from "@mui/material/Stack";
28
- import { A as P1, a as Y1 } from "../AccountStore-D6KiXA1B.mjs";
28
+ import { A as P1, a as Y1 } from "../AccountStore-DttEGFeu.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-D0gfmbaF.mjs";
12
- import { k as f, u as b, g as q, b as E } from "../hooks-D6XlXHf4.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 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, q as te, g as X, b as ne, h as oe, a as Ue, d as ve } from "../hooks-D6XlXHf4.mjs";
11
+ import { u as w, i as D, j as ee, m as j, q as te, g as X, b as ne, h as oe, a as Ue, d as ve } from "../hooks-C41HAxM5.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-CsCy7uaS.mjs";
23
- import { a as $ } from "../Dialog-CWW597AF.mjs";
24
- import { C as We } from "../ConnectionsDrawer-DHJ7qdWL.mjs";
22
+ import { C as He } from "../CurrencyInput-xH-hqry9.mjs";
23
+ import { D as $ } from "../Dialog-BPTr3qHE.mjs";
24
+ import { C as We } from "../ConnectionsDrawer-Cd_rztVC.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-C88Ecu2W.mjs";
31
- import { u as Ve } from "../BudgetUtil-B2ZXyw-g.mjs";
32
- import { M as Ye } from "../MiniWidgetContainer-D0gfmbaF.mjs";
30
+ import { A as L, W as Ke } from "../WidgetContainer-GoNq8wwm.mjs";
31
+ import { u as Ve } from "../BudgetUtil-wjoNuj7B.mjs";
32
+ import { M as Ye } from "../MiniWidgetContainer-CmXpTylX.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-7bVS7KXf.mjs";
40
- import { T as Te, a as tt } from "../TransactionDetails-BWffqew4.mjs";
39
+ import { e as et } from "../exportTransactionsToCSV-hrNpJ77n.mjs";
40
+ import { T as Te, a as tt } from "../TransactionDetails-CabNHK_I.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-DUe4lH5-.mjs";
45
+ import { u as nt, b as ot } from "../CategorySelectorDrawer-ZO9N26Kx.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-D3n1EWxe.mjs";
49
+ import { M as st } from "../ManageIncome-CqNstpx_.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: [
@@ -4,27 +4,27 @@ import { observer as T } from "mobx-react-lite";
4
4
  import { addMonths as Xe } from "date-fns/addMonths";
5
5
  import { startOfToday as $ } from "date-fns/startOfToday";
6
6
  import I from "@mui/material/Box";
7
- import D from "@mui/material/Divider";
7
+ import v from "@mui/material/Divider";
8
8
  import s from "@mui/material/Stack";
9
9
  import le from "@mui/material/styles/useTheme";
10
10
  import { Text as u, P as N, Icon as j, InstitutionLogo as ye, H1 as ue, H2 as Ye } from "@mxenabled/mxui";
11
- import { G as Qe, v as he, u as O, q as de, d as Ne, b as X, j as q, g as ke, p as He, h as Fe, a as Ve } from "../hooks-D6XlXHf4.mjs";
11
+ import { G as Qe, v as he, u as O, q as de, d as Ne, b as X, j as q, g as ke, p as He, h as Fe, a as Ve } from "../hooks-C41HAxM5.mjs";
12
12
  import { C as L } from "../CurrencyText-kyC1aseI.mjs";
13
13
  import { u as pe } from "../useScreenSize-B6JyS_Lj.mjs";
14
14
  import { L as oe } from "../Loader-DUaFpDGv.mjs";
15
15
  import { I as fe } from "../CashflowStore-D9Dpuz7X.mjs";
16
16
  import { C as jn } from "../CashflowStore-D9Dpuz7X.mjs";
17
17
  import { b as M } from "../Localization-2MODESHW.mjs";
18
- import { M as Ke } from "../MiniWidgetContainer-D0gfmbaF.mjs";
18
+ import { M as Ke } from "../MiniWidgetContainer-CmXpTylX.mjs";
19
19
  import { E as Je } from "../EmptyState-DA_lfRBv.mjs";
20
- import { R as Ze } from "../RecurringSettings-C28GrQcP.mjs";
20
+ import { R as Ze } from "../RecurringSettings-DfAMEAuh.mjs";
21
21
  import et from "@mui/material/Tabs";
22
22
  import Ce from "@mui/material/Tab";
23
23
  import { getUnixTime as U } from "date-fns/getUnixTime";
24
24
  import ne from "@mui/material/List";
25
25
  import ae from "@mui/material/ListItem";
26
- import { A as tt } from "../AccountListItem-DChcf3SN.mjs";
27
- import { f as Y, D as Q } from "../Dialog-CWW597AF.mjs";
26
+ import { A as tt } from "../AccountListItem-CPm3572e.mjs";
27
+ import { f as Y, a as Q } from "../Dialog-BPTr3qHE.mjs";
28
28
  import nt from "@mui/material/ListSubheader";
29
29
  import { f as te } from "../NumberFormatting-Buh7u8Oi.mjs";
30
30
  import { isAfter as We } from "date-fns/isAfter";
@@ -35,17 +35,17 @@ import { alpha as ot, keyframes as at } from "@mui/material/styles";
35
35
  import { DataGridPro as it } from "@mui/x-data-grid-pro";
36
36
  import { T as we } from "../TabContentContainer-j01JYR_7.mjs";
37
37
  import G from "@mui/material/Button";
38
- import { M as rt, S as st, i as ct, d as _e, c as lt } from "../ManageIncome-D3n1EWxe.mjs";
39
- import { D as Ge } from "../Drawer-kEE73B87.mjs";
38
+ import { M as rt, S as st, i as ct, d as _e, c as lt } from "../ManageIncome-CqNstpx_.mjs";
39
+ import { D as Ge } from "../Drawer-BEtCk82g.mjs";
40
40
  import { formatISO as dt } from "date-fns/formatISO";
41
41
  import { fromUnixTime as Ie } from "date-fns/fromUnixTime";
42
42
  import { startOfMonth as mt } from "date-fns/startOfMonth";
43
43
  import { subDays as je } from "date-fns/subDays";
44
- import { S as ut, b as ht } from "../TransactionDetails-BWffqew4.mjs";
45
- import { F as pt, R as De, e as ve } from "../RecurringTransactions-ej39mgA6.mjs";
46
- import { h as ft } from "../DateUtil-BcuH7ErC.mjs";
44
+ import { S as ut, b as ht } from "../TransactionDetails-CabNHK_I.mjs";
45
+ import { F as pt, R as ve, e as De } from "../RecurringTransactions-CngsRZ3K.mjs";
46
+ import { h as ft } from "../DateUtil-CBdcsyuk.mjs";
47
47
  import { endOfToday as gt } from "date-fns/endOfToday";
48
- import { W as Ae, A as Ee } from "../WidgetContainer-C88Ecu2W.mjs";
48
+ import { W as Ae, A as Ee } from "../WidgetContainer-GoNq8wwm.mjs";
49
49
  import { F as bt, A as B } from "../Fetch-87LIQbEA.mjs";
50
50
  const V = () => {
51
51
  if (!f.useContext(Qe))
@@ -76,7 +76,7 @@ const V = () => {
76
76
  setNextIncome: b,
77
77
  setSelectedCashAccounts: C,
78
78
  setUpcomingExpenses: _
79
- } = V(), { isDataLoaded: k, nextIncomeRecurrence: v, upcomingExpenses: F } = q();
79
+ } = V(), { isDataLoaded: k, nextIncomeRecurrence: D, upcomingExpenses: F } = q();
80
80
  f.useEffect(() => {
81
81
  p(i);
82
82
  }, [i]), f.useEffect(() => {
@@ -84,8 +84,8 @@ const V = () => {
84
84
  i.filter((w) => m.includes(w.guid))
85
85
  );
86
86
  }, [i, x]), f.useEffect(() => {
87
- v && b(v), _(F);
88
- }, [v, F]);
87
+ D && b(D), _(F);
88
+ }, [D, F]);
89
89
  const h = f.useMemo(
90
90
  () => i.filter((w) => m.includes(w.guid)).reduce((w, z) => w + (z?.balance || 0), 0),
91
91
  [m, F]
@@ -139,12 +139,12 @@ const V = () => {
139
139
  ) }),
140
140
  /* @__PURE__ */ e(L, { amount: g, bold: !0, variant: "XSmall" })
141
141
  ] }),
142
- /* @__PURE__ */ e(D, {}),
142
+ /* @__PURE__ */ e(v, {}),
143
143
  /* @__PURE__ */ o(s, { direction: "row", justifyContent: "space-between", p: 16, children: [
144
144
  /* @__PURE__ */ e(u, { variant: "Small", children: M(c.expenses_due, d.length) }),
145
145
  /* @__PURE__ */ e(L, { amount: S, bold: !0, symbol: "-", variant: "XSmall" })
146
146
  ] }),
147
- /* @__PURE__ */ e(D, {}),
147
+ /* @__PURE__ */ e(v, {}),
148
148
  /* @__PURE__ */ e(
149
149
  s,
150
150
  {
@@ -159,7 +159,7 @@ const V = () => {
159
159
  children: /* @__PURE__ */ e(ge, { remaining: A })
160
160
  }
161
161
  ),
162
- /* @__PURE__ */ e(D, {}),
162
+ /* @__PURE__ */ e(v, {}),
163
163
  /* @__PURE__ */ o(s, { direction: "row", justifyContent: "space-between", p: 16, children: [
164
164
  /* @__PURE__ */ e(u, { variant: "Small", children: c.next_paycheck }),
165
165
  /* @__PURE__ */ e(u, { bold: !0, variant: "XSmall", children: M(c.days, r) })
@@ -233,7 +233,7 @@ const _t = ({ recurrence: a }) => /* @__PURE__ */ o(P, { children: [
233
233
  }
234
234
  )
235
235
  ] }),
236
- /* @__PURE__ */ e(D, {})
236
+ /* @__PURE__ */ e(v, {})
237
237
  ] }), Te = T(_t), It = ({ total: a, type: n }) => {
238
238
  const { cashflow: t } = O();
239
239
  return /* @__PURE__ */ o(P, { children: [
@@ -258,9 +258,9 @@ const _t = ({ recurrence: a }) => /* @__PURE__ */ o(P, { children: [
258
258
  ]
259
259
  }
260
260
  ),
261
- /* @__PURE__ */ e(D, {})
261
+ /* @__PURE__ */ e(v, {})
262
262
  ] });
263
- }, Re = T(It), ce = (a, n) => (t) => t.accountGuid === a.guid && (Me(t.expectedDate) || We(t.expectedDate, n.start)) && $e(t.expectedDate, n.end), Dt = () => {
263
+ }, Re = T(It), ce = (a, n) => (t) => t.accountGuid === a.guid && (Me(t.expectedDate) || We(t.expectedDate, n.start)) && $e(t.expectedDate, n.end), vt = () => {
264
264
  const { availableWidth: a } = de(), { cashflow: n } = O(), { upcomingExpenses: t, upcomingIncome: i } = q(), { dateRange: g, selectedCashAccounts: x } = V();
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 _t = ({ recurrence: a }) => /* @__PURE__ */ o(P, { children: [
303
303
  }
304
304
  }
305
305
  ),
306
- /* @__PURE__ */ e(D, {}),
306
+ /* @__PURE__ */ e(v, {}),
307
307
  p.length > 0 && /* @__PURE__ */ e(ae, { children: /* @__PURE__ */ e(
308
308
  ne,
309
309
  {
@@ -332,7 +332,7 @@ const _t = ({ recurrence: a }) => /* @__PURE__ */ o(P, { children: [
332
332
  );
333
333
  }) })
334
334
  ] });
335
- }, vt = T(Dt), At = () => {
335
+ }, Dt = T(vt), At = () => {
336
336
  const { availableWidth: a } = de(), n = le(), { cashflow: t } = O(), { upcomingExpenses: i, upcomingIncome: g } = q(), { dateRange: x, selectedCashAccounts: m } = V(), p = [
337
337
  {
338
338
  field: "account",
@@ -515,7 +515,7 @@ const _t = ({ recurrence: a }) => /* @__PURE__ */ o(P, { children: [
515
515
  ]
516
516
  }
517
517
  ),
518
- /* @__PURE__ */ e(D, { sx: { width: "100%" } }),
518
+ /* @__PURE__ */ e(v, { sx: { width: "100%" } }),
519
519
  /* @__PURE__ */ o(
520
520
  s,
521
521
  {
@@ -530,7 +530,7 @@ const _t = ({ recurrence: a }) => /* @__PURE__ */ o(P, { children: [
530
530
  ]
531
531
  }
532
532
  ),
533
- /* @__PURE__ */ e(D, { sx: { width: "100%" } }),
533
+ /* @__PURE__ */ e(v, { sx: { width: "100%" } }),
534
534
  /* @__PURE__ */ o(
535
535
  s,
536
536
  {
@@ -545,7 +545,7 @@ const _t = ({ recurrence: a }) => /* @__PURE__ */ o(P, { children: [
545
545
  ]
546
546
  }
547
547
  ),
548
- /* @__PURE__ */ e(D, { sx: { width: "100%" } }),
548
+ /* @__PURE__ */ e(v, { sx: { width: "100%" } }),
549
549
  /* @__PURE__ */ e(
550
550
  s,
551
551
  {
@@ -612,7 +612,7 @@ const _t = ({ recurrence: a }) => /* @__PURE__ */ o(P, { children: [
612
612
  ),
613
613
  /* @__PURE__ */ e(I, { sx: { mb: 32 } }),
614
614
  /* @__PURE__ */ e(we, { index: 0, name: "cashflow", value: i, children: /* @__PURE__ */ e(I, { sx: { m: n ? 48 : 16 }, children: /* @__PURE__ */ e(Et, {}) }) }),
615
- /* @__PURE__ */ e(we, { index: 1, name: "cashflow", value: i, children: /* @__PURE__ */ e(I, { sx: { m: n ? 48 : 16 }, children: /* @__PURE__ */ e(vt, {}) }) })
615
+ /* @__PURE__ */ e(we, { index: 1, name: "cashflow", value: i, children: /* @__PURE__ */ e(I, { sx: { m: n ? 48 : 16 }, children: /* @__PURE__ */ e(Dt, {}) }) })
616
616
  ] });
617
617
  }, Rt = T(Tt), se = ({
618
618
  amount: a,
@@ -648,7 +648,7 @@ const _t = ({ recurrence: a }) => /* @__PURE__ */ o(P, { children: [
648
648
  ), C = f.useMemo(
649
649
  () => c.reduce((S, A) => S + (A?.balance || 0), 0),
650
650
  [c]
651
- ), _ = l.reduce((S, A) => S + A.amount, 0), k = b.reduce((S, A) => S + A.amount, 0), v = C - _ + k, F = i && t.length > 0, h = a < 725;
651
+ ), _ = l.reduce((S, A) => S + A.amount, 0), k = b.reduce((S, A) => S + A.amount, 0), D = C - _ + k, F = i && t.length > 0, h = a < 725;
652
652
  return /* @__PURE__ */ o(s, { sx: { mx: h ? 16 : 0, my: h ? 24 : 42 }, children: [
653
653
  /* @__PURE__ */ o(
654
654
  s,
@@ -668,7 +668,7 @@ const _t = ({ recurrence: a }) => /* @__PURE__ */ o(P, { children: [
668
668
  label: M(n.cash_and_bank, c.length)
669
669
  }
670
670
  ),
671
- h && /* @__PURE__ */ e(D, {}),
671
+ h && /* @__PURE__ */ e(v, {}),
672
672
  F ? /* @__PURE__ */ o(P, { children: [
673
673
  !h && /* @__PURE__ */ e(u, { sx: { fontSize: 25, lineHeight: 1 }, children: "+" }),
674
674
  /* @__PURE__ */ e(
@@ -689,7 +689,7 @@ const _t = ({ recurrence: a }) => /* @__PURE__ */ o(P, { children: [
689
689
  children: n.add_income
690
690
  }
691
691
  ),
692
- h ? /* @__PURE__ */ e(D, {}) : /* @__PURE__ */ e(u, { sx: { fontSize: 25, lineHeight: 1 }, children: "-" }),
692
+ h ? /* @__PURE__ */ e(v, {}) : /* @__PURE__ */ e(u, { sx: { fontSize: 25, lineHeight: 1 }, children: "-" }),
693
693
  /* @__PURE__ */ e(
694
694
  se,
695
695
  {
@@ -699,11 +699,11 @@ const _t = ({ recurrence: a }) => /* @__PURE__ */ o(P, { children: [
699
699
  symbol: h ? "-" : void 0
700
700
  }
701
701
  ),
702
- h ? /* @__PURE__ */ e(D, {}) : /* @__PURE__ */ e(u, { sx: { fontSize: 25, lineHeight: 1 }, children: "=" }),
702
+ h ? /* @__PURE__ */ e(v, {}) : /* @__PURE__ */ e(u, { sx: { fontSize: 25, lineHeight: 1 }, children: "=" }),
703
703
  /* @__PURE__ */ e(
704
704
  se,
705
705
  {
706
- amount: v,
706
+ amount: D,
707
707
  isMobile: h,
708
708
  isTotal: h,
709
709
  label: n.remaining_cash,
@@ -819,11 +819,11 @@ const _t = ({ recurrence: a }) => /* @__PURE__ */ o(P, { children: [
819
819
  transform: rotate(360deg);
820
820
  }
821
821
  `, $t = () => {
822
- const { addRepeatingTransaction: a, repeatingTransactions: n } = q(), { cashflow: t, common: i } = O(), { user: g } = He(), { completeOnboarding: x } = he(), { isDirty: m } = V(), { isMobile: p } = pe(), { isCopyLoaded: c, setDisplayedDate: r } = X(), { filter: d, setFilter: l, transactions: b } = Fe(), C = le(), [_, k] = ee(!0), [v, F] = f.useState(pt.EveryMonth), [h, S] = f.useState(1), [A, w] = f.useState(15), [z, re] = ee(!1), [K, J] = ee(1), [R, me] = ee([]), [Z, H] = ee(""), W = f.useMemo(
822
+ const { addRepeatingTransaction: a, repeatingTransactions: n } = q(), { cashflow: t, common: i } = O(), { user: g } = He(), { completeOnboarding: x } = he(), { isDirty: m } = V(), { isMobile: p } = pe(), { isCopyLoaded: c, setDisplayedDate: r } = X(), { filter: d, setFilter: l, transactions: b } = Fe(), C = le(), [_, k] = ee(!0), [D, F] = f.useState(pt.EveryMonth), [h, S] = f.useState(1), [A, w] = f.useState(15), [z, re] = ee(!1), [K, J] = ee(1), [R, me] = ee([]), [Z, H] = ee(""), W = f.useMemo(
823
823
  () => b.find((y) => y.guid === Z),
824
824
  [Z, b]
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
  J(2), r(
829
829
  // Beginning of the month, 90 days before today
@@ -834,7 +834,7 @@ const _t = ({ recurrence: a }) => /* @__PURE__ */ o(P, { children: [
834
834
  if (!(R.length < 1)) {
835
835
  re(!0);
836
836
  for (let y = 0; y < R.length; y++) {
837
- const E = R[y], xe = ve(v, Ie(E.date)), qe = {
837
+ const E = R[y], xe = De(D, Ie(E.date)), qe = {
838
838
  account_guid: E.account_guid,
839
839
  amount: E.amount,
840
840
  created_by: 0,
@@ -843,8 +843,8 @@ const _t = ({ recurrence: a }) => /* @__PURE__ */ o(P, { children: [
843
843
  description: E.feed_description || E.description,
844
844
  predicted_occurs_on: dt(xe, { representation: "date" }),
845
845
  recurrence_day: xe.getDay(),
846
- recurrence_type: v,
847
- repeating_transaction_type: De.Income,
846
+ recurrence_type: D,
847
+ repeating_transaction_type: ve.Income,
848
848
  second_recurrence_day: A,
849
849
  transaction_type: E.transaction_type,
850
850
  user_guid: g.guid
@@ -901,10 +901,10 @@ const _t = ({ recurrence: a }) => /* @__PURE__ */ o(P, { children: [
901
901
  U(y.nextDate || y.date)
902
902
  ) }),
903
903
  /* @__PURE__ */ e(ht, { transaction: y }),
904
- E !== R.length - 1 && /* @__PURE__ */ e(D, {})
904
+ E !== R.length - 1 && /* @__PURE__ */ e(v, {})
905
905
  ] }, y.guid)) }),
906
906
  /* @__PURE__ */ o(s, { alignItems: "center", direction: "row", children: [
907
- /* @__PURE__ */ e(D, { sx: { flexGrow: 1 } }),
907
+ /* @__PURE__ */ e(v, { sx: { flexGrow: 1 } }),
908
908
  /* @__PURE__ */ e(
909
909
  G,
910
910
  {
@@ -935,7 +935,7 @@ const _t = ({ recurrence: a }) => /* @__PURE__ */ o(P, { children: [
935
935
  {
936
936
  bgcolor: "background.paper",
937
937
  firstDay: h,
938
- frequency: v,
938
+ frequency: D,
939
939
  onFirstDayChange: S,
940
940
  onFrequencyChange: F,
941
941
  onSecondDayChange: w,
@@ -952,8 +952,8 @@ const _t = ({ recurrence: a }) => /* @__PURE__ */ o(P, { children: [
952
952
  const y = [...R];
953
953
  y.push({
954
954
  ...W,
955
- nextDate: ve(v, Ie(W.date)),
956
- frequency: v
955
+ nextDate: De(D, Ie(W.date)),
956
+ frequency: D
957
957
  }), me(y), H("");
958
958
  },
959
959
  variant: "contained",
@@ -1006,7 +1006,7 @@ const _t = ({ recurrence: a }) => /* @__PURE__ */ o(P, { children: [
1006
1006
  setSelectedAccounts: g,
1007
1007
  shouldDisableNextDate: x,
1008
1008
  shouldDisablePrevDate: m
1009
- } = X(), { onEvent: p } = ke(), { clientConfig: c } = Ve(), { visibleCashAccounts: r } = Ne(), { setFilter: d } = Fe(), { userProfile: l } = He(), { dateRange: b, setSelectedCashAccounts: C } = V(), { loadRepeatingTransactions: _, income: k, isDataLoaded: v, setDateRange: F } = q(), { cashflow: h, recurring: S } = O(), { isCopyLoaded: A, isInitialized: w } = X(), re = c?.master?.deep_link_params?.view === "manage_income", [K, J] = f.useState(re);
1009
+ } = X(), { onEvent: p } = ke(), { clientConfig: c } = Ve(), { visibleCashAccounts: r } = Ne(), { setFilter: d } = Fe(), { userProfile: l } = He(), { dateRange: b, setSelectedCashAccounts: C } = V(), { loadRepeatingTransactions: _, income: k, isDataLoaded: D, setDateRange: F } = q(), { cashflow: h, recurring: S } = O(), { isCopyLoaded: A, isInitialized: w } = X(), re = c?.master?.deep_link_params?.view === "manage_income", [K, J] = f.useState(re);
1010
1010
  f.useEffect(() => {
1011
1011
  w && (F(b), _().finally());
1012
1012
  }, [w]), f.useEffect(() => {
@@ -1020,7 +1020,7 @@ const _t = ({ recurrence: a }) => /* @__PURE__ */ o(P, { children: [
1020
1020
  accounts: Z.map((H) => H.guid)
1021
1021
  });
1022
1022
  }, [r, t]);
1023
- const R = v && !l?.has_completed_cash_flow_onboarding && !k.length;
1023
+ const R = D && !l?.has_completed_cash_flow_onboarding && !k.length;
1024
1024
  return !A || !w ? /* @__PURE__ */ e(oe, {}) : R ? /* @__PURE__ */ e(
1025
1025
  Ae,
1026
1026
  {
@@ -1,5 +1,5 @@
1
- import { b as o, C as a, a as t, u as C } from "../CategorySelectorDrawer-DUe4lH5-.mjs";
2
- import { C as g } from "../CategoryStore-BCcpI3oJ.mjs";
1
+ import { b as o, C as a, a as t, u as C } from "../CategorySelectorDrawer-ZO9N26Kx.mjs";
2
+ import { C as g } from "../CategoryStore-C1IfDPCE.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;
@@ -37,13 +38,18 @@ interface LineChartProps {
37
38
  left?: number;
38
39
  };
39
40
  markHandlers?: MarkHandlers;
40
- markStyles?: (markIndex: number) => CSSProperties;
41
+ markStyles?: (markIndex: number) => React.CSSProperties & {
42
+ markLabelStyles?: React.CSSProperties;
43
+ };
44
+ minRange?: number;
45
+ maxRange?: number;
41
46
  onItemClick?: () => void;
42
47
  showArea?: boolean;
43
48
  showAverage?: boolean;
44
49
  showAxisHighlight?: boolean;
45
50
  showBars?: boolean;
46
51
  showLegend?: boolean;
52
+ showMark?: boolean;
47
53
  showMarkLabel?: boolean;
48
54
  showTooltip?: boolean;
49
55
  showXAxis?: boolean;
@@ -8,7 +8,11 @@ export type MarkHandlers = {
8
8
  interface CustomMarkProps extends MarkElementProps {
9
9
  handlers?: MarkHandlers;
10
10
  showLabel: boolean;
11
+ showMark?: boolean;
11
12
  yData: number[];
13
+ style?: React.CSSProperties & {
14
+ markLabelStyles?: React.CSSProperties;
15
+ };
12
16
  labelBackgroundColor?: string;
13
17
  labelFontColor?: string;
14
18
  labelFontSize?: number;
@@ -1,4 +1,5 @@
1
1
  import { default as React } from 'react';
2
+ import { default as Button } from '@mui/material/Button';
2
3
  import { SxProps } from '@mui/material/styles';
3
4
  export type CopyObject = {
4
5
  close_drawer_aria: string;
@@ -6,6 +7,7 @@ export type CopyObject = {
6
7
  interface DrawerProps {
7
8
  ariaLabelClose?: string;
8
9
  className?: string;
10
+ footerStyles?: SxProps;
9
11
  hasSecondaryAction?: boolean;
10
12
  id?: string;
11
13
  isOpen: boolean;
@@ -13,6 +15,7 @@ interface DrawerProps {
13
15
  onClose: () => void;
14
16
  onPrimaryAction?: () => void;
15
17
  onSecondaryAction?: () => void;
18
+ primaryButtonProps?: React.ComponentProps<typeof Button>;
16
19
  primaryColor?: 'primary' | 'inherit' | 'secondary' | 'success' | 'error' | 'info' | 'warning';
17
20
  primaryText?: string;
18
21
  secondaryColor?: 'primary' | 'inherit' | 'secondary' | 'success' | 'error' | 'info' | 'warning';
@@ -0,0 +1,17 @@
1
+ import { default as Button } from '@mui/material/Button';
2
+ import { SxProps } from '@mui/material/styles';
3
+ type Color = 'primary' | 'inherit' | 'secondary' | 'success' | 'error' | 'info' | 'warning';
4
+ type FooterProps = {
5
+ footerStyles?: SxProps;
6
+ hasSecondaryAction?: boolean;
7
+ isPrimaryDisabled?: boolean;
8
+ onPrimaryAction?: () => void;
9
+ onSecondaryAction?: () => void;
10
+ primaryButtonProps?: React.ComponentProps<typeof Button>;
11
+ primaryColor?: Color;
12
+ primaryText?: string;
13
+ secondaryColor?: Color;
14
+ secondaryText?: string;
15
+ };
16
+ declare const Footer: ({ footerStyles, hasSecondaryAction, isPrimaryDisabled, onPrimaryAction, onSecondaryAction, primaryButtonProps, primaryColor, primaryText, secondaryColor, secondaryText, }: FooterProps) => import("react/jsx-runtime").JSX.Element;
17
+ export default Footer;