@regulaforensics/idv-gui 3.2.272-nightly → 3.2.276-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
@@ -34,10 +34,14 @@ declare type DropdownControl = {
34
34
  export declare class GuiIdv extends BaseModule<GuiModuleProps, GuiModuleConfig> {
35
35
  private _mounted;
36
36
  private _shadowRoot;
37
- props: IdvModuleProps<GuiModuleProps, GuiModuleConfig> | null;
37
+ props: (IdvModuleProps<GuiModuleProps, GuiModuleConfig> & {
38
+ devSettings?: GuiModuleDevSettings;
39
+ }) | null;
38
40
  constructor();
39
41
  static displayName: string;
40
- setProps(props: IdvModuleProps<GuiModuleProps, GuiModuleConfig>): void;
42
+ setProps(props: IdvModuleProps<GuiModuleProps, GuiModuleConfig> & {
43
+ devSettings?: GuiModuleDevSettings;
44
+ }): void;
41
45
  connectedCallback(): void;
42
46
  private render;
43
47
  disconnectedCallback(): void;
@@ -48,7 +52,9 @@ export declare class GuiIdv extends BaseModule<GuiModuleProps, GuiModuleConfig>
48
52
  static getIdentifier: () => string;
49
53
  }
50
54
 
51
- export declare const GuiIdvReactComponent: FunctionComponent<IdvModuleProps<GuiModuleProps | GuiModulePropsUnknown, GuiModuleConfig>>;
55
+ export declare const GuiIdvReactComponent: FunctionComponent<IdvModuleProps<GuiModuleProps | GuiModulePropsUnknown, GuiModuleConfig> & {
56
+ devSettings?: GuiModuleDevSettings;
57
+ }>;
52
58
 
53
59
  export declare const GuiIdvSteps: {
54
60
  readonly INFO: "INFO";
@@ -67,6 +73,14 @@ export declare const GuiIdvStyleInjectionWrapper: FunctionComponent;
67
73
 
68
74
  declare type GuiModuleConfig = Record<string, any>;
69
75
 
76
+ export declare type GuiModuleDevSettings = {
77
+ popups?: {
78
+ [K in PopupReason]?: {
79
+ isOpen: boolean;
80
+ };
81
+ };
82
+ };
83
+
70
84
  export declare const GuiModuleError: {
71
85
  readonly DECODING_FAILED: "DECODING_FAILED";
72
86
  };
@@ -164,6 +178,13 @@ declare const performType: {
164
178
  readonly DATA: "data";
165
179
  };
166
180
 
181
+ export declare const PopupReason: {
182
+ readonly APP_DENIED: "app_denied";
183
+ readonly SYSTEM_RESTRICTED: "system_restricted";
184
+ };
185
+
186
+ export declare type PopupReason = (typeof PopupReason)[keyof typeof PopupReason];
187
+
167
188
  declare type QuestionDataSource = {
168
189
  id: string | number;
169
190
  placeholder?: string | null;