ngx-scandoc 15.1.4 → 15.1.6
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/core/components/scan/scan.component.d.ts +2 -0
- package/core/components/webcam/domain/webcam-image.d.ts +1 -1
- package/core/components/webcam/webcam/webcam.component.d.ts +3 -0
- package/esm2020/core/components/scan/scan.component.mjs +52 -34
- package/esm2020/core/components/webcam/domain/webcam-image.mjs +1 -1
- package/esm2020/core/components/webcam/webcam/webcam.component.mjs +150 -29
- package/esm2020/dialogs/components/confirm/confirm.component.mjs +2 -2
- package/esm2020/dialogs/components/scan-profile/scan-profile.component.mjs +2 -2
- package/esm2020/dialogs/components/scan-selfie/scan-selfie.component.mjs +2 -2
- package/esm2020/lib/ngx-scandoc.module.mjs +8 -5
- package/esm2020/providers/camera.provider.mjs +14 -6
- package/esm2020/providers/translation.provider.mjs +14 -12
- package/fesm2015/ngx-scandoc.mjs +243 -137
- package/fesm2015/ngx-scandoc.mjs.map +1 -1
- package/fesm2020/ngx-scandoc.mjs +242 -137
- package/fesm2020/ngx-scandoc.mjs.map +1 -1
- package/lib/ngx-scandoc.module.d.ts +1 -0
- package/package.json +1 -1
- package/providers/camera.provider.d.ts +1 -0
- package/providers/translation.provider.d.ts +1 -1
- package/src/assets/i18n/de.json +5 -2
- package/src/assets/i18n/en.json +1 -1
- package/src/assets/i18n/hr.json +5 -1
- package/src/assets/i18n/it.json +5 -1
|
@@ -4,6 +4,7 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
import * as i1 from "../dialogs/dialogs.module";
|
|
5
5
|
export declare class NgxScandocModule {
|
|
6
6
|
static forRoot(config: ScanDataConfig): ModuleWithProviders<NgxScandocModule>;
|
|
7
|
+
constructor();
|
|
7
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<NgxScandocModule, never>;
|
|
8
9
|
static ɵmod: i0.ɵɵNgModuleDeclaration<NgxScandocModule, never, [typeof i1.DialogsModule], [typeof i1.DialogsModule]>;
|
|
9
10
|
static ɵinj: i0.ɵɵInjectorDeclaration<NgxScandocModule>;
|
package/package.json
CHANGED
|
@@ -14,9 +14,9 @@ export declare class NgxScanDocTranslationProvider {
|
|
|
14
14
|
defaultLang: string;
|
|
15
15
|
userLang: string;
|
|
16
16
|
private customLoader;
|
|
17
|
-
private config;
|
|
18
17
|
constructor(translate: TranslateService, injector: Injector, providers: TranslationProvider[], platformLocation: PlatformLocation);
|
|
19
18
|
private path;
|
|
19
|
+
setDefaultLang(lang: string): void;
|
|
20
20
|
addTranslationFolder(name?: string, path?: string): void;
|
|
21
21
|
loadTranslation(lang: string, fallback?: string, useLang?: boolean): void;
|
|
22
22
|
private updateTranslation;
|
package/src/assets/i18n/de.json
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"scandoc": {
|
|
3
3
|
"title": "Ausweis scannen",
|
|
4
|
-
"
|
|
5
|
-
"
|
|
4
|
+
"cancel": "Abbrechen",
|
|
5
|
+
"ok": "Ok",
|
|
6
|
+
"confirm": "Bestätigen",
|
|
7
|
+
"manual": "Möchten Sie das Bild manuell erfassen/hochladen?",
|
|
8
|
+
"camera": "Webcam",
|
|
6
9
|
"useData": "Daten verwenden",
|
|
7
10
|
"unableToDetectId": "Ich kann die ID nicht erkennen",
|
|
8
11
|
"placeIdCloseToDevice": "Halten Sie das Dokument in die Nähe des Gerätes.",
|
package/src/assets/i18n/en.json
CHANGED
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"c1000": "Extraction",
|
|
48
48
|
"c1001": "Image too blurry. Please focus your camera.",
|
|
49
49
|
"c1002": "Cannot detect document, all four corners of the document should be visible.",
|
|
50
|
-
"c1003": "
|
|
50
|
+
"c1003": "No document detected",
|
|
51
51
|
"c1004": "Captured document is at an angle. Please correct the document angle.",
|
|
52
52
|
"c1005": "Captured document is too small. Please move it closer to the camera.",
|
|
53
53
|
"c1006": "Document not supported",
|
package/src/assets/i18n/hr.json
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"scandoc": {
|
|
3
3
|
"title": "Skeniraj profil",
|
|
4
|
-
"
|
|
4
|
+
"camera": "Web kamera",
|
|
5
|
+
"cancel": "Odustani",
|
|
6
|
+
"ok": "Ok",
|
|
7
|
+
"confirm": "Potvrdi",
|
|
8
|
+
"manual": "Želite li ručno snimiti/uploadati sliku?",
|
|
5
9
|
"reTake": "Ponovno skeniranje",
|
|
6
10
|
"useData": "Koristi podatke",
|
|
7
11
|
"unableToDetectId": "Nije moguće detektirati dokument",
|
package/src/assets/i18n/it.json
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"scandoc": {
|
|
3
3
|
"title": "Scansione",
|
|
4
|
-
"
|
|
4
|
+
"cancel": "Annulla",
|
|
5
|
+
"ok": "OK",
|
|
6
|
+
"confirm": "Confermare",
|
|
7
|
+
"manual": "Vuoi acquisire/caricare un'immagine manualmente?",
|
|
8
|
+
"camera": "Web cam",
|
|
5
9
|
"reTake": "Riscatta",
|
|
6
10
|
"useData": "Usa Dati",
|
|
7
11
|
"unableToDetectId": "Non è possibile rilevare documento",
|