@openfin/workspace-platform 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.
@@ -342,6 +342,14 @@ export declare enum ViewTabMenuOptionType {
342
342
  * Prints a screenshot of the browser window.
343
343
  */
344
344
  PrintScreen = "PrintScreen",
345
+ /**
346
+ * Translate the selected view's content to the detected target language.
347
+ */
348
+ TranslatePage = "TranslatePage",
349
+ /**
350
+ * Revert translated content back to the original language.
351
+ */
352
+ RevertTranslation = "RevertTranslation",
345
353
  /**
346
354
  * Custom context menu option defined by API client.
347
355
  */
@@ -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>;
@@ -37,20 +37,12 @@
37
37
  "issuer": "common/src/api/i18next.ts"
38
38
  }
39
39
  ],
40
- "lodash.clonedeep": [
41
- {
42
- "type": "explicit",
43
- "version": "4.5.0",
44
- "packageName": "common/package.json",
45
- "issuer": "common/src/utils/layout.ts"
46
- }
47
- ],
48
40
  "dexie": [
49
41
  {
50
- "type": "root-implicit",
42
+ "type": "explicit",
51
43
  "version": "^4.0.11",
52
- "packageName": "dock3/package.json",
53
- "issuer": "dock3/src/api/idb.ts"
44
+ "packageName": "common/package.json",
45
+ "issuer": "common/src/api/pages/idb.ts"
54
46
  },
55
47
  {
56
48
  "type": "explicit",
@@ -59,10 +51,10 @@
59
51
  "issuer": "client-api-platform/src/api/dock/idb.ts"
60
52
  },
61
53
  {
62
- "type": "explicit",
54
+ "type": "root-implicit",
63
55
  "version": "^4.0.11",
64
- "packageName": "common/package.json",
65
- "issuer": "common/src/api/pages/idb.ts"
56
+ "packageName": "dock3/package.json",
57
+ "issuer": "dock3/src/api/idb.ts"
66
58
  },
67
59
  {
68
60
  "type": "explicit",
@@ -70,5 +62,13 @@
70
62
  "packageName": "common/package.json",
71
63
  "issuer": "common/src/utils/create-and-migrate-ibd-store.ts"
72
64
  }
65
+ ],
66
+ "lodash.clonedeep": [
67
+ {
68
+ "type": "explicit",
69
+ "version": "4.5.0",
70
+ "packageName": "common/package.json",
71
+ "issuer": "common/src/utils/layout.ts"
72
+ }
73
73
  ]
74
74
  }