@mx-cartographer/experiences 4.2.2-alpha.mega4 → 4.2.2-alpha.mega6
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/index.es.js +295 -292
- package/dist/index.es.js.map +1 -1
- package/package.json +2 -1
package/dist/index.es.js
CHANGED
|
@@ -294,7 +294,7 @@ const lc = async (e, A, n = "1.0.0", a = "Experiences") => {
|
|
|
294
294
|
TRENDS_HOVER_POINT: "trends_widget_hover_chart_point",
|
|
295
295
|
TRENDS_VIEW_TRANSACTIONS: "trends_widget_view_transactions",
|
|
296
296
|
WIDGET_BACK_CLICK: "widget_back_button_click"
|
|
297
|
-
}, dc = "do",
|
|
297
|
+
}, dc = "do", W8 = "MMM do, yyyy", $ = {
|
|
298
298
|
TIME_STAMP_HOUR_MINUTE: {
|
|
299
299
|
hour: "numeric",
|
|
300
300
|
minute: "numeric"
|
|
@@ -379,7 +379,7 @@ const hc = [
|
|
|
379
379
|
/* IMPAIRED */
|
|
380
380
|
], yo = [...vo, ...fo];
|
|
381
381
|
var ct = /* @__PURE__ */ ((e) => (e.Connected = "Connected", e.Error = "Error", e.Processing = "Processing", e.RequiresMfa = "RequiresMfa", e))(ct || {});
|
|
382
|
-
const
|
|
382
|
+
const V8 = {
|
|
383
383
|
3: "Challenged",
|
|
384
384
|
12: "Closed",
|
|
385
385
|
9: "Degraded",
|
|
@@ -429,7 +429,7 @@ const W8 = {
|
|
|
429
429
|
2: "savings"
|
|
430
430
|
}, gc = {
|
|
431
431
|
5: "bid_landscape"
|
|
432
|
-
},
|
|
432
|
+
}, Y8 = {
|
|
433
433
|
0: "Real Estate",
|
|
434
434
|
1: "Vehicle",
|
|
435
435
|
2: "Art",
|
|
@@ -769,7 +769,7 @@ const W8 = {
|
|
|
769
769
|
UNKNOWN: "help"
|
|
770
770
|
}, Ya = 9999999999e-2;
|
|
771
771
|
var an = /* @__PURE__ */ ((e) => (e.CAD = "CAD", e.USD = "USD", e))(an || {}), G = /* @__PURE__ */ ((e) => (e[e.Unknown = 0] = "Unknown", e[e.EveryWeek = 1] = "EveryWeek", e[e.EveryOtherWeek = 2] = "EveryOtherWeek", e[e.EveryMonth = 3] = "EveryMonth", e[e.EveryOtherMonth = 4] = "EveryOtherMonth", e[e.EveryQuarter = 5] = "EveryQuarter", e[e.EveryOtherQuarter = 6] = "EveryOtherQuarter", e[e.EveryYear = 7] = "EveryYear", e))(G || {});
|
|
772
|
-
const
|
|
772
|
+
const J8 = [
|
|
773
773
|
{ id: 0, copy: "frequency_unknown" },
|
|
774
774
|
{ id: 1, copy: "frequency_every_week" },
|
|
775
775
|
{ id: 2, copy: "frequency_every_other_week" },
|
|
@@ -778,7 +778,7 @@ const Y8 = [
|
|
|
778
778
|
{ id: 5, copy: "frequency_every_quarter" },
|
|
779
779
|
{ id: 6, copy: "frequency_every_other_quarter" },
|
|
780
780
|
{ id: 7, copy: "frequency_every_year" }
|
|
781
|
-
],
|
|
781
|
+
], Z8 = {
|
|
782
782
|
ERROR: "ERROR",
|
|
783
783
|
LOADING: "LOADING",
|
|
784
784
|
SUCCESS: "SUCCESS"
|
|
@@ -790,7 +790,7 @@ const Dt = 44, Ja = (e, A) => e.find((n) => n.guid === A), yc = (e, A) => e.find
|
|
|
790
790
|
const n = e.find((a) => a.subCategories.find((r) => r.guid === A));
|
|
791
791
|
if (n)
|
|
792
792
|
return n.subCategories.find((a) => a.guid === A);
|
|
793
|
-
},
|
|
793
|
+
}, $8 = (e, A) => {
|
|
794
794
|
const n = [];
|
|
795
795
|
for (const a of A) {
|
|
796
796
|
const r = Ja(e, a.category_guid);
|
|
@@ -811,7 +811,7 @@ const Dt = 44, Ja = (e, A) => e.find((n) => n.guid === A), yc = (e, A) => e.find
|
|
|
811
811
|
});
|
|
812
812
|
}
|
|
813
813
|
return n;
|
|
814
|
-
},
|
|
814
|
+
}, e3 = (e, A) => {
|
|
815
815
|
const n = e.find((a) => a.guid === A);
|
|
816
816
|
return n ? n.guid === b.INCOME || n.parent_guid === b.INCOME : !1;
|
|
817
817
|
}, bc = /(?<static>.*?)(?<dynamic>(?:_\d+{(?:.*?)}))|(?<staticEnd>.+)/g, P = (e, ...A) => {
|
|
@@ -834,7 +834,7 @@ const Dt = 44, Ja = (e, A) => e.find((n) => n.guid === A), yc = (e, A) => e.find
|
|
|
834
834
|
[]
|
|
835
835
|
);
|
|
836
836
|
return n ? r : r.join("");
|
|
837
|
-
},
|
|
837
|
+
}, A3 = (e, A, n, ...a) => !e || !A ? "" : P(n === 1 ? e : A, ...a), nt = () => (window?.app?.options?.language || document.querySelector("html")?.getAttribute("lang") || "en-US").toLowerCase();
|
|
838
838
|
class Xe {
|
|
839
839
|
endpoint = "/";
|
|
840
840
|
headers = {};
|
|
@@ -1018,7 +1018,7 @@ class on {
|
|
|
1018
1018
|
}
|
|
1019
1019
|
getGlobalCopy = async (A, n) => this.fetchInstance.post(`${N.LOCALIZED_CONTENT}/${A}`, { translation_key: n }).then((a) => a);
|
|
1020
1020
|
}
|
|
1021
|
-
class
|
|
1021
|
+
class t3 {
|
|
1022
1022
|
fetchInstance;
|
|
1023
1023
|
constructor(A, n) {
|
|
1024
1024
|
this.fetchInstance = new Xe(A, n);
|
|
@@ -1306,7 +1306,7 @@ const Nc = (e, A) => {
|
|
|
1306
1306
|
isSmallTablet: Lt(be().breakpoints.between("md", "lg")),
|
|
1307
1307
|
// Between 768 and 1200
|
|
1308
1308
|
isTablet: Lt(be().breakpoints.between("md", "xl"))
|
|
1309
|
-
}),
|
|
1309
|
+
}), n3 = (e) => {
|
|
1310
1310
|
const A = $r();
|
|
1311
1311
|
return At(() => {
|
|
1312
1312
|
A.current = e;
|
|
@@ -1576,7 +1576,7 @@ const Nc = (e, A) => {
|
|
|
1576
1576
|
}), qc = (e, A) => e + A, zc = (e, A) => Math.abs(A) > e ? Math.abs(A) : e, kc = (e, A) => [...e, A.value], rr = (e, A, n) => {
|
|
1577
1577
|
const a = e && A ? n / 2 : n;
|
|
1578
1578
|
return e ? a : 0;
|
|
1579
|
-
}, Gc = (e, A, n, a) => e / (A < 0 ? -n : A) * a || 0,
|
|
1579
|
+
}, Gc = (e, A, n, a) => e / (A < 0 ? -n : A) * a || 0, a3 = ({
|
|
1580
1580
|
average: e,
|
|
1581
1581
|
barWidth: A = "8%",
|
|
1582
1582
|
color: n,
|
|
@@ -2107,7 +2107,7 @@ const Vc = ({
|
|
|
2107
2107
|
}
|
|
2108
2108
|
)
|
|
2109
2109
|
] });
|
|
2110
|
-
}, ut = g.createContext(null),
|
|
2110
|
+
}, ut = g.createContext(null), r3 = ({
|
|
2111
2111
|
children: e,
|
|
2112
2112
|
globalStore: A,
|
|
2113
2113
|
onEvent: n,
|
|
@@ -2138,7 +2138,7 @@ const Vc = ({
|
|
|
2138
2138
|
if (!A)
|
|
2139
2139
|
throw new Error(`${e}() must be used within the GlobalDataContext`);
|
|
2140
2140
|
return A;
|
|
2141
|
-
}, pe = () => ke("useAccountStore").globalStore.accountStore, Fe = () => ke("useBudgetsStore").globalStore.budgetsStore, Ca = () => ke("useCashflowStore").globalStore.cashflowStore, Pe = () => ke("useCategoryStore").globalStore.categoryStore, Oo = () => ke("useConnectStore").globalStore.connectStore, Po = () => ke("useDebtsStore").globalStore.debtsStore, wn = () => ke("useGlobalStore").globalStore, fe = () => ke("useGlobalUiStore").globalStore.globalUiStore, _ = () => ke("globalCopyStore").globalStore.copyStore.copy, We = () => ke("useGoalStore").globalStore.goalStore, rl = () => ke("useHelpStore").globalStore.helpStore, ol = () => ke("useMerchantStore").globalStore.merchantStore, il = () => ke("useNetWorthStore").globalStore.netWorthStore, No = () => ke("useNotificationStore").globalStore.notificationStore, Ge = () => ke("useRecurringActivityStore").globalStore.recurringActivityStore,
|
|
2141
|
+
}, pe = () => ke("useAccountStore").globalStore.accountStore, Fe = () => ke("useBudgetsStore").globalStore.budgetsStore, Ca = () => ke("useCashflowStore").globalStore.cashflowStore, Pe = () => ke("useCategoryStore").globalStore.categoryStore, Oo = () => ke("useConnectStore").globalStore.connectStore, Po = () => ke("useDebtsStore").globalStore.debtsStore, wn = () => ke("useGlobalStore").globalStore, fe = () => ke("useGlobalUiStore").globalStore.globalUiStore, _ = () => ke("globalCopyStore").globalStore.copyStore.copy, We = () => ke("useGoalStore").globalStore.goalStore, rl = () => ke("useHelpStore").globalStore.helpStore, ol = () => ke("useMerchantStore").globalStore.merchantStore, il = () => ke("useNetWorthStore").globalStore.netWorthStore, No = () => ke("useNotificationStore").globalStore.notificationStore, Ge = () => ke("useRecurringActivityStore").globalStore.recurringActivityStore, o3 = () => ke("useSettingsStore").globalStore.settingsStore, me = () => ke("useTransactionStore").globalStore.transactionStore, ht = () => ke("useUserStore").globalStore.userStore, Q = () => ({ onEvent: ke().onEvent }), i3 = () => ({ onPageView: ke().onPageView }), sl = (e = "useWidgetContainerContext") => {
|
|
2142
2142
|
const A = g.useContext(Do);
|
|
2143
2143
|
if (!A)
|
|
2144
2144
|
throw new Error(`${e}() must be used within the WidgetContainerContext`);
|
|
@@ -2925,7 +2925,7 @@ const Vc = ({
|
|
|
2925
2925
|
}
|
|
2926
2926
|
)
|
|
2927
2927
|
] });
|
|
2928
|
-
},
|
|
2928
|
+
}, s3 = ({
|
|
2929
2929
|
hasGap: e = !1,
|
|
2930
2930
|
segments: A,
|
|
2931
2931
|
size: n = bo,
|
|
@@ -3399,7 +3399,7 @@ const ir = "connect_widget", sr = "connections_widget", vl = ({
|
|
|
3399
3399
|
/* @__PURE__ */ t(aa, { size: A }),
|
|
3400
3400
|
e && /* @__PURE__ */ t(p, { children: e })
|
|
3401
3401
|
] });
|
|
3402
|
-
},
|
|
3402
|
+
}, c3 = ({
|
|
3403
3403
|
icon: e,
|
|
3404
3404
|
label: A,
|
|
3405
3405
|
onClick: n,
|
|
@@ -4102,7 +4102,7 @@ const _t = () => {
|
|
|
4102
4102
|
children: /* @__PURE__ */ t(Pl, { onAddIncomeClick: e })
|
|
4103
4103
|
}
|
|
4104
4104
|
);
|
|
4105
|
-
},
|
|
4105
|
+
}, l3 = w(Nl);
|
|
4106
4106
|
class gr {
|
|
4107
4107
|
fetchInstance;
|
|
4108
4108
|
constructor(A, n) {
|
|
@@ -7111,7 +7111,7 @@ const Go = ({ transaction: e }) => {
|
|
|
7111
7111
|
]
|
|
7112
7112
|
}
|
|
7113
7113
|
);
|
|
7114
|
-
},
|
|
7114
|
+
}, h3 = w(gu), Xo = (e, A) => {
|
|
7115
7115
|
const n = {
|
|
7116
7116
|
...A,
|
|
7117
7117
|
repeat_day: null,
|
|
@@ -8412,7 +8412,7 @@ const Go = ({ transaction: e }) => {
|
|
|
8412
8412
|
]
|
|
8413
8413
|
}
|
|
8414
8414
|
);
|
|
8415
|
-
},
|
|
8415
|
+
}, g3 = w(Xu), Wu = () => {
|
|
8416
8416
|
const { recurring: e } = _(), { selectedAccountGuids: A } = fe(), { selectedDay: n, selectedDayActivities: a, setSelectedDay: r, upcomingActivities: o } = Ge(), i = g.useMemo(
|
|
8417
8417
|
() => o.filter(
|
|
8418
8418
|
(d) => A.includes(d.accountGuid || "")
|
|
@@ -8455,7 +8455,7 @@ const Go = ({ transaction: e }) => {
|
|
|
8455
8455
|
children: /* @__PURE__ */ t(Vu, {})
|
|
8456
8456
|
}
|
|
8457
8457
|
);
|
|
8458
|
-
},
|
|
8458
|
+
}, m3 = w(Yu);
|
|
8459
8459
|
class Ju {
|
|
8460
8460
|
globalStore;
|
|
8461
8461
|
api = new er("/", "");
|
|
@@ -9683,7 +9683,7 @@ const ih = ({ activity: e }) => /* @__PURE__ */ l(J, { children: [
|
|
|
9683
9683
|
children: /* @__PURE__ */ t(Sh, {})
|
|
9684
9684
|
}
|
|
9685
9685
|
);
|
|
9686
|
-
},
|
|
9686
|
+
}, C3 = w(Th);
|
|
9687
9687
|
class xr {
|
|
9688
9688
|
fetchInstance;
|
|
9689
9689
|
constructor(A, n) {
|
|
@@ -11295,7 +11295,7 @@ const YA = (e) => /* @__PURE__ */ t(p, { fontWeight: 600, variant: "Small", chil
|
|
|
11295
11295
|
]
|
|
11296
11296
|
}
|
|
11297
11297
|
);
|
|
11298
|
-
},
|
|
11298
|
+
}, f3 = w(Eg), bg = {
|
|
11299
11299
|
unnamed_label: "Unnamed Debt"
|
|
11300
11300
|
};
|
|
11301
11301
|
function wg(e, A) {
|
|
@@ -12275,7 +12275,7 @@ const di = w(
|
|
|
12275
12275
|
}
|
|
12276
12276
|
)
|
|
12277
12277
|
] });
|
|
12278
|
-
}),
|
|
12278
|
+
}), v3 = w(({ onBackClick: e, sx: A }) => {
|
|
12279
12279
|
const { onEvent: n } = Q(), { isMobile: a } = De(), { accounts: r } = pe(), { isInitialized: o, setSelectedAccounts: i } = fe(), { goals: s, common: c } = _(), { alert: d, loadGoals: u, monthlyCashFlowProfile: h, setAlert: m } = We(), [C, f] = g.useState(0), [y, v] = g.useState(!1), S = h?.amount_allocated_for_savings_goals || 0, L = h?.amount_allocated_for_debt_goals || 0, I = h?.amount_allocated_for_retirement_goals || 0, T = P(
|
|
12280
12280
|
a ? s.tab_subtitle_mobile : s.tab_subtitle,
|
|
12281
12281
|
R(S, "0,0")
|
|
@@ -12828,7 +12828,7 @@ const Vg = /^[ a-zA-ZÀ-ÿ0-9]+$/, Yg = 50, Nr = 65, Jg = ({
|
|
|
12828
12828
|
!a.length && /* @__PURE__ */ t(E, { alignItems: "center", my: 24, children: /* @__PURE__ */ t(p, { bold: !0, color: "secondary", variant: "Small", children: o.search_zero_state }) })
|
|
12829
12829
|
] }) }) })
|
|
12830
12830
|
] });
|
|
12831
|
-
},
|
|
12831
|
+
}, y3 = w(Jg);
|
|
12832
12832
|
class Mr {
|
|
12833
12833
|
fetchInstance;
|
|
12834
12834
|
constructor(A, n) {
|
|
@@ -13316,7 +13316,7 @@ const i1 = ({
|
|
|
13316
13316
|
] }))
|
|
13317
13317
|
] })
|
|
13318
13318
|
] });
|
|
13319
|
-
}, y1 = w(v1),
|
|
13319
|
+
}, y1 = w(v1), E3 = w(({ onBackClick: e }) => {
|
|
13320
13320
|
const { isInitialized: A, selectedAccounts: n, setSelectedAccounts: a } = fe(), { net_worth: r } = _(), { accounts: o } = pe(), {
|
|
13321
13321
|
assetsLiabilities: i,
|
|
13322
13322
|
gainsLosses: s,
|
|
@@ -13411,7 +13411,7 @@ const i1 = ({
|
|
|
13411
13411
|
] })
|
|
13412
13412
|
}
|
|
13413
13413
|
) : /* @__PURE__ */ t(Qe, {});
|
|
13414
|
-
}),
|
|
13414
|
+
}), b3 = (e) => {
|
|
13415
13415
|
switch (e) {
|
|
13416
13416
|
case qe.BudgetExceeded:
|
|
13417
13417
|
case qe.BudgetOffTarget:
|
|
@@ -13544,7 +13544,7 @@ const w1 = (e, A) => {
|
|
|
13544
13544
|
] }, i.guid);
|
|
13545
13545
|
})
|
|
13546
13546
|
] });
|
|
13547
|
-
},
|
|
13547
|
+
}, w3 = w(L1);
|
|
13548
13548
|
class Kr {
|
|
13549
13549
|
fetchInstance;
|
|
13550
13550
|
constructor(A, n) {
|
|
@@ -13698,23 +13698,26 @@ const P1 = {
|
|
|
13698
13698
|
children: /* @__PURE__ */ t(re, { variant: "contained", children: P1.request_button })
|
|
13699
13699
|
}
|
|
13700
13700
|
)
|
|
13701
|
-
] }), M1 = ({
|
|
13701
|
+
] }), M1 = (e) => g.lazy(() => import(`./components/content/section/${e}`)), R1 = ({
|
|
13702
13702
|
hasRequestButton: e = !1,
|
|
13703
13703
|
onNavigateToList: A,
|
|
13704
|
-
topicInfo: { category: n, pageTitle: a }
|
|
13705
|
-
}) =>
|
|
13706
|
-
|
|
13707
|
-
|
|
13708
|
-
|
|
13709
|
-
|
|
13710
|
-
|
|
13711
|
-
|
|
13712
|
-
|
|
13713
|
-
|
|
13714
|
-
|
|
13715
|
-
|
|
13716
|
-
|
|
13717
|
-
|
|
13704
|
+
topicInfo: { category: n, pageTitle: a, topicKey: r }
|
|
13705
|
+
}) => {
|
|
13706
|
+
const { help: o } = _(), i = M1(n.replace(" ", ""));
|
|
13707
|
+
return /* @__PURE__ */ l(J, { children: [
|
|
13708
|
+
/* @__PURE__ */ t(
|
|
13709
|
+
N1,
|
|
13710
|
+
{
|
|
13711
|
+
hasRequestButton: e,
|
|
13712
|
+
onNavigateToList: A,
|
|
13713
|
+
title: n,
|
|
13714
|
+
topicTitle: a
|
|
13715
|
+
}
|
|
13716
|
+
),
|
|
13717
|
+
/* @__PURE__ */ t(RA, { color: "text.primary", sx: { mt: 24, whiteSpace: { sm: "nowrap", xs: "wrap" } }, children: a }),
|
|
13718
|
+
/* @__PURE__ */ t(O1, { children: /* @__PURE__ */ t(g.Suspense, { fallback: /* @__PURE__ */ t(Qe, {}), children: i && /* @__PURE__ */ t(i, { copy: o, topicKey: r }) }) })
|
|
13719
|
+
] });
|
|
13720
|
+
}, B1 = ({
|
|
13718
13721
|
buttonText: e,
|
|
13719
13722
|
hasRequestButton: A = !1,
|
|
13720
13723
|
helpCategories: n = [],
|
|
@@ -13818,7 +13821,7 @@ const P1 = {
|
|
|
13818
13821
|
button_text: "Request Help",
|
|
13819
13822
|
help_content: "Find answers, get support, and learn how to make the most of your experience.",
|
|
13820
13823
|
help_title: "Help Tool"
|
|
13821
|
-
},
|
|
13824
|
+
}, H1 = ({ sx: e = {} }) => {
|
|
13822
13825
|
const [A, n] = g.useState(null), { isInitialized: a } = wn(), { appConfig: r, helpCategories: o, loadAppConfig: i } = rl(), s = window.app?.config;
|
|
13823
13826
|
g.useEffect(() => {
|
|
13824
13827
|
!a || !s || i(s);
|
|
@@ -13826,14 +13829,14 @@ const P1 = {
|
|
|
13826
13829
|
const c = () => {
|
|
13827
13830
|
}, d = (u) => n(u);
|
|
13828
13831
|
return !a || !r ? /* @__PURE__ */ t(Qe, {}) : /* @__PURE__ */ t(lA, { sx: e, children: A ? /* @__PURE__ */ t(
|
|
13829
|
-
|
|
13832
|
+
R1,
|
|
13830
13833
|
{
|
|
13831
13834
|
hasRequestButton: s?.enable_support_requests,
|
|
13832
13835
|
onNavigateToList: () => n(null),
|
|
13833
13836
|
topicInfo: A
|
|
13834
13837
|
}
|
|
13835
13838
|
) : /* @__PURE__ */ t(
|
|
13836
|
-
|
|
13839
|
+
B1,
|
|
13837
13840
|
{
|
|
13838
13841
|
buttonText: kn.button_text,
|
|
13839
13842
|
hasRequestButton: s?.enable_support_requests,
|
|
@@ -13844,7 +13847,7 @@ const P1 = {
|
|
|
13844
13847
|
onTopicSelect: d
|
|
13845
13848
|
}
|
|
13846
13849
|
) });
|
|
13847
|
-
},
|
|
13850
|
+
}, K1 = w(H1), qr = w(
|
|
13848
13851
|
({ contactType: e, contactValue: A, isOpen: n, onClose: a, onSendVerification: r }) => {
|
|
13849
13852
|
const o = be(), { common: i, settings: s } = _();
|
|
13850
13853
|
return /* @__PURE__ */ l(
|
|
@@ -13906,7 +13909,7 @@ const P1 = {
|
|
|
13906
13909
|
}
|
|
13907
13910
|
);
|
|
13908
13911
|
}
|
|
13909
|
-
),
|
|
13912
|
+
), q1 = w(() => {
|
|
13910
13913
|
const { common: e, settings: A } = _(), { isDesktop: n, isMobile: a, isSmallMobile: r, isTablet: o } = De(), { user: i, emailVerificationSent: s, resetEmailVerificationSent: c, sendEmailVerification: d } = ht(), [u, h] = g.useState(!1), [m, C] = g.useState(!1), f = i.birthday ? Ye(_e(i.birthday), "MM/dd/yyyy") : "", y = i.email && !i.email_is_verified, v = i.phone && !i.phone_is_verified;
|
|
13911
13914
|
return /* @__PURE__ */ l(
|
|
13912
13915
|
M,
|
|
@@ -14047,7 +14050,7 @@ const P1 = {
|
|
|
14047
14050
|
]
|
|
14048
14051
|
}
|
|
14049
14052
|
);
|
|
14050
|
-
}),
|
|
14053
|
+
}), _3 = w(({ onBackClick: e, sx: A }) => {
|
|
14051
14054
|
const { settings: n } = _(), { isMobile: a } = De(), [r, o] = g.useState(0);
|
|
14052
14055
|
return /* @__PURE__ */ t(lA, { onBackClick: e, sx: A, title: n.title, children: /* @__PURE__ */ l(E, { mx: a ? 0 : 48, my: 24, children: [
|
|
14053
14056
|
/* @__PURE__ */ l(
|
|
@@ -14067,14 +14070,14 @@ const P1 = {
|
|
|
14067
14070
|
}
|
|
14068
14071
|
),
|
|
14069
14072
|
/* @__PURE__ */ t(M, { sx: { borderBottom: 2, borderColor: "divider", mt: -2 } }),
|
|
14070
|
-
r === 0 && /* @__PURE__ */ t(
|
|
14073
|
+
r === 0 && /* @__PURE__ */ t(q1, {}),
|
|
14071
14074
|
r === 1 && /* @__PURE__ */ t(E, { children: "Mobile Devices" }),
|
|
14072
14075
|
r === 2 && /* @__PURE__ */ t(E, { children: "Notifications" }),
|
|
14073
14076
|
r === 3 && /* @__PURE__ */ t(E, { children: "Transaction rules" }),
|
|
14074
|
-
r === 4 && /* @__PURE__ */ t(
|
|
14077
|
+
r === 4 && /* @__PURE__ */ t(K1, {})
|
|
14075
14078
|
] }) });
|
|
14076
14079
|
});
|
|
14077
|
-
class
|
|
14080
|
+
class z1 {
|
|
14078
14081
|
globalStore;
|
|
14079
14082
|
emailVerificationSent = void 0;
|
|
14080
14083
|
userFeatures = [];
|
|
@@ -14131,7 +14134,7 @@ class q1 {
|
|
|
14131
14134
|
}
|
|
14132
14135
|
};
|
|
14133
14136
|
}
|
|
14134
|
-
class
|
|
14137
|
+
class S3 {
|
|
14135
14138
|
accountStore;
|
|
14136
14139
|
appDataStore;
|
|
14137
14140
|
beatStore;
|
|
@@ -14153,7 +14156,7 @@ class _3 {
|
|
|
14153
14156
|
globalUiStore;
|
|
14154
14157
|
isInitialized = !1;
|
|
14155
14158
|
constructor() {
|
|
14156
|
-
this.accountStore = new
|
|
14159
|
+
this.accountStore = new mm(this), this.appDataStore = new _l(), this.beatStore = new Sl(), this.budgetsStore = new Dl(this), this.cashflowStore = new Lh(this), this.categoryStore = new Md(this), this.connectStore = new Dh(this), this.copyStore = new wl(), this.debtsStore = new Sg(this), this.goalStore = new Fg(this), this.helpStore = new Wg(this), this.merchantStore = new Zg(), this.netWorthStore = new o1(this), this.notificationStore = new b1(), this.recurringActivityStore = new Ju(this), this.settingsStore = new D1(), this.transactionStore = new Xl(this), this.userStore = new z1(this), this.globalUiStore = new Tg(this), Se(this);
|
|
14157
14160
|
}
|
|
14158
14161
|
initialize = async (A, n) => {
|
|
14159
14162
|
await this.copyStore.initialize(A, n), await this.appDataStore.initialize(A, n), Promise.all([
|
|
@@ -14186,13 +14189,13 @@ const Gn = ({
|
|
|
14186
14189
|
e
|
|
14187
14190
|
] }) }),
|
|
14188
14191
|
/* @__PURE__ */ t(K, { sx: { ml: A ? 0 : 24 } })
|
|
14189
|
-
] }),
|
|
14192
|
+
] }), k1 = () => {
|
|
14190
14193
|
const { accounts: e } = pe(), { selectedAccount: A, selectedMember: n } = hA();
|
|
14191
14194
|
return e.filter(
|
|
14192
14195
|
(a) => a.member_guid === n.guid && n.successfully_aggregated_at && a.guid !== A.guid
|
|
14193
14196
|
);
|
|
14194
|
-
},
|
|
14195
|
-
const [e, A] = g.useState(!1), [n, a] = g.useState(!1), [r, o] = g.useState(!1), [i, s] = g.useState({}), { selectedAccount: c } = hA(), { mergeAccounts: d, updateAccount: u } = pe(), { accounts: h } = _(), m =
|
|
14197
|
+
}, G1 = () => {
|
|
14198
|
+
const [e, A] = g.useState(!1), [n, a] = g.useState(!1), [r, o] = g.useState(!1), [i, s] = g.useState({}), { selectedAccount: c } = hA(), { mergeAccounts: d, updateAccount: u } = pe(), { accounts: h } = _(), m = k1(), { onEvent: C } = Q(), f = (v) => {
|
|
14196
14199
|
u({
|
|
14197
14200
|
...c,
|
|
14198
14201
|
...v
|
|
@@ -14305,7 +14308,7 @@ const Gn = ({
|
|
|
14305
14308
|
}
|
|
14306
14309
|
)
|
|
14307
14310
|
] });
|
|
14308
|
-
},
|
|
14311
|
+
}, U1 = w(G1), mi = (e, A) => {
|
|
14309
14312
|
const { connection_messages: n } = A;
|
|
14310
14313
|
switch (e.connection_status) {
|
|
14311
14314
|
case je.CHALLENGED:
|
|
@@ -14463,7 +14466,7 @@ const Gn = ({
|
|
|
14463
14466
|
gridRow: 1,
|
|
14464
14467
|
gridColumn: 1,
|
|
14465
14468
|
zIndex: 2
|
|
14466
|
-
},
|
|
14469
|
+
}, F1 = () => {
|
|
14467
14470
|
const [e, A] = g.useState(!1), {
|
|
14468
14471
|
palette: { mode: n }
|
|
14469
14472
|
} = be(), { selectedMember: a } = hA(), { accounts: r, connect: o } = _(), i = mi(a, o), s = yo.includes(a.connection_status) ? {
|
|
@@ -14535,7 +14538,7 @@ const Gn = ({
|
|
|
14535
14538
|
}
|
|
14536
14539
|
)
|
|
14537
14540
|
] });
|
|
14538
|
-
},
|
|
14541
|
+
}, j1 = w(F1), Q1 = ({ field: e, isOpen: A, onClose: n }) => {
|
|
14539
14542
|
const { updateAccount: a } = pe(), { selectedAccount: r } = hA(), { accounts: o } = _(), [i, s] = g.useState(r[e.name]), [c, d] = g.useState(""), [u, h] = g.useState(!0), m = () => {
|
|
14540
14543
|
s(""), d(""), n();
|
|
14541
14544
|
}, C = () => {
|
|
@@ -14621,7 +14624,7 @@ const Gn = ({
|
|
|
14621
14624
|
children: C()
|
|
14622
14625
|
}
|
|
14623
14626
|
);
|
|
14624
|
-
},
|
|
14627
|
+
}, X1 = w(Q1), W1 = () => {
|
|
14625
14628
|
const e = window.app?.config, { onEvent: A } = Q(), { selectedAccount: n } = hA(), { accounts: a } = _(), r = ah(n, a), o = n.member_is_managed_by_user || !n.member_is_managed_by_user && e.enable_renaming_home_accounts, [i, s] = g.useState(!1), [c, d] = g.useState(r[0]), u = r.filter(
|
|
14626
14629
|
(h) => o || n[h.name] || n[h.name] === 0
|
|
14627
14630
|
);
|
|
@@ -14655,7 +14658,7 @@ const Gn = ({
|
|
|
14655
14658
|
] }) }, h.name);
|
|
14656
14659
|
}),
|
|
14657
14660
|
i && c && /* @__PURE__ */ t(
|
|
14658
|
-
|
|
14661
|
+
X1,
|
|
14659
14662
|
{
|
|
14660
14663
|
field: c,
|
|
14661
14664
|
isOpen: i,
|
|
@@ -14663,14 +14666,14 @@ const Gn = ({
|
|
|
14663
14666
|
}
|
|
14664
14667
|
)
|
|
14665
14668
|
] });
|
|
14666
|
-
},
|
|
14669
|
+
}, V1 = w(W1), Y1 = () => {
|
|
14667
14670
|
const { onEvent: e } = Q();
|
|
14668
14671
|
return g.useEffect(() => e(q.ACCOUNT_DETAILS_VIEW), []), /* @__PURE__ */ l(ae, { children: [
|
|
14669
|
-
/* @__PURE__ */ t(
|
|
14670
|
-
/* @__PURE__ */ t(
|
|
14671
|
-
/* @__PURE__ */ t(
|
|
14672
|
+
/* @__PURE__ */ t(V1, {}),
|
|
14673
|
+
/* @__PURE__ */ t(j1, {}),
|
|
14674
|
+
/* @__PURE__ */ t(U1, {})
|
|
14672
14675
|
] });
|
|
14673
|
-
},
|
|
14676
|
+
}, J1 = w(Y1), Z1 = ({ setTabValue: e }) => {
|
|
14674
14677
|
const [A, n] = g.useState(!1), { selectedMember: a } = hA(), { accounts: r, connect: o } = _(), i = a.connection_status && yo.includes(a.connection_status);
|
|
14675
14678
|
if (g.useEffect(() => {
|
|
14676
14679
|
i && e(1);
|
|
@@ -14726,7 +14729,7 @@ const Gn = ({
|
|
|
14726
14729
|
}
|
|
14727
14730
|
)
|
|
14728
14731
|
] });
|
|
14729
|
-
},
|
|
14732
|
+
}, $1 = w(Z1), em = () => {
|
|
14730
14733
|
const [e, A] = g.useState(""), { onEvent: n } = Q(), { selectedAccount: a } = hA(), { accounts: r } = _(), { setFilter: o, sortedTransactions: i } = me(), s = g.useMemo(() => i.find((c) => c.guid === e), [e]);
|
|
14731
14734
|
return g.useEffect(() => {
|
|
14732
14735
|
o({
|
|
@@ -14746,10 +14749,10 @@ const Gn = ({
|
|
|
14746
14749
|
}
|
|
14747
14750
|
)
|
|
14748
14751
|
] });
|
|
14749
|
-
},
|
|
14752
|
+
}, Am = w(em), tm = () => {
|
|
14750
14753
|
const [e, A] = g.useState(0), { accounts: n } = _();
|
|
14751
14754
|
return /* @__PURE__ */ l(J, { children: [
|
|
14752
|
-
/* @__PURE__ */ t(
|
|
14755
|
+
/* @__PURE__ */ t($1, { setTabValue: A }),
|
|
14753
14756
|
/* @__PURE__ */ l(
|
|
14754
14757
|
OA,
|
|
14755
14758
|
{
|
|
@@ -14778,10 +14781,10 @@ const Gn = ({
|
|
|
14778
14781
|
]
|
|
14779
14782
|
}
|
|
14780
14783
|
),
|
|
14781
|
-
/* @__PURE__ */ t(bt, { index: 0, name: "transaction-details", value: e, children: /* @__PURE__ */ t(
|
|
14782
|
-
/* @__PURE__ */ t(bt, { index: 1, name: "account-details", value: e, children: /* @__PURE__ */ t(
|
|
14784
|
+
/* @__PURE__ */ t(bt, { index: 0, name: "transaction-details", value: e, children: /* @__PURE__ */ t(Am, {}) }),
|
|
14785
|
+
/* @__PURE__ */ t(bt, { index: 1, name: "account-details", value: e, children: /* @__PURE__ */ t(J1, {}) })
|
|
14783
14786
|
] });
|
|
14784
|
-
}, Ci = w(
|
|
14787
|
+
}, Ci = w(tm), nm = () => {
|
|
14785
14788
|
const [e, A] = g.useState(""), { accounts: n } = _(), { selectedAccounts: a } = fe(), { setSelectedAccount: r, setSelectedMember: o } = hA(), { members: i } = pe(), { onEvent: s } = Q(), c = [...new Set(a.map((u) => u.account_type))], d = a.find((u) => e === u.guid);
|
|
14786
14789
|
return g.useEffect(() => {
|
|
14787
14790
|
if (d) {
|
|
@@ -14856,7 +14859,7 @@ const Gn = ({
|
|
|
14856
14859
|
}
|
|
14857
14860
|
)
|
|
14858
14861
|
] });
|
|
14859
|
-
},
|
|
14862
|
+
}, am = w(nm), rm = ({
|
|
14860
14863
|
onClose: e,
|
|
14861
14864
|
showConnectionsWidget: A,
|
|
14862
14865
|
title: n
|
|
@@ -14896,7 +14899,7 @@ const Gn = ({
|
|
|
14896
14899
|
] })
|
|
14897
14900
|
}
|
|
14898
14901
|
);
|
|
14899
|
-
},
|
|
14902
|
+
}, om = w(rm), im = ({ onBackClick: e, sx: A = {} }) => {
|
|
14900
14903
|
const [n, a] = g.useState(!1), [r, o] = g.useState(!1), { accounts: i, refreshMembers: s } = pe(), { accounts: c } = _(), { setSelectedAccounts: d, selectedAccountGuids: u } = fe(), { isDesktop: h } = De(), { onEvent: m } = Q();
|
|
14901
14904
|
g.useEffect(() => {
|
|
14902
14905
|
d(i);
|
|
@@ -14931,10 +14934,10 @@ const Gn = ({
|
|
|
14931
14934
|
children: r ? /* @__PURE__ */ t(Qe, {}) : /* @__PURE__ */ l(J, { children: [
|
|
14932
14935
|
/* @__PURE__ */ l(M, { sx: { px: h ? 24 : 12 }, children: [
|
|
14933
14936
|
u.length < 1 && /* @__PURE__ */ t(p, { display: "flex", justifyContent: "center", my: 24, children: c.no_accounts }),
|
|
14934
|
-
/* @__PURE__ */ t(
|
|
14937
|
+
/* @__PURE__ */ t(am, {})
|
|
14935
14938
|
] }),
|
|
14936
14939
|
/* @__PURE__ */ t(
|
|
14937
|
-
|
|
14940
|
+
om,
|
|
14938
14941
|
{
|
|
14939
14942
|
onClose: () => a(!1),
|
|
14940
14943
|
showConnectionsWidget: n,
|
|
@@ -14944,10 +14947,10 @@ const Gn = ({
|
|
|
14944
14947
|
] })
|
|
14945
14948
|
}
|
|
14946
14949
|
);
|
|
14947
|
-
},
|
|
14950
|
+
}, T3 = w(im), sm = (e, A) => e.filter((n) => A.includes(n.guid)).slice(0, 3), cm = ({ onPrimaryCtaClick: e, sx: A }) => {
|
|
14948
14951
|
const { accounts: n } = pe(), { accounts: a } = _(), { selectedAccountGuids: r } = fe(), [o, i] = g.useState(n);
|
|
14949
14952
|
return g.useEffect(() => {
|
|
14950
|
-
i(
|
|
14953
|
+
i(sm(n, r));
|
|
14951
14954
|
}, [n, r]), /* @__PURE__ */ t(
|
|
14952
14955
|
mt,
|
|
14953
14956
|
{
|
|
@@ -14975,7 +14978,7 @@ const Gn = ({
|
|
|
14975
14978
|
] })
|
|
14976
14979
|
}
|
|
14977
14980
|
);
|
|
14978
|
-
},
|
|
14981
|
+
}, I3 = w(cm), lm = () => /* @__PURE__ */ l(
|
|
14979
14982
|
"svg",
|
|
14980
14983
|
{
|
|
14981
14984
|
fill: "none",
|
|
@@ -15414,7 +15417,7 @@ const Gn = ({
|
|
|
15414
15417
|
)
|
|
15415
15418
|
]
|
|
15416
15419
|
}
|
|
15417
|
-
),
|
|
15420
|
+
), dm = ({ onPrimaryCtaClick: e, sx: A = {} }) => {
|
|
15418
15421
|
const { connect: n } = _();
|
|
15419
15422
|
return /* @__PURE__ */ t(
|
|
15420
15423
|
mt,
|
|
@@ -15425,7 +15428,7 @@ const Gn = ({
|
|
|
15425
15428
|
sx: A,
|
|
15426
15429
|
title: n.mini_title,
|
|
15427
15430
|
children: /* @__PURE__ */ l(E, { alignItems: "center", direction: "column", m: 24, children: [
|
|
15428
|
-
/* @__PURE__ */ t(
|
|
15431
|
+
/* @__PURE__ */ t(lm, {}),
|
|
15429
15432
|
/* @__PURE__ */ t(
|
|
15430
15433
|
p,
|
|
15431
15434
|
{
|
|
@@ -15441,11 +15444,11 @@ const Gn = ({
|
|
|
15441
15444
|
] })
|
|
15442
15445
|
}
|
|
15443
15446
|
);
|
|
15444
|
-
},
|
|
15447
|
+
}, um = w(dm), hm = ({ onPrimaryCtaClick: e = () => {
|
|
15445
15448
|
}, sx: A }) => {
|
|
15446
15449
|
const { connect: n } = _(), [a, r] = g.useState(!1);
|
|
15447
15450
|
return /* @__PURE__ */ l(M, { "data-testid": "ConnectMiniWidget", children: [
|
|
15448
|
-
/* @__PURE__ */ t(
|
|
15451
|
+
/* @__PURE__ */ t(um, { onPrimaryCtaClick: () => {
|
|
15449
15452
|
r(!0), e();
|
|
15450
15453
|
}, sx: A }),
|
|
15451
15454
|
a && /* @__PURE__ */ t(
|
|
@@ -15457,7 +15460,7 @@ const Gn = ({
|
|
|
15457
15460
|
}
|
|
15458
15461
|
)
|
|
15459
15462
|
] });
|
|
15460
|
-
},
|
|
15463
|
+
}, L3 = w(hm);
|
|
15461
15464
|
class zr {
|
|
15462
15465
|
fetchInstance;
|
|
15463
15466
|
constructor(A, n) {
|
|
@@ -15473,7 +15476,7 @@ class zr {
|
|
|
15473
15476
|
refreshAllMembers = async () => this.fetchInstance.get(`${N.MEMBERS}/refresh_all`).then((A) => A).catch((A) => A);
|
|
15474
15477
|
updateAccount = async (A) => this.fetchInstance.put(`${N.ACCOUNTS}/${A.guid}`, A).then((n) => n.account).catch((n) => n);
|
|
15475
15478
|
}
|
|
15476
|
-
class
|
|
15479
|
+
class gm {
|
|
15477
15480
|
isLoading = !1;
|
|
15478
15481
|
selectedAccount = {};
|
|
15479
15482
|
selectedMember = {};
|
|
@@ -15484,7 +15487,7 @@ class hm {
|
|
|
15484
15487
|
setSelectedAccount = (A) => this.selectedAccount = A;
|
|
15485
15488
|
setSelectedMember = (A) => this.selectedMember = A;
|
|
15486
15489
|
}
|
|
15487
|
-
class
|
|
15490
|
+
class mm {
|
|
15488
15491
|
api = new zr("/", "");
|
|
15489
15492
|
globalStore;
|
|
15490
15493
|
accounts = [];
|
|
@@ -15492,7 +15495,7 @@ class gm {
|
|
|
15492
15495
|
members = [];
|
|
15493
15496
|
uiStore;
|
|
15494
15497
|
constructor(A) {
|
|
15495
|
-
this.globalStore = A, this.uiStore = new
|
|
15498
|
+
this.globalStore = A, this.uiStore = new gm(), Se(this);
|
|
15496
15499
|
}
|
|
15497
15500
|
initialize = async (A, n) => {
|
|
15498
15501
|
this.api = new zr(A, n), await Promise.all([this.loadAccounts(), this.loadInstitutions()]);
|
|
@@ -15627,7 +15630,7 @@ class gm {
|
|
|
15627
15630
|
}
|
|
15628
15631
|
};
|
|
15629
15632
|
}
|
|
15630
|
-
const kr = 5,
|
|
15633
|
+
const kr = 5, Cm = 100, pm = 25, fm = (e) => {
|
|
15631
15634
|
const A = (r) => {
|
|
15632
15635
|
r.active || e.alphaTarget(0.3).restart(), r.subject.fx = r.subject.x, r.subject.fy = r.subject.y;
|
|
15633
15636
|
}, n = (r) => {
|
|
@@ -15636,14 +15639,14 @@ const kr = 5, mm = 100, Cm = 25, pm = (e) => {
|
|
|
15636
15639
|
r.active || e.alphaTarget(0), r.subject.fx = null, r.subject.fy = null;
|
|
15637
15640
|
};
|
|
15638
15641
|
return aA.drag().on("start", A).on("drag", n).on("end", a);
|
|
15639
|
-
},
|
|
15642
|
+
}, vm = (e) => {
|
|
15640
15643
|
let A = e.transaction_total / e.amount;
|
|
15641
15644
|
A < 0 ? A = 0 : A > 1 && (A = 1);
|
|
15642
15645
|
const n = A * 2 * Math.PI, a = aA.interpolate(0, n), r = aA.arc().cornerRadius(5).innerRadius(e.radius - kr * 2).outerRadius(e.radius - kr).startAngle(0).endAngle(0);
|
|
15643
15646
|
return (o) => (r.endAngle(a(o)), r(e) || "");
|
|
15644
|
-
},
|
|
15645
|
-
aA.selectAll(".bubble").call(
|
|
15646
|
-
},
|
|
15647
|
+
}, ym = (e) => {
|
|
15648
|
+
aA.selectAll(".bubble").call(fm(e));
|
|
15649
|
+
}, Em = (e, A, n) => {
|
|
15647
15650
|
e.alpha(1).restart().force(
|
|
15648
15651
|
"x",
|
|
15649
15652
|
aA.forceX().x(n / 2).strength(0.01)
|
|
@@ -15651,14 +15654,14 @@ const kr = 5, mm = 100, Cm = 25, pm = (e) => {
|
|
|
15651
15654
|
"y",
|
|
15652
15655
|
aA.forceY().y(A / 2).strength(0.01)
|
|
15653
15656
|
);
|
|
15654
|
-
},
|
|
15657
|
+
}, bm = (e, A) => aA.scaleLinear().domain([e, A]).range([pm, Cm]), wm = (e) => {
|
|
15655
15658
|
const A = e.reduce((o, i) => {
|
|
15656
15659
|
const s = Math.max(i.transaction_total, i.amount);
|
|
15657
15660
|
return s > o ? s : o;
|
|
15658
15661
|
}, 0), n = e.reduce((o, i) => {
|
|
15659
15662
|
const s = Math.max(i.transaction_total, i.amount);
|
|
15660
15663
|
return s < o ? s : o;
|
|
15661
|
-
}, A), a =
|
|
15664
|
+
}, A), a = bm(n, A), r = e.map((o) => {
|
|
15662
15665
|
const i = a(Math.max(o.transaction_total, o.amount)) || 25;
|
|
15663
15666
|
return {
|
|
15664
15667
|
...o,
|
|
@@ -15668,15 +15671,15 @@ const kr = 5, mm = 100, Cm = 25, pm = (e) => {
|
|
|
15668
15671
|
return aA.forceSimulation(r).velocityDecay(0.05).force("collide", aA.forceCollide((o) => o.radius + 2).strength(0.5)).on("tick", () => {
|
|
15669
15672
|
aA.selectAll(".bubble").data(r).attr("transform", (o) => `translate(${o.x},${o.y})`);
|
|
15670
15673
|
});
|
|
15671
|
-
}, Gr = 5,
|
|
15672
|
-
function
|
|
15674
|
+
}, Gr = 5, _m = 2e3;
|
|
15675
|
+
function Sm({ bubble: e }) {
|
|
15673
15676
|
const A = be(), {
|
|
15674
15677
|
guid: n,
|
|
15675
15678
|
budgetColors: { mercury: a },
|
|
15676
15679
|
radius: r
|
|
15677
15680
|
} = e, o = `mercury-${n}`;
|
|
15678
15681
|
g.useEffect(() => {
|
|
15679
|
-
aA.select(`.${o}`).selectAll(".status").remove(), aA.select(`.${o}`).append("path").transition().duration(
|
|
15682
|
+
aA.select(`.${o}`).selectAll(".status").remove(), aA.select(`.${o}`).append("path").transition().duration(_m).delay(0).attr("class", "status").attr("style", `fill: ${a}; fill-opacity: 1;`).attrTween("d", () => vm(e));
|
|
15680
15683
|
}, [e]);
|
|
15681
15684
|
const i = aA.arc().innerRadius((s) => s - 2 * Gr).outerRadius((s) => s - Gr).startAngle(0).endAngle(2 * Math.PI);
|
|
15682
15685
|
return /* @__PURE__ */ t("g", { className: o, children: /* @__PURE__ */ t(
|
|
@@ -15688,7 +15691,7 @@ function _m({ bubble: e }) {
|
|
|
15688
15691
|
) });
|
|
15689
15692
|
}
|
|
15690
15693
|
const Ct = 75, Ur = 50;
|
|
15691
|
-
function
|
|
15694
|
+
function Tm({ bubble: e, isDraggable: A, onClick: n = () => {
|
|
15692
15695
|
} }) {
|
|
15693
15696
|
const [a, r] = g.useState(!1);
|
|
15694
15697
|
if (g.useEffect(() => {
|
|
@@ -15787,14 +15790,14 @@ function Sm({ bubble: e, isDraggable: A, onClick: n = () => {
|
|
|
15787
15790
|
children: u.split(" ")[1]
|
|
15788
15791
|
}
|
|
15789
15792
|
),
|
|
15790
|
-
/* @__PURE__ */ t(
|
|
15793
|
+
/* @__PURE__ */ t(Sm, { bubble: e })
|
|
15791
15794
|
]
|
|
15792
15795
|
},
|
|
15793
15796
|
d
|
|
15794
15797
|
);
|
|
15795
15798
|
}
|
|
15796
15799
|
let Pt;
|
|
15797
|
-
const
|
|
15800
|
+
const Im = ({
|
|
15798
15801
|
height: e,
|
|
15799
15802
|
width: A,
|
|
15800
15803
|
isDraggable: n = !1,
|
|
@@ -15802,10 +15805,10 @@ const Tm = ({
|
|
|
15802
15805
|
}
|
|
15803
15806
|
}) => {
|
|
15804
15807
|
const { detailedBudgets: r } = Fe();
|
|
15805
|
-
return Pt = g.useMemo(() =>
|
|
15806
|
-
|
|
15807
|
-
}, [Pt, e, A]), /* @__PURE__ */ t("svg", { height: e, style: { overflow: "visible" }, width: Math.abs(A), children: Pt.nodes().map((o) => /* @__PURE__ */ t(
|
|
15808
|
-
},
|
|
15808
|
+
return Pt = g.useMemo(() => wm(r), [r]), g.useEffect(() => {
|
|
15809
|
+
Em(Pt, e, A), n && ym(Pt);
|
|
15810
|
+
}, [Pt, e, A]), /* @__PURE__ */ t("svg", { height: e, style: { overflow: "visible" }, width: Math.abs(A), children: Pt.nodes().map((o) => /* @__PURE__ */ t(Tm, { bubble: o, isDraggable: n, onClick: a }, o.guid)) });
|
|
15811
|
+
}, Lm = w(Im), Dm = () => {
|
|
15809
15812
|
const { budgets: e } = _();
|
|
15810
15813
|
return /* @__PURE__ */ l(E, { alignItems: "center", gap: 12, sx: { mx: 24, textAlign: "center" }, children: [
|
|
15811
15814
|
/* @__PURE__ */ t(B, { name: "bubble_chart", size: 48 }),
|
|
@@ -15820,8 +15823,8 @@ const Tm = ({
|
|
|
15820
15823
|
click_type: "bubble"
|
|
15821
15824
|
});
|
|
15822
15825
|
};
|
|
15823
|
-
return i ? /* @__PURE__ */ t(E, { alignItems: "center", height: e, justifyContent: "center", width: Math.abs(u), children: /* @__PURE__ */ t(Qe, {}) }) : /* @__PURE__ */ t(M, { ml: n || d ? 0 : 24, children: n || !s ? /* @__PURE__ */ t(
|
|
15824
|
-
|
|
15826
|
+
return i ? /* @__PURE__ */ t(E, { alignItems: "center", height: e, justifyContent: "center", width: Math.abs(u), children: /* @__PURE__ */ t(Qe, {}) }) : /* @__PURE__ */ t(M, { ml: n || d ? 0 : 24, children: n || !s ? /* @__PURE__ */ t(Dm, {}) : /* @__PURE__ */ t(
|
|
15827
|
+
Lm,
|
|
15825
15828
|
{
|
|
15826
15829
|
height: e,
|
|
15827
15830
|
isDraggable: A,
|
|
@@ -15830,7 +15833,7 @@ const Tm = ({
|
|
|
15830
15833
|
}
|
|
15831
15834
|
) });
|
|
15832
15835
|
}
|
|
15833
|
-
),
|
|
15836
|
+
), xm = (e) => {
|
|
15834
15837
|
const A = be(), { budgets: n, loadBudgets: a, setTheme: r } = Fe(), { budgets: o } = _(), i = Tl(), s = n.length === 0;
|
|
15835
15838
|
return g.useEffect(() => {
|
|
15836
15839
|
r(A), a().finally();
|
|
@@ -15849,7 +15852,7 @@ const Tm = ({
|
|
|
15849
15852
|
] })
|
|
15850
15853
|
}
|
|
15851
15854
|
);
|
|
15852
|
-
},
|
|
15855
|
+
}, D3 = w(xm), Om = ({ budget: e, onClick: A }) => {
|
|
15853
15856
|
const {
|
|
15854
15857
|
amount: n,
|
|
15855
15858
|
budgetColors: { background: a, description: r },
|
|
@@ -15878,7 +15881,7 @@ const Tm = ({
|
|
|
15878
15881
|
}
|
|
15879
15882
|
)
|
|
15880
15883
|
] }) });
|
|
15881
|
-
},
|
|
15884
|
+
}, Pm = w(() => {
|
|
15882
15885
|
const { onEvent: e } = Q(), { budgets: A } = _(), { detailedBudgets: n, setSelectedBudget: a } = Fe(), r = (o) => {
|
|
15883
15886
|
a(o), e(q.BUDGETS_CLICK_BUDGET_CATEGORY, {
|
|
15884
15887
|
budget_category: o.category.name,
|
|
@@ -15888,11 +15891,11 @@ const Tm = ({
|
|
|
15888
15891
|
return /* @__PURE__ */ l(yA, { elevation: 2, sx: { borderRadius: 2 }, children: [
|
|
15889
15892
|
/* @__PURE__ */ t(WA, { sx: { pb: 8, pl: 24 }, title: /* @__PURE__ */ t(DA, { children: A.budget_categories_title }) }),
|
|
15890
15893
|
/* @__PURE__ */ t(xA, { sx: { p: 0, ":last-child": { p: 0 } }, children: /* @__PURE__ */ t(ae, { children: n.map((o) => /* @__PURE__ */ l(g.Fragment, { children: [
|
|
15891
|
-
/* @__PURE__ */ t(
|
|
15894
|
+
/* @__PURE__ */ t(Om, { budget: o, onClick: r }),
|
|
15892
15895
|
/* @__PURE__ */ t(K, {})
|
|
15893
15896
|
] }, o.guid)) }) })
|
|
15894
15897
|
] });
|
|
15895
|
-
}),
|
|
15898
|
+
}), Nm = w(() => {
|
|
15896
15899
|
const e = be(), { onEvent: A } = Q(), { accounts: n } = pe(), { budgets: a, common: r, recurring: o } = _(), { incomeCategories: i, spendCategories: s } = Pe(), { detailedBudgets: c, totalBudgeted: d } = Fe(), { projectedIncome: u } = Ge(), { setFilter: h } = me(), [m, C] = g.useState(!1), [f, y] = g.useMemo(() => {
|
|
15897
15900
|
const I = s.reduce((x, H) => x + H.totalAmount, 0);
|
|
15898
15901
|
let T = I / d;
|
|
@@ -15975,7 +15978,7 @@ const Tm = ({
|
|
|
15975
15978
|
}
|
|
15976
15979
|
)
|
|
15977
15980
|
] });
|
|
15978
|
-
}),
|
|
15981
|
+
}), Mm = w(() => {
|
|
15979
15982
|
const { budgets: e } = _(), { totalBudgeted: A } = Fe(), { projectedIncome: n } = Ge(), a = n - A;
|
|
15980
15983
|
return /* @__PURE__ */ l(E, { direction: "row", justifyContent: "center", my: 16, spacing: 20, children: [
|
|
15981
15984
|
/* @__PURE__ */ l(E, { alignItems: "center", children: [
|
|
@@ -15993,7 +15996,7 @@ const Tm = ({
|
|
|
15993
15996
|
/* @__PURE__ */ t(p, { color: "secondary", variant: "Small", children: e.remaining })
|
|
15994
15997
|
] })
|
|
15995
15998
|
] });
|
|
15996
|
-
}),
|
|
15999
|
+
}), Rm = w(
|
|
15997
16000
|
({ category: e }) => {
|
|
15998
16001
|
const { budgets: A } = _(), { budgets: n } = Fe(), a = g.useMemo(() => {
|
|
15999
16002
|
const r = n.find((s) => s.category_guid === e.guid), o = R(e.totalAverageAmount, "0,0"), i = r ? P(A.recalculate_previous_budget, R(r.amount, "0,0")) : A.recalculate_new_budget;
|
|
@@ -16007,7 +16010,7 @@ const Tm = ({
|
|
|
16007
16010
|
/* @__PURE__ */ t(K, {})
|
|
16008
16011
|
] }, e.guid);
|
|
16009
16012
|
}
|
|
16010
|
-
),
|
|
16013
|
+
), Bm = ({ onRecalculateBudgets: e }) => {
|
|
16011
16014
|
const { budgets: A, common: n } = _(), { spendCategories: a } = Pe(), { recalculateBudgets: r, setAlert: o } = Fe(), [i, s] = g.useState(!1), c = a.filter((u) => u.totalAverageAmount > 0), d = async () => {
|
|
16012
16015
|
await r(c), s(!1), o(A.alert_recalculated_budgets), e?.();
|
|
16013
16016
|
};
|
|
@@ -16027,7 +16030,7 @@ const Tm = ({
|
|
|
16027
16030
|
/* @__PURE__ */ t(p, { bold: !0, variant: "Body", children: A.recalculate_description_top }),
|
|
16028
16031
|
/* @__PURE__ */ t(p, { variant: "ParagraphSmall", children: A.recalculate_description_bottom })
|
|
16029
16032
|
] }),
|
|
16030
|
-
/* @__PURE__ */ t(M, { bgcolor: "background.paper", children: /* @__PURE__ */ t(ae, { children: c.map((u) => /* @__PURE__ */ t(
|
|
16033
|
+
/* @__PURE__ */ t(M, { bgcolor: "background.paper", children: /* @__PURE__ */ t(ae, { children: c.map((u) => /* @__PURE__ */ t(Rm, { category: u }, u.guid)) }) })
|
|
16031
16034
|
] })
|
|
16032
16035
|
}
|
|
16033
16036
|
)
|
|
@@ -16058,7 +16061,7 @@ const Tm = ({
|
|
|
16058
16061
|
}
|
|
16059
16062
|
)
|
|
16060
16063
|
] });
|
|
16061
|
-
},
|
|
16064
|
+
}, Hm = w(({ category: e, onAddBudget: A }) => {
|
|
16062
16065
|
const { budgets: n, common: a } = _(), [r, o] = g.useState(!1), [i, s] = g.useState(
|
|
16063
16066
|
`${e.totalAmount === 0 ? "" : e.totalAmount}`
|
|
16064
16067
|
);
|
|
@@ -16087,21 +16090,21 @@ const Tm = ({
|
|
|
16087
16090
|
}
|
|
16088
16091
|
)
|
|
16089
16092
|
] });
|
|
16090
|
-
}),
|
|
16093
|
+
}), Km = w(({ onRecalculateBudgets: e }) => {
|
|
16091
16094
|
const { budgets: A } = _(), { addBudget: n, setAlert: a, unbudgetedCategories: r } = Fe(), o = async (i, s) => {
|
|
16092
16095
|
await n(i, s), a(P(A.alert_budget_created, i.name));
|
|
16093
16096
|
};
|
|
16094
16097
|
return /* @__PURE__ */ l(E, { children: [
|
|
16095
|
-
/* @__PURE__ */ t(
|
|
16098
|
+
/* @__PURE__ */ t(Mm, {}),
|
|
16096
16099
|
/* @__PURE__ */ t(M, { bgcolor: "background.paper", children: /* @__PURE__ */ t(ae, { children: r.map((i) => /* @__PURE__ */ t(
|
|
16097
|
-
|
|
16100
|
+
Hm,
|
|
16098
16101
|
{
|
|
16099
16102
|
category: i,
|
|
16100
16103
|
onAddBudget: o
|
|
16101
16104
|
},
|
|
16102
16105
|
i.guid
|
|
16103
16106
|
)) }) }),
|
|
16104
|
-
/* @__PURE__ */ t(
|
|
16107
|
+
/* @__PURE__ */ t(Bm, { onRecalculateBudgets: e })
|
|
16105
16108
|
] });
|
|
16106
16109
|
}), fi = ({ budget: e }) => {
|
|
16107
16110
|
const {
|
|
@@ -16123,14 +16126,14 @@ const Tm = ({
|
|
|
16123
16126
|
/* @__PURE__ */ t(p, { bold: !0, variant: "XSmall", children: a }),
|
|
16124
16127
|
/* @__PURE__ */ t(Gt, { data: s, height: 10 })
|
|
16125
16128
|
] }) }) });
|
|
16126
|
-
},
|
|
16129
|
+
}, qm = w(() => {
|
|
16127
16130
|
const { budgets: e } = _();
|
|
16128
16131
|
return /* @__PURE__ */ l(E, { alignItems: "center", gap: 12, height: "auto", mb: 24, mt: 24, children: [
|
|
16129
16132
|
/* @__PURE__ */ t(B, { color: "secondary", name: "bubble_chart", sx: { fontSize: 32 } }),
|
|
16130
16133
|
/* @__PURE__ */ t(p, { bold: !0, color: "secondary", variant: "Small", children: e.zero_state_no_sub_budgets }),
|
|
16131
16134
|
/* @__PURE__ */ t(p, { color: "text.secondary", variant: "XSmall", children: e.zero_state_no_sub_budgets_description })
|
|
16132
16135
|
] });
|
|
16133
|
-
}),
|
|
16136
|
+
}), zm = w(({ budget: e }) => {
|
|
16134
16137
|
const {
|
|
16135
16138
|
amount: A,
|
|
16136
16139
|
budgetColors: { background: n },
|
|
@@ -16151,7 +16154,7 @@ const Tm = ({
|
|
|
16151
16154
|
}
|
|
16152
16155
|
)
|
|
16153
16156
|
] }) });
|
|
16154
|
-
}),
|
|
16157
|
+
}), km = w(({ category: e, parentBudget: A }) => {
|
|
16155
16158
|
const { budgets: n, common: a } = _(), { setExpandedGuid: r, setOnSelect: o } = ot(), { addBudget: i } = Fe(), [s, c] = g.useState(!1), [d, u] = g.useState(!1), [h, m] = g.useState(""), [C, f] = g.useState(void 0);
|
|
16156
16159
|
g.useEffect(() => {
|
|
16157
16160
|
o((S) => {
|
|
@@ -16203,7 +16206,7 @@ const Tm = ({
|
|
|
16203
16206
|
}
|
|
16204
16207
|
)
|
|
16205
16208
|
] });
|
|
16206
|
-
}),
|
|
16209
|
+
}), Gm = w(({ budget: e }) => {
|
|
16207
16210
|
const { category: A, subBudgets: n } = e, { budgets: a, common: r } = _(), { deleteBudget: o, selectedSubBudget: i, setSelectedSubBudget: s, updateBudget: c } = Fe(), { filter: d, setFilter: u } = me(), [h, m] = g.useState(!1), [C, f] = g.useState(!1), [y, v] = g.useState("");
|
|
16208
16211
|
g.useEffect(() => {
|
|
16209
16212
|
i && (v(`${i.amount}`), u({
|
|
@@ -16226,11 +16229,11 @@ const Tm = ({
|
|
|
16226
16229
|
};
|
|
16227
16230
|
return /* @__PURE__ */ l(g.Fragment, { children: [
|
|
16228
16231
|
/* @__PURE__ */ l(ae, { sx: { bgcolor: "background.paper" }, children: [
|
|
16229
|
-
n.length === 0 ? /* @__PURE__ */ t(
|
|
16230
|
-
/* @__PURE__ */ t(
|
|
16232
|
+
n.length === 0 ? /* @__PURE__ */ t(qm, {}) : n.map((T) => /* @__PURE__ */ l(g.Fragment, { children: [
|
|
16233
|
+
/* @__PURE__ */ t(zm, { budget: T }),
|
|
16231
16234
|
/* @__PURE__ */ t(K, {})
|
|
16232
16235
|
] }, T.guid)),
|
|
16233
|
-
/* @__PURE__ */ t(
|
|
16236
|
+
/* @__PURE__ */ t(km, { category: A, parentBudget: e })
|
|
16234
16237
|
] }),
|
|
16235
16238
|
/* @__PURE__ */ t(
|
|
16236
16239
|
ce,
|
|
@@ -16284,7 +16287,7 @@ const Tm = ({
|
|
|
16284
16287
|
)
|
|
16285
16288
|
] })
|
|
16286
16289
|
] });
|
|
16287
|
-
}),
|
|
16290
|
+
}), Um = w(({ budget: e }) => {
|
|
16288
16291
|
const { budgets: A, common: n, transactions: a } = _(), { setAlert: r } = Fe(), { sortedTransactions: o, tags: i } = me(), [s, c] = g.useState(0), [d, u] = g.useState(""), h = g.useMemo(
|
|
16289
16292
|
() => o.find((f) => f.guid === d),
|
|
16290
16293
|
[d]
|
|
@@ -16321,7 +16324,7 @@ const Tm = ({
|
|
|
16321
16324
|
) }),
|
|
16322
16325
|
/* @__PURE__ */ t(rt, { height: "100%", onClick: u })
|
|
16323
16326
|
] }),
|
|
16324
|
-
s === 1 && /* @__PURE__ */ t(
|
|
16327
|
+
s === 1 && /* @__PURE__ */ t(Gm, { budget: e }),
|
|
16325
16328
|
/* @__PURE__ */ t(
|
|
16326
16329
|
ce,
|
|
16327
16330
|
{
|
|
@@ -16334,7 +16337,7 @@ const Tm = ({
|
|
|
16334
16337
|
)
|
|
16335
16338
|
] })
|
|
16336
16339
|
] });
|
|
16337
|
-
}),
|
|
16340
|
+
}), Fm = w(() => {
|
|
16338
16341
|
const { selectedAccountGuids: e } = fe(), { budgets: A, common: n } = _(), {
|
|
16339
16342
|
dateRange: a,
|
|
16340
16343
|
deleteBudget: r,
|
|
@@ -16378,7 +16381,7 @@ const Tm = ({
|
|
|
16378
16381
|
secondaryColor: "error",
|
|
16379
16382
|
secondaryText: A.details_delete_button,
|
|
16380
16383
|
title: A.details_title,
|
|
16381
|
-
children: /* @__PURE__ */ t(
|
|
16384
|
+
children: /* @__PURE__ */ t(Um, { budget: o })
|
|
16382
16385
|
}
|
|
16383
16386
|
),
|
|
16384
16387
|
/* @__PURE__ */ t(
|
|
@@ -16414,7 +16417,7 @@ const Tm = ({
|
|
|
16414
16417
|
}
|
|
16415
16418
|
)
|
|
16416
16419
|
] });
|
|
16417
|
-
}), Fr = 480,
|
|
16420
|
+
}), Fr = 480, x3 = w(({ onBackClick: e, sx: A }) => {
|
|
16418
16421
|
const n = be(), { onEvent: a } = Q(), { accounts: r } = pe(), { budgets: o, common: i } = _(), { isInitialized: s, selectedAccounts: c, setDisplayedDate: d, setSelectedAccounts: u } = fe(), { alert: h, dateRange: m, loadBudgets: C, setDateRange: f, setAlert: y, setTheme: v } = Fe(), { loadCashflowSequences: S } = Ge(), { isDesktop: L, isTablet: I } = De(), { reloadCategoryTotals: T } = Pe(), [D, O] = g.useState(!1), [x, H] = g.useState(!1);
|
|
16419
16422
|
g.useEffect(() => {
|
|
16420
16423
|
v(n), u(r), d(m.start, m.end), a(q.BUDGETS_VIEW);
|
|
@@ -16466,13 +16469,13 @@ const Tm = ({
|
|
|
16466
16469
|
sx: { mr: 24 },
|
|
16467
16470
|
width: L || I ? Fr : "100%",
|
|
16468
16471
|
children: [
|
|
16469
|
-
/* @__PURE__ */ t(
|
|
16470
|
-
/* @__PURE__ */ t(
|
|
16472
|
+
/* @__PURE__ */ t(Nm, {}),
|
|
16473
|
+
/* @__PURE__ */ t(Pm, {})
|
|
16471
16474
|
]
|
|
16472
16475
|
}
|
|
16473
16476
|
)
|
|
16474
16477
|
] }),
|
|
16475
|
-
/* @__PURE__ */ t(
|
|
16478
|
+
/* @__PURE__ */ t(Fm, {}),
|
|
16476
16479
|
/* @__PURE__ */ t(
|
|
16477
16480
|
ce,
|
|
16478
16481
|
{
|
|
@@ -16480,7 +16483,7 @@ const Tm = ({
|
|
|
16480
16483
|
isOpen: x,
|
|
16481
16484
|
onClose: () => H(!1),
|
|
16482
16485
|
title: o.add_new_title,
|
|
16483
|
-
children: /* @__PURE__ */ t(
|
|
16486
|
+
children: /* @__PURE__ */ t(Km, { onRecalculateBudgets: Y })
|
|
16484
16487
|
}
|
|
16485
16488
|
),
|
|
16486
16489
|
/* @__PURE__ */ t(
|
|
@@ -16498,7 +16501,7 @@ const Tm = ({
|
|
|
16498
16501
|
);
|
|
16499
16502
|
});
|
|
16500
16503
|
var ta = /* @__PURE__ */ ((e) => (e[e.Main = 0] = "Main", e[e.RightSide = 1] = "RightSide", e))(ta || {});
|
|
16501
|
-
const
|
|
16504
|
+
const jm = () => {
|
|
16502
16505
|
const { accounts: e } = pe(), { selectedAccountGuids: A, setSelectedAccountGuids: n } = fe(), { isMobile: a } = De(), { common: r } = _(), o = {
|
|
16503
16506
|
accountFilterOptionsCopy: {
|
|
16504
16507
|
accountTypeAccounts: r.account_filter.account_type_accounts,
|
|
@@ -16537,7 +16540,7 @@ const Fm = () => {
|
|
|
16537
16540
|
}
|
|
16538
16541
|
)
|
|
16539
16542
|
] }) });
|
|
16540
|
-
},
|
|
16543
|
+
}, Qm = w(jm), Xm = ({ widgets: e, isLoading: A }) => {
|
|
16541
16544
|
const { isDesktop: n, isMobile: a } = De(), { copyStore: r } = wn(), { setSelectedAccounts: o } = fe(), { accounts: i } = pe();
|
|
16542
16545
|
g.useEffect(() => {
|
|
16543
16546
|
o(i);
|
|
@@ -16553,7 +16556,7 @@ const Fm = () => {
|
|
|
16553
16556
|
[e]
|
|
16554
16557
|
);
|
|
16555
16558
|
return /* @__PURE__ */ l(QA, { container: !0, spacing: a ? 0 : 24, sx: { overflow: "scroll" }, children: [
|
|
16556
|
-
/* @__PURE__ */ t(QA, { xs: 12, children: r.isInitialized && /* @__PURE__ */ t(
|
|
16559
|
+
/* @__PURE__ */ t(QA, { xs: 12, children: r.isInitialized && /* @__PURE__ */ t(Qm, {}) }),
|
|
16557
16560
|
/* @__PURE__ */ l(QA, { xl: 8, xs: 12, children: [
|
|
16558
16561
|
A && /* @__PURE__ */ l(E, { direction: "column", spacing: 24, children: [
|
|
16559
16562
|
/* @__PURE__ */ t(GA, { height: 100, variant: "rounded", width: "100%" }),
|
|
@@ -16568,8 +16571,8 @@ const Fm = () => {
|
|
|
16568
16571
|
/* @__PURE__ */ t(GA, { height: 300, variant: "rounded", width: "100%" })
|
|
16569
16572
|
] }) : /* @__PURE__ */ t(E, { direction: "column", spacing: 24, children: d.map((u) => /* @__PURE__ */ t(g.Fragment, { children: u.component }, u.index)) }) })
|
|
16570
16573
|
] });
|
|
16571
|
-
},
|
|
16572
|
-
class
|
|
16574
|
+
}, O3 = w(Xm);
|
|
16575
|
+
class Wm {
|
|
16573
16576
|
copyApi = new on("/", "");
|
|
16574
16577
|
copyObject = {};
|
|
16575
16578
|
namespace = "experiences";
|
|
@@ -16615,7 +16618,7 @@ const Pa = {
|
|
|
16615
16618
|
MonthlySpendToIncomeComparison: "MonthlySpendToIncomeComparison"
|
|
16616
16619
|
}, CA = window?.app?.clientConfig?.microwidget_instance_id || "", jr = {
|
|
16617
16620
|
INSIGHTS_MICRO_WIDGET: "/micro-insights-carousel"
|
|
16618
|
-
}, vi = (e) => `on${e}Click`, yi = (e) => `on${e}View`, Ei = (e) => `on${e}ViewFirstTime`, Na = (e) => e.replace(/([a-z])([A-Z])/g, "$1 $2"),
|
|
16621
|
+
}, vi = (e) => `on${e}Click`, yi = (e) => `on${e}View`, Ei = (e) => `on${e}ViewFirstTime`, Na = (e) => e.replace(/([a-z])([A-Z])/g, "$1 $2"), Vm = () => Object.values(Pa).reduce(
|
|
16619
16622
|
(e, A) => ({
|
|
16620
16623
|
...e,
|
|
16621
16624
|
[vi(A)]: {
|
|
@@ -16626,7 +16629,7 @@ const Pa = {
|
|
|
16626
16629
|
}
|
|
16627
16630
|
}),
|
|
16628
16631
|
{}
|
|
16629
|
-
),
|
|
16632
|
+
), Ym = () => Object.values(Pa).reduce(
|
|
16630
16633
|
(e, A) => ({
|
|
16631
16634
|
...e,
|
|
16632
16635
|
[yi(A)]: {
|
|
@@ -16637,7 +16640,7 @@ const Pa = {
|
|
|
16637
16640
|
}
|
|
16638
16641
|
}),
|
|
16639
16642
|
{}
|
|
16640
|
-
),
|
|
16643
|
+
), Jm = () => Object.values(Pa).reduce(
|
|
16641
16644
|
(e, A) => ({
|
|
16642
16645
|
...e,
|
|
16643
16646
|
[Ei(A)]: {
|
|
@@ -16737,15 +16740,15 @@ const Pa = {
|
|
|
16737
16740
|
label: UA.VIEW_MORE,
|
|
16738
16741
|
value: CA
|
|
16739
16742
|
},
|
|
16740
|
-
...Wm(),
|
|
16741
16743
|
...Vm(),
|
|
16742
|
-
...Ym()
|
|
16744
|
+
...Ym(),
|
|
16745
|
+
...Jm()
|
|
16743
16746
|
}, Wr = async (e, A) => !A || !Xr[e] ? null : A.sendAnalyticEvent(Xr[e]).then((n) => n).catch((n) => {
|
|
16744
16747
|
throw n;
|
|
16745
16748
|
}), Vr = async (e, A) => !A || !Qr[e] ? null : A.sendAnalyticsPageview(Qr[e]).then((n) => n).catch((n) => {
|
|
16746
16749
|
throw n;
|
|
16747
16750
|
});
|
|
16748
|
-
class
|
|
16751
|
+
class Zm {
|
|
16749
16752
|
onAnalyticEvent = Wr;
|
|
16750
16753
|
onAnalyticPageView = Vr;
|
|
16751
16754
|
beatApi = new Et("/", "");
|
|
@@ -16767,7 +16770,7 @@ class Jm {
|
|
|
16767
16770
|
this.beatApi.updateBeat(A);
|
|
16768
16771
|
};
|
|
16769
16772
|
}
|
|
16770
|
-
class
|
|
16773
|
+
class $m {
|
|
16771
16774
|
copyStore;
|
|
16772
16775
|
endpoint = "/";
|
|
16773
16776
|
insightsMicroWidgetStore;
|
|
@@ -16775,7 +16778,7 @@ class Zm {
|
|
|
16775
16778
|
token = "";
|
|
16776
16779
|
isInitialized = !1;
|
|
16777
16780
|
constructor() {
|
|
16778
|
-
this.copyStore = new
|
|
16781
|
+
this.copyStore = new Wm(), this.insightsMicroWidgetStore = new Zm(), Se(this);
|
|
16779
16782
|
}
|
|
16780
16783
|
initialize = async (A, n, a) => {
|
|
16781
16784
|
await this.copyStore.initialize(A, n), await this.insightsMicroWidgetStore.initialize(A, n, a), this.session = await lc(A, n, "1.0.0", "Micro Insights Carousel"), U(() => {
|
|
@@ -16783,18 +16786,18 @@ class Zm {
|
|
|
16783
16786
|
});
|
|
16784
16787
|
};
|
|
16785
16788
|
}
|
|
16786
|
-
const Vt = g.createContext(null),
|
|
16789
|
+
const Vt = g.createContext(null), eC = ({
|
|
16787
16790
|
onEvent: e,
|
|
16788
16791
|
onPageview: A,
|
|
16789
16792
|
store: n,
|
|
16790
16793
|
children: a
|
|
16791
|
-
}) => /* @__PURE__ */ t(Vt.Provider, { value: { onEvent: e, onPageview: A, store: n, children: a }, children: a }),
|
|
16794
|
+
}) => /* @__PURE__ */ t(Vt.Provider, { value: { onEvent: e, onPageview: A, store: n, children: a }, children: a }), AC = ({ beat: e }) => {
|
|
16792
16795
|
const [A, n] = NA(b.UNCATEGORIZED);
|
|
16793
16796
|
return At(() => {
|
|
16794
16797
|
e.primary_category_guid ? n(e.primary_category_guid) : e.category_guids?.length && n(e.category_guids[0]);
|
|
16795
16798
|
}, []), /* @__PURE__ */ t(dA, { categoryGuid: A, size: 16, sx: { minWidth: 16 } });
|
|
16796
|
-
},
|
|
16797
|
-
const A = ze(), n =
|
|
16799
|
+
}, tC = ({ beat: e }) => {
|
|
16800
|
+
const A = ze(), n = nC(A);
|
|
16798
16801
|
return /* @__PURE__ */ t(
|
|
16799
16802
|
at,
|
|
16800
16803
|
{
|
|
@@ -16804,12 +16807,12 @@ const Vt = g.createContext(null), $m = ({
|
|
|
16804
16807
|
size: 16
|
|
16805
16808
|
}
|
|
16806
16809
|
);
|
|
16807
|
-
},
|
|
16810
|
+
}, nC = (e) => oA({
|
|
16808
16811
|
marginTop: e.Spacing.XTiny,
|
|
16809
16812
|
"& .kyper-categoryicon": {
|
|
16810
16813
|
display: "flex"
|
|
16811
16814
|
}
|
|
16812
|
-
}),
|
|
16815
|
+
}), aC = w(tC), rC = ({
|
|
16813
16816
|
color: e = "currentColor",
|
|
16814
16817
|
height: A,
|
|
16815
16818
|
size: n = 16,
|
|
@@ -16835,16 +16838,16 @@ const Vt = g.createContext(null), $m = ({
|
|
|
16835
16838
|
}
|
|
16836
16839
|
)
|
|
16837
16840
|
}
|
|
16838
|
-
),
|
|
16841
|
+
), oC = (e) => e ? e.data ? e.data.map((A) => {
|
|
16839
16842
|
const n = {};
|
|
16840
16843
|
return e.names?.map((a, r) => {
|
|
16841
16844
|
n[a] = A[r];
|
|
16842
16845
|
}), n;
|
|
16843
|
-
}) : [] : [],
|
|
16844
|
-
const n =
|
|
16846
|
+
}) : [] : [], iC = (e, A) => {
|
|
16847
|
+
const n = oC(e), a = n.length / 2, r = n.slice(0, a), o = n.slice(a);
|
|
16845
16848
|
return !r.length || !o.length ? A.Color.Primary300 : r[0].amount > o[0].amount ? A.Color.Error300 : r[0].amount < o[0].amount ? A.Color.Success300 : A.Color.Primary300;
|
|
16846
|
-
},
|
|
16847
|
-
const A = ze(), n =
|
|
16849
|
+
}, sC = ({ beat: e }) => {
|
|
16850
|
+
const A = ze(), n = iC(e.data_series, A);
|
|
16848
16851
|
return /* @__PURE__ */ t(B, { name: "bar_chart", sx: { color: n } });
|
|
16849
16852
|
}, wi = () => /* @__PURE__ */ l("svg", { fill: "none", height: "36", viewBox: "0 0 40 36", width: "40", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
16850
16853
|
/* @__PURE__ */ t(
|
|
@@ -17629,7 +17632,7 @@ const Vt = g.createContext(null), $m = ({
|
|
|
17629
17632
|
] })
|
|
17630
17633
|
] }), Yr = ({ beat: e, clientColorScheme: A, color: n, type: a }) => {
|
|
17631
17634
|
const r = be(), o = A?.primary_300 ? A.primary_300 : r.palette.primary.main;
|
|
17632
|
-
return a === 0 ? /* @__PURE__ */ t(B, { fill: !0, name: "error", sx: { color: n || o } }) : a === 1 && e ? /* @__PURE__ */ t(
|
|
17635
|
+
return a === 0 ? /* @__PURE__ */ t(B, { fill: !0, name: "error", sx: { color: n || o } }) : a === 1 && e ? /* @__PURE__ */ t(AC, { beat: e }) : a === 2 && e ? /* @__PURE__ */ t(aC, { beat: e }) : a === 3 && e ? /* @__PURE__ */ t(sC, { beat: e }) : /* @__PURE__ */ t(
|
|
17633
17636
|
B,
|
|
17634
17637
|
{
|
|
17635
17638
|
fill: !0,
|
|
@@ -17644,12 +17647,12 @@ const Vt = g.createContext(null), $m = ({
|
|
|
17644
17647
|
STANDARD: 154,
|
|
17645
17648
|
XLARGE: 200,
|
|
17646
17649
|
XXLARGE: 248
|
|
17647
|
-
},
|
|
17650
|
+
}, cC = 50, Si = 1, it = () => {
|
|
17648
17651
|
const e = g.useContext(Vt);
|
|
17649
17652
|
if (!e)
|
|
17650
17653
|
throw new Error("useCopyStore() must be used within the InsightsMicroWidgetDataProvider");
|
|
17651
17654
|
return e.store.copyStore;
|
|
17652
|
-
},
|
|
17655
|
+
}, lC = () => {
|
|
17653
17656
|
const e = g.useContext(Vt);
|
|
17654
17657
|
if (!e?.store?.insightsMicroWidgetStore)
|
|
17655
17658
|
throw new Error(
|
|
@@ -17666,7 +17669,7 @@ const Vt = g.createContext(null), $m = ({
|
|
|
17666
17669
|
if (!e)
|
|
17667
17670
|
throw new Error("usePageview() must be used within the InsightsMicroWidgetDataProvider");
|
|
17668
17671
|
return { onPageview: e.onPageview };
|
|
17669
|
-
},
|
|
17672
|
+
}, dC = ({
|
|
17670
17673
|
ariaLabel: e,
|
|
17671
17674
|
backgroundColor: A,
|
|
17672
17675
|
beat: n,
|
|
@@ -17683,7 +17686,7 @@ const Vt = g.createContext(null), $m = ({
|
|
|
17683
17686
|
}) => {
|
|
17684
17687
|
const C = window.app?.config.client_guid, { ref: f, inView: y } = Co({
|
|
17685
17688
|
threshold: Si
|
|
17686
|
-
}), { cardsCopy: v } = it(), { onEvent: S } = Yt(), { updateBeat: L } =
|
|
17689
|
+
}), { cardsCopy: v } = it(), { onEvent: S } = Yt(), { updateBeat: L } = lC();
|
|
17687
17690
|
At(() => {
|
|
17688
17691
|
y && (n.has_been_displayed ? S(yi(n.template)) : (L({
|
|
17689
17692
|
...n,
|
|
@@ -17733,7 +17736,7 @@ const Vt = g.createContext(null), $m = ({
|
|
|
17733
17736
|
widthOverrides: m
|
|
17734
17737
|
}
|
|
17735
17738
|
);
|
|
17736
|
-
},
|
|
17739
|
+
}, uC = ({
|
|
17737
17740
|
clientColorScheme: e,
|
|
17738
17741
|
currentBeatIndex: A,
|
|
17739
17742
|
numBeats: n,
|
|
@@ -17742,7 +17745,7 @@ const Vt = g.createContext(null), $m = ({
|
|
|
17742
17745
|
scrollRightBoundary: o,
|
|
17743
17746
|
scrollX: i
|
|
17744
17747
|
}) => {
|
|
17745
|
-
const s =
|
|
17748
|
+
const s = hC(), { carouselCopy: c } = it(), d = Math.floor(i) > o || A === 0, u = i < 0 || n - 1 === A, h = "#BBBCBC", m = e?.primary_300 ? e?.primary_300 : "#2D64EF";
|
|
17746
17749
|
return /* @__PURE__ */ l(M, { className: s, children: [
|
|
17747
17750
|
/* @__PURE__ */ t(
|
|
17748
17751
|
Ue,
|
|
@@ -17789,7 +17792,7 @@ const Vt = g.createContext(null), $m = ({
|
|
|
17789
17792
|
}
|
|
17790
17793
|
)
|
|
17791
17794
|
] });
|
|
17792
|
-
},
|
|
17795
|
+
}, hC = () => oA({
|
|
17793
17796
|
alignItems: "center",
|
|
17794
17797
|
display: "flex",
|
|
17795
17798
|
justifyContent: "center",
|
|
@@ -17806,7 +17809,7 @@ const Vt = g.createContext(null), $m = ({
|
|
|
17806
17809
|
// we were using `gap` instead of margin, but it doesn't work in safari browsers older than iOS 14.1
|
|
17807
17810
|
marginRight: 8
|
|
17808
17811
|
}
|
|
17809
|
-
}),
|
|
17812
|
+
}), gC = ({
|
|
17810
17813
|
beats: e = [],
|
|
17811
17814
|
clientColorScheme: A,
|
|
17812
17815
|
showCTAColocatedWithText: n,
|
|
@@ -17819,7 +17822,7 @@ const Vt = g.createContext(null), $m = ({
|
|
|
17819
17822
|
variant: d,
|
|
17820
17823
|
widthOverrides: u
|
|
17821
17824
|
}) => {
|
|
17822
|
-
const h =
|
|
17825
|
+
const h = CC(a, c, u), m = g.useRef(null), [C, f] = g.useState(0), [y, v] = g.useState(null), [S, L] = g.useState(null), { carouselCopy: I } = it(), { onEvent: T } = Yt(), D = () => {
|
|
17823
17826
|
T(pA.ON_CAROUSEL_FORWARD_CLICK), m.current && m.current.scrollTo({
|
|
17824
17827
|
left: (
|
|
17825
17828
|
// Adds the flex gap to the carousel ref's width
|
|
@@ -17838,7 +17841,7 @@ const Vt = g.createContext(null), $m = ({
|
|
|
17838
17841
|
m.current && f(m.current.scrollLeft);
|
|
17839
17842
|
}, H = () => {
|
|
17840
17843
|
if (!S || !y) return;
|
|
17841
|
-
S - y >
|
|
17844
|
+
S - y > cC ? T(pA.ON_CAROUSEL_FORWARD_SWIPE) : T(pA.ON_CAROUSEL_BACK_SWIPE);
|
|
17842
17845
|
}, z = (ee) => {
|
|
17843
17846
|
v(ee.targetTouches[0].clientX);
|
|
17844
17847
|
}, Z = (ee) => {
|
|
@@ -17876,7 +17879,7 @@ const Vt = g.createContext(null), $m = ({
|
|
|
17876
17879
|
ve.toString()
|
|
17877
17880
|
), gA = ee.micro_title && ee.micro_title.length > 0, KA = ee.micro_description && ee.micro_description.length > 0, ye = gA ? ee.micro_title : ee.title, Ve = KA ? ee.micro_description : ee.description;
|
|
17878
17881
|
return /* @__PURE__ */ t(
|
|
17879
|
-
|
|
17882
|
+
dC,
|
|
17880
17883
|
{
|
|
17881
17884
|
ariaLabel: `${Ze}: ${ye}, ${Ve}`,
|
|
17882
17885
|
beat: ee,
|
|
@@ -17890,7 +17893,7 @@ const Vt = g.createContext(null), $m = ({
|
|
|
17890
17893
|
);
|
|
17891
17894
|
}),
|
|
17892
17895
|
/* @__PURE__ */ t(
|
|
17893
|
-
|
|
17896
|
+
TC,
|
|
17894
17897
|
{
|
|
17895
17898
|
isActiveCard: Y === e.length,
|
|
17896
17899
|
onCardClick: r,
|
|
@@ -17901,7 +17904,7 @@ const Vt = g.createContext(null), $m = ({
|
|
|
17901
17904
|
}
|
|
17902
17905
|
),
|
|
17903
17906
|
i && /* @__PURE__ */ t(
|
|
17904
|
-
|
|
17907
|
+
uC,
|
|
17905
17908
|
{
|
|
17906
17909
|
clientColorScheme: A,
|
|
17907
17910
|
currentBeatIndex: Y,
|
|
@@ -17915,7 +17918,7 @@ const Vt = g.createContext(null), $m = ({
|
|
|
17915
17918
|
]
|
|
17916
17919
|
}
|
|
17917
17920
|
);
|
|
17918
|
-
},
|
|
17921
|
+
}, mC = w(gC), CC = (e, A = !0, n) => oA({
|
|
17919
17922
|
alignItems: "center",
|
|
17920
17923
|
boxSizing: "border-box",
|
|
17921
17924
|
display: "flex",
|
|
@@ -17963,7 +17966,7 @@ const Vt = g.createContext(null), $m = ({
|
|
|
17963
17966
|
g.useEffect(() => {
|
|
17964
17967
|
y && y <= 325 && L(3), y && y > 325 && L(2);
|
|
17965
17968
|
}, [y]);
|
|
17966
|
-
const { cardStyle: I, linkTextStyle: T } = h, D = f ? I : { border: "none", boxShadow: "none", ...I }, O =
|
|
17969
|
+
const { cardStyle: I, linkTextStyle: T } = h, D = f ? I : { border: "none", boxShadow: "none", ...I }, O = pC(
|
|
17967
17970
|
D,
|
|
17968
17971
|
r,
|
|
17969
17972
|
m,
|
|
@@ -18012,7 +18015,7 @@ const Vt = g.createContext(null), $m = ({
|
|
|
18012
18015
|
}
|
|
18013
18016
|
);
|
|
18014
18017
|
}
|
|
18015
|
-
),
|
|
18018
|
+
), pC = (e, A, n, a, r, o) => oA({
|
|
18016
18019
|
height: "100%",
|
|
18017
18020
|
listStyleType: "none",
|
|
18018
18021
|
userSelect: "none",
|
|
@@ -18069,7 +18072,7 @@ const Vt = g.createContext(null), $m = ({
|
|
|
18069
18072
|
// Needed to override padding for standard and first and last child conditions
|
|
18070
18073
|
padding: "0 !important"
|
|
18071
18074
|
}
|
|
18072
|
-
}),
|
|
18075
|
+
}), fC = ({
|
|
18073
18076
|
clientColorScheme: e,
|
|
18074
18077
|
onCardClick: A,
|
|
18075
18078
|
posthog: n,
|
|
@@ -18141,7 +18144,7 @@ const Vt = g.createContext(null), $m = ({
|
|
|
18141
18144
|
]
|
|
18142
18145
|
}
|
|
18143
18146
|
);
|
|
18144
|
-
},
|
|
18147
|
+
}, vC = w(fC), yC = ({
|
|
18145
18148
|
heightOverrides: e,
|
|
18146
18149
|
widthOverrides: A,
|
|
18147
18150
|
children: n
|
|
@@ -18162,7 +18165,7 @@ const Vt = g.createContext(null), $m = ({
|
|
|
18162
18165
|
children: n
|
|
18163
18166
|
}
|
|
18164
18167
|
);
|
|
18165
|
-
},
|
|
18168
|
+
}, EC = () => /* @__PURE__ */ t(
|
|
18166
18169
|
M,
|
|
18167
18170
|
{
|
|
18168
18171
|
sx: {
|
|
@@ -18174,7 +18177,7 @@ const Vt = g.createContext(null), $m = ({
|
|
|
18174
18177
|
},
|
|
18175
18178
|
children: /* @__PURE__ */ t(aa, {})
|
|
18176
18179
|
}
|
|
18177
|
-
), kA = new
|
|
18180
|
+
), kA = new $m(), bC = ({
|
|
18178
18181
|
areBeatsLoading: e,
|
|
18179
18182
|
beats: A = [],
|
|
18180
18183
|
// This also determines the length of the carousel controls (beat.length + 1)
|
|
@@ -18229,10 +18232,10 @@ const Vt = g.createContext(null), $m = ({
|
|
|
18229
18232
|
// The Theme provider must wrap the component so that the styles don't break when imported into other applications.
|
|
18230
18233
|
/* @__PURE__ */ l(Vi, { theme: Bi(S ? "dark" : "light"), children: [
|
|
18231
18234
|
/* @__PURE__ */ t(sc, {}),
|
|
18232
|
-
/* @__PURE__ */ t(
|
|
18233
|
-
(e || !kA.isInitialized) && /* @__PURE__ */ t(
|
|
18235
|
+
/* @__PURE__ */ t(eC, { onEvent: z, onPageview: Z, store: kA, children: /* @__PURE__ */ l(yC, { heightOverrides: o, widthOverrides: T, children: [
|
|
18236
|
+
(e || !kA.isInitialized) && /* @__PURE__ */ t(EC, {}),
|
|
18234
18237
|
x && C && /* @__PURE__ */ t(
|
|
18235
|
-
|
|
18238
|
+
vC,
|
|
18236
18239
|
{
|
|
18237
18240
|
clientColorScheme: n,
|
|
18238
18241
|
onCardClick: s,
|
|
@@ -18241,7 +18244,7 @@ const Vt = g.createContext(null), $m = ({
|
|
|
18241
18244
|
}
|
|
18242
18245
|
),
|
|
18243
18246
|
x && !!A.length && /* @__PURE__ */ t(
|
|
18244
|
-
|
|
18247
|
+
mC,
|
|
18245
18248
|
{
|
|
18246
18249
|
beats: A,
|
|
18247
18250
|
clientColorScheme: n,
|
|
@@ -18250,12 +18253,12 @@ const Vt = g.createContext(null), $m = ({
|
|
|
18250
18253
|
...F
|
|
18251
18254
|
}
|
|
18252
18255
|
),
|
|
18253
|
-
x && !A.length && L && /* @__PURE__ */ t(
|
|
18254
|
-
x && !A.length && !L && /* @__PURE__ */ t(
|
|
18256
|
+
x && !A.length && L && /* @__PURE__ */ t(_C, { clientColorScheme: n, ...Y }),
|
|
18257
|
+
x && !A.length && !L && /* @__PURE__ */ t(LC, { ...Y })
|
|
18255
18258
|
] }) })
|
|
18256
18259
|
] })
|
|
18257
18260
|
);
|
|
18258
|
-
},
|
|
18261
|
+
}, P3 = w(bC), wC = ({
|
|
18259
18262
|
ariaLabel: e,
|
|
18260
18263
|
carouselSize: A,
|
|
18261
18264
|
clientColorScheme: n,
|
|
@@ -18308,7 +18311,7 @@ const Vt = g.createContext(null), $m = ({
|
|
|
18308
18311
|
widthOverrides: d
|
|
18309
18312
|
}
|
|
18310
18313
|
);
|
|
18311
|
-
},
|
|
18314
|
+
}, _C = w(wC), SC = ({
|
|
18312
18315
|
isActiveCard: e,
|
|
18313
18316
|
ariaLabel: A,
|
|
18314
18317
|
clientColorScheme: n,
|
|
@@ -18345,7 +18348,7 @@ const Vt = g.createContext(null), $m = ({
|
|
|
18345
18348
|
fontColors: { buttonColor: n?.primary_300 },
|
|
18346
18349
|
heightOverrides: a,
|
|
18347
18350
|
icon: /* @__PURE__ */ t(
|
|
18348
|
-
|
|
18351
|
+
rC,
|
|
18349
18352
|
{
|
|
18350
18353
|
color: n?.primary_300 ? n?.primary_300 : d.Color.Primary300
|
|
18351
18354
|
}
|
|
@@ -18359,7 +18362,7 @@ const Vt = g.createContext(null), $m = ({
|
|
|
18359
18362
|
widthOverrides: c
|
|
18360
18363
|
}
|
|
18361
18364
|
);
|
|
18362
|
-
},
|
|
18365
|
+
}, TC = w(SC), IC = ({
|
|
18363
18366
|
ariaLabel: e,
|
|
18364
18367
|
carouselSize: A,
|
|
18365
18368
|
heightOverrides: n,
|
|
@@ -18398,7 +18401,7 @@ const Vt = g.createContext(null), $m = ({
|
|
|
18398
18401
|
widthOverrides: s
|
|
18399
18402
|
}
|
|
18400
18403
|
);
|
|
18401
|
-
},
|
|
18404
|
+
}, LC = w(IC), Fn = 5, DC = (e, A) => A.reduce((n, a) => {
|
|
18402
18405
|
if (a.total > 0) {
|
|
18403
18406
|
const r = e.find((d) => d.guid === a.category_guid);
|
|
18404
18407
|
if (!r) return n;
|
|
@@ -18420,7 +18423,7 @@ const Vt = g.createContext(null), $m = ({
|
|
|
18420
18423
|
}
|
|
18421
18424
|
return n;
|
|
18422
18425
|
}, []), Ii = (e, A) => {
|
|
18423
|
-
const n =
|
|
18426
|
+
const n = DC(e, A), a = n.filter((c) => c.guid !== b.INCOME && c.guid !== b.TRANSFER).sort((c, d) => d.amount - c.amount), r = a.reduce(
|
|
18424
18427
|
(c, d) => c + d.amount,
|
|
18425
18428
|
0
|
|
18426
18429
|
), o = a.length > Fn ? Fn : a.length, i = a.slice(0, o), s = i.map((c) => ({
|
|
@@ -18482,7 +18485,7 @@ const Vt = g.createContext(null), $m = ({
|
|
|
18482
18485
|
}, un = ({ amount: e, label: A }) => /* @__PURE__ */ l(E, { direction: "column", children: [
|
|
18483
18486
|
/* @__PURE__ */ t(p, { bold: !0, sx: { textTransform: "none" }, variant: "Body", children: A }),
|
|
18484
18487
|
/* @__PURE__ */ t(p, { variant: "XSmall", children: R(e, "0,0") })
|
|
18485
|
-
] }),
|
|
18488
|
+
] }), xC = ({
|
|
18486
18489
|
data: e,
|
|
18487
18490
|
isIncome: A = !1,
|
|
18488
18491
|
onSelected: n,
|
|
@@ -18535,7 +18538,7 @@ const Vt = g.createContext(null), $m = ({
|
|
|
18535
18538
|
}
|
|
18536
18539
|
)
|
|
18537
18540
|
] }) }) });
|
|
18538
|
-
}, hn = w(
|
|
18541
|
+
}, hn = w(xC), Jr = ({ data: e, onSelected: A, selectedId: n }) => /* @__PURE__ */ t(E, { gap: 8, height: "100%", justifyContent: "center", my: "auto", children: e.categoryData.map((a) => /* @__PURE__ */ l(
|
|
18539
18542
|
E,
|
|
18540
18543
|
{
|
|
18541
18544
|
alignItems: "center",
|
|
@@ -18552,7 +18555,7 @@ const Vt = g.createContext(null), $m = ({
|
|
|
18552
18555
|
]
|
|
18553
18556
|
},
|
|
18554
18557
|
a.guid
|
|
18555
|
-
)) }),
|
|
18558
|
+
)) }), OC = () => {
|
|
18556
18559
|
const e = be(), { spending: A } = _(), { selectedAccounts: n } = fe(), a = g.useMemo(
|
|
18557
18560
|
() => [
|
|
18558
18561
|
e.palette.chartMono.chartMono5,
|
|
@@ -18642,7 +18645,7 @@ const Vt = g.createContext(null), $m = ({
|
|
|
18642
18645
|
/* @__PURE__ */ t(Jr, { data: m, onSelected: f, selectedId: s })
|
|
18643
18646
|
] }) })
|
|
18644
18647
|
] });
|
|
18645
|
-
},
|
|
18648
|
+
}, PC = w(OC), NC = ({ onPrimaryCtaClick: e, sx: A = {} }) => {
|
|
18646
18649
|
const { spending: n } = _();
|
|
18647
18650
|
return /* @__PURE__ */ t(
|
|
18648
18651
|
mt,
|
|
@@ -18652,10 +18655,10 @@ const Vt = g.createContext(null), $m = ({
|
|
|
18652
18655
|
primaryCtaLabel: n.primary_cta,
|
|
18653
18656
|
sx: A,
|
|
18654
18657
|
title: n.mini_title,
|
|
18655
|
-
children: /* @__PURE__ */ t(
|
|
18658
|
+
children: /* @__PURE__ */ t(PC, {})
|
|
18656
18659
|
}
|
|
18657
18660
|
);
|
|
18658
|
-
},
|
|
18661
|
+
}, N3 = w(NC), MC = ({
|
|
18659
18662
|
data: e,
|
|
18660
18663
|
onSelected: A,
|
|
18661
18664
|
selectedId: n = "",
|
|
@@ -18734,7 +18737,7 @@ const Vt = g.createContext(null), $m = ({
|
|
|
18734
18737
|
] }, i.guid)) }),
|
|
18735
18738
|
/* @__PURE__ */ t(p, { bold: !0, sx: { mt: 12, pr: 8, textAlign: "right" }, children: `${r.total}: ${R(e.totalAmount, "0,0")}` })
|
|
18736
18739
|
] });
|
|
18737
|
-
},
|
|
18740
|
+
}, RC = w(MC), BC = ({
|
|
18738
18741
|
data: e,
|
|
18739
18742
|
onSelected: A,
|
|
18740
18743
|
onViewTransactions: n,
|
|
@@ -18780,18 +18783,18 @@ const Vt = g.createContext(null), $m = ({
|
|
|
18780
18783
|
variant: "full"
|
|
18781
18784
|
}
|
|
18782
18785
|
),
|
|
18783
|
-
/* @__PURE__ */ t(
|
|
18786
|
+
/* @__PURE__ */ t(RC, { data: e, onSelected: A, selectedId: a, title: r })
|
|
18784
18787
|
]
|
|
18785
18788
|
}
|
|
18786
18789
|
);
|
|
18787
|
-
}, Zr = w(
|
|
18790
|
+
}, Zr = w(BC), HC = (e) => [
|
|
18788
18791
|
e.palette.chartMono.chartMono5,
|
|
18789
18792
|
e.palette.chartMono.chartMono4,
|
|
18790
18793
|
e.palette.chartMono.chartMono3,
|
|
18791
18794
|
e.palette.chartMono.chartMono2,
|
|
18792
18795
|
e.palette.chartMono.chartMono1,
|
|
18793
18796
|
e.palette.chartMono.chartMono6
|
|
18794
|
-
],
|
|
18797
|
+
], KC = () => {
|
|
18795
18798
|
const e = XA(), { categories: A, dateRangeCategoryTotals: n, loadDateRangeCategoryTotals: a } = Pe(), { spending: r } = _(), { displayedDateRange: o, selectedAccounts: i, selectedAccountGuids: s } = fe(), { setFilter: c, sortedTransactions: d } = me(), [u, h] = g.useState(""), [m, C] = g.useState(0), [f, y] = g.useState(""), [v, S] = g.useState(!1);
|
|
18796
18799
|
g.useEffect(() => {
|
|
18797
18800
|
a(
|
|
@@ -18804,7 +18807,7 @@ const Vt = g.createContext(null), $m = ({
|
|
|
18804
18807
|
() => Ii(A, n),
|
|
18805
18808
|
[A, n]
|
|
18806
18809
|
), I = g.useMemo(
|
|
18807
|
-
() => Li(A, n,
|
|
18810
|
+
() => Li(A, n, HC(e)),
|
|
18808
18811
|
[A, n]
|
|
18809
18812
|
), T = g.useMemo(
|
|
18810
18813
|
() => d.find((H) => H.guid === f),
|
|
@@ -18905,7 +18908,7 @@ const Vt = g.createContext(null), $m = ({
|
|
|
18905
18908
|
}
|
|
18906
18909
|
)
|
|
18907
18910
|
] });
|
|
18908
|
-
},
|
|
18911
|
+
}, qC = w(KC), zC = ({ onBackClick: e, sx: A = {} }) => {
|
|
18909
18912
|
const { accounts: n } = pe(), { spending: a } = _(), { isInitialized: r, setDisplayedDate: o, setSelectedAccounts: i } = fe(), { onEvent: s } = Q(), [c, d] = g.useState(!1);
|
|
18910
18913
|
g.useEffect(() => {
|
|
18911
18914
|
i(n);
|
|
@@ -18924,11 +18927,11 @@ const Vt = g.createContext(null), $m = ({
|
|
|
18924
18927
|
onBackClick: e,
|
|
18925
18928
|
sx: A,
|
|
18926
18929
|
title: a.title,
|
|
18927
|
-
children: /* @__PURE__ */ t(M, { height: "calc(100dvh - 150px)", overflow: "scroll", width: "100%", children: /* @__PURE__ */ t(
|
|
18930
|
+
children: /* @__PURE__ */ t(M, { height: "calc(100dvh - 150px)", overflow: "scroll", width: "100%", children: /* @__PURE__ */ t(qC, {}) })
|
|
18928
18931
|
}
|
|
18929
18932
|
);
|
|
18930
|
-
},
|
|
18931
|
-
function
|
|
18933
|
+
}, M3 = w(zC), kC = (e) => ZA[e] ?? ZA.default, GC = (e) => yn[e];
|
|
18934
|
+
function UC(e, A) {
|
|
18932
18935
|
const n = [], a = new Date(e);
|
|
18933
18936
|
for (; a <= A; ) {
|
|
18934
18937
|
const r = a.getFullYear(), o = String(a.getMonth() + 1).padStart(2, "0");
|
|
@@ -18936,7 +18939,7 @@ function GC(e, A) {
|
|
|
18936
18939
|
}
|
|
18937
18940
|
return n;
|
|
18938
18941
|
}
|
|
18939
|
-
const
|
|
18942
|
+
const FC = (e) => e.reduce((n, a) => {
|
|
18940
18943
|
const r = {
|
|
18941
18944
|
top_level_category_guid: a.top_level_category_guid,
|
|
18942
18945
|
category_guid: a.category_guid,
|
|
@@ -18944,8 +18947,8 @@ const UC = (e) => e.reduce((n, a) => {
|
|
|
18944
18947
|
year_month: a.year_month
|
|
18945
18948
|
}, { top_level_category_guid: o, category_guid: i } = r;
|
|
18946
18949
|
return n[i] || (n[i] = []), n[i].push(r), o !== i && (n[o] || (n[o] = []), n[o].push(r)), n;
|
|
18947
|
-
}, {}),
|
|
18948
|
-
const a =
|
|
18950
|
+
}, {}), jC = (e, A, n) => {
|
|
18951
|
+
const a = FC(e), r = UC(A, n);
|
|
18949
18952
|
return Object.entries(a).map(([i, s]) => {
|
|
18950
18953
|
const c = s[0].top_level_category_guid, d = r.map((u) => {
|
|
18951
18954
|
const h = s.filter((y) => y.year_month === u).reduce((y, v) => y + Math.abs(v.amount), 0), m = Number(String(u).slice(0, 4)), C = Number(String(u).slice(4));
|
|
@@ -18954,18 +18957,18 @@ const UC = (e) => e.reduce((n, a) => {
|
|
|
18954
18957
|
return {
|
|
18955
18958
|
top_level_category_guid: c,
|
|
18956
18959
|
category_guid: i,
|
|
18957
|
-
category_name:
|
|
18958
|
-
category_color:
|
|
18960
|
+
category_name: GC(i),
|
|
18961
|
+
category_color: kC(c),
|
|
18959
18962
|
dataset: d
|
|
18960
18963
|
};
|
|
18961
18964
|
});
|
|
18962
|
-
},
|
|
18965
|
+
}, QC = (e, A) => {
|
|
18963
18966
|
const n = typeof e == "string" ? parseFloat(e.replace(/[^0-9.-]+/g, "")) : e, a = typeof A == "string" ? parseFloat(A.replace(/[^0-9.-]+/g, "")) : A;
|
|
18964
18967
|
return (n || 0) - (a || 0);
|
|
18965
|
-
},
|
|
18968
|
+
}, XC = (e) => {
|
|
18966
18969
|
const A = e.row[e.field];
|
|
18967
18970
|
return /* @__PURE__ */ t(E, { alignItems: "flex-end", tabIndex: e.tabIndex, children: /* @__PURE__ */ t(Ie, { amount: A, variant: "Small" }) });
|
|
18968
|
-
},
|
|
18971
|
+
}, WC = ({ categoryGuid: e, topLevelCategoryGuid: A }) => {
|
|
18969
18972
|
const { categories: n } = _(), a = yn[e];
|
|
18970
18973
|
return /* @__PURE__ */ l(E, { alignItems: "center", direction: "row", justifyContent: "center", children: [
|
|
18971
18974
|
/* @__PURE__ */ t(
|
|
@@ -18978,20 +18981,20 @@ const UC = (e) => e.reduce((n, a) => {
|
|
|
18978
18981
|
),
|
|
18979
18982
|
/* @__PURE__ */ t(p, { sx: { ml: 12, pb: 6 }, variant: "Small", children: a })
|
|
18980
18983
|
] });
|
|
18981
|
-
},
|
|
18982
|
-
|
|
18984
|
+
}, VC = (e) => /* @__PURE__ */ t(E, { alignItems: "center", direction: "row", height: "100%", width: "100%", children: /* @__PURE__ */ t(
|
|
18985
|
+
WC,
|
|
18983
18986
|
{
|
|
18984
18987
|
categoryGuid: e.row.category,
|
|
18985
18988
|
topLevelCategoryGuid: e.row.top_level_category_guid
|
|
18986
18989
|
}
|
|
18987
|
-
) }),
|
|
18990
|
+
) }), YC = (e, A) => {
|
|
18988
18991
|
const n = [], a = new Date(e);
|
|
18989
18992
|
for (; a <= A; ) {
|
|
18990
18993
|
const r = Ae(a, $.MONTH);
|
|
18991
18994
|
n.push(r), a.setMonth(a.getMonth() + 1);
|
|
18992
18995
|
}
|
|
18993
18996
|
return n;
|
|
18994
|
-
},
|
|
18997
|
+
}, JC = ({
|
|
18995
18998
|
monthlyCategoryTotals: e,
|
|
18996
18999
|
selectedDateRange: A,
|
|
18997
19000
|
selectedCategory: n,
|
|
@@ -19001,13 +19004,13 @@ const UC = (e) => e.reduce((n, a) => {
|
|
|
19001
19004
|
}) => {
|
|
19002
19005
|
const { onEvent: i } = Q(), s = Ae(/* @__PURE__ */ new Date(), $.MONTH_SHORT), [c, d] = g.useState([
|
|
19003
19006
|
{ field: s, sort: "desc" }
|
|
19004
|
-
]), u = g.useMemo(() =>
|
|
19007
|
+
]), u = g.useMemo(() => YC(A.start, A.end), [A]), h = [
|
|
19005
19008
|
{
|
|
19006
19009
|
field: "category",
|
|
19007
19010
|
headerName: "Category",
|
|
19008
19011
|
minWidth: 175,
|
|
19009
19012
|
renderHeader: YA,
|
|
19010
|
-
renderCell:
|
|
19013
|
+
renderCell: VC,
|
|
19011
19014
|
sortable: !0,
|
|
19012
19015
|
type: "string"
|
|
19013
19016
|
},
|
|
@@ -19017,13 +19020,13 @@ const UC = (e) => e.reduce((n, a) => {
|
|
|
19017
19020
|
headerName: C,
|
|
19018
19021
|
minWidth: 75,
|
|
19019
19022
|
renderHeader: YA,
|
|
19020
|
-
renderCell:
|
|
19023
|
+
renderCell: XC,
|
|
19021
19024
|
align: "right",
|
|
19022
19025
|
headerAlign: "right",
|
|
19023
19026
|
sortable: !0,
|
|
19024
19027
|
hideSortIcons: !1,
|
|
19025
19028
|
type: "number",
|
|
19026
|
-
sortComparator:
|
|
19029
|
+
sortComparator: QC
|
|
19027
19030
|
})
|
|
19028
19031
|
)
|
|
19029
19032
|
], m = g.useMemo(() => {
|
|
@@ -19065,9 +19068,9 @@ const UC = (e) => e.reduce((n, a) => {
|
|
|
19065
19068
|
sortingOrder: ["asc", "desc"]
|
|
19066
19069
|
}
|
|
19067
19070
|
) });
|
|
19068
|
-
},
|
|
19071
|
+
}, ZC = {
|
|
19069
19072
|
title: "Transaction List"
|
|
19070
|
-
},
|
|
19073
|
+
}, $C = ({
|
|
19071
19074
|
categoryGuid: e,
|
|
19072
19075
|
dateRange: A,
|
|
19073
19076
|
isOpen: n,
|
|
@@ -19090,16 +19093,16 @@ const UC = (e) => e.reduce((n, a) => {
|
|
|
19090
19093
|
ariaLabelClose: i.close_aria,
|
|
19091
19094
|
isOpen: n,
|
|
19092
19095
|
onClose: m,
|
|
19093
|
-
title:
|
|
19096
|
+
title: ZC.title,
|
|
19094
19097
|
children: [
|
|
19095
19098
|
h && /* @__PURE__ */ t(St, { transaction: h }),
|
|
19096
19099
|
!h && /* @__PURE__ */ t(rt, { onClick: u })
|
|
19097
19100
|
]
|
|
19098
19101
|
}
|
|
19099
19102
|
);
|
|
19100
|
-
},
|
|
19103
|
+
}, ep = w($C), Ap = {
|
|
19101
19104
|
view_transactions: "View Transactions"
|
|
19102
|
-
},
|
|
19105
|
+
}, tp = ({ onBackClick: e, sx: A }) => {
|
|
19103
19106
|
const n = uA(), { onEvent: a } = Q(), { isDesktop: r, isTablet: o, isMobile: i } = De(), { accounts: s } = pe(), { loadMonthlyCategoryTotals: c, monthlyCategoryTotals: d, getCategoryName: u } = Pe(), { sortedTransactions: h } = me(), { isInitialized: m, selectedAccounts: C, setSelectedAccounts: f } = fe(), { trends: y } = _(), v = n.palette.mode === "dark", [S, L] = g.useState(!1), [I, T] = g.useState(!1), [D, O] = g.useState("Chart"), [x, H] = g.useState(""), [z, Z] = g.useState({
|
|
19104
19107
|
start: Wa(Be(wA(/* @__PURE__ */ new Date(), 6)), 1),
|
|
19105
19108
|
end: Be(/* @__PURE__ */ new Date())
|
|
@@ -19117,7 +19120,7 @@ const UC = (e) => e.reduce((n, a) => {
|
|
|
19117
19120
|
}, [m, C, z]);
|
|
19118
19121
|
const F = g.useMemo(() => {
|
|
19119
19122
|
if (!S) return { stackedDatasets: [], unstackedDatasets: [] };
|
|
19120
|
-
const ye =
|
|
19123
|
+
const ye = jC(
|
|
19121
19124
|
d,
|
|
19122
19125
|
z.start,
|
|
19123
19126
|
z.end
|
|
@@ -19248,7 +19251,7 @@ const UC = (e) => e.reduce((n, a) => {
|
|
|
19248
19251
|
/* @__PURE__ */ t(B, { name: "arrow_back" }),
|
|
19249
19252
|
y.all_categories
|
|
19250
19253
|
] }) }),
|
|
19251
|
-
/* @__PURE__ */ t(re, { onClick: () => T(!0), sx: { px: 5 }, children: `${
|
|
19254
|
+
/* @__PURE__ */ t(re, { onClick: () => T(!0), sx: { px: 5 }, children: `${Ap.view_transactions} (${h.length})` })
|
|
19252
19255
|
] }),
|
|
19253
19256
|
/* @__PURE__ */ l(M, { children: [
|
|
19254
19257
|
D === "Chart" && /* @__PURE__ */ t(
|
|
@@ -19263,7 +19266,7 @@ const UC = (e) => e.reduce((n, a) => {
|
|
|
19263
19266
|
}
|
|
19264
19267
|
),
|
|
19265
19268
|
D === "Table" && /* @__PURE__ */ t(
|
|
19266
|
-
|
|
19269
|
+
JC,
|
|
19267
19270
|
{
|
|
19268
19271
|
monthlyCategoryTotals: d,
|
|
19269
19272
|
onClickRow: se,
|
|
@@ -19276,7 +19279,7 @@ const UC = (e) => e.reduce((n, a) => {
|
|
|
19276
19279
|
}
|
|
19277
19280
|
),
|
|
19278
19281
|
/* @__PURE__ */ t(
|
|
19279
|
-
|
|
19282
|
+
ep,
|
|
19280
19283
|
{
|
|
19281
19284
|
categoryGuid: x,
|
|
19282
19285
|
dateRange: z,
|
|
@@ -19287,7 +19290,7 @@ const UC = (e) => e.reduce((n, a) => {
|
|
|
19287
19290
|
]
|
|
19288
19291
|
}
|
|
19289
19292
|
);
|
|
19290
|
-
},
|
|
19293
|
+
}, R3 = w(tp), np = () => {
|
|
19291
19294
|
const e = uA(), { monthlyCategoryTotals: A } = Pe(), { trends: n } = _(), a = kh(A);
|
|
19292
19295
|
return /* @__PURE__ */ t(
|
|
19293
19296
|
ma,
|
|
@@ -19303,7 +19306,7 @@ const UC = (e) => e.reduce((n, a) => {
|
|
|
19303
19306
|
useCustomMark: !0
|
|
19304
19307
|
}
|
|
19305
19308
|
);
|
|
19306
|
-
},
|
|
19309
|
+
}, ap = w(np), rp = ({ onPrimaryCtaClick: e, sx: A }) => {
|
|
19307
19310
|
const { loadMonthlyCategoryTotals: n } = Pe(), { isInitialized: a } = wn(), { trends: r } = _(), { selectedAccounts: o } = fe(), [i, s] = g.useState(!1);
|
|
19308
19311
|
return g.useEffect(() => {
|
|
19309
19312
|
a && n(o).finally(() => {
|
|
@@ -19317,10 +19320,10 @@ const UC = (e) => e.reduce((n, a) => {
|
|
|
19317
19320
|
subTitle: r.sub_title,
|
|
19318
19321
|
sx: A,
|
|
19319
19322
|
title: r.mini_title,
|
|
19320
|
-
children: /* @__PURE__ */ t(
|
|
19323
|
+
children: /* @__PURE__ */ t(ap, {})
|
|
19321
19324
|
}
|
|
19322
19325
|
);
|
|
19323
|
-
},
|
|
19326
|
+
}, B3 = w(rp);
|
|
19324
19327
|
export {
|
|
19325
19328
|
q as ANALYTICS_EVENTS,
|
|
19326
19329
|
zr as AccountApi,
|
|
@@ -19329,33 +19332,33 @@ export {
|
|
|
19329
19332
|
Io as AccountFilter,
|
|
19330
19333
|
Eo as AccountIcon,
|
|
19331
19334
|
gc as AccountIconVariants,
|
|
19332
|
-
|
|
19335
|
+
mm as AccountStore,
|
|
19333
19336
|
uc as AccountSubType,
|
|
19334
19337
|
V as AccountType,
|
|
19335
19338
|
la as AccountTypeName,
|
|
19336
|
-
|
|
19337
|
-
|
|
19339
|
+
I3 as AccountsMiniWidget,
|
|
19340
|
+
T3 as AccountsWidget,
|
|
19338
19341
|
Ai as ActivitySettings,
|
|
19339
19342
|
He as ActivityStatus,
|
|
19340
19343
|
Me as ActivityType,
|
|
19341
19344
|
cu as AddAccountModal,
|
|
19342
19345
|
Oc as AnalyticsApi,
|
|
19343
19346
|
N as ApiEndpoints,
|
|
19344
|
-
|
|
19345
|
-
|
|
19347
|
+
$m as AppStore,
|
|
19348
|
+
a3 as BarChart,
|
|
19346
19349
|
Et as BeatApi,
|
|
19347
|
-
|
|
19350
|
+
dC as BeatCard,
|
|
19348
19351
|
en as BottomActions,
|
|
19349
|
-
|
|
19350
|
-
|
|
19352
|
+
D3 as BubbleBudgetsMiniWidget,
|
|
19353
|
+
x3 as BubbleBudgetsWidget,
|
|
19351
19354
|
Vc as Calendar,
|
|
19352
19355
|
Lo as CalendarSelectionTypes,
|
|
19353
|
-
|
|
19356
|
+
vC as CarouselHeader,
|
|
19354
19357
|
xr as CashflowApi,
|
|
19355
|
-
|
|
19358
|
+
l3 as CashflowMiniWidget,
|
|
19356
19359
|
Sh as CashflowOnboarding,
|
|
19357
19360
|
Lh as CashflowStore,
|
|
19358
|
-
|
|
19361
|
+
C3 as CashflowWidget,
|
|
19359
19362
|
rn as CategoryApi,
|
|
19360
19363
|
ZA as CategoryColors,
|
|
19361
19364
|
yn as CategoryGuidToName,
|
|
@@ -19365,9 +19368,9 @@ export {
|
|
|
19365
19368
|
Dd as CategorySelector,
|
|
19366
19369
|
ba as CategorySelectorDrawer,
|
|
19367
19370
|
Md as CategoryStore,
|
|
19368
|
-
|
|
19371
|
+
rC as ChartFilledIcon,
|
|
19369
19372
|
Wt as ConnectDrawer,
|
|
19370
|
-
|
|
19373
|
+
L3 as ConnectMiniWidget,
|
|
19371
19374
|
ct as ConnectionStatus,
|
|
19372
19375
|
je as ConnectionStatusEnums,
|
|
19373
19376
|
an as CurrencyCodes,
|
|
@@ -19376,14 +19379,14 @@ export {
|
|
|
19376
19379
|
$ as DATE_FORMATS_INTL,
|
|
19377
19380
|
bo as DEFAULT_DONUT_SIZE,
|
|
19378
19381
|
wo as DEFAULT_STROKE_WIDTH,
|
|
19379
|
-
|
|
19382
|
+
O3 as Dashboard,
|
|
19380
19383
|
ta as DashboardLocation,
|
|
19381
19384
|
cn as DataRow,
|
|
19382
19385
|
or as DateRangeSelector,
|
|
19383
19386
|
ii as DebtsChart,
|
|
19384
19387
|
Sg as DebtsStore,
|
|
19385
19388
|
Cg as DebtsTable,
|
|
19386
|
-
|
|
19389
|
+
f3 as DebtsWidget,
|
|
19387
19390
|
Oe as Dialog,
|
|
19388
19391
|
el as Donut,
|
|
19389
19392
|
ce as Drawer,
|
|
@@ -19394,63 +19397,63 @@ export {
|
|
|
19394
19397
|
on as GlobalCopyApi,
|
|
19395
19398
|
wl as GlobalCopyStore,
|
|
19396
19399
|
ut as GlobalDataContext,
|
|
19397
|
-
|
|
19398
|
-
|
|
19400
|
+
r3 as GlobalDataProvider,
|
|
19401
|
+
S3 as GlobalStore,
|
|
19399
19402
|
Pr as GoalApi,
|
|
19400
19403
|
Fg as GoalStore,
|
|
19401
19404
|
Zn as GoalType,
|
|
19402
|
-
|
|
19403
|
-
|
|
19404
|
-
|
|
19405
|
-
|
|
19405
|
+
v3 as GoalsWidget,
|
|
19406
|
+
R1 as HelpContent,
|
|
19407
|
+
B1 as HelpList,
|
|
19408
|
+
K1 as HelpWidget,
|
|
19406
19409
|
da as INCOME_ACCOUNT_TYPES,
|
|
19407
19410
|
et as IconBacking,
|
|
19408
19411
|
ln as InformationTooltip,
|
|
19409
|
-
|
|
19410
|
-
|
|
19412
|
+
P3 as InsightsMicroWidget,
|
|
19413
|
+
eC as InsightsMicroWidgetDataProvider,
|
|
19411
19414
|
fc as IterationItemTypes,
|
|
19412
|
-
|
|
19415
|
+
Z8 as LOADING_STATUS,
|
|
19413
19416
|
ma as LineChart,
|
|
19414
19417
|
PA as ListItemAction,
|
|
19415
19418
|
bl as ListItemWrapper,
|
|
19416
19419
|
Qe as Loader,
|
|
19417
|
-
|
|
19420
|
+
t3 as LocalizedCopyApi,
|
|
19418
19421
|
Ia as ManageIncome,
|
|
19419
19422
|
$A as MemberConnectionStatus,
|
|
19420
|
-
|
|
19423
|
+
y3 as MerchantLookup,
|
|
19421
19424
|
Zg as MerchantStore,
|
|
19422
19425
|
tA as MetaType,
|
|
19423
19426
|
fo as MfaStatuses,
|
|
19424
|
-
|
|
19427
|
+
mC as MicroBeatCarousel,
|
|
19425
19428
|
On as MicroInsightCard,
|
|
19426
19429
|
mt as MiniWidgetContainer,
|
|
19427
|
-
|
|
19428
|
-
|
|
19430
|
+
sC as MonthlySpendComparisonIcon,
|
|
19431
|
+
s3 as MultiSegmentDonut,
|
|
19429
19432
|
s1 as NetWorthChart,
|
|
19430
19433
|
u1 as NetWorthList,
|
|
19431
19434
|
o1 as NetWorthStore,
|
|
19432
19435
|
m1 as NetWorthSummary,
|
|
19433
|
-
|
|
19434
|
-
|
|
19436
|
+
E3 as NetWorthWidget,
|
|
19437
|
+
_C as NoRelevantInsightsCard,
|
|
19435
19438
|
yo as NonConnectedStatuses,
|
|
19436
19439
|
$a as NotificationApi,
|
|
19437
|
-
|
|
19440
|
+
w3 as NotificationList,
|
|
19438
19441
|
b1 as NotificationStore,
|
|
19439
19442
|
qe as NotificationType,
|
|
19440
19443
|
dc as ORDINAL_DATE_FORMAT,
|
|
19441
|
-
|
|
19444
|
+
W8 as ORDINAL_MONTH_DAY_YEAR_FORMAT,
|
|
19442
19445
|
ua as PAYMENT_ACCOUNT_TYPES,
|
|
19443
19446
|
Va as PaymentCategories,
|
|
19444
19447
|
pc as PlanTypes,
|
|
19445
19448
|
hc as ProcessingStatuses,
|
|
19446
19449
|
po as PropertyType,
|
|
19447
|
-
|
|
19448
|
-
|
|
19450
|
+
Y8 as PropertyTypeName,
|
|
19451
|
+
J8 as RECURRENCE_COPY,
|
|
19449
19452
|
G as RecurrenceTypes,
|
|
19450
|
-
|
|
19453
|
+
m3 as RecurringActivityMiniWidget,
|
|
19451
19454
|
Ju as RecurringActivityStore,
|
|
19452
|
-
|
|
19453
|
-
|
|
19455
|
+
g3 as RecurringActivityWidget,
|
|
19456
|
+
c3 as ResponsiveButton,
|
|
19454
19457
|
ha as SPENDING_ACCOUNT_TYPES,
|
|
19455
19458
|
Fl as ScheduledPaymentTypes,
|
|
19456
19459
|
er as ScheduledPaymentsApi,
|
|
@@ -19459,14 +19462,14 @@ export {
|
|
|
19459
19462
|
cr as SelectionBox,
|
|
19460
19463
|
Kr as SettingsApi,
|
|
19461
19464
|
D1 as SettingsStore,
|
|
19462
|
-
|
|
19465
|
+
_3 as SettingsWidget,
|
|
19463
19466
|
Ro as SingleSegmentDonut,
|
|
19464
19467
|
vc as Sizes,
|
|
19465
|
-
|
|
19466
|
-
|
|
19468
|
+
N3 as SpendingMiniWidget,
|
|
19469
|
+
M3 as SpendingWidget,
|
|
19467
19470
|
hl as StackedLineChart,
|
|
19468
19471
|
Gt as StatusBar,
|
|
19469
|
-
|
|
19472
|
+
V8 as StatusName,
|
|
19470
19473
|
Dt as TOUCH_TARGET,
|
|
19471
19474
|
k as TRANSACTION_EVENTS,
|
|
19472
19475
|
bt as TabContentContainer,
|
|
@@ -19480,22 +19483,22 @@ export {
|
|
|
19480
19483
|
Xl as TransactionStore,
|
|
19481
19484
|
ud as TransactionTable,
|
|
19482
19485
|
nA as TransactionType,
|
|
19483
|
-
|
|
19484
|
-
|
|
19485
|
-
|
|
19486
|
+
h3 as TransactionWidget,
|
|
19487
|
+
R3 as TrendsFullWidget,
|
|
19488
|
+
B3 as TrendsMiniWidget,
|
|
19486
19489
|
Ar as UserApi,
|
|
19487
|
-
|
|
19490
|
+
z1 as UserStore,
|
|
19488
19491
|
Gl as UserVerification,
|
|
19489
|
-
|
|
19492
|
+
TC as ViewMoreMicroCard,
|
|
19490
19493
|
tr as WidgetApi,
|
|
19491
19494
|
lA as WidgetContainer,
|
|
19492
19495
|
Do as WidgetContainerContext,
|
|
19493
19496
|
xo as WidgetContainerProvider,
|
|
19494
|
-
|
|
19497
|
+
LC as ZeroStateCard,
|
|
19495
19498
|
wi as ZeroStateIcon,
|
|
19496
19499
|
lc as analyticsSession,
|
|
19497
19500
|
P as buildDynamicCopy,
|
|
19498
|
-
|
|
19501
|
+
A3 as buildPluralCopy,
|
|
19499
19502
|
qo as exportTransactionsToCSV,
|
|
19500
19503
|
R as formatCurrency,
|
|
19501
19504
|
Ae as formatDate,
|
|
@@ -19505,13 +19508,13 @@ export {
|
|
|
19505
19508
|
ni as getAccountBalanceDetails,
|
|
19506
19509
|
ah as getAccountDetailFields,
|
|
19507
19510
|
Ja as getCategory,
|
|
19508
|
-
|
|
19511
|
+
$8 as getCategoryTotalsByParent,
|
|
19509
19512
|
wc as getCurrencyCodes,
|
|
19510
19513
|
yc as getDetailedCategory,
|
|
19511
19514
|
Ec as getDetailedSubCategory,
|
|
19512
19515
|
nt as getLocale,
|
|
19513
|
-
|
|
19514
|
-
|
|
19516
|
+
b3 as getNotificationDetailRoute,
|
|
19517
|
+
e3 as isIncome,
|
|
19515
19518
|
Vn as isValidNumber,
|
|
19516
19519
|
pe as useAccountStore,
|
|
19517
19520
|
hA as useAccountUiStore,
|
|
@@ -19523,7 +19526,7 @@ export {
|
|
|
19523
19526
|
Mc as useCombinePageviews,
|
|
19524
19527
|
Po as useDebtStore,
|
|
19525
19528
|
Q as useEvent,
|
|
19526
|
-
|
|
19529
|
+
k1 as useGetMergeableAccounts,
|
|
19527
19530
|
_ as useGlobalCopyStore,
|
|
19528
19531
|
wn as useGlobalStore,
|
|
19529
19532
|
fe as useGlobalUiStore,
|
|
@@ -19532,11 +19535,11 @@ export {
|
|
|
19532
19535
|
ol as useMerchantStore,
|
|
19533
19536
|
il as useNetWorthStore,
|
|
19534
19537
|
No as useNotificationStore,
|
|
19535
|
-
|
|
19536
|
-
|
|
19538
|
+
i3 as usePageView,
|
|
19539
|
+
n3 as usePrevious,
|
|
19537
19540
|
Ge as useRecurringActivityStore,
|
|
19538
19541
|
De as useScreenSize,
|
|
19539
|
-
|
|
19542
|
+
o3 as useSettingsStore,
|
|
19540
19543
|
me as useTransactionStore,
|
|
19541
19544
|
iA as useTransactionsUiStore,
|
|
19542
19545
|
ht as useUserStore,
|