@regulaforensics/idv-gui 3.8.451 → 3.8.453-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 +43 -2
- package/dist/main.iife.js +3 -3
- package/dist/main.js +1900 -1704
- package/dist/main.umd.cjs +3 -3
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -45,6 +45,11 @@ declare const FontWeight: {
|
|
|
45
45
|
|
|
46
46
|
declare type FontWeight = (typeof FontWeight)[keyof typeof FontWeight];
|
|
47
47
|
|
|
48
|
+
declare type GenericPopup = {
|
|
49
|
+
rootElement: UIRootElement;
|
|
50
|
+
reason: string;
|
|
51
|
+
};
|
|
52
|
+
|
|
48
53
|
export declare class GuiIdv extends BaseModule<GuiModuleProps, GuiModuleConfig> {
|
|
49
54
|
private _mounted;
|
|
50
55
|
private _shadowRoot;
|
|
@@ -61,13 +66,13 @@ export declare class GuiIdv extends BaseModule<GuiModuleProps, GuiModuleConfig>
|
|
|
61
66
|
private render;
|
|
62
67
|
disconnectedCallback(): void;
|
|
63
68
|
static isReady(): boolean;
|
|
64
|
-
static getSupportedTemplates: () => ("INFO" | "INFO_DETAILS" | "STATUS" | "PROGRESS" | "QUESTIONS" | "CAMERA" | "GALLERY" | "GEOLOCATION" | "DEVICE_TRANSFER" | "GENERIC" | "UPLOAD_FILES")[];
|
|
69
|
+
static getSupportedTemplates: () => ("INFO" | "INFO_DETAILS" | "STATUS" | "PROGRESS" | "QUESTIONS" | "CAMERA" | "GALLERY" | "GEOLOCATION" | "DEVICE_TRANSFER" | "GENERIC" | "GENERIC_LOCATION" | "GENERIC_PROGRESS" | "UPLOAD_FILES")[];
|
|
65
70
|
static initialize(_modulesConfig: Record<string, unknown>): void;
|
|
66
71
|
static deinitialize(): void;
|
|
67
72
|
static getIdentifier: () => string;
|
|
68
73
|
}
|
|
69
74
|
|
|
70
|
-
export declare const GuiIdvReactComponent: ({ isProcessing: setIsProcessingCallback, moduleProps, perform, devSettings, }: IdvModuleProps<GuiModuleProps, GuiModuleConfig> & {
|
|
75
|
+
export declare const GuiIdvReactComponent: ({ isProcessing: setIsProcessingCallback, moduleProps, perform, devSettings, idvEventListener, }: IdvModuleProps<GuiModuleProps, GuiModuleConfig> & {
|
|
71
76
|
devSettings?: GuiModuleDevSettings;
|
|
72
77
|
}) => JSX.Element;
|
|
73
78
|
|
|
@@ -82,6 +87,8 @@ export declare const GuiIdvSteps: {
|
|
|
82
87
|
readonly GEOLOCATION: "GEOLOCATION";
|
|
83
88
|
readonly DEVICE_TRANSFER: "DEVICE_TRANSFER";
|
|
84
89
|
readonly GENERIC: "GENERIC";
|
|
90
|
+
readonly GENERIC_LOCATION: "GENERIC_LOCATION";
|
|
91
|
+
readonly GENERIC_PROGRESS: "GENERIC_PROGRESS";
|
|
85
92
|
readonly UPLOAD_FILES: "UPLOAD_FILES";
|
|
86
93
|
};
|
|
87
94
|
|
|
@@ -105,6 +112,7 @@ export declare type GuiModuleDevSettings = {
|
|
|
105
112
|
progressBarRange?: number;
|
|
106
113
|
name?: string;
|
|
107
114
|
serverError?: string;
|
|
115
|
+
size?: number;
|
|
108
116
|
}[];
|
|
109
117
|
};
|
|
110
118
|
};
|
|
@@ -158,6 +166,12 @@ export declare type GuiModuleProps = {
|
|
|
158
166
|
} | {
|
|
159
167
|
templateId: typeof GuiIdvSteps.GENERIC;
|
|
160
168
|
templateLayout: UIGenericScreenClientConfig;
|
|
169
|
+
} | {
|
|
170
|
+
templateId: typeof GuiIdvSteps.GENERIC_PROGRESS;
|
|
171
|
+
templateLayout: UIGenericProgressScreenClientConfig;
|
|
172
|
+
} | {
|
|
173
|
+
templateId: typeof GuiIdvSteps.GENERIC_LOCATION;
|
|
174
|
+
templateLayout: UIGenericLocationScreenClientConfig;
|
|
161
175
|
} | {
|
|
162
176
|
templateId: typeof GuiIdvSteps.UPLOAD_FILES;
|
|
163
177
|
templateLayout: UIUploadFilesScreenClientConfig;
|
|
@@ -231,6 +245,11 @@ declare type JsonObject = {
|
|
|
231
245
|
|
|
232
246
|
declare type JsonValue = string | number | boolean | null | JsonObject | JsonArray;
|
|
233
247
|
|
|
248
|
+
declare type LocationSettings = {
|
|
249
|
+
askEveryTime: boolean;
|
|
250
|
+
getLocationTimeout: number;
|
|
251
|
+
};
|
|
252
|
+
|
|
234
253
|
declare type PerformType = (typeof PerformTypes)[keyof typeof PerformTypes] | undefined;
|
|
235
254
|
|
|
236
255
|
declare const PerformTypes: {
|
|
@@ -351,6 +370,7 @@ declare type UIButton = {
|
|
|
351
370
|
backgroundColor?: string;
|
|
352
371
|
cornerRadius?: number;
|
|
353
372
|
highlightColor?: string;
|
|
373
|
+
hoverColor?: string;
|
|
354
374
|
borderColor?: string;
|
|
355
375
|
borderWidth?: number;
|
|
356
376
|
paddings?: UIPaddings;
|
|
@@ -448,6 +468,9 @@ declare type UIElement = {
|
|
|
448
468
|
} | {
|
|
449
469
|
type: typeof UIElementTypes.SPACER;
|
|
450
470
|
content: WithWeightProp<WithWidthAndHeightProps<UISpacer>>;
|
|
471
|
+
} | {
|
|
472
|
+
type: typeof UIElementTypes.PROGRESS_VIEW;
|
|
473
|
+
content: WithWidthAndHeightProps<UIProgressView>;
|
|
451
474
|
};
|
|
452
475
|
|
|
453
476
|
declare const UIElementTypes: {
|
|
@@ -458,6 +481,7 @@ declare const UIElementTypes: {
|
|
|
458
481
|
readonly COLUMN: "column";
|
|
459
482
|
readonly ROW: "row";
|
|
460
483
|
readonly SPACER: "spacer";
|
|
484
|
+
readonly PROGRESS_VIEW: "progressView";
|
|
461
485
|
};
|
|
462
486
|
|
|
463
487
|
declare type UIFileUploadPopupFilesLimitExceededOnly = UIPopup & {
|
|
@@ -476,6 +500,16 @@ declare type UIGalleryScreenClientConfig = {
|
|
|
476
500
|
selectionLimit?: number;
|
|
477
501
|
};
|
|
478
502
|
|
|
503
|
+
declare type UIGenericLocationScreenClientConfig = {
|
|
504
|
+
rootElement: UIRootElement;
|
|
505
|
+
popups: GenericPopup[];
|
|
506
|
+
settings: LocationSettings;
|
|
507
|
+
};
|
|
508
|
+
|
|
509
|
+
declare type UIGenericProgressScreenClientConfig = {
|
|
510
|
+
rootElement: UIRootElement;
|
|
511
|
+
};
|
|
512
|
+
|
|
479
513
|
declare type UIGenericScreenClientConfig = {
|
|
480
514
|
rootElement: UIRootElement;
|
|
481
515
|
};
|
|
@@ -514,9 +548,15 @@ declare type UIImage = ImageBase & {
|
|
|
514
548
|
};
|
|
515
549
|
|
|
516
550
|
declare type UIImageButton = {
|
|
551
|
+
actionId?: string;
|
|
552
|
+
type?: 'DATA' | 'FORM';
|
|
517
553
|
paddings?: UIPaddings;
|
|
518
554
|
image: UIImage;
|
|
519
555
|
responseBody?: JsonObject;
|
|
556
|
+
backgroundColor?: string;
|
|
557
|
+
highlightColor?: string;
|
|
558
|
+
hoverColor?: string;
|
|
559
|
+
cornerRadius?: number;
|
|
520
560
|
};
|
|
521
561
|
|
|
522
562
|
declare type UIInfoDetailsScreenClientConfig = {
|
|
@@ -651,6 +691,7 @@ declare type UIScaffoldContainer = {
|
|
|
651
691
|
mainColumn?: UIColumn;
|
|
652
692
|
bottomColumn?: UIColumn;
|
|
653
693
|
backgroundColor?: string;
|
|
694
|
+
cornerRadius?: number;
|
|
654
695
|
};
|
|
655
696
|
|
|
656
697
|
declare type UISelectorButtonsQuestion = QuestionItem & {
|