@mx-cartographer/experiences 7.4.6-alpha.mm2 → 7.4.7-alpha.mega1

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 (63) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/{Account-BQE_ANvF.mjs → Account-01wOyrH1.mjs} +1 -1
  3. package/dist/{AccountDetailsContent-C6LkHJuy.mjs → AccountDetailsContent-COMjOzwr.mjs} +8 -8
  4. package/dist/{AccountDetailsHeader-CCkHHK_n.mjs → AccountDetailsHeader-Cbi5G6fJ.mjs} +4 -4
  5. package/dist/{AccountFields-DdOw6d6w.mjs → AccountFields-Cd_nOWmf.mjs} +2 -2
  6. package/dist/{AccountListItem-CZhCiU7q.mjs → AccountListItem-DxY4cCF1.mjs} +4 -4
  7. package/dist/{AccountStore-kxFbaz-K.mjs → AccountStore-C1zMBzHq.mjs} +2 -2
  8. package/dist/{Accounts-D_768tYo.mjs → Accounts-D7QljYas.mjs} +1 -1
  9. package/dist/{BudgetUtil-C5fTz_GJ.mjs → BudgetUtil-Df2nII9u.mjs} +1 -1
  10. package/dist/{CategorySelectorDrawer-l3tOyiqD.mjs → CategorySelectorDrawer-DqJK_rrL.mjs} +1 -1
  11. package/dist/{ConnectDrawer-g2IXvoSS.mjs → ConnectDrawer-CuUj16NH.mjs} +1 -1
  12. package/dist/{ConnectionsDrawer-vSEOHrUC.mjs → ConnectionsDrawer-Bz4uwdFE.mjs} +6 -6
  13. package/dist/{CurrencyInput-BnaVaZBU.mjs → CurrencyInput-BFKcs-_K.mjs} +6 -6
  14. package/dist/{DebtsStore-CFk9t-Ky.mjs → DebtsStore-Bu8rRRSL.mjs} +1 -1
  15. package/dist/{Donut-oaQFlbit.mjs → Donut-Dmy3JTWd.mjs} +12 -12
  16. package/dist/{ExportCsvAction-DSi2a4NQ.mjs → ExportCsvAction-DzTrtPzk.mjs} +3 -3
  17. package/dist/{GoalStore-DxFUJRd4.mjs → GoalStore-CrNhjvNc.mjs} +2 -2
  18. package/dist/{Help-D1I72J-F.mjs → Help-BnPXM_N2.mjs} +1 -1
  19. package/dist/{LineChart-B7MftxPX.mjs → LineChart-bc1D9xBE.mjs} +1 -1
  20. package/dist/{ListItemAction-Dob72eoG.mjs → ListItemAction-uobBrm_a.mjs} +10 -10
  21. package/dist/{ManageIncome-DlAUFShc.mjs → ManageIncome-A69EUO5u.mjs} +4 -4
  22. package/dist/{MicroWidgetContainer-4zS7jJrn.mjs → MicroWidgetContainer-DEiRnYVa.mjs} +1 -1
  23. package/dist/{MiniWidgetContainer-Csioy5P7.mjs → MiniWidgetContainer-CmXpTylX.mjs} +1 -1
  24. package/dist/{NetWorthStore-B6sG1eiD.mjs → NetWorthStore-CpL_kqvx.mjs} +2 -2
  25. package/dist/{NotificationSettings-ByORHzRI.mjs → NotificationSettings-CNmJWVeI.mjs} +3 -3
  26. package/dist/{OriginalBalanceAction-BmSYWwSx.mjs → OriginalBalanceAction-DK8_LkPz.mjs} +3 -3
  27. package/dist/{RecurringSettings-CZvd4Wuv.mjs → RecurringSettings-B0uObPlD.mjs} +12 -12
  28. package/dist/{SpendingLegend-CbNAMdPH.mjs → SpendingLegend-Bf-wbJvb.mjs} +11 -11
  29. package/dist/{TransactionDetails-DnLXfvDL.mjs → TransactionDetails-COH0OKNG.mjs} +5 -5
  30. package/dist/{TransactionStore-BOiv_pDO.mjs → TransactionStore-Dz-G8Wd0.mjs} +2 -2
  31. package/dist/{User-BmdvAL7I.mjs → User-wXzDI4M8.mjs} +1 -1
  32. package/dist/{WidgetContainer-DR_iRKNU.mjs → WidgetContainer-6dsjtOVg.mjs} +2 -2
  33. package/dist/accounts/index.es.js +119 -121
  34. package/dist/analytics/index.es.js +2 -2
  35. package/dist/budgets/index.es.js +10 -10
  36. package/dist/cashflow/index.es.js +8 -8
  37. package/dist/categories/index.es.js +1 -1
  38. package/dist/common/components/charts/index.d.ts +0 -1
  39. package/dist/common/hooks/index.d.ts +0 -1
  40. package/dist/common/index.es.js +96 -100
  41. package/dist/dashboard/index.es.js +88 -90
  42. package/dist/debts/index.es.js +9 -9
  43. package/dist/{exportTransactionsToCSV-DoKUltKJ.mjs → exportTransactionsToCSV-Cz2t0lmA.mjs} +1 -1
  44. package/dist/finstrong/index.es.js +10 -10
  45. package/dist/goals/index.es.js +251 -249
  46. package/dist/help/index.es.js +5 -5
  47. package/dist/{hooks-DtrRa6Lb.mjs → hooks-C41HAxM5.mjs} +10 -10
  48. package/dist/investments/index.es.js +4 -4
  49. package/dist/merchants/index.es.js +1 -1
  50. package/dist/networth/index.es.js +173 -173
  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 +7 -7
  55. package/dist/spending/utils/SpendingData.d.ts +2 -1
  56. package/dist/transactions/index.es.js +13 -13
  57. package/dist/trends/index.es.js +171 -170
  58. package/dist/useAccountDisplayName-CMMlIOXF.mjs +15 -0
  59. package/dist/{useInsightsEnabled-v_GGt72p.mjs → useInsightsEnabled-CNjP5cfR.mjs} +1 -1
  60. package/package.json +1 -1
  61. package/dist/common/hooks/useWidgetLoadTimer.d.ts +0 -24
  62. package/dist/useAccountDisplayName-BUtYhbqe.mjs +0 -15
  63. package/dist/useWidgetLoadTimer-CY26D0n1.mjs +0 -23
