@regulaforensics/idv-document 3.6.336-nightly → 3.6.338-rc
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 +27 -0
- package/dist/main.iife.js +77 -49
- package/dist/main.js +8878 -8656
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -134,6 +134,13 @@ declare type DocumentReaderProps = {
|
|
|
134
134
|
resultStatusTextFontName?: string;
|
|
135
135
|
activityIndicatorSize?: number;
|
|
136
136
|
cameraPreviewBackgroundColor?: string;
|
|
137
|
+
containerCloseButtonImage?: IdvAsset;
|
|
138
|
+
menuFromCameraButtonImage?: IdvAsset;
|
|
139
|
+
menuFromGalleryButtonImage?: IdvAsset;
|
|
140
|
+
menuFromMobileButtonImage?: IdvAsset;
|
|
141
|
+
controlsProcessCloseButtonImage?: IdvAsset;
|
|
142
|
+
controlsChangeCameraButtonImage?: IdvAsset;
|
|
143
|
+
infoTryAgainButtonImage?: IdvAsset;
|
|
137
144
|
};
|
|
138
145
|
copyright?: boolean;
|
|
139
146
|
tag?: string;
|
|
@@ -143,6 +150,7 @@ declare type DocumentReaderProps = {
|
|
|
143
150
|
locale?: string;
|
|
144
151
|
backgroundColor?: string;
|
|
145
152
|
stepType?: string;
|
|
153
|
+
preloadAssetsRequired?: boolean;
|
|
146
154
|
failedAssets?: FailedAssets;
|
|
147
155
|
};
|
|
148
156
|
|
|
@@ -152,6 +160,10 @@ declare type FailedAssets = {
|
|
|
152
160
|
blockingAssets: Set<string>;
|
|
153
161
|
};
|
|
154
162
|
|
|
163
|
+
declare type IdvAsset = {
|
|
164
|
+
idvAsset: ImageLike;
|
|
165
|
+
};
|
|
166
|
+
|
|
155
167
|
declare type IdvModuleProps<TModuleProps, TModulesConfig> = {
|
|
156
168
|
isProcessing?: (isProcessing: boolean) => void;
|
|
157
169
|
moduleProps: TModuleProps;
|
|
@@ -161,6 +173,21 @@ declare type IdvModuleProps<TModuleProps, TModulesConfig> = {
|
|
|
161
173
|
nonce?: string;
|
|
162
174
|
};
|
|
163
175
|
|
|
176
|
+
declare type ImageBase = {
|
|
177
|
+
imageURL?: string;
|
|
178
|
+
imageId?: string;
|
|
179
|
+
base64?: string;
|
|
180
|
+
prepareRequired?: boolean;
|
|
181
|
+
failurePolicy?: ImageFailurePolicy;
|
|
182
|
+
timeout?: number;
|
|
183
|
+
};
|
|
184
|
+
|
|
185
|
+
declare type ImageFailurePolicy = 'ignore' | 'placeholderImage' | 'error';
|
|
186
|
+
|
|
187
|
+
declare type ImageLike = ImageBase & {
|
|
188
|
+
placeholderImage?: ImageLike;
|
|
189
|
+
};
|
|
190
|
+
|
|
164
191
|
export declare enum ModuleType {
|
|
165
192
|
BarcodeMRZ = "BarcodeMRZ",
|
|
166
193
|
BoundsLite = "BoundsLite"
|