@genesislcap/foundation-fdc3 14.302.0 → 14.302.1-alpha-945e484.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.
Files changed (56) hide show
  1. package/dist/dts/fdc3-channel-event.d.ts +264 -223
  2. package/dist/dts/fdc3-channel-event.d.ts.map +1 -1
  3. package/dist/dts/tsdoc-metadata.json +1 -1
  4. package/dist/dts/util/fdc3-intent-listener.d.ts +264 -223
  5. package/dist/dts/util/fdc3-intent-listener.d.ts.map +1 -1
  6. package/dist/dts/util/fdc3-raise-intent.d.ts +264 -223
  7. package/dist/dts/util/fdc3-raise-intent.d.ts.map +1 -1
  8. package/dist/dts/util/fdc3-system-channel-listener.d.ts +264 -223
  9. package/dist/dts/util/fdc3-system-channel-listener.d.ts.map +1 -1
  10. package/dist/dts/util/fdc3-util.d.ts.map +1 -1
  11. package/dist/esm/fdc3.js +4 -4
  12. package/dist/foundation-fdc3.api.json +845 -178
  13. package/dist/foundation-fdc3.d.ts +1056 -892
  14. package/docs/api/foundation-fdc3.appchannellistenerconfig.channelname.md +14 -0
  15. package/docs/api/foundation-fdc3.appchannellistenerconfig.md +62 -0
  16. package/docs/api/foundation-fdc3.fdc3.addchannellistener.md +65 -5
  17. package/docs/api/foundation-fdc3.fdc3.addintentlisteners.md +33 -3
  18. package/docs/api/foundation-fdc3.fdc3.addsystemchannellistener.md +49 -4
  19. package/docs/api/foundation-fdc3.fdc3.broadcastonchannel.md +65 -5
  20. package/docs/api/foundation-fdc3.fdc3.broadcastonchanneleventhandler.md +49 -4
  21. package/docs/api/foundation-fdc3.fdc3.broadcastoncurrentchannel.md +49 -4
  22. package/docs/api/foundation-fdc3.fdc3.findintent.md +49 -4
  23. package/docs/api/foundation-fdc3.fdc3.findintentsbycontext.md +33 -3
  24. package/docs/api/foundation-fdc3.fdc3.getorcreatechannel.md +33 -3
  25. package/docs/api/foundation-fdc3.fdc3.handlechannelcurrentcontext.md +65 -5
  26. package/docs/api/foundation-fdc3.fdc3.joinchannel.md +33 -3
  27. package/docs/api/foundation-fdc3.fdc3.md +264 -22
  28. package/docs/api/foundation-fdc3.fdc3.raiseintent.md +49 -4
  29. package/docs/api/foundation-fdc3.fdc3.raiseintentforcontext.md +33 -3
  30. package/docs/api/foundation-fdc3.fdc3contextlistener.config.md +14 -0
  31. package/docs/api/foundation-fdc3.fdc3contextlistener.md +62 -0
  32. package/docs/api/foundation-fdc3.fdc3intentlistener.fdc3.md +14 -0
  33. package/docs/api/foundation-fdc3.fdc3intentlistener.intentconfig.md +14 -0
  34. package/docs/api/foundation-fdc3.fdc3intentlistener.md +81 -0
  35. package/docs/api/foundation-fdc3.fdc3raiseintent.eventname.md +14 -0
  36. package/docs/api/foundation-fdc3.fdc3raiseintent.fdc3.md +14 -0
  37. package/docs/api/foundation-fdc3.fdc3raiseintent.intentname.md +14 -0
  38. package/docs/api/foundation-fdc3.fdc3raiseintent.intenttype.md +14 -0
  39. package/docs/api/foundation-fdc3.fdc3raiseintent.mappingfunction.md +14 -0
  40. package/docs/api/foundation-fdc3.fdc3raiseintent.md +138 -0
  41. package/docs/api/foundation-fdc3.fdc3systemchannellistener.config.md +14 -0
  42. package/docs/api/foundation-fdc3.fdc3systemchannellistener.fdc3.md +14 -0
  43. package/docs/api/foundation-fdc3.fdc3systemchannellistener.md +81 -0
  44. package/docs/api/foundation-fdc3.intentconfig.callback.md +14 -0
  45. package/docs/api/foundation-fdc3.intentconfig.intent.md +14 -0
  46. package/docs/api/foundation-fdc3.intentconfig.md +80 -0
  47. package/docs/api/foundation-fdc3.interopfoundationnotificationlistener.md +41 -1
  48. package/docs/api/foundation-fdc3.interopnotificationslistener.md +70 -6
  49. package/docs/api/foundation-fdc3.interopnotificationslistener.shownotificationtoast.md +31 -3
  50. package/docs/api/foundation-fdc3.md +236 -18
  51. package/docs/api/foundation-fdc3.systemchannellistenerconfig.callback.md +14 -0
  52. package/docs/api/foundation-fdc3.systemchannellistenerconfig.channeltype.md +14 -0
  53. package/docs/api/foundation-fdc3.systemchannellistenerconfig.md +80 -0
  54. package/docs/api/index.md +21 -3
  55. package/docs/api-report.md.api.md +281 -0
  56. package/package.json +15 -15
package/dist/esm/fdc3.js CHANGED
@@ -72,8 +72,8 @@ export class DefaultFDC3 {
72
72
  }
73
73
  }
74
74
  joinChannel(channelId) {
75
- var _a;
76
75
  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;
162
161
  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 _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) {
168
+ var _a, _b;
169
+ if (((_b = (_a = this._currentChannel) === null || _a === void 0 ? void 0 : _a.displayMetadata) === null || _b === void 0 ? void 0 : _b.color) === channelColor) {
170
170
  return;
171
171
  }
172
172
  logger.debug(`fdc3 interop.io channel changed '${channelColor}'`);