@regulaforensics/idv-gui 3.9.488-nightly → 3.9.489-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;
@@ -382,7 +362,6 @@ declare type UICameraScreenClientConfig = {
382
362
  header?: UIInfoHeaderView;
383
363
  footer?: UIInfoFooterView;
384
364
  backgroundColor?: string;
385
- backgroundImage?: UIImage;
386
365
  buttons?: UIButton[];
387
366
  selectionLimit?: number;
388
367
  };
@@ -424,7 +403,6 @@ declare type UIDeviceTransferScreenClientConfig = {
424
403
  buttons?: UIButton[];
425
404
  footer?: UIInfoFooterView;
426
405
  backgroundColor?: string;
427
- backgroundImage?: UIImage;
428
406
  qr?: {
429
407
  color?: string;
430
408
  };
@@ -470,9 +448,6 @@ declare type UIElement = {
470
448
  } | {
471
449
  type: typeof UIElementTypes.SPACER;
472
450
  content: WithWeightProp<WithWidthAndHeightProps<UISpacer>>;
473
- } | {
474
- type: typeof UIElementTypes.PROGRESS_VIEW;
475
- content: WithWidthAndHeightProps<UIProgressView>;
476
451
  };
477
452
 
478
453
  declare const UIElementTypes: {
@@ -483,7 +458,6 @@ declare const UIElementTypes: {
483
458
  readonly COLUMN: "column";
484
459
  readonly ROW: "row";
485
460
  readonly SPACER: "spacer";
486
- readonly PROGRESS_VIEW: "progressView";
487
461
  };
488
462
 
489
463
  declare type UIFileUploadPopupFilesLimitExceededOnly = UIPopup & {
@@ -498,21 +472,10 @@ declare type UIGalleryScreenClientConfig = {
498
472
  header?: UIInfoHeaderView;
499
473
  footer?: UIInfoFooterView;
500
474
  backgroundColor?: string;
501
- backgroundImage?: UIImage;
502
475
  buttons?: UIButton[];
503
476
  selectionLimit?: number;
504
477
  };
505
478
 
506
- declare type UIGenericLocationScreenClientConfig = {
507
- rootElement: UIRootElement;
508
- popups: GenericPopup[];
509
- settings: LocationSettings;
510
- };
511
-
512
- declare type UIGenericProgressScreenClientConfig = {
513
- rootElement: UIRootElement;
514
- };
515
-
516
479
  declare type UIGenericScreenClientConfig = {
517
480
  rootElement: UIRootElement;
518
481
  };
@@ -529,7 +492,6 @@ declare type UIGeolocationScreenClientConfig = {
529
492
  buttons?: UIButton[];
530
493
  footer?: UIInfoFooterView;
531
494
  backgroundColor?: string;
532
- backgroundImage?: UIImage;
533
495
  popups: [UIGeolocationPopupSystemRestrictedOnly];
534
496
  askEveryTime?: boolean;
535
497
  };
@@ -552,15 +514,9 @@ declare type UIImage = ImageBase & {
552
514
  };
553
515
 
554
516
  declare type UIImageButton = {
555
- actionId?: string;
556
- type?: 'DATA' | 'FORM';
557
517
  paddings?: UIPaddings;
558
518
  image: UIImage;
559
519
  responseBody?: JsonObject;
560
- backgroundColor?: string;
561
- highlightColor?: string;
562
- hoverColor?: string;
563
- cornerRadius?: number;
564
520
  };
565
521
 
566
522
  declare type UIInfoDetailsScreenClientConfig = {
@@ -570,7 +526,6 @@ declare type UIInfoDetailsScreenClientConfig = {
570
526
  buttons?: UIButton[];
571
527
  footer?: UIInfoFooterView;
572
528
  backgroundColor?: string;
573
- backgroundImage?: UIImage;
574
529
  };
575
530
 
576
531
  declare type UIInfoFooterView = {
@@ -589,7 +544,6 @@ declare type UIInfoScreenClientConfig = {
589
544
  buttons?: UIButton[];
590
545
  footer?: UIInfoFooterView;
591
546
  backgroundColor?: string;
592
- backgroundImage?: UIImage;
593
547
  };
594
548
 
595
549
  declare type UILabel = {
@@ -651,7 +605,6 @@ declare type UIProgressScreenClientConfig = {
651
605
  progressView?: UIProgressView;
652
606
  footer?: UIInfoFooterView;
653
607
  backgroundColor?: string;
654
- backgroundImage?: UIImage;
655
608
  };
656
609
 
657
610
  declare type UIProgressView = {
@@ -668,7 +621,6 @@ declare type UIQuestionsScreenClientConfig = {
668
621
  backgroundColor?: string;
669
622
  };
670
623
  backgroundColor?: string;
671
- backgroundImage?: UIImage;
672
624
  cornerRadius?: number;
673
625
  };
674
626
 
@@ -699,8 +651,6 @@ declare type UIScaffoldContainer = {
699
651
  mainColumn?: UIColumn;
700
652
  bottomColumn?: UIColumn;
701
653
  backgroundColor?: string;
702
- backgroundImage?: UIImage;
703
- cornerRadius?: number;
704
654
  };
705
655
 
706
656
  declare type UISelectorButtonsQuestion = QuestionItem & {
@@ -738,7 +688,6 @@ declare type UIStatusScreenClientConfig = {
738
688
  buttons?: UIButton[];
739
689
  footer?: UIInfoFooterView;
740
690
  backgroundColor?: string;
741
- backgroundImage?: UIImage;
742
691
  };
743
692
 
744
693
  declare type UITextField = UILabel & {
@@ -762,7 +711,6 @@ declare type UIUploadFilesScreenClientConfig = {
762
711
  buttons?: UIButton[];
763
712
  footer?: UIInfoFooterView;
764
713
  backgroundColor?: string;
765
- backgroundImage?: UIImage;
766
714
  popups?: [UIFileUploadPopupNoFilesOnly, UIFileUploadPopupFilesLimitExceededOnly];
767
715
  settings: {
768
716
  supportedFileFormats: string[];