@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.
Files changed (513) hide show
  1. package/CHANGELOG.md +335 -0
  2. package/README.md +5 -3
  3. package/dist/{Account-CMjOp7S2.mjs → Account-BiB1F8lL.mjs} +2 -2
  4. package/dist/{Account-BIKn4XEZ.mjs → Account-DuOz1a27.mjs} +1 -1
  5. package/dist/{AccountApi-DgZ8ILj1.mjs → AccountApi-ChQr5PAZ.mjs} +1 -1
  6. package/dist/AccountDetailsHeader-D9gbTbUt.mjs +95 -0
  7. package/dist/{AccountFields-DuFtmuud.mjs → AccountFields-CxqONzjY.mjs} +12 -12
  8. package/dist/AccountListItem-D9WJDbZ1.mjs +94 -0
  9. package/dist/{AccountStore-Cq_w2Hfb.mjs → AccountStore-DpYvNnql.mjs} +15 -9
  10. package/dist/Accounts-CseLC3lL.mjs +5 -0
  11. package/dist/Accounts-o7ohkngR.mjs +27 -0
  12. package/dist/{Analytics-i5h6BxR1.mjs → Analytics-BYItVAe-.mjs} +10 -0
  13. package/dist/{BeatApi-De2IaqH2.mjs → BeatApi-EFHXULDx.mjs} +1 -1
  14. package/dist/{BeatStore-D_NYuBSz.mjs → BeatStore-C6CAT-ce.mjs} +1 -1
  15. package/dist/BudgetUtil-CLhRnCoX.mjs +479 -0
  16. package/dist/CashflowStore-CeAzChyD.mjs +91 -0
  17. package/dist/{Category-Ccoew_sA.mjs → Category-CevNQ03n.mjs} +2 -2
  18. package/dist/{CategorySelectorDrawer-CzRxYpiP.mjs → CategorySelectorDrawer-Dc9Widy9.mjs} +118 -110
  19. package/dist/{CategoryStore-V-0d9oje.mjs → CategoryStore-FTxUbn0f.mjs} +3 -3
  20. package/dist/{CategoryUtil-DB-9JMbi.mjs → CategoryUtil-BVixr0d5.mjs} +4 -4
  21. package/dist/Connect-eYIWqCEr.mjs +39 -0
  22. package/dist/ConnectDrawer-C0wjwcJt.mjs +58 -0
  23. package/dist/{ConnectionsDrawer-DMBBzlIJ.mjs → ConnectionsDrawer-IA7vnv1J.mjs} +10 -9
  24. package/dist/CurrencyInput-DuMktPu3.mjs +85 -0
  25. package/dist/{CurrencyText-C-85TnUF.mjs → CurrencyText-CA-E5N_y.mjs} +1 -1
  26. package/dist/{DateFormats-Cs-NbEZ7.mjs → DateFormats-BMpMrZpW.mjs} +1 -1
  27. package/dist/{DateUtil-CVXVMbjf.mjs → DateUtil-wcYTmDRD.mjs} +1 -1
  28. package/dist/{DebtsStore-Dv_T7Dts.mjs → DebtsStore-BZqNLaqd.mjs} +3 -3
  29. package/dist/Dialog-Ck34yr-d.mjs +63 -0
  30. package/dist/{Donut-DKY8mL3P.mjs → Donut-CpxJlVvJ.mjs} +29 -27
  31. package/dist/{Drawer-Bet2ZPJo.mjs → Drawer-Bbe4AMB1.mjs} +14 -14
  32. package/dist/{ExportCsvAction-Cc14QGA9.mjs → ExportCsvAction-ErKh7wJ2.mjs} +4 -4
  33. package/dist/{Fetch-DecPFeGU.mjs → Fetch-B6tMJC1r.mjs} +2 -1
  34. package/dist/{FinstrongStore-DW7-LvAh.mjs → FinstrongStore-BQxXxxYD.mjs} +129 -129
  35. package/dist/GlobalAccountFilter-B73Pw1hJ.mjs +237 -0
  36. package/dist/Goal-0loDagc5.mjs +6 -0
  37. package/dist/GoalStore-fgXt--2Y.mjs +418 -0
  38. package/dist/HeaderCell-P8w6CmfO.mjs +6 -0
  39. package/dist/{Help-CgpJK03Q.mjs → Help-B8mD4aLJ.mjs} +6 -6
  40. package/dist/{Help-DOPJteew.mjs → Help-D-laTbKu.mjs} +544 -493
  41. package/dist/{IconBacking-DgT8DCeh.mjs → IconBacking-B9oC6uL2.mjs} +11 -11
  42. package/dist/LineChart-EAr5ox5U.mjs +612 -0
  43. package/dist/{ListItemAction-engf-T9W.mjs → ListItemAction-4KB7P75M.mjs} +2 -2
  44. package/dist/Loader-D3rjKx72.mjs +21 -0
  45. package/dist/Localization-CPkpIwIx.mjs +37 -0
  46. package/dist/{ManageIncome-BVqHHIO7.mjs → ManageIncome-Cc-wba0I.mjs} +118 -113
  47. package/dist/{MerchantStore-WvZ4gnQe.mjs → MerchantStore-BzGi4JAZ.mjs} +1 -1
  48. package/dist/MicroWidgetContainer-B_EnfvCq.mjs +45 -0
  49. package/dist/MiniWidgetContainer-Bhkv-hpz.mjs +66 -0
  50. package/dist/{NetWorthStore-B6ziBtaH.mjs → NetWorthStore-BqZ44-4M.mjs} +5 -5
  51. package/dist/Notification-DTNYSd8P.mjs +7 -0
  52. package/dist/{NotificationSettings-CEzQSKfg.mjs → NotificationSettings-D7VqsrZy.mjs} +160 -159
  53. package/dist/{NotificationStore-Ck2KdNmT.mjs → NotificationStore-D_e8zo5M.mjs} +28 -21
  54. package/dist/{NumberFormatting-DjTD0t3W.mjs → NumberFormatting-QCaNwbjv.mjs} +1 -1
  55. package/dist/{Transaction-C8QRYhYc.mjs → OnClickEvents-CseHDZ94.mjs} +32 -25
  56. package/dist/{OriginalBalanceAction-CYqr8z8w.mjs → OriginalBalanceAction-DjpvVVFz.mjs} +10 -10
  57. package/dist/{RecurringSettings-rEotGPcM.mjs → RecurringSettings-BN9H5ALr.mjs} +4 -4
  58. package/dist/RecurringTransactions-BCJp-Nap.mjs +297 -0
  59. package/dist/{RecurringTransactionsStore-DpzLX8E8.mjs → RecurringTransactionsStore-CkMA7gY3.mjs} +11 -10
  60. package/dist/RepeatingTransaction-DF4vJn_v.mjs +7 -0
  61. package/dist/{ResponsiveButton-BNsV08Ud.mjs → ResponsiveButton-DZFp78fJ.mjs} +12 -12
  62. package/dist/SearchBox-CwDgvWVJ.mjs +48 -0
  63. package/dist/{SettingsStore-ImYpLCSK.mjs → SettingsStore-BoIoiRLj.mjs} +3 -3
  64. package/dist/{SingleSegmentDonut-PsRQPkmV.mjs → SingleSegmentDonut-BgbLgwHi.mjs} +5 -5
  65. package/dist/{SpendingData-CI_C9xln.mjs → SpendingData-Bz1bCWAs.mjs} +4 -4
  66. package/dist/SpendingLegend-BgjazduU.mjs +193 -0
  67. package/dist/{StatusBar-CPfSXe80.mjs → StatusBar-BK_uYHAB.mjs} +6 -6
  68. package/dist/StatusIndicator-4tWnjeKS.mjs +264 -0
  69. package/dist/{TabContentContainer-CnMXkVqr.mjs → TabContentContainer-j01JYR_7.mjs} +8 -8
  70. package/dist/ToggleListItem-BLu_fWA2.mjs +90 -0
  71. package/dist/Transaction-Cn5_iFm0.mjs +5 -0
  72. package/dist/{TransactionApi-CjBoLleL.mjs → TransactionApi-Ck5Ua-7F.mjs} +1 -1
  73. package/dist/TransactionDetails-D1I1XEsT.mjs +1469 -0
  74. package/dist/{TransactionStore-CEehNrKo.mjs → TransactionStore-Bx9euVrY.mjs} +195 -177
  75. package/dist/{TrendsStore-ncmbS9eE.mjs → TrendsStore-CYdTo7cN.mjs} +10 -10
  76. package/dist/ViewMoreMicroCard-D24H9kDm.mjs +1291 -0
  77. package/dist/{WidgetContainer-DFwVgavi.mjs → WidgetContainer-B7xDq2bM.mjs} +47 -46
  78. package/dist/accounts/AccountsMiniWidget.d.ts +1 -1
  79. package/dist/accounts/AccountsWidget.d.ts +1 -1
  80. package/dist/accounts/api/AccountApi.d.ts +1 -1
  81. package/dist/accounts/components/AccountListItem.d.ts +1 -1
  82. package/dist/accounts/components/AccountsListCompact.d.ts +1 -1
  83. package/dist/accounts/components/detailsdrawer/Accounts/AccountActionsRow.d.ts +1 -0
  84. package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsChart.d.ts +1 -1
  85. package/dist/accounts/hooks/useGetMergeableAccounts.d.ts +1 -1
  86. package/dist/accounts/index.es.js +459 -368
  87. package/dist/accounts/stores/AccountStore.d.ts +2 -1
  88. package/dist/accounts/stores/UiStore.d.ts +1 -1
  89. package/dist/accounts/utils/AccountDetails.d.ts +1 -1
  90. package/dist/accounts/utils/AccountFields.d.ts +1 -1
  91. package/dist/accounts/utils/Accounts.d.ts +2 -2
  92. package/dist/analytics/index.es.js +93 -112
  93. package/dist/budgets/BubbleBudgetsMiniWidget.d.ts +1 -1
  94. package/dist/budgets/BubbleBudgetsWidget.d.ts +1 -1
  95. package/dist/budgets/api/BudgetsApi.d.ts +5 -1
  96. package/dist/budgets/components/BubbleChart.d.ts +1 -1
  97. package/dist/budgets/components/BudgetDetailsDrawerV2.d.ts +4 -1
  98. package/dist/budgets/components/MerchantBudgetDetailsDrawer.d.ts +17 -0
  99. package/dist/budgets/components/addbudget/RecalculateBudgetRow.d.ts +1 -1
  100. package/dist/budgets/components/addbudget/UnbudgetedRow.d.ts +1 -1
  101. package/dist/budgets/components/bubblechart/Bubble.d.ts +1 -1
  102. package/dist/budgets/components/budgetdetails/AddSubBudget.d.ts +1 -1
  103. package/dist/budgets/components/budgetdetails/BudgetDetails.d.ts +1 -1
  104. package/dist/budgets/components/budgetdetails/Header.d.ts +1 -1
  105. package/dist/budgets/components/budgetdetails/SubBudgetList.d.ts +1 -1
  106. package/dist/budgets/components/budgetlist/BudgetRow.d.ts +1 -1
  107. package/dist/budgets/components/budgetlist/SubBudgetRow.d.ts +1 -1
  108. package/dist/budgets/components/shared/BudgetDetailsTopSection.d.ts +13 -0
  109. package/dist/budgets/index.es.js +851 -865
  110. package/dist/budgets/store/BudgetsStore.d.ts +15 -1
  111. package/dist/budgets/utils/BubblesSVG.d.ts +3 -3
  112. package/dist/budgets/utils/BudgetUtil.d.ts +6 -1
  113. package/dist/cashflow/CashflowMiniWidget.d.ts +1 -1
  114. package/dist/cashflow/CashflowWidget.d.ts +1 -1
  115. package/dist/cashflow/api/CashflowApi.d.ts +1 -1
  116. package/dist/cashflow/components/DetailsExpenseRow.d.ts +1 -1
  117. package/dist/cashflow/index.es.js +290 -288
  118. package/dist/cashflow/stores/UiStore.d.ts +1 -1
  119. package/dist/cashflow/util/Filters.d.ts +1 -1
  120. package/dist/categories/components/CategoryRow.d.ts +1 -1
  121. package/dist/categories/components/CustomCategories/AddSubcategory.d.ts +1 -1
  122. package/dist/categories/components/CustomCategories/DeleteSubcategory.d.ts +1 -1
  123. package/dist/categories/components/CustomCategories/RenameSubcategory.d.ts +1 -1
  124. package/dist/categories/components/SubcategoryList.d.ts +1 -1
  125. package/dist/categories/components/SubcategoryRow.d.ts +1 -1
  126. package/dist/categories/index.es.js +2 -2
  127. package/dist/categories/stores/CategoryStore.d.ts +2 -1
  128. package/dist/categories/util/CategoryUtil.d.ts +1 -1
  129. package/dist/common/api/AnalyticsApi.d.ts +1 -1
  130. package/dist/common/api/AppDataApi.d.ts +1 -1
  131. package/dist/common/api/BeatApi.d.ts +1 -1
  132. package/dist/common/api/CategoryApi.d.ts +1 -1
  133. package/dist/common/api/GlobalCopyApi.d.ts +1 -1
  134. package/dist/common/api/LocalizedCopyApi.d.ts +1 -1
  135. package/dist/common/api/NotificationApi.d.ts +1 -1
  136. package/dist/common/api/ScheduledPaymentsApi.d.ts +1 -1
  137. package/dist/common/api/UserApi.d.ts +1 -1
  138. package/dist/common/components/CurrencyDialog.d.ts +1 -1
  139. package/dist/common/components/CurrencyInput.d.ts +1 -1
  140. package/dist/common/components/ErrorBoundary.d.ts +1 -1
  141. package/dist/common/components/GlobalAccountFilter.d.ts +1 -1
  142. package/dist/common/components/Loader.d.ts +1 -2
  143. package/dist/common/components/MiniWidgetContainer.d.ts +1 -0
  144. package/dist/common/components/WidgetContainer.d.ts +1 -1
  145. package/dist/common/components/charts/LineChart.d.ts +1 -0
  146. package/dist/common/components/charts/index.d.ts +1 -0
  147. package/dist/common/components/charts/linechart/CustomTooltip.d.ts +2 -1
  148. package/dist/common/components/charts/linechart/utils/markerShapes.d.ts +3 -0
  149. package/dist/common/components/globalaccountfilter/GlobalAccountFilterList.d.ts +1 -1
  150. package/dist/common/components/index.d.ts +0 -1
  151. package/dist/common/constants/Account.d.ts +1 -1
  152. package/dist/common/constants/Analytics.d.ts +10 -0
  153. package/dist/common/constants/ApiEndpoints.d.ts +1 -0
  154. package/dist/common/constants/DefaultConfig.d.ts +1 -1
  155. package/dist/common/constants/ScheduledPayment.d.ts +1 -10
  156. package/dist/common/constants/SpendingPlan.d.ts +0 -10
  157. package/dist/common/constants/index.d.ts +2 -2
  158. package/dist/common/context/GlobalDataProvider.d.ts +2 -1
  159. package/dist/common/context/hooks.d.ts +4 -4
  160. package/dist/common/hooks/index.d.ts +1 -0
  161. package/dist/common/hooks/useAccountDisplayName.d.ts +1 -1
  162. package/dist/common/hooks/useCombineEvents.d.ts +1 -1
  163. package/dist/common/hooks/usePrevious.d.ts +2 -0
  164. package/dist/common/index.d.ts +0 -1
  165. package/dist/common/index.es.js +625 -860
  166. package/dist/common/stores/AppDataStore.d.ts +3 -3
  167. package/dist/common/stores/GlobalCopyStore.d.ts +1 -1
  168. package/dist/common/stores/GlobalStore.d.ts +4 -2
  169. package/dist/common/stores/GlobalUiStore.d.ts +3 -3
  170. package/dist/common/stores/UserStore.d.ts +1 -1
  171. package/dist/common/utils/AccountDisplayName.d.ts +1 -1
  172. package/dist/common/utils/AccountFilter.d.ts +1 -1
  173. package/dist/common/utils/Analytics.d.ts +1 -1
  174. package/dist/common/utils/Categories.d.ts +1 -1
  175. package/dist/common/utils/Fetch.d.ts +1 -1
  176. package/dist/common/utils/Localization.d.ts +9 -1
  177. package/dist/common/utils/Theme.d.ts +3 -3
  178. package/dist/common/utils/User.d.ts +1 -1
  179. package/dist/common/utils/index.d.ts +1 -1
  180. package/dist/core/constants/index.d.ts +1 -0
  181. package/dist/core/constants/repeatingTransactions.d.ts +10 -0
  182. package/dist/core/index.d.ts +2 -0
  183. package/dist/core/index.es.js +41 -0
  184. package/dist/{common → core}/types/Analytics.d.ts +6 -3
  185. package/dist/{common → core}/types/AppData.d.ts +1 -0
  186. package/dist/{common → core}/types/Beat.d.ts +2 -0
  187. package/dist/{common → core}/types/Budget.d.ts +8 -0
  188. package/dist/{common → core}/types/Expense.d.ts +2 -1
  189. package/dist/{common → core}/types/Finstrong.d.ts +0 -2
  190. package/dist/{common → core}/types/Notification.d.ts +15 -5
  191. package/dist/{common → core}/types/index.d.ts +1 -2
  192. package/dist/{common → core}/types/localization/BudgetsCopy.d.ts +11 -0
  193. package/dist/{common → core}/types/localization/CashflowCopy.d.ts +1 -0
  194. package/dist/{common → core}/types/localization/CommonCopy.d.ts +2 -0
  195. package/dist/{common → core}/types/localization/DebtsCopy.d.ts +5 -0
  196. package/dist/{common → core}/types/localization/RecurringCopy.d.ts +2 -0
  197. package/dist/{common → core}/types/localization/SpendingCopy.d.ts +1 -0
  198. package/dist/dashboard/index.es.js +46 -45
  199. package/dist/debts/DebtsWidget.d.ts +1 -1
  200. package/dist/debts/components/actions/DebtsPriorityAction.d.ts +5 -1
  201. package/dist/debts/components/debtspaydown/PaydownButton.d.ts +2 -1
  202. package/dist/debts/components/debtspriority/DebtsPriorityButton.d.ts +2 -1
  203. package/dist/debts/index.es.js +705 -646
  204. package/dist/debts/store/DebtsStore.d.ts +2 -1
  205. package/dist/debts/utils/DebtStore.d.ts +1 -1
  206. package/dist/debts/utils/DebtsWidget.d.ts +7 -1
  207. package/dist/debts/utils/shared.d.ts +1 -1
  208. package/dist/{exportTransactionsToCSV-CGnrndmA.mjs → exportTransactionsToCSV-MCYH_zzN.mjs} +5 -5
  209. package/dist/finstrong/FinstrongWidget.d.ts +1 -1
  210. package/dist/finstrong/api/FinstrongApi.d.ts +1 -1
  211. package/dist/finstrong/components/HealthChart.d.ts +1 -1
  212. package/dist/finstrong/components/onboarding/OnboardingAddMonthlyIncome.d.ts +1 -1
  213. package/dist/finstrong/components/onboarding/OnboardingStepsDrawer.d.ts +1 -1
  214. package/dist/finstrong/components/shared/Accounts.d.ts +1 -1
  215. package/dist/finstrong/components/shared/DoubleBarChart.d.ts +1 -0
  216. package/dist/finstrong/components/shared/ScoreHistoryTimeline.d.ts +1 -1
  217. package/dist/finstrong/components/shared/Transactions.d.ts +1 -1
  218. package/dist/finstrong/index.es.js +161 -159
  219. package/dist/finstrong/stores/FinstrongStore.d.ts +3 -2
  220. package/dist/finstrong/util/finstrongUtils.d.ts +3 -3
  221. package/dist/goals/GoalsWidget.d.ts +1 -1
  222. package/dist/goals/api/GoalApi.d.ts +2 -2
  223. package/dist/goals/components/AccountSelectionDrawer.d.ts +1 -1
  224. package/dist/goals/components/AddGoal.d.ts +1 -1
  225. package/dist/goals/components/GoalDetails.d.ts +1 -1
  226. package/dist/goals/components/GoalDetailsDrawer.d.ts +1 -1
  227. package/dist/goals/components/GoalList.d.ts +1 -1
  228. package/dist/goals/components/GoalStatusCard.d.ts +1 -1
  229. package/dist/goals/components/ManageGoals.d.ts +1 -1
  230. package/dist/goals/components/actions/AccountAction.d.ts +1 -1
  231. package/dist/goals/components/actions/AddRetirementAccountAction.d.ts +1 -1
  232. package/dist/goals/components/actions/AmountToSaveAction.d.ts +1 -1
  233. package/dist/goals/components/actions/BirthdayAction.d.ts +1 -1
  234. package/dist/goals/components/actions/ChangeAccountAction.d.ts +1 -1
  235. package/dist/goals/components/actions/ContributionAction.d.ts +1 -1
  236. package/dist/goals/components/actions/GoalNameAction.d.ts +1 -1
  237. package/dist/goals/components/actions/InterestRateAction.d.ts +1 -1
  238. package/dist/goals/components/actions/MonthlyPaymentAction.d.ts +1 -1
  239. package/dist/goals/components/actions/OriginalBalanceAction.d.ts +1 -1
  240. package/dist/goals/components/actions/RetirementAgeAction.d.ts +1 -1
  241. package/dist/goals/components/addgoal/AddGoalListItem.d.ts +1 -1
  242. package/dist/goals/components/managegoals/CompleteListItem.d.ts +1 -1
  243. package/dist/goals/components/managegoals/OngoingListItem.d.ts +1 -1
  244. package/dist/goals/components/managegoals/ReorderGoals.d.ts +1 -1
  245. package/dist/goals/components/micro/GoalMicroStatusCard.d.ts +1 -1
  246. package/dist/goals/index.es.js +445 -419
  247. package/dist/goals/stores/GoalStore.d.ts +2 -1
  248. package/dist/goals/util/GoalsUtil.d.ts +1 -1
  249. package/dist/help/HelpWidget.d.ts +1 -1
  250. package/dist/help/api/HelpApi.d.ts +1 -1
  251. package/dist/help/components/HelpContent.d.ts +1 -1
  252. package/dist/help/components/HelpList.d.ts +1 -1
  253. package/dist/help/components/content/BottomImageContent.d.ts +1 -1
  254. package/dist/help/components/content/ContentItem.d.ts +1 -1
  255. package/dist/help/components/content/LeftImageContent.d.ts +1 -1
  256. package/dist/help/components/content/NoImageContent.d.ts +1 -1
  257. package/dist/help/components/content/RightImageContent.d.ts +1 -1
  258. package/dist/help/components/content/TopImageContent.d.ts +1 -1
  259. package/dist/help/components/content/section/Accounts.d.ts +1 -1
  260. package/dist/help/components/content/section/Budgets.d.ts +1 -1
  261. package/dist/help/components/content/section/CashFlow.d.ts +1 -1
  262. package/dist/help/components/content/section/Debts.d.ts +1 -1
  263. package/dist/help/components/content/section/General.d.ts +1 -1
  264. package/dist/help/components/content/section/Goals.d.ts +1 -1
  265. package/dist/help/components/content/section/Insights.d.ts +1 -1
  266. package/dist/help/components/content/section/Investments.d.ts +1 -1
  267. package/dist/help/components/content/section/Mobile.d.ts +1 -1
  268. package/dist/help/components/content/section/NetWorth.d.ts +1 -1
  269. package/dist/help/components/content/section/Notifications.d.ts +1 -1
  270. package/dist/help/components/content/section/RecurringTransactions.d.ts +1 -1
  271. package/dist/help/components/content/section/Spending.d.ts +1 -1
  272. package/dist/help/components/content/section/Transactions.d.ts +1 -1
  273. package/dist/help/components/content/section/Trends.d.ts +1 -1
  274. package/dist/help/components/content/section/index.d.ts +15 -15
  275. package/dist/help/components/requestsupport/ContactSupport.d.ts +1 -1
  276. package/dist/help/components/requestsupport/HelpByCategoryList.d.ts +1 -1
  277. package/dist/help/components/requestsupport/MissingInstitution.d.ts +1 -1
  278. package/dist/help/components/requestsupport/PopularTopicsDrawer.d.ts +1 -1
  279. package/dist/help/components/requestsupport/PopularTopicsList.d.ts +1 -1
  280. package/dist/help/components/requestsupport/RequestSupport.d.ts +1 -1
  281. package/dist/help/components/requestsupport/RequestSupportFooter.d.ts +1 -1
  282. package/dist/help/components/requestsupport/RequestSupportInstitution.d.ts +1 -1
  283. package/dist/help/components/requestsupport/SupportSuccessMessage.d.ts +1 -1
  284. package/dist/help/index.es.js +8 -8
  285. package/dist/help/store/HelpStore.d.ts +5 -4
  286. package/dist/help/utils/getAccessibleHelpCategories.d.ts +2 -2
  287. package/dist/{hooks-CBl85iRr.mjs → hooks-BxkfR-Ff.mjs} +12 -12
  288. package/dist/insights/components/feed/Header.d.ts +8 -0
  289. package/dist/insights/components/index.d.ts +4 -0
  290. package/dist/insights/components/insights/CategoryBudget/types/CategoryBudget.d.ts +1 -0
  291. package/dist/insights/components/insights/CategorySpendingV2/types/CategorySpendingV2.d.ts +1 -0
  292. package/dist/insights/components/shared/ChartDrawerTemplate/ChartDrawerTemplate.d.ts +2 -1
  293. package/dist/insights/components/shared/ChartDrawerTemplate/TipSection.d.ts +3 -1
  294. package/dist/insights/components/shared/ChartTransactionWithDrillDown.d.ts +2 -1
  295. package/dist/insights/components/shared/DonutChartV2.d.ts +13 -0
  296. package/dist/insights/components/shared/InsightsCard/BeatCardMUI.d.ts +20 -0
  297. package/dist/insights/components/shared/InsightsCard/CardHeaderMUI.d.ts +11 -0
  298. package/dist/insights/components/shared/InsightsCard/ContentAndDescriptionMUI.d.ts +17 -0
  299. package/dist/insights/components/shared/InsightsCard/DescriptionMUI.d.ts +12 -0
  300. package/dist/insights/components/shared/InsightsCard/MiniDescriptionMUI.d.ts +9 -0
  301. package/dist/insights/components/shared/StatusIndicator.d.ts +1 -1
  302. package/dist/insights/components/shared/TransactionCard.d.ts +14 -0
  303. package/dist/insights/index.es.js +1361 -1081
  304. package/dist/insights/store/BeatStore.d.ts +1 -1
  305. package/dist/investments/InvestmentsWidget.d.ts +1 -1
  306. package/dist/investments/api/HoldingApi.d.ts +1 -1
  307. package/dist/investments/components/allocation/util/createInvestementsAllocationData.d.ts +2 -2
  308. package/dist/investments/index.es.js +258 -258
  309. package/dist/investments/stores/HoldingStore.d.ts +2 -1
  310. package/dist/investments/util/InvestmentUtil.d.ts +1 -1
  311. package/dist/merchants/api/MerchantApi.d.ts +1 -1
  312. package/dist/merchants/index.es.js +16 -16
  313. package/dist/merchants/stores/MerchantStore.d.ts +2 -1
  314. package/dist/microinsights/InsightsMicroWidget.d.ts +1 -1
  315. package/dist/microinsights/beaticons/AreaChartIcon.d.ts +3 -0
  316. package/dist/microinsights/beaticons/AverageSpendComparisonIcon.d.ts +3 -0
  317. package/dist/microinsights/beaticons/BeatMaterialIcon.d.ts +5 -1
  318. package/dist/microinsights/beaticons/InstitutionLogoIcon.d.ts +5 -0
  319. package/dist/microinsights/beaticons/MonthlySpendComparisonIcon.d.ts +0 -2
  320. package/dist/microinsights/beaticons/index.d.ts +3 -0
  321. package/dist/microinsights/cards/InsightCard.d.ts +1 -1
  322. package/dist/microinsights/carousel/BeatList.d.ts +1 -1
  323. package/dist/microinsights/carousel/CarouselHeader.d.ts +1 -1
  324. package/dist/microinsights/carousel/MicroBeatCarousel.d.ts +1 -1
  325. package/dist/microinsights/constants/Analytics.d.ts +1 -1
  326. package/dist/microinsights/context/InsightsMicroWidgetDataProvider.d.ts +1 -1
  327. package/dist/microinsights/context/hooks.d.ts +1 -1
  328. package/dist/microinsights/index.es.js +1 -1
  329. package/dist/microinsights/interfaces.d.ts +1 -1
  330. package/dist/microinsights/stores/CopyStore.d.ts +1 -1
  331. package/dist/microinsights/stores/InsightsMicroWidgetStore.d.ts +1 -1
  332. package/dist/microinsights/utils/DataSeries.d.ts +1 -1
  333. package/dist/microinsights/utils/colorType.d.ts +22 -0
  334. package/dist/networth/NetWorthWidget.d.ts +1 -1
  335. package/dist/networth/components/micro/NetworthData.d.ts +1 -1
  336. package/dist/networth/components/micro/ZeroState.d.ts +1 -1
  337. package/dist/networth/index.es.js +181 -174
  338. package/dist/networth/stores/NetWorthStore.d.ts +2 -1
  339. package/dist/networth/types/NetWorth.d.ts +1 -1
  340. package/dist/networth/utils/NetWorthUtils.d.ts +1 -1
  341. package/dist/notifications/components/NotificationBadge.d.ts +1 -1
  342. package/dist/notifications/components/NotificationCard.d.ts +1 -1
  343. package/dist/notifications/components/NotificationDrawer.d.ts +1 -1
  344. package/dist/notifications/components/NotificationList.d.ts +2 -1
  345. package/dist/notifications/index.es.js +104 -92
  346. package/dist/notifications/stores/NotificationStore.d.ts +2 -1
  347. package/dist/notifications/utils/NotificationUtils.d.ts +2 -1
  348. package/dist/recurringtransactions/RecurringTransactionsMiniWidget.d.ts +1 -1
  349. package/dist/recurringtransactions/RecurringTransactionsWidget.d.ts +1 -1
  350. package/dist/recurringtransactions/api/RepeatingTransactionsApi.d.ts +2 -1
  351. package/dist/recurringtransactions/components/PaymentSchedule.d.ts +1 -1
  352. package/dist/recurringtransactions/components/RecurrenceList.d.ts +1 -1
  353. package/dist/recurringtransactions/components/RecurrenceRow.d.ts +1 -1
  354. package/dist/recurringtransactions/components/RecurringTransactionDetails.d.ts +1 -1
  355. package/dist/recurringtransactions/components/actions/PaymentScheduleAction.d.ts +1 -1
  356. package/dist/recurringtransactions/components/micro/MerchantLogosRow.d.ts +1 -1
  357. package/dist/recurringtransactions/components/micro/OverlappingMerchantLogos.d.ts +1 -1
  358. package/dist/recurringtransactions/components/shared/recurringsettings/AddRecurringTransactionDetails.d.ts +1 -1
  359. package/dist/recurringtransactions/components/shared/recurringsettings/RecurringRow.d.ts +1 -1
  360. package/dist/recurringtransactions/index.es.js +477 -451
  361. package/dist/recurringtransactions/stores/RecurringTransactionsStore.d.ts +2 -1
  362. package/dist/recurringtransactions/util/RecurringTransactions.d.ts +1 -1
  363. package/dist/repeatingTransactions-DHIG94pi.mjs +4 -0
  364. package/dist/settings/NotificationSettingsWidget.d.ts +1 -1
  365. package/dist/settings/SettingsWidget.d.ts +1 -1
  366. package/dist/settings/TransactionRulesWidget.d.ts +1 -1
  367. package/dist/settings/api/SettingsApi.d.ts +1 -2
  368. package/dist/settings/components/devices/DeviceDialog.d.ts +1 -1
  369. package/dist/settings/components/devices/DeviceList.d.ts +1 -1
  370. package/dist/settings/components/devices/DeviceTable.d.ts +1 -1
  371. package/dist/settings/components/notifications/AccountNotificationProfile.d.ts +1 -1
  372. package/dist/settings/components/notifications/AccountProfileListItem.d.ts +1 -1
  373. package/dist/settings/components/notifications/NotificationProfile.d.ts +1 -1
  374. package/dist/settings/components/notifications/NotificationSettings.d.ts +1 -1
  375. package/dist/settings/components/transactionrules/actions/EditRuleAction.d.ts +1 -1
  376. package/dist/settings/index.es.js +314 -323
  377. package/dist/settings/stores/SettingsStore.d.ts +3 -2
  378. package/dist/settings/util/Notifications.d.ts +1 -1
  379. package/dist/spending/SpendingMiniWidget.d.ts +1 -1
  380. package/dist/spending/SpendingWidget.d.ts +1 -1
  381. package/dist/spending/index.es.js +167 -166
  382. package/dist/spending/utils/SpendingData.d.ts +1 -1
  383. package/dist/transactions/TransactionWidget.d.ts +1 -1
  384. package/dist/transactions/api/TransactionApi.d.ts +1 -1
  385. package/dist/transactions/components/shared/TransactionDetails.d.ts +1 -1
  386. package/dist/transactions/components/shared/TransactionList.d.ts +1 -1
  387. package/dist/transactions/components/shared/getEmbeddedInstanceSlotByBeatTemplates.d.ts +1 -1
  388. package/dist/transactions/components/shared/transactiondetails/Description.d.ts +1 -1
  389. package/dist/transactions/components/shared/transactiondetails/FlagTransaction.d.ts +1 -1
  390. package/dist/transactions/components/shared/transactiondetails/TransactionAmountHeader.d.ts +1 -1
  391. package/dist/transactions/components/shared/transactiondetails/TransactionDetailsView.d.ts +1 -1
  392. package/dist/transactions/components/shared/transactiondetails/actions/AddMerchantBudgetAction.d.ts +13 -0
  393. package/dist/transactions/components/shared/transactiondetails/actions/CategoryAction.d.ts +1 -1
  394. package/dist/transactions/components/shared/transactiondetails/actions/DateAction.d.ts +1 -1
  395. package/dist/transactions/components/shared/transactiondetails/actions/DeleteAction.d.ts +1 -1
  396. package/dist/transactions/components/shared/transactiondetails/actions/DeleteLogoAction.d.ts +1 -1
  397. package/dist/transactions/components/shared/transactiondetails/actions/HideAction.d.ts +1 -1
  398. package/dist/transactions/components/shared/transactiondetails/actions/MemoAction.d.ts +1 -1
  399. package/dist/transactions/components/shared/transactiondetails/actions/SplitAction.d.ts +1 -1
  400. package/dist/transactions/components/shared/transactiondetails/actions/TagsAction.d.ts +1 -1
  401. package/dist/transactions/components/shared/transactiondetails/actions/index.d.ts +1 -0
  402. package/dist/transactions/components/shared/transactionlist/TransactionRow.d.ts +1 -1
  403. package/dist/transactions/components/splitmanager/SplitManager.d.ts +1 -1
  404. package/dist/transactions/components/splitmanager/SplitRow.d.ts +1 -1
  405. package/dist/transactions/components/tagmanager/TagRow.d.ts +1 -1
  406. package/dist/transactions/components/transactionwidget/actions/EditCategoryAction.d.ts +1 -1
  407. package/dist/transactions/components/transactionwidget/actions/ExportCsvAction.d.ts +1 -1
  408. package/dist/transactions/constants/Actions.d.ts +4 -3
  409. package/dist/transactions/constants/Transaction.d.ts +1 -1
  410. package/dist/transactions/index.es.js +195 -187
  411. package/dist/transactions/stores/TransactionStore.d.ts +2 -1
  412. package/dist/transactions/stores/UiStore.d.ts +1 -1
  413. package/dist/transactions/utils/Filters.d.ts +1 -1
  414. package/dist/transactions/utils/Transactions.d.ts +1 -1
  415. package/dist/transactions/utils/buildDetailedTransactions.d.ts +2 -2
  416. package/dist/transactions/utils/exportTransactionsToCSV.d.ts +1 -1
  417. package/dist/transactions/utils/sortAndFilterTransactions.d.ts +1 -1
  418. package/dist/trends/TrendsFullWidget.d.ts +1 -1
  419. package/dist/trends/TrendsMiniWidget.d.ts +1 -1
  420. package/dist/trends/TrendsWidget.d.ts +1 -1
  421. package/dist/trends/components/CategoriesList.d.ts +1 -1
  422. package/dist/trends/components/CategoriesListItem.d.ts +1 -1
  423. package/dist/trends/components/CategoryDetails.d.ts +3 -0
  424. package/dist/trends/components/TrendsChartTotals.d.ts +1 -1
  425. package/dist/trends/components/TrendsInsights.d.ts +1 -1
  426. package/dist/trends/components/trendstable/AccessibleSortIcon.d.ts +13 -0
  427. package/dist/trends/components/trendstable/TrendsTable.d.ts +1 -1
  428. package/dist/trends/index.es.js +817 -764
  429. package/dist/trends/stores/TrendsStore.d.ts +2 -1
  430. package/dist/trends/utils/SpendingData.d.ts +1 -1
  431. package/dist/trends/utils/TrendsData.d.ts +1 -1
  432. package/dist/trends/utils/TrendsTable.d.ts +1 -1
  433. package/dist/trends/utils/TrendsWidget.d.ts +7 -0
  434. package/dist/trends/utils/shared.d.ts +1 -1
  435. package/dist/{useAccountDisplayName-b2xxcD0C.mjs → useAccountDisplayName-DKwT1mWv.mjs} +1 -1
  436. package/dist/{useCombineEvents-ARuNN9Xh.mjs → useCombineEvents-Bqojlv8q.mjs} +3 -3
  437. package/dist/{useInsightsEnabled-Dd-AfsqC.mjs → useInsightsEnabled-DL_oNyI0.mjs} +1 -1
  438. package/dist/{useWidgetLoadTimer-DmNCCLa-.mjs → useWidgetLoadTimer-DgN1bTyu.mjs} +1 -1
  439. package/package.json +17 -10
  440. package/dist/AccountDetailsHeader-Bn2E0Qjk.mjs +0 -95
  441. package/dist/AccountListItem-k63LpVBs.mjs +0 -90
  442. package/dist/Accounts-CuE8aSZN.mjs +0 -27
  443. package/dist/BudgetUtil-BZiGckNY.mjs +0 -238
  444. package/dist/CashflowStore-naOtJcwo.mjs +0 -91
  445. package/dist/CurrencyInput-BEB3FS70.mjs +0 -85
  446. package/dist/Dialog-jmgGw5WA.mjs +0 -58
  447. package/dist/GlobalAccountFilter-CIF-aT3F.mjs +0 -316
  448. package/dist/GoalStore-BjHKNAVm.mjs +0 -421
  449. package/dist/HeaderCell-DjuifqHJ.mjs +0 -6
  450. package/dist/LineChart-CnscUFUG.mjs +0 -580
  451. package/dist/Loader-icSc5MlE.mjs +0 -24
  452. package/dist/Localization-2MODESHW.mjs +0 -30
  453. package/dist/MicroWidgetContainer-CBRk9KG-.mjs +0 -45
  454. package/dist/MiniWidgetContainer-CXQcSWSl.mjs +0 -56
  455. package/dist/Notification-Bs1fdbzI.mjs +0 -95
  456. package/dist/RecurringTransactions-DlKYwpfK.mjs +0 -296
  457. package/dist/SearchBox-B2_zLv8-.mjs +0 -42
  458. package/dist/SpendingLegend-Bld71d7q.mjs +0 -193
  459. package/dist/StatusIndicator-CNMQeYyJ.mjs +0 -55
  460. package/dist/TransactionDetails-Lvt9GCU5.mjs +0 -1194
  461. package/dist/TransactionList-BDffKJMO.mjs +0 -204
  462. package/dist/User-DS18cMaz.mjs +0 -237
  463. package/dist/ViewMoreMicroCard-YHRLl08A.mjs +0 -1152
  464. package/dist/common/components/barchart/Bar.d.ts +0 -25
  465. package/dist/common/components/barchart/BarChart.d.ts +0 -34
  466. package/dist/common/components/barchart/BarColumn.d.ts +0 -37
  467. package/dist/common/components/barchart/Legend.d.ts +0 -8
  468. package/dist/common/components/barchart/Util.d.ts +0 -42
  469. package/dist/common/components/barchart/index.d.ts +0 -1
  470. package/dist/common/types/SpendingPlan.d.ts +0 -44
  471. package/dist/transactions/components/shared/transactionlist/DateRow.d.ts +0 -7
  472. package/dist/trends/components/CategoryDetailDrawer.d.ts +0 -7
  473. /package/dist/{common → core}/types/Account.d.ts +0 -0
  474. /package/dist/{common → core}/types/Cashflow.d.ts +0 -0
  475. /package/dist/{common → core}/types/Category.d.ts +0 -0
  476. /package/dist/{common → core}/types/Client.d.ts +0 -0
  477. /package/dist/{common → core}/types/Date.d.ts +0 -0
  478. /package/dist/{common → core}/types/Debt.d.ts +0 -0
  479. /package/dist/{common → core}/types/Global.d.ts +0 -0
  480. /package/dist/{common → core}/types/GlobalCopy.d.ts +0 -0
  481. /package/dist/{common → core}/types/Goal.d.ts +0 -0
  482. /package/dist/{common → core}/types/Handlers.d.ts +0 -0
  483. /package/dist/{common → core}/types/Help.d.ts +0 -0
  484. /package/dist/{common → core}/types/Holding.d.ts +0 -0
  485. /package/dist/{common → core}/types/Institution.d.ts +0 -0
  486. /package/dist/{common → core}/types/LocalizedContent.d.ts +0 -0
  487. /package/dist/{common → core}/types/Merchant.d.ts +0 -0
  488. /package/dist/{common → core}/types/RepeatingTransaction.d.ts +0 -0
  489. /package/dist/{common → core}/types/ScheduledPayment.d.ts +0 -0
  490. /package/dist/{common → core}/types/ScreenSize.d.ts +0 -0
  491. /package/dist/{common → core}/types/Transaction.d.ts +0 -0
  492. /package/dist/{common → core}/types/User.d.ts +0 -0
  493. /package/dist/{common → core}/types/Widgets.d.ts +0 -0
  494. /package/dist/{common → core}/types/localization/AccountFilterCopy.d.ts +0 -0
  495. /package/dist/{common → core}/types/localization/AccountTypeCopy.d.ts +0 -0
  496. /package/dist/{common → core}/types/localization/AccountsCopy.d.ts +0 -0
  497. /package/dist/{common → core}/types/localization/AnalyticsCopy.d.ts +0 -0
  498. /package/dist/{common → core}/types/localization/CategoryCopy.d.ts +0 -0
  499. /package/dist/{common → core}/types/localization/ConnectCopy.d.ts +0 -0
  500. /package/dist/{common → core}/types/localization/CurrencyInputCopy.d.ts +0 -0
  501. /package/dist/{common → core}/types/localization/DateRangePickerCopy.d.ts +0 -0
  502. /package/dist/{common → core}/types/localization/FinstrongCopy.d.ts +0 -0
  503. /package/dist/{common → core}/types/localization/GoalsCopy.d.ts +0 -0
  504. /package/dist/{common → core}/types/localization/HelpCopy.d.ts +0 -0
  505. /package/dist/{common → core}/types/localization/InsightsFeedCopy.d.ts +0 -0
  506. /package/dist/{common → core}/types/localization/InvestmentsCopy.d.ts +0 -0
  507. /package/dist/{common → core}/types/localization/MicroInsightsCopy.d.ts +0 -0
  508. /package/dist/{common → core}/types/localization/NetWorthCopy.d.ts +0 -0
  509. /package/dist/{common → core}/types/localization/NotificationsCopy.d.ts +0 -0
  510. /package/dist/{common → core}/types/localization/SettingsCopy.d.ts +0 -0
  511. /package/dist/{common → core}/types/localization/TransactionsCopy.d.ts +0 -0
  512. /package/dist/{common → core}/types/localization/TrendsCopy.d.ts +0 -0
  513. /package/dist/{common → core}/types/localization/index.d.ts +0 -0
