@mx-cartographer/experiences 7.1.4-ram2-alpha-finstrong-credit-score-graph-check → 7.1.5-alpha.sms1

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 (127) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/dist/{Account-CpRTVIHg.mjs → Account-8IUM_CLv.mjs} +1 -1
  3. package/dist/{AccountDetailsContent-6aPMU6Hp.mjs → AccountDetailsContent-CuZSSAEc.mjs} +10 -10
  4. package/dist/{AccountDetailsHeader-BkUZYoV8.mjs → AccountDetailsHeader-BZBsIKdF.mjs} +8 -8
  5. package/dist/{AccountFields-DOLjKu5l.mjs → AccountFields-BD_0GT68.mjs} +5 -5
  6. package/dist/{AccountListItem-CTT5m4qx.mjs → AccountListItem-CllIBCao.mjs} +4 -4
  7. package/dist/{AccountStore-DTfpr3h0.mjs → AccountStore-BL0FE1QL.mjs} +15 -26
  8. package/dist/{Accounts-D0BmvNxn.mjs → Accounts-Bvc9TJaO.mjs} +1 -1
  9. package/dist/{BudgetUtil-D2Jcp-E-.mjs → BudgetUtil-psfk-Amb.mjs} +1 -1
  10. package/dist/{CategorySelectorDrawer-DomNyubP.mjs → CategorySelectorDrawer-BmenK5bu.mjs} +3 -3
  11. package/dist/{CategoryStore-C1IfDPCE.mjs → CategoryStore-BCcpI3oJ.mjs} +1 -1
  12. package/dist/{CategoryUtil-DUM8NuGO.mjs → CategoryUtil-BR3H5i6n.mjs} +1 -1
  13. package/dist/{ConnectDrawer--gJHyp-S.mjs → ConnectDrawer-CPTXh70j.mjs} +2 -2
  14. package/dist/{ConnectionsDrawer-DabiwV9L.mjs → ConnectionsDrawer-Dkb4vBmt.mjs} +3 -3
  15. package/dist/{CurrencyInput-CC5cwVit.mjs → CurrencyInput-C4xNRL2W.mjs} +1 -1
  16. package/dist/{DateUtil-CBdcsyuk.mjs → DateUtil-BcuH7ErC.mjs} +3 -3
  17. package/dist/{DebtsStore-9aR2sTJQ.mjs → DebtsStore-D4grpB4m.mjs} +1 -1
  18. package/dist/{Dialog-BPTr3qHE.mjs → Dialog-CWW597AF.mjs} +2 -2
  19. package/dist/Drawer-kEE73B87.mjs +113 -0
  20. package/dist/{ExportCsvAction-Um-CDa4C.mjs → ExportCsvAction-CBJAfyAw.mjs} +3 -3
  21. package/dist/FinstrongStore-F2c607dj.mjs +101 -0
  22. package/dist/{GoalStore-CiBKZvTg.mjs → GoalStore-B5MZzPLZ.mjs} +3 -3
  23. package/dist/{Help-BZ8pIkkR.mjs → Help-CzBAsKA2.mjs} +2 -2
  24. package/dist/LineChart-B35qvXik.mjs +541 -0
  25. package/dist/{ListItemAction-DGaxy7oz.mjs → ListItemAction-DSrYDGAP.mjs} +10 -10
  26. package/dist/{ManageIncome-BaNgfwr5.mjs → ManageIncome-DUuT-yMV.mjs} +32 -34
  27. package/dist/{MicroWidgetContainer-C3iV1FBR.mjs → MicroWidgetContainer-C4QQHfD7.mjs} +1 -1
  28. package/dist/{MiniWidgetContainer-LtXXgZ6H.mjs → MiniWidgetContainer-DTQdRK-3.mjs} +1 -1
  29. package/dist/{NetWorthStore-MnpP5KEc.mjs → NetWorthStore-Do1Gk8Te.mjs} +2 -2
  30. package/dist/{NotificationSettings-Ckx8tgQj.mjs → NotificationSettings-BuShgjn6.mjs} +5 -5
  31. package/dist/{OriginalBalanceAction-CGZDUsCc.mjs → OriginalBalanceAction-BsxcvNEF.mjs} +3 -3
  32. package/dist/{RecurringSettings-DE4T4yQy.mjs → RecurringSettings-BVOt46uV.mjs} +4 -4
  33. package/dist/{RecurringTransactions-CngsRZ3K.mjs → RecurringTransactions-ej39mgA6.mjs} +44 -45
  34. package/dist/{RecurringTransactionsStore-C4RVULF8.mjs → RecurringTransactionsStore-DrzS1LmF.mjs} +1 -1
  35. package/dist/{SpendingData-BuJ03S9d.mjs → SpendingData-D5vsfYKo.mjs} +16 -16
  36. package/dist/{TransactionDetails-DRlrltGq.mjs → TransactionDetails-_cXLXTd3.mjs} +8 -11
  37. package/dist/{TransactionStore-D8MKYDMb.mjs → TransactionStore-B-Tq_YFE.mjs} +3 -3
  38. package/dist/{TrendsStore-DL3Vuh71.mjs → TrendsStore-ZZ8X36lJ.mjs} +14 -14
  39. package/dist/{User-BthIKO4w.mjs → User-DaJAQ09j.mjs} +2 -2
  40. package/dist/{ViewMoreMicroCard-DTtQNV3D.mjs → ViewMoreMicroCard-K-RUX-V6.mjs} +175 -197
  41. package/dist/{WidgetContainer-DJA1bxLn.mjs → WidgetContainer-DtPnPQZY.mjs} +4 -4
  42. package/dist/accounts/index.es.js +14 -14
  43. package/dist/accounts/stores/AccountStore.d.ts +0 -2
  44. package/dist/analytics/index.es.js +2 -2
  45. package/dist/budgets/index.es.js +12 -12
  46. package/dist/cashflow/index.es.js +11 -11
  47. package/dist/categories/index.es.js +2 -2
  48. package/dist/common/components/Select.d.ts +2 -4
  49. package/dist/common/components/charts/LineChart.d.ts +0 -2
  50. package/dist/common/components/charts/linechart/CustomMark.d.ts +0 -2
  51. package/dist/common/components/drawer/Drawer.d.ts +0 -3
  52. package/dist/common/index.es.js +33 -33
  53. package/dist/common/types/Finstrong.d.ts +0 -50
  54. package/dist/common/types/index.d.ts +1 -1
  55. package/dist/common/types/localization/FinstrongCopy.d.ts +1 -57
  56. package/dist/dashboard/index.es.js +2 -2
  57. package/dist/debts/index.es.js +11 -11
  58. package/dist/{exportTransactionsToCSV-XqdHNe2V.mjs → exportTransactionsToCSV-D8TTNrrE.mjs} +2 -2
  59. package/dist/finstrong/api/FinstrongApi.d.ts +0 -5
  60. package/dist/finstrong/components/ConnectMoreAccountsCard.d.ts +1 -2
  61. package/dist/finstrong/components/KeyIndicatorsBorrowTab.d.ts +2 -2
  62. package/dist/finstrong/components/KeyIndicatorsDrawer.d.ts +1 -1
  63. package/dist/finstrong/components/KeyIndicatorsSaveTab.d.ts +2 -2
  64. package/dist/finstrong/components/KeyIndicatorsSpendTab.d.ts +2 -2
  65. package/dist/finstrong/components/KeyIndicatorsTabItem.d.ts +3 -4
  66. package/dist/finstrong/components/KeyIndicatorsTabsWidget.d.ts +2 -2
  67. package/dist/finstrong/index.es.js +1008 -2890
  68. package/dist/finstrong/stores/FinstrongStore.d.ts +1 -9
  69. package/dist/finstrong/util/finstrongUtils.d.ts +1 -65
  70. package/dist/finstrong/utils/Finstrong.d.ts +6 -0
  71. package/dist/goals/index.es.js +14 -14
  72. package/dist/help/index.es.js +3 -3
  73. package/dist/{hooks-CBST3rkm.mjs → hooks-CE2TKk4a.mjs} +3 -3
  74. package/dist/investments/index.es.js +4 -4
  75. package/dist/merchants/index.es.js +1 -1
  76. package/dist/microinsights/index.es.js +1 -1
  77. package/dist/networth/index.es.js +34 -34
  78. package/dist/notifications/index.es.js +4 -4
  79. package/dist/recurringtransactions/index.es.js +13 -13
  80. package/dist/settings/index.es.js +8 -8
  81. package/dist/spending/index.es.js +373 -222
  82. package/dist/transactions/index.es.js +15 -15
  83. package/dist/trends/index.es.js +16 -16
  84. package/dist/{useAccountDisplayName-DH1CuQ9R.mjs → useAccountDisplayName-BXGkZN5B.mjs} +2 -2
  85. package/dist/{useInsightsEnabled-jdvS1ppf.mjs → useInsightsEnabled-DSnpkUq0.mjs} +1 -1
  86. package/package.json +1 -1
  87. package/dist/Drawer-BEtCk82g.mjs +0 -163
  88. package/dist/FinstrongStore-CC4SrBjA.mjs +0 -436
  89. package/dist/LineChart-CE3oLBQ0.mjs +0 -566
  90. package/dist/SpendingLegend-D24CEkL3.mjs +0 -170
  91. package/dist/accounts/components/AccountsListCompact.d.ts +0 -10
  92. package/dist/common/components/drawer/Footer.d.ts +0 -17
  93. package/dist/finstrong/components/CreditOverTimeGraph.d.ts +0 -1
  94. package/dist/finstrong/components/CreditScore/CreditScoreContent.d.ts +0 -4
  95. package/dist/finstrong/components/CreditScore/CreditScoreHeader.d.ts +0 -4
  96. package/dist/finstrong/components/HaveManageableDebt/DebtPaymentTabContent.d.ts +0 -3
  97. package/dist/finstrong/components/HaveManageableDebt/HaveManageableDebtComponent.d.ts +0 -3
  98. package/dist/finstrong/components/HaveManageableDebt/HaveManageableDebtProgressBar.d.ts +0 -4
  99. package/dist/finstrong/components/HaveManageableDebt/IncomeTabContent.d.ts +0 -3
  100. package/dist/finstrong/components/KeyIndicatorsTabItemDrawer.d.ts +0 -10
  101. package/dist/finstrong/components/MaintainingEmergencySavings/EstimatedContributionCalculator.d.ts +0 -6
  102. package/dist/finstrong/components/MaintainingEmergencySavings/MaintainingEmergencySavingsContent.d.ts +0 -4
  103. package/dist/finstrong/components/MaintainingEmergencySavings/MaintainingEmergencySavingsSticky.d.ts +0 -4
  104. package/dist/finstrong/components/ProgressBar.d.ts +0 -15
  105. package/dist/finstrong/components/SaveEnoughToLiveOn/AvailableTabContent.d.ts +0 -3
  106. package/dist/finstrong/components/SaveEnoughToLiveOn/SaveEnoughToLiveOnDrawerContent.d.ts +0 -3
  107. package/dist/finstrong/components/SaveEnoughToLiveOn/SaveEnoughToLiveOnProgressBar.d.ts +0 -4
  108. package/dist/finstrong/components/SaveEnoughToLiveOn/SpendingTabContent.d.ts +0 -3
  109. package/dist/finstrong/components/SpendLessThanYouMake/SpendLessThanYouMakeComponent.d.ts +0 -3
  110. package/dist/finstrong/components/SpendLessThanYouMake/SpendLessThanYouMakeProgressBar.d.ts +0 -4
  111. package/dist/finstrong/components/StatusChip.d.ts +0 -5
  112. package/dist/finstrong/components/onboarding/Onboarding.d.ts +0 -2
  113. package/dist/finstrong/components/onboarding/OnboardingAddMonthlyIncome.d.ts +0 -11
  114. package/dist/finstrong/components/onboarding/OnboardingBirthday.d.ts +0 -8
  115. package/dist/finstrong/components/onboarding/OnboardingCreditScore.d.ts +0 -8
  116. package/dist/finstrong/components/onboarding/OnboardingStepsDrawer.d.ts +0 -14
  117. package/dist/finstrong/components/onboarding/OnboardingStepsHeader.d.ts +0 -8
  118. package/dist/finstrong/components/paybillsontime/PayBillsOnTimeDrawerComponent.d.ts +0 -4
  119. package/dist/finstrong/components/paybillsontime/PayBillsOnTimeStickyComponent.d.ts +0 -4
  120. package/dist/finstrong/components/shared/Accounts.d.ts +0 -8
  121. package/dist/finstrong/components/shared/CustomDoubleBarPlot.d.ts +0 -25
  122. package/dist/finstrong/components/shared/DoubleBarChart.d.ts +0 -28
  123. package/dist/finstrong/components/shared/LineGraph.d.ts +0 -7
  124. package/dist/finstrong/components/shared/TotalCard.d.ts +0 -8
  125. package/dist/finstrong/components/shared/TransactionList.d.ts +0 -15
  126. package/dist/finstrong/components/shared/Transactions.d.ts +0 -11
  127. package/dist/finstrong/constants/index.d.ts +0 -8
