@openfin/workspace 20.3.13 → 20.4.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/app-directory.d.ts +1 -1
- package/client-api-platform/src/shapes.d.ts +4 -14
- package/common/src/api/overrides.d.ts +0 -1
- package/common/src/api/theming.d.ts +1 -1
- package/common/src/components/Indicator/Indicator.constants.d.ts +1 -5
- package/common/src/components/IndicatorContainer/helper.d.ts +2 -2
- package/common/src/utils/indicators/browser.d.ts +1 -4
- package/externals.report.json +80 -0
- package/home.js +1 -1411
- package/home.js.map +1 -1
- package/index.js +1 -1411
- package/index.js.map +1 -1
- package/notifications.js +1 -1411
- package/notifications.js.map +1 -1
- package/package.json +6 -26
- package/store.js +1 -1411
- package/store.js.map +1 -1
- package/home.js.LICENSE.txt +0 -40
- package/index.js.LICENSE.txt +0 -42
- package/notifications.js.LICENSE.txt +0 -40
- package/store.js.LICENSE.txt +0 -40
|
@@ -7,7 +7,7 @@ import type { LaunchAppRequest, SearchSitesRequest, SearchSitesResponse, Site }
|
|
|
7
7
|
* @param app the app directory entry.
|
|
8
8
|
* @param opts launch options.
|
|
9
9
|
*/
|
|
10
|
-
export declare function launchApp({ app, target }: LaunchAppRequest): Promise<void | OpenFin.View | OpenFin.Identity | OpenFin.
|
|
10
|
+
export declare function launchApp({ app, target }: LaunchAppRequest): Promise<void | OpenFin.View | OpenFin.Identity | OpenFin.Platform | OpenFin.Application>;
|
|
11
11
|
export declare const enterpriseAppDirectoryChannelClient: () => Promise<OpenFin.ChannelClient>;
|
|
12
12
|
export declare function getResults(payload: {
|
|
13
13
|
req: SearchSitesRequest;
|
|
@@ -1206,10 +1206,8 @@ export type SiteAction = {
|
|
|
1206
1206
|
id: string;
|
|
1207
1207
|
title: string;
|
|
1208
1208
|
altText?: string;
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
dark: string;
|
|
1212
|
-
};
|
|
1209
|
+
lightIcon?: string;
|
|
1210
|
+
darkIcon?: string;
|
|
1213
1211
|
description?: string;
|
|
1214
1212
|
};
|
|
1215
1213
|
/**
|
|
@@ -1222,12 +1220,7 @@ export type SiteInfo = {
|
|
|
1222
1220
|
cta?: string;
|
|
1223
1221
|
actions?: SiteAction[];
|
|
1224
1222
|
rightSideIcon?: IconType;
|
|
1225
|
-
customData?: unknown;
|
|
1226
1223
|
};
|
|
1227
|
-
/**
|
|
1228
|
-
* @internal
|
|
1229
|
-
*/
|
|
1230
|
-
export type { IconType };
|
|
1231
1224
|
/**
|
|
1232
1225
|
* @internal
|
|
1233
1226
|
*/
|
|
@@ -1240,6 +1233,7 @@ export type AppSite = SiteInfo & {
|
|
|
1240
1233
|
size?: 'standard' | 'large';
|
|
1241
1234
|
};
|
|
1242
1235
|
};
|
|
1236
|
+
customData?: unknown;
|
|
1243
1237
|
};
|
|
1244
1238
|
/**
|
|
1245
1239
|
* @internal
|
|
@@ -2261,7 +2255,7 @@ export interface AnalyticsConfig {
|
|
|
2261
2255
|
*/
|
|
2262
2256
|
sendToOpenFin: boolean;
|
|
2263
2257
|
}
|
|
2264
|
-
export
|
|
2258
|
+
export declare const SUPPORTED_LANGUAGES: string[];
|
|
2265
2259
|
export type Locale = Languages;
|
|
2266
2260
|
/**
|
|
2267
2261
|
* Configures the workspace to self-host using an asar bundle at the
|
|
@@ -2747,10 +2741,6 @@ export interface EnterpriseDockChannelProvider extends Omit<OpenFin.ChannelProvi
|
|
|
2747
2741
|
export type SearchProviderFilter = {
|
|
2748
2742
|
id: string;
|
|
2749
2743
|
title: string;
|
|
2750
|
-
icon?: {
|
|
2751
|
-
light: string;
|
|
2752
|
-
dark: string;
|
|
2753
|
-
};
|
|
2754
2744
|
};
|
|
2755
2745
|
/**
|
|
2756
2746
|
* Enterprise: Shape of provider for Search Tabs.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { DefaultTheme } from 'styled-components';
|
|
2
2
|
import type OpenFin from '@openfin/core';
|
|
3
3
|
import { type ColorSchemeType, type ThemeSet } from '@openfin/ui-library';
|
|
4
|
-
import { Palette } from '@openfin/ui-library';
|
|
4
|
+
import { Palette } from '@openfin/ui-library/dist/theme';
|
|
5
5
|
import { ColorSchemeOptionType } from '../../../client-api-platform/src/shapes';
|
|
6
6
|
export type WorkspaceComponentSetSelectedSchemePayload = {
|
|
7
7
|
newScheme: ColorSchemeOptionType;
|
|
@@ -11,8 +11,4 @@ export interface Indicator {
|
|
|
11
11
|
/**
|
|
12
12
|
* Indicator types are meant to provide additional context to the indicator.
|
|
13
13
|
*/
|
|
14
|
-
export
|
|
15
|
-
ERROR = "error",
|
|
16
|
-
SUCCESS = "success",
|
|
17
|
-
INFO = "info"
|
|
18
|
-
}
|
|
14
|
+
export type IndicatorType = 'error' | 'success' | 'info';
|
|
@@ -19,12 +19,12 @@ export declare const isWindowMaximized: (parentWindow: OpenFin.Window | false) =
|
|
|
19
19
|
* @param parentWindowBounds The bounds of the parent window.
|
|
20
20
|
* @returns the bounds of where the indicator will be placed.
|
|
21
21
|
*/
|
|
22
|
-
export declare function generateBounds(identity: OpenFin.Identity, myWidth: number, myHeight: number, showAt: ShowAtType, parentWindowBounds?: OpenFin.WindowBounds): Promise<{
|
|
22
|
+
export declare function generateBounds(identity: OpenFin.Identity, myWidth: number, myHeight: number, showAt: ShowAtType, isEnterprise: boolean, parentWindowBounds?: OpenFin.WindowBounds): Promise<{
|
|
23
23
|
left: number;
|
|
24
24
|
top: number;
|
|
25
25
|
width: number;
|
|
26
26
|
height: number;
|
|
27
27
|
}>;
|
|
28
|
-
declare function adjustWindowDimensions(identity: OpenFin.Identity, container: HTMLDivElement, showAt: ShowAtType, parentWindowBounds?: OpenFin.WindowBounds): Promise<void>;
|
|
28
|
+
declare function adjustWindowDimensions(identity: OpenFin.Identity, container: HTMLDivElement, showAt: ShowAtType, isEnterprise: boolean, parentWindowBounds?: OpenFin.WindowBounds): Promise<void>;
|
|
29
29
|
declare const debouncedAdjustWindowDimension: typeof adjustWindowDimensions;
|
|
30
30
|
export default debouncedAdjustWindowDimension;
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
import type OpenFin from '@openfin/core';
|
|
2
2
|
import { IndicatorType } from '../../../../common/src/components/Indicator/Indicator.constants';
|
|
3
|
-
export
|
|
4
|
-
Locked = "LockClosedIcon",
|
|
5
|
-
Unlocked = "LockOpen1Icon"
|
|
6
|
-
}
|
|
3
|
+
export type BrowserIndicatorIcon = 'LockClosedIcon' | 'LockOpen1Icon' | 'PageIcon' | 'BlockedIcon';
|
|
7
4
|
export interface ShowBrowserIndicatorPayload {
|
|
8
5
|
type: IndicatorType;
|
|
9
6
|
message: string;
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
{
|
|
2
|
+
"openfin-notifications/dist/client/without-auto-launch": [
|
|
3
|
+
{
|
|
4
|
+
"packageName": "client-api/package.json",
|
|
5
|
+
"issuer": "client-api/src/notifications.ts"
|
|
6
|
+
}
|
|
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
|
+
"title-case": [
|
|
17
|
+
{
|
|
18
|
+
"type": "explicit",
|
|
19
|
+
"version": "3.0.3",
|
|
20
|
+
"packageName": "client-api/package.json",
|
|
21
|
+
"issuer": "client-api/src/internal/providers.ts"
|
|
22
|
+
}
|
|
23
|
+
],
|
|
24
|
+
"lodash.debounce": [
|
|
25
|
+
{
|
|
26
|
+
"type": "root-implicit",
|
|
27
|
+
"version": "^4.0.8",
|
|
28
|
+
"packageName": "common/package.json",
|
|
29
|
+
"issuer": "common/src/utils/layout.ts"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"type": "explicit",
|
|
33
|
+
"version": "^4.0.8",
|
|
34
|
+
"packageName": "client-api-platform/package.json",
|
|
35
|
+
"issuer": "client-api-platform/src/init/cleanup.ts"
|
|
36
|
+
}
|
|
37
|
+
],
|
|
38
|
+
"react-i18next": [
|
|
39
|
+
{
|
|
40
|
+
"type": "root-implicit",
|
|
41
|
+
"version": "^14.0.0",
|
|
42
|
+
"packageName": "common/package.json",
|
|
43
|
+
"issuer": "common/src/api/i18next.ts"
|
|
44
|
+
}
|
|
45
|
+
],
|
|
46
|
+
"i18next": [
|
|
47
|
+
{
|
|
48
|
+
"type": "root-implicit",
|
|
49
|
+
"version": "^23.7.16",
|
|
50
|
+
"packageName": "common/package.json",
|
|
51
|
+
"issuer": "common/src/api/i18next.ts"
|
|
52
|
+
}
|
|
53
|
+
],
|
|
54
|
+
"idb-keyval": [
|
|
55
|
+
{
|
|
56
|
+
"type": "explicit",
|
|
57
|
+
"version": "^6.2.0",
|
|
58
|
+
"packageName": "client-api-platform/package.json",
|
|
59
|
+
"issuer": "client-api-platform/src/api/dock/idb.ts"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"type": "root-implicit",
|
|
63
|
+
"version": "^6.2.0",
|
|
64
|
+
"packageName": "common/package.json",
|
|
65
|
+
"issuer": "common/src/api/pages/idb.ts"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"type": "explicit",
|
|
69
|
+
"version": "^6.2.0",
|
|
70
|
+
"packageName": "client-api-platform/package.json",
|
|
71
|
+
"issuer": "client-api-platform/src/api/workspaces/idb.ts"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"type": "root-implicit",
|
|
75
|
+
"version": "^6.2.0",
|
|
76
|
+
"packageName": "common/package.json",
|
|
77
|
+
"issuer": "common/src/utils/create-and-migrate-ibd-store.ts"
|
|
78
|
+
}
|
|
79
|
+
]
|
|
80
|
+
}
|