@openfin/workspace 45.1.9 → 45.1.11
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/common/src/utils/layout.d.ts +13 -0
- package/externals.report.json +27 -27
- 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 +3 -3
- package/store.js +1 -1
- package/store.js.map +1 -1
|
@@ -153,6 +153,19 @@ export declare const findViewInLayout: (node: any, viewId: OpenFin.Identity) =>
|
|
|
153
153
|
* @returns The total number of views in the layout configuration.
|
|
154
154
|
*/
|
|
155
155
|
export declare const countViews: (node: OpenFin.LayoutContent) => number;
|
|
156
|
+
/**
|
|
157
|
+
* Returns the sole view component when a page layout contains exactly one view.
|
|
158
|
+
* Used to decide whether a page-tab drag should emit a single-view merge payload.
|
|
159
|
+
*
|
|
160
|
+
* Importantly this counts views recursively across the layout tree, not just
|
|
161
|
+
* top-level sections — a one-section/tab-strip supertab with multiple views
|
|
162
|
+
* must not be treated as a single-view page.
|
|
163
|
+
*
|
|
164
|
+
* Also requires a non-empty `componentState.name`. Core types mark
|
|
165
|
+
* `componentState` / `name` as optional, and a merge payload without a name
|
|
166
|
+
* is invalid — treat those layouts as non-mergeable page drags instead.
|
|
167
|
+
*/
|
|
168
|
+
export declare const getSingleViewComponent: (content: OpenFin.LayoutContent | undefined) => OpenFin.LayoutComponent | null;
|
|
156
169
|
export declare const getLayoutConfig: (layoutContainerKey: string) => Promise<any>;
|
|
157
170
|
export declare const findPageForView: (viewName: string, browserWindowIdentity?: WindowIdentity) => Promise<AttachedPage | undefined>;
|
|
158
171
|
/**
|
package/externals.report.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"@openfin/notifications": [
|
|
3
3
|
{
|
|
4
4
|
"type": "explicit",
|
|
5
|
-
"version": "45.1.0-alpha-
|
|
5
|
+
"version": "45.1.0-alpha-4946",
|
|
6
6
|
"packageName": "client-api/package.json",
|
|
7
7
|
"issuer": "client-api/src/notifications.ts"
|
|
8
8
|
}
|
|
@@ -43,32 +43,6 @@
|
|
|
43
43
|
"issuer": "common/src/utils/layout.ts"
|
|
44
44
|
}
|
|
45
45
|
],
|
|
46
|
-
"dexie": [
|
|
47
|
-
{
|
|
48
|
-
"type": "root-implicit",
|
|
49
|
-
"version": "^4.0.11",
|
|
50
|
-
"packageName": "dock3/package.json",
|
|
51
|
-
"issuer": "dock3/src/api/idb.ts"
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
"type": "explicit",
|
|
55
|
-
"version": "^4.0.11",
|
|
56
|
-
"packageName": "client-api-platform/package.json",
|
|
57
|
-
"issuer": "client-api-platform/src/api/dock/idb.ts"
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
"type": "explicit",
|
|
61
|
-
"version": "^4.0.11",
|
|
62
|
-
"packageName": "common/package.json",
|
|
63
|
-
"issuer": "common/src/utils/create-and-migrate-ibd-store.ts"
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
"type": "explicit",
|
|
67
|
-
"version": "^4.0.11",
|
|
68
|
-
"packageName": "common/package.json",
|
|
69
|
-
"issuer": "common/src/api/pages/idb.ts"
|
|
70
|
-
}
|
|
71
|
-
],
|
|
72
46
|
"react-i18next": [
|
|
73
47
|
{
|
|
74
48
|
"type": "explicit",
|
|
@@ -92,5 +66,31 @@
|
|
|
92
66
|
"packageName": "common/package.json",
|
|
93
67
|
"issuer": "common/src/utils/layout.ts"
|
|
94
68
|
}
|
|
69
|
+
],
|
|
70
|
+
"dexie": [
|
|
71
|
+
{
|
|
72
|
+
"type": "root-implicit",
|
|
73
|
+
"version": "^4.0.11",
|
|
74
|
+
"packageName": "dock3/package.json",
|
|
75
|
+
"issuer": "dock3/src/api/idb.ts"
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"type": "explicit",
|
|
79
|
+
"version": "^4.0.11",
|
|
80
|
+
"packageName": "client-api-platform/package.json",
|
|
81
|
+
"issuer": "client-api-platform/src/api/dock/idb.ts"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"type": "explicit",
|
|
85
|
+
"version": "^4.0.11",
|
|
86
|
+
"packageName": "common/package.json",
|
|
87
|
+
"issuer": "common/src/api/pages/idb.ts"
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"type": "explicit",
|
|
91
|
+
"version": "^4.0.11",
|
|
92
|
+
"packageName": "common/package.json",
|
|
93
|
+
"issuer": "common/src/utils/create-and-migrate-ibd-store.ts"
|
|
94
|
+
}
|
|
95
95
|
]
|
|
96
96
|
}
|