@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.
- package/CHANGELOG.md +12 -0
- package/dist/{Account-BQE_ANvF.mjs → Account-01wOyrH1.mjs} +1 -1
- package/dist/{AccountDetailsContent-C6LkHJuy.mjs → AccountDetailsContent-COMjOzwr.mjs} +8 -8
- package/dist/{AccountDetailsHeader-CCkHHK_n.mjs → AccountDetailsHeader-Cbi5G6fJ.mjs} +4 -4
- package/dist/{AccountFields-DdOw6d6w.mjs → AccountFields-Cd_nOWmf.mjs} +2 -2
- package/dist/{AccountListItem-CZhCiU7q.mjs → AccountListItem-DxY4cCF1.mjs} +4 -4
- package/dist/{AccountStore-kxFbaz-K.mjs → AccountStore-C1zMBzHq.mjs} +2 -2
- package/dist/{Accounts-D_768tYo.mjs → Accounts-D7QljYas.mjs} +1 -1
- package/dist/{BudgetUtil-C5fTz_GJ.mjs → BudgetUtil-Df2nII9u.mjs} +1 -1
- package/dist/{CategorySelectorDrawer-l3tOyiqD.mjs → CategorySelectorDrawer-DqJK_rrL.mjs} +1 -1
- package/dist/{ConnectDrawer-g2IXvoSS.mjs → ConnectDrawer-CuUj16NH.mjs} +1 -1
- package/dist/{ConnectionsDrawer-vSEOHrUC.mjs → ConnectionsDrawer-Bz4uwdFE.mjs} +6 -6
- package/dist/{CurrencyInput-BnaVaZBU.mjs → CurrencyInput-BFKcs-_K.mjs} +6 -6
- package/dist/{DebtsStore-CFk9t-Ky.mjs → DebtsStore-Bu8rRRSL.mjs} +1 -1
- package/dist/{Donut-oaQFlbit.mjs → Donut-Dmy3JTWd.mjs} +12 -12
- package/dist/{ExportCsvAction-DSi2a4NQ.mjs → ExportCsvAction-DzTrtPzk.mjs} +3 -3
- package/dist/{GoalStore-DxFUJRd4.mjs → GoalStore-CrNhjvNc.mjs} +2 -2
- package/dist/{Help-D1I72J-F.mjs → Help-BnPXM_N2.mjs} +1 -1
- package/dist/{LineChart-B7MftxPX.mjs → LineChart-bc1D9xBE.mjs} +1 -1
- package/dist/{ListItemAction-Dob72eoG.mjs → ListItemAction-uobBrm_a.mjs} +10 -10
- package/dist/{ManageIncome-DlAUFShc.mjs → ManageIncome-A69EUO5u.mjs} +4 -4
- package/dist/{MicroWidgetContainer-4zS7jJrn.mjs → MicroWidgetContainer-DEiRnYVa.mjs} +1 -1
- package/dist/{MiniWidgetContainer-Csioy5P7.mjs → MiniWidgetContainer-CmXpTylX.mjs} +1 -1
- package/dist/{NetWorthStore-B6sG1eiD.mjs → NetWorthStore-CpL_kqvx.mjs} +2 -2
- package/dist/{NotificationSettings-ByORHzRI.mjs → NotificationSettings-CNmJWVeI.mjs} +3 -3
- package/dist/{OriginalBalanceAction-BmSYWwSx.mjs → OriginalBalanceAction-DK8_LkPz.mjs} +3 -3
- package/dist/{RecurringSettings-CZvd4Wuv.mjs → RecurringSettings-B0uObPlD.mjs} +12 -12
- package/dist/{SpendingLegend-CbNAMdPH.mjs → SpendingLegend-Bf-wbJvb.mjs} +11 -11
- package/dist/{TransactionDetails-DnLXfvDL.mjs → TransactionDetails-COH0OKNG.mjs} +5 -5
- package/dist/{TransactionStore-BOiv_pDO.mjs → TransactionStore-Dz-G8Wd0.mjs} +2 -2
- package/dist/{User-BmdvAL7I.mjs → User-wXzDI4M8.mjs} +1 -1
- package/dist/{WidgetContainer-DR_iRKNU.mjs → WidgetContainer-6dsjtOVg.mjs} +2 -2
- package/dist/accounts/index.es.js +119 -121
- package/dist/analytics/index.es.js +2 -2
- package/dist/budgets/index.es.js +10 -10
- package/dist/cashflow/index.es.js +8 -8
- package/dist/categories/index.es.js +1 -1
- package/dist/common/components/charts/index.d.ts +0 -1
- package/dist/common/hooks/index.d.ts +0 -1
- package/dist/common/index.es.js +96 -100
- package/dist/dashboard/index.es.js +88 -90
- package/dist/debts/index.es.js +9 -9
- package/dist/{exportTransactionsToCSV-DoKUltKJ.mjs → exportTransactionsToCSV-Cz2t0lmA.mjs} +1 -1
- package/dist/finstrong/index.es.js +10 -10
- package/dist/goals/index.es.js +251 -249
- package/dist/help/index.es.js +5 -5
- package/dist/{hooks-DtrRa6Lb.mjs → hooks-C41HAxM5.mjs} +10 -10
- package/dist/investments/index.es.js +4 -4
- package/dist/merchants/index.es.js +1 -1
- package/dist/networth/index.es.js +173 -173
- 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 +7 -7
- package/dist/spending/utils/SpendingData.d.ts +2 -1
- package/dist/transactions/index.es.js +13 -13
- package/dist/trends/index.es.js +171 -170
- package/dist/useAccountDisplayName-CMMlIOXF.mjs +15 -0
- package/dist/{useInsightsEnabled-v_GGt72p.mjs → useInsightsEnabled-CNjP5cfR.mjs} +1 -1
- package/package.json +1 -1
- package/dist/common/hooks/useWidgetLoadTimer.d.ts +0 -24
- package/dist/useAccountDisplayName-BUtYhbqe.mjs +0 -15
- 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
|
+
};
|
package/package.json
CHANGED
|
@@ -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
|
-
};
|