@mx-cartographer/experiences 3.9.0-alpha.al1 → 3.9.0-alpha.bb1
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +3 -3
- package/dist/accounts/AccountsMiniWidget.d.ts +0 -1
- package/dist/accounts/AccountsWidget.d.ts +0 -1
- package/dist/accounts/ConnectMiniWidget.d.ts +0 -1
- package/dist/accounts/api/AccountApi.d.ts +0 -1
- package/dist/accounts/components/AccountListItem.d.ts +0 -1
- package/dist/accounts/components/ConnectStatus.d.ts +0 -1
- package/dist/accounts/components/ConnectionsDrawer.d.ts +0 -1
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailEdit.d.ts +0 -1
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsChart.d.ts +0 -1
- package/dist/accounts/components/detailsdrawer/Accounts/ConnectionErrorMessage.d.ts +0 -1
- package/dist/accounts/stores/AccountStore.d.ts +0 -1
- package/dist/accounts/stores/UiStore.d.ts +0 -1
- package/dist/accounts/utils/AccountFields.d.ts +0 -1
- package/dist/accounts/utils/Accounts.d.ts +0 -1
- package/dist/budgets/BubbleBudgetsMiniWidget.d.ts +0 -1
- package/dist/budgets/BubbleBudgetsWidget.d.ts +3 -0
- package/dist/budgets/api/BudgetsApi.d.ts +0 -1
- package/dist/budgets/components/BubbleBudgets.d.ts +2 -3
- package/dist/budgets/components/BubbleChart.d.ts +3 -11
- package/dist/budgets/components/BudgetDetails.d.ts +7 -0
- package/dist/budgets/components/BudgetList.d.ts +7 -0
- package/dist/budgets/components/Overview.d.ts +3 -0
- package/dist/budgets/components/bubblechart/Bubble.d.ts +2 -2
- package/dist/budgets/components/bubblechart/Mercury.d.ts +0 -1
- package/dist/budgets/components/budgetlist/BudgetRow.d.ts +8 -0
- package/dist/budgets/components/budgetlist/SubBudgetRow.d.ts +7 -0
- package/dist/budgets/components/budgetlist/SubBudgetZeroState.d.ts +1 -0
- package/dist/budgets/index.d.ts +1 -0
- package/dist/budgets/store/BudgetsStore.d.ts +6 -4
- package/dist/budgets/utils/Budget.d.ts +4 -11
- package/dist/cashflow/CashflowMiniWidget.d.ts +0 -1
- package/dist/cashflow/CashflowOnboarding.d.ts +0 -1
- package/dist/cashflow/CashflowWidget.d.ts +0 -1
- package/dist/cashflow/api/CashflowApi.d.ts +0 -1
- package/dist/cashflow/components/CashflowAmountHeading.d.ts +0 -1
- package/dist/cashflow/components/CashflowContent.d.ts +0 -1
- package/dist/cashflow/components/CashflowHeading.d.ts +0 -1
- package/dist/cashflow/components/CashflowWidgetContent.d.ts +0 -1
- package/dist/cashflow/components/DetailsExpenseHeader.d.ts +0 -1
- package/dist/cashflow/components/DetailsExpenseRow.d.ts +0 -1
- package/dist/cashflow/components/onboarding/StepOne.d.ts +0 -1
- package/dist/cashflow/components/onboarding/StepTwo.d.ts +0 -1
- package/dist/cashflow/stores/CashflowStore.d.ts +0 -1
- package/dist/cashflow/stores/UiStore.d.ts +0 -1
- package/dist/cashflow/util/Filters.d.ts +0 -1
- package/dist/categories/components/CategoryList.d.ts +0 -1
- package/dist/categories/components/CategoryRow.d.ts +0 -1
- package/dist/categories/components/CategorySelector.d.ts +0 -1
- package/dist/categories/components/CategorySelectorDrawer.d.ts +0 -1
- package/dist/categories/components/CustomCategories/AddSubcategory.d.ts +0 -1
- package/dist/categories/components/CustomCategories/CustomCategoryModal.d.ts +0 -1
- package/dist/categories/components/CustomCategories/DeleteSubcategory.d.ts +0 -1
- package/dist/categories/components/CustomCategories/RenameSubcategory.d.ts +0 -1
- package/dist/categories/components/SubcategoryList.d.ts +0 -1
- package/dist/categories/components/SubcategoryRow.d.ts +0 -1
- package/dist/categories/stores/CategoryStore.d.ts +0 -1
- package/dist/common/api/AnalyticsApi.d.ts +0 -1
- package/dist/common/api/BeatApi.d.ts +0 -1
- package/dist/common/api/CategoryApi.d.ts +0 -1
- package/dist/common/api/GlobalCopyApi.d.ts +0 -1
- package/dist/common/api/LocalizedCopyApi.d.ts +0 -1
- package/dist/common/api/NotificationApi.d.ts +0 -1
- package/dist/common/api/ScheduledPaymentsApi.d.ts +0 -1
- package/dist/common/api/UserApi.d.ts +0 -1
- package/dist/common/api/WidgetApi.d.ts +0 -1
- package/dist/common/components/ConnectDrawer.d.ts +0 -1
- package/dist/common/components/CurrencyInput.d.ts +0 -1
- package/dist/common/components/CurrencyText.d.ts +0 -1
- package/dist/common/components/DataRow.d.ts +0 -1
- package/dist/common/components/IconBacking.d.ts +0 -1
- package/dist/common/components/InformationTooltip.d.ts +0 -1
- package/dist/common/components/ListItemWrapper.d.ts +0 -1
- package/dist/common/components/Loader.d.ts +0 -1
- package/dist/common/components/MiniWidgetContainer.d.ts +0 -1
- package/dist/common/components/ResponsiveButton.d.ts +0 -1
- package/dist/common/components/SearchBox.d.ts +0 -1
- package/dist/common/components/SelectionBox.d.ts +0 -1
- package/dist/common/components/SubheaderRow.d.ts +0 -1
- package/dist/common/components/WidgetContainer.d.ts +0 -1
- package/dist/common/components/accountfilter/AccountFilter.d.ts +0 -1
- package/dist/common/components/accountfilter/AccountFilterOptions.d.ts +0 -1
- package/dist/common/components/barchart/Bar.d.ts +0 -1
- package/dist/common/components/barchart/BarChart.d.ts +0 -1
- package/dist/common/components/barchart/BarColumn.d.ts +0 -1
- package/dist/common/components/barchart/Legend.d.ts +0 -1
- package/dist/common/components/calendar/Calendar.d.ts +0 -1
- package/dist/common/components/calendar/Day.d.ts +0 -1
- package/dist/common/components/calendar/Header.d.ts +0 -1
- package/dist/common/components/charts/Donut.d.ts +0 -1
- package/dist/common/components/charts/LineChart.d.ts +0 -2
- package/dist/common/components/charts/StackedLineChart.d.ts +0 -1
- package/dist/common/components/charts/StatusBar.d.ts +0 -1
- package/dist/common/components/charts/linechart/CustomLine.d.ts +0 -1
- package/dist/common/components/charts/linechart/CustomMark.d.ts +0 -1
- package/dist/common/components/charts/stackedlinechart/CategoryIconLabel.d.ts +0 -1
- package/dist/common/components/charts/stackedlinechart/CustomAreaTooltip.d.ts +0 -1
- package/dist/common/components/charts/stackedlinechart/CustomLegend.d.ts +0 -1
- package/dist/common/components/charts/stackedlinechart/CustomPointTooltip.d.ts +0 -1
- package/dist/common/components/daterangeselector/DateRangeSelector.d.ts +0 -1
- package/dist/common/components/dialog/Dialog.d.ts +0 -1
- package/dist/common/components/donuts/MultiSegmentDonut.d.ts +0 -1
- package/dist/common/components/donuts/SingleSegmentDonut.d.ts +0 -1
- package/dist/common/components/drawer/Drawer.d.ts +0 -1
- package/dist/common/components/drawer/Header.d.ts +0 -1
- package/dist/common/constants/Account.d.ts +0 -1
- package/dist/common/context/GlobalDataProvider.d.ts +0 -1
- package/dist/common/context/WidgetContainerProvider.d.ts +0 -1
- package/dist/common/context/hooks.d.ts +0 -1
- package/dist/common/context/index.d.ts +1 -1
- package/dist/common/hooks/useCombineEvents.d.ts +0 -1
- package/dist/common/hooks/useDimensions.d.ts +0 -1
- package/dist/common/stores/ConnectStore.d.ts +0 -1
- package/dist/common/stores/GlobalCopyStore.d.ts +0 -1
- package/dist/common/stores/GlobalStore.d.ts +0 -3
- package/dist/common/stores/GlobalUiStore.d.ts +0 -1
- package/dist/common/stores/UserStore.d.ts +0 -1
- package/dist/common/types/Activity.d.ts +0 -1
- package/dist/common/types/Analytics.d.ts +9 -24
- package/dist/common/types/Beat.d.ts +0 -1
- package/dist/common/types/Budget.d.ts +16 -0
- package/dist/common/types/Cashflow.d.ts +0 -1
- package/dist/common/types/Expense.d.ts +0 -1
- package/dist/common/types/GlobalCopy.d.ts +0 -1
- package/dist/common/types/LocalizedContent.d.ts +0 -1
- package/dist/common/types/Notification.d.ts +0 -1
- package/dist/common/types/ScheduledPayment.d.ts +0 -1
- package/dist/common/types/SpendingPlan.d.ts +0 -1
- package/dist/common/types/Widgets.d.ts +0 -1
- package/dist/common/types/localization/CashflowCopy.d.ts +0 -1
- package/dist/common/types/localization/CommonCopy.d.ts +0 -1
- package/dist/common/utils/AccountFilter.d.ts +0 -1
- package/dist/common/utils/Analytics.d.ts +0 -1
- package/dist/common/utils/Categories.d.ts +0 -1
- package/dist/common/utils/Fetch.d.ts +2 -1
- package/dist/common/utils/Localization.d.ts +0 -1
- package/dist/common/utils/NumberFormatting.d.ts +0 -1
- package/dist/dashboard/Dashboard.d.ts +0 -1
- package/dist/dashboard/types/DashboardTypes.d.ts +0 -1
- package/dist/goals/api/GoalApi.d.ts +0 -1
- package/dist/goals/components/GoalsWidget.d.ts +0 -1
- package/dist/goals/stores/GoalStore.d.ts +0 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.es.js +4690 -4562
- package/dist/index.es.js.map +1 -1
- package/dist/insights/components/beats/SetUpDirectDeposit/SetUpDirectDepositBody.d.ts +0 -1
- package/dist/insights/contexts/ToastContext.d.ts +0 -1
- package/dist/insights/settings/SettingsDrawer.d.ts +0 -1
- package/dist/insights/settings/components/PulseSubheaderRow.d.ts +0 -1
- package/dist/insights/settings/components/SettingsItem.d.ts +0 -1
- package/dist/insights/settings/components/Toast.d.ts +0 -1
- package/dist/insights/settings/hiddeninsights/components/CategoryEmptyState.d.ts +0 -1
- package/dist/insights/settings/hiddeninsights/components/HiddenInsightsDrawer.d.ts +0 -1
- package/dist/insights/settings/hiddeninsights/components/HiddenInsightsDrawerWrapper.d.ts +0 -1
- package/dist/insights/settings/hiddeninsights/components/SubCategoryDrawer.d.ts +0 -1
- package/dist/insights/settings/manageaccounts/components/AccountGroup.d.ts +0 -1
- package/dist/insights/settings/manageaccounts/components/ManageAccountsDrawer.d.ts +0 -1
- package/dist/insights/settings/manageaccounts/types/index.d.ts +0 -1
- package/dist/insights/store/BeatStore.d.ts +0 -1
- package/dist/insights/utils/beatTemplateCategories.d.ts +0 -1
- package/dist/merchants/api/MerchantApi.d.ts +0 -1
- package/dist/merchants/components/MerchantLookup.d.ts +0 -1
- package/dist/merchants/stores/MerchantStore.d.ts +0 -1
- package/dist/microinsights/analytics.d.ts +2 -3
- package/dist/microinsights/components/beatCard/BeatCard.d.ts +0 -1
- package/dist/microinsights/components/beaticons/BeatCategoryIcon.d.ts +0 -1
- package/dist/microinsights/components/beaticons/BeatIcon.d.ts +0 -1
- package/dist/microinsights/components/beaticons/BeatMerchantLogo.d.ts +0 -1
- package/dist/microinsights/components/beaticons/ChartFilledIcon.d.ts +0 -1
- package/dist/microinsights/components/beaticons/MonthlySpendComparisonIcon.d.ts +1 -2
- package/dist/microinsights/components/carouselheader/CarouselHeader.d.ts +0 -1
- package/dist/microinsights/components/insightsmicrowidget/InsightsMicroWidget.d.ts +0 -2
- package/dist/microinsights/components/microBeatCarousel/CarouselControls.d.ts +0 -1
- package/dist/microinsights/components/microBeatCarousel/MicroBeatCarousel.d.ts +0 -1
- package/dist/microinsights/components/microInsightCard/MicroInsightCard.d.ts +0 -1
- package/dist/microinsights/components/noRelevantInsightsCard/NoRelevantInsightsCard.d.ts +0 -1
- package/dist/microinsights/components/spinner/Spinner.d.ts +0 -1
- package/dist/microinsights/components/viewMoreMicroCard/ViewMoreMicroCard.d.ts +0 -1
- package/dist/microinsights/components/zeroStateCard/ZeroStateCard.d.ts +0 -1
- package/dist/microinsights/constants/Analytics.d.ts +0 -1
- package/dist/microinsights/context/InsightsMicroWidgetDataProvider.d.ts +0 -1
- package/dist/microinsights/interfaces.d.ts +0 -1
- package/dist/microinsights/stores/AppStore.d.ts +1 -2
- package/dist/microinsights/stores/CopyStore.d.ts +0 -1
- package/dist/microinsights/stores/InsightsMicroWidgetStore.d.ts +3 -10
- package/dist/microinsights/types/BeatUIComponent.d.ts +0 -1
- package/dist/microinsights/utils/DataSeries.d.ts +0 -1
- package/dist/notifications/components/DateRow.d.ts +0 -1
- package/dist/notifications/components/NotificationBadge.d.ts +0 -1
- package/dist/notifications/components/NotificationCard.d.ts +0 -1
- package/dist/notifications/components/NotificationList.d.ts +0 -1
- package/dist/notifications/stores/NotificationStore.d.ts +0 -1
- package/dist/notifications/utils/NotificationUtils.d.ts +0 -1
- package/dist/recurringactivity/RecurringActivityMiniWidget.d.ts +0 -1
- package/dist/recurringactivity/RecurringActivityWidget.d.ts +0 -1
- package/dist/recurringactivity/components/ActivityDetails.d.ts +0 -1
- package/dist/recurringactivity/components/ActivityList.d.ts +0 -1
- package/dist/recurringactivity/components/ActivityRow.d.ts +0 -1
- package/dist/recurringactivity/components/ActivityStatus.d.ts +0 -1
- package/dist/recurringactivity/components/MiniWidgetContent.d.ts +0 -1
- package/dist/recurringactivity/components/actions/FrequencyAction.d.ts +0 -1
- package/dist/recurringactivity/components/actions/PaymentDateAction.d.ts +0 -1
- package/dist/recurringactivity/components/activitycalendar/ActivityDay.d.ts +0 -1
- package/dist/recurringactivity/components/shared/activitysettings/AddActivity.d.ts +0 -1
- package/dist/recurringactivity/components/shared/activitysettings/AddActivityDetails.d.ts +0 -1
- package/dist/recurringactivity/components/shared/activitysettings/SelectTransaction.d.ts +0 -1
- package/dist/recurringactivity/stores/RecurringActivityStore.d.ts +0 -1
- package/dist/recurringactivity/util/RecurringActivityUtils.d.ts +0 -1
- package/dist/recurringactivity/util/buildActivities.d.ts +0 -1
- package/dist/recurringactivity/util/buildNewActivity.d.ts +0 -1
- package/dist/recurringactivity/util/getRecurrence.d.ts +0 -1
- package/dist/recurringactivity/util/getStatus.d.ts +0 -1
- package/dist/recurringactivity/util/updateActivity.d.ts +0 -1
- package/dist/spending/SpendingMiniWidget.d.ts +0 -1
- package/dist/spending/SpendingWidget.d.ts +0 -1
- package/dist/spending/components/SpendingChart.d.ts +0 -1
- package/dist/spending/components/SpendingDonut.d.ts +0 -1
- package/dist/spending/components/SpendingLegend.d.ts +0 -1
- package/dist/spending/components/SpendingList.d.ts +0 -1
- package/dist/spending/components/SpendingTabLabel.d.ts +0 -1
- package/dist/spending/utils/SpendingData.d.ts +0 -1
- package/dist/transactions/TransactionWidget.d.ts +0 -1
- package/dist/transactions/analytics.d.ts +0 -1
- package/dist/transactions/api/TransactionApi.d.ts +0 -1
- package/dist/transactions/components/shared/TransactionDetails.d.ts +0 -1
- package/dist/transactions/components/shared/TransactionList.d.ts +0 -1
- package/dist/transactions/components/shared/TransactionTable.d.ts +0 -1
- package/dist/transactions/components/shared/transactiondetails/Description.d.ts +0 -1
- package/dist/transactions/components/shared/transactiondetails/FlagTransaction.d.ts +0 -1
- package/dist/transactions/components/shared/transactiondetails/TransactionAmountHeader.d.ts +0 -1
- package/dist/transactions/components/shared/transactiondetails/actions/CategoryAction.d.ts +0 -1
- package/dist/transactions/components/shared/transactiondetails/actions/DateAction.d.ts +0 -1
- package/dist/transactions/components/shared/transactiondetails/actions/DeleteAction.d.ts +0 -1
- package/dist/transactions/components/shared/transactiondetails/actions/DeleteLogoAction.d.ts +0 -1
- package/dist/transactions/components/shared/transactiondetails/actions/HideAction.d.ts +0 -1
- package/dist/transactions/components/shared/transactiondetails/actions/MemoAction.d.ts +0 -1
- package/dist/transactions/components/shared/transactiondetails/actions/SplitAction.d.ts +0 -1
- package/dist/transactions/components/shared/transactiondetails/actions/TagsAction.d.ts +0 -1
- package/dist/transactions/components/shared/transactionlist/DateRow.d.ts +0 -1
- package/dist/transactions/components/shared/transactionlist/TransactionRow.d.ts +0 -1
- package/dist/transactions/components/shared/transactionlist/ZeroState.d.ts +0 -1
- package/dist/transactions/components/shared/transactiontable/cells/AccountCell.d.ts +0 -1
- package/dist/transactions/components/shared/transactiontable/cells/AmountCell.d.ts +0 -1
- package/dist/transactions/components/shared/transactiontable/cells/CategoryCell.d.ts +0 -1
- package/dist/transactions/components/shared/transactiontable/cells/DateCell.d.ts +0 -1
- package/dist/transactions/components/shared/transactiontable/cells/FlagCell.d.ts +0 -1
- package/dist/transactions/components/shared/transactiontable/cells/HeaderCell.d.ts +0 -1
- package/dist/transactions/components/shared/transactiontable/cells/PayeeCell.d.ts +0 -1
- package/dist/transactions/components/splitmanager/SplitManager.d.ts +0 -1
- package/dist/transactions/components/splitmanager/SplitRow.d.ts +0 -1
- package/dist/transactions/components/tagmanager/SearchBox.d.ts +0 -1
- package/dist/transactions/components/tagmanager/TagManager.d.ts +0 -1
- package/dist/transactions/components/tagmanager/TagRow.d.ts +0 -1
- package/dist/transactions/components/transactionwidget/AddAccountModal.d.ts +0 -1
- package/dist/transactions/components/transactionwidget/actions/EditCategoryAction.d.ts +0 -1
- package/dist/transactions/constants/Transaction.d.ts +0 -1
- package/dist/transactions/stores/TransactionStore.d.ts +0 -1
- package/dist/transactions/stores/UiStore.d.ts +0 -1
- package/dist/transactions/utils/Filters.d.ts +0 -1
- package/dist/transactions/utils/Transactions.d.ts +0 -1
- package/dist/transactions/utils/buildDetailedTransactions.d.ts +0 -1
- package/dist/transactions/utils/exportTransactionsToCSV.d.ts +0 -1
- package/dist/transactions/utils/sortAndFilterTransactions.d.ts +0 -1
- package/dist/trends/TrendsFullWidget.d.ts +0 -1
- package/dist/trends/TrendsMiniWidget.d.ts +0 -1
- package/dist/trends/components/TrendsTable.d.ts +0 -1
- package/dist/trends/components/trendstable/AmountCell.d.ts +0 -1
- package/dist/trends/components/trendstable/CategoryCell.d.ts +0 -1
- package/dist/trends/components/trendstable/HeaderCell.d.ts +0 -1
- package/dist/trends/utils/index.d.ts +0 -1
- package/package.json +42 -38
- package/dist/networth/NetWorthWidget.d.ts +0 -5
- package/dist/networth/api/NetWorthApi.d.ts +0 -9
- package/dist/networth/components/NetWorthChart.d.ts +0 -7
- package/dist/networth/components/NetWorthList.d.ts +0 -7
- package/dist/networth/components/NetWorthRow.d.ts +0 -6
- package/dist/networth/index.d.ts +0 -3
- package/dist/networth/stores/NetWorthStore.d.ts +0 -15
- package/dist/networth/types/NetWorth.d.ts +0 -37
- package/dist/networth/utils/NetWorth.d.ts +0 -3
- /package/dist/budgets/utils/{buildBubblesSVG.d.ts → BubblesSVG.d.ts} +0 -0
@@ -2,7 +2,6 @@ import { FC } from 'react';
|
|
2
2
|
import { SxProps } from '@mui/material/styles';
|
3
3
|
import { Account } from '../../types';
|
4
4
|
import { AccountFilterOptionsCopy } from './AccountFilterOptions';
|
5
|
-
|
6
5
|
export type AccountFilterCopy = {
|
7
6
|
accountFilterOptionsCopy: AccountFilterOptionsCopy;
|
8
7
|
title: string;
|
@@ -1,7 +1,6 @@
|
|
1
1
|
import { default as React } from 'react';
|
2
2
|
import { Account } from '../../types/Account';
|
3
3
|
import { MappedAccount, MappedAccounts, MappedOptions } from '../../utils/AccountFilter';
|
4
|
-
|
5
4
|
export type AccountFilterOptionsCopy = {
|
6
5
|
accountTypeAccounts: string;
|
7
6
|
cancelButton: string;
|
@@ -9,7 +9,6 @@ export declare const useGlobalUiStore: () => import('../stores/GlobalUiStore').G
|
|
9
9
|
export declare const useGlobalCopyStore: () => import('..').GlobalCopy;
|
10
10
|
export declare const useGoalStore: () => import('..').GlobalStore;
|
11
11
|
export declare const useMerchantStore: () => import('../..').MerchantStore;
|
12
|
-
export declare const useNetWorthStore: () => import('../../networth/stores/NetWorthStore').NetWorthStore;
|
13
12
|
export declare const useNotificationStore: () => import('../..').NotificationStore;
|
14
13
|
export declare const useRecurringActivityStore: () => import('../..').RecurringActivityStore;
|
15
14
|
export declare const useTransactionStore: () => import('../..').TransactionStore;
|
@@ -1,3 +1,3 @@
|
|
1
|
-
export { useAccountStore, useBudgetsStore, useCashflowStore, useCategoryStore, useEvent, useGlobalStore, useGlobalUiStore, useGlobalCopyStore, useMerchantStore,
|
1
|
+
export { useAccountStore, useBudgetsStore, useCashflowStore, useCategoryStore, useEvent, useGlobalStore, useGlobalUiStore, useGlobalCopyStore, useMerchantStore, useNotificationStore, usePageView, useRecurringActivityStore, useTransactionStore, useUserStore, useWidgetContainerProvider, } from './hooks';
|
2
2
|
export { GlobalDataContext, GlobalDataProvider } from './GlobalDataProvider';
|
3
3
|
export { WidgetContainerContext, WidgetContainerProvider } from './WidgetContainerProvider';
|
@@ -1,4 +1,3 @@
|
|
1
1
|
import { AnalyticEventFunction, AnalyticPageviewFunction } from '../types';
|
2
|
-
|
3
2
|
export declare const useCombineEvents: (events: AnalyticEventFunction[], store: any) => (event: string) => void;
|
4
3
|
export declare const useCombinePageviews: (pages: AnalyticPageviewFunction[], store: any) => (event: string) => void;
|
@@ -11,8 +11,6 @@ import { RecurringActivityStore } from '../../recurringactivity';
|
|
11
11
|
import { TransactionStore } from '../../transactions';
|
12
12
|
import { UserStore } from './UserStore';
|
13
13
|
import { GlobalCopyStore } from './GlobalCopyStore';
|
14
|
-
import { NetWorthStore } from '../../networth/stores/NetWorthStore';
|
15
|
-
|
16
14
|
export declare class GlobalStore {
|
17
15
|
accountStore: AccountStore;
|
18
16
|
beatStore: BeatStore;
|
@@ -22,7 +20,6 @@ export declare class GlobalStore {
|
|
22
20
|
connectStore: ConnectStore;
|
23
21
|
copyStore: GlobalCopyStore;
|
24
22
|
merchantStore: MerchantStore;
|
25
|
-
netWorthStore: NetWorthStore;
|
26
23
|
notificationStore: NotificationStore;
|
27
24
|
recurringActivityStore: RecurringActivityStore;
|
28
25
|
transactionStore: TransactionStore;
|
@@ -1,5 +1,4 @@
|
|
1
1
|
import { analyticsSession } from '../utils/Analytics';
|
2
|
-
|
3
2
|
export type AnalyticsEvent = {
|
4
3
|
analytics_event: {
|
5
4
|
action: string;
|
@@ -11,25 +10,20 @@ export type AnalyticsEvent = {
|
|
11
10
|
name: string;
|
12
11
|
session_id: string;
|
13
12
|
user_agent: string;
|
14
|
-
value: string | null;
|
15
13
|
version: number;
|
16
14
|
};
|
17
15
|
};
|
18
16
|
export type AnalyticsPageview = {
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
path: string;
|
27
|
-
session_id: string;
|
28
|
-
user_agent: string;
|
29
|
-
};
|
17
|
+
created_at: string;
|
18
|
+
detailed_path: string;
|
19
|
+
host: string;
|
20
|
+
metadata: string | null;
|
21
|
+
name: string;
|
22
|
+
path: string;
|
23
|
+
user_agent: string;
|
30
24
|
};
|
31
|
-
export type BasicAnalyticsEvent = Pick<AnalyticsEvent['analytics_event'], 'action' | 'category' | 'label'
|
32
|
-
export type BasicAnalyticsPageview = Pick<AnalyticsPageview
|
25
|
+
export type BasicAnalyticsEvent = Pick<AnalyticsEvent['analytics_event'], 'action' | 'category' | 'label'>;
|
26
|
+
export type BasicAnalyticsPageview = Pick<AnalyticsPageview, 'path' | 'name'>;
|
33
27
|
export type AnalyticsSession = {
|
34
28
|
browser_name: string;
|
35
29
|
browser_version: string;
|
@@ -40,12 +34,3 @@ export type AnalyticsSession = {
|
|
40
34
|
};
|
41
35
|
export type AnalyticEventFunction = (event: string, session?: Awaited<ReturnType<typeof analyticsSession>> | null) => void;
|
42
36
|
export type AnalyticPageviewFunction = (page: string, session?: Awaited<ReturnType<typeof analyticsSession>> | null) => void;
|
43
|
-
export interface AnalyticsEventsObjectType extends BasicAnalyticsEvent {
|
44
|
-
instanceId: string;
|
45
|
-
}
|
46
|
-
export interface AnalyticsPageviewObjectType extends BasicAnalyticsPageview {
|
47
|
-
label: string;
|
48
|
-
name: string;
|
49
|
-
path: string;
|
50
|
-
value: string;
|
51
|
-
}
|
@@ -1,3 +1,10 @@
|
|
1
|
+
import { Category } from './Category';
|
2
|
+
export type BudgetColors = {
|
3
|
+
background: string;
|
4
|
+
mercury: string;
|
5
|
+
description: string;
|
6
|
+
text: string;
|
7
|
+
};
|
1
8
|
export interface Budget {
|
2
9
|
amount: number;
|
3
10
|
category_guid: string;
|
@@ -10,3 +17,12 @@ export interface Budget {
|
|
10
17
|
transaction_total: number;
|
11
18
|
user_guid: string;
|
12
19
|
}
|
20
|
+
export interface DetailedBudget extends Budget {
|
21
|
+
budgetColors: BudgetColors;
|
22
|
+
category: Category;
|
23
|
+
description: string;
|
24
|
+
icon: string;
|
25
|
+
label: string;
|
26
|
+
percentage: number;
|
27
|
+
subBudgets: DetailedBudget[];
|
28
|
+
}
|
@@ -1,5 +1,4 @@
|
|
1
1
|
import { TransactionType } from './Transaction';
|
2
|
-
|
3
2
|
export type RepeatDay = '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | '10' | '11' | '12' | '13' | '14' | '15' | '16' | '17' | '18' | '19' | '20' | '21' | '22' | '23' | '24' | '25' | '26' | '27' | '28' | '29' | '30' | '31';
|
4
3
|
export type RepeatDayOfWeek = '0#0' | '0#1' | '0#2' | '0#3' | '0#4' | '0#5' | '0#6' | '1#0' | '1#1' | '1#2' | '1#3' | '1#4' | '1#5' | '1#6' | '2#0' | '2#1' | '2#2' | '2#3' | '2#4' | '2#5' | '2#6' | '3#0' | '3#1' | '3#2' | '3#3' | '3#4' | '3#5' | '3#6' | '4#0' | '4#1' | '4#2' | '4#3' | '4#4' | '4#5' | '4#6';
|
5
4
|
export type RepeatInterval = '1' | '2' | '3';
|
@@ -1,5 +1,4 @@
|
|
1
1
|
import { AccountsCopy, BudgetsCopy, CashflowCopy, CategoryCopy, CommonCopy, ConnectCopy, InsightsFeedCopy, MicroInsightsCopy, NotificationsCopy, RecurringCopy, SpendingCopy, TransactionsCopy, TrendsCopy } from './localization';
|
2
|
-
|
3
2
|
export interface GlobalCopy {
|
4
3
|
accounts: AccountsCopy;
|
5
4
|
budgets: BudgetsCopy;
|
@@ -1,5 +1,4 @@
|
|
1
1
|
import { BasicAnalyticsEvent, BasicAnalyticsPageview } from '../types';
|
2
|
-
|
3
2
|
export declare const analyticsSession: (endpoint: string, token: string, version?: string, featureName?: string) => Promise<{
|
4
3
|
sendAnalyticEvent: (event: BasicAnalyticsEvent) => Promise<any>;
|
5
4
|
sendAnalyticsPageview: (pageview: BasicAnalyticsPageview) => Promise<any>;
|
@@ -1,7 +1,8 @@
|
|
1
1
|
export declare class Fetch {
|
2
2
|
endpoint: string;
|
3
3
|
headers: {};
|
4
|
-
|
4
|
+
propagateError?: boolean;
|
5
|
+
constructor(endpoint: string, token: string, propagateError?: boolean);
|
5
6
|
get: (url: string) => Promise<any>;
|
6
7
|
post: (url: string, data?: any) => Promise<any>;
|
7
8
|
put: (url: string, data: any) => Promise<any>;
|
@@ -1,5 +1,4 @@
|
|
1
1
|
import { DynamicCopyElement } from '../types';
|
2
|
-
|
3
2
|
export declare const buildDynamicCopy: (str: string, ...args: DynamicCopyElement[]) => string | DynamicCopyElement[];
|
4
3
|
export declare const buildPluralCopy: (strOne: string, strMulti: string, count: number, ...args: DynamicCopyElement[]) => string | DynamicCopyElement[];
|
5
4
|
export declare const getLocale: () => any;
|
@@ -1,6 +1,5 @@
|
|
1
1
|
import { RoundingFunction } from 'numeral';
|
2
2
|
import { CurrencyCodes } from '../constants';
|
3
|
-
|
4
3
|
export declare const formatCurrency: (amount: number | undefined, formatting: string, roundingFunction?: RoundingFunction) => string;
|
5
4
|
export declare const getCurrencyCodes: () => CurrencyCodes;
|
6
5
|
export declare const isValidNumber: (value: any) => boolean;
|
package/dist/index.d.ts
CHANGED