@openfin/workspace-platform 17.2.1 → 17.2.3
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.
|
@@ -1541,7 +1541,11 @@ export interface WorkspacePlatformProvider extends OpenFin.PlatformProvider {
|
|
|
1541
1541
|
*/
|
|
1542
1542
|
setActivePage(payload: SetActivePageForWindowPayload): Promise<void>;
|
|
1543
1543
|
/**
|
|
1544
|
-
*
|
|
1544
|
+
* Implementation for creating a copy of a page. Called when a page is Saved-As or Duplicated.
|
|
1545
|
+
*
|
|
1546
|
+
* Note: The `page.layout` and `page.panels` property cannot be overridden for 'Save As' operations,
|
|
1547
|
+
* the `page.layout` and `page.panels` property provided in the return value will be ignored, and the layout and panels of
|
|
1548
|
+
* the original page will remain after 'Save As' is performed.
|
|
1545
1549
|
*/
|
|
1546
1550
|
copyPage(payload: CopyPagePayload): Promise<Page>;
|
|
1547
1551
|
}
|
|
@@ -10,18 +10,22 @@ export interface ShowBrowserIndicatorPayload {
|
|
|
10
10
|
icon?: BrowserIndicatorIcon;
|
|
11
11
|
}
|
|
12
12
|
/**
|
|
13
|
-
* Creates a window containing a visual indicator
|
|
13
|
+
* Creates a window containing a visual indicator contained in a Browser Window
|
|
14
14
|
*/
|
|
15
|
-
export declare function showBrowserIndicator(type: IndicatorType, message: string, parentBrowserName?: string, icon?: BrowserIndicatorIcon): Promise<
|
|
15
|
+
export declare function showBrowserIndicator(type: IndicatorType, message: string, parentBrowserName?: string, icon?: BrowserIndicatorIcon): Promise<void>;
|
|
16
16
|
/**
|
|
17
17
|
* Creates a window containing an error indicator
|
|
18
18
|
*/
|
|
19
|
-
export declare function showBrowserError(message: string, parentBrowserName?: string, icon?: BrowserIndicatorIcon): Promise<
|
|
19
|
+
export declare function showBrowserError(message: string, parentBrowserName?: string, icon?: BrowserIndicatorIcon): Promise<void>;
|
|
20
20
|
/**
|
|
21
21
|
* Creates a window containing a success indicator
|
|
22
22
|
*/
|
|
23
|
-
export declare function showBrowserSuccess(message: string, parentBrowserName?: string, icon?: BrowserIndicatorIcon): Promise<
|
|
23
|
+
export declare function showBrowserSuccess(message: string, parentBrowserName?: string, icon?: BrowserIndicatorIcon): Promise<void>;
|
|
24
24
|
/**
|
|
25
25
|
* Creates a window containing an info indicator
|
|
26
26
|
*/
|
|
27
|
-
export declare function showBrowserInfo(message: string, parentBrowserName?: string, icon?: BrowserIndicatorIcon): Promise<
|
|
27
|
+
export declare function showBrowserInfo(message: string, parentBrowserName?: string, icon?: BrowserIndicatorIcon): Promise<void>;
|
|
28
|
+
/**
|
|
29
|
+
* Creates a window centered on monitor containing a success indicator for switching workspaces
|
|
30
|
+
*/
|
|
31
|
+
export declare function showSwitchWorkspaceSuccess(): Promise<void>;
|