@openfin/workspace 45.1.0 → 45.1.1

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.
@@ -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.View | OpenFin.Identity | OpenFin.Platform | OpenFin.Application>;
10
+ export declare function launchApp({ app, target }: LaunchAppRequest): Promise<void | OpenFin.Identity | OpenFin.Platform | OpenFin.View | OpenFin.Application>;
11
11
  export declare const enterpriseAppDirectoryChannelClient: () => Promise<OpenFin.ChannelClient>;
12
12
  export declare function getResults(payload: {
13
13
  req: SearchSitesRequest;
@@ -388,6 +388,14 @@ export declare enum ViewTabMenuOptionType {
388
388
  * Prints a screenshot of the browser window.
389
389
  */
390
390
  PrintScreen = "PrintScreen",
391
+ /**
392
+ * Translate the selected view's content to the detected target language.
393
+ */
394
+ TranslatePage = "TranslatePage",
395
+ /**
396
+ * Revert translated content back to the original language.
397
+ */
398
+ RevertTranslation = "RevertTranslation",
391
399
  /**
392
400
  * Custom context menu option defined by API client.
393
401
  */
@@ -1,4 +1,41 @@
1
1
  import type OpenFin from '@openfin/core';
2
2
  import { ViewTabContextMenuTemplate } from '../../../client-api-platform/src/shapes';
3
3
  export declare const getChannelsMenuOptions: (channelsForViews: string[], colorGroups: OpenFin.ContextGroupInfo[]) => Promise<ViewTabContextMenuTemplate[]>;
4
- export declare const ENTERPRISE_COLOR_CHANNELS: Map<string, OpenFin.ContextGroupInfo['displayMetadata']>;
4
+ export declare const ENTERPRISE_COLOR_CHANNELS: {
5
+ readonly blue: {
6
+ readonly name: "Blue";
7
+ readonly color: "#0091EB";
8
+ };
9
+ readonly indigo: {
10
+ readonly name: "Indigo";
11
+ readonly color: "#6450FF";
12
+ };
13
+ readonly pink: {
14
+ readonly name: "Pink";
15
+ readonly color: "#E878CF";
16
+ };
17
+ readonly teal: {
18
+ readonly name: "Teal";
19
+ readonly color: "#24D1D1";
20
+ };
21
+ readonly green: {
22
+ readonly name: "Green";
23
+ readonly color: "#00AF78";
24
+ };
25
+ readonly orange: {
26
+ readonly name: "Orange";
27
+ readonly color: "#FF7D37";
28
+ };
29
+ readonly red: {
30
+ readonly name: "Red";
31
+ readonly color: "#F94144";
32
+ };
33
+ readonly yellow: {
34
+ readonly name: "Yellow";
35
+ readonly color: "#F9C74F";
36
+ };
37
+ readonly gray: {
38
+ readonly name: "Gray";
39
+ readonly color: "#828788";
40
+ };
41
+ };
@@ -27,4 +27,5 @@ export declare const getBoundsBasedOnAnchorBehavior: (bounds: OpenFin.Bounds, an
27
27
  height: number;
28
28
  width: number;
29
29
  };
30
+ export declare const getTranslateItems: (viewIdentities: OpenFin.Identity[]) => Promise<ViewTabContextMenuTemplate[]>;
30
31
  export declare const getPrintOption: () => Promise<ViewTabContextMenuTemplate | PageTabContextMenuItemTemplate>;
@@ -11,7 +11,7 @@ export declare const isDocumentDefined: boolean;
11
11
  export declare const isWindowDefinedWithIndexDB: boolean;
12
12
  export declare const finUUID: string;
13
13
  export declare const finName: string;
14
- export declare const finEntityType: "" | "window" | "view";
14
+ export declare const finEntityType: "" | "view" | "window";
15
15
  export declare const isEnvLocal: boolean;
16
16
  export declare const isEnvDev: boolean;
17
17
  export declare const isEnvStaging: boolean;
@@ -2,7 +2,7 @@
2
2
  "@openfin/notifications": [
3
3
  {
4
4
  "type": "explicit",
5
- "version": "45.0.0-alpha-4736",
5
+ "version": "45.1.0-alpha-4848",
6
6
  "packageName": "client-api/package.json",
7
7
  "issuer": "client-api/src/notifications.ts"
8
8
  }