@openfin/workspace-platform 18.0.3 → 18.0.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.
|
@@ -87,6 +87,7 @@ type AttachedPageMetadata = {
|
|
|
87
87
|
export type AttachedPage = Page & AttachedPageMetadata;
|
|
88
88
|
export type AttachedPageInternal = {
|
|
89
89
|
layoutContainerKey?: string;
|
|
90
|
+
singleViewName?: string;
|
|
90
91
|
} & AttachedPage;
|
|
91
92
|
export type ReparentAttachedPage = AttachedPage & {
|
|
92
93
|
multiInstanceViewBehavior?: 'reparent';
|
|
@@ -92,4 +92,11 @@ export declare const getUnlockedLayout: (lockedLayout: PageLayout, referenceUnlo
|
|
|
92
92
|
*/
|
|
93
93
|
export declare const replaceLayout: (layout: PageLayout, page: AttachedPage) => Promise<void>;
|
|
94
94
|
export declare const findViewInLayout: (node: any, viewId: OpenFin.Identity) => any[];
|
|
95
|
-
|
|
95
|
+
/**
|
|
96
|
+
* Calculates the total number of views in a given layout configuration.
|
|
97
|
+
*
|
|
98
|
+
* @param node - The layout configuration to traverse.
|
|
99
|
+
* @returns The total number of views in the layout configuration.
|
|
100
|
+
*/
|
|
101
|
+
export declare const countViews: (node: OpenFin.LayoutContent) => number;
|
|
102
|
+
export declare const checkSingleViewPage: () => Promise<void>;
|