@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
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { observer as s } from "mobx-react-lite";
|
|
3
|
+
import m from "@mui/material/Box";
|
|
4
|
+
import p from "@mui/material/IconButton";
|
|
5
|
+
import t from "@mui/material/InputAdornment";
|
|
6
|
+
import { TextField as d, Icon as n } from "@mxenabled/mxui";
|
|
7
|
+
const x = ({
|
|
8
|
+
ariaLabel: c = "Search",
|
|
9
|
+
cancelAriaLabel: a = "Cancel Search",
|
|
10
|
+
onChange: e,
|
|
11
|
+
placeholder: i = "Search",
|
|
12
|
+
searchValue: r
|
|
13
|
+
}) => /* @__PURE__ */ o(m, { className: "mx-cmn-search-box", px: 24, py: 16, children: /* @__PURE__ */ o(
|
|
14
|
+
d,
|
|
15
|
+
{
|
|
16
|
+
InputProps: {
|
|
17
|
+
startAdornment: /* @__PURE__ */ o(t, { position: "start", children: /* @__PURE__ */ o(n, { name: "search", size: 26, sx: { color: "action.active" } }) }),
|
|
18
|
+
endAdornment: /* @__PURE__ */ o(t, { position: "end", sx: { p: 0 }, children: r ? /* @__PURE__ */ o(
|
|
19
|
+
p,
|
|
20
|
+
{
|
|
21
|
+
"aria-label": a,
|
|
22
|
+
className: "mx-cat-cancel-search-button",
|
|
23
|
+
color: "primary",
|
|
24
|
+
onClick: () => e(""),
|
|
25
|
+
children: /* @__PURE__ */ o(n, { name: "cancel", size: 24 })
|
|
26
|
+
}
|
|
27
|
+
) : null }),
|
|
28
|
+
sx: {
|
|
29
|
+
"& .MuiOutlinedInput-notchedOutline": {
|
|
30
|
+
borderColor: "text.secondary",
|
|
31
|
+
opacity: 0.5
|
|
32
|
+
},
|
|
33
|
+
"& input::placeholder": { color: "text.secondary", opacity: 1 }
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"aria-label": c,
|
|
37
|
+
name: "search",
|
|
38
|
+
onChange: (l) => e(l.target.value),
|
|
39
|
+
placeholder: i,
|
|
40
|
+
sx: {
|
|
41
|
+
width: "100%"
|
|
42
|
+
},
|
|
43
|
+
value: r
|
|
44
|
+
}
|
|
45
|
+
) }), I = s(x);
|
|
46
|
+
export {
|
|
47
|
+
I as S
|
|
48
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { makeAutoObservable as N, runInAction as l } from "mobx";
|
|
2
|
-
import { F as D, A as r } from "./Fetch-
|
|
3
|
-
import {
|
|
4
|
-
import { T as m } from "./TransactionApi-
|
|
2
|
+
import { F as D, A as r } from "./Fetch-B6tMJC1r.mjs";
|
|
3
|
+
import { B as f, A as n, I as i } from "./Notification-DTNYSd8P.mjs";
|
|
4
|
+
import { T as m } from "./TransactionApi-Ck5Ua-7F.mjs";
|
|
5
5
|
class y {
|
|
6
6
|
fetchInstance;
|
|
7
7
|
constructor(e, t, o) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsxs as a, jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import l from "@mui/material/Box";
|
|
3
3
|
import D from "@mui/material/styles/useTheme";
|
|
4
|
-
const p = 48,
|
|
4
|
+
const p = 48, u = 4, S = ({
|
|
5
5
|
color: m = "",
|
|
6
6
|
percent: r = 0,
|
|
7
7
|
size: t = p,
|
|
8
|
-
strokeWidth: s =
|
|
8
|
+
strokeWidth: s = u,
|
|
9
9
|
children: i,
|
|
10
10
|
backgroundStrokeColor: c
|
|
11
11
|
}) => {
|
|
@@ -61,9 +61,9 @@ const p = 48, d = 4, y = ({
|
|
|
61
61
|
]
|
|
62
62
|
}
|
|
63
63
|
);
|
|
64
|
-
};
|
|
64
|
+
}, E = S;
|
|
65
65
|
export {
|
|
66
66
|
p as D,
|
|
67
|
-
|
|
68
|
-
|
|
67
|
+
E as S,
|
|
68
|
+
u as a
|
|
69
69
|
};
|
|
@@ -3,8 +3,8 @@ import { isBefore as d } from "date-fns/isBefore";
|
|
|
3
3
|
import { startOfMonth as _ } from "date-fns/startOfMonth";
|
|
4
4
|
import { subMonths as y } from "date-fns/subMonths";
|
|
5
5
|
import { endOfMonth as M } from "date-fns/endOfMonth";
|
|
6
|
-
import { b as a, P as l } from "./Category-
|
|
7
|
-
import { f as m, D as T } from "./DateFormats-
|
|
6
|
+
import { b as a, P as l } from "./Category-CevNQ03n.mjs";
|
|
7
|
+
import { f as m, D as T } from "./DateFormats-BMpMrZpW.mjs";
|
|
8
8
|
const i = (e) => (e.top_level_category_guid === a.INCOME || e.category_guid === a.INCOME) && !h(e), C = (e) => !i(e) && !f(e), p = (e) => l.includes(e.top_level_category_guid) || l.includes(e.category_guid), f = (e) => e.top_level_category_guid === a.TRANSFER || e.category_guid === a.TRANSFER, h = (e) => e.top_level_category_guid === a.INVESTMENTS || e.category_guid === a.INVESTMENTS, N = (e) => !i(e) && !p(e) && !f(e) && !h(e), w = (e) => e.filter((r) => r.category_guid === r.top_level_category_guid), F = (e, r) => {
|
|
9
9
|
if (r === 0) return 0;
|
|
10
10
|
const o = (e - r) / r;
|
|
@@ -45,9 +45,9 @@ export {
|
|
|
45
45
|
A as a,
|
|
46
46
|
x as b,
|
|
47
47
|
w as c,
|
|
48
|
-
|
|
48
|
+
i as d,
|
|
49
49
|
H as e,
|
|
50
50
|
F as f,
|
|
51
51
|
b as g,
|
|
52
|
-
i
|
|
52
|
+
C as i
|
|
53
53
|
};
|
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
import { b as _ } from "./CategoryUtil-BVixr0d5.mjs";
|
|
2
|
+
import { b as p } from "./Category-CevNQ03n.mjs";
|
|
3
|
+
import { jsxs as f, Fragment as N, jsx as d } from "react/jsx-runtime";
|
|
4
|
+
import T from "react";
|
|
5
|
+
import { observer as k } from "mobx-react-lite";
|
|
6
|
+
import S from "@mui/material/Box";
|
|
7
|
+
import M from "@mui/material/Button";
|
|
8
|
+
import h from "@mui/material/Stack";
|
|
9
|
+
import { useTheme as A } from "@mui/material/styles";
|
|
10
|
+
import { CategoryIcon as G, CategoryIconVariants as O, Text as y, P as $ } from "@mxenabled/mxui";
|
|
11
|
+
import { D as j } from "./Donut-CpxJlVvJ.mjs";
|
|
12
|
+
import { u as R } from "./useAriaLive-MkYebyUR.mjs";
|
|
13
|
+
import { u as v } from "./hooks-BxkfR-Ff.mjs";
|
|
14
|
+
import { u as V } from "./useScreenSize-B6JyS_Lj.mjs";
|
|
15
|
+
import { f as b } from "./NumberFormatting-QCaNwbjv.mjs";
|
|
16
|
+
const D = 5, B = (i, l, g, c) => c.reduce((o, n) => {
|
|
17
|
+
const a = i.find((s) => s.guid === n.category_guid);
|
|
18
|
+
if (!a) return o;
|
|
19
|
+
const t = a.parent_guid ?? a.guid, r = i.find((s) => s.guid === t);
|
|
20
|
+
if (!r) return o;
|
|
21
|
+
const m = {
|
|
22
|
+
guid: a.guid,
|
|
23
|
+
name: a.guid === t ? `${l.parent_category_totals_label_general} ${a.name}` : a.name,
|
|
24
|
+
color: _(r.guid, g),
|
|
25
|
+
amount: n.total
|
|
26
|
+
}, e = o.find((s) => s.guid === t);
|
|
27
|
+
return e ? (e.amount += n.total, e.categoryTotals?.push(m)) : o.push({
|
|
28
|
+
guid: t,
|
|
29
|
+
name: r.name,
|
|
30
|
+
color: _(r.guid, g),
|
|
31
|
+
categoryTotals: [m],
|
|
32
|
+
amount: n.total
|
|
33
|
+
}), o;
|
|
34
|
+
}, []), nt = (i, l, g, c) => {
|
|
35
|
+
const n = B(i, l, g, c).filter(
|
|
36
|
+
(e) => e.guid !== p.INCOME && e.guid !== p.INVESTMENTS && e.guid !== p.TRANSFER && e.amount > 0
|
|
37
|
+
).sort((e, s) => s.amount - e.amount), a = n.reduce(
|
|
38
|
+
(e, s) => e + s.amount,
|
|
39
|
+
0
|
|
40
|
+
), t = n.length > D ? D : n.length, r = n.slice(0, t), m = r.map((e) => ({
|
|
41
|
+
id: e.guid,
|
|
42
|
+
color: _(e.guid, g),
|
|
43
|
+
label: e.name,
|
|
44
|
+
value: e.amount / a * 100
|
|
45
|
+
}));
|
|
46
|
+
if (n.length > 5) {
|
|
47
|
+
const e = n.slice(D), s = e.reduce(
|
|
48
|
+
(C, u) => C + u.amount,
|
|
49
|
+
0
|
|
50
|
+
);
|
|
51
|
+
r.push({
|
|
52
|
+
guid: "other",
|
|
53
|
+
color: g.palette.categories.others || "",
|
|
54
|
+
name: l.saving_goal_other,
|
|
55
|
+
categoryTotals: e,
|
|
56
|
+
amount: s
|
|
57
|
+
}), m.push({
|
|
58
|
+
id: "other",
|
|
59
|
+
color: g.palette.categories.others || "",
|
|
60
|
+
label: l.saving_goal_other,
|
|
61
|
+
value: s / a * 100
|
|
62
|
+
});
|
|
63
|
+
}
|
|
64
|
+
return {
|
|
65
|
+
categoryData: r,
|
|
66
|
+
donutData: m,
|
|
67
|
+
totalAmount: a
|
|
68
|
+
};
|
|
69
|
+
}, et = (i, l, g) => {
|
|
70
|
+
const c = i.filter(
|
|
71
|
+
(t) => t.guid === p.INCOME || t.parent_guid === p.INCOME
|
|
72
|
+
), o = l.filter((t) => c.some((r) => r.guid === t.category_guid)).sort((t, r) => t.total - r.total).map((t, r) => ({
|
|
73
|
+
guid: t.category_guid,
|
|
74
|
+
name: i.find((m) => m.guid === t.category_guid)?.name,
|
|
75
|
+
color: g[r],
|
|
76
|
+
categoryTotals: [],
|
|
77
|
+
amount: Math.abs(t.total)
|
|
78
|
+
})), n = o.reduce(
|
|
79
|
+
(t, r) => t + r.amount,
|
|
80
|
+
0
|
|
81
|
+
), a = o.map((t) => ({
|
|
82
|
+
id: t.guid,
|
|
83
|
+
color: t.color,
|
|
84
|
+
label: t.name,
|
|
85
|
+
value: t.amount / n * 100
|
|
86
|
+
}));
|
|
87
|
+
return {
|
|
88
|
+
categoryData: o,
|
|
89
|
+
donutData: a,
|
|
90
|
+
totalAmount: n
|
|
91
|
+
};
|
|
92
|
+
}, P = ({
|
|
93
|
+
data: i,
|
|
94
|
+
isIncome: l = !1,
|
|
95
|
+
onSelected: g,
|
|
96
|
+
onViewTransactions: c,
|
|
97
|
+
selectedId: o,
|
|
98
|
+
size: n = 150,
|
|
99
|
+
totalLabel: a,
|
|
100
|
+
variant: t = "mini"
|
|
101
|
+
}) => {
|
|
102
|
+
const { spending: r } = v(), m = A(), { isTablet: e } = V(), { announce: s, ariaLive: C } = R(), u = T.useMemo(
|
|
103
|
+
() => o ? i.categoryData.find((x) => x.guid === o) : void 0,
|
|
104
|
+
[o]
|
|
105
|
+
);
|
|
106
|
+
T.useEffect(() => {
|
|
107
|
+
if (u) {
|
|
108
|
+
const x = b(u.amount, t === "mini" ? "0,0" : "0,0.00");
|
|
109
|
+
s(`${u.name}: ${x}`);
|
|
110
|
+
}
|
|
111
|
+
}, [u, s, t]);
|
|
112
|
+
const E = i.donutData.length > 0 ? i.donutData : [{ id: "0", color: m.palette.divider, value: 100 }], I = () => {
|
|
113
|
+
c?.(o);
|
|
114
|
+
}, w = e ? 32 : 48;
|
|
115
|
+
return /* @__PURE__ */ f(N, { children: [
|
|
116
|
+
C,
|
|
117
|
+
/* @__PURE__ */ d(j, { data: E, onClick: g, selectedId: o, size: n, children: /* @__PURE__ */ d(h, { alignItems: "center", height: "100%", justifyContent: "center", width: "100%", children: /* @__PURE__ */ f(h, { alignItems: "center", justifyContent: "center", minHeight: n, minWidth: n, children: [
|
|
118
|
+
u && /* @__PURE__ */ f(
|
|
119
|
+
h,
|
|
120
|
+
{
|
|
121
|
+
alignItems: "center",
|
|
122
|
+
gap: t === "mini" ? 0 : 8,
|
|
123
|
+
mb: t === "mini" ? 0 : 8,
|
|
124
|
+
mt: t === "mini" ? 0 : -16,
|
|
125
|
+
sx: t === "mini" ? { gap: 0, mb: 0 } : { gap: { xs: 4, xl: 8 }, mb: { xs: 4, xl: 8 } },
|
|
126
|
+
children: [
|
|
127
|
+
/* @__PURE__ */ d(S, { "aria-hidden": "true", role: "presentation", children: /* @__PURE__ */ d(
|
|
128
|
+
G,
|
|
129
|
+
{
|
|
130
|
+
categoryGuid: l ? p.INCOME : u.guid,
|
|
131
|
+
size: t === "mini" ? 24 : w,
|
|
132
|
+
variant: O.Transparent
|
|
133
|
+
}
|
|
134
|
+
) }),
|
|
135
|
+
/* @__PURE__ */ d(
|
|
136
|
+
y,
|
|
137
|
+
{
|
|
138
|
+
color: "text.secondary",
|
|
139
|
+
noWrap: !0,
|
|
140
|
+
variant: t === "mini" ? "tiny" : "body1",
|
|
141
|
+
children: u ? u.name : a
|
|
142
|
+
}
|
|
143
|
+
)
|
|
144
|
+
]
|
|
145
|
+
}
|
|
146
|
+
),
|
|
147
|
+
!u && t === "full" && /* @__PURE__ */ d(y, { bold: !0, color: "text.secondary", sx: { mb: { xs: 4, xl: 8 } }, children: a }),
|
|
148
|
+
/* @__PURE__ */ d($, { variant: t === "mini" ? "h2" : "h1", children: u ? b(u.amount, t === "mini" ? "0,0" : "0,0.00") : b(i.totalAmount, t === "mini" ? "0,0" : "0,0.00") }),
|
|
149
|
+
!u && t === "mini" && /* @__PURE__ */ d(y, { color: "text.secondary", noWrap: !0, variant: "tiny", children: a }),
|
|
150
|
+
t === "full" && /* @__PURE__ */ d(
|
|
151
|
+
M,
|
|
152
|
+
{
|
|
153
|
+
"aria-label": `View ${u?.name || ""} Transactions`,
|
|
154
|
+
disabled: i.categoryData.length === 0,
|
|
155
|
+
onClick: I,
|
|
156
|
+
sx: { mt: { xl: 4, xs: 0 }, zIndex: 1 },
|
|
157
|
+
variant: "text",
|
|
158
|
+
children: r.view_transactions
|
|
159
|
+
}
|
|
160
|
+
)
|
|
161
|
+
] }) }) })
|
|
162
|
+
] });
|
|
163
|
+
}, rt = k(P), at = ({ data: i, onSelected: l, selectedId: g }) => {
|
|
164
|
+
const c = (o, n) => {
|
|
165
|
+
(o.key === "Enter" || o.key === " ") && (o.preventDefault(), l(n));
|
|
166
|
+
};
|
|
167
|
+
return /* @__PURE__ */ d(h, { gap: 8, height: "100%", justifyContent: "center", my: "auto", children: i.categoryData.map((o) => /* @__PURE__ */ f(
|
|
168
|
+
h,
|
|
169
|
+
{
|
|
170
|
+
alignItems: "center",
|
|
171
|
+
"aria-label": o.name,
|
|
172
|
+
"aria-pressed": o.guid === g,
|
|
173
|
+
direction: "row",
|
|
174
|
+
gap: 8,
|
|
175
|
+
onClick: () => l(o.guid),
|
|
176
|
+
onKeyDown: (n) => c(n, o.guid),
|
|
177
|
+
role: "button",
|
|
178
|
+
sx: { cursor: "pointer" },
|
|
179
|
+
tabIndex: 0,
|
|
180
|
+
children: [
|
|
181
|
+
/* @__PURE__ */ d(S, { borderRadius: 4, height: 8, sx: { backgroundColor: o.color }, width: 8 }),
|
|
182
|
+
/* @__PURE__ */ d(y, { bold: o.guid === g, variant: "caption", children: o.name })
|
|
183
|
+
]
|
|
184
|
+
},
|
|
185
|
+
o.guid
|
|
186
|
+
)) });
|
|
187
|
+
};
|
|
188
|
+
export {
|
|
189
|
+
rt as S,
|
|
190
|
+
et as a,
|
|
191
|
+
at as b,
|
|
192
|
+
nt as g
|
|
193
|
+
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import i from "@mui/material/Box";
|
|
3
3
|
import p from "@mui/material/Stack";
|
|
4
|
-
const s = ({ data:
|
|
4
|
+
const s = ({ data: c, height: r = 8 }) => {
|
|
5
5
|
const o = `${r / 4}px`;
|
|
6
|
-
return /* @__PURE__ */
|
|
6
|
+
return /* @__PURE__ */ a(
|
|
7
7
|
p,
|
|
8
8
|
{
|
|
9
9
|
bgcolor: "divider",
|
|
@@ -12,7 +12,7 @@ const s = ({ data: a, height: r = 8 }) => {
|
|
|
12
12
|
gap: 2,
|
|
13
13
|
height: r,
|
|
14
14
|
width: "100%",
|
|
15
|
-
children:
|
|
15
|
+
children: c.map((t, d) => /* @__PURE__ */ a(
|
|
16
16
|
i,
|
|
17
17
|
{
|
|
18
18
|
bgcolor: t.color,
|
|
@@ -24,7 +24,7 @@ const s = ({ data: a, height: r = 8 }) => {
|
|
|
24
24
|
))
|
|
25
25
|
}
|
|
26
26
|
);
|
|
27
|
-
};
|
|
27
|
+
}, l = s;
|
|
28
28
|
export {
|
|
29
|
-
|
|
29
|
+
l as S
|
|
30
30
|
};
|
|
@@ -0,0 +1,264 @@
|
|
|
1
|
+
import { jsxs as n, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import u from "react";
|
|
3
|
+
import { observer as D } from "mobx-react-lite";
|
|
4
|
+
import { useVirtualizer as H } from "@tanstack/react-virtual";
|
|
5
|
+
import y from "@mui/material/Box";
|
|
6
|
+
import W from "@mui/material/Divider";
|
|
7
|
+
import B from "@mui/material/List";
|
|
8
|
+
import { G as K, h as E, u as R, g as P } from "./hooks-BxkfR-Ff.mjs";
|
|
9
|
+
import { MerchantLogo as Y, Icon as v, Text as l, P as Z, H2 as F } from "@mxenabled/mxui";
|
|
10
|
+
import q from "@mui/material/ListItemAvatar";
|
|
11
|
+
import J from "@mui/material/ListItemText";
|
|
12
|
+
import s from "@mui/material/Stack";
|
|
13
|
+
import { useTheme as Q } from "@mui/material/styles";
|
|
14
|
+
import { L as X, O as ee } from "./OnClickEvents-CseHDZ94.mjs";
|
|
15
|
+
import { T as te } from "./Transaction-Cn5_iFm0.mjs";
|
|
16
|
+
import { f as re } from "./NumberFormatting-QCaNwbjv.mjs";
|
|
17
|
+
import { Receipt as oe } from "@mxenabled/mx-icons";
|
|
18
|
+
import { fromUnixTime as w } from "date-fns/fromUnixTime";
|
|
19
|
+
import { isSameDay as z } from "date-fns/isSameDay";
|
|
20
|
+
import { h as ne } from "./DateUtil-wcYTmDRD.mjs";
|
|
21
|
+
import { L as ie } from "./Loader-D3rjKx72.mjs";
|
|
22
|
+
import { A as se } from "./Analytics-BYItVAe-.mjs";
|
|
23
|
+
const C = () => {
|
|
24
|
+
if (!u.useContext(K))
|
|
25
|
+
throw new Error("useTransactionsUiStore() must be used within the GlobalDataContext");
|
|
26
|
+
return E().uiStore;
|
|
27
|
+
};
|
|
28
|
+
function ae() {
|
|
29
|
+
return window.opener && window.opener.location ? window.opener.location.toString() : document.referrer;
|
|
30
|
+
}
|
|
31
|
+
function ce(e) {
|
|
32
|
+
const r = ae().replace(/([^:]+:\/\/[^\/]+).*/, "$1"), o = window.parent || window.opener || !1;
|
|
33
|
+
return o && o.postMessage && r ? (o.postMessage(e, r), !0) : !1;
|
|
34
|
+
}
|
|
35
|
+
function le(e) {
|
|
36
|
+
return ce({
|
|
37
|
+
metadata: { beat_guid: e },
|
|
38
|
+
mx: !0,
|
|
39
|
+
type: "mx/moneyDashboard/insightOnTransaction"
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
const de = ({ transaction: e, onClick: r }) => {
|
|
43
|
+
const c = Q().palette.mode === "dark", { associatedBeats: p } = E(), { expandedSplits: h } = C(), { transactions: d } = R(), { showInsights: f } = C(), g = e.transaction_type === te.CREDIT, _ = u.useMemo(() => p.find((x) => x.associated_transaction_guid === e.guid), [p, e]);
|
|
44
|
+
return (
|
|
45
|
+
//TODO: implement common/components/ListItemRow.tsx
|
|
46
|
+
/* @__PURE__ */ n(
|
|
47
|
+
X,
|
|
48
|
+
{
|
|
49
|
+
clickEventName: ee.ON_TRANSACTION_LIST_ITEM_CLICK,
|
|
50
|
+
onClick: r ? () => r(e.guid) : void 0,
|
|
51
|
+
children: [
|
|
52
|
+
/* @__PURE__ */ t(q, { children: e.parent_guid && h.includes(e.parent_guid) ? /* @__PURE__ */ t(u.Fragment, {}) : /* @__PURE__ */ t(
|
|
53
|
+
Y,
|
|
54
|
+
{
|
|
55
|
+
categoryGuid: e.top_level_category_guid || "",
|
|
56
|
+
merchantGuid: e.merchant_guid || ""
|
|
57
|
+
}
|
|
58
|
+
) }),
|
|
59
|
+
/* @__PURE__ */ t(
|
|
60
|
+
J,
|
|
61
|
+
{
|
|
62
|
+
disableTypography: !0,
|
|
63
|
+
secondary: /* @__PURE__ */ n(s, { direction: "row", justifyContent: "space-between", children: [
|
|
64
|
+
/* @__PURE__ */ n(s, { alignItems: "center", direction: "row", gap: 4, children: [
|
|
65
|
+
e.is_flagged && /* @__PURE__ */ t(
|
|
66
|
+
v,
|
|
67
|
+
{
|
|
68
|
+
fill: !0,
|
|
69
|
+
name: "flag",
|
|
70
|
+
size: 16,
|
|
71
|
+
sx: { color: c ? "primary.main" : "warning.dark" }
|
|
72
|
+
}
|
|
73
|
+
),
|
|
74
|
+
e.is_hidden && /* @__PURE__ */ t(v, { name: "visibility_off", size: 16 }),
|
|
75
|
+
e.has_been_split && /* @__PURE__ */ t(v, { name: "call_split", size: 16 }),
|
|
76
|
+
/* @__PURE__ */ t(l, { variant: "caption", children: e.has_been_split ? d.split_transaction_category_label : e.category })
|
|
77
|
+
] }),
|
|
78
|
+
_ && f && /* @__PURE__ */ t(
|
|
79
|
+
l,
|
|
80
|
+
{
|
|
81
|
+
bold: !0,
|
|
82
|
+
color: "action.active",
|
|
83
|
+
onClick: (x) => {
|
|
84
|
+
x.stopPropagation(), x.preventDefault(), le(_.guid);
|
|
85
|
+
},
|
|
86
|
+
variant: "caption",
|
|
87
|
+
children: _.short_title
|
|
88
|
+
}
|
|
89
|
+
)
|
|
90
|
+
] }),
|
|
91
|
+
children: /* @__PURE__ */ n(s, { direction: "row", justifyContent: "space-between", sx: { gap: 8 }, children: [
|
|
92
|
+
/* @__PURE__ */ n(l, { bold: !0, variant: "body1", children: [
|
|
93
|
+
e.is_hidden && d.hide_trnx_cancel_hidden_note,
|
|
94
|
+
e.payee || e.description || e.feed_description
|
|
95
|
+
] }),
|
|
96
|
+
/* @__PURE__ */ n(
|
|
97
|
+
l,
|
|
98
|
+
{
|
|
99
|
+
bold: !0,
|
|
100
|
+
color: g ? "success.main" : "text.primary",
|
|
101
|
+
sx: { flexShrink: 0 },
|
|
102
|
+
variant: "body1",
|
|
103
|
+
children: [
|
|
104
|
+
g ? "+" : "",
|
|
105
|
+
re(e.amount, "0,0.00")
|
|
106
|
+
]
|
|
107
|
+
}
|
|
108
|
+
)
|
|
109
|
+
] })
|
|
110
|
+
}
|
|
111
|
+
)
|
|
112
|
+
]
|
|
113
|
+
}
|
|
114
|
+
)
|
|
115
|
+
);
|
|
116
|
+
}, ue = D(de), pe = ({
|
|
117
|
+
bgcolor: e = "background.default",
|
|
118
|
+
children: r
|
|
119
|
+
}) => /* @__PURE__ */ t(y, { display: "inline-block", sx: { bgcolor: e, py: 6, width: "100%" }, children: /* @__PURE__ */ t(l, { bold: !0, sx: { pl: 24 }, variant: "caption", children: r }) }), me = ({ showIcon: e = !0, showSubtitle: r = !0 }) => {
|
|
120
|
+
const { transactions: o } = R();
|
|
121
|
+
return /* @__PURE__ */ n(s, { alignItems: "center", gap: 12, height: "auto", mb: 24, mt: 24, children: [
|
|
122
|
+
e && /* @__PURE__ */ t(oe, { color: "action", sx: { fontSize: 32 } }),
|
|
123
|
+
/* @__PURE__ */ t(l, { bold: !0, color: "text.secondary", variant: "body2", children: o.zero_state_no_transactions }),
|
|
124
|
+
r && /* @__PURE__ */ t(l, { color: "text.secondary", variant: "caption", children: o.zero_state_there_are_no_transactions })
|
|
125
|
+
] });
|
|
126
|
+
}, he = D(me), k = (e, r) => {
|
|
127
|
+
const o = w(r[e].date), c = w(r[e - 1]?.date);
|
|
128
|
+
return !z(o, c);
|
|
129
|
+
}, fe = (e, r) => {
|
|
130
|
+
const o = w(r[e].date), c = w(r[e + 1]?.date);
|
|
131
|
+
return z(o, c);
|
|
132
|
+
}, A = 65, N = 32, ge = ({
|
|
133
|
+
bgcolor: e,
|
|
134
|
+
filter: r,
|
|
135
|
+
height: o = "calc(100dvh - 36px)",
|
|
136
|
+
loader: c = /* @__PURE__ */ t(ie, { label: "Loading", size: 40 }),
|
|
137
|
+
onClick: p,
|
|
138
|
+
showInsights: h = !1,
|
|
139
|
+
showLoader: d = !1,
|
|
140
|
+
showHiddenTransactions: f = !1,
|
|
141
|
+
transaction: g,
|
|
142
|
+
width: _ = "100%",
|
|
143
|
+
zeroState: x = /* @__PURE__ */ t(he, {})
|
|
144
|
+
}) => {
|
|
145
|
+
const { isLoading: S, sortedTransactions: I } = E(), m = u.useMemo(() => {
|
|
146
|
+
const i = r ? I.filter(r) : I, a = g ?? i;
|
|
147
|
+
return f ? a : a.filter((T) => !T.is_hidden);
|
|
148
|
+
}, [I, f]), { clearExpandedSplits: O, setShowInsights: G, toggleSplit: M } = C(), { onEvent: V } = P(), $ = (i) => {
|
|
149
|
+
const a = m.find((T) => T.guid === i);
|
|
150
|
+
if (a?.has_been_split) {
|
|
151
|
+
M(a.guid);
|
|
152
|
+
return;
|
|
153
|
+
}
|
|
154
|
+
V(se.ACCOUNT_DETAILS_CLICK_TRANSACTION, {
|
|
155
|
+
account_guid: a?.account_guid,
|
|
156
|
+
transaction_guid: i
|
|
157
|
+
}), p?.(i);
|
|
158
|
+
}, L = u.useRef(null), b = H({
|
|
159
|
+
count: m.length,
|
|
160
|
+
getScrollElement: () => L.current,
|
|
161
|
+
estimateSize: (i) => A + (k(i, m) ? N : 0),
|
|
162
|
+
overscan: 5
|
|
163
|
+
});
|
|
164
|
+
return u.useEffect(() => b.measure(), [m]), u.useEffect(() => G(h), [h]), u.useEffect(() => () => O(), []), /* @__PURE__ */ t(B, { component: "div", role: "list", sx: { width: _ }, children: /* @__PURE__ */ t(y, { height: o, overflow: "auto", ref: L, role: "presentation", width: _, children: /* @__PURE__ */ n(
|
|
165
|
+
y,
|
|
166
|
+
{
|
|
167
|
+
height: (
|
|
168
|
+
// set the height to auto when there are no transactions so the zero state isn't set to 0
|
|
169
|
+
b.getVirtualItems().length === 0 ? "auto" : b.getTotalSize()
|
|
170
|
+
),
|
|
171
|
+
position: "relative",
|
|
172
|
+
role: "presentation",
|
|
173
|
+
width: "100%",
|
|
174
|
+
children: [
|
|
175
|
+
(S || d) && c,
|
|
176
|
+
!S && !d && b.getVirtualItems().length === 0 && x,
|
|
177
|
+
!S && !d && b.getVirtualItems().length > 0 && b.getVirtualItems().map((i) => {
|
|
178
|
+
const a = m[i.index], T = k(i.index, m), U = fe(i.index, m), j = A + (T ? N : 0);
|
|
179
|
+
return /* @__PURE__ */ n(
|
|
180
|
+
y,
|
|
181
|
+
{
|
|
182
|
+
role: "listitem",
|
|
183
|
+
sx: {
|
|
184
|
+
height: j,
|
|
185
|
+
position: "absolute",
|
|
186
|
+
transform: `translateY(${i.start}px)`,
|
|
187
|
+
width: "100%",
|
|
188
|
+
bgcolor: "background.paper"
|
|
189
|
+
},
|
|
190
|
+
children: [
|
|
191
|
+
T && /* @__PURE__ */ t(pe, { bgcolor: e, children: ne(a.date) }),
|
|
192
|
+
/* @__PURE__ */ t(
|
|
193
|
+
ue,
|
|
194
|
+
{
|
|
195
|
+
...p && { onClick: $ },
|
|
196
|
+
transaction: a
|
|
197
|
+
}
|
|
198
|
+
),
|
|
199
|
+
/* @__PURE__ */ t(W, { sx: { ml: U ? 68 : 0 } })
|
|
200
|
+
]
|
|
201
|
+
},
|
|
202
|
+
a.guid
|
|
203
|
+
);
|
|
204
|
+
})
|
|
205
|
+
]
|
|
206
|
+
}
|
|
207
|
+
) }) });
|
|
208
|
+
}, Ue = D(ge), _e = ({
|
|
209
|
+
amount: e,
|
|
210
|
+
borderRadius: r = "2px",
|
|
211
|
+
completeColor: o = "success.main",
|
|
212
|
+
icon: c,
|
|
213
|
+
label: p,
|
|
214
|
+
leftLabel: h,
|
|
215
|
+
percentComplete: d = 0,
|
|
216
|
+
rightLabel: f,
|
|
217
|
+
sx: g
|
|
218
|
+
}) => /* @__PURE__ */ t(s, { sx: { p: 24, width: "100%", ...g }, children: /* @__PURE__ */ n(s, { className: "details-container", sx: { gap: 16 }, children: [
|
|
219
|
+
/* @__PURE__ */ n(s, { sx: { alignItems: "center", flexDirection: "row", gap: 12 }, children: [
|
|
220
|
+
/* @__PURE__ */ t(y, { children: c }),
|
|
221
|
+
/* @__PURE__ */ n(s, { children: [
|
|
222
|
+
/* @__PURE__ */ t(Z, { variant: "body2", children: p }),
|
|
223
|
+
typeof e == "string" ? /* @__PURE__ */ t(F, { children: e }) : e
|
|
224
|
+
] })
|
|
225
|
+
] }),
|
|
226
|
+
/* @__PURE__ */ n(s, { sx: { gap: 4 }, children: [
|
|
227
|
+
/* @__PURE__ */ t(
|
|
228
|
+
s,
|
|
229
|
+
{
|
|
230
|
+
sx: {
|
|
231
|
+
bgcolor: "divider",
|
|
232
|
+
borderRadius: r,
|
|
233
|
+
flexDirection: "row",
|
|
234
|
+
height: 16,
|
|
235
|
+
width: "100%"
|
|
236
|
+
},
|
|
237
|
+
children: /* @__PURE__ */ t(
|
|
238
|
+
y,
|
|
239
|
+
{
|
|
240
|
+
sx: {
|
|
241
|
+
bgcolor: o,
|
|
242
|
+
borderRadius: r,
|
|
243
|
+
height: 16,
|
|
244
|
+
width: `${d}%`
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
)
|
|
248
|
+
}
|
|
249
|
+
),
|
|
250
|
+
/* @__PURE__ */ n(s, { sx: { flexDirection: "row", justifyContent: "space-between" }, children: [
|
|
251
|
+
/* @__PURE__ */ t(l, { variant: "body2", children: h }),
|
|
252
|
+
/* @__PURE__ */ t(l, { variant: "body2", children: f })
|
|
253
|
+
] })
|
|
254
|
+
] })
|
|
255
|
+
] }) }), je = _e;
|
|
256
|
+
export {
|
|
257
|
+
pe as S,
|
|
258
|
+
Ue as T,
|
|
259
|
+
ue as a,
|
|
260
|
+
je as b,
|
|
261
|
+
fe as h,
|
|
262
|
+
k as s,
|
|
263
|
+
C as u
|
|
264
|
+
};
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
-
const
|
|
2
|
+
const b = ({
|
|
3
3
|
children: o,
|
|
4
4
|
index: t,
|
|
5
5
|
name: a,
|
|
6
|
-
value:
|
|
7
|
-
...
|
|
6
|
+
value: n,
|
|
7
|
+
...r
|
|
8
8
|
}) => /* @__PURE__ */ e(
|
|
9
9
|
"div",
|
|
10
10
|
{
|
|
11
11
|
"aria-labelledby": `${a}-tab-${t}`,
|
|
12
|
-
hidden:
|
|
12
|
+
hidden: n !== t,
|
|
13
13
|
id: `${a}-tabpanel-${t}`,
|
|
14
14
|
role: "tabpanel",
|
|
15
|
-
...
|
|
16
|
-
children:
|
|
15
|
+
...r,
|
|
16
|
+
children: n === t && o
|
|
17
17
|
}
|
|
18
|
-
);
|
|
18
|
+
), i = b;
|
|
19
19
|
export {
|
|
20
|
-
|
|
20
|
+
i as T
|
|
21
21
|
};
|