ngx-scandoc 15.1.4 → 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.
- 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/en.json +1 -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/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",
|