@mx-cartographer/experiences 6.26.18-alpha.mega3 → 6.26.18-alpha.mega4

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 (676) hide show
  1. package/dist/{common/constants/Account/index.es.js → Account-DM32_5k9.mjs} +4 -4
  2. package/dist/AccountDetailsContent-B_qRSB8l.mjs +677 -0
  3. package/dist/AccountDetailsHeader-CAm6ADMq.mjs +119 -0
  4. package/dist/{accounts/utils/AccountFields/index.es.js → AccountFields-Bb4pds0q.mjs} +17 -18
  5. package/dist/AccountListItem-G7iAesaO.mjs +90 -0
  6. package/dist/{accounts/stores/AccountStore/index.es.js → AccountStore-RSanus_m.mjs} +50 -24
  7. package/dist/Accounts-BfAQRG8R.mjs +9 -0
  8. package/dist/BeatApi-DLu87ijw.mjs +21 -0
  9. package/dist/{microinsights/utils/beatUtils/index.es.js → BeatStore-By4aGoRM.mjs} +36 -6
  10. package/dist/BudgetUtil-DcqclhiQ.mjs +101 -0
  11. package/dist/CashflowStore-D9Dpuz7X.mjs +91 -0
  12. package/dist/{common/constants/Category/index.es.js → Category-5S6uwuXz.mjs} +7 -7
  13. package/dist/CategorySelectorDrawer-DgrePTRg.mjs +397 -0
  14. package/dist/{categories/stores/CategoryStore/index.es.js → CategoryStore-B5EW6I1d.mjs} +77 -29
  15. package/dist/{categories/util/CategoryUtil/index.es.js → CategoryUtil-DRyruNgi.mjs} +22 -22
  16. package/dist/ConnectDrawer-DPnfeIfn.mjs +508 -0
  17. package/dist/ConnectionsDrawer-BCzpuNsK.mjs +52 -0
  18. package/dist/{common/components/CurrencyInput/index.es.js → CurrencyInput-DzsPiUsU.mjs} +24 -25
  19. package/dist/CurrencyText-YUhH2caW.mjs +20 -0
  20. package/dist/DateUtil-BcuH7ErC.mjs +48 -0
  21. package/dist/DebtsStore-C6VcBnpG.mjs +60 -0
  22. package/dist/Dialog-CWW597AF.mjs +123 -0
  23. package/dist/{common/components/charts/Donut/index.es.js → Donut-1UMNcG67.mjs} +11 -11
  24. package/dist/Drawer-kEE73B87.mjs +113 -0
  25. package/dist/{common/components/EmptyState/index.es.js → EmptyState-Dcb-o2tl.mjs} +1 -1
  26. package/dist/Fetch-CkFKy79O.mjs +116 -0
  27. package/dist/FinstrongStore-mkALvztw.mjs +101 -0
  28. package/dist/GoalStore-DyCr4wNc.mjs +263 -0
  29. package/dist/{trends/components/TrendsTable/HeaderCell/index.es.js → HeaderCell-DjuifqHJ.mjs} +1 -1
  30. package/dist/{help/constants/Help/index.es.js → Help-DhcC-C05.mjs} +27 -6
  31. package/dist/Help-toqAK5eD.mjs +3173 -0
  32. package/dist/{common/components/IconBacking/index.es.js → IconBacking-B9oC6uL2.mjs} +10 -10
  33. package/dist/InvestmentUtil-jOyOgzIB.mjs +134 -0
  34. package/dist/LineChart-CQWu5KoO.mjs +403 -0
  35. package/dist/{common/components/ListItemAction/index.es.js → ListItemAction-Df3OPMOW.mjs} +18 -18
  36. package/dist/Loader-Dp1P2gNw.mjs +14 -0
  37. package/dist/{common/utils/Localization/index.es.js → Localization-2MODESHW.mjs} +8 -8
  38. package/dist/ManageIncome-BVt_XQbo.mjs +535 -0
  39. package/dist/MerchantStore-DVH-QOf0.mjs +37 -0
  40. package/dist/{common/components/MicroWidgetContainer/index.es.js → MicroWidgetContainer-DaLW43tE.mjs} +11 -11
  41. package/dist/{common/components/MiniWidgetContainer/index.es.js → MiniWidgetContainer-BcNPxZt2.mjs} +11 -11
  42. package/dist/NetWorthStore-DE8CQBMM.mjs +150 -0
  43. package/dist/Notification-AMGWM1Al.mjs +78 -0
  44. package/dist/NotificationSettings-CPZN0l8X.mjs +667 -0
  45. package/dist/NotificationStore-DHtSGySy.mjs +67 -0
  46. package/dist/NumberFormatting-CtWHhyBX.mjs +40 -0
  47. package/dist/OriginalBalanceAction-s9sUxofR.mjs +115 -0
  48. package/dist/RecurringSettings-DIEsympT.mjs +57 -0
  49. package/dist/{recurringtransactions/stores/RecurringTransactionsStore/index.es.js → RecurringTransactionsStore-BKLD3OWo.mjs} +65 -49
  50. package/dist/RepeatingTransaction-BPWfaB3f.mjs +282 -0
  51. package/dist/{common/components/SearchBox/index.es.js → SearchBox-B2_zLv8-.mjs} +12 -12
  52. package/dist/SettingsStore-CE7jDVFL.mjs +265 -0
  53. package/dist/{common/components/donuts/SingleSegmentDonut/index.es.js → SingleSegmentDonut-BgbLgwHi.mjs} +27 -26
  54. package/dist/SpendingData-ByFCw95X.mjs +53 -0
  55. package/dist/{common/components/charts/StatusBar/index.es.js → StatusBar-BK_uYHAB.mjs} +1 -1
  56. package/dist/{common/components/TabContentContainer/index.es.js → TabContentContainer-j01JYR_7.mjs} +1 -1
  57. package/dist/Transaction-C-5-Iuab.mjs +312 -0
  58. package/dist/{transactions/api/TransactionApi/index.es.js → TransactionApi-DbbcjI2L.mjs} +4 -5
  59. package/dist/TransactionDetails-B5qfs9Zh.mjs +1283 -0
  60. package/dist/TransactionStore-BWi6_2Ny.mjs +669 -0
  61. package/dist/TrendsStore-Borh98aN.mjs +448 -0
  62. package/dist/ViewMoreMicroCard-CAPFNz-J.mjs +1959 -0
  63. package/dist/WidgetContainer-CmGNZW0M.mjs +548 -0
  64. package/dist/accounts/index.es.js +750 -24
  65. package/dist/analytics/index.es.js +169 -2
  66. package/dist/budgets/index.es.js +1068 -4
  67. package/dist/cashflow/index.es.js +1096 -10
  68. package/dist/categories/index.es.js +7 -10
  69. package/dist/common/index.es.js +1449 -232
  70. package/dist/dashboard/index.es.js +179 -4
  71. package/dist/debts/index.es.js +1458 -8
  72. package/dist/{transactions/utils/exportTransactionsToCSV/index.es.js → exportTransactionsToCSV-j4g8bdVZ.mjs} +9 -9
  73. package/dist/finstrong/index.es.js +1453 -12
  74. package/dist/goals/index.es.js +1207 -8
  75. package/dist/help/index.es.js +12 -4
  76. package/dist/hooks-ClhFlg78.mjs +71 -0
  77. package/dist/insights/index.es.js +1 -1
  78. package/dist/investments/index.es.js +1636 -2
  79. package/dist/merchants/index.es.js +77 -4
  80. package/dist/microinsights/index.es.js +13 -25
  81. package/dist/networth/index.es.js +540 -12
  82. package/dist/notifications/index.es.js +190 -10
  83. package/dist/recurringtransactions/index.es.js +877 -18
  84. package/dist/settings/index.es.js +877 -27
  85. package/dist/spending/index.es.js +568 -4
  86. package/dist/transactions/index.es.js +585 -25
  87. package/dist/trends/index.es.js +1101 -10
  88. package/dist/useCombineEvents-DaDBSR_1.mjs +92 -0
  89. package/dist/{common/hooks/useDimensions/index.es.js → useDimensions-27p2evRx.mjs} +1 -1
  90. package/dist/{common/hooks/useScreenSize/index.es.js → useScreenSize-B6JyS_Lj.mjs} +1 -1
  91. package/package.json +1 -1
  92. package/dist/accounts/AccountsMiniWidget/index.es.js +0 -45
  93. package/dist/accounts/AccountsWidget/index.es.js +0 -67
  94. package/dist/accounts/ConnectMiniWidget/index.es.js +0 -41
  95. package/dist/accounts/api/AccountApi/index.es.js +0 -20
  96. package/dist/accounts/components/AccountListItem/index.es.js +0 -84
  97. package/dist/accounts/components/AccountsList/index.es.js +0 -164
  98. package/dist/accounts/components/ConnectImage/index.es.js +0 -444
  99. package/dist/accounts/components/ConnectMiniWidgetCard/index.es.js +0 -27
  100. package/dist/accounts/components/ConnectStatus/index.es.js +0 -37
  101. package/dist/accounts/components/ConnectionStatusIcons/index.es.js +0 -12
  102. package/dist/accounts/components/ConnectionsDrawer/index.es.js +0 -54
  103. package/dist/accounts/components/detailsdrawer/Accounts/AccountActions/index.es.js +0 -134
  104. package/dist/accounts/components/detailsdrawer/Accounts/AccountActionsRow/index.es.js +0 -21
  105. package/dist/accounts/components/detailsdrawer/Accounts/AccountConnection/index.es.js +0 -103
  106. package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailEdit/index.es.js +0 -120
  107. package/dist/accounts/components/detailsdrawer/Accounts/AccountDetails/index.es.js +0 -58
  108. package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsChart/index.es.js +0 -43
  109. package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsContent/index.es.js +0 -50
  110. package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsHeader/index.es.js +0 -47
  111. package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsTab/index.es.js +0 -20
  112. package/dist/accounts/components/detailsdrawer/Accounts/ConnectionErrorMessage/index.es.js +0 -74
  113. package/dist/accounts/components/detailsdrawer/Transactions/TransactionsTab/index.es.js +0 -37
  114. package/dist/accounts/constants/Accounts/index.es.js +0 -5
  115. package/dist/accounts/hooks/useGetMergeableAccounts/index.es.js +0 -11
  116. package/dist/accounts/hooks/useUiStore/index.es.js +0 -11
  117. package/dist/accounts/stores/UiStore/index.es.js +0 -15
  118. package/dist/accounts/utils/Accounts/index.es.js +0 -9
  119. package/dist/accounts/utils/getConnectionMessages/index.es.js +0 -162
  120. package/dist/analytics/SurveyMiniWidget/index.es.js +0 -101
  121. package/dist/analytics/components/OpenTextField/index.es.js +0 -23
  122. package/dist/analytics/components/RatingScale/index.es.js +0 -68
  123. package/dist/analytics/stores/AnalyticsStore/index.es.js +0 -54
  124. package/dist/budgets/BubbleBudgetsMiniWidget/index.es.js +0 -71
  125. package/dist/budgets/BubbleBudgetsWidget/index.es.js +0 -139
  126. package/dist/budgets/api/BudgetsApi/index.es.js +0 -26
  127. package/dist/budgets/components/AddBudgets/index.es.js +0 -30
  128. package/dist/budgets/components/BubbleBudgets/index.es.js +0 -61
  129. package/dist/budgets/components/BubbleChart/Bubble/index.es.js +0 -97
  130. package/dist/budgets/components/BubbleChart/Mercury/index.es.js +0 -27
  131. package/dist/budgets/components/BubbleChart/index.es.js +0 -22
  132. package/dist/budgets/components/BudgetDetailsDrawer/index.es.js +0 -95
  133. package/dist/budgets/components/BudgetList/BudgetRow/index.es.js +0 -42
  134. package/dist/budgets/components/BudgetList/SubBudgetRow/index.es.js +0 -36
  135. package/dist/budgets/components/BudgetList/SubBudgetZeroState/index.es.js +0 -16
  136. package/dist/budgets/components/BudgetList/index.es.js +0 -30
  137. package/dist/budgets/components/BudgetsEmptyState/index.es.js +0 -85
  138. package/dist/budgets/components/Overview/index.es.js +0 -105
  139. package/dist/budgets/components/addbudget/Header/index.es.js +0 -28
  140. package/dist/budgets/components/addbudget/RecalculateBudgetRow/index.es.js +0 -30
  141. package/dist/budgets/components/addbudget/RecalculateBudgets/index.es.js +0 -39
  142. package/dist/budgets/components/addbudget/UnbudgetedRow/index.es.js +0 -46
  143. package/dist/budgets/components/budgetdetails/AddSubBudget/index.es.js +0 -73
  144. package/dist/budgets/components/budgetdetails/BudgetDetails/index.es.js +0 -75
  145. package/dist/budgets/components/budgetdetails/Header/index.es.js +0 -31
  146. package/dist/budgets/components/budgetdetails/SubBudgetList/index.es.js +0 -102
  147. package/dist/budgets/components/shared/BudgetAmount/index.es.js +0 -37
  148. package/dist/budgets/store/BudgetsStore/index.es.js +0 -139
  149. package/dist/budgets/utils/BubblesSVG/index.es.js +0 -51
  150. package/dist/budgets/utils/BudgetUtil/index.es.js +0 -70
  151. package/dist/cashflow/CashflowMiniWidget/index.es.js +0 -27
  152. package/dist/cashflow/CashflowOnboarding/index.es.js +0 -220
  153. package/dist/cashflow/CashflowWidget/index.es.js +0 -91
  154. package/dist/cashflow/api/CashflowApi/index.es.js +0 -25
  155. package/dist/cashflow/components/CashflowAmountHeading/index.es.js +0 -32
  156. package/dist/cashflow/components/CashflowContent/index.es.js +0 -61
  157. package/dist/cashflow/components/CashflowHeading/index.es.js +0 -113
  158. package/dist/cashflow/components/CashflowWidgetContent/index.es.js +0 -146
  159. package/dist/cashflow/components/DetailsExpenseHeader/index.es.js +0 -38
  160. package/dist/cashflow/components/DetailsExpenseRow/index.es.js +0 -31
  161. package/dist/cashflow/components/DetailsFooter/index.es.js +0 -22
  162. package/dist/cashflow/components/DetailsTab/index.es.js +0 -92
  163. package/dist/cashflow/components/RemainingCash/index.es.js +0 -27
  164. package/dist/cashflow/components/SummaryTab/index.es.js +0 -258
  165. package/dist/cashflow/components/onboarding/StepOne/index.es.js +0 -82
  166. package/dist/cashflow/components/onboarding/StepTwo/index.es.js +0 -17
  167. package/dist/cashflow/constants/CashflowImages/index.es.js +0 -7
  168. package/dist/cashflow/context/hooks/index.es.js +0 -11
  169. package/dist/cashflow/stores/CashflowStore/index.es.js +0 -19
  170. package/dist/cashflow/stores/UiStore/index.es.js +0 -38
  171. package/dist/cashflow/util/Filters/index.es.js +0 -7
  172. package/dist/categories/components/CategoryList/index.es.js +0 -38
  173. package/dist/categories/components/CategoryRow/index.es.js +0 -58
  174. package/dist/categories/components/CategorySelector/index.es.js +0 -48
  175. package/dist/categories/components/CategorySelectorDrawer/index.es.js +0 -30
  176. package/dist/categories/components/CustomCategories/AddSubcategory/index.es.js +0 -40
  177. package/dist/categories/components/CustomCategories/CustomCategoryModal/index.es.js +0 -66
  178. package/dist/categories/components/CustomCategories/DeleteSubcategory/index.es.js +0 -30
  179. package/dist/categories/components/CustomCategories/RenameSubcategory/index.es.js +0 -29
  180. package/dist/categories/components/SubcategoryList/index.es.js +0 -39
  181. package/dist/categories/components/SubcategoryRow/index.es.js +0 -103
  182. package/dist/categories/constants/OnClickEvents/index.es.js +0 -16
  183. package/dist/categories/context/hooks/index.es.js +0 -11
  184. package/dist/categories/stores/UiStore/index.es.js +0 -27
  185. package/dist/common/api/AnalyticsApi/index.es.js +0 -34
  186. package/dist/common/api/AppDataApi/index.es.js +0 -12
  187. package/dist/common/api/BannerApi/index.es.js +0 -21
  188. package/dist/common/api/BeatApi/index.es.js +0 -22
  189. package/dist/common/api/CategoryApi/index.es.js +0 -30
  190. package/dist/common/api/GlobalCopyApi/index.es.js +0 -12
  191. package/dist/common/api/LocalizedCopyApi/index.es.js +0 -13
  192. package/dist/common/api/NotificationApi/index.es.js +0 -21
  193. package/dist/common/api/ScheduledPaymentsApi/index.es.js +0 -20
  194. package/dist/common/api/UserApi/index.es.js +0 -14
  195. package/dist/common/api/WidgetApi/index.es.js +0 -12
  196. package/dist/common/components/Banner/index.es.js +0 -49
  197. package/dist/common/components/ConnectCard/index.es.js +0 -56
  198. package/dist/common/components/ConnectDrawer/index.es.js +0 -58
  199. package/dist/common/components/CurrencyText/index.es.js +0 -20
  200. package/dist/common/components/DataRow/index.es.js +0 -29
  201. package/dist/common/components/ErrorBoundary/index.es.js +0 -24
  202. package/dist/common/components/InformationTooltip/index.es.js +0 -41
  203. package/dist/common/components/ListItemRow/index.es.js +0 -67
  204. package/dist/common/components/ListItemWrapper/index.es.js +0 -32
  205. package/dist/common/components/Loader/index.es.js +0 -14
  206. package/dist/common/components/ResponsiveButton/index.es.js +0 -45
  207. package/dist/common/components/Select/index.es.js +0 -25
  208. package/dist/common/components/SelectionBox/index.es.js +0 -48
  209. package/dist/common/components/SubheaderRow/index.es.js +0 -10
  210. package/dist/common/components/WidgetContainer/index.es.js +0 -195
  211. package/dist/common/components/accountfilter/AccountFilter/index.es.js +0 -93
  212. package/dist/common/components/accountfilter/AccountFilterOptions/index.es.js +0 -222
  213. package/dist/common/components/addaccounts/AddAccounts/index.es.js +0 -43
  214. package/dist/common/components/barchart/Bar/index.es.js +0 -79
  215. package/dist/common/components/barchart/BarChart/index.es.js +0 -70
  216. package/dist/common/components/barchart/BarColumn/index.es.js +0 -86
  217. package/dist/common/components/barchart/Legend/index.es.js +0 -45
  218. package/dist/common/components/barchart/Util/index.es.js +0 -11
  219. package/dist/common/components/calendar/Calendar/index.es.js +0 -131
  220. package/dist/common/components/calendar/Day/index.es.js +0 -96
  221. package/dist/common/components/calendar/Header/index.es.js +0 -32
  222. package/dist/common/components/charts/LineChart/CustomLegend/index.es.js +0 -64
  223. package/dist/common/components/charts/LineChart/CustomLine/index.es.js +0 -22
  224. package/dist/common/components/charts/LineChart/CustomMark/index.es.js +0 -65
  225. package/dist/common/components/charts/LineChart/CustomTooltip/index.es.js +0 -73
  226. package/dist/common/components/charts/LineChart/index.es.js +0 -208
  227. package/dist/common/components/charts/StackedLineChart/CategoryIconLabel/index.es.js +0 -24
  228. package/dist/common/components/charts/StackedLineChart/CustomAreaTooltip/index.es.js +0 -69
  229. package/dist/common/components/charts/StackedLineChart/CustomLegend/index.es.js +0 -70
  230. package/dist/common/components/charts/StackedLineChart/CustomPointTooltip/index.es.js +0 -22
  231. package/dist/common/components/charts/StackedLineChart/index.es.js +0 -222
  232. package/dist/common/components/daterangeselector/DateRangeSelector/index.es.js +0 -254
  233. package/dist/common/components/dialog/Dialog/index.es.js +0 -61
  234. package/dist/common/components/donuts/MultiSegmentDonut/index.es.js +0 -60
  235. package/dist/common/components/drawer/Drawer/index.es.js +0 -71
  236. package/dist/common/components/drawer/Header/index.es.js +0 -51
  237. package/dist/common/components/listitems/CollapseExpandListItem/index.es.js +0 -36
  238. package/dist/common/components/listitems/ToggleButtonListItem/index.es.js +0 -42
  239. package/dist/common/components/listitems/ToggleListItem/index.es.js +0 -38
  240. package/dist/common/constants/Analytics/index.es.js +0 -117
  241. package/dist/common/constants/ApiEndpoints/index.es.js +0 -50
  242. package/dist/common/constants/Connect/index.es.js +0 -5
  243. package/dist/common/constants/DateFormats/index.es.js +0 -65
  244. package/dist/common/constants/DefaultConfig/index.es.js +0 -105
  245. package/dist/common/constants/Donut/index.es.js +0 -5
  246. package/dist/common/constants/FinStrong/index.es.js +0 -31
  247. package/dist/common/constants/Numbers/index.es.js +0 -6
  248. package/dist/common/constants/ScheduledPayment/index.es.js +0 -15
  249. package/dist/common/constants/Sizes/index.es.js +0 -6
  250. package/dist/common/constants/SpendingPlan/index.es.js +0 -11
  251. package/dist/common/constants/Table/index.es.js +0 -16
  252. package/dist/common/context/GlobalDataProvider/index.es.js +0 -23
  253. package/dist/common/context/WidgetContainerProvider/index.es.js +0 -17
  254. package/dist/common/context/hooks/index.es.js +0 -44
  255. package/dist/common/hooks/useCombineEvents/index.es.js +0 -20
  256. package/dist/common/hooks/useInsightsEnabled/index.es.js +0 -11
  257. package/dist/common/hooks/usePrevious/index.es.js +0 -11
  258. package/dist/common/stores/AppDataStore/index.es.js +0 -57
  259. package/dist/common/stores/ConnectStore/index.es.js +0 -15
  260. package/dist/common/stores/GlobalCopyStore/index.es.js +0 -35
  261. package/dist/common/stores/GlobalStore/index.es.js +0 -90
  262. package/dist/common/stores/GlobalUiStore/index.es.js +0 -54
  263. package/dist/common/stores/UserStore/index.es.js +0 -50
  264. package/dist/common/types/Account/index.es.js +0 -118
  265. package/dist/common/types/Beat/index.es.js +0 -4
  266. package/dist/common/types/Expense/index.es.js +0 -5
  267. package/dist/common/types/Goal/index.es.js +0 -6
  268. package/dist/common/types/Notification/index.es.js +0 -7
  269. package/dist/common/types/RepeatingTransaction/index.es.js +0 -7
  270. package/dist/common/types/ScreenSize/index.es.js +0 -4
  271. package/dist/common/types/Transaction/index.es.js +0 -5
  272. package/dist/common/utils/AccountFilter/index.es.js +0 -13
  273. package/dist/common/utils/Analytics/index.es.js +0 -36
  274. package/dist/common/utils/Categories/index.es.js +0 -37
  275. package/dist/common/utils/DateUtil/index.es.js +0 -48
  276. package/dist/common/utils/Fetch/index.es.js +0 -69
  277. package/dist/common/utils/NumberFormatting/index.es.js +0 -38
  278. package/dist/common/utils/PostMessage/index.es.js +0 -19
  279. package/dist/common/utils/Theme/index.es.js +0 -136
  280. package/dist/dashboard/Dashboard/index.es.js +0 -47
  281. package/dist/dashboard/Greeting/index.es.js +0 -71
  282. package/dist/dashboard/constants/Dashboard/index.es.js +0 -4
  283. package/dist/debts/DebtsWidget/index.es.js +0 -111
  284. package/dist/debts/components/DebtDrawer/index.es.js +0 -28
  285. package/dist/debts/components/DebtsChart/index.es.js +0 -134
  286. package/dist/debts/components/DebtsTable/AccountCell/index.es.js +0 -24
  287. package/dist/debts/components/DebtsTable/PriorityCell/index.es.js +0 -32
  288. package/dist/debts/components/DebtsTable/index.es.js +0 -174
  289. package/dist/debts/components/PaydownDrawer/index.es.js +0 -21
  290. package/dist/debts/components/SnowballCard/index.es.js +0 -65
  291. package/dist/debts/components/SnowballDrawer/index.es.js +0 -374
  292. package/dist/debts/components/actions/DebtsPriorityAction/index.es.js +0 -28
  293. package/dist/debts/components/actions/ExtraPaymentAction/index.es.js +0 -46
  294. package/dist/debts/components/actions/InterestRateAction/index.es.js +0 -42
  295. package/dist/debts/components/actions/MonthlyPaymentAction/index.es.js +0 -44
  296. package/dist/debts/components/actions/OriginalBalanceAction/index.es.js +0 -44
  297. package/dist/debts/components/debtsdrawer/DebtDetailsChart/index.es.js +0 -41
  298. package/dist/debts/components/debtsdrawer/DebtDetailsContent/index.es.js +0 -51
  299. package/dist/debts/components/debtsdrawer/DebtDetailsTab/index.es.js +0 -38
  300. package/dist/debts/components/debtsdrawer/DebtScheduleTab/index.es.js +0 -80
  301. package/dist/debts/components/debtsdrawer/DebtStatusCard/index.es.js +0 -61
  302. package/dist/debts/components/debtspaydown/PaydownButton/index.es.js +0 -25
  303. package/dist/debts/components/debtspaydown/PaydownContent/index.es.js +0 -31
  304. package/dist/debts/components/debtspriority/DebtsPriorityButton/index.es.js +0 -34
  305. package/dist/debts/components/debtspriority/DebtsPrioriyPopover/index.es.js +0 -74
  306. package/dist/debts/constants/index/index.es.js +0 -4
  307. package/dist/debts/hooks/useDebtsUiStore/index.es.js +0 -11
  308. package/dist/debts/store/DebtsStore/index.es.js +0 -20
  309. package/dist/debts/store/DebtsUiStore/index.es.js +0 -23
  310. package/dist/debts/utils/DebtStore/index.es.js +0 -26
  311. package/dist/debts/utils/DebtsChart/index.es.js +0 -13
  312. package/dist/debts/utils/DebtsTable/index.es.js +0 -15
  313. package/dist/debts/utils/DebtsWidget/index.es.js +0 -42
  314. package/dist/debts/utils/SnowballCard/index.es.js +0 -37
  315. package/dist/debts/utils/shared/index.es.js +0 -21
  316. package/dist/finstrong/FinancialStrengthCard/index.es.js +0 -113
  317. package/dist/finstrong/FinstrongWidget/index.es.js +0 -141
  318. package/dist/finstrong/api/FinstrongApi/index.es.js +0 -15
  319. package/dist/finstrong/components/ConnectMoreAccountsCard/index.es.js +0 -76
  320. package/dist/finstrong/components/CreditScoreGraph/index.es.js +0 -75
  321. package/dist/finstrong/components/FinancialStrengthGraph/index.es.js +0 -30
  322. package/dist/finstrong/components/KeyIndicatorsBorrowTab/index.es.js +0 -63
  323. package/dist/finstrong/components/KeyIndicatorsDrawer/index.es.js +0 -49
  324. package/dist/finstrong/components/KeyIndicatorsSaveTab/index.es.js +0 -63
  325. package/dist/finstrong/components/KeyIndicatorsSpendTab/index.es.js +0 -58
  326. package/dist/finstrong/components/KeyIndicatorsTabItem/index.es.js +0 -58
  327. package/dist/finstrong/components/KeyIndicatorsTabsWidget/index.es.js +0 -68
  328. package/dist/finstrong/components/ManageCreditScore/index.es.js +0 -49
  329. package/dist/finstrong/components/ManageDOB/index.es.js +0 -62
  330. package/dist/finstrong/components/MissingData/index.es.js +0 -38
  331. package/dist/finstrong/components/ProfileDrawer/index.es.js +0 -107
  332. package/dist/finstrong/components/ProfileList/index.es.js +0 -56
  333. package/dist/finstrong/components/ProfileProgressBar/index.es.js +0 -26
  334. package/dist/finstrong/components/ScoreHistoryDrawer/index.es.js +0 -69
  335. package/dist/finstrong/components/shared/CustomPieArc/index.es.js +0 -63
  336. package/dist/finstrong/components/shared/DialScoreCard/index.es.js +0 -190
  337. package/dist/finstrong/components/shared/ScoreHistoryTimeline/index.es.js +0 -106
  338. package/dist/finstrong/components/shared/ScoreHistoryTimelineItem/index.es.js +0 -20
  339. package/dist/finstrong/stores/FinstrongStore/index.es.js +0 -81
  340. package/dist/finstrong/util/finstrongUtils/index.es.js +0 -108
  341. package/dist/finstrong/utils/Finstrong/index.es.js +0 -13
  342. package/dist/goals/GoalsMicroWidget/index.es.js +0 -51
  343. package/dist/goals/GoalsWidget/index.es.js +0 -138
  344. package/dist/goals/api/GoalApi/index.es.js +0 -26
  345. package/dist/goals/components/AccountSelectionDrawer/index.es.js +0 -73
  346. package/dist/goals/components/AddGoal/AddGoalListItem/index.es.js +0 -51
  347. package/dist/goals/components/AddGoal/index.es.js +0 -56
  348. package/dist/goals/components/GoalDetails/index.es.js +0 -69
  349. package/dist/goals/components/GoalDetailsDrawer/index.es.js +0 -82
  350. package/dist/goals/components/GoalList/index.es.js +0 -87
  351. package/dist/goals/components/GoalStatusCard/index.es.js +0 -59
  352. package/dist/goals/components/ManageGoals/CompleteListItem/index.es.js +0 -35
  353. package/dist/goals/components/ManageGoals/OngoingListItem/index.es.js +0 -47
  354. package/dist/goals/components/ManageGoals/ReorderGoals/index.es.js +0 -118
  355. package/dist/goals/components/ManageGoals/index.es.js +0 -74
  356. package/dist/goals/components/TabTitle/index.es.js +0 -12
  357. package/dist/goals/components/actions/AccountAction/index.es.js +0 -46
  358. package/dist/goals/components/actions/AddRetirementAccountAction/index.es.js +0 -66
  359. package/dist/goals/components/actions/AmountToSaveAction/index.es.js +0 -46
  360. package/dist/goals/components/actions/BirthdayAction/index.es.js +0 -42
  361. package/dist/goals/components/actions/ChangeAccountAction/index.es.js +0 -91
  362. package/dist/goals/components/actions/ContributionAction/index.es.js +0 -46
  363. package/dist/goals/components/actions/GoalNameAction/index.es.js +0 -42
  364. package/dist/goals/components/actions/InterestRateAction/index.es.js +0 -44
  365. package/dist/goals/components/actions/MonthlyPaymentAction/index.es.js +0 -45
  366. package/dist/goals/components/actions/OriginalBalanceAction/index.es.js +0 -45
  367. package/dist/goals/components/actions/RetirementAgeAction/index.es.js +0 -43
  368. package/dist/goals/components/micro/GoalMicroStatusCard/index.es.js +0 -42
  369. package/dist/goals/components/micro/GoalsMicroEmptyState/index.es.js +0 -31
  370. package/dist/goals/stores/GoalStore/index.es.js +0 -184
  371. package/dist/goals/util/GoalsUtil/index.es.js +0 -98
  372. package/dist/help/HelpWidget/index.es.js +0 -13
  373. package/dist/help/api/HelpApi/index.es.js +0 -12
  374. package/dist/help/components/Help/index.es.js +0 -45
  375. package/dist/help/components/HelpContent/index.es.js +0 -32
  376. package/dist/help/components/HelpList/index.es.js +0 -118
  377. package/dist/help/components/content/BottomImageContent/index.es.js +0 -50
  378. package/dist/help/components/content/ContentItem/index.es.js +0 -21
  379. package/dist/help/components/content/Header/index.es.js +0 -62
  380. package/dist/help/components/content/LeftImageContent/index.es.js +0 -50
  381. package/dist/help/components/content/NoImageContent/index.es.js +0 -14
  382. package/dist/help/components/content/RightImageContent/index.es.js +0 -48
  383. package/dist/help/components/content/TopImageContent/index.es.js +0 -50
  384. package/dist/help/components/content/section/Accounts/index.es.js +0 -249
  385. package/dist/help/components/content/section/Budgets/index.es.js +0 -102
  386. package/dist/help/components/content/section/CashFlow/index.es.js +0 -71
  387. package/dist/help/components/content/section/Debts/index.es.js +0 -252
  388. package/dist/help/components/content/section/General/index.es.js +0 -163
  389. package/dist/help/components/content/section/Goals/index.es.js +0 -195
  390. package/dist/help/components/content/section/Insights/index.es.js +0 -136
  391. package/dist/help/components/content/section/Investments/index.es.js +0 -71
  392. package/dist/help/components/content/section/Mobile/index.es.js +0 -85
  393. package/dist/help/components/content/section/NetWorth/index.es.js +0 -142
  394. package/dist/help/components/content/section/Notifications/index.es.js +0 -120
  395. package/dist/help/components/content/section/RecurringTransactions/index.es.js +0 -104
  396. package/dist/help/components/content/section/Spending/index.es.js +0 -112
  397. package/dist/help/components/content/section/Transactions/index.es.js +0 -389
  398. package/dist/help/components/content/section/Trends/index.es.js +0 -83
  399. package/dist/help/components/content/section/index/index.es.js +0 -35
  400. package/dist/help/components/requestsupport/ContactSupport/index.es.js +0 -99
  401. package/dist/help/components/requestsupport/HelpByCategoryList/index.es.js +0 -82
  402. package/dist/help/components/requestsupport/MissingInstitution/index.es.js +0 -95
  403. package/dist/help/components/requestsupport/PopularTopicsDrawer/index.es.js +0 -50
  404. package/dist/help/components/requestsupport/PopularTopicsList/index.es.js +0 -22
  405. package/dist/help/components/requestsupport/PopularTopicsRow/index.es.js +0 -30
  406. package/dist/help/components/requestsupport/RequestSupport/index.es.js +0 -179
  407. package/dist/help/components/requestsupport/RequestSupportFooter/index.es.js +0 -26
  408. package/dist/help/components/requestsupport/RequestSupportHeader/index.es.js +0 -39
  409. package/dist/help/components/requestsupport/RequestSupportInstitution/index.es.js +0 -75
  410. package/dist/help/components/requestsupport/SupportSuccessMessage/index.es.js +0 -29
  411. package/dist/help/constants/HelpImages/index.es.js +0 -47
  412. package/dist/help/store/HelpStore/index.es.js +0 -42
  413. package/dist/help/utils/getAccessibleHelpCategories/index.es.js +0 -21
  414. package/dist/help/utils/getInstitutionsBasedOnGuid/index.es.js +0 -14
  415. package/dist/insights/store/BeatStore/index.es.js +0 -35
  416. package/dist/investments/InvestmentsWidget/index.es.js +0 -107
  417. package/dist/investments/api/HoldingApi/index.es.js +0 -13
  418. package/dist/investments/components/Allocation/InvestementAllocationList/index.es.js +0 -126
  419. package/dist/investments/components/Allocation/InvestmentsAllocationChart/index.es.js +0 -67
  420. package/dist/investments/components/Allocation/index.es.js +0 -67
  421. package/dist/investments/components/Allocation/util/createInvestementsAllocationData/index.es.js +0 -134
  422. package/dist/investments/components/Analysis/index.es.js +0 -169
  423. package/dist/investments/components/AnalysisDetails/index.es.js +0 -81
  424. package/dist/investments/components/EmptyStateFooterComponent/index.es.js +0 -52
  425. package/dist/investments/components/HeaderCell/index.es.js +0 -11
  426. package/dist/investments/components/HoldingDrawer/index.es.js +0 -322
  427. package/dist/investments/components/HoldingTable/index.es.js +0 -183
  428. package/dist/investments/components/InfoToolTip/index.es.js +0 -25
  429. package/dist/investments/components/Overview/index.es.js +0 -441
  430. package/dist/investments/components/TabTitle/index.es.js +0 -6
  431. package/dist/investments/constants/index/index.es.js +0 -53
  432. package/dist/investments/stores/HoldingStore/index.es.js +0 -59
  433. package/dist/investments/util/InvestmentUtil/index.es.js +0 -100
  434. package/dist/merchants/api/MerchantApi/index.es.js +0 -16
  435. package/dist/merchants/components/MerchantLookup/index.es.js +0 -77
  436. package/dist/merchants/stores/MerchantStore/index.es.js +0 -26
  437. package/dist/microinsights/analytics/index.es.js +0 -10
  438. package/dist/microinsights/components/MicroWidgetContainer/index.es.js +0 -28
  439. package/dist/microinsights/components/beatCard/BeatCard/index.es.js +0 -98
  440. package/dist/microinsights/components/beaticons/BeatCategoryIcon/index.es.js +0 -13
  441. package/dist/microinsights/components/beaticons/BeatIcon/index.es.js +0 -22
  442. package/dist/microinsights/components/beaticons/BeatMerchantLogo/index.es.js +0 -24
  443. package/dist/microinsights/components/beaticons/ChartFilledIcon/index.es.js +0 -31
  444. package/dist/microinsights/components/beaticons/MonthlySpendComparisonIcon/index.es.js +0 -14
  445. package/dist/microinsights/components/beaticons/ZeroStateIcon/index.es.js +0 -786
  446. package/dist/microinsights/components/carouselheader/CarouselHeader/index.es.js +0 -82
  447. package/dist/microinsights/components/insightsmicrowidget/InsightsMicroWidget/index.es.js +0 -105
  448. package/dist/microinsights/components/microBeatCarousel/CarouselControls/index.es.js +0 -101
  449. package/dist/microinsights/components/microBeatCarousel/MicroBeatCarousel/index.es.js +0 -187
  450. package/dist/microinsights/components/microInsightCard/MicroInsightCard/index.es.js +0 -152
  451. package/dist/microinsights/components/noRelevantInsightsCard/NoRelevantInsightsCard/index.es.js +0 -67
  452. package/dist/microinsights/components/spinner/Spinner/index.es.js +0 -19
  453. package/dist/microinsights/components/viewMoreMicroCard/ViewMoreMicroCard/index.es.js +0 -58
  454. package/dist/microinsights/components/zeroStateCard/ZeroStateCard/index.es.js +0 -55
  455. package/dist/microinsights/constants/Analytics/index.es.js +0 -163
  456. package/dist/microinsights/constants/App/index.es.js +0 -11
  457. package/dist/microinsights/context/InsightsMicroWidgetDataProvider/index.es.js +0 -12
  458. package/dist/microinsights/context/hooks/index.es.js +0 -31
  459. package/dist/microinsights/stores/AppStore/index.es.js +0 -25
  460. package/dist/microinsights/stores/CopyStore/index.es.js +0 -32
  461. package/dist/microinsights/stores/InsightsMicroWidgetStore/index.es.js +0 -31
  462. package/dist/microinsights/utils/DataSeries/index.es.js +0 -9
  463. package/dist/networth/NetWorthMicroWidget/index.es.js +0 -44
  464. package/dist/networth/NetWorthWidget/index.es.js +0 -159
  465. package/dist/networth/components/AssetsLiabilitiesDetail/index.es.js +0 -109
  466. package/dist/networth/components/GainsLossesDetail/index.es.js +0 -94
  467. package/dist/networth/components/NetWorthChange/index.es.js +0 -31
  468. package/dist/networth/components/NetWorthChart/index.es.js +0 -45
  469. package/dist/networth/components/NetWorthList/index.es.js +0 -60
  470. package/dist/networth/components/NetWorthListItem/index.es.js +0 -60
  471. package/dist/networth/components/NetWorthSummary/index.es.js +0 -20
  472. package/dist/networth/components/micro/NetworthData/index.es.js +0 -21
  473. package/dist/networth/components/micro/ZeroState/index.es.js +0 -14
  474. package/dist/networth/stores/NetWorthStore/index.es.js +0 -65
  475. package/dist/networth/utils/NetWorthUtils/index.es.js +0 -95
  476. package/dist/notifications/components/DateRow/index.es.js +0 -8
  477. package/dist/notifications/components/NotificationBadge/index.es.js +0 -26
  478. package/dist/notifications/components/NotificationCard/index.es.js +0 -42
  479. package/dist/notifications/components/NotificationDrawer/index.es.js +0 -67
  480. package/dist/notifications/components/NotificationList/index.es.js +0 -36
  481. package/dist/notifications/components/NotificationsEmptyState/index.es.js +0 -34
  482. package/dist/notifications/constants/NotificationConstants/index.es.js +0 -22
  483. package/dist/notifications/stores/NotificationStore/index.es.js +0 -37
  484. package/dist/notifications/utils/NotificationUtils/index.es.js +0 -16
  485. package/dist/recurringtransactions/RecurringTransactionsMicroWidget/index.es.js +0 -179
  486. package/dist/recurringtransactions/RecurringTransactionsMiniWidget/index.es.js +0 -37
  487. package/dist/recurringtransactions/RecurringTransactionsWidget/index.es.js +0 -67
  488. package/dist/recurringtransactions/ZeroStateMicroWidget/index.es.js +0 -19
  489. package/dist/recurringtransactions/api/RepeatingTransactionsApi/index.es.js +0 -18
  490. package/dist/recurringtransactions/components/MiniWidgetContent/index.es.js +0 -32
  491. package/dist/recurringtransactions/components/PaymentSchedule/index.es.js +0 -100
  492. package/dist/recurringtransactions/components/RecurrenceBadges/index.es.js +0 -20
  493. package/dist/recurringtransactions/components/RecurrenceList/index.es.js +0 -69
  494. package/dist/recurringtransactions/components/RecurrenceRow/index.es.js +0 -149
  495. package/dist/recurringtransactions/components/RecurringStatus/index.es.js +0 -42
  496. package/dist/recurringtransactions/components/RecurringTransactionDetails/index.es.js +0 -130
  497. package/dist/recurringtransactions/components/RecurringTransactions/index.es.js +0 -163
  498. package/dist/recurringtransactions/components/actions/PaymentScheduleAction/index.es.js +0 -56
  499. package/dist/recurringtransactions/components/micro/MerchantLogosRow/index.es.js +0 -17
  500. package/dist/recurringtransactions/components/micro/OverlappingMerchantLogos/index.es.js +0 -44
  501. package/dist/recurringtransactions/components/micro/RecurrenceLegend/index.es.js +0 -31
  502. package/dist/recurringtransactions/components/recurrencecalendar/Legend/index.es.js +0 -32
  503. package/dist/recurringtransactions/components/recurrencecalendar/RecurrenceCalendar/index.es.js +0 -84
  504. package/dist/recurringtransactions/components/recurrencecalendar/RecurrenceDay/index.es.js +0 -68
  505. package/dist/recurringtransactions/components/shared/recurringsettings/AddRecurringTransaction/index.es.js +0 -114
  506. package/dist/recurringtransactions/components/shared/recurringsettings/AddRecurringTransactionDetails/index.es.js +0 -44
  507. package/dist/recurringtransactions/components/shared/recurringsettings/ManageExpenses/index.es.js +0 -31
  508. package/dist/recurringtransactions/components/shared/recurringsettings/ManageIncome/index.es.js +0 -38
  509. package/dist/recurringtransactions/components/shared/recurringsettings/RecurringRow/index.es.js +0 -108
  510. package/dist/recurringtransactions/components/shared/recurringsettings/SelectTransaction/index.es.js +0 -37
  511. package/dist/recurringtransactions/components/shared/recurringsettings/index.es.js +0 -36
  512. package/dist/recurringtransactions/util/RecurringTransactions/index.es.js +0 -232
  513. package/dist/settings/NotificationSettingsWidget/index.es.js +0 -13
  514. package/dist/settings/SettingsWidget/index.es.js +0 -55
  515. package/dist/settings/TransactionRulesWidget/index.es.js +0 -12
  516. package/dist/settings/api/SettingsApi/index.es.js +0 -23
  517. package/dist/settings/components/SettingsWidgetContents/index.es.js +0 -47
  518. package/dist/settings/components/devices/DeviceDialog/index.es.js +0 -129
  519. package/dist/settings/components/devices/DeviceList/index.es.js +0 -118
  520. package/dist/settings/components/devices/DeviceTab/index.es.js +0 -79
  521. package/dist/settings/components/devices/DeviceTable/index.es.js +0 -134
  522. package/dist/settings/components/notifications/AccountNotificationProfile/index.es.js +0 -80
  523. package/dist/settings/components/notifications/AccountNotificationProfiles/index.es.js +0 -55
  524. package/dist/settings/components/notifications/AccountProfileListItem/index.es.js +0 -102
  525. package/dist/settings/components/notifications/BudgetNotificationProfiles/index.es.js +0 -12
  526. package/dist/settings/components/notifications/DeliveryMethods/index.es.js +0 -77
  527. package/dist/settings/components/notifications/InsightsNotificationProfiles/index.es.js +0 -12
  528. package/dist/settings/components/notifications/NotificationProfile/index.es.js +0 -96
  529. package/dist/settings/components/notifications/NotificationSettings/index.es.js +0 -89
  530. package/dist/settings/components/notifications/PersonalDetails/index.es.js +0 -99
  531. package/dist/settings/components/profile/ProfileTab/index.es.js +0 -204
  532. package/dist/settings/components/profile/actions/VerifyEmailAction/index.es.js +0 -63
  533. package/dist/settings/components/profile/actions/VerifyPhoneAction/index.es.js +0 -80
  534. package/dist/settings/components/profile/actions/VerifyTokenAction/index.es.js +0 -36
  535. package/dist/settings/components/transactionrules/TransactionRulesTab/index.es.js +0 -23
  536. package/dist/settings/components/transactionrules/actions/DeleteRuleAction/index.es.js +0 -34
  537. package/dist/settings/components/transactionrules/actions/EditCategoryAction/index.es.js +0 -38
  538. package/dist/settings/components/transactionrules/actions/EditPayeeAction/index.es.js +0 -52
  539. package/dist/settings/components/transactionrules/actions/EditRuleAction/index.es.js +0 -33
  540. package/dist/settings/components/transactionrules/components/EditRuleDetails/index.es.js +0 -52
  541. package/dist/settings/components/transactionrules/components/RuleListItem/index.es.js +0 -20
  542. package/dist/settings/constants/Settings/index.es.js +0 -4
  543. package/dist/settings/stores/SettingsStore/index.es.js +0 -187
  544. package/dist/settings/util/Notifications/index.es.js +0 -64
  545. package/dist/spending/SpendingMiniWidget/index.es.js +0 -26
  546. package/dist/spending/SpendingWidget/index.es.js +0 -38
  547. package/dist/spending/components/MiniSpendingChart/index.es.js +0 -115
  548. package/dist/spending/components/Spending/index.es.js +0 -141
  549. package/dist/spending/components/SpendingChart/index.es.js +0 -61
  550. package/dist/spending/components/SpendingDonut/index.es.js +0 -69
  551. package/dist/spending/components/SpendingLegend/index.es.js +0 -25
  552. package/dist/spending/components/SpendingList/index.es.js +0 -96
  553. package/dist/spending/components/SpendingTabLabel/index.es.js +0 -11
  554. package/dist/spending/utils/SpendingData/index.es.js +0 -86
  555. package/dist/transactions/TransactionWidget/index.es.js +0 -242
  556. package/dist/transactions/analytics/index.es.js +0 -5
  557. package/dist/transactions/components/shared/TransactionDetails/Description/index.es.js +0 -68
  558. package/dist/transactions/components/shared/TransactionDetails/FlagTransaction/index.es.js +0 -43
  559. package/dist/transactions/components/shared/TransactionDetails/ManualTransactionDetails/index.es.js +0 -126
  560. package/dist/transactions/components/shared/TransactionDetails/TransactionAmountHeader/index.es.js +0 -27
  561. package/dist/transactions/components/shared/TransactionDetails/actions/CategoryAction/index.es.js +0 -105
  562. package/dist/transactions/components/shared/TransactionDetails/actions/DateAction/index.es.js +0 -81
  563. package/dist/transactions/components/shared/TransactionDetails/actions/DeleteAction/index.es.js +0 -60
  564. package/dist/transactions/components/shared/TransactionDetails/actions/DeleteLogoAction/index.es.js +0 -60
  565. package/dist/transactions/components/shared/TransactionDetails/actions/HideAction/index.es.js +0 -90
  566. package/dist/transactions/components/shared/TransactionDetails/actions/MemoAction/index.es.js +0 -91
  567. package/dist/transactions/components/shared/TransactionDetails/actions/SplitAction/index.es.js +0 -143
  568. package/dist/transactions/components/shared/TransactionDetails/actions/TagsAction/index.es.js +0 -75
  569. package/dist/transactions/components/shared/TransactionDetails/index.es.js +0 -79
  570. package/dist/transactions/components/shared/TransactionList/TransactionRow/index.es.js +0 -84
  571. package/dist/transactions/components/shared/TransactionList/ZeroState/index.es.js +0 -17
  572. package/dist/transactions/components/shared/TransactionList/index.es.js +0 -82
  573. package/dist/transactions/components/shared/TransactionTable/cells/AccountCell/index.es.js +0 -9
  574. package/dist/transactions/components/shared/TransactionTable/cells/AmountCell/index.es.js +0 -20
  575. package/dist/transactions/components/shared/TransactionTable/cells/CategoryCell/index.es.js +0 -29
  576. package/dist/transactions/components/shared/TransactionTable/cells/DateCell/index.es.js +0 -8
  577. package/dist/transactions/components/shared/TransactionTable/cells/FlagCell/index.es.js +0 -38
  578. package/dist/transactions/components/shared/TransactionTable/cells/HeaderCell/index.es.js +0 -6
  579. package/dist/transactions/components/shared/TransactionTable/cells/PayeeCell/index.es.js +0 -16
  580. package/dist/transactions/components/shared/TransactionTable/index.es.js +0 -110
  581. package/dist/transactions/components/splitmanager/SplitManager/index.es.js +0 -69
  582. package/dist/transactions/components/splitmanager/SplitRow/index.es.js +0 -126
  583. package/dist/transactions/components/tagmanager/Header/index.es.js +0 -78
  584. package/dist/transactions/components/tagmanager/SearchBox/index.es.js +0 -37
  585. package/dist/transactions/components/tagmanager/TagManager/index.es.js +0 -32
  586. package/dist/transactions/components/tagmanager/TagRow/index.es.js +0 -114
  587. package/dist/transactions/components/transactionwidget/AddAccountModal/index.es.js +0 -29
  588. package/dist/transactions/components/transactionwidget/actions/EditCategoryAction/index.es.js +0 -54
  589. package/dist/transactions/constants/Actions/index.es.js +0 -19
  590. package/dist/transactions/constants/Analytics/index.es.js +0 -259
  591. package/dist/transactions/constants/OnClickEvents/index.es.js +0 -48
  592. package/dist/transactions/constants/Transaction/index.es.js +0 -33
  593. package/dist/transactions/constants/TransactionsTable/index.es.js +0 -11
  594. package/dist/transactions/context/hooks/index.es.js +0 -11
  595. package/dist/transactions/stores/TransactionStore/index.es.js +0 -224
  596. package/dist/transactions/stores/UiStore/index.es.js +0 -48
  597. package/dist/transactions/utils/Filters/index.es.js +0 -9
  598. package/dist/transactions/utils/Transactions/index.es.js +0 -13
  599. package/dist/transactions/utils/buildDetailedTransactions/index.es.js +0 -35
  600. package/dist/transactions/utils/sortAndFilterTransactions/index.es.js +0 -44
  601. package/dist/trends/TrendsFullWidget/index.es.js +0 -157
  602. package/dist/trends/TrendsMicroWidget/index.es.js +0 -86
  603. package/dist/trends/TrendsMiniWidget/index.es.js +0 -28
  604. package/dist/trends/TrendsWidget/index.es.js +0 -173
  605. package/dist/trends/ZeroStateMicroWidget/index.es.js +0 -19
  606. package/dist/trends/components/CategoriesList/index.es.js +0 -62
  607. package/dist/trends/components/CategoriesListItem/index.es.js +0 -25
  608. package/dist/trends/components/CategoryDetailChart/index.es.js +0 -34
  609. package/dist/trends/components/CategoryDetailDrawer/index.es.js +0 -44
  610. package/dist/trends/components/DateRangeText/index.es.js +0 -39
  611. package/dist/trends/components/SpendingChart/index.es.js +0 -28
  612. package/dist/trends/components/TransactionsList/index.es.js +0 -81
  613. package/dist/trends/components/TrendsChart/index.es.js +0 -45
  614. package/dist/trends/components/TrendsChartTotals/index.es.js +0 -56
  615. package/dist/trends/components/TrendsDrawer/index.es.js +0 -48
  616. package/dist/trends/components/TrendsInsights/index.es.js +0 -43
  617. package/dist/trends/components/TrendsMicroSpendingIncomeBox/index.es.js +0 -96
  618. package/dist/trends/components/TrendsTable/AmountCell/index.es.js +0 -10
  619. package/dist/trends/components/TrendsTable/CategoryCell/index.es.js +0 -30
  620. package/dist/trends/components/TrendsTable/index.es.js +0 -96
  621. package/dist/trends/components/TrendsViewToggle/index.es.js +0 -17
  622. package/dist/trends/constants/TrendsInsights/index.es.js +0 -38
  623. package/dist/trends/stores/TrendsStore/index.es.js +0 -77
  624. package/dist/trends/utils/SpendingData/index.es.js +0 -47
  625. package/dist/trends/utils/TrendsData/index.es.js +0 -41
  626. package/dist/trends/utils/shared/index.es.js +0 -15
  627. /package/dist/budgets/components/{BubbleChart → bubblechart}/Bubble.d.ts +0 -0
  628. /package/dist/budgets/components/{BubbleChart → bubblechart}/Mercury.d.ts +0 -0
  629. /package/dist/budgets/components/{BudgetList → budgetlist}/BudgetRow.d.ts +0 -0
  630. /package/dist/budgets/components/{BudgetList → budgetlist}/SubBudgetRow.d.ts +0 -0
  631. /package/dist/budgets/components/{BudgetList → budgetlist}/SubBudgetZeroState.d.ts +0 -0
  632. /package/dist/common/components/charts/{LineChart → linechart}/CustomLegend.d.ts +0 -0
  633. /package/dist/common/components/charts/{LineChart → linechart}/CustomLine.d.ts +0 -0
  634. /package/dist/common/components/charts/{LineChart → linechart}/CustomMark.d.ts +0 -0
  635. /package/dist/common/components/charts/{LineChart → linechart}/CustomTooltip.d.ts +0 -0
  636. /package/dist/common/components/charts/{StackedLineChart → stackedlinechart}/CategoryIconLabel.d.ts +0 -0
  637. /package/dist/common/components/charts/{StackedLineChart → stackedlinechart}/CustomAreaTooltip.d.ts +0 -0
  638. /package/dist/common/components/charts/{StackedLineChart → stackedlinechart}/CustomLegend.d.ts +0 -0
  639. /package/dist/common/components/charts/{StackedLineChart → stackedlinechart}/CustomPointTooltip.d.ts +0 -0
  640. /package/dist/common/components/charts/{StackedLineChart → stackedlinechart}/utils.d.ts +0 -0
  641. /package/dist/debts/components/{DebtsTable → debtstable}/AccountCell.d.ts +0 -0
  642. /package/dist/debts/components/{DebtsTable → debtstable}/PriorityCell.d.ts +0 -0
  643. /package/dist/goals/components/{AddGoal → addgoal}/AddGoalListItem.d.ts +0 -0
  644. /package/dist/goals/components/{ManageGoals → managegoals}/CompleteListItem.d.ts +0 -0
  645. /package/dist/goals/components/{ManageGoals → managegoals}/OngoingListItem.d.ts +0 -0
  646. /package/dist/goals/components/{ManageGoals → managegoals}/ReorderGoals.d.ts +0 -0
  647. /package/dist/investments/components/{Allocation → allocation}/InvestementAllocationList.d.ts +0 -0
  648. /package/dist/investments/components/{Allocation → allocation}/InvestmentsAllocationChart.d.ts +0 -0
  649. /package/dist/investments/components/{Allocation → allocation}/util/createInvestementsAllocationData.d.ts +0 -0
  650. /package/dist/transactions/components/shared/{TransactionDetails → transactiondetails}/Description.d.ts +0 -0
  651. /package/dist/transactions/components/shared/{TransactionDetails → transactiondetails}/FlagTransaction.d.ts +0 -0
  652. /package/dist/transactions/components/shared/{TransactionDetails → transactiondetails}/ManualTransactionDetails.d.ts +0 -0
  653. /package/dist/transactions/components/shared/{TransactionDetails → transactiondetails}/TransactionAmountHeader.d.ts +0 -0
  654. /package/dist/transactions/components/shared/{TransactionDetails → transactiondetails}/actions/CategoryAction.d.ts +0 -0
  655. /package/dist/transactions/components/shared/{TransactionDetails → transactiondetails}/actions/DateAction.d.ts +0 -0
  656. /package/dist/transactions/components/shared/{TransactionDetails → transactiondetails}/actions/DeleteAction.d.ts +0 -0
  657. /package/dist/transactions/components/shared/{TransactionDetails → transactiondetails}/actions/DeleteLogoAction.d.ts +0 -0
  658. /package/dist/transactions/components/shared/{TransactionDetails → transactiondetails}/actions/HideAction.d.ts +0 -0
  659. /package/dist/transactions/components/shared/{TransactionDetails → transactiondetails}/actions/MemoAction.d.ts +0 -0
  660. /package/dist/transactions/components/shared/{TransactionDetails → transactiondetails}/actions/SplitAction.d.ts +0 -0
  661. /package/dist/transactions/components/shared/{TransactionDetails → transactiondetails}/actions/TagsAction.d.ts +0 -0
  662. /package/dist/transactions/components/shared/{TransactionDetails → transactiondetails}/actions/index.d.ts +0 -0
  663. /package/dist/transactions/components/shared/{TransactionList → transactionlist}/DateRow.d.ts +0 -0
  664. /package/dist/transactions/components/shared/{TransactionList → transactionlist}/TransactionRow.d.ts +0 -0
  665. /package/dist/transactions/components/shared/{TransactionList → transactionlist}/ZeroState.d.ts +0 -0
  666. /package/dist/transactions/components/shared/{TransactionTable → transactiontable}/cells/AccountCell.d.ts +0 -0
  667. /package/dist/transactions/components/shared/{TransactionTable → transactiontable}/cells/AmountCell.d.ts +0 -0
  668. /package/dist/transactions/components/shared/{TransactionTable → transactiontable}/cells/CategoryCell.d.ts +0 -0
  669. /package/dist/transactions/components/shared/{TransactionTable → transactiontable}/cells/DateCell.d.ts +0 -0
  670. /package/dist/transactions/components/shared/{TransactionTable → transactiontable}/cells/FlagCell.d.ts +0 -0
  671. /package/dist/transactions/components/shared/{TransactionTable → transactiontable}/cells/HeaderCell.d.ts +0 -0
  672. /package/dist/transactions/components/shared/{TransactionTable → transactiontable}/cells/PayeeCell.d.ts +0 -0
  673. /package/dist/transactions/components/shared/{TransactionTable → transactiontable}/cells/index.d.ts +0 -0
  674. /package/dist/trends/components/{TrendsTable → trendstable}/AmountCell.d.ts +0 -0
  675. /package/dist/trends/components/{TrendsTable → trendstable}/CategoryCell.d.ts +0 -0
  676. /package/dist/trends/components/{TrendsTable → trendstable}/HeaderCell.d.ts +0 -0
