@openfin/fdc3-api 40.82.19 → 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.
@@ -4696,6 +4696,7 @@ declare interface Environment {
4696
4696
  getInteropInfo(fin: OpenFin.Fin<OpenFin.EntityType>): Promise<InternalInteropBrokerOptions & {
4697
4697
  fdc3Version?: Version;
4698
4698
  }>;
4699
+ getViewWindowIdentity(fin: OpenFin.Fin<OpenFin.EntityType>, identity: OpenFin.Identity): Promise<OpenFin.Identity>;
4699
4700
  readonly type: EnvironmentType;
4700
4701
  }
4701
4702
 
@@ -7863,6 +7864,7 @@ declare type LaunchIntoPlatformPayload = {
7863
7864
  */
7864
7865
  declare class Layout extends Base {
7865
7866
  #private;
7867
+ /* Excluded from this release type: getClient */
7866
7868
  /* Excluded from this release type: init */
7867
7869
  identity: OpenFin.Identity | OpenFin.LayoutIdentity;
7868
7870
  private platform;
@@ -7962,6 +7964,16 @@ declare class Layout extends Base {
7962
7964
  * ```
7963
7965
  */
7964
7966
  getRootItem(): Promise<OpenFin.ColumnOrRow | OpenFin.TabStack>;
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
+ */
7965
7977
  getStackByViewIdentity(identity: OpenFin.Identity): Promise<OpenFin.TabStack>;
7966
7978
  /**
7967
7979
  * Replaces the specified view with a view with the provided configuration.
@@ -8332,6 +8344,17 @@ declare class LayoutModule extends Base {
8332
8344
  * ```
8333
8345
  */
8334
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>;
8335
8358
  /**
8336
8359
  * Initialize the window's Layout.
8337
8360
  *
@@ -15866,7 +15889,7 @@ declare class View_2 extends WebContents<OpenFin.ViewEvent> {
15866
15889
  */
15867
15890
  getInfo: () => Promise<OpenFin.ViewInfo>;
15868
15891
  /**
15869
- * Retrieves the layout for the window the view is attached to.
15892
+ * Retrieves the OpenFin.Layout instance for the Window the View is attached to.
15870
15893
  *
15871
15894
  * @example
15872
15895
  * ```js
@@ -4696,6 +4696,7 @@ declare interface Environment {
4696
4696
  getInteropInfo(fin: OpenFin.Fin<OpenFin.EntityType>): Promise<InternalInteropBrokerOptions & {
4697
4697
  fdc3Version?: Version;
4698
4698
  }>;
4699
+ getViewWindowIdentity(fin: OpenFin.Fin<OpenFin.EntityType>, identity: OpenFin.Identity): Promise<OpenFin.Identity>;
4699
4700
  readonly type: EnvironmentType;
4700
4701
  }
4701
4702
 
@@ -7863,6 +7864,7 @@ declare type LaunchIntoPlatformPayload = {
7863
7864
  */
7864
7865
  declare class Layout extends Base {
7865
7866
  #private;
7867
+ /* Excluded from this release type: getClient */
7866
7868
  /* Excluded from this release type: init */
7867
7869
  identity: OpenFin.Identity | OpenFin.LayoutIdentity;
7868
7870
  private platform;
@@ -7962,6 +7964,16 @@ declare class Layout extends Base {
7962
7964
  * ```
7963
7965
  */
7964
7966
  getRootItem(): Promise<OpenFin.ColumnOrRow | OpenFin.TabStack>;
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
+ */
7965
7977
  getStackByViewIdentity(identity: OpenFin.Identity): Promise<OpenFin.TabStack>;
7966
7978
  /**
7967
7979
  * Replaces the specified view with a view with the provided configuration.
@@ -8332,6 +8344,17 @@ declare class LayoutModule extends Base {
8332
8344
  * ```
8333
8345
  */
8334
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>;
8335
8358
  /**
8336
8359
  * Initialize the window's Layout.
8337
8360
  *
@@ -15866,7 +15889,7 @@ declare class View_2 extends WebContents<OpenFin.ViewEvent> {
15866
15889
  */
15867
15890
  getInfo: () => Promise<OpenFin.ViewInfo>;
15868
15891
  /**
15869
- * Retrieves the layout for the window the view is attached to.
15892
+ * Retrieves the OpenFin.Layout instance for the Window the View is attached to.
15870
15893
  *
15871
15894
  * @example
15872
15895
  * ```js
@@ -4696,6 +4696,7 @@ declare interface Environment {
4696
4696
  getInteropInfo(fin: OpenFin.Fin<OpenFin.EntityType>): Promise<InternalInteropBrokerOptions & {
4697
4697
  fdc3Version?: Version;
4698
4698
  }>;
4699
+ getViewWindowIdentity(fin: OpenFin.Fin<OpenFin.EntityType>, identity: OpenFin.Identity): Promise<OpenFin.Identity>;
4699
4700
  readonly type: EnvironmentType;
4700
4701
  }
4701
4702
 
@@ -7863,6 +7864,7 @@ declare type LaunchIntoPlatformPayload = {
7863
7864
  */
7864
7865
  declare class Layout extends Base {
7865
7866
  #private;
7867
+ /* Excluded from this release type: getClient */
7866
7868
  /* Excluded from this release type: init */
7867
7869
  identity: OpenFin.Identity | OpenFin.LayoutIdentity;
7868
7870
  private platform;
@@ -7962,6 +7964,16 @@ declare class Layout extends Base {
7962
7964
  * ```
7963
7965
  */
7964
7966
  getRootItem(): Promise<OpenFin.ColumnOrRow | OpenFin.TabStack>;
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
+ */
7965
7977
  getStackByViewIdentity(identity: OpenFin.Identity): Promise<OpenFin.TabStack>;
7966
7978
  /**
7967
7979
  * Replaces the specified view with a view with the provided configuration.
@@ -8332,6 +8344,17 @@ declare class LayoutModule extends Base {
8332
8344
  * ```
8333
8345
  */
8334
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>;
8335
8358
  /**
8336
8359
  * Initialize the window's Layout.
8337
8360
  *
@@ -15866,7 +15889,7 @@ declare class View_2 extends WebContents<OpenFin.ViewEvent> {
15866
15889
  */
15867
15890
  getInfo: () => Promise<OpenFin.ViewInfo>;
15868
15891
  /**
15869
- * Retrieves the layout for the window the view is attached to.
15892
+ * Retrieves the OpenFin.Layout instance for the Window the View is attached to.
15870
15893
  *
15871
15894
  * @example
15872
15895
  * ```js
package/out/fdc3-api.d.ts CHANGED
@@ -4760,6 +4760,7 @@ declare interface Environment {
4760
4760
  getInteropInfo(fin: OpenFin.Fin<OpenFin.EntityType>): Promise<InternalInteropBrokerOptions & {
4761
4761
  fdc3Version?: Version;
4762
4762
  }>;
4763
+ getViewWindowIdentity(fin: OpenFin.Fin<OpenFin.EntityType>, identity: OpenFin.Identity): Promise<OpenFin.Identity>;
4763
4764
  readonly type: EnvironmentType;
4764
4765
  }
4765
4766
 
@@ -7980,6 +7981,10 @@ declare type LaunchIntoPlatformPayload = {
7980
7981
  */
7981
7982
  declare class Layout extends Base {
7982
7983
  #private;
7984
+ /**
7985
+ * @internal
7986
+ */
7987
+ static getClient(layout: Layout): Promise<LayoutEntitiesClient>;
7983
7988
  /**
7984
7989
  * @internal
7985
7990
  */
@@ -8085,6 +8090,16 @@ declare class Layout extends Base {
8085
8090
  * ```
8086
8091
  */
8087
8092
  getRootItem(): Promise<OpenFin.ColumnOrRow | OpenFin.TabStack>;
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
+ */
8088
8103
  getStackByViewIdentity(identity: OpenFin.Identity): Promise<OpenFin.TabStack>;
8089
8104
  /**
8090
8105
  * Replaces the specified view with a view with the provided configuration.
@@ -8455,6 +8470,17 @@ declare class LayoutModule extends Base {
8455
8470
  * ```
8456
8471
  */
8457
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>;
8458
8484
  /**
8459
8485
  * Initialize the window's Layout.
8460
8486
  *
@@ -16280,7 +16306,7 @@ declare class View_2 extends WebContents<OpenFin.ViewEvent> {
16280
16306
  */
16281
16307
  getInfo: () => Promise<OpenFin.ViewInfo>;
16282
16308
  /**
16283
- * Retrieves the layout for the window the view is attached to.
16309
+ * Retrieves the OpenFin.Layout instance for the Window the View is attached to.
16284
16310
  *
16285
16311
  * @example
16286
16312
  * ```js
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfin/fdc3-api",
3
- "version": "40.82.19",
3
+ "version": "40.82.20",
4
4
  "description": "OpenFin fdc3 module utilities and types.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "private": false,