@mx-cartographer/experiences 7.2.13-alpha.mm3 → 7.2.14-alpha.san1

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 (129) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/{Account-B-CuHOYf.mjs → Account-01wOyrH1.mjs} +1 -1
  3. package/dist/{AccountDetailsContent-bqByD9ea.mjs → AccountDetailsContent-C_ZRryuO.mjs} +10 -10
  4. package/dist/{AccountDetailsHeader-vcy67tuH.mjs → AccountDetailsHeader-D5h5tdeG.mjs} +8 -8
  5. package/dist/{AccountFields-cUP-9Hm6.mjs → AccountFields-CPkGZ3SD.mjs} +5 -5
  6. package/dist/{AccountListItem-DChcf3SN.mjs → AccountListItem-D4uG9yC-.mjs} +4 -4
  7. package/dist/{AccountStore-D6KiXA1B.mjs → AccountStore-DYwH7yC9.mjs} +40 -29
  8. package/dist/{Accounts-IeEtQjzA.mjs → Accounts-D7QljYas.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-CuUj16NH.mjs} +3 -2
  14. package/dist/{ConnectionsDrawer-DHJ7qdWL.mjs → ConnectionsDrawer-Bz4uwdFE.mjs} +14 -13
  15. package/dist/{CurrencyInput-DUsQbkXb.mjs → CurrencyInput-xH-hqry9.mjs} +1 -1
  16. package/dist/{DateUtil-BcuH7ErC.mjs → DateUtil-CBdcsyuk.mjs} +3 -3
  17. package/dist/{DebtsStore-z3VARSO6.mjs → DebtsStore-Bu8rRRSL.mjs} +1 -1
  18. package/dist/{Dialog-CWW597AF.mjs → Dialog-BPTr3qHE.mjs} +2 -2
  19. package/dist/Donut-oaQFlbit.mjs +86 -0
  20. package/dist/Drawer-BEtCk82g.mjs +163 -0
  21. package/dist/{EmptyState-DA_lfRBv.mjs → EmptyState-DoxNUae-.mjs} +24 -22
  22. package/dist/{ExportCsvAction-sX8Rg4Ov.mjs → ExportCsvAction-DlGZfm4y.mjs} +3 -3
  23. package/dist/FinstrongStore-1MFI6RcM.mjs +435 -0
  24. package/dist/{GoalStore-TD0BfzWX.mjs → GoalStore-Dcnj5pii.mjs} +3 -3
  25. package/dist/{Help-B6dIcujh.mjs → Help-BnPXM_N2.mjs} +2 -2
  26. package/dist/{LineChart-D4GI7nVh.mjs → LineChart-Ct9DNmhS.mjs} +209 -181
  27. package/dist/{ListItemAction-DHa3KJPs.mjs → ListItemAction-uobBrm_a.mjs} +10 -10
  28. package/dist/{ManageIncome-Cw-QhHiy.mjs → ManageIncome-C3bINPG2.mjs} +112 -111
  29. package/dist/{MicroWidgetContainer-DpeqN9n3.mjs → MicroWidgetContainer-DEiRnYVa.mjs} +1 -1
  30. package/dist/{MiniWidgetContainer-D0gfmbaF.mjs → MiniWidgetContainer-CmXpTylX.mjs} +1 -1
  31. package/dist/{NetWorthStore-B_1oulrt.mjs → NetWorthStore-CpL_kqvx.mjs} +2 -2
  32. package/dist/{NotificationSettings-DqrkNMod.mjs → NotificationSettings-BKKuULAd.mjs} +5 -5
  33. package/dist/{OriginalBalanceAction-CWuVvRq9.mjs → OriginalBalanceAction-CCmnsd7y.mjs} +3 -3
  34. package/dist/{RecurringSettings-Dhf7DHVC.mjs → RecurringSettings-B_mCFQhb.mjs} +4 -4
  35. package/dist/{RecurringTransactions-ej39mgA6.mjs → RecurringTransactions-CngsRZ3K.mjs} +45 -44
  36. package/dist/{RecurringTransactionsStore-DrzS1LmF.mjs → RecurringTransactionsStore-C4RVULF8.mjs} +1 -1
  37. package/dist/{SpendingData-D5vsfYKo.mjs → SpendingData-BuJ03S9d.mjs} +16 -16
  38. package/dist/SpendingLegend-CW8mIzqd.mjs +196 -0
  39. package/dist/{TransactionDetails-DW7T0W0z.mjs → TransactionDetails-CaJruWq3.mjs} +11 -8
  40. package/dist/{TransactionStore-DxPLdF3B.mjs → TransactionStore-DvOEbOzL.mjs} +3 -3
  41. package/dist/{TrendsStore-DCYbpXPO.mjs → TrendsStore-BVNxGsE4.mjs} +14 -14
  42. package/dist/{User-BQUxBeZV.mjs → User-wXzDI4M8.mjs} +2 -2
  43. package/dist/{WidgetContainer-C88Ecu2W.mjs → WidgetContainer-6dsjtOVg.mjs} +4 -4
  44. package/dist/accounts/components/AccountsListCompact.d.ts +10 -0
  45. package/dist/accounts/index.es.js +14 -14
  46. package/dist/accounts/stores/AccountStore.d.ts +2 -0
  47. package/dist/analytics/index.es.js +2 -2
  48. package/dist/budgets/index.es.js +456 -431
  49. package/dist/cashflow/index.es.js +45 -45
  50. package/dist/categories/index.es.js +2 -2
  51. package/dist/common/components/Select.d.ts +4 -2
  52. package/dist/common/components/charts/LineChart.d.ts +8 -2
  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 +35 -35
  57. package/dist/common/types/Finstrong.d.ts +50 -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 +58 -1
  61. package/dist/dashboard/index.es.js +2 -2
  62. package/dist/debts/index.es.js +11 -11
  63. package/dist/{exportTransactionsToCSV-7bVS7KXf.mjs → exportTransactionsToCSV-hrNpJ77n.mjs} +2 -2
  64. package/dist/finstrong/FinstrongWidget.d.ts +1 -1
  65. package/dist/finstrong/api/FinstrongApi.d.ts +5 -0
  66. package/dist/finstrong/components/ConnectMoreAccountsCard.d.ts +3 -1
  67. package/dist/finstrong/components/CreditScore/CreditScoreContent.d.ts +4 -0
  68. package/dist/finstrong/components/CreditScore/CreditScoreHeader.d.ts +4 -0
  69. package/dist/finstrong/components/HaveManageableDebt/DebtPaymentTabContent.d.ts +3 -0
  70. package/dist/finstrong/components/HaveManageableDebt/HaveManageableDebtComponent.d.ts +3 -0
  71. package/dist/finstrong/components/HaveManageableDebt/HaveManageableDebtProgressBar.d.ts +4 -0
  72. package/dist/finstrong/components/HaveManageableDebt/IncomeTabContent.d.ts +3 -0
  73. package/dist/finstrong/components/KeyIndicatorsBorrowTab.d.ts +2 -2
  74. package/dist/finstrong/components/KeyIndicatorsDrawer.d.ts +4 -1
  75. package/dist/finstrong/components/KeyIndicatorsSaveTab.d.ts +2 -2
  76. package/dist/finstrong/components/KeyIndicatorsSpendTab.d.ts +2 -2
  77. package/dist/finstrong/components/KeyIndicatorsTabItem.d.ts +4 -3
  78. package/dist/finstrong/components/KeyIndicatorsTabItemDrawer.d.ts +10 -0
  79. package/dist/finstrong/components/KeyIndicatorsTabsWidget.d.ts +2 -2
  80. package/dist/finstrong/components/MaintainingEmergencySavings/EstimatedContributionCalculator.d.ts +6 -0
  81. package/dist/finstrong/components/MaintainingEmergencySavings/MaintainingEmergencySavingsContent.d.ts +4 -0
  82. package/dist/finstrong/components/MaintainingEmergencySavings/MaintainingEmergencySavingsSticky.d.ts +4 -0
  83. package/dist/finstrong/components/ProgressBar.d.ts +15 -0
  84. package/dist/finstrong/components/SaveEnoughToLiveOn/AvailableTabContent.d.ts +3 -0
  85. package/dist/finstrong/components/SaveEnoughToLiveOn/SaveEnoughToLiveOnDrawerContent.d.ts +3 -0
  86. package/dist/finstrong/components/SaveEnoughToLiveOn/SaveEnoughToLiveOnProgressBar.d.ts +4 -0
  87. package/dist/finstrong/components/SaveEnoughToLiveOn/SpendingTabContent.d.ts +3 -0
  88. package/dist/finstrong/components/SpendLessThanYouMake/SpendLessThanYouMakeComponent.d.ts +3 -0
  89. package/dist/finstrong/components/SpendLessThanYouMake/SpendLessThanYouMakeProgressBar.d.ts +4 -0
  90. package/dist/finstrong/components/StatusChip.d.ts +5 -0
  91. package/dist/finstrong/components/onboarding/Onboarding.d.ts +2 -0
  92. package/dist/finstrong/components/onboarding/OnboardingAddMonthlyIncome.d.ts +17 -0
  93. package/dist/finstrong/components/onboarding/OnboardingBirthday.d.ts +8 -0
  94. package/dist/finstrong/components/onboarding/OnboardingCreditScore.d.ts +8 -0
  95. package/dist/finstrong/components/onboarding/OnboardingStepsDrawer.d.ts +14 -0
  96. package/dist/finstrong/components/onboarding/OnboardingStepsHeader.d.ts +8 -0
  97. package/dist/finstrong/components/paybillsontime/PayBillsOnTimeDrawerComponent.d.ts +4 -0
  98. package/dist/finstrong/components/paybillsontime/PayBillsOnTimeStickyComponent.d.ts +4 -0
  99. package/dist/finstrong/components/shared/Accounts.d.ts +8 -0
  100. package/dist/finstrong/components/shared/CustomDoubleBarPlot.d.ts +25 -0
  101. package/dist/finstrong/components/shared/DoubleBarChart.d.ts +28 -0
  102. package/dist/finstrong/components/shared/LineGraph.d.ts +7 -0
  103. package/dist/finstrong/components/shared/TotalCard.d.ts +8 -0
  104. package/dist/finstrong/components/shared/TransactionList.d.ts +15 -0
  105. package/dist/finstrong/components/shared/Transactions.d.ts +11 -0
  106. package/dist/finstrong/constants/index.d.ts +8 -0
  107. package/dist/finstrong/index.es.js +3182 -1053
  108. package/dist/finstrong/stores/FinstrongStore.d.ts +10 -1
  109. package/dist/finstrong/util/finstrongUtils.d.ts +58 -1
  110. package/dist/goals/index.es.js +15 -15
  111. package/dist/help/index.es.js +3 -3
  112. package/dist/{hooks-D6XlXHf4.mjs → hooks-C41HAxM5.mjs} +3 -3
  113. package/dist/investments/index.es.js +6 -6
  114. package/dist/merchants/index.es.js +1 -1
  115. package/dist/networth/index.es.js +35 -35
  116. package/dist/notifications/index.es.js +4 -4
  117. package/dist/recurringtransactions/index.es.js +13 -13
  118. package/dist/settings/index.es.js +8 -8
  119. package/dist/spending/index.es.js +273 -398
  120. package/dist/transactions/index.es.js +174 -201
  121. package/dist/trends/index.es.js +95 -95
  122. package/dist/{useAccountDisplayName-BcRqfar8.mjs → useAccountDisplayName-CMMlIOXF.mjs} +2 -2
  123. package/dist/useAriaLive-B3_pRUio.mjs +35 -0
  124. package/dist/{useInsightsEnabled-DBpwEq10.mjs → useInsightsEnabled-CNjP5cfR.mjs} +1 -1
  125. package/package.json +1 -1
  126. package/dist/Donut-1UMNcG67.mjs +0 -57
  127. package/dist/Drawer-kEE73B87.mjs +0 -113
  128. package/dist/FinstrongStore-F2c607dj.mjs +0 -101
  129. package/dist/finstrong/utils/Finstrong.d.ts +0 -6
