@mx-cartographer/experiences 9.0.0-alpha.mega1 → 9.0.0-ram1-bug-alpha-testing
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-xyRoRDHv.mjs} +7 -7
- 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 +991 -876
- 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,12 +1,14 @@
|
|
|
1
1
|
import { GridColDef } from '@mui/x-data-grid-pro';
|
|
2
|
-
import { DetailedCategory, TrendsCopy } from '../../
|
|
2
|
+
import { DetailedCategory, TrendsCopy } from '../../core';
|
|
3
3
|
export declare const generateMonthHeaders: (start: Date, end: Date) => string[];
|
|
4
4
|
export declare const getTrendsTableColumns: (monthHeaders: string[], copy: TrendsCopy) => GridColDef[];
|
|
5
|
-
export
|
|
5
|
+
export type TrendsTableRow = {
|
|
6
6
|
id: string;
|
|
7
7
|
category: string;
|
|
8
8
|
category_guid: string;
|
|
9
9
|
isParent: boolean;
|
|
10
10
|
top_level_category_guid: string;
|
|
11
11
|
total: number;
|
|
12
|
-
|
|
12
|
+
monthlyAmounts: Record<string, number>;
|
|
13
|
+
};
|
|
14
|
+
export declare const getTrendsTableRows: (categories: DetailedCategory[], copy: TrendsCopy, isIncome: boolean, monthHeaders: string[], parentCategory?: DetailedCategory) => TrendsTableRow[];
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { TrendsCopy } from '../../core';
|
|
2
|
+
export declare const buildEmptyStateProps: (copy: TrendsCopy, hasAggregation: boolean, handler: () => void) => {
|
|
3
|
+
description: string;
|
|
4
|
+
header: string;
|
|
5
|
+
onClickHandler: (() => void) | undefined;
|
|
6
|
+
primaryButton: string | undefined;
|
|
7
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { MonthlyCategoryTotals } from '../../
|
|
2
|
-
import { StackedLineChartData } from '
|
|
1
|
+
import { MonthlyCategoryTotals } from '../../core';
|
|
2
|
+
import { StackedLineChartData } from '../../core/utils/TrendsUtil';
|
|
3
3
|
type TotalsData = MonthlyCategoryTotals | StackedLineChartData;
|
|
4
4
|
export declare const isIncome: (totals: TotalsData) => boolean;
|
|
5
5
|
export declare const isExpense: (totals: TotalsData) => boolean;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { g as
|
|
3
|
-
import { a as n } from "./hooks-
|
|
1
|
+
import e from "react";
|
|
2
|
+
import { g as s } from "./AccountDisplayName-CO7z3v99.mjs";
|
|
3
|
+
import { a as n } from "./hooks-BaO_gOI6.mjs";
|
|
4
4
|
const i = (o) => {
|
|
5
5
|
const { config: a } = n();
|
|
6
|
-
return
|
|
7
|
-
() =>
|
|
6
|
+
return e.useMemo(
|
|
7
|
+
() => s(o, {
|
|
8
8
|
allowNickname: a?.show_account_nicknames_in_master
|
|
9
9
|
}),
|
|
10
10
|
[o, a?.show_account_nicknames_in_master]
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as l } from "react/jsx-runtime";
|
|
2
2
|
import e from "react";
|
|
3
3
|
import u from "@mui/material/Box";
|
|
4
|
-
const
|
|
5
|
-
const [s, o] = e.useState(""), [t, r] = e.useState(
|
|
6
|
-
|
|
4
|
+
const f = (i = "polite") => {
|
|
5
|
+
const [s, o] = e.useState(""), [t, r] = e.useState(i), n = e.useCallback((c, a) => {
|
|
6
|
+
a && r(a), o(c);
|
|
7
7
|
}, []), p = e.useMemo(
|
|
8
8
|
() => /* @__PURE__ */ l(
|
|
9
9
|
u,
|
|
@@ -31,5 +31,5 @@ const x = (a = "polite") => {
|
|
|
31
31
|
return { announce: n, ariaLive: p };
|
|
32
32
|
};
|
|
33
33
|
export {
|
|
34
|
-
|
|
34
|
+
f as u
|
|
35
35
|
};
|
|
@@ -7,19 +7,19 @@ const d = (i, s) => t.useMemo(() => {
|
|
|
7
7
|
}, s);
|
|
8
8
|
};
|
|
9
9
|
}, [i, s]);
|
|
10
|
-
function
|
|
10
|
+
function D(i = 100) {
|
|
11
11
|
const [s, o] = t.useState({
|
|
12
12
|
width: 0,
|
|
13
13
|
height: 0
|
|
14
14
|
}), e = t.useRef(null), u = t.useRef(s), f = d((n, r) => {
|
|
15
15
|
(n !== u.current.width || r !== u.current.height) && (o({ width: n, height: r }), u.current = { width: n, height: r });
|
|
16
|
-
}, i),
|
|
16
|
+
}, i), l = t.useCallback(
|
|
17
17
|
(n) => {
|
|
18
18
|
if (e.current && (e.current.disconnect(), e.current = null), n?.nodeType === Node.ELEMENT_NODE) {
|
|
19
19
|
const r = new ResizeObserver(([c]) => {
|
|
20
20
|
if (c && c.borderBoxSize) {
|
|
21
|
-
const { inlineSize:
|
|
22
|
-
f(
|
|
21
|
+
const { inlineSize: m, blockSize: b } = c.borderBoxSize[0];
|
|
22
|
+
f(m, b);
|
|
23
23
|
}
|
|
24
24
|
});
|
|
25
25
|
r.observe(n), e.current = r;
|
|
@@ -29,8 +29,8 @@ function R(i = 100) {
|
|
|
29
29
|
);
|
|
30
30
|
return t.useEffect(() => () => {
|
|
31
31
|
e.current && e.current.disconnect();
|
|
32
|
-
}, []), [
|
|
32
|
+
}, []), [l, s];
|
|
33
33
|
}
|
|
34
34
|
export {
|
|
35
|
-
|
|
35
|
+
D as u
|
|
36
36
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import k from "@mui/material/styles
|
|
1
|
+
import { useTheme as k } from "@mui/material/styles";
|
|
2
2
|
import o from "@mui/material/useMediaQuery";
|
|
3
3
|
const l = (s) => {
|
|
4
4
|
const e = k(), { xs: n, sm: r, md: p, lg: t, xl: i } = e.breakpoints.values;
|
|
@@ -16,7 +16,7 @@ const l = (s) => {
|
|
|
16
16
|
// Between 600 and 1200
|
|
17
17
|
isTablet: o(e.breakpoints.between("sm", "lg"))
|
|
18
18
|
};
|
|
19
|
-
return s && (m = {
|
|
19
|
+
return s !== void 0 && (m = {
|
|
20
20
|
// Larger than 1536
|
|
21
21
|
isLargeDesktop: s > i,
|
|
22
22
|
// Larger than 1200
|
|
@@ -26,7 +26,7 @@ const l = (s) => {
|
|
|
26
26
|
// Smaller than 444
|
|
27
27
|
isSmallMobile: s < n,
|
|
28
28
|
// Between 600 and 900
|
|
29
|
-
isSmallTablet: s >= r && s
|
|
29
|
+
isSmallTablet: s >= r && s < p,
|
|
30
30
|
// Between 600 and 1200
|
|
31
31
|
isTablet: s > r && s <= t
|
|
32
32
|
}), m;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useRef as r, useEffect as c } from "react";
|
|
2
|
-
import { g as l } from "./hooks-
|
|
2
|
+
import { g as l } from "./hooks-BaO_gOI6.mjs";
|
|
3
3
|
let n = !0;
|
|
4
4
|
const d = ({ widgetName: i, isLoaded: u = !0 }) => {
|
|
5
5
|
const { onEvent: o } = l(), t = r(null), s = r(!1), e = r(!1);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mx-cartographer/experiences",
|
|
3
|
-
"version": "9.0.0-alpha
|
|
3
|
+
"version": "9.0.0-ram1-bug-alpha-testing",
|
|
4
4
|
"description": "Library containing experience widgets",
|
|
5
5
|
"author": "MX",
|
|
6
6
|
"license": "MIT",
|
|
@@ -33,6 +33,10 @@
|
|
|
33
33
|
"import": "./dist/common/index.es.js",
|
|
34
34
|
"types": "./dist/common/index.d.ts"
|
|
35
35
|
},
|
|
36
|
+
"./core": {
|
|
37
|
+
"import": "./dist/core/index.es.js",
|
|
38
|
+
"types": "./dist/core/index.d.ts"
|
|
39
|
+
},
|
|
36
40
|
"./dashboard": {
|
|
37
41
|
"import": "./dist/dashboard/index.es.js",
|
|
38
42
|
"types": "./dist/dashboard/index.d.ts"
|
|
@@ -53,6 +57,10 @@
|
|
|
53
57
|
"import": "./dist/help/index.es.js",
|
|
54
58
|
"types": "./dist/help/index.d.ts"
|
|
55
59
|
},
|
|
60
|
+
"./insights": {
|
|
61
|
+
"import": "./dist/insights/index.es.js",
|
|
62
|
+
"types": "./dist/insights/index.d.ts"
|
|
63
|
+
},
|
|
56
64
|
"./investments": {
|
|
57
65
|
"import": "./dist/investments/index.es.js",
|
|
58
66
|
"types": "./dist/investments/index.d.ts"
|
|
@@ -114,6 +122,9 @@
|
|
|
114
122
|
"common": [
|
|
115
123
|
"./dist/common/index.d.ts"
|
|
116
124
|
],
|
|
125
|
+
"core": [
|
|
126
|
+
"./dist/core/index.d.ts"
|
|
127
|
+
],
|
|
117
128
|
"dashboard": [
|
|
118
129
|
"./dist/dashboard/index.d.ts"
|
|
119
130
|
],
|
|
@@ -129,6 +140,9 @@
|
|
|
129
140
|
"help": [
|
|
130
141
|
"./dist/help/index.d.ts"
|
|
131
142
|
],
|
|
143
|
+
"insights": [
|
|
144
|
+
"./dist/insights/index.d.ts"
|
|
145
|
+
],
|
|
132
146
|
"investments": [
|
|
133
147
|
"./dist/investments/index.d.ts"
|
|
134
148
|
],
|
|
@@ -170,47 +184,50 @@
|
|
|
170
184
|
"prepare": "husky install",
|
|
171
185
|
"prepublishOnly": "yarn build",
|
|
172
186
|
"storybook": "storybook dev -p 6006",
|
|
173
|
-
"test": "vitest",
|
|
174
|
-
"testui": "vitest --ui --coverage",
|
|
175
|
-
"citest": "vitest run --coverage"
|
|
187
|
+
"test": "vitest --workspace=vitest.workspace.ts",
|
|
188
|
+
"testui": "vitest --workspace=vitest.workspace.ts --ui --coverage",
|
|
189
|
+
"citest": "vitest run --workspace=vitest.workspace.ts --coverage"
|
|
176
190
|
},
|
|
177
191
|
"dependencies": {
|
|
178
192
|
"@emotion/react": "^11.14.0",
|
|
179
|
-
"@emotion/styled": "^11.14.
|
|
180
|
-
"@mui/lab": "^
|
|
181
|
-
"@mui/material": "
|
|
182
|
-
"@mui/system": "
|
|
183
|
-
"@mui/x-charts": "^8.
|
|
184
|
-
"@mui/x-data-grid-pro": "^7.29.
|
|
193
|
+
"@emotion/styled": "^11.14.1",
|
|
194
|
+
"@mui/lab": "^7",
|
|
195
|
+
"@mui/material": "7.3.11",
|
|
196
|
+
"@mui/system": "7.3.11",
|
|
197
|
+
"@mui/x-charts": "^8.28.2",
|
|
198
|
+
"@mui/x-data-grid-pro": "^7.29.12",
|
|
185
199
|
"@mui/x-date-pickers": "^7.29.4",
|
|
186
200
|
"@mui/x-date-pickers-pro": "^7.29.4",
|
|
187
201
|
"@mxenabled/cssinjs": "^0.6.0",
|
|
188
|
-
"@mxenabled/mx-icons": "^
|
|
189
|
-
"@mxenabled/mxui": "
|
|
190
|
-
"@mxenabled/web-widget-sdk": "^0.0.
|
|
191
|
-
"@tanstack/react-virtual": "^3.13.
|
|
192
|
-
"bowser": "^2.
|
|
202
|
+
"@mxenabled/mx-icons": "^2",
|
|
203
|
+
"@mxenabled/mxui": "2.5.3",
|
|
204
|
+
"@mxenabled/web-widget-sdk": "^0.0.15",
|
|
205
|
+
"@tanstack/react-virtual": "^3.13.24",
|
|
206
|
+
"bowser": "^2.14.1",
|
|
193
207
|
"d3": "^7.9.0",
|
|
194
208
|
"date-fns": "^4.1.0",
|
|
195
|
-
"mobx": "^6.
|
|
196
|
-
"mobx-react-lite": "^4.1.
|
|
209
|
+
"mobx": "^6.15.0",
|
|
210
|
+
"mobx-react-lite": "^4.1.1",
|
|
197
211
|
"numeral": "^2.0.6",
|
|
198
|
-
"posthog-js": "^1.
|
|
199
|
-
"react
|
|
200
|
-
"
|
|
212
|
+
"posthog-js": "^1.370.1",
|
|
213
|
+
"react": "^19",
|
|
214
|
+
"react-confetti": "^6.4.0",
|
|
215
|
+
"react-dom": "^19",
|
|
216
|
+
"react-intersection-observer": "^10.0.3",
|
|
217
|
+
"uuid": "^14.0.0"
|
|
201
218
|
},
|
|
202
219
|
"devDependencies": {
|
|
203
220
|
"@babel/core": "^7.26.10",
|
|
204
221
|
"@babel/eslint-parser": "^7.26.10",
|
|
205
|
-
"@storybook/addon-a11y": "^8.6.
|
|
206
|
-
"@storybook/addon-essentials": "^8.6.
|
|
207
|
-
"@storybook/addon-interactions": "^8.6.
|
|
208
|
-
"@storybook/addon-links": "^8.6.
|
|
209
|
-
"@storybook/blocks": "^8.6.
|
|
210
|
-
"@storybook/react": "^8.6.
|
|
211
|
-
"@storybook/react-vite": "^8.6.
|
|
212
|
-
"@storybook/test": "^8.6.
|
|
213
|
-
"@storybook/theming": "^8.6.
|
|
222
|
+
"@storybook/addon-a11y": "^8.6.18",
|
|
223
|
+
"@storybook/addon-essentials": "^8.6.18",
|
|
224
|
+
"@storybook/addon-interactions": "^8.6.18",
|
|
225
|
+
"@storybook/addon-links": "^8.6.18",
|
|
226
|
+
"@storybook/blocks": "^8.6.18",
|
|
227
|
+
"@storybook/react": "^8.6.18",
|
|
228
|
+
"@storybook/react-vite": "^8.6.18",
|
|
229
|
+
"@storybook/test": "^8.6.18",
|
|
230
|
+
"@storybook/theming": "^8.6.18",
|
|
214
231
|
"@testing-library/dom": "^10.4.0",
|
|
215
232
|
"@testing-library/jest-dom": "^6.6.3",
|
|
216
233
|
"@testing-library/react": "^16.2.0",
|
|
@@ -220,8 +237,8 @@
|
|
|
220
237
|
"@types/jest": "^29.5.14",
|
|
221
238
|
"@types/numeral": "^2.0.5",
|
|
222
239
|
"@types/prop-types": "^15.7.14",
|
|
223
|
-
"@types/react": "^19
|
|
224
|
-
"@types/react-dom": "^19
|
|
240
|
+
"@types/react": "^19",
|
|
241
|
+
"@types/react-dom": "^19",
|
|
225
242
|
"@types/uuid": "^10.0.0",
|
|
226
243
|
"@typescript-eslint/eslint-plugin": "^7.16.0",
|
|
227
244
|
"@typescript-eslint/parser": "^7.16.0",
|
|
@@ -245,32 +262,37 @@
|
|
|
245
262
|
"path": "^0.12.7",
|
|
246
263
|
"prettier": "^3.5.3",
|
|
247
264
|
"prop-types": "^15.8.1",
|
|
248
|
-
"
|
|
249
|
-
"react-dom": "^19.2.4",
|
|
250
|
-
"storybook": "^8.6.4",
|
|
265
|
+
"storybook": "^8.6.18",
|
|
251
266
|
"storybook-addon-mock": "^5.0.0",
|
|
252
267
|
"storybook-dark-mode": "4.0.1",
|
|
253
|
-
"typescript": "^5.
|
|
268
|
+
"typescript": "^5.9.3",
|
|
254
269
|
"vi-canvas-mock": "^1.0.0",
|
|
255
|
-
"vite": "
|
|
256
|
-
"vite-plugin-dts": "^4.5.
|
|
270
|
+
"vite": "5.4.21",
|
|
271
|
+
"vite-plugin-dts": "^4.5.4",
|
|
272
|
+
"vite-plugin-svgr": "^4.5.0",
|
|
257
273
|
"vite-tsconfig-paths": "^5.1.4",
|
|
258
|
-
"vitest": "^3.
|
|
274
|
+
"vitest": "^3.2.4"
|
|
259
275
|
},
|
|
260
276
|
"peerDependencies": {
|
|
261
|
-
"@mui/material": "^
|
|
262
|
-
"@mxenabled/mxui": "^
|
|
277
|
+
"@mui/material": "^7",
|
|
278
|
+
"@mxenabled/mxui": "^2",
|
|
263
279
|
"d3": "^7",
|
|
264
280
|
"date-fns": "^3",
|
|
265
281
|
"mobx": "^6",
|
|
266
282
|
"mobx-react-lite": "^4",
|
|
267
|
-
"react": "^
|
|
268
|
-
"react-dom": "^
|
|
283
|
+
"react": "^19",
|
|
284
|
+
"react-dom": "^19"
|
|
269
285
|
},
|
|
270
286
|
"files": [
|
|
271
287
|
"dist",
|
|
272
288
|
"CHANGELOG.md",
|
|
273
289
|
"README.md"
|
|
274
290
|
],
|
|
275
|
-
"
|
|
291
|
+
"resolutions": {
|
|
292
|
+
"react": "^19",
|
|
293
|
+
"react-dom": "^19",
|
|
294
|
+
"@types/react": "^19",
|
|
295
|
+
"@types/react-dom": "^19"
|
|
296
|
+
},
|
|
297
|
+
"packageManager": "yarn@4.14.1"
|
|
276
298
|
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { F as s, A as e } from "./Fetch-DecPFeGU.mjs";
|
|
2
|
-
class r {
|
|
3
|
-
fetchInstance;
|
|
4
|
-
constructor(t, c, n) {
|
|
5
|
-
this.fetchInstance = new s(t, c, void 0, n);
|
|
6
|
-
}
|
|
7
|
-
createAccount = async (t) => this.fetchInstance.post(e.ACCOUNTS, t).then((c) => c.account).catch((c) => c);
|
|
8
|
-
deleteAccount = async (t) => this.fetchInstance.delete(`${e.ACCOUNTS}/${t}`).catch((c) => c);
|
|
9
|
-
getAccounts = async () => this.fetchInstance.get(e.ACCOUNTS).then((t) => t.accounts).catch((t) => t);
|
|
10
|
-
getInstitutions = async () => this.fetchInstance.get(e.INSTITUTIONS).then((t) => t).catch((t) => t);
|
|
11
|
-
getMembers = async () => this.fetchInstance.get(e.MEMBERS).then((t) => t.members).catch((t) => t);
|
|
12
|
-
getMonthlyAccountBalances = async (t) => this.fetchInstance.get(`${e.ACCOUNTS}/${t}/monthly_account_balances`).then((c) => c.monthly_account_balances).catch((c) => c);
|
|
13
|
-
mergeAccounts = async (t) => this.fetchInstance.put(`${e.ACCOUNTS}/merge`, { accounts: t }).then((c) => c).catch((c) => c);
|
|
14
|
-
refreshAllMembers = async () => this.fetchInstance.get(`${e.MEMBERS}/refresh_all`).then((t) => t).catch((t) => t);
|
|
15
|
-
updateAccount = async (t) => this.fetchInstance.put(`${e.ACCOUNTS}/${t.guid}`, t).then((c) => c.account).catch((c) => c);
|
|
16
|
-
}
|
|
17
|
-
export {
|
|
18
|
-
r as A
|
|
19
|
-
};
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { jsx as t, jsxs as a } from "react/jsx-runtime";
|
|
2
|
-
import { observer as f } from "mobx-react-lite";
|
|
3
|
-
import s from "@mui/material/Stack";
|
|
4
|
-
import { H3 as T, InstitutionLogo as x, Text as l, H2 as D } from "@mxenabled/mxui";
|
|
5
|
-
import p from "react";
|
|
6
|
-
import { G as N, d as C, m as P, f as G, u as O } from "./hooks-fY_n74f7.mjs";
|
|
7
|
-
import { g as R } from "./AccountFields-BRRH37K1.mjs";
|
|
8
|
-
import { A as r } from "./Account-CMjOp7S2.mjs";
|
|
9
|
-
import w from "@mui/material/Card";
|
|
10
|
-
import v from "@mui/material/CardContent";
|
|
11
|
-
import L from "@mui/material/CardHeader";
|
|
12
|
-
import { L as H } from "./Loader-BSWSYqvn.mjs";
|
|
13
|
-
import { I as M, P as U, S as Y } from "./Account-BIKn4XEZ.mjs";
|
|
14
|
-
import { u as j } from "./useAccountDisplayName-DbkgGLdg.mjs";
|
|
15
|
-
import { f as z } from "./NumberFormatting-DjTD0t3W.mjs";
|
|
16
|
-
const _ = () => {
|
|
17
|
-
if (!p.useContext(N))
|
|
18
|
-
throw new Error("useCategoryUiStore() must be used within the GlobalDataContext");
|
|
19
|
-
return C().uiStore;
|
|
20
|
-
}, B = (i, e) => {
|
|
21
|
-
const c = [r.LOAN, r.MORTGAGE, r.PROPERTY].includes(
|
|
22
|
-
i
|
|
23
|
-
), n = [
|
|
24
|
-
r.CREDIT_CARD,
|
|
25
|
-
r.LINE_OF_CREDIT,
|
|
26
|
-
r.PREPAID,
|
|
27
|
-
r.CHECKING_LINE_OF_CREDIT
|
|
28
|
-
].includes(i);
|
|
29
|
-
return c ? { title: e.label_payments, description: e.chart_title_payments } : n ? { title: e.label_payments_spend, description: e.chart_title_payments_spend } : { title: e.label_income_spend, description: e.chart_title_income_spend };
|
|
30
|
-
}, k = ({
|
|
31
|
-
sx: i,
|
|
32
|
-
ChartComponent: e,
|
|
33
|
-
header: c
|
|
34
|
-
}) => {
|
|
35
|
-
const { loadMonthlyCategoryTotals: n } = P(), { isInitialized: o } = G(), { selectedAccount: d } = _(), [u, m] = p.useState(!1);
|
|
36
|
-
return p.useEffect(() => {
|
|
37
|
-
o && n([d]).finally(() => {
|
|
38
|
-
m(!0);
|
|
39
|
-
});
|
|
40
|
-
}, [o, d]), !o || !u ? /* @__PURE__ */ t(H, {}) : /* @__PURE__ */ a(
|
|
41
|
-
w,
|
|
42
|
-
{
|
|
43
|
-
sx: {
|
|
44
|
-
"& .MuiCardContent-root:last-child": {
|
|
45
|
-
pb: 0
|
|
46
|
-
},
|
|
47
|
-
...i
|
|
48
|
-
},
|
|
49
|
-
children: [
|
|
50
|
-
/* @__PURE__ */ t(L, { sx: { pb: 0 }, title: /* @__PURE__ */ t(T, { sx: { pb: 4 }, children: c }) }),
|
|
51
|
-
/* @__PURE__ */ t(v, { sx: { p: 0 }, children: e ? /* @__PURE__ */ t(e, {}) : null })
|
|
52
|
-
]
|
|
53
|
-
}
|
|
54
|
-
);
|
|
55
|
-
}, F = f(k), V = ({
|
|
56
|
-
customDetailsChart: i,
|
|
57
|
-
ChartComponent: e
|
|
58
|
-
}) => {
|
|
59
|
-
const { institutions: c } = C(), { selectedAccount: n } = _(), { accounts: o } = O(), { firstSubtitle: d, firstValue: u, hasAvailableBalance: m, secondSubtitle: h, secondValue: b } = R(n, o), A = c.find(
|
|
60
|
-
(I) => I.guid === n?.institution_guid
|
|
61
|
-
), S = [
|
|
62
|
-
...M,
|
|
63
|
-
...U,
|
|
64
|
-
...Y
|
|
65
|
-
].includes(n.account_type), g = j(n), { title: y, description: E } = B(n.account_type, o);
|
|
66
|
-
return /* @__PURE__ */ a(s, { bgcolor: "background.default", p: 24, children: [
|
|
67
|
-
/* @__PURE__ */ a(s, { gap: 12, children: [
|
|
68
|
-
/* @__PURE__ */ t(
|
|
69
|
-
x,
|
|
70
|
-
{
|
|
71
|
-
alt: o.institution_logo_alt,
|
|
72
|
-
institutionGuid: n.institution_guid || "",
|
|
73
|
-
size: 64
|
|
74
|
-
}
|
|
75
|
-
),
|
|
76
|
-
/* @__PURE__ */ t(l, { variant: "Small", children: A?.name })
|
|
77
|
-
] }),
|
|
78
|
-
/* @__PURE__ */ a(s, { gap: 8, mb: 24, mt: 4, children: [
|
|
79
|
-
/* @__PURE__ */ t(D, { children: g }),
|
|
80
|
-
/* @__PURE__ */ a(s, { direction: "row", justifyContent: "space-between", children: [
|
|
81
|
-
/* @__PURE__ */ t(l, { bold: m, variant: "Body", children: d }),
|
|
82
|
-
/* @__PURE__ */ t(l, { bold: !0, variant: "Body", children: z(u, "0,0.00") })
|
|
83
|
-
] }),
|
|
84
|
-
/* @__PURE__ */ a(s, { direction: "row", justifyContent: "space-between", children: [
|
|
85
|
-
/* @__PURE__ */ t(l, { variant: "Small", children: h }),
|
|
86
|
-
/* @__PURE__ */ t(l, { variant: "Small", children: b })
|
|
87
|
-
] })
|
|
88
|
-
] }),
|
|
89
|
-
S && /* @__PURE__ */ t(s, { "aria-label": E, role: "img", children: i || /* @__PURE__ */ t(F, { ChartComponent: e, header: y }) })
|
|
90
|
-
] });
|
|
91
|
-
}, at = f(V);
|
|
92
|
-
export {
|
|
93
|
-
at as A,
|
|
94
|
-
_ as u
|
|
95
|
-
};
|
|
@@ -1,140 +0,0 @@
|
|
|
1
|
-
import { jsx as u } from "react/jsx-runtime";
|
|
2
|
-
import { Text as y, Icon as p } from "@mxenabled/mxui";
|
|
3
|
-
import { A as d, a as v, P as h, b as F } from "./Account-CMjOp7S2.mjs";
|
|
4
|
-
import { i as T, u as D, a as A, b as g, c as O } from "./Accounts-CuE8aSZN.mjs";
|
|
5
|
-
import { F as m } from "./GlobalAccountFilter-BpWlPAl5.mjs";
|
|
6
|
-
import { f as _, i as b, a as N, b as S } from "./NumberFormatting-DjTD0t3W.mjs";
|
|
7
|
-
import { b as i } from "./Localization-2MODESHW.mjs";
|
|
8
|
-
import { f as o, D as f } from "./Dialog-CWymUiuO.mjs";
|
|
9
|
-
const x = (l, e) => {
|
|
10
|
-
const r = [
|
|
11
|
-
{
|
|
12
|
-
event: "account_details_click_account_name",
|
|
13
|
-
label: e.account_name,
|
|
14
|
-
name: "user_name",
|
|
15
|
-
placeholder: i(e.enter_value, e.account_name),
|
|
16
|
-
type: m.Input,
|
|
17
|
-
validation: (a) => a ? "" : i(e.field_is_required, e.account_name),
|
|
18
|
-
valueFormatter: (a) => a
|
|
19
|
-
}
|
|
20
|
-
];
|
|
21
|
-
if (T(l)) {
|
|
22
|
-
r.unshift({
|
|
23
|
-
label: e.account_balance,
|
|
24
|
-
name: "balance",
|
|
25
|
-
placeholder: i(e.enter_value, e.account_balance),
|
|
26
|
-
type: m.Currency,
|
|
27
|
-
valueFormatter: (t) => _(t, "0,0.00")
|
|
28
|
-
});
|
|
29
|
-
const a = Object.keys(d).filter((t) => Number(t)).map((t) => ({
|
|
30
|
-
label: e.account_types[t],
|
|
31
|
-
value: Number(t),
|
|
32
|
-
icon: /* @__PURE__ */ u(p, { name: v[t] })
|
|
33
|
-
}));
|
|
34
|
-
r.push({
|
|
35
|
-
label: e.account_type,
|
|
36
|
-
name: "account_type",
|
|
37
|
-
options: a,
|
|
38
|
-
placeholder: i(e.select_value, e.account_type),
|
|
39
|
-
type: m.Select,
|
|
40
|
-
valueFormatter: (t) => a.find((n) => n.value === t)?.label
|
|
41
|
-
});
|
|
42
|
-
}
|
|
43
|
-
if (l.account_type === d.PROPERTY) {
|
|
44
|
-
const a = Object.keys(h).filter((t) => Number(t)).map((t) => ({
|
|
45
|
-
label: e.property_types[t],
|
|
46
|
-
value: Number(t),
|
|
47
|
-
icon: /* @__PURE__ */ u(p, { name: F[t] })
|
|
48
|
-
}));
|
|
49
|
-
r.push({
|
|
50
|
-
label: e.property_type,
|
|
51
|
-
name: "property_type",
|
|
52
|
-
options: a,
|
|
53
|
-
placeholder: i(e.select_value, e.property_type),
|
|
54
|
-
type: m.Select,
|
|
55
|
-
valueFormatter: (t) => a.find((n) => n.value === t)?.label
|
|
56
|
-
});
|
|
57
|
-
}
|
|
58
|
-
if (D(l)) {
|
|
59
|
-
let a = e.interest_rate, t = "interest_rate";
|
|
60
|
-
l.is_manual || (typeof l.apr == "number" && (a = e.apr, t = "apr"), typeof l.apy == "number" && (a = e.apy, t = "apy")), r.push({
|
|
61
|
-
event: "account_details_click_interest_rate",
|
|
62
|
-
label: a,
|
|
63
|
-
name: t,
|
|
64
|
-
placeholder: i(e.enter_value, a),
|
|
65
|
-
type: m.Input,
|
|
66
|
-
validation: (n) => b(n) ? "" : e.error_amount_is_invalid,
|
|
67
|
-
valueFormatter: (n) => b(n) ? N(n / 100) : n
|
|
68
|
-
});
|
|
69
|
-
}
|
|
70
|
-
return A(l) && (r.push({
|
|
71
|
-
label: e.minimum_payment,
|
|
72
|
-
name: "minimum_payment",
|
|
73
|
-
placeholder: i(e.enter_value, e.minimum_payment),
|
|
74
|
-
type: m.Currency,
|
|
75
|
-
valueFormatter: (a) => _(a, "0,0.00")
|
|
76
|
-
}), l.payment_due_at ? r.push({
|
|
77
|
-
label: e.next_payment,
|
|
78
|
-
name: "payment_due_at",
|
|
79
|
-
type: m.Date,
|
|
80
|
-
valueFormatter: (a) => {
|
|
81
|
-
const t = typeof a == "number" ? new Date(a * 1e3) : a;
|
|
82
|
-
return o(t, f.MED_MONTH_SHORT_DAY_FULL_YEAR);
|
|
83
|
-
}
|
|
84
|
-
}) : r.push({
|
|
85
|
-
label: e.day_payment_due,
|
|
86
|
-
name: "day_payment_is_due",
|
|
87
|
-
placeholder: i(e.enter_value, e.day_payment_due),
|
|
88
|
-
type: m.Date,
|
|
89
|
-
valueFormatter: (a) => i(
|
|
90
|
-
e.day_of_every_month,
|
|
91
|
-
S(a <= 31 ? a : new Date(a).getDate())
|
|
92
|
-
)
|
|
93
|
-
})), g(l) && r.push({
|
|
94
|
-
label: e.credit_limit,
|
|
95
|
-
name: "credit_limit",
|
|
96
|
-
placeholder: i(e.enter_value, e.credit_limit),
|
|
97
|
-
type: m.Currency,
|
|
98
|
-
valueFormatter: (a) => _(a, "0,0.00")
|
|
99
|
-
}), O(l) && r.push({
|
|
100
|
-
label: e.original_balance,
|
|
101
|
-
minAmount: 1,
|
|
102
|
-
name: "original_balance",
|
|
103
|
-
placeholder: i(e.enter_value, e.original_balance),
|
|
104
|
-
type: m.Currency,
|
|
105
|
-
valueFormatter: (a) => _(a, "0,0.00")
|
|
106
|
-
}), r;
|
|
107
|
-
}, C = (l, e) => {
|
|
108
|
-
let r = "", a = null, t = null, n = null, s = !1;
|
|
109
|
-
switch (l.account_type) {
|
|
110
|
-
case 1:
|
|
111
|
-
case 2: {
|
|
112
|
-
l.available_balance ? (r = e.available_balance, a = l.available_balance, t = l.available_balance ? e.current_balance : null, n = _(l.balance, "0,0.00"), s = !0) : (r = e.current_balance, a = l.balance);
|
|
113
|
-
break;
|
|
114
|
-
}
|
|
115
|
-
default:
|
|
116
|
-
if (r = e.current_balance, a = l.balance, l.minimum_payment && l.payment_due_at) {
|
|
117
|
-
const c = typeof l.payment_due_at == "number" ? new Date(l.payment_due_at * 1e3) : l.payment_due_at;
|
|
118
|
-
t = /* @__PURE__ */ u(y, { component: "strong", variant: "XSmall", children: i(
|
|
119
|
-
e.payment_due_on,
|
|
120
|
-
_(l.minimum_payment, "0,0.00"),
|
|
121
|
-
o(c, f.FULL_MONTH_DAY)
|
|
122
|
-
) });
|
|
123
|
-
} else l.credit_limit && (t = e.available_credit, n = _(l.credit_limit - (l?.balance ?? 0), "0,0.00"));
|
|
124
|
-
}
|
|
125
|
-
return {
|
|
126
|
-
firstSubtitle: r,
|
|
127
|
-
firstValue: a,
|
|
128
|
-
secondSubtitle: t,
|
|
129
|
-
secondValue: n,
|
|
130
|
-
hasAvailableBalance: s
|
|
131
|
-
};
|
|
132
|
-
}, B = (l, e) => l.reduce((a, t) => {
|
|
133
|
-
const s = C(t, e).firstValue || 0;
|
|
134
|
-
return a + s;
|
|
135
|
-
}, 0);
|
|
136
|
-
export {
|
|
137
|
-
x as a,
|
|
138
|
-
B as b,
|
|
139
|
-
C as g
|
|
140
|
-
};
|