@mx-cartographer/experiences 9.1.0-alpha.bb1 → 9.1.1

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 (248) hide show
  1. package/CHANGELOG.md +80 -0
  2. package/README.md +10 -10
  3. package/dist/Account-DR7Plrqy.mjs +119 -0
  4. package/dist/Account-DR7Plrqy.mjs.map +1 -0
  5. package/dist/AccountDetailsDrawer-C1hhmlmI.mjs +922 -0
  6. package/dist/AccountDetailsDrawer-C1hhmlmI.mjs.map +1 -0
  7. package/dist/AccountDetailsHeader-BliEZhz7.mjs +230 -0
  8. package/dist/AccountDetailsHeader-BliEZhz7.mjs.map +1 -0
  9. package/dist/AccountUtils-Cbh8r9cP.mjs +29 -0
  10. package/dist/AccountUtils-Cbh8r9cP.mjs.map +1 -0
  11. package/dist/Analytics-CkYXKvco.mjs +54 -0
  12. package/dist/Analytics-CkYXKvco.mjs.map +1 -0
  13. package/dist/Analytics-WeZYytR0.mjs +140 -0
  14. package/dist/Analytics-WeZYytR0.mjs.map +1 -0
  15. package/dist/ApiEndpoints-DXwIYNUV.mjs +50 -0
  16. package/dist/ApiEndpoints-DXwIYNUV.mjs.map +1 -0
  17. package/dist/BeatMaterialIcon-1KOfRZrA.mjs +27 -0
  18. package/dist/BeatMaterialIcon-1KOfRZrA.mjs.map +1 -0
  19. package/dist/BudgetUtil-Bg2AQJpQ.mjs +75 -0
  20. package/dist/BudgetUtil-Bg2AQJpQ.mjs.map +1 -0
  21. package/dist/Category-DEKZGLYe.mjs +302 -0
  22. package/dist/Category-DEKZGLYe.mjs.map +1 -0
  23. package/dist/CategorySelectorDrawer-NJsFsKP1.mjs +431 -0
  24. package/dist/CategorySelectorDrawer-NJsFsKP1.mjs.map +1 -0
  25. package/dist/Connect-BH0Pt6zc.mjs +43 -0
  26. package/dist/Connect-BH0Pt6zc.mjs.map +1 -0
  27. package/dist/ConnectCard-D7uxoH5Y.mjs +55 -0
  28. package/dist/ConnectCard-D7uxoH5Y.mjs.map +1 -0
  29. package/dist/ConnectDrawer-CW4LA3H3.mjs +58 -0
  30. package/dist/ConnectDrawer-CW4LA3H3.mjs.map +1 -0
  31. package/dist/ConnectionsDrawer-CZU9ku-k.mjs +54 -0
  32. package/dist/ConnectionsDrawer-CZU9ku-k.mjs.map +1 -0
  33. package/dist/CurrencyDialog-DumQCTPO.mjs +374 -0
  34. package/dist/CurrencyDialog-DumQCTPO.mjs.map +1 -0
  35. package/dist/CurrencyInput-DaGEQaLW.mjs +88 -0
  36. package/dist/CurrencyInput-DaGEQaLW.mjs.map +1 -0
  37. package/dist/CurrencyText-CCbE6MmF.mjs +21 -0
  38. package/dist/CurrencyText-CCbE6MmF.mjs.map +1 -0
  39. package/dist/DateFormats-HudZ3Bjs.mjs +65 -0
  40. package/dist/DateFormats-HudZ3Bjs.mjs.map +1 -0
  41. package/dist/DateUtil-CzBmbjmA.mjs +75 -0
  42. package/dist/DateUtil-CzBmbjmA.mjs.map +1 -0
  43. package/dist/DebtUtils-i4pI2Uoe.mjs +154 -0
  44. package/dist/DebtUtils-i4pI2Uoe.mjs.map +1 -0
  45. package/dist/Dialog-Bvd2n8hz.mjs +67 -0
  46. package/dist/Dialog-Bvd2n8hz.mjs.map +1 -0
  47. package/dist/Donut-SzzfZDHF.mjs +89 -0
  48. package/dist/Donut-SzzfZDHF.mjs.map +1 -0
  49. package/dist/Drawer-DsnW2o0v.mjs +175 -0
  50. package/dist/Drawer-DsnW2o0v.mjs.map +1 -0
  51. package/dist/EmbeddedCard-DH8vQ3qN.mjs +859 -0
  52. package/dist/EmbeddedCard-DH8vQ3qN.mjs.map +1 -0
  53. package/dist/EmptyState-CJUDc3kD.mjs +85 -0
  54. package/dist/EmptyState-CJUDc3kD.mjs.map +1 -0
  55. package/dist/Error-Dtw6yxkf.mjs +85 -0
  56. package/dist/Error-Dtw6yxkf.mjs.map +1 -0
  57. package/dist/ErrorBoundary-CsdOcnJ9.mjs +24 -0
  58. package/dist/ErrorBoundary-CsdOcnJ9.mjs.map +1 -0
  59. package/dist/ExportCsvAction-C9KWH3Az.mjs +25 -0
  60. package/dist/ExportCsvAction-C9KWH3Az.mjs.map +1 -0
  61. package/dist/GlobalAccountFilter-BhzR5Vb1.mjs +230 -0
  62. package/dist/GlobalAccountFilter-BhzR5Vb1.mjs.map +1 -0
  63. package/dist/GlobalCopyApi-wcnDUzMV.mjs +129 -0
  64. package/dist/GlobalCopyApi-wcnDUzMV.mjs.map +1 -0
  65. package/dist/GoalsUtil-C9EnLWvC.mjs +108 -0
  66. package/dist/GoalsUtil-C9EnLWvC.mjs.map +1 -0
  67. package/dist/HeaderCell-P8w6CmfO.mjs +7 -0
  68. package/dist/HeaderCell-P8w6CmfO.mjs.map +1 -0
  69. package/dist/Help-CkQTjORd.mjs +300 -0
  70. package/dist/Help-CkQTjORd.mjs.map +1 -0
  71. package/dist/Help-aERwhajy.mjs +3210 -0
  72. package/dist/Help-aERwhajy.mjs.map +1 -0
  73. package/dist/IconBacking-DgT8DCeh.mjs +40 -0
  74. package/dist/IconBacking-DgT8DCeh.mjs.map +1 -0
  75. package/dist/InformationTooltip-4su8bn1e.mjs +42 -0
  76. package/dist/InformationTooltip-4su8bn1e.mjs.map +1 -0
  77. package/dist/InvestmentUtil-BItV7uEs.mjs +135 -0
  78. package/dist/InvestmentUtil-BItV7uEs.mjs.map +1 -0
  79. package/dist/LineChart-CUfiH86G.mjs +613 -0
  80. package/dist/LineChart-CUfiH86G.mjs.map +1 -0
  81. package/dist/ListItemAction-BqUCLj_w.mjs +70 -0
  82. package/dist/ListItemAction-BqUCLj_w.mjs.map +1 -0
  83. package/dist/ListItemRow-kH1rn8Xu.mjs +68 -0
  84. package/dist/ListItemRow-kH1rn8Xu.mjs.map +1 -0
  85. package/dist/ListItemWrapper-DRse79Iu.mjs +44 -0
  86. package/dist/ListItemWrapper-DRse79Iu.mjs.map +1 -0
  87. package/dist/Loader-CxeBwuPG.mjs +22 -0
  88. package/dist/Loader-CxeBwuPG.mjs.map +1 -0
  89. package/dist/Localization-DnoVyBNK.mjs +39 -0
  90. package/dist/Localization-DnoVyBNK.mjs.map +1 -0
  91. package/dist/ManageIncome-Be9WHv-s.mjs +906 -0
  92. package/dist/ManageIncome-Be9WHv-s.mjs.map +1 -0
  93. package/dist/MicroWidgetContainer-B2NnKBgW.mjs +46 -0
  94. package/dist/MicroWidgetContainer-B2NnKBgW.mjs.map +1 -0
  95. package/dist/MiniWidgetContainer-Bmv_WeUd.mjs +67 -0
  96. package/dist/MiniWidgetContainer-Bmv_WeUd.mjs.map +1 -0
  97. package/dist/NetWorthUtils-Dj7CgAg2.mjs +96 -0
  98. package/dist/NetWorthUtils-Dj7CgAg2.mjs.map +1 -0
  99. package/dist/Notification-DTNYSd8P.mjs +8 -0
  100. package/dist/Notification-DTNYSd8P.mjs.map +1 -0
  101. package/dist/NotificationSettings-CW7okUrk.mjs +678 -0
  102. package/dist/NotificationSettings-CW7okUrk.mjs.map +1 -0
  103. package/dist/NotificationUtils-BRGFTePr.mjs +24 -0
  104. package/dist/NotificationUtils-BRGFTePr.mjs.map +1 -0
  105. package/dist/NumberFormatting--XMeeBfr.mjs +50 -0
  106. package/dist/NumberFormatting--XMeeBfr.mjs.map +1 -0
  107. package/dist/OriginalBalanceAction-YrvxBYAl.mjs +115 -0
  108. package/dist/OriginalBalanceAction-YrvxBYAl.mjs.map +1 -0
  109. package/dist/RecurringSettings-kRqAViNn.mjs +89 -0
  110. package/dist/RecurringSettings-kRqAViNn.mjs.map +1 -0
  111. package/dist/RecurringTransactionsUtil-CHWmqvW5.mjs +299 -0
  112. package/dist/RecurringTransactionsUtil-CHWmqvW5.mjs.map +1 -0
  113. package/dist/ResponsiveButton-CC9F_Ezk.mjs +46 -0
  114. package/dist/ResponsiveButton-CC9F_Ezk.mjs.map +1 -0
  115. package/dist/SearchBox-Cpgu_gdO.mjs +51 -0
  116. package/dist/SearchBox-Cpgu_gdO.mjs.map +1 -0
  117. package/dist/Select-CSpkK5cR.mjs +62 -0
  118. package/dist/Select-CSpkK5cR.mjs.map +1 -0
  119. package/dist/SelectionBox-B4xELRgp.mjs +49 -0
  120. package/dist/SelectionBox-B4xELRgp.mjs.map +1 -0
  121. package/dist/SingleSegmentDonut-7Uy6VEld.mjs +70 -0
  122. package/dist/SingleSegmentDonut-7Uy6VEld.mjs.map +1 -0
  123. package/dist/Sizes-DISGrlUg.mjs +7 -0
  124. package/dist/Sizes-DISGrlUg.mjs.map +1 -0
  125. package/dist/SkeletonLoader-BaNboJjD.mjs +39 -0
  126. package/dist/SkeletonLoader-BaNboJjD.mjs.map +1 -0
  127. package/dist/SpendingData-Fii_xATx.mjs +54 -0
  128. package/dist/SpendingData-Fii_xATx.mjs.map +1 -0
  129. package/dist/SpendingLegend-CxvNOg3c.mjs +204 -0
  130. package/dist/SpendingLegend-CxvNOg3c.mjs.map +1 -0
  131. package/dist/StatusBar-CPfSXe80.mjs +31 -0
  132. package/dist/StatusBar-CPfSXe80.mjs.map +1 -0
  133. package/dist/TabContentContainer-B0eYJP5p.mjs +49 -0
  134. package/dist/TabContentContainer-B0eYJP5p.mjs.map +1 -0
  135. package/dist/ToggleListItem-Dl1lXNwj.mjs +92 -0
  136. package/dist/ToggleListItem-Dl1lXNwj.mjs.map +1 -0
  137. package/dist/TransactionDetails-roZ5xLq8.mjs +1708 -0
  138. package/dist/TransactionDetails-roZ5xLq8.mjs.map +1 -0
  139. package/dist/TransactionUtils-BphBJBbU.mjs +235 -0
  140. package/dist/TransactionUtils-BphBJBbU.mjs.map +1 -0
  141. package/dist/TrendsUtil-D9z3kIj_.mjs +70 -0
  142. package/dist/TrendsUtil-D9z3kIj_.mjs.map +1 -0
  143. package/dist/UserStore-BjnNCO5a.mjs +3121 -0
  144. package/dist/UserStore-BjnNCO5a.mjs.map +1 -0
  145. package/dist/ViewMoreMicroCard-fnwE0hqd.mjs +1280 -0
  146. package/dist/ViewMoreMicroCard-fnwE0hqd.mjs.map +1 -0
  147. package/dist/WidgetContainer-DJnp6t6c.mjs +483 -0
  148. package/dist/WidgetContainer-DJnp6t6c.mjs.map +1 -0
  149. package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsDrawer.d.ts +6 -0
  150. package/dist/accounts/index.d.ts +1 -0
  151. package/dist/accounts/index.es.js +784 -12
  152. package/dist/accounts/index.es.js.map +1 -0
  153. package/dist/analytics/index.es.js +140 -155
  154. package/dist/analytics/index.es.js.map +1 -0
  155. package/dist/budgets/index.es.js +1267 -1317
  156. package/dist/budgets/index.es.js.map +1 -0
  157. package/dist/cashflow/context/hooks.d.ts +7 -6
  158. package/dist/cashflow/index.es.js +944 -1076
  159. package/dist/cashflow/index.es.js.map +1 -0
  160. package/dist/categories/index.es.js +5 -4
  161. package/dist/categories/index.es.js.map +1 -0
  162. package/dist/common/components/DataRow.d.ts +1 -0
  163. package/dist/common/components/ListItemWrapper.d.ts +2 -1
  164. package/dist/common/constants/Analytics.d.ts +3 -0
  165. package/dist/common/index.es.js +310 -101
  166. package/dist/common/index.es.js.map +1 -0
  167. package/dist/core/index.es.js +105 -80
  168. package/dist/core/index.es.js.map +1 -0
  169. package/dist/core/stores/CashflowStore.d.ts +8 -7
  170. package/dist/core/stores/RecurringTransactionsStore.d.ts +53 -1
  171. package/dist/core/stores/TransactionStore.d.ts +1 -0
  172. package/dist/core/types/localization/RecurringCopy.d.ts +14 -1
  173. package/dist/core/types/localization/SpendingCopy.d.ts +1 -0
  174. package/dist/core/utils/AccountUtils.d.ts +8 -0
  175. package/dist/core/utils/DateUtil.d.ts +2 -0
  176. package/dist/core/utils/RecurringTransactionsUtil.d.ts +2 -1
  177. package/dist/dashboard/index.es.js +142 -185
  178. package/dist/dashboard/index.es.js.map +1 -0
  179. package/dist/debts/index.es.js +1273 -1384
  180. package/dist/debts/index.es.js.map +1 -0
  181. package/dist/finstrong/index.es.js +3473 -3367
  182. package/dist/finstrong/index.es.js.map +1 -0
  183. package/dist/goals/index.es.js +984 -1103
  184. package/dist/goals/index.es.js.map +1 -0
  185. package/dist/help/index.es.js +26 -3
  186. package/dist/help/index.es.js.map +1 -0
  187. package/dist/hooks-97sNJ_lf.mjs +78 -0
  188. package/dist/hooks-97sNJ_lf.mjs.map +1 -0
  189. package/dist/insights/components/insights/WeeklyNoSpendDays/BubbleWeek.d.ts +4 -1
  190. package/dist/insights/components/insights/WeeklyNoSpendDays/WeeklyNoSpendDays.d.ts +4 -2
  191. package/dist/insights/index.es.js +4871 -93
  192. package/dist/insights/index.es.js.map +1 -0
  193. package/dist/investments/index.es.js +1523 -1533
  194. package/dist/investments/index.es.js.map +1 -0
  195. package/dist/merchants/index.es.js +65 -75
  196. package/dist/merchants/index.es.js.map +1 -0
  197. package/dist/microinsights/index.es.js +826 -15
  198. package/dist/microinsights/index.es.js.map +1 -0
  199. package/dist/networth/index.es.js +504 -550
  200. package/dist/networth/index.es.js.map +1 -0
  201. package/dist/notifications/index.es.js +162 -169
  202. package/dist/notifications/index.es.js.map +1 -0
  203. package/dist/recurringtransactions/components/RecurringTransactionDetails.d.ts +3 -2
  204. package/dist/recurringtransactions/components/RecurringTransactionDetailsDrawer.d.ts +3 -0
  205. package/dist/recurringtransactions/components/RecurringTransactionList.d.ts +11 -0
  206. package/dist/recurringtransactions/components/UpcomingRecurrenceCard.d.ts +8 -0
  207. package/dist/recurringtransactions/components/actions/LinkTransactionDrawer.d.ts +10 -0
  208. package/dist/recurringtransactions/components/actions/MarkAsPaidDialog.d.ts +7 -0
  209. package/dist/recurringtransactions/components/actions/MarkAsUnpaidDialog.d.ts +7 -0
  210. package/dist/recurringtransactions/index.es.js +1012 -10
  211. package/dist/recurringtransactions/index.es.js.map +1 -0
  212. package/dist/settings/index.es.js +892 -13
  213. package/dist/settings/index.es.js.map +1 -0
  214. package/dist/spending/index.es.js +457 -400
  215. package/dist/spending/index.es.js.map +1 -0
  216. package/dist/transactions/components/shared/transactionlist/TransactionRow.d.ts +1 -0
  217. package/dist/transactions/index.es.js +604 -10
  218. package/dist/transactions/index.es.js.map +1 -0
  219. package/dist/trends/index.es.js +1408 -1268
  220. package/dist/trends/index.es.js.map +1 -0
  221. package/dist/useAccountDisplayName-BsiXA0qf.mjs +24 -0
  222. package/dist/useAccountDisplayName-BsiXA0qf.mjs.map +1 -0
  223. package/dist/useAriaLive-MkYebyUR.mjs +36 -0
  224. package/dist/useAriaLive-MkYebyUR.mjs.map +1 -0
  225. package/dist/useDimensions-CeDR9V8N.mjs +37 -0
  226. package/dist/useDimensions-CeDR9V8N.mjs.map +1 -0
  227. package/dist/useInsightsEnabled-D5Sdm0TJ.mjs +12 -0
  228. package/dist/useInsightsEnabled-D5Sdm0TJ.mjs.map +1 -0
  229. package/dist/useScreenSize-mWpmnh5w.mjs +37 -0
  230. package/dist/useScreenSize-mWpmnh5w.mjs.map +1 -0
  231. package/dist/useWidgetLoadTimer-B0tB-yzL.mjs +20 -0
  232. package/dist/useWidgetLoadTimer-B0tB-yzL.mjs.map +1 -0
  233. package/package.json +30 -30
  234. package/dist/Analytics-BKzTPees.mjs +0 -61
  235. package/dist/GlobalCopyApi-BeXzaDH9.mjs +0 -487
  236. package/dist/HeaderCell-EhCUSjvj.mjs +0 -10
  237. package/dist/Loader-BlVzRtUd.mjs +0 -73
  238. package/dist/MiniWidgetContainer-COwnjfy7.mjs +0 -110
  239. package/dist/OriginalBalanceAction-sbiqaxok.mjs +0 -110
  240. package/dist/SpendingLegend-D15ixlQ1.mjs +0 -222
  241. package/dist/accounts-DkyAiLpg.mjs +0 -15632
  242. package/dist/core-BexP5oiV.mjs +0 -4047
  243. package/dist/help-CctDYrAH.mjs +0 -2308
  244. package/dist/insights/components/insights/P2pCategorization/_tests_/P2pCategorizationMultipleTransaction.test.d.ts +0 -0
  245. package/dist/insights/components/insights/P2pCategorization/_tests_/P2pCategorizationSingleTransaction.test.d.ts +0 -0
  246. package/dist/microinsights-CRf3ChsJ.mjs +0 -1814
  247. package/dist/recurringtransactions-gbJ_NA8u.mjs +0 -1564
  248. package/dist/settings-ZMHe439l.mjs +0 -1526
