@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';
@@ -1,2 +1,4 @@
1
1
  import type OpenFin from '@openfin/core';
2
2
  export declare const isEnterpriseBrowser: (id?: OpenFin.Identity) => Promise<boolean>;
3
+ export declare function formatUrl(url: string): string;
4
+ export declare const getMenuWindowWidth: () => Promise<number>;
@@ -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
- export declare const checkShowHeader: () => Promise<void>;
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>;