@openfin/workspace-platform 5.3.0 → 5.6.2
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/README.md +31 -4
- package/client-api/src/shapes.d.ts +283 -6
- package/client-api-platform/src/api/app-directory.d.ts +2 -2
- package/client-api-platform/src/api/browser/browser-module.d.ts +4 -2
- package/client-api-platform/src/api/browser/index.d.ts +5 -4
- package/client-api-platform/src/api/context-menu/browser-logo-handler.d.ts +10 -0
- package/client-api-platform/src/api/context-menu/index.d.ts +6 -0
- package/client-api-platform/src/api/pages/helper.d.ts +1 -1
- package/client-api-platform/src/api/pages/index.d.ts +6 -6
- package/client-api-platform/src/api/protocol.d.ts +8 -5
- package/client-api-platform/src/api/storage.d.ts +1 -1
- package/client-api-platform/src/api/theming.d.ts +5 -0
- package/client-api-platform/src/api/workspace-module.d.ts +2 -2
- package/client-api-platform/src/index.d.ts +36 -1
- package/client-api-platform/src/init/custom-actions.d.ts +3 -0
- package/client-api-platform/src/init/override-callback.d.ts +3 -2
- package/client-api-platform/src/init/theming.d.ts +9 -0
- package/client-api-platform/src/init/utils.d.ts +8 -2
- package/client-api-platform/src/shapes.d.ts +667 -20
- package/common/src/api/browser-protocol.d.ts +14 -0
- package/common/src/api/pages/attached.d.ts +0 -1
- package/common/src/api/pages/idb.d.ts +2 -2
- package/common/src/api/pages/index.d.ts +7 -1
- package/common/src/api/pages/legacy.d.ts +2 -2
- package/common/src/api/pages/shapes.d.ts +9 -0
- package/common/src/api/protocol.d.ts +2 -1
- package/common/src/api/theming.d.ts +62 -0
- package/common/src/utils/context-menu.d.ts +12 -0
- package/common/src/utils/defer-auto-show.d.ts +18 -0
- package/common/src/utils/env.d.ts +6 -7
- package/common/src/utils/global-context-menu.d.ts +2 -0
- package/common/src/utils/landing-page.d.ts +11 -0
- package/common/src/utils/layout.d.ts +2 -1
- package/common/src/utils/merge-deep.d.ts +6 -0
- package/common/src/utils/strings.d.ts +0 -2
- package/common/src/utils/theming.d.ts +57 -0
- package/common/src/utils/window.d.ts +5 -0
- package/index.js +1 -1
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/search-api/src/client/internal.d.ts +1 -1
- package/search-api/src/shapes.d.ts +45 -2
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
/// <reference types="openfin-adapter/fin" />
|
|
2
|
-
import type { BrowserInitConfig } from '
|
|
3
|
-
|
|
2
|
+
import type { BrowserInitConfig } from '../../../client-api-platform/src/shapes';
|
|
3
|
+
import { WorkspacePlatformProvider } from '..';
|
|
4
|
+
export declare const getOverrideCallback: (initOptions: BrowserInitConfig) => OpenFin.OverrideCallback<WorkspacePlatformProvider>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { CustomThemes } from '../shapes';
|
|
2
|
+
export declare const getThemes: () => CustomThemes;
|
|
3
|
+
/**
|
|
4
|
+
* initTheming()
|
|
5
|
+
* Accepts an array of CustomThemes objects and stores it
|
|
6
|
+
* @param customPaletteOptions - optional - array of custom color pallettes
|
|
7
|
+
* @returns array of custom theme objects
|
|
8
|
+
*/
|
|
9
|
+
export default function initTheming(customPalettes: CustomThemes): void;
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
/// <reference types="openfin-adapter/fin" />
|
|
2
|
-
|
|
2
|
+
import { Identity } from 'openfin-adapter';
|
|
3
|
+
import type { CustomThemeOptions } from '../../../common/src/api/theming';
|
|
4
|
+
import { BrowserCreateWindowRequest } from '..';
|
|
5
|
+
export declare function overrideViewOptions(options: Partial<OpenFin.ViewOptions>, initOptions: OpenFin.ViewOptions): any;
|
|
6
|
+
export declare function preserveInteropIfManifestConflict(opts: Partial<OpenFin.ViewOptions>, fetchManifest: ({ manifestUrl: string }: {
|
|
7
|
+
manifestUrl: any;
|
|
8
|
+
}, callerIdentity: Identity) => any, callerIdentity: Identity): Promise<any>;
|
|
3
9
|
export declare const filterSnapshotWindows: (win: OpenFin.WindowOptions) => boolean;
|
|
4
10
|
/**
|
|
5
11
|
* fitToMonitor()
|
|
@@ -35,5 +41,5 @@ export declare const initWorkspacePlatformOptions: (options: LegacyWindowOptions
|
|
|
35
41
|
* @param options - options used to handle layout settings
|
|
36
42
|
* @returns processed or unprocesseed options
|
|
37
43
|
*/
|
|
38
|
-
export declare const applyBrowserDefaults: (options: OpenFin.PlatformWindowCreationOptions) => OpenFin.PlatformWindowCreationOptions;
|
|
44
|
+
export declare const applyBrowserDefaults: (options: OpenFin.PlatformWindowCreationOptions, initOptions: BrowserCreateWindowRequest, theme: CustomThemeOptions) => OpenFin.PlatformWindowCreationOptions;
|
|
39
45
|
export {};
|