@mx-cartographer/experiences 9.0.0-alpha.mega1 → 9.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +676 -9
- package/README.md +216 -47
- package/dist/{Account-CMjOp7S2.mjs → Account-BaJmiJAG.mjs} +4 -4
- package/dist/{Account-BIKn4XEZ.mjs → Account-BxHMlV9R.mjs} +1 -1
- package/dist/AccountDetailsHeader-DIysk_4w.mjs +95 -0
- package/dist/AccountFields-mwJ8NXsX.mjs +141 -0
- package/dist/AccountListItem-BDXHs4tV.mjs +94 -0
- package/dist/AccountUtils-T5_Odvos.mjs +27 -0
- package/dist/Accounts-CseLC3lL.mjs +5 -0
- package/dist/Analytics-CkYXKvco.mjs +53 -0
- package/dist/Analytics-CzGzz_sE.mjs +136 -0
- package/dist/ApiEndpoints-DXwIYNUV.mjs +49 -0
- package/dist/BudgetUtil-Bg2AQJpQ.mjs +74 -0
- package/dist/{Category-Ccoew_sA.mjs → Category-DEKZGLYe.mjs} +3 -3
- package/dist/{CategorySelectorDrawer-C4aZYP4N.mjs → CategorySelectorDrawer-CmaDLhnf.mjs} +131 -119
- package/dist/Connect-Dk6GZEsA.mjs +39 -0
- package/dist/ConnectCard-CCep7Zqe.mjs +54 -0
- package/dist/ConnectDrawer-Cnjr3Ddg.mjs +58 -0
- package/dist/{ConnectionsDrawer-BExzgE16.mjs → ConnectionsDrawer-CtfPXk0M.mjs} +13 -12
- package/dist/CurrencyDialog-DumQCTPO.mjs +373 -0
- package/dist/CurrencyInput-adTIRtL3.mjs +87 -0
- package/dist/{CurrencyText-C-85TnUF.mjs → CurrencyText-CCbE6MmF.mjs} +1 -1
- package/dist/DateFormats-HudZ3Bjs.mjs +64 -0
- package/dist/DateUtil-Bhq59ZVg.mjs +58 -0
- package/dist/DebtUtils-DD3186U-.mjs +153 -0
- package/dist/Dialog-CwWc0AbH.mjs +63 -0
- package/dist/Donut-SzzfZDHF.mjs +88 -0
- package/dist/{Drawer-Bet2ZPJo.mjs → Drawer-BXqqBMxg.mjs} +32 -34
- package/dist/EmbeddedCard-DPwJjqMH.mjs +856 -0
- package/dist/{EmptyState-DoxNUae-.mjs → EmptyState-CJUDc3kD.mjs} +21 -22
- package/dist/Error-Dogaw2jO.mjs +84 -0
- package/dist/ErrorBoundary-CsdOcnJ9.mjs +23 -0
- package/dist/{ExportCsvAction-oG_Mn66T.mjs → ExportCsvAction-Bw02ZJEj.mjs} +6 -6
- package/dist/GlobalAccountFilter-7Cg2-9A5.mjs +237 -0
- package/dist/GlobalCopyApi-wcnDUzMV.mjs +128 -0
- package/dist/GoalsUtil-C9EnLWvC.mjs +107 -0
- package/dist/HeaderCell-P8w6CmfO.mjs +6 -0
- package/dist/{Help-c-zHlDbv.mjs → Help-CkQTjORd.mjs} +6 -27
- package/dist/{Help-BW_ar-4B.mjs → Help-DJ8PrVHX.mjs} +594 -562
- package/dist/InformationTooltip-4su8bn1e.mjs +41 -0
- package/dist/{InvestmentUtil-jOyOgzIB.mjs → InvestmentUtil-BItV7uEs.mjs} +17 -17
- package/dist/LineChart-CejWS_rh.mjs +612 -0
- package/dist/{ListItemAction-Cbr3417C.mjs → ListItemAction-CwspSmQi.mjs} +26 -26
- package/dist/ListItemRow-kH1rn8Xu.mjs +67 -0
- package/dist/ListItemWrapper-B5r-YQQ_.mjs +42 -0
- package/dist/Loader-CxeBwuPG.mjs +21 -0
- package/dist/Localization-DnoVyBNK.mjs +38 -0
- package/dist/ManageIncome-B1JfqslT.mjs +595 -0
- package/dist/{MicroWidgetContainer-DSyYwRCU.mjs → MicroWidgetContainer-CfKdQfhi.mjs} +2 -2
- package/dist/MiniWidgetContainer-BdPiUU-u.mjs +66 -0
- package/dist/NetWorthUtils-DilGN1nW.mjs +95 -0
- package/dist/Notification-DTNYSd8P.mjs +7 -0
- package/dist/{NotificationSettings-e789PcRb.mjs → NotificationSettings-6p-h5phZ.mjs} +143 -142
- package/dist/NotificationUtils-BRGFTePr.mjs +23 -0
- package/dist/{NumberFormatting-DjTD0t3W.mjs → NumberFormatting--XMeeBfr.mjs} +2 -1
- package/dist/OriginalBalanceAction-CkJPnp2c.mjs +114 -0
- package/dist/{RecurringSettings-BpCUcE8w.mjs → RecurringSettings-cm6MK_aS.mjs} +4 -4
- package/dist/RecurringTransactionsUtil-B3rLEx_g.mjs +253 -0
- package/dist/{ResponsiveButton-C6KH8JH4.mjs → ResponsiveButton-CC9F_Ezk.mjs} +4 -4
- package/dist/SearchBox-Cpgu_gdO.mjs +50 -0
- package/dist/Select-BFt-HD-L.mjs +55 -0
- package/dist/SelectionBox-B4xELRgp.mjs +48 -0
- package/dist/{SingleSegmentDonut-PsRQPkmV.mjs → SingleSegmentDonut-7Uy6VEld.mjs} +1 -1
- package/dist/Sizes-DISGrlUg.mjs +6 -0
- package/dist/{SpendingData-B7NuTQ9s.mjs → SpendingData-PKlh8caU.mjs} +6 -6
- package/dist/SpendingLegend-5Ct_FZ8o.mjs +193 -0
- package/dist/ToggleListItem-Dl1lXNwj.mjs +91 -0
- package/dist/TransactionDetails-C3dlAzYf.mjs +1714 -0
- package/dist/TransactionUtils-BphBJBbU.mjs +234 -0
- package/dist/TrendsUtil-D9z3kIj_.mjs +69 -0
- package/dist/UserStore-CRpKQjpP.mjs +3002 -0
- package/dist/ViewMoreMicroCard-BD_MNc2z.mjs +1295 -0
- package/dist/WidgetContainer-DNuz_s7W.mjs +479 -0
- package/dist/accounts/AccountsMiniWidget.d.ts +1 -1
- package/dist/accounts/AccountsWidget.d.ts +1 -1
- package/dist/accounts/components/AccountListItem.d.ts +1 -1
- package/dist/accounts/components/AccountsListCompact.d.ts +1 -1
- package/dist/accounts/components/detailsdrawer/Accounts/AccountActionsRow.d.ts +1 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsChart.d.ts +1 -1
- package/dist/accounts/hooks/useGetMergeableAccounts.d.ts +1 -1
- package/dist/accounts/hooks/useUiStore.d.ts +6 -1
- package/dist/accounts/index.d.ts +0 -2
- package/dist/accounts/index.es.js +628 -527
- package/dist/accounts/utils/AccountDetails.d.ts +1 -1
- package/dist/accounts/utils/AccountFields.d.ts +3 -3
- package/dist/analytics/index.es.js +93 -112
- package/dist/budgets/BubbleBudgetsMiniWidget.d.ts +1 -1
- package/dist/budgets/BubbleBudgetsWidget.d.ts +1 -1
- package/dist/budgets/components/BubbleChart.d.ts +1 -1
- package/dist/budgets/components/BudgetDetailsDrawerV2.d.ts +11 -0
- package/dist/budgets/components/MerchantBudgetDetailsDrawer.d.ts +17 -0
- package/dist/budgets/components/addbudget/RecalculateBudgetRow.d.ts +1 -1
- package/dist/budgets/components/addbudget/UnbudgetedRow.d.ts +1 -1
- package/dist/budgets/components/bubblechart/Bubble.d.ts +1 -1
- package/dist/budgets/components/budgetdetails/AddSubBudget.d.ts +1 -1
- package/dist/budgets/components/budgetdetails/BudgetDetails.d.ts +1 -1
- package/dist/budgets/components/budgetdetails/Header.d.ts +1 -1
- package/dist/budgets/components/budgetdetails/SubBudgetList.d.ts +1 -1
- package/dist/budgets/components/budgetlist/BudgetRow.d.ts +1 -1
- package/dist/budgets/components/budgetlist/SubBudgetRow.d.ts +1 -1
- package/dist/budgets/components/shared/BudgetDetailsTopSection.d.ts +13 -0
- package/dist/budgets/index.d.ts +2 -1
- package/dist/budgets/index.es.js +989 -813
- package/dist/budgets/utils/BubblesSVG.d.ts +3 -3
- package/dist/cashflow/CashflowMiniWidget.d.ts +1 -1
- package/dist/cashflow/CashflowWidget.d.ts +1 -1
- package/dist/cashflow/components/DetailsExpenseRow.d.ts +1 -1
- package/dist/cashflow/context/hooks.d.ts +15 -1
- package/dist/cashflow/index.d.ts +0 -2
- package/dist/cashflow/index.es.js +461 -490
- package/dist/cashflow/util/Filters.d.ts +1 -1
- package/dist/categories/components/CategoryRow.d.ts +1 -1
- package/dist/categories/components/CustomCategories/AddSubcategory.d.ts +1 -1
- package/dist/categories/components/CustomCategories/DeleteSubcategory.d.ts +1 -1
- package/dist/categories/components/CustomCategories/RenameSubcategory.d.ts +1 -1
- package/dist/categories/components/SubcategoryList.d.ts +1 -1
- package/dist/categories/components/SubcategoryRow.d.ts +1 -1
- package/dist/categories/context/hooks.d.ts +19 -1
- package/dist/categories/index.d.ts +0 -1
- package/dist/categories/index.es.js +4 -6
- package/dist/common/components/CurrencyDialog.d.ts +19 -0
- package/dist/common/components/CurrencyInput.d.ts +1 -1
- package/dist/common/components/EmptyState.d.ts +0 -1
- package/dist/common/components/Error.d.ts +13 -0
- package/dist/common/components/GlobalAccountFilter.d.ts +3 -2
- package/dist/common/components/Loader.d.ts +1 -2
- package/dist/common/components/MiniWidgetContainer.d.ts +1 -0
- package/dist/common/components/TinyBarChart.d.ts +10 -0
- package/dist/common/components/WidgetContainer.d.ts +4 -3
- package/dist/common/components/WidgetDateRangeSelector.d.ts +12 -0
- package/dist/common/components/charts/LineChart.d.ts +1 -0
- package/dist/common/components/charts/index.d.ts +1 -0
- package/dist/common/components/charts/linechart/CustomTooltip.d.ts +2 -1
- package/dist/common/components/charts/linechart/utils/markerShapes.d.ts +3 -0
- package/dist/common/components/charts/stackedlinechart/CustomAreaTooltip.d.ts +1 -1
- package/dist/common/components/daterangeselector/DateRangeSelector.d.ts +1 -0
- package/dist/common/components/globalaccountfilter/GlobalAccountFilterList.d.ts +1 -1
- package/dist/common/components/index.d.ts +2 -1
- package/dist/common/constants/Account.d.ts +1 -1
- package/dist/common/constants/Analytics.d.ts +12 -0
- package/dist/common/constants/ScheduledPayment.d.ts +1 -10
- package/dist/common/constants/SpendingPlan.d.ts +0 -10
- package/dist/common/constants/index.d.ts +2 -6
- package/dist/common/context/GlobalDataProvider.d.ts +2 -1
- package/dist/common/context/hooks.d.ts +24 -24
- package/dist/common/hooks/index.d.ts +2 -0
- package/dist/common/hooks/useAccountDisplayName.d.ts +1 -1
- package/dist/common/hooks/useCombineEvents.d.ts +1 -1
- package/dist/common/hooks/usePrevious.d.ts +2 -0
- package/dist/common/hooks/useWidgetHeaderStyles.d.ts +34 -0
- package/dist/common/index.d.ts +3 -3
- package/dist/common/index.es.js +254 -1348
- package/dist/common/utils/AccountDisplayName.d.ts +1 -1
- package/dist/common/utils/AccountFilter.d.ts +2 -2
- package/dist/common/utils/Analytics.d.ts +1 -1
- package/dist/common/utils/PostMessage.d.ts +1 -0
- package/dist/common/utils/Theme.d.ts +7 -6
- package/dist/common/utils/index.d.ts +1 -6
- package/dist/{accounts → core}/api/AccountApi.d.ts +2 -2
- package/dist/{common → core}/api/AnalyticsApi.d.ts +1 -1
- package/dist/{common → core}/api/AppDataApi.d.ts +2 -2
- package/dist/{common → core}/api/BannerApi.d.ts +1 -1
- package/dist/{common → core}/api/BeatApi.d.ts +2 -2
- package/dist/{budgets → core}/api/BudgetsApi.d.ts +5 -1
- package/dist/{common → core}/api/CategoryApi.d.ts +2 -2
- package/dist/{finstrong → core}/api/FinstrongApi.d.ts +2 -2
- package/dist/{common → core}/api/GlobalCopyApi.d.ts +2 -2
- package/dist/{goals → core}/api/GoalApi.d.ts +2 -2
- package/dist/{help → core}/api/HelpApi.d.ts +2 -2
- package/dist/{investments → core}/api/HoldingApi.d.ts +2 -2
- package/dist/{merchants → core}/api/MerchantApi.d.ts +2 -2
- package/dist/{common → core}/api/NotificationApi.d.ts +2 -2
- package/dist/{recurringtransactions → core}/api/RepeatingTransactionsApi.d.ts +2 -1
- package/dist/{common → core}/api/ScheduledPaymentsApi.d.ts +2 -2
- package/dist/{settings → core}/api/SettingsApi.d.ts +2 -3
- package/dist/{transactions → core}/api/TransactionApi.d.ts +2 -2
- package/dist/{common → core}/api/UserApi.d.ts +2 -2
- package/dist/{common → core}/api/WidgetApi.d.ts +1 -1
- package/dist/core/api/index.d.ts +20 -0
- package/dist/{common → core}/constants/ApiEndpoints.d.ts +1 -2
- package/dist/{common → core}/constants/DefaultConfig.d.ts +1 -1
- package/dist/core/constants/Transaction.d.ts +10 -0
- package/dist/core/constants/index.d.ts +4 -0
- package/dist/core/constants/repeatingTransactions.d.ts +10 -0
- package/dist/core/index.d.ts +4 -0
- package/dist/core/index.es.js +108 -0
- package/dist/{accounts → core}/stores/AccountStore.d.ts +15 -3
- package/dist/{analytics → core}/stores/AnalyticsStore.d.ts +1 -1
- package/dist/{common → core}/stores/AppDataStore.d.ts +1 -2
- package/dist/{insights/store → core/stores}/BeatStore.d.ts +3 -3
- package/dist/{budgets/store → core/stores}/BudgetsStore.d.ts +15 -2
- package/dist/{cashflow/stores/UiStore.d.ts → core/stores/CashflowStore.d.ts} +10 -2
- package/dist/{categories → core}/stores/CategoryStore.d.ts +24 -2
- package/dist/{common → core}/stores/ConnectStore.d.ts +1 -1
- package/dist/core/stores/DebtsStore.d.ts +22 -0
- package/dist/{finstrong → core}/stores/FinstrongStore.d.ts +5 -4
- package/dist/{common → core}/stores/GlobalStore.d.ts +4 -25
- package/dist/{goals → core}/stores/GoalStore.d.ts +3 -2
- package/dist/{help/store → core/stores}/HelpStore.d.ts +4 -5
- package/dist/{investments → core}/stores/HoldingStore.d.ts +4 -3
- package/dist/{merchants → core}/stores/MerchantStore.d.ts +3 -2
- package/dist/{networth → core}/stores/NetWorthStore.d.ts +3 -3
- package/dist/{notifications → core}/stores/NotificationStore.d.ts +3 -1
- package/dist/{recurringtransactions → core}/stores/RecurringTransactionsStore.d.ts +3 -2
- package/dist/{settings → core}/stores/SettingsStore.d.ts +4 -4
- package/dist/{transactions → core}/stores/TransactionStore.d.ts +30 -4
- package/dist/{trends → core}/stores/TrendsStore.d.ts +11 -4
- package/dist/core/stores/index.d.ts +24 -0
- package/dist/{common → core}/types/Analytics.d.ts +6 -3
- package/dist/{common → core}/types/AppData.d.ts +8 -2
- package/dist/{common → core}/types/Beat.d.ts +2 -0
- package/dist/{common → core}/types/Budget.d.ts +8 -0
- package/dist/{common → core}/types/Client.d.ts +1 -0
- package/dist/{common → core}/types/Expense.d.ts +2 -1
- package/dist/{common → core}/types/Finstrong.d.ts +0 -2
- package/dist/{networth → core}/types/NetWorth.d.ts +1 -10
- package/dist/{common → core}/types/Notification.d.ts +15 -5
- package/dist/core/types/Offer.d.ts +32 -0
- package/dist/{common → core}/types/Widgets.d.ts +1 -0
- package/dist/{common → core}/types/index.d.ts +4 -3
- package/dist/{common → core}/types/localization/BudgetsCopy.d.ts +26 -0
- package/dist/{common → core}/types/localization/CashflowCopy.d.ts +1 -0
- package/dist/{common → core}/types/localization/CommonCopy.d.ts +3 -0
- package/dist/{common → core}/types/localization/DebtsCopy.d.ts +5 -0
- package/dist/{common → core}/types/localization/GoalsCopy.d.ts +0 -1
- package/dist/{common → core}/types/localization/InsightsFeedCopy.d.ts +11 -0
- package/dist/{common → core}/types/localization/RecurringCopy.d.ts +2 -0
- package/dist/{common → core}/types/localization/SpendingCopy.d.ts +1 -0
- package/dist/{common → core}/types/localization/TransactionsCopy.d.ts +11 -6
- package/dist/{common → core}/types/localization/TrendsCopy.d.ts +2 -0
- package/dist/{accounts/utils/Accounts.d.ts → core/utils/AccountUtils.d.ts} +2 -2
- package/dist/{microinsights/utils/beatUtils.d.ts → core/utils/BeatUtils.d.ts} +1 -1
- package/dist/{budgets → core}/utils/BudgetUtil.d.ts +7 -2
- package/dist/{categories/util → core/utils}/CategoryUtil.d.ts +6 -1
- package/dist/core/utils/DebtUtils.d.ts +31 -0
- package/dist/core/utils/FinstrongUtils.d.ts +7 -0
- package/dist/{goals/util → core/utils}/GoalsUtil.d.ts +1 -1
- package/dist/core/utils/HelpUtil.d.ts +3 -0
- package/dist/{investments/util → core/utils}/InvestmentUtil.d.ts +2 -2
- package/dist/{common → core}/utils/Localization.d.ts +9 -1
- package/dist/{networth → core}/utils/NetWorthUtils.d.ts +1 -2
- package/dist/{notifications → core}/utils/NotificationUtils.d.ts +2 -1
- package/dist/{common → core}/utils/NumberFormatting.d.ts +1 -1
- package/dist/{recurringtransactions/util/RecurringTransactions.d.ts → core/utils/RecurringTransactionsUtil.d.ts} +2 -2
- package/dist/{settings/util/Notifications.d.ts → core/utils/SettingsUtil.d.ts} +1 -1
- package/dist/{transactions/utils/buildDetailedTransactions.d.ts → core/utils/TransactionUtils.d.ts} +12 -2
- package/dist/{trends/utils/TrendsData.d.ts → core/utils/TrendsUtil.d.ts} +1 -1
- package/dist/core/utils/index.d.ts +2 -0
- package/dist/dashboard/index.es.js +39 -38
- package/dist/debts/DebtsWidget.d.ts +1 -1
- package/dist/debts/components/DebtsChart.d.ts +1 -1
- package/dist/debts/components/DebtsTable.d.ts +1 -1
- package/dist/debts/components/SnowballCard.d.ts +1 -1
- package/dist/debts/components/actions/DebtsPriorityAction.d.ts +6 -1
- package/dist/debts/components/actions/InterestRateAction.d.ts +1 -1
- package/dist/debts/components/actions/MonthlyPaymentAction.d.ts +1 -1
- package/dist/debts/components/actions/OriginalBalanceAction.d.ts +1 -1
- package/dist/debts/components/debtspaydown/PaydownButton.d.ts +2 -1
- package/dist/debts/components/debtspriority/DebtsPriorityButton.d.ts +3 -1
- package/dist/debts/hooks/useDebtsUiStore.d.ts +1 -1
- package/dist/debts/index.d.ts +0 -1
- package/dist/debts/index.es.js +715 -775
- package/dist/debts/utils/DebtsTable.d.ts +1 -1
- package/dist/debts/utils/SnowballCard.d.ts +2 -2
- package/dist/finstrong/FinstrongWidget.d.ts +2 -2
- package/dist/finstrong/components/HealthChart.d.ts +1 -1
- package/dist/finstrong/components/onboarding/OnboardingAddMonthlyIncome.d.ts +1 -1
- package/dist/finstrong/components/onboarding/OnboardingStepsDrawer.d.ts +1 -1
- package/dist/finstrong/components/shared/Accounts.d.ts +1 -1
- package/dist/finstrong/components/shared/DoubleBarChart.d.ts +1 -0
- package/dist/finstrong/components/shared/ScoreHistoryTimeline.d.ts +1 -1
- package/dist/finstrong/components/shared/Transactions.d.ts +1 -1
- package/dist/finstrong/index.d.ts +0 -2
- package/dist/finstrong/index.es.js +1587 -1349
- package/dist/finstrong/util/finstrongUtils.d.ts +3 -9
- package/dist/goals/GoalsWidget.d.ts +2 -2
- package/dist/goals/components/AccountSelectionDrawer.d.ts +1 -1
- package/dist/goals/components/AddGoal.d.ts +1 -1
- package/dist/goals/components/GoalDetails.d.ts +1 -1
- package/dist/goals/components/GoalDetailsDrawer.d.ts +1 -1
- package/dist/goals/components/GoalList.d.ts +1 -1
- package/dist/goals/components/GoalStatusCard.d.ts +1 -1
- package/dist/goals/components/ManageGoals.d.ts +1 -1
- package/dist/goals/components/actions/AccountAction.d.ts +1 -1
- package/dist/goals/components/actions/AddRetirementAccountAction.d.ts +1 -1
- package/dist/goals/components/actions/AmountToSaveAction.d.ts +1 -1
- package/dist/goals/components/actions/BirthdayAction.d.ts +1 -1
- package/dist/goals/components/actions/ChangeAccountAction.d.ts +1 -1
- package/dist/goals/components/actions/ContributionAction.d.ts +1 -1
- package/dist/goals/components/actions/GoalNameAction.d.ts +1 -1
- package/dist/goals/components/actions/InterestRateAction.d.ts +1 -1
- package/dist/goals/components/actions/MonthlyPaymentAction.d.ts +1 -1
- package/dist/goals/components/actions/OriginalBalanceAction.d.ts +1 -1
- package/dist/goals/components/actions/RetirementAgeAction.d.ts +1 -1
- package/dist/goals/components/addgoal/AddGoalListItem.d.ts +2 -2
- package/dist/goals/components/managegoals/CompleteListItem.d.ts +1 -1
- package/dist/goals/components/managegoals/OngoingListItem.d.ts +3 -2
- package/dist/goals/components/managegoals/ReorderGoals.d.ts +1 -1
- package/dist/goals/components/micro/GoalMicroStatusCard.d.ts +1 -1
- package/dist/goals/index.d.ts +0 -2
- package/dist/goals/index.es.js +707 -787
- package/dist/help/HelpWidget.d.ts +2 -2
- package/dist/help/components/HelpContent.d.ts +1 -1
- package/dist/help/components/HelpList.d.ts +1 -1
- package/dist/help/components/content/BottomImageContent.d.ts +1 -1
- package/dist/help/components/content/ContentItem.d.ts +1 -1
- package/dist/help/components/content/LeftImageContent.d.ts +1 -1
- package/dist/help/components/content/NoImageContent.d.ts +1 -1
- package/dist/help/components/content/RightImageContent.d.ts +1 -1
- package/dist/help/components/content/TopImageContent.d.ts +1 -1
- package/dist/help/components/content/section/Accounts.d.ts +1 -1
- package/dist/help/components/content/section/Budgets.d.ts +1 -1
- package/dist/help/components/content/section/CashFlow.d.ts +1 -1
- package/dist/help/components/content/section/Debts.d.ts +1 -1
- package/dist/help/components/content/section/General.d.ts +1 -1
- package/dist/help/components/content/section/Goals.d.ts +1 -1
- package/dist/help/components/content/section/Insights.d.ts +1 -1
- package/dist/help/components/content/section/Investments.d.ts +1 -1
- package/dist/help/components/content/section/Mobile.d.ts +1 -1
- package/dist/help/components/content/section/NetWorth.d.ts +1 -1
- package/dist/help/components/content/section/Notifications.d.ts +1 -1
- package/dist/help/components/content/section/RecurringTransactions.d.ts +1 -1
- package/dist/help/components/content/section/Spending.d.ts +1 -1
- package/dist/help/components/content/section/Transactions.d.ts +1 -1
- package/dist/help/components/content/section/Trends.d.ts +1 -1
- package/dist/help/components/content/section/index.d.ts +15 -15
- package/dist/help/components/requestsupport/ContactSupport.d.ts +1 -1
- package/dist/help/components/requestsupport/HelpByCategoryList.d.ts +1 -1
- package/dist/help/components/requestsupport/MissingInstitution.d.ts +1 -1
- package/dist/help/components/requestsupport/PopularTopicsDrawer.d.ts +1 -1
- package/dist/help/components/requestsupport/PopularTopicsList.d.ts +1 -1
- package/dist/help/components/requestsupport/RequestSupport.d.ts +1 -1
- package/dist/help/components/requestsupport/RequestSupportFooter.d.ts +1 -1
- package/dist/help/components/requestsupport/RequestSupportInstitution.d.ts +1 -1
- package/dist/help/components/requestsupport/SupportSuccessMessage.d.ts +1 -1
- package/dist/help/index.es.js +19 -10
- package/dist/help/utils/index.d.ts +0 -1
- package/dist/{hooks-fY_n74f7.mjs → hooks-BaO_gOI6.mjs} +23 -23
- package/dist/insights/components/feed/Header.d.ts +8 -0
- package/dist/insights/components/index.d.ts +53 -0
- package/dist/insights/components/insights/AccountDiscoverability/AccountDiscoverability.d.ts +3 -0
- package/dist/insights/components/insights/AccountDiscoverability/index.d.ts +1 -0
- package/dist/insights/components/insights/AccountDiscoverability/types/AccountDiscoverability.d.ts +3 -0
- package/dist/insights/components/insights/AmericanUpcomingTaxDeadlineAlert/AmericanUpcomingTaxDeadlineAlert.d.ts +2 -0
- package/dist/insights/components/insights/AmericanUpcomingTaxDeadlineAlert/index.d.ts +1 -0
- package/dist/insights/components/insights/AmericanUpcomingTaxDeadlineAlert/types/AmericanUpcomingTaxDeadlineProps.d.ts +4 -0
- package/dist/insights/components/insights/BillAmountNotStandard/BillAmountNotStandard.d.ts +3 -0
- package/dist/insights/components/insights/BillAmountNotStandard/BillAmountNotStandardMUI.d.ts +3 -0
- package/dist/insights/components/insights/BillAmountNotStandard/index.d.ts +2 -0
- package/dist/insights/components/insights/BillAmountNotStandard/types/BillAmountNotStandard.d.ts +4 -0
- package/dist/insights/components/insights/CashBack/CashBack.d.ts +3 -0
- package/dist/insights/components/insights/CashBack/index.d.ts +1 -0
- package/dist/insights/components/insights/CashBack/types/CashBack.d.ts +7 -0
- package/dist/insights/components/insights/CategoryBudget/CategoryBudget.d.ts +3 -0
- package/dist/insights/components/insights/CategoryBudget/index.d.ts +1 -0
- package/dist/insights/components/insights/CategoryBudget/types/CategoryBudget.d.ts +10 -0
- package/dist/insights/components/insights/CategorySpendingV2/CategorySpendingV2.d.ts +2 -0
- package/dist/insights/components/insights/CategorySpendingV2/CategorySpendingV2MUI.d.ts +2 -0
- package/dist/insights/components/insights/CategorySpendingV2/index.d.ts +2 -0
- package/dist/insights/components/insights/CategorySpendingV2/types/CategorySpendingV2.d.ts +7 -0
- package/dist/insights/components/insights/CelebrateCreditCardPayoff/CelebrateCreditCardPayoff.d.ts +3 -0
- package/dist/insights/components/insights/CelebrateCreditCardPayoff/index.d.ts +1 -0
- package/dist/insights/components/insights/CelebrateCreditCardPayoff/types/CelebrateCreditCardPayoffProps.d.ts +9 -0
- package/dist/insights/components/insights/CustomTransaction/CustomTransaction.d.ts +3 -0
- package/dist/insights/components/insights/CustomTransaction/index.d.ts +1 -0
- package/dist/insights/components/insights/DiscoveredAccounts/DiscoveredAccountsBody.d.ts +9 -0
- package/dist/insights/components/insights/DiscoveredAccounts/DiscoveredAccountsLearnMoreDrawerContent.d.ts +21 -0
- package/dist/insights/components/insights/DiscoveredAccounts/DiscoveredAccountsMiniInsight.d.ts +6 -0
- package/dist/insights/components/insights/DiscoveredAccounts/index.d.ts +3 -0
- package/dist/insights/components/insights/FederalBankHoliday/FederalBankHoliday.d.ts +3 -0
- package/dist/insights/components/insights/FederalBankHoliday/FederalBankHolidayMUI.d.ts +3 -0
- package/dist/insights/components/insights/FederalBankHoliday/index.d.ts +2 -0
- package/dist/insights/components/insights/FederalBankHoliday/types/FederalBankHoliday.d.ts +4 -0
- package/dist/insights/components/insights/MarketingHub/Offer.d.ts +3 -0
- package/dist/insights/components/insights/MarketingHub/Types.d.ts +33 -0
- package/dist/insights/components/insights/MarketingHub/index.d.ts +2 -0
- package/dist/insights/components/insights/MonthlyDebtToIncomeComparisonV2/MonthlyDebtToIncomeComparisonV2.d.ts +2 -0
- package/dist/insights/components/insights/MonthlyDebtToIncomeComparisonV2/index.d.ts +1 -0
- package/dist/insights/components/insights/MonthlyDebtToIncomeComparisonV2/types/index.d.ts +4 -0
- package/dist/insights/components/insights/MonthlyEmergencyFundReview/LastMonthsContributionSection.d.ts +6 -0
- package/dist/insights/components/insights/MonthlyEmergencyFundReview/MonthlyEmergencyFundReviewBody.d.ts +21 -0
- package/dist/insights/components/insights/MonthlyEmergencyFundReview/ProjectedCompletionSection.d.ts +6 -0
- package/dist/insights/components/insights/MonthlyEmergencyFundReview/TotalSection.d.ts +7 -0
- package/dist/insights/components/insights/MonthlyEmergencyFundReview/index.d.ts +4 -0
- package/dist/insights/components/insights/MonthlySavingsToIncomeComparison/MonthlySavingsToIncomeComparison.d.ts +2 -0
- package/dist/insights/components/insights/MonthlySavingsToIncomeComparison/index.d.ts +1 -0
- package/dist/insights/components/insights/MonthlySavingsToIncomeComparison/types/index.d.ts +4 -0
- package/dist/insights/components/insights/MonthlySpendToIncomeComparisonV2/MonthlySpendToIncomeComparisonV2.d.ts +2 -0
- package/dist/insights/components/insights/MonthlySpendToIncomeComparisonV2/index.d.ts +1 -0
- package/dist/insights/components/insights/MonthlySpendToIncomeComparisonV2/types/index.d.ts +4 -0
- package/dist/insights/components/insights/MonthlySpendingComparisonV2/MonthlySpendingComparisonV2.d.ts +3 -0
- package/dist/insights/components/insights/MonthlySpendingComparisonV2/__test__/MonthlySpendComparisonV2.test.d.ts +1 -0
- package/dist/insights/components/insights/MonthlySpendingComparisonV2/index.d.ts +1 -0
- package/dist/insights/components/insights/MonthlySpendingComparisonV2/types/MonthlySpendComparisonV2.d.ts +4 -0
- package/dist/insights/components/insights/P2pCategorization/P2pCategorization.d.ts +3 -0
- package/dist/insights/components/insights/P2pCategorization/_tests_/P2pCategorizationMultipleTransaction.test.d.ts +0 -0
- package/dist/insights/components/insights/P2pCategorization/_tests_/P2pCategorizationSingleTransaction.test.d.ts +0 -0
- package/dist/insights/components/insights/P2pCategorization/index.d.ts +4 -0
- package/dist/insights/components/insights/P2pCategorization/shared/P2pCategorizationMultipleTransactions.d.ts +3 -0
- package/dist/insights/components/insights/P2pCategorization/shared/P2pCategorizationSingleTransaction.d.ts +3 -0
- package/dist/insights/components/insights/P2pCategorization/types/P2pCategorization.d.ts +17 -0
- package/dist/insights/components/insights/SavingsAccountBalancesSummary/SavingsAccountBalancesSummary.d.ts +2 -0
- package/dist/insights/components/insights/SavingsAccountBalancesSummary/index.d.ts +1 -0
- package/dist/insights/components/insights/SavingsAccountBalancesSummary/types/SavingsAccountBalancesSummary.d.ts +4 -0
- package/dist/insights/components/insights/SetUpDirectDeposit/SetUpDirectDepositBody.d.ts +3 -0
- package/dist/insights/components/insights/SetUpDirectDeposit/index.d.ts +1 -0
- package/dist/insights/components/insights/SharedDeposit/SharedDeposit.d.ts +2 -0
- package/dist/insights/components/insights/SharedDeposit/index.d.ts +1 -0
- package/dist/insights/components/insights/SharedDeposit/types/index.d.ts +7 -0
- package/dist/insights/components/insights/SwitchDirectDeposit/AccountBox.d.ts +7 -0
- package/dist/insights/components/insights/SwitchDirectDeposit/SwitchDirectDepositBody.d.ts +10 -0
- package/dist/insights/components/insights/SwitchDirectDeposit/SwitchDirectDepositMainContainer.d.ts +9 -0
- package/dist/insights/components/insights/SwitchDirectDeposit/index.d.ts +3 -0
- package/dist/insights/components/insights/UnifiedDeposit/UnifiedDeposit.d.ts +7 -0
- package/dist/insights/components/insights/UnifiedDeposit/UnifiedDepositBody.d.ts +11 -0
- package/dist/insights/components/insights/UnifiedDeposit/index.d.ts +1 -0
- package/dist/insights/components/insights/UserFeedback/StyledToggleButton.d.ts +7 -0
- package/dist/insights/components/insights/UserFeedback/Types.d.ts +27 -0
- package/dist/insights/components/insights/UserFeedback/UserFeedback.d.ts +3 -0
- package/dist/insights/components/insights/UserFeedback/index.d.ts +1 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/BubbleWeek.d.ts +9 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/NoSpendIcons.d.ts +1 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/WeeklyNoSpendDays.d.ts +12 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/_tests_/WeeklyNoSpendDays.test.d.ts +0 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/index.d.ts +1 -0
- package/dist/insights/components/insights/index.d.ts +25 -0
- package/dist/insights/components/shared/AccountBalanceCard.d.ts +13 -0
- package/dist/insights/components/shared/BottomSheet.d.ts +13 -0
- package/dist/insights/components/shared/CarouselControls.d.ts +14 -0
- package/dist/insights/components/shared/ChartDrawerTemplate/ChartDrawerTemplate.d.ts +30 -0
- package/dist/insights/components/shared/ChartDrawerTemplate/TipSection.d.ts +9 -0
- package/dist/insights/components/shared/ChartTransactionWithDrillDown.d.ts +22 -0
- package/dist/insights/components/shared/Charts/BarChart/BarChart.d.ts +2 -0
- package/dist/insights/components/shared/Charts/BarChart/BarChartV2.d.ts +2 -0
- package/dist/insights/components/shared/Charts/BarChart/ChartLegend.d.ts +9 -0
- package/dist/insights/components/shared/Charts/BarChart/ChartLegendV2.d.ts +10 -0
- package/dist/insights/components/shared/Charts/BarChart/CustomBarPlot.d.ts +18 -0
- package/dist/insights/components/shared/Charts/BarChart/CustomBarPlotV2.d.ts +18 -0
- package/dist/insights/components/shared/Charts/BarChart/CustomDoubleBarPlot.d.ts +18 -0
- package/dist/insights/components/shared/Charts/BarChart/CustomDoubleBarPlotMXUI.d.ts +18 -0
- package/dist/insights/components/shared/Charts/BarChart/DoubleBarChart.d.ts +2 -0
- package/dist/insights/components/shared/Charts/BarChart/DoubleBarChartLegend.d.ts +10 -0
- package/dist/insights/components/shared/Charts/BarChart/DoubleBarChartLegendMXUI.d.ts +10 -0
- package/dist/insights/components/shared/Charts/BarChart/DoubleBarChartMXUI.d.ts +2 -0
- package/dist/insights/components/shared/Charts/BarChart/index.d.ts +4 -0
- package/dist/insights/components/shared/Charts/EmptyBarChart.d.ts +1 -0
- package/dist/insights/components/shared/Charts/index.d.ts +2 -0
- package/dist/insights/components/shared/Confetti.d.ts +5 -0
- package/dist/insights/components/shared/ConnectionCard.d.ts +14 -0
- package/dist/insights/components/shared/ConnectionDetailDrillDown.d.ts +25 -0
- package/dist/insights/components/shared/Coupon.d.ts +8 -0
- package/dist/insights/components/shared/DeepLinks/DeepLinkDialog.d.ts +11 -0
- package/dist/insights/components/shared/DeepLinks/DirectDeposit/Circle.d.ts +6 -0
- package/dist/insights/components/shared/DeepLinks/DirectDeposit/DirectDepositDeepLink.d.ts +24 -0
- package/dist/insights/components/shared/DeepLinks/DirectDeposit/Dot.d.ts +1 -0
- package/dist/insights/components/shared/DeepLinks/DirectDeposit/Oval.d.ts +1 -0
- package/dist/insights/components/shared/DirectDeposit/DirectDeposit.d.ts +3 -0
- package/dist/insights/components/shared/DirectDeposit/DirectDepositSubHeader.d.ts +14 -0
- package/dist/insights/components/shared/DirectDeposit/FullFeedBodyHeader.d.ts +10 -0
- package/dist/insights/components/shared/DirectDeposit/LeftBox.d.ts +7 -0
- package/dist/insights/components/shared/DirectDeposit/MiniBodyHeader.d.ts +10 -0
- package/dist/insights/components/shared/DirectDeposit/RightBox.d.ts +8 -0
- package/dist/insights/components/shared/DiscoveredAccountsConnect.d.ts +8 -0
- package/dist/insights/components/shared/DonutChartV2.d.ts +13 -0
- package/dist/insights/components/shared/DrillDownCalculation/BalanceStepper.d.ts +12 -0
- package/dist/insights/components/shared/DrillDownCalculation/DrillDownCalculation.d.ts +31 -0
- package/dist/insights/components/shared/ErrorCard/ErrorCard.d.ts +8 -0
- package/dist/insights/components/shared/GenericFeedback/FeedbackButtons.d.ts +15 -0
- package/dist/insights/components/shared/GenericFeedback/FeedbackDescription.d.ts +5 -0
- package/dist/insights/components/shared/GenericFeedback/FeedbackHeader.d.ts +15 -0
- package/dist/insights/components/shared/GenericFeedback/FeedbackOptions.d.ts +12 -0
- package/dist/insights/components/shared/GenericFeedback/FeedbackText.d.ts +13 -0
- package/dist/insights/components/shared/GoalProgress.d.ts +10 -0
- package/dist/insights/components/shared/GradientBox.d.ts +8 -0
- package/dist/insights/components/shared/InsightsCard/BeatCard.d.ts +20 -0
- package/dist/insights/components/shared/InsightsCard/BeatCardMUI.d.ts +20 -0
- package/dist/insights/components/shared/InsightsCard/CardButtonSection.d.ts +7 -0
- package/dist/insights/components/shared/InsightsCard/CardError.d.ts +5 -0
- package/dist/insights/components/shared/InsightsCard/CardFooter.d.ts +7 -0
- package/dist/insights/components/shared/InsightsCard/CardHeader.d.ts +11 -0
- package/dist/insights/components/shared/InsightsCard/CardHeaderMUI.d.ts +11 -0
- package/dist/insights/components/shared/InsightsCard/CardLoading.d.ts +5 -0
- package/dist/insights/components/shared/InsightsCard/ClientConfigurableCta.d.ts +5 -0
- package/dist/insights/components/shared/InsightsCard/ContentAndDescription.d.ts +15 -0
- package/dist/insights/components/shared/InsightsCard/ContentAndDescriptionMUI.d.ts +15 -0
- package/dist/insights/components/shared/InsightsCard/Description.d.ts +10 -0
- package/dist/insights/components/shared/InsightsCard/DescriptionMUI.d.ts +10 -0
- package/dist/insights/components/shared/InsightsCard/EmbeddedCard.d.ts +9 -0
- package/dist/insights/components/shared/InsightsCard/FeedbackCard.d.ts +13 -0
- package/dist/insights/components/shared/InsightsCard/InsightButton.d.ts +12 -0
- package/dist/insights/components/shared/InsightsCard/MiniDescription.d.ts +9 -0
- package/dist/insights/components/shared/InsightsCard/MiniDescriptionMUI.d.ts +9 -0
- package/dist/insights/components/shared/MenuAction.d.ts +15 -0
- package/dist/insights/components/shared/MiniInsightCard.d.ts +16 -0
- package/dist/insights/components/shared/P2P/P2PMultipleCategorization.d.ts +12 -0
- package/dist/insights/components/shared/P2PCategorizationSingleAccount/P2PCategorizationSingleAccount.d.ts +10 -0
- package/dist/insights/components/shared/ProgressBar.d.ts +9 -0
- package/dist/insights/components/shared/SaveAnExtra100/SaveAnExtra100.d.ts +9 -0
- package/dist/insights/components/shared/SaveEnoughToLiveOnBottomSection.d.ts +11 -0
- package/dist/insights/components/shared/SaveEnoughToLiveOnTopSection.d.ts +2 -0
- package/dist/insights/components/shared/StatusIndicator.d.ts +15 -0
- package/dist/insights/components/shared/TabContainer.d.ts +8 -0
- package/dist/insights/components/shared/ThemedSVGImage.d.ts +2 -0
- package/dist/insights/components/shared/TransactionCard.d.ts +14 -0
- package/dist/insights/components/shared/ZeroState/LinedCardZeroState.d.ts +1 -0
- package/dist/insights/components/shared/index.d.ts +2 -0
- package/dist/insights/hooks/useContainerDimensions.d.ts +5 -0
- package/dist/insights/index.d.ts +1 -1
- package/dist/insights/index.es.js +4843 -2
- package/dist/insights/themes/Typography.d.ts +1 -0
- package/dist/insights/themes/index.d.ts +1 -0
- package/dist/insights/types/Charts/BarChart.d.ts +96 -0
- package/dist/insights/types/CommonBeat.d.ts +367 -0
- package/dist/insights/types/DirectDeposit.d.ts +16 -0
- package/dist/insights/types/ThemedSVGImage.d.ts +5 -0
- package/dist/investments/InvestmentsWidget.d.ts +2 -2
- package/dist/investments/components/AnalysisDetails.d.ts +1 -1
- package/dist/investments/components/allocation/util/createInvestementsAllocationData.d.ts +2 -2
- package/dist/investments/index.es.js +574 -574
- package/dist/merchants/index.d.ts +0 -1
- package/dist/merchants/index.es.js +18 -20
- package/dist/microinsights/InsightsMicroWidget.d.ts +1 -14
- package/dist/microinsights/MicroCardTemplate.d.ts +2 -4
- package/dist/microinsights/beaticons/AreaChartIcon.d.ts +3 -0
- package/dist/microinsights/beaticons/AverageSpendComparisonIcon.d.ts +3 -0
- package/dist/microinsights/beaticons/BeatMaterialIcon.d.ts +5 -1
- package/dist/microinsights/beaticons/InstitutionLogoIcon.d.ts +5 -0
- package/dist/microinsights/beaticons/MonthlySpendComparisonIcon.d.ts +0 -2
- package/dist/microinsights/beaticons/index.d.ts +3 -0
- package/dist/microinsights/cards/InsightCard.d.ts +3 -3
- package/dist/microinsights/cards/NoRelevantInsightsCard.d.ts +3 -3
- package/dist/microinsights/cards/ViewMoreMicroCard.d.ts +3 -3
- package/dist/microinsights/cards/ZeroStateCard.d.ts +3 -3
- package/dist/microinsights/carousel/BeatList.d.ts +3 -3
- package/dist/microinsights/carousel/CarouselHeader.d.ts +4 -2
- package/dist/microinsights/carousel/MicroBeatCarousel.d.ts +12 -12
- package/dist/microinsights/constants/Analytics.d.ts +1 -1
- package/dist/microinsights/context/InsightsMicroWidgetDataProvider.d.ts +1 -1
- package/dist/microinsights/context/hooks.d.ts +1 -1
- package/dist/microinsights/index.d.ts +1 -1
- package/dist/microinsights/index.es.js +1 -1
- package/dist/microinsights/interfaces.d.ts +23 -40
- package/dist/microinsights/stores/CopyStore.d.ts +2 -2
- package/dist/microinsights/stores/InsightsMicroWidgetStore.d.ts +2 -2
- package/dist/microinsights/utils/DataSeries.d.ts +1 -1
- package/dist/microinsights/utils/colorType.d.ts +22 -0
- package/dist/networth/NetWorthWidget.d.ts +1 -1
- package/dist/networth/components/AssetsLiabilitiesDetail.d.ts +1 -1
- package/dist/networth/components/GainsLossesDetail.d.ts +1 -1
- package/dist/networth/components/NetWorthChange.d.ts +1 -1
- package/dist/networth/components/NetWorthListItem.d.ts +1 -1
- package/dist/networth/components/NetWorthSummary.d.ts +1 -1
- package/dist/networth/components/micro/NetworthData.d.ts +1 -1
- package/dist/networth/components/micro/ZeroState.d.ts +1 -1
- package/dist/networth/index.d.ts +0 -4
- package/dist/networth/index.es.js +302 -314
- package/dist/notifications/components/NotificationBadge.d.ts +1 -1
- package/dist/notifications/components/NotificationCard.d.ts +1 -1
- package/dist/notifications/components/NotificationDrawer.d.ts +1 -1
- package/dist/notifications/components/NotificationList.d.ts +2 -1
- package/dist/notifications/index.d.ts +0 -2
- package/dist/notifications/index.es.js +101 -93
- package/dist/recurringtransactions/RecurringTransactionsMiniWidget.d.ts +1 -1
- package/dist/recurringtransactions/RecurringTransactionsWidget.d.ts +2 -2
- package/dist/recurringtransactions/components/PaymentSchedule.d.ts +1 -1
- package/dist/recurringtransactions/components/RecurrenceList.d.ts +1 -1
- package/dist/recurringtransactions/components/RecurrenceRow.d.ts +1 -1
- package/dist/recurringtransactions/components/RecurringTransactionDetails.d.ts +1 -1
- package/dist/recurringtransactions/components/actions/PaymentScheduleAction.d.ts +1 -1
- package/dist/recurringtransactions/components/micro/MerchantLogosRow.d.ts +1 -1
- package/dist/recurringtransactions/components/micro/OverlappingMerchantLogos.d.ts +1 -1
- package/dist/recurringtransactions/components/shared/recurringsettings/AddRecurringTransactionDetails.d.ts +1 -1
- package/dist/recurringtransactions/components/shared/recurringsettings/RecurringRow.d.ts +1 -1
- package/dist/recurringtransactions/index.d.ts +0 -1
- package/dist/recurringtransactions/index.es.js +489 -462
- package/dist/settings/NotificationSettingsWidget.d.ts +1 -1
- package/dist/settings/SettingsWidget.d.ts +2 -2
- package/dist/settings/TransactionRulesWidget.d.ts +1 -1
- package/dist/settings/components/devices/DeviceDialog.d.ts +1 -1
- package/dist/settings/components/devices/DeviceList.d.ts +1 -1
- package/dist/settings/components/devices/DeviceTable.d.ts +1 -1
- package/dist/settings/components/notifications/AccountNotificationProfile.d.ts +1 -1
- package/dist/settings/components/notifications/AccountProfileListItem.d.ts +1 -1
- package/dist/settings/components/notifications/NotificationProfile.d.ts +1 -1
- package/dist/settings/components/notifications/NotificationSettings.d.ts +1 -1
- package/dist/settings/components/transactionrules/actions/EditRuleAction.d.ts +1 -1
- package/dist/settings/index.d.ts +0 -2
- package/dist/settings/index.es.js +419 -430
- package/dist/spending/SpendingMiniWidget.d.ts +1 -1
- package/dist/spending/SpendingWidget.d.ts +1 -1
- package/dist/spending/index.es.js +229 -222
- package/dist/spending/utils/SpendingData.d.ts +1 -1
- package/dist/transactions/TransactionWidget.d.ts +1 -1
- package/dist/transactions/components/shared/TransactionDetails.d.ts +1 -1
- package/dist/transactions/components/shared/TransactionList.d.ts +3 -4
- package/dist/transactions/components/shared/getEmbeddedInstanceSlotByBeatTemplates.d.ts +17 -0
- package/dist/transactions/components/shared/transactiondetails/Description.d.ts +1 -1
- package/dist/transactions/components/shared/transactiondetails/FlagTransaction.d.ts +1 -1
- package/dist/transactions/components/shared/transactiondetails/TransactionAmountHeader.d.ts +1 -1
- package/dist/transactions/components/shared/transactiondetails/TransactionDetailsView.d.ts +1 -1
- package/dist/transactions/components/shared/transactiondetails/actions/AddMerchantBudgetAction.d.ts +13 -0
- package/dist/transactions/components/shared/transactiondetails/actions/CategoryAction.d.ts +1 -1
- package/dist/transactions/components/shared/transactiondetails/actions/DateAction.d.ts +1 -1
- package/dist/transactions/components/shared/transactiondetails/actions/DeleteAction.d.ts +1 -1
- package/dist/transactions/components/shared/transactiondetails/actions/DeleteLogoAction.d.ts +1 -1
- package/dist/transactions/components/shared/transactiondetails/actions/ExcludeAction.d.ts +7 -0
- package/dist/transactions/components/shared/transactiondetails/actions/MemoAction.d.ts +1 -1
- package/dist/transactions/components/shared/transactiondetails/actions/SplitAction.d.ts +1 -1
- package/dist/transactions/components/shared/transactiondetails/actions/TagsAction.d.ts +1 -1
- package/dist/transactions/components/shared/transactiondetails/actions/index.d.ts +2 -1
- package/dist/transactions/components/shared/transactionlist/TransactionRow.d.ts +1 -1
- package/dist/transactions/components/shared/transactiontable/cells/PayeeCell.d.ts +4 -1
- package/dist/transactions/components/splitmanager/SplitManager.d.ts +1 -1
- package/dist/transactions/components/splitmanager/SplitRow.d.ts +1 -1
- package/dist/transactions/components/tagmanager/TagRow.d.ts +1 -1
- package/dist/transactions/components/transactionwidget/actions/EditCategoryAction.d.ts +1 -1
- package/dist/transactions/components/transactionwidget/actions/ExportCsvAction.d.ts +1 -1
- package/dist/transactions/constants/Actions.d.ts +4 -3
- package/dist/transactions/context/hooks.d.ts +1 -1
- package/dist/transactions/index.d.ts +0 -5
- package/dist/transactions/index.es.js +344 -351
- package/dist/transactions/utils/Filters.d.ts +1 -1
- package/dist/transactions/utils/Transactions.d.ts +17 -1
- package/dist/trends/TrendsFullWidget.d.ts +1 -1
- package/dist/trends/TrendsMiniWidget.d.ts +1 -1
- package/dist/trends/TrendsWidget.d.ts +1 -1
- package/dist/trends/components/CategoriesList.d.ts +1 -1
- package/dist/trends/components/CategoriesListItem.d.ts +1 -1
- package/dist/trends/components/CategoryDetails.d.ts +3 -0
- package/dist/trends/components/TrendsChartTotals.d.ts +1 -1
- package/dist/trends/components/TrendsInsights.d.ts +1 -1
- package/dist/trends/components/{TrendsTable.d.ts → TrendsTableContainer.d.ts} +2 -2
- package/dist/trends/components/trendstable/AccessibleSortIcon.d.ts +13 -0
- package/dist/trends/components/trendstable/TrendsTable.d.ts +12 -0
- package/dist/trends/index.d.ts +0 -1
- package/dist/trends/index.es.js +987 -874
- package/dist/trends/utils/SpendingData.d.ts +1 -1
- package/dist/trends/utils/TrendsTable.d.ts +5 -3
- package/dist/trends/utils/TrendsWidget.d.ts +7 -0
- package/dist/trends/utils/shared.d.ts +2 -2
- package/dist/{useAccountDisplayName-DbkgGLdg.mjs → useAccountDisplayName-CFa_MrS6.mjs} +5 -5
- package/dist/{useAriaLive-B3_pRUio.mjs → useAriaLive-MkYebyUR.mjs} +4 -4
- package/dist/{useDimensions-27p2evRx.mjs → useDimensions-CeDR9V8N.mjs} +6 -6
- package/dist/{useInsightsEnabled-dhmXeSyF.mjs → useInsightsEnabled-DaNLPmUU.mjs} +1 -1
- package/dist/{useScreenSize-B6JyS_Lj.mjs → useScreenSize-mWpmnh5w.mjs} +3 -3
- package/dist/{useWidgetLoadTimer-CrUzxN-P.mjs → useWidgetLoadTimer-CJb-RELP.mjs} +1 -1
- package/package.json +65 -43
- package/dist/AccountApi-DgZ8ILj1.mjs +0 -19
- package/dist/AccountDetailsHeader-BOV91g1o.mjs +0 -95
- package/dist/AccountFields-BRRH37K1.mjs +0 -140
- package/dist/AccountListItem-Ds5C0mOT.mjs +0 -90
- package/dist/AccountStore-BFKvXJSD.mjs +0 -244
- package/dist/Accounts-CuE8aSZN.mjs +0 -27
- package/dist/BeatApi-De2IaqH2.mjs +0 -21
- package/dist/BeatStore-D_NYuBSz.mjs +0 -81
- package/dist/BudgetUtil-CDSOZXem.mjs +0 -101
- package/dist/CashflowStore-naOtJcwo.mjs +0 -91
- package/dist/CategoryStore-DEqAnHbi.mjs +0 -186
- package/dist/CategoryUtil-CFHBvaV4.mjs +0 -80
- package/dist/CurrencyInput-DDQ4DBrE.mjs +0 -85
- package/dist/DateUtil-CVsMhbZU.mjs +0 -48
- package/dist/DebtsStore-Dv_T7Dts.mjs +0 -63
- package/dist/Dialog-CWymUiuO.mjs +0 -120
- package/dist/Donut-Dmy3JTWd.mjs +0 -86
- package/dist/Fetch-DecPFeGU.mjs +0 -119
- package/dist/FinstrongStore-BjFkMTIL.mjs +0 -451
- package/dist/GlobalAccountFilter-BpWlPAl5.mjs +0 -316
- package/dist/GoalStore-Dbjgft2i.mjs +0 -422
- package/dist/HeaderCell-DjuifqHJ.mjs +0 -6
- package/dist/LineChart-DHj-Bufi.mjs +0 -580
- package/dist/Loader-BSWSYqvn.mjs +0 -24
- package/dist/Localization-2MODESHW.mjs +0 -30
- package/dist/ManageIncome-DIIyqDTp.mjs +0 -585
- package/dist/MerchantStore-WvZ4gnQe.mjs +0 -37
- package/dist/MiniWidgetContainer-DKn7ndO6.mjs +0 -56
- package/dist/NetWorthStore-B6ziBtaH.mjs +0 -168
- package/dist/Notification-Bs1fdbzI.mjs +0 -95
- package/dist/NotificationStore-Ck2KdNmT.mjs +0 -79
- package/dist/OriginalBalanceAction-DFoG79Ba.mjs +0 -115
- package/dist/RecurringTransactionsStore-D_--5PWH.mjs +0 -277
- package/dist/RepeatingTransaction-C2txVA9O.mjs +0 -292
- package/dist/SearchBox-B2_zLv8-.mjs +0 -42
- package/dist/SettingsStore-CInvh-rQ.mjs +0 -269
- package/dist/SpendingLegend-BxefXiQd.mjs +0 -193
- package/dist/TransactionApi-CjBoLleL.mjs +0 -86
- package/dist/TransactionDetails-CPwv9xtZ.mjs +0 -1374
- package/dist/TransactionStore-D2aMUClq.mjs +0 -688
- package/dist/TrendsStore-BdsYfCc7.mjs +0 -183
- package/dist/User-CulNdZUr.mjs +0 -314
- package/dist/ViewMoreMicroCard-CDWR16_h.mjs +0 -1147
- package/dist/WidgetContainer-mzejMmz2.mjs +0 -555
- package/dist/accounts/stores/UiStore.d.ts +0 -10
- package/dist/accounts/utils/index.d.ts +0 -1
- package/dist/cashflow/api/CashflowApi.d.ts +0 -13
- package/dist/cashflow/stores/CashflowStore.d.ts +0 -8
- package/dist/categories/stores/UiStore.d.ts +0 -20
- package/dist/common/api/LocalizedCopyApi.d.ts +0 -8
- package/dist/common/api/index.d.ts +0 -10
- package/dist/common/components/barchart/Bar.d.ts +0 -25
- package/dist/common/components/barchart/BarChart.d.ts +0 -34
- package/dist/common/components/barchart/BarColumn.d.ts +0 -37
- package/dist/common/components/barchart/Legend.d.ts +0 -8
- package/dist/common/components/barchart/Util.d.ts +0 -42
- package/dist/common/components/barchart/index.d.ts +0 -1
- package/dist/common/stores/index.d.ts +0 -3
- package/dist/common/types/SpendingPlan.d.ts +0 -44
- package/dist/common/utils/Categories.d.ts +0 -6
- package/dist/debts/store/DebtsStore.d.ts +0 -9
- package/dist/debts/store/DebtsUiStore.d.ts +0 -13
- package/dist/debts/utils/DebtStore.d.ts +0 -4
- package/dist/debts/utils/DebtsWidget.d.ts +0 -14
- package/dist/debts/utils/shared.d.ts +0 -12
- package/dist/exportTransactionsToCSV-BU1jTY0Q.mjs +0 -48
- package/dist/help/constants/index.d.ts +0 -1
- package/dist/help/utils/getAccessibleHelpCategories.d.ts +0 -3
- package/dist/transactions/analytics.d.ts +0 -3
- package/dist/transactions/components/shared/transactiondetails/actions/HideAction.d.ts +0 -7
- package/dist/transactions/components/shared/transactionlist/DateRow.d.ts +0 -7
- package/dist/transactions/constants/Transaction.d.ts +0 -2
- package/dist/transactions/constants/TransactionsTable.d.ts +0 -17
- package/dist/transactions/stores/UiStore.d.ts +0 -25
- package/dist/transactions/utils/exportTransactionsToCSV.d.ts +0 -9
- package/dist/transactions/utils/sortAndFilterTransactions.d.ts +0 -3
- package/dist/trends/components/CategoryDetailDrawer.d.ts +0 -7
- package/dist/useCombineEvents-CRwX-qWE.mjs +0 -92
- package/dist/{common → core}/constants/Category.d.ts +0 -0
- package/dist/{common → core}/constants/DateFormats.d.ts +0 -0
- package/dist/{debts/constants/index.d.ts → core/constants/Debts.d.ts} +0 -0
- package/dist/{help → core}/constants/Help.d.ts +0 -0
- package/dist/{investments/constants/index.d.ts → core/constants/Investments.d.ts} +0 -0
- package/dist/{common → core}/constants/Numbers.d.ts +0 -0
- package/dist/{common → core}/constants/Table.d.ts +0 -0
- package/dist/{common → core}/stores/GlobalCopyStore.d.ts +0 -0
- package/dist/{common → core}/stores/GlobalUiStore.d.ts +0 -0
- package/dist/{common → core}/stores/UserStore.d.ts +1 -1
- /package/dist/{common → core}/types/Account.d.ts +0 -0
- /package/dist/{common → core}/types/Cashflow.d.ts +0 -0
- /package/dist/{common → core}/types/Category.d.ts +0 -0
- /package/dist/{common → core}/types/Date.d.ts +0 -0
- /package/dist/{common → core}/types/Debt.d.ts +0 -0
- /package/dist/{common → core}/types/Global.d.ts +0 -0
- /package/dist/{common → core}/types/GlobalCopy.d.ts +0 -0
- /package/dist/{common → core}/types/Goal.d.ts +0 -0
- /package/dist/{common → core}/types/Handlers.d.ts +0 -0
- /package/dist/{common → core}/types/Help.d.ts +0 -0
- /package/dist/{common → core}/types/Holding.d.ts +0 -0
- /package/dist/{common → core}/types/Institution.d.ts +0 -0
- /package/dist/{common → core}/types/LocalizedContent.d.ts +0 -0
- /package/dist/{common → core}/types/Merchant.d.ts +0 -0
- /package/dist/{common → core}/types/RepeatingTransaction.d.ts +0 -0
- /package/dist/{common → core}/types/ScheduledPayment.d.ts +0 -0
- /package/dist/{common → core}/types/ScreenSize.d.ts +0 -0
- /package/dist/{common → core}/types/Transaction.d.ts +0 -0
- /package/dist/{common → core}/types/User.d.ts +0 -0
- /package/dist/{common → core}/types/localization/AccountFilterCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/AccountTypeCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/AccountsCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/AnalyticsCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/CategoryCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/ConnectCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/CurrencyInputCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/DateRangePickerCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/FinstrongCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/HelpCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/InvestmentsCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/MicroInsightsCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/NetWorthCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/NotificationsCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/SettingsCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/index.d.ts +0 -0
- /package/dist/{common → core}/utils/DateUtil.d.ts +0 -0
- /package/dist/{common → core}/utils/Fetch.d.ts +0 -0
- /package/dist/{common/utils/User.d.ts → core/utils/UserUtils.d.ts} +0 -0
|
@@ -1,585 +0,0 @@
|
|
|
1
|
-
import { jsxs as c, jsx as e, Fragment as L } from "react/jsx-runtime";
|
|
2
|
-
import _ from "react";
|
|
3
|
-
import { observer as A } from "mobx-react-lite";
|
|
4
|
-
import M from "@mui/material/Box";
|
|
5
|
-
import T from "@mui/material/Divider";
|
|
6
|
-
import K from "@mui/material/List";
|
|
7
|
-
import h from "@mui/material/Stack";
|
|
8
|
-
import { MerchantLogo as H, Text as S, P as F, InstitutionLogo as oe } from "@mxenabled/mxui";
|
|
9
|
-
import ae from "@mui/material/ListItem";
|
|
10
|
-
import ie from "@mui/material/ListItemAvatar";
|
|
11
|
-
import se from "@mui/material/ListItemButton";
|
|
12
|
-
import ce from "@mui/material/ListItemText";
|
|
13
|
-
import { F as d, S as N, D as Y, g as Q, R, e as le } from "./RepeatingTransaction-C2txVA9O.mjs";
|
|
14
|
-
import { subDays as de } from "date-fns/subDays";
|
|
15
|
-
import { startOfToday as z } from "date-fns/startOfToday";
|
|
16
|
-
import { endOfMonth as _e } from "date-fns/endOfMonth";
|
|
17
|
-
import { parseISO as ue } from "date-fns/parseISO";
|
|
18
|
-
import $ from "@mui/material/Button";
|
|
19
|
-
import { Delete as me, Add as pe, ReceiptLong as he } from "@mxenabled/mx-icons";
|
|
20
|
-
import { T as X, a as ye, u as ge, S as fe, b as Ce } from "./TransactionDetails-CPwv9xtZ.mjs";
|
|
21
|
-
import { getDayOfYear as be } from "date-fns/getDayOfYear";
|
|
22
|
-
import { setDayOfYear as xe } from "date-fns/setDayOfYear";
|
|
23
|
-
import { AdapterDateFns as Se } from "@mui/x-date-pickers/AdapterDateFnsV3";
|
|
24
|
-
import { DatePicker as ve } from "@mui/x-date-pickers";
|
|
25
|
-
import { LocalizationProvider as we } from "@mui/x-date-pickers/LocalizationProvider";
|
|
26
|
-
import { u as w, j as G, g as P, b as Ae, h as Z, o as Ie } from "./hooks-fY_n74f7.mjs";
|
|
27
|
-
import { b as De, f as J } from "./NumberFormatting-DjTD0t3W.mjs";
|
|
28
|
-
import { D as O } from "./Drawer-Bet2ZPJo.mjs";
|
|
29
|
-
import { A as E } from "./WidgetContainer-mzejMmz2.mjs";
|
|
30
|
-
import { f as Re, D as Ee, a as Te } from "./Dialog-CWymUiuO.mjs";
|
|
31
|
-
import { formatISO as Le } from "date-fns/formatISO";
|
|
32
|
-
import { fromUnixTime as Oe } from "date-fns/fromUnixTime";
|
|
33
|
-
import { S as ke } from "./SearchBox-B2_zLv8-.mjs";
|
|
34
|
-
import { h as Ne } from "./DateUtil-CVsMhbZU.mjs";
|
|
35
|
-
import { b as B } from "./Category-Ccoew_sA.mjs";
|
|
36
|
-
import { T as V } from "./User-CulNdZUr.mjs";
|
|
37
|
-
const ee = ({
|
|
38
|
-
frequency: n,
|
|
39
|
-
firstDay: t,
|
|
40
|
-
secondDay: o,
|
|
41
|
-
onFrequencyChange: i,
|
|
42
|
-
onFirstDayChange: s,
|
|
43
|
-
onSecondDayChange: l
|
|
44
|
-
}) => {
|
|
45
|
-
const { recurring: r } = w(), a = _.useMemo(
|
|
46
|
-
() => [
|
|
47
|
-
{ id: d.EveryWeek, label: r.frequency_every_week },
|
|
48
|
-
{ id: d.EveryOtherWeek, label: r.frequency_every_other_week },
|
|
49
|
-
{ id: d.TwiceAMonth, label: r.frequency_twice_a_month },
|
|
50
|
-
{ id: d.EveryMonth, label: r.frequency_every_month },
|
|
51
|
-
{ id: d.EveryOtherMonth, label: r.frequency_every_other_month },
|
|
52
|
-
{ id: d.EveryQuarter, label: r.frequency_every_quarter },
|
|
53
|
-
{ id: d.EveryOtherQuarter, label: r.frequency_every_other_quarter },
|
|
54
|
-
{ id: d.EveryYear, label: r.frequency_every_year }
|
|
55
|
-
],
|
|
56
|
-
[r]
|
|
57
|
-
), m = [
|
|
58
|
-
{ id: 0, label: r.weekday_sunday },
|
|
59
|
-
{ id: 1, label: r.weekday_monday },
|
|
60
|
-
{ id: 2, label: r.weekday_tuesday },
|
|
61
|
-
{ id: 3, label: r.weekday_wednesday },
|
|
62
|
-
{ id: 4, label: r.weekday_thursday },
|
|
63
|
-
{ id: 5, label: r.weekday_friday },
|
|
64
|
-
{ id: 6, label: r.weekday_saturday }
|
|
65
|
-
], y = [...Array(31).keys()].map((p) => ({
|
|
66
|
-
id: p + 1,
|
|
67
|
-
label: De(p + 1)
|
|
68
|
-
}));
|
|
69
|
-
y[30].label += ` (${r.last_day_of_month})`;
|
|
70
|
-
const C = y.slice(0, 15), v = y.slice(14), b = n === d.EveryWeek || n === d.EveryOtherWeek, g = n === d.TwiceAMonth || n === d.EveryMonth || n === d.EveryOtherMonth || n === d.EveryQuarter || n === d.EveryOtherQuarter, I = xe(z(), t), f = (p) => {
|
|
71
|
-
p && s(be(p));
|
|
72
|
-
};
|
|
73
|
-
return /* @__PURE__ */ c(h, { gap: 24, sx: { m: 24 }, children: [
|
|
74
|
-
/* @__PURE__ */ e(
|
|
75
|
-
N,
|
|
76
|
-
{
|
|
77
|
-
label: r.frequency,
|
|
78
|
-
onChange: i,
|
|
79
|
-
options: a,
|
|
80
|
-
value: n
|
|
81
|
-
}
|
|
82
|
-
),
|
|
83
|
-
b && /* @__PURE__ */ e(
|
|
84
|
-
N,
|
|
85
|
-
{
|
|
86
|
-
label: r.day_of_the_week,
|
|
87
|
-
onChange: s,
|
|
88
|
-
options: m,
|
|
89
|
-
value: t
|
|
90
|
-
}
|
|
91
|
-
),
|
|
92
|
-
g && /* @__PURE__ */ e(
|
|
93
|
-
N,
|
|
94
|
-
{
|
|
95
|
-
label: n === d.TwiceAMonth ? r.first_day_of_the_month : r.day_of_the_month,
|
|
96
|
-
onChange: s,
|
|
97
|
-
options: n === d.TwiceAMonth ? C : y,
|
|
98
|
-
value: t
|
|
99
|
-
}
|
|
100
|
-
),
|
|
101
|
-
n === d.TwiceAMonth && /* @__PURE__ */ e(
|
|
102
|
-
N,
|
|
103
|
-
{
|
|
104
|
-
label: r.second_day_of_the_month,
|
|
105
|
-
onChange: l,
|
|
106
|
-
options: v,
|
|
107
|
-
value: o || 0
|
|
108
|
-
}
|
|
109
|
-
),
|
|
110
|
-
n === d.EveryYear && /* @__PURE__ */ e(we, { dateAdapter: Se, children: /* @__PURE__ */ e(
|
|
111
|
-
ve,
|
|
112
|
-
{
|
|
113
|
-
disablePast: !0,
|
|
114
|
-
label: r.next_payment_date,
|
|
115
|
-
onChange: f,
|
|
116
|
-
value: I
|
|
117
|
-
}
|
|
118
|
-
) })
|
|
119
|
-
] });
|
|
120
|
-
}, Me = A(({ repeatingTransaction: n }) => {
|
|
121
|
-
const { recurring: t } = w(), { updateRepeatingTransaction: o } = G(), { onEvent: i } = P(), [s, l] = _.useState(!1), [r, a] = _.useState(n.recurrence_type), [m, y] = _.useState(n.recurrence_day), [C, v] = _.useState(n.second_recurrence_day), b = async () => {
|
|
122
|
-
await o({
|
|
123
|
-
...n,
|
|
124
|
-
recurrence_type: r,
|
|
125
|
-
recurrence_day: m,
|
|
126
|
-
second_recurrence_day: C
|
|
127
|
-
}), l(!1);
|
|
128
|
-
}, g = () => {
|
|
129
|
-
l(!0), i(E.RECURRING_TRANSACTIONS_DETAILS_CLICK_PAYMENT_SCHEDULE);
|
|
130
|
-
};
|
|
131
|
-
return /* @__PURE__ */ c(L, { children: [
|
|
132
|
-
/* @__PURE__ */ e(
|
|
133
|
-
Y,
|
|
134
|
-
{
|
|
135
|
-
iconName: "sync",
|
|
136
|
-
label: t.activity_schedule,
|
|
137
|
-
onClick: g,
|
|
138
|
-
value: `${Q(t, n, !0)}`
|
|
139
|
-
}
|
|
140
|
-
),
|
|
141
|
-
/* @__PURE__ */ e(
|
|
142
|
-
O,
|
|
143
|
-
{
|
|
144
|
-
ariaLabelClose: t.close_drawer_aria,
|
|
145
|
-
isOpen: s,
|
|
146
|
-
onClose: () => l(!1),
|
|
147
|
-
onPrimaryAction: b,
|
|
148
|
-
title: t.payment_schedule,
|
|
149
|
-
children: /* @__PURE__ */ e(
|
|
150
|
-
ee,
|
|
151
|
-
{
|
|
152
|
-
firstDay: m,
|
|
153
|
-
frequency: r,
|
|
154
|
-
onFirstDayChange: y,
|
|
155
|
-
onFrequencyChange: a,
|
|
156
|
-
onSecondDayChange: v,
|
|
157
|
-
secondDay: C
|
|
158
|
-
}
|
|
159
|
-
)
|
|
160
|
-
}
|
|
161
|
-
)
|
|
162
|
-
] });
|
|
163
|
-
}), Fe = A(
|
|
164
|
-
({ onDeleted: n, recurringTransaction: t }) => {
|
|
165
|
-
const { recurring: o } = w(), { selectedAccountGuids: i } = Ae(), { onEvent: s } = P(), { deleteRepeatingTransaction: l } = G(), { setFilter: r, transactions: a } = Z(), { amount: m, description: y, merchant_guid: C } = t, [v, b] = _.useState(!1), [g, I] = _.useState("");
|
|
166
|
-
_.useEffect(() => {
|
|
167
|
-
r({
|
|
168
|
-
accounts: i,
|
|
169
|
-
dateRange: { start: de(z(), 90), end: _e(z()) },
|
|
170
|
-
custom: (u) => u.repeating_transaction_guid === t.guid
|
|
171
|
-
});
|
|
172
|
-
}, [t]);
|
|
173
|
-
const f = _.useMemo(
|
|
174
|
-
() => a.find((u) => u.guid === g),
|
|
175
|
-
[g, a]
|
|
176
|
-
), p = t.repeating_transaction_type === R.Income, k = async () => {
|
|
177
|
-
await l(t.guid), n();
|
|
178
|
-
}, U = () => {
|
|
179
|
-
b(!0), s(E.RECURRING_TRANSACTIONS_DETAILS_CLICK_DELETE);
|
|
180
|
-
};
|
|
181
|
-
return /* @__PURE__ */ c(h, { bgcolor: "background.default", direction: "column", height: "100%", children: [
|
|
182
|
-
/* @__PURE__ */ c(h, { direction: "column", m: 24, children: [
|
|
183
|
-
/* @__PURE__ */ e(
|
|
184
|
-
H,
|
|
185
|
-
{
|
|
186
|
-
categoryGuid: f?.category_guid || "",
|
|
187
|
-
merchantGuid: C,
|
|
188
|
-
size: 64,
|
|
189
|
-
sx: { mb: 12 }
|
|
190
|
-
}
|
|
191
|
-
),
|
|
192
|
-
/* @__PURE__ */ e(S, { bold: !0, variant: "body1", children: y }),
|
|
193
|
-
/* @__PURE__ */ c(F, { color: p ? "success.main" : "text.primary", sx: { my: 4 }, variant: "H1", children: [
|
|
194
|
-
p ? "+" : "",
|
|
195
|
-
J(m, "0,0.00")
|
|
196
|
-
] }),
|
|
197
|
-
/* @__PURE__ */ e(S, { color: "text.secondary", variant: "body2", children: `${o.next_payment_date}: ${Re(
|
|
198
|
-
ue(t.predicted_occurs_on),
|
|
199
|
-
Ee.MONTH_DAY_YEAR
|
|
200
|
-
)}` })
|
|
201
|
-
] }),
|
|
202
|
-
/* @__PURE__ */ c(K, { sx: { bgcolor: "background.paper" }, children: [
|
|
203
|
-
t.account && /* @__PURE__ */ c(L, { children: [
|
|
204
|
-
/* @__PURE__ */ e(
|
|
205
|
-
Y,
|
|
206
|
-
{
|
|
207
|
-
iconName: "checkbook",
|
|
208
|
-
label: o.account,
|
|
209
|
-
value: t.account.displayName || ""
|
|
210
|
-
}
|
|
211
|
-
),
|
|
212
|
-
/* @__PURE__ */ e(T, { variant: "inset" })
|
|
213
|
-
] }),
|
|
214
|
-
f?.category && /* @__PURE__ */ c(L, { children: [
|
|
215
|
-
/* @__PURE__ */ e(
|
|
216
|
-
Y,
|
|
217
|
-
{
|
|
218
|
-
iconName: "monetization_on",
|
|
219
|
-
label: o.category,
|
|
220
|
-
value: f.category
|
|
221
|
-
}
|
|
222
|
-
),
|
|
223
|
-
/* @__PURE__ */ e(T, { variant: "inset" })
|
|
224
|
-
] }),
|
|
225
|
-
/* @__PURE__ */ e(Me, { repeatingTransaction: t }),
|
|
226
|
-
/* @__PURE__ */ e(T, {})
|
|
227
|
-
] }),
|
|
228
|
-
/* @__PURE__ */ e(
|
|
229
|
-
$,
|
|
230
|
-
{
|
|
231
|
-
color: "error",
|
|
232
|
-
onClick: U,
|
|
233
|
-
startIcon: /* @__PURE__ */ e(me, {}),
|
|
234
|
-
sx: { mx: 24, my: 16 },
|
|
235
|
-
variant: "text",
|
|
236
|
-
children: p ? o.delete_income_title : o.delete_expense_title
|
|
237
|
-
}
|
|
238
|
-
),
|
|
239
|
-
/* @__PURE__ */ e(S, { bold: !0, sx: { ml: 24, mt: 16 }, variant: "Body", children: o.paid_transactions }),
|
|
240
|
-
/* @__PURE__ */ e(X, { height: "30dvh", onClick: I }),
|
|
241
|
-
/* @__PURE__ */ e(
|
|
242
|
-
O,
|
|
243
|
-
{
|
|
244
|
-
ariaLabelClose: o.close_drawer_aria,
|
|
245
|
-
isOpen: !!g && !!f,
|
|
246
|
-
onClose: () => I(""),
|
|
247
|
-
title: o.transaction_details_drawer_title,
|
|
248
|
-
children: f && /* @__PURE__ */ e(ye, { transaction: f })
|
|
249
|
-
}
|
|
250
|
-
),
|
|
251
|
-
/* @__PURE__ */ e(
|
|
252
|
-
Te,
|
|
253
|
-
{
|
|
254
|
-
copy: {
|
|
255
|
-
title: p ? o.delete_income_title : o.delete_expense_title,
|
|
256
|
-
close_aria: o.close_drawer_aria
|
|
257
|
-
},
|
|
258
|
-
isOpen: v,
|
|
259
|
-
onClose: () => b(!1),
|
|
260
|
-
onPrimaryAction: k,
|
|
261
|
-
children: /* @__PURE__ */ e(S, { children: p ? o.delete_income_description : o.delete_expense_description })
|
|
262
|
-
}
|
|
263
|
-
)
|
|
264
|
-
] });
|
|
265
|
-
}
|
|
266
|
-
), Ge = A(
|
|
267
|
-
({ onClick: n = () => {
|
|
268
|
-
}, repeatingTransaction: t }) => {
|
|
269
|
-
const { recurring: o } = w(), [i, s] = _.useState(!1), l = _.useMemo(
|
|
270
|
-
() => t.transactions.length === 0 ? "" : t.transactions[0].category_guid || "",
|
|
271
|
-
[t]
|
|
272
|
-
), r = t.account?.displayName || "", a = t.repeating_transaction_type === R.Income, m = Q(o, t, !0);
|
|
273
|
-
return /* @__PURE__ */ c(ae, { disableGutters: !0, disablePadding: !0, children: [
|
|
274
|
-
/* @__PURE__ */ c(se, { onClick: () => {
|
|
275
|
-
n(t), s(!0);
|
|
276
|
-
}, children: [
|
|
277
|
-
/* @__PURE__ */ e(ie, { children: /* @__PURE__ */ e(
|
|
278
|
-
H,
|
|
279
|
-
{
|
|
280
|
-
categoryGuid: l,
|
|
281
|
-
merchantGuid: t.merchant_guid
|
|
282
|
-
}
|
|
283
|
-
) }),
|
|
284
|
-
/* @__PURE__ */ e(ce, { children: /* @__PURE__ */ c(h, { direction: "row", gap: 4, sx: { justifyContent: "space-between" }, children: [
|
|
285
|
-
/* @__PURE__ */ c(h, { direction: "column", sx: { width: "50%" }, children: [
|
|
286
|
-
/* @__PURE__ */ e(S, { bold: !0, variant: "body1", children: t.description }),
|
|
287
|
-
/* @__PURE__ */ c(h, { alignItems: "center", direction: "row", gap: 6, children: [
|
|
288
|
-
t.account?.institution_guid && /* @__PURE__ */ e(
|
|
289
|
-
oe,
|
|
290
|
-
{
|
|
291
|
-
alt: r,
|
|
292
|
-
institutionGuid: t.account?.institution_guid,
|
|
293
|
-
size: 12
|
|
294
|
-
}
|
|
295
|
-
),
|
|
296
|
-
/* @__PURE__ */ e(S, { variant: "caption", children: r })
|
|
297
|
-
] })
|
|
298
|
-
] }),
|
|
299
|
-
/* @__PURE__ */ c(h, { alignItems: "flex-end", sx: { width: "50%" }, children: [
|
|
300
|
-
/* @__PURE__ */ c(
|
|
301
|
-
S,
|
|
302
|
-
{
|
|
303
|
-
bold: !0,
|
|
304
|
-
color: a ? "success.main" : "text.primary",
|
|
305
|
-
variant: "body1",
|
|
306
|
-
children: [
|
|
307
|
-
a ? "+" : "",
|
|
308
|
-
J(t.amount, "0,0.00")
|
|
309
|
-
]
|
|
310
|
-
}
|
|
311
|
-
),
|
|
312
|
-
/* @__PURE__ */ e(
|
|
313
|
-
h,
|
|
314
|
-
{
|
|
315
|
-
direction: "row",
|
|
316
|
-
sx: {
|
|
317
|
-
alignItems: "center",
|
|
318
|
-
gap: 6,
|
|
319
|
-
justifyContent: "flex-end",
|
|
320
|
-
textTransform: "uppercase",
|
|
321
|
-
width: "100%"
|
|
322
|
-
},
|
|
323
|
-
children: /* @__PURE__ */ e(S, { bold: !0, color: "text.secondary", variant: "caption", children: m })
|
|
324
|
-
}
|
|
325
|
-
)
|
|
326
|
-
] })
|
|
327
|
-
] }) })
|
|
328
|
-
] }),
|
|
329
|
-
/* @__PURE__ */ e(
|
|
330
|
-
O,
|
|
331
|
-
{
|
|
332
|
-
ariaLabelClose: o.close_drawer_aria,
|
|
333
|
-
isOpen: i,
|
|
334
|
-
onClose: () => s(!1),
|
|
335
|
-
title: t.repeating_transaction_type === R.Income ? o.income_details : o.expense_details,
|
|
336
|
-
children: /* @__PURE__ */ e(
|
|
337
|
-
Fe,
|
|
338
|
-
{
|
|
339
|
-
onDeleted: () => s(!1),
|
|
340
|
-
recurringTransaction: t
|
|
341
|
-
}
|
|
342
|
-
)
|
|
343
|
-
}
|
|
344
|
-
)
|
|
345
|
-
] });
|
|
346
|
-
}
|
|
347
|
-
), Pe = A(
|
|
348
|
-
({
|
|
349
|
-
bgcolor: n = "background.default",
|
|
350
|
-
description: t,
|
|
351
|
-
onSearch: o,
|
|
352
|
-
onSelected: i
|
|
353
|
-
}) => {
|
|
354
|
-
const { recurring: s } = w(), { searchValue: l, setSearchValue: r } = ge();
|
|
355
|
-
return /* @__PURE__ */ c(h, { sx: { bgcolor: n, gap: 16, pt: 8 }, children: [
|
|
356
|
-
t && /* @__PURE__ */ e(F, { sx: { mx: 24 }, children: t }),
|
|
357
|
-
/* @__PURE__ */ e(
|
|
358
|
-
ke,
|
|
359
|
-
{
|
|
360
|
-
ariaLabel: s.select_transaction_search_aria,
|
|
361
|
-
cancelAriaLabel: s.select_transaction_search_cancel_aria,
|
|
362
|
-
onChange: (a) => {
|
|
363
|
-
r(a), o(a);
|
|
364
|
-
},
|
|
365
|
-
placeholder: s.select_transaction_search_placeholder,
|
|
366
|
-
searchValue: l
|
|
367
|
-
}
|
|
368
|
-
),
|
|
369
|
-
/* @__PURE__ */ e(
|
|
370
|
-
X,
|
|
371
|
-
{
|
|
372
|
-
bgcolor: n,
|
|
373
|
-
filter: (a) => !!a.merchant_guid,
|
|
374
|
-
height: "auto",
|
|
375
|
-
onClick: i,
|
|
376
|
-
showLoader: !1
|
|
377
|
-
}
|
|
378
|
-
)
|
|
379
|
-
] });
|
|
380
|
-
}
|
|
381
|
-
), Ue = A(
|
|
382
|
-
({
|
|
383
|
-
bgcolor: n = "background.default",
|
|
384
|
-
firstDay: t,
|
|
385
|
-
secondDay: o,
|
|
386
|
-
frequency: i,
|
|
387
|
-
onFrequencyChange: s,
|
|
388
|
-
onFirstDayChange: l,
|
|
389
|
-
onSecondDayChange: r,
|
|
390
|
-
transaction: a
|
|
391
|
-
}) => {
|
|
392
|
-
const { recurring: m } = w();
|
|
393
|
-
return /* @__PURE__ */ c(h, { bgcolor: n, gap: 24, height: "100%", children: [
|
|
394
|
-
/* @__PURE__ */ c(h, { children: [
|
|
395
|
-
/* @__PURE__ */ e(fe, { bgcolor: n, children: Ne(a.date) }),
|
|
396
|
-
/* @__PURE__ */ e(Ce, { transaction: a })
|
|
397
|
-
] }),
|
|
398
|
-
/* @__PURE__ */ c(M, { children: [
|
|
399
|
-
/* @__PURE__ */ e(S, { bold: !0, sx: { mx: 24 }, variant: "Body", children: m.payment_schedule }),
|
|
400
|
-
/* @__PURE__ */ e(
|
|
401
|
-
ee,
|
|
402
|
-
{
|
|
403
|
-
firstDay: t,
|
|
404
|
-
frequency: i,
|
|
405
|
-
onFirstDayChange: l,
|
|
406
|
-
onFrequencyChange: s,
|
|
407
|
-
onSecondDayChange: r,
|
|
408
|
-
secondDay: o
|
|
409
|
-
}
|
|
410
|
-
)
|
|
411
|
-
] })
|
|
412
|
-
] });
|
|
413
|
-
}
|
|
414
|
-
), q = (n) => n.top_level_category_guid !== B.INCOME && n.transaction_type === V.DEBIT, Ye = (n, t) => q(n) ? n.payee?.toLowerCase().includes(t.toLowerCase()) || n.description.toLowerCase().includes(t.toLowerCase()) || n.feed_description.toLowerCase().includes(t.toLowerCase()) : !1, W = (n) => n.top_level_category_guid === B.INCOME || n.top_level_category_guid === B.TRANSFER && n.transaction_type === V.CREDIT, ze = (n, t) => W(n) ? n.payee?.toLowerCase().includes(t.toLowerCase()) || n.description?.toLowerCase().includes(t.toLowerCase()) || n.feed_description?.toLowerCase().includes(t.toLowerCase()) : !1, te = A(
|
|
415
|
-
({
|
|
416
|
-
isIncome: n = !1,
|
|
417
|
-
label: t,
|
|
418
|
-
onAddRecurringTransaction: o = () => null
|
|
419
|
-
}) => {
|
|
420
|
-
const { recurring: i } = w(), { filter: s, setFilter: l, transactions: r } = Z(), { addRepeatingTransaction: a } = G(), { user: m } = Ie(), [y, C] = _.useState(!1), [v, b] = _.useState(""), [g, I] = _.useState(d.EveryMonth), [f, p] = _.useState(1), [k, U] = _.useState(15), u = _.useMemo(
|
|
421
|
-
() => r.find((x) => x.guid === v),
|
|
422
|
-
[v, r]
|
|
423
|
-
), ne = () => {
|
|
424
|
-
C(!0), l(n ? { ...s, custom: W } : { ...s, custom: q });
|
|
425
|
-
}, re = async () => {
|
|
426
|
-
if (!u) {
|
|
427
|
-
j();
|
|
428
|
-
return;
|
|
429
|
-
}
|
|
430
|
-
o();
|
|
431
|
-
const x = le(g, Oe(u.date)), D = {
|
|
432
|
-
account_guid: u.account_guid,
|
|
433
|
-
amount: u.amount,
|
|
434
|
-
created_by: 0,
|
|
435
|
-
// User
|
|
436
|
-
merchant_guid: u.merchant_guid,
|
|
437
|
-
description: u.payee || u.description || u.feed_description,
|
|
438
|
-
predicted_occurs_on: Le(x, { representation: "date" }),
|
|
439
|
-
recurrence_day: f,
|
|
440
|
-
recurrence_type: g,
|
|
441
|
-
repeating_transaction_type: n ? R.Income : R.Bill,
|
|
442
|
-
second_recurrence_day: k,
|
|
443
|
-
transaction_type: u.transaction_type,
|
|
444
|
-
user_guid: m.guid
|
|
445
|
-
};
|
|
446
|
-
await a(D, u), j();
|
|
447
|
-
}, j = () => {
|
|
448
|
-
b(""), C(!1);
|
|
449
|
-
};
|
|
450
|
-
return /* @__PURE__ */ c(L, { children: [
|
|
451
|
-
/* @__PURE__ */ e($, { onClick: ne, startIcon: /* @__PURE__ */ e(pe, { size: 24 }), variant: "contained", children: t }),
|
|
452
|
-
/* @__PURE__ */ e(
|
|
453
|
-
O,
|
|
454
|
-
{
|
|
455
|
-
ariaLabelClose: i.close_drawer_aria,
|
|
456
|
-
isOpen: y,
|
|
457
|
-
onClose: () => C(!1),
|
|
458
|
-
title: t,
|
|
459
|
-
children: /* @__PURE__ */ e(
|
|
460
|
-
Pe,
|
|
461
|
-
{
|
|
462
|
-
description: n ? i.add_income_description : i.add_expense_description,
|
|
463
|
-
onSearch: (x) => {
|
|
464
|
-
l({
|
|
465
|
-
...s,
|
|
466
|
-
custom: (D) => n ? x ? ze(D, x) : W(D) : x ? Ye(D, x) : q(D)
|
|
467
|
-
});
|
|
468
|
-
},
|
|
469
|
-
onSelected: (x) => b(x)
|
|
470
|
-
}
|
|
471
|
-
)
|
|
472
|
-
}
|
|
473
|
-
),
|
|
474
|
-
/* @__PURE__ */ e(
|
|
475
|
-
O,
|
|
476
|
-
{
|
|
477
|
-
ariaLabelClose: i.close_drawer_aria,
|
|
478
|
-
isOpen: !!v,
|
|
479
|
-
onClose: () => b(""),
|
|
480
|
-
onPrimaryAction: re,
|
|
481
|
-
title: n ? i.income_details : i.expense_details,
|
|
482
|
-
children: u && /* @__PURE__ */ e(
|
|
483
|
-
Ue,
|
|
484
|
-
{
|
|
485
|
-
firstDay: f,
|
|
486
|
-
frequency: g,
|
|
487
|
-
onFirstDayChange: p,
|
|
488
|
-
onFrequencyChange: I,
|
|
489
|
-
onSecondDayChange: U,
|
|
490
|
-
secondDay: k,
|
|
491
|
-
transaction: u
|
|
492
|
-
}
|
|
493
|
-
)
|
|
494
|
-
}
|
|
495
|
-
)
|
|
496
|
-
] });
|
|
497
|
-
}
|
|
498
|
-
), Be = A(
|
|
499
|
-
({ zeroStateFor: n }) => {
|
|
500
|
-
const { recurring: t } = w(), { onEvent: o } = P(), i = n === "income", s = i ? t.recurring_setting_zero_state_income_title : t.recurring_setting_zero_state_expenses_title, l = i ? t.recurring_setting_zero_state_income_description : t.recurring_setting_zero_state_expenses_description, r = i ? t.add_income : t.add_expense;
|
|
501
|
-
return /* @__PURE__ */ c(h, { sx: { alignItems: "center", p: 24, pt: 48 }, children: [
|
|
502
|
-
/* @__PURE__ */ e(he, { size: 48 }),
|
|
503
|
-
/* @__PURE__ */ e(F, { sx: { my: 8, fontWeight: 600 }, variant: "body1", children: s }),
|
|
504
|
-
/* @__PURE__ */ e(F, { color: "text.secondary", sx: { mb: 32 }, variant: "subtitle2", children: l }),
|
|
505
|
-
/* @__PURE__ */ e(
|
|
506
|
-
te,
|
|
507
|
-
{
|
|
508
|
-
isIncome: i,
|
|
509
|
-
label: r,
|
|
510
|
-
onAddRecurringTransaction: () => {
|
|
511
|
-
o(
|
|
512
|
-
i ? E.RECURRING_TRANSACTIONS_CLICK_ADD_INCOME : E.RECURRING_ACTIVITY_CLICK_ADD_EXPENSE
|
|
513
|
-
);
|
|
514
|
-
}
|
|
515
|
-
}
|
|
516
|
-
)
|
|
517
|
-
] });
|
|
518
|
-
}
|
|
519
|
-
), At = A(({ forOverview: n = !1 }) => {
|
|
520
|
-
const { recurring: t } = w(), { detailedRepeatingTransactions: o } = G(), { onEvent: i } = P(), s = (a) => {
|
|
521
|
-
i(E.RECURRING_TRANSACTIONS_CLICK_INCOME, {
|
|
522
|
-
repeating_transaction_guid: a.guid
|
|
523
|
-
});
|
|
524
|
-
}, l = () => {
|
|
525
|
-
i(E.RECURRING_TRANSACTIONS_CLICK_ADD_INCOME);
|
|
526
|
-
}, r = o.filter(
|
|
527
|
-
(a) => a.repeating_transaction_type === R.Income && (a.transactions.length > 0 || a.recurrence_type === d.EveryYear)
|
|
528
|
-
);
|
|
529
|
-
return /* @__PURE__ */ e(L, { children: r.length !== 0 ? /* @__PURE__ */ c(
|
|
530
|
-
h,
|
|
531
|
-
{
|
|
532
|
-
sx: {
|
|
533
|
-
height: n ? "calc(100vh - 62px)" : "calc(100vh - 109px)",
|
|
534
|
-
maxHeight: n ? "calc(100vh - 62px)" : "calc(100vh - 109px)"
|
|
535
|
-
},
|
|
536
|
-
children: [
|
|
537
|
-
n && /* @__PURE__ */ e(S, { bold: !0, sx: { mb: 4, mt: 12, mx: 24 }, variant: "Small", children: t.income }),
|
|
538
|
-
/* @__PURE__ */ e(M, { sx: { flex: 1, overflow: "auto" }, children: /* @__PURE__ */ e(K, { sx: { bgcolor: "background.paper" }, children: r.map((a, m) => /* @__PURE__ */ c(_.Fragment, { children: [
|
|
539
|
-
/* @__PURE__ */ e(Ge, { onClick: s, repeatingTransaction: a }),
|
|
540
|
-
/* @__PURE__ */ e(
|
|
541
|
-
T,
|
|
542
|
-
{
|
|
543
|
-
variant: m < r.length - 1 ? "inset" : "fullWidth"
|
|
544
|
-
}
|
|
545
|
-
)
|
|
546
|
-
] }, a.guid)) }) }),
|
|
547
|
-
/* @__PURE__ */ c(M, { children: [
|
|
548
|
-
/* @__PURE__ */ e(T, {}),
|
|
549
|
-
/* @__PURE__ */ e(
|
|
550
|
-
M,
|
|
551
|
-
{
|
|
552
|
-
sx: {
|
|
553
|
-
alignContent: "center",
|
|
554
|
-
bgcolor: "background.paper",
|
|
555
|
-
justifyContent: "flex-end",
|
|
556
|
-
px: 24,
|
|
557
|
-
py: 12,
|
|
558
|
-
textAlign: "right"
|
|
559
|
-
},
|
|
560
|
-
children: /* @__PURE__ */ e(
|
|
561
|
-
te,
|
|
562
|
-
{
|
|
563
|
-
isIncome: !0,
|
|
564
|
-
label: t.add_income,
|
|
565
|
-
onAddRecurringTransaction: l
|
|
566
|
-
}
|
|
567
|
-
)
|
|
568
|
-
}
|
|
569
|
-
)
|
|
570
|
-
] })
|
|
571
|
-
]
|
|
572
|
-
}
|
|
573
|
-
) : /* @__PURE__ */ e(Be, { zeroStateFor: "income" }) });
|
|
574
|
-
});
|
|
575
|
-
export {
|
|
576
|
-
te as A,
|
|
577
|
-
At as M,
|
|
578
|
-
Ge as R,
|
|
579
|
-
Pe as S,
|
|
580
|
-
Be as a,
|
|
581
|
-
Fe as b,
|
|
582
|
-
Ue as c,
|
|
583
|
-
W as d,
|
|
584
|
-
ze as i
|
|
585
|
-
};
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { makeAutoObservable as m, runInAction as c } from "mobx";
|
|
2
|
-
import { F as p, A as h } from "./Fetch-DecPFeGU.mjs";
|
|
3
|
-
class i {
|
|
4
|
-
fetchInstance;
|
|
5
|
-
constructor(t, n, s) {
|
|
6
|
-
this.fetchInstance = new p(t, n, void 0, s);
|
|
7
|
-
}
|
|
8
|
-
getMerchants = async (t = [], n = [], s = 1, o = 25) => {
|
|
9
|
-
let a = h.MERCHANTS;
|
|
10
|
-
return a += `?page=${s}&per_page=${o}`, t.length && t.forEach((e) => a += `&fuzzy_name[]=${e}`), n.length && n.forEach((e) => a += `&guid[]=${e}`), this.fetchInstance.get(a).then((e) => e.merchants);
|
|
11
|
-
};
|
|
12
|
-
getMerchantByGuid = async (t) => this.fetchInstance.get(`${h.MERCHANTS}/${t}`).then((n) => n.merchant);
|
|
13
|
-
}
|
|
14
|
-
class u {
|
|
15
|
-
globalStore;
|
|
16
|
-
api = new i("/", "");
|
|
17
|
-
merchant = null;
|
|
18
|
-
merchants = [];
|
|
19
|
-
isLoading = !1;
|
|
20
|
-
constructor(t) {
|
|
21
|
-
this.globalStore = t, this.api = new i(t.endpoint, t.sessionToken, t.onError), m(this);
|
|
22
|
-
}
|
|
23
|
-
loadMerchants = async (t = "") => {
|
|
24
|
-
this.isLoading = !0;
|
|
25
|
-
const n = await this.api.getMerchants([t]);
|
|
26
|
-
c(() => {
|
|
27
|
-
this.merchants = n, this.isLoading = !1;
|
|
28
|
-
});
|
|
29
|
-
};
|
|
30
|
-
loadMerchantByGuid = async (t) => {
|
|
31
|
-
const n = await this.api.getMerchantByGuid(t);
|
|
32
|
-
c(() => this.merchant = n);
|
|
33
|
-
};
|
|
34
|
-
}
|
|
35
|
-
export {
|
|
36
|
-
u as M
|
|
37
|
-
};
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import { jsxs as i, jsx as r, Fragment as x } from "react/jsx-runtime";
|
|
2
|
-
import g from "@mui/material/Box";
|
|
3
|
-
import u from "@mui/material/Button";
|
|
4
|
-
import C from "@mui/material/Card";
|
|
5
|
-
import v from "@mui/material/CardHeader";
|
|
6
|
-
import b from "@mui/material/CardContent";
|
|
7
|
-
import z from "@mui/material/IconButton";
|
|
8
|
-
import { Icon as H, ChevronRight as I } from "@mxenabled/mx-icons";
|
|
9
|
-
import { H3 as W, Text as B, P as S } from "@mxenabled/mxui";
|
|
10
|
-
import { u as j } from "./useDimensions-27p2evRx.mjs";
|
|
11
|
-
import { W as w } from "./hooks-fY_n74f7.mjs";
|
|
12
|
-
const G = ({
|
|
13
|
-
children: m,
|
|
14
|
-
className: a = "mx-cmn-mini-widget",
|
|
15
|
-
closeLabel: l,
|
|
16
|
-
contentStyles: d,
|
|
17
|
-
onClose: e,
|
|
18
|
-
onPrimaryCtaClick: o,
|
|
19
|
-
primaryCtaLabel: s = "",
|
|
20
|
-
subTitle: t = "",
|
|
21
|
-
sx: c = {},
|
|
22
|
-
title: n = ""
|
|
23
|
-
}) => {
|
|
24
|
-
const [p, { height: h, width: f }] = j();
|
|
25
|
-
return /* @__PURE__ */ i(C, { className: a, sx: { ...c }, children: [
|
|
26
|
-
/* @__PURE__ */ r(
|
|
27
|
-
v,
|
|
28
|
-
{
|
|
29
|
-
sx: { pb: 8 },
|
|
30
|
-
title: /* @__PURE__ */ i(x, { children: [
|
|
31
|
-
/* @__PURE__ */ i(
|
|
32
|
-
g,
|
|
33
|
-
{
|
|
34
|
-
sx: {
|
|
35
|
-
alignItems: "center",
|
|
36
|
-
display: "grid",
|
|
37
|
-
gap: 2,
|
|
38
|
-
gridTemplateColumns: "1fr auto",
|
|
39
|
-
pb: 4
|
|
40
|
-
},
|
|
41
|
-
children: [
|
|
42
|
-
n && /* @__PURE__ */ r(W, { children: n }),
|
|
43
|
-
e ? /* @__PURE__ */ r(z, { "aria-label": l, onClick: e, size: "small", children: /* @__PURE__ */ r(H, { name: "close", size: 24 }) }) : o && /* @__PURE__ */ r(u, { endIcon: /* @__PURE__ */ r(I, {}), onClick: o, size: "small", children: /* @__PURE__ */ r(B, { bold: !0, variant: "Small", children: s }) })
|
|
44
|
-
]
|
|
45
|
-
}
|
|
46
|
-
),
|
|
47
|
-
t && /* @__PURE__ */ r(S, { color: "text.secondary", sx: { fontSize: 15, lineHeight: "20px" }, variant: "Small", children: t })
|
|
48
|
-
] })
|
|
49
|
-
}
|
|
50
|
-
),
|
|
51
|
-
/* @__PURE__ */ r(b, { ref: p, sx: { p: 0, ...d }, children: /* @__PURE__ */ r(w, { availableHeight: h, availableWidth: f, children: m }) })
|
|
52
|
-
] });
|
|
53
|
-
};
|
|
54
|
-
export {
|
|
55
|
-
G as M
|
|
56
|
-
};
|