@openfin/node-adapter 34.78.16 → 34.78.17
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/node-adapter-alpha.d.ts +49 -27
- package/out/node-adapter-beta.d.ts +49 -27
- package/out/node-adapter-public.d.ts +49 -27
- package/out/node-adapter.d.ts +51 -24
- package/out/node-adapter.js +320 -83
- package/package.json +1 -1
@@ -867,7 +867,7 @@ declare type ApplicationEvent = {
|
|
867
867
|
topic: 'application';
|
868
868
|
} & (PropagatedViewEvent | PropagatedWindowEvent | ApplicationWindowEvent | WillPropagateApplicationEvent);
|
869
869
|
|
870
|
-
declare type ApplicationEvent_2 = ApplicationEvents.ApplicationEvent;
|
870
|
+
declare type ApplicationEvent_2 = Events.ApplicationEvents.ApplicationEvent;
|
871
871
|
|
872
872
|
declare namespace ApplicationEvents {
|
873
873
|
export {
|
@@ -1626,7 +1626,7 @@ declare type BaseEvent = {
|
|
1626
1626
|
type: string;
|
1627
1627
|
};
|
1628
1628
|
|
1629
|
-
declare type BaseEvent_2 = BaseEvents.BaseEvent;
|
1629
|
+
declare type BaseEvent_2 = Events.BaseEvents.BaseEvent;
|
1630
1630
|
|
1631
1631
|
declare namespace BaseEvents {
|
1632
1632
|
export {
|
@@ -3878,9 +3878,7 @@ declare class EmitterBase<EmitterEvent extends BaseEvent, EmitterEventType exten
|
|
3878
3878
|
protected identity: ApplicationIdentity;
|
3879
3879
|
constructor(wire: Transport, topic: string, ...additionalAccessors: string[]);
|
3880
3880
|
eventNames: () => (string | symbol)[];
|
3881
|
-
|
3882
|
-
type: EventType;
|
3883
|
-
}>, ...args: any[]) => boolean;
|
3881
|
+
/* Excluded from this release type: emit */
|
3884
3882
|
private hasEmitter;
|
3885
3883
|
private getOrCreateEmitter;
|
3886
3884
|
listeners: (type: string | symbol) => Function[];
|
@@ -3889,6 +3887,8 @@ declare class EmitterBase<EmitterEvent extends BaseEvent, EmitterEventType exten
|
|
3889
3887
|
protected deregisterEventListener: (eventType: EmitterEventType, options?: OpenFin.SubscriptionOptions) => Promise<void | EventEmitter>;
|
3890
3888
|
/**
|
3891
3889
|
* Adds a listener to the end of the listeners array for the specified event.
|
3890
|
+
*
|
3891
|
+
* @remarks Event payloads are documented in the {@link OpenFin.Events} namespace.
|
3892
3892
|
*/
|
3893
3893
|
on<EventType extends EmitterEventType>(eventType: EventType, listener: EventHandler<EmitterEvent, EventType>, options?: OpenFin.SubscriptionOptions): Promise<this>;
|
3894
3894
|
/**
|
@@ -3897,15 +3897,21 @@ declare class EmitterBase<EmitterEvent extends BaseEvent, EmitterEventType exten
|
|
3897
3897
|
addListener<EventType extends EmitterEventType>(eventType: EventType, listener: EventHandler<EmitterEvent, EventType>, options?: OpenFin.SubscriptionOptions): Promise<this>;
|
3898
3898
|
/**
|
3899
3899
|
* Adds a one time listener for the event. The listener is invoked only the first time the event is fired, after which it is removed.
|
3900
|
+
*
|
3901
|
+
* @remarks Event payloads are documented in the {@link OpenFin.Events} namespace.
|
3900
3902
|
*/
|
3901
3903
|
once<EventType extends EmitterEventType>(eventType: EventType, listener: EventHandler<EmitterEvent, EventType>, options?: OpenFin.SubscriptionOptions): Promise<this>;
|
3902
3904
|
/**
|
3903
3905
|
* Adds a listener to the beginning of the listeners array for the specified event.
|
3906
|
+
*
|
3907
|
+
* @remarks Event payloads are documented in the {@link OpenFin.Events} namespace.
|
3904
3908
|
*/
|
3905
3909
|
prependListener<EventType extends EmitterEventType>(eventType: EventType, listener: EventHandler<EmitterEvent, EventType>, options?: OpenFin.SubscriptionOptions): Promise<this>;
|
3906
3910
|
/**
|
3907
3911
|
* Adds a one time listener for the event. The listener is invoked only the first time the event is fired,
|
3908
3912
|
* after which it is removed. The listener is added to the beginning of the listeners array.
|
3913
|
+
*
|
3914
|
+
* @remarks Event payloads are documented in the {@link OpenFin.Events} namespace.
|
3909
3915
|
*/
|
3910
3916
|
prependOnceListener<EventType extends EmitterEventType>(eventType: EventType, listener: EventHandler<EmitterEvent, EventType>, options?: OpenFin.SubscriptionOptions): Promise<this>;
|
3911
3917
|
/**
|
@@ -4064,6 +4070,21 @@ declare type EventHandler<EmitterEvent extends BaseEvent, EventType extends stri
|
|
4064
4070
|
type: EventType;
|
4065
4071
|
}>, ...args: any[]) => void;
|
4066
4072
|
|
4073
|
+
declare namespace Events {
|
4074
|
+
export {
|
4075
|
+
ApplicationEvents,
|
4076
|
+
BaseEvents,
|
4077
|
+
ExternalApplicationEvents,
|
4078
|
+
FrameEvents,
|
4079
|
+
GlobalHotkeyEvents,
|
4080
|
+
PlatformEvents,
|
4081
|
+
SystemEvents,
|
4082
|
+
ViewEvents,
|
4083
|
+
WebContentsEvents,
|
4084
|
+
WindowEvents
|
4085
|
+
}
|
4086
|
+
}
|
4087
|
+
|
4067
4088
|
/* Excluded from this release type: EventWithId */
|
4068
4089
|
|
4069
4090
|
/* Excluded from this release type: ExcludeRequested */
|
@@ -4211,7 +4232,7 @@ declare type ExternalApplicationEvent = {
|
|
4211
4232
|
topic: 'externalapplication';
|
4212
4233
|
} & (ExternalApplicationConnectedEvent | ExternalApplicationDisconnectedEvent);
|
4213
4234
|
|
4214
|
-
declare type ExternalApplicationEvent_2 = ExternalApplicationEvents.ExternalApplicationEvent;
|
4235
|
+
declare type ExternalApplicationEvent_2 = Events.ExternalApplicationEvents.ExternalApplicationEvent;
|
4215
4236
|
|
4216
4237
|
declare namespace ExternalApplicationEvents {
|
4217
4238
|
export {
|
@@ -4710,7 +4731,7 @@ declare type FrameEvent = {
|
|
4710
4731
|
topic: 'frame';
|
4711
4732
|
} & (FrameConnectedEvent | FrameDisconnectedEvent);
|
4712
4733
|
|
4713
|
-
declare type FrameEvent_2 = FrameEvents.FrameEvent;
|
4734
|
+
declare type FrameEvent_2 = Events.FrameEvents.FrameEvent;
|
4714
4735
|
|
4715
4736
|
declare namespace FrameEvents {
|
4716
4737
|
export {
|
@@ -4953,7 +4974,7 @@ declare type GlobalHotkeyEvent = {
|
|
4953
4974
|
hotkey: 'string';
|
4954
4975
|
} & (RegisteredEvent | UnregisteredEvent);
|
4955
4976
|
|
4956
|
-
declare type GlobalHotkeyEvent_2 = GlobalHotkeyEvents.GlobalHotkeyEvent;
|
4977
|
+
declare type GlobalHotkeyEvent_2 = Events.GlobalHotkeyEvents.GlobalHotkeyEvent;
|
4957
4978
|
|
4958
4979
|
declare namespace GlobalHotkeyEvents {
|
4959
4980
|
export {
|
@@ -8171,6 +8192,7 @@ declare namespace OpenFin {
|
|
8171
8192
|
ExternalApplicationModule,
|
8172
8193
|
_Frame as Frame,
|
8173
8194
|
_FrameModule,
|
8195
|
+
GlobalHotkey,
|
8174
8196
|
Channel,
|
8175
8197
|
ChannelClient,
|
8176
8198
|
ChannelProvider,
|
@@ -8189,6 +8211,7 @@ declare namespace OpenFin {
|
|
8189
8211
|
InteropModule,
|
8190
8212
|
SnapshotSource,
|
8191
8213
|
SnapshotSourceModule,
|
8214
|
+
System,
|
8192
8215
|
LayoutEntityDefinition,
|
8193
8216
|
LayoutEntityTypes,
|
8194
8217
|
LayoutPosition,
|
@@ -8440,16 +8463,7 @@ declare namespace OpenFin {
|
|
8440
8463
|
AppVersionErrorEvent,
|
8441
8464
|
AppVersionCompleteEvent,
|
8442
8465
|
AppVersionRuntimeStatusEvent,
|
8443
|
-
|
8444
|
-
WebContentsEvents,
|
8445
|
-
SystemEvents,
|
8446
|
-
ApplicationEvents,
|
8447
|
-
WindowEvents,
|
8448
|
-
ViewEvents,
|
8449
|
-
GlobalHotkeyEvents,
|
8450
|
-
FrameEvents,
|
8451
|
-
PlatformEvents,
|
8452
|
-
ExternalApplicationEvents,
|
8466
|
+
Events,
|
8453
8467
|
BaseEvent_2 as BaseEvent,
|
8454
8468
|
WebContentsEvent_2 as WebContentsEvent,
|
8455
8469
|
SystemEvent_2 as SystemEvent,
|
@@ -8474,7 +8488,17 @@ declare namespace OpenFin {
|
|
8474
8488
|
ChannelClientConnectionListener,
|
8475
8489
|
ChannelClientDisconnectionListener,
|
8476
8490
|
ChannelProviderDisconnectionListener,
|
8477
|
-
RoutingInfo
|
8491
|
+
RoutingInfo,
|
8492
|
+
ApplicationEvents,
|
8493
|
+
BaseEvents,
|
8494
|
+
ExternalApplicationEvents,
|
8495
|
+
FrameEvents,
|
8496
|
+
GlobalHotkeyEvents,
|
8497
|
+
PlatformEvents,
|
8498
|
+
SystemEvents,
|
8499
|
+
ViewEvents,
|
8500
|
+
WebContentsEvents,
|
8501
|
+
WindowEvents
|
8478
8502
|
}
|
8479
8503
|
}
|
8480
8504
|
export default OpenFin;
|
@@ -8531,10 +8555,8 @@ declare type PickOfType<T extends Record<any, any>, TTarget> = {
|
|
8531
8555
|
|
8532
8556
|
/** Manages the life cycle of windows and views in the application.
|
8533
8557
|
*
|
8534
|
-
* Enables taking snapshots of itself and
|
8535
|
-
* ng them to restore a previous configuration
|
8558
|
+
* Enables taking snapshots of itself and applying them to restore a previous configuration
|
8536
8559
|
* as well as listen to {@link OpenFin.PlatformEvents platform events}.
|
8537
|
-
*
|
8538
8560
|
*/
|
8539
8561
|
declare class Platform extends EmitterBase<OpenFin.PlatformEvent> {
|
8540
8562
|
#private;
|
@@ -9163,7 +9185,7 @@ declare type PlatformApiReadyEvent = BaseEvent & {
|
|
9163
9185
|
*/
|
9164
9186
|
declare type PlatformEvent = ApplicationEvent | PlatformApiReadyEvent | PlatformSnapshotAppliedEvent;
|
9165
9187
|
|
9166
|
-
declare type PlatformEvent_2 = PlatformEvents.PlatformEvent;
|
9188
|
+
declare type PlatformEvent_2 = Events.PlatformEvents.PlatformEvent;
|
9167
9189
|
|
9168
9190
|
declare namespace PlatformEvents {
|
9169
9191
|
export {
|
@@ -12910,7 +12932,7 @@ declare type SystemEvent = {
|
|
12910
12932
|
topic: 'system';
|
12911
12933
|
} & (ExcludeRequested<PropagatedWindowEvent> | PropagatedViewEvent | PropagatedApplicationEvent | ApplicationCreatedEvent | DesktopIconClickedEvent | IdleEvent | MonitorEvent | SessionChangedEvent | AppVersionEventWithId | SystemShutdownEvent);
|
12912
12934
|
|
12913
|
-
declare type SystemEvent_2 = SystemEvents.SystemEvent;
|
12935
|
+
declare type SystemEvent_2 = Events.SystemEvents.SystemEvent;
|
12914
12936
|
|
12915
12937
|
declare namespace SystemEvents {
|
12916
12938
|
export {
|
@@ -14045,7 +14067,7 @@ declare type ViewEvent = {
|
|
14045
14067
|
topic: 'view';
|
14046
14068
|
} & (NonPropagatedViewEvent | WillPropagateViewEvent);
|
14047
14069
|
|
14048
|
-
declare type ViewEvent_2 = ViewEvents.ViewEvent;
|
14070
|
+
declare type ViewEvent_2 = Events.ViewEvents.ViewEvent;
|
14049
14071
|
|
14050
14072
|
declare namespace ViewEvents {
|
14051
14073
|
export {
|
@@ -15246,7 +15268,7 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
|
|
15246
15268
|
*/
|
15247
15269
|
declare type WebContentsEvent = NonPropagatedWebContentsEvent | WillPropagateWebContentsEvent;
|
15248
15270
|
|
15249
|
-
declare type WebContentsEvent_2 = WebContentsEvents.WebContentsEvent;
|
15271
|
+
declare type WebContentsEvent_2 = Events.WebContentsEvents.WebContentsEvent;
|
15250
15272
|
|
15251
15273
|
declare namespace WebContentsEvents {
|
15252
15274
|
export {
|
@@ -17003,7 +17025,7 @@ declare class _Window extends WebContents<OpenFin.WindowEvent> {
|
|
17003
17025
|
topic: 'window';
|
17004
17026
|
} & (WillPropagateWindowEvent | NonPropagatedWindowEvent | PropagatedViewEvent);
|
17005
17027
|
|
17006
|
-
declare type WindowEvent_2 = WindowEvents.WindowEvent;
|
17028
|
+
declare type WindowEvent_2 = Events.WindowEvents.WindowEvent;
|
17007
17029
|
|
17008
17030
|
declare namespace WindowEvents {
|
17009
17031
|
export {
|
@@ -867,7 +867,7 @@ declare type ApplicationEvent = {
|
|
867
867
|
topic: 'application';
|
868
868
|
} & (PropagatedViewEvent | PropagatedWindowEvent | ApplicationWindowEvent | WillPropagateApplicationEvent);
|
869
869
|
|
870
|
-
declare type ApplicationEvent_2 = ApplicationEvents.ApplicationEvent;
|
870
|
+
declare type ApplicationEvent_2 = Events.ApplicationEvents.ApplicationEvent;
|
871
871
|
|
872
872
|
declare namespace ApplicationEvents {
|
873
873
|
export {
|
@@ -1626,7 +1626,7 @@ declare type BaseEvent = {
|
|
1626
1626
|
type: string;
|
1627
1627
|
};
|
1628
1628
|
|
1629
|
-
declare type BaseEvent_2 = BaseEvents.BaseEvent;
|
1629
|
+
declare type BaseEvent_2 = Events.BaseEvents.BaseEvent;
|
1630
1630
|
|
1631
1631
|
declare namespace BaseEvents {
|
1632
1632
|
export {
|
@@ -3878,9 +3878,7 @@ declare class EmitterBase<EmitterEvent extends BaseEvent, EmitterEventType exten
|
|
3878
3878
|
protected identity: ApplicationIdentity;
|
3879
3879
|
constructor(wire: Transport, topic: string, ...additionalAccessors: string[]);
|
3880
3880
|
eventNames: () => (string | symbol)[];
|
3881
|
-
|
3882
|
-
type: EventType;
|
3883
|
-
}>, ...args: any[]) => boolean;
|
3881
|
+
/* Excluded from this release type: emit */
|
3884
3882
|
private hasEmitter;
|
3885
3883
|
private getOrCreateEmitter;
|
3886
3884
|
listeners: (type: string | symbol) => Function[];
|
@@ -3889,6 +3887,8 @@ declare class EmitterBase<EmitterEvent extends BaseEvent, EmitterEventType exten
|
|
3889
3887
|
protected deregisterEventListener: (eventType: EmitterEventType, options?: OpenFin.SubscriptionOptions) => Promise<void | EventEmitter>;
|
3890
3888
|
/**
|
3891
3889
|
* Adds a listener to the end of the listeners array for the specified event.
|
3890
|
+
*
|
3891
|
+
* @remarks Event payloads are documented in the {@link OpenFin.Events} namespace.
|
3892
3892
|
*/
|
3893
3893
|
on<EventType extends EmitterEventType>(eventType: EventType, listener: EventHandler<EmitterEvent, EventType>, options?: OpenFin.SubscriptionOptions): Promise<this>;
|
3894
3894
|
/**
|
@@ -3897,15 +3897,21 @@ declare class EmitterBase<EmitterEvent extends BaseEvent, EmitterEventType exten
|
|
3897
3897
|
addListener<EventType extends EmitterEventType>(eventType: EventType, listener: EventHandler<EmitterEvent, EventType>, options?: OpenFin.SubscriptionOptions): Promise<this>;
|
3898
3898
|
/**
|
3899
3899
|
* Adds a one time listener for the event. The listener is invoked only the first time the event is fired, after which it is removed.
|
3900
|
+
*
|
3901
|
+
* @remarks Event payloads are documented in the {@link OpenFin.Events} namespace.
|
3900
3902
|
*/
|
3901
3903
|
once<EventType extends EmitterEventType>(eventType: EventType, listener: EventHandler<EmitterEvent, EventType>, options?: OpenFin.SubscriptionOptions): Promise<this>;
|
3902
3904
|
/**
|
3903
3905
|
* Adds a listener to the beginning of the listeners array for the specified event.
|
3906
|
+
*
|
3907
|
+
* @remarks Event payloads are documented in the {@link OpenFin.Events} namespace.
|
3904
3908
|
*/
|
3905
3909
|
prependListener<EventType extends EmitterEventType>(eventType: EventType, listener: EventHandler<EmitterEvent, EventType>, options?: OpenFin.SubscriptionOptions): Promise<this>;
|
3906
3910
|
/**
|
3907
3911
|
* Adds a one time listener for the event. The listener is invoked only the first time the event is fired,
|
3908
3912
|
* after which it is removed. The listener is added to the beginning of the listeners array.
|
3913
|
+
*
|
3914
|
+
* @remarks Event payloads are documented in the {@link OpenFin.Events} namespace.
|
3909
3915
|
*/
|
3910
3916
|
prependOnceListener<EventType extends EmitterEventType>(eventType: EventType, listener: EventHandler<EmitterEvent, EventType>, options?: OpenFin.SubscriptionOptions): Promise<this>;
|
3911
3917
|
/**
|
@@ -4064,6 +4070,21 @@ declare type EventHandler<EmitterEvent extends BaseEvent, EventType extends stri
|
|
4064
4070
|
type: EventType;
|
4065
4071
|
}>, ...args: any[]) => void;
|
4066
4072
|
|
4073
|
+
declare namespace Events {
|
4074
|
+
export {
|
4075
|
+
ApplicationEvents,
|
4076
|
+
BaseEvents,
|
4077
|
+
ExternalApplicationEvents,
|
4078
|
+
FrameEvents,
|
4079
|
+
GlobalHotkeyEvents,
|
4080
|
+
PlatformEvents,
|
4081
|
+
SystemEvents,
|
4082
|
+
ViewEvents,
|
4083
|
+
WebContentsEvents,
|
4084
|
+
WindowEvents
|
4085
|
+
}
|
4086
|
+
}
|
4087
|
+
|
4067
4088
|
/* Excluded from this release type: EventWithId */
|
4068
4089
|
|
4069
4090
|
/* Excluded from this release type: ExcludeRequested */
|
@@ -4211,7 +4232,7 @@ declare type ExternalApplicationEvent = {
|
|
4211
4232
|
topic: 'externalapplication';
|
4212
4233
|
} & (ExternalApplicationConnectedEvent | ExternalApplicationDisconnectedEvent);
|
4213
4234
|
|
4214
|
-
declare type ExternalApplicationEvent_2 = ExternalApplicationEvents.ExternalApplicationEvent;
|
4235
|
+
declare type ExternalApplicationEvent_2 = Events.ExternalApplicationEvents.ExternalApplicationEvent;
|
4215
4236
|
|
4216
4237
|
declare namespace ExternalApplicationEvents {
|
4217
4238
|
export {
|
@@ -4710,7 +4731,7 @@ declare type FrameEvent = {
|
|
4710
4731
|
topic: 'frame';
|
4711
4732
|
} & (FrameConnectedEvent | FrameDisconnectedEvent);
|
4712
4733
|
|
4713
|
-
declare type FrameEvent_2 = FrameEvents.FrameEvent;
|
4734
|
+
declare type FrameEvent_2 = Events.FrameEvents.FrameEvent;
|
4714
4735
|
|
4715
4736
|
declare namespace FrameEvents {
|
4716
4737
|
export {
|
@@ -4953,7 +4974,7 @@ declare type GlobalHotkeyEvent = {
|
|
4953
4974
|
hotkey: 'string';
|
4954
4975
|
} & (RegisteredEvent | UnregisteredEvent);
|
4955
4976
|
|
4956
|
-
declare type GlobalHotkeyEvent_2 = GlobalHotkeyEvents.GlobalHotkeyEvent;
|
4977
|
+
declare type GlobalHotkeyEvent_2 = Events.GlobalHotkeyEvents.GlobalHotkeyEvent;
|
4957
4978
|
|
4958
4979
|
declare namespace GlobalHotkeyEvents {
|
4959
4980
|
export {
|
@@ -8171,6 +8192,7 @@ declare namespace OpenFin {
|
|
8171
8192
|
ExternalApplicationModule,
|
8172
8193
|
_Frame as Frame,
|
8173
8194
|
_FrameModule,
|
8195
|
+
GlobalHotkey,
|
8174
8196
|
Channel,
|
8175
8197
|
ChannelClient,
|
8176
8198
|
ChannelProvider,
|
@@ -8189,6 +8211,7 @@ declare namespace OpenFin {
|
|
8189
8211
|
InteropModule,
|
8190
8212
|
SnapshotSource,
|
8191
8213
|
SnapshotSourceModule,
|
8214
|
+
System,
|
8192
8215
|
LayoutEntityDefinition,
|
8193
8216
|
LayoutEntityTypes,
|
8194
8217
|
LayoutPosition,
|
@@ -8440,16 +8463,7 @@ declare namespace OpenFin {
|
|
8440
8463
|
AppVersionErrorEvent,
|
8441
8464
|
AppVersionCompleteEvent,
|
8442
8465
|
AppVersionRuntimeStatusEvent,
|
8443
|
-
|
8444
|
-
WebContentsEvents,
|
8445
|
-
SystemEvents,
|
8446
|
-
ApplicationEvents,
|
8447
|
-
WindowEvents,
|
8448
|
-
ViewEvents,
|
8449
|
-
GlobalHotkeyEvents,
|
8450
|
-
FrameEvents,
|
8451
|
-
PlatformEvents,
|
8452
|
-
ExternalApplicationEvents,
|
8466
|
+
Events,
|
8453
8467
|
BaseEvent_2 as BaseEvent,
|
8454
8468
|
WebContentsEvent_2 as WebContentsEvent,
|
8455
8469
|
SystemEvent_2 as SystemEvent,
|
@@ -8474,7 +8488,17 @@ declare namespace OpenFin {
|
|
8474
8488
|
ChannelClientConnectionListener,
|
8475
8489
|
ChannelClientDisconnectionListener,
|
8476
8490
|
ChannelProviderDisconnectionListener,
|
8477
|
-
RoutingInfo
|
8491
|
+
RoutingInfo,
|
8492
|
+
ApplicationEvents,
|
8493
|
+
BaseEvents,
|
8494
|
+
ExternalApplicationEvents,
|
8495
|
+
FrameEvents,
|
8496
|
+
GlobalHotkeyEvents,
|
8497
|
+
PlatformEvents,
|
8498
|
+
SystemEvents,
|
8499
|
+
ViewEvents,
|
8500
|
+
WebContentsEvents,
|
8501
|
+
WindowEvents
|
8478
8502
|
}
|
8479
8503
|
}
|
8480
8504
|
export default OpenFin;
|
@@ -8531,10 +8555,8 @@ declare type PickOfType<T extends Record<any, any>, TTarget> = {
|
|
8531
8555
|
|
8532
8556
|
/** Manages the life cycle of windows and views in the application.
|
8533
8557
|
*
|
8534
|
-
* Enables taking snapshots of itself and
|
8535
|
-
* ng them to restore a previous configuration
|
8558
|
+
* Enables taking snapshots of itself and applying them to restore a previous configuration
|
8536
8559
|
* as well as listen to {@link OpenFin.PlatformEvents platform events}.
|
8537
|
-
*
|
8538
8560
|
*/
|
8539
8561
|
declare class Platform extends EmitterBase<OpenFin.PlatformEvent> {
|
8540
8562
|
#private;
|
@@ -9163,7 +9185,7 @@ declare type PlatformApiReadyEvent = BaseEvent & {
|
|
9163
9185
|
*/
|
9164
9186
|
declare type PlatformEvent = ApplicationEvent | PlatformApiReadyEvent | PlatformSnapshotAppliedEvent;
|
9165
9187
|
|
9166
|
-
declare type PlatformEvent_2 = PlatformEvents.PlatformEvent;
|
9188
|
+
declare type PlatformEvent_2 = Events.PlatformEvents.PlatformEvent;
|
9167
9189
|
|
9168
9190
|
declare namespace PlatformEvents {
|
9169
9191
|
export {
|
@@ -12910,7 +12932,7 @@ declare type SystemEvent = {
|
|
12910
12932
|
topic: 'system';
|
12911
12933
|
} & (ExcludeRequested<PropagatedWindowEvent> | PropagatedViewEvent | PropagatedApplicationEvent | ApplicationCreatedEvent | DesktopIconClickedEvent | IdleEvent | MonitorEvent | SessionChangedEvent | AppVersionEventWithId | SystemShutdownEvent);
|
12912
12934
|
|
12913
|
-
declare type SystemEvent_2 = SystemEvents.SystemEvent;
|
12935
|
+
declare type SystemEvent_2 = Events.SystemEvents.SystemEvent;
|
12914
12936
|
|
12915
12937
|
declare namespace SystemEvents {
|
12916
12938
|
export {
|
@@ -14045,7 +14067,7 @@ declare type ViewEvent = {
|
|
14045
14067
|
topic: 'view';
|
14046
14068
|
} & (NonPropagatedViewEvent | WillPropagateViewEvent);
|
14047
14069
|
|
14048
|
-
declare type ViewEvent_2 = ViewEvents.ViewEvent;
|
14070
|
+
declare type ViewEvent_2 = Events.ViewEvents.ViewEvent;
|
14049
14071
|
|
14050
14072
|
declare namespace ViewEvents {
|
14051
14073
|
export {
|
@@ -15246,7 +15268,7 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
|
|
15246
15268
|
*/
|
15247
15269
|
declare type WebContentsEvent = NonPropagatedWebContentsEvent | WillPropagateWebContentsEvent;
|
15248
15270
|
|
15249
|
-
declare type WebContentsEvent_2 = WebContentsEvents.WebContentsEvent;
|
15271
|
+
declare type WebContentsEvent_2 = Events.WebContentsEvents.WebContentsEvent;
|
15250
15272
|
|
15251
15273
|
declare namespace WebContentsEvents {
|
15252
15274
|
export {
|
@@ -17003,7 +17025,7 @@ declare class _Window extends WebContents<OpenFin.WindowEvent> {
|
|
17003
17025
|
topic: 'window';
|
17004
17026
|
} & (WillPropagateWindowEvent | NonPropagatedWindowEvent | PropagatedViewEvent);
|
17005
17027
|
|
17006
|
-
declare type WindowEvent_2 = WindowEvents.WindowEvent;
|
17028
|
+
declare type WindowEvent_2 = Events.WindowEvents.WindowEvent;
|
17007
17029
|
|
17008
17030
|
declare namespace WindowEvents {
|
17009
17031
|
export {
|
@@ -867,7 +867,7 @@ declare type ApplicationEvent = {
|
|
867
867
|
topic: 'application';
|
868
868
|
} & (PropagatedViewEvent | PropagatedWindowEvent | ApplicationWindowEvent | WillPropagateApplicationEvent);
|
869
869
|
|
870
|
-
declare type ApplicationEvent_2 = ApplicationEvents.ApplicationEvent;
|
870
|
+
declare type ApplicationEvent_2 = Events.ApplicationEvents.ApplicationEvent;
|
871
871
|
|
872
872
|
declare namespace ApplicationEvents {
|
873
873
|
export {
|
@@ -1626,7 +1626,7 @@ declare type BaseEvent = {
|
|
1626
1626
|
type: string;
|
1627
1627
|
};
|
1628
1628
|
|
1629
|
-
declare type BaseEvent_2 = BaseEvents.BaseEvent;
|
1629
|
+
declare type BaseEvent_2 = Events.BaseEvents.BaseEvent;
|
1630
1630
|
|
1631
1631
|
declare namespace BaseEvents {
|
1632
1632
|
export {
|
@@ -3878,9 +3878,7 @@ declare class EmitterBase<EmitterEvent extends BaseEvent, EmitterEventType exten
|
|
3878
3878
|
protected identity: ApplicationIdentity;
|
3879
3879
|
constructor(wire: Transport, topic: string, ...additionalAccessors: string[]);
|
3880
3880
|
eventNames: () => (string | symbol)[];
|
3881
|
-
|
3882
|
-
type: EventType;
|
3883
|
-
}>, ...args: any[]) => boolean;
|
3881
|
+
/* Excluded from this release type: emit */
|
3884
3882
|
private hasEmitter;
|
3885
3883
|
private getOrCreateEmitter;
|
3886
3884
|
listeners: (type: string | symbol) => Function[];
|
@@ -3889,6 +3887,8 @@ declare class EmitterBase<EmitterEvent extends BaseEvent, EmitterEventType exten
|
|
3889
3887
|
protected deregisterEventListener: (eventType: EmitterEventType, options?: OpenFin.SubscriptionOptions) => Promise<void | EventEmitter>;
|
3890
3888
|
/**
|
3891
3889
|
* Adds a listener to the end of the listeners array for the specified event.
|
3890
|
+
*
|
3891
|
+
* @remarks Event payloads are documented in the {@link OpenFin.Events} namespace.
|
3892
3892
|
*/
|
3893
3893
|
on<EventType extends EmitterEventType>(eventType: EventType, listener: EventHandler<EmitterEvent, EventType>, options?: OpenFin.SubscriptionOptions): Promise<this>;
|
3894
3894
|
/**
|
@@ -3897,15 +3897,21 @@ declare class EmitterBase<EmitterEvent extends BaseEvent, EmitterEventType exten
|
|
3897
3897
|
addListener<EventType extends EmitterEventType>(eventType: EventType, listener: EventHandler<EmitterEvent, EventType>, options?: OpenFin.SubscriptionOptions): Promise<this>;
|
3898
3898
|
/**
|
3899
3899
|
* Adds a one time listener for the event. The listener is invoked only the first time the event is fired, after which it is removed.
|
3900
|
+
*
|
3901
|
+
* @remarks Event payloads are documented in the {@link OpenFin.Events} namespace.
|
3900
3902
|
*/
|
3901
3903
|
once<EventType extends EmitterEventType>(eventType: EventType, listener: EventHandler<EmitterEvent, EventType>, options?: OpenFin.SubscriptionOptions): Promise<this>;
|
3902
3904
|
/**
|
3903
3905
|
* Adds a listener to the beginning of the listeners array for the specified event.
|
3906
|
+
*
|
3907
|
+
* @remarks Event payloads are documented in the {@link OpenFin.Events} namespace.
|
3904
3908
|
*/
|
3905
3909
|
prependListener<EventType extends EmitterEventType>(eventType: EventType, listener: EventHandler<EmitterEvent, EventType>, options?: OpenFin.SubscriptionOptions): Promise<this>;
|
3906
3910
|
/**
|
3907
3911
|
* Adds a one time listener for the event. The listener is invoked only the first time the event is fired,
|
3908
3912
|
* after which it is removed. The listener is added to the beginning of the listeners array.
|
3913
|
+
*
|
3914
|
+
* @remarks Event payloads are documented in the {@link OpenFin.Events} namespace.
|
3909
3915
|
*/
|
3910
3916
|
prependOnceListener<EventType extends EmitterEventType>(eventType: EventType, listener: EventHandler<EmitterEvent, EventType>, options?: OpenFin.SubscriptionOptions): Promise<this>;
|
3911
3917
|
/**
|
@@ -4064,6 +4070,21 @@ declare type EventHandler<EmitterEvent extends BaseEvent, EventType extends stri
|
|
4064
4070
|
type: EventType;
|
4065
4071
|
}>, ...args: any[]) => void;
|
4066
4072
|
|
4073
|
+
declare namespace Events {
|
4074
|
+
export {
|
4075
|
+
ApplicationEvents,
|
4076
|
+
BaseEvents,
|
4077
|
+
ExternalApplicationEvents,
|
4078
|
+
FrameEvents,
|
4079
|
+
GlobalHotkeyEvents,
|
4080
|
+
PlatformEvents,
|
4081
|
+
SystemEvents,
|
4082
|
+
ViewEvents,
|
4083
|
+
WebContentsEvents,
|
4084
|
+
WindowEvents
|
4085
|
+
}
|
4086
|
+
}
|
4087
|
+
|
4067
4088
|
/* Excluded from this release type: EventWithId */
|
4068
4089
|
|
4069
4090
|
/* Excluded from this release type: ExcludeRequested */
|
@@ -4211,7 +4232,7 @@ declare type ExternalApplicationEvent = {
|
|
4211
4232
|
topic: 'externalapplication';
|
4212
4233
|
} & (ExternalApplicationConnectedEvent | ExternalApplicationDisconnectedEvent);
|
4213
4234
|
|
4214
|
-
declare type ExternalApplicationEvent_2 = ExternalApplicationEvents.ExternalApplicationEvent;
|
4235
|
+
declare type ExternalApplicationEvent_2 = Events.ExternalApplicationEvents.ExternalApplicationEvent;
|
4215
4236
|
|
4216
4237
|
declare namespace ExternalApplicationEvents {
|
4217
4238
|
export {
|
@@ -4710,7 +4731,7 @@ declare type FrameEvent = {
|
|
4710
4731
|
topic: 'frame';
|
4711
4732
|
} & (FrameConnectedEvent | FrameDisconnectedEvent);
|
4712
4733
|
|
4713
|
-
declare type FrameEvent_2 = FrameEvents.FrameEvent;
|
4734
|
+
declare type FrameEvent_2 = Events.FrameEvents.FrameEvent;
|
4714
4735
|
|
4715
4736
|
declare namespace FrameEvents {
|
4716
4737
|
export {
|
@@ -4953,7 +4974,7 @@ declare type GlobalHotkeyEvent = {
|
|
4953
4974
|
hotkey: 'string';
|
4954
4975
|
} & (RegisteredEvent | UnregisteredEvent);
|
4955
4976
|
|
4956
|
-
declare type GlobalHotkeyEvent_2 = GlobalHotkeyEvents.GlobalHotkeyEvent;
|
4977
|
+
declare type GlobalHotkeyEvent_2 = Events.GlobalHotkeyEvents.GlobalHotkeyEvent;
|
4957
4978
|
|
4958
4979
|
declare namespace GlobalHotkeyEvents {
|
4959
4980
|
export {
|
@@ -8171,6 +8192,7 @@ declare namespace OpenFin {
|
|
8171
8192
|
ExternalApplicationModule,
|
8172
8193
|
_Frame as Frame,
|
8173
8194
|
_FrameModule,
|
8195
|
+
GlobalHotkey,
|
8174
8196
|
Channel,
|
8175
8197
|
ChannelClient,
|
8176
8198
|
ChannelProvider,
|
@@ -8189,6 +8211,7 @@ declare namespace OpenFin {
|
|
8189
8211
|
InteropModule,
|
8190
8212
|
SnapshotSource,
|
8191
8213
|
SnapshotSourceModule,
|
8214
|
+
System,
|
8192
8215
|
LayoutEntityDefinition,
|
8193
8216
|
LayoutEntityTypes,
|
8194
8217
|
LayoutPosition,
|
@@ -8440,16 +8463,7 @@ declare namespace OpenFin {
|
|
8440
8463
|
AppVersionErrorEvent,
|
8441
8464
|
AppVersionCompleteEvent,
|
8442
8465
|
AppVersionRuntimeStatusEvent,
|
8443
|
-
|
8444
|
-
WebContentsEvents,
|
8445
|
-
SystemEvents,
|
8446
|
-
ApplicationEvents,
|
8447
|
-
WindowEvents,
|
8448
|
-
ViewEvents,
|
8449
|
-
GlobalHotkeyEvents,
|
8450
|
-
FrameEvents,
|
8451
|
-
PlatformEvents,
|
8452
|
-
ExternalApplicationEvents,
|
8466
|
+
Events,
|
8453
8467
|
BaseEvent_2 as BaseEvent,
|
8454
8468
|
WebContentsEvent_2 as WebContentsEvent,
|
8455
8469
|
SystemEvent_2 as SystemEvent,
|
@@ -8474,7 +8488,17 @@ declare namespace OpenFin {
|
|
8474
8488
|
ChannelClientConnectionListener,
|
8475
8489
|
ChannelClientDisconnectionListener,
|
8476
8490
|
ChannelProviderDisconnectionListener,
|
8477
|
-
RoutingInfo
|
8491
|
+
RoutingInfo,
|
8492
|
+
ApplicationEvents,
|
8493
|
+
BaseEvents,
|
8494
|
+
ExternalApplicationEvents,
|
8495
|
+
FrameEvents,
|
8496
|
+
GlobalHotkeyEvents,
|
8497
|
+
PlatformEvents,
|
8498
|
+
SystemEvents,
|
8499
|
+
ViewEvents,
|
8500
|
+
WebContentsEvents,
|
8501
|
+
WindowEvents
|
8478
8502
|
}
|
8479
8503
|
}
|
8480
8504
|
export default OpenFin;
|
@@ -8531,10 +8555,8 @@ declare type PickOfType<T extends Record<any, any>, TTarget> = {
|
|
8531
8555
|
|
8532
8556
|
/** Manages the life cycle of windows and views in the application.
|
8533
8557
|
*
|
8534
|
-
* Enables taking snapshots of itself and
|
8535
|
-
* ng them to restore a previous configuration
|
8558
|
+
* Enables taking snapshots of itself and applying them to restore a previous configuration
|
8536
8559
|
* as well as listen to {@link OpenFin.PlatformEvents platform events}.
|
8537
|
-
*
|
8538
8560
|
*/
|
8539
8561
|
declare class Platform extends EmitterBase<OpenFin.PlatformEvent> {
|
8540
8562
|
#private;
|
@@ -9163,7 +9185,7 @@ declare type PlatformApiReadyEvent = BaseEvent & {
|
|
9163
9185
|
*/
|
9164
9186
|
declare type PlatformEvent = ApplicationEvent | PlatformApiReadyEvent | PlatformSnapshotAppliedEvent;
|
9165
9187
|
|
9166
|
-
declare type PlatformEvent_2 = PlatformEvents.PlatformEvent;
|
9188
|
+
declare type PlatformEvent_2 = Events.PlatformEvents.PlatformEvent;
|
9167
9189
|
|
9168
9190
|
declare namespace PlatformEvents {
|
9169
9191
|
export {
|
@@ -12910,7 +12932,7 @@ declare type SystemEvent = {
|
|
12910
12932
|
topic: 'system';
|
12911
12933
|
} & (ExcludeRequested<PropagatedWindowEvent> | PropagatedViewEvent | PropagatedApplicationEvent | ApplicationCreatedEvent | DesktopIconClickedEvent | IdleEvent | MonitorEvent | SessionChangedEvent | AppVersionEventWithId | SystemShutdownEvent);
|
12912
12934
|
|
12913
|
-
declare type SystemEvent_2 = SystemEvents.SystemEvent;
|
12935
|
+
declare type SystemEvent_2 = Events.SystemEvents.SystemEvent;
|
12914
12936
|
|
12915
12937
|
declare namespace SystemEvents {
|
12916
12938
|
export {
|
@@ -14045,7 +14067,7 @@ declare type ViewEvent = {
|
|
14045
14067
|
topic: 'view';
|
14046
14068
|
} & (NonPropagatedViewEvent | WillPropagateViewEvent);
|
14047
14069
|
|
14048
|
-
declare type ViewEvent_2 = ViewEvents.ViewEvent;
|
14070
|
+
declare type ViewEvent_2 = Events.ViewEvents.ViewEvent;
|
14049
14071
|
|
14050
14072
|
declare namespace ViewEvents {
|
14051
14073
|
export {
|
@@ -15246,7 +15268,7 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
|
|
15246
15268
|
*/
|
15247
15269
|
declare type WebContentsEvent = NonPropagatedWebContentsEvent | WillPropagateWebContentsEvent;
|
15248
15270
|
|
15249
|
-
declare type WebContentsEvent_2 = WebContentsEvents.WebContentsEvent;
|
15271
|
+
declare type WebContentsEvent_2 = Events.WebContentsEvents.WebContentsEvent;
|
15250
15272
|
|
15251
15273
|
declare namespace WebContentsEvents {
|
15252
15274
|
export {
|
@@ -17003,7 +17025,7 @@ declare class _Window extends WebContents<OpenFin.WindowEvent> {
|
|
17003
17025
|
topic: 'window';
|
17004
17026
|
} & (WillPropagateWindowEvent | NonPropagatedWindowEvent | PropagatedViewEvent);
|
17005
17027
|
|
17006
|
-
declare type WindowEvent_2 = WindowEvents.WindowEvent;
|
17028
|
+
declare type WindowEvent_2 = Events.WindowEvents.WindowEvent;
|
17007
17029
|
|
17008
17030
|
declare namespace WindowEvents {
|
17009
17031
|
export {
|