@openfin/workspace-platform 22.4.1 → 22.4.3
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/src/integrations/microsoft.utils.d.ts +6 -6
- package/client-api/src/shapes/home.d.ts +12 -1
- package/client-api-platform/src/api/context-menu/utils.d.ts +10 -0
- package/client-api-platform/src/api/controllers/theme-storage-controller.d.ts +14 -3
- package/client-api-platform/src/api/pages/open-pages.d.ts +2 -2
- package/client-api-platform/src/init/override-callback/page-defaults.d.ts +1 -1
- package/client-api-platform/src/init/override-callback/view-options.d.ts +1 -1
- package/client-api-platform/src/shapes.d.ts +15 -14
- package/common/src/api/home.d.ts +3 -1
- package/common/src/api/pages/idb.d.ts +2 -4
- package/common/src/api/protocol/browser.d.ts +4 -4
- package/common/src/api/protocol/workspace-platform.d.ts +23 -23
- package/common/src/api/provider.d.ts +1 -1
- package/common/src/api/storefront.d.ts +5 -5
- package/common/src/api/theming.d.ts +1 -1
- package/common/src/components/IndicatorContainer/bounds.d.ts +14 -0
- package/common/src/components/IndicatorContainer/types.d.ts +35 -0
- package/common/src/utils/global-context-menu.d.ts +1 -1
- package/common/src/utils/indicators/showIndicator.d.ts +55 -0
- package/common/src/utils/layout.d.ts +1 -2
- package/common/src/utils/local-storage-key.d.ts +2 -1
- package/common/src/utils/menu-window-provider.d.ts +6 -6
- package/common/src/utils/modal-bounds.d.ts +1 -1
- package/common/src/utils/namespaced-local-storage.d.ts +2 -2
- package/common/src/utils/positioning.d.ts +4 -0
- package/common/src/utils/shared-emitter.d.ts +4 -4
- package/common/src/utils/types.d.ts +1 -1
- package/common/src/utils/window.d.ts +2 -1
- package/common/src/utils/workspace-modals.d.ts +6 -2
- package/dock3/src/shapes/shapes.d.ts +7 -1
- package/index.js +1 -1
- package/index.js.map +1 -1
- package/package.json +2 -2
- package/search-api/src/provider/remote/info.d.ts +1 -1
- package/workspace_platform.zip +0 -0
- package/common/src/components/IndicatorContainer/helper.d.ts +0 -30
- package/common/src/utils/indicators/browser.d.ts +0 -32
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import type OpenFin from '@openfin/core';
|
|
2
2
|
import { ResponseModalConfig } from '../../../common/src/utils/menu-config';
|
|
3
3
|
import { ModalResponseEvent } from './menu-window-provider';
|
|
4
|
+
export type DeleteWorkspaceMenuPayload = {
|
|
5
|
+
workspaceTitle: string;
|
|
6
|
+
windowIdentity?: OpenFin.Identity;
|
|
7
|
+
};
|
|
4
8
|
export declare const restoreChangesMenu: (windowIdentity: OpenFin.Identity) => Promise<ResponseModalConfig>;
|
|
5
9
|
export declare const deletePageMenu: (windowIdentity: OpenFin.Identity, pageTitle: string) => Promise<ResponseModalConfig>;
|
|
6
10
|
/**
|
|
@@ -11,7 +15,7 @@ export declare const deletePageMenu: (windowIdentity: OpenFin.Identity, pageTitl
|
|
|
11
15
|
* @returns Boolean - Affirmative or Negative response from user
|
|
12
16
|
*/
|
|
13
17
|
export declare const showSwitchWorkspaceModal: (targetWindowIdentity: OpenFin.Identity | undefined, workspaceTitle: string, shouldCenterOnMonitor?: boolean) => Promise<boolean>;
|
|
14
|
-
export declare const showDeleteWorkspaceModal: (
|
|
18
|
+
export declare const showDeleteWorkspaceModal: ({ workspaceTitle, windowIdentity }: DeleteWorkspaceMenuPayload) => Promise<boolean>;
|
|
15
19
|
/**
|
|
16
20
|
*
|
|
17
21
|
* @param windowIdentity Parent or Current OpenFin Window Identity
|
|
@@ -28,4 +32,4 @@ export declare const showUpdateVersionModal: ({ identity, title, description }:
|
|
|
28
32
|
identity: OpenFin.Identity;
|
|
29
33
|
title: string;
|
|
30
34
|
description: string;
|
|
31
|
-
}) => Promise<ModalResponseEvent[
|
|
35
|
+
}) => Promise<ModalResponseEvent["data"]>;
|
|
@@ -2,7 +2,7 @@ import type { OpenFin } from '@openfin/core';
|
|
|
2
2
|
import { WorkspaceButton } from '../../../client-api/src/dock';
|
|
3
3
|
import { ContentMenuEntry, DockEntry, TaskbarIcon } from '../../../client-api-platform/src/shapes';
|
|
4
4
|
export type { Dock3Provider, Dock3ConstructorOverride } from '../api/provider';
|
|
5
|
-
export type Dock3Button = WorkspaceButton | 'contentMenu';
|
|
5
|
+
export type Dock3Button = WorkspaceButton | 'contentMenu' | 'manageWorkspaces';
|
|
6
6
|
/**
|
|
7
7
|
* Configuration for the Dock 3.0 provider.
|
|
8
8
|
*/
|
|
@@ -58,6 +58,12 @@ export interface Dock3Config {
|
|
|
58
58
|
skipDialog?: boolean;
|
|
59
59
|
};
|
|
60
60
|
};
|
|
61
|
+
manageWorkspaces?: {
|
|
62
|
+
newWindow?: {
|
|
63
|
+
behavior: 'view';
|
|
64
|
+
viewOptions: OpenFin.PlatformViewCreationOptions;
|
|
65
|
+
};
|
|
66
|
+
};
|
|
61
67
|
};
|
|
62
68
|
}
|
|
63
69
|
export type DockAllowedWindowOptions = Partial<Pick<OpenFin.PlatformWindowOptions, 'defaultCentered' | 'saveWindowState' | 'taskbarIconGroup' | 'defaultTop' | 'defaultLeft'>>;
|