@openfin/workspace-platform 19.3.9 → 20.0.0
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.
|
@@ -9,6 +9,7 @@ export declare function getPanelsWithViewSnapshots(panels?: ExtendedPanelConfig[
|
|
|
9
9
|
name: string;
|
|
10
10
|
url: string;
|
|
11
11
|
target: OpenFin.Identity;
|
|
12
|
+
title?: string;
|
|
12
13
|
contentCreation?: OpenFin.ContentCreationOptions;
|
|
13
14
|
customRequestHeaders?: OpenFin.CustomRequestHeaders[];
|
|
14
15
|
bounds?: OpenFin.Bounds;
|
|
@@ -57,6 +58,7 @@ export declare function getPanelsWithViewSnapshots(panels?: ExtendedPanelConfig[
|
|
|
57
58
|
name: string;
|
|
58
59
|
url: string;
|
|
59
60
|
target: OpenFin.Identity;
|
|
61
|
+
title?: string;
|
|
60
62
|
contentCreation?: OpenFin.ContentCreationOptions;
|
|
61
63
|
customRequestHeaders?: OpenFin.CustomRequestHeaders[];
|
|
62
64
|
bounds?: OpenFin.Bounds;
|
|
@@ -10,8 +10,9 @@ import { SearchViewExpansionState } from '../../../../browser/src/components/Con
|
|
|
10
10
|
* @param {MutableRefObject<HTMLDivElement>} inputContainerRef - Ref object associated with the address input DOM element.
|
|
11
11
|
* @param {number} offsetTop - Number indicating the offset in pixels from the top of the browser window at which the search results view should be drawn.
|
|
12
12
|
* @param {OpenFin.View} addressSearchResultsView - View object corresponding to the search results view.
|
|
13
|
+
* @param {SearchViewExpansionState} shouldExpandMenu - Object with boolean indicating if the search results view should expand and the method of expansion.
|
|
13
14
|
* @param {Dispatch<SetStateAction<number>>} setAddressBarWidth - Function that updates the width in pixels of the address input bar in its expanded state.
|
|
14
15
|
* @param {Dispatch<SetStateAction<SearchViewExpansionState>>} setShouldExpandMenu - Function that updates whether the menu should expand and the method of expansion.
|
|
15
16
|
* @param {Dispatch<SetStateAction<string>>} setSearchText - Function that updates the search text in the address input.
|
|
16
17
|
*/
|
|
17
|
-
export declare const useInitChannelToSearchMenuView: (selectedViews: OpenFin.Identity[], searchMenuChannel: MutableRefObject<BroadcastChannel>, inputContainerRef: MutableRefObject<HTMLDivElement>, offsetTop: number, addressSearchResultsView: OpenFin.View, setAddressBarWidth: Dispatch<SetStateAction<number>>, setShouldExpandMenu: Dispatch<SetStateAction<SearchViewExpansionState>>, setSearchText: Dispatch<SetStateAction<string>>) => void;
|
|
18
|
+
export declare const useInitChannelToSearchMenuView: (selectedViews: OpenFin.Identity[], searchMenuChannel: MutableRefObject<BroadcastChannel>, inputContainerRef: MutableRefObject<HTMLDivElement>, offsetTop: number, addressSearchResultsView: OpenFin.View, shouldExpandMenu: SearchViewExpansionState, setAddressBarWidth: Dispatch<SetStateAction<number>>, setShouldExpandMenu: Dispatch<SetStateAction<SearchViewExpansionState>>, setSearchText: Dispatch<SetStateAction<string>>) => void;
|