@openfin/workspace-platform 7.4.1 → 8.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.
package/README.md CHANGED
@@ -33,7 +33,7 @@ const customThemes: WorkspacePlatform.CustomThemes = [
33
33
  }
34
34
  ];
35
35
 
36
- const overrideCallback: WorkspacePlatform.BrowserOverrideCallback = async (WorkspacePlatformProvider) => {
36
+ const overrideCallback: WorkspacePlatform.WorkspacePlatformOverrideCallback = async (WorkspacePlatformProvider) => {
37
37
  class Override extends WorkspacePlatformProvider {
38
38
  async quit(payload, callerIdentity) {
39
39
  return super.quit(payload, callerIdentity);
@@ -43,7 +43,10 @@ const overrideCallback: WorkspacePlatform.BrowserOverrideCallback = async (Works
43
43
  };
44
44
 
45
45
  await WorkspacePlatform.init({
46
- browser: { overrideCallback },
46
+ browser: {
47
+ title: "My Browser"
48
+ },
49
+ overrideCallback,
47
50
  theme: customThemes
48
51
  });
49
52
  ```
@@ -122,7 +122,15 @@ export declare enum CLITemplate {
122
122
  /**
123
123
  * Simple Text Template
124
124
  */
125
- SimpleText = "SimpleText"
125
+ SimpleText = "SimpleText",
126
+ /**
127
+ * A Template that indicates that the search result details are being loaded
128
+ */
129
+ Loading = "Loading",
130
+ /**
131
+ * A Template that indicates that a problem occured with the search result details.
132
+ */
133
+ Error = "Error"
126
134
  }
127
135
  /**
128
136
  * {@link SearchResult | Search result} template definition
@@ -181,10 +189,20 @@ export interface CLISearchResultPlain<A extends Action = Action> extends CLISear
181
189
  */
182
190
  export interface CLISearchResultSimpleText<A extends Action = Action> extends CLISearchResultWithTemplate<CLITemplate.SimpleText, string, A> {
183
191
  }
192
+ /**
193
+ * Loading Search Result
194
+ */
195
+ export interface CLISearchResultLoading<A extends Action = Action> extends CLISearchResultWithTemplate<CLITemplate.Loading, string, A> {
196
+ }
197
+ /**
198
+ * Error Search Result
199
+ */
200
+ export interface CLISearchResultError<A extends Action = Action> extends CLISearchResultWithTemplate<CLITemplate.Error, string, A> {
201
+ }
184
202
  /**
185
203
  * A search result that can be rendered by Home UI.
186
204
  */
187
- export declare type HomeSearchResult = CLISearchResultContact<HomeAction> | CLISearchResultSimpleText<HomeAction> | CLISearchResultList<HomeAction> | CLISearchResultPlain<HomeAction> | CLISearchResultCustom<HomeAction>;
205
+ export declare type HomeSearchResult = CLISearchResultContact<HomeAction> | CLISearchResultSimpleText<HomeAction> | CLISearchResultList<HomeAction> | CLISearchResultPlain<HomeAction> | CLISearchResultCustom<HomeAction> | CLISearchResultLoading<HomeAction> | CLISearchResultError<HomeAction>;
188
206
  export declare enum CLIFilterOptionType {
189
207
  /**
190
208
  * Display a multi-select drop down for the options
@@ -300,6 +318,10 @@ export interface CLIProvider extends SearchProvider {
300
318
  export interface HomeProvider extends CLIProvider {
301
319
  onUserInput(req: HomeSearchListenerRequest, res: HomeSearchListenerResponse): Promise<HomeSearchResponse>;
302
320
  }
321
+ /**
322
+ * A rendered Home search result that has been actioned by a user.
323
+ */
324
+ export declare type HomeDispatchedSearchResult = HomeSearchResult & DispatchedSearchResult;
303
325
  /**
304
326
  * Interface that contains functions for integrating with Home.
305
327
  */
@@ -1,3 +1,4 @@
1
+ /// <reference types="openfin-adapter/fin" />
1
2
  import type { AttachPagesToWindowPayload } from '../../../../common/src/api/pages/shapes';
2
3
  import type { CreateSavedPageRequest, Page, UpdateSavedPageRequest } from '../../../../client-api-platform/src/shapes';
3
4
  /**
@@ -46,7 +46,8 @@ export declare enum ChannelAction {
46
46
  SaveWorkspace = "saveWorkspace",
47
47
  GetCurrentWorkspace = "getCurrentWorkspace",
48
48
  ApplyWorkspace = "applyWorkspace",
49
- SetActiveWorkspace = "setActiveWorkspace"
49
+ SetActiveWorkspace = "setActiveWorkspace",
50
+ IsBrowserInitialized = "isBrowserInitialized"
50
51
  }
51
52
  /**
52
53
  * Get a channel client for a specific Workspace platform.
@@ -59,3 +60,11 @@ export declare enum ChannelAction {
59
60
  * @returns the channel client for the Workspace platform.
60
61
  */
61
62
  export declare const getChannelClient: (identity: OpenFin.ApplicationIdentity) => Promise<import("openfin-adapter").ChannelClient>;
63
+ /**
64
+ * Get a channel client for a specific Workspace platform.
65
+ *
66
+ * Ensure that the channel is used within a platform with the browser
67
+ *
68
+ * @returns the channel client for the Workspace platform.
69
+ */
70
+ export declare const getBrowserChannelClient: (identity: OpenFin.ApplicationIdentity) => Promise<import("openfin-adapter").ChannelClient>;
@@ -1,6 +1,7 @@
1
+ /// <reference types="openfin-adapter/fin" />
1
2
  import { Page } from '../../../common/src/api/pages/shapes';
2
3
  import type { CreateSavedPageRequest, CreateSavedWorkspaceRequest, UpdateSavedPageRequest, UpdateSavedWorkspaceRequest, Workspace } from '../shapes';
3
- export declare const getStorageApi: (identity: any) => {
4
+ export declare const getStorageApi: (identity: OpenFin.ApplicationIdentity) => {
4
5
  createPage: (req: CreateSavedPageRequest) => Promise<any>;
5
6
  deletePage: (id: string) => Promise<any>;
6
7
  updatePage: (req: UpdateSavedPageRequest) => Promise<any>;
@@ -15,7 +15,7 @@ import type { WorkspacePlatformInitConfig } from '../shapes';
15
15
  * }
16
16
  * }
17
17
  *
18
- * const overrideCallback: WorkspacePlatform.BrowserOverrideCallback = async (
18
+ * const overrideCallback: WorkspacePlatform.WorkspacePlatformOverrideCallback = async (
19
19
  * WorkspacePlatformProvider
20
20
  * ) => {
21
21
  * class Override extends WorkspacePlatformProvider {
@@ -34,4 +34,4 @@ import type { WorkspacePlatformInitConfig } from '../shapes';
34
34
  * ```
35
35
  * @param options options for configuring the platform.
36
36
  */
37
- export declare const init: (options: WorkspacePlatformInitConfig) => Promise<void>;
37
+ export declare const init: ({ theme, customActions, ...rest }: WorkspacePlatformInitConfig) => Promise<void>;
@@ -0,0 +1 @@
1
+ import '../test/fin-mocks';
@@ -1,4 +1,4 @@
1
1
  /// <reference types="openfin-adapter/fin" />
2
2
  import type { BrowserInitConfig } from '../../../client-api-platform/src/shapes';
3
- import { WorkspacePlatformProvider } from '..';
4
- export declare const getOverrideCallback: (initOptions: BrowserInitConfig) => OpenFin.OverrideCallback<WorkspacePlatformProvider>;
3
+ import { WorkspacePlatformOverrideCallback, WorkspacePlatformProvider } from '..';
4
+ export declare const getOverrideCallback: (browserInitOptions: BrowserInitConfig, overrideCallback?: WorkspacePlatformOverrideCallback) => OpenFin.OverrideCallback<WorkspacePlatformProvider>;
@@ -1,7 +1,7 @@
1
1
  /// <reference types="openfin-adapter/fin" />
2
2
  import { Identity } from 'openfin-adapter';
3
3
  import type { CustomThemeOptions } from '../../../common/src/api/theming';
4
- import type { BrowserInitConfig } from '..';
4
+ import type { BrowserInitConfig, BrowserSnapshot } from '..';
5
5
  export declare function overrideViewOptions(options: Partial<OpenFin.ViewOptions>, initOptions: OpenFin.ViewOptions): any;
6
6
  export declare function preserveInteropIfManifestConflict(opts: Partial<OpenFin.ViewOptions>, fetchManifest: ({ manifestUrl: string }: {
7
7
  manifestUrl: any;
@@ -30,11 +30,11 @@ declare type LegacyWindowOptions = Omit<OpenFin.PlatformWindowCreationOptions, '
30
30
  export declare const initWorkspacePlatformOptions: (options: LegacyWindowOptions | OpenFin.PlatformWindowCreationOptions) => OpenFin.PlatformWindowCreationOptions;
31
31
  export declare const applyPageDefaults: (pages: OpenFin.Page[], defaultPageOptions?: BrowserInitConfig['defaultPageOptions']) => Promise<{
32
32
  title: string;
33
+ layout: any;
33
34
  pageId: string;
34
35
  description?: string;
35
36
  tooltip?: string;
36
37
  isReadOnly?: boolean;
37
- layout: OpenFin.PageLayout;
38
38
  unsavedIconUrl?: string;
39
39
  iconUrl?: string;
40
40
  closeButton?: {
@@ -43,4 +43,5 @@ export declare const applyPageDefaults: (pages: OpenFin.Page[], defaultPageOptio
43
43
  };
44
44
  }[]>;
45
45
  export declare const applyBrowserDefaults: (options: OpenFin.PlatformWindowCreationOptions, initOptions: Pick<BrowserInitConfig, 'title' | 'defaultWindowOptions' | 'defaultPageOptions'>, theme: CustomThemeOptions) => Promise<OpenFin.PlatformWindowCreationOptions>;
46
+ export declare function checkSnapshotForPages(snapshot: BrowserSnapshot): boolean;
46
47
  export {};
@@ -213,6 +213,7 @@ export declare enum BrowserButtonType {
213
213
  ShowHideTabs = "ShowHideTabs",
214
214
  ColorLinking = "ColorLinking",
215
215
  PresetLayouts = "PresetLayouts",
216
+ LockUnlockPage = "LockUnlockPage",
216
217
  SaveMenu = "SaveMenu",
217
218
  SavePage = "SavePage",
218
219
  Minimise = "Minimise",
@@ -267,10 +268,14 @@ declare type ShowHideTabsConfig = {
267
268
  type: BrowserButtonType.ShowHideTabs;
268
269
  disabled?: boolean;
269
270
  };
271
+ declare type LockUnlockPageConfig = {
272
+ type: BrowserButtonType.LockUnlockPage;
273
+ disabled?: boolean;
274
+ };
270
275
  /**
271
276
  * Buttons on the left of WindowStateButtonOptions
272
277
  */
273
- export declare type ToolbarButton = ShowHideTabsConfig | CustomBrowserButtonConfig | PreDefinedButtonConfig;
278
+ export declare type ToolbarButton = ShowHideTabsConfig | LockUnlockPageConfig | CustomBrowserButtonConfig | PreDefinedButtonConfig;
274
279
  export interface ToolbarOptions {
275
280
  buttons: ToolbarButton[];
276
281
  }
@@ -366,6 +371,29 @@ export interface BrowserCreateWindowRequest extends Omit<OpenFin.PlatformWindowC
366
371
  * then an empty `pages` option will be populated with a single page.
367
372
  */
368
373
  disableMultiplePages?: boolean;
374
+ /**
375
+ * When true, disables the ability to drag pages into the window. False by default.
376
+ */
377
+ preventPageDragIn?: boolean;
378
+ /**
379
+ * When true, disables the ability to close pages, drag pages within the window,
380
+ * and drag pages into/out of the window. False by default.
381
+ */
382
+ isLocked?: boolean;
383
+ /**
384
+ * When true, disables the ability to drag pages out of a window. False by default.
385
+ */
386
+ preventPageDragOut?: boolean;
387
+ /**
388
+ * When true, page tabs in the window will not be draggable.
389
+ * This includes reordering pages and dragging them out of the window.
390
+ * False by default.
391
+ */
392
+ preventPageDrag?: boolean;
393
+ /**
394
+ * When true, disables the ability to close pages in the window. False by default.
395
+ */
396
+ preventPageClose?: boolean;
369
397
  };
370
398
  }
371
399
  /**
@@ -1098,28 +1126,28 @@ export interface WorkspacePlatformProvider extends OpenFin.PlatformProvider {
1098
1126
  deleteSavedWorkspace(id: string): Promise<void>;
1099
1127
  /**
1100
1128
  * Implementation for showing a global context menu given a menu template,
1101
- * handler callback, and screen coordinates. For an example of overriding, see {@link BrowserOverrideCallback}.
1129
+ * handler callback, and screen coordinates. For an example of overriding, see {@link WorkspacePlatformOverrideCallback}.
1102
1130
  * @param req the payload received by the provider call
1103
1131
  * @param callerIdentity OF identity of the entity from which the request originated
1104
1132
  */
1105
1133
  openGlobalContextMenu(req: OpenGlobalContextMenuPayload, callerIdentity: OpenFin.Identity): any;
1106
1134
  /**
1107
1135
  * Implementation for showing a view tab context menu given a menu template,
1108
- * handler callback, and screen coordinates. For an example of overriding, see {@link BrowserOverrideCallback}.
1136
+ * handler callback, and screen coordinates. For an example of overriding, see {@link WorkspacePlatformOverrideCallback}.
1109
1137
  * @param req the payload received by the provider call
1110
1138
  * @param callerIdentity OF identity of the entity from which the request originated
1111
1139
  */
1112
1140
  openViewTabContextMenu(req: OpenViewTabContextMenuPayload, callerIdentity: OpenFin.Identity): any;
1113
1141
  /**
1114
1142
  * Implementation for showing a page tab context menu given a menu template,
1115
- * handler callback, and screen coordinates. For an example of overriding, see {@link BrowserOverrideCallback}.
1143
+ * handler callback, and screen coordinates. For an example of overriding, see {@link WorkspacePlatformOverrideCallback}.
1116
1144
  * @param req the payload received by the provider call
1117
1145
  * @param callerIdentity OF identity of the entity from which the request originated
1118
1146
  */
1119
1147
  openPageTabContextMenu(req: OpenPageTabContextMenuPayload, callerIdentity: OpenFin.Identity): any;
1120
1148
  /**
1121
1149
  * Implementation for showing a context menu for save button given a menu template,
1122
- * handler callback, and screen coordinates. For an example of overriding, see {@link BrowserOverrideCallback}.
1150
+ * handler callback, and screen coordinates. For an example of overriding, see {@link WorkspacePlatformOverrideCallback}.
1123
1151
  * @param req the payload received by the provider call
1124
1152
  * @param callerIdentity OF identity of the entity from which the request originated
1125
1153
  */
@@ -1162,7 +1190,9 @@ export interface CustomActionsMap {
1162
1190
  */
1163
1191
  export interface WorkspacePlatformInitConfig {
1164
1192
  customActions?: CustomActionsMap;
1165
- /** Config for overriding browser options and behavior. */
1193
+ /** Config for overriding browser options and behavior.
1194
+ * Set to null to initalize the platform without the browser
1195
+ */
1166
1196
  browser?: BrowserInitConfig;
1167
1197
  /** Custom Themes object
1168
1198
  *
@@ -1200,11 +1230,23 @@ export interface WorkspacePlatformInitConfig {
1200
1230
  * }];
1201
1231
  *
1202
1232
  * await WorkspacePlatform.init({
1203
- * browser: { overrideCallback },
1204
- * theme: customThemes
1233
+ * browser: {
1234
+ * title: "My Browser"
1235
+ * },
1236
+ * theme: customThemes,
1237
+ * overrideCallback
1205
1238
  * });
1206
1239
  */
1207
1240
  theme?: CustomThemes;
1241
+ /**
1242
+ * Override workspace platform behavior
1243
+ */
1244
+ overrideCallback?: WorkspacePlatformOverrideCallback;
1245
+ /**
1246
+ * Override workspace platform interop behavior
1247
+ * https://cdn.openfin.co/docs/javascript/stable/InteropBroker.html
1248
+ */
1249
+ interopOverride?: OpenFin.OverrideCallback<InteropBroker, InteropBroker>;
1208
1250
  }
1209
1251
  /**
1210
1252
  * Extend or replace default functionality in order to customize behavior of a Workspace Platform Provider.
@@ -1215,7 +1257,7 @@ export interface WorkspacePlatformInitConfig {
1215
1257
  * import * as WorkspacePlatform from '@openfin/workspace-platform';
1216
1258
  * import { UpdateSavedPageRequest } from '../../client-api-platform/src/shapes';
1217
1259
  *
1218
- * const overrideCallback: WorkspacePlatform.BrowserOverrideCallback = async (
1260
+ * const overrideCallback: WorkspacePlatform.WorkspacePlatformOverrideCallback = async (
1219
1261
  * WorkspacePlatformProvider
1220
1262
  * ) => {
1221
1263
  * class Override extends WorkspacePlatformProvider {
@@ -1299,23 +1341,28 @@ export interface WorkspacePlatformInitConfig {
1299
1341
  * };
1300
1342
  *
1301
1343
  * await WorkspacePlatform.init({
1302
- * browser: { overrideCallback },
1303
- * customActions: {
1304
- * 'sample-custom-global-menu-action': (payload: CustomActionPayload) => {
1305
- * alert('This custom action works ' + JSON.stringify(payload));
1306
- * return 'someresponse';
1307
- * },
1308
- * 'sample-viewtab-action': (payload: ViewTabCustomActionPayload) => {
1309
- * alert('This custom action works ' + JSON.stringify(payload));
1310
- * return 'someresponse';
1311
- * }
1312
- * }
1313
- *
1314
- *
1344
+ * browser: {
1345
+ * title: "My Workpace Platform"
1346
+ * }
1347
+ * overrideCallback,
1348
+ * customActions: {
1349
+ * 'sample-custom-global-menu-action': (payload: CustomActionPayload) => {
1350
+ * alert('This custom action works ' + JSON.stringify(payload));
1351
+ * return 'someresponse';
1352
+ * },
1353
+ * 'sample-viewtab-action': (payload: ViewTabCustomActionPayload) => {
1354
+ * alert('This custom action works ' + JSON.stringify(payload));
1355
+ * return 'someresponse';
1356
+ * }
1357
+ * }
1315
1358
  * });
1316
1359
  */
1317
- export declare type BrowserOverrideCallback = OpenFin.OverrideCallback<WorkspacePlatformProvider>;
1360
+ export declare type WorkspacePlatformOverrideCallback = OpenFin.OverrideCallback<WorkspacePlatformProvider>;
1318
1361
  /**
1362
+ * @deprecated
1363
+ */
1364
+ export declare type BrowserOverrideCallback = WorkspacePlatformOverrideCallback;
1365
+ /**`
1319
1366
  * Configuration for initializing a Browser.
1320
1367
  */
1321
1368
  export interface BrowserInitConfig {
@@ -1334,10 +1381,12 @@ export interface BrowserInitConfig {
1334
1381
  */
1335
1382
  title?: string;
1336
1383
  /**
1384
+ * @deprecated
1337
1385
  * Override workspace platform behavior
1338
1386
  */
1339
1387
  overrideCallback?: BrowserOverrideCallback;
1340
1388
  /**
1389
+ * @deprecated
1341
1390
  * Override workspace platform interop behavior
1342
1391
  * https://cdn.openfin.co/docs/javascript/stable/InteropBroker.html
1343
1392
  */
@@ -0,0 +1 @@
1
+ export {};
@@ -26,7 +26,11 @@ export interface Page {
26
26
  iconUrl?: string;
27
27
  /** The layout of the page. */
28
28
  layout: PageLayout;
29
- /** Used to manipulate behaviour of a close button on a page tab. If `undefined`, then close button is visible and actionable. */
29
+ /** True if the page is locked. */
30
+ isLocked?: boolean;
31
+ /** Used to manipulate behaviour of a close button on a page tab. If `undefined`, then close button is visible and actionable.
32
+ * If either property true, this page tab's context menu will disable its 'Close Page' option.
33
+ */
30
34
  closeButton?: {
31
35
  hidden?: boolean;
32
36
  disabled?: boolean;
@@ -10,6 +10,10 @@ export declare type ShowContextMenuResponse = OpenFin.MenuResult & {
10
10
  data: string;
11
11
  };
12
12
  export default function showContextMenu(opts: OpenFin.ShowPopupMenuOptions, win?: _Window): Promise<ShowContextMenuResponse>;
13
+ export declare const Separator: {
14
+ type: MenuItemType;
15
+ data: any;
16
+ };
13
17
  export declare const DefaultSaveMenuBounds: {
14
18
  width: number;
15
19
  height: number;
@@ -1,5 +1,6 @@
1
1
  /// <reference types="openfin-adapter/fin" />
2
2
  import { NamedIdentity } from 'openfin-adapter/src/identity';
3
+ import { AttachedPage, PageLayout } from '../../../client-api-platform/src/shapes';
3
4
  export declare type LayoutComponentStateExtended = OpenFin.LayoutComponent['componentState'] & {
4
5
  name: string;
5
6
  uuid: string;
@@ -34,6 +35,12 @@ export interface LayoutDOMEvent {
34
35
  isInitialized: boolean;
35
36
  }
36
37
  export declare type LayoutDOMEventListener = (ev: LayoutDOMEvent) => void;
38
+ /**
39
+ * Deep clones a layout and adds view names if they don't exist.
40
+ * @param layout The Layout to be cloned
41
+ * @returns A copy of the layout with names added where necessary
42
+ */
43
+ export declare const cloneLayoutAndFillInViewNames: (layout: any) => any;
37
44
  /**
38
45
  * Deep clones a layout and removes view names.
39
46
  * @param layout The Layout to be cloned
@@ -51,3 +58,24 @@ export declare const addLayoutEventListener: (event: LayoutDOMEventType, listene
51
58
  * Initialize the layout for the current OF window.
52
59
  */
53
60
  export declare const initLayout: () => Promise<void>;
61
+ /**
62
+ * Deep clones a layout and changes its settings to make it "locked".
63
+ * @param layout The Layout to be locked
64
+ * @returns A restricted copy of the layout
65
+ */
66
+ export declare const getLockedPageLayout: (layout: any) => any;
67
+ /**
68
+ * Accepts a locked layout and an unlocked layout as a reference.
69
+ * Takes the layout settings of the reference layout and merges them into the locked layout, thereby unlocking it.
70
+ * @param lockedLayout The Layout to unlocke
71
+ * @param referenceUnlockedLayout The Layout to serve as a reference of an unlocked layout
72
+ * @returns An unlocked version of the target layout
73
+ */
74
+ export declare const getUnlockedLayout: (lockedLayout: any, referenceUnlockedLayout: any) => any;
75
+ /**
76
+ * Replaces the layout of the window with the provided layout and adjusts it based on provided page's options
77
+ * @param layout Layout with which to replace current window's layout
78
+ * @param page Page object
79
+ * @returns
80
+ */
81
+ export declare const replaceLayout: (layout: PageLayout, page: AttachedPage) => Promise<void>;
@@ -1,2 +1,3 @@
1
+ import { NamedIdentity } from 'openfin-adapter/src/identity';
1
2
  import { PageTabContextMenuItemTemplate } from '../../../client-api-platform/src/shapes';
2
- export declare const getPageTabMenuTemplate: (saved: boolean) => PageTabContextMenuItemTemplate[];
3
+ export declare const getPageTabMenuTemplate: (pageId: string, winIdentity: NamedIdentity) => Promise<PageTabContextMenuItemTemplate[]>;
@@ -4,8 +4,8 @@
4
4
  * Make sure to include trailing slash, as it is essential for deployed version to route correctly.
5
5
  */
6
6
  export declare enum PageRoute {
7
- HomeIndex = "/home/",
8
- HomeSearch = "/home/search/",
7
+ Home = "/home/",
8
+ HomeSearch = "/home/?deeplink=search",
9
9
  HomePagesRename = "/home/pages/rename/",
10
10
  Dock = "/home/dock/",
11
11
  BrowserPagesLanding = "/browser/pages/landing/",
@@ -30,8 +30,14 @@ export declare enum AssetRoute {
30
30
  IconOpenFinLogo = "/icons/openfinlogo.svg",
31
31
  IconFilter = "/icons/filter.svg"
32
32
  }
33
+ /**
34
+ * Home DeepLink Options
35
+ */
36
+ export declare enum HomeDeepLink {
37
+ Search = "search"
38
+ }
33
39
  declare const _default: {
34
- HomeIndex: PageRoute.HomeIndex;
40
+ Home: PageRoute.Home;
35
41
  HomeSearch: PageRoute.HomeSearch;
36
42
  HomePagesRename: PageRoute.HomePagesRename;
37
43
  Dock: PageRoute.Dock;
@@ -0,0 +1 @@
1
+ export declare const checkUniqueToolbarOptions: (toolbarOptions: any) => void;
@@ -149,5 +149,6 @@ export declare const isHomeWindowRunning: () => Promise<boolean>;
149
149
  export declare const showAndFocusStorefront: () => Promise<void>;
150
150
  export declare const centerWindowIfOffScreen: (windowIdentity?: WindowIdentity) => Promise<void>;
151
151
  export declare const getDisableMultiplePagesOption: (identity: WindowIdentity) => Promise<any>;
152
+ export declare const getIsLockedOption: (identity: WindowIdentity) => Promise<any>;
152
153
  export declare const getPlatformWindowTitle: (identity: WindowIdentity) => Promise<any>;
153
154
  export {};
@@ -10,3 +10,4 @@ export declare const showDeleteWorkspaceModal: (windowIdentity: OpenFin.Identity
10
10
  */
11
11
  export declare const showPlatformQuitModal: (windowIdentity: OpenFin.Identity, workspaceTitle: string) => Promise<boolean>;
12
12
  export declare const showRestoreChangesModal: (windowIdentity: any) => Promise<boolean>;
13
+ export declare const getOverwriteWorkspaceMenu: (workspaceTitle: string) => Promise<ResponseModalConfig>;