@@ -1,580 +0,0 @@
1
- import { jsxs as a, jsx as e, Fragment as $ } from "react/jsx-runtime";
2
- import Y from "@mui/material/Box";
3
- import { useTheme as W } from "@mui/material/styles";
4
- import { BarPlot as ft } from "@mui/x-charts/BarChart";
5
- import { ChartContainer as xt } from "@mui/x-charts/ChartContainer";
6
- import { ChartsAxisHighlight as yt } from "@mui/x-charts/ChartsAxisHighlight";
7
- import { ChartsReferenceLine as gt } from "@mui/x-charts/ChartsReferenceLine";
8
- import { useAxesTooltip as pt, ChartsTooltipContainer as bt } from "@mui/x-charts/ChartsTooltip";
9
- import { ChartsXAxis as kt } from "@mui/x-charts/ChartsXAxis";
10
- import { ChartsYAxis as Mt } from "@mui/x-charts/ChartsYAxis";
11
- import { AreaPlot as Ct, LinePlot as wt, MarkPlot as Lt } from "@mui/x-charts/LineChart";
12
- import { f as p, c as X } from "./NumberFormatting-DjTD0t3W.mjs";
13
- import { observer as St } from "mobx-react-lite";
14
- import P from "@mui/material/Stack";
15
- import { Text as l } from "@mxenabled/mxui";
16
- import { u as vt } from "./hooks-CBl85iRr.mjs";
17
- import Dt from "@mui/material/useMediaQuery";
18
- import { Stack as M, Box as F } from "@mui/material";
19
- const Tt = ({
20
- label: t,
21
- customLegendVariant: r
22
- }) => {
23
- const s = r || "Small";
24
- return typeof t == "string" ? /* @__PURE__ */ e(l, { variant: s, children: t }) : typeof t == "object" && t.amount !== void 0 && t.label ? /* @__PURE__ */ a($, { children: [
25
- /* @__PURE__ */ e(l, { variant: s, children: t.label }),
26
- /* @__PURE__ */ e(l, { bold: !0, sx: { marginLeft: 8 }, variant: s, children: p(t.amount, "0,0") })
27
- ] }) : null;
28
- }, At = ({
29
- average: t,
30
- customLegendVariant: r,
31
- customLegendBoxSx: s,
32
- labels: o = [],
33
- series: b,
34
- style: x,
35
- title: h,
36
- valueFormatterString: u
37
- }) => {
38
- const { common: m } = vt(), c = r || "Small";
39
- return /* @__PURE__ */ a(P, { style: { flexDirection: "row", gap: 24, ...x }, children: [
40
- b.map((i, f) => {
41
- const d = o[f];
42
- return d ? /* @__PURE__ */ a(
43
- P,
44
- {
45
- style: { alignItems: "center", flexDirection: "row", flexWrap: "wrap" },
46
- children: [
47
- /* @__PURE__ */ e(
48
- Y,
49
- {
50
- sx: {
51
- width: 10,
52
- height: 10,
53
- backgroundColor: i.color,
54
- marginRight: 8,
55
- ...s
56
- }
57
- }
58
- ),
59
- /* @__PURE__ */ e(Tt, { customLegendVariant: r, label: d })
60
- ]
61
- },
62
- f
63
- ) : null;
64
- }),
65
- t !== void 0 && /* @__PURE__ */ a(P, { sx: { alignItems: "center", flexDirection: "row" }, children: [
66
- /* @__PURE__ */ e(l, { bold: !0, sx: { marginRight: 8 }, variant: c, children: "– –" }),
67
- /* @__PURE__ */ a(l, { variant: c, children: [
68
- h || m.average,
69
- "  "
70
- ] }),
71
- /* @__PURE__ */ e(l, { bold: !0, variant: c, children: u ? p(t, u) : t })
72
- ] })
73
- ] });
74
- }, Bt = St(At), It = (t) => /* @__PURE__ */ a($, { children: [
75
- /* @__PURE__ */ e("clipPath", { id: t.id, children: /* @__PURE__ */ e("rect", { height: t.height, width: t.width, x: "0", y: "0" }) }),
76
- /* @__PURE__ */ e("g", { children: /* @__PURE__ */ e(
77
- "path",
78
- {
79
- cursor: "unset",
80
- d: t.d,
81
- style: {
82
- strokeWidth: 2,
83
- strokeLinejoin: "round",
84
- fill: "none",
85
- stroke: t.lineColor ? t.lineColor : t.stroke,
86
- transition: "opacity 0.2s ease-in, stroke 0.2s ease-in",
87
- opacity: 1
88
- }
89
- }
90
- ) })
91
- ] }), Rt = (t) => {
92
- const r = W(), s = t.showLabel, o = t.style, b = o?.markLabelStyles, x = Number(t.x), h = Number(t.y), u = t.handlers?.onMarkClick, m = t.handlers?.onMouseEnter, c = t.handlers?.onMouseLeave, i = Dt(r.breakpoints.up("sm")), f = t.valueFormatterString ? p(t.yData[t.dataIndex], t.valueFormatterString) : String(t.yData[t.dataIndex]), d = i ? r.typography.Small?.fontSize : r.typography.XSmall?.fontSize, D = 30, T = 24, A = x - D / 2, B = h - 30;
93
- return /* @__PURE__ */ a($, { children: [
94
- s && /* @__PURE__ */ a($, { children: [
95
- t.labelBackgroundColor && /* @__PURE__ */ e(
96
- "rect",
97
- {
98
- fill: t.labelBackgroundColor,
99
- height: T,
100
- rx: "3",
101
- width: D,
102
- x: A,
103
- y: B
104
- }
105
- ),
106
- /* @__PURE__ */ e(
107
- "text",
108
- {
109
- className: "MuiLineChart-markLabel",
110
- dominantBaseline: "middle",
111
- fill: t.labelFontColor ? t.labelFontColor : r.palette.text.primary,
112
- style: {
113
- fontSize: t.labelFontSize ? t.labelFontSize : d,
114
- ...b
115
- },
116
- textAnchor: "middle",
117
- x,
118
- y: h - 28 + T / 2,
119
- children: f
120
- }
121
- )
122
- ] }),
123
- t.showMark && /* @__PURE__ */ e(
124
- "path",
125
- {
126
- cursor: u ? "pointer" : "unset",
127
- d: "M4.514,0A4.514,4.514,0,1,1,-4.514,0A4.514,4.514,0,1,1,4.514,0",
128
- height: "20px",
129
- onClick: (j) => {
130
- u?.(j, t.dataIndex);
131
- },
132
- onMouseEnter: () => {
133
- m?.(t.dataIndex);
134
- },
135
- onMouseLeave: () => {
136
- c?.();
137
- },
138
- style: {
139
- fill: o?.fill ? o.fill : r.palette.background.paper,
140
- stroke: o?.stroke ? o.stroke : r.palette.primary.main,
141
- strokeWidth: 2,
142
- transform: `translate(${t.x}px, ${t.y}px)`,
143
- transformOrigin: `${t.x}px, ${t.y}px`,
144
- filter: o?.filter ? o.filter : "none"
145
- },
146
- width: "20px"
147
- }
148
- )
149
- ] });
150
- };
151
- function $t({
152
- customLabels: t,
153
- labels: r = [],
154
- series: s,
155
- valueFormatterString: o = "0,0"
156
- }) {
157
- const b = pt(), x = W(), h = b?.[0];
158
- if (!h) return null;
159
- const { axisValue: u, dataIndex: m = 0 } = h;
160
- if (t) {
161
- const c = t[m]?.[0]?.header || String(u);
162
- return /* @__PURE__ */ a(
163
- M,
164
- {
165
- sx: {
166
- backgroundColor: x.palette.background.paper,
167
- boxShadow: "0 2px 8px 0 rgba(0, 0, 0, 0.12)",
168
- flexDirection: "column",
169
- alignItems: "flex-start",
170
- borderRadius: "4px",
171
- width: 250,
172
- gap: 8,
173
- px: 16,
174
- py: 12
175
- },
176
- children: [
177
- /* @__PURE__ */ a(
178
- M,
179
- {
180
- sx: {
181
- flexDirection: "row",
182
- justifyContent: "space-between",
183
- alignItems: "center",
184
- alignSelf: "stretch",
185
- gap: 8,
186
- marginTop: 4
187
- },
188
- children: [
189
- /* @__PURE__ */ e(l, { variant: "H3", children: c }),
190
- /* @__PURE__ */ e(l, { bold: !0, variant: "H3", children: p(s[0]?.data[m], o) })
191
- ]
192
- }
193
- ),
194
- t[m]?.some((i) => (typeof i == "string" ? 0 : i.amount) !== 0) ? t[m]?.map((i) => {
195
- const f = typeof i == "string" ? i : i.label, d = typeof i == "string" ? 0 : i.amount;
196
- return d === 0 ? null : /* @__PURE__ */ a(
197
- M,
198
- {
199
- sx: {
200
- flexDirection: "row",
201
- justifyContent: "space-between",
202
- alignItems: "center",
203
- alignSelf: "stretch",
204
- gap: 8,
205
- marginTop: 4
206
- },
207
- children: [
208
- /* @__PURE__ */ a(
209
- M,
210
- {
211
- sx: {
212
- flexDirection: "row",
213
- alignItems: "center",
214
- gap: 8,
215
- flex: 1,
216
- minWidth: 0
217
- },
218
- children: [
219
- /* @__PURE__ */ e(
220
- F,
221
- {
222
- sx: {
223
- width: "12px",
224
- height: "12px",
225
- backgroundColor: s[0]?.color,
226
- borderRadius: "4px"
227
- }
228
- }
229
- ),
230
- /* @__PURE__ */ e(l, { variant: "Body", children: f })
231
- ]
232
- }
233
- ),
234
- /* @__PURE__ */ e(l, { bold: !0, variant: "Body", children: p(Math.abs(d), o) })
235
- ]
236
- },
237
- f
238
- );
239
- }) : /* @__PURE__ */ e(l, { variant: "Body", children: "No data" })
240
- ]
241
- }
242
- );
243
- }
244
- return /* @__PURE__ */ a(
245
- M,
246
- {
247
- sx: {
248
- backgroundColor: x.palette.background.paper,
249
- boxShadow: "0 2px 8px 0 rgba(0, 0, 0, 0.12)",
250
- flexDirection: "column",
251
- alignItems: "flex-start",
252
- borderRadius: "4px",
253
- width: 225,
254
- gap: 8,
255
- px: 16,
256
- py: 12
257
- },
258
- children: [
259
- /* @__PURE__ */ e(l, { variant: "H3", children: String(u) }),
260
- s.map((c, i) => /* @__PURE__ */ a(
261
- M,
262
- {
263
- sx: {
264
- flexDirection: "row",
265
- justifyContent: "space-between",
266
- alignItems: "center",
267
- alignSelf: "stretch",
268
- gap: 8,
269
- marginTop: 4
270
- },
271
- children: [
272
- /* @__PURE__ */ a(M, { sx: { flexDirection: "row", alignItems: "center", gap: 8 }, children: [
273
- /* @__PURE__ */ e(
274
- F,
275
- {
276
- sx: {
277
- width: "12px",
278
- height: "12px",
279
- backgroundColor: c.color,
280
- borderRadius: "4px"
281
- }
282
- }
283
- ),
284
- /* @__PURE__ */ e(l, { variant: "Body", children: typeof r[i] == "string" ? r[i] : r[i]?.label })
285
- ] }),
286
- /* @__PURE__ */ e(l, { bold: !0, variant: "Body", children: p(c.data[m], o) })
287
- ]
288
- },
289
- c.id
290
- ))
291
- ]
292
- }
293
- );
294
- }
295
- const _t = ({
296
- areaColor: t,
297
- axisColor: r,
298
- baseline: s = "max",
299
- chartFor: o,
300
- chartXaxisSx: b,
301
- chartYaxisSx: x,
302
- colors: h,
303
- curveType: u = "linear",
304
- customLegendVariant: m,
305
- customLegendSx: c,
306
- customLegendBoxSx: i,
307
- customTooltipLabels: f,
308
- datasets: d,
309
- height: D,
310
- isGraphClippingXAxis: T = !1,
311
- labels: A,
312
- labelBackgroundColor: B,
313
- labelFontColor: j,
314
- labelFontSize: q,
315
- margin: Q,
316
- markHandlers: U,
317
- markStyles: V,
318
- minRange: J,
319
- maxRange: K,
320
- onItemClick: z,
321
- peerAverage: E,
322
- showArea: H = !1,
323
- showAverage: G = !1,
324
- showAxisHighlight: Z = !1,
325
- showBars: N = !1,
326
- showLegend: _ = !1,
327
- showMark: tt = !0,
328
- showMarkLabel: et = !1,
329
- showTooltip: nt = !1,
330
- showXAxis: rt = !1,
331
- showXAxisTicks: at = !1,
332
- showYAxis: it = !1,
333
- showYAxisTicks: ot = !1,
334
- title: lt,
335
- useCustomMark: st = !1,
336
- valueFormatterString: k,
337
- width: ct,
338
- xAxisScaleType: dt
339
- }) => {
340
- const y = W(), ht = d.flat().map((n) => n.x), C = d.flat().map((n) => n.y), O = E || Math.round(C.reduce((n, v) => v + n, 0) / C.length), w = Math.floor(Math.min(...C) / 100) * 100, L = Math.ceil(Math.max(...C) / 100) * 100, I = d.map((n, v) => ({
341
- type: N ? "bar" : "line",
342
- curve: u,
343
- color: N ? y.palette.chart?.chart6 : h[v] ?? y.palette.primary.main,
344
- data: n.map((g) => g.y),
345
- area: H,
346
- baseline: s,
347
- showMark: !0,
348
- valueFormatter: (g) => k ? p(g || 0, k) : String(g)
349
- })), mt = {
350
- ...{
351
- top: 60,
352
- right: 35,
353
- bottom: 25,
354
- left: -10
355
- },
356
- ...Q
357
- };
358
- let S = J ?? w, R = K ?? L;
359
- if (o === "networthChart") {
360
- const n = L - w, v = n < L * 0.05 ? 0.25 : 0.2, g = Math.max(n * v, L * 0.015);
361
- S = w - g < 0 ? w : w - g, R = L + g;
362
- }
363
- const ut = () => {
364
- if (o === "creditOverTime")
365
- return X(S, 850, 5);
366
- if (o === "networthChart")
367
- return X(S, R, 5);
368
- };
369
- return /* @__PURE__ */ a(
370
- Y,
371
- {
372
- sx: {
373
- position: "relative",
374
- touchAction: "pan-y",
375
- // Allow vertical scrolling
376
- "& svg": {
377
- touchAction: "pan-y",
378
- // Allow vertical scrolling on SVG
379
- userSelect: "none"
380
- // Prevent text selection
381
- },
382
- "& .recharts-wrapper": {
383
- touchAction: "pan-y"
384
- // For Recharts library specifically
385
- }
386
- },
387
- children: [
388
- /* @__PURE__ */ a(
389
- xt,
390
- {
391
- height: D,
392
- margin: mt,
393
- series: I,
394
- sx: {
395
- "& .MuiBarLabel-root": {
396
- fontSize: 10,
397
- fontWeight: 600
398
- },
399
- "& .MuiAreaElement-root": {
400
- opacity: 0.15
401
- },
402
- "& .MuiChartsAxis-tickLabel > tspan": {
403
- fontFamily: y.typography.Small.fontFamily
404
- },
405
- "& .MuiLineChart-markLabel": {
406
- fontFamily: y.typography.Small.fontFamily
407
- }
408
- },
409
- width: ct,
410
- xAxis: [{ data: ht, scaleType: dt || (N ? "band" : "point") }],
411
- yAxis: [
412
- {
413
- tickInterval: ut(),
414
- min: T ? -22 : S,
415
- max: R || 100,
416
- colorMap: H && I.length < 2 ? {
417
- type: "continuous",
418
- min: S,
419
- max: R,
420
- color: [
421
- y.palette.background.paper,
422
- h[0] ?? y.palette.primary.main
423
- ]
424
- } : void 0,
425
- valueFormatter: (n) => k ? p(n, k) : String(n),
426
- width: 62
427
- }
428
- ],
429
- children: [
430
- G && /* @__PURE__ */ e(
431
- gt,
432
- {
433
- lineStyle: {
434
- stroke: B ? y.palette.neutral.main : y.palette.neutral.dark,
435
- strokeDasharray: "10, 8",
436
- strokeWidth: 2
437
- },
438
- y: O
439
- }
440
- ),
441
- /* @__PURE__ */ e(
442
- Ct,
443
- {
444
- onItemClick: z,
445
- ...t && {
446
- slots: {
447
- area: (n) => /* @__PURE__ */ a("g", { children: [
448
- /* @__PURE__ */ e("defs", { children: /* @__PURE__ */ a("linearGradient", { id: "customGradient", x1: "0", x2: "0", y1: "0", y2: "1", children: [
449
- /* @__PURE__ */ e("stop", { offset: "0%", stopColor: t }),
450
- /* @__PURE__ */ e("stop", { offset: "100%", stopColor: t, stopOpacity: 0.02 })
451
- ] }) }),
452
- /* @__PURE__ */ e("path", { ...n, fill: "url(#customGradient)" })
453
- ] })
454
- }
455
- }
456
- }
457
- ),
458
- /* @__PURE__ */ e(
459
- wt,
460
- {
461
- onItemClick: z,
462
- slots: {
463
- line: (n) => /* @__PURE__ */ e(
464
- It,
465
- {
466
- ...n,
467
- lineColor: t ?? n.ownerState.color ?? y.palette.primary.main
468
- }
469
- )
470
- }
471
- }
472
- ),
473
- /* @__PURE__ */ e(
474
- Lt,
475
- {
476
- onItemClick: z,
477
- slots: st ? {
478
- mark: (n) => /* @__PURE__ */ e(
479
- Rt,
480
- {
481
- handlers: U,
482
- labelBackgroundColor: B,
483
- labelFontColor: j,
484
- labelFontSize: q,
485
- showLabel: et,
486
- showMark: tt || n.dataIndex === d[0].length - 1,
487
- style: V?.(n.dataIndex) ?? {},
488
- valueFormatterString: k,
489
- yData: C,
490
- ...n
491
- }
492
- )
493
- } : void 0
494
- }
495
- ),
496
- /* @__PURE__ */ e(
497
- ft,
498
- {
499
- barLabel: (n) => Number(n.value) > 0 ? `$${n.value}` : null,
500
- borderRadius: 10
501
- }
502
- ),
503
- /* @__PURE__ */ e(
504
- kt,
505
- {
506
- disableLine: !rt,
507
- disableTicks: !at,
508
- slotProps: r ? {
509
- axisLine: {
510
- style: {
511
- stroke: r
512
- }
513
- },
514
- axisTick: {
515
- style: {
516
- stroke: r
517
- }
518
- }
519
- } : {},
520
- sx: { ...b }
521
- }
522
- ),
523
- /* @__PURE__ */ e(
524
- Mt,
525
- {
526
- disableLine: !it,
527
- disableTicks: !ot,
528
- slotProps: r ? {
529
- axisLine: {
530
- style: {
531
- stroke: r
532
- }
533
- },
534
- axisTick: {
535
- style: {
536
- stroke: r
537
- }
538
- }
539
- } : {},
540
- sx: { ...x }
541
- }
542
- ),
543
- Z && /* @__PURE__ */ e(yt, { x: "line" }),
544
- nt && /* @__PURE__ */ e(bt, { trigger: "axis", children: /* @__PURE__ */ e(
545
- $t,
546
- {
547
- customLabels: f,
548
- labels: A,
549
- series: I,
550
- valueFormatterString: k
551
- }
552
- ) })
553
- ]
554
- }
555
- ),
556
- _ && /* @__PURE__ */ e(
557
- Bt,
558
- {
559
- average: G ? O : void 0,
560
- customLegendBoxSx: i,
561
- customLegendVariant: m,
562
- labels: A,
563
- series: I,
564
- style: {
565
- position: "absolute",
566
- top: 16,
567
- left: 16,
568
- ...c
569
- },
570
- title: lt,
571
- valueFormatterString: k
572
- }
573
- )
574
- ]
575
- }
576
- );
577
- };
578
- export {
579
- _t as L
580
- };
@@ -1,24 +0,0 @@
1
- import { jsxs as s, jsx as o } from "react/jsx-runtime";
2
- import c from "@mui/material/CircularProgress";
3
- import a from "@mui/material/Stack";
4
- import { useTokens as i, Text as m } from "@mxenabled/mxui";
5
- const f = ({ height: t = 250, label: r = "", size: e = 32 }) => {
6
- const n = i();
7
- return /* @__PURE__ */ s(
8
- a,
9
- {
10
- alignItems: "center",
11
- gap: n.Spacing.XLarge,
12
- height: t,
13
- justifyContent: "center",
14
- sx: { backgroundColor: "background.default" },
15
- children: [
16
- /* @__PURE__ */ o(c, { size: e }),
17
- r && /* @__PURE__ */ o(m, { children: r })
18
- ]
19
- }
20
- );
21
- };
22
- export {
23
- f as L
24
- };
@@ -1,30 +0,0 @@
1
- import u from "react";
2
- const y = /(?<static>.*?)(?<dynamic>(?:_\d+{(?:.*?)}))|(?<staticEnd>.+)/g, h = (n, ...e) => {
3
- if (!n) return "";
4
- const s = e.some((i) => typeof i != "string"), a = [...n.matchAll(y)].reduce(
5
- (i, d, m) => {
6
- const o = [...i], t = d.groups;
7
- if (t?.static && o.push(t.static), t?.dynamic) {
8
- const l = t.dynamic.indexOf("{"), p = t.dynamic.substring(l + 1, t.dynamic.length - 1), r = Number(t.dynamic.substring(1, l));
9
- if (u.isValidElement(e[r - 1])) {
10
- const f = e[r - 1], g = u.cloneElement(f, {
11
- key: `${p}-${m}`
12
- });
13
- o.push(g);
14
- } else
15
- o.push(e[r - 1]);
16
- }
17
- return t?.staticEnd && o.push(t.staticEnd), o;
18
- },
19
- []
20
- );
21
- return s ? a : a.join("");
22
- }, w = (n, e, s, ...c) => !n || !e ? "" : h(s === 1 ? n : e, ...c), E = () => {
23
- const n = "en-us", e = ["en-us", "en-ca", "fr", "fr-ca", "es"], s = window?.app?.options?.language?.toLowerCase() ?? "", c = window.navigator.language.toLowerCase();
24
- return s === "browser" && e.includes(c) ? c : e.includes(s) ? s : n;
25
- };
26
- export {
27
- w as a,
28
- h as b,
29
- E as g
30
- };
@@ -1,45 +0,0 @@
1
- import { jsx as r, jsxs as p, Fragment as f } from "react/jsx-runtime";
2
- import x from "@mui/material/Button";
3
- import C from "@mui/material/Card";
4
- import b from "@mui/material/CardContent";
5
- import g from "@mui/material/CardHeader";
6
- import { H3 as u, P as v } from "@mxenabled/mxui";
7
- import { ChevronRight as W } from "@mxenabled/mx-icons";
8
- import { u as w } from "./useDimensions-CeDR9V8N.mjs";
9
- import { W as H } from "./hooks-CBl85iRr.mjs";
10
- const D = ({
11
- children: i,
12
- className: o,
13
- ctaLabel: n,
14
- onCTAClick: a,
15
- subHeader: t,
16
- sx: s,
17
- title: d,
18
- variant: c = "borderless"
19
- }) => {
20
- const [m, { height: l, width: h }] = w(), e = /* @__PURE__ */ p(f, { children: [
21
- /* @__PURE__ */ r(
22
- g,
23
- {
24
- action: /* @__PURE__ */ r(
25
- x,
26
- {
27
- endIcon: /* @__PURE__ */ r(W, { size: 20 }),
28
- onClick: a,
29
- size: "small",
30
- variant: "text",
31
- children: n
32
- }
33
- ),
34
- subheader: t && /* @__PURE__ */ r(v, { sx: { color: "text.secondary" }, variant: "body2", children: t }),
35
- sx: { p: 0, pb: 8, width: "calc(100% - 8px)", "& .MuiCardHeader-action": { mt: 0 } },
36
- title: /* @__PURE__ */ r(u, { sx: { width: "calc(100% - 10px)" }, children: d })
37
- }
38
- ),
39
- /* @__PURE__ */ r(b, { ref: m, sx: { p: 0, ":last-child": { pb: 0 } }, children: /* @__PURE__ */ r(H, { availableHeight: l, availableWidth: h, children: i }) })
40
- ] });
41
- return c === "borderless" ? e : /* @__PURE__ */ r(C, { className: o, sx: { alignItems: "center", p: 16, ...s }, children: e });
42
- };
43
- export {
44
- D as M
45
- };