metag-sdk-ionic 1.2.7-dev-0.58 → 1.2.7-dev-0.60
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/dist/src/app/pages/id-vision/components/camara-video-selfie/camara-video-selfie.component.js +405 -405
- package/dist/src/app/pages/id-vision/components/direct-photo-selfie/direct-photo-selfie.component.d.ts +37 -37
- package/dist/src/app/pages/id-vision/components/direct-photo-selfie/direct-photo-selfie.component.js +204 -204
- package/dist/src/app/pages/id-vision/components/photo-selfie-camera/photo-selfie-camera.component.d.ts +48 -48
- package/dist/src/app/pages/id-vision/components/photo-selfie-camera/photo-selfie-camera.component.js +261 -261
- package/dist/src/app/pages/id-vision/components/simple-acuerdo-video/simple-acuerdo-video.component.js +480 -480
- package/dist/src/app/pages/id-vision/id-vision.component.d.ts +122 -122
- package/dist/src/app/pages/id-vision/id-vision.component.js +1414 -1409
- package/dist/src/app/pages/id-vision/id-vision.component.js.map +1 -1
- package/dist/src/app/pages/id-vision/services/modal-services/sdk-communication-services.js +21 -21
- package/package.json +1 -1
|
@@ -1,122 +1,122 @@
|
|
|
1
|
-
import { AfterViewInit, ChangeDetectorRef, OnDestroy, OnInit, ElementRef } from '@angular/core';
|
|
2
|
-
import { AlertController, IonInput, LoadingController, ModalController, NavController, Platform, ToastController } from '@ionic/angular';
|
|
3
|
-
import { ModalDpiServices } from './services/modal-services/modal-dpi-services';
|
|
4
|
-
import { SdkCommunicationService } from './services/modal-services/sdk-communication-services';
|
|
5
|
-
import { SwiperContainer } from '../../../swiper-wrapper';
|
|
6
|
-
import { ConfigurationService, ConfigEnvironment, ValidationConfig } from './services/configuration/configuration.service';
|
|
7
|
-
import { ValidationService, MetaGValidation, StepVisibility } from './services/validation/validation.service';
|
|
8
|
-
import { NavigationService } from './services/navigation/navigation.service';
|
|
9
|
-
import { ProcessingService } from './services/processing/processing.service';
|
|
10
|
-
import { DpiService } from './services/dpi/dpi-service.service';
|
|
11
|
-
import * as i0 from "@angular/core";
|
|
12
|
-
export declare class IdVisionComponent implements OnInit, AfterViewInit, OnDestroy {
|
|
13
|
-
private modalController;
|
|
14
|
-
private alertController;
|
|
15
|
-
private platform;
|
|
16
|
-
private modalDpiServices;
|
|
17
|
-
private sdkCommunicationService;
|
|
18
|
-
private navController;
|
|
19
|
-
private cdRef;
|
|
20
|
-
private toastController;
|
|
21
|
-
private loadingController;
|
|
22
|
-
private configurationService;
|
|
23
|
-
private validationService;
|
|
24
|
-
private navigationService;
|
|
25
|
-
private processingService;
|
|
26
|
-
private dpiService;
|
|
27
|
-
dpi: IonInput;
|
|
28
|
-
swiperContainerRef?: ElementRef;
|
|
29
|
-
private isAndroid;
|
|
30
|
-
private isIOS;
|
|
31
|
-
tutoImage1: string;
|
|
32
|
-
tutoImage2: string;
|
|
33
|
-
tutoImage3: string;
|
|
34
|
-
tutoImage4: string;
|
|
35
|
-
isSwipe: boolean;
|
|
36
|
-
dpiCode: string;
|
|
37
|
-
connection: string;
|
|
38
|
-
apikey: string;
|
|
39
|
-
env: string;
|
|
40
|
-
validationConfig: ValidationConfig[];
|
|
41
|
-
swiperElement: import("@angular/core").WritableSignal<SwiperContainer | null>;
|
|
42
|
-
private modalRef;
|
|
43
|
-
showDebug: boolean;
|
|
44
|
-
versionSDK: string;
|
|
45
|
-
hasInternet: boolean;
|
|
46
|
-
simpleProcess: boolean;
|
|
47
|
-
typeProccess: string;
|
|
48
|
-
private boundOnBackButton;
|
|
49
|
-
private boundOnBeforeUnload;
|
|
50
|
-
private boundOnPopState;
|
|
51
|
-
private backButtonListenerActive;
|
|
52
|
-
validateMetaG: MetaGValidation;
|
|
53
|
-
stepVisibility: StepVisibility;
|
|
54
|
-
isValid: boolean;
|
|
55
|
-
configEnv: ConfigEnvironment;
|
|
56
|
-
private loadingElement;
|
|
57
|
-
constructor(modalController: ModalController, alertController: AlertController, platform: Platform, modalDpiServices: ModalDpiServices, sdkCommunicationService: SdkCommunicationService, navController: NavController, cdRef: ChangeDetectorRef, toastController: ToastController, loadingController: LoadingController, configurationService: ConfigurationService, validationService: ValidationService, navigationService: NavigationService, processingService: ProcessingService, dpiService: DpiService);
|
|
58
|
-
ngOnInit(): Promise<void>;
|
|
59
|
-
ngAfterViewInit(): void;
|
|
60
|
-
ngOnDestroy(): Promise<void>;
|
|
61
|
-
private handleCancelProcess;
|
|
62
|
-
private showCancelConfirmationModal;
|
|
63
|
-
private disableBackButton;
|
|
64
|
-
private enableBackButton;
|
|
65
|
-
private onBeforeUnload;
|
|
66
|
-
private onPopState;
|
|
67
|
-
getURL(environment?: string): Promise<ConfigEnvironment>;
|
|
68
|
-
private getSDKVersion;
|
|
69
|
-
showLoading(message?: string): Promise<void>;
|
|
70
|
-
hideLoading(): Promise<void>;
|
|
71
|
-
private simulateLoadingProgress;
|
|
72
|
-
private loadSimpleProcessConfig;
|
|
73
|
-
private loadNormalProcessConfig;
|
|
74
|
-
loadMockValidationConfig(): Promise<void>;
|
|
75
|
-
setValidationConfig(): void;
|
|
76
|
-
getStepAction(type: number): () => void;
|
|
77
|
-
private getSlideIndexForType;
|
|
78
|
-
handleClick(): void;
|
|
79
|
-
handleSlide(slide: number): Promise<void>;
|
|
80
|
-
handleGetInit(): void;
|
|
81
|
-
handleNext(): void;
|
|
82
|
-
handleSkipTutorial(): void;
|
|
83
|
-
moveToNextStep(currentType: number): void;
|
|
84
|
-
handleExit(): void;
|
|
85
|
-
handleExitWithResult(result: boolean, source?: string): Promise<void>;
|
|
86
|
-
InitProccess(): Promise<void>;
|
|
87
|
-
private executeFirstAvailableAction;
|
|
88
|
-
private executeNextActionForSimpleProcess;
|
|
89
|
-
private getValidationKeyForType;
|
|
90
|
-
private handleInitProcessError;
|
|
91
|
-
DpiFrontProccess(filePath: File): Promise<void>;
|
|
92
|
-
DpiBackProccess(filePath: File): Promise<void>;
|
|
93
|
-
VideoSelfieProcccess(file: File): Promise<void>;
|
|
94
|
-
photoVideoSelfieFile(filePath: File): Promise<void>;
|
|
95
|
-
getAcuerdoVideo(file: File): Promise<void>;
|
|
96
|
-
private setupModalSubscriptions;
|
|
97
|
-
closeModalFromParent(): void;
|
|
98
|
-
closeModalVideoSelfie(): void;
|
|
99
|
-
closeModalAcuerdoVideo(): void;
|
|
100
|
-
resumePhotoFromParent(): void;
|
|
101
|
-
resumeCameraFromParent(): void;
|
|
102
|
-
closePhotoSelfieFromParent(): void;
|
|
103
|
-
closeOverlay(): Promise<void>;
|
|
104
|
-
closeModalOverlay(): Promise<void>;
|
|
105
|
-
closePhotoSelfie(): Promise<void>;
|
|
106
|
-
openCameraOverlayFrontal(): Promise<void>;
|
|
107
|
-
openCameraOverlayTrasero(): Promise<void>;
|
|
108
|
-
openVideoSelfie(): Promise<void>;
|
|
109
|
-
openPhotoSelfie(): Promise<void>;
|
|
110
|
-
openDirectPhotoSelfie(): Promise<void>;
|
|
111
|
-
openAcuerdoVideo(): Promise<void>;
|
|
112
|
-
openSimpleAcuerdo(): Promise<void>;
|
|
113
|
-
validateDPIFront(filePath: File): Promise<boolean>;
|
|
114
|
-
validateDPIBack(filePath: File): Promise<boolean>;
|
|
115
|
-
getBackModal(file: File): Promise<void>;
|
|
116
|
-
convertImagePathToFile(imagePath: string, fileName: string): Promise<File>;
|
|
117
|
-
private showAlert;
|
|
118
|
-
copyProccess(): Promise<void>;
|
|
119
|
-
copiarTexto(texto: string): Promise<void>;
|
|
120
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IdVisionComponent, never>;
|
|
121
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<IdVisionComponent, "app-id-vision", never, { "isSwipe": { "alias": "isSwipe"; "required": false; }; "dpiCode": { "alias": "dpiCode"; "required": false; }; "connection": { "alias": "connection"; "required": false; }; "apikey": { "alias": "apikey"; "required": false; }; "env": { "alias": "env"; "required": false; }; "validationConfig": { "alias": "validationConfig"; "required": false; }; }, {}, never, never, true, never>;
|
|
122
|
-
}
|
|
1
|
+
import { AfterViewInit, ChangeDetectorRef, OnDestroy, OnInit, ElementRef } from '@angular/core';
|
|
2
|
+
import { AlertController, IonInput, LoadingController, ModalController, NavController, Platform, ToastController } from '@ionic/angular';
|
|
3
|
+
import { ModalDpiServices } from './services/modal-services/modal-dpi-services';
|
|
4
|
+
import { SdkCommunicationService } from './services/modal-services/sdk-communication-services';
|
|
5
|
+
import { SwiperContainer } from '../../../swiper-wrapper';
|
|
6
|
+
import { ConfigurationService, ConfigEnvironment, ValidationConfig } from './services/configuration/configuration.service';
|
|
7
|
+
import { ValidationService, MetaGValidation, StepVisibility } from './services/validation/validation.service';
|
|
8
|
+
import { NavigationService } from './services/navigation/navigation.service';
|
|
9
|
+
import { ProcessingService } from './services/processing/processing.service';
|
|
10
|
+
import { DpiService } from './services/dpi/dpi-service.service';
|
|
11
|
+
import * as i0 from "@angular/core";
|
|
12
|
+
export declare class IdVisionComponent implements OnInit, AfterViewInit, OnDestroy {
|
|
13
|
+
private modalController;
|
|
14
|
+
private alertController;
|
|
15
|
+
private platform;
|
|
16
|
+
private modalDpiServices;
|
|
17
|
+
private sdkCommunicationService;
|
|
18
|
+
private navController;
|
|
19
|
+
private cdRef;
|
|
20
|
+
private toastController;
|
|
21
|
+
private loadingController;
|
|
22
|
+
private configurationService;
|
|
23
|
+
private validationService;
|
|
24
|
+
private navigationService;
|
|
25
|
+
private processingService;
|
|
26
|
+
private dpiService;
|
|
27
|
+
dpi: IonInput;
|
|
28
|
+
swiperContainerRef?: ElementRef;
|
|
29
|
+
private isAndroid;
|
|
30
|
+
private isIOS;
|
|
31
|
+
tutoImage1: string;
|
|
32
|
+
tutoImage2: string;
|
|
33
|
+
tutoImage3: string;
|
|
34
|
+
tutoImage4: string;
|
|
35
|
+
isSwipe: boolean;
|
|
36
|
+
dpiCode: string;
|
|
37
|
+
connection: string;
|
|
38
|
+
apikey: string;
|
|
39
|
+
env: string;
|
|
40
|
+
validationConfig: ValidationConfig[];
|
|
41
|
+
swiperElement: import("@angular/core").WritableSignal<SwiperContainer | null>;
|
|
42
|
+
private modalRef;
|
|
43
|
+
showDebug: boolean;
|
|
44
|
+
versionSDK: string;
|
|
45
|
+
hasInternet: boolean;
|
|
46
|
+
simpleProcess: boolean;
|
|
47
|
+
typeProccess: string;
|
|
48
|
+
private boundOnBackButton;
|
|
49
|
+
private boundOnBeforeUnload;
|
|
50
|
+
private boundOnPopState;
|
|
51
|
+
private backButtonListenerActive;
|
|
52
|
+
validateMetaG: MetaGValidation;
|
|
53
|
+
stepVisibility: StepVisibility;
|
|
54
|
+
isValid: boolean;
|
|
55
|
+
configEnv: ConfigEnvironment;
|
|
56
|
+
private loadingElement;
|
|
57
|
+
constructor(modalController: ModalController, alertController: AlertController, platform: Platform, modalDpiServices: ModalDpiServices, sdkCommunicationService: SdkCommunicationService, navController: NavController, cdRef: ChangeDetectorRef, toastController: ToastController, loadingController: LoadingController, configurationService: ConfigurationService, validationService: ValidationService, navigationService: NavigationService, processingService: ProcessingService, dpiService: DpiService);
|
|
58
|
+
ngOnInit(): Promise<void>;
|
|
59
|
+
ngAfterViewInit(): void;
|
|
60
|
+
ngOnDestroy(): Promise<void>;
|
|
61
|
+
private handleCancelProcess;
|
|
62
|
+
private showCancelConfirmationModal;
|
|
63
|
+
private disableBackButton;
|
|
64
|
+
private enableBackButton;
|
|
65
|
+
private onBeforeUnload;
|
|
66
|
+
private onPopState;
|
|
67
|
+
getURL(environment?: string): Promise<ConfigEnvironment>;
|
|
68
|
+
private getSDKVersion;
|
|
69
|
+
showLoading(message?: string): Promise<void>;
|
|
70
|
+
hideLoading(): Promise<void>;
|
|
71
|
+
private simulateLoadingProgress;
|
|
72
|
+
private loadSimpleProcessConfig;
|
|
73
|
+
private loadNormalProcessConfig;
|
|
74
|
+
loadMockValidationConfig(): Promise<void>;
|
|
75
|
+
setValidationConfig(): void;
|
|
76
|
+
getStepAction(type: number): () => void;
|
|
77
|
+
private getSlideIndexForType;
|
|
78
|
+
handleClick(): void;
|
|
79
|
+
handleSlide(slide: number): Promise<void>;
|
|
80
|
+
handleGetInit(): void;
|
|
81
|
+
handleNext(): void;
|
|
82
|
+
handleSkipTutorial(): void;
|
|
83
|
+
moveToNextStep(currentType: number): void;
|
|
84
|
+
handleExit(): void;
|
|
85
|
+
handleExitWithResult(result: boolean, source?: string): Promise<void>;
|
|
86
|
+
InitProccess(): Promise<void>;
|
|
87
|
+
private executeFirstAvailableAction;
|
|
88
|
+
private executeNextActionForSimpleProcess;
|
|
89
|
+
private getValidationKeyForType;
|
|
90
|
+
private handleInitProcessError;
|
|
91
|
+
DpiFrontProccess(filePath: File): Promise<void>;
|
|
92
|
+
DpiBackProccess(filePath: File): Promise<void>;
|
|
93
|
+
VideoSelfieProcccess(file: File): Promise<void>;
|
|
94
|
+
photoVideoSelfieFile(filePath: File): Promise<void>;
|
|
95
|
+
getAcuerdoVideo(file: File): Promise<void>;
|
|
96
|
+
private setupModalSubscriptions;
|
|
97
|
+
closeModalFromParent(): void;
|
|
98
|
+
closeModalVideoSelfie(): void;
|
|
99
|
+
closeModalAcuerdoVideo(): void;
|
|
100
|
+
resumePhotoFromParent(): void;
|
|
101
|
+
resumeCameraFromParent(): void;
|
|
102
|
+
closePhotoSelfieFromParent(): void;
|
|
103
|
+
closeOverlay(): Promise<void>;
|
|
104
|
+
closeModalOverlay(): Promise<void>;
|
|
105
|
+
closePhotoSelfie(): Promise<void>;
|
|
106
|
+
openCameraOverlayFrontal(): Promise<void>;
|
|
107
|
+
openCameraOverlayTrasero(): Promise<void>;
|
|
108
|
+
openVideoSelfie(): Promise<void>;
|
|
109
|
+
openPhotoSelfie(): Promise<void>;
|
|
110
|
+
openDirectPhotoSelfie(): Promise<void>;
|
|
111
|
+
openAcuerdoVideo(): Promise<void>;
|
|
112
|
+
openSimpleAcuerdo(): Promise<void>;
|
|
113
|
+
validateDPIFront(filePath: File): Promise<boolean>;
|
|
114
|
+
validateDPIBack(filePath: File): Promise<boolean>;
|
|
115
|
+
getBackModal(file: File): Promise<void>;
|
|
116
|
+
convertImagePathToFile(imagePath: string, fileName: string): Promise<File>;
|
|
117
|
+
private showAlert;
|
|
118
|
+
copyProccess(): Promise<void>;
|
|
119
|
+
copiarTexto(texto: string): Promise<void>;
|
|
120
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IdVisionComponent, never>;
|
|
121
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IdVisionComponent, "app-id-vision", never, { "isSwipe": { "alias": "isSwipe"; "required": false; }; "dpiCode": { "alias": "dpiCode"; "required": false; }; "connection": { "alias": "connection"; "required": false; }; "apikey": { "alias": "apikey"; "required": false; }; "env": { "alias": "env"; "required": false; }; "validationConfig": { "alias": "validationConfig"; "required": false; }; }, {}, never, never, true, never>;
|
|
122
|
+
}
|