@idscan/idvc2 3.12.1 → 3.13.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.
- package/README.md +12 -0
- package/dist/idvc.js +1 -1
- package/dist/idvc.js.gzip +0 -0
- package/dist/index.html +191 -22
- package/dist/networks/Face-chunk.js +1 -1
- package/dist/types/bl.d.ts +2 -1
- package/dist/types/idvc.d.ts +9 -1
- package/dist/types/modules/Loader/Loader.d.ts +3 -4
- package/dist/types/modules/Loader/loaderStack.d.ts +35 -0
- package/dist/types/modules/ui/Loader/LoaderUI.d.ts +2 -0
- package/dist/types/modules/ui/Loader/loader-template.d.ts +3 -2
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -80,6 +80,18 @@ import IDVC from '@idscan/idvc2'
|
|
|
80
80
|
|
|
81
81
|
## Version history
|
|
82
82
|
|
|
83
|
+
- **3.13.0**
|
|
84
|
+
- feat: new loader animation on the 3D cubes (a grid of 3x3) with three scenes:
|
|
85
|
+
`check` (default, processing: the submit), `prepare` (starting: warm-up, steps, camera, mode change, reset; a wave over the cubes)
|
|
86
|
+
and `send` (sending: the manual upload); `prefers-reduced-motion` stops the animation
|
|
87
|
+
- feat: `showLoader` takes the scene as the 4th argument, the old calls keep working:
|
|
88
|
+
`showLoader(val: boolean, bottomText?: string, topText?: string, options?: { scene?: 'check' | 'send' | 'prepare' })`,
|
|
89
|
+
e.g. `showLoader(true, 'Please wait', 'Sending form data', { scene: 'send' })`;
|
|
90
|
+
each `showLoader(false)` still hides the last shown loader
|
|
91
|
+
- changed: `showSpinner` shows the `prepare` scene
|
|
92
|
+
- changed: loader texts are #1C1C1C (top) and #5A5B62 (bottom) and no longer follow `--color-primary-dark-2`
|
|
93
|
+
and `--color-primary`; they can be recolored with `--color-loader-text` and `--color-loader-text-secondary`
|
|
94
|
+
|
|
83
95
|
- **3.12.1**
|
|
84
96
|
- changed: onnxruntime (model loading and inference) now runs in a separate worker, off the main thread
|
|
85
97
|
|