@openfin/workspace-platform 19.1.2 → 19.1.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.
@@ -2,6 +2,10 @@ import type OpenFin from '@openfin/core';
2
2
  import { WorkspaceContextMenuItemData } from '../../../../client-api-platform/src/shapes';
3
3
  export declare const saveWorkspaceHandler: (identity: OpenFin.Identity) => Promise<void>;
4
4
  export declare const saveWorkspaceAsHandler: (identity: OpenFin.Identity) => void;
5
+ /**
6
+ * @param identity Identity of browser window to create a new page on.
7
+ */
8
+ export declare const createNewPageHandler: (identity: OpenFin.Identity) => Promise<void>;
5
9
  /**
6
10
  * @param identity Identity of browser window to execute save on.
7
11
  * @param pageId Id of a page to save. If omitted, active page is saved.
@@ -152,6 +152,7 @@ export declare enum PageTabContextMenuOptionType {
152
152
  Rename = "Rename",
153
153
  Save = "Save",
154
154
  SaveAs = "Save As",
155
+ NewPage = "New Page",
155
156
  DeletePage = "Delete Page",
156
157
  SaveWorkspaceAs = "SaveWorkspaceAs",
157
158
  Refresh = "Refresh",
@@ -88,6 +88,7 @@ export type AttachedPage = Page & AttachedPageMetadata;
88
88
  export type AttachedPageInternal = {
89
89
  layoutContainerKey?: string;
90
90
  singleViewName?: string;
91
+ attachedPageType?: 'singleView' | 'multiView' | undefined;
91
92
  } & AttachedPage;
92
93
  export type ReparentAttachedPage = AttachedPage & {
93
94
  multiInstanceViewBehavior?: 'reparent';