@openfin/workspace 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.
- package/browser/src/components/ControlBar/LeftControlsContainer/EnterpriseNavigationContainer/AddressBar/AddressBarInput.d.ts +7 -7
- package/browser/src/hooks/EnterpriseSearchMenu/usePostMessageToSearchMenuView.d.ts +4 -2
- package/client-api-platform/src/api/app-directory.d.ts +1 -1
- package/common/src/utils/env.d.ts +1 -1
- package/home.js +1 -1
- package/index.js +1 -1
- package/notifications.js +1 -1
- package/package.json +1 -1
- package/store.js +1 -1
|
@@ -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
|
+
};
|
|
@@ -6,7 +6,7 @@ import type { LaunchAppRequest, SearchSitesRequest, SearchSitesResponse, Site }
|
|
|
6
6
|
* @param app the app directory entry.
|
|
7
7
|
* @param opts launch options.
|
|
8
8
|
*/
|
|
9
|
-
export declare function launchApp({ app, target }: LaunchAppRequest): Promise<void | OpenFin.
|
|
9
|
+
export declare function launchApp({ app, target }: LaunchAppRequest): Promise<void | OpenFin.View | OpenFin.Identity | OpenFin.Platform | OpenFin.Application>;
|
|
10
10
|
export declare const enterpriseAppDirectoryChannelClient: () => Promise<OpenFin.ChannelClient>;
|
|
11
11
|
export declare function getResults(payload: {
|
|
12
12
|
req: SearchSitesRequest;
|
|
@@ -11,7 +11,7 @@ export declare const isDocumentDefined: boolean;
|
|
|
11
11
|
export declare const isWindowDefinedWithIndexDB: boolean;
|
|
12
12
|
export declare const finUUID: string;
|
|
13
13
|
export declare const finName: string;
|
|
14
|
-
export declare const finEntityType: "" | "
|
|
14
|
+
export declare const finEntityType: "" | "window" | "view";
|
|
15
15
|
export declare const isEnvLocal: boolean;
|
|
16
16
|
export declare const isEnvDev: boolean;
|
|
17
17
|
export declare const isEnvStaging: boolean;
|