@openfin/fdc3-api 40.103.4 → 40.103.7
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 +41 -6
- package/out/fdc3-api-beta.d.ts +41 -6
- package/out/fdc3-api-public.d.ts +41 -6
- package/out/fdc3-api.d.ts +41 -6
- package/out/fdc3-api.js +7 -1
- package/package.json +1 -1
package/out/fdc3-api-alpha.d.ts
CHANGED
|
@@ -81,6 +81,12 @@ declare type AlertRequestedEvent = BaseEvent_5 & {
|
|
|
81
81
|
url: string;
|
|
82
82
|
};
|
|
83
83
|
|
|
84
|
+
/**
|
|
85
|
+
* @interface
|
|
86
|
+
* A string literal union that represents possible values for behaviors in {@link DomainSettings}
|
|
87
|
+
*/
|
|
88
|
+
declare type AllowOrBlock = 'allow' | 'block';
|
|
89
|
+
|
|
84
90
|
declare type AnchorType = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
|
|
85
91
|
|
|
86
92
|
declare type AnyStrategy = ChannelStrategy<any>;
|
|
@@ -1682,7 +1688,7 @@ declare type BaseConfig = {
|
|
|
1682
1688
|
timeout?: number;
|
|
1683
1689
|
};
|
|
1684
1690
|
|
|
1685
|
-
declare type BaseContentBehavior =
|
|
1691
|
+
declare type BaseContentBehavior = AllowOrBlock;
|
|
1686
1692
|
|
|
1687
1693
|
/**
|
|
1688
1694
|
* Properties shared by all content creation rules, regardless of context.
|
|
@@ -4046,7 +4052,7 @@ declare type CopyPermissions = {
|
|
|
4046
4052
|
* block: Disables all copy operations.
|
|
4047
4053
|
* protect: Protects any copied content. Only URLs that have set paste.behavior: 'all-content' will be allowed to paste this content.
|
|
4048
4054
|
*/
|
|
4049
|
-
behavior:
|
|
4055
|
+
behavior: AllowOrBlock | 'protect';
|
|
4050
4056
|
/**
|
|
4051
4057
|
* Additional copy operation options
|
|
4052
4058
|
*/
|
|
@@ -4483,6 +4489,10 @@ declare type DomainSettings = {
|
|
|
4483
4489
|
* more information, see the documentation for the individual properties.
|
|
4484
4490
|
*/
|
|
4485
4491
|
default?: PerDomainSettings;
|
|
4492
|
+
/**
|
|
4493
|
+
* {@inheritDoc MultipleDomainMatchBehavior}
|
|
4494
|
+
*/
|
|
4495
|
+
multipleMatchBehavior?: MultipleDomainMatchBehavior;
|
|
4486
4496
|
};
|
|
4487
4497
|
|
|
4488
4498
|
/**
|
|
@@ -4495,7 +4505,7 @@ declare type DomainSettingsRule = {
|
|
|
4495
4505
|
* Array of [match patterns](https://developer.chrome.com/docs/extensions/develop/concepts/match-patterns) specifying
|
|
4496
4506
|
* the domain(s) for which the rule applies.
|
|
4497
4507
|
*/
|
|
4498
|
-
match
|
|
4508
|
+
match: string[];
|
|
4499
4509
|
/**
|
|
4500
4510
|
* Settings applied when a webcontents has been navigated to a matched domain.
|
|
4501
4511
|
*/
|
|
@@ -7995,7 +8005,7 @@ declare type LaunchExternalProcessListener = (code: ExitCode) => void;
|
|
|
7995
8005
|
* @interface
|
|
7996
8006
|
*/
|
|
7997
8007
|
declare type LaunchExternalProcessRule = {
|
|
7998
|
-
behavior:
|
|
8008
|
+
behavior: AllowOrBlock;
|
|
7999
8009
|
match: string[];
|
|
8000
8010
|
};
|
|
8001
8011
|
|
|
@@ -9206,6 +9216,19 @@ declare type MonitorInfoChangedEvent = BaseEvent_9 & OpenFin.MonitorInfo & {
|
|
|
9206
9216
|
*/
|
|
9207
9217
|
declare type MultiInstanceViewBehavior = 'reparent' | 'duplicate' | 'default';
|
|
9208
9218
|
|
|
9219
|
+
/**
|
|
9220
|
+
* Behavior for handling multiple {@link DomainSettingsRule} matches.
|
|
9221
|
+
*/
|
|
9222
|
+
declare type MultipleDomainMatchBehavior =
|
|
9223
|
+
/**
|
|
9224
|
+
* Apply only the first matching rule in the list.
|
|
9225
|
+
*/
|
|
9226
|
+
'pick-first'
|
|
9227
|
+
/**
|
|
9228
|
+
* Deep-merge all matching rules in the list, prioritizing earlier matches. Treats arrays as primitives.
|
|
9229
|
+
*/
|
|
9230
|
+
| 'deep-merge';
|
|
9231
|
+
|
|
9209
9232
|
/**
|
|
9210
9233
|
* @interface
|
|
9211
9234
|
*/
|
|
@@ -9946,6 +9969,7 @@ declare namespace OpenFin {
|
|
|
9946
9969
|
RuntimeInfo,
|
|
9947
9970
|
DefaultDomainSettings,
|
|
9948
9971
|
DefaultDomainSettingsRule,
|
|
9972
|
+
MultipleDomainMatchBehavior,
|
|
9949
9973
|
DomainSettings,
|
|
9950
9974
|
ApiInjection,
|
|
9951
9975
|
DomainApiSettings,
|
|
@@ -9956,6 +9980,7 @@ declare namespace OpenFin {
|
|
|
9956
9980
|
StructuredContentBehavior,
|
|
9957
9981
|
StructuredContentPermissions,
|
|
9958
9982
|
ContentPermission,
|
|
9983
|
+
AllowOrBlock,
|
|
9959
9984
|
ScreenCaptureBehavior,
|
|
9960
9985
|
PerDomainSettings,
|
|
9961
9986
|
CopyPermissions,
|
|
@@ -10309,11 +10334,21 @@ declare type PerDomainSettings = {
|
|
|
10309
10334
|
/**
|
|
10310
10335
|
* {@inheritdoc ScreenCaptureBehavior}
|
|
10311
10336
|
*/
|
|
10312
|
-
screenCapture
|
|
10337
|
+
screenCapture?: ScreenCaptureBehavior;
|
|
10313
10338
|
/**
|
|
10314
10339
|
* {@inheritdoc ClipboardPermissions}
|
|
10315
10340
|
*/
|
|
10316
10341
|
clipboard?: ClipboardPermissions;
|
|
10342
|
+
/**
|
|
10343
|
+
* Whether the content can be printed.
|
|
10344
|
+
* Defaults to 'allow'.
|
|
10345
|
+
* Disables the `print` option in the context menu, and prevents printing via both OpenFin and browser APIs.
|
|
10346
|
+
*/
|
|
10347
|
+
print?: AllowOrBlock;
|
|
10348
|
+
/**
|
|
10349
|
+
* * Controls whether HTML5 dragging for this content is allowed or blocked.
|
|
10350
|
+
*/
|
|
10351
|
+
drag?: AllowOrBlock;
|
|
10317
10352
|
};
|
|
10318
10353
|
};
|
|
10319
10354
|
|
|
@@ -13502,7 +13537,7 @@ declare type RvmLaunchOptions = {
|
|
|
13502
13537
|
* @interface
|
|
13503
13538
|
* Controls whether this content should be allowed or blocked when capturing the screen.
|
|
13504
13539
|
*/
|
|
13505
|
-
declare type ScreenCaptureBehavior =
|
|
13540
|
+
declare type ScreenCaptureBehavior = AllowOrBlock;
|
|
13506
13541
|
|
|
13507
13542
|
/**
|
|
13508
13543
|
* Returned by getScreenCapturePermission. Includes sub-entity permission states and the resulting permission.
|
package/out/fdc3-api-beta.d.ts
CHANGED
|
@@ -81,6 +81,12 @@ declare type AlertRequestedEvent = BaseEvent_5 & {
|
|
|
81
81
|
url: string;
|
|
82
82
|
};
|
|
83
83
|
|
|
84
|
+
/**
|
|
85
|
+
* @interface
|
|
86
|
+
* A string literal union that represents possible values for behaviors in {@link DomainSettings}
|
|
87
|
+
*/
|
|
88
|
+
declare type AllowOrBlock = 'allow' | 'block';
|
|
89
|
+
|
|
84
90
|
declare type AnchorType = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
|
|
85
91
|
|
|
86
92
|
declare type AnyStrategy = ChannelStrategy<any>;
|
|
@@ -1682,7 +1688,7 @@ declare type BaseConfig = {
|
|
|
1682
1688
|
timeout?: number;
|
|
1683
1689
|
};
|
|
1684
1690
|
|
|
1685
|
-
declare type BaseContentBehavior =
|
|
1691
|
+
declare type BaseContentBehavior = AllowOrBlock;
|
|
1686
1692
|
|
|
1687
1693
|
/**
|
|
1688
1694
|
* Properties shared by all content creation rules, regardless of context.
|
|
@@ -4046,7 +4052,7 @@ declare type CopyPermissions = {
|
|
|
4046
4052
|
* block: Disables all copy operations.
|
|
4047
4053
|
* protect: Protects any copied content. Only URLs that have set paste.behavior: 'all-content' will be allowed to paste this content.
|
|
4048
4054
|
*/
|
|
4049
|
-
behavior:
|
|
4055
|
+
behavior: AllowOrBlock | 'protect';
|
|
4050
4056
|
/**
|
|
4051
4057
|
* Additional copy operation options
|
|
4052
4058
|
*/
|
|
@@ -4483,6 +4489,10 @@ declare type DomainSettings = {
|
|
|
4483
4489
|
* more information, see the documentation for the individual properties.
|
|
4484
4490
|
*/
|
|
4485
4491
|
default?: PerDomainSettings;
|
|
4492
|
+
/**
|
|
4493
|
+
* {@inheritDoc MultipleDomainMatchBehavior}
|
|
4494
|
+
*/
|
|
4495
|
+
multipleMatchBehavior?: MultipleDomainMatchBehavior;
|
|
4486
4496
|
};
|
|
4487
4497
|
|
|
4488
4498
|
/**
|
|
@@ -4495,7 +4505,7 @@ declare type DomainSettingsRule = {
|
|
|
4495
4505
|
* Array of [match patterns](https://developer.chrome.com/docs/extensions/develop/concepts/match-patterns) specifying
|
|
4496
4506
|
* the domain(s) for which the rule applies.
|
|
4497
4507
|
*/
|
|
4498
|
-
match
|
|
4508
|
+
match: string[];
|
|
4499
4509
|
/**
|
|
4500
4510
|
* Settings applied when a webcontents has been navigated to a matched domain.
|
|
4501
4511
|
*/
|
|
@@ -7995,7 +8005,7 @@ declare type LaunchExternalProcessListener = (code: ExitCode) => void;
|
|
|
7995
8005
|
* @interface
|
|
7996
8006
|
*/
|
|
7997
8007
|
declare type LaunchExternalProcessRule = {
|
|
7998
|
-
behavior:
|
|
8008
|
+
behavior: AllowOrBlock;
|
|
7999
8009
|
match: string[];
|
|
8000
8010
|
};
|
|
8001
8011
|
|
|
@@ -9206,6 +9216,19 @@ declare type MonitorInfoChangedEvent = BaseEvent_9 & OpenFin.MonitorInfo & {
|
|
|
9206
9216
|
*/
|
|
9207
9217
|
declare type MultiInstanceViewBehavior = 'reparent' | 'duplicate' | 'default';
|
|
9208
9218
|
|
|
9219
|
+
/**
|
|
9220
|
+
* Behavior for handling multiple {@link DomainSettingsRule} matches.
|
|
9221
|
+
*/
|
|
9222
|
+
declare type MultipleDomainMatchBehavior =
|
|
9223
|
+
/**
|
|
9224
|
+
* Apply only the first matching rule in the list.
|
|
9225
|
+
*/
|
|
9226
|
+
'pick-first'
|
|
9227
|
+
/**
|
|
9228
|
+
* Deep-merge all matching rules in the list, prioritizing earlier matches. Treats arrays as primitives.
|
|
9229
|
+
*/
|
|
9230
|
+
| 'deep-merge';
|
|
9231
|
+
|
|
9209
9232
|
/**
|
|
9210
9233
|
* @interface
|
|
9211
9234
|
*/
|
|
@@ -9946,6 +9969,7 @@ declare namespace OpenFin {
|
|
|
9946
9969
|
RuntimeInfo,
|
|
9947
9970
|
DefaultDomainSettings,
|
|
9948
9971
|
DefaultDomainSettingsRule,
|
|
9972
|
+
MultipleDomainMatchBehavior,
|
|
9949
9973
|
DomainSettings,
|
|
9950
9974
|
ApiInjection,
|
|
9951
9975
|
DomainApiSettings,
|
|
@@ -9956,6 +9980,7 @@ declare namespace OpenFin {
|
|
|
9956
9980
|
StructuredContentBehavior,
|
|
9957
9981
|
StructuredContentPermissions,
|
|
9958
9982
|
ContentPermission,
|
|
9983
|
+
AllowOrBlock,
|
|
9959
9984
|
ScreenCaptureBehavior,
|
|
9960
9985
|
PerDomainSettings,
|
|
9961
9986
|
CopyPermissions,
|
|
@@ -10309,11 +10334,21 @@ declare type PerDomainSettings = {
|
|
|
10309
10334
|
/**
|
|
10310
10335
|
* {@inheritdoc ScreenCaptureBehavior}
|
|
10311
10336
|
*/
|
|
10312
|
-
screenCapture
|
|
10337
|
+
screenCapture?: ScreenCaptureBehavior;
|
|
10313
10338
|
/**
|
|
10314
10339
|
* {@inheritdoc ClipboardPermissions}
|
|
10315
10340
|
*/
|
|
10316
10341
|
clipboard?: ClipboardPermissions;
|
|
10342
|
+
/**
|
|
10343
|
+
* Whether the content can be printed.
|
|
10344
|
+
* Defaults to 'allow'.
|
|
10345
|
+
* Disables the `print` option in the context menu, and prevents printing via both OpenFin and browser APIs.
|
|
10346
|
+
*/
|
|
10347
|
+
print?: AllowOrBlock;
|
|
10348
|
+
/**
|
|
10349
|
+
* * Controls whether HTML5 dragging for this content is allowed or blocked.
|
|
10350
|
+
*/
|
|
10351
|
+
drag?: AllowOrBlock;
|
|
10317
10352
|
};
|
|
10318
10353
|
};
|
|
10319
10354
|
|
|
@@ -13502,7 +13537,7 @@ declare type RvmLaunchOptions = {
|
|
|
13502
13537
|
* @interface
|
|
13503
13538
|
* Controls whether this content should be allowed or blocked when capturing the screen.
|
|
13504
13539
|
*/
|
|
13505
|
-
declare type ScreenCaptureBehavior =
|
|
13540
|
+
declare type ScreenCaptureBehavior = AllowOrBlock;
|
|
13506
13541
|
|
|
13507
13542
|
/**
|
|
13508
13543
|
* Returned by getScreenCapturePermission. Includes sub-entity permission states and the resulting permission.
|
package/out/fdc3-api-public.d.ts
CHANGED
|
@@ -81,6 +81,12 @@ declare type AlertRequestedEvent = BaseEvent_5 & {
|
|
|
81
81
|
url: string;
|
|
82
82
|
};
|
|
83
83
|
|
|
84
|
+
/**
|
|
85
|
+
* @interface
|
|
86
|
+
* A string literal union that represents possible values for behaviors in {@link DomainSettings}
|
|
87
|
+
*/
|
|
88
|
+
declare type AllowOrBlock = 'allow' | 'block';
|
|
89
|
+
|
|
84
90
|
declare type AnchorType = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
|
|
85
91
|
|
|
86
92
|
declare type AnyStrategy = ChannelStrategy<any>;
|
|
@@ -1682,7 +1688,7 @@ declare type BaseConfig = {
|
|
|
1682
1688
|
timeout?: number;
|
|
1683
1689
|
};
|
|
1684
1690
|
|
|
1685
|
-
declare type BaseContentBehavior =
|
|
1691
|
+
declare type BaseContentBehavior = AllowOrBlock;
|
|
1686
1692
|
|
|
1687
1693
|
/**
|
|
1688
1694
|
* Properties shared by all content creation rules, regardless of context.
|
|
@@ -4046,7 +4052,7 @@ declare type CopyPermissions = {
|
|
|
4046
4052
|
* block: Disables all copy operations.
|
|
4047
4053
|
* protect: Protects any copied content. Only URLs that have set paste.behavior: 'all-content' will be allowed to paste this content.
|
|
4048
4054
|
*/
|
|
4049
|
-
behavior:
|
|
4055
|
+
behavior: AllowOrBlock | 'protect';
|
|
4050
4056
|
/**
|
|
4051
4057
|
* Additional copy operation options
|
|
4052
4058
|
*/
|
|
@@ -4483,6 +4489,10 @@ declare type DomainSettings = {
|
|
|
4483
4489
|
* more information, see the documentation for the individual properties.
|
|
4484
4490
|
*/
|
|
4485
4491
|
default?: PerDomainSettings;
|
|
4492
|
+
/**
|
|
4493
|
+
* {@inheritDoc MultipleDomainMatchBehavior}
|
|
4494
|
+
*/
|
|
4495
|
+
multipleMatchBehavior?: MultipleDomainMatchBehavior;
|
|
4486
4496
|
};
|
|
4487
4497
|
|
|
4488
4498
|
/**
|
|
@@ -4495,7 +4505,7 @@ declare type DomainSettingsRule = {
|
|
|
4495
4505
|
* Array of [match patterns](https://developer.chrome.com/docs/extensions/develop/concepts/match-patterns) specifying
|
|
4496
4506
|
* the domain(s) for which the rule applies.
|
|
4497
4507
|
*/
|
|
4498
|
-
match
|
|
4508
|
+
match: string[];
|
|
4499
4509
|
/**
|
|
4500
4510
|
* Settings applied when a webcontents has been navigated to a matched domain.
|
|
4501
4511
|
*/
|
|
@@ -7995,7 +8005,7 @@ declare type LaunchExternalProcessListener = (code: ExitCode) => void;
|
|
|
7995
8005
|
* @interface
|
|
7996
8006
|
*/
|
|
7997
8007
|
declare type LaunchExternalProcessRule = {
|
|
7998
|
-
behavior:
|
|
8008
|
+
behavior: AllowOrBlock;
|
|
7999
8009
|
match: string[];
|
|
8000
8010
|
};
|
|
8001
8011
|
|
|
@@ -9206,6 +9216,19 @@ declare type MonitorInfoChangedEvent = BaseEvent_9 & OpenFin.MonitorInfo & {
|
|
|
9206
9216
|
*/
|
|
9207
9217
|
declare type MultiInstanceViewBehavior = 'reparent' | 'duplicate' | 'default';
|
|
9208
9218
|
|
|
9219
|
+
/**
|
|
9220
|
+
* Behavior for handling multiple {@link DomainSettingsRule} matches.
|
|
9221
|
+
*/
|
|
9222
|
+
declare type MultipleDomainMatchBehavior =
|
|
9223
|
+
/**
|
|
9224
|
+
* Apply only the first matching rule in the list.
|
|
9225
|
+
*/
|
|
9226
|
+
'pick-first'
|
|
9227
|
+
/**
|
|
9228
|
+
* Deep-merge all matching rules in the list, prioritizing earlier matches. Treats arrays as primitives.
|
|
9229
|
+
*/
|
|
9230
|
+
| 'deep-merge';
|
|
9231
|
+
|
|
9209
9232
|
/**
|
|
9210
9233
|
* @interface
|
|
9211
9234
|
*/
|
|
@@ -9946,6 +9969,7 @@ declare namespace OpenFin {
|
|
|
9946
9969
|
RuntimeInfo,
|
|
9947
9970
|
DefaultDomainSettings,
|
|
9948
9971
|
DefaultDomainSettingsRule,
|
|
9972
|
+
MultipleDomainMatchBehavior,
|
|
9949
9973
|
DomainSettings,
|
|
9950
9974
|
ApiInjection,
|
|
9951
9975
|
DomainApiSettings,
|
|
@@ -9956,6 +9980,7 @@ declare namespace OpenFin {
|
|
|
9956
9980
|
StructuredContentBehavior,
|
|
9957
9981
|
StructuredContentPermissions,
|
|
9958
9982
|
ContentPermission,
|
|
9983
|
+
AllowOrBlock,
|
|
9959
9984
|
ScreenCaptureBehavior,
|
|
9960
9985
|
PerDomainSettings,
|
|
9961
9986
|
CopyPermissions,
|
|
@@ -10309,11 +10334,21 @@ declare type PerDomainSettings = {
|
|
|
10309
10334
|
/**
|
|
10310
10335
|
* {@inheritdoc ScreenCaptureBehavior}
|
|
10311
10336
|
*/
|
|
10312
|
-
screenCapture
|
|
10337
|
+
screenCapture?: ScreenCaptureBehavior;
|
|
10313
10338
|
/**
|
|
10314
10339
|
* {@inheritdoc ClipboardPermissions}
|
|
10315
10340
|
*/
|
|
10316
10341
|
clipboard?: ClipboardPermissions;
|
|
10342
|
+
/**
|
|
10343
|
+
* Whether the content can be printed.
|
|
10344
|
+
* Defaults to 'allow'.
|
|
10345
|
+
* Disables the `print` option in the context menu, and prevents printing via both OpenFin and browser APIs.
|
|
10346
|
+
*/
|
|
10347
|
+
print?: AllowOrBlock;
|
|
10348
|
+
/**
|
|
10349
|
+
* * Controls whether HTML5 dragging for this content is allowed or blocked.
|
|
10350
|
+
*/
|
|
10351
|
+
drag?: AllowOrBlock;
|
|
10317
10352
|
};
|
|
10318
10353
|
};
|
|
10319
10354
|
|
|
@@ -13502,7 +13537,7 @@ declare type RvmLaunchOptions = {
|
|
|
13502
13537
|
* @interface
|
|
13503
13538
|
* Controls whether this content should be allowed or blocked when capturing the screen.
|
|
13504
13539
|
*/
|
|
13505
|
-
declare type ScreenCaptureBehavior =
|
|
13540
|
+
declare type ScreenCaptureBehavior = AllowOrBlock;
|
|
13506
13541
|
|
|
13507
13542
|
/**
|
|
13508
13543
|
* Returned by getScreenCapturePermission. Includes sub-entity permission states and the resulting permission.
|
package/out/fdc3-api.d.ts
CHANGED
|
@@ -81,6 +81,12 @@ declare type AlertRequestedEvent = BaseEvent_5 & {
|
|
|
81
81
|
url: string;
|
|
82
82
|
};
|
|
83
83
|
|
|
84
|
+
/**
|
|
85
|
+
* @interface
|
|
86
|
+
* A string literal union that represents possible values for behaviors in {@link DomainSettings}
|
|
87
|
+
*/
|
|
88
|
+
declare type AllowOrBlock = 'allow' | 'block';
|
|
89
|
+
|
|
84
90
|
declare type AnchorType = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
|
|
85
91
|
|
|
86
92
|
declare type AnyStrategy = ChannelStrategy<any>;
|
|
@@ -1714,7 +1720,7 @@ declare type BaseConfig = {
|
|
|
1714
1720
|
timeout?: number;
|
|
1715
1721
|
};
|
|
1716
1722
|
|
|
1717
|
-
declare type BaseContentBehavior =
|
|
1723
|
+
declare type BaseContentBehavior = AllowOrBlock;
|
|
1718
1724
|
|
|
1719
1725
|
/**
|
|
1720
1726
|
* Properties shared by all content creation rules, regardless of context.
|
|
@@ -4105,7 +4111,7 @@ declare type CopyPermissions = {
|
|
|
4105
4111
|
* block: Disables all copy operations.
|
|
4106
4112
|
* protect: Protects any copied content. Only URLs that have set paste.behavior: 'all-content' will be allowed to paste this content.
|
|
4107
4113
|
*/
|
|
4108
|
-
behavior:
|
|
4114
|
+
behavior: AllowOrBlock | 'protect';
|
|
4109
4115
|
/**
|
|
4110
4116
|
* Additional copy operation options
|
|
4111
4117
|
*/
|
|
@@ -4542,6 +4548,10 @@ declare type DomainSettings = {
|
|
|
4542
4548
|
* more information, see the documentation for the individual properties.
|
|
4543
4549
|
*/
|
|
4544
4550
|
default?: PerDomainSettings;
|
|
4551
|
+
/**
|
|
4552
|
+
* {@inheritDoc MultipleDomainMatchBehavior}
|
|
4553
|
+
*/
|
|
4554
|
+
multipleMatchBehavior?: MultipleDomainMatchBehavior;
|
|
4545
4555
|
};
|
|
4546
4556
|
|
|
4547
4557
|
/**
|
|
@@ -4554,7 +4564,7 @@ declare type DomainSettingsRule = {
|
|
|
4554
4564
|
* Array of [match patterns](https://developer.chrome.com/docs/extensions/develop/concepts/match-patterns) specifying
|
|
4555
4565
|
* the domain(s) for which the rule applies.
|
|
4556
4566
|
*/
|
|
4557
|
-
match
|
|
4567
|
+
match: string[];
|
|
4558
4568
|
/**
|
|
4559
4569
|
* Settings applied when a webcontents has been navigated to a matched domain.
|
|
4560
4570
|
*/
|
|
@@ -8112,7 +8122,7 @@ declare type LaunchExternalProcessListener = (code: ExitCode) => void;
|
|
|
8112
8122
|
* @interface
|
|
8113
8123
|
*/
|
|
8114
8124
|
declare type LaunchExternalProcessRule = {
|
|
8115
|
-
behavior:
|
|
8125
|
+
behavior: AllowOrBlock;
|
|
8116
8126
|
match: string[];
|
|
8117
8127
|
};
|
|
8118
8128
|
|
|
@@ -9502,6 +9512,19 @@ declare type MonitorInfoChangedEvent = BaseEvent_9 & OpenFin.MonitorInfo & {
|
|
|
9502
9512
|
*/
|
|
9503
9513
|
declare type MultiInstanceViewBehavior = 'reparent' | 'duplicate' | 'default';
|
|
9504
9514
|
|
|
9515
|
+
/**
|
|
9516
|
+
* Behavior for handling multiple {@link DomainSettingsRule} matches.
|
|
9517
|
+
*/
|
|
9518
|
+
declare type MultipleDomainMatchBehavior =
|
|
9519
|
+
/**
|
|
9520
|
+
* Apply only the first matching rule in the list.
|
|
9521
|
+
*/
|
|
9522
|
+
'pick-first'
|
|
9523
|
+
/**
|
|
9524
|
+
* Deep-merge all matching rules in the list, prioritizing earlier matches. Treats arrays as primitives.
|
|
9525
|
+
*/
|
|
9526
|
+
| 'deep-merge';
|
|
9527
|
+
|
|
9505
9528
|
/**
|
|
9506
9529
|
* @interface
|
|
9507
9530
|
*/
|
|
@@ -10264,6 +10287,7 @@ declare namespace OpenFin {
|
|
|
10264
10287
|
RuntimeInfo,
|
|
10265
10288
|
DefaultDomainSettings,
|
|
10266
10289
|
DefaultDomainSettingsRule,
|
|
10290
|
+
MultipleDomainMatchBehavior,
|
|
10267
10291
|
DomainSettings,
|
|
10268
10292
|
ApiInjection,
|
|
10269
10293
|
DomainApiSettings,
|
|
@@ -10274,6 +10298,7 @@ declare namespace OpenFin {
|
|
|
10274
10298
|
StructuredContentBehavior,
|
|
10275
10299
|
StructuredContentPermissions,
|
|
10276
10300
|
ContentPermission,
|
|
10301
|
+
AllowOrBlock,
|
|
10277
10302
|
ScreenCaptureBehavior,
|
|
10278
10303
|
PerDomainSettings,
|
|
10279
10304
|
CopyPermissions,
|
|
@@ -10627,11 +10652,21 @@ declare type PerDomainSettings = {
|
|
|
10627
10652
|
/**
|
|
10628
10653
|
* {@inheritdoc ScreenCaptureBehavior}
|
|
10629
10654
|
*/
|
|
10630
|
-
screenCapture
|
|
10655
|
+
screenCapture?: ScreenCaptureBehavior;
|
|
10631
10656
|
/**
|
|
10632
10657
|
* {@inheritdoc ClipboardPermissions}
|
|
10633
10658
|
*/
|
|
10634
10659
|
clipboard?: ClipboardPermissions;
|
|
10660
|
+
/**
|
|
10661
|
+
* Whether the content can be printed.
|
|
10662
|
+
* Defaults to 'allow'.
|
|
10663
|
+
* Disables the `print` option in the context menu, and prevents printing via both OpenFin and browser APIs.
|
|
10664
|
+
*/
|
|
10665
|
+
print?: AllowOrBlock;
|
|
10666
|
+
/**
|
|
10667
|
+
* * Controls whether HTML5 dragging for this content is allowed or blocked.
|
|
10668
|
+
*/
|
|
10669
|
+
drag?: AllowOrBlock;
|
|
10635
10670
|
};
|
|
10636
10671
|
};
|
|
10637
10672
|
|
|
@@ -13903,7 +13938,7 @@ declare type RvmLaunchOptions = {
|
|
|
13903
13938
|
* @interface
|
|
13904
13939
|
* Controls whether this content should be allowed or blocked when capturing the screen.
|
|
13905
13940
|
*/
|
|
13906
|
-
declare type ScreenCaptureBehavior =
|
|
13941
|
+
declare type ScreenCaptureBehavior = AllowOrBlock;
|
|
13907
13942
|
|
|
13908
13943
|
/**
|
|
13909
13944
|
* Returned by getScreenCapturePermission. Includes sub-entity permission states and the resulting permission.
|
package/out/fdc3-api.js
CHANGED
|
@@ -378,7 +378,13 @@ PrivateChannelClient$1.PrivateChannelClient = PrivateChannelClient;
|
|
|
378
378
|
const getResultPromise = new Promise((resolve, reject) => {
|
|
379
379
|
fin.InterApplicationBus.subscribe({ uuid: '*' }, guid, (intentResult) => {
|
|
380
380
|
resolve(intentResult);
|
|
381
|
-
}).catch(() =>
|
|
381
|
+
}).catch(() => {
|
|
382
|
+
// not supported in web, suppress the error
|
|
383
|
+
if (interopModule.wire.environment.type === 'other') {
|
|
384
|
+
resolve(undefined);
|
|
385
|
+
}
|
|
386
|
+
reject(new Error('getResult is not supported in this environment'));
|
|
387
|
+
});
|
|
382
388
|
});
|
|
383
389
|
// Adding the intentResolutionResultId to the intentObj. Because fireIntent only accepts a single arg, we have to slap it in here.
|
|
384
390
|
const metadata = app ? { target: app, intentResolutionResultId: guid } : { intentResolutionResultId: guid };
|