@openfin/workspace-platform 22.0.7 → 22.1.0
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,5 +1,8 @@
|
|
|
1
1
|
import type OpenFin from '@openfin/core';
|
|
2
2
|
import { AttachedPage, ExtendedPanelConfig, PanelConfig } from '../../../common/src/api/pages/shapes';
|
|
3
|
-
export declare function convertPanelViewOpts(panels: PanelConfig[]
|
|
3
|
+
export declare function convertPanelViewOpts(panels: PanelConfig[], updatePageRequest?: {
|
|
4
|
+
identity: OpenFin.Identity;
|
|
5
|
+
pageId: string;
|
|
6
|
+
}): Promise<ExtendedPanelConfig[]>;
|
|
4
7
|
export declare function createPanelViewsForPages(pages: AttachedPage[]): Promise<void>;
|
|
5
8
|
export declare function createPanelViews(panels: PanelConfig[]): Promise<(void | OpenFin.View)[]>;
|
|
@@ -35,6 +35,7 @@ export type LayoutDOMEvent = {
|
|
|
35
35
|
type: Extract<LayoutDOMEventType, 'tabs-list-resized'>;
|
|
36
36
|
};
|
|
37
37
|
export type LayoutDOMEventListener = (ev: LayoutDOMEvent) => void;
|
|
38
|
+
export declare const VIEW_NAME_PREFIX: "internal-generated-view-";
|
|
38
39
|
export declare const getFirstActiveViewFromLayout: (identity: OpenFin.LayoutIdentity) => Promise<OpenFin.Identity>;
|
|
39
40
|
/**
|
|
40
41
|
* Recursively clones a layout object, calling a passed callback on each `componentState` in the tree.
|