@mx-cartographer/experiences 9.0.0-alpha.mega1 → 9.0.0
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 +676 -9
- package/README.md +216 -47
- package/dist/{Account-CMjOp7S2.mjs → Account-BaJmiJAG.mjs} +4 -4
- package/dist/{Account-BIKn4XEZ.mjs → Account-BxHMlV9R.mjs} +1 -1
- package/dist/AccountDetailsHeader-DIysk_4w.mjs +95 -0
- package/dist/AccountFields-mwJ8NXsX.mjs +141 -0
- package/dist/AccountListItem-BDXHs4tV.mjs +94 -0
- package/dist/AccountUtils-T5_Odvos.mjs +27 -0
- package/dist/Accounts-CseLC3lL.mjs +5 -0
- package/dist/Analytics-CkYXKvco.mjs +53 -0
- package/dist/Analytics-CzGzz_sE.mjs +136 -0
- package/dist/ApiEndpoints-DXwIYNUV.mjs +49 -0
- package/dist/BudgetUtil-Bg2AQJpQ.mjs +74 -0
- package/dist/{Category-Ccoew_sA.mjs → Category-DEKZGLYe.mjs} +3 -3
- package/dist/{CategorySelectorDrawer-C4aZYP4N.mjs → CategorySelectorDrawer-CmaDLhnf.mjs} +131 -119
- package/dist/Connect-Dk6GZEsA.mjs +39 -0
- package/dist/ConnectCard-CCep7Zqe.mjs +54 -0
- package/dist/ConnectDrawer-Cnjr3Ddg.mjs +58 -0
- package/dist/{ConnectionsDrawer-BExzgE16.mjs → ConnectionsDrawer-CtfPXk0M.mjs} +13 -12
- package/dist/CurrencyDialog-DumQCTPO.mjs +373 -0
- package/dist/CurrencyInput-adTIRtL3.mjs +87 -0
- package/dist/{CurrencyText-C-85TnUF.mjs → CurrencyText-CCbE6MmF.mjs} +1 -1
- package/dist/DateFormats-HudZ3Bjs.mjs +64 -0
- package/dist/DateUtil-Bhq59ZVg.mjs +58 -0
- package/dist/DebtUtils-DD3186U-.mjs +153 -0
- package/dist/Dialog-CwWc0AbH.mjs +63 -0
- package/dist/Donut-SzzfZDHF.mjs +88 -0
- package/dist/{Drawer-Bet2ZPJo.mjs → Drawer-BXqqBMxg.mjs} +32 -34
- package/dist/EmbeddedCard-DPwJjqMH.mjs +856 -0
- package/dist/{EmptyState-DoxNUae-.mjs → EmptyState-CJUDc3kD.mjs} +21 -22
- package/dist/Error-Dogaw2jO.mjs +84 -0
- package/dist/ErrorBoundary-CsdOcnJ9.mjs +23 -0
- package/dist/{ExportCsvAction-oG_Mn66T.mjs → ExportCsvAction-Bw02ZJEj.mjs} +6 -6
- package/dist/GlobalAccountFilter-7Cg2-9A5.mjs +237 -0
- package/dist/GlobalCopyApi-wcnDUzMV.mjs +128 -0
- package/dist/GoalsUtil-C9EnLWvC.mjs +107 -0
- package/dist/HeaderCell-P8w6CmfO.mjs +6 -0
- package/dist/{Help-c-zHlDbv.mjs → Help-CkQTjORd.mjs} +6 -27
- package/dist/{Help-BW_ar-4B.mjs → Help-DJ8PrVHX.mjs} +594 -562
- package/dist/InformationTooltip-4su8bn1e.mjs +41 -0
- package/dist/{InvestmentUtil-jOyOgzIB.mjs → InvestmentUtil-BItV7uEs.mjs} +17 -17
- package/dist/LineChart-CejWS_rh.mjs +612 -0
- package/dist/{ListItemAction-Cbr3417C.mjs → ListItemAction-CwspSmQi.mjs} +26 -26
- package/dist/ListItemRow-kH1rn8Xu.mjs +67 -0
- package/dist/ListItemWrapper-B5r-YQQ_.mjs +42 -0
- package/dist/Loader-CxeBwuPG.mjs +21 -0
- package/dist/Localization-DnoVyBNK.mjs +38 -0
- package/dist/ManageIncome-B1JfqslT.mjs +595 -0
- package/dist/{MicroWidgetContainer-DSyYwRCU.mjs → MicroWidgetContainer-CfKdQfhi.mjs} +2 -2
- package/dist/MiniWidgetContainer-BdPiUU-u.mjs +66 -0
- package/dist/NetWorthUtils-DilGN1nW.mjs +95 -0
- package/dist/Notification-DTNYSd8P.mjs +7 -0
- package/dist/{NotificationSettings-e789PcRb.mjs → NotificationSettings-6p-h5phZ.mjs} +143 -142
- package/dist/NotificationUtils-BRGFTePr.mjs +23 -0
- package/dist/{NumberFormatting-DjTD0t3W.mjs → NumberFormatting--XMeeBfr.mjs} +2 -1
- package/dist/OriginalBalanceAction-CkJPnp2c.mjs +114 -0
- package/dist/{RecurringSettings-BpCUcE8w.mjs → RecurringSettings-cm6MK_aS.mjs} +4 -4
- package/dist/RecurringTransactionsUtil-B3rLEx_g.mjs +253 -0
- package/dist/{ResponsiveButton-C6KH8JH4.mjs → ResponsiveButton-CC9F_Ezk.mjs} +4 -4
- package/dist/SearchBox-Cpgu_gdO.mjs +50 -0
- package/dist/Select-BFt-HD-L.mjs +55 -0
- package/dist/SelectionBox-B4xELRgp.mjs +48 -0
- package/dist/{SingleSegmentDonut-PsRQPkmV.mjs → SingleSegmentDonut-7Uy6VEld.mjs} +1 -1
- package/dist/Sizes-DISGrlUg.mjs +6 -0
- package/dist/{SpendingData-B7NuTQ9s.mjs → SpendingData-PKlh8caU.mjs} +6 -6
- package/dist/SpendingLegend-5Ct_FZ8o.mjs +193 -0
- package/dist/ToggleListItem-Dl1lXNwj.mjs +91 -0
- package/dist/TransactionDetails-C3dlAzYf.mjs +1714 -0
- package/dist/TransactionUtils-BphBJBbU.mjs +234 -0
- package/dist/TrendsUtil-D9z3kIj_.mjs +69 -0
- package/dist/UserStore-CRpKQjpP.mjs +3002 -0
- package/dist/ViewMoreMicroCard-BD_MNc2z.mjs +1295 -0
- package/dist/WidgetContainer-DNuz_s7W.mjs +479 -0
- package/dist/accounts/AccountsMiniWidget.d.ts +1 -1
- package/dist/accounts/AccountsWidget.d.ts +1 -1
- package/dist/accounts/components/AccountListItem.d.ts +1 -1
- package/dist/accounts/components/AccountsListCompact.d.ts +1 -1
- package/dist/accounts/components/detailsdrawer/Accounts/AccountActionsRow.d.ts +1 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsChart.d.ts +1 -1
- package/dist/accounts/hooks/useGetMergeableAccounts.d.ts +1 -1
- package/dist/accounts/hooks/useUiStore.d.ts +6 -1
- package/dist/accounts/index.d.ts +0 -2
- package/dist/accounts/index.es.js +628 -527
- package/dist/accounts/utils/AccountDetails.d.ts +1 -1
- package/dist/accounts/utils/AccountFields.d.ts +3 -3
- package/dist/analytics/index.es.js +93 -112
- package/dist/budgets/BubbleBudgetsMiniWidget.d.ts +1 -1
- package/dist/budgets/BubbleBudgetsWidget.d.ts +1 -1
- package/dist/budgets/components/BubbleChart.d.ts +1 -1
- package/dist/budgets/components/BudgetDetailsDrawerV2.d.ts +11 -0
- package/dist/budgets/components/MerchantBudgetDetailsDrawer.d.ts +17 -0
- package/dist/budgets/components/addbudget/RecalculateBudgetRow.d.ts +1 -1
- package/dist/budgets/components/addbudget/UnbudgetedRow.d.ts +1 -1
- package/dist/budgets/components/bubblechart/Bubble.d.ts +1 -1
- package/dist/budgets/components/budgetdetails/AddSubBudget.d.ts +1 -1
- package/dist/budgets/components/budgetdetails/BudgetDetails.d.ts +1 -1
- package/dist/budgets/components/budgetdetails/Header.d.ts +1 -1
- package/dist/budgets/components/budgetdetails/SubBudgetList.d.ts +1 -1
- package/dist/budgets/components/budgetlist/BudgetRow.d.ts +1 -1
- package/dist/budgets/components/budgetlist/SubBudgetRow.d.ts +1 -1
- package/dist/budgets/components/shared/BudgetDetailsTopSection.d.ts +13 -0
- package/dist/budgets/index.d.ts +2 -1
- package/dist/budgets/index.es.js +989 -813
- package/dist/budgets/utils/BubblesSVG.d.ts +3 -3
- package/dist/cashflow/CashflowMiniWidget.d.ts +1 -1
- package/dist/cashflow/CashflowWidget.d.ts +1 -1
- package/dist/cashflow/components/DetailsExpenseRow.d.ts +1 -1
- package/dist/cashflow/context/hooks.d.ts +15 -1
- package/dist/cashflow/index.d.ts +0 -2
- package/dist/cashflow/index.es.js +461 -490
- package/dist/cashflow/util/Filters.d.ts +1 -1
- package/dist/categories/components/CategoryRow.d.ts +1 -1
- package/dist/categories/components/CustomCategories/AddSubcategory.d.ts +1 -1
- package/dist/categories/components/CustomCategories/DeleteSubcategory.d.ts +1 -1
- package/dist/categories/components/CustomCategories/RenameSubcategory.d.ts +1 -1
- package/dist/categories/components/SubcategoryList.d.ts +1 -1
- package/dist/categories/components/SubcategoryRow.d.ts +1 -1
- package/dist/categories/context/hooks.d.ts +19 -1
- package/dist/categories/index.d.ts +0 -1
- package/dist/categories/index.es.js +4 -6
- package/dist/common/components/CurrencyDialog.d.ts +19 -0
- package/dist/common/components/CurrencyInput.d.ts +1 -1
- package/dist/common/components/EmptyState.d.ts +0 -1
- package/dist/common/components/Error.d.ts +13 -0
- package/dist/common/components/GlobalAccountFilter.d.ts +3 -2
- package/dist/common/components/Loader.d.ts +1 -2
- package/dist/common/components/MiniWidgetContainer.d.ts +1 -0
- package/dist/common/components/TinyBarChart.d.ts +10 -0
- package/dist/common/components/WidgetContainer.d.ts +4 -3
- package/dist/common/components/WidgetDateRangeSelector.d.ts +12 -0
- package/dist/common/components/charts/LineChart.d.ts +1 -0
- package/dist/common/components/charts/index.d.ts +1 -0
- package/dist/common/components/charts/linechart/CustomTooltip.d.ts +2 -1
- package/dist/common/components/charts/linechart/utils/markerShapes.d.ts +3 -0
- package/dist/common/components/charts/stackedlinechart/CustomAreaTooltip.d.ts +1 -1
- package/dist/common/components/daterangeselector/DateRangeSelector.d.ts +1 -0
- package/dist/common/components/globalaccountfilter/GlobalAccountFilterList.d.ts +1 -1
- package/dist/common/components/index.d.ts +2 -1
- package/dist/common/constants/Account.d.ts +1 -1
- package/dist/common/constants/Analytics.d.ts +12 -0
- package/dist/common/constants/ScheduledPayment.d.ts +1 -10
- package/dist/common/constants/SpendingPlan.d.ts +0 -10
- package/dist/common/constants/index.d.ts +2 -6
- package/dist/common/context/GlobalDataProvider.d.ts +2 -1
- package/dist/common/context/hooks.d.ts +24 -24
- package/dist/common/hooks/index.d.ts +2 -0
- package/dist/common/hooks/useAccountDisplayName.d.ts +1 -1
- package/dist/common/hooks/useCombineEvents.d.ts +1 -1
- package/dist/common/hooks/usePrevious.d.ts +2 -0
- package/dist/common/hooks/useWidgetHeaderStyles.d.ts +34 -0
- package/dist/common/index.d.ts +3 -3
- package/dist/common/index.es.js +254 -1348
- package/dist/common/utils/AccountDisplayName.d.ts +1 -1
- package/dist/common/utils/AccountFilter.d.ts +2 -2
- package/dist/common/utils/Analytics.d.ts +1 -1
- package/dist/common/utils/PostMessage.d.ts +1 -0
- package/dist/common/utils/Theme.d.ts +7 -6
- package/dist/common/utils/index.d.ts +1 -6
- package/dist/{accounts → core}/api/AccountApi.d.ts +2 -2
- package/dist/{common → core}/api/AnalyticsApi.d.ts +1 -1
- package/dist/{common → core}/api/AppDataApi.d.ts +2 -2
- package/dist/{common → core}/api/BannerApi.d.ts +1 -1
- package/dist/{common → core}/api/BeatApi.d.ts +2 -2
- package/dist/{budgets → core}/api/BudgetsApi.d.ts +5 -1
- package/dist/{common → core}/api/CategoryApi.d.ts +2 -2
- package/dist/{finstrong → core}/api/FinstrongApi.d.ts +2 -2
- package/dist/{common → core}/api/GlobalCopyApi.d.ts +2 -2
- package/dist/{goals → core}/api/GoalApi.d.ts +2 -2
- package/dist/{help → core}/api/HelpApi.d.ts +2 -2
- package/dist/{investments → core}/api/HoldingApi.d.ts +2 -2
- package/dist/{merchants → core}/api/MerchantApi.d.ts +2 -2
- package/dist/{common → core}/api/NotificationApi.d.ts +2 -2
- package/dist/{recurringtransactions → core}/api/RepeatingTransactionsApi.d.ts +2 -1
- package/dist/{common → core}/api/ScheduledPaymentsApi.d.ts +2 -2
- package/dist/{settings → core}/api/SettingsApi.d.ts +2 -3
- package/dist/{transactions → core}/api/TransactionApi.d.ts +2 -2
- package/dist/{common → core}/api/UserApi.d.ts +2 -2
- package/dist/{common → core}/api/WidgetApi.d.ts +1 -1
- package/dist/core/api/index.d.ts +20 -0
- package/dist/{common → core}/constants/ApiEndpoints.d.ts +1 -2
- package/dist/{common → core}/constants/DefaultConfig.d.ts +1 -1
- package/dist/core/constants/Transaction.d.ts +10 -0
- package/dist/core/constants/index.d.ts +4 -0
- package/dist/core/constants/repeatingTransactions.d.ts +10 -0
- package/dist/core/index.d.ts +4 -0
- package/dist/core/index.es.js +108 -0
- package/dist/{accounts → core}/stores/AccountStore.d.ts +15 -3
- package/dist/{analytics → core}/stores/AnalyticsStore.d.ts +1 -1
- package/dist/{common → core}/stores/AppDataStore.d.ts +1 -2
- package/dist/{insights/store → core/stores}/BeatStore.d.ts +3 -3
- package/dist/{budgets/store → core/stores}/BudgetsStore.d.ts +15 -2
- package/dist/{cashflow/stores/UiStore.d.ts → core/stores/CashflowStore.d.ts} +10 -2
- package/dist/{categories → core}/stores/CategoryStore.d.ts +24 -2
- package/dist/{common → core}/stores/ConnectStore.d.ts +1 -1
- package/dist/core/stores/DebtsStore.d.ts +22 -0
- package/dist/{finstrong → core}/stores/FinstrongStore.d.ts +5 -4
- package/dist/{common → core}/stores/GlobalStore.d.ts +4 -25
- package/dist/{goals → core}/stores/GoalStore.d.ts +3 -2
- package/dist/{help/store → core/stores}/HelpStore.d.ts +4 -5
- package/dist/{investments → core}/stores/HoldingStore.d.ts +4 -3
- package/dist/{merchants → core}/stores/MerchantStore.d.ts +3 -2
- package/dist/{networth → core}/stores/NetWorthStore.d.ts +3 -3
- package/dist/{notifications → core}/stores/NotificationStore.d.ts +3 -1
- package/dist/{recurringtransactions → core}/stores/RecurringTransactionsStore.d.ts +3 -2
- package/dist/{settings → core}/stores/SettingsStore.d.ts +4 -4
- package/dist/{transactions → core}/stores/TransactionStore.d.ts +30 -4
- package/dist/{trends → core}/stores/TrendsStore.d.ts +11 -4
- package/dist/core/stores/index.d.ts +24 -0
- package/dist/{common → core}/types/Analytics.d.ts +6 -3
- package/dist/{common → core}/types/AppData.d.ts +8 -2
- package/dist/{common → core}/types/Beat.d.ts +2 -0
- package/dist/{common → core}/types/Budget.d.ts +8 -0
- package/dist/{common → core}/types/Client.d.ts +1 -0
- package/dist/{common → core}/types/Expense.d.ts +2 -1
- package/dist/{common → core}/types/Finstrong.d.ts +0 -2
- package/dist/{networth → core}/types/NetWorth.d.ts +1 -10
- package/dist/{common → core}/types/Notification.d.ts +15 -5
- package/dist/core/types/Offer.d.ts +32 -0
- package/dist/{common → core}/types/Widgets.d.ts +1 -0
- package/dist/{common → core}/types/index.d.ts +4 -3
- package/dist/{common → core}/types/localization/BudgetsCopy.d.ts +26 -0
- package/dist/{common → core}/types/localization/CashflowCopy.d.ts +1 -0
- package/dist/{common → core}/types/localization/CommonCopy.d.ts +3 -0
- package/dist/{common → core}/types/localization/DebtsCopy.d.ts +5 -0
- package/dist/{common → core}/types/localization/GoalsCopy.d.ts +0 -1
- package/dist/{common → core}/types/localization/InsightsFeedCopy.d.ts +11 -0
- package/dist/{common → core}/types/localization/RecurringCopy.d.ts +2 -0
- package/dist/{common → core}/types/localization/SpendingCopy.d.ts +1 -0
- package/dist/{common → core}/types/localization/TransactionsCopy.d.ts +11 -6
- package/dist/{common → core}/types/localization/TrendsCopy.d.ts +2 -0
- package/dist/{accounts/utils/Accounts.d.ts → core/utils/AccountUtils.d.ts} +2 -2
- package/dist/{microinsights/utils/beatUtils.d.ts → core/utils/BeatUtils.d.ts} +1 -1
- package/dist/{budgets → core}/utils/BudgetUtil.d.ts +7 -2
- package/dist/{categories/util → core/utils}/CategoryUtil.d.ts +6 -1
- package/dist/core/utils/DebtUtils.d.ts +31 -0
- package/dist/core/utils/FinstrongUtils.d.ts +7 -0
- package/dist/{goals/util → core/utils}/GoalsUtil.d.ts +1 -1
- package/dist/core/utils/HelpUtil.d.ts +3 -0
- package/dist/{investments/util → core/utils}/InvestmentUtil.d.ts +2 -2
- package/dist/{common → core}/utils/Localization.d.ts +9 -1
- package/dist/{networth → core}/utils/NetWorthUtils.d.ts +1 -2
- package/dist/{notifications → core}/utils/NotificationUtils.d.ts +2 -1
- package/dist/{common → core}/utils/NumberFormatting.d.ts +1 -1
- package/dist/{recurringtransactions/util/RecurringTransactions.d.ts → core/utils/RecurringTransactionsUtil.d.ts} +2 -2
- package/dist/{settings/util/Notifications.d.ts → core/utils/SettingsUtil.d.ts} +1 -1
- package/dist/{transactions/utils/buildDetailedTransactions.d.ts → core/utils/TransactionUtils.d.ts} +12 -2
- package/dist/{trends/utils/TrendsData.d.ts → core/utils/TrendsUtil.d.ts} +1 -1
- package/dist/core/utils/index.d.ts +2 -0
- package/dist/dashboard/index.es.js +39 -38
- package/dist/debts/DebtsWidget.d.ts +1 -1
- package/dist/debts/components/DebtsChart.d.ts +1 -1
- package/dist/debts/components/DebtsTable.d.ts +1 -1
- package/dist/debts/components/SnowballCard.d.ts +1 -1
- package/dist/debts/components/actions/DebtsPriorityAction.d.ts +6 -1
- package/dist/debts/components/actions/InterestRateAction.d.ts +1 -1
- package/dist/debts/components/actions/MonthlyPaymentAction.d.ts +1 -1
- package/dist/debts/components/actions/OriginalBalanceAction.d.ts +1 -1
- package/dist/debts/components/debtspaydown/PaydownButton.d.ts +2 -1
- package/dist/debts/components/debtspriority/DebtsPriorityButton.d.ts +3 -1
- package/dist/debts/hooks/useDebtsUiStore.d.ts +1 -1
- package/dist/debts/index.d.ts +0 -1
- package/dist/debts/index.es.js +715 -775
- package/dist/debts/utils/DebtsTable.d.ts +1 -1
- package/dist/debts/utils/SnowballCard.d.ts +2 -2
- package/dist/finstrong/FinstrongWidget.d.ts +2 -2
- package/dist/finstrong/components/HealthChart.d.ts +1 -1
- package/dist/finstrong/components/onboarding/OnboardingAddMonthlyIncome.d.ts +1 -1
- package/dist/finstrong/components/onboarding/OnboardingStepsDrawer.d.ts +1 -1
- package/dist/finstrong/components/shared/Accounts.d.ts +1 -1
- package/dist/finstrong/components/shared/DoubleBarChart.d.ts +1 -0
- package/dist/finstrong/components/shared/ScoreHistoryTimeline.d.ts +1 -1
- package/dist/finstrong/components/shared/Transactions.d.ts +1 -1
- package/dist/finstrong/index.d.ts +0 -2
- package/dist/finstrong/index.es.js +1587 -1349
- package/dist/finstrong/util/finstrongUtils.d.ts +3 -9
- package/dist/goals/GoalsWidget.d.ts +2 -2
- package/dist/goals/components/AccountSelectionDrawer.d.ts +1 -1
- package/dist/goals/components/AddGoal.d.ts +1 -1
- package/dist/goals/components/GoalDetails.d.ts +1 -1
- package/dist/goals/components/GoalDetailsDrawer.d.ts +1 -1
- package/dist/goals/components/GoalList.d.ts +1 -1
- package/dist/goals/components/GoalStatusCard.d.ts +1 -1
- package/dist/goals/components/ManageGoals.d.ts +1 -1
- package/dist/goals/components/actions/AccountAction.d.ts +1 -1
- package/dist/goals/components/actions/AddRetirementAccountAction.d.ts +1 -1
- package/dist/goals/components/actions/AmountToSaveAction.d.ts +1 -1
- package/dist/goals/components/actions/BirthdayAction.d.ts +1 -1
- package/dist/goals/components/actions/ChangeAccountAction.d.ts +1 -1
- package/dist/goals/components/actions/ContributionAction.d.ts +1 -1
- package/dist/goals/components/actions/GoalNameAction.d.ts +1 -1
- package/dist/goals/components/actions/InterestRateAction.d.ts +1 -1
- package/dist/goals/components/actions/MonthlyPaymentAction.d.ts +1 -1
- package/dist/goals/components/actions/OriginalBalanceAction.d.ts +1 -1
- package/dist/goals/components/actions/RetirementAgeAction.d.ts +1 -1
- package/dist/goals/components/addgoal/AddGoalListItem.d.ts +2 -2
- package/dist/goals/components/managegoals/CompleteListItem.d.ts +1 -1
- package/dist/goals/components/managegoals/OngoingListItem.d.ts +3 -2
- package/dist/goals/components/managegoals/ReorderGoals.d.ts +1 -1
- package/dist/goals/components/micro/GoalMicroStatusCard.d.ts +1 -1
- package/dist/goals/index.d.ts +0 -2
- package/dist/goals/index.es.js +707 -787
- package/dist/help/HelpWidget.d.ts +2 -2
- package/dist/help/components/HelpContent.d.ts +1 -1
- package/dist/help/components/HelpList.d.ts +1 -1
- package/dist/help/components/content/BottomImageContent.d.ts +1 -1
- package/dist/help/components/content/ContentItem.d.ts +1 -1
- package/dist/help/components/content/LeftImageContent.d.ts +1 -1
- package/dist/help/components/content/NoImageContent.d.ts +1 -1
- package/dist/help/components/content/RightImageContent.d.ts +1 -1
- package/dist/help/components/content/TopImageContent.d.ts +1 -1
- package/dist/help/components/content/section/Accounts.d.ts +1 -1
- package/dist/help/components/content/section/Budgets.d.ts +1 -1
- package/dist/help/components/content/section/CashFlow.d.ts +1 -1
- package/dist/help/components/content/section/Debts.d.ts +1 -1
- package/dist/help/components/content/section/General.d.ts +1 -1
- package/dist/help/components/content/section/Goals.d.ts +1 -1
- package/dist/help/components/content/section/Insights.d.ts +1 -1
- package/dist/help/components/content/section/Investments.d.ts +1 -1
- package/dist/help/components/content/section/Mobile.d.ts +1 -1
- package/dist/help/components/content/section/NetWorth.d.ts +1 -1
- package/dist/help/components/content/section/Notifications.d.ts +1 -1
- package/dist/help/components/content/section/RecurringTransactions.d.ts +1 -1
- package/dist/help/components/content/section/Spending.d.ts +1 -1
- package/dist/help/components/content/section/Transactions.d.ts +1 -1
- package/dist/help/components/content/section/Trends.d.ts +1 -1
- package/dist/help/components/content/section/index.d.ts +15 -15
- package/dist/help/components/requestsupport/ContactSupport.d.ts +1 -1
- package/dist/help/components/requestsupport/HelpByCategoryList.d.ts +1 -1
- package/dist/help/components/requestsupport/MissingInstitution.d.ts +1 -1
- package/dist/help/components/requestsupport/PopularTopicsDrawer.d.ts +1 -1
- package/dist/help/components/requestsupport/PopularTopicsList.d.ts +1 -1
- package/dist/help/components/requestsupport/RequestSupport.d.ts +1 -1
- package/dist/help/components/requestsupport/RequestSupportFooter.d.ts +1 -1
- package/dist/help/components/requestsupport/RequestSupportInstitution.d.ts +1 -1
- package/dist/help/components/requestsupport/SupportSuccessMessage.d.ts +1 -1
- package/dist/help/index.es.js +19 -10
- package/dist/help/utils/index.d.ts +0 -1
- package/dist/{hooks-fY_n74f7.mjs → hooks-BaO_gOI6.mjs} +23 -23
- package/dist/insights/components/feed/Header.d.ts +8 -0
- package/dist/insights/components/index.d.ts +53 -0
- package/dist/insights/components/insights/AccountDiscoverability/AccountDiscoverability.d.ts +3 -0
- package/dist/insights/components/insights/AccountDiscoverability/index.d.ts +1 -0
- package/dist/insights/components/insights/AccountDiscoverability/types/AccountDiscoverability.d.ts +3 -0
- package/dist/insights/components/insights/AmericanUpcomingTaxDeadlineAlert/AmericanUpcomingTaxDeadlineAlert.d.ts +2 -0
- package/dist/insights/components/insights/AmericanUpcomingTaxDeadlineAlert/index.d.ts +1 -0
- package/dist/insights/components/insights/AmericanUpcomingTaxDeadlineAlert/types/AmericanUpcomingTaxDeadlineProps.d.ts +4 -0
- package/dist/insights/components/insights/BillAmountNotStandard/BillAmountNotStandard.d.ts +3 -0
- package/dist/insights/components/insights/BillAmountNotStandard/BillAmountNotStandardMUI.d.ts +3 -0
- package/dist/insights/components/insights/BillAmountNotStandard/index.d.ts +2 -0
- package/dist/insights/components/insights/BillAmountNotStandard/types/BillAmountNotStandard.d.ts +4 -0
- package/dist/insights/components/insights/CashBack/CashBack.d.ts +3 -0
- package/dist/insights/components/insights/CashBack/index.d.ts +1 -0
- package/dist/insights/components/insights/CashBack/types/CashBack.d.ts +7 -0
- package/dist/insights/components/insights/CategoryBudget/CategoryBudget.d.ts +3 -0
- package/dist/insights/components/insights/CategoryBudget/index.d.ts +1 -0
- package/dist/insights/components/insights/CategoryBudget/types/CategoryBudget.d.ts +10 -0
- package/dist/insights/components/insights/CategorySpendingV2/CategorySpendingV2.d.ts +2 -0
- package/dist/insights/components/insights/CategorySpendingV2/CategorySpendingV2MUI.d.ts +2 -0
- package/dist/insights/components/insights/CategorySpendingV2/index.d.ts +2 -0
- package/dist/insights/components/insights/CategorySpendingV2/types/CategorySpendingV2.d.ts +7 -0
- package/dist/insights/components/insights/CelebrateCreditCardPayoff/CelebrateCreditCardPayoff.d.ts +3 -0
- package/dist/insights/components/insights/CelebrateCreditCardPayoff/index.d.ts +1 -0
- package/dist/insights/components/insights/CelebrateCreditCardPayoff/types/CelebrateCreditCardPayoffProps.d.ts +9 -0
- package/dist/insights/components/insights/CustomTransaction/CustomTransaction.d.ts +3 -0
- package/dist/insights/components/insights/CustomTransaction/index.d.ts +1 -0
- package/dist/insights/components/insights/DiscoveredAccounts/DiscoveredAccountsBody.d.ts +9 -0
- package/dist/insights/components/insights/DiscoveredAccounts/DiscoveredAccountsLearnMoreDrawerContent.d.ts +21 -0
- package/dist/insights/components/insights/DiscoveredAccounts/DiscoveredAccountsMiniInsight.d.ts +6 -0
- package/dist/insights/components/insights/DiscoveredAccounts/index.d.ts +3 -0
- package/dist/insights/components/insights/FederalBankHoliday/FederalBankHoliday.d.ts +3 -0
- package/dist/insights/components/insights/FederalBankHoliday/FederalBankHolidayMUI.d.ts +3 -0
- package/dist/insights/components/insights/FederalBankHoliday/index.d.ts +2 -0
- package/dist/insights/components/insights/FederalBankHoliday/types/FederalBankHoliday.d.ts +4 -0
- package/dist/insights/components/insights/MarketingHub/Offer.d.ts +3 -0
- package/dist/insights/components/insights/MarketingHub/Types.d.ts +33 -0
- package/dist/insights/components/insights/MarketingHub/index.d.ts +2 -0
- package/dist/insights/components/insights/MonthlyDebtToIncomeComparisonV2/MonthlyDebtToIncomeComparisonV2.d.ts +2 -0
- package/dist/insights/components/insights/MonthlyDebtToIncomeComparisonV2/index.d.ts +1 -0
- package/dist/insights/components/insights/MonthlyDebtToIncomeComparisonV2/types/index.d.ts +4 -0
- package/dist/insights/components/insights/MonthlyEmergencyFundReview/LastMonthsContributionSection.d.ts +6 -0
- package/dist/insights/components/insights/MonthlyEmergencyFundReview/MonthlyEmergencyFundReviewBody.d.ts +21 -0
- package/dist/insights/components/insights/MonthlyEmergencyFundReview/ProjectedCompletionSection.d.ts +6 -0
- package/dist/insights/components/insights/MonthlyEmergencyFundReview/TotalSection.d.ts +7 -0
- package/dist/insights/components/insights/MonthlyEmergencyFundReview/index.d.ts +4 -0
- package/dist/insights/components/insights/MonthlySavingsToIncomeComparison/MonthlySavingsToIncomeComparison.d.ts +2 -0
- package/dist/insights/components/insights/MonthlySavingsToIncomeComparison/index.d.ts +1 -0
- package/dist/insights/components/insights/MonthlySavingsToIncomeComparison/types/index.d.ts +4 -0
- package/dist/insights/components/insights/MonthlySpendToIncomeComparisonV2/MonthlySpendToIncomeComparisonV2.d.ts +2 -0
- package/dist/insights/components/insights/MonthlySpendToIncomeComparisonV2/index.d.ts +1 -0
- package/dist/insights/components/insights/MonthlySpendToIncomeComparisonV2/types/index.d.ts +4 -0
- package/dist/insights/components/insights/MonthlySpendingComparisonV2/MonthlySpendingComparisonV2.d.ts +3 -0
- package/dist/insights/components/insights/MonthlySpendingComparisonV2/__test__/MonthlySpendComparisonV2.test.d.ts +1 -0
- package/dist/insights/components/insights/MonthlySpendingComparisonV2/index.d.ts +1 -0
- package/dist/insights/components/insights/MonthlySpendingComparisonV2/types/MonthlySpendComparisonV2.d.ts +4 -0
- package/dist/insights/components/insights/P2pCategorization/P2pCategorization.d.ts +3 -0
- package/dist/insights/components/insights/P2pCategorization/_tests_/P2pCategorizationMultipleTransaction.test.d.ts +0 -0
- package/dist/insights/components/insights/P2pCategorization/_tests_/P2pCategorizationSingleTransaction.test.d.ts +0 -0
- package/dist/insights/components/insights/P2pCategorization/index.d.ts +4 -0
- package/dist/insights/components/insights/P2pCategorization/shared/P2pCategorizationMultipleTransactions.d.ts +3 -0
- package/dist/insights/components/insights/P2pCategorization/shared/P2pCategorizationSingleTransaction.d.ts +3 -0
- package/dist/insights/components/insights/P2pCategorization/types/P2pCategorization.d.ts +17 -0
- package/dist/insights/components/insights/SavingsAccountBalancesSummary/SavingsAccountBalancesSummary.d.ts +2 -0
- package/dist/insights/components/insights/SavingsAccountBalancesSummary/index.d.ts +1 -0
- package/dist/insights/components/insights/SavingsAccountBalancesSummary/types/SavingsAccountBalancesSummary.d.ts +4 -0
- package/dist/insights/components/insights/SetUpDirectDeposit/SetUpDirectDepositBody.d.ts +3 -0
- package/dist/insights/components/insights/SetUpDirectDeposit/index.d.ts +1 -0
- package/dist/insights/components/insights/SharedDeposit/SharedDeposit.d.ts +2 -0
- package/dist/insights/components/insights/SharedDeposit/index.d.ts +1 -0
- package/dist/insights/components/insights/SharedDeposit/types/index.d.ts +7 -0
- package/dist/insights/components/insights/SwitchDirectDeposit/AccountBox.d.ts +7 -0
- package/dist/insights/components/insights/SwitchDirectDeposit/SwitchDirectDepositBody.d.ts +10 -0
- package/dist/insights/components/insights/SwitchDirectDeposit/SwitchDirectDepositMainContainer.d.ts +9 -0
- package/dist/insights/components/insights/SwitchDirectDeposit/index.d.ts +3 -0
- package/dist/insights/components/insights/UnifiedDeposit/UnifiedDeposit.d.ts +7 -0
- package/dist/insights/components/insights/UnifiedDeposit/UnifiedDepositBody.d.ts +11 -0
- package/dist/insights/components/insights/UnifiedDeposit/index.d.ts +1 -0
- package/dist/insights/components/insights/UserFeedback/StyledToggleButton.d.ts +7 -0
- package/dist/insights/components/insights/UserFeedback/Types.d.ts +27 -0
- package/dist/insights/components/insights/UserFeedback/UserFeedback.d.ts +3 -0
- package/dist/insights/components/insights/UserFeedback/index.d.ts +1 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/BubbleWeek.d.ts +9 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/NoSpendIcons.d.ts +1 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/WeeklyNoSpendDays.d.ts +12 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/_tests_/WeeklyNoSpendDays.test.d.ts +0 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/index.d.ts +1 -0
- package/dist/insights/components/insights/index.d.ts +25 -0
- package/dist/insights/components/shared/AccountBalanceCard.d.ts +13 -0
- package/dist/insights/components/shared/BottomSheet.d.ts +13 -0
- package/dist/insights/components/shared/CarouselControls.d.ts +14 -0
- package/dist/insights/components/shared/ChartDrawerTemplate/ChartDrawerTemplate.d.ts +30 -0
- package/dist/insights/components/shared/ChartDrawerTemplate/TipSection.d.ts +9 -0
- package/dist/insights/components/shared/ChartTransactionWithDrillDown.d.ts +22 -0
- package/dist/insights/components/shared/Charts/BarChart/BarChart.d.ts +2 -0
- package/dist/insights/components/shared/Charts/BarChart/BarChartV2.d.ts +2 -0
- package/dist/insights/components/shared/Charts/BarChart/ChartLegend.d.ts +9 -0
- package/dist/insights/components/shared/Charts/BarChart/ChartLegendV2.d.ts +10 -0
- package/dist/insights/components/shared/Charts/BarChart/CustomBarPlot.d.ts +18 -0
- package/dist/insights/components/shared/Charts/BarChart/CustomBarPlotV2.d.ts +18 -0
- package/dist/insights/components/shared/Charts/BarChart/CustomDoubleBarPlot.d.ts +18 -0
- package/dist/insights/components/shared/Charts/BarChart/CustomDoubleBarPlotMXUI.d.ts +18 -0
- package/dist/insights/components/shared/Charts/BarChart/DoubleBarChart.d.ts +2 -0
- package/dist/insights/components/shared/Charts/BarChart/DoubleBarChartLegend.d.ts +10 -0
- package/dist/insights/components/shared/Charts/BarChart/DoubleBarChartLegendMXUI.d.ts +10 -0
- package/dist/insights/components/shared/Charts/BarChart/DoubleBarChartMXUI.d.ts +2 -0
- package/dist/insights/components/shared/Charts/BarChart/index.d.ts +4 -0
- package/dist/insights/components/shared/Charts/EmptyBarChart.d.ts +1 -0
- package/dist/insights/components/shared/Charts/index.d.ts +2 -0
- package/dist/insights/components/shared/Confetti.d.ts +5 -0
- package/dist/insights/components/shared/ConnectionCard.d.ts +14 -0
- package/dist/insights/components/shared/ConnectionDetailDrillDown.d.ts +25 -0
- package/dist/insights/components/shared/Coupon.d.ts +8 -0
- package/dist/insights/components/shared/DeepLinks/DeepLinkDialog.d.ts +11 -0
- package/dist/insights/components/shared/DeepLinks/DirectDeposit/Circle.d.ts +6 -0
- package/dist/insights/components/shared/DeepLinks/DirectDeposit/DirectDepositDeepLink.d.ts +24 -0
- package/dist/insights/components/shared/DeepLinks/DirectDeposit/Dot.d.ts +1 -0
- package/dist/insights/components/shared/DeepLinks/DirectDeposit/Oval.d.ts +1 -0
- package/dist/insights/components/shared/DirectDeposit/DirectDeposit.d.ts +3 -0
- package/dist/insights/components/shared/DirectDeposit/DirectDepositSubHeader.d.ts +14 -0
- package/dist/insights/components/shared/DirectDeposit/FullFeedBodyHeader.d.ts +10 -0
- package/dist/insights/components/shared/DirectDeposit/LeftBox.d.ts +7 -0
- package/dist/insights/components/shared/DirectDeposit/MiniBodyHeader.d.ts +10 -0
- package/dist/insights/components/shared/DirectDeposit/RightBox.d.ts +8 -0
- package/dist/insights/components/shared/DiscoveredAccountsConnect.d.ts +8 -0
- package/dist/insights/components/shared/DonutChartV2.d.ts +13 -0
- package/dist/insights/components/shared/DrillDownCalculation/BalanceStepper.d.ts +12 -0
- package/dist/insights/components/shared/DrillDownCalculation/DrillDownCalculation.d.ts +31 -0
- package/dist/insights/components/shared/ErrorCard/ErrorCard.d.ts +8 -0
- package/dist/insights/components/shared/GenericFeedback/FeedbackButtons.d.ts +15 -0
- package/dist/insights/components/shared/GenericFeedback/FeedbackDescription.d.ts +5 -0
- package/dist/insights/components/shared/GenericFeedback/FeedbackHeader.d.ts +15 -0
- package/dist/insights/components/shared/GenericFeedback/FeedbackOptions.d.ts +12 -0
- package/dist/insights/components/shared/GenericFeedback/FeedbackText.d.ts +13 -0
- package/dist/insights/components/shared/GoalProgress.d.ts +10 -0
- package/dist/insights/components/shared/GradientBox.d.ts +8 -0
- package/dist/insights/components/shared/InsightsCard/BeatCard.d.ts +20 -0
- package/dist/insights/components/shared/InsightsCard/BeatCardMUI.d.ts +20 -0
- package/dist/insights/components/shared/InsightsCard/CardButtonSection.d.ts +7 -0
- package/dist/insights/components/shared/InsightsCard/CardError.d.ts +5 -0
- package/dist/insights/components/shared/InsightsCard/CardFooter.d.ts +7 -0
- package/dist/insights/components/shared/InsightsCard/CardHeader.d.ts +11 -0
- package/dist/insights/components/shared/InsightsCard/CardHeaderMUI.d.ts +11 -0
- package/dist/insights/components/shared/InsightsCard/CardLoading.d.ts +5 -0
- package/dist/insights/components/shared/InsightsCard/ClientConfigurableCta.d.ts +5 -0
- package/dist/insights/components/shared/InsightsCard/ContentAndDescription.d.ts +15 -0
- package/dist/insights/components/shared/InsightsCard/ContentAndDescriptionMUI.d.ts +15 -0
- package/dist/insights/components/shared/InsightsCard/Description.d.ts +10 -0
- package/dist/insights/components/shared/InsightsCard/DescriptionMUI.d.ts +10 -0
- package/dist/insights/components/shared/InsightsCard/EmbeddedCard.d.ts +9 -0
- package/dist/insights/components/shared/InsightsCard/FeedbackCard.d.ts +13 -0
- package/dist/insights/components/shared/InsightsCard/InsightButton.d.ts +12 -0
- package/dist/insights/components/shared/InsightsCard/MiniDescription.d.ts +9 -0
- package/dist/insights/components/shared/InsightsCard/MiniDescriptionMUI.d.ts +9 -0
- package/dist/insights/components/shared/MenuAction.d.ts +15 -0
- package/dist/insights/components/shared/MiniInsightCard.d.ts +16 -0
- package/dist/insights/components/shared/P2P/P2PMultipleCategorization.d.ts +12 -0
- package/dist/insights/components/shared/P2PCategorizationSingleAccount/P2PCategorizationSingleAccount.d.ts +10 -0
- package/dist/insights/components/shared/ProgressBar.d.ts +9 -0
- package/dist/insights/components/shared/SaveAnExtra100/SaveAnExtra100.d.ts +9 -0
- package/dist/insights/components/shared/SaveEnoughToLiveOnBottomSection.d.ts +11 -0
- package/dist/insights/components/shared/SaveEnoughToLiveOnTopSection.d.ts +2 -0
- package/dist/insights/components/shared/StatusIndicator.d.ts +15 -0
- package/dist/insights/components/shared/TabContainer.d.ts +8 -0
- package/dist/insights/components/shared/ThemedSVGImage.d.ts +2 -0
- package/dist/insights/components/shared/TransactionCard.d.ts +14 -0
- package/dist/insights/components/shared/ZeroState/LinedCardZeroState.d.ts +1 -0
- package/dist/insights/components/shared/index.d.ts +2 -0
- package/dist/insights/hooks/useContainerDimensions.d.ts +5 -0
- package/dist/insights/index.d.ts +1 -1
- package/dist/insights/index.es.js +4843 -2
- package/dist/insights/themes/Typography.d.ts +1 -0
- package/dist/insights/themes/index.d.ts +1 -0
- package/dist/insights/types/Charts/BarChart.d.ts +96 -0
- package/dist/insights/types/CommonBeat.d.ts +367 -0
- package/dist/insights/types/DirectDeposit.d.ts +16 -0
- package/dist/insights/types/ThemedSVGImage.d.ts +5 -0
- package/dist/investments/InvestmentsWidget.d.ts +2 -2
- package/dist/investments/components/AnalysisDetails.d.ts +1 -1
- package/dist/investments/components/allocation/util/createInvestementsAllocationData.d.ts +2 -2
- package/dist/investments/index.es.js +574 -574
- package/dist/merchants/index.d.ts +0 -1
- package/dist/merchants/index.es.js +18 -20
- package/dist/microinsights/InsightsMicroWidget.d.ts +1 -14
- package/dist/microinsights/MicroCardTemplate.d.ts +2 -4
- package/dist/microinsights/beaticons/AreaChartIcon.d.ts +3 -0
- package/dist/microinsights/beaticons/AverageSpendComparisonIcon.d.ts +3 -0
- package/dist/microinsights/beaticons/BeatMaterialIcon.d.ts +5 -1
- package/dist/microinsights/beaticons/InstitutionLogoIcon.d.ts +5 -0
- package/dist/microinsights/beaticons/MonthlySpendComparisonIcon.d.ts +0 -2
- package/dist/microinsights/beaticons/index.d.ts +3 -0
- package/dist/microinsights/cards/InsightCard.d.ts +3 -3
- package/dist/microinsights/cards/NoRelevantInsightsCard.d.ts +3 -3
- package/dist/microinsights/cards/ViewMoreMicroCard.d.ts +3 -3
- package/dist/microinsights/cards/ZeroStateCard.d.ts +3 -3
- package/dist/microinsights/carousel/BeatList.d.ts +3 -3
- package/dist/microinsights/carousel/CarouselHeader.d.ts +4 -2
- package/dist/microinsights/carousel/MicroBeatCarousel.d.ts +12 -12
- package/dist/microinsights/constants/Analytics.d.ts +1 -1
- package/dist/microinsights/context/InsightsMicroWidgetDataProvider.d.ts +1 -1
- package/dist/microinsights/context/hooks.d.ts +1 -1
- package/dist/microinsights/index.d.ts +1 -1
- package/dist/microinsights/index.es.js +1 -1
- package/dist/microinsights/interfaces.d.ts +23 -40
- package/dist/microinsights/stores/CopyStore.d.ts +2 -2
- package/dist/microinsights/stores/InsightsMicroWidgetStore.d.ts +2 -2
- package/dist/microinsights/utils/DataSeries.d.ts +1 -1
- package/dist/microinsights/utils/colorType.d.ts +22 -0
- package/dist/networth/NetWorthWidget.d.ts +1 -1
- package/dist/networth/components/AssetsLiabilitiesDetail.d.ts +1 -1
- package/dist/networth/components/GainsLossesDetail.d.ts +1 -1
- package/dist/networth/components/NetWorthChange.d.ts +1 -1
- package/dist/networth/components/NetWorthListItem.d.ts +1 -1
- package/dist/networth/components/NetWorthSummary.d.ts +1 -1
- package/dist/networth/components/micro/NetworthData.d.ts +1 -1
- package/dist/networth/components/micro/ZeroState.d.ts +1 -1
- package/dist/networth/index.d.ts +0 -4
- package/dist/networth/index.es.js +302 -314
- package/dist/notifications/components/NotificationBadge.d.ts +1 -1
- package/dist/notifications/components/NotificationCard.d.ts +1 -1
- package/dist/notifications/components/NotificationDrawer.d.ts +1 -1
- package/dist/notifications/components/NotificationList.d.ts +2 -1
- package/dist/notifications/index.d.ts +0 -2
- package/dist/notifications/index.es.js +101 -93
- package/dist/recurringtransactions/RecurringTransactionsMiniWidget.d.ts +1 -1
- package/dist/recurringtransactions/RecurringTransactionsWidget.d.ts +2 -2
- package/dist/recurringtransactions/components/PaymentSchedule.d.ts +1 -1
- package/dist/recurringtransactions/components/RecurrenceList.d.ts +1 -1
- package/dist/recurringtransactions/components/RecurrenceRow.d.ts +1 -1
- package/dist/recurringtransactions/components/RecurringTransactionDetails.d.ts +1 -1
- package/dist/recurringtransactions/components/actions/PaymentScheduleAction.d.ts +1 -1
- package/dist/recurringtransactions/components/micro/MerchantLogosRow.d.ts +1 -1
- package/dist/recurringtransactions/components/micro/OverlappingMerchantLogos.d.ts +1 -1
- package/dist/recurringtransactions/components/shared/recurringsettings/AddRecurringTransactionDetails.d.ts +1 -1
- package/dist/recurringtransactions/components/shared/recurringsettings/RecurringRow.d.ts +1 -1
- package/dist/recurringtransactions/index.d.ts +0 -1
- package/dist/recurringtransactions/index.es.js +489 -462
- package/dist/settings/NotificationSettingsWidget.d.ts +1 -1
- package/dist/settings/SettingsWidget.d.ts +2 -2
- package/dist/settings/TransactionRulesWidget.d.ts +1 -1
- package/dist/settings/components/devices/DeviceDialog.d.ts +1 -1
- package/dist/settings/components/devices/DeviceList.d.ts +1 -1
- package/dist/settings/components/devices/DeviceTable.d.ts +1 -1
- package/dist/settings/components/notifications/AccountNotificationProfile.d.ts +1 -1
- package/dist/settings/components/notifications/AccountProfileListItem.d.ts +1 -1
- package/dist/settings/components/notifications/NotificationProfile.d.ts +1 -1
- package/dist/settings/components/notifications/NotificationSettings.d.ts +1 -1
- package/dist/settings/components/transactionrules/actions/EditRuleAction.d.ts +1 -1
- package/dist/settings/index.d.ts +0 -2
- package/dist/settings/index.es.js +419 -430
- package/dist/spending/SpendingMiniWidget.d.ts +1 -1
- package/dist/spending/SpendingWidget.d.ts +1 -1
- package/dist/spending/index.es.js +229 -222
- package/dist/spending/utils/SpendingData.d.ts +1 -1
- package/dist/transactions/TransactionWidget.d.ts +1 -1
- package/dist/transactions/components/shared/TransactionDetails.d.ts +1 -1
- package/dist/transactions/components/shared/TransactionList.d.ts +3 -4
- package/dist/transactions/components/shared/getEmbeddedInstanceSlotByBeatTemplates.d.ts +17 -0
- package/dist/transactions/components/shared/transactiondetails/Description.d.ts +1 -1
- package/dist/transactions/components/shared/transactiondetails/FlagTransaction.d.ts +1 -1
- package/dist/transactions/components/shared/transactiondetails/TransactionAmountHeader.d.ts +1 -1
- package/dist/transactions/components/shared/transactiondetails/TransactionDetailsView.d.ts +1 -1
- package/dist/transactions/components/shared/transactiondetails/actions/AddMerchantBudgetAction.d.ts +13 -0
- package/dist/transactions/components/shared/transactiondetails/actions/CategoryAction.d.ts +1 -1
- package/dist/transactions/components/shared/transactiondetails/actions/DateAction.d.ts +1 -1
- package/dist/transactions/components/shared/transactiondetails/actions/DeleteAction.d.ts +1 -1
- package/dist/transactions/components/shared/transactiondetails/actions/DeleteLogoAction.d.ts +1 -1
- package/dist/transactions/components/shared/transactiondetails/actions/ExcludeAction.d.ts +7 -0
- package/dist/transactions/components/shared/transactiondetails/actions/MemoAction.d.ts +1 -1
- package/dist/transactions/components/shared/transactiondetails/actions/SplitAction.d.ts +1 -1
- package/dist/transactions/components/shared/transactiondetails/actions/TagsAction.d.ts +1 -1
- package/dist/transactions/components/shared/transactiondetails/actions/index.d.ts +2 -1
- package/dist/transactions/components/shared/transactionlist/TransactionRow.d.ts +1 -1
- package/dist/transactions/components/shared/transactiontable/cells/PayeeCell.d.ts +4 -1
- package/dist/transactions/components/splitmanager/SplitManager.d.ts +1 -1
- package/dist/transactions/components/splitmanager/SplitRow.d.ts +1 -1
- package/dist/transactions/components/tagmanager/TagRow.d.ts +1 -1
- package/dist/transactions/components/transactionwidget/actions/EditCategoryAction.d.ts +1 -1
- package/dist/transactions/components/transactionwidget/actions/ExportCsvAction.d.ts +1 -1
- package/dist/transactions/constants/Actions.d.ts +4 -3
- package/dist/transactions/context/hooks.d.ts +1 -1
- package/dist/transactions/index.d.ts +0 -5
- package/dist/transactions/index.es.js +344 -351
- package/dist/transactions/utils/Filters.d.ts +1 -1
- package/dist/transactions/utils/Transactions.d.ts +17 -1
- package/dist/trends/TrendsFullWidget.d.ts +1 -1
- package/dist/trends/TrendsMiniWidget.d.ts +1 -1
- package/dist/trends/TrendsWidget.d.ts +1 -1
- package/dist/trends/components/CategoriesList.d.ts +1 -1
- package/dist/trends/components/CategoriesListItem.d.ts +1 -1
- package/dist/trends/components/CategoryDetails.d.ts +3 -0
- package/dist/trends/components/TrendsChartTotals.d.ts +1 -1
- package/dist/trends/components/TrendsInsights.d.ts +1 -1
- package/dist/trends/components/{TrendsTable.d.ts → TrendsTableContainer.d.ts} +2 -2
- package/dist/trends/components/trendstable/AccessibleSortIcon.d.ts +13 -0
- package/dist/trends/components/trendstable/TrendsTable.d.ts +12 -0
- package/dist/trends/index.d.ts +0 -1
- package/dist/trends/index.es.js +987 -874
- package/dist/trends/utils/SpendingData.d.ts +1 -1
- package/dist/trends/utils/TrendsTable.d.ts +5 -3
- package/dist/trends/utils/TrendsWidget.d.ts +7 -0
- package/dist/trends/utils/shared.d.ts +2 -2
- package/dist/{useAccountDisplayName-DbkgGLdg.mjs → useAccountDisplayName-CFa_MrS6.mjs} +5 -5
- package/dist/{useAriaLive-B3_pRUio.mjs → useAriaLive-MkYebyUR.mjs} +4 -4
- package/dist/{useDimensions-27p2evRx.mjs → useDimensions-CeDR9V8N.mjs} +6 -6
- package/dist/{useInsightsEnabled-dhmXeSyF.mjs → useInsightsEnabled-DaNLPmUU.mjs} +1 -1
- package/dist/{useScreenSize-B6JyS_Lj.mjs → useScreenSize-mWpmnh5w.mjs} +3 -3
- package/dist/{useWidgetLoadTimer-CrUzxN-P.mjs → useWidgetLoadTimer-CJb-RELP.mjs} +1 -1
- package/package.json +65 -43
- package/dist/AccountApi-DgZ8ILj1.mjs +0 -19
- package/dist/AccountDetailsHeader-BOV91g1o.mjs +0 -95
- package/dist/AccountFields-BRRH37K1.mjs +0 -140
- package/dist/AccountListItem-Ds5C0mOT.mjs +0 -90
- package/dist/AccountStore-BFKvXJSD.mjs +0 -244
- package/dist/Accounts-CuE8aSZN.mjs +0 -27
- package/dist/BeatApi-De2IaqH2.mjs +0 -21
- package/dist/BeatStore-D_NYuBSz.mjs +0 -81
- package/dist/BudgetUtil-CDSOZXem.mjs +0 -101
- package/dist/CashflowStore-naOtJcwo.mjs +0 -91
- package/dist/CategoryStore-DEqAnHbi.mjs +0 -186
- package/dist/CategoryUtil-CFHBvaV4.mjs +0 -80
- package/dist/CurrencyInput-DDQ4DBrE.mjs +0 -85
- package/dist/DateUtil-CVsMhbZU.mjs +0 -48
- package/dist/DebtsStore-Dv_T7Dts.mjs +0 -63
- package/dist/Dialog-CWymUiuO.mjs +0 -120
- package/dist/Donut-Dmy3JTWd.mjs +0 -86
- package/dist/Fetch-DecPFeGU.mjs +0 -119
- package/dist/FinstrongStore-BjFkMTIL.mjs +0 -451
- package/dist/GlobalAccountFilter-BpWlPAl5.mjs +0 -316
- package/dist/GoalStore-Dbjgft2i.mjs +0 -422
- package/dist/HeaderCell-DjuifqHJ.mjs +0 -6
- package/dist/LineChart-DHj-Bufi.mjs +0 -580
- package/dist/Loader-BSWSYqvn.mjs +0 -24
- package/dist/Localization-2MODESHW.mjs +0 -30
- package/dist/ManageIncome-DIIyqDTp.mjs +0 -585
- package/dist/MerchantStore-WvZ4gnQe.mjs +0 -37
- package/dist/MiniWidgetContainer-DKn7ndO6.mjs +0 -56
- package/dist/NetWorthStore-B6ziBtaH.mjs +0 -168
- package/dist/Notification-Bs1fdbzI.mjs +0 -95
- package/dist/NotificationStore-Ck2KdNmT.mjs +0 -79
- package/dist/OriginalBalanceAction-DFoG79Ba.mjs +0 -115
- package/dist/RecurringTransactionsStore-D_--5PWH.mjs +0 -277
- package/dist/RepeatingTransaction-C2txVA9O.mjs +0 -292
- package/dist/SearchBox-B2_zLv8-.mjs +0 -42
- package/dist/SettingsStore-CInvh-rQ.mjs +0 -269
- package/dist/SpendingLegend-BxefXiQd.mjs +0 -193
- package/dist/TransactionApi-CjBoLleL.mjs +0 -86
- package/dist/TransactionDetails-CPwv9xtZ.mjs +0 -1374
- package/dist/TransactionStore-D2aMUClq.mjs +0 -688
- package/dist/TrendsStore-BdsYfCc7.mjs +0 -183
- package/dist/User-CulNdZUr.mjs +0 -314
- package/dist/ViewMoreMicroCard-CDWR16_h.mjs +0 -1147
- package/dist/WidgetContainer-mzejMmz2.mjs +0 -555
- package/dist/accounts/stores/UiStore.d.ts +0 -10
- package/dist/accounts/utils/index.d.ts +0 -1
- package/dist/cashflow/api/CashflowApi.d.ts +0 -13
- package/dist/cashflow/stores/CashflowStore.d.ts +0 -8
- package/dist/categories/stores/UiStore.d.ts +0 -20
- package/dist/common/api/LocalizedCopyApi.d.ts +0 -8
- package/dist/common/api/index.d.ts +0 -10
- package/dist/common/components/barchart/Bar.d.ts +0 -25
- package/dist/common/components/barchart/BarChart.d.ts +0 -34
- package/dist/common/components/barchart/BarColumn.d.ts +0 -37
- package/dist/common/components/barchart/Legend.d.ts +0 -8
- package/dist/common/components/barchart/Util.d.ts +0 -42
- package/dist/common/components/barchart/index.d.ts +0 -1
- package/dist/common/stores/index.d.ts +0 -3
- package/dist/common/types/SpendingPlan.d.ts +0 -44
- package/dist/common/utils/Categories.d.ts +0 -6
- package/dist/debts/store/DebtsStore.d.ts +0 -9
- package/dist/debts/store/DebtsUiStore.d.ts +0 -13
- package/dist/debts/utils/DebtStore.d.ts +0 -4
- package/dist/debts/utils/DebtsWidget.d.ts +0 -14
- package/dist/debts/utils/shared.d.ts +0 -12
- package/dist/exportTransactionsToCSV-BU1jTY0Q.mjs +0 -48
- package/dist/help/constants/index.d.ts +0 -1
- package/dist/help/utils/getAccessibleHelpCategories.d.ts +0 -3
- package/dist/transactions/analytics.d.ts +0 -3
- package/dist/transactions/components/shared/transactiondetails/actions/HideAction.d.ts +0 -7
- package/dist/transactions/components/shared/transactionlist/DateRow.d.ts +0 -7
- package/dist/transactions/constants/Transaction.d.ts +0 -2
- package/dist/transactions/constants/TransactionsTable.d.ts +0 -17
- package/dist/transactions/stores/UiStore.d.ts +0 -25
- package/dist/transactions/utils/exportTransactionsToCSV.d.ts +0 -9
- package/dist/transactions/utils/sortAndFilterTransactions.d.ts +0 -3
- package/dist/trends/components/CategoryDetailDrawer.d.ts +0 -7
- package/dist/useCombineEvents-CRwX-qWE.mjs +0 -92
- package/dist/{common → core}/constants/Category.d.ts +0 -0
- package/dist/{common → core}/constants/DateFormats.d.ts +0 -0
- package/dist/{debts/constants/index.d.ts → core/constants/Debts.d.ts} +0 -0
- package/dist/{help → core}/constants/Help.d.ts +0 -0
- package/dist/{investments/constants/index.d.ts → core/constants/Investments.d.ts} +0 -0
- package/dist/{common → core}/constants/Numbers.d.ts +0 -0
- package/dist/{common → core}/constants/Table.d.ts +0 -0
- package/dist/{common → core}/stores/GlobalCopyStore.d.ts +0 -0
- package/dist/{common → core}/stores/GlobalUiStore.d.ts +0 -0
- package/dist/{common → core}/stores/UserStore.d.ts +1 -1
- /package/dist/{common → core}/types/Account.d.ts +0 -0
- /package/dist/{common → core}/types/Cashflow.d.ts +0 -0
- /package/dist/{common → core}/types/Category.d.ts +0 -0
- /package/dist/{common → core}/types/Date.d.ts +0 -0
- /package/dist/{common → core}/types/Debt.d.ts +0 -0
- /package/dist/{common → core}/types/Global.d.ts +0 -0
- /package/dist/{common → core}/types/GlobalCopy.d.ts +0 -0
- /package/dist/{common → core}/types/Goal.d.ts +0 -0
- /package/dist/{common → core}/types/Handlers.d.ts +0 -0
- /package/dist/{common → core}/types/Help.d.ts +0 -0
- /package/dist/{common → core}/types/Holding.d.ts +0 -0
- /package/dist/{common → core}/types/Institution.d.ts +0 -0
- /package/dist/{common → core}/types/LocalizedContent.d.ts +0 -0
- /package/dist/{common → core}/types/Merchant.d.ts +0 -0
- /package/dist/{common → core}/types/RepeatingTransaction.d.ts +0 -0
- /package/dist/{common → core}/types/ScheduledPayment.d.ts +0 -0
- /package/dist/{common → core}/types/ScreenSize.d.ts +0 -0
- /package/dist/{common → core}/types/Transaction.d.ts +0 -0
- /package/dist/{common → core}/types/User.d.ts +0 -0
- /package/dist/{common → core}/types/localization/AccountFilterCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/AccountTypeCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/AccountsCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/AnalyticsCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/CategoryCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/ConnectCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/CurrencyInputCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/DateRangePickerCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/FinstrongCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/HelpCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/InvestmentsCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/MicroInsightsCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/NetWorthCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/NotificationsCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/SettingsCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/index.d.ts +0 -0
- /package/dist/{common → core}/utils/DateUtil.d.ts +0 -0
- /package/dist/{common → core}/utils/Fetch.d.ts +0 -0
- /package/dist/{common/utils/User.d.ts → core/utils/UserUtils.d.ts} +0 -0
|
@@ -1,172 +1,171 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import p from "react";
|
|
1
|
+
import { jsxs as c, Fragment as X, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import m from "react";
|
|
4
3
|
import { observer as C } from "mobx-react-lite";
|
|
5
|
-
import
|
|
4
|
+
import h from "@mui/material/Stack";
|
|
6
5
|
import ue from "@mui/material/Tab";
|
|
7
6
|
import pe from "@mui/material/Tabs";
|
|
8
7
|
import he from "@mui/material/Alert";
|
|
9
8
|
import fe from "@mui/material/Snackbar";
|
|
10
|
-
import { getUnixTime as
|
|
11
|
-
import { AdapterDateFns as
|
|
9
|
+
import { getUnixTime as _e } from "date-fns/getUnixTime";
|
|
10
|
+
import { AdapterDateFns as ge } from "@mui/x-date-pickers/AdapterDateFnsV3";
|
|
12
11
|
import { DatePicker as be } from "@mui/x-date-pickers";
|
|
13
12
|
import { LocalizationProvider as ye } from "@mui/x-date-pickers/LocalizationProvider";
|
|
14
|
-
import { useTheme as
|
|
15
|
-
import
|
|
13
|
+
import { useTheme as L, alpha as V } from "@mui/material/styles";
|
|
14
|
+
import W from "@mui/material/Box";
|
|
16
15
|
import Z from "@mui/material/Button";
|
|
17
16
|
import I from "@mui/material/TextField";
|
|
18
|
-
import { H3 as
|
|
19
|
-
import { V as
|
|
20
|
-
import { A as
|
|
21
|
-
import { a as
|
|
22
|
-
import { u as
|
|
23
|
-
import {
|
|
17
|
+
import { H3 as Y, P as M, Text as x, Icon as B } from "@mxenabled/mxui";
|
|
18
|
+
import { V as xe, a as ve, N as J } from "../NotificationSettings-6p-h5phZ.mjs";
|
|
19
|
+
import { A as $t, B as Jt, I as Kt } from "../NotificationSettings-6p-h5phZ.mjs";
|
|
20
|
+
import { u as w, a as G, A as E, C as Ce, b as ee, l as j } from "../hooks-BaO_gOI6.mjs";
|
|
21
|
+
import { u as O } from "../useScreenSize-mWpmnh5w.mjs";
|
|
22
|
+
import { D as $ } from "../Dialog-CwWc0AbH.mjs";
|
|
24
23
|
import { formatDistanceToNow as te } from "date-fns/formatDistanceToNow";
|
|
25
24
|
import { fromUnixTime as oe } from "date-fns/fromUnixTime";
|
|
26
|
-
import
|
|
27
|
-
import
|
|
28
|
-
import {
|
|
29
|
-
import { H as
|
|
30
|
-
import
|
|
31
|
-
import ke from "@mui/material/
|
|
32
|
-
import
|
|
33
|
-
import
|
|
34
|
-
import
|
|
35
|
-
import
|
|
36
|
-
import
|
|
37
|
-
import Ee from "
|
|
38
|
-
import
|
|
39
|
-
import
|
|
40
|
-
import Ne from "@mui/material/
|
|
41
|
-
import Me from "@mui/material/
|
|
42
|
-
import Le from "@
|
|
43
|
-
import { D as
|
|
44
|
-
import { u as
|
|
45
|
-
import { H as
|
|
46
|
-
import { W as
|
|
47
|
-
const
|
|
48
|
-
const
|
|
49
|
-
first_name:
|
|
50
|
-
last_name:
|
|
51
|
-
email:
|
|
52
|
-
phone:
|
|
53
|
-
birthday:
|
|
54
|
-
postal_code:
|
|
55
|
-
credit_score:
|
|
56
|
-
}), [
|
|
57
|
-
|
|
58
|
-
if (
|
|
59
|
-
const
|
|
60
|
-
|
|
25
|
+
import z from "@mui/material/IconButton";
|
|
26
|
+
import { DataGridPro as De } from "@mui/x-data-grid-pro";
|
|
27
|
+
import { b as H } from "../Localization-DnoVyBNK.mjs";
|
|
28
|
+
import { H as U } from "../HeaderCell-P8w6CmfO.mjs";
|
|
29
|
+
import we from "@mui/material/Accordion";
|
|
30
|
+
import ke from "@mui/material/AccordionDetails";
|
|
31
|
+
import Se from "@mui/material/AccordionSummary";
|
|
32
|
+
import { L as ie } from "../Loader-CxeBwuPG.mjs";
|
|
33
|
+
import Te from "@mui/material/List";
|
|
34
|
+
import K from "@mui/material/Divider";
|
|
35
|
+
import Ae from "@mui/material/ListSubheader";
|
|
36
|
+
import { b as Ie, u as Ee } from "../CategorySelectorDrawer-CmaDLhnf.mjs";
|
|
37
|
+
import Pe from "@mui/material/ListItem";
|
|
38
|
+
import Re from "@mui/material/ListItemButton";
|
|
39
|
+
import Ne from "@mui/material/ListItemIcon";
|
|
40
|
+
import Me from "@mui/material/ListItemText";
|
|
41
|
+
import { ChevronRight as Le } from "@mxenabled/mx-icons";
|
|
42
|
+
import { D as Be } from "../Drawer-BXqqBMxg.mjs";
|
|
43
|
+
import { u as ne } from "../useWidgetLoadTimer-CJb-RELP.mjs";
|
|
44
|
+
import { H as He } from "../Help-DJ8PrVHX.mjs";
|
|
45
|
+
import { W as q } from "../WidgetContainer-DNuz_s7W.mjs";
|
|
46
|
+
const Oe = ({ availableWidth: t, handleOnLeavClick: r }) => {
|
|
47
|
+
const i = L(), { common: o, settings: n } = w(), { isDesktop: u, isMobile: s, isSmallMobile: a, isTablet: l } = O(t), { config: b } = G(), { updateUser: _ } = E(), { user: d } = Ce(), [p, k] = m.useState({
|
|
48
|
+
first_name: d.first_name,
|
|
49
|
+
last_name: d.last_name,
|
|
50
|
+
email: d.email,
|
|
51
|
+
phone: d.phone,
|
|
52
|
+
birthday: d.birthday,
|
|
53
|
+
postal_code: d.postal_code,
|
|
54
|
+
credit_score: d.credit_score
|
|
55
|
+
}), [v, S] = m.useState(!1), [A, T] = m.useState(!1), g = m.useRef(null), D = p.email && !d.email_is_verified && !v, F = p.phone && !d.phone_is_verified && !v;
|
|
56
|
+
m.useEffect(() => {
|
|
57
|
+
if (r) {
|
|
58
|
+
const f = (R) => {
|
|
59
|
+
g.current && !g.current.contains(R.target) && v && T(!0);
|
|
61
60
|
};
|
|
62
|
-
return document.addEventListener("mousedown",
|
|
63
|
-
document.removeEventListener("mousedown",
|
|
61
|
+
return document.addEventListener("mousedown", f), () => {
|
|
62
|
+
document.removeEventListener("mousedown", f);
|
|
64
63
|
};
|
|
65
64
|
}
|
|
66
|
-
}, [
|
|
65
|
+
}, [v]);
|
|
67
66
|
const ae = () => {
|
|
68
|
-
if (
|
|
69
|
-
const
|
|
67
|
+
if (p.birthday) {
|
|
68
|
+
const f = new Date(p.birthday * 1e3), R = f.getUTCFullYear(), de = f.getUTCMonth(), me = f.getUTCDate();
|
|
70
69
|
return new Date(R, de, me);
|
|
71
70
|
}
|
|
72
|
-
},
|
|
73
|
-
await _({ ...
|
|
74
|
-
},
|
|
75
|
-
T(!1),
|
|
71
|
+
}, se = async () => {
|
|
72
|
+
await _({ ...d, ...p }), S(!1);
|
|
73
|
+
}, le = () => {
|
|
74
|
+
T(!1), r && r();
|
|
76
75
|
}, ce = () => {
|
|
77
76
|
T(!1);
|
|
78
|
-
},
|
|
77
|
+
}, P = (f) => {
|
|
79
78
|
const R = {
|
|
80
|
-
...
|
|
81
|
-
...
|
|
79
|
+
...p,
|
|
80
|
+
...f
|
|
82
81
|
};
|
|
83
|
-
|
|
82
|
+
k(R), S(JSON.stringify({ ...d, ...R }) !== JSON.stringify(d));
|
|
84
83
|
};
|
|
85
|
-
return /* @__PURE__ */ c(
|
|
84
|
+
return /* @__PURE__ */ c(X, { children: [
|
|
86
85
|
/* @__PURE__ */ c(
|
|
87
|
-
|
|
86
|
+
W,
|
|
88
87
|
{
|
|
89
88
|
component: "form",
|
|
90
|
-
ref:
|
|
89
|
+
ref: g,
|
|
91
90
|
sx: {
|
|
92
91
|
backgroundColor: "background.paper",
|
|
93
92
|
p: 24,
|
|
94
|
-
width:
|
|
93
|
+
width: a ? 320 : l ? 680 : u ? 990 : 400,
|
|
95
94
|
"& .MuiTextField-root": {
|
|
96
|
-
width:
|
|
95
|
+
width: a ? 272 : l ? 328 : u ? 483 : 352
|
|
97
96
|
}
|
|
98
97
|
},
|
|
99
98
|
children: [
|
|
100
|
-
/* @__PURE__ */ e(
|
|
101
|
-
/* @__PURE__ */ e(
|
|
99
|
+
/* @__PURE__ */ e(Y, { children: n.personal_details }),
|
|
100
|
+
/* @__PURE__ */ e(M, { variant: "body1", children: n.update_information }),
|
|
102
101
|
/* @__PURE__ */ c(
|
|
103
|
-
|
|
102
|
+
h,
|
|
104
103
|
{
|
|
105
|
-
direction:
|
|
106
|
-
spacing:
|
|
104
|
+
direction: s ? "column" : "row",
|
|
105
|
+
spacing: s ? 44 : 24,
|
|
107
106
|
sx: { mb: 44, pt: 32 },
|
|
108
107
|
children: [
|
|
109
108
|
/* @__PURE__ */ e(
|
|
110
109
|
I,
|
|
111
110
|
{
|
|
112
|
-
defaultValue:
|
|
113
|
-
label:
|
|
114
|
-
onChange: (
|
|
111
|
+
defaultValue: p.first_name,
|
|
112
|
+
label: n.first_name,
|
|
113
|
+
onChange: (f) => P({ first_name: f.target.value })
|
|
115
114
|
}
|
|
116
115
|
),
|
|
117
116
|
/* @__PURE__ */ e(
|
|
118
117
|
I,
|
|
119
118
|
{
|
|
120
|
-
defaultValue:
|
|
121
|
-
label:
|
|
122
|
-
onChange: (
|
|
119
|
+
defaultValue: p.last_name,
|
|
120
|
+
label: n.last_name,
|
|
121
|
+
onChange: (f) => P({ last_name: f.target.value })
|
|
123
122
|
}
|
|
124
123
|
)
|
|
125
124
|
]
|
|
126
125
|
}
|
|
127
126
|
),
|
|
128
|
-
/* @__PURE__ */ c(
|
|
129
|
-
b.display_email_edit_field_in_settings && /* @__PURE__ */ c(
|
|
127
|
+
/* @__PURE__ */ c(h, { direction: s ? "column" : "row", children: [
|
|
128
|
+
b.display_email_edit_field_in_settings && /* @__PURE__ */ c(h, { sx: { mb: D ? 20 : 44, mr: s ? 0 : 24 }, children: [
|
|
130
129
|
/* @__PURE__ */ e(
|
|
131
130
|
I,
|
|
132
131
|
{
|
|
133
|
-
defaultValue:
|
|
134
|
-
label:
|
|
135
|
-
onChange: (
|
|
132
|
+
defaultValue: p.email,
|
|
133
|
+
label: n.email_address,
|
|
134
|
+
onChange: (f) => P({ email: f.target.value })
|
|
136
135
|
}
|
|
137
136
|
),
|
|
138
|
-
|
|
137
|
+
D && /* @__PURE__ */ e(xe, {})
|
|
139
138
|
] }),
|
|
140
|
-
b.display_sms_edit_field_in_settings && /* @__PURE__ */ c(
|
|
139
|
+
b.display_sms_edit_field_in_settings && /* @__PURE__ */ c(h, { sx: { mb: F ? 20 : 44 }, children: [
|
|
141
140
|
/* @__PURE__ */ e(
|
|
142
141
|
I,
|
|
143
142
|
{
|
|
144
|
-
defaultValue:
|
|
145
|
-
label:
|
|
146
|
-
onChange: (
|
|
143
|
+
defaultValue: p.phone,
|
|
144
|
+
label: n.mobile_number,
|
|
145
|
+
onChange: (f) => P({ phone: f.target.value }),
|
|
147
146
|
type: "tel"
|
|
148
147
|
}
|
|
149
148
|
),
|
|
150
|
-
|
|
149
|
+
F && /* @__PURE__ */ e(ve, {})
|
|
151
150
|
] })
|
|
152
151
|
] }),
|
|
153
|
-
/* @__PURE__ */ c(
|
|
154
|
-
/* @__PURE__ */ e(ye, { dateAdapter:
|
|
152
|
+
/* @__PURE__ */ c(h, { direction: s ? "column" : "row", spacing: s ? 44 : 24, sx: { mb: 44 }, children: [
|
|
153
|
+
/* @__PURE__ */ e(ye, { dateAdapter: ge, children: /* @__PURE__ */ e(
|
|
155
154
|
be,
|
|
156
155
|
{
|
|
157
|
-
label:
|
|
158
|
-
onChange: (
|
|
156
|
+
label: n.birthdate,
|
|
157
|
+
onChange: (f) => P({ birthday: _e(f) }),
|
|
159
158
|
slotProps: {
|
|
160
159
|
nextIconButton: {
|
|
161
160
|
sx: {
|
|
162
161
|
color: "primary.main",
|
|
163
|
-
"&:hover": { backgroundColor:
|
|
162
|
+
"&:hover": { backgroundColor: V(i.palette.primary.light, 0.1) }
|
|
164
163
|
}
|
|
165
164
|
},
|
|
166
165
|
previousIconButton: {
|
|
167
166
|
sx: {
|
|
168
167
|
color: "primary.main",
|
|
169
|
-
"&:hover": { backgroundColor:
|
|
168
|
+
"&:hover": { backgroundColor: V(i.palette.primary.light, 0.1) }
|
|
170
169
|
}
|
|
171
170
|
}
|
|
172
171
|
},
|
|
@@ -174,7 +173,7 @@ const Fe = ({ availableWidth: t, handleOnLeavClick: a }) => {
|
|
|
174
173
|
width: "100%",
|
|
175
174
|
"& .MuiIconButton-edgeEnd": {
|
|
176
175
|
color: "primary.main",
|
|
177
|
-
"&:hover": { backgroundColor:
|
|
176
|
+
"&:hover": { backgroundColor: V(i.palette.primary.light, 0.1) }
|
|
178
177
|
}
|
|
179
178
|
},
|
|
180
179
|
value: ae()
|
|
@@ -183,30 +182,30 @@ const Fe = ({ availableWidth: t, handleOnLeavClick: a }) => {
|
|
|
183
182
|
/* @__PURE__ */ e(
|
|
184
183
|
I,
|
|
185
184
|
{
|
|
186
|
-
defaultValue:
|
|
187
|
-
label:
|
|
188
|
-
onChange: (
|
|
185
|
+
defaultValue: p.postal_code,
|
|
186
|
+
label: n.zip_code,
|
|
187
|
+
onChange: (f) => P({ postal_code: f.target.value })
|
|
189
188
|
}
|
|
190
189
|
)
|
|
191
190
|
] }),
|
|
192
|
-
/* @__PURE__ */ c(
|
|
191
|
+
/* @__PURE__ */ c(h, { children: [
|
|
193
192
|
/* @__PURE__ */ e(
|
|
194
193
|
I,
|
|
195
194
|
{
|
|
196
|
-
defaultValue:
|
|
197
|
-
label:
|
|
198
|
-
onChange: (
|
|
195
|
+
defaultValue: p.credit_score,
|
|
196
|
+
label: n.credit_score,
|
|
197
|
+
onChange: (f) => P({ credit_score: Number(f.target.value) }),
|
|
199
198
|
sx: { mb: 44 }
|
|
200
199
|
}
|
|
201
200
|
),
|
|
202
201
|
/* @__PURE__ */ e(
|
|
203
202
|
Z,
|
|
204
203
|
{
|
|
205
|
-
disabled: !
|
|
206
|
-
onClick:
|
|
207
|
-
sx: { width:
|
|
204
|
+
disabled: !v,
|
|
205
|
+
onClick: se,
|
|
206
|
+
sx: { width: a ? 272 : 124 },
|
|
208
207
|
variant: "contained",
|
|
209
|
-
children:
|
|
208
|
+
children: o.save_button
|
|
210
209
|
}
|
|
211
210
|
)
|
|
212
211
|
] })
|
|
@@ -214,39 +213,39 @@ const Fe = ({ availableWidth: t, handleOnLeavClick: a }) => {
|
|
|
214
213
|
}
|
|
215
214
|
),
|
|
216
215
|
/* @__PURE__ */ e(
|
|
217
|
-
|
|
216
|
+
$,
|
|
218
217
|
{
|
|
219
|
-
copy: { title:
|
|
220
|
-
isOpen:
|
|
218
|
+
copy: { title: n.discard_changes },
|
|
219
|
+
isOpen: A,
|
|
221
220
|
onClose: ce,
|
|
222
|
-
onSecondaryAction:
|
|
223
|
-
primaryText:
|
|
224
|
-
secondaryText:
|
|
225
|
-
children:
|
|
221
|
+
onSecondaryAction: le,
|
|
222
|
+
primaryText: n.keep_editing,
|
|
223
|
+
secondaryText: n.leave,
|
|
224
|
+
children: n.discard_changes_message
|
|
226
225
|
}
|
|
227
226
|
)
|
|
228
227
|
] });
|
|
229
|
-
},
|
|
228
|
+
}, Fe = C(Oe);
|
|
230
229
|
var y = /* @__PURE__ */ ((t) => (t.Delete = "delete", t.Edit = "edit", t.Token = "token", t))(y || {});
|
|
231
|
-
const
|
|
230
|
+
const Ue = ({
|
|
232
231
|
devices: t,
|
|
233
|
-
onClickDeviceEdit:
|
|
234
|
-
onClickDeviceDelete:
|
|
232
|
+
onClickDeviceEdit: r,
|
|
233
|
+
onClickDeviceDelete: i
|
|
235
234
|
}) => {
|
|
236
|
-
const
|
|
235
|
+
const o = L(), { settings: n } = w(), u = [
|
|
237
236
|
{
|
|
238
237
|
field: "name",
|
|
239
|
-
headerName:
|
|
240
|
-
renderHeader:
|
|
241
|
-
renderCell: (
|
|
242
|
-
/* @__PURE__ */ e(
|
|
238
|
+
headerName: n.mobile_devices_column_name,
|
|
239
|
+
renderHeader: U,
|
|
240
|
+
renderCell: (a) => /* @__PURE__ */ c(h, { alignItems: "center", direction: "row", gap: 4, children: [
|
|
241
|
+
/* @__PURE__ */ e(x, { variant: "body2", children: a.value }),
|
|
243
242
|
/* @__PURE__ */ e(
|
|
244
|
-
|
|
243
|
+
z,
|
|
245
244
|
{
|
|
246
|
-
"aria-label":
|
|
245
|
+
"aria-label": n.mobile_devices_edit_label,
|
|
247
246
|
color: "secondary",
|
|
248
|
-
onClick: () => a
|
|
249
|
-
children: /* @__PURE__ */ e(
|
|
247
|
+
onClick: () => r(a.row),
|
|
248
|
+
children: /* @__PURE__ */ e(B, { name: "edit" })
|
|
250
249
|
}
|
|
251
250
|
)
|
|
252
251
|
] }),
|
|
@@ -256,8 +255,8 @@ const Ve = ({
|
|
|
256
255
|
},
|
|
257
256
|
{
|
|
258
257
|
field: "device_type",
|
|
259
|
-
headerName:
|
|
260
|
-
renderHeader:
|
|
258
|
+
headerName: n.mobile_devices_column_type,
|
|
259
|
+
renderHeader: U,
|
|
261
260
|
sortable: !0,
|
|
262
261
|
hideSortIcons: !1,
|
|
263
262
|
flex: 1,
|
|
@@ -265,9 +264,9 @@ const Ve = ({
|
|
|
265
264
|
},
|
|
266
265
|
{
|
|
267
266
|
field: "created_at",
|
|
268
|
-
headerName:
|
|
269
|
-
renderHeader:
|
|
270
|
-
valueFormatter: (
|
|
267
|
+
headerName: n.mobile_devices_column_added,
|
|
268
|
+
renderHeader: U,
|
|
269
|
+
valueFormatter: (a) => te(oe(a), { addSuffix: !0 }),
|
|
271
270
|
sortable: !0,
|
|
272
271
|
hideSortIcons: !1,
|
|
273
272
|
flex: 1,
|
|
@@ -276,33 +275,33 @@ const Ve = ({
|
|
|
276
275
|
{
|
|
277
276
|
field: "delete",
|
|
278
277
|
headerName: "",
|
|
279
|
-
renderHeader:
|
|
280
|
-
renderCell: (
|
|
281
|
-
|
|
278
|
+
renderHeader: U,
|
|
279
|
+
renderCell: (a) => /* @__PURE__ */ e(h, { mr: 4, children: /* @__PURE__ */ e(
|
|
280
|
+
z,
|
|
282
281
|
{
|
|
283
|
-
"aria-label":
|
|
282
|
+
"aria-label": n.mobile_devices_delete_label,
|
|
284
283
|
color: "secondary",
|
|
285
|
-
onClick: () =>
|
|
286
|
-
children: /* @__PURE__ */ e(
|
|
284
|
+
onClick: () => i(a.row),
|
|
285
|
+
children: /* @__PURE__ */ e(B, { name: "delete" })
|
|
287
286
|
}
|
|
288
287
|
) }),
|
|
289
288
|
sortable: !1,
|
|
290
289
|
hideSortIcons: !1,
|
|
291
290
|
width: 58
|
|
292
291
|
}
|
|
293
|
-
],
|
|
294
|
-
id:
|
|
295
|
-
...
|
|
296
|
-
device_type: `${
|
|
292
|
+
], s = m.useMemo(() => t.map((a) => ({
|
|
293
|
+
id: a.guid,
|
|
294
|
+
...a,
|
|
295
|
+
device_type: `${a.make} ${a.model}`
|
|
297
296
|
})), [t]);
|
|
298
|
-
return /* @__PURE__ */ e(
|
|
299
|
-
|
|
297
|
+
return /* @__PURE__ */ e(W, { sx: { width: "100%" }, children: /* @__PURE__ */ e(
|
|
298
|
+
De,
|
|
300
299
|
{
|
|
301
|
-
columns:
|
|
300
|
+
columns: u,
|
|
302
301
|
disableColumnFilter: !0,
|
|
303
302
|
disableColumnMenu: !0,
|
|
304
303
|
disableRowSelectionOnClick: !0,
|
|
305
|
-
rows:
|
|
304
|
+
rows: s,
|
|
306
305
|
slotProps: {
|
|
307
306
|
footer: {
|
|
308
307
|
sx: { justifyContent: "flex-end" }
|
|
@@ -310,17 +309,17 @@ const Ve = ({
|
|
|
310
309
|
},
|
|
311
310
|
slots: {
|
|
312
311
|
footer: () => /* @__PURE__ */ e(
|
|
313
|
-
|
|
312
|
+
W,
|
|
314
313
|
{
|
|
315
314
|
sx: {
|
|
316
|
-
backgroundColor:
|
|
315
|
+
backgroundColor: o.palette.background.default,
|
|
317
316
|
display: "flex",
|
|
318
317
|
justifyContent: "flex-end",
|
|
319
318
|
alignItems: "center",
|
|
320
319
|
p: "12px 16px"
|
|
321
320
|
},
|
|
322
|
-
children: /* @__PURE__ */ e(
|
|
323
|
-
|
|
321
|
+
children: /* @__PURE__ */ e(x, { color: o.palette.text.secondary, variant: "body2", children: H(
|
|
322
|
+
n.mobile_devices_count,
|
|
324
323
|
/* @__PURE__ */ e("b", { children: t.length }),
|
|
325
324
|
/* @__PURE__ */ e("b", { children: t.length })
|
|
326
325
|
) })
|
|
@@ -329,61 +328,61 @@ const Ve = ({
|
|
|
329
328
|
},
|
|
330
329
|
sx: {
|
|
331
330
|
border: "1px solid",
|
|
332
|
-
borderColor:
|
|
331
|
+
borderColor: o.palette.neutral.light,
|
|
333
332
|
borderRadius: "8px",
|
|
334
333
|
"& .MuiDataGrid-columnHeader .MuiIconButton-root": {
|
|
335
|
-
color:
|
|
334
|
+
color: o.palette.primary.main,
|
|
336
335
|
"&:hover": {
|
|
337
|
-
backgroundColor:
|
|
336
|
+
backgroundColor: V(o.palette.primary.main, 0.1)
|
|
338
337
|
}
|
|
339
338
|
},
|
|
340
339
|
"& .MuiDataGrid-sortIcon": {
|
|
341
|
-
color:
|
|
340
|
+
color: o.palette.primary.main
|
|
342
341
|
}
|
|
343
342
|
}
|
|
344
343
|
}
|
|
345
344
|
) });
|
|
346
|
-
},
|
|
345
|
+
}, Ve = ({
|
|
347
346
|
devices: t,
|
|
348
|
-
onClickDeviceEdit:
|
|
349
|
-
onClickDeviceDelete:
|
|
347
|
+
onClickDeviceEdit: r,
|
|
348
|
+
onClickDeviceDelete: i
|
|
350
349
|
}) => {
|
|
351
|
-
const
|
|
352
|
-
|
|
350
|
+
const o = L(), { settings: n } = w(), [u, s] = m.useState(!1), a = (l) => (b, _) => {
|
|
351
|
+
s(_ ? l : !1);
|
|
353
352
|
};
|
|
354
|
-
return /* @__PURE__ */ c(
|
|
355
|
-
t.map((
|
|
356
|
-
|
|
353
|
+
return /* @__PURE__ */ c(h, { mx: -28, sx: { "& .MuiAccordion-root": { mb: 0, mt: 0 } }, children: [
|
|
354
|
+
t.map((l) => /* @__PURE__ */ c(
|
|
355
|
+
we,
|
|
357
356
|
{
|
|
358
|
-
expanded:
|
|
359
|
-
onChange:
|
|
357
|
+
expanded: u === l.guid,
|
|
358
|
+
onChange: a(l.guid),
|
|
360
359
|
sx: { boxShadow: "none" },
|
|
361
360
|
children: [
|
|
362
361
|
/* @__PURE__ */ e(
|
|
363
|
-
|
|
362
|
+
Se,
|
|
364
363
|
{
|
|
365
|
-
expandIcon: /* @__PURE__ */ e(
|
|
364
|
+
expandIcon: /* @__PURE__ */ e(B, { color: "secondary", name: "keyboard_arrow_down", size: 24 }),
|
|
366
365
|
sx: {
|
|
367
366
|
padding: "14px 24px",
|
|
368
367
|
borderBottom: "1px solid",
|
|
369
|
-
borderColor:
|
|
368
|
+
borderColor: o.palette.divider
|
|
370
369
|
},
|
|
371
|
-
children: /* @__PURE__ */ c(
|
|
372
|
-
/* @__PURE__ */ e(
|
|
373
|
-
/* @__PURE__ */ e(
|
|
374
|
-
/* @__PURE__ */ e(
|
|
370
|
+
children: /* @__PURE__ */ c(h, { gap: 4, children: [
|
|
371
|
+
/* @__PURE__ */ e(x, { bold: !0, variant: "body1", children: l.name }),
|
|
372
|
+
/* @__PURE__ */ e(x, { color: o.palette.text.secondary, variant: "body2", children: `${l.make} ${l.model}` }),
|
|
373
|
+
/* @__PURE__ */ e(x, { color: o.palette.text.secondary, variant: "body2", children: te(oe(l.created_at), { addSuffix: !0 }) })
|
|
375
374
|
] })
|
|
376
375
|
}
|
|
377
376
|
),
|
|
378
377
|
/* @__PURE__ */ c(
|
|
379
|
-
|
|
378
|
+
ke,
|
|
380
379
|
{
|
|
381
|
-
sx: { backgroundColor:
|
|
380
|
+
sx: { backgroundColor: o.palette.background.default, p: "0 0 0 24px" },
|
|
382
381
|
children: [
|
|
383
382
|
/* @__PURE__ */ c(
|
|
384
|
-
|
|
383
|
+
h,
|
|
385
384
|
{
|
|
386
|
-
onClick: () =>
|
|
385
|
+
onClick: () => r(l),
|
|
387
386
|
sx: {
|
|
388
387
|
alignItems: "center",
|
|
389
388
|
flexDirection: "row",
|
|
@@ -392,18 +391,18 @@ const Ve = ({
|
|
|
392
391
|
py: 16,
|
|
393
392
|
cursor: "pointer",
|
|
394
393
|
borderBottom: "1px solid",
|
|
395
|
-
borderColor:
|
|
394
|
+
borderColor: o.palette.divider
|
|
396
395
|
},
|
|
397
396
|
children: [
|
|
398
|
-
/* @__PURE__ */ e(
|
|
399
|
-
/* @__PURE__ */ e(
|
|
397
|
+
/* @__PURE__ */ e(z, { "aria-label": n.mobile_devices_edit_label, color: "secondary", children: /* @__PURE__ */ e(B, { name: "edit" }) }),
|
|
398
|
+
/* @__PURE__ */ e(x, { variant: "body1", children: n.mobile_devices_edit_label })
|
|
400
399
|
]
|
|
401
400
|
}
|
|
402
401
|
),
|
|
403
402
|
/* @__PURE__ */ c(
|
|
404
|
-
|
|
403
|
+
h,
|
|
405
404
|
{
|
|
406
|
-
onClick: () =>
|
|
405
|
+
onClick: () => i(l),
|
|
407
406
|
sx: {
|
|
408
407
|
alignItems: "center",
|
|
409
408
|
flexDirection: "row",
|
|
@@ -413,8 +412,8 @@ const Ve = ({
|
|
|
413
412
|
cursor: "pointer"
|
|
414
413
|
},
|
|
415
414
|
children: [
|
|
416
|
-
/* @__PURE__ */ e(
|
|
417
|
-
/* @__PURE__ */ e(
|
|
415
|
+
/* @__PURE__ */ e(z, { "aria-label": n.mobile_devices_delete_label, color: "secondary", children: /* @__PURE__ */ e(B, { name: "delete" }) }),
|
|
416
|
+
/* @__PURE__ */ e(x, { variant: "body1", children: n.mobile_devices_delete_label })
|
|
418
417
|
]
|
|
419
418
|
}
|
|
420
419
|
)
|
|
@@ -423,65 +422,65 @@ const Ve = ({
|
|
|
423
422
|
)
|
|
424
423
|
]
|
|
425
424
|
},
|
|
426
|
-
|
|
425
|
+
l.guid
|
|
427
426
|
)),
|
|
428
427
|
/* @__PURE__ */ e(
|
|
429
|
-
|
|
428
|
+
W,
|
|
430
429
|
{
|
|
431
430
|
sx: {
|
|
432
|
-
backgroundColor:
|
|
431
|
+
backgroundColor: o.palette.background.default,
|
|
433
432
|
borderTop: "1px solid",
|
|
434
|
-
borderColor:
|
|
433
|
+
borderColor: o.palette.divider,
|
|
435
434
|
p: "12px 16px"
|
|
436
435
|
},
|
|
437
|
-
children: /* @__PURE__ */ e(
|
|
438
|
-
|
|
436
|
+
children: /* @__PURE__ */ e(x, { color: o.palette.text.secondary, variant: "body2", children: H(
|
|
437
|
+
n.mobile_devices_count,
|
|
439
438
|
/* @__PURE__ */ e("b", { children: t.length }),
|
|
440
439
|
/* @__PURE__ */ e("b", { children: t.length })
|
|
441
440
|
) })
|
|
442
441
|
}
|
|
443
442
|
)
|
|
444
443
|
] });
|
|
445
|
-
},
|
|
444
|
+
}, We = ({
|
|
446
445
|
dialogType: t,
|
|
447
|
-
isOpen:
|
|
448
|
-
onClose:
|
|
449
|
-
device:
|
|
450
|
-
deviceToken:
|
|
446
|
+
isOpen: r,
|
|
447
|
+
onClose: i,
|
|
448
|
+
device: o,
|
|
449
|
+
deviceToken: n = ""
|
|
451
450
|
}) => {
|
|
452
|
-
const
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
}, [
|
|
456
|
-
const
|
|
451
|
+
const u = L(), { common: s, settings: a } = w(), { updateDevice: l, deleteDevice: b, setAlert: _, loadDevices: d } = E(), [p, k] = m.useState("");
|
|
452
|
+
m.useEffect(() => {
|
|
453
|
+
o && k(o.name);
|
|
454
|
+
}, [o, t]);
|
|
455
|
+
const v = () => {
|
|
457
456
|
switch (t) {
|
|
458
457
|
case y.Edit:
|
|
459
|
-
return
|
|
458
|
+
return a.mobile_devices_edit_label;
|
|
460
459
|
case y.Delete:
|
|
461
|
-
return
|
|
460
|
+
return a.mobile_devices_delete_label;
|
|
462
461
|
default:
|
|
463
462
|
return "";
|
|
464
463
|
}
|
|
465
|
-
},
|
|
464
|
+
}, S = () => {
|
|
466
465
|
switch (t) {
|
|
467
466
|
case y.Token:
|
|
468
|
-
return
|
|
467
|
+
return s.done_button;
|
|
469
468
|
case y.Edit:
|
|
470
|
-
return
|
|
469
|
+
return s.save_button;
|
|
471
470
|
case y.Delete:
|
|
472
|
-
return
|
|
471
|
+
return s.delete_button;
|
|
473
472
|
default:
|
|
474
473
|
return "";
|
|
475
474
|
}
|
|
476
|
-
},
|
|
477
|
-
const
|
|
475
|
+
}, A = () => {
|
|
476
|
+
const g = {
|
|
478
477
|
"& .MuiDialogContent-root": {
|
|
479
478
|
width: 400,
|
|
480
479
|
pt: 0
|
|
481
480
|
}
|
|
482
481
|
};
|
|
483
482
|
return t === y.Token ? {
|
|
484
|
-
...
|
|
483
|
+
...g,
|
|
485
484
|
"& .MuiToolbar-root:last-child": {
|
|
486
485
|
padding: "32px 60px 48px",
|
|
487
486
|
justifyContent: "center"
|
|
@@ -493,86 +492,86 @@ const Ve = ({
|
|
|
493
492
|
flex: 1
|
|
494
493
|
}
|
|
495
494
|
} : {
|
|
496
|
-
...
|
|
495
|
+
...g,
|
|
497
496
|
"& .MuiToolbar-root:last-child": {
|
|
498
497
|
gap: 8,
|
|
499
498
|
padding: 24,
|
|
500
499
|
justifyContent: "flex-end"
|
|
501
500
|
},
|
|
502
501
|
...t === y.Delete && {
|
|
503
|
-
"& .MuiTypography-
|
|
502
|
+
"& .MuiTypography-body1": {
|
|
504
503
|
padding: 0
|
|
505
504
|
}
|
|
506
505
|
}
|
|
507
506
|
};
|
|
508
507
|
}, T = async () => {
|
|
509
|
-
if (t === y.Token &&
|
|
510
|
-
const
|
|
511
|
-
(await
|
|
512
|
-
H(
|
|
508
|
+
if (t === y.Token && i(), t === y.Edit && o) {
|
|
509
|
+
const g = { ...o, name: p };
|
|
510
|
+
(await l(g)).success ? (_(a.mobile_devices_edit_success, "success"), d()) : _(
|
|
511
|
+
H(a.mobile_devices_edit_error, o.name),
|
|
513
512
|
"error"
|
|
514
|
-
),
|
|
513
|
+
), i();
|
|
515
514
|
}
|
|
516
|
-
t === y.Delete &&
|
|
517
|
-
H(
|
|
515
|
+
t === y.Delete && o && ((await b(o.guid)).success ? (_(
|
|
516
|
+
H(a.mobile_devices_delete_success, o.name),
|
|
518
517
|
"success"
|
|
519
|
-
),
|
|
520
|
-
H(
|
|
518
|
+
), d()) : _(
|
|
519
|
+
H(a.mobile_devices_delete_error, o.name),
|
|
521
520
|
"error"
|
|
522
|
-
),
|
|
521
|
+
), i());
|
|
523
522
|
};
|
|
524
523
|
return /* @__PURE__ */ c(
|
|
525
|
-
|
|
524
|
+
$,
|
|
526
525
|
{
|
|
527
|
-
copy: { title:
|
|
528
|
-
isOpen:
|
|
529
|
-
onClose:
|
|
526
|
+
copy: { title: v() },
|
|
527
|
+
isOpen: r,
|
|
528
|
+
onClose: i,
|
|
530
529
|
onPrimaryAction: T,
|
|
531
|
-
onSecondaryAction:
|
|
530
|
+
onSecondaryAction: i,
|
|
532
531
|
primaryColor: t === y.Delete ? "error" : void 0,
|
|
533
|
-
primaryText:
|
|
534
|
-
secondaryText: t === y.Token ?
|
|
535
|
-
sx:
|
|
532
|
+
primaryText: S(),
|
|
533
|
+
secondaryText: t === y.Token ? s.back : s.cancel_button,
|
|
534
|
+
sx: A(),
|
|
536
535
|
children: [
|
|
537
|
-
t === y.Token && /* @__PURE__ */ c(
|
|
538
|
-
/* @__PURE__ */ e(
|
|
539
|
-
/* @__PURE__ */ e(
|
|
536
|
+
t === y.Token && /* @__PURE__ */ c(h, { spacing: 16, sx: { px: 40, textAlign: "center", width: "100%" }, children: [
|
|
537
|
+
/* @__PURE__ */ e(x, { bold: !0, truncate: !1, variant: "body1", children: a.mobile_devices_access_label }),
|
|
538
|
+
/* @__PURE__ */ e(x, { truncate: !1, variant: "body2", children: a.mobile_devices_access_info_1 }),
|
|
540
539
|
/* @__PURE__ */ e(
|
|
541
|
-
|
|
540
|
+
M,
|
|
542
541
|
{
|
|
543
542
|
sx: {
|
|
544
|
-
border: `1px solid ${
|
|
543
|
+
border: `1px solid ${u.palette.neutral.light}`,
|
|
545
544
|
borderRadius: "4px",
|
|
546
545
|
p: "16px 32px"
|
|
547
546
|
},
|
|
548
|
-
variant: "
|
|
549
|
-
children:
|
|
547
|
+
variant: "h1",
|
|
548
|
+
children: n
|
|
550
549
|
}
|
|
551
550
|
),
|
|
552
|
-
/* @__PURE__ */ e(
|
|
551
|
+
/* @__PURE__ */ e(x, { truncate: !1, variant: "body2", children: a.mobile_devices_access_info_2 })
|
|
553
552
|
] }),
|
|
554
|
-
t === y.Edit && /* @__PURE__ */ e(
|
|
555
|
-
t === y.Delete && /* @__PURE__ */ e(
|
|
553
|
+
t === y.Edit && /* @__PURE__ */ e(h, { children: /* @__PURE__ */ e(I, { onChange: (g) => k(g.target.value), value: p }) }),
|
|
554
|
+
t === y.Delete && /* @__PURE__ */ e(M, { children: a.mobile_devices_delete_info })
|
|
556
555
|
]
|
|
557
556
|
}
|
|
558
557
|
);
|
|
559
|
-
},
|
|
560
|
-
const { isMobile: t } = O(), { settings:
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
}, [
|
|
564
|
-
const
|
|
565
|
-
const
|
|
566
|
-
|
|
567
|
-
},
|
|
568
|
-
|
|
569
|
-
},
|
|
570
|
-
|
|
558
|
+
}, ze = C(We), Ge = C(() => {
|
|
559
|
+
const { isMobile: t } = O(), { settings: r } = w(), { isCopyLoaded: i, isInitialized: o } = ee(), { setAlert: n, devices: u, loadDevices: s, generateDeviceToken: a } = E(), [l, b] = m.useState({ open: !1, type: "" }), [_, d] = m.useState(), [p, k] = m.useState("");
|
|
560
|
+
m.useEffect(() => {
|
|
561
|
+
o && s();
|
|
562
|
+
}, [o]);
|
|
563
|
+
const v = async () => {
|
|
564
|
+
const g = await a();
|
|
565
|
+
g ? (k(g), b({ open: !0, type: y.Token })) : n(r.mobile_devices_access_error, "error");
|
|
566
|
+
}, S = (g) => {
|
|
567
|
+
d(g), b({ open: !0, type: y.Edit });
|
|
568
|
+
}, A = (g) => {
|
|
569
|
+
d(g), b({ open: !0, type: y.Delete });
|
|
571
570
|
}, T = () => {
|
|
572
|
-
b({ open: !1, type: "" }),
|
|
571
|
+
b({ open: !1, type: "" }), d(void 0);
|
|
573
572
|
};
|
|
574
|
-
return !
|
|
575
|
-
|
|
573
|
+
return !i || !o ? /* @__PURE__ */ e(ie, {}) : /* @__PURE__ */ c(
|
|
574
|
+
h,
|
|
576
575
|
{
|
|
577
576
|
sx: {
|
|
578
577
|
backgroundColor: "background.paper",
|
|
@@ -580,173 +579,164 @@ const Ve = ({
|
|
|
580
579
|
gap: 24
|
|
581
580
|
},
|
|
582
581
|
children: [
|
|
583
|
-
/* @__PURE__ */ c(
|
|
584
|
-
/* @__PURE__ */ e(
|
|
585
|
-
/* @__PURE__ */ e(
|
|
582
|
+
/* @__PURE__ */ c(h, { gap: 4, children: [
|
|
583
|
+
/* @__PURE__ */ e(Y, { children: r.mobile_devices_title }),
|
|
584
|
+
/* @__PURE__ */ e(M, { variant: "body1", children: r.mobile_devices_info })
|
|
586
585
|
] }),
|
|
587
586
|
t ? /* @__PURE__ */ e(
|
|
588
|
-
|
|
587
|
+
Ve,
|
|
589
588
|
{
|
|
590
|
-
devices:
|
|
591
|
-
onClickDeviceDelete:
|
|
592
|
-
onClickDeviceEdit:
|
|
589
|
+
devices: u,
|
|
590
|
+
onClickDeviceDelete: A,
|
|
591
|
+
onClickDeviceEdit: S
|
|
593
592
|
}
|
|
594
593
|
) : /* @__PURE__ */ e(
|
|
595
|
-
|
|
594
|
+
Ue,
|
|
596
595
|
{
|
|
597
|
-
devices:
|
|
598
|
-
onClickDeviceDelete:
|
|
599
|
-
onClickDeviceEdit:
|
|
596
|
+
devices: u,
|
|
597
|
+
onClickDeviceDelete: A,
|
|
598
|
+
onClickDeviceEdit: S
|
|
600
599
|
}
|
|
601
600
|
),
|
|
602
|
-
/* @__PURE__ */ c(
|
|
603
|
-
/* @__PURE__ */ e(
|
|
604
|
-
/* @__PURE__ */ e(
|
|
605
|
-
/* @__PURE__ */ e(Z, { onClick:
|
|
601
|
+
/* @__PURE__ */ c(h, { sx: { alignItems: "center", px: 24, py: 12, gap: 4 }, children: [
|
|
602
|
+
/* @__PURE__ */ e(x, { bold: !0, variant: "body1", children: r.mobile_devices_access_title }),
|
|
603
|
+
/* @__PURE__ */ e(M, { align: "center", variant: "body2", children: r.mobile_devices_access_description }),
|
|
604
|
+
/* @__PURE__ */ e(Z, { onClick: v, variant: "text", children: r.mobile_devices_access_cta })
|
|
606
605
|
] }),
|
|
607
606
|
/* @__PURE__ */ e(
|
|
608
|
-
|
|
607
|
+
ze,
|
|
609
608
|
{
|
|
610
609
|
device: _,
|
|
611
|
-
deviceToken:
|
|
612
|
-
dialogType:
|
|
613
|
-
isOpen:
|
|
610
|
+
deviceToken: p,
|
|
611
|
+
dialogType: l.type,
|
|
612
|
+
isOpen: l.open,
|
|
614
613
|
onClose: T
|
|
615
614
|
}
|
|
616
615
|
)
|
|
617
616
|
]
|
|
618
617
|
}
|
|
619
618
|
);
|
|
620
|
-
}),
|
|
621
|
-
({ onClick: t, primaryText:
|
|
622
|
-
const
|
|
623
|
-
return /* @__PURE__ */ e(
|
|
624
|
-
/* @__PURE__ */ e(
|
|
625
|
-
/* @__PURE__ */ e(
|
|
619
|
+
}), Q = C(
|
|
620
|
+
({ onClick: t, primaryText: r, secondaryText: i, sx: o }) => {
|
|
621
|
+
const n = L();
|
|
622
|
+
return /* @__PURE__ */ e(Pe, { sx: { bgcolor: n.palette.background.paper }, children: /* @__PURE__ */ c(Re, { alignItems: "flex-start", onClick: t, sx: o, children: [
|
|
623
|
+
/* @__PURE__ */ e(Me, { primary: r, secondary: i }),
|
|
624
|
+
/* @__PURE__ */ e(Ne, { children: /* @__PURE__ */ e(Le, {}) })
|
|
626
625
|
] }) });
|
|
627
626
|
}
|
|
628
627
|
), je = C(() => {
|
|
629
|
-
const { settings: t } =
|
|
630
|
-
|
|
631
|
-
},
|
|
632
|
-
|
|
633
|
-
},
|
|
634
|
-
|
|
628
|
+
const { settings: t } = w(), { categories: r } = j(), { selectedRule: i, updateRuleCategory: o } = E(), [n, u] = m.useState(!1), s = () => {
|
|
629
|
+
u(!1);
|
|
630
|
+
}, a = () => {
|
|
631
|
+
u(!0);
|
|
632
|
+
}, l = (_) => r.find((d) => d.guid === _)?.name, b = async (_) => {
|
|
633
|
+
i && i.category_guid !== _ && (i.category_guid = _, await o(i)), s();
|
|
635
634
|
};
|
|
636
|
-
return /* @__PURE__ */ c(
|
|
635
|
+
return /* @__PURE__ */ c(m.Fragment, { children: [
|
|
637
636
|
/* @__PURE__ */ e(
|
|
638
|
-
|
|
637
|
+
Q,
|
|
639
638
|
{
|
|
640
|
-
onClick:
|
|
641
|
-
primaryText:
|
|
639
|
+
onClick: a,
|
|
640
|
+
primaryText: i?.category_guid ? l(i.category_guid) : "",
|
|
642
641
|
secondaryText: t.category
|
|
643
642
|
}
|
|
644
643
|
),
|
|
645
644
|
/* @__PURE__ */ e(
|
|
646
|
-
|
|
645
|
+
Ie,
|
|
647
646
|
{
|
|
648
|
-
initialSelected:
|
|
649
|
-
onClose:
|
|
647
|
+
initialSelected: i?.category_guid ? i.category_guid : void 0,
|
|
648
|
+
onClose: s,
|
|
650
649
|
onSelect: b,
|
|
651
|
-
showDrawer:
|
|
650
|
+
showDrawer: n,
|
|
652
651
|
title: t.select_category
|
|
653
652
|
}
|
|
654
653
|
)
|
|
655
654
|
] });
|
|
656
|
-
}),
|
|
657
|
-
const { common: t, settings:
|
|
658
|
-
|
|
659
|
-
},
|
|
660
|
-
|
|
655
|
+
}), $e = C(() => {
|
|
656
|
+
const { common: t, settings: r } = w(), { selectedRule: i, updateRulePayee: o } = E(), n = L(), [u, s] = m.useState(!1), a = i?.description ? i.description : i?.match_description, [l, b] = m.useState(a || ""), _ = () => {
|
|
657
|
+
s(!0);
|
|
658
|
+
}, d = async () => {
|
|
659
|
+
l !== a && i && (i.description = l, await o(i), s(!1));
|
|
661
660
|
};
|
|
662
|
-
return /* @__PURE__ */ c(
|
|
661
|
+
return /* @__PURE__ */ c(m.Fragment, { children: [
|
|
663
662
|
/* @__PURE__ */ e(
|
|
664
|
-
|
|
663
|
+
Q,
|
|
665
664
|
{
|
|
666
665
|
onClick: _,
|
|
667
|
-
primaryText:
|
|
668
|
-
secondaryText:
|
|
666
|
+
primaryText: a,
|
|
667
|
+
secondaryText: r.payee
|
|
669
668
|
}
|
|
670
669
|
),
|
|
671
670
|
/* @__PURE__ */ e(
|
|
672
|
-
|
|
671
|
+
$,
|
|
673
672
|
{
|
|
674
|
-
copy: { title:
|
|
675
|
-
isOpen:
|
|
676
|
-
onClose: () =>
|
|
677
|
-
onPrimaryAction:
|
|
678
|
-
onSecondaryAction: () =>
|
|
673
|
+
copy: { title: r.edit_payee },
|
|
674
|
+
isOpen: u,
|
|
675
|
+
onClose: () => s(!1),
|
|
676
|
+
onPrimaryAction: d,
|
|
677
|
+
onSecondaryAction: () => s(!1),
|
|
679
678
|
primaryText: t.save_button,
|
|
680
679
|
secondaryText: t.cancel_button,
|
|
681
680
|
sx: {
|
|
682
681
|
"& .MuiDialogContent-root": { pt: 0, width: 400 },
|
|
683
|
-
path: { fill:
|
|
682
|
+
path: { fill: n.palette.secondary.darker }
|
|
684
683
|
},
|
|
685
684
|
children: /* @__PURE__ */ e(
|
|
686
685
|
I,
|
|
687
686
|
{
|
|
688
|
-
onChange: (
|
|
687
|
+
onChange: (p) => b(p.target.value),
|
|
689
688
|
sx: { width: 352 },
|
|
690
|
-
value:
|
|
689
|
+
value: l
|
|
691
690
|
}
|
|
692
691
|
)
|
|
693
692
|
}
|
|
694
693
|
)
|
|
695
694
|
] });
|
|
696
|
-
}),
|
|
697
|
-
const { common:
|
|
695
|
+
}), Je = C(({ onClose: t, onDelete: r, isOpen: i }) => {
|
|
696
|
+
const { common: o, settings: n } = w();
|
|
698
697
|
return /* @__PURE__ */ e(
|
|
699
|
-
|
|
698
|
+
$,
|
|
700
699
|
{
|
|
701
|
-
copy: { title:
|
|
702
|
-
isOpen:
|
|
700
|
+
copy: { title: n.delete_rule },
|
|
701
|
+
isOpen: i,
|
|
703
702
|
onClose: t,
|
|
704
|
-
onPrimaryAction:
|
|
703
|
+
onPrimaryAction: r,
|
|
705
704
|
onSecondaryAction: t,
|
|
706
705
|
primaryColor: "error",
|
|
707
|
-
primaryText:
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
color: d.palette.secondary.main
|
|
713
|
-
},
|
|
714
|
-
"& .MuiDialogContent-root": { pt: 0, width: 400 },
|
|
715
|
-
path: { fill: d.palette.secondary.darker }
|
|
716
|
-
},
|
|
717
|
-
children: /* @__PURE__ */ e(v, { truncate: !1, variant: "Small", children: r.delete_rule_confirm })
|
|
706
|
+
primaryText: o.delete_button,
|
|
707
|
+
secondaryColor: "secondary",
|
|
708
|
+
secondaryText: o.cancel_button,
|
|
709
|
+
sx: { "& .MuiDialogContent-root": { pt: 0, width: 400 } },
|
|
710
|
+
children: /* @__PURE__ */ e(x, { truncate: !1, variant: "body2", children: n.delete_rule_confirm })
|
|
718
711
|
}
|
|
719
712
|
);
|
|
720
|
-
}),
|
|
721
|
-
({ isOpen: t, onClose:
|
|
722
|
-
const { common:
|
|
713
|
+
}), Ke = C(
|
|
714
|
+
({ isOpen: t, onClose: r, onDelete: i }) => {
|
|
715
|
+
const { common: o, settings: n } = w(), [u, s] = m.useState(!1);
|
|
723
716
|
return /* @__PURE__ */ c(
|
|
724
|
-
|
|
717
|
+
Be,
|
|
725
718
|
{
|
|
726
719
|
hasSecondaryAction: !1,
|
|
727
720
|
isOpen: t,
|
|
728
|
-
onClose:
|
|
721
|
+
onClose: r,
|
|
729
722
|
onPrimaryAction: () => {
|
|
730
|
-
|
|
723
|
+
s(!0);
|
|
731
724
|
},
|
|
732
725
|
primaryColor: "error",
|
|
733
|
-
primaryText:
|
|
734
|
-
|
|
735
|
-
"& .MuiToolbar-root": { borderTop: `1px solid ${d.palette.border.light}` }
|
|
736
|
-
},
|
|
737
|
-
title: r.edit_rule,
|
|
726
|
+
primaryText: o.delete_button,
|
|
727
|
+
title: n.edit_rule,
|
|
738
728
|
children: [
|
|
739
|
-
/* @__PURE__ */ e(
|
|
740
|
-
/* @__PURE__ */ e(
|
|
741
|
-
/* @__PURE__ */ e(
|
|
729
|
+
/* @__PURE__ */ e(Ae, { children: /* @__PURE__ */ e(x, { bold: !0, variant: "caption", children: n.details }) }),
|
|
730
|
+
/* @__PURE__ */ e($e, {}),
|
|
731
|
+
/* @__PURE__ */ e(K, { sx: { ml: 24 } }),
|
|
742
732
|
/* @__PURE__ */ e(je, {}),
|
|
743
|
-
/* @__PURE__ */ e(
|
|
733
|
+
/* @__PURE__ */ e(K, { sx: { ml: 24 } }),
|
|
744
734
|
/* @__PURE__ */ e(
|
|
745
|
-
|
|
735
|
+
Je,
|
|
746
736
|
{
|
|
747
|
-
isOpen:
|
|
748
|
-
onClose: () =>
|
|
749
|
-
onDelete:
|
|
737
|
+
isOpen: u,
|
|
738
|
+
onClose: () => s(!1),
|
|
739
|
+
onDelete: i
|
|
750
740
|
}
|
|
751
741
|
)
|
|
752
742
|
]
|
|
@@ -754,140 +744,139 @@ const Ve = ({
|
|
|
754
744
|
);
|
|
755
745
|
}
|
|
756
746
|
), Ye = C(({ rule: t }) => {
|
|
757
|
-
const { categories:
|
|
758
|
-
|
|
747
|
+
const { categories: r } = j(), { setSelectedGuid: i } = Ee(), { deleteTransactionRule: o, setSelectedRule: n } = E(), { isDesktop: u, isTablet: s } = O(), [a, l] = m.useState(!1), b = () => {
|
|
748
|
+
l(!1), i(null), n(void 0);
|
|
759
749
|
}, _ = async () => {
|
|
760
|
-
await
|
|
761
|
-
},
|
|
762
|
-
|
|
763
|
-
},
|
|
764
|
-
return /* @__PURE__ */ c(
|
|
750
|
+
await o(), b();
|
|
751
|
+
}, d = () => {
|
|
752
|
+
l(!0), n(t);
|
|
753
|
+
}, p = (k) => r.find((v) => v.guid === k)?.name;
|
|
754
|
+
return /* @__PURE__ */ c(m.Fragment, { children: [
|
|
765
755
|
/* @__PURE__ */ e(
|
|
766
|
-
|
|
756
|
+
Q,
|
|
767
757
|
{
|
|
768
|
-
onClick:
|
|
758
|
+
onClick: d,
|
|
769
759
|
primaryText: t.description ? t.description : t.match_description,
|
|
770
|
-
secondaryText: t.category_guid ?
|
|
760
|
+
secondaryText: t.category_guid ? p(t.category_guid) : ""
|
|
771
761
|
}
|
|
772
762
|
),
|
|
773
|
-
/* @__PURE__ */ e(
|
|
774
|
-
/* @__PURE__ */ e(
|
|
763
|
+
/* @__PURE__ */ e(K, { sx: { ml: s || u ? 0 : 24 } }),
|
|
764
|
+
/* @__PURE__ */ e(Ke, { isOpen: a, onClose: b, onDelete: _ })
|
|
775
765
|
] });
|
|
776
|
-
}),
|
|
777
|
-
const { settings: t } =
|
|
778
|
-
return
|
|
766
|
+
}), re = C(() => {
|
|
767
|
+
const { settings: t } = w(), { loadTransactionRules: r, transactionRules: i } = E(), [o, n] = m.useState(!1);
|
|
768
|
+
return ne({
|
|
779
769
|
widgetName: "TransactionRulesTab",
|
|
780
|
-
isLoaded:
|
|
781
|
-
}),
|
|
782
|
-
|
|
783
|
-
}, []), /* @__PURE__ */ c(
|
|
784
|
-
/* @__PURE__ */ c(
|
|
785
|
-
/* @__PURE__ */ e(
|
|
786
|
-
/* @__PURE__ */ e(
|
|
770
|
+
isLoaded: o
|
|
771
|
+
}), m.useEffect(() => {
|
|
772
|
+
r().finally(() => n(!0));
|
|
773
|
+
}, []), /* @__PURE__ */ c(h, { sx: { gap: 24, py: 24 }, children: [
|
|
774
|
+
/* @__PURE__ */ c(h, { sx: { px: 24 }, children: [
|
|
775
|
+
/* @__PURE__ */ e(Y, { children: t.transaction_rules_label }),
|
|
776
|
+
/* @__PURE__ */ e(M, { variant: "body1", children: t.transaction_rules_description })
|
|
787
777
|
] }),
|
|
788
|
-
/* @__PURE__ */ e(
|
|
778
|
+
/* @__PURE__ */ e(Te, { children: i.map((u, s) => /* @__PURE__ */ e(Ye, { rule: u }, s)) })
|
|
789
779
|
] });
|
|
790
780
|
}), qe = C(({ selectedTab: t }) => {
|
|
791
|
-
const { alert:
|
|
792
|
-
config: { display_user_profile_in_settings:
|
|
793
|
-
} =
|
|
794
|
-
return /* @__PURE__ */ c(
|
|
795
|
-
t ===
|
|
796
|
-
t ===
|
|
797
|
-
t ===
|
|
798
|
-
t ===
|
|
799
|
-
t ===
|
|
781
|
+
const { alert: r, setAlert: i } = E(), {
|
|
782
|
+
config: { display_user_profile_in_settings: o }
|
|
783
|
+
} = G();
|
|
784
|
+
return /* @__PURE__ */ c(X, { children: [
|
|
785
|
+
t === N.Profile && /* @__PURE__ */ e(Fe, {}),
|
|
786
|
+
t === N.Devices && /* @__PURE__ */ e(Ge, {}),
|
|
787
|
+
t === N.Notifications && /* @__PURE__ */ e(J, { showPersonalDetails: !o }),
|
|
788
|
+
t === N.TransactionRules && /* @__PURE__ */ e(re, {}),
|
|
789
|
+
t === N.Help && /* @__PURE__ */ e(h, { sx: { px: 24 }, children: /* @__PURE__ */ e(He, {}) }),
|
|
800
790
|
/* @__PURE__ */ e(
|
|
801
791
|
fe,
|
|
802
792
|
{
|
|
803
793
|
anchorOrigin: { vertical: "bottom", horizontal: "right" },
|
|
804
794
|
autoHideDuration: 3500,
|
|
805
|
-
onClose: () =>
|
|
806
|
-
open: !!
|
|
795
|
+
onClose: () => i(""),
|
|
796
|
+
open: !!r.message,
|
|
807
797
|
children: /* @__PURE__ */ e(
|
|
808
798
|
he,
|
|
809
799
|
{
|
|
810
800
|
onClose: () => {
|
|
811
|
-
|
|
801
|
+
i("");
|
|
812
802
|
},
|
|
813
|
-
severity:
|
|
803
|
+
severity: r.severity,
|
|
814
804
|
variant: "filled",
|
|
815
|
-
children:
|
|
805
|
+
children: r.message
|
|
816
806
|
}
|
|
817
807
|
)
|
|
818
808
|
}
|
|
819
809
|
)
|
|
820
810
|
] });
|
|
821
811
|
});
|
|
822
|
-
var
|
|
823
|
-
const
|
|
824
|
-
const { settings: o } =
|
|
825
|
-
|
|
812
|
+
var N = /* @__PURE__ */ ((t) => (t[t.Profile = 0] = "Profile", t[t.Devices = 1] = "Devices", t[t.Notifications = 2] = "Notifications", t[t.TransactionRules = 3] = "TransactionRules", t[t.Help = 4] = "Help", t))(N || {});
|
|
813
|
+
const Vt = C(({ onBackClick: t, onMenuClick: r, sx: i }) => {
|
|
814
|
+
const { settings: o } = w(), { isCopyLoaded: n, isInitialized: u } = ee(), { config: s } = G(), { isMobile: a } = O(), { categoriesLoaded: l, loadCategories: b } = j();
|
|
815
|
+
ne({
|
|
826
816
|
widgetName: "SettingsWidget",
|
|
827
|
-
isLoaded:
|
|
828
|
-
}),
|
|
829
|
-
|
|
817
|
+
isLoaded: u && n
|
|
818
|
+
}), m.useEffect(() => {
|
|
819
|
+
l || b().finally();
|
|
830
820
|
}, []);
|
|
831
821
|
const {
|
|
832
|
-
display_user_profile_in_settings:
|
|
833
|
-
display_mobile_devices_in_settings:
|
|
834
|
-
display_notification_settings_in_settings:
|
|
835
|
-
display_user_transaction_rules_in_settings:
|
|
836
|
-
show_help_widget_in_master:
|
|
837
|
-
} =
|
|
838
|
-
{ enabled:
|
|
839
|
-
{ enabled:
|
|
840
|
-
{ enabled:
|
|
841
|
-
{ enabled:
|
|
842
|
-
{ enabled:
|
|
843
|
-
],
|
|
844
|
-
return !
|
|
845
|
-
|
|
822
|
+
display_user_profile_in_settings: _,
|
|
823
|
+
display_mobile_devices_in_settings: d,
|
|
824
|
+
display_notification_settings_in_settings: p,
|
|
825
|
+
display_user_transaction_rules_in_settings: k,
|
|
826
|
+
show_help_widget_in_master: v
|
|
827
|
+
} = s, S = [
|
|
828
|
+
{ enabled: _, index: 0, label: o?.profile_label },
|
|
829
|
+
{ enabled: d, index: 1, label: o?.mobile_devices_label },
|
|
830
|
+
{ enabled: p, index: 2, label: o?.notifications_label },
|
|
831
|
+
{ enabled: k, index: 3, label: o?.transaction_rules_label },
|
|
832
|
+
{ enabled: v, index: 4, label: o?.help_label }
|
|
833
|
+
], A = S.find((D) => D.enabled), [T, g] = m.useState(A ? A.index : -1);
|
|
834
|
+
return !n || !u ? /* @__PURE__ */ e(ie, {}) : /* @__PURE__ */ e(
|
|
835
|
+
q,
|
|
846
836
|
{
|
|
847
837
|
onBackClick: t,
|
|
838
|
+
onMenuClick: r,
|
|
848
839
|
showAccountFilter: !1,
|
|
849
|
-
sx: { height: "calc(100dvh - 24px)", overflow: "auto", ...
|
|
840
|
+
sx: { height: "calc(100dvh - 24px)", overflow: "auto", ...i },
|
|
850
841
|
title: o.title,
|
|
851
|
-
children: /* @__PURE__ */ c(
|
|
842
|
+
children: /* @__PURE__ */ c(h, { mx: a ? 0 : 48, my: 24, children: [
|
|
852
843
|
/* @__PURE__ */ e(
|
|
853
844
|
pe,
|
|
854
845
|
{
|
|
855
|
-
onChange: (
|
|
846
|
+
onChange: (D, F) => g(F),
|
|
856
847
|
sx: { bgcolor: "background.paper" },
|
|
857
848
|
textColor: "primary",
|
|
858
|
-
value:
|
|
849
|
+
value: T,
|
|
859
850
|
variant: "scrollable",
|
|
860
|
-
children:
|
|
861
|
-
(
|
|
851
|
+
children: S.map(
|
|
852
|
+
(D) => D.enabled && /* @__PURE__ */ e(ue, { label: D.label, value: D.index }, D.index)
|
|
862
853
|
)
|
|
863
854
|
}
|
|
864
855
|
),
|
|
865
|
-
/* @__PURE__ */ e(qe, { selectedTab:
|
|
856
|
+
/* @__PURE__ */ e(qe, { selectedTab: T })
|
|
866
857
|
] })
|
|
867
858
|
}
|
|
868
859
|
);
|
|
869
|
-
}),
|
|
870
|
-
const { clientConfig:
|
|
871
|
-
return
|
|
872
|
-
}),
|
|
873
|
-
const { isMobile:
|
|
874
|
-
return
|
|
875
|
-
|
|
876
|
-
}), /* @__PURE__ */ e(
|
|
860
|
+
}), Wt = C((t) => {
|
|
861
|
+
const { clientConfig: r } = G(), i = r?.master?.deep_link_params?.view;
|
|
862
|
+
return i ? /* @__PURE__ */ e(J, { view: i }) : /* @__PURE__ */ e(q, { ...t, showAccountFilter: !1, children: /* @__PURE__ */ e(h, { my: 24, children: /* @__PURE__ */ e(J, {}) }) });
|
|
863
|
+
}), zt = (t) => {
|
|
864
|
+
const { isMobile: r } = O(), { categoriesLoaded: i, loadCategories: o } = j();
|
|
865
|
+
return m.useEffect(() => {
|
|
866
|
+
i || o().finally();
|
|
867
|
+
}), /* @__PURE__ */ e(q, { ...t, showAccountFilter: !1, children: /* @__PURE__ */ e(h, { sx: { mx: r ? 0 : 48, my: 24 }, children: /* @__PURE__ */ e(re, {}) }) });
|
|
877
868
|
};
|
|
878
869
|
export {
|
|
879
|
-
|
|
880
|
-
|
|
870
|
+
$t as AccountNotificationProfiles,
|
|
871
|
+
Jt as BudgetNotificationProfiles,
|
|
881
872
|
Ge as DeviceTab,
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
B as SettingsTabs,
|
|
889
|
-
Wt as SettingsWidget,
|
|
873
|
+
Kt as InsightsNotificationProfiles,
|
|
874
|
+
J as NotificationSettings,
|
|
875
|
+
Wt as NotificationSettingsWidget,
|
|
876
|
+
Fe as ProfileTab,
|
|
877
|
+
N as SettingsTabs,
|
|
878
|
+
Vt as SettingsWidget,
|
|
890
879
|
qe as SettingsWidgetContents,
|
|
891
|
-
|
|
892
|
-
|
|
880
|
+
re as TransactionRulesTab,
|
|
881
|
+
zt as TransactionRulesWidget
|
|
893
882
|
};
|