@openfin/fdc3-api 42.100.4 → 42.100.6

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.
@@ -4053,7 +4059,7 @@ declare type CopyPermissions = {
4053
4059
  * block: Disables all copy operations.
4054
4060
  * protect: Protects any copied content. Only URLs that have set paste.behavior: 'all-content' will be allowed to paste this content.
4055
4061
  */
4056
- behavior: 'allow' | 'block' | 'protect';
4062
+ behavior: AllowOrBlock | 'protect';
4057
4063
  /**
4058
4064
  * Additional copy operation options
4059
4065
  */
@@ -8010,7 +8016,7 @@ declare type LaunchExternalProcessListener = (code: ExitCode) => void;
8010
8016
  * @interface
8011
8017
  */
8012
8018
  declare type LaunchExternalProcessRule = {
8013
- behavior: 'allow' | 'block';
8019
+ behavior: AllowOrBlock;
8014
8020
  match: string[];
8015
8021
  };
8016
8022
 
@@ -10016,6 +10022,7 @@ declare namespace OpenFin {
10016
10022
  StructuredContentBehavior,
10017
10023
  StructuredContentPermissions,
10018
10024
  ContentPermission,
10025
+ AllowOrBlock,
10019
10026
  ScreenCaptureBehavior,
10020
10027
  PerDomainSettings,
10021
10028
  CopyPermissions,
@@ -10374,6 +10381,16 @@ declare type PerDomainSettings = {
10374
10381
  * {@inheritdoc ClipboardPermissions}
10375
10382
  */
10376
10383
  clipboard?: ClipboardPermissions;
10384
+ /**
10385
+ * Whether the content can be printed.
10386
+ * Defaults to 'allow'.
10387
+ * Disables the `print` option in the context menu, and prevents printing via both OpenFin and browser APIs.
10388
+ */
10389
+ print?: AllowOrBlock;
10390
+ /**
10391
+ * * Controls whether HTML5 dragging for this content is allowed or blocked.
10392
+ */
10393
+ drag?: AllowOrBlock;
10377
10394
  };
10378
10395
  };
10379
10396
 
@@ -13562,7 +13579,7 @@ declare type RvmLaunchOptions = {
13562
13579
  * @interface
13563
13580
  * Controls whether this content should be allowed or blocked when capturing the screen.
13564
13581
  */
13565
- declare type ScreenCaptureBehavior = 'allow' | 'block';
13582
+ declare type ScreenCaptureBehavior = AllowOrBlock;
13566
13583
 
13567
13584
  /**
13568
13585
  * 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.
@@ -4053,7 +4059,7 @@ declare type CopyPermissions = {
4053
4059
  * block: Disables all copy operations.
4054
4060
  * protect: Protects any copied content. Only URLs that have set paste.behavior: 'all-content' will be allowed to paste this content.
4055
4061
  */
4056
- behavior: 'allow' | 'block' | 'protect';
4062
+ behavior: AllowOrBlock | 'protect';
4057
4063
  /**
4058
4064
  * Additional copy operation options
4059
4065
  */
@@ -8010,7 +8016,7 @@ declare type LaunchExternalProcessListener = (code: ExitCode) => void;
8010
8016
  * @interface
8011
8017
  */
8012
8018
  declare type LaunchExternalProcessRule = {
8013
- behavior: 'allow' | 'block';
8019
+ behavior: AllowOrBlock;
8014
8020
  match: string[];
8015
8021
  };
8016
8022
 
@@ -10016,6 +10022,7 @@ declare namespace OpenFin {
10016
10022
  StructuredContentBehavior,
10017
10023
  StructuredContentPermissions,
10018
10024
  ContentPermission,
10025
+ AllowOrBlock,
10019
10026
  ScreenCaptureBehavior,
10020
10027
  PerDomainSettings,
10021
10028
  CopyPermissions,
@@ -10374,6 +10381,16 @@ declare type PerDomainSettings = {
10374
10381
  * {@inheritdoc ClipboardPermissions}
10375
10382
  */
10376
10383
  clipboard?: ClipboardPermissions;
10384
+ /**
10385
+ * Whether the content can be printed.
10386
+ * Defaults to 'allow'.
10387
+ * Disables the `print` option in the context menu, and prevents printing via both OpenFin and browser APIs.
10388
+ */
10389
+ print?: AllowOrBlock;
10390
+ /**
10391
+ * * Controls whether HTML5 dragging for this content is allowed or blocked.
10392
+ */
10393
+ drag?: AllowOrBlock;
10377
10394
  };
10378
10395
  };
10379
10396
 
@@ -13562,7 +13579,7 @@ declare type RvmLaunchOptions = {
13562
13579
  * @interface
13563
13580
  * Controls whether this content should be allowed or blocked when capturing the screen.
13564
13581
  */
13565
- declare type ScreenCaptureBehavior = 'allow' | 'block';
13582
+ declare type ScreenCaptureBehavior = AllowOrBlock;
13566
13583
 
13567
13584
  /**
13568
13585
  * 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.
@@ -4053,7 +4059,7 @@ declare type CopyPermissions = {
4053
4059
  * block: Disables all copy operations.
4054
4060
  * protect: Protects any copied content. Only URLs that have set paste.behavior: 'all-content' will be allowed to paste this content.
4055
4061
  */
4056
- behavior: 'allow' | 'block' | 'protect';
4062
+ behavior: AllowOrBlock | 'protect';
4057
4063
  /**
4058
4064
  * Additional copy operation options
4059
4065
  */
@@ -8010,7 +8016,7 @@ declare type LaunchExternalProcessListener = (code: ExitCode) => void;
8010
8016
  * @interface
8011
8017
  */
8012
8018
  declare type LaunchExternalProcessRule = {
8013
- behavior: 'allow' | 'block';
8019
+ behavior: AllowOrBlock;
8014
8020
  match: string[];
8015
8021
  };
8016
8022
 
@@ -10016,6 +10022,7 @@ declare namespace OpenFin {
10016
10022
  StructuredContentBehavior,
10017
10023
  StructuredContentPermissions,
10018
10024
  ContentPermission,
10025
+ AllowOrBlock,
10019
10026
  ScreenCaptureBehavior,
10020
10027
  PerDomainSettings,
10021
10028
  CopyPermissions,
@@ -10374,6 +10381,16 @@ declare type PerDomainSettings = {
10374
10381
  * {@inheritdoc ClipboardPermissions}
10375
10382
  */
10376
10383
  clipboard?: ClipboardPermissions;
10384
+ /**
10385
+ * Whether the content can be printed.
10386
+ * Defaults to 'allow'.
10387
+ * Disables the `print` option in the context menu, and prevents printing via both OpenFin and browser APIs.
10388
+ */
10389
+ print?: AllowOrBlock;
10390
+ /**
10391
+ * * Controls whether HTML5 dragging for this content is allowed or blocked.
10392
+ */
10393
+ drag?: AllowOrBlock;
10377
10394
  };
10378
10395
  };
10379
10396
 
@@ -13562,7 +13579,7 @@ declare type RvmLaunchOptions = {
13562
13579
  * @interface
13563
13580
  * Controls whether this content should be allowed or blocked when capturing the screen.
13564
13581
  */
13565
- declare type ScreenCaptureBehavior = 'allow' | 'block';
13582
+ declare type ScreenCaptureBehavior = AllowOrBlock;
13566
13583
 
13567
13584
  /**
13568
13585
  * 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.
@@ -4112,7 +4118,7 @@ declare type CopyPermissions = {
4112
4118
  * block: Disables all copy operations.
4113
4119
  * protect: Protects any copied content. Only URLs that have set paste.behavior: 'all-content' will be allowed to paste this content.
4114
4120
  */
4115
- behavior: 'allow' | 'block' | 'protect';
4121
+ behavior: AllowOrBlock | 'protect';
4116
4122
  /**
4117
4123
  * Additional copy operation options
4118
4124
  */
@@ -8127,7 +8133,7 @@ declare type LaunchExternalProcessListener = (code: ExitCode) => void;
8127
8133
  * @interface
8128
8134
  */
8129
8135
  declare type LaunchExternalProcessRule = {
8130
- behavior: 'allow' | 'block';
8136
+ behavior: AllowOrBlock;
8131
8137
  match: string[];
8132
8138
  };
8133
8139
 
@@ -10334,6 +10340,7 @@ declare namespace OpenFin {
10334
10340
  StructuredContentBehavior,
10335
10341
  StructuredContentPermissions,
10336
10342
  ContentPermission,
10343
+ AllowOrBlock,
10337
10344
  ScreenCaptureBehavior,
10338
10345
  PerDomainSettings,
10339
10346
  CopyPermissions,
@@ -10692,6 +10699,16 @@ declare type PerDomainSettings = {
10692
10699
  * {@inheritdoc ClipboardPermissions}
10693
10700
  */
10694
10701
  clipboard?: ClipboardPermissions;
10702
+ /**
10703
+ * Whether the content can be printed.
10704
+ * Defaults to 'allow'.
10705
+ * Disables the `print` option in the context menu, and prevents printing via both OpenFin and browser APIs.
10706
+ */
10707
+ print?: AllowOrBlock;
10708
+ /**
10709
+ * * Controls whether HTML5 dragging for this content is allowed or blocked.
10710
+ */
10711
+ drag?: AllowOrBlock;
10695
10712
  };
10696
10713
  };
10697
10714
 
@@ -13963,7 +13980,7 @@ declare type RvmLaunchOptions = {
13963
13980
  * @interface
13964
13981
  * Controls whether this content should be allowed or blocked when capturing the screen.
13965
13982
  */
13966
- declare type ScreenCaptureBehavior = 'allow' | 'block';
13983
+ declare type ScreenCaptureBehavior = AllowOrBlock;
13967
13984
 
13968
13985
  /**
13969
13986
  * 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": "42.100.4",
3
+ "version": "42.100.6",
4
4
  "description": "OpenFin fdc3 module utilities and types.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "private": false,