@mx-cartographer/experiences 7.0.20-alpha.mm15 → 7.0.20-alpha.mm17
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/dist/{Account-GFzWnbxA.mjs → Account-DJ7VG5hs.mjs} +1 -1
- package/dist/{AccountDetailsContent-mN483eVf.mjs → AccountDetailsContent-B73mz3KK.mjs} +8 -8
- package/dist/{AccountDetailsHeader-BpsTTa-C.mjs → AccountDetailsHeader-DJk0hheh.mjs} +5 -5
- package/dist/{AccountFields-dth_TzXr.mjs → AccountFields-BJfIdeay.mjs} +2 -2
- package/dist/{AccountListItem-DzLeMC0v.mjs → AccountListItem-CkDTN1Bi.mjs} +3 -3
- package/dist/{AccountStore-8wYwS2Fb.mjs → AccountStore-CxV4kxak.mjs} +2 -2
- package/dist/{Accounts-Bas8bqMn.mjs → Accounts-BYGu-bN1.mjs} +1 -1
- package/dist/{BudgetUtil-BR1sFoz5.mjs → BudgetUtil-BB9gMyLW.mjs} +1 -1
- package/dist/{CategorySelectorDrawer-y4sp83CD.mjs → CategorySelectorDrawer-B-W3eXHU.mjs} +1 -1
- package/dist/{ConnectDrawer-BbvIVdYR.mjs → ConnectDrawer-COy3Xwqv.mjs} +1 -1
- package/dist/{ConnectionsDrawer-B8y4UHxL.mjs → ConnectionsDrawer-B36W8Qvy.mjs} +2 -2
- package/dist/{CurrencyInput-DyWvvUZX.mjs → CurrencyInput-B6gF46iv.mjs} +1 -1
- package/dist/{DebtsStore-b4lkfwxB.mjs → DebtsStore-2yxA32_7.mjs} +1 -1
- package/dist/{ExportCsvAction-Bu6bbxPc.mjs → ExportCsvAction-2tkBInLO.mjs} +3 -3
- package/dist/{GoalStore-DpunbhUg.mjs → GoalStore-CBRbZQIz.mjs} +11 -11
- package/dist/{Help-BUxbr8mG.mjs → Help-CWsL8d5P.mjs} +1 -1
- package/dist/{LineChart-C2Q2Sr1y.mjs → LineChart-CBKadOFA.mjs} +1 -1
- package/dist/{ListItemAction-CUusHw-p.mjs → ListItemAction-CpYlo5Sh.mjs} +1 -1
- package/dist/{ManageIncome-BPmZE2fJ.mjs → ManageIncome-CcgshElP.mjs} +4 -4
- package/dist/{MicroWidgetContainer-DNTKJODy.mjs → MicroWidgetContainer-DQXTwO5i.mjs} +1 -1
- package/dist/{MiniWidgetContainer-xsVrqac5.mjs → MiniWidgetContainer-BF2Qwhh-.mjs} +1 -1
- package/dist/{NetWorthStore-BQiUgOb8.mjs → NetWorthStore-CrQtq5rq.mjs} +2 -2
- package/dist/{NotificationSettings-DEpoWNlk.mjs → NotificationSettings-CPbRHMhw.mjs} +2 -2
- package/dist/{OriginalBalanceAction-DjUO-VPz.mjs → OriginalBalanceAction-C3afa-mq.mjs} +3 -3
- package/dist/{RecurringSettings-Caf4AS16.mjs → RecurringSettings-Dhyqo_kK.mjs} +3 -3
- package/dist/{TransactionDetails-CGLeSsaa.mjs → TransactionDetails-DA-V2UTB.mjs} +5 -5
- package/dist/{TransactionStore-B8KE_GP4.mjs → TransactionStore-DoyMuj0p.mjs} +2 -2
- package/dist/{TrendsStore-DpyWU-HL.mjs → TrendsStore-ReCVjB8o.mjs} +1 -1
- package/dist/{User-CcPqTPbo.mjs → User-DD7Pb2ze.mjs} +1 -1
- package/dist/{WidgetContainer-DPzZyq22.mjs → WidgetContainer-C1NlG0pd.mjs} +2 -2
- package/dist/accounts/index.es.js +12 -12
- package/dist/analytics/index.es.js +2 -2
- package/dist/budgets/index.es.js +10 -10
- package/dist/cashflow/index.es.js +7 -7
- package/dist/categories/index.es.js +1 -1
- package/dist/common/index.es.js +172 -172
- package/dist/common/stores/GlobalStore.d.ts +1 -1
- package/dist/dashboard/index.es.js +2 -2
- package/dist/debts/index.es.js +9 -9
- package/dist/{exportTransactionsToCSV-DsY4Aap_.mjs → exportTransactionsToCSV-Dh6fVZSs.mjs} +1 -1
- package/dist/finstrong/index.es.js +6 -6
- package/dist/goals/index.es.js +11 -11
- package/dist/help/index.es.js +3 -3
- package/dist/hooks-CTieq90n.mjs +74 -0
- package/dist/investments/index.es.js +3 -3
- package/dist/merchants/index.es.js +1 -1
- package/dist/networth/index.es.js +7 -7
- package/dist/notifications/index.es.js +2 -2
- package/dist/recurringtransactions/index.es.js +8 -8
- package/dist/settings/index.es.js +6 -6
- package/dist/spending/index.es.js +4 -4
- package/dist/transactions/index.es.js +13 -13
- package/dist/trends/index.es.js +9 -9
- package/package.json +1 -1
- package/dist/hooks-DP5qvbXf.mjs +0 -80
package/dist/hooks-DP5qvbXf.mjs
DELETED
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
import s from "react";
|
|
2
|
-
import { jsx as n } from "react/jsx-runtime";
|
|
3
|
-
const a = s.createContext(null), C = ({
|
|
4
|
-
children: e,
|
|
5
|
-
globalStore: t,
|
|
6
|
-
onError: r,
|
|
7
|
-
onEvent: S,
|
|
8
|
-
onPageView: u
|
|
9
|
-
}) => (s.useEffect(() => {
|
|
10
|
-
try {
|
|
11
|
-
console.info("GlobalDataProvider onError:", r?.toString()), t.onError = r;
|
|
12
|
-
} catch (c) {
|
|
13
|
-
console.error("GlobalDataProvider error setting onError:", c);
|
|
14
|
-
}
|
|
15
|
-
}, [t, r]), /* @__PURE__ */ n(
|
|
16
|
-
a.Provider,
|
|
17
|
-
{
|
|
18
|
-
value: {
|
|
19
|
-
globalStore: t,
|
|
20
|
-
onError: r,
|
|
21
|
-
onEvent: S,
|
|
22
|
-
onPageView: u,
|
|
23
|
-
children: e
|
|
24
|
-
},
|
|
25
|
-
children: e
|
|
26
|
-
}
|
|
27
|
-
)), l = s.createContext(null), d = ({ children: e, availableHeight: t, availableWidth: r }) => /* @__PURE__ */ n(
|
|
28
|
-
l.Provider,
|
|
29
|
-
{
|
|
30
|
-
value: {
|
|
31
|
-
availableHeight: t,
|
|
32
|
-
availableWidth: r,
|
|
33
|
-
children: e
|
|
34
|
-
},
|
|
35
|
-
children: e
|
|
36
|
-
}
|
|
37
|
-
), o = (e = "useGlobalStore") => {
|
|
38
|
-
const t = s.useContext(a);
|
|
39
|
-
if (!t)
|
|
40
|
-
throw new Error(`${e}() must be used within the GlobalDataContext`);
|
|
41
|
-
return t;
|
|
42
|
-
}, p = () => o("useAccountStore").globalStore.accountStore, f = () => o("useAppConfig").globalStore.appDataStore.appConfig, h = () => o("useAnalyticsStore").globalStore.analyticsStore, x = () => o("useBudgetsStore").globalStore.budgetsStore, G = () => o("useCashflowStore").globalStore.cashflowStore, v = () => o("useCategoryStore").globalStore.categoryStore, w = () => o("useConnectStore").globalStore.connectStore, y = () => o("useDebtsStore").globalStore.debtsStore, P = () => o("useFinstrongStore").globalStore.finstrongStore, W = () => o("useGlobalStore").globalStore, D = () => o("useGlobalUiStore").globalStore.globalUiStore, E = () => o("globalCopyStore").globalStore.copyStore.copy, m = () => o("useGoalStore").globalStore.goalStore, A = () => o("useHelpStore").globalStore.helpStore, T = () => o("useHoldingStore").globalStore.holdingStore, U = () => o("useMerchantStore").globalStore.merchantStore, H = () => o("useNetWorthStore").globalStore.netWorthStore, N = () => o("useNotificationStore").globalStore.notificationStore, B = () => o("useRecurringTransactionsStore").globalStore.recurringTransactionsStore, R = () => o("useSettingsStore").globalStore.settingsStore, V = () => o("useTransactionStore").globalStore.transactionStore, j = () => o("useTrendsStore").globalStore.trendsStore, F = () => o("useUserStore").globalStore.userStore, M = () => ({ onError: o().onError }), $ = () => ({ onEvent: o().onEvent }), k = () => ({ onPageView: o().onPageView }), i = (e = "useWidgetContainerContext") => {
|
|
43
|
-
const t = s.useContext(l);
|
|
44
|
-
if (!t)
|
|
45
|
-
throw new Error(`${e}() must be used within the WidgetContainerContext`);
|
|
46
|
-
return t;
|
|
47
|
-
}, q = () => i();
|
|
48
|
-
export {
|
|
49
|
-
k as A,
|
|
50
|
-
C as B,
|
|
51
|
-
l as C,
|
|
52
|
-
a as G,
|
|
53
|
-
d as W,
|
|
54
|
-
D as a,
|
|
55
|
-
U as b,
|
|
56
|
-
p as c,
|
|
57
|
-
w as d,
|
|
58
|
-
$ as e,
|
|
59
|
-
V as f,
|
|
60
|
-
x as g,
|
|
61
|
-
B as h,
|
|
62
|
-
h as i,
|
|
63
|
-
m as j,
|
|
64
|
-
v as k,
|
|
65
|
-
W as l,
|
|
66
|
-
f as m,
|
|
67
|
-
N as n,
|
|
68
|
-
F as o,
|
|
69
|
-
q as p,
|
|
70
|
-
H as q,
|
|
71
|
-
R as r,
|
|
72
|
-
T as s,
|
|
73
|
-
G as t,
|
|
74
|
-
E as u,
|
|
75
|
-
j as v,
|
|
76
|
-
P as w,
|
|
77
|
-
y as x,
|
|
78
|
-
M as y,
|
|
79
|
-
A as z
|
|
80
|
-
};
|