@idscan/idvc2 2.10.1 → 2.10.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/idvc.js.gzip CHANGED
Binary file
package/dist/index.html CHANGED
@@ -14,7 +14,7 @@
14
14
  #control-buttons-container button {
15
15
  padding: 8px;
16
16
  font-size: 14px;
17
- }</style></head><body><div><div id="videoCapturingEl" class="container"></div></div><div id="control-buttons-container"><button id="btn">Show Spinner</button> <button id="btn-loader">Show Loader</button> <button id="btn-reload">Reload component</button> <button id="btn-remount">Remount component</button> <button id="btn-reconfig">Change config</button> <button id="btn-redocs">Change docTypes</button> <button id="btn-unmount">Unmount IDVC</button> <button id="btn-change-en">En</button> <button id="btn-change-es">Es</button></div><script src="idvc.js"></script><script src="langs.js"></script><script type="module">import IDVC from './idvc.js'
17
+ }</style></head><body><div><div id="videoCapturingEl" class="container"></div></div><div id="control-buttons-container"><button id="btn">Show Spinner</button> <button id="btn-loader">Show Loader</button> <button id="btn-reload">Reload component</button> <button id="btn-remount">Remount component</button> <button id="btn-resetAllSteps">Reset All Steps</button> <button id="btn-reconfig">Change config</button> <button id="btn-redocs">Change docTypes</button> <button id="btn-unmount">Unmount IDVC</button> <button id="btn-change-en">En</button> <button id="btn-change-es">Es</button></div><script src="idvc.js"></script><script src="langs.js"></script><script type="module">import IDVC from './idvc.js'
18
18
  // 10.105.74.121: 'eyJwZGY0MTdrZXkiOiJXYkZZY2RrdTJOMWdlVXJIb1hZL2RhQW1QUERKZ2NGRTRDODJqazhzYkczaWJoekM0dXV3SnJ4dWZtOE5YcFNBWDJoREhYRXQvMVl4SVhPRGNhOUVHQ0w1cUFPdllQemp2T2hhTzZzcXAvc1lHWGxBTytnZ0NVSkthRm04MTFnQThpajE0RXhrY013NzNLMEwzcEhwMTlvYjdsUUpFSE9xbG83dTNvTjRNczQ9IiwiaW1hZ2VQcm9jZXNzaW5nS2V5Ijoiam1EWWVVMkhqOFhVVWJEdFlPc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ROOTliejZuQlE2MDZhOURkeEJiTmlYWDJzV2FqV0FXelhiVHlpTmd3cjd4c1AvcXlyc0ZTcDExcFJtWkFOMnhmVTB3MDlIQVFxeFRDWU1xbWdwZ1RoZHZlZ2Q0UVJ4TlJRZm9rUzBISXZEa2c2S3gwSXVzPSIsDQogICJjb21tb25MaWNlbnNlS2V5IjogIkFnS2tQcHNZK29LZkFESzkvNm9lNnV2bkRpNGJlUWJRc2VsTE5nVU9uZythTnRMaWJnNk52SGJzVXpsTU1CYmdwVGFwMTYxaUNJS2hSMStuYVdpVXdxeW5zQWNPZ1hVSXVMbEFvczVnMDdDTGZxSFk3ci9YQXNQTHNHRUY4V0c5MEpUK3VUYlNYODVCT0tPdllKemVvVWRGK1ZwRGorU1pObXVkdkJwYndIZz0iLA0KICAiaU9TTVJaRGV0ZWN0b3JLZXkiOiAiU0NsM05IQ3hUalVsM0xhbnNFVGdJSDRCODdMcU1melFDVURXTFpHOVBNZTBhMFp3amhYWjFnaHI3RFJjcXBiVlFNWEVZdE80T09BU2NlS3RoaFBjeTVURmRnK1poT2FGa3JwUlY4Q2liblpPckhQU1ZxMVg0L2oreGthQXRXb0ZpMVZHSlZ4dGU3RFB3RWlFNEJjVDh0bWZGZThSYTNsKzlrZVZreUprSWxrPSIsDQogICJpT1NQREZEZXRlY3RvcktleSI6ICIxQjBLLkIxUDBNNU8uRzdJNE4uRTFMNUc5TG5JY0tpTyINCn0=',
27
27
  autoContinue: true,
28
28
  fixFrontOrientAfterUpload: false,
29
29
  realFaceMode: 'all', // none, auto, all
30
30
  useCDN: false,
31
31
  useHeic: true,
32
32
  resizeUploadedImage: 2000,
33
- isShowDocumentTypeSelect: false,
33
+ isShowDocumentTypeSelect: true,
34
34
  isShowGuidelinesButton: true,
35
35
  showSubmitBtn: true,
36
36
  language: 'en',
@@ -144,6 +144,9 @@
144
144
  document.getElementById('btn-reload').addEventListener('click', () => {
145
145
  videoCapturingComponent.reloadComponent(config);
146
146
  })
