@mxenabled/connect-widget 2.15.0 → 2.15.2

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 CHANGED
@@ -5099,23 +5099,39 @@ function baseFindIndex$2(array, predicate, fromIndex, fromRight) {
5099
5099
  }
5100
5100
  var _baseFindIndex = baseFindIndex$2;
5101
5101
 
5102
- var reWhitespace = /\s/;
5103
- function trimmedEndIndex$1(string) {
5104
- var index = string.length;
5105
- while (index-- && reWhitespace.test(string.charAt(index))) {
5106
- }
5107
- return index;
5102
+ var _trimmedEndIndex;
5103
+ var hasRequired_trimmedEndIndex;
5104
+
5105
+ function require_trimmedEndIndex () {
5106
+ if (hasRequired_trimmedEndIndex) return _trimmedEndIndex;
5107
+ hasRequired_trimmedEndIndex = 1;
5108
+ var reWhitespace = /\s/;
5109
+ function trimmedEndIndex(string) {
5110
+ var index = string.length;
5111
+ while (index-- && reWhitespace.test(string.charAt(index))) {
5112
+ }
5113
+ return index;
5114
+ }
5115
+ _trimmedEndIndex = trimmedEndIndex;
5116
+ return _trimmedEndIndex;
5108
5117
  }
5109
- var _trimmedEndIndex = trimmedEndIndex$1;
5110
5118
 
5111
- var trimmedEndIndex = _trimmedEndIndex;
5112
- var reTrimStart = /^\s+/;
5113
- function baseTrim$1(string) {
5114
- return string ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, "") : string;
5119
+ var _baseTrim;
5120
+ var hasRequired_baseTrim;
5121
+
5122
+ function require_baseTrim () {
5123
+ if (hasRequired_baseTrim) return _baseTrim;
5124
+ hasRequired_baseTrim = 1;
5125
+ var trimmedEndIndex = require_trimmedEndIndex();
5126
+ var reTrimStart = /^\s+/;
5127
+ function baseTrim(string) {
5128
+ return string ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, "") : string;
5129
+ }
5130
+ _baseTrim = baseTrim;
5131
+ return _baseTrim;
5115
5132
  }
5116
- var _baseTrim = baseTrim$1;
5117
5133
 
5118
- var baseTrim = _baseTrim, isObject$7 = isObject_1, isSymbol$1 = isSymbol_1;
5134
+ var baseTrim = require_baseTrim(), isObject$7 = isObject_1, isSymbol$1 = isSymbol_1;
5119
5135
  var NAN = 0 / 0;
5120
5136
  var reIsBadHex = /^[-+]0x[0-9a-f]+$/i;
5121
5137
  var reIsBinary = /^0b[01]+$/i;
@@ -8597,7 +8613,7 @@ var hasRequiredTrim;
8597
8613
  function requireTrim () {
8598
8614
  if (hasRequiredTrim) return trim_1;
8599
8615
  hasRequiredTrim = 1;
8600
- var baseToString = _baseToString, baseTrim = _baseTrim, castSlice = require_castSlice(), charsEndIndex = require_charsEndIndex(), charsStartIndex = require_charsStartIndex(), stringToArray = require_stringToArray(), toString = toString_1;
8616
+ var baseToString = _baseToString, baseTrim = require_baseTrim(), castSlice = require_castSlice(), charsEndIndex = require_charsEndIndex(), charsStartIndex = require_charsStartIndex(), stringToArray = require_stringToArray(), toString = toString_1;
8601
8617
  function trim(string, chars, guard) {
8602
8618
  string = toString(string);
8603
8619
  if (string && (guard || chars === void 0)) {
@@ -74960,7 +74976,7 @@ const InstitutionStatusDetails = React__default.forwardRef(
74960
74976
  fullWidth: true,
74961
74977
  onClick: handleGoBack,
74962
74978
  variant: "contained",
74963
- children: __("Go back")
74979
+ children: __("Connect a different institution")
74964
74980
  }
74965
74981
  )
74966
74982
  ] }) });
@@ -80055,13 +80071,13 @@ LoginError.displayName = "LoginError";
80055
80071
 
