@openfin/workspace-platform 23.2.3 → 23.2.4
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 +1 -4
- package/index.js +1 -1
- package/index.js.map +1 -1
- package/package.json +2 -2
- package/workspace_platform.zip +0 -0
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type OpenFin from '@openfin/core';
|
|
2
2
|
import { WindowIdentity } from '../../../common/src/utils/window';
|
|
3
|
-
import { AttachedPageInternal } from '../../../common/src/api/pages/shapes';
|
|
4
3
|
import { AttachedPage, PageLayout } from '../../../client-api-platform/src/shapes';
|
|
5
4
|
export type LayoutDOMEventType =
|
|
6
5
|
/**
|
|
@@ -53,6 +52,7 @@ export type LayoutDOMEvent = {
|
|
|
53
52
|
};
|
|
54
53
|
export type LayoutDOMEventListener = (ev: LayoutDOMEvent) => void;
|
|
55
54
|
export declare const VIEW_NAME_PREFIX: "internal-generated-view-";
|
|
55
|
+
export declare const getViewNameFromTabId: (tabId: string) => string;
|
|
56
56
|
export declare const getFirstActiveViewFromLayout: (identity: OpenFin.LayoutIdentity) => OpenFin.Identity | undefined;
|
|
57
57
|
/**
|
|
58
58
|
* Recursively clones a layout object, calling a passed callback on each `componentState` in the tree.
|
|
@@ -144,9 +144,6 @@ export declare const findViewInLayout: (node: any, viewId: OpenFin.Identity) =>
|
|
|
144
144
|
*/
|
|
145
145
|
export declare const countViews: (node: OpenFin.LayoutContent) => number;
|
|
146
146
|
export declare const getLayoutConfig: (layoutContainerKey: string) => Promise<any>;
|
|
147
|
-
export declare const updateTabStateBasedOnViewCount: (page: AttachedPageInternal, viewCount: number) => Promise<void>;
|
|
148
|
-
export declare const updatePageForViewCount: (activePage: AttachedPageInternal | undefined) => Promise<void>;
|
|
149
|
-
export declare const debouncedUpdatePageForViewCount: import("lodash").DebouncedFunc<(activePage: AttachedPageInternal | undefined) => Promise<void>>;
|
|
150
147
|
export declare const findPageForView: (viewName: string, browserWindowIdentity?: WindowIdentity) => Promise<AttachedPage | undefined>;
|
|
151
148
|
/**
|
|
152
149
|
* Only show the view tab icon when not on the landing page
|