@openfin/workspace-platform 22.2.5 → 22.2.7
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.
|
@@ -2,7 +2,6 @@ import type OpenFin from '@openfin/core';
|
|
|
2
2
|
/**
|
|
3
3
|
* Gets the last focused browser window.
|
|
4
4
|
* @returns {Promise<OpenFin.Identity | undefined>} The last focused browser window identity, or undefined if not found.
|
|
5
|
-
* @throws {Error} If there is an error retrieving the last focused browser window.
|
|
6
5
|
*/
|
|
7
6
|
export declare function getLastFocusedBrowserWindow(): Promise<OpenFin.Identity | undefined>;
|
|
8
7
|
/**
|
|
@@ -11,8 +10,13 @@ export declare function getLastFocusedBrowserWindow(): Promise<OpenFin.Identity
|
|
|
11
10
|
*/
|
|
12
11
|
export declare function getLastFocusedUnminimizedBrowserWindow(): Promise<OpenFin.Identity | undefined>;
|
|
13
12
|
/**
|
|
14
|
-
* Listen for
|
|
15
|
-
* When a browser window is focused, store it in local storage as the last focused browser window.
|
|
16
|
-
* When a browser window is closed, remove it from the LRU.
|
|
13
|
+
* Listen for browser window events to track focus and window state.
|
|
17
14
|
*/
|
|
18
15
|
export declare function listenForBrowserWindowFocus(): Promise<void>;
|
|
16
|
+
/**
|
|
17
|
+
* Selects the appropriate browser window based on the product requirements:
|
|
18
|
+
* 1. Most recently active visible window
|
|
19
|
+
* 2. Most recently active minimized window if no visible windows
|
|
20
|
+
* 3. New window if no existing windows
|
|
21
|
+
*/
|
|
22
|
+
export declare function selectAppropriateWindow(): Promise<OpenFin.Identity>;
|
package/externals.report.json
CHANGED
|
@@ -13,14 +13,6 @@
|
|
|
13
13
|
"issuer": "common/src/utils/layout.ts"
|
|
14
14
|
}
|
|
15
15
|
],
|
|
16
|
-
"title-case": [
|
|
17
|
-
{
|
|
18
|
-
"type": "root-implicit",
|
|
19
|
-
"version": "3.0.3",
|
|
20
|
-
"packageName": "common/package.json",
|
|
21
|
-
"issuer": "common/src/utils/color-linking.ts"
|
|
22
|
-
}
|
|
23
|
-
],
|
|
24
16
|
"react-i18next": [
|
|
25
17
|
{
|
|
26
18
|
"type": "root-implicit",
|
|
@@ -37,6 +29,14 @@
|
|
|
37
29
|
"issuer": "common/src/api/i18next.ts"
|
|
38
30
|
}
|
|
39
31
|
],
|
|
32
|
+
"title-case": [
|
|
33
|
+
{
|
|
34
|
+
"type": "root-implicit",
|
|
35
|
+
"version": "3.0.3",
|
|
36
|
+
"packageName": "common/package.json",
|
|
37
|
+
"issuer": "common/src/utils/color-linking.ts"
|
|
38
|
+
}
|
|
39
|
+
],
|
|
40
40
|
"dexie": [
|
|
41
41
|
{
|
|
42
42
|
"type": "explicit",
|