@regulaforensics/idv-gui 3.2.243-nightly → 3.2.249-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 CHANGED
@@ -64,6 +64,7 @@ declare function ErrorIcon({ size, color }: {
64
64
 
65
65
  export declare class GuiIdv extends BaseModule<GuiModuleProps, GuiModuleConfig> {
66
66
  private _mounted;
67
+ private _shadowRoot;
67
68
  props: IdvModuleProps<GuiModuleProps, GuiModuleConfig> | null;
68
69
  constructor();
69
70
  static displayName: string;
@@ -72,7 +73,7 @@ export declare class GuiIdv extends BaseModule<GuiModuleProps, GuiModuleConfig>
72
73
  private render;
73
74
  disconnectedCallback(): void;
74
75
  static isReady(): boolean;
75
- static getSupportedTemplates: () => ("INFO" | "INFO_DETAILS" | "STATUS" | "PROGRESS" | "QUESTIONS" | "CAMERA" | "GALLERY")[];
76
+ static getSupportedTemplates: () => ("INFO" | "INFO_DETAILS" | "STATUS" | "PROGRESS" | "QUESTIONS" | "CAMERA" | "GALLERY" | "GEOLOCATION")[];
76
77
  static initialize(_modulesConfig: Record<string, unknown>): void;
77
78
  static deinitialize(): void;
78
79
  static getIdentifier: () => string;
@@ -88,6 +89,7 @@ export declare const GuiIdvSteps: {
88
89
  readonly QUESTIONS: "QUESTIONS";
89
90
  readonly CAMERA: "CAMERA";
90
91
  readonly GALLERY: "GALLERY";
92
+ readonly GEOLOCATION: "GEOLOCATION";
91
93
  };
92
94
 
93
95
  export declare type GuiIdvSteps = (typeof GuiIdvSteps)[keyof typeof GuiIdvSteps];
@@ -123,6 +125,7 @@ declare type GuiModulePropsMap = {
123
125
  [GuiIdvSteps.QUESTIONS]: UIQuestionsScreenClientConfig;
124
126
  [GuiIdvSteps.CAMERA]: UICameraScreenClientConfig;
125
127
  [GuiIdvSteps.GALLERY]: UIGalleryScreenClientConfig;
128
+ [GuiIdvSteps.GEOLOCATION]: UIGeolocationScreenClientConfig;
126
129
  };
127
130
 
128
131
  export declare type GuiModulePropsUnknown = {
@@ -402,6 +405,24 @@ declare type UIGalleryScreenClientConfig = {
402
405
  selectionLimit?: number;
403
406
  };
404
407
 
408
+ declare type UIGeolocationScreenClientConfig = {
409
+ header?: UIInfoHeaderView;
410
+ title?: UILabel;
411
+ image?: UIImage;
412
+ description?: UILabel;
413
+ buttons?: UIButton[];
414
+ footer?: UIInfoFooterView;
415
+ backgroundColor?: string;
416
+ popup: {
417
+ image?: UIImage;
418
+ title?: UILabel;
419
+ message?: UILabel;
420
+ backgroundColor?: string;
421
+ closeButton: UIButton;
422
+ cornerRadius: number;
423
+ };
424
+ };
425
+
405
426
  declare type UIImage = {
406
427
  imageURL?: string;
407
428
  base64?: string;