@openfin/fdc3-api 40.82.17 → 40.82.20
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 +26 -4
- package/out/fdc3-api-beta.d.ts +26 -4
- package/out/fdc3-api-public.d.ts +26 -4
- package/out/fdc3-api.d.ts +35 -5
- package/package.json +1 -1
package/out/fdc3-api-alpha.d.ts
CHANGED
|
@@ -2262,8 +2262,6 @@ declare class Channel extends EmitterBase<ChannelEvent> {
|
|
|
2262
2262
|
|
|
2263
2263
|
declare type Channel_2 = OpenFin.Fin['InterApplicationBus']['Channel'];
|
|
2264
2264
|
|
|
2265
|
-
declare type Channel_3 = OpenFin.Fin['InterApplicationBus']['Channel'];
|
|
2266
|
-
|
|
2267
2265
|
declare type ChannelAction = OpenFin.ChannelAction;
|
|
2268
2266
|
|
|
2269
2267
|
declare type ChannelAction_2 = (payload: unknown, id: ProviderIdentity_4 | ClientIdentity) => unknown;
|
|
@@ -4698,6 +4696,7 @@ declare interface Environment {
|
|
|
4698
4696
|
getInteropInfo(fin: OpenFin.Fin<OpenFin.EntityType>): Promise<InternalInteropBrokerOptions & {
|
|
4699
4697
|
fdc3Version?: Version;
|
|
4700
4698
|
}>;
|
|
4699
|
+
getViewWindowIdentity(fin: OpenFin.Fin<OpenFin.EntityType>, identity: OpenFin.Identity): Promise<OpenFin.Identity>;
|
|
4701
4700
|
readonly type: EnvironmentType;
|
|
4702
4701
|
}
|
|
4703
4702
|
|
|
@@ -7865,6 +7864,7 @@ declare type LaunchIntoPlatformPayload = {
|
|
|
7865
7864
|
*/
|
|
7866
7865
|
declare class Layout extends Base {
|
|
7867
7866
|
#private;
|
|
7867
|
+
/* Excluded from this release type: getClient */
|
|
7868
7868
|
/* Excluded from this release type: init */
|
|
7869
7869
|
identity: OpenFin.Identity | OpenFin.LayoutIdentity;
|
|
7870
7870
|
private platform;
|
|
@@ -7964,7 +7964,17 @@ declare class Layout extends Base {
|
|
|
7964
7964
|
* ```
|
|
7965
7965
|
*/
|
|
7966
7966
|
getRootItem(): Promise<OpenFin.ColumnOrRow | OpenFin.TabStack>;
|
|
7967
|
-
|
|
7967
|
+
/**
|
|
7968
|
+
* Retrieves the OpenFin.TabStack instance which the View belongs to.
|
|
7969
|
+
*
|
|
7970
|
+
* @example
|
|
7971
|
+
* ```js
|
|
7972
|
+
* const viewIdentity = { uuid: 'uuid', name: 'view-name' };
|
|
7973
|
+
* const stack = await fin.View.wrapSync(viewIdentity).getStackByViewIdentity(viewIdentity);
|
|
7974
|
+
* console.log(await stack.getViews());
|
|
7975
|
+
* ```
|
|
7976
|
+
*/
|
|
7977
|
+
getStackByViewIdentity(identity: OpenFin.Identity): Promise<OpenFin.TabStack>;
|
|
7968
7978
|
/**
|
|
7969
7979
|
* Replaces the specified view with a view with the provided configuration.
|
|
7970
7980
|
*
|
|
@@ -8334,6 +8344,17 @@ declare class LayoutModule extends Base {
|
|
|
8334
8344
|
* ```
|
|
8335
8345
|
*/
|
|
8336
8346
|
getCurrentSync(): OpenFin.Layout;
|
|
8347
|
+
/**
|
|
8348
|
+
* Retrieves the OpenFin.Layout instance for the Window the View is attached to.
|
|
8349
|
+
*
|
|
8350
|
+
* @example
|
|
8351
|
+
* ```js
|
|
8352
|
+
* const viewIdentity = { uuid: 'uuid', name: 'view-name' };
|
|
8353
|
+
* const layout = await fin.Platform.Layout.getLayoutByViewIdentity(viewIdentity);
|
|
8354
|
+
* console.log(await layout.getCurrentViews());
|
|
8355
|
+
* ```
|
|
8356
|
+
*/
|
|
8357
|
+
getLayoutByViewIdentity(viewIdentity: OpenFin.Identity): Promise<OpenFin.Layout>;
|
|
8337
8358
|
/**
|
|
8338
8359
|
* Initialize the window's Layout.
|
|
8339
8360
|
*
|
|
@@ -9960,6 +9981,7 @@ declare class Platform extends EmitterBase<OpenFin.PlatformEvent> {
|
|
|
9960
9981
|
private _channel;
|
|
9961
9982
|
Application: OpenFin.Application;
|
|
9962
9983
|
identity: OpenFin.ApplicationIdentity;
|
|
9984
|
+
/* Excluded from this release type: clientMap */
|
|
9963
9985
|
/* Excluded from this release type: __constructor */
|
|
9964
9986
|
getClient: (identity?: OpenFin.ApplicationIdentity) => Promise<ChannelClient_2>;
|
|
9965
9987
|
/**
|
|
@@ -15867,7 +15889,7 @@ declare class View_2 extends WebContents<OpenFin.ViewEvent> {
|
|
|
15867
15889
|
*/
|
|
15868
15890
|
getInfo: () => Promise<OpenFin.ViewInfo>;
|
|
15869
15891
|
/**
|
|
15870
|
-
* Retrieves the
|
|
15892
|
+
* Retrieves the OpenFin.Layout instance for the Window the View is attached to.
|
|
15871
15893
|
*
|
|
15872
15894
|
* @example
|
|
15873
15895
|
* ```js
|
package/out/fdc3-api-beta.d.ts
CHANGED
|
@@ -2262,8 +2262,6 @@ declare class Channel extends EmitterBase<ChannelEvent> {
|
|
|
2262
2262
|
|
|
2263
2263
|
declare type Channel_2 = OpenFin.Fin['InterApplicationBus']['Channel'];
|
|
2264
2264
|
|
|
2265
|
-
declare type Channel_3 = OpenFin.Fin['InterApplicationBus']['Channel'];
|
|
2266
|
-
|
|
2267
2265
|
declare type ChannelAction = OpenFin.ChannelAction;
|
|
2268
2266
|
|
|
2269
2267
|
declare type ChannelAction_2 = (payload: unknown, id: ProviderIdentity_4 | ClientIdentity) => unknown;
|
|
@@ -4698,6 +4696,7 @@ declare interface Environment {
|
|
|
4698
4696
|
getInteropInfo(fin: OpenFin.Fin<OpenFin.EntityType>): Promise<InternalInteropBrokerOptions & {
|
|
4699
4697
|
fdc3Version?: Version;
|
|
4700
4698
|
}>;
|
|
4699
|
+
getViewWindowIdentity(fin: OpenFin.Fin<OpenFin.EntityType>, identity: OpenFin.Identity): Promise<OpenFin.Identity>;
|
|
4701
4700
|
readonly type: EnvironmentType;
|
|
4702
4701
|
}
|
|
4703
4702
|
|
|
@@ -7865,6 +7864,7 @@ declare type LaunchIntoPlatformPayload = {
|
|
|
7865
7864
|
*/
|
|
7866
7865
|
declare class Layout extends Base {
|
|
7867
7866
|
#private;
|
|
7867
|
+
/* Excluded from this release type: getClient */
|
|
7868
7868
|
/* Excluded from this release type: init */
|
|
7869
7869
|
identity: OpenFin.Identity | OpenFin.LayoutIdentity;
|
|
7870
7870
|
private platform;
|
|
@@ -7964,7 +7964,17 @@ declare class Layout extends Base {
|
|
|
7964
7964
|
* ```
|
|
7965
7965
|
*/
|
|
7966
7966
|
getRootItem(): Promise<OpenFin.ColumnOrRow | OpenFin.TabStack>;
|
|
7967
|
-
|
|
7967
|
+
/**
|
|
7968
|
+
* Retrieves the OpenFin.TabStack instance which the View belongs to.
|
|
7969
|
+
*
|
|
7970
|
+
* @example
|
|
7971
|
+
* ```js
|
|
7972
|
+
* const viewIdentity = { uuid: 'uuid', name: 'view-name' };
|
|
7973
|
+
* const stack = await fin.View.wrapSync(viewIdentity).getStackByViewIdentity(viewIdentity);
|
|
7974
|
+
* console.log(await stack.getViews());
|
|
7975
|
+
* ```
|
|
7976
|
+
*/
|
|
7977
|
+
getStackByViewIdentity(identity: OpenFin.Identity): Promise<OpenFin.TabStack>;
|
|
7968
7978
|
/**
|
|
7969
7979
|
* Replaces the specified view with a view with the provided configuration.
|
|
7970
7980
|
*
|
|
@@ -8334,6 +8344,17 @@ declare class LayoutModule extends Base {
|
|
|
8334
8344
|
* ```
|
|
8335
8345
|
*/
|
|
8336
8346
|
getCurrentSync(): OpenFin.Layout;
|
|
8347
|
+
/**
|
|
8348
|
+
* Retrieves the OpenFin.Layout instance for the Window the View is attached to.
|
|
8349
|
+
*
|
|
8350
|
+
* @example
|
|
8351
|
+
* ```js
|
|
8352
|
+
* const viewIdentity = { uuid: 'uuid', name: 'view-name' };
|
|
8353
|
+
* const layout = await fin.Platform.Layout.getLayoutByViewIdentity(viewIdentity);
|
|
8354
|
+
* console.log(await layout.getCurrentViews());
|
|
8355
|
+
* ```
|
|
8356
|
+
*/
|
|
8357
|
+
getLayoutByViewIdentity(viewIdentity: OpenFin.Identity): Promise<OpenFin.Layout>;
|
|
8337
8358
|
/**
|
|
8338
8359
|
* Initialize the window's Layout.
|
|
8339
8360
|
*
|
|
@@ -9960,6 +9981,7 @@ declare class Platform extends EmitterBase<OpenFin.PlatformEvent> {
|
|
|
9960
9981
|
private _channel;
|
|
9961
9982
|
Application: OpenFin.Application;
|
|
9962
9983
|
identity: OpenFin.ApplicationIdentity;
|
|
9984
|
+
/* Excluded from this release type: clientMap */
|
|
9963
9985
|
/* Excluded from this release type: __constructor */
|
|
9964
9986
|
getClient: (identity?: OpenFin.ApplicationIdentity) => Promise<ChannelClient_2>;
|
|
9965
9987
|
/**
|
|
@@ -15867,7 +15889,7 @@ declare class View_2 extends WebContents<OpenFin.ViewEvent> {
|
|
|
15867
15889
|
*/
|
|
15868
15890
|
getInfo: () => Promise<OpenFin.ViewInfo>;
|
|
15869
15891
|
/**
|
|
15870
|
-
* Retrieves the
|
|
15892
|
+
* Retrieves the OpenFin.Layout instance for the Window the View is attached to.
|
|
15871
15893
|
*
|
|
15872
15894
|
* @example
|
|
15873
15895
|
* ```js
|
package/out/fdc3-api-public.d.ts
CHANGED
|
@@ -2262,8 +2262,6 @@ declare class Channel extends EmitterBase<ChannelEvent> {
|
|
|
2262
2262
|
|
|
2263
2263
|
declare type Channel_2 = OpenFin.Fin['InterApplicationBus']['Channel'];
|
|
2264
2264
|
|
|
2265
|
-
declare type Channel_3 = OpenFin.Fin['InterApplicationBus']['Channel'];
|
|
2266
|
-
|
|
2267
2265
|
declare type ChannelAction = OpenFin.ChannelAction;
|
|
2268
2266
|
|
|
2269
2267
|
declare type ChannelAction_2 = (payload: unknown, id: ProviderIdentity_4 | ClientIdentity) => unknown;
|
|
@@ -4698,6 +4696,7 @@ declare interface Environment {
|
|
|
4698
4696
|
getInteropInfo(fin: OpenFin.Fin<OpenFin.EntityType>): Promise<InternalInteropBrokerOptions & {
|
|
4699
4697
|
fdc3Version?: Version;
|
|
4700
4698
|
}>;
|
|
4699
|
+
getViewWindowIdentity(fin: OpenFin.Fin<OpenFin.EntityType>, identity: OpenFin.Identity): Promise<OpenFin.Identity>;
|
|
4701
4700
|
readonly type: EnvironmentType;
|
|
4702
4701
|
}
|
|
4703
4702
|
|
|
@@ -7865,6 +7864,7 @@ declare type LaunchIntoPlatformPayload = {
|
|
|
7865
7864
|
*/
|
|
7866
7865
|
declare class Layout extends Base {
|
|
7867
7866
|
#private;
|
|
7867
|
+
/* Excluded from this release type: getClient */
|
|
7868
7868
|
/* Excluded from this release type: init */
|
|
7869
7869
|
identity: OpenFin.Identity | OpenFin.LayoutIdentity;
|
|
7870
7870
|
private platform;
|
|
@@ -7964,7 +7964,17 @@ declare class Layout extends Base {
|
|
|
7964
7964
|
* ```
|
|
7965
7965
|
*/
|
|
7966
7966
|
getRootItem(): Promise<OpenFin.ColumnOrRow | OpenFin.TabStack>;
|
|
7967
|
-
|
|
7967
|
+
/**
|
|
7968
|
+
* Retrieves the OpenFin.TabStack instance which the View belongs to.
|
|
7969
|
+
*
|
|
7970
|
+
* @example
|
|
7971
|
+
* ```js
|
|
7972
|
+
* const viewIdentity = { uuid: 'uuid', name: 'view-name' };
|
|
7973
|
+
* const stack = await fin.View.wrapSync(viewIdentity).getStackByViewIdentity(viewIdentity);
|
|
7974
|
+
* console.log(await stack.getViews());
|
|
7975
|
+
* ```
|
|
7976
|
+
*/
|
|
7977
|
+
getStackByViewIdentity(identity: OpenFin.Identity): Promise<OpenFin.TabStack>;
|
|
7968
7978
|
/**
|
|
7969
7979
|
* Replaces the specified view with a view with the provided configuration.
|
|
7970
7980
|
*
|
|
@@ -8334,6 +8344,17 @@ declare class LayoutModule extends Base {
|
|
|
8334
8344
|
* ```
|
|
8335
8345
|
*/
|
|
8336
8346
|
getCurrentSync(): OpenFin.Layout;
|
|
8347
|
+
/**
|
|
8348
|
+
* Retrieves the OpenFin.Layout instance for the Window the View is attached to.
|
|
8349
|
+
*
|
|
8350
|
+
* @example
|
|
8351
|
+
* ```js
|
|
8352
|
+
* const viewIdentity = { uuid: 'uuid', name: 'view-name' };
|
|
8353
|
+
* const layout = await fin.Platform.Layout.getLayoutByViewIdentity(viewIdentity);
|
|
8354
|
+
* console.log(await layout.getCurrentViews());
|
|
8355
|
+
* ```
|
|
8356
|
+
*/
|
|
8357
|
+
getLayoutByViewIdentity(viewIdentity: OpenFin.Identity): Promise<OpenFin.Layout>;
|
|
8337
8358
|
/**
|
|
8338
8359
|
* Initialize the window's Layout.
|
|
8339
8360
|
*
|
|
@@ -9960,6 +9981,7 @@ declare class Platform extends EmitterBase<OpenFin.PlatformEvent> {
|
|
|
9960
9981
|
private _channel;
|
|
9961
9982
|
Application: OpenFin.Application;
|
|
9962
9983
|
identity: OpenFin.ApplicationIdentity;
|
|
9984
|
+
/* Excluded from this release type: clientMap */
|
|
9963
9985
|
/* Excluded from this release type: __constructor */
|
|
9964
9986
|
getClient: (identity?: OpenFin.ApplicationIdentity) => Promise<ChannelClient_2>;
|
|
9965
9987
|
/**
|
|
@@ -15867,7 +15889,7 @@ declare class View_2 extends WebContents<OpenFin.ViewEvent> {
|
|
|
15867
15889
|
*/
|
|
15868
15890
|
getInfo: () => Promise<OpenFin.ViewInfo>;
|
|
15869
15891
|
/**
|
|
15870
|
-
* Retrieves the
|
|
15892
|
+
* Retrieves the OpenFin.Layout instance for the Window the View is attached to.
|
|
15871
15893
|
*
|
|
15872
15894
|
* @example
|
|
15873
15895
|
* ```js
|
package/out/fdc3-api.d.ts
CHANGED
|
@@ -2301,8 +2301,6 @@ declare class Channel extends EmitterBase<ChannelEvent> {
|
|
|
2301
2301
|
|
|
2302
2302
|
declare type Channel_2 = OpenFin.Fin['InterApplicationBus']['Channel'];
|
|
2303
2303
|
|
|
2304
|
-
declare type Channel_3 = OpenFin.Fin['InterApplicationBus']['Channel'];
|
|
2305
|
-
|
|
2306
2304
|
declare type ChannelAction = OpenFin.ChannelAction;
|
|
2307
2305
|
|
|
2308
2306
|
declare type ChannelAction_2 = (payload: unknown, id: ProviderIdentity_4 | ClientIdentity) => unknown;
|
|
@@ -4762,6 +4760,7 @@ declare interface Environment {
|
|
|
4762
4760
|
getInteropInfo(fin: OpenFin.Fin<OpenFin.EntityType>): Promise<InternalInteropBrokerOptions & {
|
|
4763
4761
|
fdc3Version?: Version;
|
|
4764
4762
|
}>;
|
|
4763
|
+
getViewWindowIdentity(fin: OpenFin.Fin<OpenFin.EntityType>, identity: OpenFin.Identity): Promise<OpenFin.Identity>;
|
|
4765
4764
|
readonly type: EnvironmentType;
|
|
4766
4765
|
}
|
|
4767
4766
|
|
|
@@ -7982,6 +7981,10 @@ declare type LaunchIntoPlatformPayload = {
|
|
|
7982
7981
|
*/
|
|
7983
7982
|
declare class Layout extends Base {
|
|
7984
7983
|
#private;
|
|
7984
|
+
/**
|
|
7985
|
+
* @internal
|
|
7986
|
+
*/
|
|
7987
|
+
static getClient(layout: Layout): Promise<LayoutEntitiesClient>;
|
|
7985
7988
|
/**
|
|
7986
7989
|
* @internal
|
|
7987
7990
|
*/
|
|
@@ -8087,7 +8090,17 @@ declare class Layout extends Base {
|
|
|
8087
8090
|
* ```
|
|
8088
8091
|
*/
|
|
8089
8092
|
getRootItem(): Promise<OpenFin.ColumnOrRow | OpenFin.TabStack>;
|
|
8090
|
-
|
|
8093
|
+
/**
|
|
8094
|
+
* Retrieves the OpenFin.TabStack instance which the View belongs to.
|
|
8095
|
+
*
|
|
8096
|
+
* @example
|
|
8097
|
+
* ```js
|
|
8098
|
+
* const viewIdentity = { uuid: 'uuid', name: 'view-name' };
|
|
8099
|
+
* const stack = await fin.View.wrapSync(viewIdentity).getStackByViewIdentity(viewIdentity);
|
|
8100
|
+
* console.log(await stack.getViews());
|
|
8101
|
+
* ```
|
|
8102
|
+
*/
|
|
8103
|
+
getStackByViewIdentity(identity: OpenFin.Identity): Promise<OpenFin.TabStack>;
|
|
8091
8104
|
/**
|
|
8092
8105
|
* Replaces the specified view with a view with the provided configuration.
|
|
8093
8106
|
*
|
|
@@ -8457,6 +8470,17 @@ declare class LayoutModule extends Base {
|
|
|
8457
8470
|
* ```
|
|
8458
8471
|
*/
|
|
8459
8472
|
getCurrentSync(): OpenFin.Layout;
|
|
8473
|
+
/**
|
|
8474
|
+
* Retrieves the OpenFin.Layout instance for the Window the View is attached to.
|
|
8475
|
+
*
|
|
8476
|
+
* @example
|
|
8477
|
+
* ```js
|
|
8478
|
+
* const viewIdentity = { uuid: 'uuid', name: 'view-name' };
|
|
8479
|
+
* const layout = await fin.Platform.Layout.getLayoutByViewIdentity(viewIdentity);
|
|
8480
|
+
* console.log(await layout.getCurrentViews());
|
|
8481
|
+
* ```
|
|
8482
|
+
*/
|
|
8483
|
+
getLayoutByViewIdentity(viewIdentity: OpenFin.Identity): Promise<OpenFin.Layout>;
|
|
8460
8484
|
/**
|
|
8461
8485
|
* Initialize the window's Layout.
|
|
8462
8486
|
*
|
|
@@ -10275,10 +10299,16 @@ declare class Platform extends EmitterBase<OpenFin.PlatformEvent> {
|
|
|
10275
10299
|
private _channel;
|
|
10276
10300
|
Application: OpenFin.Application;
|
|
10277
10301
|
identity: OpenFin.ApplicationIdentity;
|
|
10302
|
+
/**
|
|
10303
|
+
* @internal
|
|
10304
|
+
* Reuse clients to avoid overwriting already-registered client in provider
|
|
10305
|
+
* This ensures that only channel client is created per channel name per `fin` instance
|
|
10306
|
+
*/
|
|
10307
|
+
private static clientMap;
|
|
10278
10308
|
/**
|
|
10279
10309
|
* @internal
|
|
10280
10310
|
*/
|
|
10281
|
-
constructor(identity: OpenFin.ApplicationIdentity,
|
|
10311
|
+
constructor(wire: Transport, identity: OpenFin.ApplicationIdentity, channelName?: string);
|
|
10282
10312
|
getClient: (identity?: OpenFin.ApplicationIdentity) => Promise<ChannelClient_2>;
|
|
10283
10313
|
/**
|
|
10284
10314
|
* Creates a new view and attaches it to a specified target window.
|
|
@@ -16276,7 +16306,7 @@ declare class View_2 extends WebContents<OpenFin.ViewEvent> {
|
|
|
16276
16306
|
*/
|
|
16277
16307
|
getInfo: () => Promise<OpenFin.ViewInfo>;
|
|
16278
16308
|
/**
|
|
16279
|
-
* Retrieves the
|
|
16309
|
+
* Retrieves the OpenFin.Layout instance for the Window the View is attached to.
|
|
16280
16310
|
*
|
|
16281
16311
|
* @example
|
|
16282
16312
|
* ```js
|