@openfin/workspace-platform 19.3.3 → 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.
|
@@ -3,16 +3,16 @@ import { OpenFin } from '@openfin/core';
|
|
|
3
3
|
import { BrowserSearchMenuKeyboardEvent } from '../../../../../../../common/src/utils/popup-window';
|
|
4
4
|
import { SearchViewExpansionState, SecureIconState } from './AddressBar';
|
|
5
5
|
type AddressBarInputProps = {
|
|
6
|
-
addressSearchResultsView
|
|
7
|
-
addressBarInputRef
|
|
8
|
-
inputContainerRef
|
|
9
|
-
addressBarWidth
|
|
6
|
+
addressSearchResultsView: OpenFin.View;
|
|
7
|
+
addressBarInputRef: MutableRefObject<HTMLInputElement>;
|
|
8
|
+
inputContainerRef: MutableRefObject<HTMLDivElement>;
|
|
9
|
+
addressBarWidth: number;
|
|
10
10
|
isSecure: SecureIconState;
|
|
11
|
-
setShouldExpandMenu
|
|
12
|
-
shouldExpandMenu
|
|
11
|
+
setShouldExpandMenu: Dispatch<SetStateAction<SearchViewExpansionState>>;
|
|
12
|
+
shouldExpandMenu: SearchViewExpansionState;
|
|
13
13
|
setSearchText: Dispatch<SetStateAction<string>>;
|
|
14
14
|
searchText: string;
|
|
15
|
-
|
|
15
|
+
sendKeyboardEventToSearchMenuView: (keyboardEvent: BrowserSearchMenuKeyboardEvent) => void;
|
|
16
16
|
};
|
|
17
17
|
export declare const AddressBarInput: React.FC<AddressBarInputProps>;
|
|
18
18
|
export {};
|
|
@@ -11,6 +11,8 @@ import { SearchViewExpansionState } from '../../components/ControlBar/LeftContro
|
|
|
11
11
|
* @param {AttachedPageInternal} activePage - Object representing the currently active page in the browser window.
|
|
12
12
|
* @param {SearchViewExpansionState} shouldExpandMenu - Object with boolean indicating if the search results view should expand and the method of expansion.
|
|
13
13
|
* @param {string} searchText - String representing the current text in the address input.
|
|
14
|
-
* @
|
|
14
|
+
* @returns {{ sendKeyboardEventToSearchMenuView: (keyboardEvent: BrowserSearchMenuKeyboardEvent) => void }} - Object containing a function to send keyboard events to the search menu view.
|
|
15
15
|
*/
|
|
16
|
-
export declare const usePostMessageToSearchMenuView: (selectedViews: OpenFin.Identity[], searchMenuChannel: BroadcastChannel, activePage: AttachedPageInternal, shouldExpandMenu: SearchViewExpansionState, searchText: string
|
|
16
|
+
export declare const usePostMessageToSearchMenuView: (selectedViews: OpenFin.Identity[], searchMenuChannel: BroadcastChannel, activePage: AttachedPageInternal, shouldExpandMenu: SearchViewExpansionState, searchText: string) => {
|
|
17
|
+
sendKeyboardEventToSearchMenuView: (keyboardEvent: BrowserSearchMenuKeyboardEvent) => Promise<void>;
|
|
18
|
+
};
|