@openfin/workspace-platform 9.1.1 → 9.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.
|
@@ -1417,12 +1417,9 @@ export interface UpdateSavedWorkspaceRequest {
|
|
|
1417
1417
|
* @private
|
|
1418
1418
|
*/
|
|
1419
1419
|
export declare type OpenSaveMenuRequest = {
|
|
1420
|
-
x?: number;
|
|
1421
|
-
y?: number;
|
|
1422
|
-
} & ({
|
|
1423
1420
|
menuType: SaveModalType.SAVE_PAGE | SaveModalType.SAVE_PAGE_AS | SaveModalType.RENAME_PAGE;
|
|
1424
1421
|
id: string;
|
|
1425
1422
|
} | {
|
|
1426
1423
|
menuType: SaveModalType.SAVE_WORKSPACE | SaveModalType.SAVE_WORKSPACE_AS | SaveModalType.RENAME_WORKSPACE;
|
|
1427
1424
|
id?: never;
|
|
1428
|
-
}
|
|
1425
|
+
};
|
|
@@ -2,7 +2,9 @@
|
|
|
2
2
|
import { ModalResponseContent, ResponseModalConfig } from '../../../common/src/utils/menu-config';
|
|
3
3
|
import { Listener } from '../../../common/src/utils/shared-emitter';
|
|
4
4
|
import type { OptionalExceptFor } from '../../../common/src/utils/types';
|
|
5
|
+
import { _Window } from '@openfin/core/src/api/window';
|
|
5
6
|
export declare enum MenuEvent {
|
|
7
|
+
Ready = "ready",
|
|
6
8
|
Update = "update",
|
|
7
9
|
Response = "response"
|
|
8
10
|
}
|
|
@@ -35,7 +37,7 @@ export declare function createMenuPosition(windowOptions: OptionalExceptFor<Open
|
|
|
35
37
|
top: number;
|
|
36
38
|
left: number;
|
|
37
39
|
}>;
|
|
38
|
-
export declare function showChildWindow({ options, parameters }: ShowChildOptions, shouldCenterOnMonitor?: boolean): Promise<
|
|
40
|
+
export declare function showChildWindow({ options, parameters }: ShowChildOptions, shouldCenterOnMonitor?: boolean): Promise<_Window>;
|
|
39
41
|
export declare const getResponseModalBounds: (modalOptions: ResponseModalConfig['windowOptions'], parentWindowIdentity?: OpenFin.Identity, shouldCenterOnMonitor?: boolean) => Promise<import("@common/utils/window").Point>;
|
|
40
42
|
export declare const waitForModalResponse: ({ options, content }: ResponseModalOptions, shouldCenterOnMonitor?: boolean) => Promise<{
|
|
41
43
|
data: ModalResponse;
|