@mx-cartographer/experiences 6.26.18-alpha.mega1 → 6.26.18-alpha.mega3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +0 -4
- package/dist/accounts/AccountsMiniWidget/index.es.js +45 -0
- package/dist/accounts/AccountsWidget/index.es.js +67 -0
- package/dist/accounts/ConnectMiniWidget/index.es.js +41 -0
- package/dist/accounts/api/AccountApi/index.es.js +20 -0
- package/dist/accounts/components/AccountListItem/index.es.js +84 -0
- package/dist/accounts/components/AccountsList/index.es.js +164 -0
- package/dist/accounts/components/ConnectImage/index.es.js +444 -0
- package/dist/accounts/components/ConnectMiniWidgetCard/index.es.js +27 -0
- package/dist/accounts/components/ConnectStatus/index.es.js +37 -0
- package/dist/accounts/components/ConnectionStatusIcons/index.es.js +12 -0
- package/dist/accounts/components/ConnectionsDrawer/index.es.js +54 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountActions/index.es.js +134 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountActionsRow/index.es.js +21 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountConnection/index.es.js +103 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailEdit/index.es.js +120 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetails/index.es.js +58 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsChart/index.es.js +43 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsContent/index.es.js +50 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsHeader/index.es.js +47 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsTab/index.es.js +20 -0
- package/dist/accounts/components/detailsdrawer/Accounts/ConnectionErrorMessage/index.es.js +74 -0
- package/dist/accounts/components/detailsdrawer/Transactions/TransactionsTab/index.es.js +37 -0
- package/dist/accounts/constants/Accounts/index.es.js +5 -0
- package/dist/accounts/hooks/useGetMergeableAccounts/index.es.js +11 -0
- package/dist/accounts/hooks/useUiStore/index.es.js +11 -0
- package/dist/accounts/index.es.js +26 -0
- package/dist/accounts/stores/AccountStore/index.es.js +204 -0
- package/dist/accounts/stores/UiStore/index.es.js +15 -0
- package/dist/accounts/utils/AccountFields/index.es.js +136 -0
- package/dist/accounts/utils/Accounts/index.es.js +9 -0
- package/dist/accounts/utils/getConnectionMessages/index.es.js +162 -0
- package/dist/analytics/SurveyMiniWidget/index.es.js +101 -0
- package/dist/analytics/components/OpenTextField/index.es.js +23 -0
- package/dist/analytics/components/RatingScale/index.es.js +68 -0
- package/dist/analytics/index.es.js +4 -0
- package/dist/analytics/stores/AnalyticsStore/index.es.js +54 -0
- package/dist/budgets/BubbleBudgetsMiniWidget/index.es.js +71 -0
- package/dist/budgets/BubbleBudgetsWidget/index.es.js +139 -0
- package/dist/budgets/api/BudgetsApi/index.es.js +26 -0
- package/dist/budgets/components/AddBudgets/index.es.js +30 -0
- package/dist/budgets/components/BubbleBudgets/index.es.js +61 -0
- package/dist/budgets/components/BubbleChart/Bubble/index.es.js +97 -0
- package/dist/budgets/components/BubbleChart/Mercury/index.es.js +27 -0
- package/dist/budgets/components/BubbleChart/index.es.js +22 -0
- package/dist/budgets/components/BudgetDetailsDrawer/index.es.js +95 -0
- package/dist/budgets/components/BudgetList/BudgetRow/index.es.js +42 -0
- package/dist/budgets/components/BudgetList/SubBudgetRow/index.es.js +36 -0
- package/dist/budgets/components/BudgetList/SubBudgetZeroState/index.es.js +16 -0
- package/dist/budgets/components/BudgetList/index.es.js +30 -0
- package/dist/budgets/components/BudgetsEmptyState/index.es.js +85 -0
- package/dist/budgets/components/Overview/index.es.js +105 -0
- package/dist/budgets/components/addbudget/Header/index.es.js +28 -0
- package/dist/budgets/components/addbudget/RecalculateBudgetRow/index.es.js +30 -0
- package/dist/budgets/components/addbudget/RecalculateBudgets/index.es.js +39 -0
- package/dist/budgets/components/addbudget/UnbudgetedRow/index.es.js +46 -0
- package/dist/budgets/components/budgetdetails/AddSubBudget/index.es.js +73 -0
- package/dist/budgets/components/budgetdetails/BudgetDetails/index.es.js +75 -0
- package/dist/budgets/components/budgetdetails/Header/index.es.js +31 -0
- package/dist/budgets/components/budgetdetails/SubBudgetList/index.es.js +102 -0
- package/dist/budgets/components/shared/BudgetAmount/index.es.js +37 -0
- package/dist/budgets/index.es.js +6 -0
- package/dist/budgets/store/BudgetsStore/index.es.js +139 -0
- package/dist/budgets/utils/BubblesSVG/index.es.js +51 -0
- package/dist/budgets/utils/BudgetUtil/index.es.js +70 -0
- package/dist/cashflow/CashflowMiniWidget/index.es.js +27 -0
- package/dist/cashflow/CashflowOnboarding/index.es.js +220 -0
- package/dist/cashflow/CashflowWidget/index.es.js +91 -0
- package/dist/cashflow/api/CashflowApi/index.es.js +25 -0
- package/dist/cashflow/components/CashflowAmountHeading/index.es.js +32 -0
- package/dist/cashflow/components/CashflowContent/index.es.js +61 -0
- package/dist/cashflow/components/CashflowHeading/index.es.js +113 -0
- package/dist/cashflow/components/CashflowWidgetContent/index.es.js +146 -0
- package/dist/cashflow/components/DetailsExpenseHeader/index.es.js +38 -0
- package/dist/cashflow/components/DetailsExpenseRow/index.es.js +31 -0
- package/dist/cashflow/components/DetailsFooter/index.es.js +22 -0
- package/dist/cashflow/components/DetailsTab/index.es.js +92 -0
- package/dist/cashflow/components/RemainingCash/index.es.js +27 -0
- package/dist/cashflow/components/SummaryTab/index.es.js +258 -0
- package/dist/cashflow/components/onboarding/StepOne/index.es.js +82 -0
- package/dist/cashflow/components/onboarding/StepTwo/index.es.js +17 -0
- package/dist/cashflow/constants/CashflowImages/index.es.js +7 -0
- package/dist/cashflow/context/hooks/index.es.js +11 -0
- package/dist/cashflow/index.es.js +12 -0
- package/dist/cashflow/stores/CashflowStore/index.es.js +19 -0
- package/dist/cashflow/stores/UiStore/index.es.js +38 -0
- package/dist/cashflow/util/Filters/index.es.js +7 -0
- package/dist/categories/components/CategoryList/index.es.js +38 -0
- package/dist/categories/components/CategoryRow/index.es.js +58 -0
- package/dist/categories/components/CategorySelector/index.es.js +48 -0
- package/dist/categories/components/CategorySelectorDrawer/index.es.js +30 -0
- package/dist/categories/components/CustomCategories/AddSubcategory/index.es.js +40 -0
- package/dist/categories/components/CustomCategories/CustomCategoryModal/index.es.js +66 -0
- package/dist/categories/components/CustomCategories/DeleteSubcategory/index.es.js +30 -0
- package/dist/categories/components/CustomCategories/RenameSubcategory/index.es.js +29 -0
- package/dist/categories/components/SubcategoryList/index.es.js +39 -0
- package/dist/categories/components/SubcategoryRow/index.es.js +103 -0
- package/dist/categories/constants/OnClickEvents/index.es.js +16 -0
- package/dist/categories/context/hooks/index.es.js +11 -0
- package/dist/categories/index.es.js +12 -0
- package/dist/categories/stores/CategoryStore/index.es.js +135 -0
- package/dist/categories/stores/UiStore/index.es.js +27 -0
- package/dist/categories/util/CategoryUtil/index.es.js +78 -0
- package/dist/common/api/AnalyticsApi/index.es.js +34 -0
- package/dist/common/api/AppDataApi/index.es.js +12 -0
- package/dist/common/api/BannerApi/index.es.js +21 -0
- package/dist/common/api/BeatApi/index.es.js +22 -0
- package/dist/common/api/CategoryApi/index.es.js +30 -0
- package/dist/common/api/GlobalCopyApi/index.es.js +12 -0
- package/dist/common/api/LocalizedCopyApi/index.es.js +13 -0
- package/dist/common/api/NotificationApi/index.es.js +21 -0
- package/dist/common/api/ScheduledPaymentsApi/index.es.js +20 -0
- package/dist/common/api/UserApi/index.es.js +14 -0
- package/dist/common/api/WidgetApi/index.es.js +12 -0
- package/dist/common/components/Banner/index.es.js +49 -0
- package/dist/common/components/ConnectCard/index.es.js +56 -0
- package/dist/common/components/ConnectDrawer/index.es.js +58 -0
- package/dist/common/components/CurrencyInput/index.es.js +84 -0
- package/dist/common/components/CurrencyText/index.es.js +20 -0
- package/dist/common/components/DataRow/index.es.js +29 -0
- package/dist/common/components/EmptyState/index.es.js +55 -0
- package/dist/common/components/ErrorBoundary/index.es.js +24 -0
- package/dist/common/components/IconBacking/index.es.js +39 -0
- package/dist/common/components/InformationTooltip/index.es.js +41 -0
- package/dist/common/components/ListItemAction/index.es.js +69 -0
- package/dist/common/components/ListItemRow/index.es.js +67 -0
- package/dist/common/components/ListItemWrapper/index.es.js +32 -0
- package/dist/common/components/Loader/index.es.js +14 -0
- package/dist/common/components/MicroWidgetContainer/index.es.js +45 -0
- package/dist/common/components/MiniWidgetContainer/index.es.js +39 -0
- package/dist/common/components/ResponsiveButton/index.es.js +45 -0
- package/dist/common/components/SearchBox/index.es.js +42 -0
- package/dist/common/components/Select/index.es.js +25 -0
- package/dist/common/components/SelectionBox/index.es.js +48 -0
- package/dist/common/components/SubheaderRow/index.es.js +10 -0
- package/dist/common/components/TabContentContainer/index.es.js +21 -0
- package/dist/common/components/WidgetContainer/index.es.js +195 -0
- package/dist/common/components/accountfilter/AccountFilter/index.es.js +93 -0
- package/dist/common/components/accountfilter/AccountFilterOptions/index.es.js +222 -0
- package/dist/common/components/addaccounts/AddAccounts/index.es.js +43 -0
- package/dist/common/components/barchart/Bar/index.es.js +79 -0
- package/dist/common/components/barchart/BarChart/index.es.js +70 -0
- package/dist/common/components/barchart/BarColumn/index.es.js +86 -0
- package/dist/common/components/barchart/Legend/index.es.js +45 -0
- package/dist/common/components/barchart/Util/index.es.js +11 -0
- package/dist/common/components/calendar/Calendar/index.es.js +131 -0
- package/dist/common/components/calendar/Day/index.es.js +96 -0
- package/dist/common/components/calendar/Header/index.es.js +32 -0
- package/dist/common/components/charts/Donut/index.es.js +57 -0
- package/dist/common/components/charts/LineChart/CustomLegend/index.es.js +64 -0
- package/dist/common/components/charts/LineChart/CustomLine/index.es.js +22 -0
- package/dist/common/components/charts/LineChart/CustomMark/index.es.js +65 -0
- package/dist/common/components/charts/LineChart/CustomTooltip/index.es.js +73 -0
- package/dist/common/components/charts/LineChart/index.es.js +208 -0
- package/dist/common/components/charts/StackedLineChart/CategoryIconLabel/index.es.js +24 -0
- package/dist/common/components/charts/StackedLineChart/CustomAreaTooltip/index.es.js +69 -0
- package/dist/common/components/charts/StackedLineChart/CustomLegend/index.es.js +70 -0
- package/dist/common/components/charts/StackedLineChart/CustomPointTooltip/index.es.js +22 -0
- package/dist/common/components/charts/StackedLineChart/index.es.js +222 -0
- package/dist/common/components/charts/StatusBar/index.es.js +30 -0
- package/dist/common/components/daterangeselector/DateRangeSelector/index.es.js +254 -0
- package/dist/common/components/dialog/Dialog/index.es.js +61 -0
- package/dist/common/components/donuts/MultiSegmentDonut/index.es.js +60 -0
- package/dist/common/components/donuts/SingleSegmentDonut/index.es.js +68 -0
- package/dist/common/components/drawer/Drawer/index.es.js +71 -0
- package/dist/common/components/drawer/Header/index.es.js +51 -0
- package/dist/common/components/listitems/CollapseExpandListItem/index.es.js +36 -0
- package/dist/common/components/listitems/ToggleButtonListItem/index.es.js +42 -0
- package/dist/common/components/listitems/ToggleListItem/index.es.js +38 -0
- package/dist/common/constants/Account/index.es.js +30 -0
- package/dist/common/constants/Analytics/index.es.js +117 -0
- package/dist/common/constants/ApiEndpoints/index.es.js +50 -0
- package/dist/common/constants/Category/index.es.js +301 -0
- package/dist/common/constants/Connect/index.es.js +5 -0
- package/dist/common/constants/DateFormats/index.es.js +65 -0
- package/dist/common/constants/DefaultConfig/index.es.js +105 -0
- package/dist/common/constants/Donut/index.es.js +5 -0
- package/dist/common/constants/FinStrong/index.es.js +31 -0
- package/dist/common/constants/Numbers/index.es.js +6 -0
- package/dist/common/constants/ScheduledPayment/index.es.js +15 -0
- package/dist/common/constants/Sizes/index.es.js +6 -0
- package/dist/common/constants/SpendingPlan/index.es.js +11 -0
- package/dist/common/constants/Table/index.es.js +16 -0
- package/dist/common/context/GlobalDataProvider/index.es.js +23 -0
- package/dist/common/context/WidgetContainerProvider/index.es.js +17 -0
- package/dist/common/context/hooks/index.es.js +44 -0
- package/dist/common/context/hooks.d.ts +13 -13
- package/dist/common/hooks/useCombineEvents/index.es.js +20 -0
- package/dist/common/hooks/useDimensions/index.es.js +36 -0
- package/dist/common/hooks/useInsightsEnabled/index.es.js +11 -0
- package/dist/common/hooks/usePrevious/index.es.js +11 -0
- package/dist/common/hooks/useScreenSize/index.es.js +36 -0
- package/dist/common/index.es.js +234 -0
- package/dist/common/stores/AppDataStore/index.es.js +57 -0
- package/dist/common/stores/ConnectStore/index.es.js +15 -0
- package/dist/common/stores/GlobalCopyStore/index.es.js +35 -0
- package/dist/common/stores/GlobalStore/index.es.js +90 -0
- package/dist/common/stores/GlobalUiStore/index.es.js +54 -0
- package/dist/common/stores/UserStore/index.es.js +50 -0
- package/dist/common/types/Account/index.es.js +118 -0
- package/dist/common/types/Beat/index.es.js +4 -0
- package/dist/common/types/Expense/index.es.js +5 -0
- package/dist/common/types/Goal/index.es.js +6 -0
- package/dist/common/types/Notification/index.es.js +7 -0
- package/dist/common/types/RepeatingTransaction/index.es.js +7 -0
- package/dist/common/types/ScreenSize/index.es.js +4 -0
- package/dist/common/types/Transaction/index.es.js +5 -0
- package/dist/common/utils/AccountFilter/index.es.js +13 -0
- package/dist/common/utils/Analytics/index.es.js +36 -0
- package/dist/common/utils/Categories/index.es.js +37 -0
- package/dist/common/utils/DateUtil/index.es.js +48 -0
- package/dist/common/utils/Fetch/index.es.js +69 -0
- package/dist/common/utils/Localization/index.es.js +30 -0
- package/dist/common/utils/NumberFormatting/index.es.js +38 -0
- package/dist/common/utils/PostMessage/index.es.js +19 -0
- package/dist/common/utils/Theme/index.es.js +136 -0
- package/dist/dashboard/Dashboard/index.es.js +47 -0
- package/dist/dashboard/Greeting/index.es.js +71 -0
- package/dist/dashboard/constants/Dashboard/index.es.js +4 -0
- package/dist/dashboard/index.es.js +6 -0
- package/dist/debts/DebtsWidget/index.es.js +111 -0
- package/dist/debts/components/DebtDrawer/index.es.js +28 -0
- package/dist/debts/components/DebtsChart/index.es.js +134 -0
- package/dist/debts/components/DebtsTable/AccountCell/index.es.js +24 -0
- package/dist/debts/components/DebtsTable/PriorityCell/index.es.js +32 -0
- package/dist/debts/components/DebtsTable/index.es.js +174 -0
- package/dist/debts/components/PaydownDrawer/index.es.js +21 -0
- package/dist/debts/components/SnowballCard/index.es.js +65 -0
- package/dist/debts/components/SnowballDrawer/index.es.js +374 -0
- package/dist/debts/components/actions/DebtsPriorityAction/index.es.js +28 -0
- package/dist/debts/components/actions/ExtraPaymentAction/index.es.js +46 -0
- package/dist/debts/components/actions/InterestRateAction/index.es.js +42 -0
- package/dist/debts/components/actions/MonthlyPaymentAction/index.es.js +44 -0
- package/dist/debts/components/actions/OriginalBalanceAction/index.es.js +44 -0
- package/dist/debts/components/debtsdrawer/DebtDetailsChart/index.es.js +41 -0
- package/dist/debts/components/debtsdrawer/DebtDetailsContent/index.es.js +51 -0
- package/dist/debts/components/debtsdrawer/DebtDetailsTab/index.es.js +38 -0
- package/dist/debts/components/debtsdrawer/DebtScheduleTab/index.es.js +80 -0
- package/dist/debts/components/debtsdrawer/DebtStatusCard/index.es.js +61 -0
- package/dist/debts/components/debtspaydown/PaydownButton/index.es.js +25 -0
- package/dist/debts/components/debtspaydown/PaydownContent/index.es.js +31 -0
- package/dist/debts/components/debtspriority/DebtsPriorityButton/index.es.js +34 -0
- package/dist/debts/components/debtspriority/DebtsPrioriyPopover/index.es.js +74 -0
- package/dist/debts/constants/index/index.es.js +4 -0
- package/dist/debts/hooks/useDebtsUiStore/index.es.js +11 -0
- package/dist/debts/index.es.js +10 -0
- package/dist/debts/store/DebtsStore/index.es.js +20 -0
- package/dist/debts/store/DebtsUiStore/index.es.js +23 -0
- package/dist/debts/utils/DebtStore/index.es.js +26 -0
- package/dist/debts/utils/DebtsChart/index.es.js +13 -0
- package/dist/debts/utils/DebtsTable/index.es.js +15 -0
- package/dist/debts/utils/DebtsWidget/index.es.js +42 -0
- package/dist/debts/utils/SnowballCard/index.es.js +37 -0
- package/dist/debts/utils/shared/index.es.js +21 -0
- package/dist/finstrong/FinancialStrengthCard/index.es.js +113 -0
- package/dist/finstrong/FinstrongWidget/index.es.js +141 -0
- package/dist/finstrong/api/FinstrongApi/index.es.js +15 -0
- package/dist/finstrong/components/ConnectMoreAccountsCard/index.es.js +76 -0
- package/dist/finstrong/components/CreditScoreGraph/index.es.js +75 -0
- package/dist/finstrong/components/FinancialStrengthGraph/index.es.js +30 -0
- package/dist/finstrong/components/KeyIndicatorsBorrowTab/index.es.js +63 -0
- package/dist/finstrong/components/KeyIndicatorsDrawer/index.es.js +49 -0
- package/dist/finstrong/components/KeyIndicatorsSaveTab/index.es.js +63 -0
- package/dist/finstrong/components/KeyIndicatorsSpendTab/index.es.js +58 -0
- package/dist/finstrong/components/KeyIndicatorsTabItem/index.es.js +58 -0
- package/dist/finstrong/components/KeyIndicatorsTabsWidget/index.es.js +68 -0
- package/dist/finstrong/components/ManageCreditScore/index.es.js +49 -0
- package/dist/finstrong/components/ManageDOB/index.es.js +62 -0
- package/dist/finstrong/components/MissingData/index.es.js +38 -0
- package/dist/finstrong/components/ProfileDrawer/index.es.js +107 -0
- package/dist/finstrong/components/ProfileList/index.es.js +56 -0
- package/dist/finstrong/components/ProfileProgressBar/index.es.js +26 -0
- package/dist/finstrong/components/ScoreHistoryDrawer/index.es.js +69 -0
- package/dist/finstrong/components/shared/CustomPieArc/index.es.js +63 -0
- package/dist/finstrong/components/shared/DialScoreCard/index.es.js +190 -0
- package/dist/finstrong/components/shared/ScoreHistoryTimeline/index.es.js +106 -0
- package/dist/finstrong/components/shared/ScoreHistoryTimelineItem/index.es.js +20 -0
- package/dist/finstrong/index.es.js +14 -0
- package/dist/finstrong/stores/FinstrongStore/index.es.js +81 -0
- package/dist/finstrong/util/finstrongUtils/index.es.js +108 -0
- package/dist/finstrong/utils/Finstrong/index.es.js +13 -0
- package/dist/goals/GoalsMicroWidget/index.es.js +51 -0
- package/dist/goals/GoalsWidget/index.es.js +138 -0
- package/dist/goals/api/GoalApi/index.es.js +26 -0
- package/dist/goals/components/AccountSelectionDrawer/index.es.js +73 -0
- package/dist/goals/components/AddGoal/AddGoalListItem/index.es.js +51 -0
- package/dist/goals/components/AddGoal/index.es.js +56 -0
- package/dist/goals/components/GoalDetails/index.es.js +69 -0
- package/dist/goals/components/GoalDetailsDrawer/index.es.js +82 -0
- package/dist/goals/components/GoalList/index.es.js +87 -0
- package/dist/goals/components/GoalStatusCard/index.es.js +59 -0
- package/dist/goals/components/ManageGoals/CompleteListItem/index.es.js +35 -0
- package/dist/goals/components/ManageGoals/OngoingListItem/index.es.js +47 -0
- package/dist/goals/components/ManageGoals/ReorderGoals/index.es.js +118 -0
- package/dist/goals/components/ManageGoals/index.es.js +74 -0
- package/dist/goals/components/TabTitle/index.es.js +12 -0
- package/dist/goals/components/actions/AccountAction/index.es.js +46 -0
- package/dist/goals/components/actions/AddRetirementAccountAction/index.es.js +66 -0
- package/dist/goals/components/actions/AmountToSaveAction/index.es.js +46 -0
- package/dist/goals/components/actions/BirthdayAction/index.es.js +42 -0
- package/dist/goals/components/actions/ChangeAccountAction/index.es.js +91 -0
- package/dist/goals/components/actions/ContributionAction/index.es.js +46 -0
- package/dist/goals/components/actions/GoalNameAction/index.es.js +42 -0
- package/dist/goals/components/actions/InterestRateAction/index.es.js +44 -0
- package/dist/goals/components/actions/MonthlyPaymentAction/index.es.js +45 -0
- package/dist/goals/components/actions/OriginalBalanceAction/index.es.js +45 -0
- package/dist/goals/components/actions/RetirementAgeAction/index.es.js +43 -0
- package/dist/goals/components/micro/GoalMicroStatusCard/index.es.js +42 -0
- package/dist/goals/components/micro/GoalsMicroEmptyState/index.es.js +31 -0
- package/dist/goals/index.es.js +10 -0
- package/dist/goals/stores/GoalStore/index.es.js +184 -0
- package/dist/goals/util/GoalsUtil/index.es.js +98 -0
- package/dist/help/HelpWidget/index.es.js +13 -0
- package/dist/help/api/HelpApi/index.es.js +12 -0
- package/dist/help/components/Help/index.es.js +45 -0
- package/dist/help/components/HelpContent/index.es.js +32 -0
- package/dist/help/components/HelpList/index.es.js +118 -0
- package/dist/help/components/content/BottomImageContent/index.es.js +50 -0
- package/dist/help/components/content/ContentItem/index.es.js +21 -0
- package/dist/help/components/content/Header/index.es.js +62 -0
- package/dist/help/components/content/LeftImageContent/index.es.js +50 -0
- package/dist/help/components/content/NoImageContent/index.es.js +14 -0
- package/dist/help/components/content/RightImageContent/index.es.js +48 -0
- package/dist/help/components/content/TopImageContent/index.es.js +50 -0
- package/dist/help/components/content/section/Accounts/index.es.js +249 -0
- package/dist/help/components/content/section/Budgets/index.es.js +102 -0
- package/dist/help/components/content/section/CashFlow/index.es.js +71 -0
- package/dist/help/components/content/section/Debts/index.es.js +252 -0
- package/dist/help/components/content/section/General/index.es.js +163 -0
- package/dist/help/components/content/section/Goals/index.es.js +195 -0
- package/dist/help/components/content/section/Insights/index.es.js +136 -0
- package/dist/help/components/content/section/Investments/index.es.js +71 -0
- package/dist/help/components/content/section/Mobile/index.es.js +85 -0
- package/dist/help/components/content/section/NetWorth/index.es.js +142 -0
- package/dist/help/components/content/section/Notifications/index.es.js +120 -0
- package/dist/help/components/content/section/RecurringTransactions/index.es.js +104 -0
- package/dist/help/components/content/section/Spending/index.es.js +112 -0
- package/dist/help/components/content/section/Transactions/index.es.js +389 -0
- package/dist/help/components/content/section/Trends/index.es.js +83 -0
- package/dist/help/components/content/section/index/index.es.js +35 -0
- package/dist/help/components/content/section/index.d.ts +15 -15
- package/dist/help/components/requestsupport/ContactSupport/index.es.js +99 -0
- package/dist/help/components/requestsupport/HelpByCategoryList/index.es.js +82 -0
- package/dist/help/components/requestsupport/MissingInstitution/index.es.js +95 -0
- package/dist/help/components/requestsupport/PopularTopicsDrawer/index.es.js +50 -0
- package/dist/help/components/requestsupport/PopularTopicsList/index.es.js +22 -0
- package/dist/help/components/requestsupport/PopularTopicsRow/index.es.js +30 -0
- package/dist/help/components/requestsupport/RequestSupport/index.es.js +179 -0
- package/dist/help/components/requestsupport/RequestSupportFooter/index.es.js +26 -0
- package/dist/help/components/requestsupport/RequestSupportHeader/index.es.js +39 -0
- package/dist/help/components/requestsupport/RequestSupportInstitution/index.es.js +75 -0
- package/dist/help/components/requestsupport/SupportSuccessMessage/index.es.js +29 -0
- package/dist/help/constants/Help/index.es.js +299 -0
- package/dist/help/constants/HelpImages/index.es.js +47 -0
- package/dist/help/index.es.js +6 -0
- package/dist/help/store/HelpStore/index.es.js +42 -0
- package/dist/help/utils/getAccessibleHelpCategories/index.es.js +21 -0
- package/dist/help/utils/getInstitutionsBasedOnGuid/index.es.js +14 -0
- package/dist/index.d.ts +0 -22
- package/dist/insights/index.d.ts +1 -0
- package/dist/insights/index.es.js +4 -0
- package/dist/insights/store/BeatStore/index.es.js +35 -0
- package/dist/investments/InvestmentsWidget/index.es.js +107 -0
- package/dist/investments/api/HoldingApi/index.es.js +13 -0
- package/dist/investments/components/Allocation/InvestementAllocationList/index.es.js +126 -0
- package/dist/investments/components/Allocation/InvestmentsAllocationChart/index.es.js +67 -0
- package/dist/investments/components/Allocation/index.es.js +67 -0
- package/dist/investments/components/Allocation/util/createInvestementsAllocationData/index.es.js +134 -0
- package/dist/investments/components/Analysis/index.es.js +169 -0
- package/dist/investments/components/AnalysisDetails/index.es.js +81 -0
- package/dist/investments/components/EmptyStateFooterComponent/index.es.js +52 -0
- package/dist/investments/components/HeaderCell/index.es.js +11 -0
- package/dist/investments/components/HoldingDrawer/index.es.js +322 -0
- package/dist/investments/components/HoldingTable/index.es.js +183 -0
- package/dist/investments/components/InfoToolTip/index.es.js +25 -0
- package/dist/investments/components/Overview/index.es.js +441 -0
- package/dist/investments/components/TabTitle/index.es.js +6 -0
- package/dist/investments/constants/index/index.es.js +53 -0
- package/dist/investments/index.es.js +4 -0
- package/dist/investments/stores/HoldingStore/index.es.js +59 -0
- package/dist/investments/util/InvestmentUtil/index.es.js +100 -0
- package/dist/merchants/api/MerchantApi/index.es.js +16 -0
- package/dist/merchants/components/MerchantLookup/index.es.js +77 -0
- package/dist/merchants/index.es.js +6 -0
- package/dist/merchants/stores/MerchantStore/index.es.js +26 -0
- package/dist/microinsights/analytics/index.es.js +10 -0
- package/dist/microinsights/components/MicroWidgetContainer/index.es.js +28 -0
- package/dist/microinsights/components/beatCard/BeatCard/index.es.js +98 -0
- package/dist/microinsights/components/beaticons/BeatCategoryIcon/index.es.js +13 -0
- package/dist/microinsights/components/beaticons/BeatIcon/index.es.js +22 -0
- package/dist/microinsights/components/beaticons/BeatMerchantLogo/index.es.js +24 -0
- package/dist/microinsights/components/beaticons/ChartFilledIcon/index.es.js +31 -0
- package/dist/microinsights/components/beaticons/MonthlySpendComparisonIcon/index.es.js +14 -0
- package/dist/microinsights/components/beaticons/ZeroStateIcon/index.es.js +786 -0
- package/dist/microinsights/components/carouselheader/CarouselHeader/index.es.js +82 -0
- package/dist/microinsights/components/insightsmicrowidget/InsightsMicroWidget/index.es.js +105 -0
- package/dist/microinsights/components/microBeatCarousel/CarouselControls/index.es.js +101 -0
- package/dist/microinsights/components/microBeatCarousel/MicroBeatCarousel/index.es.js +187 -0
- package/dist/microinsights/components/microInsightCard/MicroInsightCard/index.es.js +152 -0
- package/dist/microinsights/components/noRelevantInsightsCard/NoRelevantInsightsCard/index.es.js +67 -0
- package/dist/microinsights/components/spinner/Spinner/index.es.js +19 -0
- package/dist/microinsights/components/viewMoreMicroCard/ViewMoreMicroCard/index.es.js +58 -0
- package/dist/microinsights/components/zeroStateCard/ZeroStateCard/index.es.js +55 -0
- package/dist/microinsights/constants/Analytics/index.es.js +163 -0
- package/dist/microinsights/constants/App/index.es.js +11 -0
- package/dist/microinsights/context/InsightsMicroWidgetDataProvider/index.es.js +12 -0
- package/dist/microinsights/context/hooks/index.es.js +31 -0
- package/dist/microinsights/index.es.js +28 -0
- package/dist/microinsights/stores/AppStore/index.es.js +25 -0
- package/dist/microinsights/stores/CopyStore/index.es.js +32 -0
- package/dist/microinsights/stores/InsightsMicroWidgetStore/index.es.js +31 -0
- package/dist/microinsights/utils/DataSeries/index.es.js +9 -0
- package/dist/microinsights/utils/beatUtils/index.es.js +51 -0
- package/dist/networth/NetWorthMicroWidget/index.es.js +44 -0
- package/dist/networth/NetWorthWidget/index.es.js +159 -0
- package/dist/networth/components/AssetsLiabilitiesDetail/index.es.js +109 -0
- package/dist/networth/components/GainsLossesDetail/index.es.js +94 -0
- package/dist/networth/components/NetWorthChange/index.es.js +31 -0
- package/dist/networth/components/NetWorthChart/index.es.js +45 -0
- package/dist/networth/components/NetWorthList/index.es.js +60 -0
- package/dist/networth/components/NetWorthListItem/index.es.js +60 -0
- package/dist/networth/components/NetWorthSummary/index.es.js +20 -0
- package/dist/networth/components/micro/NetworthData/index.es.js +21 -0
- package/dist/networth/components/micro/ZeroState/index.es.js +14 -0
- package/dist/networth/index.es.js +14 -0
- package/dist/networth/stores/NetWorthStore/index.es.js +65 -0
- package/dist/networth/utils/NetWorthUtils/index.es.js +95 -0
- package/dist/notifications/components/DateRow/index.es.js +8 -0
- package/dist/notifications/components/NotificationBadge/index.es.js +26 -0
- package/dist/notifications/components/NotificationCard/index.es.js +42 -0
- package/dist/notifications/components/NotificationDrawer/index.es.js +67 -0
- package/dist/notifications/components/NotificationList/index.es.js +36 -0
- package/dist/notifications/components/NotificationsEmptyState/index.es.js +34 -0
- package/dist/notifications/constants/NotificationConstants/index.es.js +22 -0
- package/dist/notifications/index.es.js +12 -0
- package/dist/notifications/stores/NotificationStore/index.es.js +37 -0
- package/dist/notifications/utils/NotificationUtils/index.es.js +16 -0
- package/dist/recurringtransactions/RecurringTransactionsMicroWidget/index.es.js +179 -0
- package/dist/recurringtransactions/RecurringTransactionsMiniWidget/index.es.js +37 -0
- package/dist/recurringtransactions/RecurringTransactionsWidget/index.es.js +67 -0
- package/dist/recurringtransactions/ZeroStateMicroWidget/index.es.js +19 -0
- package/dist/recurringtransactions/api/RepeatingTransactionsApi/index.es.js +18 -0
- package/dist/recurringtransactions/components/MiniWidgetContent/index.es.js +32 -0
- package/dist/recurringtransactions/components/PaymentSchedule/index.es.js +100 -0
- package/dist/recurringtransactions/components/RecurrenceBadges/index.es.js +20 -0
- package/dist/recurringtransactions/components/RecurrenceList/index.es.js +69 -0
- package/dist/recurringtransactions/components/RecurrenceRow/index.es.js +149 -0
- package/dist/recurringtransactions/components/RecurringStatus/index.es.js +42 -0
- package/dist/recurringtransactions/components/RecurringTransactionDetails/index.es.js +130 -0
- package/dist/recurringtransactions/components/RecurringTransactions/index.es.js +163 -0
- package/dist/recurringtransactions/components/actions/PaymentScheduleAction/index.es.js +56 -0
- package/dist/recurringtransactions/components/micro/MerchantLogosRow/index.es.js +17 -0
- package/dist/recurringtransactions/components/micro/OverlappingMerchantLogos/index.es.js +44 -0
- package/dist/recurringtransactions/components/micro/RecurrenceLegend/index.es.js +31 -0
- package/dist/recurringtransactions/components/recurrencecalendar/Legend/index.es.js +32 -0
- package/dist/recurringtransactions/components/recurrencecalendar/RecurrenceCalendar/index.es.js +84 -0
- package/dist/recurringtransactions/components/recurrencecalendar/RecurrenceDay/index.es.js +68 -0
- package/dist/recurringtransactions/components/shared/recurringsettings/AddRecurringTransaction/index.es.js +114 -0
- package/dist/recurringtransactions/components/shared/recurringsettings/AddRecurringTransactionDetails/index.es.js +44 -0
- package/dist/recurringtransactions/components/shared/recurringsettings/ManageExpenses/index.es.js +31 -0
- package/dist/recurringtransactions/components/shared/recurringsettings/ManageIncome/index.es.js +38 -0
- package/dist/recurringtransactions/components/shared/recurringsettings/RecurringRow/index.es.js +108 -0
- package/dist/recurringtransactions/components/shared/recurringsettings/SelectTransaction/index.es.js +37 -0
- package/dist/recurringtransactions/components/shared/recurringsettings/index.es.js +36 -0
- package/dist/recurringtransactions/index.es.js +20 -0
- package/dist/recurringtransactions/stores/RecurringTransactionsStore/index.es.js +247 -0
- package/dist/recurringtransactions/util/RecurringTransactions/index.es.js +232 -0
- package/dist/settings/NotificationSettingsWidget/index.es.js +13 -0
- package/dist/settings/SettingsWidget/index.es.js +55 -0
- package/dist/settings/TransactionRulesWidget/index.es.js +12 -0
- package/dist/settings/api/SettingsApi/index.es.js +23 -0
- package/dist/settings/components/SettingsWidgetContents/index.es.js +47 -0
- package/dist/settings/components/devices/DeviceDialog/index.es.js +129 -0
- package/dist/settings/components/devices/DeviceList/index.es.js +118 -0
- package/dist/settings/components/devices/DeviceTab/index.es.js +79 -0
- package/dist/settings/components/devices/DeviceTable/index.es.js +134 -0
- package/dist/settings/components/notifications/AccountNotificationProfile/index.es.js +80 -0
- package/dist/settings/components/notifications/AccountNotificationProfiles/index.es.js +55 -0
- package/dist/settings/components/notifications/AccountProfileListItem/index.es.js +102 -0
- package/dist/settings/components/notifications/BudgetNotificationProfiles/index.es.js +12 -0
- package/dist/settings/components/notifications/DeliveryMethods/index.es.js +77 -0
- package/dist/settings/components/notifications/InsightsNotificationProfiles/index.es.js +12 -0
- package/dist/settings/components/notifications/NotificationProfile/index.es.js +96 -0
- package/dist/settings/components/notifications/NotificationSettings/index.es.js +89 -0
- package/dist/settings/components/notifications/PersonalDetails/index.es.js +99 -0
- package/dist/settings/components/profile/ProfileTab/index.es.js +204 -0
- package/dist/settings/components/profile/actions/VerifyEmailAction/index.es.js +63 -0
- package/dist/settings/components/profile/actions/VerifyPhoneAction/index.es.js +80 -0
- package/dist/settings/components/profile/actions/VerifyTokenAction/index.es.js +36 -0
- package/dist/settings/components/transactionrules/TransactionRulesTab/index.es.js +23 -0
- package/dist/settings/components/transactionrules/actions/DeleteRuleAction/index.es.js +34 -0
- package/dist/settings/components/transactionrules/actions/EditCategoryAction/index.es.js +38 -0
- package/dist/settings/components/transactionrules/actions/EditPayeeAction/index.es.js +52 -0
- package/dist/settings/components/transactionrules/actions/EditRuleAction/index.es.js +33 -0
- package/dist/settings/components/transactionrules/components/EditRuleDetails/index.es.js +52 -0
- package/dist/settings/components/transactionrules/components/RuleListItem/index.es.js +20 -0
- package/dist/settings/constants/Settings/index.es.js +4 -0
- package/dist/settings/index.es.js +29 -0
- package/dist/settings/stores/SettingsStore/index.es.js +187 -0
- package/dist/settings/util/Notifications/index.es.js +64 -0
- package/dist/spending/SpendingMiniWidget/index.es.js +26 -0
- package/dist/spending/SpendingWidget/index.es.js +38 -0
- package/dist/spending/components/MiniSpendingChart/index.es.js +115 -0
- package/dist/spending/components/Spending/index.es.js +141 -0
- package/dist/spending/components/SpendingChart/index.es.js +61 -0
- package/dist/spending/components/SpendingDonut/index.es.js +69 -0
- package/dist/spending/components/SpendingLegend/index.es.js +25 -0
- package/dist/spending/components/SpendingList/index.es.js +96 -0
- package/dist/spending/components/SpendingTabLabel/index.es.js +11 -0
- package/dist/spending/index.es.js +6 -0
- package/dist/spending/utils/SpendingData/index.es.js +86 -0
- package/dist/transactions/TransactionWidget/index.es.js +242 -0
- package/dist/transactions/analytics/index.es.js +5 -0
- package/dist/transactions/api/TransactionApi/index.es.js +87 -0
- package/dist/transactions/components/shared/TransactionDetails/Description/index.es.js +68 -0
- package/dist/transactions/components/shared/TransactionDetails/FlagTransaction/index.es.js +43 -0
- package/dist/transactions/components/shared/TransactionDetails/ManualTransactionDetails/index.es.js +126 -0
- package/dist/transactions/components/shared/TransactionDetails/TransactionAmountHeader/index.es.js +27 -0
- package/dist/transactions/components/shared/TransactionDetails/actions/CategoryAction/index.es.js +105 -0
- package/dist/transactions/components/shared/TransactionDetails/actions/DateAction/index.es.js +81 -0
- package/dist/transactions/components/shared/TransactionDetails/actions/DeleteAction/index.es.js +60 -0
- package/dist/transactions/components/shared/TransactionDetails/actions/DeleteLogoAction/index.es.js +60 -0
- package/dist/transactions/components/shared/TransactionDetails/actions/HideAction/index.es.js +90 -0
- package/dist/transactions/components/shared/TransactionDetails/actions/MemoAction/index.es.js +91 -0
- package/dist/transactions/components/shared/TransactionDetails/actions/SplitAction/index.es.js +143 -0
- package/dist/transactions/components/shared/TransactionDetails/actions/TagsAction/index.es.js +75 -0
- package/dist/transactions/components/shared/TransactionDetails/index.es.js +79 -0
- package/dist/transactions/components/shared/TransactionList/TransactionRow/index.es.js +84 -0
- package/dist/transactions/components/shared/TransactionList/ZeroState/index.es.js +17 -0
- package/dist/transactions/components/shared/TransactionList/index.es.js +82 -0
- package/dist/transactions/components/shared/TransactionTable/cells/AccountCell/index.es.js +9 -0
- package/dist/transactions/components/shared/TransactionTable/cells/AmountCell/index.es.js +20 -0
- package/dist/transactions/components/shared/TransactionTable/cells/CategoryCell/index.es.js +29 -0
- package/dist/transactions/components/shared/TransactionTable/cells/DateCell/index.es.js +8 -0
- package/dist/transactions/components/shared/TransactionTable/cells/FlagCell/index.es.js +38 -0
- package/dist/transactions/components/shared/TransactionTable/cells/HeaderCell/index.es.js +6 -0
- package/dist/transactions/components/shared/TransactionTable/cells/PayeeCell/index.es.js +16 -0
- package/dist/transactions/components/shared/TransactionTable/index.es.js +110 -0
- package/dist/transactions/components/splitmanager/SplitManager/index.es.js +69 -0
- package/dist/transactions/components/splitmanager/SplitRow/index.es.js +126 -0
- package/dist/transactions/components/tagmanager/Header/index.es.js +78 -0
- package/dist/transactions/components/tagmanager/SearchBox/index.es.js +37 -0
- package/dist/transactions/components/tagmanager/TagManager/index.es.js +32 -0
- package/dist/transactions/components/tagmanager/TagRow/index.es.js +114 -0
- package/dist/transactions/components/transactionwidget/AddAccountModal/index.es.js +29 -0
- package/dist/transactions/components/transactionwidget/actions/EditCategoryAction/index.es.js +54 -0
- package/dist/transactions/constants/Actions/index.es.js +19 -0
- package/dist/transactions/constants/Analytics/index.es.js +259 -0
- package/dist/transactions/constants/OnClickEvents/index.es.js +48 -0
- package/dist/transactions/constants/Transaction/index.es.js +33 -0
- package/dist/transactions/constants/TransactionsTable/index.es.js +11 -0
- package/dist/transactions/context/hooks/index.es.js +11 -0
- package/dist/transactions/index.es.js +27 -0
- package/dist/transactions/stores/TransactionStore/index.es.js +224 -0
- package/dist/transactions/stores/UiStore/index.es.js +48 -0
- package/dist/transactions/utils/Filters/index.es.js +9 -0
- package/dist/transactions/utils/Transactions/index.es.js +13 -0
- package/dist/transactions/utils/buildDetailedTransactions/index.es.js +35 -0
- package/dist/transactions/utils/exportTransactionsToCSV/index.es.js +47 -0
- package/dist/transactions/utils/sortAndFilterTransactions/index.es.js +44 -0
- package/dist/trends/TrendsFullWidget/index.es.js +157 -0
- package/dist/trends/TrendsMicroWidget/index.es.js +86 -0
- package/dist/trends/TrendsMiniWidget/index.es.js +28 -0
- package/dist/trends/TrendsWidget/index.es.js +173 -0
- package/dist/trends/ZeroStateMicroWidget/index.es.js +19 -0
- package/dist/trends/components/CategoriesList/index.es.js +62 -0
- package/dist/trends/components/CategoriesListItem/index.es.js +25 -0
- package/dist/trends/components/CategoryDetailChart/index.es.js +34 -0
- package/dist/trends/components/CategoryDetailDrawer/index.es.js +44 -0
- package/dist/trends/components/DateRangeText/index.es.js +39 -0
- package/dist/trends/components/SpendingChart/index.es.js +28 -0
- package/dist/trends/components/TransactionsList/index.es.js +81 -0
- package/dist/trends/components/TrendsChart/index.es.js +45 -0
- package/dist/trends/components/TrendsChartTotals/index.es.js +56 -0
- package/dist/trends/components/TrendsDrawer/index.es.js +48 -0
- package/dist/trends/components/TrendsInsights/index.es.js +43 -0
- package/dist/trends/components/TrendsMicroSpendingIncomeBox/index.es.js +96 -0
- package/dist/trends/components/TrendsTable/AmountCell/index.es.js +10 -0
- package/dist/trends/components/TrendsTable/CategoryCell/index.es.js +30 -0
- package/dist/trends/components/TrendsTable/HeaderCell/index.es.js +6 -0
- package/dist/trends/components/TrendsTable/index.es.js +96 -0
- package/dist/trends/components/TrendsViewToggle/index.es.js +17 -0
- package/dist/trends/constants/TrendsInsights/index.es.js +38 -0
- package/dist/trends/index.es.js +12 -0
- package/dist/trends/stores/TrendsStore/index.es.js +77 -0
- package/dist/trends/utils/SpendingData/index.es.js +47 -0
- package/dist/trends/utils/TrendsData/index.es.js +41 -0
- package/dist/trends/utils/shared/index.es.js +15 -0
- package/package.json +155 -3
- package/dist/index.es.js +0 -30335
- package/dist/index.es.js.map +0 -1
- /package/dist/budgets/components/{bubblechart → BubbleChart}/Bubble.d.ts +0 -0
- /package/dist/budgets/components/{bubblechart → BubbleChart}/Mercury.d.ts +0 -0
- /package/dist/budgets/components/{budgetlist → BudgetList}/BudgetRow.d.ts +0 -0
- /package/dist/budgets/components/{budgetlist → BudgetList}/SubBudgetRow.d.ts +0 -0
- /package/dist/budgets/components/{budgetlist → BudgetList}/SubBudgetZeroState.d.ts +0 -0
- /package/dist/common/components/charts/{linechart → LineChart}/CustomLegend.d.ts +0 -0
- /package/dist/common/components/charts/{linechart → LineChart}/CustomLine.d.ts +0 -0
- /package/dist/common/components/charts/{linechart → LineChart}/CustomMark.d.ts +0 -0
- /package/dist/common/components/charts/{linechart → LineChart}/CustomTooltip.d.ts +0 -0
- /package/dist/common/components/charts/{stackedlinechart → StackedLineChart}/CategoryIconLabel.d.ts +0 -0
- /package/dist/common/components/charts/{stackedlinechart → StackedLineChart}/CustomAreaTooltip.d.ts +0 -0
- /package/dist/common/components/charts/{stackedlinechart → StackedLineChart}/CustomLegend.d.ts +0 -0
- /package/dist/common/components/charts/{stackedlinechart → StackedLineChart}/CustomPointTooltip.d.ts +0 -0
- /package/dist/common/components/charts/{stackedlinechart → StackedLineChart}/utils.d.ts +0 -0
- /package/dist/debts/components/{debtstable → DebtsTable}/AccountCell.d.ts +0 -0
- /package/dist/debts/components/{debtstable → DebtsTable}/PriorityCell.d.ts +0 -0
- /package/dist/goals/components/{addgoal → AddGoal}/AddGoalListItem.d.ts +0 -0
- /package/dist/goals/components/{managegoals → ManageGoals}/CompleteListItem.d.ts +0 -0
- /package/dist/goals/components/{managegoals → ManageGoals}/OngoingListItem.d.ts +0 -0
- /package/dist/goals/components/{managegoals → ManageGoals}/ReorderGoals.d.ts +0 -0
- /package/dist/investments/components/{allocation → Allocation}/InvestementAllocationList.d.ts +0 -0
- /package/dist/investments/components/{allocation → Allocation}/InvestmentsAllocationChart.d.ts +0 -0
- /package/dist/investments/components/{allocation → Allocation}/util/createInvestementsAllocationData.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/Description.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/FlagTransaction.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/ManualTransactionDetails.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/TransactionAmountHeader.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/actions/CategoryAction.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/actions/DateAction.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/actions/DeleteAction.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/actions/DeleteLogoAction.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/actions/HideAction.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/actions/MemoAction.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/actions/SplitAction.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/actions/TagsAction.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/actions/index.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactionlist → TransactionList}/DateRow.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactionlist → TransactionList}/TransactionRow.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactionlist → TransactionList}/ZeroState.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactiontable → TransactionTable}/cells/AccountCell.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactiontable → TransactionTable}/cells/AmountCell.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactiontable → TransactionTable}/cells/CategoryCell.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactiontable → TransactionTable}/cells/DateCell.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactiontable → TransactionTable}/cells/FlagCell.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactiontable → TransactionTable}/cells/HeaderCell.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactiontable → TransactionTable}/cells/PayeeCell.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactiontable → TransactionTable}/cells/index.d.ts +0 -0
- /package/dist/trends/components/{trendstable → TrendsTable}/AmountCell.d.ts +0 -0
- /package/dist/trends/components/{trendstable → TrendsTable}/CategoryCell.d.ts +0 -0
- /package/dist/trends/components/{trendstable → TrendsTable}/HeaderCell.d.ts +0 -0
|
@@ -0,0 +1,242 @@
|
|
|
1
|
+
import { jsx as o, jsxs as pt } from "react/jsx-runtime";
|
|
2
|
+
import e from "react";
|
|
3
|
+
import { observer as Ct } from "mobx-react-lite";
|
|
4
|
+
import { endOfMonth as ft } from "date-fns/endOfMonth";
|
|
5
|
+
import { getUnixTime as At } from "date-fns/getUnixTime";
|
|
6
|
+
import { startOfMonth as _t } from "date-fns/startOfMonth";
|
|
7
|
+
import { startOfToday as h } from "date-fns/startOfToday";
|
|
8
|
+
import g from "@mui/material/Box";
|
|
9
|
+
import Tt from "@mui/material/styles/useTheme";
|
|
10
|
+
import { useTransactionsUiStore as St } from "../context/hooks/index.es.js";
|
|
11
|
+
import { DEFAULT_TRANSACTION as ht } from "../constants/Transaction/index.es.js";
|
|
12
|
+
import { exportTransactionsToCSV as gt } from "../utils/exportTransactionsToCSV/index.es.js";
|
|
13
|
+
import yt from "../../common/components/ConnectDrawer/index.es.js";
|
|
14
|
+
import bt from "../components/shared/transactiondetails/ManualTransactionDetails/index.es.js";
|
|
15
|
+
import Dt from "../components/shared/TransactionDetails/index.es.js";
|
|
16
|
+
import It from "../components/shared/TransactionList/index.es.js";
|
|
17
|
+
import Ot from "../components/shared/TransactionTable/index.es.js";
|
|
18
|
+
import Nt from "../components/transactionwidget/AddAccountModal/index.es.js";
|
|
19
|
+
import wt from "../components/transactionwidget/actions/EditCategoryAction/index.es.js";
|
|
20
|
+
import { useCategoryUiStore as Et } from "../../categories/context/hooks/index.es.js";
|
|
21
|
+
import { useAccountStore as Rt, useAppConfig as kt, useEvent as Lt, useGlobalCopyStore as xt, useGlobalUiStore as Mt, useTransactionStore as vt, useUserStore as Wt } from "../../common/context/hooks/index.es.js";
|
|
22
|
+
import Ut from "../../common/components/WidgetContainer/index.es.js";
|
|
23
|
+
import { useScreenSize as Vt } from "../../common/hooks/useScreenSize/index.es.js";
|
|
24
|
+
import { ANALYTICS_EVENTS as r } from "../../common/constants/Analytics/index.es.js";
|
|
25
|
+
import Bt from "../../common/components/Loader/index.es.js";
|
|
26
|
+
import Gt from "../../common/components/SearchBox/index.es.js";
|
|
27
|
+
import L from "../../common/components/drawer/Drawer/index.es.js";
|
|
28
|
+
const x = 120, Ht = ({
|
|
29
|
+
onBackClick: M,
|
|
30
|
+
height: y = "100dvh",
|
|
31
|
+
showInsights: C = !1,
|
|
32
|
+
sx: v = {}
|
|
33
|
+
}) => {
|
|
34
|
+
const { visibleAccounts: l, refreshAccounts: W } = Rt(), { is_mobile_webview: U } = kt(), { setSearchValue: V } = Et(), { onEvent: i } = Lt(), { common: b, transactions: a } = xt(), {
|
|
35
|
+
displayedDateRange: d,
|
|
36
|
+
isCopyLoaded: B,
|
|
37
|
+
isInitialized: G,
|
|
38
|
+
selectedAccountGuids: D,
|
|
39
|
+
setDisplayedDate: I,
|
|
40
|
+
setSelectedAccounts: H
|
|
41
|
+
} = Mt(), { isDesktop: K } = Vt(), u = Tt(), {
|
|
42
|
+
addTransaction: P,
|
|
43
|
+
filter: O,
|
|
44
|
+
loadAssociatedBeats: $,
|
|
45
|
+
setFilter: f,
|
|
46
|
+
sortedTransactionsWithSplits: z,
|
|
47
|
+
tags: F,
|
|
48
|
+
transactions: j,
|
|
49
|
+
updateTransaction: X
|
|
50
|
+
} = vt(), {
|
|
51
|
+
manualTransaction: m,
|
|
52
|
+
isAmountValid: Y,
|
|
53
|
+
searchValue: q,
|
|
54
|
+
setSearchValue: J,
|
|
55
|
+
setShowInsights: Q,
|
|
56
|
+
updateManualTransaction: Z
|
|
57
|
+
} = St(), { userProfile: tt } = Wt(), [A, n] = e.useState(""), [N, p] = e.useState(""), [ot, _] = e.useState(!1), [et, w] = e.useState(!1), [T, at] = e.useState(!1);
|
|
58
|
+
e.useEffect(() => {
|
|
59
|
+
const t = l.filter((c) => !c.is_hidden), R = _t(h()), k = ft(h());
|
|
60
|
+
H(t), I(R, k), f({
|
|
61
|
+
accounts: t.map((c) => c.guid),
|
|
62
|
+
custom: (c) => !c.accountIsClosed && !c.accountIsHidden,
|
|
63
|
+
dateRange: { start: R, end: k }
|
|
64
|
+
}), at(!0), i(r.TRANSACTIONS_VIEW);
|
|
65
|
+
}, [l]), e.useEffect(() => {
|
|
66
|
+
T && (f({
|
|
67
|
+
...O,
|
|
68
|
+
accounts: D,
|
|
69
|
+
dateRange: { start: d.start, end: d.end }
|
|
70
|
+
}), $(d.start).finally());
|
|
71
|
+
}, [T, d, D]), e.useEffect(() => {
|
|
72
|
+
Q(C);
|
|
73
|
+
}, [C]);
|
|
74
|
+
const nt = e.useMemo(
|
|
75
|
+
() => l.filter((t) => t.is_manual),
|
|
76
|
+
[l]
|
|
77
|
+
), s = N ? j.find((t) => t.guid === N) : void 0, E = Y && !!m.payee && !!m.account_guid && !!m.category_guid, st = (t) => {
|
|
78
|
+
I(t[0], t[1]);
|
|
79
|
+
}, it = (t) => {
|
|
80
|
+
J(t), f({
|
|
81
|
+
...O,
|
|
82
|
+
searchTerm: t
|
|
83
|
+
}), i(r.TRANSACTIONS_CLICK_SEARCH, { search_term: t });
|
|
84
|
+
}, rt = () => {
|
|
85
|
+
gt(z, F), i(r.TRANSACTIONS_CLICK_EXPORT);
|
|
86
|
+
}, ct = () => {
|
|
87
|
+
nt.length > 0 ? (Z({
|
|
88
|
+
...ht,
|
|
89
|
+
date: At(h()),
|
|
90
|
+
user_guid: tt?.user_guid || ""
|
|
91
|
+
}), n(
|
|
92
|
+
"addTransaction"
|
|
93
|
+
/* AddTransaction */
|
|
94
|
+
), i(r.TRANSACTIONS_CLICK_ADD)) : (_(!0), i(r.TRANSACTIONS_ADD_MANUAL_ACCOUNT_MODAL));
|
|
95
|
+
}, lt = async () => {
|
|
96
|
+
E && await P(m), n("");
|
|
97
|
+
}, dt = () => {
|
|
98
|
+
_(!1), w(!0);
|
|
99
|
+
}, ut = async () => {
|
|
100
|
+
w(!1), await W();
|
|
101
|
+
}, mt = async () => {
|
|
102
|
+
s && !s.has_been_viewed && await X({ ...s, has_been_viewed: !0 }), n("");
|
|
103
|
+
};
|
|
104
|
+
if (!B || !G || !T)
|
|
105
|
+
return /* @__PURE__ */ o(Bt, {});
|
|
106
|
+
const S = [];
|
|
107
|
+
return !U && K && S.push({
|
|
108
|
+
iconName: "open_in_new",
|
|
109
|
+
label: a.export_csv_btn,
|
|
110
|
+
onClick: rt
|
|
111
|
+
}), S.push({
|
|
112
|
+
iconName: "add",
|
|
113
|
+
label: a.add_transaction_btn,
|
|
114
|
+
onClick: ct
|
|
115
|
+
}), /* @__PURE__ */ pt(
|
|
116
|
+
Ut,
|
|
117
|
+
{
|
|
118
|
+
accountOptions: l,
|
|
119
|
+
actions: S,
|
|
120
|
+
calendarActions: {
|
|
121
|
+
onRangeChanged: st
|
|
122
|
+
},
|
|
123
|
+
onAccountsFilterClick: () => i(r.ACCOUNTS_CLICK_FILTER),
|
|
124
|
+
onBackClick: M,
|
|
125
|
+
sx: v,
|
|
126
|
+
title: a.transactions_title,
|
|
127
|
+
children: [
|
|
128
|
+
/* @__PURE__ */ o(g, { mt: 16, children: /* @__PURE__ */ o(
|
|
129
|
+
Gt,
|
|
130
|
+
{
|
|
131
|
+
onChange: it,
|
|
132
|
+
placeholder: a.action_bar_search_placeholder,
|
|
133
|
+
searchValue: q
|
|
134
|
+
}
|
|
135
|
+
) }),
|
|
136
|
+
/* @__PURE__ */ o(
|
|
137
|
+
g,
|
|
138
|
+
{
|
|
139
|
+
sx: {
|
|
140
|
+
[u.breakpoints.down("md")]: { display: "none" },
|
|
141
|
+
[u.breakpoints.up("md")]: { display: "block" }
|
|
142
|
+
},
|
|
143
|
+
children: /* @__PURE__ */ o(
|
|
144
|
+
Ot,
|
|
145
|
+
{
|
|
146
|
+
height: `calc(${y} - ${x}px)`,
|
|
147
|
+
onCategoryClick: (t) => {
|
|
148
|
+
p(t), n(
|
|
149
|
+
"category"
|
|
150
|
+
/* Category */
|
|
151
|
+
);
|
|
152
|
+
},
|
|
153
|
+
onRowClick: (t) => {
|
|
154
|
+
p(t), n(
|
|
155
|
+
"transaction"
|
|
156
|
+
/* Transaction */
|
|
157
|
+
), i(r.TRANSACTIONS_CLICK_DETAILS, { transaction_guid: t });
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
)
|
|
161
|
+
}
|
|
162
|
+
),
|
|
163
|
+
/* @__PURE__ */ o(
|
|
164
|
+
g,
|
|
165
|
+
{
|
|
166
|
+
sx: {
|
|
167
|
+
[u.breakpoints.down("md")]: { display: "block" },
|
|
168
|
+
[u.breakpoints.up("md")]: { display: "none" }
|
|
169
|
+
},
|
|
170
|
+
children: /* @__PURE__ */ o(
|
|
171
|
+
It,
|
|
172
|
+
{
|
|
173
|
+
height: `calc(${y} - ${x}px)`,
|
|
174
|
+
onClick: (t) => {
|
|
175
|
+
p(t), n(
|
|
176
|
+
"transaction"
|
|
177
|
+
/* Transaction */
|
|
178
|
+
);
|
|
179
|
+
},
|
|
180
|
+
showHiddenTransactions: !0,
|
|
181
|
+
showInsights: C
|
|
182
|
+
}
|
|
183
|
+
)
|
|
184
|
+
}
|
|
185
|
+
),
|
|
186
|
+
/* @__PURE__ */ o(
|
|
187
|
+
L,
|
|
188
|
+
{
|
|
189
|
+
ariaLabelClose: b.close_aria,
|
|
190
|
+
isOpen: A === "transaction" && !!s,
|
|
191
|
+
onClose: mt,
|
|
192
|
+
title: a.details_title,
|
|
193
|
+
children: s && /* @__PURE__ */ o(Dt, { transaction: s })
|
|
194
|
+
}
|
|
195
|
+
),
|
|
196
|
+
s && A === "category" && /* @__PURE__ */ o(
|
|
197
|
+
wt,
|
|
198
|
+
{
|
|
199
|
+
onClose: () => {
|
|
200
|
+
V(""), n(""), p("");
|
|
201
|
+
},
|
|
202
|
+
transaction: s
|
|
203
|
+
}
|
|
204
|
+
),
|
|
205
|
+
/* @__PURE__ */ o(
|
|
206
|
+
L,
|
|
207
|
+
{
|
|
208
|
+
ariaLabelClose: b.close_aria,
|
|
209
|
+
isOpen: A === "addTransaction",
|
|
210
|
+
isPrimaryDisabled: !E,
|
|
211
|
+
onClose: () => n(""),
|
|
212
|
+
onPrimaryAction: lt,
|
|
213
|
+
title: a.add_transaction_title,
|
|
214
|
+
children: /* @__PURE__ */ o(bt, {})
|
|
215
|
+
}
|
|
216
|
+
),
|
|
217
|
+
/* @__PURE__ */ o(
|
|
218
|
+
Nt,
|
|
219
|
+
{
|
|
220
|
+
copy: { title: a.add_manual_account },
|
|
221
|
+
isOpen: ot,
|
|
222
|
+
onClose: () => {
|
|
223
|
+
_(!1);
|
|
224
|
+
},
|
|
225
|
+
onPrimaryAction: dt
|
|
226
|
+
}
|
|
227
|
+
),
|
|
228
|
+
/* @__PURE__ */ o(
|
|
229
|
+
yt,
|
|
230
|
+
{
|
|
231
|
+
onClose: ut,
|
|
232
|
+
showConnectWidget: et,
|
|
233
|
+
title: a.add_manual_account
|
|
234
|
+
}
|
|
235
|
+
)
|
|
236
|
+
]
|
|
237
|
+
}
|
|
238
|
+
);
|
|
239
|
+
}, Ao = Ct(Ht);
|
|
240
|
+
export {
|
|
241
|
+
Ao as default
|
|
242
|
+
};
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { Fetch as h } from "../../../common/utils/Fetch/index.es.js";
|
|
2
|
+
import { ApiEndpoints as e } from "../../../common/constants/ApiEndpoints/index.es.js";
|
|
3
|
+
class y {
|
|
4
|
+
fetchInstance;
|
|
5
|
+
constructor(t, n) {
|
|
6
|
+
this.fetchInstance = new h(t, n);
|
|
7
|
+
}
|
|
8
|
+
addTag = async (t) => this.fetchInstance.post(e.TAGS, t).then((n) => n.tag);
|
|
9
|
+
addTagging = async (t) => this.fetchInstance.post(e.TAGGINGS, t).then((n) => n.tagging);
|
|
10
|
+
addTransaction = async (t) => this.fetchInstance.post(e.TRANSACTIONS, t).then((n) => n.transaction);
|
|
11
|
+
addTransactionRule = async (t) => this.fetchInstance.post(e.TRANSACTION_RULES, t).then((n) => n);
|
|
12
|
+
getTaggings = async () => this.fetchInstance.get(e.TAGGINGS).then((t) => t.map((n) => n.tagging));
|
|
13
|
+
getTags = async () => this.fetchInstance.get(e.TAGS).then((t) => t.map((n) => n.tag));
|
|
14
|
+
getTransactionRules = async () => this.fetchInstance.get(e.TRANSACTION_RULES).then((t) => t.transaction_rules);
|
|
15
|
+
getTransactionsByDateRange = async (t, n) => this.fetchInstance.get(`${e.TRANSACTIONS}/by_date/${t}/${n}`).then((c) => c.map((a) => a.transaction));
|
|
16
|
+
// DEPRECATED
|
|
17
|
+
getTransactionsByAccountsAndDateRange = async (t, n, c) => {
|
|
18
|
+
console.warn("DEPRECATED: getTransactionsByAccountsAndDateRange will be removed");
|
|
19
|
+
const a = t.reduce(
|
|
20
|
+
(o, s, r) => `${o}account_guids[]=${s}${r !== t.length - 1 ? "&" : ""}`,
|
|
21
|
+
""
|
|
22
|
+
);
|
|
23
|
+
return this.fetchInstance.get(`${e.TRANSACTIONS}/by_date/${n}/${c}?${a}`).then((o) => o.map((s) => s.transaction));
|
|
24
|
+
};
|
|
25
|
+
// DEPRECATED
|
|
26
|
+
getTransactionsByGuids = async (t) => (console.warn("DEPRECATED: getTransactionsByGuids will be removed"), this.fetchInstance.post(`${e.TRANSACTIONS}/by_guids`, { guids: t.join("+") }).then((n) => n.map((c) => c.transaction)));
|
|
27
|
+
// DEPRECATED
|
|
28
|
+
getTransactionsByCategoryAndDate = async (t, n, c) => (console.warn("DEPRECATED: getTransactionsByCategoryAndDate will be removed"), this.fetchInstance.get(
|
|
29
|
+
`${e.TRANSACTIONS}/by_category_guid/${t}/by_date/${n}/${c}`
|
|
30
|
+
).then((a) => a.map((o) => o.transaction)));
|
|
31
|
+
// DEPRECATED
|
|
32
|
+
getTransactionsByCategoryDateAndAccounts = async (t, n, c, a) => {
|
|
33
|
+
console.warn("DEPRECATED: getTransactionsByCategoryDateAndAccounts will be removed");
|
|
34
|
+
const o = a.reduce(
|
|
35
|
+
(s, r, i) => `${s}account_guids[]=${r}${i !== a.length - 1 ? "&" : ""}`,
|
|
36
|
+
""
|
|
37
|
+
);
|
|
38
|
+
return this.fetchInstance.get(
|
|
39
|
+
`${e.TRANSACTIONS}/by_category_guid/${t}/by_date/${n}/${c}?${o}`
|
|
40
|
+
).then((s) => s.map((r) => r.transaction));
|
|
41
|
+
};
|
|
42
|
+
// DEPRECATED
|
|
43
|
+
getTransactionsByCategoriesDateAndAccounts = async (t, n, c, a) => {
|
|
44
|
+
console.warn("DEPRECATED: getTransactionsByCategoriesDateAndAccounts will be removed");
|
|
45
|
+
const o = a.reduce(
|
|
46
|
+
(s, r, i) => `${s}account_guids[]=${r}${i !== a.length - 1 ? "&" : ""}`,
|
|
47
|
+
""
|
|
48
|
+
);
|
|
49
|
+
return this.fetchInstance.get(
|
|
50
|
+
`${e.TRANSACTIONS}/by_category_guids/${t.join(
|
|
51
|
+
"+"
|
|
52
|
+
)}/by_date/${n}/${c}?${o}`
|
|
53
|
+
).then((s) => s.map((r) => r.transaction));
|
|
54
|
+
};
|
|
55
|
+
/**
|
|
56
|
+
* DEPRECATED
|
|
57
|
+
* Get all transactions by the top level category, between begin date and end date, and optionally
|
|
58
|
+
* filtered by accounts
|
|
59
|
+
* @param categoryGuid The top level category guid
|
|
60
|
+
* @param beginDate the start date
|
|
61
|
+
* @param endDate the end date
|
|
62
|
+
* @param accountGuids an optional list of account guids
|
|
63
|
+
*/
|
|
64
|
+
getTransactionsByTopLevelCategoryAndDate = async (t, n, c, a = []) => {
|
|
65
|
+
console.warn("DEPRECATED: getTransactionsByTopLevelCategoryAndDate will be removed");
|
|
66
|
+
let o = `${e.TRANSACTIONS}/by_top_level_category_guid/${t}/by_date/${n}/${c}`;
|
|
67
|
+
if (a.length > 0) {
|
|
68
|
+
const s = a.reduce(
|
|
69
|
+
(r, i, g) => `${r}account_guids[]=${i}${g !== a.length - 1 ? "&" : ""}`,
|
|
70
|
+
""
|
|
71
|
+
);
|
|
72
|
+
o += `?${s}`;
|
|
73
|
+
}
|
|
74
|
+
return this.fetchInstance.get(o).then((s) => s.map((r) => r.transaction));
|
|
75
|
+
};
|
|
76
|
+
removeTag = async (t) => this.fetchInstance.delete(`${e.TAGS}/${t}`).then((n) => n);
|
|
77
|
+
removeTagging = async (t) => this.fetchInstance.delete(`${e.TAGGINGS}/${t}`).then((n) => n);
|
|
78
|
+
removeTransaction = async (t) => this.fetchInstance.delete(`${e.TRANSACTIONS}/${t}`).then((n) => n);
|
|
79
|
+
removeTransactionRule = async (t) => this.fetchInstance.delete(`${e.TRANSACTION_RULES}/${t}`);
|
|
80
|
+
removeTransactionSplit = async (t) => this.fetchInstance.delete(`${e.TRANSACTIONS}/${t}/unsplit`).then((n) => n);
|
|
81
|
+
updateTransactionRule = async (t) => this.fetchInstance.put(`${e.TRANSACTION_RULES}/${t.guid}`, t).then((n) => n);
|
|
82
|
+
updateTag = async (t) => this.fetchInstance.put(`${e.TAGS}/${t.guid}`, t).then((n) => n.tag);
|
|
83
|
+
updateTransaction = async (t) => this.fetchInstance.put(`${e.TRANSACTIONS}/${t.guid}`, t).then((n) => n.transaction);
|
|
84
|
+
}
|
|
85
|
+
export {
|
|
86
|
+
y as TransactionApi
|
|
87
|
+
};
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { jsx as o, jsxs as u } from "react/jsx-runtime";
|
|
2
|
+
import e from "react";
|
|
3
|
+
import { observer as I } from "mobx-react-lite";
|
|
4
|
+
import _ from "@mui/material/Box";
|
|
5
|
+
import C from "@mui/material/Button";
|
|
6
|
+
import T from "@mui/material/FormGroup";
|
|
7
|
+
import b from "@mui/material/IconButton";
|
|
8
|
+
import g from "@mui/material/Stack";
|
|
9
|
+
import S from "@mui/material/TextField";
|
|
10
|
+
import { Text as E, Icon as R } from "@mxenabled/mxui";
|
|
11
|
+
import { ON_CLICK_EVENTS as N } from "../../../../constants/OnClickEvents/index.es.js";
|
|
12
|
+
import { useTransactionStore as h, useGlobalCopyStore as x, useEvent as v } from "../../../../../common/context/hooks/index.es.js";
|
|
13
|
+
import { ANALYTICS_EVENTS as O } from "../../../../../common/constants/Analytics/index.es.js";
|
|
14
|
+
const A = ({ transaction: t }) => {
|
|
15
|
+
const { updateTransaction: m } = h(), { common: p, transactions: n } = x(), { onEvent: a } = v(), [r, s] = e.useState(!1), [i, c] = e.useState(""), d = e.useRef(null);
|
|
16
|
+
e.useEffect(() => {
|
|
17
|
+
r && (c(t.description), d?.current?.focus());
|
|
18
|
+
}, [r]);
|
|
19
|
+
const l = async () => {
|
|
20
|
+
a(O.TRANSACTION_DETAILS_CLICK_DESCRIPTION, {
|
|
21
|
+
transaction_guid: t.guid
|
|
22
|
+
}), await m({ ...t, description: i }), s(!1);
|
|
23
|
+
};
|
|
24
|
+
return /* @__PURE__ */ o(_, { className: "mx-txn-transaction-description", children: r ? /* @__PURE__ */ u(T, { row: !0, children: [
|
|
25
|
+
/* @__PURE__ */ o(
|
|
26
|
+
S,
|
|
27
|
+
{
|
|
28
|
+
"aria-label": n.description_add_a_subcategory,
|
|
29
|
+
name: "add-subcategory",
|
|
30
|
+
onChange: (f) => c(f.target.value),
|
|
31
|
+
ref: d,
|
|
32
|
+
sx: {
|
|
33
|
+
backgroundColor: "background.paper",
|
|
34
|
+
".MuiOutlinedInput-root": { borderTopRightRadius: 0, borderBottomRightRadius: 0 },
|
|
35
|
+
".MuiOutlinedInput-input": { p: 11 },
|
|
36
|
+
width: 250
|
|
37
|
+
},
|
|
38
|
+
value: i
|
|
39
|
+
}
|
|
40
|
+
),
|
|
41
|
+
/* @__PURE__ */ o(
|
|
42
|
+
C,
|
|
43
|
+
{
|
|
44
|
+
disabled: !i,
|
|
45
|
+
onClick: l,
|
|
46
|
+
sx: { borderTopLeftRadius: 0, borderBottomLeftRadius: 0 },
|
|
47
|
+
variant: "outlined",
|
|
48
|
+
children: p.save_button
|
|
49
|
+
}
|
|
50
|
+
)
|
|
51
|
+
] }) : /* @__PURE__ */ u(g, { alignItems: "center", direction: "row", gap: 4, children: [
|
|
52
|
+
/* @__PURE__ */ o(E, { bold: !0, children: t.description }),
|
|
53
|
+
/* @__PURE__ */ o(
|
|
54
|
+
b,
|
|
55
|
+
{
|
|
56
|
+
"aria-label": n.description_edit_transaction_name,
|
|
57
|
+
onClick: () => {
|
|
58
|
+
s(!0), a(N.ON_TRANSACTION_DESCRIPTION_EDIT_CLICK);
|
|
59
|
+
},
|
|
60
|
+
sx: { color: "action.active" },
|
|
61
|
+
children: /* @__PURE__ */ o(R, { name: "create", size: 22 })
|
|
62
|
+
}
|
|
63
|
+
)
|
|
64
|
+
] }) });
|
|
65
|
+
}, z = I(A);
|
|
66
|
+
export {
|
|
67
|
+
z as default
|
|
68
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import { observer as i } from "mobx-react-lite";
|
|
3
|
+
import s from "@mui/icons-material/FlagOutlined";
|
|
4
|
+
import c from "@mui/material/ToggleButton";
|
|
5
|
+
import g from "@mui/material/styles/useTheme";
|
|
6
|
+
import { useTransactionStore as d, useGlobalCopyStore as m, useEvent as p } from "../../../../../common/context/hooks/index.es.js";
|
|
7
|
+
import { ANALYTICS_EVENTS as u } from "../../../../../common/constants/Analytics/index.es.js";
|
|
8
|
+
const f = ({ transaction: e }) => {
|
|
9
|
+
const { updateTransaction: r } = d(), { transactions: t } = m(), { onEvent: n } = p(), o = g(), l = async () => {
|
|
10
|
+
n(u.TRANSACTION_DETAILS_CLICK_FLAG, { transaction_guid: e.guid }), await r({ ...e, is_flagged: !e.is_flagged });
|
|
11
|
+
};
|
|
12
|
+
return /* @__PURE__ */ a("div", { className: "mx-txn-transaction-flag", children: /* @__PURE__ */ a(
|
|
13
|
+
c,
|
|
14
|
+
{
|
|
15
|
+
"aria-label": t.flag_btn_aria,
|
|
16
|
+
"aria-pressed": e.is_flagged,
|
|
17
|
+
color: "warning",
|
|
18
|
+
onClick: l,
|
|
19
|
+
selected: e.is_flagged,
|
|
20
|
+
sx: {
|
|
21
|
+
borderRadius: 6,
|
|
22
|
+
color: o.palette.secondary.main,
|
|
23
|
+
"&.Mui-selected": {
|
|
24
|
+
color: o.palette.common.white,
|
|
25
|
+
backgroundColor: o.palette.warning.dark,
|
|
26
|
+
":hover": {
|
|
27
|
+
color: o.palette.common.white,
|
|
28
|
+
backgroundColor: o.palette.warning.main
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
":hover": {
|
|
32
|
+
color: o.palette.warning.contrastText,
|
|
33
|
+
backgroundColor: o.palette.warning.light
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
value: "flagged",
|
|
37
|
+
children: /* @__PURE__ */ a(s, { color: "inherit" })
|
|
38
|
+
}
|
|
39
|
+
) });
|
|
40
|
+
}, x = i(f);
|
|
41
|
+
export {
|
|
42
|
+
x as default
|
|
43
|
+
};
|
package/dist/transactions/components/shared/TransactionDetails/ManualTransactionDetails/index.es.js
ADDED
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
import { jsxs as n, jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import c from "react";
|
|
3
|
+
import { observer as D } from "mobx-react-lite";
|
|
4
|
+
import u from "@mui/material/Box";
|
|
5
|
+
import k from "@mui/material/Divider";
|
|
6
|
+
import S from "@mui/material/MenuItem";
|
|
7
|
+
import M from "@mui/material/RadioGroup";
|
|
8
|
+
import s from "@mui/material/Stack";
|
|
9
|
+
import w from "@mui/icons-material/ExpandMore";
|
|
10
|
+
import { TextField as _ } from "@mxenabled/mxui";
|
|
11
|
+
import { useTransactionsUiStore as E } from "../../../../context/hooks/index.es.js";
|
|
12
|
+
import p from "../../../../../common/components/SelectionBox/index.es.js";
|
|
13
|
+
import P from "../actions/CategoryAction/index.es.js";
|
|
14
|
+
import q from "../actions/DateAction/index.es.js";
|
|
15
|
+
import B from "../actions/MemoAction/index.es.js";
|
|
16
|
+
import R from "../actions/TagsAction/index.es.js";
|
|
17
|
+
import { useAccountStore as V, useGlobalCopyStore as N } from "../../../../../common/context/hooks/index.es.js";
|
|
18
|
+
import { formatCurrency as $ } from "../../../../../common/utils/NumberFormatting/index.es.js";
|
|
19
|
+
import j from "../../../../../common/components/CurrencyInput/index.es.js";
|
|
20
|
+
import { TransactionType as l } from "../../../../../common/types/Transaction/index.es.js";
|
|
21
|
+
const G = () => {
|
|
22
|
+
const { visibleAccounts: m } = V(), { common: r, transactions: a } = N(), { manualTransaction: e, setIsAmountValid: d, updateManualTransaction: i } = E(), [b, h] = c.useState(""), [f, g] = c.useState(""), y = c.useMemo(
|
|
23
|
+
() => m.filter((t) => t.is_manual),
|
|
24
|
+
[m]
|
|
25
|
+
).map((t) => ({
|
|
26
|
+
label: `${t.name} | ${$(t.balance, "0,0.00")}`,
|
|
27
|
+
value: t.guid
|
|
28
|
+
})), x = {
|
|
29
|
+
error_amount_is_invalid: r.currency_input.error_amount_is_invalid,
|
|
30
|
+
error_amount_must_be_equal_to: r.currency_input.error_amount_must_be_equal_to,
|
|
31
|
+
error_amount_must_be_less_than_or_equal_to: r.currency_input.error_amount_must_be_less_than_or_equal_to,
|
|
32
|
+
enter_amount: r.currency_input.enter_amount
|
|
33
|
+
}, T = (t) => {
|
|
34
|
+
h(t), i({ ...e, amount: Number(t) });
|
|
35
|
+
}, C = (t, I) => {
|
|
36
|
+
i({ ...e, transaction_type: Number(I) });
|
|
37
|
+
}, v = (t) => {
|
|
38
|
+
g(t), i({ ...e, payee: t, description: t });
|
|
39
|
+
}, A = (t) => {
|
|
40
|
+
i({ ...e, account_guid: t });
|
|
41
|
+
};
|
|
42
|
+
return /* @__PURE__ */ n(u, { className: "mx-txn-manual-transaction-details", children: [
|
|
43
|
+
/* @__PURE__ */ n(s, { gap: 40, mx: 24, my: 32, children: [
|
|
44
|
+
/* @__PURE__ */ n(
|
|
45
|
+
s,
|
|
46
|
+
{
|
|
47
|
+
direction: "row",
|
|
48
|
+
sx: { flexDirection: { xs: "column", sm: "row" }, gap: { xs: 40, sm: 8 } },
|
|
49
|
+
children: [
|
|
50
|
+
/* @__PURE__ */ o(
|
|
51
|
+
j,
|
|
52
|
+
{
|
|
53
|
+
allowDecimals: !0,
|
|
54
|
+
amount: b,
|
|
55
|
+
ariaLabel: a.amount_title,
|
|
56
|
+
copy: x,
|
|
57
|
+
inputProps: {
|
|
58
|
+
noValidate: !0
|
|
59
|
+
},
|
|
60
|
+
label: a.amount_title,
|
|
61
|
+
setAmount: T,
|
|
62
|
+
setHasValidInput: d,
|
|
63
|
+
sx: { bgcolor: "background.paper" },
|
|
64
|
+
type: "number"
|
|
65
|
+
}
|
|
66
|
+
),
|
|
67
|
+
/* @__PURE__ */ o(M, { name: "TransactionType", onChange: C, row: !0, children: /* @__PURE__ */ n(s, { alignItems: "center", direction: "row", children: [
|
|
68
|
+
/* @__PURE__ */ o(
|
|
69
|
+
p,
|
|
70
|
+
{
|
|
71
|
+
checked: e.transaction_type === l.CREDIT,
|
|
72
|
+
label: a.manual_transaction_credit_button_label,
|
|
73
|
+
sx: { ml: { xs: 0, sm: 8 } },
|
|
74
|
+
tooltip: a.manual_transaction_credit_button_tooltip,
|
|
75
|
+
value: l.CREDIT
|
|
76
|
+
}
|
|
77
|
+
),
|
|
78
|
+
/* @__PURE__ */ o(
|
|
79
|
+
p,
|
|
80
|
+
{
|
|
81
|
+
checked: e.transaction_type === l.DEBIT,
|
|
82
|
+
label: a.manual_transaction_debit_button_label,
|
|
83
|
+
tooltip: a.manual_transaction_debit_button_tooltip,
|
|
84
|
+
value: l.DEBIT
|
|
85
|
+
}
|
|
86
|
+
)
|
|
87
|
+
] }) })
|
|
88
|
+
]
|
|
89
|
+
}
|
|
90
|
+
),
|
|
91
|
+
/* @__PURE__ */ o(
|
|
92
|
+
_,
|
|
93
|
+
{
|
|
94
|
+
label: a.payee_title,
|
|
95
|
+
name: "payee",
|
|
96
|
+
onChange: (t) => v(t.target.value),
|
|
97
|
+
sx: { bgcolor: "background.paper" },
|
|
98
|
+
value: f
|
|
99
|
+
}
|
|
100
|
+
),
|
|
101
|
+
/* @__PURE__ */ o(
|
|
102
|
+
_,
|
|
103
|
+
{
|
|
104
|
+
InputLabelProps: { shrink: !0 },
|
|
105
|
+
SelectProps: { defaultValue: -1, IconComponent: w },
|
|
106
|
+
label: a.manual_transaction_select_an_account,
|
|
107
|
+
onChange: (t) => A(t.target.value),
|
|
108
|
+
placeholder: a.manual_transaction_select,
|
|
109
|
+
select: !0,
|
|
110
|
+
sx: { bgcolor: "background.paper" },
|
|
111
|
+
children: y.map((t) => /* @__PURE__ */ o(S, { value: t.value, children: t.label }, t.value))
|
|
112
|
+
}
|
|
113
|
+
)
|
|
114
|
+
] }),
|
|
115
|
+
/* @__PURE__ */ o(k, { light: !0 }),
|
|
116
|
+
/* @__PURE__ */ n(u, { bgcolor: "background.paper", children: [
|
|
117
|
+
/* @__PURE__ */ o(P, { transaction: e }),
|
|
118
|
+
/* @__PURE__ */ o(q, { transaction: e }),
|
|
119
|
+
/* @__PURE__ */ o(B, { transaction: e }),
|
|
120
|
+
/* @__PURE__ */ o(R, { transaction: e })
|
|
121
|
+
] })
|
|
122
|
+
] });
|
|
123
|
+
}, lt = D(G);
|
|
124
|
+
export {
|
|
125
|
+
lt as default
|
|
126
|
+
};
|
package/dist/transactions/components/shared/TransactionDetails/TransactionAmountHeader/index.es.js
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { jsxs as r, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import o from "@mui/material/Stack";
|
|
3
|
+
import { MerchantLogo as u, Text as s, H1 as p } from "@mxenabled/mxui";
|
|
4
|
+
import { formatCurrency as l } from "../../../../../common/utils/NumberFormatting/index.es.js";
|
|
5
|
+
const g = ({ transaction: a }) => {
|
|
6
|
+
const { amount: n, description: c, isIncome: e, merchant_guid: i, payee: m, top_level_category_guid: d } = a;
|
|
7
|
+
return /* @__PURE__ */ r(o, { className: "mx-txn-amount-header", direction: "row", gap: 12, px: 16, py: 24, children: [
|
|
8
|
+
/* @__PURE__ */ t(
|
|
9
|
+
u,
|
|
10
|
+
{
|
|
11
|
+
categoryGuid: d || "",
|
|
12
|
+
merchantGuid: i || "",
|
|
13
|
+
size: 64
|
|
14
|
+
}
|
|
15
|
+
),
|
|
16
|
+
/* @__PURE__ */ r(o, { overflow: "hidden'", children: [
|
|
17
|
+
/* @__PURE__ */ t(s, { bold: !0, mb: 4, truncate: !0, variant: "Body", children: c || m }),
|
|
18
|
+
/* @__PURE__ */ r(p, { color: e ? "success.main" : "text.primary", truncate: !0, children: [
|
|
19
|
+
e ? "+" : "",
|
|
20
|
+
l(n, "0,0.00")
|
|
21
|
+
] })
|
|
22
|
+
] })
|
|
23
|
+
] });
|
|
24
|
+
};
|
|
25
|
+
export {
|
|
26
|
+
g as default
|
|
27
|
+
};
|