@idscan/idvc2 2.9.0 → 2.10.1

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