@openfin/workspace-platform 24.0.6 → 24.0.8

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.Identity | OpenFin.Platform | OpenFin.Application | OpenFin.View>;
10
+ export declare function launchApp({ app, target }: LaunchAppRequest): Promise<void | OpenFin.Identity | OpenFin.View | OpenFin.Platform | OpenFin.Application>;
11
11
  export declare const enterpriseAppDirectoryChannelClient: () => Promise<OpenFin.ChannelClient>;
12
12
  export declare function getResults(payload: {
13
13
  req: SearchSitesRequest;
@@ -30,3 +30,10 @@ export declare const getWorkspaceOFApplication: () => OpenFin.Application;
30
30
  * @returns A Promise resolving to the application manifest
31
31
  */
32
32
  export declare const getCachedManifest: () => Promise<OpenFin.Manifest>;
33
+ /**
34
+ * Gets application info, caching the result after the first call.
35
+ * Application info (manifestUrl, licenseKey, runtime version, etc.) never changes
36
+ * during the application lifecycle. Multiple callers (overrides, sentry, analytics)
37
+ * share a single IPC call.
38
+ */
39
+ export declare const getCachedAppInfo: () => Promise<OpenFin.ApplicationInfo>;
@@ -45,7 +45,6 @@ export declare enum PopupWindowMenuType {
45
45
  RenameSupertab = "rename-supertab",
46
46
  AddEditBookmark = "add-edit-bookmark",
47
47
  DropdownMenu = "dropdown-menu",
48
- ZoomControls = "zoom-controls",
49
48
  TabSearch = "tab-search"
50
49
  }
51
50
  export type BookmarkButtonPayload = {
@@ -80,15 +79,21 @@ export type BookmarkDialogChannelMessage = BasePopupMenuChannelMessage & {
80
79
  type: PopupWindowMenuType.AddEditBookmark;
81
80
  payload: BookmarkButtonPayload;
82
81
  };
83
- export type ZoomControlsDialogPayload = {
84
- selectedViewIdentity?: OpenFin.Identity;
85
- zoomPercent?: number;
86
- openedViaMouseClick?: boolean;
87
- };
88
- export type ZoomControlsDialogChannelMessage = BasePopupMenuChannelMessage & {
89
- type: PopupWindowMenuType.ZoomControls;
90
- payload: ZoomControlsDialogPayload;
82
+ /** Sent from browser to zoom dialog window to position and hydrate UI (initial open or live sync). */
83
+ export type ZoomControlsDialogStateMessage = {
84
+ /**
85
+ * The identity of the window the dialog/menu invocation came from.
86
+ */
87
+ parentIdentity: OpenFin.Identity;
88
+ x: number;
89
+ y: number;
90
+ payload: {
91
+ selectedViewIdentity?: OpenFin.Identity;
92
+ zoomPercent?: number;
93
+ openedViaMouseClick?: boolean;
94
+ };
91
95
  };
96
+ export declare const ZOOM_DIALOG_CHANNEL_ACTION: "state";
92
97
  export type DropdownMenuChannelMessage = BasePopupMenuChannelMessage & {
93
98
  type: PopupWindowMenuType.DropdownMenu;
94
99
  payload: {
@@ -21,14 +21,6 @@
21
21
  "issuer": "common/src/utils/color-linking.ts"
22
22
  }
23
23
  ],
24
- "lodash.clonedeep": [
25
- {
26
- "type": "explicit",
27
- "version": "4.5.0",
28
- "packageName": "common/package.json",
29
- "issuer": "common/src/utils/layout.ts"
30
- }
31
- ],
32
24
  "react-i18next": [
33
25
  {
34
26
  "type": "explicit",
@@ -45,19 +37,27 @@
45
37
  "issuer": "common/src/api/i18next.ts"
46
38
  }
47
39
  ],
48
- "dexie": [
40
+ "lodash.clonedeep": [
49
41
  {
50
42
  "type": "explicit",
51
- "version": "^4.0.11",
52
- "packageName": "client-api-platform/package.json",
53
- "issuer": "client-api-platform/src/api/dock/idb.ts"
54
- },
43
+ "version": "4.5.0",
44
+ "packageName": "common/package.json",
45
+ "issuer": "common/src/utils/layout.ts"
46
+ }
47
+ ],
48
+ "dexie": [
55
49
  {
56
50
  "type": "root-implicit",
57
51
  "version": "^4.0.11",
58
52
  "packageName": "dock3/package.json",
59
53
  "issuer": "dock3/src/api/idb.ts"
60
54
  },
55
+ {
56
+ "type": "explicit",
57
+ "version": "^4.0.11",
58
+ "packageName": "client-api-platform/package.json",
59
+ "issuer": "client-api-platform/src/api/dock/idb.ts"
60
+ },
61
61
  {
62
62
  "type": "explicit",
63
63
  "version": "^4.0.11",