@openfin/node-adapter 34.78.13 → 34.78.14
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 +123 -63
- package/out/node-adapter-beta.d.ts +123 -63
- package/out/node-adapter-public.d.ts +123 -63
- package/out/node-adapter.d.ts +124 -64
- package/out/node-adapter.js +86 -2
- package/package.json +3 -2
- package/resources/win/OpenFinRVM.exe +0 -0
package/out/node-adapter.d.ts
CHANGED
@@ -1160,11 +1160,13 @@ declare type ApplicationOptions = LegacyWinOptionsInAppOptions & {
|
|
1160
1160
|
plugins: boolean;
|
1161
1161
|
/**
|
1162
1162
|
* @defaultValue false
|
1163
|
+
*
|
1163
1164
|
* Enable spell check at the application level.
|
1164
1165
|
*/
|
1165
1166
|
spellCheck: boolean;
|
1166
1167
|
/**
|
1167
1168
|
* @defaultValue 'about:blank'
|
1169
|
+
*
|
1168
1170
|
* The url to the application (specifically the application's main window).
|
1169
1171
|
*/
|
1170
1172
|
url: string;
|
@@ -1190,26 +1192,26 @@ declare type ApplicationOptions = LegacyWinOptionsInAppOptions & {
|
|
1190
1192
|
/**
|
1191
1193
|
* @defaultValue 1000
|
1192
1194
|
*
|
1193
|
-
* Platforms Only
|
1195
|
+
* **Platforms Only.** The maximum number of "detached" or "pooled" Views that can exist in the Platform before being closed.
|
1194
1196
|
* If you do not wish for views to be pooled on your platform, set this property to zero.
|
1195
1197
|
*/
|
1196
1198
|
maxViewPoolSize: number;
|
1197
1199
|
/**
|
1198
|
-
* Platforms Only
|
1200
|
+
* **Platforms Only.** Default window options apply to all platform windows.
|
1199
1201
|
*/
|
1200
|
-
defaultWindowOptions: Partial<
|
1202
|
+
defaultWindowOptions: Partial<PlatformWindowOptions>;
|
1201
1203
|
/**
|
1202
|
-
* Platforms Only
|
1204
|
+
* **Platforms Only.** Default view options apply to all platform views.
|
1203
1205
|
*/
|
1204
1206
|
defaultViewOptions: Partial<ViewOptions>;
|
1205
1207
|
/**
|
1206
|
-
* Platforms Only
|
1208
|
+
* **Platforms Only.** The snapshot to be applied.
|
1207
1209
|
*/
|
1208
1210
|
snapshot: Snapshot;
|
1209
1211
|
/**
|
1210
1212
|
* @defaultValue false
|
1211
1213
|
*
|
1212
|
-
* Platforms Only
|
1214
|
+
* **Platforms Only.** Prevent the Platform Provider from quitting automatically when the last Platform Window is closed.
|
1213
1215
|
* Note: if the Platform Provider is showing, it won't close automatically.
|
1214
1216
|
* If you want a hidden Platform Provider to remain open after the last Platform Window has been closed, set this property to true.
|
1215
1217
|
*/
|
@@ -1298,7 +1300,7 @@ declare type ApplicationWindowInfo_2 = {
|
|
1298
1300
|
childWindows: Array<WindowDetail>;
|
1299
1301
|
mainWindow: WindowDetail;
|
1300
1302
|
/**
|
1301
|
-
*
|
1303
|
+
* The uuid of the application.
|
1302
1304
|
*/
|
1303
1305
|
uuid: string;
|
1304
1306
|
};
|
@@ -2706,7 +2708,7 @@ declare type ChildContentOpenedInBrowserEvent = ContentCreationRulesEvent & {
|
|
2706
2708
|
|
2707
2709
|
declare interface ChildContentOptions {
|
2708
2710
|
options: any;
|
2709
|
-
entityType:
|
2711
|
+
entityType: EntityType_3;
|
2710
2712
|
}
|
2711
2713
|
|
2712
2714
|
/**
|
@@ -2731,11 +2733,6 @@ declare type ChildWindowCreatedEvent = ContentCreationRulesEvent & {
|
|
2731
2733
|
* The options the child Window was created with.
|
2732
2734
|
*/
|
2733
2735
|
childOptions: OpenFin.WindowOptions;
|
2734
|
-
/**
|
2735
|
-
* On `child-window-created` rule may be undefined.
|
2736
|
-
* 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.
|
2737
|
-
*/
|
2738
|
-
rule?: OpenFin.ContentCreationRule;
|
2739
2736
|
};
|
2740
2737
|
|
2741
2738
|
declare interface ClassicProtocolOffer extends ProtocolPacketBase {
|
@@ -2826,7 +2823,7 @@ declare type ClientInfo = Omit<ClientIdentity, 'isLocalEndpointId'> & {
|
|
2826
2823
|
/**
|
2827
2824
|
* Indicates if the client belongs to a Window, View or IFrame
|
2828
2825
|
*/
|
2829
|
-
entityType:
|
2826
|
+
entityType: EntityType_4;
|
2830
2827
|
/**
|
2831
2828
|
* URL of the Window, View or IFrame at the time of connection to the Channel Provider.
|
2832
2829
|
*/
|
@@ -3505,7 +3502,8 @@ declare type ContentCreationRulesEvent = NamedEvent & {
|
|
3505
3502
|
*/
|
3506
3503
|
frameName: string;
|
3507
3504
|
/**
|
3508
|
-
* The rule which triggered this event. May be undefined on `child-window-created` where no rule corresponds to the child Window creation
|
3505
|
+
* The rule which triggered this event. May be undefined on `child-window-created` where no rule corresponds to the child Window creation.
|
3506
|
+
* <br>Note: 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.
|
3509
3507
|
*/
|
3510
3508
|
rule: OpenFin.ContentCreationRule;
|
3511
3509
|
/**
|
@@ -3564,8 +3562,6 @@ declare type ContextForIntent<MetadataType = any> = Context & {
|
|
3564
3562
|
|
3565
3563
|
/**
|
3566
3564
|
* Information for a Context Group. Contains metadata for displaying the group properly.
|
3567
|
-
*/
|
3568
|
-
/**
|
3569
3565
|
* @interface
|
3570
3566
|
*/
|
3571
3567
|
declare type ContextGroupInfo = {
|
@@ -4064,7 +4060,7 @@ declare type EntityInfo = OpenFin.EntityInfo;
|
|
4064
4060
|
declare type EntityInfo_2 = {
|
4065
4061
|
uuid: string;
|
4066
4062
|
name: string;
|
4067
|
-
entityType:
|
4063
|
+
entityType: EntityType_4;
|
4068
4064
|
};
|
4069
4065
|
|
4070
4066
|
/**
|
@@ -4082,11 +4078,9 @@ declare type EntityType_2 = OpenFin.EntityType;
|
|
4082
4078
|
|
4083
4079
|
declare type EntityType_3 = OpenFin.EntityType;
|
4084
4080
|
|
4085
|
-
declare type EntityType_4 =
|
4081
|
+
declare type EntityType_4 = 'window' | 'iframe' | 'external connection' | 'view' | 'unknown';
|
4086
4082
|
|
4087
|
-
declare type
|
4088
|
-
|
4089
|
-
declare type EntityTypeHelpers<T extends EntityType_3> = T extends 'view' ? {
|
4083
|
+
declare type EntityTypeHelpers<T extends EntityType_2> = T extends 'view' ? {
|
4090
4084
|
isView: true;
|
4091
4085
|
isWindow: false;
|
4092
4086
|
isExternal: false;
|
@@ -4124,7 +4118,7 @@ declare interface Environment {
|
|
4124
4118
|
createChildContent(options: ChildContentOptions): Promise<any>;
|
4125
4119
|
getWebWindow(identity: OpenFin.Identity): globalThis.Window;
|
4126
4120
|
getCurrentEntityIdentity(): OpenFin.EntityInfo;
|
4127
|
-
getCurrentEntityType():
|
4121
|
+
getCurrentEntityType(): EntityType_3;
|
4128
4122
|
raiseEvent(eventName: string, eventArgs: any): void;
|
4129
4123
|
childViews: boolean;
|
4130
4124
|
getUrl(): string;
|
@@ -4572,7 +4566,7 @@ declare type FileDownloadStartedEvent = FileDownloadEvent & {
|
|
4572
4566
|
/**
|
4573
4567
|
* @internal
|
4574
4568
|
*/
|
4575
|
-
declare class Fin<MeType extends EntityType = EntityType> extends EventEmitter implements FinApi<MeType> {
|
4569
|
+
declare class Fin<MeType extends OpenFin.EntityType = OpenFin.EntityType> extends EventEmitter implements FinApi<MeType> {
|
4576
4570
|
private wire;
|
4577
4571
|
System: System;
|
4578
4572
|
Window: _WindowModule;
|
@@ -4593,12 +4587,12 @@ declare class Fin<MeType extends EntityType = EntityType> extends EventEmitter i
|
|
4593
4587
|
constructor(wire: Transport<MeType>);
|
4594
4588
|
}
|
4595
4589
|
|
4596
|
-
declare type Fin_2<MeType extends
|
4590
|
+
declare type Fin_2<MeType extends EntityType_4 = 'window' | 'view'> = FinApi<MeType>;
|
4597
4591
|
|
4598
4592
|
/**
|
4599
4593
|
* Type of the global `fin` entry point for the OpenFin API.
|
4600
4594
|
*/
|
4601
|
-
declare interface FinApi<MeType extends EntityType> {
|
4595
|
+
declare interface FinApi<MeType extends OpenFin.EntityType> {
|
4602
4596
|
readonly System: System;
|
4603
4597
|
readonly Window: _WindowModule;
|
4604
4598
|
readonly Application: ApplicationModule;
|
@@ -4880,7 +4874,7 @@ declare type FrameInfo = {
|
|
4880
4874
|
name: string;
|
4881
4875
|
uuid: string;
|
4882
4876
|
url: string;
|
4883
|
-
entityType:
|
4877
|
+
entityType: EntityType_4;
|
4884
4878
|
parent: Identity_5;
|
4885
4879
|
};
|
4886
4880
|
|
@@ -4979,7 +4973,7 @@ declare type GetWindowContextPayload = {
|
|
4979
4973
|
/**
|
4980
4974
|
* Entity type of the target of the context update ('view' or 'window').
|
4981
4975
|
*/
|
4982
|
-
entityType:
|
4976
|
+
entityType: EntityType_4;
|
4983
4977
|
/**
|
4984
4978
|
* Identity of the entity targeted by the call to {@link Platform#setWindowContext Platform.setWindowContext}.
|
4985
4979
|
*/
|
@@ -5370,8 +5364,6 @@ declare type IntentHandler = (intent: Intent) => void;
|
|
5370
5364
|
|
5371
5365
|
/**
|
5372
5366
|
* The type used to describe an intent within the platform.
|
5373
|
-
*/
|
5374
|
-
/**
|
5375
5367
|
* @interface
|
5376
5368
|
*/
|
5377
5369
|
declare type IntentMetadata<TargetType = any> = {
|
@@ -6698,8 +6690,6 @@ declare type InteropClientOnDisconnectionListener = (InteropBrokerDisconnectionE
|
|
6698
6690
|
|
6699
6691
|
/**
|
6700
6692
|
* Information relevant to the Interop Broker.
|
6701
|
-
*/
|
6702
|
-
/**
|
6703
6693
|
* @interface
|
6704
6694
|
*/
|
6705
6695
|
declare type InteropConfig = {
|
@@ -6812,7 +6802,7 @@ declare type JumpListTask = {
|
|
6812
6802
|
*/
|
6813
6803
|
description: string;
|
6814
6804
|
/**
|
6815
|
-
*
|
6805
|
+
* Deep link to a manifest, i.e: fins://path.to/manifest.json?$$param1=value1.
|
6816
6806
|
* See {@link https://developers.openfin.co/docs/deep-linking deep-linking} for more information.
|
6817
6807
|
*/
|
6818
6808
|
deepLink: string;
|
@@ -8040,7 +8030,7 @@ declare type MaximizedEvent = NamedEvent & {
|
|
8040
8030
|
* Useful for debugging in the devtools console, where this will intelligently type itself based
|
8041
8031
|
* on the context in which the devtools panel was opened.
|
8042
8032
|
*/
|
8043
|
-
declare type Me<MeType extends
|
8033
|
+
declare type Me<MeType extends EntityType_2> = OpenFin.EntityInfo & (MeType extends 'view' ? EntityTypeHelpers<'view'> & OpenFin.View & WithInterop : MeType extends 'window' ? EntityTypeHelpers<'window'> & OpenFin.Window & WithInterop : MeType extends 'iframe' ? EntityTypeHelpers<'iframe'> & OpenFin.Frame & WithInterop : MeType extends 'external connection' ? EntityTypeHelpers<'external connection'> & OpenFin.ExternalApplication & WithInterop : EntityTypeHelpers<MeType> & WithInterop) & {
|
8044
8034
|
isOpenFin: boolean;
|
8045
8035
|
};
|
8046
8036
|
|
@@ -8263,7 +8253,7 @@ declare type MutableViewOptions = {
|
|
8263
8253
|
/**
|
8264
8254
|
* @defaultValue false
|
8265
8255
|
*
|
8266
|
-
* Platforms Only
|
8256
|
+
* **Platforms Only.** If true, will hide and detach the View from the window for later use instead of closing,
|
8267
8257
|
* allowing the state of the View to be saved and the View to be immediately shown in a new Layout.
|
8268
8258
|
*/
|
8269
8259
|
detachOnClose: boolean;
|
@@ -8278,7 +8268,7 @@ declare type MutableViewOptions = {
|
|
8278
8268
|
/**
|
8279
8269
|
* @defaultValue false
|
8280
8270
|
*
|
8281
|
-
*
|
8271
|
+
* **Platforms Only.** If true, the tab of the view can't be dragged out of its host window.
|
8282
8272
|
*/
|
8283
8273
|
preventDragOut: boolean;
|
8284
8274
|
interop?: InteropConfig;
|
@@ -8516,7 +8506,7 @@ declare type MutableWindowOptions = {
|
|
8516
8506
|
/**
|
8517
8507
|
* @defaultValue false
|
8518
8508
|
*
|
8519
|
-
* Platforms Only
|
8509
|
+
* **Platforms Only.** If true, will show background images in the layout when the Views are hidden.
|
8520
8510
|
* This occurs when the window is resizing or a tab is being dragged within the layout.
|
8521
8511
|
*/
|
8522
8512
|
showBackgroundImages: boolean;
|
@@ -8665,7 +8655,7 @@ declare namespace OpenFin {
|
|
8665
8655
|
ClientIdentityMultiRuntime,
|
8666
8656
|
ClientConnectionPayload,
|
8667
8657
|
EntityInfo_2 as EntityInfo,
|
8668
|
-
|
8658
|
+
EntityType_4 as EntityType,
|
8669
8659
|
Bounds,
|
8670
8660
|
WindowBounds,
|
8671
8661
|
Rectangle,
|
@@ -9832,14 +9822,6 @@ declare class PlatformModule extends Base {
|
|
9832
9822
|
* @interface
|
9833
9823
|
*/
|
9834
9824
|
declare type PlatformOptions = ApplicationCreationOptions & {
|
9835
|
-
/**
|
9836
|
-
* Default window options apply to all platform windows.
|
9837
|
-
*/
|
9838
|
-
defaultWindowOptions?: Partial<PlatformWindowOptions>;
|
9839
|
-
/**
|
9840
|
-
* Default view options apply to all platform views.
|
9841
|
-
*/
|
9842
|
-
defaultViewOptions?: Partial<PlatformViewCreationOptions>;
|
9843
9825
|
disableDefaultCommands?: boolean;
|
9844
9826
|
/**
|
9845
9827
|
* Strategy to assign views to process affinity by domain.
|
@@ -10584,11 +10566,10 @@ declare type Position = TransitionBase & {
|
|
10584
10566
|
* - {@link OpenFin.Window.setBounds}
|
10585
10567
|
* - {@link OpenFin.Window.resizeBy}
|
10586
10568
|
* - {@link OpenFin.Window.resizeTo}
|
10587
|
-
* @example
|
10588
|
-
|
10589
|
-
|
10590
|
-
|
10591
|
-
/**
|
10569
|
+
* @example
|
10570
|
+
* ```js
|
10571
|
+
* fin.me.setBounds({top: 50, left: 50, width: 200, height: 200}, {skipRestore: true})
|
10572
|
+
* ```
|
10592
10573
|
* @interface
|
10593
10574
|
*/
|
10594
10575
|
declare type PositioningOptions = {
|
@@ -11518,9 +11499,12 @@ declare type RuntimeDownloadOptions = {
|
|
11518
11499
|
*/
|
11519
11500
|
declare type RuntimeDownloadProgress = {
|
11520
11501
|
/**
|
11521
|
-
*
|
11502
|
+
* The downloaded bytes of the download item.
|
11522
11503
|
*/
|
11523
11504
|
downloadedBytes: number;
|
11505
|
+
/**
|
11506
|
+
* The total size in bytes of the file.
|
11507
|
+
*/
|
11524
11508
|
totalBytes: number;
|
11525
11509
|
};
|
11526
11510
|
|
@@ -11671,8 +11655,6 @@ declare type SessionChangedEvent = {
|
|
11671
11655
|
|
11672
11656
|
/**
|
11673
11657
|
* An instance of a SessionContextGroup
|
11674
|
-
*/
|
11675
|
-
/**
|
11676
11658
|
* @interface
|
11677
11659
|
*/
|
11678
11660
|
declare type SessionContextGroup = {
|
@@ -11712,7 +11694,7 @@ declare type SetWindowContextPayload = {
|
|
11712
11694
|
/**
|
11713
11695
|
* Entity type of the target of the context update ('view' or 'window').
|
11714
11696
|
*/
|
11715
|
-
entityType:
|
11697
|
+
entityType: EntityType_4;
|
11716
11698
|
/**
|
11717
11699
|
* Identity of the entity targeted by the call to {@link Platform#setWindowContext Platform.setWindowContext}.
|
11718
11700
|
*/
|
@@ -11797,12 +11779,6 @@ declare type ShowPopupMenuOptions<Data extends unknown = unknown> = {
|
|
11797
11779
|
* @interface
|
11798
11780
|
*/
|
11799
11781
|
declare type ShowViewOnWindowResizeOptions = ViewVisibilityOption & {
|
11800
|
-
/**
|
11801
|
-
* @defaultValue false
|
11802
|
-
*
|
11803
|
-
* Enables showing Views when a Platform Window is being resized.
|
11804
|
-
*/
|
11805
|
-
enabled?: boolean;
|
11806
11782
|
/**
|
11807
11783
|
* @defaultValue 0
|
11808
11784
|
*
|
@@ -13910,7 +13886,7 @@ declare type TransitionOptions = {
|
|
13910
13886
|
tween?: tween;
|
13911
13887
|
};
|
13912
13888
|
|
13913
|
-
declare class Transport<MeType extends
|
13889
|
+
declare class Transport<MeType extends EntityType = EntityType> extends EventEmitter {
|
13914
13890
|
#private;
|
13915
13891
|
protected wireListeners: Map<number, {
|
13916
13892
|
resolve: Function;
|
@@ -14915,7 +14891,7 @@ declare type ViewVisibilityOption = {
|
|
14915
14891
|
/**
|
14916
14892
|
* @defaultValue false
|
14917
14893
|
*
|
14918
|
-
* Enables or disables showing views when the layout splitter or a tab is being dragged.
|
14894
|
+
* Enables or disables showing views when the layout splitter or a tab is being dragged or a Platform Window is being resized.
|
14919
14895
|
*/
|
14920
14896
|
enabled?: boolean;
|
14921
14897
|
};
|
@@ -14999,6 +14975,11 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
|
|
14999
14975
|
* }
|
15000
14976
|
* console.log(await wnd.capturePage(options));
|
15001
14977
|
* ```
|
14978
|
+
*
|
14979
|
+
* @remarks
|
14980
|
+
* `WebContents` refers to shared functionality between {@link OpenFin.Window} and {@link OpenFin.View}.
|
14981
|
+
* We do not expose an explicit superclass for this functionality, but it does have its own
|
14982
|
+
* {@link OpenFin.WebContentsEvents event namespace}.
|
15002
14983
|
*/
|
15003
14984
|
capturePage(options?: OpenFin.CapturePageOptions): Promise<string>;
|
15004
14985
|
/**
|
@@ -15032,6 +15013,10 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
|
|
15032
15013
|
*
|
15033
15014
|
* executeJavaScript(`console.log('Hello, Openfin')`).then(() => console.log('Javascript excuted')).catch(err => console.log(err));
|
15034
15015
|
* ```
|
15016
|
+
* @remarks
|
15017
|
+
* `WebContents` refers to shared functionality between {@link OpenFin.Window} and {@link OpenFin.View}.
|
15018
|
+
* We do not expose an explicit superclass for this functionality, but it does have its own
|
15019
|
+
* {@link OpenFin.WebContentsEvents event namespace}.
|
15035
15020
|
*/
|
15036
15021
|
executeJavaScript(code: string): Promise<void>;
|
15037
15022
|
/**
|
@@ -15067,6 +15052,10 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
|
|
15067
15052
|
*
|
15068
15053
|
* getZoomLevel().then(zoomLevel => console.log(zoomLevel)).catch(err => console.log(err));
|
15069
15054
|
* ```
|
15055
|
+
* @remarks
|
15056
|
+
* `WebContents` refers to shared functionality between {@link OpenFin.Window} and {@link OpenFin.View}.
|
15057
|
+
* We do not expose an explicit superclass for this functionality, but it does have its own
|
15058
|
+
* {@link OpenFin.WebContentsEvents event namespace}.
|
15070
15059
|
*/
|
15071
15060
|
getZoomLevel(): Promise<number>;
|
15072
15061
|
/**
|
@@ -15103,6 +15092,10 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
|
|
15103
15092
|
*
|
15104
15093
|
* setZoomLevel(4).then(() => console.log('Setting a zoom level')).catch(err => console.log(err));
|
15105
15094
|
* ```
|
15095
|
+
* @remarks
|
15096
|
+
* `WebContents` refers to shared functionality between {@link OpenFin.Window} and {@link OpenFin.View}.
|
15097
|
+
* We do not expose an explicit superclass for this functionality, but it does have its own
|
15098
|
+
* {@link OpenFin.WebContentsEvents event namespace}.
|
15106
15099
|
*/
|
15107
15100
|
setZoomLevel(level: number): Promise<void>;
|
15108
15101
|
/**
|
@@ -15138,6 +15131,10 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
|
|
15138
15131
|
* navigate().then(() => console.log('Navigate to tutorial')).catch(err => console.log(err));
|
15139
15132
|
* ```
|
15140
15133
|
* @experimental
|
15134
|
+
* @remarks
|
15135
|
+
* `WebContents` refers to shared functionality between {@link OpenFin.Window} and {@link OpenFin.View}.
|
15136
|
+
* We do not expose an explicit superclass for this functionality, but it does have its own
|
15137
|
+
* {@link OpenFin.WebContentsEvents event namespace}.
|
15141
15138
|
*/
|
15142
15139
|
navigate(url: string): Promise<void>;
|
15143
15140
|
/**
|
@@ -15163,6 +15160,10 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
|
|
15163
15160
|
* }
|
15164
15161
|
* navigateBack().then(() => console.log('Navigated back')).catch(err => console.log(err));
|
15165
15162
|
* ```
|
15163
|
+
* @remarks
|
15164
|
+
* `WebContents` refers to shared functionality between {@link OpenFin.Window} and {@link OpenFin.View}.
|
15165
|
+
* We do not expose an explicit superclass for this functionality, but it does have its own
|
15166
|
+
* {@link OpenFin.WebContentsEvents event namespace}.
|
15166
15167
|
*/
|
15167
15168
|
navigateBack(): Promise<void>;
|
15168
15169
|
/**
|
@@ -15190,6 +15191,10 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
|
|
15190
15191
|
* }
|
15191
15192
|
* navigateForward().then(() => console.log('Navigated forward')).catch(err => console.log(err));
|
15192
15193
|
* ```
|
15194
|
+
* @remarks
|
15195
|
+
* `WebContents` refers to shared functionality between {@link OpenFin.Window} and {@link OpenFin.View}.
|
15196
|
+
* We do not expose an explicit superclass for this functionality, but it does have its own
|
15197
|
+
* {@link OpenFin.WebContentsEvents event namespace}.
|
15193
15198
|
*/
|
15194
15199
|
navigateForward(): Promise<void>;
|
15195
15200
|
/**
|
@@ -15215,6 +15220,10 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
|
|
15215
15220
|
* }
|
15216
15221
|
* stopNavigation().then(() => console.log('you shall not navigate')).catch(err => console.log(err));
|
15217
15222
|
* ```
|
15223
|
+
* @remarks
|
15224
|
+
* `WebContents` refers to shared functionality between {@link OpenFin.Window} and {@link OpenFin.View}.
|
15225
|
+
* We do not expose an explicit superclass for this functionality, but it does have its own
|
15226
|
+
* {@link OpenFin.WebContentsEvents event namespace}.
|
15218
15227
|
*/
|
15219
15228
|
stopNavigation(): Promise<void>;
|
15220
15229
|
/**
|
@@ -15250,6 +15259,10 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
|
|
15250
15259
|
* console.log('Reloaded window')
|
15251
15260
|
* }).catch(err => console.log(err));
|
15252
15261
|
* ```
|
15262
|
+
* @remarks
|
15263
|
+
* `WebContents` refers to shared functionality between {@link OpenFin.Window} and {@link OpenFin.View}.
|
15264
|
+
* We do not expose an explicit superclass for this functionality, but it does have its own
|
15265
|
+
* {@link OpenFin.WebContentsEvents event namespace}.
|
15253
15266
|
*/
|
15254
15267
|
reload(ignoreCache?: boolean): Promise<void>;
|
15255
15268
|
/**
|
@@ -15269,6 +15282,10 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
|
|
15269
15282
|
* console.log('print call has been sent to the system');
|
15270
15283
|
* });
|
15271
15284
|
* ```
|
15285
|
+
* @remarks
|
15286
|
+
* `WebContents` refers to shared functionality between {@link OpenFin.Window} and {@link OpenFin.View}.
|
15287
|
+
* We do not expose an explicit superclass for this functionality, but it does have its own
|
15288
|
+
* {@link OpenFin.WebContentsEvents event namespace}.
|
15272
15289
|
*/
|
15273
15290
|
print(options?: OpenFin.PrintOptions): Promise<void>;
|
15274
15291
|
/**
|
@@ -15311,6 +15328,10 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
|
|
15311
15328
|
* console.log(result)
|
15312
15329
|
* });
|
15313
15330
|
* ```
|
15331
|
+
* @remarks
|
15332
|
+
* `WebContents` refers to shared functionality between {@link OpenFin.Window} and {@link OpenFin.View}.
|
15333
|
+
* We do not expose an explicit superclass for this functionality, but it does have its own
|
15334
|
+
* {@link OpenFin.WebContentsEvents event namespace}.
|
15314
15335
|
*/
|
15315
15336
|
findInPage(searchTerm: string, options?: OpenFin.FindInPageOptions): Promise<void>;
|
15316
15337
|
/**
|
@@ -15350,6 +15371,10 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
|
|
15350
15371
|
* console.log(results);
|
15351
15372
|
* });
|
15352
15373
|
* ```
|
15374
|
+
* @remarks
|
15375
|
+
* `WebContents` refers to shared functionality between {@link OpenFin.Window} and {@link OpenFin.View}.
|
15376
|
+
* We do not expose an explicit superclass for this functionality, but it does have its own
|
15377
|
+
* {@link OpenFin.WebContentsEvents event namespace}.
|
15353
15378
|
*/
|
15354
15379
|
stopFindInPage(action: string): Promise<void>;
|
15355
15380
|
/**
|
@@ -15390,6 +15415,10 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
|
|
15390
15415
|
* console.log(err);
|
15391
15416
|
* });
|
15392
15417
|
* ```
|
15418
|
+
* @remarks
|
15419
|
+
* `WebContents` refers to shared functionality between {@link OpenFin.Window} and {@link OpenFin.View}.
|
15420
|
+
* We do not expose an explicit superclass for this functionality, but it does have its own
|
15421
|
+
* {@link OpenFin.WebContentsEvents event namespace}.
|
15393
15422
|
*/
|
15394
15423
|
getPrinters(): Promise<OpenFin.PrinterInfo>;
|
15395
15424
|
/**
|
@@ -15410,6 +15439,10 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
|
|
15410
15439
|
*
|
15411
15440
|
* focusWindow().then(() => console.log('Window focused')).catch(err => console.log(err));
|
15412
15441
|
* ```
|
15442
|
+
* @remarks
|
15443
|
+
* `WebContents` refers to shared functionality between {@link OpenFin.Window} and {@link OpenFin.View}.
|
15444
|
+
* We do not expose an explicit superclass for this functionality, but it does have its own
|
15445
|
+
* {@link OpenFin.WebContentsEvents event namespace}.
|
15413
15446
|
*/
|
15414
15447
|
focus({ emitSynthFocused }?: {
|
15415
15448
|
emitSynthFocused: boolean;
|
@@ -15441,6 +15474,10 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
|
|
15441
15474
|
* .then(() => console.log('Showing dev tools'))
|
15442
15475
|
* .catch(err => console.error(err));
|
15443
15476
|
* ```
|
15477
|
+
* @remarks
|
15478
|
+
* `WebContents` refers to shared functionality between {@link OpenFin.Window} and {@link OpenFin.View}.
|
15479
|
+
* We do not expose an explicit superclass for this functionality, but it does have its own
|
15480
|
+
* {@link OpenFin.WebContentsEvents event namespace}.
|
15444
15481
|
*/
|
15445
15482
|
showDeveloperTools(): Promise<void>;
|
15446
15483
|
/**
|
@@ -15460,6 +15497,10 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
|
|
15460
15497
|
* const win = await fin.Window.getCurrent();
|
15461
15498
|
* const processInfo = await win.getProcessInfo();
|
15462
15499
|
* ```
|
15500
|
+
* @remarks
|
15501
|
+
* `WebContents` refers to shared functionality between {@link OpenFin.Window} and {@link OpenFin.View}.
|
15502
|
+
* We do not expose an explicit superclass for this functionality, but it does have its own
|
15503
|
+
* {@link OpenFin.WebContentsEvents event namespace}.
|
15463
15504
|
*/
|
15464
15505
|
getProcessInfo(): Promise<OpenFin.EntityProcessDetails>;
|
15465
15506
|
/**
|
@@ -15492,6 +15533,10 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
|
|
15492
15533
|
* const win = await fin.Window.create(winOption);
|
15493
15534
|
* const sharedWorkers = await win.getSharedWorkers();
|
15494
15535
|
* ```
|
15536
|
+
* @remarks
|
15537
|
+
* `WebContents` refers to shared functionality between {@link OpenFin.Window} and {@link OpenFin.View}.
|
15538
|
+
* We do not expose an explicit superclass for this functionality, but it does have its own
|
15539
|
+
* {@link OpenFin.WebContentsEvents event namespace}.
|
15495
15540
|
*/
|
15496
15541
|
getSharedWorkers(): Promise<OpenFin.SharedWorkerInfo[]>;
|
15497
15542
|
/**
|
@@ -15524,6 +15569,10 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
|
|
15524
15569
|
* const win = await fin.Window.create(winOption);
|
15525
15570
|
* await win.inspectSharedWorker();
|
15526
15571
|
* ```
|
15572
|
+
* @remarks
|
15573
|
+
* `WebContents` refers to shared functionality between {@link OpenFin.Window} and {@link OpenFin.View}.
|
15574
|
+
* We do not expose an explicit superclass for this functionality, but it does have its own
|
15575
|
+
* {@link OpenFin.WebContentsEvents event namespace}.
|
15527
15576
|
*/
|
15528
15577
|
inspectSharedWorker(): Promise<void>;
|
15529
15578
|
/**
|
@@ -15559,6 +15608,10 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
|
|
15559
15608
|
* const sharedWorkers = await win.getSharedWorkers();
|
15560
15609
|
* await win.inspectSharedWorkerById(sharedWorkers[0].id);
|
15561
15610
|
* ```
|
15611
|
+
* @remarks
|
15612
|
+
* `WebContents` refers to shared functionality between {@link OpenFin.Window} and {@link OpenFin.View}.
|
15613
|
+
* We do not expose an explicit superclass for this functionality, but it does have its own
|
15614
|
+
* {@link OpenFin.WebContentsEvents event namespace}.
|
15562
15615
|
*/
|
15563
15616
|
inspectSharedWorkerById(workerId: string): Promise<void>;
|
15564
15617
|
/**
|
@@ -15591,6 +15644,10 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
|
|
15591
15644
|
* const win = await fin.Window.create(winOption);
|
15592
15645
|
* await win.inspectServiceWorker();
|
15593
15646
|
* ```
|
15647
|
+
* @remarks
|
15648
|
+
* `WebContents` refers to shared functionality between {@link OpenFin.Window} and {@link OpenFin.View}.
|
15649
|
+
* We do not expose an explicit superclass for this functionality, but it does have its own
|
15650
|
+
* {@link OpenFin.WebContentsEvents event namespace}.
|
15594
15651
|
*/
|
15595
15652
|
inspectServiceWorker(): Promise<void>;
|
15596
15653
|
/**
|
@@ -15799,6 +15856,10 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
|
|
15799
15856
|
* onPopupReady: popupWindowCallback;
|
15800
15857
|
* });
|
15801
15858
|
* ```
|
15859
|
+
* @remarks
|
15860
|
+
* `WebContents` refers to shared functionality between {@link OpenFin.Window} and {@link OpenFin.View}.
|
15861
|
+
* We do not expose an explicit superclass for this functionality, but it does have its own
|
15862
|
+
* {@link OpenFin.WebContentsEvents event namespace}.
|
15802
15863
|
*/
|
15803
15864
|
showPopupWindow(options: OpenFin.PopupOptions): Promise<OpenFin.PopupResult>;
|
15804
15865
|
}
|
@@ -16407,7 +16468,6 @@ declare type WillResizeEvent = WillMoveOrResizeEvent & {
|
|
16407
16468
|
* It has the ability to listen for {@link OpenFin.WindowEvents window specific events}.
|
16408
16469
|
*/
|
16409
16470
|
declare class _Window extends WebContents<OpenFin.WindowEvent> {
|
16410
|
-
identity: OpenFin.Identity;
|
16411
16471
|
/**
|
16412
16472
|
* @internal
|
16413
16473
|
*/
|