@regulaforensics/idv-capture-web 3.2.253-nightly → 3.2.254-nightly
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/index.d.ts +12 -5
- package/dist/main.iife.js +19 -19
- package/dist/main.js +2462 -2397
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -242,7 +242,7 @@ declare type IdvBusinessLogicControllerProps = {
|
|
|
242
242
|
setProcessingTemplate: (workflowSteps: any[]) => void;
|
|
243
243
|
isProcessing: boolean;
|
|
244
244
|
setIsProcessing: (isProcessing: boolean) => void;
|
|
245
|
-
_pushStep: (stepId: string, data: Record<string, any
|
|
245
|
+
_pushStep: (stepId: string, data: Record<string, any>, type?: PerformType) => Promise<{
|
|
246
246
|
error?: BaseWorkflowError;
|
|
247
247
|
}>;
|
|
248
248
|
_waitingForNextStep: () => Promise<{
|
|
@@ -255,7 +255,7 @@ declare type IdvBusinessLogicControllerProps = {
|
|
|
255
255
|
_stepSocketListenerWhenStepIsRunning: (isStepRunning: boolean) => void;
|
|
256
256
|
_getSessionStateNextStepConditionResult: () => Promise<GetSessionStateNextStepConditionResult>;
|
|
257
257
|
_findStepById: (stepId: string) => WorkflowStep | null;
|
|
258
|
-
pushStepWaitNextStepAndSet: (data: Record<string, any
|
|
258
|
+
pushStepWaitNextStepAndSet: (data: Record<string, any>, type?: PerformType) => void;
|
|
259
259
|
setNextStep: (workflow: Workflow, properties: SessionPropertiesItem[], nextStepId: string) => void;
|
|
260
260
|
onChangeScreen: (stepId: string | null) => void;
|
|
261
261
|
deinitializationIdv: () => Promise<{
|
|
@@ -363,7 +363,7 @@ declare class IdvFetchService {
|
|
|
363
363
|
code: FetchResultCode.SUCCESS;
|
|
364
364
|
data: Workflow;
|
|
365
365
|
} | FetchErrorResult>;
|
|
366
|
-
pushData(stepId: string, data: any): Promise<{
|
|
366
|
+
pushData(stepId: string, data: any, type?: PerformType): Promise<{
|
|
367
367
|
code: FetchResultCode.SUCCESS;
|
|
368
368
|
data: Record<string, unknown>;
|
|
369
369
|
} | FetchErrorResult>;
|
|
@@ -441,7 +441,7 @@ export declare type IdvModuleProps<TModuleProps, TModulesConfig> = {
|
|
|
441
441
|
isProcessing?: (isProcessing: boolean) => void;
|
|
442
442
|
moduleProps: TModuleProps;
|
|
443
443
|
modulesConfig?: TModulesConfig;
|
|
444
|
-
perform: (data: any) => void;
|
|
444
|
+
perform: (data: any, type?: PerformType) => void;
|
|
445
445
|
idvEventListener: (module: string, data: any) => void;
|
|
446
446
|
};
|
|
447
447
|
|
|
@@ -523,7 +523,7 @@ export declare class IdvWebComponent extends LitElement {
|
|
|
523
523
|
constructor();
|
|
524
524
|
_listenerFromModule: (module: string, data: any) => void;
|
|
525
525
|
_isProcessingCallback: (isProcessing: boolean) => void;
|
|
526
|
-
_performFromModule: (data: any) => void;
|
|
526
|
+
_performFromModule: (data: any, type?: PerformType) => void;
|
|
527
527
|
_processingScreen(): HTMLElement | TemplateResult<1>;
|
|
528
528
|
private _isTheSameModuleAndScreen;
|
|
529
529
|
_currentScreen(): HTMLElement | typeof nothing;
|
|
@@ -560,6 +560,13 @@ declare type LoadedModule = {
|
|
|
560
560
|
|
|
561
561
|
export declare type ModuleClass<TModuleProps = unknown, TModulesConfig = unknown> = IdvModuleStaticMethods & (new (...args: any[]) => BaseModule<TModuleProps, TModulesConfig>);
|
|
562
562
|
|
|
563
|
+
declare type PerformType = (typeof performType)[keyof typeof performType] | undefined;
|
|
564
|
+
|
|
565
|
+
declare const performType: {
|
|
566
|
+
readonly FORM: "form";
|
|
567
|
+
readonly DATA: "data";
|
|
568
|
+
};
|
|
569
|
+
|
|
563
570
|
export declare type PrepareWorkflowCompletion = {
|
|
564
571
|
workflow?: Workflow;
|
|
565
572
|
error?: BasePrepareWorkflowError;
|