@openfin/core 40.103.5 → 40.103.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -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 = 'allow' | 'block';
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: 'allow' | 'block' | 'protect';
4058
+ behavior: AllowOrBlock | 'protect';
4053
4059
  /**
4054
4060
  * Additional copy operation options
4055
4061
  */
@@ -7657,7 +7663,7 @@ declare type LaunchExternalProcessListener = (code: ExitCode) => void;
7657
7663
  * @interface
7658
7664
  */
7659
7665
  declare type LaunchExternalProcessRule = {
7660
- behavior: 'allow' | 'block';
7666
+ behavior: AllowOrBlock;
7661
7667
  match: string[];
7662
7668
  };
7663
7669
 
@@ -9632,6 +9638,7 @@ declare namespace OpenFin_2 {
9632
9638
  StructuredContentBehavior,
9633
9639
  StructuredContentPermissions,
9634
9640
  ContentPermission,
9641
+ AllowOrBlock,
9635
9642
  ScreenCaptureBehavior,
9636
9643
  PerDomainSettings,
9637
9644
  CopyPermissions,
@@ -9992,6 +9999,16 @@ declare type PerDomainSettings = {
9992
9999
  * {@inheritdoc ClipboardPermissions}
9993
10000
  */
9994
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;
9995
10012
  };
9996
10013
  };
9997
10014
 
@@ -13180,7 +13197,7 @@ declare type RvmLaunchOptions = {
13180
13197
  * @interface
13181
13198
  * Controls whether this content should be allowed or blocked when capturing the screen.
13182
13199
  */
13183
- declare type ScreenCaptureBehavior = 'allow' | 'block';
13200
+ declare type ScreenCaptureBehavior = AllowOrBlock;
13184
13201
 
13185
13202
  /**
13186
13203
  * Returned by getScreenCapturePermission. Includes sub-entity permission states and the resulting permission.
@@ -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 = 'allow' | 'block';
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: 'allow' | 'block' | 'protect';
4058
+ behavior: AllowOrBlock | 'protect';
4053
4059
  /**
4054
4060
  * Additional copy operation options
4055
4061
  */
@@ -7657,7 +7663,7 @@ declare type LaunchExternalProcessListener = (code: ExitCode) => void;
7657
7663
  * @interface
7658
7664
  */
7659
7665
  declare type LaunchExternalProcessRule = {
7660
- behavior: 'allow' | 'block';
7666
+ behavior: AllowOrBlock;
7661
7667
  match: string[];
7662
7668
  };
7663
7669
 
@@ -9632,6 +9638,7 @@ declare namespace OpenFin_2 {
9632
9638
  StructuredContentBehavior,
9633
9639
  StructuredContentPermissions,
9634
9640
  ContentPermission,
9641
+ AllowOrBlock,
9635
9642
  ScreenCaptureBehavior,
9636
9643
  PerDomainSettings,
9637
9644
  CopyPermissions,
@@ -9992,6 +9999,16 @@ declare type PerDomainSettings = {
9992
9999
  * {@inheritdoc ClipboardPermissions}
9993
10000
  */
9994
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;
9995
10012
  };
9996
10013
  };
9997
10014
 
@@ -13180,7 +13197,7 @@ declare type RvmLaunchOptions = {
13180
13197
  * @interface
13181
13198
  * Controls whether this content should be allowed or blocked when capturing the screen.
13182
13199
  */
13183
- declare type ScreenCaptureBehavior = 'allow' | 'block';
13200
+ declare type ScreenCaptureBehavior = AllowOrBlock;
13184
13201
 
13185
13202
  /**
13186
13203
  * Returned by getScreenCapturePermission. Includes sub-entity permission states and the resulting permission.
@@ -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 = 'allow' | 'block';
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: 'allow' | 'block' | 'protect';
4058
+ behavior: AllowOrBlock | 'protect';
4053
4059
  /**
4054
4060
  * Additional copy operation options
4055
4061
  */
@@ -7657,7 +7663,7 @@ declare type LaunchExternalProcessListener = (code: ExitCode) => void;
7657
7663
  * @interface
7658
7664
  */
7659
7665
  declare type LaunchExternalProcessRule = {
7660
- behavior: 'allow' | 'block';
7666
+ behavior: AllowOrBlock;
7661
7667
  match: string[];
7662
7668
  };
7663
7669
 
@@ -9632,6 +9638,7 @@ declare namespace OpenFin_2 {
9632
9638
  StructuredContentBehavior,
9633
9639
  StructuredContentPermissions,
9634
9640
  ContentPermission,
9641
+ AllowOrBlock,
9635
9642
  ScreenCaptureBehavior,
9636
9643
  PerDomainSettings,
9637
9644
  CopyPermissions,
@@ -9992,6 +9999,16 @@ declare type PerDomainSettings = {
9992
9999
  * {@inheritdoc ClipboardPermissions}
9993
10000
  */
9994
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;
9995
10012
  };
9996
10013
  };
9997
10014
 
@@ -13180,7 +13197,7 @@ declare type RvmLaunchOptions = {
13180
13197
  * @interface
13181
13198
  * Controls whether this content should be allowed or blocked when capturing the screen.
13182
13199
  */
13183
- declare type ScreenCaptureBehavior = 'allow' | 'block';
13200
+ declare type ScreenCaptureBehavior = AllowOrBlock;
13184
13201
 
13185
13202
  /**
13186
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 = 'allow' | 'block';
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: 'allow' | 'block' | 'protect';
4117
+ behavior: AllowOrBlock | 'protect';
4112
4118
  /**
4113
4119
  * Additional copy operation options
4114
4120
  */
@@ -7774,7 +7780,7 @@ declare type LaunchExternalProcessListener = (code: ExitCode) => void;
7774
7780
  * @interface
7775
7781
  */
7776
7782
  declare type LaunchExternalProcessRule = {
7777
- behavior: 'allow' | 'block';
7783
+ behavior: AllowOrBlock;
7778
7784
  match: string[];
7779
7785
  };
7780
7786
 
@@ -9950,6 +9956,7 @@ declare namespace OpenFin_2 {
9950
9956
  StructuredContentBehavior,
9951
9957
  StructuredContentPermissions,
9952
9958
  ContentPermission,
9959
+ AllowOrBlock,
9953
9960
  ScreenCaptureBehavior,
9954
9961
  PerDomainSettings,
9955
9962
  CopyPermissions,
@@ -10310,6 +10317,16 @@ declare type PerDomainSettings = {
10310
10317
  * {@inheritdoc ClipboardPermissions}
10311
10318
  */
10312
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;
10313
10330
  };
10314
10331
  };
10315
10332
 
@@ -13581,7 +13598,7 @@ declare type RvmLaunchOptions = {
13581
13598
  * @interface
13582
13599
  * Controls whether this content should be allowed or blocked when capturing the screen.
13583
13600
  */
13584
- declare type ScreenCaptureBehavior = 'allow' | 'block';
13601
+ declare type ScreenCaptureBehavior = AllowOrBlock;
13585
13602
 
13586
13603
  /**
13587
13604
  * Returned by getScreenCapturePermission. Includes sub-entity permission states and the resulting permission.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfin/core",
3
- "version": "40.103.5",
3
+ "version": "40.103.7",
4
4
  "description": "The core renderer entry point of OpenFin",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "main": "out/stub.js",