@openfin/node-adapter 34.78.60 → 34.78.62

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.
@@ -11438,7 +11438,6 @@ declare interface PlatformProvider {
11438
11438
  * @param callerIdentity
11439
11439
  */
11440
11440
  getWindowSnapshot(identity: OpenFin.Identity, callerIdentity: OpenFin.Identity): Promise<OpenFin.WindowCreationOptions>;
11441
- /* Excluded from this release type: createViewsForLayout */
11442
11441
  /* Excluded from this release type: getViewSnapshot */
11443
11442
  /**
11444
11443
  * Called when a snapshot is being applied and some windows in that snapshot would be fully or partially off-screen.
@@ -19011,10 +19010,9 @@ declare class _Window extends WebContents<OpenFin.WindowEvent> {
19011
19010
  show(force?: boolean): Promise<void>;
19012
19011
  /**
19013
19012
  * Shows the window if it is hidden at the specified location.
19014
- * If the toggle parameter is set to true, the window will
19015
- * alternate between showing and hiding.
19016
- * @param left The left position of the window
19017
- * @param top The right position of the window
19013
+ *
19014
+ * @param left The left position of the window in pixels
19015
+ * @param top The top position of the window in pixels
19018
19016
  * @param force Show will be prevented from closing when force is false and
19019
19017
  * ‘show-requested’ has been subscribed to for application’s main window
19020
19018
  *
@@ -11438,7 +11438,6 @@ declare interface PlatformProvider {
11438
11438
  * @param callerIdentity
11439
11439
  */
11440
11440
  getWindowSnapshot(identity: OpenFin.Identity, callerIdentity: OpenFin.Identity): Promise<OpenFin.WindowCreationOptions>;
11441
- /* Excluded from this release type: createViewsForLayout */
11442
11441
  /* Excluded from this release type: getViewSnapshot */
11443
11442
  /**
11444
11443
  * Called when a snapshot is being applied and some windows in that snapshot would be fully or partially off-screen.
@@ -19011,10 +19010,9 @@ declare class _Window extends WebContents<OpenFin.WindowEvent> {
19011
19010
  show(force?: boolean): Promise<void>;
19012
19011
  /**
19013
19012
  * Shows the window if it is hidden at the specified location.
19014
- * If the toggle parameter is set to true, the window will
19015
- * alternate between showing and hiding.
19016
- * @param left The left position of the window
19017
- * @param top The right position of the window
19013
+ *
19014
+ * @param left The left position of the window in pixels
19015
+ * @param top The top position of the window in pixels
19018
19016
  * @param force Show will be prevented from closing when force is false and
19019
19017
  * ‘show-requested’ has been subscribed to for application’s main window
19020
19018
  *
@@ -11438,7 +11438,6 @@ declare interface PlatformProvider {
11438
11438
  * @param callerIdentity
11439
11439
  */
11440
11440
  getWindowSnapshot(identity: OpenFin.Identity, callerIdentity: OpenFin.Identity): Promise<OpenFin.WindowCreationOptions>;
11441
- /* Excluded from this release type: createViewsForLayout */
11442
11441
  /* Excluded from this release type: getViewSnapshot */
11443
11442
  /**
11444
11443
  * Called when a snapshot is being applied and some windows in that snapshot would be fully or partially off-screen.
@@ -19011,10 +19010,9 @@ declare class _Window extends WebContents<OpenFin.WindowEvent> {
19011
19010
  show(force?: boolean): Promise<void>;
19012
19011
  /**
19013
19012
  * Shows the window if it is hidden at the specified location.
19014
- * If the toggle parameter is set to true, the window will
19015
- * alternate between showing and hiding.
19016
- * @param left The left position of the window
19017
- * @param top The right position of the window
19013
+ *
19014
+ * @param left The left position of the window in pixels
19015
+ * @param top The top position of the window in pixels
19018
19016
  * @param force Show will be prevented from closing when force is false and
19019
19017
  * ‘show-requested’ has been subscribed to for application’s main window
19020
19018
  *
@@ -11792,22 +11792,6 @@ declare interface PlatformProvider {
11792
11792
  * @param callerIdentity
11793
11793
  */
11794
11794
  getWindowSnapshot(identity: OpenFin.Identity, callerIdentity: OpenFin.Identity): Promise<OpenFin.WindowCreationOptions>;
11795
- /**
11796
- * @experimental @internal
11797
- *
11798
- * **NOTE**: Internal use only. This method is reserved for Workspace Browser implementation.
11799
- *
11800
- * Calls platform.createView for every view in the given layout. Returns an array of promises
11801
- * one promise for each view create call
11802
- *
11803
- * @param payload
11804
- * @param callerIdentity
11805
- * @returns an array of promises
11806
- */
11807
- createViewsForLayout(payload: {
11808
- layout: GoldenLayout.Config;
11809
- target?: OpenFin.Identity | OpenFin.LayoutIdentity;
11810
- }, callerIdentity: OpenFin.Identity): Promise<OpenFin.View>[];
11811
11795
  /**
11812
11796
  * **NOTE**: Internal use only. It is not recommended to manage the state of individual views.
11813
11797
  * Gets the current state of a single view and returns an object with the options needed to restore that view as part of a snapshot.
@@ -19550,10 +19534,9 @@ declare class _Window extends WebContents<OpenFin.WindowEvent> {
19550
19534
  show(force?: boolean): Promise<void>;
19551
19535
  /**
19552
19536
  * Shows the window if it is hidden at the specified location.
19553
- * If the toggle parameter is set to true, the window will
19554
- * alternate between showing and hiding.
19555
- * @param left The left position of the window
19556
- * @param top The right position of the window
19537
+ *
19538
+ * @param left The left position of the window in pixels
19539
+ * @param top The top position of the window in pixels
19557
19540
  * @param force Show will be prevented from closing when force is false and
19558
19541
  * ‘show-requested’ has been subscribed to for application’s main window
19559
19542
  *
@@ -2339,10 +2339,8 @@ class WebContents extends base_1$k.EmitterBase {
2339
2339
  });
2340
2340
  const { data: { willOpen, options: popupOptions } } = tryCreatePayload;
2341
2341
  if (willOpen) {
2342
- await this.wire.environment.createChildContent({
2343
- options: popupOptions.initialOptions,
2344
- entityType: 'window'
2345
- });
2342
+ // Solve the issue where Interop in a popup window with non cross-origin url is not working(core-1076).
2343
+ await this.fin.Window.create(popupOptions.initialOptions);
2346
2344
  }
2347
2345
  const normalizePopupResult = (payload) => {
2348
2346
  const { name, uuid, result, data } = payload;
@@ -5862,10 +5860,9 @@ function requireInstance () {
5862
5860
  }
5863
5861
  /**
5864
5862
  * Shows the window if it is hidden at the specified location.
5865
- * If the toggle parameter is set to true, the window will
5866
- * alternate between showing and hiding.
5867
- * @param left The left position of the window
5868
- * @param top The right position of the window
5863
+ *
5864
+ * @param left The left position of the window in pixels
5865
+ * @param top The top position of the window in pixels
5869
5866
  * @param force Show will be prevented from closing when force is false and
5870
5867
  * ‘show-requested’ has been subscribed to for application’s main window
5871
5868
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfin/node-adapter",
3
- "version": "34.78.60",
3
+ "version": "34.78.62",
4
4
  "description": "See README.md",
5
5
  "main": "out/node-adapter.js",
6
6
  "types": "out/node-adapter.d.ts",
Binary file