@@ -1,103 +1,312 @@
1
- import { c as e, s } from "../GlobalCopyApi-BeXzaDH9.mjs";
2
- import { $ as t, F as o, J as n, Q as i, X as u, Y as l, Z as S } from "../core-BexP5oiV.mjs";
3
- import { $n as g, An as c, Bn as m, Cn as T, Dn as d, En as E, Fn as p, Gn as D, Hn as f, In as y, Jn as A, Kn as _, Ln as I, Mn as N, Nn as P, On as b, Pn as L, Qn as O, Rn as G, Sn as R, Tn as v, Vn as U, Xn as W, Yn as w, Zn as B, ar as h, br as x, cr as M, er as Y, fr as F, gr as H, hr as k, ir as z, jn as V, kn as Z, lr as j, mr as q, nr as J, or as K, pr as Q, qn as X, rr as $, sr as aa, tr as ea, ur as sa, vr as ra, wn as ta, xr as oa, yr as na, zn as ia } from "../accounts-DkyAiLpg.mjs";
4
- import { i as la, n as Sa, r as Ca, t as ga } from "../Analytics-BKzTPees.mjs";
5
- import { A as ma, C as Ta, D as da, E as Ea, M as pa, N as Da, O as fa, S as ya, T as Aa, _ as _a, a as Ia, b as Na, d as Pa, f as ba, g as La, h as Oa, i as Ga, j as Ra, k as va, l as Ua, m as Wa, n as wa, o as Ba, p as ha, s as xa, t as Ma, u as Ya, v as Fa, w as Ha, x as ka, y as za } from "../Loader-BlVzRtUd.mjs";
6
- import { t as Za } from "../MiniWidgetContainer-COwnjfy7.mjs";
1
+ import { l as Y } from "../UserStore-BjnNCO5a.mjs";
2
+ import { b as $, a as H } from "../Localization-DnoVyBNK.mjs";
3
+ import { f as j, b as V, a as K, c as Z, g as J, d as X } from "../NumberFormatting--XMeeBfr.mjs";
4
+ import { C as rr, a as er, b as or } from "../CurrencyDialog-DumQCTPO.mjs";
5
+ import { C as ar } from "../CurrencyInput-DaGEQaLW.mjs";
6
+ import { D as nr, S as ir } from "../Select-CSpkK5cR.mjs";
7
+ import { D as lr, W as mr, u as dr } from "../WidgetContainer-DJnp6t6c.mjs";
8
+ import { D as fr } from "../Dialog-Bvd2n8hz.mjs";
9
+ import { D as yr } from "../Donut-SzzfZDHF.mjs";
10
+ import { D as xr } from "../Drawer-DsnW2o0v.mjs";
11
+ import { E as hr } from "../ErrorBoundary-CsdOcnJ9.mjs";
12
+ import { I as Cr } from "../IconBacking-DgT8DCeh.mjs";
13
+ import { I as vr } from "../InformationTooltip-4su8bn1e.mjs";
14
+ import { L as br } from "../Loader-CxeBwuPG.mjs";
15
+ import { M as Dr } from "../MicroWidgetContainer-B2NnKBgW.mjs";
16
+ import { M as Ir } from "../MiniWidgetContainer-Bmv_WeUd.mjs";
17
+ import { jsxs as g, jsx as y } from "react/jsx-runtime";
18
+ import { css as C } from "@mxenabled/cssinjs";
19
+ import { D as _, a as v } from "../SingleSegmentDonut-7Uy6VEld.mjs";
20
+ import { S as Mr } from "../SingleSegmentDonut-7Uy6VEld.mjs";
21
+ import { R as wr } from "../ResponsiveButton-CC9F_Ezk.mjs";
22
+ import { S as Lr } from "../SelectionBox-B4xELRgp.mjs";
23
+ import { S as Ur } from "../StatusBar-CPfSXe80.mjs";
24
+ import { I as Br, P as Rr, S as qr, T as Yr } from "../TabContentContainer-B0eYJP5p.mjs";
25
+ import { A as $r } from "../Analytics-WeZYytR0.mjs";
26
+ import { C as Qr } from "../ConnectCard-D7uxoH5Y.mjs";
27
+ import { C as Vr } from "../ConnectDrawer-CW4LA3H3.mjs";
28
+ import { C as Zr } from "../CurrencyText-CCbE6MmF.mjs";
29
+ import { E as Xr } from "../EmptyState-CJUDc3kD.mjs";
30
+ import { E as re } from "../Error-Dtw6yxkf.mjs";
31
+ import { G as oe } from "../GlobalAccountFilter-BhzR5Vb1.mjs";
32
+ import { G as ae, m as se, n as ne, W as ie, c as ue, i as le, o as me, p as de, l as ce, q as fe, r as pe, f as ye, s as ge, u as xe, e as Ee, a as he, k as Se, t as Ce, v as _e, w as ve, b as ke, x as be, y as Oe, z as De, h as Te, A as Ie, g as Ae, B as Me, C as Pe, D as we } from "../hooks-97sNJ_lf.mjs";
33
+ import { L as Le } from "../ListItemAction-BqUCLj_w.mjs";
34
+ import { L as Ue } from "../ListItemRow-kH1rn8Xu.mjs";
35
+ import { L as Be } from "../ListItemWrapper-DRse79Iu.mjs";
36
+ import { S as qe } from "../SearchBox-Cpgu_gdO.mjs";
37
+ import { S as Fe, T as $e } from "../Sizes-DISGrlUg.mjs";
38
+ import { T as Qe, a as je } from "../ToggleListItem-Dl1lXNwj.mjs";
39
+ import { a as Ke, u as Ze, b as Je } from "../Analytics-CkYXKvco.mjs";
40
+ import { alpha as k, darken as x, lighten as E } from "@mui/material";
41
+ import { u as ze } from "../useAccountDisplayName-BsiXA0qf.mjs";
42
+ import { u as eo } from "../useInsightsEnabled-D5Sdm0TJ.mjs";
43
+ import { useRef as b, useEffect as O } from "react";
44
+ import { u as to } from "../useScreenSize-mWpmnh5w.mjs";
45
+ import { u as so } from "../useWidgetLoadTimer-B0tB-yzL.mjs";
46
+ var i = /* @__PURE__ */ ((r) => (r[r.Unknown = 0] = "Unknown", r[r.EveryWeek = 1] = "EveryWeek", r[r.EveryOtherWeek = 2] = "EveryOtherWeek", r[r.EveryMonth = 3] = "EveryMonth", r[r.EveryOtherMonth = 4] = "EveryOtherMonth", r[r.EveryQuarter = 5] = "EveryQuarter", r[r.EveryOtherQuarter = 6] = "EveryOtherQuarter", r[r.EveryYear = 7] = "EveryYear", r))(i || {});
47
+ const N = (r) => {
48
+ const o = b(null);
49
+ return O(() => {
50
+ o.current = r;
51
+ }, [r]), o.current;
52
+ }, L = [
53
+ { id: i.Unknown, copy: "frequency_unknown" },
54
+ { id: i.EveryWeek, copy: "frequency_every_week" },
55
+ { id: i.EveryOtherWeek, copy: "frequency_every_other_week" },
56
+ { id: i.EveryMonth, copy: "frequency_every_month" },
57
+ { id: i.EveryOtherMonth, copy: "frequency_every_other_month" },
58
+ { id: i.EveryQuarter, copy: "frequency_every_quarter" },
59
+ { id: i.EveryOtherQuarter, copy: "frequency_every_other_quarter" },
60
+ { id: i.EveryYear, copy: "frequency_every_year" }
61
+ ], W = {
62
+ ERROR: "ERROR",
63
+ LOADING: "LOADING",
64
+ SUCCESS: "SUCCESS"
65
+ }, U = ({
66
+ hasGap: r = !1,
67
+ segments: o,
68
+ size: n = _,
69
+ strokeWidth: u = v,
70
+ children: m
71
+ }) => {
72
+ const d = D(n), t = (n - u) / 2, a = n / 2;
73
+ let c = -90 - (r ? 1 : 0), s = 0;
74
+ return /* @__PURE__ */ g("div", { className: `mx-cmn-multi-segment-donut ${d}`, children: [
75
+ /* @__PURE__ */ g("svg", { height: n, width: n, children: [
76
+ /* @__PURE__ */ y(
77
+ "circle",
78
+ {
79
+ cx: a,
80
+ cy: a,
81
+ fill: "none",
82
+ r: t,
83
+ stroke: "#E4E8EE",
84
+ strokeWidth: u
85
+ }
86
+ ),
87
+ o.map((l, f) => (c += 360 * s + (r ? 1 : 0), s = (l.percent - (r ? 0.3 : 0)) / 100, /* @__PURE__ */ y(
88
+ "circle",
89
+ {
90
+ cx: a,
91
+ cy: a,
92
+ fill: "none",
93
+ r: t,
94
+ stroke: l.color,
95
+ strokeDasharray: 2 * Math.PI * t,
96
+ strokeDashoffset: 2 * Math.PI * t * (1 - s),
97
+ strokeWidth: u,
98
+ transform: `rotate(${c}, ${a}, ${a})`
99
+ },
100
+ f
101
+ )))
102
+ ] }),
103
+ /* @__PURE__ */ y("div", { className: "mx-cmn-multi-segment-donut-children", children: m })
104
+ ] });
105
+ }, D = (r) => C({
106
+ height: r,
107
+ marginTop: "-8px",
108
+ position: "relative",
109
+ width: r,
110
+ "& .mx-cmn-multi-segment-donut-children": {
111
+ left: "50%",
112
+ position: "absolute",
113
+ textAlign: "center",
114
+ top: "50%",
115
+ transform: "translate(-50%, -50%)"
116
+ }
117
+ }), T = [
118
+ "fontFamily",
119
+ "h1",
120
+ "h2",
121
+ "h3",
122
+ "body1",
123
+ "body2",
124
+ "button",
125
+ "caption",
126
+ "subtitle1",
127
+ "subtitle2",
128
+ "tiny"
129
+ ], h = [
130
+ { key: "primary", light: "primary_color", dark: "primary_color_dark" },
131
+ { key: "secondary", light: "neutral_color", dark: "neutral_color_dark" },
132
+ { key: "error", light: "error_color", dark: "error_color_dark" },
133
+ { key: "warning", light: "warning_color", dark: "warning_color_dark" },
134
+ { key: "info", light: "info_color", dark: "info_color_dark" },
135
+ { key: "success", light: "success_color", dark: "success_color_dark" }
136
+ ], G = (r, o) => {
137
+ const n = o === "dark", u = {};
138
+ for (const { key: m, light: d, dark: t } of h) {
139
+ const a = r?.[n ? t : d];
140
+ a && (u[m] = a);
141
+ }
142
+ return u;
143
+ }, B = (r, o, n) => {
144
+ const u = r.palette.mode === "dark", m = (n?.master?.style?.font_name || o?.system_font) ?? r.typography.fontFamily, d = (e, p) => e ? {
145
+ lighter: E(e, 0.5),
146
+ light: E(e, 0.25),
147
+ main: e,
148
+ dark: x(e, 0.25),
149
+ darker: x(e, 0.5)
150
+ } : p, t = Object.fromEntries(
151
+ h.map(({ key: e, light: p, dark: S }) => [
152
+ e,
153
+ d(
154
+ o?.[u ? S : p],
155
+ r.palette[e]
156
+ )
157
+ ])
158
+ ), a = Object.fromEntries(
159
+ T.map((e) => [
160
+ e,
161
+ e === "fontFamily" ? m : { fontFamily: m }
162
+ ])
163
+ ), c = {
164
+ MuiTabs: {
165
+ styleOverrides: {
166
+ indicator: { backgroundColor: t.primary.light }
167
+ }
168
+ },
169
+ MuiPickersCalendarHeader: {
170
+ styleOverrides: {
171
+ switchViewButton: {
172
+ color: t.primary.lighter,
173
+ "&:hover": { backgroundColor: k(t.primary.light, 0.1) }
174
+ }
175
+ }
176
+ }
177
+ }, s = o?.button_corner_radius, l = o?.card_corner_radius, f = {
178
+ ...c,
179
+ ...s && {
180
+ MuiButton: {
181
+ styleOverrides: {
182
+ root: { borderRadius: `${s}px`, textTransform: "none" }
183
+ }
184
+ },
185
+ MuiIconButton: {
186
+ styleOverrides: {
187
+ root: {
188
+ borderRadius: `${s}px`,
189
+ minWidth: s,
190
+ minHeight: s
191
+ }
192
+ }
193
+ },
194
+ MuiToggleButton: {
195
+ styleOverrides: {
196
+ root: { borderRadius: `${s}px`, textTransform: "none" }
197
+ }
198
+ }
199
+ },
200
+ ...l && {
201
+ MuiCard: {
202
+ styleOverrides: { root: { borderRadius: `${l}px` } }
203
+ }
204
+ },
205
+ ...l && {
206
+ MuiPaper: {
207
+ styleOverrides: {
208
+ rounded: { borderRadius: `${l}px` }
209
+ }
210
+ }
211
+ }
212
+ };
213
+ return { typography: a, palette: t, components: f };
214
+ };
7
215
  export {
8
- aa as ANALYTICS_EVENTS,
9
- x as Calendar,
10
- oa as CalendarSelectionTypes,
11
- N as ConnectCard,
12
- f as ConnectDrawer,
13
- U as CurrencyDialog,
14
- m as CurrencyInput,
15
- V as CurrencyText,
16
- Y as DEFAULT_DONUT_SIZE,
17
- ea as DEFAULT_STROKE_WIDTH,
18
- L as DataRow,
19
- M as DateRangeSelector,
20
- sa as Dialog,
21
- ra as Donut,
22
- j as Drawer,
23
- c as EmptyState,
24
- A as Error,
25
- w as ErrorBoundary,
26
- _ as GlobalAccountFilter,
27
- pa as GlobalDataContext,
28
- Da as GlobalDataProvider,
29
- o as GlobalStore,
30
- z as INCOME_ACCOUNT_TYPES,
31
- p as IconBacking,
32
- P as InformationTooltip,
33
- J as LOADING_STATUS,
34
- Z as ListItemAction,
35
- b as ListItemRow,
36
- d as ListItemWrapper,
37
- Ma as Loader,
38
- X as MicroWidgetContainer,
39
- Za as MiniWidgetContainer,
40
- B as MultiSegmentDonut,
41
- h as PAYMENT_ACCOUNT_TYPES,
42
- $ as RECURRENCE_COPY,
43
- ia as ResponsiveButton,
44
- K as SPENDING_ACCOUNT_TYPES,
45
- G as SearchBox,
46
- E as Select,
47
- I as SelectionBox,
48
- W as SingleSegmentDonut,
49
- O as Sizes,
50
- na as StatusBar,
51
- g as TOUCH_TARGET,
52
- y as TabContentContainer,
53
- v as ToggleButtonListItem,
54
- ta as ToggleListItem,
55
- D as WidgetContainer,
56
- ma as WidgetContainerContext,
57
- Ra as WidgetContainerProvider,
58
- ga as analyticsSession,
59
- s as buildDynamicCopy,
60
- e as buildPluralCopy,
61
- n as formatCurrency,
62
- l as formatOrdinal,
63
- u as formatPercentage,
64
- S as generateEqualIntervals,
65
- R as getClientPaletteOptions,
66
- T as getClientTheme,
67
- i as getCurrencyCodes,
68
- t as getPluralRules,
69
- H as useAccountDisplayName,
70
- wa as useAccountStore,
71
- Ga as useAppConfig,
72
- Ia as useBudgetsStore,
73
- Ba as useCashflowStore,
74
- xa as useCategoryStore,
75
- Ca as useCombineEvents,
76
- la as useCombinePageviews,
77
- Ua as useDebtStore,
78
- Ya as useError,
79
- Pa as useEvent,
80
- ba as useFinstrongStore,
81
- ha as useGlobalCopyStore,
82
- Wa as useGlobalStore,
83
- Oa as useGlobalUiStore,
84
- La as useGoalStore,
85
- _a as useHelpStore,
86
- Fa as useHoldingStore,
87
- k as useInsightsEnabled,
88
- za as useLoad,
89
- Na as useMerchantStore,
90
- ka as useNetWorthStore,
91
- ya as useNotificationStore,
92
- Ta as usePageView,
93
- Q as usePrevious,
94
- Ha as useRecurringTransactionsStore,
95
- q as useScreenSize,
96
- Aa as useSettingsStore,
97
- Ea as useTransactionStore,
98
- da as useTrendsStore,
99
- fa as useUserStore,
100
- va as useWidgetContainerProvider,
101
- F as useWidgetHeaderStyles,
102
- Sa as useWidgetLoadTimer
216
+ $r as ANALYTICS_EVENTS,
217
+ rr as Calendar,
218
+ er as CalendarSelectionTypes,
219
+ Qr as ConnectCard,
220
+ Vr as ConnectDrawer,
221
+ or as CurrencyDialog,
222
+ ar as CurrencyInput,
223
+ Zr as CurrencyText,
224
+ _ as DEFAULT_DONUT_SIZE,
225
+ v as DEFAULT_STROKE_WIDTH,
226
+ nr as DataRow,
227
+ lr as DateRangeSelector,
228
+ fr as Dialog,
229
+ yr as Donut,
230
+ xr as Drawer,
231
+ Xr as EmptyState,
232
+ re as Error,
233
+ hr as ErrorBoundary,
234
+ oe as GlobalAccountFilter,
235
+ ae as GlobalDataContext,
236
+ se as GlobalDataProvider,
237
+ Y as GlobalStore,
238
+ Br as INCOME_ACCOUNT_TYPES,
239
+ Cr as IconBacking,
240
+ vr as InformationTooltip,
241
+ W as LOADING_STATUS,
242
+ Le as ListItemAction,
243
+ Ue as ListItemRow,
244
+ Be as ListItemWrapper,
245
+ br as Loader,
246
+ Dr as MicroWidgetContainer,
247
+ Ir as MiniWidgetContainer,
248
+ U as MultiSegmentDonut,
249
+ Rr as PAYMENT_ACCOUNT_TYPES,
250
+ L as RECURRENCE_COPY,
251
+ wr as ResponsiveButton,
252
+ qr as SPENDING_ACCOUNT_TYPES,
253
+ qe as SearchBox,
254
+ ir as Select,
255
+ Lr as SelectionBox,
256
+ Mr as SingleSegmentDonut,
257
+ Fe as Sizes,
258
+ Ur as StatusBar,
259
+ $e as TOUCH_TARGET,
260
+ Yr as TabContentContainer,
261
+ Qe as ToggleButtonListItem,
262
+ je as ToggleListItem,
263
+ mr as WidgetContainer,
264
+ ne as WidgetContainerContext,
265
+ ie as WidgetContainerProvider,
266
+ Ke as analyticsSession,
267
+ $ as buildDynamicCopy,
268
+ H as buildPluralCopy,
269
+ j as formatCurrency,
270
+ V as formatOrdinal,
271
+ K as formatPercentage,
272
+ Z as generateEqualIntervals,
273
+ G as getClientPaletteOptions,
274
+ B as getClientTheme,
275
+ J as getCurrencyCodes,
276
+ X as getPluralRules,
277
+ ze as useAccountDisplayName,
278
+ ue as useAccountStore,
279
+ le as useAppConfig,
280
+ me as useBudgetsStore,
281
+ de as useCashflowStore,
282
+ ce as useCategoryStore,
283
+ Ze as useCombineEvents,
284
+ Je as useCombinePageviews,
285
+ fe as useDebtStore,
286
+ pe as useError,
287
+ ye as useEvent,
288
+ ge as useFinstrongStore,
289
+ xe as useGlobalCopyStore,
290
+ Ee as useGlobalStore,
291
+ he as useGlobalUiStore,
292
+ Se as useGoalStore,
293
+ Ce as useHelpStore,
294
+ _e as useHoldingStore,
295
+ eo as useInsightsEnabled,
296
+ ve as useLoad,
297
+ ke as useMerchantStore,
298
+ be as useNetWorthStore,
299
+ Oe as useNotificationStore,
300
+ De as usePageView,
301
+ N as usePrevious,
302
+ Te as useRecurringTransactionsStore,
303
+ to as useScreenSize,
304
+ Ie as useSettingsStore,
305
+ Ae as useTransactionStore,
306
+ Me as useTrendsStore,
307
+ Pe as useUserStore,
308
+ we as useWidgetContainerProvider,
309
+ dr as useWidgetHeaderStyles,
310
+ so as useWidgetLoadTimer
103
311
  };
