@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.
Files changed (59) hide show
  1. package/browser/src/components/PanelContainer/BookmarksPanel/BookmarkItem.d.ts +2 -2
  2. package/browser/src/components/PanelContainer/BookmarksPanel/BookmarksResults.d.ts +1 -1
  3. package/browser/src/components/PanelContainer/BookmarksPanel/useBookmarkNavigation.d.ts +8 -0
  4. package/browser/src/components/PanelContainer/BookmarksPanel/useBookmarksSearch.d.ts +1 -1
  5. package/browser/src/components/PanelContainer/BookmarksPanel/utils.d.ts +7 -0
  6. package/client-api-platform/src/index.d.ts +1 -1
  7. package/client-api-platform/src/init/index.d.ts +2 -4
  8. package/client-api-platform/src/shapes.d.ts +3 -172
  9. package/common/src/api/overrides.d.ts +2 -0
  10. package/common/src/api/protocol/browser.d.ts +1 -12
  11. package/common/src/api/protocol/workspace-platform.d.ts +1 -12
  12. package/common/src/api/theming.d.ts +4 -31
  13. package/common/src/api/workspace-events.d.ts +1 -1
  14. package/common/src/components/BaseButton/BaseButton.d.ts +4 -2
  15. package/common/src/utils/bookmark-item-context-menu.d.ts +0 -5
  16. package/common/src/utils/bookmarks.d.ts +3 -7
  17. package/common/src/utils/menu-window-provider.d.ts +0 -1
  18. package/common/src/utils/modal-bounds.d.ts +0 -7
  19. package/common/src/utils/popup-window.d.ts +7 -4
  20. package/common/src/utils/route.d.ts +1 -2
  21. package/common/src/utils/router/base.d.ts +1 -1
  22. package/common/src/utils/shared-emitter.d.ts +0 -5
  23. package/common/src/utils/usage-register.d.ts +0 -1
  24. package/common/src/utils/window.d.ts +1 -2
  25. package/home.js +4 -4
  26. package/home.js.map +1 -1
  27. package/index.js +4 -4
  28. package/index.js.map +1 -1
  29. package/notifications.js +99 -99
  30. package/notifications.js.map +1 -1
  31. package/package.json +2 -2
  32. package/search-api/src/client/internal.d.ts +4 -4
  33. package/search-api/src/client/remote/channel-client-factory.d.ts +1 -2
  34. package/search-api/src/client/remote/channel-client.d.ts +4 -4
  35. package/search-api/src/fin/index.d.ts +3 -2
  36. package/search-api/src/fin/shapes.d.ts +23 -0
  37. package/search-api/src/index.d.ts +1 -1
  38. package/search-api/src/internal-shapes.d.ts +1 -1
  39. package/search-api/src/provider/internal.d.ts +1 -3
  40. package/search-api/src/provider/remote/channel-factory.d.ts +1 -2
  41. package/search-api/src/provider/remote/channel.d.ts +4 -4
  42. package/search-api/src/shapes.d.ts +2 -17
  43. package/store.js +37 -37
  44. package/store.js.map +1 -1
  45. package/browser/src/components/ControlBar/SearchMenu/BookmarkButton.d.ts +0 -9
  46. package/browser/src/components/ControlBar/SearchMenu/useBookmarkButtonHover.d.ts +0 -2
  47. package/browser/src/components/ControlBar/SearchMenu/useEnterpriseBookmarkDialogWindow.d.ts +0 -2
  48. package/browser/src/components/ControlBar/SearchMenu/useIsBookmarked.d.ts +0 -1
  49. package/browser/src/components/ControlBar/SearchMenu/useIsSelectedViewNavigated.d.ts +0 -5
  50. package/browser/src/components/ControlBar/SearchMenu/useSelectedAndOpenViewsBroadcastChannel.d.ts +0 -8
  51. package/browser/src/components/ControlBar/SearchMenu/utils.d.ts +0 -11
  52. package/client-api-platform/src/api/bookmarks.d.ts +0 -2
  53. package/client-api-platform/src/api/dock.d.ts +0 -13
  54. package/common/src/brand/default-brand.d.ts +0 -8
  55. package/common/src/components/CloseButton/CloseButtonLarge.d.ts +0 -4
  56. package/common/src/hooks/useAddEditBookmarkDialog.d.ts +0 -7
  57. package/common/src/hooks/usePreloadedWindow.d.ts +0 -13
  58. package/common/src/utils/enterprise-dock.d.ts +0 -3
  59. 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,2 +0,0 @@
1
- import { MutableRefObject } from 'react';
2
- export declare const useBookmarkButtonHover: (inputContainerRef: MutableRefObject<HTMLElement | null>) => boolean;
@@ -1,2 +0,0 @@
1
- import OpenFin from '@openfin/core';
2
- export declare const useEnterpriseBookmarkDialogWindow: () => OpenFin.Window | null;
@@ -1 +0,0 @@
1
- export declare const useIsBookmarked: (url?: string, ...beacons: (any | undefined)[]) => boolean;
@@ -1,5 +0,0 @@
1
- import OpenFin from '@openfin/core';
2
- export declare const useIsSelectedViewNavigated: (url: string) => {
3
- isViewNavigatedToUrl: boolean;
4
- selectedView: OpenFin.View;
5
- };
@@ -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,2 +0,0 @@
1
- import { LaunchBookmarkPayload } from '../../../client-api-platform/src/shapes';
2
- export declare const launchBookmark: (payload: LaunchBookmarkPayload) => Promise<void>;
@@ -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,8 +0,0 @@
1
- export declare const defaultBrandIcons: {
2
- light: {
3
- symbol: string;
4
- };
5
- dark: {
6
- symbol: string;
7
- };
8
- };
@@ -1,4 +0,0 @@
1
- /// <reference types="react" />
2
- import { BaseButtonProps } from '../BaseButton/BaseButton';
3
- declare const CloseButtonLarge: (props: Omit<BaseButtonProps, 'children'>) => JSX.Element;
4
- export default CloseButtonLarge;
@@ -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
- export declare const DOCK_COMPANION_HEIGHT = 40;
2
- export declare const DOCK_COMPANION_WIDTH = 728;
3
- export declare const DOCK_COMPANION_TOP = 150;
@@ -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>;