@mx-cartographer/experiences 9.1.0-alpha.bb1 → 9.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +75 -0
- package/README.md +10 -10
- package/dist/Account-DR7Plrqy.mjs +119 -0
- package/dist/Account-DR7Plrqy.mjs.map +1 -0
- package/dist/AccountDetailsDrawer-CZPeLsCq.mjs +922 -0
- package/dist/AccountDetailsDrawer-CZPeLsCq.mjs.map +1 -0
- package/dist/AccountDetailsHeader-BvbCUQSS.mjs +231 -0
- package/dist/AccountDetailsHeader-BvbCUQSS.mjs.map +1 -0
- package/dist/AccountUtils-B8ZzWI-d.mjs +28 -0
- package/dist/AccountUtils-B8ZzWI-d.mjs.map +1 -0
- package/dist/Analytics-CkYXKvco.mjs +54 -0
- package/dist/Analytics-CkYXKvco.mjs.map +1 -0
- package/dist/Analytics-WeZYytR0.mjs +140 -0
- package/dist/Analytics-WeZYytR0.mjs.map +1 -0
- package/dist/ApiEndpoints-DXwIYNUV.mjs +50 -0
- package/dist/ApiEndpoints-DXwIYNUV.mjs.map +1 -0
- package/dist/BeatMaterialIcon-1KOfRZrA.mjs +27 -0
- package/dist/BeatMaterialIcon-1KOfRZrA.mjs.map +1 -0
- package/dist/BudgetUtil-Bg2AQJpQ.mjs +75 -0
- package/dist/BudgetUtil-Bg2AQJpQ.mjs.map +1 -0
- package/dist/Category-DEKZGLYe.mjs +302 -0
- package/dist/Category-DEKZGLYe.mjs.map +1 -0
- package/dist/CategorySelectorDrawer-NJsFsKP1.mjs +431 -0
- package/dist/CategorySelectorDrawer-NJsFsKP1.mjs.map +1 -0
- package/dist/Connect-BH0Pt6zc.mjs +43 -0
- package/dist/Connect-BH0Pt6zc.mjs.map +1 -0
- package/dist/ConnectCard-D7uxoH5Y.mjs +55 -0
- package/dist/ConnectCard-D7uxoH5Y.mjs.map +1 -0
- package/dist/ConnectDrawer-CW4LA3H3.mjs +58 -0
- package/dist/ConnectDrawer-CW4LA3H3.mjs.map +1 -0
- package/dist/ConnectionsDrawer-CZU9ku-k.mjs +54 -0
- package/dist/ConnectionsDrawer-CZU9ku-k.mjs.map +1 -0
- package/dist/CurrencyDialog-DumQCTPO.mjs +374 -0
- package/dist/CurrencyDialog-DumQCTPO.mjs.map +1 -0
- package/dist/CurrencyInput-DaGEQaLW.mjs +88 -0
- package/dist/CurrencyInput-DaGEQaLW.mjs.map +1 -0
- package/dist/CurrencyText-CCbE6MmF.mjs +21 -0
- package/dist/CurrencyText-CCbE6MmF.mjs.map +1 -0
- package/dist/DateFormats-HudZ3Bjs.mjs +65 -0
- package/dist/DateFormats-HudZ3Bjs.mjs.map +1 -0
- package/dist/DateUtil-CzBmbjmA.mjs +75 -0
- package/dist/DateUtil-CzBmbjmA.mjs.map +1 -0
- package/dist/DebtUtils-i4pI2Uoe.mjs +154 -0
- package/dist/DebtUtils-i4pI2Uoe.mjs.map +1 -0
- package/dist/Dialog-Bvd2n8hz.mjs +67 -0
- package/dist/Dialog-Bvd2n8hz.mjs.map +1 -0
- package/dist/Donut-SzzfZDHF.mjs +89 -0
- package/dist/Donut-SzzfZDHF.mjs.map +1 -0
- package/dist/Drawer-DsnW2o0v.mjs +175 -0
- package/dist/Drawer-DsnW2o0v.mjs.map +1 -0
- package/dist/EmbeddedCard-DH8vQ3qN.mjs +859 -0
- package/dist/EmbeddedCard-DH8vQ3qN.mjs.map +1 -0
- package/dist/EmptyState-CJUDc3kD.mjs +85 -0
- package/dist/EmptyState-CJUDc3kD.mjs.map +1 -0
- package/dist/Error-Dtw6yxkf.mjs +85 -0
- package/dist/Error-Dtw6yxkf.mjs.map +1 -0
- package/dist/ErrorBoundary-CsdOcnJ9.mjs +24 -0
- package/dist/ErrorBoundary-CsdOcnJ9.mjs.map +1 -0
- package/dist/ExportCsvAction-C9KWH3Az.mjs +25 -0
- package/dist/ExportCsvAction-C9KWH3Az.mjs.map +1 -0
- package/dist/GlobalAccountFilter-BhzR5Vb1.mjs +230 -0
- package/dist/GlobalAccountFilter-BhzR5Vb1.mjs.map +1 -0
- package/dist/GlobalCopyApi-wcnDUzMV.mjs +129 -0
- package/dist/GlobalCopyApi-wcnDUzMV.mjs.map +1 -0
- package/dist/GoalsUtil-C9EnLWvC.mjs +108 -0
- package/dist/GoalsUtil-C9EnLWvC.mjs.map +1 -0
- package/dist/HeaderCell-P8w6CmfO.mjs +7 -0
- package/dist/HeaderCell-P8w6CmfO.mjs.map +1 -0
- package/dist/Help-CkQTjORd.mjs +300 -0
- package/dist/Help-CkQTjORd.mjs.map +1 -0
- package/dist/Help-aERwhajy.mjs +3210 -0
- package/dist/Help-aERwhajy.mjs.map +1 -0
- package/dist/IconBacking-DgT8DCeh.mjs +40 -0
- package/dist/IconBacking-DgT8DCeh.mjs.map +1 -0
- package/dist/InformationTooltip-4su8bn1e.mjs +42 -0
- package/dist/InformationTooltip-4su8bn1e.mjs.map +1 -0
- package/dist/InvestmentUtil-BItV7uEs.mjs +135 -0
- package/dist/InvestmentUtil-BItV7uEs.mjs.map +1 -0
- package/dist/LineChart-CUfiH86G.mjs +613 -0
- package/dist/LineChart-CUfiH86G.mjs.map +1 -0
- package/dist/ListItemAction-BqUCLj_w.mjs +70 -0
- package/dist/ListItemAction-BqUCLj_w.mjs.map +1 -0
- package/dist/ListItemRow-kH1rn8Xu.mjs +68 -0
- package/dist/ListItemRow-kH1rn8Xu.mjs.map +1 -0
- package/dist/ListItemWrapper-DRse79Iu.mjs +44 -0
- package/dist/ListItemWrapper-DRse79Iu.mjs.map +1 -0
- package/dist/Loader-CxeBwuPG.mjs +22 -0
- package/dist/Loader-CxeBwuPG.mjs.map +1 -0
- package/dist/Localization-DnoVyBNK.mjs +39 -0
- package/dist/Localization-DnoVyBNK.mjs.map +1 -0
- package/dist/ManageIncome-Dcsnnz86.mjs +906 -0
- package/dist/ManageIncome-Dcsnnz86.mjs.map +1 -0
- package/dist/MicroWidgetContainer-B2NnKBgW.mjs +46 -0
- package/dist/MicroWidgetContainer-B2NnKBgW.mjs.map +1 -0
- package/dist/MiniWidgetContainer-Bmv_WeUd.mjs +67 -0
- package/dist/MiniWidgetContainer-Bmv_WeUd.mjs.map +1 -0
- package/dist/NetWorthUtils-DfSH3z70.mjs +96 -0
- package/dist/NetWorthUtils-DfSH3z70.mjs.map +1 -0
- package/dist/Notification-DTNYSd8P.mjs +8 -0
- package/dist/Notification-DTNYSd8P.mjs.map +1 -0
- package/dist/NotificationSettings-CW7okUrk.mjs +678 -0
- package/dist/NotificationSettings-CW7okUrk.mjs.map +1 -0
- package/dist/NotificationUtils-BRGFTePr.mjs +24 -0
- package/dist/NotificationUtils-BRGFTePr.mjs.map +1 -0
- package/dist/NumberFormatting--XMeeBfr.mjs +50 -0
- package/dist/NumberFormatting--XMeeBfr.mjs.map +1 -0
- package/dist/OriginalBalanceAction-YrvxBYAl.mjs +115 -0
- package/dist/OriginalBalanceAction-YrvxBYAl.mjs.map +1 -0
- package/dist/RecurringSettings-D8hBbXV_.mjs +89 -0
- package/dist/RecurringSettings-D8hBbXV_.mjs.map +1 -0
- package/dist/RecurringTransactionsUtil-CHWmqvW5.mjs +299 -0
- package/dist/RecurringTransactionsUtil-CHWmqvW5.mjs.map +1 -0
- package/dist/ResponsiveButton-CC9F_Ezk.mjs +46 -0
- package/dist/ResponsiveButton-CC9F_Ezk.mjs.map +1 -0
- package/dist/SearchBox-Cpgu_gdO.mjs +51 -0
- package/dist/SearchBox-Cpgu_gdO.mjs.map +1 -0
- package/dist/Select-CSpkK5cR.mjs +62 -0
- package/dist/Select-CSpkK5cR.mjs.map +1 -0
- package/dist/SelectionBox-B4xELRgp.mjs +49 -0
- package/dist/SelectionBox-B4xELRgp.mjs.map +1 -0
- package/dist/SingleSegmentDonut-7Uy6VEld.mjs +70 -0
- package/dist/SingleSegmentDonut-7Uy6VEld.mjs.map +1 -0
- package/dist/Sizes-DISGrlUg.mjs +7 -0
- package/dist/Sizes-DISGrlUg.mjs.map +1 -0
- package/dist/SkeletonLoader-BaNboJjD.mjs +39 -0
- package/dist/SkeletonLoader-BaNboJjD.mjs.map +1 -0
- package/dist/SpendingData-Fii_xATx.mjs +54 -0
- package/dist/SpendingData-Fii_xATx.mjs.map +1 -0
- package/dist/SpendingLegend-CxvNOg3c.mjs +204 -0
- package/dist/SpendingLegend-CxvNOg3c.mjs.map +1 -0
- package/dist/StatusBar-CPfSXe80.mjs +31 -0
- package/dist/StatusBar-CPfSXe80.mjs.map +1 -0
- package/dist/TabContentContainer-B0eYJP5p.mjs +49 -0
- package/dist/TabContentContainer-B0eYJP5p.mjs.map +1 -0
- package/dist/ToggleListItem-Dl1lXNwj.mjs +92 -0
- package/dist/ToggleListItem-Dl1lXNwj.mjs.map +1 -0
- package/dist/TransactionDetails-roZ5xLq8.mjs +1708 -0
- package/dist/TransactionDetails-roZ5xLq8.mjs.map +1 -0
- package/dist/TransactionUtils-BphBJBbU.mjs +235 -0
- package/dist/TransactionUtils-BphBJBbU.mjs.map +1 -0
- package/dist/TrendsUtil-D9z3kIj_.mjs +70 -0
- package/dist/TrendsUtil-D9z3kIj_.mjs.map +1 -0
- package/dist/UserStore-C1fdL3Iu.mjs +3054 -0
- package/dist/UserStore-C1fdL3Iu.mjs.map +1 -0
- package/dist/ViewMoreMicroCard-fnwE0hqd.mjs +1280 -0
- package/dist/ViewMoreMicroCard-fnwE0hqd.mjs.map +1 -0
- package/dist/WidgetContainer-DJnp6t6c.mjs +483 -0
- package/dist/WidgetContainer-DJnp6t6c.mjs.map +1 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsDrawer.d.ts +6 -0
- package/dist/accounts/index.d.ts +1 -0
- package/dist/accounts/index.es.js +784 -12
- package/dist/accounts/index.es.js.map +1 -0
- package/dist/analytics/index.es.js +140 -155
- package/dist/analytics/index.es.js.map +1 -0
- package/dist/budgets/index.es.js +1267 -1317
- package/dist/budgets/index.es.js.map +1 -0
- package/dist/cashflow/index.es.js +943 -1047
- package/dist/cashflow/index.es.js.map +1 -0
- package/dist/categories/index.es.js +5 -4
- package/dist/categories/index.es.js.map +1 -0
- package/dist/common/components/DataRow.d.ts +1 -0
- package/dist/common/components/ListItemWrapper.d.ts +2 -1
- package/dist/common/constants/Analytics.d.ts +3 -0
- package/dist/common/index.es.js +310 -101
- package/dist/common/index.es.js.map +1 -0
- package/dist/core/index.es.js +105 -80
- package/dist/core/index.es.js.map +1 -0
- package/dist/core/stores/RecurringTransactionsStore.d.ts +29 -1
- package/dist/core/stores/TransactionStore.d.ts +1 -0
- package/dist/core/types/localization/RecurringCopy.d.ts +14 -1
- package/dist/core/types/localization/SpendingCopy.d.ts +1 -0
- package/dist/core/utils/DateUtil.d.ts +2 -0
- package/dist/core/utils/RecurringTransactionsUtil.d.ts +2 -1
- package/dist/dashboard/index.es.js +142 -185
- package/dist/dashboard/index.es.js.map +1 -0
- package/dist/debts/index.es.js +1273 -1384
- package/dist/debts/index.es.js.map +1 -0
- package/dist/finstrong/index.es.js +3473 -3367
- package/dist/finstrong/index.es.js.map +1 -0
- package/dist/goals/index.es.js +984 -1103
- package/dist/goals/index.es.js.map +1 -0
- package/dist/help/index.es.js +26 -3
- package/dist/help/index.es.js.map +1 -0
- package/dist/hooks-97sNJ_lf.mjs +78 -0
- package/dist/hooks-97sNJ_lf.mjs.map +1 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/BubbleWeek.d.ts +4 -1
- package/dist/insights/components/insights/WeeklyNoSpendDays/WeeklyNoSpendDays.d.ts +4 -2
- package/dist/insights/index.es.js +4871 -93
- package/dist/insights/index.es.js.map +1 -0
- package/dist/investments/index.es.js +1523 -1533
- package/dist/investments/index.es.js.map +1 -0
- package/dist/merchants/index.es.js +65 -75
- package/dist/merchants/index.es.js.map +1 -0
- package/dist/microinsights/index.es.js +826 -15
- package/dist/microinsights/index.es.js.map +1 -0
- package/dist/networth/index.es.js +504 -550
- package/dist/networth/index.es.js.map +1 -0
- package/dist/notifications/index.es.js +162 -169
- package/dist/notifications/index.es.js.map +1 -0
- package/dist/recurringtransactions/components/RecurringTransactionDetails.d.ts +3 -2
- package/dist/recurringtransactions/components/RecurringTransactionDetailsDrawer.d.ts +3 -0
- package/dist/recurringtransactions/components/RecurringTransactionList.d.ts +11 -0
- package/dist/recurringtransactions/components/UpcomingRecurrenceCard.d.ts +8 -0
- package/dist/recurringtransactions/components/actions/LinkTransactionDrawer.d.ts +10 -0
- package/dist/recurringtransactions/components/actions/MarkAsPaidDialog.d.ts +7 -0
- package/dist/recurringtransactions/components/actions/MarkAsUnpaidDialog.d.ts +7 -0
- package/dist/recurringtransactions/index.es.js +1012 -10
- package/dist/recurringtransactions/index.es.js.map +1 -0
- package/dist/settings/index.es.js +892 -13
- package/dist/settings/index.es.js.map +1 -0
- package/dist/spending/index.es.js +457 -400
- package/dist/spending/index.es.js.map +1 -0
- package/dist/transactions/components/shared/transactionlist/TransactionRow.d.ts +1 -0
- package/dist/transactions/index.es.js +604 -10
- package/dist/transactions/index.es.js.map +1 -0
- package/dist/trends/index.es.js +1408 -1268
- package/dist/trends/index.es.js.map +1 -0
- package/dist/useAccountDisplayName-BsiXA0qf.mjs +24 -0
- package/dist/useAccountDisplayName-BsiXA0qf.mjs.map +1 -0
- package/dist/useAriaLive-MkYebyUR.mjs +36 -0
- package/dist/useAriaLive-MkYebyUR.mjs.map +1 -0
- package/dist/useDimensions-CeDR9V8N.mjs +37 -0
- package/dist/useDimensions-CeDR9V8N.mjs.map +1 -0
- package/dist/useInsightsEnabled-D5Sdm0TJ.mjs +12 -0
- package/dist/useInsightsEnabled-D5Sdm0TJ.mjs.map +1 -0
- package/dist/useScreenSize-mWpmnh5w.mjs +37 -0
- package/dist/useScreenSize-mWpmnh5w.mjs.map +1 -0
- package/dist/useWidgetLoadTimer-B0tB-yzL.mjs +20 -0
- package/dist/useWidgetLoadTimer-B0tB-yzL.mjs.map +1 -0
- package/package.json +30 -30
- package/dist/Analytics-BKzTPees.mjs +0 -61
- package/dist/GlobalCopyApi-BeXzaDH9.mjs +0 -487
- package/dist/HeaderCell-EhCUSjvj.mjs +0 -10
- package/dist/Loader-BlVzRtUd.mjs +0 -73
- package/dist/MiniWidgetContainer-COwnjfy7.mjs +0 -110
- package/dist/OriginalBalanceAction-sbiqaxok.mjs +0 -110
- package/dist/SpendingLegend-D15ixlQ1.mjs +0 -222
- package/dist/accounts-DkyAiLpg.mjs +0 -15632
- package/dist/core-BexP5oiV.mjs +0 -4047
- package/dist/help-CctDYrAH.mjs +0 -2308
- package/dist/insights/components/insights/P2pCategorization/_tests_/P2pCategorizationMultipleTransaction.test.d.ts +0 -0
- package/dist/insights/components/insights/P2pCategorization/_tests_/P2pCategorizationSingleTransaction.test.d.ts +0 -0
- package/dist/microinsights-CRf3ChsJ.mjs +0 -1814
- package/dist/recurringtransactions-gbJ_NA8u.mjs +0 -1564
- package/dist/settings-ZMHe439l.mjs +0 -1526
package/dist/common/index.es.js
CHANGED
|
@@ -1,103 +1,312 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
1
|
+
import { l as Y } from "../UserStore-C1fdL3Iu.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
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
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,EAAA,iBAAiB,CAAA,IAAjB,kBACAA,EAAAA,EAAA,aAAa,CAAA,IAAb,cACAA,EAAAA,EAAA,kBAAkB,CAAA,IAAlB,mBACAA,EAAAA,EAAA,eAAe,CAAA,IAAf,gBACAA,EAAAA,EAAA,oBAAoB,CAAA,IAApB,qBACAA,EAAAA,EAAA,YAAY,CAAA,IAAZ,aARUA,IAAAA,KAAA,CAAA,CAAA;ACEL,MAAMC,IAAc,CAACC,MAAe;AACzC,QAAMC,IAAMC,EAAO,IAAI;AACvB,SAAAC,EAAU,MAAM;AACd,IAAAF,EAAI,UAAUD;AAAA,EAChB,GAAG,CAACA,CAAK,CAAC,GACHC,EAAI;AACb,GCNaG,IAAkB;AAAA,EAC7B,EAAE,IAAIN,EAAgB,SAAS,MAAM,oBAAA;AAAA,EACrC,EAAE,IAAIA,EAAgB,WAAW,MAAM,uBAAA;AAAA,EACvC,EAAE,IAAIA,EAAgB,gBAAgB,MAAM,6BAAA;AAAA,EAC5C,EAAE,IAAIA,EAAgB,YAAY,MAAM,wBAAA;AAAA,EACxC,EAAE,IAAIA,EAAgB,iBAAiB,MAAM,8BAAA;AAAA,EAC7C,EAAE,IAAIA,EAAgB,cAAc,MAAM,0BAAA;AAAA,EAC1C,EAAE,IAAIA,EAAgB,mBAAmB,MAAM,gCAAA;AAAA,EAC/C,EAAE,IAAIA,EAAgB,WAAW,MAAM,uBAAA;AACzC,GCXaO,IAAiB;AAAA,EAC5B,OAAO;AAAA,EACP,SAAS;AAAA,EACT,SAAS;AACX,GCcMC,IAAsD,CAAC;AAA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A,MAEF,iBAAiB;AAAA,QACf,gBAAgB;AAAA,UACd,MAAM,EAAE,cAAc,GAAGA,CAAY,MAAM,eAAe,OAAA;AAAA,QAAO;AAAA,MACnE;AAAA,IACF;AAAA,IAEF,GAAIC,KAAc;AAAA,MAChB,SAAS;AAAA,QACP,gBAAgB,EAAE,MAAM,EAAE,cAAc,GAAGA,CAAU,OAAK;AAAA,MAAE;AAAA,IAC9D;AAAA,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;"}
|
package/dist/core/index.es.js
CHANGED
|
@@ -1,84 +1,109 @@
|
|
|
1
|
-
import { a, i as
|
|
2
|
-
import {
|
|
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-C1fdL3Iu.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
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
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
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
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
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
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,U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