@openfin/workspace-platform 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/shapes.d.ts +2 -6
- 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 +58 -0
- package/index.js +1 -1411
- package/index.js.map +1 -1
- package/package.json +6 -28
- package/workspace_platform.zip +0 -0
- package/index.js.LICENSE.txt +0 -40
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type OpenFin from '@openfin/core';
|
|
2
|
-
import { IconProps,
|
|
2
|
+
import { IconProps, Languages } from '@openfin/ui-library';
|
|
3
3
|
import type { AnalyticsEvent, AnalyticsEventInternal } from '../../common/src/utils/usage-register';
|
|
4
4
|
import { BaseCustomDropdownItem, CustomActionSpecifier, CustomButtonConfig } from '../../common/src/api/action';
|
|
5
5
|
import { AddDefaultPagePayload, AttachedPage, BookmarkNode, CopyPagePayload, HandlePagesAndWindowClosePayload, HandlePagesAndWindowCloseResult, HandleSaveModalOnPageClosePayload, Page, PageLayoutsWithSelectedViews, PageWithUpdatableRuntimeAttribs, SaveModalOnPageCloseResult, ShouldPageClosePayload, ShouldPageCloseResult, ViewsPreventingUnloadPayload } from '../../common/src/api/pages/shapes';
|
|
@@ -1896,7 +1896,7 @@ export interface AnalyticsConfig {
|
|
|
1896
1896
|
*/
|
|
1897
1897
|
sendToOpenFin: boolean;
|
|
1898
1898
|
}
|
|
1899
|
-
export
|
|
1899
|
+
export declare const SUPPORTED_LANGUAGES: string[];
|
|
1900
1900
|
export type Locale = Languages;
|
|
1901
1901
|
/**
|
|
1902
1902
|
* Configures the workspace to self-host using an asar bundle at the
|
|
@@ -2272,8 +2272,4 @@ export interface LaunchBookmarkPayload {
|
|
|
2272
2272
|
export type SearchProviderFilter = {
|
|
2273
2273
|
id: string;
|
|
2274
2274
|
title: string;
|
|
2275
|
-
icon?: {
|
|
2276
|
-
light: string;
|
|
2277
|
-
dark: string;
|
|
2278
|
-
};
|
|
2279
2275
|
};
|
|
@@ -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,58 @@
|
|
|
1
|
+
{
|
|
2
|
+
"lodash.debounce": [
|
|
3
|
+
{
|
|
4
|
+
"type": "explicit",
|
|
5
|
+
"version": "^4.0.8",
|
|
6
|
+
"packageName": "client-api-platform/package.json",
|
|
7
|
+
"issuer": "client-api-platform/src/init/cleanup.ts"
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
"type": "root-implicit",
|
|
11
|
+
"version": "^4.0.8",
|
|
12
|
+
"packageName": "common/package.json",
|
|
13
|
+
"issuer": "common/src/utils/layout.ts"
|
|
14
|
+
}
|
|
15
|
+
],
|
|
16
|
+
"react-i18next": [
|
|
17
|
+
{
|
|
18
|
+
"type": "root-implicit",
|
|
19
|
+
"version": "^14.0.0",
|
|
20
|
+
"packageName": "common/package.json",
|
|
21
|
+
"issuer": "common/src/api/i18next.ts"
|
|
22
|
+
}
|
|
23
|
+
],
|
|
24
|
+
"i18next": [
|
|
25
|
+
{
|
|
26
|
+
"type": "root-implicit",
|
|
27
|
+
"version": "^23.7.16",
|
|
28
|
+
"packageName": "common/package.json",
|
|
29
|
+
"issuer": "common/src/api/i18next.ts"
|
|
30
|
+
}
|
|
31
|
+
],
|
|
32
|
+
"idb-keyval": [
|
|
33
|
+
{
|
|
34
|
+
"type": "explicit",
|
|
35
|
+
"version": "^6.2.0",
|
|
36
|
+
"packageName": "client-api-platform/package.json",
|
|
37
|
+
"issuer": "client-api-platform/src/api/dock/idb.ts"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"type": "root-implicit",
|
|
41
|
+
"version": "^6.2.0",
|
|
42
|
+
"packageName": "common/package.json",
|
|
43
|
+
"issuer": "common/src/api/pages/idb.ts"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"type": "explicit",
|
|
47
|
+
"version": "^6.2.0",
|
|
48
|
+
"packageName": "client-api-platform/package.json",
|
|
49
|
+
"issuer": "client-api-platform/src/api/workspaces/idb.ts"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"type": "root-implicit",
|
|
53
|
+
"version": "^6.2.0",
|
|
54
|
+
"packageName": "common/package.json",
|
|
55
|
+
"issuer": "common/src/utils/create-and-migrate-ibd-store.ts"
|
|
56
|
+
}
|
|
57
|
+
]
|
|
58
|
+
}
|