@idscan/idvc2 2.12.0 → 2.12.1
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/idvc.js.gzip
CHANGED
|
Binary file
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { LoaderState } from '../ui/Spinner/LoaderUI';
|
|
2
2
|
interface ILoader {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
addState: () => void;
|
|
4
|
+
showLoader: () => void;
|
|
5
|
+
removeState: () => void;
|
|
6
6
|
clearState: () => void;
|
|
7
|
-
|
|
7
|
+
hideLoader: () => void;
|
|
8
8
|
}
|
|
9
9
|
export declare class Loader implements ILoader {
|
|
10
10
|
private ui;
|
|
11
11
|
private stats;
|
|
12
12
|
constructor(mountElement: any, state: LoaderState);
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
addState(bottomText?: string, topText?: string): void;
|
|
14
|
+
removeState(): void;
|
|
15
15
|
clearState(): void;
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
showLoader(): void;
|
|
17
|
+
hideLoader(): void;
|
|
18
18
|
private setText;
|
|
19
19
|
private setVideoLoadingText;
|
|
20
20
|
private statsProcessing;
|
|
@@ -7,18 +7,18 @@ interface DocumentTypeElement {
|
|
|
7
7
|
id: DocumentTypeIndex;
|
|
8
8
|
nName?: string;
|
|
9
9
|
}
|
|
10
|
-
interface
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
10
|
+
interface ILoader {
|
|
11
|
+
addState: () => void;
|
|
12
|
+
showLoader: () => void;
|
|
13
|
+
removeState: () => void;
|
|
14
14
|
clearState: () => void;
|
|
15
|
-
|
|
15
|
+
hideLoader: () => void;
|
|
16
16
|
}
|
|
17
17
|
declare class SelectDocumentType extends Modal {
|
|
18
18
|
elementsList: DocumentTypeElement[];
|
|
19
19
|
private list;
|
|
20
|
-
private
|
|
21
|
-
constructor(componentWrapper: HTMLElement,
|
|
20
|
+
private loader;
|
|
21
|
+
constructor(componentWrapper: HTMLElement, loader: ILoader, modalPositionClass: ModalPositionKeys);
|
|
22
22
|
show(currentDocument: DocumentTypeName | ''): void;
|
|
23
23
|
hide(): void;
|
|
24
24
|
showCancelButton(): void;
|