@@ -0,0 +1,163 @@
1
+ import { jsxs as h, jsx as r } from "react/jsx-runtime";
2
+ import u from "@mui/material/Box";
3
+ import s from "@mui/material/Stack";
4
+ import { H2 as y, Drawer as B } from "@mxenabled/mxui";
5
+ import x from "@mui/material/Button";
6
+ import v from "@mui/material/IconButton";
7
+ import { ArrowBack as j } from "@mxenabled/mx-icons";
8
+ const F = ({
9
+ footerStyles: e = {},
10
+ hasSecondaryAction: a = !0,
11
+ isPrimaryDisabled: t,
12
+ onPrimaryAction: o,
13
+ onSecondaryAction: n,
14
+ primaryButtonProps: l = {},
15
+ primaryColor: c = "primary",
16
+ primaryText: i = "Save",
17
+ secondaryColor: d = "primary",
18
+ secondaryText: p = "Cancel"
19
+ }) => /* @__PURE__ */ h(
20
+ s,
21
+ {
22
+ sx: {
23
+ bgcolor: "background.paper",
24
+ flexDirection: "row",
25
+ gap: 16,
26
+ justifyContent: "flex-end",
27
+ p: 24,
28
+ ...e
29
+ },
30
+ children: [
31
+ a && /* @__PURE__ */ r(
32
+ x,
33
+ {
34
+ color: d,
35
+ onClick: n,
36
+ variant: o ? "outlined" : "contained",
37
+ children: p
38
+ }
39
+ ),
40
+ o && /* @__PURE__ */ r(
41
+ x,
42
+ {
43
+ ...l,
44
+ color: c,
45
+ disabled: t,
46
+ onClick: o,
47
+ variant: "contained",
48
+ children: i
49
+ }
50
+ )
51
+ ]
52
+ }
53
+ ), H = ({
54
+ ariaLabelClose: e,
55
+ onClose: a,
56
+ shouldShowBorders: t,
57
+ shouldShowShadow: o,
58
+ title: n
59
+ }) => /* @__PURE__ */ h(
60
+ s,
61
+ {
62
+ "aria-level": 1,
63
+ direction: "row",
64
+ role: "heading",
65
+ sx: {
66
+ alignItems: "center",
67
+ backgroundColor: "background.paper",
68
+ ...t && {
69
+ borderBottom: 1,
70
+ borderTop: 1,
71
+ borderColor: "border.light"
72
+ },
73
+ ...o && {
74
+ boxShadow: "0px 2px 8px 0px #6A73811F"
75
+ },
76
+ padding: "8px 8px 8px 8px"
77
+ },
78
+ children: [
79
+ /* @__PURE__ */ r(v, { "aria-label": e, color: "primary", onClick: a, children: /* @__PURE__ */ r(j, { color: "primary", sx: { fontSize: 22 } }) }),
80
+ /* @__PURE__ */ r(
81
+ u,
82
+ {
83
+ sx: {
84
+ flexGrow: 1,
85
+ margin: "auto",
86
+ textAlign: "center"
87
+ },
88
+ children: /* @__PURE__ */ r(y, { bold: !0, variant: "Body", children: n })
89
+ }
90
+ ),
91
+ /* @__PURE__ */ r(u, { width: "44px" })
92
+ ]
93
+ }
94
+ ), I = ({
95
+ ariaLabelClose: e = "Close",
96
+ children: a,
97
+ footerStyles: t = {},
98
+ hasSecondaryAction: o = !0,
99
+ id: n,
100
+ isOpen: l,
101
+ isPrimaryDisabled: c,
102
+ onClose: i,
103
+ onPrimaryAction: d,
104
+ onSecondaryAction: p,
105
+ primaryButtonProps: b,
106
+ primaryColor: m = "primary",
107
+ primaryText: g,
108
+ secondaryColor: w = "secondary",
109
+ secondaryText: f,
110
+ shouldShowHeaderBorders: k = !0,
111
+ shouldShowHeaderShadow: C = !1,
112
+ title: D,
113
+ ...S
114
+ }) => /* @__PURE__ */ r(
115
+ B,
116
+ {
117
+ id: n,
118
+ isOpen: l,
119
+ onClose: i,
120
+ sx: {
121
+ "& .MuiDrawer-paper": {
122
+ backgroundColor: "background.default",
123
+ borderRadius: 0
124
+ },
125
+ height: "100%",
126
+ "& .MuiToolbar-root": {
127
+ backgroundColor: "background.paper"
128
+ }
129
+ },
130
+ ...S,
131
+ children: /* @__PURE__ */ h(s, { height: "100%", justifyContent: "space-between", children: [
132
+ /* @__PURE__ */ r(
133
+ H,
134
+ {
135
+ ariaLabelClose: e,
136
+ onClose: i,
137
+ shouldShowBorders: k,
138
+ shouldShowShadow: C,
139
+ title: D
140
+ }
141
+ ),
142
+ /* @__PURE__ */ r(u, { height: "100%", overflow: "auto", children: a }),
143
+ d && /* @__PURE__ */ r(
144
+ F,
145
+ {
146
+ footerStyles: t,
147
+ hasSecondaryAction: o,
148
+ isPrimaryDisabled: c,
149
+ onPrimaryAction: d,
150
+ onSecondaryAction: p ?? i,
151
+ primaryButtonProps: b,
152
+ primaryColor: m,
153
+ primaryText: g,
154
+ secondaryColor: w,
155
+ secondaryText: f
156
+ }
157
+ )
158
+ ] })
159
+ }
160
+ ), q = I;
161
+ export {
162
+ q as D
163
+ };
@@ -1,21 +1,21 @@
1
1
  import { jsxs as o, jsx as t } from "react/jsx-runtime";
