@mx-cartographer/experiences 6.4.0-alpha.bb2 → 6.4.1-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
CHANGED
@@ -3,6 +3,10 @@
|
|
3
3
|
- **UPDATED** - All Card & Paper components to use the default MXUI border radius
|
4
4
|
- **UPDATED** - Client Theme creation to set fonts for all font variants
|
5
5
|
|
6
|
+
## [6.3.17] - 06-13-2025
|
7
|
+
|
8
|
+
- **UPDATED** - `Connect an Account` in the filter opens the `Link Accounts` flow.
|
9
|
+
|
6
10
|
## [6.3.16] - 06-12-2025
|
7
11
|
|
8
12
|
- **UPDATED** - Phone verification success toast logic.
|
@@ -1,4 +1,7 @@
|
|
1
|
-
|
1
|
+
interface AddAccountsProps {
|
2
|
+
handleConnectClick: () => void;
|
3
|
+
}
|
4
|
+
declare const _default: (({ handleConnectClick }: AddAccountsProps) => import("react/jsx-runtime").JSX.Element) & {
|
2
5
|
displayName: string;
|
3
6
|
};
|
4
7
|
export default _default;
|
package/dist/index.es.js
CHANGED
@@ -1569,7 +1569,9 @@ const Iu = (e, n) => {
|
|
1569
1569
|
onCancelClick: () => {
|
1570
1570
|
m(Ua(e, o)), f();
|
1571
1571
|
},
|
1572
|
-
onConnectAccountClick:
|
1572
|
+
onConnectAccountClick: () => {
|
1573
|
+
f(), a();
|
1574
|
+
},
|
1573
1575
|
onFilterClick: () => {
|
1574
1576
|
i(Object.keys(h).filter((y) => h[y])), f();
|
1575
1577
|
},
|
@@ -12882,7 +12884,7 @@ const Tp = (e, n) => {
|
|
12882
12884
|
setAlert: d,
|
12883
12885
|
setSelectedGoal: _,
|
12884
12886
|
updateGoal: u
|
12885
|
-
} = ct(), { user: h } = an(), [m, C] = g.useState(!1), f = !c?.guid, y = c?.track_type === V.SAVINGS_TRACK && c.is_complete && !c.has_been_spent, E = g.useMemo(() => c ? c.track_type === V.SAVINGS_TRACK ? !!c.name && !!c.amount : c.track_type === V.DEBT_TRACK ? !0 : c.track_type === V.RETIREMENT_TRACK ? !!c.name && !!c.amount && !!c.retirement_age && !!h.birthday : !0
|
12887
|
+
} = ct(), { user: h } = an(), [m, C] = g.useState(!1), f = !c?.guid, y = c?.track_type === V.SAVINGS_TRACK && c.is_complete && !c.has_been_spent, E = g.useMemo(() => !c || !c.account_guid ? !1 : c.track_type === V.SAVINGS_TRACK ? !!c.name && !!c.amount : c.track_type === V.DEBT_TRACK ? !0 : c.track_type === V.RETIREMENT_TRACK ? !!c.name && !!c.amount && !!c.retirement_age && !!h.birthday : !0, [c]);
|
12886
12888
|
let T = i.delete_button, x = () => C(!0);
|
12887
12889
|
f ? (x = () => w(), T = i.save_button) : y && (x = () => R(), T = n.mark_as_complete_button);
|
12888
12890
|
const w = async () => {
|
@@ -22697,92 +22699,91 @@ const Zf = ({
|
|
22697
22699
|
)
|
22698
22700
|
}
|
22699
22701
|
) : null;
|
22700
|
-
}), p0 = () => {
|
22701
|
-
const { common:
|
22702
|
-
|
22702
|
+
}), p0 = ({ handleConnectClick: e }) => {
|
22703
|
+
const { common: n } = I(), i = fn("(max-width: 700px)");
|
22704
|
+
return /* @__PURE__ */ t(L, { my: 4, children: i ? /* @__PURE__ */ t(zn, { id: "add-accounts", placement: "bottom", title: n.add_accounts, children: /* @__PURE__ */ t(
|
22705
|
+
Ve,
|
22706
|
+
{
|
22707
|
+
"aria-controls": "add_accounts",
|
22708
|
+
"aria-describedby": "add-accounts",
|
22709
|
+
"aria-haspopup": !0,
|
22710
|
+
"aria-label": n.add_accounts,
|
22711
|
+
color: "primary",
|
22712
|
+
onClick: e,
|
22713
|
+
children: /* @__PURE__ */ t(H, { name: "add", size: 24 })
|
22714
|
+
}
|
22715
|
+
) }) : /* @__PURE__ */ t(
|
22716
|
+
Q,
|
22717
|
+
{
|
22718
|
+
"aria-controls": "add_accounts",
|
22719
|
+
"aria-haspopup": !0,
|
22720
|
+
"aria-label": n.add_accounts,
|
22721
|
+
onClick: e,
|
22722
|
+
startIcon: /* @__PURE__ */ t(H, { name: "add", size: 24 }),
|
22723
|
+
sx: {
|
22724
|
+
p: 12,
|
22725
|
+
whiteSpace: "nowrap",
|
22726
|
+
minWidth: "max-content"
|
22727
|
+
},
|
22728
|
+
variant: "text",
|
22729
|
+
children: n.add_accounts
|
22730
|
+
}
|
22731
|
+
) });
|
22732
|
+
}, C0 = A(p0), f0 = () => {
|
22733
|
+
const [e, n] = g.useState(!1), { visibleAccounts: i } = we(), { selectedAccountGuids: a, setSelectedAccountGuids: o } = _e(), { common: r, connect: s } = I(), { config: c } = Ui(), { isMobile: d } = be(), _ = {
|
22734
|
+
accountFilterOptionsCopy: {
|
22735
|
+
accountTypeAccounts: r.account_filter.account_type_accounts,
|
22736
|
+
cancelButton: r.cancel_button,
|
22737
|
+
filterButton: r.filter_button,
|
22738
|
+
filterButtonAria: r.account_filter.filter_button_generic_aria,
|
22739
|
+
selectAllAccounts: r.account_filter.select_all_accounts,
|
22740
|
+
toggleAccountTypeAccounts: r.account_filter.toggle_account_type_accounts,
|
22741
|
+
unselectAllAccounts: r.account_filter.unselect_all_accounts,
|
22742
|
+
zeroStateButton: r.account_filter.zero_state_button,
|
22743
|
+
zeroStateDescription: r.account_filter.zero_state_description,
|
22744
|
+
zeroStateTitle: r.account_filter.zero_state_title
|
22745
|
+
},
|
22746
|
+
title: r.filter_button
|
22747
|
+
}, u = () => {
|
22748
|
+
const m = (/* @__PURE__ */ new Date()).getHours();
|
22749
|
+
return m > 1 && m < 12 ? r.good_morning : m >= 12 && m < 18 ? r.good_afternoon : r.good_evening;
|
22703
22750
|
};
|
22704
22751
|
return /* @__PURE__ */ l(g.Fragment, { children: [
|
22705
|
-
/* @__PURE__ */ t(
|
22706
|
-
|
22707
|
-
|
22708
|
-
|
22709
|
-
|
22710
|
-
|
22711
|
-
|
22712
|
-
|
22713
|
-
|
22714
|
-
|
22715
|
-
|
22716
|
-
|
22717
|
-
|
22718
|
-
|
22719
|
-
|
22720
|
-
|
22721
|
-
|
22722
|
-
|
22723
|
-
|
22724
|
-
|
22725
|
-
|
22726
|
-
|
22727
|
-
|
22728
|
-
|
22729
|
-
|
22730
|
-
|
22731
|
-
|
22732
|
-
) }),
|
22733
|
-
a && /* @__PURE__ */ t(
|
22752
|
+
/* @__PURE__ */ t(It, { sx: { gap: 12, mb: d ? 24 : 0, p: 24 }, children: /* @__PURE__ */ l(b, { alignItems: "center", flexDirection: "row", justifyContent: "space-between", children: [
|
22753
|
+
/* @__PURE__ */ t(b, { direction: "row", spacing: 2, children: /* @__PURE__ */ l(b, { children: [
|
22754
|
+
/* @__PURE__ */ t(Jt, { children: u() }),
|
22755
|
+
/* @__PURE__ */ t(p, { color: "text.secondary", sx: { fontSize: 15 }, children: r.heres_your_spending_overview })
|
22756
|
+
] }) }),
|
22757
|
+
/* @__PURE__ */ l(b, { flexDirection: "row", children: [
|
22758
|
+
c.show_connections_widget_in_master && /* @__PURE__ */ t(C0, { handleConnectClick: () => n(!0) }),
|
22759
|
+
/* @__PURE__ */ t(
|
22760
|
+
tc,
|
22761
|
+
{
|
22762
|
+
accounts: i,
|
22763
|
+
copy: _,
|
22764
|
+
onConnectAccountClick: () => n(!0),
|
22765
|
+
onFilterClick: (h) => {
|
22766
|
+
o(h);
|
22767
|
+
},
|
22768
|
+
selectedAccountGuids: a,
|
22769
|
+
showAccountNumbers: !1,
|
22770
|
+
sx: {
|
22771
|
+
maxWidth: "100%"
|
22772
|
+
},
|
22773
|
+
variant: "text"
|
22774
|
+
}
|
22775
|
+
)
|
22776
|
+
] })
|
22777
|
+
] }) }),
|
22778
|
+
e && /* @__PURE__ */ t(
|
22734
22779
|
ci,
|
22735
22780
|
{
|
22736
|
-
onClose: () =>
|
22737
|
-
showConnectWidget:
|
22738
|
-
title:
|
22781
|
+
onClose: () => n(!1),
|
22782
|
+
showConnectWidget: e,
|
22783
|
+
title: s.mini_title
|
22739
22784
|
}
|
22740
22785
|
)
|
22741
22786
|
] });
|
22742
|
-
}, C0 = A(p0), f0 = () => {
|
22743
|
-
const { visibleAccounts: e } = we(), { selectedAccountGuids: n, setSelectedAccountGuids: i } = _e(), { common: a } = I(), { config: o } = Ui(), { isMobile: r } = be(), s = {
|
22744
|
-
accountFilterOptionsCopy: {
|
22745
|
-
accountTypeAccounts: a.account_filter.account_type_accounts,
|
22746
|
-
cancelButton: a.cancel_button,
|
22747
|
-
filterButton: a.filter_button,
|
22748
|
-
filterButtonAria: a.account_filter.filter_button_generic_aria,
|
22749
|
-
selectAllAccounts: a.account_filter.select_all_accounts,
|
22750
|
-
toggleAccountTypeAccounts: a.account_filter.toggle_account_type_accounts,
|
22751
|
-
unselectAllAccounts: a.account_filter.unselect_all_accounts,
|
22752
|
-
zeroStateButton: a.account_filter.zero_state_button,
|
22753
|
-
zeroStateDescription: a.account_filter.zero_state_description,
|
22754
|
-
zeroStateTitle: a.account_filter.zero_state_title
|
22755
|
-
},
|
22756
|
-
title: a.filter_button
|
22757
|
-
};
|
22758
|
-
return /* @__PURE__ */ t(It, { sx: { gap: 12, mb: r ? 24 : 0, p: 24 }, children: /* @__PURE__ */ l(b, { alignItems: "center", flexDirection: "row", justifyContent: "space-between", children: [
|
22759
|
-
/* @__PURE__ */ t(b, { direction: "row", spacing: 2, children: /* @__PURE__ */ l(b, { children: [
|
22760
|
-
/* @__PURE__ */ t(Jt, { children: (() => {
|
22761
|
-
const _ = (/* @__PURE__ */ new Date()).getHours();
|
22762
|
-
return _ > 1 && _ < 12 ? a.good_morning : _ >= 12 && _ < 18 ? a.good_afternoon : a.good_evening;
|
22763
|
-
})() }),
|
22764
|
-
/* @__PURE__ */ t(p, { color: "text.secondary", sx: { fontSize: 15 }, children: a.heres_your_spending_overview })
|
22765
|
-
] }) }),
|
22766
|
-
/* @__PURE__ */ l(b, { flexDirection: "row", children: [
|
22767
|
-
o.show_connections_widget_in_master && /* @__PURE__ */ t(C0, {}),
|
22768
|
-
/* @__PURE__ */ t(
|
22769
|
-
tc,
|
22770
|
-
{
|
22771
|
-
accounts: e,
|
22772
|
-
copy: s,
|
22773
|
-
onFilterClick: (d) => {
|
22774
|
-
i(d);
|
22775
|
-
},
|
22776
|
-
selectedAccountGuids: n,
|
22777
|
-
showAccountNumbers: !1,
|
22778
|
-
sx: {
|
22779
|
-
maxWidth: "100%"
|
22780
|
-
},
|
22781
|
-
variant: "text"
|
22782
|
-
}
|
22783
|
-
)
|
22784
|
-
] })
|
22785
|
-
] }) });
|
22786
22787
|
}, y0 = A(f0);
|
22787
22788
|
var ta = /* @__PURE__ */ ((e) => (e[e.Main = 0] = "Main", e[e.RightSide = 1] = "RightSide", e[e.Disabled = 2] = "Disabled", e))(ta || {});
|
22788
22789
|
const b0 = ({ widgets: e, isLoading: n }) => {
|