@@ -1,6 +1,1070 @@
1
- import { default as d } from "./BubbleBudgetsMiniWidget/index.es.js";
2
- import { BubbleBudgetsWidget as b } from "./BubbleBudgetsWidget/index.es.js";
1
+ import { jsx as e, jsxs as d, Fragment as ke } from "react/jsx-runtime";
2
+ import l from "react";
3
+ import { observer as I } from "mobx-react-lite";
4
+ import { endOfMonth as Me } from "date-fns/endOfMonth";
5
+ import { startOfMonth as ye } from "date-fns/startOfMonth";
6
+ import W from "@mui/material/Box";
7
+ import b from "@mui/material/Stack";
8
+ import q from "@mui/material/styles/useTheme";
9
+ import { Icon as $, Text as p, CategoryIcon as H, H1 as $e, H3 as fe } from "@mxenabled/mxui";
10
+ import { u as Ge } from "../BudgetUtil-DcqclhiQ.mjs";
11
+ import { C as Pe } from "../ConnectionsDrawer-BCzpuNsK.mjs";
12
+ import * as E from "d3";
13
+ import Ne from "@mui/material/Tooltip";
14
+ import { e as w, k as j, u as D, g as X, a as J, p as je, f as Q, n as ee, j as ze, c as Ce } from "../hooks-ClhFlg78.mjs";
15
+ import { L as P } from "../Loader-Dp1P2gNw.mjs";
16
+ import { E as se } from "../EmptyState-Dcb-o2tl.mjs";
17
+ import { u as le } from "../useScreenSize-B6JyS_Lj.mjs";
18
+ import { A as k, W as Ue } from "../WidgetContainer-CmGNZW0M.mjs";
19
+ import K from "@mui/material/List";
20
+ import { f as T } from "../NumberFormatting-CtWHhyBX.mjs";
21
+ import Be from "@mui/material/Button";
22
+ import te from "@mui/material/Divider";
23
+ import V from "@mui/material/ListItem";
24
+ import ne from "@mui/material/ListItemAvatar";
25
+ import Y from "@mui/material/ListItemButton";
26
+ import Z from "@mui/material/ListItemText";
27
+ import { b as L } from "../Localization-2MODESHW.mjs";
28
+ import { D as M } from "../Drawer-kEE73B87.mjs";
29
+ import Fe from "@mui/material/ListItemSecondaryAction";
30
+ import { C as We } from "../CurrencyInput-DzsPiUsU.mjs";
31
+ import { a as N } from "../Dialog-CWW597AF.mjs";
32
+ import { M as He } from "../MiniWidgetContainer-BcNPxZt2.mjs";
33
+ import { isAfter as Xe } from "date-fns/isAfter";
34
+ import Ke from "@mui/material/Alert";
35
+ import Ve from "@mui/material/Snackbar";
36
+ import pe from "@mui/material/Tab";
37
+ import Ye from "@mui/material/Tabs";
38
+ import { e as Ze } from "../exportTransactionsToCSV-j4g8bdVZ.mjs";
39
+ import { T as Se, a as qe } from "../TransactionDetails-B5qfs9Zh.mjs";
40
+ import de from "@mui/material/Card";
41
+ import ue from "@mui/material/CardContent";
42
+ import { S as ce } from "../StatusBar-BK_uYHAB.mjs";
43
+ import { S as Ae } from "../SingleSegmentDonut-BgbLgwHi.mjs";
44
+ import { u as Je, b as Qe } from "../CategorySelectorDrawer-DgrePTRg.mjs";
45
+ import xe from "@mui/material/CardHeader";
46
+ import { subDays as et } from "date-fns/subDays";
47
+ import tt from "@mui/material/IconButton";
48
+ import { M as nt } from "../ManageIncome-BVt_XQbo.mjs";
49
+ const he = 5, ot = 100, at = 25, rt = (t) => {
50
+ const o = (a) => {
51
+ a.active || t.alphaTarget(0.3).restart(), a.subject.fx = a.subject.x, a.subject.fy = a.subject.y;
52
+ }, i = (a) => {
53
+ a.subject.fx = a.x, a.subject.fy = a.y;
54
+ }, s = (a) => {
55
+ a.active || t.alphaTarget(0), a.subject.fx = null, a.subject.fy = null;
56
+ };
57
+ return E.drag().on("start", o).on("drag", i).on("end", s);
58
+ }, st = (t) => {
59
+ let o = t.transaction_total / t.amount;
60
+ o < 0 ? o = 0 : o > 1 && (o = 1);
61
+ const i = o * 2 * Math.PI, s = E.interpolate(0, i), a = E.arc().cornerRadius(5).innerRadius(t.radius - he * 2).outerRadius(t.radius - he).startAngle(0).endAngle(0);
62
+ return (n) => (a.endAngle(s(n)), a(t) || "");
63
+ }, it = (t) => {
64
+ E.selectAll(".bubble").call(rt(t));
65
+ }, ct = (t, o, i) => {
66
+ t.alpha(1).restart().force(
67
+ "x",
68
+ E.forceX().x(i / 2).strength(0.01)
69
+ ).force(
70
+ "y",
71
+ E.forceY().y(o / 2).strength(0.01)
72
+ );
73
+ }, lt = (t, o) => E.scaleLinear().domain([t, o]).range([at, ot]), dt = (t) => {
74
+ const o = t.reduce((n, r) => {
75
+ const c = Math.max(r.transaction_total, r.amount);
76
+ return c > n ? c : n;
77
+ }, 0), i = t.reduce((n, r) => {
78
+ const c = Math.max(r.transaction_total, r.amount);
79
+ return c < n ? c : n;
80
+ }, o), s = lt(i, o), a = t.map((n) => {
81
+ const r = s(Math.max(n.transaction_total, n.amount)) || 25;
82
+ return {
83
+ ...n,
84
+ radius: r
85
+ };
86
+ });
87
+ return E.forceSimulation(a).velocityDecay(0.05).force("collide", E.forceCollide((n) => n.radius + 2).strength(0.5)).on("tick", () => {
88
+ E.selectAll(".bubble").data(a).attr("transform", (n) => `translate(${n.x},${n.y})`);
89
+ });
90
+ }, _e = 5, ut = 2e3;
91
+ function mt({ bubble: t }) {
92
+ const o = q(), {
93
+ guid: i,
94
+ budgetColors: { mercury: s },
95
+ radius: a
96
+ } = t, n = `mercury-${i}`;
97
+ l.useEffect(() => {
98
+ E.select(`.${n}`).selectAll(".status").remove(), E.select(`.${n}`).append("path").transition().duration(ut).delay(0).attr("class", "status").attr("style", `fill: ${s}; fill-opacity: 1;`).attrTween("d", () => st(t));
99
+ }, [t]);
100
+ const r = E.arc().innerRadius((c) => c - 2 * _e).outerRadius((c) => c - _e).startAngle(0).endAngle(2 * Math.PI);
101
+ return /* @__PURE__ */ e("g", { className: n, children: /* @__PURE__ */ e(
102
+ "path",
103
+ {
104
+ d: r(a) || "",
105
+ style: { fill: o.palette.common.white, fillOpacity: 0.35 }
106
+ }
107
+ ) });
108
+ }
109
+ const G = 75, ie = 50;
110
+ function gt({ bubble: t, isDraggable: o, onClick: i = () => {
111
+ } }) {
112
+ const [s, a] = l.useState(!1);
113
+ if (!t) return;
114
+ const {
115
+ budgetColors: { background: n, text: r },
116
+ category: { icon: c, name: y },
117
+ guid: h,
118
+ description: m,
119
+ radius: g,
120
+ x: f,
121
+ y: _
122
+ } = t;
123
+ let u = -12, C = -12;
124
+ g > G ? (u = -14, C = -45) : g > ie && (C = -32);
125
+ const B = `${t.category.name}: ${m}`, A = {
126
+ modifiers: [
127
+ {
128
+ name: "offset",
129
+ options: { offset: [0, 15] }
130
+ }
131
+ ]
132
+ };
133
+ return /* @__PURE__ */ d(
134
+ "g",
135
+ {
136
+ className: "bubble",
137
+ id: `bubble-${h}`,
138
+ onClick: () => i(t),
139
+ onMouseEnter: () => a(!0),
140
+ onMouseLeave: () => a(!1),
141
+ style: { cursor: o ? "pointer" : "default" },
142
+ textAnchor: "middle",
143
+ x: f,
144
+ y: _,
145
+ children: [
146
+ /* @__PURE__ */ e(
147
+ Ne,
148
+ {
149
+ followCursor: !0,
150
+ open: s,
151
+ slotProps: { popper: A },
152
+ title: B,
153
+ children: /* @__PURE__ */ e("circle", { fill: n, id: `circle-${h}`, r: g })
154
+ }
155
+ ),
156
+ /* @__PURE__ */ e("svg", { x: u, y: C, children: /* @__PURE__ */ e($, { name: c, size: g <= G ? 24 : 32, sx: { fill: r } }) }),
157
+ g > G && /* @__PURE__ */ e(
158
+ p,
159
+ {
160
+ bold: !0,
161
+ component: "text",
162
+ id: `budget-category-${h}`,
163
+ sx: { fill: r },
164
+ variant: "Small",
165
+ y: 4,
166
+ children: y
167
+ }
168
+ ),
169
+ g > ie && /* @__PURE__ */ e(
170
+ p,
171
+ {
172
+ bold: !0,
173
+ component: "text",
174
+ id: `budget-description-${h}-1`,
175
+ sx: { fill: r },
176
+ variant: "Body",
177
+ y: g <= G ? 12 : 24,
178
+ children: g <= G ? m.split(" ")[0] : m
179
+ }
180
+ ),
181
+ g <= G && g > ie && /* @__PURE__ */ e(
182
+ p,
183
+ {
184
+ component: "text",
185
+ id: `budget-description-${h}-2`,
186
+ sx: { fill: r },
187
+ variant: "XSmall",
188
+ y: 28,
189
+ children: m.split(" ")[1]
190
+ }
191
+ ),
192
+ /* @__PURE__ */ e(mt, { bubble: t })
193
+ ]
194
+ },
195
+ h
196
+ );
197
+ }
198
+ let F;
199
+ const pt = ({
200
+ height: t,
201
+ width: o,
202
+ isDraggable: i = !1,
203
+ onClick: s = () => {
204
+ }
205
+ }) => {
206
+ const { detailedBudgets: a } = w();
207
+ return F = l.useMemo(() => dt(a), [a]), l.useEffect(() => {
208
+ ct(F, t, o), i && it(F);
209
+ }, [F, t, o]), /* @__PURE__ */ e("svg", { height: t, style: { overflow: "visible" }, width: Math.abs(o), children: F.nodes().map((n) => /* @__PURE__ */ e(gt, { bubble: n, isDraggable: i, onClick: s }, n.guid)) });
210
+ }, ht = I(pt), _t = ({
211
+ isMiniWidget: t = !1,
212
+ onConnectAccountsClick: o,
213
+ createBudgetOnClick: i
214
+ }) => {
215
+ const { recalculateBudgets: s } = w(), { spendCategories: a } = j(), { budgets: n } = D(), [r, c] = l.useState(!1), [y, h] = l.useState(!1), [m, g] = l.useState(!1), f = l.useMemo(() => [...a.filter((u) => u.totalAverageAmount > 0)], [a]), _ = async () => {
216
+ g(!0);
217
+ const { data: u, isSuccess: C } = await s(f);
218
+ g(!1), C ? (u.length === 0 && c(!0), h(!1)) : h(!0);
219
+ };
220
+ return m ? /* @__PURE__ */ e(P, {}) : y ? /* @__PURE__ */ e(
221
+ se,
222
+ {
223
+ header: n.autogenerate_budgets_error_header,
224
+ icon: "error",
225
+ iconColor: "#4D4D4D",
226
+ onClick: (u) => {
227
+ u === "primary" ? _() : i();
228
+ },
229
+ primaryButton: n.autogenerate_budgets_error_primary_button,
230
+ secondaryButton: n.zero_state_generate_budgets_secondary_button,
231
+ subText: n.autogenerate_budgets_error_subheader,
232
+ sx: {
233
+ width: { sm: 468 },
234
+ ".buttons-footer": {
235
+ width: 208
236
+ }
237
+ }
238
+ }
239
+ ) : /* @__PURE__ */ e(ke, { children: r ? /* @__PURE__ */ e(
240
+ se,
241
+ {
242
+ header: n.zero_state_generate_budgets_header,
243
+ icon: "error",
244
+ iconColor: "#4D4D4D",
245
+ onClick: (u) => {
246
+ u === "primary" ? o() : i();
247
+ },
248
+ primaryButton: n.zero_state_generate_budgets_primary_button,
249
+ secondaryButton: n.zero_state_generate_budgets_secondary_button,
250
+ subText: n.zero_state_generate_budgets_subheader,
251
+ sx: {
252
+ width: t ? "100%" : { sm: 500 },
253
+ height: t ? "100%" : { sm: 468 },
254
+ mt: 50,
255
+ ".buttons-footer": {
256
+ width: 208,
257
+ height: 100
258
+ },
259
+ padding: t ? 5 : 0
260
+ }
261
+ }
262
+ ) : /* @__PURE__ */ e(
263
+ se,
264
+ {
265
+ header: n.create_budgets_title,
266
+ icon: "bubble_chart",
267
+ iconColor: "#1A1A1A",
268
+ onClick: (u) => {
269
+ u === "primary" ? _() : i();
270
+ },
271
+ primaryButton: n.empty_state_primary_button,
272
+ secondaryButton: t ? void 0 : n.empty_state_secondary_button,
273
+ subText: n.empty_state_subheader,
274
+ sx: {
275
+ width: t ? "100%" : { sm: 432 },
276
+ height: t ? "100%" : { sm: 468 },
277
+ mt: 50,
278
+ ".buttons-footer": {
279
+ width: 208,
280
+ height: 100
281
+ },
282
+ padding: t ? 4 : 0
283
+ }
284
+ }
285
+ ) });
286
+ }, ve = I(
287
+ ({
288
+ createBudgetOnClick: t = () => {
289
+ },
290
+ height: o,
291
+ isDraggable: i = !1,
292
+ isMiniWidget: s = !1,
293
+ shouldShowZeroState: a,
294
+ unavailableWidth: n = 24
295
+ }) => {
296
+ const { onEvent: r } = X(), { setSelectedBudget: c } = w(), { isLoadingCategoryTotals: y } = j(), { isInitialized: h } = J(), { accounts: m } = D(), { availableWidth: g } = je(), { isMobile: f } = le(), [_, u] = l.useState(!1), C = l.useMemo(() => g - n, [g]), B = (x) => {
297
+ c(x), r(k.BUDGETS_CLICK_BUDGET_CATEGORY, {
298
+ budget_category: x.category.name,
299
+ click_type: "bubble"
300
+ });
301
+ }, A = () => {
302
+ u(!0), r(k.ACCOUNTS_CLICK_CONNECT);
303
+ };
304
+ return y ? /* @__PURE__ */ e(b, { alignItems: "center", height: o, justifyContent: "center", width: Math.abs(C), children: /* @__PURE__ */ e(P, {}) }) : /* @__PURE__ */ d(W, { ml: a || f ? 0 : 24, sx: { alignSelf: "center" }, children: [
305
+ a || !h ? /* @__PURE__ */ e(
306
+ _t,
307
+ {
308
+ createBudgetOnClick: t,
309
+ isMiniWidget: s,
310
+ onConnectAccountsClick: A
311
+ }
312
+ ) : /* @__PURE__ */ e(
313
+ ht,
314
+ {
315
+ height: o,
316
+ isDraggable: i,
317
+ onClick: B,
318
+ width: C
319
+ }
320
+ ),
321
+ /* @__PURE__ */ e(
322
+ Pe,
323
+ {
324
+ onClose: () => u(!1),
325
+ showConnectionsWidget: _,
326
+ title: m.manage_connections
327
+ }
328
+ )
329
+ ] });
330
+ }
331
+ ), bt = I(() => {
332
+ const { budgets: t } = D(), { totalBudgeted: o } = w(), { incomeTotal: i } = Q(), s = i - o;
333
+ return /* @__PURE__ */ d(b, { direction: "row", justifyContent: "center", my: 16, spacing: 20, children: [
334
+ /* @__PURE__ */ d(b, { alignItems: "center", children: [
335
+ /* @__PURE__ */ e(p, { bold: !0, variant: "Body", children: T(i, "0,0") }),
336
+ /* @__PURE__ */ e(p, { color: "secondary", variant: "Small", children: t.projected_income })
337
+ ] }),
338
+ /* @__PURE__ */ e(p, { bold: !0, justifyContent: "center", variant: "Body", children: "-" }),
339
+ /* @__PURE__ */ d(b, { alignItems: "center", children: [
340
+ /* @__PURE__ */ e(p, { bold: !0, variant: "Body", children: T(o, "0,0") }),
341
+ /* @__PURE__ */ e(p, { color: "secondary", variant: "Small", children: t.budgeted })
342
+ ] }),
343
+ /* @__PURE__ */ e(p, { bold: !0, justifyContent: "center", variant: "Body", children: "=" }),
344
+ /* @__PURE__ */ d(b, { alignItems: "center", children: [
345
+ /* @__PURE__ */ e(p, { bold: !0, variant: "Body", children: T(s, "0,0") }),
346
+ /* @__PURE__ */ e(p, { color: "secondary", variant: "Small", children: t.remaining })
347
+ ] })
348
+ ] });
349
+ }), yt = I(
350
+ ({ category: t }) => {
351
+ const { budgets: o } = D(), { budgets: i } = w(), s = l.useMemo(() => {
352
+ const a = i.find((c) => c.category_guid === t.guid), n = T(t.totalAverageAmount, "0,0"), r = a ? L(o.recalculate_previous_budget, T(a.amount, "0,0")) : o.recalculate_new_budget;
353
+ return `${n} - ${r}`;
354
+ }, [o, i]);
355
+ return /* @__PURE__ */ d(l.Fragment, { children: [
356
+ /* @__PURE__ */ e(V, { children: /* @__PURE__ */ d(Y, { children: [
357
+ /* @__PURE__ */ e(ne, { children: /* @__PURE__ */ e(H, { categoryGuid: t.guid, variant: "filled" }) }),
358
+ /* @__PURE__ */ e(Z, { primary: t.name, secondary: s })
359
+ ] }) }),
360
+ /* @__PURE__ */ e(te, {})
361
+ ] }, t.guid);
362
+ }
363
+ ), ft = ({ onRecalculateBudgets: t }) => {
364
+ const { budgets: o, common: i } = D(), { spendCategories: s } = j(), { recalculateBudgets: a, setAlert: n } = w(), [r, c] = l.useState(!1), y = s.filter((m) => m.totalAverageAmount > 0), h = async () => {
365
+ await a(y), c(!1), n(o.alert_recalculated_budgets), t?.();
366
+ };
367
+ return /* @__PURE__ */ d(l.Fragment, { children: [
368
+ /* @__PURE__ */ e(Be, { onClick: () => c(!0), sx: { mt: 24, mx: 24 }, variant: "text", children: o.recalculate_button }),
369
+ /* @__PURE__ */ e(p, { sx: { mx: 24, my: 16, textAlign: "center", whiteSpace: "wrap" }, variant: "Paragraph", children: o.recalculate_help }),
370
+ /* @__PURE__ */ e(
371
+ M,
372
+ {
373
+ ariaLabelClose: i.close_aria,
374
+ isOpen: r,
375
+ onClose: () => c(!1),
376
+ onPrimaryAction: h,
377
+ title: o.recalculate_title,
378
+ children: /* @__PURE__ */ d(b, { children: [
379
+ /* @__PURE__ */ d(b, { mx: 24, my: 16, children: [
380
+ /* @__PURE__ */ e(p, { bold: !0, variant: "Body", children: o.recalculate_description_top }),
381
+ /* @__PURE__ */ e(p, { variant: "ParagraphSmall", children: o.recalculate_description_bottom })
382
+ ] }),
383
+ /* @__PURE__ */ e(W, { bgcolor: "background.paper", children: /* @__PURE__ */ e(K, { children: y.map((m) => /* @__PURE__ */ e(yt, { category: m }, m.guid)) }) })
384
+ ] })
385
+ }
386
+ )
387
+ ] });
388
+ }, oe = ({
389
+ amount: t,
390
+ categoryName: o,
391
+ onAmountChanged: i
392
+ }) => {
393
+ const { budgets: s } = D(), { totalBudgeted: a } = w(), { incomeTotal: n } = Q(), r = n - a;
394
+ return /* @__PURE__ */ d(b, { gap: 16, children: [
395
+ /* @__PURE__ */ d(b, { children: [
396
+ /* @__PURE__ */ e(p, { children: L(
397
+ s.add_description_top,
398
+ T(r, "0,0")
399
+ ) }),
400
+ /* @__PURE__ */ e(p, { children: L(s.add_description_bottom, o) })
401
+ ] }),
402
+ /* @__PURE__ */ e(
403
+ We,
404
+ {
405
+ amount: t,
406
+ autoFocus: !0,
407
+ label: s.add_label,
408
+ minAmount: 0,
409
+ setAmount: i,
410
+ sx: { ".MuiTypography-Body": { p: 0 } }
411
+ }
412
+ )
413
+ ] });
414
+ }, Ct = I(({ category: t, onAddBudget: o }) => {
415
+ const { budgets: i, common: s } = D(), [a, n] = l.useState(!1), [r, c] = l.useState(
416
+ `${t.totalAmount === 0 ? "" : t.totalAmount}`
417
+ );
418
+ return /* @__PURE__ */ d(l.Fragment, { children: [
419
+ /* @__PURE__ */ e(V, { children: /* @__PURE__ */ d(Y, { onClick: () => n(!0), children: [
420
+ /* @__PURE__ */ e(ne, { children: /* @__PURE__ */ e(H, { categoryGuid: t.guid }) }),
421
+ /* @__PURE__ */ e(
422
+ Z,
423
+ {
424
+ primary: t.name,
425
+ secondary: T(t.totalAmount, "0,0")
426
+ }
427
+ ),
428
+ /* @__PURE__ */ e(Fe, { children: /* @__PURE__ */ e($, { name: "add", size: 20 }) })
429
+ ] }) }, t.guid),
430
+ /* @__PURE__ */ e(
431
+ N,
432
+ {
433
+ copy: { close_aria: s.close_aria, title: i.add_title },
434
+ disablePrimaryButton: Number(r) <= 0,
435
+ isOpen: a,
436
+ onClose: () => n(!1),
437
+ onPrimaryAction: () => o(t, Number(r)),
438
+ primaryText: i.add_save_button,
439
+ children: /* @__PURE__ */ e(oe, { amount: r, categoryName: t.name, onAmountChanged: c })
440
+ }
441
+ )
442
+ ] });
443
+ }), Te = I(({ onRecalculateBudgets: t }) => {
444
+ const { budgets: o } = D(), { addBudget: i, setAlert: s, unbudgetedCategories: a } = w(), n = async (r, c) => {
445
+ await i(r, c), s(L(o.alert_budget_created, r.name));
446
+ };
447
+ return /* @__PURE__ */ d(b, { children: [
448
+ /* @__PURE__ */ e(bt, {}),
449
+ /* @__PURE__ */ e(W, { bgcolor: "background.paper", children: /* @__PURE__ */ e(K, { children: a.map((r) => /* @__PURE__ */ e(
450
+ Ct,
451
+ {
452
+ category: r,
453
+ onAddBudget: n
454
+ },
455
+ r.guid
456
+ )) }) }),
457
+ /* @__PURE__ */ e(ft, { onRecalculateBudgets: t })
458
+ ] });
459
+ }), Bt = (t) => {
460
+ const o = q(), { onEvent: i } = X(), { detailedBudgets: s, isDataLoaded: a, loadBudgetData: n, setTheme: r } = w(), { budgets: c, common: y } = D(), { isCopyLoaded: h, isInitialized: m, selectedAccounts: g } = J(), { reloadCategoryTotals: f } = j(), _ = Ge(), u = s.length === 0, [C, B] = l.useState(!1), A = () => {
461
+ B(!0), i(k.BUDGETS_CLICK_ADD);
462
+ }, x = () => {
463
+ B(!1);
464
+ };
465
+ return l.useEffect(() => {
466
+ r(o);
467
+ }, [o]), l.useEffect(() => {
468
+ m && !a && f(g, ye(/* @__PURE__ */ new Date()), Me(/* @__PURE__ */ new Date())).then(
469
+ () => {
470
+ n().finally();
471
+ }
472
+ );
473
+ }, [m, g]), h ? /* @__PURE__ */ d(
474
+ He,
475
+ {
476
+ primaryCtaLabel: u ? c.get_started_cta : c.details_cta,
477
+ title: c.budgets_title,
478
+ ...t,
479
+ children: [
480
+ a ? /* @__PURE__ */ d(b, { height: 450, mt: 32, children: [
481
+ /* @__PURE__ */ e(
482
+ ve,
483
+ {
484
+ createBudgetOnClick: A,
485
+ height: 370,
486
+ isMiniWidget: !0,
487
+ shouldShowZeroState: u
488
+ }
489
+ ),
490
+ !u && /* @__PURE__ */ d(W, { ml: 16, children: [
491
+ /* @__PURE__ */ e(p, { bold: !0, color: _ < 0 ? "error.main" : "success.main", children: T(Math.abs(_), "0,0") }),
492
+ /* @__PURE__ */ e(p, { children: _ < 0 ? c.overspent_in_budgets : c.left_in_budgets })
493
+ ] })
494
+ ] }) : /* @__PURE__ */ e(P, {}),
495
+ /* @__PURE__ */ e(
496
+ M,
497
+ {
498
+ ariaLabelClose: y.close_aria,
499
+ isOpen: C,
500
+ onClose: () => B(!1),
501
+ title: c.add_new_title,
502
+ children: /* @__PURE__ */ e(Te, { onRecalculateBudgets: x })
503
+ }
504
+ )
505
+ ]
506
+ }
507
+ ) : /* @__PURE__ */ e(P, {});
508
+ }, vn = I(Bt), we = ({ budget: t }) => {
509
+ const {
510
+ amount: o,
511
+ budgetColors: { background: i },
512
+ category: { name: s },
513
+ category_guid: a,
514
+ percentage: n,
515
+ transaction_total: r
516
+ } = t, c = [
517
+ {
518
+ color: i,
519
+ percentage: `${n}%`
520
+ }
521
+ ];
522
+ return /* @__PURE__ */ e(de, { sx: { mt: 24, mx: 24 }, children: /* @__PURE__ */ e(ue, { children: /* @__PURE__ */ d(b, { alignItems: "center", gap: 16, children: [
523
+ /* @__PURE__ */ e(H, { categoryGuid: a, size: 56 }),
524
+ /* @__PURE__ */ e($e, { children: `${T(r, "0,0")} / ${T(o, "0,0")}` }),
525
+ /* @__PURE__ */ e(p, { bold: !0, variant: "XSmall", children: s }),
526
+ /* @__PURE__ */ e(ce, { data: c, height: 10 })
527
+ ] }) }) });
528
+ }, St = I(() => {
529
+ const { budgets: t } = D();
530
+ return /* @__PURE__ */ d(b, { alignItems: "center", gap: 12, height: "auto", mb: 24, mt: 24, children: [
531
+ /* @__PURE__ */ e($, { color: "secondary", name: "bubble_chart", sx: { fontSize: 32 } }),
532
+ /* @__PURE__ */ e(p, { bold: !0, color: "secondary", variant: "Small", children: t.zero_state_no_sub_budgets }),
533
+ /* @__PURE__ */ e(p, { color: "text.secondary", variant: "XSmall", children: t.zero_state_no_sub_budgets_description })
534
+ ] });
535
+ }), At = I(({ budget: t }) => {
536
+ const {
537
+ amount: o,
538
+ budgetColors: { background: i },
539
+ category: s,
540
+ percentage: a,
541
+ transaction_total: n
542
+ } = t, { setSelectedSubBudget: r } = w();
543
+ return /* @__PURE__ */ e(V, { children: /* @__PURE__ */ d(Y, { onClick: () => r(t), children: [
544
+ /* @__PURE__ */ e(ne, { sx: { mb: -8, mr: 16 }, children: /* @__PURE__ */ e(Ae, { color: i, percent: a, size: 40, children: /* @__PURE__ */ e(H, { categoryGuid: s.parent_guid, variant: "basic" }) }) }),
545
+ /* @__PURE__ */ e(
546
+ Z,
547
+ {
548
+ primary: /* @__PURE__ */ e(b, { component: "span", direction: "row", justifyContent: "space-between", children: /* @__PURE__ */ e(p, { bold: !0, variant: "Body", children: t.category.name }) }),
549
+ secondary: /* @__PURE__ */ e(b, { component: "span", direction: "row", justifyContent: "space-between", children: /* @__PURE__ */ e(p, { fontWeight: 400, variant: "Body", children: `
550
+ ${T(n, "0,0")} /
551
+ ${T(o, "0,0")}
552
+ ` }) })
553
+ }
554
+ )
555
+ ] }) });
556
+ }), xt = I(({ category: t, parentBudget: o }) => {
557
+ const { budgets: i, common: s } = D(), { setExpandedGuid: a, setOnSelect: n } = Je(), { addBudget: r } = w(), [c, y] = l.useState(!1), [h, m] = l.useState(!1), [g, f] = l.useState(""), [_, u] = l.useState(void 0);
558
+ l.useEffect(() => {
559
+ n((A) => {
560
+ const x = t.subCategories.find((v) => v.guid === A);
561
+ x && (u(x), f(`${x.currentAmount === 0 ? "" : x.currentAmount}`), m(!0));
562
+ });
563
+ }, []);
564
+ const C = () => {
565
+ a(t.guid), y(!0);
566
+ }, B = async () => {
567
+ _ && Number(g) > 0 && (await r(_, Number(g), o.guid), m(!1), y(!1), u(void 0));
568
+ };
569
+ return /* @__PURE__ */ d(W, { children: [
570
+ /* @__PURE__ */ e(V, { disableGutters: !0, disablePadding: !0, sx: { bgcolor: "background.paper" }, children: /* @__PURE__ */ e(Y, { onClick: C, children: /* @__PURE__ */ e(Z, { children: /* @__PURE__ */ d(b, { alignItems: "center", direction: "row", justifyContent: "space-between", children: [
571
+ /* @__PURE__ */ d(b, { alignItems: "center", direction: "row", gap: 8, children: [
572
+ /* @__PURE__ */ e($, { fill: !0, name: "add_box", size: 24, sx: { color: "primary.light" } }),
573
+ /* @__PURE__ */ e(p, { bold: !0, sx: { color: "primary.light" }, variant: "Body", children: i.add_sub_budget_button })
574
+ ] }),
575
+ /* @__PURE__ */ e($, { name: "chevron_right", size: 24, sx: { color: "primary.light" } })
576
+ ] }) }) }) }),
577
+ /* @__PURE__ */ e(te, {}),
578
+ /* @__PURE__ */ e(
579
+ M,
580
+ {
581
+ ariaLabelClose: s.close_aria,
582
+ isOpen: c,
583
+ onClose: () => y(!1),
584
+ title: i.add_sub_budget_title,
585
+ children: /* @__PURE__ */ e(K, { children: /* @__PURE__ */ e(Qe, { category: t, subCategories: t.subCategories }) })
586
+ }
587
+ ),
588
+ /* @__PURE__ */ e(
589
+ N,
590
+ {
591
+ copy: { close_aria: s.close_aria, title: i.add_title },
592
+ disablePrimaryButton: Number(g) <= 0,
593
+ isOpen: h,
594
+ onClose: () => m(!1),
595
+ onPrimaryAction: B,
596
+ primaryText: i.add_save_button,
597
+ children: /* @__PURE__ */ e(
598
+ oe,
599
+ {
600
+ amount: g,
601
+ categoryName: _?.name || "",
602
+ onAmountChanged: f
603
+ }
604
+ )
605
+ }
606
+ )
607
+ ] });
608
+ }), vt = I(({ budget: t }) => {
609
+ const { category: o, subBudgets: i } = t, { budgets: s, common: a } = D(), { deleteBudget: n, selectedSubBudget: r, setSelectedSubBudget: c, updateBudget: y } = w(), { filter: h, setFilter: m } = ee(), [g, f] = l.useState(!1), [_, u] = l.useState(!1), [C, B] = l.useState("");
610
+ l.useEffect(() => {
611
+ r && (B(`${r.amount}`), m({
612
+ ...h,
613
+ custom: (S) => S.category_guid === r.category_guid
614
+ }));
615
+ }, [r]);
616
+ const A = async () => {
617
+ r && await y({
618
+ ...r,
619
+ amount: Number(C)
620
+ });
621
+ }, x = async () => {
622
+ r && await n(r.guid), u(!1), v();
623
+ }, v = () => {
624
+ m({
625
+ ...h,
626
+ custom: (S) => S.category_guid === t.category_guid || S.top_level_category_guid === t.category_guid
627
+ }), c(void 0);
628
+ };
629
+ return /* @__PURE__ */ d(l.Fragment, { children: [
630
+ /* @__PURE__ */ d(K, { sx: { bgcolor: "background.paper" }, children: [
631
+ i.length === 0 ? /* @__PURE__ */ e(St, {}) : i.map((S) => /* @__PURE__ */ d(l.Fragment, { children: [
632
+ /* @__PURE__ */ e(At, { budget: S }),
633
+ /* @__PURE__ */ e(te, {})
634
+ ] }, S.guid)),
635
+ /* @__PURE__ */ e(xt, { category: o, parentBudget: t })
636
+ ] }),
637
+ /* @__PURE__ */ e(
638
+ M,
639
+ {
640
+ ariaLabelClose: a.close_aria,
641
+ isOpen: !!r,
642
+ onClose: v,
643
+ onPrimaryAction: () => f(!0),
644
+ onSecondaryAction: () => u(!0),
645
+ primaryText: s.details_edit_button,
646
+ secondaryText: s.details_delete_button,
647
+ title: s.details_title,
648
+ children: r && /* @__PURE__ */ d(b, { gap: 24, children: [
649
+ /* @__PURE__ */ e(we, { budget: r }),
650
+ /* @__PURE__ */ e(Se, { height: "100%" })
651
+ ] })
652
+ }
653
+ ),
654
+ r && /* @__PURE__ */ d(l.Fragment, { children: [
655
+ /* @__PURE__ */ e(
656
+ N,
657
+ {
658
+ copy: { close_aria: a.close_aria, title: s.details_edit_title },
659
+ disablePrimaryButton: Number(C) <= 0,
660
+ isOpen: g,
661
+ onClose: () => f(!1),
662
+ onPrimaryAction: A,
663
+ primaryText: s.edit_save_button,
664
+ children: /* @__PURE__ */ e(
665
+ oe,
666
+ {
667
+ amount: C,
668
+ categoryName: r.category.name,
669
+ onAmountChanged: B
670
+ }
671
+ )
672
+ }
673
+ ),
674
+ /* @__PURE__ */ e(
675
+ N,
676
+ {
677
+ copy: { close_aria: a.close_aria, title: s.delete_title },
678
+ isOpen: _,
679
+ onClose: () => u(!1),
680
+ onPrimaryAction: x,
681
+ primaryColor: "error",
682
+ primaryText: "Delete",
683
+ secondaryColor: "secondary",
684
+ children: /* @__PURE__ */ e(p, { variant: "Paragraph", children: L(s.delete_description, r.category.name) })
685
+ }
686
+ )
687
+ ] })
688
+ ] });
689
+ }), Tt = I(({ budget: t }) => {
690
+ const { is_mobile_webview: o } = ze(), { setAlert: i } = w(), { budgets: s, common: a, transactions: n } = D(), { isDesktop: r } = le(), {
691
+ sortedTransactions: c,
692
+ sortedTransactionsWithSplits: y,
693
+ tags: h
694
+ } = ee(), [m, g] = l.useState(0), [f, _] = l.useState(""), u = l.useMemo(
695
+ () => c.find((x) => x.guid === f),
696
+ [f, c]
697
+ ), C = (x, v) => {
698
+ g(v);
699
+ }, B = () => {
700
+ Ze(y, h), i(s.alert_csv_downloaded);
701
+ }, A = c.length > 0 && !o && r;
702
+ return /* @__PURE__ */ d(b, { gap: 24, children: [
703
+ /* @__PURE__ */ e(we, { budget: t }),
704
+ /* @__PURE__ */ d(b, { children: [
705
+ /* @__PURE__ */ d(
706
+ Ye,
707
+ {
708
+ onChange: C,
709
+ sx: { width: "100%" },
710
+ textColor: "primary",
711
+ value: m,
712
+ variant: "fullWidth",
713
+ children: [
714
+ /* @__PURE__ */ e(pe, { label: s.details_transactions_tab }),
715
+ /* @__PURE__ */ e(pe, { label: s.details_subbudgets_tab })
716
+ ]
717
+ }
718
+ ),
719
+ m === 0 && /* @__PURE__ */ d(b, { children: [
720
+ A && /* @__PURE__ */ e(b, { direction: "row", justifyContent: "right", mb: -24, mr: 8, mt: 8, zIndex: 1, children: /* @__PURE__ */ e(
721
+ Be,
722
+ {
723
+ onClick: B,
724
+ startIcon: /* @__PURE__ */ e($, { name: "ios_share" }),
725
+ variant: "text",
726
+ children: n.export_csv_btn
727
+ }
728
+ ) }),
729
+ /* @__PURE__ */ e(Se, { height: "100%", onClick: _ })
730
+ ] }),
731
+ m === 1 && /* @__PURE__ */ e(vt, { budget: t }),
732
+ /* @__PURE__ */ e(
733
+ M,
734
+ {
735
+ ariaLabelClose: a.close_aria,
736
+ isOpen: !!u,
737
+ onClose: () => _(""),
738
+ title: s.details_transaction_drawer,
739
+ children: u && /* @__PURE__ */ e(qe, { transaction: u })
740
+ }
741
+ )
742
+ ] })
743
+ ] });
744
+ }), wt = I(() => {
745
+ const { selectedAccountGuids: t } = J(), { budgets: o, common: i } = D(), {
746
+ dateRange: s,
747
+ deleteBudget: a,
748
+ selectedBudget: n,
749
+ selectedSubBudget: r,
750
+ setAlert: c,
751
+ setSelectedBudget: y,
752
+ updateBudget: h
753
+ } = w(), { setFilter: m } = ee(), [g, f] = l.useState(!1), [_, u] = l.useState(!1), [C, B] = l.useState(!1), [A, x] = l.useState("");
754
+ l.useEffect(() => {
755
+ n && !r && (x(`${n.amount}`), f(!0), m({
756
+ accounts: t,
757
+ dateRange: s,
758
+ custom: (R) => R.category_guid === n.category_guid || R.top_level_category_guid === n.category_guid,
759
+ showSplits: !0
760
+ }));
761
+ }, [n]);
762
+ const v = async () => {
763
+ n && (await h({
764
+ ...n,
765
+ amount: Number(A),
766
+ percentage: n.category.totalAmount / Number(A) * 100
767
+ }), c(L(o.alert_budget_updated, n.category.name)));
768
+ }, S = async () => {
769
+ n && (await a(n.guid), c(L(o.alert_budget_deleted, n.category.name))), B(!1), O();
770
+ }, O = () => {
771
+ f(!1), setTimeout(() => {
772
+ y(void 0);
773
+ }, 250);
774
+ };
775
+ if (n)
776
+ return /* @__PURE__ */ d(l.Fragment, { children: [
777
+ /* @__PURE__ */ e(
778
+ M,
779
+ {
780
+ ariaLabelClose: i.close_aria,
781
+ isOpen: g,
782
+ onClose: O,
783
+ onPrimaryAction: () => u(!0),
784
+ onSecondaryAction: () => B(!0),
785
+ primaryText: o.details_edit_button,
786
+ secondaryColor: "error",
787
+ secondaryText: o.details_delete_button,
788
+ title: o.details_title,
789
+ children: /* @__PURE__ */ e(Tt, { budget: n })
790
+ }
791
+ ),
792
+ /* @__PURE__ */ e(
793
+ N,
794
+ {
795
+ copy: { close_aria: i.close_aria, title: o.details_edit_title },
796
+ disablePrimaryButton: Number(A) <= 0,
797
+ isOpen: _,
798
+ onClose: () => u(!1),
799
+ onPrimaryAction: v,
800
+ primaryText: o.edit_save_button,
801
+ children: /* @__PURE__ */ e(
802
+ oe,
803
+ {
804
+ amount: A,
805
+ categoryName: n.category.name,
806
+ onAmountChanged: x
807
+ }
808
+ )
809
+ }
810
+ ),
811
+ /* @__PURE__ */ e(
812
+ N,
813
+ {
814
+ copy: { close_aria: i.close_aria, title: o.delete_title },
815
+ isOpen: C,
816
+ onClose: () => B(!1),
817
+ onPrimaryAction: S,
818
+ primaryColor: "error",
819
+ primaryText: o.details_delete_button,
820
+ secondaryColor: "secondary",
821
+ children: /* @__PURE__ */ e(p, { variant: "Paragraph", children: L(o.delete_description, n.category.name) })
822
+ }
823
+ )
824
+ ] });
825
+ }), Dt = ({ budget: t, onClick: o }) => {
826
+ const {
827
+ amount: i,
828
+ budgetColors: { background: s, description: a },
829
+ category_guid: n,
830
+ description: r,
831
+ percentage: c,
832
+ subBudgets: y,
833
+ transaction_total: h
834
+ } = t;
835
+ return /* @__PURE__ */ e(V, { children: /* @__PURE__ */ d(Y, { onClick: () => o?.(t), children: [
836
+ /* @__PURE__ */ e(ne, { sx: { mb: -8, mr: 16 }, children: /* @__PURE__ */ e(Ae, { color: s, percent: c, size: 40, children: /* @__PURE__ */ e(H, { categoryGuid: n, variant: "basic" }) }) }),
837
+ /* @__PURE__ */ e(
838
+ Z,
839
+ {
840
+ primary: /* @__PURE__ */ d(b, { component: "span", direction: "row", justifyContent: "space-between", children: [
841
+ /* @__PURE__ */ e(p, { bold: !0, variant: "Body", children: t.category.name }),
842
+ /* @__PURE__ */ e(p, { fontWeight: 400, variant: "Body", children: `
843
+ ${T(h, "0,0")} /
844
+ ${T(i, "0,0")}
845
+ ` })
846
+ ] }),
847
+ secondary: /* @__PURE__ */ d(b, { component: "span", direction: "row", justifyContent: "space-between", children: [
848
+ /* @__PURE__ */ e(p, { variant: "XSmall", children: `${y.length} Sub-budgets` }),
849
+ /* @__PURE__ */ e(p, { bold: c > 100, color: a, variant: "XSmall", children: r })
850
+ ] })
851
+ }
852
+ )
853
+ ] }) });
854
+ }, It = I(() => {
855
+ const { onEvent: t } = X(), { budgets: o } = D(), { detailedBudgets: i, setSelectedBudget: s } = w(), a = (n) => {
856
+ s(n), t(k.BUDGETS_CLICK_BUDGET_CATEGORY, {
857
+ budget_category: n.category.name,
858
+ click_type: "list"
859
+ });
860
+ };
861
+ return /* @__PURE__ */ d(de, { elevation: 2, children: [
862
+ /* @__PURE__ */ e(xe, { sx: { pb: 8, pl: 24 }, title: /* @__PURE__ */ e(fe, { children: o.budget_categories_title }) }),
863
+ /* @__PURE__ */ e(ue, { sx: { p: 0, ":last-child": { p: 0 } }, children: /* @__PURE__ */ e(K, { children: i.map((n) => /* @__PURE__ */ d(l.Fragment, { children: [
864
+ /* @__PURE__ */ e(Dt, { budget: n, onClick: a }),
865
+ /* @__PURE__ */ e(te, {})
866
+ ] }, n.guid)) }) })
867
+ ] });
868
+ }), Et = I(() => {
869
+ const t = q(), { onEvent: o } = X(), { visibleAccounts: i } = Ce(), { budgets: s, common: a, recurring: n } = D(), { incomeCategories: r, spendCategories: c } = j(), { detailedBudgets: y, totalBudgeted: h } = w(), { incomeTotal: m } = Q(), { setFilter: g } = ee(), [f, _] = l.useState(!1), [u, C] = l.useMemo(() => {
870
+ const v = c.reduce((z, ae) => z + ae.totalAmount, 0);
871
+ let S = v / h;
872
+ S > 1 && (S = 1);
873
+ let O = t.palette.success.main;
874
+ S > 0.8 && S < 1 ? O = t.palette.warning.main : S >= 1 && (O = t.palette.error.main);
875
+ const R = [
876
+ {
877
+ color: O,
878
+ percentage: `${S}`
879
+ }
880
+ ];
881
+ return [v, R];
882
+ }, [y, c]), [B, A] = l.useMemo(() => {
883
+ const v = Math.abs(
884
+ r.reduce((R, z) => R + z.totalAmount, 0)
885
+ );
886
+ let S = v / m;
887
+ S > 1 && (S = 1);
888
+ const O = [
889
+ {
890
+ color: t.palette.secondary.main,
891
+ percentage: `${S}`
892
+ }
893
+ ];
894
+ return [v, O];
895
+ }, [r, m]), x = () => {
896
+ g({
897
+ accounts: i.map((v) => v.guid),
898
+ dateRange: {
899
+ start: et(/* @__PURE__ */ new Date(), 90),
900
+ end: /* @__PURE__ */ new Date()
901
+ }
902
+ }), _(!0), o(k.BUDGETS_CLICK_EDIT_INCOME);
903
+ };
904
+ return /* @__PURE__ */ d(de, { elevation: 2, sx: { overflow: "visible" }, children: [
905
+ /* @__PURE__ */ e(xe, { sx: { pb: 8, pl: 24 }, title: /* @__PURE__ */ e(fe, { children: s.overview_title }) }),
906
+ /* @__PURE__ */ e(ue, { sx: { pt: 12, px: 24 }, children: /* @__PURE__ */ d(b, { gap: 24, children: [
907
+ /* @__PURE__ */ d(b, { gap: 8, children: [
908
+ /* @__PURE__ */ e(p, { bold: !0, sx: { mb: 8 }, variant: "Body", children: s.spending_title }),
909
+ /* @__PURE__ */ e(ce, { data: C, height: 16 }),
910
+ /* @__PURE__ */ e(p, { variant: "Small", children: L(
911
+ s.spending_description,
912
+ T(u, "0,0"),
913
+ T(h, "0,0")
914
+ ) })
915
+ ] }),
916
+ /* @__PURE__ */ d(b, { gap: 8, children: [
917
+ /* @__PURE__ */ d(b, { alignItems: "center", direction: "row", gap: 4, mb: -4, children: [
918
+ /* @__PURE__ */ e(p, { bold: !0, variant: "Body", children: s.income_title }),
919
+ /* @__PURE__ */ e(
920
+ tt,
921
+ {
922
+ "aria-label": n.manage_income,
923
+ onClick: x,
924
+ sx: { p: 0 },
925
+ children: /* @__PURE__ */ e($, { color: "primary", name: "edit" })
926
+ }
927
+ )
928
+ ] }),
929
+ /* @__PURE__ */ e(ce, { data: A, height: 16 }),
930
+ /* @__PURE__ */ e(p, { variant: "Small", children: L(
931
+ s.income_description,
932
+ T(B, "0,0"),
933
+ T(m, "0,0")
934
+ ) })
935
+ ] })
936
+ ] }) }),
937
+ /* @__PURE__ */ e(
938
+ M,
939
+ {
940
+ ariaLabelClose: a.close_aria,
941
+ isOpen: f,
942
+ onClose: () => _(!1),
943
+ title: n.manage_income,
944
+ children: /* @__PURE__ */ d(b, { gap: 4, children: [
945
+ /* @__PURE__ */ e(p, { bold: !0, sx: { mt: 12, mx: 24 }, variant: "Small", children: s.income_title }),
946
+ /* @__PURE__ */ e(nt, {})
947
+ ] })
948
+ }
949
+ )
950
+ ] });
951
+ }), be = 480, Tn = I(({ onBackClick: t, sx: o }) => {
952
+ const i = q(), { onEvent: s } = X(), { visibleAccounts: a } = Ce(), { budgets: n, common: r } = D(), { isCopyLoaded: c, isInitialized: y, selectedAccounts: h, setDisplayedDate: m, setSelectedAccounts: g } = J(), {
953
+ alert: f,
954
+ dateRange: _,
955
+ isDataLoaded: u,
956
+ loadBudgetData: C,
957
+ setDateRange: B,
958
+ setAlert: A,
959
+ setTheme: x,
960
+ detailedBudgets: v
961
+ } = w(), { loadRepeatingTransactions: S, setDateRange: O } = Q(), { reloadCategoryTotals: R } = j(), { isSmallTablet: z, isMobile: ae, isSmallMobile: De } = le(), U = z || ae || De, [Ie, re] = l.useState(!1);
962
+ l.useEffect(() => {
963
+ x(i), g(a), m(_.start, _.end), s(k.BUDGETS_VIEW);
964
+ }, []), l.useEffect(() => {
965
+ g(a);
966
+ }, [a]), l.useEffect(() => {
967
+ y && (R(h, _.start, _.end).finally(), O(_), u || (S().finally(), C().finally()));
968
+ }, [y, h, _]);
969
+ const Ee = (ge) => {
970
+ B({ start: ge[0] || /* @__PURE__ */ new Date(), end: ge[1] || /* @__PURE__ */ new Date() });
971
+ }, Oe = () => {
972
+ s(k.BUDGETS_CLICK_FILTER);
973
+ }, me = () => {
974
+ re(!0), s(k.BUDGETS_CLICK_ADD);
975
+ }, Le = () => {
976
+ re(!1);
977
+ }, Re = Xe(_.end, ye(/* @__PURE__ */ new Date()));
978
+ return !c || !y || !u ? /* @__PURE__ */ e(P, {}) : /* @__PURE__ */ d(
979
+ Ue,
980
+ {
981
+ accountOptions: a,
982
+ actions: [
983
+ {
984
+ iconName: "add",
985
+ label: n.add_title,
986
+ onClick: me
987
+ }
988
+ ],
989
+ calendarActions: { onRangeChanged: Ee, shouldDisableNext: Re },
990
+ onAccountsFilterClick: Oe,
991
+ onBackClick: t,
992
+ sx: o,
993
+ title: n.budgets_title,
994
+ children: [
995
+ (!y || !u) && /* @__PURE__ */ e(P, {}),
996
+ y && u && /* @__PURE__ */ d(
997
+ b,
998
+ {
999
+ direction: U ? "column" : "row",
1000
+ height: "100%",
1001
+ sx: { justifyContent: "center" },
1002
+ width: "100%",
1003
+ children: [
1004
+ /* @__PURE__ */ e(b, { height: U ? 450 : "calc(100dvh - 150px)", children: /* @__PURE__ */ e(
1005
+ ve,
1006
+ {
1007
+ createBudgetOnClick: me,
1008
+ height: U ? 450 : 800,
1009
+ isDraggable: !0,
1010
+ shouldShowZeroState: v.length === 0,
1011
+ unavailableWidth: U ? 0 : be
1012
+ }
1013
+ ) }),
1014
+ v.length !== 0 && /* @__PURE__ */ d(
1015
+ b,
1016
+ {
1017
+ gap: 24,
1018
+ height: "100%",
1019
+ sx: { mr: 24, mt: 48 },
1020
+ width: U ? "100%" : be,
1021
+ children: [
1022
+ /* @__PURE__ */ e(Et, {}),
1023
+ /* @__PURE__ */ e(It, {})
1024
+ ]
1025
+ }
1026
+ )
1027
+ ]
1028
+ }
1029
+ ),
1030
+ /* @__PURE__ */ e(wt, {}),
1031
+ /* @__PURE__ */ e(
1032
+ M,
1033
+ {
1034
+ ariaLabelClose: r.close_aria,
1035
+ isOpen: Ie,
1036
+ onClose: () => re(!1),
1037
+ title: n.add_new_title,
1038
+ children: /* @__PURE__ */ e(Te, { onRecalculateBudgets: Le })
1039
+ }
1040
+ ),
1041
+ /* @__PURE__ */ e(
1042
+ Ve,
1043
+ {
1044
+ anchorOrigin: { vertical: "bottom", horizontal: "right" },
1045
+ autoHideDuration: 3500,
1046
+ onClose: () => {
1047
+ A("");
1048
+ },
1049
+ open: !!f,
1050
+ children: /* @__PURE__ */ e(
1051
+ Ke,
1052
+ {
1053
+ onClose: () => {
1054
+ A("");
1055
+ },
1056
+ severity: "success",
1057
+ variant: "filled",
1058
+ children: f
1059
+ }
1060
+ )
1061
+ }
1062
+ )
1063
+ ]
1064
+ }
1065
+ );
1066
+ });
3
1067
  export {
4
- d as BubbleBudgetsMiniWidget,
5
- b as BubbleBudgetsWidget
1068
+ vn as BubbleBudgetsMiniWidget,
1069
+ Tn as BubbleBudgetsWidget
6
1070
  };