@regulaforensics/idv-gui 3.8.452-nightly → 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 +41 -1
- package/dist/main.iife.js +3 -3
- package/dist/main.js +1505 -1312
- 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,7 +66,7 @@ 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;
|
|
@@ -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
|
|
|
@@ -159,6 +166,12 @@ export declare type GuiModuleProps = {
|
|
|
159
166
|
} | {
|
|
160
167
|
templateId: typeof GuiIdvSteps.GENERIC;
|
|
161
168
|
templateLayout: UIGenericScreenClientConfig;
|
|
169
|
+
} | {
|
|
170
|
+
templateId: typeof GuiIdvSteps.GENERIC_PROGRESS;
|
|
171
|
+
templateLayout: UIGenericProgressScreenClientConfig;
|
|
172
|
+
} | {
|
|
173
|
+
templateId: typeof GuiIdvSteps.GENERIC_LOCATION;
|
|
174
|
+
templateLayout: UIGenericLocationScreenClientConfig;
|
|
162
175
|
} | {
|
|
163
176
|
templateId: typeof GuiIdvSteps.UPLOAD_FILES;
|
|
164
177
|
templateLayout: UIUploadFilesScreenClientConfig;
|
|
@@ -232,6 +245,11 @@ declare type JsonObject = {
|
|
|
232
245
|
|
|
233
246
|
declare type JsonValue = string | number | boolean | null | JsonObject | JsonArray;
|
|
234
247
|
|
|
248
|
+
declare type LocationSettings = {
|
|
249
|
+
askEveryTime: boolean;
|
|
250
|
+
getLocationTimeout: number;
|
|
251
|
+
};
|
|
252
|
+
|
|
235
253
|
declare type PerformType = (typeof PerformTypes)[keyof typeof PerformTypes] | undefined;
|
|
236
254
|
|
|
237
255
|
declare const PerformTypes: {
|
|
@@ -352,6 +370,7 @@ declare type UIButton = {
|
|
|
352
370
|
backgroundColor?: string;
|
|
353
371
|
cornerRadius?: number;
|
|
354
372
|
highlightColor?: string;
|
|
373
|
+
hoverColor?: string;
|
|
355
374
|
borderColor?: string;
|
|
356
375
|
borderWidth?: number;
|
|
357
376
|
paddings?: UIPaddings;
|
|
@@ -449,6 +468,9 @@ declare type UIElement = {
|
|
|
449
468
|
} | {
|
|
450
469
|
type: typeof UIElementTypes.SPACER;
|
|
451
470
|
content: WithWeightProp<WithWidthAndHeightProps<UISpacer>>;
|
|
471
|
+
} | {
|
|
472
|
+
type: typeof UIElementTypes.PROGRESS_VIEW;
|
|
473
|
+
content: WithWidthAndHeightProps<UIProgressView>;
|
|
452
474
|
};
|
|
453
475
|
|
|
454
476
|
declare const UIElementTypes: {
|
|
@@ -459,6 +481,7 @@ declare const UIElementTypes: {
|
|
|
459
481
|
readonly COLUMN: "column";
|
|
460
482
|
readonly ROW: "row";
|
|
461
483
|
readonly SPACER: "spacer";
|
|
484
|
+
readonly PROGRESS_VIEW: "progressView";
|
|
462
485
|
};
|
|
463
486
|
|
|
464
487
|
declare type UIFileUploadPopupFilesLimitExceededOnly = UIPopup & {
|
|
@@ -477,6 +500,16 @@ declare type UIGalleryScreenClientConfig = {
|
|
|
477
500
|
selectionLimit?: number;
|
|
478
501
|
};
|
|
479
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
|
+
|
|
480
513
|
declare type UIGenericScreenClientConfig = {
|
|
481
514
|
rootElement: UIRootElement;
|
|
482
515
|
};
|
|
@@ -515,9 +548,15 @@ declare type UIImage = ImageBase & {
|
|
|
515
548
|
};
|
|
516
549
|
|
|
517
550
|
declare type UIImageButton = {
|
|
551
|
+
actionId?: string;
|
|
552
|
+
type?: 'DATA' | 'FORM';
|
|
518
553
|
paddings?: UIPaddings;
|
|
519
554
|
image: UIImage;
|
|
520
555
|
responseBody?: JsonObject;
|
|
556
|
+
backgroundColor?: string;
|
|
557
|
+
highlightColor?: string;
|
|
558
|
+
hoverColor?: string;
|
|
559
|
+
cornerRadius?: number;
|
|
521
560
|
};
|
|
522
561
|
|
|
523
562
|
declare type UIInfoDetailsScreenClientConfig = {
|
|
@@ -652,6 +691,7 @@ declare type UIScaffoldContainer = {
|
|
|
652
691
|
mainColumn?: UIColumn;
|
|
653
692
|
bottomColumn?: UIColumn;
|
|
654
693
|
backgroundColor?: string;
|
|
694
|
+
cornerRadius?: number;
|
|
655
695
|
};
|
|
656
696
|
|
|
657
697
|
declare type UISelectorButtonsQuestion = QuestionItem & {
|