@openfin/core 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/mock.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. The maximum number of "detached" or "pooled" Views that can exist in the Platform before being closed.
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. Default window options apply to all platform windows.
1200
+ * **Platforms Only.** Default window options apply to all platform windows.
1199
1201
  */
1200
- defaultWindowOptions: Partial<WindowOptions>;
1202
+ defaultWindowOptions: Partial<PlatformWindowOptions>;
1201
1203
  /**
1202
- * Platforms Only. Default view options apply to all platform views.
1204
+ * **Platforms Only.** Default view options apply to all platform views.
1203
1205
  */
1204
1206
  defaultViewOptions: Partial<ViewOptions>;
1205
1207
  /**
1206
- * Platforms Only. The snapshot to be applied.
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. Prevent the Platform Provider from quitting automatically when the last Platform Window is closed.
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
- * @property { string } uuid The uuid of the application
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: EntityType_4;
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_2.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_2.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: EntityType_5;
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
  */
@@ -3501,7 +3498,8 @@ declare type ContentCreationRulesEvent = NamedEvent & {
3501
3498
  */
3502
3499
  frameName: string;
3503
3500
  /**
3504
- * The rule which triggered this event. May be undefined on `child-window-created` where no rule corresponds to the child Window creation
3501
+ * The rule which triggered this event. May be undefined on `child-window-created` where no rule corresponds to the child Window creation.
3502
+ * <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.
3505
3503
  */
3506
3504
  rule: OpenFin_2.ContentCreationRule;
3507
3505
  /**
@@ -3560,8 +3558,6 @@ declare type ContextForIntent<MetadataType = any> = Context & {
3560
3558
 
3561
3559
  /**
3562
3560
  * Information for a Context Group. Contains metadata for displaying the group properly.
3563
- */
3564
- /**
3565
3561
  * @interface
3566
3562
  */
3567
3563
  declare type ContextGroupInfo = {
@@ -4060,7 +4056,7 @@ declare type EntityInfo = OpenFin_2.EntityInfo;
4060
4056
  declare type EntityInfo_2 = {
4061
4057
  uuid: string;
4062
4058
  name: string;
4063
- entityType: EntityType_5;
4059
+ entityType: EntityType_4;
4064
4060
  };
4065
4061
 
4066
4062
  /**
@@ -4078,11 +4074,9 @@ declare type EntityType_2 = OpenFin_2.EntityType;
4078
4074
 
4079
4075
  declare type EntityType_3 = OpenFin_2.EntityType;
4080
4076
 
4081
- declare type EntityType_4 = OpenFin_2.EntityType;
4077
+ declare type EntityType_4 = 'window' | 'iframe' | 'external connection' | 'view' | 'unknown';
4082
4078
 
4083
- declare type EntityType_5 = 'window' | 'iframe' | 'external connection' | 'view' | 'unknown';
4084
-
4085
- declare type EntityTypeHelpers<T extends EntityType_3> = T extends 'view' ? {
4079
+ declare type EntityTypeHelpers<T extends EntityType_2> = T extends 'view' ? {
4086
4080
  isView: true;
4087
4081
  isWindow: false;
4088
4082
  isExternal: false;
@@ -4120,7 +4114,7 @@ declare interface Environment {
4120
4114
  createChildContent(options: ChildContentOptions): Promise<any>;
4121
4115
  getWebWindow(identity: OpenFin_2.Identity): globalThis.Window;
4122
4116
  getCurrentEntityIdentity(): OpenFin_2.EntityInfo;
4123
- getCurrentEntityType(): EntityType_4;
4117
+ getCurrentEntityType(): EntityType_3;
4124
4118
  raiseEvent(eventName: string, eventArgs: any): void;
4125
4119
  childViews: boolean;
4126
4120
  getUrl(): string;
@@ -4561,14 +4555,14 @@ declare type FileDownloadStartedEvent = FileDownloadEvent & {
4561
4555
  state: 'started';
4562
4556
  };
4563
4557
 
4564
- declare type Fin<MeType extends EntityType_5 = 'window' | 'view'> = FinApi<MeType>;
4558
+ declare type Fin<MeType extends EntityType_4 = 'window' | 'view'> = FinApi<MeType>;
4565
4559
 
4566
4560
  export declare const fin: OpenFin_2.Fin<"window" | "view">;
4567
4561
 
4568
4562
  /**
4569
4563
  * Type of the global `fin` entry point for the OpenFin API.
4570
4564
  */
4571
- declare interface FinApi<MeType extends EntityType> {
4565
+ declare interface FinApi<MeType extends OpenFin_2.EntityType> {
4572
4566
  readonly System: System;
4573
4567
  readonly Window: _WindowModule;
4574
4568
  readonly Application: ApplicationModule;
@@ -4850,7 +4844,7 @@ declare type FrameInfo = {
4850
4844
  name: string;
4851
4845
  uuid: string;
4852
4846
  url: string;
4853
- entityType: EntityType_5;
4847
+ entityType: EntityType_4;
4854
4848
  parent: Identity_5;
4855
4849
  };
4856
4850
 
@@ -4949,7 +4943,7 @@ declare type GetWindowContextPayload = {
4949
4943
  /**
4950
4944
  * Entity type of the target of the context update ('view' or 'window').
4951
4945
  */
4952
- entityType: EntityType_5;
4946
+ entityType: EntityType_4;
4953
4947
  /**
4954
4948
  * Identity of the entity targeted by the call to {@link Platform#setWindowContext Platform.setWindowContext}.
4955
4949
  */
@@ -5340,8 +5334,6 @@ declare type IntentHandler = (intent: Intent) => void;
5340
5334
 
5341
5335
  /**
5342
5336
  * The type used to describe an intent within the platform.
5343
- */
5344
- /**
5345
5337
  * @interface
5346
5338
  */
5347
5339
  declare type IntentMetadata<TargetType = any> = {
@@ -6668,8 +6660,6 @@ declare type InteropClientOnDisconnectionListener = (InteropBrokerDisconnectionE
6668
6660
 
6669
6661
  /**
6670
6662
  * Information relevant to the Interop Broker.
6671
- */
6672
- /**
6673
6663
  * @interface
6674
6664
  */
6675
6665
  declare type InteropConfig = {
@@ -6782,7 +6772,7 @@ declare type JumpListTask = {
6782
6772
  */
6783
6773
  description: string;
6784
6774
  /**
6785
- * @property Deep link to a manifest, i.e: fins://path.to/manifest.json?$$param1=value1.
6775
+ * Deep link to a manifest, i.e: fins://path.to/manifest.json?$$param1=value1.
6786
6776
  * See {@link https://developers.openfin.co/docs/deep-linking deep-linking} for more information.
6787
6777
  */
6788
6778
  deepLink: string;
@@ -8008,7 +7998,7 @@ declare type MaximizedEvent = NamedEvent & {
8008
7998
  * Useful for debugging in the devtools console, where this will intelligently type itself based
8009
7999
  * on the context in which the devtools panel was opened.
8010
8000
  */
8011
- declare type Me<MeType extends EntityType_3> = OpenFin_2.EntityInfo & (MeType extends 'view' ? EntityTypeHelpers<'view'> & OpenFin_2.View & WithInterop : MeType extends 'window' ? EntityTypeHelpers<'window'> & OpenFin_2.Window & WithInterop : MeType extends 'iframe' ? EntityTypeHelpers<'iframe'> & OpenFin_2.Frame & WithInterop : MeType extends 'external connection' ? EntityTypeHelpers<'external connection'> & OpenFin_2.ExternalApplication & WithInterop : EntityTypeHelpers<MeType> & WithInterop) & {
8001
+ declare type Me<MeType extends EntityType_2> = OpenFin_2.EntityInfo & (MeType extends 'view' ? EntityTypeHelpers<'view'> & OpenFin_2.View & WithInterop : MeType extends 'window' ? EntityTypeHelpers<'window'> & OpenFin_2.Window & WithInterop : MeType extends 'iframe' ? EntityTypeHelpers<'iframe'> & OpenFin_2.Frame & WithInterop : MeType extends 'external connection' ? EntityTypeHelpers<'external connection'> & OpenFin_2.ExternalApplication & WithInterop : EntityTypeHelpers<MeType> & WithInterop) & {
8012
8002
  isOpenFin: boolean;
8013
8003
  };
8014
8004
 
@@ -8231,7 +8221,7 @@ declare type MutableViewOptions = {
8231
8221
  /**
8232
8222
  * @defaultValue false
8233
8223
  *
8234
- * Platforms Only. If true, will hide and detach the View from the window for later use instead of closing,
8224
+ * **Platforms Only.** If true, will hide and detach the View from the window for later use instead of closing,
8235
8225
  * allowing the state of the View to be saved and the View to be immediately shown in a new Layout.
8236
8226
  */
8237
8227
  detachOnClose: boolean;
@@ -8246,7 +8236,7 @@ declare type MutableViewOptions = {
8246
8236
  /**
8247
8237
  * @defaultValue false
8248
8238
  *
8249
- * @property {boolean} [preventDragOut=false] **Platforms Only.** If true, the tab of the view can't be dragged out of its host window.
8239
+ * **Platforms Only.** If true, the tab of the view can't be dragged out of its host window.
8250
8240
  */
8251
8241
  preventDragOut: boolean;
8252
8242
  interop?: InteropConfig;
@@ -8484,7 +8474,7 @@ declare type MutableWindowOptions = {
8484
8474
  /**
8485
8475
  * @defaultValue false
8486
8476
  *
8487
- * Platforms Only. If true, will show background images in the layout when the Views are hidden.
8477
+ * **Platforms Only.** If true, will show background images in the layout when the Views are hidden.
8488
8478
  * This occurs when the window is resizing or a tab is being dragged within the layout.
8489
8479
  */
8490
8480
  showBackgroundImages: boolean;
@@ -8633,7 +8623,7 @@ declare namespace OpenFin_2 {
8633
8623
  ClientIdentityMultiRuntime,
8634
8624
  ClientConnectionPayload,
8635
8625
  EntityInfo_2 as EntityInfo,
8636
- EntityType_5 as EntityType,
8626
+ EntityType_4 as EntityType,
8637
8627
  Bounds,
8638
8628
  WindowBounds,
8639
8629
  Rectangle,
@@ -9800,14 +9790,6 @@ declare class PlatformModule extends Base {
9800
9790
  * @interface
9801
9791
  */
9802
9792
  declare type PlatformOptions = ApplicationCreationOptions & {
9803
- /**
9804
- * Default window options apply to all platform windows.
9805
- */
9806
- defaultWindowOptions?: Partial<PlatformWindowOptions>;
9807
- /**
9808
- * Default view options apply to all platform views.
9809
- */
9810
- defaultViewOptions?: Partial<PlatformViewCreationOptions>;
9811
9793
  disableDefaultCommands?: boolean;
9812
9794
  /**
9813
9795
  * Strategy to assign views to process affinity by domain.
@@ -10552,11 +10534,10 @@ declare type Position = TransitionBase & {
10552
10534
  * - {@link OpenFin.Window.setBounds}
10553
10535
  * - {@link OpenFin.Window.resizeBy}
10554
10536
  * - {@link OpenFin.Window.resizeTo}
10555
- * @example ```js
10556
- fin.me.setBounds({top: 50, left: 50, width: 200, height: 200}, {skipRestore: true})
10557
- ```
10558
- */
10559
- /**
10537
+ * @example
10538
+ * ```js
10539
+ * fin.me.setBounds({top: 50, left: 50, width: 200, height: 200}, {skipRestore: true})
10540
+ * ```
10560
10541
  * @interface
10561
10542
  */
10562
10543
  declare type PositioningOptions = {
@@ -11486,9 +11467,12 @@ declare type RuntimeDownloadOptions = {
11486
11467
  */
11487
11468
  declare type RuntimeDownloadProgress = {
11488
11469
  /**
11489
- * @property { string } alias The name of the asset
11470
+ * The downloaded bytes of the download item.
11490
11471
  */
11491
11472
  downloadedBytes: number;
11473
+ /**
11474
+ * The total size in bytes of the file.
11475
+ */
11492
11476
  totalBytes: number;
11493
11477
  };
11494
11478
 
@@ -11639,8 +11623,6 @@ declare type SessionChangedEvent = {
11639
11623
 
11640
11624
  /**
11641
11625
  * An instance of a SessionContextGroup
11642
- */
11643
- /**
11644
11626
  * @interface
11645
11627
  */
11646
11628
  declare type SessionContextGroup = {
@@ -11680,7 +11662,7 @@ declare type SetWindowContextPayload = {
11680
11662
  /**
11681
11663
  * Entity type of the target of the context update ('view' or 'window').
11682
11664
  */
11683
- entityType: EntityType_5;
11665
+ entityType: EntityType_4;
11684
11666
  /**
11685
11667
  * Identity of the entity targeted by the call to {@link Platform#setWindowContext Platform.setWindowContext}.
11686
11668
  */
@@ -11765,12 +11747,6 @@ declare type ShowPopupMenuOptions<Data extends unknown = unknown> = {
11765
11747
  * @interface
11766
11748
  */
11767
11749
  declare type ShowViewOnWindowResizeOptions = ViewVisibilityOption & {
11768
- /**
11769
- * @defaultValue false
11770
- *
11771
- * Enables showing Views when a Platform Window is being resized.
11772
- */
11773
- enabled?: boolean;
11774
11750
  /**
11775
11751
  * @defaultValue 0
11776
11752
  *
@@ -13878,7 +13854,7 @@ declare type TransitionOptions = {
13878
13854
  tween?: tween;
13879
13855
  };
13880
13856
 
13881
- declare class Transport<MeType extends EntityType_2 = EntityType_2> extends EventEmitter {
13857
+ declare class Transport<MeType extends EntityType = EntityType> extends EventEmitter {
13882
13858
  #private;
13883
13859
  protected wireListeners: Map<number, {
13884
13860
  resolve: Function;
@@ -14883,7 +14859,7 @@ declare type ViewVisibilityOption = {
14883
14859
  /**
14884
14860
  * @defaultValue false
14885
14861
  *
14886
- * Enables or disables showing views when the layout splitter or a tab is being dragged.
14862
+ * Enables or disables showing views when the layout splitter or a tab is being dragged or a Platform Window is being resized.
14887
14863
  */
14888
14864
  enabled?: boolean;
14889
14865
  };
@@ -14967,6 +14943,11 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
14967
14943
  * }
14968
14944
  * console.log(await wnd.capturePage(options));
14969
14945
  * ```
14946
+ *
14947
+ * @remarks
14948
+ * `WebContents` refers to shared functionality between {@link OpenFin.Window} and {@link OpenFin.View}.
14949
+ * We do not expose an explicit superclass for this functionality, but it does have its own
14950
+ * {@link OpenFin.WebContentsEvents event namespace}.
14970
14951
  */
14971
14952
  capturePage(options?: OpenFin_2.CapturePageOptions): Promise<string>;
14972
14953
  /**
@@ -15000,6 +14981,10 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
15000
14981
  *
15001
14982
  * executeJavaScript(`console.log('Hello, Openfin')`).then(() => console.log('Javascript excuted')).catch(err => console.log(err));
15002
14983
  * ```
14984
+ * @remarks
14985
+ * `WebContents` refers to shared functionality between {@link OpenFin.Window} and {@link OpenFin.View}.
14986
+ * We do not expose an explicit superclass for this functionality, but it does have its own
14987
+ * {@link OpenFin.WebContentsEvents event namespace}.
15003
14988
  */
15004
14989
  executeJavaScript(code: string): Promise<void>;
15005
14990
  /**
@@ -15035,6 +15020,10 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
15035
15020
  *
15036
15021
  * getZoomLevel().then(zoomLevel => console.log(zoomLevel)).catch(err => console.log(err));
15037
15022
  * ```
15023
+ * @remarks
15024
+ * `WebContents` refers to shared functionality between {@link OpenFin.Window} and {@link OpenFin.View}.
15025
+ * We do not expose an explicit superclass for this functionality, but it does have its own
15026
+ * {@link OpenFin.WebContentsEvents event namespace}.
15038
15027
  */
15039
15028
  getZoomLevel(): Promise<number>;
15040
15029
  /**
@@ -15071,6 +15060,10 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
15071
15060
  *
15072
15061
  * setZoomLevel(4).then(() => console.log('Setting a zoom level')).catch(err => console.log(err));
15073
15062
  * ```
15063
+ * @remarks
15064
+ * `WebContents` refers to shared functionality between {@link OpenFin.Window} and {@link OpenFin.View}.
15065
+ * We do not expose an explicit superclass for this functionality, but it does have its own
15066
+ * {@link OpenFin.WebContentsEvents event namespace}.
15074
15067
  */
15075
15068
  setZoomLevel(level: number): Promise<void>;
15076
15069
  /**
@@ -15106,6 +15099,10 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
15106
15099
  * navigate().then(() => console.log('Navigate to tutorial')).catch(err => console.log(err));
15107
15100
  * ```
15108
15101
  * @experimental
15102
+ * @remarks
15103
+ * `WebContents` refers to shared functionality between {@link OpenFin.Window} and {@link OpenFin.View}.
15104
+ * We do not expose an explicit superclass for this functionality, but it does have its own
15105
+ * {@link OpenFin.WebContentsEvents event namespace}.
15109
15106
  */
15110
15107
  navigate(url: string): Promise<void>;
15111
15108
  /**
@@ -15131,6 +15128,10 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
15131
15128
  * }
15132
15129
  * navigateBack().then(() => console.log('Navigated back')).catch(err => console.log(err));
15133
15130
  * ```
15131
+ * @remarks
15132
+ * `WebContents` refers to shared functionality between {@link OpenFin.Window} and {@link OpenFin.View}.
15133
+ * We do not expose an explicit superclass for this functionality, but it does have its own
15134
+ * {@link OpenFin.WebContentsEvents event namespace}.
15134
15135
  */
15135
15136
  navigateBack(): Promise<void>;
15136
15137
  /**
@@ -15158,6 +15159,10 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
15158
15159
  * }
15159
15160
  * navigateForward().then(() => console.log('Navigated forward')).catch(err => console.log(err));
15160
15161
  * ```
15162
+ * @remarks
15163
+ * `WebContents` refers to shared functionality between {@link OpenFin.Window} and {@link OpenFin.View}.
15164
+ * We do not expose an explicit superclass for this functionality, but it does have its own
15165
+ * {@link OpenFin.WebContentsEvents event namespace}.
15161
15166
  */
15162
15167
  navigateForward(): Promise<void>;
15163
15168
  /**
@@ -15183,6 +15188,10 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
15183
15188
  * }
15184
15189
  * stopNavigation().then(() => console.log('you shall not navigate')).catch(err => console.log(err));
15185
15190
  * ```
15191
+ * @remarks
15192
+ * `WebContents` refers to shared functionality between {@link OpenFin.Window} and {@link OpenFin.View}.
15193
+ * We do not expose an explicit superclass for this functionality, but it does have its own
15194
+ * {@link OpenFin.WebContentsEvents event namespace}.
15186
15195
  */
15187
15196
  stopNavigation(): Promise<void>;
15188
15197
  /**
@@ -15218,6 +15227,10 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
15218
15227
  * console.log('Reloaded window')
15219
15228
  * }).catch(err => console.log(err));
15220
15229
  * ```
15230
+ * @remarks
15231
+ * `WebContents` refers to shared functionality between {@link OpenFin.Window} and {@link OpenFin.View}.
15232
+ * We do not expose an explicit superclass for this functionality, but it does have its own
15233
+ * {@link OpenFin.WebContentsEvents event namespace}.
15221
15234
  */
15222
15235
  reload(ignoreCache?: boolean): Promise<void>;
15223
15236
  /**
@@ -15237,6 +15250,10 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
15237
15250
  * console.log('print call has been sent to the system');
15238
15251
  * });
15239
15252
  * ```
15253
+ * @remarks
15254
+ * `WebContents` refers to shared functionality between {@link OpenFin.Window} and {@link OpenFin.View}.
15255
+ * We do not expose an explicit superclass for this functionality, but it does have its own
15256
+ * {@link OpenFin.WebContentsEvents event namespace}.
15240
15257
  */
15241
15258
  print(options?: OpenFin_2.PrintOptions): Promise<void>;
15242
15259
  /**
@@ -15279,6 +15296,10 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
15279
15296
  * console.log(result)
15280
15297
  * });
15281
15298
  * ```
15299
+ * @remarks
15300
+ * `WebContents` refers to shared functionality between {@link OpenFin.Window} and {@link OpenFin.View}.
15301
+ * We do not expose an explicit superclass for this functionality, but it does have its own
15302
+ * {@link OpenFin.WebContentsEvents event namespace}.
15282
15303
  */
15283
15304
  findInPage(searchTerm: string, options?: OpenFin_2.FindInPageOptions): Promise<void>;
15284
15305
  /**
@@ -15318,6 +15339,10 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
15318
15339
  * console.log(results);
15319
15340
  * });
15320
15341
  * ```
15342
+ * @remarks
15343
+ * `WebContents` refers to shared functionality between {@link OpenFin.Window} and {@link OpenFin.View}.
15344
+ * We do not expose an explicit superclass for this functionality, but it does have its own
15345
+ * {@link OpenFin.WebContentsEvents event namespace}.
15321
15346
  */
15322
15347
  stopFindInPage(action: string): Promise<void>;
15323
15348
  /**
@@ -15358,6 +15383,10 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
15358
15383
  * console.log(err);
15359
15384
  * });
15360
15385
  * ```
15386
+ * @remarks
15387
+ * `WebContents` refers to shared functionality between {@link OpenFin.Window} and {@link OpenFin.View}.
15388
+ * We do not expose an explicit superclass for this functionality, but it does have its own
15389
+ * {@link OpenFin.WebContentsEvents event namespace}.
15361
15390
  */
15362
15391
  getPrinters(): Promise<OpenFin_2.PrinterInfo>;
15363
15392
  /**
@@ -15378,6 +15407,10 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
15378
15407
  *
15379
15408
  * focusWindow().then(() => console.log('Window focused')).catch(err => console.log(err));
15380
15409
  * ```
15410
+ * @remarks
15411
+ * `WebContents` refers to shared functionality between {@link OpenFin.Window} and {@link OpenFin.View}.
15412
+ * We do not expose an explicit superclass for this functionality, but it does have its own
15413
+ * {@link OpenFin.WebContentsEvents event namespace}.
15381
15414
  */
15382
15415
  focus({ emitSynthFocused }?: {
15383
15416
  emitSynthFocused: boolean;
@@ -15409,6 +15442,10 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
15409
15442
  * .then(() => console.log('Showing dev tools'))
15410
15443
  * .catch(err => console.error(err));
15411
15444
  * ```
15445
+ * @remarks
15446
+ * `WebContents` refers to shared functionality between {@link OpenFin.Window} and {@link OpenFin.View}.
15447
+ * We do not expose an explicit superclass for this functionality, but it does have its own
15448
+ * {@link OpenFin.WebContentsEvents event namespace}.
15412
15449
  */
15413
15450
  showDeveloperTools(): Promise<void>;
15414
15451
  /**
@@ -15428,6 +15465,10 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
15428
15465
  * const win = await fin.Window.getCurrent();
15429
15466
  * const processInfo = await win.getProcessInfo();
15430
15467
  * ```
15468
+ * @remarks
15469
+ * `WebContents` refers to shared functionality between {@link OpenFin.Window} and {@link OpenFin.View}.
15470
+ * We do not expose an explicit superclass for this functionality, but it does have its own
15471
+ * {@link OpenFin.WebContentsEvents event namespace}.
15431
15472
  */
15432
15473
  getProcessInfo(): Promise<OpenFin_2.EntityProcessDetails>;
15433
15474
  /**
@@ -15460,6 +15501,10 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
15460
15501
  * const win = await fin.Window.create(winOption);
15461
15502
  * const sharedWorkers = await win.getSharedWorkers();
15462
15503
  * ```
15504
+ * @remarks
15505
+ * `WebContents` refers to shared functionality between {@link OpenFin.Window} and {@link OpenFin.View}.
15506
+ * We do not expose an explicit superclass for this functionality, but it does have its own
15507
+ * {@link OpenFin.WebContentsEvents event namespace}.
15463
15508
  */
15464
15509
  getSharedWorkers(): Promise<OpenFin_2.SharedWorkerInfo[]>;
15465
15510
  /**
@@ -15492,6 +15537,10 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
15492
15537
  * const win = await fin.Window.create(winOption);
15493
15538
  * await win.inspectSharedWorker();
15494
15539
  * ```
15540
+ * @remarks
15541
+ * `WebContents` refers to shared functionality between {@link OpenFin.Window} and {@link OpenFin.View}.
15542
+ * We do not expose an explicit superclass for this functionality, but it does have its own
15543
+ * {@link OpenFin.WebContentsEvents event namespace}.
15495
15544
  */
15496
15545
  inspectSharedWorker(): Promise<void>;
15497
15546
  /**
@@ -15527,6 +15576,10 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
15527
15576
  * const sharedWorkers = await win.getSharedWorkers();
15528
15577
  * await win.inspectSharedWorkerById(sharedWorkers[0].id);
15529
15578
  * ```
15579
+ * @remarks
15580
+ * `WebContents` refers to shared functionality between {@link OpenFin.Window} and {@link OpenFin.View}.
15581
+ * We do not expose an explicit superclass for this functionality, but it does have its own
15582
+ * {@link OpenFin.WebContentsEvents event namespace}.
15530
15583
  */
15531
15584
  inspectSharedWorkerById(workerId: string): Promise<void>;
15532
15585
  /**
@@ -15559,6 +15612,10 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
15559
15612
  * const win = await fin.Window.create(winOption);
15560
15613
  * await win.inspectServiceWorker();
15561
15614
  * ```
15615
+ * @remarks
15616
+ * `WebContents` refers to shared functionality between {@link OpenFin.Window} and {@link OpenFin.View}.
15617
+ * We do not expose an explicit superclass for this functionality, but it does have its own
15618
+ * {@link OpenFin.WebContentsEvents event namespace}.
15562
15619
  */
15563
15620
  inspectServiceWorker(): Promise<void>;
15564
15621
  /**
@@ -15767,6 +15824,10 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
15767
15824
  * onPopupReady: popupWindowCallback;
15768
15825
  * });
15769
15826
  * ```
15827
+ * @remarks
15828
+ * `WebContents` refers to shared functionality between {@link OpenFin.Window} and {@link OpenFin.View}.
15829
+ * We do not expose an explicit superclass for this functionality, but it does have its own
15830
+ * {@link OpenFin.WebContentsEvents event namespace}.
15770
15831
  */
15771
15832
  showPopupWindow(options: OpenFin_2.PopupOptions): Promise<OpenFin_2.PopupResult>;
15772
15833
  }
@@ -16375,7 +16436,6 @@ declare type WillResizeEvent = WillMoveOrResizeEvent & {
16375
16436
  * It has the ability to listen for {@link OpenFin.WindowEvents window specific events}.
16376
16437
  */
16377
16438
  declare class _Window extends WebContents<OpenFin_2.WindowEvent> {
16378
- identity: OpenFin_2.Identity;
16379
16439
  /**
16380
16440
  * @internal
16381
16441
  */