@openfin/workspace-platform 21.0.5 → 22.0.0
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/init/enterprise.d.ts +5 -3
- package/client-api-platform/src/init/index.d.ts +1 -1
- package/client-api-platform/src/init/override-callback/browser-defaults.d.ts +0 -5
- package/client-api-platform/src/init/override-callback/view-components.d.ts +2 -0
- package/client-api-platform/src/shapes.d.ts +4 -0
- package/common/src/utils/enterpriseBrowser.d.ts +9 -1
- package/common/src/utils/route.d.ts +2 -0
- package/common/src/utils/window.d.ts +2 -1
- package/index.js +1 -1
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/workspace_platform.zip +0 -0
|
@@ -1,3 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
declare const setIsEnterprisePlatform: (value: boolean) => void;
|
|
3
|
-
export
|
|
1
|
+
import { AiPanelOptions, BrowserInitConfig } from '../../../client-api-platform/src/shapes';
|
|
2
|
+
export declare const setIsEnterprisePlatform: (value: boolean) => void;
|
|
3
|
+
export declare const getIsEnterprisePlatform: () => boolean;
|
|
4
|
+
export declare const getAiPanelOptions: () => AiPanelOptions;
|
|
5
|
+
export declare const setAiPanelOptions: (browserInitOptions: BrowserInitConfig) => AiPanelOptions;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import OpenFin from '@openfin/core';
|
|
2
|
-
import { CompanionDockConfig, WorkspacePlatformInitConfig } from '
|
|
2
|
+
import { CompanionDockConfig, WorkspacePlatformInitConfig } from '../../../client-api-platform/src/shapes';
|
|
3
3
|
export declare function initDockCompanion(config: CompanionDockConfig, platform: OpenFin.Platform): Promise<void>;
|
|
4
4
|
/**
|
|
5
5
|
* Initilaize a Workspace Platform.
|
|
@@ -1,11 +1,6 @@
|
|
|
1
1
|
import type OpenFin from '@openfin/core';
|
|
2
|
-
import { WindowName } from '../../../../common/src/utils/window';
|
|
3
2
|
import type { PreloadedThemeData } from '../../../../common/src/api/theming';
|
|
4
3
|
import { BrowserInitConfig } from '../../../../client-api-platform/src/shapes';
|
|
5
|
-
export declare const searchMenuIdentityBase: {
|
|
6
|
-
uuid: string;
|
|
7
|
-
name: WindowName;
|
|
8
|
-
};
|
|
9
4
|
/**
|
|
10
5
|
* Applies default options to the creation of browser windows.
|
|
11
6
|
*/
|
|
@@ -687,6 +687,10 @@ export interface BrowserCreateWindowRequest extends Omit<OpenFin.PlatformWindowC
|
|
|
687
687
|
* @deprecated Use the icon property in the workspacePlatform object instead.
|
|
688
688
|
*/
|
|
689
689
|
icon?: string;
|
|
690
|
+
/**
|
|
691
|
+
* @interal - The Ai Panel options for the window. If the url is not set, the panel will not show up.
|
|
692
|
+
*/
|
|
693
|
+
aiPanelOptions?: AiPanelOptions;
|
|
690
694
|
}
|
|
691
695
|
/**
|
|
692
696
|
* A window that is part of a browser snapshot.
|
|
@@ -6,6 +6,14 @@ export declare const isEnterpriseBrowser: (id?: OpenFin.Identity) => Promise<boo
|
|
|
6
6
|
export declare const isEnterpriseBrowserPlatform: (browserInitOptions: BrowserInitConfig) => boolean;
|
|
7
7
|
export declare function formatUrl(url: string): string;
|
|
8
8
|
export declare const getIsEnterpriseBrowser: (id?: OpenFin.Identity) => Promise<boolean>;
|
|
9
|
-
export declare const getMenuWindowWidth: () => Promise<number>;
|
|
10
9
|
export declare const isLandingPage: (url: string) => boolean;
|
|
11
10
|
export declare const isLandingPageOrEmpty: (url: string) => boolean;
|
|
11
|
+
export declare const isDefaultEnterpriseView: (viewIdentity: OpenFin.Identity) => boolean;
|
|
12
|
+
export declare const getAICompanionViewIdentity: (browserIdentity?: OpenFin.Identity) => {
|
|
13
|
+
uuid: string;
|
|
14
|
+
name: string;
|
|
15
|
+
};
|
|
16
|
+
export declare const getSearchMenuViewIdentity: (browserIdentity?: OpenFin.Identity) => {
|
|
17
|
+
uuid: string;
|
|
18
|
+
name: string;
|
|
19
|
+
};
|
|
@@ -25,6 +25,7 @@ declare enum BrowserRoute {
|
|
|
25
25
|
ResponseModal = "/popup-menu/response-modal/",
|
|
26
26
|
CloseConfirmationModal = "/popup-menu/close-confirmation-modal/",
|
|
27
27
|
EnterpriseBrowser = "/enterprise/",
|
|
28
|
+
EnterpriseLandingPage = "/enterprise/landing/",
|
|
28
29
|
EnterpriseContextMenu = "/context-menu/",
|
|
29
30
|
EnterpriseBookmarkDialog = "/bookmark-dialog/",
|
|
30
31
|
EnterpriseStorageProxy = "/enterprise/storage-proxy",
|
|
@@ -42,6 +43,7 @@ declare const PageRoute: {
|
|
|
42
43
|
ResponseModal: BrowserRoute.ResponseModal;
|
|
43
44
|
CloseConfirmationModal: BrowserRoute.CloseConfirmationModal;
|
|
44
45
|
EnterpriseBrowser: BrowserRoute.EnterpriseBrowser;
|
|
46
|
+
EnterpriseLandingPage: BrowserRoute.EnterpriseLandingPage;
|
|
45
47
|
EnterpriseContextMenu: BrowserRoute.EnterpriseContextMenu;
|
|
46
48
|
EnterpriseBookmarkDialog: BrowserRoute.EnterpriseBookmarkDialog;
|
|
47
49
|
EnterpriseStorageProxy: BrowserRoute.EnterpriseStorageProxy;
|
|
@@ -14,7 +14,8 @@ export declare enum WindowName {
|
|
|
14
14
|
BrowserAddressSearchPrefix = "openfin-browser-menu-address-search-",
|
|
15
15
|
EnterpriseBookmarkDialogWindow = "openfin-enterprise-bookmark-dialog",
|
|
16
16
|
DropdownMenu = "openfin-enterprise-dropdown-menu",
|
|
17
|
-
DockCompanion = "openfin-dock-companion"
|
|
17
|
+
DockCompanion = "openfin-dock-companion",
|
|
18
|
+
AICompanionPrefix = "openfin-ai-companion-"
|
|
18
19
|
}
|
|
19
20
|
export interface WindowIdentity {
|
|
20
21
|
uuid: ApplicationUUID | string;
|