@openfin/workspace-platform 18.1.0 → 18.1.2
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/client-api/src/shapes/dock.d.ts +1 -1
- package/client-api-platform/src/init/override-callback/browser-defaults.test.d.ts +1 -0
- package/client-api-platform/src/shapes.d.ts +1 -14
- package/common/src/utils/enterpriseBrowser.d.ts +1 -0
- package/common/src/utils/route.d.ts +1 -0
- package/common/src/utils/window.d.ts +1 -1
- package/index.js +1 -1
- package/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -44,7 +44,7 @@ export interface WorkspaceComponentButtonOptions {
|
|
|
44
44
|
* A dropdown button presents a list of options the user can choose from.
|
|
45
45
|
* An action button initiates a single task or action only.
|
|
46
46
|
*/
|
|
47
|
-
export declare
|
|
47
|
+
export declare enum DockButtonNames {
|
|
48
48
|
ActionButton = "ActionButton",
|
|
49
49
|
DropdownButton = "DropdownButton"
|
|
50
50
|
}
|
|
@@ -92,7 +92,7 @@ export declare enum GlobalContextMenuOptionType {
|
|
|
92
92
|
/**
|
|
93
93
|
* Types of color scheme.
|
|
94
94
|
*/
|
|
95
|
-
export declare
|
|
95
|
+
export declare enum ColorSchemeOptionType {
|
|
96
96
|
Light = "light",
|
|
97
97
|
Dark = "dark",
|
|
98
98
|
System = "system"
|
|
@@ -124,22 +124,10 @@ export declare enum PageTabContextMenuOptionType {
|
|
|
124
124
|
CloseOthers = "Close others",
|
|
125
125
|
Custom = "Custom"
|
|
126
126
|
}
|
|
127
|
-
export declare enum EnterpriseMainContextMenuOptionType {
|
|
128
|
-
Lock = "Lock",
|
|
129
|
-
ShowHideTabs = "ShowHideTabs",
|
|
130
|
-
AddToChanel = "AddToChannel",
|
|
131
|
-
QuitBrowser = "QuitBrowser",
|
|
132
|
-
Print = "Print",
|
|
133
|
-
Pin = "Pin"
|
|
134
|
-
}
|
|
135
127
|
/**Shape of the data property of a global context menu template item */
|
|
136
128
|
export interface GlobalContextMenuItemData extends ContextMenuItemData {
|
|
137
129
|
type: GlobalContextMenuOptionType;
|
|
138
130
|
}
|
|
139
|
-
export interface EnterpriseMainContextMenuItemData extends ContextMenuItemData {
|
|
140
|
-
type: GlobalContextMenuOptionType | EnterpriseMainContextMenuOptionType | ViewTabMenuOptionType;
|
|
141
|
-
option?: string;
|
|
142
|
-
}
|
|
143
131
|
export interface WorkspaceContextMenuItemData extends GlobalContextMenuItemData {
|
|
144
132
|
workspaceId: string;
|
|
145
133
|
}
|
|
@@ -148,7 +136,6 @@ export interface AppearanceContextMenuItemData extends GlobalContextMenuItemData
|
|
|
148
136
|
}
|
|
149
137
|
/**Configuration of an option in the global context menu */
|
|
150
138
|
export type GlobalContextMenuItemTemplate = OpenFin.MenuItemTemplate<GlobalContextMenuItemData>;
|
|
151
|
-
export type EnterpriseMainContextMenuItemTemplate = OpenFin.MenuItemTemplate<EnterpriseMainContextMenuItemData>;
|
|
152
139
|
/**Shape of the data property of a page tab context menu template item */
|
|
153
140
|
export interface PageTabContextMenuItemData extends ContextMenuItemData {
|
|
154
141
|
type: PageTabContextMenuOptionType;
|
|
@@ -2,3 +2,4 @@ import type OpenFin from '@openfin/core';
|
|
|
2
2
|
export declare const isEnterpriseBrowser: (id?: OpenFin.Identity) => Promise<boolean>;
|
|
3
3
|
export declare function formatUrl(url: string): string;
|
|
4
4
|
export declare const getMenuWindowWidth: () => Promise<number>;
|
|
5
|
+
export declare const isLandingPage: (url: string) => boolean;
|
|
@@ -16,6 +16,7 @@ export declare enum PageRoute {
|
|
|
16
16
|
BrowserPopupMenuColorLinking = "/browser/popup-menu/color-linking/color-linking/",
|
|
17
17
|
BrowserIndicator = "/browser/indicator/",
|
|
18
18
|
BrowserPopupMenuAddressSearch = "/browser/popup-menu/address-search/",
|
|
19
|
+
BrowserPopupMenuAddressSearchView = "/browser/popup-menu/address-search-view/",
|
|
19
20
|
ResponseModal = "/browser/popup-menu/response-modal/",
|
|
20
21
|
CloseConfirmationModal = "/browser/popup-menu/close-confirmation-modal/",
|
|
21
22
|
Docs = "/provider/docs/",
|
|
@@ -10,7 +10,7 @@ export declare enum WindowName {
|
|
|
10
10
|
BrowserIndicator = "openfin-browser-indicator",
|
|
11
11
|
BrowserWindow = "internal-generated-window",
|
|
12
12
|
ClassicWindow = "internal-generated-classic-window",
|
|
13
|
-
|
|
13
|
+
BrowserAddressSearchPrefix = "openfin-browser-menu-address-search-"
|
|
14
14
|
}
|
|
15
15
|
export interface WindowIdentity {
|
|
16
16
|
uuid: ApplicationUUID | string;
|