@regulaforensics/idv-gui 3.2.276-nightly → 3.2.278-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
@@ -178,6 +178,13 @@ declare const performType: {
178
178
  readonly DATA: "data";
179
179
  };
180
180
 
181
+ declare type PopupActionButton = {
182
+ title?: UILabel;
183
+ type: 'FORM';
184
+ backgroundColor?: string;
185
+ cornerRadius?: number;
186
+ };
187
+
181
188
  export declare const PopupReason: {
182
189
  readonly APP_DENIED: "app_denied";
183
190
  readonly SYSTEM_RESTRICTED: "system_restricted";
@@ -337,6 +344,10 @@ declare type UIGalleryScreenClientConfig = {
337
344
  selectionLimit?: number;
338
345
  };
339
346
 
347
+ declare type UIGeolocationPopupSystemRestrictedOnly = UIPopup & {
348
+ reason: typeof PopupReason.SYSTEM_RESTRICTED;
349
+ };
350
+
340
351
  declare type UIGeolocationScreenClientConfig = {
341
352
  header?: UIInfoHeaderView;
342
353
  title?: UILabel;
@@ -345,7 +356,7 @@ declare type UIGeolocationScreenClientConfig = {
345
356
  buttons?: UIButton[];
346
357
  footer?: UIInfoFooterView;
347
358
  backgroundColor?: string;
348
- popups: UIPopup[];
359
+ popups: [UIGeolocationPopupSystemRestrictedOnly];
349
360
  askEveryTime?: boolean;
350
361
  };
351
362
 
@@ -408,17 +419,14 @@ declare type UIMultiSelectorQuestion = QuestionItem & {
408
419
  };
409
420
 
410
421
  declare type UIPopup = {
411
- reason: 'system_restricted';
412
- actionButton1: {
413
- title?: UILabel;
414
- type: 'FORM';
415
- backgroundColor?: string;
416
- cornerRadius?: number;
417
- };
422
+ reason: PopupReason;
423
+ actionButton1: PopupActionButton;
418
424
  title?: UILabel;
419
425
  message?: UILabel;
420
426
  backgroundColor?: string;
421
427
  cornerRadius?: number;
428
+ } & {
429
+ [K in `actionButton${number}`]?: PopupActionButton;
422
430
  };
423
431
 
424
432
  declare type UIProgressScreenClientConfig = {