@idscan/idvc2 2.15.0 → 3.1.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 (65) hide show
  1. package/README.md +12 -0
  2. package/dist/idvc.js +1 -1
  3. package/dist/idvc.js.LICENSE.txt +6 -0
  4. package/dist/idvc.js.gzip +0 -0
  5. package/dist/index.html +8 -36
  6. package/dist/js/defaultConfig.ts +12 -2
  7. package/dist/js/environment/cssVariables.json +21 -0
  8. package/dist/js/environment/documentTypes.ts +1 -1
  9. package/dist/js/environment/langs.js +1 -1
  10. package/dist/langs.js.gzip +0 -0
  11. package/dist/networks/Blur-chunk.js +1 -1
  12. package/dist/networks/Face-chunk.js +1 -1
  13. package/dist/networks/GeneralTypeDetectionYolo-chunk.js +1 -1
  14. package/dist/networks/ZXing-chunk.js +1 -1
  15. package/dist/networks/blurWorker.js.gzip +0 -0
  16. package/dist/networks/mrzWorker.js.gzip +0 -0
  17. package/dist/networks/pdfWorker.js.gzip +0 -0
  18. package/dist/types/defaultConfig.d.ts +5 -4
  19. package/dist/types/environment/documentTypes.d.ts +1 -1
  20. package/dist/types/environment/langs.d.ts +3 -1
  21. package/dist/types/eventListeners/selectDocumentType/selectHandler.d.ts +1 -1
  22. package/dist/types/helpers/validators.d.ts +10 -1
  23. package/dist/types/modules/App/UI.d.ts +1 -1
  24. package/dist/types/modules/Config.d.ts +8 -2
  25. package/dist/types/modules/Loader/Loader.d.ts +1 -1
  26. package/dist/types/modules/ui/CardStep/Card.d.ts +3 -5
  27. package/dist/types/modules/ui/CardStep/card-template.d.ts +5 -0
  28. package/dist/types/modules/ui/{Component.d.ts → ComponentLit.d.ts} +9 -11
  29. package/dist/types/modules/ui/ControlButton/ControlButton.d.ts +7 -9
  30. package/dist/types/modules/ui/ControlButton/control-button-template.d.ts +4 -0
  31. package/dist/types/modules/ui/ControlButton/controlButtonTemplate.d.ts +1 -0
  32. package/dist/types/modules/ui/DesktopNotification/DesktopNotification.d.ts +4 -6
  33. package/dist/types/modules/ui/DesktopNotification/desktop-notification-template.d.ts +2 -0
  34. package/dist/types/modules/ui/IDVCVersionPlank/IDVCVersionPlank.d.ts +4 -6
  35. package/dist/types/modules/ui/IDVCVersionPlank/idvc-version-plank-template.d.ts +2 -0
  36. package/dist/types/modules/ui/InitScreeen/InitScreen.d.ts +20 -0
  37. package/dist/types/modules/ui/InitScreeen/init-screen-template.d.ts +4 -0
  38. package/dist/types/modules/ui/Loader/LoaderUI.d.ts +10 -0
  39. package/dist/types/modules/ui/Loader/loader-template.d.ts +2 -0
  40. package/dist/types/modules/ui/MainScreen/MainScreen.d.ts +3 -3
  41. package/dist/types/modules/ui/MessageBox/MessageBox.d.ts +5 -12
  42. package/dist/types/modules/ui/MessageBox/message-box-template.d.ts +2 -0
  43. package/dist/types/modules/ui/ModeSwitch/ModeSwitch.d.ts +7 -8
  44. package/dist/types/modules/ui/ModeSwitch/mode-switch-template.d.ts +4 -0
  45. package/dist/types/modules/ui/Notification/Notification.d.ts +5 -6
  46. package/dist/types/modules/ui/Notification/notification-template.d.ts +2 -0
  47. package/dist/types/modules/ui/StatusPlank/StatusPlank.d.ts +5 -6
  48. package/dist/types/modules/ui/StatusPlank/status-plank-template.d.ts +2 -0
  49. package/dist/types/modules/ui/StepsList/StepsScreen.d.ts +2 -2
  50. package/dist/types/modules/ui/Uploader/UploaderUI.d.ts +10 -16
  51. package/dist/types/modules/ui/Uploader/uploader-template.d.ts +9 -0
  52. package/dist/types/modules/ui/VideoWrapper/StepPreview/StepPreview.d.ts +3 -3
  53. package/dist/types/modules/ui/VideoWrapper/StepPreview/step-preview-template.d.ts +2 -0
  54. package/dist/types/modules/ui/{selectDocumentType/documentSelectedEvent.d.ts → documentSelectedEvent.d.ts} +1 -1
  55. package/dist/types/modules/validation/ValidateDictionaryLangMatch.d.ts +6 -0
  56. package/dist/types/modules/validation/ValidateDocumentTypes.d.ts +8 -6
  57. package/dist/types/modules/validation/showValidationError.d.ts +6 -1
  58. package/dist/types/modules/validation/validatorFactory.d.ts +2 -1
  59. package/dist/types/neural models/generalTypeDetectionYoloModel.d.ts +1 -0
  60. package/dist/types/types/context.d.ts +3 -0
  61. package/dist/types/types/helpers/DeepPartial.d.ts +6 -0
  62. package/package.json +2 -4
  63. package/dist/types/modules/ui/DocumentsList/InitScreen.d.ts +0 -21
  64. package/dist/types/modules/ui/Spinner/LoaderUI.d.ts +0 -11
  65. /package/dist/types/modules/{blurModule.d.ts → BlurModule.d.ts} +0 -0
package/README.md CHANGED
@@ -81,6 +81,18 @@ import IDVC from '@idscan/idvc2'
81
81
 
82
82
  ## Version history
83
83
 
84
+ - **3.1.0**
85
+ - feat: added css variables: Primary brand color of the cube --color-loader-primary* Secondary brand color of the cube* --color-loader-secondary; Tertiary accent color of the cube --color-loader-tertiary
86
+ - feat: filtering of unwanted cameras
87
+ - feat: added the field "customTranslations" where you can pass your translation dictionary
88
+
89
+ - **3.0.0**
90
+ - feat: added document type information in the 'sumbit' event output parameters
91
+ - feat: when the allowSubmitWithWarnings parameter is set to true, the user will be taken to the step selection screen where the submit button is displayed
92
+ - feat: camera access error text has been changed
93
+ - feat: improved quality of capturing all sides of the document when capturing from the camera
94
+ - feat: dynamically executable code was removed from internal wasm modules
95
+
84
96
  - **2.15.0**
85
97
  - feat: document type 'ID' has been removed and split into 2 types: 'DL' & 'IC'. The workflow of these document types is the same as 'ID'
86
98
  - feat: added option 'autocaptureConfidence'. The option specifies the strictness of the type recognition decision filter. The value must be a floating point number between 0 and 1. Where 1 is the strictest filter, 0 is the least strict.