@openfin/workspace 45.2.2 → 45.2.3
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/src/dock.test.d.ts +1 -1
- package/common/src/api/protocol/browser.d.ts +2 -1
- package/common/src/utils/view-options.d.ts +3 -3
- package/common/src/utils/view-tab-appearance.d.ts +3 -11
- package/externals.report.json +7 -7
- 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/package.json +3 -3
- package/store.js +1 -1
- package/store.js.map +1 -1
|
@@ -61,7 +61,8 @@ export declare enum EnterpriseAppDirectoryChannelAction {
|
|
|
61
61
|
GetApps = "get-apps",
|
|
62
62
|
GetCuratedContent = "get-curated-content",
|
|
63
63
|
GetRecentlyVisited = "get-recently-visited",
|
|
64
|
-
GetSearchProviders = "get-search-providers"
|
|
64
|
+
GetSearchProviders = "get-search-providers",
|
|
65
|
+
RecentsChanged = "recents-changed"
|
|
65
66
|
}
|
|
66
67
|
/**
|
|
67
68
|
* @internal
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type OpenFin from '@openfin/core';
|
|
2
|
-
export type ViewOptionsConsumer = 'appearance' | 'controls';
|
|
2
|
+
export type ViewOptionsConsumer = 'appearance' | 'controls' | 'shared';
|
|
3
3
|
/**
|
|
4
4
|
* Reads view options for the custom view-tab feature, optionally instrumented in debug builds.
|
|
5
5
|
*
|
|
@@ -9,8 +9,8 @@ export type ViewOptionsConsumer = 'appearance' | 'controls';
|
|
|
9
9
|
* Production builds call `view.getOptions()` directly with no marks or logs.
|
|
10
10
|
*
|
|
11
11
|
* Baseline comparison before de-duplication should primarily use IPC / measure count: expect two `getOptions`
|
|
12
|
-
* calls and two Performance Timeline entries per view (appearance + controls).
|
|
13
|
-
* Per-call baseline durations are secondary because
|
|
12
|
+
* calls and two Performance Timeline entries per view (appearance + controls). The de-duplicated path emits one
|
|
13
|
+
* entry with the `shared` consumer. Per-call baseline durations are secondary because two reads can overlap.
|
|
14
14
|
*
|
|
15
15
|
* Inspect entries in DevTools by filtering measures named `of-workspace-view-tab-get-options-*`. The Performance
|
|
16
16
|
* Timeline duration is authoritative; structured logs are the human-readable companion.
|
|
@@ -33,11 +33,10 @@ type ViewOptionsWithWorkspacePlatform = {
|
|
|
33
33
|
* True when this `view-options-changed` diff touched `workspacePlatform.viewTab`, so that unrelated view
|
|
34
34
|
* option changes do not repaint tabs.
|
|
35
35
|
*
|
|
36
|
-
* `oldVal` is checked as well as `newVal` because clearing
|
|
37
|
-
*
|
|
38
|
-
* defaults.
|
|
36
|
+
* `oldVal` is checked as well as `newVal` because clearing `viewTab` drops it from `newVal` entirely —
|
|
37
|
+
* that case only shows up on the old side, and it still needs a repaint.
|
|
39
38
|
*/
|
|
40
|
-
export declare const
|
|
39
|
+
export declare const hasViewTabDiff: (diff: unknown) => boolean;
|
|
41
40
|
export declare const getViewTabAppearanceFromViewOptions: (options: ViewOptionsWithWorkspacePlatform) => ViewTabAppearanceOptions | undefined;
|
|
42
41
|
/**
|
|
43
42
|
* Reads view tab appearance from the view. Core persists `workspacePlatform` on view options across create,
|
|
@@ -49,11 +48,4 @@ export declare const getViewTabAppearanceFromView: (view: OpenFin.View) => Promi
|
|
|
49
48
|
* in the same tab strip are unaffected.
|
|
50
49
|
*/
|
|
51
50
|
export declare const applyViewTabAppearance: (tab: HTMLElement, appearance?: ViewTabAppearanceOptions) => void;
|
|
52
|
-
export declare const applyViewTabAppearanceFromViewOptions: (tab: HTMLElement, view: OpenFin.View) => Promise<void>;
|
|
53
|
-
/**
|
|
54
|
-
* A single listener shared by every view in the window. View `options-changed` propagates to the parent
|
|
55
|
-
* window as `view-options-changed`, so one subscription covers all layouts — and nothing leaks when a view is
|
|
56
|
-
* reparented, which moves it between windows without destroying it.
|
|
57
|
-
*/
|
|
58
|
-
export declare const registerWindowViewTabAppearanceListener: (win: OpenFin.Window, getTab: (viewIdentity: OpenFin.Identity) => HTMLElement | null | undefined) => (() => void);
|
|
59
51
|
export {};
|
package/externals.report.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"@openfin/notifications": [
|
|
3
3
|
{
|
|
4
4
|
"type": "explicit",
|
|
5
|
-
"version": "45.2.0-alpha-
|
|
5
|
+
"version": "45.2.0-alpha-5087",
|
|
6
6
|
"packageName": "client-api/package.json",
|
|
7
7
|
"issuer": "client-api/src/notifications.ts"
|
|
8
8
|
}
|
|
@@ -76,18 +76,18 @@
|
|
|
76
76
|
}
|
|
77
77
|
],
|
|
78
78
|
"dexie": [
|
|
79
|
-
{
|
|
80
|
-
"type": "root-implicit",
|
|
81
|
-
"version": "^4.0.11",
|
|
82
|
-
"packageName": "dock3/package.json",
|
|
83
|
-
"issuer": "dock3/src/api/idb.ts"
|
|
84
|
-
},
|
|
85
79
|
{
|
|
86
80
|
"type": "explicit",
|
|
87
81
|
"version": "^4.0.11",
|
|
88
82
|
"packageName": "common/package.json",
|
|
89
83
|
"issuer": "common/src/api/pages/idb.ts"
|
|
90
84
|
},
|
|
85
|
+
{
|
|
86
|
+
"type": "root-implicit",
|
|
87
|
+
"version": "^4.0.11",
|
|
88
|
+
"packageName": "dock3/package.json",
|
|
89
|
+
"issuer": "dock3/src/api/idb.ts"
|
|
90
|
+
},
|
|
91
91
|
{
|
|
92
92
|
"type": "explicit",
|
|
93
93
|
"version": "^4.0.11",
|