@openfin/workspace-platform 18.1.11 → 18.1.13
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.
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type OpenFin from '@openfin/core';
|
|
1
2
|
import { IndicatorType } from '../../../../common/src/components/Indicator/Indicator.constants';
|
|
2
3
|
export declare enum BrowserIndicatorIcon {
|
|
3
4
|
Locked = "LockClosedIcon",
|
|
@@ -7,12 +8,14 @@ export interface ShowBrowserIndicatorPayload {
|
|
|
7
8
|
type: IndicatorType;
|
|
8
9
|
message: string;
|
|
9
10
|
parentBrowserName?: string;
|
|
11
|
+
secondaryMessage?: string;
|
|
10
12
|
icon?: BrowserIndicatorIcon;
|
|
13
|
+
isEnterprise?: boolean;
|
|
11
14
|
}
|
|
12
15
|
/**
|
|
13
16
|
* Creates a window containing a visual indicator contained in a Browser Window
|
|
14
17
|
*/
|
|
15
|
-
export declare function showBrowserIndicator(type: IndicatorType, message: string, parentBrowserName?: string, icon?: BrowserIndicatorIcon): Promise<void>;
|
|
18
|
+
export declare function showBrowserIndicator(type: IndicatorType, message: string, parentBrowserName?: string, secondaryMessage?: string, icon?: BrowserIndicatorIcon, isEnterprise?: boolean): Promise<void>;
|
|
16
19
|
/**
|
|
17
20
|
* Creates a window containing an error indicator
|
|
18
21
|
*/
|
|
@@ -20,7 +23,7 @@ export declare function showBrowserError(message: string, parentBrowserName?: st
|
|
|
20
23
|
/**
|
|
21
24
|
* Creates a window containing a success indicator
|
|
22
25
|
*/
|
|
23
|
-
export declare function showBrowserSuccess(message: string,
|
|
26
|
+
export declare function showBrowserSuccess(message: string, identity?: OpenFin.Identity, secondaryMessage?: string, icon?: BrowserIndicatorIcon): Promise<void>;
|
|
24
27
|
/**
|
|
25
28
|
* Creates a window containing an info indicator
|
|
26
29
|
*/
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type OpenFin from '@openfin/core';
|
|
2
|
-
export default function makeShowIndicator(opts?: OpenFin.PlatformWindowCreationOptions): (namespace: string, url: string, message: string, type: string) => Promise<void>;
|
|
2
|
+
export default function makeShowIndicator(opts?: OpenFin.PlatformWindowCreationOptions): (namespace: string, url: string, message: string, type: string, secondaryMessage: string) => Promise<void>;
|