@openfin/fdc3-api 41.100.110 → 41.100.112

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.
@@ -3066,6 +3066,7 @@ declare type ClientInfo = Omit<ClientIdentity, 'isLocalEndpointId'> & {
3066
3066
  *
3067
3067
  */
3068
3068
  declare class Clipboard_2 extends Base {
3069
+ #private;
3069
3070
  /**
3070
3071
  * Writes data into the clipboard as plain text
3071
3072
  * @param writeObj The object for writing data into the clipboard
@@ -3218,6 +3219,21 @@ declare class Clipboard_2 extends Base {
3218
3219
  getAvailableFormats(type?: OpenFin.ClipboardSelectionType): Promise<Array<string>>;
3219
3220
  }
3220
3221
 
3222
+ /**
3223
+ * Permissions for {@link Clipboard} APIs.
3224
+ */
3225
+ declare type ClipboardApiPermissions = {
3226
+ writeText: boolean;
3227
+ readText: boolean;
3228
+ writeImage: boolean;
3229
+ readImage: boolean;
3230
+ writeHtml: boolean;
3231
+ readHtml: boolean;
3232
+ writeRtf: boolean;
3233
+ readRtf: boolean;
3234
+ write: boolean;
3235
+ };
3236
+
3221
3237
  /**
3222
3238
  * Generated when a copy operation is blocked through {@link OpenFin.DomainSettings}.
3223
3239
  * @interface
@@ -3885,7 +3901,17 @@ declare type ContentCreationRulesEvent = NamedEvent & {
3885
3901
  * The features string passed to `window.open()` converted to OpenFin window options
3886
3902
  */
3887
3903
  parsedFeatures: Partial<OpenFin.WindowOptions>;
3888
- disposition: string;
3904
+ /**
3905
+ * The reported disposition of the content creation request.
3906
+ * @remarks
3907
+ * - `default` - The default behavior of the browser.
3908
+ * - `foreground-tab` - The content is loaded in a new tab in the foreground. This is the default behavior for `window.open()` or a link with target=_blank.
3909
+ * - `background-tab` - The content is loaded in a new tab in the background. This is the default behavior when clicking on a link with the `ctrl` or `cmd` key pressed.
3910
+ * - `new-window` - The content is loaded in a new window. This is the default behavior when clicking on a link with the `shift` key pressed.
3911
+ * - `popup` - The content is loaded in a popup window. This is the result of passing popup features to `window.open()`.
3912
+ * - `other` - The content is loaded in some other way.
3913
+ */
3914
+ disposition: 'default' | 'foreground-tab' | 'background-tab' | 'new-window' | 'popup' | 'other';
3889
3915
  };
3890
3916
 
3891
3917
  /**
@@ -9911,6 +9937,7 @@ declare namespace OpenFin {
9911
9937
  OpenExternalPermission,
9912
9938
  DeviceInfo,
9913
9939
  Permissions_2 as Permissions,
9940
+ ClipboardApiPermissions,
9914
9941
  PlatformWindowCreationOptions,
9915
9942
  PlatformWindowOptions,
9916
9943
  PlatformViewCreationOptions,
@@ -10426,6 +10453,7 @@ declare type PerformanceReportEvent = Performance & BaseEvent_5 & {
10426
10453
  declare type Permissions_2 = {
10427
10454
  Application?: Partial<ApplicationPermissions>;
10428
10455
  System?: Partial<SystemPermissions>;
10456
+ Clipboard?: Partial<ClipboardApiPermissions>;
10429
10457
  webAPIs?: WebPermission[];
10430
10458
  devices?: DeviceInfo[];
10431
10459
  };
@@ -3066,6 +3066,7 @@ declare type ClientInfo = Omit<ClientIdentity, 'isLocalEndpointId'> & {
3066
3066
  *
3067
3067
  */
3068
3068
  declare class Clipboard_2 extends Base {
3069
+ #private;
3069
3070
  /**
3070
3071
  * Writes data into the clipboard as plain text
3071
3072
  * @param writeObj The object for writing data into the clipboard
@@ -3218,6 +3219,21 @@ declare class Clipboard_2 extends Base {
3218
3219
  getAvailableFormats(type?: OpenFin.ClipboardSelectionType): Promise<Array<string>>;
3219
3220
  }
3220
3221
 
3222
+ /**
3223
+ * Permissions for {@link Clipboard} APIs.
3224
+ */
3225
+ declare type ClipboardApiPermissions = {
3226
+ writeText: boolean;
3227
+ readText: boolean;
3228
+ writeImage: boolean;
3229
+ readImage: boolean;
3230
+ writeHtml: boolean;
3231
+ readHtml: boolean;
3232
+ writeRtf: boolean;
3233
+ readRtf: boolean;
3234
+ write: boolean;
3235
+ };
3236
+
3221
3237
  /**
3222
3238
  * Generated when a copy operation is blocked through {@link OpenFin.DomainSettings}.
3223
3239
  * @interface
@@ -3885,7 +3901,17 @@ declare type ContentCreationRulesEvent = NamedEvent & {
3885
3901
  * The features string passed to `window.open()` converted to OpenFin window options
3886
3902
  */
3887
3903
  parsedFeatures: Partial<OpenFin.WindowOptions>;
3888
- disposition: string;
3904
+ /**
3905
+ * The reported disposition of the content creation request.
3906
+ * @remarks
3907
+ * - `default` - The default behavior of the browser.
3908
+ * - `foreground-tab` - The content is loaded in a new tab in the foreground. This is the default behavior for `window.open()` or a link with target=_blank.
3909
+ * - `background-tab` - The content is loaded in a new tab in the background. This is the default behavior when clicking on a link with the `ctrl` or `cmd` key pressed.
3910
+ * - `new-window` - The content is loaded in a new window. This is the default behavior when clicking on a link with the `shift` key pressed.
3911
+ * - `popup` - The content is loaded in a popup window. This is the result of passing popup features to `window.open()`.
3912
+ * - `other` - The content is loaded in some other way.
3913
+ */
3914
+ disposition: 'default' | 'foreground-tab' | 'background-tab' | 'new-window' | 'popup' | 'other';
3889
3915
  };
3890
3916
 
3891
3917
  /**
@@ -9911,6 +9937,7 @@ declare namespace OpenFin {
9911
9937
  OpenExternalPermission,
9912
9938
  DeviceInfo,
9913
9939
  Permissions_2 as Permissions,
9940
+ ClipboardApiPermissions,
9914
9941
  PlatformWindowCreationOptions,
9915
9942
  PlatformWindowOptions,
9916
9943
  PlatformViewCreationOptions,
@@ -10426,6 +10453,7 @@ declare type PerformanceReportEvent = Performance & BaseEvent_5 & {
10426
10453
  declare type Permissions_2 = {
10427
10454
  Application?: Partial<ApplicationPermissions>;
10428
10455
  System?: Partial<SystemPermissions>;
10456
+ Clipboard?: Partial<ClipboardApiPermissions>;
10429
10457
  webAPIs?: WebPermission[];
10430
10458
  devices?: DeviceInfo[];
10431
10459
  };
@@ -3066,6 +3066,7 @@ declare type ClientInfo = Omit<ClientIdentity, 'isLocalEndpointId'> & {
3066
3066
  *
3067
3067
  */
3068
3068
  declare class Clipboard_2 extends Base {
3069
+ #private;
3069
3070
  /**
3070
3071
  * Writes data into the clipboard as plain text
3071
3072
  * @param writeObj The object for writing data into the clipboard
@@ -3218,6 +3219,21 @@ declare class Clipboard_2 extends Base {
3218
3219
  getAvailableFormats(type?: OpenFin.ClipboardSelectionType): Promise<Array<string>>;
3219
3220
  }
3220
3221
 
3222
+ /**
3223
+ * Permissions for {@link Clipboard} APIs.
3224
+ */
3225
+ declare type ClipboardApiPermissions = {
3226
+ writeText: boolean;
3227
+ readText: boolean;
3228
+ writeImage: boolean;
3229
+ readImage: boolean;
3230
+ writeHtml: boolean;
3231
+ readHtml: boolean;
3232
+ writeRtf: boolean;
3233
+ readRtf: boolean;
3234
+ write: boolean;
3235
+ };
3236
+
3221
3237
  /**
3222
3238
  * Generated when a copy operation is blocked through {@link OpenFin.DomainSettings}.
3223
3239
  * @interface
@@ -3885,7 +3901,17 @@ declare type ContentCreationRulesEvent = NamedEvent & {
3885
3901
  * The features string passed to `window.open()` converted to OpenFin window options
3886
3902
  */
3887
3903
  parsedFeatures: Partial<OpenFin.WindowOptions>;
3888
- disposition: string;
3904
+ /**
3905
+ * The reported disposition of the content creation request.
3906
+ * @remarks
3907
+ * - `default` - The default behavior of the browser.
3908
+ * - `foreground-tab` - The content is loaded in a new tab in the foreground. This is the default behavior for `window.open()` or a link with target=_blank.
3909
+ * - `background-tab` - The content is loaded in a new tab in the background. This is the default behavior when clicking on a link with the `ctrl` or `cmd` key pressed.
3910
+ * - `new-window` - The content is loaded in a new window. This is the default behavior when clicking on a link with the `shift` key pressed.
3911
+ * - `popup` - The content is loaded in a popup window. This is the result of passing popup features to `window.open()`.
3912
+ * - `other` - The content is loaded in some other way.
3913
+ */
3914
+ disposition: 'default' | 'foreground-tab' | 'background-tab' | 'new-window' | 'popup' | 'other';
3889
3915
  };
3890
3916
 
3891
3917
  /**
@@ -9911,6 +9937,7 @@ declare namespace OpenFin {
9911
9937
  OpenExternalPermission,
9912
9938
  DeviceInfo,
9913
9939
  Permissions_2 as Permissions,
9940
+ ClipboardApiPermissions,
9914
9941
  PlatformWindowCreationOptions,
9915
9942
  PlatformWindowOptions,
9916
9943
  PlatformViewCreationOptions,
@@ -10426,6 +10453,7 @@ declare type PerformanceReportEvent = Performance & BaseEvent_5 & {
10426
10453
  declare type Permissions_2 = {
10427
10454
  Application?: Partial<ApplicationPermissions>;
10428
10455
  System?: Partial<SystemPermissions>;
10456
+ Clipboard?: Partial<ClipboardApiPermissions>;
10429
10457
  webAPIs?: WebPermission[];
10430
10458
  devices?: DeviceInfo[];
10431
10459
  };
package/out/fdc3-api.d.ts CHANGED
@@ -3122,6 +3122,7 @@ declare type ClientInfo = Omit<ClientIdentity, 'isLocalEndpointId'> & {
3122
3122
  *
3123
3123
  */
3124
3124
  declare class Clipboard_2 extends Base {
3125
+ #private;
3125
3126
  /**
3126
3127
  * Writes data into the clipboard as plain text
3127
3128
  * @param writeObj The object for writing data into the clipboard
@@ -3274,6 +3275,21 @@ declare class Clipboard_2 extends Base {
3274
3275
  getAvailableFormats(type?: OpenFin.ClipboardSelectionType): Promise<Array<string>>;
3275
3276
  }
3276
3277
 
3278
+ /**
3279
+ * Permissions for {@link Clipboard} APIs.
3280
+ */
3281
+ declare type ClipboardApiPermissions = {
3282
+ writeText: boolean;
3283
+ readText: boolean;
3284
+ writeImage: boolean;
3285
+ readImage: boolean;
3286
+ writeHtml: boolean;
3287
+ readHtml: boolean;
3288
+ writeRtf: boolean;
3289
+ readRtf: boolean;
3290
+ write: boolean;
3291
+ };
3292
+
3277
3293
  /**
3278
3294
  * Generated when a copy operation is blocked through {@link OpenFin.DomainSettings}.
3279
3295
  * @interface
@@ -3944,7 +3960,17 @@ declare type ContentCreationRulesEvent = NamedEvent & {
3944
3960
  * The features string passed to `window.open()` converted to OpenFin window options
3945
3961
  */
3946
3962
  parsedFeatures: Partial<OpenFin.WindowOptions>;
3947
- disposition: string;
3963
+ /**
3964
+ * The reported disposition of the content creation request.
3965
+ * @remarks
3966
+ * - `default` - The default behavior of the browser.
3967
+ * - `foreground-tab` - The content is loaded in a new tab in the foreground. This is the default behavior for `window.open()` or a link with target=_blank.
3968
+ * - `background-tab` - The content is loaded in a new tab in the background. This is the default behavior when clicking on a link with the `ctrl` or `cmd` key pressed.
3969
+ * - `new-window` - The content is loaded in a new window. This is the default behavior when clicking on a link with the `shift` key pressed.
3970
+ * - `popup` - The content is loaded in a popup window. This is the result of passing popup features to `window.open()`.
3971
+ * - `other` - The content is loaded in some other way.
3972
+ */
3973
+ disposition: 'default' | 'foreground-tab' | 'background-tab' | 'new-window' | 'popup' | 'other';
3948
3974
  };
3949
3975
 
3950
3976
  /**
@@ -10229,6 +10255,7 @@ declare namespace OpenFin {
10229
10255
  OpenExternalPermission,
10230
10256
  DeviceInfo,
10231
10257
  Permissions_2 as Permissions,
10258
+ ClipboardApiPermissions,
10232
10259
  PlatformWindowCreationOptions,
10233
10260
  PlatformWindowOptions,
10234
10261
  PlatformViewCreationOptions,
@@ -10744,6 +10771,7 @@ declare type PerformanceReportEvent = Performance & BaseEvent_5 & {
10744
10771
  declare type Permissions_2 = {
10745
10772
  Application?: Partial<ApplicationPermissions>;
10746
10773
  System?: Partial<SystemPermissions>;
10774
+ Clipboard?: Partial<ClipboardApiPermissions>;
10747
10775
  webAPIs?: WebPermission[];
10748
10776
  devices?: DeviceInfo[];
10749
10777
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfin/fdc3-api",
3
- "version": "41.100.110",
3
+ "version": "41.100.112",
4
4
  "description": "OpenFin fdc3 module utilities and types.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "private": false,