2
- import i from "@mui/material/Button";
3
- import x from "@mui/material/Stack";
4
- import { Icon as c } from "@mxenabled/mx-icons";
5
- import { Text as p } from "@mxenabled/mxui";
6
- const j = ({
7
- icon: s,
8
- iconColor: l,
9
- header: m,
10
- onClick: n,
2
+ import s from "@mui/material/Button";
3
+ import i from "@mui/material/Stack";
4
+ import { Icon as x } from "@mxenabled/mx-icons";
5
+ import { Text as c } from "@mxenabled/mxui";
6
+ const y = ({
7
+ icon: p,
8
+ iconColor: m,
9
+ header: l,
10
+ onClick: a,
11
11
  primaryButton: e,
12
- primaryButtonStartIcon: a,
12
+ primaryButtonStartIcon: n,
13
13
  secondaryButton: r,
14
14
  subText: d,
15
15
  sx: h,
16
16
  variant: f = "buttons"
17
17
  }) => /* @__PURE__ */ o(
18
- x,
18
+ i,
19
19
  {
20
20
  sx: {
21
21
  alignItems: "center",
@@ -25,19 +25,21 @@ const j = ({
25
25
  ...h
26
26
  },
27
27
  children: [
28
- /* @__PURE__ */ t(c, { name: s, size: 48, sx: { color: l } }),
28
+ /* @__PURE__ */ t(x, { name: p, size: 48, sx: { color: m } }),
29
29
  /* @__PURE__ */ t(
30
- p,
30
+ c,
31
31
  {
32
+ className: "empty-state-header",
32
33
  color: "text.primary",
33
34
  sx: { fontWeight: 600, mt: 16, textAlign: "center", textWrap: "wrap" },
34
35
  variant: "body1",
35
- children: m
36
+ children: l
36
37
  }
37
38
  ),
38
39
  /* @__PURE__ */ t(
39
- p,
40
+ c,
40
41
  {
42
+ className: "empty-state-subtext",
41
43
  color: "text.secondary",
42
44
  sx: { fontWeight: 400, textAlign: "center", textWrap: "wrap", width: "calc(100% - 8px)" },
43
45
  variant: "subtitle2",
@@ -45,7 +47,7 @@ const j = ({
45
47
  }
46
48
  ),
47
49
  f === "buttons" && (e || r) && /* @__PURE__ */ o(
48
- x,
50
+ i,
49
51
  {
50
52
  className: "buttons-footer",
51
53
  sx: {
@@ -54,19 +56,19 @@ const j = ({
54
56
  },
55
57
  children: [
56
58
  e && /* @__PURE__ */ t(
57
- i,
59
+ s,
58
60
  {
59
- onClick: () => n?.("primary"),
60
- startIcon: a ? /* @__PURE__ */ t(c, { name: a }) : void 0,
61
+ onClick: () => a?.("primary"),
62
+ startIcon: n ? /* @__PURE__ */ t(x, { name: n }) : void 0,
61
63
  sx: { textWrap: "nowrap" },
62
64
  variant: "contained",
63
65
  children: e
64
66
  }
65
67
  ),
66
68
  r && /* @__PURE__ */ t(
67
- i,
69
+ s,
68
70
  {
69
- onClick: () => n?.("secondary"),
71
+ onClick: () => a?.("secondary"),
70
72
  sx: { textWrap: "nowrap" },
71
73
  variant: "text",
72
74
  children: r
@@ -79,5 +81,5 @@ const j = ({
79
81
  }
80
82
  );
81
83
  export {
82
- j as E
84
+ y as E
83
85
  };
@@ -1,10 +1,10 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
2
  import { observer as c } from "mobx-react-lite";
3
3
  import { Icon as i } from "@mxenabled/mxui";
4
- import { e as p } from "./exportTransactionsToCSV-7bVS7KXf.mjs";
5
- import { O as m } from "./User-BQUxBeZV.mjs";
4
+ import { e as p } from "./exportTransactionsToCSV-hrNpJ77n.mjs";
5
+ import { O as m } from "./User-wXzDI4M8.mjs";
6
6
  import { R as x } from "./ResponsiveButton-DZFp78fJ.mjs";
7
- import { g as _, h as C, u as l } from "./hooks-D6XlXHf4.mjs";
7
+ import { g as _, h as C, u as l } from "./hooks-C41HAxM5.mjs";
8
8
  const v = ({ filter: t }) => {
9
9
  const { onEvent: r } = _(), { tags: e, sortedTransactions: s } = C(), { transactions: n } = l(), a = () => {
10
10
  r(m.ON_TRANSACTION_EXPORT_CSV_CLICK), p(t ? s.filter(t) : s, e);