@openfin/core 33.76.36 → 33.77.1
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/OpenFin.d.ts +1 -1
- package/README.md +29 -4
- package/fin.d.ts +2 -2
- package/{src → out}/GlobalOpenFin.d.ts +1 -1
- package/out/mock-alpha.d.ts +16112 -0
- package/out/mock-beta.d.ts +16112 -0
- package/out/mock-public.d.ts +16112 -0
- package/out/mock.d.ts +16797 -0
- package/out/mock.js +17111 -0
- package/package.json +30 -23
- package/LICENSE +0 -13
- package/NOTICE +0 -16
- package/openfin-core-33.76.36.tgz +0 -0
- package/src/OpenFin.d.ts +0 -3091
- package/src/OpenFin.js +0 -2
- package/src/api/api-exposer/api-consumer.d.ts +0 -28
- package/src/api/api-exposer/api-consumer.js +0 -28
- package/src/api/api-exposer/api-exposer.d.ts +0 -35
- package/src/api/api-exposer/api-exposer.js +0 -38
- package/src/api/api-exposer/decorators.d.ts +0 -10
- package/src/api/api-exposer/decorators.js +0 -18
- package/src/api/api-exposer/index.d.ts +0 -4
- package/src/api/api-exposer/index.js +0 -20
- package/src/api/api-exposer/strategies/index.d.ts +0 -1
- package/src/api/api-exposer/strategies/index.js +0 -17
- package/src/api/api-exposer/strategies/openfin-channels/channels-consumer.d.ts +0 -14
- package/src/api/api-exposer/strategies/openfin-channels/channels-consumer.js +0 -20
- package/src/api/api-exposer/strategies/openfin-channels/channels-exposer.d.ts +0 -20
- package/src/api/api-exposer/strategies/openfin-channels/channels-exposer.js +0 -23
- package/src/api/api-exposer/strategies/openfin-channels/index.d.ts +0 -2
- package/src/api/api-exposer/strategies/openfin-channels/index.js +0 -18
- package/src/api/application/Factory.d.ts +0 -196
- package/src/api/application/Factory.js +0 -278
- package/src/api/application/Instance.d.ts +0 -692
- package/src/api/application/Instance.js +0 -821
- package/src/api/application/index.d.ts +0 -12
- package/src/api/application/index.js +0 -28
- package/src/api/base.d.ts +0 -117
- package/src/api/base.js +0 -246
- package/src/api/clipboard/index.d.ts +0 -172
- package/src/api/clipboard/index.js +0 -200
- package/src/api/events/application.d.ts +0 -158
- package/src/api/events/application.js +0 -14
- package/src/api/events/base.d.ts +0 -42
- package/src/api/events/base.js +0 -2
- package/src/api/events/channel.d.ts +0 -35
- package/src/api/events/channel.js +0 -7
- package/src/api/events/emitterMap.d.ts +0 -11
- package/src/api/events/emitterMap.js +0 -35
- package/src/api/events/eventAggregator.d.ts +0 -5
- package/src/api/events/eventAggregator.js +0 -35
- package/src/api/events/externalApplication.d.ts +0 -24
- package/src/api/events/externalApplication.js +0 -7
- package/src/api/events/frame.d.ts +0 -35
- package/src/api/events/frame.js +0 -2
- package/src/api/events/globalHotkey.d.ts +0 -25
- package/src/api/events/globalHotkey.js +0 -2
- package/src/api/events/platform.d.ts +0 -34
- package/src/api/events/platform.js +0 -10
- package/src/api/events/system.d.ts +0 -126
- package/src/api/events/system.js +0 -15
- package/src/api/events/typedEventEmitter.d.ts +0 -20
- package/src/api/events/typedEventEmitter.js +0 -2
- package/src/api/events/view.d.ts +0 -92
- package/src/api/events/view.js +0 -12
- package/src/api/events/webcontents.d.ts +0 -277
- package/src/api/events/webcontents.js +0 -13
- package/src/api/events/window.d.ts +0 -421
- package/src/api/events/window.js +0 -12
- package/src/api/external-application/Factory.d.ts +0 -34
- package/src/api/external-application/Factory.js +0 -47
- package/src/api/external-application/Instance.d.ts +0 -110
- package/src/api/external-application/Instance.js +0 -117
- package/src/api/external-application/index.d.ts +0 -12
- package/src/api/external-application/index.js +0 -28
- package/src/api/fin.d.ts +0 -54
- package/src/api/fin.js +0 -45
- package/src/api/frame/Factory.d.ts +0 -54
- package/src/api/frame/Factory.js +0 -86
- package/src/api/frame/Instance.d.ts +0 -136
- package/src/api/frame/Instance.js +0 -143
- package/src/api/frame/index.d.ts +0 -14
- package/src/api/frame/index.js +0 -30
- package/src/api/global-hotkey/index.d.ts +0 -106
- package/src/api/global-hotkey/index.js +0 -132
- package/src/api/interappbus/channel/channel.d.ts +0 -285
- package/src/api/interappbus/channel/channel.js +0 -334
- package/src/api/interappbus/channel/channels-docs.d.ts +0 -342
- package/src/api/interappbus/channel/channels-docs.js +0 -401
- package/src/api/interappbus/channel/client.d.ts +0 -117
- package/src/api/interappbus/channel/client.js +0 -181
- package/src/api/interappbus/channel/connection-manager.d.ts +0 -29
- package/src/api/interappbus/channel/connection-manager.js +0 -246
- package/src/api/interappbus/channel/index.d.ts +0 -189
- package/src/api/interappbus/channel/index.js +0 -333
- package/src/api/interappbus/channel/protocols/classic/message-receiver.d.ts +0 -13
- package/src/api/interappbus/channel/protocols/classic/message-receiver.js +0 -73
- package/src/api/interappbus/channel/protocols/classic/strategy.d.ts +0 -24
- package/src/api/interappbus/channel/protocols/classic/strategy.js +0 -101
- package/src/api/interappbus/channel/protocols/combined/strategy.d.ts +0 -20
- package/src/api/interappbus/channel/protocols/combined/strategy.js +0 -58
- package/src/api/interappbus/channel/protocols/index.d.ts +0 -47
- package/src/api/interappbus/channel/protocols/index.js +0 -2
- package/src/api/interappbus/channel/protocols/protocol-manager.d.ts +0 -10
- package/src/api/interappbus/channel/protocols/protocol-manager.js +0 -43
- package/src/api/interappbus/channel/protocols/rtc/endpoint.d.ts +0 -25
- package/src/api/interappbus/channel/protocols/rtc/endpoint.js +0 -141
- package/src/api/interappbus/channel/protocols/rtc/ice-manager.d.ts +0 -30
- package/src/api/interappbus/channel/protocols/rtc/ice-manager.js +0 -130
- package/src/api/interappbus/channel/protocols/rtc/strategy.d.ts +0 -24
- package/src/api/interappbus/channel/protocols/rtc/strategy.js +0 -85
- package/src/api/interappbus/channel/protocols/strategy-types.d.ts +0 -13
- package/src/api/interappbus/channel/protocols/strategy-types.js +0 -2
- package/src/api/interappbus/channel/protocols/strategy.d.ts +0 -17
- package/src/api/interappbus/channel/protocols/strategy.js +0 -2
- package/src/api/interappbus/channel/provider.d.ts +0 -206
- package/src/api/interappbus/channel/provider.js +0 -338
- package/src/api/interappbus/index.d.ts +0 -120
- package/src/api/interappbus/index.js +0 -210
- package/src/api/interop/Factory.d.ts +0 -57
- package/src/api/interop/Factory.js +0 -96
- package/src/api/interop/InteropBroker.d.ts +0 -665
- package/src/api/interop/InteropBroker.js +0 -1313
- package/src/api/interop/InteropClient.d.ts +0 -502
- package/src/api/interop/InteropClient.js +0 -683
- package/src/api/interop/SessionContextGroupBroker.d.ts +0 -27
- package/src/api/interop/SessionContextGroupBroker.js +0 -108
- package/src/api/interop/SessionContextGroupClient.d.ts +0 -21
- package/src/api/interop/SessionContextGroupClient.js +0 -86
- package/src/api/interop/fdc3/PrivateChannelClient.d.ts +0 -20
- package/src/api/interop/fdc3/PrivateChannelClient.js +0 -90
- package/src/api/interop/fdc3/PrivateChannelProvider.d.ts +0 -55
- package/src/api/interop/fdc3/PrivateChannelProvider.js +0 -276
- package/src/api/interop/fdc3/documentationStub.d.ts +0 -14
- package/src/api/interop/fdc3/documentationStub.js +0 -17
- package/src/api/interop/fdc3/fdc3-1.2.d.ts +0 -205
- package/src/api/interop/fdc3/fdc3-1.2.js +0 -435
- package/src/api/interop/fdc3/fdc3-2.0.d.ts +0 -298
- package/src/api/interop/fdc3/fdc3-2.0.js +0 -479
- package/src/api/interop/fdc3/fdc3.d.ts +0 -12
- package/src/api/interop/fdc3/fdc3.js +0 -35
- package/src/api/interop/fdc3/overrideCheck.d.ts +0 -4
- package/src/api/interop/fdc3/overrideCheck.js +0 -32
- package/src/api/interop/fdc3/shapes/fdc3v1.d.ts +0 -53
- package/src/api/interop/fdc3/shapes/fdc3v1.js +0 -4
- package/src/api/interop/fdc3/shapes/fdc3v2.d.ts +0 -75
- package/src/api/interop/fdc3/shapes/fdc3v2.js +0 -2
- package/src/api/interop/fdc3/utils.d.ts +0 -45
- package/src/api/interop/fdc3/utils.js +0 -239
- package/src/api/interop/fdc3/versions.d.ts +0 -1
- package/src/api/interop/fdc3/versions.js +0 -2
- package/src/api/interop/index.d.ts +0 -12
- package/src/api/interop/index.js +0 -28
- package/src/api/interop/utils.d.ts +0 -18
- package/src/api/interop/utils.js +0 -61
- package/src/api/me.d.ts +0 -40
- package/src/api/me.js +0 -134
- package/src/api/platform/Factory.d.ts +0 -171
- package/src/api/platform/Factory.js +0 -240
- package/src/api/platform/Instance.d.ts +0 -653
- package/src/api/platform/Instance.js +0 -834
- package/src/api/platform/common-utils.d.ts +0 -7
- package/src/api/platform/common-utils.js +0 -16
- package/src/api/platform/index.d.ts +0 -12
- package/src/api/platform/index.js +0 -28
- package/src/api/platform/layout/Factory.d.ts +0 -91
- package/src/api/platform/layout/Factory.js +0 -151
- package/src/api/platform/layout/Instance.d.ts +0 -192
- package/src/api/platform/layout/Instance.js +0 -224
- package/src/api/platform/layout/controllers/layout-content-cache.d.ts +0 -9
- package/src/api/platform/layout/controllers/layout-content-cache.js +0 -54
- package/src/api/platform/layout/controllers/layout-entities-controller.d.ts +0 -119
- package/src/api/platform/layout/controllers/layout-entities-controller.js +0 -287
- package/src/api/platform/layout/entities/layout-entities.d.ts +0 -427
- package/src/api/platform/layout/entities/layout-entities.js +0 -504
- package/src/api/platform/layout/entities/shapes.d.ts +0 -6
- package/src/api/platform/layout/entities/shapes.js +0 -2
- package/src/api/platform/layout/index.d.ts +0 -11
- package/src/api/platform/layout/index.js +0 -27
- package/src/api/platform/layout/layout.constants.d.ts +0 -1
- package/src/api/platform/layout/layout.constants.js +0 -4
- package/src/api/platform/layout/shapes.d.ts +0 -16
- package/src/api/platform/layout/shapes.js +0 -2
- package/src/api/platform/layout/utils/layout-traversal.d.ts +0 -4
- package/src/api/platform/layout/utils/layout-traversal.js +0 -65
- package/src/api/platform/provider.d.ts +0 -510
- package/src/api/platform/provider.js +0 -2
- package/src/api/snapshot-source/Factory.d.ts +0 -53
- package/src/api/snapshot-source/Factory.js +0 -81
- package/src/api/snapshot-source/Instance.d.ts +0 -53
- package/src/api/snapshot-source/Instance.js +0 -154
- package/src/api/snapshot-source/index.d.ts +0 -12
- package/src/api/snapshot-source/index.js +0 -28
- package/src/api/snapshot-source/utils.d.ts +0 -2
- package/src/api/snapshot-source/utils.js +0 -6
- package/src/api/system/index.d.ts +0 -1468
- package/src/api/system/index.js +0 -1851
- package/src/api/view/Factory.d.ts +0 -88
- package/src/api/view/Factory.js +0 -141
- package/src/api/view/Instance.d.ts +0 -601
- package/src/api/view/Instance.js +0 -671
- package/src/api/view/index.d.ts +0 -12
- package/src/api/view/index.js +0 -28
- package/src/api/webcontents/main.d.ts +0 -922
- package/src/api/webcontents/main.js +0 -1046
- package/src/api/window/Factory.d.ts +0 -96
- package/src/api/window/Factory.js +0 -142
- package/src/api/window/Instance.d.ts +0 -1598
- package/src/api/window/Instance.js +0 -1851
- package/src/api/window/index.d.ts +0 -14
- package/src/api/window/index.js +0 -30
- package/src/browser.d.ts +0 -10
- package/src/browser.js +0 -36
- package/src/environment/browser.d.ts +0 -29
- package/src/environment/browser.js +0 -60
- package/src/environment/environment.d.ts +0 -33
- package/src/environment/environment.js +0 -4
- package/src/environment/mockEnvironment.d.ts +0 -27
- package/src/environment/mockEnvironment.js +0 -61
- package/src/environment/node-env.d.ts +0 -29
- package/src/environment/node-env.js +0 -72
- package/src/fdc3.d.ts +0 -3
- package/src/fdc3.js +0 -9
- package/src/mock.d.ts +0 -3
- package/src/mock.js +0 -18
- package/src/namespaces.d.ts +0 -22
- package/src/namespaces.js +0 -26
- package/src/shapes/ERROR_BOX_TYPES.d.ts +0 -1
- package/src/shapes/ERROR_BOX_TYPES.js +0 -2
- package/src/shapes/WebOptions.d.ts +0 -13
- package/src/shapes/WebOptions.js +0 -2
- package/src/shapes/WindowOptions.d.ts +0 -43
- package/src/shapes/WindowOptions.js +0 -2
- package/src/shapes/protocol.d.ts +0 -204
- package/src/shapes/protocol.js +0 -2
- package/src/transport/mockWire.d.ts +0 -11
- package/src/transport/mockWire.js +0 -26
- package/src/transport/transport-errors.d.ts +0 -31
- package/src/transport/transport-errors.js +0 -79
- package/src/transport/transport.d.ts +0 -73
- package/src/transport/transport.js +0 -219
- package/src/transport/wire.d.ts +0 -77
- package/src/transport/wire.js +0 -36
- package/src/util/asyncFilter.d.ts +0 -1
- package/src/util/asyncFilter.js +0 -7
- package/src/util/channel-api-relay.d.ts +0 -13
- package/src/util/channel-api-relay.js +0 -47
- package/src/util/errors.d.ts +0 -10
- package/src/util/errors.js +0 -12
- package/src/util/exhaustive.d.ts +0 -1
- package/src/util/exhaustive.js +0 -7
- package/src/util/http.d.ts +0 -11
- package/src/util/http.js +0 -90
- package/src/util/inaccessibleObject.d.ts +0 -2
- package/src/util/inaccessibleObject.js +0 -49
- package/src/util/lazy.d.ts +0 -34
- package/src/util/lazy.js +0 -54
- package/src/util/normalize-config.d.ts +0 -3
- package/src/util/normalize-config.js +0 -52
- package/src/util/promises.d.ts +0 -5
- package/src/util/promises.js +0 -27
- package/src/util/ref-counter.d.ts +0 -7
- package/src/util/ref-counter.js +0 -52
- package/src/util/reversible-map.d.ts +0 -11
- package/src/util/reversible-map.js +0 -49
- package/src/util/runtimeVersioning.d.ts +0 -3
- package/src/util/runtimeVersioning.js +0 -25
- package/src/util/utilTypes.d.ts +0 -8
- package/src/util/utilTypes.js +0 -2
- package/src/util/validate.d.ts +0 -3
- package/src/util/validate.js +0 -11
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Namespace for events that can be transmitted on an OpenFin Platform's EventEmitter.
|
|
3
|
-
*
|
|
4
|
-
* The Platform `EventEmitter` is a superset of the Application's `EventEmitter`,
|
|
5
|
-
* meaning it can listen to all Application events, along with some Platform-specific events.
|
|
6
|
-
*
|
|
7
|
-
* @packageDocumentation
|
|
8
|
-
*/
|
|
9
|
-
import { ApplicationEvent } from './application';
|
|
10
|
-
import { BaseEvent } from './base';
|
|
11
|
-
/**
|
|
12
|
-
* Generated when a new Platform's API becomes responsive.
|
|
13
|
-
*/
|
|
14
|
-
export type PlatformApiReadyEvent = BaseEvent & {
|
|
15
|
-
topic: 'application';
|
|
16
|
-
type: 'platform-api-ready';
|
|
17
|
-
};
|
|
18
|
-
/**
|
|
19
|
-
* Generated when a platform.ApplySnapshot call is resolved.
|
|
20
|
-
* @remarks The call is resolved when the following conditions are met for all windows in the snapshot:
|
|
21
|
-
* 1. The window has been created
|
|
22
|
-
* 2. The window has a responsive API
|
|
23
|
-
* 3. If a window has a layout property, the 'layout-ready' event has fired
|
|
24
|
-
*
|
|
25
|
-
* _Note_ - In the case of using a custom provider, if a window has a layout property but does not call _Layout.init_ this event may not fire.
|
|
26
|
-
*/
|
|
27
|
-
export type PlatformSnapshotAppliedEvent = BaseEvent & {
|
|
28
|
-
topic: 'application';
|
|
29
|
-
type: 'platform-snapshot-applied';
|
|
30
|
-
};
|
|
31
|
-
/**
|
|
32
|
-
* A Platform event.
|
|
33
|
-
*/
|
|
34
|
-
export type PlatformEvent = ApplicationEvent | PlatformApiReadyEvent | PlatformSnapshotAppliedEvent;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* Namespace for events that can be transmitted on an OpenFin Platform's EventEmitter.
|
|
4
|
-
*
|
|
5
|
-
* The Platform `EventEmitter` is a superset of the Application's `EventEmitter`,
|
|
6
|
-
* meaning it can listen to all Application events, along with some Platform-specific events.
|
|
7
|
-
*
|
|
8
|
-
* @packageDocumentation
|
|
9
|
-
*/
|
|
10
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,126 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Namespace for runtime-wide OpenFin events that transmit on the OpenFin System event emitter. Includes events
|
|
3
|
-
* re-propagated from individual applications, windows, and views (prefixed with `application-`, `window-`, and `view-`). All
|
|
4
|
-
* event propagations are visible at the System level, regardless of source, so transitive re-propagations (e.g. from view to window)
|
|
5
|
-
* are visible in their entirety. Propagated events from WebContents (windows, views, frames) to the Application level will *not*
|
|
6
|
-
* transitively re-propagate to the System level, because they are already visible at the system level and contain the identity
|
|
7
|
-
* of the application.
|
|
8
|
-
*
|
|
9
|
-
* For example, an application's "closed" event will fire as 'application-closed' at the system level. A view's 'shown' event
|
|
10
|
-
* will be visible as both 'view-shown' and 'window-view-shown' at the system level, but *not* as `application-window-view-shown`.
|
|
11
|
-
*
|
|
12
|
-
* @packageDocumentation
|
|
13
|
-
*/
|
|
14
|
-
import type * as OpenFin from '../../OpenFin';
|
|
15
|
-
import { PropagatedApplicationEvent } from './application';
|
|
16
|
-
import { BaseEvent, IdentityEvent } from './base';
|
|
17
|
-
import { PropagatedViewEvent } from './view';
|
|
18
|
-
import { PropagatedWindowEvent } from './window';
|
|
19
|
-
import { AppVersionCompleteEvent, AppVersionErrorEvent, AppVersionProgressEvent, AppVersionRuntimeStatusEvent } from '../../OpenFin';
|
|
20
|
-
/**
|
|
21
|
-
* @internal
|
|
22
|
-
*/
|
|
23
|
-
export type NotRequested<EventType> = EventType extends `${infer U}-requested` ? never : EventType;
|
|
24
|
-
/**
|
|
25
|
-
* @internal
|
|
26
|
-
*/
|
|
27
|
-
export type ExcludeRequested<Event extends {
|
|
28
|
-
type: string;
|
|
29
|
-
}> = Extract<Event, {
|
|
30
|
-
type: NotRequested<Event['type']>;
|
|
31
|
-
}>;
|
|
32
|
-
/**
|
|
33
|
-
* Generated when a user enters or returns from idle state.
|
|
34
|
-
* @remarks This method is continuously generated every minute while the user is in idle.
|
|
35
|
-
* A user enters idle state when the computer is locked or when there has been no keyboard/mouse activity for 1 minute.
|
|
36
|
-
* A user returns from idle state when the computer is unlocked or keyboard/mouse activity has resumed.
|
|
37
|
-
*/
|
|
38
|
-
export type IdleEvent = {
|
|
39
|
-
type: 'idle-state-changed';
|
|
40
|
-
elapsedTime: number;
|
|
41
|
-
isIdle: boolean;
|
|
42
|
-
};
|
|
43
|
-
/**
|
|
44
|
-
* Generated on changes of a monitor's size/location.
|
|
45
|
-
* @remarks A monitor's size changes when the taskbar is resized or relocated.
|
|
46
|
-
* The available space of a monitor defines a rectangle that is not occupied by the taskbar
|
|
47
|
-
*/
|
|
48
|
-
export type MonitorEvent = OpenFin.MonitorInfo & {
|
|
49
|
-
type: 'monitor-info-changed';
|
|
50
|
-
};
|
|
51
|
-
/**
|
|
52
|
-
* Generated on changes to a user’s local computer session.
|
|
53
|
-
*/
|
|
54
|
-
export type SessionChangedEvent = {
|
|
55
|
-
type: 'session-changed';
|
|
56
|
-
reason: 'lock' | 'unlock' | 'remote-connect' | 'remote-disconnect' | 'unknown';
|
|
57
|
-
};
|
|
58
|
-
/**
|
|
59
|
-
* An app versioning event.
|
|
60
|
-
*/
|
|
61
|
-
export type AppVersionEvent = AppVersionProgressEvent | AppVersionRuntimeStatusEvent | AppVersionCompleteEvent | AppVersionErrorEvent;
|
|
62
|
-
/**
|
|
63
|
-
* An app versioning event type.
|
|
64
|
-
*/
|
|
65
|
-
export type AppVersionEventType = AppVersionEvent['type'];
|
|
66
|
-
/**
|
|
67
|
-
* @internal
|
|
68
|
-
*/
|
|
69
|
-
export type IdEventType = WithId<AppVersionEventType>;
|
|
70
|
-
/**
|
|
71
|
-
* @internal
|
|
72
|
-
*/
|
|
73
|
-
export type WithId<T extends AppVersionEventType> = `${T}.${string}`;
|
|
74
|
-
/**
|
|
75
|
-
* @internal
|
|
76
|
-
*/
|
|
77
|
-
export type WithoutId<T extends string> = T extends WithId<infer U> ? U : never;
|
|
78
|
-
/**
|
|
79
|
-
* @internal
|
|
80
|
-
*/
|
|
81
|
-
export type AppVersionTypeFromIdEvent<T extends IdEventType> = Extract<AppVersionEvent, {
|
|
82
|
-
type: WithoutId<T>;
|
|
83
|
-
}>;
|
|
84
|
-
/**
|
|
85
|
-
* @internal
|
|
86
|
-
*/
|
|
87
|
-
export type EventWithId<Event extends AppVersionEvent> = Event extends infer E extends {
|
|
88
|
-
type: AppVersionEventType;
|
|
89
|
-
} ? Omit<E, 'type'> & {
|
|
90
|
-
type: WithId<E['type']>;
|
|
91
|
-
topic: 'system';
|
|
92
|
-
appVersionId: string;
|
|
93
|
-
} : never;
|
|
94
|
-
/**
|
|
95
|
-
* @internal
|
|
96
|
-
*/
|
|
97
|
-
export type AppVersionEventWithId = EventWithId<AppVersionEvent>;
|
|
98
|
-
/**
|
|
99
|
-
* Generated when an application is created.
|
|
100
|
-
*/
|
|
101
|
-
export type ApplicationCreatedEvent = IdentityEvent & {
|
|
102
|
-
type: 'application-created';
|
|
103
|
-
};
|
|
104
|
-
/**
|
|
105
|
-
* Generated when the desktop icon is clicked while it's already running.
|
|
106
|
-
*/
|
|
107
|
-
export type DesktopIconClickedEvent = BaseEvent & {
|
|
108
|
-
type: 'desktop-icon-clicked';
|
|
109
|
-
};
|
|
110
|
-
/**
|
|
111
|
-
* Generated when system shutdown or log off.
|
|
112
|
-
* @internal
|
|
113
|
-
*/
|
|
114
|
-
export type SystemShutdownEvent = BaseEvent & {
|
|
115
|
-
type: 'system-shutdown';
|
|
116
|
-
};
|
|
117
|
-
/**
|
|
118
|
-
* A system event.
|
|
119
|
-
*/
|
|
120
|
-
export type SystemEvent = {
|
|
121
|
-
topic: 'system';
|
|
122
|
-
} & (ExcludeRequested<PropagatedWindowEvent> | PropagatedViewEvent | PropagatedApplicationEvent | ApplicationCreatedEvent | DesktopIconClickedEvent | IdleEvent | MonitorEvent | SessionChangedEvent | AppVersionEventWithId | SystemShutdownEvent);
|
|
123
|
-
/**
|
|
124
|
-
* A system event type.
|
|
125
|
-
*/
|
|
126
|
-
export type SystemEventType = SystemEvent['type'];
|
package/src/api/events/system.js
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* Namespace for runtime-wide OpenFin events that transmit on the OpenFin System event emitter. Includes events
|
|
4
|
-
* re-propagated from individual applications, windows, and views (prefixed with `application-`, `window-`, and `view-`). All
|
|
5
|
-
* event propagations are visible at the System level, regardless of source, so transitive re-propagations (e.g. from view to window)
|
|
6
|
-
* are visible in their entirety. Propagated events from WebContents (windows, views, frames) to the Application level will *not*
|
|
7
|
-
* transitively re-propagate to the System level, because they are already visible at the system level and contain the identity
|
|
8
|
-
* of the application.
|
|
9
|
-
*
|
|
10
|
-
* For example, an application's "closed" event will fire as 'application-closed' at the system level. A view's 'shown' event
|
|
11
|
-
* will be visible as both 'view-shown' and 'window-view-shown' at the system level, but *not* as `application-window-view-shown`.
|
|
12
|
-
*
|
|
13
|
-
* @packageDocumentation
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
export type Listener<T extends {
|
|
2
|
-
type: string;
|
|
3
|
-
}> = (payload: T) => void;
|
|
4
|
-
export interface TypedEventEmitter<Event extends {
|
|
5
|
-
type: string;
|
|
6
|
-
}, EmitterEventType = Event['type']> {
|
|
7
|
-
on<EventType extends EmitterEventType>(event: EventType, listener: Listener<Extract<Event, {
|
|
8
|
-
type: EventType;
|
|
9
|
-
}>>): this;
|
|
10
|
-
addListener<EventType extends EmitterEventType>(event: EventType, listener: Listener<Extract<Event, {
|
|
11
|
-
type: EventType;
|
|
12
|
-
}>>): this;
|
|
13
|
-
removeListener<EventType extends EmitterEventType>(event: EventType, listener: Listener<Extract<Event, {
|
|
14
|
-
type: EventType;
|
|
15
|
-
}>>): this;
|
|
16
|
-
removeAllListeners<EventType extends EmitterEventType>(event?: EmitterEventType): this;
|
|
17
|
-
emit<EventType extends EmitterEventType>(event: EventType, payload: Extract<Event, {
|
|
18
|
-
type: EventType;
|
|
19
|
-
}>): boolean;
|
|
20
|
-
}
|
package/src/api/events/view.d.ts
DELETED
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Namespace for events that can be transmitted on an OpenFin View's EventEmitter.
|
|
3
|
-
*
|
|
4
|
-
* View events fall into two categories: propagated and non-propagated. Propagated events will
|
|
5
|
-
* be re-emitted on the parent window of the target view, prefixed with "view-". For example,
|
|
6
|
-
* the "shown" event will be re-emitted on the parent window as "view-shown". Non-propagated events
|
|
7
|
-
* will not be re-emitted on the parent window.
|
|
8
|
-
*
|
|
9
|
-
* @packageDocumentation
|
|
10
|
-
*/
|
|
11
|
-
import type * as OpenFin from '../../OpenFin';
|
|
12
|
-
import { NonPropagatedWebContentsEvent, WillPropagateWebContentsEvent } from './webcontents';
|
|
13
|
-
import { NamedEvent, PropagatedEvent } from './base';
|
|
14
|
-
/**
|
|
15
|
-
* A base View event.
|
|
16
|
-
*/
|
|
17
|
-
export type BaseViewEvent = NamedEvent & {
|
|
18
|
-
target: OpenFin.Identity;
|
|
19
|
-
viewIdentity: OpenFin.Identity;
|
|
20
|
-
};
|
|
21
|
-
/**
|
|
22
|
-
* Generated when a View changes its window target.
|
|
23
|
-
* @remarks This event will fire during creation of a View.
|
|
24
|
-
* In that case, previousTarget identity will be the same as target identity.
|
|
25
|
-
*/
|
|
26
|
-
export type TargetChangedEvent = BaseViewEvent & {
|
|
27
|
-
type: 'target-changed';
|
|
28
|
-
previousTarget: OpenFin.Identity;
|
|
29
|
-
};
|
|
30
|
-
/**
|
|
31
|
-
* A View event that does not propagate to (republish on) parent topics.
|
|
32
|
-
*/
|
|
33
|
-
export type NonPropagatedViewEvent = BaseViewEvent & NonPropagatedWebContentsEvent;
|
|
34
|
-
/**
|
|
35
|
-
* Generated when a View is attached to a window.
|
|
36
|
-
*/
|
|
37
|
-
export type AttachedEvent = BaseViewEvent & {
|
|
38
|
-
type: 'attached';
|
|
39
|
-
};
|
|
40
|
-
/**
|
|
41
|
-
* Generated when a View is created.
|
|
42
|
-
*/
|
|
43
|
-
export type CreatedEvent = BaseViewEvent & {
|
|
44
|
-
type: 'created';
|
|
45
|
-
};
|
|
46
|
-
/**
|
|
47
|
-
* Generated when a View is destroyed.
|
|
48
|
-
*/
|
|
49
|
-
export type DestroyedEvent = BaseViewEvent & {
|
|
50
|
-
type: 'destroyed';
|
|
51
|
-
};
|
|
52
|
-
/**
|
|
53
|
-
* Generated when a View is hidden.
|
|
54
|
-
*/
|
|
55
|
-
export type HiddenEvent = BaseViewEvent & {
|
|
56
|
-
type: 'hidden';
|
|
57
|
-
};
|
|
58
|
-
/**
|
|
59
|
-
* Generated when a keyboard shortcut defined in the `hotkeys` array in [View options](OpenFin.ViewOptions.html) is pressed inside the view.
|
|
60
|
-
* @remarks For reference on keyboard event properties see [KeyboardEvent](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent).
|
|
61
|
-
*/
|
|
62
|
-
export type HotkeyEvent = BaseViewEvent & {
|
|
63
|
-
type: 'hotkey';
|
|
64
|
-
};
|
|
65
|
-
/**
|
|
66
|
-
* Generated when a View is shown. This event will fire during creation of a View.
|
|
67
|
-
*/
|
|
68
|
-
export type ShownEvent = BaseViewEvent & {
|
|
69
|
-
type: 'shown';
|
|
70
|
-
};
|
|
71
|
-
/**
|
|
72
|
-
* A View event that does propagate to (republish on) parent topics.
|
|
73
|
-
*/
|
|
74
|
-
export type WillPropagateViewEvent = WillPropagateWebContentsEvent | AttachedEvent | CreatedEvent | DestroyedEvent | HiddenEvent | HotkeyEvent | ShownEvent | TargetChangedEvent;
|
|
75
|
-
/**
|
|
76
|
-
* A View event.
|
|
77
|
-
*/
|
|
78
|
-
export type ViewEvent = {
|
|
79
|
-
topic: 'view';
|
|
80
|
-
} & (NonPropagatedViewEvent | WillPropagateViewEvent);
|
|
81
|
-
/**
|
|
82
|
-
* A View event type.
|
|
83
|
-
*/
|
|
84
|
-
export type ViewEventType = ViewEvent['type'];
|
|
85
|
-
/**
|
|
86
|
-
* A propagated View event.
|
|
87
|
-
*/
|
|
88
|
-
export type PropagatedViewEvent = PropagatedEvent<'view', WillPropagateViewEvent>;
|
|
89
|
-
/**
|
|
90
|
-
* A propagated View event type.
|
|
91
|
-
*/
|
|
92
|
-
export type PropagatedViewEventType = PropagatedViewEvent['type'];
|
package/src/api/events/view.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* Namespace for events that can be transmitted on an OpenFin View's EventEmitter.
|
|
4
|
-
*
|
|
5
|
-
* View events fall into two categories: propagated and non-propagated. Propagated events will
|
|
6
|
-
* be re-emitted on the parent window of the target view, prefixed with "view-". For example,
|
|
7
|
-
* the "shown" event will be re-emitted on the parent window as "view-shown". Non-propagated events
|
|
8
|
-
* will not be re-emitted on the parent window.
|
|
9
|
-
*
|
|
10
|
-
* @packageDocumentation
|
|
11
|
-
*/
|
|
12
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,277 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Namespace for events shared by all OpenFin WebContents elements (i.e. windows, views, and frames).
|
|
3
|
-
*
|
|
4
|
-
* WebContents events are divided into two groups: propagating and non-propagating. Propagating events
|
|
5
|
-
* will re-emit on parent entities - e.g., a propagating event in a view will also be emitted on the view's
|
|
6
|
-
* parent window, and propagating events in a window will also be emitted on the window's parent application.
|
|
7
|
-
*
|
|
8
|
-
* Non-propagating events will not re-emit on parent entities.
|
|
9
|
-
*
|
|
10
|
-
* @packageDocumentation
|
|
11
|
-
*/
|
|
12
|
-
import type * as OpenFin from '../../OpenFin';
|
|
13
|
-
import { NamedEvent } from './base';
|
|
14
|
-
import { CrashedEvent } from './application';
|
|
15
|
-
type BaseLoadFailedEvent = NamedEvent & {
|
|
16
|
-
errorCode: number;
|
|
17
|
-
errorDescription: string;
|
|
18
|
-
validatedURL: string;
|
|
19
|
-
isMainFrame: boolean;
|
|
20
|
-
};
|
|
21
|
-
/**
|
|
22
|
-
* Generated when an HTTP load was cancelled or failed.
|
|
23
|
-
*/
|
|
24
|
-
export type ResourceLoadFailedEvent = BaseLoadFailedEvent & {
|
|
25
|
-
type: 'resource-load-failed';
|
|
26
|
-
};
|
|
27
|
-
/**
|
|
28
|
-
* Generated when an HTTP resource request has received response details.
|
|
29
|
-
*/
|
|
30
|
-
export type ResourceResponseReceivedEvent = NamedEvent & {
|
|
31
|
-
type: 'resource-response-received';
|
|
32
|
-
status: boolean;
|
|
33
|
-
newUrl: string;
|
|
34
|
-
originalUrl: string;
|
|
35
|
-
httpResponseCode: number;
|
|
36
|
-
requestMethod: string;
|
|
37
|
-
referrer: string;
|
|
38
|
-
headers: any;
|
|
39
|
-
resourceType: 'mainFrame' | 'subFrame' | 'styleSheet' | 'script' | 'image' | 'object' | 'xhr' | 'other';
|
|
40
|
-
};
|
|
41
|
-
/**
|
|
42
|
-
* Generated when page title is set during navigation.
|
|
43
|
-
* @remarks explicitSet is false when title is synthesized from file url.
|
|
44
|
-
*/
|
|
45
|
-
export type PageTitleUpdatedEvent = NamedEvent & {
|
|
46
|
-
type: 'page-title-updated';
|
|
47
|
-
title: string;
|
|
48
|
-
};
|
|
49
|
-
/**
|
|
50
|
-
* Generated when navigating to a URL that fails certificate validation.
|
|
51
|
-
*/
|
|
52
|
-
export type CertificateErrorEvent = NamedEvent & {
|
|
53
|
-
type: 'certificate-error';
|
|
54
|
-
error: string;
|
|
55
|
-
url: string;
|
|
56
|
-
certificate: OpenFin.Certificate;
|
|
57
|
-
};
|
|
58
|
-
/**
|
|
59
|
-
* Generated when the certificate selection dialog is shown.
|
|
60
|
-
*/
|
|
61
|
-
export type CertificateSelectionShownEvent = NamedEvent & {
|
|
62
|
-
type: 'certificate-selection-shown';
|
|
63
|
-
url: string;
|
|
64
|
-
certificates: OpenFin.Certificate[];
|
|
65
|
-
};
|
|
66
|
-
/**
|
|
67
|
-
* Generated when page receives favicon urls.
|
|
68
|
-
*/
|
|
69
|
-
export type FaviconUpdatedEvent = NamedEvent & {
|
|
70
|
-
type: 'page-favicon-updated';
|
|
71
|
-
favicons: string[];
|
|
72
|
-
};
|
|
73
|
-
/**
|
|
74
|
-
* Generated when view navigation is rejected as per contentNavigation allowlist/denylist rules.
|
|
75
|
-
*/
|
|
76
|
-
export type NavigationRejectedEvent = NamedEvent & {
|
|
77
|
-
type: 'navigation-rejected';
|
|
78
|
-
sourceName?: string;
|
|
79
|
-
url: string;
|
|
80
|
-
};
|
|
81
|
-
type BaseUrlEvent = NamedEvent & {
|
|
82
|
-
type: 'url-changed';
|
|
83
|
-
url: string;
|
|
84
|
-
};
|
|
85
|
-
/**
|
|
86
|
-
* Generated when navigation or redirect is completed.
|
|
87
|
-
* @remarks Also emitted for in-page navigations, examples of this occurring are when anchor links are clicked or when the DOM hashchange event is triggered, indicated by isInPage=true.
|
|
88
|
-
* Note that navigating to a url with an anchor in it like http://openfin.co/#my-inpage-anchor will fire 2 events indicating the original navigation (isInPage=false) and then the in-page navigation event (isInPage=true).
|
|
89
|
-
*/
|
|
90
|
-
export type UrlChangedEvent = BaseUrlEvent & ({
|
|
91
|
-
isInPage: true;
|
|
92
|
-
} | {
|
|
93
|
-
isInPage: false;
|
|
94
|
-
httpResponseCode: number;
|
|
95
|
-
httpStatusText: string;
|
|
96
|
-
});
|
|
97
|
-
/**
|
|
98
|
-
* Generated when the navigation is done, i.e. the spinner of the tab will stop spinning, and the onload event is dispatched.
|
|
99
|
-
*/
|
|
100
|
-
export type DidFinishLoadEvent = NamedEvent & {
|
|
101
|
-
type: 'did-finish-load';
|
|
102
|
-
};
|
|
103
|
-
/**
|
|
104
|
-
* Generated when load failed.
|
|
105
|
-
*/
|
|
106
|
-
export type DidFailLoadEvent = BaseLoadFailedEvent & {
|
|
107
|
-
type: 'did-fail-load';
|
|
108
|
-
};
|
|
109
|
-
/**
|
|
110
|
-
* Generated when a result is available when calling findInPage.
|
|
111
|
-
*/
|
|
112
|
-
export type FoundInPageEvent = NamedEvent & {
|
|
113
|
-
type: 'found-in-page';
|
|
114
|
-
} & {
|
|
115
|
-
result: OpenFin.FindInPageResult;
|
|
116
|
-
};
|
|
117
|
-
/**
|
|
118
|
-
* Generated when a WebContents loses focus.
|
|
119
|
-
*/
|
|
120
|
-
export type BlurredEvent = NamedEvent & {
|
|
121
|
-
type: 'blurred';
|
|
122
|
-
};
|
|
123
|
-
/**
|
|
124
|
-
* Generated when a page's theme color changes. This is usually due to encountering a meta tag.
|
|
125
|
-
*/
|
|
126
|
-
export type DidChangeThemeColorEvent = NamedEvent & {
|
|
127
|
-
type: 'did-change-theme-color';
|
|
128
|
-
};
|
|
129
|
-
/**
|
|
130
|
-
* Generated when a WebContents gains focus.
|
|
131
|
-
*/
|
|
132
|
-
export type FocusedEvent = NamedEvent & {
|
|
133
|
-
type: 'focused';
|
|
134
|
-
};
|
|
135
|
-
export type ContentCreationRulesEvent = NamedEvent & {
|
|
136
|
-
/**
|
|
137
|
-
* The absolute url which triggered this event.
|
|
138
|
-
*/
|
|
139
|
-
url: string;
|
|
140
|
-
/**
|
|
141
|
-
* The features string passed to `window.open()`
|
|
142
|
-
*/
|
|
143
|
-
features: string;
|
|
144
|
-
/**
|
|
145
|
-
* The frame name passed to `window.open()`
|
|
146
|
-
*/
|
|
147
|
-
frameName: string;
|
|
148
|
-
/**
|
|
149
|
-
* The rule which triggered this event. May be undefined on `child-window-created` where no rule corresponds to the child Window creation
|
|
150
|
-
*/
|
|
151
|
-
rule: OpenFin.ContentCreationRule;
|
|
152
|
-
/**
|
|
153
|
-
* The features string passed to `window.open()` converted to OpenFin window options
|
|
154
|
-
*/
|
|
155
|
-
parsedFeatures: Partial<OpenFin.WindowOptions>;
|
|
156
|
-
disposition: string;
|
|
157
|
-
};
|
|
158
|
-
/**
|
|
159
|
-
* Generated when a child content is blocked to load.
|
|
160
|
-
*/
|
|
161
|
-
export type ChildContentBlockedEvent = ContentCreationRulesEvent & {
|
|
162
|
-
type: 'child-content-blocked';
|
|
163
|
-
};
|
|
164
|
-
/**
|
|
165
|
-
* Generated when a child content is loaded into a browser.
|
|
166
|
-
*/
|
|
167
|
-
export type ChildContentOpenedInBrowserEvent = ContentCreationRulesEvent & {
|
|
168
|
-
type: 'child-content-opened-in-browser';
|
|
169
|
-
};
|
|
170
|
-
/**
|
|
171
|
-
* Generated when a child View is created.
|
|
172
|
-
*/
|
|
173
|
-
export type ChildViewCreatedEvent = ContentCreationRulesEvent & {
|
|
174
|
-
type: 'child-view-created';
|
|
175
|
-
/**
|
|
176
|
-
* The options the child View was created with.
|
|
177
|
-
*/
|
|
178
|
-
childOptions: OpenFin.ViewOptions;
|
|
179
|
-
};
|
|
180
|
-
/**
|
|
181
|
-
* Generated when a child Window is created.
|
|
182
|
-
*/
|
|
183
|
-
export type ChildWindowCreatedEvent = ContentCreationRulesEvent & {
|
|
184
|
-
type: 'child-window-created';
|
|
185
|
-
/**
|
|
186
|
-
* The options the child Window was created with.
|
|
187
|
-
*/
|
|
188
|
-
childOptions: OpenFin.WindowOptions;
|
|
189
|
-
/**
|
|
190
|
-
* On `child-window-created` rule may be undefined.
|
|
191
|
-
* It is only defined if the rules engine found a match for a user-supplied rule, not in the case of an api call or the default behavior.
|
|
192
|
-
*/
|
|
193
|
-
rule?: OpenFin.ContentCreationRule;
|
|
194
|
-
};
|
|
195
|
-
/**
|
|
196
|
-
* A general file download event without event type.
|
|
197
|
-
*/
|
|
198
|
-
export type FileDownloadEvent = {
|
|
199
|
-
/**
|
|
200
|
-
* The file download state.
|
|
201
|
-
*/
|
|
202
|
-
state: 'started' | 'progressing' | 'cancelled' | 'interrupted' | 'completed';
|
|
203
|
-
/**
|
|
204
|
-
* The url from which the file is being downloaded.
|
|
205
|
-
*/
|
|
206
|
-
url: string;
|
|
207
|
-
/**
|
|
208
|
-
* The file mime type.
|
|
209
|
-
*/
|
|
210
|
-
mimeType: string;
|
|
211
|
-
/**
|
|
212
|
-
* The name used to save the file locally.
|
|
213
|
-
*/
|
|
214
|
-
fileName: string;
|
|
215
|
-
/**
|
|
216
|
-
* The original name of the file.
|
|
217
|
-
*/
|
|
218
|
-
originalFileName: string;
|
|
219
|
-
/**
|
|
220
|
-
* The total size in bytes of the file.
|
|
221
|
-
*/
|
|
222
|
-
totalBytes: number;
|
|
223
|
-
/**
|
|
224
|
-
* The number of seconds since the UNIX epoch when the download was started.
|
|
225
|
-
*/
|
|
226
|
-
startTime: number;
|
|
227
|
-
/**
|
|
228
|
-
* The value of the Content-Disposition field from the response header.
|
|
229
|
-
*/
|
|
230
|
-
contentDisposition: string;
|
|
231
|
-
/**
|
|
232
|
-
* The value of the Last-Modified header.
|
|
233
|
-
*/
|
|
234
|
-
lastModifiedTime: Date;
|
|
235
|
-
/**
|
|
236
|
-
* The value of the ETag header.
|
|
237
|
-
*/
|
|
238
|
-
eTag: string;
|
|
239
|
-
/**
|
|
240
|
-
* The number of bytes of the item that have already been downloaded.
|
|
241
|
-
*/
|
|
242
|
-
downloadedBytes: number;
|
|
243
|
-
} & NamedEvent;
|
|
244
|
-
/**
|
|
245
|
-
* Generated when a file download has started.
|
|
246
|
-
*/
|
|
247
|
-
export type FileDownloadStartedEvent = FileDownloadEvent & {
|
|
248
|
-
type: 'file-download-started';
|
|
249
|
-
state: 'started';
|
|
250
|
-
};
|
|
251
|
-
/**
|
|
252
|
-
* Generated during file download progress.
|
|
253
|
-
*/
|
|
254
|
-
export type FileDownloadProgressEvent = FileDownloadEvent & {
|
|
255
|
-
type: 'file-download-progress';
|
|
256
|
-
state: 'progressing' | 'interrupted';
|
|
257
|
-
};
|
|
258
|
-
/**
|
|
259
|
-
* Generated when a file download has completed.
|
|
260
|
-
*/
|
|
261
|
-
export type FileDownloadCompletedEvent = FileDownloadEvent & {
|
|
262
|
-
type: 'file-download-completed';
|
|
263
|
-
state: 'completed' | 'interrupted' | 'cancelled';
|
|
264
|
-
};
|
|
265
|
-
/**
|
|
266
|
-
* A WebContents event that does propagate to (republish on) parent topics.
|
|
267
|
-
*/
|
|
268
|
-
export type WillPropagateWebContentsEvent = BlurredEvent | CertificateSelectionShownEvent | CrashedEvent | DidChangeThemeColorEvent | FocusedEvent | NavigationRejectedEvent | UrlChangedEvent | DidFailLoadEvent | DidFinishLoadEvent | FaviconUpdatedEvent | PageTitleUpdatedEvent | ResourceLoadFailedEvent | ResourceResponseReceivedEvent | ChildContentBlockedEvent | ChildContentOpenedInBrowserEvent | ChildViewCreatedEvent | ChildWindowCreatedEvent | FileDownloadStartedEvent | FileDownloadProgressEvent | FileDownloadCompletedEvent;
|
|
269
|
-
/**
|
|
270
|
-
* A WebContents event that does not propagate to (republish on) parent topics.
|
|
271
|
-
*/
|
|
272
|
-
export type NonPropagatedWebContentsEvent = FoundInPageEvent | CertificateErrorEvent;
|
|
273
|
-
/**
|
|
274
|
-
* A WebContents event.
|
|
275
|
-
*/
|
|
276
|
-
export type WebContentsEvent = NonPropagatedWebContentsEvent | WillPropagateWebContentsEvent;
|
|
277
|
-
export {};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* Namespace for events shared by all OpenFin WebContents elements (i.e. windows, views, and frames).
|
|
4
|
-
*
|
|
5
|
-
* WebContents events are divided into two groups: propagating and non-propagating. Propagating events
|
|
6
|
-
* will re-emit on parent entities - e.g., a propagating event in a view will also be emitted on the view's
|
|
7
|
-
* parent window, and propagating events in a window will also be emitted on the window's parent application.
|
|
8
|
-
*
|
|
9
|
-
* Non-propagating events will not re-emit on parent entities.
|
|
10
|
-
*
|
|
11
|
-
* @packageDocumentation
|
|
12
|
-
*/
|
|
13
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|