@openfin/workspace 23.0.0 → 23.0.1
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/client-api-platform/src/api/controllers/theme-storage-controller-store.d.ts +1 -1
- package/client-api-platform/src/api/dock.d.ts +1 -1
- package/client-api-platform/src/init/override-callback/view-components.d.ts +1 -1
- package/client-api-platform/src/init/theming.d.ts +1 -1
- package/client-api-platform/src/shapes.d.ts +11 -9
- package/common/src/api/theming.d.ts +11 -11
- package/common/src/utils/find-in-page/findInPageChannel.d.ts +35 -0
- package/common/src/utils/find-in-page/showFindInPageHandler.d.ts +2 -0
- package/common/src/utils/global-context-menu.d.ts +7 -0
- package/common/src/utils/route.d.ts +3 -1
- package/common/src/utils/window.d.ts +2 -1
- package/externals.report.json +27 -78
- package/home.js +1 -1485
- package/home.js.map +1 -1
- package/index.js +1 -1485
- package/index.js.map +1 -1
- package/notifications.js +1 -1485
- package/notifications.js.map +1 -1
- package/package.json +2 -9
- package/store.js +1 -1485
- package/store.js.map +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { GeneratedPalettes } from '../../../../common/src/api/theming';
|
|
2
2
|
import { ThemeStorageController } from '../../../../client-api-platform/src/api/controllers/theme-storage-controller';
|
|
3
3
|
import { CustomThemes } from '../../../../client-api-platform/src/shapes';
|
|
4
|
-
export declare const initialiseStoragePalettes: (customThemes: CustomThemes | undefined, isWindows: boolean) =>
|
|
4
|
+
export declare const initialiseStoragePalettes: (customThemes: CustomThemes | undefined, isWindows: boolean) => GeneratedPalettes;
|
|
5
5
|
export declare const getThemeStorageController: () => ThemeStorageController;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ContentMenuEntry } from '@openfin/ui-library';
|
|
1
|
+
import type { ContentMenuEntry } from '@openfin/ui-library';
|
|
2
2
|
import { DockCompanionButton, DockEntry, LaunchDockEntryPayload, Collection } from '../../../client-api-platform/src/shapes';
|
|
3
3
|
export declare const DockCompanionUpdatesPrefix = "dock-companion-updates";
|
|
4
4
|
export declare const refreshDockBookmarksPanel: () => Promise<void>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { OpenFin } from '@openfin/core';
|
|
2
|
-
export declare const createNonLayoutViewComponents: (overrideOptions: OpenFin.PlatformWindowCreationOptions) => Promise<void>;
|
|
2
|
+
export declare const createNonLayoutViewComponents: (isEnterprise: boolean, overrideOptions: OpenFin.PlatformWindowCreationOptions) => Promise<void[]>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { GeneratedPalettes } from '../../../common/src/api/theming';
|
|
2
2
|
import { CustomThemes } from '../shapes';
|
|
3
|
-
export declare const getThemes: () =>
|
|
3
|
+
export declare const getThemes: () => GeneratedPalettes;
|
|
4
4
|
/**
|
|
5
5
|
* initTheming()
|
|
6
6
|
* @param customThemes array of theme objects
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import type OpenFin from '@openfin/core';
|
|
2
|
-
import { IconProps, IconType, Languages } from '@openfin/ui-library';
|
|
3
|
-
import { ModalResponseEvent } from '../../common/src/utils/menu-window-provider';
|
|
2
|
+
import type { IconProps, IconType, Languages } from '@openfin/ui-library';
|
|
3
|
+
import type { ModalResponseEvent } from '../../common/src/utils/menu-window-provider';
|
|
4
4
|
import type { AnalyticsEvent, AnalyticsEventInternal } from '../../common/src/utils/usage-register';
|
|
5
|
-
import { BaseCustomDropdownItem, CustomActionSpecifier, CustomButtonConfig } from '../../common/src/api/action';
|
|
6
|
-
import { Resource } from '../../common/src/api/i18next';
|
|
7
|
-
import { TrackedSite } from '../../common/src/api/pages/idb';
|
|
8
|
-
import { AddDefaultPagePayload, AttachedPage, BookmarkNode, CopyPagePayload, CreateBookmarkNodeRequest, HandlePagesAndWindowClosePayload, HandlePagesAndWindowCloseResult, HandleSaveModalOnPageClosePayload, Page, PageLayoutsWithSelectedViews, PageWithUpdatableRuntimeAttribs, SaveModalOnPageCloseResult, SetActivePageForWindowPayload, ShouldPageClosePayload, ShouldPageCloseResult, UpdateBookmarkNodeRequest, ViewsPreventingUnloadPayload } from '../../common/src/api/pages/shapes';
|
|
9
|
-
import { NotificationsCustomManifestOptions } from '../../common/src/api/shapes/notifications';
|
|
5
|
+
import type { BaseCustomDropdownItem, CustomActionSpecifier, CustomButtonConfig } from '../../common/src/api/action';
|
|
6
|
+
import type { Resource } from '../../common/src/api/i18next';
|
|
7
|
+
import type { TrackedSite } from '../../common/src/api/pages/idb';
|
|
8
|
+
import type { AddDefaultPagePayload, AttachedPage, BookmarkNode, CopyPagePayload, CreateBookmarkNodeRequest, HandlePagesAndWindowClosePayload, HandlePagesAndWindowCloseResult, HandleSaveModalOnPageClosePayload, Page, PageLayoutsWithSelectedViews, PageWithUpdatableRuntimeAttribs, SaveModalOnPageCloseResult, SetActivePageForWindowPayload, ShouldPageClosePayload, ShouldPageCloseResult, UpdateBookmarkNodeRequest, ViewsPreventingUnloadPayload } from '../../common/src/api/pages/shapes';
|
|
9
|
+
import type { NotificationsCustomManifestOptions } from '../../common/src/api/shapes/notifications';
|
|
10
10
|
import type { CustomThemes, GeneratedPalettes } from '../../common/src/api/theming';
|
|
11
|
-
import { App, DockProviderConfigWithIdentity, StoreButtonConfig } from '../../client-api/src/shapes';
|
|
11
|
+
import type { App, DockProviderConfigWithIdentity, StoreButtonConfig } from '../../client-api/src/shapes';
|
|
12
12
|
import type { WorkflowIntegration } from '../../client-api/src/shapes/integrations';
|
|
13
|
-
import { DockCompanionButton } from '../../dock3/src/shapes/index';
|
|
13
|
+
import type { DockCompanionButton } from '../../dock3/src/shapes/index';
|
|
14
14
|
import type { AddPagesOptions, BasePageOpts, PageOpts } from '../../enterprise-api/src/shapes';
|
|
15
15
|
export * from '../../dock3/src/shapes';
|
|
16
16
|
export { AppManifestType } from '../../client-api/src/shapes';
|
|
@@ -124,6 +124,7 @@ export declare enum GlobalContextMenuOptionType {
|
|
|
124
124
|
Downloads = "Downloads",
|
|
125
125
|
OpenStorefront = "OpenStorefront",
|
|
126
126
|
ManageDesktopSignals = "ManageDesktopSignals",
|
|
127
|
+
FindInPage = "FindInPage",
|
|
127
128
|
Appearance = "Appearance",
|
|
128
129
|
Quit = "Quit",
|
|
129
130
|
Custom = "Custom"
|
|
@@ -177,6 +178,7 @@ export declare enum EnterpriseMainContextMenuOptionType {
|
|
|
177
178
|
ShowHideTabs = "ShowHideTabs",
|
|
178
179
|
AddToChanel = "AddToChannel",
|
|
179
180
|
ManageDesktopSignals = "ManageDesktopSignals",// Enterprise
|
|
181
|
+
FindInPage = "FindInPage",// Enterprise
|
|
180
182
|
Print = "Print",
|
|
181
183
|
Pin = "Pin"
|
|
182
184
|
}
|
|
@@ -1,8 +1,13 @@
|
|
|
1
1
|
import type { DefaultTheme } from 'styled-components';
|
|
2
2
|
import type OpenFin from '@openfin/core';
|
|
3
|
-
import {
|
|
3
|
+
import type { ColorSchemeType, ThemeSet } from '@openfin/ui-library';
|
|
4
4
|
import { ColorSchemeOptionType } from '../../../client-api-platform/src/shapes';
|
|
5
5
|
import type { generateTheme } from '@openfin/theme-engine';
|
|
6
|
+
export declare const ColorScheme: {
|
|
7
|
+
light: string;
|
|
8
|
+
dark: string;
|
|
9
|
+
system: string;
|
|
10
|
+
};
|
|
6
11
|
export type WorkspaceComponentSetSelectedSchemePayload = {
|
|
7
12
|
newScheme: ColorSchemeOptionType;
|
|
8
13
|
identity: OpenFin.Identity;
|
|
@@ -299,16 +304,11 @@ export declare const OpenFinDarkTheme: {
|
|
|
299
304
|
};
|
|
300
305
|
export declare const DefaultOpenFinTheme: CustomThemes;
|
|
301
306
|
export declare const getComputedPaletteSets: (customTheme: CustomThemeOptions | CustomThemeOptionsWithScheme) => WorkspaceThemeSet;
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
* @param storedScheme sets the default scheme if provided
|
|
307
|
-
* @returns array of {@link ComputedThemes | computed themes}
|
|
308
|
-
*/
|
|
309
|
-
export declare const computeThemes: (customThemes: CustomThemes | GeneratedPalettes, storedScheme?: ColorSchemeOptionType) => ComputedThemes;
|
|
310
|
-
export declare const getComputedPlatformTheme: (platformIdentity: OpenFin.Identity) => Promise<ComputedTheme>;
|
|
307
|
+
export declare const getComputedPlatformTheme: (platformIdentity: OpenFin.Identity) => Promise<{
|
|
308
|
+
theme: GeneratedPalettes | CustomThemes;
|
|
309
|
+
defaultScheme: ColorSchemeOptionType;
|
|
310
|
+
}>;
|
|
311
311
|
export declare const setSelectedScheme: (ctx: ColorSchemeOptionType) => Promise<void>;
|
|
312
312
|
export declare const getComputedScheme: (identity?: OpenFin.Identity) => Promise<Exclude<ColorSchemeType, "system">>;
|
|
313
|
-
export declare const getComputedBackgroundColor: (
|
|
313
|
+
export declare const getComputedBackgroundColor: () => Promise<string>;
|
|
314
314
|
export {};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export type FindInPageChannelMessagePayload = {
|
|
2
|
+
type: 'close';
|
|
3
|
+
} | {
|
|
4
|
+
type: 'find-text-changed';
|
|
5
|
+
value: string;
|
|
6
|
+
} | {
|
|
7
|
+
type: 'focus-input';
|
|
8
|
+
} | {
|
|
9
|
+
type: 'next-result';
|
|
10
|
+
} | {
|
|
11
|
+
type: 'previous-result';
|
|
12
|
+
} | {
|
|
13
|
+
type: 'show';
|
|
14
|
+
} | {
|
|
15
|
+
type: 'update-state';
|
|
16
|
+
currentResultIndex?: number | null;
|
|
17
|
+
totalResults?: number | null;
|
|
18
|
+
value?: string | null;
|
|
19
|
+
} | {
|
|
20
|
+
type: 'view-ready';
|
|
21
|
+
} | {
|
|
22
|
+
type: 'window-ready';
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* Closes the find in page channel
|
|
26
|
+
*/
|
|
27
|
+
export declare const closeFindInPageChannel: (channel: BroadcastChannel) => void;
|
|
28
|
+
/**
|
|
29
|
+
* Creates a new find in page channel
|
|
30
|
+
*/
|
|
31
|
+
export declare const createFindInPageChannel: (windowName?: string) => Promise<BroadcastChannel>;
|
|
32
|
+
/**
|
|
33
|
+
* Sends a message via the find in page channel
|
|
34
|
+
*/
|
|
35
|
+
export declare const sendFindInPageMessage: (channel: BroadcastChannel, message: FindInPageChannelMessagePayload) => void;
|
|
@@ -74,6 +74,13 @@ export declare const manageDesktopSignals: () => {
|
|
|
74
74
|
type: WP.GlobalContextMenuOptionType;
|
|
75
75
|
};
|
|
76
76
|
};
|
|
77
|
+
export declare const findInPage: () => {
|
|
78
|
+
type: MenuItemType;
|
|
79
|
+
label: string;
|
|
80
|
+
data: {
|
|
81
|
+
type: WP.GlobalContextMenuOptionType;
|
|
82
|
+
};
|
|
83
|
+
};
|
|
77
84
|
export declare const renameWorkspace: () => {
|
|
78
85
|
type: MenuItemType;
|
|
79
86
|
label: string;
|
|
@@ -33,7 +33,8 @@ declare enum BrowserRoute {
|
|
|
33
33
|
EnterpriseDock = "/dock/",
|
|
34
34
|
ZoomControlsDialog = "/zoom-controls-dialog/",
|
|
35
35
|
DesktopSignalsModal = "/popup-menu/desktop-signals-modal/",
|
|
36
|
-
IntentsResolverModal = "/popup-menu/intents-resolver-modal/"
|
|
36
|
+
IntentsResolverModal = "/popup-menu/intents-resolver-modal/",
|
|
37
|
+
FindInPageModal = "/find-in-page-modal/"
|
|
37
38
|
}
|
|
38
39
|
declare const PageRoute: {
|
|
39
40
|
Browser: BrowserRoute.Browser;
|
|
@@ -55,6 +56,7 @@ declare const PageRoute: {
|
|
|
55
56
|
ZoomControlsDialog: BrowserRoute.ZoomControlsDialog;
|
|
56
57
|
DesktopSignalsModal: BrowserRoute.DesktopSignalsModal;
|
|
57
58
|
IntentsResolverModal: BrowserRoute.IntentsResolverModal;
|
|
59
|
+
FindInPageModal: BrowserRoute.FindInPageModal;
|
|
58
60
|
Home: WorkspaceRoute.Home;
|
|
59
61
|
HomeSearch: WorkspaceRoute.HomeSearch;
|
|
60
62
|
HomePagesRename: WorkspaceRoute.HomePagesRename;
|
|
@@ -22,7 +22,8 @@ export declare enum WindowName {
|
|
|
22
22
|
ZoomControlsDialog = "here-zoom-controls-dialog",
|
|
23
23
|
AboutPageWindow = "here-about-page",
|
|
24
24
|
DesktopSignalsModal = "here-desktop-signals-modal",
|
|
25
|
-
IntentsResolverModal = "here-intents-resolver-modal"
|
|
25
|
+
IntentsResolverModal = "here-intents-resolver-modal",
|
|
26
|
+
FindInPageViewPrefix = "here-find-in-page-view-"
|
|
26
27
|
}
|
|
27
28
|
export interface WindowIdentity {
|
|
28
29
|
uuid: ApplicationUUID | string;
|
package/externals.report.json
CHANGED
|
@@ -5,14 +5,6 @@
|
|
|
5
5
|
"issuer": "client-api/src/notifications.ts"
|
|
6
6
|
}
|
|
7
7
|
],
|
|
8
|
-
"@openfin/microsoft365": [
|
|
9
|
-
{
|
|
10
|
-
"type": "explicit",
|
|
11
|
-
"version": "^1.0.1",
|
|
12
|
-
"packageName": "client-api/package.json",
|
|
13
|
-
"issuer": "client-api/src/integrations/microsoft.ts"
|
|
14
|
-
}
|
|
15
|
-
],
|
|
16
8
|
"title-case": [
|
|
17
9
|
{
|
|
18
10
|
"type": "explicit",
|
|
@@ -27,55 +19,12 @@
|
|
|
27
19
|
"issuer": "common/src/utils/color-linking.ts"
|
|
28
20
|
}
|
|
29
21
|
],
|
|
30
|
-
"@
|
|
31
|
-
{
|
|
32
|
-
"type": "explicit-peer",
|
|
33
|
-
"version": ">=1.3.2 <2.0.0",
|
|
34
|
-
"rootVersion": "^1.3.2",
|
|
35
|
-
"packageName": "packages/ui-library/package.json",
|
|
36
|
-
"issuer": "packages/ui-library/dist/index.js"
|
|
37
|
-
}
|
|
38
|
-
],
|
|
39
|
-
"framer-motion": [
|
|
40
|
-
{
|
|
41
|
-
"type": "explicit-peer",
|
|
42
|
-
"version": ">=11.13.1 <12.0.0",
|
|
43
|
-
"rootVersion": "11.13.1",
|
|
44
|
-
"packageName": "packages/ui-library/package.json",
|
|
45
|
-
"issuer": "packages/ui-library/dist/index.js"
|
|
46
|
-
}
|
|
47
|
-
],
|
|
48
|
-
"lodash": [
|
|
49
|
-
{
|
|
50
|
-
"packageName": "packages/ui-library/package.json",
|
|
51
|
-
"issuer": "packages/ui-library/dist/index.js"
|
|
52
|
-
}
|
|
53
|
-
],
|
|
54
|
-
"react": [
|
|
55
|
-
{
|
|
56
|
-
"type": "explicit-peer",
|
|
57
|
-
"version": ">=18.3.1 <19.0.0",
|
|
58
|
-
"rootVersion": "18.3.1",
|
|
59
|
-
"packageName": "packages/ui-library/package.json",
|
|
60
|
-
"issuer": "packages/ui-library/dist/index.js"
|
|
61
|
-
}
|
|
62
|
-
],
|
|
63
|
-
"react-calendar": [
|
|
64
|
-
{
|
|
65
|
-
"type": "explicit-peer",
|
|
66
|
-
"version": ">=5.1.0 <6.0.0",
|
|
67
|
-
"rootVersion": "^5.1.0",
|
|
68
|
-
"packageName": "packages/ui-library/package.json",
|
|
69
|
-
"issuer": "packages/ui-library/dist/index.js"
|
|
70
|
-
}
|
|
71
|
-
],
|
|
72
|
-
"styled-components": [
|
|
22
|
+
"@openfin/microsoft365": [
|
|
73
23
|
{
|
|
74
|
-
"type": "explicit
|
|
75
|
-
"version": "
|
|
76
|
-
"
|
|
77
|
-
"
|
|
78
|
-
"issuer": "packages/ui-library/dist/index.js"
|
|
24
|
+
"type": "explicit",
|
|
25
|
+
"version": "^1.0.1",
|
|
26
|
+
"packageName": "client-api/package.json",
|
|
27
|
+
"issuer": "client-api/src/integrations/microsoft.ts"
|
|
79
28
|
}
|
|
80
29
|
],
|
|
81
30
|
"lodash.debounce": [
|
|
@@ -92,7 +41,29 @@
|
|
|
92
41
|
"issuer": "common/src/utils/layout.ts"
|
|
93
42
|
}
|
|
94
43
|
],
|
|
44
|
+
"react-i18next": [
|
|
45
|
+
{
|
|
46
|
+
"type": "root-implicit",
|
|
47
|
+
"version": "15.4.0",
|
|
48
|
+
"packageName": "common/package.json",
|
|
49
|
+
"issuer": "common/src/api/i18next.ts"
|
|
50
|
+
}
|
|
51
|
+
],
|
|
52
|
+
"i18next": [
|
|
53
|
+
{
|
|
54
|
+
"type": "root-implicit",
|
|
55
|
+
"version": "^23.7.16",
|
|
56
|
+
"packageName": "common/package.json",
|
|
57
|
+
"issuer": "common/src/api/i18next.ts"
|
|
58
|
+
}
|
|
59
|
+
],
|
|
95
60
|
"dexie": [
|
|
61
|
+
{
|
|
62
|
+
"type": "root-implicit",
|
|
63
|
+
"version": "^4.0.11",
|
|
64
|
+
"packageName": "common/package.json",
|
|
65
|
+
"issuer": "common/src/api/pages/idb.ts"
|
|
66
|
+
},
|
|
96
67
|
{
|
|
97
68
|
"type": "root-implicit",
|
|
98
69
|
"version": "^4.0.11",
|
|
@@ -110,28 +81,6 @@
|
|
|
110
81
|
"version": "^4.0.11",
|
|
111
82
|
"packageName": "common/package.json",
|
|
112
83
|
"issuer": "common/src/utils/create-and-migrate-ibd-store.ts"
|
|
113
|
-
},
|
|
114
|
-
{
|
|
115
|
-
"type": "root-implicit",
|
|
116
|
-
"version": "^4.0.11",
|
|
117
|
-
"packageName": "common/package.json",
|
|
118
|
-
"issuer": "common/src/api/pages/idb.ts"
|
|
119
|
-
}
|
|
120
|
-
],
|
|
121
|
-
"react-i18next": [
|
|
122
|
-
{
|
|
123
|
-
"type": "root-implicit",
|
|
124
|
-
"version": "15.4.0",
|
|
125
|
-
"packageName": "common/package.json",
|
|
126
|
-
"issuer": "common/src/api/i18next.ts"
|
|
127
|
-
}
|
|
128
|
-
],
|
|
129
|
-
"i18next": [
|
|
130
|
-
{
|
|
131
|
-
"type": "root-implicit",
|
|
132
|
-
"version": "^23.7.16",
|
|
133
|
-
"packageName": "common/package.json",
|
|
134
|
-
"issuer": "common/src/api/i18next.ts"
|
|
135
84
|
}
|
|
136
85
|
]
|
|
137
86
|
}
|