@openfin/remote-adapter 38.81.34 → 38.81.37
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.
|
@@ -5638,6 +5638,13 @@ declare type GpuInfo = {
|
|
|
5638
5638
|
|
|
5639
5639
|
/**
|
|
5640
5640
|
* Generated when a View is hidden.
|
|
5641
|
+
*
|
|
5642
|
+
* @remarks
|
|
5643
|
+
* An OpenFin View's `hidden` event is only emitted when a specific View API is called.
|
|
5644
|
+
* This event can fire when calling:
|
|
5645
|
+
*
|
|
5646
|
+
* * `view.hide()` - If a View is previously shown, a `hidden` event will be fired.
|
|
5647
|
+
*
|
|
5641
5648
|
* @interface
|
|
5642
5649
|
*/
|
|
5643
5650
|
declare type HiddenEvent = BaseEvent_4 & {
|
|
@@ -12264,7 +12271,18 @@ declare type ShowAllDownloadsEvent = BaseEvent_5 & {
|
|
|
12264
12271
|
};
|
|
12265
12272
|
|
|
12266
12273
|
/**
|
|
12267
|
-
* Generated when a View is shown.
|
|
12274
|
+
* Generated when a View is shown.
|
|
12275
|
+
*
|
|
12276
|
+
* @remarks
|
|
12277
|
+
* An OpenFin View's `shown` event is only emitted when specific View APIs are called.
|
|
12278
|
+
* This event can fire when calling:
|
|
12279
|
+
*
|
|
12280
|
+
* * `view.show()` or `view.showAt()` - If a View is previously hidden, a `shown` event will be fired.
|
|
12281
|
+
*
|
|
12282
|
+
* * `view.attach()` - If a View is hidden and attached to a new Window, it will be shown and the `shown` event will be fired.
|
|
12283
|
+
*
|
|
12284
|
+
* * `view.create()` - A View `shown` event will be fired. (Internally the `attach` method is called when calling the `create` method, which fires the `shown` event.)
|
|
12285
|
+
*
|
|
12268
12286
|
* @interface
|
|
12269
12287
|
*/
|
|
12270
12288
|
declare type ShownEvent = BaseEvent_4 & {
|
|
@@ -5638,6 +5638,13 @@ declare type GpuInfo = {
|
|
|
5638
5638
|
|
|
5639
5639
|
/**
|
|
5640
5640
|
* Generated when a View is hidden.
|
|
5641
|
+
*
|
|
5642
|
+
* @remarks
|
|
5643
|
+
* An OpenFin View's `hidden` event is only emitted when a specific View API is called.
|
|
5644
|
+
* This event can fire when calling:
|
|
5645
|
+
*
|
|
5646
|
+
* * `view.hide()` - If a View is previously shown, a `hidden` event will be fired.
|
|
5647
|
+
*
|
|
5641
5648
|
* @interface
|
|
5642
5649
|
*/
|
|
5643
5650
|
declare type HiddenEvent = BaseEvent_4 & {
|
|
@@ -12264,7 +12271,18 @@ declare type ShowAllDownloadsEvent = BaseEvent_5 & {
|
|
|
12264
12271
|
};
|
|
12265
12272
|
|
|
12266
12273
|
/**
|
|
12267
|
-
* Generated when a View is shown.
|
|
12274
|
+
* Generated when a View is shown.
|
|
12275
|
+
*
|
|
12276
|
+
* @remarks
|
|
12277
|
+
* An OpenFin View's `shown` event is only emitted when specific View APIs are called.
|
|
12278
|
+
* This event can fire when calling:
|
|
12279
|
+
*
|
|
12280
|
+
* * `view.show()` or `view.showAt()` - If a View is previously hidden, a `shown` event will be fired.
|
|
12281
|
+
*
|
|
12282
|
+
* * `view.attach()` - If a View is hidden and attached to a new Window, it will be shown and the `shown` event will be fired.
|
|
12283
|
+
*
|
|
12284
|
+
* * `view.create()` - A View `shown` event will be fired. (Internally the `attach` method is called when calling the `create` method, which fires the `shown` event.)
|
|
12285
|
+
*
|
|
12268
12286
|
* @interface
|
|
12269
12287
|
*/
|
|
12270
12288
|
declare type ShownEvent = BaseEvent_4 & {
|
|
@@ -5638,6 +5638,13 @@ declare type GpuInfo = {
|
|
|
5638
5638
|
|
|
5639
5639
|
/**
|
|
5640
5640
|
* Generated when a View is hidden.
|
|
5641
|
+
*
|
|
5642
|
+
* @remarks
|
|
5643
|
+
* An OpenFin View's `hidden` event is only emitted when a specific View API is called.
|
|
5644
|
+
* This event can fire when calling:
|
|
5645
|
+
*
|
|
5646
|
+
* * `view.hide()` - If a View is previously shown, a `hidden` event will be fired.
|
|
5647
|
+
*
|
|
5641
5648
|
* @interface
|
|
5642
5649
|
*/
|
|
5643
5650
|
declare type HiddenEvent = BaseEvent_4 & {
|
|
@@ -12264,7 +12271,18 @@ declare type ShowAllDownloadsEvent = BaseEvent_5 & {
|
|
|
12264
12271
|
};
|
|
12265
12272
|
|
|
12266
12273
|
/**
|
|
12267
|
-
* Generated when a View is shown.
|
|
12274
|
+
* Generated when a View is shown.
|
|
12275
|
+
*
|
|
12276
|
+
* @remarks
|
|
12277
|
+
* An OpenFin View's `shown` event is only emitted when specific View APIs are called.
|
|
12278
|
+
* This event can fire when calling:
|
|
12279
|
+
*
|
|
12280
|
+
* * `view.show()` or `view.showAt()` - If a View is previously hidden, a `shown` event will be fired.
|
|
12281
|
+
*
|
|
12282
|
+
* * `view.attach()` - If a View is hidden and attached to a new Window, it will be shown and the `shown` event will be fired.
|
|
12283
|
+
*
|
|
12284
|
+
* * `view.create()` - A View `shown` event will be fired. (Internally the `attach` method is called when calling the `create` method, which fires the `shown` event.)
|
|
12285
|
+
*
|
|
12268
12286
|
* @interface
|
|
12269
12287
|
*/
|
|
12270
12288
|
declare type ShownEvent = BaseEvent_4 & {
|
package/out/remote-adapter.d.ts
CHANGED
|
@@ -5729,6 +5729,13 @@ declare type GpuInfo = {
|
|
|
5729
5729
|
|
|
5730
5730
|
/**
|
|
5731
5731
|
* Generated when a View is hidden.
|
|
5732
|
+
*
|
|
5733
|
+
* @remarks
|
|
5734
|
+
* An OpenFin View's `hidden` event is only emitted when a specific View API is called.
|
|
5735
|
+
* This event can fire when calling:
|
|
5736
|
+
*
|
|
5737
|
+
* * `view.hide()` - If a View is previously shown, a `hidden` event will be fired.
|
|
5738
|
+
*
|
|
5732
5739
|
* @interface
|
|
5733
5740
|
*/
|
|
5734
5741
|
declare type HiddenEvent = BaseEvent_4 & {
|
|
@@ -12657,7 +12664,18 @@ declare type ShowAllDownloadsEvent = BaseEvent_5 & {
|
|
|
12657
12664
|
};
|
|
12658
12665
|
|
|
12659
12666
|
/**
|
|
12660
|
-
* Generated when a View is shown.
|
|
12667
|
+
* Generated when a View is shown.
|
|
12668
|
+
*
|
|
12669
|
+
* @remarks
|
|
12670
|
+
* An OpenFin View's `shown` event is only emitted when specific View APIs are called.
|
|
12671
|
+
* This event can fire when calling:
|
|
12672
|
+
*
|
|
12673
|
+
* * `view.show()` or `view.showAt()` - If a View is previously hidden, a `shown` event will be fired.
|
|
12674
|
+
*
|
|
12675
|
+
* * `view.attach()` - If a View is hidden and attached to a new Window, it will be shown and the `shown` event will be fired.
|
|
12676
|
+
*
|
|
12677
|
+
* * `view.create()` - A View `shown` event will be fired. (Internally the `attach` method is called when calling the `create` method, which fires the `shown` event.)
|
|
12678
|
+
*
|
|
12661
12679
|
* @interface
|
|
12662
12680
|
*/
|
|
12663
12681
|
declare type ShownEvent = BaseEvent_4 & {
|
package/out/remote-adapter.js
CHANGED
|
@@ -925,6 +925,14 @@ function requireFdc3Common () {
|
|
|
925
925
|
throw new Error(errorToThrow);
|
|
926
926
|
}
|
|
927
927
|
}
|
|
928
|
+
async _getChannels() {
|
|
929
|
+
const channels = await this.client.getContextGroups();
|
|
930
|
+
// fdc3 implementation of getSystemChannels returns an array of channels, have to decorate over
|
|
931
|
+
// this so people know that these APIs are not supported
|
|
932
|
+
return channels.map((channel) => {
|
|
933
|
+
return { ...channel, type: 'system', ...(0, utils_1.getUnsupportedChannelApis)() };
|
|
934
|
+
});
|
|
935
|
+
}
|
|
928
936
|
/**
|
|
929
937
|
* Returns a Channel object for the specified channel, creating it as an App Channel if it does not exist.
|
|
930
938
|
* @param channelId
|
|
@@ -935,7 +943,7 @@ function requireFdc3Common () {
|
|
|
935
943
|
this.wire.sendAction('fdc3-get-or-create-channel').catch((e) => {
|
|
936
944
|
// we do not want to expose this error, just continue if this analytics-only call fails
|
|
937
945
|
});
|
|
938
|
-
const systemChannels = await this.
|
|
946
|
+
const systemChannels = await this._getChannels();
|
|
939
947
|
const userChannel = systemChannels.find((channel) => channel.id === channelId);
|
|
940
948
|
if (userChannel) {
|
|
941
949
|
return { ...userChannel, type: 'system', ...(0, utils_1.getUnsupportedChannelApis)() };
|
|
@@ -959,12 +967,7 @@ function requireFdc3Common () {
|
|
|
959
967
|
this.wire.sendAction('fdc3-get-system-channels').catch((e) => {
|
|
960
968
|
// we do not want to expose this error, just continue if this analytics-only call fails
|
|
961
969
|
});
|
|
962
|
-
|
|
963
|
-
// fdc3 implementation of getSystemChannels returns on array of channels, have to decorate over
|
|
964
|
-
// this so people know that these APIs are not supported
|
|
965
|
-
return channels.map((channel) => {
|
|
966
|
-
return { ...channel, type: 'system', ...(0, utils_1.getUnsupportedChannelApis)() };
|
|
967
|
-
});
|
|
970
|
+
return this._getChannels();
|
|
968
971
|
}
|
|
969
972
|
/**
|
|
970
973
|
* Join all Interop Clients at the given identity to context group `contextGroupId`.
|