147
+ document.getElementById('btn-resetAllSteps').addEventListener('click', () => {
148
+ videoCapturingComponent.resetAllSteps();
149
+ })
147
150
  document.getElementById('btn-remount').addEventListener('click', () => {
148
151
  const el = document.getElementById(config.el);
149
152
  el.innerHTML = '';
@@ -1,6 +1,6 @@
1
- export type DocumentTypeIndex = 1 | 2 | 3 | 6 | 7 | 8 | 9 | 10;
2
- export type DocumentTypeName = 'ID' | 'Passport' | 'PassportCard' | 'GreenCard' | 'InternationalId' | 'VIN' | 'Barcode' | 'FaceAuthorization';
3
- export type HumanName = 'Driver\'s License or State Identification Card' | 'Passport' | 'US Passport Card' | 'Green Card or Employment Authorization' | 'International ID' | 'Vehicle Identification Number' | '1-D and 2-D Barcodes' | 'Face Authorization';
1
+ export type DocumentTypeIndex = 1 | 2 | 3 | 6 | 7 | 8 | 9 | 10 | 11;
2
+ export type DocumentTypeName = 'ID' | 'Passport' | 'PassportCard' | 'GreenCard' | 'InternationalId' | 'VIN' | 'Barcode' | 'FaceAuthorization' | 'EmploymentAuthorization';
3
+ export type HumanName = 'Driver\'s License or State Identification Card' | 'Passport' | 'US Passport Card' | 'Green Card' | 'International ID' | 'Vehicle Identification Number' | '1-D and 2-D Barcodes' | 'Face Authorization' | 'Employment Authorization';
4
4
  export type ImageSource = 'video' | 'file';
5
5
 
6
6
  export enum DocumentTypeIDs {
@@ -10,8 +10,9 @@ export enum DocumentTypeIDs {
10
10
  'GreenCard' = 6,
11
11
  'InternationalId' = 7,
12
12
  'VIN' = 8,
13
- 'Barcode' = 9,
13
+ 'Barcode' = 11,
14
14
  'FaceAuthorization' = 10,
15
+ 'EmploymentAuthorization' = 9,
15
16
  }
16
17
 
17
18
  export interface DocumentRecord {
@@ -60,7 +61,7 @@ const documentType: DocumentType = {
60
61
  name: 'GreenCard',
61
62
  id: 6,
62
63
  nName: 'gc',
63
- humanName: 'Green Card or Employment Authorization',
64
+ humanName: 'Green Card',
64
65
  },
65
66
  {
66
67
  name: 'InternationalId',
@@ -75,8 +76,14 @@ const documentType: DocumentType = {
75
76
  humanName: 'Vehicle Identification Number',
76
77
  },
77
78
  {
78
- name: 'Barcode',
79
+ name: 'EmploymentAuthorization',
79
80
  id: 9,
81
+ nName: 'ea',
82
+ humanName: 'Employment Authorization',
83
+ },
84
+ {
85
+ name: 'Barcode',
86
+ id: 11,
80
87
  nName: 'barcode',
81
88
  humanName: '1-D and 2-D Barcodes',
82
89
  },
@@ -1 +1 @@
1
- var e={d:(a,o)=>{for(var t in o)e.o(o,t)&&!e.o(a,t)&&Object.defineProperty(a,t,{enumerable:!0,get:o[t]})},o:(e,a)=>Object.prototype.hasOwnProperty.call(e,a)},a={};e.d(a,{J3:()=>o,_2:()=>n,i0:()=>i});var o=["en","es"],t={es:{errorCodes:{mrzNotFound:"Advertencia: <br/>No se ha encontrado MRZ.",mrzNotRecognized:"Advertencia: <br/>No se han podido leer los datos MRZ.<br/>Intente tomar una imagen de mayor calidad.",barcodeNotFound:"Warning: <br/>Código de barras no encontrado.",barcodeNotRecognized:"Advertencia: <br/>No se pudieron leer los datos del código de barras.<br/>Intente tomar una imagen de mayor calidad.",heic:"El archivo HEIC está dañado",fileTypeHeic:"Error de tipo de archivo: Sólo se admiten imágenes jpeg, png y heic.",fileType:"Error de tipo de archivo: Sólo se admiten imágenes jpeg y png.",disableStepFileUpload:"Se debe utilizar un dispositivo con una cámara para capturar esta imagen",notAllowedDocument:"Este tipo de documento no está permitido",documentSideLowPerimeter:"Advertencia: <br/>El documento de la foto es demasiado pequeño, acércalo más",frontSideNotDetected:"Advertencia: <br/>La imagen no se reconoce como el anverso del tipo de documento elegido",backSideNotDetected:"Advertencia: <br/>La imagen no se reconoce como el reverso del tipo de documento elegido",faceNotFound:"Advertencia: <br/>No se ha encontrado la cara de una persona en la imagen capturada",disabledManualUpload:{header:"La carga manual está deshabilitada",text:"La captura de documentos mediante carga manual está deshabilitada en la configuración"},default:{header:"Por favor, inténtelo de nuevo",text:"Lo sentimos, <br/>pero hubo un problema al capturar y enviar las imágenes de su documento. Por favor, inténtelo de nuevo."},CameraNotFound:{header:"No se ha encontrado",text:"No se encontró ninguna cámara en su dispositivo"},CameraNotFoundInVerification:{header:"No se ha encontrado",text:"No se ha encontrado ninguna cámara en su dispositivo.<br/> Por favor, utilice un dispositivo diferente o permitir el acceso a la cámara para la verificación"},CameraNotAllowed:{header:"No autorizado",text:"Concede permiso para que el navegador acceda a la cámara del dispositivo <br/>o elige la opción Carga manual."},CameraNotAvailable:{header:"No disponible",text:"La cámara no está disponible en este momento"},CameraInUse:{header:"En uso",text:"La cámara ya está en uso"},MediaDevicesNotSupported:{header:"No se admite",text:"Tu navegador no es compatible"},lowImageResolution:"La resolución de la imagen cargada es demasiado baja",imageIsBlurred:"La imagen es demasiado borrosa para ser utilizada",faceLowArea:"El área de la cara en la foto ocupa muy poco espacio"},hintTexts:{front:"Coloque el anverso del documento",frontMRZ:"Haga zoom para capturar el código en la parte inferior",mrz:"Haga zoom para capturar el código en la parte posterior",capturing:"Coloque el anverso del documento",pdf:"Coloque el código de barras dentro del marco",switchToUploader:"No se puede leer el código de barras. <br/>Cambie al modo de carga manual de fotos para la validación.",back:"Da la vuelta a tu documento",barcode:"Coloque el código de barras dentro del marco",hold:{front:"Coloque la cara frontal del documento dentro del cuadro delimitador.",pdf:"Alinee el código de barras de su documento con el código de barras de la pantalla.",mrz:"Alinee el MRZ de su documento con el MRZ de la pantalla",back:"Coloque el reverso del documento dentro del cuadro delimitador.",barcode:"Posicionar el código de barras dentro del cuadro delimitador"},dontSee:"No te veo",dontMove:"No te muevas",turnFaceLeft:"Gira la cara a la izquierda",turnFaceRight:"Gira la cara a la derecha",turnFaceUp:"Levanta tu cara",turnFaceDown:"Bajar la cara",faceCam:"Enfréntate a la cámara",camAway:"Mover la cámara más lejos",moveCenter:"Mover al centro",comeCloser:"Acércate",documentCloser:"Acerque el documento",holdCamera:"Manténgase firme, analizando el documento <br>"},keyErrors:["La clave de licencia ha caducado","La Clave de Licencia no es Válida","La URL Configurada De La Clave De Licencia No Coincide"],camera:{loading:"Carga",awaiting:"A la espera de la respuesta de la cámara"},general:{step:"Paso",scan:"Escanear",front:"Frontal",mrz:"MRZ",mrzFront:"MRZ",pdf:"PDF",face:"Selfie",barcode:"Código de barras",back:"Atrás",photo:"Foto",notificationStepSuccess:"añadido con éxito",notificationStepWarning:"No se reconoce la imagen",notificationDocumentTypeChangedInfo:"Se ha modificado el tipo de documento",notificationStepsResetInfo:"Se han restablecido todos los pasos",notificationStepMinSize:"La resolución es demasiado baja",notificationSubmit:"Enviado",initialLoader:{top:"La red neuronal se está calentando",bottom:"La captura de documentos estará lista para su uso en breve..."},card:{edit:"Editar",complete:"Completo"},modeSwitch:{video:"Escaneado de cámara",uploader:"Carga manual"},uploader:{dragHint:"Haga clic o arrastre y suelte <br> para cargar el archivo",dividerHint:"o",fileHint:"Buscar archivo",successUpload:"subido exitosamente",warningUpload:"resultado incorrecto",mainHint:"Asegúrese de que su identificación llena toda la pantalla <br> con poco o ningún fondo.",complete:"Completo"},messageBox:{default:"Escanee su documento"},controlButtons:{upload:"Cargar",reset:"Restablecer todos los pasos",submit:"Enviar",start:"Inicio",back:"Volver",edit:"Cambiar foto",continue:"Continuar",capture:"Captura",retake:"Retomar"},desktopNotification:{barcode:"Es posible que el proceso de captura del código de barras con su dispositivo no funcione muy bien. Pruebe a utilizar su dispositivo móvil.",mrz:"Es posible que el proceso de captura de MRZ mediante su dispositivo no funcione muy bien. Pruebe a utilizar su dispositivo móvil.",other:"Es posible que el proceso de captura de imágenes con tu dispositivo no funcione muy bien. Pruebe a utilizar su dispositivo móvil."},documentType:"Su Tipo de Documento es",selectDocumentTypeText:"Cambiar el tipo de documento",changeDocumentTypeText:"Cambiar el tipo de documento",changeBtn:"Cambiar",correctBtn:"Corregir",cancelBtn:"Cancelar",doneBtn:"Hecho",closeBtn:"Cerrar",retakeBtn:"VOLVER",continueBtn:"CONTINUAR",submitBtn:"ENVIAR",resetAllStepsBtn:"Restablecer todos los pasos",btnUploader:"Cambiar a cargador manual",btnCamera:"Cambiar al modo de cámara",pressToUpdateText:"Pulse para actualizar",pressToUpdateTextSuccess:"Pulse para actualizar"},uploaderDescription:{textFront:"Haga clic aquí para cargar el frente de su identificación",textBack:"Haga clic aquí para cargar el reverso de una identificación",textFace:"Haga clic aquí para cargar una foto de su rostro",textPdf:"Haga clic aquí para cargar el reverso de una identificación",textMrz:"Haga clic aquí para cargar una foto de su documento'",textFrontBack:"Asegúrese de que su identificación llene toda la pantalla de la cámara con poco o ningún fondo.",textPass:"Asegúrese de que su identificación llene toda la pantalla de la cámara <br> con poco o ningún fondo, y que se incluya el código MRZ completo",textFacePosition:"Coloque su rostro para ocupar toda la pantalla de la cámara con poco o ningún fondo."},documentsTypes:{ID:"Licencia de Conducir",Passport:"Pasaporte",PassportCard:"Tarjeta de Pasaporte",GreenCard:"Tarjeta Verde o Autorización de Empleo",InternationalId:"Identificación Internacional",VIN:"Número de identificación del vehículo",Barcode:"Códigos de barras 1-D y 2-D"},spinnerText:{warmup:{top:"La red neuronal se está calentando",bottom:"La captura de documentos estará lista para su uso en breve..."}}},en:{errorCodes:{mrzNotFound:"Warning: MRZ was not found.",mrzNotRecognized:"Warning: MRZ data could not be read. Try taking a higher quality image.",barcodeNotFound:"Warning: Barcode not found.",barcodeNotRecognized:"Warning: Barcode data could not be read. Try taking a higher quality image.",heic:"HEIC file incorrupted",fileType:"File Type Error: Only jpeg and png images are supported.",fileTypeHeic:"File Type Error: Only jpeg, png and heic images are supported.",disableStepFileUpload:"A device with a camera must be used to capture this image",notAllowedDocument:"This document type is not allowed",documentSideLowPerimeter:"Warning: The document in the photo is too small, bring it closer",frontSideNotDetected:"Warning: The image isn't recognized as the front side of the chosen document type",backSideNotDetected:"Warning: The document's side isn't recognized as the back side of the chosen document type",faceNotFound:"Warning: A person's face was not found in captured image",disabledManualUpload:{header:"Manual upload is disabled",text:"Document capture via manual upload is disabled in the configuration"},default:{header:"Please try again",text:"We're sorry, but there was an issue capturing and submitting the images of your document. Please try again"},CameraNotFound:{header:"Not found",text:"No camera was found on your device"},CameraNotFoundInVerification:{header:"Not found",text:"No camera was found on your device. <br/>Please use a different device or allow access to the camera for verification"},CameraNotAllowed:{header:"Not allowed",text:"Grant permission for the browser to access the device camera <br/> or choose the Manual Upload option"},CameraNotAvailable:{header:"Not available",text:"Camera is not available at the moment"},CameraInUse:{header:"In use",text:"Camera is already in use"},MediaDevicesNotSupported:{header:"Not supported",text:"Your browser is not supported"},lowImageResolution:"The resolution of the uploaded image is too low",imageIsBlurred:"The image is too blurry to be used",faceLowArea:"Face area in the photo takes up too little space"},hintTexts:{front:"Position the front of the document",frontMRZ:"Zoom in to capture code at bottom",mrz:"Zoom in to capture code on back side",capturing:"Position the front of the document",pdf:"Position the barcode inside the frame",switchToUploader:"The barcode cannot be read. <br/>Please switch to manual photo upload mode",back:"Turn around your document",barcode:"Position the barcode inside the frame",hold:{front:"Position the front side of your document inside the bounding box",pdf:"Line up the barcode on your document with the barcode on the screen",mrz:"Line up the MRZ on your document with the MRZ on the screen",back:"Position the back side of your document inside the bounding box",barcode:"Position the barcode inside the bounding box"},dontSee:"I don't see you",dontMove:"Don't move",turnFaceLeft:"Turn your face left",turnFaceRight:"Turn your face right",turnFaceUp:"Turn your face up",turnFaceDown:"Turn your face down",faceCam:"Face the camera",camAway:"Move camera further away",moveCenter:"Move to the center",comeCloser:"Come closer",documentCloser:"Bring the document closer",holdCamera:"Hold steady, analyzing document <br>"},keyErrors:["License Key has Expired","License Key is Not Valid","License Key's Configured URL Does Not Match"],camera:{loading:"Loading",awaiting:"Awaiting camera response"},general:{step:"Step",scan:"Scan",front:"Front",mrz:"MRZ",mrzFront:"MRZ",pdf:"PDF",face:"Selfie",barcode:"Barcode",back:"Back",photo:"Photo",notificationStepSuccess:"successfully added",notificationStepWarning:"Image is not recognized",notificationDocumentTypeChangedInfo:"Document type has been changed",notificationStepsResetInfo:"All steps have been reset",notificationStepMinSize:"The resolution is too low",notificationSubmit:"Submitted",initialLoader:{top:"Neural network is warming up",bottom:"Document capture will be ready to use shortly..."},card:{edit:"Edit",complete:"Complete"},modeSwitch:{video:"Camera Scan",uploader:"Manual Upload"},uploader:{dragHint:"Click or Drag and Drop <br> to Upload File",dividerHint:"or",fileHint:"Browse File",successUpload:"uploaded successfully",warningUpload:"incorrect result",mainHint:"Ensure that your ID fills the entire screen <br> with little to no background",complete:"Complete"},messageBox:{default:"Scan your Document"},desktopNotification:{barcode:"The barcode capturing process using your device may not work very well. Try using your mobile device instead.",mrz:"The MRZ capturing process using your device may not work very well. Try using your mobile device instead.",other:"The image capturing process using your device may not work very well. Try using your mobile device instead."},controlButtons:{upload:"Upload",reset:"Reset all steps",submit:"Submit",start:"Start",back:"Back",edit:"Change Photo",continue:"Continue",capture:"Capture",retake:"Retake"},documentType:"Your document type is",selectDocumentTypeText:"Select Document Type",changeDocumentTypeText:"Change Document Type",changeBtn:"Change",correctBtn:"Correct",cancelBtn:"Cancel",doneBtn:"Done",closeBtn:"CLOSE",retakeBtn:"Retake",continueBtn:"CONTINUE",submitBtn:"SUBMIT",resetAllStepsBtn:"Reset all steps",btnUploader:"Switch to manual uploader",btnCamera:"Switch to camera mode",pressToUpdateText:"Press to update",pressToUpdateTextSuccess:"Press to update"},documentsTypes:{ID:"Driver's License or State Identification Card",Passport:"Passport",PassportCard:"US Passport Card",GreenCard:"Green Card or Employment Authorization",InternationalId:"International ID",VIN:"Vehicle Identification Number",Barcode:"1-D and 2-D Barcodes"},uploaderDescription:{textFront:"Click here to upload the front of your ID",textBack:"Click here to upload the back of your ID",textFace:"Click here to upload a photo of your face",textPdf:"Click here to upload the back of a ID",textMrz:"Click here to upload a photo of your document",textFrontBack:"Please make sure your ID fills up the entire <br> camera screen with little to no background.",textPass:"Please make sure your ID fills up the entire camera screen <br> with little to no background, and the full MRZ code is included.",textFacePosition:"Please position your face to take up <br> the full camera screen with little to no background."},spinnerText:{warmup:{top:"Neural network is warming up",bottom:"Document capture will be ready to use shortly..."}}}},r=t.en,n=function(e){if(e){var a=e.toLowerCase(),o=Object.keys(t).includes(a)?a:"en";r=t[o]}else r=t.en},i=function(e){return e?r[e]:r},d=a.i0,c=a._2,s=a.J3;export{d as getTranslation,c as setTranslation,s as supportedLanguages};
1
+ var e={d:(a,o)=>{for(var t in o)e.o(o,t)&&!e.o(a,t)&&Object.defineProperty(a,t,{enumerable:!0,get:o[t]})},o:(e,a)=>Object.prototype.hasOwnProperty.call(e,a)},a={};e.d(a,{J3:()=>o,_2:()=>n,i0:()=>i});var o=["en","es"],t={es:{errorCodes:{mrzNotFound:"Advertencia: <br/>No se ha encontrado MRZ.",mrzNotRecognized:"Advertencia: <br/>No se han podido leer los datos MRZ.<br/>Intente tomar una imagen de mayor calidad.",barcodeNotFound:"Warning: <br/>Código de barras no encontrado.",barcodeNotRecognized:"Advertencia: <br/>No se pudieron leer los datos del código de barras.<br/>Intente tomar una imagen de mayor calidad.",heic:"El archivo HEIC está dañado",fileTypeHeic:"Error de tipo de archivo: Sólo se admiten imágenes jpeg, png y heic.",fileType:"Error de tipo de archivo: Sólo se admiten imágenes jpeg y png.",disableStepFileUpload:"Se debe utilizar un dispositivo con una cámara para capturar esta imagen",notAllowedDocument:"Este tipo de documento no está permitido",documentSideLowPerimeter:"Advertencia: <br/>El documento de la foto es demasiado pequeño, acércalo más",frontSideNotDetected:"Advertencia: <br/>La imagen no se reconoce como el anverso del tipo de documento elegido",backSideNotDetected:"Advertencia: <br/>La imagen no se reconoce como el reverso del tipo de documento elegido",faceNotFound:"Advertencia: <br/>No se ha encontrado la cara de una persona en la imagen capturada",disabledManualUpload:{header:"La carga manual está deshabilitada",text:"La captura de documentos mediante carga manual está deshabilitada en la configuración"},default:{header:"Por favor, inténtelo de nuevo",text:"Lo sentimos, <br/>pero hubo un problema al capturar y enviar las imágenes de su documento. Por favor, inténtelo de nuevo."},CameraNotFound:{header:"No se ha encontrado",text:"No se encontró ninguna cámara en su dispositivo"},CameraNotFoundInVerification:{header:"No se ha encontrado",text:"No se ha encontrado ninguna cámara en su dispositivo.<br/> Por favor, utilice un dispositivo diferente o permitir el acceso a la cámara para la verificación"},CameraNotAllowed:{header:"No autorizado",text:"Concede permiso para que el navegador acceda a la cámara del dispositivo <br/>o elige la opción Carga manual."},CameraNotAvailable:{header:"No disponible",text:"La cámara no está disponible en este momento"},CameraInUse:{header:"En uso",text:"La cámara ya está en uso"},MediaDevicesNotSupported:{header:"No se admite",text:"Tu navegador no es compatible"},lowImageResolution:"La resolución de la imagen cargada es demasiado baja",imageIsBlurred:"La imagen es demasiado borrosa para ser utilizada",faceLowArea:"El área de la cara en la foto ocupa muy poco espacio"},hintTexts:{front:"Coloque el anverso del documento",frontMRZ:"Haga zoom para capturar el código en la parte inferior",mrz:"Haga zoom para capturar el código en la parte posterior",capturing:"Coloque el anverso del documento",pdf:"Coloque el código de barras dentro del marco",switchToUploader:"No se puede leer el código de barras. <br/>Cambie al modo de carga manual de fotos para la validación.",back:"Da la vuelta a tu documento",barcode:"Coloque el código de barras dentro del marco",hold:{front:"Coloque la cara frontal del documento dentro del cuadro delimitador.",pdf:"Alinee el código de barras de su documento con el código de barras de la pantalla.",mrz:"Alinee el MRZ de su documento con el MRZ de la pantalla",back:"Coloque el reverso del documento dentro del cuadro delimitador.",barcode:"Posicionar el código de barras dentro del cuadro delimitador"},dontSee:"No te veo",dontMove:"No te muevas",turnFaceLeft:"Gira la cara a la izquierda",turnFaceRight:"Gira la cara a la derecha",turnFaceUp:"Levanta tu cara",turnFaceDown:"Bajar la cara",faceCam:"Enfréntate a la cámara",camAway:"Mover la cámara más lejos",moveCenter:"Mover al centro",comeCloser:"Acércate",documentCloser:"Acerque el documento",holdCamera:"Manténgase firme, analizando el documento <br>"},keyErrors:["La clave de licencia ha caducado","La Clave de Licencia no es Válida","La URL Configurada De La Clave De Licencia No Coincide"],camera:{loading:"Carga",awaiting:"A la espera de la respuesta de la cámara"},general:{step:"Paso",scan:"Escanear",front:"Frontal",mrz:"MRZ",mrzFront:"MRZ",pdf:"PDF",face:"Selfie",barcode:"Código de barras",back:"Atrás",photo:"Foto",notificationStepSuccess:"añadido con éxito",notificationStepWarning:"No se reconoce la imagen",notificationDocumentTypeChangedInfo:"Se ha modificado el tipo de documento",notificationStepsResetInfo:"Se han restablecido todos los pasos",notificationStepMinSize:"La resolución es demasiado baja",notificationSubmit:"Enviado",initialLoader:{top:"La red neuronal se está calentando",bottom:"La captura de documentos estará lista para su uso en breve..."},card:{edit:"Editar",complete:"Completo"},modeSwitch:{video:"Escaneado de cámara",uploader:"Carga manual"},uploader:{dragHint:"Haga clic o arrastre y suelte <br> para cargar el archivo",dividerHint:"o",fileHint:"Buscar archivo",successUpload:"subido exitosamente",warningUpload:"resultado incorrecto",mainHint:"Asegúrese de que su identificación llena toda la pantalla <br> con poco o ningún fondo.",complete:"Completo"},messageBox:{default:"Escanee su documento"},controlButtons:{upload:"Cargar",reset:"Restablecer todos los pasos",submit:"Enviar",start:"Inicio",back:"Volver",edit:"Cambiar foto",continue:"Continuar",capture:"Captura",retake:"Retomar"},desktopNotification:{barcode:"Es posible que el proceso de captura del código de barras con su dispositivo no funcione muy bien. Pruebe a utilizar su dispositivo móvil.",mrz:"Es posible que el proceso de captura de MRZ mediante su dispositivo no funcione muy bien. Pruebe a utilizar su dispositivo móvil.",other:"Es posible que el proceso de captura de imágenes con tu dispositivo no funcione muy bien. Pruebe a utilizar su dispositivo móvil."},documentType:"Su Tipo de Documento es",selectDocumentTypeText:"Cambiar el tipo de documento",changeDocumentTypeText:"Cambiar el tipo de documento",changeBtn:"Cambiar",correctBtn:"Corregir",cancelBtn:"Cancelar",doneBtn:"Hecho",closeBtn:"Cerrar",retakeBtn:"VOLVER",continueBtn:"CONTINUAR",submitBtn:"ENVIAR",resetAllStepsBtn:"Restablecer todos los pasos",btnUploader:"Cambiar a cargador manual",btnCamera:"Cambiar al modo de cámara",pressToUpdateText:"Pulse para actualizar",pressToUpdateTextSuccess:"Pulse para actualizar"},uploaderDescription:{textFront:"Haga clic aquí para cargar el frente de su identificación",textBack:"Haga clic aquí para cargar el reverso de una identificación",textFace:"Haga clic aquí para cargar una foto de su rostro",textPdf:"Haga clic aquí para cargar el reverso de una identificación",textMrz:"Haga clic aquí para cargar una foto de su documento'",textFrontBack:"Asegúrese de que su identificación llene toda la pantalla de la cámara con poco o ningún fondo.",textPass:"Asegúrese de que su identificación llene toda la pantalla de la cámara <br> con poco o ningún fondo, y que se incluya el código MRZ completo",textFacePosition:"Coloque su rostro para ocupar toda la pantalla de la cámara con poco o ningún fondo."},documentsTypes:{ID:"Licencia de Conducir",Passport:"Pasaporte",PassportCard:"Tarjeta de Pasaporte",GreenCard:"Tarjeta Verde",EmploymentAuthorization:"Autorización de Empleo",InternationalId:"Identificación Internacional",VIN:"Número de identificación del vehículo",Barcode:"Códigos de barras 1-D y 2-D"},spinnerText:{warmup:{top:"La red neuronal se está calentando",bottom:"La captura de documentos estará lista para su uso en breve..."}}},en:{errorCodes:{mrzNotFound:"Warning: MRZ was not found.",mrzNotRecognized:"Warning: MRZ data could not be read. Try taking a higher quality image.",barcodeNotFound:"Warning: Barcode not found.",barcodeNotRecognized:"Warning: Barcode data could not be read. Try taking a higher quality image.",heic:"HEIC file incorrupted",fileType:"File Type Error: Only jpeg and png images are supported.",fileTypeHeic:"File Type Error: Only jpeg, png and heic images are supported.",disableStepFileUpload:"A device with a camera must be used to capture this image",notAllowedDocument:"This document type is not allowed",documentSideLowPerimeter:"Warning: The document in the photo is too small, bring it closer",frontSideNotDetected:"Warning: The image isn't recognized as the front side of the chosen document type",backSideNotDetected:"Warning: The document's side isn't recognized as the back side of the chosen document type",faceNotFound:"Warning: A person's face was not found in captured image",disabledManualUpload:{header:"Manual upload is disabled",text:"Document capture via manual upload is disabled in the configuration"},default:{header:"Please try again",text:"We're sorry, but there was an issue capturing and submitting the images of your document. Please try again"},CameraNotFound:{header:"Not found",text:"No camera was found on your device"},CameraNotFoundInVerification:{header:"Not found",text:"No camera was found on your device. <br/>Please use a different device or allow access to the camera for verification"},CameraNotAllowed:{header:"Not allowed",text:"Grant permission for the browser to access the device camera <br/> or choose the Manual Upload option"},CameraNotAvailable:{header:"Not available",text:"Camera is not available at the moment"},CameraInUse:{header:"In use",text:"Camera is already in use"},MediaDevicesNotSupported:{header:"Not supported",text:"Your browser is not supported"},lowImageResolution:"The resolution of the uploaded image is too low",imageIsBlurred:"The image is too blurry to be used",faceLowArea:"Face area in the photo takes up too little space"},hintTexts:{front:"Position the front of the document",frontMRZ:"Zoom in to capture code at bottom",mrz:"Zoom in to capture code on back side",capturing:"Position the front of the document",pdf:"Position the barcode inside the frame",switchToUploader:"The barcode cannot be read. <br/>Please switch to manual photo upload mode",back:"Turn around your document",barcode:"Position the barcode inside the frame",hold:{front:"Position the front side of your document inside the bounding box",pdf:"Line up the barcode on your document with the barcode on the screen",mrz:"Line up the MRZ on your document with the MRZ on the screen",back:"Position the back side of your document inside the bounding box",barcode:"Position the barcode inside the bounding box"},dontSee:"I don't see you",dontMove:"Don't move",turnFaceLeft:"Turn your face left",turnFaceRight:"Turn your face right",turnFaceUp:"Turn your face up",turnFaceDown:"Turn your face down",faceCam:"Face the camera",camAway:"Move camera further away",moveCenter:"Move to the center",comeCloser:"Come closer",documentCloser:"Bring the document closer",holdCamera:"Hold steady, analyzing document <br>"},keyErrors:["License Key has Expired","License Key is Not Valid","License Key's Configured URL Does Not Match"],camera:{loading:"Loading",awaiting:"Awaiting camera response"},general:{step:"Step",scan:"Scan",front:"Front",mrz:"MRZ",mrzFront:"MRZ",pdf:"PDF",face:"Selfie",barcode:"Barcode",back:"Back",photo:"Photo",notificationStepSuccess:"successfully added",notificationStepWarning:"Image is not recognized",notificationDocumentTypeChangedInfo:"Document type has been changed",notificationStepsResetInfo:"All steps have been reset",notificationStepMinSize:"The resolution is too low",notificationSubmit:"Submitted",initialLoader:{top:"Neural network is warming up",bottom:"Document capture will be ready to use shortly..."},card:{edit:"Edit",complete:"Complete"},modeSwitch:{video:"Camera Scan",uploader:"Manual Upload"},uploader:{dragHint:"Click or Drag and Drop <br> to Upload File",dividerHint:"or",fileHint:"Browse File",successUpload:"uploaded successfully",warningUpload:"incorrect result",mainHint:"Ensure that your ID fills the entire screen <br> with little to no background",complete:"Complete"},messageBox:{default:"Scan your Document"},desktopNotification:{barcode:"The barcode capturing process using your device may not work very well. Try using your mobile device instead.",mrz:"The MRZ capturing process using your device may not work very well. Try using your mobile device instead.",other:"The image capturing process using your device may not work very well. Try using your mobile device instead."},controlButtons:{upload:"Upload",reset:"Reset all steps",submit:"Submit",start:"Start",back:"Back",edit:"Change Photo",continue:"Continue",capture:"Capture",retake:"Retake"},documentType:"Your document type is",selectDocumentTypeText:"Select Document Type",changeDocumentTypeText:"Change Document Type",changeBtn:"Change",correctBtn:"Correct",cancelBtn:"Cancel",doneBtn:"Done",closeBtn:"CLOSE",retakeBtn:"Retake",continueBtn:"CONTINUE",submitBtn:"SUBMIT",resetAllStepsBtn:"Reset all steps",btnUploader:"Switch to manual uploader",btnCamera:"Switch to camera mode",pressToUpdateText:"Press to update",pressToUpdateTextSuccess:"Press to update"},documentsTypes:{ID:"Driver's License or State Identification Card",Passport:"Passport",PassportCard:"US Passport Card",GreenCard:"Green Card",EmploymentAuthorization:"Employment Authorization",InternationalId:"International ID",VIN:"Vehicle Identification Number",Barcode:"1-D and 2-D Barcodes"},uploaderDescription:{textFront:"Click here to upload the front of your ID",textBack:"Click here to upload the back of your ID",textFace:"Click here to upload a photo of your face",textPdf:"Click here to upload the back of a ID",textMrz:"Click here to upload a photo of your document",textFrontBack:"Please make sure your ID fills up the entire <br> camera screen with little to no background.",textPass:"Please make sure your ID fills up the entire camera screen <br> with little to no background, and the full MRZ code is included.",textFacePosition:"Please position your face to take up <br> the full camera screen with little to no background."},spinnerText:{warmup:{top:"Neural network is warming up",bottom:"Document capture will be ready to use shortly..."}}}},r=t.en,n=function(e){if(e){var a=e.toLowerCase(),o=Object.keys(t).includes(a)?a:"en";r=t[o]}else r=t.en},i=function(e){return e?r[e]:r},d=a.i0,c=a._2,s=a.J3;export{d as getTranslation,c as setTranslation,s as supportedLanguages};
Binary file
@@ -1,6 +1,6 @@
1
- export type DocumentTypeIndex = 1 | 2 | 3 | 6 | 7 | 8 | 9 | 10;
2
- export type DocumentTypeName = 'ID' | 'Passport' | 'PassportCard' | 'GreenCard' | 'InternationalId' | 'VIN' | 'Barcode' | 'FaceAuthorization';
3
- export type HumanName = 'Driver\'s License or State Identification Card' | 'Passport' | 'US Passport Card' | 'Green Card or Employment Authorization' | 'International ID' | 'Vehicle Identification Number' | '1-D and 2-D Barcodes' | 'Face Authorization';
1
+ export type DocumentTypeIndex = 1 | 2 | 3 | 6 | 7 | 8 | 9 | 10 | 11;
2
+ export type DocumentTypeName = 'ID' | 'Passport' | 'PassportCard' | 'GreenCard' | 'InternationalId' | 'VIN' | 'Barcode' | 'FaceAuthorization' | 'EmploymentAuthorization';
3
+ export type HumanName = 'Driver\'s License or State Identification Card' | 'Passport' | 'US Passport Card' | 'Green Card' | 'International ID' | 'Vehicle Identification Number' | '1-D and 2-D Barcodes' | 'Face Authorization' | 'Employment Authorization';
4
4
  export type ImageSource = 'video' | 'file';
5
5
  export declare enum DocumentTypeIDs {
6
6
  'ID' = 1,
@@ -9,8 +9,9 @@ export declare enum DocumentTypeIDs {
9
9
  'GreenCard' = 6,
10
10
  'InternationalId' = 7,
11
11
  'VIN' = 8,
12
- 'Barcode' = 9,
13
- 'FaceAuthorization' = 10
12
+ 'Barcode' = 11,
13
+ 'FaceAuthorization' = 10,
14
+ 'EmploymentAuthorization' = 9
14
15
  }
15
16
  export interface DocumentRecord {
16
17
  name: DocumentTypeName;
@@ -129,6 +129,7 @@ interface IDocumentsTypes {
129
129
  Passport: string;
130
130
  PassportCard: string;
131
131
  GreenCard: string;
132
+ EmploymentAuthorization: string;
132
133
  InternationalId: string;
133
134
  VIN: string;
134
135
  Barcode: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@idscan/idvc2",
3
- "version": "2.10.1",
3
+ "version": "2.10.2",
4
4
  "description": "component for the capturing documents",
5
5
  "main": "dist/idvc.js",
6
6
  "types": "dist/types/idvc.d.ts",