@openfin/workspace 20.1.3 → 20.1.5
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/PanelContainer/BookmarksPanel/BookmarkItem.d.ts +2 -2
- package/browser/src/components/PanelContainer/BookmarksPanel/BookmarksResults.d.ts +1 -1
- package/browser/src/components/PanelContainer/BookmarksPanel/useBookmarkNavigation.d.ts +8 -0
- package/browser/src/components/PanelContainer/BookmarksPanel/useBookmarksSearch.d.ts +1 -1
- package/browser/src/components/PanelContainer/BookmarksPanel/utils.d.ts +7 -0
- package/client-api-platform/src/index.d.ts +1 -1
- package/client-api-platform/src/init/index.d.ts +2 -4
- package/client-api-platform/src/shapes.d.ts +3 -172
- package/common/src/api/overrides.d.ts +2 -0
- package/common/src/api/protocol/browser.d.ts +1 -12
- package/common/src/api/protocol/workspace-platform.d.ts +1 -12
- package/common/src/api/theming.d.ts +4 -31
- package/common/src/api/workspace-events.d.ts +1 -1
- package/common/src/components/BaseButton/BaseButton.d.ts +4 -2
- package/common/src/utils/bookmark-item-context-menu.d.ts +0 -5
- package/common/src/utils/bookmarks.d.ts +3 -7
- package/common/src/utils/menu-window-provider.d.ts +0 -1
- package/common/src/utils/modal-bounds.d.ts +0 -7
- package/common/src/utils/popup-window.d.ts +7 -4
- package/common/src/utils/route.d.ts +1 -2
- package/common/src/utils/router/base.d.ts +1 -1
- package/common/src/utils/shared-emitter.d.ts +0 -5
- package/common/src/utils/usage-register.d.ts +0 -1
- package/common/src/utils/window.d.ts +1 -2
- package/home.js +4 -4
- package/home.js.map +1 -1
- package/index.js +4 -4
- package/index.js.map +1 -1
- package/notifications.js +99 -99
- package/notifications.js.map +1 -1
- package/package.json +2 -2
- package/search-api/src/client/internal.d.ts +4 -4
- package/search-api/src/client/remote/channel-client-factory.d.ts +1 -2
- package/search-api/src/client/remote/channel-client.d.ts +4 -4
- package/search-api/src/fin/index.d.ts +3 -2
- package/search-api/src/fin/shapes.d.ts +23 -0
- package/search-api/src/index.d.ts +1 -1
- package/search-api/src/internal-shapes.d.ts +1 -1
- package/search-api/src/provider/internal.d.ts +1 -3
- package/search-api/src/provider/remote/channel-factory.d.ts +1 -2
- package/search-api/src/provider/remote/channel.d.ts +4 -4
- package/search-api/src/shapes.d.ts +2 -17
- package/store.js +37 -37
- package/store.js.map +1 -1
- package/browser/src/components/ControlBar/SearchMenu/BookmarkButton.d.ts +0 -9
- package/browser/src/components/ControlBar/SearchMenu/useBookmarkButtonHover.d.ts +0 -2
- package/browser/src/components/ControlBar/SearchMenu/useEnterpriseBookmarkDialogWindow.d.ts +0 -2
- package/browser/src/components/ControlBar/SearchMenu/useIsBookmarked.d.ts +0 -1
- package/browser/src/components/ControlBar/SearchMenu/useIsSelectedViewNavigated.d.ts +0 -5
- package/browser/src/components/ControlBar/SearchMenu/useSelectedAndOpenViewsBroadcastChannel.d.ts +0 -8
- package/browser/src/components/ControlBar/SearchMenu/utils.d.ts +0 -11
- package/client-api-platform/src/api/bookmarks.d.ts +0 -2
- package/client-api-platform/src/api/dock.d.ts +0 -13
- package/common/src/brand/default-brand.d.ts +0 -8
- package/common/src/components/CloseButton/CloseButtonLarge.d.ts +0 -4
- package/common/src/hooks/useAddEditBookmarkDialog.d.ts +0 -7
- package/common/src/hooks/usePreloadedWindow.d.ts +0 -13
- package/common/src/utils/enterprise-dock.d.ts +0 -3
- package/common/src/utils/get-browser-window.d.ts +0 -3
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
type BookmarkIconProps = {
|
|
3
|
-
inputContainerRef: React.MutableRefObject<HTMLDivElement>;
|
|
4
|
-
iconGradientClick?: () => void;
|
|
5
|
-
url?: string;
|
|
6
|
-
isMenuExpanded?: boolean;
|
|
7
|
-
};
|
|
8
|
-
export declare const BookmarkButton: ({ inputContainerRef, url, iconGradientClick, isMenuExpanded }: BookmarkIconProps) => JSX.Element;
|
|
9
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const useIsBookmarked: (url?: string, ...beacons: (any | undefined)[]) => boolean;
|
package/browser/src/components/ControlBar/SearchMenu/useSelectedAndOpenViewsBroadcastChannel.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { MutableRefObject } from 'react';
|
|
2
|
-
import type OpenFin from '@openfin/core';
|
|
3
|
-
import { SearchMenuChannelRequest } from '../../../../../common/src/utils/popup-window';
|
|
4
|
-
export declare const useSelectedAndOpenViewsBroadcastChannel: (additionalCallBack?: (ev: MessageEvent<SearchMenuChannelRequest>) => void) => {
|
|
5
|
-
selectedViews: OpenFin.Identity[];
|
|
6
|
-
openViews: OpenFin.Identity[];
|
|
7
|
-
searchMenuChannel: MutableRefObject<BroadcastChannel>;
|
|
8
|
-
};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import OpenFin from '@openfin/core';
|
|
2
|
-
import { BookmarkNode } from '../../../../../common/src/api/pages/shapes';
|
|
3
|
-
import { AttachedPage, Site } from '../../../../../client-api-platform/src/index';
|
|
4
|
-
export declare const handleAlreadyOpenPage: (attachedPages: AttachedPage[], site?: Site) => boolean;
|
|
5
|
-
export declare const convertSiteData: (result: any) => Site;
|
|
6
|
-
export declare const getRecentlyVisitedSites: () => Promise<Site[]>;
|
|
7
|
-
export declare const formatRecentUrl: (url: string) => string;
|
|
8
|
-
export declare const getSiteSubTitle: (site: Site, urlFormatter: (value: string) => string) => string;
|
|
9
|
-
export declare const trimWithEllipsis: (str: string, characters: number) => string;
|
|
10
|
-
export declare const checkViewUrl: (view: OpenFin.View | null, url: string, setViewNavigatedToUrl: (value: boolean) => void) => Promise<void>;
|
|
11
|
-
export declare const searchBookmark: (url: string, browserIdentity?: OpenFin.Identity) => Promise<BookmarkNode | undefined>;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { ContentMenuEntry } from '@openfin/ui-library';
|
|
2
|
-
import type { DockEntry, WorkspacePanelButton } from '../../../client-api-platform/src/shapes';
|
|
3
|
-
export declare const DockCompanionUpdatesPrefix = "dock-companion-updates";
|
|
4
|
-
export declare const updateDockFavoriteEntries: (favorites: DockEntry[]) => Promise<void>;
|
|
5
|
-
export declare const updateContentMenu: (contentMenu: ContentMenuEntry[]) => Promise<void>;
|
|
6
|
-
export declare const navigateContentMenu: (id: string) => Promise<void>;
|
|
7
|
-
export declare const launchDockEntry: (entry: DockEntry) => Promise<void>;
|
|
8
|
-
export declare const setDockFavoritesOrder: (favorites: DockEntry[]) => Promise<void>;
|
|
9
|
-
export declare const setDockWorkspaceButtonsOrder: (favorites: WorkspacePanelButton[]) => Promise<void>;
|
|
10
|
-
export declare const getDockWorkspacesContextMenu: () => Promise<import("@common/api/action").BaseCustomDropdownItem[]>;
|
|
11
|
-
export declare const handleDockWorkspacesMenuResponse: (payload: any) => Promise<void>;
|
|
12
|
-
export declare const removeFavoriteEntry: (entry: DockEntry) => Promise<void>;
|
|
13
|
-
export declare const addFavoriteEntry: (entry: DockEntry) => Promise<void>;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { MutableRefObject } from 'react';
|
|
2
|
-
import OpenFin from '@openfin/core';
|
|
3
|
-
export declare const useAddEditBookmarkDialog: (bookmarkIconRef: MutableRefObject<HTMLElement | null>, selectedView?: OpenFin.View) => {
|
|
4
|
-
showDialog: () => Promise<void>;
|
|
5
|
-
isDialogShown: boolean;
|
|
6
|
-
isBookmarkUpdatedOrCreated: boolean;
|
|
7
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type OpenFin from '@openfin/core';
|
|
2
|
-
interface PreloadedWindowOptions {
|
|
3
|
-
windowName: string;
|
|
4
|
-
route: string;
|
|
5
|
-
width?: number;
|
|
6
|
-
height?: number;
|
|
7
|
-
windowType?: string;
|
|
8
|
-
shouldPreload: boolean;
|
|
9
|
-
}
|
|
10
|
-
export default function usePreloadedWindow({ windowName, route, width, height, windowType, shouldPreload }: PreloadedWindowOptions & {
|
|
11
|
-
shouldPreload?: boolean;
|
|
12
|
-
}): OpenFin.Window;
|
|
13
|
-
export {};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import OpenFin from '@openfin/core';
|
|
2
|
-
export declare const getBrowserWindow: () => Promise<import("@client-platform/shapes").BrowserWindowModule>;
|
|
3
|
-
export declare const getBrowserWindowWithoutView: (browserIdentity?: OpenFin.Identity) => Promise<import("@client-platform/shapes").BrowserWindowModule>;
|