@@ -0,0 +1,15 @@
1
+ import s from "react";
2
+ import { g as e } from "./ConnectDrawer-CuUj16NH.mjs";
3
+ import { a as n } from "./hooks-C41HAxM5.mjs";
4
+ const i = (o) => {
5
+ const { config: a } = n();
6
+ return s.useMemo(
7
+ () => e(o, {
8
+ allowNickname: a?.show_account_nicknames_in_master
9
+ }),
10
+ [o, a?.show_account_nicknames_in_master]
11
+ );
12
+ };
13
+ export {
14
+ i as u
15
+ };
@@ -1,5 +1,5 @@
1
1
  import { useState as n, useEffect as a } from "react";
2
- import { g as o } from "./hooks-DtrRa6Lb.mjs";
2
+ import { f as o } from "./hooks-C41HAxM5.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.4.6-alpha.mm2",
3
+ "version": "7.4.7-alpha.mega1",
4
4
  "description": "Library containing experience widgets",
5
5
  "author": "MX",
6
6
  "license": "MIT",
@@ -1,24 +0,0 @@
1
- interface UseWidgetLoadTimerOptions {
2
- widgetName: string;
3
- isLoaded?: boolean;
4
- }
5
- /**
6
- * Tracks widget load time and sends analytics event when loading completes.
7
- *
8
- * Timer starts when hook is called and stops when `isLoaded` becomes true.
9
- *
10
- * @example
11
- * ```typescript
12
- * const SomeWidget = () => {
13
- * const { isInitialized } = useGlobalUiStore()
14
- *
15
- * useWidgetLoadTimer({
16
- * widgetName: 'SomeWidget',
17
- * isLoaded: isInitialized,
18
- * })
19
- * // ...rest of widget code
20
- * }
21
- * ```
22
- */
23
- export declare const useWidgetLoadTimer: ({ widgetName, isLoaded }: UseWidgetLoadTimerOptions) => void;
24
- export {};
@@ -1,15 +0,0 @@
1
- import a from "react";
2
- import { g as e } from "./ConnectDrawer-g2IXvoSS.mjs";
3
- import { b as n } from "./hooks-DtrRa6Lb.mjs";
4
- const i = (o) => {
5
- const { config: s } = n();
6
- return a.useMemo(
7
- () => e(o, {
8
- allowNickname: s?.show_account_nicknames_in_master
9
- }),
10
- [o, s?.show_account_nicknames_in_master]
11
- );
12
- };
13
- export {
14
- i as u
15
- };
@@ -1,23 +0,0 @@
1
- import { useRef as r, useEffect as c } from "react";
2
- import { u as l } from "./hooks-DtrRa6Lb.mjs";
3
- const d = ({ widgetName: n, isLoaded: o = !0 }) => {
4
- const { onEvent: u } = l(), e = r(null), a = r(!1), s = r(!1);
5
- if (console.log("useWidgetLoadTimer called for", n), e.current === null) {
6
- e.current = Date.now();
7
- const t = performance.getEntriesByType("navigation")[0];
8
- s.current = t?.type === "navigate" || t?.type === "reload";
9
- }
10
- c(() => {
11
- if (o && !a.current && e.current !== null) {
12
- const t = Date.now() - e.current;
13
- u("WidgetLoad", {
14
- widgetName: n,
15
- loadTimeMs: t,
16
- loadType: s.current ? "initial" : "secondary"
17
- }), a.current = !0, e.current = null;
18
- }
19
- }, [o, n]);
20
- };
21
- export {
22
- d as u
23
- };