@openfin/workspace-platform 45.1.0-alpha.70935252 → 45.1.0-alpha.76fdf8b1
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/index.d.ts +1 -1
- package/client-api-platform/src/init/override-callback/view-defaults.d.ts +1 -2
- package/client-api-platform/src/shapes.d.ts +2 -21
- package/common/src/api/theming.d.ts +1 -1
- package/common/src/utils/layout.d.ts +2 -2
- package/externals.report.json +8 -8
- package/index.js +1 -1
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/workspace_platform.zip +0 -0
|
@@ -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.Identity | OpenFin.
|
|
10
|
+
export declare function launchApp({ app, target }: LaunchAppRequest): Promise<void | OpenFin.Identity | OpenFin.Platform | OpenFin.Application | OpenFin.View>;
|
|
11
11
|
export declare const enterpriseAppDirectoryChannelClient: () => Promise<OpenFin.ChannelClient>;
|
|
12
12
|
export declare function getResults(payload: {
|
|
13
13
|
req: SearchSitesRequest;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export * from './shapes';
|
|
2
2
|
export * as Dock from '../../dock3/src/api';
|
|
3
3
|
export * as HomeVpw from '../../home-vpw/src/api';
|
|
4
|
-
export * as
|
|
4
|
+
export * as Storefront from '../../storefront-vpw/src/api';
|
|
5
5
|
export { init } from './init';
|
|
6
6
|
export { getCurrentSync, wrapSync } from './api';
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import type OpenFin from '@openfin/core';
|
|
2
|
-
import type { BrowserCreateViewRequest } from '../../../../client-api-platform/src/shapes';
|
|
3
2
|
type DefaultViewOptions = Partial<OpenFin.MutableViewOptions> & {
|
|
4
3
|
downloadShelf?: OpenFin.ConstWindowOptions['downloadShelf'];
|
|
5
4
|
hotkeys?: OpenFin.ViewOptions['hotkeys'];
|
|
6
5
|
};
|
|
7
6
|
export declare const DEFAULT_VIEW_OPTIONS: DefaultViewOptions;
|
|
8
|
-
export declare function applyViewDefaults(options: Partial<
|
|
7
|
+
export declare function applyViewDefaults(options: Partial<OpenFin.ViewOptions>, initViewOptions?: Partial<OpenFin.ViewOptions>): Promise<any>;
|
|
9
8
|
export {};
|
|
@@ -2497,28 +2497,9 @@ export interface BrowserInitConfig {
|
|
|
2497
2497
|
/** Default options when creating a new page. If `iconUrl`, `unsavedIconUrl`, `panels` or `closeButton` are not defined when creating a page, setting will default to `defaultPageOptions`. */
|
|
2498
2498
|
defaultPageOptions?: Pick<Page, 'iconUrl' | 'unsavedIconUrl' | 'closeButton' | 'panels'>;
|
|
2499
2499
|
/**
|
|
2500
|
-
* The default options when creating a new
|
|
2501
|
-
*
|
|
2502
|
-
* @example
|
|
2503
|
-
* ```ts
|
|
2504
|
-
* import * as WorkspacePlatform from '@openfin/workspace-platform';
|
|
2505
|
-
*
|
|
2506
|
-
* await WorkspacePlatform.init({
|
|
2507
|
-
* browser: {
|
|
2508
|
-
* defaultViewOptions: {
|
|
2509
|
-
* workspacePlatform: {
|
|
2510
|
-
* browserNavigationButtons: {
|
|
2511
|
-
* back: true,
|
|
2512
|
-
* forward: true,
|
|
2513
|
-
* reload: true
|
|
2514
|
-
* }
|
|
2515
|
-
* }
|
|
2516
|
-
* }
|
|
2517
|
-
* }
|
|
2518
|
-
* });
|
|
2519
|
-
* ```
|
|
2500
|
+
* The default options when creating a new browser window. Any option not included in WorkspacePlatform.getCurrentSync().Browser.createView(options) call will default to the value provided in this field.
|
|
2520
2501
|
*/
|
|
2521
|
-
defaultViewOptions?: Partial<
|
|
2502
|
+
defaultViewOptions?: Partial<OpenFin.ViewOptions>;
|
|
2522
2503
|
/**
|
|
2523
2504
|
* The platform title. UI friendly title for the platform in browser.
|
|
2524
2505
|
*/
|
|
@@ -307,7 +307,7 @@ export declare const constructThemePaletteSheet: (themes: GeneratedPalettes, leg
|
|
|
307
307
|
dark: string;
|
|
308
308
|
}) => string;
|
|
309
309
|
export declare const getComputedPlatformTheme: (platformIdentity: OpenFin.Identity) => Promise<{
|
|
310
|
-
theme:
|
|
310
|
+
theme: CustomThemes | GeneratedPalettes;
|
|
311
311
|
defaultScheme: ColorSchemeOptionType;
|
|
312
312
|
themePaletteSheet: string;
|
|
313
313
|
}>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type OpenFin from '@openfin/core';
|
|
2
2
|
import { WindowIdentity } from '../../../common/src/utils/window';
|
|
3
3
|
import type { PagePinnedState } from '../../../common/src/api/pages/shapes';
|
|
4
|
-
import { AttachedPage,
|
|
4
|
+
import { AttachedPage, PageLayout } from '../../../client-api-platform/src/shapes';
|
|
5
5
|
export type LayoutDOMEventType =
|
|
6
6
|
/**
|
|
7
7
|
* Fired when a tab is created in a container. (Emmitted by ??)
|
|
@@ -90,7 +90,7 @@ export declare const generateViewNameAndIdentifierNameIfNotExists: <T extends {
|
|
|
90
90
|
* @param layout The Layout to be cloned
|
|
91
91
|
* @returns A Promise resolving to a copy of the layout with view options converted
|
|
92
92
|
*/
|
|
93
|
-
export declare const cloneLayoutAndConvertViewOptions: (layout: PageLayout, initViewOptions?: Partial<
|
|
93
|
+
export declare const cloneLayoutAndConvertViewOptions: (layout: PageLayout, initViewOptions?: Partial<OpenFin.ViewOptions>) => Promise<PageLayout>;
|
|
94
94
|
export declare const cloneViewComponentWithoutName: (componentState: any) => any;
|
|
95
95
|
/**
|
|
96
96
|
* Deep clones a layout and removes generated view names.
|
package/externals.report.json
CHANGED
|
@@ -21,28 +21,28 @@
|
|
|
21
21
|
"issuer": "common/src/utils/color-linking.ts"
|
|
22
22
|
}
|
|
23
23
|
],
|
|
24
|
-
"
|
|
24
|
+
"lodash.clonedeep": [
|
|
25
25
|
{
|
|
26
26
|
"type": "explicit",
|
|
27
|
-
"version": "
|
|
27
|
+
"version": "4.5.0",
|
|
28
28
|
"packageName": "common/package.json",
|
|
29
|
-
"issuer": "common/src/
|
|
29
|
+
"issuer": "common/src/utils/layout.ts"
|
|
30
30
|
}
|
|
31
31
|
],
|
|
32
|
-
"i18next": [
|
|
32
|
+
"react-i18next": [
|
|
33
33
|
{
|
|
34
34
|
"type": "explicit",
|
|
35
|
-
"version": "
|
|
35
|
+
"version": "15.4.0",
|
|
36
36
|
"packageName": "common/package.json",
|
|
37
37
|
"issuer": "common/src/api/i18next.ts"
|
|
38
38
|
}
|
|
39
39
|
],
|
|
40
|
-
"
|
|
40
|
+
"i18next": [
|
|
41
41
|
{
|
|
42
42
|
"type": "explicit",
|
|
43
|
-
"version": "
|
|
43
|
+
"version": "^23.7.16",
|
|
44
44
|
"packageName": "common/package.json",
|
|
45
|
-
"issuer": "common/src/
|
|
45
|
+
"issuer": "common/src/api/i18next.ts"
|
|
46
46
|
}
|
|
47
47
|
],
|
|
48
48
|
"dexie": [
|