@regulaforensics/idv-gui 3.8.455-nightly → 3.8.459-rc

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