@mx-cartographer/experiences 7.1.2-alpha.mm0 → 7.1.3-alpha.mm0

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 (60) hide show
  1. package/dist/{Account-8IUM_CLv.mjs → Account-poVfvAtj.mjs} +1 -1
  2. package/dist/{AccountDetailsContent-CuZSSAEc.mjs → AccountDetailsContent-BCMssB6a.mjs} +8 -8
  3. package/dist/{AccountDetailsHeader-BZBsIKdF.mjs → AccountDetailsHeader-aR7xZ2nH.mjs} +6 -6
  4. package/dist/{AccountFields-BD_0GT68.mjs → AccountFields-_0YMlOBp.mjs} +2 -2
  5. package/dist/{AccountListItem-CllIBCao.mjs → AccountListItem-CnCbtSqL.mjs} +4 -4
  6. package/dist/{AccountStore-BL0FE1QL.mjs → AccountStore-B6dq8GCk.mjs} +45 -53
  7. package/dist/{Accounts-Bvc9TJaO.mjs → Accounts-SjMpWUke.mjs} +1 -1
  8. package/dist/{BudgetUtil-psfk-Amb.mjs → BudgetUtil-7AJdmjKN.mjs} +1 -1
  9. package/dist/{CategorySelectorDrawer-BmenK5bu.mjs → CategorySelectorDrawer-DIy14j9q.mjs} +1 -1
  10. package/dist/{ConnectDrawer-CPTXh70j.mjs → ConnectDrawer-BuGKZGC6.mjs} +8 -8
  11. package/dist/{ConnectionsDrawer-Dkb4vBmt.mjs → ConnectionsDrawer-BUFTeUlm.mjs} +2 -2
  12. package/dist/{CurrencyInput-C4xNRL2W.mjs → CurrencyInput-DXMb7tAQ.mjs} +1 -1
  13. package/dist/{DebtsStore-D4grpB4m.mjs → DebtsStore-DwQfw1Tf.mjs} +1 -1
  14. package/dist/{ExportCsvAction-CBJAfyAw.mjs → ExportCsvAction-CaYiIpM7.mjs} +3 -3
  15. package/dist/{GoalStore-B5MZzPLZ.mjs → GoalStore-B11YqsSR.mjs} +2 -2
  16. package/dist/{Help-CzBAsKA2.mjs → Help-BeXRlMej.mjs} +1 -1
  17. package/dist/{LineChart-B35qvXik.mjs → LineChart-DoM2GvjT.mjs} +1 -1
  18. package/dist/{ListItemAction-DSrYDGAP.mjs → ListItemAction-BUj2koIg.mjs} +1 -1
  19. package/dist/{ManageIncome-DUuT-yMV.mjs → ManageIncome-Dn-1RlJI.mjs} +4 -4
  20. package/dist/{MicroWidgetContainer-C4QQHfD7.mjs → MicroWidgetContainer-BfjjvWDu.mjs} +1 -1
  21. package/dist/{MiniWidgetContainer-DTQdRK-3.mjs → MiniWidgetContainer-C98Eg9vO.mjs} +1 -1
  22. package/dist/{NetWorthStore-Do1Gk8Te.mjs → NetWorthStore-DqBVr9B4.mjs} +2 -2
  23. package/dist/{NotificationSettings-BuShgjn6.mjs → NotificationSettings-BpG12HXV.mjs} +3 -3
  24. package/dist/{OriginalBalanceAction-BsxcvNEF.mjs → OriginalBalanceAction-CG_yDuWi.mjs} +3 -3
  25. package/dist/{RecurringSettings-BVOt46uV.mjs → RecurringSettings-BtsTGf0P.mjs} +3 -3
  26. package/dist/{TransactionDetails-_cXLXTd3.mjs → TransactionDetails-CBpH1fsq.mjs} +5 -5
  27. package/dist/{TransactionStore-B-Tq_YFE.mjs → TransactionStore-Cq_j5fna.mjs} +2 -2
  28. package/dist/{TrendsStore-ZZ8X36lJ.mjs → TrendsStore-2geZbzUX.mjs} +1 -1
  29. package/dist/{User-DaJAQ09j.mjs → User-CgKOp9Zi.mjs} +1 -1
  30. package/dist/{WidgetContainer-DtPnPQZY.mjs → WidgetContainer-CjvCN6aj.mjs} +10 -10
  31. package/dist/accounts/index.es.js +13 -13
  32. package/dist/accounts/stores/AccountStore.d.ts +0 -2
  33. package/dist/analytics/index.es.js +2 -2
  34. package/dist/budgets/index.es.js +10 -10
  35. package/dist/cashflow/index.es.js +7 -7
  36. package/dist/categories/index.es.js +1 -1
  37. package/dist/common/context/GlobalDataProvider.d.ts +1 -0
  38. package/dist/common/context/hooks.d.ts +3 -0
  39. package/dist/common/context/index.d.ts +1 -1
  40. package/dist/common/index.es.js +50 -49
  41. package/dist/dashboard/index.es.js +7 -7
  42. package/dist/debts/index.es.js +9 -9
  43. package/dist/{exportTransactionsToCSV-D8TTNrrE.mjs → exportTransactionsToCSV-BUuXqDYK.mjs} +1 -1
  44. package/dist/finstrong/index.es.js +6 -6
  45. package/dist/goals/index.es.js +52 -52
  46. package/dist/help/index.es.js +3 -3
  47. package/dist/hooks-B3k6Se4_.mjs +77 -0
  48. package/dist/investments/index.es.js +3 -3
  49. package/dist/merchants/index.es.js +1 -1
  50. package/dist/networth/index.es.js +7 -7
  51. package/dist/notifications/index.es.js +2 -2
  52. package/dist/recurringtransactions/index.es.js +8 -8
  53. package/dist/settings/index.es.js +6 -6
  54. package/dist/spending/index.es.js +4 -4
  55. package/dist/transactions/index.es.js +13 -13
  56. package/dist/trends/index.es.js +453 -453
  57. package/dist/{useAccountDisplayName-BXGkZN5B.mjs → useAccountDisplayName-CZjVfLSX.mjs} +2 -2
  58. package/dist/{useInsightsEnabled-DSnpkUq0.mjs → useInsightsEnabled-DesBHW5l.mjs} +1 -1
  59. package/package.json +1 -1
  60. package/dist/hooks-CE2TKk4a.mjs +0 -74
