@openfin/node-adapter 34.78.3 → 34.78.5

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.
@@ -912,7 +912,6 @@ declare type ApplicationInfo = {
912
912
  declare class ApplicationModule extends Base {
913
913
  /**
914
914
  * Asynchronously returns an Application object that represents an existing application.
915
- * @param identity
916
915
  *
917
916
  * @example
918
917
  *
@@ -923,12 +922,10 @@ declare class ApplicationModule extends Base {
923
922
  * .catch(err => console.log(err));
924
923
  * ```
925
924
  *
926
- * @static
927
925
  */
928
926
  wrap(identity: OpenFin.ApplicationIdentity): Promise<OpenFin.Application>;
929
927
  /**
930
928
  * Synchronously returns an Application object that represents an existing application.
931
- * @param identity
932
929
  *
933
930
  * @example
934
931
  *
@@ -937,14 +934,11 @@ declare class ApplicationModule extends Base {
937
934
  * await app.close();
938
935
  * ```
939
936
  *
940
- * @static
941
937
  */
942
938
  wrapSync(identity: OpenFin.ApplicationIdentity): OpenFin.Application;
943
939
  private _create;
944
940
  /**
945
941
  * DEPRECATED method to create a new Application. Use {@link Application.ApplicationModule.start Application.start} instead.
946
- * @param appOptions
947
- *
948
942
  *
949
943
  * @example
950
944
  *
@@ -967,7 +961,6 @@ declare class ApplicationModule extends Base {
967
961
  create(appOptions: OpenFin.ApplicationCreationOptions): Promise<OpenFin.Application>;
968
962
  /**
969
963
  * Creates and starts a new Application.
970
- * @param appOptions
971
964
  *
972
965
  * @example
973
966
  *
@@ -983,17 +976,13 @@ declare class ApplicationModule extends Base {
983
976
  * start().then(() => console.log('Application is running')).catch(err => console.log(err));
984
977
  * ```
985
978
  *
986
- *
987
- * @static
988
979
  */
989
980
  start(appOptions: OpenFin.ApplicationCreationOptions): Promise<OpenFin.Application>;
990
981
  /**
991
982
  * Asynchronously starts a batch of applications given an array of application identifiers and manifestUrls.
992
983
  * Returns once the RVM is finished attempting to launch the applications.
993
- * @param applications
994
984
  * @param opts - Parameters that the RVM will use.
995
985
  *
996
- * @static
997
986
  * @example
998
987
  *
999
988
  * ```js
@@ -1043,8 +1032,6 @@ declare class ApplicationModule extends Base {
1043
1032
  * });
1044
1033
  *
1045
1034
  * ```
1046
- *
1047
- * @static
1048
1035
  */
1049
1036
  getCurrent(): Promise<OpenFin.Application>;
1050
1037
  /**
@@ -1065,8 +1052,6 @@ declare class ApplicationModule extends Base {
1065
1052
  * });
1066
1053
  *
1067
1054
  * ```
1068
- *
1069
- * @static
1070
1055
  */
1071
1056
  getCurrentSync(): OpenFin.Application;
1072
1057
  /**
@@ -1082,8 +1067,6 @@ declare class ApplicationModule extends Base {
1082
1067
  * // For a local manifest file:
1083
1068
  * fin.Application.startFromManifest('file:///C:/somefolder/app.json').then(app => console.log('App is running')).catch(err => console.log(err));
1084
1069
  * ```
1085
- *
1086
- * @static
1087
1070
  */
1088
1071
  startFromManifest(manifestUrl: string, opts?: OpenFin.RvmLaunchOptions): Promise<OpenFin.Application>;
1089
1072
  /**
@@ -4110,7 +4093,6 @@ declare class ExternalApplicationModule extends Base {
4110
4093
  * .then(extApp => console.log('wrapped external application'))
4111
4094
  * .catch(err => console.log(err));
4112
4095
  * ```
4113
- * @static
4114
4096
  */
4115
4097
  wrap(uuid: string): Promise<OpenFin.ExternalApplication>;
4116
4098
  /**
@@ -4125,7 +4107,6 @@ declare class ExternalApplicationModule extends Base {
4125
4107
  * const info = await extApp.getInfo();
4126
4108
  * console.log(info);
4127
4109
  * ```
4128
- * @static
4129
4110
  */
4130
4111
  wrapSync(uuid: string): OpenFin.ExternalApplication;
4131
4112
  }
@@ -4428,7 +4409,7 @@ declare type FoundInPageEvent = NamedEvent & {
4428
4409
  * The fin.Frame namespace represents a way to interact with `iframes` and facilitates the discovery of current context
4429
4410
  * (iframe or main window) as well as the ability to listen for {@link OpenFin.FrameEvents frame-specific events}.
4430
4411
  */
4431
- declare class _Frame extends EmitterBase<FrameEvents> {
4412
+ declare class _Frame extends EmitterBase<OpenFin.FrameEvent> {
4432
4413
  identity: OpenFin.Identity;
4433
4414
  /**
4434
4415
  * @internal
@@ -4561,11 +4542,9 @@ declare type FrameEvent = {
4561
4542
  topic: 'frame';
4562
4543
  } & (FrameConnectedEvent | FrameDisconnectedEvent);
4563
4544
 
4564
- declare type FrameEvent_2 = FrameEvents_2.FrameEvent;
4565
-
4566
- declare type FrameEvents = OpenFin.FrameEvent;
4545
+ declare type FrameEvent_2 = FrameEvents.FrameEvent;
4567
4546
 
4568
- declare namespace FrameEvents_2 {
4547
+ declare namespace FrameEvents {
4569
4548
  export {
4570
4549
  BaseFrameEvent,
4571
4550
  FrameConnectedEvent,
@@ -4599,7 +4578,6 @@ declare class _FrameModule extends Base {
4599
4578
  * .then(frm => console.log('wrapped frame'))
4600
4579
  * .catch(err => console.log(err));
4601
4580
  * ```
4602
- * @static
4603
4581
  */
4604
4582
  wrap(identity: OpenFin.Identity): Promise<OpenFin.Frame>;
4605
4583
  /**
@@ -4612,7 +4590,6 @@ declare class _FrameModule extends Base {
4612
4590
  * const info = await frm.getInfo();
4613
4591
  * console.log(info);
4614
4592
  * ```
4615
- * @static
4616
4593
  */
4617
4594
  wrapSync(identity: OpenFin.Identity): OpenFin.Frame;
4618
4595
  /**
@@ -4624,7 +4601,6 @@ declare class _FrameModule extends Base {
4624
4601
  * .then(frm => console.log('current frame'))
4625
4602
  * .catch(err => console.log(err));
4626
4603
  * ```
4627
- * @static
4628
4604
  */
4629
4605
  getCurrent(): Promise<OpenFin.Frame>;
4630
4606
  /**
@@ -4636,7 +4612,6 @@ declare class _FrameModule extends Base {
4636
4612
  * const info = await frm.getInfo();
4637
4613
  * console.log(info);
4638
4614
  * ```
4639
- * @static
4640
4615
  */
4641
4616
  getCurrentSync(): OpenFin.Frame;
4642
4617
  }
@@ -6376,7 +6351,6 @@ declare class InteropModule extends Base {
6376
6351
  * const contextGroups = await interopBroker.getContextGroups();
6377
6352
  * console.log(contextGroups);
6378
6353
  * ```
6379
- * @static
6380
6354
  */
6381
6355
  init(name: string, override?: OpenFin.OverrideCallback<InteropBroker> | OpenFin.ConstructorOverride<InteropBroker>[]): Promise<InteropBroker>;
6382
6356
  /**
@@ -6398,7 +6372,6 @@ declare class InteropModule extends Base {
6398
6372
  * const contextGroupInfo = await client.getInfoForContextGroup();
6399
6373
  * console.log(contextGroupInfo);
6400
6374
  * ```
6401
- * @static
6402
6375
  */
6403
6376
  connectSync(name: string, interopConfig?: OpenFin.InteropConfig): InteropClient;
6404
6377
  }
@@ -6954,7 +6927,6 @@ declare class LayoutModule extends Base {
6954
6927
  #private;
6955
6928
  /**
6956
6929
  * Asynchronously returns a Layout object that represents a Window's layout.
6957
- * @param identity
6958
6930
  *
6959
6931
  * @example
6960
6932
  * ```js
@@ -6971,12 +6943,10 @@ declare class LayoutModule extends Base {
6971
6943
  * // Use wrapped instance to control layout, e.g.:
6972
6944
  * const layoutConfig = await layout.getConfig();
6973
6945
  * ```
6974
- * @static
6975
6946
  */
6976
6947
  wrap(identity: OpenFin.Identity): Promise<OpenFin.Layout>;
6977
6948
  /**
6978
6949
  * Synchronously returns a Layout object that represents a Window's layout.
6979
- * @param identity
6980
6950
  *
6981
6951
  * @example
6982
6952
  * ```js
@@ -6993,7 +6963,6 @@ declare class LayoutModule extends Base {
6993
6963
  * // Use wrapped instance to control layout, e.g.:
6994
6964
  * const layoutConfig = await layout.getConfig();
6995
6965
  * ```
6996
- * @static
6997
6966
  */
6998
6967
  wrapSync(identity: OpenFin.Identity): OpenFin.Layout;
6999
6968
  /**
@@ -7005,7 +6974,6 @@ declare class LayoutModule extends Base {
7005
6974
  * // Use wrapped instance to control layout, e.g.:
7006
6975
  * const layoutConfig = await layout.getConfig();
7007
6976
  * ```
7008
- * @static
7009
6977
  */
7010
6978
  getCurrent(): Promise<OpenFin.Layout>;
7011
6979
  /**
@@ -7020,7 +6988,6 @@ declare class LayoutModule extends Base {
7020
6988
  * // Use wrapped instance to control layout, e.g.:
7021
6989
  * const layoutConfig = await layout.getConfig();
7022
6990
  * ```
7023
- * @static
7024
6991
  */
7025
6992
  getCurrentSync(): OpenFin.Layout;
7026
6993
  /**
@@ -7060,7 +7027,6 @@ declare class LayoutModule extends Base {
7060
7027
  * // the window must have been created with a layout in its window options
7061
7028
  * const layout = await fin.Platform.Layout.init({ containerId });
7062
7029
  * ```
7063
- * @static
7064
7030
  */
7065
7031
  init: (options?: InitLayoutOptions) => Promise<OpenFin.Layout>;
7066
7032
  }
@@ -8084,7 +8050,7 @@ declare namespace OpenFin {
8084
8050
  AutoResizeOptions,
8085
8051
  InteropConfig,
8086
8052
  ViewInfo,
8087
- UpdatableViewOptions_2 as UpdatableViewOptions,
8053
+ UpdatableViewOptions,
8088
8054
  ViewCreationOptions,
8089
8055
  MutableViewOptions,
8090
8056
  ViewOptions,
@@ -8279,7 +8245,7 @@ declare namespace OpenFin {
8279
8245
  WindowEvents,
8280
8246
  ViewEvents,
8281
8247
  GlobalHotkeyEvents,
8282
- FrameEvents_2 as FrameEvents,
8248
+ FrameEvents,
8283
8249
  PlatformEvents,
8284
8250
  ExternalApplicationEvents,
8285
8251
  BaseEvent_2 as BaseEvent,
@@ -8288,7 +8254,7 @@ declare namespace OpenFin {
8288
8254
  SystemEvent_2 as SystemEvent,
8289
8255
  ApplicationEvent_2 as ApplicationEvent,
8290
8256
  WindowEvent_2 as WindowEvent,
8291
- ViewEvent_3 as ViewEvent,
8257
+ ViewEvent_2 as ViewEvent,
8292
8258
  GlobalHotkeyEvent_2 as GlobalHotkeyEvent,
8293
8259
  FrameEvent_2 as FrameEvent,
8294
8260
  PlatformEvent_2 as PlatformEvent,
@@ -9081,12 +9047,10 @@ declare class PlatformModule extends Base {
9081
9047
  * fin.Platform.init({overrideCallback});
9082
9048
  * ```
9083
9049
  * @experimental
9084
- * @static
9085
9050
  */
9086
9051
  init(options?: OpenFin.InitPlatformOptions): Promise<void>;
9087
9052
  /**
9088
9053
  * Asynchronously returns a Platform object that represents an existing platform.
9089
- * @param identity
9090
9054
  *
9091
9055
  * @example
9092
9056
  * ```js
@@ -9095,12 +9059,10 @@ declare class PlatformModule extends Base {
9095
9059
  * // Use wrapped instance to control layout, e.g.:
9096
9060
  * const snapshot = await platform.getSnapshot();
9097
9061
  * ```
9098
- * @static
9099
9062
  */
9100
9063
  wrap(identity: OpenFin.ApplicationIdentity): Promise<OpenFin.Platform>;
9101
9064
  /**
9102
9065
  * Synchronously returns a Platform object that represents an existing platform.
9103
- * @param identity
9104
9066
  *
9105
9067
  * @example
9106
9068
  * ```js
@@ -9109,7 +9071,6 @@ declare class PlatformModule extends Base {
9109
9071
  * // Use wrapped instance to control layout, e.g.:
9110
9072
  * const snapshot = await platform.getSnapshot();
9111
9073
  * ```
9112
- * @static
9113
9074
  */
9114
9075
  wrapSync(identity: OpenFin.ApplicationIdentity): OpenFin.Platform;
9115
9076
  /**
@@ -9121,7 +9082,6 @@ declare class PlatformModule extends Base {
9121
9082
  * // Use wrapped instance to control layout, e.g.:
9122
9083
  * const snapshot = await platform.getSnapshot();
9123
9084
  * ```
9124
- * @static
9125
9085
  */
9126
9086
  getCurrent(): Promise<OpenFin.Platform>;
9127
9087
  /**
@@ -9133,13 +9093,11 @@ declare class PlatformModule extends Base {
9133
9093
  * // Use wrapped instance to control layout, e.g.:
9134
9094
  * const snapshot = await platform.getSnapshot();
9135
9095
  * ```
9136
- * @static
9137
9096
  */
9138
9097
  getCurrentSync(): OpenFin.Platform;
9139
9098
  /**
9140
9099
  * Creates and starts a Platform and returns a wrapped and running Platform instance. The wrapped Platform methods can
9141
9100
  * be used to launch content into the platform. Promise will reject if the platform is already running.
9142
- * @param platformOptions
9143
9101
  *
9144
9102
  * @example
9145
9103
  * ```js
@@ -9160,7 +9118,6 @@ declare class PlatformModule extends Base {
9160
9118
  * console.error(e);
9161
9119
  * }
9162
9120
  * ```
9163
- * @static
9164
9121
  */
9165
9122
  start(platformOptions: OpenFin.PlatformOptions): Promise<OpenFin.Platform>;
9166
9123
  /**
@@ -9185,7 +9142,6 @@ declare class PlatformModule extends Base {
9185
9142
  * console.error(e);
9186
9143
  * }
9187
9144
  * ```
9188
- * @static
9189
9145
  */
9190
9146
  startFromManifest(manifestUrl: string, opts?: OpenFin.RvmLaunchOptions): Promise<OpenFin.Platform>;
9191
9147
  }
@@ -10916,7 +10872,6 @@ declare class SnapshotSource<T = any> extends Base {
10916
10872
  declare class SnapshotSourceModule extends Base {
10917
10873
  /**
10918
10874
  * Initializes a SnapshotSource with the getSnapshot and applySnapshot methods defined.
10919
- * @param provider
10920
10875
  *
10921
10876
  * @example
10922
10877
  * ```js
@@ -10933,12 +10888,10 @@ declare class SnapshotSourceModule extends Base {
10933
10888
  *
10934
10889
  * await fin.SnapshotSource.init(snapshotProvider);
10935
10890
  * ```
10936
- * @static
10937
10891
  */
10938
10892
  init<T = any>(provider: OpenFin.SnapshotProvider<T>): Promise<void>;
10939
10893
  /**
10940
10894
  * Synchronously returns a SnapshotSource object that represents the current SnapshotSource.
10941
- * @param identity
10942
10895
  *
10943
10896
  * @example
10944
10897
  * ```js
@@ -10946,12 +10899,10 @@ declare class SnapshotSourceModule extends Base {
10946
10899
  * // Use wrapped instance's getSnapshot method, e.g.:
10947
10900
  * const snapshot = await snapshotSource.getSnapshot();
10948
10901
  * ```
10949
- * @static
10950
10902
  */
10951
10903
  wrapSync(identity: OpenFin.ApplicationIdentity): SnapshotSource;
10952
10904
  /**
10953
10905
  * Asynchronously returns a SnapshotSource object that represents the current SnapshotSource.
10954
- * @param identity
10955
10906
  *
10956
10907
  * @example
10957
10908
  * ```js
@@ -10959,7 +10910,6 @@ declare class SnapshotSourceModule extends Base {
10959
10910
  * // Use wrapped instance's getSnapshot method, e.g.:
10960
10911
  * const snapshot = await snapshotSource.getSnapshot();
10961
10912
  * ```
10962
- * @static
10963
10913
  */
10964
10914
  wrap(identity: OpenFin.ApplicationIdentity): Promise<SnapshotSource>;
10965
10915
  }
@@ -11238,7 +11188,6 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
11238
11188
  * ```js
11239
11189
  * fin.System.getUniqueUserId().then(id => console.log(id)).catch(err => console.log(err));
11240
11190
  * ```
11241
- * @static
11242
11191
  */
11243
11192
  getUniqueUserId(): Promise<string>;
11244
11193
  /**
@@ -12275,7 +12224,6 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
12275
12224
  * }
12276
12225
  * });
12277
12226
  * ```
12278
- * @static
12279
12227
  */
12280
12228
  launchManifest(manifestUrl: string, opts?: OpenFin.RvmLaunchOptions): Promise<OpenFin.Manifest>;
12281
12229
  /**
@@ -12971,12 +12919,10 @@ declare type UnregisteredEvent = BaseEvent & {
12971
12919
  type: 'unregistered';
12972
12920
  };
12973
12921
 
12974
- declare type UpdatableViewOptions = OpenFin.UpdatableViewOptions;
12975
-
12976
12922
  /**
12977
12923
  * View options that can be updated after creation.
12978
12924
  */
12979
- declare type UpdatableViewOptions_2 = Partial<MutableViewOptions>;
12925
+ declare type UpdatableViewOptions = Partial<MutableViewOptions>;
12980
12926
 
12981
12927
  declare type UpdatableWindowOptions = Partial<MutableWindowOptions>;
12982
12928
 
@@ -13193,7 +13139,7 @@ declare type View = OpenFin.View;
13193
13139
  *
13194
13140
  * A View's lifecycle is tied to its owning window and can be re-attached to a different window at any point during its lifecycle.
13195
13141
  */
13196
- declare class View_2 extends WebContents<ViewEvent> {
13142
+ declare class View_2 extends WebContents<OpenFin.ViewEvent> {
13197
13143
  #private;
13198
13144
  identity: OpenFin.Identity;
13199
13145
  /**
@@ -13203,10 +13149,6 @@ declare class View_2 extends WebContents<ViewEvent> {
13203
13149
  /**
13204
13150
  * Focuses the view
13205
13151
  *
13206
- * @function focus
13207
- * @memberof View
13208
- * @emits focused
13209
- * @instance
13210
13152
  * @example
13211
13153
  * ```js
13212
13154
  * const view = fin.View.wrapSync({ uuid: 'viewUuid', name: 'viewName' });
@@ -13490,7 +13432,6 @@ declare class View_2 extends WebContents<ViewEvent> {
13490
13432
  getOptions: () => Promise<OpenFin.ViewOptions>;
13491
13433
  /**
13492
13434
  * Updates the view's options.
13493
- * @param options
13494
13435
  *
13495
13436
  * @example
13496
13437
  * ```js
@@ -13525,11 +13466,10 @@ declare class View_2 extends WebContents<ViewEvent> {
13525
13466
  * ```
13526
13467
  * @experimental
13527
13468
  */
13528
- updateOptions: (options: UpdatableViewOptions) => Promise<void>;
13469
+ updateOptions: (options: OpenFin.UpdatableViewOptions) => Promise<void>;
13529
13470
  /**
13530
13471
  * Retrieves the window the view is currently attached to.
13531
13472
  *
13532
- * @experimental
13533
13473
  * @example
13534
13474
  * ```js
13535
13475
  * const view = fin.View.wrapSync({ uuid: 'viewUuid', name: 'viewName' });
@@ -13537,6 +13477,7 @@ declare class View_2 extends WebContents<ViewEvent> {
13537
13477
  * .then(win => console.log('current window', win))
13538
13478
  * .catch(err => console.log(err));)
13539
13479
  * ```
13480
+ * @experimental
13540
13481
  */
13541
13482
  getCurrentWindow: () => Promise<OpenFin.Window>;
13542
13483
  /**
@@ -13645,16 +13586,14 @@ declare type ViewDetachedEvent = NamedEvent & BaseViewEvent & {
13645
13586
  previousTarget: OpenFin.Identity;
13646
13587
  };
13647
13588
 
13648
- declare type ViewEvent = OpenFin.ViewEvent;
13649
-
13650
13589
  /**
13651
13590
  * A View event.
13652
13591
  */
13653
- declare type ViewEvent_2 = {
13592
+ declare type ViewEvent = {
13654
13593
  topic: 'view';
13655
13594
  } & (NonPropagatedViewEvent | WillPropagateViewEvent);
13656
13595
 
13657
- declare type ViewEvent_3 = ViewEvents.ViewEvent;
13596
+ declare type ViewEvent_2 = ViewEvents.ViewEvent;
13658
13597
 
13659
13598
  declare namespace ViewEvents {
13660
13599
  export {
@@ -13668,7 +13607,7 @@ declare namespace ViewEvents {
13668
13607
  HotkeyEvent,
13669
13608
  ShownEvent,
13670
13609
  WillPropagateViewEvent,
13671
- ViewEvent_2 as ViewEvent,
13610
+ ViewEvent,
13672
13611
  ViewEventType,
13673
13612
  PropagatedViewEvent,
13674
13613
  PropagatedViewEventType
@@ -13678,7 +13617,7 @@ declare namespace ViewEvents {
13678
13617
  /**
13679
13618
  * A View event type.
13680
13619
  */
13681
- declare type ViewEventType = ViewEvent_2['type'];
13620
+ declare type ViewEventType = ViewEvent['type'];
13682
13621
 
13683
13622
  declare type ViewInfo = {
13684
13623
  canNavigateBack: boolean;
@@ -13717,12 +13656,10 @@ declare class ViewModule extends Base {
13717
13656
  * ```
13718
13657
  * Note that created views needs to navigate somewhere for them to actually render a website.
13719
13658
  * @experimental
13720
- * @static
13721
13659
  */
13722
13660
  create(options: OpenFin.ViewCreationOptions): Promise<OpenFin.View>;
13723
13661
  /**
13724
13662
  * Asynchronously returns a View object that represents an existing view.
13725
- * @param identity
13726
13663
  *
13727
13664
  * @example
13728
13665
  * ```js
@@ -13731,12 +13668,10 @@ declare class ViewModule extends Base {
13731
13668
  * .catch(err => console.log(err));
13732
13669
  * ```
13733
13670
  * @experimental
13734
- * @static
13735
13671
  */
13736
13672
  wrap(identity: OpenFin.Identity): Promise<OpenFin.View>;
13737
13673
  /**
13738
13674
  * Synchronously returns a View object that represents an existing view.
13739
- * @param identity
13740
13675
  *
13741
13676
  * @example
13742
13677
  * ```js
@@ -13744,7 +13679,6 @@ declare class ViewModule extends Base {
13744
13679
  * await view.hide();
13745
13680
  * ```
13746
13681
  * @experimental
13747
- * @static
13748
13682
  */
13749
13683
  wrapSync(identity: OpenFin.Identity): OpenFin.View;
13750
13684
  /**
@@ -13758,7 +13692,6 @@ declare class ViewModule extends Base {
13758
13692
  *
13759
13693
  * ```
13760
13694
  * @experimental
13761
- * @static
13762
13695
  */
13763
13696
  getCurrent(): Promise<OpenFin.View>;
13764
13697
  /**
@@ -13771,7 +13704,6 @@ declare class ViewModule extends Base {
13771
13704
  *
13772
13705
  * ```
13773
13706
  * @experimental
13774
- * @static
13775
13707
  */
13776
13708
  getCurrentSync(): OpenFin.View;
13777
13709
  }
@@ -13891,10 +13823,7 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
13891
13823
  constructor(wire: Transport, identity: OpenFin.Identity, entityType: string);
13892
13824
  /**
13893
13825
  * Gets a base64 encoded image of all or part of the WebContents.
13894
- * @function capturePage
13895
13826
  * @param options Options for the capturePage call.
13896
- * @memberOf View
13897
- * @instance
13898
13827
  *
13899
13828
  * @example
13900
13829
  *
@@ -13945,9 +13874,6 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
13945
13874
  * Executes Javascript on the WebContents, restricted to contents you own or contents owned by
13946
13875
  * applications you have created.
13947
13876
  * @param code JavaScript code to be executed on the view.
13948
- * @function executeJavaScript
13949
- * @memberOf View
13950
- * @instance
13951
13877
  *
13952
13878
  * @example
13953
13879
  * View:
@@ -13979,9 +13905,6 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
13979
13905
  executeJavaScript(code: string): Promise<void>;
13980
13906
  /**
13981
13907
  * Returns the zoom level of the WebContents.
13982
- * @function getZoomLevel
13983
- * @memberOf View
13984
- * @instance
13985
13908
  *
13986
13909
  * @example
13987
13910
  * View:
@@ -14018,9 +13941,6 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
14018
13941
  /**
14019
13942
  * Sets the zoom level of the WebContents.
14020
13943
  * @param level The zoom level
14021
- * @function setZoomLevel
14022
- * @memberOf View
14023
- * @instance
14024
13944
  *
14025
13945
  * @example
14026
13946
  * View:
@@ -14060,9 +13980,6 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
14060
13980
  * @remarks The url must contain the protocol prefix such as http:// or https://.
14061
13981
  * @param url - The URL to navigate the WebContents to.
14062
13982
  *
14063
- * @function navigate
14064
- * @memberof View
14065
- * @instance
14066
13983
  * @example
14067
13984
  * View:
14068
13985
  * ```js
@@ -14094,9 +14011,6 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
14094
14011
  navigate(url: string): Promise<void>;
14095
14012
  /**
14096
14013
  * Navigates the WebContents back one page.
14097
- * @function navigateBack
14098
- * @memberOf View
14099
- * @instance
14100
14014
  *
14101
14015
  * @example
14102
14016
  * View:
@@ -14122,9 +14036,6 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
14122
14036
  navigateBack(): Promise<void>;
14123
14037
  /**
14124
14038
  * Navigates the WebContents forward one page.
14125
- * @function navigateForward
14126
- * @memberOf View
14127
- * @instance
14128
14039
  *
14129
14040
  * @example
14130
14041
  * View:
@@ -14152,9 +14063,6 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
14152
14063
  navigateForward(): Promise<void>;
14153
14064
  /**
14154
14065
  * Stops any current navigation the WebContents is performing.
14155
- * @function stopNavigation
14156
- * @memberOf View
14157
- * @instance
14158
14066
  *
14159
14067
  * @example
14160
14068
  * View:
@@ -14180,9 +14088,6 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
14180
14088
  stopNavigation(): Promise<void>;
14181
14089
  /**
14182
14090
  * Reloads the WebContents
14183
- * @function reload
14184
- * @memberOf View
14185
- * @instance
14186
14091
  *
14187
14092
  * @example
14188
14093
  * View:
@@ -14219,9 +14124,6 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
14219
14124
  /**
14220
14125
  * Prints the WebContents.
14221
14126
  * @param options Printer Options
14222
- * @function print
14223
- * @memberOf View
14224
- * @instance
14225
14127
  *
14226
14128
  * @remarks When `silent` is set to `true`, the API will pick the system's default printer if deviceName
14227
14129
  * is empty and the default settings for printing.
@@ -14242,9 +14144,6 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
14242
14144
  * Find and highlight text on a page.
14243
14145
  * @param searchTerm Term to find in page
14244
14146
  * @param options Search options
14245
- * @function findInPage
14246
- * @memberOf View
14247
- * @instance
14248
14147
  *
14249
14148
  * @remarks By default, each subsequent call will highlight the next text that matches the search term.
14250
14149
  *
@@ -14325,9 +14224,6 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
14325
14224
  /**
14326
14225
  * Returns an array with all system printers
14327
14226
  * @deprecated use System.getPrinters instead
14328
- * @function getPrinters
14329
- * @memberOf View
14330
- * @instance
14331
14227
  *
14332
14228
  * @example
14333
14229
  * View:
@@ -14368,10 +14264,6 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
14368
14264
  /**
14369
14265
  * Gives focus to the WebContents.
14370
14266
  *
14371
- * @function focus
14372
- * @emits focused
14373
- * @memberOf Window
14374
- * @instance
14375
14267
  * @example
14376
14268
  * ```js
14377
14269
  * async function focusWindow() {
@@ -14393,9 +14285,6 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
14393
14285
  }): Promise<void>;
14394
14286
  /**
14395
14287
  * Shows the Chromium Developer Tools
14396
- * @function showDeveloperTools
14397
- * @memberOf View
14398
- * @instance
14399
14288
  *
14400
14289
  * @example
14401
14290
  * View:
@@ -14428,10 +14317,6 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
14428
14317
  *
14429
14318
  * @remarks This includes any iframes associated with the WebContents
14430
14319
  *
14431
- * @function getProcessInfo
14432
- * @memberOf View
14433
- * @instance
14434
- *
14435
14320
  * @example
14436
14321
  * View:
14437
14322
  * ```js
@@ -14448,9 +14333,6 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
14448
14333
  getProcessInfo(): Promise<OpenFin.EntityProcessDetails>;
14449
14334
  /**
14450
14335
  * Retrieves information on all Shared Workers.
14451
- * @function getSharedWorkers
14452
- * @memberOf View
14453
- * @instance
14454
14336
  *
14455
14337
  * @example
14456
14338
  * View:
@@ -14483,9 +14365,6 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
14483
14365
  getSharedWorkers(): Promise<OpenFin.SharedWorkerInfo[]>;
14484
14366
  /**
14485
14367
  * Opens the developer tools for the shared worker context.
14486
- * @function inspectSharedWorker
14487
- * @memberOf View
14488
- * @instance
14489
14368
  *
14490
14369
  * @example
14491
14370
  * View:
@@ -14519,9 +14398,6 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
14519
14398
  /**
14520
14399
  * Inspects the shared worker based on its ID.
14521
14400
  * @param workerId - The id of the shared worker.
14522
- * @function inspectSharedWorkerById
14523
- * @memberOf View
14524
- * @instance
14525
14401
  *
14526
14402
  * @example
14527
14403
  * View:
@@ -14556,9 +14432,6 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
14556
14432
  inspectSharedWorkerById(workerId: string): Promise<void>;
14557
14433
  /**
14558
14434
  * Opens the developer tools for the service worker context.
14559
- * @function inspectServiceWorker
14560
- * @memberOf View
14561
- * @instance
14562
14435
  *
14563
14436
  * @example
14564
14437
  * View:
@@ -14795,11 +14668,6 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
14795
14668
  * onPopupReady: popupWindowCallback;
14796
14669
  * });
14797
14670
  * ```
14798
- * @function showPopupWindow
14799
- * @memberOf View
14800
- * @instance
14801
- * @param options
14802
- *
14803
14671
  */
14804
14672
  showPopupWindow(options: OpenFin.PopupOptions): Promise<OpenFin.PopupResult>;
14805
14673
  }
@@ -16718,7 +16586,6 @@ declare class _Window extends WebContents<OpenFin.WindowEvent> {
16718
16586
  declare class _WindowModule extends Base {
16719
16587
  /**
16720
16588
  * Asynchronously returns a Window object that represents an existing window.
16721
- * @param identity
16722
16589
  *
16723
16590
  * @example
16724
16591
  * ```js
@@ -16735,12 +16602,10 @@ declare class _Window extends WebContents<OpenFin.WindowEvent> {
16735
16602
  * .then(win => console.log('wrapped window'))
16736
16603
  * .catch(err => console.log(err));
16737
16604
  * ```
16738
- * @static
16739
16605
  */
16740
16606
  wrap(identity: OpenFin.Identity): Promise<OpenFin.Window>;
16741
16607
  /**
16742
16608
  * Synchronously returns a Window object that represents an existing window.
16743
- * @param identity
16744
16609
  *
16745
16610
  * @example
16746
16611
  * ```js
@@ -16756,7 +16621,6 @@ declare class _Window extends WebContents<OpenFin.WindowEvent> {
16756
16621
  * await createWin();
16757
16622
  * let win = fin.Window.wrapSync({ uuid: 'app-1', name: 'myApp' });
16758
16623
  * ```
16759
- * @static
16760
16624
  */
16761
16625
  wrapSync(identity: OpenFin.Identity): OpenFin.Window;
16762
16626
  /**
@@ -16779,7 +16643,6 @@ declare class _Window extends WebContents<OpenFin.WindowEvent> {
16779
16643
  *
16780
16644
  * createWindow().then(() => console.log('Window is created')).catch(err => console.log(err));
16781
16645
  * ```
16782
- * @static
16783
16646
  */
16784
16647
  create(options: OpenFin.WindowCreationOptions): Promise<OpenFin.Window>;
16785
16648
  /**
@@ -16792,7 +16655,6 @@ declare class _Window extends WebContents<OpenFin.WindowEvent> {
16792
16655
  * .catch(err => console.log(err));
16793
16656
  *
16794
16657
  * ```
16795
- * @static
16796
16658
  */
16797
16659
  getCurrent(): Promise<OpenFin.Window>;
16798
16660
  /**
@@ -16805,7 +16667,6 @@ declare class _Window extends WebContents<OpenFin.WindowEvent> {
16805
16667
  * console.log(info);
16806
16668
  *
16807
16669
  * ```
16808
- * @static
16809
16670
  */
16810
16671
  getCurrentSync(): OpenFin.Window;
16811
16672
  }