@openfin/node-adapter 34.78.13 → 34.78.15
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
@@ -1154,11 +1154,13 @@ declare type ApplicationOptions = LegacyWinOptionsInAppOptions & {
|
|
1154
1154
|
plugins: boolean;
|
1155
1155
|
/**
|
1156
1156
|
* @defaultValue false
|
1157
|
+
*
|
1157
1158
|
* Enable spell check at the application level.
|
1158
1159
|
*/
|
1159
1160
|
spellCheck: boolean;
|
1160
1161
|
/**
|
1161
1162
|
* @defaultValue 'about:blank'
|
1163
|
+
*
|
1162
1164
|
* The url to the application (specifically the application's main window).
|
1163
1165
|
*/
|
1164
1166
|
url: string;
|
@@ -1184,26 +1186,26 @@ declare type ApplicationOptions = LegacyWinOptionsInAppOptions & {
|
|
1184
1186
|
/**
|
1185
1187
|
* @defaultValue 1000
|
1186
1188
|
*
|
1187
|
-
* Platforms Only
|
1189
|
+
* **Platforms Only.** The maximum number of "detached" or "pooled" Views that can exist in the Platform before being closed.
|
1188
1190
|
* If you do not wish for views to be pooled on your platform, set this property to zero.
|
1189
1191
|
*/
|
1190
1192
|
maxViewPoolSize: number;
|
1191
1193
|
/**
|
1192
|
-
* Platforms Only
|
1194
|
+
* **Platforms Only.** Default window options apply to all platform windows.
|
1193
1195
|
*/
|
1194
|
-
defaultWindowOptions: Partial<
|
1196
|
+
defaultWindowOptions: Partial<PlatformWindowOptions>;
|
1195
1197
|
/**
|
1196
|
-
* Platforms Only
|
1198
|
+
* **Platforms Only.** Default view options apply to all platform views.
|
1197
1199
|
*/
|
1198
1200
|
defaultViewOptions: Partial<ViewOptions>;
|
1199
1201
|
/**
|
1200
|
-
* Platforms Only
|
1202
|
+
* **Platforms Only.** The snapshot to be applied.
|
1201
1203
|
*/
|
1202
1204
|
snapshot: Snapshot;
|
1203
1205
|
/**
|
1204
1206
|
* @defaultValue false
|
1205
1207
|
*
|
1206
|
-
* Platforms Only
|
1208
|
+
* **Platforms Only.** Prevent the Platform Provider from quitting automatically when the last Platform Window is closed.
|
1207
1209
|
* Note: if the Platform Provider is showing, it won't close automatically.
|
1208
1210
|
* If you want a hidden Platform Provider to remain open after the last Platform Window has been closed, set this property to true.
|
1209
1211
|
*/
|
@@ -1292,7 +1294,7 @@ declare type ApplicationWindowInfo_2 = {
|
|
1292
1294
|
childWindows: Array<WindowDetail>;
|
1293
1295
|
mainWindow: WindowDetail;
|
1294
1296
|
/**
|
1295
|
-
*
|
1297
|
+
* The uuid of the application.
|
1296
1298
|
*/
|
1297
1299
|
uuid: string;
|
1298
1300
|
};
|
@@ -2666,7 +2668,7 @@ declare type ChildContentOpenedInBrowserEvent = ContentCreationRulesEvent & {
|
|
2666
2668
|
|
2667
2669
|
declare interface ChildContentOptions {
|
2668
2670
|
options: any;
|
2669
|
-
entityType:
|
2671
|
+
entityType: EntityType_3;
|
2670
2672
|
}
|
2671
2673
|
|
2672
2674
|
/**
|
@@ -2691,11 +2693,6 @@ declare type ChildWindowCreatedEvent = ContentCreationRulesEvent & {
|
|
2691
2693
|
* The options the child Window was created with.
|
2692
2694
|
*/
|
2693
2695
|
childOptions: OpenFin.WindowOptions;
|
2694
|
-
/**
|
2695
|
-
* On `child-window-created` rule may be undefined.
|
2696
|
-
* 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.
|
2697
|
-
*/
|
2698
|
-
rule?: OpenFin.ContentCreationRule;
|
2699
2696
|
};
|
2700
2697
|
|
2701
2698
|
declare interface ClassicProtocolOffer extends ProtocolPacketBase {
|
@@ -2786,7 +2783,7 @@ declare type ClientInfo = Omit<ClientIdentity, 'isLocalEndpointId'> & {
|
|
2786
2783
|
/**
|
2787
2784
|
* Indicates if the client belongs to a Window, View or IFrame
|
2788
2785
|
*/
|
2789
|
-
entityType:
|
2786
|
+
entityType: EntityType_4;
|
2790
2787
|
/**
|
2791
2788
|
* URL of the Window, View or IFrame at the time of connection to the Channel Provider.
|
2792
2789
|
*/
|
@@ -3411,7 +3408,8 @@ declare type ContentCreationRulesEvent = NamedEvent & {
|
|
3411
3408
|
*/
|
3412
3409
|
frameName: string;
|
3413
3410
|
/**
|
3414
|
-
* The rule which triggered this event. May be undefined on `child-window-created` where no rule corresponds to the child Window creation
|
3411
|
+
* The rule which triggered this event. May be undefined on `child-window-created` where no rule corresponds to the child Window creation.
|
3412
|
+
* <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.
|
3415
3413
|
*/
|
3416
3414
|
rule: OpenFin.ContentCreationRule;
|
3417
3415
|
/**
|
@@ -3470,8 +3468,6 @@ declare type ContextForIntent<MetadataType = any> = Context & {
|
|
3470
3468
|
|
3471
3469
|
/**
|
3472
3470
|
* Information for a Context Group. Contains metadata for displaying the group properly.
|
3473
|
-
*/
|
3474
|
-
/**
|
3475
3471
|
* @interface
|
3476
3472
|
*/
|
3477
3473
|
declare type ContextGroupInfo = {
|
@@ -3970,7 +3966,7 @@ declare type EntityInfo = OpenFin.EntityInfo;
|
|
3970
3966
|
declare type EntityInfo_2 = {
|
3971
3967
|
uuid: string;
|
3972
3968
|
name: string;
|
3973
|
-
entityType:
|
3969
|
+
entityType: EntityType_4;
|
3974
3970
|
};
|
3975
3971
|
|
3976
3972
|
/**
|
@@ -3988,11 +3984,9 @@ declare type EntityType_2 = OpenFin.EntityType;
|
|
3988
3984
|
|
3989
3985
|
declare type EntityType_3 = OpenFin.EntityType;
|
3990
3986
|
|
3991
|
-
declare type EntityType_4 =
|
3987
|
+
declare type EntityType_4 = 'window' | 'iframe' | 'external connection' | 'view' | 'unknown';
|
3992
3988
|
|
3993
|
-
declare type
|
3994
|
-
|
3995
|
-
declare type EntityTypeHelpers<T extends EntityType_3> = T extends 'view' ? {
|
3989
|
+
declare type EntityTypeHelpers<T extends EntityType_2> = T extends 'view' ? {
|
3996
3990
|
isView: true;
|
3997
3991
|
isWindow: false;
|
3998
3992
|
isExternal: false;
|
@@ -4030,7 +4024,7 @@ declare interface Environment {
|
|
4030
4024
|
createChildContent(options: ChildContentOptions): Promise<any>;
|
4031
4025
|
getWebWindow(identity: OpenFin.Identity): globalThis.Window;
|
4032
4026
|
getCurrentEntityIdentity(): OpenFin.EntityInfo;
|
4033
|
-
getCurrentEntityType():
|
4027
|
+
getCurrentEntityType(): EntityType_3;
|
4034
4028
|
raiseEvent(eventName: string, eventArgs: any): void;
|
4035
4029
|
childViews: boolean;
|
4036
4030
|
getUrl(): string;
|
@@ -4458,12 +4452,12 @@ declare type FileDownloadStartedEvent = FileDownloadEvent & {
|
|
4458
4452
|
|
4459
4453
|
/* Excluded from this release type: Fin */
|
4460
4454
|
|
4461
|
-
declare type Fin_2<MeType extends
|
4455
|
+
declare type Fin_2<MeType extends EntityType_4 = 'window' | 'view'> = FinApi<MeType>;
|
4462
4456
|
|
4463
4457
|
/**
|
4464
4458
|
* Type of the global `fin` entry point for the OpenFin API.
|
4465
4459
|
*/
|
4466
|
-
declare interface FinApi<MeType extends EntityType> {
|
4460
|
+
declare interface FinApi<MeType extends OpenFin.EntityType> {
|
4467
4461
|
readonly System: System;
|
4468
4462
|
readonly Window: _WindowModule;
|
4469
4463
|
readonly Application: ApplicationModule;
|
@@ -4742,7 +4736,7 @@ declare type FrameInfo = {
|
|
4742
4736
|
name: string;
|
4743
4737
|
uuid: string;
|
4744
4738
|
url: string;
|
4745
|
-
entityType:
|
4739
|
+
entityType: EntityType_4;
|
4746
4740
|
parent: Identity_5;
|
4747
4741
|
};
|
4748
4742
|
|
@@ -4841,7 +4835,7 @@ declare type GetWindowContextPayload = {
|
|
4841
4835
|
/**
|
4842
4836
|
* Entity type of the target of the context update ('view' or 'window').
|
4843
4837
|
*/
|
4844
|
-
entityType:
|
4838
|
+
entityType: EntityType_4;
|
4845
4839
|
/**
|
4846
4840
|
* Identity of the entity targeted by the call to {@link Platform#setWindowContext Platform.setWindowContext}.
|
4847
4841
|
*/
|
@@ -5226,8 +5220,6 @@ declare type IntentHandler = (intent: Intent) => void;
|
|
5226
5220
|
|
5227
5221
|
/**
|
5228
5222
|
* The type used to describe an intent within the platform.
|
5229
|
-
*/
|
5230
|
-
/**
|
5231
5223
|
* @interface
|
5232
5224
|
*/
|
5233
5225
|
declare type IntentMetadata<TargetType = any> = {
|
@@ -6536,8 +6528,6 @@ declare type InteropClientOnDisconnectionListener = (InteropBrokerDisconnectionE
|
|
6536
6528
|
|
6537
6529
|
/**
|
6538
6530
|
* Information relevant to the Interop Broker.
|
6539
|
-
*/
|
6540
|
-
/**
|
6541
6531
|
* @interface
|
6542
6532
|
*/
|
6543
6533
|
declare type InteropConfig = {
|
@@ -6650,7 +6640,7 @@ declare type JumpListTask = {
|
|
6650
6640
|
*/
|
6651
6641
|
description: string;
|
6652
6642
|
/**
|
6653
|
-
*
|
6643
|
+
* Deep link to a manifest, i.e: fins://path.to/manifest.json?$$param1=value1.
|
6654
6644
|
* See {@link https://developers.openfin.co/docs/deep-linking deep-linking} for more information.
|
6655
6645
|
*/
|
6656
6646
|
deepLink: string;
|
@@ -7597,7 +7587,7 @@ declare type MaximizedEvent = NamedEvent & {
|
|
7597
7587
|
* Useful for debugging in the devtools console, where this will intelligently type itself based
|
7598
7588
|
* on the context in which the devtools panel was opened.
|
7599
7589
|
*/
|
7600
|
-
declare type Me<MeType extends
|
7590
|
+
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) & {
|
7601
7591
|
isOpenFin: boolean;
|
7602
7592
|
};
|
7603
7593
|
|
@@ -7820,7 +7810,7 @@ declare type MutableViewOptions = {
|
|
7820
7810
|
/**
|
7821
7811
|
* @defaultValue false
|
7822
7812
|
*
|
7823
|
-
* Platforms Only
|
7813
|
+
* **Platforms Only.** If true, will hide and detach the View from the window for later use instead of closing,
|
7824
7814
|
* allowing the state of the View to be saved and the View to be immediately shown in a new Layout.
|
7825
7815
|
*/
|
7826
7816
|
detachOnClose: boolean;
|
@@ -7835,7 +7825,7 @@ declare type MutableViewOptions = {
|
|
7835
7825
|
/**
|
7836
7826
|
* @defaultValue false
|
7837
7827
|
*
|
7838
|
-
*
|
7828
|
+
* **Platforms Only.** If true, the tab of the view can't be dragged out of its host window.
|
7839
7829
|
*/
|
7840
7830
|
preventDragOut: boolean;
|
7841
7831
|
interop?: InteropConfig;
|
@@ -8069,7 +8059,7 @@ declare type MutableWindowOptions = {
|
|
8069
8059
|
/**
|
8070
8060
|
* @defaultValue false
|
8071
8061
|
*
|
8072
|
-
* Platforms Only
|
8062
|
+
* **Platforms Only.** If true, will show background images in the layout when the Views are hidden.
|
8073
8063
|
* This occurs when the window is resizing or a tab is being dragged within the layout.
|
8074
8064
|
*/
|
8075
8065
|
showBackgroundImages: boolean;
|
@@ -8211,7 +8201,7 @@ declare namespace OpenFin {
|
|
8211
8201
|
ClientIdentityMultiRuntime,
|
8212
8202
|
ClientConnectionPayload,
|
8213
8203
|
EntityInfo_2 as EntityInfo,
|
8214
|
-
|
8204
|
+
EntityType_4 as EntityType,
|
8215
8205
|
Bounds,
|
8216
8206
|
WindowBounds,
|
8217
8207
|
Rectangle,
|
@@ -9345,14 +9335,6 @@ declare class PlatformModule extends Base {
|
|
9345
9335
|
* @interface
|
9346
9336
|
*/
|
9347
9337
|
declare type PlatformOptions = ApplicationCreationOptions & {
|
9348
|
-
/**
|
9349
|
-
* Default window options apply to all platform windows.
|
9350
|
-
*/
|
9351
|
-
defaultWindowOptions?: Partial<PlatformWindowOptions>;
|
9352
|
-
/**
|
9353
|
-
* Default view options apply to all platform views.
|
9354
|
-
*/
|
9355
|
-
defaultViewOptions?: Partial<PlatformViewCreationOptions>;
|
9356
9338
|
disableDefaultCommands?: boolean;
|
9357
9339
|
/**
|
9358
9340
|
* Strategy to assign views to process affinity by domain.
|
@@ -10061,11 +10043,10 @@ declare type Position = TransitionBase & {
|
|
10061
10043
|
* - {@link OpenFin.Window.setBounds}
|
10062
10044
|
* - {@link OpenFin.Window.resizeBy}
|
10063
10045
|
* - {@link OpenFin.Window.resizeTo}
|
10064
|
-
* @example
|
10065
|
-
|
10066
|
-
|
10067
|
-
|
10068
|
-
/**
|
10046
|
+
* @example
|
10047
|
+
* ```js
|
10048
|
+
* fin.me.setBounds({top: 50, left: 50, width: 200, height: 200}, {skipRestore: true})
|
10049
|
+
* ```
|
10069
10050
|
* @interface
|
10070
10051
|
*/
|
10071
10052
|
declare type PositioningOptions = {
|
@@ -10995,9 +10976,12 @@ declare type RuntimeDownloadOptions = {
|
|
10995
10976
|
*/
|
10996
10977
|
declare type RuntimeDownloadProgress = {
|
10997
10978
|
/**
|
10998
|
-
*
|
10979
|
+
* The downloaded bytes of the download item.
|
10999
10980
|
*/
|
11000
10981
|
downloadedBytes: number;
|
10982
|
+
/**
|
10983
|
+
* The total size in bytes of the file.
|
10984
|
+
*/
|
11001
10985
|
totalBytes: number;
|
11002
10986
|
};
|
11003
10987
|
|
@@ -11148,8 +11132,6 @@ declare type SessionChangedEvent = {
|
|
11148
11132
|
|
11149
11133
|
/**
|
11150
11134
|
* An instance of a SessionContextGroup
|
11151
|
-
*/
|
11152
|
-
/**
|
11153
11135
|
* @interface
|
11154
11136
|
*/
|
11155
11137
|
declare type SessionContextGroup = {
|
@@ -11189,7 +11171,7 @@ declare type SetWindowContextPayload = {
|
|
11189
11171
|
/**
|
11190
11172
|
* Entity type of the target of the context update ('view' or 'window').
|
11191
11173
|
*/
|
11192
|
-
entityType:
|
11174
|
+
entityType: EntityType_4;
|
11193
11175
|
/**
|
11194
11176
|
* Identity of the entity targeted by the call to {@link Platform#setWindowContext Platform.setWindowContext}.
|
11195
11177
|
*/
|
@@ -11274,12 +11256,6 @@ declare type ShowPopupMenuOptions<Data extends unknown = unknown> = {
|
|
11274
11256
|
* @interface
|
11275
11257
|
*/
|
11276
11258
|
declare type ShowViewOnWindowResizeOptions = ViewVisibilityOption & {
|
11277
|
-
/**
|
11278
|
-
* @defaultValue false
|
11279
|
-
*
|
11280
|
-
* Enables showing Views when a Platform Window is being resized.
|
11281
|
-
*/
|
11282
|
-
enabled?: boolean;
|
11283
11259
|
/**
|
11284
11260
|
* @defaultValue 0
|
11285
11261
|
*
|
@@ -13324,7 +13300,7 @@ declare type TransitionOptions = {
|
|
13324
13300
|
tween?: tween;
|
13325
13301
|
};
|
13326
13302
|
|
13327
|
-
declare class Transport<MeType extends
|
13303
|
+
declare class Transport<MeType extends EntityType = EntityType> extends EventEmitter {
|
13328
13304
|
#private;
|
13329
13305
|
protected wireListeners: Map<number, {
|
13330
13306
|
resolve: Function;
|
@@ -14292,7 +14268,7 @@ declare type ViewVisibilityOption = {
|
|
14292
14268
|
/**
|
14293
14269
|
* @defaultValue false
|
14294
14270
|
*
|
14295
|
-
* Enables or disables showing views when the layout splitter or a tab is being dragged.
|
14271
|
+
* Enables or disables showing views when the layout splitter or a tab is being dragged or a Platform Window is being resized.
|
14296
14272
|
*/
|
14297
14273
|
enabled?: boolean;
|
14298
14274
|
};
|
@@ -14376,6 +14352,11 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
|
|
14376
14352
|
* }
|
14377
14353
|
* console.log(await wnd.capturePage(options));
|
14378
14354
|
* ```
|
14355
|
+
*
|
14356
|
+
* @remarks
|
14357
|
+
* `WebContents` refers to shared functionality between {@link OpenFin.Window} and {@link OpenFin.View}.
|
14358
|
+
* We do not expose an explicit superclass for this functionality, but it does have its own
|
14359
|
+
* {@link OpenFin.WebContentsEvents event namespace}.
|
14379
14360
|
*/
|
14380
14361
|
capturePage(options?: OpenFin.CapturePageOptions): Promise<string>;
|
14381
14362
|
/**
|
@@ -14409,6 +14390,10 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
|
|
14409
14390
|
*
|
14410
14391
|
* executeJavaScript(`console.log('Hello, Openfin')`).then(() => console.log('Javascript excuted')).catch(err => console.log(err));
|
14411
14392
|
* ```
|
14393
|
+
* @remarks
|
14394
|
+
* `WebContents` refers to shared functionality between {@link OpenFin.Window} and {@link OpenFin.View}.
|
14395
|
+
* We do not expose an explicit superclass for this functionality, but it does have its own
|
14396
|
+
* {@link OpenFin.WebContentsEvents event namespace}.
|
14412
14397
|
*/
|
14413
14398
|
executeJavaScript(code: string): Promise<void>;
|
14414
14399
|
/**
|
@@ -14444,6 +14429,10 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
|
|
14444
14429
|
*
|
14445
14430
|
* getZoomLevel().then(zoomLevel => console.log(zoomLevel)).catch(err => console.log(err));
|
14446
14431
|
* ```
|
14432
|
+
* @remarks
|
14433
|
+
* `WebContents` refers to shared functionality between {@link OpenFin.Window} and {@link OpenFin.View}.
|
14434
|
+
* We do not expose an explicit superclass for this functionality, but it does have its own
|
14435
|
+
* {@link OpenFin.WebContentsEvents event namespace}.
|
14447
14436
|
*/
|
14448
14437
|
getZoomLevel(): Promise<number>;
|
14449
14438
|
/**
|
@@ -14480,6 +14469,10 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
|
|
14480
14469
|
*
|
14481
14470
|
* setZoomLevel(4).then(() => console.log('Setting a zoom level')).catch(err => console.log(err));
|
14482
14471
|
* ```
|
14472
|
+
* @remarks
|
14473
|
+
* `WebContents` refers to shared functionality between {@link OpenFin.Window} and {@link OpenFin.View}.
|
14474
|
+
* We do not expose an explicit superclass for this functionality, but it does have its own
|
14475
|
+
* {@link OpenFin.WebContentsEvents event namespace}.
|
14483
14476
|
*/
|
14484
14477
|
setZoomLevel(level: number): Promise<void>;
|
14485
14478
|
/**
|
@@ -14515,6 +14508,10 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
|
|
14515
14508
|
* navigate().then(() => console.log('Navigate to tutorial')).catch(err => console.log(err));
|
14516
14509
|
* ```
|
14517
14510
|
* @experimental
|
14511
|
+
* @remarks
|
14512
|
+
* `WebContents` refers to shared functionality between {@link OpenFin.Window} and {@link OpenFin.View}.
|
14513
|
+
* We do not expose an explicit superclass for this functionality, but it does have its own
|
14514
|
+
* {@link OpenFin.WebContentsEvents event namespace}.
|
14518
14515
|
*/
|
14519
14516
|
navigate(url: string): Promise<void>;
|
14520
14517
|
/**
|
@@ -14540,6 +14537,10 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
|
|
14540
14537
|
* }
|
14541
14538
|
* navigateBack().then(() => console.log('Navigated back')).catch(err => console.log(err));
|
14542
14539
|
* ```
|
14540
|
+
* @remarks
|
14541
|
+
* `WebContents` refers to shared functionality between {@link OpenFin.Window} and {@link OpenFin.View}.
|
14542
|
+
* We do not expose an explicit superclass for this functionality, but it does have its own
|
14543
|
+
* {@link OpenFin.WebContentsEvents event namespace}.
|
14543
14544
|
*/
|
14544
14545
|
navigateBack(): Promise<void>;
|
14545
14546
|
/**
|
@@ -14567,6 +14568,10 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
|
|
14567
14568
|
* }
|
14568
14569
|
* navigateForward().then(() => console.log('Navigated forward')).catch(err => console.log(err));
|
14569
14570
|
* ```
|
14571
|
+
* @remarks
|
14572
|
+
* `WebContents` refers to shared functionality between {@link OpenFin.Window} and {@link OpenFin.View}.
|
14573
|
+
* We do not expose an explicit superclass for this functionality, but it does have its own
|
14574
|
+
* {@link OpenFin.WebContentsEvents event namespace}.
|
14570
14575
|
*/
|
14571
14576
|
navigateForward(): Promise<void>;
|
14572
14577
|
/**
|
@@ -14592,6 +14597,10 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
|
|
14592
14597
|
* }
|
14593
14598
|
* stopNavigation().then(() => console.log('you shall not navigate')).catch(err => console.log(err));
|
14594
14599
|
* ```
|
14600
|
+
* @remarks
|
14601
|
+
* `WebContents` refers to shared functionality between {@link OpenFin.Window} and {@link OpenFin.View}.
|
14602
|
+
* We do not expose an explicit superclass for this functionality, but it does have its own
|
14603
|
+
* {@link OpenFin.WebContentsEvents event namespace}.
|
14595
14604
|
*/
|
14596
14605
|
stopNavigation(): Promise<void>;
|
14597
14606
|
/**
|
@@ -14627,6 +14636,10 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
|
|
14627
14636
|
* console.log('Reloaded window')
|
14628
14637
|
* }).catch(err => console.log(err));
|
14629
14638
|
* ```
|
14639
|
+
* @remarks
|
14640
|
+
* `WebContents` refers to shared functionality between {@link OpenFin.Window} and {@link OpenFin.View}.
|
14641
|
+
* We do not expose an explicit superclass for this functionality, but it does have its own
|
14642
|
+
* {@link OpenFin.WebContentsEvents event namespace}.
|
14630
14643
|
*/
|
14631
14644
|
reload(ignoreCache?: boolean): Promise<void>;
|
14632
14645
|
/**
|
@@ -14646,6 +14659,10 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
|
|
14646
14659
|
* console.log('print call has been sent to the system');
|
14647
14660
|
* });
|
14648
14661
|
* ```
|
14662
|
+
* @remarks
|
14663
|
+
* `WebContents` refers to shared functionality between {@link OpenFin.Window} and {@link OpenFin.View}.
|
14664
|
+
* We do not expose an explicit superclass for this functionality, but it does have its own
|
14665
|
+
* {@link OpenFin.WebContentsEvents event namespace}.
|
14649
14666
|
*/
|
14650
14667
|
print(options?: OpenFin.PrintOptions): Promise<void>;
|
14651
14668
|
/**
|
@@ -14688,6 +14705,10 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
|
|
14688
14705
|
* console.log(result)
|
14689
14706
|
* });
|
14690
14707
|
* ```
|
14708
|
+
* @remarks
|
14709
|
+
* `WebContents` refers to shared functionality between {@link OpenFin.Window} and {@link OpenFin.View}.
|
14710
|
+
* We do not expose an explicit superclass for this functionality, but it does have its own
|
14711
|
+
* {@link OpenFin.WebContentsEvents event namespace}.
|
14691
14712
|
*/
|
14692
14713
|
findInPage(searchTerm: string, options?: OpenFin.FindInPageOptions): Promise<void>;
|
14693
14714
|
/**
|
@@ -14727,6 +14748,10 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
|
|
14727
14748
|
* console.log(results);
|
14728
14749
|
* });
|
14729
14750
|
* ```
|
14751
|
+
* @remarks
|
14752
|
+
* `WebContents` refers to shared functionality between {@link OpenFin.Window} and {@link OpenFin.View}.
|
14753
|
+
* We do not expose an explicit superclass for this functionality, but it does have its own
|
14754
|
+
* {@link OpenFin.WebContentsEvents event namespace}.
|
14730
14755
|
*/
|
14731
14756
|
stopFindInPage(action: string): Promise<void>;
|
14732
14757
|
/**
|
@@ -14767,6 +14792,10 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
|
|
14767
14792
|
* console.log(err);
|
14768
14793
|
* });
|
14769
14794
|
* ```
|
14795
|
+
* @remarks
|
14796
|
+
* `WebContents` refers to shared functionality between {@link OpenFin.Window} and {@link OpenFin.View}.
|
14797
|
+
* We do not expose an explicit superclass for this functionality, but it does have its own
|
14798
|
+
* {@link OpenFin.WebContentsEvents event namespace}.
|
14770
14799
|
*/
|
14771
14800
|
getPrinters(): Promise<OpenFin.PrinterInfo>;
|
14772
14801
|
/**
|
@@ -14787,6 +14816,10 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
|
|
14787
14816
|
*
|
14788
14817
|
* focusWindow().then(() => console.log('Window focused')).catch(err => console.log(err));
|
14789
14818
|
* ```
|
14819
|
+
* @remarks
|
14820
|
+
* `WebContents` refers to shared functionality between {@link OpenFin.Window} and {@link OpenFin.View}.
|
14821
|
+
* We do not expose an explicit superclass for this functionality, but it does have its own
|
14822
|
+
* {@link OpenFin.WebContentsEvents event namespace}.
|
14790
14823
|
*/
|
14791
14824
|
focus({ emitSynthFocused }?: {
|
14792
14825
|
emitSynthFocused: boolean;
|
@@ -14818,6 +14851,10 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
|
|
14818
14851
|
* .then(() => console.log('Showing dev tools'))
|
14819
14852
|
* .catch(err => console.error(err));
|
14820
14853
|
* ```
|
14854
|
+
* @remarks
|
14855
|
+
* `WebContents` refers to shared functionality between {@link OpenFin.Window} and {@link OpenFin.View}.
|
14856
|
+
* We do not expose an explicit superclass for this functionality, but it does have its own
|
14857
|
+
* {@link OpenFin.WebContentsEvents event namespace}.
|
14821
14858
|
*/
|
14822
14859
|
showDeveloperTools(): Promise<void>;
|
14823
14860
|
/**
|
@@ -14837,6 +14874,10 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
|
|
14837
14874
|
* const win = await fin.Window.getCurrent();
|
14838
14875
|
* const processInfo = await win.getProcessInfo();
|
14839
14876
|
* ```
|
14877
|
+
* @remarks
|
14878
|
+
* `WebContents` refers to shared functionality between {@link OpenFin.Window} and {@link OpenFin.View}.
|
14879
|
+
* We do not expose an explicit superclass for this functionality, but it does have its own
|
14880
|
+
* {@link OpenFin.WebContentsEvents event namespace}.
|
14840
14881
|
*/
|
14841
14882
|
getProcessInfo(): Promise<OpenFin.EntityProcessDetails>;
|
14842
14883
|
/**
|
@@ -14869,6 +14910,10 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
|
|
14869
14910
|
* const win = await fin.Window.create(winOption);
|
14870
14911
|
* const sharedWorkers = await win.getSharedWorkers();
|
14871
14912
|
* ```
|
14913
|
+
* @remarks
|
14914
|
+
* `WebContents` refers to shared functionality between {@link OpenFin.Window} and {@link OpenFin.View}.
|
14915
|
+
* We do not expose an explicit superclass for this functionality, but it does have its own
|
14916
|
+
* {@link OpenFin.WebContentsEvents event namespace}.
|
14872
14917
|
*/
|
14873
14918
|
getSharedWorkers(): Promise<OpenFin.SharedWorkerInfo[]>;
|
14874
14919
|
/**
|
@@ -14901,6 +14946,10 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
|
|
14901
14946
|
* const win = await fin.Window.create(winOption);
|
14902
14947
|
* await win.inspectSharedWorker();
|
14903
14948
|
* ```
|
14949
|
+
* @remarks
|
14950
|
+
* `WebContents` refers to shared functionality between {@link OpenFin.Window} and {@link OpenFin.View}.
|
14951
|
+
* We do not expose an explicit superclass for this functionality, but it does have its own
|
14952
|
+
* {@link OpenFin.WebContentsEvents event namespace}.
|
14904
14953
|
*/
|
14905
14954
|
inspectSharedWorker(): Promise<void>;
|
14906
14955
|
/**
|
@@ -14936,6 +14985,10 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
|
|
14936
14985
|
* const sharedWorkers = await win.getSharedWorkers();
|
14937
14986
|
* await win.inspectSharedWorkerById(sharedWorkers[0].id);
|
14938
14987
|
* ```
|
14988
|
+
* @remarks
|
14989
|
+
* `WebContents` refers to shared functionality between {@link OpenFin.Window} and {@link OpenFin.View}.
|
14990
|
+
* We do not expose an explicit superclass for this functionality, but it does have its own
|
14991
|
+
* {@link OpenFin.WebContentsEvents event namespace}.
|
14939
14992
|
*/
|
14940
14993
|
inspectSharedWorkerById(workerId: string): Promise<void>;
|
14941
14994
|
/**
|
@@ -14968,6 +15021,10 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
|
|
14968
15021
|
* const win = await fin.Window.create(winOption);
|
14969
15022
|
* await win.inspectServiceWorker();
|
14970
15023
|
* ```
|
15024
|
+
* @remarks
|
15025
|
+
* `WebContents` refers to shared functionality between {@link OpenFin.Window} and {@link OpenFin.View}.
|
15026
|
+
* We do not expose an explicit superclass for this functionality, but it does have its own
|
15027
|
+
* {@link OpenFin.WebContentsEvents event namespace}.
|
14971
15028
|
*/
|
14972
15029
|
inspectServiceWorker(): Promise<void>;
|
14973
15030
|
/**
|
@@ -15176,6 +15233,10 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
|
|
15176
15233
|
* onPopupReady: popupWindowCallback;
|
15177
15234
|
* });
|
15178
15235
|
* ```
|
15236
|
+
* @remarks
|
15237
|
+
* `WebContents` refers to shared functionality between {@link OpenFin.Window} and {@link OpenFin.View}.
|
15238
|
+
* We do not expose an explicit superclass for this functionality, but it does have its own
|
15239
|
+
* {@link OpenFin.WebContentsEvents event namespace}.
|
15179
15240
|
*/
|
15180
15241
|
showPopupWindow(options: OpenFin.PopupOptions): Promise<OpenFin.PopupResult>;
|
15181
15242
|
}
|
@@ -15784,7 +15845,6 @@ declare type WillResizeEvent = WillMoveOrResizeEvent & {
|
|
15784
15845
|
* It has the ability to listen for {@link OpenFin.WindowEvents window specific events}.
|
15785
15846
|
*/
|
15786
15847
|
declare class _Window extends WebContents<OpenFin.WindowEvent> {
|
15787
|
-
identity: OpenFin.Identity;
|
15788
15848
|
/* Excluded from this release type: __constructor */
|
15789
15849
|
/* Excluded from this release type: createWindow */
|
15790
15850
|
/**
|