@openfin/fdc3-api 41.100.106 → 41.100.108
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/out/fdc3-api-alpha.d.ts +37 -25
- package/out/fdc3-api-beta.d.ts +37 -25
- package/out/fdc3-api-public.d.ts +37 -25
- package/out/fdc3-api.d.ts +37 -25
- package/package.json +1 -1
package/out/fdc3-api-alpha.d.ts
CHANGED
|
@@ -1827,10 +1827,6 @@ declare type BaseLoadFailedEvent = NamedEvent & {
|
|
|
1827
1827
|
isMainFrame: boolean;
|
|
1828
1828
|
};
|
|
1829
1829
|
|
|
1830
|
-
declare type BaseStructuredContentBehavior = {
|
|
1831
|
-
behavior: BaseContentBehavior;
|
|
1832
|
-
};
|
|
1833
|
-
|
|
1834
1830
|
declare type BaseUrlEvent = NamedEvent & {
|
|
1835
1831
|
type: 'url-changed';
|
|
1836
1832
|
url: string;
|
|
@@ -1931,11 +1927,15 @@ declare type BoundsDidChangeEvent = BoundsChangeEvent & {
|
|
|
1931
1927
|
|
|
1932
1928
|
declare type BoundsEvent = BaseEvent_5 & OpenFin.Bounds;
|
|
1933
1929
|
|
|
1930
|
+
/**
|
|
1931
|
+
* Opens matched URLs in the browser.
|
|
1932
|
+
*
|
|
1933
|
+
* @interface
|
|
1934
|
+
*/
|
|
1934
1935
|
declare type BrowserContentBehavior = {
|
|
1935
1936
|
behavior: 'browser';
|
|
1936
1937
|
/**
|
|
1937
|
-
*
|
|
1938
|
-
* When set to true will close the Window or View that tried to navigate or redirect to the blocked URL.
|
|
1938
|
+
* When true, closes the window or view that initiated the navigation.
|
|
1939
1939
|
*/
|
|
1940
1940
|
closeExisting?: boolean;
|
|
1941
1941
|
};
|
|
@@ -3246,6 +3246,7 @@ declare type ClipboardPasteBlockedEvent = NamedEvent & {
|
|
|
3246
3246
|
|
|
3247
3247
|
/**
|
|
3248
3248
|
* Clipboard Permissions
|
|
3249
|
+
* @interface
|
|
3249
3250
|
*/
|
|
3250
3251
|
declare type ClipboardPermissions = {
|
|
3251
3252
|
copy?: CopyPermissions;
|
|
@@ -3805,7 +3806,7 @@ declare type ContainerCreatedEvent = LayoutDOMEvent & {
|
|
|
3805
3806
|
};
|
|
3806
3807
|
|
|
3807
3808
|
/**
|
|
3808
|
-
*
|
|
3809
|
+
* Behavior when displaying content from matched URLs.
|
|
3809
3810
|
*
|
|
3810
3811
|
* 'allow': The content url is allowed.
|
|
3811
3812
|
* 'block': The content url is blocked.
|
|
@@ -4042,6 +4043,7 @@ declare type CopyBlockedEventReason = 'disabled';
|
|
|
4042
4043
|
|
|
4043
4044
|
/**
|
|
4044
4045
|
* Control copy operations for a matched URL.
|
|
4046
|
+
* @interface
|
|
4045
4047
|
*/
|
|
4046
4048
|
declare type CopyPermissions = {
|
|
4047
4049
|
/**
|
|
@@ -4294,6 +4296,7 @@ declare type DefaultDomainSettings = DomainSettings;
|
|
|
4294
4296
|
|
|
4295
4297
|
/**
|
|
4296
4298
|
* @deprecated Use {@link OpenFin.DomainSettingsRule} instead.
|
|
4299
|
+
* @interface
|
|
4297
4300
|
*/
|
|
4298
4301
|
declare type DefaultDomainSettingsRule = DomainSettingsRule;
|
|
4299
4302
|
|
|
@@ -4497,9 +4500,8 @@ declare type DomainSettings = {
|
|
|
4497
4500
|
};
|
|
4498
4501
|
|
|
4499
4502
|
/**
|
|
4500
|
-
* @interface
|
|
4501
|
-
*
|
|
4502
4503
|
* Defines domain-conditional settings for an OpenFin application.
|
|
4504
|
+
* @interface
|
|
4503
4505
|
*/
|
|
4504
4506
|
declare type DomainSettingsRule = {
|
|
4505
4507
|
/**
|
|
@@ -4636,12 +4638,6 @@ declare type Dpi = {
|
|
|
4636
4638
|
vertical?: number;
|
|
4637
4639
|
};
|
|
4638
4640
|
|
|
4639
|
-
/**
|
|
4640
|
-
* @interface
|
|
4641
|
-
* Controls whether HTML5 dragging for this content is allowed or blocked.
|
|
4642
|
-
*/
|
|
4643
|
-
declare type DragBehavior = 'allow' | 'block';
|
|
4644
|
-
|
|
4645
4641
|
/**
|
|
4646
4642
|
* Generated when a window has been embedded.
|
|
4647
4643
|
* @interface
|
|
@@ -5810,6 +5806,7 @@ declare type FileDownloadProgressEvent = FileDownloadEvent & {
|
|
|
5810
5806
|
* Domain-conditional rules for file downloads.
|
|
5811
5807
|
*
|
|
5812
5808
|
* @remarks See: https://developers.openfin.co/of-docs/docs/file-download#manifest-properties-for-file-downloads
|
|
5809
|
+
* @interface
|
|
5813
5810
|
*/
|
|
5814
5811
|
declare type FileDownloadSettings = {
|
|
5815
5812
|
/**
|
|
@@ -10017,13 +10014,11 @@ declare namespace OpenFin {
|
|
|
10017
10014
|
DomainApiSettings,
|
|
10018
10015
|
BaseContentBehavior,
|
|
10019
10016
|
ContentBehavior,
|
|
10020
|
-
BaseStructuredContentBehavior,
|
|
10021
10017
|
BrowserContentBehavior,
|
|
10022
10018
|
StructuredContentBehavior,
|
|
10023
10019
|
StructuredContentPermissions,
|
|
10024
10020
|
ContentPermission,
|
|
10025
10021
|
ScreenCaptureBehavior,
|
|
10026
|
-
DragBehavior,
|
|
10027
10022
|
PerDomainSettings,
|
|
10028
10023
|
CopyPermissions,
|
|
10029
10024
|
PastePermissions,
|
|
@@ -10216,6 +10211,7 @@ declare type PasteBlockedEventReason = 'invalid-data' | 'disabled';
|
|
|
10216
10211
|
|
|
10217
10212
|
/**
|
|
10218
10213
|
* Control copy operations for a matched URL.
|
|
10214
|
+
* @interface
|
|
10219
10215
|
*/
|
|
10220
10216
|
declare type PastePermissions = {
|
|
10221
10217
|
/**
|
|
@@ -10381,11 +10377,17 @@ declare type PerDomainSettings = {
|
|
|
10381
10377
|
* {@inheritdoc ClipboardPermissions}
|
|
10382
10378
|
*/
|
|
10383
10379
|
clipboard?: ClipboardPermissions;
|
|
10380
|
+
/**
|
|
10381
|
+
* Whether the content can be printed.
|
|
10382
|
+
* Defaults to 'allow'.
|
|
10383
|
+
* Disables the `print` option in the context menu, and prevents printing via both OpenFin and browser APIs.
|
|
10384
|
+
*/
|
|
10385
|
+
print?: 'allow' | 'block';
|
|
10386
|
+
/**
|
|
10387
|
+
* * Controls whether HTML5 dragging for this content is allowed or blocked.
|
|
10388
|
+
*/
|
|
10389
|
+
drag?: 'allow' | 'block';
|
|
10384
10390
|
};
|
|
10385
|
-
/**
|
|
10386
|
-
* * Controls whether HTML5 dragging for this content is allowed or blocked.
|
|
10387
|
-
*/
|
|
10388
|
-
drag?: DragBehavior;
|
|
10389
10391
|
};
|
|
10390
10392
|
|
|
10391
10393
|
/**
|
|
@@ -11780,6 +11782,14 @@ declare interface PlatformProvider {
|
|
|
11780
11782
|
* ```
|
|
11781
11783
|
*/
|
|
11782
11784
|
handleFailedViewCreation(viewIdentity: OpenFin.Identity, error: Error): Promise<OpenFin.ViewCreationSuccess | void>;
|
|
11785
|
+
/**
|
|
11786
|
+
* Determines whether a given window should prevent the application from quitting when it is closed.
|
|
11787
|
+
* This method is called when checking if closing a window should trigger application termination.
|
|
11788
|
+
*
|
|
11789
|
+
* @param windowIdentity - The identity of the window being checked.
|
|
11790
|
+
* @returns A promise resolving to `true` if the window should prevent the app from quitting, otherwise `false`.
|
|
11791
|
+
*/
|
|
11792
|
+
shouldWindowPreventQuit(windowIdentity: OpenFin.Identity): Promise<boolean>;
|
|
11783
11793
|
}
|
|
11784
11794
|
|
|
11785
11795
|
/**
|
|
@@ -13570,7 +13580,6 @@ declare type RvmLaunchOptions = {
|
|
|
13570
13580
|
};
|
|
13571
13581
|
|
|
13572
13582
|
/**
|
|
13573
|
-
* @interface
|
|
13574
13583
|
* Controls whether this content should be allowed or blocked when capturing the screen.
|
|
13575
13584
|
*/
|
|
13576
13585
|
declare type ScreenCaptureBehavior = 'allow' | 'block';
|
|
@@ -14062,12 +14071,15 @@ declare type StartedEvent = BaseEvents.IdentityEvent & {
|
|
|
14062
14071
|
};
|
|
14063
14072
|
|
|
14064
14073
|
/**
|
|
14065
|
-
*
|
|
14074
|
+
* Behavior when displaying content from matched URLs.
|
|
14066
14075
|
*/
|
|
14067
|
-
declare type StructuredContentBehavior =
|
|
14076
|
+
declare type StructuredContentBehavior = {
|
|
14077
|
+
behavior: BaseContentBehavior;
|
|
14078
|
+
} | BrowserContentBehavior;
|
|
14068
14079
|
|
|
14069
14080
|
/**
|
|
14070
|
-
*
|
|
14081
|
+
* Behavior when displaying content from matched URLs. Varies depending on type of navigation.
|
|
14082
|
+
* @interface
|
|
14071
14083
|
*/
|
|
14072
14084
|
declare type StructuredContentPermissions = {
|
|
14073
14085
|
/**
|
package/out/fdc3-api-beta.d.ts
CHANGED
|
@@ -1827,10 +1827,6 @@ declare type BaseLoadFailedEvent = NamedEvent & {
|
|
|
1827
1827
|
isMainFrame: boolean;
|
|
1828
1828
|
};
|
|
1829
1829
|
|
|
1830
|
-
declare type BaseStructuredContentBehavior = {
|
|
1831
|
-
behavior: BaseContentBehavior;
|
|
1832
|
-
};
|
|
1833
|
-
|
|
1834
1830
|
declare type BaseUrlEvent = NamedEvent & {
|
|
1835
1831
|
type: 'url-changed';
|
|
1836
1832
|
url: string;
|
|
@@ -1931,11 +1927,15 @@ declare type BoundsDidChangeEvent = BoundsChangeEvent & {
|
|
|
1931
1927
|
|
|
1932
1928
|
declare type BoundsEvent = BaseEvent_5 & OpenFin.Bounds;
|
|
1933
1929
|
|
|
1930
|
+
/**
|
|
1931
|
+
* Opens matched URLs in the browser.
|
|
1932
|
+
*
|
|
1933
|
+
* @interface
|
|
1934
|
+
*/
|
|
1934
1935
|
declare type BrowserContentBehavior = {
|
|
1935
1936
|
behavior: 'browser';
|
|
1936
1937
|
/**
|
|
1937
|
-
*
|
|
1938
|
-
* When set to true will close the Window or View that tried to navigate or redirect to the blocked URL.
|
|
1938
|
+
* When true, closes the window or view that initiated the navigation.
|
|
1939
1939
|
*/
|
|
1940
1940
|
closeExisting?: boolean;
|
|
1941
1941
|
};
|
|
@@ -3246,6 +3246,7 @@ declare type ClipboardPasteBlockedEvent = NamedEvent & {
|
|
|
3246
3246
|
|
|
3247
3247
|
/**
|
|
3248
3248
|
* Clipboard Permissions
|
|
3249
|
+
* @interface
|
|
3249
3250
|
*/
|
|
3250
3251
|
declare type ClipboardPermissions = {
|
|
3251
3252
|
copy?: CopyPermissions;
|
|
@@ -3805,7 +3806,7 @@ declare type ContainerCreatedEvent = LayoutDOMEvent & {
|
|
|
3805
3806
|
};
|
|
3806
3807
|
|
|
3807
3808
|
/**
|
|
3808
|
-
*
|
|
3809
|
+
* Behavior when displaying content from matched URLs.
|
|
3809
3810
|
*
|
|
3810
3811
|
* 'allow': The content url is allowed.
|
|
3811
3812
|
* 'block': The content url is blocked.
|
|
@@ -4042,6 +4043,7 @@ declare type CopyBlockedEventReason = 'disabled';
|
|
|
4042
4043
|
|
|
4043
4044
|
/**
|
|
4044
4045
|
* Control copy operations for a matched URL.
|
|
4046
|
+
* @interface
|
|
4045
4047
|
*/
|
|
4046
4048
|
declare type CopyPermissions = {
|
|
4047
4049
|
/**
|
|
@@ -4294,6 +4296,7 @@ declare type DefaultDomainSettings = DomainSettings;
|
|
|
4294
4296
|
|
|
4295
4297
|
/**
|
|
4296
4298
|
* @deprecated Use {@link OpenFin.DomainSettingsRule} instead.
|
|
4299
|
+
* @interface
|
|
4297
4300
|
*/
|
|
4298
4301
|
declare type DefaultDomainSettingsRule = DomainSettingsRule;
|
|
4299
4302
|
|
|
@@ -4497,9 +4500,8 @@ declare type DomainSettings = {
|
|
|
4497
4500
|
};
|
|
4498
4501
|
|
|
4499
4502
|
/**
|
|
4500
|
-
* @interface
|
|
4501
|
-
*
|
|
4502
4503
|
* Defines domain-conditional settings for an OpenFin application.
|
|
4504
|
+
* @interface
|
|
4503
4505
|
*/
|
|
4504
4506
|
declare type DomainSettingsRule = {
|
|
4505
4507
|
/**
|
|
@@ -4636,12 +4638,6 @@ declare type Dpi = {
|
|
|
4636
4638
|
vertical?: number;
|
|
4637
4639
|
};
|
|
4638
4640
|
|
|
4639
|
-
/**
|
|
4640
|
-
* @interface
|
|
4641
|
-
* Controls whether HTML5 dragging for this content is allowed or blocked.
|
|
4642
|
-
*/
|
|
4643
|
-
declare type DragBehavior = 'allow' | 'block';
|
|
4644
|
-
|
|
4645
4641
|
/**
|
|
4646
4642
|
* Generated when a window has been embedded.
|
|
4647
4643
|
* @interface
|
|
@@ -5810,6 +5806,7 @@ declare type FileDownloadProgressEvent = FileDownloadEvent & {
|
|
|
5810
5806
|
* Domain-conditional rules for file downloads.
|
|
5811
5807
|
*
|
|
5812
5808
|
* @remarks See: https://developers.openfin.co/of-docs/docs/file-download#manifest-properties-for-file-downloads
|
|
5809
|
+
* @interface
|
|
5813
5810
|
*/
|
|
5814
5811
|
declare type FileDownloadSettings = {
|
|
5815
5812
|
/**
|
|
@@ -10017,13 +10014,11 @@ declare namespace OpenFin {
|
|
|
10017
10014
|
DomainApiSettings,
|
|
10018
10015
|
BaseContentBehavior,
|
|
10019
10016
|
ContentBehavior,
|
|
10020
|
-
BaseStructuredContentBehavior,
|
|
10021
10017
|
BrowserContentBehavior,
|
|
10022
10018
|
StructuredContentBehavior,
|
|
10023
10019
|
StructuredContentPermissions,
|
|
10024
10020
|
ContentPermission,
|
|
10025
10021
|
ScreenCaptureBehavior,
|
|
10026
|
-
DragBehavior,
|
|
10027
10022
|
PerDomainSettings,
|
|
10028
10023
|
CopyPermissions,
|
|
10029
10024
|
PastePermissions,
|
|
@@ -10216,6 +10211,7 @@ declare type PasteBlockedEventReason = 'invalid-data' | 'disabled';
|
|
|
10216
10211
|
|
|
10217
10212
|
/**
|
|
10218
10213
|
* Control copy operations for a matched URL.
|
|
10214
|
+
* @interface
|
|
10219
10215
|
*/
|
|
10220
10216
|
declare type PastePermissions = {
|
|
10221
10217
|
/**
|
|
@@ -10381,11 +10377,17 @@ declare type PerDomainSettings = {
|
|
|
10381
10377
|
* {@inheritdoc ClipboardPermissions}
|
|
10382
10378
|
*/
|
|
10383
10379
|
clipboard?: ClipboardPermissions;
|
|
10380
|
+
/**
|
|
10381
|
+
* Whether the content can be printed.
|
|
10382
|
+
* Defaults to 'allow'.
|
|
10383
|
+
* Disables the `print` option in the context menu, and prevents printing via both OpenFin and browser APIs.
|
|
10384
|
+
*/
|
|
10385
|
+
print?: 'allow' | 'block';
|
|
10386
|
+
/**
|
|
10387
|
+
* * Controls whether HTML5 dragging for this content is allowed or blocked.
|
|
10388
|
+
*/
|
|
10389
|
+
drag?: 'allow' | 'block';
|
|
10384
10390
|
};
|
|
10385
|
-
/**
|
|
10386
|
-
* * Controls whether HTML5 dragging for this content is allowed or blocked.
|
|
10387
|
-
*/
|
|
10388
|
-
drag?: DragBehavior;
|
|
10389
10391
|
};
|
|
10390
10392
|
|
|
10391
10393
|
/**
|
|
@@ -11780,6 +11782,14 @@ declare interface PlatformProvider {
|
|
|
11780
11782
|
* ```
|
|
11781
11783
|
*/
|
|
11782
11784
|
handleFailedViewCreation(viewIdentity: OpenFin.Identity, error: Error): Promise<OpenFin.ViewCreationSuccess | void>;
|
|
11785
|
+
/**
|
|
11786
|
+
* Determines whether a given window should prevent the application from quitting when it is closed.
|
|
11787
|
+
* This method is called when checking if closing a window should trigger application termination.
|
|
11788
|
+
*
|
|
11789
|
+
* @param windowIdentity - The identity of the window being checked.
|
|
11790
|
+
* @returns A promise resolving to `true` if the window should prevent the app from quitting, otherwise `false`.
|
|
11791
|
+
*/
|
|
11792
|
+
shouldWindowPreventQuit(windowIdentity: OpenFin.Identity): Promise<boolean>;
|
|
11783
11793
|
}
|
|
11784
11794
|
|
|
11785
11795
|
/**
|
|
@@ -13570,7 +13580,6 @@ declare type RvmLaunchOptions = {
|
|
|
13570
13580
|
};
|
|
13571
13581
|
|
|
13572
13582
|
/**
|
|
13573
|
-
* @interface
|
|
13574
13583
|
* Controls whether this content should be allowed or blocked when capturing the screen.
|
|
13575
13584
|
*/
|
|
13576
13585
|
declare type ScreenCaptureBehavior = 'allow' | 'block';
|
|
@@ -14062,12 +14071,15 @@ declare type StartedEvent = BaseEvents.IdentityEvent & {
|
|
|
14062
14071
|
};
|
|
14063
14072
|
|
|
14064
14073
|
/**
|
|
14065
|
-
*
|
|
14074
|
+
* Behavior when displaying content from matched URLs.
|
|
14066
14075
|
*/
|
|
14067
|
-
declare type StructuredContentBehavior =
|
|
14076
|
+
declare type StructuredContentBehavior = {
|
|
14077
|
+
behavior: BaseContentBehavior;
|
|
14078
|
+
} | BrowserContentBehavior;
|
|
14068
14079
|
|
|
14069
14080
|
/**
|
|
14070
|
-
*
|
|
14081
|
+
* Behavior when displaying content from matched URLs. Varies depending on type of navigation.
|
|
14082
|
+
* @interface
|
|
14071
14083
|
*/
|
|
14072
14084
|
declare type StructuredContentPermissions = {
|
|
14073
14085
|
/**
|
package/out/fdc3-api-public.d.ts
CHANGED
|
@@ -1827,10 +1827,6 @@ declare type BaseLoadFailedEvent = NamedEvent & {
|
|
|
1827
1827
|
isMainFrame: boolean;
|
|
1828
1828
|
};
|
|
1829
1829
|
|
|
1830
|
-
declare type BaseStructuredContentBehavior = {
|
|
1831
|
-
behavior: BaseContentBehavior;
|
|
1832
|
-
};
|
|
1833
|
-
|
|
1834
1830
|
declare type BaseUrlEvent = NamedEvent & {
|
|
1835
1831
|
type: 'url-changed';
|
|
1836
1832
|
url: string;
|
|
@@ -1931,11 +1927,15 @@ declare type BoundsDidChangeEvent = BoundsChangeEvent & {
|
|
|
1931
1927
|
|
|
1932
1928
|
declare type BoundsEvent = BaseEvent_5 & OpenFin.Bounds;
|
|
1933
1929
|
|
|
1930
|
+
/**
|
|
1931
|
+
* Opens matched URLs in the browser.
|
|
1932
|
+
*
|
|
1933
|
+
* @interface
|
|
1934
|
+
*/
|
|
1934
1935
|
declare type BrowserContentBehavior = {
|
|
1935
1936
|
behavior: 'browser';
|
|
1936
1937
|
/**
|
|
1937
|
-
*
|
|
1938
|
-
* When set to true will close the Window or View that tried to navigate or redirect to the blocked URL.
|
|
1938
|
+
* When true, closes the window or view that initiated the navigation.
|
|
1939
1939
|
*/
|
|
1940
1940
|
closeExisting?: boolean;
|
|
1941
1941
|
};
|
|
@@ -3246,6 +3246,7 @@ declare type ClipboardPasteBlockedEvent = NamedEvent & {
|
|
|
3246
3246
|
|
|
3247
3247
|
/**
|
|
3248
3248
|
* Clipboard Permissions
|
|
3249
|
+
* @interface
|
|
3249
3250
|
*/
|
|
3250
3251
|
declare type ClipboardPermissions = {
|
|
3251
3252
|
copy?: CopyPermissions;
|
|
@@ -3805,7 +3806,7 @@ declare type ContainerCreatedEvent = LayoutDOMEvent & {
|
|
|
3805
3806
|
};
|
|
3806
3807
|
|
|
3807
3808
|
/**
|
|
3808
|
-
*
|
|
3809
|
+
* Behavior when displaying content from matched URLs.
|
|
3809
3810
|
*
|
|
3810
3811
|
* 'allow': The content url is allowed.
|
|
3811
3812
|
* 'block': The content url is blocked.
|
|
@@ -4042,6 +4043,7 @@ declare type CopyBlockedEventReason = 'disabled';
|
|
|
4042
4043
|
|
|
4043
4044
|
/**
|
|
4044
4045
|
* Control copy operations for a matched URL.
|
|
4046
|
+
* @interface
|
|
4045
4047
|
*/
|
|
4046
4048
|
declare type CopyPermissions = {
|
|
4047
4049
|
/**
|
|
@@ -4294,6 +4296,7 @@ declare type DefaultDomainSettings = DomainSettings;
|
|
|
4294
4296
|
|
|
4295
4297
|
/**
|
|
4296
4298
|
* @deprecated Use {@link OpenFin.DomainSettingsRule} instead.
|
|
4299
|
+
* @interface
|
|
4297
4300
|
*/
|
|
4298
4301
|
declare type DefaultDomainSettingsRule = DomainSettingsRule;
|
|
4299
4302
|
|
|
@@ -4497,9 +4500,8 @@ declare type DomainSettings = {
|
|
|
4497
4500
|
};
|
|
4498
4501
|
|
|
4499
4502
|
/**
|
|
4500
|
-
* @interface
|
|
4501
|
-
*
|
|
4502
4503
|
* Defines domain-conditional settings for an OpenFin application.
|
|
4504
|
+
* @interface
|
|
4503
4505
|
*/
|
|
4504
4506
|
declare type DomainSettingsRule = {
|
|
4505
4507
|
/**
|
|
@@ -4636,12 +4638,6 @@ declare type Dpi = {
|
|
|
4636
4638
|
vertical?: number;
|
|
4637
4639
|
};
|
|
4638
4640
|
|
|
4639
|
-
/**
|
|
4640
|
-
* @interface
|
|
4641
|
-
* Controls whether HTML5 dragging for this content is allowed or blocked.
|
|
4642
|
-
*/
|
|
4643
|
-
declare type DragBehavior = 'allow' | 'block';
|
|
4644
|
-
|
|
4645
4641
|
/**
|
|
4646
4642
|
* Generated when a window has been embedded.
|
|
4647
4643
|
* @interface
|
|
@@ -5810,6 +5806,7 @@ declare type FileDownloadProgressEvent = FileDownloadEvent & {
|
|
|
5810
5806
|
* Domain-conditional rules for file downloads.
|
|
5811
5807
|
*
|
|
5812
5808
|
* @remarks See: https://developers.openfin.co/of-docs/docs/file-download#manifest-properties-for-file-downloads
|
|
5809
|
+
* @interface
|
|
5813
5810
|
*/
|
|
5814
5811
|
declare type FileDownloadSettings = {
|
|
5815
5812
|
/**
|
|
@@ -10017,13 +10014,11 @@ declare namespace OpenFin {
|
|
|
10017
10014
|
DomainApiSettings,
|
|
10018
10015
|
BaseContentBehavior,
|
|
10019
10016
|
ContentBehavior,
|
|
10020
|
-
BaseStructuredContentBehavior,
|
|
10021
10017
|
BrowserContentBehavior,
|
|
10022
10018
|
StructuredContentBehavior,
|
|
10023
10019
|
StructuredContentPermissions,
|
|
10024
10020
|
ContentPermission,
|
|
10025
10021
|
ScreenCaptureBehavior,
|
|
10026
|
-
DragBehavior,
|
|
10027
10022
|
PerDomainSettings,
|
|
10028
10023
|
CopyPermissions,
|
|
10029
10024
|
PastePermissions,
|
|
@@ -10216,6 +10211,7 @@ declare type PasteBlockedEventReason = 'invalid-data' | 'disabled';
|
|
|
10216
10211
|
|
|
10217
10212
|
/**
|
|
10218
10213
|
* Control copy operations for a matched URL.
|
|
10214
|
+
* @interface
|
|
10219
10215
|
*/
|
|
10220
10216
|
declare type PastePermissions = {
|
|
10221
10217
|
/**
|
|
@@ -10381,11 +10377,17 @@ declare type PerDomainSettings = {
|
|
|
10381
10377
|
* {@inheritdoc ClipboardPermissions}
|
|
10382
10378
|
*/
|
|
10383
10379
|
clipboard?: ClipboardPermissions;
|
|
10380
|
+
/**
|
|
10381
|
+
* Whether the content can be printed.
|
|
10382
|
+
* Defaults to 'allow'.
|
|
10383
|
+
* Disables the `print` option in the context menu, and prevents printing via both OpenFin and browser APIs.
|
|
10384
|
+
*/
|
|
10385
|
+
print?: 'allow' | 'block';
|
|
10386
|
+
/**
|
|
10387
|
+
* * Controls whether HTML5 dragging for this content is allowed or blocked.
|
|
10388
|
+
*/
|
|
10389
|
+
drag?: 'allow' | 'block';
|
|
10384
10390
|
};
|
|
10385
|
-
/**
|
|
10386
|
-
* * Controls whether HTML5 dragging for this content is allowed or blocked.
|
|
10387
|
-
*/
|
|
10388
|
-
drag?: DragBehavior;
|
|
10389
10391
|
};
|
|
10390
10392
|
|
|
10391
10393
|
/**
|
|
@@ -11780,6 +11782,14 @@ declare interface PlatformProvider {
|
|
|
11780
11782
|
* ```
|
|
11781
11783
|
*/
|
|
11782
11784
|
handleFailedViewCreation(viewIdentity: OpenFin.Identity, error: Error): Promise<OpenFin.ViewCreationSuccess | void>;
|
|
11785
|
+
/**
|
|
11786
|
+
* Determines whether a given window should prevent the application from quitting when it is closed.
|
|
11787
|
+
* This method is called when checking if closing a window should trigger application termination.
|
|
11788
|
+
*
|
|
11789
|
+
* @param windowIdentity - The identity of the window being checked.
|
|
11790
|
+
* @returns A promise resolving to `true` if the window should prevent the app from quitting, otherwise `false`.
|
|
11791
|
+
*/
|
|
11792
|
+
shouldWindowPreventQuit(windowIdentity: OpenFin.Identity): Promise<boolean>;
|
|
11783
11793
|
}
|
|
11784
11794
|
|
|
11785
11795
|
/**
|
|
@@ -13570,7 +13580,6 @@ declare type RvmLaunchOptions = {
|
|
|
13570
13580
|
};
|
|
13571
13581
|
|
|
13572
13582
|
/**
|
|
13573
|
-
* @interface
|
|
13574
13583
|
* Controls whether this content should be allowed or blocked when capturing the screen.
|
|
13575
13584
|
*/
|
|
13576
13585
|
declare type ScreenCaptureBehavior = 'allow' | 'block';
|
|
@@ -14062,12 +14071,15 @@ declare type StartedEvent = BaseEvents.IdentityEvent & {
|
|
|
14062
14071
|
};
|
|
14063
14072
|
|
|
14064
14073
|
/**
|
|
14065
|
-
*
|
|
14074
|
+
* Behavior when displaying content from matched URLs.
|
|
14066
14075
|
*/
|
|
14067
|
-
declare type StructuredContentBehavior =
|
|
14076
|
+
declare type StructuredContentBehavior = {
|
|
14077
|
+
behavior: BaseContentBehavior;
|
|
14078
|
+
} | BrowserContentBehavior;
|
|
14068
14079
|
|
|
14069
14080
|
/**
|
|
14070
|
-
*
|
|
14081
|
+
* Behavior when displaying content from matched URLs. Varies depending on type of navigation.
|
|
14082
|
+
* @interface
|
|
14071
14083
|
*/
|
|
14072
14084
|
declare type StructuredContentPermissions = {
|
|
14073
14085
|
/**
|
package/out/fdc3-api.d.ts
CHANGED
|
@@ -1859,10 +1859,6 @@ declare type BaseLoadFailedEvent = NamedEvent & {
|
|
|
1859
1859
|
isMainFrame: boolean;
|
|
1860
1860
|
};
|
|
1861
1861
|
|
|
1862
|
-
declare type BaseStructuredContentBehavior = {
|
|
1863
|
-
behavior: BaseContentBehavior;
|
|
1864
|
-
};
|
|
1865
|
-
|
|
1866
1862
|
declare type BaseUrlEvent = NamedEvent & {
|
|
1867
1863
|
type: 'url-changed';
|
|
1868
1864
|
url: string;
|
|
@@ -1963,11 +1959,15 @@ declare type BoundsDidChangeEvent = BoundsChangeEvent & {
|
|
|
1963
1959
|
|
|
1964
1960
|
declare type BoundsEvent = BaseEvent_5 & OpenFin.Bounds;
|
|
1965
1961
|
|
|
1962
|
+
/**
|
|
1963
|
+
* Opens matched URLs in the browser.
|
|
1964
|
+
*
|
|
1965
|
+
* @interface
|
|
1966
|
+
*/
|
|
1966
1967
|
declare type BrowserContentBehavior = {
|
|
1967
1968
|
behavior: 'browser';
|
|
1968
1969
|
/**
|
|
1969
|
-
*
|
|
1970
|
-
* When set to true will close the Window or View that tried to navigate or redirect to the blocked URL.
|
|
1970
|
+
* When true, closes the window or view that initiated the navigation.
|
|
1971
1971
|
*/
|
|
1972
1972
|
closeExisting?: boolean;
|
|
1973
1973
|
};
|
|
@@ -3302,6 +3302,7 @@ declare type ClipboardPasteBlockedEvent = NamedEvent & {
|
|
|
3302
3302
|
|
|
3303
3303
|
/**
|
|
3304
3304
|
* Clipboard Permissions
|
|
3305
|
+
* @interface
|
|
3305
3306
|
*/
|
|
3306
3307
|
declare type ClipboardPermissions = {
|
|
3307
3308
|
copy?: CopyPermissions;
|
|
@@ -3864,7 +3865,7 @@ declare type ContainerCreatedEvent = LayoutDOMEvent & {
|
|
|
3864
3865
|
};
|
|
3865
3866
|
|
|
3866
3867
|
/**
|
|
3867
|
-
*
|
|
3868
|
+
* Behavior when displaying content from matched URLs.
|
|
3868
3869
|
*
|
|
3869
3870
|
* 'allow': The content url is allowed.
|
|
3870
3871
|
* 'block': The content url is blocked.
|
|
@@ -4101,6 +4102,7 @@ declare type CopyBlockedEventReason = 'disabled';
|
|
|
4101
4102
|
|
|
4102
4103
|
/**
|
|
4103
4104
|
* Control copy operations for a matched URL.
|
|
4105
|
+
* @interface
|
|
4104
4106
|
*/
|
|
4105
4107
|
declare type CopyPermissions = {
|
|
4106
4108
|
/**
|
|
@@ -4353,6 +4355,7 @@ declare type DefaultDomainSettings = DomainSettings;
|
|
|
4353
4355
|
|
|
4354
4356
|
/**
|
|
4355
4357
|
* @deprecated Use {@link OpenFin.DomainSettingsRule} instead.
|
|
4358
|
+
* @interface
|
|
4356
4359
|
*/
|
|
4357
4360
|
declare type DefaultDomainSettingsRule = DomainSettingsRule;
|
|
4358
4361
|
|
|
@@ -4556,9 +4559,8 @@ declare type DomainSettings = {
|
|
|
4556
4559
|
};
|
|
4557
4560
|
|
|
4558
4561
|
/**
|
|
4559
|
-
* @interface
|
|
4560
|
-
*
|
|
4561
4562
|
* Defines domain-conditional settings for an OpenFin application.
|
|
4563
|
+
* @interface
|
|
4562
4564
|
*/
|
|
4563
4565
|
declare type DomainSettingsRule = {
|
|
4564
4566
|
/**
|
|
@@ -4695,12 +4697,6 @@ declare type Dpi = {
|
|
|
4695
4697
|
vertical?: number;
|
|
4696
4698
|
};
|
|
4697
4699
|
|
|
4698
|
-
/**
|
|
4699
|
-
* @interface
|
|
4700
|
-
* Controls whether HTML5 dragging for this content is allowed or blocked.
|
|
4701
|
-
*/
|
|
4702
|
-
declare type DragBehavior = 'allow' | 'block';
|
|
4703
|
-
|
|
4704
4700
|
/**
|
|
4705
4701
|
* Generated when a window has been embedded.
|
|
4706
4702
|
* @interface
|
|
@@ -5895,6 +5891,7 @@ declare type FileDownloadProgressEvent = FileDownloadEvent & {
|
|
|
5895
5891
|
* Domain-conditional rules for file downloads.
|
|
5896
5892
|
*
|
|
5897
5893
|
* @remarks See: https://developers.openfin.co/of-docs/docs/file-download#manifest-properties-for-file-downloads
|
|
5894
|
+
* @interface
|
|
5898
5895
|
*/
|
|
5899
5896
|
declare type FileDownloadSettings = {
|
|
5900
5897
|
/**
|
|
@@ -10335,13 +10332,11 @@ declare namespace OpenFin {
|
|
|
10335
10332
|
DomainApiSettings,
|
|
10336
10333
|
BaseContentBehavior,
|
|
10337
10334
|
ContentBehavior,
|
|
10338
|
-
BaseStructuredContentBehavior,
|
|
10339
10335
|
BrowserContentBehavior,
|
|
10340
10336
|
StructuredContentBehavior,
|
|
10341
10337
|
StructuredContentPermissions,
|
|
10342
10338
|
ContentPermission,
|
|
10343
10339
|
ScreenCaptureBehavior,
|
|
10344
|
-
DragBehavior,
|
|
10345
10340
|
PerDomainSettings,
|
|
10346
10341
|
CopyPermissions,
|
|
10347
10342
|
PastePermissions,
|
|
@@ -10534,6 +10529,7 @@ declare type PasteBlockedEventReason = 'invalid-data' | 'disabled';
|
|
|
10534
10529
|
|
|
10535
10530
|
/**
|
|
10536
10531
|
* Control copy operations for a matched URL.
|
|
10532
|
+
* @interface
|
|
10537
10533
|
*/
|
|
10538
10534
|
declare type PastePermissions = {
|
|
10539
10535
|
/**
|
|
@@ -10699,11 +10695,17 @@ declare type PerDomainSettings = {
|
|
|
10699
10695
|
* {@inheritdoc ClipboardPermissions}
|
|
10700
10696
|
*/
|
|
10701
10697
|
clipboard?: ClipboardPermissions;
|
|
10698
|
+
/**
|
|
10699
|
+
* Whether the content can be printed.
|
|
10700
|
+
* Defaults to 'allow'.
|
|
10701
|
+
* Disables the `print` option in the context menu, and prevents printing via both OpenFin and browser APIs.
|
|
10702
|
+
*/
|
|
10703
|
+
print?: 'allow' | 'block';
|
|
10704
|
+
/**
|
|
10705
|
+
* * Controls whether HTML5 dragging for this content is allowed or blocked.
|
|
10706
|
+
*/
|
|
10707
|
+
drag?: 'allow' | 'block';
|
|
10702
10708
|
};
|
|
10703
|
-
/**
|
|
10704
|
-
* * Controls whether HTML5 dragging for this content is allowed or blocked.
|
|
10705
|
-
*/
|
|
10706
|
-
drag?: DragBehavior;
|
|
10707
10709
|
};
|
|
10708
10710
|
|
|
10709
10711
|
/**
|
|
@@ -12181,6 +12183,14 @@ declare interface PlatformProvider {
|
|
|
12181
12183
|
* ```
|
|
12182
12184
|
*/
|
|
12183
12185
|
handleFailedViewCreation(viewIdentity: OpenFin.Identity, error: Error): Promise<OpenFin.ViewCreationSuccess | void>;
|
|
12186
|
+
/**
|
|
12187
|
+
* Determines whether a given window should prevent the application from quitting when it is closed.
|
|
12188
|
+
* This method is called when checking if closing a window should trigger application termination.
|
|
12189
|
+
*
|
|
12190
|
+
* @param windowIdentity - The identity of the window being checked.
|
|
12191
|
+
* @returns A promise resolving to `true` if the window should prevent the app from quitting, otherwise `false`.
|
|
12192
|
+
*/
|
|
12193
|
+
shouldWindowPreventQuit(windowIdentity: OpenFin.Identity): Promise<boolean>;
|
|
12184
12194
|
}
|
|
12185
12195
|
|
|
12186
12196
|
/**
|
|
@@ -13971,7 +13981,6 @@ declare type RvmLaunchOptions = {
|
|
|
13971
13981
|
};
|
|
13972
13982
|
|
|
13973
13983
|
/**
|
|
13974
|
-
* @interface
|
|
13975
13984
|
* Controls whether this content should be allowed or blocked when capturing the screen.
|
|
13976
13985
|
*/
|
|
13977
13986
|
declare type ScreenCaptureBehavior = 'allow' | 'block';
|
|
@@ -14466,12 +14475,15 @@ declare type StartedEvent = BaseEvents.IdentityEvent & {
|
|
|
14466
14475
|
};
|
|
14467
14476
|
|
|
14468
14477
|
/**
|
|
14469
|
-
*
|
|
14478
|
+
* Behavior when displaying content from matched URLs.
|
|
14470
14479
|
*/
|
|
14471
|
-
declare type StructuredContentBehavior =
|
|
14480
|
+
declare type StructuredContentBehavior = {
|
|
14481
|
+
behavior: BaseContentBehavior;
|
|
14482
|
+
} | BrowserContentBehavior;
|
|
14472
14483
|
|
|
14473
14484
|
/**
|
|
14474
|
-
*
|
|
14485
|
+
* Behavior when displaying content from matched URLs. Varies depending on type of navigation.
|
|
14486
|
+
* @interface
|
|
14475
14487
|
*/
|
|
14476
14488
|
declare type StructuredContentPermissions = {
|
|
14477
14489
|
/**
|