@mx-cartographer/experiences 8.0.0-alpha.test2 → 8.0.0-alpha.v2
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 +335 -0
- package/README.md +5 -3
- package/dist/{Account-CMjOp7S2.mjs → Account-BiB1F8lL.mjs} +2 -2
- package/dist/{Account-BIKn4XEZ.mjs → Account-DuOz1a27.mjs} +1 -1
- package/dist/{AccountApi-DgZ8ILj1.mjs → AccountApi-ChQr5PAZ.mjs} +1 -1
- package/dist/AccountDetailsHeader-D9gbTbUt.mjs +95 -0
- package/dist/{AccountFields-DuFtmuud.mjs → AccountFields-CxqONzjY.mjs} +12 -12
- package/dist/AccountListItem-D9WJDbZ1.mjs +94 -0
- package/dist/{AccountStore-Cq_w2Hfb.mjs → AccountStore-DpYvNnql.mjs} +15 -9
- package/dist/Accounts-CseLC3lL.mjs +5 -0
- package/dist/Accounts-o7ohkngR.mjs +27 -0
- package/dist/{Analytics-i5h6BxR1.mjs → Analytics-BYItVAe-.mjs} +10 -0
- package/dist/{BeatApi-De2IaqH2.mjs → BeatApi-EFHXULDx.mjs} +1 -1
- package/dist/{BeatStore-D_NYuBSz.mjs → BeatStore-C6CAT-ce.mjs} +1 -1
- package/dist/BudgetUtil-CLhRnCoX.mjs +479 -0
- package/dist/CashflowStore-CeAzChyD.mjs +91 -0
- package/dist/{Category-Ccoew_sA.mjs → Category-CevNQ03n.mjs} +2 -2
- package/dist/{CategorySelectorDrawer-CzRxYpiP.mjs → CategorySelectorDrawer-Dc9Widy9.mjs} +118 -110
- package/dist/{CategoryStore-V-0d9oje.mjs → CategoryStore-FTxUbn0f.mjs} +3 -3
- package/dist/{CategoryUtil-DB-9JMbi.mjs → CategoryUtil-BVixr0d5.mjs} +4 -4
- package/dist/Connect-eYIWqCEr.mjs +39 -0
- package/dist/ConnectDrawer-C0wjwcJt.mjs +58 -0
- package/dist/{ConnectionsDrawer-DMBBzlIJ.mjs → ConnectionsDrawer-IA7vnv1J.mjs} +10 -9
- package/dist/CurrencyInput-DuMktPu3.mjs +85 -0
- package/dist/{CurrencyText-C-85TnUF.mjs → CurrencyText-CA-E5N_y.mjs} +1 -1
- package/dist/{DateFormats-Cs-NbEZ7.mjs → DateFormats-BMpMrZpW.mjs} +1 -1
- package/dist/{DateUtil-CVXVMbjf.mjs → DateUtil-wcYTmDRD.mjs} +1 -1
- package/dist/{DebtsStore-Dv_T7Dts.mjs → DebtsStore-BZqNLaqd.mjs} +3 -3
- package/dist/Dialog-Ck34yr-d.mjs +63 -0
- package/dist/{Donut-DKY8mL3P.mjs → Donut-CpxJlVvJ.mjs} +29 -27
- package/dist/{Drawer-Bet2ZPJo.mjs → Drawer-Bbe4AMB1.mjs} +14 -14
- package/dist/{ExportCsvAction-Cc14QGA9.mjs → ExportCsvAction-ErKh7wJ2.mjs} +4 -4
- package/dist/{Fetch-DecPFeGU.mjs → Fetch-B6tMJC1r.mjs} +2 -1
- package/dist/{FinstrongStore-DW7-LvAh.mjs → FinstrongStore-BQxXxxYD.mjs} +129 -129
- package/dist/GlobalAccountFilter-B73Pw1hJ.mjs +237 -0
- package/dist/Goal-0loDagc5.mjs +6 -0
- package/dist/GoalStore-fgXt--2Y.mjs +418 -0
- package/dist/HeaderCell-P8w6CmfO.mjs +6 -0
- package/dist/{Help-CgpJK03Q.mjs → Help-B8mD4aLJ.mjs} +6 -6
- package/dist/{Help-DOPJteew.mjs → Help-D-laTbKu.mjs} +544 -493
- package/dist/{IconBacking-DgT8DCeh.mjs → IconBacking-B9oC6uL2.mjs} +11 -11
- package/dist/LineChart-EAr5ox5U.mjs +612 -0
- package/dist/{ListItemAction-engf-T9W.mjs → ListItemAction-4KB7P75M.mjs} +2 -2
- package/dist/Loader-D3rjKx72.mjs +21 -0
- package/dist/Localization-CPkpIwIx.mjs +37 -0
- package/dist/{ManageIncome-BVqHHIO7.mjs → ManageIncome-Cc-wba0I.mjs} +118 -113
- package/dist/{MerchantStore-WvZ4gnQe.mjs → MerchantStore-BzGi4JAZ.mjs} +1 -1
- package/dist/MicroWidgetContainer-B_EnfvCq.mjs +45 -0
- package/dist/MiniWidgetContainer-Bhkv-hpz.mjs +66 -0
- package/dist/{NetWorthStore-B6ziBtaH.mjs → NetWorthStore-BqZ44-4M.mjs} +5 -5
- package/dist/Notification-DTNYSd8P.mjs +7 -0
- package/dist/{NotificationSettings-CEzQSKfg.mjs → NotificationSettings-D7VqsrZy.mjs} +160 -159
- package/dist/{NotificationStore-Ck2KdNmT.mjs → NotificationStore-D_e8zo5M.mjs} +28 -21
- package/dist/{NumberFormatting-DjTD0t3W.mjs → NumberFormatting-QCaNwbjv.mjs} +1 -1
- package/dist/{Transaction-C8QRYhYc.mjs → OnClickEvents-CseHDZ94.mjs} +32 -25
- package/dist/{OriginalBalanceAction-CYqr8z8w.mjs → OriginalBalanceAction-DjpvVVFz.mjs} +10 -10
- package/dist/{RecurringSettings-rEotGPcM.mjs → RecurringSettings-BN9H5ALr.mjs} +4 -4
- package/dist/RecurringTransactions-BCJp-Nap.mjs +297 -0
- package/dist/{RecurringTransactionsStore-DpzLX8E8.mjs → RecurringTransactionsStore-CkMA7gY3.mjs} +11 -10
- package/dist/RepeatingTransaction-DF4vJn_v.mjs +7 -0
- package/dist/{ResponsiveButton-BNsV08Ud.mjs → ResponsiveButton-DZFp78fJ.mjs} +12 -12
- package/dist/SearchBox-CwDgvWVJ.mjs +48 -0
- package/dist/{SettingsStore-ImYpLCSK.mjs → SettingsStore-BoIoiRLj.mjs} +3 -3
- package/dist/{SingleSegmentDonut-PsRQPkmV.mjs → SingleSegmentDonut-BgbLgwHi.mjs} +5 -5
- package/dist/{SpendingData-CI_C9xln.mjs → SpendingData-Bz1bCWAs.mjs} +4 -4
- package/dist/SpendingLegend-BgjazduU.mjs +193 -0
- package/dist/{StatusBar-CPfSXe80.mjs → StatusBar-BK_uYHAB.mjs} +6 -6
- package/dist/StatusIndicator-4tWnjeKS.mjs +264 -0
- package/dist/{TabContentContainer-CnMXkVqr.mjs → TabContentContainer-j01JYR_7.mjs} +8 -8
- package/dist/ToggleListItem-BLu_fWA2.mjs +90 -0
- package/dist/Transaction-Cn5_iFm0.mjs +5 -0
- package/dist/{TransactionApi-CjBoLleL.mjs → TransactionApi-Ck5Ua-7F.mjs} +1 -1
- package/dist/TransactionDetails-D1I1XEsT.mjs +1469 -0
- package/dist/{TransactionStore-CEehNrKo.mjs → TransactionStore-Bx9euVrY.mjs} +195 -177
- package/dist/{TrendsStore-ncmbS9eE.mjs → TrendsStore-CYdTo7cN.mjs} +10 -10
- package/dist/ViewMoreMicroCard-D24H9kDm.mjs +1291 -0
- package/dist/{WidgetContainer-DFwVgavi.mjs → WidgetContainer-B7xDq2bM.mjs} +47 -46
- package/dist/accounts/AccountsMiniWidget.d.ts +1 -1
- package/dist/accounts/AccountsWidget.d.ts +1 -1
- package/dist/accounts/api/AccountApi.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/index.es.js +459 -368
- package/dist/accounts/stores/AccountStore.d.ts +2 -1
- package/dist/accounts/stores/UiStore.d.ts +1 -1
- package/dist/accounts/utils/AccountDetails.d.ts +1 -1
- package/dist/accounts/utils/AccountFields.d.ts +1 -1
- package/dist/accounts/utils/Accounts.d.ts +2 -2
- 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/api/BudgetsApi.d.ts +5 -1
- package/dist/budgets/components/BubbleChart.d.ts +1 -1
- package/dist/budgets/components/BudgetDetailsDrawerV2.d.ts +4 -1
- 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.es.js +851 -865
- package/dist/budgets/store/BudgetsStore.d.ts +15 -1
- package/dist/budgets/utils/BubblesSVG.d.ts +3 -3
- package/dist/budgets/utils/BudgetUtil.d.ts +6 -1
- package/dist/cashflow/CashflowMiniWidget.d.ts +1 -1
- package/dist/cashflow/CashflowWidget.d.ts +1 -1
- package/dist/cashflow/api/CashflowApi.d.ts +1 -1
- package/dist/cashflow/components/DetailsExpenseRow.d.ts +1 -1
- package/dist/cashflow/index.es.js +290 -288
- package/dist/cashflow/stores/UiStore.d.ts +1 -1
- 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/index.es.js +2 -2
- package/dist/categories/stores/CategoryStore.d.ts +2 -1
- package/dist/categories/util/CategoryUtil.d.ts +1 -1
- package/dist/common/api/AnalyticsApi.d.ts +1 -1
- package/dist/common/api/AppDataApi.d.ts +1 -1
- package/dist/common/api/BeatApi.d.ts +1 -1
- package/dist/common/api/CategoryApi.d.ts +1 -1
- package/dist/common/api/GlobalCopyApi.d.ts +1 -1
- package/dist/common/api/LocalizedCopyApi.d.ts +1 -1
- package/dist/common/api/NotificationApi.d.ts +1 -1
- package/dist/common/api/ScheduledPaymentsApi.d.ts +1 -1
- package/dist/common/api/UserApi.d.ts +1 -1
- package/dist/common/components/CurrencyDialog.d.ts +1 -1
- package/dist/common/components/CurrencyInput.d.ts +1 -1
- package/dist/common/components/ErrorBoundary.d.ts +1 -1
- package/dist/common/components/GlobalAccountFilter.d.ts +1 -1
- package/dist/common/components/Loader.d.ts +1 -2
- package/dist/common/components/MiniWidgetContainer.d.ts +1 -0
- package/dist/common/components/WidgetContainer.d.ts +1 -1
- 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/globalaccountfilter/GlobalAccountFilterList.d.ts +1 -1
- package/dist/common/components/index.d.ts +0 -1
- package/dist/common/constants/Account.d.ts +1 -1
- package/dist/common/constants/Analytics.d.ts +10 -0
- package/dist/common/constants/ApiEndpoints.d.ts +1 -0
- package/dist/common/constants/DefaultConfig.d.ts +1 -1
- 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 -2
- package/dist/common/context/GlobalDataProvider.d.ts +2 -1
- package/dist/common/context/hooks.d.ts +4 -4
- package/dist/common/hooks/index.d.ts +1 -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/index.d.ts +0 -1
- package/dist/common/index.es.js +625 -860
- package/dist/common/stores/AppDataStore.d.ts +3 -3
- package/dist/common/stores/GlobalCopyStore.d.ts +1 -1
- package/dist/common/stores/GlobalStore.d.ts +4 -2
- package/dist/common/stores/GlobalUiStore.d.ts +3 -3
- package/dist/common/stores/UserStore.d.ts +1 -1
- package/dist/common/utils/AccountDisplayName.d.ts +1 -1
- package/dist/common/utils/AccountFilter.d.ts +1 -1
- package/dist/common/utils/Analytics.d.ts +1 -1
- package/dist/common/utils/Categories.d.ts +1 -1
- package/dist/common/utils/Fetch.d.ts +1 -1
- package/dist/common/utils/Localization.d.ts +9 -1
- package/dist/common/utils/Theme.d.ts +3 -3
- package/dist/common/utils/User.d.ts +1 -1
- package/dist/common/utils/index.d.ts +1 -1
- package/dist/core/constants/index.d.ts +1 -0
- package/dist/core/constants/repeatingTransactions.d.ts +10 -0
- package/dist/core/index.d.ts +2 -0
- package/dist/core/index.es.js +41 -0
- package/dist/{common → core}/types/Analytics.d.ts +6 -3
- package/dist/{common → core}/types/AppData.d.ts +1 -0
- 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/Expense.d.ts +2 -1
- package/dist/{common → core}/types/Finstrong.d.ts +0 -2
- package/dist/{common → core}/types/Notification.d.ts +15 -5
- package/dist/{common → core}/types/index.d.ts +1 -2
- package/dist/{common → core}/types/localization/BudgetsCopy.d.ts +11 -0
- package/dist/{common → core}/types/localization/CashflowCopy.d.ts +1 -0
- package/dist/{common → core}/types/localization/CommonCopy.d.ts +2 -0
- package/dist/{common → core}/types/localization/DebtsCopy.d.ts +5 -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/dashboard/index.es.js +46 -45
- package/dist/debts/DebtsWidget.d.ts +1 -1
- package/dist/debts/components/actions/DebtsPriorityAction.d.ts +5 -1
- package/dist/debts/components/debtspaydown/PaydownButton.d.ts +2 -1
- package/dist/debts/components/debtspriority/DebtsPriorityButton.d.ts +2 -1
- package/dist/debts/index.es.js +705 -646
- package/dist/debts/store/DebtsStore.d.ts +2 -1
- package/dist/debts/utils/DebtStore.d.ts +1 -1
- package/dist/debts/utils/DebtsWidget.d.ts +7 -1
- package/dist/debts/utils/shared.d.ts +1 -1
- package/dist/{exportTransactionsToCSV-CGnrndmA.mjs → exportTransactionsToCSV-MCYH_zzN.mjs} +5 -5
- package/dist/finstrong/FinstrongWidget.d.ts +1 -1
- package/dist/finstrong/api/FinstrongApi.d.ts +1 -1
- 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.es.js +161 -159
- package/dist/finstrong/stores/FinstrongStore.d.ts +3 -2
- package/dist/finstrong/util/finstrongUtils.d.ts +3 -3
- package/dist/goals/GoalsWidget.d.ts +1 -1
- package/dist/goals/api/GoalApi.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 +1 -1
- package/dist/goals/components/managegoals/CompleteListItem.d.ts +1 -1
- package/dist/goals/components/managegoals/OngoingListItem.d.ts +1 -1
- package/dist/goals/components/managegoals/ReorderGoals.d.ts +1 -1
- package/dist/goals/components/micro/GoalMicroStatusCard.d.ts +1 -1
- package/dist/goals/index.es.js +445 -419
- package/dist/goals/stores/GoalStore.d.ts +2 -1
- package/dist/goals/util/GoalsUtil.d.ts +1 -1
- package/dist/help/HelpWidget.d.ts +1 -1
- package/dist/help/api/HelpApi.d.ts +1 -1
- 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 +8 -8
- package/dist/help/store/HelpStore.d.ts +5 -4
- package/dist/help/utils/getAccessibleHelpCategories.d.ts +2 -2
- package/dist/{hooks-CBl85iRr.mjs → hooks-BxkfR-Ff.mjs} +12 -12
- package/dist/insights/components/feed/Header.d.ts +8 -0
- package/dist/insights/components/index.d.ts +4 -0
- package/dist/insights/components/insights/CategoryBudget/types/CategoryBudget.d.ts +1 -0
- package/dist/insights/components/insights/CategorySpendingV2/types/CategorySpendingV2.d.ts +1 -0
- package/dist/insights/components/shared/ChartDrawerTemplate/ChartDrawerTemplate.d.ts +2 -1
- package/dist/insights/components/shared/ChartDrawerTemplate/TipSection.d.ts +3 -1
- package/dist/insights/components/shared/ChartTransactionWithDrillDown.d.ts +2 -1
- package/dist/insights/components/shared/DonutChartV2.d.ts +13 -0
- package/dist/insights/components/shared/InsightsCard/BeatCardMUI.d.ts +20 -0
- package/dist/insights/components/shared/InsightsCard/CardHeaderMUI.d.ts +11 -0
- package/dist/insights/components/shared/InsightsCard/ContentAndDescriptionMUI.d.ts +17 -0
- package/dist/insights/components/shared/InsightsCard/DescriptionMUI.d.ts +12 -0
- package/dist/insights/components/shared/InsightsCard/MiniDescriptionMUI.d.ts +9 -0
- package/dist/insights/components/shared/StatusIndicator.d.ts +1 -1
- package/dist/insights/components/shared/TransactionCard.d.ts +14 -0
- package/dist/insights/index.es.js +1361 -1081
- package/dist/insights/store/BeatStore.d.ts +1 -1
- package/dist/investments/InvestmentsWidget.d.ts +1 -1
- package/dist/investments/api/HoldingApi.d.ts +1 -1
- package/dist/investments/components/allocation/util/createInvestementsAllocationData.d.ts +2 -2
- package/dist/investments/index.es.js +258 -258
- package/dist/investments/stores/HoldingStore.d.ts +2 -1
- package/dist/investments/util/InvestmentUtil.d.ts +1 -1
- package/dist/merchants/api/MerchantApi.d.ts +1 -1
- package/dist/merchants/index.es.js +16 -16
- package/dist/merchants/stores/MerchantStore.d.ts +2 -1
- package/dist/microinsights/InsightsMicroWidget.d.ts +1 -1
- 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 +1 -1
- package/dist/microinsights/carousel/BeatList.d.ts +1 -1
- package/dist/microinsights/carousel/CarouselHeader.d.ts +1 -1
- package/dist/microinsights/carousel/MicroBeatCarousel.d.ts +1 -1
- 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.es.js +1 -1
- package/dist/microinsights/interfaces.d.ts +1 -1
- package/dist/microinsights/stores/CopyStore.d.ts +1 -1
- package/dist/microinsights/stores/InsightsMicroWidgetStore.d.ts +1 -1
- 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/micro/NetworthData.d.ts +1 -1
- package/dist/networth/components/micro/ZeroState.d.ts +1 -1
- package/dist/networth/index.es.js +181 -174
- package/dist/networth/stores/NetWorthStore.d.ts +2 -1
- package/dist/networth/types/NetWorth.d.ts +1 -1
- package/dist/networth/utils/NetWorthUtils.d.ts +1 -1
- 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.es.js +104 -92
- package/dist/notifications/stores/NotificationStore.d.ts +2 -1
- package/dist/notifications/utils/NotificationUtils.d.ts +2 -1
- package/dist/recurringtransactions/RecurringTransactionsMiniWidget.d.ts +1 -1
- package/dist/recurringtransactions/RecurringTransactionsWidget.d.ts +1 -1
- package/dist/recurringtransactions/api/RepeatingTransactionsApi.d.ts +2 -1
- 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.es.js +477 -451
- package/dist/recurringtransactions/stores/RecurringTransactionsStore.d.ts +2 -1
- package/dist/recurringtransactions/util/RecurringTransactions.d.ts +1 -1
- package/dist/repeatingTransactions-DHIG94pi.mjs +4 -0
- package/dist/settings/NotificationSettingsWidget.d.ts +1 -1
- package/dist/settings/SettingsWidget.d.ts +1 -1
- package/dist/settings/TransactionRulesWidget.d.ts +1 -1
- package/dist/settings/api/SettingsApi.d.ts +1 -2
- 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.es.js +314 -323
- package/dist/settings/stores/SettingsStore.d.ts +3 -2
- package/dist/settings/util/Notifications.d.ts +1 -1
- package/dist/spending/SpendingMiniWidget.d.ts +1 -1
- package/dist/spending/SpendingWidget.d.ts +1 -1
- package/dist/spending/index.es.js +167 -166
- package/dist/spending/utils/SpendingData.d.ts +1 -1
- package/dist/transactions/TransactionWidget.d.ts +1 -1
- package/dist/transactions/api/TransactionApi.d.ts +1 -1
- package/dist/transactions/components/shared/TransactionDetails.d.ts +1 -1
- package/dist/transactions/components/shared/TransactionList.d.ts +1 -1
- package/dist/transactions/components/shared/getEmbeddedInstanceSlotByBeatTemplates.d.ts +1 -1
- 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/HideAction.d.ts +1 -1
- 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 +1 -0
- package/dist/transactions/components/shared/transactionlist/TransactionRow.d.ts +1 -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/constants/Transaction.d.ts +1 -1
- package/dist/transactions/index.es.js +195 -187
- package/dist/transactions/stores/TransactionStore.d.ts +2 -1
- package/dist/transactions/stores/UiStore.d.ts +1 -1
- package/dist/transactions/utils/Filters.d.ts +1 -1
- package/dist/transactions/utils/Transactions.d.ts +1 -1
- package/dist/transactions/utils/buildDetailedTransactions.d.ts +2 -2
- package/dist/transactions/utils/exportTransactionsToCSV.d.ts +1 -1
- package/dist/transactions/utils/sortAndFilterTransactions.d.ts +1 -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/AccessibleSortIcon.d.ts +13 -0
- package/dist/trends/components/trendstable/TrendsTable.d.ts +1 -1
- package/dist/trends/index.es.js +817 -764
- package/dist/trends/stores/TrendsStore.d.ts +2 -1
- package/dist/trends/utils/SpendingData.d.ts +1 -1
- package/dist/trends/utils/TrendsData.d.ts +1 -1
- package/dist/trends/utils/TrendsTable.d.ts +1 -1
- package/dist/trends/utils/TrendsWidget.d.ts +7 -0
- package/dist/trends/utils/shared.d.ts +1 -1
- package/dist/{useAccountDisplayName-b2xxcD0C.mjs → useAccountDisplayName-DKwT1mWv.mjs} +1 -1
- package/dist/{useCombineEvents-ARuNN9Xh.mjs → useCombineEvents-Bqojlv8q.mjs} +3 -3
- package/dist/{useInsightsEnabled-Dd-AfsqC.mjs → useInsightsEnabled-DL_oNyI0.mjs} +1 -1
- package/dist/{useWidgetLoadTimer-DmNCCLa-.mjs → useWidgetLoadTimer-DgN1bTyu.mjs} +1 -1
- package/package.json +17 -10
- package/dist/AccountDetailsHeader-Bn2E0Qjk.mjs +0 -95
- package/dist/AccountListItem-k63LpVBs.mjs +0 -90
- package/dist/Accounts-CuE8aSZN.mjs +0 -27
- package/dist/BudgetUtil-BZiGckNY.mjs +0 -238
- package/dist/CashflowStore-naOtJcwo.mjs +0 -91
- package/dist/CurrencyInput-BEB3FS70.mjs +0 -85
- package/dist/Dialog-jmgGw5WA.mjs +0 -58
- package/dist/GlobalAccountFilter-CIF-aT3F.mjs +0 -316
- package/dist/GoalStore-BjHKNAVm.mjs +0 -421
- package/dist/HeaderCell-DjuifqHJ.mjs +0 -6
- package/dist/LineChart-CnscUFUG.mjs +0 -580
- package/dist/Loader-icSc5MlE.mjs +0 -24
- package/dist/Localization-2MODESHW.mjs +0 -30
- package/dist/MicroWidgetContainer-CBRk9KG-.mjs +0 -45
- package/dist/MiniWidgetContainer-CXQcSWSl.mjs +0 -56
- package/dist/Notification-Bs1fdbzI.mjs +0 -95
- package/dist/RecurringTransactions-DlKYwpfK.mjs +0 -296
- package/dist/SearchBox-B2_zLv8-.mjs +0 -42
- package/dist/SpendingLegend-Bld71d7q.mjs +0 -193
- package/dist/StatusIndicator-CNMQeYyJ.mjs +0 -55
- package/dist/TransactionDetails-Lvt9GCU5.mjs +0 -1194
- package/dist/TransactionList-BDffKJMO.mjs +0 -204
- package/dist/User-DS18cMaz.mjs +0 -237
- package/dist/ViewMoreMicroCard-YHRLl08A.mjs +0 -1152
- 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/types/SpendingPlan.d.ts +0 -44
- package/dist/transactions/components/shared/transactionlist/DateRow.d.ts +0 -7
- package/dist/trends/components/CategoryDetailDrawer.d.ts +0 -7
- /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/Client.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/Widgets.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/GoalsCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/HelpCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/InsightsFeedCopy.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/TransactionsCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/TrendsCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/index.d.ts +0 -0
|
@@ -1,51 +1,52 @@
|
|
|
1
|
-
import { jsxs as c, jsx as e, Fragment as
|
|
2
|
-
import
|
|
1
|
+
import { jsxs as c, jsx as e, Fragment as N } from "react/jsx-runtime";
|
|
2
|
+
import p from "react";
|
|
3
3
|
import { observer as C } from "mobx-react-lite";
|
|
4
4
|
import v from "@mui/material/Divider";
|
|
5
5
|
import E from "@mui/material/List";
|
|
6
6
|
import O from "@mui/material/ListItem";
|
|
7
7
|
import L from "@mui/material/ListItemText";
|
|
8
8
|
import V from "@mui/material/ListItemButton";
|
|
9
|
-
import
|
|
10
|
-
import { ChevronRight as
|
|
9
|
+
import h from "@mui/material/Stack";
|
|
10
|
+
import { ChevronRight as S, ExpandMore as ee, Star as te } from "@mxenabled/mx-icons";
|
|
11
11
|
import { Text as x, InstitutionLogo as ne, H3 as F } from "@mxenabled/mxui";
|
|
12
12
|
import { endOfMonth as ie } from "date-fns/endOfMonth";
|
|
13
13
|
import { startOfMonth as oe } from "date-fns/startOfMonth";
|
|
14
14
|
import { DateCalendar as se } from "@mui/x-date-pickers/DateCalendar";
|
|
15
15
|
import { LocalizationProvider as ae } from "@mui/x-date-pickers/LocalizationProvider";
|
|
16
16
|
import { AdapterDateFns as ce } from "@mui/x-date-pickers/AdapterDateFnsV3";
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import { b as
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import
|
|
17
|
+
import { T as R, a as D } from "./ToggleListItem-BLu_fWA2.mjs";
|
|
18
|
+
import { u as k, r as T, o as A, d as J, g as le, a as q, b as re } from "./hooks-BxkfR-Ff.mjs";
|
|
19
|
+
import { A as de, N as b } from "./Notification-DTNYSd8P.mjs";
|
|
20
|
+
import { b as me } from "./Localization-CPkpIwIx.mjs";
|
|
21
|
+
import { b as he, f as ue } from "./NumberFormatting-QCaNwbjv.mjs";
|
|
22
|
+
import { D as B } from "./Dialog-Ck34yr-d.mjs";
|
|
23
|
+
import { C as _e } from "./CurrencyInput-DuMktPu3.mjs";
|
|
24
|
+
import { u as pe } from "./useScreenSize-B6JyS_Lj.mjs";
|
|
25
|
+
import { D as K } from "./Drawer-Bbe4AMB1.mjs";
|
|
26
|
+
import fe from "@mui/material/Collapse";
|
|
26
27
|
import ge from "@mui/material/Card";
|
|
27
28
|
import ye from "@mui/material/CardContent";
|
|
28
|
-
import
|
|
29
|
+
import W from "@mui/material/Box";
|
|
29
30
|
import j from "@mui/material/Button";
|
|
30
31
|
import U from "@mui/material/TextField";
|
|
31
32
|
import { u as be } from "./useDimensions-CeDR9V8N.mjs";
|
|
32
|
-
import
|
|
33
|
-
import { u as xe } from "./useInsightsEnabled-
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
33
|
+
import Q from "@mui/material/styles/useTheme";
|
|
34
|
+
import { u as xe } from "./useInsightsEnabled-DL_oNyI0.mjs";
|
|
35
|
+
import { u as Ce } from "./useWidgetLoadTimer-DgN1bTyu.mjs";
|
|
36
|
+
import { L as ve } from "./Loader-D3rjKx72.mjs";
|
|
36
37
|
const Te = C(() => {
|
|
37
|
-
const { common: n, settings: t } =
|
|
38
|
+
const { common: n, settings: t } = k(), { sendEmailVerification: s } = T(), { user: l } = A(), i = Q(), [r, a] = p.useState(!1), o = () => {
|
|
38
39
|
a(!1);
|
|
39
|
-
},
|
|
40
|
+
}, u = () => {
|
|
40
41
|
a(!0);
|
|
41
42
|
};
|
|
42
|
-
return /* @__PURE__ */ c(
|
|
43
|
-
/* @__PURE__ */ c(j, { onClick:
|
|
44
|
-
/* @__PURE__ */ e(x, { variant: "
|
|
45
|
-
/* @__PURE__ */ e(
|
|
43
|
+
return /* @__PURE__ */ c(p.Fragment, { children: [
|
|
44
|
+
/* @__PURE__ */ c(j, { onClick: u, sx: { height: "auto", p: 4, width: "fit-content" }, children: [
|
|
45
|
+
/* @__PURE__ */ e(x, { variant: "body2", children: t.verify_email }),
|
|
46
|
+
/* @__PURE__ */ e(S, {})
|
|
46
47
|
] }),
|
|
47
48
|
/* @__PURE__ */ e(
|
|
48
|
-
|
|
49
|
+
B,
|
|
49
50
|
{
|
|
50
51
|
copy: { title: "" },
|
|
51
52
|
isOpen: r,
|
|
@@ -62,31 +63,31 @@ const Te = C(() => {
|
|
|
62
63
|
justifyContent: "center"
|
|
63
64
|
}
|
|
64
65
|
},
|
|
65
|
-
children: /* @__PURE__ */ c(
|
|
66
|
-
/* @__PURE__ */ e(x, { bold: !0, truncate: !1, variant: "
|
|
67
|
-
/* @__PURE__ */ e(x, { truncate: !1, variant: "
|
|
66
|
+
children: /* @__PURE__ */ c(h, { spacing: 16, sx: { px: 40, textAlign: "center", width: "100%" }, children: [
|
|
67
|
+
/* @__PURE__ */ e(x, { bold: !0, truncate: !1, variant: "body1", children: t.confirm_your_email }),
|
|
68
|
+
/* @__PURE__ */ e(x, { truncate: !1, variant: "body2", children: t.confirm_email }),
|
|
68
69
|
/* @__PURE__ */ e(
|
|
69
70
|
x,
|
|
70
71
|
{
|
|
71
72
|
sx: {
|
|
72
|
-
border: `1px solid ${i.palette.
|
|
73
|
+
border: `1px solid ${i.palette.neutral.light}`,
|
|
73
74
|
borderRadius: "4px",
|
|
74
75
|
p: "16px 32px"
|
|
75
76
|
},
|
|
76
|
-
variant: "
|
|
77
|
+
variant: "h3",
|
|
77
78
|
children: l.email
|
|
78
79
|
}
|
|
79
80
|
),
|
|
80
|
-
/* @__PURE__ */ e(x, { truncate: !1, variant: "
|
|
81
|
+
/* @__PURE__ */ e(x, { truncate: !1, variant: "body2", children: t.verification_notice_email })
|
|
81
82
|
] })
|
|
82
83
|
}
|
|
83
84
|
)
|
|
84
85
|
] });
|
|
85
86
|
}), Pe = C(
|
|
86
87
|
({ handleClose: n, handleVerify: t, isOpen: s }) => {
|
|
87
|
-
const { common: l, settings: i } =
|
|
88
|
+
const { common: l, settings: i } = k(), [r, a] = p.useState("");
|
|
88
89
|
return /* @__PURE__ */ e(
|
|
89
|
-
|
|
90
|
+
B,
|
|
90
91
|
{
|
|
91
92
|
copy: { title: i.enter_verification_code },
|
|
92
93
|
isOpen: s,
|
|
@@ -103,14 +104,14 @@ const Te = C(() => {
|
|
|
103
104
|
justifyContent: "flex-end"
|
|
104
105
|
}
|
|
105
106
|
},
|
|
106
|
-
children: /* @__PURE__ */ e(
|
|
107
|
+
children: /* @__PURE__ */ e(h, { children: /* @__PURE__ */ e(U, { onChange: (o) => a(o.target.value), sx: { width: 352 }, value: r }) })
|
|
107
108
|
}
|
|
108
109
|
);
|
|
109
110
|
}
|
|
110
111
|
), De = C(() => {
|
|
111
|
-
const { common: n, settings: t } =
|
|
112
|
+
const { common: n, settings: t } = k(), { sendPhoneVerification: s, verifyPhoneToken: l } = T(), { user: i } = A(), r = Q(), [a, o] = p.useState(!1), [u, d] = p.useState(!1), f = () => {
|
|
112
113
|
o(!1);
|
|
113
|
-
},
|
|
114
|
+
}, _ = () => {
|
|
114
115
|
o(!0);
|
|
115
116
|
}, y = () => {
|
|
116
117
|
s().finally(() => {
|
|
@@ -121,19 +122,19 @@ const Te = C(() => {
|
|
|
121
122
|
d(!1);
|
|
122
123
|
});
|
|
123
124
|
};
|
|
124
|
-
return /* @__PURE__ */ c(
|
|
125
|
-
/* @__PURE__ */ c(j, { onClick:
|
|
126
|
-
/* @__PURE__ */ e(x, { variant: "
|
|
127
|
-
/* @__PURE__ */ e(
|
|
125
|
+
return /* @__PURE__ */ c(p.Fragment, { children: [
|
|
126
|
+
/* @__PURE__ */ c(j, { onClick: _, sx: { height: "auto", p: 4, width: "fit-content" }, children: [
|
|
127
|
+
/* @__PURE__ */ e(x, { variant: "body2", children: t.verify_phone }),
|
|
128
|
+
/* @__PURE__ */ e(S, {})
|
|
128
129
|
] }),
|
|
129
130
|
/* @__PURE__ */ e(
|
|
130
|
-
|
|
131
|
+
B,
|
|
131
132
|
{
|
|
132
133
|
copy: { title: "" },
|
|
133
134
|
isOpen: a,
|
|
134
|
-
onClose:
|
|
135
|
+
onClose: f,
|
|
135
136
|
onPrimaryAction: y,
|
|
136
|
-
onSecondaryAction:
|
|
137
|
+
onSecondaryAction: f,
|
|
137
138
|
primaryText: t.send_verification,
|
|
138
139
|
secondaryText: n.back,
|
|
139
140
|
sx: {
|
|
@@ -144,22 +145,22 @@ const Te = C(() => {
|
|
|
144
145
|
justifyContent: "center"
|
|
145
146
|
}
|
|
146
147
|
},
|
|
147
|
-
children: /* @__PURE__ */ c(
|
|
148
|
-
/* @__PURE__ */ e(x, { bold: !0, truncate: !1, variant: "
|
|
149
|
-
/* @__PURE__ */ e(x, { truncate: !1, variant: "
|
|
148
|
+
children: /* @__PURE__ */ c(h, { spacing: 16, sx: { px: 40, textAlign: "center", width: "100%" }, children: [
|
|
149
|
+
/* @__PURE__ */ e(x, { bold: !0, truncate: !1, variant: "body1", children: t.confirm_your_phone }),
|
|
150
|
+
/* @__PURE__ */ e(x, { truncate: !1, variant: "body2", children: t.confirm_phone }),
|
|
150
151
|
/* @__PURE__ */ e(
|
|
151
152
|
x,
|
|
152
153
|
{
|
|
153
154
|
sx: {
|
|
154
|
-
border: `1px solid ${r.palette.
|
|
155
|
+
border: `1px solid ${r.palette.neutral.light}`,
|
|
155
156
|
borderRadius: "4px",
|
|
156
157
|
p: "16px 32px"
|
|
157
158
|
},
|
|
158
|
-
variant: "
|
|
159
|
+
variant: "h3",
|
|
159
160
|
children: i.phone
|
|
160
161
|
}
|
|
161
162
|
),
|
|
162
|
-
/* @__PURE__ */ e(x, { truncate: !1, variant: "
|
|
163
|
+
/* @__PURE__ */ e(x, { truncate: !1, variant: "body2", children: t.verification_notice_phone })
|
|
163
164
|
] })
|
|
164
165
|
}
|
|
165
166
|
),
|
|
@@ -168,21 +169,21 @@ const Te = C(() => {
|
|
|
168
169
|
{
|
|
169
170
|
handleClose: () => d(!1),
|
|
170
171
|
handleVerify: m,
|
|
171
|
-
isOpen:
|
|
172
|
+
isOpen: u
|
|
172
173
|
}
|
|
173
174
|
)
|
|
174
175
|
] });
|
|
175
|
-
}),
|
|
176
|
+
}), ke = C(
|
|
176
177
|
({ onProfileUpdated: n, profile: t }) => {
|
|
177
|
-
const { common: s, recurring: l, settings: i } =
|
|
178
|
+
const { common: s, recurring: l, settings: i } = k(), { updateAccount: r } = J(), a = t.notification_type === de.DebtPaymentReminder, [o, u] = p.useState(!1), [d, f] = p.useState(t.threshold || 0), [_, y] = p.useState(
|
|
178
179
|
t.account?.day_payment_is_due || 0
|
|
179
|
-
), m = t.account?.name || t.account?.feed_name || "", g = t.account?.day_payment_is_due ?
|
|
180
|
+
), m = t.account?.name || t.account?.feed_name || "", g = t.account?.day_payment_is_due ? me(
|
|
180
181
|
i.notification_debt_payment_date,
|
|
181
182
|
he(t.account?.day_payment_is_due)
|
|
182
183
|
) : i.notification_debt_payment_zero_state, P = a ? g : ue(t.threshold ?? 0, "0,0"), I = async () => {
|
|
183
|
-
a && t.account ? await r({ ...t.account, day_payment_is_due:
|
|
184
|
+
a && t.account ? await r({ ...t.account, day_payment_is_due: _ }) : n({ ...t, threshold: d });
|
|
184
185
|
};
|
|
185
|
-
return /* @__PURE__ */ c(
|
|
186
|
+
return /* @__PURE__ */ c(h, { children: [
|
|
186
187
|
/* @__PURE__ */ e(
|
|
187
188
|
R,
|
|
188
189
|
{
|
|
@@ -193,11 +194,11 @@ const Te = C(() => {
|
|
|
193
194
|
institutionGuid: t.account?.institution_guid
|
|
194
195
|
}
|
|
195
196
|
) : void 0,
|
|
196
|
-
endIcon: /* @__PURE__ */ e(
|
|
197
|
+
endIcon: /* @__PURE__ */ e(S, {}),
|
|
197
198
|
isChecked: t.is_enabled,
|
|
198
199
|
isDisabled: !t.is_enabled,
|
|
199
200
|
isPrimaryTextBold: !0,
|
|
200
|
-
onClick: () =>
|
|
201
|
+
onClick: () => u(!0),
|
|
201
202
|
onToggle: () => n({
|
|
202
203
|
...t,
|
|
203
204
|
is_enabled: !t.is_enabled
|
|
@@ -207,15 +208,15 @@ const Te = C(() => {
|
|
|
207
208
|
}
|
|
208
209
|
),
|
|
209
210
|
/* @__PURE__ */ e(
|
|
210
|
-
|
|
211
|
+
B,
|
|
211
212
|
{
|
|
212
213
|
copy: {
|
|
213
214
|
title: a ? l.day_of_the_month : i.notification_threshold_label,
|
|
214
215
|
close_aria: s.close_aria
|
|
215
216
|
},
|
|
216
|
-
disablePrimaryButton: a &&
|
|
217
|
+
disablePrimaryButton: a && _ === 0,
|
|
217
218
|
isOpen: o,
|
|
218
|
-
onClose: () =>
|
|
219
|
+
onClose: () => u(!1),
|
|
219
220
|
onPrimaryAction: I,
|
|
220
221
|
primaryText: s.save_button,
|
|
221
222
|
children: a ? /* @__PURE__ */ e(ae, { dateAdapter: ce, children: /* @__PURE__ */ e(
|
|
@@ -223,8 +224,8 @@ const Te = C(() => {
|
|
|
223
224
|
{
|
|
224
225
|
maxDate: ie(/* @__PURE__ */ new Date()),
|
|
225
226
|
minDate: oe(/* @__PURE__ */ new Date()),
|
|
226
|
-
onChange: (
|
|
227
|
-
y(
|
|
227
|
+
onChange: (w) => {
|
|
228
|
+
y(w.getDate());
|
|
228
229
|
},
|
|
229
230
|
slots: {
|
|
230
231
|
// Hides the arrows
|
|
@@ -240,60 +241,60 @@ const Te = C(() => {
|
|
|
240
241
|
views: ["day"]
|
|
241
242
|
}
|
|
242
243
|
) }) : /* @__PURE__ */ e(
|
|
243
|
-
|
|
244
|
+
_e,
|
|
244
245
|
{
|
|
245
246
|
amount: d,
|
|
246
247
|
autoFocus: !0,
|
|
247
248
|
fullWidth: !0,
|
|
248
249
|
minAmount: 0,
|
|
249
|
-
setAmount: (
|
|
250
|
-
sx: { ".MuiTypography-
|
|
250
|
+
setAmount: (w) => f(Number(w) || 0),
|
|
251
|
+
sx: { ".MuiTypography-body1": { p: 0 } }
|
|
251
252
|
}
|
|
252
253
|
)
|
|
253
254
|
}
|
|
254
255
|
)
|
|
255
256
|
] });
|
|
256
257
|
}
|
|
257
|
-
),
|
|
258
|
+
), we = C(
|
|
258
259
|
({ onUpdateProfile: n, profile: t }) => {
|
|
259
|
-
const { settings: s } =
|
|
260
|
-
opted_out_of_email_notifications:
|
|
260
|
+
const { settings: s } = k(), { user: l } = A(), { clientCommunicationProfile: i, userCommunicationsProfile: r } = T(), { isMobile: a } = pe(), o = t.notification_type > 2, {
|
|
261
|
+
opted_out_of_email_notifications: u,
|
|
261
262
|
opted_out_of_push_notifications: d,
|
|
262
|
-
opted_out_of_sms_notifications:
|
|
263
|
+
opted_out_of_sms_notifications: f
|
|
263
264
|
} = r, {
|
|
264
|
-
email_notifications_enabled:
|
|
265
|
+
email_notifications_enabled: _,
|
|
265
266
|
push_notifications_enabled: y,
|
|
266
267
|
sms_notifications_enabled: m
|
|
267
268
|
} = i;
|
|
268
|
-
return /* @__PURE__ */ c(
|
|
269
|
-
(
|
|
269
|
+
return /* @__PURE__ */ c(h, { children: [
|
|
270
|
+
(_ || m || y) && /* @__PURE__ */ c(N, { children: [
|
|
270
271
|
/* @__PURE__ */ e(x, { bold: !0, sx: { mb: 4, ml: 24, mt: 12 }, variant: "caption", children: s.delivery_method_title }),
|
|
271
272
|
/* @__PURE__ */ c(E, { sx: { bgcolor: "background.paper" }, children: [
|
|
272
|
-
|
|
273
|
+
_ && /* @__PURE__ */ e(h, { sx: { pl: 24 }, children: /* @__PURE__ */ e(
|
|
273
274
|
D,
|
|
274
275
|
{
|
|
275
|
-
isChecked: !
|
|
276
|
-
isDisabled:
|
|
276
|
+
isChecked: !u && t.email_channel && !!l.email,
|
|
277
|
+
isDisabled: u || !l.email,
|
|
277
278
|
onToggle: () => n({ ...t, email_channel: !t.email_channel }),
|
|
278
279
|
primaryText: s.delivery_method_email_label,
|
|
279
|
-
secondaryText:
|
|
280
|
+
secondaryText: u || !t.email_channel || !l.email ? s.notification_disabled : s.notification_enabled,
|
|
280
281
|
useExtraPadding: !1
|
|
281
282
|
}
|
|
282
283
|
) }),
|
|
283
|
-
|
|
284
|
-
m && /* @__PURE__ */ e(
|
|
284
|
+
_ && (m || y) && /* @__PURE__ */ e(v, { sx: { ml: a ? 0 : 24 } }),
|
|
285
|
+
m && /* @__PURE__ */ e(h, { sx: { pl: 24 }, children: /* @__PURE__ */ e(
|
|
285
286
|
D,
|
|
286
287
|
{
|
|
287
|
-
isChecked: !
|
|
288
|
-
isDisabled:
|
|
288
|
+
isChecked: !f && t.sms_channel && !!l.phone,
|
|
289
|
+
isDisabled: f || !l.phone,
|
|
289
290
|
onToggle: () => n({ ...t, sms_channel: !t.sms_channel }),
|
|
290
291
|
primaryText: `${s.delivery_method_sms_label}`,
|
|
291
|
-
secondaryText:
|
|
292
|
+
secondaryText: f || !t.sms_channel || !l.phone ? s.notification_disabled : s.notification_enabled,
|
|
292
293
|
useExtraPadding: !1
|
|
293
294
|
}
|
|
294
295
|
) }),
|
|
295
296
|
m && y && /* @__PURE__ */ e(v, { sx: { ml: a ? 0 : 24 } }),
|
|
296
|
-
y && /* @__PURE__ */ e(
|
|
297
|
+
y && /* @__PURE__ */ e(h, { sx: { pl: 24 }, children: /* @__PURE__ */ e(
|
|
297
298
|
D,
|
|
298
299
|
{
|
|
299
300
|
isChecked: !d && t.push_channel,
|
|
@@ -307,10 +308,10 @@ const Te = C(() => {
|
|
|
307
308
|
/* @__PURE__ */ e(v, {})
|
|
308
309
|
] })
|
|
309
310
|
] }),
|
|
310
|
-
o && !!t.children?.length && /* @__PURE__ */ c(
|
|
311
|
+
o && !!t.children?.length && /* @__PURE__ */ c(h, { children: [
|
|
311
312
|
/* @__PURE__ */ e(x, { bold: !0, sx: { mb: 4, ml: 24, mt: 12 }, variant: "caption", children: s.accounts_threshold_title }),
|
|
312
313
|
/* @__PURE__ */ e(E, { sx: { bgcolor: "background.paper" }, children: t.children?.map((g) => /* @__PURE__ */ e(
|
|
313
|
-
|
|
314
|
+
ke,
|
|
314
315
|
{
|
|
315
316
|
onProfileUpdated: n,
|
|
316
317
|
profile: g
|
|
@@ -320,8 +321,8 @@ const Te = C(() => {
|
|
|
320
321
|
] })
|
|
321
322
|
] });
|
|
322
323
|
}
|
|
323
|
-
),
|
|
324
|
-
const { accountProfiles: n, updateNotificationProfile: t } = T(), [s, l] =
|
|
324
|
+
), z = C(() => {
|
|
325
|
+
const { accountProfiles: n, updateNotificationProfile: t } = T(), [s, l] = p.useState(""), i = p.useMemo(
|
|
325
326
|
() => n.find((o) => o.guid === s),
|
|
326
327
|
[n, s]
|
|
327
328
|
), r = async (o) => {
|
|
@@ -332,11 +333,11 @@ const Te = C(() => {
|
|
|
332
333
|
}, a = async (o) => {
|
|
333
334
|
await t(o);
|
|
334
335
|
};
|
|
335
|
-
return /* @__PURE__ */ c(
|
|
336
|
+
return /* @__PURE__ */ c(h, { sx: { backgroundColor: "background.paper" }, children: [
|
|
336
337
|
n.filter((o) => o.children && o.children.length > 0).map((o) => /* @__PURE__ */ e(
|
|
337
338
|
R,
|
|
338
339
|
{
|
|
339
|
-
endIcon: /* @__PURE__ */ e(
|
|
340
|
+
endIcon: /* @__PURE__ */ e(S, {}),
|
|
340
341
|
isChecked: o.is_enabled,
|
|
341
342
|
isDisabled: !o.is_enabled,
|
|
342
343
|
onClick: () => l(o.guid),
|
|
@@ -347,13 +348,13 @@ const Te = C(() => {
|
|
|
347
348
|
o.guid
|
|
348
349
|
)),
|
|
349
350
|
/* @__PURE__ */ e(
|
|
350
|
-
|
|
351
|
+
K,
|
|
351
352
|
{
|
|
352
353
|
isOpen: !!i,
|
|
353
354
|
onClose: () => l(""),
|
|
354
355
|
title: i ? i.label : "",
|
|
355
356
|
children: i && /* @__PURE__ */ e(
|
|
356
|
-
|
|
357
|
+
we,
|
|
357
358
|
{
|
|
358
359
|
onUpdateProfile: a,
|
|
359
360
|
profile: i
|
|
@@ -362,8 +363,8 @@ const Te = C(() => {
|
|
|
362
363
|
}
|
|
363
364
|
)
|
|
364
365
|
] });
|
|
365
|
-
}),
|
|
366
|
-
const { settings: t } =
|
|
366
|
+
}), X = C(({ profile: n }) => {
|
|
367
|
+
const { settings: t } = k(), {
|
|
367
368
|
clientCommunicationProfile: {
|
|
368
369
|
email_notifications_enabled: s,
|
|
369
370
|
push_notifications_enabled: l,
|
|
@@ -373,10 +374,10 @@ const Te = C(() => {
|
|
|
373
374
|
userCommunicationsProfile: {
|
|
374
375
|
opted_out_of_email_notifications: a,
|
|
375
376
|
opted_out_of_push_notifications: o,
|
|
376
|
-
opted_out_of_sms_notifications:
|
|
377
|
+
opted_out_of_sms_notifications: u
|
|
377
378
|
}
|
|
378
|
-
} = T(), { user: d } = A(), [
|
|
379
|
-
await m({ ...n, is_enabled: !n.is_enabled }), n.is_enabled &&
|
|
379
|
+
} = T(), { user: d } = A(), [f, _] = p.useState(!1), y = async () => {
|
|
380
|
+
await m({ ...n, is_enabled: !n.is_enabled }), n.is_enabled && _(!1);
|
|
380
381
|
}, m = async (P) => {
|
|
381
382
|
await r(P);
|
|
382
383
|
}, g = s || i || l;
|
|
@@ -389,20 +390,20 @@ const Te = C(() => {
|
|
|
389
390
|
{
|
|
390
391
|
sx: {
|
|
391
392
|
transition: "transform 0.3s ease-in-out",
|
|
392
|
-
transform:
|
|
393
|
+
transform: f ? "rotate(180deg)" : "rotate(0deg)"
|
|
393
394
|
}
|
|
394
395
|
}
|
|
395
396
|
) : void 0,
|
|
396
397
|
isChecked: n.is_enabled,
|
|
397
398
|
isDisabled: !n.is_enabled,
|
|
398
|
-
onClick: () =>
|
|
399
|
+
onClick: () => _(!f),
|
|
399
400
|
onToggle: () => y(),
|
|
400
401
|
primaryText: n.label,
|
|
401
402
|
secondaryText: n.is_enabled ? n.deliveryMethodsLabel : void 0
|
|
402
403
|
},
|
|
403
404
|
n.guid
|
|
404
405
|
),
|
|
405
|
-
g && /* @__PURE__ */ e(
|
|
406
|
+
g && /* @__PURE__ */ e(fe, { in: f, children: /* @__PURE__ */ c(E, { sx: { bgcolor: "background.paper" }, children: [
|
|
406
407
|
s && /* @__PURE__ */ e(
|
|
407
408
|
D,
|
|
408
409
|
{
|
|
@@ -419,8 +420,8 @@ const Te = C(() => {
|
|
|
419
420
|
i && /* @__PURE__ */ e(
|
|
420
421
|
D,
|
|
421
422
|
{
|
|
422
|
-
isChecked: !
|
|
423
|
-
isDisabled:
|
|
423
|
+
isChecked: !u && n.sms_channel && !!d.phone,
|
|
424
|
+
isDisabled: u || !d.phone,
|
|
424
425
|
onToggle: () => m({
|
|
425
426
|
...n,
|
|
426
427
|
sms_channel: !n.sms_channel
|
|
@@ -444,25 +445,25 @@ const Te = C(() => {
|
|
|
444
445
|
] }) }),
|
|
445
446
|
/* @__PURE__ */ e(v, {})
|
|
446
447
|
] }, n.guid);
|
|
447
|
-
}),
|
|
448
|
+
}), $ = C(() => {
|
|
448
449
|
const { budgetProfiles: n } = T();
|
|
449
|
-
return /* @__PURE__ */ e(
|
|
450
|
-
}),
|
|
451
|
-
const { onEvent: n } =
|
|
450
|
+
return /* @__PURE__ */ e(h, { children: n.map((t) => /* @__PURE__ */ e(X, { profile: t }, t.guid)) });
|
|
451
|
+
}), Se = C(() => {
|
|
452
|
+
const { onEvent: n } = le(), { settings: t } = k(), {
|
|
452
453
|
clientCommunicationProfile: s,
|
|
453
454
|
updateUserCommunicationProfile: l,
|
|
454
455
|
userCommunicationsProfile: i
|
|
455
|
-
} = T(), { user: r } = A(), a = async (o,
|
|
456
|
-
const d = { ...i, [o]:
|
|
456
|
+
} = T(), { user: r } = A(), a = async (o, u) => {
|
|
457
|
+
const d = { ...i, [o]: u };
|
|
457
458
|
if (n) {
|
|
458
|
-
const
|
|
459
|
-
|
|
459
|
+
const _ = o.split("_")[3];
|
|
460
|
+
u === !1 ? n("opt_in_notification_method", { notificationType: _ }) : n("opt_out_notification_method", { notificationType: _ });
|
|
460
461
|
}
|
|
461
462
|
await l(d);
|
|
462
463
|
};
|
|
463
|
-
return /* @__PURE__ */ c(
|
|
464
|
+
return /* @__PURE__ */ c(h, { children: [
|
|
464
465
|
/* @__PURE__ */ e(F, { sx: { mt: 24 }, children: t.delivery_method_title }),
|
|
465
|
-
s.email_notifications_enabled && /* @__PURE__ */ c(
|
|
466
|
+
s.email_notifications_enabled && /* @__PURE__ */ c(N, { children: [
|
|
466
467
|
/* @__PURE__ */ e(
|
|
467
468
|
D,
|
|
468
469
|
{
|
|
@@ -479,7 +480,7 @@ const Te = C(() => {
|
|
|
479
480
|
),
|
|
480
481
|
(s.sms_notifications_enabled || s.push_notifications_enabled) && /* @__PURE__ */ e(v, {})
|
|
481
482
|
] }),
|
|
482
|
-
s.sms_notifications_enabled && /* @__PURE__ */ c(
|
|
483
|
+
s.sms_notifications_enabled && /* @__PURE__ */ c(N, { children: [
|
|
483
484
|
/* @__PURE__ */ e(
|
|
484
485
|
D,
|
|
485
486
|
{
|
|
@@ -505,30 +506,30 @@ const Te = C(() => {
|
|
|
505
506
|
useExtraPadding: !1
|
|
506
507
|
}
|
|
507
508
|
),
|
|
508
|
-
s.sms_notifications_enabled && /* @__PURE__ */ e(ge, { sx: { backgroundColor: "background.default", mt: 12 }, variant: "outlined", children: /* @__PURE__ */ e(ye, { children: /* @__PURE__ */ c(
|
|
509
|
+
s.sms_notifications_enabled && /* @__PURE__ */ e(ge, { sx: { backgroundColor: "background.default", mt: 12 }, variant: "outlined", children: /* @__PURE__ */ e(ye, { children: /* @__PURE__ */ c(h, { alignItems: "flex-start", direction: "row", gap: 6, children: [
|
|
509
510
|
/* @__PURE__ */ e(te, { color: "primary", filled: !0 }),
|
|
510
|
-
/* @__PURE__ */ e(x, { sx: { whiteSpace: "wrap" }, variant: "
|
|
511
|
+
/* @__PURE__ */ e(x, { sx: { whiteSpace: "wrap" }, variant: "caption", children: t.delivery_method_sms_note_1 })
|
|
511
512
|
] }) }) })
|
|
512
513
|
] });
|
|
513
|
-
}),
|
|
514
|
+
}), H = C(() => {
|
|
514
515
|
const { insightsProfiles: n } = T();
|
|
515
|
-
return /* @__PURE__ */ e(
|
|
516
|
+
return /* @__PURE__ */ e(h, { children: n.map((t) => /* @__PURE__ */ e(X, { profile: t }, t.guid)) });
|
|
516
517
|
}), Ae = () => {
|
|
517
|
-
const { config: n } =
|
|
518
|
+
const { config: n } = q(), [t, { width: s }] = be(), { common: l, settings: i } = k(), { updateUser: r } = T(), { user: a } = A(), [o, u] = p.useState(!1), [d, f] = p.useState({
|
|
518
519
|
email: a.email,
|
|
519
520
|
phone: a.phone
|
|
520
|
-
}),
|
|
521
|
-
const { name: I, value:
|
|
522
|
-
|
|
521
|
+
}), _ = d.email && !a.email_is_verified && !o, y = d.phone && !a.phone_is_verified && !o, m = (P) => {
|
|
522
|
+
const { name: I, value: w } = P.target, M = { ...d, [I]: w };
|
|
523
|
+
f(M), u(JSON.stringify({ ...a, ...M }) !== JSON.stringify(a));
|
|
523
524
|
}, g = async () => {
|
|
524
|
-
await r({ ...a, ...d }),
|
|
525
|
+
await r({ ...a, ...d }), u(!1);
|
|
525
526
|
};
|
|
526
|
-
return /* @__PURE__ */ c(
|
|
527
|
+
return /* @__PURE__ */ c(h, { ref: t, children: [
|
|
527
528
|
/* @__PURE__ */ e(v, {}),
|
|
528
|
-
/* @__PURE__ */ c(
|
|
529
|
+
/* @__PURE__ */ c(h, { sx: { pt: 12 }, children: [
|
|
529
530
|
/* @__PURE__ */ e(F, { sx: { lineHeight: "20px", pb: 4, pt: 16 }, children: i.personal_details }),
|
|
530
|
-
/* @__PURE__ */ c(
|
|
531
|
-
n.display_email_edit_field_in_settings && /* @__PURE__ */ c(
|
|
531
|
+
/* @__PURE__ */ c(h, { sx: { flexDirection: s <= 768 ? "column" : "row", gap: 24, py: 16 }, children: [
|
|
532
|
+
n.display_email_edit_field_in_settings && /* @__PURE__ */ c(h, { sx: { flex: 1, pb: 14 }, children: [
|
|
532
533
|
/* @__PURE__ */ e(
|
|
533
534
|
U,
|
|
534
535
|
{
|
|
@@ -539,8 +540,8 @@ const Te = C(() => {
|
|
|
539
540
|
onChange: m
|
|
540
541
|
}
|
|
541
542
|
),
|
|
542
|
-
|
|
543
|
-
|
|
543
|
+
_ && /* @__PURE__ */ e(
|
|
544
|
+
W,
|
|
544
545
|
{
|
|
545
546
|
sx: {
|
|
546
547
|
height: 20,
|
|
@@ -555,7 +556,7 @@ const Te = C(() => {
|
|
|
555
556
|
}
|
|
556
557
|
)
|
|
557
558
|
] }),
|
|
558
|
-
n.display_sms_edit_field_in_settings && /* @__PURE__ */ c(
|
|
559
|
+
n.display_sms_edit_field_in_settings && /* @__PURE__ */ c(h, { sx: { flex: 1, pb: 14 }, children: [
|
|
559
560
|
/* @__PURE__ */ e(
|
|
560
561
|
U,
|
|
561
562
|
{
|
|
@@ -567,7 +568,7 @@ const Te = C(() => {
|
|
|
567
568
|
}
|
|
568
569
|
),
|
|
569
570
|
y && /* @__PURE__ */ e(
|
|
570
|
-
|
|
571
|
+
W,
|
|
571
572
|
{
|
|
572
573
|
sx: {
|
|
573
574
|
height: 20,
|
|
@@ -595,42 +596,42 @@ const Te = C(() => {
|
|
|
595
596
|
)
|
|
596
597
|
] })
|
|
597
598
|
] });
|
|
598
|
-
}, Ie = C(Ae),
|
|
599
|
+
}, Ie = C(Ae), ut = C(
|
|
599
600
|
({
|
|
600
601
|
notificationTypes: n = [b.Accounts, b.Budgets],
|
|
601
602
|
showPersonalDetails: t = !1,
|
|
602
603
|
view: s
|
|
603
604
|
}) => {
|
|
604
|
-
const { config: l } =
|
|
605
|
+
const { config: l } = q(), { settings: i } = k(), { isInitialized: r } = re(), { isAccountDataLoaded: a, loadAccountData: o } = J(), { clientCommunicationProfile: u, loadNotificationProfiles: d } = T(), f = xe(), [_, y] = p.useState(!1), [m, g] = p.useState(
|
|
605
606
|
void 0
|
|
606
607
|
);
|
|
607
|
-
if (n.length > 0 &&
|
|
608
|
+
if (n.length > 0 && f && n.push(b.Insights), Ce({
|
|
608
609
|
widgetName: "NotificationSettingsWidget",
|
|
609
|
-
isLoaded:
|
|
610
|
-
}),
|
|
610
|
+
isLoaded: _
|
|
611
|
+
}), p.useEffect(() => {
|
|
611
612
|
a || o().finally();
|
|
612
|
-
}, []),
|
|
613
|
+
}, []), p.useEffect(() => {
|
|
613
614
|
r && d().finally(() => y(!0));
|
|
614
615
|
}, [r]), !r)
|
|
615
|
-
return /* @__PURE__ */ e(
|
|
616
|
+
return /* @__PURE__ */ e(ve, {});
|
|
616
617
|
let P = i.manage_account_notifications;
|
|
617
618
|
m === b.Budgets ? P = i.manage_budget_notifications : m === b.Insights && (P = i.manage_insights_notifications);
|
|
618
619
|
const {
|
|
619
620
|
email_notifications_enabled: I,
|
|
620
|
-
sms_notifications_enabled:
|
|
621
|
-
push_notifications_enabled:
|
|
622
|
-
} =
|
|
621
|
+
sms_notifications_enabled: w,
|
|
622
|
+
push_notifications_enabled: M
|
|
623
|
+
} = u, G = I || w || M;
|
|
623
624
|
if (s === "accounts")
|
|
624
|
-
return /* @__PURE__ */ e(W, {});
|
|
625
|
-
if (s === "budgets")
|
|
626
625
|
return /* @__PURE__ */ e(z, {});
|
|
627
|
-
if (s === "
|
|
626
|
+
if (s === "budgets")
|
|
628
627
|
return /* @__PURE__ */ e($, {});
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
628
|
+
if (s === "insights")
|
|
629
|
+
return /* @__PURE__ */ e(H, {});
|
|
630
|
+
const Y = l.display_email_edit_field_in_settings || l.display_sms_edit_field_in_settings, Z = t && u.can_edit_contact_info && Y;
|
|
631
|
+
return /* @__PURE__ */ c(h, { sx: { pt: G ? 0 : 24 }, children: [
|
|
632
|
+
/* @__PURE__ */ c(h, { sx: { px: 24 }, children: [
|
|
633
|
+
G && /* @__PURE__ */ c(N, { children: [
|
|
634
|
+
/* @__PURE__ */ e(Se, {}),
|
|
634
635
|
/* @__PURE__ */ e(v, { sx: { my: 24 } })
|
|
635
636
|
] }),
|
|
636
637
|
/* @__PURE__ */ e(F, { sx: { mb: 4 }, children: i.notification_types_title })
|
|
@@ -638,28 +639,28 @@ const Te = C(() => {
|
|
|
638
639
|
/* @__PURE__ */ c(E, { children: [
|
|
639
640
|
n.includes(b.Accounts) && /* @__PURE__ */ e(O, { children: /* @__PURE__ */ c(V, { onClick: () => g(b.Accounts), children: [
|
|
640
641
|
/* @__PURE__ */ e(L, { primary: i.accounts_title, secondary: i.accounts_subtitle }),
|
|
641
|
-
/* @__PURE__ */ e(
|
|
642
|
+
/* @__PURE__ */ e(S, {})
|
|
642
643
|
] }) }),
|
|
643
644
|
n.includes(b.Budgets) && /* @__PURE__ */ e(O, { children: /* @__PURE__ */ c(V, { onClick: () => g(b.Budgets), children: [
|
|
644
645
|
/* @__PURE__ */ e(L, { primary: i.budgets_title, secondary: i.budgets_subtitle }),
|
|
645
|
-
/* @__PURE__ */ e(
|
|
646
|
+
/* @__PURE__ */ e(S, {})
|
|
646
647
|
] }) }),
|
|
647
648
|
n.includes(b.Insights) && /* @__PURE__ */ e(O, { children: /* @__PURE__ */ c(V, { onClick: () => g(b.Insights), children: [
|
|
648
649
|
/* @__PURE__ */ e(L, { primary: i.insights_title, secondary: i.insights_subtitle }),
|
|
649
|
-
/* @__PURE__ */ e(
|
|
650
|
+
/* @__PURE__ */ e(S, {})
|
|
650
651
|
] }) })
|
|
651
652
|
] }),
|
|
652
|
-
Z && /* @__PURE__ */ e(
|
|
653
|
+
Z && /* @__PURE__ */ e(h, { sx: { px: 24 }, children: /* @__PURE__ */ e(Ie, {}) }),
|
|
653
654
|
/* @__PURE__ */ e(
|
|
654
|
-
|
|
655
|
+
K,
|
|
655
656
|
{
|
|
656
657
|
isOpen: !!m,
|
|
657
658
|
onClose: () => g(void 0),
|
|
658
659
|
title: P,
|
|
659
|
-
children: /* @__PURE__ */ c(
|
|
660
|
-
m === b.Accounts && /* @__PURE__ */ e(
|
|
661
|
-
m === b.Budgets && /* @__PURE__ */ e(
|
|
662
|
-
m === b.Insights && /* @__PURE__ */ e(
|
|
660
|
+
children: /* @__PURE__ */ c(h, { children: [
|
|
661
|
+
m === b.Accounts && /* @__PURE__ */ e(z, {}),
|
|
662
|
+
m === b.Budgets && /* @__PURE__ */ e($, {}),
|
|
663
|
+
m === b.Insights && /* @__PURE__ */ e(H, {})
|
|
663
664
|
] })
|
|
664
665
|
}
|
|
665
666
|
)
|
|
@@ -667,10 +668,10 @@ const Te = C(() => {
|
|
|
667
668
|
}
|
|
668
669
|
);
|
|
669
670
|
export {
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
671
|
+
z as A,
|
|
672
|
+
$ as B,
|
|
673
|
+
H as I,
|
|
674
|
+
ut as N,
|
|
674
675
|
Te as V,
|
|
675
676
|
De as a
|
|
676
677
|
};
|