@openfin/core 42.100.4 → 42.100.5
Sign up to get free protection for your applications and to get access to all the features.
- package/out/mock-alpha.d.ts +21 -4
- package/out/mock-beta.d.ts +21 -4
- package/out/mock-public.d.ts +21 -4
- package/out/stub.d.ts +21 -4
- 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.
|
@@ -4056,7 +4062,7 @@ declare type CopyPermissions = {
|
|
4056
4062
|
* block: Disables all copy operations.
|
4057
4063
|
* protect: Protects any copied content. Only URLs that have set paste.behavior: 'all-content' will be allowed to paste this content.
|
4058
4064
|
*/
|
4059
|
-
behavior:
|
4065
|
+
behavior: AllowOrBlock | 'protect';
|
4060
4066
|
/**
|
4061
4067
|
* Additional copy operation options
|
4062
4068
|
*/
|
@@ -7668,7 +7674,7 @@ declare type LaunchExternalProcessListener = (code: ExitCode) => void;
|
|
7668
7674
|
* @interface
|
7669
7675
|
*/
|
7670
7676
|
declare type LaunchExternalProcessRule = {
|
7671
|
-
behavior:
|
7677
|
+
behavior: AllowOrBlock;
|
7672
7678
|
match: string[];
|
7673
7679
|
};
|
7674
7680
|
|
@@ -9674,6 +9680,7 @@ declare namespace OpenFin_2 {
|
|
9674
9680
|
StructuredContentBehavior,
|
9675
9681
|
StructuredContentPermissions,
|
9676
9682
|
ContentPermission,
|
9683
|
+
AllowOrBlock,
|
9677
9684
|
ScreenCaptureBehavior,
|
9678
9685
|
PerDomainSettings,
|
9679
9686
|
CopyPermissions,
|
@@ -10034,6 +10041,16 @@ declare type PerDomainSettings = {
|
|
10034
10041
|
* {@inheritdoc ClipboardPermissions}
|
10035
10042
|
*/
|
10036
10043
|
clipboard?: ClipboardPermissions;
|
10044
|
+
/**
|
10045
|
+
* Whether the content can be printed.
|
10046
|
+
* Defaults to 'allow'.
|
10047
|
+
* Disables the `print` option in the context menu, and prevents printing via both OpenFin and browser APIs.
|
10048
|
+
*/
|
10049
|
+
print?: AllowOrBlock;
|
10050
|
+
/**
|
10051
|
+
* * Controls whether HTML5 dragging for this content is allowed or blocked.
|
10052
|
+
*/
|
10053
|
+
drag?: AllowOrBlock;
|
10037
10054
|
};
|
10038
10055
|
};
|
10039
10056
|
|
@@ -13222,7 +13239,7 @@ declare type RvmLaunchOptions = {
|
|
13222
13239
|
* @interface
|
13223
13240
|
* Controls whether this content should be allowed or blocked when capturing the screen.
|
13224
13241
|
*/
|
13225
|
-
declare type ScreenCaptureBehavior =
|
13242
|
+
declare type ScreenCaptureBehavior = AllowOrBlock;
|
13226
13243
|
|
13227
13244
|
/**
|
13228
13245
|
* 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.
|
@@ -4056,7 +4062,7 @@ declare type CopyPermissions = {
|
|
4056
4062
|
* block: Disables all copy operations.
|
4057
4063
|
* protect: Protects any copied content. Only URLs that have set paste.behavior: 'all-content' will be allowed to paste this content.
|
4058
4064
|
*/
|
4059
|
-
behavior:
|
4065
|
+
behavior: AllowOrBlock | 'protect';
|
4060
4066
|
/**
|
4061
4067
|
* Additional copy operation options
|
4062
4068
|
*/
|
@@ -7668,7 +7674,7 @@ declare type LaunchExternalProcessListener = (code: ExitCode) => void;
|
|
7668
7674
|
* @interface
|
7669
7675
|
*/
|
7670
7676
|
declare type LaunchExternalProcessRule = {
|
7671
|
-
behavior:
|
7677
|
+
behavior: AllowOrBlock;
|
7672
7678
|
match: string[];
|
7673
7679
|
};
|
7674
7680
|
|
@@ -9674,6 +9680,7 @@ declare namespace OpenFin_2 {
|
|
9674
9680
|
StructuredContentBehavior,
|
9675
9681
|
StructuredContentPermissions,
|
9676
9682
|
ContentPermission,
|
9683
|
+
AllowOrBlock,
|
9677
9684
|
ScreenCaptureBehavior,
|
9678
9685
|
PerDomainSettings,
|
9679
9686
|
CopyPermissions,
|
@@ -10034,6 +10041,16 @@ declare type PerDomainSettings = {
|
|
10034
10041
|
* {@inheritdoc ClipboardPermissions}
|
10035
10042
|
*/
|
10036
10043
|
clipboard?: ClipboardPermissions;
|
10044
|
+
/**
|
10045
|
+
* Whether the content can be printed.
|
10046
|
+
* Defaults to 'allow'.
|
10047
|
+
* Disables the `print` option in the context menu, and prevents printing via both OpenFin and browser APIs.
|
10048
|
+
*/
|
10049
|
+
print?: AllowOrBlock;
|
10050
|
+
/**
|
10051
|
+
* * Controls whether HTML5 dragging for this content is allowed or blocked.
|
10052
|
+
*/
|
10053
|
+
drag?: AllowOrBlock;
|
10037
10054
|
};
|
10038
10055
|
};
|
10039
10056
|
|
@@ -13222,7 +13239,7 @@ declare type RvmLaunchOptions = {
|
|
13222
13239
|
* @interface
|
13223
13240
|
* Controls whether this content should be allowed or blocked when capturing the screen.
|
13224
13241
|
*/
|
13225
|
-
declare type ScreenCaptureBehavior =
|
13242
|
+
declare type ScreenCaptureBehavior = AllowOrBlock;
|
13226
13243
|
|
13227
13244
|
/**
|
13228
13245
|
* 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.
|
@@ -4056,7 +4062,7 @@ declare type CopyPermissions = {
|
|
4056
4062
|
* block: Disables all copy operations.
|
4057
4063
|
* protect: Protects any copied content. Only URLs that have set paste.behavior: 'all-content' will be allowed to paste this content.
|
4058
4064
|
*/
|
4059
|
-
behavior:
|
4065
|
+
behavior: AllowOrBlock | 'protect';
|
4060
4066
|
/**
|
4061
4067
|
* Additional copy operation options
|
4062
4068
|
*/
|
@@ -7668,7 +7674,7 @@ declare type LaunchExternalProcessListener = (code: ExitCode) => void;
|
|
7668
7674
|
* @interface
|
7669
7675
|
*/
|
7670
7676
|
declare type LaunchExternalProcessRule = {
|
7671
|
-
behavior:
|
7677
|
+
behavior: AllowOrBlock;
|
7672
7678
|
match: string[];
|
7673
7679
|
};
|
7674
7680
|
|
@@ -9674,6 +9680,7 @@ declare namespace OpenFin_2 {
|
|
9674
9680
|
StructuredContentBehavior,
|
9675
9681
|
StructuredContentPermissions,
|
9676
9682
|
ContentPermission,
|
9683
|
+
AllowOrBlock,
|
9677
9684
|
ScreenCaptureBehavior,
|
9678
9685
|
PerDomainSettings,
|
9679
9686
|
CopyPermissions,
|
@@ -10034,6 +10041,16 @@ declare type PerDomainSettings = {
|
|
10034
10041
|
* {@inheritdoc ClipboardPermissions}
|
10035
10042
|
*/
|
10036
10043
|
clipboard?: ClipboardPermissions;
|
10044
|
+
/**
|
10045
|
+
* Whether the content can be printed.
|
10046
|
+
* Defaults to 'allow'.
|
10047
|
+
* Disables the `print` option in the context menu, and prevents printing via both OpenFin and browser APIs.
|
10048
|
+
*/
|
10049
|
+
print?: AllowOrBlock;
|
10050
|
+
/**
|
10051
|
+
* * Controls whether HTML5 dragging for this content is allowed or blocked.
|
10052
|
+
*/
|
10053
|
+
drag?: AllowOrBlock;
|
10037
10054
|
};
|
10038
10055
|
};
|
10039
10056
|
|
@@ -13222,7 +13239,7 @@ declare type RvmLaunchOptions = {
|
|
13222
13239
|
* @interface
|
13223
13240
|
* Controls whether this content should be allowed or blocked when capturing the screen.
|
13224
13241
|
*/
|
13225
|
-
declare type ScreenCaptureBehavior =
|
13242
|
+
declare type ScreenCaptureBehavior = AllowOrBlock;
|
13226
13243
|
|
13227
13244
|
/**
|
13228
13245
|
* 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.
|
@@ -4115,7 +4121,7 @@ declare type CopyPermissions = {
|
|
4115
4121
|
* block: Disables all copy operations.
|
4116
4122
|
* protect: Protects any copied content. Only URLs that have set paste.behavior: 'all-content' will be allowed to paste this content.
|
4117
4123
|
*/
|
4118
|
-
behavior:
|
4124
|
+
behavior: AllowOrBlock | 'protect';
|
4119
4125
|
/**
|
4120
4126
|
* Additional copy operation options
|
4121
4127
|
*/
|
@@ -7785,7 +7791,7 @@ declare type LaunchExternalProcessListener = (code: ExitCode) => void;
|
|
7785
7791
|
* @interface
|
7786
7792
|
*/
|
7787
7793
|
declare type LaunchExternalProcessRule = {
|
7788
|
-
behavior:
|
7794
|
+
behavior: AllowOrBlock;
|
7789
7795
|
match: string[];
|
7790
7796
|
};
|
7791
7797
|
|
@@ -9992,6 +9998,7 @@ declare namespace OpenFin_2 {
|
|
9992
9998
|
StructuredContentBehavior,
|
9993
9999
|
StructuredContentPermissions,
|
9994
10000
|
ContentPermission,
|
10001
|
+
AllowOrBlock,
|
9995
10002
|
ScreenCaptureBehavior,
|
9996
10003
|
PerDomainSettings,
|
9997
10004
|
CopyPermissions,
|
@@ -10352,6 +10359,16 @@ declare type PerDomainSettings = {
|
|
10352
10359
|
* {@inheritdoc ClipboardPermissions}
|
10353
10360
|
*/
|
10354
10361
|
clipboard?: ClipboardPermissions;
|
10362
|
+
/**
|
10363
|
+
* Whether the content can be printed.
|
10364
|
+
* Defaults to 'allow'.
|
10365
|
+
* Disables the `print` option in the context menu, and prevents printing via both OpenFin and browser APIs.
|
10366
|
+
*/
|
10367
|
+
print?: AllowOrBlock;
|
10368
|
+
/**
|
10369
|
+
* * Controls whether HTML5 dragging for this content is allowed or blocked.
|
10370
|
+
*/
|
10371
|
+
drag?: AllowOrBlock;
|
10355
10372
|
};
|
10356
10373
|
};
|
10357
10374
|
|
@@ -13623,7 +13640,7 @@ declare type RvmLaunchOptions = {
|
|
13623
13640
|
* @interface
|
13624
13641
|
* Controls whether this content should be allowed or blocked when capturing the screen.
|
13625
13642
|
*/
|
13626
|
-
declare type ScreenCaptureBehavior =
|
13643
|
+
declare type ScreenCaptureBehavior = AllowOrBlock;
|
13627
13644
|
|
13628
13645
|
/**
|
13629
13646
|
* Returned by getScreenCapturePermission. Includes sub-entity permission states and the resulting permission.
|