@mxenabled/connect-widget 2.15.3 → 2.15.4

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)) {
@@ -79006,11 +79022,6 @@ ProgressCircle.propTypes = {
79006
79022
  job: PropTypes$1.object
79007
79023
  };
79008
79024
 
79009
- const subMessages = [
79010
- __("We’re working on it. Stick around!"),
79011
- __("We’re getting closer. Hang tight!"),
79012
- __("Still working. Stay with us!")
79013
- ];
79014
79025
  const ProgressMessage = ({ allDone, jobType }) => {
79015
79026
  const tokens = useTokens();
79016
79027
  const styles = {
@@ -79022,6 +79033,11 @@ const ProgressMessage = ({ allDone, jobType }) => {
79022
79033
  }
79023
79034
  };
79024
79035
  const [subTitle, setSubTitle] = useState("");
79036
+ const subMessages = [
79037
+ __("We're working on it. Stick around!"),
79038
+ __("We're getting closer. Hang tight!"),
79039
+ __("Still working. Stay with us!")
79040
+ ];
79025
79041
  useEffect(() => {
79026
79042
  const messageCycle$ = from(subMessages).pipe(
79027
79043
  concatMap((m) => of(m).pipe(delay$1(1e4))),
@@ -79145,8 +79161,7 @@ const getStyles$G = () => {
79145
79161
  const PoweredByFooter = ({ aggregator = "MX" }) => {
79146
79162
  const styles = getStyles$F();
79147
79163
  return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { style: styles.container, children: /* @__PURE__ */ jsxRuntimeExports.jsxs(D, { color: "text.secondary", variant: "body2", children: [
79148
- "powered by",
79149
- " ",
79164
+ __("powered by "),
79150
79165
  /* @__PURE__ */ jsxRuntimeExports.jsx(D, { component: "span", fontWeight: "semibold", variant: "body2", children: aggregator })
79151
79166
  ] }) });
79152
79167
  };
@@ -87188,6 +87203,27 @@ const DeleteMemberSurvey = (props) => {
87188
87203
  const [isSubmitted, setIsSubmitted] = useState(false);
87189
87204
  const tokens = useTokens();
87190
87205
  const styles = getStyles$5(tokens);
87206
+ const DELETE_REASONS = {
87207
+ NO_LONGER_USE_ACCOUNT: __("I no longer use this account or it's not mine"),
87208
+ DONT_WANT_SHARE_DATA: __("I don't want to share my data"),
87209
+ ACCOUNT_INFORMATION_OLD: __("The account information is old or inaccurate"),
87210
+ UNABLE_CONNECT_ACCOUNT: __("I am unable to connect this account here"),
87211
+ DONT_WANT_TO_USE_APP: __("I don't want to use this app"),
87212
+ DONT_WANT_ACCOUNT_CONNECTED: __("I don't want this account connected here"),
87213
+ OTHER_REASON: __("Other")
87214
+ };
87215
+ const CONNECTED_REASONS = [
87216
+ DELETE_REASONS.NO_LONGER_USE_ACCOUNT,
87217
+ DELETE_REASONS.DONT_WANT_SHARE_DATA,
87218
+ DELETE_REASONS.DONT_WANT_TO_USE_APP,
87219
+ DELETE_REASONS.OTHER_REASON
87220
+ ];
87221
+ const NON_CONECTED_REASONS = [
87222
+ DELETE_REASONS.UNABLE_CONNECT_ACCOUNT,
87223
+ DELETE_REASONS.ACCOUNT_INFORMATION_OLD,
87224
+ DELETE_REASONS.DONT_WANT_ACCOUNT_CONNECTED,
87225
+ DELETE_REASONS.OTHER_REASON
87226
+ ];
87191
87227
  useEffect(() => {
87192
87228
  if (deleteMemberState.loading === false) return () => {
87193
87229
  };
@@ -87361,27 +87397,6 @@ DeleteMemberSurvey.propTypes = {
87361
87397
  onCancel: PropTypes$1.func.isRequired,
87362
87398
  onDeleteSuccess: PropTypes$1.func.isRequired
87363
87399
  };
87364
- const DELETE_REASONS = {
87365
- NO_LONGER_USE_ACCOUNT: __("I no longer use this account or it’s not mine"),
87366
- DONT_WANT_SHARE_DATA: __("I don’t want to share my data"),
87367
- ACCOUNT_INFORMATION_OLD: __("The account information is old or inaccurate"),
87368
- UNABLE_CONNECT_ACCOUNT: __("I am unable to connect this account here"),
87369
- DONT_WANT_TO_USE_APP: __("I don’t want to use this app"),
87370
- DONT_WANT_ACCOUNT_CONNECTED: __("I don’t want this account connected here"),
87371
- OTHER_REASON: __("Other")
87372
- };
87373
- const CONNECTED_REASONS = [
87374
- DELETE_REASONS.NO_LONGER_USE_ACCOUNT,
87375
- DELETE_REASONS.DONT_WANT_SHARE_DATA,
87376
- DELETE_REASONS.DONT_WANT_TO_USE_APP,
87377
- DELETE_REASONS.OTHER_REASON
87378
- ];
87379
- const NON_CONECTED_REASONS = [
87380
- DELETE_REASONS.UNABLE_CONNECT_ACCOUNT,
87381
- DELETE_REASONS.ACCOUNT_INFORMATION_OLD,
87382
- DELETE_REASONS.DONT_WANT_ACCOUNT_CONNECTED,
87383
- DELETE_REASONS.OTHER_REASON
87384
- ];
87385
87400
 
87386
87401
  const ConnectNavigationHeader = (props) => {
87387
87402
  const goBackButtonContainerRef = useRef();
@@ -88054,12 +88069,8 @@ const frCa = {
88054
88069
  "Oops! We weren't able to disconnect this institution. Please try again later.": "Oops! Nous n'avons pas pu déconnecter cette institution. Veuillez réessayer plus tard.",
88055
88070
  Ok: Ok$1,
88056
88071
  Disconnect: Disconnect$1,
88057
- "I no longer use this account or it’s not mine": "Je n’utilise plus ce compte ou il ne m’appartient pas",
88058
- "I don’t want to share my data": "Je ne veux pas partager mes données",
88059
88072
  "The account information is old or inaccurate": "Les informations de compte sont anciennes ou erronées",
88060
88073
  "I am unable to connect this account here": "Je n’arrive pas à connecter ce compte",
88061
- "I don’t want to use this app": "Je ne veux pas utiliser cette application",
88062
- "I don’t want this account connected here": "Je ne veux pas que mon compte soit connecté ici",
88063
88074
  Other: Other$1,
88064
88075
  "Oops! There was an error trying to connect your account. Please try again.": "Oups! Une erreur est survenue lors de la connexion de votre compte. Veuillez réessayer.",
88065
88076
  "Loading ...": "Chargement ...",
@@ -88235,8 +88246,6 @@ const frCa = {
88235
88246
  "%1 added": "%1 ajouté",
88236
88247
  "Your account has been saved manually. You can edit or delete it later.": "Votre compte a été enregistré manuellement. Vous pouvez le modifier ou le supprimer ultérieurement.",
88237
88248
  "Oops! Verification must be enabled to use this feature.": "Oops! La vérification doit être activée pour utiliser cette fonctionnalité.",
88238
- "We’re working on it. Stick around!": "Nous y travaillons. Rester dans les parages!",
88239
- "We’re getting closer. Hang tight!": "Nous nous rapprochons. Tenir fermement!",
88240
88249
  "Still working. Stay with us!": "Nous nous rapprochons. Tenir fermement!",
88241
88250
  "Syncing your information.": "Synchronisation de vos informations.",
88242
88251
  "Getting verification data.": "Obtenir des données de vérification.",
@@ -88445,6 +88454,13 @@ const frCa = {
88445
88454
  "Connection not supported by %1": "Connexion non prise en charge par %1",
88446
88455
  "%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.",
88447
88456
  UNAVAILABLE: UNAVAILABLE$1,
88457
+ "powered by ": "alimenté par ",
88458
+ "I no longer use this account or it's not mine": "Je n'utilise plus ce compte ou ce n'est pas le mien",
88459
+ "I don't want to share my data": "Je ne veux pas partager mes données",
88460
+ "I don't want to use this app": "Je ne veux pas utiliser cette application",
88461
+ "I don't want this account connected here": "Je ne veux pas ce compte connecté ici",
88462
+ "We're working on it. Stick around!": "Nous y travaillons. Rester dans les parages!",
88463
+ "We're getting closer. Hang tight!": "Nous nous rapprochons. Tenir fermement!",
88448
88464
  "connect/disclosure/policy/text\u0004By clicking Continue, you agree to the ": "En cliquant sur Continuer, vous acceptez la ",
88449
88465
  "connect/disclosure/policy/link\u0004MX Privacy Policy.": "Politique de confidentialité de MX.",
88450
88466
  "connect/disclosure/policy/link\u0004MX Privacy Policy": "Politique de confidentialité de MX.",
@@ -88554,12 +88570,8 @@ const es = {
88554
88570
  "Oops! We weren't able to disconnect this institution. Please try again later.": "¡Oh, no! No pudimos desconectar esta institución. Inténtelo de nuevo más tarde.",
88555
88571
  Ok: Ok,
88556
88572
  Disconnect: Disconnect,
88557
- "I no longer use this account or it’s not mine": "Ya no uso esta cuenta o no es mía",
88558
- "I don’t want to share my data": "No quiero compartir mis datos",
88559
88573
  "The account information is old or inaccurate": "La información de la cuenta es antigua o inexacta",
88560
88574
  "I am unable to connect this account here": "No puedo conectar esta cuenta aquí",
88561
- "I don’t want to use this app": "No quiero usar esta aplicación",
88562
- "I don’t want this account connected here": "No quiero que esta cuenta esté conectada aquí",
88563
88575
  Other: Other,
88564
88576
  "Add account with %1": "Agregar cuenta con %1",
88565
88577
  "You are leaving": "Está saliendo",
@@ -88742,8 +88754,6 @@ const es = {
88742
88754
  "%1 added": "%1 añadido",
88743
88755
  "Your account has been saved manually. You can edit or delete it later.": "Su cuenta ha sido salvada manualmente. Puede editarla o borrarla más tarde.",
88744
88756
  "Oops! Verification must be enabled to use this feature.": "¡Oh, no! La verificación debe estar habilitada para usar esta función.",
88745
- "We’re working on it. Stick around!": "Estamos trabajando en ello. ¡Quedarse!",
88746
- "We’re getting closer. Hang tight!": "Nos estamos acercando. ¡Aguanta!",
88747
88757
  "Still working. Stay with us!": "Aún trabajando. ¡Quédate con nosotros!",
88748
88758
  "Syncing your information.": "Aún trabajando. ¡Quédate con nosotros!",
88749
88759
  "Getting verification data.": "Obtener datos de verificación.",
@@ -88954,6 +88964,13 @@ const es = {
88954
88964
  "Connection not supported by %1": "Conexión no compatible con %1",
88955
88965
  "%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.",
88956
88966
  UNAVAILABLE: UNAVAILABLE,
88967
+ "powered by ": "desarrollado por ",
88968
+ "I no longer use this account or it's not mine": "Ya no uso esta cuenta o no es mía",
88969
+ "I don't want to share my data": "No quiero compartir mis datos",
88970
+ "I don't want to use this app": "No quiero usar esta aplicación",
88971
+ "I don't want this account connected here": "No quiero esta cuenta conectada aquí",
88972
+ "We're working on it. Stick around!": "Estamos trabajando en ello. ¡Quedarse!",
88973
+ "We're getting closer. Hang tight!": "Nos estamos acercando. ¡Aguanta!",
88957
88974
  "connect/disclosure/button\u0004Continue": "Continuar",
88958
88975
  "connect/disclosure/policy/text\u0004By clicking Continue, you agree to the ": "Al hacer clic en Continuar, tu aceptas la ",
88959
88976
  "connect/disclosure/policy/link\u0004MX Privacy Policy.": "Política de privacidad de Money Experience.",