@idscan/idvc2 2.9.0 → 2.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 (90) hide show
  1. package/README.md +10 -4
  2. package/dist/css/idvc.css +1 -1
  3. package/dist/idvc.js +1 -1
  4. package/dist/idvc.js.gzip +0 -0
  5. package/dist/index.html +41 -45
  6. package/dist/js/defaultConfig.ts +5 -5
  7. package/dist/js/environment/langs.js +1 -1
  8. package/dist/js/environment/networkNames.json +1 -2
  9. package/dist/js/environment/stepsDescription.ts +5 -4
  10. package/dist/langs.js.gzip +0 -0
  11. package/dist/networks/Face-chunk.js +1 -1
  12. package/dist/networks/MRZ-chunk.js +1 -1
  13. package/dist/networks/blurWorker.js.gzip +0 -0
  14. package/dist/networks/generalTypeDetectionYolo29052024.onnx.gzip +0 -0
  15. package/dist/networks/mrzWorker.js.gzip +0 -0
  16. package/dist/types/bl.d.ts +2 -2
  17. package/dist/types/constatnts/animations.d.ts +1 -0
  18. package/dist/types/context.d.ts +1 -129
  19. package/dist/types/controllers/ModuleController.d.ts +26 -7
  20. package/dist/types/defaultConfig.d.ts +1 -1
  21. package/dist/types/environment/langs.d.ts +69 -8
  22. package/dist/types/environment/stepsDescription.d.ts +1 -0
  23. package/dist/types/eventListeners/eventListeners.d.ts +1 -1
  24. package/dist/types/eventListeners/selectDocumentType/selectHandler.d.ts +1 -3
  25. package/dist/types/helpers/cameraConstraints.d.ts +6 -0
  26. package/dist/types/helpers/canvas.d.ts +3 -3
  27. package/dist/types/helpers/detectLanguage.d.ts +1 -0
  28. package/dist/types/helpers/image.d.ts +6 -7
  29. package/dist/types/helpers/layoutBreakpoints.d.ts +10 -0
  30. package/dist/types/helpers/step-background.d.ts +2 -2
  31. package/dist/types/idvc.d.ts +1 -1
  32. package/dist/types/loop.d.ts +2 -2
  33. package/dist/types/{modules/manualUpload.d.ts → manualUpload.d.ts} +3 -3
  34. package/dist/types/modules/App/UI-Types.d.ts +9 -0
  35. package/dist/types/modules/App/UI.d.ts +52 -0
  36. package/dist/types/modules/App/WebLibManualUploader.d.ts +13 -0
  37. package/dist/types/modules/Config.d.ts +2 -2
  38. package/dist/types/modules/MrzModule.d.ts +3 -3
  39. package/dist/types/modules/PdfModule.d.ts +3 -3
  40. package/dist/types/modules/Slider.d.ts +10 -0
  41. package/dist/types/modules/Spinner/Spinner.d.ts +22 -0
  42. package/dist/types/modules/Step.d.ts +7 -3
  43. package/dist/types/modules/camera/camera.d.ts +2 -2
  44. package/dist/types/modules/camera/cameraManager.d.ts +6 -2
  45. package/dist/types/modules/manualUploadProcessing.d.ts +8 -8
  46. package/dist/types/modules/ui/CardStep/Card.d.ts +33 -0
  47. package/dist/types/modules/ui/CardStep/CardStep.d.ts +10 -0
  48. package/dist/types/modules/ui/Component.d.ts +32 -0
  49. package/dist/types/modules/ui/ControlButton/ControlButton.d.ts +22 -0
  50. package/dist/types/modules/ui/DesktopNotification/DesktopNotification.d.ts +17 -0
  51. package/dist/types/modules/ui/DocumentsList/DocumentsList.d.ts +21 -0
  52. package/dist/types/modules/ui/IDVCVersionPlank/IDVCVersionPlank.d.ts +10 -0
  53. package/dist/types/modules/ui/InitialLoader/initialLoader.d.ts +12 -0
  54. package/dist/types/modules/ui/MainScreen/MainScreen.d.ts +75 -0
  55. package/dist/types/modules/ui/MessageBox/MessageBox.d.ts +30 -0
  56. package/dist/types/modules/ui/Modal.d.ts +5 -7
  57. package/dist/types/modules/ui/ModeSwitch/ModeSwitch.d.ts +20 -0
  58. package/dist/types/modules/ui/Notification/Notification.d.ts +24 -0
  59. package/dist/types/modules/ui/SelectDocumentType.d.ts +8 -11
  60. package/dist/types/modules/ui/Spinner/SpinnerUI.d.ts +11 -0
  61. package/dist/types/modules/ui/StepsList/StepsList.d.ts +48 -0
  62. package/dist/types/modules/ui/Uploader/UploaderUI.d.ts +39 -0
  63. package/dist/types/modules/ui/VideoWrapper/CanvasWrapper.d.ts +46 -0
  64. package/dist/types/modules/ui/{Flashlight.d.ts → VideoWrapper/Flashlight.d.ts} +8 -8
  65. package/dist/types/modules/ui/VideoWrapper/MaskCapture.d.ts +47 -0
  66. package/dist/types/modules/ui/VideoWrapper/StepPreview/StepPreview.d.ts +16 -0
  67. package/dist/types/modules/ui/VideoWrapper/UIHints.d.ts +27 -0
  68. package/dist/types/modules/ui/VideoWrapper/VideoWrapper.d.ts +44 -0
  69. package/dist/types/modules/ui/selectDocumentType/documentSelectedEvent.d.ts +2 -2
  70. package/dist/types/neural models/generalTypeDetectionYoloModel.d.ts +1 -1
  71. package/dist/types/stepProcessing.d.ts +3 -3
  72. package/dist/types/types/context.d.ts +121 -0
  73. package/dist/types/util.d.ts +1 -1
  74. package/package.json +5 -1
  75. package/dist/networks/ClassLocal-chunk.js +0 -1
  76. package/dist/networks/classLocal03032023.onnx.gzip +0 -0
  77. package/dist/types/loader/loaderClassLocal.d.ts +0 -3
  78. package/dist/types/modules/heic.d.ts +0 -11
  79. package/dist/types/modules/ui/MaskCapture.d.ts +0 -76
  80. package/dist/types/modules/ui/MessageBox.d.ts +0 -21
  81. package/dist/types/modules/ui/canvas.d.ts +0 -49
  82. package/dist/types/modules/ui/forceCaptruringBtn.d.ts +0 -12
  83. package/dist/types/modules/ui/hints.d.ts +0 -17
  84. package/dist/types/modules/ui/limitations.d.ts +0 -2
  85. package/dist/types/modules/ui/manualSwitchBtn.d.ts +0 -30
  86. package/dist/types/modules/ui/spinner.d.ts +0 -13
  87. package/dist/types/modules/uploader.d.ts +0 -58
  88. package/dist/types/neural models/classLocal/exits.d.ts +0 -4
  89. package/dist/types/neural models/classLocalModel.d.ts +0 -29
  90. package/dist/types/ui.d.ts +0 -93
package/README.md CHANGED
@@ -91,11 +91,17 @@ import '@idscan/idvc2/dist/css/idvc.css'
91
91
 
92
92
  ## Version history
93
93
 
94
+ - **2.10.0**
95
+ - feat: the UI has been completely updated
96
+ - feat: added option 'allowSubmitWithWarnings'
97
+ - feat: the 'hideDocumentTitle' option is deprecated
98
+ - feat: obsolete modules have been removed
99
+
94
100
  - **2.9.0**
95
- - feat: added a new public method to show the loader.
96
- Method: showLoader(val: boolean, bottomText?: string, topText?: string)
97
- - feat: improved document recognition and detection.
98
- - fix: license error display
101
+ - feat: added a new public method to show the loader.
102
+ Method: showLoader(val: boolean, bottomText?: string, topText?: string)
103
+ - feat: improved document recognition and detection.
104
+ - fix: license error display
99
105
 
100
106
  - **2.8.11**
101
107
  - fix: spinner does not close after config update