@openfin/fdc3-api 41.100.28 → 41.100.30
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.
- package/out/fdc3-api-alpha.d.ts +88 -6
- package/out/fdc3-api-beta.d.ts +88 -6
- package/out/fdc3-api-public.d.ts +88 -6
- package/out/fdc3-api.d.ts +89 -7
- package/out/fdc3-api.js +1447 -1450
- package/package.json +1 -1
package/out/fdc3-api.d.ts
CHANGED
|
@@ -5335,6 +5335,10 @@ declare namespace FDC3 {
|
|
|
5335
5335
|
}
|
|
5336
5336
|
}
|
|
5337
5337
|
|
|
5338
|
+
declare type FDC3Factory = typeof fdc3Factory;
|
|
5339
|
+
|
|
5340
|
+
declare const fdc3Factory: (version: '1.2' | '2.0', interopClient: OpenFin.InteropClient, wire: Transport<'unknown'>) => OpenFin.FDC3.v2_0.DesktopAgent | OpenFin.FDC3.v1_2.DesktopAgent;
|
|
5341
|
+
|
|
5338
5342
|
export declare function fdc3FromFin(fin: OpenFin.Fin<OpenFin.EntityType>, { fdc3Version }?: {
|
|
5339
5343
|
fdc3Version?: Fdc3Version;
|
|
5340
5344
|
}): Promise<Fdc3Module | Fdc3Module2>;
|
|
@@ -6020,11 +6024,8 @@ declare type FrameEventType = EventType_5;
|
|
|
6020
6024
|
/**
|
|
6021
6025
|
* @interface
|
|
6022
6026
|
*/
|
|
6023
|
-
declare type FrameInfo = {
|
|
6024
|
-
name: string;
|
|
6025
|
-
uuid: string;
|
|
6027
|
+
declare type FrameInfo = EntityInfo & {
|
|
6026
6028
|
url: string;
|
|
6027
|
-
entityType: EntityType_4;
|
|
6028
6029
|
parent: Identity_4;
|
|
6029
6030
|
};
|
|
6030
6031
|
|
|
@@ -7334,7 +7335,7 @@ declare class InteropBroker extends Base {
|
|
|
7334
7335
|
};
|
|
7335
7336
|
private getClientState;
|
|
7336
7337
|
private static toObject;
|
|
7337
|
-
static checkContextIntegrity(context: OpenFin.Context)
|
|
7338
|
+
static checkContextIntegrity: (context: OpenFin.Context) => {
|
|
7338
7339
|
isValid: true;
|
|
7339
7340
|
} | {
|
|
7340
7341
|
isValid: false;
|
|
@@ -7433,7 +7434,7 @@ declare class InteropClient extends Base {
|
|
|
7433
7434
|
/**
|
|
7434
7435
|
* @internal
|
|
7435
7436
|
*/
|
|
7436
|
-
constructor(wire: Transport, clientPromise: Promise<OpenFin.ChannelClient
|
|
7437
|
+
constructor(wire: Transport, clientPromise: Promise<OpenFin.ChannelClient>, fdc3Factory: FDC3Factory);
|
|
7437
7438
|
/**
|
|
7438
7439
|
* Sets a context for the context group of the current entity.
|
|
7439
7440
|
*
|
|
@@ -8374,6 +8375,24 @@ declare type LayoutComponent = Omit<LayoutItemConfig, 'content' | 'type'> & {
|
|
|
8374
8375
|
|
|
8375
8376
|
declare type LayoutContent = Array<LayoutItemConfig | LayoutRow | LayoutColumn | LayoutComponent>;
|
|
8376
8377
|
|
|
8378
|
+
/**
|
|
8379
|
+
* Generated after a layout is created.
|
|
8380
|
+
* @interface
|
|
8381
|
+
*/
|
|
8382
|
+
declare type LayoutCreatedEvent = BaseEvent_5 & {
|
|
8383
|
+
type: 'layout-created';
|
|
8384
|
+
layoutIdentity: OpenFin.LayoutIdentity;
|
|
8385
|
+
};
|
|
8386
|
+
|
|
8387
|
+
/**
|
|
8388
|
+
* Generated after a layout is destroyed.
|
|
8389
|
+
* @interface
|
|
8390
|
+
*/
|
|
8391
|
+
declare type LayoutDestroyedEvent = BaseEvent_5 & {
|
|
8392
|
+
type: 'layout-destroyed';
|
|
8393
|
+
layoutIdentity: OpenFin.LayoutIdentity;
|
|
8394
|
+
};
|
|
8395
|
+
|
|
8377
8396
|
/**
|
|
8378
8397
|
* The base payload for the CustomEvent.detail property for Layout events emitted on the layout container element.
|
|
8379
8398
|
*/
|
|
@@ -9029,6 +9048,15 @@ declare type LayoutSnapshot = {
|
|
|
9029
9048
|
layouts: Record<string, LayoutOptions>;
|
|
9030
9049
|
};
|
|
9031
9050
|
|
|
9051
|
+
/**
|
|
9052
|
+
* Generated after a snapshot is applied.
|
|
9053
|
+
* @interface
|
|
9054
|
+
*/
|
|
9055
|
+
declare type LayoutSnapshotAppliedEvent = BaseEvent_5 & {
|
|
9056
|
+
type: 'layout-snapshot-applied';
|
|
9057
|
+
layoutIdentity: OpenFin.LayoutIdentity;
|
|
9058
|
+
};
|
|
9059
|
+
|
|
9032
9060
|
/**
|
|
9033
9061
|
* Generated when the Layout experiences a state change, for example tabs added/removed.
|
|
9034
9062
|
* @interface
|
|
@@ -9950,6 +9978,8 @@ declare namespace OpenFin {
|
|
|
9950
9978
|
ClientConnectionPayload,
|
|
9951
9979
|
EntityInfo,
|
|
9952
9980
|
EntityType_4 as EntityType,
|
|
9981
|
+
ScreenCaptureState,
|
|
9982
|
+
ScreenCapturePermission,
|
|
9953
9983
|
Bounds,
|
|
9954
9984
|
WindowBounds,
|
|
9955
9985
|
Rectangle,
|
|
@@ -10169,6 +10199,7 @@ declare namespace OpenFin {
|
|
|
10169
10199
|
StructuredContentBehavior,
|
|
10170
10200
|
StructuredContentPermissions,
|
|
10171
10201
|
ContentPermission,
|
|
10202
|
+
ScreenCaptureBehavior,
|
|
10172
10203
|
PerDomainSettings,
|
|
10173
10204
|
DomainSettingsRule,
|
|
10174
10205
|
FileDownloadBehavior,
|
|
@@ -10482,6 +10513,12 @@ declare type PerDomainSettings = {
|
|
|
10482
10513
|
* {@inheritdoc ChromiumPolicies}
|
|
10483
10514
|
*/
|
|
10484
10515
|
chromiumPolicies?: ChromiumPolicies;
|
|
10516
|
+
contentProtection?: {
|
|
10517
|
+
/**
|
|
10518
|
+
* {@inheritdoc ScreenCaptureBehavior}
|
|
10519
|
+
*/
|
|
10520
|
+
screenCapture: ScreenCaptureBehavior;
|
|
10521
|
+
};
|
|
10485
10522
|
};
|
|
10486
10523
|
|
|
10487
10524
|
/**
|
|
@@ -13210,6 +13247,10 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
13210
13247
|
};
|
|
13211
13248
|
response: OpenFin.PopupResult;
|
|
13212
13249
|
};
|
|
13250
|
+
'get-screen-capture-permissions': {
|
|
13251
|
+
request: OpenFin.Identity;
|
|
13252
|
+
response: OpenFin.ScreenCapturePermission;
|
|
13253
|
+
};
|
|
13213
13254
|
'render-overlay': {
|
|
13214
13255
|
request: {
|
|
13215
13256
|
bounds: OpenFin.Bounds;
|
|
@@ -13739,6 +13780,31 @@ declare type RvmLaunchOptions = {
|
|
|
13739
13780
|
subscribe?: (launch: LaunchEmitter) => void;
|
|
13740
13781
|
};
|
|
13741
13782
|
|
|
13783
|
+
/**
|
|
13784
|
+
* @interface
|
|
13785
|
+
* Controls whether this content should be allowed or blocked when capturing the screen.
|
|
13786
|
+
*/
|
|
13787
|
+
declare type ScreenCaptureBehavior = 'allow' | 'block';
|
|
13788
|
+
|
|
13789
|
+
/**
|
|
13790
|
+
* Returned by getScreenCapturePermission. Includes sub-entity permission states and the resulting permission.
|
|
13791
|
+
* @interface
|
|
13792
|
+
*/
|
|
13793
|
+
declare type ScreenCapturePermission = {
|
|
13794
|
+
permission: ScreenCaptureBehavior;
|
|
13795
|
+
permissions: ScreenCaptureState[];
|
|
13796
|
+
};
|
|
13797
|
+
|
|
13798
|
+
/**
|
|
13799
|
+
* screenCapture state for a given entity as defined in domain settings.
|
|
13800
|
+
* @interface
|
|
13801
|
+
*/
|
|
13802
|
+
declare type ScreenCaptureState = {
|
|
13803
|
+
info: EntityInfo;
|
|
13804
|
+
behavior: ScreenCaptureBehavior;
|
|
13805
|
+
url: string;
|
|
13806
|
+
};
|
|
13807
|
+
|
|
13742
13808
|
/**
|
|
13743
13809
|
* @interface
|
|
13744
13810
|
*/
|
|
@@ -18124,6 +18190,19 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
|
|
|
18124
18190
|
* {@link OpenFin.WebContentsEvents event namespace}.
|
|
18125
18191
|
*/
|
|
18126
18192
|
showPopupWindow(options: OpenFin.PopupOptions): Promise<OpenFin.PopupResult>;
|
|
18193
|
+
/**
|
|
18194
|
+
*
|
|
18195
|
+
* Get the screen capture permission for this content.
|
|
18196
|
+
*
|
|
18197
|
+
* @example
|
|
18198
|
+
* ```js
|
|
18199
|
+
* const { permission } = await fin.me.getScreenCapturePermission();
|
|
18200
|
+
*
|
|
18201
|
+
* console.log(`This content is currently ${permission}ed in screen captures.`);
|
|
18202
|
+
*
|
|
18203
|
+
* ```
|
|
18204
|
+
*/
|
|
18205
|
+
getScreenCapturePermission(): Promise<OpenFin.ScreenCapturePermission>;
|
|
18127
18206
|
}
|
|
18128
18207
|
|
|
18129
18208
|
/**
|
|
@@ -19440,6 +19519,9 @@ declare namespace WindowEvents {
|
|
|
19440
19519
|
PerformanceReportEvent,
|
|
19441
19520
|
InputEvent_2 as InputEvent,
|
|
19442
19521
|
LayoutInitializedEvent,
|
|
19522
|
+
LayoutCreatedEvent,
|
|
19523
|
+
LayoutDestroyedEvent,
|
|
19524
|
+
LayoutSnapshotAppliedEvent,
|
|
19443
19525
|
LayoutReadyEvent,
|
|
19444
19526
|
CloseRequestedEvent,
|
|
19445
19527
|
WindowCloseRequestedEvent,
|
|
@@ -19673,7 +19755,7 @@ declare type WindowShowRequestedEvent = ShowRequestedEvent;
|
|
|
19673
19755
|
* A union of all events that emit natively on the `Window` topic, i.e. excluding those that propagate
|
|
19674
19756
|
* from {@link OpenFin.ViewEvents}.
|
|
19675
19757
|
*/
|
|
19676
|
-
declare type WindowSourcedEvent = WebContentsEvents.Event<'window'> | WindowViewEvent | AuthRequestedEvent | BeginUserBoundsChangingEvent | BoundsChangedEvent | BoundsChangingEvent | ContextChangedEvent | CloseRequestedEvent | ClosedEvent_2 | ClosingEvent | DisabledMovementBoundsChangedEvent | DisabledMovementBoundsChangingEvent | EmbeddedEvent | EndUserBoundsChangingEvent | ExternalProcessExitedEvent | ExternalProcessStartedEvent | HiddenEvent_2 | HotkeyEvent_2 | InitializedEvent_2 | LayoutInitializedEvent | LayoutReadyEvent | MaximizedEvent | MinimizedEvent | OptionsChangedEvent | PerformanceReportEvent | PreloadScriptsStateChangedEvent | PreloadScriptsStateChangingEvent | ReloadedEvent | RestoredEvent | ShowRequestedEvent | ShownEvent_2 | UserMovementDisabledEvent | UserMovementEnabledEvent | WillMoveEvent | WillResizeEvent | ShowAllDownloadsEvent | DownloadShelfVisibilityChangedEvent;
|
|
19758
|
+
declare type WindowSourcedEvent = WebContentsEvents.Event<'window'> | WindowViewEvent | AuthRequestedEvent | BeginUserBoundsChangingEvent | BoundsChangedEvent | BoundsChangingEvent | ContextChangedEvent | CloseRequestedEvent | ClosedEvent_2 | ClosingEvent | DisabledMovementBoundsChangedEvent | DisabledMovementBoundsChangingEvent | EmbeddedEvent | EndUserBoundsChangingEvent | ExternalProcessExitedEvent | ExternalProcessStartedEvent | HiddenEvent_2 | HotkeyEvent_2 | InitializedEvent_2 | LayoutInitializedEvent | LayoutReadyEvent | LayoutCreatedEvent | LayoutDestroyedEvent | LayoutSnapshotAppliedEvent | MaximizedEvent | MinimizedEvent | OptionsChangedEvent | PerformanceReportEvent | PreloadScriptsStateChangedEvent | PreloadScriptsStateChangingEvent | ReloadedEvent | RestoredEvent | ShowRequestedEvent | ShownEvent_2 | UserMovementDisabledEvent | UserMovementEnabledEvent | WillMoveEvent | WillResizeEvent | ShowAllDownloadsEvent | DownloadShelfVisibilityChangedEvent;
|
|
19677
19759
|
|
|
19678
19760
|
/**
|
|
19679
19761
|
* Generated when a child window starts loading.
|