@openfin/core 40.103.10 → 40.103.12

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.
@@ -84,12 +84,6 @@ declare type AlertRequestedEvent = BaseEvent_5 & {
84
84
  url: string;
85
85
  };
86
86
 
87
- /**
88
- * @interface
89
- * A string literal union that represents possible values for behaviors in {@link DomainSettings}
90
- */
91
- declare type AllowOrBlock = 'allow' | 'block';
92
-
93
87
  declare type AnchorType = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
94
88
 
95
89
  declare type AnyStrategy = ChannelStrategy<any>;
@@ -1691,7 +1685,7 @@ declare type BaseConfig = {
1691
1685
  timeout?: number;
1692
1686
  };
1693
1687
 
1694
- declare type BaseContentBehavior = AllowOrBlock;
1688
+ declare type BaseContentBehavior = 'allow' | 'block';
1695
1689
 
1696
1690
  /**
1697
1691
  * Properties shared by all content creation rules, regardless of context.
@@ -1836,10 +1830,6 @@ declare type BaseLoadFailedEvent = NamedEvent & {
1836
1830
  isMainFrame: boolean;
1837
1831
  };
1838
1832
 
1839
- declare type BaseStructuredContentBehavior = {
1840
- behavior: BaseContentBehavior;
1841
- };
1842
-
1843
1833
  declare type BaseUrlEvent = NamedEvent & {
1844
1834
  type: 'url-changed';
1845
1835
  url: string;
@@ -1940,11 +1930,15 @@ declare type BoundsDidChangeEvent = BoundsChangeEvent & {
1940
1930
 
1941
1931
  declare type BoundsEvent = BaseEvent_5 & OpenFin_2.Bounds;
1942
1932
 
1933
+ /**
1934
+ * Opens matched URLs in the browser.
1935
+ *
1936
+ * @interface
1937
+ */
1943
1938
  declare type BrowserContentBehavior = {
1944
1939
  behavior: 'browser';
1945
1940
  /**
1946
- * Additional property that can be specified when setting the behavior to browser.
1947
- * When set to true will close the Window or View that tried to navigate or redirect to the blocked URL.
1941
+ * When true, closes the window or view that initiated the navigation.
1948
1942
  */
1949
1943
  closeExisting?: boolean;
1950
1944
  };
