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.
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ngx-scandoc",
3
- "version": "15.1.4",
3
+ "version": "15.1.6",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^15.2.9",
6
6
  "@angular/core": "^15.2.9",
@@ -23,6 +23,7 @@ export declare class NgxScandocCameraProvider {
23
23
  constructor();
24
24
  get hintPosition(): number;
25
25
  getDevices(): import("rxjs").Observable<any>;
26
+ private preloadVideo;
26
27
  setup(): void;
27
28
  setDefault(): void;
28
29
  selectCamera(event: any): void;
@@ -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;
@@ -1,8 +1,11 @@
1
1
  {
2
2
  "scandoc": {
3
3
  "title": "Ausweis scannen",
4
- "webCam": "Webcam",
5
- "reTake": "Wiederholen",
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.",
@@ -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": "Hold your document steady, movement detected.",
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",
@@ -1,7 +1,11 @@
1
1
  {
2
2
  "scandoc": {
3
3
  "title": "Skeniraj profil",
4
- "webCam": "Web kamera",
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",
@@ -1,7 +1,11 @@
1
1
  {
2
2
  "scandoc": {
3
3
  "title": "Scansione",
4
- "webCam": "Web cam",
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",