@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,232 @@
|
|
|
1
|
+
import { addDays as b } from "date-fns/addDays";
|
|
2
|
+
import { addMonths as w } from "date-fns/addMonths";
|
|
3
|
+
import { addQuarters as M } from "date-fns/addQuarters";
|
|
4
|
+
import { addYears as N } from "date-fns/addYears";
|
|
5
|
+
import { formatISO as Q } from "date-fns/formatISO";
|
|
6
|
+
import { fromUnixTime as Y } from "date-fns/fromUnixTime";
|
|
7
|
+
import { getUnixTime as h } from "date-fns/getUnixTime";
|
|
8
|
+
import { isAfter as y } from "date-fns/isAfter";
|
|
9
|
+
import { isBefore as i } from "date-fns/isBefore";
|
|
10
|
+
import { isSameDay as A } from "date-fns/isSameDay";
|
|
11
|
+
import { nextDay as k } from "date-fns/nextDay";
|
|
12
|
+
import { parseISO as q } from "date-fns/parseISO";
|
|
13
|
+
import { setDate as g } from "date-fns/setDate";
|
|
14
|
+
import { startOfToday as v } from "date-fns/startOfToday";
|
|
15
|
+
import { subDays as f } from "date-fns/subDays";
|
|
16
|
+
import { subMonths as B } from "date-fns/subMonths";
|
|
17
|
+
import { subQuarters as W } from "date-fns/subQuarters";
|
|
18
|
+
import { subYears as S } from "date-fns/subYears";
|
|
19
|
+
import { lastDayOfMonth as G } from "date-fns/lastDayOfMonth";
|
|
20
|
+
import { setDayOfYear as I } from "date-fns/setDayOfYear";
|
|
21
|
+
import { getNextYearlyDate as R, getNextBiQuarterlyDate as F, getNextQuarterlyDate as L, getNextBiMonthlyDate as U, getNextMonthlyDate as $, getNextBiWeeklyDate as K, getNextWeeklyDate as P } from "../../../common/utils/DateUtil/index.es.js";
|
|
22
|
+
import { Frequency as s, RecurrenceStatus as D, RepeatingType as C, RecurrenceType as E } from "../../../common/types/RepeatingTransaction/index.es.js";
|
|
23
|
+
import { formatOrdinal as O } from "../../../common/utils/NumberFormatting/index.es.js";
|
|
24
|
+
import { formatDate as l, DATE_FORMATS_INTL as x } from "../../../common/constants/DateFormats/index.es.js";
|
|
25
|
+
import { buildDynamicCopy as m } from "../../../common/utils/Localization/index.es.js";
|
|
26
|
+
const H = (e) => {
|
|
27
|
+
if (!e) return "";
|
|
28
|
+
let c = e.user_name || e.feed_name || "";
|
|
29
|
+
return e.account_number && (c = `${c} *${e.account_number}`), c;
|
|
30
|
+
}, j = (e, c) => {
|
|
31
|
+
const t = [], o = e.transactions.find(
|
|
32
|
+
(d) => d.repeating_transaction_guid === e.guid
|
|
33
|
+
);
|
|
34
|
+
if (!o) return [];
|
|
35
|
+
const n = q(e.predicted_occurs_on), r = {
|
|
36
|
+
accountGuid: e.account?.guid || "",
|
|
37
|
+
amount: e.amount,
|
|
38
|
+
categoryGuid: o.category_guid || "",
|
|
39
|
+
expectedDate: n,
|
|
40
|
+
frequency: e.recurrence_type,
|
|
41
|
+
institutionGuid: e.account?.institution_guid || "",
|
|
42
|
+
institutionName: H(e.account),
|
|
43
|
+
merchantGuid: e.merchant_guid,
|
|
44
|
+
name: e.description,
|
|
45
|
+
recurrenceDay: e.recurrence_day,
|
|
46
|
+
repeatingTransactionGuid: e.guid,
|
|
47
|
+
secondRecurrenceDay: e.second_recurrence_day,
|
|
48
|
+
status: D.Upcoming,
|
|
49
|
+
type: e.repeating_transaction_type === C.Income ? E.Income : E.Expense,
|
|
50
|
+
transaction: void 0
|
|
51
|
+
}, u = c.start, a = c.end;
|
|
52
|
+
switch (e.recurrence_type) {
|
|
53
|
+
case s.EveryWeek:
|
|
54
|
+
t.push(...z(r, u, a));
|
|
55
|
+
break;
|
|
56
|
+
case s.EveryOtherWeek:
|
|
57
|
+
t.push(...J(r, u, a));
|
|
58
|
+
break;
|
|
59
|
+
case s.TwiceAMonth:
|
|
60
|
+
t.push(...V(r, u));
|
|
61
|
+
break;
|
|
62
|
+
case s.EveryMonth:
|
|
63
|
+
t.push(...X(r, u));
|
|
64
|
+
break;
|
|
65
|
+
case s.EveryOtherMonth:
|
|
66
|
+
t.push(...Z(r, u, a));
|
|
67
|
+
break;
|
|
68
|
+
case s.EveryQuarter:
|
|
69
|
+
t.push(...T(r, u, a));
|
|
70
|
+
break;
|
|
71
|
+
case s.EveryOtherQuarter:
|
|
72
|
+
t.push(...ee(r, u, a));
|
|
73
|
+
break;
|
|
74
|
+
case s.EveryYear:
|
|
75
|
+
t.push(...te(r, u, a));
|
|
76
|
+
break;
|
|
77
|
+
}
|
|
78
|
+
for (const d of t) {
|
|
79
|
+
const p = e.transactions.find(
|
|
80
|
+
(_) => _.repeating_transaction_guid === e.guid && _.date > h(f(d.expectedDate, 5)) && _.date < h(b(d.expectedDate, 5))
|
|
81
|
+
);
|
|
82
|
+
p ? (d.transaction = p, d.status = D.Paid, d.occurredOnDate = Y(p.date)) : i(d.expectedDate, f(v(), 3)) && (d.status = D.Missed);
|
|
83
|
+
}
|
|
84
|
+
return t;
|
|
85
|
+
}, z = (e, c, t) => {
|
|
86
|
+
const o = [];
|
|
87
|
+
let n = k(c, e.recurrenceDay);
|
|
88
|
+
for (; i(n, t); )
|
|
89
|
+
o.push({ ...e, expectedDate: n }), n = k(n, e.recurrenceDay);
|
|
90
|
+
return o;
|
|
91
|
+
}, J = (e, c, t) => {
|
|
92
|
+
const o = [], n = e.expectedDate;
|
|
93
|
+
if (i(n, t)) {
|
|
94
|
+
let r = f(n, 14);
|
|
95
|
+
for (; y(r, c) || A(r, c); )
|
|
96
|
+
o.push({ ...e, expectedDate: r }), r = f(r, 14);
|
|
97
|
+
for (r = n; y(r, c) && i(r, t); )
|
|
98
|
+
o.push({ ...e, expectedDate: r }), r = b(r, 14);
|
|
99
|
+
}
|
|
100
|
+
return o;
|
|
101
|
+
}, V = (e, c) => {
|
|
102
|
+
const t = [], o = g(c, e.recurrenceDay), n = e.secondRecurrenceDay && e.secondRecurrenceDay < 28 ? g(c, e.secondRecurrenceDay) : G(c);
|
|
103
|
+
return t.push({ ...e, expectedDate: o }), t.push({ ...e, expectedDate: n }), t;
|
|
104
|
+
}, X = (e, c) => {
|
|
105
|
+
const t = [], o = g(c, e.recurrenceDay);
|
|
106
|
+
return t.push({ ...e, expectedDate: o }), t;
|
|
107
|
+
}, Z = (e, c, t) => {
|
|
108
|
+
const o = [], n = e.expectedDate;
|
|
109
|
+
let r = i(n, t) ? n : B(n, 2);
|
|
110
|
+
for (; i(r, t); )
|
|
111
|
+
y(r, c) && o.push({ ...e, expectedDate: r }), r = w(r, 2);
|
|
112
|
+
return o;
|
|
113
|
+
}, T = (e, c, t) => {
|
|
114
|
+
const o = [], n = e.expectedDate;
|
|
115
|
+
let r = i(n, t) ? n : W(n, 1);
|
|
116
|
+
for (; i(r, t); )
|
|
117
|
+
y(r, c) && o.push({ ...e, expectedDate: r }), r = M(r, 1);
|
|
118
|
+
return o;
|
|
119
|
+
}, ee = (e, c, t) => {
|
|
120
|
+
const o = [], n = e.expectedDate;
|
|
121
|
+
let r = i(n, t) ? n : W(n, 2);
|
|
122
|
+
for (; i(r, t); )
|
|
123
|
+
y(r, c) && o.push({ ...e, expectedDate: r }), r = M(r, 2);
|
|
124
|
+
return o;
|
|
125
|
+
}, te = (e, c, t) => {
|
|
126
|
+
const o = [], n = e.expectedDate;
|
|
127
|
+
let r = i(n, t) ? n : S(n, 1);
|
|
128
|
+
for (; i(r, t); )
|
|
129
|
+
y(r, c) && o.push({ ...e, expectedDate: r }), r = N(r, 1);
|
|
130
|
+
return o;
|
|
131
|
+
}, We = (e, c) => {
|
|
132
|
+
const t = [];
|
|
133
|
+
for (const o of e) {
|
|
134
|
+
const n = j(o, c);
|
|
135
|
+
t.push(...n);
|
|
136
|
+
}
|
|
137
|
+
return t.sort(
|
|
138
|
+
(o, n) => h(o.occurredOnDate || o.expectedDate) - h(n.occurredOnDate || n.expectedDate)
|
|
139
|
+
);
|
|
140
|
+
}, we = (e, c, t) => {
|
|
141
|
+
const o = [];
|
|
142
|
+
for (const n of c) {
|
|
143
|
+
const r = t.filter(
|
|
144
|
+
(u) => u.repeating_transaction_guid === n.guid
|
|
145
|
+
);
|
|
146
|
+
t.length > 0 && o.push({
|
|
147
|
+
...n,
|
|
148
|
+
account: e.find((u) => u.guid === n.account_guid),
|
|
149
|
+
transactions: r
|
|
150
|
+
});
|
|
151
|
+
}
|
|
152
|
+
return o;
|
|
153
|
+
}, Ne = (e) => e.reduce((c, t) => {
|
|
154
|
+
const o = Q(t.expectedDate, { representation: "date" }), n = c.find(
|
|
155
|
+
(r) => r.date.toString() === t.expectedDate.toString()
|
|
156
|
+
);
|
|
157
|
+
return n ? n.recurrences.push(t) : c.push({
|
|
158
|
+
date: t.expectedDate,
|
|
159
|
+
id: `date-${o}`,
|
|
160
|
+
recurrences: [t]
|
|
161
|
+
}), c;
|
|
162
|
+
}, []), Qe = (e, c, t) => {
|
|
163
|
+
const o = k(v(), c.recurrence_day), n = I(v(), c.recurrence_day), r = O(c.recurrence_day), u = c.second_recurrence_day ? O(c.second_recurrence_day) : "";
|
|
164
|
+
let a = t ? m(e.monthly_ordinal, r) : e.monthly;
|
|
165
|
+
switch (c.recurrence_type) {
|
|
166
|
+
case s.EveryQuarter:
|
|
167
|
+
a = t ? m(e.quarterly_ordinal, r) : e.quarterly;
|
|
168
|
+
break;
|
|
169
|
+
case s.EveryWeek:
|
|
170
|
+
a = t ? m(
|
|
171
|
+
e.weekly_ordinal,
|
|
172
|
+
l(o, x.DAY_OF_WEEK)
|
|
173
|
+
) : e.weekly;
|
|
174
|
+
break;
|
|
175
|
+
case s.EveryYear:
|
|
176
|
+
a = t ? m(
|
|
177
|
+
e.anually_ordinal,
|
|
178
|
+
l(n, x.MONTH_DAY)
|
|
179
|
+
) : e.anually;
|
|
180
|
+
break;
|
|
181
|
+
case s.EveryOtherWeek:
|
|
182
|
+
a = t ? m(
|
|
183
|
+
e.every_other_week_ordinal,
|
|
184
|
+
l(o, x.DAY_OF_WEEK)
|
|
185
|
+
) : e.every_other_week;
|
|
186
|
+
break;
|
|
187
|
+
case s.EveryOtherMonth:
|
|
188
|
+
a = t ? m(e.every_other_month_ordinal, r) : e.every_other_month;
|
|
189
|
+
break;
|
|
190
|
+
case s.EveryOtherQuarter:
|
|
191
|
+
a = t ? m(e.every_other_quarter_ordinal, r) : e.every_other_quarter;
|
|
192
|
+
break;
|
|
193
|
+
case s.TwiceAMonth:
|
|
194
|
+
a = t ? m(e.twice_a_month_ordinal, r, u) : e.twice_a_month;
|
|
195
|
+
break;
|
|
196
|
+
}
|
|
197
|
+
return a;
|
|
198
|
+
}, Ye = (e, c) => {
|
|
199
|
+
let t = c;
|
|
200
|
+
switch (e) {
|
|
201
|
+
case s.EveryWeek:
|
|
202
|
+
t = P(c);
|
|
203
|
+
break;
|
|
204
|
+
case s.EveryOtherWeek:
|
|
205
|
+
t = K(c);
|
|
206
|
+
break;
|
|
207
|
+
case s.EveryMonth:
|
|
208
|
+
t = $(c);
|
|
209
|
+
break;
|
|
210
|
+
case s.EveryOtherMonth:
|
|
211
|
+
t = U(c);
|
|
212
|
+
break;
|
|
213
|
+
case s.EveryQuarter:
|
|
214
|
+
t = L(c);
|
|
215
|
+
break;
|
|
216
|
+
case s.EveryOtherQuarter:
|
|
217
|
+
t = F(c);
|
|
218
|
+
break;
|
|
219
|
+
case s.EveryYear:
|
|
220
|
+
t = R(c);
|
|
221
|
+
break;
|
|
222
|
+
}
|
|
223
|
+
return t;
|
|
224
|
+
};
|
|
225
|
+
export {
|
|
226
|
+
we as augmentRepeatingTransactions,
|
|
227
|
+
We as buildAllRecurrences,
|
|
228
|
+
H as buildInstitutionName,
|
|
229
|
+
Qe as getFrequencyLabel,
|
|
230
|
+
Ye as getNextPaymentDate,
|
|
231
|
+
Ne as groupRecurrencesByDate
|
|
232
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import { observer as n } from "mobx-react-lite";
|
|
3
|
+
import m from "@mui/material/Stack";
|
|
4
|
+
import { NotificationSettings as o } from "../components/notifications/NotificationSettings/index.es.js";
|
|
5
|
+
import { useAppConfig as f } from "../../common/context/hooks/index.es.js";
|
|
6
|
+
import p from "../../common/components/WidgetContainer/index.es.js";
|
|
7
|
+
const u = n((r) => {
|
|
8
|
+
const { clientConfig: e } = f(), t = e?.master?.deep_link_params?.view;
|
|
9
|
+
return t ? /* @__PURE__ */ i(o, { view: t }) : /* @__PURE__ */ i(p, { ...r, children: /* @__PURE__ */ i(m, { my: 24, children: /* @__PURE__ */ i(o, {}) }) });
|
|
10
|
+
});
|
|
11
|
+
export {
|
|
12
|
+
u as NotificationSettingsWidget
|
|
13
|
+
};
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { jsx as o, jsxs as h } from "react/jsx-runtime";
|
|
2
|
+
import g from "react";
|
|
3
|
+
import { observer as y } from "mobx-react-lite";
|
|
4
|
+
import C from "@mui/material/Stack";
|
|
5
|
+
import E from "@mui/material/Tab";
|
|
6
|
+
import R from "@mui/material/Tabs";
|
|
7
|
+
import { SettingsWidgetContents as w } from "../components/SettingsWidgetContents/index.es.js";
|
|
8
|
+
import { useGlobalCopyStore as D, useGlobalUiStore as P, useAppConfig as W } from "../../common/context/hooks/index.es.js";
|
|
9
|
+
import { useScreenSize as j } from "../../common/hooks/useScreenSize/index.es.js";
|
|
10
|
+
import k from "../../common/components/Loader/index.es.js";
|
|
11
|
+
import z from "../../common/components/WidgetContainer/index.es.js";
|
|
12
|
+
var G = /* @__PURE__ */ ((e) => (e[e.Profile = 0] = "Profile", e[e.Devices = 1] = "Devices", e[e.Notifications = 2] = "Notifications", e[e.TransactionRules = 3] = "TransactionRules", e[e.Help = 4] = "Help", e))(G || {});
|
|
13
|
+
const K = y(({ onBackClick: e, sx: a }) => {
|
|
14
|
+
const { settings: l } = D(), { isCopyLoaded: s, isInitialized: d } = P(), { config: c } = W(), { isMobile: p } = j(), {
|
|
15
|
+
display_user_profile_in_settings: m,
|
|
16
|
+
display_mobile_devices_in_settings: b,
|
|
17
|
+
display_notification_settings_in_settings: _,
|
|
18
|
+
display_user_transaction_rules_in_settings: f,
|
|
19
|
+
show_help_widget_in_master: u
|
|
20
|
+
} = c, n = [
|
|
21
|
+
{ enabled: m, index: 0, label: l?.profile_label },
|
|
22
|
+
{ enabled: b, index: 1, label: l?.mobile_devices_label },
|
|
23
|
+
{ enabled: _, index: 2, label: l?.notifications_label },
|
|
24
|
+
{ enabled: f, index: 3, label: l?.transaction_rules_label },
|
|
25
|
+
{ enabled: u, index: 4, label: l?.help_label }
|
|
26
|
+
], r = n.find((i) => i.enabled), [t, x] = g.useState(r ? r.index : -1);
|
|
27
|
+
return !s || !d ? /* @__PURE__ */ o(k, {}) : /* @__PURE__ */ o(
|
|
28
|
+
z,
|
|
29
|
+
{
|
|
30
|
+
onBackClick: e,
|
|
31
|
+
sx: { height: "calc(100dvh - 24px)", overflow: "auto", ...a },
|
|
32
|
+
title: l.title,
|
|
33
|
+
children: /* @__PURE__ */ h(C, { mx: p ? 0 : 48, my: 24, children: [
|
|
34
|
+
/* @__PURE__ */ o(
|
|
35
|
+
R,
|
|
36
|
+
{
|
|
37
|
+
onChange: (i, v) => x(v),
|
|
38
|
+
sx: { bgcolor: "background.paper" },
|
|
39
|
+
textColor: "primary",
|
|
40
|
+
value: t,
|
|
41
|
+
variant: "scrollable",
|
|
42
|
+
children: n.map(
|
|
43
|
+
(i) => i.enabled && /* @__PURE__ */ o(E, { label: i.label, value: i.index }, i.index)
|
|
44
|
+
)
|
|
45
|
+
}
|
|
46
|
+
),
|
|
47
|
+
/* @__PURE__ */ o(w, { selectedTab: t })
|
|
48
|
+
] })
|
|
49
|
+
}
|
|
50
|
+
);
|
|
51
|
+
});
|
|
52
|
+
export {
|
|
53
|
+
G as SettingsTabs,
|
|
54
|
+
K as SettingsWidget
|
|
55
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import t from "@mui/material/Stack";
|
|
3
|
+
import e from "../components/transactionrules/TransactionRulesTab/index.es.js";
|
|
4
|
+
import { useScreenSize as m } from "../../common/hooks/useScreenSize/index.es.js";
|
|
5
|
+
import n from "../../common/components/WidgetContainer/index.es.js";
|
|
6
|
+
const l = (o) => {
|
|
7
|
+
const { isMobile: i } = m();
|
|
8
|
+
return /* @__PURE__ */ r(n, { ...o, children: /* @__PURE__ */ r(t, { sx: { mx: i ? 0 : 48, my: 24 }, children: /* @__PURE__ */ r(e, {}) }) });
|
|
9
|
+
};
|
|
10
|
+
export {
|
|
11
|
+
l as TransactionRulesWidget
|
|
12
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { Fetch as i } from "../../../common/utils/Fetch/index.es.js";
|
|
2
|
+
import { ApiEndpoints as n } from "../../../common/constants/ApiEndpoints/index.es.js";
|
|
3
|
+
class r {
|
|
4
|
+
fetchInstance;
|
|
5
|
+
constructor(e, t) {
|
|
6
|
+
this.fetchInstance = new i(e, t);
|
|
7
|
+
}
|
|
8
|
+
deleteDevice = async (e) => this.fetchInstance.delete(`${n.DEVICES}/${e}`).then((t) => t);
|
|
9
|
+
generateDeviceToken = async () => this.fetchInstance.get(`${n.USER}/mobile_token`).then((e) => e.mobile_token);
|
|
10
|
+
getDevices = async () => this.fetchInstance.get(n.DEVICES).then((e) => e.map((t) => t.device));
|
|
11
|
+
getNotificationProfiles = async () => this.fetchInstance.get(n.NOTIFICATION_PROFILES).then((e) => e.notification_profiles);
|
|
12
|
+
// verifications endpoints respond with HTTP status codes; they error otherwise
|
|
13
|
+
sendEmailVerification = async () => this.fetchInstance.post(n.EMAIL_VERIFICATIONS);
|
|
14
|
+
sendPhoneVerification = async () => this.fetchInstance.post(n.PHONE_VERIFICATIONS + "/deliver");
|
|
15
|
+
verifyPhoneToken = async (e) => this.fetchInstance.post(n.PHONE_VERIFICATIONS + "/verify", { sms_verification_token: e }).then((t) => ({ verified: t.verified }));
|
|
16
|
+
updateDevice = async (e) => this.fetchInstance.put(`${n.DEVICES}/${e.guid}`, e).then((t) => t.device);
|
|
17
|
+
updateNotificationProfile = async (e) => this.fetchInstance.put(`${n.NOTIFICATION_PROFILES}/${e.guid}`, e).then((t) => t.notification_profile);
|
|
18
|
+
updateUserCommunicationProfile = async (e) => this.fetchInstance.put(n.USER_COMMUNICATION_PROFILE, e).then((t) => t.user_communication_profile);
|
|
19
|
+
getInsightsNotificationProfiles = async () => this.fetchInstance.get(`${n.NOTIFICATION_PROFILES}/${n.INSIGHTS_NOTIFICATION_PROFILES}`).then((e) => e);
|
|
20
|
+
}
|
|
21
|
+
export {
|
|
22
|
+
r as SettingsApi
|
|
23
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { jsxs as s, Fragment as m, jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { observer as a } from "mobx-react-lite";
|
|
3
|
+
import p from "@mui/material/Alert";
|
|
4
|
+
import f from "@mui/material/Snackbar";
|
|
5
|
+
import l from "../profile/ProfileTab/index.es.js";
|
|
6
|
+
import c from "../devices/DeviceTab/index.es.js";
|
|
7
|
+
import g from "../transactionrules/TransactionRulesTab/index.es.js";
|
|
8
|
+
import { NotificationSettings as h } from "../notifications/NotificationSettings/index.es.js";
|
|
9
|
+
import { SettingsTabs as i } from "../../SettingsWidget/index.es.js";
|
|
10
|
+
import { Help as u } from "../../../help/components/Help/index.es.js";
|
|
11
|
+
import v from "@mui/material/Stack";
|
|
12
|
+
import { useSettingsStore as S, useAppConfig as x } from "../../../common/context/hooks/index.es.js";
|
|
13
|
+
const R = a(({ selectedTab: r }) => {
|
|
14
|
+
const { alert: t, setAlert: e } = S(), {
|
|
15
|
+
config: { display_user_profile_in_settings: n }
|
|
16
|
+
} = x();
|
|
17
|
+
return /* @__PURE__ */ s(m, { children: [
|
|
18
|
+
r === i.Profile && /* @__PURE__ */ o(l, {}),
|
|
19
|
+
r === i.Devices && /* @__PURE__ */ o(c, {}),
|
|
20
|
+
r === i.Notifications && /* @__PURE__ */ o(h, { showPersonalDetails: !n }),
|
|
21
|
+
r === i.TransactionRules && /* @__PURE__ */ o(g, {}),
|
|
22
|
+
r === i.Help && /* @__PURE__ */ o(v, { sx: { px: 24 }, children: /* @__PURE__ */ o(u, {}) }),
|
|
23
|
+
/* @__PURE__ */ o(
|
|
24
|
+
f,
|
|
25
|
+
{
|
|
26
|
+
anchorOrigin: { vertical: "bottom", horizontal: "right" },
|
|
27
|
+
autoHideDuration: 3500,
|
|
28
|
+
onClose: () => e(""),
|
|
29
|
+
open: !!t.message,
|
|
30
|
+
children: /* @__PURE__ */ o(
|
|
31
|
+
p,
|
|
32
|
+
{
|
|
33
|
+
onClose: () => {
|
|
34
|
+
e("");
|
|
35
|
+
},
|
|
36
|
+
severity: t.severity,
|
|
37
|
+
variant: "filled",
|
|
38
|
+
children: t.message
|
|
39
|
+
}
|
|
40
|
+
)
|
|
41
|
+
}
|
|
42
|
+
)
|
|
43
|
+
] });
|
|
44
|
+
});
|
|
45
|
+
export {
|
|
46
|
+
R as SettingsWidgetContents
|
|
47
|
+
};
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
import { jsxs as f, jsx as s } from "react/jsx-runtime";
|
|
2
|
+
import p from "react";
|
|
3
|
+
import { observer as M } from "mobx-react-lite";
|
|
4
|
+
import A from "@mui/material/styles/useTheme";
|
|
5
|
+
import b from "@mui/material/Stack";
|
|
6
|
+
import C from "@mui/material/TextField";
|
|
7
|
+
import { Text as l, P as E } from "@mxenabled/mxui";
|
|
8
|
+
import { DialogType as e } from "../../../constants/Settings/index.es.js";
|
|
9
|
+
import { useGlobalCopyStore as j, useSettingsStore as B } from "../../../../common/context/hooks/index.es.js";
|
|
10
|
+
import P from "../../../../common/components/dialog/Dialog/index.es.js";
|
|
11
|
+
import { buildDynamicCopy as m } from "../../../../common/utils/Localization/index.es.js";
|
|
12
|
+
const T = ({
|
|
13
|
+
dialogType: t,
|
|
14
|
+
isOpen: h,
|
|
15
|
+
onClose: n,
|
|
16
|
+
device: r,
|
|
17
|
+
deviceToken: x = ""
|
|
18
|
+
}) => {
|
|
19
|
+
const D = A(), { common: c, settings: o } = j(), { updateDevice: v, deleteDevice: g, setAlert: a, loadDevices: u } = B(), [d, _] = p.useState("");
|
|
20
|
+
p.useEffect(() => {
|
|
21
|
+
r && _(r.name);
|
|
22
|
+
}, [r, t]);
|
|
23
|
+
const y = () => {
|
|
24
|
+
switch (t) {
|
|
25
|
+
case e.Edit:
|
|
26
|
+
return o.mobile_devices_edit_label;
|
|
27
|
+
case e.Delete:
|
|
28
|
+
return o.mobile_devices_delete_label;
|
|
29
|
+
default:
|
|
30
|
+
return "";
|
|
31
|
+
}
|
|
32
|
+
}, S = () => {
|
|
33
|
+
switch (t) {
|
|
34
|
+
case e.Token:
|
|
35
|
+
return c.done_button;
|
|
36
|
+
case e.Edit:
|
|
37
|
+
return c.save_button;
|
|
38
|
+
case e.Delete:
|
|
39
|
+
return c.delete_button;
|
|
40
|
+
default:
|
|
41
|
+
return "";
|
|
42
|
+
}
|
|
43
|
+
}, k = () => {
|
|
44
|
+
const i = {
|
|
45
|
+
"& .MuiDialogContent-root": {
|
|
46
|
+
width: 400,
|
|
47
|
+
pt: 0
|
|
48
|
+
}
|
|
49
|
+
};
|
|
50
|
+
return t === e.Token ? {
|
|
51
|
+
...i,
|
|
52
|
+
"& .MuiToolbar-root:last-child": {
|
|
53
|
+
padding: "32px 60px 48px",
|
|
54
|
+
justifyContent: "center"
|
|
55
|
+
},
|
|
56
|
+
"& .MuiButton-root:first-child": {
|
|
57
|
+
display: "none"
|
|
58
|
+
},
|
|
59
|
+
"& .MuiButton-root:last-child": {
|
|
60
|
+
flex: 1
|
|
61
|
+
}
|
|
62
|
+
} : {
|
|
63
|
+
...i,
|
|
64
|
+
"& .MuiToolbar-root:last-child": {
|
|
65
|
+
gap: 8,
|
|
66
|
+
padding: 24,
|
|
67
|
+
justifyContent: "flex-end"
|
|
68
|
+
},
|
|
69
|
+
...t === e.Delete && {
|
|
70
|
+
"& .MuiTypography-Body": {
|
|
71
|
+
padding: 0
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
};
|
|
75
|
+
}, w = async () => {
|
|
76
|
+
if (t === e.Token && n(), t === e.Edit && r) {
|
|
77
|
+
const i = { ...r, name: d };
|
|
78
|
+
(await v(i)).success ? (a(o.mobile_devices_edit_success, "success"), u()) : a(
|
|
79
|
+
m(o.mobile_devices_edit_error, r.name),
|
|
80
|
+
"error"
|
|
81
|
+
), n();
|
|
82
|
+
}
|
|
83
|
+
t === e.Delete && r && ((await g(r.guid)).success ? (a(
|
|
84
|
+
m(o.mobile_devices_delete_success, r.name),
|
|
85
|
+
"success"
|
|
86
|
+
), u()) : a(
|
|
87
|
+
m(o.mobile_devices_delete_error, r.name),
|
|
88
|
+
"error"
|
|
89
|
+
), n());
|
|
90
|
+
};
|
|
91
|
+
return /* @__PURE__ */ f(
|
|
92
|
+
P,
|
|
93
|
+
{
|
|
94
|
+
copy: { title: y() },
|
|
95
|
+
isOpen: h,
|
|
96
|
+
onClose: n,
|
|
97
|
+
onPrimaryAction: w,
|
|
98
|
+
onSecondaryAction: n,
|
|
99
|
+
primaryColor: t === e.Delete ? "error" : void 0,
|
|
100
|
+
primaryText: S(),
|
|
101
|
+
secondaryText: t === e.Token ? c.back : c.cancel_button,
|
|
102
|
+
sx: k(),
|
|
103
|
+
children: [
|
|
104
|
+
t === e.Token && /* @__PURE__ */ f(b, { spacing: 16, sx: { px: 40, textAlign: "center", width: "100%" }, children: [
|
|
105
|
+
/* @__PURE__ */ s(l, { bold: !0, truncate: !1, variant: "Body", children: o.mobile_devices_access_label }),
|
|
106
|
+
/* @__PURE__ */ s(l, { truncate: !1, variant: "Small", children: o.mobile_devices_access_info_1 }),
|
|
107
|
+
/* @__PURE__ */ s(
|
|
108
|
+
l,
|
|
109
|
+
{
|
|
110
|
+
sx: {
|
|
111
|
+
border: `1px solid ${D.palette.border.light}`,
|
|
112
|
+
borderRadius: "4px",
|
|
113
|
+
p: "16px 32px"
|
|
114
|
+
},
|
|
115
|
+
variant: "H1",
|
|
116
|
+
children: x
|
|
117
|
+
}
|
|
118
|
+
),
|
|
119
|
+
/* @__PURE__ */ s(l, { truncate: !1, variant: "Small", children: o.mobile_devices_access_info_2 })
|
|
120
|
+
] }),
|
|
121
|
+
t === e.Edit && /* @__PURE__ */ s(b, { children: /* @__PURE__ */ s(C, { onChange: (i) => _(i.target.value), value: d }) }),
|
|
122
|
+
t === e.Delete && /* @__PURE__ */ s(E, { children: o.mobile_devices_delete_info })
|
|
123
|
+
]
|
|
124
|
+
}
|
|
125
|
+
);
|
|
126
|
+
}, O = M(T);
|
|
127
|
+
export {
|
|
128
|
+
O as default
|
|
129
|
+
};
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import { jsxs as t, jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import f from "react";
|
|
3
|
+
import { formatDistanceToNow as u } from "date-fns/formatDistanceToNow";
|
|
4
|
+
import { fromUnixTime as g } from "date-fns/fromUnixTime";
|
|
5
|
+
import _ from "@mui/material/styles/useTheme";
|
|
6
|
+
import y from "@mui/material/Accordion";
|
|
7
|
+
import C from "@mui/material/AccordionDetails";
|
|
8
|
+
import k from "@mui/material/AccordionSummary";
|
|
9
|
+
import S from "@mui/material/Box";
|
|
10
|
+
import c from "@mui/material/IconButton";
|
|
11
|
+
import i from "@mui/material/Stack";
|
|
12
|
+
import { Icon as d, Text as l } from "@mxenabled/mxui";
|
|
13
|
+
import { useGlobalCopyStore as w } from "../../../../common/context/hooks/index.es.js";
|
|
14
|
+
import { buildDynamicCopy as B } from "../../../../common/utils/Localization/index.es.js";
|
|
15
|
+
const q = ({
|
|
16
|
+
devices: n,
|
|
17
|
+
onClickDeviceEdit: m,
|
|
18
|
+
onClickDeviceDelete: p
|
|
19
|
+
}) => {
|
|
20
|
+
const r = _(), { settings: a } = w(), [s, x] = f.useState(!1), b = (e) => (D, h) => {
|
|
21
|
+
x(h ? e : !1);
|
|
22
|
+
};
|
|
23
|
+
return /* @__PURE__ */ t(i, { mx: -28, sx: { "& .MuiAccordion-root": { mb: 0, mt: 0 } }, children: [
|
|
24
|
+
n.map((e) => /* @__PURE__ */ t(
|
|
25
|
+
y,
|
|
26
|
+
{
|
|
27
|
+
expanded: s === e.guid,
|
|
28
|
+
onChange: b(e.guid),
|
|
29
|
+
sx: { boxShadow: "none" },
|
|
30
|
+
children: [
|
|
31
|
+
/* @__PURE__ */ o(
|
|
32
|
+
k,
|
|
33
|
+
{
|
|
34
|
+
expandIcon: /* @__PURE__ */ o(d, { color: "secondary", name: "keyboard_arrow_down", size: 24 }),
|
|
35
|
+
sx: {
|
|
36
|
+
padding: "14px 24px",
|
|
37
|
+
borderBottom: "1px solid",
|
|
38
|
+
borderColor: r.palette.border.light
|
|
39
|
+
},
|
|
40
|
+
children: /* @__PURE__ */ t(i, { gap: 4, children: [
|
|
41
|
+
/* @__PURE__ */ o(l, { bold: !0, variant: "Body", children: e.name }),
|
|
42
|
+
/* @__PURE__ */ o(l, { color: r.palette.text.secondary, variant: "Small", children: `${e.make} ${e.model}` }),
|
|
43
|
+
/* @__PURE__ */ o(l, { color: r.palette.text.secondary, variant: "Small", children: u(g(e.created_at), { addSuffix: !0 }) })
|
|
44
|
+
] })
|
|
45
|
+
}
|
|
46
|
+
),
|
|
47
|
+
/* @__PURE__ */ t(
|
|
48
|
+
C,
|
|
49
|
+
{
|
|
50
|
+
sx: { backgroundColor: r.palette.background.default, p: "0 0 0 24px" },
|
|
51
|
+
children: [
|
|
52
|
+
/* @__PURE__ */ t(
|
|
53
|
+
i,
|
|
54
|
+
{
|
|
55
|
+
onClick: () => m(e),
|
|
56
|
+
sx: {
|
|
57
|
+
alignItems: "center",
|
|
58
|
+
flexDirection: "row",
|
|
59
|
+
width: "100%",
|
|
60
|
+
gap: 12,
|
|
61
|
+
py: 16,
|
|
62
|
+
cursor: "pointer",
|
|
63
|
+
borderBottom: "1px solid",
|
|
64
|
+
borderColor: r.palette.border.light
|
|
65
|
+
},
|
|
66
|
+
children: [
|
|
67
|
+
/* @__PURE__ */ o(c, { "aria-label": a.mobile_devices_edit_label, color: "secondary", children: /* @__PURE__ */ o(d, { name: "edit" }) }),
|
|
68
|
+
/* @__PURE__ */ o(l, { variant: "Body", children: a.mobile_devices_edit_label })
|
|
69
|
+
]
|
|
70
|
+
}
|
|
71
|
+
),
|
|
72
|
+
/* @__PURE__ */ t(
|
|
73
|
+
i,
|
|
74
|
+
{
|
|
75
|
+
onClick: () => p(e),
|
|
76
|
+
sx: {
|
|
77
|
+
alignItems: "center",
|
|
78
|
+
flexDirection: "row",
|
|
79
|
+
width: "100%",
|
|
80
|
+
gap: 12,
|
|
81
|
+
py: 16,
|
|
82
|
+
cursor: "pointer"
|
|
83
|
+
},
|
|
84
|
+
children: [
|
|
85
|
+
/* @__PURE__ */ o(c, { "aria-label": a.mobile_devices_delete_label, color: "secondary", children: /* @__PURE__ */ o(d, { name: "delete" }) }),
|
|
86
|
+
/* @__PURE__ */ o(l, { variant: "Body", children: a.mobile_devices_delete_label })
|
|
87
|
+
]
|
|
88
|
+
}
|
|
89
|
+
)
|
|
90
|
+
]
|
|
91
|
+
}
|
|
92
|
+
)
|
|
93
|
+
]
|
|
94
|
+
},
|
|
95
|
+
e.guid
|
|
96
|
+
)),
|
|
97
|
+
/* @__PURE__ */ o(
|
|
98
|
+
S,
|
|
99
|
+
{
|
|
100
|
+
sx: {
|
|
101
|
+
backgroundColor: r.palette.background.default,
|
|
102
|
+
borderTop: "1px solid",
|
|
103
|
+
borderColor: r.palette.border.light,
|
|
104
|
+
p: "12px 16px"
|
|
105
|
+
},
|
|
106
|
+
children: /* @__PURE__ */ o(l, { color: r.palette.text.secondary, variant: "Small", children: B(
|
|
107
|
+
a.mobile_devices_count,
|
|
108
|
+
/* @__PURE__ */ o("b", { children: n.length }),
|
|
109
|
+
/* @__PURE__ */ o("b", { children: n.length })
|
|
110
|
+
) })
|
|
111
|
+
}
|
|
112
|
+
)
|
|
113
|
+
] });
|
|
114
|
+
};
|
|
115
|
+
export {
|
|
116
|
+
q as DeviceList,
|
|
117
|
+
q as default
|
|
118
|
+
};
|