@openfin/fdc3-api 40.103.5 → 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.
@@ -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 = 'allow' | 'block';
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: 'allow' | 'block' | 'protect';
4055
+ behavior: AllowOrBlock | 'protect';
4050
4056
  /**
4051
4057
  * Additional copy operation options
4052
4058
  */
@@ -7999,7 +8005,7 @@ declare type LaunchExternalProcessListener = (code: ExitCode) => void;
7999
8005
  * @interface
8000
8006
  */
8001
8007
  declare type LaunchExternalProcessRule = {
8002
- behavior: 'allow' | 'block';
8008
+ behavior: AllowOrBlock;
8003
8009
  match: string[];
8004
8010
  };
8005
8011
 
@@ -9974,6 +9980,7 @@ declare namespace OpenFin {
9974
9980
  StructuredContentBehavior,
9975
9981
  StructuredContentPermissions,
9976
9982
  ContentPermission,
9983
+ AllowOrBlock,
9977
9984
  ScreenCaptureBehavior,
9978
9985
  PerDomainSettings,
9979
9986
  CopyPermissions,
@@ -10332,6 +10339,16 @@ declare type PerDomainSettings = {
10332
10339
  * {@inheritdoc ClipboardPermissions}
10333
10340
  */
10334
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;
10335
10352
  };
10336
10353
  };
10337
10354
 
@@ -13520,7 +13537,7 @@ declare type RvmLaunchOptions = {
13520
13537
  * @interface
13521
13538
  * Controls whether this content should be allowed or blocked when capturing the screen.
13522
13539
  */
13523
- declare type ScreenCaptureBehavior = 'allow' | 'block';
13540
+ declare type ScreenCaptureBehavior = AllowOrBlock;
13524
13541
 
13525
13542
  /**
13526
13543
  * Returned by getScreenCapturePermission. Includes sub-entity permission states and the resulting permission.
@@ -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 = 'allow' | 'block';
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: 'allow' | 'block' | 'protect';
4055
+ behavior: AllowOrBlock | 'protect';
4050
4056
  /**
4051
4057
  * Additional copy operation options
4052
4058
  */
@@ -7999,7 +8005,7 @@ declare type LaunchExternalProcessListener = (code: ExitCode) => void;
7999
8005
  * @interface
8000
8006
  */
8001
8007
  declare type LaunchExternalProcessRule = {
8002
- behavior: 'allow' | 'block';
8008
+ behavior: AllowOrBlock;
8003
8009
  match: string[];
8004
8010
  };
8005
8011
 
@@ -9974,6 +9980,7 @@ declare namespace OpenFin {
9974
9980
  StructuredContentBehavior,
9975
9981
  StructuredContentPermissions,
9976
9982
  ContentPermission,
9983
+ AllowOrBlock,
9977
9984
  ScreenCaptureBehavior,
9978
9985
  PerDomainSettings,
9979
9986
  CopyPermissions,
@@ -10332,6 +10339,16 @@ declare type PerDomainSettings = {
10332
10339
  * {@inheritdoc ClipboardPermissions}
10333
10340
  */
10334
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;
10335
10352
  };
10336
10353
  };
10337
10354
 
@@ -13520,7 +13537,7 @@ declare type RvmLaunchOptions = {
13520
13537
  * @interface
13521
13538
  * Controls whether this content should be allowed or blocked when capturing the screen.
13522
13539
  */
13523
- declare type ScreenCaptureBehavior = 'allow' | 'block';
13540
+ declare type ScreenCaptureBehavior = AllowOrBlock;
13524
13541
 
13525
13542
  /**
13526
13543
  * Returned by getScreenCapturePermission. Includes sub-entity permission states and the resulting permission.
@@ -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 = 'allow' | 'block';
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: 'allow' | 'block' | 'protect';
4055
+ behavior: AllowOrBlock | 'protect';
4050
4056
  /**
4051
4057
  * Additional copy operation options
4052
4058
  */
@@ -7999,7 +8005,7 @@ declare type LaunchExternalProcessListener = (code: ExitCode) => void;
7999
8005
  * @interface
8000
8006
  */
8001
8007
  declare type LaunchExternalProcessRule = {
8002
- behavior: 'allow' | 'block';
8008
+ behavior: AllowOrBlock;
8003
8009
  match: string[];
8004
8010
  };
8005
8011
 
@@ -9974,6 +9980,7 @@ declare namespace OpenFin {
9974
9980
  StructuredContentBehavior,
9975
9981
  StructuredContentPermissions,
9976
9982
  ContentPermission,
9983
+ AllowOrBlock,
9977
9984
  ScreenCaptureBehavior,
9978
9985
  PerDomainSettings,
9979
9986
  CopyPermissions,
@@ -10332,6 +10339,16 @@ declare type PerDomainSettings = {
10332
10339
  * {@inheritdoc ClipboardPermissions}
10333
10340
  */
10334
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;
10335
10352
  };
10336
10353
  };
10337
10354
 
@@ -13520,7 +13537,7 @@ declare type RvmLaunchOptions = {
13520
13537
  * @interface
13521
13538
  * Controls whether this content should be allowed or blocked when capturing the screen.
13522
13539
  */
13523
- declare type ScreenCaptureBehavior = 'allow' | 'block';
13540
+ declare type ScreenCaptureBehavior = AllowOrBlock;
13524
13541
 
13525
13542
  /**
13526
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 = 'allow' | 'block';
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: 'allow' | 'block' | 'protect';
4114
+ behavior: AllowOrBlock | 'protect';
4109
4115
  /**
4110
4116
  * Additional copy operation options
4111
4117
  */
@@ -8116,7 +8122,7 @@ declare type LaunchExternalProcessListener = (code: ExitCode) => void;
8116
8122
  * @interface
8117
8123
  */
8118
8124
  declare type LaunchExternalProcessRule = {
8119
- behavior: 'allow' | 'block';
8125
+ behavior: AllowOrBlock;
8120
8126
  match: string[];
8121
8127
  };
8122
8128
 
@@ -10292,6 +10298,7 @@ declare namespace OpenFin {
10292
10298
  StructuredContentBehavior,
10293
10299
  StructuredContentPermissions,
10294
10300
  ContentPermission,
10301
+ AllowOrBlock,
10295
10302
  ScreenCaptureBehavior,
10296
10303
  PerDomainSettings,
10297
10304
  CopyPermissions,
@@ -10650,6 +10657,16 @@ declare type PerDomainSettings = {
10650
10657
  * {@inheritdoc ClipboardPermissions}
10651
10658
  */
10652
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;
10653
10670
  };
10654
10671
  };
10655
10672
 
@@ -13921,7 +13938,7 @@ declare type RvmLaunchOptions = {
13921
13938
  * @interface
13922
13939
  * Controls whether this content should be allowed or blocked when capturing the screen.
13923
13940
  */
13924
- declare type ScreenCaptureBehavior = 'allow' | 'block';
13941
+ declare type ScreenCaptureBehavior = AllowOrBlock;
13925
13942
 
13926
13943
  /**
13927
13944
  * 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/fdc3-api",
3
- "version": "40.103.5",
3
+ "version": "40.103.7",
4
4
  "description": "OpenFin fdc3 module utilities and types.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "private": false,