@@ -1,6 +1,6 @@
1
1
  import s from "react";
2
- import { g as e } from "./ConnectDrawer-CPTXh70j.mjs";
3
- import { a as n } from "./hooks-CE2TKk4a.mjs";
2
+ import { g as e } from "./ConnectDrawer-BuGKZGC6.mjs";
3
+ import { a as n } from "./hooks-B3k6Se4_.mjs";
4
4
  const i = (o) => {
5
5
  const { config: a } = n();
6
6
  return s.useMemo(
@@ -1,5 +1,5 @@
1
1
  import { useState as n, useEffect as a } from "react";
2
- import { f as o } from "./hooks-CE2TKk4a.mjs";
2
+ import { f as o } from "./hooks-B3k6Se4_.mjs";
3
3
  const f = () => {
4
4
  const { isInitialized: e, appDataStore: t } = o(), [s, i] = n(!1);
5
5
  return a(() => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mx-cartographer/experiences",
3
- "version": "7.1.2-alpha.mm0",
3
+ "version": "7.1.3-alpha.mm0",
4
4
  "description": "Library containing experience widgets",
5
5
  "author": "MX",
6
6
  "license": "MIT",
@@ -1,74 +0,0 @@
1
- import r from "react";
2
- import { jsx as n } from "react/jsx-runtime";
3
- const a = r.createContext(null), b = ({
4
- children: t,
5
- globalStore: e,
6
- onError: s,
7
- onEvent: l,
8
- onPageView: u
9
- }) => /* @__PURE__ */ n(
10
- a.Provider,
11
- {
12
- value: {
13
- globalStore: e,
14
- onError: s,
15
- onEvent: l,
16
- onPageView: u,
17
- children: t
18
- },
19
- children: t
20
- }
21
- ), S = r.createContext(null), C = ({ children: t, availableHeight: e, availableWidth: s }) => /* @__PURE__ */ n(
22
- S.Provider,
23
- {
24
- value: {
25
- availableHeight: e,
26
- availableWidth: s,
27
- children: t
28
- },
29
- children: t
30
- }
31
- ), o = (t = "useGlobalStore") => {
32
- const e = r.useContext(a);
33
- if (!e)
34
- throw new Error(`${t}() must be used within the GlobalDataContext`);
35
- return e;
36
- }, d = () => o("useAccountStore").globalStore.accountStore, p = () => o("useAppConfig").globalStore.appDataStore.appConfig, h = () => o("useAnalyticsStore").globalStore.analyticsStore, x = () => o("useBudgetsStore").globalStore.budgetsStore, f = () => o("useCashflowStore").globalStore.cashflowStore, w = () => o("useCategoryStore").globalStore.categoryStore, G = () => o("useConnectStore").globalStore.connectStore, v = () => o("useDebtsStore").globalStore.debtsStore, y = () => o("useFinstrongStore").globalStore.finstrongStore, W = () => o("useGlobalStore").globalStore, m = () => o("useGlobalUiStore").globalStore.globalUiStore, E = () => o("globalCopyStore").globalStore.copyStore.copy, P = () => o("useGoalStore").globalStore.goalStore, A = () => o("useHelpStore").globalStore.helpStore, D = () => o("useHoldingStore").globalStore.holdingStore, T = () => o("useMerchantStore").globalStore.merchantStore, U = () => o("useNetWorthStore").globalStore.netWorthStore, H = () => o("useNotificationStore").globalStore.notificationStore, N = () => o("useRecurringTransactionsStore").globalStore.recurringTransactionsStore, B = () => o("useSettingsStore").globalStore.settingsStore, R = () => o("useTransactionStore").globalStore.transactionStore, V = () => o("useTrendsStore").globalStore.trendsStore, j = () => o("useUserStore").globalStore.userStore, F = () => ({ onError: o().onError }), M = () => ({ onEvent: o().onEvent }), $ = () => ({ onPageView: o().onPageView }), c = (t = "useWidgetContainerContext") => {
37
- const e = r.useContext(S);
38
- if (!e)
39
- throw new Error(`${t}() must be used within the WidgetContainerContext`);
40
- return e;
41
- }, k = () => c();
42
- export {
43
- $ as A,
44
- b as B,
45
- S as C,
46
- a as G,
47
- C as W,
48
- p as a,
49
- m as b,
50
- T as c,
51
- d,
52
- G as e,
53
- W as f,
54
- M as g,
55
- R as h,
56
- x as i,
57
- N as j,
58
- h as k,
59
- P as l,
60
- w as m,
61
- H as n,
62
- j as o,
63
- k as p,
64
- U as q,
65
- B as r,
66
- D as s,
67
- f as t,
68
- E as u,
69
- V as v,
70
- y as w,
71
- v as x,
72
- F as y,
73
- A as z
74
- };