@openfin/workspace-platform 45.1.1 → 45.1.2

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.
@@ -1,6 +1,6 @@
1
1
  import type OpenFin from '@openfin/core';
2
- import type { PagePinnedState } from '../../../common/src/api/pages/shapes';
3
2
  import { WindowIdentity } from '../../../common/src/utils/window';
3
+ import type { PagePinnedState } from '../../../common/src/api/pages/shapes';
4
4
  import { AttachedPage, PageLayout } from '../../../client-api-platform/src/shapes';
5
5
  export type LayoutDOMEventType =
6
6
  /**
@@ -155,6 +155,12 @@ export declare const findViewInLayout: (node: any, viewId: OpenFin.Identity) =>
155
155
  export declare const countViews: (node: OpenFin.LayoutContent) => number;
156
156
  export declare const getLayoutConfig: (layoutContainerKey: string) => Promise<any>;
157
157
  export declare const findPageForView: (viewName: string, browserWindowIdentity?: WindowIdentity) => Promise<AttachedPage | undefined>;
158
+ /**
159
+ * Waits for a specific view to receive focus on the current window, resolving
160
+ * either when the matching `view-focused` event fires or after a timeout (default 150ms).
161
+ * Useful for ensuring focus is stable before opening popups that would auto-close on focus shift.
162
+ */
163
+ export declare const waitForViewFocus: (viewName: string, timeoutMs?: number) => Promise<void>;
158
164
  /**
159
165
  * Only show the view tab icon when not on the landing page
160
166
  */
@@ -21,6 +21,14 @@
21
21
  "issuer": "common/src/utils/color-linking.ts"
22
22
  }
23
23
  ],
24
+ "lodash.clonedeep": [
25
+ {
26
+ "type": "explicit",
27
+ "version": "4.5.0",
28
+ "packageName": "common/package.json",
29
+ "issuer": "common/src/utils/layout.ts"
30
+ }
31
+ ],
24
32
  "react-i18next": [
25
33
  {
26
34
  "type": "explicit",
@@ -39,10 +47,10 @@
39
47
  ],
40
48
  "dexie": [
41
49
  {
42
- "type": "explicit",
50
+ "type": "root-implicit",
43
51
  "version": "^4.0.11",
44
- "packageName": "common/package.json",
45
- "issuer": "common/src/api/pages/idb.ts"
52
+ "packageName": "dock3/package.json",
53
+ "issuer": "dock3/src/api/idb.ts"
46
54
  },
47
55
  {
48
56
  "type": "explicit",
@@ -51,10 +59,10 @@
51
59
  "issuer": "client-api-platform/src/api/dock/idb.ts"
52
60
  },
53
61
  {
54
- "type": "root-implicit",
62
+ "type": "explicit",
55
63
  "version": "^4.0.11",
56
- "packageName": "dock3/package.json",
57
- "issuer": "dock3/src/api/idb.ts"
64
+ "packageName": "common/package.json",
65
+ "issuer": "common/src/api/pages/idb.ts"
58
66
  },
59
67
  {
60
68
  "type": "explicit",
@@ -62,13 +70,5 @@
62
70
  "packageName": "common/package.json",
63
71
  "issuer": "common/src/utils/create-and-migrate-ibd-store.ts"
64
72
  }
65
- ],
66
- "lodash.clonedeep": [
67
- {
68
- "type": "explicit",
69
- "version": "4.5.0",
70
- "packageName": "common/package.json",
71
- "issuer": "common/src/utils/layout.ts"
72
- }
73
73
  ]
74
74
  }