@mx-cartographer/experiences 7.11.14 → 7.11.15
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 +4 -0
- package/dist/{AccountApi-JlrX0MwM.mjs → AccountApi-ChQr5PAZ.mjs} +1 -1
- package/dist/{AccountDetailsHeader-BCi1WwkM.mjs → AccountDetailsHeader-DCTCLB3K.mjs} +2 -2
- package/dist/{AccountFields-C-sby5mF.mjs → AccountFields-DeZSQOuM.mjs} +3 -3
- package/dist/{AccountListItem-Ceuh5WKe.mjs → AccountListItem-CZk-bo6j.mjs} +2 -2
- package/dist/{AccountStore-rFyEPMss.mjs → AccountStore-Cw54qb7Y.mjs} +2 -2
- package/dist/{BeatApi-B7yMnwRX.mjs → BeatApi-EFHXULDx.mjs} +1 -1
- package/dist/{BeatStore-C3njaxFy.mjs → BeatStore-C6CAT-ce.mjs} +1 -1
- package/dist/{BudgetUtil-CTpLz9lw.mjs → BudgetUtil-QbRXtLKn.mjs} +2 -2
- package/dist/{CategorySelectorDrawer-BMmxw2oY.mjs → CategorySelectorDrawer-6FRNqzAB.mjs} +1 -1
- package/dist/{CategoryStore-BC1Dbefp.mjs → CategoryStore-FTxUbn0f.mjs} +2 -2
- package/dist/{CategoryUtil-Cufq3fxg.mjs → CategoryUtil-BVixr0d5.mjs} +1 -1
- package/dist/{CurrencyInput-CDY0awYV.mjs → CurrencyInput-bcKNJ22c.mjs} +2 -2
- package/dist/{CurrencyText-C-85TnUF.mjs → CurrencyText-CA-E5N_y.mjs} +1 -1
- package/dist/{DateFormats-Cs-NbEZ7.mjs → DateFormats-BMpMrZpW.mjs} +1 -1
- package/dist/{DateUtil-CVXVMbjf.mjs → DateUtil-wcYTmDRD.mjs} +1 -1
- package/dist/{ExportCsvAction-BSK-EZ4D.mjs → ExportCsvAction-B5Mn5uyb.mjs} +1 -1
- package/dist/{Fetch-C67go-m2.mjs → Fetch-B6tMJC1r.mjs} +1 -1
- package/dist/{FinstrongStore-93XvOWQr.mjs → FinstrongStore-DO0IrhF4.mjs} +4 -4
- package/dist/{GoalStore-XHAvX1lP.mjs → GoalStore-DXIP9dLt.mjs} +4 -4
- package/dist/{Help-BBxespai.mjs → Help-COWDMsJq.mjs} +1 -1
- package/dist/{LineChart-Pu3pKqtQ.mjs → LineChart-DvCvL2Ed.mjs} +1 -1
- package/dist/Localization-CPkpIwIx.mjs +37 -0
- package/dist/{ManageIncome-LQhY19hv.mjs → ManageIncome-CIWjrR-e.mjs} +6 -6
- package/dist/{MerchantStore-DeeJLKfx.mjs → MerchantStore-BzGi4JAZ.mjs} +1 -1
- package/dist/{NetWorthStore-iebGdvTb.mjs → NetWorthStore-DP78lgZ0.mjs} +1 -1
- package/dist/{NotificationSettings-BSaCGB8x.mjs → NotificationSettings-D8uSK6m9.mjs} +3 -3
- package/dist/{NotificationStore-CUhig4c1.mjs → NotificationStore-DraMNLzu.mjs} +1 -1
- package/dist/{NumberFormatting-DjTD0t3W.mjs → NumberFormatting-QCaNwbjv.mjs} +1 -1
- package/dist/{OriginalBalanceAction-Bq4utJ1f.mjs → OriginalBalanceAction-DuVHcBdO.mjs} +2 -2
- package/dist/{RecurringSettings-T5zQYY8U.mjs → RecurringSettings-CUSXYmZJ.mjs} +2 -2
- package/dist/{RecurringTransactions-C8Cy-9DA.mjs → RecurringTransactions-CYNpe_RS.mjs} +4 -4
- package/dist/{RecurringTransactionsStore-DH8DEIAz.mjs → RecurringTransactionsStore-BD-OfVZ-.mjs} +2 -2
- package/dist/{SettingsStore-tK6INBFP.mjs → SettingsStore-Cax1fzsz.mjs} +2 -2
- package/dist/{SpendingData-C3bN-37j.mjs → SpendingData-Bz1bCWAs.mjs} +1 -1
- package/dist/{SpendingLegend-bMrPWOGJ.mjs → SpendingLegend-Cpd_jtoX.mjs} +2 -2
- package/dist/{TransactionApi-BnjVP2x2.mjs → TransactionApi-Ck5Ua-7F.mjs} +1 -1
- package/dist/{TransactionDetails-CCLMsk_N.mjs → TransactionDetails-JRo5BRvZ.mjs} +7 -7
- package/dist/{TransactionList-BibbhhS9.mjs → TransactionList-CXiLG0Ur.mjs} +2 -2
- package/dist/{TransactionStore-Cv-7GLPT.mjs → TransactionStore-BbjZQa-N.mjs} +5 -5
- package/dist/{TrendsStore-Ys6BY_Uo.mjs → TrendsStore-st6GjDtg.mjs} +1 -1
- package/dist/{User-CoANIQIA.mjs → User-BIgPTsU6.mjs} +1 -1
- package/dist/{ViewMoreMicroCard-C4QiAZz4.mjs → ViewMoreMicroCard-Bf1J0zYY.mjs} +3 -3
- package/dist/{WidgetContainer-sC5KLXHI.mjs → WidgetContainer-DaALybWB.mjs} +1 -1
- package/dist/accounts/index.es.js +15 -15
- package/dist/budgets/index.es.js +14 -14
- package/dist/cashflow/index.es.js +12 -12
- package/dist/categories/index.es.js +2 -2
- package/dist/common/index.es.js +37 -36
- package/dist/common/utils/Localization.d.ts +8 -0
- package/dist/common/utils/index.d.ts +1 -1
- package/dist/debts/index.es.js +7 -7
- package/dist/{exportTransactionsToCSV-YXwmzmUp.mjs → exportTransactionsToCSV-CKHt_UOp.mjs} +1 -1
- package/dist/finstrong/index.es.js +14 -14
- package/dist/goals/index.es.js +8 -8
- package/dist/help/index.es.js +2 -2
- package/dist/insights/index.es.js +4 -4
- package/dist/investments/index.es.js +2 -2
- package/dist/merchants/index.es.js +1 -1
- package/dist/microinsights/index.es.js +1 -1
- package/dist/networth/index.es.js +8 -8
- package/dist/notifications/index.es.js +5 -5
- package/dist/recurringtransactions/index.es.js +290 -275
- package/dist/settings/index.es.js +7 -7
- package/dist/spending/index.es.js +6 -6
- package/dist/transactions/index.es.js +15 -15
- package/dist/trends/index.es.js +14 -14
- package/dist/{useCombineEvents-C6fkIgHW.mjs → useCombineEvents-B5am53e-.mjs} +1 -1
- package/package.json +1 -1
- package/dist/Localization-2MODESHW.mjs +0 -30
package/CHANGELOG.md
CHANGED
|
@@ -4,7 +4,7 @@ import a from "@mui/material/Stack";
|
|
|
4
4
|
import { H3 as T, InstitutionLogo as x, Text as l, H2 as D } from "@mxenabled/mxui";
|
|
5
5
|
import p from "react";
|
|
6
6
|
import { G as N, d as _, m as P, f as G, u as O } from "./hooks-zu7yblbi.mjs";
|
|
7
|
-
import { g as R } from "./AccountFields-
|
|
7
|
+
import { g as R } from "./AccountFields-DeZSQOuM.mjs";
|
|
8
8
|
import { A as r } from "./Account-BiB1F8lL.mjs";
|
|
9
9
|
import w from "@mui/material/Card";
|
|
10
10
|
import v from "@mui/material/CardContent";
|
|
@@ -12,7 +12,7 @@ import L from "@mui/material/CardHeader";
|
|
|
12
12
|
import { L as H } from "./Loader-D3rjKx72.mjs";
|
|
13
13
|
import { I as M, P as U, S as Y } from "./Account-DuOz1a27.mjs";
|
|
14
14
|
import { u as j } from "./useAccountDisplayName-CxYB0Wpw.mjs";
|
|
15
|
-
import { f as z } from "./NumberFormatting-
|
|
15
|
+
import { f as z } from "./NumberFormatting-QCaNwbjv.mjs";
|
|
16
16
|
const C = () => {
|
|
17
17
|
if (!p.useContext(N))
|
|
18
18
|
throw new Error("useCategoryUiStore() must be used within the GlobalDataContext");
|
|
@@ -3,9 +3,9 @@ import { Icon as p, Text as y } from "@mxenabled/mxui";
|
|
|
3
3
|
import { A as d, a as v, P as h, b as F } from "./Account-BiB1F8lL.mjs";
|
|
4
4
|
import { i as T, u as D, a as A, b as g, c as O } from "./Accounts-M-LTzStv.mjs";
|
|
5
5
|
import { F as m } from "./Accounts-CseLC3lL.mjs";
|
|
6
|
-
import { f as _, i as b, a as N, b as S } from "./NumberFormatting-
|
|
7
|
-
import { b as i } from "./Localization-
|
|
8
|
-
import { f as o, D as f } from "./DateFormats-
|
|
6
|
+
import { f as _, i as b, a as N, b as S } from "./NumberFormatting-QCaNwbjv.mjs";
|
|
7
|
+
import { b as i } from "./Localization-CPkpIwIx.mjs";
|
|
8
|
+
import { f as o, D as f } from "./DateFormats-BMpMrZpW.mjs";
|
|
9
9
|
const x = (l, e) => {
|
|
10
10
|
const r = [
|
|
11
11
|
{
|
|
@@ -10,11 +10,11 @@ import B from "@mui/material/styles/useTheme";
|
|
|
10
10
|
import { InstitutionLogo as L, Text as o } from "@mxenabled/mxui";
|
|
11
11
|
import { Error as A } from "@mxenabled/mx-icons";
|
|
12
12
|
import { I as j } from "./IconBacking-B9oC6uL2.mjs";
|
|
13
|
-
import { g as T } from "./AccountFields-
|
|
13
|
+
import { g as T } from "./AccountFields-DeZSQOuM.mjs";
|
|
14
14
|
import { u as X } from "./useAccountDisplayName-CxYB0Wpw.mjs";
|
|
15
15
|
import { u as $ } from "./hooks-zu7yblbi.mjs";
|
|
16
16
|
import { C as d } from "./Account-BiB1F8lL.mjs";
|
|
17
|
-
import { f as k } from "./NumberFormatting-
|
|
17
|
+
import { f as k } from "./NumberFormatting-QCaNwbjv.mjs";
|
|
18
18
|
const w = {
|
|
19
19
|
gridRow: 1,
|
|
20
20
|
gridColumn: 1,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { makeAutoObservable as h, runInAction as a } from "mobx";
|
|
2
|
-
import { i as g } from "./User-
|
|
3
|
-
import { A as d } from "./AccountApi-
|
|
2
|
+
import { i as g } from "./User-BIgPTsU6.mjs";
|
|
3
|
+
import { A as d } from "./AccountApi-ChQr5PAZ.mjs";
|
|
4
4
|
import { d as m } from "./Accounts-M-LTzStv.mjs";
|
|
5
5
|
import { A as s, d as u } from "./Account-BiB1F8lL.mjs";
|
|
6
6
|
class p {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { makeAutoObservable as c, runInAction as r } from "mobx";
|
|
2
|
-
import { B as l } from "./BeatApi-
|
|
2
|
+
import { B as l } from "./BeatApi-EFHXULDx.mjs";
|
|
3
3
|
function d(t, e, s, i = "asc") {
|
|
4
4
|
const a = i === "desc" ? -1 : 1;
|
|
5
5
|
return [...t, ...e].sort((_, n) => _[s] < n[s] ? -1 * a : _[s] > n[s] ? 1 * a : 0);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { b as d } from "./Category-CevNQ03n.mjs";
|
|
2
2
|
import { i as _ } from "./hooks-zu7yblbi.mjs";
|
|
3
|
-
import { b as f } from "./Localization-
|
|
4
|
-
import { f as l } from "./NumberFormatting-
|
|
3
|
+
import { b as f } from "./Localization-CPkpIwIx.mjs";
|
|
4
|
+
import { f as l } from "./NumberFormatting-QCaNwbjv.mjs";
|
|
5
5
|
const p = (n, e) => n.find((t) => t.guid === e), B = (n, e) => n.find((t) => t.guid === e), T = (n, e) => {
|
|
6
6
|
const t = n.find((r) => r.subCategories.find((a) => a.guid === e));
|
|
7
7
|
if (t)
|
|
@@ -15,7 +15,7 @@ import { CheckCircle as j, Edit as X, Delete as z, ExpandMore as q } from "@mxen
|
|
|
15
15
|
import { Text as I, TextField as H, CategoryIcon as J } from "@mxenabled/mxui";
|
|
16
16
|
import Q from "@mui/material/Collapse";
|
|
17
17
|
import Z from "@mui/material/DialogContent";
|
|
18
|
-
import { b as p } from "./Localization-
|
|
18
|
+
import { b as p } from "./Localization-CPkpIwIx.mjs";
|
|
19
19
|
import { D as ee } from "./Dialog-DdCwLgrl.mjs";
|
|
20
20
|
import te from "@mui/material/Box";
|
|
21
21
|
import oe from "@mui/material/Chip";
|
|
@@ -3,8 +3,8 @@ import { getUnixTime as n } from "date-fns/getUnixTime";
|
|
|
3
3
|
import { subMonths as c } from "date-fns/subMonths";
|
|
4
4
|
import { startOfMonth as C } from "date-fns/startOfMonth";
|
|
5
5
|
import { endOfMonth as h } from "date-fns/endOfMonth";
|
|
6
|
-
import { a as T, g as m } from "./CategoryUtil-
|
|
7
|
-
import { F as f, A as i } from "./Fetch-
|
|
6
|
+
import { a as T, g as m } from "./CategoryUtil-BVixr0d5.mjs";
|
|
7
|
+
import { F as f, A as i } from "./Fetch-B6tMJC1r.mjs";
|
|
8
8
|
import { b as l, c as p } from "./Category-CevNQ03n.mjs";
|
|
9
9
|
class d {
|
|
10
10
|
fetchInstance;
|
|
@@ -4,7 +4,7 @@ import { startOfToday as C } from "date-fns/startOfToday";
|
|
|
4
4
|
import { subMonths as N } from "date-fns/subMonths";
|
|
5
5
|
import { CategoryIconList as O } from "@mxenabled/mxui";
|
|
6
6
|
import { C as b, a as D, b as E } from "./Category-CevNQ03n.mjs";
|
|
7
|
-
import { f as R, D as v } from "./DateFormats-
|
|
7
|
+
import { f as R, D as v } from "./DateFormats-BMpMrZpW.mjs";
|
|
8
8
|
const H = 3, f = 12, k = (t, o, e, r) => t.filter((n) => !n.parent_guid).map(
|
|
9
9
|
(n) => p(
|
|
10
10
|
n,
|
|
@@ -3,9 +3,9 @@ import u from "react";
|
|
|
3
3
|
import { css as k } from "@mxenabled/cssinjs";
|
|
4
4
|
import { v4 as q } from "uuid";
|
|
5
5
|
import { TextField as B, P as _ } from "@mxenabled/mxui";
|
|
6
|
-
import { g as L, C as O, f as y, M as C } from "./NumberFormatting-
|
|
6
|
+
import { g as L, C as O, f as y, M as C } from "./NumberFormatting-QCaNwbjv.mjs";
|
|
7
7
|
import { u as W } from "./hooks-zu7yblbi.mjs";
|
|
8
|
-
import { b, g } from "./Localization-
|
|
8
|
+
import { b, g } from "./Localization-CPkpIwIx.mjs";
|
|
9
9
|
const j = ({
|
|
10
10
|
allowDecimals: o = !0,
|
|
11
11
|
ariaLabel: h,
|
|
@@ -8,7 +8,7 @@ import { nextDay as p } from "date-fns/nextDay";
|
|
|
8
8
|
import { setDate as y } from "date-fns/setDate";
|
|
9
9
|
import { startOfToday as r } from "date-fns/startOfToday";
|
|
10
10
|
import { fromUnixTime as i } from "date-fns/fromUnixTime";
|
|
11
|
-
import { f as D, D as f } from "./DateFormats-
|
|
11
|
+
import { f as D, D as f } from "./DateFormats-BMpMrZpW.mjs";
|
|
12
12
|
const A = (e) => {
|
|
13
13
|
const t = x(e);
|
|
14
14
|
let o = p(e, t);
|
|
@@ -1,7 +1,7 @@
|
|
|
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-
|
|
4
|
+
import { e as p } from "./exportTransactionsToCSV-CKHt_UOp.mjs";
|
|
5
5
|
import { O as m } from "./Transaction-BR682Yj5.mjs";
|
|
6
6
|
import { R as x } from "./ResponsiveButton-DZFp78fJ.mjs";
|
|
7
7
|
import { g as _, h as C, u as l } from "./hooks-zu7yblbi.mjs";
|
|
@@ -3,7 +3,7 @@ import { format as R } from "date-fns/format";
|
|
|
3
3
|
import { fromUnixTime as b } from "date-fns/fromUnixTime";
|
|
4
4
|
import { getUnixTime as T } from "date-fns/getUnixTime";
|
|
5
5
|
import { subMonths as H } from "date-fns/subMonths";
|
|
6
|
-
import { F as x, A as h } from "./Fetch-
|
|
6
|
+
import { F as x, A as h } from "./Fetch-B6tMJC1r.mjs";
|
|
7
7
|
import { jsx as c, jsxs as C } from "react/jsx-runtime";
|
|
8
8
|
import { addDays as v } from "date-fns/addDays";
|
|
9
9
|
import { addMonths as M } from "date-fns/addMonths";
|
|
@@ -23,9 +23,9 @@ import X from "@mui/material/ListItemAvatar";
|
|
|
23
23
|
import V from "@mui/material/ListItemButton";
|
|
24
24
|
import W from "@mui/material/ListItemText";
|
|
25
25
|
import { Text as y } from "@mxenabled/mxui";
|
|
26
|
-
import { f as O, D as _ } from "./DateFormats-
|
|
27
|
-
import { b as j } from "./Localization-
|
|
28
|
-
import { f as q } from "./NumberFormatting-
|
|
26
|
+
import { f as O, D as _ } from "./DateFormats-BMpMrZpW.mjs";
|
|
27
|
+
import { b as j } from "./Localization-CPkpIwIx.mjs";
|
|
28
|
+
import { f as q } from "./NumberFormatting-QCaNwbjv.mjs";
|
|
29
29
|
const m = {
|
|
30
30
|
creditScore: {
|
|
31
31
|
poor: 600,
|
|
@@ -9,13 +9,13 @@ import { AccountBalance as L, ChevronRight as S } from "@mxenabled/mx-icons";
|
|
|
9
9
|
import { Text as g } from "@mxenabled/mxui";
|
|
10
10
|
import { C as y } from "./ConnectDrawer-CVt-8rPJ.mjs";
|
|
11
11
|
import { makeAutoObservable as b, runInAction as u } from "mobx";
|
|
12
|
-
import { F as D, A as i } from "./Fetch-
|
|
12
|
+
import { F as D, A as i } from "./Fetch-B6tMJC1r.mjs";
|
|
13
13
|
import { fromUnixTime as R } from "date-fns/fromUnixTime";
|
|
14
14
|
import { addYears as F } from "date-fns/addYears";
|
|
15
15
|
import { getUnixTime as v } from "date-fns/getUnixTime";
|
|
16
|
-
import { b as d } from "./Localization-
|
|
17
|
-
import { a as x } from "./NumberFormatting-
|
|
18
|
-
import { f as K, D as P } from "./DateFormats-
|
|
16
|
+
import { b as d } from "./Localization-CPkpIwIx.mjs";
|
|
17
|
+
import { a as x } from "./NumberFormatting-QCaNwbjv.mjs";
|
|
18
|
+
import { f as K, D as P } from "./DateFormats-BMpMrZpW.mjs";
|
|
19
19
|
const rt = ({ description: o, label: t, title: e }) => {
|
|
20
20
|
const [r, a] = E.useState(!1);
|
|
21
21
|
return /* @__PURE__ */ _(E.Fragment, { children: [
|
|
@@ -15,7 +15,7 @@ import { ExpandMore as ot, ChevronRight as wt } from "@mxenabled/mx-icons";
|
|
|
15
15
|
import xt from "@mui/material/Breadcrumbs";
|
|
16
16
|
import { u as V, z as tt, d as ft, o as St, b as It, a as Tt } from "./hooks-zu7yblbi.mjs";
|
|
17
17
|
import { useTheme as Z } from "@mui/material/styles";
|
|
18
|
-
import { b as s } from "./Localization-
|
|
18
|
+
import { b as s } from "./Localization-CPkpIwIx.mjs";
|
|
19
19
|
import { E as Et, a as Ct, P as At } from "./Help-B8mD4aLJ.mjs";
|
|
20
20
|
import { observer as rt } from "mobx-react-lite";
|
|
21
21
|
import at from "@mui/material/Alert";
|
|
@@ -9,7 +9,7 @@ import { useAxesTooltip as pt, ChartsTooltipContainer as bt } from "@mui/x-chart
|
|
|
9
9
|
import { ChartsXAxis as kt } from "@mui/x-charts/ChartsXAxis";
|
|
10
10
|
import { ChartsYAxis as Mt } from "@mui/x-charts/ChartsYAxis";
|
|
11
11
|
import { AreaPlot as Ct, LinePlot as wt, MarkPlot as Lt } from "@mui/x-charts/LineChart";
|
|
12
|
-
import { f as p, c as X } from "./NumberFormatting-
|
|
12
|
+
import { f as p, c as X } from "./NumberFormatting-QCaNwbjv.mjs";
|
|
13
13
|
import { observer as St } from "mobx-react-lite";
|
|
14
14
|
import P from "@mui/material/Stack";
|
|
15
15
|
import { Text as l } from "@mxenabled/mxui";
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import u from "react";
|
|
2
|
+
const h = /(?<static>.*?)(?<dynamic>(?:_\d+{(?:.*?)}))|(?<staticEnd>.+)/g, m = {
|
|
3
|
+
EN_US: "en-us",
|
|
4
|
+
EN_CA: "en-ca",
|
|
5
|
+
FR: "fr",
|
|
6
|
+
FR_CA: "fr-ca",
|
|
7
|
+
ES: "es"
|
|
8
|
+
}, d = Object.values(m), b = (n, ...e) => {
|
|
9
|
+
if (!n) return "";
|
|
10
|
+
const s = e.some((a) => typeof a != "string"), o = [...n.matchAll(h)].reduce(
|
|
11
|
+
(a, p, f) => {
|
|
12
|
+
const c = [...a], t = p.groups;
|
|
13
|
+
if (t?.static && c.push(t.static), t?.dynamic) {
|
|
14
|
+
const l = t.dynamic.indexOf("{"), g = t.dynamic.substring(l + 1, t.dynamic.length - 1), r = Number(t.dynamic.substring(1, l));
|
|
15
|
+
if (u.isValidElement(e[r - 1])) {
|
|
16
|
+
const y = e[r - 1], E = u.cloneElement(y, {
|
|
17
|
+
key: `${g}-${f}`
|
|
18
|
+
});
|
|
19
|
+
c.push(E);
|
|
20
|
+
} else
|
|
21
|
+
c.push(e[r - 1]);
|
|
22
|
+
}
|
|
23
|
+
return t?.staticEnd && c.push(t.staticEnd), c;
|
|
24
|
+
},
|
|
25
|
+
[]
|
|
26
|
+
);
|
|
27
|
+
return s ? o : o.join("");
|
|
28
|
+
}, w = (n, e, s, ...i) => !n || !e ? "" : b(s === 1 ? n : e, ...i), C = () => {
|
|
29
|
+
const n = m.EN_US, e = window?.app?.options?.language?.toLowerCase() ?? "", s = window.navigator.language.toLowerCase();
|
|
30
|
+
return e === "browser" && d.includes(s) ? s : d.includes(e) ? e : n;
|
|
31
|
+
};
|
|
32
|
+
export {
|
|
33
|
+
m as L,
|
|
34
|
+
w as a,
|
|
35
|
+
b,
|
|
36
|
+
C as g
|
|
37
|
+
};
|
|
@@ -10,15 +10,15 @@ import ce from "@mui/material/ListItem";
|
|
|
10
10
|
import le from "@mui/material/ListItemAvatar";
|
|
11
11
|
import de from "@mui/material/ListItemButton";
|
|
12
12
|
import _e from "@mui/material/ListItemText";
|
|
13
|
-
import { F as d, S as M, D as z, g as $, R as L, e as X } from "./RecurringTransactions-
|
|
13
|
+
import { F as d, S as M, D as z, g as $, R as L, e as X } from "./RecurringTransactions-CYNpe_RS.mjs";
|
|
14
14
|
import { subDays as Z } from "date-fns/subDays";
|
|
15
15
|
import { startOfToday as E } from "date-fns/startOfToday";
|
|
16
16
|
import { endOfMonth as ue } from "date-fns/endOfMonth";
|
|
17
17
|
import { parseISO as me } from "date-fns/parseISO";
|
|
18
18
|
import J from "@mui/material/Button";
|
|
19
19
|
import { Delete as pe, Add as ye, ReceiptLong as he } from "@mxenabled/mx-icons";
|
|
20
|
-
import { T as V, u as fe, S as ge, a as Ce } from "./TransactionList-
|
|
21
|
-
import { T as be } from "./TransactionDetails-
|
|
20
|
+
import { T as V, u as fe, S as ge, a as Ce } from "./TransactionList-CXiLG0Ur.mjs";
|
|
21
|
+
import { T as be } from "./TransactionDetails-JRo5BRvZ.mjs";
|
|
22
22
|
import { addYears as K } from "date-fns/addYears";
|
|
23
23
|
import { getDayOfYear as xe } from "date-fns/getDayOfYear";
|
|
24
24
|
import { setDayOfYear as Se } from "date-fns/setDayOfYear";
|
|
@@ -26,15 +26,15 @@ import { AdapterDateFns as ve } from "@mui/x-date-pickers/AdapterDateFnsV3";
|
|
|
26
26
|
import { DatePicker as De } from "@mui/x-date-pickers";
|
|
27
27
|
import { LocalizationProvider as we } from "@mui/x-date-pickers/LocalizationProvider";
|
|
28
28
|
import { u as w, j as Y, g as P, b as Ae, h as ee, o as Ie } from "./hooks-zu7yblbi.mjs";
|
|
29
|
-
import { b as Re, f as te } from "./NumberFormatting-
|
|
29
|
+
import { b as Re, f as te } from "./NumberFormatting-QCaNwbjv.mjs";
|
|
30
30
|
import { D as N } from "./Drawer-DV4NTsFg.mjs";
|
|
31
31
|
import { A as O } from "./Analytics-i5h6BxR1.mjs";
|
|
32
|
-
import { f as Ee, D as Le } from "./DateFormats-
|
|
32
|
+
import { f as Ee, D as Le } from "./DateFormats-BMpMrZpW.mjs";
|
|
33
33
|
import { D as Oe } from "./Dialog-DdCwLgrl.mjs";
|
|
34
34
|
import { formatISO as Te } from "date-fns/formatISO";
|
|
35
35
|
import { fromUnixTime as ke } from "date-fns/fromUnixTime";
|
|
36
36
|
import { S as Ne } from "./SearchBox-B7km148n.mjs";
|
|
37
|
-
import { h as Me } from "./DateUtil-
|
|
37
|
+
import { h as Me } from "./DateUtil-wcYTmDRD.mjs";
|
|
38
38
|
import { b as B } from "./Category-CevNQ03n.mjs";
|
|
39
39
|
import { T as ne } from "./Transaction-BR682Yj5.mjs";
|
|
40
40
|
const re = ({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { makeAutoObservable as p } from "mobx";
|
|
2
|
-
import { A as m } from "./AccountApi-
|
|
2
|
+
import { A as m } from "./AccountApi-ChQr5PAZ.mjs";
|
|
3
3
|
import { format as B } from "date-fns/format";
|
|
4
4
|
import { fromUnixTime as W } from "date-fns/fromUnixTime";
|
|
5
5
|
import { startOfMonth as D } from "date-fns/startOfMonth";
|
|
@@ -16,10 +16,10 @@ import { LocalizationProvider as ae } from "@mui/x-date-pickers/LocalizationProv
|
|
|
16
16
|
import { AdapterDateFns as ce } from "@mui/x-date-pickers/AdapterDateFnsV3";
|
|
17
17
|
import { A as le, T as R, a as D, N as b } from "./Notification-CMBNDGC-.mjs";
|
|
18
18
|
import { u as S, r as T, o as A, d as J, g as re, a as X, b as de } from "./hooks-zu7yblbi.mjs";
|
|
19
|
-
import { b as me } from "./Localization-
|
|
20
|
-
import { b as _e, f as he } from "./NumberFormatting-
|
|
19
|
+
import { b as me } from "./Localization-CPkpIwIx.mjs";
|
|
20
|
+
import { b as _e, f as he } from "./NumberFormatting-QCaNwbjv.mjs";
|
|
21
21
|
import { D as N } from "./Dialog-DdCwLgrl.mjs";
|
|
22
|
-
import { C as ue } from "./CurrencyInput-
|
|
22
|
+
import { C as ue } from "./CurrencyInput-bcKNJ22c.mjs";
|
|
23
23
|
import { u as fe } from "./useScreenSize-B6JyS_Lj.mjs";
|
|
24
24
|
import { D as q } from "./Drawer-DV4NTsFg.mjs";
|
|
25
25
|
import pe from "@mui/material/Collapse";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { makeAutoObservable as f, observable as l, runInAction as h } from "mobx";
|
|
2
2
|
import { fromUnixTime as s, isSameDay as u } from "date-fns";
|
|
3
3
|
import { I as d } from "./Notification-CMBNDGC-.mjs";
|
|
4
|
-
import { F as N, A as o } from "./Fetch-
|
|
4
|
+
import { F as N, A as o } from "./Fetch-B6tMJC1r.mjs";
|
|
5
5
|
class r {
|
|
6
6
|
fetchInstance;
|
|
7
7
|
constructor(t, i, n) {
|
|
@@ -4,8 +4,8 @@ import { observer as p } from "mobx-react-lite";
|
|
|
4
4
|
import v from "@mui/material/TextField";
|
|
5
5
|
import { L as y } from "./ListItemAction-5YhgdUZW.mjs";
|
|
6
6
|
import { u as h, l as b } from "./hooks-zu7yblbi.mjs";
|
|
7
|
-
import { a as T, f as S } from "./NumberFormatting-
|
|
8
|
-
import { C as f } from "./CurrencyInput-
|
|
7
|
+
import { a as T, f as S } from "./NumberFormatting-QCaNwbjv.mjs";
|
|
8
|
+
import { C as f } from "./CurrencyInput-bcKNJ22c.mjs";
|
|
9
9
|
const F = p(({ goal: e }) => {
|
|
10
10
|
const { goals: a } = h(), { setAlert: r, setSelectedGoal: l, updateGoal: m } = b(), [t, s] = _.useState(e.interest_rate ?? 0), c = !e.guid, i = t < 0, d = async () => {
|
|
11
11
|
const n = { ...e, interest_rate: t };
|
|
@@ -7,9 +7,9 @@ import R from "@mui/material/Tabs";
|
|
|
7
7
|
import d from "@mui/material/Divider";
|
|
8
8
|
import b from "@mui/material/List";
|
|
9
9
|
import T from "@mui/material/Stack";
|
|
10
|
-
import { R as C, A as S, a as E, M as v } from "./ManageIncome-
|
|
10
|
+
import { R as C, A as S, a as E, M as v } from "./ManageIncome-CIWjrR-e.mjs";
|
|
11
11
|
import { u as _, j as A, g as f } from "./hooks-zu7yblbi.mjs";
|
|
12
|
-
import { R as y, F as N } from "./RecurringTransactions-
|
|
12
|
+
import { R as y, F as N } from "./RecurringTransactions-CYNpe_RS.mjs";
|
|
13
13
|
import { A as m } from "./Analytics-i5h6BxR1.mjs";
|
|
14
14
|
const I = h(() => {
|
|
15
15
|
const { recurring: g } = _(), { detailedRepeatingTransactions: n } = A(), { onEvent: a } = f(), l = (r) => {
|
|
@@ -32,10 +32,10 @@ import { subMonths as q } from "date-fns/subMonths";
|
|
|
32
32
|
import { subQuarters as B } from "date-fns/subQuarters";
|
|
33
33
|
import { subWeeks as ee } from "date-fns/subWeeks";
|
|
34
34
|
import { subYears as te } from "date-fns/subYears";
|
|
35
|
-
import { g as re, a as oe, b as ae, c as se, d as ne, e as ce, f as ie } from "./DateUtil-
|
|
36
|
-
import { b as Q } from "./NumberFormatting-
|
|
37
|
-
import { b as l } from "./Localization-
|
|
38
|
-
import { f as x, D as k } from "./DateFormats-
|
|
35
|
+
import { g as re, a as oe, b as ae, c as se, d as ne, e as ce, f as ie } from "./DateUtil-wcYTmDRD.mjs";
|
|
36
|
+
import { b as Q } from "./NumberFormatting-QCaNwbjv.mjs";
|
|
37
|
+
import { b as l } from "./Localization-CPkpIwIx.mjs";
|
|
38
|
+
import { f as x, D as k } from "./DateFormats-BMpMrZpW.mjs";
|
|
39
39
|
const ue = ({ iconName: e, label: a, onClick: r, value: o }) => {
|
|
40
40
|
const t = /* @__PURE__ */ O(L, { children: [
|
|
41
41
|
/* @__PURE__ */ d(G, { children: /* @__PURE__ */ d(U, { sx: { bgcolor: "border.light" }, variant: "rounded", children: /* @__PURE__ */ d(w, { name: e, sx: { color: "text.primary" }, weight: $.Dark }) }) }),
|
package/dist/{RecurringTransactionsStore-DH8DEIAz.mjs → RecurringTransactionsStore-BD-OfVZ-.mjs}
RENAMED
|
@@ -7,8 +7,8 @@ import { isWithinInterval as T } from "date-fns/isWithinInterval";
|
|
|
7
7
|
import { startOfMonth as y } from "date-fns/startOfMonth";
|
|
8
8
|
import { startOfToday as i } from "date-fns/startOfToday";
|
|
9
9
|
import { subDays as I } from "date-fns/subDays";
|
|
10
|
-
import { F as x, A as o } from "./Fetch-
|
|
11
|
-
import { a as u, b as A, c as r, d } from "./RecurringTransactions-
|
|
10
|
+
import { F as x, A as o } from "./Fetch-B6tMJC1r.mjs";
|
|
11
|
+
import { a as u, b as A, c as r, d } from "./RecurringTransactions-CYNpe_RS.mjs";
|
|
12
12
|
var E = /* @__PURE__ */ ((a) => (a.Small = "small", a.Medium = "medium", a.Large = "large", a))(E || {});
|
|
13
13
|
const G = 44;
|
|
14
14
|
class h {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { makeAutoObservable as N, runInAction as l } from "mobx";
|
|
2
|
-
import { F as D, A as r } from "./Fetch-
|
|
2
|
+
import { F as D, A as r } from "./Fetch-B6tMJC1r.mjs";
|
|
3
3
|
import { B as f, A as n, I as i } from "./Notification-CMBNDGC-.mjs";
|
|
4
|
-
import { T as m } from "./TransactionApi-
|
|
4
|
+
import { T as m } from "./TransactionApi-Ck5Ua-7F.mjs";
|
|
5
5
|
class y {
|
|
6
6
|
fetchInstance;
|
|
7
7
|
constructor(e, t, o) {
|
|
@@ -4,7 +4,7 @@ import { startOfMonth as _ } from "date-fns/startOfMonth";
|
|
|
4
4
|
import { subMonths as y } from "date-fns/subMonths";
|
|
5
5
|
import { endOfMonth as M } from "date-fns/endOfMonth";
|
|
6
6
|
import { b as a, P as l } from "./Category-CevNQ03n.mjs";
|
|
7
|
-
import { f as m, D as T } from "./DateFormats-
|
|
7
|
+
import { f as m, D as T } from "./DateFormats-BMpMrZpW.mjs";
|
|
8
8
|
const i = (e) => (e.top_level_category_guid === a.INCOME || e.category_guid === a.INCOME) && !h(e), C = (e) => !i(e) && !f(e), p = (e) => l.includes(e.top_level_category_guid) || l.includes(e.category_guid), f = (e) => e.top_level_category_guid === a.TRANSFER || e.category_guid === a.TRANSFER, h = (e) => e.top_level_category_guid === a.INVESTMENTS || e.category_guid === a.INVESTMENTS, N = (e) => !i(e) && !p(e) && !f(e) && !h(e), w = (e) => e.filter((r) => r.category_guid === r.top_level_category_guid), F = (e, r) => {
|
|
9
9
|
if (r === 0) return 0;
|
|
10
10
|
const o = (e - r) / r;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as T } from "./CategoryUtil-
|
|
1
|
+
import { b as T } from "./CategoryUtil-BVixr0d5.mjs";
|
|
2
2
|
import { b as p } from "./Category-CevNQ03n.mjs";
|
|
3
3
|
import { jsxs as f, Fragment as w, jsx as m } from "react/jsx-runtime";
|
|
4
4
|
import _ from "react";
|
|
@@ -11,7 +11,7 @@ import { D as $ } from "./Donut-DSGXraiS.mjs";
|
|
|
11
11
|
import { u as j } from "./useAriaLive-MkYebyUR.mjs";
|
|
12
12
|
import { u as R } from "./hooks-zu7yblbi.mjs";
|
|
13
13
|
import { u as v } from "./useScreenSize-B6JyS_Lj.mjs";
|
|
14
|
-
import { f as x } from "./NumberFormatting-
|
|
14
|
+
import { f as x } from "./NumberFormatting-QCaNwbjv.mjs";
|
|
15
15
|
import B from "@mui/material/Box";
|
|
16
16
|
const D = 5, H = (i, l, g, d) => d.reduce((t, n) => {
|
|
17
17
|
const a = i.find((s) => s.guid === n.category_guid);
|
|
@@ -8,7 +8,7 @@ import te from "@mui/material/Paper";
|
|
|
8
8
|
import v from "@mui/material/Stack";
|
|
9
9
|
import { useTheme as V } from "@mui/material/styles";
|
|
10
10
|
import { CategoryIcon as he, CategoryIconVariants as Ce, Text as C, P as X, MerchantLogo as Se, TextField as ye, Icon as ae, IconWeight as ue, Toast as ke } from "@mxenabled/mxui";
|
|
11
|
-
import { C as Pe, a as Me, b as Ge, i as Be } from "./User-
|
|
11
|
+
import { C as Pe, a as Me, b as Ge, i as Be } from "./User-BIgPTsU6.mjs";
|
|
12
12
|
import se from "@mui/material/Button";
|
|
13
13
|
import $e from "@mui/material/FormGroup";
|
|
14
14
|
import J from "@mui/material/IconButton";
|
|
@@ -25,20 +25,20 @@ import B from "@mui/material/Avatar";
|
|
|
25
25
|
import P from "@mui/material/ListItem";
|
|
26
26
|
import $ from "@mui/material/ListItemAvatar";
|
|
27
27
|
import M from "@mui/material/ListItemText";
|
|
28
|
-
import { f as Ae, D as Ne } from "./DateFormats-
|
|
28
|
+
import { f as Ae, D as Ne } from "./DateFormats-BMpMrZpW.mjs";
|
|
29
29
|
import K from "@mui/material/ListItemButton";
|
|
30
30
|
import F from "@mui/material/ListItemIcon";
|
|
31
|
-
import { f as Q } from "./NumberFormatting-
|
|
32
|
-
import { b as R } from "./Localization-
|
|
33
|
-
import { a as Ie } from "./CategorySelectorDrawer-
|
|
34
|
-
import { u as W } from "./TransactionList-
|
|
31
|
+
import { f as Q } from "./NumberFormatting-QCaNwbjv.mjs";
|
|
32
|
+
import { b as R } from "./Localization-CPkpIwIx.mjs";
|
|
33
|
+
import { a as Ie } from "./CategorySelectorDrawer-6FRNqzAB.mjs";
|
|
34
|
+
import { u as W } from "./TransactionList-CXiLG0Ur.mjs";
|
|
35
35
|
import { D as z } from "./Dialog-DdCwLgrl.mjs";
|
|
36
36
|
import { getUnixTime as Xe } from "date-fns/getUnixTime";
|
|
37
37
|
import { D as ce } from "./Drawer-DV4NTsFg.mjs";
|
|
38
38
|
import Te from "@mui/material/InputAdornment";
|
|
39
39
|
import je from "@mui/material/Checkbox";
|
|
40
40
|
import pe from "@mui/material/Grid";
|
|
41
|
-
import { C as qe } from "./CurrencyInput-
|
|
41
|
+
import { C as qe } from "./CurrencyInput-bcKNJ22c.mjs";
|
|
42
42
|
import Je from "@mui/material/Switch";
|
|
43
43
|
import { L as Qe } from "./Loader-D3rjKx72.mjs";
|
|
44
44
|
var j = /* @__PURE__ */ ((t) => (t[t.Category = 0] = "Category", t[t.Date = 1] = "Date", t[t.Memo = 2] = "Memo", t[t.Tags = 3] = "Tags", t))(j || {}), q = /* @__PURE__ */ ((t) => (t[t.MerchantBudget = 0] = "MerchantBudget", t[t.SplitTransaction = 1] = "SplitTransaction", t[t.HideTransaction = 2] = "HideTransaction", t[t.MerchantLogo = 3] = "MerchantLogo", t))(q || {});
|
|
@@ -11,11 +11,11 @@ import Y from "@mui/material/ListItemAvatar";
|
|
|
11
11
|
import Z from "@mui/material/ListItemText";
|
|
12
12
|
import S from "@mui/material/Stack";
|
|
13
13
|
import { T as F, L as q, O as J } from "./Transaction-BR682Yj5.mjs";
|
|
14
|
-
import { f as Q } from "./NumberFormatting-
|
|
14
|
+
import { f as Q } from "./NumberFormatting-QCaNwbjv.mjs";
|
|
15
15
|
import { Receipt as ee } from "@mxenabled/mx-icons";
|
|
16
16
|
import { fromUnixTime as x } from "date-fns/fromUnixTime";
|
|
17
17
|
import { isSameDay as N } from "date-fns/isSameDay";
|
|
18
|
-
import { h as te } from "./DateUtil-
|
|
18
|
+
import { h as te } from "./DateUtil-wcYTmDRD.mjs";
|
|
19
19
|
import { L as re } from "./Loader-D3rjKx72.mjs";
|
|
20
20
|
import { A as oe } from "./Analytics-i5h6BxR1.mjs";
|
|
21
21
|
const w = () => {
|
|
@@ -13,15 +13,15 @@ import { startOfMonth as h } from "date-fns/startOfMonth";
|
|
|
13
13
|
import { startOfToday as m } from "date-fns/startOfToday";
|
|
14
14
|
import { subDays as v } from "date-fns/subDays";
|
|
15
15
|
import { O as n, a as y, T as b } from "./Transaction-BR682Yj5.mjs";
|
|
16
|
-
import { T as D } from "./TransactionApi-
|
|
16
|
+
import { T as D } from "./TransactionApi-Ck5Ua-7F.mjs";
|
|
17
17
|
import { b as Y } from "./Category-CevNQ03n.mjs";
|
|
18
|
-
import { f as F } from "./exportTransactionsToCSV-
|
|
18
|
+
import { f as F } from "./exportTransactionsToCSV-CKHt_UOp.mjs";
|
|
19
19
|
import { format as W } from "date-fns/format";
|
|
20
20
|
import { fromUnixTime as $ } from "date-fns/fromUnixTime";
|
|
21
|
-
import { f as C, D as I, O as k } from "./DateFormats-
|
|
22
|
-
import { f as z } from "./NumberFormatting-
|
|
21
|
+
import { f as C, D as I, O as k } from "./DateFormats-BMpMrZpW.mjs";
|
|
22
|
+
import { f as z } from "./NumberFormatting-QCaNwbjv.mjs";
|
|
23
23
|
import { endOfMonth as X } from "date-fns/endOfMonth";
|
|
24
|
-
import { B as u } from "./BeatApi-
|
|
24
|
+
import { B as u } from "./BeatApi-EFHXULDx.mjs";
|
|
25
25
|
const j = ({
|
|
26
26
|
checked: l = !1,
|
|
27
27
|
label: t,
|
|
@@ -12,7 +12,7 @@ import { differenceInCalendarMonths as v } from "date-fns/differenceInCalendarMo
|
|
|
12
12
|
import { endOfMonth as D } from "date-fns/endOfMonth";
|
|
13
13
|
import { subMonths as w } from "date-fns/subMonths";
|
|
14
14
|
import { b as I, C as _, c as O } from "./Category-CevNQ03n.mjs";
|
|
15
|
-
import { f as C, D as L } from "./DateFormats-
|
|
15
|
+
import { f as C, D as L } from "./DateFormats-BMpMrZpW.mjs";
|
|
16
16
|
const rt = ({
|
|
17
17
|
onClick: e,
|
|
18
18
|
leftIcon: t,
|
|
@@ -16,7 +16,7 @@ import C from "@mui/material/Button";
|
|
|
16
16
|
import Z from "@mui/material/Paper";
|
|
17
17
|
import { H2 as q, Text as T, H3 as J, P as K } from "@mxenabled/mxui";
|
|
18
18
|
import { ChevronLeft as P, ChevronRight as Q, Icon as U } from "@mxenabled/mx-icons";
|
|
19
|
-
import { f as V, D as X } from "./DateFormats-
|
|
19
|
+
import { f as V, D as X } from "./DateFormats-BMpMrZpW.mjs";
|
|
20
20
|
import { isSameDay as d } from "date-fns/isSameDay";
|
|
21
21
|
import { isWithinInterval as tt } from "date-fns/isWithinInterval";
|
|
22
22
|
import nt from "@mui/material/styles/useTheme";
|
|
@@ -12,11 +12,11 @@ import { alpha as T, useTheme as j } from "@mui/material/styles";
|
|
|
12
12
|
import { useInView as Re } from "react-intersection-observer";
|
|
13
13
|
import { b as Ue } from "./Category-CevNQ03n.mjs";
|
|
14
14
|
import Ke from "@mui/material/styles/useTheme";
|
|
15
|
-
import { b as Fe } from "./Localization-
|
|
15
|
+
import { b as Fe } from "./Localization-CPkpIwIx.mjs";
|
|
16
16
|
import He from "@mui/material/CircularProgress";
|
|
17
17
|
import { makeAutoObservable as se, runInAction as Oe } from "mobx";
|
|
18
|
-
import { G as he, a as $e, u as je, b as Ye } from "./useCombineEvents-
|
|
19
|
-
import { B as me } from "./BeatApi-
|
|
18
|
+
import { G as he, a as $e, u as je, b as Ye } from "./useCombineEvents-B5am53e-.mjs";
|
|
19
|
+
import { B as me } from "./BeatApi-EFHXULDx.mjs";
|
|
20
20
|
import { u as Xe } from "./useWidgetLoadTimer-Bmgv_UeH.mjs";
|
|
21
21
|
import Ze from "@mui/material/Card";
|
|
22
22
|
import Qe from "@mui/material/CardActionArea";
|
|
@@ -39,7 +39,7 @@ import Se from "@mui/material/styles/useTheme";
|
|
|
39
39
|
import { u as Le } from "./useAriaLive-MkYebyUR.mjs";
|
|
40
40
|
import { D as Ee } from "./Dialog-DdCwLgrl.mjs";
|
|
41
41
|
import { D as Ae } from "./Drawer-DV4NTsFg.mjs";
|
|
42
|
-
import { f as C, D } from "./DateFormats-
|
|
42
|
+
import { f as C, D } from "./DateFormats-BMpMrZpW.mjs";
|
|
43
43
|
import { A as Oe } from "./Analytics-i5h6BxR1.mjs";
|
|
44
44
|
const Ne = ({
|
|
45
45
|
calendarActions: n,
|