@openfin/workspace 17.4.6 → 17.4.8
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/init/override-callback/interop-override.d.ts +2 -1
- package/client-api-platform/src/shapes.d.ts +1 -1
- package/common/src/api/pages/helper.d.ts +6 -5
- package/common/src/api/pages/shapes.d.ts +3 -0
- package/common/src/api/theming.d.ts +1 -1
- package/home.js +1 -1
- package/home.js.map +1 -1
- package/index.js +1 -1
- package/index.js.map +1 -1
- package/notifications.js +1 -1
- package/notifications.js.map +1 -1
- package/package.json +1 -1
- package/store.js +1 -1
- package/store.js.map +1 -1
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
import type OpenFin from '@openfin/core';
|
|
2
|
-
export declare const
|
|
2
|
+
export declare const getConstructorOverride: () => OpenFin.ConstructorOverride<OpenFin.InteropBroker>;
|
|
3
|
+
export declare const getInteropOverrideCallback: (overrideCallback?: OpenFin.OverrideCallback<OpenFin.InteropBroker, OpenFin.InteropBroker> | OpenFin.ConstructorOverride<OpenFin.InteropBroker>[]) => OpenFin.OverrideCallback<OpenFin.InteropBroker, OpenFin.InteropBroker> | OpenFin.ConstructorOverride<OpenFin.InteropBroker>[];
|
|
@@ -1891,7 +1891,7 @@ export interface WorkspacePlatformInitConfig {
|
|
|
1891
1891
|
* Override workspace platform interop behavior
|
|
1892
1892
|
* https://developer.openfin.co/docs/javascript/stable/classes/OpenFin.InteropBroker.html
|
|
1893
1893
|
*/
|
|
1894
|
-
interopOverride?: OpenFin.OverrideCallback<OpenFin.InteropBroker, OpenFin.InteropBroker
|
|
1894
|
+
interopOverride?: OpenFin.OverrideCallback<OpenFin.InteropBroker, OpenFin.InteropBroker> | OpenFin.ConstructorOverride<OpenFin.InteropBroker>[];
|
|
1895
1895
|
/**
|
|
1896
1896
|
* Config for Workspace Platform analytics
|
|
1897
1897
|
*/
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import type OpenFin from '@openfin/core';
|
|
2
|
-
import
|
|
2
|
+
import { AttachedPageInternal } from '../../../../common/src/api/pages/shapes';
|
|
3
|
+
import type { AttachedPage } from '../../../../client-api-platform/src/shapes';
|
|
3
4
|
export interface PagesLayoutSnapshot {
|
|
4
5
|
layouts: {
|
|
5
|
-
[
|
|
6
|
+
[layoutContainerKey: string]: OpenFin.LayoutOptions;
|
|
6
7
|
};
|
|
7
|
-
pages:
|
|
8
|
+
pages: AttachedPageInternal[];
|
|
8
9
|
}
|
|
9
|
-
export declare const convertPagesToLayoutSnapshot: (pages:
|
|
10
|
+
export declare const convertPagesToLayoutSnapshot: (pages: AttachedPageInternal[]) => {
|
|
10
11
|
layouts: Record<string, OpenFin.LayoutOptions>;
|
|
11
|
-
pages:
|
|
12
|
+
pages: AttachedPageInternal[];
|
|
12
13
|
};
|
|
13
14
|
export declare const convertLayoutSnapshotToPages: ({ pages, layouts }: PagesLayoutSnapshot) => AttachedPage[];
|
|
@@ -85,6 +85,9 @@ type AttachedPageMetadata = {
|
|
|
85
85
|
panels?: ExtendedPanelConfig[];
|
|
86
86
|
};
|
|
87
87
|
export type AttachedPage = Page & AttachedPageMetadata;
|
|
88
|
+
export type AttachedPageInternal = {
|
|
89
|
+
layoutContainerKey?: string;
|
|
90
|
+
} & AttachedPage;
|
|
88
91
|
export type ReparentAttachedPage = AttachedPage & {
|
|
89
92
|
multiInstanceViewBehavior?: 'reparent';
|
|
90
93
|
};
|
|
@@ -183,7 +183,7 @@ export declare const OpenFinLightTheme: {
|
|
|
183
183
|
background4: "#ECEEF1";
|
|
184
184
|
background5: "#DDDFE4";
|
|
185
185
|
background6: "#C9CBD2";
|
|
186
|
-
brandSecondary: "#
|
|
186
|
+
brandSecondary: "#DDDFE4";
|
|
187
187
|
inputBackground: "#ECEEF1";
|
|
188
188
|
inputColor: "#1E1F23";
|
|
189
189
|
inputPlaceholder: "#383A40";
|