@openfin/core 34.78.61 → 34.78.63

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.
@@ -11428,7 +11428,6 @@ declare interface PlatformProvider {
11428
11428
  * @param callerIdentity
11429
11429
  */
11430
11430
  getWindowSnapshot(identity: OpenFin_2.Identity, callerIdentity: OpenFin_2.Identity): Promise<OpenFin_2.WindowCreationOptions>;
11431
- /* Excluded from this release type: createViewsForLayout */
11432
11431
  /* Excluded from this release type: getViewSnapshot */
11433
11432
  /**
11434
11433
  * Called when a snapshot is being applied and some windows in that snapshot would be fully or partially off-screen.
@@ -19001,10 +19000,9 @@ declare class _Window extends WebContents<OpenFin_2.WindowEvent> {
19001
19000
  show(force?: boolean): Promise<void>;
19002
19001
  /**
19003
19002
  * Shows the window if it is hidden at the specified location.
19004
- * If the toggle parameter is set to true, the window will
19005
- * alternate between showing and hiding.
19006
- * @param left The left position of the window
19007
- * @param top The right position of the window
19003
+ *
19004
+ * @param left The left position of the window in pixels
19005
+ * @param top The top position of the window in pixels
19008
19006
  * @param force Show will be prevented from closing when force is false and
19009
19007
  * ‘show-requested’ has been subscribed to for application’s main window
19010
19008
  *
@@ -11428,7 +11428,6 @@ declare interface PlatformProvider {
11428
11428
  * @param callerIdentity
11429
11429
  */
11430
11430
  getWindowSnapshot(identity: OpenFin_2.Identity, callerIdentity: OpenFin_2.Identity): Promise<OpenFin_2.WindowCreationOptions>;
11431
- /* Excluded from this release type: createViewsForLayout */
11432
11431
  /* Excluded from this release type: getViewSnapshot */
11433
11432
  /**
11434
11433
  * Called when a snapshot is being applied and some windows in that snapshot would be fully or partially off-screen.
@@ -19001,10 +19000,9 @@ declare class _Window extends WebContents<OpenFin_2.WindowEvent> {
19001
19000
  show(force?: boolean): Promise<void>;
19002
19001
  /**
19003
19002
  * Shows the window if it is hidden at the specified location.
19004
- * If the toggle parameter is set to true, the window will
19005
- * alternate between showing and hiding.
19006
- * @param left The left position of the window
19007
- * @param top The right position of the window
19003
+ *
19004
+ * @param left The left position of the window in pixels
19005
+ * @param top The top position of the window in pixels
19008
19006
  * @param force Show will be prevented from closing when force is false and
19009
19007
  * ‘show-requested’ has been subscribed to for application’s main window
19010
19008
  *
@@ -11428,7 +11428,6 @@ declare interface PlatformProvider {
11428
11428
  * @param callerIdentity
11429
11429
  */
11430
11430
  getWindowSnapshot(identity: OpenFin_2.Identity, callerIdentity: OpenFin_2.Identity): Promise<OpenFin_2.WindowCreationOptions>;
11431
- /* Excluded from this release type: createViewsForLayout */
11432
11431
  /* Excluded from this release type: getViewSnapshot */
11433
11432
  /**
11434
11433
  * Called when a snapshot is being applied and some windows in that snapshot would be fully or partially off-screen.
@@ -19001,10 +19000,9 @@ declare class _Window extends WebContents<OpenFin_2.WindowEvent> {
19001
19000
  show(force?: boolean): Promise<void>;
19002
19001
  /**
19003
19002
  * Shows the window if it is hidden at the specified location.
19004
- * If the toggle parameter is set to true, the window will
19005
- * alternate between showing and hiding.
19006
- * @param left The left position of the window
19007
- * @param top The right position of the window
19003
+ *
19004
+ * @param left The left position of the window in pixels
19005
+ * @param top The top position of the window in pixels
19008
19006
  * @param force Show will be prevented from closing when force is false and
19009
19007
  * ‘show-requested’ has been subscribed to for application’s main window
19010
19008
  *
package/out/mock.d.ts CHANGED
@@ -11760,22 +11760,6 @@ declare interface PlatformProvider {
11760
11760
  * @param callerIdentity
11761
11761
  */
11762
11762
  getWindowSnapshot(identity: OpenFin_2.Identity, callerIdentity: OpenFin_2.Identity): Promise<OpenFin_2.WindowCreationOptions>;
11763
- /**
11764
- * @experimental @internal
11765
- *
11766
- * **NOTE**: Internal use only. This method is reserved for Workspace Browser implementation.
11767
- *
11768
- * Calls platform.createView for every view in the given layout. Returns an array of promises
11769
- * one promise for each view create call
11770
- *
11771
- * @param payload
11772
- * @param callerIdentity
11773
- * @returns an array of promises
11774
- */
11775
- createViewsForLayout(payload: {
11776
- layout: GoldenLayout.Config;
11777
- target?: OpenFin_2.Identity | OpenFin_2.LayoutIdentity;
11778
- }, callerIdentity: OpenFin_2.Identity): Promise<OpenFin_2.View>[];
11779
11763
  /**
11780
11764
  * **NOTE**: Internal use only. It is not recommended to manage the state of individual views.
11781
11765
  * 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.
@@ -19518,10 +19502,9 @@ declare class _Window extends WebContents<OpenFin_2.WindowEvent> {
19518
19502
  show(force?: boolean): Promise<void>;
19519
19503
  /**
19520
19504
  * Shows the window if it is hidden at the specified location.
19521
- * If the toggle parameter is set to true, the window will
19522
- * alternate between showing and hiding.
19523
- * @param left The left position of the window
19524
- * @param top The right position of the window
19505
+ *
19506
+ * @param left The left position of the window in pixels
19507
+ * @param top The top position of the window in pixels
19525
19508
  * @param force Show will be prevented from closing when force is false and
19526
19509
  * ‘show-requested’ has been subscribed to for application’s main window
19527
19510
  *
package/out/mock.js CHANGED
@@ -2559,10 +2559,8 @@ class WebContents extends base_1$k.EmitterBase {
2559
2559
  });
2560
2560
  const { data: { willOpen, options: popupOptions } } = tryCreatePayload;
2561
2561
  if (willOpen) {
2562
- await this.wire.environment.createChildContent({
2563
- options: popupOptions.initialOptions,
2564
- entityType: 'window'
2565
- });
2562
+ // Solve the issue where Interop in a popup window with non cross-origin url is not working(core-1076).
2563
+ await this.fin.Window.create(popupOptions.initialOptions);
2566
2564
  }
2567
2565
  const normalizePopupResult = (payload) => {
2568
2566
  const { name, uuid, result, data } = payload;
@@ -6082,10 +6080,9 @@ function requireInstance () {
6082
6080
  }
6083
6081
  /**
6084
6082
  * Shows the window if it is hidden at the specified location.
6085
- * If the toggle parameter is set to true, the window will
6086
- * alternate between showing and hiding.
6087
- * @param left The left position of the window
6088
- * @param top The right position of the window
6083
+ *
6084
+ * @param left The left position of the window in pixels
6085
+ * @param top The top position of the window in pixels
6089
6086
  * @param force Show will be prevented from closing when force is false and
6090
6087
  * ‘show-requested’ has been subscribed to for application’s main window
6091
6088
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfin/core",
3
- "version": "34.78.61",
3
+ "version": "34.78.63",
4
4
  "description": "The core renderer entry point of OpenFin",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "main": "out/mock.js",