@mx-cartographer/experiences 6.24.1-alpha.sms1 → 6.24.2
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/dist/index.es.js
CHANGED
|
@@ -1300,7 +1300,7 @@ const xa = (e, n) => e.reduce((i, a) => (i[a.guid] = n?.includes(a.guid), i), {}
|
|
|
1300
1300
|
if (!n)
|
|
1301
1301
|
throw new Error(`${e}() must be used within the GlobalDataContext`);
|
|
1302
1302
|
return n;
|
|
1303
|
-
},
|
|
1303
|
+
}, Ce = () => et("useAccountStore").globalStore.accountStore, Pt = () => et("useAppConfig").globalStore.appDataStore.appConfig, lo = () => et("useAnalyticsStore").globalStore.analyticsStore, ht = () => et("useBudgetsStore").globalStore.budgetsStore, uo = () => et("useCashflowStore").globalStore.cashflowStore, Ve = () => et("useCategoryStore").globalStore.categoryStore, zs = () => et("useConnectStore").globalStore.connectStore, _a = () => et("useDebtsStore").globalStore.debtsStore, oi = () => et("useGlobalStore").globalStore, se = () => et("useGlobalUiStore").globalStore.globalUiStore, x = () => et("globalCopyStore").globalStore.copyStore.copy, ct = () => et("useGoalStore").globalStore.goalStore, _o = () => et("useHelpStore").globalStore.helpStore, Fn = () => et("useHoldingStore").globalStore.holdingStore, Ru = () => et("useMerchantStore").globalStore.merchantStore, js = () => et("useNetWorthStore").globalStore.netWorthStore, $s = () => et("useNotificationStore").globalStore.notificationStore, tt = () => et("useRecurringTransactionsStore").globalStore.recurringTransactionsStore, pt = () => et("useSettingsStore").globalStore.settingsStore, Oe = () => et("useTransactionStore").globalStore.transactionStore, Xs = () => et("useTrendsStore").globalStore.trendsStore, wt = () => et("useUserStore").globalStore.userStore, X = () => ({ onEvent: et().onEvent }), G4 = () => ({ onPageView: et().onPageView }), Lu = (e = "useWidgetContainerContext") => {
|
|
1304
1304
|
const n = g.useContext(Ys);
|
|
1305
1305
|
if (!n)
|
|
1306
1306
|
throw new Error(`${e}() must be used within the WidgetContainerContext`);
|
|
@@ -2547,7 +2547,7 @@ const Xu = ({
|
|
|
2547
2547
|
type: "line",
|
|
2548
2548
|
highlightScope: { highlight: "item" },
|
|
2549
2549
|
valueFormatter: (Ke) => P(Ke, "0,0")
|
|
2550
|
-
})),
|
|
2550
|
+
})), be = r.map((z, Ne) => ({
|
|
2551
2551
|
id: `unstacked-${Ne}`,
|
|
2552
2552
|
guid: z.category_guid,
|
|
2553
2553
|
top_level_guid: z.top_level_category_guid,
|
|
@@ -2557,12 +2557,12 @@ const Xu = ({
|
|
|
2557
2557
|
label: z.category_name,
|
|
2558
2558
|
type: "line",
|
|
2559
2559
|
valueFormatter: (Ke) => P(Ke, "0,0")
|
|
2560
|
-
})), ke = [...ye, ...
|
|
2560
|
+
})), ke = [...ye, ...be], Re = [
|
|
2561
2561
|
...ye.map(({ guid: z, top_level_guid: Ne }) => ({
|
|
2562
2562
|
guid: z,
|
|
2563
2563
|
top_level_guid: Ne
|
|
2564
2564
|
})),
|
|
2565
|
-
...
|
|
2565
|
+
...be.map(({ guid: z, top_level_guid: Ne }) => ({
|
|
2566
2566
|
guid: z,
|
|
2567
2567
|
top_level_guid: Ne
|
|
2568
2568
|
}))
|
|
@@ -3392,7 +3392,7 @@ const ha = ({
|
|
|
3392
3392
|
dateRangeEditTitle: L.date_range_picker.edit_title,
|
|
3393
3393
|
dateRangeNextAria: L.date_range_picker.next_aria,
|
|
3394
3394
|
dateRangePreviousAria: L.date_range_picker.previous_aria
|
|
3395
|
-
},
|
|
3395
|
+
}, be = o ? o.start : O.start, ke = o ? o.end : O.end, Re = n?.length > 1;
|
|
3396
3396
|
return /* @__PURE__ */ l(
|
|
3397
3397
|
bt,
|
|
3398
3398
|
{
|
|
@@ -3414,7 +3414,7 @@ const ha = ({
|
|
|
3414
3414
|
{
|
|
3415
3415
|
calendarActions: i,
|
|
3416
3416
|
copy: ye,
|
|
3417
|
-
range: [
|
|
3417
|
+
range: [be, ke],
|
|
3418
3418
|
shouldShrinkToIcon: !1,
|
|
3419
3419
|
variant: r
|
|
3420
3420
|
}
|
|
@@ -3489,7 +3489,7 @@ const ha = ({
|
|
|
3489
3489
|
{
|
|
3490
3490
|
calendarActions: i,
|
|
3491
3491
|
copy: ye,
|
|
3492
|
-
range: [
|
|
3492
|
+
range: [be, ke],
|
|
3493
3493
|
shouldShrinkToIcon: !1,
|
|
3494
3494
|
variant: r
|
|
3495
3495
|
}
|
|
@@ -3541,7 +3541,7 @@ const cr = "connect_widget", lr = "connections_widget", m_ = ({
|
|
|
3541
3541
|
title: a
|
|
3542
3542
|
}) => {
|
|
3543
3543
|
let o;
|
|
3544
|
-
const { refreshAccounts: r } =
|
|
3544
|
+
const { refreshAccounts: r } = Ce(), { loadWidget: s } = zs(), { connect: c } = x(), [d, _] = g.useState(!1), [u, h] = g.useState(!1), {
|
|
3545
3545
|
palette: { mode: m }
|
|
3546
3546
|
} = pe();
|
|
3547
3547
|
return g.useEffect(() => (i ? (_(!0), s({ mode: m, ...e }).then((p) => {
|
|
@@ -4454,7 +4454,7 @@ const ri = () => {
|
|
|
4454
4454
|
/* @__PURE__ */ t(je, { amount: e, bold: !0, sx: { fontSize: 12 } })
|
|
4455
4455
|
] });
|
|
4456
4456
|
}, Co = T(v_), N_ = ({ onAddIncomeClick: e }) => {
|
|
4457
|
-
const n = pe(), { availableWidth: i } = Sn(), { isMobile: a } = me(), { visibleCashAccounts: o, visibleCashBalance: r } =
|
|
4457
|
+
const n = pe(), { availableWidth: i } = Sn(), { isMobile: a } = me(), { visibleCashAccounts: o, visibleCashBalance: r } = Ce(), { selectedAccountGuids: s } = se(), { cashflow: c } = x(), { userProfile: d } = wt(), {
|
|
4458
4458
|
daysUntilNextIncome: _,
|
|
4459
4459
|
expensesTilNextIncome: u,
|
|
4460
4460
|
selectedCashAccounts: h,
|
|
@@ -4621,28 +4621,28 @@ const ri = () => {
|
|
|
4621
4621
|
transaction: void 0
|
|
4622
4622
|
}, s = n.start, c = n.end;
|
|
4623
4623
|
switch (e.recurrence_type) {
|
|
4624
|
-
case
|
|
4624
|
+
case fe.EveryWeek:
|
|
4625
4625
|
i.push(...M_(r, s, c));
|
|
4626
4626
|
break;
|
|
4627
|
-
case
|
|
4627
|
+
case fe.EveryOtherWeek:
|
|
4628
4628
|
i.push(...k_(r, s, c));
|
|
4629
4629
|
break;
|
|
4630
|
-
case
|
|
4630
|
+
case fe.TwiceAMonth:
|
|
4631
4631
|
i.push(...G_(r, s));
|
|
4632
4632
|
break;
|
|
4633
|
-
case
|
|
4633
|
+
case fe.EveryMonth:
|
|
4634
4634
|
i.push(...B_(r, s));
|
|
4635
4635
|
break;
|
|
4636
|
-
case
|
|
4636
|
+
case fe.EveryOtherMonth:
|
|
4637
4637
|
i.push(...H_(r, s, c));
|
|
4638
4638
|
break;
|
|
4639
|
-
case
|
|
4639
|
+
case fe.EveryQuarter:
|
|
4640
4640
|
i.push(...P_(r, s, c));
|
|
4641
4641
|
break;
|
|
4642
|
-
case
|
|
4642
|
+
case fe.EveryOtherQuarter:
|
|
4643
4643
|
i.push(...F_(r, s, c));
|
|
4644
4644
|
break;
|
|
4645
|
-
case
|
|
4645
|
+
case fe.EveryYear:
|
|
4646
4646
|
i.push(...W_(r, s, c));
|
|
4647
4647
|
break;
|
|
4648
4648
|
}
|
|
@@ -4734,34 +4734,34 @@ const ri = () => {
|
|
|
4734
4734
|
const a = Ki(Se(), n.recurrence_day), o = vs(Se(), n.recurrence_day), r = bi(n.recurrence_day), s = n.second_recurrence_day ? bi(n.second_recurrence_day) : "";
|
|
4735
4735
|
let c = i ? S(e.monthly_ordinal, r) : e.monthly;
|
|
4736
4736
|
switch (n.recurrence_type) {
|
|
4737
|
-
case
|
|
4737
|
+
case fe.EveryQuarter:
|
|
4738
4738
|
c = i ? S(e.quarterly_ordinal, r) : e.quarterly;
|
|
4739
4739
|
break;
|
|
4740
|
-
case
|
|
4740
|
+
case fe.EveryWeek:
|
|
4741
4741
|
c = i ? S(
|
|
4742
4742
|
e.weekly_ordinal,
|
|
4743
4743
|
oe(a, ee.DAY_OF_WEEK)
|
|
4744
4744
|
) : e.weekly;
|
|
4745
4745
|
break;
|
|
4746
|
-
case
|
|
4746
|
+
case fe.EveryYear:
|
|
4747
4747
|
c = i ? S(
|
|
4748
4748
|
e.anually_ordinal,
|
|
4749
4749
|
oe(o, ee.MONTH_DAY)
|
|
4750
4750
|
) : e.anually;
|
|
4751
4751
|
break;
|
|
4752
|
-
case
|
|
4752
|
+
case fe.EveryOtherWeek:
|
|
4753
4753
|
c = i ? S(
|
|
4754
4754
|
e.every_other_week_ordinal,
|
|
4755
4755
|
oe(a, ee.DAY_OF_WEEK)
|
|
4756
4756
|
) : e.every_other_week;
|
|
4757
4757
|
break;
|
|
4758
|
-
case
|
|
4758
|
+
case fe.EveryOtherMonth:
|
|
4759
4759
|
c = i ? S(e.every_other_month_ordinal, r) : e.every_other_month;
|
|
4760
4760
|
break;
|
|
4761
|
-
case
|
|
4761
|
+
case fe.EveryOtherQuarter:
|
|
4762
4762
|
c = i ? S(e.every_other_quarter_ordinal, r) : e.every_other_quarter;
|
|
4763
4763
|
break;
|
|
4764
|
-
case
|
|
4764
|
+
case fe.TwiceAMonth:
|
|
4765
4765
|
c = i ? S(e.twice_a_month_ordinal, r, s) : e.twice_a_month;
|
|
4766
4766
|
break;
|
|
4767
4767
|
}
|
|
@@ -4769,25 +4769,25 @@ const ri = () => {
|
|
|
4769
4769
|
}, Ua = (e, n) => {
|
|
4770
4770
|
let i = n;
|
|
4771
4771
|
switch (e) {
|
|
4772
|
-
case
|
|
4772
|
+
case fe.EveryWeek:
|
|
4773
4773
|
i = so(n);
|
|
4774
4774
|
break;
|
|
4775
|
-
case
|
|
4775
|
+
case fe.EveryOtherWeek:
|
|
4776
4776
|
i = yu(n);
|
|
4777
4777
|
break;
|
|
4778
|
-
case
|
|
4778
|
+
case fe.EveryMonth:
|
|
4779
4779
|
i = Eu(n);
|
|
4780
4780
|
break;
|
|
4781
|
-
case
|
|
4781
|
+
case fe.EveryOtherMonth:
|
|
4782
4782
|
i = Au(n);
|
|
4783
4783
|
break;
|
|
4784
|
-
case
|
|
4784
|
+
case fe.EveryQuarter:
|
|
4785
4785
|
i = Vs(n);
|
|
4786
4786
|
break;
|
|
4787
|
-
case
|
|
4787
|
+
case fe.EveryOtherQuarter:
|
|
4788
4788
|
i = Su(n);
|
|
4789
4789
|
break;
|
|
4790
|
-
case
|
|
4790
|
+
case fe.EveryYear:
|
|
4791
4791
|
i = Tu(n);
|
|
4792
4792
|
break;
|
|
4793
4793
|
}
|
|
@@ -5300,7 +5300,7 @@ const ac = (e, n) => {
|
|
|
5300
5300
|
const i = e.toLowerCase().split(" "), a = n?.toString().toLowerCase() ?? "";
|
|
5301
5301
|
return i.every((o) => a.indexOf(o) > -1);
|
|
5302
5302
|
};
|
|
5303
|
-
var oh = /* @__PURE__ */ ((e) => (e[e.UNKNOWN = 0] = "UNKNOWN", e[e.CORRECT = 1] = "CORRECT", e[e.INCORRECT = 2] = "INCORRECT", e))(oh || {}), rh = /* @__PURE__ */ ((e) => (e.Missed = "Missed", e.Paid = "Paid", e.Upcoming = "Upcoming expense", e.Income = "Income", e))(rh || {}), sh = /* @__PURE__ */ ((e) => (e[e.Unknown = 0] = "Unknown", e[e.Subscription = 1] = "Subscription", e[e.Bill = 2] = "Bill", e))(sh || {}), Y = /* @__PURE__ */ ((e) => (e[e.DEBT_TRACK = 1] = "DEBT_TRACK", e[e.SAVINGS_TRACK = 2] = "SAVINGS_TRACK", e[e.RETIREMENT_TRACK = 3] = "RETIREMENT_TRACK", e[e.EMERGENCY_FUND_TRACK = 4] = "EMERGENCY_FUND_TRACK", e))(Y || {}), Ka = /* @__PURE__ */ ((e) => (e[e.SAVE_AMOUNT = 1] = "SAVE_AMOUNT", e[e.KEEP_BALANCE_BELOW = 2] = "KEEP_BALANCE_BELOW", e[e.KEEP_BALANCE_ABOVE = 3] = "KEEP_BALANCE_ABOVE", e[e.ACTION = 4] = "ACTION", e))(Ka || {}), Rt = /* @__PURE__ */ ((e) => (e[e.AUTOMOBILE = 1] = "AUTOMOBILE", e[e.COLLEGE = 2] = "COLLEGE", e[e.HOUSE = 3] = "HOUSE", e[e.RECREATIONAL_VEHICLE = 4] = "RECREATIONAL_VEHICLE", e[e.VACATION = 5] = "VACATION", e[e.ELECTRONIC = 6] = "ELECTRONIC", e[e.OTHER = 7] = "OTHER", e[e.RETIREMENT = 8] = "RETIREMENT", e[e.EMERGENCY_FUND = 9] = "EMERGENCY_FUND", e[e.SETUP_BUDGETS = 10] = "SETUP_BUDGETS", e[e.START_MONEY_MANAGEMENT = 11] = "START_MONEY_MANAGEMENT", e[e.CREDIT_CARD = 12] = "CREDIT_CARD", e[e.LINE_OF_CREDIT = 13] = "LINE_OF_CREDIT", e[e.LOANS = 14] = "LOANS", e))(Rt || {}), Nt = /* @__PURE__ */ ((e) => (e.Accounts = "accounts", e.Budgets = "budgets", e.Insights = "insights", e.Personal = "personal", e))(Nt || {}), at = /* @__PURE__ */ ((e) => (e[e.DebtPaymentReminder = 3] = "DebtPaymentReminder", e[e.AccountBalanceLow = 6] = "AccountBalanceLow", e[e.AccountDepositLarge = 7] = "AccountDepositLarge", e[e.TransactionExpenseLarge = 8] = "TransactionExpenseLarge", e[e.TransactionFeeCharge = 9] = "TransactionFeeCharge", e[e.InternationalTransaction = 23] = "InternationalTransaction", e[e.AccountDepositLargePosted = 48] = "AccountDepositLargePosted", e))(at || {}), Wn = /* @__PURE__ */ ((e) => (e[e.BudgetExceeded = 1] = "BudgetExceeded", e[e.BudgetOffTarget = 2] = "BudgetOffTarget", e))(Wn || {}), $e = /* @__PURE__ */ ((e) => (e[e.AccountBalanceLow = 33] = "AccountBalanceLow", e[e.BillAmountNotStandard = 49] = "BillAmountNotStandard", e[e.CategorySpending = 50] = "CategorySpending", e[e.CreditCardCloseToLimit = 51] = "CreditCardCloseToLimit", e[e.DebtPaymentReminder = 37] = "DebtPaymentReminder", e[e.DuplicatePayment = 42] = "DuplicatePayment", e[e.MonthlySpendComparison = 53] = "MonthlySpendComparison", e[e.MonthlySpendToIncomeComparison = 54] = "MonthlySpendToIncomeComparison", e[e.MonthlySubscriptionAggregate = 55] = "MonthlySubscriptionAggregate", e[e.MonthlyTopMerchantSpending = 56] = "MonthlyTopMerchantSpending", e[e.SaveAnExtra100Dollars = 57] = "SaveAnExtra100Dollars", e[e.SavingsOpportunity = 58] = "SavingsOpportunity", e[e.SetUpDirectDeposit = 59] = "SetUpDirectDeposit", e[e.SwitchDirectDeposit = 60] = "SwitchDirectDeposit", e[e.UncategorizedTransactions = 61] = "UncategorizedTransactions", e[e.UnifiedDeposit = 62] = "UnifiedDeposit", e[e.UpcomingBill = 63] = "UpcomingBill", e[e.WeekendSpendingSummary = 64] = "WeekendSpendingSummary", e[e.WeeklyNewMerchants = 65] = "WeeklyNewMerchants", e[e.DiscoveredAccounts = 52] = "DiscoveredAccounts", e[e.TransactionExpenseLarge = 39] = "TransactionExpenseLarge", e[e.PromotionalCampaignMessages = 67] = "PromotionalCampaignMessages", e[e.TransparentOverdraft = 68] = "TransparentOverdraft", e))($e || {}), Yt = /* @__PURE__ */ ((e) => (e[e.CREDIT = 1] = "CREDIT", e[e.DEBIT = 2] = "DEBIT", e))(Yt || {}), fo = /* @__PURE__ */ ((e) => (e[e.POSTED = 1] = "POSTED", e[e.PENDING = 2] = "PENDING", e))(fo || {}), ch = /* @__PURE__ */ ((e) => (e.Desktop = "Desktop", e.Mobile = "Mobile", e))(ch || {}),
|
|
5303
|
+
var oh = /* @__PURE__ */ ((e) => (e[e.UNKNOWN = 0] = "UNKNOWN", e[e.CORRECT = 1] = "CORRECT", e[e.INCORRECT = 2] = "INCORRECT", e))(oh || {}), rh = /* @__PURE__ */ ((e) => (e.Missed = "Missed", e.Paid = "Paid", e.Upcoming = "Upcoming expense", e.Income = "Income", e))(rh || {}), sh = /* @__PURE__ */ ((e) => (e[e.Unknown = 0] = "Unknown", e[e.Subscription = 1] = "Subscription", e[e.Bill = 2] = "Bill", e))(sh || {}), Y = /* @__PURE__ */ ((e) => (e[e.DEBT_TRACK = 1] = "DEBT_TRACK", e[e.SAVINGS_TRACK = 2] = "SAVINGS_TRACK", e[e.RETIREMENT_TRACK = 3] = "RETIREMENT_TRACK", e[e.EMERGENCY_FUND_TRACK = 4] = "EMERGENCY_FUND_TRACK", e))(Y || {}), Ka = /* @__PURE__ */ ((e) => (e[e.SAVE_AMOUNT = 1] = "SAVE_AMOUNT", e[e.KEEP_BALANCE_BELOW = 2] = "KEEP_BALANCE_BELOW", e[e.KEEP_BALANCE_ABOVE = 3] = "KEEP_BALANCE_ABOVE", e[e.ACTION = 4] = "ACTION", e))(Ka || {}), Rt = /* @__PURE__ */ ((e) => (e[e.AUTOMOBILE = 1] = "AUTOMOBILE", e[e.COLLEGE = 2] = "COLLEGE", e[e.HOUSE = 3] = "HOUSE", e[e.RECREATIONAL_VEHICLE = 4] = "RECREATIONAL_VEHICLE", e[e.VACATION = 5] = "VACATION", e[e.ELECTRONIC = 6] = "ELECTRONIC", e[e.OTHER = 7] = "OTHER", e[e.RETIREMENT = 8] = "RETIREMENT", e[e.EMERGENCY_FUND = 9] = "EMERGENCY_FUND", e[e.SETUP_BUDGETS = 10] = "SETUP_BUDGETS", e[e.START_MONEY_MANAGEMENT = 11] = "START_MONEY_MANAGEMENT", e[e.CREDIT_CARD = 12] = "CREDIT_CARD", e[e.LINE_OF_CREDIT = 13] = "LINE_OF_CREDIT", e[e.LOANS = 14] = "LOANS", e))(Rt || {}), Nt = /* @__PURE__ */ ((e) => (e.Accounts = "accounts", e.Budgets = "budgets", e.Insights = "insights", e.Personal = "personal", e))(Nt || {}), at = /* @__PURE__ */ ((e) => (e[e.DebtPaymentReminder = 3] = "DebtPaymentReminder", e[e.AccountBalanceLow = 6] = "AccountBalanceLow", e[e.AccountDepositLarge = 7] = "AccountDepositLarge", e[e.TransactionExpenseLarge = 8] = "TransactionExpenseLarge", e[e.TransactionFeeCharge = 9] = "TransactionFeeCharge", e[e.InternationalTransaction = 23] = "InternationalTransaction", e[e.AccountDepositLargePosted = 48] = "AccountDepositLargePosted", e))(at || {}), Wn = /* @__PURE__ */ ((e) => (e[e.BudgetExceeded = 1] = "BudgetExceeded", e[e.BudgetOffTarget = 2] = "BudgetOffTarget", e))(Wn || {}), $e = /* @__PURE__ */ ((e) => (e[e.AccountBalanceLow = 33] = "AccountBalanceLow", e[e.BillAmountNotStandard = 49] = "BillAmountNotStandard", e[e.CategorySpending = 50] = "CategorySpending", e[e.CreditCardCloseToLimit = 51] = "CreditCardCloseToLimit", e[e.DebtPaymentReminder = 37] = "DebtPaymentReminder", e[e.DuplicatePayment = 42] = "DuplicatePayment", e[e.MonthlySpendComparison = 53] = "MonthlySpendComparison", e[e.MonthlySpendToIncomeComparison = 54] = "MonthlySpendToIncomeComparison", e[e.MonthlySubscriptionAggregate = 55] = "MonthlySubscriptionAggregate", e[e.MonthlyTopMerchantSpending = 56] = "MonthlyTopMerchantSpending", e[e.SaveAnExtra100Dollars = 57] = "SaveAnExtra100Dollars", e[e.SavingsOpportunity = 58] = "SavingsOpportunity", e[e.SetUpDirectDeposit = 59] = "SetUpDirectDeposit", e[e.SwitchDirectDeposit = 60] = "SwitchDirectDeposit", e[e.UncategorizedTransactions = 61] = "UncategorizedTransactions", e[e.UnifiedDeposit = 62] = "UnifiedDeposit", e[e.UpcomingBill = 63] = "UpcomingBill", e[e.WeekendSpendingSummary = 64] = "WeekendSpendingSummary", e[e.WeeklyNewMerchants = 65] = "WeeklyNewMerchants", e[e.DiscoveredAccounts = 52] = "DiscoveredAccounts", e[e.TransactionExpenseLarge = 39] = "TransactionExpenseLarge", e[e.PromotionalCampaignMessages = 67] = "PromotionalCampaignMessages", e[e.TransparentOverdraft = 68] = "TransparentOverdraft", e))($e || {}), Yt = /* @__PURE__ */ ((e) => (e[e.CREDIT = 1] = "CREDIT", e[e.DEBIT = 2] = "DEBIT", e))(Yt || {}), fo = /* @__PURE__ */ ((e) => (e[e.POSTED = 1] = "POSTED", e[e.PENDING = 2] = "PENDING", e))(fo || {}), ch = /* @__PURE__ */ ((e) => (e.Desktop = "Desktop", e.Mobile = "Mobile", e))(ch || {}), fe = /* @__PURE__ */ ((e) => (e[e.Unknown = 0] = "Unknown", e[e.EveryWeek = 1] = "EveryWeek", e[e.EveryOtherWeek = 2] = "EveryOtherWeek", e[e.EveryMonth = 3] = "EveryMonth", e[e.EveryOtherMonth = 4] = "EveryOtherMonth", e[e.EveryQuarter = 5] = "EveryQuarter", e[e.EveryOtherQuarter = 6] = "EveryOtherQuarter", e[e.EveryYear = 7] = "EveryYear", e[e.TwiceAMonth = 8] = "TwiceAMonth", e))(fe || {}), Xe = /* @__PURE__ */ ((e) => (e[e.Paid = 0] = "Paid", e[e.Missed = 1] = "Missed", e[e.Upcoming = 2] = "Upcoming", e))(Xe || {}), zt = /* @__PURE__ */ ((e) => (e[e.Expense = 0] = "Expense", e[e.Income = 1] = "Income", e))(zt || {}), nn = /* @__PURE__ */ ((e) => (e[e.Unknown = 0] = "Unknown", e[e.Subscription = 1] = "Subscription", e[e.Bill = 2] = "Bill", e[e.Income = 3] = "Income", e[e.Transfer = 4] = "Transfer", e))(nn || {});
|
|
5304
5304
|
const oc = {
|
|
5305
5305
|
account_guid: "",
|
|
5306
5306
|
amount: 0,
|
|
@@ -7520,7 +7520,7 @@ const cc = ({ transaction: e }) => {
|
|
|
7520
7520
|
}
|
|
7521
7521
|
) : /* @__PURE__ */ t(le, {});
|
|
7522
7522
|
}, Tg = T(Sg), xg = () => {
|
|
7523
|
-
const { visibleAccounts: e } =
|
|
7523
|
+
const { visibleAccounts: e } = Ce(), { common: n, transactions: i } = x(), { manualTransaction: a, setIsAmountValid: o, updateManualTransaction: r } = vt(), [s, c] = g.useState(""), [d, _] = g.useState(""), u = g.useMemo(
|
|
7524
7524
|
() => e.filter((y) => y.is_manual),
|
|
7525
7525
|
[e]
|
|
7526
7526
|
).map((y) => ({
|
|
@@ -7664,7 +7664,7 @@ const cc = ({ transaction: e }) => {
|
|
|
7664
7664
|
showInsights: i = !1,
|
|
7665
7665
|
sx: a = {}
|
|
7666
7666
|
}) => {
|
|
7667
|
-
const { visibleAccounts: o, refreshAccounts: r } =
|
|
7667
|
+
const { visibleAccounts: o, refreshAccounts: r } = Ce(), { is_mobile_webview: s } = Pt(), { setSearchValue: c } = un(), { onEvent: d } = X(), { common: _, transactions: u } = x(), {
|
|
7668
7668
|
displayedDateRange: h,
|
|
7669
7669
|
isCopyLoaded: m,
|
|
7670
7670
|
isInitialized: p,
|
|
@@ -7685,7 +7685,7 @@ const cc = ({ transaction: e }) => {
|
|
|
7685
7685
|
isAmountValid: te,
|
|
7686
7686
|
searchValue: ue,
|
|
7687
7687
|
setSearchValue: ye,
|
|
7688
|
-
setShowInsights:
|
|
7688
|
+
setShowInsights: be,
|
|
7689
7689
|
updateManualTransaction: ke
|
|
7690
7690
|
} = vt(), { userProfile: Re } = wt(), [he, ge] = g.useState(""), [Ee, B] = g.useState(""), [ne, Me] = g.useState(!1), [qe, z] = g.useState(!1), [Ne, Ke] = g.useState(!1);
|
|
7691
7691
|
g.useEffect(() => {
|
|
@@ -7702,7 +7702,7 @@ const cc = ({ transaction: e }) => {
|
|
|
7702
7702
|
dateRange: { start: h.start, end: h.end }
|
|
7703
7703
|
}), D(h.start).finally());
|
|
7704
7704
|
}, [Ne, h, f]), g.useEffect(() => {
|
|
7705
|
-
|
|
7705
|
+
be(i);
|
|
7706
7706
|
}, [i]);
|
|
7707
7707
|
const Gt = g.useMemo(
|
|
7708
7708
|
() => o.filter((lt) => lt.is_manual),
|
|
@@ -7879,14 +7879,14 @@ const cc = ({ transaction: e }) => {
|
|
|
7879
7879
|
}) => {
|
|
7880
7880
|
const { recurring: s } = x(), c = g.useMemo(
|
|
7881
7881
|
() => [
|
|
7882
|
-
{ id:
|
|
7883
|
-
{ id:
|
|
7884
|
-
{ id:
|
|
7885
|
-
{ id:
|
|
7886
|
-
{ id:
|
|
7887
|
-
{ id:
|
|
7888
|
-
{ id:
|
|
7889
|
-
{ id:
|
|
7882
|
+
{ id: fe.EveryWeek, label: s.frequency_every_week },
|
|
7883
|
+
{ id: fe.EveryOtherWeek, label: s.frequency_every_other_week },
|
|
7884
|
+
{ id: fe.TwiceAMonth, label: s.frequency_twice_a_month },
|
|
7885
|
+
{ id: fe.EveryMonth, label: s.frequency_every_month },
|
|
7886
|
+
{ id: fe.EveryOtherMonth, label: s.frequency_every_other_month },
|
|
7887
|
+
{ id: fe.EveryQuarter, label: s.frequency_every_quarter },
|
|
7888
|
+
{ id: fe.EveryOtherQuarter, label: s.frequency_every_other_quarter },
|
|
7889
|
+
{ id: fe.EveryYear, label: s.frequency_every_year }
|
|
7890
7890
|
],
|
|
7891
7891
|
[s]
|
|
7892
7892
|
), d = [
|
|
@@ -7902,7 +7902,7 @@ const cc = ({ transaction: e }) => {
|
|
|
7902
7902
|
label: bi(y + 1)
|
|
7903
7903
|
}));
|
|
7904
7904
|
_[30].label += ` (${s.last_day_of_month})`;
|
|
7905
|
-
const u = _.slice(0, 15), h = _.slice(14), m = e ===
|
|
7905
|
+
const u = _.slice(0, 15), h = _.slice(14), m = e === fe.EveryWeek || e === fe.EveryOtherWeek, p = e === fe.TwiceAMonth || e === fe.EveryMonth || e === fe.EveryOtherMonth || e === fe.EveryQuarter || e === fe.EveryOtherQuarter, f = vs(Se(), n), E = (y) => {
|
|
7906
7906
|
y && o(Pd(y));
|
|
7907
7907
|
};
|
|
7908
7908
|
return /* @__PURE__ */ l(b, { gap: 24, sx: { m: 24 }, children: [
|
|
@@ -7927,13 +7927,13 @@ const cc = ({ transaction: e }) => {
|
|
|
7927
7927
|
p && /* @__PURE__ */ t(
|
|
7928
7928
|
Gi,
|
|
7929
7929
|
{
|
|
7930
|
-
label: e ===
|
|
7930
|
+
label: e === fe.TwiceAMonth ? s.first_day_of_the_month : s.day_of_the_month,
|
|
7931
7931
|
onChange: o,
|
|
7932
|
-
options: e ===
|
|
7932
|
+
options: e === fe.TwiceAMonth ? u : _,
|
|
7933
7933
|
value: n
|
|
7934
7934
|
}
|
|
7935
7935
|
),
|
|
7936
|
-
e ===
|
|
7936
|
+
e === fe.TwiceAMonth && /* @__PURE__ */ t(
|
|
7937
7937
|
Gi,
|
|
7938
7938
|
{
|
|
7939
7939
|
label: s.second_day_of_the_month,
|
|
@@ -7942,7 +7942,7 @@ const cc = ({ transaction: e }) => {
|
|
|
7942
7942
|
value: i || 0
|
|
7943
7943
|
}
|
|
7944
7944
|
),
|
|
7945
|
-
e ===
|
|
7945
|
+
e === fe.EveryYear && /* @__PURE__ */ t(Ti, { dateAdapter: ni, children: /* @__PURE__ */ t(
|
|
7946
7946
|
Qa,
|
|
7947
7947
|
{
|
|
7948
7948
|
disablePast: !0,
|
|
@@ -8249,7 +8249,7 @@ const cc = ({ transaction: e }) => {
|
|
|
8249
8249
|
label: n,
|
|
8250
8250
|
onAddRecurringTransaction: i = () => null
|
|
8251
8251
|
}) => {
|
|
8252
|
-
const { recurring: a } = x(), { filter: o, setFilter: r, transactions: s } = Oe(), { addRepeatingTransaction: c } = tt(), { user: d } = wt(), [_, u] = g.useState(!1), [h, m] = g.useState(""), [p, f] = g.useState(
|
|
8252
|
+
const { recurring: a } = x(), { filter: o, setFilter: r, transactions: s } = Oe(), { addRepeatingTransaction: c } = tt(), { user: d } = wt(), [_, u] = g.useState(!1), [h, m] = g.useState(""), [p, f] = g.useState(fe.EveryMonth), [E, y] = g.useState(1), [A, I] = g.useState(15), v = g.useMemo(
|
|
8253
8253
|
() => s.find((G) => G.guid === h),
|
|
8254
8254
|
[h, s]
|
|
8255
8255
|
), w = () => {
|
|
@@ -8344,7 +8344,7 @@ const cc = ({ transaction: e }) => {
|
|
|
8344
8344
|
};
|
|
8345
8345
|
return /* @__PURE__ */ l(ie, { sx: { bgcolor: "background.paper" }, children: [
|
|
8346
8346
|
n.filter(
|
|
8347
|
-
(r) => r.repeating_transaction_type !== nn.Income && (r.transactions.length > 0 || r.recurrence_type ===
|
|
8347
|
+
(r) => r.repeating_transaction_type !== nn.Income && (r.transactions.length > 0 || r.recurrence_type === fe.EveryYear)
|
|
8348
8348
|
).map((r, s) => /* @__PURE__ */ l(g.Fragment, { children: [
|
|
8349
8349
|
/* @__PURE__ */ t(mc, { onClick: a, repeatingTransaction: r }),
|
|
8350
8350
|
/* @__PURE__ */ t(F, { variant: s < n.length - 1 ? "inset" : "fullWidth" })
|
|
@@ -8361,7 +8361,7 @@ const cc = ({ transaction: e }) => {
|
|
|
8361
8361
|
};
|
|
8362
8362
|
return /* @__PURE__ */ l(ie, { sx: { bgcolor: "background.paper" }, children: [
|
|
8363
8363
|
n.filter(
|
|
8364
|
-
(r) => r.repeating_transaction_type === nn.Income && (r.transactions.length > 0 || r.recurrence_type ===
|
|
8364
|
+
(r) => r.repeating_transaction_type === nn.Income && (r.transactions.length > 0 || r.recurrence_type === fe.EveryYear)
|
|
8365
8365
|
).map((r, s) => /* @__PURE__ */ l(g.Fragment, { children: [
|
|
8366
8366
|
/* @__PURE__ */ t(mc, { onClick: a, repeatingTransaction: r }),
|
|
8367
8367
|
/* @__PURE__ */ t(F, { variant: s < n.length - 1 ? "inset" : "fullWidth" })
|
|
@@ -8890,7 +8890,7 @@ const cc = ({ transaction: e }) => {
|
|
|
8890
8890
|
] }) })
|
|
8891
8891
|
] });
|
|
8892
8892
|
}), z4 = T(({ onBackClick: e, sx: n = {} }) => {
|
|
8893
|
-
const { accounts: i } =
|
|
8893
|
+
const { accounts: i } = Ce(), { recurring: a } = x(), { isCopyLoaded: o, isInitialized: r, selectedAccountGuids: s, setSelectedAccounts: c } = se(), { isDataLoaded: d, loadRepeatingTransactions: _, setDateRange: u } = tt(), { setFilter: h } = Oe(), { onEvent: m } = X(), [p, f] = g.useState(!1);
|
|
8894
8894
|
return g.useEffect(() => {
|
|
8895
8895
|
c(i);
|
|
8896
8896
|
}, [i]), g.useEffect(() => {
|
|
@@ -8956,7 +8956,7 @@ const cc = ({ transaction: e }) => {
|
|
|
8956
8956
|
] });
|
|
8957
8957
|
}), j4 = T(
|
|
8958
8958
|
({ onPrimaryCtaClick: e, sx: n }) => {
|
|
8959
|
-
const { accounts: i } =
|
|
8959
|
+
const { accounts: i } = Ce(), { recurring: a } = x(), { setFilter: o } = Oe(), { isDataLoaded: r, loadRepeatingTransactions: s } = tt(), { isCopyLoaded: c, isInitialized: d, setSelectedAccounts: _, selectedAccountGuids: u } = se();
|
|
8960
8960
|
return g.useEffect(() => {
|
|
8961
8961
|
d && _(i);
|
|
8962
8962
|
}, [d]), g.useEffect(() => {
|
|
@@ -9057,7 +9057,7 @@ const cc = ({ transaction: e }) => {
|
|
|
9057
9057
|
] });
|
|
9058
9058
|
}), $4 = T(
|
|
9059
9059
|
({ onCTAClick: e }) => {
|
|
9060
|
-
const [n, i] = g.useState(!1), { accounts: a } =
|
|
9060
|
+
const [n, i] = g.useState(!1), { accounts: a } = Ce(), [o, { width: r }] = vi(), { isCopyLoaded: s, isInitialized: c, selectedAccountGuids: d, setSelectedAccounts: _ } = se(), {
|
|
9061
9061
|
loadRepeatingTransactions: u,
|
|
9062
9062
|
upcomingRecurrences: h,
|
|
9063
9063
|
expenseTotal: m,
|
|
@@ -9099,7 +9099,7 @@ const cc = ({ transaction: e }) => {
|
|
|
9099
9099
|
maxLogos: 3,
|
|
9100
9100
|
upcomingRecurrences: h
|
|
9101
9101
|
}
|
|
9102
|
-
) : /* @__PURE__ */ t(Pg, { maxLogos: 3, upcomingRecurrences: h }) : /* @__PURE__ */ t(b, { sx: { width: O ? 64 : 104 } }),
|
|
9102
|
+
) : /* @__PURE__ */ t(Pg, { maxLogos: 3, upcomingRecurrences: h }) : /* @__PURE__ */ t(b, { sx: { width: O ? 64 : 104 } }), be = [
|
|
9103
9103
|
{
|
|
9104
9104
|
amount: f,
|
|
9105
9105
|
bgColor: "success.main",
|
|
@@ -9179,7 +9179,7 @@ const cc = ({ transaction: e }) => {
|
|
|
9179
9179
|
gap: 16,
|
|
9180
9180
|
mt: 4
|
|
9181
9181
|
},
|
|
9182
|
-
children:
|
|
9182
|
+
children: be.map((Re, he) => /* @__PURE__ */ t(
|
|
9183
9183
|
Wg,
|
|
9184
9184
|
{
|
|
9185
9185
|
amount: Re.amount,
|
|
@@ -10249,12 +10249,12 @@ const Jg = ({ recurrence: e }) => /* @__PURE__ */ l(Z, { children: [
|
|
|
10249
10249
|
transform: rotate(360deg);
|
|
10250
10250
|
}
|
|
10251
10251
|
`, gm = () => {
|
|
10252
|
-
const { addRepeatingTransaction: e, repeatingTransactions: n } = tt(), { cashflow: i, common: a } = x(), { completeOnboarding: o } = uo(), { isDirty: r } = ri(), { isMobile: s } = me(), { isCopyLoaded: c, setDisplayedDate: d } = se(), { filter: _, setFilter: u, transactions: h } = Oe(), m = pe(), [p, f] = Et(!0), [E, y] = g.useState(
|
|
10252
|
+
const { addRepeatingTransaction: e, repeatingTransactions: n } = tt(), { cashflow: i, common: a } = x(), { completeOnboarding: o } = uo(), { isDirty: r } = ri(), { isMobile: s } = me(), { isCopyLoaded: c, setDisplayedDate: d } = se(), { filter: _, setFilter: u, transactions: h } = Oe(), m = pe(), [p, f] = Et(!0), [E, y] = g.useState(fe.EveryMonth), [A, I] = g.useState(1), [v, w] = g.useState(15), [D, O] = Et(!1), [G, M] = Et(1), [R, L] = Et([]), [U, te] = Et(""), ue = g.useMemo(
|
|
10253
10253
|
() => h.find((he) => he.guid === U),
|
|
10254
10254
|
[U, h]
|
|
10255
10255
|
), ye = !!n.filter(
|
|
10256
10256
|
(he) => he.repeating_transaction_type === nn.Income
|
|
10257
|
-
).length,
|
|
10257
|
+
).length, be = async () => {
|
|
10258
10258
|
M(2), d(
|
|
10259
10259
|
// Beginning of the month, 90 days before today
|
|
10260
10260
|
Ye(It(Se(), 90)),
|
|
@@ -10300,7 +10300,7 @@ const Jg = ({ recurrence: e }) => /* @__PURE__ */ l(Z, { children: [
|
|
|
10300
10300
|
sx: {
|
|
10301
10301
|
...s ? { display: "flex", flexDirection: "column", maxWidth: "100%", padding: "0 16px" } : { maxWidth: 590, ml: "40%", mr: 90 }
|
|
10302
10302
|
},
|
|
10303
|
-
children: /* @__PURE__ */ t(dm, { handleNextStep:
|
|
10303
|
+
children: /* @__PURE__ */ t(dm, { handleNextStep: be })
|
|
10304
10304
|
}
|
|
10305
10305
|
),
|
|
10306
10306
|
G === 2 && /* @__PURE__ */ t(
|
|
@@ -10390,7 +10390,7 @@ const Jg = ({ recurrence: e }) => /* @__PURE__ */ l(Z, { children: [
|
|
|
10390
10390
|
Q,
|
|
10391
10391
|
{
|
|
10392
10392
|
onClick: () => {
|
|
10393
|
-
te(""), f(!0),
|
|
10393
|
+
te(""), f(!0), be().finally();
|
|
10394
10394
|
},
|
|
10395
10395
|
variant: "outlined",
|
|
10396
10396
|
children: a.cancel_button
|
|
@@ -10432,7 +10432,7 @@ const Jg = ({ recurrence: e }) => /* @__PURE__ */ l(Z, { children: [
|
|
|
10432
10432
|
setSelectedAccounts: o,
|
|
10433
10433
|
shouldDisableNextDate: r,
|
|
10434
10434
|
shouldDisablePrevDate: s
|
|
10435
|
-
} = se(), { onEvent: c } = X(), { visibleCashAccounts: d } =
|
|
10435
|
+
} = se(), { onEvent: c } = X(), { visibleCashAccounts: d } = Ce(), { setFilter: _ } = Oe(), { userProfile: u } = wt(), { dateRange: h, setSelectedCashAccounts: m } = ri(), { loadRepeatingTransactions: p, setDateRange: f } = tt(), { cashflow: E } = x(), { isCopyLoaded: y, isInitialized: A } = se(), [I, v] = g.useState(!1);
|
|
10436
10436
|
return g.useEffect(() => {
|
|
10437
10437
|
A && (f(h), p().finally());
|
|
10438
10438
|
}, [A]), g.useEffect(() => {
|
|
@@ -11028,7 +11028,7 @@ const _n = () => {
|
|
|
11028
11028
|
}, Sm = T(Am), Ft = () => {
|
|
11029
11029
|
if (!g.useContext(Yn))
|
|
11030
11030
|
throw new Error("useCategoryUiStore() must be used within the GlobalDataContext");
|
|
11031
|
-
return
|
|
11031
|
+
return Ce().uiStore;
|
|
11032
11032
|
}, Ni = (e) => e.top_level_category_guid === N.INCOME || e.category_guid === N.INCOME, xc = (e) => !Ni(e) && !wc(e), Ic = (e) => Zo.includes(e.top_level_category_guid) || Zo.includes(e.category_guid), wc = (e) => e.top_level_category_guid === N.TRANSFER || e.category_guid === N.TRANSFER, Tm = (e) => !Ni(e) && !Ic(e) && !wc(e), vc = (e) => e.filter((n) => n.category_guid === n.top_level_category_guid), Rr = (e, n) => {
|
|
11033
11033
|
if (n === 0) return 0;
|
|
11034
11034
|
const i = (e - n) / n;
|
|
@@ -11122,7 +11122,7 @@ const _n = () => {
|
|
|
11122
11122
|
}
|
|
11123
11123
|
);
|
|
11124
11124
|
}, Lm = T(Rm), Om = ({ customDetailsChart: e }) => {
|
|
11125
|
-
const { institutions: n } =
|
|
11125
|
+
const { institutions: n } = Ce(), { selectedAccount: i } = Ft(), { accounts: a } = x(), { firstSubtitle: o, firstValue: r, hasAvailableBalance: s, secondSubtitle: c, secondValue: d } = Ac(i, a), _ = n.find(
|
|
11126
11126
|
(h) => h.guid === i?.institution_guid
|
|
11127
11127
|
), u = [
|
|
11128
11128
|
...ao,
|
|
@@ -11478,7 +11478,7 @@ const Rc = ({
|
|
|
11478
11478
|
}
|
|
11479
11479
|
);
|
|
11480
11480
|
}), Fm = T(({ debt: e }) => {
|
|
11481
|
-
const { debts: n } = x(), { updateAccount: i } =
|
|
11481
|
+
const { debts: n } = x(), { updateAccount: i } = Ce(), { onEvent: a } = X(), [o, r] = g.useState(e.interest_rate ?? 0), s = o < 0, c = async () => {
|
|
11482
11482
|
await i({ ...e.account, interest_rate: o }), e.interest_rate = o, a(W.DEBTS_SAVE_RATE_ACTION, { account_guid: e.guid });
|
|
11483
11483
|
}, d = () => {
|
|
11484
11484
|
setTimeout(() => {
|
|
@@ -11508,7 +11508,7 @@ const Rc = ({
|
|
|
11508
11508
|
}
|
|
11509
11509
|
);
|
|
11510
11510
|
}), Wm = T(({ debt: e }) => {
|
|
11511
|
-
const { debts: n } = x(), { updateAccount: i } =
|
|
11511
|
+
const { debts: n } = x(), { updateAccount: i } = Ce(), { onEvent: a } = X(), [o, r] = g.useState(e.monthly_payment ?? 0), s = o < 0 || o > 9999999999e-2, c = async () => {
|
|
11512
11512
|
await i({ ...e.account, minimum_payment: o }), e.monthly_payment = o, a(W.DEBTS_SAVE_PAYMENT_ACTION, { account_guid: e.guid });
|
|
11513
11513
|
}, d = () => {
|
|
11514
11514
|
setTimeout(() => {
|
|
@@ -11540,7 +11540,7 @@ const Rc = ({
|
|
|
11540
11540
|
}
|
|
11541
11541
|
);
|
|
11542
11542
|
}), Um = T(({ debt: e }) => {
|
|
11543
|
-
const { debts: n } = x(), { updateAccount: i } =
|
|
11543
|
+
const { debts: n } = x(), { updateAccount: i } = Ce(), { onEvent: a } = X(), [o, r] = g.useState(e.original_balance ?? 0), s = o < 0 || o > 9999999999e-2, c = async () => {
|
|
11544
11544
|
await i({ ...e.account, original_balance: o }), e.original_balance = o, a(W.DEBTS_SAVE_BALANCE_ACTION, { account_guid: e.guid });
|
|
11545
11545
|
}, d = () => {
|
|
11546
11546
|
setTimeout(() => {
|
|
@@ -12112,9 +12112,9 @@ const Ut = (e) => /* @__PURE__ */ t(C, { fontWeight: 600, variant: "Small", chil
|
|
|
12112
12112
|
}
|
|
12113
12113
|
);
|
|
12114
12114
|
}), up = ({ onBackClick: e, sx: n }) => {
|
|
12115
|
-
const [i, a] = g.useState(!1), [o, r] = g.useState(!1), [s, c] = g.useState(!1), [d, _] = g.useState(""), { isDesktop: u, isMobile: h } = me(), { debts: m } = x(), { onEvent: p } = X(), { isCopyLoaded: f, isInitialized: E, setSelectedAccounts: y } = se(), { setSelectedAccount: A } = Ft(), { selectedDebtPriority: I, setSelectedDebtChartData: v } = _n(), { visibleDebtAccounts: w } =
|
|
12116
|
-
const
|
|
12117
|
-
return lp(M, I,
|
|
12115
|
+
const [i, a] = g.useState(!1), [o, r] = g.useState(!1), [s, c] = g.useState(!1), [d, _] = g.useState(""), { isDesktop: u, isMobile: h } = me(), { debts: m } = x(), { onEvent: p } = X(), { isCopyLoaded: f, isInitialized: E, setSelectedAccounts: y } = se(), { setSelectedAccount: A } = Ft(), { selectedDebtPriority: I, setSelectedDebtChartData: v } = _n(), { visibleDebtAccounts: w } = Ce(), { goalsLoaded: D, loadGoals: O, monthlyCashFlowProfile: G } = ct(), { debts: M } = _a(), R = g.useMemo(() => {
|
|
12116
|
+
const be = G?.extra_payment ?? 0;
|
|
12117
|
+
return lp(M, I, be);
|
|
12118
12118
|
}, [M, I, G]);
|
|
12119
12119
|
g.useEffect(() => {
|
|
12120
12120
|
y(w), p(W.DEBTS_VIEW);
|
|
@@ -12123,9 +12123,9 @@ const Ut = (e) => /* @__PURE__ */ t(C, { fontWeight: 600, variant: "Small", chil
|
|
|
12123
12123
|
}, [w]), g.useEffect(() => {
|
|
12124
12124
|
E && O().finally();
|
|
12125
12125
|
}, [E]);
|
|
12126
|
-
const L = (
|
|
12127
|
-
const
|
|
12128
|
-
|
|
12126
|
+
const L = (be) => _(be), U = () => {
|
|
12127
|
+
const be = w.find((Re) => Re.guid === d), ke = R.find((Re) => Re.guid === d);
|
|
12128
|
+
be && A(be), ke && v(ke), a(!0);
|
|
12129
12129
|
}, te = () => p(W.DEBTS_CLICK_FILTER), ue = () => {
|
|
12130
12130
|
c(!0), p(W.DEBTS_CLICK_SNOWBALL_CTA);
|
|
12131
12131
|
}, ye = () => {
|
|
@@ -12371,7 +12371,7 @@ const Cp = ({
|
|
|
12371
12371
|
profile: "Profile",
|
|
12372
12372
|
title: "Finstrong"
|
|
12373
12373
|
}, fp = ({ onBackClick: e, sx: n }) => {
|
|
12374
|
-
const { visibleAccounts: i } =
|
|
12374
|
+
const { visibleAccounts: i } = Ce(), { finstrong: a } = x(), { isCopyLoaded: o } = se(), { isMobile: r } = me();
|
|
12375
12375
|
if (!o) return /* @__PURE__ */ t(le, {});
|
|
12376
12376
|
const s = () => {
|
|
12377
12377
|
}, c = () => {
|
|
@@ -12961,7 +12961,7 @@ const yp = (e, n) => {
|
|
|
12961
12961
|
}
|
|
12962
12962
|
);
|
|
12963
12963
|
}, vp = ({ onClose: e }) => {
|
|
12964
|
-
const { goals: n } = x(), { addGoal: i, debtGoals: a, setAlert: o, setSelectedGoal: r } = ct(), { visibleDebtAccounts: s } =
|
|
12964
|
+
const { goals: n } = x(), { addGoal: i, debtGoals: a, setAlert: o, setSelectedGoal: r } = ct(), { visibleDebtAccounts: s } = Ce(), [c, d] = g.useState(!1), _ = bp(n), u = (m, p, f) => {
|
|
12965
12965
|
f === Y.DEBT_TRACK ? d(!0) : r({
|
|
12966
12966
|
amount: 0,
|
|
12967
12967
|
current_amount: 0,
|
|
@@ -13064,7 +13064,7 @@ const yp = (e, n) => {
|
|
|
13064
13064
|
}
|
|
13065
13065
|
);
|
|
13066
13066
|
}), Dp = ({ goal: e }) => {
|
|
13067
|
-
const { visibleCheckingAccounts: n, visibleSavingsAccounts: i } =
|
|
13067
|
+
const { visibleCheckingAccounts: n, visibleSavingsAccounts: i } = Ce(), { accounts: a, goals: o } = x(), { setAlert: r, setSelectedGoal: s, updateGoal: c } = ct(), d = !e.guid, [_, u] = g.useState(!1), h = async ({ balance: m, guid: p }) => {
|
|
13068
13068
|
const f = { ...e, account_guid: p, current_amount: m || 0 };
|
|
13069
13069
|
d ? s(f) : (await c(f), r(o.alert_account_changed)), u(!1);
|
|
13070
13070
|
};
|
|
@@ -13226,7 +13226,7 @@ const yp = (e, n) => {
|
|
|
13226
13226
|
}
|
|
13227
13227
|
);
|
|
13228
13228
|
}), Mp = ({ goal: e }) => {
|
|
13229
|
-
const { goals: n } = x(), { visibleInvestmentAccounts: i } =
|
|
13229
|
+
const { goals: n } = x(), { visibleInvestmentAccounts: i } = Ce(), {
|
|
13230
13230
|
addRetirementGoalAccount: a,
|
|
13231
13231
|
newRetirementGoalAccounts: o,
|
|
13232
13232
|
retirementGoalAccounts: r,
|
|
@@ -13277,7 +13277,7 @@ const yp = (e, n) => {
|
|
|
13277
13277
|
)
|
|
13278
13278
|
] });
|
|
13279
13279
|
}, kp = T(({ goal: e }) => {
|
|
13280
|
-
const { goals: n } = x(), { visibleAccounts: i } =
|
|
13280
|
+
const { goals: n } = x(), { visibleAccounts: i } = Ce(), a = g.useMemo(
|
|
13281
13281
|
() => i.find((s) => s.guid === e.account_guid),
|
|
13282
13282
|
[i, e]
|
|
13283
13283
|
), o = e.track_type;
|
|
@@ -13322,7 +13322,7 @@ const yp = (e, n) => {
|
|
|
13322
13322
|
e.track_type === Y.SAVINGS_TRACK && !e.is_complete && /* @__PURE__ */ t(Dp, { goal: e })
|
|
13323
13323
|
] });
|
|
13324
13324
|
}), Gp = T(({ onClose: e }) => {
|
|
13325
|
-
const { visibleInvestmentAccounts: n } =
|
|
13325
|
+
const { visibleInvestmentAccounts: n } = Ce(), { goals: i, common: a } = x(), {
|
|
13326
13326
|
addGoal: o,
|
|
13327
13327
|
addRetirementGoal: r,
|
|
13328
13328
|
deleteGoal: s,
|
|
@@ -13389,7 +13389,7 @@ const yp = (e, n) => {
|
|
|
13389
13389
|
)
|
|
13390
13390
|
] });
|
|
13391
13391
|
}), e2 = T(({ onBackClick: e, sx: n }) => {
|
|
13392
|
-
const { onEvent: i } = X(), { isMobile: a } = me(), { visibleAccounts: o } =
|
|
13392
|
+
const { onEvent: i } = X(), { isMobile: a } = me(), { visibleAccounts: o } = Ce(), { isCopyLoaded: r, isInitialized: s, setSelectedAccounts: c } = se(), { goals: d, common: _ } = x(), { alert: u, goals: h, goalsLoaded: m, loadGoals: p, monthlyCashFlowProfile: f, setAlert: E, retirmentGoals: y } = ct(), [A, I] = g.useState(0), [v, w] = g.useState(!1), D = f?.amount_allocated_for_savings_goals || 0, O = f?.amount_allocated_for_debt_goals || 0, G = f?.amount_allocated_for_retirement_goals || 0, M = r ? S(
|
|
13393
13393
|
a ? d.tab_subtitle_mobile : d.tab_subtitle,
|
|
13394
13394
|
P(D, "0,0")
|
|
13395
13395
|
) : "", R = r ? S(
|
|
@@ -13408,10 +13408,10 @@ const yp = (e, n) => {
|
|
|
13408
13408
|
i(W.GOALS_CLICK_FILTER);
|
|
13409
13409
|
}, te = () => {
|
|
13410
13410
|
w(!0), i(W.GOALS_CLICK_ADD);
|
|
13411
|
-
}, ue = (
|
|
13412
|
-
w(!1),
|
|
13411
|
+
}, ue = (be) => {
|
|
13412
|
+
w(!1), be === Y.SAVINGS_TRACK ? I(0) : be === Y.DEBT_TRACK ? I(1) : be === Y.RETIREMENT_TRACK && I(2);
|
|
13413
13413
|
}, ye = g.useMemo(
|
|
13414
|
-
() => m && (h.length === 0 || h.every(({ track_type:
|
|
13414
|
+
() => m && (h.length === 0 || h.every(({ track_type: be }) => !be) && y.length === 0),
|
|
13415
13415
|
[h, m, y]
|
|
13416
13416
|
);
|
|
13417
13417
|
return !m || !r || !s ? /* @__PURE__ */ t(le, {}) : /* @__PURE__ */ l(
|
|
@@ -13434,7 +13434,7 @@ const yp = (e, n) => {
|
|
|
13434
13434
|
/* @__PURE__ */ l(
|
|
13435
13435
|
Xt,
|
|
13436
13436
|
{
|
|
13437
|
-
onChange: (
|
|
13437
|
+
onChange: (be, ke) => I(ke),
|
|
13438
13438
|
sx: { bgcolor: "background.paper" },
|
|
13439
13439
|
textColor: "primary",
|
|
13440
13440
|
value: ye ? !1 : A,
|
|
@@ -13737,7 +13737,7 @@ const Hp = T(({ goal: e }) => {
|
|
|
13737
13737
|
}
|
|
13738
13738
|
);
|
|
13739
13739
|
}), t2 = T(({ onCTAClick: e }) => {
|
|
13740
|
-
const { visibleAccounts: n } =
|
|
13740
|
+
const { visibleAccounts: n } = Ce(), { onEvent: i } = X(), { goals: a } = x(), { isInitialized: o, setSelectedAccounts: r, isCopyLoaded: s } = se(), { ongoingGoalsForMicroWidget: c, loadGoals: d, goalsLoaded: _ } = ct();
|
|
13741
13741
|
g.useEffect(() => {
|
|
13742
13742
|
r(n), i(W.GOALS_VIEW);
|
|
13743
13743
|
}, []), g.useEffect(() => {
|
|
@@ -14717,7 +14717,7 @@ const w1 = ({ amount: e, copy: n, trendValue: i }) => {
|
|
|
14717
14717
|
/* @__PURE__ */ t(_e, { sx: { color: "text.secondary" }, variant: "body2", children: e.zero_state_description })
|
|
14718
14718
|
] })
|
|
14719
14719
|
] }), i2 = T(({ onCTAClick: e }) => {
|
|
14720
|
-
const [n, i] = g.useState(!1), { visibleAccounts: a } =
|
|
14720
|
+
const [n, i] = g.useState(!1), { visibleAccounts: a } = Ce(), { onEvent: o } = X(), { net_worth: r, common: s } = x(), { isInitialized: c, selectedAccounts: d, setSelectedAccounts: _ } = se(), { loadChartData: u, loadNetWorthData: h, netWorthData: m, selectedData: p } = js(), f = async () => {
|
|
14721
14721
|
await h(d), await u(1), i(!0);
|
|
14722
14722
|
};
|
|
14723
14723
|
if (g.useEffect(() => _(a), [a]), g.useEffect(() => {
|
|
@@ -14749,7 +14749,7 @@ const w1 = ({ amount: e, copy: n, trendValue: i }) => {
|
|
|
14749
14749
|
title: i
|
|
14750
14750
|
}) => {
|
|
14751
14751
|
let a;
|
|
14752
|
-
const { refreshAccounts: o } =
|
|
14752
|
+
const { refreshAccounts: o } = Ce(), { loadWidget: r } = zs(), { connect: s } = x(), c = dt(), [d, _] = g.useState(!1), [u, h] = g.useState(!1);
|
|
14753
14753
|
return g.useEffect(() => (n ? (_(!0), r({ widget: "connections_widget", mode: c.palette.mode }).then((m) => {
|
|
14754
14754
|
a = new Cd({
|
|
14755
14755
|
container: `#${lr}`,
|
|
@@ -14945,7 +14945,7 @@ const w1 = ({ amount: e, copy: n, trendValue: i }) => {
|
|
|
14945
14945
|
] })
|
|
14946
14946
|
] });
|
|
14947
14947
|
}, M1 = T(O1), a2 = T(({ onBackClick: e }) => {
|
|
14948
|
-
const { isCopyLoaded: n, isInitialized: i, selectedAccounts: a, setSelectedAccounts: o } = se(), { accounts: r, net_worth: s } = x(), { visibleAccounts: c } =
|
|
14948
|
+
const { isCopyLoaded: n, isInitialized: i, selectedAccounts: a, setSelectedAccounts: o } = se(), { accounts: r, net_worth: s } = x(), { visibleAccounts: c } = Ce(), {
|
|
14949
14949
|
assetsLiabilities: d,
|
|
14950
14950
|
gainsLosses: _,
|
|
14951
14951
|
hoveredData: u,
|
|
@@ -14969,7 +14969,7 @@ const w1 = ({ amount: e, copy: n, trendValue: i }) => {
|
|
|
14969
14969
|
}, [D]);
|
|
14970
14970
|
const ye = (B, ne) => {
|
|
14971
14971
|
y(ne), B.currentTarget instanceof HTMLDivElement && M(!0);
|
|
14972
|
-
},
|
|
14972
|
+
}, be = (B) => {
|
|
14973
14973
|
E(B);
|
|
14974
14974
|
}, ke = () => {
|
|
14975
14975
|
E(null);
|
|
@@ -14983,7 +14983,7 @@ const w1 = ({ amount: e, copy: n, trendValue: i }) => {
|
|
|
14983
14983
|
hoveredData: u,
|
|
14984
14984
|
onButtonClick: Re,
|
|
14985
14985
|
onDataClick: ye,
|
|
14986
|
-
onMouseEnter:
|
|
14986
|
+
onMouseEnter: be,
|
|
14987
14987
|
onMouseLeave: ke,
|
|
14988
14988
|
selectedData: f
|
|
14989
14989
|
}, Ee = () => {
|
|
@@ -15096,18 +15096,15 @@ const w1 = ({ amount: e, copy: n, trendValue: i }) => {
|
|
|
15096
15096
|
default:
|
|
15097
15097
|
return null;
|
|
15098
15098
|
}
|
|
15099
|
-
}, k1 = (e, n) => {
|
|
15100
|
-
const i = fi(n[e].delivered_at), a = fi(n[e - 1]?.delivered_at);
|
|
15101
|
-
return !vd(i, a);
|
|
15102
15099
|
};
|
|
15103
|
-
function
|
|
15100
|
+
function k1(e) {
|
|
15104
15101
|
const i = Math.floor(Date.now() / 1e3);
|
|
15105
15102
|
return e.filter((a) => {
|
|
15106
15103
|
const o = a.delivered_at;
|
|
15107
15104
|
return i - o <= 604800;
|
|
15108
15105
|
});
|
|
15109
15106
|
}
|
|
15110
|
-
class
|
|
15107
|
+
class G1 {
|
|
15111
15108
|
globalStore;
|
|
15112
15109
|
api = new nr("/", "");
|
|
15113
15110
|
isLoading = !0;
|
|
@@ -15125,7 +15122,7 @@ class B1 {
|
|
|
15125
15122
|
this.isLoading = !0;
|
|
15126
15123
|
const n = await this.api.getNotifications();
|
|
15127
15124
|
q(() => {
|
|
15128
|
-
this.notifications = n, this.recentNotifications =
|
|
15125
|
+
this.notifications = n, this.recentNotifications = k1(n), this.isLoading = !1;
|
|
15129
15126
|
});
|
|
15130
15127
|
} catch (n) {
|
|
15131
15128
|
console.error(`Error occurred while loading notifications: ${n}`);
|
|
@@ -15138,8 +15135,11 @@ class B1 {
|
|
|
15138
15135
|
n.has_been_viewed = !0, await this.api.updateNotification(n);
|
|
15139
15136
|
};
|
|
15140
15137
|
}
|
|
15141
|
-
const
|
|
15142
|
-
const
|
|
15138
|
+
const B1 = (e, n) => {
|
|
15139
|
+
const i = fi(n[e].delivered_at), a = fi(n[e - 1]?.delivered_at);
|
|
15140
|
+
return !vd(i, a);
|
|
15141
|
+
}, H1 = ({ date: e }) => /* @__PURE__ */ t(k, { sx: { display: "flex", justifyContent: "center", mt: 12, py: 8 }, children: /* @__PURE__ */ t(C, { bold: !0, variant: "Small", children: ua(e) }) }), P1 = ({ notification: e }) => {
|
|
15142
|
+
const { accounts: n } = Ce(), { budgets: i } = ht(), { accounts: a } = x(), o = n.find((d) => d.guid === e.entity_guid), r = i.find((d) => d.guid === e.entity_guid), s = e.entity_guid.includes("GOL"), c = {
|
|
15143
15143
|
badge: {
|
|
15144
15144
|
display: "flex",
|
|
15145
15145
|
alignItems: "center",
|
|
@@ -15222,7 +15222,7 @@ const H1 = ({ date: e }) => /* @__PURE__ */ t(k, { sx: { display: "flex", justif
|
|
|
15222
15222
|
(!c || i) && /* @__PURE__ */ t(le, { label: s?.loading, size: 40 }),
|
|
15223
15223
|
c && !i && o.length === 0 && /* @__PURE__ */ t(U1, { onManageNotifications: n }),
|
|
15224
15224
|
/* @__PURE__ */ t(ie, { sx: { p: 16 }, children: c && !i && o.slice().sort((_, u) => u.delivered_at - _.delivered_at).map((_, u) => {
|
|
15225
|
-
const h =
|
|
15225
|
+
const h = B1(u, o);
|
|
15226
15226
|
return /* @__PURE__ */ l(k, { sx: { mb: 12 }, children: [
|
|
15227
15227
|
h && /* @__PURE__ */ l(k, { sx: { mb: 12 }, children: [
|
|
15228
15228
|
/* @__PURE__ */ t(H1, { date: _.delivered_at }),
|
|
@@ -16371,7 +16371,7 @@ const Z1 = ({
|
|
|
16371
16371
|
] });
|
|
16372
16372
|
}), sC = T(
|
|
16373
16373
|
({ onProfileUpdated: e, profile: n }) => {
|
|
16374
|
-
const { common: i, recurring: a, settings: o } = x(), { updateAccount: r } =
|
|
16374
|
+
const { common: i, recurring: a, settings: o } = x(), { updateAccount: r } = Ce(), s = n.notification_type === at.DebtPaymentReminder, [c, d] = g.useState(!1), [_, u] = g.useState(n.threshold || 0), [h, m] = g.useState(
|
|
16375
16375
|
n.account?.day_payment_is_due || 0
|
|
16376
16376
|
), p = n.account?.name || n.account?.feed_name || "", f = n.account?.day_payment_is_due ? S(
|
|
16377
16377
|
o.notification_debt_payment_date,
|
|
@@ -19666,7 +19666,7 @@ const Z1 = ({
|
|
|
19666
19666
|
onClose: a,
|
|
19667
19667
|
topic: o
|
|
19668
19668
|
}) => {
|
|
19669
|
-
const { institutions: r, accounts: s } =
|
|
19669
|
+
const { institutions: r, accounts: s } = Ce(), c = g.useMemo(
|
|
19670
19670
|
() => jp(r, s, {
|
|
19671
19671
|
singular: e.request_support_institution_account,
|
|
19672
19672
|
plural: e.request_support_institution_accounts
|
|
@@ -20393,7 +20393,7 @@ const zC = (e) => e.reduce((i, a) => {
|
|
|
20393
20393
|
}, tl = T(JC), ef = {
|
|
20394
20394
|
view_transactions: "View Transactions"
|
|
20395
20395
|
}, tf = ({ onBackClick: e, sx: n }) => {
|
|
20396
|
-
const { onEvent: i } = X(), { isDesktop: a, isTablet: o, isMobile: r } = me(), { visibleAccounts: s } =
|
|
20396
|
+
const { onEvent: i } = X(), { isDesktop: a, isTablet: o, isMobile: r } = me(), { visibleAccounts: s } = Ce(), { loadMonthlyCategoryTotals: c, monthlyCategoryTotals: d, getCategoryName: _ } = Ve(), { sortedTransactions: u } = Oe(), { isCopyLoaded: h, isInitialized: m, selectedAccounts: p, setSelectedAccounts: f } = se(), { trends: E } = x(), [y, A] = g.useState(!1), [I, v] = g.useState(!1), [w, D] = g.useState("Chart"), [O, G] = g.useState(""), [M, R] = g.useState({
|
|
20397
20397
|
start: $i(We(Tt(/* @__PURE__ */ new Date(), 6)), 1),
|
|
20398
20398
|
end: We(/* @__PURE__ */ new Date())
|
|
20399
20399
|
});
|
|
@@ -20439,7 +20439,7 @@ const zC = (e) => e.reduce((i, a) => {
|
|
|
20439
20439
|
});
|
|
20440
20440
|
}, ye = () => {
|
|
20441
20441
|
i(W.TRENDS_CLICK_FILTER);
|
|
20442
|
-
},
|
|
20442
|
+
}, be = (Ee) => {
|
|
20443
20443
|
G(Ee);
|
|
20444
20444
|
}, ke = (Ee) => {
|
|
20445
20445
|
G(Ee), i(W.TRENDS_CLICK_LEGEND, { category: _(Ee) });
|
|
@@ -20530,7 +20530,7 @@ const zC = (e) => e.reduce((i, a) => {
|
|
|
20530
20530
|
el,
|
|
20531
20531
|
{
|
|
20532
20532
|
monthlyCategoryTotals: d,
|
|
20533
|
-
onClickRow:
|
|
20533
|
+
onClickRow: be,
|
|
20534
20534
|
selectedCategory: O,
|
|
20535
20535
|
selectedDateRange: M
|
|
20536
20536
|
}
|
|
@@ -20568,20 +20568,22 @@ const zC = (e) => e.reduce((i, a) => {
|
|
|
20568
20568
|
}
|
|
20569
20569
|
);
|
|
20570
20570
|
}, af = T(nf), of = ({ onPrimaryCtaClick: e, sx: n }) => {
|
|
20571
|
-
const {
|
|
20571
|
+
const { visibleAccounts: i } = Ce(), { loadMonthlyCategoryTotals: a, monthlyTotalsLoaded: o } = Ve(), { isInitialized: r } = oi(), { trends: s } = x(), { isCopyLoaded: c, selectedAccounts: d, setSelectedAccounts: _ } = se();
|
|
20572
20572
|
return g.useEffect(() => {
|
|
20573
|
-
|
|
20574
|
-
}, [
|
|
20573
|
+
_(i);
|
|
20574
|
+
}, [i]), g.useEffect(() => {
|
|
20575
|
+
r && a(d).finally();
|
|
20576
|
+
}, [r, d]), !c || !r ? /* @__PURE__ */ t(le, {}) : /* @__PURE__ */ t(
|
|
20575
20577
|
Mn,
|
|
20576
20578
|
{
|
|
20577
20579
|
onPrimaryCtaClick: e,
|
|
20578
|
-
primaryCtaLabel:
|
|
20579
|
-
subTitle:
|
|
20580
|
+
primaryCtaLabel: s.primary_cta,
|
|
20581
|
+
subTitle: s.sub_title,
|
|
20580
20582
|
sx: n,
|
|
20581
|
-
title:
|
|
20582
|
-
children:
|
|
20583
|
+
title: s.mini_title,
|
|
20584
|
+
children: o ? /* @__PURE__ */ t(af, {}) : /* @__PURE__ */ t(le, {})
|
|
20583
20585
|
}
|
|
20584
|
-
)
|
|
20586
|
+
);
|
|
20585
20587
|
}, _2 = T(of), rf = 70, Zr = ({
|
|
20586
20588
|
title: e,
|
|
20587
20589
|
totalAmount: n,
|
|
@@ -20678,7 +20680,7 @@ const zC = (e) => e.reduce((i, a) => {
|
|
|
20678
20680
|
] })
|
|
20679
20681
|
] });
|
|
20680
20682
|
}), h2 = T(({ onCtaClick: e }) => {
|
|
20681
|
-
const { visibleAccounts: n } =
|
|
20683
|
+
const { visibleAccounts: n } = Ce(), { monthlyCategoryTotals: i, loadMonthlyCategoryTotals: a, monthlyTotalsLoaded: o } = Ve(), r = {
|
|
20682
20684
|
start: Nd(/* @__PURE__ */ new Date(), 1),
|
|
20683
20685
|
end: /* @__PURE__ */ new Date()
|
|
20684
20686
|
}, { trends: s } = x(), { selectedAccounts: c, setSelectedAccounts: d, isInitialized: _ } = se();
|
|
@@ -22270,7 +22272,7 @@ const Li = g.createContext(null), pf = ({
|
|
|
22270
22272
|
});
|
|
22271
22273
|
}, ye = () => {
|
|
22272
22274
|
f.current && A(f.current.scrollLeft);
|
|
22273
|
-
},
|
|
22275
|
+
}, be = () => {
|
|
22274
22276
|
if (!w || !I) return;
|
|
22275
22277
|
w - I > If ? U(Kt.ON_CAROUSEL_FORWARD_SWIPE) : U(Kt.ON_CAROUSEL_BACK_SWIPE);
|
|
22276
22278
|
}, ke = (B) => {
|
|
@@ -22304,7 +22306,7 @@ const Li = g.createContext(null), pf = ({
|
|
|
22304
22306
|
{
|
|
22305
22307
|
direction: "row",
|
|
22306
22308
|
onScroll: ye,
|
|
22307
|
-
onTouchEnd:
|
|
22309
|
+
onTouchEnd: be,
|
|
22308
22310
|
onTouchMove: ke,
|
|
22309
22311
|
onTouchStart: Re,
|
|
22310
22312
|
ref: f,
|
|
@@ -22613,7 +22615,7 @@ const Li = g.createContext(null), pf = ({
|
|
|
22613
22615
|
}, [window.innerHeight]), g.useEffect(() => {
|
|
22614
22616
|
te(!n && hn.isInitialized);
|
|
22615
22617
|
}, [n, hn.isInitialized]);
|
|
22616
|
-
const
|
|
22618
|
+
const be = {
|
|
22617
22619
|
showCTAColocatedWithText: o,
|
|
22618
22620
|
heightOverrides: s,
|
|
22619
22621
|
onCardClick: d,
|
|
@@ -22625,7 +22627,7 @@ const Li = g.createContext(null), pf = ({
|
|
|
22625
22627
|
}, ke = {
|
|
22626
22628
|
carouselSize: R,
|
|
22627
22629
|
variant: D,
|
|
22628
|
-
...
|
|
22630
|
+
...be
|
|
22629
22631
|
};
|
|
22630
22632
|
return (
|
|
22631
22633
|
// The Theme provider must wrap the component so that the styles don't break when imported into other applications.
|
|
@@ -22652,7 +22654,7 @@ const Li = g.createContext(null), pf = ({
|
|
|
22652
22654
|
showCarouselControls: f,
|
|
22653
22655
|
variant: p ? D : void 0,
|
|
22654
22656
|
visibleCardsCount: O,
|
|
22655
|
-
...
|
|
22657
|
+
...be
|
|
22656
22658
|
}
|
|
22657
22659
|
),
|
|
22658
22660
|
U && !i.length && w && /* @__PURE__ */ t(dl, { clientColorScheme: a, ...ke }),
|
|
@@ -22740,7 +22742,7 @@ const Li = g.createContext(null), pf = ({
|
|
|
22740
22742
|
}, Ff = T(Pf), Wf = {
|
|
22741
22743
|
view_transactions: "View Transactions"
|
|
22742
22744
|
}, Uf = ({ onBackClick: e, sx: n }) => {
|
|
22743
|
-
const { onEvent: i } = X(), { isLargeDesktop: a, isDesktop: o, isMobile: r } = me(), { visibleAccounts: s } =
|
|
22745
|
+
const { onEvent: i } = X(), { isLargeDesktop: a, isDesktop: o, isMobile: r } = me(), { visibleAccounts: s } = Ce(), { loadMonthlyCategoryTotals: c, monthlyCategoryTotals: d, getCategoryName: _ } = Ve(), { sortedTransactions: u } = Oe(), { isCopyLoaded: h, isInitialized: m, selectedAccounts: p, setSelectedAccounts: f } = se(), { trends: E } = x(), y = o || a, [A, I] = g.useState(!1), [v, w] = g.useState(!1), [D, O] = g.useState("Chart"), [G, M] = g.useState(""), [R, L] = g.useState({
|
|
22744
22746
|
start: $i(We(Tt(/* @__PURE__ */ new Date(), 6)), 1),
|
|
22745
22747
|
end: We(/* @__PURE__ */ new Date())
|
|
22746
22748
|
});
|
|
@@ -22784,7 +22786,7 @@ const Li = g.createContext(null), pf = ({
|
|
|
22784
22786
|
L({ start: ne, end: Me }), i(W.TRENDS_CLICK_DATE, {
|
|
22785
22787
|
time_period: qe + "M"
|
|
22786
22788
|
});
|
|
22787
|
-
},
|
|
22789
|
+
}, be = () => {
|
|
22788
22790
|
i(W.TRENDS_CLICK_FILTER);
|
|
22789
22791
|
}, ke = (B) => {
|
|
22790
22792
|
M(B);
|
|
@@ -22814,7 +22816,7 @@ const Li = g.createContext(null), pf = ({
|
|
|
22814
22816
|
calendarActions: { onRangeChanged: ye },
|
|
22815
22817
|
dateRange: R,
|
|
22816
22818
|
dateRangeVariant: r ? "timeframetabs" : "timeframebuttons",
|
|
22817
|
-
onAccountsFilterClick:
|
|
22819
|
+
onAccountsFilterClick: be,
|
|
22818
22820
|
onBackClick: e,
|
|
22819
22821
|
sx: n,
|
|
22820
22822
|
title: E.title,
|
|
@@ -23132,7 +23134,7 @@ class C2 {
|
|
|
23132
23134
|
// UI Stores
|
|
23133
23135
|
globalUiStore;
|
|
23134
23136
|
constructor(n = qr, i = "/") {
|
|
23135
|
-
this.appConfig = n, this.endpoint = i, this.sessionToken = n.options.session_token ?? "", this.accountStore = new b0(this), this.appDataStore = new Kf(this), this.analyticsStore = new y_(this), this.beatStore = new S_(this), this.budgetsStore = new w_(this), this.cashflowStore = new fm(this), this.categoryStore = new Xh(this), this.connectStore = new Yf(this), this.copyStore = new b_(this), this.debtsStore = new mp(this), this.finstrongStore = new pp(this), this.goalStore = new Bp(this), this.helpStore = new $p(this), this.holdingStore = new o1(this), this.merchantStore = new l1(this), this.netWorthStore = new I1(this), this.notificationStore = new
|
|
23137
|
+
this.appConfig = n, this.endpoint = i, this.sessionToken = n.options.session_token ?? "", this.accountStore = new b0(this), this.appDataStore = new Kf(this), this.analyticsStore = new y_(this), this.beatStore = new S_(this), this.budgetsStore = new w_(this), this.cashflowStore = new fm(this), this.categoryStore = new Xh(this), this.connectStore = new Yf(this), this.copyStore = new b_(this), this.debtsStore = new mp(this), this.finstrongStore = new pp(this), this.goalStore = new Bp(this), this.helpStore = new $p(this), this.holdingStore = new o1(this), this.merchantStore = new l1(this), this.netWorthStore = new I1(this), this.notificationStore = new G1(this), this.recurringTransactionsStore = new Vg(this), this.settingsStore = new j1(this), this.transactionStore = new dh(this), this.trendsStore = new Vf(this), this.userStore = new jf(this), this.globalUiStore = new zf(this), He(this);
|
|
23136
23138
|
}
|
|
23137
23139
|
get isInitialized() {
|
|
23138
23140
|
return this.globalUiStore.isInitialized;
|
|
@@ -23163,12 +23165,12 @@ const Da = ({
|
|
|
23163
23165
|
] }) }),
|
|
23164
23166
|
/* @__PURE__ */ t(F, { sx: { ml: n ? 0 : 24 } })
|
|
23165
23167
|
] }), $f = () => {
|
|
23166
|
-
const { accounts: e } =
|
|
23168
|
+
const { accounts: e } = Ce(), { selectedAccount: n, selectedMember: i } = Ft();
|
|
23167
23169
|
return e.filter(
|
|
23168
23170
|
(a) => a.member_guid === i.guid && i.successfully_aggregated_at && a.guid !== n.guid
|
|
23169
23171
|
);
|
|
23170
23172
|
}, Xf = () => {
|
|
23171
|
-
const [e, n] = g.useState(!1), [i, a] = g.useState(!1), [o, r] = g.useState(!1), [s, c] = g.useState({}), { selectedAccount: d } = Ft(), { mergeAccounts: _, updateAccount: u } =
|
|
23173
|
+
const [e, n] = g.useState(!1), [i, a] = g.useState(!1), [o, r] = g.useState(!1), [s, c] = g.useState({}), { selectedAccount: d } = Ft(), { mergeAccounts: _, updateAccount: u } = Ce(), { accounts: h } = x(), m = $f(), { onEvent: p } = X(), { modifyTransactionByAccountGuid: f } = Oe(), E = async (A) => {
|
|
23172
23174
|
await u({
|
|
23173
23175
|
...d,
|
|
23174
23176
|
...A
|
|
@@ -23512,7 +23514,7 @@ const Da = ({
|
|
|
23512
23514
|
)
|
|
23513
23515
|
] });
|
|
23514
23516
|
}, Qf = T(Zf), Jf = ({ field: e, isOpen: n, onClose: i }) => {
|
|
23515
|
-
const { updateAccount: a } =
|
|
23517
|
+
const { updateAccount: a } = Ce(), { selectedAccount: o } = Ft(), { accounts: r } = x(), [s, c] = g.useState(o[e.name]), [d, _] = g.useState(""), [u, h] = g.useState(!0), m = () => {
|
|
23516
23518
|
c(""), _(""), i();
|
|
23517
23519
|
}, p = () => {
|
|
23518
23520
|
switch (e.type) {
|
|
@@ -23773,7 +23775,7 @@ const Da = ({
|
|
|
23773
23775
|
/* @__PURE__ */ t(ei, { index: 1, name: "account-details", value: e, children: /* @__PURE__ */ t(a0, {}) })
|
|
23774
23776
|
] });
|
|
23775
23777
|
}, hl = T(l0), d0 = () => {
|
|
23776
|
-
const [e, n] = g.useState(""), { accounts: i } = x(), { selectedAccounts: a } = se(), { setSelectedAccount: o, setSelectedMember: r } = Ft(), { members: s } =
|
|
23778
|
+
const [e, n] = g.useState(""), { accounts: i } = x(), { selectedAccounts: a } = se(), { setSelectedAccount: o, setSelectedMember: r } = Ft(), { members: s } = Ce(), { onEvent: c } = X(), d = [...new Set(a.map((y) => y.account_type))], _ = a.find((y) => e === y.guid), u = g.useMemo(
|
|
23777
23779
|
() => a.filter((y) => y.is_hidden),
|
|
23778
23780
|
[a]
|
|
23779
23781
|
), h = g.useMemo(
|
|
@@ -23916,7 +23918,7 @@ const Da = ({
|
|
|
23916
23918
|
)
|
|
23917
23919
|
] });
|
|
23918
23920
|
}, u0 = T(d0), _0 = ({ onBackClick: e, sx: n = {} }) => {
|
|
23919
|
-
const [i, a] = g.useState(!1), [o, r] = g.useState(!1), { config: s } = Pt(), { accounts: c } =
|
|
23921
|
+
const [i, a] = g.useState(!1), [o, r] = g.useState(!1), { config: s } = Pt(), { accounts: c } = Ce(), { accounts: d, connect: _ } = x(), { isCopyLoaded: u, isInitialized: h, setSelectedAccounts: m, selectedAccountGuids: p } = se(), { isDesktop: f } = me(), { onEvent: E } = X();
|
|
23920
23922
|
g.useEffect(() => {
|
|
23921
23923
|
m(c);
|
|
23922
23924
|
}, [c]);
|
|
@@ -23966,7 +23968,7 @@ const Da = ({
|
|
|
23966
23968
|
}
|
|
23967
23969
|
) : /* @__PURE__ */ t(le, {});
|
|
23968
23970
|
}, f2 = T(_0), h0 = ({ onPrimaryCtaClick: e, sx: n }) => {
|
|
23969
|
-
const { visibleAccounts: i } =
|
|
23971
|
+
const { visibleAccounts: i } = Ce(), { accounts: a } = x(), { isCopyLoaded: o, isInitialized: r, selectedAccounts: s, setSelectedAccounts: c } = se();
|
|
23970
23972
|
return g.useEffect(() => {
|
|
23971
23973
|
c(i);
|
|
23972
23974
|
}, [i]), o ? /* @__PURE__ */ t(
|
|
@@ -25660,7 +25662,7 @@ const G0 = ({
|
|
|
25660
25662
|
] }, r.guid)) }) })
|
|
25661
25663
|
] });
|
|
25662
25664
|
}), Q0 = T(() => {
|
|
25663
|
-
const e = pe(), { onEvent: n } = X(), { visibleAccounts: i } =
|
|
25665
|
+
const e = pe(), { onEvent: n } = X(), { visibleAccounts: i } = Ce(), { budgets: a, common: o, recurring: r } = x(), { incomeCategories: s, spendCategories: c } = Ve(), { detailedBudgets: d, totalBudgeted: _ } = ht(), { incomeTotal: u } = tt(), { setFilter: h } = Oe(), [m, p] = g.useState(!1), [f, E] = g.useMemo(() => {
|
|
25664
25666
|
const v = c.reduce((G, M) => G + M.totalAmount, 0);
|
|
25665
25667
|
let w = v / _;
|
|
25666
25668
|
w > 1 && (w = 1);
|
|
@@ -25743,7 +25745,7 @@ const G0 = ({
|
|
|
25743
25745
|
)
|
|
25744
25746
|
] });
|
|
25745
25747
|
}), cs = 480, S2 = T(({ onBackClick: e, sx: n }) => {
|
|
25746
|
-
const i = pe(), { onEvent: a } = X(), { visibleAccounts: o } =
|
|
25748
|
+
const i = pe(), { onEvent: a } = X(), { visibleAccounts: o } = Ce(), { budgets: r, common: s } = x(), { isCopyLoaded: c, isInitialized: d, selectedAccounts: _, setDisplayedDate: u, setSelectedAccounts: h } = se(), {
|
|
25747
25749
|
alert: m,
|
|
25748
25750
|
dateRange: p,
|
|
25749
25751
|
isDataLoaded: f,
|
|
@@ -25764,7 +25766,7 @@ const G0 = ({
|
|
|
25764
25766
|
y({ start: he[0] || /* @__PURE__ */ new Date(), end: he[1] || /* @__PURE__ */ new Date() });
|
|
25765
25767
|
}, ye = () => {
|
|
25766
25768
|
a(W.BUDGETS_CLICK_FILTER);
|
|
25767
|
-
},
|
|
25769
|
+
}, be = () => {
|
|
25768
25770
|
te(!0), a(W.BUDGETS_CLICK_ADD);
|
|
25769
25771
|
}, ke = () => {
|
|
25770
25772
|
te(!1);
|
|
@@ -25777,7 +25779,7 @@ const G0 = ({
|
|
|
25777
25779
|
{
|
|
25778
25780
|
iconName: "add",
|
|
25779
25781
|
label: r.add_title,
|
|
25780
|
-
onClick:
|
|
25782
|
+
onClick: be
|
|
25781
25783
|
}
|
|
25782
25784
|
],
|
|
25783
25785
|
calendarActions: { onRangeChanged: ue, shouldDisableNext: Re },
|
|
@@ -25798,7 +25800,7 @@ const G0 = ({
|
|
|
25798
25800
|
/* @__PURE__ */ t(b, { height: L ? 450 : "calc(100dvh - 150px)", children: /* @__PURE__ */ t(
|
|
25799
25801
|
gl,
|
|
25800
25802
|
{
|
|
25801
|
-
createBudgetOnClick:
|
|
25803
|
+
createBudgetOnClick: be,
|
|
25802
25804
|
height: L ? 450 : 800,
|
|
25803
25805
|
isDraggable: !0,
|
|
25804
25806
|
shouldShowZeroState: v.length === 0,
|
|
@@ -25927,7 +25929,7 @@ const G0 = ({
|
|
|
25927
25929
|
}
|
|
25928
25930
|
) });
|
|
25929
25931
|
}, tb = T(eb), nb = () => {
|
|
25930
|
-
const [e, n] = g.useState(!1), i = ru("(max-width:320px)"), { visibleAccounts: a } =
|
|
25932
|
+
const [e, n] = g.useState(!1), i = ru("(max-width:320px)"), { visibleAccounts: a } = Ce(), { selectedAccountGuids: o, setSelectedAccountGuids: r } = se(), { common: s, connect: c } = x(), { config: d } = Pt(), { isMobile: _ } = me(), u = {
|
|
25931
25933
|
accountFilterOptionsCopy: {
|
|
25932
25934
|
accountTypeAccounts: s.account_filter.account_type_accounts,
|
|
25933
25935
|
cancelButton: s.cancel_button,
|
|
@@ -25984,7 +25986,7 @@ const G0 = ({
|
|
|
25984
25986
|
}, ib = T(nb);
|
|
25985
25987
|
var Wi = /* @__PURE__ */ ((e) => (e[e.Main = 0] = "Main", e[e.RightSide = 1] = "RightSide", e[e.Disabled = 2] = "Disabled", e))(Wi || {});
|
|
25986
25988
|
const ab = ({ widgets: e, isLoading: n }) => {
|
|
25987
|
-
const { isDesktop: i, isMobile: a } = me(), { copyStore: o } = oi(), { setSelectedAccounts: r } = se(), { visibleAccounts: s } =
|
|
25989
|
+
const { isDesktop: i, isMobile: a } = me(), { copyStore: o } = oi(), { setSelectedAccounts: r } = se(), { visibleAccounts: s } = Ce();
|
|
25988
25990
|
g.useEffect(() => {
|
|
25989
25991
|
r(s);
|
|
25990
25992
|
}, [s]);
|
|
@@ -26347,7 +26349,7 @@ const ab = ({ widgets: e, isLoading: n }) => {
|
|
|
26347
26349
|
}, _b = () => {
|
|
26348
26350
|
const [e, n] = g.useState(0), [i, a] = g.useState(""), [o, r] = g.useState(""), s = (f) => {
|
|
26349
26351
|
i !== f ? a(f) : (a(""), r(""));
|
|
26350
|
-
}, { selectedAccountGuids: c } = se(), { visibleHoldings: d } = Fn(), { visibleInvestmentAccounts: _ } =
|
|
26352
|
+
}, { selectedAccountGuids: c } = se(), { visibleHoldings: d } = Fn(), { visibleInvestmentAccounts: _ } = Ce(), {
|
|
26351
26353
|
investments: { allocation: u }
|
|
26352
26354
|
} = x(), h = lb(
|
|
26353
26355
|
_.filter(({ guid: f }) => c.includes(f)),
|
|
@@ -27133,9 +27135,9 @@ const ab = ({ widgets: e, isLoading: n }) => {
|
|
|
27133
27135
|
...qe,
|
|
27134
27136
|
[B]: Me
|
|
27135
27137
|
}));
|
|
27136
|
-
}, { visibleHoldings: ue } = Fn(), { visibleInvestmentAccounts: ye } =
|
|
27138
|
+
}, { visibleHoldings: ue } = Fn(), { visibleInvestmentAccounts: ye } = Ce(), be = ye.filter(
|
|
27137
27139
|
({ guid: B }) => r.includes(B)
|
|
27138
|
-
), ke =
|
|
27140
|
+
), ke = be.reduce((B, ne) => B + (ne.balance || 0), 0), Re = be.map(({ guid: B }) => B), ge = ue.filter(
|
|
27139
27141
|
({ account_guid: B }) => Re.includes(B)
|
|
27140
27142
|
).reduce((B, ne) => {
|
|
27141
27143
|
const Me = ne.market_value ? ne.market_value - (ne.cost_basis || 0) : 0;
|
|
@@ -27144,7 +27146,7 @@ const ab = ({ widgets: e, isLoading: n }) => {
|
|
|
27144
27146
|
o(!1);
|
|
27145
27147
|
};
|
|
27146
27148
|
return f ? /* @__PURE__ */ l(Le, { sx: { alignItems: "center", gap: 48, pt: 48, width: "100%" }, children: [
|
|
27147
|
-
!!
|
|
27149
|
+
!!be.length && /* @__PURE__ */ l(Le, { sx: { alignItems: "center" }, children: [
|
|
27148
27150
|
/* @__PURE__ */ t(C, { sx: { color: "text.secondary" }, children: p.overview.total_portfolio }),
|
|
27149
27151
|
/* @__PURE__ */ t($t, { children: ke.toLocaleString("en-US", {
|
|
27150
27152
|
currency: "USD",
|
|
@@ -27176,7 +27178,7 @@ const ab = ({ widgets: e, isLoading: n }) => {
|
|
|
27176
27178
|
)
|
|
27177
27179
|
] })
|
|
27178
27180
|
] }),
|
|
27179
|
-
|
|
27181
|
+
be.map((B) => {
|
|
27180
27182
|
const ne = ue.filter((ze) => ze.account_guid === B.guid).map((ze) => ({
|
|
27181
27183
|
id: ze.guid,
|
|
27182
27184
|
qty: ze.shares || 0,
|
|
@@ -27523,7 +27525,7 @@ const ab = ({ widgets: e, isLoading: n }) => {
|
|
|
27523
27525
|
)
|
|
27524
27526
|
] }) : /* @__PURE__ */ t(le, {});
|
|
27525
27527
|
}, Sb = T(Ab), Tb = ({ title: e }) => /* @__PURE__ */ t(C, { bold: !0, variant: "Body", children: e }), x2 = T(({ onBackClick: e, sx: n }) => {
|
|
27526
|
-
const { onEvent: i } = X(), { isMobile: a } = me(), { visibleInvestmentAccounts: o } =
|
|
27528
|
+
const { onEvent: i } = X(), { isMobile: a } = me(), { visibleInvestmentAccounts: o } = Ce(), {
|
|
27527
27529
|
visibleHoldings: r,
|
|
27528
27530
|
setShowConnectionsWidget: s,
|
|
27529
27531
|
showConnectionsWidget: c
|
|
@@ -27646,13 +27648,13 @@ const ab = ({ widgets: e, isLoading: n }) => {
|
|
|
27646
27648
|
);
|
|
27647
27649
|
d.push({
|
|
27648
27650
|
guid: "other",
|
|
27649
|
-
color: "",
|
|
27651
|
+
color: i.palette.categories.others || "",
|
|
27650
27652
|
name: n.saving_goal_other,
|
|
27651
27653
|
categoryTotals: u,
|
|
27652
27654
|
amount: h
|
|
27653
27655
|
}), _.push({
|
|
27654
27656
|
id: "other",
|
|
27655
|
-
color: "",
|
|
27657
|
+
color: i.palette.categories.others || "",
|
|
27656
27658
|
label: n.saving_goal_other,
|
|
27657
27659
|
value: h / s * 100
|
|
27658
27660
|
});
|
|
@@ -27854,18 +27856,20 @@ const ab = ({ widgets: e, isLoading: n }) => {
|
|
|
27854
27856
|
] }) })
|
|
27855
27857
|
] }) : /* @__PURE__ */ t(le, { height: 250 });
|
|
27856
27858
|
}, vb = T(wb), Nb = ({ onPrimaryCtaClick: e, sx: n = {} }) => {
|
|
27857
|
-
const {
|
|
27858
|
-
return
|
|
27859
|
+
const { visibleAccounts: i } = Ce(), { spending: a } = x(), { isCopyLoaded: o, isInitialized: r, setSelectedAccounts: s } = se();
|
|
27860
|
+
return g.useEffect(() => {
|
|
27861
|
+
s(i);
|
|
27862
|
+
}, [i]), !o || !r ? /* @__PURE__ */ t(le, {}) : /* @__PURE__ */ t(
|
|
27859
27863
|
Mn,
|
|
27860
27864
|
{
|
|
27861
27865
|
className: "mx-exp-spending-miniwidget",
|
|
27862
27866
|
onPrimaryCtaClick: e,
|
|
27863
|
-
primaryCtaLabel:
|
|
27867
|
+
primaryCtaLabel: a.primary_cta,
|
|
27864
27868
|
sx: n,
|
|
27865
|
-
title:
|
|
27869
|
+
title: a.mini_title,
|
|
27866
27870
|
children: /* @__PURE__ */ t(vb, {})
|
|
27867
27871
|
}
|
|
27868
|
-
)
|
|
27872
|
+
);
|
|
27869
27873
|
}, I2 = T(Nb), Db = ({
|
|
27870
27874
|
data: e,
|
|
27871
27875
|
onSelected: n,
|
|
@@ -28117,7 +28121,7 @@ const ab = ({ widgets: e, isLoading: n }) => {
|
|
|
28117
28121
|
)
|
|
28118
28122
|
] });
|
|
28119
28123
|
}, kb = T(Mb), Gb = ({ onBackClick: e, sx: n = {} }) => {
|
|
28120
|
-
const { visibleAccounts: i } =
|
|
28124
|
+
const { visibleAccounts: i } = Ce(), { spending: a } = x(), { isCopyLoaded: o, isInitialized: r, setDisplayedDate: s, setSelectedAccounts: c } = se(), { onEvent: d } = X(), [_, u] = g.useState(!1);
|
|
28121
28125
|
g.useEffect(() => {
|
|
28122
28126
|
c(i);
|
|
28123
28127
|
}, [i]), g.useEffect(() => {
|
|
@@ -28219,7 +28223,7 @@ export {
|
|
|
28219
28223
|
Or as FinstrongApi,
|
|
28220
28224
|
pp as FinstrongStore,
|
|
28221
28225
|
J4 as FinstrongWidget,
|
|
28222
|
-
|
|
28226
|
+
fe as Frequency,
|
|
28223
28227
|
gi as GlobalCopyApi,
|
|
28224
28228
|
b_ as GlobalCopyStore,
|
|
28225
28229
|
Yn as GlobalDataContext,
|
|
@@ -28273,7 +28277,7 @@ export {
|
|
|
28273
28277
|
K1 as NotificationList,
|
|
28274
28278
|
ta as NotificationSettings,
|
|
28275
28279
|
c2 as NotificationSettingsWidget,
|
|
28276
|
-
|
|
28280
|
+
G1 as NotificationStore,
|
|
28277
28281
|
Nt as NotificationTypes,
|
|
28278
28282
|
cu as ORDINAL_DATE_FORMAT,
|
|
28279
28283
|
T4 as ORDINAL_MONTH_DAY_YEAR_FORMAT,
|
|
@@ -28353,7 +28357,6 @@ export {
|
|
|
28353
28357
|
S as buildDynamicCopy,
|
|
28354
28358
|
R4 as buildPluralCopy,
|
|
28355
28359
|
ac as exportTransactionsToCSV,
|
|
28356
|
-
G1 as filterRecentNotifications,
|
|
28357
28360
|
P as formatCurrency,
|
|
28358
28361
|
oe as formatDate,
|
|
28359
28362
|
bi as formatOrdinal,
|
|
@@ -28371,7 +28374,7 @@ export {
|
|
|
28371
28374
|
o2 as getNotificationDetailRoute,
|
|
28372
28375
|
D4 as isIncome,
|
|
28373
28376
|
Pa as isValidNumber,
|
|
28374
|
-
|
|
28377
|
+
Ce as useAccountStore,
|
|
28375
28378
|
Ft as useAccountUiStore,
|
|
28376
28379
|
Pt as useAppConfig,
|
|
28377
28380
|
ht as useBudgetsStore,
|