@mx-cartographer/experiences 6.18.7 → 6.18.8
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/common/types/localization/SettingsCopy.d.ts +2 -0
- package/dist/index.es.js +196 -195
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -79,7 +79,7 @@ import Yi from "@mui/material/InputAdornment";
|
|
|
79
79
|
import pd from "@mui/material/Radio";
|
|
80
80
|
import Pt from "@mui/material/Avatar";
|
|
81
81
|
import ke from "@mui/material/ListItemAvatar";
|
|
82
|
-
import
|
|
82
|
+
import gt from "@mui/material/ListItemIcon";
|
|
83
83
|
import qa from "@mui/material/MenuItem";
|
|
84
84
|
import Qe from "@mui/material/TextField";
|
|
85
85
|
import aa from "@mui/material/Switch";
|
|
@@ -1303,7 +1303,7 @@ const xa = (e, n) => e.reduce((i, a) => (i[a.guid] = n?.includes(a.guid), i), {}
|
|
|
1303
1303
|
if (!n)
|
|
1304
1304
|
throw new Error(`${e}() must be used within the GlobalDataContext`);
|
|
1305
1305
|
return n;
|
|
1306
|
-
}, Se = () => Xe("useAccountStore").globalStore.accountStore, Ht = () => Xe("useAppConfig").globalStore.appDataStore.appConfig, co = () => Xe("useAnalyticsStore").globalStore.analyticsStore, ht = () => Xe("useBudgetsStore").globalStore.budgetsStore, lo = () => Xe("useCashflowStore").globalStore.cashflowStore, Fe = () => Xe("useCategoryStore").globalStore.categoryStore, Fs = () => Xe("useConnectStore").globalStore.connectStore, _a = () => Xe("useDebtsStore").globalStore.debtsStore, ai = () => Xe("useGlobalStore").globalStore,
|
|
1306
|
+
}, Se = () => Xe("useAccountStore").globalStore.accountStore, Ht = () => Xe("useAppConfig").globalStore.appDataStore.appConfig, co = () => Xe("useAnalyticsStore").globalStore.analyticsStore, ht = () => Xe("useBudgetsStore").globalStore.budgetsStore, lo = () => Xe("useCashflowStore").globalStore.cashflowStore, Fe = () => Xe("useCategoryStore").globalStore.categoryStore, Fs = () => Xe("useConnectStore").globalStore.connectStore, _a = () => Xe("useDebtsStore").globalStore.debtsStore, ai = () => Xe("useGlobalStore").globalStore, le = () => Xe("useGlobalUiStore").globalStore.globalUiStore, I = () => Xe("globalCopyStore").globalStore.copyStore.copy, rt = () => Xe("useGoalStore").globalStore.goalStore, _o = () => Xe("useHelpStore").globalStore.helpStore, Fn = () => Xe("useHoldingStore").globalStore.holdingStore, N_ = () => Xe("useMerchantStore").globalStore.merchantStore, Ws = () => Xe("useNetWorthStore").globalStore.netWorthStore, $s = () => Xe("useNotificationStore").globalStore.notificationStore, Ze = () => Xe("useRecurringTransactionsStore").globalStore.recurringTransactionsStore, mt = () => Xe("useSettingsStore").globalStore.settingsStore, Oe = () => Xe("useTransactionStore").globalStore.transactionStore, Us = () => Xe("useTrendsStore").globalStore.trendsStore, It = () => Xe("useUserStore").globalStore.userStore, X = () => ({ onEvent: Xe().onEvent }), k4 = () => ({ onPageView: Xe().onPageView }), D_ = (e = "useWidgetContainerContext") => {
|
|
1307
1307
|
const n = h.useContext(Hs);
|
|
1308
1308
|
if (!n)
|
|
1309
1309
|
throw new Error(`${e}() must be used within the WidgetContainerContext`);
|
|
@@ -2843,7 +2843,7 @@ const Y_ = ({
|
|
|
2843
2843
|
/* @__PURE__ */ t(L, { width: "44px" })
|
|
2844
2844
|
]
|
|
2845
2845
|
}
|
|
2846
|
-
),
|
|
2846
|
+
), ce = ({
|
|
2847
2847
|
ariaLabelClose: e = "Close",
|
|
2848
2848
|
children: n,
|
|
2849
2849
|
hasSecondaryAction: i = !0,
|
|
@@ -3091,7 +3091,7 @@ const Y_ = ({
|
|
|
3091
3091
|
}
|
|
3092
3092
|
),
|
|
3093
3093
|
E && d && /* @__PURE__ */ t(
|
|
3094
|
-
|
|
3094
|
+
ce,
|
|
3095
3095
|
{
|
|
3096
3096
|
ariaLabelClose: i.dateRangeCloseAria,
|
|
3097
3097
|
isOpen: E,
|
|
@@ -3394,7 +3394,7 @@ const ha = ({
|
|
|
3394
3394
|
sx: g = {},
|
|
3395
3395
|
title: m = ""
|
|
3396
3396
|
}) => {
|
|
3397
|
-
const [p, f] = h.useState(!1), [E, { height: y, width: S }] = ua(), { onEvent: A } = X(), { isDesktop: w, isMobile: v, isTablet: D } = Ee(S), { displayedDateRange: k, isCopyLoaded: G, selectedAccountGuids: O, setSelectedAccountGuids: M } =
|
|
3397
|
+
const [p, f] = h.useState(!1), [E, { height: y, width: S }] = ua(), { onEvent: A } = X(), { isDesktop: w, isMobile: v, isTablet: D } = Ee(S), { displayedDateRange: k, isCopyLoaded: G, selectedAccountGuids: O, setSelectedAccountGuids: M } = le(), { common: R, connect: W } = I(), ne = () => {
|
|
3398
3398
|
d && (d(), A(F.WIDGET_BACK_CLICK));
|
|
3399
3399
|
};
|
|
3400
3400
|
if (!G)
|
|
@@ -3602,7 +3602,7 @@ const sr = "connect_widget", cr = "connections_widget", hu = ({
|
|
|
3602
3602
|
})) : (_(!1), g(!1)), () => {
|
|
3603
3603
|
o?.unmount();
|
|
3604
3604
|
}), [i]), /* @__PURE__ */ t(
|
|
3605
|
-
|
|
3605
|
+
ce,
|
|
3606
3606
|
{
|
|
3607
3607
|
ariaLabelClose: c.close_manage_connection_aria,
|
|
3608
3608
|
isOpen: i,
|
|
@@ -3855,7 +3855,7 @@ const sr = "connect_widget", cr = "connections_widget", hu = ({
|
|
|
3855
3855
|
] });
|
|
3856
3856
|
return i ? /* @__PURE__ */ t(Y, { disableGutters: !0, disablePadding: !0, children: /* @__PURE__ */ l(_e, { onClick: i, children: [
|
|
3857
3857
|
o,
|
|
3858
|
-
/* @__PURE__ */ t(
|
|
3858
|
+
/* @__PURE__ */ t(gt, { children: /* @__PURE__ */ t(U, { name: "chevron_right", size: 24 }) })
|
|
3859
3859
|
] }) }) : /* @__PURE__ */ t(Y, { disableGutters: !1, disablePadding: !1, children: o });
|
|
3860
3860
|
}, go = ({
|
|
3861
3861
|
body: e,
|
|
@@ -4094,7 +4094,7 @@ const sr = "connect_widget", cr = "connections_widget", hu = ({
|
|
|
4094
4094
|
/* @__PURE__ */ t(C, { variant: "body1", children: s }),
|
|
4095
4095
|
/* @__PURE__ */ t(C, { color: "text.secondary", variant: "caption", children: c })
|
|
4096
4096
|
] }) }) }),
|
|
4097
|
-
!a && n && /* @__PURE__ */ t(
|
|
4097
|
+
!a && n && /* @__PURE__ */ t(gt, { children: n })
|
|
4098
4098
|
] })
|
|
4099
4099
|
}
|
|
4100
4100
|
), yn = ({
|
|
@@ -4492,7 +4492,7 @@ const oi = () => {
|
|
|
4492
4492
|
/* @__PURE__ */ t($e, { amount: e, bold: !0, sx: { fontSize: 12 } })
|
|
4493
4493
|
] });
|
|
4494
4494
|
}, po = x(Iu), vu = ({ onAddIncomeClick: e }) => {
|
|
4495
|
-
const n = fe(), { availableWidth: i } = On(), { isMobile: a } = Ee(), { visibleCashAccounts: o, visibleCashBalance: r } = Se(), { selectedAccountGuids: s } =
|
|
4495
|
+
const n = fe(), { availableWidth: i } = On(), { isMobile: a } = Ee(), { visibleCashAccounts: o, visibleCashBalance: r } = Se(), { selectedAccountGuids: s } = le(), { cashflow: c } = I(), { userProfile: d } = It(), {
|
|
4496
4496
|
daysUntilNextIncome: _,
|
|
4497
4497
|
expensesTilNextIncome: u,
|
|
4498
4498
|
selectedCashAccounts: g,
|
|
@@ -4617,7 +4617,7 @@ const oi = () => {
|
|
|
4617
4617
|
)
|
|
4618
4618
|
] }) }) : /* @__PURE__ */ t(de, { height: a ? 210 : 120 });
|
|
4619
4619
|
}, wu = x(vu), Nu = ({ onPrimaryCtaClick: e, sx: n = {} }) => {
|
|
4620
|
-
const { cashflow: i } = I(), { isCopyLoaded: a, isInitialized: o } =
|
|
4620
|
+
const { cashflow: i } = I(), { isCopyLoaded: a, isInitialized: o } = le(), { loadRepeatingTransactions: r } = Ze();
|
|
4621
4621
|
return h.useEffect(() => {
|
|
4622
4622
|
o && r().finally();
|
|
4623
4623
|
}, [o]), a ? /* @__PURE__ */ t(
|
|
@@ -5843,7 +5843,7 @@ const uh = ({ transaction: e, onClick: n }) => {
|
|
|
5843
5843
|
onCategoryClick: n,
|
|
5844
5844
|
onRowClick: i
|
|
5845
5845
|
}) => {
|
|
5846
|
-
const { transactions: a } = I(), { isCopyLoaded: o } =
|
|
5846
|
+
const { transactions: a } = I(), { isCopyLoaded: o } = le(), { isLoading: r, sortedTransactions: s } = Oe(), { clearExpandedSplits: c, toggleSplit: d } = vt();
|
|
5847
5847
|
h.useEffect(() => () => c(), []);
|
|
5848
5848
|
const _ = h.useMemo(
|
|
5849
5849
|
() => s.map((m) => ({
|
|
@@ -6197,7 +6197,7 @@ const vh = ({
|
|
|
6197
6197
|
primaryTypographyProps: { fontWeight: "normal", variant: "Body" }
|
|
6198
6198
|
}
|
|
6199
6199
|
),
|
|
6200
|
-
/* @__PURE__ */ t(
|
|
6200
|
+
/* @__PURE__ */ t(gt, { children: s || a ? /* @__PURE__ */ t(sa, {}) : /* @__PURE__ */ t(ra, {}) })
|
|
6201
6201
|
]
|
|
6202
6202
|
},
|
|
6203
6203
|
e.guid
|
|
@@ -6238,7 +6238,7 @@ const vh = ({
|
|
|
6238
6238
|
unselectable: a = [],
|
|
6239
6239
|
unselectableText: o = "Unselectable"
|
|
6240
6240
|
}) => {
|
|
6241
|
-
const { categories: r, loadCategories: s } = Fe(), { common: c } = I(), { isCopyLoaded: d } =
|
|
6241
|
+
const { categories: r, loadCategories: s } = Fe(), { common: c } = I(), { isCopyLoaded: d } = le(), {
|
|
6242
6242
|
searchValue: _,
|
|
6243
6243
|
setOnSelect: u,
|
|
6244
6244
|
setSearchValue: g,
|
|
@@ -6273,9 +6273,9 @@ const vh = ({
|
|
|
6273
6273
|
showDrawer: a,
|
|
6274
6274
|
...o
|
|
6275
6275
|
}) => {
|
|
6276
|
-
const { common: r } = I(), { isCopyLoaded: s } =
|
|
6276
|
+
const { common: r } = I(), { isCopyLoaded: s } = le();
|
|
6277
6277
|
return s ? /* @__PURE__ */ t(
|
|
6278
|
-
|
|
6278
|
+
ce,
|
|
6279
6279
|
{
|
|
6280
6280
|
ariaLabelClose: r.close_aria,
|
|
6281
6281
|
className: "mx-cat-category-selector-drawer",
|
|
@@ -6529,7 +6529,7 @@ const nc = ({ transaction: e }) => {
|
|
|
6529
6529
|
secondary: /* @__PURE__ */ t(C, { bold: !0, variant: "Body", children: e.category ?? c.actions_select_a_category })
|
|
6530
6530
|
}
|
|
6531
6531
|
),
|
|
6532
|
-
/* @__PURE__ */ t(
|
|
6532
|
+
/* @__PURE__ */ t(gt, { children: /* @__PURE__ */ t(U, { name: "chevron_right", weight: Et.Dark }) })
|
|
6533
6533
|
]
|
|
6534
6534
|
}
|
|
6535
6535
|
) }),
|
|
@@ -6593,12 +6593,12 @@ const nc = ({ transaction: e }) => {
|
|
|
6593
6593
|
secondary: /* @__PURE__ */ t(C, { bold: !0, variant: "Body", children: re(We(e.date), te.YEAR_MONTH_DAY) })
|
|
6594
6594
|
}
|
|
6595
6595
|
),
|
|
6596
|
-
/* @__PURE__ */ t(
|
|
6596
|
+
/* @__PURE__ */ t(gt, { children: /* @__PURE__ */ t(U, { name: "chevron_right", weight: Et.Dark }) })
|
|
6597
6597
|
]
|
|
6598
6598
|
}
|
|
6599
6599
|
) }),
|
|
6600
6600
|
/* @__PURE__ */ t(
|
|
6601
|
-
|
|
6601
|
+
ce,
|
|
6602
6602
|
{
|
|
6603
6603
|
ariaLabelClose: r.close_aria,
|
|
6604
6604
|
isOpen: c,
|
|
@@ -6643,7 +6643,7 @@ const nc = ({ transaction: e }) => {
|
|
|
6643
6643
|
secondary: r.manual_transaction_delete_subtitle
|
|
6644
6644
|
}
|
|
6645
6645
|
),
|
|
6646
|
-
/* @__PURE__ */ t(
|
|
6646
|
+
/* @__PURE__ */ t(gt, { children: /* @__PURE__ */ t(bi, {}) })
|
|
6647
6647
|
]
|
|
6648
6648
|
}
|
|
6649
6649
|
) }),
|
|
@@ -6679,7 +6679,7 @@ const nc = ({ transaction: e }) => {
|
|
|
6679
6679
|
children: [
|
|
6680
6680
|
/* @__PURE__ */ t(ke, { children: /* @__PURE__ */ t(Pt, { sx: { bgcolor: "border.light" }, variant: "rounded", children: /* @__PURE__ */ t(U, { name: "delete", sx: { color: "text.primary" }, weight: Et.Dark }) }) }),
|
|
6681
6681
|
/* @__PURE__ */ t(ae, { primary: r.merchant_logo_title, secondary: r.merchant_logo_desc }),
|
|
6682
|
-
/* @__PURE__ */ t(
|
|
6682
|
+
/* @__PURE__ */ t(gt, { children: /* @__PURE__ */ t(U, { name: "chevron_right", weight: Et.Dark }) })
|
|
6683
6683
|
]
|
|
6684
6684
|
}
|
|
6685
6685
|
) }),
|
|
@@ -6741,7 +6741,7 @@ const nc = ({ transaction: e }) => {
|
|
|
6741
6741
|
secondary: d ? r.hide_trnx_desc_unhiding : r.hide_trnx_desc_hiding
|
|
6742
6742
|
}
|
|
6743
6743
|
),
|
|
6744
|
-
/* @__PURE__ */ t(
|
|
6744
|
+
/* @__PURE__ */ t(gt, { children: /* @__PURE__ */ t(
|
|
6745
6745
|
aa,
|
|
6746
6746
|
{
|
|
6747
6747
|
checked: d,
|
|
@@ -6829,12 +6829,12 @@ const nc = ({ transaction: e }) => {
|
|
|
6829
6829
|
)
|
|
6830
6830
|
}
|
|
6831
6831
|
),
|
|
6832
|
-
/* @__PURE__ */ t(
|
|
6832
|
+
/* @__PURE__ */ t(gt, { children: /* @__PURE__ */ t(U, { name: "chevron_right", weight: Et.Dark }) })
|
|
6833
6833
|
]
|
|
6834
6834
|
}
|
|
6835
6835
|
) }),
|
|
6836
6836
|
/* @__PURE__ */ l(
|
|
6837
|
-
|
|
6837
|
+
ce,
|
|
6838
6838
|
{
|
|
6839
6839
|
ariaLabelClose: o.close_aria,
|
|
6840
6840
|
isOpen: s,
|
|
@@ -7089,10 +7089,10 @@ const nc = ({ transaction: e }) => {
|
|
|
7089
7089
|
secondary: e.has_been_split || e.parent_guid ? r.split_transaction_unsplit_subtitle : r.split_transaction_desc
|
|
7090
7090
|
}
|
|
7091
7091
|
),
|
|
7092
|
-
/* @__PURE__ */ t(
|
|
7092
|
+
/* @__PURE__ */ t(gt, { children: e.has_been_split || e.parent_guid ? /* @__PURE__ */ t(U, { name: "delete", weight: Et.Dark }) : /* @__PURE__ */ t(U, { name: "chevron_right", weight: Et.Dark }) })
|
|
7093
7093
|
] }) }),
|
|
7094
7094
|
/* @__PURE__ */ l(
|
|
7095
|
-
|
|
7095
|
+
ce,
|
|
7096
7096
|
{
|
|
7097
7097
|
ariaLabelClose: o.close_aria,
|
|
7098
7098
|
isOpen: u,
|
|
@@ -7274,7 +7274,7 @@ const nc = ({ transaction: e }) => {
|
|
|
7274
7274
|
onClick: () => e(i.guid),
|
|
7275
7275
|
role: "checkbox",
|
|
7276
7276
|
children: [
|
|
7277
|
-
/* @__PURE__ */ t(
|
|
7277
|
+
/* @__PURE__ */ t(gt, { sx: { ml: 0 }, children: /* @__PURE__ */ t(zi, { checked: n.includes(i.guid), edge: "start", tabIndex: -1 }) }),
|
|
7278
7278
|
/* @__PURE__ */ t(ae, { children: i.name })
|
|
7279
7279
|
]
|
|
7280
7280
|
}
|
|
@@ -7375,12 +7375,12 @@ const nc = ({ transaction: e }) => {
|
|
|
7375
7375
|
secondary: /* @__PURE__ */ t(C, { bold: !0, variant: "Body", children: e.tags?.length > 0 ? f : s.tags_desc })
|
|
7376
7376
|
}
|
|
7377
7377
|
),
|
|
7378
|
-
/* @__PURE__ */ t(
|
|
7378
|
+
/* @__PURE__ */ t(gt, { children: /* @__PURE__ */ t(U, { name: "chevron_right", weight: Et.Dark }) })
|
|
7379
7379
|
]
|
|
7380
7380
|
}
|
|
7381
7381
|
) }),
|
|
7382
7382
|
/* @__PURE__ */ t(
|
|
7383
|
-
|
|
7383
|
+
ce,
|
|
7384
7384
|
{
|
|
7385
7385
|
ariaLabelClose: r.close_aria,
|
|
7386
7386
|
isOpen: d,
|
|
@@ -7481,7 +7481,7 @@ const nc = ({ transaction: e }) => {
|
|
|
7481
7481
|
topActions: n = $u,
|
|
7482
7482
|
transaction: i
|
|
7483
7483
|
}) => {
|
|
7484
|
-
const { isCopyLoaded: a } =
|
|
7484
|
+
const { isCopyLoaded: a } = le(), o = i?.number && i.number.length > 4, { onEvent: r } = X();
|
|
7485
7485
|
return h.useEffect(
|
|
7486
7486
|
() => r(F.TRANSACTION_DETAILS_VIEW, { transaction_guid: i.guid }),
|
|
7487
7487
|
[]
|
|
@@ -7528,7 +7528,7 @@ const nc = ({ transaction: e }) => {
|
|
|
7528
7528
|
] }) })
|
|
7529
7529
|
] }) }) : /* @__PURE__ */ t(de, {});
|
|
7530
7530
|
}, ri = x(yg), Eg = ({ copy: e, isOpen: n, onClose: i, onPrimaryAction: a }) => {
|
|
7531
|
-
const { common: o, transactions: r } = I(), { isCopyLoaded: s } =
|
|
7531
|
+
const { common: o, transactions: r } = I(), { isCopyLoaded: s } = le();
|
|
7532
7532
|
return s ? /* @__PURE__ */ l(
|
|
7533
7533
|
Ge,
|
|
7534
7534
|
{
|
|
@@ -7698,7 +7698,7 @@ const nc = ({ transaction: e }) => {
|
|
|
7698
7698
|
selectedAccountGuids: f,
|
|
7699
7699
|
setDisplayedDate: E,
|
|
7700
7700
|
setSelectedAccounts: y
|
|
7701
|
-
} =
|
|
7701
|
+
} = le(), { isSmallTablet: S } = Ee(), A = fe(), {
|
|
7702
7702
|
addTransaction: w,
|
|
7703
7703
|
filter: v,
|
|
7704
7704
|
loadAssociatedBeats: D,
|
|
@@ -7844,7 +7844,7 @@ const nc = ({ transaction: e }) => {
|
|
|
7844
7844
|
}
|
|
7845
7845
|
),
|
|
7846
7846
|
/* @__PURE__ */ t(
|
|
7847
|
-
|
|
7847
|
+
ce,
|
|
7848
7848
|
{
|
|
7849
7849
|
ariaLabelClose: _.close_aria,
|
|
7850
7850
|
isOpen: pe === "transaction" && !!Ve,
|
|
@@ -7863,7 +7863,7 @@ const nc = ({ transaction: e }) => {
|
|
|
7863
7863
|
}
|
|
7864
7864
|
),
|
|
7865
7865
|
/* @__PURE__ */ t(
|
|
7866
|
-
|
|
7866
|
+
ce,
|
|
7867
7867
|
{
|
|
7868
7868
|
ariaLabelClose: _.close_aria,
|
|
7869
7869
|
isOpen: pe === "addTransaction",
|
|
@@ -8001,7 +8001,7 @@ const nc = ({ transaction: e }) => {
|
|
|
8001
8001
|
}
|
|
8002
8002
|
),
|
|
8003
8003
|
/* @__PURE__ */ t(
|
|
8004
|
-
|
|
8004
|
+
ce,
|
|
8005
8005
|
{
|
|
8006
8006
|
ariaLabelClose: n.close_drawer_aria,
|
|
8007
8007
|
isOpen: o,
|
|
@@ -8024,7 +8024,7 @@ const nc = ({ transaction: e }) => {
|
|
|
8024
8024
|
] });
|
|
8025
8025
|
}), cc = x(
|
|
8026
8026
|
({ onDeleted: e, recurringTransaction: n }) => {
|
|
8027
|
-
const { recurring: i } = I(), { selectedAccountGuids: a } =
|
|
8027
|
+
const { recurring: i } = I(), { selectedAccountGuids: a } = le(), { onEvent: o } = X(), { deleteRepeatingTransaction: r } = Ze(), { setFilter: s, transactions: c } = Oe(), { amount: d, description: _, merchant_guid: u } = n, [g, m] = h.useState(!1), [p, f] = h.useState("");
|
|
8028
8028
|
h.useEffect(() => {
|
|
8029
8029
|
s({
|
|
8030
8030
|
accounts: a,
|
|
@@ -8101,7 +8101,7 @@ const nc = ({ transaction: e }) => {
|
|
|
8101
8101
|
/* @__PURE__ */ t(C, { bold: !0, sx: { ml: 24, mt: 16 }, variant: "Body", children: i.paid_transactions }),
|
|
8102
8102
|
/* @__PURE__ */ t(kn, { height: "30dvh", onClick: f }),
|
|
8103
8103
|
/* @__PURE__ */ t(
|
|
8104
|
-
|
|
8104
|
+
ce,
|
|
8105
8105
|
{
|
|
8106
8106
|
ariaLabelClose: i.close_drawer_aria,
|
|
8107
8107
|
isOpen: !!p && !!E,
|
|
@@ -8197,7 +8197,7 @@ const nc = ({ transaction: e }) => {
|
|
|
8197
8197
|
) })
|
|
8198
8198
|
] }),
|
|
8199
8199
|
/* @__PURE__ */ t(
|
|
8200
|
-
|
|
8200
|
+
ce,
|
|
8201
8201
|
{
|
|
8202
8202
|
ariaLabelClose: i.close_drawer_aria,
|
|
8203
8203
|
isOpen: a,
|
|
@@ -8316,7 +8316,7 @@ const nc = ({ transaction: e }) => {
|
|
|
8316
8316
|
] }) }) }) }),
|
|
8317
8317
|
/* @__PURE__ */ t(H, {}),
|
|
8318
8318
|
/* @__PURE__ */ t(
|
|
8319
|
-
|
|
8319
|
+
ce,
|
|
8320
8320
|
{
|
|
8321
8321
|
ariaLabelClose: a.close_drawer_aria,
|
|
8322
8322
|
isOpen: _,
|
|
@@ -8338,7 +8338,7 @@ const nc = ({ transaction: e }) => {
|
|
|
8338
8338
|
}
|
|
8339
8339
|
),
|
|
8340
8340
|
/* @__PURE__ */ t(
|
|
8341
|
-
|
|
8341
|
+
ce,
|
|
8342
8342
|
{
|
|
8343
8343
|
ariaLabelClose: a.close_drawer_aria,
|
|
8344
8344
|
isOpen: !!g,
|
|
@@ -8437,7 +8437,7 @@ const nc = ({ transaction: e }) => {
|
|
|
8437
8437
|
}
|
|
8438
8438
|
) }), Ao = ({ isOffset: e = !1, size: n = 16 }) => /* @__PURE__ */ t(wn, { size: n, sx: { ...fa(e) }, children: /* @__PURE__ */ t(ps, { color: "error", filled: !0, sx: { fontSize: n, ...Ca } }) }), xo = ({ isOffset: e = !1, size: n = 16 }) => /* @__PURE__ */ t(wn, { size: n, sx: { ...fa(e) }, children: /* @__PURE__ */ t(Xa, { color: "success", filled: !0, sx: { fontSize: n, ...Ca } }) }), Rg = x(
|
|
8439
8439
|
({ day: e, outsideCurrentMonth: n, ...i }) => {
|
|
8440
|
-
const { recurring: a } = I(), { selectedAccountGuids: o } =
|
|
8440
|
+
const { recurring: a } = I(), { selectedAccountGuids: o } = le(), { recurrences: r, setSelectedDay: s } = Ze(), d = h.useMemo(
|
|
8441
8441
|
() => r.filter((f) => o.includes(f.accountGuid)),
|
|
8442
8442
|
[o, r]
|
|
8443
8443
|
).filter(
|
|
@@ -8678,7 +8678,7 @@ const nc = ({ transaction: e }) => {
|
|
|
8678
8678
|
) })
|
|
8679
8679
|
] }),
|
|
8680
8680
|
/* @__PURE__ */ t(
|
|
8681
|
-
|
|
8681
|
+
ce,
|
|
8682
8682
|
{
|
|
8683
8683
|
ariaLabelClose: o.close_drawer_aria,
|
|
8684
8684
|
isOpen: s,
|
|
@@ -8873,7 +8873,7 @@ const nc = ({ transaction: e }) => {
|
|
|
8873
8873
|
] }) })
|
|
8874
8874
|
] });
|
|
8875
8875
|
}), K4 = x(({ onBackClick: e, sx: n = {} }) => {
|
|
8876
|
-
const { accounts: i } = Se(), { recurring: a } = I(), { isCopyLoaded: o, isInitialized: r, selectedAccountGuids: s, setSelectedAccounts: c } =
|
|
8876
|
+
const { accounts: i } = Se(), { recurring: a } = I(), { isCopyLoaded: o, isInitialized: r, selectedAccountGuids: s, setSelectedAccounts: c } = le(), { isDataLoaded: d, loadRepeatingTransactions: _ } = Ze(), { setFilter: u } = Oe(), { onEvent: g } = X(), [m, p] = h.useState(!1);
|
|
8877
8877
|
return h.useEffect(() => {
|
|
8878
8878
|
c(i);
|
|
8879
8879
|
}, [i]), h.useEffect(() => {
|
|
@@ -8905,7 +8905,7 @@ const nc = ({ transaction: e }) => {
|
|
|
8905
8905
|
/* @__PURE__ */ t(mn, { height: 600, variant: "rounded", width: "100%" })
|
|
8906
8906
|
] }),
|
|
8907
8907
|
/* @__PURE__ */ t(
|
|
8908
|
-
|
|
8908
|
+
ce,
|
|
8909
8909
|
{
|
|
8910
8910
|
ariaLabelClose: a.close_drawer_aria,
|
|
8911
8911
|
isOpen: m,
|
|
@@ -8939,7 +8939,7 @@ const nc = ({ transaction: e }) => {
|
|
|
8939
8939
|
] });
|
|
8940
8940
|
}), z4 = x(
|
|
8941
8941
|
({ onPrimaryCtaClick: e, sx: n }) => {
|
|
8942
|
-
const { accounts: i } = Se(), { recurring: a } = I(), { setFilter: o } = Oe(), { isDataLoaded: r, loadRepeatingTransactions: s } = Ze(), { isCopyLoaded: c, isInitialized: d, setSelectedAccounts: _, selectedAccountGuids: u } =
|
|
8942
|
+
const { accounts: i } = Se(), { recurring: a } = I(), { setFilter: o } = Oe(), { isDataLoaded: r, loadRepeatingTransactions: s } = Ze(), { isCopyLoaded: c, isInitialized: d, setSelectedAccounts: _, selectedAccountGuids: u } = le();
|
|
8943
8943
|
return h.useEffect(() => {
|
|
8944
8944
|
d && _(i);
|
|
8945
8945
|
}, [d]), h.useEffect(() => {
|
|
@@ -9040,7 +9040,7 @@ const nc = ({ transaction: e }) => {
|
|
|
9040
9040
|
] });
|
|
9041
9041
|
}), Y4 = x(
|
|
9042
9042
|
({ onCTAClick: e }) => {
|
|
9043
|
-
const [n, i] = h.useState(!1), { accounts: a } = Se(), { isCopyLoaded: o, isInitialized: r, selectedAccountGuids: s, setSelectedAccounts: c } =
|
|
9043
|
+
const [n, i] = h.useState(!1), { accounts: a } = Se(), { isCopyLoaded: o, isInitialized: r, selectedAccountGuids: s, setSelectedAccounts: c } = le(), {
|
|
9044
9044
|
loadRepeatingTransactions: d,
|
|
9045
9045
|
upcomingRecurrences: _,
|
|
9046
9046
|
expenseTotal: u,
|
|
@@ -10051,7 +10051,7 @@ const qg = ({ recurrence: e }) => /* @__PURE__ */ l(Z, { children: [
|
|
|
10051
10051
|
]
|
|
10052
10052
|
}
|
|
10053
10053
|
), wr = (e, n) => (i) => i.accountGuid && e.includes(i.accountGuid) && (to(i.expectedDate) || an(i.expectedDate, n.start)) && et(i.expectedDate, n.end), om = () => {
|
|
10054
|
-
const { availableWidth: e } = On(), { cashflow: n } = I(), { upcomingExpenses: i, upcomingIncome: a } = Ze(), { selectedAccountGuids: o } =
|
|
10054
|
+
const { availableWidth: e } = On(), { cashflow: n } = I(), { upcomingExpenses: i, upcomingIncome: a } = Ze(), { selectedAccountGuids: o } = le(), { dateRange: r, selectedCashAccounts: s } = oi(), { userProfile: c } = It(), [d, _] = h.useState(!1), u = h.useMemo(
|
|
10055
10055
|
() => i.filter(wr(o, r)),
|
|
10056
10056
|
[r, o, i]
|
|
10057
10057
|
), g = h.useMemo(
|
|
@@ -10132,7 +10132,7 @@ const qg = ({ recurrence: e }) => /* @__PURE__ */ l(Z, { children: [
|
|
|
10132
10132
|
}
|
|
10133
10133
|
),
|
|
10134
10134
|
/* @__PURE__ */ t(
|
|
10135
|
-
|
|
10135
|
+
ce,
|
|
10136
10136
|
{
|
|
10137
10137
|
ariaLabelClose: n.close_manage_income_aria,
|
|
10138
10138
|
isOpen: d,
|
|
@@ -10231,7 +10231,7 @@ const qg = ({ recurrence: e }) => /* @__PURE__ */ l(Z, { children: [
|
|
|
10231
10231
|
transform: rotate(360deg);
|
|
10232
10232
|
}
|
|
10233
10233
|
`, um = () => {
|
|
10234
|
-
const { addRepeatingTransaction: e, repeatingTransactions: n } = Ze(), { cashflow: i, common: a } = I(), { completeOnboarding: o } = lo(), { isDirty: r } = oi(), { isMobile: s } = Ee(), { isCopyLoaded: c, setDisplayedDate: d } =
|
|
10234
|
+
const { addRepeatingTransaction: e, repeatingTransactions: n } = Ze(), { cashflow: i, common: a } = I(), { completeOnboarding: o } = lo(), { isDirty: r } = oi(), { isMobile: s } = Ee(), { isCopyLoaded: c, setDisplayedDate: d } = le(), { filter: _, setFilter: u, transactions: g } = Oe(), m = fe(), [p, f] = yt(!0), [E, y] = h.useState(ye.EveryMonth), [S, A] = h.useState(1), [w, v] = h.useState(15), [D, k] = yt(!1), [G, O] = yt(1), [M, R] = yt([]), [W, ne] = yt(""), oe = h.useMemo(
|
|
10235
10235
|
() => g.find((pe) => pe.guid === W),
|
|
10236
10236
|
[W, g]
|
|
10237
10237
|
), be = !!n.filter(
|
|
@@ -10414,7 +10414,7 @@ const qg = ({ recurrence: e }) => /* @__PURE__ */ l(Z, { children: [
|
|
|
10414
10414
|
setSelectedAccounts: o,
|
|
10415
10415
|
shouldDisableNextDate: r,
|
|
10416
10416
|
shouldDisablePrevDate: s
|
|
10417
|
-
} =
|
|
10417
|
+
} = le(), { onEvent: c } = X(), { visibleCashAccounts: d } = Se(), { setFilter: _ } = Oe(), { userProfile: u } = It(), { dateRange: g, setSelectedCashAccounts: m } = oi(), { loadRepeatingTransactions: p } = Ze(), { cashflow: f } = I(), { isCopyLoaded: E, isInitialized: y } = le(), [S, A] = h.useState(!1);
|
|
10418
10418
|
return h.useEffect(() => {
|
|
10419
10419
|
y && p().finally();
|
|
10420
10420
|
}, [y]), h.useEffect(() => {
|
|
@@ -10457,7 +10457,7 @@ const qg = ({ recurrence: e }) => /* @__PURE__ */ l(Z, { children: [
|
|
|
10457
10457
|
/* @__PURE__ */ t(rm, {}),
|
|
10458
10458
|
/* @__PURE__ */ t(am, {}),
|
|
10459
10459
|
/* @__PURE__ */ t(
|
|
10460
|
-
|
|
10460
|
+
ce,
|
|
10461
10461
|
{
|
|
10462
10462
|
ariaLabelClose: f.close_settings_aria,
|
|
10463
10463
|
isOpen: S,
|
|
@@ -10648,7 +10648,7 @@ const hn = () => {
|
|
|
10648
10648
|
}, bm = x(fm), ym = ({ isOpen: e, onClose: n, sx: i }) => {
|
|
10649
10649
|
const a = cn(), { debts: o } = I(), [r, s] = h.useState(!1);
|
|
10650
10650
|
return /* @__PURE__ */ t(
|
|
10651
|
-
|
|
10651
|
+
ce,
|
|
10652
10652
|
{
|
|
10653
10653
|
ariaLabelClose: "",
|
|
10654
10654
|
isOpen: e,
|
|
@@ -11657,7 +11657,7 @@ const xc = ({
|
|
|
11657
11657
|
}, zm = x(Km), Ym = ({ isOpen: e, onClose: n, sx: i }) => {
|
|
11658
11658
|
const { debts: a } = I(), { showError: o, showCompleted: r } = hn(), s = o || r ? /* @__PURE__ */ t(Z, {}) : /* @__PURE__ */ t(km, {});
|
|
11659
11659
|
return /* @__PURE__ */ t(
|
|
11660
|
-
|
|
11660
|
+
ce,
|
|
11661
11661
|
{
|
|
11662
11662
|
ariaLabelClose: a.details_close_aria,
|
|
11663
11663
|
isOpen: e,
|
|
@@ -11727,7 +11727,7 @@ const xc = ({
|
|
|
11727
11727
|
}, Zm = x(Xm), qm = ({ isOpen: e, onClose: n, sx: i }) => {
|
|
11728
11728
|
const { debts: a } = I();
|
|
11729
11729
|
return /* @__PURE__ */ t(
|
|
11730
|
-
|
|
11730
|
+
ce,
|
|
11731
11731
|
{
|
|
11732
11732
|
ariaLabelClose: a.paydown_drawer_close_aria,
|
|
11733
11733
|
isOpen: e,
|
|
@@ -12094,7 +12094,7 @@ const Ut = (e) => /* @__PURE__ */ t(C, { fontWeight: 600, variant: "Small", chil
|
|
|
12094
12094
|
}
|
|
12095
12095
|
);
|
|
12096
12096
|
}), lp = ({ onBackClick: e, sx: n }) => {
|
|
12097
|
-
const [i, a] = h.useState(!1), [o, r] = h.useState(!1), [s, c] = h.useState(!1), [d, _] = h.useState(""), { isDesktop: u, isMobile: g } = Ee(), { debts: m } = I(), { onEvent: p } = X(), { isCopyLoaded: f, isInitialized: E, setSelectedAccounts: y } =
|
|
12097
|
+
const [i, a] = h.useState(!1), [o, r] = h.useState(!1), [s, c] = h.useState(!1), [d, _] = h.useState(""), { isDesktop: u, isMobile: g } = Ee(), { debts: m } = I(), { onEvent: p } = X(), { isCopyLoaded: f, isInitialized: E, setSelectedAccounts: y } = le(), { setSelectedAccount: S } = Ft(), { selectedDebtPriority: A, setSelectedDebtChartData: w } = hn(), { visibleDebtAccounts: v } = Se(), { goalsLoaded: D, loadGoals: k, monthlyCashFlowProfile: G } = rt(), { debts: O } = _a(), M = h.useMemo(() => {
|
|
12098
12098
|
const ue = G?.extra_payment ?? 0;
|
|
12099
12099
|
return sp(O, A, ue);
|
|
12100
12100
|
}, [O, A, G]);
|
|
@@ -12481,7 +12481,7 @@ const mp = (e, n) => {
|
|
|
12481
12481
|
}
|
|
12482
12482
|
) }) }) }),
|
|
12483
12483
|
/* @__PURE__ */ t(
|
|
12484
|
-
|
|
12484
|
+
ce,
|
|
12485
12485
|
{
|
|
12486
12486
|
ariaLabelClose: i.close_aria,
|
|
12487
12487
|
isOpen: r,
|
|
@@ -12573,7 +12573,7 @@ const mp = (e, n) => {
|
|
|
12573
12573
|
return e === K.DEBT_TRACK ? (_ = n.manage_debt_goals, u = n.manage_debt_drawer_title, g = n.manage_debt_title, m = n.manage_debt_description) : e === K.RETIREMENT_TRACK && (_ = n.manage_retirement_goals, u = n.manage_retirement_drawer_title, g = n.manage_retirement_title, m = n.manage_retirement_description), /* @__PURE__ */ l(b, { children: [
|
|
12574
12574
|
/* @__PURE__ */ t(q, { endIcon: /* @__PURE__ */ t(st, {}), onClick: () => d(!0), children: _ }),
|
|
12575
12575
|
/* @__PURE__ */ t(
|
|
12576
|
-
|
|
12576
|
+
ce,
|
|
12577
12577
|
{
|
|
12578
12578
|
ariaLabelClose: i.close_aria,
|
|
12579
12579
|
isOpen: c,
|
|
@@ -12706,7 +12706,7 @@ const mp = (e, n) => {
|
|
|
12706
12706
|
) }),
|
|
12707
12707
|
/* @__PURE__ */ t(H, { variant: "inset" }),
|
|
12708
12708
|
g && /* @__PURE__ */ t(ni, { in: _, children: /* @__PURE__ */ t(ie, { sx: { bgcolor: "background.default" }, children: c.map((m, p) => /* @__PURE__ */ t(Y, { sx: { pl: 48 }, children: /* @__PURE__ */ l(_e, { onClick: () => n(m.label, m.metaType, d), children: [
|
|
12709
|
-
/* @__PURE__ */ t(
|
|
12709
|
+
/* @__PURE__ */ t(gt, { sx: { mr: 8 }, children: /* @__PURE__ */ t(ut, { name: m.icon }) }),
|
|
12710
12710
|
/* @__PURE__ */ t(
|
|
12711
12711
|
ae,
|
|
12712
12712
|
{
|
|
@@ -12729,7 +12729,7 @@ const mp = (e, n) => {
|
|
|
12729
12729
|
g >= 0 ? m.splice(g, 1) : m.push(u), d(m);
|
|
12730
12730
|
};
|
|
12731
12731
|
return /* @__PURE__ */ l(
|
|
12732
|
-
|
|
12732
|
+
ce,
|
|
12733
12733
|
{
|
|
12734
12734
|
ariaLabelClose: s.close_aria,
|
|
12735
12735
|
isOpen: n,
|
|
@@ -12836,7 +12836,7 @@ const mp = (e, n) => {
|
|
|
12836
12836
|
),
|
|
12837
12837
|
/* @__PURE__ */ t(st, {})
|
|
12838
12838
|
] }),
|
|
12839
|
-
/* @__PURE__ */ t(
|
|
12839
|
+
/* @__PURE__ */ t(ce, { isOpen: a, onClose: () => o(!1), title: n.account_details, children: /* @__PURE__ */ l(b, { children: [
|
|
12840
12840
|
/* @__PURE__ */ t(wo, {}),
|
|
12841
12841
|
/* @__PURE__ */ t(sl, {})
|
|
12842
12842
|
] }) })
|
|
@@ -12899,7 +12899,7 @@ const mp = (e, n) => {
|
|
|
12899
12899
|
}
|
|
12900
12900
|
)
|
|
12901
12901
|
] }),
|
|
12902
|
-
/* @__PURE__ */ t(
|
|
12902
|
+
/* @__PURE__ */ t(ce, { isOpen: _, onClose: () => u(!1), title: o.details_change_account, children: /* @__PURE__ */ l(b, { children: [
|
|
12903
12903
|
/* @__PURE__ */ t(C, { bold: !0, sx: { mb: 4, ml: 24, mt: 12 }, variant: "XSmall", children: a.account_types[1] }),
|
|
12904
12904
|
/* @__PURE__ */ t(ie, { sx: { bgcolor: "background.paper" }, children: n.map((m) => /* @__PURE__ */ t(Y, { children: /* @__PURE__ */ l(_e, { onClick: () => g(m), children: [
|
|
12905
12905
|
/* @__PURE__ */ t(ke, { children: /* @__PURE__ */ t(
|
|
@@ -13171,7 +13171,7 @@ const mp = (e, n) => {
|
|
|
13171
13171
|
};
|
|
13172
13172
|
return /* @__PURE__ */ l(b, { children: [
|
|
13173
13173
|
/* @__PURE__ */ t(
|
|
13174
|
-
|
|
13174
|
+
ce,
|
|
13175
13175
|
{
|
|
13176
13176
|
ariaLabelClose: a.close_aria,
|
|
13177
13177
|
hasSecondaryAction: S,
|
|
@@ -13201,7 +13201,7 @@ const mp = (e, n) => {
|
|
|
13201
13201
|
)
|
|
13202
13202
|
] });
|
|
13203
13203
|
}), Q4 = x(({ onBackClick: e, sx: n }) => {
|
|
13204
|
-
const { onEvent: i } = X(), { isMobile: a } = Ee(), { visibleAccounts: o } = Se(), { isCopyLoaded: r, isInitialized: s, setSelectedAccounts: c } =
|
|
13204
|
+
const { onEvent: i } = X(), { isMobile: a } = Ee(), { visibleAccounts: o } = Se(), { isCopyLoaded: r, isInitialized: s, setSelectedAccounts: c } = le(), { goals: d, common: _ } = I(), { alert: u, goals: g, goalsLoaded: m, loadGoals: p, monthlyCashFlowProfile: f, setAlert: E, retirmentGoals: y } = rt(), [S, A] = h.useState(0), [w, v] = h.useState(!1), D = f?.amount_allocated_for_savings_goals || 0, k = f?.amount_allocated_for_debt_goals || 0, G = f?.amount_allocated_for_retirement_goals || 0, O = r ? T(
|
|
13205
13205
|
a ? d.tab_subtitle_mobile : d.tab_subtitle,
|
|
13206
13206
|
P(D, "0,0")
|
|
13207
13207
|
) : "", M = r ? T(
|
|
@@ -13299,7 +13299,7 @@ const mp = (e, n) => {
|
|
|
13299
13299
|
] }),
|
|
13300
13300
|
/* @__PURE__ */ t(Rp, { onClose: oe }),
|
|
13301
13301
|
/* @__PURE__ */ t(
|
|
13302
|
-
|
|
13302
|
+
ce,
|
|
13303
13303
|
{
|
|
13304
13304
|
ariaLabelClose: _.close_aria,
|
|
13305
13305
|
isOpen: w,
|
|
@@ -13551,7 +13551,7 @@ const Lp = x(({ goal: e }) => {
|
|
|
13551
13551
|
]
|
|
13552
13552
|
}
|
|
13553
13553
|
), J4 = x(({ onCTAClick: e }) => {
|
|
13554
|
-
const { visibleAccounts: n } = Se(), { onEvent: i } = X(), { goals: a } = I(), { isInitialized: o, setSelectedAccounts: r, isCopyLoaded: s } =
|
|
13554
|
+
const { visibleAccounts: n } = Se(), { onEvent: i } = X(), { goals: a } = I(), { isInitialized: o, setSelectedAccounts: r, isCopyLoaded: s } = le(), { ongoingGoalsForMicroWidget: c, loadGoals: d, goalsLoaded: _ } = rt();
|
|
13555
13555
|
h.useEffect(() => {
|
|
13556
13556
|
r(n), i(F.GOALS_VIEW);
|
|
13557
13557
|
}, []), h.useEffect(() => {
|
|
@@ -14137,7 +14137,7 @@ const Jp = /^[ a-zA-ZÀ-ÿ0-9]+$/, e1 = 50, Gr = 65, t1 = ({
|
|
|
14137
14137
|
height: e = "calc(100dvh - 120px)",
|
|
14138
14138
|
onSelect: n
|
|
14139
14139
|
}) => {
|
|
14140
|
-
const { isLoading: i, merchants: a, loadMerchants: o } = N_(), { common: r } = I(), { isCopyLoaded: s } =
|
|
14140
|
+
const { isLoading: i, merchants: a, loadMerchants: o } = N_(), { common: r } = I(), { isCopyLoaded: s } = le(), [c, d] = h.useState("");
|
|
14141
14141
|
h.useEffect(() => {
|
|
14142
14142
|
o().finally();
|
|
14143
14143
|
}, [o]);
|
|
@@ -14532,7 +14532,7 @@ const y1 = ({ amount: e, copy: n, trendValue: i }) => {
|
|
|
14532
14532
|
/* @__PURE__ */ t(me, { sx: { color: "text.secondary" }, variant: "body2", children: e.zero_state_description })
|
|
14533
14533
|
] })
|
|
14534
14534
|
] }), t2 = x(({ onCTAClick: e }) => {
|
|
14535
|
-
const [n, i] = h.useState(!1), { visibleAccounts: a } = Se(), { onEvent: o } = X(), { net_worth: r, common: s } = I(), { isInitialized: c, selectedAccounts: d, setSelectedAccounts: _ } =
|
|
14535
|
+
const [n, i] = h.useState(!1), { visibleAccounts: a } = Se(), { onEvent: o } = X(), { net_worth: r, common: s } = I(), { isInitialized: c, selectedAccounts: d, setSelectedAccounts: _ } = le(), { loadChartData: u, loadNetWorthData: g, netWorthData: m, selectedData: p } = Ws(), f = async () => {
|
|
14536
14536
|
await g(d), await u(1), i(!0);
|
|
14537
14537
|
};
|
|
14538
14538
|
if (h.useEffect(() => _(a), [a]), h.useEffect(() => {
|
|
@@ -14585,7 +14585,7 @@ const y1 = ({ amount: e, copy: n, trendValue: i }) => {
|
|
|
14585
14585
|
})) : (_(!1), g(!1)), () => {
|
|
14586
14586
|
a?.unmount();
|
|
14587
14587
|
}), [n]), /* @__PURE__ */ t(
|
|
14588
|
-
|
|
14588
|
+
ce,
|
|
14589
14589
|
{
|
|
14590
14590
|
ariaLabelClose: s.close_connections_aria,
|
|
14591
14591
|
isOpen: n,
|
|
@@ -14603,14 +14603,14 @@ const y1 = ({ amount: e, copy: n, trendValue: i }) => {
|
|
|
14603
14603
|
const [a, o] = h.useState(!1);
|
|
14604
14604
|
return /* @__PURE__ */ l(Z, { children: [
|
|
14605
14605
|
/* @__PURE__ */ t(Y, { sx: (r) => ({ backgroundColor: r.palette.background.paper }), children: /* @__PURE__ */ l(_e, { onClick: () => o(!a), children: [
|
|
14606
|
-
i && /* @__PURE__ */ t(
|
|
14606
|
+
i && /* @__PURE__ */ t(gt, { children: /* @__PURE__ */ t(U, { name: i, size: 24, sx: { mr: 12 } }) }),
|
|
14607
14607
|
/* @__PURE__ */ t(
|
|
14608
14608
|
ae,
|
|
14609
14609
|
{
|
|
14610
14610
|
primary: /* @__PURE__ */ t(C, { sx: { fontWeight: 700 }, variant: "Body", children: n })
|
|
14611
14611
|
}
|
|
14612
14612
|
),
|
|
14613
|
-
/* @__PURE__ */ t(
|
|
14613
|
+
/* @__PURE__ */ t(gt, { children: a ? /* @__PURE__ */ t(U, { name: "expand_less", size: 24 }) : /* @__PURE__ */ t(U, { name: "expand_more", size: 24 }) })
|
|
14614
14614
|
] }) }),
|
|
14615
14615
|
/* @__PURE__ */ t(H, {}),
|
|
14616
14616
|
/* @__PURE__ */ t(ni, { in: a, timeout: "auto", unmountOnExit: !0, children: e.map((r, s) => /* @__PURE__ */ l(ie, { children: [
|
|
@@ -14761,7 +14761,7 @@ const y1 = ({ amount: e, copy: n, trendValue: i }) => {
|
|
|
14761
14761
|
] })
|
|
14762
14762
|
] });
|
|
14763
14763
|
}, v1 = x(I1), n2 = x(({ onBackClick: e }) => {
|
|
14764
|
-
const { isCopyLoaded: n, isInitialized: i, selectedAccounts: a, setSelectedAccounts: o } =
|
|
14764
|
+
const { isCopyLoaded: n, isInitialized: i, selectedAccounts: a, setSelectedAccounts: o } = le(), { accounts: r, net_worth: s } = I(), { visibleAccounts: c } = Se(), {
|
|
14765
14765
|
assetsLiabilities: d,
|
|
14766
14766
|
gainsLosses: _,
|
|
14767
14767
|
hoveredData: u,
|
|
@@ -14870,7 +14870,7 @@ const y1 = ({ amount: e, copy: n, trendValue: i }) => {
|
|
|
14870
14870
|
}
|
|
14871
14871
|
),
|
|
14872
14872
|
/* @__PURE__ */ t(
|
|
14873
|
-
|
|
14873
|
+
ce,
|
|
14874
14874
|
{
|
|
14875
14875
|
ariaLabelClose: "Close",
|
|
14876
14876
|
isOpen: G,
|
|
@@ -14882,7 +14882,7 @@ const y1 = ({ amount: e, copy: n, trendValue: i }) => {
|
|
|
14882
14882
|
}
|
|
14883
14883
|
),
|
|
14884
14884
|
/* @__PURE__ */ t(
|
|
14885
|
-
|
|
14885
|
+
ce,
|
|
14886
14886
|
{
|
|
14887
14887
|
ariaLabelClose: "Close",
|
|
14888
14888
|
isOpen: M,
|
|
@@ -15029,7 +15029,7 @@ const D1 = (e, n) => {
|
|
|
15029
15029
|
] });
|
|
15030
15030
|
}
|
|
15031
15031
|
), G1 = ({ onClick: e, onManageNotifications: n }) => {
|
|
15032
|
-
const { isLoading: i, loadNotifications: a, recentNotifications: o, markAllAsViewed: r } = $s(), { notifications: s } = I(), { isCopyLoaded: c } =
|
|
15032
|
+
const { isLoading: i, loadNotifications: a, recentNotifications: o, markAllAsViewed: r } = $s(), { notifications: s } = I(), { isCopyLoaded: c } = le(), d = (_) => {
|
|
15033
15033
|
e?.(_);
|
|
15034
15034
|
};
|
|
15035
15035
|
return Dn(() => (a().finally(), () => {
|
|
@@ -15307,7 +15307,7 @@ class F1 {
|
|
|
15307
15307
|
};
|
|
15308
15308
|
}
|
|
15309
15309
|
const Wc = x(() => {
|
|
15310
|
-
const { common: e, settings: n } = I(), { sendEmailVerification: i } =
|
|
15310
|
+
const { common: e, settings: n } = I(), { sendEmailVerification: i } = mt(), { user: a } = It(), o = fe(), [r, s] = h.useState(!1), c = () => {
|
|
15311
15311
|
s(!1);
|
|
15312
15312
|
}, d = () => {
|
|
15313
15313
|
s(!0);
|
|
@@ -15381,7 +15381,7 @@ const Wc = x(() => {
|
|
|
15381
15381
|
);
|
|
15382
15382
|
}
|
|
15383
15383
|
), $c = x(() => {
|
|
15384
|
-
const { common: e, settings: n } = I(), { sendPhoneVerification: i, verifyPhoneToken: a } =
|
|
15384
|
+
const { common: e, settings: n } = I(), { sendPhoneVerification: i, verifyPhoneToken: a } = mt(), { user: o } = It(), r = fe(), [s, c] = h.useState(!1), [d, _] = h.useState(!1), u = () => {
|
|
15385
15385
|
c(!1);
|
|
15386
15386
|
}, g = () => {
|
|
15387
15387
|
c(!0);
|
|
@@ -15446,7 +15446,7 @@ const Wc = x(() => {
|
|
|
15446
15446
|
)
|
|
15447
15447
|
] });
|
|
15448
15448
|
}), $1 = ({ availableWidth: e, handleOnLeavClick: n }) => {
|
|
15449
|
-
const i = ot(), { common: a, settings: o } = I(), { isDesktop: r, isMobile: s, isSmallMobile: c, isTablet: d } = Ee(e), { config: _ } = Ht(), { updateUser: u } =
|
|
15449
|
+
const i = ot(), { common: a, settings: o } = I(), { isDesktop: r, isMobile: s, isSmallMobile: c, isTablet: d } = Ee(e), { config: _ } = Ht(), { updateUser: u } = mt(), { user: g } = It(), [m, p] = h.useState({
|
|
15450
15450
|
first_name: g.first_name,
|
|
15451
15451
|
last_name: g.last_name,
|
|
15452
15452
|
email: g.email,
|
|
@@ -15850,7 +15850,7 @@ const V1 = ({
|
|
|
15850
15850
|
device: a,
|
|
15851
15851
|
deviceToken: o = ""
|
|
15852
15852
|
}) => {
|
|
15853
|
-
const r = fe(), { common: s, settings: c } = I(), { updateDevice: d, deleteDevice: _, setAlert: u, loadDevices: g } =
|
|
15853
|
+
const r = fe(), { common: s, settings: c } = I(), { updateDevice: d, deleteDevice: _, setAlert: u, loadDevices: g } = mt(), [m, p] = h.useState("");
|
|
15854
15854
|
h.useEffect(() => {
|
|
15855
15855
|
a && p(a.name);
|
|
15856
15856
|
}, [a, e]);
|
|
@@ -15958,7 +15958,7 @@ const V1 = ({
|
|
|
15958
15958
|
}
|
|
15959
15959
|
);
|
|
15960
15960
|
}, Y1 = x(z1), j1 = x(() => {
|
|
15961
|
-
const { isMobile: e } = Ee(), { settings: n } = I(), { isCopyLoaded: i, isInitialized: a } =
|
|
15961
|
+
const { isMobile: e } = Ee(), { settings: n } = I(), { isCopyLoaded: i, isInitialized: a } = le(), { setAlert: o, devices: r, loadDevices: s, generateDeviceToken: c } = mt(), [d, _] = h.useState({ open: !1, type: "" }), [u, g] = h.useState(), [m, p] = h.useState("");
|
|
15962
15962
|
h.useEffect(() => {
|
|
15963
15963
|
a && s();
|
|
15964
15964
|
}, [a]);
|
|
@@ -16023,11 +16023,11 @@ const V1 = ({
|
|
|
16023
16023
|
const o = fe();
|
|
16024
16024
|
return /* @__PURE__ */ t(Y, { sx: { bgcolor: o.palette.background.paper }, children: /* @__PURE__ */ l(_e, { alignItems: "flex-start", onClick: e, sx: a, children: [
|
|
16025
16025
|
/* @__PURE__ */ t(ae, { primary: n, secondary: i }),
|
|
16026
|
-
/* @__PURE__ */ t(
|
|
16026
|
+
/* @__PURE__ */ t(gt, { children: /* @__PURE__ */ t(_s, {}) })
|
|
16027
16027
|
] }) });
|
|
16028
16028
|
}
|
|
16029
16029
|
), X1 = x(() => {
|
|
16030
|
-
const { settings: e } = I(), { categories: n } = Fe(), { selectedRule: i, updateRuleCategory: a } =
|
|
16030
|
+
const { settings: e } = I(), { categories: n } = Fe(), { selectedRule: i, updateRuleCategory: a } = mt(), [o, r] = h.useState(!1), s = () => {
|
|
16031
16031
|
r(!1);
|
|
16032
16032
|
}, c = () => {
|
|
16033
16033
|
r(!0);
|
|
@@ -16055,7 +16055,7 @@ const V1 = ({
|
|
|
16055
16055
|
)
|
|
16056
16056
|
] });
|
|
16057
16057
|
}), Z1 = x(() => {
|
|
16058
|
-
const { common: e, settings: n } = I(), { selectedRule: i, updateRulePayee: a } =
|
|
16058
|
+
const { common: e, settings: n } = I(), { selectedRule: i, updateRulePayee: a } = mt(), o = fe(), [r, s] = h.useState(!1), c = i?.description ? i.description : i?.match_description, [d, _] = h.useState(c || ""), u = () => {
|
|
16059
16059
|
s(!0);
|
|
16060
16060
|
}, g = async () => {
|
|
16061
16061
|
d !== c && i && (i.description = d, await a(i), s(!1));
|
|
@@ -16122,7 +16122,7 @@ const V1 = ({
|
|
|
16122
16122
|
({ isOpen: e, onClose: n, onDelete: i }) => {
|
|
16123
16123
|
const { common: a, settings: o } = I(), r = fe(), [s, c] = h.useState(!1);
|
|
16124
16124
|
return /* @__PURE__ */ l(
|
|
16125
|
-
|
|
16125
|
+
ce,
|
|
16126
16126
|
{
|
|
16127
16127
|
hasSecondaryAction: !1,
|
|
16128
16128
|
isOpen: e,
|
|
@@ -16155,7 +16155,7 @@ const V1 = ({
|
|
|
16155
16155
|
);
|
|
16156
16156
|
}
|
|
16157
16157
|
), J1 = x(({ rule: e }) => {
|
|
16158
|
-
const { categories: n } = Fe(), { setSelectedGuid: i } = un(), { deleteTransactionRule: a, setSelectedRule: o } =
|
|
16158
|
+
const { categories: n } = Fe(), { setSelectedGuid: i } = un(), { deleteTransactionRule: a, setSelectedRule: o } = mt(), { isDesktop: r, isTablet: s } = Ee(), [c, d] = h.useState(!1), _ = () => {
|
|
16159
16159
|
d(!1), i(null), o(void 0);
|
|
16160
16160
|
}, u = async () => {
|
|
16161
16161
|
await a(), _();
|
|
@@ -16175,7 +16175,7 @@ const V1 = ({
|
|
|
16175
16175
|
/* @__PURE__ */ t(Q1, { isOpen: c, onClose: _, onDelete: u })
|
|
16176
16176
|
] });
|
|
16177
16177
|
}), Uc = x(() => {
|
|
16178
|
-
const { settings: e } = I(), { loadTransactionRules: n, transactionRules: i } =
|
|
16178
|
+
const { settings: e } = I(), { loadTransactionRules: n, transactionRules: i } = mt();
|
|
16179
16179
|
return h.useEffect(() => {
|
|
16180
16180
|
n().finally();
|
|
16181
16181
|
}, []), /* @__PURE__ */ l(b, { sx: { gap: 24, py: 24 }, children: [
|
|
@@ -16267,7 +16267,7 @@ const V1 = ({
|
|
|
16267
16267
|
}
|
|
16268
16268
|
), tC = x(
|
|
16269
16269
|
({ onUpdateProfile: e, profile: n }) => {
|
|
16270
|
-
const { settings: i } = I(), { user: a } = It(), { clientCommunicationProfile: o, userCommunicationsProfile: r } =
|
|
16270
|
+
const { settings: i } = I(), { user: a } = It(), { clientCommunicationProfile: o, userCommunicationsProfile: r } = mt(), { isMobile: s } = Ee(), c = n.notification_type > 2, {
|
|
16271
16271
|
opted_out_of_email_notifications: d,
|
|
16272
16272
|
opted_out_of_push_notifications: _,
|
|
16273
16273
|
opted_out_of_sms_notifications: u
|
|
@@ -16332,7 +16332,7 @@ const V1 = ({
|
|
|
16332
16332
|
] });
|
|
16333
16333
|
}
|
|
16334
16334
|
), Ur = x(() => {
|
|
16335
|
-
const { accountProfiles: e, updateNotificationProfile: n } =
|
|
16335
|
+
const { accountProfiles: e, updateNotificationProfile: n } = mt(), [i, a] = h.useState(""), o = h.useMemo(
|
|
16336
16336
|
() => e.find((c) => c.guid === i),
|
|
16337
16337
|
[e, i]
|
|
16338
16338
|
), r = async (c) => {
|
|
@@ -16358,7 +16358,7 @@ const V1 = ({
|
|
|
16358
16358
|
c.guid
|
|
16359
16359
|
)),
|
|
16360
16360
|
/* @__PURE__ */ t(
|
|
16361
|
-
|
|
16361
|
+
ce,
|
|
16362
16362
|
{
|
|
16363
16363
|
isOpen: !!o,
|
|
16364
16364
|
onClose: () => a(""),
|
|
@@ -16386,7 +16386,7 @@ const V1 = ({
|
|
|
16386
16386
|
opted_out_of_push_notifications: c,
|
|
16387
16387
|
opted_out_of_sms_notifications: d
|
|
16388
16388
|
}
|
|
16389
|
-
} =
|
|
16389
|
+
} = mt(), { user: _ } = It(), [u, g] = h.useState(!1), m = async () => {
|
|
16390
16390
|
await p({ ...e, is_enabled: !e.is_enabled }), e.is_enabled && g(!1);
|
|
16391
16391
|
}, p = async (E) => {
|
|
16392
16392
|
await r(E);
|
|
@@ -16456,14 +16456,14 @@ const V1 = ({
|
|
|
16456
16456
|
/* @__PURE__ */ t(H, {})
|
|
16457
16457
|
] }, e.guid);
|
|
16458
16458
|
}), Vr = x(() => {
|
|
16459
|
-
const { budgetProfiles: e } =
|
|
16459
|
+
const { budgetProfiles: e } = mt();
|
|
16460
16460
|
return /* @__PURE__ */ t(b, { children: e.map((n) => /* @__PURE__ */ t(Vc, { profile: n }, n.guid)) });
|
|
16461
16461
|
}), nC = x(() => {
|
|
16462
16462
|
const { onEvent: e } = X(), { settings: n } = I(), {
|
|
16463
16463
|
clientCommunicationProfile: i,
|
|
16464
16464
|
updateUserCommunicationProfile: a,
|
|
16465
16465
|
userCommunicationsProfile: o
|
|
16466
|
-
} =
|
|
16466
|
+
} = mt(), { user: r } = It(), s = async (c, d) => {
|
|
16467
16467
|
const _ = { ...o, [c]: d };
|
|
16468
16468
|
if (e) {
|
|
16469
16469
|
const g = c.split("_")[3];
|
|
@@ -16522,10 +16522,10 @@ const V1 = ({
|
|
|
16522
16522
|
] }) }) })
|
|
16523
16523
|
] });
|
|
16524
16524
|
}), Kr = x(() => {
|
|
16525
|
-
const { insightsProfiles: e } =
|
|
16525
|
+
const { insightsProfiles: e } = mt();
|
|
16526
16526
|
return /* @__PURE__ */ t(b, { children: e.map((n) => /* @__PURE__ */ t(Vc, { profile: n }, n.guid)) });
|
|
16527
16527
|
}), iC = () => {
|
|
16528
|
-
const { config: e } = Ht(), [n, { width: i }] = ua(), { common: a, settings: o } = I(), { updateUser: r } =
|
|
16528
|
+
const { config: e } = Ht(), [n, { width: i }] = ua(), { common: a, settings: o } = I(), { updateUser: r } = mt(), { user: s } = It(), [c, d] = h.useState(!1), [_, u] = h.useState({
|
|
16529
16529
|
email: s.email,
|
|
16530
16530
|
phone: s.phone
|
|
16531
16531
|
}), g = _.email && !s.email_is_verified && !c, m = _.phone && !s.phone_is_verified && !c, p = (E) => {
|
|
@@ -16612,7 +16612,7 @@ const V1 = ({
|
|
|
16612
16612
|
showPersonalDetails: n = !1,
|
|
16613
16613
|
view: i
|
|
16614
16614
|
}) => {
|
|
16615
|
-
const { config: a } = Ht(), { settings: o } = I(), { isInitialized: r } =
|
|
16615
|
+
const { config: a } = Ht(), { settings: o } = I(), { isInitialized: r } = le(), { clientCommunicationProfile: s, loadNotificationProfiles: c } = mt(), [d, _] = h.useState(
|
|
16616
16616
|
void 0
|
|
16617
16617
|
);
|
|
16618
16618
|
if (h.useEffect(() => {
|
|
@@ -16657,7 +16657,7 @@ const V1 = ({
|
|
|
16657
16657
|
] }),
|
|
16658
16658
|
y && /* @__PURE__ */ t(b, { sx: { px: 24 }, children: /* @__PURE__ */ t(aC, {}) }),
|
|
16659
16659
|
/* @__PURE__ */ t(
|
|
16660
|
-
|
|
16660
|
+
ce,
|
|
16661
16661
|
{
|
|
16662
16662
|
isOpen: !!d,
|
|
16663
16663
|
onClose: () => _(void 0),
|
|
@@ -19228,7 +19228,7 @@ const V1 = ({
|
|
|
19228
19228
|
g(""), c(u);
|
|
19229
19229
|
}, f = a ? n.request_support_institution_short_content : n.request_support_contact_short_content;
|
|
19230
19230
|
return /* @__PURE__ */ l(
|
|
19231
|
-
|
|
19231
|
+
ce,
|
|
19232
19232
|
{
|
|
19233
19233
|
isOpen: r,
|
|
19234
19234
|
isPrimaryDisabled: !u || !i,
|
|
@@ -19392,7 +19392,7 @@ const V1 = ({
|
|
|
19392
19392
|
}));
|
|
19393
19393
|
};
|
|
19394
19394
|
return /* @__PURE__ */ l(
|
|
19395
|
-
|
|
19395
|
+
ce,
|
|
19396
19396
|
{
|
|
19397
19397
|
isOpen: n,
|
|
19398
19398
|
onClose: m,
|
|
@@ -19462,7 +19462,7 @@ const V1 = ({
|
|
|
19462
19462
|
secondaryTypographyProps: { variant: "XSmall" }
|
|
19463
19463
|
}
|
|
19464
19464
|
),
|
|
19465
|
-
/* @__PURE__ */ t(
|
|
19465
|
+
/* @__PURE__ */ t(gt, { children: /* @__PURE__ */ t(st, {}) })
|
|
19466
19466
|
] }) }), Kc = ({ list: e, onClick: n, sx: i }) => /* @__PURE__ */ t(L, { sx: { bgcolor: "background.paper" }, children: /* @__PURE__ */ t(ie, { sx: { "& .MuiDivider-root:last-child": { ml: 0 } }, children: e.map(({ name: a, guid: o, subtitle: r, type: s }, c) => /* @__PURE__ */ l(h.Fragment, { children: [
|
|
19467
19467
|
/* @__PURE__ */ t(
|
|
19468
19468
|
wC,
|
|
@@ -19489,7 +19489,7 @@ const V1 = ({
|
|
|
19489
19489
|
}),
|
|
19490
19490
|
[r, s]
|
|
19491
19491
|
);
|
|
19492
|
-
return /* @__PURE__ */ t(
|
|
19492
|
+
return /* @__PURE__ */ t(ce, { isOpen: n, onClose: a, title: e.request_support, children: /* @__PURE__ */ l(b, { children: [
|
|
19493
19493
|
/* @__PURE__ */ t(
|
|
19494
19494
|
Ri,
|
|
19495
19495
|
{
|
|
@@ -19539,7 +19539,7 @@ const V1 = ({
|
|
|
19539
19539
|
title: r
|
|
19540
19540
|
}) => {
|
|
19541
19541
|
const { common: s } = I();
|
|
19542
|
-
return /* @__PURE__ */ l(
|
|
19542
|
+
return /* @__PURE__ */ l(ce, { isOpen: i, onClose: a, title: e.request_support, children: [
|
|
19543
19543
|
/* @__PURE__ */ t(
|
|
19544
19544
|
Ri,
|
|
19545
19545
|
{
|
|
@@ -19600,7 +19600,7 @@ const V1 = ({
|
|
|
19600
19600
|
onClose: o
|
|
19601
19601
|
}) => {
|
|
19602
19602
|
const { common: r } = I();
|
|
19603
|
-
return /* @__PURE__ */ t(
|
|
19603
|
+
return /* @__PURE__ */ t(ce, { isOpen: i, onClose: o, title: e.request_support, children: /* @__PURE__ */ l(L, { sx: { px: 24 }, children: [
|
|
19604
19604
|
/* @__PURE__ */ t(b, { sx: { alignItems: "center", pb: 24, pt: 80 }, children: /* @__PURE__ */ t(U, { color: "success", fill: !0, name: "check_circle", size: 64 }) }),
|
|
19605
19605
|
/* @__PURE__ */ l(b, { sx: { alignItems: "center", gap: 16, pb: 48 }, children: [
|
|
19606
19606
|
/* @__PURE__ */ t(dn, { children: e.request_support_success }),
|
|
@@ -19612,7 +19612,7 @@ const V1 = ({
|
|
|
19612
19612
|
] }) });
|
|
19613
19613
|
}, MC = x(
|
|
19614
19614
|
({ copy: e, isOpen: n, onClose: i }) => {
|
|
19615
|
-
const { alert: a, createSupportTicket: o, isLoading: r, setAlert: s } = _o(), { user: c } = It(), { isInitialized: d } =
|
|
19615
|
+
const { alert: a, createSupportTicket: o, isLoading: r, setAlert: s } = _o(), { user: c } = It(), { isInitialized: d } = le(), [_, u] = h.useState(""), [g, m] = h.useState(!1), [p, f] = h.useState(!1), [E, y] = h.useState({
|
|
19616
19616
|
isOpen: !1,
|
|
19617
19617
|
topic: "",
|
|
19618
19618
|
type: void 0
|
|
@@ -19649,7 +19649,7 @@ const V1 = ({
|
|
|
19649
19649
|
title: `Institution Request: ${O.institutionName}`
|
|
19650
19650
|
});
|
|
19651
19651
|
};
|
|
19652
|
-
return /* @__PURE__ */ t(
|
|
19652
|
+
return /* @__PURE__ */ t(ce, { isOpen: n, onClose: i, title: e.request_support, children: !d || r ? /* @__PURE__ */ t(de, {}) : /* @__PURE__ */ l(h.Fragment, { children: [
|
|
19653
19653
|
/* @__PURE__ */ l(b, { children: [
|
|
19654
19654
|
/* @__PURE__ */ t(
|
|
19655
19655
|
Ri,
|
|
@@ -19800,10 +19800,10 @@ const V1 = ({
|
|
|
19800
19800
|
)
|
|
19801
19801
|
] });
|
|
19802
19802
|
}, a2 = x(({ sx: e }) => {
|
|
19803
|
-
const { isCopyLoaded: n, isInitialized: i } =
|
|
19803
|
+
const { isCopyLoaded: n, isInitialized: i } = le();
|
|
19804
19804
|
return !n || !i ? /* @__PURE__ */ t(de, {}) : /* @__PURE__ */ t(ft, { sx: { p: 16 }, children: /* @__PURE__ */ t(zc, { sx: e }) });
|
|
19805
19805
|
}), kC = x(({ selectedTab: e }) => {
|
|
19806
|
-
const { alert: n, setAlert: i } =
|
|
19806
|
+
const { alert: n, setAlert: i } = mt(), {
|
|
19807
19807
|
config: { display_user_profile_in_settings: a }
|
|
19808
19808
|
} = Ht();
|
|
19809
19809
|
return /* @__PURE__ */ l(Z, { children: [
|
|
@@ -19836,7 +19836,7 @@ const V1 = ({
|
|
|
19836
19836
|
});
|
|
19837
19837
|
var Xn = /* @__PURE__ */ ((e) => (e[e.Profile = 0] = "Profile", e[e.Devices = 1] = "Devices", e[e.Notifications = 2] = "Notifications", e[e.TransactionRules = 3] = "TransactionRules", e[e.Help = 4] = "Help", e))(Xn || {});
|
|
19838
19838
|
const o2 = x(({ onBackClick: e, sx: n }) => {
|
|
19839
|
-
const { settings: i } = I(), { isCopyLoaded: a, isInitialized: o } =
|
|
19839
|
+
const { settings: i } = I(), { isCopyLoaded: a, isInitialized: o } = le(), { config: r } = Ht(), { isMobile: s } = Ee(), {
|
|
19840
19840
|
display_user_profile_in_settings: c,
|
|
19841
19841
|
display_mobile_devices_in_settings: d,
|
|
19842
19842
|
display_notification_settings_in_settings: _,
|
|
@@ -19882,55 +19882,56 @@ const o2 = x(({ onBackClick: e, sx: n }) => {
|
|
|
19882
19882
|
return /* @__PURE__ */ t(ft, { ...e, children: /* @__PURE__ */ t(b, { sx: { mx: n ? 0 : 48, my: 24 }, children: /* @__PURE__ */ t(Uc, {}) }) });
|
|
19883
19883
|
}, c2 = x(
|
|
19884
19884
|
({ notificationTypes: e, isOpen: n, onClose: i, onNotificationClick: a }) => {
|
|
19885
|
-
const { config: o } = Ht(), { notifications: r
|
|
19886
|
-
|
|
19887
|
-
|
|
19888
|
-
|
|
19889
|
-
|
|
19890
|
-
|
|
19891
|
-
|
|
19892
|
-
|
|
19893
|
-
|
|
19894
|
-
|
|
19895
|
-
|
|
19896
|
-
|
|
19897
|
-
|
|
19898
|
-
|
|
19899
|
-
|
|
19900
|
-
|
|
19901
|
-
|
|
19902
|
-
|
|
19903
|
-
|
|
19904
|
-
|
|
19905
|
-
|
|
19906
|
-
|
|
19907
|
-
|
|
19908
|
-
|
|
19909
|
-
|
|
19910
|
-
|
|
19911
|
-
|
|
19912
|
-
|
|
19913
|
-
|
|
19914
|
-
|
|
19915
|
-
|
|
19916
|
-
|
|
19917
|
-
|
|
19918
|
-
|
|
19919
|
-
|
|
19920
|
-
|
|
19921
|
-
|
|
19922
|
-
|
|
19923
|
-
|
|
19924
|
-
|
|
19925
|
-
|
|
19885
|
+
const { config: o } = Ht(), { notifications: r, settings: s } = I(), { isCopyLoaded: c } = le(), [d, _] = h.useState(!1);
|
|
19886
|
+
return c ? /* @__PURE__ */ l(Z, { children: [
|
|
19887
|
+
/* @__PURE__ */ l(
|
|
19888
|
+
ce,
|
|
19889
|
+
{
|
|
19890
|
+
ariaLabelClose: r.close_notifications,
|
|
19891
|
+
isOpen: n,
|
|
19892
|
+
onClose: i,
|
|
19893
|
+
title: r.notifications_title,
|
|
19894
|
+
children: [
|
|
19895
|
+
/* @__PURE__ */ t(
|
|
19896
|
+
He,
|
|
19897
|
+
{
|
|
19898
|
+
"aria-label": s.open_notification_settings_btn_aria,
|
|
19899
|
+
onClick: () => _(!0),
|
|
19900
|
+
sx: {
|
|
19901
|
+
position: "absolute",
|
|
19902
|
+
right: 8,
|
|
19903
|
+
top: 8
|
|
19904
|
+
},
|
|
19905
|
+
children: /* @__PURE__ */ t(ld, { size: 24 })
|
|
19906
|
+
}
|
|
19907
|
+
),
|
|
19908
|
+
/* @__PURE__ */ t(
|
|
19909
|
+
B1,
|
|
19910
|
+
{
|
|
19911
|
+
onClick: a,
|
|
19912
|
+
onManageNotifications: () => _(!0)
|
|
19913
|
+
}
|
|
19914
|
+
)
|
|
19915
|
+
]
|
|
19916
|
+
}
|
|
19917
|
+
),
|
|
19918
|
+
/* @__PURE__ */ t(
|
|
19919
|
+
ce,
|
|
19920
|
+
{
|
|
19921
|
+
ariaLabelClose: r.close_notification_settings,
|
|
19922
|
+
isOpen: d,
|
|
19923
|
+
onClose: () => _(!1),
|
|
19924
|
+
title: s.notifications_settings_title,
|
|
19925
|
+
children: /* @__PURE__ */ t(
|
|
19926
|
+
ea,
|
|
19926
19927
|
{
|
|
19927
|
-
|
|
19928
|
-
|
|
19928
|
+
notificationTypes: e,
|
|
19929
|
+
showPersonalDetails: !o.display_user_profile_in_settings
|
|
19929
19930
|
}
|
|
19930
19931
|
)
|
|
19931
|
-
|
|
19932
|
-
|
|
19933
|
-
);
|
|
19932
|
+
}
|
|
19933
|
+
)
|
|
19934
|
+
] }) : /* @__PURE__ */ t(de, {});
|
|
19934
19935
|
}
|
|
19935
19936
|
), Yr = {
|
|
19936
19937
|
clientConfig: {},
|
|
@@ -20179,7 +20180,7 @@ const HC = (e) => e.reduce((i, a) => {
|
|
|
20179
20180
|
isOpen: i,
|
|
20180
20181
|
onClose: a
|
|
20181
20182
|
}) => {
|
|
20182
|
-
const { onEvent: o } = X(), { selectedAccountGuids: r } =
|
|
20183
|
+
const { onEvent: o } = X(), { selectedAccountGuids: r } = le(), { common: s } = I(), { setFilter: c, sortedTransactions: d } = Oe(), [_, u] = h.useState(""), g = h.useMemo(
|
|
20183
20184
|
() => d.find((p) => p.guid === _),
|
|
20184
20185
|
[_, d]
|
|
20185
20186
|
);
|
|
@@ -20194,7 +20195,7 @@ const HC = (e) => e.reduce((i, a) => {
|
|
|
20194
20195
|
u(""), a();
|
|
20195
20196
|
};
|
|
20196
20197
|
return /* @__PURE__ */ l(
|
|
20197
|
-
|
|
20198
|
+
ce,
|
|
20198
20199
|
{
|
|
20199
20200
|
ariaLabelClose: s.close_aria,
|
|
20200
20201
|
isOpen: i,
|
|
@@ -20209,7 +20210,7 @@ const HC = (e) => e.reduce((i, a) => {
|
|
|
20209
20210
|
}, Xc = x(zC), YC = {
|
|
20210
20211
|
view_transactions: "View Transactions"
|
|
20211
20212
|
}, jC = ({ onBackClick: e, sx: n }) => {
|
|
20212
|
-
const i = ot(), { onEvent: a } = X(), { isDesktop: o, isTablet: r, isMobile: s } = Ee(), { visibleAccounts: c } = Se(), { loadMonthlyCategoryTotals: d, monthlyCategoryTotals: _, getCategoryName: u } = Fe(), { sortedTransactions: g } = Oe(), { isCopyLoaded: m, isInitialized: p, selectedAccounts: f, setSelectedAccounts: E } =
|
|
20213
|
+
const i = ot(), { onEvent: a } = X(), { isDesktop: o, isTablet: r, isMobile: s } = Ee(), { visibleAccounts: c } = Se(), { loadMonthlyCategoryTotals: d, monthlyCategoryTotals: _, getCategoryName: u } = Fe(), { sortedTransactions: g } = Oe(), { isCopyLoaded: m, isInitialized: p, selectedAccounts: f, setSelectedAccounts: E } = le(), { trends: y } = I(), S = i.palette.mode === "dark", [A, w] = h.useState(!1), [v, D] = h.useState(!1), [k, G] = h.useState("Chart"), [O, M] = h.useState(""), [R, W] = h.useState({
|
|
20213
20214
|
start: ji(ze(Bt(/* @__PURE__ */ new Date(), 6)), 1),
|
|
20214
20215
|
end: ze(/* @__PURE__ */ new Date())
|
|
20215
20216
|
});
|
|
@@ -20413,7 +20414,7 @@ const HC = (e) => e.reduce((i, a) => {
|
|
|
20413
20414
|
}
|
|
20414
20415
|
);
|
|
20415
20416
|
}, ZC = x(XC), qC = ({ onPrimaryCtaClick: e, sx: n }) => {
|
|
20416
|
-
const { loadMonthlyCategoryTotals: i, monthlyTotalsLoaded: a } = Fe(), { isInitialized: o } = ai(), { trends: r } = I(), { isCopyLoaded: s, selectedAccounts: c } =
|
|
20417
|
+
const { loadMonthlyCategoryTotals: i, monthlyTotalsLoaded: a } = Fe(), { isInitialized: o } = ai(), { trends: r } = I(), { isCopyLoaded: s, selectedAccounts: c } = le();
|
|
20417
20418
|
return h.useEffect(() => {
|
|
20418
20419
|
o && i(c).finally();
|
|
20419
20420
|
}, [o, c]), s ? /* @__PURE__ */ t(
|
|
@@ -20526,7 +20527,7 @@ const HC = (e) => e.reduce((i, a) => {
|
|
|
20526
20527
|
const { visibleAccounts: n } = Se(), { monthlyCategoryTotals: i, loadMonthlyCategoryTotals: a, monthlyTotalsLoaded: o } = Fe(), r = {
|
|
20527
20528
|
start: Id(/* @__PURE__ */ new Date(), 1),
|
|
20528
20529
|
end: /* @__PURE__ */ new Date()
|
|
20529
|
-
}, { trends: s } = I(), { selectedAccounts: c, setSelectedAccounts: d, isInitialized: _ } =
|
|
20530
|
+
}, { trends: s } = I(), { selectedAccounts: c, setSelectedAccounts: d, isInitialized: _ } = le();
|
|
20530
20531
|
h.useEffect(() => {
|
|
20531
20532
|
d(n);
|
|
20532
20533
|
}, [n]), h.useEffect(() => {
|
|
@@ -20609,7 +20610,7 @@ const HC = (e) => e.reduce((i, a) => {
|
|
|
20609
20610
|
] }),
|
|
20610
20611
|
secondary: /* @__PURE__ */ l(b, { alignItems: "center", direction: "row", children: [
|
|
20611
20612
|
/* @__PURE__ */ t(C, { bold: !0, variant: "body1", children: i }),
|
|
20612
|
-
/* @__PURE__ */ t(
|
|
20613
|
+
/* @__PURE__ */ t(gt, { children: /* @__PURE__ */ t(_s, {}) })
|
|
20613
20614
|
] }),
|
|
20614
20615
|
sx: { display: "flex" }
|
|
20615
20616
|
}
|
|
@@ -22525,7 +22526,7 @@ const Oi = h.createContext(null), lf = ({
|
|
|
22525
22526
|
}
|
|
22526
22527
|
);
|
|
22527
22528
|
}, Lf = x(Of), Mf = () => {
|
|
22528
|
-
const e = cn(), { isMobile: n, isDesktop: i, isLargeDesktop: a } = Ee(), { beatStore: o, endpoint: r, sessionToken: s } = ai(), { isInitialized: c } =
|
|
22529
|
+
const e = cn(), { isMobile: n, isDesktop: i, isLargeDesktop: a } = Ee(), { beatStore: o, endpoint: r, sessionToken: s } = ai(), { isInitialized: c } = le(), { sortedCategoriesList: d } = Us(), [_, u] = h.useState(!1), g = e.palette.mode === "dark", m = i || a, p = m || n ? 1 : 2;
|
|
22529
22530
|
h.useEffect(() => {
|
|
22530
22531
|
c && o.loadBeats().finally(() => u(!0));
|
|
22531
22532
|
}, [c]);
|
|
@@ -22561,7 +22562,7 @@ const Oi = h.createContext(null), lf = ({
|
|
|
22561
22562
|
}, kf = x(Mf), Gf = {
|
|
22562
22563
|
view_transactions: "View Transactions"
|
|
22563
22564
|
}, Bf = ({ onBackClick: e, sx: n }) => {
|
|
22564
|
-
const i = ot(), { onEvent: a } = X(), { isLargeDesktop: o, isDesktop: r, isMobile: s } = Ee(), { visibleAccounts: c } = Se(), { loadMonthlyCategoryTotals: d, monthlyCategoryTotals: _, getCategoryName: u } = Fe(), { sortedTransactions: g } = Oe(), { isCopyLoaded: m, isInitialized: p, selectedAccounts: f, setSelectedAccounts: E } =
|
|
22565
|
+
const i = ot(), { onEvent: a } = X(), { isLargeDesktop: o, isDesktop: r, isMobile: s } = Ee(), { visibleAccounts: c } = Se(), { loadMonthlyCategoryTotals: d, monthlyCategoryTotals: _, getCategoryName: u } = Fe(), { sortedTransactions: g } = Oe(), { isCopyLoaded: m, isInitialized: p, selectedAccounts: f, setSelectedAccounts: E } = le(), { trends: y } = I(), S = i.palette.mode === "dark", A = r || o, [w, v] = h.useState(!1), [D, k] = h.useState(!1), [G, O] = h.useState("Chart"), [M, R] = h.useState(""), [W, ne] = h.useState({
|
|
22565
22566
|
start: ji(ze(Bt(/* @__PURE__ */ new Date(), 6)), 1),
|
|
22566
22567
|
end: ze(/* @__PURE__ */ new Date())
|
|
22567
22568
|
});
|
|
@@ -23086,7 +23087,7 @@ const Da = ({
|
|
|
23086
23087
|
}
|
|
23087
23088
|
),
|
|
23088
23089
|
/* @__PURE__ */ t(
|
|
23089
|
-
|
|
23090
|
+
ce,
|
|
23090
23091
|
{
|
|
23091
23092
|
ariaLabelClose: g.close_drawer,
|
|
23092
23093
|
isOpen: i,
|
|
@@ -23575,7 +23576,7 @@ const Da = ({
|
|
|
23575
23576
|
}, [a]), h.useEffect(() => i(F.ACCOUNT_DETAILS_VIEW_TRANSACTIONS), []), /* @__PURE__ */ l(Z, { children: [
|
|
23576
23577
|
/* @__PURE__ */ t(kn, { onClick: n }),
|
|
23577
23578
|
c && /* @__PURE__ */ t(
|
|
23578
|
-
|
|
23579
|
+
ce,
|
|
23579
23580
|
{
|
|
23580
23581
|
ariaLabelClose: o.close_drawer,
|
|
23581
23582
|
isOpen: !!e,
|
|
@@ -23622,7 +23623,7 @@ const Da = ({
|
|
|
23622
23623
|
/* @__PURE__ */ t(Jn, { index: 1, name: "account-details", value: e, children: /* @__PURE__ */ t(Jf, {}) })
|
|
23623
23624
|
] });
|
|
23624
23625
|
}, sl = x(a0), o0 = () => {
|
|
23625
|
-
const [e, n] = h.useState(""), { accounts: i } = I(), { selectedAccounts: a } =
|
|
23626
|
+
const [e, n] = h.useState(""), { accounts: i } = I(), { selectedAccounts: a } = le(), { setSelectedAccount: o, setSelectedMember: r } = Ft(), { members: s } = Se(), { onEvent: c } = X(), d = [...new Set(a.map((y) => y.account_type))], _ = a.find((y) => e === y.guid), u = h.useMemo(
|
|
23626
23627
|
() => a.filter((y) => y.is_hidden),
|
|
23627
23628
|
[a]
|
|
23628
23629
|
), g = h.useMemo(
|
|
@@ -23751,7 +23752,7 @@ const Da = ({
|
|
|
23751
23752
|
u.length > 0 && E("hidden"),
|
|
23752
23753
|
g.length > 0 && E("closed"),
|
|
23753
23754
|
/* @__PURE__ */ l(
|
|
23754
|
-
|
|
23755
|
+
ce,
|
|
23755
23756
|
{
|
|
23756
23757
|
ariaLabelClose: i.close_account_details_aria,
|
|
23757
23758
|
isOpen: !!e,
|
|
@@ -23765,7 +23766,7 @@ const Da = ({
|
|
|
23765
23766
|
)
|
|
23766
23767
|
] });
|
|
23767
23768
|
}, r0 = x(o0), s0 = ({ onBackClick: e, sx: n = {} }) => {
|
|
23768
|
-
const [i, a] = h.useState(!1), [o, r] = h.useState(!1), { config: s } = Ht(), { accounts: c } = Se(), { accounts: d, connect: _ } = I(), { isCopyLoaded: u, isInitialized: g, setSelectedAccounts: m, selectedAccountGuids: p } =
|
|
23769
|
+
const [i, a] = h.useState(!1), [o, r] = h.useState(!1), { config: s } = Ht(), { accounts: c } = Se(), { accounts: d, connect: _ } = I(), { isCopyLoaded: u, isInitialized: g, setSelectedAccounts: m, selectedAccountGuids: p } = le(), { isDesktop: f } = Ee(), { onEvent: E } = X();
|
|
23769
23770
|
h.useEffect(() => {
|
|
23770
23771
|
m(c);
|
|
23771
23772
|
}, [c]);
|
|
@@ -23815,7 +23816,7 @@ const Da = ({
|
|
|
23815
23816
|
}
|
|
23816
23817
|
) : /* @__PURE__ */ t(de, {});
|
|
23817
23818
|
}, p2 = x(s0), c0 = ({ onPrimaryCtaClick: e, sx: n }) => {
|
|
23818
|
-
const { visibleAccounts: i } = Se(), { accounts: a } = I(), { isCopyLoaded: o, isInitialized: r, selectedAccounts: s, setSelectedAccounts: c } =
|
|
23819
|
+
const { visibleAccounts: i } = Se(), { accounts: a } = I(), { isCopyLoaded: o, isInitialized: r, selectedAccounts: s, setSelectedAccounts: c } = le();
|
|
23819
23820
|
return h.useEffect(() => {
|
|
23820
23821
|
c(i);
|
|
23821
23822
|
}, [i]), o ? /* @__PURE__ */ t(
|
|
@@ -24306,7 +24307,7 @@ const Da = ({
|
|
|
24306
24307
|
},
|
|
24307
24308
|
sx: n
|
|
24308
24309
|
}) => {
|
|
24309
|
-
const { isCopyLoaded: i } =
|
|
24310
|
+
const { isCopyLoaded: i } = le(), { connect: a } = I(), [o, r] = h.useState(!1), s = () => {
|
|
24310
24311
|
r(!0), e();
|
|
24311
24312
|
};
|
|
24312
24313
|
return i ? /* @__PURE__ */ l(
|
|
@@ -24619,7 +24620,7 @@ const m0 = () => {
|
|
|
24619
24620
|
responsePayload: _,
|
|
24620
24621
|
resetStore: u,
|
|
24621
24622
|
survey: g
|
|
24622
|
-
} = co(), { analytics: m, common: p } = I(), { isCopyLoaded: f, isInitialized: E } =
|
|
24623
|
+
} = co(), { analytics: m, common: p } = I(), { isCopyLoaded: f, isInitialized: E } = le(), [y, S] = h.useState(!1);
|
|
24623
24624
|
h.useEffect(() => {
|
|
24624
24625
|
E && s();
|
|
24625
24626
|
}, [E]), h.useEffect(() => {
|
|
@@ -24954,7 +24955,7 @@ const R0 = ({
|
|
|
24954
24955
|
shouldShowZeroState: o,
|
|
24955
24956
|
unavailableWidth: r = 24
|
|
24956
24957
|
}) => {
|
|
24957
|
-
const { onEvent: s } = X(), { setSelectedBudget: c } = ht(), { isLoadingCategoryTotals: d } = Fe(), { isInitialized: _ } =
|
|
24958
|
+
const { onEvent: s } = X(), { setSelectedBudget: c } = ht(), { isLoadingCategoryTotals: d } = Fe(), { isInitialized: _ } = le(), { accounts: u } = I(), { availableWidth: g } = On(), { isMobile: m } = Ee(), [p, f] = h.useState(!1), E = h.useMemo(() => g - r, [g]), y = (A) => {
|
|
24958
24959
|
c(A), s(F.BUDGETS_CLICK_BUDGET_CATEGORY, {
|
|
24959
24960
|
budget_category: A.category.name,
|
|
24960
24961
|
click_type: "bubble"
|
|
@@ -25029,7 +25030,7 @@ const R0 = ({
|
|
|
25029
25030
|
/* @__PURE__ */ t(q, { onClick: () => c(!0), sx: { mt: 24, mx: 24 }, variant: "text", children: n.recalculate_button }),
|
|
25030
25031
|
/* @__PURE__ */ t(C, { sx: { mx: 24, my: 16, textAlign: "center", whiteSpace: "wrap" }, variant: "Paragraph", children: n.recalculate_help }),
|
|
25031
25032
|
/* @__PURE__ */ t(
|
|
25032
|
-
|
|
25033
|
+
ce,
|
|
25033
25034
|
{
|
|
25034
25035
|
ariaLabelClose: i.close_aria,
|
|
25035
25036
|
isOpen: s,
|
|
@@ -25118,7 +25119,7 @@ const R0 = ({
|
|
|
25118
25119
|
/* @__PURE__ */ t(G0, { onRecalculateBudgets: e })
|
|
25119
25120
|
] });
|
|
25120
25121
|
}), P0 = (e) => {
|
|
25121
|
-
const n = fe(), { onEvent: i } = X(), { accounts: a } = Se(), { budgets: o, isDataLoaded: r, loadBudgetData: s, setTheme: c } = ht(), { budgets: d, common: _ } = I(), { isCopyLoaded: u, isInitialized: g } =
|
|
25122
|
+
const n = fe(), { onEvent: i } = X(), { accounts: a } = Se(), { budgets: o, isDataLoaded: r, loadBudgetData: s, setTheme: c } = ht(), { budgets: d, common: _ } = I(), { isCopyLoaded: u, isInitialized: g } = le(), { reloadCategoryTotals: m } = Fe(), p = Su(), f = o.length === 0, [E, y] = h.useState(!1), S = () => {
|
|
25122
25123
|
y(!0), i(F.BUDGETS_CLICK_ADD);
|
|
25123
25124
|
}, A = () => {
|
|
25124
25125
|
y(!1);
|
|
@@ -25152,7 +25153,7 @@ const R0 = ({
|
|
|
25152
25153
|
] })
|
|
25153
25154
|
] }) : /* @__PURE__ */ t(de, {}),
|
|
25154
25155
|
/* @__PURE__ */ t(
|
|
25155
|
-
|
|
25156
|
+
ce,
|
|
25156
25157
|
{
|
|
25157
25158
|
ariaLabelClose: _.close_aria,
|
|
25158
25159
|
isOpen: E,
|
|
@@ -25235,7 +25236,7 @@ const R0 = ({
|
|
|
25235
25236
|
] }) }) }) }),
|
|
25236
25237
|
/* @__PURE__ */ t(H, {}),
|
|
25237
25238
|
/* @__PURE__ */ t(
|
|
25238
|
-
|
|
25239
|
+
ce,
|
|
25239
25240
|
{
|
|
25240
25241
|
ariaLabelClose: a.close_aria,
|
|
25241
25242
|
isOpen: c,
|
|
@@ -25294,7 +25295,7 @@ const R0 = ({
|
|
|
25294
25295
|
/* @__PURE__ */ t(W0, { category: n, parentBudget: e })
|
|
25295
25296
|
] }),
|
|
25296
25297
|
/* @__PURE__ */ t(
|
|
25297
|
-
|
|
25298
|
+
ce,
|
|
25298
25299
|
{
|
|
25299
25300
|
ariaLabelClose: o.close_aria,
|
|
25300
25301
|
isOpen: !!s,
|
|
@@ -25389,7 +25390,7 @@ const R0 = ({
|
|
|
25389
25390
|
] }),
|
|
25390
25391
|
u === 1 && /* @__PURE__ */ t($0, { budget: e }),
|
|
25391
25392
|
/* @__PURE__ */ t(
|
|
25392
|
-
|
|
25393
|
+
ce,
|
|
25393
25394
|
{
|
|
25394
25395
|
ariaLabelClose: o.close_aria,
|
|
25395
25396
|
isOpen: !!f,
|
|
@@ -25401,7 +25402,7 @@ const R0 = ({
|
|
|
25401
25402
|
] })
|
|
25402
25403
|
] });
|
|
25403
25404
|
}), V0 = x(() => {
|
|
25404
|
-
const { selectedAccountGuids: e } =
|
|
25405
|
+
const { selectedAccountGuids: e } = le(), { budgets: n, common: i } = I(), {
|
|
25405
25406
|
dateRange: a,
|
|
25406
25407
|
deleteBudget: o,
|
|
25407
25408
|
selectedBudget: r,
|
|
@@ -25433,7 +25434,7 @@ const R0 = ({
|
|
|
25433
25434
|
if (r)
|
|
25434
25435
|
return /* @__PURE__ */ l(h.Fragment, { children: [
|
|
25435
25436
|
/* @__PURE__ */ t(
|
|
25436
|
-
|
|
25437
|
+
ce,
|
|
25437
25438
|
{
|
|
25438
25439
|
ariaLabelClose: i.close_aria,
|
|
25439
25440
|
isOpen: g,
|
|
@@ -25593,7 +25594,7 @@ const R0 = ({
|
|
|
25593
25594
|
] })
|
|
25594
25595
|
] }) }),
|
|
25595
25596
|
/* @__PURE__ */ t(
|
|
25596
|
-
|
|
25597
|
+
ce,
|
|
25597
25598
|
{
|
|
25598
25599
|
ariaLabelClose: o.close_aria,
|
|
25599
25600
|
isOpen: m,
|
|
@@ -25607,7 +25608,7 @@ const R0 = ({
|
|
|
25607
25608
|
)
|
|
25608
25609
|
] });
|
|
25609
25610
|
}), rs = 480, E2 = x(({ onBackClick: e, sx: n }) => {
|
|
25610
|
-
const i = fe(), { onEvent: a } = X(), { visibleAccounts: o } = Se(), { budgets: r, common: s } = I(), { isCopyLoaded: c, isInitialized: d, selectedAccounts: _, setDisplayedDate: u, setSelectedAccounts: g } =
|
|
25611
|
+
const i = fe(), { onEvent: a } = X(), { visibleAccounts: o } = Se(), { budgets: r, common: s } = I(), { isCopyLoaded: c, isInitialized: d, selectedAccounts: _, setDisplayedDate: u, setSelectedAccounts: g } = le(), {
|
|
25611
25612
|
alert: m,
|
|
25612
25613
|
dateRange: p,
|
|
25613
25614
|
isDataLoaded: f,
|
|
@@ -25687,7 +25688,7 @@ const R0 = ({
|
|
|
25687
25688
|
),
|
|
25688
25689
|
/* @__PURE__ */ t(V0, {}),
|
|
25689
25690
|
/* @__PURE__ */ t(
|
|
25690
|
-
|
|
25691
|
+
ce,
|
|
25691
25692
|
{
|
|
25692
25693
|
ariaLabelClose: s.close_aria,
|
|
25693
25694
|
isOpen: R,
|
|
@@ -25791,7 +25792,7 @@ const R0 = ({
|
|
|
25791
25792
|
}
|
|
25792
25793
|
) });
|
|
25793
25794
|
}, Z0 = x(X0), q0 = () => {
|
|
25794
|
-
const [e, n] = h.useState(!1), i = a_("(max-width:320px)"), { visibleAccounts: a } = Se(), { selectedAccountGuids: o, setSelectedAccountGuids: r } =
|
|
25795
|
+
const [e, n] = h.useState(!1), i = a_("(max-width:320px)"), { visibleAccounts: a } = Se(), { selectedAccountGuids: o, setSelectedAccountGuids: r } = le(), { common: s, connect: c } = I(), { config: d } = Ht(), { isMobile: _ } = Ee(), u = {
|
|
25795
25796
|
accountFilterOptionsCopy: {
|
|
25796
25797
|
accountTypeAccounts: s.account_filter.account_type_accounts,
|
|
25797
25798
|
cancelButton: s.cancel_button,
|
|
@@ -25848,7 +25849,7 @@ const R0 = ({
|
|
|
25848
25849
|
}, Q0 = x(q0);
|
|
25849
25850
|
var Wi = /* @__PURE__ */ ((e) => (e[e.Main = 0] = "Main", e[e.RightSide = 1] = "RightSide", e[e.Disabled = 2] = "Disabled", e))(Wi || {});
|
|
25850
25851
|
const J0 = ({ widgets: e, isLoading: n }) => {
|
|
25851
|
-
const { isDesktop: i, isMobile: a } = Ee(), { copyStore: o } = ai(), { setSelectedAccounts: r } =
|
|
25852
|
+
const { isDesktop: i, isMobile: a } = Ee(), { copyStore: o } = ai(), { setSelectedAccounts: r } = le(), { visibleAccounts: s } = Se();
|
|
25852
25853
|
h.useEffect(() => {
|
|
25853
25854
|
r(s);
|
|
25854
25855
|
}, [s]);
|
|
@@ -26235,7 +26236,7 @@ const J0 = ({ widgets: e, isLoading: n }) => {
|
|
|
26235
26236
|
}, sb = () => {
|
|
26236
26237
|
const [e, n] = h.useState(0), [i, a] = h.useState(""), [o, r] = h.useState(""), s = (f) => {
|
|
26237
26238
|
i !== f ? a(f) : (a(""), r(""));
|
|
26238
|
-
}, { selectedAccountGuids: c } =
|
|
26239
|
+
}, { selectedAccountGuids: c } = le(), { visibleHoldings: d } = Fn(), { visibleInvestmentAccounts: _ } = Se(), {
|
|
26239
26240
|
investments: { allocation: u }
|
|
26240
26241
|
} = I(), g = ab(
|
|
26241
26242
|
_.filter(({ guid: f }) => c.includes(f)),
|
|
@@ -26560,7 +26561,7 @@ const J0 = ({ widgets: e, isLoading: n }) => {
|
|
|
26560
26561
|
}));
|
|
26561
26562
|
};
|
|
26562
26563
|
return /* @__PURE__ */ l(
|
|
26563
|
-
|
|
26564
|
+
ce,
|
|
26564
26565
|
{
|
|
26565
26566
|
ariaLabelClose: _.overview.close_investment_drawer,
|
|
26566
26567
|
isOpen: c,
|
|
@@ -27019,10 +27020,10 @@ const J0 = ({ widgets: e, isLoading: n }) => {
|
|
|
27019
27020
|
}
|
|
27020
27021
|
);
|
|
27021
27022
|
}, Cb = () => {
|
|
27022
|
-
const { isMobile: e } = Ee(), [n, i] = yt({}), [a, o] = yt(!1), { selectedAccountGuids: r } =
|
|
27023
|
+
const { isMobile: e } = Ee(), [n, i] = yt({}), [a, o] = yt(!1), { selectedAccountGuids: r } = le(), { visibleHoldings: s, updateHoldings: c } = Fn(), [d, _] = h.useState(!1), [u, g] = yt({
|
|
27023
27024
|
accounts: [],
|
|
27024
27025
|
holdings: []
|
|
27025
|
-
}), { accounts: m, investments: p } = I(), { isCopyLoaded: f } =
|
|
27026
|
+
}), { accounts: m, investments: p } = I(), { isCopyLoaded: f } = le(), [E, y] = yt(null), [S, A] = yt(""), v = fe().palette.mode === "dark", D = v ? "#0AC295" : "#09A57F", k = v ? "grey.300" : "grey.700", G = (z, ee = "lesserThan") => ee === "greaterThan" ? z >= 0 ? D : k : z <= 0 ? k : D, O = (z, ee) => {
|
|
27026
27027
|
y(z), A(ee.toFixed(2));
|
|
27027
27028
|
}, M = (z) => {
|
|
27028
27029
|
const ee = z.target.value;
|
|
@@ -27442,7 +27443,7 @@ const J0 = ({ widgets: e, isLoading: n }) => {
|
|
|
27442
27443
|
visibleHoldings: r,
|
|
27443
27444
|
setShowConnectionsWidget: s,
|
|
27444
27445
|
showConnectionsWidget: c
|
|
27445
|
-
} = Fn(), { investments: d, accounts: _ } = I(), { isCopyLoaded: u, isInitialized: g, setSelectedAccounts: m } =
|
|
27446
|
+
} = Fn(), { investments: d, accounts: _ } = I(), { isCopyLoaded: u, isInitialized: g, setSelectedAccounts: m } = le(), [p, f] = h.useState(0), { loadHoldings: E } = Fn();
|
|
27446
27447
|
h.useEffect(() => {
|
|
27447
27448
|
m(o);
|
|
27448
27449
|
}, [o]), h.useEffect(() => {
|
|
@@ -27678,7 +27679,7 @@ const J0 = ({ widgets: e, isLoading: n }) => {
|
|
|
27678
27679
|
},
|
|
27679
27680
|
a.guid
|
|
27680
27681
|
)) }), Sb = () => {
|
|
27681
|
-
const e = fe(), { spending: n } = I(), { selectedAccounts: i } =
|
|
27682
|
+
const e = fe(), { spending: n } = I(), { selectedAccounts: i } = le(), {
|
|
27682
27683
|
categories: a,
|
|
27683
27684
|
dateRangeCategoryTotals: o,
|
|
27684
27685
|
dataRangeTotalsLoaded: r,
|
|
@@ -27773,7 +27774,7 @@ const J0 = ({ widgets: e, isLoading: n }) => {
|
|
|
27773
27774
|
] }) })
|
|
27774
27775
|
] }) : /* @__PURE__ */ t(de, { height: 250 });
|
|
27775
27776
|
}, Tb = x(Sb), Ab = ({ onPrimaryCtaClick: e, sx: n = {} }) => {
|
|
27776
|
-
const { spending: i } = I(), { isCopyLoaded: a } =
|
|
27777
|
+
const { spending: i } = I(), { isCopyLoaded: a } = le();
|
|
27777
27778
|
return a ? /* @__PURE__ */ t(
|
|
27778
27779
|
Ln,
|
|
27779
27780
|
{
|
|
@@ -27922,7 +27923,7 @@ const J0 = ({ widgets: e, isLoading: n }) => {
|
|
|
27922
27923
|
e.palette.chartMono.chartMono1,
|
|
27923
27924
|
e.palette.chartMono.chartMono6
|
|
27924
27925
|
], Nb = () => {
|
|
27925
|
-
const e = cn(), { categories: n, dateRangeCategoryTotals: i, loadDateRangeCategoryTotals: a } = Fe(), { spending: o } = I(), { displayedDateRange: r, selectedAccounts: s, selectedAccountGuids: c } =
|
|
27926
|
+
const e = cn(), { categories: n, dateRangeCategoryTotals: i, loadDateRangeCategoryTotals: a } = Fe(), { spending: o } = I(), { displayedDateRange: r, selectedAccounts: s, selectedAccountGuids: c } = le(), { setFilter: d, sortedTransactions: _ } = Oe(), [u, g] = h.useState(""), [m, p] = h.useState(0), [f, E] = h.useState(""), [y, S] = h.useState(!1);
|
|
27926
27927
|
h.useEffect(() => {
|
|
27927
27928
|
a(
|
|
27928
27929
|
s,
|
|
@@ -28015,7 +28016,7 @@ const J0 = ({ widgets: e, isLoading: n }) => {
|
|
|
28015
28016
|
}
|
|
28016
28017
|
),
|
|
28017
28018
|
/* @__PURE__ */ t(
|
|
28018
|
-
|
|
28019
|
+
ce,
|
|
28019
28020
|
{
|
|
28020
28021
|
ariaLabelClose: o.close_drawer_aria,
|
|
28021
28022
|
isOpen: y,
|
|
@@ -28025,7 +28026,7 @@ const J0 = ({ widgets: e, isLoading: n }) => {
|
|
|
28025
28026
|
}
|
|
28026
28027
|
),
|
|
28027
28028
|
/* @__PURE__ */ t(
|
|
28028
|
-
|
|
28029
|
+
ce,
|
|
28029
28030
|
{
|
|
28030
28031
|
ariaLabelClose: o.close_drawer_aria,
|
|
28031
28032
|
isOpen: !!v,
|
|
@@ -28036,7 +28037,7 @@ const J0 = ({ widgets: e, isLoading: n }) => {
|
|
|
28036
28037
|
)
|
|
28037
28038
|
] });
|
|
28038
28039
|
}, Db = x(Nb), Rb = ({ onBackClick: e, sx: n = {} }) => {
|
|
28039
|
-
const { visibleAccounts: i } = Se(), { spending: a } = I(), { isCopyLoaded: o, isInitialized: r, setDisplayedDate: s, setSelectedAccounts: c } =
|
|
28040
|
+
const { visibleAccounts: i } = Se(), { spending: a } = I(), { isCopyLoaded: o, isInitialized: r, setDisplayedDate: s, setSelectedAccounts: c } = le(), { onEvent: d } = X(), [_, u] = h.useState(!1);
|
|
28040
28041
|
h.useEffect(() => {
|
|
28041
28042
|
c(i);
|
|
28042
28043
|
}, [i]), h.useEffect(() => {
|
|
@@ -28128,7 +28129,7 @@ export {
|
|
|
28128
28129
|
j1 as DeviceTab,
|
|
28129
28130
|
Ge as Dialog,
|
|
28130
28131
|
Ys as Donut,
|
|
28131
|
-
|
|
28132
|
+
ce as Drawer,
|
|
28132
28133
|
Pn as EmptyState,
|
|
28133
28134
|
lu as ErrorBoundary,
|
|
28134
28135
|
Os as ErrorStatuses,
|
|
@@ -28300,7 +28301,7 @@ export {
|
|
|
28300
28301
|
Uf as useGetMergeableAccounts,
|
|
28301
28302
|
I as useGlobalCopyStore,
|
|
28302
28303
|
ai as useGlobalStore,
|
|
28303
|
-
|
|
28304
|
+
le as useGlobalUiStore,
|
|
28304
28305
|
rt as useGoalStore,
|
|
28305
28306
|
_o as useHelpStore,
|
|
28306
28307
|
Fn as useHoldingStore,
|
|
@@ -28312,7 +28313,7 @@ export {
|
|
|
28312
28313
|
B4 as usePrevious,
|
|
28313
28314
|
Ze as useRecurringTransactionsStore,
|
|
28314
28315
|
Ee as useScreenSize,
|
|
28315
|
-
|
|
28316
|
+
mt as useSettingsStore,
|
|
28316
28317
|
Oe as useTransactionStore,
|
|
28317
28318
|
vt as useTransactionsUiStore,
|
|
28318
28319
|
Us as useTrendsStore,
|