312
+ //# sourceMappingURL=index.es.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.es.js","sources":["../../src/core/constants/repeatingTransactions.ts","../../src/common/hooks/usePrevious.tsx","../../src/common/constants/ScheduledPayment.ts","../../src/common/constants/SpendingPlan.ts","../../src/common/components/donuts/MultiSegmentDonut.tsx","../../src/common/utils/Theme.ts"],"sourcesContent":["export enum RecurrenceTypes {\n Unknown = 0,\n EveryWeek = 1,\n EveryOtherWeek = 2,\n EveryMonth = 3,\n EveryOtherMonth = 4,\n EveryQuarter = 5,\n EveryOtherQuarter = 6,\n EveryYear = 7,\n}\n","import { useEffect, useRef } from 'react'\n\nexport const usePrevious = (value: any) => {\n const ref = useRef(null)\n useEffect(() => {\n ref.current = value\n }, [value])\n return ref.current\n}\nexport default usePrevious\n","import { RecurrenceTypes } from '../../core/constants'\n\nexport const RECURRENCE_COPY = [\n { id: RecurrenceTypes.Unknown, copy: 'frequency_unknown' },\n { id: RecurrenceTypes.EveryWeek, copy: 'frequency_every_week' },\n { id: RecurrenceTypes.EveryOtherWeek, copy: 'frequency_every_other_week' },\n { id: RecurrenceTypes.EveryMonth, copy: 'frequency_every_month' },\n { id: RecurrenceTypes.EveryOtherMonth, copy: 'frequency_every_other_month' },\n { id: RecurrenceTypes.EveryQuarter, copy: 'frequency_every_quarter' },\n { id: RecurrenceTypes.EveryOtherQuarter, copy: 'frequency_every_other_quarter' },\n { id: RecurrenceTypes.EveryYear, copy: 'frequency_every_year' },\n]\n","export const LOADING_STATUS = {\n ERROR: 'ERROR',\n LOADING: 'LOADING',\n SUCCESS: 'SUCCESS',\n}\n","import React from 'react'\nimport { css } from '@mxenabled/cssinjs'\n\nimport { DEFAULT_DONUT_SIZE, DEFAULT_STROKE_WIDTH } from '../../constants'\n\nexport interface Segment {\n percent: number\n color: string\n}\n\nexport interface MultiSegmentDonutProps {\n children: React.ReactNode\n hasGap?: boolean\n segments: Segment[]\n size?: number\n strokeWidth?: number\n}\n\nconst MultiSegmentDonut: React.FC<MultiSegmentDonutProps> = ({\n hasGap = false,\n segments,\n size = DEFAULT_DONUT_SIZE,\n strokeWidth = DEFAULT_STROKE_WIDTH,\n children,\n}) => {\n const styles = getStyles(size)\n\n const radius = (size - strokeWidth) / 2\n const halfSize = size / 2\n\n let offset = -90 - (hasGap ? 1 : 0)\n\n let length = 0\n\n return (\n <div className={`mx-cmn-multi-segment-donut ${styles}`}>\n <svg height={size} width={size}>\n <circle\n cx={halfSize}\n cy={halfSize}\n fill=\"none\"\n r={radius}\n stroke=\"#E4E8EE\"\n strokeWidth={strokeWidth}\n />\n {segments.map((segment, index) => {\n offset += 360 * length + (hasGap ? 1 : 0)\n length = (segment.percent - (hasGap ? 0.3 : 0)) / 100\n\n return (\n <circle\n cx={halfSize}\n cy={halfSize}\n fill=\"none\"\n key={index}\n r={radius}\n stroke={segment.color}\n strokeDasharray={2 * Math.PI * radius}\n strokeDashoffset={2 * Math.PI * radius * (1 - length)}\n strokeWidth={strokeWidth}\n transform={`rotate(${offset}, ${halfSize}, ${halfSize})`}\n />\n )\n })}\n </svg>\n <div className=\"mx-cmn-multi-segment-donut-children\">{children}</div>\n </div>\n )\n}\n\nconst getStyles = (size: number) =>\n css({\n height: size,\n marginTop: `-8px`,\n position: 'relative',\n width: size,\n '& .mx-cmn-multi-segment-donut-children': {\n left: '50%',\n position: 'absolute',\n textAlign: 'center',\n top: '50%',\n transform: 'translate(-50%, -50%)',\n },\n })\n\nexport default MultiSegmentDonut\n","import { alpha, darken, lighten, PaletteColor, PaletteMode, Theme } from '@mui/material'\n\nimport type { ClientStyleProfile } from '../../core'\nimport { ClientConfig } from '../../core/types/AppData'\n\nconst TYPOGRAPHY_VARIANTS = [\n 'fontFamily',\n 'h1',\n 'h2',\n 'h3',\n 'body1',\n 'body2',\n 'button',\n 'caption',\n 'subtitle1',\n 'subtitle2',\n 'tiny',\n] as const\n\nconst PALETTE_CONFIG = [\n { key: 'primary', light: 'primary_color', dark: 'primary_color_dark' },\n { key: 'secondary', light: 'neutral_color', dark: 'neutral_color_dark' },\n { key: 'error', light: 'error_color', dark: 'error_color_dark' },\n { key: 'warning', light: 'warning_color', dark: 'warning_color_dark' },\n { key: 'info', light: 'info_color', dark: 'info_color_dark' },\n { key: 'success', light: 'success_color', dark: 'success_color_dark' },\n] as const\n\nexport const getClientPaletteOptions = (\n clientStyleProfile: ClientStyleProfile,\n mode: PaletteMode,\n): Record<string, string> => {\n const isDark = mode === 'dark'\n const options: Record<string, string> = {}\n\n for (const { key, light, dark } of PALETTE_CONFIG) {\n const color = clientStyleProfile?.[isDark ? dark : light] as string | undefined\n if (color) options[key] = color\n }\n\n return options\n}\n\nexport const getClientTheme = (\n theme: Theme,\n clientStyleProfile: ClientStyleProfile,\n clientConfig?: ClientConfig,\n) => {\n const isDark = theme.palette.mode === 'dark'\n const font =\n (clientConfig?.master?.style?.font_name || clientStyleProfile?.system_font) ??\n theme.typography.fontFamily\n\n const generatePalette = (color: string | undefined, defaultColor: PaletteColor) =>\n color\n ? {\n lighter: lighten(color, 0.5),\n light: lighten(color, 0.25),\n main: color,\n dark: darken(color, 0.25),\n darker: darken(color, 0.5),\n }\n : defaultColor\n\n const palette = Object.fromEntries(\n PALETTE_CONFIG.map(({ key, light, dark }) => [\n key,\n generatePalette(\n clientStyleProfile?.[isDark ? dark : light] as string | undefined,\n theme.palette[key],\n ),\n ]),\n )\n\n const typography = Object.fromEntries(\n TYPOGRAPHY_VARIANTS.map((variant) => [\n variant,\n variant === 'fontFamily' ? font : { fontFamily: font },\n ]),\n )\n\n const baseComponents = {\n MuiTabs: {\n styleOverrides: {\n indicator: { backgroundColor: palette.primary.light },\n },\n },\n MuiPickersCalendarHeader: {\n styleOverrides: {\n switchViewButton: {\n color: palette.primary.lighter,\n '&:hover': { backgroundColor: alpha(palette.primary.light, 0.1) },\n },\n },\n },\n }\n\n const buttonRadius = clientStyleProfile?.button_corner_radius\n const cardRadius = clientStyleProfile?.card_corner_radius\n\n const components = {\n ...baseComponents,\n ...(buttonRadius && {\n MuiButton: {\n styleOverrides: {\n root: { borderRadius: `${buttonRadius}px`, textTransform: 'none' },\n },\n },\n MuiIconButton: {\n styleOverrides: {\n root: {\n borderRadius: `${buttonRadius}px`,\n minWidth: buttonRadius,\n minHeight: buttonRadius,\n },\n },\n },\n MuiToggleButton: {\n styleOverrides: {\n root: { borderRadius: `${buttonRadius}px`, textTransform: 'none' },\n },\n },\n }),\n ...(cardRadius && {\n MuiCard: {\n styleOverrides: { root: { borderRadius: `${cardRadius}px` } },\n },\n }),\n ...(cardRadius && {\n MuiPaper: {\n styleOverrides: {\n rounded: { borderRadius: `${cardRadius}px` },\n },\n },\n }),\n }\n\n return { typography, palette, components }\n}\n"],"names":["RecurrenceTypes","usePrevious","value","ref","useRef","useEffect","RECURRENCE_COPY","LOADING_STATUS","MultiSegmentDonut","hasGap","segments","size","DEFAULT_DONUT_SIZE","strokeWidth","DEFAULT_STROKE_WIDTH","children","styles","getStyles","radius","halfSize","offset","length","jsxs","jsx","segment","index","css","TYPOGRAPHY_VARIANTS","PALETTE_CONFIG","getClientPaletteOptions","clientStyleProfile","mode","isDark","options","key","light","dark","color","getClientTheme","theme","clientConfig","font","generatePalette","defaultColor","lighten","darken","palette","typography","variant","baseComponents","alpha","buttonRadius","cardRadius","components"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAO,IAAKA,sBAAAA,OACVA,EAAAA,EAAA,UAAU,CAAA,IAAV,WACAA,EAAAA,EAAA,YAAY,CAAA,IAAZ,aACAA,EAAAA,EA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A,IAEF,GAAIA,KAAc;AAAA,MAChB,UAAU;AAAA,QACR,gBAAgB;AAAA,UACd,SAAS,EAAE,cAAc,GAAGA,CAAU,KAAA;AAAA,QAAK;AAAA,MAC7C;AAAA,IACF;AAAA,EACF;AAGF,SAAO,EAAE,YAAAL,GAAY,SAAAD,GAAS,YAAAO,EAAA;AAChC;"}
@@ -1,84 +1,109 @@
1
- import { a, i as s, l as e, n as o, o as n, r as i, s as r, t as c } from "../GlobalCopyApi-BeXzaDH9.mjs";
2
- import { $t as S, At as A, Bt as u, C as y, Ct as T, Dt as l, E as g, Et as C, F as d, Ft as N, G as m, Gt as f, H as b, I as h, It as G, Jt as L, Kt as B, L as E, Lt as P, Mt as D, N as F, Nt as I, Ot as R, P as U, Pt as H, Qt as M, Rt as V, S as W, St as k, Tt as x, U as O, Ut as _, Vt as q, W as w, Wt as z, Xt as j, Yt as v, Zt as J, _ as K, _t as Q, an as X, at as Y, b as Z, bt as $, cn as tt, en as at, gt as st, ht as et, in as ot, it as nt, jt as it, k as rt, kt as ct, l as pt, mt as St, n as At, nn as ut, o as yt, on as Tt, ot as lt, qt as gt, rn as Ct, sn as dt, st as Nt, t as mt, tn as ft, u as bt, vt as ht, wt as Gt, xt as Lt, yt as Bt, zt as Et } from "../core-BexP5oiV.mjs";
1
+ import { A as g, a as m, b as C, c as N, d as h, B as f, e as E, f as D, g as b, C as I, h as M, i as R, j as B, D as L, F as G, k as _, G as H, l as P, m as U, n as x, o as O, H as F, p as k, q as v, r as w, M as W, s as Y, N as $, t as q, u as K, R as j, v as z, S as J, w as Q, T as X, x as Z, y as V, U as tt, z as at, W as st } from "../UserStore-BjnNCO5a.mjs";
2
+ import { b as ot, a as nt, d as rt, c as it, A as ct, C as pt, e as At, E as St, M as ut, N as lt, P as Tt, f as yt, g as dt, S as gt } from "../Account-DR7Plrqy.mjs";
3
+ import { A as Ct, B as Nt, I as ht, N as ft } from "../Notification-DTNYSd8P.mjs";
4
+ import { F as n } from "../GlobalCopyApi-wcnDUzMV.mjs";
5
+ import { A as Dt, B as bt, G as It } from "../GlobalCopyApi-wcnDUzMV.mjs";
6
+ import { F as Rt, a as Bt, b as Lt, R as Gt } from "../RecurringTransactionsUtil-CHWmqvW5.mjs";
7
+ import { G as Ht, M as Pt, T as Ut } from "../GoalsUtil-C9EnLWvC.mjs";
8
+ import { L as Ot, V as Ft, b as kt, g as vt } from "../Localization-DnoVyBNK.mjs";
9
+ import { A as e } from "../ApiEndpoints-DXwIYNUV.mjs";
10
+ import { T as r } from "../TransactionUtils-BphBJBbU.mjs";
11
+ import { b as Wt } from "../TransactionUtils-BphBJBbU.mjs";
12
+ class T {
13
+ fetchInstance;
14
+ constructor(a, s, o) {
15
+ this.fetchInstance = new n(a, s, void 0, o);
16
+ }
17
+ addScheduledPayment = async (a) => this.fetchInstance.post(e.SCHEDULED_PAYMENTS, {
18
+ ...a,
19
+ is_recurring: "true",
20
+ transaction_type: r.DEBIT
21
+ }).then((s) => s.scheduled_payment);
22
+ getScheduledPayments = async () => this.fetchInstance.get(e.SCHEDULED_PAYMENTS).then((a) => a.scheduled_payments);
23
+ updateScheduledPayment = async (a) => this.fetchInstance.put(`${e.SCHEDULED_PAYMENTS}/${a.guid}`, a).then((s) => s.scheduled_payment);
24
+ deleteScheduledPayment = async (a) => this.fetchInstance.delete(`${e.SCHEDULED_PAYMENTS}/${a}`).then((s) => s);
25
+ }
26
+ var i = /* @__PURE__ */ ((t) => (t[t.UNKNOWN = 0] = "UNKNOWN", t[t.CORRECT = 1] = "CORRECT", t[t.INCORRECT = 2] = "INCORRECT", t))(i || {}), c = /* @__PURE__ */ ((t) => (t.Missed = "Missed", t.Paid = "Paid", t.Upcoming = "Upcoming expense", t.Income = "Income", t))(c || {}), p = /* @__PURE__ */ ((t) => (t[t.Unknown = 0] = "Unknown", t[t.Subscription = 1] = "Subscription", t[t.Bill = 2] = "Bill", t))(p || {}), A = /* @__PURE__ */ ((t) => (t.Desktop = "Desktop", t.Mobile = "Mobile", t))(A || {});
3
27
  export {
4
- tt as AccountApi,
5
- it as AccountIcon,
6
- D as AccountIconVariants,
7
- Lt as AccountNotificationTypes,
8
- Nt as AccountStore,
9
- I as AccountSubType,
10
- H as AccountType,
11
- N as AccountTypeName,
12
- i as AnalyticsApi,
13
- Y as AnalyticsStore,
14
- dt as AppDataApi,
15
- lt as AppDataStore,
16
- Tt as BannerApi,
17
- o as BeatApi,
18
- nt as BeatStore,
19
- k as BudgetNotificationTypes,
20
- X as BudgetsApi,
21
- m as BudgetsStore,
22
- w as CashflowStore,
23
- ot as CategoryApi,
24
- O as CategoryStore,
25
- b as ConnectStore,
26
- G as ConnectionStatus,
27
- P as ConnectionStatusEnums,
28
- E as DebtsStore,
29
- V as ErrorStatuses,
30
- R as ExpenseStatus,
31
- s as Fetch,
32
- Ct as FinstrongApi,
33
- h as FinstrongStore,
34
- St as Frequency,
35
- c as GlobalCopyApi,
36
- F as GlobalCopyStore,
37
- d as GlobalStore,
28
+ g as AccountApi,
29
+ ot as AccountIcon,
30
+ nt as AccountIconVariants,
31
+ Ct as AccountNotificationTypes,
32
+ m as AccountStore,
33
+ rt as AccountSubType,
34
+ it as AccountType,
35
+ ct as AccountTypeName,
36
+ Dt as AnalyticsApi,
37
+ C as AnalyticsStore,
38
+ N as AppDataApi,
39
+ h as AppDataStore,
40
+ f as BannerApi,
41
+ bt as BeatApi,
42
+ E as BeatStore,
43
+ Nt as BudgetNotificationTypes,
44
+ D as BudgetsApi,
45
+ b as BudgetsStore,
46
+ I as CashflowStore,
47
+ M as CategoryApi,
48
+ R as CategoryStore,
49
+ B as ConnectStore,
50
+ pt as ConnectionStatus,
51
+ At as ConnectionStatusEnums,
52
+ L as DebtsStore,
53
+ St as ErrorStatuses,
54
+ c as ExpenseStatus,
55
+ n as Fetch,
56
+ G as FinstrongApi,
57
+ _ as FinstrongStore,
58
+ Rt as Frequency,
59
+ It as GlobalCopyApi,
60
+ H as GlobalCopyStore,
61
+ P as GlobalStore,
38
62
  U as GlobalUiStore,
39
- ut as GoalApi,
40
- rt as GoalStore,
41
- x as GoalType,
42
- ft as HelpApi,
43
- g as HelpStore,
44
- at as HoldingApi,
45
- y as HoldingStore,
46
- T as InsightNotificationTypes,
47
- a as LOCALES,
48
- S as MerchantApi,
49
- W as MerchantStore,
50
- C as MetaType,
51
- Et as MfaStatuses,
52
- Z as NetWorthStore,
53
- u as NonConnectedStatuses,
54
- M as NotificationApi,
63
+ x as GoalApi,
64
+ O as GoalStore,
65
+ Ht as GoalType,
66
+ F as HelpApi,
67
+ k as HelpStore,
68
+ v as HoldingApi,
69
+ w as HoldingStore,
70
+ ht as InsightNotificationTypes,
71
+ Ot as LOCALES,
72
+ W as MerchantApi,
73
+ Y as MerchantStore,
74
+ Pt as MetaType,
75
+ ut as MfaStatuses,
76
+ $ as NetWorthStore,
77
+ lt as NonConnectedStatuses,
78
+ q as NotificationApi,
55
79
  K as NotificationStore,
56
- Gt as NotificationTypes,
57
- q as ProcessingStatuses,
58
- _ as PropertyType,
59
- z as PropertyTypeName,
60
- et as RecurrenceStatus,
61
- st as RecurrenceType,
62
- bt as RecurringTransactionsStore,
63
- J as RepeatingTransactionsApi,
64
- Q as RepeatingType,
65
- ct as ScheduledPaymentTypes,
66
- j as ScheduledPaymentsApi,
67
- ht as ScreenSize,
68
- v as SettingsApi,
69
- pt as SettingsStore,
70
- f as StatusName,
71
- l as TrackType,
72
- L as TransactionApi,
73
- Bt as TransactionStatus,
74
- yt as TransactionStore,
75
- $ as TransactionType,
76
- At as TrendsStore,
77
- gt as UserApi,
78
- mt as UserStore,
79
- A as UserVerification,
80
- n as VALID_LOCALES,
81
- B as WidgetApi,
82
- r as buildDynamicCopy,
83
- e as getLocale
80
+ ft as NotificationTypes,
81
+ Tt as ProcessingStatuses,
82
+ yt as PropertyType,
83
+ dt as PropertyTypeName,
84
+ Bt as RecurrenceStatus,
85
+ Lt as RecurrenceType,
86
+ j as RecurringTransactionsStore,
87
+ z as RepeatingTransactionsApi,
88
+ Gt as RepeatingType,
89
+ p as ScheduledPaymentTypes,
90
+ T as ScheduledPaymentsApi,
91
+ A as ScreenSize,
92
+ J as SettingsApi,
93
+ Q as SettingsStore,
94
+ gt as StatusName,
95
+ Ut as TrackType,
96
+ X as TransactionApi,
97
+ Wt as TransactionStatus,
98
+ Z as TransactionStore,
99
+ r as TransactionType,
100
+ V as TrendsStore,
101
+ tt as UserApi,
102
+ at as UserStore,
103
+ i as UserVerification,
104
+ Ft as VALID_LOCALES,
105
+ st as WidgetApi,
106
+ kt as buildDynamicCopy,
107
+ vt as getLocale
84
108
  };
