@openfin/workspace-platform 45.1.15 → 45.1.17
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/api/app-directory.d.ts +1 -1
- package/common/src/api/protocol/shapes/workspace.d.ts +6 -0
- package/common/src/api/protocol/workspace-platform.d.ts +1 -0
- package/common/src/api/theming.d.ts +1 -1
- package/common/src/utils/context-menu.d.ts +1 -1
- package/common/src/utils/popup-window.d.ts +9 -0
- package/common/src/utils/window.d.ts +1 -0
- package/externals.report.json +6 -6
- package/index.js +1 -1
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/workspace_platform.zip +0 -0
|
@@ -7,7 +7,7 @@ import type { LaunchAppRequest, SearchSitesRequest, SearchSitesResponse, Site }
|
|
|
7
7
|
* @param app the app directory entry.
|
|
8
8
|
* @param opts launch options.
|
|
9
9
|
*/
|
|
10
|
-
export declare function launchApp({ app, target }: LaunchAppRequest): Promise<void | OpenFin.Identity | OpenFin.
|
|
10
|
+
export declare function launchApp({ app, target }: LaunchAppRequest): Promise<void | OpenFin.Identity | OpenFin.Platform | OpenFin.Application | OpenFin.View>;
|
|
11
11
|
export declare const enterpriseAppDirectoryChannelClient: () => Promise<OpenFin.ChannelClient>;
|
|
12
12
|
export declare function getResults(payload: {
|
|
13
13
|
req: SearchSitesRequest;
|
|
@@ -33,11 +33,16 @@ type HomeAPIClientChannelActions = Record<string, never>;
|
|
|
33
33
|
type WorkspaceAPIClientChannelActions = StoreAPIClientChannelActions | DockAPIClientChannelActions | HomeAPIClientChannelActions;
|
|
34
34
|
/****** End of API Client Channel Actions ******/
|
|
35
35
|
/****** Workspace Component Channel Actions ******/
|
|
36
|
+
export type WorkspaceComponentSetSelectedLanguagePayload = {
|
|
37
|
+
locale: string;
|
|
38
|
+
identity: OpenFin.Identity;
|
|
39
|
+
};
|
|
36
40
|
/**
|
|
37
41
|
* Channel Actions **registered** by all workspace components.
|
|
38
42
|
*/
|
|
39
43
|
type SharedChannelActions = {
|
|
40
44
|
'set-selected-scheme': (ctx: WorkspaceComponentSetSelectedSchemePayload) => Promise<void>;
|
|
45
|
+
'set-selected-language': (payload: WorkspaceComponentSetSelectedLanguagePayload) => Promise<void>;
|
|
41
46
|
};
|
|
42
47
|
/**
|
|
43
48
|
* Channel Actions **registered** by the Home workspace component.
|
|
@@ -93,6 +98,7 @@ type WorkspaceChannelTypes = {
|
|
|
93
98
|
dark: string;
|
|
94
99
|
};
|
|
95
100
|
}) => Promise<void>;
|
|
101
|
+
'set-selected-language': (locale: string) => Promise<void>;
|
|
96
102
|
'get-legacy-pages': () => Promise<Page[]>;
|
|
97
103
|
'get-legacy-workspaces': (payload: undefined) => Promise<LegacyWorkspace[]>;
|
|
98
104
|
'register-storefront-provider': () => Promise<void>;
|
|
@@ -61,6 +61,7 @@ export declare enum WorkspacePlatformChannelAction {
|
|
|
61
61
|
GetLanguage = "getLanguage",
|
|
62
62
|
GetLanguageResourcesInternal = "getLanguageResourcesInternal",
|
|
63
63
|
SetLanguage = "setLanguage",
|
|
64
|
+
GetCapabilitiesInternal = "getCapabilitiesInternal",
|
|
64
65
|
GetDockProviderConfig = "getDockProviderConfig",
|
|
65
66
|
SaveDockProviderConfig = "saveDockProviderConfig",
|
|
66
67
|
HandleSaveModalOnPageClose = "handleSaveModalOnPageClose",
|
|
@@ -307,7 +307,7 @@ export declare const constructThemePaletteSheet: (themes: GeneratedPalettes, leg
|
|
|
307
307
|
dark: string;
|
|
308
308
|
}) => string;
|
|
309
309
|
export declare const getComputedPlatformTheme: (platformIdentity: OpenFin.Identity) => Promise<{
|
|
310
|
-
theme:
|
|
310
|
+
theme: CustomThemes | GeneratedPalettes;
|
|
311
311
|
defaultScheme: ColorSchemeOptionType;
|
|
312
312
|
themePaletteSheet: string;
|
|
313
313
|
}>;
|
|
@@ -15,7 +15,7 @@ export type ShowContextMenuResponse = OpenFin.MenuResult & {
|
|
|
15
15
|
export declare function showContextMenu(opts: OpenFin.ShowPopupMenuOptions, win?: OpenFin.Window): Promise<ShowContextMenuResponse>;
|
|
16
16
|
export declare const showEnterpriseContextMenu: (opts: OpenFin.ShowPopupMenuOptions, type: PopupWindowMenuType, anchorBehavior: AnchorBehavior, win?: OpenFin.Window) => Promise<ShowContextMenuResponse>;
|
|
17
17
|
export declare const Separator: OpenFin.MenuItemTemplate;
|
|
18
|
-
export declare const
|
|
18
|
+
export declare const getEmptyContextMenuItem: () => OpenFin.MenuItemTemplate;
|
|
19
19
|
export declare const DefaultSaveMenuBounds: {
|
|
20
20
|
width: number;
|
|
21
21
|
height: number;
|
|
@@ -29,6 +29,10 @@ export type SearchMenuChannelMessage = {
|
|
|
29
29
|
type: 'update-search-menu-state';
|
|
30
30
|
} | {
|
|
31
31
|
type: 'ready';
|
|
32
|
+
} | {
|
|
33
|
+
/** Browser window asks the search view whether its webContents owns focus. */
|
|
34
|
+
type: 'focus-query';
|
|
35
|
+
requestId: string;
|
|
32
36
|
};
|
|
33
37
|
export type BrowserSearchMenuKeyboardEvent = {
|
|
34
38
|
type: string;
|
|
@@ -171,5 +175,10 @@ export type SearchMenuChannelResponse = {
|
|
|
171
175
|
} | {
|
|
172
176
|
type: 'single-provider-results-announcement';
|
|
173
177
|
message: string;
|
|
178
|
+
} | {
|
|
179
|
+
/** Answer to a 'focus-query' message: whether the search view's webContents owns focus. */
|
|
180
|
+
type: 'focus-state';
|
|
181
|
+
requestId: string;
|
|
182
|
+
hasFocus: boolean;
|
|
174
183
|
};
|
|
175
184
|
export {};
|
|
@@ -180,6 +180,7 @@ export declare const isStorefrontWindowRunning: () => Promise<boolean>;
|
|
|
180
180
|
export declare const isDockWindowRunning: () => Promise<boolean>;
|
|
181
181
|
export declare const isHomeWindowRunning: () => Promise<boolean>;
|
|
182
182
|
export declare const isNotificationCenterRunning: () => Promise<boolean>;
|
|
183
|
+
export declare const isProviderWindowRunning: () => Promise<boolean>;
|
|
183
184
|
export declare const showAndFocusStorefront: () => Promise<void>;
|
|
184
185
|
export declare const showAndFocusDock: () => Promise<void>;
|
|
185
186
|
export declare const getDisableMultiplePagesOption: (identity: WindowIdentity) => Promise<any>;
|
package/externals.report.json
CHANGED
|
@@ -47,10 +47,10 @@
|
|
|
47
47
|
],
|
|
48
48
|
"dexie": [
|
|
49
49
|
{
|
|
50
|
-
"type": "
|
|
50
|
+
"type": "explicit",
|
|
51
51
|
"version": "^4.0.11",
|
|
52
|
-
"packageName": "
|
|
53
|
-
"issuer": "
|
|
52
|
+
"packageName": "common/package.json",
|
|
53
|
+
"issuer": "common/src/api/pages/idb.ts"
|
|
54
54
|
},
|
|
55
55
|
{
|
|
56
56
|
"type": "explicit",
|
|
@@ -59,10 +59,10 @@
|
|
|
59
59
|
"issuer": "client-api-platform/src/api/dock/idb.ts"
|
|
60
60
|
},
|
|
61
61
|
{
|
|
62
|
-
"type": "
|
|
62
|
+
"type": "root-implicit",
|
|
63
63
|
"version": "^4.0.11",
|
|
64
|
-
"packageName": "
|
|
65
|
-
"issuer": "
|
|
64
|
+
"packageName": "dock3/package.json",
|
|
65
|
+
"issuer": "dock3/src/api/idb.ts"
|
|
66
66
|
},
|
|
67
67
|
{
|
|
68
68
|
"type": "explicit",
|