@@ -1,170 +0,0 @@
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
- };
@@ -1,10 +0,0 @@
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;
@@ -1,17 +0,0 @@
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;
@@ -1 +0,0 @@
1
- export declare const CreditOverTimeGraph: () => import("react/jsx-runtime").JSX.Element;
@@ -1,4 +0,0 @@
1
- declare const _default: (() => import("react/jsx-runtime").JSX.Element) & {
2
- displayName: string;
3
- };
4
- export default _default;
@@ -1,4 +0,0 @@
1
- declare const _default: (() => import("react/jsx-runtime").JSX.Element) & {
2
- displayName: string;
3
- };
4
- export default _default;
@@ -1,3 +0,0 @@
1
- import { default as React } from 'react';
2
- declare const _default: React.FunctionComponent<{}>;
3
- export default _default;
@@ -1,3 +0,0 @@
1
- import { default as React } from 'react';
2
- declare const _default: React.FunctionComponent<{}>;
3
- export default _default;
@@ -1,4 +0,0 @@
1
- declare const _default: (() => import("react/jsx-runtime").JSX.Element) & {
2
- displayName: string;
3
- };
4
- export default _default;
@@ -1,3 +0,0 @@
1
- import { default as React } from 'react';
2
- declare const _default: React.FunctionComponent<{}>;
3
- export default _default;
@@ -1,10 +0,0 @@
1
- import { KeyIndicatorsTabItemType } from '../constants';
2
- interface KeyIndicatorsTabItemDrawerProps {
3
- drawerFor: KeyIndicatorsTabItemType;
4
- isOpen: boolean;
5
- onClose: () => void;
6
- }
7
- declare const _default: (({ drawerFor, isOpen, onClose, }: KeyIndicatorsTabItemDrawerProps) => import("react/jsx-runtime").JSX.Element) & {
8
- displayName: string;
9
- };
10
- export default _default;
@@ -1,6 +0,0 @@
1
- declare const _default: (({ total }: {
2
- total: number;
3
- }) => import("react/jsx-runtime").JSX.Element) & {
4
- displayName: string;
5
- };
6
- export default _default;
@@ -1,4 +0,0 @@
1
- declare const _default: (() => import("react/jsx-runtime").JSX.Element) & {
2
- displayName: string;
3
- };
4
- export default _default;
@@ -1,4 +0,0 @@
1
- declare const _default: (() => import("react/jsx-runtime").JSX.Element) & {
2
- displayName: string;
3
- };
4
- export default _default;
@@ -1,15 +0,0 @@
1
- import { default as React } from 'react';
2
- export type ProgressBarStatus = 'GOOD' | 'FAIR' | 'OFF_TRACK' | 'MISSING';
3
- interface StatusBarDataItem {
4
- percentage: string;
5
- color?: string;
6
- }
7
- export interface ProgressBarProps {
8
- label: string;
9
- value: string;
10
- status: ProgressBarStatus;
11
- bottomComponent: React.ReactNode;
12
- statusBarData: StatusBarDataItem[];
13
- }
14
- declare const ProgressBar: React.FC<ProgressBarProps>;
15
- export default ProgressBar;
@@ -1,3 +0,0 @@
1
- import { default as React } from 'react';
2
- declare const _default: React.FunctionComponent<{}>;
3
- export default _default;
@@ -1,3 +0,0 @@
1
- import { default as React } from 'react';
2
- declare const _default: React.FunctionComponent<{}>;
3
- export default _default;
@@ -1,4 +0,0 @@
1
- declare const _default: (() => import("react/jsx-runtime").JSX.Element) & {
2
- displayName: string;
3
- };
4
- export default _default;
@@ -1,3 +0,0 @@
1
- import { default as React } from 'react';
2
- declare const _default: React.FunctionComponent<{}>;
3
- export default _default;
@@ -1,3 +0,0 @@
1
- import { default as React } from 'react';
2
- declare const _default: React.FunctionComponent<{}>;
3
- export default _default;
@@ -1,4 +0,0 @@
1
- declare const _default: (() => import("react/jsx-runtime").JSX.Element) & {
2
- displayName: string;
3
- };
4
- export default _default;
@@ -1,5 +0,0 @@
1
- import { CardStatus } from '../../common/constants/FinStrong';
2
- declare const StatusChip: ({ status }: {
3
- status: keyof typeof CardStatus;
4
- }) => import("react/jsx-runtime").JSX.Element;
5
- export default StatusChip;
@@ -1,2 +0,0 @@
1
- declare const Onboarding: () => import("react/jsx-runtime").JSX.Element;
2
- export default Onboarding;
@@ -1,11 +0,0 @@
1
- import { Transaction } from '../../../common';
2
- import { StepState } from './OnboardingStepsDrawer';
3
- interface OnboardingAddMonthlyIncomeProps {
4
- incomeTransactions: Transaction[];
5
- setCurrentStep: (step: StepState) => void;
6
- transaction: Transaction;
7
- }
8
- declare const _default: (({ incomeTransactions, setCurrentStep, transaction, }: OnboardingAddMonthlyIncomeProps) => import("react/jsx-runtime").JSX.Element) & {
9
- displayName: string;
10
- };
11
- export default _default;
@@ -1,8 +0,0 @@
1
- interface OnboardingBirthdayProps {
2
- selectedDate: number | null | undefined;
3
- setSelectedDate: (value: number | null | undefined) => void;
4
- }
5
- declare const _default: (({ selectedDate, setSelectedDate }: OnboardingBirthdayProps) => import("react/jsx-runtime").JSX.Element) & {
6
- displayName: string;
7
- };
8
- export default _default;
@@ -1,8 +0,0 @@
1
- interface OnboardingCreditScoreProps {
2
- creditScore: number;
3
- setCreditScore: (value: number) => void;
4
- }
5
- declare const _default: (({ creditScore, setCreditScore }: OnboardingCreditScoreProps) => import("react/jsx-runtime").JSX.Element) & {
6
- displayName: string;
7
- };
8
- export default _default;
@@ -1,14 +0,0 @@
1
- import { OnboardingSteps } from '../../../common/types/Finstrong';
2
- interface OnboardingStepsDrawerProps {
3
- isOpen: boolean;
4
- onClose: () => void;
5
- }
6
- type StepType = 'main' | 'detail';
7
- export interface StepState {
8
- step: OnboardingSteps;
9
- type: StepType;
10
- }
11
- declare const _default: (({ isOpen, onClose }: OnboardingStepsDrawerProps) => import("react/jsx-runtime").JSX.Element) & {
12
- displayName: string;
13
- };
14
- export default _default;
@@ -1,8 +0,0 @@
1
- interface OnboardingStepsHeaderProps {
2
- completeCopy: string;
3
- primaryText: string;
4
- secondaryText: string;
5
- value: number;
6
- }
7
- declare const OnboardingStepsHeader: ({ completeCopy, primaryText, secondaryText, value, }: OnboardingStepsHeaderProps) => import("react/jsx-runtime").JSX.Element;
8
- export default OnboardingStepsHeader;
@@ -1,4 +0,0 @@
1
- declare const _default: (() => import("react/jsx-runtime").JSX.Element) & {
2
- displayName: string;
3
- };
4
- export default _default;
@@ -1,4 +0,0 @@
1
- declare const _default: (() => import("react/jsx-runtime").JSX.Element) & {
2
- displayName: string;
3
- };
4
- export default _default;
@@ -1,8 +0,0 @@
1
- import { default as React } from 'react';
2
- import { AccountType } from '../../../common';
3
- interface AccountsProps {
4
- loadAccounts: AccountType[];
5
- loadMoreLabel: string;
6
- }
7
- declare const _default: React.FunctionComponent<AccountsProps>;
8
- export default _default;
@@ -1,25 +0,0 @@
1
- import { default as React } from 'react';
2
- import { SpringValue } from '@react-spring/web';
3
- interface BarStyleProps extends React.CSSProperties {
4
- x?: SpringValue<number>;
5
- y?: SpringValue<number>;
6
- }
7
- interface CustomDoubleBarPlotProps {
8
- color: string;
9
- data: DataSet[];
10
- series: Series;
11
- style: BarStyleProps;
12
- }
13
- interface Series {
14
- index: number;
15
- type: number;
16
- }
17
- export interface DataSet {
18
- comparison: number;
19
- formattedComparison: string;
20
- formattedMain: string;
21
- label: string;
22
- main: number;
23
- }
24
- export declare const CustomDoubleBarPlot: ({ color, data, series, style, ...restProps }: CustomDoubleBarPlotProps) => import("react/jsx-runtime").JSX.Element;
25
- export {};
@@ -1,28 +0,0 @@
1
- import { default as React } from 'react';
2
- export interface FinancialData {
3
- month: number;
4
- standard_spend: number;
5
- income: number;
6
- debt_spend: number;
7
- }
8
- export interface ChartDataPoint {
9
- label: string;
10
- main: number;
11
- comparison: number;
12
- formattedMain: string;
13
- formattedComparison: string;
14
- [key: string]: string | number;
15
- }
16
- export interface DoubleBarChartProps {
17
- chartFor: 'spending_vs_income' | 'debt_payment_vs_income';
18
- data: FinancialData[];
19
- title: string;
20
- buttonLabel?: string;
21
- legendLabelMain: string;
22
- legendLabelComparison: string;
23
- onClick?: () => void;
24
- totalMain?: string;
25
- totalComparison?: string;
26
- }
27
- declare const DoubleBarChart: React.FC<DoubleBarChartProps>;
28
- export default DoubleBarChart;
@@ -1,7 +0,0 @@
1
- import { default as React } from 'react';
2
- export type ChartType = 'savingsOverTime' | 'debtOverTime' | 'creditOverTime';
3
- interface LineGraphProps {
4
- chartFor: ChartType;
5
- }
6
- declare const _default: React.FunctionComponent<LineGraphProps>;
7
- export default _default;
@@ -1,8 +0,0 @@
1
- import { default as React } from 'react';
2
- interface TotalCardProps {
3
- balance: number | React.ReactNode;
4
- title: string;
5
- sx?: object;
6
- }
7
- declare const TotalCard: React.FC<TotalCardProps>;
8
- export default TotalCard;
@@ -1,15 +0,0 @@
1
- import { default as React } from 'react';
2
- import { Transaction } from '../../../common';
3
- export interface TransactionListProps {
4
- transactions: Transaction[];
5
- bgcolor?: string;
6
- height?: number | string;
7
- loader?: JSX.Element;
8
- onClick?: (guid: string) => void;
9
- showInsights?: boolean;
10
- showLoader?: boolean;
11
- width?: number | string;
12
- zeroState?: JSX.Element;
13
- }
14
- declare const _default: React.FunctionComponent<TransactionListProps>;
15
- export default _default;
@@ -1,11 +0,0 @@
1
- import { default as React } from 'react';
2
- import { Transaction } from '../../../common';
3
- interface TransactionsProps {
4
- transactions: Transaction[];
5
- amountColor?: string;
6
- amountPosition?: 'flex-start' | 'center' | 'flex-end';
7
- formatDate?: (date: number) => string;
8
- secondaryIcon?: React.ReactNode;
9
- }
10
- declare const Transactions: React.FC<TransactionsProps>;
11
- export default Transactions;
@@ -1,8 +0,0 @@
1
- export declare enum KeyIndicatorsTabItemType {
2
- SpendLessThanYouMake = "spendLessThanYouMake",
3
- PayBillsOnTime = "payBillsOnTime",
4
- SaveEnoughToLiveOn = "saveEnoughToLiveOn",
5
- MaintainEmergencySavings = "maintainEmergencySavings",
6
- HaveManageableDebt = "haveManageableDebt",
7
- HaveAGoodCreditScore = "haveAGoodCreditScore"
8
- }