@mx-cartographer/experiences 9.5.0 → 9.5.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/CHANGELOG.md +8 -1
- package/dist/accounts/components/AccountListItem.es.js +1 -1
- package/dist/accounts/components/AccountsList.es.js +1 -1
- package/dist/accounts/components/detailsdrawer/Accounts/AccountConnection.es.js +3 -3
- package/dist/accounts/components/detailsdrawer/Accounts/ConnectionErrorMessage.es.js +3 -3
- package/dist/accounts/utils/AccountFields.es.js +11 -11
- package/dist/budgets/BubbleBudgetsMiniWidget.es.js +1 -1
- package/dist/budgets/components/Overview.es.js +1 -1
- package/dist/budgets/components/addbudget/UnbudgetedRow.es.js +4 -4
- package/dist/budgets/components/shared/BudgetDetailsTopSection.es.js +1 -1
- package/dist/cashflow/CashflowOnboarding.es.js +57 -55
- package/dist/cashflow/CashflowOnboarding.es.js.map +1 -1
- package/dist/cashflow/CashflowWidget.es.js +1 -1
- package/dist/cashflow/components/SummaryTab.es.js +1 -1
- package/dist/common/hooks/index.d.ts +1 -0
- package/dist/common/hooks/useRepeatingTransactionEligibility.d.ts +6 -0
- package/dist/common/hooks/useRepeatingTransactionEligibility.es.js +12 -0
- package/dist/common/hooks/useRepeatingTransactionEligibility.es.js.map +1 -0
- package/dist/common/index.es.js +114 -112
- package/dist/core/constants/repeatingTransactions.d.ts +5 -2
- package/dist/core/constants/repeatingTransactions.es.js +24 -9
- package/dist/core/constants/repeatingTransactions.es.js.map +1 -1
- package/dist/core/index.es.js +79 -79
- package/dist/core/stores/AccountStore.es.js +1 -1
- package/dist/core/stores/CashflowStore.es.js +1 -1
- package/dist/core/stores/CategoryStore.es.js +1 -1
- package/dist/core/stores/FinstrongStore.es.js +4 -4
- package/dist/core/stores/GoalStore.es.js +1 -1
- package/dist/core/stores/RecurringTransactionsStore.es.js +9 -9
- package/dist/core/stores/SettingsStore.es.js +7 -7
- package/dist/core/stores/TransactionStore.es.js +13 -13
- package/dist/core/utils/BudgetUtil.es.js +1 -1
- package/dist/core/utils/DateUtil.es.js +5 -5
- package/dist/core/utils/DebtUtils.es.js +6 -6
- package/dist/core/utils/RecurringTransactionsUtil.d.ts +13 -1
- package/dist/core/utils/RecurringTransactionsUtil.es.js +111 -106
- package/dist/core/utils/RecurringTransactionsUtil.es.js.map +1 -1
- package/dist/core/utils/TransactionUtils.es.js +6 -6
- package/dist/debts/DebtsWidget.es.js +1 -1
- package/dist/debts/components/DebtsChart.es.js +4 -4
- package/dist/debts/components/DebtsTable.es.js +6 -6
- package/dist/debts/components/actions/ExtraPaymentAction.es.js +4 -4
- package/dist/debts/components/actions/InterestRateAction.es.js +4 -4
- package/dist/debts/components/actions/MonthlyPaymentAction.es.js +4 -4
- package/dist/debts/components/actions/OriginalBalanceAction.es.js +4 -4
- package/dist/debts/components/debtsdrawer/DebtScheduleTab.es.js +1 -1
- package/dist/finstrong/components/MaintainingEmergencySavings/MaintainingEmergencySavingsContent.es.js +4 -4
- package/dist/finstrong/components/ProfileDrawer.es.js +1 -1
- package/dist/finstrong/components/SaveEnoughToLiveOn/AvailableTabContent.es.js +1 -1
- package/dist/finstrong/components/onboarding/OnboardingStepsDrawer.es.js +106 -104
- package/dist/finstrong/components/onboarding/OnboardingStepsDrawer.es.js.map +1 -1
- package/dist/finstrong/components/shared/Accounts.es.js +4 -4
- package/dist/finstrong/components/shared/Transactions.es.js +4 -4
- package/dist/goals/GoalsWidget.es.js +7 -7
- package/dist/goals/components/AccountSelectionDrawer.es.js +4 -4
- package/dist/goals/components/AddGoal.es.js +1 -1
- package/dist/goals/components/GoalDetailsDrawer.es.js +1 -1
- package/dist/goals/components/ManageGoals.es.js +1 -1
- package/dist/goals/components/actions/ChangeAccountAction.es.js +1 -1
- package/dist/goals/components/managegoals/OngoingListItem.es.js +4 -4
- package/dist/insights/components/shared/DrillDownCalculation/DrillDownCalculation.es.js +1 -1
- package/dist/insights-v2/actionBlocks/TransactionHistoryBlock/TransactionHistoryBlock.es.js +4 -4
- package/dist/insights-v2/blocks/ChartBlocks/BarchartBlock/utils.es.js +1 -1
- package/dist/insights-v2/blocks/ComponentBlocks/BudgetBlock/BudgetBlock.es.js +1 -1
- package/dist/investments/InvestmentsWidget.es.js +7 -7
- package/dist/recurringtransactions/components/RecurringTransactionDetails.es.js +10 -10
- package/dist/recurringtransactions/components/RecurringTransactionDetailsDrawer.es.js +4 -4
- package/dist/recurringtransactions/components/RecurringTransactionList.es.js +10 -10
- package/dist/recurringtransactions/components/actions/LinkTransactionDrawer.es.js +4 -4
- package/dist/recurringtransactions/components/actions/PaymentScheduleAction.es.js +6 -6
- package/dist/recurringtransactions/components/shared/recurringsettings/AddRecurringTransaction.es.js +45 -43
- package/dist/recurringtransactions/components/shared/recurringsettings/AddRecurringTransaction.es.js.map +1 -1
- package/dist/recurringtransactions/components/shared/recurringsettings/ManageExpenses.es.js +1 -1
- package/dist/recurringtransactions/components/shared/recurringsettings/ManageIncome.es.js +1 -1
- package/dist/recurringtransactions/components/shared/recurringsettings/RecurringRow.es.js +6 -6
- package/dist/recurringtransactions/components/shared/recurringsettings/SelectTransaction.d.ts +7 -1
- package/dist/recurringtransactions/components/shared/recurringsettings/SelectTransaction.es.js +15 -16
- package/dist/recurringtransactions/components/shared/recurringsettings/SelectTransaction.es.js.map +1 -1
- package/dist/settings/components/devices/DeviceList.es.js +1 -1
- package/dist/settings/components/devices/DeviceTable.es.js +1 -1
- package/dist/settings/components/notifications/AccountProfileListItem.es.js +5 -5
- package/dist/settings/components/notifications/NotificationSettings.es.js +1 -1
- package/dist/spending/components/SpendingDonut.es.js +1 -1
- package/dist/transactions/components/shared/TransactionDetails.es.js +8 -8
- package/dist/transactions/components/shared/TransactionList.es.js +4 -4
- package/dist/transactions/components/shared/transactiondetails/actions/AddMerchantBudgetAction.es.js +1 -1
- package/dist/transactions/components/shared/transactiondetails/actions/DateAction.es.js +6 -6
- package/dist/transactions/components/splitmanager/SplitManager.es.js +4 -4
- package/dist/transactions/utils/Transactions.es.js +1 -1
- package/dist/trends/components/CategoriesListItem.es.js +4 -4
- package/dist/trends/components/CategoryDetails.es.js +6 -6
- package/dist/trends/components/TrendsChart.es.js +1 -1
- package/package.json +2 -2
package/dist/common/index.es.js
CHANGED
|
@@ -1,135 +1,136 @@
|
|
|
1
1
|
import { buildDynamicCopy as r, buildPluralCopy as t } from "../core/utils/Localization.es.js";
|
|
2
|
-
import
|
|
2
|
+
import i, { CalendarSelectionTypes as m } from "./components/calendar/Calendar.es.js";
|
|
3
3
|
import a from "./components/charts/StatusBar.es.js";
|
|
4
4
|
import p from "./components/charts/Donut.es.js";
|
|
5
5
|
import u from "./hooks/useAccountDisplayName.es.js";
|
|
6
6
|
import { useCombineEvents as C, useCombinePageviews as S } from "./hooks/useCombineEvents.es.js";
|
|
7
7
|
import { GlobalDataContext as c, GlobalDataProvider as T } from "./context/GlobalDataProvider.es.js";
|
|
8
8
|
import { WidgetContainerContext as E, WidgetContainerProvider as D } from "./context/WidgetContainerProvider.es.js";
|
|
9
|
-
import { useAccountStore as _, useActionContext as N, useAppConfig as
|
|
9
|
+
import { useAccountStore as _, useActionContext as N, useAppConfig as y, useBudgetsStore as A, useCashflowStore as b, useCategoryStore as P, useDebtStore as O, useError as G, useEvent as W, useFinstrongStore as L, useGlobalCopyStore as R, useGlobalStore as U, useGlobalUiStore as v, useGoalStore as B, useHelpStore as h, useHoldingStore as w, useInsightsV2Store as x, useLoad as M, useMerchantStore as Y, useNetWorthStore as H, useNotificationStore as F, usePageView as z, useRecurringTransactionsStore as V, useSettingsStore as Z, useTransactionStore as k, useTrendsStore as q, useUserStore as K, useWidgetContainerProvider as j } from "./context/hooks.es.js";
|
|
10
10
|
import { useInsightsEnabled as Q } from "./hooks/useInsightsEnabled.es.js";
|
|
11
11
|
import { useScreenSize as $ } from "./hooks/useScreenSize.es.js";
|
|
12
12
|
import ro from "./hooks/usePrevious.es.js";
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import
|
|
18
|
-
import
|
|
19
|
-
import
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import zo from "./
|
|
28
|
-
import Zo from "./components/donuts/
|
|
29
|
-
import qo from "./components/
|
|
30
|
-
import jo from "./components/
|
|
31
|
-
import Qo from "./components/
|
|
32
|
-
import $o from "./components/
|
|
33
|
-
import
|
|
34
|
-
import er from "./components/
|
|
35
|
-
import
|
|
36
|
-
import ar from "./components/
|
|
37
|
-
import pr from "./components/
|
|
38
|
-
import ur from "./components/
|
|
39
|
-
import Cr from "./components/
|
|
40
|
-
import gr from "./components/
|
|
41
|
-
import Tr from "./components/
|
|
42
|
-
import Er from "./components/
|
|
43
|
-
import Ir from "./components/
|
|
44
|
-
import Nr from "./components/
|
|
45
|
-
import
|
|
46
|
-
import
|
|
47
|
-
import
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
13
|
+
import { formatCurrency as eo, formatOrdinal as io, formatPercentage as mo, generateEqualIntervals as no, getCurrencyCodes as ao, getPluralRules as so } from "../core/utils/NumberFormatting.es.js";
|
|
14
|
+
import { useRepeatingTransactionEligibility as fo } from "./hooks/useRepeatingTransactionEligibility.es.js";
|
|
15
|
+
import { useWidgetHeaderStyles as lo } from "./hooks/useWidgetHeaderStyles.es.js";
|
|
16
|
+
import { useWidgetLoadTimer as So } from "./hooks/useWidgetLoadTimer.es.js";
|
|
17
|
+
import co from "./components/dialog/Dialog.es.js";
|
|
18
|
+
import Eo from "./components/drawer/Drawer.es.js";
|
|
19
|
+
import Io from "./components/daterangeselector/DateRangeSelector.es.js";
|
|
20
|
+
import { ANALYTICS_EVENTS as No } from "./constants/Analytics.es.js";
|
|
21
|
+
import { CONNECTIONS_WIDGET_ID as Ao, CONNECT_WIDGET_ID as bo, MemberConnectionStatus as Po } from "./constants/Connect.es.js";
|
|
22
|
+
import { GlobalStore as Go } from "../core/stores/GlobalStore.es.js";
|
|
23
|
+
import { INCOME_ACCOUNT_TYPES as Lo, PAYMENT_ACCOUNT_TYPES as Ro, SPENDING_ACCOUNT_TYPES as Uo } from "./constants/Account.es.js";
|
|
24
|
+
import { RECURRENCE_COPY as Bo } from "./constants/ScheduledPayment.es.js";
|
|
25
|
+
import { LOADING_STATUS as wo } from "./constants/SpendingPlan.es.js";
|
|
26
|
+
import { DEFAULT_DONUT_SIZE as Mo, DEFAULT_STROKE_WIDTH as Yo } from "./constants/Donut.es.js";
|
|
27
|
+
import { Sizes as Fo, TOUCH_TARGET as zo } from "./constants/Sizes.es.js";
|
|
28
|
+
import Zo from "./components/donuts/MultiSegmentDonut.es.js";
|
|
29
|
+
import qo from "./components/donuts/SingleSegmentDonut.es.js";
|
|
30
|
+
import jo from "./components/ErrorBoundary.es.js";
|
|
31
|
+
import Qo from "./components/Error.es.js";
|
|
32
|
+
import $o from "./components/MicroWidgetContainer.es.js";
|
|
33
|
+
import rr from "./components/MiniWidgetContainer.es.js";
|
|
34
|
+
import { GlobalAccountFilter as er } from "./components/GlobalAccountFilter.es.js";
|
|
35
|
+
import mr from "./components/Loader.es.js";
|
|
36
|
+
import { WidgetContainer as ar } from "./components/WidgetContainer.es.js";
|
|
37
|
+
import pr from "./components/ConnectDrawer.es.js";
|
|
38
|
+
import ur from "./components/CurrencyDialog.es.js";
|
|
39
|
+
import Cr from "./components/CurrencyInput.es.js";
|
|
40
|
+
import gr from "./components/ResponsiveButton.es.js";
|
|
41
|
+
import Tr from "./components/SearchBox.es.js";
|
|
42
|
+
import Er from "./components/SelectionBox.es.js";
|
|
43
|
+
import Ir from "./components/TabContentContainer.es.js";
|
|
44
|
+
import Nr from "./components/IconBacking.es.js";
|
|
45
|
+
import Ar from "./components/DataRow.es.js";
|
|
46
|
+
import Pr from "./components/ZeroState.es.js";
|
|
47
|
+
import Gr from "./components/InformationTooltip.es.js";
|
|
48
|
+
import { ConnectCard as Lr } from "./components/ConnectCard.es.js";
|
|
49
|
+
import { CurrencyText as Ur } from "./components/CurrencyText.es.js";
|
|
50
|
+
import { EmptyState as Br } from "./components/EmptyState.es.js";
|
|
51
|
+
import { ListItemAction as wr } from "./components/ListItemAction.es.js";
|
|
52
|
+
import { ListItemRow as Mr } from "./components/ListItemRow.es.js";
|
|
53
|
+
import { ListItemWrapper as Hr } from "./components/ListItemWrapper.es.js";
|
|
54
|
+
import { Select as zr } from "./components/Select.es.js";
|
|
55
|
+
import { ToggleButtonListItem as Zr } from "./components/listitems/ToggleButtonListItem.es.js";
|
|
56
|
+
import { ToggleListItem as qr } from "./components/listitems/ToggleListItem.es.js";
|
|
57
|
+
import { analyticsSession as jr } from "./utils/Analytics.es.js";
|
|
58
|
+
import { getClientComponentOverrides as Qr, getClientCustomizations as Xr, getClientPaletteOptions as $r, getClientTheme as ot } from "./utils/Theme.es.js";
|
|
58
59
|
export {
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
60
|
+
No as ANALYTICS_EVENTS,
|
|
61
|
+
Ao as CONNECTIONS_WIDGET_ID,
|
|
62
|
+
bo as CONNECT_WIDGET_ID,
|
|
63
|
+
i as Calendar,
|
|
64
|
+
m as CalendarSelectionTypes,
|
|
65
|
+
Lr as ConnectCard,
|
|
66
|
+
pr as ConnectDrawer,
|
|
67
|
+
ur as CurrencyDialog,
|
|
68
|
+
Cr as CurrencyInput,
|
|
69
|
+
Ur as CurrencyText,
|
|
70
|
+
Mo as DEFAULT_DONUT_SIZE,
|
|
71
|
+
Yo as DEFAULT_STROKE_WIDTH,
|
|
72
|
+
Ar as DataRow,
|
|
73
|
+
Io as DateRangeSelector,
|
|
74
|
+
co as Dialog,
|
|
74
75
|
p as Donut,
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
76
|
+
Eo as Drawer,
|
|
77
|
+
Br as EmptyState,
|
|
78
|
+
Qo as Error,
|
|
79
|
+
jo as ErrorBoundary,
|
|
80
|
+
er as GlobalAccountFilter,
|
|
80
81
|
c as GlobalDataContext,
|
|
81
82
|
T as GlobalDataProvider,
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
83
|
+
Go as GlobalStore,
|
|
84
|
+
Lo as INCOME_ACCOUNT_TYPES,
|
|
85
|
+
Nr as IconBacking,
|
|
86
|
+
Gr as InformationTooltip,
|
|
87
|
+
wo as LOADING_STATUS,
|
|
88
|
+
wr as ListItemAction,
|
|
89
|
+
Mr as ListItemRow,
|
|
90
|
+
Hr as ListItemWrapper,
|
|
91
|
+
mr as Loader,
|
|
92
|
+
Po as MemberConnectionStatus,
|
|
93
|
+
$o as MicroWidgetContainer,
|
|
94
|
+
rr as MiniWidgetContainer,
|
|
95
|
+
Zo as MultiSegmentDonut,
|
|
96
|
+
Ro as PAYMENT_ACCOUNT_TYPES,
|
|
97
|
+
Bo as RECURRENCE_COPY,
|
|
98
|
+
gr as ResponsiveButton,
|
|
99
|
+
Uo as SPENDING_ACCOUNT_TYPES,
|
|
100
|
+
Tr as SearchBox,
|
|
101
|
+
zr as Select,
|
|
102
|
+
Er as SelectionBox,
|
|
103
|
+
qo as SingleSegmentDonut,
|
|
104
|
+
Fo as Sizes,
|
|
104
105
|
a as StatusBar,
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
106
|
+
zo as TOUCH_TARGET,
|
|
107
|
+
Ir as TabContentContainer,
|
|
108
|
+
Zr as ToggleButtonListItem,
|
|
109
|
+
qr as ToggleListItem,
|
|
110
|
+
ar as WidgetContainer,
|
|
110
111
|
E as WidgetContainerContext,
|
|
111
112
|
D as WidgetContainerProvider,
|
|
112
|
-
|
|
113
|
-
|
|
113
|
+
Pr as ZeroState,
|
|
114
|
+
jr as analyticsSession,
|
|
114
115
|
r as buildDynamicCopy,
|
|
115
116
|
t as buildPluralCopy,
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
117
|
+
eo as formatCurrency,
|
|
118
|
+
io as formatOrdinal,
|
|
119
|
+
mo as formatPercentage,
|
|
120
|
+
no as generateEqualIntervals,
|
|
121
|
+
Qr as getClientComponentOverrides,
|
|
122
|
+
Xr as getClientCustomizations,
|
|
123
|
+
$r as getClientPaletteOptions,
|
|
124
|
+
ot as getClientTheme,
|
|
125
|
+
ao as getCurrencyCodes,
|
|
126
|
+
so as getPluralRules,
|
|
126
127
|
u as useAccountDisplayName,
|
|
127
128
|
_ as useAccountStore,
|
|
128
129
|
N as useActionContext,
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
130
|
+
y as useAppConfig,
|
|
131
|
+
A as useBudgetsStore,
|
|
132
|
+
b as useCashflowStore,
|
|
133
|
+
P as useCategoryStore,
|
|
133
134
|
C as useCombineEvents,
|
|
134
135
|
S as useCombinePageviews,
|
|
135
136
|
O as useDebtStore,
|
|
@@ -151,12 +152,13 @@ export {
|
|
|
151
152
|
z as usePageView,
|
|
152
153
|
ro as usePrevious,
|
|
153
154
|
V as useRecurringTransactionsStore,
|
|
155
|
+
fo as useRepeatingTransactionEligibility,
|
|
154
156
|
$ as useScreenSize,
|
|
155
157
|
Z as useSettingsStore,
|
|
156
158
|
k as useTransactionStore,
|
|
157
159
|
q as useTrendsStore,
|
|
158
160
|
K as useUserStore,
|
|
159
161
|
j as useWidgetContainerProvider,
|
|
160
|
-
|
|
161
|
-
|
|
162
|
+
lo as useWidgetHeaderStyles,
|
|
163
|
+
So as useWidgetLoadTimer
|
|
162
164
|
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { AccountType } from '../types/Account';
|
|
1
2
|
export declare enum RecurrenceTypes {
|
|
2
3
|
Unknown = 0,
|
|
3
4
|
EveryWeek = 1,
|
|
@@ -11,6 +12,8 @@ export declare enum RecurrenceTypes {
|
|
|
11
12
|
export declare const MainClassGuids: {
|
|
12
13
|
readonly PAYROLL: "MNC-bfc102ab-d4c3-41a7-9cf6-fdbf2e1ed7ea";
|
|
13
14
|
readonly PAYROLL_QA: "MNC-cc857751-2758-4f50-bdfe-d1210f40a155";
|
|
15
|
+
readonly PAYROLL_SAND: "MNC-404e437a-5472-4501-b781-28a718005e71";
|
|
14
16
|
};
|
|
15
|
-
export declare const ALLOWED_MERCHANTLESS_BILL_CATEGORIES: readonly [
|
|
16
|
-
export declare const ALLOWED_MERCHANTLESS_INCOME_MAIN_CLASSES: readonly [
|
|
17
|
+
export declare const ALLOWED_MERCHANTLESS_BILL_CATEGORIES: readonly string[];
|
|
18
|
+
export declare const ALLOWED_MERCHANTLESS_INCOME_MAIN_CLASSES: readonly string[];
|
|
19
|
+
export declare const VALID_REPEATING_TRANSACTION_ACCOUNT_TYPES: readonly AccountType[];
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { CategoryGuids as L } from "./Category.es.js";
|
|
2
|
-
|
|
2
|
+
import { AccountType as A } from "../types/Account.es.js";
|
|
3
|
+
var N = /* @__PURE__ */ (function(E) {
|
|
3
4
|
return 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;
|
|
4
|
-
})({}),
|
|
5
|
+
})({}), I = {
|
|
5
6
|
PAYROLL: "MNC-bfc102ab-d4c3-41a7-9cf6-fdbf2e1ed7ea",
|
|
6
|
-
PAYROLL_QA: "MNC-cc857751-2758-4f50-bdfe-d1210f40a155"
|
|
7
|
-
|
|
7
|
+
PAYROLL_QA: "MNC-cc857751-2758-4f50-bdfe-d1210f40a155",
|
|
8
|
+
PAYROLL_SAND: "MNC-404e437a-5472-4501-b781-28a718005e71"
|
|
9
|
+
}, C = [
|
|
8
10
|
L.MORTGAGE_RENT,
|
|
9
11
|
L.BILLS_AND_UTILITIES,
|
|
10
12
|
L.HOME_PHONE,
|
|
@@ -12,12 +14,25 @@ var v = /* @__PURE__ */ (function(E) {
|
|
|
12
14
|
L.MOBILE_PHONE,
|
|
13
15
|
L.TELEVISION,
|
|
14
16
|
L.UTILITIES
|
|
15
|
-
],
|
|
17
|
+
], t = [
|
|
18
|
+
I.PAYROLL,
|
|
19
|
+
I.PAYROLL_QA,
|
|
20
|
+
I.PAYROLL_SAND
|
|
21
|
+
], a = [
|
|
22
|
+
A.CHECKING,
|
|
23
|
+
A.SAVINGS,
|
|
24
|
+
A.CREDIT_CARD,
|
|
25
|
+
A.LINE_OF_CREDIT,
|
|
26
|
+
A.CASH,
|
|
27
|
+
A.PREPAID,
|
|
28
|
+
A.CHECKING_LINE_OF_CREDIT
|
|
29
|
+
];
|
|
16
30
|
export {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
31
|
+
C as ALLOWED_MERCHANTLESS_BILL_CATEGORIES,
|
|
32
|
+
t as ALLOWED_MERCHANTLESS_INCOME_MAIN_CLASSES,
|
|
33
|
+
I as MainClassGuids,
|
|
34
|
+
N as RecurrenceTypes,
|
|
35
|
+
a as VALID_REPEATING_TRANSACTION_ACCOUNT_TYPES
|
|
21
36
|
};
|
|
22
37
|
|
|
23
38
|
//# sourceMappingURL=repeatingTransactions.es.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"repeatingTransactions.es.js","names":[],"sources":["../../../src/core/constants/repeatingTransactions.ts"],"sourcesContent":["import { CategoryGuids } from './Category'\n\nexport enum RecurrenceTypes {\n Unknown = 0,\n EveryWeek = 1,\n EveryOtherWeek = 2,\n EveryMonth = 3,\n EveryOtherMonth = 4,\n EveryQuarter = 5,\n EveryOtherQuarter = 6,\n EveryYear = 7,\n}\n\nexport const MainClassGuids = {\n PAYROLL: 'MNC-bfc102ab-d4c3-41a7-9cf6-fdbf2e1ed7ea',\n PAYROLL_QA: 'MNC-cc857751-2758-4f50-bdfe-d1210f40a155',\n} as const\n\nexport const ALLOWED_MERCHANTLESS_BILL_CATEGORIES = [\n CategoryGuids.MORTGAGE_RENT,\n CategoryGuids.BILLS_AND_UTILITIES,\n CategoryGuids.HOME_PHONE,\n CategoryGuids.INTERNET,\n CategoryGuids.MOBILE_PHONE,\n CategoryGuids.TELEVISION,\n CategoryGuids.UTILITIES,\n]
|
|
1
|
+
{"version":3,"file":"repeatingTransactions.es.js","names":[],"sources":["../../../src/core/constants/repeatingTransactions.ts"],"sourcesContent":["import { AccountType } from '../types/Account'\n\nimport { CategoryGuids } from './Category'\n\nexport enum RecurrenceTypes {\n Unknown = 0,\n EveryWeek = 1,\n EveryOtherWeek = 2,\n EveryMonth = 3,\n EveryOtherMonth = 4,\n EveryQuarter = 5,\n EveryOtherQuarter = 6,\n EveryYear = 7,\n}\n\nexport const MainClassGuids = {\n PAYROLL: 'MNC-bfc102ab-d4c3-41a7-9cf6-fdbf2e1ed7ea',\n PAYROLL_QA: 'MNC-cc857751-2758-4f50-bdfe-d1210f40a155',\n PAYROLL_SAND: 'MNC-404e437a-5472-4501-b781-28a718005e71',\n} as const\n\nexport const ALLOWED_MERCHANTLESS_BILL_CATEGORIES: readonly string[] = [\n CategoryGuids.MORTGAGE_RENT,\n CategoryGuids.BILLS_AND_UTILITIES,\n CategoryGuids.HOME_PHONE,\n CategoryGuids.INTERNET,\n CategoryGuids.MOBILE_PHONE,\n CategoryGuids.TELEVISION,\n CategoryGuids.UTILITIES,\n]\n\nexport const ALLOWED_MERCHANTLESS_INCOME_MAIN_CLASSES: readonly string[] = [\n MainClassGuids.PAYROLL,\n MainClassGuids.PAYROLL_QA,\n MainClassGuids.PAYROLL_SAND,\n]\n\n// Mirrors Sherlock::Recurrence::VALID_ACCOUNT_TYPES — only transaction-bearing deposit/credit\n// accounts can produce recurrences.\nexport const VALID_REPEATING_TRANSACTION_ACCOUNT_TYPES: readonly AccountType[] = [\n AccountType.CHECKING,\n AccountType.SAVINGS,\n AccountType.CREDIT_CARD,\n AccountType.LINE_OF_CREDIT,\n AccountType.CASH,\n AccountType.PREPAID,\n AccountType.CHECKING_LINE_OF_CREDIT,\n]\n"],"mappings":";;AAIA,IAAY,IAAL,0BAAA,GAAA;AACL,SAAA,EAAA,EAAA,UAAA,CAAA,IAAA,WACA,EAAA,EAAA,YAAA,CAAA,IAAA,aACA,EAAA,EAAA,iBAAA,CAAA,IAAA,kBACA,EAAA,EAAA,aAAA,CAAA,IAAA,cACA,EAAA,EAAA,kBAAA,CAAA,IAAA,mBACA,EAAA,EAAA,eAAA,CAAA,IAAA,gBACA,EAAA,EAAA,oBAAA,CAAA,IAAA,qBACA,EAAA,EAAA,YAAA,CAAA,IAAA;AACF,GAAA,CAAA,CAAA,GAEa,IAAiB;AAAA,EAC5B,SAAS;AAAA,EACT,YAAY;AAAA,EACZ,cAAc;AAChB,GAEa,IAA0D;AAAA,EACrE,EAAc;AAAA,EACd,EAAc;AAAA,EACd,EAAc;AAAA,EACd,EAAc;AAAA,EACd,EAAc;AAAA,EACd,EAAc;AAAA,EACd,EAAc;AAChB,GAEa,IAA8D;AAAA,EACzE,EAAe;AAAA,EACf,EAAe;AAAA,EACf,EAAe;AACjB,GAIa,IAAoE;AAAA,EAC/E,EAAY;AAAA,EACZ,EAAY;AAAA,EACZ,EAAY;AAAA,EACZ,EAAY;AAAA,EACZ,EAAY;AAAA,EACZ,EAAY;AAAA,EACZ,EAAY;AACd"}
|
package/dist/core/index.es.js
CHANGED
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import { LOCALES as r, VALID_LOCALES as t, buildDynamicCopy as i, getLocale as m } from "./utils/Localization.es.js";
|
|
2
2
|
import { Fetch as p } from "./utils/Fetch.es.js";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
3
|
+
import { AccountIcon as a, AccountIconVariants as f, AccountSubType as c, AccountType as s, AccountTypeName as S, ConnectionStatus as A, ConnectionStatusEnums as u, ErrorStatuses as y, MfaStatuses as T, NonConnectedStatuses as l, ProcessingStatuses as g, PropertyType as d, PropertyTypeName as C, StatusName as N } from "./types/Account.es.js";
|
|
4
|
+
import { UserVerification as b } from "./types/Beat.es.js";
|
|
5
|
+
import { ExpenseStatus as B, ScheduledPaymentTypes as L } from "./types/Expense.es.js";
|
|
6
|
+
import { GoalType as E, MetaType as I, TrackType as P } from "./types/Goal.es.js";
|
|
7
|
+
import { AccountNotificationTypes as F, BudgetNotificationTypes as H, InsightNotificationTypes as M, NotificationTypes as U } from "./types/Notification.es.js";
|
|
8
|
+
import { TransactionStatus as x, TransactionType as O } from "./types/Transaction.es.js";
|
|
9
|
+
import { ScreenSize as k } from "./types/ScreenSize.es.js";
|
|
10
|
+
import { Frequency as w, RecurrenceStatus as z, RecurrenceType as _, RepeatingType as j } from "./types/RepeatingTransaction.es.js";
|
|
11
|
+
import { AccountApi as J } from "./api/AccountApi.es.js";
|
|
12
|
+
import { AnalyticsApi as Q } from "./api/AnalyticsApi.es.js";
|
|
13
|
+
import { AppDataApi as Y } from "./api/AppDataApi.es.js";
|
|
14
|
+
import { BannerApi as $ } from "./api/BannerApi.es.js";
|
|
15
|
+
import { BeatApi as ro } from "./api/BeatApi.es.js";
|
|
16
|
+
import { BudgetsApi as io } from "./api/BudgetsApi.es.js";
|
|
17
|
+
import { CategoryApi as eo } from "./api/CategoryApi.es.js";
|
|
18
|
+
import { FinstrongApi as no } from "./api/FinstrongApi.es.js";
|
|
19
|
+
import { GlobalCopyApi as fo } from "./api/GlobalCopyApi.es.js";
|
|
20
|
+
import { GoalApi as so } from "./api/GoalApi.es.js";
|
|
21
|
+
import { HelpApi as Ao } from "./api/HelpApi.es.js";
|
|
22
|
+
import { HoldingApi as yo } from "./api/HoldingApi.es.js";
|
|
23
|
+
import { MerchantApi as lo } from "./api/MerchantApi.es.js";
|
|
24
|
+
import { NotificationApi as Co } from "./api/NotificationApi.es.js";
|
|
25
|
+
import { RepeatingTransactionsApi as ho } from "./api/RepeatingTransactionsApi.es.js";
|
|
26
|
+
import { ScheduledPaymentsApi as Go } from "./api/ScheduledPaymentsApi.es.js";
|
|
27
|
+
import { SettingsApi as Lo } from "./api/SettingsApi.es.js";
|
|
28
|
+
import { TransactionApi as Eo } from "./api/TransactionApi.es.js";
|
|
29
|
+
import { UserApi as Po } from "./api/UserApi.es.js";
|
|
30
|
+
import { WidgetApi as Fo } from "./api/WidgetApi.es.js";
|
|
31
31
|
import { AccountStore as Mo } from "./stores/AccountStore.es.js";
|
|
32
32
|
import { AppDataStore as Vo } from "./stores/AppDataStore.es.js";
|
|
33
33
|
import { AnalyticsStore as Oo } from "./stores/AnalyticsStore.es.js";
|
|
@@ -54,85 +54,85 @@ import { TransactionStore as Gr } from "./stores/TransactionStore.es.js";
|
|
|
54
54
|
import { TrendsStore as Lr } from "./stores/TrendsStore.es.js";
|
|
55
55
|
import { UserStore as Er } from "./stores/UserStore.es.js";
|
|
56
56
|
export {
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
57
|
+
J as AccountApi,
|
|
58
|
+
a as AccountIcon,
|
|
59
|
+
f as AccountIconVariants,
|
|
60
|
+
F as AccountNotificationTypes,
|
|
61
61
|
Mo as AccountStore,
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
62
|
+
c as AccountSubType,
|
|
63
|
+
s as AccountType,
|
|
64
|
+
S as AccountTypeName,
|
|
65
|
+
Q as AnalyticsApi,
|
|
66
66
|
Oo as AnalyticsStore,
|
|
67
|
-
|
|
67
|
+
Y as AppDataApi,
|
|
68
68
|
Vo as AppDataStore,
|
|
69
|
-
|
|
70
|
-
|
|
69
|
+
$ as BannerApi,
|
|
70
|
+
ro as BeatApi,
|
|
71
71
|
ko as BeatStore,
|
|
72
|
-
|
|
73
|
-
|
|
72
|
+
H as BudgetNotificationTypes,
|
|
73
|
+
io as BudgetsApi,
|
|
74
74
|
wo as BudgetsStore,
|
|
75
75
|
_o as CashflowStore,
|
|
76
|
-
|
|
76
|
+
eo as CategoryApi,
|
|
77
77
|
vo as CategoryStore,
|
|
78
78
|
Ko as ConnectStore,
|
|
79
|
-
|
|
80
|
-
|
|
79
|
+
A as ConnectionStatus,
|
|
80
|
+
u as ConnectionStatusEnums,
|
|
81
81
|
Xo as DebtsStore,
|
|
82
|
-
|
|
83
|
-
|
|
82
|
+
y as ErrorStatuses,
|
|
83
|
+
B as ExpenseStatus,
|
|
84
84
|
p as Fetch,
|
|
85
|
-
|
|
85
|
+
no as FinstrongApi,
|
|
86
86
|
Zo as FinstrongStore,
|
|
87
|
-
|
|
88
|
-
|
|
87
|
+
w as Frequency,
|
|
88
|
+
fo as GlobalCopyApi,
|
|
89
89
|
mr as GlobalCopyStore,
|
|
90
90
|
or as GlobalStore,
|
|
91
91
|
tr as GlobalUiStore,
|
|
92
|
-
|
|
92
|
+
so as GoalApi,
|
|
93
93
|
pr as GoalStore,
|
|
94
|
-
|
|
95
|
-
|
|
94
|
+
E as GoalType,
|
|
95
|
+
Ao as HelpApi,
|
|
96
96
|
ar as HelpStore,
|
|
97
|
-
|
|
97
|
+
yo as HoldingApi,
|
|
98
98
|
cr as HoldingStore,
|
|
99
|
-
|
|
99
|
+
M as InsightNotificationTypes,
|
|
100
100
|
Sr as InsightsV2Store,
|
|
101
101
|
r as LOCALES,
|
|
102
|
-
|
|
102
|
+
lo as MerchantApi,
|
|
103
103
|
ur as MerchantStore,
|
|
104
|
-
|
|
105
|
-
|
|
104
|
+
I as MetaType,
|
|
105
|
+
T as MfaStatuses,
|
|
106
106
|
Tr as NetWorthStore,
|
|
107
|
-
|
|
108
|
-
|
|
107
|
+
l as NonConnectedStatuses,
|
|
108
|
+
Co as NotificationApi,
|
|
109
109
|
gr as NotificationStore,
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
110
|
+
U as NotificationTypes,
|
|
111
|
+
g as ProcessingStatuses,
|
|
112
|
+
d as PropertyType,
|
|
113
|
+
C as PropertyTypeName,
|
|
114
|
+
z as RecurrenceStatus,
|
|
115
|
+
_ as RecurrenceType,
|
|
116
116
|
Cr as RecurringTransactionsStore,
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
117
|
+
ho as RepeatingTransactionsApi,
|
|
118
|
+
j as RepeatingType,
|
|
119
|
+
L as ScheduledPaymentTypes,
|
|
120
|
+
Go as ScheduledPaymentsApi,
|
|
121
|
+
k as ScreenSize,
|
|
122
|
+
Lo as SettingsApi,
|
|
123
123
|
hr as SettingsStore,
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
124
|
+
N as StatusName,
|
|
125
|
+
P as TrackType,
|
|
126
|
+
Eo as TransactionApi,
|
|
127
|
+
x as TransactionStatus,
|
|
128
128
|
Gr as TransactionStore,
|
|
129
|
-
|
|
129
|
+
O as TransactionType,
|
|
130
130
|
Lr as TrendsStore,
|
|
131
|
-
|
|
131
|
+
Po as UserApi,
|
|
132
132
|
Er as UserStore,
|
|
133
|
-
|
|
133
|
+
b as UserVerification,
|
|
134
134
|
t as VALID_LOCALES,
|
|
135
|
-
|
|
135
|
+
Fo as WidgetApi,
|
|
136
136
|
i as buildDynamicCopy,
|
|
137
137
|
m as getLocale
|
|
138
138
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { AccountSubType as a, AccountType as c } from "../types/Account.es.js";
|
|
1
2
|
import { AccountApi as h } from "../api/AccountApi.es.js";
|
|
2
3
|
import { upsertByGuid as p } from "../utils/upsertByGuid.es.js";
|
|
3
|
-
import { AccountSubType as a, AccountType as c } from "../types/Account.es.js";
|
|
4
4
|
import { augmentAccounts as g } from "../utils/AccountUtils.es.js";
|
|
5
5
|
import { isFeatureEnabled as m } from "../utils/UserUtils.es.js";
|
|
6
6
|
import { makeAutoObservable as A, runInAction as d } from "mobx";
|
|
@@ -3,8 +3,8 @@ import { addDays as s } from "date-fns/addDays";
|
|
|
3
3
|
import { endOfMonth as i } from "date-fns/endOfMonth";
|
|
4
4
|
import { isBefore as c } from "date-fns/isBefore";
|
|
5
5
|
import { startOfToday as o } from "date-fns/startOfToday";
|
|
6
|
-
import { makeAutoObservable as r } from "mobx";
|
|
7
6
|
import { differenceInDays as l } from "date-fns/differenceInDays";
|
|
7
|
+
import { makeAutoObservable as r } from "mobx";
|
|
8
8
|
var f = class {
|
|
9
9
|
globalStore;
|
|
10
10
|
uiStore;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CategoryGuidToName as T, CategoryGuids as n } from "../constants/Category.es.js";
|
|
2
|
+
import { toUnixUTC as l } from "../utils/DateUtil.es.js";
|
|
2
3
|
import { CategoryApi as d } from "../api/CategoryApi.es.js";
|
|
3
4
|
import { augmentCategories as C, getDetailedCategoryTransactions as f } from "../utils/CategoryUtil.es.js";
|
|
4
|
-
import { toUnixUTC as l } from "../utils/DateUtil.es.js";
|
|
5
5
|
import { endOfMonth as h } from "date-fns/endOfMonth";
|
|
6
6
|
import { startOfMonth as p } from "date-fns/startOfMonth";
|
|
7
7
|
import { subMonths as c } from "date-fns/subMonths";
|
|
@@ -2,9 +2,9 @@ import { FinstrongApi as o } from "../api/FinstrongApi.es.js";
|
|
|
2
2
|
import { augmentChartData as s, augmentSpendingFeeTransactions as i } from "../utils/FinstrongUtils.es.js";
|
|
3
3
|
import { format as c } from "date-fns/format";
|
|
4
4
|
import { subMonths as h } from "date-fns/subMonths";
|
|
5
|
-
import {
|
|
6
|
-
import { fromUnixTime as g } from "date-fns/fromUnixTime";
|
|
5
|
+
import { fromUnixTime as l } from "date-fns/fromUnixTime";
|
|
7
6
|
import { getUnixTime as n } from "date-fns/getUnixTime";
|
|
7
|
+
import { makeAutoObservable as g, runInAction as r } from "mobx";
|
|
8
8
|
var b = class {
|
|
9
9
|
api = new o("/", "");
|
|
10
10
|
augmentedChartData = [];
|
|
@@ -22,7 +22,7 @@ var b = class {
|
|
|
22
22
|
isSpendingInitialized = !1;
|
|
23
23
|
isIncomeInitialized = !1;
|
|
24
24
|
constructor(e) {
|
|
25
|
-
this.globalStore = e, this.api = new o(e.endpoint, e.sessionToken, e.onError),
|
|
25
|
+
this.globalStore = e, this.api = new o(e.endpoint, e.sessionToken, e.onError), g(this);
|
|
26
26
|
}
|
|
27
27
|
setSpendingInitialized = (e) => {
|
|
28
28
|
this.isSpendingInitialized = e;
|
|
@@ -94,7 +94,7 @@ var b = class {
|
|
|
94
94
|
}
|
|
95
95
|
};
|
|
96
96
|
loadPeerScore = async () => {
|
|
97
|
-
const e = c(
|
|
97
|
+
const e = c(l(this.globalStore.appDataStore.user.birthday), "yyyy");
|
|
98
98
|
try {
|
|
99
99
|
const t = await this.api.getPeerScore(e);
|
|
100
100
|
r(() => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { TrackType as a } from "../types/Goal.es.js";
|
|
1
2
|
import { GoalApi as n } from "../api/GoalApi.es.js";
|
|
2
3
|
import { upsertByGuid as l } from "../utils/upsertByGuid.es.js";
|
|
3
|
-
import { TrackType as a } from "../types/Goal.es.js";
|
|
4
4
|
import { getProjectedRetirementDate as c } from "../utils/GoalsUtil.es.js";
|
|
5
5
|
import { makeAutoObservable as d, runInAction as s } from "mobx";
|
|
6
6
|
var g = class {
|