@regulaforensics/vp-frontend-document-components 2.1.0 → 2.2.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 (47) hide show
  1. package/README.md +129 -35
  2. package/dist/main.js +1 -1
  3. package/esm/main.js +1 -1
  4. package/lib/common/Message.d.ts +2 -1
  5. package/lib/common/NoGlareIconLivenessDetection.d.ts +5 -0
  6. package/lib/common/NoSmilingIconLivenessDetection.d.ts +5 -0
  7. package/lib/common/PortraitOrientationOnlyIcon.d.ts +6 -0
  8. package/lib/common/RegulaLogoLivenessDetection.d.ts +5 -0
  9. package/lib/components/ButtonFaceLiveness.d.ts +7 -0
  10. package/lib/components/DocumentReaderLayout.d.ts +4 -6
  11. package/lib/components/FaceCapture.d.ts +15 -6
  12. package/lib/components/FaceFullScreenOverlay.d.ts +2 -3
  13. package/lib/components/FaceHintAnimaition.d.ts +16 -0
  14. package/lib/components/FaceLayout.d.ts +10 -5
  15. package/lib/components/InfoScreenFaceLiveness.d.ts +11 -0
  16. package/lib/components/InstructionVideoScreen.d.ts +9 -0
  17. package/lib/components/ProcessScreenFaceLiveness.d.ts +6 -0
  18. package/lib/components/RetryScreenFaceLiveness.d.ts +7 -0
  19. package/lib/components/SectorAnimationSvg.d.ts +11 -0
  20. package/lib/constants.d.ts +86 -10
  21. package/lib/contexts/DocumentAttributesContext.d.ts +4 -2
  22. package/lib/contexts/DocumentSDKContext.d.ts +3 -1
  23. package/lib/contexts/FaceAttributesContext.d.ts +6 -3
  24. package/lib/hoc/withLocalize.d.ts +5 -4
  25. package/lib/hooks/useDocumentReaderSeries.d.ts +2 -5
  26. package/lib/hooks/useFaceLiveness.d.ts +13 -3
  27. package/lib/hooks/useStateCallback.d.ts +1 -0
  28. package/lib/i18n/dictionaries/_dictionaries.d.ts +2212 -2052
  29. package/lib/index-document.d.ts +3 -4
  30. package/lib/media-resources/resourcesBase64.d.ts +7 -0
  31. package/lib/services/DebugService.d.ts +4 -0
  32. package/lib/services/DocumentReaderProcessor.d.ts +3 -2
  33. package/lib/services/FaceLivenessService.d.ts +70 -16
  34. package/lib/services/FaceService.d.ts +18 -5
  35. package/lib/types.d.ts +92 -75
  36. package/lib/web-components/CameraSnapshot.d.ts +6 -3
  37. package/lib/web-components/DocumentReader.d.ts +6 -3
  38. package/lib/web-components/FaceDetection.d.ts +2 -3
  39. package/lib/web-components/FaceLiveness.d.ts +6 -4
  40. package/lib/web-components/FullScreenContainer.d.ts +1 -1
  41. package/package.json +6 -4
  42. package/lib/common/InstructionIconFaceDetection.d.ts +0 -5
  43. package/lib/common/InstructionIconFaceLiveness.d.ts +0 -5
  44. package/lib/common/NoGlareIcon.d.ts +0 -5
  45. package/lib/common/NoSmilingIcon.d.ts +0 -5
  46. package/lib/components/InstructionScreen.d.ts +0 -9
  47. package/lib/components/RetryScreen.d.ts +0 -7
@@ -1,5 +1,4 @@
1
1
  import '@webcomponents/webcomponentsjs/webcomponents-bundle.js';
2
- import DocumentReaderService from './services/DocumentReaderService';
3
- import DocumentReaderProcessor from './services/DocumentReaderProcessor';
4
- declare function defineComponents(): Promise<Awaited<CustomElementConstructor>[]>;
5
- export { DocumentReaderService, DocumentReaderProcessor, defineComponents };
2
+ export declare function defineComponents(): Promise<Awaited<CustomElementConstructor>[]>;
3
+ export { default as DocumentReaderService } from './services/DocumentReaderService';
4
+ export { default as DocumentReaderProcessor } from './services/DocumentReaderProcessor';