@@ -3255,6 +3249,7 @@ declare type ClipboardPasteBlockedEvent = NamedEvent & {
3255
3249
 
3256
3250
  /**
3257
3251
  * Clipboard Permissions
3252
+ * @interface
3258
3253
  */
3259
3254
  declare type ClipboardPermissions = {
3260
3255
  copy?: CopyPermissions;
@@ -3807,7 +3802,7 @@ declare type ContainerCreatedEvent = LayoutDOMEvent & {
3807
3802
  };
3808
3803
 
3809
3804
  /**
3810
- * Sets the behavior for when a Window or View navigates or redirects to a matching URL
3805
+ * Behavior when displaying content from matched URLs.
3811
3806
  *
3812
3807
  * 'allow': The content url is allowed.
3813
3808
  * 'block': The content url is blocked.
@@ -4044,6 +4039,7 @@ declare type CopyBlockedEventReason = 'disabled';
4044
4039
 
4045
4040
  /**
4046
4041
  * Control copy operations for a matched URL.
4042
+ * @interface
4047
4043
  */
4048
4044
  declare type CopyPermissions = {
4049
4045
  /**
@@ -4055,7 +4051,7 @@ declare type CopyPermissions = {
4055
4051
  * block: Disables all copy operations.
4056
4052
  * protect: Protects any copied content. Only URLs that have set paste.behavior: 'all-content' will be allowed to paste this content.
4057
4053
  */
4058
- behavior: AllowOrBlock | 'protect';
4054
+ behavior: 'allow' | 'block' | 'protect';
4059
4055
  /**
4060
4056
  * Additional copy operation options
4061
4057
  */
@@ -4296,6 +4292,7 @@ declare type DefaultDomainSettings = DomainSettings;
4296
4292
 
4297
4293
  /**
4298
4294
  * @deprecated Use {@link OpenFin.DomainSettingsRule} instead.
4295
+ * @interface
4299
4296
  */
4300
4297
  declare type DefaultDomainSettingsRule = DomainSettingsRule;
4301
4298
 
@@ -4499,9 +4496,8 @@ declare type DomainSettings = {
4499
4496
  };
4500
4497
 
4501
4498
  /**
4502
- * @interface
4503
- *
4504
4499
  * Defines domain-conditional settings for an OpenFin application.
4500
+ * @interface
4505
4501
  */
4506
4502
  declare type DomainSettingsRule = {
4507
4503
  /**
@@ -5455,6 +5451,7 @@ declare type FileDownloadProgressEvent = FileDownloadEvent & {
5455
5451
  * Domain-conditional rules for file downloads.
5456
5452
  *
5457
5453
  * @remarks See: https://developers.openfin.co/of-docs/docs/file-download#manifest-properties-for-file-downloads
5454
+ * @interface
5458
5455
  */
5459
5456
  declare type FileDownloadSettings = {
5460
5457
  /**
@@ -7663,7 +7660,7 @@ declare type LaunchExternalProcessListener = (code: ExitCode) => void;
7663
7660
  * @interface
7664
7661
  */
7665
7662
  declare type LaunchExternalProcessRule = {
7666
- behavior: AllowOrBlock;
7663
+ behavior: 'allow' | 'block';
7667
7664
  match: string[];
7668
7665
  };
7669
7666
 
@@ -9633,12 +9630,10 @@ declare namespace OpenFin_2 {
9633
9630
  DomainApiSettings,
9634
9631
  BaseContentBehavior,
9635
9632
  ContentBehavior,
9636
- BaseStructuredContentBehavior,
9637
9633
  BrowserContentBehavior,
9638
9634
  StructuredContentBehavior,
9639
9635
  StructuredContentPermissions,
9640
9636
  ContentPermission,
9641
- AllowOrBlock,
9642
9637
  ScreenCaptureBehavior,
9643
9638
  PerDomainSettings,
9644
9639
  CopyPermissions,
@@ -9834,6 +9829,7 @@ declare type PasteBlockedEventReason = 'invalid-data' | 'disabled';
9834
9829
 
9835
9830
  /**
9836
9831
  * Control copy operations for a matched URL.
9832
+ * @interface
9837
9833
  */
9838
9834
  declare type PastePermissions = {
9839
9835
  /**
@@ -10004,11 +10000,11 @@ declare type PerDomainSettings = {
10004
10000
  * Defaults to 'allow'.
10005
10001
  * Disables the `print` option in the context menu, and prevents printing via both OpenFin and browser APIs.
10006
10002
  */
10007
- print?: AllowOrBlock;
10003
+ print?: 'allow' | 'block';
10008
10004
  /**
10009
10005
  * * Controls whether HTML5 dragging for this content is allowed or blocked.
10010
10006
  */
10011
- drag?: AllowOrBlock;
10007
+ drag?: 'allow' | 'block';
10012
10008
  };
10013
10009
  };
10014
10010
 
@@ -11404,6 +11400,14 @@ declare interface PlatformProvider {
11404
11400
  * ```
11405
11401
  */
11406
11402
  handleFailedViewCreation(viewIdentity: OpenFin_2.Identity, error: Error): Promise<OpenFin_2.ViewCreationSuccess | void>;
11403
+ /**
11404
+ * Determines whether a given window should prevent the application from quitting when it is closed.
11405
+ * This method is called when checking if closing a window should trigger application termination.
11406
+ *
11407
+ * @param windowIdentity - The identity of the window being checked.
11408
+ * @returns A promise resolving to `true` if the window should prevent the app from quitting, otherwise `false`.
11409
+ */
11410
+ shouldWindowPreventQuit(windowIdentity: OpenFin_2.Identity): Promise<boolean>;
11407
11411
  }
11408
11412
 
11409
11413
  /**
@@ -13194,10 +13198,9 @@ declare type RvmLaunchOptions = {
13194
13198
  };
13195
13199
 
13196
13200
  /**
13197
- * @interface
13198
13201
  * Controls whether this content should be allowed or blocked when capturing the screen.
13199
13202
  */
13200
- declare type ScreenCaptureBehavior = AllowOrBlock;
13203
+ declare type ScreenCaptureBehavior = 'allow' | 'block';
13201
13204
 
13202
13205
  /**
13203
13206
  * Returned by getScreenCapturePermission. Includes sub-entity permission states and the resulting permission.
@@ -13686,12 +13689,15 @@ declare type StartedEvent = BaseEvents.IdentityEvent & {
13686
13689
  };
13687
13690
 
13688
13691
  /**
13689
- * Allows more control over content behaviors
13692
+ * Behavior when displaying content from matched URLs.
13690
13693
  */
13691
- declare type StructuredContentBehavior = BaseStructuredContentBehavior | BrowserContentBehavior;
13694
+ declare type StructuredContentBehavior = {
13695
+ behavior: BaseContentBehavior;
13696
+ } | BrowserContentBehavior;
13692
13697
 
13693
13698
  /**
13694
- * Specify rules for specific actions.
13699
+ * Behavior when displaying content from matched URLs. Varies depending on type of navigation.
13700
+ * @interface
13695
13701
  */
13696
13702
  declare type StructuredContentPermissions = {
13697
13703
  /**
@@ -84,12 +84,6 @@ declare type AlertRequestedEvent = BaseEvent_5 & {
84
84
  url: string;
85
85
  };
86
86
 
87
- /**
88
- * @interface
89
- * A string literal union that represents possible values for behaviors in {@link DomainSettings}
90
- */
91
- declare type AllowOrBlock = 'allow' | 'block';
92
-
93
87
  declare type AnchorType = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
94
88
 
95
89
  declare type AnyStrategy = ChannelStrategy<any>;
@@ -1691,7 +1685,7 @@ declare type BaseConfig = {
1691
1685
  timeout?: number;
1692
1686
  };
1693
1687
 
1694
- declare type BaseContentBehavior = AllowOrBlock;
1688
+ declare type BaseContentBehavior = 'allow' | 'block';
1695
1689
 
1696
1690
  /**
1697
1691
  * Properties shared by all content creation rules, regardless of context.
@@ -1836,10 +1830,6 @@ declare type BaseLoadFailedEvent = NamedEvent & {
1836
1830
  isMainFrame: boolean;
1837
1831
  };
1838
1832
 
1839
- declare type BaseStructuredContentBehavior = {
1840
- behavior: BaseContentBehavior;
1841
- };
1842
-
1843
1833
  declare type BaseUrlEvent = NamedEvent & {
1844
1834
  type: 'url-changed';
1845
1835
  url: string;
@@ -1940,11 +1930,15 @@ declare type BoundsDidChangeEvent = BoundsChangeEvent & {
1940
1930
 
1941
1931
  declare type BoundsEvent = BaseEvent_5 & OpenFin_2.Bounds;
1942
1932
 
1933
+ /**
1934
+ * Opens matched URLs in the browser.
1935
+ *
1936
+ * @interface
1937
+ */
1943
1938
  declare type BrowserContentBehavior = {
1944
1939
  behavior: 'browser';
1945
1940
  /**
1946
- * Additional property that can be specified when setting the behavior to browser.
1947
- * When set to true will close the Window or View that tried to navigate or redirect to the blocked URL.
1941
+ * When true, closes the window or view that initiated the navigation.
1948
1942
  */
1949
1943
  closeExisting?: boolean;
1950
1944
  };
@@ -3255,6 +3249,7 @@ declare type ClipboardPasteBlockedEvent = NamedEvent & {
3255
3249
 
3256
3250
  /**
3257
3251
  * Clipboard Permissions
3252
+ * @interface
3258
3253
  */
3259
3254
  declare type ClipboardPermissions = {
3260
3255
  copy?: CopyPermissions;
@@ -3807,7 +3802,7 @@ declare type ContainerCreatedEvent = LayoutDOMEvent & {
3807
3802
  };
3808
3803
 
3809
3804
  /**
3810
- * Sets the behavior for when a Window or View navigates or redirects to a matching URL
3805
+ * Behavior when displaying content from matched URLs.
3811
3806
  *
3812
3807
  * 'allow': The content url is allowed.
3813
3808
  * 'block': The content url is blocked.
@@ -4044,6 +4039,7 @@ declare type CopyBlockedEventReason = 'disabled';
4044
4039
 
4045
4040
  /**
4046
4041
  * Control copy operations for a matched URL.
4042
+ * @interface
4047
4043
  */
4048
4044
  declare type CopyPermissions = {
4049
4045
  /**
@@ -4055,7 +4051,7 @@ declare type CopyPermissions = {
4055
4051
  * block: Disables all copy operations.
4056
4052
  * protect: Protects any copied content. Only URLs that have set paste.behavior: 'all-content' will be allowed to paste this content.
4057
4053
  */
4058
- behavior: AllowOrBlock | 'protect';
4054
+ behavior: 'allow' | 'block' | 'protect';
4059
4055
  /**
4060
4056
  * Additional copy operation options
4061
4057
  */
@@ -4296,6 +4292,7 @@ declare type DefaultDomainSettings = DomainSettings;
4296
4292
 
4297
4293
  /**
4298
4294
  * @deprecated Use {@link OpenFin.DomainSettingsRule} instead.
4295
+ * @interface
4299
4296
  */
4300
4297
  declare type DefaultDomainSettingsRule = DomainSettingsRule;
4301
4298
 
@@ -4499,9 +4496,8 @@ declare type DomainSettings = {
4499
4496
  };
4500
4497
 
4501
4498
  /**
4502
- * @interface
4503
- *
4504
4499
  * Defines domain-conditional settings for an OpenFin application.
4500
+ * @interface
4505
4501
  */
4506
4502
  declare type DomainSettingsRule = {
4507
4503
  /**
@@ -5455,6 +5451,7 @@ declare type FileDownloadProgressEvent = FileDownloadEvent & {
5455
5451
  * Domain-conditional rules for file downloads.
5456
5452
  *
5457
5453
  * @remarks See: https://developers.openfin.co/of-docs/docs/file-download#manifest-properties-for-file-downloads
5454
+ * @interface
5458
5455
  */
5459
5456
  declare type FileDownloadSettings = {
5460
5457
  /**
@@ -7663,7 +7660,7 @@ declare type LaunchExternalProcessListener = (code: ExitCode) => void;
7663
7660
  * @interface
7664
7661
  */
7665
7662
  declare type LaunchExternalProcessRule = {
7666
- behavior: AllowOrBlock;
7663
+ behavior: 'allow' | 'block';
7667
7664
  match: string[];
7668
7665
  };
7669
7666
 
@@ -9633,12 +9630,10 @@ declare namespace OpenFin_2 {
9633
9630
  DomainApiSettings,
9634
9631
  BaseContentBehavior,
9635
9632
  ContentBehavior,
9636
- BaseStructuredContentBehavior,
9637
9633
  BrowserContentBehavior,
9638
9634
  StructuredContentBehavior,
9639
9635
  StructuredContentPermissions,
9640
9636
  ContentPermission,
9641
- AllowOrBlock,
9642
9637
  ScreenCaptureBehavior,
9643
9638
  PerDomainSettings,
9644
9639
  CopyPermissions,
@@ -9834,6 +9829,7 @@ declare type PasteBlockedEventReason = 'invalid-data' | 'disabled';
9834
9829
 
9835
9830
  /**
9836
9831
  * Control copy operations for a matched URL.
9832
+ * @interface
9837
9833
  */
9838
9834
  declare type PastePermissions = {
9839
9835
  /**
@@ -10004,11 +10000,11 @@ declare type PerDomainSettings = {
10004
10000
  * Defaults to 'allow'.
10005
10001
  * Disables the `print` option in the context menu, and prevents printing via both OpenFin and browser APIs.
10006
10002
  */
10007
- print?: AllowOrBlock;
10003
+ print?: 'allow' | 'block';
10008
10004
  /**
10009
10005
  * * Controls whether HTML5 dragging for this content is allowed or blocked.
10010
10006
  */
10011
- drag?: AllowOrBlock;
10007
+ drag?: 'allow' | 'block';
10012
10008
  };
10013
10009
  };
10014
10010
 
@@ -11404,6 +11400,14 @@ declare interface PlatformProvider {
11404
11400
  * ```
11405
11401
  */
11406
11402
  handleFailedViewCreation(viewIdentity: OpenFin_2.Identity, error: Error): Promise<OpenFin_2.ViewCreationSuccess | void>;
11403
+ /**
11404
+ * Determines whether a given window should prevent the application from quitting when it is closed.
11405
+ * This method is called when checking if closing a window should trigger application termination.
11406
+ *
11407
+ * @param windowIdentity - The identity of the window being checked.
11408
+ * @returns A promise resolving to `true` if the window should prevent the app from quitting, otherwise `false`.
11409
+ */
11410
+ shouldWindowPreventQuit(windowIdentity: OpenFin_2.Identity): Promise<boolean>;
11407
11411
  }
11408
11412
 
11409
11413
  /**
@@ -13194,10 +13198,9 @@ declare type RvmLaunchOptions = {
13194
13198
  };
13195
13199
 
13196
13200
  /**
13197
- * @interface
13198
13201
  * Controls whether this content should be allowed or blocked when capturing the screen.
13199
13202
  */
13200
- declare type ScreenCaptureBehavior = AllowOrBlock;
13203
+ declare type ScreenCaptureBehavior = 'allow' | 'block';
13201
13204
 
13202
13205
  /**
13203
13206
  * Returned by getScreenCapturePermission. Includes sub-entity permission states and the resulting permission.
@@ -13686,12 +13689,15 @@ declare type StartedEvent = BaseEvents.IdentityEvent & {
13686
13689
  };
13687
13690
 
13688
13691
  /**
13689
- * Allows more control over content behaviors
13692
+ * Behavior when displaying content from matched URLs.
13690
13693
  */
13691
- declare type StructuredContentBehavior = BaseStructuredContentBehavior | BrowserContentBehavior;
13694
+ declare type StructuredContentBehavior = {
13695
+ behavior: BaseContentBehavior;
13696
+ } | BrowserContentBehavior;
13692
13697
 
13693
13698
  /**
13694
- * Specify rules for specific actions.
13699
+ * Behavior when displaying content from matched URLs. Varies depending on type of navigation.
13700
+ * @interface
13695
13701
  */
13696
13702
  declare type StructuredContentPermissions = {
13697
13703
  /**
@@ -84,12 +84,6 @@ declare type AlertRequestedEvent = BaseEvent_5 & {
84
84
  url: string;
85
85
  };
86
86
 
87
- /**
88
- * @interface
89
- * A string literal union that represents possible values for behaviors in {@link DomainSettings}
90
- */
91
- declare type AllowOrBlock = 'allow' | 'block';
92
-
93
87
  declare type AnchorType = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
94
88
 
95
89
  declare type AnyStrategy = ChannelStrategy<any>;
@@ -1691,7 +1685,7 @@ declare type BaseConfig = {
1691
1685
  timeout?: number;
1692
1686
  };
1693
1687
 
1694
- declare type BaseContentBehavior = AllowOrBlock;
1688
+ declare type BaseContentBehavior = 'allow' | 'block';
1695
1689
 
1696
1690
  /**
1697
1691
  * Properties shared by all content creation rules, regardless of context.
@@ -1836,10 +1830,6 @@ declare type BaseLoadFailedEvent = NamedEvent & {
1836
1830
  isMainFrame: boolean;
1837
1831
  };
1838
1832
 
1839
- declare type BaseStructuredContentBehavior = {
1840
- behavior: BaseContentBehavior;
1841
- };
1842
-
1843
1833
  declare type BaseUrlEvent = NamedEvent & {
1844
1834
  type: 'url-changed';
1845
1835
  url: string;
@@ -1940,11 +1930,15 @@ declare type BoundsDidChangeEvent = BoundsChangeEvent & {
1940
1930
 
1941
1931
  declare type BoundsEvent = BaseEvent_5 & OpenFin_2.Bounds;
1942
1932
 
1933
+ /**
1934
+ * Opens matched URLs in the browser.
1935
+ *
1936
+ * @interface
1937
+ */
1943
1938
  declare type BrowserContentBehavior = {
1944
1939
  behavior: 'browser';
1945
1940
  /**
1946
- * Additional property that can be specified when setting the behavior to browser.
1947
- * When set to true will close the Window or View that tried to navigate or redirect to the blocked URL.
1941
+ * When true, closes the window or view that initiated the navigation.
1948
1942
  */
1949
1943
  closeExisting?: boolean;
1950
1944
  };
@@ -3255,6 +3249,7 @@ declare type ClipboardPasteBlockedEvent = NamedEvent & {
3255
3249
 
3256
3250
  /**
3257
3251
  * Clipboard Permissions
3252
+ * @interface
3258
3253
  */
3259
3254
  declare type ClipboardPermissions = {
3260
3255
  copy?: CopyPermissions;
@@ -3807,7 +3802,7 @@ declare type ContainerCreatedEvent = LayoutDOMEvent & {
3807
3802
  };
3808
3803
 
3809
3804
  /**
3810
- * Sets the behavior for when a Window or View navigates or redirects to a matching URL
3805
+ * Behavior when displaying content from matched URLs.
3811
3806
  *
3812
3807
  * 'allow': The content url is allowed.
3813
3808
  * 'block': The content url is blocked.
@@ -4044,6 +4039,7 @@ declare type CopyBlockedEventReason = 'disabled';
4044
4039
 
4045
4040
  /**
4046
4041
  * Control copy operations for a matched URL.
4042
+ * @interface
4047
4043
  */
4048
4044
  declare type CopyPermissions = {
4049
4045
  /**
@@ -4055,7 +4051,7 @@ declare type CopyPermissions = {
4055
4051
  * block: Disables all copy operations.
4056
4052
  * protect: Protects any copied content. Only URLs that have set paste.behavior: 'all-content' will be allowed to paste this content.
4057
4053
  */
4058
- behavior: AllowOrBlock | 'protect';
4054
+ behavior: 'allow' | 'block' | 'protect';
4059
4055
  /**
4060
4056
  * Additional copy operation options
4061
4057
  */
@@ -4296,6 +4292,7 @@ declare type DefaultDomainSettings = DomainSettings;
4296
4292
 
4297
4293
  /**
4298
4294
  * @deprecated Use {@link OpenFin.DomainSettingsRule} instead.
4295
+ * @interface
4299
4296
  */
4300
4297
  declare type DefaultDomainSettingsRule = DomainSettingsRule;
4301
4298
 
@@ -4499,9 +4496,8 @@ declare type DomainSettings = {
4499
4496
  };
4500
4497
 
4501
4498
  /**
4502
- * @interface
4503
- *
4504
4499
  * Defines domain-conditional settings for an OpenFin application.
4500
+ * @interface
4505
4501
  */
4506
4502
  declare type DomainSettingsRule = {
4507
4503
  /**
@@ -5455,6 +5451,7 @@ declare type FileDownloadProgressEvent = FileDownloadEvent & {
5455
5451
  * Domain-conditional rules for file downloads.
5456
5452
  *
5457
5453
  * @remarks See: https://developers.openfin.co/of-docs/docs/file-download#manifest-properties-for-file-downloads
5454
+ * @interface
5458
5455
  */
5459
5456
  declare type FileDownloadSettings = {
5460
5457
  /**
@@ -7663,7 +7660,7 @@ declare type LaunchExternalProcessListener = (code: ExitCode) => void;
7663
7660
  * @interface
7664
7661
  */
7665
7662
  declare type LaunchExternalProcessRule = {
7666
- behavior: AllowOrBlock;
7663
+ behavior: 'allow' | 'block';
7667
7664
  match: string[];
7668
7665
  };
7669
7666
 
@@ -9633,12 +9630,10 @@ declare namespace OpenFin_2 {
9633
9630
  DomainApiSettings,
9634
9631
  BaseContentBehavior,
9635
9632
  ContentBehavior,
9636
- BaseStructuredContentBehavior,
9637
9633
  BrowserContentBehavior,
9638
9634
  StructuredContentBehavior,
9639
9635
  StructuredContentPermissions,
9640
9636
  ContentPermission,
9641
- AllowOrBlock,
9642
9637
  ScreenCaptureBehavior,
9643
9638
  PerDomainSettings,
9644
9639
  CopyPermissions,
@@ -9834,6 +9829,7 @@ declare type PasteBlockedEventReason = 'invalid-data' | 'disabled';
9834
9829
 
9835
9830
  /**
9836
9831
  * Control copy operations for a matched URL.
9832
+ * @interface
9837
9833
  */
9838
9834
  declare type PastePermissions = {
9839
9835
  /**
@@ -10004,11 +10000,11 @@ declare type PerDomainSettings = {
10004
10000
  * Defaults to 'allow'.
10005
10001
  * Disables the `print` option in the context menu, and prevents printing via both OpenFin and browser APIs.
10006
10002
  */
10007
- print?: AllowOrBlock;
10003
+ print?: 'allow' | 'block';
10008
10004
  /**
10009
10005
  * * Controls whether HTML5 dragging for this content is allowed or blocked.
10010
10006
  */
10011
- drag?: AllowOrBlock;
10007
+ drag?: 'allow' | 'block';
10012
10008
  };
10013
10009
  };
10014
10010
 
@@ -11404,6 +11400,14 @@ declare interface PlatformProvider {
11404
11400
  * ```
11405
11401
  */
11406
11402
  handleFailedViewCreation(viewIdentity: OpenFin_2.Identity, error: Error): Promise<OpenFin_2.ViewCreationSuccess | void>;
11403
+ /**
11404
+ * Determines whether a given window should prevent the application from quitting when it is closed.
11405
+ * This method is called when checking if closing a window should trigger application termination.
11406
+ *
11407
+ * @param windowIdentity - The identity of the window being checked.
11408
+ * @returns A promise resolving to `true` if the window should prevent the app from quitting, otherwise `false`.
11409
+ */
11410
+ shouldWindowPreventQuit(windowIdentity: OpenFin_2.Identity): Promise<boolean>;
11407
11411
  }
11408
11412
 
11409
11413
  /**
@@ -13194,10 +13198,9 @@ declare type RvmLaunchOptions = {
13194
13198
  };
13195
13199
 
13196
13200
  /**
13197
- * @interface
13198
13201
  * Controls whether this content should be allowed or blocked when capturing the screen.
13199
13202
  */
13200
- declare type ScreenCaptureBehavior = AllowOrBlock;
13203
+ declare type ScreenCaptureBehavior = 'allow' | 'block';
13201
13204
 
13202
13205
  /**
13203
13206
  * Returned by getScreenCapturePermission. Includes sub-entity permission states and the resulting permission.
@@ -13686,12 +13689,15 @@ declare type StartedEvent = BaseEvents.IdentityEvent & {
13686
13689
  };
13687
13690
 
13688
13691
  /**
13689
- * Allows more control over content behaviors
13692
+ * Behavior when displaying content from matched URLs.
13690
13693
  */
13691
- declare type StructuredContentBehavior = BaseStructuredContentBehavior | BrowserContentBehavior;
13694
+ declare type StructuredContentBehavior = {
13695
+ behavior: BaseContentBehavior;
13696
+ } | BrowserContentBehavior;
13692
13697
 
13693
13698
  /**
13694
- * Specify rules for specific actions.
13699
+ * Behavior when displaying content from matched URLs. Varies depending on type of navigation.
13700
+ * @interface
13695
13701
  */
13696
13702
  declare type StructuredContentPermissions = {
13697
13703
  /**