@aws-amplify/ui 6.9.1 → 6.10.0

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.
Files changed (42) hide show
  1. package/dist/esm/helpers/authenticator/facade.mjs +4 -2
  2. package/dist/esm/helpers/authenticator/formFields/defaults.mjs +4 -0
  3. package/dist/esm/helpers/authenticator/getRoute.mjs +4 -0
  4. package/dist/esm/helpers/authenticator/textUtil.mjs +30 -0
  5. package/dist/esm/i18n/dictionaries/authenticator/de.mjs +8 -0
  6. package/dist/esm/i18n/dictionaries/authenticator/defaultTexts.mjs +8 -0
  7. package/dist/esm/i18n/dictionaries/authenticator/en.mjs +8 -0
  8. package/dist/esm/i18n/dictionaries/authenticator/es.mjs +8 -0
  9. package/dist/esm/i18n/dictionaries/authenticator/fr.mjs +8 -0
  10. package/dist/esm/i18n/dictionaries/authenticator/he.mjs +8 -0
  11. package/dist/esm/i18n/dictionaries/authenticator/id.mjs +8 -0
  12. package/dist/esm/i18n/dictionaries/authenticator/it.mjs +8 -0
  13. package/dist/esm/i18n/dictionaries/authenticator/ja.mjs +8 -0
  14. package/dist/esm/i18n/dictionaries/authenticator/kr.mjs +8 -0
  15. package/dist/esm/i18n/dictionaries/authenticator/nb.mjs +8 -0
  16. package/dist/esm/i18n/dictionaries/authenticator/nl.mjs +8 -0
  17. package/dist/esm/i18n/dictionaries/authenticator/pl.mjs +8 -0
  18. package/dist/esm/i18n/dictionaries/authenticator/pt.mjs +8 -0
  19. package/dist/esm/i18n/dictionaries/authenticator/ru.mjs +8 -0
  20. package/dist/esm/i18n/dictionaries/authenticator/sv.mjs +8 -0
  21. package/dist/esm/i18n/dictionaries/authenticator/th.mjs +8 -0
  22. package/dist/esm/i18n/dictionaries/authenticator/tr.mjs +9 -1
  23. package/dist/esm/i18n/dictionaries/authenticator/ua.mjs +8 -0
  24. package/dist/esm/i18n/dictionaries/authenticator/zh.mjs +8 -0
  25. package/dist/esm/machines/authenticator/actions.mjs +22 -5
  26. package/dist/esm/machines/authenticator/actors/signIn.mjs +53 -49
  27. package/dist/esm/machines/authenticator/actors/signUp.mjs +2 -0
  28. package/dist/esm/machines/authenticator/actors/utils.mjs +13 -1
  29. package/dist/esm/machines/authenticator/guards.mjs +8 -0
  30. package/dist/esm/machines/authenticator/index.mjs +2 -1
  31. package/dist/index.js +300 -57
  32. package/dist/types/helpers/authenticator/facade.d.ts +4 -2
  33. package/dist/types/helpers/authenticator/textUtil.d.ts +7 -1
  34. package/dist/types/i18n/dictionaries/authenticator/defaultTexts.d.ts +8 -0
  35. package/dist/types/i18n/dictionaries/index.d.ts +8 -0
  36. package/dist/types/i18n/translations.d.ts +8 -0
  37. package/dist/types/machines/authenticator/actors/signIn.d.ts +2 -3
  38. package/dist/types/machines/authenticator/actors/signUp.d.ts +2 -3
  39. package/dist/types/machines/authenticator/actors/utils.d.ts +2 -0
  40. package/dist/types/machines/authenticator/types.d.ts +6 -3
  41. package/dist/types/types/authenticator/form.d.ts +1 -1
  42. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -839,10 +839,12 @@ const deDict$1 = {
839
839
  'Account recovery requires verified contact information': 'Zurücksetzen des Accounts benötigt einen verifizierten Account',
840
840
  'Add your Profile': 'Ihr Profil hinzufügen',
841
841
  'Add your Website': 'Ihre Website hinzufügen',
842
+ 'Authenticator App (TOTP)': 'Authentifikator-App (TOTP)',
842
843
  'Back to Sign In': 'Zurück zur Anmeldung',
843
844
  'Change Password': 'Passwort ändern',
844
845
  Changing: 'Ändern von',
845
846
  Code: 'Code',
847
+ 'Confirm Email Code': 'E-Mail-Code bestätigen',
846
848
  'Confirm Password': 'Passwort bestätigen',
847
849
  'Please confirm your Password': 'Bitte bestätigen Sie Ihr Passwort',
848
850
  'Confirm Sign Up': 'Registrierung bestätigen',
@@ -856,6 +858,7 @@ const deDict$1 = {
856
858
  'Creating Account': 'Account wird erstellt',
857
859
  'Dismiss alert': 'Warnung verwerfen',
858
860
  Email: 'E-Mail',
861
+ 'Email Message': 'E-Mail-Nachricht',
859
862
  'Enter your Birthdate': 'Geben Sie Ihr Geburtsdatum ein',
860
863
  'Enter your code': 'Geben Sie Ihren Code ein',
861
864
  'Enter your Confirmation Code': 'Geben Sie Ihren Bestätigungs-Code ein',
@@ -876,6 +879,8 @@ const deDict$1 = {
876
879
  'Hide password': 'Passwort verbergen',
877
880
  'It may take a minute to arrive': 'Es kann eine Minute dauern, bis er ankommt',
878
881
  Loading: 'Wird geladen',
882
+ 'Multi-Factor Authentication': 'Multifaktor-Authentifizierung',
883
+ 'Multi-Factor Authentication Setup': 'Einrichtung der Multifaktor-Authentifizierung',
879
884
  'New password': 'Neues Passwort',
880
885
  or: 'oder',
881
886
  Password: 'Passwort',
@@ -883,9 +888,11 @@ const deDict$1 = {
883
888
  'Resend Code': 'Code erneut senden',
884
889
  'Reset your Password': 'Zurücksetzen des Passworts',
885
890
  'Reset your password': 'Zurücksetzen des passworts',
891
+ 'Select MFA Type': 'MFA-Typ auswählen',
886
892
  'Send code': 'Code senden',
887
893
  'Send Code': 'Code senden',
888
894
  Sending: 'Wird gesendet',
895
+ 'Setup Email': 'E-Mail einrichten',
889
896
  'Setup TOTP': 'TOTP einrichten',
890
897
  'Show password': 'Passwort anzeigen',
891
898
  'Sign in to your account': 'Melden Sie sich mit Ihrem Account an',
@@ -899,6 +906,7 @@ const deDict$1 = {
899
906
  Skip: 'Überspringen',
900
907
  Submit: 'Abschicken',
901
908
  Submitting: 'Wird gesendet',
909
+ 'Text Message (SMS)': 'Textnachricht (SMS)',
902
910
  Username: 'Benutzername',
903
911
  'Verify Contact': 'Kontakt verifizieren',
904
912
  Verify: 'Verifizieren',
@@ -938,10 +946,12 @@ const enDict$1 = {
938
946
  'Account recovery requires verified contact information': 'Account recovery requires verified contact information',
939
947
  'Add your Profile': 'Add your Profile',
940
948
  'Add your Website': 'Add your Website',
949
+ 'Authenticator App (TOTP)': 'Authenticator App (TOTP)',
941
950
  'Back to Sign In': 'Back to Sign In',
942
951
  'Change Password': 'Change Password',
943
952
  Changing: 'Changing',
944
953
  Code: 'Code',
954
+ 'Confirm Email Code': 'Confirm Email Code',
945
955
  'Confirm Password': 'Confirm Password',
946
956
  'Confirm Sign Up': 'Confirm Sign Up',
947
957
  'Confirm SMS Code': 'Confirm SMS Code',
@@ -955,6 +965,7 @@ const enDict$1 = {
955
965
  'Creating Account': 'Creating Account',
956
966
  'Dismiss alert': 'Dismiss alert',
957
967
  Email: 'Email',
968
+ 'Email Message': 'Email Message',
958
969
  'Enter your Birthdate': 'Enter your Birthdate',
959
970
  'Enter your code': 'Enter your code',
960
971
  'Enter your Confirmation Code': 'Enter your Confirmation Code',
@@ -973,6 +984,8 @@ const enDict$1 = {
973
984
  'Hide password': 'Hide password',
974
985
  'It may take a minute to arrive': 'It may take a minute to arrive',
975
986
  Loading: 'Loading',
987
+ 'Multi-Factor Authentication': 'Multi-Factor Authentication',
988
+ 'Multi-Factor Authentication Setup': 'Multi-Factor Authentication Setup',
976
989
  'New password': 'New password',
977
990
  or: 'or',
978
991
  Password: 'Password',
@@ -981,9 +994,11 @@ const enDict$1 = {
981
994
  'Resend Code': 'Resend Code',
982
995
  'Reset your password': 'Reset your password',
983
996
  'Reset your Password': 'Reset your Password',
997
+ 'Select MFA Type': 'Select MFA Type',
984
998
  'Send code': 'Send code',
985
999
  'Send Code': 'Send Code',
986
1000
  Sending: 'Sending',
1001
+ 'Setup Email': 'Setup Email',
987
1002
  'Setup TOTP': 'Setup TOTP',
988
1003
  'Show password': 'Show password',
989
1004
  'Sign in to your account': 'Sign in to your account',
@@ -997,6 +1012,7 @@ const enDict$1 = {
997
1012
  Skip: 'Skip',
998
1013
  Submit: 'Submit',
999
1014
  Submitting: 'Submitting',
1015
+ 'Text Message (SMS)': 'Text Message (SMS)',
1000
1016
  Username: 'Username',
1001
1017
  'Verify Contact': 'Verify Contact',
1002
1018
  Verify: 'Verify',
@@ -1010,11 +1026,13 @@ const enDict$1 = {
1010
1026
 
1011
1027
  const esDict$1 = {
1012
1028
  'Account recovery requires verified contact information': 'La recuperación de la cuenta requiere información de contacto verificada',
1029
+ 'Authenticator App (TOTP)': 'Aplicación de autenticación (TOTP)',
1013
1030
  'Back to Sign In': 'Volver a inicio de sesión',
1014
1031
  'Change Password': 'Cambiar contraseña',
1015
1032
  Changing: 'Cambiando',
1016
1033
  Code: 'Código',
1017
1034
  'Code *': 'Código *',
1035
+ 'Confirm Email Code': 'Confirmar el código de correo electrónico',
1018
1036
  'Confirm Password': 'Confirmar contraseña',
1019
1037
  'Confirm Sign Up': 'Confirmar registro',
1020
1038
  'Confirm SMS Code': 'Confirmar el código de SMS',
@@ -1027,6 +1045,7 @@ const esDict$1 = {
1027
1045
  'Creating Account': 'Creando cuenta',
1028
1046
  'Dismiss alert': 'Descartar alerta',
1029
1047
  Email: 'Email',
1048
+ 'Email Message': 'Mensaje de correo electrónico',
1030
1049
  'Enter your code': 'Ingrese el código',
1031
1050
  'Enter your Email': 'Escriba su Email',
1032
1051
  'Enter your email': 'Escriba su email',
@@ -1037,6 +1056,8 @@ const esDict$1 = {
1037
1056
  'Hide password': 'Ocultar contraseña',
1038
1057
  'It may take a minute to arrive': 'Es posible que tarde un minuto en llegar',
1039
1058
  Loading: 'Cargando',
1059
+ 'Multi-Factor Authentication': 'Autenticación multifactor',
1060
+ 'Multi-Factor Authentication Setup': 'Configuración de autenticación multifactor',
1040
1061
  'New password': 'Nueva contraseña',
1041
1062
  or: 'o',
1042
1063
  Password: 'Contraseña',
@@ -1044,9 +1065,11 @@ const esDict$1 = {
1044
1065
  'Resend Code': 'Reenviar código',
1045
1066
  'Reset your password': 'Restablecer su contraseña',
1046
1067
  'Reset your Password': 'Restablecer su Contraseña',
1068
+ 'Select MFA Type': 'Seleccionar el tipo de MFA',
1047
1069
  'Send code': 'Enviar código',
1048
1070
  'Send Code': 'Enviar código',
1049
1071
  Sending: 'Enviando',
1072
+ 'Setup Email': 'Configurar correo electrónico',
1050
1073
  'Setup TOTP': 'Configurar TOTP',
1051
1074
  'Show password': 'Mostrar contraseña',
1052
1075
  'Sign in to your account': 'Iniciar sesión en tu cuenta',
@@ -1060,6 +1083,7 @@ const esDict$1 = {
1060
1083
  Skip: 'Omitir',
1061
1084
  Submit: 'Enviar',
1062
1085
  Submitting: 'Enviando',
1086
+ 'Text Message (SMS)': 'Mensaje de texto (SMS)',
1063
1087
  Username: 'Nombre de usuario',
1064
1088
  'Verify Contact': 'Verificar contacto',
1065
1089
  Verify: 'Verificar',
@@ -1109,10 +1133,12 @@ const esDict$1 = {
1109
1133
 
1110
1134
  const frDict$1 = {
1111
1135
  'Account recovery requires verified contact information': 'La récupération du compte nécessite des informations de contact vérifiées',
1136
+ 'Authenticator App (TOTP)': 'Application d’authentification (TOTP)',
1112
1137
  'Back to Sign In': 'Retour à la connexion',
1113
1138
  'Change Password': 'Modifier le mot de passe',
1114
1139
  Changing: 'Modification en cours',
1115
1140
  Code: 'Code',
1141
+ 'Confirm Email Code': 'Confirmer le code e-mail',
1116
1142
  'Confirm Password': 'Confirmez le mot de passe',
1117
1143
  'Confirm Sign Up': "Confirmer l'inscription",
1118
1144
  'Confirm SMS Code': 'Confirmer le code SMS',
@@ -1125,6 +1151,7 @@ const frDict$1 = {
1125
1151
  'Creating Account': `Création d'un compte`,
1126
1152
  'Dismiss alert': `Supprimer l'alerte`,
1127
1153
  Email: 'Email',
1154
+ 'Email Message': 'Message de l’e-mail',
1128
1155
  'Enter your code': 'Saisissez cotre code de confirmation',
1129
1156
  'Enter your Email': 'Saisissez votre adresse e-mail',
1130
1157
  'Enter your email': 'Saisissez votre adresse e-mail',
@@ -1134,6 +1161,8 @@ const frDict$1 = {
1134
1161
  'Hide password': 'Masquer le mot de passe',
1135
1162
  'It may take a minute to arrive': 'Cela peut prendre une minute',
1136
1163
  Loading: 'Chargement en cours',
1164
+ 'Multi-Factor Authentication': 'Authentification multifactorielle',
1165
+ 'Multi-Factor Authentication Setup': 'Configuration de l’authentification multifactorielle',
1137
1166
  'New password': 'Nouveau mot de passe',
1138
1167
  or: 'ou',
1139
1168
  Password: 'Mot de passe',
@@ -1141,9 +1170,11 @@ const frDict$1 = {
1141
1170
  'Resend Code': 'Renvoyer le code',
1142
1171
  'Reset your Password': 'Réinitialiser votre mot de passe',
1143
1172
  'Reset your password': 'Réinitialisez votre mot de passe',
1173
+ 'Select MFA Type': 'Sélectionner le type de MFA',
1144
1174
  'Send code': 'Envoyer le code',
1145
1175
  'Send Code': "M'envoyer un code",
1146
1176
  Sending: 'Envoi en cours',
1177
+ 'Setup Email': 'E-mail de configuration',
1147
1178
  'Setup TOTP': 'Configuration de TOTP',
1148
1179
  'Show password': 'Afficher le mot de passe',
1149
1180
  'Sign in to your account': 'Connexion à votre compte',
@@ -1157,6 +1188,7 @@ const frDict$1 = {
1157
1188
  Skip: 'Passer',
1158
1189
  Submit: 'Soumettre',
1159
1190
  Submitting: 'Envoi en cours',
1191
+ 'Text Message (SMS)': 'Message texte (SMS)',
1160
1192
  Username: "Nom d'utilisateur",
1161
1193
  'Verify Contact': 'Vérifier le contact',
1162
1194
  Verify: 'Vérifier',
@@ -1232,10 +1264,12 @@ const frDict$1 = {
1232
1264
 
1233
1265
  const itDict$1 = {
1234
1266
  'Account recovery requires verified contact information': "Il ripristino dell'account richiede informazioni di contatto verificate",
1267
+ 'Authenticator App (TOTP)': 'App di autenticazione (TOTP)',
1235
1268
  'Back to Sign In': 'Torna alla schermata di accesso',
1236
1269
  'Change Password': 'Cambia la password',
1237
1270
  Changing: 'Modifica in corso',
1238
1271
  Code: 'Codice',
1272
+ 'Confirm Email Code': 'Conferma codice e-mail',
1239
1273
  'Confirm Password': 'Conferma la password',
1240
1274
  'Confirm Sign Up': 'Conferma registrazione',
1241
1275
  'Confirm SMS Code': 'Conferma codice SMS',
@@ -1248,6 +1282,7 @@ const itDict$1 = {
1248
1282
  'Creating Account': 'Creazione account in corso',
1249
1283
  'Dismiss alert': `Ignora l'avviso`,
1250
1284
  Email: 'Email',
1285
+ 'Email Message': 'Messaggio e-mail',
1251
1286
  'Enter your code': 'Inserisci il tuo codice',
1252
1287
  'Enter your Email': 'Inserisci la tua e-mail',
1253
1288
  'Enter your phone number': 'Inserisci il tuo numero di telefono"',
@@ -1256,6 +1291,8 @@ const itDict$1 = {
1256
1291
  'Hide password': 'Nascondi password',
1257
1292
  'It may take a minute to arrive': "L'arrivo potrebbe richiedere qualche minuto",
1258
1293
  Loading: 'Caricamento in corso',
1294
+ 'Multi-Factor Authentication': 'Autenticazione a più fattori',
1295
+ 'Multi-Factor Authentication Setup': "Configurazione dell'autenticazione a più fattori",
1259
1296
  'New password': 'Nuova password',
1260
1297
  or: 'oppure',
1261
1298
  Password: 'Password',
@@ -1263,9 +1300,11 @@ const itDict$1 = {
1263
1300
  'Resend Code': 'Invia nuovamente il codice',
1264
1301
  'Reset your Password': 'Reimposta la tua Password',
1265
1302
  'Reset your password': 'Reimposta la tua password',
1303
+ 'Select MFA Type': 'Seleziona il tipo di MFA',
1266
1304
  'Send code': 'Invia codice',
1267
1305
  'Send Code': 'Invia codice',
1268
1306
  Sending: 'Invio in corso',
1307
+ 'Setup Email': "Configura l'e-mail",
1269
1308
  'Setup TOTP': 'Configura TOTP',
1270
1309
  'Show password': 'Mostra password',
1271
1310
  'Sign in to your account': 'Accedi al tuo account',
@@ -1279,6 +1318,7 @@ const itDict$1 = {
1279
1318
  Skip: 'Salta',
1280
1319
  Submit: 'Invia',
1281
1320
  Submitting: 'Invio in corso',
1321
+ 'Text Message (SMS)': 'Messaggio di testo (SMS)',
1282
1322
  Username: 'Nome utente',
1283
1323
  'Verify Contact': 'Verifica contatto',
1284
1324
  Verify: 'Verifica',
@@ -1313,10 +1353,12 @@ const itDict$1 = {
1313
1353
 
1314
1354
  const jaDict$1 = {
1315
1355
  'Account recovery requires verified contact information': 'アカウントの復旧には確認済みの連絡先が必要です',
1356
+ 'Authenticator App (TOTP)': '認証アプリ (TOTP)',
1316
1357
  'Back to Sign In': 'サインインに戻る',
1317
1358
  'Change Password': 'パスワードを変える ',
1318
1359
  Changing: '変更中',
1319
1360
  Code: 'コード',
1361
+ 'Confirm Email Code': 'E メールコードを確認',
1320
1362
  'Confirm Password': 'パスワードの確認',
1321
1363
  'Confirm Sign Up': '登録する',
1322
1364
  'Confirm SMS Code': 'SMS コードを確認',
@@ -1329,6 +1371,7 @@ const jaDict$1 = {
1329
1371
  'Creating Account': 'アカウントの作成中',
1330
1372
  'Dismiss alert': 'アラートを閉じる',
1331
1373
  Email: 'メールアドレス',
1374
+ 'Email Message': 'E メールメッセージ',
1332
1375
  'Enter your code': 'コードを入力',
1333
1376
  'Enter your Email': 'メールアドレスを入力',
1334
1377
  'Enter your phone number': '電話番号を入力',
@@ -1338,6 +1381,8 @@ const jaDict$1 = {
1338
1381
  'Hide password': 'パスワードを非表示',
1339
1382
  'It may take a minute to arrive': '到着するまでに 1 分かかることがあります',
1340
1383
  Loading: 'ロード中',
1384
+ 'Multi-Factor Authentication': '多要素認証',
1385
+ 'Multi-Factor Authentication Setup': '多要素認証のセットアップ',
1341
1386
  'New password': '新しいパスワード',
1342
1387
  or: '又は',
1343
1388
  Password: 'パスワード ',
@@ -1345,9 +1390,11 @@ const jaDict$1 = {
1345
1390
  'Resend Code': 'コードを再送信',
1346
1391
  'Reset your Password': 'パスワードをリセット',
1347
1392
  'Reset your password': 'パスワードをリセットする',
1393
+ 'Select MFA Type': 'MFA タイプを選択',
1348
1394
  'Send code': 'コードを送信',
1349
1395
  'Send Code': 'コードを送信',
1350
1396
  Sending: '送信中',
1397
+ 'Setup Email': 'E メールをセットアップ',
1351
1398
  'Setup TOTP': 'TOTP をセットアップ',
1352
1399
  'Show password': 'パスワードを表示',
1353
1400
  'Sign in to your account': 'アカウントにサインイン ',
@@ -1361,6 +1408,7 @@ const jaDict$1 = {
1361
1408
  Skip: 'スキップ',
1362
1409
  Submit: '送信',
1363
1410
  Submitting: '送信中',
1411
+ 'Text Message (SMS)': 'テキストメッセージ (SMS)',
1364
1412
  Username: 'ユーザー名 ',
1365
1413
  'Verify Contact': '連絡先を確認',
1366
1414
  Verify: '確認',
@@ -1399,10 +1447,12 @@ const jaDict$1 = {
1399
1447
 
1400
1448
  const krDict$1 = {
1401
1449
  'Account recovery requires verified contact information': '계정 복구를 위해 연락처 확인이 필요합니다',
1450
+ 'Authenticator App (TOTP)': '인증 앱(TOTP)',
1402
1451
  'Back to Sign In': '로그인으로 돌아가기',
1403
1452
  'Change Password': '비밀번호 변경하기',
1404
1453
  Changing: '변경중',
1405
1454
  Code: '코드',
1455
+ 'Confirm Email Code': '이메일 코드 확인',
1406
1456
  'Confirm Password': '비밀번호 재확인',
1407
1457
  'Confirm Sign Up': '회원가입 확인',
1408
1458
  'Confirm SMS Code': '휴대폰 본인 확인',
@@ -1415,6 +1465,7 @@ const krDict$1 = {
1415
1465
  'Creating Account': '회원가입중',
1416
1466
  'Dismiss alert': '알림 무시',
1417
1467
  Email: '이메일',
1468
+ 'Email Message': '이메일 메시지',
1418
1469
  'Enter your Birthdate': '생년월일 입력',
1419
1470
  'Enter your code': '인증번호를 입력해주세요',
1420
1471
  'Enter your Confirmation Code': '확인 코드 입력',
@@ -1431,6 +1482,8 @@ const krDict$1 = {
1431
1482
  'Hide password': '비밀번호 숨기기',
1432
1483
  'It may take a minute to arrive': '도착하는 데 1분 정도 걸릴 수 있습니다',
1433
1484
  Loading: '로딩중',
1485
+ 'Multi-Factor Authentication': '다중 인증',
1486
+ 'Multi-Factor Authentication Setup': '다중 인증 설정',
1434
1487
  'New password': '새 비밀번호',
1435
1488
  or: '또는',
1436
1489
  Password: '비밀번호',
@@ -1439,9 +1492,11 @@ const krDict$1 = {
1439
1492
  'Resend Code': '인증번호 재전송',
1440
1493
  'Reset your password': '비밀번호 재설정',
1441
1494
  'Reset your Password': '비밀번호 재설정',
1495
+ 'Select MFA Type': 'MFA 유형 선택',
1442
1496
  'Send code': '인증코드 보내기',
1443
1497
  'Send Code': '코드 전송',
1444
1498
  Sending: '전송중',
1499
+ 'Setup Email': '이메일 설정',
1445
1500
  'Setup TOTP': 'TOTP 설정하기',
1446
1501
  'Show password': '비밀번호 보이기',
1447
1502
  'Sign in to your account': '로그인',
@@ -1455,6 +1510,7 @@ const krDict$1 = {
1455
1510
  Skip: '다음에 하기',
1456
1511
  Submit: '확인',
1457
1512
  Submitting: '확인중',
1513
+ 'Text Message (SMS)': '문자 메시지(SMS)',
1458
1514
  Username: '아이디',
1459
1515
  'Verify Contact': '연락처 확인',
1460
1516
  Verify: '인증',
@@ -1481,10 +1537,12 @@ const nbDict$1 = {
1481
1537
  'Account recovery requires verified contact information': 'Gjenoppretting av konto krever verifisert kontaktinformajson',
1482
1538
  'Add your Profile': 'Legg til profilen din',
1483
1539
  'Add your Website': 'Legg til nettsiden din',
1540
+ 'Authenticator App (TOTP)': 'Autentiseringsapp (TOTP)',
1484
1541
  'Back to Sign In': 'Tilbake til innlogging',
1485
1542
  'Change Password': 'Bytt passord',
1486
1543
  Changing: 'Endre',
1487
1544
  Code: 'Kode',
1545
+ 'Confirm Email Code': 'Bekreft e-postkode',
1488
1546
  'Confirm Password': 'Bekreft passordet',
1489
1547
  'Confirm Sign Up': 'Bekreft registrering',
1490
1548
  'Confirm SMS Code': 'Bekreft SMS-kode',
@@ -1497,6 +1555,7 @@ const nbDict$1 = {
1497
1555
  'Creating Account': 'Oppretter konto',
1498
1556
  'Dismiss alert': 'Avvis varsel',
1499
1557
  Email: 'E-post',
1558
+ 'Email Message': 'E-postmelding',
1500
1559
  'Enter your Birthdate': 'Skriv inn fødselsdatoen din',
1501
1560
  'Enter your code': 'Skriv inn koden din',
1502
1561
  'Enter your Confirmation Code': 'Skriv inn bekreftelseskoden din',
@@ -1515,6 +1574,8 @@ const nbDict$1 = {
1515
1574
  'Hide password': 'Skjul passordet',
1516
1575
  'It may take a minute to arrive': 'Det kan ta et minutt for å komme frem',
1517
1576
  Loading: 'Laster inn',
1577
+ 'Multi-Factor Authentication': 'Flerfaktorautentisering',
1578
+ 'Multi-Factor Authentication Setup': 'Oppsett av flerfaktorautentisering',
1518
1579
  'New password': 'Nytt passord',
1519
1580
  or: 'eller',
1520
1581
  Password: 'Passord',
@@ -1523,9 +1584,11 @@ const nbDict$1 = {
1523
1584
  'Resend Code': 'Send koden på nytt',
1524
1585
  'Reset your password': 'Nullstill passordet ditt',
1525
1586
  'Reset your Password': 'Nullstill passordet ditt',
1587
+ 'Select MFA Type': 'Velg MFA-type',
1526
1588
  'Send code': 'Send kode',
1527
1589
  'Send Code': 'Send kode',
1528
1590
  Sending: 'Sender',
1591
+ 'Setup Email': 'Konfigurer e-post',
1529
1592
  'Setup TOTP': 'Konfigurer TOTP',
1530
1593
  'Show password': 'Vis passordet',
1531
1594
  'Sign in to your account': 'Logg inn på kontoen din',
@@ -1539,6 +1602,7 @@ const nbDict$1 = {
1539
1602
  Skip: 'Hopp over',
1540
1603
  Submit: 'Send inn',
1541
1604
  Submitting: 'Sender inn',
1605
+ 'Text Message (SMS)': 'Tekstmelding (SMS)',
1542
1606
  Username: 'Brukernavn',
1543
1607
  'Verify Contact': 'Bekreft kontakt',
1544
1608
  Verify: 'Bekreft',
@@ -1573,10 +1637,12 @@ const nbDict$1 = {
1573
1637
 
1574
1638
  const nlDict$1 = {
1575
1639
  'Account recovery requires verified contact information': 'Accountherstel vereist geverifieerde contactgegevens',
1640
+ 'Authenticator App (TOTP)': 'Authenticator-app (TOTP)',
1576
1641
  'Back to Sign In': 'Terug naar inloggen',
1577
1642
  'Change Password': 'Wachtwoord wijzigen',
1578
1643
  Changing: 'Wordt aangepast',
1579
1644
  Code: 'Code',
1645
+ 'Confirm Email Code': 'E-mailcode bevestigen',
1580
1646
  'Confirm Password': 'Bevestig Wachtwoord',
1581
1647
  'Confirm Sign Up': 'Bevestig inschrijving',
1582
1648
  'Confirm SMS Code': 'Bevestig SMS Code',
@@ -1589,6 +1655,7 @@ const nlDict$1 = {
1589
1655
  'Creating Account': 'Account wordt aangemaakt',
1590
1656
  'Dismiss alert': 'Waarschuwing sluiten',
1591
1657
  Email: 'E-mail',
1658
+ 'Email Message': 'E-mailbericht',
1592
1659
  'Enter your code': 'Vul je code in',
1593
1660
  'Enter your Email': 'Vul je e-mail in',
1594
1661
  'Enter your Password': 'Vul je wachtwoord in',
@@ -1599,6 +1666,8 @@ const nlDict$1 = {
1599
1666
  'Hide password': 'Verberg wachtwoord',
1600
1667
  'It may take a minute to arrive': 'Het kan even duren voordat deze aankomt',
1601
1668
  Loading: 'Laden',
1669
+ 'Multi-Factor Authentication': 'Multi-Factor Authentication',
1670
+ 'Multi-Factor Authentication Setup': 'Multi-Factor Authentication instellen',
1602
1671
  'New password': 'Nieuw wachtwoord',
1603
1672
  'New Password': 'Nieuw Wachtwoord',
1604
1673
  or: 'of',
@@ -1609,9 +1678,11 @@ const nlDict$1 = {
1609
1678
  'Reset Password': 'Wachtwoord resetten',
1610
1679
  'Reset your password': 'Reset je wachtwoord',
1611
1680
  'Reset your Password': 'Wachtwoord resetten',
1681
+ 'Select MFA Type': 'MFA-type kiezen',
1612
1682
  'Send code': 'Verstuur code',
1613
1683
  'Send Code': 'Verstuur Code',
1614
1684
  Sending: 'Versturen',
1685
+ 'Setup Email': 'E-mailadres instellen',
1615
1686
  'Setup TOTP': 'TOTP Instellingen',
1616
1687
  'Show password': 'Toon wachtwoord',
1617
1688
  'Sign in to your account': 'Inloggen op je account',
@@ -1625,6 +1696,7 @@ const nlDict$1 = {
1625
1696
  Skip: 'Overslaan',
1626
1697
  Submit: 'Versturen',
1627
1698
  Submitting: 'Wordt verstuurd',
1699
+ 'Text Message (SMS)': 'Tekstbericht (sms)',
1628
1700
  Username: 'Gebruikersnaam',
1629
1701
  'Verify Contact': 'Verifieer Contact',
1630
1702
  Verify: 'Verifieer',
@@ -1639,10 +1711,12 @@ const nlDict$1 = {
1639
1711
 
1640
1712
  const plDict$1 = {
1641
1713
  'Account recovery requires verified contact information': 'Odzyskanie konta wymaga zweryfikowanych danych kontaktowych',
1714
+ 'Authenticator App (TOTP)': 'Aplikacja uwierzytelniania (TOTP)',
1642
1715
  'Back to Sign In': 'Powrót do logowania',
1643
1716
  'Change Password': 'Zmień hasło',
1644
1717
  Changing: 'Zmienianie',
1645
1718
  Code: 'Kod',
1719
+ 'Confirm Email Code': 'Potwierdź kod e-mail',
1646
1720
  'Confirm Password': 'Potwierdź Hasło',
1647
1721
  'Confirm Sign Up': 'Potwierdź rejestrację',
1648
1722
  'Confirm SMS Code': 'Potwierdź kod SMS',
@@ -1655,6 +1729,7 @@ const plDict$1 = {
1655
1729
  'Creating Account': 'Tworzenie konta',
1656
1730
  'Dismiss alert': 'Odrzuć alert',
1657
1731
  Email: 'E-mail',
1732
+ 'Email Message': 'Wiadomość e-mail',
1658
1733
  'Enter your code': 'Wprowadź swój kod',
1659
1734
  'Enter your Email': 'Wpisz swój adres e-mail',
1660
1735
  'Enter your phone number': 'Wpisz swój numer telefonu',
@@ -1663,6 +1738,8 @@ const plDict$1 = {
1663
1738
  'Hide password': 'Ukryj hasło',
1664
1739
  'It may take a minute to arrive': 'Może to chwilę potrwać',
1665
1740
  Loading: 'Ładowanie',
1741
+ 'Multi-Factor Authentication': 'Uwierzytelnianie wieloskładnikowe',
1742
+ 'Multi-Factor Authentication Setup': 'Konfigurowanie uwierzytelniania wieloskładnikowego',
1666
1743
  'New password': 'Nowe hasło',
1667
1744
  or: 'albo',
1668
1745
  Password: 'Hasło',
@@ -1670,9 +1747,11 @@ const plDict$1 = {
1670
1747
  'Resend Code': 'Wyślij kod ponownie',
1671
1748
  'Reset your password': 'Zresetuj swoje hasło',
1672
1749
  'Reset your Password': 'Zresetuj swoje hasło',
1750
+ 'Select MFA Type': 'Wybierz typ MFA',
1673
1751
  'Send code': 'Wyślij kod',
1674
1752
  'Send Code': 'Zresetuj hasło',
1675
1753
  Sending: 'Wysyłanie',
1754
+ 'Setup Email': 'Konfiguracja poczty e-mail',
1676
1755
  'Setup TOTP': 'Konfiguruj TOTP',
1677
1756
  'Show password': 'Pokaż hasło',
1678
1757
  'Sign in to your account': 'Zaloguj się na swoje konto',
@@ -1686,6 +1765,7 @@ const plDict$1 = {
1686
1765
  Skip: 'Pomiń',
1687
1766
  Submit: 'Wyślij',
1688
1767
  Submitting: 'Wysyłanie',
1768
+ 'Text Message (SMS)': 'Wiadomość tekstowa (SMS)',
1689
1769
  Username: 'Nazwa użytkownika',
1690
1770
  'Verify Contact': 'Weryfikacja danych kontaktowych',
1691
1771
  Verify: 'Zweryfikuj',
@@ -1709,12 +1789,14 @@ const plDict$1 = {
1709
1789
 
1710
1790
  const ptDict$1 = {
1711
1791
  'Account recovery requires verified contact information': 'A recuperação da conta requer informações de contato verificadas',
1792
+ 'Authenticator App (TOTP)': 'Aplicativo autenticador (TOTP)',
1712
1793
  'Add your Profile': 'Adicione seu Perfil',
1713
1794
  'Add your Website': 'Adicione seu Website',
1714
1795
  'Back to Sign In': 'Voltar para Entrar',
1715
1796
  'Change Password': 'Mudar senha',
1716
1797
  Changing: 'Mudando',
1717
1798
  Code: 'Código',
1799
+ 'Confirm Email Code': 'Confirmar código de e-mail',
1718
1800
  'Confirm Password': 'Confirme a Senha',
1719
1801
  'Confirm Sign Up': 'Confirmar inscrição',
1720
1802
  'Confirm SMS Code': 'Confirme o código SMS',
@@ -1728,6 +1810,7 @@ const ptDict$1 = {
1728
1810
  'Creating Account': 'Criando conta',
1729
1811
  'Dismiss alert': 'Descartar alerta',
1730
1812
  Email: 'O email',
1813
+ 'Email Message': 'Mensagem de e-mail',
1731
1814
  'Enter your Birthdate': 'Digite sua Data de Nascimento',
1732
1815
  'Enter your code': 'Insira seu código',
1733
1816
  'Enter your Confirmation Code': 'Digite seu código de confirmação',
@@ -1746,6 +1829,8 @@ const ptDict$1 = {
1746
1829
  'Hide password': 'Esconder a senha',
1747
1830
  'It may take a minute to arrive': 'Pode levar um minuto para chegar',
1748
1831
  Loading: 'Carregando',
1832
+ 'Multi-Factor Authentication': 'Autenticação multifator',
1833
+ 'Multi-Factor Authentication Setup': 'Configuração da autenticação multifator',
1749
1834
  'New password': 'Nova Senha',
1750
1835
  or: 'ou',
1751
1836
  Password: 'Senha',
@@ -1754,9 +1839,11 @@ const ptDict$1 = {
1754
1839
  'Resend Code': 'Reenviar código',
1755
1840
  'Reset your password': 'Redefina sua senha',
1756
1841
  'Reset your Password': 'Redefina sua senha',
1842
+ 'Select MFA Type': 'Selecionar tipo de MFA',
1757
1843
  'Send code': 'Enviar código',
1758
1844
  'Send Code': 'Enviar código',
1759
1845
  Sending: 'Enviando',
1846
+ 'Setup Email': 'Configurar e-mail',
1760
1847
  'Setup TOTP': 'Configurar TOTP',
1761
1848
  'Show password': 'Mostrar senha',
1762
1849
  'Sign in to your account': 'Faça login em sua conta',
@@ -1770,6 +1857,7 @@ const ptDict$1 = {
1770
1857
  Skip: 'Pular',
1771
1858
  Submit: 'Enviar',
1772
1859
  Submitting: 'Enviando',
1860
+ 'Text Message (SMS)': 'Mensagem de texto (SMS)',
1773
1861
  Username: 'Nome do usuário',
1774
1862
  'Verify Contact': 'Verificar contato',
1775
1863
  Verify: 'Verificar',
@@ -1804,10 +1892,12 @@ const ptDict$1 = {
1804
1892
 
1805
1893
  const zhDict$1 = {
1806
1894
  'Account recovery requires verified contact information': '账户恢复需要验证过的联系方式',
1895
+ 'Authenticator App (TOTP)': 'Authenticator 应用程序(TOTP)',
1807
1896
  'Back to Sign In': '回到登录',
1808
1897
  'Change Password': '更改密码',
1809
1898
  Changing: '正在修改',
1810
1899
  Code: '确认码',
1900
+ 'Confirm Email Code': '确认电子邮件代码',
1811
1901
  'Confirm Password': '确认密码',
1812
1902
  'Confirm Sign Up': '确认注册',
1813
1903
  'Confirm SMS Code': '确认短信验证码',
@@ -1820,6 +1910,7 @@ const zhDict$1 = {
1820
1910
  'Creating Account': '正在创建账户',
1821
1911
  'Dismiss alert': '关闭警报',
1822
1912
  Email: '邮箱',
1913
+ 'Email Message': '电子邮件消息',
1823
1914
  'Enter your code': '输入验证码',
1824
1915
  'Enter your Email': '输入电子邮件',
1825
1916
  'Enter your Password': '输入密码',
@@ -1829,6 +1920,8 @@ const zhDict$1 = {
1829
1920
  'Hide password': '隐藏密码',
1830
1921
  'It may take a minute to arrive': '可能需要一分钟才能到达',
1831
1922
  Loading: '正在加载',
1923
+ 'Multi-Factor Authentication': '多重身份验证',
1924
+ 'Multi-Factor Authentication Setup': '多重身份验证设置',
1832
1925
  'New password': '新密码',
1833
1926
  or: '或者',
1834
1927
  Password: '密码',
@@ -1837,9 +1930,11 @@ const zhDict$1 = {
1837
1930
  'Resend Code': '重发验证码',
1838
1931
  'Reset your password': '重置密码',
1839
1932
  'Reset your Password': '重置密码',
1933
+ 'Select MFA Type': '选择 MFA 类型',
1840
1934
  'Send Code': '发送确认码',
1841
1935
  'Send code': '发送验证码',
1842
1936
  Sending: '正在发送',
1937
+ 'Setup Email': '设置电子邮件',
1843
1938
  'Setup TOTP': '设置 TOTP',
1844
1939
  'Show password': '显示密码',
1845
1940
  'Sign in to your account': '登录账户',
@@ -1853,6 +1948,7 @@ const zhDict$1 = {
1853
1948
  Skip: '跳过',
1854
1949
  Submit: '提交',
1855
1950
  Submitting: '正在提交',
1951
+ 'Text Message (SMS)': '短信(SMS)',
1856
1952
  Username: '用户名',
1857
1953
  'Verify Contact': '验证联系方式',
1858
1954
  Verify: '验证',
@@ -1879,10 +1975,12 @@ const zhDict$1 = {
1879
1975
 
1880
1976
  const svDict$1 = {
1881
1977
  'Account recovery requires verified contact information': 'För att återställa kontot behöver du ett verifierat konto',
1978
+ 'Authenticator App (TOTP)': 'Autentiseringsapp (TOTP)',
1882
1979
  'Back to Sign In': 'Tillbaka till inloggningen',
1883
1980
  'Change Password': 'Byt lösenord',
1884
1981
  Changing: 'Ändra',
1885
1982
  Code: 'Kod',
1983
+ 'Confirm Email Code': 'Bekräfta e-postkod',
1886
1984
  'Confirm Password': 'Bekräfta lösenord',
1887
1985
  'Confirm Sign Up': 'Bekräfta registrering',
1888
1986
  'Confirm SMS Code': 'Bekräfta SMS-kod',
@@ -1895,6 +1993,7 @@ const svDict$1 = {
1895
1993
  'Creating Account': 'Skapar konto',
1896
1994
  'Dismiss alert': 'Avvisa varning',
1897
1995
  Email: 'E-post',
1996
+ 'Email Message': 'E-postmeddelande',
1898
1997
  'Enter your code': 'Skriv din kod',
1899
1998
  'Enter your Email': 'Ange din e-post',
1900
1999
  'Enter your phone number': 'Ange ditt telefonnummer',
@@ -1903,6 +2002,8 @@ const svDict$1 = {
1903
2002
  'Hide password': 'Dölj lösenord',
1904
2003
  'It may take a minute to arrive': 'Det kan ta en minut att komma fram',
1905
2004
  Loading: 'Laddar',
2005
+ 'Multi-Factor Authentication': 'Multifaktorautentisering',
2006
+ 'Multi-Factor Authentication Setup': 'Konfigurering av multifaktorautentisering',
1906
2007
  'New password': 'Nytt lösenord',
1907
2008
  or: 'eller',
1908
2009
  Password: 'Lösenord',
@@ -1910,9 +2011,11 @@ const svDict$1 = {
1910
2011
  'Resend Code': 'Skicka koden igen',
1911
2012
  'Reset your password': 'Återställ ditt lösenord',
1912
2013
  'Reset your Password': 'Återställ ditt lösenord',
2014
+ 'Select MFA Type': 'Välj MFA-typ',
1913
2015
  'Send code': 'Skicka kod',
1914
2016
  'Send Code': 'Skicka kod',
1915
2017
  Sending: 'Skickar',
2018
+ 'Setup Email': 'Konfigurera e-post',
1916
2019
  'Setup TOTP': 'Konfigurera TOTP',
1917
2020
  'Show password': 'Visa lösenord',
1918
2021
  'Sign in to your account': 'Logga in till ditt konto',
@@ -1926,6 +2029,7 @@ const svDict$1 = {
1926
2029
  Skip: 'Hoppa över',
1927
2030
  Submit: 'Skicka',
1928
2031
  Submitting: 'Skickar in',
2032
+ 'Text Message (SMS)': 'Textmeddelande (SMS)',
1929
2033
  Username: 'Användarnamn',
1930
2034
  'Verify Contact': 'Verifiera kontakt',
1931
2035
  Verify: 'Verifiera',
@@ -1961,10 +2065,12 @@ const svDict$1 = {
1961
2065
 
1962
2066
  const idDict$1 = {
1963
2067
  'Account recovery requires verified contact information': 'Pemulihan akun memerlukan informasi kontak terverifikasi',
2068
+ 'Authenticator App (TOTP)': 'Aplikasi Pengauntentikasi (TOTP)',
1964
2069
  'Back to Sign In': 'Kembali ke Masuk',
1965
2070
  'Change Password': 'Ubah kata sandi',
1966
2071
  Changing: 'Mengubah',
1967
2072
  Code: 'Kode',
2073
+ 'Confirm Email Code': 'Konfirmasi Kode Email',
1968
2074
  'Confirm Password': 'Konfirmasi kata sandi',
1969
2075
  'Confirm Sign Up': 'Konfirmasi Pendaftaran',
1970
2076
  'Confirm SMS Code': 'Konfirmasi Kode SMS',
@@ -1977,6 +2083,7 @@ const idDict$1 = {
1977
2083
  'Creating Account': 'Membuat Akun',
1978
2084
  'Dismiss alert': 'Hentikan pemberitahuan',
1979
2085
  Email: 'Email',
2086
+ 'Email Message': 'Pesan Email',
1980
2087
  'Enter your code': 'Masukkan kode anda',
1981
2088
  'Enter your Email': 'Masukkan email anda',
1982
2089
  'Enter your phone number': 'Masukkan nomor telepon anda',
@@ -1985,6 +2092,8 @@ const idDict$1 = {
1985
2092
  'Hide password': 'Sembunyikan kata sandi',
1986
2093
  'It may take a minute to arrive': 'Mungkin perlu waktu satu menit untuk tiba',
1987
2094
  Loading: 'Memuat',
2095
+ 'Multi-Factor Authentication': 'Autentikasi Multifaktor',
2096
+ 'Multi-Factor Authentication Setup': 'Pengaturan Autentikasi Multifaktor',
1988
2097
  'New password': 'Kata sandi baru',
1989
2098
  or: 'atau',
1990
2099
  Password: 'Kata sandi',
@@ -1992,9 +2101,11 @@ const idDict$1 = {
1992
2101
  'Resend Code': 'Kirim ulang kodenya',
1993
2102
  'Reset your Password': 'Reset Kata Sandi',
1994
2103
  'Reset your password': 'Ubah kata sandi anda',
2104
+ 'Select MFA Type': 'Pilih tipe MFA',
1995
2105
  'Send code': 'Kirim kode',
1996
2106
  'Send Code': 'Kirim Kode',
1997
2107
  Sending: 'Mengirim',
2108
+ 'Setup Email': 'Atur Email',
1998
2109
  'Setup TOTP': 'Siapkan TOTP',
1999
2110
  'Show password': 'Tampilkan kata sandi',
2000
2111
  'Sign in to your account': 'Masuk akun anda',
@@ -2008,6 +2119,7 @@ const idDict$1 = {
2008
2119
  Skip: 'Lewati',
2009
2120
  Submit: 'Ajukan',
2010
2121
  Submitting: 'Mengajukan',
2122
+ 'Text Message (SMS)': 'Pesan Teks (SMS)',
2011
2123
  Username: 'Nama akun',
2012
2124
  'Verify Contact': 'Verifikasi Kontak',
2013
2125
  Verify: 'Verifikasi',
@@ -2056,12 +2168,14 @@ const idDict$1 = {
2056
2168
 
2057
2169
  const trDict$1 = {
2058
2170
  'Account recovery requires verified contact information': 'Hesap kurtarma, doğrulanmış iletişim bilgilerini gerektirir',
2171
+ 'Authenticator App (TOTP)': 'Kimlik Doğrulayıcı Uygulaması (TOTP)',
2059
2172
  'Add your Profile': 'Profilinizi ekleyin',
2060
2173
  'Add your Website': 'Web sitenizi ekleyin',
2061
2174
  'Back to Sign In': 'Oturum Açmaya Geri Dön',
2062
2175
  'Change Password': 'Şifreyi Değiştir',
2063
2176
  Changing: 'Değiştiriliyor',
2064
2177
  Code: 'Kod',
2178
+ 'Confirm Email Code': 'E-posta Kodunu Onayla',
2065
2179
  'Confirm Password': 'Şifreyi Doğrula',
2066
2180
  'Confirm Sign Up': 'Kayıt İşlemini Doğrula',
2067
2181
  'Confirm SMS Code': 'SMS Kodunu Doğrula',
@@ -2075,6 +2189,7 @@ const trDict$1 = {
2075
2189
  'Creating Account': 'Hesap Oluşturuluyor',
2076
2190
  'Dismiss alert': 'Uyarıyı reddet',
2077
2191
  Email: 'E-posta',
2192
+ 'Email Message': 'E-posta Mesajı',
2078
2193
  'Enter your Birthdate': 'Doğum gününüzü girin',
2079
2194
  'Enter your code': 'Kodu girin',
2080
2195
  'Enter your Confirmation Code': 'Doğrulama Kodunuzu Girin',
@@ -2095,6 +2210,8 @@ const trDict$1 = {
2095
2210
  'Hide password': 'Şifreyi gizle',
2096
2211
  'It may take a minute to arrive': 'Kodun gelmesi bir dakika sürebilir',
2097
2212
  Loading: 'Yükleniyor',
2213
+ 'Multi-Factor Authentication': 'Çok Faktörlü Kimlik Doğrulama',
2214
+ 'Multi-Factor Authentication Setup': 'Çok Faktörlü Kimlik Doğrulama Kurulumu',
2098
2215
  'New password': 'Yeni şifre',
2099
2216
  or: 'veya',
2100
2217
  Password: 'Şifre',
@@ -2104,9 +2221,11 @@ const trDict$1 = {
2104
2221
  'Reset your password': 'Şifrenizi sıfırlayın',
2105
2222
  'Reset your Password': 'Şifrenizi Sıfırlayın',
2106
2223
  'Reset Password': 'Şifreyi Sıfırla',
2224
+ 'Select MFA Type': 'MFA türünü seçin',
2107
2225
  'Send code': 'Kod gönder',
2108
2226
  'Send Code': 'Kod Gönder',
2109
2227
  Sending: 'Gönderiliyor',
2228
+ 'Setup Email': 'E-postayı ayarla',
2110
2229
  'Setup TOTP': 'Tek kullanımlık şifre kurulumu yap',
2111
2230
  'Show password': 'Şifreyi göster',
2112
2231
  'Sign in to your account': 'Hesabınızda oturum açın',
@@ -2122,6 +2241,7 @@ const trDict$1 = {
2122
2241
  Skip: 'Atla',
2123
2242
  Submit: 'Gönder',
2124
2243
  Submitting: 'Gönderiliyor',
2244
+ 'Text Message (SMS)': 'Kısa Mesaj (SMS)',
2125
2245
  Username: 'Kullanıcı adı',
2126
2246
  'Verify Contact': 'Kişiyi Doğrula',
2127
2247
  Verify: 'Doğrula',
@@ -2145,15 +2265,17 @@ const trDict$1 = {
2145
2265
  'Sign Up': 'Kayıt Ol',
2146
2266
  'User already exists': 'Bu kullanıcı zaten var',
2147
2267
  'User does not exist': 'Böyle bir kullanıcı mevcut değil',
2148
- 'Username cannot be empty': 'Kullanıcı adı boş olamaz'
2268
+ 'Username cannot be empty': 'Kullanıcı adı boş olamaz',
2149
2269
  };
2150
2270
 
2151
2271
  const ruDict$1 = {
2152
2272
  'Account recovery requires verified contact information': 'Восстановление учетной записи требует проверки контактной информации',
2273
+ 'Authenticator App (TOTP)': 'Приложение для аутентификации (TOTP)',
2153
2274
  'Back to Sign In': 'Назад, чтобы войти',
2154
2275
  'Change Password': 'изменять пароль',
2155
2276
  Changing: 'Изменение',
2156
2277
  Code: 'Код',
2278
+ 'Confirm Email Code': 'Подтвердите код электронной почты',
2157
2279
  'Confirm Password': 'Подтверждение пароля',
2158
2280
  'Confirm Sign Up': 'Подтверждение зарегистрироваться',
2159
2281
  'Confirm SMS Code': 'Подтверждение CMC-Код',
@@ -2166,6 +2288,7 @@ const ruDict$1 = {
2166
2288
  'Creating Account': 'создание учетная запись',
2167
2289
  'Dismiss alert': 'Закрыть оповещение',
2168
2290
  Email: 'электронная почта',
2291
+ 'Email Message': 'Сообщение по электронной почте',
2169
2292
  'Enter your code': 'ввести ваш Код',
2170
2293
  'Enter your Email': 'ввести ваш электронная почта',
2171
2294
  'Enter your phone number': 'ввести ваш номер телефона',
@@ -2174,6 +2297,8 @@ const ruDict$1 = {
2174
2297
  'Hide password': 'Скрывать пароль',
2175
2298
  'It may take a minute to arrive': 'Доставка может занять некоторое время',
2176
2299
  Loading: 'Загрузка',
2300
+ 'Multi-Factor Authentication': 'Многофакторная аутентификация',
2301
+ 'Multi-Factor Authentication Setup': 'Настройка многофакторной аутентификации',
2177
2302
  'New password': 'Новый пароль',
2178
2303
  or: 'или',
2179
2304
  Password: 'Пароль',
@@ -2181,9 +2306,11 @@ const ruDict$1 = {
2181
2306
  'Resend Code': 'Отправь еще раз Код',
2182
2307
  'Reset your password': 'сброс ваш пароль',
2183
2308
  'Reset your Password': 'сброс ваш Пароль',
2309
+ 'Select MFA Type': 'Выберите тип МФА',
2184
2310
  'Send code': 'Отправлять Код',
2185
2311
  'Send Code': 'Отправлять Код',
2186
2312
  Sending: 'отправка',
2313
+ 'Setup Email': 'Настроить электронную почту',
2187
2314
  'Setup TOTP': 'Настраивать TOTP',
2188
2315
  'Show password': 'Показывать пароль',
2189
2316
  'Sign in to your account': 'знак в свой аккаунт',
@@ -2197,6 +2324,7 @@ const ruDict$1 = {
2197
2324
  Skip: 'Пропускать',
2198
2325
  Submit: 'Представлять на рассмотрение',
2199
2326
  Submitting: 'Представив',
2327
+ 'Text Message (SMS)': 'Текстовое сообщение (SMS)',
2200
2328
  Username: 'Имя пользователя',
2201
2329
  'Verify Contact': 'Проверить контакт',
2202
2330
  Verify: 'Проверить',
@@ -2210,10 +2338,12 @@ const ruDict$1 = {
2210
2338
 
2211
2339
  const heDict$1 = {
2212
2340
  'Account recovery requires verified contact information': 'שחזור לקוח דורש עוד מידע',
2341
+ 'Authenticator App (TOTP)': 'אפליקציית אימות (TOTP)',
2213
2342
  'Back to Sign In': 'חזור להרשמה',
2214
2343
  'Change Password': 'עדכון סיסמא',
2215
2344
  Changing: 'מעדכן',
2216
2345
  Code: 'קוד',
2346
+ 'Confirm Email Code': 'אמת קוד אימייל',
2217
2347
  'Confirm Password': 'אשר סיסמא',
2218
2348
  'Confirm Sign Up': 'אשר הרשמה',
2219
2349
  'Confirm SMS Code': 'אשר sms קוד',
@@ -2226,6 +2356,7 @@ const heDict$1 = {
2226
2356
  'Creating Account': 'יצירת משתמש',
2227
2357
  'Dismiss alert': 'הסר התראה',
2228
2358
  Email: 'אימייל',
2359
+ 'Email Message': 'הודעת אימייל',
2229
2360
  'Enter your code': 'הכנס את הקוד',
2230
2361
  'Enter your Email': 'הכנס את המייל שלך',
2231
2362
  'Enter your phone number': 'הכנס את מספר הטלפון שלך',
@@ -2233,6 +2364,8 @@ const heDict$1 = {
2233
2364
  'Forgot your password?': 'שכחת סיסמא ?',
2234
2365
  'Hide password': 'הסתר סיסמא',
2235
2366
  Loading: 'טוען',
2367
+ 'Multi-Factor Authentication': 'אימות רב-גורמי',
2368
+ 'Multi-Factor Authentication Setup': 'הגדרת אימות רב-גורמי',
2236
2369
  'New password': 'סיסמא חדשה',
2237
2370
  or: 'אוֹ',
2238
2371
  Password: 'סיסמא',
@@ -2240,9 +2373,11 @@ const heDict$1 = {
2240
2373
  'Resend Code': 'שלח קוד שוב',
2241
2374
  'Reset your password': 'אפס סיסמא',
2242
2375
  'Reset your Password': 'אפס סיסמא',
2376
+ 'Select MFA Type': 'בחר סוג אימות רב-גורמי',
2243
2377
  'Send code': 'שלח קוד',
2244
2378
  'Send Code': 'שלח קוד',
2245
2379
  Sending: 'שולח',
2380
+ 'Setup Email': 'הגדר אימייל',
2246
2381
  'Setup TOTP': 'Setup TOTP',
2247
2382
  'Show password': 'הצג סיסמא',
2248
2383
  'Sign in to your account': 'התחבר לחשבון שלך',
@@ -2256,6 +2391,7 @@ const heDict$1 = {
2256
2391
  Skip: 'דלג',
2257
2392
  Submit: 'שלח',
2258
2393
  Submitting: 'שולח',
2394
+ 'Text Message (SMS)': 'הודעת טקסט (SMS)',
2259
2395
  Username: 'שם משתמש',
2260
2396
  'Verify Contact': 'אמת איש קשר',
2261
2397
  Verify: 'אמת',
@@ -2263,10 +2399,12 @@ const heDict$1 = {
2263
2399
 
2264
2400
  const uaDict$1 = {
2265
2401
  'Account recovery requires verified contact information': 'Відновлення облікового запису потребує контактної інформації',
2402
+ 'Authenticator App (TOTP)': 'Додаток автентифікації (TOTP)',
2266
2403
  'Back to Sign In': 'Назад на сторінку входу',
2267
2404
  'Change Password': 'Змінити пароль',
2268
2405
  Changing: 'Змінюємо',
2269
2406
  Code: 'Код',
2407
+ 'Confirm Email Code': 'Підтвердити код електронної пошти',
2270
2408
  'Confirm Password': 'Підтвердіть пароль',
2271
2409
  'Confirm Sign Up': 'Підтвердіть реєстрацію',
2272
2410
  'Confirm SMS Code': 'Підтвердіть SMS код',
@@ -2279,6 +2417,7 @@ const uaDict$1 = {
2279
2417
  'Creating Account': 'Реєструємо',
2280
2418
  'Dismiss alert': 'Відхилити сповіщення',
2281
2419
  Email: 'Email',
2420
+ 'Email Message': 'Повідомлення електронної пошти',
2282
2421
  'Enter your code': 'Введіть код',
2283
2422
  'Enter your Email': 'Введіть ваш email',
2284
2423
  'Enter your phone number': 'Введіть ваш номер телефону',
@@ -2288,6 +2427,8 @@ const uaDict$1 = {
2288
2427
  'Hide password': 'Сховати пароль',
2289
2428
  'It may take a minute to arrive': 'Доставка може тривати хвилину',
2290
2429
  Loading: 'Загружаємо',
2430
+ 'Multi-Factor Authentication': 'Багатофакторна автентифікація',
2431
+ 'Multi-Factor Authentication Setup': 'Налаштування багатофакторної автентифікації',
2291
2432
  'New password': 'Новий пароль',
2292
2433
  or: 'або',
2293
2434
  Password: 'Пароль',
@@ -2295,9 +2436,11 @@ const uaDict$1 = {
2295
2436
  'Resend Code': 'Відправити код повторно',
2296
2437
  'Reset your password': 'Скинути пароль',
2297
2438
  'Reset your Password': 'Скинути пароль',
2439
+ 'Select MFA Type': 'Виберіть тип MFA',
2298
2440
  'Send code': 'Відправити код',
2299
2441
  'Send Code': 'Відправити код',
2300
2442
  Sending: 'Відправляємо',
2443
+ 'Setup Email': 'Налаштувати електронну пошту',
2301
2444
  'Setup TOTP': 'Налаштувати TOTP',
2302
2445
  'Show password': 'Показати пароль',
2303
2446
  'Sign in to your account': 'Увійти у ваш обліковий запис',
@@ -2311,6 +2454,7 @@ const uaDict$1 = {
2311
2454
  Skip: 'Пропустити',
2312
2455
  Submit: 'Відправити',
2313
2456
  Submitting: 'Відправляємо',
2457
+ 'Text Message (SMS)': 'Текстове повідомлення (SMS)',
2314
2458
  Username: 'Імʼя користувача',
2315
2459
  'Verify Contact': 'Підтвердити Контакт',
2316
2460
  Verify: 'Підтвердити',
@@ -2348,10 +2492,12 @@ const thDict$1 = {
2348
2492
  'Account recovery requires verified contact information': 'การกู้คืนบัญชีต้องมีข้อมูลติดต่อที่ได้รับการยืนยันแล้ว',
2349
2493
  'Add your Profile': 'เพิ่มโปรไฟล์ของคุณ',
2350
2494
  'Add your Website': 'เพิ่มเว็บไซต์ของคุณ',
2495
+ 'Authenticator App (TOTP)': 'แอปพลิเคชันยืนยันตัวตน (TOTP)',
2351
2496
  'Back to Sign In': 'กลับไปที่การเข้าสู่ระบบ',
2352
2497
  'Change Password': 'เปลี่ยนรหัสผ่าน',
2353
2498
  Changing: 'กำลังเปลี่ยน',
2354
2499
  Code: 'รหัส',
2500
+ 'Confirm Email Code': 'ยืนยันรหัสอีเมล',
2355
2501
  'Confirm Password': 'ยืนยันรหัสผ่าน',
2356
2502
  'Please confirm your Password': 'กรุณายืนยันรหัสผ่านของคุณ',
2357
2503
  'Confirm Sign Up': 'ยืนยันการลงทะเบียน',
@@ -2366,6 +2512,7 @@ const thDict$1 = {
2366
2512
  'Creating Account': 'กำลังสร้างบัญชี',
2367
2513
  'Dismiss alert': 'ปิดการแจ้งเตือน',
2368
2514
  Email: 'อีเมล',
2515
+ 'Email Message': 'ข้อความอีเมล',
2369
2516
  'Enter your Birthdate': 'กรอกวันเกิดของคุณ',
2370
2517
  'Enter your code': 'กรอกรหัสของคุณ',
2371
2518
  'Enter your Confirmation Code': 'กรอกรหัสยืนยันของคุณ',
@@ -2385,6 +2532,8 @@ const thDict$1 = {
2385
2532
  'Hide password': 'ซ่อนรหัสผ่าน',
2386
2533
  'It may take a minute to arrive': 'อาจใช้เวลาสักครู่',
2387
2534
  Loading: 'กำลังโหลด',
2535
+ 'Multi-Factor Authentication': 'การยืนยันตัวตนหลายขั้นตอน',
2536
+ 'Multi-Factor Authentication Setup': 'ตั้งค่าการยืนยันตัวตนแบบหลายขั้นตอน',
2388
2537
  'New password': 'รหัสผ่านใหม่',
2389
2538
  or: 'หรือ',
2390
2539
  Password: 'รหัสผ่าน',
@@ -2392,9 +2541,11 @@ const thDict$1 = {
2392
2541
  'Resend Code': 'ส่งรหัสอีกครั้ง',
2393
2542
  'Reset your Password': 'รีเซ็ตรหัสผ่านของคุณ',
2394
2543
  'Reset your password': 'รีเซ็ตรหัสผ่านของคุณ',
2544
+ 'Select MFA Type': 'เลือกประเภท MFA',
2395
2545
  'Send code': 'ส่งรหัส',
2396
2546
  'Send Code': 'ส่งรหัส',
2397
2547
  Sending: 'กำลังส่ง',
2548
+ 'Setup Email': 'ตั้งค่าอีเมล',
2398
2549
  'Setup TOTP': 'ตั้งค่า TOTP',
2399
2550
  'Show password': 'แสดงรหัสผ่าน',
2400
2551
  'Sign in to your account': 'เข้าสู่ระบบบัญชีของคุณ',
@@ -2408,6 +2559,7 @@ const thDict$1 = {
2408
2559
  Skip: 'ข้าม',
2409
2560
  Submit: 'ส่ง',
2410
2561
  Submitting: 'กำลังส่ง',
2562
+ 'Text Message (SMS)': 'ข้อความตัวอักษร (SMS)',
2411
2563
  Username: 'ชื่อผู้ใช้',
2412
2564
  'Verify Contact': 'ยืนยันการติดต่อ',
2413
2565
  Verify: 'ยืนยัน',
@@ -2461,6 +2613,7 @@ const defaultTexts$1 = {
2461
2613
  CONFIRM_RESET_PASSWORD_HEADING: 'Reset your Password',
2462
2614
  CONFIRM_SIGNUP_HEADING: 'Confirm Sign Up',
2463
2615
  CONFIRM_SMS: 'Confirm SMS Code',
2616
+ CONFIRM_EMAIL: 'Confirm Email Code',
2464
2617
  // If challenge name is not returned
2465
2618
  CONFIRM_MFA_DEFAULT: 'Confirm MFA Code',
2466
2619
  CONFIRM_TOTP: 'Confirm TOTP Code',
@@ -2470,6 +2623,7 @@ const defaultTexts$1 = {
2470
2623
  CREATE_ACCOUNT: 'Create Account',
2471
2624
  CREATING_ACCOUNT: 'Creating Account',
2472
2625
  EMAIL_ADDRESS: 'Email',
2626
+ EMAIL_OTP: 'Email Message',
2473
2627
  ENTER_BIRTHDATE: 'Enter your Birthdate',
2474
2628
  ENTER_CODE: 'Enter your code',
2475
2629
  ENTER_CONFIRMATION_CODE: 'Enter your Confirmation Code',
@@ -2491,6 +2645,8 @@ const defaultTexts$1 = {
2491
2645
  LOADING: 'Loading',
2492
2646
  LOGIN_NAME: 'Username',
2493
2647
  MIDDLE_NAME: 'Middle Name',
2648
+ MFA_SETUP_SELECTION: 'Multi-Factor Authentication Setup',
2649
+ MFA_SELECTION: 'Multi-Factor Authentication',
2494
2650
  NAME: 'Name',
2495
2651
  NICKNAME: 'Nickname',
2496
2652
  NEW_PASSWORD: 'New password',
@@ -2504,6 +2660,8 @@ const defaultTexts$1 = {
2504
2660
  RESET_PASSWORD: 'Reset Password',
2505
2661
  SEND_CODE: 'Send code',
2506
2662
  SENDING: 'Sending',
2663
+ SELECT_MFA_TYPE: 'Select MFA Type',
2664
+ SETUP_EMAIL: 'Setup Email',
2507
2665
  SETUP_TOTP: 'Setup TOTP',
2508
2666
  SHOW_PASSWORD: 'Show password',
2509
2667
  SIGN_IN_BUTTON: 'Sign in',
@@ -2516,8 +2674,10 @@ const defaultTexts$1 = {
2516
2674
  SIGN_UP_BUTTON: 'Create a new account',
2517
2675
  SIGNING_IN_BUTTON: 'Signing in',
2518
2676
  SKIP: 'Skip',
2677
+ SMS_MFA: 'Text Message (SMS)',
2519
2678
  SUBMIT: 'Submit',
2520
2679
  SUBMITTING: 'Submitting',
2680
+ SOFTWARE_TOKEN_MFA: 'Authenticator App (TOTP)',
2521
2681
  UPPERCASE_COPY: 'COPY',
2522
2682
  VERIFY_CONTACT: 'Verify Contact',
2523
2683
  VERIFY_HEADING: 'Account recovery requires verified contact information',
@@ -2803,6 +2963,10 @@ const getRoute = (state, actorState) => {
2803
2963
  return 'verifyUser';
2804
2964
  case actorState?.matches('confirmVerifyUserAttribute'):
2805
2965
  return 'confirmVerifyUser';
2966
+ case actorState?.matches('setupEmail'):
2967
+ return 'setupEmail';
2968
+ case actorState?.matches('selectMfaType'):
2969
+ return 'selectMfaType';
2806
2970
  case state.matches('getCurrentUser'):
2807
2971
  case actorState?.matches('fetchUserAttributes'):
2808
2972
  /**
@@ -2867,7 +3031,7 @@ const getNextSendEventAliases = (send) => {
2867
3031
  };
2868
3032
  const getServiceContextFacade = (state) => {
2869
3033
  const actorContext = (getActorContext$1(state) ?? {});
2870
- const { challengeName, codeDeliveryDetails, remoteError: error, validationError: validationErrors, totpSecretCode = null, unverifiedUserAttributes, username, } = actorContext;
3034
+ const { allowedMfaTypes, challengeName, codeDeliveryDetails, remoteError: error, validationError: validationErrors, totpSecretCode = null, unverifiedUserAttributes, username, } = actorContext;
2871
3035
  const { socialProviders = [] } = state.context?.config ?? {};
2872
3036
  // check for user in actorContext prior to state context. actorContext is more "up to date",
2873
3037
  // but is not available on all states
@@ -2890,6 +3054,7 @@ const getServiceContextFacade = (state) => {
2890
3054
  }
2891
3055
  })(route);
2892
3056
  const facade = {
3057
+ allowedMfaTypes,
2893
3058
  authStatus,
2894
3059
  challengeName,
2895
3060
  codeDeliveryDetails,
@@ -2915,7 +3080,7 @@ const getServiceContextFacade = (state) => {
2915
3080
  };
2916
3081
  const getNextServiceContextFacade = (state) => {
2917
3082
  const actorContext = (getActorContext$1(state) ?? {});
2918
- const { challengeName, codeDeliveryDetails, remoteError: errorMessage, totpSecretCode, unverifiedUserAttributes, username, } = actorContext;
3083
+ const { allowedMfaTypes, challengeName, codeDeliveryDetails, remoteError: errorMessage, totpSecretCode, unverifiedUserAttributes, username, } = actorContext;
2919
3084
  const { socialProviders: federatedProviders, loginMechanisms } = state.context?.config ?? {};
2920
3085
  const loginMechanism = loginMechanisms?.[0];
2921
3086
  const actorState = getActorState(state);
@@ -2923,6 +3088,7 @@ const getNextServiceContextFacade = (state) => {
2923
3088
  // @todo-migration remove this cast for Authenticator.Next
2924
3089
  const route = getRoute(state, actorState);
2925
3090
  return {
3091
+ allowedMfaTypes,
2926
3092
  challengeName,
2927
3093
  codeDeliveryDetails,
2928
3094
  errorMessage,
@@ -3450,6 +3616,9 @@ const getForceNewPasswordFormFields = (state) => {
3450
3616
  }
3451
3617
  return formField;
3452
3618
  };
3619
+ const getSetupEmailFormFields = (_) => ({
3620
+ email: getDefaultFormField('email'),
3621
+ });
3453
3622
  /** Collect all the defaultFormFields getters */
3454
3623
  const defaultFormFieldsGetters = {
3455
3624
  signIn: getSignInFormFields,
@@ -3460,6 +3629,7 @@ const defaultFormFieldsGetters = {
3460
3629
  forgotPassword: getForgotPasswordFormFields,
3461
3630
  confirmResetPassword: getConfirmResetPasswordFormFields,
3462
3631
  confirmVerifyUser: getConfirmationCodeFormFields,
3632
+ setupEmail: getSetupEmailFormFields,
3463
3633
  setupTotp: getConfirmationCodeFormFields,
3464
3634
  };
3465
3635
 
@@ -3522,6 +3692,8 @@ const getSortedFormFields = (route, state) => {
3522
3692
  */
3523
3693
  const getChallengeText = (challengeName) => {
3524
3694
  switch (challengeName) {
3695
+ case 'EMAIL_OTP':
3696
+ return translate(DefaultTexts.CONFIRM_EMAIL);
3525
3697
  case 'SMS_MFA':
3526
3698
  return translate(DefaultTexts.CONFIRM_SMS);
3527
3699
  case 'SOFTWARE_TOKEN_MFA':
@@ -3570,6 +3742,27 @@ const getSignInWithFederationText = (route, provider) => {
3570
3742
  const isSignIn = route === 'signIn';
3571
3743
  return translate(`Sign ${isSignIn ? 'In' : 'Up'} with ${providerNameMap[provider]}`);
3572
3744
  };
3745
+ /**
3746
+ * SelectMfaType
3747
+ */
3748
+ const getSelectMfaTypeByChallengeName = (challengeName) => {
3749
+ if (challengeName === 'MFA_SETUP') {
3750
+ return translate(DefaultTexts.MFA_SETUP_SELECTION);
3751
+ }
3752
+ return translate(DefaultTexts.MFA_SELECTION);
3753
+ };
3754
+ const getMfaTypeLabelByValue = (mfaType) => {
3755
+ switch (mfaType) {
3756
+ case 'EMAIL':
3757
+ return translate(defaultTexts.EMAIL_OTP);
3758
+ case 'SMS':
3759
+ return translate(defaultTexts.SMS_MFA);
3760
+ case 'TOTP':
3761
+ return translate(defaultTexts.SOFTWARE_TOKEN_MFA);
3762
+ default:
3763
+ return translate(mfaType);
3764
+ }
3765
+ };
3573
3766
  const authenticatorTextUtil = {
3574
3767
  /** Shared */
3575
3768
  getBackToSignInText: () => translate(DefaultTexts.BACK_SIGN_IN),
@@ -3606,6 +3799,8 @@ const authenticatorTextUtil = {
3606
3799
  getChallengeText,
3607
3800
  /** ForgotPassword */
3608
3801
  getResetYourPasswordText: () => translate(DefaultTexts.RESET_PASSWORD),
3802
+ /** SetupEmail */
3803
+ getSetupEmailText: () => translate(DefaultTexts.SETUP_EMAIL),
3609
3804
  /** SetupTotp */
3610
3805
  getSetupTotpText: () => translate(DefaultTexts.SETUP_TOTP),
3611
3806
  // TODO: add defaultText for below
@@ -3614,6 +3809,10 @@ const authenticatorTextUtil = {
3614
3809
  getCopiedText: () => translate('COPIED'),
3615
3810
  /** FederatedSignIn */
3616
3811
  getSignInWithFederationText,
3812
+ /** SelectMfaType */
3813
+ getMfaTypeLabelByValue,
3814
+ getSelectMfaTypeByChallengeName,
3815
+ getSelectMfaTypeText: () => translate(DefaultTexts.SELECT_MFA_TYPE),
3617
3816
  /** VerifyUser */
3618
3817
  getSkipText: () => translate(DefaultTexts.SKIP),
3619
3818
  getVerifyText: () => translate(DefaultTexts.VERIFY),
@@ -3853,6 +4052,11 @@ const setTotpSecretCode = assign({
3853
4052
  return sharedSecret;
3854
4053
  },
3855
4054
  });
4055
+ const setAllowedMfaTypes = assign({
4056
+ allowedMfaTypes: (_, { data }) => {
4057
+ return data.nextStep?.allowedMFATypes;
4058
+ },
4059
+ });
3856
4060
  const setSignInStep = assign({ step: 'SIGN_IN' });
3857
4061
  const setShouldVerifyUserAttributeStep = assign({
3858
4062
  step: 'SHOULD_CONFIRM_USER_ATTRIBUTE',
@@ -3864,11 +4068,22 @@ const setConfirmAttributeCompleteStep = assign({
3864
4068
  const setChallengeName = assign({
3865
4069
  challengeName: (_, { data }) => {
3866
4070
  const { signInStep } = data.nextStep;
3867
- return signInStep === 'CONFIRM_SIGN_IN_WITH_SMS_CODE'
3868
- ? 'SMS_MFA'
3869
- : signInStep === 'CONFIRM_SIGN_IN_WITH_TOTP_CODE'
3870
- ? 'SOFTWARE_TOKEN_MFA'
3871
- : undefined;
4071
+ switch (signInStep) {
4072
+ case 'CONFIRM_SIGN_IN_WITH_SMS_CODE':
4073
+ return 'SMS_MFA';
4074
+ case 'CONFIRM_SIGN_IN_WITH_TOTP_CODE':
4075
+ return 'SOFTWARE_TOKEN_MFA';
4076
+ case 'CONFIRM_SIGN_IN_WITH_EMAIL_CODE':
4077
+ return 'EMAIL_OTP';
4078
+ case 'CONTINUE_SIGN_IN_WITH_MFA_SETUP_SELECTION':
4079
+ case 'CONTINUE_SIGN_IN_WITH_EMAIL_SETUP':
4080
+ case 'CONTINUE_SIGN_IN_WITH_TOTP_SETUP':
4081
+ return 'MFA_SETUP';
4082
+ case 'CONTINUE_SIGN_IN_WITH_MFA_SELECTION':
4083
+ return 'SELECT_MFA_TYPE';
4084
+ default:
4085
+ return undefined;
4086
+ }
3872
4087
  },
3873
4088
  });
3874
4089
  const setUsernameForgotPassword = assign({
@@ -3989,6 +4204,7 @@ const ACTIONS = {
3989
4204
  handleBlur,
3990
4205
  handleInput,
3991
4206
  handleSubmit,
4207
+ setAllowedMfaTypes,
3992
4208
  setChallengeName,
3993
4209
  setCodeDeliveryDetails,
3994
4210
  setFieldErrors,
@@ -4013,6 +4229,7 @@ const ACTIONS = {
4013
4229
  const SIGN_IN_STEP_MFA_CONFIRMATION = [
4014
4230
  'CONFIRM_SIGN_IN_WITH_SMS_CODE',
4015
4231
  'CONFIRM_SIGN_IN_WITH_TOTP_CODE',
4232
+ 'CONFIRM_SIGN_IN_WITH_EMAIL_CODE',
4016
4233
  ];
4017
4234
  // response next step guards
4018
4235
  const shouldConfirmSignInWithNewPassword = (_, { data }) => data?.nextStep.signInStep ===
@@ -4032,6 +4249,11 @@ const isConfirmSignUpStep = (_, { data }) => data?.step === 'CONFIRM_SIGN_UP';
4032
4249
  // actor entry guards read `step` from actor context
4033
4250
  const shouldConfirmSignIn = ({ step }) => SIGN_IN_STEP_MFA_CONFIRMATION.includes(step);
4034
4251
  const shouldSetupTotp = ({ step }) => step === 'CONTINUE_SIGN_IN_WITH_TOTP_SETUP';
4252
+ const shouldSetupEmail = ({ step }) => step === 'CONTINUE_SIGN_IN_WITH_EMAIL_SETUP';
4253
+ const shouldSelectMfaType = ({ step }) => [
4254
+ 'CONTINUE_SIGN_IN_WITH_MFA_SELECTION',
4255
+ 'CONTINUE_SIGN_IN_WITH_MFA_SETUP_SELECTION',
4256
+ ].includes(step);
4035
4257
  const shouldResetPassword = ({ step }) => step === 'RESET_PASSWORD';
4036
4258
  const shouldConfirmResetPassword = ({ step }) => step === 'CONFIRM_RESET_PASSWORD_WITH_CODE';
4037
4259
  const shouldConfirmSignUp = ({ step }) => step === 'CONFIRM_SIGN_UP';
@@ -4076,6 +4298,8 @@ const GUARDS = {
4076
4298
  shouldResetPassword,
4077
4299
  shouldResetPasswordFromSignIn,
4078
4300
  shouldSetupTotp,
4301
+ shouldSetupEmail,
4302
+ shouldSelectMfaType,
4079
4303
  shouldVerifyAttribute,
4080
4304
  };
4081
4305
 
@@ -4378,6 +4602,18 @@ const getFederatedSignInState = (target) => ({
4378
4602
  onError: { actions: 'setRemoteError', target },
4379
4603
  },
4380
4604
  });
4605
+ const getConfirmSignInFormValuesKey = (signInStep) => {
4606
+ if ([
4607
+ 'CONTINUE_SIGN_IN_WITH_MFA_SELECTION',
4608
+ 'CONTINUE_SIGN_IN_WITH_MFA_SETUP_SELECTION',
4609
+ ].includes(signInStep)) {
4610
+ return 'mfa_type';
4611
+ }
4612
+ if (signInStep === 'CONTINUE_SIGN_IN_WITH_EMAIL_SETUP') {
4613
+ return 'email';
4614
+ }
4615
+ return 'confirmation_code';
4616
+ };
4381
4617
 
4382
4618
  const handleSignInResponse = {
4383
4619
  onDone: [
@@ -4407,6 +4643,7 @@ const handleSignInResponse = {
4407
4643
  'setMissingAttributes',
4408
4644
  'setNextSignInStep',
4409
4645
  'setTotpSecretCode',
4646
+ 'setAllowedMfaTypes',
4410
4647
  ],
4411
4648
  target: '#signInActor.init',
4412
4649
  },
@@ -4433,6 +4670,25 @@ const handleFetchUserAttributesResponse$1 = {
4433
4670
  target: '#signInActor.resolved',
4434
4671
  },
4435
4672
  };
4673
+ const getDefaultConfirmSignInState = (exit) => ({
4674
+ initial: 'edit',
4675
+ exit,
4676
+ states: {
4677
+ edit: {
4678
+ entry: 'sendUpdate',
4679
+ on: {
4680
+ SUBMIT: { actions: 'handleSubmit', target: 'submit' },
4681
+ SIGN_IN: '#signInActor.signIn',
4682
+ CHANGE: { actions: 'handleInput' },
4683
+ },
4684
+ },
4685
+ submit: {
4686
+ tags: 'pending',
4687
+ entry: ['sendUpdate', 'clearError'],
4688
+ invoke: { src: 'confirmSignIn', ...handleSignInResponse },
4689
+ },
4690
+ },
4691
+ });
4436
4692
  function signInActor({ services }) {
4437
4693
  return xstate.createMachine({
4438
4694
  id: 'signInActor',
@@ -4449,6 +4705,14 @@ function signInActor({ services }) {
4449
4705
  cond: 'shouldSetupTotp',
4450
4706
  target: 'setupTotp',
4451
4707
  },
4708
+ {
4709
+ cond: 'shouldSetupEmail',
4710
+ target: 'setupEmail',
4711
+ },
4712
+ {
4713
+ cond: 'shouldSelectMfaType',
4714
+ target: 'selectMfaType',
4715
+ },
4452
4716
  {
4453
4717
  cond: ({ step }) => step === 'CONFIRM_SIGN_IN_WITH_NEW_PASSWORD_REQUIRED',
4454
4718
  actions: 'setActorDoneData',
@@ -4509,33 +4773,12 @@ function signInActor({ services }) {
4509
4773
  },
4510
4774
  },
4511
4775
  },
4512
- confirmSignIn: {
4513
- initial: 'edit',
4514
- exit: [
4515
- 'clearChallengeName',
4516
- 'clearFormValues',
4517
- 'clearError',
4518
- 'clearTouched',
4519
- ],
4520
- states: {
4521
- edit: {
4522
- entry: 'sendUpdate',
4523
- on: {
4524
- SUBMIT: { actions: 'handleSubmit', target: 'submit' },
4525
- SIGN_IN: '#signInActor.signIn',
4526
- CHANGE: { actions: 'handleInput' },
4527
- },
4528
- },
4529
- submit: {
4530
- tags: 'pending',
4531
- entry: ['clearError', 'sendUpdate'],
4532
- invoke: {
4533
- src: 'confirmSignIn',
4534
- ...handleSignInResponse,
4535
- },
4536
- },
4537
- },
4538
- },
4776
+ confirmSignIn: getDefaultConfirmSignInState([
4777
+ 'clearChallengeName',
4778
+ 'clearFormValues',
4779
+ 'clearError',
4780
+ 'clearTouched',
4781
+ ]),
4539
4782
  forceChangePassword: {
4540
4783
  entry: 'sendUpdate',
4541
4784
  type: 'parallel',
@@ -4608,25 +4851,21 @@ function signInActor({ services }) {
4608
4851
  },
4609
4852
  },
4610
4853
  },
4611
- setupTotp: {
4612
- initial: 'edit',
4613
- exit: ['clearFormValues', 'clearError', 'clearTouched'],
4614
- states: {
4615
- edit: {
4616
- entry: 'sendUpdate',
4617
- on: {
4618
- SUBMIT: { actions: 'handleSubmit', target: 'submit' },
4619
- SIGN_IN: '#signInActor.signIn',
4620
- CHANGE: { actions: 'handleInput' },
4621
- },
4622
- },
4623
- submit: {
4624
- tags: 'pending',
4625
- entry: ['sendUpdate', 'clearError'],
4626
- invoke: { src: 'confirmSignIn', ...handleSignInResponse },
4627
- },
4628
- },
4629
- },
4854
+ setupTotp: getDefaultConfirmSignInState([
4855
+ 'clearFormValues',
4856
+ 'clearError',
4857
+ 'clearTouched',
4858
+ ]),
4859
+ setupEmail: getDefaultConfirmSignInState([
4860
+ 'clearFormValues',
4861
+ 'clearError',
4862
+ 'clearTouched',
4863
+ ]),
4864
+ selectMfaType: getDefaultConfirmSignInState([
4865
+ 'clearFormValues',
4866
+ 'clearError',
4867
+ 'clearTouched',
4868
+ ]),
4630
4869
  resolved: {
4631
4870
  type: 'final',
4632
4871
  data: (context) => ({
@@ -4656,8 +4895,9 @@ function signInActor({ services }) {
4656
4895
  const { password } = formValues;
4657
4896
  return services.handleSignIn({ username, password });
4658
4897
  },
4659
- confirmSignIn({ formValues }) {
4660
- const { confirmation_code: challengeResponse } = formValues;
4898
+ confirmSignIn({ formValues, step }) {
4899
+ const formValuesKey = getConfirmSignInFormValuesKey(step);
4900
+ const { [formValuesKey]: challengeResponse } = formValues;
4661
4901
  return services.handleConfirmSignIn({ challengeResponse });
4662
4902
  },
4663
4903
  async handleForceChangePassword({ formValues }) {
@@ -4727,6 +4967,7 @@ const handleAutoSignInResponse = {
4727
4967
  'setChallengeName',
4728
4968
  'setMissingAttributes',
4729
4969
  'setTotpSecretCode',
4970
+ 'setAllowedMfaTypes',
4730
4971
  ],
4731
4972
  target: '#signUpActor.resolved',
4732
4973
  },
@@ -4930,6 +5171,7 @@ function signUpActor({ services }) {
4930
5171
  totpSecretCode: context.totpSecretCode,
4931
5172
  username: context.username,
4932
5173
  unverifiedUserAttributes: context.unverifiedUserAttributes,
5174
+ allowedMfaTypes: context.allowedMfaTypes,
4933
5175
  }),
4934
5176
  },
4935
5177
  },
@@ -5364,7 +5606,7 @@ function createAuthenticatorMachine(options) {
5364
5606
  { cond: 'hasActor', actions: xstate.forwardTo(({ actorRef }) => actorRef) },
5365
5607
  ]),
5366
5608
  setActorDoneData: xstate.assign({
5367
- actorDoneData: (context, event) => ({
5609
+ actorDoneData: (_, event) => ({
5368
5610
  challengeName: event.data.challengeName,
5369
5611
  codeDeliveryDetails: event.data.codeDeliveryDetails,
5370
5612
  missingAttributes: event.data.missingAttributes,
@@ -5373,6 +5615,7 @@ function createAuthenticatorMachine(options) {
5373
5615
  step: event.data.step,
5374
5616
  totpSecretCode: event.data.totpSecretCode,
5375
5617
  unverifiedUserAttributes: event.data.unverifiedUserAttributes,
5618
+ allowedMfaTypes: event.data.allowedMfaTypes,
5376
5619
  }),
5377
5620
  }),
5378
5621
  applyAmplifyConfig: xstate.assign({