@openfin/core 40.103.4 → 40.103.7
Sign up to get free protection for your applications and to get access to all the features.
- package/out/mock-alpha.d.ts +41 -6
- package/out/mock-beta.d.ts +41 -6
- package/out/mock-public.d.ts +41 -6
- package/out/stub.d.ts +41 -6
- package/out/stub.js +7 -1
- package/package.json +1 -1
package/out/mock-alpha.d.ts
CHANGED
@@ -84,6 +84,12 @@ 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
|
+
|
87
93
|
declare type AnchorType = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
|
88
94
|
|
89
95
|
declare type AnyStrategy = ChannelStrategy<any>;
|
@@ -1685,7 +1691,7 @@ declare type BaseConfig = {
|
|
1685
1691
|
timeout?: number;
|
1686
1692
|
};
|
1687
1693
|
|
1688
|
-
declare type BaseContentBehavior =
|
1694
|
+
declare type BaseContentBehavior = AllowOrBlock;
|
1689
1695
|
|
1690
1696
|
/**
|
1691
1697
|
* Properties shared by all content creation rules, regardless of context.
|
@@ -4049,7 +4055,7 @@ declare type CopyPermissions = {
|
|
4049
4055
|
* block: Disables all copy operations.
|
4050
4056
|
* protect: Protects any copied content. Only URLs that have set paste.behavior: 'all-content' will be allowed to paste this content.
|
4051
4057
|
*/
|
4052
|
-
behavior:
|
4058
|
+
behavior: AllowOrBlock | 'protect';
|
4053
4059
|
/**
|
4054
4060
|
* Additional copy operation options
|
4055
4061
|
*/
|
@@ -4486,6 +4492,10 @@ declare type DomainSettings = {
|
|
4486
4492
|
* more information, see the documentation for the individual properties.
|
4487
4493
|
*/
|
4488
4494
|
default?: PerDomainSettings;
|
4495
|
+
/**
|
4496
|
+
* {@inheritDoc MultipleDomainMatchBehavior}
|
4497
|
+
*/
|
4498
|
+
multipleMatchBehavior?: MultipleDomainMatchBehavior;
|
4489
4499
|
};
|
4490
4500
|
|
4491
4501
|
/**
|
@@ -4498,7 +4508,7 @@ declare type DomainSettingsRule = {
|
|
4498
4508
|
* Array of [match patterns](https://developer.chrome.com/docs/extensions/develop/concepts/match-patterns) specifying
|
4499
4509
|
* the domain(s) for which the rule applies.
|
4500
4510
|
*/
|
4501
|
-
match
|
4511
|
+
match: string[];
|
4502
4512
|
/**
|
4503
4513
|
* Settings applied when a webcontents has been navigated to a matched domain.
|
4504
4514
|
*/
|
@@ -7653,7 +7663,7 @@ declare type LaunchExternalProcessListener = (code: ExitCode) => void;
|
|
7653
7663
|
* @interface
|
7654
7664
|
*/
|
7655
7665
|
declare type LaunchExternalProcessRule = {
|
7656
|
-
behavior:
|
7666
|
+
behavior: AllowOrBlock;
|
7657
7667
|
match: string[];
|
7658
7668
|
};
|
7659
7669
|
|
@@ -8864,6 +8874,19 @@ declare type MonitorInfoChangedEvent = BaseEvent_9 & OpenFin_2.MonitorInfo & {
|
|
8864
8874
|
*/
|
8865
8875
|
declare type MultiInstanceViewBehavior = 'reparent' | 'duplicate' | 'default';
|
8866
8876
|
|
8877
|
+
/**
|
8878
|
+
* Behavior for handling multiple {@link DomainSettingsRule} matches.
|
8879
|
+
*/
|
8880
|
+
declare type MultipleDomainMatchBehavior =
|
8881
|
+
/**
|
8882
|
+
* Apply only the first matching rule in the list.
|
8883
|
+
*/
|
8884
|
+
'pick-first'
|
8885
|
+
/**
|
8886
|
+
* Deep-merge all matching rules in the list, prioritizing earlier matches. Treats arrays as primitives.
|
8887
|
+
*/
|
8888
|
+
| 'deep-merge';
|
8889
|
+
|
8867
8890
|
/**
|
8868
8891
|
* @interface
|
8869
8892
|
*/
|
@@ -9604,6 +9627,7 @@ declare namespace OpenFin_2 {
|
|
9604
9627
|
RuntimeInfo,
|
9605
9628
|
DefaultDomainSettings,
|
9606
9629
|
DefaultDomainSettingsRule,
|
9630
|
+
MultipleDomainMatchBehavior,
|
9607
9631
|
DomainSettings,
|
9608
9632
|
ApiInjection,
|
9609
9633
|
DomainApiSettings,
|
@@ -9614,6 +9638,7 @@ declare namespace OpenFin_2 {
|
|
9614
9638
|
StructuredContentBehavior,
|
9615
9639
|
StructuredContentPermissions,
|
9616
9640
|
ContentPermission,
|
9641
|
+
AllowOrBlock,
|
9617
9642
|
ScreenCaptureBehavior,
|
9618
9643
|
PerDomainSettings,
|
9619
9644
|
CopyPermissions,
|
@@ -9969,11 +9994,21 @@ declare type PerDomainSettings = {
|
|
9969
9994
|
/**
|
9970
9995
|
* {@inheritdoc ScreenCaptureBehavior}
|
9971
9996
|
*/
|
9972
|
-
screenCapture
|
9997
|
+
screenCapture?: ScreenCaptureBehavior;
|
9973
9998
|
/**
|
9974
9999
|
* {@inheritdoc ClipboardPermissions}
|
9975
10000
|
*/
|
9976
10001
|
clipboard?: ClipboardPermissions;
|
10002
|
+
/**
|
10003
|
+
* Whether the content can be printed.
|
10004
|
+
* Defaults to 'allow'.
|
10005
|
+
* Disables the `print` option in the context menu, and prevents printing via both OpenFin and browser APIs.
|
10006
|
+
*/
|
10007
|
+
print?: AllowOrBlock;
|
10008
|
+
/**
|
10009
|
+
* * Controls whether HTML5 dragging for this content is allowed or blocked.
|
10010
|
+
*/
|
10011
|
+
drag?: AllowOrBlock;
|
9977
10012
|
};
|
9978
10013
|
};
|
9979
10014
|
|
@@ -13162,7 +13197,7 @@ declare type RvmLaunchOptions = {
|
|
13162
13197
|
* @interface
|
13163
13198
|
* Controls whether this content should be allowed or blocked when capturing the screen.
|
13164
13199
|
*/
|
13165
|
-
declare type ScreenCaptureBehavior =
|
13200
|
+
declare type ScreenCaptureBehavior = AllowOrBlock;
|
13166
13201
|
|
13167
13202
|
/**
|
13168
13203
|
* Returned by getScreenCapturePermission. Includes sub-entity permission states and the resulting permission.
|
package/out/mock-beta.d.ts
CHANGED
@@ -84,6 +84,12 @@ 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
|
+
|
87
93
|
declare type AnchorType = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
|
88
94
|
|
89
95
|
declare type AnyStrategy = ChannelStrategy<any>;
|
@@ -1685,7 +1691,7 @@ declare type BaseConfig = {
|
|
1685
1691
|
timeout?: number;
|
1686
1692
|
};
|
1687
1693
|
|
1688
|
-
declare type BaseContentBehavior =
|
1694
|
+
declare type BaseContentBehavior = AllowOrBlock;
|
1689
1695
|
|
1690
1696
|
/**
|
1691
1697
|
* Properties shared by all content creation rules, regardless of context.
|
@@ -4049,7 +4055,7 @@ declare type CopyPermissions = {
|
|
4049
4055
|
* block: Disables all copy operations.
|
4050
4056
|
* protect: Protects any copied content. Only URLs that have set paste.behavior: 'all-content' will be allowed to paste this content.
|
4051
4057
|
*/
|
4052
|
-
behavior:
|
4058
|
+
behavior: AllowOrBlock | 'protect';
|
4053
4059
|
/**
|
4054
4060
|
* Additional copy operation options
|
4055
4061
|
*/
|
@@ -4486,6 +4492,10 @@ declare type DomainSettings = {
|
|
4486
4492
|
* more information, see the documentation for the individual properties.
|
4487
4493
|
*/
|
4488
4494
|
default?: PerDomainSettings;
|
4495
|
+
/**
|
4496
|
+
* {@inheritDoc MultipleDomainMatchBehavior}
|
4497
|
+
*/
|
4498
|
+
multipleMatchBehavior?: MultipleDomainMatchBehavior;
|
4489
4499
|
};
|
4490
4500
|
|
4491
4501
|
/**
|
@@ -4498,7 +4508,7 @@ declare type DomainSettingsRule = {
|
|
4498
4508
|
* Array of [match patterns](https://developer.chrome.com/docs/extensions/develop/concepts/match-patterns) specifying
|
4499
4509
|
* the domain(s) for which the rule applies.
|
4500
4510
|
*/
|
4501
|
-
match
|
4511
|
+
match: string[];
|
4502
4512
|
/**
|
4503
4513
|
* Settings applied when a webcontents has been navigated to a matched domain.
|
4504
4514
|
*/
|
@@ -7653,7 +7663,7 @@ declare type LaunchExternalProcessListener = (code: ExitCode) => void;
|
|
7653
7663
|
* @interface
|
7654
7664
|
*/
|
7655
7665
|
declare type LaunchExternalProcessRule = {
|
7656
|
-
behavior:
|
7666
|
+
behavior: AllowOrBlock;
|
7657
7667
|
match: string[];
|
7658
7668
|
};
|
7659
7669
|
|
@@ -8864,6 +8874,19 @@ declare type MonitorInfoChangedEvent = BaseEvent_9 & OpenFin_2.MonitorInfo & {
|
|
8864
8874
|
*/
|
8865
8875
|
declare type MultiInstanceViewBehavior = 'reparent' | 'duplicate' | 'default';
|
8866
8876
|
|
8877
|
+
/**
|
8878
|
+
* Behavior for handling multiple {@link DomainSettingsRule} matches.
|
8879
|
+
*/
|
8880
|
+
declare type MultipleDomainMatchBehavior =
|
8881
|
+
/**
|
8882
|
+
* Apply only the first matching rule in the list.
|
8883
|
+
*/
|
8884
|
+
'pick-first'
|
8885
|
+
/**
|
8886
|
+
* Deep-merge all matching rules in the list, prioritizing earlier matches. Treats arrays as primitives.
|
8887
|
+
*/
|
8888
|
+
| 'deep-merge';
|
8889
|
+
|
8867
8890
|
/**
|
8868
8891
|
* @interface
|
8869
8892
|
*/
|
@@ -9604,6 +9627,7 @@ declare namespace OpenFin_2 {
|
|
9604
9627
|
RuntimeInfo,
|
9605
9628
|
DefaultDomainSettings,
|
9606
9629
|
DefaultDomainSettingsRule,
|
9630
|
+
MultipleDomainMatchBehavior,
|
9607
9631
|
DomainSettings,
|
9608
9632
|
ApiInjection,
|
9609
9633
|
DomainApiSettings,
|
@@ -9614,6 +9638,7 @@ declare namespace OpenFin_2 {
|
|
9614
9638
|
StructuredContentBehavior,
|
9615
9639
|
StructuredContentPermissions,
|
9616
9640
|
ContentPermission,
|
9641
|
+
AllowOrBlock,
|
9617
9642
|
ScreenCaptureBehavior,
|
9618
9643
|
PerDomainSettings,
|
9619
9644
|
CopyPermissions,
|
@@ -9969,11 +9994,21 @@ declare type PerDomainSettings = {
|
|
9969
9994
|
/**
|
9970
9995
|
* {@inheritdoc ScreenCaptureBehavior}
|
9971
9996
|
*/
|
9972
|
-
screenCapture
|
9997
|
+
screenCapture?: ScreenCaptureBehavior;
|
9973
9998
|
/**
|
9974
9999
|
* {@inheritdoc ClipboardPermissions}
|
9975
10000
|
*/
|
9976
10001
|
clipboard?: ClipboardPermissions;
|
10002
|
+
/**
|
10003
|
+
* Whether the content can be printed.
|
10004
|
+
* Defaults to 'allow'.
|
10005
|
+
* Disables the `print` option in the context menu, and prevents printing via both OpenFin and browser APIs.
|
10006
|
+
*/
|
10007
|
+
print?: AllowOrBlock;
|
10008
|
+
/**
|
10009
|
+
* * Controls whether HTML5 dragging for this content is allowed or blocked.
|
10010
|
+
*/
|
10011
|
+
drag?: AllowOrBlock;
|
9977
10012
|
};
|
9978
10013
|
};
|
9979
10014
|
|
@@ -13162,7 +13197,7 @@ declare type RvmLaunchOptions = {
|
|
13162
13197
|
* @interface
|
13163
13198
|
* Controls whether this content should be allowed or blocked when capturing the screen.
|
13164
13199
|
*/
|
13165
|
-
declare type ScreenCaptureBehavior =
|
13200
|
+
declare type ScreenCaptureBehavior = AllowOrBlock;
|
13166
13201
|
|
13167
13202
|
/**
|
13168
13203
|
* Returned by getScreenCapturePermission. Includes sub-entity permission states and the resulting permission.
|
package/out/mock-public.d.ts
CHANGED
@@ -84,6 +84,12 @@ 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
|
+
|
87
93
|
declare type AnchorType = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
|
88
94
|
|
89
95
|
declare type AnyStrategy = ChannelStrategy<any>;
|
@@ -1685,7 +1691,7 @@ declare type BaseConfig = {
|
|
1685
1691
|
timeout?: number;
|
1686
1692
|
};
|
1687
1693
|
|
1688
|
-
declare type BaseContentBehavior =
|
1694
|
+
declare type BaseContentBehavior = AllowOrBlock;
|
1689
1695
|
|
1690
1696
|
/**
|
1691
1697
|
* Properties shared by all content creation rules, regardless of context.
|
@@ -4049,7 +4055,7 @@ declare type CopyPermissions = {
|
|
4049
4055
|
* block: Disables all copy operations.
|
4050
4056
|
* protect: Protects any copied content. Only URLs that have set paste.behavior: 'all-content' will be allowed to paste this content.
|
4051
4057
|
*/
|
4052
|
-
behavior:
|
4058
|
+
behavior: AllowOrBlock | 'protect';
|
4053
4059
|
/**
|
4054
4060
|
* Additional copy operation options
|
4055
4061
|
*/
|
@@ -4486,6 +4492,10 @@ declare type DomainSettings = {
|
|
4486
4492
|
* more information, see the documentation for the individual properties.
|
4487
4493
|
*/
|
4488
4494
|
default?: PerDomainSettings;
|
4495
|
+
/**
|
4496
|
+
* {@inheritDoc MultipleDomainMatchBehavior}
|
4497
|
+
*/
|
4498
|
+
multipleMatchBehavior?: MultipleDomainMatchBehavior;
|
4489
4499
|
};
|
4490
4500
|
|
4491
4501
|
/**
|
@@ -4498,7 +4508,7 @@ declare type DomainSettingsRule = {
|
|
4498
4508
|
* Array of [match patterns](https://developer.chrome.com/docs/extensions/develop/concepts/match-patterns) specifying
|
4499
4509
|
* the domain(s) for which the rule applies.
|
4500
4510
|
*/
|
4501
|
-
match
|
4511
|
+
match: string[];
|
4502
4512
|
/**
|
4503
4513
|
* Settings applied when a webcontents has been navigated to a matched domain.
|
4504
4514
|
*/
|
@@ -7653,7 +7663,7 @@ declare type LaunchExternalProcessListener = (code: ExitCode) => void;
|
|
7653
7663
|
* @interface
|
7654
7664
|
*/
|
7655
7665
|
declare type LaunchExternalProcessRule = {
|
7656
|
-
behavior:
|
7666
|
+
behavior: AllowOrBlock;
|
7657
7667
|
match: string[];
|
7658
7668
|
};
|
7659
7669
|
|
@@ -8864,6 +8874,19 @@ declare type MonitorInfoChangedEvent = BaseEvent_9 & OpenFin_2.MonitorInfo & {
|
|
8864
8874
|
*/
|
8865
8875
|
declare type MultiInstanceViewBehavior = 'reparent' | 'duplicate' | 'default';
|
8866
8876
|
|
8877
|
+
/**
|
8878
|
+
* Behavior for handling multiple {@link DomainSettingsRule} matches.
|
8879
|
+
*/
|
8880
|
+
declare type MultipleDomainMatchBehavior =
|
8881
|
+
/**
|
8882
|
+
* Apply only the first matching rule in the list.
|
8883
|
+
*/
|
8884
|
+
'pick-first'
|
8885
|
+
/**
|
8886
|
+
* Deep-merge all matching rules in the list, prioritizing earlier matches. Treats arrays as primitives.
|
8887
|
+
*/
|
8888
|
+
| 'deep-merge';
|
8889
|
+
|
8867
8890
|
/**
|
8868
8891
|
* @interface
|
8869
8892
|
*/
|
@@ -9604,6 +9627,7 @@ declare namespace OpenFin_2 {
|
|
9604
9627
|
RuntimeInfo,
|
9605
9628
|
DefaultDomainSettings,
|
9606
9629
|
DefaultDomainSettingsRule,
|
9630
|
+
MultipleDomainMatchBehavior,
|
9607
9631
|
DomainSettings,
|
9608
9632
|
ApiInjection,
|
9609
9633
|
DomainApiSettings,
|
@@ -9614,6 +9638,7 @@ declare namespace OpenFin_2 {
|
|
9614
9638
|
StructuredContentBehavior,
|
9615
9639
|
StructuredContentPermissions,
|
9616
9640
|
ContentPermission,
|
9641
|
+
AllowOrBlock,
|
9617
9642
|
ScreenCaptureBehavior,
|
9618
9643
|
PerDomainSettings,
|
9619
9644
|
CopyPermissions,
|
@@ -9969,11 +9994,21 @@ declare type PerDomainSettings = {
|
|
9969
9994
|
/**
|
9970
9995
|
* {@inheritdoc ScreenCaptureBehavior}
|
9971
9996
|
*/
|
9972
|
-
screenCapture
|
9997
|
+
screenCapture?: ScreenCaptureBehavior;
|
9973
9998
|
/**
|
9974
9999
|
* {@inheritdoc ClipboardPermissions}
|
9975
10000
|
*/
|
9976
10001
|
clipboard?: ClipboardPermissions;
|
10002
|
+
/**
|
10003
|
+
* Whether the content can be printed.
|
10004
|
+
* Defaults to 'allow'.
|
10005
|
+
* Disables the `print` option in the context menu, and prevents printing via both OpenFin and browser APIs.
|
10006
|
+
*/
|
10007
|
+
print?: AllowOrBlock;
|
10008
|
+
/**
|
10009
|
+
* * Controls whether HTML5 dragging for this content is allowed or blocked.
|
10010
|
+
*/
|
10011
|
+
drag?: AllowOrBlock;
|
9977
10012
|
};
|
9978
10013
|
};
|
9979
10014
|
|
@@ -13162,7 +13197,7 @@ declare type RvmLaunchOptions = {
|
|
13162
13197
|
* @interface
|
13163
13198
|
* Controls whether this content should be allowed or blocked when capturing the screen.
|
13164
13199
|
*/
|
13165
|
-
declare type ScreenCaptureBehavior =
|
13200
|
+
declare type ScreenCaptureBehavior = AllowOrBlock;
|
13166
13201
|
|
13167
13202
|
/**
|
13168
13203
|
* Returned by getScreenCapturePermission. Includes sub-entity permission states and the resulting permission.
|
package/out/stub.d.ts
CHANGED
@@ -84,6 +84,12 @@ 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
|
+
|
87
93
|
declare type AnchorType = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
|
88
94
|
|
89
95
|
declare type AnyStrategy = ChannelStrategy<any>;
|
@@ -1717,7 +1723,7 @@ declare type BaseConfig = {
|
|
1717
1723
|
timeout?: number;
|
1718
1724
|
};
|
1719
1725
|
|
1720
|
-
declare type BaseContentBehavior =
|
1726
|
+
declare type BaseContentBehavior = AllowOrBlock;
|
1721
1727
|
|
1722
1728
|
/**
|
1723
1729
|
* Properties shared by all content creation rules, regardless of context.
|
@@ -4108,7 +4114,7 @@ declare type CopyPermissions = {
|
|
4108
4114
|
* block: Disables all copy operations.
|
4109
4115
|
* protect: Protects any copied content. Only URLs that have set paste.behavior: 'all-content' will be allowed to paste this content.
|
4110
4116
|
*/
|
4111
|
-
behavior:
|
4117
|
+
behavior: AllowOrBlock | 'protect';
|
4112
4118
|
/**
|
4113
4119
|
* Additional copy operation options
|
4114
4120
|
*/
|
@@ -4545,6 +4551,10 @@ declare type DomainSettings = {
|
|
4545
4551
|
* more information, see the documentation for the individual properties.
|
4546
4552
|
*/
|
4547
4553
|
default?: PerDomainSettings;
|
4554
|
+
/**
|
4555
|
+
* {@inheritDoc MultipleDomainMatchBehavior}
|
4556
|
+
*/
|
4557
|
+
multipleMatchBehavior?: MultipleDomainMatchBehavior;
|
4548
4558
|
};
|
4549
4559
|
|
4550
4560
|
/**
|
@@ -4557,7 +4567,7 @@ declare type DomainSettingsRule = {
|
|
4557
4567
|
* Array of [match patterns](https://developer.chrome.com/docs/extensions/develop/concepts/match-patterns) specifying
|
4558
4568
|
* the domain(s) for which the rule applies.
|
4559
4569
|
*/
|
4560
|
-
match
|
4570
|
+
match: string[];
|
4561
4571
|
/**
|
4562
4572
|
* Settings applied when a webcontents has been navigated to a matched domain.
|
4563
4573
|
*/
|
@@ -7770,7 +7780,7 @@ declare type LaunchExternalProcessListener = (code: ExitCode) => void;
|
|
7770
7780
|
* @interface
|
7771
7781
|
*/
|
7772
7782
|
declare type LaunchExternalProcessRule = {
|
7773
|
-
behavior:
|
7783
|
+
behavior: AllowOrBlock;
|
7774
7784
|
match: string[];
|
7775
7785
|
};
|
7776
7786
|
|
@@ -9160,6 +9170,19 @@ declare type MonitorInfoChangedEvent = BaseEvent_9 & OpenFin_2.MonitorInfo & {
|
|
9160
9170
|
*/
|
9161
9171
|
declare type MultiInstanceViewBehavior = 'reparent' | 'duplicate' | 'default';
|
9162
9172
|
|
9173
|
+
/**
|
9174
|
+
* Behavior for handling multiple {@link DomainSettingsRule} matches.
|
9175
|
+
*/
|
9176
|
+
declare type MultipleDomainMatchBehavior =
|
9177
|
+
/**
|
9178
|
+
* Apply only the first matching rule in the list.
|
9179
|
+
*/
|
9180
|
+
'pick-first'
|
9181
|
+
/**
|
9182
|
+
* Deep-merge all matching rules in the list, prioritizing earlier matches. Treats arrays as primitives.
|
9183
|
+
*/
|
9184
|
+
| 'deep-merge';
|
9185
|
+
|
9163
9186
|
/**
|
9164
9187
|
* @interface
|
9165
9188
|
*/
|
@@ -9922,6 +9945,7 @@ declare namespace OpenFin_2 {
|
|
9922
9945
|
RuntimeInfo,
|
9923
9946
|
DefaultDomainSettings,
|
9924
9947
|
DefaultDomainSettingsRule,
|
9948
|
+
MultipleDomainMatchBehavior,
|
9925
9949
|
DomainSettings,
|
9926
9950
|
ApiInjection,
|
9927
9951
|
DomainApiSettings,
|
@@ -9932,6 +9956,7 @@ declare namespace OpenFin_2 {
|
|
9932
9956
|
StructuredContentBehavior,
|
9933
9957
|
StructuredContentPermissions,
|
9934
9958
|
ContentPermission,
|
9959
|
+
AllowOrBlock,
|
9935
9960
|
ScreenCaptureBehavior,
|
9936
9961
|
PerDomainSettings,
|
9937
9962
|
CopyPermissions,
|
@@ -10287,11 +10312,21 @@ declare type PerDomainSettings = {
|
|
10287
10312
|
/**
|
10288
10313
|
* {@inheritdoc ScreenCaptureBehavior}
|
10289
10314
|
*/
|
10290
|
-
screenCapture
|
10315
|
+
screenCapture?: ScreenCaptureBehavior;
|
10291
10316
|
/**
|
10292
10317
|
* {@inheritdoc ClipboardPermissions}
|
10293
10318
|
*/
|
10294
10319
|
clipboard?: ClipboardPermissions;
|
10320
|
+
/**
|
10321
|
+
* Whether the content can be printed.
|
10322
|
+
* Defaults to 'allow'.
|
10323
|
+
* Disables the `print` option in the context menu, and prevents printing via both OpenFin and browser APIs.
|
10324
|
+
*/
|
10325
|
+
print?: AllowOrBlock;
|
10326
|
+
/**
|
10327
|
+
* * Controls whether HTML5 dragging for this content is allowed or blocked.
|
10328
|
+
*/
|
10329
|
+
drag?: AllowOrBlock;
|
10295
10330
|
};
|
10296
10331
|
};
|
10297
10332
|
|
@@ -13563,7 +13598,7 @@ declare type RvmLaunchOptions = {
|
|
13563
13598
|
* @interface
|
13564
13599
|
* Controls whether this content should be allowed or blocked when capturing the screen.
|
13565
13600
|
*/
|
13566
|
-
declare type ScreenCaptureBehavior =
|
13601
|
+
declare type ScreenCaptureBehavior = AllowOrBlock;
|
13567
13602
|
|
13568
13603
|
/**
|
13569
13604
|
* Returned by getScreenCapturePermission. Includes sub-entity permission states and the resulting permission.
|
package/out/stub.js
CHANGED
@@ -15333,7 +15333,13 @@ PrivateChannelClient$1.PrivateChannelClient = PrivateChannelClient;
|
|
15333
15333
|
const getResultPromise = new Promise((resolve, reject) => {
|
15334
15334
|
fin.InterApplicationBus.subscribe({ uuid: '*' }, guid, (intentResult) => {
|
15335
15335
|
resolve(intentResult);
|
15336
|
-
}).catch(() =>
|
15336
|
+
}).catch(() => {
|
15337
|
+
// not supported in web, suppress the error
|
15338
|
+
if (interopModule.wire.environment.type === 'other') {
|
15339
|
+
resolve(undefined);
|
15340
|
+
}
|
15341
|
+
reject(new Error('getResult is not supported in this environment'));
|
15342
|
+
});
|
15337
15343
|
});
|
15338
15344
|
// Adding the intentResolutionResultId to the intentObj. Because fireIntent only accepts a single arg, we have to slap it in here.
|
15339
15345
|
const metadata = app ? { target: app, intentResolutionResultId: guid } : { intentResolutionResultId: guid };
|