@openfin/workspace 45.1.11 → 45.1.12

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.
@@ -6,6 +6,8 @@ import { ComponentName } from '../../../common/src/utils/usage-register';
6
6
  export declare const NavigationSource: {
7
7
  readonly DOCK_SEARCH_BUTTON: "dock-search-button";
8
8
  readonly DOCK_STORE_BUTTON: "dock-store-button";
9
+ readonly DOCK3_SEARCH_BUTTON: "dock3-search-button";
10
+ readonly DOCK3_STORE_BUTTON: "dock3-store-button";
9
11
  readonly HOME_ESC: "home-esc";
10
12
  readonly HOME_COMMAND: "home-command";
11
13
  };
@@ -21,3 +23,10 @@ export interface NavigateToOptions {
21
23
  source?: NavigationSourceType | null;
22
24
  }
23
25
  export declare const navigateTo: (componentName: ComponentName, platformIdentity: OpenFin.Identity, options?: NavigateToOptions) => Promise<void>;
26
+ /** True when Home/Storefront was opened from classic Dock or Dock3. */
27
+ export declare const wasOpenedFromDock: (source: string | null | undefined) => boolean;
28
+ /**
29
+ * Show/focus the dock that opened Home or Storefront (classic vs Dock3).
30
+ * @returns true if the source was a dock opener (whether or not that dock was running).
31
+ */
32
+ export declare const showOpenerDockForNavigationSource: (source: string | null | undefined, platformUuid: string) => Promise<boolean>;
@@ -28,7 +28,11 @@ export declare enum WindowName {
28
28
  DesktopSignalsModal = "here-desktop-signals-modal",
29
29
  IntentsResolverModal = "here-intents-resolver-modal",
30
30
  /** Browser-zone Home VPW window (platform child window). */
31
- HomeVpw = "home-vpw"
31
+ HomeVpw = "home-vpw",
32
+ /** Browser-zone Storefront VPW window (platform child window). */
33
+ StorefrontVpw = "storefront-vpw",
34
+ /** Dock3 window (platform child window). */
35
+ Dock3 = "dock3"
32
36
  }
33
37
  export interface WindowIdentity {
34
38
  uuid: ApplicationUUID | string;
@@ -105,6 +109,12 @@ export declare const providerOFIdentity: {
105
109
  readonly name: ApplicationUUID.Workspace;
106
110
  readonly uuid: ApplicationUUID.Workspace;
107
111
  };
112
+ /** Home VPW window identity under a platform UUID. */
113
+ export declare const getHomeVpwOFIdentity: (platformUuid: string) => WindowIdentity;
114
+ /** Storefront VPW window identity under a platform UUID. */
115
+ export declare const getStorefrontVpwOFIdentity: (platformUuid: string) => WindowIdentity;
116
+ /** Dock3 window identity under a platform UUID. */
117
+ export declare const getDock3OFIdentity: (platformUuid: string) => WindowIdentity;
108
118
  /**
109
119
  * Get the Home OpenFin window.
110
120
  */
@@ -175,7 +185,26 @@ export declare const showAndFocusDock: () => Promise<void>;
175
185
  export declare const getDisableMultiplePagesOption: (identity: WindowIdentity) => Promise<any>;
176
186
  export declare const getIsLockedOption: (identity: WindowIdentity) => Promise<any>;
177
187
  export declare const getPlatformWindowTitle: (identity: WindowIdentity) => Promise<any>;
178
- export declare const getComponentWindowStatus: () => Promise<{
188
+ /**
189
+ * Prefer a running Home VPW window for the platform; fall back to classic Home.
190
+ */
191
+ export declare const resolvePreferredHomeIdentity: (platformUuid: string) => Promise<WindowIdentity | null>;
192
+ /**
193
+ * Prefer a running Storefront VPW window for the platform; fall back to classic Storefront.
194
+ */
195
+ export declare const resolvePreferredStorefrontIdentity: (platformUuid: string) => Promise<WindowIdentity | null>;
196
+ export declare const showPreferredHomeWindow: (platformUuid: string) => Promise<void>;
197
+ export declare const showPreferredStorefrontWindow: (platformUuid: string) => Promise<void>;
198
+ /**
199
+ * Prefer a running Dock3 window for the platform; fall back to classic Dock.
200
+ */
201
+ export declare const resolvePreferredDockIdentity: (platformUuid: string) => Promise<WindowIdentity | null>;
202
+ export declare const showPreferredDockWindow: (platformUuid: string) => Promise<void>;
203
+ /**
204
+ * Whether classic and/or VPW Home/Storefront windows are running.
205
+ * When `platformUuid` is provided, VPW windows under that platform count as running.
206
+ */
207
+ export declare const getComponentWindowStatus: (platformUuid?: string) => Promise<{
179
208
  storefrontRunning: boolean;
180
209
  homeRunning: boolean;
181
210
  }>;
@@ -2,7 +2,7 @@
2
2
  "@openfin/notifications": [
3
3
  {
4
4
  "type": "explicit",
5
- "version": "45.1.0-alpha-4946",
5
+ "version": "45.1.0-alpha-4953",
6
6
  "packageName": "client-api/package.json",
7
7
  "issuer": "client-api/src/notifications.ts"
8
8
  }
@@ -59,14 +59,6 @@
59
59
  "issuer": "common/src/api/i18next.ts"
60
60
  }
61
61
  ],
62
- "lodash.clonedeep": [
63
- {
64
- "type": "explicit",
65
- "version": "4.5.0",
66
- "packageName": "common/package.json",
67
- "issuer": "common/src/utils/layout.ts"
68
- }
69
- ],
70
62
  "dexie": [
71
63
  {
72
64
  "type": "root-implicit",
@@ -84,13 +76,21 @@
84
76
  "type": "explicit",
85
77
  "version": "^4.0.11",
86
78
  "packageName": "common/package.json",
87
- "issuer": "common/src/api/pages/idb.ts"
79
+ "issuer": "common/src/utils/create-and-migrate-ibd-store.ts"
88
80
  },
89
81
  {
90
82
  "type": "explicit",
91
83
  "version": "^4.0.11",
92
84
  "packageName": "common/package.json",
93
- "issuer": "common/src/utils/create-and-migrate-ibd-store.ts"
85
+ "issuer": "common/src/api/pages/idb.ts"
86
+ }
87
+ ],
88
+ "lodash.clonedeep": [
89
+ {
90
+ "type": "explicit",
91
+ "version": "4.5.0",
92
+ "packageName": "common/package.json",
93
+ "issuer": "common/src/utils/layout.ts"
94
94
  }
95
95
  ]
96
96
  }