@mxenabled/connect-widget 2.17.4 → 2.17.6
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 +24 -10
- package/dist/index.es.js.map +1 -1
- package/dist/lastBuild.txt +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -62404,7 +62404,13 @@ const Disclosure = React__default.forwardRef((_, disclosureRef) => {
|
|
|
62404
62404
|
{
|
|
62405
62405
|
id: "mx-connect-disclosure",
|
|
62406
62406
|
ref: containerRef,
|
|
62407
|
-
children: showPrivacyPolicy ? /* @__PURE__ */ jsxRuntimeExports.jsx(SlideDown, { delay: getNextDelay(), children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
62407
|
+
children: showPrivacyPolicy ? /* @__PURE__ */ jsxRuntimeExports.jsx(SlideDown, { delay: getNextDelay(), children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
62408
|
+
PrivacyPolicy,
|
|
62409
|
+
{
|
|
62410
|
+
onCancel: () => setShowPrivacyPolicy(false),
|
|
62411
|
+
showExternalLinkPopup
|
|
62412
|
+
}
|
|
62413
|
+
) }) : /* @__PURE__ */ jsxRuntimeExports.jsxs(Fragment, { children: [
|
|
62408
62414
|
/* @__PURE__ */ jsxRuntimeExports.jsx(SlideDown, { delay: getNextDelay(), children: /* @__PURE__ */ jsxRuntimeExports.jsx(ConnectInstitutionHeader, {}) }),
|
|
62409
62415
|
/* @__PURE__ */ jsxRuntimeExports.jsx(SlideDown, { delay: getNextDelay(), children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { style: styles.flexGroup, children: [
|
|
62410
62416
|
/* @__PURE__ */ jsxRuntimeExports.jsx(L, { "data-test": "disclosure-title", style: styles.title, truncate: false, variant: "H2", children: _p("connect/disclosure/title", "Connect your account") }),
|
|
@@ -62465,7 +62471,9 @@ const Disclosure = React__default.forwardRef((_, disclosureRef) => {
|
|
|
62465
62471
|
scrollToTop(containerRef);
|
|
62466
62472
|
setShowPrivacyPolicy(true);
|
|
62467
62473
|
} else {
|
|
62468
|
-
|
|
62474
|
+
const locale = getLocale();
|
|
62475
|
+
const privacyUrl = locale === "fr-ca" ? "https://www.mx.com/fr/privacy/" : "https://www.mx.com/privacy/";
|
|
62476
|
+
goToUrlLink(privacyUrl, true);
|
|
62469
62477
|
}
|
|
62470
62478
|
},
|
|
62471
62479
|
style: styles.link,
|
|
@@ -77013,7 +77021,13 @@ const DisclosureInterstitial = React__default.forwardRef((props, interstitialNav
|
|
|
77013
77021
|
}
|
|
77014
77022
|
};
|
|
77015
77023
|
if (currentView === VIEWS$1.PRIVACY_POLICY) {
|
|
77016
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
77024
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
77025
|
+
PrivacyPolicy,
|
|
77026
|
+
{
|
|
77027
|
+
onCancel: () => setCurrentView(VIEWS$1.INTERSTITIAL_DISCLOSURE),
|
|
77028
|
+
showExternalLinkPopup
|
|
77029
|
+
}
|
|
77030
|
+
);
|
|
77017
77031
|
} else if (currentView === VIEWS$1.DATA_REQUESTED) {
|
|
77018
77032
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(DataRequested, { setCurrentView });
|
|
77019
77033
|
} else if (currentView === VIEWS$1.AVAILABLE_DATA) {
|
|
@@ -77136,7 +77150,9 @@ const DisclosureInterstitial = React__default.forwardRef((props, interstitialNav
|
|
|
77136
77150
|
scrollToTop();
|
|
77137
77151
|
setCurrentView(VIEWS$1.PRIVACY_POLICY);
|
|
77138
77152
|
} else {
|
|
77139
|
-
|
|
77153
|
+
const locale = getLocale();
|
|
77154
|
+
const privacyUrl = locale === "fr-ca" ? "https://www.mx.com/fr/privacy/" : "https://www.mx.com/privacy/";
|
|
77155
|
+
goToUrlLink(privacyUrl, true);
|
|
77140
77156
|
}
|
|
77141
77157
|
},
|
|
77142
77158
|
style: styles.link,
|
|
@@ -80987,9 +81003,7 @@ const SharedRoutingNumber = (props) => {
|
|
|
80987
81003
|
InstitutionTile,
|
|
80988
81004
|
{
|
|
80989
81005
|
institution,
|
|
80990
|
-
selectInstitution: () =>
|
|
80991
|
-
() => selectInstitution(institution.guid)
|
|
80992
|
-
),
|
|
81006
|
+
selectInstitution: () => selectInstitution(institution),
|
|
80993
81007
|
size: 32
|
|
80994
81008
|
},
|
|
80995
81009
|
institution.guid
|
|
@@ -81321,7 +81335,7 @@ const RoutingNumber = (props) => {
|
|
|
81321
81335
|
setInstitutions([]);
|
|
81322
81336
|
},
|
|
81323
81337
|
routingNumber: values.routingNumber,
|
|
81324
|
-
selectInstitution: (
|
|
81338
|
+
selectInstitution: (institution) => stepToIAV(institution)
|
|
81325
81339
|
}
|
|
81326
81340
|
);
|
|
81327
81341
|
}
|
|
@@ -85019,8 +85033,8 @@ const RenderConnectStep = (props) => {
|
|
|
85019
85033
|
{
|
|
85020
85034
|
microdepositGuid: currentMicrodepositGuid,
|
|
85021
85035
|
ref: props.navigationRef,
|
|
85022
|
-
stepToIAV: (
|
|
85023
|
-
handleSelectInstitution(
|
|
85036
|
+
stepToIAV: (institution) => {
|
|
85037
|
+
handleSelectInstitution(institution);
|
|
85024
85038
|
props.setConnectLocalState({ returnToMicrodeposits: true });
|
|
85025
85039
|
}
|
|
85026
85040
|
}
|