@openfin/workspace-platform 19.3.2 → 19.3.4
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/browser/src/components/ControlBar/LeftControlsContainer/EnterpriseNavigationContainer/AddressBar/AddressBarInput.d.ts +7 -7
- package/browser/src/components/ControlBar/SearchMenu/BookmarkButton.d.ts +10 -0
- package/browser/src/components/ControlBar/SearchMenu/useBookmarkButtonHover.d.ts +2 -0
- package/browser/src/components/ControlBar/SearchMenu/useEnterpriseBookmarkDialogWindow.d.ts +2 -0
- package/browser/src/components/ControlBar/SearchMenu/useIsBookmarked.d.ts +1 -0
- package/browser/src/components/ControlBar/SearchMenu/useIsSelectedViewNavigated.d.ts +5 -0
- package/browser/src/components/ControlBar/SearchMenu/useSelectedAndOpenViewsBroadcastChannel.d.ts +8 -0
- package/browser/src/components/ControlBar/SearchMenu/utils.d.ts +9 -0
- package/browser/src/components/PanelContainer/BookmarksPanel/BookmarkItem.d.ts +17 -0
- package/browser/src/components/PanelContainer/BookmarksPanel/BookmarksFolderHeader.d.ts +8 -0
- package/browser/src/components/PanelContainer/BookmarksPanel/BookmarksPanel.d.ts +9 -0
- package/browser/src/components/PanelContainer/BookmarksPanel/BookmarksPanelHeader.d.ts +3 -0
- package/browser/src/components/PanelContainer/BookmarksPanel/BookmarksResults.d.ts +15 -0
- package/browser/src/components/PanelContainer/BookmarksPanel/BookmarksSearchInput.d.ts +7 -0
- package/browser/src/components/PanelContainer/BookmarksPanel/useBookmarkNavigation.d.ts +8 -0
- package/browser/src/components/PanelContainer/BookmarksPanel/useBookmarksSearch.d.ts +16 -0
- package/browser/src/components/PanelContainer/BookmarksPanel/useUpdateBookmarkResultsActions.d.ts +15 -0
- package/browser/src/components/PanelContainer/BookmarksPanel/utils.d.ts +7 -0
- package/browser/src/hooks/EnterpriseSearchMenu/usePostMessageToSearchMenuView.d.ts +4 -2
- package/browser/src/hooks/usePanelBounds.d.ts +2 -1
- package/browser/src/hooks/useSingleViewPage.d.ts +2 -0
- package/browser/src/hooks/useWindowFocusState.d.ts +17 -0
- package/client-api-platform/src/api/app-directory.d.ts +1 -1
- package/client-api-platform/src/api/browser/bookmarks.d.ts +6 -0
- package/client-api-platform/src/api/context-menu/index.d.ts +3 -1
- package/client-api-platform/src/shapes.d.ts +5 -2
- package/common/src/api/pages/shapes.d.ts +91 -0
- package/common/src/api/protocol/browser.d.ts +3 -1
- package/common/src/api/protocol/workspace-platform.d.ts +1 -0
- package/common/src/components/BaseButton/BaseButton.d.ts +55 -0
- package/common/src/hooks/context.d.ts +9 -1
- package/common/src/hooks/useAddEditBookmarkDialog.d.ts +7 -0
- package/common/src/hooks/usePreloadedWindow.d.ts +13 -0
- package/common/src/utils/bookmark-item-context-menu.d.ts +3 -0
- package/common/src/utils/bookmarks.d.ts +12 -0
- package/common/src/utils/enterprise-channels.d.ts +13 -0
- package/common/src/utils/get-browser-window.d.ts +3 -0
- package/common/src/utils/menu-config.d.ts +1 -0
- package/common/src/utils/modal-bounds.d.ts +0 -8
- package/common/src/utils/popup-window.d.ts +12 -1
- package/common/src/utils/route.d.ts +3 -1
- package/common/src/utils/window.d.ts +12 -1
- package/index.js +15 -15
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/common/src/utils/enterprise-context-menu-cahnnels.d.ts +0 -4
|
@@ -23,7 +23,9 @@ export declare enum PageRoute {
|
|
|
23
23
|
DeprecatedAlert = "/provider/deprecated-alert/",
|
|
24
24
|
Analytics = "/provider/analytics/",
|
|
25
25
|
EnterpriseBrowser = "/browser/enterprise/",
|
|
26
|
-
EnterpriseContextMenu = "/browser/enterprise/context-menu/"
|
|
26
|
+
EnterpriseContextMenu = "/browser/enterprise/context-menu/",
|
|
27
|
+
EnterpriseBookmarkDialog = "/browser/enterprise/bookmark-dialog/",
|
|
28
|
+
DropdownMenu = "/browser/enterprise/dropdown-menu/"
|
|
27
29
|
}
|
|
28
30
|
export declare const Assets: {
|
|
29
31
|
readonly IconOpenFinLogo: "/icons/openfinlogo.svg";
|
|
@@ -11,7 +11,9 @@ export declare enum WindowName {
|
|
|
11
11
|
BrowserWindow = "internal-generated-window",
|
|
12
12
|
ClassicWindow = "internal-generated-classic-window",
|
|
13
13
|
EnterpriseContextMenu = "openfin-enterprise-context-menu",
|
|
14
|
-
BrowserAddressSearchPrefix = "openfin-browser-menu-address-search-"
|
|
14
|
+
BrowserAddressSearchPrefix = "openfin-browser-menu-address-search-",
|
|
15
|
+
EnterpriseBookmarkDialogWindow = "openfin-enterprise-bookmark-dialog",
|
|
16
|
+
DropdownMenu = "openfin-enterprise-dropdown-menu"
|
|
15
17
|
}
|
|
16
18
|
export interface WindowIdentity {
|
|
17
19
|
uuid: ApplicationUUID | string;
|
|
@@ -163,4 +165,13 @@ export declare const getComponentWindowStatus: () => Promise<{
|
|
|
163
165
|
}>;
|
|
164
166
|
export declare const deserializeWindowBounds: (serialized: string) => OpenFin.WindowBounds | null;
|
|
165
167
|
export declare const serializeWindowBounds: (bounds: OpenFin.WindowBounds) => string;
|
|
168
|
+
export declare const getWindowBounds: (window: OpenFin.Window) => Promise<OpenFin.RectangleByEdgePositions>;
|
|
169
|
+
/**
|
|
170
|
+
* calculates the percenage of the window that is present within the monitor (float in range 0-1)
|
|
171
|
+
*
|
|
172
|
+
* @param bounds the bounds of the window
|
|
173
|
+
* @param monitor the monitor to check against
|
|
174
|
+
*/
|
|
175
|
+
export declare function getPercentageOfBoundsInMonitor(bounds: OpenFin.Bounds, monitor: OpenFin.MonitorDetails): number;
|
|
176
|
+
export declare function getMonitorWindowMaximizedOn(parentWindowBounds: OpenFin.WindowBounds): Promise<OpenFin.MonitorDetails>;
|
|
166
177
|
export {};
|