@mxenabled/connect-widget 0.20.5 → 0.20.7
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 +50 -53
- 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
|
@@ -5087,39 +5087,23 @@ function baseFindIndex$2(array, predicate, fromIndex, fromRight) {
|
|
|
5087
5087
|
}
|
|
5088
5088
|
var _baseFindIndex = baseFindIndex$2;
|
|
5089
5089
|
|
|
5090
|
-
var
|
|
5091
|
-
|
|
5092
|
-
|
|
5093
|
-
|
|
5094
|
-
|
|
5095
|
-
|
|
5096
|
-
var reWhitespace = /\s/;
|
|
5097
|
-
function trimmedEndIndex(string) {
|
|
5098
|
-
var index = string.length;
|
|
5099
|
-
while (index-- && reWhitespace.test(string.charAt(index))) {
|
|
5100
|
-
}
|
|
5101
|
-
return index;
|
|
5102
|
-
}
|
|
5103
|
-
_trimmedEndIndex = trimmedEndIndex;
|
|
5104
|
-
return _trimmedEndIndex;
|
|
5090
|
+
var reWhitespace = /\s/;
|
|
5091
|
+
function trimmedEndIndex$1(string) {
|
|
5092
|
+
var index = string.length;
|
|
5093
|
+
while (index-- && reWhitespace.test(string.charAt(index))) {
|
|
5094
|
+
}
|
|
5095
|
+
return index;
|
|
5105
5096
|
}
|
|
5097
|
+
var _trimmedEndIndex = trimmedEndIndex$1;
|
|
5106
5098
|
|
|
5107
|
-
var
|
|
5108
|
-
var
|
|
5109
|
-
|
|
5110
|
-
|
|
5111
|
-
if (hasRequired_baseTrim) return _baseTrim;
|
|
5112
|
-
hasRequired_baseTrim = 1;
|
|
5113
|
-
var trimmedEndIndex = require_trimmedEndIndex();
|
|
5114
|
-
var reTrimStart = /^\s+/;
|
|
5115
|
-
function baseTrim(string) {
|
|
5116
|
-
return string ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, "") : string;
|
|
5117
|
-
}
|
|
5118
|
-
_baseTrim = baseTrim;
|
|
5119
|
-
return _baseTrim;
|
|
5099
|
+
var trimmedEndIndex = _trimmedEndIndex;
|
|
5100
|
+
var reTrimStart = /^\s+/;
|
|
5101
|
+
function baseTrim$1(string) {
|
|
5102
|
+
return string ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, "") : string;
|
|
5120
5103
|
}
|
|
5104
|
+
var _baseTrim = baseTrim$1;
|
|
5121
5105
|
|
|
5122
|
-
var baseTrim =
|
|
5106
|
+
var baseTrim = _baseTrim, isObject$7 = isObject_1, isSymbol$1 = isSymbol_1;
|
|
5123
5107
|
var NAN = 0 / 0;
|
|
5124
5108
|
var reIsBadHex = /^[-+]0x[0-9a-f]+$/i;
|
|
5125
5109
|
var reIsBinary = /^0b[01]+$/i;
|
|
@@ -8575,7 +8559,7 @@ var hasRequiredTrim;
|
|
|
8575
8559
|
function requireTrim () {
|
|
8576
8560
|
if (hasRequiredTrim) return trim_1;
|
|
8577
8561
|
hasRequiredTrim = 1;
|
|
8578
|
-
var baseToString = _baseToString, baseTrim =
|
|
8562
|
+
var baseToString = _baseToString, baseTrim = _baseTrim, castSlice = require_castSlice(), charsEndIndex = require_charsEndIndex(), charsStartIndex = require_charsStartIndex(), stringToArray = require_stringToArray(), toString = toString_1;
|
|
8579
8563
|
function trim(string, chars, guard) {
|
|
8580
8564
|
string = toString(string);
|
|
8581
8565
|
if (string && (guard || chars === void 0)) {
|
|
@@ -66683,11 +66667,23 @@ const MFAOptions = (props) => {
|
|
|
66683
66667
|
);
|
|
66684
66668
|
});
|
|
66685
66669
|
}),
|
|
66686
|
-
/* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
66687
|
-
|
|
66688
|
-
|
|
66689
|
-
|
|
66690
|
-
|
|
66670
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
66671
|
+
"span",
|
|
66672
|
+
{
|
|
66673
|
+
style: {
|
|
66674
|
+
color: "#666",
|
|
66675
|
+
fontSize: tokens.FontSize.Small,
|
|
66676
|
+
marginBottom: tokens.Spacing.XSmall,
|
|
66677
|
+
display: "inline-block",
|
|
66678
|
+
marginTop: tokens.Spacing.Tiny
|
|
66679
|
+
},
|
|
66680
|
+
children: [
|
|
66681
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { style: { color: "#E32727", fontSize: 13 }, children: "*" }),
|
|
66682
|
+
" ",
|
|
66683
|
+
__("Required")
|
|
66684
|
+
]
|
|
66685
|
+
}
|
|
66686
|
+
),
|
|
66691
66687
|
isSubmitted && _isEmpty(selectedOption) && /* @__PURE__ */ jsxRuntimeExports.jsxs("section", { role: "alert", style: styles.errorContent, children: [
|
|
66692
66688
|
/* @__PURE__ */ jsxRuntimeExports.jsx(AttentionFilled, { color: tokens.Color.Error300 }),
|
|
66693
66689
|
/* @__PURE__ */ jsxRuntimeExports.jsx("p", { style: styles.errorMessage, children: isSAS ? __("Account selection is required.") : __("Choose an option") })
|
|
@@ -66708,7 +66704,7 @@ const MFAOptions = (props) => {
|
|
|
66708
66704
|
const getStyles$Z = (tokens) => {
|
|
66709
66705
|
return {
|
|
66710
66706
|
label: {
|
|
66711
|
-
marginBottom: tokens.Spacing.
|
|
66707
|
+
marginBottom: tokens.Spacing.Small
|
|
66712
66708
|
},
|
|
66713
66709
|
optionLabel: {
|
|
66714
66710
|
textAlign: "left",
|
|
@@ -67064,7 +67060,7 @@ const MFAForm = (props) => {
|
|
|
67064
67060
|
const mfaCredentials = _get(currentMember, "mfa.credentials", []);
|
|
67065
67061
|
const mfaType = getMFAFieldType(mfaCredentials);
|
|
67066
67062
|
const isSAS = mfaCredentials[0].external_id === "single_account_select";
|
|
67067
|
-
const styles = getStyles$W(tokens
|
|
67063
|
+
const styles = getStyles$W(tokens);
|
|
67068
67064
|
const handleSubmit = (credentials) => {
|
|
67069
67065
|
const posthogEventMetadata = {
|
|
67070
67066
|
institution_guid: institution.guid,
|
|
@@ -67114,11 +67110,11 @@ const MFAForm = (props) => {
|
|
|
67114
67110
|
);
|
|
67115
67111
|
}
|
|
67116
67112
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: styles.container, children: [
|
|
67117
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { style: styles.title, children: /* @__PURE__ */ jsxRuntimeExports.jsx(ViewTitle, { title: isSAS ? __("
|
|
67113
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { style: styles.title, children: /* @__PURE__ */ jsxRuntimeExports.jsx(ViewTitle, { title: isSAS ? __("Account selection") : __("Verify identity") }) }),
|
|
67118
67114
|
/* @__PURE__ */ jsxRuntimeExports.jsx("form", { onSubmit: (e) => e.preventDefault(), children: Form })
|
|
67119
67115
|
] });
|
|
67120
67116
|
};
|
|
67121
|
-
const getStyles$W = (tokens
|
|
67117
|
+
const getStyles$W = (tokens) => {
|
|
67122
67118
|
return {
|
|
67123
67119
|
container: {
|
|
67124
67120
|
display: "flex",
|
|
@@ -67127,7 +67123,7 @@ const getStyles$W = (tokens, isSAS) => {
|
|
|
67127
67123
|
height: "100%"
|
|
67128
67124
|
},
|
|
67129
67125
|
title: {
|
|
67130
|
-
marginBottom:
|
|
67126
|
+
marginBottom: tokens.Spacing.XLarge
|
|
67131
67127
|
},
|
|
67132
67128
|
credentialLabel: {
|
|
67133
67129
|
lineHeight: tokens.LineHeight.Paragraph,
|
|
@@ -76820,18 +76816,18 @@ const AdditionalProductStep = React__default.forwardRef(
|
|
|
76820
76816
|
const addAggregationText = {
|
|
76821
76817
|
title: __("Add financial management?"),
|
|
76822
76818
|
body: __(
|
|
76823
|
-
"You
|
|
76819
|
+
"You're connecting this account for payments and transfers. Would you like to also enable financial management so you can track your income and spending?"
|
|
76824
76820
|
),
|
|
76825
76821
|
acceptButtonText: __("Yes, add financial management"),
|
|
76826
|
-
rejectButtonText: __("No,
|
|
76822
|
+
rejectButtonText: __("No, only add transfers and payments")
|
|
76827
76823
|
};
|
|
76828
76824
|
const addVerificationText = {
|
|
76829
76825
|
title: __("Add transfers and payments?"),
|
|
76830
76826
|
body: __(
|
|
76831
|
-
"You
|
|
76827
|
+
"You're connecting this account for financial management. Would you like to also enable transfers and payments so you can quickly move money to and from this institution?"
|
|
76832
76828
|
),
|
|
76833
76829
|
acceptButtonText: __("Yes, add transfers and payments"),
|
|
76834
|
-
rejectButtonText: __("No,
|
|
76830
|
+
rejectButtonText: __("No, only add financial management")
|
|
76835
76831
|
};
|
|
76836
76832
|
const componentText = additionalProductName === COMBO_JOB_DATA_TYPES.TRANSACTIONS ? addAggregationText : addVerificationText;
|
|
76837
76833
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(SlideDown, { delay: getNextDelay(), children: [
|
|
@@ -80208,7 +80204,7 @@ const frCa = {
|
|
|
80208
80204
|
"Enter account number": "Entrer le numéro de compte",
|
|
80209
80205
|
Recommended: Recommended$1,
|
|
80210
80206
|
Manual: Manual$1,
|
|
80211
|
-
"
|
|
80207
|
+
"Account selection": "Sélection du compte",
|
|
80212
80208
|
"Loading …": "Chargement …",
|
|
80213
80209
|
"Load more institutions": "Charger plus d'institutions",
|
|
80214
80210
|
"Log in at %1": "Connectez-vous à %1",
|
|
@@ -80331,14 +80327,15 @@ const frCa = {
|
|
|
80331
80327
|
"Only checking or savings accounts can be used for transfers. If you have one at %1, make sure to select it when connecting. Otherwise, try connecting a different institution.": "Seuls les comptes chèques ou d’épargne peuvent être utilisés pour les transferts. Si vous en avez un à %1, assurez-vous de le sélectionner lors de la connexion. Sinon, essayez de connecter une autre institution.",
|
|
80332
80328
|
Required: Required$1,
|
|
80333
80329
|
"Add financial management?": "Ajouter la gestion financière ?",
|
|
80334
|
-
"You are connecting this account for payments and transfers. Would you also like to connect it for financial management to track income and spending?": "Vous connectez ce compte pour les paiements et les virements. Souhaitez-vous également le connecter pour la gestion financière afin de suivre vos revenus et vos dépenses ?",
|
|
80335
80330
|
"Yes, add financial management": "Oui, ajoutez la gestion financière",
|
|
80336
80331
|
"No, just transfers and payment": "Non, juste des virements et des paiements",
|
|
80337
80332
|
"Add transfers and payments?": "Ajouter des transferts et des paiements ?",
|
|
80338
|
-
"You are connecting this account for financial management. Would you also like to connect it for transfers and payments to quickly move money to and from this institution?": "Vous connectez ce compte pour la gestion financière. Souhaitez-vous également le connecter pour effectuer des virements et des paiements afin de transférer rapidement des fonds vers et depuis cette institution ?",
|
|
80339
80333
|
"Yes, add transfers and payments": "Oui, ajouter des transferts et des paiements",
|
|
80340
|
-
"No, just financial management": "Non, juste la gestion financière",
|
|
80341
80334
|
"Select an account to connect": "Sélectionnez un compte pour vous connecter",
|
|
80335
|
+
"You're connecting this account for payments and transfers. Would you like to also enable financial management so you can track your income and spending?": "Vous connectez ce compte pour les paiements et les virements. Souhaitez-vous également activer la gestion financière afin de suivre vos revenus et vos dépenses ?",
|
|
80336
|
+
"No, only add transfers and payments": "Non, ajoutez uniquement les virements et les paiements",
|
|
80337
|
+
"You're connecting this account for financial management. Would you like to also enable transfers and payments so you can quickly move money to and from this institution?": "Vous connectez ce compte à des fins de gestion financière. Souhaitez-vous également activer les virements et les paiements afin de transférer rapidement de l'argent vers et depuis cette institution ?",
|
|
80338
|
+
"No, only add financial management": "Non, ajoutez uniquement la gestion financière",
|
|
80342
80339
|
"connect/disclosure/policy/text\u0004By clicking Continue, you agree to the ": "En cliquant sur Continuer, vous acceptez la ",
|
|
80343
80340
|
"connect/disclosure/policy/link\u0004MX Privacy Policy.": "Politique de confidentialité de MX.",
|
|
80344
80341
|
"connect/disclosure/policy/link\u0004MX Privacy Policy": "Politique de confidentialité de MX.",
|
|
@@ -80702,7 +80699,7 @@ const es = {
|
|
|
80702
80699
|
"Enter account number": "Ingrese el número de cuenta",
|
|
80703
80700
|
Recommended: Recommended,
|
|
80704
80701
|
Manual: Manual,
|
|
80705
|
-
"
|
|
80702
|
+
"Account selection": "Selección de cuenta",
|
|
80706
80703
|
"Loading …": "Cargando …",
|
|
80707
80704
|
"Load more institutions": "Cargar más instituciones",
|
|
80708
80705
|
"Log in at %1": "Iniciar sesión en %1",
|
|
@@ -80827,14 +80824,14 @@ const es = {
|
|
|
80827
80824
|
"Only checking or savings accounts can be used for transfers. If you have one at %1, make sure to select it when connecting. Otherwise, try connecting a different institution.": "Solo se pueden usar cuentas de control o ahorro para transferencias. Si tiene uno en %1, asegúrese de seleccionarlo al conectarlo. De lo contrario, intente conectar una institución diferente.",
|
|
80828
80825
|
Required: Required,
|
|
80829
80826
|
"Add financial management?": "¿Añadir gestión financiera?",
|
|
80830
|
-
"You are connecting this account for payments and transfers. Would you also like to connect it for financial management to track income and spending?": "Estás conectando esta cuenta para pagos y transferencias. ¿Te gustaría conectarla también para la gestión financiera y el seguimiento de ingresos y gastos?",
|
|
80831
80827
|
"Yes, add financial management": "Sí, añadir gestión financiera",
|
|
80832
|
-
"No, just transfers and payments": "No, solo transferencias y pagos",
|
|
80833
80828
|
"Add transfers and payments?": "¿Añadir transferencias y pagos?",
|
|
80834
|
-
"You are connecting this account for financial management. Would you also like to connect it for transfers and payments to quickly move money to and from this institution?": "Estás conectando esta cuenta para la gestión financiera. ¿Te gustaría conectarla también para transferencias y pagos para transferir dinero rápidamente desde y hacia esta institución?",
|
|
80835
80829
|
"Yes, add transfers and payments": "Sí, añadir transferencias y pagos",
|
|
80836
|
-
"No, just financial management": "No, sólo gestión financiera",
|
|
80837
80830
|
"Select an account to connect": "Seleccione una cuenta para conectarse",
|
|
80831
|
+
"You're connecting this account for payments and transfers. Would you like to also enable financial management so you can track your income and spending?": "Estás conectando esta cuenta para pagos y transferencias. ¿Quieres habilitar también la gestión financiera para controlar tus ingresos y gastos?",
|
|
80832
|
+
"No, only add transfers and payments": "No, solo agrega transferencias y pagos",
|
|
80833
|
+
"You're connecting this account for financial management. Would you like to also enable transfers and payments so you can quickly move money to and from this institution?": "Estás conectando esta cuenta para la gestión financiera. ¿Te gustaría habilitar también transferencias y pagos para poder transferir dinero rápidamente desde y hacia esta institución?",
|
|
80834
|
+
"No, only add financial management": "No, solo añadir gestión financiera",
|
|
80838
80835
|
"connect/disclosure/button\u0004Continue": "Continuar",
|
|
80839
80836
|
"connect/disclosure/policy/text\u0004By clicking Continue, you agree to the ": "Al hacer clic en Continuar, tu aceptas la ",
|
|
80840
80837
|
"connect/disclosure/policy/link\u0004MX Privacy Policy.": "Política de privacidad de Money Experience.",
|