@openfin/workspace-platform 18.1.6 → 18.1.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.
- package/common/src/utils/layout.d.ts +4 -1
- package/index.js +3 -3
- package/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,6 @@
|
|
|
1
|
+
/// <reference types="lodash" />
|
|
1
2
|
import type OpenFin from '@openfin/core';
|
|
3
|
+
import { AttachedPageInternal } from '../../../common/src/api/pages/shapes';
|
|
2
4
|
import { AttachedPage, PageLayout } from '../../../client-api-platform/src/shapes';
|
|
3
5
|
import { WindowIdentity } from './window';
|
|
4
6
|
export type LayoutDOMEventType =
|
|
@@ -103,5 +105,6 @@ export declare const findViewInLayout: (node: any, viewId: OpenFin.Identity) =>
|
|
|
103
105
|
* @returns The total number of views in the layout configuration.
|
|
104
106
|
*/
|
|
105
107
|
export declare const countViews: (node: OpenFin.LayoutContent) => number;
|
|
106
|
-
export declare const
|
|
108
|
+
export declare const updatePageForViewCount: (activePage: AttachedPageInternal) => Promise<void>;
|
|
109
|
+
export declare const debouncedUpdatePageForViewCount: import("lodash").DebouncedFunc<(activePage: AttachedPageInternal) => Promise<void>>;
|
|
107
110
|
export declare const findPageForView: (viewName: string, browserWindowIdentity?: WindowIdentity) => Promise<AttachedPage | undefined>;
|