@openfin/core 34.78.34 → 34.78.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.
package/out/mock.js CHANGED
@@ -26,10 +26,12 @@ var application$1 = {};
26
26
  * child {@link OpenFin.Window windows} and {@link OpenFin.View views} are defined in the {@link OpenFin.WindowEvents} and
27
27
  * {@link OpenFin.ViewEvents} namespaces. For a list of valid string keys for *all* application events, see {@link Application.on Application.on}.
28
28
  *
29
- * {@link WillPropagateApplicationEvent Bespoke application events} re-propagate to the system level, prefixed with `application-`. For example,
30
- * the `closed` event will fire as `application-closed` at the system level. Propagated events from {@link PropagatedWindowEvent windows}
31
- * and {@link PropagatedViewEvent views} within an application will *not* transitively re-propagate to the system level, because they are already
32
- * visible at the system level and contain the identity of the application.
29
+ * {@link NativeApplicationEvent Native application events} (i.e. those that have not propagated from {@link OpenFin.ViewEvents Views}
30
+ * or {@link OpenFin.WindowEvents Windows} re-propagate to {@link OpenFin.SystemEvents System} with their type string prefixed with `application-`.
31
+ * {@link OpenFin.ApplicationEvents.ApplicationWindowEvent Application events that are tied to Windows but do not propagate from them}
32
+ * are propagated to `System` without any type string prefixing.
33
+ *
34
+ * "Requested" events (e.g. {@link RunRequestedEvent}) do not propagate.
33
35
  *
34
36
  * @packageDocumentation
35
37
  */
@@ -114,10 +116,8 @@ var view$1 = {};
114
116
  * (i.e. {@link OpenFin.Window}, {@link OpenFin.View}) are defined in {@link OpenFin.WebContentsEvents}. For a list
115
117
  * of valid string keys for *all* View events, see {@link View.on View.on}.
116
118
  *
117
- * View events fall into two categories: {@link WillPropagateViewEvent} and {@link NonPropagatedViewEvent}. Propagated events will
118
- * be re-emitted on the parent {@link OpenFin.Window} of the target view, prefixed with "view-". For example,
119
- * the "shown" event will be re-emitted on the parent window as "view-shown". Non-propagated events
120
- * will not be re-emitted on the parent window.
119
+ * View events propagate to their parent {@link OpenFin.WindowEvents Window}, {@link OpenFin.ApplicationEvents Application},
120
+ * and {@link OpenFin.SystemEvents System} with an added `viewIdentity` property and their event types prefixed with `'view-'`.
121
121
  *
122
122
  * @packageDocumentation
123
123
  */
@@ -142,7 +142,6 @@ Object.defineProperty(webcontents, "__esModule", { value: true });
142
142
  var window$2 = {};
143
143
 
144
144
  /**
145
- *
146
145
  * Namespace for events that can be emitted by a {@link OpenFin.Window}.
147
146
  *
148
147
  * Event payloads are documented as interfaces, while algebraic helper types and derived types are documented as type aliases.
@@ -152,10 +151,12 @@ var window$2 = {};
152
151
  * propagate from `View` are defined in {@link OpenFin.ViewEvents}. For a list of valid string keys for *all* Window events, see
153
152
  * {@link Window.on Window.on}
154
153
  *
155
- * Window events fall into two categories: {@link WillPropagateWindowEvent} and {@link NonPropagatedWindowEvent}.
156
- * Propagated events will be re-emitted on the parent {@link OpenFin.Application} of the target window, prefixed with "window-". For example,
157
- * a window's "reloaded" event will be re-emitted on the parent application as "window-reloaded". Non-propagated
158
- * events will not be re-emitted on the parent application.
154
+ * {@link OpenFin.WindowEvents.NativeWindowEvent Native window events} (i.e. those that are not propagated from a
155
+ * {@link OpenFin.ViewEvents View}) propagate to their parent {@link OpenFin.ApplicationEvents Application} and
156
+ * {@link OpenFin.SystemEvents System} with their event types prefixed with `'window-'`).
157
+ *
158
+ * "Requested" events (e.g. {@link AuthRequestedEvent}) do not propagate to `System. The {@link OpenFin.WindowEvents.WindowCloseRequestedEvent}
159
+ * does not propagate at all.
159
160
  *
160
161
  * @packageDocumentation
161
162
  */
@@ -195,6 +196,11 @@ Object.defineProperty(window$2, "__esModule", { value: true });
195
196
  * finally to the OpenFin runtime itself at the "system" level. For details on propagation semantics, see the namespace for
196
197
  * the propagating (or propagated-to) entity.
197
198
  *
199
+ * If you need the payload type for a specific type of event (especially propagated events), use the emitting topic's `EventPayload`
200
+ * (e.g. {@link WindowEvents.WindowEventPayload}) generic with the event's `type` string. For example, the payload of
201
+ * a {@link ViewEvents.CreatedEvent} after it has propagated to its parent {@link WindowEvents Window} can be found with
202
+ * `WindowEventPayload<'view-created'>`.
203
+ *
198
204
  * @packageDocumentation
199
205
  */
200
206
  Object.defineProperty(events, "__esModule", { value: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfin/core",
3
- "version": "34.78.34",
3
+ "version": "34.78.37",
4
4
  "description": "The core renderer entry point of OpenFin",
5
5
  "license": "SEE LICENSE IN LICENSE.MD",
6
6
  "main": "out/mock.js",