@genesislcap/foundation-fdc3 14.302.1-alpha-475e82d.0 → 14.302.1-alpha-ecc0cfb.0
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/dist/dts/fdc3-channel-event.d.ts +223 -264
- package/dist/dts/fdc3-channel-event.d.ts.map +1 -1
- package/dist/dts/tsdoc-metadata.json +1 -1
- package/dist/dts/util/fdc3-intent-listener.d.ts +223 -264
- package/dist/dts/util/fdc3-intent-listener.d.ts.map +1 -1
- package/dist/dts/util/fdc3-raise-intent.d.ts +223 -264
- package/dist/dts/util/fdc3-raise-intent.d.ts.map +1 -1
- package/dist/dts/util/fdc3-system-channel-listener.d.ts +223 -264
- package/dist/dts/util/fdc3-system-channel-listener.d.ts.map +1 -1
- package/dist/dts/util/fdc3-util.d.ts.map +1 -1
- package/dist/esm/fdc3.js +4 -4
- package/dist/foundation-fdc3.api.json +167 -834
- package/dist/foundation-fdc3.d.ts +892 -1056
- package/docs/api/foundation-fdc3.fdc3.addchannellistener.md +5 -65
- package/docs/api/foundation-fdc3.fdc3.addintentlisteners.md +3 -33
- package/docs/api/foundation-fdc3.fdc3.addsystemchannellistener.md +4 -49
- package/docs/api/foundation-fdc3.fdc3.broadcastonchannel.md +5 -65
- package/docs/api/foundation-fdc3.fdc3.broadcastonchanneleventhandler.md +4 -49
- package/docs/api/foundation-fdc3.fdc3.broadcastoncurrentchannel.md +4 -49
- package/docs/api/foundation-fdc3.fdc3.findintent.md +4 -49
- package/docs/api/foundation-fdc3.fdc3.findintentsbycontext.md +3 -33
- package/docs/api/foundation-fdc3.fdc3.getorcreatechannel.md +3 -33
- package/docs/api/foundation-fdc3.fdc3.handlechannelcurrentcontext.md +5 -65
- package/docs/api/foundation-fdc3.fdc3.joinchannel.md +3 -33
- package/docs/api/foundation-fdc3.fdc3.md +22 -264
- package/docs/api/foundation-fdc3.fdc3.raiseintent.md +4 -49
- package/docs/api/foundation-fdc3.fdc3.raiseintentforcontext.md +3 -33
- package/docs/api/foundation-fdc3.interopfoundationnotificationlistener.md +1 -41
- package/docs/api/foundation-fdc3.interopnotificationslistener.md +6 -70
- package/docs/api/foundation-fdc3.interopnotificationslistener.shownotificationtoast.md +3 -31
- package/docs/api/foundation-fdc3.md +18 -236
- package/docs/api/index.md +3 -21
- package/package.json +17 -15
- package/docs/api/foundation-fdc3.appchannellistenerconfig.channelname.md +0 -14
- package/docs/api/foundation-fdc3.appchannellistenerconfig.md +0 -62
- package/docs/api/foundation-fdc3.fdc3contextlistener.config.md +0 -14
- package/docs/api/foundation-fdc3.fdc3contextlistener.md +0 -62
- package/docs/api/foundation-fdc3.fdc3intentlistener.fdc3.md +0 -14
- package/docs/api/foundation-fdc3.fdc3intentlistener.intentconfig.md +0 -14
- package/docs/api/foundation-fdc3.fdc3intentlistener.md +0 -81
- package/docs/api/foundation-fdc3.fdc3raiseintent.eventname.md +0 -14
- package/docs/api/foundation-fdc3.fdc3raiseintent.fdc3.md +0 -14
- package/docs/api/foundation-fdc3.fdc3raiseintent.intentname.md +0 -14
- package/docs/api/foundation-fdc3.fdc3raiseintent.intenttype.md +0 -14
- package/docs/api/foundation-fdc3.fdc3raiseintent.mappingfunction.md +0 -14
- package/docs/api/foundation-fdc3.fdc3raiseintent.md +0 -138
- package/docs/api/foundation-fdc3.fdc3systemchannellistener.config.md +0 -14
- package/docs/api/foundation-fdc3.fdc3systemchannellistener.fdc3.md +0 -14
- package/docs/api/foundation-fdc3.fdc3systemchannellistener.md +0 -81
- package/docs/api/foundation-fdc3.intentconfig.callback.md +0 -14
- package/docs/api/foundation-fdc3.intentconfig.intent.md +0 -14
- package/docs/api/foundation-fdc3.intentconfig.md +0 -80
- package/docs/api/foundation-fdc3.systemchannellistenerconfig.callback.md +0 -14
- package/docs/api/foundation-fdc3.systemchannellistenerconfig.channeltype.md +0 -14
- package/docs/api/foundation-fdc3.systemchannellistenerconfig.md +0 -80
- package/docs/api-report.md.api.md +0 -281
package/dist/esm/fdc3.js
CHANGED
@@ -72,8 +72,8 @@ export class DefaultFDC3 {
|
|
72
72
|
}
|
73
73
|
}
|
74
74
|
joinChannel(channelId) {
|
75
|
+
var _a;
|
75
76
|
return __awaiter(this, void 0, void 0, function* () {
|
76
|
-
var _a;
|
77
77
|
logger.debug(`fdc3 joinChannel '${channelId}'`);
|
78
78
|
if (((_a = this._currentChannel) === null || _a === void 0 ? void 0 : _a.id) === channelId) {
|
79
79
|
return;
|
@@ -158,15 +158,15 @@ export class DefaultFDC3 {
|
|
158
158
|
});
|
159
159
|
}
|
160
160
|
handleInteropChannelChanges() {
|
161
|
+
var _a, _b;
|
161
162
|
return __awaiter(this, void 0, void 0, function* () {
|
162
|
-
var _a, _b;
|
163
163
|
if (this.isInteropFdc3()) {
|
164
164
|
// Listen to changes from the io channel selector.
|
165
165
|
// This can be done on the interop container window which is outside this app scope
|
166
166
|
// Any changes made there will be emitted here and keep channel state in sync
|
167
167
|
(_b = (_a = window.io) === null || _a === void 0 ? void 0 : _a.channels) === null || _b === void 0 ? void 0 : _b.onChanged((channelColor) => __awaiter(this, void 0, void 0, function* () {
|
168
|
-
var
|
169
|
-
if (((
|
168
|
+
var _c, _d;
|
169
|
+
if (((_d = (_c = this._currentChannel) === null || _c === void 0 ? void 0 : _c.displayMetadata) === null || _d === void 0 ? void 0 : _d.color) === channelColor) {
|
170
170
|
return;
|
171
171
|
}
|
172
172
|
logger.debug(`fdc3 interop.io channel changed '${channelColor}'`);
|