@openfin/node-adapter 36.80.11 → 36.80.25
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 +1 -1
- package/out/node-adapter-alpha.d.ts +156 -1078
- package/out/node-adapter-beta.d.ts +156 -1078
- package/out/node-adapter-public.d.ts +156 -1078
- package/out/node-adapter.d.ts +156 -1078
- package/out/node-adapter.js +22 -3
- package/package.json +2 -2
package/out/node-adapter.js
CHANGED
@@ -2734,9 +2734,14 @@ function requireInstance$2 () {
|
|
2734
2734
|
// don't expose
|
2735
2735
|
});
|
2736
2736
|
const layoutWindow = await this.getCurrentWindow();
|
2737
|
+
let layoutWindowIdentity = layoutWindow.identity;
|
2738
|
+
// TODO: CORE-1857 - when we tearout active layout or drag a view out of a window, the above identity includes the whole window info.
|
2739
|
+
if (layoutWindowIdentity.identity) {
|
2740
|
+
layoutWindowIdentity = layoutWindowIdentity.identity;
|
2741
|
+
}
|
2737
2742
|
try {
|
2738
2743
|
const providerChannelClient = await __classPrivateFieldGet(this, _View_providerChannelClient, "f").getValue();
|
2739
|
-
const client = await layout_entities_1.LayoutNode.newLayoutEntitiesClient(providerChannelClient, layout_constants_1.LAYOUT_CONTROLLER_ID,
|
2744
|
+
const client = await layout_entities_1.LayoutNode.newLayoutEntitiesClient(providerChannelClient, layout_constants_1.LAYOUT_CONTROLLER_ID, layoutWindowIdentity);
|
2740
2745
|
const layoutIdentity = await client.getLayoutIdentityForViewOrThrow(this.identity);
|
2741
2746
|
return this.fin.Platform.Layout.wrap(layoutIdentity);
|
2742
2747
|
}
|
@@ -2749,7 +2754,7 @@ function requireInstance$2 () {
|
|
2749
2754
|
throw e;
|
2750
2755
|
}
|
2751
2756
|
// fallback logic for missing endpoint
|
2752
|
-
return this.fin.Platform.Layout.wrap(
|
2757
|
+
return this.fin.Platform.Layout.wrap(layoutWindowIdentity);
|
2753
2758
|
}
|
2754
2759
|
};
|
2755
2760
|
/**
|
@@ -4634,7 +4639,7 @@ function requireInstance () {
|
|
4634
4639
|
// don't expose
|
4635
4640
|
});
|
4636
4641
|
const opts = await this.getOptions();
|
4637
|
-
if (!opts.layout
|
4642
|
+
if (!opts.layout && !opts.layoutSnapshot) {
|
4638
4643
|
throw new Error('Window does not have a Layout');
|
4639
4644
|
}
|
4640
4645
|
return this.fin.Platform.Layout.wrap(layoutIdentity ?? this.identity);
|
@@ -16872,6 +16877,8 @@ var application = {};
|
|
16872
16877
|
* For example, a view's "attached" event will fire as 'window-view-attached' at the application level.
|
16873
16878
|
*
|
16874
16879
|
* Event payloads are documented as interfaces, while algebraic helper types and derived types are documented as type aliases.
|
16880
|
+
* Events gain metadata as they propagate, which is *not* present on the explicit payload interfaces. To refer to the full type
|
16881
|
+
* of an event as it would be raised on this emitter, use {@link Payload}.
|
16875
16882
|
*
|
16876
16883
|
* This namespace contains only payload shapes for events that are unique to `Application`. Events that propagate to `Application` from
|
16877
16884
|
* child {@link OpenFin.Window windows} and {@link OpenFin.View views} are defined in the {@link OpenFin.WindowEvents} and
|
@@ -16903,6 +16910,8 @@ var externalApplication = {};
|
|
16903
16910
|
* Namespace for events that can be transmitted by an {@link OpenFin.ExternalApplication}.
|
16904
16911
|
*
|
16905
16912
|
* Event payloads are documented as interfaces, while algebraic helper types and derived types are documented as type aliases.
|
16913
|
+
* Events gain metadata as they propagate, which is *not* present on the explicit payload interfaces. To refer to the full type
|
16914
|
+
* of an event as it would be raised on this emitter, use {@link Payload}.
|
16906
16915
|
*
|
16907
16916
|
* For a list of valid string keys for external application events, see {@link ExternalApplication.on ExternalApplication.on}.
|
16908
16917
|
*
|
@@ -16921,6 +16930,8 @@ var globalHotkey = {};
|
|
16921
16930
|
* Namespace for events that can be transmitted by {@link GlobalHotkey.GlobalHotkey}.
|
16922
16931
|
*
|
16923
16932
|
* Event payloads are documented as interfaces, while algebraic helper types and derived types are documented as type aliases.
|
16933
|
+
* Events gain metadata as they propagate, which is *not* present on the explicit payload interfaces. To refer to the full type
|
16934
|
+
* of an event as it would be raised on this emitter, use {@link Payload}.
|
16924
16935
|
*
|
16925
16936
|
* For a list of valid string keys for global hotkey events, see {@link GlobalHotkey.GlobalHotkey.on GlobalHotkey.on}.
|
16926
16937
|
*
|
@@ -16935,6 +16946,8 @@ var platform = {};
|
|
16935
16946
|
* Namespace for events that can emitted by a {@link OpenFin.Platform}.
|
16936
16947
|
*
|
16937
16948
|
* Event payloads are documented as interfaces, while algebraic helper types and derived types are documented as type aliases.
|
16949
|
+
* Events gain metadata as they propagate, which is *not* present on the explicit payload interfaces. To refer to the full type
|
16950
|
+
* of an event as it would be raised on this emitter, use {@link Payload}.
|
16938
16951
|
*
|
16939
16952
|
* The Platform `EventEmitter` is a superset of the {@link OpenFin.Application} `EventEmitter`,
|
16940
16953
|
* meaning it can listen to all {@link OpenFin.ApplicationEvents Application events} in addition to the
|
@@ -16956,6 +16969,8 @@ var system = {};
|
|
16956
16969
|
* will be visible as 'view-shown' at the system level, but *not* as `application-window-view-shown`.
|
16957
16970
|
*
|
16958
16971
|
* Event payloads are documented as interfaces, while algebraic helper types and derived types are documented as type aliases.
|
16972
|
+
* Events gain metadata as they propagate, which is *not* present on the explicit payload interfaces. To refer to the full type
|
16973
|
+
* of an event as it would be raised on this emitter, use {@link Payload}.
|
16959
16974
|
*
|
16960
16975
|
* This namespace contains only payload shapes for events that are unique to `System`. Events that propagate to `System` from
|
16961
16976
|
* child {@link OpenFin.Application applications}, {@link OpenFin.Window windows}, and {@link OpenFin.View views} are defined in the
|
@@ -16972,6 +16987,8 @@ var view = {};
|
|
16972
16987
|
* Namespace for events that can be emitted by a {@link OpenFin.View}.
|
16973
16988
|
*
|
16974
16989
|
* Event payloads are documented as interfaces, while algebraic helper types and derived types are documented as type aliases.
|
16990
|
+
* Events gain metadata as they propagate, which is *not* present on the explicit payload interfaces. To refer to the full type
|
16991
|
+
* of an event as it would be raised on this emitter, use {@link Payload}.
|
16975
16992
|
*
|
16976
16993
|
* This namespace contains only payload shapes for events that are unique to `View`. Events that are shared between all `WebContents`
|
16977
16994
|
* (i.e. {@link OpenFin.Window}, {@link OpenFin.View}) are defined in {@link OpenFin.WebContentsEvents}. For a list
|
@@ -17003,6 +17020,8 @@ var window$1 = {};
|
|
17003
17020
|
* Namespace for events that can be emitted by a {@link OpenFin.Window}.
|
17004
17021
|
*
|
17005
17022
|
* Event payloads are documented as interfaces, while algebraic helper types and derived types are documented as type aliases.
|
17023
|
+
* Events gain metadata as they propagate, which is *not* present on the explicit payload interfaces. To refer to the full type
|
17024
|
+
* of an event as it would be raised on this emitter, use {@link Payload}.
|
17006
17025
|
*
|
17007
17026
|
* This namespace contains only payload shapes for events that are unique to `Window`. Events that are shared between all `WebContents`
|
17008
17027
|
* (i.e. {@link OpenFin.Window}, {@link OpenFin.View}) are defined in {@link OpenFin.WebContentsEvents}. Events that
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@openfin/node-adapter",
|
3
|
-
"version": "36.80.
|
3
|
+
"version": "36.80.25",
|
4
4
|
"description": "See README.md",
|
5
5
|
"main": "out/node-adapter.js",
|
6
6
|
"types": "out/node-adapter.d.ts",
|
@@ -26,7 +26,7 @@
|
|
26
26
|
"typescript": "4.9.5"
|
27
27
|
},
|
28
28
|
"dependencies": {
|
29
|
-
"@types/node": "^
|
29
|
+
"@types/node": "^20.14.2",
|
30
30
|
"openfin-adapter": "file:../../../js-adapter",
|
31
31
|
"lodash": "^4.17.21",
|
32
32
|
"ws": "^7.3.0"
|