@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-alpha.d.ts +413 -131
- package/out/mock-beta.d.ts +413 -131
- package/out/mock-public.d.ts +413 -131
- package/out/mock.d.ts +414 -132
- package/out/mock.js +19 -13
- package/package.json +1 -1
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
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
*
|
|
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
|
|
118
|
-
*
|
|
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
|
-
*
|
|
156
|
-
*
|
|
157
|
-
*
|
|
158
|
-
*
|
|
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 });
|