@regulaforensics/idv-gui 2.5.183-nightly → 2.5.185-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 +31 -12
- package/dist/main.iife.js +76 -0
- package/dist/main.js +11949 -5781
- package/dist/main.umd.cjs +76 -0
- package/package.json +4 -7
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
declare abstract class BaseModule<TModuleProps = unknown, TModulesConfig = unknown> extends HTMLElement {
|
|
2
|
+
abstract props: IdvModuleProps<TModuleProps, TModulesConfig> | null;
|
|
3
|
+
abstract setProps(config: IdvModuleProps<TModuleProps, TModulesConfig>): void;
|
|
4
|
+
}
|
|
5
|
+
|
|
1
6
|
declare const ContentMode: {
|
|
2
7
|
readonly ASPECT_FILL: "ASPECT_FILL";
|
|
3
8
|
readonly ASPECT_FIT: "ASPECT_FIT";
|
|
@@ -24,9 +29,27 @@ declare type DropdownControl = {
|
|
|
24
29
|
expandButton?: UIImage;
|
|
25
30
|
};
|
|
26
31
|
|
|
27
|
-
declare
|
|
32
|
+
declare class GuiIdv extends BaseModule<GuiModuleProps, GuiModuleConfig> {
|
|
33
|
+
private _root;
|
|
34
|
+
private _mounted;
|
|
35
|
+
props: IdvModuleProps<GuiModuleProps, GuiModuleConfig> | null;
|
|
36
|
+
constructor();
|
|
37
|
+
static displayName: string;
|
|
38
|
+
setProps(props: IdvModuleProps<GuiModuleProps, GuiModuleConfig>): void;
|
|
39
|
+
connectedCallback(): void;
|
|
40
|
+
private render;
|
|
41
|
+
disconnectedCallback(): void;
|
|
42
|
+
static isReady(): boolean;
|
|
43
|
+
static getSupportedTemplates: () => ("INFO" | "INFO_DETAILS" | "STATUS" | "PROGRESS" | "QUESTIONS")[];
|
|
44
|
+
static initialize(modulesConfig: Record<string, unknown>): void;
|
|
45
|
+
static deinitialize(): void;
|
|
46
|
+
static getIdentifier: () => string;
|
|
47
|
+
}
|
|
48
|
+
export { GuiIdv }
|
|
28
49
|
export default GuiIdv;
|
|
29
50
|
|
|
51
|
+
export declare const GuiIdvReactComponent: React.FC<IdvModuleProps<GuiModuleProps | GuiModulePropsUnknown, GuiModuleConfig>>;
|
|
52
|
+
|
|
30
53
|
export declare const GuiIdvSteps: {
|
|
31
54
|
readonly INFO: "INFO";
|
|
32
55
|
readonly INFO_DETAILS: "INFO_DETAILS";
|
|
@@ -37,6 +60,10 @@ export declare const GuiIdvSteps: {
|
|
|
37
60
|
|
|
38
61
|
export declare type GuiIdvSteps = (typeof GuiIdvSteps)[keyof typeof GuiIdvSteps];
|
|
39
62
|
|
|
63
|
+
export declare const GuiIdvStyleInjectionWrapper: React.FC<{
|
|
64
|
+
children: React.ReactNode;
|
|
65
|
+
}>;
|
|
66
|
+
|
|
40
67
|
declare type GuiModuleConfig = Record<string, any>;
|
|
41
68
|
|
|
42
69
|
export declare const GuiModuleError: {
|
|
@@ -106,18 +133,10 @@ export declare const IDV_UI_ICONS: {
|
|
|
106
133
|
|
|
107
134
|
export declare type IDV_UI_ICONS = (typeof IDV_UI_ICONS)[keyof typeof IDV_UI_ICONS];
|
|
108
135
|
|
|
109
|
-
declare type
|
|
110
|
-
isReady: () => boolean;
|
|
111
|
-
getSupportedTemplates: () => string[];
|
|
112
|
-
getIdentifier: () => string;
|
|
113
|
-
initialize: (modulesConfig: Record<string, any>) => void;
|
|
114
|
-
deinitialize?: () => void;
|
|
115
|
-
};
|
|
116
|
-
|
|
117
|
-
declare type IdvModuleProps<T, R> = {
|
|
136
|
+
declare type IdvModuleProps<TModuleProps, TModulesConfig> = {
|
|
118
137
|
isProcessing?: (isProcessing: boolean) => void;
|
|
119
|
-
moduleProps:
|
|
120
|
-
modulesConfig?:
|
|
138
|
+
moduleProps: TModuleProps;
|
|
139
|
+
modulesConfig?: TModulesConfig;
|
|
121
140
|
perform: (data: any) => void;
|
|
122
141
|
idvEventListener: (module: string, data: any) => void;
|
|
123
142
|
};
|