@mx-cartographer/experiences 6.4.0-alpha.al1 → 6.4.0-alpha.al2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/dist/index.d.ts +1 -21
- package/dist/index.es.js +291 -296
- package/dist/index.es.js.map +1 -1
- package/dist/src/common/components/__test__/EmptyState.test.d.ts +0 -0
- package/dist/{common → src/common}/types/AppData.d.ts +1 -2
- package/dist/src/index.d.ts +21 -0
- package/package.json +1 -1
- /package/dist/{accounts → src/accounts}/AccountsMiniWidget.d.ts +0 -0
- /package/dist/{accounts → src/accounts}/AccountsWidget.d.ts +0 -0
- /package/dist/{accounts → src/accounts}/ConnectMiniWidget.d.ts +0 -0
- /package/dist/{accounts → src/accounts}/api/AccountApi.d.ts +0 -0
- /package/dist/{accounts → src/accounts}/components/AccountListItem.d.ts +0 -0
- /package/dist/{accounts → src/accounts}/components/AccountsList.d.ts +0 -0
- /package/dist/{accounts → src/accounts}/components/ConnectImage.d.ts +0 -0
- /package/dist/{accounts → src/accounts}/components/ConnectMiniWidgetCard.d.ts +0 -0
- /package/dist/{accounts → src/accounts}/components/ConnectStatus.d.ts +0 -0
- /package/dist/{accounts → src/accounts}/components/ConnectionStatusIcons.d.ts +0 -0
- /package/dist/{accounts → src/accounts}/components/ConnectionsDrawer.d.ts +0 -0
- /package/dist/{accounts → src/accounts}/components/detailsdrawer/Accounts/AccountActions.d.ts +0 -0
- /package/dist/{accounts → src/accounts}/components/detailsdrawer/Accounts/AccountActionsRow.d.ts +0 -0
- /package/dist/{accounts → src/accounts}/components/detailsdrawer/Accounts/AccountConnection.d.ts +0 -0
- /package/dist/{accounts → src/accounts}/components/detailsdrawer/Accounts/AccountDetailEdit.d.ts +0 -0
- /package/dist/{accounts → src/accounts}/components/detailsdrawer/Accounts/AccountDetails.d.ts +0 -0
- /package/dist/{accounts → src/accounts}/components/detailsdrawer/Accounts/AccountDetailsChart.d.ts +0 -0
- /package/dist/{accounts → src/accounts}/components/detailsdrawer/Accounts/AccountDetailsContent.d.ts +0 -0
- /package/dist/{accounts → src/accounts}/components/detailsdrawer/Accounts/AccountDetailsHeader.d.ts +0 -0
- /package/dist/{accounts → src/accounts}/components/detailsdrawer/Accounts/AccountDetailsTab.d.ts +0 -0
- /package/dist/{accounts → src/accounts}/components/detailsdrawer/Accounts/ConnectionErrorMessage.d.ts +0 -0
- /package/dist/{accounts → src/accounts}/components/detailsdrawer/Transactions/TransactionsTab.d.ts +0 -0
- /package/dist/{accounts → src/accounts}/constants/Accounts.d.ts +0 -0
- /package/dist/{accounts → src/accounts}/hooks/useGetMergeableAccounts.d.ts +0 -0
- /package/dist/{accounts → src/accounts}/hooks/useUiStore.d.ts +0 -0
- /package/dist/{accounts → src/accounts}/index.d.ts +0 -0
- /package/dist/{accounts → src/accounts}/stores/AccountStore.d.ts +0 -0
- /package/dist/{accounts → src/accounts}/stores/UiStore.d.ts +0 -0
- /package/dist/{accounts → src/accounts}/utils/AccountFields.d.ts +0 -0
- /package/dist/{accounts → src/accounts}/utils/Accounts.d.ts +0 -0
- /package/dist/{accounts → src/accounts}/utils/getConnectionMessages.d.ts +0 -0
- /package/dist/{accounts → src/accounts}/utils/index.d.ts +0 -0
- /package/dist/{analytics → src/analytics}/SurveyMiniWidget.d.ts +0 -0
- /package/dist/{analytics → src/analytics}/components/OpenTextField.d.ts +0 -0
- /package/dist/{analytics → src/analytics}/components/RatingScale.d.ts +0 -0
- /package/dist/{analytics → src/analytics}/index.d.ts +0 -0
- /package/dist/{analytics → src/analytics}/stores/AnalyticsStore.d.ts +0 -0
- /package/dist/{budgets → src/budgets}/BubbleBudgetsMiniWidget.d.ts +0 -0
- /package/dist/{budgets → src/budgets}/BubbleBudgetsWidget.d.ts +0 -0
- /package/dist/{budgets → src/budgets}/api/BudgetsApi.d.ts +0 -0
- /package/dist/{budgets → src/budgets}/components/AddBudgets.d.ts +0 -0
- /package/dist/{budgets → src/budgets}/components/BubbleBudgets.d.ts +0 -0
- /package/dist/{budgets → src/budgets}/components/BubbleChart.d.ts +0 -0
- /package/dist/{budgets → src/budgets}/components/BudgetDetailsDrawer.d.ts +0 -0
- /package/dist/{budgets → src/budgets}/components/BudgetList.d.ts +0 -0
- /package/dist/{budgets → src/budgets}/components/BudgetsEmptyState.d.ts +0 -0
- /package/dist/{budgets → src/budgets}/components/Overview.d.ts +0 -0
- /package/dist/{budgets → src/budgets}/components/ZeroState.d.ts +0 -0
- /package/dist/{budgets → src/budgets}/components/addbudget/Header.d.ts +0 -0
- /package/dist/{budgets → src/budgets}/components/addbudget/RecalculateBudgetRow.d.ts +0 -0
- /package/dist/{budgets → src/budgets}/components/addbudget/RecalculateBudgets.d.ts +0 -0
- /package/dist/{budgets → src/budgets}/components/addbudget/UnbudgetedRow.d.ts +0 -0
- /package/dist/{budgets → src/budgets}/components/bubblechart/Bubble.d.ts +0 -0
- /package/dist/{budgets → src/budgets}/components/bubblechart/Mercury.d.ts +0 -0
- /package/dist/{budgets → src/budgets}/components/budgetdetails/AddSubBudget.d.ts +0 -0
- /package/dist/{budgets → src/budgets}/components/budgetdetails/BudgetDetails.d.ts +0 -0
- /package/dist/{budgets → src/budgets}/components/budgetdetails/Header.d.ts +0 -0
- /package/dist/{budgets → src/budgets}/components/budgetdetails/SubBudgetList.d.ts +0 -0
- /package/dist/{budgets → src/budgets}/components/budgetlist/BudgetRow.d.ts +0 -0
- /package/dist/{budgets → src/budgets}/components/budgetlist/SubBudgetRow.d.ts +0 -0
- /package/dist/{budgets → src/budgets}/components/budgetlist/SubBudgetZeroState.d.ts +0 -0
- /package/dist/{budgets → src/budgets}/components/shared/BudgetAmount.d.ts +0 -0
- /package/dist/{budgets → src/budgets}/index.d.ts +0 -0
- /package/dist/{budgets → src/budgets}/store/BudgetsStore.d.ts +0 -0
- /package/dist/{budgets → src/budgets}/utils/BubblesSVG.d.ts +0 -0
- /package/dist/{budgets → src/budgets}/utils/BudgetUtil.d.ts +0 -0
- /package/dist/{cashflow → src/cashflow}/CashflowMiniWidget.d.ts +0 -0
- /package/dist/{cashflow → src/cashflow}/CashflowOnboarding.d.ts +0 -0
- /package/dist/{cashflow → src/cashflow}/CashflowWidget.d.ts +0 -0
- /package/dist/{cashflow → src/cashflow}/api/CashflowApi.d.ts +0 -0
- /package/dist/{cashflow → src/cashflow}/components/CashflowAmountHeading.d.ts +0 -0
- /package/dist/{cashflow → src/cashflow}/components/CashflowContent.d.ts +0 -0
- /package/dist/{cashflow → src/cashflow}/components/CashflowHeading.d.ts +0 -0
- /package/dist/{cashflow → src/cashflow}/components/CashflowWidgetContent.d.ts +0 -0
- /package/dist/{cashflow → src/cashflow}/components/DetailsExpenseHeader.d.ts +0 -0
- /package/dist/{cashflow → src/cashflow}/components/DetailsExpenseRow.d.ts +0 -0
- /package/dist/{cashflow → src/cashflow}/components/DetailsFooter.d.ts +0 -0
- /package/dist/{cashflow → src/cashflow}/components/DetailsTab.d.ts +0 -0
- /package/dist/{cashflow → src/cashflow}/components/RemainingCash.d.ts +0 -0
- /package/dist/{cashflow → src/cashflow}/components/SummaryTab.d.ts +0 -0
- /package/dist/{cashflow → src/cashflow}/components/onboarding/StepOne.d.ts +0 -0
- /package/dist/{cashflow → src/cashflow}/components/onboarding/StepTwo.d.ts +0 -0
- /package/dist/{cashflow → src/cashflow}/constants/CashflowImages.d.ts +0 -0
- /package/dist/{cashflow → src/cashflow}/context/hooks.d.ts +0 -0
- /package/dist/{cashflow → src/cashflow}/index.d.ts +0 -0
- /package/dist/{cashflow → src/cashflow}/stores/CashflowStore.d.ts +0 -0
- /package/dist/{cashflow → src/cashflow}/stores/UiStore.d.ts +0 -0
- /package/dist/{cashflow → src/cashflow}/util/Filters.d.ts +0 -0
- /package/dist/{categories → src/categories}/components/CategoryList.d.ts +0 -0
- /package/dist/{categories → src/categories}/components/CategoryRow.d.ts +0 -0
- /package/dist/{categories → src/categories}/components/CategorySelector.d.ts +0 -0
- /package/dist/{categories → src/categories}/components/CategorySelectorDrawer.d.ts +0 -0
- /package/dist/{categories → src/categories}/components/CustomCategories/AddSubcategory.d.ts +0 -0
- /package/dist/{categories → src/categories}/components/CustomCategories/CustomCategoryModal.d.ts +0 -0
- /package/dist/{categories → src/categories}/components/CustomCategories/DeleteSubcategory.d.ts +0 -0
- /package/dist/{categories → src/categories}/components/CustomCategories/RenameSubcategory.d.ts +0 -0
- /package/dist/{categories → src/categories}/components/CustomCategories/index.d.ts +0 -0
- /package/dist/{categories → src/categories}/components/SubcategoryList.d.ts +0 -0
- /package/dist/{categories → src/categories}/components/SubcategoryRow.d.ts +0 -0
- /package/dist/{categories → src/categories}/constants/Analytics.d.ts +0 -0
- /package/dist/{categories → src/categories}/constants/OnClickEvents.d.ts +0 -0
- /package/dist/{categories → src/categories}/context/hooks.d.ts +0 -0
- /package/dist/{categories → src/categories}/index.d.ts +0 -0
- /package/dist/{categories → src/categories}/stores/CategoryStore.d.ts +0 -0
- /package/dist/{categories → src/categories}/stores/UiStore.d.ts +0 -0
- /package/dist/{categories → src/categories}/util/CategoryUtil.d.ts +0 -0
- /package/dist/{common → src/common}/api/AnalyticsApi.d.ts +0 -0
- /package/dist/{common → src/common}/api/AppDataApi.d.ts +0 -0
- /package/dist/{common → src/common}/api/BannerApi.d.ts +0 -0
- /package/dist/{common → src/common}/api/BeatApi.d.ts +0 -0
- /package/dist/{common → src/common}/api/CategoryApi.d.ts +0 -0
- /package/dist/{common → src/common}/api/GlobalCopyApi.d.ts +0 -0
- /package/dist/{common → src/common}/api/LocalizedCopyApi.d.ts +0 -0
- /package/dist/{common → src/common}/api/NotificationApi.d.ts +0 -0
- /package/dist/{common → src/common}/api/ScheduledPaymentsApi.d.ts +0 -0
- /package/dist/{common → src/common}/api/UserApi.d.ts +0 -0
- /package/dist/{common → src/common}/api/WidgetApi.d.ts +0 -0
- /package/dist/{common → src/common}/api/index.d.ts +0 -0
- /package/dist/{common → src/common}/components/Banner.d.ts +0 -0
- /package/dist/{common → src/common}/components/ConnectCard.d.ts +0 -0
- /package/dist/{common → src/common}/components/ConnectDrawer.d.ts +0 -0
- /package/dist/{common → src/common}/components/CurrencyInput.d.ts +0 -0
- /package/dist/{common → src/common}/components/CurrencyText.d.ts +0 -0
- /package/dist/{common → src/common}/components/DataRow.d.ts +0 -0
- /package/dist/{common → src/common}/components/EmptyState.d.ts +0 -0
- /package/dist/{common → src/common}/components/ErrorBoundary.d.ts +0 -0
- /package/dist/{common → src/common}/components/IconBacking.d.ts +0 -0
- /package/dist/{common → src/common}/components/InformationTooltip.d.ts +0 -0
- /package/dist/{common → src/common}/components/ListItemAction.d.ts +0 -0
- /package/dist/{common → src/common}/components/ListItemWrapper.d.ts +0 -0
- /package/dist/{common → src/common}/components/Loader.d.ts +0 -0
- /package/dist/{common → src/common}/components/MiniWidgetContainer.d.ts +0 -0
- /package/dist/{common → src/common}/components/ResponsiveButton.d.ts +0 -0
- /package/dist/{common → src/common}/components/SearchBox.d.ts +0 -0
- /package/dist/{common → src/common}/components/SelectionBox.d.ts +0 -0
- /package/dist/{common → src/common}/components/SubheaderRow.d.ts +0 -0
- /package/dist/{common → src/common}/components/TabContentContainer.d.ts +0 -0
- /package/dist/{common → src/common}/components/WidgetContainer.d.ts +0 -0
- /package/dist/{common/components/__test__/EmptyState.test.d.ts → src/common/components/__test__/AddAccounts.test.d.ts} +0 -0
- /package/dist/{common → src/common}/components/accountfilter/AccountFilter.d.ts +0 -0
- /package/dist/{common → src/common}/components/accountfilter/AccountFilterOptions.d.ts +0 -0
- /package/dist/{common → src/common}/components/accountfilter/index.d.ts +0 -0
- /package/dist/{common → src/common}/components/addaccounts/AddAccounts.d.ts +0 -0
- /package/dist/{common → src/common}/components/barchart/Bar.d.ts +0 -0
- /package/dist/{common → src/common}/components/barchart/BarChart.d.ts +0 -0
- /package/dist/{common → src/common}/components/barchart/BarColumn.d.ts +0 -0
- /package/dist/{common → src/common}/components/barchart/Legend.d.ts +0 -0
- /package/dist/{common → src/common}/components/barchart/Util.d.ts +0 -0
- /package/dist/{common → src/common}/components/barchart/index.d.ts +0 -0
- /package/dist/{common → src/common}/components/calendar/Calendar.d.ts +0 -0
- /package/dist/{common → src/common}/components/calendar/Day.d.ts +0 -0
- /package/dist/{common → src/common}/components/calendar/Header.d.ts +0 -0
- /package/dist/{common → src/common}/components/calendar/index.d.ts +0 -0
- /package/dist/{common → src/common}/components/charts/Donut.d.ts +0 -0
- /package/dist/{common → src/common}/components/charts/LineChart.d.ts +0 -0
- /package/dist/{common → src/common}/components/charts/StackedLineChart.d.ts +0 -0
- /package/dist/{common → src/common}/components/charts/StatusBar.d.ts +0 -0
- /package/dist/{common → src/common}/components/charts/index.d.ts +0 -0
- /package/dist/{common → src/common}/components/charts/linechart/CustomLegend.d.ts +0 -0
- /package/dist/{common → src/common}/components/charts/linechart/CustomLine.d.ts +0 -0
- /package/dist/{common → src/common}/components/charts/linechart/CustomMark.d.ts +0 -0
- /package/dist/{common → src/common}/components/charts/stackedlinechart/CategoryIconLabel.d.ts +0 -0
- /package/dist/{common → src/common}/components/charts/stackedlinechart/CustomAreaTooltip.d.ts +0 -0
- /package/dist/{common → src/common}/components/charts/stackedlinechart/CustomLegend.d.ts +0 -0
- /package/dist/{common → src/common}/components/charts/stackedlinechart/CustomPointTooltip.d.ts +0 -0
- /package/dist/{common → src/common}/components/charts/stackedlinechart/utils.d.ts +0 -0
- /package/dist/{common → src/common}/components/daterangeselector/DateRangeSelector.d.ts +0 -0
- /package/dist/{common → src/common}/components/daterangeselector/index.d.ts +0 -0
- /package/dist/{common → src/common}/components/dialog/Dialog.d.ts +0 -0
- /package/dist/{common → src/common}/components/dialog/index.d.ts +0 -0
- /package/dist/{common → src/common}/components/donuts/MultiSegmentDonut.d.ts +0 -0
- /package/dist/{common → src/common}/components/donuts/SingleSegmentDonut.d.ts +0 -0
- /package/dist/{common → src/common}/components/donuts/index.d.ts +0 -0
- /package/dist/{common → src/common}/components/drawer/Drawer.d.ts +0 -0
- /package/dist/{common → src/common}/components/drawer/Header.d.ts +0 -0
- /package/dist/{common → src/common}/components/drawer/index.d.ts +0 -0
- /package/dist/{common → src/common}/components/index.d.ts +0 -0
- /package/dist/{common → src/common}/components/listitems/ToggleButtonListItem.d.ts +0 -0
- /package/dist/{common → src/common}/components/listitems/ToggleListItem.d.ts +0 -0
- /package/dist/{common → src/common}/constants/Account.d.ts +0 -0
- /package/dist/{common → src/common}/constants/Analytics.d.ts +0 -0
- /package/dist/{common → src/common}/constants/ApiEndpoints.d.ts +0 -0
- /package/dist/{common → src/common}/constants/Category.d.ts +0 -0
- /package/dist/{common → src/common}/constants/Connect.d.ts +0 -0
- /package/dist/{common → src/common}/constants/DateFormats.d.ts +0 -0
- /package/dist/{common → src/common}/constants/DefaultConfig.d.ts +0 -0
- /package/dist/{common → src/common}/constants/Donut.d.ts +0 -0
- /package/dist/{common → src/common}/constants/Numbers.d.ts +0 -0
- /package/dist/{common → src/common}/constants/ScheduledPayment.d.ts +0 -0
- /package/dist/{common → src/common}/constants/Sizes.d.ts +0 -0
- /package/dist/{common → src/common}/constants/SpendingPlan.d.ts +0 -0
- /package/dist/{common → src/common}/constants/Table.d.ts +0 -0
- /package/dist/{common → src/common}/constants/index.d.ts +0 -0
- /package/dist/{common → src/common}/context/GlobalDataProvider.d.ts +0 -0
- /package/dist/{common → src/common}/context/WidgetContainerProvider.d.ts +0 -0
- /package/dist/{common → src/common}/context/hooks.d.ts +0 -0
- /package/dist/{common → src/common}/context/index.d.ts +0 -0
- /package/dist/{common → src/common}/hooks/index.d.ts +0 -0
- /package/dist/{common → src/common}/hooks/useCombineEvents.d.ts +0 -0
- /package/dist/{common → src/common}/hooks/useDimensions.d.ts +0 -0
- /package/dist/{common → src/common}/hooks/usePrevious.d.ts +0 -0
- /package/dist/{common → src/common}/hooks/useScreenSize.d.ts +0 -0
- /package/dist/{common → src/common}/index.d.ts +0 -0
- /package/dist/{common → src/common}/stores/AppDataStore.d.ts +0 -0
- /package/dist/{common → src/common}/stores/ConnectStore.d.ts +0 -0
- /package/dist/{common → src/common}/stores/GlobalCopyStore.d.ts +0 -0
- /package/dist/{common → src/common}/stores/GlobalStore.d.ts +0 -0
- /package/dist/{common → src/common}/stores/GlobalUiStore.d.ts +0 -0
- /package/dist/{common → src/common}/stores/UserStore.d.ts +0 -0
- /package/dist/{common → src/common}/stores/index.d.ts +0 -0
- /package/dist/{common → src/common}/types/Account.d.ts +0 -0
- /package/dist/{common → src/common}/types/Activity.d.ts +0 -0
- /package/dist/{common → src/common}/types/Analytics.d.ts +0 -0
- /package/dist/{common → src/common}/types/Beat.d.ts +0 -0
- /package/dist/{common → src/common}/types/Budget.d.ts +0 -0
- /package/dist/{common → src/common}/types/Cashflow.d.ts +0 -0
- /package/dist/{common → src/common}/types/Category.d.ts +0 -0
- /package/dist/{common → src/common}/types/Client.d.ts +0 -0
- /package/dist/{common → src/common}/types/Date.d.ts +0 -0
- /package/dist/{common → src/common}/types/Debt.d.ts +0 -0
- /package/dist/{common → src/common}/types/Expense.d.ts +0 -0
- /package/dist/{common → src/common}/types/Global.d.ts +0 -0
- /package/dist/{common → src/common}/types/GlobalCopy.d.ts +0 -0
- /package/dist/{common → src/common}/types/Goal.d.ts +0 -0
- /package/dist/{common → src/common}/types/Help.d.ts +0 -0
- /package/dist/{common → src/common}/types/Holding.d.ts +0 -0
- /package/dist/{common → src/common}/types/Institution.d.ts +0 -0
- /package/dist/{common → src/common}/types/LocalizedContent.d.ts +0 -0
- /package/dist/{common → src/common}/types/Merchant.d.ts +0 -0
- /package/dist/{common → src/common}/types/Notification.d.ts +0 -0
- /package/dist/{common → src/common}/types/RepeatingTransaction.d.ts +0 -0
- /package/dist/{common → src/common}/types/ScheduledPayment.d.ts +0 -0
- /package/dist/{common → src/common}/types/ScreenSize.d.ts +0 -0
- /package/dist/{common → src/common}/types/SpendingPlan.d.ts +0 -0
- /package/dist/{common → src/common}/types/Transaction.d.ts +0 -0
- /package/dist/{common → src/common}/types/User.d.ts +0 -0
- /package/dist/{common → src/common}/types/Widgets.d.ts +0 -0
- /package/dist/{common → src/common}/types/index.d.ts +0 -0
- /package/dist/{common → src/common}/types/localization/AccountFilterCopy.d.ts +0 -0
- /package/dist/{common → src/common}/types/localization/AccountTypeCopy.d.ts +0 -0
- /package/dist/{common → src/common}/types/localization/AccountsCopy.d.ts +0 -0
- /package/dist/{common → src/common}/types/localization/AnalyticsCopy.d.ts +0 -0
- /package/dist/{common → src/common}/types/localization/BudgetsCopy.d.ts +0 -0
- /package/dist/{common → src/common}/types/localization/CashflowCopy.d.ts +0 -0
- /package/dist/{common → src/common}/types/localization/CategoryCopy.d.ts +0 -0
- /package/dist/{common → src/common}/types/localization/CommonCopy.d.ts +0 -0
- /package/dist/{common → src/common}/types/localization/ConnectCopy.d.ts +0 -0
- /package/dist/{common → src/common}/types/localization/CurrencyInputCopy.d.ts +0 -0
- /package/dist/{common → src/common}/types/localization/DateRangePickerCopy.d.ts +0 -0
- /package/dist/{common → src/common}/types/localization/DebtsCopy.d.ts +0 -0
- /package/dist/{common → src/common}/types/localization/GoalsCopy.d.ts +0 -0
- /package/dist/{common → src/common}/types/localization/HelpCopy.d.ts +0 -0
- /package/dist/{common → src/common}/types/localization/InsightsFeedCopy.d.ts +0 -0
- /package/dist/{common → src/common}/types/localization/InvestmentsCopy.d.ts +0 -0
- /package/dist/{common → src/common}/types/localization/MicroInsightsCopy.d.ts +0 -0
- /package/dist/{common → src/common}/types/localization/NetWorthCopy.d.ts +0 -0
- /package/dist/{common → src/common}/types/localization/NotificationsCopy.d.ts +0 -0
- /package/dist/{common → src/common}/types/localization/RecurringCopy.d.ts +0 -0
- /package/dist/{common → src/common}/types/localization/SettingsCopy.d.ts +0 -0
- /package/dist/{common → src/common}/types/localization/SpendingCopy.d.ts +0 -0
- /package/dist/{common → src/common}/types/localization/TransactionsCopy.d.ts +0 -0
- /package/dist/{common → src/common}/types/localization/TrendsCopy.d.ts +0 -0
- /package/dist/{common → src/common}/types/localization/index.d.ts +0 -0
- /package/dist/{common → src/common}/utils/AccountFilter.d.ts +0 -0
- /package/dist/{common → src/common}/utils/Analytics.d.ts +0 -0
- /package/dist/{common → src/common}/utils/Categories.d.ts +0 -0
- /package/dist/{common → src/common}/utils/DateUtil.d.ts +0 -0
- /package/dist/{common → src/common}/utils/Fetch.d.ts +0 -0
- /package/dist/{common → src/common}/utils/Localization.d.ts +0 -0
- /package/dist/{common → src/common}/utils/NumberFormatting.d.ts +0 -0
- /package/dist/{common → src/common}/utils/Theme.d.ts +0 -0
- /package/dist/{common → src/common}/utils/index.d.ts +0 -0
- /package/dist/{dashboard → src/dashboard}/Dashboard.d.ts +0 -0
- /package/dist/{dashboard → src/dashboard}/Greeting.d.ts +0 -0
- /package/dist/{dashboard → src/dashboard}/constants/Dashboard.d.ts +0 -0
- /package/dist/{dashboard → src/dashboard}/index.d.ts +0 -0
- /package/dist/{dashboard → src/dashboard}/types/DashboardTypes.d.ts +0 -0
- /package/dist/{debts → src/debts}/DebtsWidget.d.ts +0 -0
- /package/dist/{debts → src/debts}/components/DebtDrawer.d.ts +0 -0
- /package/dist/{debts → src/debts}/components/DebtsChart.d.ts +0 -0
- /package/dist/{debts → src/debts}/components/DebtsTable.d.ts +0 -0
- /package/dist/{debts → src/debts}/components/PaydownDrawer.d.ts +0 -0
- /package/dist/{debts → src/debts}/components/SnowballCard.d.ts +0 -0
- /package/dist/{debts → src/debts}/components/SnowballDrawer.d.ts +0 -0
- /package/dist/{debts → src/debts}/components/actions/DebtsPriorityAction.d.ts +0 -0
- /package/dist/{debts → src/debts}/components/actions/ExtraPaymentAction.d.ts +0 -0
- /package/dist/{debts → src/debts}/components/actions/InterestRateAction.d.ts +0 -0
- /package/dist/{debts → src/debts}/components/actions/MonthlyPaymentAction.d.ts +0 -0
- /package/dist/{debts → src/debts}/components/actions/OriginalBalanceAction.d.ts +0 -0
- /package/dist/{debts → src/debts}/components/debtsdrawer/DebtDetailsChart.d.ts +0 -0
- /package/dist/{debts → src/debts}/components/debtsdrawer/DebtDetailsContent.d.ts +0 -0
- /package/dist/{debts → src/debts}/components/debtsdrawer/DebtDetailsTab.d.ts +0 -0
- /package/dist/{debts → src/debts}/components/debtsdrawer/DebtScheduleTab.d.ts +0 -0
- /package/dist/{debts → src/debts}/components/debtsdrawer/DebtStatusCard.d.ts +0 -0
- /package/dist/{debts → src/debts}/components/debtspaydown/PaydownButton.d.ts +0 -0
- /package/dist/{debts → src/debts}/components/debtspaydown/PaydownContent.d.ts +0 -0
- /package/dist/{debts → src/debts}/components/debtspriority/DebtsPriorityButton.d.ts +0 -0
- /package/dist/{debts → src/debts}/components/debtspriority/DebtsPrioriyPopover.d.ts +0 -0
- /package/dist/{debts → src/debts}/components/debtstable/AccountCell.d.ts +0 -0
- /package/dist/{debts → src/debts}/components/debtstable/PriorityCell.d.ts +0 -0
- /package/dist/{debts → src/debts}/constants/index.d.ts +0 -0
- /package/dist/{debts → src/debts}/hooks/useDebtsUiStore.d.ts +0 -0
- /package/dist/{debts → src/debts}/index.d.ts +0 -0
- /package/dist/{debts → src/debts}/store/DebtsStore.d.ts +0 -0
- /package/dist/{debts → src/debts}/store/DebtsUiStore.d.ts +0 -0
- /package/dist/{debts → src/debts}/utils/DebtStore.d.ts +0 -0
- /package/dist/{debts → src/debts}/utils/DebtsChart.d.ts +0 -0
- /package/dist/{debts → src/debts}/utils/DebtsTable.d.ts +0 -0
- /package/dist/{debts → src/debts}/utils/DebtsWidget.d.ts +0 -0
- /package/dist/{debts → src/debts}/utils/SnowballCard.d.ts +0 -0
- /package/dist/{debts → src/debts}/utils/shared.d.ts +0 -0
- /package/dist/{goals → src/goals}/GoalsWidget.d.ts +0 -0
- /package/dist/{goals → src/goals}/api/GoalApi.d.ts +0 -0
- /package/dist/{goals → src/goals}/components/AccountSelectionDrawer.d.ts +0 -0
- /package/dist/{goals → src/goals}/components/AddGoal.d.ts +0 -0
- /package/dist/{goals → src/goals}/components/GoalDetails.d.ts +0 -0
- /package/dist/{goals → src/goals}/components/GoalDetailsDrawer.d.ts +0 -0
- /package/dist/{goals → src/goals}/components/GoalList.d.ts +0 -0
- /package/dist/{goals → src/goals}/components/GoalStatusCard.d.ts +0 -0
- /package/dist/{goals → src/goals}/components/ManageGoals.d.ts +0 -0
- /package/dist/{goals → src/goals}/components/TabTitle.d.ts +0 -0
- /package/dist/{goals → src/goals}/components/actions/AccountAction.d.ts +0 -0
- /package/dist/{goals → src/goals}/components/actions/AddRetirementAccountAction.d.ts +0 -0
- /package/dist/{goals → src/goals}/components/actions/AmountToSaveAction.d.ts +0 -0
- /package/dist/{goals → src/goals}/components/actions/BirthdayAction.d.ts +0 -0
- /package/dist/{goals → src/goals}/components/actions/ChangeAccountAction.d.ts +0 -0
- /package/dist/{goals → src/goals}/components/actions/ContributionAction.d.ts +0 -0
- /package/dist/{goals → src/goals}/components/actions/GoalNameAction.d.ts +0 -0
- /package/dist/{goals → src/goals}/components/actions/InterestRateAction.d.ts +0 -0
- /package/dist/{goals → src/goals}/components/actions/MonthlyPaymentAction.d.ts +0 -0
- /package/dist/{goals → src/goals}/components/actions/OriginalBalanceAction.d.ts +0 -0
- /package/dist/{goals → src/goals}/components/actions/RetirementAgeAction.d.ts +0 -0
- /package/dist/{goals → src/goals}/components/addgoal/AddGoalListItem.d.ts +0 -0
- /package/dist/{goals → src/goals}/components/managegoals/CompleteListItem.d.ts +0 -0
- /package/dist/{goals → src/goals}/components/managegoals/OngoingListItem.d.ts +0 -0
- /package/dist/{goals → src/goals}/components/managegoals/ReorderGoals.d.ts +0 -0
- /package/dist/{goals → src/goals}/index.d.ts +0 -0
- /package/dist/{goals → src/goals}/stores/GoalStore.d.ts +0 -0
- /package/dist/{goals → src/goals}/util/GoalsUtil.d.ts +0 -0
- /package/dist/{help → src/help}/HelpContent.d.ts +0 -0
- /package/dist/{help → src/help}/HelpList.d.ts +0 -0
- /package/dist/{help → src/help}/HelpWidget.d.ts +0 -0
- /package/dist/{help → src/help}/api/HelpApi.d.ts +0 -0
- /package/dist/{help → src/help}/components/content/BottomImageContent.d.ts +0 -0
- /package/dist/{help → src/help}/components/content/ContentItem.d.ts +0 -0
- /package/dist/{help → src/help}/components/content/Header.d.ts +0 -0
- /package/dist/{help → src/help}/components/content/LeftImageContent.d.ts +0 -0
- /package/dist/{help → src/help}/components/content/NoImageContent.d.ts +0 -0
- /package/dist/{help → src/help}/components/content/RightImageContent.d.ts +0 -0
- /package/dist/{help → src/help}/components/content/TopImageContent.d.ts +0 -0
- /package/dist/{help → src/help}/components/content/index.d.ts +0 -0
- /package/dist/{help → src/help}/components/content/section/Accounts.d.ts +0 -0
- /package/dist/{help → src/help}/components/content/section/Budgets.d.ts +0 -0
- /package/dist/{help → src/help}/components/content/section/CashFlow.d.ts +0 -0
- /package/dist/{help → src/help}/components/content/section/Debts.d.ts +0 -0
- /package/dist/{help → src/help}/components/content/section/General.d.ts +0 -0
- /package/dist/{help → src/help}/components/content/section/Goals.d.ts +0 -0
- /package/dist/{help → src/help}/components/content/section/Insights.d.ts +0 -0
- /package/dist/{help → src/help}/components/content/section/Investments.d.ts +0 -0
- /package/dist/{help → src/help}/components/content/section/Mobile.d.ts +0 -0
- /package/dist/{help → src/help}/components/content/section/NetWorth.d.ts +0 -0
- /package/dist/{help → src/help}/components/content/section/Notifications.d.ts +0 -0
- /package/dist/{help → src/help}/components/content/section/RecurringTransactions.d.ts +0 -0
- /package/dist/{help → src/help}/components/content/section/Spending.d.ts +0 -0
- /package/dist/{help → src/help}/components/content/section/Transactions.d.ts +0 -0
- /package/dist/{help → src/help}/components/content/section/Trends.d.ts +0 -0
- /package/dist/{help → src/help}/components/content/section/index.d.ts +0 -0
- /package/dist/{help → src/help}/constants/HelpImages.d.ts +0 -0
- /package/dist/{help → src/help}/constants/index.d.ts +0 -0
- /package/dist/{help → src/help}/index.d.ts +0 -0
- /package/dist/{help → src/help}/store/HelpStore.d.ts +0 -0
- /package/dist/{help → src/help}/utils/index.d.ts +0 -0
- /package/dist/{insights → src/insights}/store/BeatStore.d.ts +0 -0
- /package/dist/{investments → src/investments}/InvestmentsWidget.d.ts +0 -0
- /package/dist/{investments → src/investments}/api/HoldingApi.d.ts +0 -0
- /package/dist/{investments → src/investments}/components/Allocation.d.ts +0 -0
- /package/dist/{investments → src/investments}/components/Analysis.d.ts +0 -0
- /package/dist/{investments → src/investments}/components/AnalysisDetails.d.ts +0 -0
- /package/dist/{investments → src/investments}/components/HeaderCell.d.ts +0 -0
- /package/dist/{investments → src/investments}/components/HoldingDrawer.d.ts +0 -0
- /package/dist/{investments → src/investments}/components/InfoToolTip.d.ts +0 -0
- /package/dist/{investments → src/investments}/components/Overview.d.ts +0 -0
- /package/dist/{investments → src/investments}/components/TabTitle.d.ts +0 -0
- /package/dist/{investments → src/investments}/components/allocation/InvestementAllocationList.d.ts +0 -0
- /package/dist/{investments → src/investments}/components/allocation/InvestmentsAllocationChart.d.ts +0 -0
- /package/dist/{investments → src/investments}/components/allocation/util/createInvestementsAllocationData.d.ts +0 -0
- /package/dist/{investments → src/investments}/constants/index.d.ts +0 -0
- /package/dist/{investments → src/investments}/index.d.ts +0 -0
- /package/dist/{investments → src/investments}/stores/HoldingStore.d.ts +0 -0
- /package/dist/{investments → src/investments}/util/InvestmentUtil.d.ts +0 -0
- /package/dist/{merchants → src/merchants}/api/MerchantApi.d.ts +0 -0
- /package/dist/{merchants → src/merchants}/components/MerchantLookup.d.ts +0 -0
- /package/dist/{merchants → src/merchants}/index.d.ts +0 -0
- /package/dist/{merchants → src/merchants}/stores/MerchantStore.d.ts +0 -0
- /package/dist/{microinsights → src/microinsights}/analytics.d.ts +0 -0
- /package/dist/{microinsights → src/microinsights}/components/MicroWidgetContainer.d.ts +0 -0
- /package/dist/{microinsights → src/microinsights}/components/beatCard/BeatCard.d.ts +0 -0
- /package/dist/{microinsights → src/microinsights}/components/beaticons/BeatCategoryIcon.d.ts +0 -0
- /package/dist/{microinsights → src/microinsights}/components/beaticons/BeatIcon.d.ts +0 -0
- /package/dist/{microinsights → src/microinsights}/components/beaticons/BeatMerchantLogo.d.ts +0 -0
- /package/dist/{microinsights → src/microinsights}/components/beaticons/ChartFilledIcon.d.ts +0 -0
- /package/dist/{microinsights → src/microinsights}/components/beaticons/MonthlySpendComparisonIcon.d.ts +0 -0
- /package/dist/{microinsights → src/microinsights}/components/beaticons/ZeroStateIcon.d.ts +0 -0
- /package/dist/{microinsights → src/microinsights}/components/beaticons/index.d.ts +0 -0
- /package/dist/{microinsights → src/microinsights}/components/carouselheader/CarouselHeader.d.ts +0 -0
- /package/dist/{microinsights → src/microinsights}/components/insightsmicrowidget/InsightsMicroWidget.d.ts +0 -0
- /package/dist/{microinsights → src/microinsights}/components/microBeatCarousel/CarouselControls.d.ts +0 -0
- /package/dist/{microinsights → src/microinsights}/components/microBeatCarousel/MicroBeatCarousel.d.ts +0 -0
- /package/dist/{microinsights → src/microinsights}/components/microInsightCard/MicroInsightCard.d.ts +0 -0
- /package/dist/{microinsights → src/microinsights}/components/noRelevantInsightsCard/NoRelevantInsightsCard.d.ts +0 -0
- /package/dist/{microinsights → src/microinsights}/components/spinner/Spinner.d.ts +0 -0
- /package/dist/{microinsights → src/microinsights}/components/viewMoreMicroCard/ViewMoreMicroCard.d.ts +0 -0
- /package/dist/{microinsights → src/microinsights}/components/zeroStateCard/ZeroStateCard.d.ts +0 -0
- /package/dist/{microinsights → src/microinsights}/constants/Analytics.d.ts +0 -0
- /package/dist/{microinsights → src/microinsights}/constants/App.d.ts +0 -0
- /package/dist/{microinsights → src/microinsights}/context/InsightsMicroWidgetDataProvider.d.ts +0 -0
- /package/dist/{microinsights → src/microinsights}/context/hooks.d.ts +0 -0
- /package/dist/{microinsights → src/microinsights}/index.d.ts +0 -0
- /package/dist/{microinsights → src/microinsights}/interfaces.d.ts +0 -0
- /package/dist/{microinsights → src/microinsights}/stores/AppStore.d.ts +0 -0
- /package/dist/{microinsights → src/microinsights}/stores/CopyStore.d.ts +0 -0
- /package/dist/{microinsights → src/microinsights}/stores/InsightsMicroWidgetStore.d.ts +0 -0
- /package/dist/{microinsights → src/microinsights}/utils/DataSeries.d.ts +0 -0
- /package/dist/{microinsights → src/microinsights}/utils/beatUtils.d.ts +0 -0
- /package/dist/{networth → src/networth}/NetWorthWidget.d.ts +0 -0
- /package/dist/{networth → src/networth}/components/AssetsLiabilitiesDetail.d.ts +0 -0
- /package/dist/{networth → src/networth}/components/GainsLossesDetail.d.ts +0 -0
- /package/dist/{networth → src/networth}/components/NetWorthChange.d.ts +0 -0
- /package/dist/{networth → src/networth}/components/NetWorthChart.d.ts +0 -0
- /package/dist/{networth → src/networth}/components/NetWorthList.d.ts +0 -0
- /package/dist/{networth → src/networth}/components/NetWorthListItem.d.ts +0 -0
- /package/dist/{networth → src/networth}/components/NetWorthSummary.d.ts +0 -0
- /package/dist/{networth → src/networth}/index.d.ts +0 -0
- /package/dist/{networth → src/networth}/stores/NetWorthStore.d.ts +0 -0
- /package/dist/{networth → src/networth}/types/NetWorth.d.ts +0 -0
- /package/dist/{networth → src/networth}/utils/NetWorthUtils.d.ts +0 -0
- /package/dist/{notifications → src/notifications}/components/DateRow.d.ts +0 -0
- /package/dist/{notifications → src/notifications}/components/NotificationBadge.d.ts +0 -0
- /package/dist/{notifications → src/notifications}/components/NotificationCard.d.ts +0 -0
- /package/dist/{notifications → src/notifications}/components/NotificationDrawer.d.ts +0 -0
- /package/dist/{notifications → src/notifications}/components/NotificationList.d.ts +0 -0
- /package/dist/{notifications → src/notifications}/components/NotificationsEmptyState.d.ts +0 -0
- /package/dist/{notifications → src/notifications}/constants/NotificationConstants.d.ts +0 -0
- /package/dist/{notifications → src/notifications}/index.d.ts +0 -0
- /package/dist/{notifications → src/notifications}/stores/NotificationStore.d.ts +0 -0
- /package/dist/{notifications → src/notifications}/utils/NotificationUtils.d.ts +0 -0
- /package/dist/{recurringactivity → src/recurringactivity}/RecurringActivityMiniWidget.d.ts +0 -0
- /package/dist/{recurringactivity → src/recurringactivity}/RecurringActivityWidget.d.ts +0 -0
- /package/dist/{recurringactivity → src/recurringactivity}/components/ActivityBadges.d.ts +0 -0
- /package/dist/{recurringactivity → src/recurringactivity}/components/ActivityDetails.d.ts +0 -0
- /package/dist/{recurringactivity → src/recurringactivity}/components/ActivityList.d.ts +0 -0
- /package/dist/{recurringactivity → src/recurringactivity}/components/ActivityRow.d.ts +0 -0
- /package/dist/{recurringactivity → src/recurringactivity}/components/ActivityStatus.d.ts +0 -0
- /package/dist/{recurringactivity → src/recurringactivity}/components/MiniWidgetContent.d.ts +0 -0
- /package/dist/{recurringactivity → src/recurringactivity}/components/RecurringActivity.d.ts +0 -0
- /package/dist/{recurringactivity → src/recurringactivity}/components/actions/FrequencyAction.d.ts +0 -0
- /package/dist/{recurringactivity → src/recurringactivity}/components/actions/PaymentDateAction.d.ts +0 -0
- /package/dist/{recurringactivity → src/recurringactivity}/components/activitycalendar/ActivityCalendar.d.ts +0 -0
- /package/dist/{recurringactivity → src/recurringactivity}/components/activitycalendar/ActivityDay.d.ts +0 -0
- /package/dist/{recurringactivity → src/recurringactivity}/components/activitycalendar/Legend.d.ts +0 -0
- /package/dist/{recurringactivity → src/recurringactivity}/components/shared/ActivitySettings.d.ts +0 -0
- /package/dist/{recurringactivity → src/recurringactivity}/components/shared/activitysettings/AddActivity.d.ts +0 -0
- /package/dist/{recurringactivity → src/recurringactivity}/components/shared/activitysettings/AddActivityDetails.d.ts +0 -0
- /package/dist/{recurringactivity → src/recurringactivity}/components/shared/activitysettings/ManageExpenses.d.ts +0 -0
- /package/dist/{recurringactivity → src/recurringactivity}/components/shared/activitysettings/ManageIncome.d.ts +0 -0
- /package/dist/{recurringactivity → src/recurringactivity}/components/shared/activitysettings/SelectTransaction.d.ts +0 -0
- /package/dist/{recurringactivity → src/recurringactivity}/index.d.ts +0 -0
- /package/dist/{recurringactivity → src/recurringactivity}/stores/RecurringActivityStore.d.ts +0 -0
- /package/dist/{recurringactivity → src/recurringactivity}/util/RecurringActivityUtils.d.ts +0 -0
- /package/dist/{recurringactivity → src/recurringactivity}/util/buildActivities.d.ts +0 -0
- /package/dist/{recurringactivity → src/recurringactivity}/util/buildNewActivity.d.ts +0 -0
- /package/dist/{recurringactivity → src/recurringactivity}/util/getRecurrence.d.ts +0 -0
- /package/dist/{recurringactivity → src/recurringactivity}/util/getStatus.d.ts +0 -0
- /package/dist/{recurringactivity → src/recurringactivity}/util/updateActivity.d.ts +0 -0
- /package/dist/{recurringtransactions → src/recurringtransactions}/RecurringTransactionsMiniWidget.d.ts +0 -0
- /package/dist/{recurringtransactions → src/recurringtransactions}/RecurringTransactionsWidget.d.ts +0 -0
- /package/dist/{recurringtransactions → src/recurringtransactions}/api/RepeatingTransactionsApi.d.ts +0 -0
- /package/dist/{recurringtransactions → src/recurringtransactions}/components/MiniWidgetContent.d.ts +0 -0
- /package/dist/{recurringtransactions → src/recurringtransactions}/components/RecurrenceBadges.d.ts +0 -0
- /package/dist/{recurringtransactions → src/recurringtransactions}/components/RecurrenceList.d.ts +0 -0
- /package/dist/{recurringtransactions → src/recurringtransactions}/components/RecurrenceRow.d.ts +0 -0
- /package/dist/{recurringtransactions → src/recurringtransactions}/components/RecurringStatus.d.ts +0 -0
- /package/dist/{recurringtransactions → src/recurringtransactions}/components/RecurringTransactionDetails.d.ts +0 -0
- /package/dist/{recurringtransactions → src/recurringtransactions}/components/RecurringTransactions.d.ts +0 -0
- /package/dist/{recurringtransactions → src/recurringtransactions}/components/actions/FrequencyAction.d.ts +0 -0
- /package/dist/{recurringtransactions → src/recurringtransactions}/components/actions/PaymentDateAction.d.ts +0 -0
- /package/dist/{recurringtransactions → src/recurringtransactions}/components/recurrencecalendar/Legend.d.ts +0 -0
- /package/dist/{recurringtransactions → src/recurringtransactions}/components/recurrencecalendar/RecurrenceCalendar.d.ts +0 -0
- /package/dist/{recurringtransactions → src/recurringtransactions}/components/recurrencecalendar/RecurrenceDay.d.ts +0 -0
- /package/dist/{recurringtransactions → src/recurringtransactions}/components/shared/RecurringSettings.d.ts +0 -0
- /package/dist/{recurringtransactions → src/recurringtransactions}/components/shared/recurringsettings/AddRecurringTransaction.d.ts +0 -0
- /package/dist/{recurringtransactions → src/recurringtransactions}/components/shared/recurringsettings/AddRecurringTransactionDetails.d.ts +0 -0
- /package/dist/{recurringtransactions → src/recurringtransactions}/components/shared/recurringsettings/ManageExpenses.d.ts +0 -0
- /package/dist/{recurringtransactions → src/recurringtransactions}/components/shared/recurringsettings/ManageIncome.d.ts +0 -0
- /package/dist/{recurringtransactions → src/recurringtransactions}/components/shared/recurringsettings/RecurringRow.d.ts +0 -0
- /package/dist/{recurringtransactions → src/recurringtransactions}/components/shared/recurringsettings/SelectTransaction.d.ts +0 -0
- /package/dist/{recurringtransactions → src/recurringtransactions}/index.d.ts +0 -0
- /package/dist/{recurringtransactions → src/recurringtransactions}/stores/RecurringTransactionsStore.d.ts +0 -0
- /package/dist/{recurringtransactions → src/recurringtransactions}/util/RecurringTransactions.d.ts +0 -0
- /package/dist/{requestsupport → src/requestsupport}/ContactSupport.d.ts +0 -0
- /package/dist/{requestsupport → src/requestsupport}/HelpByCategoryList.d.ts +0 -0
- /package/dist/{requestsupport → src/requestsupport}/MissingInstitution.d.ts +0 -0
- /package/dist/{requestsupport → src/requestsupport}/PopularTopicsDrawer.d.ts +0 -0
- /package/dist/{requestsupport → src/requestsupport}/PopularTopicsList.d.ts +0 -0
- /package/dist/{requestsupport → src/requestsupport}/PopularTopicsRow.d.ts +0 -0
- /package/dist/{requestsupport → src/requestsupport}/RequestSupport.d.ts +0 -0
- /package/dist/{requestsupport → src/requestsupport}/RequestSupportFooter.d.ts +0 -0
- /package/dist/{requestsupport → src/requestsupport}/RequestSupportHeader.d.ts +0 -0
- /package/dist/{requestsupport → src/requestsupport}/RequestSupportInstitution.d.ts +0 -0
- /package/dist/{requestsupport → src/requestsupport}/SupportSuccessMessage.d.ts +0 -0
- /package/dist/{requestsupport → src/requestsupport}/constants/index.d.ts +0 -0
- /package/dist/{requestsupport → src/requestsupport}/index.d.ts +0 -0
- /package/dist/{requestsupport → src/requestsupport}/util/getInstitutionsBasedOnGuid.d.ts +0 -0
- /package/dist/{settings → src/settings}/SettingsWidget.d.ts +0 -0
- /package/dist/{settings → src/settings}/api/SettingsApi.d.ts +0 -0
- /package/dist/{settings → src/settings}/components/devices/DeviceDialog.d.ts +0 -0
- /package/dist/{settings → src/settings}/components/devices/DeviceList.d.ts +0 -0
- /package/dist/{settings → src/settings}/components/devices/DeviceTab.d.ts +0 -0
- /package/dist/{settings → src/settings}/components/devices/DeviceTable.d.ts +0 -0
- /package/dist/{settings → src/settings}/components/notifications/AccountProfileListItem.d.ts +0 -0
- /package/dist/{settings → src/settings}/components/notifications/DeliveryMethods.d.ts +0 -0
- /package/dist/{settings → src/settings}/components/notifications/NotificationProfileDetails.d.ts +0 -0
- /package/dist/{settings → src/settings}/components/notifications/NotificationSettings.d.ts +0 -0
- /package/dist/{settings → src/settings}/components/profile/ProfileTab.d.ts +0 -0
- /package/dist/{settings → src/settings}/components/profile/actions/VerifyEmailAction.d.ts +0 -0
- /package/dist/{settings → src/settings}/components/profile/actions/VerifyPhoneAction.d.ts +0 -0
- /package/dist/{settings → src/settings}/components/profile/actions/VerifyTokenAction.d.ts +0 -0
- /package/dist/{settings → src/settings}/components/transactionrules/TransactionRulesTab.d.ts +0 -0
- /package/dist/{settings → src/settings}/components/transactionrules/actions/DeleteRuleAction.d.ts +0 -0
- /package/dist/{settings → src/settings}/components/transactionrules/actions/EditCategoryAction.d.ts +0 -0
- /package/dist/{settings → src/settings}/components/transactionrules/actions/EditPayeeAction.d.ts +0 -0
- /package/dist/{settings → src/settings}/components/transactionrules/actions/EditRuleAction.d.ts +0 -0
- /package/dist/{settings → src/settings}/components/transactionrules/components/EditRuleDetails.d.ts +0 -0
- /package/dist/{settings → src/settings}/components/transactionrules/components/RuleListItem.d.ts +0 -0
- /package/dist/{settings → src/settings}/constants/Settings.d.ts +0 -0
- /package/dist/{settings → src/settings}/index.d.ts +0 -0
- /package/dist/{settings → src/settings}/stores/SettingsStore.d.ts +0 -0
- /package/dist/{settings → src/settings}/util/Notifications.d.ts +0 -0
- /package/dist/{spending → src/spending}/SpendingMiniWidget.d.ts +0 -0
- /package/dist/{spending → src/spending}/SpendingWidget.d.ts +0 -0
- /package/dist/{spending → src/spending}/components/MiniSpendingChart.d.ts +0 -0
- /package/dist/{spending → src/spending}/components/Spending.d.ts +0 -0
- /package/dist/{spending → src/spending}/components/SpendingChart.d.ts +0 -0
- /package/dist/{spending → src/spending}/components/SpendingDonut.d.ts +0 -0
- /package/dist/{spending → src/spending}/components/SpendingLegend.d.ts +0 -0
- /package/dist/{spending → src/spending}/components/SpendingList.d.ts +0 -0
- /package/dist/{spending → src/spending}/components/SpendingTabLabel.d.ts +0 -0
- /package/dist/{spending → src/spending}/index.d.ts +0 -0
- /package/dist/{spending → src/spending}/utils/SpendingData.d.ts +0 -0
- /package/dist/{transactions → src/transactions}/TransactionWidget.d.ts +0 -0
- /package/dist/{transactions → src/transactions}/analytics.d.ts +0 -0
- /package/dist/{transactions → src/transactions}/api/TransactionApi.d.ts +0 -0
- /package/dist/{transactions → src/transactions}/components/shared/TransactionDetails.d.ts +0 -0
- /package/dist/{transactions → src/transactions}/components/shared/TransactionList.d.ts +0 -0
- /package/dist/{transactions → src/transactions}/components/shared/TransactionTable.d.ts +0 -0
- /package/dist/{transactions → src/transactions}/components/shared/transactiondetails/Description.d.ts +0 -0
- /package/dist/{transactions → src/transactions}/components/shared/transactiondetails/FlagTransaction.d.ts +0 -0
- /package/dist/{transactions → src/transactions}/components/shared/transactiondetails/ManualTransactionDetails.d.ts +0 -0
- /package/dist/{transactions → src/transactions}/components/shared/transactiondetails/TransactionAmountHeader.d.ts +0 -0
- /package/dist/{transactions → src/transactions}/components/shared/transactiondetails/actions/CategoryAction.d.ts +0 -0
- /package/dist/{transactions → src/transactions}/components/shared/transactiondetails/actions/DateAction.d.ts +0 -0
- /package/dist/{transactions → src/transactions}/components/shared/transactiondetails/actions/DeleteAction.d.ts +0 -0
- /package/dist/{transactions → src/transactions}/components/shared/transactiondetails/actions/DeleteLogoAction.d.ts +0 -0
- /package/dist/{transactions → src/transactions}/components/shared/transactiondetails/actions/HideAction.d.ts +0 -0
- /package/dist/{transactions → src/transactions}/components/shared/transactiondetails/actions/MemoAction.d.ts +0 -0
- /package/dist/{transactions → src/transactions}/components/shared/transactiondetails/actions/SplitAction.d.ts +0 -0
- /package/dist/{transactions → src/transactions}/components/shared/transactiondetails/actions/TagsAction.d.ts +0 -0
- /package/dist/{transactions → src/transactions}/components/shared/transactiondetails/actions/index.d.ts +0 -0
- /package/dist/{transactions → src/transactions}/components/shared/transactionlist/DateRow.d.ts +0 -0
- /package/dist/{transactions → src/transactions}/components/shared/transactionlist/TransactionRow.d.ts +0 -0
- /package/dist/{transactions → src/transactions}/components/shared/transactionlist/ZeroState.d.ts +0 -0
- /package/dist/{transactions → src/transactions}/components/shared/transactiontable/cells/AccountCell.d.ts +0 -0
- /package/dist/{transactions → src/transactions}/components/shared/transactiontable/cells/AmountCell.d.ts +0 -0
- /package/dist/{transactions → src/transactions}/components/shared/transactiontable/cells/CategoryCell.d.ts +0 -0
- /package/dist/{transactions → src/transactions}/components/shared/transactiontable/cells/DateCell.d.ts +0 -0
- /package/dist/{transactions → src/transactions}/components/shared/transactiontable/cells/FlagCell.d.ts +0 -0
- /package/dist/{transactions → src/transactions}/components/shared/transactiontable/cells/HeaderCell.d.ts +0 -0
- /package/dist/{transactions → src/transactions}/components/shared/transactiontable/cells/PayeeCell.d.ts +0 -0
- /package/dist/{transactions → src/transactions}/components/shared/transactiontable/cells/index.d.ts +0 -0
- /package/dist/{transactions → src/transactions}/components/splitmanager/SplitManager.d.ts +0 -0
- /package/dist/{transactions → src/transactions}/components/splitmanager/SplitRow.d.ts +0 -0
- /package/dist/{transactions → src/transactions}/components/splitmanager/index.d.ts +0 -0
- /package/dist/{transactions → src/transactions}/components/tagmanager/Header.d.ts +0 -0
- /package/dist/{transactions → src/transactions}/components/tagmanager/SearchBox.d.ts +0 -0
- /package/dist/{transactions → src/transactions}/components/tagmanager/TagManager.d.ts +0 -0
- /package/dist/{transactions → src/transactions}/components/tagmanager/TagRow.d.ts +0 -0
- /package/dist/{transactions → src/transactions}/components/tagmanager/index.d.ts +0 -0
- /package/dist/{transactions → src/transactions}/components/transactionwidget/AddAccountModal.d.ts +0 -0
- /package/dist/{transactions → src/transactions}/components/transactionwidget/actions/AddTransactionAction.d.ts +0 -0
- /package/dist/{transactions → src/transactions}/components/transactionwidget/actions/EditCategoryAction.d.ts +0 -0
- /package/dist/{transactions → src/transactions}/components/transactionwidget/actions/ExportCsvAction.d.ts +0 -0
- /package/dist/{transactions → src/transactions}/constants/Actions.d.ts +0 -0
- /package/dist/{transactions → src/transactions}/constants/Analytics.d.ts +0 -0
- /package/dist/{transactions → src/transactions}/constants/OnClickEvents.d.ts +0 -0
- /package/dist/{transactions → src/transactions}/constants/Transaction.d.ts +0 -0
- /package/dist/{transactions → src/transactions}/constants/TransactionsTable.d.ts +0 -0
- /package/dist/{transactions → src/transactions}/context/hooks.d.ts +0 -0
- /package/dist/{transactions → src/transactions}/index.d.ts +0 -0
- /package/dist/{transactions → src/transactions}/stores/TransactionStore.d.ts +0 -0
- /package/dist/{transactions → src/transactions}/stores/UiStore.d.ts +0 -0
- /package/dist/{transactions → src/transactions}/utils/Filters.d.ts +0 -0
- /package/dist/{transactions → src/transactions}/utils/Transactions.d.ts +0 -0
- /package/dist/{transactions → src/transactions}/utils/buildDetailedTransactions.d.ts +0 -0
- /package/dist/{transactions → src/transactions}/utils/exportTransactionsToCSV.d.ts +0 -0
- /package/dist/{transactions → src/transactions}/utils/sortAndFilterTransactions.d.ts +0 -0
- /package/dist/{trends → src/trends}/TrendsFullWidget.d.ts +0 -0
- /package/dist/{trends → src/trends}/TrendsMiniWidget.d.ts +0 -0
- /package/dist/{trends → src/trends}/components/SpendingChart.d.ts +0 -0
- /package/dist/{trends → src/trends}/components/TrendsChart.d.ts +0 -0
- /package/dist/{trends → src/trends}/components/TrendsDrawer.d.ts +0 -0
- /package/dist/{trends → src/trends}/components/TrendsTable.d.ts +0 -0
- /package/dist/{trends → src/trends}/components/trendstable/AmountCell.d.ts +0 -0
- /package/dist/{trends → src/trends}/components/trendstable/CategoryCell.d.ts +0 -0
- /package/dist/{trends → src/trends}/components/trendstable/HeaderCell.d.ts +0 -0
- /package/dist/{trends → src/trends}/index.d.ts +0 -0
- /package/dist/{trends → src/trends}/mocks.d.ts +0 -0
- /package/dist/{trends → src/trends}/utils/SpendingData.d.ts +0 -0
- /package/dist/{trends → src/trends}/utils/TrendsData.d.ts +0 -0
- /package/dist/{trends → src/trends}/utils/shared.d.ts +0 -0
package/dist/index.es.js
CHANGED
@@ -17,10 +17,10 @@ import { addYears as ni } from "date-fns/addYears";
|
|
17
17
|
import { getDay as ii } from "date-fns/getDay";
|
18
18
|
import { isBefore as we } from "date-fns/isBefore";
|
19
19
|
import { nextDay as xi } from "date-fns/nextDay";
|
20
|
-
import { setDate as
|
20
|
+
import { setDate as ea } from "date-fns/setDate";
|
21
21
|
import { startOfToday as de } from "date-fns/startOfToday";
|
22
22
|
import { fromUnixTime as Ge } from "date-fns/fromUnixTime";
|
23
|
-
import { Honeybadger as
|
23
|
+
import { Honeybadger as zi } from "@honeybadger-io/react";
|
24
24
|
import to from "numeral";
|
25
25
|
import ee from "@mui/material/Button";
|
26
26
|
import Wn from "@mui/material/Tooltip";
|
@@ -31,8 +31,8 @@ import ue from "@mui/material/ListItemButton";
|
|
31
31
|
import se from "@mui/material/ListItemText";
|
32
32
|
import Ns from "@mui/material/Popover";
|
33
33
|
import b from "@mui/material/Stack";
|
34
|
-
import
|
35
|
-
import { alpha as Ll, lighten as tr, darken as nr, Stack as ye, Box as Mn, useTheme as vn, Card as
|
34
|
+
import ta from "@mui/material/Checkbox";
|
35
|
+
import { alpha as Ll, lighten as tr, darken as nr, Stack as ye, Box as Mn, useTheme as vn, Card as ha, CardContent as Ml, Button as kl } from "@mui/material";
|
36
36
|
import ge from "@mui/material/styles/useTheme";
|
37
37
|
import bn from "@mui/material/useMediaQuery";
|
38
38
|
import { css as tn, keyframes as Gl } from "@mxenabled/cssinjs";
|
@@ -51,7 +51,7 @@ import { isSameDay as _t } from "date-fns/isSameDay";
|
|
51
51
|
import { isWithinInterval as ai } from "date-fns/isWithinInterval";
|
52
52
|
import * as Dt from "d3";
|
53
53
|
import { selectAll as Wl, interpolateString as Ul, arc as Vl } from "d3";
|
54
|
-
import { useTheme as
|
54
|
+
import { useTheme as tt, alpha as An, keyframes as Kl, ThemeProvider as zl } from "@mui/material/styles";
|
55
55
|
import { ResponsiveChartContainer as Yl, AreaPlot as jl, LinePlot as Xl, MarkPlot as ql, BarPlot as Zl, ChartsXAxis as Ql, ChartsYAxis as Jl, ChartsReferenceLine as ed, ChartsLegend as td, LineChart as Ds } from "@mui/x-charts";
|
56
56
|
import Gt from "@mui/material/Card";
|
57
57
|
import Bt from "@mui/material/CardContent";
|
@@ -71,21 +71,21 @@ import ad from "@mui/material/Dialog";
|
|
71
71
|
import Rs from "@mui/material/DialogContent";
|
72
72
|
import od from "@mui/icons-material/ArrowBackOutlined";
|
73
73
|
import wn from "@mui/material/CardHeader";
|
74
|
-
import { Icon as gt, AccountBalance as rd, ChevronRight as At, Payments as sd, NoteStack as cd, Person as ld, CheckCircle as
|
74
|
+
import { Icon as gt, AccountBalance as rd, ChevronRight as At, Payments as sd, NoteStack as cd, Person as ld, CheckCircle as ga, ExpandLess as dd, ExpandMore as ud, AddBox as Os, Star as _d, Settings as hd, Delete as gd, Schedule as md, MonetizationOn as pd, Cancel as Ls, Add as Cd } from "@mxenabled/mx-icons";
|
75
75
|
import { ConnectWidget as fd, ConnectionsWidget as bd } from "@mxenabled/web-widget-sdk";
|
76
76
|
import po from "@mui/material/CircularProgress";
|
77
77
|
import { v4 as yd } from "uuid";
|
78
|
-
import
|
78
|
+
import na from "@mui/material/InputAdornment";
|
79
79
|
import Ed from "@mui/material/Radio";
|
80
80
|
import nn from "@mui/material/Avatar";
|
81
81
|
import Pe from "@mui/material/ListItemAvatar";
|
82
82
|
import ft from "@mui/material/ListItemIcon";
|
83
|
-
import
|
83
|
+
import ma from "@mui/material/Switch";
|
84
84
|
import { makeAutoObservable as He, runInAction as Y, reaction as Sd, observable as Td } from "mobx";
|
85
85
|
import Ad, { SurveyQuestionType as or } from "posthog-js";
|
86
86
|
import { differenceInDays as xd } from "date-fns/differenceInDays";
|
87
|
-
import
|
88
|
-
import
|
87
|
+
import pa from "@mui/icons-material/ChevronRight";
|
88
|
+
import Ca from "@mui/icons-material/ExpandMore";
|
89
89
|
import { DataGridPro as jn } from "@mui/x-data-grid-pro";
|
90
90
|
import { intervalToDuration as Id, formatDuration as vd, getDate as rr, fromUnixTime as Ii, startOfMonth as sr, format as On, differenceInMonths as wd, isSameDay as Nd, subDays as Dd, startOfToday as Rd, endOfToday as Od } from "date-fns";
|
91
91
|
import In from "@mui/material/Alert";
|
@@ -97,9 +97,9 @@ import { isAfter as Jt } from "date-fns/isAfter";
|
|
97
97
|
import { subWeeks as cr } from "date-fns/subWeeks";
|
98
98
|
import { formatISO as li } from "date-fns/formatISO";
|
99
99
|
import { AdapterDateFns as gn } from "@mui/x-date-pickers/AdapterDateFnsV3";
|
100
|
-
import { DatePicker as
|
100
|
+
import { DatePicker as fa } from "@mui/x-date-pickers";
|
101
101
|
import { LocalizationProvider as Nn } from "@mui/x-date-pickers/LocalizationProvider";
|
102
|
-
import
|
102
|
+
import it from "@mui/material/TextField";
|
103
103
|
import { isValid as Co } from "date-fns/isValid";
|
104
104
|
import { subQuarters as ks } from "date-fns/subQuarters";
|
105
105
|
import { getMonth as Jn } from "date-fns/getMonth";
|
@@ -109,29 +109,29 @@ import ki from "@mui/material/Accordion";
|
|
109
109
|
import Gi from "@mui/material/AccordionDetails";
|
110
110
|
import Bi from "@mui/material/AccordionSummary";
|
111
111
|
import Ld from "@mui/material/Breadcrumbs";
|
112
|
-
import
|
112
|
+
import ba from "@mui/material/MenuItem";
|
113
113
|
import Md from "@mui/material/RadioGroup";
|
114
114
|
import vi from "@mui/icons-material/DeleteOutlined";
|
115
|
-
import
|
115
|
+
import ia from "@mui/icons-material/Cancel";
|
116
116
|
import kd from "@mui/icons-material/HighlightOff";
|
117
117
|
import Gd from "@mui/icons-material/Search";
|
118
118
|
import Bd from "@mui/icons-material/Edit";
|
119
119
|
import Pd from "@mui/material/FormGroup";
|
120
120
|
import Hd from "@mui/icons-material/FlagOutlined";
|
121
121
|
import $d from "@mui/icons-material/ReceiptOutlined";
|
122
|
-
import { getWeeksInMonth as
|
122
|
+
import { getWeeksInMonth as aa } from "date-fns/getWeeksInMonth";
|
123
123
|
import fo from "@mui/material/Badge";
|
124
124
|
import { PickersDay as Bs } from "@mui/x-date-pickers/PickersDay";
|
125
125
|
import Fd from "@mui/icons-material/AccessTimeFilled";
|
126
126
|
import Wd from "@mui/icons-material/MonetizationOn";
|
127
|
-
import
|
127
|
+
import ya from "@mui/icons-material/CheckCircle";
|
128
128
|
import { getDate as ei } from "date-fns/getDate";
|
129
129
|
import jt from "@mui/material/Unstable_Grid2";
|
130
130
|
import Pi from "@mui/material/Collapse";
|
131
131
|
import Ps from "@mui/material/CardActionArea";
|
132
132
|
import Ud from "@mui/icons-material/DragHandle";
|
133
133
|
import ao from "@mui/material/AlertTitle";
|
134
|
-
import
|
134
|
+
import Ea from "@mui/icons-material/Error";
|
135
135
|
import Vd from "@mui/material/Chip";
|
136
136
|
import Kd from "@mui/icons-material/EditOutlined";
|
137
137
|
import { isToday as bo } from "date-fns/isToday";
|
@@ -621,7 +621,7 @@ const B2 = {
|
|
621
621
|
N.CREDIT_CARD_PAYMENT,
|
622
622
|
N.MORTGAGE_PAYMENT,
|
623
623
|
N.AUTO_PAYMENT
|
624
|
-
],
|
624
|
+
], Sa = {
|
625
625
|
// Top-level categories
|
626
626
|
[N.AUTO_AND_TRANSPORT]: "Auto & Transport",
|
627
627
|
[N.BILLS_AND_UTILITIES]: "Bills & Utilities",
|
@@ -789,7 +789,7 @@ const B2 = {
|
|
789
789
|
[N.UNCATEGORIZED]: "category",
|
790
790
|
UNKNOWN: "help"
|
791
791
|
}, _r = 9999999999e-2;
|
792
|
-
var
|
792
|
+
var oa = /* @__PURE__ */ ((e) => (e.CAD = "CAD", e.USD = "USD", e))(oa || {}), J = /* @__PURE__ */ ((e) => (e[e.Unknown = 0] = "Unknown", e[e.EveryWeek = 1] = "EveryWeek", e[e.EveryOtherWeek = 2] = "EveryOtherWeek", e[e.EveryMonth = 3] = "EveryMonth", e[e.EveryOtherMonth = 4] = "EveryOtherMonth", e[e.EveryQuarter = 5] = "EveryQuarter", e[e.EveryOtherQuarter = 6] = "EveryOtherQuarter", e[e.EveryYear = 7] = "EveryYear", e))(J || {});
|
793
793
|
const H2 = [
|
794
794
|
{ id: 0, copy: "frequency_unknown" },
|
795
795
|
{ id: 1, copy: "frequency_every_week" },
|
@@ -835,22 +835,22 @@ const _n = 44, hr = (e, n) => e.find((i) => i.guid === n), hu = (e, n) => e.find
|
|
835
835
|
}, W2 = (e, n) => {
|
836
836
|
const i = e.find((a) => a.guid === n);
|
837
837
|
return i ? i.guid === N.INCOME || i.parent_guid === N.INCOME : !1;
|
838
|
-
},
|
838
|
+
}, Ta = (e) => {
|
839
839
|
const n = ii(e);
|
840
840
|
let i = xi(e, n);
|
841
841
|
for (; we(i, de()); )
|
842
842
|
i = Qn(i, 1);
|
843
843
|
return i;
|
844
844
|
}, js = (e) => {
|
845
|
-
const n =
|
845
|
+
const n = Ta(e);
|
846
846
|
return Qn(n, 1);
|
847
|
-
},
|
848
|
-
let n =
|
847
|
+
}, ra = (e) => {
|
848
|
+
let n = ea(de(), e.getDate());
|
849
849
|
for (; we(n, de()); )
|
850
850
|
n = mt(n, 1);
|
851
851
|
return n;
|
852
852
|
}, Xs = (e) => {
|
853
|
-
const n =
|
853
|
+
const n = Ta(e);
|
854
854
|
return mt(n, 1);
|
855
855
|
}, Ao = (e) => {
|
856
856
|
let n = Tn(e, 1);
|
@@ -907,7 +907,7 @@ class ot {
|
|
907
907
|
return a.text();
|
908
908
|
throw a;
|
909
909
|
}).then((a) => a.length ? JSON.parse(a) : {}).then((a) => a).catch((a) => {
|
910
|
-
throw
|
910
|
+
throw zi.notify(a), a;
|
911
911
|
});
|
912
912
|
};
|
913
913
|
post = async (n, i) => {
|
@@ -921,7 +921,7 @@ class ot {
|
|
921
921
|
throw r;
|
922
922
|
return r.text();
|
923
923
|
}).then((r) => r.length ? JSON.parse(r) : {}).then((r) => r).catch((r) => {
|
924
|
-
throw
|
924
|
+
throw zi.notify(r), r;
|
925
925
|
});
|
926
926
|
};
|
927
927
|
put = async (n, i) => {
|
@@ -933,7 +933,7 @@ class ot {
|
|
933
933
|
return fetch(`${this.endpoint}${n}`, o).then((r) => r.ok ? r.text() : r.text().then((s) => {
|
934
934
|
throw new Error(s);
|
935
935
|
})).then((r) => r.length ? JSON.parse(r) : {}).then((r) => r).catch((r) => {
|
936
|
-
throw
|
936
|
+
throw zi.notify(r), r;
|
937
937
|
});
|
938
938
|
};
|
939
939
|
delete = async (n) => {
|
@@ -944,7 +944,7 @@ class ot {
|
|
944
944
|
return fetch(`${this.endpoint}${n}`, i).then((a) => a.ok ? a.text() : a.text().then((o) => {
|
945
945
|
throw new Error(o);
|
946
946
|
})).then((a) => a.length ? JSON.parse(a) : {}).then((a) => a).catch((a) => {
|
947
|
-
throw
|
947
|
+
throw zi.notify(a), a;
|
948
948
|
});
|
949
949
|
};
|
950
950
|
}
|
@@ -958,9 +958,9 @@ const B = (e, n, i) => {
|
|
958
958
|
}, pu = () => {
|
959
959
|
switch (Hn()) {
|
960
960
|
case "fr-ca":
|
961
|
-
return
|
961
|
+
return oa.CAD;
|
962
962
|
default:
|
963
|
-
return
|
963
|
+
return oa.USD;
|
964
964
|
}
|
965
965
|
}, oo = (e) => e != null && e !== "" && isFinite(e), Cu = {
|
966
966
|
style: "percent",
|
@@ -1271,7 +1271,7 @@ const Va = (e, n) => e.reduce((i, a) => (i[a.guid] = n?.includes(a.guid), i), {}
|
|
1271
1271
|
no,
|
1272
1272
|
{
|
1273
1273
|
control: /* @__PURE__ */ t(
|
1274
|
-
|
1274
|
+
ta,
|
1275
1275
|
{
|
1276
1276
|
checked: E,
|
1277
1277
|
"data-ui-test": `checked-${E}`,
|
@@ -1342,7 +1342,7 @@ const Va = (e, n) => e.reduce((i, a) => (i[a.guid] = n?.includes(a.guid), i), {}
|
|
1342
1342
|
no,
|
1343
1343
|
{
|
1344
1344
|
control: /* @__PURE__ */ t(
|
1345
|
-
|
1345
|
+
ta,
|
1346
1346
|
{
|
1347
1347
|
checked: I,
|
1348
1348
|
"data-ui-test": `checked-${I}`,
|
@@ -2009,7 +2009,7 @@ const Bu = ({
|
|
2009
2009
|
)
|
2010
2010
|
] });
|
2011
2011
|
}, Wu = (e) => {
|
2012
|
-
const n =
|
2012
|
+
const n = tt(), i = e.showLabel, a = e.style, o = Number(e.x), r = Number(e.y), s = e.handlers?.onMarkClick, c = e.handlers?.onMouseEnter, d = e.handlers?.onMouseLeave;
|
2013
2013
|
return /* @__PURE__ */ l(Z, { children: [
|
2014
2014
|
i && /* @__PURE__ */ t(
|
2015
2015
|
"text",
|
@@ -2112,7 +2112,7 @@ const Bu = ({
|
|
2112
2112
|
valueFormatterString: C = "0,0",
|
2113
2113
|
width: f
|
2114
2114
|
}) => {
|
2115
|
-
const E =
|
2115
|
+
const E = tt(), y = i.flat().map((D) => D.x), S = i.flat().map((D) => D.y), w = Math.round(S.reduce((D, H) => H + D, 0) / S.length), v = Math.floor(Math.min(...S) / 100) * 100, I = Math.ceil(Math.max(...S) / 100) * 100, R = i.map((D, H) => ({
|
2116
2116
|
type: d ? "bar" : "line",
|
2117
2117
|
curve: "linear",
|
2118
2118
|
color: d ? E.palette.chart?.chart6 : n[H] ?? E.palette.primary.main,
|
@@ -2258,7 +2258,7 @@ const Bu = ({
|
|
2258
2258
|
if (!n)
|
2259
2259
|
throw new Error(`${e}() must be used within the GlobalDataContext`);
|
2260
2260
|
return n;
|
2261
|
-
}, ve = () => qe("useAccountStore").globalStore.accountStore, Fi = () => qe("useAppConfig").globalStore.appDataStore.appConfig, Io = () => qe("useAnalyticsStore").globalStore.analyticsStore, ut = () => qe("useBudgetsStore").globalStore.budgetsStore, vo = () => qe("useCashflowStore").globalStore.cashflowStore, Ke = () => qe("useCategoryStore").globalStore.categoryStore, rc = () => qe("useConnectStore").globalStore.connectStore,
|
2261
|
+
}, ve = () => qe("useAccountStore").globalStore.accountStore, Fi = () => qe("useAppConfig").globalStore.appDataStore.appConfig, Io = () => qe("useAnalyticsStore").globalStore.analyticsStore, ut = () => qe("useBudgetsStore").globalStore.budgetsStore, vo = () => qe("useCashflowStore").globalStore.cashflowStore, Ke = () => qe("useCategoryStore").globalStore.categoryStore, rc = () => qe("useConnectStore").globalStore.connectStore, Aa = () => qe("useDebtsStore").globalStore.debtsStore, xa = () => qe("useGlobalStore").globalStore, _e = () => qe("useGlobalUiStore").globalStore.globalUiStore, x = () => qe("globalCopyStore").globalStore.copyStore.copy, rt = () => qe("useGoalStore").globalStore.goalStore, wo = () => qe("useHelpStore").globalStore.helpStore, wi = () => qe("useHoldingStore").globalStore.holdingStore, zu = () => qe("useMerchantStore").globalStore.merchantStore, Yu = () => qe("useNetWorthStore").globalStore.netWorthStore, sc = () => qe("useNotificationStore").globalStore.notificationStore, nt = () => qe("useRecurringActivityStore").globalStore.recurringActivityStore, Pt = () => qe("useRecurringTransactionsStore").globalStore.recurringTransactionsStore, Ht = () => qe("useSettingsStore").globalStore.settingsStore, Te = () => qe("useTransactionStore").globalStore.transactionStore, an = () => qe("useUserStore").globalStore.userStore, z = () => ({ onEvent: qe().onEvent }), X2 = () => ({ onPageView: qe().onPageView }), ju = (e = "useWidgetContainerContext") => {
|
2262
2262
|
const n = g.useContext(ac);
|
2263
2263
|
if (!n)
|
2264
2264
|
throw new Error(`${e}() must be used within the WidgetContainerContext`);
|
@@ -2296,7 +2296,7 @@ const Bu = ({
|
|
2296
2296
|
cursorPosition: a,
|
2297
2297
|
chartContainerRef: o
|
2298
2298
|
}) => {
|
2299
|
-
const r =
|
2299
|
+
const r = tt(), s = vs(null), [c, d] = Et({ x: a.x, y: a.y });
|
2300
2300
|
if (zn(() => {
|
2301
2301
|
(() => {
|
2302
2302
|
const h = s.current, m = o.current;
|
@@ -2350,7 +2350,7 @@ const Bu = ({
|
|
2350
2350
|
xData: o
|
2351
2351
|
}) => {
|
2352
2352
|
const r = vn(), s = a.data[i], c = o[i];
|
2353
|
-
return s === void 0 || !c ? null : /* @__PURE__ */ t(
|
2353
|
+
return s === void 0 || !c ? null : /* @__PURE__ */ t(ha, { sx: { pt: 4, px: 8 }, children: /* @__PURE__ */ t(Ml, { children: /* @__PURE__ */ l(Mn, { alignItems: "center", display: "flex", flexDirection: "column", children: [
|
2354
2354
|
/* @__PURE__ */ t(cc, { categoryGuid: e, topLevelCategoryGuid: n }),
|
2355
2355
|
/* @__PURE__ */ t(p, { color: r.palette.text.secondary, variant: "Small", children: re(c, ie.MONTH_SHORT_YEAR) }),
|
2356
2356
|
/* @__PURE__ */ t(ze, { amount: String(s), bold: !0, formatString: "0,0", variant: "Body" })
|
@@ -2411,7 +2411,7 @@ const Bu = ({
|
|
2411
2411
|
height: s,
|
2412
2412
|
width: c
|
2413
2413
|
}) => {
|
2414
|
-
const d =
|
2414
|
+
const d = tt(), { isMobile: _ } = Ee(), u = g.useRef(null), [h, m] = g.useState(null), [C, f] = g.useState({
|
2415
2415
|
hoveredSeriesId: null,
|
2416
2416
|
hoveredAreaData: null,
|
2417
2417
|
isAreaHovered: !1,
|
@@ -3419,7 +3419,7 @@ const Dn = ({
|
|
3419
3419
|
] })
|
3420
3420
|
}
|
3421
3421
|
);
|
3422
|
-
},
|
3422
|
+
}, sa = A(a_);
|
3423
3423
|
var Bn = /* @__PURE__ */ ((e) => (e.Loading = "loading", e.Error = "error", e))(Bn || {}), It = /* @__PURE__ */ ((e) => (e.Currency = "currency", e.Date = "date", e.Input = "input", e.Select = "select", e))(It || {});
|
3424
3424
|
const Tr = "connect_widget", Ar = "connections_widget", o_ = ({
|
3425
3425
|
loadWidgetProps: e,
|
@@ -3460,8 +3460,8 @@ const Tr = "connect_widget", Ar = "connections_widget", o_ = ({
|
|
3460
3460
|
},
|
3461
3461
|
title: a,
|
3462
3462
|
children: /* @__PURE__ */ l("div", { id: Tr, children: [
|
3463
|
-
u && /* @__PURE__ */ t(
|
3464
|
-
d && /* @__PURE__ */ t(
|
3463
|
+
u && /* @__PURE__ */ t(sa, { status: Bn.Error }),
|
3464
|
+
d && /* @__PURE__ */ t(sa, { status: Bn.Loading })
|
3465
3465
|
] })
|
3466
3466
|
}
|
3467
3467
|
);
|
@@ -3484,7 +3484,7 @@ const Tr = "connect_widget", Ar = "connections_widget", o_ = ({
|
|
3484
3484
|
const D = g.useRef(yd());
|
3485
3485
|
if (e)
|
3486
3486
|
switch (pu()) {
|
3487
|
-
case
|
3487
|
+
case oa.CAD:
|
3488
3488
|
R = v;
|
3489
3489
|
break;
|
3490
3490
|
default:
|
@@ -3592,8 +3592,8 @@ const Tr = "connect_widget", Ar = "connections_widget", o_ = ({
|
|
3592
3592
|
xn,
|
3593
3593
|
{
|
3594
3594
|
InputProps: {
|
3595
|
-
startAdornment: /* @__PURE__ */ t(
|
3596
|
-
endAdornment: /* @__PURE__ */ t(
|
3595
|
+
startAdornment: /* @__PURE__ */ t(na, { position: "start", children: /* @__PURE__ */ t(P, { color: "disabled", name: "search", size: 26 }) }),
|
3596
|
+
endAdornment: /* @__PURE__ */ t(na, { position: "end", sx: { p: 0 }, children: o ? s : null })
|
3597
3597
|
},
|
3598
3598
|
"aria-label": e,
|
3599
3599
|
name: "search",
|
@@ -3603,7 +3603,7 @@ const Tr = "connect_widget", Ar = "connections_widget", o_ = ({
|
|
3603
3603
|
value: o
|
3604
3604
|
}
|
3605
3605
|
) });
|
3606
|
-
},
|
3606
|
+
}, Wi = A(s_), xr = ({
|
3607
3607
|
checked: e = !1,
|
3608
3608
|
label: n,
|
3609
3609
|
sx: i = {},
|
@@ -3706,7 +3706,7 @@ const Tr = "connect_widget", Ar = "connections_widget", o_ = ({
|
|
3706
3706
|
o,
|
3707
3707
|
/* @__PURE__ */ t(ft, { children: /* @__PURE__ */ t(P, { name: "chevron_right", size: 24 }) })
|
3708
3708
|
] }) }) : /* @__PURE__ */ t(j, { disableGutters: !1, disablePadding: !1, children: o });
|
3709
|
-
},
|
3709
|
+
}, ca = ({
|
3710
3710
|
body: e,
|
3711
3711
|
iconName: n = "info",
|
3712
3712
|
title: i
|
@@ -3915,7 +3915,7 @@ const Tr = "connect_widget", Ar = "connections_widget", o_ = ({
|
|
3915
3915
|
return /* @__PURE__ */ t(
|
3916
3916
|
j,
|
3917
3917
|
{
|
3918
|
-
secondaryAction: /* @__PURE__ */ t(
|
3918
|
+
secondaryAction: /* @__PURE__ */ t(ma, { checked: e, onChange: a }),
|
3919
3919
|
sx: {
|
3920
3920
|
"& .MuiListItemSecondaryAction-root": {
|
3921
3921
|
right: s ? 24 : 64
|
@@ -3952,7 +3952,7 @@ const Tr = "connect_widget", Ar = "connections_widget", o_ = ({
|
|
3952
3952
|
}) => /* @__PURE__ */ t(
|
3953
3953
|
j,
|
3954
3954
|
{
|
3955
|
-
secondaryAction: /* @__PURE__ */ t(
|
3955
|
+
secondaryAction: /* @__PURE__ */ t(ma, { checked: e, disabled: n, onChange: i, sx: { mr: 24 } }),
|
3956
3956
|
children: /* @__PURE__ */ t(
|
3957
3957
|
se,
|
3958
3958
|
{
|
@@ -4335,7 +4335,7 @@ const _i = () => {
|
|
4335
4335
|
setNextIncome: m,
|
4336
4336
|
setSelectedCashAccounts: C,
|
4337
4337
|
setUpcomingExpenses: f
|
4338
|
-
} = _i(), { isDataLoaded: E, nextIncomeActivity: y, upcomingExpenses: S } =
|
4338
|
+
} = _i(), { isDataLoaded: E, nextIncomeActivity: y, upcomingExpenses: S } = nt();
|
4339
4339
|
g.useEffect(() => {
|
4340
4340
|
C(
|
4341
4341
|
o.filter((D) => s.includes(D.guid))
|
@@ -4379,7 +4379,7 @@ const _i = () => {
|
|
4379
4379
|
/* @__PURE__ */ t(ze, { amount: I, variant: "H2" }),
|
4380
4380
|
/* @__PURE__ */ l(b, { alignItems: "center", direction: "row", gap: 8, children: [
|
4381
4381
|
/* @__PURE__ */ t(Oe, { variant: "XSmall", whiteSpace: "nowrap", children: c.available_to_spend }),
|
4382
|
-
/* @__PURE__ */ t(
|
4382
|
+
/* @__PURE__ */ t(ca, { body: c.tooltip_body, title: c.tooltip_title })
|
4383
4383
|
] })
|
4384
4384
|
] }),
|
4385
4385
|
/* @__PURE__ */ t(b, { borderLeft: `1px solid ${n.palette.border.light}`, pb: 12, pl: 24, pt: 12, children: R ? /* @__PURE__ */ l(Z, { children: [
|
@@ -4453,7 +4453,7 @@ const _i = () => {
|
|
4453
4453
|
)
|
4454
4454
|
] }) }) : /* @__PURE__ */ t(he, { height: a ? 210 : 120 });
|
4455
4455
|
}, y_ = A(b_), E_ = ({ onPrimaryCtaClick: e, sx: n = {} }) => {
|
4456
|
-
const { cashflow: i } = x(), { isCopyLoaded: a, isInitialized: o } = _e(), { loadActivity: r } =
|
4456
|
+
const { cashflow: i } = x(), { isCopyLoaded: a, isInitialized: o } = _e(), { loadActivity: r } = nt();
|
4457
4457
|
return g.useEffect(() => {
|
4458
4458
|
o && r();
|
4459
4459
|
}, [o]), a ? /* @__PURE__ */ t(
|
@@ -4469,7 +4469,7 @@ const _i = () => {
|
|
4469
4469
|
}
|
4470
4470
|
) : /* @__PURE__ */ t(he, {});
|
4471
4471
|
}, Q2 = A(E_);
|
4472
|
-
class
|
4472
|
+
class la {
|
4473
4473
|
fetchInstance;
|
4474
4474
|
constructor(n, i) {
|
4475
4475
|
this.fetchInstance = new ot(n, i);
|
@@ -4551,7 +4551,7 @@ class da {
|
|
4551
4551
|
updateTag = async (n) => this.fetchInstance.put(`${G.TAGS}/${n.guid}`, n).then((i) => i.tag);
|
4552
4552
|
updateTransaction = async (n) => this.fetchInstance.put(`${G.TRANSACTIONS}/${n.guid}`, n).then((i) => i.transaction);
|
4553
4553
|
}
|
4554
|
-
var Ci = /* @__PURE__ */ ((e) => (e[e.Category = 0] = "Category", e[e.Date = 1] = "Date", e[e.Memo = 2] = "Memo", e[e.Tags = 3] = "Tags", e))(Ci || {}),
|
4554
|
+
var Ci = /* @__PURE__ */ ((e) => (e[e.Category = 0] = "Category", e[e.Date = 1] = "Date", e[e.Memo = 2] = "Memo", e[e.Tags = 3] = "Tags", e))(Ci || {}), Zi = /* @__PURE__ */ ((e) => (e[e.SplitTransaction = 0] = "SplitTransaction", e[e.HideTransaction = 1] = "HideTransaction", e[e.MerchantLogo = 2] = "MerchantLogo", e))(Zi || {});
|
4555
4555
|
const S_ = [
|
4556
4556
|
0,
|
4557
4557
|
1,
|
@@ -4937,7 +4937,7 @@ const S_ = [
|
|
4937
4937
|
const i = e.toLowerCase().split(" "), a = n?.toString().toLowerCase() ?? "";
|
4938
4938
|
return i.every((o) => a.indexOf(o) > -1);
|
4939
4939
|
};
|
4940
|
-
var Ze = /* @__PURE__ */ ((e) => (e[e.Expense = 0] = "Expense", e[e.Income = 1] = "Income", e))(Ze || {}), et = /* @__PURE__ */ ((e) => (e[e.Paid = 0] = "Paid", e[e.Missed = 1] = "Missed", e[e.Upcoming = 2] = "Upcoming", e))(et || {}), D_ = /* @__PURE__ */ ((e) => (e[e.UNKNOWN = 0] = "UNKNOWN", e[e.CORRECT = 1] = "CORRECT", e[e.INCORRECT = 2] = "INCORRECT", e))(D_ || {}), R_ = /* @__PURE__ */ ((e) => (e.Missed = "Missed", e.Paid = "Paid", e.Upcoming = "Upcoming expense", e.Income = "Income", e))(R_ || {}), O_ = /* @__PURE__ */ ((e) => (e[e.Unknown = 0] = "Unknown", e[e.Subscription = 1] = "Subscription", e[e.Bill = 2] = "Bill", e))(O_ || {}), K = /* @__PURE__ */ ((e) => (e[e.DEBT_TRACK = 1] = "DEBT_TRACK", e[e.SAVINGS_TRACK = 2] = "SAVINGS_TRACK", e[e.RETIREMENT_TRACK = 3] = "RETIREMENT_TRACK", e[e.EMERGENCY_FUND_TRACK = 4] = "EMERGENCY_FUND_TRACK", e))(K || {}), lo = /* @__PURE__ */ ((e) => (e[e.SAVE_AMOUNT = 1] = "SAVE_AMOUNT", e[e.KEEP_BALANCE_BELOW = 2] = "KEEP_BALANCE_BELOW", e[e.KEEP_BALANCE_ABOVE = 3] = "KEEP_BALANCE_ABOVE", e[e.ACTION = 4] = "ACTION", e))(lo || {}), vt = /* @__PURE__ */ ((e) => (e[e.AUTOMOBILE = 1] = "AUTOMOBILE", e[e.COLLEGE = 2] = "COLLEGE", e[e.HOUSE = 3] = "HOUSE", e[e.RECREATIONAL_VEHICLE = 4] = "RECREATIONAL_VEHICLE", e[e.VACATION = 5] = "VACATION", e[e.ELECTRONIC = 6] = "ELECTRONIC", e[e.OTHER = 7] = "OTHER", e[e.RETIREMENT = 8] = "RETIREMENT", e[e.EMERGENCY_FUND = 9] = "EMERGENCY_FUND", e[e.SETUP_BUDGETS = 10] = "SETUP_BUDGETS", e[e.START_MONEY_MANAGEMENT = 11] = "START_MONEY_MANAGEMENT", e[e.CREDIT_CARD = 12] = "CREDIT_CARD", e[e.LINE_OF_CREDIT = 13] = "LINE_OF_CREDIT", e[e.LOANS = 14] = "LOANS", e))(vt || {}), Ue = /* @__PURE__ */ ((e) => (e[e.BudgetExceeded = 1] = "BudgetExceeded", e[e.BudgetOffTarget = 2] = "BudgetOffTarget", e[e.DebtPaymentReminder = 3] = "DebtPaymentReminder", e[e.AccountBalanceLow = 6] = "AccountBalanceLow", e[e.AccountDepositLarge = 7] = "AccountDepositLarge", e[e.TransactionExpenseLarge = 8] = "TransactionExpenseLarge", e[e.TransactionFeeCharge = 9] = "TransactionFeeCharge", e[e.InternationalTransaction = 23] = "InternationalTransaction", e[e.AccountDepositLargePosted = 48] = "AccountDepositLargePosted", e))(Ue || {}), St = /* @__PURE__ */ ((e) => (e[e.CREDIT = 1] = "CREDIT", e[e.DEBIT = 2] = "DEBIT", e))(St || {}), Do = /* @__PURE__ */ ((e) => (e[e.POSTED = 1] = "POSTED", e[e.PENDING = 2] = "PENDING", e))(Do || {}), L_ = /* @__PURE__ */ ((e) => (e.Desktop = "Desktop", e.Mobile = "Mobile", e))(L_ || {}), Ne = /* @__PURE__ */ ((e) => (e[e.Unknown = 0] = "Unknown", e[e.EveryWeek = 1] = "EveryWeek", e[e.EveryOtherWeek = 2] = "EveryOtherWeek", e[e.EveryMonth = 3] = "EveryMonth", e[e.EveryOtherMonth = 4] = "EveryOtherMonth", e[e.EveryQuarter = 5] = "EveryQuarter", e[e.EveryOtherQuarter = 6] = "EveryOtherQuarter", e[e.EveryYear = 7] = "EveryYear", e))(Ne || {}),
|
4940
|
+
var Ze = /* @__PURE__ */ ((e) => (e[e.Expense = 0] = "Expense", e[e.Income = 1] = "Income", e))(Ze || {}), et = /* @__PURE__ */ ((e) => (e[e.Paid = 0] = "Paid", e[e.Missed = 1] = "Missed", e[e.Upcoming = 2] = "Upcoming", e))(et || {}), D_ = /* @__PURE__ */ ((e) => (e[e.UNKNOWN = 0] = "UNKNOWN", e[e.CORRECT = 1] = "CORRECT", e[e.INCORRECT = 2] = "INCORRECT", e))(D_ || {}), R_ = /* @__PURE__ */ ((e) => (e.Missed = "Missed", e.Paid = "Paid", e.Upcoming = "Upcoming expense", e.Income = "Income", e))(R_ || {}), O_ = /* @__PURE__ */ ((e) => (e[e.Unknown = 0] = "Unknown", e[e.Subscription = 1] = "Subscription", e[e.Bill = 2] = "Bill", e))(O_ || {}), K = /* @__PURE__ */ ((e) => (e[e.DEBT_TRACK = 1] = "DEBT_TRACK", e[e.SAVINGS_TRACK = 2] = "SAVINGS_TRACK", e[e.RETIREMENT_TRACK = 3] = "RETIREMENT_TRACK", e[e.EMERGENCY_FUND_TRACK = 4] = "EMERGENCY_FUND_TRACK", e))(K || {}), lo = /* @__PURE__ */ ((e) => (e[e.SAVE_AMOUNT = 1] = "SAVE_AMOUNT", e[e.KEEP_BALANCE_BELOW = 2] = "KEEP_BALANCE_BELOW", e[e.KEEP_BALANCE_ABOVE = 3] = "KEEP_BALANCE_ABOVE", e[e.ACTION = 4] = "ACTION", e))(lo || {}), vt = /* @__PURE__ */ ((e) => (e[e.AUTOMOBILE = 1] = "AUTOMOBILE", e[e.COLLEGE = 2] = "COLLEGE", e[e.HOUSE = 3] = "HOUSE", e[e.RECREATIONAL_VEHICLE = 4] = "RECREATIONAL_VEHICLE", e[e.VACATION = 5] = "VACATION", e[e.ELECTRONIC = 6] = "ELECTRONIC", e[e.OTHER = 7] = "OTHER", e[e.RETIREMENT = 8] = "RETIREMENT", e[e.EMERGENCY_FUND = 9] = "EMERGENCY_FUND", e[e.SETUP_BUDGETS = 10] = "SETUP_BUDGETS", e[e.START_MONEY_MANAGEMENT = 11] = "START_MONEY_MANAGEMENT", e[e.CREDIT_CARD = 12] = "CREDIT_CARD", e[e.LINE_OF_CREDIT = 13] = "LINE_OF_CREDIT", e[e.LOANS = 14] = "LOANS", e))(vt || {}), Ue = /* @__PURE__ */ ((e) => (e[e.BudgetExceeded = 1] = "BudgetExceeded", e[e.BudgetOffTarget = 2] = "BudgetOffTarget", e[e.DebtPaymentReminder = 3] = "DebtPaymentReminder", e[e.AccountBalanceLow = 6] = "AccountBalanceLow", e[e.AccountDepositLarge = 7] = "AccountDepositLarge", e[e.TransactionExpenseLarge = 8] = "TransactionExpenseLarge", e[e.TransactionFeeCharge = 9] = "TransactionFeeCharge", e[e.InternationalTransaction = 23] = "InternationalTransaction", e[e.AccountDepositLargePosted = 48] = "AccountDepositLargePosted", e))(Ue || {}), St = /* @__PURE__ */ ((e) => (e[e.CREDIT = 1] = "CREDIT", e[e.DEBIT = 2] = "DEBIT", e))(St || {}), Do = /* @__PURE__ */ ((e) => (e[e.POSTED = 1] = "POSTED", e[e.PENDING = 2] = "PENDING", e))(Do || {}), L_ = /* @__PURE__ */ ((e) => (e.Desktop = "Desktop", e.Mobile = "Mobile", e))(L_ || {}), Ne = /* @__PURE__ */ ((e) => (e[e.Unknown = 0] = "Unknown", e[e.EveryWeek = 1] = "EveryWeek", e[e.EveryOtherWeek = 2] = "EveryOtherWeek", e[e.EveryMonth = 3] = "EveryMonth", e[e.EveryOtherMonth = 4] = "EveryOtherMonth", e[e.EveryQuarter = 5] = "EveryQuarter", e[e.EveryOtherQuarter = 6] = "EveryOtherQuarter", e[e.EveryYear = 7] = "EveryYear", e))(Ne || {}), at = /* @__PURE__ */ ((e) => (e[e.Paid = 0] = "Paid", e[e.Missed = 1] = "Missed", e[e.Upcoming = 2] = "Upcoming", e))(at || {}), Xt = /* @__PURE__ */ ((e) => (e[e.Expense = 0] = "Expense", e[e.Income = 1] = "Income", e))(Xt || {}), ln = /* @__PURE__ */ ((e) => (e[e.Unknown = 0] = "Unknown", e[e.Subscription = 1] = "Subscription", e[e.Bill = 2] = "Bill", e[e.Income = 3] = "Income", e[e.Transfer = 4] = "Transfer", e))(ln || {});
|
4941
4941
|
const hc = {
|
4942
4942
|
account_guid: "",
|
4943
4943
|
amount: 0,
|
@@ -5008,7 +5008,7 @@ let M_ = class {
|
|
5008
5008
|
class k_ {
|
5009
5009
|
globalStore;
|
5010
5010
|
uiStore;
|
5011
|
-
api = new
|
5011
|
+
api = new la("/", "");
|
5012
5012
|
beatApi = new oi("/", "");
|
5013
5013
|
isLoading = !0;
|
5014
5014
|
taggings = [];
|
@@ -5022,7 +5022,7 @@ class k_ {
|
|
5022
5022
|
filter = {};
|
5023
5023
|
onAnalyticEvent = x_;
|
5024
5024
|
constructor(n) {
|
5025
|
-
this.globalStore = n, this.uiStore = new M_(), this.api = new
|
5025
|
+
this.globalStore = n, this.uiStore = new M_(), this.api = new la(n.endpoint, n.sessionToken), this.beatApi = new oi(n.endpoint, n.sessionToken), He(this);
|
5026
5026
|
}
|
5027
5027
|
loadTransactionData = async () => {
|
5028
5028
|
await Promise.all([
|
@@ -5218,7 +5218,7 @@ const xt = () => {
|
|
5218
5218
|
"Original Description": i.feed_description,
|
5219
5219
|
Amount: `${i.amount}`,
|
5220
5220
|
Type: i.transaction_type === St.CREDIT ? "Credit" : "Debit",
|
5221
|
-
"Parent Category":
|
5221
|
+
"Parent Category": Sa[i.top_level_category_guid || ""],
|
5222
5222
|
Category: i.category,
|
5223
5223
|
Account: i.account,
|
5224
5224
|
Tags: H_(i, n),
|
@@ -5393,7 +5393,7 @@ const xt = () => {
|
|
5393
5393
|
}
|
5394
5394
|
);
|
5395
5395
|
}, j_ = A(Y_), X_ = (e) => /* @__PURE__ */ t(p, { tabIndex: e.tabIndex, variant: "Small", children: re(Ge(e.row.date), ie.MONTH_DAY) }), q_ = (e) => {
|
5396
|
-
const n =
|
5396
|
+
const n = tt(), { transactions: i } = x(), { is_flagged: a, is_hidden: o, has_been_viewed: r, parent_guid: s } = e.row, d = !r && !!!s;
|
5397
5397
|
return /* @__PURE__ */ l(
|
5398
5398
|
L,
|
5399
5399
|
{
|
@@ -5685,7 +5685,7 @@ const th = ({
|
|
5685
5685
|
primaryTypographyProps: { fontWeight: "normal", variant: "Body" }
|
5686
5686
|
}
|
5687
5687
|
),
|
5688
|
-
s && y && /* @__PURE__ */ t(
|
5688
|
+
s && y && /* @__PURE__ */ t(ya, { fontSize: "small" }),
|
5689
5689
|
!S && /* @__PURE__ */ t(Vd, { label: d })
|
5690
5690
|
]
|
5691
5691
|
}
|
@@ -5782,7 +5782,7 @@ const th = ({
|
|
5782
5782
|
primaryTypographyProps: { fontWeight: "normal", variant: "Body" }
|
5783
5783
|
}
|
5784
5784
|
),
|
5785
|
-
/* @__PURE__ */ t(ft, { children: s || a ? /* @__PURE__ */ t(
|
5785
|
+
/* @__PURE__ */ t(ft, { children: s || a ? /* @__PURE__ */ t(Ca, {}) : /* @__PURE__ */ t(pa, {}) })
|
5786
5786
|
]
|
5787
5787
|
},
|
5788
5788
|
e.guid
|
@@ -5840,7 +5840,7 @@ const th = ({
|
|
5840
5840
|
e && m(e), C(i), f(a), E(o);
|
5841
5841
|
}, [e, i, a, o]), d ? /* @__PURE__ */ l(b, { className: "mx-cat-category-selector", sx: { width: "100%" }, children: [
|
5842
5842
|
/* @__PURE__ */ t(
|
5843
|
-
|
5843
|
+
Wi,
|
5844
5844
|
{
|
5845
5845
|
ariaLabel: c.search_aria,
|
5846
5846
|
cancelAriaLabel: c.cancel_search_aria,
|
@@ -6064,7 +6064,7 @@ class Eh {
|
|
6064
6064
|
}
|
6065
6065
|
};
|
6066
6066
|
// TODO: Remove this after refactoring Trends components to use detailedCategories
|
6067
|
-
getCategoryName = (n) => this.categories.find((a) => a.guid === n)?.name ??
|
6067
|
+
getCategoryName = (n) => this.categories.find((a) => a.guid === n)?.name ?? Sa[n];
|
6068
6068
|
}
|
6069
6069
|
const Cc = ({ transaction: e }) => {
|
6070
6070
|
const { addOrUpdateTransactionRule: n, updateTransaction: i } = Te(), { categories: a } = Ke(), { onEvent: o } = z(), { setShouldDisableDrawerScroll: r, updateManualTransaction: s } = xt(), { transactions: c } = x(), [d, _] = g.useState(!1), [u, h] = g.useState(""), m = async (y) => {
|
@@ -6327,7 +6327,7 @@ const Cc = ({ transaction: e }) => {
|
|
6327
6327
|
}
|
6328
6328
|
),
|
6329
6329
|
/* @__PURE__ */ t(ft, { children: /* @__PURE__ */ t(
|
6330
|
-
|
6330
|
+
ma,
|
6331
6331
|
{
|
6332
6332
|
checked: d,
|
6333
6333
|
id: "hide-transaction",
|
@@ -6429,7 +6429,7 @@ const Cc = ({ transaction: e }) => {
|
|
6429
6429
|
children: [
|
6430
6430
|
/* @__PURE__ */ t(bc, { transaction: e }),
|
6431
6431
|
/* @__PURE__ */ t(
|
6432
|
-
|
6432
|
+
it,
|
6433
6433
|
{
|
6434
6434
|
"aria-label": r.memo_desc_aria,
|
6435
6435
|
focused: !0,
|
@@ -6470,7 +6470,7 @@ const Cc = ({ transaction: e }) => {
|
|
6470
6470
|
/* @__PURE__ */ t(
|
6471
6471
|
ee,
|
6472
6472
|
{
|
6473
|
-
endIcon: /* @__PURE__ */ t(
|
6473
|
+
endIcon: /* @__PURE__ */ t(pa, {}),
|
6474
6474
|
onClick: () => h(!0),
|
6475
6475
|
startIcon: /* @__PURE__ */ t(kt, { categoryGuid: o.top_level_category_guid }),
|
6476
6476
|
sx: { px: r.Spacing.Small, py: r.Spacing.XSmall },
|
@@ -6485,7 +6485,7 @@ const Cc = ({ transaction: e }) => {
|
|
6485
6485
|
gap: r.Spacing.XSmall,
|
6486
6486
|
p: r.Spacing.Small,
|
6487
6487
|
children: [
|
6488
|
-
/* @__PURE__ */ t(
|
6488
|
+
/* @__PURE__ */ t(ia, { sx: { fontSize: r.FontSize.Body } }),
|
6489
6489
|
/* @__PURE__ */ t(p, { variant: "Small", children: c.split_transaction_errors_select_category })
|
6490
6490
|
]
|
6491
6491
|
}
|
@@ -6526,7 +6526,7 @@ const Cc = ({ transaction: e }) => {
|
|
6526
6526
|
gap: r.Spacing.XSmall,
|
6527
6527
|
py: r.Spacing.Small,
|
6528
6528
|
children: [
|
6529
|
-
/* @__PURE__ */ t(
|
6529
|
+
/* @__PURE__ */ t(ia, { sx: { fontSize: r.FontSize.Body } }),
|
6530
6530
|
/* @__PURE__ */ t(p, { variant: "Small", children: c.split_transaction_errors_enter_an_amount })
|
6531
6531
|
]
|
6532
6532
|
}
|
@@ -6584,7 +6584,7 @@ const Cc = ({ transaction: e }) => {
|
|
6584
6584
|
gap: s.Spacing.XSmall,
|
6585
6585
|
p: s.Spacing.Medium,
|
6586
6586
|
children: [
|
6587
|
-
/* @__PURE__ */ t(
|
6587
|
+
/* @__PURE__ */ t(ia, { sx: { fontSize: s.FontSize.Body } }),
|
6588
6588
|
/* @__PURE__ */ t(p, { variant: "Small", children: _ })
|
6589
6589
|
]
|
6590
6590
|
}
|
@@ -6796,8 +6796,8 @@ const Cc = ({ transaction: e }) => {
|
|
6796
6796
|
xn,
|
6797
6797
|
{
|
6798
6798
|
InputProps: {
|
6799
|
-
startAdornment: /* @__PURE__ */ t(
|
6800
|
-
endAdornment: /* @__PURE__ */ t(
|
6799
|
+
startAdornment: /* @__PURE__ */ t(na, { position: "start", children: /* @__PURE__ */ t(Gd, { color: "disabled" }) }),
|
6800
|
+
endAdornment: /* @__PURE__ */ t(na, { position: "end", sx: { padding: 0 }, children: n ? r : null })
|
6801
6801
|
},
|
6802
6802
|
"aria-label": i.search_aria,
|
6803
6803
|
name: "search",
|
@@ -6855,7 +6855,7 @@ const Cc = ({ transaction: e }) => {
|
|
6855
6855
|
onClick: () => e(i.guid),
|
6856
6856
|
role: "checkbox",
|
6857
6857
|
children: [
|
6858
|
-
/* @__PURE__ */ t(ft, { sx: { ml: 0 }, children: /* @__PURE__ */ t(
|
6858
|
+
/* @__PURE__ */ t(ft, { sx: { ml: 0 }, children: /* @__PURE__ */ t(ta, { checked: n.includes(i.guid), edge: "start", tabIndex: -1 }) }),
|
6859
6859
|
/* @__PURE__ */ t(se, { children: i.name })
|
6860
6860
|
]
|
6861
6861
|
}
|
@@ -6986,7 +6986,7 @@ const Cc = ({ transaction: e }) => {
|
|
6986
6986
|
};
|
6987
6987
|
return /* @__PURE__ */ t(L, { className: "mx-txn-transaction-description", children: r ? /* @__PURE__ */ l(Pd, { row: !0, children: [
|
6988
6988
|
/* @__PURE__ */ t(
|
6989
|
-
|
6989
|
+
it,
|
6990
6990
|
{
|
6991
6991
|
"aria-label": a.description_add_a_subcategory,
|
6992
6992
|
name: "add-subcategory",
|
@@ -7100,9 +7100,9 @@ const Cc = ({ transaction: e }) => {
|
|
7100
7100
|
/* @__PURE__ */ t(p, { bold: !0, mb: 8, ml: 26, mt: 16, variant: "Body", children: "Actions" }),
|
7101
7101
|
/* @__PURE__ */ t(Tt, { square: !0, sx: { boxShadow: "none" }, children: /* @__PURE__ */ l(ne, { children: [
|
7102
7102
|
e.map((s, c) => /* @__PURE__ */ l(g.Fragment, { children: [
|
7103
|
-
s ===
|
7104
|
-
s ===
|
7105
|
-
s ===
|
7103
|
+
s === Zi.SplitTransaction && /* @__PURE__ */ t(Mh, { transaction: i }),
|
7104
|
+
s === Zi.HideTransaction && /* @__PURE__ */ t(vh, { transaction: i }),
|
7105
|
+
s === Zi.MerchantLogo && /* @__PURE__ */ t(xh, { transaction: i }),
|
7106
7106
|
/* @__PURE__ */ t(k, { variant: c < e.length - 1 ? "inset" : "fullWidth" })
|
7107
7107
|
] }, s)),
|
7108
7108
|
i.is_manual && /* @__PURE__ */ t(Th, { transaction: i })
|
@@ -7207,13 +7207,13 @@ const Cc = ({ transaction: e }) => {
|
|
7207
7207
|
xn,
|
7208
7208
|
{
|
7209
7209
|
InputLabelProps: { shrink: !0 },
|
7210
|
-
SelectProps: { defaultValue: -1, IconComponent:
|
7210
|
+
SelectProps: { defaultValue: -1, IconComponent: Ca },
|
7211
7211
|
label: i.manual_transaction_select_an_account,
|
7212
7212
|
onChange: (y) => E(y.target.value),
|
7213
7213
|
placeholder: i.manual_transaction_select,
|
7214
7214
|
select: !0,
|
7215
7215
|
sx: { bgcolor: "background.paper" },
|
7216
|
-
children: u.map((y) => /* @__PURE__ */ t(
|
7216
|
+
children: u.map((y) => /* @__PURE__ */ t(ba, { value: y.value, children: y.label }, y.value))
|
7217
7217
|
}
|
7218
7218
|
)
|
7219
7219
|
] }),
|
@@ -7369,7 +7369,7 @@ const Cc = ({ transaction: e }) => {
|
|
7369
7369
|
title: D.transactions_title,
|
7370
7370
|
children: [
|
7371
7371
|
/* @__PURE__ */ t(L, { mt: 16, children: /* @__PURE__ */ t(
|
7372
|
-
|
7372
|
+
Wi,
|
7373
7373
|
{
|
7374
7374
|
onChange: Ha,
|
7375
7375
|
placeholder: D.action_bar_search_placeholder,
|
@@ -7511,7 +7511,7 @@ const Cc = ({ transaction: e }) => {
|
|
7511
7511
|
occurs_on: li(e.expectedDate, { representation: "date" }),
|
7512
7512
|
recurrence_type: e.recurrenceType
|
7513
7513
|
}), ng = ({ activity: e }) => {
|
7514
|
-
const { recurring: n } = x(), { cashflowSequences: i, scheduledPayments: a, updateCashflowSequence: o, updateScheduledPayment: r } =
|
7514
|
+
const { recurring: n } = x(), { cashflowSequences: i, scheduledPayments: a, updateCashflowSequence: o, updateScheduledPayment: r } = nt(), { onEvent: s } = z(), [c, d] = g.useState(!1), _ = e.activityType === Ze.Income, u = [
|
7515
7515
|
{ id: J.EveryWeek, label: n.frequency_every_week },
|
7516
7516
|
{ id: J.EveryOtherWeek, label: n.frequency_every_other_week },
|
7517
7517
|
{ id: J.EveryMonth, label: n.frequency_every_month },
|
@@ -7577,7 +7577,7 @@ const Cc = ({ transaction: e }) => {
|
|
7577
7577
|
)
|
7578
7578
|
] });
|
7579
7579
|
}, ig = A(ng), ag = ({ activity: e }) => {
|
7580
|
-
const { recurring: n } = x(), { cashflowSequences: i, scheduledPayments: a, updateCashflowSequence: o, updateScheduledPayment: r } =
|
7580
|
+
const { recurring: n } = x(), { cashflowSequences: i, scheduledPayments: a, updateCashflowSequence: o, updateScheduledPayment: r } = nt(), { onEvent: s } = z(), [c, d] = g.useState(!1), [_, u] = g.useState(e.expectedDate), h = e.activityType === Ze.Income, m = () => {
|
7581
7581
|
u(e.expectedDate), d(!0), s(
|
7582
7582
|
h ? "recurring_transactions_widget_income_details_click_next_payment_due" : "recurring_transactions_widget_expense_details_click_next_payment_due",
|
7583
7583
|
{
|
@@ -7636,7 +7636,7 @@ const Cc = ({ transaction: e }) => {
|
|
7636
7636
|
)
|
7637
7637
|
] });
|
7638
7638
|
}, og = A(ag), rg = ({ activity: e, onDeleted: n }) => {
|
7639
|
-
const { recurring: i } = x(), { categories: a } = Ke(), { deleteCashflowSequence: o, deleteScheduledPayment: r, paidActivities: s } =
|
7639
|
+
const { recurring: i } = x(), { categories: a } = Ke(), { deleteCashflowSequence: o, deleteScheduledPayment: r, paidActivities: s } = nt(), { filter: c, setFilter: d, transactions: _ } = Te(), { selectedAccountGuids: u } = _e(), { onEvent: h } = z(), [m, C] = g.useState(!1), [f, E] = g.useState(""), y = a.find((R) => R.guid === e.categoryGuid), S = e.activityType === Ze.Income, w = g.useMemo(
|
7640
7640
|
() => _.find((R) => R.guid === f),
|
7641
7641
|
[f]
|
7642
7642
|
);
|
@@ -7752,7 +7752,7 @@ const Cc = ({ transaction: e }) => {
|
|
7752
7752
|
gridRow: 1,
|
7753
7753
|
gridColumn: 1,
|
7754
7754
|
zIndex: 2
|
7755
|
-
}, Ra = (e) => e ? { margin: "0 0 -6px -4px" } : void 0, Oo = ({ isOffset: e = !1, size: n = 16 }) => /* @__PURE__ */ t(Zt, { size: n, sx: { ...Ra(e) }, children: /* @__PURE__ */ t(Fd, { color: "primary", sx: { fontSize: n, ...Da } }) }), Lo = ({ isOffset: e = !1, size: n = 16 }) => /* @__PURE__ */ t(Zt, { size: n, sx: { ...Ra(e) }, children: /* @__PURE__ */ t(Wd, { sx: { color: "categories.income", fontSize: n, ...Da } }) }), Mo = ({ isOffset: e = !1, size: n = 16 }) => /* @__PURE__ */ t(Zt, { size: n, sx: { ...Ra(e) }, children: /* @__PURE__ */ t(
|
7755
|
+
}, Ra = (e) => e ? { margin: "0 0 -6px -4px" } : void 0, Oo = ({ isOffset: e = !1, size: n = 16 }) => /* @__PURE__ */ t(Zt, { size: n, sx: { ...Ra(e) }, children: /* @__PURE__ */ t(Fd, { color: "primary", sx: { fontSize: n, ...Da } }) }), Lo = ({ isOffset: e = !1, size: n = 16 }) => /* @__PURE__ */ t(Zt, { size: n, sx: { ...Ra(e) }, children: /* @__PURE__ */ t(Wd, { sx: { color: "categories.income", fontSize: n, ...Da } }) }), Mo = ({ isOffset: e = !1, size: n = 16 }) => /* @__PURE__ */ t(Zt, { size: n, sx: { ...Ra(e) }, children: /* @__PURE__ */ t(ia, { color: "error", sx: { fontSize: n, ...Da } }) }), ko = ({ isOffset: e = !1, size: n = 16 }) => /* @__PURE__ */ t(Zt, { size: n, sx: { ...Ra(e) }, children: /* @__PURE__ */ t(ya, { color: "success", sx: { fontSize: n, ...Da } }) }), Br = ({ copy: e, date: n, type: i }) => {
|
7756
7756
|
let a = n && Co(n) ? T(e.monthly_ordinal, wt(n, "do")) : e.monthly;
|
7757
7757
|
switch (i) {
|
7758
7758
|
case J.EveryQuarter:
|
@@ -7906,7 +7906,7 @@ const Cc = ({ transaction: e }) => {
|
|
7906
7906
|
}
|
7907
7907
|
)
|
7908
7908
|
] });
|
7909
|
-
},
|
7909
|
+
}, da = A(dg), Ac = (e, n, i) => {
|
7910
7910
|
const a = {
|
7911
7911
|
account_guid: e.account_guid,
|
7912
7912
|
amount: e.amount,
|
@@ -7984,7 +7984,7 @@ const Cc = ({ transaction: e }) => {
|
|
7984
7984
|
return /* @__PURE__ */ l(b, { sx: { bgcolor: e, gap: 16, pt: 8 }, children: [
|
7985
7985
|
n && /* @__PURE__ */ t(Oe, { sx: { mx: 24 }, children: n }),
|
7986
7986
|
/* @__PURE__ */ t(
|
7987
|
-
|
7987
|
+
Wi,
|
7988
7988
|
{
|
7989
7989
|
ariaLabel: o.select_transaction_search_aria,
|
7990
7990
|
cancelAriaLabel: o.select_transaction_search_cancel_aria,
|
@@ -8017,19 +8017,19 @@ const Cc = ({ transaction: e }) => {
|
|
8017
8017
|
];
|
8018
8018
|
g.useEffect(() => {
|
8019
8019
|
const u = Ge(s.date);
|
8020
|
-
r(
|
8020
|
+
r(ra(u)), o(J.EveryMonth);
|
8021
8021
|
}, [s]);
|
8022
8022
|
const _ = (u) => {
|
8023
8023
|
const h = Ge(s.date);
|
8024
8024
|
switch (Number(u.target.value)) {
|
8025
8025
|
case J.EveryWeek:
|
8026
|
-
r(
|
8026
|
+
r(Ta(h));
|
8027
8027
|
break;
|
8028
8028
|
case J.EveryOtherWeek:
|
8029
8029
|
r(js(h));
|
8030
8030
|
break;
|
8031
8031
|
case J.EveryMonth:
|
8032
|
-
r(
|
8032
|
+
r(ra(h));
|
8033
8033
|
break;
|
8034
8034
|
case J.EveryOtherMonth:
|
8035
8035
|
r(Xs(h));
|
@@ -8053,7 +8053,7 @@ const Cc = ({ transaction: e }) => {
|
|
8053
8053
|
] }),
|
8054
8054
|
/* @__PURE__ */ t(p, { bold: !0, sx: { mx: 24 }, variant: "Body", children: i ? c.income_schedule : c.expense_schedule }),
|
8055
8055
|
/* @__PURE__ */ t(
|
8056
|
-
|
8056
|
+
it,
|
8057
8057
|
{
|
8058
8058
|
InputLabelProps: { shrink: !0 },
|
8059
8059
|
SelectProps: {
|
@@ -8066,11 +8066,11 @@ const Cc = ({ transaction: e }) => {
|
|
8066
8066
|
sx: { mx: 24 },
|
8067
8067
|
value: n,
|
8068
8068
|
variant: "outlined",
|
8069
|
-
children: d.map((u) => /* @__PURE__ */ t(
|
8069
|
+
children: d.map((u) => /* @__PURE__ */ t(ba, { value: u.id, children: u.label }, u.id))
|
8070
8070
|
}
|
8071
8071
|
),
|
8072
8072
|
/* @__PURE__ */ t(Nn, { dateAdapter: gn, children: /* @__PURE__ */ t(
|
8073
|
-
|
8073
|
+
fa,
|
8074
8074
|
{
|
8075
8075
|
disablePast: !0,
|
8076
8076
|
label: i ? c.income_date_label : c.expense_date_label,
|
@@ -8085,7 +8085,7 @@ const Cc = ({ transaction: e }) => {
|
|
8085
8085
|
label: n,
|
8086
8086
|
onAddActivity: i = () => null
|
8087
8087
|
}) => {
|
8088
|
-
const { recurring: a } = x(), { addCashflowEvent: o, addCashflowSequence: r, addScheduledPayment: s } =
|
8088
|
+
const { recurring: a } = x(), { addCashflowEvent: o, addCashflowSequence: r, addScheduledPayment: s } = nt(), { filter: c, setFilter: d, transactions: _ } = Te(), [u, h] = g.useState(!1), [m, C] = g.useState(""), [f, E] = g.useState(J.EveryMonth), [y, S] = g.useState(null), w = g.useMemo(
|
8089
8089
|
() => _.find((D) => D.guid === m),
|
8090
8090
|
[m]
|
8091
8091
|
), v = () => {
|
@@ -8179,7 +8179,7 @@ const Cc = ({ transaction: e }) => {
|
|
8179
8179
|
scheduledPaymentGuid: a.guid
|
8180
8180
|
};
|
8181
8181
|
}), pg = () => {
|
8182
|
-
const { recurring: e } = x(), { scheduledPayments: n } =
|
8182
|
+
const { recurring: e } = x(), { scheduledPayments: n } = nt(), { transactions: i } = Te(), { selectedAccounts: a } = _e(), { onEvent: o } = z(), r = mg(a, n, i), s = (d) => {
|
8183
8183
|
o(W.RECURRING_ACTIVITY_CLICK_EXPENSE, {
|
8184
8184
|
transaction_guid: d.transactionGuid
|
8185
8185
|
});
|
@@ -8188,7 +8188,7 @@ const Cc = ({ transaction: e }) => {
|
|
8188
8188
|
};
|
8189
8189
|
return /* @__PURE__ */ l(ne, { sx: { bgcolor: "background.paper" }, children: [
|
8190
8190
|
r.map((d, _) => /* @__PURE__ */ l(g.Fragment, { children: [
|
8191
|
-
/* @__PURE__ */ t(
|
8191
|
+
/* @__PURE__ */ t(da, { activity: d, onActivityClick: s, showOrdinal: !0 }),
|
8192
8192
|
/* @__PURE__ */ t(k, { variant: _ < r.length - 1 ? "inset" : "fullWidth" })
|
8193
8193
|
] }, d.scheduledPaymentGuid)),
|
8194
8194
|
/* @__PURE__ */ t(Nc, { label: e.add_expense, onAddActivity: c })
|
@@ -8307,10 +8307,10 @@ const Cc = ({ transaction: e }) => {
|
|
8307
8307
|
case J.EveryMonth:
|
8308
8308
|
a.push({
|
8309
8309
|
...c,
|
8310
|
-
expectedDate:
|
8310
|
+
expectedDate: ea(m, d)
|
8311
8311
|
}), a.push({
|
8312
8312
|
...c,
|
8313
|
-
expectedDate: mt(
|
8313
|
+
expectedDate: mt(ea(m, d), 1)
|
8314
8314
|
});
|
8315
8315
|
break;
|
8316
8316
|
case J.EveryOtherMonth:
|
@@ -8374,7 +8374,7 @@ const Cc = ({ transaction: e }) => {
|
|
8374
8374
|
sequenceGuid: r.guid
|
8375
8375
|
};
|
8376
8376
|
}), Eg = () => {
|
8377
|
-
const { recurring: e } = x(), { selectedAccounts: n } = _e(), { cashflowEvents: i, cashflowSequences: a, projectedEvents: o } =
|
8377
|
+
const { recurring: e } = x(), { selectedAccounts: n } = _e(), { cashflowEvents: i, cashflowSequences: a, projectedEvents: o } = nt(), { transactions: r } = Te(), { onEvent: s } = z(), c = yg(
|
8378
8378
|
n,
|
8379
8379
|
i,
|
8380
8380
|
o,
|
@@ -8389,7 +8389,7 @@ const Cc = ({ transaction: e }) => {
|
|
8389
8389
|
};
|
8390
8390
|
return /* @__PURE__ */ l(ne, { sx: { bgcolor: "background.paper" }, children: [
|
8391
8391
|
c.map((u, h) => /* @__PURE__ */ l(g.Fragment, { children: [
|
8392
|
-
/* @__PURE__ */ t(
|
8392
|
+
/* @__PURE__ */ t(da, { activity: u, onActivityClick: d, showOrdinal: !0 }),
|
8393
8393
|
/* @__PURE__ */ t(k, { variant: h < c.length - 1 ? "inset" : "fullWidth" })
|
8394
8394
|
] }, u.sequenceGuid)),
|
8395
8395
|
/* @__PURE__ */ t(Nc, { isIncome: !0, label: e.add_income, onAddActivity: _ })
|
@@ -8432,7 +8432,7 @@ const Cc = ({ transaction: e }) => {
|
|
8432
8432
|
}, Dc = A(Sg), mi = (e, n) => e + n.amount, Ka = (e) => e.activityType === Ze.Income && ai(e.expectedDate, {
|
8433
8433
|
start: We(de()),
|
8434
8434
|
end: je(de())
|
8435
|
-
}),
|
8435
|
+
}), Yi = (e) => e.activityType === Ze.Expense && ai(e.expectedDate, {
|
8436
8436
|
start: We(de()),
|
8437
8437
|
end: je(de())
|
8438
8438
|
}), za = (e) => e.occurredOnDate && ai(e.occurredOnDate, {
|
@@ -8442,7 +8442,7 @@ const Cc = ({ transaction: e }) => {
|
|
8442
8442
|
start: We(/* @__PURE__ */ new Date()),
|
8443
8443
|
end: Mt(de(), 30)
|
8444
8444
|
}), Tg = ({ day: e, outsideCurrentMonth: n, ...i }) => {
|
8445
|
-
const { recurring: a } = x(), { selectedAccountGuids: o } = _e(), { activities: r, setSelectedDay: s } =
|
8445
|
+
const { recurring: a } = x(), { selectedAccountGuids: o } = _e(), { activities: r, setSelectedDay: s } = nt(), d = g.useMemo(
|
8446
8446
|
() => r.filter((f) => o.includes(f.accountGuid || "")),
|
8447
8447
|
[o, r]
|
8448
8448
|
).filter(
|
@@ -8494,7 +8494,7 @@ const Cc = ({ transaction: e }) => {
|
|
8494
8494
|
)
|
8495
8495
|
}
|
8496
8496
|
);
|
8497
|
-
}, Ag = A(Tg),
|
8497
|
+
}, Ag = A(Tg), ji = ({ icon: e, label: n }) => /* @__PURE__ */ l(b, { alignItems: "center", flexDirection: "row", sx: { gap: 6 }, children: [
|
8498
8498
|
/* @__PURE__ */ t(e, {}),
|
8499
8499
|
/* @__PURE__ */ t(p, { variant: "XSmall", children: n })
|
8500
8500
|
] }), xg = () => {
|
@@ -8509,18 +8509,18 @@ const Cc = ({ transaction: e }) => {
|
|
8509
8509
|
justifyContent: "center",
|
8510
8510
|
mt: 12,
|
8511
8511
|
children: [
|
8512
|
-
/* @__PURE__ */ t(
|
8513
|
-
/* @__PURE__ */ t(
|
8514
|
-
/* @__PURE__ */ t(
|
8515
|
-
/* @__PURE__ */ t(
|
8512
|
+
/* @__PURE__ */ t(ji, { icon: Oo, label: e.expense }),
|
8513
|
+
/* @__PURE__ */ t(ji, { icon: Lo, label: e.income }),
|
8514
|
+
/* @__PURE__ */ t(ji, { icon: Mo, label: e.missed }),
|
8515
|
+
/* @__PURE__ */ t(ji, { icon: ko, label: e.paid })
|
8516
8516
|
]
|
8517
8517
|
}
|
8518
8518
|
);
|
8519
8519
|
}, Ig = A(xg), Pr = 58, vg = () => {
|
8520
|
-
const e =
|
8521
|
-
|
8520
|
+
const e = tt(), { onEvent: n } = z(), { selectedDay: i } = nt(), [a, o] = g.useState(
|
8521
|
+
aa(/* @__PURE__ */ new Date()) * _n + Pr
|
8522
8522
|
), r = (c) => {
|
8523
|
-
o(
|
8523
|
+
o(aa(c) * _n + Pr), n(W.RECURRING_ACTIVITY_CLICK_CALENDAR_RIGHT);
|
8524
8524
|
}, s = /* @__PURE__ */ t(
|
8525
8525
|
di,
|
8526
8526
|
{
|
@@ -8606,7 +8606,7 @@ const Cc = ({ transaction: e }) => {
|
|
8606
8606
|
] }),
|
8607
8607
|
e.length === 0 ? /* @__PURE__ */ t(p, { fontStyle: "italic", py: 24, sx: { textAlign: "center" }, children: s.no_activities }) : /* @__PURE__ */ t(ne, { children: n ? e.map((d, _) => /* @__PURE__ */ l(g.Fragment, { children: [
|
8608
8608
|
/* @__PURE__ */ t(
|
8609
|
-
|
8609
|
+
da,
|
8610
8610
|
{
|
8611
8611
|
activity: d,
|
8612
8612
|
isMini: n,
|
@@ -8626,7 +8626,7 @@ const Cc = ({ transaction: e }) => {
|
|
8626
8626
|
sx: { width: "100%" },
|
8627
8627
|
children: d.activities.map((u, h) => /* @__PURE__ */ l(g.Fragment, { children: [
|
8628
8628
|
/* @__PURE__ */ t(
|
8629
|
-
|
8629
|
+
da,
|
8630
8630
|
{
|
8631
8631
|
activity: u,
|
8632
8632
|
isMini: n,
|
@@ -8683,7 +8683,7 @@ const Cc = ({ transaction: e }) => {
|
|
8683
8683
|
selectedDayActivities: c,
|
8684
8684
|
setSelectedDay: d,
|
8685
8685
|
upcomingActivities: _
|
8686
|
-
} =
|
8686
|
+
} = nt(), [u, h] = g.useState(0), { onEvent: m } = z(), C = a.filter(za), f = r.filter(za), E = o.filter(za), y = C.filter(Yi).reduce(mi, 0), S = f.filter(Yi).reduce(mi, 0), w = E.filter(Yi).reduce(mi, 0), v = C.filter(Yi).length, I = C.filter(Ka).reduce(mi, 0), R = f.filter(Ka).reduce(mi, 0), D = C.filter(Ka).length, H = (Q, U) => {
|
8687
8687
|
h(U);
|
8688
8688
|
}, O = (Q) => {
|
8689
8689
|
m(W.RECURRING_ACTIVITY_CLICK_UPCOMING, {
|
@@ -8765,7 +8765,7 @@ const Cc = ({ transaction: e }) => {
|
|
8765
8765
|
] }) })
|
8766
8766
|
] });
|
8767
8767
|
}, Og = A(Rg), Lg = ({ onBackClick: e, sx: n = {} }) => {
|
8768
|
-
const { visibleAccounts: i } = ve(), { recurring: a } = x(), { isCopyLoaded: o, isInitialized: r, selectedAccountGuids: s, setSelectedAccounts: c } = _e(), { setFilter: d } = Te(), { isDataLoaded: _, loadActivity: u } =
|
8768
|
+
const { visibleAccounts: i } = ve(), { recurring: a } = x(), { isCopyLoaded: o, isInitialized: r, selectedAccountGuids: s, setSelectedAccounts: c } = _e(), { setFilter: d } = Te(), { isDataLoaded: _, loadActivity: u } = nt(), { onEvent: h } = z();
|
8769
8769
|
g.useEffect(() => {
|
8770
8770
|
u();
|
8771
8771
|
}, []), g.useEffect(() => {
|
@@ -8822,7 +8822,7 @@ const Cc = ({ transaction: e }) => {
|
|
8822
8822
|
selectedDayActivities: o,
|
8823
8823
|
setSelectedDay: r,
|
8824
8824
|
upcomingActivities: s
|
8825
|
-
} =
|
8825
|
+
} = nt();
|
8826
8826
|
g.useEffect(() => {
|
8827
8827
|
i();
|
8828
8828
|
}, []);
|
@@ -9068,7 +9068,7 @@ const Pg = {
|
|
9068
9068
|
gridRow: 1,
|
9069
9069
|
gridColumn: 1,
|
9070
9070
|
zIndex: 2
|
9071
|
-
}, Hg = ({ size: e = 20 }) => /* @__PURE__ */ t(Zt, { size: e, children: /* @__PURE__ */ t(
|
9071
|
+
}, Hg = ({ size: e = 20 }) => /* @__PURE__ */ t(Zt, { size: e, children: /* @__PURE__ */ t(Ea, { color: "error", sx: { fontSize: e, ...Pg } }) }), Po = (e) => e && (e.account_type === le.CREDIT_CARD || e.account_type === le.LOAN || e.account_type === le.MORTGAGE || e.account_type === le.LINE_OF_CREDIT || e.account_type === le.CHECKING_LINE_OF_CREDIT), $g = (e) => e.is_manual || !e.guid, Fg = (e) => e.account_type === le.LINE_OF_CREDIT || e.account_type === le.CREDIT_CARD || e.account_type === le.CHECKING_LINE_OF_CREDIT, Wg = (e) => e.account_type === le.SAVINGS || e.account_type === le.CHECKING || e.account_type === le.LINE_OF_CREDIT || e.account_type === le.CREDIT_CARD || e.account_type === le.LOAN || e.account_type === le.MORTGAGE, Ug = (e) => e.account_type === le.LOAN || e.account_type === le.MORTGAGE, Vg = (e, n) => {
|
9072
9072
|
const i = [
|
9073
9073
|
{
|
9074
9074
|
event: "account_details_click_account_name",
|
@@ -9317,7 +9317,7 @@ const Yg = ({ activity: e }) => /* @__PURE__ */ l(Z, { children: [
|
|
9317
9317
|
/* @__PURE__ */ t(k, {})
|
9318
9318
|
] });
|
9319
9319
|
}, Fr = A(jg), Wr = (e, n) => (i) => i.accountGuid === e.guid && (bo(i.expectedDate) || Jt(i.expectedDate, n.start)) && we(i.expectedDate, n.end), Xg = () => {
|
9320
|
-
const { availableWidth: e } = Un(), { cashflow: n } = x(), { upcomingExpenses: i, upcomingIncome: a } =
|
9320
|
+
const { availableWidth: e } = Un(), { cashflow: n } = x(), { upcomingExpenses: i, upcomingIncome: a } = nt(), { dateRange: o, selectedCashAccounts: r } = _i();
|
9321
9321
|
return /* @__PURE__ */ l(b, { children: [
|
9322
9322
|
/* @__PURE__ */ l(b, { direction: e < 400 ? "column" : "row", justifyContent: "space-between", children: [
|
9323
9323
|
/* @__PURE__ */ t(p, { bold: !0, sx: { fontSize: 15, mb: 12, whiteSpace: "normal" }, children: n.accounts_breakdown }),
|
@@ -9389,7 +9389,7 @@ const Yg = ({ activity: e }) => /* @__PURE__ */ l(Z, { children: [
|
|
9389
9389
|
}) })
|
9390
9390
|
] });
|
9391
9391
|
}, qg = A(Xg), Zg = () => {
|
9392
|
-
const { availableWidth: e } = Un(), n = ge(), { cashflow: i } = x(), { upcomingExpenses: a, upcomingIncome: o } =
|
9392
|
+
const { availableWidth: e } = Un(), n = ge(), { cashflow: i } = x(), { upcomingExpenses: a, upcomingIncome: o } = nt(), { dateRange: r, selectedCashAccounts: s } = _i(), c = [
|
9393
9393
|
{
|
9394
9394
|
field: "account",
|
9395
9395
|
flex: 1.5,
|
@@ -9485,7 +9485,7 @@ const Yg = ({ activity: e }) => /* @__PURE__ */ l(Z, { children: [
|
|
9485
9485
|
}
|
9486
9486
|
),
|
9487
9487
|
/* @__PURE__ */ t(
|
9488
|
-
|
9488
|
+
ca,
|
9489
9489
|
{
|
9490
9490
|
body: i.table_tooltip_body,
|
9491
9491
|
title: i.table_tooltip_title
|
@@ -9683,7 +9683,7 @@ const Yg = ({ activity: e }) => /* @__PURE__ */ l(Z, { children: [
|
|
9683
9683
|
]
|
9684
9684
|
}
|
9685
9685
|
), Ur = (e, n) => (i) => i.accountGuid && e.includes(i.accountGuid) && (bo(i.expectedDate) || Jt(i.expectedDate, n.start)) && we(i.expectedDate, n.end), tm = () => {
|
9686
|
-
const [e, n] = g.useState(!1), { availableWidth: i } = Un(), { cashflow: a } = x(), { upcomingExpenses: o, upcomingIncome: r } =
|
9686
|
+
const [e, n] = g.useState(!1), { availableWidth: i } = Un(), { cashflow: a } = x(), { upcomingExpenses: o, upcomingIncome: r } = nt(), { selectedAccountGuids: s } = _e(), { dateRange: c, selectedCashAccounts: d } = _i(), { userProfile: _ } = an(), u = g.useMemo(
|
9687
9687
|
() => o.filter(Ur(s, c)),
|
9688
9688
|
[c, s, o]
|
9689
9689
|
), h = g.useMemo(
|
@@ -9740,7 +9740,7 @@ const Yg = ({ activity: e }) => /* @__PURE__ */ l(Z, { children: [
|
|
9740
9740
|
isTotal: !0,
|
9741
9741
|
label: a.remaining_cash,
|
9742
9742
|
tooltip: /* @__PURE__ */ t(
|
9743
|
-
|
9743
|
+
ca,
|
9744
9744
|
{
|
9745
9745
|
body: a.remaining_income_tooltip_body,
|
9746
9746
|
title: a.remaining_income_tooltip_title
|
@@ -9777,7 +9777,7 @@ const Yg = ({ activity: e }) => /* @__PURE__ */ l(Z, { children: [
|
|
9777
9777
|
amount: E,
|
9778
9778
|
label: a.remaining_cash,
|
9779
9779
|
tooltip: /* @__PURE__ */ t(
|
9780
|
-
|
9780
|
+
ca,
|
9781
9781
|
{
|
9782
9782
|
body: a.remaining_income_tooltip_body,
|
9783
9783
|
title: a.remaining_income_tooltip_title
|
@@ -9886,7 +9886,7 @@ const Yg = ({ activity: e }) => /* @__PURE__ */ l(Z, { children: [
|
|
9886
9886
|
transform: rotate(360deg);
|
9887
9887
|
}
|
9888
9888
|
`, cm = () => {
|
9889
|
-
const { addCashflowEvent: e, addCashflowSequence: n, cashflowSequences: i } =
|
9889
|
+
const { addCashflowEvent: e, addCashflowSequence: n, cashflowSequences: i } = nt(), { cashflow: a, common: o } = x(), { completeOnboarding: r } = vo(), { isDirty: s } = _i(), { isMobile: c } = Ee(), { isCopyLoaded: d, setDisplayedDate: _ } = _e(), { filter: u, setFilter: h, transactions: m } = Te(), C = ge(), [f, E] = Et(!0), [y, S] = g.useState(J.EveryMonth), [w, v] = Et(!1), [I, R] = g.useState(null), [D, H] = Et(1), [O, M] = Et([]), [Q, U] = Et(""), X = g.useMemo(
|
9890
9890
|
() => m.find((oe) => oe.guid === Q),
|
9891
9891
|
[Q]
|
9892
9892
|
), fe = !!i.length, $ = async () => {
|
@@ -10059,7 +10059,7 @@ const Yg = ({ activity: e }) => /* @__PURE__ */ l(Z, { children: [
|
|
10059
10059
|
setSelectedAccounts: o,
|
10060
10060
|
shouldDisableNextDate: r,
|
10061
10061
|
shouldDisablePrevDate: s
|
10062
|
-
} = _e(), { onEvent: c } = z(), { visibleCashAccounts: d } = ve(), { setFilter: _ } = Te(), { userProfile: u } = an(), { dateRange: h, setSelectedCashAccounts: m } = _i(), { loadActivity: C } =
|
10062
|
+
} = _e(), { onEvent: c } = z(), { visibleCashAccounts: d } = ve(), { setFilter: _ } = Te(), { userProfile: u } = an(), { dateRange: h, setSelectedCashAccounts: m } = _i(), { loadActivity: C } = nt(), { cashflow: f } = x(), { isCopyLoaded: E, isInitialized: y } = _e(), [S, w] = g.useState(!1);
|
10063
10063
|
return g.useEffect(() => {
|
10064
10064
|
y && C();
|
10065
10065
|
}, [y]), g.useEffect(() => {
|
@@ -10237,14 +10237,14 @@ function hm(e, n, i = 0) {
|
|
10237
10237
|
const Cn = () => {
|
10238
10238
|
if (!g.useContext(Xn))
|
10239
10239
|
throw new Error("useCateUiStore() must be used within the GlobalDataContext");
|
10240
|
-
return
|
10240
|
+
return Aa().uiStore;
|
10241
10241
|
}, gm = ({ debts: e, onClickCta: n, sx: i }) => {
|
10242
10242
|
const a = vn(), { isMobile: o } = Ee(), { debts: r } = x(), { selectedDebtPriority: s } = Cn(), { monthlyCashFlowProfile: c } = rt(), { payoffDate: d, payoffSavings: _, payoffDuration: u } = g.useMemo(() => {
|
10243
10243
|
const h = c?.extra_payment ?? 0;
|
10244
10244
|
return hm(e, s, h);
|
10245
10245
|
}, [e, s, c]);
|
10246
10246
|
return /* @__PURE__ */ t(
|
10247
|
-
|
10247
|
+
ha,
|
10248
10248
|
{
|
10249
10249
|
sx: {
|
10250
10250
|
boxShadow: a.shadows[2],
|
@@ -10308,7 +10308,7 @@ const Cn = () => {
|
|
10308
10308
|
/* @__PURE__ */ t(p, { variant: "H1", children: o.snowball_drawer_savings }),
|
10309
10309
|
/* @__PURE__ */ t(p, { color: a.palette.secondary.main, variant: "Small", children: o.snowball_drawer_duration_description })
|
10310
10310
|
] }),
|
10311
|
-
/* @__PURE__ */ l(
|
10311
|
+
/* @__PURE__ */ l(ha, { sx: { display: "grid", py: 16, px: 24 }, children: [
|
10312
10312
|
/* @__PURE__ */ t(p, { mb: 4, variant: "H3", children: o.snowball_drawer_question }),
|
10313
10313
|
/* @__PURE__ */ t(
|
10314
10314
|
p,
|
@@ -10705,7 +10705,7 @@ const Cn = () => {
|
|
10705
10705
|
}
|
10706
10706
|
return c;
|
10707
10707
|
}, vm = () => {
|
10708
|
-
const e =
|
10708
|
+
const e = tt(), { selectedAccount: n } = $t(), { monthlyCategoryTotals: i } = Ke(), { trends: a } = x(), o = [e.palette.chart?.chart1, e.palette.chart?.chart2], r = xm(i, n.account_type), s = Im(r, n.account_type, a), c = [le.LOAN, le.MORTGAGE].includes(n.account_type);
|
10709
10709
|
return /* @__PURE__ */ t("div", { "data-testid": "TrendsChart", children: /* @__PURE__ */ t(
|
10710
10710
|
xo,
|
10711
10711
|
{
|
@@ -10718,7 +10718,7 @@ const Cn = () => {
|
|
10718
10718
|
}
|
10719
10719
|
) });
|
10720
10720
|
}, wm = A(vm), Nm = ({ sx: e }) => {
|
10721
|
-
const { loadMonthlyCategoryTotals: n } = Ke(), { isInitialized: i } =
|
10721
|
+
const { loadMonthlyCategoryTotals: n } = Ke(), { isInitialized: i } = xa(), { selectedAccount: a } = $t(), [o, r] = g.useState(!1);
|
10722
10722
|
return g.useEffect(() => {
|
10723
10723
|
i && n([a]).finally(() => {
|
10724
10724
|
r(!0);
|
@@ -10796,7 +10796,7 @@ const Bc = ({
|
|
10796
10796
|
onClickArea: r,
|
10797
10797
|
onHoverArea: s
|
10798
10798
|
}) => {
|
10799
|
-
const c =
|
10799
|
+
const c = tt(), { onEvent: d } = z(), _ = a.filter((I) => !I.is_impossible), u = [
|
10800
10800
|
...new Set(
|
10801
10801
|
_.flatMap((I) => I.dataset.map((R) => new Date(R.x).getTime()))
|
10802
10802
|
)
|
@@ -11022,7 +11022,7 @@ const Bc = ({
|
|
11022
11022
|
secondaryText: $i(Number(e.interest_rate) / 100),
|
11023
11023
|
zeroStateText: e.interest_rate ? void 0 : n.add_interest_rate,
|
11024
11024
|
children: /* @__PURE__ */ t(
|
11025
|
-
|
11025
|
+
it,
|
11026
11026
|
{
|
11027
11027
|
error: d,
|
11028
11028
|
fullWidth: !0,
|
@@ -11121,7 +11121,7 @@ const Bc = ({
|
|
11121
11121
|
secondaryText: $i(Number(e.interest_rate) / 100),
|
11122
11122
|
zeroStateText: e.interest_rate ? void 0 : n.add_interest_rate,
|
11123
11123
|
children: /* @__PURE__ */ t(
|
11124
|
-
|
11124
|
+
it,
|
11125
11125
|
{
|
11126
11126
|
error: s,
|
11127
11127
|
fullWidth: !0,
|
@@ -11224,7 +11224,7 @@ const Bc = ({
|
|
11224
11224
|
/* @__PURE__ */ t(Tt, { sx: { my: 16, mx: 24, ...n }, children: /* @__PURE__ */ l(
|
11225
11225
|
In,
|
11226
11226
|
{
|
11227
|
-
icon: a ? /* @__PURE__ */ t(
|
11227
|
+
icon: a ? /* @__PURE__ */ t(Ea, {}) : /* @__PURE__ */ t(ya, { color: "success" }),
|
11228
11228
|
severity: "error",
|
11229
11229
|
sx: {
|
11230
11230
|
alignItems: "start",
|
@@ -11349,7 +11349,7 @@ const Bc = ({
|
|
11349
11349
|
}
|
11350
11350
|
);
|
11351
11351
|
}), Xm = () => {
|
11352
|
-
const { debts: e } = x(), { totalMonthlyPayments: n } =
|
11352
|
+
const { debts: e } = x(), { totalMonthlyPayments: n } = Aa(), { monthlyCashFlowProfile: i } = rt(), a = n + Number(i?.extra_payment);
|
11353
11353
|
return /* @__PURE__ */ l(b, { sx: { backgroundColor: "background.default", height: "100%" }, children: [
|
11354
11354
|
/* @__PURE__ */ l(b, { p: 24, children: [
|
11355
11355
|
/* @__PURE__ */ l(b, { alignItems: "center", gap: 4, mb: 24, children: [
|
@@ -11665,7 +11665,7 @@ const Kt = (e) => /* @__PURE__ */ t(p, { fontWeight: 600, variant: "Small", chil
|
|
11665
11665
|
},
|
11666
11666
|
children: [
|
11667
11667
|
/* @__PURE__ */ t(p, { color: "inherit", variant: "Small", children: u }),
|
11668
|
-
o === _ && /* @__PURE__ */ t(
|
11668
|
+
o === _ && /* @__PURE__ */ t(ya, { color: "inherit", fontSize: "small" })
|
11669
11669
|
]
|
11670
11670
|
},
|
11671
11671
|
_
|
@@ -11724,7 +11724,7 @@ const Kt = (e) => /* @__PURE__ */ t(p, { fontWeight: 600, variant: "Small", chil
|
|
11724
11724
|
d.priority = !d.is_paid_off && !d.is_impossible ? c++ : void 0;
|
11725
11725
|
}), r;
|
11726
11726
|
}, cp = A(({ onClick: e }) => {
|
11727
|
-
const { debts: n } = x(), { isDesktop: i } = Ee(), { totalMonthlyPayments: a } =
|
11727
|
+
const { debts: n } = x(), { isDesktop: i } = Ee(), { totalMonthlyPayments: a } = Aa(), { monthlyCashFlowProfile: o } = rt(), r = a + Number(o?.extra_payment), s = i ? n.paydown_button_long : n.paydown_button_short;
|
11728
11728
|
return /* @__PURE__ */ t(
|
11729
11729
|
ee,
|
11730
11730
|
{
|
@@ -11738,7 +11738,7 @@ const Kt = (e) => /* @__PURE__ */ t(p, { fontWeight: 600, variant: "Small", chil
|
|
11738
11738
|
}
|
11739
11739
|
);
|
11740
11740
|
}), lp = ({ onBackClick: e, sx: n }) => {
|
11741
|
-
const [i, a] = g.useState(!1), [o, r] = g.useState(!1), [s, c] = g.useState(!1), [d, _] = g.useState(""), { isDesktop: u, isMobile: h } = Ee(), { debts: m } = x(), { onEvent: C } = z(), { isCopyLoaded: f, isInitialized: E, setSelectedAccounts: y } = _e(), { setSelectedAccount: S } = $t(), { selectedDebtPriority: w, setSelectedDebtChartData: v } = Cn(), { visibleDebtAccounts: I } = ve(), { goalsLoaded: R, loadGoals: D, monthlyCashFlowProfile: H } = rt(), { debts: O } =
|
11741
|
+
const [i, a] = g.useState(!1), [o, r] = g.useState(!1), [s, c] = g.useState(!1), [d, _] = g.useState(""), { isDesktop: u, isMobile: h } = Ee(), { debts: m } = x(), { onEvent: C } = z(), { isCopyLoaded: f, isInitialized: E, setSelectedAccounts: y } = _e(), { setSelectedAccount: S } = $t(), { selectedDebtPriority: w, setSelectedDebtChartData: v } = Cn(), { visibleDebtAccounts: I } = ve(), { goalsLoaded: R, loadGoals: D, monthlyCashFlowProfile: H } = rt(), { debts: O } = Aa(), M = g.useMemo(() => {
|
11742
11742
|
const ce = H?.extra_payment ?? 0;
|
11743
11743
|
return sp(O, w, ce);
|
11744
11744
|
}, [O, w, H]);
|
@@ -12192,7 +12192,7 @@ const pp = (e, n) => {
|
|
12192
12192
|
}, Ep = ({ goal: e }) => {
|
12193
12193
|
const { goals: n } = x();
|
12194
12194
|
return /* @__PURE__ */ t(j, { children: /* @__PURE__ */ l(ue, { children: [
|
12195
|
-
/* @__PURE__ */ t(Pe, { sx: { alignItems: "center", display: "flex", justifyContent: "center" }, children: /* @__PURE__ */ t(
|
12195
|
+
/* @__PURE__ */ t(Pe, { sx: { alignItems: "center", display: "flex", justifyContent: "center" }, children: /* @__PURE__ */ t(ga, { color: "success", filled: !0, size: 20 }) }),
|
12196
12196
|
/* @__PURE__ */ t(se, { primaryTypographyProps: { variant: "Body" }, children: /* @__PURE__ */ l(b, { alignItems: "center", direction: "row", justifyContent: "space-between", children: [
|
12197
12197
|
/* @__PURE__ */ l(b, { children: [
|
12198
12198
|
/* @__PURE__ */ t(p, { bold: !0, variant: "Body", children: e.name }),
|
@@ -12400,7 +12400,7 @@ const pp = (e, n) => {
|
|
12400
12400
|
secondary: B(u.balance || 0, "0,0.00")
|
12401
12401
|
}
|
12402
12402
|
),
|
12403
|
-
/* @__PURE__ */ t(
|
12403
|
+
/* @__PURE__ */ t(ta, { checked: c.some((m) => m.guid === u.guid) })
|
12404
12404
|
] }) }),
|
12405
12405
|
/* @__PURE__ */ t(k, { variant: h < e.length - 1 ? "inset" : "fullWidth" })
|
12406
12406
|
] }, u.guid))
|
@@ -12610,7 +12610,7 @@ const pp = (e, n) => {
|
|
12610
12610
|
primaryText: n.details_goal_name,
|
12611
12611
|
secondaryText: e.name,
|
12612
12612
|
children: /* @__PURE__ */ t(
|
12613
|
-
|
12613
|
+
it,
|
12614
12614
|
{
|
12615
12615
|
error: !r,
|
12616
12616
|
fullWidth: !0,
|
@@ -12644,7 +12644,7 @@ const pp = (e, n) => {
|
|
12644
12644
|
secondaryText: `${e.retirement_age}`,
|
12645
12645
|
zeroStateText: c && !e.retirement_age ? n.add_age : void 0,
|
12646
12646
|
children: /* @__PURE__ */ t(
|
12647
|
-
|
12647
|
+
it,
|
12648
12648
|
{
|
12649
12649
|
error: u,
|
12650
12650
|
fullWidth: !0,
|
@@ -12670,7 +12670,7 @@ const pp = (e, n) => {
|
|
12670
12670
|
secondaryText: `${re(Ge(i.birthday ?? 0), ie.MONTH_DAY_YEAR)}`,
|
12671
12671
|
zeroStateText: !e.guid && !i.birthday ? n.add_birthday : void 0,
|
12672
12672
|
children: /* @__PURE__ */ t(Nn, { dateAdapter: gn, children: /* @__PURE__ */ t(
|
12673
|
-
|
12673
|
+
fa,
|
12674
12674
|
{
|
12675
12675
|
label: n.details_birthday,
|
12676
12676
|
onChange: s,
|
@@ -13582,7 +13582,7 @@ const zp = /^[ a-zA-ZÀ-ÿ0-9]+$/, Yp = 50, es = 65, jp = ({
|
|
13582
13582
|
});
|
13583
13583
|
return g.useEffect(() => m.measure(), [a]), s ? /* @__PURE__ */ l(b, { className: "mx-mrt-lookup", children: [
|
13584
13584
|
/* @__PURE__ */ t(
|
13585
|
-
|
13585
|
+
Wi,
|
13586
13586
|
{
|
13587
13587
|
ariaLabel: r.search_aria,
|
13588
13588
|
cancelAriaLabel: r.cancel_search_aria,
|
@@ -13798,7 +13798,7 @@ const a1 = ({
|
|
13798
13798
|
onMouseLeave: o,
|
13799
13799
|
selectedData: r
|
13800
13800
|
}) => {
|
13801
|
-
const { isMobile: s } = Ee(), { availableWidth: c } = Un(), d =
|
13801
|
+
const { isMobile: s } = Ee(), { availableWidth: c } = Un(), d = tt(), _ = c - 320, u = e.map((f) => ({
|
13802
13802
|
x: wt(Ge(f.x), "MMM"),
|
13803
13803
|
y: f.y
|
13804
13804
|
})), h = r ? { index: e.findIndex((f) => f.x === r.x) } : void 0, m = n ? { index: e.findIndex((f) => f.x === n.x) } : void 0, C = (f) => ({
|
@@ -13877,7 +13877,7 @@ const a1 = ({
|
|
13877
13877
|
onMouseLeave: r,
|
13878
13878
|
selectedData: s
|
13879
13879
|
}) => {
|
13880
|
-
const { net_worth: c } = x(), d =
|
13880
|
+
const { net_worth: c } = x(), d = tt(), _ = (u) => {
|
13881
13881
|
const h = u.x === n?.x, m = u.x === s?.x, C = {
|
13882
13882
|
backgroundColor: "inherit",
|
13883
13883
|
borderBottom: "inherit",
|
@@ -13936,7 +13936,7 @@ const a1 = ({
|
|
13936
13936
|
/* @__PURE__ */ t(p, { variant: "Small", children: e })
|
13937
13937
|
] });
|
13938
13938
|
}, Vo = A(d1), u1 = ({ hoveredData: e, selectedData: n }) => {
|
13939
|
-
const { net_worth: i } = x(), a =
|
13939
|
+
const { net_worth: i } = x(), a = tt(), o = e || n, r = On(Ii(o.x), "MMMM");
|
13940
13940
|
return /* @__PURE__ */ l(b, { alignItems: "center", direction: "column", m: 24, children: [
|
13941
13941
|
/* @__PURE__ */ t(p, { color: a.palette.secondary.main, variant: "Small", children: `${r} ${i.net_worth}` }),
|
13942
13942
|
/* @__PURE__ */ t(ze, { amount: o.y, variant: "H2" }),
|
@@ -13948,8 +13948,8 @@ const a1 = ({
|
|
13948
13948
|
title: i
|
13949
13949
|
}) => {
|
13950
13950
|
let a;
|
13951
|
-
const { refreshAccounts: o } = ve(), { loadWidget: r } = rc(), { connect: s } = x(),
|
13952
|
-
return g.useEffect(() => (n ? (
|
13951
|
+
const { refreshAccounts: o } = ve(), { loadWidget: r } = rc(), { connect: s } = x(), c = tt(), [d, _] = g.useState(!1), [u, h] = g.useState(!1);
|
13952
|
+
return g.useEffect(() => (n ? (_(!0), r({ widget: "connections_widget", mode: c.palette.mode }).then((m) => {
|
13953
13953
|
a = new bd({
|
13954
13954
|
container: `#${Ar}`,
|
13955
13955
|
style: {
|
@@ -13957,15 +13957,15 @@ const a1 = ({
|
|
13957
13957
|
width: "100%",
|
13958
13958
|
position: "absolute"
|
13959
13959
|
},
|
13960
|
-
url:
|
13960
|
+
url: m.url,
|
13961
13961
|
onSsoUrlLoadError: () => {
|
13962
|
-
|
13962
|
+
_(!1), h(!0);
|
13963
13963
|
},
|
13964
13964
|
onLoad: () => {
|
13965
|
-
|
13965
|
+
_(!1), h(!1);
|
13966
13966
|
}
|
13967
13967
|
});
|
13968
|
-
})) : (
|
13968
|
+
})) : (_(!1), h(!1)), () => {
|
13969
13969
|
a?.unmount();
|
13970
13970
|
}), [n]), /* @__PURE__ */ t(
|
13971
13971
|
ae,
|
@@ -13977,8 +13977,8 @@ const a1 = ({
|
|
13977
13977
|
},
|
13978
13978
|
title: i,
|
13979
13979
|
children: /* @__PURE__ */ l("div", { id: Ar, children: [
|
13980
|
-
|
13981
|
-
|
13980
|
+
u && /* @__PURE__ */ t(sa, { status: Bn.Error }),
|
13981
|
+
d && /* @__PURE__ */ t(sa, { status: Bn.Loading })
|
13982
13982
|
] })
|
13983
13983
|
}
|
13984
13984
|
);
|
@@ -14382,7 +14382,7 @@ const E1 = (e, n) => {
|
|
14382
14382
|
width: 8
|
14383
14383
|
}
|
14384
14384
|
};
|
14385
|
-
return /* @__PURE__ */ l(
|
14385
|
+
return /* @__PURE__ */ l(ha, { onClick: () => {
|
14386
14386
|
n(e), i({ ...e, has_been_viewed: !0 }).finally();
|
14387
14387
|
}, sx: o.card, children: [
|
14388
14388
|
e.has_been_viewed ? null : /* @__PURE__ */ t("div", { "data-testid": "new-message-dot", style: o.dot }),
|
@@ -14501,14 +14501,14 @@ const rs = "PARENT-ENTITY", N1 = (e, n) => {
|
|
14501
14501
|
class R1 {
|
14502
14502
|
globalStore;
|
14503
14503
|
api = new os("/", "");
|
14504
|
-
transactionApi = new
|
14504
|
+
transactionApi = new la("/", "");
|
14505
14505
|
alert = { message: "", severity: void 0 };
|
14506
14506
|
devices = [];
|
14507
14507
|
notificationProfiles = [];
|
14508
14508
|
selectedRule = void 0;
|
14509
14509
|
transactionRules = [];
|
14510
14510
|
constructor(n) {
|
14511
|
-
this.globalStore = n, this.api = new os(n.endpoint, n.sessionToken), this.transactionApi = new
|
14511
|
+
this.globalStore = n, this.api = new os(n.endpoint, n.sessionToken), this.transactionApi = new la(n.endpoint, n.sessionToken), He(this);
|
14512
14512
|
}
|
14513
14513
|
get accountProfiles() {
|
14514
14514
|
return this.detailedNotificationProfiles.filter(
|
@@ -14743,7 +14743,7 @@ const M1 = ({
|
|
14743
14743
|
imageLargeBreakPoint: o = 12,
|
14744
14744
|
sx: r
|
14745
14745
|
}) => {
|
14746
|
-
const s =
|
14746
|
+
const s = tt();
|
14747
14747
|
return /* @__PURE__ */ l(g.Fragment, { children: [
|
14748
14748
|
/* @__PURE__ */ t(L, { sx: { pb: 48, ...r }, children: /* @__PURE__ */ l(Qe, { container: !0, rowSpacing: 24, children: [
|
14749
14749
|
/* @__PURE__ */ t(Qe, { item: !0, lg: 12, md: 12, sm: 12, xs: 12, children: n }),
|
@@ -14783,7 +14783,7 @@ const M1 = ({
|
|
14783
14783
|
imageLargeBreakPoint: o = 4,
|
14784
14784
|
sx: r
|
14785
14785
|
}) => {
|
14786
|
-
const s =
|
14786
|
+
const s = tt();
|
14787
14787
|
return /* @__PURE__ */ l(g.Fragment, { children: [
|
14788
14788
|
/* @__PURE__ */ t(L, { sx: { pb: 48, ...r }, children: /* @__PURE__ */ l(Qe, { container: !0, spacing: 24, sx: { alignItems: "flex-start" }, children: [
|
14789
14789
|
/* @__PURE__ */ t(
|
@@ -14830,7 +14830,7 @@ const M1 = ({
|
|
14830
14830
|
imageLargeBreakPoint: o = 4,
|
14831
14831
|
sx: r
|
14832
14832
|
}) => {
|
14833
|
-
const s =
|
14833
|
+
const s = tt();
|
14834
14834
|
return /* @__PURE__ */ l(g.Fragment, { children: [
|
14835
14835
|
/* @__PURE__ */ t(L, { sx: { pb: 48, ...r }, children: /* @__PURE__ */ l(Qe, { container: !0, spacing: 24, sx: { alignItems: "flex-start" }, children: [
|
14836
14836
|
/* @__PURE__ */ t(Qe, { item: !0, lg: 12 - o, md: 12, sm: 12, xs: 12, children: n }),
|
@@ -14868,7 +14868,7 @@ const M1 = ({
|
|
14868
14868
|
imageLargeBreakPoint: o = 12,
|
14869
14869
|
sx: r
|
14870
14870
|
}) => {
|
14871
|
-
const s =
|
14871
|
+
const s = tt();
|
14872
14872
|
return /* @__PURE__ */ l(g.Fragment, { children: [
|
14873
14873
|
/* @__PURE__ */ t(L, { sx: { pb: 48, ...r }, children: /* @__PURE__ */ l(Qe, { container: !0, rowSpacing: 24, children: [
|
14874
14874
|
/* @__PURE__ */ t(
|
@@ -17152,7 +17152,7 @@ const M1 = ({
|
|
17152
17152
|
/* @__PURE__ */ t(
|
17153
17153
|
Bi,
|
17154
17154
|
{
|
17155
|
-
expandIcon: /* @__PURE__ */ t(
|
17155
|
+
expandIcon: /* @__PURE__ */ t(Ca, { sx: { color: "text.primary" } }),
|
17156
17156
|
sx: { height: 64, p: "14px 24px" },
|
17157
17157
|
children: /* @__PURE__ */ l(b, { sx: { alignItems: "center", flexDirection: "row", gap: 12 }, children: [
|
17158
17158
|
/* @__PURE__ */ t(P, { name: E, size: 24 }),
|
@@ -17284,7 +17284,7 @@ const M1 = ({
|
|
17284
17284
|
{
|
17285
17285
|
type: "internal"
|
17286
17286
|
}
|
17287
|
-
],
|
17287
|
+
], Ui = ({
|
17288
17288
|
content: e,
|
17289
17289
|
hasIcon: n = !0,
|
17290
17290
|
institution: i = "",
|
@@ -17342,7 +17342,7 @@ const M1 = ({
|
|
17342
17342
|
children: [
|
17343
17343
|
o ? /* @__PURE__ */ t(he, {}) : /* @__PURE__ */ l(g.Fragment, { children: [
|
17344
17344
|
/* @__PURE__ */ t(
|
17345
|
-
|
17345
|
+
Ui,
|
17346
17346
|
{
|
17347
17347
|
hasIcon: !a,
|
17348
17348
|
institution: a,
|
@@ -17352,7 +17352,7 @@ const M1 = ({
|
|
17352
17352
|
}
|
17353
17353
|
),
|
17354
17354
|
/* @__PURE__ */ t(L, { sx: { px: 24 }, children: /* @__PURE__ */ t(
|
17355
|
-
|
17355
|
+
it,
|
17356
17356
|
{
|
17357
17357
|
InputLabelProps: { shrink: !0 },
|
17358
17358
|
error: !i,
|
@@ -17417,7 +17417,7 @@ const M1 = ({
|
|
17417
17417
|
/* @__PURE__ */ t(
|
17418
17418
|
Bi,
|
17419
17419
|
{
|
17420
|
-
expandIcon: /* @__PURE__ */ t(
|
17420
|
+
expandIcon: /* @__PURE__ */ t(Ca, { sx: { color: "text.primary" } }),
|
17421
17421
|
sx: { p: "14px 24px", height: 64 },
|
17422
17422
|
children: /* @__PURE__ */ l(b, { sx: { alignItems: "center", flexDirection: "row", gap: 12 }, children: [
|
17423
17423
|
/* @__PURE__ */ t(P, { name: o, size: 24 }),
|
@@ -17510,7 +17510,7 @@ const M1 = ({
|
|
17510
17510
|
title: e.request_support,
|
17511
17511
|
children: [
|
17512
17512
|
/* @__PURE__ */ t(
|
17513
|
-
|
17513
|
+
Ui,
|
17514
17514
|
{
|
17515
17515
|
content: e.popular_topics_missing_institution_content,
|
17516
17516
|
hasIcon: !1,
|
@@ -17520,7 +17520,7 @@ const M1 = ({
|
|
17520
17520
|
}
|
17521
17521
|
),
|
17522
17522
|
/* @__PURE__ */ t(b, { sx: { gap: 24, p: 24 }, children: h.map(({ label: E, name: y }) => /* @__PURE__ */ t(
|
17523
|
-
|
17523
|
+
it,
|
17524
17524
|
{
|
17525
17525
|
InputLabelProps: { shrink: !0 },
|
17526
17526
|
error: !!c[y],
|
@@ -17603,7 +17603,7 @@ const M1 = ({
|
|
17603
17603
|
);
|
17604
17604
|
return /* @__PURE__ */ t(ae, { isOpen: n, onClose: a, title: e.request_support, children: /* @__PURE__ */ l(b, { children: [
|
17605
17605
|
/* @__PURE__ */ t(
|
17606
|
-
|
17606
|
+
Ui,
|
17607
17607
|
{
|
17608
17608
|
hasIcon: !1,
|
17609
17609
|
reverse: !0,
|
@@ -17653,7 +17653,7 @@ const M1 = ({
|
|
17653
17653
|
const { common: s } = x();
|
17654
17654
|
return /* @__PURE__ */ l(ae, { isOpen: i, onClose: a, title: e.request_support, children: [
|
17655
17655
|
/* @__PURE__ */ t(
|
17656
|
-
|
17656
|
+
Ui,
|
17657
17657
|
{
|
17658
17658
|
hasIcon: !1,
|
17659
17659
|
institution: n,
|
@@ -17764,7 +17764,7 @@ const M1 = ({
|
|
17764
17764
|
return /* @__PURE__ */ t(ae, { isOpen: n, onClose: i, title: e.request_support, children: !d || r ? /* @__PURE__ */ t(he, {}) : /* @__PURE__ */ l(g.Fragment, { children: [
|
17765
17765
|
/* @__PURE__ */ l(b, { children: [
|
17766
17766
|
/* @__PURE__ */ t(
|
17767
|
-
|
17767
|
+
Ui,
|
17768
17768
|
{
|
17769
17769
|
subtitle: e.request_support_short_content,
|
17770
17770
|
title: e.request_support_title
|
@@ -17981,7 +17981,7 @@ const M1 = ({
|
|
17981
17981
|
justifyContent: "flex-end"
|
17982
17982
|
}
|
17983
17983
|
},
|
17984
|
-
children: /* @__PURE__ */ t(b, { children: /* @__PURE__ */ t(
|
17984
|
+
children: /* @__PURE__ */ t(b, { children: /* @__PURE__ */ t(it, { onChange: (c) => s(c.target.value), sx: { width: 352 }, value: r }) })
|
17985
17985
|
}
|
17986
17986
|
);
|
17987
17987
|
}
|
@@ -18051,7 +18051,7 @@ const M1 = ({
|
|
18051
18051
|
)
|
18052
18052
|
] });
|
18053
18053
|
}), fC = () => {
|
18054
|
-
const e =
|
18054
|
+
const e = tt(), { common: n, settings: i } = x(), { isDesktop: a, isMobile: o, isSmallMobile: r, isTablet: s } = Ee(), { config: c } = Fi(), { updateUser: d } = Ht(), { user: _ } = an(), [u, h] = g.useState(_.first_name), [m, C] = g.useState(_.last_name), [f, E] = g.useState(_.email), [y, S] = g.useState(_.phone), [w, v] = g.useState(_.postal_code), [I, R] = g.useState(_.credit_score), [D, H] = g.useState(null), O = f && !_.email_is_verified, M = y && !_.phone_is_verified;
|
18055
18055
|
g.useEffect(() => {
|
18056
18056
|
if (_.birthday) {
|
18057
18057
|
const U = new Date(_.birthday * 1e3), X = U.getUTCFullYear(), fe = U.getUTCMonth(), $ = U.getUTCDate();
|
@@ -18094,7 +18094,7 @@ const M1 = ({
|
|
18094
18094
|
sx: { mb: 44, pt: 32 },
|
18095
18095
|
children: [
|
18096
18096
|
/* @__PURE__ */ t(
|
18097
|
-
|
18097
|
+
it,
|
18098
18098
|
{
|
18099
18099
|
defaultValue: u,
|
18100
18100
|
label: i.first_name,
|
@@ -18102,7 +18102,7 @@ const M1 = ({
|
|
18102
18102
|
}
|
18103
18103
|
),
|
18104
18104
|
/* @__PURE__ */ t(
|
18105
|
-
|
18105
|
+
it,
|
18106
18106
|
{
|
18107
18107
|
defaultValue: m,
|
18108
18108
|
label: i.last_name,
|
@@ -18115,7 +18115,7 @@ const M1 = ({
|
|
18115
18115
|
/* @__PURE__ */ l(b, { direction: o ? "column" : "row", children: [
|
18116
18116
|
c.display_email_edit_field_in_settings && /* @__PURE__ */ l(b, { sx: { mb: O ? 20 : 44, mr: o ? 0 : 24 }, children: [
|
18117
18117
|
/* @__PURE__ */ t(
|
18118
|
-
|
18118
|
+
it,
|
18119
18119
|
{
|
18120
18120
|
defaultValue: f,
|
18121
18121
|
label: i.email_address,
|
@@ -18126,7 +18126,7 @@ const M1 = ({
|
|
18126
18126
|
] }),
|
18127
18127
|
c.display_sms_edit_field_in_settings && /* @__PURE__ */ l(b, { sx: { mb: M ? 20 : 44 }, children: [
|
18128
18128
|
/* @__PURE__ */ t(
|
18129
|
-
|
18129
|
+
it,
|
18130
18130
|
{
|
18131
18131
|
defaultValue: y,
|
18132
18132
|
label: i.mobile_number,
|
@@ -18139,7 +18139,7 @@ const M1 = ({
|
|
18139
18139
|
] }),
|
18140
18140
|
/* @__PURE__ */ l(b, { direction: o ? "column" : "row", spacing: o ? 44 : 24, sx: { mb: 44 }, children: [
|
18141
18141
|
/* @__PURE__ */ t(Nn, { dateAdapter: gn, children: /* @__PURE__ */ t(
|
18142
|
-
|
18142
|
+
fa,
|
18143
18143
|
{
|
18144
18144
|
label: i.birthdate,
|
18145
18145
|
onChange: H,
|
@@ -18168,7 +18168,7 @@ const M1 = ({
|
|
18168
18168
|
}
|
18169
18169
|
) }),
|
18170
18170
|
/* @__PURE__ */ t(
|
18171
|
-
|
18171
|
+
it,
|
18172
18172
|
{
|
18173
18173
|
defaultValue: w,
|
18174
18174
|
label: i.zip_code,
|
@@ -18178,7 +18178,7 @@ const M1 = ({
|
|
18178
18178
|
] }),
|
18179
18179
|
/* @__PURE__ */ l(b, { children: [
|
18180
18180
|
/* @__PURE__ */ t(
|
18181
|
-
|
18181
|
+
it,
|
18182
18182
|
{
|
18183
18183
|
defaultValue: I,
|
18184
18184
|
label: i.credit_score,
|
@@ -18516,7 +18516,7 @@ const yC = ({
|
|
18516
18516
|
),
|
18517
18517
|
/* @__PURE__ */ t(p, { truncate: !1, variant: "Small", children: c.mobile_devices_access_info_2 })
|
18518
18518
|
] }),
|
18519
|
-
e === lt.Edit && /* @__PURE__ */ t(b, { children: /* @__PURE__ */ t(
|
18519
|
+
e === lt.Edit && /* @__PURE__ */ t(b, { children: /* @__PURE__ */ t(it, { onChange: (w) => C(w.target.value), value: m }) }),
|
18520
18520
|
e === lt.Delete && /* @__PURE__ */ t(Oe, { children: c.mobile_devices_delete_info })
|
18521
18521
|
]
|
18522
18522
|
}
|
@@ -18648,7 +18648,7 @@ const yC = ({
|
|
18648
18648
|
path: { fill: o.palette.secondary.darker }
|
18649
18649
|
},
|
18650
18650
|
children: /* @__PURE__ */ t(
|
18651
|
-
|
18651
|
+
it,
|
18652
18652
|
{
|
18653
18653
|
onChange: (m) => _(m.target.value),
|
18654
18654
|
sx: { width: 352 },
|
@@ -19169,7 +19169,6 @@ const el = A(
|
|
19169
19169
|
enable_mark_account_duplicate_for_held_accounts: !0,
|
19170
19170
|
enable_renaming_home_accounts: !0,
|
19171
19171
|
enable_support_requests: !0,
|
19172
|
-
is_mobile_webview: !1,
|
19173
19172
|
language: "en-US",
|
19174
19173
|
product_name: "Money Dashboard",
|
19175
19174
|
session_token: "",
|
@@ -19219,7 +19218,6 @@ const el = A(
|
|
19219
19218
|
brokaw_websocket_url: "",
|
19220
19219
|
bundle: "widgetLoader",
|
19221
19220
|
custom_copy_namespace: "",
|
19222
|
-
is_mobile_webview: !1,
|
19223
19221
|
language: "en-US",
|
19224
19222
|
product_name: "Master Widget",
|
19225
19223
|
session_token: "",
|
@@ -19263,7 +19261,7 @@ const MC = (e) => {
|
|
19263
19261
|
name: e.description,
|
19264
19262
|
recurrenceDay: e.recurrence_day,
|
19265
19263
|
repeatingTransactionGuid: e.guid,
|
19266
|
-
status:
|
19264
|
+
status: at.Upcoming,
|
19267
19265
|
type: e.repeating_transaction_type === ln.Income ? Xt.Income : Xt.Expense,
|
19268
19266
|
transaction: void 0
|
19269
19267
|
}, r = We(de()), s = Mt(de(), 30);
|
@@ -19294,7 +19292,7 @@ const MC = (e) => {
|
|
19294
19292
|
const d = e.transactions.find(
|
19295
19293
|
(_) => _.repeating_transaction_guid === e.guid && _.date > ke(dt(c.expectedDate, 5)) && _.date < ke(Mt(c.expectedDate, 5))
|
19296
19294
|
);
|
19297
|
-
d ? (c.transaction = d, c.status =
|
19295
|
+
d ? (c.transaction = d, c.status = at.Paid, c.occurredOnDate = Ge(d.date)) : we(c.expectedDate, dt(de(), 3)) && (c.status = at.Missed);
|
19298
19296
|
}
|
19299
19297
|
return n;
|
19300
19298
|
}, GC = (e, n, i) => {
|
@@ -19314,7 +19312,7 @@ const MC = (e) => {
|
|
19314
19312
|
}
|
19315
19313
|
return a;
|
19316
19314
|
}, PC = (e) => {
|
19317
|
-
const n = [], i =
|
19315
|
+
const n = [], i = ea(de(), e.recurrenceDay);
|
19318
19316
|
return n.push({ ...e, expectedDate: i }), n.push({ ...e, expectedDate: mt(i, 1) }), n;
|
19319
19317
|
}, HC = (e, n, i) => {
|
19320
19318
|
const a = [], o = e.expectedDate;
|
@@ -19410,12 +19408,12 @@ class KC {
|
|
19410
19408
|
}
|
19411
19409
|
get paidRecurrences() {
|
19412
19410
|
return this.recurrences.filter(
|
19413
|
-
(n) => n.status ===
|
19411
|
+
(n) => n.status === at.Paid
|
19414
19412
|
);
|
19415
19413
|
}
|
19416
19414
|
get upcomingRecurrences() {
|
19417
19415
|
return this.recurrences.filter(
|
19418
|
-
(n) => n.status ===
|
19416
|
+
(n) => n.status === at.Upcoming
|
19419
19417
|
);
|
19420
19418
|
}
|
19421
19419
|
get expenses() {
|
@@ -19425,12 +19423,12 @@ class KC {
|
|
19425
19423
|
}
|
19426
19424
|
get paidExpenses() {
|
19427
19425
|
return this.expenses.filter(
|
19428
|
-
(n) => n.status ===
|
19426
|
+
(n) => n.status === at.Paid
|
19429
19427
|
);
|
19430
19428
|
}
|
19431
19429
|
get missedExpenses() {
|
19432
19430
|
return this.expenses.filter(
|
19433
|
-
(n) => n.status ===
|
19431
|
+
(n) => n.status === at.Missed
|
19434
19432
|
);
|
19435
19433
|
}
|
19436
19434
|
get income() {
|
@@ -19440,12 +19438,12 @@ class KC {
|
|
19440
19438
|
}
|
19441
19439
|
get paidIncome() {
|
19442
19440
|
return this.income.filter(
|
19443
|
-
(n) => n.status ===
|
19441
|
+
(n) => n.status === at.Paid
|
19444
19442
|
);
|
19445
19443
|
}
|
19446
19444
|
get upcomingIncome() {
|
19447
19445
|
return this.income.filter(
|
19448
|
-
(n) => n.status ===
|
19446
|
+
(n) => n.status === at.Upcoming
|
19449
19447
|
);
|
19450
19448
|
}
|
19451
19449
|
get expenseTotal() {
|
@@ -19602,7 +19600,7 @@ class YC {
|
|
19602
19600
|
constructor(n) {
|
19603
19601
|
this.globalStore = n, this.widgetApi = new fr(n.endpoint, n.sessionToken), He(this);
|
19604
19602
|
}
|
19605
|
-
loadWidget = async ({ widget: n = "connect_widget", mode: i = "
|
19603
|
+
loadWidget = async ({ widget: n = "connect_widget", mode: i = "light", ...a }) => await this.widgetApi.requestWidgetUrl({
|
19606
19604
|
widget_url: { widget_type: n, color_scheme: i, ...a }
|
19607
19605
|
});
|
19608
19606
|
}
|
@@ -19783,7 +19781,7 @@ const Za = ({
|
|
19783
19781
|
},
|
19784
19782
|
primaryText: d.is_hidden ? h.unhide_account : h.hide_Account,
|
19785
19783
|
secondaryText: d.is_hidden ? h.include_this_account : h.exclude_this_account,
|
19786
|
-
children: /* @__PURE__ */ t(
|
19784
|
+
children: /* @__PURE__ */ t(ma, { checked: d.is_hidden })
|
19787
19785
|
}
|
19788
19786
|
),
|
19789
19787
|
/* @__PURE__ */ t(
|
@@ -20040,7 +20038,7 @@ const Za = ({
|
|
20040
20038
|
} = ge(), { selectedMember: a } = $t(), { accounts: o, connect: r } = x(), s = tl(a, r), c = Vs.includes(a.connection_status) ? {
|
20041
20039
|
color: "error.main",
|
20042
20040
|
ctaCopy: s.cta ?? "",
|
20043
|
-
icon: /* @__PURE__ */ t(
|
20041
|
+
icon: /* @__PURE__ */ t(Ea, { sx: { ...Qa } }),
|
20044
20042
|
mainMessage: s.statusName,
|
20045
20043
|
secondaryMessage: `${s.title}.`
|
20046
20044
|
} : {
|
@@ -20128,7 +20126,7 @@ const Za = ({
|
|
20128
20126
|
onChange: (y) => c(y.target.value),
|
20129
20127
|
placeholder: e.placeholder,
|
20130
20128
|
value: s,
|
20131
|
-
children: e.options?.map((y) => /* @__PURE__ */ t(
|
20129
|
+
children: e.options?.map((y) => /* @__PURE__ */ t(ba, { value: y.value, children: y.label }, y.value))
|
20132
20130
|
}
|
20133
20131
|
)
|
20134
20132
|
] });
|
@@ -20169,7 +20167,7 @@ const Za = ({
|
|
20169
20167
|
) });
|
20170
20168
|
default:
|
20171
20169
|
return /* @__PURE__ */ t(
|
20172
|
-
|
20170
|
+
it,
|
20173
20171
|
{
|
20174
20172
|
defaultValue: o[e.name],
|
20175
20173
|
error: !!d,
|
@@ -20270,7 +20268,7 @@ const Za = ({
|
|
20270
20268
|
children: /* @__PURE__ */ l(
|
20271
20269
|
In,
|
20272
20270
|
{
|
20273
|
-
icon: /* @__PURE__ */ t(
|
20271
|
+
icon: /* @__PURE__ */ t(Ea, {}),
|
20274
20272
|
severity: "error",
|
20275
20273
|
sx: {
|
20276
20274
|
borderLeft: 5,
|
@@ -20557,12 +20555,10 @@ const Za = ({
|
|
20557
20555
|
}
|
20558
20556
|
) : /* @__PURE__ */ t(he, {});
|
20559
20557
|
}, g4 = A(mf), pf = ({ onPrimaryCtaClick: e, sx: n }) => {
|
20560
|
-
const { visibleAccounts: i } = ve(), { accounts: a } = x(), { isCopyLoaded: o, isInitialized: r, selectedAccounts: s, setSelectedAccounts: c } = _e()
|
20558
|
+
const { visibleAccounts: i } = ve(), { accounts: a } = x(), { isCopyLoaded: o, isInitialized: r, selectedAccounts: s, setSelectedAccounts: c } = _e();
|
20561
20559
|
return g.useEffect(() => {
|
20562
20560
|
c(i);
|
20563
|
-
}, [i]),
|
20564
|
-
d && console.log("appconfig: ", d);
|
20565
|
-
}, [d]), o ? /* @__PURE__ */ t(
|
20561
|
+
}, [i]), o ? /* @__PURE__ */ t(
|
20566
20562
|
Dn,
|
20567
20563
|
{
|
20568
20564
|
className: "mx-exp-accounts-miniwidget",
|
@@ -20572,19 +20568,19 @@ const Za = ({
|
|
20572
20568
|
title: a.mini_title,
|
20573
20569
|
children: r ? /* @__PURE__ */ l(ne, { children: [
|
20574
20570
|
s.length === 0 && /* @__PURE__ */ t(j, { sx: { justifyContent: "center" }, children: a.no_accounts }),
|
20575
|
-
s.map((
|
20576
|
-
const
|
20571
|
+
s.map((d, _) => {
|
20572
|
+
const u = s.indexOf(d) === s.length - 1;
|
20577
20573
|
return /* @__PURE__ */ l(g.Fragment, { children: [
|
20578
20574
|
/* @__PURE__ */ t(
|
20579
20575
|
Di,
|
20580
20576
|
{
|
20581
|
-
account:
|
20577
|
+
account: d,
|
20582
20578
|
listItemProps: { sx: { px: 24 } },
|
20583
20579
|
shouldShowConnectionStatus: !0
|
20584
20580
|
}
|
20585
20581
|
),
|
20586
|
-
!
|
20587
|
-
] }, `account-item${
|
20582
|
+
!u && /* @__PURE__ */ t(k, { "aria-hidden": "true", variant: "inset" })
|
20583
|
+
] }, `account-item${_}`);
|
20588
20584
|
})
|
20589
20585
|
] }) : /* @__PURE__ */ t(he, {})
|
20590
20586
|
}
|
@@ -21763,7 +21759,7 @@ const Hf = ({
|
|
21763
21759
|
}
|
21764
21760
|
) : /* @__PURE__ */ t(he, {});
|
21765
21761
|
}, f4 = A(Wf), Uf = A(() => {
|
21766
|
-
const { budgets: e } = x(), { totalBudgeted: n } = ut(), { projectedIncome: i } =
|
21762
|
+
const { budgets: e } = x(), { totalBudgeted: n } = ut(), { projectedIncome: i } = nt(), a = i - n;
|
21767
21763
|
return /* @__PURE__ */ l(b, { direction: "row", justifyContent: "center", my: 16, spacing: 20, children: [
|
21768
21764
|
/* @__PURE__ */ l(b, { alignItems: "center", children: [
|
21769
21765
|
/* @__PURE__ */ t(p, { bold: !0, variant: "Body", children: B(i, "0,0") }),
|
@@ -21824,7 +21820,7 @@ const Hf = ({
|
|
21824
21820
|
categoryName: n,
|
21825
21821
|
onAmountChanged: i
|
21826
21822
|
}) => {
|
21827
|
-
const { budgets: a } = x(), { totalBudgeted: o } = ut(), { projectedIncome: r } =
|
21823
|
+
const { budgets: a } = x(), { totalBudgeted: o } = ut(), { projectedIncome: r } = nt(), s = r - o;
|
21828
21824
|
return /* @__PURE__ */ l(b, { gap: 16, children: [
|
21829
21825
|
/* @__PURE__ */ l(b, { children: [
|
21830
21826
|
/* @__PURE__ */ t(p, { children: T(
|
@@ -22257,7 +22253,7 @@ const Hf = ({
|
|
22257
22253
|
] }, r.guid)) }) })
|
22258
22254
|
] });
|
22259
22255
|
}), n0 = A(() => {
|
22260
|
-
const e = ge(), { onEvent: n } = z(), { visibleAccounts: i } = ve(), { budgets: a, common: o, recurring: r } = x(), { incomeCategories: s, spendCategories: c } = Ke(), { detailedBudgets: d, totalBudgeted: _ } = ut(), { projectedIncome: u } =
|
22256
|
+
const e = ge(), { onEvent: n } = z(), { visibleAccounts: i } = ve(), { budgets: a, common: o, recurring: r } = x(), { incomeCategories: s, spendCategories: c } = Ke(), { detailedBudgets: d, totalBudgeted: _ } = ut(), { projectedIncome: u } = nt(), { setFilter: h } = Te(), [m, C] = g.useState(!1), [f, E] = g.useMemo(() => {
|
22261
22257
|
const v = c.reduce((H, O) => H + O.totalAmount, 0);
|
22262
22258
|
let I = v / _;
|
22263
22259
|
I > 1 && (I = 1);
|
@@ -22349,7 +22345,7 @@ const Hf = ({
|
|
22349
22345
|
setAlert: S,
|
22350
22346
|
setTheme: w,
|
22351
22347
|
budgets: v
|
22352
|
-
} = ut(), { loadActivity: I } =
|
22348
|
+
} = ut(), { loadActivity: I } = nt(), { isDesktop: R, isTablet: D } = Ee(), { reloadCategoryTotals: H } = Ke(), [O, M] = g.useState(!1);
|
22353
22349
|
g.useEffect(() => {
|
22354
22350
|
w(i), h(o), u(C.start, C.end), a(W.BUDGETS_VIEW);
|
22355
22351
|
}, []), g.useEffect(() => {
|
@@ -22457,7 +22453,7 @@ const Hf = ({
|
|
22457
22453
|
}), i0 = A(() => {
|
22458
22454
|
const e = ge(), {
|
22459
22455
|
appDataStore: { banner: n, loadBanner: i, user: a }
|
22460
|
-
} =
|
22456
|
+
} = xa();
|
22461
22457
|
return g.useEffect(() => {
|
22462
22458
|
i().finally();
|
22463
22459
|
}, [a]), n?.image_url ? /* @__PURE__ */ t(
|
@@ -22519,7 +22515,6 @@ const Hf = ({
|
|
22519
22515
|
startIcon: /* @__PURE__ */ t(P, { name: "add", size: 24 }),
|
22520
22516
|
sx: {
|
22521
22517
|
p: 12,
|
22522
|
-
pr: 0,
|
22523
22518
|
whiteSpace: "nowrap",
|
22524
22519
|
minWidth: "max-content"
|
22525
22520
|
},
|
@@ -22581,20 +22576,20 @@ const Hf = ({
|
|
22581
22576
|
] })
|
22582
22577
|
] }) });
|
22583
22578
|
}, s0 = A(r0);
|
22584
|
-
var
|
22579
|
+
var Qi = /* @__PURE__ */ ((e) => (e[e.Main = 0] = "Main", e[e.RightSide = 1] = "RightSide", e[e.Disabled = 2] = "Disabled", e))(Qi || {});
|
22585
22580
|
const c0 = ({ widgets: e, isLoading: n }) => {
|
22586
|
-
const { isDesktop: i, isMobile: a } = Ee(), { copyStore: o } =
|
22581
|
+
const { isDesktop: i, isMobile: a } = Ee(), { copyStore: o } = xa(), { setSelectedAccounts: r } = _e(), { visibleAccounts: s } = ve();
|
22587
22582
|
g.useEffect(() => {
|
22588
22583
|
r(s);
|
22589
22584
|
}, [s]);
|
22590
22585
|
const c = g.useMemo(
|
22591
|
-
() => e.filter((u) => u.location !==
|
22586
|
+
() => e.filter((u) => u.location !== Qi.Disabled).sort((u, h) => u.index - h.index),
|
22592
22587
|
[e]
|
22593
22588
|
), d = g.useMemo(
|
22594
|
-
() => c.filter((u) => u.location ===
|
22589
|
+
() => c.filter((u) => u.location === Qi.Main),
|
22595
22590
|
[c]
|
22596
22591
|
), _ = g.useMemo(
|
22597
|
-
() => c.filter((u) => u.location ===
|
22592
|
+
() => c.filter((u) => u.location === Qi.RightSide),
|
22598
22593
|
[c]
|
22599
22594
|
);
|
22600
22595
|
return /* @__PURE__ */ l(jt, { container: !0, spacing: a ? 0 : 24, sx: { overflow: "scroll" }, children: [
|
@@ -22663,7 +22658,7 @@ const c0 = ({ widgets: e, isLoading: n }) => {
|
|
22663
22658
|
return a.map((s) => {
|
22664
22659
|
const c = e.reduce((d, _) => {
|
22665
22660
|
const u = _.name;
|
22666
|
-
return u.toLowerCase() === s ? (o = u,
|
22661
|
+
return u.toLowerCase() === s ? (o = u, Ji(_) * _[n] / 100 + d) : d;
|
22667
22662
|
}, 0);
|
22668
22663
|
return {
|
22669
22664
|
displayName: o,
|
@@ -22672,13 +22667,13 @@ const c0 = ({ widgets: e, isLoading: n }) => {
|
|
22672
22667
|
percentage: c / i
|
22673
22668
|
};
|
22674
22669
|
});
|
22675
|
-
},
|
22670
|
+
}, Ji = (e) => e.calculated_market_value ? e.calculated_market_value : e.market_value, h0 = (e, n, i) => {
|
22676
22671
|
const a = Object.values(n.allocations_list), o = [];
|
22677
22672
|
let r = 0;
|
22678
22673
|
const s = e.map(({ guid: f }) => f), c = i.filter(({ account_guid: f }) => s.includes(f)).map((f) => ({
|
22679
22674
|
...f,
|
22680
22675
|
name: f.symbol || f.description,
|
22681
|
-
gainLoss: f.cost_basis || f.cost_basis === 0 ?
|
22676
|
+
gainLoss: f.cost_basis || f.cost_basis === 0 ? Ji(f) - f.cost_basis : 0
|
22682
22677
|
})), { cashBalance: d, totalAccountBalance: _ } = e.reduce(
|
22683
22678
|
(f, E) => ({
|
22684
22679
|
cashBalance: f.cashBalance + (E.cash_balance || 0),
|
@@ -22687,7 +22682,7 @@ const c0 = ({ widgets: e, isLoading: n }) => {
|
|
22687
22682
|
{ cashBalance: 0, totalAccountBalance: 0 }
|
22688
22683
|
), { marketValue: u, totalGainLoss: h } = c.reduce(
|
22689
22684
|
(f, E) => ({
|
22690
|
-
marketValue: f.marketValue +
|
22685
|
+
marketValue: f.marketValue + Ji(E),
|
22691
22686
|
totalGainLoss: f.totalGainLoss + E.gainLoss
|
22692
22687
|
}),
|
22693
22688
|
{ marketValue: 0, totalGainLoss: 0 }
|
@@ -22697,7 +22692,7 @@ const c0 = ({ widgets: e, isLoading: n }) => {
|
|
22697
22692
|
(v) => !!v[f.name]
|
22698
22693
|
);
|
22699
22694
|
let S = y.reduce(
|
22700
|
-
(v, I) => v +
|
22695
|
+
(v, I) => v + Ji(I) * I[f.name] / 100,
|
22701
22696
|
0
|
22702
22697
|
);
|
22703
22698
|
const w = _0(
|
@@ -23055,7 +23050,7 @@ const c0 = ({ widgets: e, isLoading: n }) => {
|
|
23055
23050
|
), E0 = () => {
|
23056
23051
|
const {
|
23057
23052
|
investments: { analysis: e }
|
23058
|
-
} = x(), { analysisChartData: n, analysisDetails: i, analysisType: a, setAnalysisType: o } = wi(), r = bn("(min-width:320px) and (max-width:375px)"), { isMobile: s } = Ee(), d =
|
23053
|
+
} = x(), { analysisChartData: n, analysisDetails: i, analysisType: a, setAnalysisType: o } = wi(), r = bn("(min-width:320px) and (max-width:375px)"), { isMobile: s } = Ee(), d = tt().palette.mode === "dark", { cellDimension: _, columns: u, rows: h, textVariant: m } = g.useMemo(() => {
|
23059
23054
|
const C = a === Pn.Stocks, f = Object.values(C ? e.stock_column_labels : e.bond_column_labels), E = Object.values(C ? e.stock_row_labels : e.bond_row_labels);
|
23060
23055
|
return { cellDimension: s ? 72 : 100, columns: f, rows: E, textVariant: s ? "XSmall" : "Body" };
|
23061
23056
|
}, [e, s, a]);
|
@@ -23193,7 +23188,7 @@ const c0 = ({ widgets: e, isLoading: n }) => {
|
|
23193
23188
|
}
|
23194
23189
|
)
|
23195
23190
|
] });
|
23196
|
-
}, S0 = A(E0),
|
23191
|
+
}, S0 = A(E0), Xi = (e) => /* @__PURE__ */ l(ye, { sx: { alignItems: "center", flexDirection: "row", gap: 4 }, children: [
|
23197
23192
|
/* @__PURE__ */ t(p, { sx: { color: "text.primary", fontWeight: 600, fontSize: 14 }, variant: "Small", children: e.colDef.headerName }),
|
23198
23193
|
/* @__PURE__ */ t(gt, { name: "expand_all", size: 12 })
|
23199
23194
|
] }), T0 = ({
|
@@ -23466,7 +23461,7 @@ const c0 = ({ widgets: e, isLoading: n }) => {
|
|
23466
23461
|
field: "holding",
|
23467
23462
|
headerName: f.overview.holding_header,
|
23468
23463
|
flex: 1,
|
23469
|
-
renderHeader:
|
23464
|
+
renderHeader: Xi,
|
23470
23465
|
renderCell: (V) => /* @__PURE__ */ t(Se, { sx: { alignItems: "center", gap: 16, flexDirection: "row" }, children: /* @__PURE__ */ l(Se, { children: [
|
23471
23466
|
/* @__PURE__ */ t(p, { sx: { color: "text.primary", fontWeight: 700 }, children: V.row.holding }),
|
23472
23467
|
/* @__PURE__ */ t(p, { sx: { color: "text.secondary", fontWeight: 400 }, variant: "tiny", children: V.row.description })
|
@@ -23476,12 +23471,12 @@ const c0 = ({ widgets: e, isLoading: n }) => {
|
|
23476
23471
|
field: "costBasis",
|
23477
23472
|
headerName: f.overview.cost_basis_header,
|
23478
23473
|
width: 132,
|
23479
|
-
renderHeader:
|
23474
|
+
renderHeader: Xi,
|
23480
23475
|
renderCell: (V) => {
|
23481
23476
|
const pe = Re === V.row.id;
|
23482
23477
|
return /* @__PURE__ */ l(Se, { sx: { alignItems: "center", flexDirection: "row", gap: 4 }, children: [
|
23483
23478
|
pe ? /* @__PURE__ */ t(
|
23484
|
-
|
23479
|
+
it,
|
23485
23480
|
{
|
23486
23481
|
autoFocus: !0,
|
23487
23482
|
onBlur: () => ct(V.row.id),
|
@@ -23526,7 +23521,7 @@ const c0 = ({ widgets: e, isLoading: n }) => {
|
|
23526
23521
|
field: "totalGainLoss",
|
23527
23522
|
headerName: f.overview.total_gain_loss_header,
|
23528
23523
|
width: 196,
|
23529
|
-
renderHeader:
|
23524
|
+
renderHeader: Xi,
|
23530
23525
|
renderCell: (V) => {
|
23531
23526
|
const pe = V.row.costBasis, Me = pe ? V.row.totalGainLoss / pe * 100 : 0;
|
23532
23527
|
return /* @__PURE__ */ l(Se, { sx: { alignItems: "center", flexDirection: "row", gap: 2 }, children: [
|
@@ -23580,7 +23575,7 @@ const c0 = ({ widgets: e, isLoading: n }) => {
|
|
23580
23575
|
field: "marketValue",
|
23581
23576
|
headerName: f.overview.market_value_header,
|
23582
23577
|
width: 132,
|
23583
|
-
renderHeader:
|
23578
|
+
renderHeader: Xi,
|
23584
23579
|
renderCell: (V) => /* @__PURE__ */ t(p, { sx: { fontWeight: 700 }, variant: "Small", children: V.value?.toLocaleString("en-US", {
|
23585
23580
|
currency: "USD",
|
23586
23581
|
maximumFractionDigits: 2,
|
@@ -24263,12 +24258,12 @@ class R0 {
|
|
24263
24258
|
});
|
24264
24259
|
};
|
24265
24260
|
}
|
24266
|
-
const
|
24261
|
+
const Vi = g.createContext(null), O0 = ({
|
24267
24262
|
onEvent: e,
|
24268
24263
|
onPageview: n,
|
24269
24264
|
store: i,
|
24270
24265
|
children: a
|
24271
|
-
}) => /* @__PURE__ */ t(
|
24266
|
+
}) => /* @__PURE__ */ t(Vi.Provider, { value: { onEvent: e, onPageview: n, store: i, children: a }, children: a }), ka = g.forwardRef(
|
24272
24267
|
function({
|
24273
24268
|
actionText: n,
|
24274
24269
|
ariaLabel: i,
|
@@ -25253,24 +25248,24 @@ const Ki = g.createContext(null), O0 = ({
|
|
25253
25248
|
}
|
25254
25249
|
);
|
25255
25250
|
}, Vn = () => {
|
25256
|
-
const e = g.useContext(
|
25251
|
+
const e = g.useContext(Vi);
|
25257
25252
|
if (!e)
|
25258
25253
|
throw new Error("useCopyStore() must be used within the InsightsMicroWidgetDataProvider");
|
25259
25254
|
return e.store.copyStore;
|
25260
25255
|
}, F0 = () => {
|
25261
|
-
const e = g.useContext(
|
25256
|
+
const e = g.useContext(Vi);
|
25262
25257
|
if (!e?.store?.insightsMicroWidgetStore)
|
25263
25258
|
throw new Error(
|
25264
25259
|
"useInsightsMicroWidgetStore() must be used within the InsightsMicroWidgetDataProvider"
|
25265
25260
|
);
|
25266
25261
|
return e.store.insightsMicroWidgetStore;
|
25267
|
-
},
|
25268
|
-
const e = g.useContext(
|
25262
|
+
}, Ki = () => {
|
25263
|
+
const e = g.useContext(Vi);
|
25269
25264
|
if (!e)
|
25270
25265
|
throw new Error("useEvent() must be used within the InsightsMicroWidgetDataProvider");
|
25271
25266
|
return { onEvent: e.onEvent };
|
25272
25267
|
}, dl = () => {
|
25273
|
-
const e = g.useContext(
|
25268
|
+
const e = g.useContext(Vi);
|
25274
25269
|
if (!e)
|
25275
25270
|
throw new Error("usePageview() must be used within the InsightsMicroWidgetDataProvider");
|
25276
25271
|
return { onPageview: e.onPageview };
|
@@ -25296,7 +25291,7 @@ const Ki = g.createContext(null), O0 = ({
|
|
25296
25291
|
}) => {
|
25297
25292
|
const { ref: C, inView: f } = $s({
|
25298
25293
|
threshold: _l
|
25299
|
-
}), { cardsCopy: E } = Vn(), { onEvent: y } =
|
25294
|
+
}), { cardsCopy: E } = Vn(), { onEvent: y } = Ki(), { updateBeat: S, updateOffer: w } = F0();
|
25300
25295
|
zn(() => {
|
25301
25296
|
f && (i.has_been_displayed ? y(rl(i.template)) : (i.guid.startsWith("OFR") ? w({
|
25302
25297
|
...i,
|
@@ -25374,7 +25369,7 @@ const Ki = g.createContext(null), O0 = ({
|
|
25374
25369
|
scrollRightBoundary: r,
|
25375
25370
|
scrollX: s
|
25376
25371
|
}) => {
|
25377
|
-
const c = K0(), d =
|
25372
|
+
const c = K0(), d = tt(), { carouselCopy: _ } = Vn(), u = Math.floor(s) > r || n === 0, h = s < 0 || i - 1 === n, m = d.palette.grey[500], C = e?.primary_300 ?? d.palette.primary.main;
|
25378
25373
|
return /* @__PURE__ */ l(L, { className: c, children: [
|
25379
25374
|
/* @__PURE__ */ t(
|
25380
25375
|
Fe,
|
@@ -25411,7 +25406,7 @@ const Ki = g.createContext(null), O0 = ({
|
|
25411
25406
|
disabled: h,
|
25412
25407
|
onClick: a,
|
25413
25408
|
children: /* @__PURE__ */ t(
|
25414
|
-
|
25409
|
+
pa,
|
25415
25410
|
{
|
25416
25411
|
style: {
|
25417
25412
|
color: h ? m : C
|
@@ -25451,7 +25446,7 @@ const Ki = g.createContext(null), O0 = ({
|
|
25451
25446
|
variant: _,
|
25452
25447
|
widthOverrides: u
|
25453
25448
|
}) => {
|
25454
|
-
const h = j0(a, d, u), m = g.useRef(null), [C, f] = g.useState(0), [E, y] = g.useState(null), [S, w] = g.useState(null), { carouselCopy: v } = Vn(), { onEvent: I } =
|
25449
|
+
const h = j0(a, d, u), m = g.useRef(null), [C, f] = g.useState(0), [E, y] = g.useState(null), [S, w] = g.useState(null), { carouselCopy: v } = Vn(), { onEvent: I } = Ki(), R = () => {
|
25455
25450
|
I(Yt.ON_CAROUSEL_FORWARD_CLICK), m.current && m.current.scrollTo({
|
25456
25451
|
left: (
|
25457
25452
|
// Adds the flex gap to the carousel ref's width
|
@@ -25578,7 +25573,7 @@ const Ki = g.createContext(null), O0 = ({
|
|
25578
25573
|
posthog: i,
|
25579
25574
|
widthOverrides: a
|
25580
25575
|
}) => {
|
25581
|
-
const { carouselCopy: o } = Vn(), { onEvent: r } =
|
25576
|
+
const { carouselCopy: o } = Vn(), { onEvent: r } = Ki(), s = () => {
|
25582
25577
|
r && (r(Yt.ON_VIEW_MORE_CLICKED), n(), i?.capture("clicked_view_more"));
|
25583
25578
|
};
|
25584
25579
|
return o ? /* @__PURE__ */ l(
|
@@ -25634,7 +25629,7 @@ const Ki = g.createContext(null), O0 = ({
|
|
25634
25629
|
children: o.view_all_insights_in_full_feed_cta_aria
|
25635
25630
|
}
|
25636
25631
|
),
|
25637
|
-
/* @__PURE__ */ t(
|
25632
|
+
/* @__PURE__ */ t(pa, { sx: { color: e?.primary_300, ml: "8px" } })
|
25638
25633
|
]
|
25639
25634
|
}
|
25640
25635
|
)
|
@@ -25674,7 +25669,7 @@ const Ki = g.createContext(null), O0 = ({
|
|
25674
25669
|
variant: d,
|
25675
25670
|
widthOverrides: _
|
25676
25671
|
}) => {
|
25677
|
-
const { cardsCopy: u } = Vn(), { onEvent: h } =
|
25672
|
+
const { cardsCopy: u } = Vn(), { onEvent: h } = Ki(), { onPageview: m } = dl();
|
25678
25673
|
g.useEffect(() => {
|
25679
25674
|
m(kn.MICRO_WIDGET_CAROUSEL_NO_RELEVANT_INSIGHTS);
|
25680
25675
|
}, []);
|
@@ -25798,7 +25793,7 @@ const Ki = g.createContext(null), O0 = ({
|
|
25798
25793
|
variant: v,
|
25799
25794
|
widthOverrides: I
|
25800
25795
|
}) => {
|
25801
|
-
const R =
|
25796
|
+
const R = tt(), [D, H] = Et("STANDARD"), [O, M] = Et(!1), Q = Eu([d], fn), U = Su([_], fn);
|
25802
25797
|
g.useEffect(() => {
|
25803
25798
|
fn.isInitialized || fn.initialize(o, y, s);
|
25804
25799
|
}, [o, y, s, fn.isInitialized]), g.useEffect(() => {
|
@@ -25864,7 +25859,7 @@ const Ki = g.createContext(null), O0 = ({
|
|
25864
25859
|
}) => {
|
25865
25860
|
const _ = ge(), { ref: u, inView: h } = $s({
|
25866
25861
|
threshold: _l
|
25867
|
-
}), { cardsCopy: m } = Vn(), { onEvent: C } =
|
25862
|
+
}), { cardsCopy: m } = Vn(), { onEvent: C } = Ki();
|
25868
25863
|
zn(() => {
|
25869
25864
|
h && (C(cl.ON_VIEW_MORE_VIEWED), r?.capture("viewed_insight", {
|
25870
25865
|
template: "view_more_card"
|
@@ -25942,7 +25937,7 @@ const Ki = g.createContext(null), O0 = ({
|
|
25942
25937
|
primaryTypographyProps: { fontWeight: 400 }
|
25943
25938
|
}
|
25944
25939
|
),
|
25945
|
-
e.recurrence_type === h.id && /* @__PURE__ */ t(
|
25940
|
+
e.recurrence_type === h.id && /* @__PURE__ */ t(ga, { color: "primary", filled: !0, size: 24 })
|
25946
25941
|
] }) }, h.id),
|
25947
25942
|
/* @__PURE__ */ t(k, {})
|
25948
25943
|
] }, h.id)) })
|
@@ -26201,7 +26196,7 @@ const Ki = g.createContext(null), O0 = ({
|
|
26201
26196
|
return /* @__PURE__ */ l(b, { sx: { bgcolor: e, gap: 16, pt: 8 }, children: [
|
26202
26197
|
n && /* @__PURE__ */ t(Oe, { sx: { mx: 24 }, children: n }),
|
26203
26198
|
/* @__PURE__ */ t(
|
26204
|
-
|
26199
|
+
Wi,
|
26205
26200
|
{
|
26206
26201
|
ariaLabel: o.select_transaction_search_aria,
|
26207
26202
|
cancelAriaLabel: o.select_transaction_search_cancel_aria,
|
@@ -26236,19 +26231,19 @@ const Ki = g.createContext(null), O0 = ({
|
|
26236
26231
|
];
|
26237
26232
|
g.useEffect(() => {
|
26238
26233
|
const u = Ge(s.date);
|
26239
|
-
r(
|
26234
|
+
r(ra(u)), o(Ne.EveryMonth);
|
26240
26235
|
}, [s]);
|
26241
26236
|
const _ = (u) => {
|
26242
26237
|
const h = Ge(s.date);
|
26243
26238
|
switch (Number(u.target.value)) {
|
26244
26239
|
case Ne.EveryWeek:
|
26245
|
-
r(
|
26240
|
+
r(Ta(h));
|
26246
26241
|
break;
|
26247
26242
|
case Ne.EveryOtherWeek:
|
26248
26243
|
r(js(h));
|
26249
26244
|
break;
|
26250
26245
|
case Ne.EveryMonth:
|
26251
|
-
r(
|
26246
|
+
r(ra(h));
|
26252
26247
|
break;
|
26253
26248
|
case Ne.EveryOtherMonth:
|
26254
26249
|
r(Xs(h));
|
@@ -26272,7 +26267,7 @@ const Ki = g.createContext(null), O0 = ({
|
|
26272
26267
|
] }),
|
26273
26268
|
/* @__PURE__ */ t(p, { bold: !0, sx: { mx: 24 }, variant: "Body", children: i ? c.income_schedule : c.expense_schedule }),
|
26274
26269
|
/* @__PURE__ */ t(
|
26275
|
-
|
26270
|
+
it,
|
26276
26271
|
{
|
26277
26272
|
InputLabelProps: { shrink: !0 },
|
26278
26273
|
SelectProps: {
|
@@ -26285,11 +26280,11 @@ const Ki = g.createContext(null), O0 = ({
|
|
26285
26280
|
sx: { mx: 24 },
|
26286
26281
|
value: n,
|
26287
26282
|
variant: "outlined",
|
26288
|
-
children: d.map((u) => /* @__PURE__ */ t(
|
26283
|
+
children: d.map((u) => /* @__PURE__ */ t(ba, { value: u.id, children: u.label }, u.id))
|
26289
26284
|
}
|
26290
26285
|
),
|
26291
26286
|
/* @__PURE__ */ t(Nn, { dateAdapter: gn, children: /* @__PURE__ */ t(
|
26292
|
-
|
26287
|
+
fa,
|
26293
26288
|
{
|
26294
26289
|
disablePast: !0,
|
26295
26290
|
label: i ? c.income_date_label : c.expense_date_label,
|
@@ -26456,7 +26451,7 @@ const Ki = g.createContext(null), O0 = ({
|
|
26456
26451
|
filled: !0,
|
26457
26452
|
sx: { color: "categories.income", fontSize: n, ...Ga }
|
26458
26453
|
}
|
26459
|
-
) }), qo = ({ isOffset: e = !1, size: n = 16 }) => /* @__PURE__ */ t(Zt, { size: n, sx: { ...Ba(e) }, children: /* @__PURE__ */ t(Ls, { color: "error", filled: !0, sx: { fontSize: n, ...Ga } }) }), Zo = ({ isOffset: e = !1, size: n = 16 }) => /* @__PURE__ */ t(Zt, { size: n, sx: { ...Ba(e) }, children: /* @__PURE__ */ t(
|
26454
|
+
) }), qo = ({ isOffset: e = !1, size: n = 16 }) => /* @__PURE__ */ t(Zt, { size: n, sx: { ...Ba(e) }, children: /* @__PURE__ */ t(Ls, { color: "error", filled: !0, sx: { fontSize: n, ...Ga } }) }), Zo = ({ isOffset: e = !1, size: n = 16 }) => /* @__PURE__ */ t(Zt, { size: n, sx: { ...Ba(e) }, children: /* @__PURE__ */ t(ga, { color: "success", filled: !0, sx: { fontSize: n, ...Ga } }) }), lb = A(
|
26460
26455
|
({ day: e, outsideCurrentMonth: n, ...i }) => {
|
26461
26456
|
const { recurring: a } = x(), { selectedAccountGuids: o } = _e(), { recurrences: r, setSelectedDay: s } = Pt(), d = g.useMemo(
|
26462
26457
|
() => r.filter((f) => o.includes(f.accountGuid)),
|
@@ -26464,11 +26459,11 @@ const Ki = g.createContext(null), O0 = ({
|
|
26464
26459
|
).filter(
|
26465
26460
|
(f) => _t(f.occurredOnDate || f.expectedDate, e)
|
26466
26461
|
), _ = d.some(
|
26467
|
-
(f) => f.type !== Xt.Income && f.status ===
|
26462
|
+
(f) => f.type !== Xt.Income && f.status === at.Upcoming
|
26468
26463
|
), u = d.some(
|
26469
|
-
(f) => f.type !== Xt.Income && f.status ===
|
26464
|
+
(f) => f.type !== Xt.Income && f.status === at.Missed
|
26470
26465
|
), h = d.some(
|
26471
|
-
(f) => f.type !== Xt.Income && f.status ===
|
26466
|
+
(f) => f.type !== Xt.Income && f.status === at.Paid
|
26472
26467
|
), m = d.some((f) => f.type === Xt.Income), C = (_ ? 1 : 0) + (u ? 1 : 0) + (h ? 1 : 0) + (m ? 1 : 0);
|
26473
26468
|
return /* @__PURE__ */ t(
|
26474
26469
|
fo,
|
@@ -26511,7 +26506,7 @@ const Ki = g.createContext(null), O0 = ({
|
|
26511
26506
|
}
|
26512
26507
|
);
|
26513
26508
|
}
|
26514
|
-
),
|
26509
|
+
), qi = ({ icon: e, label: n }) => /* @__PURE__ */ l(b, { alignItems: "center", flexDirection: "row", sx: { gap: 6 }, children: [
|
26515
26510
|
/* @__PURE__ */ t(e, {}),
|
26516
26511
|
/* @__PURE__ */ t(p, { variant: "XSmall", children: n })
|
26517
26512
|
] }), db = A(() => {
|
@@ -26526,18 +26521,18 @@ const Ki = g.createContext(null), O0 = ({
|
|
26526
26521
|
justifyContent: "center",
|
26527
26522
|
mt: 12,
|
26528
26523
|
children: [
|
26529
|
-
/* @__PURE__ */ t(
|
26530
|
-
/* @__PURE__ */ t(
|
26531
|
-
/* @__PURE__ */ t(
|
26532
|
-
/* @__PURE__ */ t(
|
26524
|
+
/* @__PURE__ */ t(qi, { icon: jo, label: e.expense }),
|
26525
|
+
/* @__PURE__ */ t(qi, { icon: Xo, label: e.income }),
|
26526
|
+
/* @__PURE__ */ t(qi, { icon: qo, label: e.missed }),
|
26527
|
+
/* @__PURE__ */ t(qi, { icon: Zo, label: e.paid })
|
26533
26528
|
]
|
26534
26529
|
}
|
26535
26530
|
);
|
26536
26531
|
}), Ss = 58, fl = A(() => {
|
26537
26532
|
const e = ge(), { onEvent: n } = z(), { selectedDay: i } = Pt(), [a, o] = g.useState(
|
26538
|
-
|
26533
|
+
aa(/* @__PURE__ */ new Date()) * _n + Ss
|
26539
26534
|
), r = (c) => {
|
26540
|
-
o(
|
26535
|
+
o(aa(c) * _n + Ss), n(W.RECURRING_TRANSACTIONS_CLICK_CALENDAR_RIGHT);
|
26541
26536
|
}, s = /* @__PURE__ */ t(
|
26542
26537
|
di,
|
26543
26538
|
{
|
@@ -26593,16 +26588,16 @@ const Ki = g.createContext(null), O0 = ({
|
|
26593
26588
|
if (e.type === Xt.Income)
|
26594
26589
|
return /* @__PURE__ */ t(Xo, {});
|
26595
26590
|
switch (e.status) {
|
26596
|
-
case
|
26591
|
+
case at.Missed:
|
26597
26592
|
return /* @__PURE__ */ t(qo, {});
|
26598
|
-
case
|
26593
|
+
case at.Paid:
|
26599
26594
|
return /* @__PURE__ */ t(Zo, {});
|
26600
26595
|
default:
|
26601
26596
|
return /* @__PURE__ */ t(jo, {});
|
26602
26597
|
}
|
26603
26598
|
}, _b = (e, n) => {
|
26604
26599
|
switch (e.status) {
|
26605
|
-
case
|
26600
|
+
case at.Paid:
|
26606
26601
|
return e.expectedDate ? T(
|
26607
26602
|
n.paid_on,
|
26608
26603
|
re(
|
@@ -26610,12 +26605,12 @@ const Ki = g.createContext(null), O0 = ({
|
|
26610
26605
|
ie.MONTH_DAY
|
26611
26606
|
)
|
26612
26607
|
) : n.paid;
|
26613
|
-
case
|
26608
|
+
case at.Missed:
|
26614
26609
|
return T(
|
26615
26610
|
n.missed_on,
|
26616
26611
|
re(e.expectedDate, ie.MONTH_DAY)
|
26617
26612
|
);
|
26618
|
-
case
|
26613
|
+
case at.Upcoming:
|
26619
26614
|
return T(
|
26620
26615
|
n.upcoming_on,
|
26621
26616
|
re(e.expectedDate, ie.MONTH_DAY)
|
@@ -26633,7 +26628,7 @@ const Ki = g.createContext(null), O0 = ({
|
|
26633
26628
|
const { recurring: o } = x(), { repeatingTransactions: r } = Pt(), [s, c] = g.useState(!1), d = g.useMemo(
|
26634
26629
|
() => r.find((E) => E.guid === e.repeatingTransactionGuid),
|
26635
26630
|
[e]
|
26636
|
-
), _ = e.type === Xt.Income, u = e.status ===
|
26631
|
+
), _ = e.type === Xt.Income, u = e.status === at.Paid, h = e.status === at.Missed, m = e.status === at.Upcoming;
|
26637
26632
|
let C = o.paid?.toLowerCase();
|
26638
26633
|
return h ? C = o.missed?.toLowerCase() : m && (C = a ? go(o, e.expectedDate, e.frequency) : go(o, null, e.frequency)), /* @__PURE__ */ l(j, { disableGutters: !0, disablePadding: !0, children: [
|
26639
26634
|
/* @__PURE__ */ l(ue, { onClick: () => {
|
@@ -26687,7 +26682,7 @@ const Ki = g.createContext(null), O0 = ({
|
|
26687
26682
|
width: "100%"
|
26688
26683
|
},
|
26689
26684
|
children: [
|
26690
|
-
u && /* @__PURE__ */ t(
|
26685
|
+
u && /* @__PURE__ */ t(ga, { color: "success", filled: !0, size: 12 }),
|
26691
26686
|
h && /* @__PURE__ */ t(Ls, { color: "error", filled: !0, size: 12 }),
|
26692
26687
|
/* @__PURE__ */ t(p, { bold: !0, color: "text.secondary", variant: "caption", children: C })
|
26693
26688
|
]
|
@@ -27062,7 +27057,7 @@ const Ki = g.createContext(null), O0 = ({
|
|
27062
27057
|
donutData: s,
|
27063
27058
|
totalAmount: r
|
27064
27059
|
};
|
27065
|
-
},
|
27060
|
+
}, ua = ({ amount: e, label: n }) => /* @__PURE__ */ l(b, { direction: "column", children: [
|
27066
27061
|
/* @__PURE__ */ t(p, { bold: !0, sx: { textTransform: "none" }, variant: "Body", children: n }),
|
27067
27062
|
/* @__PURE__ */ t(p, { variant: "XSmall", children: B(e, "0,0") })
|
27068
27063
|
] }), pb = ({
|
@@ -27118,7 +27113,7 @@ const Ki = g.createContext(null), O0 = ({
|
|
27118
27113
|
}
|
27119
27114
|
)
|
27120
27115
|
] }) }) });
|
27121
|
-
},
|
27116
|
+
}, _a = A(pb), xs = ({ data: e, onSelected: n, selectedId: i }) => /* @__PURE__ */ t(b, { gap: 8, height: "100%", justifyContent: "center", my: "auto", children: e.categoryData.map((a) => /* @__PURE__ */ l(
|
27122
27117
|
b,
|
27123
27118
|
{
|
27124
27119
|
alignItems: "center",
|
@@ -27176,7 +27171,7 @@ const Ki = g.createContext(null), O0 = ({
|
|
27176
27171
|
Ve,
|
27177
27172
|
{
|
27178
27173
|
label: /* @__PURE__ */ t(
|
27179
|
-
|
27174
|
+
ua,
|
27180
27175
|
{
|
27181
27176
|
amount: m.totalAmount,
|
27182
27177
|
label: n.spend_tab_title
|
@@ -27189,7 +27184,7 @@ const Ki = g.createContext(null), O0 = ({
|
|
27189
27184
|
Ve,
|
27190
27185
|
{
|
27191
27186
|
label: /* @__PURE__ */ t(
|
27192
|
-
|
27187
|
+
ua,
|
27193
27188
|
{
|
27194
27189
|
amount: C.totalAmount,
|
27195
27190
|
label: n.income_tab_title
|
@@ -27201,7 +27196,7 @@ const Ki = g.createContext(null), O0 = ({
|
|
27201
27196
|
] }),
|
27202
27197
|
u === 0 && /* @__PURE__ */ t(L, { children: /* @__PURE__ */ l(b, { direction: "row", gap: 16, justifyContent: "center", p: 24, children: [
|
27203
27198
|
/* @__PURE__ */ t(
|
27204
|
-
|
27199
|
+
_a,
|
27205
27200
|
{
|
27206
27201
|
data: m,
|
27207
27202
|
onSelected: E,
|
@@ -27220,7 +27215,7 @@ const Ki = g.createContext(null), O0 = ({
|
|
27220
27215
|
] }) }),
|
27221
27216
|
u === 1 && /* @__PURE__ */ t(L, { children: /* @__PURE__ */ l(b, { direction: "row", gap: 16, justifyContent: "center", p: 24, children: [
|
27222
27217
|
/* @__PURE__ */ t(
|
27223
|
-
|
27218
|
+
_a,
|
27224
27219
|
{
|
27225
27220
|
data: C,
|
27226
27221
|
isIncome: !0,
|
@@ -27343,7 +27338,7 @@ const Ki = g.createContext(null), O0 = ({
|
|
27343
27338
|
px: 8,
|
27344
27339
|
children: [
|
27345
27340
|
c && /* @__PURE__ */ t(
|
27346
|
-
|
27341
|
+
_a,
|
27347
27342
|
{
|
27348
27343
|
data: {
|
27349
27344
|
categoryData: [],
|
@@ -27359,7 +27354,7 @@ const Ki = g.createContext(null), O0 = ({
|
|
27359
27354
|
}
|
27360
27355
|
),
|
27361
27356
|
!c && /* @__PURE__ */ t(
|
27362
|
-
|
27357
|
+
_a,
|
27363
27358
|
{
|
27364
27359
|
data: e,
|
27365
27360
|
onSelected: n,
|
@@ -27433,7 +27428,7 @@ const Ki = g.createContext(null), O0 = ({
|
|
27433
27428
|
Ve,
|
27434
27429
|
{
|
27435
27430
|
label: /* @__PURE__ */ t(
|
27436
|
-
|
27431
|
+
ua,
|
27437
27432
|
{
|
27438
27433
|
amount: w.totalAmount,
|
27439
27434
|
label: o.spend_tab_title
|
@@ -27446,7 +27441,7 @@ const Ki = g.createContext(null), O0 = ({
|
|
27446
27441
|
Ve,
|
27447
27442
|
{
|
27448
27443
|
label: /* @__PURE__ */ t(
|
27449
|
-
|
27444
|
+
ua,
|
27450
27445
|
{
|
27451
27446
|
amount: v.totalAmount,
|
27452
27447
|
label: o.income_tab_title
|
@@ -27519,7 +27514,7 @@ const Ki = g.createContext(null), O0 = ({
|
|
27519
27514
|
children: /* @__PURE__ */ t(L, { height: "calc(100dvh - 150px)", overflow: "scroll", width: "100%", children: /* @__PURE__ */ t(xb, {}) })
|
27520
27515
|
}
|
27521
27516
|
);
|
27522
|
-
}, w4 = A(Ib), vb = (e) => Gn[e] ?? Gn.default, wb = (e) =>
|
27517
|
+
}, w4 = A(Ib), vb = (e) => Gn[e] ?? Gn.default, wb = (e) => Sa[e];
|
27523
27518
|
function Nb(e, n) {
|
27524
27519
|
const i = [], a = new Date(e);
|
27525
27520
|
for (; a <= n; ) {
|
@@ -27558,7 +27553,7 @@ const Db = (e) => e.reduce((i, a) => {
|
|
27558
27553
|
const n = e.row[e.field];
|
27559
27554
|
return /* @__PURE__ */ t(b, { alignItems: "flex-end", tabIndex: e.tabIndex, children: /* @__PURE__ */ t(ze, { amount: n, variant: "Small" }) });
|
27560
27555
|
}, Mb = ({ categoryGuid: e, topLevelCategoryGuid: n }) => {
|
27561
|
-
const { categories: i } = x(), a =
|
27556
|
+
const { categories: i } = x(), a = Sa[e];
|
27562
27557
|
return /* @__PURE__ */ l(b, { alignItems: "center", direction: "row", justifyContent: "center", children: [
|
27563
27558
|
/* @__PURE__ */ t(
|
27564
27559
|
L,
|
@@ -27692,7 +27687,7 @@ const Db = (e) => e.reduce((i, a) => {
|
|
27692
27687
|
}, $b = A(Hb), Fb = {
|
27693
27688
|
view_transactions: "View Transactions"
|
27694
27689
|
}, Wb = ({ onBackClick: e, sx: n }) => {
|
27695
|
-
const i =
|
27690
|
+
const i = tt(), { onEvent: a } = z(), { isDesktop: o, isTablet: r, isMobile: s } = Ee(), { visibleAccounts: c } = ve(), { loadMonthlyCategoryTotals: d, monthlyCategoryTotals: _, getCategoryName: u } = Ke(), { sortedTransactions: h } = Te(), { isCopyLoaded: m, isInitialized: C, selectedAccounts: f, setSelectedAccounts: E } = _e(), { trends: y } = x(), S = i.palette.mode === "dark", [w, v] = g.useState(!1), [I, R] = g.useState(!1), [D, H] = g.useState("Chart"), [O, M] = g.useState(""), [Q, U] = g.useState({
|
27696
27691
|
start: dr(je(qt(/* @__PURE__ */ new Date(), 6)), 1),
|
27697
27692
|
end: je(/* @__PURE__ */ new Date())
|
27698
27693
|
});
|
@@ -27880,7 +27875,7 @@ const Db = (e) => e.reduce((i, a) => {
|
|
27880
27875
|
}
|
27881
27876
|
);
|
27882
27877
|
}, N4 = A(Wb), Ub = () => {
|
27883
|
-
const e =
|
27878
|
+
const e = tt(), { monthlyCategoryTotals: n } = Ke(), { trends: i } = x(), a = Am(n);
|
27884
27879
|
return /* @__PURE__ */ t(
|
27885
27880
|
xo,
|
27886
27881
|
{
|
@@ -27896,7 +27891,7 @@ const Db = (e) => e.reduce((i, a) => {
|
|
27896
27891
|
}
|
27897
27892
|
);
|
27898
27893
|
}, Vb = A(Ub), Kb = ({ onPrimaryCtaClick: e, sx: n }) => {
|
27899
|
-
const { loadMonthlyCategoryTotals: i, monthlyTotalsLoaded: a } = Ke(), { isInitialized: o } =
|
27894
|
+
const { loadMonthlyCategoryTotals: i, monthlyTotalsLoaded: a } = Ke(), { isInitialized: o } = xa(), { trends: r } = x(), { isCopyLoaded: s, selectedAccounts: c } = _e();
|
27900
27895
|
return g.useEffect(() => {
|
27901
27896
|
o && i(c).finally();
|
27902
27897
|
}, [o, c]), s ? /* @__PURE__ */ t(
|
@@ -27936,7 +27931,7 @@ export {
|
|
27936
27931
|
Y2 as BarChart,
|
27937
27932
|
oi as BeatApi,
|
27938
27933
|
U0 as BeatCard,
|
27939
|
-
|
27934
|
+
Zi as BottomActions,
|
27940
27935
|
f4 as BubbleBudgetsMiniWidget,
|
27941
27936
|
b4 as BubbleBudgetsWidget,
|
27942
27937
|
Bu as Calendar,
|
@@ -27949,7 +27944,7 @@ export {
|
|
27949
27944
|
a4 as CashflowWidget,
|
27950
27945
|
mr as CategoryApi,
|
27951
27946
|
Gn as CategoryColors,
|
27952
|
-
|
27947
|
+
Sa as CategoryGuidToName,
|
27953
27948
|
N as CategoryGuids,
|
27954
27949
|
lu as CategoryIcon,
|
27955
27950
|
mc as CategoryRow,
|
@@ -27962,14 +27957,14 @@ export {
|
|
27962
27957
|
p4 as ConnectMiniWidget,
|
27963
27958
|
Kn as ConnectionStatus,
|
27964
27959
|
ht as ConnectionStatusEnums,
|
27965
|
-
|
27960
|
+
oa as CurrencyCodes,
|
27966
27961
|
on as CurrencyInput,
|
27967
27962
|
ze as CurrencyText,
|
27968
27963
|
ie as DATE_FORMATS_INTL,
|
27969
27964
|
zs as DEFAULT_DONUT_SIZE,
|
27970
27965
|
Ys as DEFAULT_STROKE_WIDTH,
|
27971
27966
|
y4 as Dashboard,
|
27972
|
-
|
27967
|
+
Qi as DashboardLocation,
|
27973
27968
|
$n as DataRow,
|
27974
27969
|
Sr as DateRangeSelector,
|
27975
27970
|
Bc as DebtsChart,
|
@@ -28000,7 +27995,7 @@ export {
|
|
28000
27995
|
gC as HelpWidget,
|
28001
27996
|
Eo as INCOME_ACCOUNT_TYPES,
|
28002
27997
|
Zt as IconBacking,
|
28003
|
-
|
27998
|
+
ca as InformationTooltip,
|
28004
27999
|
A4 as InsightsMicroWidget,
|
28005
28000
|
O0 as InsightsMicroWidgetDataProvider,
|
28006
28001
|
E4 as InvestmentsWidget,
|
@@ -28045,7 +28040,7 @@ export {
|
|
28045
28040
|
Fs as PropertyType,
|
28046
28041
|
P2 as PropertyTypeName,
|
28047
28042
|
H2 as RECURRENCE_COPY,
|
28048
|
-
|
28043
|
+
at as RecurrenceStatus,
|
28049
28044
|
Xt as RecurrenceType,
|
28050
28045
|
J as RecurrenceTypes,
|
28051
28046
|
i4 as RecurringActivityMiniWidget,
|
@@ -28060,7 +28055,7 @@ export {
|
|
28060
28055
|
O_ as ScheduledPaymentTypes,
|
28061
28056
|
Cr as ScheduledPaymentsApi,
|
28062
28057
|
L_ as ScreenSize,
|
28063
|
-
|
28058
|
+
Wi as SearchBox,
|
28064
28059
|
xr as SelectionBox,
|
28065
28060
|
os as SettingsApi,
|
28066
28061
|
R1 as SettingsStore,
|
@@ -28080,7 +28075,7 @@ export {
|
|
28080
28075
|
ti as ToggleListItem,
|
28081
28076
|
Ci as TopActions,
|
28082
28077
|
K as TrackType,
|
28083
|
-
|
28078
|
+
la as TransactionApi,
|
28084
28079
|
qn as TransactionDetails,
|
28085
28080
|
mn as TransactionList,
|
28086
28081
|
Ia as TransactionRow,
|
@@ -28132,11 +28127,11 @@ export {
|
|
28132
28127
|
pn as useCategoryUiStore,
|
28133
28128
|
Eu as useCombineEvents,
|
28134
28129
|
Su as useCombinePageviews,
|
28135
|
-
|
28130
|
+
Aa as useDebtStore,
|
28136
28131
|
z as useEvent,
|
28137
28132
|
qC as useGetMergeableAccounts,
|
28138
28133
|
x as useGlobalCopyStore,
|
28139
|
-
|
28134
|
+
xa as useGlobalStore,
|
28140
28135
|
_e as useGlobalUiStore,
|
28141
28136
|
rt as useGoalStore,
|
28142
28137
|
wo as useHelpStore,
|
@@ -28146,7 +28141,7 @@ export {
|
|
28146
28141
|
sc as useNotificationStore,
|
28147
28142
|
X2 as usePageView,
|
28148
28143
|
z2 as usePrevious,
|
28149
|
-
|
28144
|
+
nt as useRecurringActivityStore,
|
28150
28145
|
Pt as useRecurringTransactionsStore,
|
28151
28146
|
Ee as useScreenSize,
|
28152
28147
|
Ht as useSettingsStore,
|