@mx-cartographer/experiences 8.0.0-alpha.test2 → 8.0.0-alpha.v2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +335 -0
- package/README.md +5 -3
- package/dist/{Account-CMjOp7S2.mjs → Account-BiB1F8lL.mjs} +2 -2
- package/dist/{Account-BIKn4XEZ.mjs → Account-DuOz1a27.mjs} +1 -1
- package/dist/{AccountApi-DgZ8ILj1.mjs → AccountApi-ChQr5PAZ.mjs} +1 -1
- package/dist/AccountDetailsHeader-D9gbTbUt.mjs +95 -0
- package/dist/{AccountFields-DuFtmuud.mjs → AccountFields-CxqONzjY.mjs} +12 -12
- package/dist/AccountListItem-D9WJDbZ1.mjs +94 -0
- package/dist/{AccountStore-Cq_w2Hfb.mjs → AccountStore-DpYvNnql.mjs} +15 -9
- package/dist/Accounts-CseLC3lL.mjs +5 -0
- package/dist/Accounts-o7ohkngR.mjs +27 -0
- package/dist/{Analytics-i5h6BxR1.mjs → Analytics-BYItVAe-.mjs} +10 -0
- package/dist/{BeatApi-De2IaqH2.mjs → BeatApi-EFHXULDx.mjs} +1 -1
- package/dist/{BeatStore-D_NYuBSz.mjs → BeatStore-C6CAT-ce.mjs} +1 -1
- package/dist/BudgetUtil-CLhRnCoX.mjs +479 -0
- package/dist/CashflowStore-CeAzChyD.mjs +91 -0
- package/dist/{Category-Ccoew_sA.mjs → Category-CevNQ03n.mjs} +2 -2
- package/dist/{CategorySelectorDrawer-CzRxYpiP.mjs → CategorySelectorDrawer-Dc9Widy9.mjs} +118 -110
- package/dist/{CategoryStore-V-0d9oje.mjs → CategoryStore-FTxUbn0f.mjs} +3 -3
- package/dist/{CategoryUtil-DB-9JMbi.mjs → CategoryUtil-BVixr0d5.mjs} +4 -4
- package/dist/Connect-eYIWqCEr.mjs +39 -0
- package/dist/ConnectDrawer-C0wjwcJt.mjs +58 -0
- package/dist/{ConnectionsDrawer-DMBBzlIJ.mjs → ConnectionsDrawer-IA7vnv1J.mjs} +10 -9
- package/dist/CurrencyInput-DuMktPu3.mjs +85 -0
- package/dist/{CurrencyText-C-85TnUF.mjs → CurrencyText-CA-E5N_y.mjs} +1 -1
- package/dist/{DateFormats-Cs-NbEZ7.mjs → DateFormats-BMpMrZpW.mjs} +1 -1
- package/dist/{DateUtil-CVXVMbjf.mjs → DateUtil-wcYTmDRD.mjs} +1 -1
- package/dist/{DebtsStore-Dv_T7Dts.mjs → DebtsStore-BZqNLaqd.mjs} +3 -3
- package/dist/Dialog-Ck34yr-d.mjs +63 -0
- package/dist/{Donut-DKY8mL3P.mjs → Donut-CpxJlVvJ.mjs} +29 -27
- package/dist/{Drawer-Bet2ZPJo.mjs → Drawer-Bbe4AMB1.mjs} +14 -14
- package/dist/{ExportCsvAction-Cc14QGA9.mjs → ExportCsvAction-ErKh7wJ2.mjs} +4 -4
- package/dist/{Fetch-DecPFeGU.mjs → Fetch-B6tMJC1r.mjs} +2 -1
- package/dist/{FinstrongStore-DW7-LvAh.mjs → FinstrongStore-BQxXxxYD.mjs} +129 -129
- package/dist/GlobalAccountFilter-B73Pw1hJ.mjs +237 -0
- package/dist/Goal-0loDagc5.mjs +6 -0
- package/dist/GoalStore-fgXt--2Y.mjs +418 -0
- package/dist/HeaderCell-P8w6CmfO.mjs +6 -0
- package/dist/{Help-CgpJK03Q.mjs → Help-B8mD4aLJ.mjs} +6 -6
- package/dist/{Help-DOPJteew.mjs → Help-D-laTbKu.mjs} +544 -493
- package/dist/{IconBacking-DgT8DCeh.mjs → IconBacking-B9oC6uL2.mjs} +11 -11
- package/dist/LineChart-EAr5ox5U.mjs +612 -0
- package/dist/{ListItemAction-engf-T9W.mjs → ListItemAction-4KB7P75M.mjs} +2 -2
- package/dist/Loader-D3rjKx72.mjs +21 -0
- package/dist/Localization-CPkpIwIx.mjs +37 -0
- package/dist/{ManageIncome-BVqHHIO7.mjs → ManageIncome-Cc-wba0I.mjs} +118 -113
- package/dist/{MerchantStore-WvZ4gnQe.mjs → MerchantStore-BzGi4JAZ.mjs} +1 -1
- package/dist/MicroWidgetContainer-B_EnfvCq.mjs +45 -0
- package/dist/MiniWidgetContainer-Bhkv-hpz.mjs +66 -0
- package/dist/{NetWorthStore-B6ziBtaH.mjs → NetWorthStore-BqZ44-4M.mjs} +5 -5
- package/dist/Notification-DTNYSd8P.mjs +7 -0
- package/dist/{NotificationSettings-CEzQSKfg.mjs → NotificationSettings-D7VqsrZy.mjs} +160 -159
- package/dist/{NotificationStore-Ck2KdNmT.mjs → NotificationStore-D_e8zo5M.mjs} +28 -21
- package/dist/{NumberFormatting-DjTD0t3W.mjs → NumberFormatting-QCaNwbjv.mjs} +1 -1
- package/dist/{Transaction-C8QRYhYc.mjs → OnClickEvents-CseHDZ94.mjs} +32 -25
- package/dist/{OriginalBalanceAction-CYqr8z8w.mjs → OriginalBalanceAction-DjpvVVFz.mjs} +10 -10
- package/dist/{RecurringSettings-rEotGPcM.mjs → RecurringSettings-BN9H5ALr.mjs} +4 -4
- package/dist/RecurringTransactions-BCJp-Nap.mjs +297 -0
- package/dist/{RecurringTransactionsStore-DpzLX8E8.mjs → RecurringTransactionsStore-CkMA7gY3.mjs} +11 -10
- package/dist/RepeatingTransaction-DF4vJn_v.mjs +7 -0
- package/dist/{ResponsiveButton-BNsV08Ud.mjs → ResponsiveButton-DZFp78fJ.mjs} +12 -12
- package/dist/SearchBox-CwDgvWVJ.mjs +48 -0
- package/dist/{SettingsStore-ImYpLCSK.mjs → SettingsStore-BoIoiRLj.mjs} +3 -3
- package/dist/{SingleSegmentDonut-PsRQPkmV.mjs → SingleSegmentDonut-BgbLgwHi.mjs} +5 -5
- package/dist/{SpendingData-CI_C9xln.mjs → SpendingData-Bz1bCWAs.mjs} +4 -4
- package/dist/SpendingLegend-BgjazduU.mjs +193 -0
- package/dist/{StatusBar-CPfSXe80.mjs → StatusBar-BK_uYHAB.mjs} +6 -6
- package/dist/StatusIndicator-4tWnjeKS.mjs +264 -0
- package/dist/{TabContentContainer-CnMXkVqr.mjs → TabContentContainer-j01JYR_7.mjs} +8 -8
- package/dist/ToggleListItem-BLu_fWA2.mjs +90 -0
- package/dist/Transaction-Cn5_iFm0.mjs +5 -0
- package/dist/{TransactionApi-CjBoLleL.mjs → TransactionApi-Ck5Ua-7F.mjs} +1 -1
- package/dist/TransactionDetails-D1I1XEsT.mjs +1469 -0
- package/dist/{TransactionStore-CEehNrKo.mjs → TransactionStore-Bx9euVrY.mjs} +195 -177
- package/dist/{TrendsStore-ncmbS9eE.mjs → TrendsStore-CYdTo7cN.mjs} +10 -10
- package/dist/ViewMoreMicroCard-D24H9kDm.mjs +1291 -0
- package/dist/{WidgetContainer-DFwVgavi.mjs → WidgetContainer-B7xDq2bM.mjs} +47 -46
- package/dist/accounts/AccountsMiniWidget.d.ts +1 -1
- package/dist/accounts/AccountsWidget.d.ts +1 -1
- package/dist/accounts/api/AccountApi.d.ts +1 -1
- package/dist/accounts/components/AccountListItem.d.ts +1 -1
- package/dist/accounts/components/AccountsListCompact.d.ts +1 -1
- package/dist/accounts/components/detailsdrawer/Accounts/AccountActionsRow.d.ts +1 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsChart.d.ts +1 -1
- package/dist/accounts/hooks/useGetMergeableAccounts.d.ts +1 -1
- package/dist/accounts/index.es.js +459 -368
- package/dist/accounts/stores/AccountStore.d.ts +2 -1
- package/dist/accounts/stores/UiStore.d.ts +1 -1
- package/dist/accounts/utils/AccountDetails.d.ts +1 -1
- package/dist/accounts/utils/AccountFields.d.ts +1 -1
- package/dist/accounts/utils/Accounts.d.ts +2 -2
- package/dist/analytics/index.es.js +93 -112
- package/dist/budgets/BubbleBudgetsMiniWidget.d.ts +1 -1
- package/dist/budgets/BubbleBudgetsWidget.d.ts +1 -1
- package/dist/budgets/api/BudgetsApi.d.ts +5 -1
- package/dist/budgets/components/BubbleChart.d.ts +1 -1
- package/dist/budgets/components/BudgetDetailsDrawerV2.d.ts +4 -1
- package/dist/budgets/components/MerchantBudgetDetailsDrawer.d.ts +17 -0
- package/dist/budgets/components/addbudget/RecalculateBudgetRow.d.ts +1 -1
- package/dist/budgets/components/addbudget/UnbudgetedRow.d.ts +1 -1
- package/dist/budgets/components/bubblechart/Bubble.d.ts +1 -1
- package/dist/budgets/components/budgetdetails/AddSubBudget.d.ts +1 -1
- package/dist/budgets/components/budgetdetails/BudgetDetails.d.ts +1 -1
- package/dist/budgets/components/budgetdetails/Header.d.ts +1 -1
- package/dist/budgets/components/budgetdetails/SubBudgetList.d.ts +1 -1
- package/dist/budgets/components/budgetlist/BudgetRow.d.ts +1 -1
- package/dist/budgets/components/budgetlist/SubBudgetRow.d.ts +1 -1
- package/dist/budgets/components/shared/BudgetDetailsTopSection.d.ts +13 -0
- package/dist/budgets/index.es.js +851 -865
- package/dist/budgets/store/BudgetsStore.d.ts +15 -1
- package/dist/budgets/utils/BubblesSVG.d.ts +3 -3
- package/dist/budgets/utils/BudgetUtil.d.ts +6 -1
- package/dist/cashflow/CashflowMiniWidget.d.ts +1 -1
- package/dist/cashflow/CashflowWidget.d.ts +1 -1
- package/dist/cashflow/api/CashflowApi.d.ts +1 -1
- package/dist/cashflow/components/DetailsExpenseRow.d.ts +1 -1
- package/dist/cashflow/index.es.js +290 -288
- package/dist/cashflow/stores/UiStore.d.ts +1 -1
- package/dist/cashflow/util/Filters.d.ts +1 -1
- package/dist/categories/components/CategoryRow.d.ts +1 -1
- package/dist/categories/components/CustomCategories/AddSubcategory.d.ts +1 -1
- package/dist/categories/components/CustomCategories/DeleteSubcategory.d.ts +1 -1
- package/dist/categories/components/CustomCategories/RenameSubcategory.d.ts +1 -1
- package/dist/categories/components/SubcategoryList.d.ts +1 -1
- package/dist/categories/components/SubcategoryRow.d.ts +1 -1
- package/dist/categories/index.es.js +2 -2
- package/dist/categories/stores/CategoryStore.d.ts +2 -1
- package/dist/categories/util/CategoryUtil.d.ts +1 -1
- package/dist/common/api/AnalyticsApi.d.ts +1 -1
- package/dist/common/api/AppDataApi.d.ts +1 -1
- package/dist/common/api/BeatApi.d.ts +1 -1
- package/dist/common/api/CategoryApi.d.ts +1 -1
- package/dist/common/api/GlobalCopyApi.d.ts +1 -1
- package/dist/common/api/LocalizedCopyApi.d.ts +1 -1
- package/dist/common/api/NotificationApi.d.ts +1 -1
- package/dist/common/api/ScheduledPaymentsApi.d.ts +1 -1
- package/dist/common/api/UserApi.d.ts +1 -1
- package/dist/common/components/CurrencyDialog.d.ts +1 -1
- package/dist/common/components/CurrencyInput.d.ts +1 -1
- package/dist/common/components/ErrorBoundary.d.ts +1 -1
- package/dist/common/components/GlobalAccountFilter.d.ts +1 -1
- package/dist/common/components/Loader.d.ts +1 -2
- package/dist/common/components/MiniWidgetContainer.d.ts +1 -0
- package/dist/common/components/WidgetContainer.d.ts +1 -1
- package/dist/common/components/charts/LineChart.d.ts +1 -0
- package/dist/common/components/charts/index.d.ts +1 -0
- package/dist/common/components/charts/linechart/CustomTooltip.d.ts +2 -1
- package/dist/common/components/charts/linechart/utils/markerShapes.d.ts +3 -0
- package/dist/common/components/globalaccountfilter/GlobalAccountFilterList.d.ts +1 -1
- package/dist/common/components/index.d.ts +0 -1
- package/dist/common/constants/Account.d.ts +1 -1
- package/dist/common/constants/Analytics.d.ts +10 -0
- package/dist/common/constants/ApiEndpoints.d.ts +1 -0
- package/dist/common/constants/DefaultConfig.d.ts +1 -1
- package/dist/common/constants/ScheduledPayment.d.ts +1 -10
- package/dist/common/constants/SpendingPlan.d.ts +0 -10
- package/dist/common/constants/index.d.ts +2 -2
- package/dist/common/context/GlobalDataProvider.d.ts +2 -1
- package/dist/common/context/hooks.d.ts +4 -4
- package/dist/common/hooks/index.d.ts +1 -0
- package/dist/common/hooks/useAccountDisplayName.d.ts +1 -1
- package/dist/common/hooks/useCombineEvents.d.ts +1 -1
- package/dist/common/hooks/usePrevious.d.ts +2 -0
- package/dist/common/index.d.ts +0 -1
- package/dist/common/index.es.js +625 -860
- package/dist/common/stores/AppDataStore.d.ts +3 -3
- package/dist/common/stores/GlobalCopyStore.d.ts +1 -1
- package/dist/common/stores/GlobalStore.d.ts +4 -2
- package/dist/common/stores/GlobalUiStore.d.ts +3 -3
- package/dist/common/stores/UserStore.d.ts +1 -1
- package/dist/common/utils/AccountDisplayName.d.ts +1 -1
- package/dist/common/utils/AccountFilter.d.ts +1 -1
- package/dist/common/utils/Analytics.d.ts +1 -1
- package/dist/common/utils/Categories.d.ts +1 -1
- package/dist/common/utils/Fetch.d.ts +1 -1
- package/dist/common/utils/Localization.d.ts +9 -1
- package/dist/common/utils/Theme.d.ts +3 -3
- package/dist/common/utils/User.d.ts +1 -1
- package/dist/common/utils/index.d.ts +1 -1
- package/dist/core/constants/index.d.ts +1 -0
- package/dist/core/constants/repeatingTransactions.d.ts +10 -0
- package/dist/core/index.d.ts +2 -0
- package/dist/core/index.es.js +41 -0
- package/dist/{common → core}/types/Analytics.d.ts +6 -3
- package/dist/{common → core}/types/AppData.d.ts +1 -0
- package/dist/{common → core}/types/Beat.d.ts +2 -0
- package/dist/{common → core}/types/Budget.d.ts +8 -0
- package/dist/{common → core}/types/Expense.d.ts +2 -1
- package/dist/{common → core}/types/Finstrong.d.ts +0 -2
- package/dist/{common → core}/types/Notification.d.ts +15 -5
- package/dist/{common → core}/types/index.d.ts +1 -2
- package/dist/{common → core}/types/localization/BudgetsCopy.d.ts +11 -0
- package/dist/{common → core}/types/localization/CashflowCopy.d.ts +1 -0
- package/dist/{common → core}/types/localization/CommonCopy.d.ts +2 -0
- package/dist/{common → core}/types/localization/DebtsCopy.d.ts +5 -0
- package/dist/{common → core}/types/localization/RecurringCopy.d.ts +2 -0
- package/dist/{common → core}/types/localization/SpendingCopy.d.ts +1 -0
- package/dist/dashboard/index.es.js +46 -45
- package/dist/debts/DebtsWidget.d.ts +1 -1
- package/dist/debts/components/actions/DebtsPriorityAction.d.ts +5 -1
- package/dist/debts/components/debtspaydown/PaydownButton.d.ts +2 -1
- package/dist/debts/components/debtspriority/DebtsPriorityButton.d.ts +2 -1
- package/dist/debts/index.es.js +705 -646
- package/dist/debts/store/DebtsStore.d.ts +2 -1
- package/dist/debts/utils/DebtStore.d.ts +1 -1
- package/dist/debts/utils/DebtsWidget.d.ts +7 -1
- package/dist/debts/utils/shared.d.ts +1 -1
- package/dist/{exportTransactionsToCSV-CGnrndmA.mjs → exportTransactionsToCSV-MCYH_zzN.mjs} +5 -5
- package/dist/finstrong/FinstrongWidget.d.ts +1 -1
- package/dist/finstrong/api/FinstrongApi.d.ts +1 -1
- package/dist/finstrong/components/HealthChart.d.ts +1 -1
- package/dist/finstrong/components/onboarding/OnboardingAddMonthlyIncome.d.ts +1 -1
- package/dist/finstrong/components/onboarding/OnboardingStepsDrawer.d.ts +1 -1
- package/dist/finstrong/components/shared/Accounts.d.ts +1 -1
- package/dist/finstrong/components/shared/DoubleBarChart.d.ts +1 -0
- package/dist/finstrong/components/shared/ScoreHistoryTimeline.d.ts +1 -1
- package/dist/finstrong/components/shared/Transactions.d.ts +1 -1
- package/dist/finstrong/index.es.js +161 -159
- package/dist/finstrong/stores/FinstrongStore.d.ts +3 -2
- package/dist/finstrong/util/finstrongUtils.d.ts +3 -3
- package/dist/goals/GoalsWidget.d.ts +1 -1
- package/dist/goals/api/GoalApi.d.ts +2 -2
- package/dist/goals/components/AccountSelectionDrawer.d.ts +1 -1
- package/dist/goals/components/AddGoal.d.ts +1 -1
- package/dist/goals/components/GoalDetails.d.ts +1 -1
- package/dist/goals/components/GoalDetailsDrawer.d.ts +1 -1
- package/dist/goals/components/GoalList.d.ts +1 -1
- package/dist/goals/components/GoalStatusCard.d.ts +1 -1
- package/dist/goals/components/ManageGoals.d.ts +1 -1
- package/dist/goals/components/actions/AccountAction.d.ts +1 -1
- package/dist/goals/components/actions/AddRetirementAccountAction.d.ts +1 -1
- package/dist/goals/components/actions/AmountToSaveAction.d.ts +1 -1
- package/dist/goals/components/actions/BirthdayAction.d.ts +1 -1
- package/dist/goals/components/actions/ChangeAccountAction.d.ts +1 -1
- package/dist/goals/components/actions/ContributionAction.d.ts +1 -1
- package/dist/goals/components/actions/GoalNameAction.d.ts +1 -1
- package/dist/goals/components/actions/InterestRateAction.d.ts +1 -1
- package/dist/goals/components/actions/MonthlyPaymentAction.d.ts +1 -1
- package/dist/goals/components/actions/OriginalBalanceAction.d.ts +1 -1
- package/dist/goals/components/actions/RetirementAgeAction.d.ts +1 -1
- package/dist/goals/components/addgoal/AddGoalListItem.d.ts +1 -1
- package/dist/goals/components/managegoals/CompleteListItem.d.ts +1 -1
- package/dist/goals/components/managegoals/OngoingListItem.d.ts +1 -1
- package/dist/goals/components/managegoals/ReorderGoals.d.ts +1 -1
- package/dist/goals/components/micro/GoalMicroStatusCard.d.ts +1 -1
- package/dist/goals/index.es.js +445 -419
- package/dist/goals/stores/GoalStore.d.ts +2 -1
- package/dist/goals/util/GoalsUtil.d.ts +1 -1
- package/dist/help/HelpWidget.d.ts +1 -1
- package/dist/help/api/HelpApi.d.ts +1 -1
- package/dist/help/components/HelpContent.d.ts +1 -1
- package/dist/help/components/HelpList.d.ts +1 -1
- package/dist/help/components/content/BottomImageContent.d.ts +1 -1
- package/dist/help/components/content/ContentItem.d.ts +1 -1
- package/dist/help/components/content/LeftImageContent.d.ts +1 -1
- package/dist/help/components/content/NoImageContent.d.ts +1 -1
- package/dist/help/components/content/RightImageContent.d.ts +1 -1
- package/dist/help/components/content/TopImageContent.d.ts +1 -1
- package/dist/help/components/content/section/Accounts.d.ts +1 -1
- package/dist/help/components/content/section/Budgets.d.ts +1 -1
- package/dist/help/components/content/section/CashFlow.d.ts +1 -1
- package/dist/help/components/content/section/Debts.d.ts +1 -1
- package/dist/help/components/content/section/General.d.ts +1 -1
- package/dist/help/components/content/section/Goals.d.ts +1 -1
- package/dist/help/components/content/section/Insights.d.ts +1 -1
- package/dist/help/components/content/section/Investments.d.ts +1 -1
- package/dist/help/components/content/section/Mobile.d.ts +1 -1
- package/dist/help/components/content/section/NetWorth.d.ts +1 -1
- package/dist/help/components/content/section/Notifications.d.ts +1 -1
- package/dist/help/components/content/section/RecurringTransactions.d.ts +1 -1
- package/dist/help/components/content/section/Spending.d.ts +1 -1
- package/dist/help/components/content/section/Transactions.d.ts +1 -1
- package/dist/help/components/content/section/Trends.d.ts +1 -1
- package/dist/help/components/content/section/index.d.ts +15 -15
- package/dist/help/components/requestsupport/ContactSupport.d.ts +1 -1
- package/dist/help/components/requestsupport/HelpByCategoryList.d.ts +1 -1
- package/dist/help/components/requestsupport/MissingInstitution.d.ts +1 -1
- package/dist/help/components/requestsupport/PopularTopicsDrawer.d.ts +1 -1
- package/dist/help/components/requestsupport/PopularTopicsList.d.ts +1 -1
- package/dist/help/components/requestsupport/RequestSupport.d.ts +1 -1
- package/dist/help/components/requestsupport/RequestSupportFooter.d.ts +1 -1
- package/dist/help/components/requestsupport/RequestSupportInstitution.d.ts +1 -1
- package/dist/help/components/requestsupport/SupportSuccessMessage.d.ts +1 -1
- package/dist/help/index.es.js +8 -8
- package/dist/help/store/HelpStore.d.ts +5 -4
- package/dist/help/utils/getAccessibleHelpCategories.d.ts +2 -2
- package/dist/{hooks-CBl85iRr.mjs → hooks-BxkfR-Ff.mjs} +12 -12
- package/dist/insights/components/feed/Header.d.ts +8 -0
- package/dist/insights/components/index.d.ts +4 -0
- package/dist/insights/components/insights/CategoryBudget/types/CategoryBudget.d.ts +1 -0
- package/dist/insights/components/insights/CategorySpendingV2/types/CategorySpendingV2.d.ts +1 -0
- package/dist/insights/components/shared/ChartDrawerTemplate/ChartDrawerTemplate.d.ts +2 -1
- package/dist/insights/components/shared/ChartDrawerTemplate/TipSection.d.ts +3 -1
- package/dist/insights/components/shared/ChartTransactionWithDrillDown.d.ts +2 -1
- package/dist/insights/components/shared/DonutChartV2.d.ts +13 -0
- package/dist/insights/components/shared/InsightsCard/BeatCardMUI.d.ts +20 -0
- package/dist/insights/components/shared/InsightsCard/CardHeaderMUI.d.ts +11 -0
- package/dist/insights/components/shared/InsightsCard/ContentAndDescriptionMUI.d.ts +17 -0
- package/dist/insights/components/shared/InsightsCard/DescriptionMUI.d.ts +12 -0
- package/dist/insights/components/shared/InsightsCard/MiniDescriptionMUI.d.ts +9 -0
- package/dist/insights/components/shared/StatusIndicator.d.ts +1 -1
- package/dist/insights/components/shared/TransactionCard.d.ts +14 -0
- package/dist/insights/index.es.js +1361 -1081
- package/dist/insights/store/BeatStore.d.ts +1 -1
- package/dist/investments/InvestmentsWidget.d.ts +1 -1
- package/dist/investments/api/HoldingApi.d.ts +1 -1
- package/dist/investments/components/allocation/util/createInvestementsAllocationData.d.ts +2 -2
- package/dist/investments/index.es.js +258 -258
- package/dist/investments/stores/HoldingStore.d.ts +2 -1
- package/dist/investments/util/InvestmentUtil.d.ts +1 -1
- package/dist/merchants/api/MerchantApi.d.ts +1 -1
- package/dist/merchants/index.es.js +16 -16
- package/dist/merchants/stores/MerchantStore.d.ts +2 -1
- package/dist/microinsights/InsightsMicroWidget.d.ts +1 -1
- package/dist/microinsights/beaticons/AreaChartIcon.d.ts +3 -0
- package/dist/microinsights/beaticons/AverageSpendComparisonIcon.d.ts +3 -0
- package/dist/microinsights/beaticons/BeatMaterialIcon.d.ts +5 -1
- package/dist/microinsights/beaticons/InstitutionLogoIcon.d.ts +5 -0
- package/dist/microinsights/beaticons/MonthlySpendComparisonIcon.d.ts +0 -2
- package/dist/microinsights/beaticons/index.d.ts +3 -0
- package/dist/microinsights/cards/InsightCard.d.ts +1 -1
- package/dist/microinsights/carousel/BeatList.d.ts +1 -1
- package/dist/microinsights/carousel/CarouselHeader.d.ts +1 -1
- package/dist/microinsights/carousel/MicroBeatCarousel.d.ts +1 -1
- package/dist/microinsights/constants/Analytics.d.ts +1 -1
- package/dist/microinsights/context/InsightsMicroWidgetDataProvider.d.ts +1 -1
- package/dist/microinsights/context/hooks.d.ts +1 -1
- package/dist/microinsights/index.es.js +1 -1
- package/dist/microinsights/interfaces.d.ts +1 -1
- package/dist/microinsights/stores/CopyStore.d.ts +1 -1
- package/dist/microinsights/stores/InsightsMicroWidgetStore.d.ts +1 -1
- package/dist/microinsights/utils/DataSeries.d.ts +1 -1
- package/dist/microinsights/utils/colorType.d.ts +22 -0
- package/dist/networth/NetWorthWidget.d.ts +1 -1
- package/dist/networth/components/micro/NetworthData.d.ts +1 -1
- package/dist/networth/components/micro/ZeroState.d.ts +1 -1
- package/dist/networth/index.es.js +181 -174
- package/dist/networth/stores/NetWorthStore.d.ts +2 -1
- package/dist/networth/types/NetWorth.d.ts +1 -1
- package/dist/networth/utils/NetWorthUtils.d.ts +1 -1
- package/dist/notifications/components/NotificationBadge.d.ts +1 -1
- package/dist/notifications/components/NotificationCard.d.ts +1 -1
- package/dist/notifications/components/NotificationDrawer.d.ts +1 -1
- package/dist/notifications/components/NotificationList.d.ts +2 -1
- package/dist/notifications/index.es.js +104 -92
- package/dist/notifications/stores/NotificationStore.d.ts +2 -1
- package/dist/notifications/utils/NotificationUtils.d.ts +2 -1
- package/dist/recurringtransactions/RecurringTransactionsMiniWidget.d.ts +1 -1
- package/dist/recurringtransactions/RecurringTransactionsWidget.d.ts +1 -1
- package/dist/recurringtransactions/api/RepeatingTransactionsApi.d.ts +2 -1
- package/dist/recurringtransactions/components/PaymentSchedule.d.ts +1 -1
- package/dist/recurringtransactions/components/RecurrenceList.d.ts +1 -1
- package/dist/recurringtransactions/components/RecurrenceRow.d.ts +1 -1
- package/dist/recurringtransactions/components/RecurringTransactionDetails.d.ts +1 -1
- package/dist/recurringtransactions/components/actions/PaymentScheduleAction.d.ts +1 -1
- package/dist/recurringtransactions/components/micro/MerchantLogosRow.d.ts +1 -1
- package/dist/recurringtransactions/components/micro/OverlappingMerchantLogos.d.ts +1 -1
- package/dist/recurringtransactions/components/shared/recurringsettings/AddRecurringTransactionDetails.d.ts +1 -1
- package/dist/recurringtransactions/components/shared/recurringsettings/RecurringRow.d.ts +1 -1
- package/dist/recurringtransactions/index.es.js +477 -451
- package/dist/recurringtransactions/stores/RecurringTransactionsStore.d.ts +2 -1
- package/dist/recurringtransactions/util/RecurringTransactions.d.ts +1 -1
- package/dist/repeatingTransactions-DHIG94pi.mjs +4 -0
- package/dist/settings/NotificationSettingsWidget.d.ts +1 -1
- package/dist/settings/SettingsWidget.d.ts +1 -1
- package/dist/settings/TransactionRulesWidget.d.ts +1 -1
- package/dist/settings/api/SettingsApi.d.ts +1 -2
- package/dist/settings/components/devices/DeviceDialog.d.ts +1 -1
- package/dist/settings/components/devices/DeviceList.d.ts +1 -1
- package/dist/settings/components/devices/DeviceTable.d.ts +1 -1
- package/dist/settings/components/notifications/AccountNotificationProfile.d.ts +1 -1
- package/dist/settings/components/notifications/AccountProfileListItem.d.ts +1 -1
- package/dist/settings/components/notifications/NotificationProfile.d.ts +1 -1
- package/dist/settings/components/notifications/NotificationSettings.d.ts +1 -1
- package/dist/settings/components/transactionrules/actions/EditRuleAction.d.ts +1 -1
- package/dist/settings/index.es.js +314 -323
- package/dist/settings/stores/SettingsStore.d.ts +3 -2
- package/dist/settings/util/Notifications.d.ts +1 -1
- package/dist/spending/SpendingMiniWidget.d.ts +1 -1
- package/dist/spending/SpendingWidget.d.ts +1 -1
- package/dist/spending/index.es.js +167 -166
- package/dist/spending/utils/SpendingData.d.ts +1 -1
- package/dist/transactions/TransactionWidget.d.ts +1 -1
- package/dist/transactions/api/TransactionApi.d.ts +1 -1
- package/dist/transactions/components/shared/TransactionDetails.d.ts +1 -1
- package/dist/transactions/components/shared/TransactionList.d.ts +1 -1
- package/dist/transactions/components/shared/getEmbeddedInstanceSlotByBeatTemplates.d.ts +1 -1
- package/dist/transactions/components/shared/transactiondetails/Description.d.ts +1 -1
- package/dist/transactions/components/shared/transactiondetails/FlagTransaction.d.ts +1 -1
- package/dist/transactions/components/shared/transactiondetails/TransactionAmountHeader.d.ts +1 -1
- package/dist/transactions/components/shared/transactiondetails/TransactionDetailsView.d.ts +1 -1
- package/dist/transactions/components/shared/transactiondetails/actions/AddMerchantBudgetAction.d.ts +13 -0
- package/dist/transactions/components/shared/transactiondetails/actions/CategoryAction.d.ts +1 -1
- package/dist/transactions/components/shared/transactiondetails/actions/DateAction.d.ts +1 -1
- package/dist/transactions/components/shared/transactiondetails/actions/DeleteAction.d.ts +1 -1
- package/dist/transactions/components/shared/transactiondetails/actions/DeleteLogoAction.d.ts +1 -1
- package/dist/transactions/components/shared/transactiondetails/actions/HideAction.d.ts +1 -1
- package/dist/transactions/components/shared/transactiondetails/actions/MemoAction.d.ts +1 -1
- package/dist/transactions/components/shared/transactiondetails/actions/SplitAction.d.ts +1 -1
- package/dist/transactions/components/shared/transactiondetails/actions/TagsAction.d.ts +1 -1
- package/dist/transactions/components/shared/transactiondetails/actions/index.d.ts +1 -0
- package/dist/transactions/components/shared/transactionlist/TransactionRow.d.ts +1 -1
- package/dist/transactions/components/splitmanager/SplitManager.d.ts +1 -1
- package/dist/transactions/components/splitmanager/SplitRow.d.ts +1 -1
- package/dist/transactions/components/tagmanager/TagRow.d.ts +1 -1
- package/dist/transactions/components/transactionwidget/actions/EditCategoryAction.d.ts +1 -1
- package/dist/transactions/components/transactionwidget/actions/ExportCsvAction.d.ts +1 -1
- package/dist/transactions/constants/Actions.d.ts +4 -3
- package/dist/transactions/constants/Transaction.d.ts +1 -1
- package/dist/transactions/index.es.js +195 -187
- package/dist/transactions/stores/TransactionStore.d.ts +2 -1
- package/dist/transactions/stores/UiStore.d.ts +1 -1
- package/dist/transactions/utils/Filters.d.ts +1 -1
- package/dist/transactions/utils/Transactions.d.ts +1 -1
- package/dist/transactions/utils/buildDetailedTransactions.d.ts +2 -2
- package/dist/transactions/utils/exportTransactionsToCSV.d.ts +1 -1
- package/dist/transactions/utils/sortAndFilterTransactions.d.ts +1 -1
- package/dist/trends/TrendsFullWidget.d.ts +1 -1
- package/dist/trends/TrendsMiniWidget.d.ts +1 -1
- package/dist/trends/TrendsWidget.d.ts +1 -1
- package/dist/trends/components/CategoriesList.d.ts +1 -1
- package/dist/trends/components/CategoriesListItem.d.ts +1 -1
- package/dist/trends/components/CategoryDetails.d.ts +3 -0
- package/dist/trends/components/TrendsChartTotals.d.ts +1 -1
- package/dist/trends/components/TrendsInsights.d.ts +1 -1
- package/dist/trends/components/trendstable/AccessibleSortIcon.d.ts +13 -0
- package/dist/trends/components/trendstable/TrendsTable.d.ts +1 -1
- package/dist/trends/index.es.js +817 -764
- package/dist/trends/stores/TrendsStore.d.ts +2 -1
- package/dist/trends/utils/SpendingData.d.ts +1 -1
- package/dist/trends/utils/TrendsData.d.ts +1 -1
- package/dist/trends/utils/TrendsTable.d.ts +1 -1
- package/dist/trends/utils/TrendsWidget.d.ts +7 -0
- package/dist/trends/utils/shared.d.ts +1 -1
- package/dist/{useAccountDisplayName-b2xxcD0C.mjs → useAccountDisplayName-DKwT1mWv.mjs} +1 -1
- package/dist/{useCombineEvents-ARuNN9Xh.mjs → useCombineEvents-Bqojlv8q.mjs} +3 -3
- package/dist/{useInsightsEnabled-Dd-AfsqC.mjs → useInsightsEnabled-DL_oNyI0.mjs} +1 -1
- package/dist/{useWidgetLoadTimer-DmNCCLa-.mjs → useWidgetLoadTimer-DgN1bTyu.mjs} +1 -1
- package/package.json +17 -10
- package/dist/AccountDetailsHeader-Bn2E0Qjk.mjs +0 -95
- package/dist/AccountListItem-k63LpVBs.mjs +0 -90
- package/dist/Accounts-CuE8aSZN.mjs +0 -27
- package/dist/BudgetUtil-BZiGckNY.mjs +0 -238
- package/dist/CashflowStore-naOtJcwo.mjs +0 -91
- package/dist/CurrencyInput-BEB3FS70.mjs +0 -85
- package/dist/Dialog-jmgGw5WA.mjs +0 -58
- package/dist/GlobalAccountFilter-CIF-aT3F.mjs +0 -316
- package/dist/GoalStore-BjHKNAVm.mjs +0 -421
- package/dist/HeaderCell-DjuifqHJ.mjs +0 -6
- package/dist/LineChart-CnscUFUG.mjs +0 -580
- package/dist/Loader-icSc5MlE.mjs +0 -24
- package/dist/Localization-2MODESHW.mjs +0 -30
- package/dist/MicroWidgetContainer-CBRk9KG-.mjs +0 -45
- package/dist/MiniWidgetContainer-CXQcSWSl.mjs +0 -56
- package/dist/Notification-Bs1fdbzI.mjs +0 -95
- package/dist/RecurringTransactions-DlKYwpfK.mjs +0 -296
- package/dist/SearchBox-B2_zLv8-.mjs +0 -42
- package/dist/SpendingLegend-Bld71d7q.mjs +0 -193
- package/dist/StatusIndicator-CNMQeYyJ.mjs +0 -55
- package/dist/TransactionDetails-Lvt9GCU5.mjs +0 -1194
- package/dist/TransactionList-BDffKJMO.mjs +0 -204
- package/dist/User-DS18cMaz.mjs +0 -237
- package/dist/ViewMoreMicroCard-YHRLl08A.mjs +0 -1152
- package/dist/common/components/barchart/Bar.d.ts +0 -25
- package/dist/common/components/barchart/BarChart.d.ts +0 -34
- package/dist/common/components/barchart/BarColumn.d.ts +0 -37
- package/dist/common/components/barchart/Legend.d.ts +0 -8
- package/dist/common/components/barchart/Util.d.ts +0 -42
- package/dist/common/components/barchart/index.d.ts +0 -1
- package/dist/common/types/SpendingPlan.d.ts +0 -44
- package/dist/transactions/components/shared/transactionlist/DateRow.d.ts +0 -7
- package/dist/trends/components/CategoryDetailDrawer.d.ts +0 -7
- /package/dist/{common → core}/types/Account.d.ts +0 -0
- /package/dist/{common → core}/types/Cashflow.d.ts +0 -0
- /package/dist/{common → core}/types/Category.d.ts +0 -0
- /package/dist/{common → core}/types/Client.d.ts +0 -0
- /package/dist/{common → core}/types/Date.d.ts +0 -0
- /package/dist/{common → core}/types/Debt.d.ts +0 -0
- /package/dist/{common → core}/types/Global.d.ts +0 -0
- /package/dist/{common → core}/types/GlobalCopy.d.ts +0 -0
- /package/dist/{common → core}/types/Goal.d.ts +0 -0
- /package/dist/{common → core}/types/Handlers.d.ts +0 -0
- /package/dist/{common → core}/types/Help.d.ts +0 -0
- /package/dist/{common → core}/types/Holding.d.ts +0 -0
- /package/dist/{common → core}/types/Institution.d.ts +0 -0
- /package/dist/{common → core}/types/LocalizedContent.d.ts +0 -0
- /package/dist/{common → core}/types/Merchant.d.ts +0 -0
- /package/dist/{common → core}/types/RepeatingTransaction.d.ts +0 -0
- /package/dist/{common → core}/types/ScheduledPayment.d.ts +0 -0
- /package/dist/{common → core}/types/ScreenSize.d.ts +0 -0
- /package/dist/{common → core}/types/Transaction.d.ts +0 -0
- /package/dist/{common → core}/types/User.d.ts +0 -0
- /package/dist/{common → core}/types/Widgets.d.ts +0 -0
- /package/dist/{common → core}/types/localization/AccountFilterCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/AccountTypeCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/AccountsCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/AnalyticsCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/CategoryCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/ConnectCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/CurrencyInputCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/DateRangePickerCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/FinstrongCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/GoalsCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/HelpCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/InsightsFeedCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/InvestmentsCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/MicroInsightsCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/NetWorthCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/NotificationsCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/SettingsCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/TransactionsCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/TrendsCopy.d.ts +0 -0
- /package/dist/{common → core}/types/localization/index.d.ts +0 -0
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
import { jsx as t, jsxs as
|
|
1
|
+
import { jsx as t, jsxs as _ } from "react/jsx-runtime";
|
|
2
2
|
import { observer as E } from "mobx-react-lite";
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import { G as
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
3
|
+
import p from "react";
|
|
4
|
+
import $ from "@mui/material/Stack";
|
|
5
|
+
import { G as K, l as f, u as S, g as A, b as B } from "./hooks-BxkfR-Ff.mjs";
|
|
6
|
+
import U from "@mui/material/List";
|
|
7
|
+
import V from "@mui/material/Paper";
|
|
8
|
+
import Y from "@mui/material/Divider";
|
|
9
9
|
import x from "@mui/material/ListItem";
|
|
10
|
-
import
|
|
10
|
+
import W from "@mui/material/ListItemAvatar";
|
|
11
11
|
import N from "@mui/material/ListItemButton";
|
|
12
|
-
import
|
|
12
|
+
import F from "@mui/material/ListItemIcon";
|
|
13
13
|
import G from "@mui/material/ListItemText";
|
|
14
|
-
import { CheckCircle as
|
|
15
|
-
import { Text as
|
|
14
|
+
import { CheckCircle as M, Edit as j, Delete as X, ExpandMore as z } from "@mxenabled/mx-icons";
|
|
15
|
+
import { Text as q, TextField as H, CategoryIcon as J } from "@mxenabled/mxui";
|
|
16
16
|
import Q from "@mui/material/Collapse";
|
|
17
17
|
import Z from "@mui/material/DialogContent";
|
|
18
|
-
import { b as
|
|
19
|
-
import { D as ee } from "./Dialog-
|
|
18
|
+
import { b as g } from "./Localization-CPkpIwIx.mjs";
|
|
19
|
+
import { D as ee } from "./Dialog-Ck34yr-d.mjs";
|
|
20
20
|
import te from "@mui/material/Box";
|
|
21
21
|
import oe from "@mui/material/Chip";
|
|
22
22
|
import v from "@mui/material/IconButton";
|
|
23
23
|
import { u as ae } from "./useAriaLive-MkYebyUR.mjs";
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import { D as ne } from "./Drawer-
|
|
27
|
-
const
|
|
28
|
-
if (!
|
|
24
|
+
import { S as re } from "./SearchBox-CwDgvWVJ.mjs";
|
|
25
|
+
import { L as k } from "./Loader-D3rjKx72.mjs";
|
|
26
|
+
import { D as ne } from "./Drawer-Bbe4AMB1.mjs";
|
|
27
|
+
const b = () => {
|
|
28
|
+
if (!p.useContext(K))
|
|
29
29
|
throw new Error("useCategoryUiStore() must be used within the GlobalDataContext");
|
|
30
|
-
return
|
|
30
|
+
return f().uiStore;
|
|
31
31
|
}, C = {
|
|
32
32
|
ON_CATEGORY_EXPANDED: "onCategoryExpanded",
|
|
33
33
|
ON_CATEGORY_COLLAPSED: "onCategoryCollapsed",
|
|
@@ -49,20 +49,20 @@ const se = ({
|
|
|
49
49
|
isOpen: l,
|
|
50
50
|
type: i
|
|
51
51
|
}) => {
|
|
52
|
-
const [a, c] =
|
|
52
|
+
const [a, c] = p.useState(e), { categories: r } = S(), { setShouldDisableDrawerScroll: n } = b();
|
|
53
53
|
let d = "", m = [];
|
|
54
|
-
const u = i === "delete",
|
|
54
|
+
const u = i === "delete", h = e.length > 50 ? `${e.slice(0, 50)}...` : e, y = i === "edit" ? g(r.edit_subcategory_aria, h) : r.add_subcategory_aria;
|
|
55
55
|
switch (i) {
|
|
56
56
|
case "add":
|
|
57
57
|
d = r.add_subcategory_title;
|
|
58
58
|
break;
|
|
59
59
|
case "edit":
|
|
60
|
-
d =
|
|
60
|
+
d = g(r.edit_subcategory_title, h);
|
|
61
61
|
break;
|
|
62
62
|
case "delete":
|
|
63
|
-
d = r.delete_subcategory_heading, m =
|
|
63
|
+
d = r.delete_subcategory_heading, m = g(
|
|
64
64
|
r.all_transactions_in_this_subcategory,
|
|
65
|
-
/* @__PURE__ */ t(
|
|
65
|
+
/* @__PURE__ */ t(q, { bold: !0, component: "span", children: g(r.all_parent_category, h) })
|
|
66
66
|
);
|
|
67
67
|
break;
|
|
68
68
|
}
|
|
@@ -80,15 +80,16 @@ const se = ({
|
|
|
80
80
|
onPrimaryAction: () => {
|
|
81
81
|
n(!1), o(a);
|
|
82
82
|
},
|
|
83
|
-
children: /* @__PURE__ */ t(Z, { children: u ?
|
|
83
|
+
children: /* @__PURE__ */ t(Z, { children: u ? m : /* @__PURE__ */ t(
|
|
84
84
|
H,
|
|
85
85
|
{
|
|
86
86
|
inputProps: {
|
|
87
|
-
"aria-label":
|
|
87
|
+
"aria-label": y,
|
|
88
88
|
maxLength: 50
|
|
89
89
|
},
|
|
90
|
+
label: y,
|
|
90
91
|
name: "modify-subcategory",
|
|
91
|
-
onChange: (
|
|
92
|
+
onChange: (D) => c(D.target.value),
|
|
92
93
|
placeholder: r.input_placeholder,
|
|
93
94
|
sx: { width: "100%" },
|
|
94
95
|
value: a
|
|
@@ -97,19 +98,19 @@ const se = ({
|
|
|
97
98
|
}
|
|
98
99
|
);
|
|
99
100
|
}, R = E(se), ie = ({ announce: e, parentCategory: s }) => {
|
|
100
|
-
const [o, l] =
|
|
101
|
-
await i(u.trim(), s.guid), e(
|
|
101
|
+
const [o, l] = p.useState(!1), { addCategory: i } = f(), { categories: a } = S(), { onEvent: c } = A(), { setShouldDisableDrawerScroll: r } = b(), n = async (u) => {
|
|
102
|
+
await i(u.trim(), s.guid), e(g(a.add_subcategory_announcement, u)), c(C.ON_SUBCATEGORY_ADDED), l(!1);
|
|
102
103
|
}, d = async () => {
|
|
103
104
|
c(C.ON_SUBCATEGORY_ADD_CLICK), r(!0), l(!0);
|
|
104
105
|
}, m = () => {
|
|
105
106
|
l(!1), c(C.ON_SUBCATEGORY_ADD_CANCEL_CLICK);
|
|
106
107
|
};
|
|
107
|
-
return /* @__PURE__ */
|
|
108
|
+
return /* @__PURE__ */ _(x, { disableGutters: !0, disablePadding: !0, children: [
|
|
108
109
|
/* @__PURE__ */ t(N, { onClick: d, sx: { ml: 60 }, children: /* @__PURE__ */ t(
|
|
109
110
|
G,
|
|
110
111
|
{
|
|
111
112
|
primary: a.add_subcategory_button,
|
|
112
|
-
primaryTypographyProps: { color: "primary", fontWeight: "normal", variant: "
|
|
113
|
+
primaryTypographyProps: { color: "primary", fontWeight: "normal", variant: "body1" }
|
|
113
114
|
}
|
|
114
115
|
) }),
|
|
115
116
|
o && /* @__PURE__ */ t(
|
|
@@ -128,8 +129,8 @@ const se = ({
|
|
|
128
129
|
subCategory: o,
|
|
129
130
|
showRename: l
|
|
130
131
|
}) => {
|
|
131
|
-
const { onEvent: i } =
|
|
132
|
-
await a({ ...o, name: d }), e(
|
|
132
|
+
const { onEvent: i } = A(), { updateCategory: a } = f(), { categories: c } = S(), r = async (d) => {
|
|
133
|
+
await a({ ...o, name: d }), e(g(c.edit_subcategory_announcement, o.name, d)), i(C.ON_SUBCATEGORY_SAVED), s(!1);
|
|
133
134
|
}, n = () => {
|
|
134
135
|
s(!1), i(C.ON_SUBCATEGORY_EDIT_CANCEL_CLICK);
|
|
135
136
|
};
|
|
@@ -150,10 +151,10 @@ const se = ({
|
|
|
150
151
|
setShowDelete: l,
|
|
151
152
|
subCategory: i
|
|
152
153
|
}) => {
|
|
153
|
-
const { onEvent: a } =
|
|
154
|
+
const { onEvent: a } = A(), { removeCategory: c } = f(), { categories: r } = S(), n = () => {
|
|
154
155
|
l(!1), a(C.ON_SUBCATEGORY_DELETE_CLICK);
|
|
155
156
|
}, d = async () => {
|
|
156
|
-
await c(i.guid), e(
|
|
157
|
+
await c(i.guid), e(g(r.delete_subcategory_announcement, i.name)), a(C.ON_SUBCATEGORY_DELETED), l(!1);
|
|
157
158
|
};
|
|
158
159
|
return /* @__PURE__ */ t(
|
|
159
160
|
R,
|
|
@@ -178,8 +179,8 @@ const se = ({
|
|
|
178
179
|
showSelected: r,
|
|
179
180
|
unselectable: n,
|
|
180
181
|
unselectableText: d
|
|
181
|
-
} =
|
|
182
|
-
return /* @__PURE__ */
|
|
182
|
+
} = b(), { categories: m } = S(), { onEvent: u } = A(), [h, y] = p.useState(!1), [D, O] = p.useState(!1), T = !!o.revision, w = o.guid === i, I = !n.some((P) => P === o.guid);
|
|
183
|
+
return /* @__PURE__ */ _(
|
|
183
184
|
x,
|
|
184
185
|
{
|
|
185
186
|
className: "mx-cat-subcategory-row",
|
|
@@ -187,67 +188,74 @@ const se = ({
|
|
|
187
188
|
disablePadding: !0,
|
|
188
189
|
sx: { pl: 58 },
|
|
189
190
|
children: [
|
|
190
|
-
/* @__PURE__ */
|
|
191
|
+
/* @__PURE__ */ _(
|
|
191
192
|
N,
|
|
192
193
|
{
|
|
193
194
|
"aria-pressed": w,
|
|
194
195
|
color: "secondary",
|
|
195
196
|
onClick: () => {
|
|
196
|
-
|
|
197
|
+
I && (a(o.guid), l(o.guid), u(C.ON_CATEGORY_SELECTED));
|
|
197
198
|
},
|
|
198
|
-
sx: { height: 44 },
|
|
199
|
+
sx: { height: 44, minWidth: 0, overflow: "hidden" },
|
|
199
200
|
children: [
|
|
200
201
|
/* @__PURE__ */ t(
|
|
201
202
|
G,
|
|
202
203
|
{
|
|
203
204
|
primary: o.name,
|
|
204
|
-
primaryTypographyProps: { fontWeight: "normal", variant: "
|
|
205
|
+
primaryTypographyProps: { fontWeight: "normal", variant: "body1", noWrap: !0 }
|
|
205
206
|
}
|
|
206
207
|
),
|
|
207
|
-
r && w && /* @__PURE__ */ t(
|
|
208
|
-
!
|
|
208
|
+
r && w && /* @__PURE__ */ t(M, { fontSize: "small" }),
|
|
209
|
+
!I && /* @__PURE__ */ t(oe, { label: d })
|
|
209
210
|
]
|
|
210
211
|
}
|
|
211
212
|
),
|
|
212
|
-
T && /* @__PURE__ */
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
213
|
+
T && /* @__PURE__ */ _(
|
|
214
|
+
te,
|
|
215
|
+
{
|
|
216
|
+
className: "mx-cat-subcategory-edit-container",
|
|
217
|
+
sx: { marginRight: 24, flexShrink: 0 },
|
|
218
|
+
children: [
|
|
219
|
+
/* @__PURE__ */ t(
|
|
220
|
+
v,
|
|
221
|
+
{
|
|
222
|
+
"aria-label": g(m.edit_subcategory_title, o.name),
|
|
223
|
+
onClick: () => {
|
|
224
|
+
y(!0), c(!0), u(C.ON_SUBCATEGORY_EDIT_CLICK);
|
|
225
|
+
},
|
|
226
|
+
children: /* @__PURE__ */ t(j, { color: "secondary" })
|
|
227
|
+
}
|
|
228
|
+
),
|
|
229
|
+
/* @__PURE__ */ t(
|
|
230
|
+
v,
|
|
231
|
+
{
|
|
232
|
+
"aria-label": g(m.delete_subcategory_aria, o.name),
|
|
233
|
+
edge: "end",
|
|
234
|
+
onClick: () => {
|
|
235
|
+
O(!0), c(!0), u(C.ON_SUBCATEGORY_DELETE_CLICK);
|
|
236
|
+
},
|
|
237
|
+
children: /* @__PURE__ */ t(X, { color: "secondary" })
|
|
238
|
+
}
|
|
239
|
+
)
|
|
240
|
+
]
|
|
241
|
+
}
|
|
242
|
+
),
|
|
243
|
+
D && /* @__PURE__ */ t(
|
|
236
244
|
me,
|
|
237
245
|
{
|
|
238
246
|
announce: e,
|
|
239
247
|
parentCategory: s,
|
|
240
|
-
setShowDelete:
|
|
241
|
-
showDelete:
|
|
248
|
+
setShowDelete: O,
|
|
249
|
+
showDelete: D,
|
|
242
250
|
subCategory: o
|
|
243
251
|
}
|
|
244
252
|
),
|
|
245
|
-
|
|
253
|
+
h && /* @__PURE__ */ t(
|
|
246
254
|
de,
|
|
247
255
|
{
|
|
248
256
|
announce: e,
|
|
249
|
-
setShowRename:
|
|
250
|
-
showRename:
|
|
257
|
+
setShowRename: y,
|
|
258
|
+
showRename: h,
|
|
251
259
|
subCategory: o
|
|
252
260
|
}
|
|
253
261
|
)
|
|
@@ -255,8 +263,8 @@ const se = ({
|
|
|
255
263
|
}
|
|
256
264
|
);
|
|
257
265
|
}, ge = E(Ce), _e = ({ categories: e, parentCategory: s }) => {
|
|
258
|
-
const { expandedGuid: o, searchValue: l } =
|
|
259
|
-
return /* @__PURE__ */
|
|
266
|
+
const { expandedGuid: o, searchValue: l } = b(), { announce: i, ariaLive: a } = ae(), c = s.guid === o, r = !!l;
|
|
267
|
+
return /* @__PURE__ */ _(
|
|
260
268
|
Q,
|
|
261
269
|
{
|
|
262
270
|
in: c || r,
|
|
@@ -265,14 +273,14 @@ const se = ({
|
|
|
265
273
|
unmountOnExit: !0,
|
|
266
274
|
children: [
|
|
267
275
|
a,
|
|
268
|
-
/* @__PURE__ */
|
|
269
|
-
|
|
276
|
+
/* @__PURE__ */ _(
|
|
277
|
+
U,
|
|
270
278
|
{
|
|
271
279
|
"aria-labelledby": `category-${s.guid}`,
|
|
272
280
|
className: "mx-cat-subcategory-list",
|
|
273
281
|
id: `subcategories-${s.guid}`,
|
|
274
282
|
children: [
|
|
275
|
-
e.map((n) => /* @__PURE__ */
|
|
283
|
+
e.map((n) => /* @__PURE__ */ _(p.Fragment, { children: [
|
|
276
284
|
/* @__PURE__ */ t(
|
|
277
285
|
ge,
|
|
278
286
|
{
|
|
@@ -281,7 +289,7 @@ const se = ({
|
|
|
281
289
|
subCategory: n
|
|
282
290
|
}
|
|
283
291
|
),
|
|
284
|
-
/* @__PURE__ */ t(
|
|
292
|
+
/* @__PURE__ */ t(Y, { "aria-hidden": "true", component: "li", sx: { ml: 58 } })
|
|
285
293
|
] }, n.guid)),
|
|
286
294
|
!r && /* @__PURE__ */ t(ce, { announce: i, parentCategory: s })
|
|
287
295
|
]
|
|
@@ -290,13 +298,13 @@ const se = ({
|
|
|
290
298
|
]
|
|
291
299
|
}
|
|
292
300
|
);
|
|
293
|
-
},
|
|
294
|
-
const { expandedGuid: o, searchValue: l, setExpandedGuid: i } =
|
|
301
|
+
}, pe = E(_e), Ee = ({ category: e, subCategories: s }) => {
|
|
302
|
+
const { expandedGuid: o, searchValue: l, setExpandedGuid: i } = b(), { onEvent: a } = A(), c = e.guid === o, r = () => {
|
|
295
303
|
const n = e.guid !== o ? e.guid : null;
|
|
296
304
|
i(n), a(n ? C.ON_CATEGORY_EXPANDED : C.ON_CATEGORY_COLLAPSED);
|
|
297
305
|
};
|
|
298
|
-
return /* @__PURE__ */
|
|
299
|
-
/* @__PURE__ */ t(x, { disableGutters: !0, disablePadding: !0, children: /* @__PURE__ */
|
|
306
|
+
return /* @__PURE__ */ _(p.Fragment, { children: [
|
|
307
|
+
/* @__PURE__ */ t(x, { disableGutters: !0, disablePadding: !0, children: /* @__PURE__ */ _(
|
|
300
308
|
N,
|
|
301
309
|
{
|
|
302
310
|
"aria-controls": `subcategories-${e.guid}`,
|
|
@@ -305,16 +313,16 @@ const se = ({
|
|
|
305
313
|
id: `category-${e.guid}`,
|
|
306
314
|
onClick: r,
|
|
307
315
|
children: [
|
|
308
|
-
/* @__PURE__ */ t(
|
|
316
|
+
/* @__PURE__ */ t(W, { children: /* @__PURE__ */ t(J, { categoryGuid: e.guid }) }),
|
|
309
317
|
/* @__PURE__ */ t(
|
|
310
318
|
G,
|
|
311
319
|
{
|
|
312
320
|
primary: e.name,
|
|
313
|
-
primaryTypographyProps: { fontWeight: "normal", variant: "
|
|
321
|
+
primaryTypographyProps: { fontWeight: "normal", variant: "body1" }
|
|
314
322
|
}
|
|
315
323
|
),
|
|
316
|
-
/* @__PURE__ */ t(
|
|
317
|
-
|
|
324
|
+
/* @__PURE__ */ t(F, { children: /* @__PURE__ */ t(
|
|
325
|
+
z,
|
|
318
326
|
{
|
|
319
327
|
sx: {
|
|
320
328
|
transition: "transform 0.3s ease-in-out",
|
|
@@ -326,16 +334,16 @@ const se = ({
|
|
|
326
334
|
},
|
|
327
335
|
e.guid
|
|
328
336
|
) }),
|
|
329
|
-
/* @__PURE__ */ t(
|
|
330
|
-
/* @__PURE__ */ t(
|
|
337
|
+
/* @__PURE__ */ t(Y, { "aria-hidden": "true", component: "li", sx: { ml: 58 } }),
|
|
338
|
+
/* @__PURE__ */ t("li", { style: { listStyle: "none" }, children: /* @__PURE__ */ t(pe, { categories: s, parentCategory: e }) })
|
|
331
339
|
] });
|
|
332
|
-
}, he = E(
|
|
333
|
-
const { categories: e } =
|
|
340
|
+
}, he = E(Ee), Se = () => {
|
|
341
|
+
const { categories: e } = f(), { searchValue: s } = b(), { categories: o } = S(), i = ((a, c = "") => a.reduce((r, n) => {
|
|
334
342
|
if (n.parent_guid === null) {
|
|
335
343
|
const m = [
|
|
336
344
|
{
|
|
337
345
|
...n,
|
|
338
|
-
name:
|
|
346
|
+
name: g(o.all_parent_category, n.name),
|
|
339
347
|
parent_guid: n.guid
|
|
340
348
|
},
|
|
341
349
|
...a
|
|
@@ -347,7 +355,7 @@ const se = ({
|
|
|
347
355
|
}
|
|
348
356
|
return r;
|
|
349
357
|
}, []))(e, s);
|
|
350
|
-
return /* @__PURE__ */ t(
|
|
358
|
+
return /* @__PURE__ */ t(V, { className: "mx-cat-category-list", sx: { boxShadow: "none" }, children: /* @__PURE__ */ t(U, { children: i.map((a) => /* @__PURE__ */ t(
|
|
351
359
|
he,
|
|
352
360
|
{
|
|
353
361
|
category: a.category,
|
|
@@ -362,22 +370,22 @@ const se = ({
|
|
|
362
370
|
unselectable: l = [],
|
|
363
371
|
unselectableText: i = "Unselectable"
|
|
364
372
|
}) => {
|
|
365
|
-
const { categories: a, loadCategories: c } =
|
|
373
|
+
const { categories: a, loadCategories: c } = f(), { common: r } = S(), { isCopyLoaded: n } = B(), {
|
|
366
374
|
searchValue: d,
|
|
367
375
|
setOnSelect: m,
|
|
368
376
|
setSearchValue: u,
|
|
369
|
-
setSelectedGuid:
|
|
370
|
-
setShowSelected:
|
|
371
|
-
setUnselectable:
|
|
372
|
-
setUnselectableText:
|
|
373
|
-
} =
|
|
374
|
-
return
|
|
377
|
+
setSelectedGuid: h,
|
|
378
|
+
setShowSelected: y,
|
|
379
|
+
setUnselectable: D,
|
|
380
|
+
setUnselectableText: O
|
|
381
|
+
} = b();
|
|
382
|
+
return p.useEffect(() => {
|
|
375
383
|
s && m(s);
|
|
376
|
-
}),
|
|
384
|
+
}), p.useEffect(() => {
|
|
377
385
|
a.length || c();
|
|
378
|
-
}, []),
|
|
379
|
-
e &&
|
|
380
|
-
}, [e, o, l, i]), n ? /* @__PURE__ */
|
|
386
|
+
}, []), p.useEffect(() => {
|
|
387
|
+
e && h(e), y(o), D(l), O(i);
|
|
388
|
+
}, [e, o, l, i]), n ? /* @__PURE__ */ _($, { className: "mx-cat-category-selector", sx: { width: "100%" }, children: [
|
|
381
389
|
/* @__PURE__ */ t(
|
|
382
390
|
re,
|
|
383
391
|
{
|
|
@@ -389,7 +397,7 @@ const se = ({
|
|
|
389
397
|
}
|
|
390
398
|
),
|
|
391
399
|
/* @__PURE__ */ t(ye, {})
|
|
392
|
-
] }) : /* @__PURE__ */ t(
|
|
400
|
+
] }) : /* @__PURE__ */ t(k, {});
|
|
393
401
|
}, De = E(be), fe = ({
|
|
394
402
|
id: e,
|
|
395
403
|
onClose: s,
|
|
@@ -397,7 +405,7 @@ const se = ({
|
|
|
397
405
|
showDrawer: l,
|
|
398
406
|
...i
|
|
399
407
|
}) => {
|
|
400
|
-
const { common: a } =
|
|
408
|
+
const { common: a } = S(), { isCopyLoaded: c } = B();
|
|
401
409
|
return c ? /* @__PURE__ */ t(
|
|
402
410
|
ne,
|
|
403
411
|
{
|
|
@@ -409,11 +417,11 @@ const se = ({
|
|
|
409
417
|
title: o,
|
|
410
418
|
children: /* @__PURE__ */ t(De, { ...i })
|
|
411
419
|
}
|
|
412
|
-
) : /* @__PURE__ */ t(
|
|
420
|
+
) : /* @__PURE__ */ t(k, {});
|
|
413
421
|
}, Je = E(fe);
|
|
414
422
|
export {
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
423
|
+
De as C,
|
|
424
|
+
Je as a,
|
|
425
|
+
he as b,
|
|
426
|
+
b as u
|
|
419
427
|
};
|
|
@@ -3,9 +3,9 @@ import { getUnixTime as n } from "date-fns/getUnixTime";
|
|
|
3
3
|
import { subMonths as c } from "date-fns/subMonths";
|
|
4
4
|
import { startOfMonth as C } from "date-fns/startOfMonth";
|
|
5
5
|
import { endOfMonth as h } from "date-fns/endOfMonth";
|
|
6
|
-
import { a as T, g as m } from "./CategoryUtil-
|
|
7
|
-
import { F as f, A as i } from "./Fetch-
|
|
8
|
-
import { b as l, c as p } from "./Category-
|
|
6
|
+
import { a as T, g as m } from "./CategoryUtil-BVixr0d5.mjs";
|
|
7
|
+
import { F as f, A as i } from "./Fetch-B6tMJC1r.mjs";
|
|
8
|
+
import { b as l, c as p } from "./Category-CevNQ03n.mjs";
|
|
9
9
|
class d {
|
|
10
10
|
fetchInstance;
|
|
11
11
|
constructor(t, e, o) {
|
|
@@ -3,8 +3,8 @@ import { startOfMonth as T } from "date-fns/startOfMonth";
|
|
|
3
3
|
import { startOfToday as C } from "date-fns/startOfToday";
|
|
4
4
|
import { subMonths as N } from "date-fns/subMonths";
|
|
5
5
|
import { CategoryIconList as O } from "@mxenabled/mxui";
|
|
6
|
-
import { C as b, a as D, b as E } from "./Category-
|
|
7
|
-
import { f as R, D as v } from "./DateFormats-
|
|
6
|
+
import { C as b, a as D, b as E } from "./Category-CevNQ03n.mjs";
|
|
7
|
+
import { f as R, D as v } from "./DateFormats-BMpMrZpW.mjs";
|
|
8
8
|
const H = 3, f = 12, k = (t, o, e, r) => t.filter((n) => !n.parent_guid).map(
|
|
9
9
|
(n) => p(
|
|
10
10
|
n,
|
|
@@ -33,8 +33,8 @@ const H = 3, f = 12, k = (t, o, e, r) => t.filter((n) => !n.parent_guid).map(
|
|
|
33
33
|
...t,
|
|
34
34
|
currentAmount: c,
|
|
35
35
|
averageAmount: _(m),
|
|
36
|
-
color:
|
|
37
|
-
icon:
|
|
36
|
+
color: b[i],
|
|
37
|
+
icon: D[i],
|
|
38
38
|
isTransfer: i === E.TRANSFER,
|
|
39
39
|
monthlyAmounts: m,
|
|
40
40
|
name: h,
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { jsx as o, jsxs as e } from "react/jsx-runtime";
|
|
2
|
+
import { observer as i } from "mobx-react-lite";
|
|
3
|
+
import c from "@mui/material/Box";
|
|
4
|
+
import s from "@mui/material/CircularProgress";
|
|
5
|
+
import m from "@mui/material/Stack";
|
|
6
|
+
import { Text as a } from "@mxenabled/mxui";
|
|
7
|
+
import { M as t } from "./Accounts-CseLC3lL.mjs";
|
|
8
|
+
import { u as p } from "./hooks-BxkfR-Ff.mjs";
|
|
9
|
+
const l = ({ status: r = t.Loading }) => {
|
|
10
|
+
const { connect: n } = p();
|
|
11
|
+
return /* @__PURE__ */ o(
|
|
12
|
+
c,
|
|
13
|
+
{
|
|
14
|
+
sx: {
|
|
15
|
+
height: "calc(100% - 62px)",
|
|
16
|
+
position: "absolute",
|
|
17
|
+
width: "100%"
|
|
18
|
+
},
|
|
19
|
+
children: /* @__PURE__ */ e(m, { alignItems: "center", direction: "column", justifyContent: "center", sx: { height: "100%" }, children: [
|
|
20
|
+
r === t.Loading && /* @__PURE__ */ o(s, { color: "primary", size: 48 }),
|
|
21
|
+
/* @__PURE__ */ o(
|
|
22
|
+
a,
|
|
23
|
+
{
|
|
24
|
+
sx: {
|
|
25
|
+
color: "grey.600",
|
|
26
|
+
marginTop: "16px"
|
|
27
|
+
},
|
|
28
|
+
children: r === t.Error ? n.oops : n.loading
|
|
29
|
+
}
|
|
30
|
+
)
|
|
31
|
+
] })
|
|
32
|
+
}
|
|
33
|
+
);
|
|
34
|
+
}, S = i(l), T = "connect_widget", _ = "connections_widget";
|
|
35
|
+
export {
|
|
36
|
+
_ as C,
|
|
37
|
+
S as a,
|
|
38
|
+
T as b
|
|
39
|
+
};
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { jsx as r, jsxs as E } from "react/jsx-runtime";
|
|
2
|
+
import s from "react";
|
|
3
|
+
import { observer as _ } from "mobx-react-lite";
|
|
4
|
+
import g from "@mui/material/styles/useTheme";
|
|
5
|
+
import { ConnectWidget as x } from "@mxenabled/web-widget-sdk";
|
|
6
|
+
import { b as a, a as c } from "./Connect-eYIWqCEr.mjs";
|
|
7
|
+
import { M as i } from "./Accounts-CseLC3lL.mjs";
|
|
8
|
+
import { d as D, e as L, u as w } from "./hooks-BxkfR-Ff.mjs";
|
|
9
|
+
import { D as y } from "./Drawer-Bbe4AMB1.mjs";
|
|
10
|
+
const I = ({
|
|
11
|
+
loadWidgetProps: l,
|
|
12
|
+
onClose: m,
|
|
13
|
+
showConnectWidget: o,
|
|
14
|
+
title: u
|
|
15
|
+
}) => {
|
|
16
|
+
let n;
|
|
17
|
+
const { refreshAccounts: f } = D(), { loadWidget: d } = L(), { connect: p } = w(), [C, e] = s.useState(!1), [h, t] = s.useState(!1), {
|
|
18
|
+
palette: { mode: S }
|
|
19
|
+
} = g();
|
|
20
|
+
return s.useEffect(() => (o ? (e(!0), d({ mode: S, ...l }).then((b) => {
|
|
21
|
+
n = new x({
|
|
22
|
+
container: `#${a}`,
|
|
23
|
+
style: {
|
|
24
|
+
border: "none",
|
|
25
|
+
height: "calc(100% - 62px)",
|
|
26
|
+
maxWidth: "450px",
|
|
27
|
+
position: "absolute",
|
|
28
|
+
width: "100%"
|
|
29
|
+
},
|
|
30
|
+
url: b.url,
|
|
31
|
+
onSsoUrlLoadError: () => {
|
|
32
|
+
e(!1), t(!0);
|
|
33
|
+
},
|
|
34
|
+
onLoad: () => {
|
|
35
|
+
e(!1), t(!1);
|
|
36
|
+
}
|
|
37
|
+
});
|
|
38
|
+
})) : (e(!1), t(!1)), () => {
|
|
39
|
+
n?.unmount();
|
|
40
|
+
}), [o]), /* @__PURE__ */ r(
|
|
41
|
+
y,
|
|
42
|
+
{
|
|
43
|
+
ariaLabelClose: p.close_manage_connection_aria,
|
|
44
|
+
isOpen: o,
|
|
45
|
+
onClose: () => {
|
|
46
|
+
m(), f();
|
|
47
|
+
},
|
|
48
|
+
title: u,
|
|
49
|
+
children: /* @__PURE__ */ E("div", { id: a, children: [
|
|
50
|
+
h && /* @__PURE__ */ r(c, { status: i.Error }),
|
|
51
|
+
C && /* @__PURE__ */ r(c, { status: i.Loading })
|
|
52
|
+
] })
|
|
53
|
+
}
|
|
54
|
+
);
|
|
55
|
+
}, $ = _(I);
|
|
56
|
+
export {
|
|
57
|
+
$ as C
|
|
58
|
+
};
|
|
@@ -3,16 +3,17 @@ import s from "react";
|
|
|
3
3
|
import { observer as E } from "mobx-react-lite";
|
|
4
4
|
import { useTheme as _ } from "@mui/material/styles";
|
|
5
5
|
import { ConnectionsWidget as b } from "@mxenabled/web-widget-sdk";
|
|
6
|
-
import { C as a, a as c
|
|
7
|
-
import {
|
|
8
|
-
import { D as
|
|
6
|
+
import { C as a, a as c } from "./Connect-eYIWqCEr.mjs";
|
|
7
|
+
import { M as i } from "./Accounts-CseLC3lL.mjs";
|
|
8
|
+
import { d as D, e as L, u as w } from "./hooks-BxkfR-Ff.mjs";
|
|
9
|
+
import { D as x } from "./Drawer-Bbe4AMB1.mjs";
|
|
9
10
|
const I = ({
|
|
10
11
|
onClose: l,
|
|
11
12
|
showConnectionsWidget: o,
|
|
12
|
-
title:
|
|
13
|
+
title: m
|
|
13
14
|
}) => {
|
|
14
15
|
let n;
|
|
15
|
-
const { refreshAccounts:
|
|
16
|
+
const { refreshAccounts: u } = D(), { loadWidget: f } = L(), { connect: d } = w(), p = _(), [C, e] = s.useState(!1), [S, t] = s.useState(!1);
|
|
16
17
|
return s.useEffect(() => (o ? (e(!0), f({ widget: "connections_widget", mode: p.palette.mode }).then((h) => {
|
|
17
18
|
n = new b({
|
|
18
19
|
container: `#${a}`,
|
|
@@ -38,16 +39,16 @@ const I = ({
|
|
|
38
39
|
ariaLabelClose: d.close_connections_aria,
|
|
39
40
|
isOpen: o,
|
|
40
41
|
onClose: () => {
|
|
41
|
-
l(),
|
|
42
|
+
l(), u();
|
|
42
43
|
},
|
|
43
|
-
title:
|
|
44
|
+
title: m,
|
|
44
45
|
children: /* @__PURE__ */ g("div", { id: a, children: [
|
|
45
46
|
S && /* @__PURE__ */ r(c, { status: i.Error }),
|
|
46
47
|
C && /* @__PURE__ */ r(c, { status: i.Loading })
|
|
47
48
|
] })
|
|
48
49
|
}
|
|
49
50
|
);
|
|
50
|
-
},
|
|
51
|
+
}, W = E(I);
|
|
51
52
|
export {
|
|
52
|
-
|
|
53
|
+
W as C
|
|
53
54
|
};
|