@openfin/workspace 18.1.10 → 18.1.11
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/client-api-platform/src/shapes.d.ts +17 -0
- package/common/src/api/pages/shapes.d.ts +1 -0
- package/common/src/utils/workspace-modals.d.ts +8 -1
- package/home.js +1 -1
- package/home.js.map +1 -1
- package/index.js +1 -1
- package/index.js.map +1 -1
- package/notifications.js +1 -1
- package/notifications.js.map +1 -1
- package/package.json +1 -1
- package/store.js +1 -1
- package/store.js.map +1 -1
|
@@ -1012,6 +1012,21 @@ export interface BrowserWindowModule {
|
|
|
1012
1012
|
* @internal
|
|
1013
1013
|
*/
|
|
1014
1014
|
_openSaveModal(req: OpenSaveMenuRequest): Promise<OpenFin.Identity>;
|
|
1015
|
+
/**
|
|
1016
|
+
* Internal implementation of addPage that supports adding at a specific index
|
|
1017
|
+
* @internal
|
|
1018
|
+
*/
|
|
1019
|
+
_addPage(page: PageWithUpdatableRuntimeAttribs, opts?: {
|
|
1020
|
+
index?: number;
|
|
1021
|
+
}): Promise<void>;
|
|
1022
|
+
/**
|
|
1023
|
+
* Internal implementation that supports adding at a specific index
|
|
1024
|
+
* @param req the reparent page request.
|
|
1025
|
+
* @internal
|
|
1026
|
+
*/
|
|
1027
|
+
_reparentPage(req: ReparentPageRequest & {
|
|
1028
|
+
index?: number;
|
|
1029
|
+
}): Promise<void>;
|
|
1015
1030
|
/** @internal */
|
|
1016
1031
|
_trackRemovedTab(req: any): Promise<void>;
|
|
1017
1032
|
/** @internal */
|
|
@@ -1877,6 +1892,8 @@ export interface ApplyWorkspaceOptions {
|
|
|
1877
1892
|
* Options to apply the workspace snapshot with.
|
|
1878
1893
|
*/
|
|
1879
1894
|
applySnapshotOptions?: ApplySnapshotOptions;
|
|
1895
|
+
/** Should the dialog modal be centered on the monitor instead of on top of the platform window */
|
|
1896
|
+
shouldCenterModalOnMonitor?: boolean;
|
|
1880
1897
|
}
|
|
1881
1898
|
/**
|
|
1882
1899
|
* Options used within the {@link WorkspacePlatformModule.applyWorkspace applyWorkspace} method.
|
|
@@ -131,6 +131,7 @@ export interface AttachPagesToWindowPayload {
|
|
|
131
131
|
identity: OpenFin.Identity;
|
|
132
132
|
/** The pages to attach. */
|
|
133
133
|
pages: PageWithUpdatableRuntimeAttribs[];
|
|
134
|
+
insertionIndex?: number;
|
|
134
135
|
}
|
|
135
136
|
export interface ExtendedAttachPagesToWindowPayload extends AttachPagesToWindowPayload {
|
|
136
137
|
/** The pages to attach. */
|
|
@@ -1,7 +1,14 @@
|
|
|
1
1
|
import type OpenFin from '@openfin/core';
|
|
2
2
|
import { ResponseModalConfig } from '../../../common/src/utils/menu-config';
|
|
3
3
|
export declare const restoreChangesMenu: (windowIdentity: OpenFin.Identity) => Promise<ResponseModalConfig>;
|
|
4
|
-
|
|
4
|
+
/**
|
|
5
|
+
*
|
|
6
|
+
* @param targetWindowIdentity Parent or Current OpenFin Window Identity
|
|
7
|
+
* @param workspaceTitle The platform label that was selected to be switched to
|
|
8
|
+
* @param shouldCenterOnMonitor Boolean - determines if modal window is centered on the monitor.
|
|
9
|
+
* @returns Boolean - Affirmative or Negative response from user
|
|
10
|
+
*/
|
|
11
|
+
export declare const showSwitchWorkspaceModal: (targetWindowIdentity: OpenFin.Identity | undefined, workspaceTitle: string, shouldCenterOnMonitor?: boolean) => Promise<boolean>;
|
|
5
12
|
export declare const showDeleteWorkspaceModal: (windowIdentity: OpenFin.Identity, workspaceTitle: string) => Promise<boolean>;
|
|
6
13
|
/**
|
|
7
14
|
*
|