@mx-cartographer/experiences 8.0.24 → 8.1.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.
- package/CHANGELOG.md +8 -9
- package/dist/{AccountApi-ChQr5PAZ.mjs → AccountApi-WEM2M9tg.mjs} +1 -1
- package/dist/{AccountDetailsHeader-D9gbTbUt.mjs → AccountDetailsHeader-IPRH6Wja.mjs} +2 -2
- package/dist/{AccountFields-CxqONzjY.mjs → AccountFields-BbPSfzru.mjs} +3 -3
- package/dist/{AccountListItem-D9WJDbZ1.mjs → AccountListItem-qpACFl6i.mjs} +2 -2
- package/dist/{AccountStore-B7zfcad7.mjs → AccountStore-BeEiLNhW.mjs} +2 -2
- package/dist/Analytics-CjZ0emfs.mjs +53 -0
- package/dist/{Fetch-B6tMJC1r.mjs → ApiEndpoints-C5IA97i7.mjs} +48 -50
- package/dist/{BeatApi-EFHXULDx.mjs → BeatApi-C6pBa0Rb.mjs} +1 -1
- package/dist/{BeatStore-C6CAT-ce.mjs → BeatStore-DuvvrljY.mjs} +1 -1
- package/dist/{BudgetUtil-DZpOoZQa.mjs → BudgetUtil-CLh4xtj4.mjs} +60 -60
- package/dist/CategoryApi-CogDFScz.mjs +29 -0
- package/dist/{CategorySelectorDrawer-Dc9Widy9.mjs → CategorySelectorDrawer-BG04ByUx.mjs} +1 -1
- package/dist/CategoryStore-Bp1kO9Z-.mjs +160 -0
- package/dist/{CategoryUtil-BVixr0d5.mjs → CategoryUtil-DKRCegQv.mjs} +1 -1
- package/dist/{CurrencyInput-DuMktPu3.mjs → CurrencyInput-BkNVHxSV.mjs} +14 -13
- package/dist/{CurrencyText-CA-E5N_y.mjs → CurrencyText-oqd6cX3M.mjs} +1 -1
- package/dist/{DateFormats-BMpMrZpW.mjs → DateFormats-CaOj_4eI.mjs} +1 -1
- package/dist/{DateUtil-wcYTmDRD.mjs → DateUtil-C57sqxn4.mjs} +1 -1
- package/dist/{EmbeddedCard-qwIhF1VP.mjs → EmbeddedCard-j7IGx3s1.mjs} +5 -5
- package/dist/{ExportCsvAction-CHCmCCqf.mjs → ExportCsvAction-7sjz7AXQ.mjs} +1 -1
- package/dist/FinstrongApi-FpmsS_sy.mjs +19 -0
- package/dist/{FinstrongStore-BQxXxxYD.mjs → FinstrongStore-DgyDJTEP.mjs} +121 -137
- package/dist/GlobalCopyApi-DkS-2Zf_.mjs +41 -0
- package/dist/Goal-MFBpoOIC.mjs +29 -0
- package/dist/{GoalStore-fgXt--2Y.mjs → GoalStore-DcaT4fM6.mjs} +81 -104
- package/dist/{Help-BkmSY96v.mjs → Help-cTsMzSQh.mjs} +1 -1
- package/dist/{LineChart-EAr5ox5U.mjs → LineChart-DkD_s9NN.mjs} +1 -1
- package/dist/Localization-C_HZg9tJ.mjs +15 -0
- package/dist/Localization-CkQ49EKr.mjs +26 -0
- package/dist/{ManageIncome-DqqI9HB1.mjs → ManageIncome-DwSE_a8L.mjs} +20 -20
- package/dist/MerchantApi-D8ahYxiG.mjs +15 -0
- package/dist/MerchantStore-CyZTv-BM.mjs +26 -0
- package/dist/{NetWorthStore-BqZ44-4M.mjs → NetWorthStore-Ba3q3VcH.mjs} +1 -1
- package/dist/NotificationApi-DF0obHoR.mjs +20 -0
- package/dist/{NotificationSettings-DBT37CVB.mjs → NotificationSettings-DB-eNgSv.mjs} +3 -3
- package/dist/NotificationStore-DlAM5Ue0.mjs +69 -0
- package/dist/{NumberFormatting-QCaNwbjv.mjs → NumberFormatting-CyrvFgfd.mjs} +1 -1
- package/dist/{OriginalBalanceAction-DjpvVVFz.mjs → OriginalBalanceAction-AB1TGb5P.mjs} +2 -2
- package/dist/{RecurringSettings-OBGLelZQ.mjs → RecurringSettings-CZKeZC4m.mjs} +8 -8
- package/dist/{RecurringTransactions-BbZ6MQsX.mjs → RecurringTransactions-kzlU8OFY.mjs} +5 -5
- package/dist/{RecurringTransactionsStore-BE_eUfTC.mjs → RecurringTransactionsStore-D62Dt2BF.mjs} +76 -90
- package/dist/{RepeatingTransaction-DF4vJn_v.mjs → RepeatingTransaction-D2gmBTd0.mjs} +3 -3
- package/dist/RepeatingTransactionsApi-BNZgZPLs.mjs +17 -0
- package/dist/SettingsApi-D9d7SLhB.mjs +22 -0
- package/dist/{SettingsStore-BoIoiRLj.mjs → SettingsStore-Dsz1mvd3.mjs} +41 -60
- package/dist/{SpendingData-Bz1bCWAs.mjs → SpendingData-CoZOmlZD.mjs} +1 -1
- package/dist/{SpendingLegend-CypdabwS.mjs → SpendingLegend-DljKEG69.mjs} +2 -2
- package/dist/{Transaction-C3Pg9TKf.mjs → Transaction-Cn5_iFm0.mjs} +2 -2
- package/dist/{TransactionApi-Ck5Ua-7F.mjs → TransactionApi-CLG2eSNe.mjs} +1 -1
- package/dist/{TransactionDetails-I1ny1ecc.mjs → TransactionDetails-CN-yZkin.mjs} +9 -9
- package/dist/{TransactionStore-BUsgGRL1.mjs → TransactionStore-6ovFO8P1.mjs} +10 -10
- package/dist/{TrendsStore-CYdTo7cN.mjs → TrendsStore-DZa6cyQC.mjs} +1 -1
- package/dist/{ViewMoreMicroCard-BJOZcYnB.mjs → ViewMoreMicroCard-BsEitNRJ.mjs} +10 -9
- package/dist/WidgetApi-C0BA2cFX.mjs +102 -0
- package/dist/{WidgetContainer-DYKMArWw.mjs → WidgetContainer-Bc75FqK7.mjs} +1 -1
- package/dist/accounts/index.d.ts +0 -1
- package/dist/accounts/index.es.js +63 -65
- package/dist/accounts/stores/AccountStore.d.ts +1 -1
- package/dist/budgets/index.es.js +11 -11
- package/dist/budgets/store/BudgetsStore.d.ts +1 -1
- package/dist/cashflow/index.d.ts +0 -1
- package/dist/cashflow/index.es.js +428 -449
- package/dist/categories/index.es.js +2 -2
- package/dist/categories/stores/CategoryStore.d.ts +2 -1
- package/dist/common/components/Error.d.ts +11 -0
- package/dist/common/components/index.d.ts +1 -0
- package/dist/common/constants/index.d.ts +0 -1
- package/dist/common/index.d.ts +0 -1
- package/dist/common/index.es.js +391 -492
- package/dist/common/stores/AppDataStore.d.ts +2 -2
- package/dist/common/stores/ConnectStore.d.ts +1 -1
- package/dist/common/stores/GlobalCopyStore.d.ts +1 -1
- package/dist/common/stores/UserStore.d.ts +1 -1
- package/dist/common/utils/Localization.d.ts +0 -9
- package/dist/common/utils/index.d.ts +1 -2
- package/dist/{accounts → core}/api/AccountApi.d.ts +2 -2
- package/dist/{common → core}/api/AnalyticsApi.d.ts +1 -1
- package/dist/{common → core}/api/AppDataApi.d.ts +2 -2
- package/dist/{common → core}/api/BannerApi.d.ts +1 -1
- package/dist/{common → core}/api/BeatApi.d.ts +2 -2
- package/dist/{budgets → core}/api/BudgetsApi.d.ts +2 -2
- package/dist/{common → core}/api/CategoryApi.d.ts +2 -2
- package/dist/{finstrong → core}/api/FinstrongApi.d.ts +2 -2
- package/dist/{common → core}/api/GlobalCopyApi.d.ts +2 -2
- package/dist/{goals → core}/api/GoalApi.d.ts +2 -2
- package/dist/{help → core}/api/HelpApi.d.ts +2 -2
- package/dist/{investments → core}/api/HoldingApi.d.ts +2 -2
- package/dist/{merchants → core}/api/MerchantApi.d.ts +2 -2
- package/dist/{common → core}/api/NotificationApi.d.ts +2 -2
- package/dist/{recurringtransactions → core}/api/RepeatingTransactionsApi.d.ts +2 -2
- package/dist/{common → core}/api/ScheduledPaymentsApi.d.ts +2 -2
- package/dist/{settings → core}/api/SettingsApi.d.ts +2 -2
- package/dist/{transactions → core}/api/TransactionApi.d.ts +2 -2
- package/dist/{common → core}/api/UserApi.d.ts +2 -2
- package/dist/{common → core}/api/WidgetApi.d.ts +1 -1
- package/dist/core/api/index.d.ts +20 -0
- package/dist/{common → core}/constants/ApiEndpoints.d.ts +0 -2
- package/dist/core/constants/index.d.ts +1 -0
- package/dist/core/index.d.ts +2 -0
- package/dist/core/index.es.js +90 -38
- package/dist/{common → core}/utils/Fetch.d.ts +1 -1
- package/dist/core/utils/Localization.d.ts +9 -0
- package/dist/core/utils/index.d.ts +2 -0
- package/dist/debts/index.es.js +7 -7
- package/dist/{exportTransactionsToCSV-DgdB3TBt.mjs → exportTransactionsToCSV-Dnd5lVq7.mjs} +2 -2
- package/dist/finstrong/index.d.ts +0 -1
- package/dist/finstrong/index.es.js +16 -17
- package/dist/finstrong/stores/FinstrongStore.d.ts +1 -1
- package/dist/goals/index.d.ts +0 -1
- package/dist/goals/index.es.js +50 -51
- package/dist/goals/stores/GoalStore.d.ts +1 -1
- package/dist/help/index.es.js +2 -2
- package/dist/help/store/HelpStore.d.ts +1 -1
- package/dist/insights/index.es.js +6 -6
- package/dist/insights/store/BeatStore.d.ts +1 -1
- package/dist/investments/index.es.js +2 -2
- package/dist/investments/stores/HoldingStore.d.ts +1 -1
- package/dist/merchants/index.es.js +1 -1
- package/dist/merchants/stores/MerchantStore.d.ts +1 -1
- package/dist/microinsights/index.es.js +1 -1
- package/dist/microinsights/stores/CopyStore.d.ts +1 -1
- package/dist/microinsights/stores/InsightsMicroWidgetStore.d.ts +1 -1
- package/dist/networth/index.es.js +8 -8
- package/dist/networth/stores/NetWorthStore.d.ts +1 -1
- package/dist/notifications/index.es.js +5 -5
- package/dist/notifications/stores/NotificationStore.d.ts +2 -1
- package/dist/recurringtransactions/index.es.js +26 -25
- package/dist/recurringtransactions/stores/RecurringTransactionsStore.d.ts +1 -1
- package/dist/settings/index.d.ts +0 -1
- package/dist/settings/index.es.js +65 -66
- package/dist/settings/stores/SettingsStore.d.ts +2 -2
- package/dist/spending/index.es.js +6 -6
- package/dist/transactions/index.d.ts +0 -1
- package/dist/transactions/index.es.js +22 -24
- package/dist/transactions/stores/TransactionStore.d.ts +3 -2
- package/dist/trends/index.es.js +14 -14
- package/package.json +1 -1
- package/dist/CategoryStore-FTxUbn0f.mjs +0 -186
- package/dist/Goal-0loDagc5.mjs +0 -6
- package/dist/Localization-CPkpIwIx.mjs +0 -37
- package/dist/MerchantStore-BzGi4JAZ.mjs +0 -37
- package/dist/NotificationStore-D_e8zo5M.mjs +0 -86
- package/dist/cashflow/api/CashflowApi.d.ts +0 -13
- package/dist/common/api/LocalizedCopyApi.d.ts +0 -8
- package/dist/common/api/index.d.ts +0 -10
- package/dist/repeatingTransactions-DHIG94pi.mjs +0 -4
- package/dist/useCombineEvents-Bqojlv8q.mjs +0 -92
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { GlobalStore } from '../../common';
|
|
2
2
|
import { Recurrence, RepeatingTransaction, Transaction, DateRange } from '../../core';
|
|
3
|
-
import { RepeatingTransactionsApi } from '
|
|
3
|
+
import { RepeatingTransactionsApi } from '../../core/api/RepeatingTransactionsApi';
|
|
4
4
|
export declare class RecurringTransactionsStore {
|
|
5
5
|
globalStore: GlobalStore;
|
|
6
6
|
api: RepeatingTransactionsApi;
|
package/dist/settings/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as Yt
|
|
1
|
+
import { S as Yt } from "../SettingsStore-Dsz1mvd3.mjs";
|
|
2
2
|
import { jsxs as c, Fragment as X, jsx as e } from "react/jsx-runtime";
|
|
3
3
|
import m from "react";
|
|
4
4
|
import { observer as C } from "mobx-react-lite";
|
|
@@ -8,16 +8,16 @@ import pe from "@mui/material/Tabs";
|
|
|
8
8
|
import he from "@mui/material/Alert";
|
|
9
9
|
import fe from "@mui/material/Snackbar";
|
|
10
10
|
import { getUnixTime as _e } from "date-fns/getUnixTime";
|
|
11
|
-
import { AdapterDateFns as
|
|
12
|
-
import { DatePicker as
|
|
11
|
+
import { AdapterDateFns as be } from "@mui/x-date-pickers/AdapterDateFnsV3";
|
|
12
|
+
import { DatePicker as ge } from "@mui/x-date-pickers";
|
|
13
13
|
import { LocalizationProvider as ye } from "@mui/x-date-pickers/LocalizationProvider";
|
|
14
14
|
import { useTheme as xe, alpha as V } from "@mui/material/styles";
|
|
15
15
|
import W from "@mui/material/Box";
|
|
16
16
|
import Z from "@mui/material/Button";
|
|
17
17
|
import A from "@mui/material/TextField";
|
|
18
18
|
import { H3 as Y, P as M, Text as x, Icon as L, ChevronRightIcon as ve } from "@mxenabled/mxui";
|
|
19
|
-
import { V as Ce, a as De, N as J } from "../NotificationSettings-
|
|
20
|
-
import { A as
|
|
19
|
+
import { V as Ce, a as De, N as J } from "../NotificationSettings-DB-eNgSv.mjs";
|
|
20
|
+
import { A as Qt, B as Xt, I as Zt } from "../NotificationSettings-DB-eNgSv.mjs";
|
|
21
21
|
import { u as w, a as $, r as E, o as we, b as ee, l as G } from "../hooks-BxkfR-Ff.mjs";
|
|
22
22
|
import { u as H } from "../useScreenSize-CUcpY7aJ.mjs";
|
|
23
23
|
import { D as j } from "../Dialog-Ck34yr-d.mjs";
|
|
@@ -25,27 +25,27 @@ import { formatDistanceToNow as te } from "date-fns/formatDistanceToNow";
|
|
|
25
25
|
import { fromUnixTime as oe } from "date-fns/fromUnixTime";
|
|
26
26
|
import O from "@mui/material/styles/useTheme";
|
|
27
27
|
import z from "@mui/material/IconButton";
|
|
28
|
-
import { DataGridPro as
|
|
28
|
+
import { DataGridPro as ke } from "@mui/x-data-grid-pro";
|
|
29
29
|
import { H as U } from "../HeaderCell-P8w6CmfO.mjs";
|
|
30
|
-
import { b as B } from "../Localization-
|
|
31
|
-
import
|
|
30
|
+
import { b as B } from "../Localization-CkQ49EKr.mjs";
|
|
31
|
+
import Se from "@mui/material/Accordion";
|
|
32
32
|
import Te from "@mui/material/AccordionDetails";
|
|
33
33
|
import Ie from "@mui/material/AccordionSummary";
|
|
34
34
|
import { L as ie } from "../Loader-D3rjKx72.mjs";
|
|
35
35
|
import Ae from "@mui/material/List";
|
|
36
36
|
import K from "@mui/material/Divider";
|
|
37
37
|
import Ee from "@mui/material/ListSubheader";
|
|
38
|
-
import { a as Re, u as Pe } from "../CategorySelectorDrawer-
|
|
38
|
+
import { a as Re, u as Pe } from "../CategorySelectorDrawer-BG04ByUx.mjs";
|
|
39
39
|
import Ne from "@mui/material/ListItem";
|
|
40
40
|
import Me from "@mui/material/ListItemButton";
|
|
41
41
|
import Le from "@mui/material/ListItemIcon";
|
|
42
42
|
import Be from "@mui/material/ListItemText";
|
|
43
43
|
import { D as He } from "../Drawer-Bbe4AMB1.mjs";
|
|
44
44
|
import { u as ne } from "../useWidgetLoadTimer-DgN1bTyu.mjs";
|
|
45
|
-
import { H as Oe } from "../Help-
|
|
46
|
-
import { W as q } from "../WidgetContainer-
|
|
45
|
+
import { H as Oe } from "../Help-cTsMzSQh.mjs";
|
|
46
|
+
import { W as q } from "../WidgetContainer-Bc75FqK7.mjs";
|
|
47
47
|
const Fe = ({ availableWidth: t, handleOnLeavClick: r }) => {
|
|
48
|
-
const i = xe(), { common: o, settings: n } = w(), { isDesktop: u, isMobile: s, isSmallMobile: a, isTablet: l } = H(t), { config:
|
|
48
|
+
const i = xe(), { common: o, settings: n } = w(), { isDesktop: u, isMobile: s, isSmallMobile: a, isTablet: l } = H(t), { config: g } = $(), { updateUser: _ } = E(), { user: d } = we(), [p, k] = m.useState({
|
|
49
49
|
first_name: d.first_name,
|
|
50
50
|
last_name: d.last_name,
|
|
51
51
|
email: d.email,
|
|
@@ -53,11 +53,11 @@ const Fe = ({ availableWidth: t, handleOnLeavClick: r }) => {
|
|
|
53
53
|
birthday: d.birthday,
|
|
54
54
|
postal_code: d.postal_code,
|
|
55
55
|
credit_score: d.credit_score
|
|
56
|
-
}), [v,
|
|
56
|
+
}), [v, S] = m.useState(!1), [I, T] = m.useState(!1), b = m.useRef(null), D = p.email && !d.email_is_verified && !v, F = p.phone && !d.phone_is_verified && !v;
|
|
57
57
|
m.useEffect(() => {
|
|
58
58
|
if (r) {
|
|
59
59
|
const f = (P) => {
|
|
60
|
-
|
|
60
|
+
b.current && !b.current.contains(P.target) && v && T(!0);
|
|
61
61
|
};
|
|
62
62
|
return document.addEventListener("mousedown", f), () => {
|
|
63
63
|
document.removeEventListener("mousedown", f);
|
|
@@ -70,7 +70,7 @@ const Fe = ({ availableWidth: t, handleOnLeavClick: r }) => {
|
|
|
70
70
|
return new Date(P, de, me);
|
|
71
71
|
}
|
|
72
72
|
}, se = async () => {
|
|
73
|
-
await _({ ...d, ...p }),
|
|
73
|
+
await _({ ...d, ...p }), S(!1);
|
|
74
74
|
}, le = () => {
|
|
75
75
|
T(!1), r && r();
|
|
76
76
|
}, ce = () => {
|
|
@@ -80,14 +80,14 @@ const Fe = ({ availableWidth: t, handleOnLeavClick: r }) => {
|
|
|
80
80
|
...p,
|
|
81
81
|
...f
|
|
82
82
|
};
|
|
83
|
-
|
|
83
|
+
k(P), S(JSON.stringify({ ...d, ...P }) !== JSON.stringify(d));
|
|
84
84
|
};
|
|
85
85
|
return /* @__PURE__ */ c(X, { children: [
|
|
86
86
|
/* @__PURE__ */ c(
|
|
87
87
|
W,
|
|
88
88
|
{
|
|
89
89
|
component: "form",
|
|
90
|
-
ref:
|
|
90
|
+
ref: b,
|
|
91
91
|
sx: {
|
|
92
92
|
backgroundColor: "background.paper",
|
|
93
93
|
p: 24,
|
|
@@ -126,7 +126,7 @@ const Fe = ({ availableWidth: t, handleOnLeavClick: r }) => {
|
|
|
126
126
|
}
|
|
127
127
|
),
|
|
128
128
|
/* @__PURE__ */ c(h, { direction: s ? "column" : "row", children: [
|
|
129
|
-
|
|
129
|
+
g.display_email_edit_field_in_settings && /* @__PURE__ */ c(h, { sx: { mb: D ? 20 : 44, mr: s ? 0 : 24 }, children: [
|
|
130
130
|
/* @__PURE__ */ e(
|
|
131
131
|
A,
|
|
132
132
|
{
|
|
@@ -137,7 +137,7 @@ const Fe = ({ availableWidth: t, handleOnLeavClick: r }) => {
|
|
|
137
137
|
),
|
|
138
138
|
D && /* @__PURE__ */ e(Ce, {})
|
|
139
139
|
] }),
|
|
140
|
-
|
|
140
|
+
g.display_sms_edit_field_in_settings && /* @__PURE__ */ c(h, { sx: { mb: F ? 20 : 44 }, children: [
|
|
141
141
|
/* @__PURE__ */ e(
|
|
142
142
|
A,
|
|
143
143
|
{
|
|
@@ -151,8 +151,8 @@ const Fe = ({ availableWidth: t, handleOnLeavClick: r }) => {
|
|
|
151
151
|
] })
|
|
152
152
|
] }),
|
|
153
153
|
/* @__PURE__ */ c(h, { direction: s ? "column" : "row", spacing: s ? 44 : 24, sx: { mb: 44 }, children: [
|
|
154
|
-
/* @__PURE__ */ e(ye, { dateAdapter:
|
|
155
|
-
|
|
154
|
+
/* @__PURE__ */ e(ye, { dateAdapter: be, children: /* @__PURE__ */ e(
|
|
155
|
+
ge,
|
|
156
156
|
{
|
|
157
157
|
label: n.birthdate,
|
|
158
158
|
onChange: (f) => R({ birthday: _e(f) }),
|
|
@@ -296,7 +296,7 @@ const Ve = ({
|
|
|
296
296
|
device_type: `${a.make} ${a.model}`
|
|
297
297
|
})), [t]);
|
|
298
298
|
return /* @__PURE__ */ e(W, { sx: { width: "100%" }, children: /* @__PURE__ */ e(
|
|
299
|
-
|
|
299
|
+
ke,
|
|
300
300
|
{
|
|
301
301
|
columns: u,
|
|
302
302
|
disableColumnFilter: !0,
|
|
@@ -348,12 +348,12 @@ const Ve = ({
|
|
|
348
348
|
onClickDeviceEdit: r,
|
|
349
349
|
onClickDeviceDelete: i
|
|
350
350
|
}) => {
|
|
351
|
-
const o = O(), { settings: n } = w(), [u, s] = m.useState(!1), a = (l) => (
|
|
351
|
+
const o = O(), { settings: n } = w(), [u, s] = m.useState(!1), a = (l) => (g, _) => {
|
|
352
352
|
s(_ ? l : !1);
|
|
353
353
|
};
|
|
354
354
|
return /* @__PURE__ */ c(h, { mx: -28, sx: { "& .MuiAccordion-root": { mb: 0, mt: 0 } }, children: [
|
|
355
355
|
t.map((l) => /* @__PURE__ */ c(
|
|
356
|
-
|
|
356
|
+
Se,
|
|
357
357
|
{
|
|
358
358
|
expanded: u === l.guid,
|
|
359
359
|
onChange: a(l.guid),
|
|
@@ -449,9 +449,9 @@ const Ve = ({
|
|
|
449
449
|
device: o,
|
|
450
450
|
deviceToken: n = ""
|
|
451
451
|
}) => {
|
|
452
|
-
const u = O(), { common: s, settings: a } = w(), { updateDevice: l, deleteDevice:
|
|
452
|
+
const u = O(), { common: s, settings: a } = w(), { updateDevice: l, deleteDevice: g, setAlert: _, loadDevices: d } = E(), [p, k] = m.useState("");
|
|
453
453
|
m.useEffect(() => {
|
|
454
|
-
o &&
|
|
454
|
+
o && k(o.name);
|
|
455
455
|
}, [o, t]);
|
|
456
456
|
const v = () => {
|
|
457
457
|
switch (t) {
|
|
@@ -462,7 +462,7 @@ const Ve = ({
|
|
|
462
462
|
default:
|
|
463
463
|
return "";
|
|
464
464
|
}
|
|
465
|
-
},
|
|
465
|
+
}, S = () => {
|
|
466
466
|
switch (t) {
|
|
467
467
|
case y.Token:
|
|
468
468
|
return s.done_button;
|
|
@@ -474,14 +474,14 @@ const Ve = ({
|
|
|
474
474
|
return "";
|
|
475
475
|
}
|
|
476
476
|
}, I = () => {
|
|
477
|
-
const
|
|
477
|
+
const b = {
|
|
478
478
|
"& .MuiDialogContent-root": {
|
|
479
479
|
width: 400,
|
|
480
480
|
pt: 0
|
|
481
481
|
}
|
|
482
482
|
};
|
|
483
483
|
return t === y.Token ? {
|
|
484
|
-
...
|
|
484
|
+
...b,
|
|
485
485
|
"& .MuiToolbar-root:last-child": {
|
|
486
486
|
padding: "32px 60px 48px",
|
|
487
487
|
justifyContent: "center"
|
|
@@ -493,7 +493,7 @@ const Ve = ({
|
|
|
493
493
|
flex: 1
|
|
494
494
|
}
|
|
495
495
|
} : {
|
|
496
|
-
...
|
|
496
|
+
...b,
|
|
497
497
|
"& .MuiToolbar-root:last-child": {
|
|
498
498
|
gap: 8,
|
|
499
499
|
padding: 24,
|
|
@@ -507,13 +507,13 @@ const Ve = ({
|
|
|
507
507
|
};
|
|
508
508
|
}, T = async () => {
|
|
509
509
|
if (t === y.Token && i(), t === y.Edit && o) {
|
|
510
|
-
const
|
|
511
|
-
(await l(
|
|
510
|
+
const b = { ...o, name: p };
|
|
511
|
+
(await l(b)).success ? (_(a.mobile_devices_edit_success, "success"), d()) : _(
|
|
512
512
|
B(a.mobile_devices_edit_error, o.name),
|
|
513
513
|
"error"
|
|
514
514
|
), i();
|
|
515
515
|
}
|
|
516
|
-
t === y.Delete && o && ((await
|
|
516
|
+
t === y.Delete && o && ((await g(o.guid)).success ? (_(
|
|
517
517
|
B(a.mobile_devices_delete_success, o.name),
|
|
518
518
|
"success"
|
|
519
519
|
), d()) : _(
|
|
@@ -530,7 +530,7 @@ const Ve = ({
|
|
|
530
530
|
onPrimaryAction: T,
|
|
531
531
|
onSecondaryAction: i,
|
|
532
532
|
primaryColor: t === y.Delete ? "error" : void 0,
|
|
533
|
-
primaryText:
|
|
533
|
+
primaryText: S(),
|
|
534
534
|
secondaryText: t === y.Token ? s.back : s.cancel_button,
|
|
535
535
|
sx: I(),
|
|
536
536
|
children: [
|
|
@@ -551,25 +551,25 @@ const Ve = ({
|
|
|
551
551
|
),
|
|
552
552
|
/* @__PURE__ */ e(x, { truncate: !1, variant: "body2", children: a.mobile_devices_access_info_2 })
|
|
553
553
|
] }),
|
|
554
|
-
t === y.Edit && /* @__PURE__ */ e(h, { children: /* @__PURE__ */ e(A, { onChange: (
|
|
554
|
+
t === y.Edit && /* @__PURE__ */ e(h, { children: /* @__PURE__ */ e(A, { onChange: (b) => k(b.target.value), value: p }) }),
|
|
555
555
|
t === y.Delete && /* @__PURE__ */ e(M, { children: a.mobile_devices_delete_info })
|
|
556
556
|
]
|
|
557
557
|
}
|
|
558
558
|
);
|
|
559
559
|
}, $e = C(ze), Ge = C(() => {
|
|
560
|
-
const { isMobile: t } = H(), { settings: r } = w(), { isCopyLoaded: i, isInitialized: o } = ee(), { setAlert: n, devices: u, loadDevices: s, generateDeviceToken: a } = E(), [l,
|
|
560
|
+
const { isMobile: t } = H(), { settings: r } = w(), { isCopyLoaded: i, isInitialized: o } = ee(), { setAlert: n, devices: u, loadDevices: s, generateDeviceToken: a } = E(), [l, g] = m.useState({ open: !1, type: "" }), [_, d] = m.useState(), [p, k] = m.useState("");
|
|
561
561
|
m.useEffect(() => {
|
|
562
562
|
o && s();
|
|
563
563
|
}, [o]);
|
|
564
564
|
const v = async () => {
|
|
565
|
-
const
|
|
566
|
-
|
|
567
|
-
},
|
|
568
|
-
d(
|
|
569
|
-
}, I = (
|
|
570
|
-
d(
|
|
565
|
+
const b = await a();
|
|
566
|
+
b ? (k(b), g({ open: !0, type: y.Token })) : n(r.mobile_devices_access_error, "error");
|
|
567
|
+
}, S = (b) => {
|
|
568
|
+
d(b), g({ open: !0, type: y.Edit });
|
|
569
|
+
}, I = (b) => {
|
|
570
|
+
d(b), g({ open: !0, type: y.Delete });
|
|
571
571
|
}, T = () => {
|
|
572
|
-
|
|
572
|
+
g({ open: !1, type: "" }), d(void 0);
|
|
573
573
|
};
|
|
574
574
|
return !i || !o ? /* @__PURE__ */ e(ie, {}) : /* @__PURE__ */ c(
|
|
575
575
|
h,
|
|
@@ -589,14 +589,14 @@ const Ve = ({
|
|
|
589
589
|
{
|
|
590
590
|
devices: u,
|
|
591
591
|
onClickDeviceDelete: I,
|
|
592
|
-
onClickDeviceEdit:
|
|
592
|
+
onClickDeviceEdit: S
|
|
593
593
|
}
|
|
594
594
|
) : /* @__PURE__ */ e(
|
|
595
595
|
Ve,
|
|
596
596
|
{
|
|
597
597
|
devices: u,
|
|
598
598
|
onClickDeviceDelete: I,
|
|
599
|
-
onClickDeviceEdit:
|
|
599
|
+
onClickDeviceEdit: S
|
|
600
600
|
}
|
|
601
601
|
),
|
|
602
602
|
/* @__PURE__ */ c(h, { sx: { alignItems: "center", px: 24, py: 12, gap: 4 }, children: [
|
|
@@ -630,7 +630,7 @@ const Ve = ({
|
|
|
630
630
|
u(!1);
|
|
631
631
|
}, a = () => {
|
|
632
632
|
u(!0);
|
|
633
|
-
}, l = (_) => r.find((d) => d.guid === _)?.name,
|
|
633
|
+
}, l = (_) => r.find((d) => d.guid === _)?.name, g = async (_) => {
|
|
634
634
|
i && i.category_guid !== _ && (i.category_guid = _, await o(i)), s();
|
|
635
635
|
};
|
|
636
636
|
return /* @__PURE__ */ c(m.Fragment, { children: [
|
|
@@ -647,14 +647,14 @@ const Ve = ({
|
|
|
647
647
|
{
|
|
648
648
|
initialSelected: i?.category_guid ? i.category_guid : void 0,
|
|
649
649
|
onClose: s,
|
|
650
|
-
onSelect:
|
|
650
|
+
onSelect: g,
|
|
651
651
|
showDrawer: n,
|
|
652
652
|
title: t.select_category
|
|
653
653
|
}
|
|
654
654
|
)
|
|
655
655
|
] });
|
|
656
656
|
}), Ke = C(() => {
|
|
657
|
-
const { common: t, settings: r } = w(), { selectedRule: i, updateRulePayee: o } = E(), n = O(), [u, s] = m.useState(!1), a = i?.description ? i.description : i?.match_description, [l,
|
|
657
|
+
const { common: t, settings: r } = w(), { selectedRule: i, updateRulePayee: o } = E(), n = O(), [u, s] = m.useState(!1), a = i?.description ? i.description : i?.match_description, [l, g] = m.useState(a || ""), _ = () => {
|
|
658
658
|
s(!0);
|
|
659
659
|
}, d = async () => {
|
|
660
660
|
l !== a && i && (i.description = l, await o(i), s(!1));
|
|
@@ -685,7 +685,7 @@ const Ve = ({
|
|
|
685
685
|
children: /* @__PURE__ */ e(
|
|
686
686
|
A,
|
|
687
687
|
{
|
|
688
|
-
onChange: (p) =>
|
|
688
|
+
onChange: (p) => g(p.target.value),
|
|
689
689
|
sx: { width: 352 },
|
|
690
690
|
value: l
|
|
691
691
|
}
|
|
@@ -745,13 +745,13 @@ const Ve = ({
|
|
|
745
745
|
);
|
|
746
746
|
}
|
|
747
747
|
), Qe = C(({ rule: t }) => {
|
|
748
|
-
const { categories: r } = G(), { setSelectedGuid: i } = Pe(), { deleteTransactionRule: o, setSelectedRule: n } = E(), { isDesktop: u, isTablet: s } = H(), [a, l] = m.useState(!1),
|
|
748
|
+
const { categories: r } = G(), { setSelectedGuid: i } = Pe(), { deleteTransactionRule: o, setSelectedRule: n } = E(), { isDesktop: u, isTablet: s } = H(), [a, l] = m.useState(!1), g = () => {
|
|
749
749
|
l(!1), i(null), n(void 0);
|
|
750
750
|
}, _ = async () => {
|
|
751
|
-
await o(),
|
|
751
|
+
await o(), g();
|
|
752
752
|
}, d = () => {
|
|
753
753
|
l(!0), n(t);
|
|
754
|
-
}, p = (
|
|
754
|
+
}, p = (k) => r.find((v) => v.guid === k)?.name;
|
|
755
755
|
return /* @__PURE__ */ c(m.Fragment, { children: [
|
|
756
756
|
/* @__PURE__ */ e(
|
|
757
757
|
Q,
|
|
@@ -762,7 +762,7 @@ const Ve = ({
|
|
|
762
762
|
}
|
|
763
763
|
),
|
|
764
764
|
/* @__PURE__ */ e(K, { sx: { ml: s || u ? 0 : 24 } }),
|
|
765
|
-
/* @__PURE__ */ e(qe, { isOpen: a, onClose:
|
|
765
|
+
/* @__PURE__ */ e(qe, { isOpen: a, onClose: g, onDelete: _ })
|
|
766
766
|
] });
|
|
767
767
|
}), Xe = C(() => {
|
|
768
768
|
const { settings: t } = w(), { loadTransactionRules: r, transactionRules: i } = E(), [o, n] = m.useState(!1);
|
|
@@ -812,26 +812,26 @@ const Ve = ({
|
|
|
812
812
|
});
|
|
813
813
|
var N = /* @__PURE__ */ ((t) => (t[t.Profile = 0] = "Profile", t[t.Devices = 1] = "Devices", t[t.Notifications = 2] = "Notifications", t[t.TransactionRules = 3] = "TransactionRules", t[t.Help = 4] = "Help", t))(N || {});
|
|
814
814
|
const $t = C(({ onBackClick: t, onMenuClick: r, sx: i }) => {
|
|
815
|
-
const { settings: o } = w(), { isCopyLoaded: n, isInitialized: u } = ee(), { config: s } = $(), { isMobile: a } = H(), { categoriesLoaded: l, loadCategories:
|
|
815
|
+
const { settings: o } = w(), { isCopyLoaded: n, isInitialized: u } = ee(), { config: s } = $(), { isMobile: a } = H(), { categoriesLoaded: l, loadCategories: g } = G();
|
|
816
816
|
ne({
|
|
817
817
|
widgetName: "SettingsWidget",
|
|
818
818
|
isLoaded: u && n
|
|
819
819
|
}), m.useEffect(() => {
|
|
820
|
-
l ||
|
|
820
|
+
l || g().finally();
|
|
821
821
|
}, []);
|
|
822
822
|
const {
|
|
823
823
|
display_user_profile_in_settings: _,
|
|
824
824
|
display_mobile_devices_in_settings: d,
|
|
825
825
|
display_notification_settings_in_settings: p,
|
|
826
|
-
display_user_transaction_rules_in_settings:
|
|
826
|
+
display_user_transaction_rules_in_settings: k,
|
|
827
827
|
show_help_widget_in_master: v
|
|
828
|
-
} = s,
|
|
828
|
+
} = s, S = [
|
|
829
829
|
{ enabled: _, index: 0, label: o?.profile_label },
|
|
830
830
|
{ enabled: d, index: 1, label: o?.mobile_devices_label },
|
|
831
831
|
{ enabled: p, index: 2, label: o?.notifications_label },
|
|
832
|
-
{ enabled:
|
|
832
|
+
{ enabled: k, index: 3, label: o?.transaction_rules_label },
|
|
833
833
|
{ enabled: v, index: 4, label: o?.help_label }
|
|
834
|
-
], I =
|
|
834
|
+
], I = S.find((D) => D.enabled), [T, b] = m.useState(I ? I.index : -1);
|
|
835
835
|
return !n || !u ? /* @__PURE__ */ e(ie, {}) : /* @__PURE__ */ e(
|
|
836
836
|
q,
|
|
837
837
|
{
|
|
@@ -844,12 +844,12 @@ const $t = C(({ onBackClick: t, onMenuClick: r, sx: i }) => {
|
|
|
844
844
|
/* @__PURE__ */ e(
|
|
845
845
|
pe,
|
|
846
846
|
{
|
|
847
|
-
onChange: (D, F) =>
|
|
847
|
+
onChange: (D, F) => b(F),
|
|
848
848
|
sx: { bgcolor: "background.paper" },
|
|
849
849
|
textColor: "primary",
|
|
850
850
|
value: T,
|
|
851
851
|
variant: "scrollable",
|
|
852
|
-
children:
|
|
852
|
+
children: S.map(
|
|
853
853
|
(D) => D.enabled && /* @__PURE__ */ e(ue, { label: D.label, value: D.index }, D.index)
|
|
854
854
|
)
|
|
855
855
|
}
|
|
@@ -868,15 +868,14 @@ const $t = C(({ onBackClick: t, onMenuClick: r, sx: i }) => {
|
|
|
868
868
|
}), /* @__PURE__ */ e(q, { ...t, showAccountFilter: !1, children: /* @__PURE__ */ e(h, { sx: { mx: r ? 0 : 48, my: 24 }, children: /* @__PURE__ */ e(re, {}) }) });
|
|
869
869
|
};
|
|
870
870
|
export {
|
|
871
|
-
|
|
872
|
-
|
|
871
|
+
Qt as AccountNotificationProfiles,
|
|
872
|
+
Xt as BudgetNotificationProfiles,
|
|
873
873
|
je as DeviceTab,
|
|
874
|
-
|
|
874
|
+
Zt as InsightsNotificationProfiles,
|
|
875
875
|
J as NotificationSettings,
|
|
876
876
|
Gt as NotificationSettingsWidget,
|
|
877
877
|
Ue as ProfileTab,
|
|
878
|
-
Yt as
|
|
879
|
-
qt as SettingsStore,
|
|
878
|
+
Yt as SettingsStore,
|
|
880
879
|
N as SettingsTabs,
|
|
881
880
|
$t as SettingsWidget,
|
|
882
881
|
Ze as SettingsWidgetContents,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { AlertProps } from '@mui/material';
|
|
2
2
|
import { GlobalStore } from '../../common';
|
|
3
3
|
import { SettingsCopy, TransactionRule, DetailedNotificationProfile, Device, NotificationProfile, User, UserCommunicationProfile } from '../../core';
|
|
4
|
-
import { SettingsApi } from '
|
|
5
|
-
import { TransactionApi } from '../../
|
|
4
|
+
import { SettingsApi } from '../../core/api/SettingsApi';
|
|
5
|
+
import { TransactionApi } from '../../core/api/TransactionApi';
|
|
6
6
|
interface SettingsAlertProps {
|
|
7
7
|
message: string;
|
|
8
8
|
severity: AlertProps['severity'];
|
|
@@ -8,9 +8,9 @@ import y from "@mui/material/Stack";
|
|
|
8
8
|
import $ from "@mui/material/Tab";
|
|
9
9
|
import it from "@mui/material/Tabs";
|
|
10
10
|
import _t from "@mui/material/styles/useTheme";
|
|
11
|
-
import { g as rt, a as st, S as O, b as Y } from "../SpendingLegend-
|
|
11
|
+
import { g as rt, a as st, S as O, b as Y } from "../SpendingLegend-DljKEG69.mjs";
|
|
12
12
|
import { Text as T, Icon as bt } from "@mxenabled/mxui";
|
|
13
|
-
import { f as N } from "../NumberFormatting-
|
|
13
|
+
import { f as N } from "../NumberFormatting-CyrvFgfd.mjs";
|
|
14
14
|
import { u as A, l as W, d as lt, b as z, a as V, h as ct, g as yt } from "../hooks-BxkfR-Ff.mjs";
|
|
15
15
|
import { u as dt } from "../useWidgetLoadTimer-DgN1bTyu.mjs";
|
|
16
16
|
import { L as gt } from "../Loader-D3rjKx72.mjs";
|
|
@@ -18,9 +18,9 @@ import { M as Ct } from "../MiniWidgetContainer-Bhkv-hpz.mjs";
|
|
|
18
18
|
import { startOfToday as q } from "date-fns/startOfToday";
|
|
19
19
|
import St from "@mui/material/Button";
|
|
20
20
|
import { useTheme as Tt } from "@mui/material";
|
|
21
|
-
import { e as Mt } from "../exportTransactionsToCSV-
|
|
22
|
-
import { T as Dt } from "../EmbeddedCard-
|
|
23
|
-
import { T as xt } from "../TransactionDetails-
|
|
21
|
+
import { e as Mt } from "../exportTransactionsToCSV-Dnd5lVq7.mjs";
|
|
22
|
+
import { T as Dt } from "../EmbeddedCard-j7IGx3s1.mjs";
|
|
23
|
+
import { T as xt } from "../TransactionDetails-CN-yZkin.mjs";
|
|
24
24
|
import vt from "@mui/material/Collapse";
|
|
25
25
|
import wt from "@mui/material/Divider";
|
|
26
26
|
import J from "@mui/material/List";
|
|
@@ -31,7 +31,7 @@ import { D as Z } from "../Drawer-Bbe4AMB1.mjs";
|
|
|
31
31
|
import { b as w } from "../Category-CevNQ03n.mjs";
|
|
32
32
|
import { parseISO as tt } from "date-fns/parseISO";
|
|
33
33
|
import { A as et } from "../Analytics-0Xm_BjHU.mjs";
|
|
34
|
-
import { W as It } from "../WidgetContainer-
|
|
34
|
+
import { W as It } from "../WidgetContainer-Bc75FqK7.mjs";
|
|
35
35
|
const k = ({ amount: n, label: d, variant: o = "full" }) => /* @__PURE__ */ p(y, { direction: "column", children: [
|
|
36
36
|
/* @__PURE__ */ t(T, { bold: !0, sx: { textTransform: "none" }, variant: "body1", children: d }),
|
|
37
37
|
/* @__PURE__ */ t(T, { variant: "caption", children: N(n, o === "mini" ? "0,0" : "0,0.00") })
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import { T as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { T as
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import { E as Ba } from "../ExportCsvAction-CHCmCCqf.mjs";
|
|
1
|
+
import { C as Re, D as Be, M as He, a as Pe, T as $e } from "../TransactionDetails-CN-yZkin.mjs";
|
|
2
|
+
import { B as Sa, b as Da } from "../TransactionDetails-CN-yZkin.mjs";
|
|
3
|
+
import { e as Ve } from "../exportTransactionsToCSV-Dnd5lVq7.mjs";
|
|
4
|
+
import { O as va } from "../exportTransactionsToCSV-Dnd5lVq7.mjs";
|
|
5
|
+
import { S as Z, D as We } from "../TransactionStore-6ovFO8P1.mjs";
|
|
6
|
+
import { T as Ea } from "../TransactionStore-6ovFO8P1.mjs";
|
|
7
|
+
import { u as B, T as Ge } from "../EmbeddedCard-j7IGx3s1.mjs";
|
|
8
|
+
import { a as ka } from "../EmbeddedCard-j7IGx3s1.mjs";
|
|
9
|
+
import { E as Ma } from "../ExportCsvAction-7sjz7AXQ.mjs";
|
|
11
10
|
import { jsxs as m, jsx as e } from "react/jsx-runtime";
|
|
12
11
|
import u from "react";
|
|
13
12
|
import { observer as D } from "mobx-react-lite";
|
|
@@ -18,10 +17,10 @@ import w from "@mui/material/Box";
|
|
|
18
17
|
import { useTheme as Ye } from "@mui/material/styles";
|
|
19
18
|
import { Text as y, Icon as R, MerchantLogo as je, TextField as ee, P as Xe } from "@mxenabled/mxui";
|
|
20
19
|
import { fromUnixTime as Je } from "date-fns/fromUnixTime";
|
|
21
|
-
import { f as Qe, D as Ze } from "../DateFormats-
|
|
20
|
+
import { f as Qe, D as Ze } from "../DateFormats-CaOj_4eI.mjs";
|
|
22
21
|
import S from "@mui/material/Stack";
|
|
23
|
-
import {
|
|
24
|
-
import { f as re } from "../NumberFormatting-
|
|
22
|
+
import { T as O } from "../Transaction-Cn5_iFm0.mjs";
|
|
23
|
+
import { f as re } from "../NumberFormatting-CyrvFgfd.mjs";
|
|
25
24
|
import { L as z } from "../Loader-D3rjKx72.mjs";
|
|
26
25
|
import { A as x } from "../Analytics-0Xm_BjHU.mjs";
|
|
27
26
|
import { D as ie } from "../Dialog-Ck34yr-d.mjs";
|
|
@@ -35,14 +34,14 @@ import rt from "@mui/material/Divider";
|
|
|
35
34
|
import it from "@mui/material/MenuItem";
|
|
36
35
|
import st from "@mui/material/RadioGroup";
|
|
37
36
|
import { ExpandMore as ct } from "@mxenabled/mx-icons";
|
|
38
|
-
import { C as lt } from "../CurrencyInput-
|
|
39
|
-
import { a as dt, u as ut } from "../CategorySelectorDrawer-
|
|
40
|
-
import { b as U } from "../Localization-
|
|
37
|
+
import { C as lt } from "../CurrencyInput-BkNVHxSV.mjs";
|
|
38
|
+
import { a as dt, u as ut } from "../CategorySelectorDrawer-BG04ByUx.mjs";
|
|
39
|
+
import { b as U } from "../Localization-CkQ49EKr.mjs";
|
|
41
40
|
import { u as mt } from "../useAriaLive-MkYebyUR.mjs";
|
|
42
41
|
import { S as _t } from "../SkeletonLoader-BaNboJjD.mjs";
|
|
43
42
|
import { u as pt } from "../useScreenSize-CUcpY7aJ.mjs";
|
|
44
43
|
import { u as gt } from "../useWidgetLoadTimer-DgN1bTyu.mjs";
|
|
45
|
-
import { W as ht } from "../WidgetContainer-
|
|
44
|
+
import { W as ht } from "../WidgetContainer-Bc75FqK7.mjs";
|
|
46
45
|
import { S as ft } from "../SearchBox-CwDgvWVJ.mjs";
|
|
47
46
|
import { D as te } from "../Drawer-Bbe4AMB1.mjs";
|
|
48
47
|
const Ct = (t) => /* @__PURE__ */ m(y, { tabIndex: t.tabIndex, variant: "body2", children: [
|
|
@@ -594,15 +593,14 @@ const Ct = (t) => /* @__PURE__ */ m(y, { tabIndex: t.tabIndex, variant: "body2",
|
|
|
594
593
|
}, Aa = D(Mt);
|
|
595
594
|
export {
|
|
596
595
|
Nt as AddAccountModal,
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
Sa as TransactionApi,
|
|
596
|
+
Sa as BottomActions,
|
|
597
|
+
Ma as ExportCsvAction,
|
|
598
|
+
va as TRANSACTION_EVENTS,
|
|
599
|
+
Da as TopActions,
|
|
602
600
|
$e as TransactionDetails,
|
|
603
601
|
Ge as TransactionList,
|
|
604
|
-
|
|
605
|
-
|
|
602
|
+
ka as TransactionRow,
|
|
603
|
+
Ea as TransactionStore,
|
|
606
604
|
It as TransactionTable,
|
|
607
605
|
Aa as TransactionWidget,
|
|
608
606
|
Ve as exportTransactionsToCSV,
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { BeatApi
|
|
1
|
+
import { BeatApi } from '../../core/api/BeatApi';
|
|
2
|
+
import { GlobalStore } from '../../common';
|
|
2
3
|
import { Beat, Tag, Tagging, Transaction, TransactionRule } from '../../core';
|
|
3
|
-
import { TransactionApi } from '
|
|
4
|
+
import { TransactionApi } from '../../core/api/TransactionApi';
|
|
4
5
|
import { UiStore } from './UiStore';
|
|
5
6
|
export type TransactionFilter = {
|
|
6
7
|
accounts?: string[];
|
package/dist/trends/index.es.js
CHANGED
|
@@ -18,30 +18,30 @@ import ot from "@mui/material/CardContent";
|
|
|
18
18
|
import Ne from "@mui/material/Divider";
|
|
19
19
|
import $e from "@mui/material/Grid";
|
|
20
20
|
import { u as R, l as Q, g as z, b as fe, h as ve, d as De, B as ye, p as nt, f as Be, a as st } from "../hooks-BxkfR-Ff.mjs";
|
|
21
|
-
import { b as rt } from "../Localization-
|
|
22
|
-
import { C as xe } from "../CurrencyText-
|
|
21
|
+
import { b as rt } from "../Localization-CkQ49EKr.mjs";
|
|
22
|
+
import { C as xe } from "../CurrencyText-oqd6cX3M.mjs";
|
|
23
23
|
import { C as Re, b as ze, c as Wt } from "../Category-CevNQ03n.mjs";
|
|
24
|
-
import { f as X, D as G } from "../DateFormats-
|
|
25
|
-
import { f as se, a as Ot } from "../NumberFormatting-
|
|
26
|
-
import { c as Gt, a as Ke, g as Bt, L as Pt } from "../TrendsStore-
|
|
27
|
-
import { T as ms } from "../TrendsStore-
|
|
28
|
-
import { c as Vt, i as Ft, d as $t, e as zt, b as at, g as it, f as Ye } from "../SpendingData-
|
|
24
|
+
import { f as X, D as G } from "../DateFormats-CaOj_4eI.mjs";
|
|
25
|
+
import { f as se, a as Ot } from "../NumberFormatting-CyrvFgfd.mjs";
|
|
26
|
+
import { c as Gt, a as Ke, g as Bt, L as Pt } from "../TrendsStore-DZa6cyQC.mjs";
|
|
27
|
+
import { T as ms } from "../TrendsStore-DZa6cyQC.mjs";
|
|
28
|
+
import { c as Vt, i as Ft, d as $t, e as zt, b as at, g as it, f as Ye } from "../SpendingData-CoZOmlZD.mjs";
|
|
29
29
|
import Kt from "@mui/material/ToggleButton";
|
|
30
30
|
import Yt from "@mui/material/ToggleButtonGroup";
|
|
31
31
|
import { parseISO as lt } from "date-fns/parseISO";
|
|
32
32
|
import { H as ke } from "../HeaderCell-P8w6CmfO.mjs";
|
|
33
|
-
import { T as W, b as jt } from "../ViewMoreMicroCard-
|
|
33
|
+
import { T as W, b as jt } from "../ViewMoreMicroCard-BsEitNRJ.mjs";
|
|
34
34
|
import { useGridApiContext as Ut, useGridRootProps as Xt, DataGridPro as Zt } from "@mui/x-data-grid-pro";
|
|
35
35
|
import Qt from "@mui/material/Badge";
|
|
36
36
|
import qt from "@mui/material/IconButton";
|
|
37
37
|
import { A as v } from "../Analytics-0Xm_BjHU.mjs";
|
|
38
|
-
import { T as ct } from "../EmbeddedCard-
|
|
39
|
-
import { T as dt } from "../TransactionDetails-
|
|
38
|
+
import { T as ct } from "../EmbeddedCard-j7IGx3s1.mjs";
|
|
39
|
+
import { T as dt } from "../TransactionDetails-CN-yZkin.mjs";
|
|
40
40
|
import { D as Pe } from "../Drawer-Bbe4AMB1.mjs";
|
|
41
41
|
import { u as Ie } from "../useWidgetLoadTimer-DgN1bTyu.mjs";
|
|
42
42
|
import { L as Le } from "../Loader-D3rjKx72.mjs";
|
|
43
|
-
import { W as ut } from "../WidgetContainer-
|
|
44
|
-
import { L as Ve } from "../LineChart-
|
|
43
|
+
import { W as ut } from "../WidgetContainer-Bc75FqK7.mjs";
|
|
44
|
+
import { L as Ve } from "../LineChart-DkD_s9NN.mjs";
|
|
45
45
|
import { M as Jt } from "../MiniWidgetContainer-Bhkv-hpz.mjs";
|
|
46
46
|
import { subMonths as eo } from "date-fns";
|
|
47
47
|
import { TrendingUp as to, TrendingDown as oo, MultilineChart as no, ExpandLess as so, ExpandMore as ro, ChevronRight as ao, ArrowBack as io } from "@mxenabled/mx-icons";
|
|
@@ -53,10 +53,10 @@ import uo from "@mui/material/ListItemButton";
|
|
|
53
53
|
import mo from "@mui/material/ListItemIcon";
|
|
54
54
|
import ht from "@mui/material/ListItemText";
|
|
55
55
|
import gt from "@mui/material/styles/useTheme";
|
|
56
|
-
import { b as Oe } from "../CategoryUtil-
|
|
56
|
+
import { b as Oe } from "../CategoryUtil-DKRCegQv.mjs";
|
|
57
57
|
import { Stack as ho } from "@mui/material";
|
|
58
58
|
import go from "@mui/material/ListItemAvatar";
|
|
59
|
-
import { E as po } from "../ExportCsvAction-
|
|
59
|
+
import { E as po } from "../ExportCsvAction-7sjz7AXQ.mjs";
|
|
60
60
|
import { u as fo } from "../useInsightsEnabled-DL_oNyI0.mjs";
|
|
61
61
|
import { E as yo } from "../EmptyState-DHAkGsjk.mjs";
|
|
62
62
|
import { C as Co } from "../ConnectDrawer-C0wjwcJt.mjs";
|