80056
80072
  const useActionableErrorMap = (jobDetailCode, setShowSupport) => {
80057
80073
  const postMessageFunctions = useContext(PostMessageContext);
80058
- const initialConfig = useSelector((state) => state.connect.initialConfig);
80074
+ const initialConfig = useSelector(selectInitialConfig);
80059
80075
  const dispatch = useDispatch();
80060
80076
  const goToSearch = () => {
80061
80077
  postMessageFunctions.onPostMessage("connect/backToSearch");
80062
80078
  dispatch({
80063
80079
  type: ActionTypes$2.ACTIONABLE_ERROR_CONNECT_DIFFERENT_INSTITUTION,
80064
- payload: initialConfig.mode
80080
+ payload: initialConfig.mode || AGG_MODE
80065
80081
  });
80066
80082
  };
80067
80083
  const goToSupport = () => setShowSupport(true);
@@ -88017,6 +88033,7 @@ const English$1 = "Anglais";
88017
88033
  const Close$1 = "Fermer";
88018
88034
  const Required$1 = "Requis";
88019
88035
  const DISABLED$1 = "DÉSACTIVÉ";
88036
+ const UNAVAILABLE$1 = "INDISPONIBLE";
88020
88037
  const frCa = {
88021
88038
  "Add Manual Account": "Ajouter un compte manuellement",
88022
88039
  Search: Search$1,
@@ -88440,6 +88457,9 @@ const frCa = {
88440
88457
  "Deposits verified. You're almost done setting things up. Continue to your institution.": "Dépôts vérifiés. Vous avez presque terminé la configuration. Rendez-vous dans votre établissement.",
88441
88458
  "After logging in, share at least one account and %1profile information%2.": "Après vous être connecté, partagez au moins un compte et %1informations de profil%2.",
88442
88459
  "After logging in, share at least one account.": "Après vous être connecté, partagez au moins un compte.",
88460
+ "Connection not supported by %1": "Connexion non prise en charge par %1",
88461
+ "%1 currently limits how your data can be shared. We'll enable this connection once %1 opens access.": "%1 limite actuellement la manière dont vos données peuvent être partagées. Nous activerons cette connexion une fois que %1 ouvrira l'accès.",
88462
+ UNAVAILABLE: UNAVAILABLE$1,
88443
88463
  "connect/disclosure/policy/text\u0004By clicking Continue, you agree to the ": "En cliquant sur Continuer, vous acceptez la ",
88444
88464
  "connect/disclosure/policy/link\u0004MX Privacy Policy.": "Politique de confidentialité de MX.",
88445
88465
  "connect/disclosure/policy/link\u0004MX Privacy Policy": "Politique de confidentialité de MX.",
@@ -88520,6 +88540,7 @@ const English = "Inglés";
88520
88540
  const Close = "Cerrar";
88521
88541
  const Required = "Requerido";
88522
88542
  const DISABLED = "DESACTIVADO";
88543
+ const UNAVAILABLE = "INDISPONIBLE";
88523
88544
  const es = {
88524
88545
  "": {
88525
88546
  language: "es",
@@ -88945,6 +88966,9 @@ const es = {
88945
88966
  "Deposits verified. You're almost done setting things up. Continue to your institution.": "Depósitos verificados. Ya casi terminas de configurar todo. Continúa con tu institución.",
88946
88967
  "After logging in, share at least one account and %1profile information%2.": "Después de iniciar sesión, comparta al menos una cuenta y %1información de perfil%2.",
88947
88968
  "After logging in, share at least one account.": "Después de iniciar sesión, comparta al menos una cuenta.",
88969
+ "Connection not supported by %1": "Conexión no compatible con %1",
88970
+ "%1 currently limits how your data can be shared. We'll enable this connection once %1 opens access.": "%1 actualmente limita cómo se pueden compartir sus datos. Habilitaremos esta conexión una vez que %1 abra el acceso.",
88971
+ UNAVAILABLE: UNAVAILABLE,
88948
88972
  "connect/disclosure/button\u0004Continue": "Continuar",
88949
88973
  "connect/disclosure/policy/text\u0004By clicking Continue, you agree to the ": "Al hacer clic en Continuar, tu aceptas la ",
88950
88974
  "connect/disclosure/policy/link\u0004MX Privacy Policy.": "Política de privacidad de Money Experience.",