109
+ //# sourceMappingURL=index.es.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.es.js","sources":["../../src/core/api/ScheduledPaymentsApi.ts","../../src/core/types/Beat.ts","../../src/core/types/Expense.ts","../../src/core/types/ScreenSize.tsx"],"sourcesContent":["import { Fetch } from '../utils'\nimport { ApiEndpoints } from '../constants'\nimport { TransactionType } from '..'\nimport type { ScheduledPayment, GlobalErrorHandler } from '..'\n\nexport class ScheduledPaymentsApi {\n fetchInstance: Fetch\n\n constructor(endpoint: string, token: string, onError?: GlobalErrorHandler) {\n this.fetchInstance = new Fetch(endpoint, token, undefined, onError)\n }\n\n addScheduledPayment = async (scheduledPayment: ScheduledPayment) => {\n return this.fetchInstance\n .post(ApiEndpoints.SCHEDULED_PAYMENTS, {\n ...scheduledPayment,\n is_recurring: 'true',\n transaction_type: TransactionType.DEBIT,\n })\n .then((data) => data.scheduled_payment)\n }\n\n getScheduledPayments = async () => {\n return this.fetchInstance\n .get(ApiEndpoints.SCHEDULED_PAYMENTS)\n .then((data) => data.scheduled_payments)\n }\n\n updateScheduledPayment = async (scheduledPayment: ScheduledPayment) => {\n return this.fetchInstance\n .put(`${ApiEndpoints.SCHEDULED_PAYMENTS}/${scheduledPayment.guid}`, scheduledPayment)\n .then((data) => data.scheduled_payment)\n }\n\n deleteScheduledPayment = async (guid: string) => {\n return this.fetchInstance\n .delete(`${ApiEndpoints.SCHEDULED_PAYMENTS}/${guid}`)\n .then((data) => data)\n }\n}\n","import { Account } from './Account'\nimport { Transaction } from './Transaction'\n\nexport interface Beat {\n account_guids: string[] | []\n active_at?: string | number\n associated_transaction_guid?: string | null\n call_to_action?: string | null\n category_guids?: string[] | []\n created_at?: string | number\n cta_clicked_at?: number | null\n data_series: DataSeries\n description?: string\n digest?: string\n dismissed_at?: number | null\n displayed_at?: string | null\n errors?: any\n guid: string\n has_been_displayed: boolean\n html_description?: string\n html_in_description_cta?: string\n html_micro_call_to_action?: string\n html_micro_description?: string\n html_micro_title?: string\n html_short_title?: string\n html_title: string\n icon_color?: string | null\n icon_type?: number | null\n in_description_cta?: string | null\n is_dismissed: boolean\n is_obsolete: boolean\n is_refreshable: boolean\n is_sampled: boolean\n merchant_guids: string[] | []\n metadata?: string | null\n micro_call_to_action?: string | null\n micro_description?: string | null\n micro_title?: string | null\n payload: any\n primary_account?: Account\n primary_account_guid?: string | null\n primary_category_guid?: string | null\n primary_goal_guid?: string | null\n primary_merchant_guid?: string | null\n primary_scheduled_payment_guid?: string | null\n primary_transaction?: Transaction\n primary_transaction_guid?: string | null\n power_action_completed_at?: string | null\n power_action_has_been_completed?: boolean\n scheduled_payment_guids: string[] | []\n short_title?: string | null\n supporting_action?: string | null\n template: string\n title: string\n transaction_guids: string[] | []\n transactions?: Transaction[]\n user_guid: string\n user_verification: UserVerification\n\n // Added for UI: optional institution info for displaying logos\n institutionGuid?: string | null\n institutionName?: string | null\n}\n\nexport interface DataSeries {\n names?: string[]\n types?: string[]\n data?: any[]\n}\n\nexport enum UserVerification {\n UNKNOWN = 0,\n CORRECT = 1,\n INCORRECT = 2,\n}\n","import type { ScheduledPayment } from './ScheduledPayment'\nimport type { Transaction } from './Transaction'\n\nexport enum ExpenseStatus {\n Missed = 'Missed',\n Paid = 'Paid',\n Upcoming = 'Upcoming expense',\n Income = 'Income',\n}\n\nexport interface Expense extends ScheduledPayment {\n status: ExpenseStatus\n payments: Transaction[]\n transactions: Transaction[]\n}\n\nexport enum ScheduledPaymentTypes {\n Unknown = 0,\n Subscription = 1,\n Bill = 2,\n}\n","export enum ScreenSize {\n Desktop = 'Desktop',\n Mobile = 'Mobile',\n}\n"],"names":["ScheduledPaymentsApi","endpoint","token","onError","Fetch","scheduledPayment","ApiEndpoints","TransactionType","data","guid","UserVerification","ExpenseStatus","ScheduledPaymentTypes","ScreenSize"],"mappings":";;;;;;;;;;;AAKO,MAAMA,EAAqB;AAAA,EAChC;AAAA,EAEA,YAAYC,GAAkBC,GAAeC,GAA8B;AACzE,SAAK,gBAAgB,IAAIC,EAAMH,GAAUC,GAAO,QAAWC,CAAO;AAAA,EACpE;AAAA,EAEA,sBAAsB,OAAOE,MACpB,KAAK,cACT,KAAKC,EAAa,oBAAoB;AAAA,IACrC,GAAGD;AAAA,IACH,cAAc;AAAA,IACd,kBAAkBE,EAAgB;AAAA,EAAA,CACnC,EACA,KAAK,CAACC,MAASA,EAAK,iBAAiB;AAAA,EAG1C,uBAAuB,YACd,KAAK,cACT,IAAIF,EAAa,kBAAkB,EACnC,KAAK,CAACE,MAASA,EAAK,kBAAkB;AAAA,EAG3C,yBAAyB,OAAOH,MACvB,KAAK,cACT,IAAI,GAAGC,EAAa,kBAAkB,IAAID,EAAiB,IAAI,IAAIA,CAAgB,EACnF,KAAK,CAACG,MAASA,EAAK,iBAAiB;AAAA,EAG1C,yBAAyB,OAAOC,MACvB,KAAK,cACT,OAAO,GAAGH,EAAa,kBAAkB,IAAIG,CAAI,EAAE,EACnD,KAAK,CAACD,MAASA,CAAI;AAE1B;AC+BO,IAAKE,sBAAAA,OACVA,EAAAA,EAAA,UAAU,CAAA,IAAV,WACAA,EAAAA,EAAA,UAAU,CAAA,IAAV,WACAA,EAAAA,EAAA,YAAY,CAAA,IAAZ,aAHUA,IAAAA,KAAA,CAAA,CAAA,GCnEAC,sBAAAA,OACVA,EAAA,SAAS,UACTA,EAAA,OAAO,QACPA,EAAA,WAAW,oBACXA,EAAA,SAAS,UA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