ngx-scandoc 15.1.3 → 15.1.5

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.3",
3
+ "version": "15.1.5",
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;
@@ -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",