@mx-cartographer/experiences 6.26.18-alpha.mega1 → 6.26.18-alpha.mega3
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 +0 -4
- package/dist/accounts/AccountsMiniWidget/index.es.js +45 -0
- package/dist/accounts/AccountsWidget/index.es.js +67 -0
- package/dist/accounts/ConnectMiniWidget/index.es.js +41 -0
- package/dist/accounts/api/AccountApi/index.es.js +20 -0
- package/dist/accounts/components/AccountListItem/index.es.js +84 -0
- package/dist/accounts/components/AccountsList/index.es.js +164 -0
- package/dist/accounts/components/ConnectImage/index.es.js +444 -0
- package/dist/accounts/components/ConnectMiniWidgetCard/index.es.js +27 -0
- package/dist/accounts/components/ConnectStatus/index.es.js +37 -0
- package/dist/accounts/components/ConnectionStatusIcons/index.es.js +12 -0
- package/dist/accounts/components/ConnectionsDrawer/index.es.js +54 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountActions/index.es.js +134 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountActionsRow/index.es.js +21 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountConnection/index.es.js +103 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailEdit/index.es.js +120 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetails/index.es.js +58 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsChart/index.es.js +43 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsContent/index.es.js +50 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsHeader/index.es.js +47 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsTab/index.es.js +20 -0
- package/dist/accounts/components/detailsdrawer/Accounts/ConnectionErrorMessage/index.es.js +74 -0
- package/dist/accounts/components/detailsdrawer/Transactions/TransactionsTab/index.es.js +37 -0
- package/dist/accounts/constants/Accounts/index.es.js +5 -0
- package/dist/accounts/hooks/useGetMergeableAccounts/index.es.js +11 -0
- package/dist/accounts/hooks/useUiStore/index.es.js +11 -0
- package/dist/accounts/index.es.js +26 -0
- package/dist/accounts/stores/AccountStore/index.es.js +204 -0
- package/dist/accounts/stores/UiStore/index.es.js +15 -0
- package/dist/accounts/utils/AccountFields/index.es.js +136 -0
- package/dist/accounts/utils/Accounts/index.es.js +9 -0
- package/dist/accounts/utils/getConnectionMessages/index.es.js +162 -0
- package/dist/analytics/SurveyMiniWidget/index.es.js +101 -0
- package/dist/analytics/components/OpenTextField/index.es.js +23 -0
- package/dist/analytics/components/RatingScale/index.es.js +68 -0
- package/dist/analytics/index.es.js +4 -0
- package/dist/analytics/stores/AnalyticsStore/index.es.js +54 -0
- package/dist/budgets/BubbleBudgetsMiniWidget/index.es.js +71 -0
- package/dist/budgets/BubbleBudgetsWidget/index.es.js +139 -0
- package/dist/budgets/api/BudgetsApi/index.es.js +26 -0
- package/dist/budgets/components/AddBudgets/index.es.js +30 -0
- package/dist/budgets/components/BubbleBudgets/index.es.js +61 -0
- package/dist/budgets/components/BubbleChart/Bubble/index.es.js +97 -0
- package/dist/budgets/components/BubbleChart/Mercury/index.es.js +27 -0
- package/dist/budgets/components/BubbleChart/index.es.js +22 -0
- package/dist/budgets/components/BudgetDetailsDrawer/index.es.js +95 -0
- package/dist/budgets/components/BudgetList/BudgetRow/index.es.js +42 -0
- package/dist/budgets/components/BudgetList/SubBudgetRow/index.es.js +36 -0
- package/dist/budgets/components/BudgetList/SubBudgetZeroState/index.es.js +16 -0
- package/dist/budgets/components/BudgetList/index.es.js +30 -0
- package/dist/budgets/components/BudgetsEmptyState/index.es.js +85 -0
- package/dist/budgets/components/Overview/index.es.js +105 -0
- package/dist/budgets/components/addbudget/Header/index.es.js +28 -0
- package/dist/budgets/components/addbudget/RecalculateBudgetRow/index.es.js +30 -0
- package/dist/budgets/components/addbudget/RecalculateBudgets/index.es.js +39 -0
- package/dist/budgets/components/addbudget/UnbudgetedRow/index.es.js +46 -0
- package/dist/budgets/components/budgetdetails/AddSubBudget/index.es.js +73 -0
- package/dist/budgets/components/budgetdetails/BudgetDetails/index.es.js +75 -0
- package/dist/budgets/components/budgetdetails/Header/index.es.js +31 -0
- package/dist/budgets/components/budgetdetails/SubBudgetList/index.es.js +102 -0
- package/dist/budgets/components/shared/BudgetAmount/index.es.js +37 -0
- package/dist/budgets/index.es.js +6 -0
- package/dist/budgets/store/BudgetsStore/index.es.js +139 -0
- package/dist/budgets/utils/BubblesSVG/index.es.js +51 -0
- package/dist/budgets/utils/BudgetUtil/index.es.js +70 -0
- package/dist/cashflow/CashflowMiniWidget/index.es.js +27 -0
- package/dist/cashflow/CashflowOnboarding/index.es.js +220 -0
- package/dist/cashflow/CashflowWidget/index.es.js +91 -0
- package/dist/cashflow/api/CashflowApi/index.es.js +25 -0
- package/dist/cashflow/components/CashflowAmountHeading/index.es.js +32 -0
- package/dist/cashflow/components/CashflowContent/index.es.js +61 -0
- package/dist/cashflow/components/CashflowHeading/index.es.js +113 -0
- package/dist/cashflow/components/CashflowWidgetContent/index.es.js +146 -0
- package/dist/cashflow/components/DetailsExpenseHeader/index.es.js +38 -0
- package/dist/cashflow/components/DetailsExpenseRow/index.es.js +31 -0
- package/dist/cashflow/components/DetailsFooter/index.es.js +22 -0
- package/dist/cashflow/components/DetailsTab/index.es.js +92 -0
- package/dist/cashflow/components/RemainingCash/index.es.js +27 -0
- package/dist/cashflow/components/SummaryTab/index.es.js +258 -0
- package/dist/cashflow/components/onboarding/StepOne/index.es.js +82 -0
- package/dist/cashflow/components/onboarding/StepTwo/index.es.js +17 -0
- package/dist/cashflow/constants/CashflowImages/index.es.js +7 -0
- package/dist/cashflow/context/hooks/index.es.js +11 -0
- package/dist/cashflow/index.es.js +12 -0
- package/dist/cashflow/stores/CashflowStore/index.es.js +19 -0
- package/dist/cashflow/stores/UiStore/index.es.js +38 -0
- package/dist/cashflow/util/Filters/index.es.js +7 -0
- package/dist/categories/components/CategoryList/index.es.js +38 -0
- package/dist/categories/components/CategoryRow/index.es.js +58 -0
- package/dist/categories/components/CategorySelector/index.es.js +48 -0
- package/dist/categories/components/CategorySelectorDrawer/index.es.js +30 -0
- package/dist/categories/components/CustomCategories/AddSubcategory/index.es.js +40 -0
- package/dist/categories/components/CustomCategories/CustomCategoryModal/index.es.js +66 -0
- package/dist/categories/components/CustomCategories/DeleteSubcategory/index.es.js +30 -0
- package/dist/categories/components/CustomCategories/RenameSubcategory/index.es.js +29 -0
- package/dist/categories/components/SubcategoryList/index.es.js +39 -0
- package/dist/categories/components/SubcategoryRow/index.es.js +103 -0
- package/dist/categories/constants/OnClickEvents/index.es.js +16 -0
- package/dist/categories/context/hooks/index.es.js +11 -0
- package/dist/categories/index.es.js +12 -0
- package/dist/categories/stores/CategoryStore/index.es.js +135 -0
- package/dist/categories/stores/UiStore/index.es.js +27 -0
- package/dist/categories/util/CategoryUtil/index.es.js +78 -0
- package/dist/common/api/AnalyticsApi/index.es.js +34 -0
- package/dist/common/api/AppDataApi/index.es.js +12 -0
- package/dist/common/api/BannerApi/index.es.js +21 -0
- package/dist/common/api/BeatApi/index.es.js +22 -0
- package/dist/common/api/CategoryApi/index.es.js +30 -0
- package/dist/common/api/GlobalCopyApi/index.es.js +12 -0
- package/dist/common/api/LocalizedCopyApi/index.es.js +13 -0
- package/dist/common/api/NotificationApi/index.es.js +21 -0
- package/dist/common/api/ScheduledPaymentsApi/index.es.js +20 -0
- package/dist/common/api/UserApi/index.es.js +14 -0
- package/dist/common/api/WidgetApi/index.es.js +12 -0
- package/dist/common/components/Banner/index.es.js +49 -0
- package/dist/common/components/ConnectCard/index.es.js +56 -0
- package/dist/common/components/ConnectDrawer/index.es.js +58 -0
- package/dist/common/components/CurrencyInput/index.es.js +84 -0
- package/dist/common/components/CurrencyText/index.es.js +20 -0
- package/dist/common/components/DataRow/index.es.js +29 -0
- package/dist/common/components/EmptyState/index.es.js +55 -0
- package/dist/common/components/ErrorBoundary/index.es.js +24 -0
- package/dist/common/components/IconBacking/index.es.js +39 -0
- package/dist/common/components/InformationTooltip/index.es.js +41 -0
- package/dist/common/components/ListItemAction/index.es.js +69 -0
- package/dist/common/components/ListItemRow/index.es.js +67 -0
- package/dist/common/components/ListItemWrapper/index.es.js +32 -0
- package/dist/common/components/Loader/index.es.js +14 -0
- package/dist/common/components/MicroWidgetContainer/index.es.js +45 -0
- package/dist/common/components/MiniWidgetContainer/index.es.js +39 -0
- package/dist/common/components/ResponsiveButton/index.es.js +45 -0
- package/dist/common/components/SearchBox/index.es.js +42 -0
- package/dist/common/components/Select/index.es.js +25 -0
- package/dist/common/components/SelectionBox/index.es.js +48 -0
- package/dist/common/components/SubheaderRow/index.es.js +10 -0
- package/dist/common/components/TabContentContainer/index.es.js +21 -0
- package/dist/common/components/WidgetContainer/index.es.js +195 -0
- package/dist/common/components/accountfilter/AccountFilter/index.es.js +93 -0
- package/dist/common/components/accountfilter/AccountFilterOptions/index.es.js +222 -0
- package/dist/common/components/addaccounts/AddAccounts/index.es.js +43 -0
- package/dist/common/components/barchart/Bar/index.es.js +79 -0
- package/dist/common/components/barchart/BarChart/index.es.js +70 -0
- package/dist/common/components/barchart/BarColumn/index.es.js +86 -0
- package/dist/common/components/barchart/Legend/index.es.js +45 -0
- package/dist/common/components/barchart/Util/index.es.js +11 -0
- package/dist/common/components/calendar/Calendar/index.es.js +131 -0
- package/dist/common/components/calendar/Day/index.es.js +96 -0
- package/dist/common/components/calendar/Header/index.es.js +32 -0
- package/dist/common/components/charts/Donut/index.es.js +57 -0
- package/dist/common/components/charts/LineChart/CustomLegend/index.es.js +64 -0
- package/dist/common/components/charts/LineChart/CustomLine/index.es.js +22 -0
- package/dist/common/components/charts/LineChart/CustomMark/index.es.js +65 -0
- package/dist/common/components/charts/LineChart/CustomTooltip/index.es.js +73 -0
- package/dist/common/components/charts/LineChart/index.es.js +208 -0
- package/dist/common/components/charts/StackedLineChart/CategoryIconLabel/index.es.js +24 -0
- package/dist/common/components/charts/StackedLineChart/CustomAreaTooltip/index.es.js +69 -0
- package/dist/common/components/charts/StackedLineChart/CustomLegend/index.es.js +70 -0
- package/dist/common/components/charts/StackedLineChart/CustomPointTooltip/index.es.js +22 -0
- package/dist/common/components/charts/StackedLineChart/index.es.js +222 -0
- package/dist/common/components/charts/StatusBar/index.es.js +30 -0
- package/dist/common/components/daterangeselector/DateRangeSelector/index.es.js +254 -0
- package/dist/common/components/dialog/Dialog/index.es.js +61 -0
- package/dist/common/components/donuts/MultiSegmentDonut/index.es.js +60 -0
- package/dist/common/components/donuts/SingleSegmentDonut/index.es.js +68 -0
- package/dist/common/components/drawer/Drawer/index.es.js +71 -0
- package/dist/common/components/drawer/Header/index.es.js +51 -0
- package/dist/common/components/listitems/CollapseExpandListItem/index.es.js +36 -0
- package/dist/common/components/listitems/ToggleButtonListItem/index.es.js +42 -0
- package/dist/common/components/listitems/ToggleListItem/index.es.js +38 -0
- package/dist/common/constants/Account/index.es.js +30 -0
- package/dist/common/constants/Analytics/index.es.js +117 -0
- package/dist/common/constants/ApiEndpoints/index.es.js +50 -0
- package/dist/common/constants/Category/index.es.js +301 -0
- package/dist/common/constants/Connect/index.es.js +5 -0
- package/dist/common/constants/DateFormats/index.es.js +65 -0
- package/dist/common/constants/DefaultConfig/index.es.js +105 -0
- package/dist/common/constants/Donut/index.es.js +5 -0
- package/dist/common/constants/FinStrong/index.es.js +31 -0
- package/dist/common/constants/Numbers/index.es.js +6 -0
- package/dist/common/constants/ScheduledPayment/index.es.js +15 -0
- package/dist/common/constants/Sizes/index.es.js +6 -0
- package/dist/common/constants/SpendingPlan/index.es.js +11 -0
- package/dist/common/constants/Table/index.es.js +16 -0
- package/dist/common/context/GlobalDataProvider/index.es.js +23 -0
- package/dist/common/context/WidgetContainerProvider/index.es.js +17 -0
- package/dist/common/context/hooks/index.es.js +44 -0
- package/dist/common/context/hooks.d.ts +13 -13
- package/dist/common/hooks/useCombineEvents/index.es.js +20 -0
- package/dist/common/hooks/useDimensions/index.es.js +36 -0
- package/dist/common/hooks/useInsightsEnabled/index.es.js +11 -0
- package/dist/common/hooks/usePrevious/index.es.js +11 -0
- package/dist/common/hooks/useScreenSize/index.es.js +36 -0
- package/dist/common/index.es.js +234 -0
- package/dist/common/stores/AppDataStore/index.es.js +57 -0
- package/dist/common/stores/ConnectStore/index.es.js +15 -0
- package/dist/common/stores/GlobalCopyStore/index.es.js +35 -0
- package/dist/common/stores/GlobalStore/index.es.js +90 -0
- package/dist/common/stores/GlobalUiStore/index.es.js +54 -0
- package/dist/common/stores/UserStore/index.es.js +50 -0
- package/dist/common/types/Account/index.es.js +118 -0
- package/dist/common/types/Beat/index.es.js +4 -0
- package/dist/common/types/Expense/index.es.js +5 -0
- package/dist/common/types/Goal/index.es.js +6 -0
- package/dist/common/types/Notification/index.es.js +7 -0
- package/dist/common/types/RepeatingTransaction/index.es.js +7 -0
- package/dist/common/types/ScreenSize/index.es.js +4 -0
- package/dist/common/types/Transaction/index.es.js +5 -0
- package/dist/common/utils/AccountFilter/index.es.js +13 -0
- package/dist/common/utils/Analytics/index.es.js +36 -0
- package/dist/common/utils/Categories/index.es.js +37 -0
- package/dist/common/utils/DateUtil/index.es.js +48 -0
- package/dist/common/utils/Fetch/index.es.js +69 -0
- package/dist/common/utils/Localization/index.es.js +30 -0
- package/dist/common/utils/NumberFormatting/index.es.js +38 -0
- package/dist/common/utils/PostMessage/index.es.js +19 -0
- package/dist/common/utils/Theme/index.es.js +136 -0
- package/dist/dashboard/Dashboard/index.es.js +47 -0
- package/dist/dashboard/Greeting/index.es.js +71 -0
- package/dist/dashboard/constants/Dashboard/index.es.js +4 -0
- package/dist/dashboard/index.es.js +6 -0
- package/dist/debts/DebtsWidget/index.es.js +111 -0
- package/dist/debts/components/DebtDrawer/index.es.js +28 -0
- package/dist/debts/components/DebtsChart/index.es.js +134 -0
- package/dist/debts/components/DebtsTable/AccountCell/index.es.js +24 -0
- package/dist/debts/components/DebtsTable/PriorityCell/index.es.js +32 -0
- package/dist/debts/components/DebtsTable/index.es.js +174 -0
- package/dist/debts/components/PaydownDrawer/index.es.js +21 -0
- package/dist/debts/components/SnowballCard/index.es.js +65 -0
- package/dist/debts/components/SnowballDrawer/index.es.js +374 -0
- package/dist/debts/components/actions/DebtsPriorityAction/index.es.js +28 -0
- package/dist/debts/components/actions/ExtraPaymentAction/index.es.js +46 -0
- package/dist/debts/components/actions/InterestRateAction/index.es.js +42 -0
- package/dist/debts/components/actions/MonthlyPaymentAction/index.es.js +44 -0
- package/dist/debts/components/actions/OriginalBalanceAction/index.es.js +44 -0
- package/dist/debts/components/debtsdrawer/DebtDetailsChart/index.es.js +41 -0
- package/dist/debts/components/debtsdrawer/DebtDetailsContent/index.es.js +51 -0
- package/dist/debts/components/debtsdrawer/DebtDetailsTab/index.es.js +38 -0
- package/dist/debts/components/debtsdrawer/DebtScheduleTab/index.es.js +80 -0
- package/dist/debts/components/debtsdrawer/DebtStatusCard/index.es.js +61 -0
- package/dist/debts/components/debtspaydown/PaydownButton/index.es.js +25 -0
- package/dist/debts/components/debtspaydown/PaydownContent/index.es.js +31 -0
- package/dist/debts/components/debtspriority/DebtsPriorityButton/index.es.js +34 -0
- package/dist/debts/components/debtspriority/DebtsPrioriyPopover/index.es.js +74 -0
- package/dist/debts/constants/index/index.es.js +4 -0
- package/dist/debts/hooks/useDebtsUiStore/index.es.js +11 -0
- package/dist/debts/index.es.js +10 -0
- package/dist/debts/store/DebtsStore/index.es.js +20 -0
- package/dist/debts/store/DebtsUiStore/index.es.js +23 -0
- package/dist/debts/utils/DebtStore/index.es.js +26 -0
- package/dist/debts/utils/DebtsChart/index.es.js +13 -0
- package/dist/debts/utils/DebtsTable/index.es.js +15 -0
- package/dist/debts/utils/DebtsWidget/index.es.js +42 -0
- package/dist/debts/utils/SnowballCard/index.es.js +37 -0
- package/dist/debts/utils/shared/index.es.js +21 -0
- package/dist/finstrong/FinancialStrengthCard/index.es.js +113 -0
- package/dist/finstrong/FinstrongWidget/index.es.js +141 -0
- package/dist/finstrong/api/FinstrongApi/index.es.js +15 -0
- package/dist/finstrong/components/ConnectMoreAccountsCard/index.es.js +76 -0
- package/dist/finstrong/components/CreditScoreGraph/index.es.js +75 -0
- package/dist/finstrong/components/FinancialStrengthGraph/index.es.js +30 -0
- package/dist/finstrong/components/KeyIndicatorsBorrowTab/index.es.js +63 -0
- package/dist/finstrong/components/KeyIndicatorsDrawer/index.es.js +49 -0
- package/dist/finstrong/components/KeyIndicatorsSaveTab/index.es.js +63 -0
- package/dist/finstrong/components/KeyIndicatorsSpendTab/index.es.js +58 -0
- package/dist/finstrong/components/KeyIndicatorsTabItem/index.es.js +58 -0
- package/dist/finstrong/components/KeyIndicatorsTabsWidget/index.es.js +68 -0
- package/dist/finstrong/components/ManageCreditScore/index.es.js +49 -0
- package/dist/finstrong/components/ManageDOB/index.es.js +62 -0
- package/dist/finstrong/components/MissingData/index.es.js +38 -0
- package/dist/finstrong/components/ProfileDrawer/index.es.js +107 -0
- package/dist/finstrong/components/ProfileList/index.es.js +56 -0
- package/dist/finstrong/components/ProfileProgressBar/index.es.js +26 -0
- package/dist/finstrong/components/ScoreHistoryDrawer/index.es.js +69 -0
- package/dist/finstrong/components/shared/CustomPieArc/index.es.js +63 -0
- package/dist/finstrong/components/shared/DialScoreCard/index.es.js +190 -0
- package/dist/finstrong/components/shared/ScoreHistoryTimeline/index.es.js +106 -0
- package/dist/finstrong/components/shared/ScoreHistoryTimelineItem/index.es.js +20 -0
- package/dist/finstrong/index.es.js +14 -0
- package/dist/finstrong/stores/FinstrongStore/index.es.js +81 -0
- package/dist/finstrong/util/finstrongUtils/index.es.js +108 -0
- package/dist/finstrong/utils/Finstrong/index.es.js +13 -0
- package/dist/goals/GoalsMicroWidget/index.es.js +51 -0
- package/dist/goals/GoalsWidget/index.es.js +138 -0
- package/dist/goals/api/GoalApi/index.es.js +26 -0
- package/dist/goals/components/AccountSelectionDrawer/index.es.js +73 -0
- package/dist/goals/components/AddGoal/AddGoalListItem/index.es.js +51 -0
- package/dist/goals/components/AddGoal/index.es.js +56 -0
- package/dist/goals/components/GoalDetails/index.es.js +69 -0
- package/dist/goals/components/GoalDetailsDrawer/index.es.js +82 -0
- package/dist/goals/components/GoalList/index.es.js +87 -0
- package/dist/goals/components/GoalStatusCard/index.es.js +59 -0
- package/dist/goals/components/ManageGoals/CompleteListItem/index.es.js +35 -0
- package/dist/goals/components/ManageGoals/OngoingListItem/index.es.js +47 -0
- package/dist/goals/components/ManageGoals/ReorderGoals/index.es.js +118 -0
- package/dist/goals/components/ManageGoals/index.es.js +74 -0
- package/dist/goals/components/TabTitle/index.es.js +12 -0
- package/dist/goals/components/actions/AccountAction/index.es.js +46 -0
- package/dist/goals/components/actions/AddRetirementAccountAction/index.es.js +66 -0
- package/dist/goals/components/actions/AmountToSaveAction/index.es.js +46 -0
- package/dist/goals/components/actions/BirthdayAction/index.es.js +42 -0
- package/dist/goals/components/actions/ChangeAccountAction/index.es.js +91 -0
- package/dist/goals/components/actions/ContributionAction/index.es.js +46 -0
- package/dist/goals/components/actions/GoalNameAction/index.es.js +42 -0
- package/dist/goals/components/actions/InterestRateAction/index.es.js +44 -0
- package/dist/goals/components/actions/MonthlyPaymentAction/index.es.js +45 -0
- package/dist/goals/components/actions/OriginalBalanceAction/index.es.js +45 -0
- package/dist/goals/components/actions/RetirementAgeAction/index.es.js +43 -0
- package/dist/goals/components/micro/GoalMicroStatusCard/index.es.js +42 -0
- package/dist/goals/components/micro/GoalsMicroEmptyState/index.es.js +31 -0
- package/dist/goals/index.es.js +10 -0
- package/dist/goals/stores/GoalStore/index.es.js +184 -0
- package/dist/goals/util/GoalsUtil/index.es.js +98 -0
- package/dist/help/HelpWidget/index.es.js +13 -0
- package/dist/help/api/HelpApi/index.es.js +12 -0
- package/dist/help/components/Help/index.es.js +45 -0
- package/dist/help/components/HelpContent/index.es.js +32 -0
- package/dist/help/components/HelpList/index.es.js +118 -0
- package/dist/help/components/content/BottomImageContent/index.es.js +50 -0
- package/dist/help/components/content/ContentItem/index.es.js +21 -0
- package/dist/help/components/content/Header/index.es.js +62 -0
- package/dist/help/components/content/LeftImageContent/index.es.js +50 -0
- package/dist/help/components/content/NoImageContent/index.es.js +14 -0
- package/dist/help/components/content/RightImageContent/index.es.js +48 -0
- package/dist/help/components/content/TopImageContent/index.es.js +50 -0
- package/dist/help/components/content/section/Accounts/index.es.js +249 -0
- package/dist/help/components/content/section/Budgets/index.es.js +102 -0
- package/dist/help/components/content/section/CashFlow/index.es.js +71 -0
- package/dist/help/components/content/section/Debts/index.es.js +252 -0
- package/dist/help/components/content/section/General/index.es.js +163 -0
- package/dist/help/components/content/section/Goals/index.es.js +195 -0
- package/dist/help/components/content/section/Insights/index.es.js +136 -0
- package/dist/help/components/content/section/Investments/index.es.js +71 -0
- package/dist/help/components/content/section/Mobile/index.es.js +85 -0
- package/dist/help/components/content/section/NetWorth/index.es.js +142 -0
- package/dist/help/components/content/section/Notifications/index.es.js +120 -0
- package/dist/help/components/content/section/RecurringTransactions/index.es.js +104 -0
- package/dist/help/components/content/section/Spending/index.es.js +112 -0
- package/dist/help/components/content/section/Transactions/index.es.js +389 -0
- package/dist/help/components/content/section/Trends/index.es.js +83 -0
- package/dist/help/components/content/section/index/index.es.js +35 -0
- package/dist/help/components/content/section/index.d.ts +15 -15
- package/dist/help/components/requestsupport/ContactSupport/index.es.js +99 -0
- package/dist/help/components/requestsupport/HelpByCategoryList/index.es.js +82 -0
- package/dist/help/components/requestsupport/MissingInstitution/index.es.js +95 -0
- package/dist/help/components/requestsupport/PopularTopicsDrawer/index.es.js +50 -0
- package/dist/help/components/requestsupport/PopularTopicsList/index.es.js +22 -0
- package/dist/help/components/requestsupport/PopularTopicsRow/index.es.js +30 -0
- package/dist/help/components/requestsupport/RequestSupport/index.es.js +179 -0
- package/dist/help/components/requestsupport/RequestSupportFooter/index.es.js +26 -0
- package/dist/help/components/requestsupport/RequestSupportHeader/index.es.js +39 -0
- package/dist/help/components/requestsupport/RequestSupportInstitution/index.es.js +75 -0
- package/dist/help/components/requestsupport/SupportSuccessMessage/index.es.js +29 -0
- package/dist/help/constants/Help/index.es.js +299 -0
- package/dist/help/constants/HelpImages/index.es.js +47 -0
- package/dist/help/index.es.js +6 -0
- package/dist/help/store/HelpStore/index.es.js +42 -0
- package/dist/help/utils/getAccessibleHelpCategories/index.es.js +21 -0
- package/dist/help/utils/getInstitutionsBasedOnGuid/index.es.js +14 -0
- package/dist/index.d.ts +0 -22
- package/dist/insights/index.d.ts +1 -0
- package/dist/insights/index.es.js +4 -0
- package/dist/insights/store/BeatStore/index.es.js +35 -0
- package/dist/investments/InvestmentsWidget/index.es.js +107 -0
- package/dist/investments/api/HoldingApi/index.es.js +13 -0
- package/dist/investments/components/Allocation/InvestementAllocationList/index.es.js +126 -0
- package/dist/investments/components/Allocation/InvestmentsAllocationChart/index.es.js +67 -0
- package/dist/investments/components/Allocation/index.es.js +67 -0
- package/dist/investments/components/Allocation/util/createInvestementsAllocationData/index.es.js +134 -0
- package/dist/investments/components/Analysis/index.es.js +169 -0
- package/dist/investments/components/AnalysisDetails/index.es.js +81 -0
- package/dist/investments/components/EmptyStateFooterComponent/index.es.js +52 -0
- package/dist/investments/components/HeaderCell/index.es.js +11 -0
- package/dist/investments/components/HoldingDrawer/index.es.js +322 -0
- package/dist/investments/components/HoldingTable/index.es.js +183 -0
- package/dist/investments/components/InfoToolTip/index.es.js +25 -0
- package/dist/investments/components/Overview/index.es.js +441 -0
- package/dist/investments/components/TabTitle/index.es.js +6 -0
- package/dist/investments/constants/index/index.es.js +53 -0
- package/dist/investments/index.es.js +4 -0
- package/dist/investments/stores/HoldingStore/index.es.js +59 -0
- package/dist/investments/util/InvestmentUtil/index.es.js +100 -0
- package/dist/merchants/api/MerchantApi/index.es.js +16 -0
- package/dist/merchants/components/MerchantLookup/index.es.js +77 -0
- package/dist/merchants/index.es.js +6 -0
- package/dist/merchants/stores/MerchantStore/index.es.js +26 -0
- package/dist/microinsights/analytics/index.es.js +10 -0
- package/dist/microinsights/components/MicroWidgetContainer/index.es.js +28 -0
- package/dist/microinsights/components/beatCard/BeatCard/index.es.js +98 -0
- package/dist/microinsights/components/beaticons/BeatCategoryIcon/index.es.js +13 -0
- package/dist/microinsights/components/beaticons/BeatIcon/index.es.js +22 -0
- package/dist/microinsights/components/beaticons/BeatMerchantLogo/index.es.js +24 -0
- package/dist/microinsights/components/beaticons/ChartFilledIcon/index.es.js +31 -0
- package/dist/microinsights/components/beaticons/MonthlySpendComparisonIcon/index.es.js +14 -0
- package/dist/microinsights/components/beaticons/ZeroStateIcon/index.es.js +786 -0
- package/dist/microinsights/components/carouselheader/CarouselHeader/index.es.js +82 -0
- package/dist/microinsights/components/insightsmicrowidget/InsightsMicroWidget/index.es.js +105 -0
- package/dist/microinsights/components/microBeatCarousel/CarouselControls/index.es.js +101 -0
- package/dist/microinsights/components/microBeatCarousel/MicroBeatCarousel/index.es.js +187 -0
- package/dist/microinsights/components/microInsightCard/MicroInsightCard/index.es.js +152 -0
- package/dist/microinsights/components/noRelevantInsightsCard/NoRelevantInsightsCard/index.es.js +67 -0
- package/dist/microinsights/components/spinner/Spinner/index.es.js +19 -0
- package/dist/microinsights/components/viewMoreMicroCard/ViewMoreMicroCard/index.es.js +58 -0
- package/dist/microinsights/components/zeroStateCard/ZeroStateCard/index.es.js +55 -0
- package/dist/microinsights/constants/Analytics/index.es.js +163 -0
- package/dist/microinsights/constants/App/index.es.js +11 -0
- package/dist/microinsights/context/InsightsMicroWidgetDataProvider/index.es.js +12 -0
- package/dist/microinsights/context/hooks/index.es.js +31 -0
- package/dist/microinsights/index.es.js +28 -0
- package/dist/microinsights/stores/AppStore/index.es.js +25 -0
- package/dist/microinsights/stores/CopyStore/index.es.js +32 -0
- package/dist/microinsights/stores/InsightsMicroWidgetStore/index.es.js +31 -0
- package/dist/microinsights/utils/DataSeries/index.es.js +9 -0
- package/dist/microinsights/utils/beatUtils/index.es.js +51 -0
- package/dist/networth/NetWorthMicroWidget/index.es.js +44 -0
- package/dist/networth/NetWorthWidget/index.es.js +159 -0
- package/dist/networth/components/AssetsLiabilitiesDetail/index.es.js +109 -0
- package/dist/networth/components/GainsLossesDetail/index.es.js +94 -0
- package/dist/networth/components/NetWorthChange/index.es.js +31 -0
- package/dist/networth/components/NetWorthChart/index.es.js +45 -0
- package/dist/networth/components/NetWorthList/index.es.js +60 -0
- package/dist/networth/components/NetWorthListItem/index.es.js +60 -0
- package/dist/networth/components/NetWorthSummary/index.es.js +20 -0
- package/dist/networth/components/micro/NetworthData/index.es.js +21 -0
- package/dist/networth/components/micro/ZeroState/index.es.js +14 -0
- package/dist/networth/index.es.js +14 -0
- package/dist/networth/stores/NetWorthStore/index.es.js +65 -0
- package/dist/networth/utils/NetWorthUtils/index.es.js +95 -0
- package/dist/notifications/components/DateRow/index.es.js +8 -0
- package/dist/notifications/components/NotificationBadge/index.es.js +26 -0
- package/dist/notifications/components/NotificationCard/index.es.js +42 -0
- package/dist/notifications/components/NotificationDrawer/index.es.js +67 -0
- package/dist/notifications/components/NotificationList/index.es.js +36 -0
- package/dist/notifications/components/NotificationsEmptyState/index.es.js +34 -0
- package/dist/notifications/constants/NotificationConstants/index.es.js +22 -0
- package/dist/notifications/index.es.js +12 -0
- package/dist/notifications/stores/NotificationStore/index.es.js +37 -0
- package/dist/notifications/utils/NotificationUtils/index.es.js +16 -0
- package/dist/recurringtransactions/RecurringTransactionsMicroWidget/index.es.js +179 -0
- package/dist/recurringtransactions/RecurringTransactionsMiniWidget/index.es.js +37 -0
- package/dist/recurringtransactions/RecurringTransactionsWidget/index.es.js +67 -0
- package/dist/recurringtransactions/ZeroStateMicroWidget/index.es.js +19 -0
- package/dist/recurringtransactions/api/RepeatingTransactionsApi/index.es.js +18 -0
- package/dist/recurringtransactions/components/MiniWidgetContent/index.es.js +32 -0
- package/dist/recurringtransactions/components/PaymentSchedule/index.es.js +100 -0
- package/dist/recurringtransactions/components/RecurrenceBadges/index.es.js +20 -0
- package/dist/recurringtransactions/components/RecurrenceList/index.es.js +69 -0
- package/dist/recurringtransactions/components/RecurrenceRow/index.es.js +149 -0
- package/dist/recurringtransactions/components/RecurringStatus/index.es.js +42 -0
- package/dist/recurringtransactions/components/RecurringTransactionDetails/index.es.js +130 -0
- package/dist/recurringtransactions/components/RecurringTransactions/index.es.js +163 -0
- package/dist/recurringtransactions/components/actions/PaymentScheduleAction/index.es.js +56 -0
- package/dist/recurringtransactions/components/micro/MerchantLogosRow/index.es.js +17 -0
- package/dist/recurringtransactions/components/micro/OverlappingMerchantLogos/index.es.js +44 -0
- package/dist/recurringtransactions/components/micro/RecurrenceLegend/index.es.js +31 -0
- package/dist/recurringtransactions/components/recurrencecalendar/Legend/index.es.js +32 -0
- package/dist/recurringtransactions/components/recurrencecalendar/RecurrenceCalendar/index.es.js +84 -0
- package/dist/recurringtransactions/components/recurrencecalendar/RecurrenceDay/index.es.js +68 -0
- package/dist/recurringtransactions/components/shared/recurringsettings/AddRecurringTransaction/index.es.js +114 -0
- package/dist/recurringtransactions/components/shared/recurringsettings/AddRecurringTransactionDetails/index.es.js +44 -0
- package/dist/recurringtransactions/components/shared/recurringsettings/ManageExpenses/index.es.js +31 -0
- package/dist/recurringtransactions/components/shared/recurringsettings/ManageIncome/index.es.js +38 -0
- package/dist/recurringtransactions/components/shared/recurringsettings/RecurringRow/index.es.js +108 -0
- package/dist/recurringtransactions/components/shared/recurringsettings/SelectTransaction/index.es.js +37 -0
- package/dist/recurringtransactions/components/shared/recurringsettings/index.es.js +36 -0
- package/dist/recurringtransactions/index.es.js +20 -0
- package/dist/recurringtransactions/stores/RecurringTransactionsStore/index.es.js +247 -0
- package/dist/recurringtransactions/util/RecurringTransactions/index.es.js +232 -0
- package/dist/settings/NotificationSettingsWidget/index.es.js +13 -0
- package/dist/settings/SettingsWidget/index.es.js +55 -0
- package/dist/settings/TransactionRulesWidget/index.es.js +12 -0
- package/dist/settings/api/SettingsApi/index.es.js +23 -0
- package/dist/settings/components/SettingsWidgetContents/index.es.js +47 -0
- package/dist/settings/components/devices/DeviceDialog/index.es.js +129 -0
- package/dist/settings/components/devices/DeviceList/index.es.js +118 -0
- package/dist/settings/components/devices/DeviceTab/index.es.js +79 -0
- package/dist/settings/components/devices/DeviceTable/index.es.js +134 -0
- package/dist/settings/components/notifications/AccountNotificationProfile/index.es.js +80 -0
- package/dist/settings/components/notifications/AccountNotificationProfiles/index.es.js +55 -0
- package/dist/settings/components/notifications/AccountProfileListItem/index.es.js +102 -0
- package/dist/settings/components/notifications/BudgetNotificationProfiles/index.es.js +12 -0
- package/dist/settings/components/notifications/DeliveryMethods/index.es.js +77 -0
- package/dist/settings/components/notifications/InsightsNotificationProfiles/index.es.js +12 -0
- package/dist/settings/components/notifications/NotificationProfile/index.es.js +96 -0
- package/dist/settings/components/notifications/NotificationSettings/index.es.js +89 -0
- package/dist/settings/components/notifications/PersonalDetails/index.es.js +99 -0
- package/dist/settings/components/profile/ProfileTab/index.es.js +204 -0
- package/dist/settings/components/profile/actions/VerifyEmailAction/index.es.js +63 -0
- package/dist/settings/components/profile/actions/VerifyPhoneAction/index.es.js +80 -0
- package/dist/settings/components/profile/actions/VerifyTokenAction/index.es.js +36 -0
- package/dist/settings/components/transactionrules/TransactionRulesTab/index.es.js +23 -0
- package/dist/settings/components/transactionrules/actions/DeleteRuleAction/index.es.js +34 -0
- package/dist/settings/components/transactionrules/actions/EditCategoryAction/index.es.js +38 -0
- package/dist/settings/components/transactionrules/actions/EditPayeeAction/index.es.js +52 -0
- package/dist/settings/components/transactionrules/actions/EditRuleAction/index.es.js +33 -0
- package/dist/settings/components/transactionrules/components/EditRuleDetails/index.es.js +52 -0
- package/dist/settings/components/transactionrules/components/RuleListItem/index.es.js +20 -0
- package/dist/settings/constants/Settings/index.es.js +4 -0
- package/dist/settings/index.es.js +29 -0
- package/dist/settings/stores/SettingsStore/index.es.js +187 -0
- package/dist/settings/util/Notifications/index.es.js +64 -0
- package/dist/spending/SpendingMiniWidget/index.es.js +26 -0
- package/dist/spending/SpendingWidget/index.es.js +38 -0
- package/dist/spending/components/MiniSpendingChart/index.es.js +115 -0
- package/dist/spending/components/Spending/index.es.js +141 -0
- package/dist/spending/components/SpendingChart/index.es.js +61 -0
- package/dist/spending/components/SpendingDonut/index.es.js +69 -0
- package/dist/spending/components/SpendingLegend/index.es.js +25 -0
- package/dist/spending/components/SpendingList/index.es.js +96 -0
- package/dist/spending/components/SpendingTabLabel/index.es.js +11 -0
- package/dist/spending/index.es.js +6 -0
- package/dist/spending/utils/SpendingData/index.es.js +86 -0
- package/dist/transactions/TransactionWidget/index.es.js +242 -0
- package/dist/transactions/analytics/index.es.js +5 -0
- package/dist/transactions/api/TransactionApi/index.es.js +87 -0
- package/dist/transactions/components/shared/TransactionDetails/Description/index.es.js +68 -0
- package/dist/transactions/components/shared/TransactionDetails/FlagTransaction/index.es.js +43 -0
- package/dist/transactions/components/shared/TransactionDetails/ManualTransactionDetails/index.es.js +126 -0
- package/dist/transactions/components/shared/TransactionDetails/TransactionAmountHeader/index.es.js +27 -0
- package/dist/transactions/components/shared/TransactionDetails/actions/CategoryAction/index.es.js +105 -0
- package/dist/transactions/components/shared/TransactionDetails/actions/DateAction/index.es.js +81 -0
- package/dist/transactions/components/shared/TransactionDetails/actions/DeleteAction/index.es.js +60 -0
- package/dist/transactions/components/shared/TransactionDetails/actions/DeleteLogoAction/index.es.js +60 -0
- package/dist/transactions/components/shared/TransactionDetails/actions/HideAction/index.es.js +90 -0
- package/dist/transactions/components/shared/TransactionDetails/actions/MemoAction/index.es.js +91 -0
- package/dist/transactions/components/shared/TransactionDetails/actions/SplitAction/index.es.js +143 -0
- package/dist/transactions/components/shared/TransactionDetails/actions/TagsAction/index.es.js +75 -0
- package/dist/transactions/components/shared/TransactionDetails/index.es.js +79 -0
- package/dist/transactions/components/shared/TransactionList/TransactionRow/index.es.js +84 -0
- package/dist/transactions/components/shared/TransactionList/ZeroState/index.es.js +17 -0
- package/dist/transactions/components/shared/TransactionList/index.es.js +82 -0
- package/dist/transactions/components/shared/TransactionTable/cells/AccountCell/index.es.js +9 -0
- package/dist/transactions/components/shared/TransactionTable/cells/AmountCell/index.es.js +20 -0
- package/dist/transactions/components/shared/TransactionTable/cells/CategoryCell/index.es.js +29 -0
- package/dist/transactions/components/shared/TransactionTable/cells/DateCell/index.es.js +8 -0
- package/dist/transactions/components/shared/TransactionTable/cells/FlagCell/index.es.js +38 -0
- package/dist/transactions/components/shared/TransactionTable/cells/HeaderCell/index.es.js +6 -0
- package/dist/transactions/components/shared/TransactionTable/cells/PayeeCell/index.es.js +16 -0
- package/dist/transactions/components/shared/TransactionTable/index.es.js +110 -0
- package/dist/transactions/components/splitmanager/SplitManager/index.es.js +69 -0
- package/dist/transactions/components/splitmanager/SplitRow/index.es.js +126 -0
- package/dist/transactions/components/tagmanager/Header/index.es.js +78 -0
- package/dist/transactions/components/tagmanager/SearchBox/index.es.js +37 -0
- package/dist/transactions/components/tagmanager/TagManager/index.es.js +32 -0
- package/dist/transactions/components/tagmanager/TagRow/index.es.js +114 -0
- package/dist/transactions/components/transactionwidget/AddAccountModal/index.es.js +29 -0
- package/dist/transactions/components/transactionwidget/actions/EditCategoryAction/index.es.js +54 -0
- package/dist/transactions/constants/Actions/index.es.js +19 -0
- package/dist/transactions/constants/Analytics/index.es.js +259 -0
- package/dist/transactions/constants/OnClickEvents/index.es.js +48 -0
- package/dist/transactions/constants/Transaction/index.es.js +33 -0
- package/dist/transactions/constants/TransactionsTable/index.es.js +11 -0
- package/dist/transactions/context/hooks/index.es.js +11 -0
- package/dist/transactions/index.es.js +27 -0
- package/dist/transactions/stores/TransactionStore/index.es.js +224 -0
- package/dist/transactions/stores/UiStore/index.es.js +48 -0
- package/dist/transactions/utils/Filters/index.es.js +9 -0
- package/dist/transactions/utils/Transactions/index.es.js +13 -0
- package/dist/transactions/utils/buildDetailedTransactions/index.es.js +35 -0
- package/dist/transactions/utils/exportTransactionsToCSV/index.es.js +47 -0
- package/dist/transactions/utils/sortAndFilterTransactions/index.es.js +44 -0
- package/dist/trends/TrendsFullWidget/index.es.js +157 -0
- package/dist/trends/TrendsMicroWidget/index.es.js +86 -0
- package/dist/trends/TrendsMiniWidget/index.es.js +28 -0
- package/dist/trends/TrendsWidget/index.es.js +173 -0
- package/dist/trends/ZeroStateMicroWidget/index.es.js +19 -0
- package/dist/trends/components/CategoriesList/index.es.js +62 -0
- package/dist/trends/components/CategoriesListItem/index.es.js +25 -0
- package/dist/trends/components/CategoryDetailChart/index.es.js +34 -0
- package/dist/trends/components/CategoryDetailDrawer/index.es.js +44 -0
- package/dist/trends/components/DateRangeText/index.es.js +39 -0
- package/dist/trends/components/SpendingChart/index.es.js +28 -0
- package/dist/trends/components/TransactionsList/index.es.js +81 -0
- package/dist/trends/components/TrendsChart/index.es.js +45 -0
- package/dist/trends/components/TrendsChartTotals/index.es.js +56 -0
- package/dist/trends/components/TrendsDrawer/index.es.js +48 -0
- package/dist/trends/components/TrendsInsights/index.es.js +43 -0
- package/dist/trends/components/TrendsMicroSpendingIncomeBox/index.es.js +96 -0
- package/dist/trends/components/TrendsTable/AmountCell/index.es.js +10 -0
- package/dist/trends/components/TrendsTable/CategoryCell/index.es.js +30 -0
- package/dist/trends/components/TrendsTable/HeaderCell/index.es.js +6 -0
- package/dist/trends/components/TrendsTable/index.es.js +96 -0
- package/dist/trends/components/TrendsViewToggle/index.es.js +17 -0
- package/dist/trends/constants/TrendsInsights/index.es.js +38 -0
- package/dist/trends/index.es.js +12 -0
- package/dist/trends/stores/TrendsStore/index.es.js +77 -0
- package/dist/trends/utils/SpendingData/index.es.js +47 -0
- package/dist/trends/utils/TrendsData/index.es.js +41 -0
- package/dist/trends/utils/shared/index.es.js +15 -0
- package/package.json +155 -3
- package/dist/index.es.js +0 -30335
- package/dist/index.es.js.map +0 -1
- /package/dist/budgets/components/{bubblechart → BubbleChart}/Bubble.d.ts +0 -0
- /package/dist/budgets/components/{bubblechart → BubbleChart}/Mercury.d.ts +0 -0
- /package/dist/budgets/components/{budgetlist → BudgetList}/BudgetRow.d.ts +0 -0
- /package/dist/budgets/components/{budgetlist → BudgetList}/SubBudgetRow.d.ts +0 -0
- /package/dist/budgets/components/{budgetlist → BudgetList}/SubBudgetZeroState.d.ts +0 -0
- /package/dist/common/components/charts/{linechart → LineChart}/CustomLegend.d.ts +0 -0
- /package/dist/common/components/charts/{linechart → LineChart}/CustomLine.d.ts +0 -0
- /package/dist/common/components/charts/{linechart → LineChart}/CustomMark.d.ts +0 -0
- /package/dist/common/components/charts/{linechart → LineChart}/CustomTooltip.d.ts +0 -0
- /package/dist/common/components/charts/{stackedlinechart → StackedLineChart}/CategoryIconLabel.d.ts +0 -0
- /package/dist/common/components/charts/{stackedlinechart → StackedLineChart}/CustomAreaTooltip.d.ts +0 -0
- /package/dist/common/components/charts/{stackedlinechart → StackedLineChart}/CustomLegend.d.ts +0 -0
- /package/dist/common/components/charts/{stackedlinechart → StackedLineChart}/CustomPointTooltip.d.ts +0 -0
- /package/dist/common/components/charts/{stackedlinechart → StackedLineChart}/utils.d.ts +0 -0
- /package/dist/debts/components/{debtstable → DebtsTable}/AccountCell.d.ts +0 -0
- /package/dist/debts/components/{debtstable → DebtsTable}/PriorityCell.d.ts +0 -0
- /package/dist/goals/components/{addgoal → AddGoal}/AddGoalListItem.d.ts +0 -0
- /package/dist/goals/components/{managegoals → ManageGoals}/CompleteListItem.d.ts +0 -0
- /package/dist/goals/components/{managegoals → ManageGoals}/OngoingListItem.d.ts +0 -0
- /package/dist/goals/components/{managegoals → ManageGoals}/ReorderGoals.d.ts +0 -0
- /package/dist/investments/components/{allocation → Allocation}/InvestementAllocationList.d.ts +0 -0
- /package/dist/investments/components/{allocation → Allocation}/InvestmentsAllocationChart.d.ts +0 -0
- /package/dist/investments/components/{allocation → Allocation}/util/createInvestementsAllocationData.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/Description.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/FlagTransaction.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/ManualTransactionDetails.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/TransactionAmountHeader.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/actions/CategoryAction.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/actions/DateAction.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/actions/DeleteAction.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/actions/DeleteLogoAction.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/actions/HideAction.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/actions/MemoAction.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/actions/SplitAction.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/actions/TagsAction.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/actions/index.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactionlist → TransactionList}/DateRow.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactionlist → TransactionList}/TransactionRow.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactionlist → TransactionList}/ZeroState.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactiontable → TransactionTable}/cells/AccountCell.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactiontable → TransactionTable}/cells/AmountCell.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactiontable → TransactionTable}/cells/CategoryCell.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactiontable → TransactionTable}/cells/DateCell.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactiontable → TransactionTable}/cells/FlagCell.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactiontable → TransactionTable}/cells/HeaderCell.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactiontable → TransactionTable}/cells/PayeeCell.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactiontable → TransactionTable}/cells/index.d.ts +0 -0
- /package/dist/trends/components/{trendstable → TrendsTable}/AmountCell.d.ts +0 -0
- /package/dist/trends/components/{trendstable → TrendsTable}/CategoryCell.d.ts +0 -0
- /package/dist/trends/components/{trendstable → TrendsTable}/HeaderCell.d.ts +0 -0
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { jsxs as f, Fragment as d, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import t from "react";
|
|
3
|
+
import { observer as T } from "mobx-react-lite";
|
|
4
|
+
import { subDays as l, startOfToday as p, endOfToday as C } from "date-fns";
|
|
5
|
+
import S from "../../../../../transactions/components/shared/TransactionList/index.es.js";
|
|
6
|
+
import A from "../../../../../transactions/components/shared/TransactionDetails/index.es.js";
|
|
7
|
+
import { useAccountUiStore as E } from "../../../../hooks/useUiStore/index.es.js";
|
|
8
|
+
import { useEvent as _, useGlobalCopyStore as b, useTransactionStore as g } from "../../../../../common/context/hooks/index.es.js";
|
|
9
|
+
import { ANALYTICS_EVENTS as y } from "../../../../../common/constants/Analytics/index.es.js";
|
|
10
|
+
import N from "../../../../../common/components/drawer/Drawer/index.es.js";
|
|
11
|
+
const O = () => {
|
|
12
|
+
const [o, s] = t.useState(""), { onEvent: i } = _(), { selectedAccount: e } = E(), { accounts: n } = b(), { setFilter: m, sortedTransactions: a } = g(), c = t.useMemo(
|
|
13
|
+
() => a.find((u) => u.guid === o),
|
|
14
|
+
[o, a]
|
|
15
|
+
);
|
|
16
|
+
return t.useEffect(() => {
|
|
17
|
+
m({
|
|
18
|
+
dateRange: { start: l(p(), 90), end: C() },
|
|
19
|
+
accounts: [e.guid]
|
|
20
|
+
});
|
|
21
|
+
}, [e]), t.useEffect(() => i(y.ACCOUNT_DETAILS_VIEW_TRANSACTIONS), []), /* @__PURE__ */ f(d, { children: [
|
|
22
|
+
/* @__PURE__ */ r(S, { onClick: s }),
|
|
23
|
+
c && /* @__PURE__ */ r(
|
|
24
|
+
N,
|
|
25
|
+
{
|
|
26
|
+
ariaLabelClose: n.close_drawer,
|
|
27
|
+
isOpen: !!o,
|
|
28
|
+
onClose: () => s(""),
|
|
29
|
+
title: n.transaction_drawer_title,
|
|
30
|
+
children: /* @__PURE__ */ r(A, { transaction: c })
|
|
31
|
+
}
|
|
32
|
+
)
|
|
33
|
+
] });
|
|
34
|
+
}, G = T(O);
|
|
35
|
+
export {
|
|
36
|
+
G as default
|
|
37
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
var t = /* @__PURE__ */ ((r) => (r.Loading = "loading", r.Error = "error", r))(t || {}), a = /* @__PURE__ */ ((r) => (r.Currency = "currency", r.Date = "date", r.Input = "input", r.Select = "select", r))(a || {});
|
|
2
|
+
export {
|
|
3
|
+
a as FieldType,
|
|
4
|
+
t as MemberConnectionStatus
|
|
5
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { useAccountUiStore as r } from "../useUiStore/index.es.js";
|
|
2
|
+
import { useAccountStore as u } from "../../../common/context/hooks/index.es.js";
|
|
3
|
+
const i = () => {
|
|
4
|
+
const { accounts: c } = u(), { selectedAccount: o, selectedMember: e } = r();
|
|
5
|
+
return c.filter(
|
|
6
|
+
(t) => t.member_guid === e.guid && e.successfully_aggregated_at && t.guid !== o.guid
|
|
7
|
+
);
|
|
8
|
+
};
|
|
9
|
+
export {
|
|
10
|
+
i as useGetMergeableAccounts
|
|
11
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import t from "react";
|
|
2
|
+
import { GlobalDataContext as o } from "../../../common/context/GlobalDataProvider/index.es.js";
|
|
3
|
+
import { useAccountStore as e } from "../../../common/context/hooks/index.es.js";
|
|
4
|
+
const i = () => {
|
|
5
|
+
if (!t.useContext(o))
|
|
6
|
+
throw new Error("useCategoryUiStore() must be used within the GlobalDataContext");
|
|
7
|
+
return e().uiStore;
|
|
8
|
+
};
|
|
9
|
+
export {
|
|
10
|
+
i as useAccountUiStore
|
|
11
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { default as o } from "./AccountsWidget/index.es.js";
|
|
2
|
+
import { default as c } from "./AccountsMiniWidget/index.es.js";
|
|
3
|
+
import { default as a } from "./ConnectMiniWidget/index.es.js";
|
|
4
|
+
import { default as f } from "./components/detailsdrawer/Accounts/AccountDetailsHeader/index.es.js";
|
|
5
|
+
import { default as s } from "./components/detailsdrawer/Accounts/AccountDetailsContent/index.es.js";
|
|
6
|
+
import { getAccountBalanceDetails as p, getAccountDetailFields as m } from "./utils/AccountFields/index.es.js";
|
|
7
|
+
import { FieldType as x, MemberConnectionStatus as A } from "./constants/Accounts/index.es.js";
|
|
8
|
+
import { useGetMergeableAccounts as D } from "./hooks/useGetMergeableAccounts/index.es.js";
|
|
9
|
+
import { AccountApi as C } from "./api/AccountApi/index.es.js";
|
|
10
|
+
import { AccountStore as W } from "./stores/AccountStore/index.es.js";
|
|
11
|
+
import { useAccountUiStore as F } from "./hooks/useUiStore/index.es.js";
|
|
12
|
+
export {
|
|
13
|
+
C as AccountApi,
|
|
14
|
+
s as AccountDetailsContent,
|
|
15
|
+
f as AccountDetailsHeader,
|
|
16
|
+
W as AccountStore,
|
|
17
|
+
c as AccountsMiniWidget,
|
|
18
|
+
o as AccountsWidget,
|
|
19
|
+
a as ConnectMiniWidget,
|
|
20
|
+
x as FieldType,
|
|
21
|
+
A as MemberConnectionStatus,
|
|
22
|
+
p as getAccountBalanceDetails,
|
|
23
|
+
m as getAccountDetailFields,
|
|
24
|
+
F as useAccountUiStore,
|
|
25
|
+
D as useGetMergeableAccounts
|
|
26
|
+
};
|
|
@@ -0,0 +1,204 @@
|
|
|
1
|
+
import { makeAutoObservable as d, runInAction as i } from "mobx";
|
|
2
|
+
import { AccountApi as h } from "../../api/AccountApi/index.es.js";
|
|
3
|
+
import { UiStore as l } from "../UiStore/index.es.js";
|
|
4
|
+
import { AccountType as n, ConnectionStatus as a, ErrorStatuses as _, ProcessingStatuses as m, MfaStatuses as A } from "../../../common/types/Account/index.es.js";
|
|
5
|
+
class I {
|
|
6
|
+
globalStore;
|
|
7
|
+
api = new h("/", "");
|
|
8
|
+
accounts = [];
|
|
9
|
+
institutions = [];
|
|
10
|
+
members = [];
|
|
11
|
+
uiStore;
|
|
12
|
+
constructor(t) {
|
|
13
|
+
this.globalStore = t, this.uiStore = new l(), this.api = new h(t.endpoint, t.sessionToken), d(this);
|
|
14
|
+
}
|
|
15
|
+
loadAccountData = async ({
|
|
16
|
+
accounts: t,
|
|
17
|
+
institutions: e
|
|
18
|
+
} = {}) => {
|
|
19
|
+
await Promise.all([this.loadAccounts(t), this.loadInstitutions(e)]);
|
|
20
|
+
};
|
|
21
|
+
get cashAccounts() {
|
|
22
|
+
return this.accounts.filter(
|
|
23
|
+
(t) => t.account_type === n.CASH || t.account_type === n.CHECKING || t.account_type === n.PREPAID || t.account_type === n.SAVINGS || t.account_type === n.CHECKING_LINE_OF_CREDIT
|
|
24
|
+
);
|
|
25
|
+
}
|
|
26
|
+
get cashBalance() {
|
|
27
|
+
return this.cashAccounts.reduce((t, e) => t + (e?.balance || 0), 0);
|
|
28
|
+
}
|
|
29
|
+
get checkingAccounts() {
|
|
30
|
+
return this.accounts.filter((t) => t.account_type === n.CHECKING);
|
|
31
|
+
}
|
|
32
|
+
get debtAccounts() {
|
|
33
|
+
return this.accounts.filter(
|
|
34
|
+
(t) => t.account_type === n.CREDIT_CARD || t.account_type === n.LOAN || t.account_type === n.MORTGAGE || t.account_type === n.LINE_OF_CREDIT || t.account_type === n.CHECKING_LINE_OF_CREDIT
|
|
35
|
+
);
|
|
36
|
+
}
|
|
37
|
+
get finstrongAccounts() {
|
|
38
|
+
const t = /* @__PURE__ */ new Set([
|
|
39
|
+
n.CHECKING,
|
|
40
|
+
n.SAVINGS,
|
|
41
|
+
n.CREDIT_CARD,
|
|
42
|
+
n.INVESTMENT
|
|
43
|
+
]);
|
|
44
|
+
return this.accounts.filter((e) => t.has(e.account_type));
|
|
45
|
+
}
|
|
46
|
+
get investmentAccounts() {
|
|
47
|
+
return this.accounts.filter(
|
|
48
|
+
(t) => t.account_type === n.INVESTMENT
|
|
49
|
+
);
|
|
50
|
+
}
|
|
51
|
+
get savingsAccounts() {
|
|
52
|
+
return this.accounts.filter((t) => t.account_type === n.SAVINGS);
|
|
53
|
+
}
|
|
54
|
+
get visibleAccounts() {
|
|
55
|
+
return this.accounts.filter((t) => !t.is_hidden);
|
|
56
|
+
}
|
|
57
|
+
get visibleCashAccounts() {
|
|
58
|
+
return this.cashAccounts.filter((t) => !t.is_hidden);
|
|
59
|
+
}
|
|
60
|
+
get visibleCashBalance() {
|
|
61
|
+
return this.visibleCashAccounts.reduce((t, e) => t + (e?.balance || 0), 0);
|
|
62
|
+
}
|
|
63
|
+
get visibleCheckingAccounts() {
|
|
64
|
+
return this.checkingAccounts.filter((t) => !t.is_hidden);
|
|
65
|
+
}
|
|
66
|
+
get visibleDebtAccounts() {
|
|
67
|
+
return this.debtAccounts.filter((t) => !t.is_hidden);
|
|
68
|
+
}
|
|
69
|
+
get visibleFinstrongAccounts() {
|
|
70
|
+
return this.finstrongAccounts.filter(
|
|
71
|
+
(t) => !(t.is_closed || t.is_deleted || t.is_hidden)
|
|
72
|
+
);
|
|
73
|
+
}
|
|
74
|
+
get visibleInvestmentAccounts() {
|
|
75
|
+
return this.investmentAccounts.filter((t) => !t.is_hidden);
|
|
76
|
+
}
|
|
77
|
+
get visibleSavingsAccounts() {
|
|
78
|
+
return this.savingsAccounts.filter((t) => !t.is_hidden);
|
|
79
|
+
}
|
|
80
|
+
addAccount = async (t) => {
|
|
81
|
+
try {
|
|
82
|
+
const e = await this.api.createAccount(t);
|
|
83
|
+
i(() => {
|
|
84
|
+
this.accounts = [...this.accounts, e];
|
|
85
|
+
});
|
|
86
|
+
} catch (e) {
|
|
87
|
+
console.error(`Error occurred while adding an account: ${e}`);
|
|
88
|
+
}
|
|
89
|
+
};
|
|
90
|
+
augmentAccounts = (t = this.accounts) => {
|
|
91
|
+
const e = [];
|
|
92
|
+
return t.forEach((c) => {
|
|
93
|
+
const s = this.members.findIndex(
|
|
94
|
+
(r) => r.guid === c.member_guid
|
|
95
|
+
);
|
|
96
|
+
if (s > -1) {
|
|
97
|
+
let r = a.Connected;
|
|
98
|
+
const o = this.members[s];
|
|
99
|
+
_.includes(o.connection_status) ? r = a.Error : m.includes(o.connection_status) ? r = a.Processing : A.includes(o.connection_status) && (r = a.RequiresMfa);
|
|
100
|
+
let u = c.user_name || c.feed_name || "";
|
|
101
|
+
c.account_number && (u = `${u} *${c.account_number}`), e.push({
|
|
102
|
+
...c,
|
|
103
|
+
institutionName: u,
|
|
104
|
+
memberName: o.name,
|
|
105
|
+
connectionStatus: r
|
|
106
|
+
}), this.members[s].connectionStatus = r;
|
|
107
|
+
}
|
|
108
|
+
}), e;
|
|
109
|
+
};
|
|
110
|
+
loadAccounts = async (t) => {
|
|
111
|
+
await this.loadMembers();
|
|
112
|
+
try {
|
|
113
|
+
const e = t || await this.api.getAccounts();
|
|
114
|
+
i(() => {
|
|
115
|
+
this.accounts = this.sortAccounts(this.augmentAccounts(e));
|
|
116
|
+
});
|
|
117
|
+
} catch (e) {
|
|
118
|
+
console.error(`Error occurred while loading accounts: ${e}`);
|
|
119
|
+
}
|
|
120
|
+
};
|
|
121
|
+
loadInstitutions = async (t) => {
|
|
122
|
+
try {
|
|
123
|
+
const e = t || await this.api.getInstitutions();
|
|
124
|
+
i(() => {
|
|
125
|
+
this.institutions = e;
|
|
126
|
+
});
|
|
127
|
+
} catch (e) {
|
|
128
|
+
console.error(`Error occurred while loading institutions: ${e}`);
|
|
129
|
+
}
|
|
130
|
+
};
|
|
131
|
+
loadMembers = async () => {
|
|
132
|
+
try {
|
|
133
|
+
const t = await this.api.getMembers();
|
|
134
|
+
i(() => {
|
|
135
|
+
this.members = t;
|
|
136
|
+
});
|
|
137
|
+
} catch (t) {
|
|
138
|
+
console.error(`Error occurred while loading members: ${t}`);
|
|
139
|
+
}
|
|
140
|
+
};
|
|
141
|
+
mergeAccounts = async (t) => {
|
|
142
|
+
try {
|
|
143
|
+
const e = await this.api.mergeAccounts(t), c = e[Object.keys(e)[0]];
|
|
144
|
+
i(() => {
|
|
145
|
+
const s = this.accounts.findIndex((o) => o.guid === t[1]);
|
|
146
|
+
this.accounts.splice(s, 1);
|
|
147
|
+
const r = this.accounts.findIndex((o) => o.guid === t[0]);
|
|
148
|
+
this.accounts.splice(r, 1, c);
|
|
149
|
+
});
|
|
150
|
+
} catch (e) {
|
|
151
|
+
console.error(`Error occurred while merging accounts: ${e}`);
|
|
152
|
+
}
|
|
153
|
+
};
|
|
154
|
+
sortAccounts = (t = this.accounts) => t.sort((e, c) => e.account_type > c.account_type ? 1 : e.account_type < c.account_type ? -1 : (e.name || "") > (c.name || "") ? 1 : (e.name || "") < (c.name || "") ? -1 : 0);
|
|
155
|
+
refreshAccounts = async () => {
|
|
156
|
+
this.uiStore.setIsLoading(!0), await Promise.all([this.loadAccounts(), this.loadInstitutions()]), this.uiStore.setIsLoading(!1);
|
|
157
|
+
};
|
|
158
|
+
refreshMembers = async () => {
|
|
159
|
+
try {
|
|
160
|
+
await this.api.refreshAllMembers(), await this.loadMembers();
|
|
161
|
+
} catch (t) {
|
|
162
|
+
console.error(`Error occurredwhile refreshing members: ${t}`);
|
|
163
|
+
}
|
|
164
|
+
};
|
|
165
|
+
removeAccount = async (t) => {
|
|
166
|
+
try {
|
|
167
|
+
await this.api.deleteAccount(t), i(() => {
|
|
168
|
+
const e = this.accounts.findIndex((c) => c.guid === t);
|
|
169
|
+
this.accounts.splice(e, 1);
|
|
170
|
+
});
|
|
171
|
+
} catch (e) {
|
|
172
|
+
console.error(`Error occurred while removing an account: ${e}`);
|
|
173
|
+
}
|
|
174
|
+
};
|
|
175
|
+
updateAccount = async (t) => {
|
|
176
|
+
try {
|
|
177
|
+
const e = await this.api.updateAccount(t);
|
|
178
|
+
i(() => {
|
|
179
|
+
const c = this.accounts.findIndex(
|
|
180
|
+
(s) => s.guid === e.guid
|
|
181
|
+
);
|
|
182
|
+
this.accounts.splice(c, 1, e), this.accounts = this.augmentAccounts(this.accounts);
|
|
183
|
+
});
|
|
184
|
+
} catch (e) {
|
|
185
|
+
console.error(`Error occurred while updating account: ${e}`);
|
|
186
|
+
}
|
|
187
|
+
};
|
|
188
|
+
updateAccountFiltering = async (t, e) => {
|
|
189
|
+
for (const c of t) {
|
|
190
|
+
const s = this.accounts.find((r) => r.guid === c);
|
|
191
|
+
if (s) {
|
|
192
|
+
s.is_excluded_from_accounts = e, s.is_excluded_from_budgets = e, s.is_excluded_from_cash_flow = e, s.is_excluded_from_debts = e, s.is_excluded_from_goals = e, s.is_excluded_from_investments = e, s.is_excluded_from_net_worth = e, s.is_excluded_from_spending = e, s.is_excluded_from_transactions = e, s.is_excluded_from_trends = e;
|
|
193
|
+
try {
|
|
194
|
+
this.updateAccount(s);
|
|
195
|
+
} catch (r) {
|
|
196
|
+
console.error(`Failed to update account ${c} (added):`, r);
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
};
|
|
201
|
+
}
|
|
202
|
+
export {
|
|
203
|
+
I as AccountStore
|
|
204
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { makeAutoObservable as t } from "mobx";
|
|
2
|
+
class o {
|
|
3
|
+
isLoading = !1;
|
|
4
|
+
selectedAccount = {};
|
|
5
|
+
selectedMember = {};
|
|
6
|
+
constructor() {
|
|
7
|
+
t(this);
|
|
8
|
+
}
|
|
9
|
+
setIsLoading = (e) => this.isLoading = e;
|
|
10
|
+
setSelectedAccount = (e) => this.selectedAccount = e;
|
|
11
|
+
setSelectedMember = (e) => this.selectedMember = e;
|
|
12
|
+
}
|
|
13
|
+
export {
|
|
14
|
+
o as UiStore
|
|
15
|
+
};
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
import { jsx as u } from "react/jsx-runtime";
|
|
2
|
+
import { Icon as p, Text as c } from "@mxenabled/mxui";
|
|
3
|
+
import { AccountType as d, AccountIcon as v, PropertyType as h, PropertyIcon as F } from "../../../common/types/Account/index.es.js";
|
|
4
|
+
import { isManual as T, usesInterestRateField as D, isAccountLiability as A, usesCreditLimitField as O, usesOriginalBalanceField as g } from "../Accounts/index.es.js";
|
|
5
|
+
import { FieldType as m } from "../../constants/Accounts/index.es.js";
|
|
6
|
+
import { formatCurrency as _, isValidNumber as b, formatPercentage as N, formatOrdinal as S } from "../../../common/utils/NumberFormatting/index.es.js";
|
|
7
|
+
import { buildDynamicCopy as i } from "../../../common/utils/Localization/index.es.js";
|
|
8
|
+
import { formatDate as o, DATE_FORMATS_INTL as f } from "../../../common/constants/DateFormats/index.es.js";
|
|
9
|
+
const x = (l, e) => {
|
|
10
|
+
const r = [
|
|
11
|
+
{
|
|
12
|
+
event: "account_details_click_account_name",
|
|
13
|
+
label: e.account_name,
|
|
14
|
+
name: "user_name",
|
|
15
|
+
placeholder: i(e.enter_value, e.account_name),
|
|
16
|
+
type: m.Input,
|
|
17
|
+
validation: (a) => a ? "" : i(e.field_is_required, e.account_name),
|
|
18
|
+
valueFormatter: (a) => a
|
|
19
|
+
}
|
|
20
|
+
];
|
|
21
|
+
if (T(l)) {
|
|
22
|
+
r.unshift({
|
|
23
|
+
label: e.account_balance,
|
|
24
|
+
name: "balance",
|
|
25
|
+
placeholder: i(e.enter_value, e.account_balance),
|
|
26
|
+
type: m.Currency,
|
|
27
|
+
valueFormatter: (t) => _(t, "0,0.00")
|
|
28
|
+
});
|
|
29
|
+
const a = Object.keys(d).filter((t) => Number(t)).map((t) => ({
|
|
30
|
+
label: e.account_types[t],
|
|
31
|
+
value: Number(t),
|
|
32
|
+
icon: /* @__PURE__ */ u(p, { name: v[t] })
|
|
33
|
+
}));
|
|
34
|
+
r.push({
|
|
35
|
+
label: e.account_type,
|
|
36
|
+
name: "account_type",
|
|
37
|
+
options: a,
|
|
38
|
+
placeholder: i(e.select_value, e.account_type),
|
|
39
|
+
type: m.Select,
|
|
40
|
+
valueFormatter: (t) => a.find((n) => n.value === t)?.label
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
if (l.account_type === d.PROPERTY) {
|
|
44
|
+
const a = Object.keys(h).filter((t) => Number(t)).map((t) => ({
|
|
45
|
+
label: e.property_types[t],
|
|
46
|
+
value: Number(t),
|
|
47
|
+
icon: /* @__PURE__ */ u(p, { name: F[t] })
|
|
48
|
+
}));
|
|
49
|
+
r.push({
|
|
50
|
+
label: e.property_type,
|
|
51
|
+
name: "property_type",
|
|
52
|
+
options: a,
|
|
53
|
+
placeholder: i(e.select_value, e.property_type),
|
|
54
|
+
type: m.Select,
|
|
55
|
+
valueFormatter: (t) => a.find((n) => n.value === t)?.label
|
|
56
|
+
});
|
|
57
|
+
}
|
|
58
|
+
if (D(l)) {
|
|
59
|
+
let a = e.interest_rate, t = "interest_rate";
|
|
60
|
+
l.is_manual || (typeof l.apr == "number" && (a = e.apr, t = "apr"), typeof l.apy == "number" && (a = e.apy, t = "apy")), r.push({
|
|
61
|
+
event: "account_details_click_interest_rate",
|
|
62
|
+
label: a,
|
|
63
|
+
name: t,
|
|
64
|
+
placeholder: i(e.enter_value, a),
|
|
65
|
+
type: m.Input,
|
|
66
|
+
validation: (n) => b(n) ? "" : e.error_amount_is_invalid,
|
|
67
|
+
valueFormatter: (n) => b(n) ? N(n / 100) : n
|
|
68
|
+
});
|
|
69
|
+
}
|
|
70
|
+
return A(l) && (r.push({
|
|
71
|
+
label: e.minimum_payment,
|
|
72
|
+
name: "minimum_payment",
|
|
73
|
+
placeholder: i(e.enter_value, e.minimum_payment),
|
|
74
|
+
type: m.Currency,
|
|
75
|
+
valueFormatter: (a) => _(a, "0,0.00")
|
|
76
|
+
}), l.payment_due_at ? r.push({
|
|
77
|
+
label: e.next_payment,
|
|
78
|
+
name: "payment_due_at",
|
|
79
|
+
type: m.Date,
|
|
80
|
+
valueFormatter: (a) => {
|
|
81
|
+
const t = typeof a == "number" ? new Date(a * 1e3) : a;
|
|
82
|
+
return o(t, f.MED_MONTH_SHORT_DAY_FULL_YEAR);
|
|
83
|
+
}
|
|
84
|
+
}) : r.push({
|
|
85
|
+
label: e.day_payment_due,
|
|
86
|
+
name: "day_payment_is_due",
|
|
87
|
+
placeholder: i(e.enter_value, e.day_payment_due),
|
|
88
|
+
type: m.Date,
|
|
89
|
+
valueFormatter: (a) => i(
|
|
90
|
+
e.day_of_every_month,
|
|
91
|
+
S(a <= 31 ? a : new Date(a).getDate())
|
|
92
|
+
)
|
|
93
|
+
})), O(l) && r.push({
|
|
94
|
+
label: e.credit_limit,
|
|
95
|
+
name: "credit_limit",
|
|
96
|
+
placeholder: i(e.enter_value, e.credit_limit),
|
|
97
|
+
type: m.Currency,
|
|
98
|
+
valueFormatter: (a) => _(a, "0,0.00")
|
|
99
|
+
}), g(l) && r.push({
|
|
100
|
+
label: e.original_balance,
|
|
101
|
+
minAmount: 1,
|
|
102
|
+
name: "original_balance",
|
|
103
|
+
placeholder: i(e.enter_value, e.original_balance),
|
|
104
|
+
type: m.Currency,
|
|
105
|
+
valueFormatter: (a) => _(a, "0,0.00")
|
|
106
|
+
}), r;
|
|
107
|
+
}, E = (l, e) => {
|
|
108
|
+
let r = "", a = null, t = null, n = null, s = !1;
|
|
109
|
+
switch (l.account_type) {
|
|
110
|
+
case 1:
|
|
111
|
+
case 2: {
|
|
112
|
+
l.available_balance ? (r = e.available_balance, a = l.available_balance, t = l.available_balance ? e.current_balance : null, n = _(l.balance, "0,0.00"), s = !0) : (r = e.current_balance, a = l.balance);
|
|
113
|
+
break;
|
|
114
|
+
}
|
|
115
|
+
default:
|
|
116
|
+
if (r = e.current_balance, a = l.balance, l.minimum_payment && l.payment_due_at) {
|
|
117
|
+
const y = typeof l.payment_due_at == "number" ? new Date(l.payment_due_at * 1e3) : l.payment_due_at;
|
|
118
|
+
t = /* @__PURE__ */ u(c, { component: "strong", variant: "XSmall", children: i(
|
|
119
|
+
e.payment_due_on,
|
|
120
|
+
_(l.minimum_payment, "0,0.00"),
|
|
121
|
+
o(y, f.FULL_MONTH_DAY)
|
|
122
|
+
) });
|
|
123
|
+
} else l.credit_limit && (t = e.available_credit, n = _(l.credit_limit, "0,0.00"));
|
|
124
|
+
}
|
|
125
|
+
return {
|
|
126
|
+
firstSubtitle: r,
|
|
127
|
+
firstValue: a,
|
|
128
|
+
secondSubtitle: t,
|
|
129
|
+
secondValue: n,
|
|
130
|
+
hasAvailableBalance: s
|
|
131
|
+
};
|
|
132
|
+
};
|
|
133
|
+
export {
|
|
134
|
+
E as getAccountBalanceDetails,
|
|
135
|
+
x as getAccountDetailFields
|
|
136
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { AccountType as _ } from "../../../common/types/Account/index.es.js";
|
|
2
|
+
const p = (t) => t && (t.account_type === _.CREDIT_CARD || t.account_type === _.LOAN || t.account_type === _.MORTGAGE || t.account_type === _.LINE_OF_CREDIT || t.account_type === _.CHECKING_LINE_OF_CREDIT), E = (t) => t.is_manual || !t.guid, y = (t) => t.account_type === _.LINE_OF_CREDIT || t.account_type === _.CREDIT_CARD || t.account_type === _.CHECKING_LINE_OF_CREDIT, C = (t) => t.account_type === _.SAVINGS || t.account_type === _.CHECKING || t.account_type === _.LINE_OF_CREDIT || t.account_type === _.CREDIT_CARD || t.account_type === _.LOAN || t.account_type === _.MORTGAGE, I = (t) => t.account_type === _.LOAN || t.account_type === _.MORTGAGE;
|
|
3
|
+
export {
|
|
4
|
+
p as isAccountLiability,
|
|
5
|
+
E as isManual,
|
|
6
|
+
y as usesCreditLimitField,
|
|
7
|
+
C as usesInterestRateField,
|
|
8
|
+
I as usesOriginalBalanceField
|
|
9
|
+
};
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
import { fromUnixTime as u } from "date-fns/fromUnixTime";
|
|
2
|
+
import { isToday as r } from "date-fns/isToday";
|
|
3
|
+
import { isYesterday as l } from "date-fns/isYesterday";
|
|
4
|
+
import { ConnectionStatusEnums as i } from "../../../common/types/Account/index.es.js";
|
|
5
|
+
import { buildDynamicCopy as c } from "../../../common/utils/Localization/index.es.js";
|
|
6
|
+
import { formatDate as o, DATE_FORMATS_INTL as _ } from "../../../common/constants/DateFormats/index.es.js";
|
|
7
|
+
const T = (n, e) => {
|
|
8
|
+
const { connection_messages: t } = e;
|
|
9
|
+
switch (n.connection_status) {
|
|
10
|
+
case i.CHALLENGED:
|
|
11
|
+
return {
|
|
12
|
+
cta: t.challenged_cta,
|
|
13
|
+
main: c(
|
|
14
|
+
t.challenged_connection_description,
|
|
15
|
+
n.name
|
|
16
|
+
),
|
|
17
|
+
statusName: e.connection_statuses[n.connection_status],
|
|
18
|
+
title: t.challenged_connection_title
|
|
19
|
+
};
|
|
20
|
+
case i.CLOSED:
|
|
21
|
+
return {
|
|
22
|
+
main: t.closed_connection_description,
|
|
23
|
+
statusName: e.connection_statuses[n.connection_status],
|
|
24
|
+
title: t.closed_connection_title
|
|
25
|
+
};
|
|
26
|
+
case i.DEGRADED:
|
|
27
|
+
return {
|
|
28
|
+
main: t.degraded_connection_description,
|
|
29
|
+
statusName: e.connection_statuses[n.connection_status],
|
|
30
|
+
title: t.degraded_connection_title
|
|
31
|
+
};
|
|
32
|
+
case i.DELAYED:
|
|
33
|
+
return {
|
|
34
|
+
main: c(
|
|
35
|
+
t.delayed_connection_description,
|
|
36
|
+
n.name
|
|
37
|
+
),
|
|
38
|
+
statusName: e.connection_statuses[n.connection_status],
|
|
39
|
+
title: t.delayed_connection_title
|
|
40
|
+
};
|
|
41
|
+
case i.DENIED:
|
|
42
|
+
return {
|
|
43
|
+
cta: t.denied_cta,
|
|
44
|
+
main: c(
|
|
45
|
+
t.denied_connection_description,
|
|
46
|
+
n.name
|
|
47
|
+
),
|
|
48
|
+
statusName: e.connection_statuses[n.connection_status],
|
|
49
|
+
title: t.denied_connection_title
|
|
50
|
+
};
|
|
51
|
+
case i.DISABLED:
|
|
52
|
+
return {
|
|
53
|
+
main: t.disabled_connection_description,
|
|
54
|
+
statusName: e.connection_statuses[n.connection_status],
|
|
55
|
+
title: t.disabled_connection_title
|
|
56
|
+
};
|
|
57
|
+
case i.DISCONNECTED:
|
|
58
|
+
return {
|
|
59
|
+
main: c(
|
|
60
|
+
t.disconnected_connection_description,
|
|
61
|
+
n.name
|
|
62
|
+
),
|
|
63
|
+
statusName: e.connection_statuses[n.connection_status],
|
|
64
|
+
title: t.disconnected_connection_title
|
|
65
|
+
};
|
|
66
|
+
case i.DISCONTINUED:
|
|
67
|
+
return {
|
|
68
|
+
main: t.discontinued_connection_description,
|
|
69
|
+
statusName: e.connection_statuses[n.connection_status],
|
|
70
|
+
title: t.discontinued_connection_title
|
|
71
|
+
};
|
|
72
|
+
case i.EXPIRED:
|
|
73
|
+
return {
|
|
74
|
+
cta: t.expired_cta,
|
|
75
|
+
main: t.expired_connection_description,
|
|
76
|
+
statusName: e.connection_statuses[n.connection_status],
|
|
77
|
+
title: t.expired_connection_title
|
|
78
|
+
};
|
|
79
|
+
case i.FAILED:
|
|
80
|
+
return {
|
|
81
|
+
main: c(
|
|
82
|
+
t.failed_connection_description,
|
|
83
|
+
n.name
|
|
84
|
+
),
|
|
85
|
+
statusName: e.connection_statuses[n.connection_status],
|
|
86
|
+
title: t.failed_connection_title
|
|
87
|
+
};
|
|
88
|
+
case i.IMPAIRED:
|
|
89
|
+
return {
|
|
90
|
+
cta: t.impaired_cta,
|
|
91
|
+
main: c(
|
|
92
|
+
t.impaired_connection_description,
|
|
93
|
+
n.name
|
|
94
|
+
),
|
|
95
|
+
statusName: e.connection_statuses[n.connection_status],
|
|
96
|
+
title: t.impaired_connection_title
|
|
97
|
+
};
|
|
98
|
+
case i.IMPEDED:
|
|
99
|
+
return {
|
|
100
|
+
main: c(
|
|
101
|
+
t.impeded_connection_description,
|
|
102
|
+
n.name,
|
|
103
|
+
n.name
|
|
104
|
+
),
|
|
105
|
+
statusName: e.connection_statuses[n.connection_status],
|
|
106
|
+
title: t.impeded_connection_title
|
|
107
|
+
};
|
|
108
|
+
case i.IMPORTED:
|
|
109
|
+
return {
|
|
110
|
+
cta: t.imported_cta,
|
|
111
|
+
main: c(
|
|
112
|
+
t.imported_connection_description,
|
|
113
|
+
n.name
|
|
114
|
+
),
|
|
115
|
+
statusName: e.connection_statuses[n.connection_status],
|
|
116
|
+
title: t.imported_connection_title
|
|
117
|
+
};
|
|
118
|
+
case i.LOCKED:
|
|
119
|
+
return {
|
|
120
|
+
cta: t.locked_cta,
|
|
121
|
+
main: c(
|
|
122
|
+
t.locked_connection_description,
|
|
123
|
+
n.name
|
|
124
|
+
),
|
|
125
|
+
statusName: e.connection_statuses[n.connection_status],
|
|
126
|
+
title: t.locked_connection_title
|
|
127
|
+
};
|
|
128
|
+
case i.PREVENTED:
|
|
129
|
+
return {
|
|
130
|
+
cta: t.prevented_cta,
|
|
131
|
+
main: t.prevented_connection_description,
|
|
132
|
+
statusName: e.connection_statuses[n.connection_status],
|
|
133
|
+
title: t.prevented_connection_title
|
|
134
|
+
};
|
|
135
|
+
case i.REJECTED:
|
|
136
|
+
return {
|
|
137
|
+
cta: t.rejected_cta,
|
|
138
|
+
main: t.rejected_connection_description,
|
|
139
|
+
statusName: e.connection_statuses[n.connection_status],
|
|
140
|
+
title: t.rejected_connection_title
|
|
141
|
+
};
|
|
142
|
+
default: {
|
|
143
|
+
const d = () => {
|
|
144
|
+
const s = n.successfully_aggregated_at ? u(n.successfully_aggregated_at) : void 0, a = s && o(s, _.TIME_STAMP_HOUR_MINUTE);
|
|
145
|
+
if (a)
|
|
146
|
+
return r(s) ? c(e.last_updated_at, e.today, a) : l(s) ? c(e.last_updated_at, e.yesterday, a) : c(
|
|
147
|
+
e.last_updated_at,
|
|
148
|
+
o(s, _.MONTH_DAY_YEAR),
|
|
149
|
+
a
|
|
150
|
+
);
|
|
151
|
+
};
|
|
152
|
+
return {
|
|
153
|
+
statusName: e.connection_statuses[6],
|
|
154
|
+
// Connected
|
|
155
|
+
title: d()
|
|
156
|
+
};
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
};
|
|
160
|
+
export {
|
|
161
|
+
T as getConnectionMessages
|
|
162
|
+
};
|