@openfin/core 34.78.2 → 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.
package/out/mock.js CHANGED
@@ -889,6 +889,7 @@ function requireFactory$3 () {
889
889
  if (hasRequiredFactory$3) return Factory$6;
890
890
  hasRequiredFactory$3 = 1;
891
891
  Object.defineProperty(Factory$6, "__esModule", { value: true });
892
+ Factory$6.ViewModule = void 0;
892
893
  const base_1 = base;
893
894
  const validate_1 = validate;
894
895
  const index_1 = requireView();
@@ -920,7 +921,6 @@ function requireFactory$3 () {
920
921
  * ```
921
922
  * Note that created views needs to navigate somewhere for them to actually render a website.
922
923
  * @experimental
923
- * @static
924
924
  */
925
925
  async create(options) {
926
926
  const { uuid } = this.wire.me;
@@ -940,7 +940,6 @@ function requireFactory$3 () {
940
940
  }
941
941
  /**
942
942
  * Asynchronously returns a View object that represents an existing view.
943
- * @param identity
944
943
  *
945
944
  * @example
946
945
  * ```js
@@ -949,7 +948,6 @@ function requireFactory$3 () {
949
948
  * .catch(err => console.log(err));
950
949
  * ```
951
950
  * @experimental
952
- * @static
953
951
  */
954
952
  async wrap(identity) {
955
953
  this.wire.sendAction('view-wrap');
@@ -961,7 +959,6 @@ function requireFactory$3 () {
961
959
  }
962
960
  /**
963
961
  * Synchronously returns a View object that represents an existing view.
964
- * @param identity
965
962
  *
966
963
  * @example
967
964
  * ```js
@@ -969,7 +966,6 @@ function requireFactory$3 () {
969
966
  * await view.hide();
970
967
  * ```
971
968
  * @experimental
972
- * @static
973
969
  */
974
970
  wrapSync(identity) {
975
971
  this.wire.sendAction('view-wrap-sync').catch((e) => {
@@ -992,7 +988,6 @@ function requireFactory$3 () {
992
988
  *
993
989
  * ```
994
990
  * @experimental
995
- * @static
996
991
  */
997
992
  getCurrent() {
998
993
  this.wire.sendAction('view-get-current').catch((e) => {
@@ -1014,7 +1009,6 @@ function requireFactory$3 () {
1014
1009
  *
1015
1010
  * ```
1016
1011
  * @experimental
1017
- * @static
1018
1012
  */
1019
1013
  getCurrentSync() {
1020
1014
  this.wire.sendAction('view-get-current-sync').catch((e) => {
@@ -1027,7 +1021,7 @@ function requireFactory$3 () {
1027
1021
  return this.wrapSync({ uuid, name });
1028
1022
  }
1029
1023
  }
1030
- Factory$6.default = ViewModule;
1024
+ Factory$6.ViewModule = ViewModule;
1031
1025
  return Factory$6;
1032
1026
  }
1033
1027
 
@@ -1866,10 +1860,7 @@ class WebContents extends base_1$k.EmitterBase {
1866
1860
  }
1867
1861
  /**
1868
1862
  * Gets a base64 encoded image of all or part of the WebContents.
1869
- * @function capturePage
1870
1863
  * @param options Options for the capturePage call.
1871
- * @memberOf View
1872
- * @instance
1873
1864
  *
1874
1865
  * @example
1875
1866
  *
@@ -1922,9 +1913,6 @@ class WebContents extends base_1$k.EmitterBase {
1922
1913
  * Executes Javascript on the WebContents, restricted to contents you own or contents owned by
1923
1914
  * applications you have created.
1924
1915
  * @param code JavaScript code to be executed on the view.
1925
- * @function executeJavaScript
1926
- * @memberOf View
1927
- * @instance
1928
1916
  *
1929
1917
  * @example
1930
1918
  * View:
@@ -1960,9 +1948,6 @@ class WebContents extends base_1$k.EmitterBase {
1960
1948
  }
1961
1949
  /**
1962
1950
  * Returns the zoom level of the WebContents.
1963
- * @function getZoomLevel
1964
- * @memberOf View
1965
- * @instance
1966
1951
  *
1967
1952
  * @example
1968
1953
  * View:
@@ -2001,9 +1986,6 @@ class WebContents extends base_1$k.EmitterBase {
2001
1986
  /**
2002
1987
  * Sets the zoom level of the WebContents.
2003
1988
  * @param level The zoom level
2004
- * @function setZoomLevel
2005
- * @memberOf View
2006
- * @instance
2007
1989
  *
2008
1990
  * @example
2009
1991
  * View:
@@ -2045,9 +2027,6 @@ class WebContents extends base_1$k.EmitterBase {
2045
2027
  * @remarks The url must contain the protocol prefix such as http:// or https://.
2046
2028
  * @param url - The URL to navigate the WebContents to.
2047
2029
  *
2048
- * @function navigate
2049
- * @memberof View
2050
- * @instance
2051
2030
  * @example
2052
2031
  * View:
2053
2032
  * ```js
@@ -2081,9 +2060,6 @@ class WebContents extends base_1$k.EmitterBase {
2081
2060
  }
2082
2061
  /**
2083
2062
  * Navigates the WebContents back one page.
2084
- * @function navigateBack
2085
- * @memberOf View
2086
- * @instance
2087
2063
  *
2088
2064
  * @example
2089
2065
  * View:
@@ -2111,9 +2087,6 @@ class WebContents extends base_1$k.EmitterBase {
2111
2087
  }
2112
2088
  /**
2113
2089
  * Navigates the WebContents forward one page.
2114
- * @function navigateForward
2115
- * @memberOf View
2116
- * @instance
2117
2090
  *
2118
2091
  * @example
2119
2092
  * View:
@@ -2143,9 +2116,6 @@ class WebContents extends base_1$k.EmitterBase {
2143
2116
  }
2144
2117
  /**
2145
2118
  * Stops any current navigation the WebContents is performing.
2146
- * @function stopNavigation
2147
- * @memberOf View
2148
- * @instance
2149
2119
  *
2150
2120
  * @example
2151
2121
  * View:
@@ -2173,9 +2143,6 @@ class WebContents extends base_1$k.EmitterBase {
2173
2143
  }
2174
2144
  /**
2175
2145
  * Reloads the WebContents
2176
- * @function reload
2177
- * @memberOf View
2178
- * @instance
2179
2146
  *
2180
2147
  * @example
2181
2148
  * View:
@@ -2219,9 +2186,6 @@ class WebContents extends base_1$k.EmitterBase {
2219
2186
  /**
2220
2187
  * Prints the WebContents.
2221
2188
  * @param options Printer Options
2222
- * @function print
2223
- * @memberOf View
2224
- * @instance
2225
2189
  *
2226
2190
  * @remarks When `silent` is set to `true`, the API will pick the system's default printer if deviceName
2227
2191
  * is empty and the default settings for printing.
@@ -2244,9 +2208,6 @@ class WebContents extends base_1$k.EmitterBase {
2244
2208
  * Find and highlight text on a page.
2245
2209
  * @param searchTerm Term to find in page
2246
2210
  * @param options Search options
2247
- * @function findInPage
2248
- * @memberOf View
2249
- * @instance
2250
2211
  *
2251
2212
  * @remarks By default, each subsequent call will highlight the next text that matches the search term.
2252
2213
  *
@@ -2333,9 +2294,6 @@ class WebContents extends base_1$k.EmitterBase {
2333
2294
  /**
2334
2295
  * Returns an array with all system printers
2335
2296
  * @deprecated use System.getPrinters instead
2336
- * @function getPrinters
2337
- * @memberOf View
2338
- * @instance
2339
2297
  *
2340
2298
  * @example
2341
2299
  * View:
@@ -2378,10 +2336,6 @@ class WebContents extends base_1$k.EmitterBase {
2378
2336
  /**
2379
2337
  * Gives focus to the WebContents.
2380
2338
  *
2381
- * @function focus
2382
- * @emits focused
2383
- * @memberOf Window
2384
- * @instance
2385
2339
  * @example
2386
2340
  * ```js
2387
2341
  * async function focusWindow() {
@@ -2403,9 +2357,6 @@ class WebContents extends base_1$k.EmitterBase {
2403
2357
  }
2404
2358
  /**
2405
2359
  * Shows the Chromium Developer Tools
2406
- * @function showDeveloperTools
2407
- * @memberOf View
2408
- * @instance
2409
2360
  *
2410
2361
  * @example
2411
2362
  * View:
@@ -2441,10 +2392,6 @@ class WebContents extends base_1$k.EmitterBase {
2441
2392
  *
2442
2393
  * @remarks This includes any iframes associated with the WebContents
2443
2394
  *
2444
- * @function getProcessInfo
2445
- * @memberOf View
2446
- * @instance
2447
- *
2448
2395
  * @example
2449
2396
  * View:
2450
2397
  * ```js
@@ -2464,9 +2411,6 @@ class WebContents extends base_1$k.EmitterBase {
2464
2411
  }
2465
2412
  /**
2466
2413
  * Retrieves information on all Shared Workers.
2467
- * @function getSharedWorkers
2468
- * @memberOf View
2469
- * @instance
2470
2414
  *
2471
2415
  * @example
2472
2416
  * View:
@@ -2501,9 +2445,6 @@ class WebContents extends base_1$k.EmitterBase {
2501
2445
  }
2502
2446
  /**
2503
2447
  * Opens the developer tools for the shared worker context.
2504
- * @function inspectSharedWorker
2505
- * @memberOf View
2506
- * @instance
2507
2448
  *
2508
2449
  * @example
2509
2450
  * View:
@@ -2539,9 +2480,6 @@ class WebContents extends base_1$k.EmitterBase {
2539
2480
  /**
2540
2481
  * Inspects the shared worker based on its ID.
2541
2482
  * @param workerId - The id of the shared worker.
2542
- * @function inspectSharedWorkerById
2543
- * @memberOf View
2544
- * @instance
2545
2483
  *
2546
2484
  * @example
2547
2485
  * View:
@@ -2578,9 +2516,6 @@ class WebContents extends base_1$k.EmitterBase {
2578
2516
  }
2579
2517
  /**
2580
2518
  * Opens the developer tools for the service worker context.
2581
- * @function inspectServiceWorker
2582
- * @memberOf View
2583
- * @instance
2584
2519
  *
2585
2520
  * @example
2586
2521
  * View:
@@ -2819,11 +2754,6 @@ class WebContents extends base_1$k.EmitterBase {
2819
2754
  * onPopupReady: popupWindowCallback;
2820
2755
  * });
2821
2756
  * ```
2822
- * @function showPopupWindow
2823
- * @memberOf View
2824
- * @instance
2825
- * @param options
2826
- *
2827
2757
  */
2828
2758
  async showPopupWindow(options) {
2829
2759
  this.wire.sendAction(`${this.entityType}-show-popup-window`, this.identity).catch(() => {
@@ -3400,7 +3330,6 @@ function requireInstance$2 () {
3400
3330
  };
3401
3331
  /**
3402
3332
  * Updates the view's options.
3403
- * @param options
3404
3333
  *
3405
3334
  * @example
3406
3335
  * ```js
@@ -3441,7 +3370,6 @@ function requireInstance$2 () {
3441
3370
  /**
3442
3371
  * Retrieves the window the view is currently attached to.
3443
3372
  *
3444
- * @experimental
3445
3373
  * @example
3446
3374
  * ```js
3447
3375
  * const view = fin.View.wrapSync({ uuid: 'viewUuid', name: 'viewName' });
@@ -3449,6 +3377,7 @@ function requireInstance$2 () {
3449
3377
  * .then(win => console.log('current window', win))
3450
3378
  * .catch(err => console.log(err));)
3451
3379
  * ```
3380
+ * @experimental
3452
3381
  */
3453
3382
  this.getCurrentWindow = async () => {
3454
3383
  const { payload: { data } } = await this.wire.sendAction('get-view-window', { ...this.identity });
@@ -3554,10 +3483,6 @@ function requireInstance$2 () {
3554
3483
  /**
3555
3484
  * Focuses the view
3556
3485
  *
3557
- * @function focus
3558
- * @memberof View
3559
- * @emits focused
3560
- * @instance
3561
3486
  * @example
3562
3487
  * ```js
3563
3488
  * const view = fin.View.wrapSync({ uuid: 'viewUuid', name: 'viewName' });
@@ -3599,16 +3524,17 @@ function requireView () {
3599
3524
  };
3600
3525
  Object.defineProperty(exports, "__esModule", { value: true });
3601
3526
  /**
3602
- * Entry point for the OpenFin View namespace.
3527
+ * Entry points for the OpenFin `View` API.
3528
+ *
3529
+ * In the previous version of the API documentation, both static methods involving `View` and instance properties of the
3530
+ * `View` type itself were documented on the same page. These are separate code entities, and are now documented separately:
3603
3531
  *
3604
- * Because TypeDoc does not currently support multiple modules with the same name, the module alias "ViewModule" is used for
3605
- * the module containing static members of the `View` namespace (available under `fin.View`), while `View` documents
3606
- * instances of the OpenFin `View` class.
3532
+ * * {@link ViewModule} contains static methods relating to the `View` type, accessible through `fin.View`.
3533
+ * * {@link View} describes an instance of an OpenFin View, e.g. as returned by `fin.View.getCurrent`.
3607
3534
  *
3608
3535
  * @packageDocumentation
3609
3536
  */
3610
- const Factory_1 = requireFactory$3();
3611
- exports.default = Factory_1.default;
3537
+ __exportStar(requireFactory$3(), exports);
3612
3538
  __exportStar(requireInstance$2(), exports);
3613
3539
  } (view));
3614
3540
  return view;
@@ -4448,13 +4374,13 @@ function requireFactory$2 () {
4448
4374
  if (hasRequiredFactory$2) return Factory$7;
4449
4375
  hasRequiredFactory$2 = 1;
4450
4376
  Object.defineProperty(Factory$7, "__esModule", { value: true });
4377
+ Factory$7.ApplicationModule = void 0;
4451
4378
  const base_1 = base;
4452
4379
  const validate_1 = validate;
4453
4380
  const Instance_1 = requireInstance$1();
4454
4381
  class ApplicationModule extends base_1.Base {
4455
4382
  /**
4456
4383
  * Asynchronously returns an Application object that represents an existing application.
4457
- * @param identity
4458
4384
  *
4459
4385
  * @example
4460
4386
  *
@@ -4465,7 +4391,6 @@ function requireFactory$2 () {
4465
4391
  * .catch(err => console.log(err));
4466
4392
  * ```
4467
4393
  *
4468
- * @static
4469
4394
  */
4470
4395
  async wrap(identity) {
4471
4396
  this.wire.sendAction('wrap-application').catch((e) => {
@@ -4479,7 +4404,6 @@ function requireFactory$2 () {
4479
4404
  }
4480
4405
  /**
4481
4406
  * Synchronously returns an Application object that represents an existing application.
4482
- * @param identity
4483
4407
  *
4484
4408
  * @example
4485
4409
  *
@@ -4488,7 +4412,6 @@ function requireFactory$2 () {
4488
4412
  * await app.close();
4489
4413
  * ```
4490
4414
  *
4491
- * @static
4492
4415
  */
4493
4416
  wrapSync(identity) {
4494
4417
  this.wire.sendAction('wrap-application-sync').catch((e) => {
@@ -4513,8 +4436,6 @@ function requireFactory$2 () {
4513
4436
  }
4514
4437
  /**
4515
4438
  * DEPRECATED method to create a new Application. Use {@link Application.ApplicationModule.start Application.start} instead.
4516
- * @param appOptions
4517
- *
4518
4439
  *
4519
4440
  * @example
4520
4441
  *
@@ -4543,7 +4464,6 @@ function requireFactory$2 () {
4543
4464
  }
4544
4465
  /**
4545
4466
  * Creates and starts a new Application.
4546
- * @param appOptions
4547
4467
  *
4548
4468
  * @example
4549
4469
  *
@@ -4559,8 +4479,6 @@ function requireFactory$2 () {
4559
4479
  * start().then(() => console.log('Application is running')).catch(err => console.log(err));
4560
4480
  * ```
4561
4481
  *
4562
- *
4563
- * @static
4564
4482
  */
4565
4483
  async start(appOptions) {
4566
4484
  this.wire.sendAction('start-application').catch((e) => {
@@ -4573,10 +4491,8 @@ function requireFactory$2 () {
4573
4491
  /**
4574
4492
  * Asynchronously starts a batch of applications given an array of application identifiers and manifestUrls.
4575
4493
  * Returns once the RVM is finished attempting to launch the applications.
4576
- * @param applications
4577
4494
  * @param opts - Parameters that the RVM will use.
4578
4495
  *
4579
- * @static
4580
4496
  * @example
4581
4497
  *
4582
4498
  * ```js
@@ -4628,8 +4544,6 @@ function requireFactory$2 () {
4628
4544
  * });
4629
4545
  *
4630
4546
  * ```
4631
- *
4632
- * @static
4633
4547
  */
4634
4548
  getCurrent() {
4635
4549
  this.wire.sendAction('get-current-application').catch((e) => {
@@ -4655,8 +4569,6 @@ function requireFactory$2 () {
4655
4569
  * });
4656
4570
  *
4657
4571
  * ```
4658
- *
4659
- * @static
4660
4572
  */
4661
4573
  getCurrentSync() {
4662
4574
  this.wire.sendAction('get-current-application-sync').catch((e) => {
@@ -4677,8 +4589,6 @@ function requireFactory$2 () {
4677
4589
  * // For a local manifest file:
4678
4590
  * fin.Application.startFromManifest('file:///C:/somefolder/app.json').then(app => console.log('App is running')).catch(err => console.log(err));
4679
4591
  * ```
4680
- *
4681
- * @static
4682
4592
  */
4683
4593
  async startFromManifest(manifestUrl, opts) {
4684
4594
  this.wire.sendAction('application-start-from-manifest').catch((e) => {
@@ -4723,7 +4633,7 @@ function requireFactory$2 () {
4723
4633
  });
4724
4634
  }
4725
4635
  }
4726
- Factory$7.default = ApplicationModule;
4636
+ Factory$7.ApplicationModule = ApplicationModule;
4727
4637
  return Factory$7;
4728
4638
  }
4729
4639
 
@@ -4749,17 +4659,18 @@ function requireApplication () {
4749
4659
  };
4750
4660
  Object.defineProperty(exports, "__esModule", { value: true });
4751
4661
  /**
4752
- * Entry point for the OpenFin Application namespace.
4662
+ * Entry points for the OpenFin `Application` API.
4753
4663
  *
4754
- * Because TypeDoc does not currently support multiple modules with the same name, the module alias "ApplicationModule" is used for
4755
- * the module containing static members of the `Application` namespace (available under `fin.Application`), while `Application` documents
4756
- * instances of the OpenFin `Application` class.
4664
+ * In the previous version of the API documentation, both static methods involving `Application` and instance properties of the
4665
+ * `Application` type itself were documented on the same page. These are separate code entities, and are now documented separately:
4666
+ *
4667
+ * * {@link ApplicationModule} contains static methods relating to the `Application` type, accessible through `fin.Application`.
4668
+ * * {@link Application} describes an instance of an OpenFin Application, e.g. as returned by `fin.Application.getCurrent`.
4757
4669
  *
4758
4670
  * @packageDocumentation
4759
4671
  */
4760
- const Factory_1 = requireFactory$2();
4672
+ __exportStar(requireFactory$2(), exports);
4761
4673
  __exportStar(requireInstance$1(), exports);
4762
- exports.default = Factory_1.default;
4763
4674
  } (application));
4764
4675
  return application;
4765
4676
  }
@@ -6632,13 +6543,13 @@ function requireFactory$1 () {
6632
6543
  if (hasRequiredFactory$1) return Factory$8;
6633
6544
  hasRequiredFactory$1 = 1;
6634
6545
  Object.defineProperty(Factory$8, "__esModule", { value: true });
6546
+ Factory$8._WindowModule = void 0;
6635
6547
  const base_1 = base;
6636
6548
  const validate_1 = validate;
6637
6549
  const Instance_1 = requireInstance();
6638
6550
  class _WindowModule extends base_1.Base {
6639
6551
  /**
6640
6552
  * Asynchronously returns a Window object that represents an existing window.
6641
- * @param identity
6642
6553
  *
6643
6554
  * @example
6644
6555
  * ```js
@@ -6655,7 +6566,6 @@ function requireFactory$1 () {
6655
6566
  * .then(win => console.log('wrapped window'))
6656
6567
  * .catch(err => console.log(err));
6657
6568
  * ```
6658
- * @static
6659
6569
  */
6660
6570
  async wrap(identity) {
6661
6571
  this.wire.sendAction('window-wrap').catch((e) => {
@@ -6669,7 +6579,6 @@ function requireFactory$1 () {
6669
6579
  }
6670
6580
  /**
6671
6581
  * Synchronously returns a Window object that represents an existing window.
6672
- * @param identity
6673
6582
  *
6674
6583
  * @example
6675
6584
  * ```js
@@ -6685,7 +6594,6 @@ function requireFactory$1 () {
6685
6594
  * await createWin();
6686
6595
  * let win = fin.Window.wrapSync({ uuid: 'app-1', name: 'myApp' });
6687
6596
  * ```
6688
- * @static
6689
6597
  */
6690
6598
  wrapSync(identity) {
6691
6599
  this.wire.sendAction('window-wrap-sync').catch((e) => {
@@ -6717,7 +6625,6 @@ function requireFactory$1 () {
6717
6625
  *
6718
6626
  * createWindow().then(() => console.log('Window is created')).catch(err => console.log(err));
6719
6627
  * ```
6720
- * @static
6721
6628
  */
6722
6629
  create(options) {
6723
6630
  this.wire.sendAction('create-window').catch((e) => {
@@ -6736,7 +6643,6 @@ function requireFactory$1 () {
6736
6643
  * .catch(err => console.log(err));
6737
6644
  *
6738
6645
  * ```
6739
- * @static
6740
6646
  */
6741
6647
  getCurrent() {
6742
6648
  this.wire.sendAction('get-current-window').catch((e) => {
@@ -6758,7 +6664,6 @@ function requireFactory$1 () {
6758
6664
  * console.log(info);
6759
6665
  *
6760
6666
  * ```
6761
- * @static
6762
6667
  */
6763
6668
  getCurrentSync() {
6764
6669
  this.wire.sendAction('get-current-window-sync').catch((e) => {
@@ -6771,7 +6676,7 @@ function requireFactory$1 () {
6771
6676
  return this.wrapSync({ uuid, name });
6772
6677
  }
6773
6678
  }
6774
- Factory$8.default = _WindowModule;
6679
+ Factory$8._WindowModule = _WindowModule;
6775
6680
  return Factory$8;
6776
6681
  }
6777
6682
 
@@ -6797,24 +6702,26 @@ function requireWindow () {
6797
6702
  };
6798
6703
  Object.defineProperty(exports, "__esModule", { value: true });
6799
6704
  /**
6800
- * Entry point for the OpenFin Window namespace.
6705
+ * Entry points for the OpenFin `Window` API.
6706
+ *
6707
+ * In the previous version of the API documentation, both static methods involving `Window` and instance properties of the
6708
+ * `Window` type itself were documented on the same page. These are separate code entities, and are now documented separately:
6801
6709
  *
6802
- * Because TypeDoc does not currently support multiple modules with the same name, the module alias "WindowModule" is used for
6803
- * the module containing static members of the `Window` namespace (available under `fin.Window`), while `Window` documents
6804
- * instances of the OpenFin `Window` class.
6710
+ * * {@link _WindowModule} contains static methods relating to the `Window` type, accessible through `fin.Window`.
6711
+ * * {@link _Window} describes an instance of an OpenFin Window, e.g. as returned by `fin.Window.getCurrent`.
6805
6712
  *
6806
- * Because the `Window` name aliases a DOM entity, the documentation pipeline prefixes the name with an underscore.
6713
+ * Underscore prefixing of OpenFin types that alias DOM entities will be fixed in a future version.
6807
6714
  *
6808
6715
  * @packageDocumentation
6809
6716
  */
6810
- const Factory_1 = requireFactory$1();
6811
- exports.default = Factory_1.default;
6717
+ __exportStar(requireFactory$1(), exports);
6812
6718
  __exportStar(requireInstance(), exports);
6813
6719
  } (window$1));
6814
6720
  return window$1;
6815
6721
  }
6816
6722
 
6817
6723
  Object.defineProperty(system, "__esModule", { value: true });
6724
+ system.System = void 0;
6818
6725
  const base_1$j = base;
6819
6726
  const transport_errors_1$1 = transportErrors;
6820
6727
  const window_1 = requireWindow();
@@ -7130,7 +7037,6 @@ class System extends base_1$j.EmitterBase {
7130
7037
  * ```js
7131
7038
  * fin.System.getUniqueUserId().then(id => console.log(id)).catch(err => console.log(err));
7132
7039
  * ```
7133
- * @static
7134
7040
  */
7135
7041
  getUniqueUserId() {
7136
7042
  return this.wire.sendAction('get-unique-user-id').then(({ payload }) => payload.data);
@@ -8401,7 +8307,6 @@ class System extends base_1$j.EmitterBase {
8401
8307
  * }
8402
8308
  * });
8403
8309
  * ```
8404
- * @static
8405
8310
  */
8406
8311
  async launchManifest(manifestUrl, opts = {}) {
8407
8312
  const { subscribe, ..._sendOpts } = opts;
@@ -8661,7 +8566,7 @@ class System extends base_1$j.EmitterBase {
8661
8566
  await this.wire.sendAction('set-domain-settings', { domainSettings, ...this.identity });
8662
8567
  }
8663
8568
  }
8664
- system.default = System;
8569
+ system.System = System;
8665
8570
 
8666
8571
  var interappbus = {};
8667
8572
 
@@ -9072,6 +8977,7 @@ var __classPrivateFieldSet$b = (commonjsGlobal && commonjsGlobal.__classPrivateF
9072
8977
  };
9073
8978
  var _ChannelClient_protectedObj, _ChannelClient_strategy, _ChannelClient_close;
9074
8979
  Object.defineProperty(client, "__esModule", { value: true });
8980
+ client.ChannelClient = void 0;
9075
8981
  const channel_1$1 = channel;
9076
8982
  const channelClientsByEndpointId = new Map();
9077
8983
  /**
@@ -9237,7 +9143,7 @@ class ChannelClient extends channel_1$1.ChannelBase {
9237
9143
  });
9238
9144
  }
9239
9145
  }
9240
- client.default = ChannelClient;
9146
+ client.ChannelClient = ChannelClient;
9241
9147
  _ChannelClient_protectedObj = new WeakMap(), _ChannelClient_strategy = new WeakMap(), _ChannelClient_close = new WeakMap();
9242
9148
 
9243
9149
  var connectionManager = {};
@@ -10162,7 +10068,7 @@ class MessageReceiver extends base_1$h.Base {
10162
10068
  const endpointIdFromPreviousConnection = this.latestEndpointIdByChannelId.get(channelId);
10163
10069
  if (endpointIdFromPreviousConnection) {
10164
10070
  // Not convinced by this way of doing things, but pushing up for now.
10165
- client_1$1.default.closeChannelByEndpointId(endpointIdFromPreviousConnection);
10071
+ client_1$1.ChannelClient.closeChannelByEndpointId(endpointIdFromPreviousConnection);
10166
10072
  // eslint-disable-next-line no-console
10167
10073
  console.warn('You have created a second connection to an older provider. First connection has been removed from the clientMap');
10168
10074
  // eslint-disable-next-line no-console
@@ -10583,7 +10489,7 @@ class Channel extends base_1$f.EmitterBase {
10583
10489
  _Channel_readyToConnect.set(this, new lazy_1$1.AsyncRetryableLazy(async () => {
10584
10490
  await Promise.all([
10585
10491
  this.on('disconnected', (eventPayload) => {
10586
- client_1.default.handleProviderDisconnect(eventPayload);
10492
+ client_1.ChannelClient.handleProviderDisconnect(eventPayload);
10587
10493
  }),
10588
10494
  this.on('connected', (...args) => {
10589
10495
  __classPrivateFieldGet$7(this, _Channel_internalEmitter, "f").emit('connected', ...args);
@@ -10774,7 +10680,7 @@ class Channel extends base_1$f.EmitterBase {
10774
10680
  };
10775
10681
  const routingInfo = await this.safeConnect(channelName, opts.wait, connectPayload);
10776
10682
  const strategy = await __classPrivateFieldGet$7(this, _Channel_connectionManager, "f").createClientStrategy(rtcPacket, routingInfo);
10777
- const channel = new client_1.default(routingInfo, this.wire, strategy);
10683
+ const channel = new client_1.ChannelClient(routingInfo, this.wire, strategy);
10778
10684
  // It is the client's responsibility to handle endpoint disconnection to the provider.
10779
10685
  // If the endpoint dies, the client will force a disconnection through the core.
10780
10686
  // The provider does not care about endpoint disconnection.
@@ -10786,7 +10692,7 @@ class Channel extends base_1$f.EmitterBase {
10786
10692
  console.warn(`Something went wrong during disconnect for client with uuid: ${routingInfo.uuid} / name: ${routingInfo.name} / endpointId: ${routingInfo.endpointId}.`);
10787
10693
  }
10788
10694
  finally {
10789
- client_1.default.handleProviderDisconnect(routingInfo);
10695
+ client_1.ChannelClient.handleProviderDisconnect(routingInfo);
10790
10696
  }
10791
10697
  });
10792
10698
  return channel;
@@ -10857,7 +10763,7 @@ channel$1.Channel = Channel;
10857
10763
  _Channel_connectionManager = new WeakMap(), _Channel_internalEmitter = new WeakMap(), _Channel_readyToConnect = new WeakMap();
10858
10764
 
10859
10765
  Object.defineProperty(interappbus, "__esModule", { value: true });
10860
- interappbus.InterAppPayload = void 0;
10766
+ interappbus.InterAppPayload = interappbus.InterApplicationBus = void 0;
10861
10767
  const events_1$4 = eventsExports;
10862
10768
  const base_1$e = base;
10863
10769
  const ref_counter_1 = refCounter;
@@ -11049,7 +10955,7 @@ class InterApplicationBus extends base_1$e.Base {
11049
10955
  return true;
11050
10956
  }
11051
10957
  }
11052
- interappbus.default = InterApplicationBus;
10958
+ interappbus.InterApplicationBus = InterApplicationBus;
11053
10959
  /**
11054
10960
  * @internal
11055
10961
  */
@@ -11067,6 +10973,7 @@ function createKey(...toHash) {
11067
10973
  var clipboard = {};
11068
10974
 
11069
10975
  Object.defineProperty(clipboard, "__esModule", { value: true });
10976
+ clipboard.Clipboard = void 0;
11070
10977
  const base_1$d = base;
11071
10978
  /**
11072
10979
  * @PORTED
@@ -11264,7 +11171,7 @@ class Clipboard extends base_1$d.Base {
11264
11171
  return payload.data;
11265
11172
  }
11266
11173
  }
11267
- clipboard.default = Clipboard;
11174
+ clipboard.Clipboard = Clipboard;
11268
11175
 
11269
11176
  var externalApplication = {};
11270
11177
 
@@ -11390,6 +11297,7 @@ class ExternalApplication extends base_1$c.EmitterBase {
11390
11297
  Instance$4.ExternalApplication = ExternalApplication;
11391
11298
 
11392
11299
  Object.defineProperty(Factory$5, "__esModule", { value: true });
11300
+ Factory$5.ExternalApplicationModule = void 0;
11393
11301
  const base_1$b = base;
11394
11302
  const Instance_1$4 = Instance$4;
11395
11303
  class ExternalApplicationModule extends base_1$b.Base {
@@ -11405,7 +11313,6 @@ class ExternalApplicationModule extends base_1$b.Base {
11405
11313
  * .then(extApp => console.log('wrapped external application'))
11406
11314
  * .catch(err => console.log(err));
11407
11315
  * ```
11408
- * @static
11409
11316
  */
11410
11317
  wrap(uuid) {
11411
11318
  this.wire.sendAction('external-application-wrap').catch((e) => {
@@ -11425,7 +11332,6 @@ class ExternalApplicationModule extends base_1$b.Base {
11425
11332
  * const info = await extApp.getInfo();
11426
11333
  * console.log(info);
11427
11334
  * ```
11428
- * @static
11429
11335
  */
11430
11336
  wrapSync(uuid) {
11431
11337
  this.wire.sendAction('external-application-wrap-sync').catch((e) => {
@@ -11434,18 +11340,9 @@ class ExternalApplicationModule extends base_1$b.Base {
11434
11340
  return new Instance_1$4.ExternalApplication(this.wire, { uuid });
11435
11341
  }
11436
11342
  }
11437
- Factory$5.default = ExternalApplicationModule;
11343
+ Factory$5.ExternalApplicationModule = ExternalApplicationModule;
11438
11344
 
11439
11345
  (function (exports) {
11440
- /**
11441
- * Entry point for the OpenFin ExternalApplication namespace.
11442
- *
11443
- * Because TypeDoc does not currently support multiple modules with the same name, the module alias "ExternalApplicationModule" is used for
11444
- * the module containing static members of the `ExternalApplication` namespace (available under `fin.ExternalApplication`), while `ExternalApplication`
11445
- * documents instances of the OpenFin `ExternalApplication` class.
11446
- *
11447
- * @packageDocumentation
11448
- */
11449
11346
  var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
11450
11347
  if (k2 === undefined) k2 = k;
11451
11348
  var desc = Object.getOwnPropertyDescriptor(m, k);
@@ -11461,8 +11358,18 @@ Factory$5.default = ExternalApplicationModule;
11461
11358
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
11462
11359
  };
11463
11360
  Object.defineProperty(exports, "__esModule", { value: true });
11464
- const Factory_1 = Factory$5;
11465
- exports.default = Factory_1.default;
11361
+ /**
11362
+ * Entry points for the OpenFin `ExternalApplication` API.
11363
+ *
11364
+ * In the previous version of the API documentation, both static methods involving `ExternalApplication` and instance properties of the
11365
+ * `ExternalApplication` type itself were documented on the same page. These are separate code entities, and are now documented separately:
11366
+ *
11367
+ * * {@link ExternalApplicationModule} contains static methods relating to the `ExternalApplication` type, accessible through `fin.ExternalApplication`.
11368
+ * * {@link ExternalApplication} describes an instance of an OpenFin ExternalApplication, e.g. as returned by `fin.ExternalApplication.getCurrent`.
11369
+ *
11370
+ * @packageDocumentation
11371
+ */
11372
+ __exportStar(Factory$5, exports);
11466
11373
  __exportStar(Instance$4, exports);
11467
11374
  } (externalApplication));
11468
11375
 
@@ -11616,6 +11523,7 @@ class _Frame extends base_1$a.EmitterBase {
11616
11523
  Instance$3._Frame = _Frame;
11617
11524
 
11618
11525
  Object.defineProperty(Factory$4, "__esModule", { value: true });
11526
+ Factory$4._FrameModule = void 0;
11619
11527
  const base_1$9 = base;
11620
11528
  const validate_1$2 = validate;
11621
11529
  const Instance_1$3 = Instance$3;
@@ -11630,7 +11538,6 @@ class _FrameModule extends base_1$9.Base {
11630
11538
  * .then(frm => console.log('wrapped frame'))
11631
11539
  * .catch(err => console.log(err));
11632
11540
  * ```
11633
- * @static
11634
11541
  */
11635
11542
  async wrap(identity) {
11636
11543
  this.wire.sendAction('frame-wrap').catch((e) => {
@@ -11652,7 +11559,6 @@ class _FrameModule extends base_1$9.Base {
11652
11559
  * const info = await frm.getInfo();
11653
11560
  * console.log(info);
11654
11561
  * ```
11655
- * @static
11656
11562
  */
11657
11563
  wrapSync(identity) {
11658
11564
  this.wire.sendAction('frame-wrap-sync').catch((e) => {
@@ -11673,7 +11579,6 @@ class _FrameModule extends base_1$9.Base {
11673
11579
  * .then(frm => console.log('current frame'))
11674
11580
  * .catch(err => console.log(err));
11675
11581
  * ```
11676
- * @static
11677
11582
  */
11678
11583
  getCurrent() {
11679
11584
  this.wire.sendAction('frame-get-current').catch((e) => {
@@ -11690,7 +11595,6 @@ class _FrameModule extends base_1$9.Base {
11690
11595
  * const info = await frm.getInfo();
11691
11596
  * console.log(info);
11692
11597
  * ```
11693
- * @static
11694
11598
  */
11695
11599
  getCurrentSync() {
11696
11600
  this.wire.sendAction('frame-get-current-sync').catch((e) => {
@@ -11699,17 +11603,19 @@ class _FrameModule extends base_1$9.Base {
11699
11603
  return new Instance_1$3._Frame(this.wire, this.wire.environment.getCurrentEntityIdentity());
11700
11604
  }
11701
11605
  }
11702
- Factory$4.default = _FrameModule;
11606
+ Factory$4._FrameModule = _FrameModule;
11703
11607
 
11704
11608
  (function (exports) {
11705
11609
  /**
11706
- * Entry point for the OpenFin Frame namespace.
11610
+ * Entry points for the OpenFin `Frame` API.
11707
11611
  *
11708
- * Because TypeDoc does not currently support multiple modules with the same name, the module alias "FrameModule" is used for
11709
- * the module containing static members of the `Frame` namespace (available under `fin.Frame`), while `Frame` documents
11710
- * instances of the OpenFin `Frame` class.
11612
+ * In the previous version of the API documentation, both static methods involving `Frame` and instance properties of the
11613
+ * `Frame` type itself were documented on the same page. These are separate code entities, and are now documented separately:
11711
11614
  *
11712
- * Because the `Frame` name aliases a DOM entity, the documentation pipeline prefixes the name with an underscore.
11615
+ * * {@link _FrameModule} contains static methods relating to the `Frame` type, accessible through `fin.Frame`.
11616
+ * * {@link _Frame} describes an instance of an OpenFin Frame, e.g. as returned by `fin.Frame.getCurrent`.
11617
+ *
11618
+ * Underscore prefixing of OpenFin types that alias DOM entities will be fixed in a future version.
11713
11619
  *
11714
11620
  * @packageDocumentation
11715
11621
  */
@@ -11728,14 +11634,14 @@ Factory$4.default = _FrameModule;
11728
11634
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
11729
11635
  };
11730
11636
  Object.defineProperty(exports, "__esModule", { value: true });
11731
- const Factory_1 = Factory$4;
11732
- exports.default = Factory_1.default;
11637
+ __exportStar(Factory$4, exports);
11733
11638
  __exportStar(Instance$3, exports);
11734
11639
  } (frame));
11735
11640
 
11736
11641
  var globalHotkey = {};
11737
11642
 
11738
11643
  Object.defineProperty(globalHotkey, "__esModule", { value: true });
11644
+ globalHotkey.GlobalHotkey = void 0;
11739
11645
  const base_1$8 = base;
11740
11646
  /**
11741
11647
  * The GlobalHotkey module can register/unregister a global hotkeys.
@@ -11865,7 +11771,7 @@ class GlobalHotkey extends base_1$8.EmitterBase {
11865
11771
  return data;
11866
11772
  }
11867
11773
  }
11868
- globalHotkey.default = GlobalHotkey;
11774
+ globalHotkey.GlobalHotkey = GlobalHotkey;
11869
11775
 
11870
11776
  var platform = {};
11871
11777
 
@@ -13017,7 +12923,6 @@ class LayoutModule extends base_1$5.Base {
13017
12923
  * // the window must have been created with a layout in its window options
13018
12924
  * const layout = await fin.Platform.Layout.init({ containerId });
13019
12925
  * ```
13020
- * @static
13021
12926
  */
13022
12927
  this.init = async (options = {}) => {
13023
12928
  this.wire.sendAction('layout-init').catch((e) => {
@@ -13035,7 +12940,6 @@ class LayoutModule extends base_1$5.Base {
13035
12940
  }
13036
12941
  /**
13037
12942
  * Asynchronously returns a Layout object that represents a Window's layout.
13038
- * @param identity
13039
12943
  *
13040
12944
  * @example
13041
12945
  * ```js
@@ -13052,9 +12956,7 @@ class LayoutModule extends base_1$5.Base {
13052
12956
  * // Use wrapped instance to control layout, e.g.:
13053
12957
  * const layoutConfig = await layout.getConfig();
13054
12958
  * ```
13055
- * @static
13056
12959
  */
13057
- // eslint-disable-next-line class-methods-use-this
13058
12960
  async wrap(identity) {
13059
12961
  this.wire.sendAction('layout-wrap').catch((e) => {
13060
12962
  // don't expose
@@ -13063,7 +12965,6 @@ class LayoutModule extends base_1$5.Base {
13063
12965
  }
13064
12966
  /**
13065
12967
  * Synchronously returns a Layout object that represents a Window's layout.
13066
- * @param identity
13067
12968
  *
13068
12969
  * @example
13069
12970
  * ```js
@@ -13080,9 +12981,7 @@ class LayoutModule extends base_1$5.Base {
13080
12981
  * // Use wrapped instance to control layout, e.g.:
13081
12982
  * const layoutConfig = await layout.getConfig();
13082
12983
  * ```
13083
- * @static
13084
12984
  */
13085
- // eslint-disable-next-line class-methods-use-this
13086
12985
  wrapSync(identity) {
13087
12986
  this.wire.sendAction('layout-wrap-sync').catch((e) => {
13088
12987
  // don't expose
@@ -13098,7 +12997,6 @@ class LayoutModule extends base_1$5.Base {
13098
12997
  * // Use wrapped instance to control layout, e.g.:
13099
12998
  * const layoutConfig = await layout.getConfig();
13100
12999
  * ```
13101
- * @static
13102
13000
  */
13103
13001
  async getCurrent() {
13104
13002
  this.wire.sendAction('layout-get-current').catch((e) => {
@@ -13122,7 +13020,6 @@ class LayoutModule extends base_1$5.Base {
13122
13020
  * // Use wrapped instance to control layout, e.g.:
13123
13021
  * const layoutConfig = await layout.getConfig();
13124
13022
  * ```
13125
- * @static
13126
13023
  */
13127
13024
  getCurrentSync() {
13128
13025
  this.wire.sendAction('layout-get-current-sync').catch((e) => {
@@ -13294,6 +13191,7 @@ _LayoutModule_layoutInitializationAttempted = new WeakMap();
13294
13191
  } (layout));
13295
13192
 
13296
13193
  Object.defineProperty(Factory$3, "__esModule", { value: true });
13194
+ Factory$3.PlatformModule = void 0;
13297
13195
  const base_1$4 = base;
13298
13196
  const Instance_1$1 = Instance$2;
13299
13197
  const index_1$1 = layout;
@@ -13362,14 +13260,12 @@ class PlatformModule extends base_1$4.Base {
13362
13260
  * fin.Platform.init({overrideCallback});
13363
13261
  * ```
13364
13262
  * @experimental
13365
- * @static
13366
13263
  */
13367
13264
  async init(options) {
13368
13265
  return this.wire.environment.initPlatform(this.fin, options);
13369
13266
  }
13370
13267
  /**
13371
13268
  * Asynchronously returns a Platform object that represents an existing platform.
13372
- * @param identity
13373
13269
  *
13374
13270
  * @example
13375
13271
  * ```js
@@ -13378,7 +13274,6 @@ class PlatformModule extends base_1$4.Base {
13378
13274
  * // Use wrapped instance to control layout, e.g.:
13379
13275
  * const snapshot = await platform.getSnapshot();
13380
13276
  * ```
13381
- * @static
13382
13277
  */
13383
13278
  async wrap(identity) {
13384
13279
  this.wire.sendAction('platform-wrap').catch((e) => {
@@ -13388,7 +13283,6 @@ class PlatformModule extends base_1$4.Base {
13388
13283
  }
13389
13284
  /**
13390
13285
  * Synchronously returns a Platform object that represents an existing platform.
13391
- * @param identity
13392
13286
  *
13393
13287
  * @example
13394
13288
  * ```js
@@ -13397,7 +13291,6 @@ class PlatformModule extends base_1$4.Base {
13397
13291
  * // Use wrapped instance to control layout, e.g.:
13398
13292
  * const snapshot = await platform.getSnapshot();
13399
13293
  * ```
13400
- * @static
13401
13294
  */
13402
13295
  wrapSync(identity) {
13403
13296
  this.wire.sendAction('platform-wrap-sync').catch((e) => {
@@ -13414,7 +13307,6 @@ class PlatformModule extends base_1$4.Base {
13414
13307
  * // Use wrapped instance to control layout, e.g.:
13415
13308
  * const snapshot = await platform.getSnapshot();
13416
13309
  * ```
13417
- * @static
13418
13310
  */
13419
13311
  async getCurrent() {
13420
13312
  this.wire.sendAction('platform-get-current').catch((e) => {
@@ -13431,7 +13323,6 @@ class PlatformModule extends base_1$4.Base {
13431
13323
  * // Use wrapped instance to control layout, e.g.:
13432
13324
  * const snapshot = await platform.getSnapshot();
13433
13325
  * ```
13434
- * @static
13435
13326
  */
13436
13327
  getCurrentSync() {
13437
13328
  this.wire.sendAction('platform-get-current-sync').catch((e) => {
@@ -13442,7 +13333,6 @@ class PlatformModule extends base_1$4.Base {
13442
13333
  /**
13443
13334
  * Creates and starts a Platform and returns a wrapped and running Platform instance. The wrapped Platform methods can
13444
13335
  * be used to launch content into the platform. Promise will reject if the platform is already running.
13445
- * @param platformOptions
13446
13336
  *
13447
13337
  * @example
13448
13338
  * ```js
@@ -13463,7 +13353,6 @@ class PlatformModule extends base_1$4.Base {
13463
13353
  * console.error(e);
13464
13354
  * }
13465
13355
  * ```
13466
- * @static
13467
13356
  */
13468
13357
  start(platformOptions) {
13469
13358
  this.wire.sendAction('platform-start').catch((e) => {
@@ -13508,7 +13397,6 @@ class PlatformModule extends base_1$4.Base {
13508
13397
  * console.error(e);
13509
13398
  * }
13510
13399
  * ```
13511
- * @static
13512
13400
  */
13513
13401
  startFromManifest(manifestUrl, opts) {
13514
13402
  this.wire.sendAction('platform-start-from-manifest').catch((e) => {
@@ -13531,18 +13419,9 @@ class PlatformModule extends base_1$4.Base {
13531
13419
  });
13532
13420
  }
13533
13421
  }
13534
- Factory$3.default = PlatformModule;
13422
+ Factory$3.PlatformModule = PlatformModule;
13535
13423
 
13536
13424
  (function (exports) {
13537
- /**
13538
- * Entry point for the OpenFin Platform namespace.
13539
- *
13540
- * Because TypeDoc does not currently support multiple modules with the same name, the module alias "PlatformModule" is used for
13541
- * the module containing static members of the `Platform` namespace (available under `fin.Platform`), while `Platform` documents
13542
- * instances of the OpenFin `Platform` class.
13543
- *
13544
- * @packageDocumentation
13545
- */
13546
13425
  var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
13547
13426
  if (k2 === undefined) k2 = k;
13548
13427
  var desc = Object.getOwnPropertyDescriptor(m, k);
@@ -13558,8 +13437,18 @@ Factory$3.default = PlatformModule;
13558
13437
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
13559
13438
  };
13560
13439
  Object.defineProperty(exports, "__esModule", { value: true });
13561
- const Factory_1 = Factory$3;
13562
- exports.default = Factory_1.default;
13440
+ /**
13441
+ * Entry points for the OpenFin `Platform` API.
13442
+ *
13443
+ * In the previous version of the API documentation, both static methods involving `Platform` and instance properties of the
13444
+ * `Platform` type itself were documented on the same page. These are separate code entities, and are now documented separately:
13445
+ *
13446
+ * * {@link PlatformModule} contains static methods relating to the `Platform` type, accessible through `fin.Platform`.
13447
+ * * {@link Platform} describes an instance of an OpenFin Platform, e.g. as returned by `fin.Platform.getCurrent`.
13448
+ *
13449
+ * @packageDocumentation
13450
+ */
13451
+ __exportStar(Factory$3, exports);
13563
13452
  __exportStar(Instance$2, exports);
13564
13453
  } (platform));
13565
13454
 
@@ -16318,46 +16207,39 @@ class InteropClient extends base_1$2.Base {
16318
16207
  InteropClient$1.InteropClient = InteropClient;
16319
16208
  _InteropClient_clientPromise = new WeakMap(), _InteropClient_sessionContextGroups = new WeakMap();
16320
16209
 
16321
- var overrideCheck = {};
16210
+ var overrideCheck$1 = {};
16322
16211
 
16323
- var hasRequiredOverrideCheck;
16324
-
16325
- function requireOverrideCheck () {
16326
- if (hasRequiredOverrideCheck) return overrideCheck;
16327
- hasRequiredOverrideCheck = 1;
16328
- Object.defineProperty(overrideCheck, "__esModule", { value: true });
16329
- overrideCheck.overrideCheck = overrideCheck.getDefaultViewFdc3VersionFromAppInfo = void 0;
16330
- const InteropBroker_1 = requireInteropBroker();
16331
- function getDefaultViewFdc3VersionFromAppInfo({ manifest, initialOptions }) {
16332
- var _a, _b, _c, _d;
16333
- const setVersion = (_c = (_b = (_a = manifest.platform) === null || _a === void 0 ? void 0 : _a.defaultViewOptions) === null || _b === void 0 ? void 0 : _b.fdc3InteropApi) !== null && _c !== void 0 ? _c : (_d = initialOptions.defaultViewOptions) === null || _d === void 0 ? void 0 : _d.fdc3InteropApi;
16334
- return ['1.2', '2.0'].includes(setVersion !== null && setVersion !== void 0 ? setVersion : '') ? setVersion : undefined;
16335
- }
16336
- overrideCheck.getDefaultViewFdc3VersionFromAppInfo = getDefaultViewFdc3VersionFromAppInfo;
16337
- // TODO: Unit test this
16338
- function overrideCheck$1(overriddenBroker, fdc3InteropApi) {
16339
- if (fdc3InteropApi && fdc3InteropApi === '2.0') {
16340
- const mustOverrideAPIs = [
16341
- 'fdc3HandleFindInstances',
16342
- 'handleInfoForIntent',
16343
- 'handleInfoForIntentsByContext',
16344
- 'fdc3HandleGetAppMetadata',
16345
- 'fdc3HandleGetInfo',
16346
- 'fdc3HandleOpen',
16347
- 'handleFiredIntent',
16348
- 'handleFiredIntentForContext'
16349
- ];
16350
- const notOverridden = mustOverrideAPIs.filter((api) => {
16351
- return overriddenBroker[api] === InteropBroker_1.InteropBroker.prototype[api];
16352
- });
16353
- if (notOverridden.length > 0) {
16354
- console.warn(`WARNING: FDC3 2.0 has been set as a default option for Views in this Platform, but the required InteropBroker APIs for FDC3 2.0 compliance have not all been overridden.\nThe following APIs need to be overridden:\n${notOverridden.join('\n')}`);
16355
- }
16356
- }
16357
- }
16358
- overrideCheck.overrideCheck = overrideCheck$1;
16359
- return overrideCheck;
16212
+ Object.defineProperty(overrideCheck$1, "__esModule", { value: true });
16213
+ overrideCheck$1.overrideCheck = overrideCheck$1.getDefaultViewFdc3VersionFromAppInfo = void 0;
16214
+ const InteropBroker_1 = requireInteropBroker();
16215
+ function getDefaultViewFdc3VersionFromAppInfo({ manifest, initialOptions }) {
16216
+ var _a, _b, _c, _d;
16217
+ const setVersion = (_c = (_b = (_a = manifest.platform) === null || _a === void 0 ? void 0 : _a.defaultViewOptions) === null || _b === void 0 ? void 0 : _b.fdc3InteropApi) !== null && _c !== void 0 ? _c : (_d = initialOptions.defaultViewOptions) === null || _d === void 0 ? void 0 : _d.fdc3InteropApi;
16218
+ return ['1.2', '2.0'].includes(setVersion !== null && setVersion !== void 0 ? setVersion : '') ? setVersion : undefined;
16360
16219
  }
16220
+ overrideCheck$1.getDefaultViewFdc3VersionFromAppInfo = getDefaultViewFdc3VersionFromAppInfo;
16221
+ // TODO: Unit test this
16222
+ function overrideCheck(overriddenBroker, fdc3InteropApi) {
16223
+ if (fdc3InteropApi && fdc3InteropApi === '2.0') {
16224
+ const mustOverrideAPIs = [
16225
+ 'fdc3HandleFindInstances',
16226
+ 'handleInfoForIntent',
16227
+ 'handleInfoForIntentsByContext',
16228
+ 'fdc3HandleGetAppMetadata',
16229
+ 'fdc3HandleGetInfo',
16230
+ 'fdc3HandleOpen',
16231
+ 'handleFiredIntent',
16232
+ 'handleFiredIntentForContext'
16233
+ ];
16234
+ const notOverridden = mustOverrideAPIs.filter((api) => {
16235
+ return overriddenBroker[api] === InteropBroker_1.InteropBroker.prototype[api];
16236
+ });
16237
+ if (notOverridden.length > 0) {
16238
+ console.warn(`WARNING: FDC3 2.0 has been set as a default option for Views in this Platform, but the required InteropBroker APIs for FDC3 2.0 compliance have not all been overridden.\nThe following APIs need to be overridden:\n${notOverridden.join('\n')}`);
16239
+ }
16240
+ }
16241
+ }
16242
+ overrideCheck$1.overrideCheck = overrideCheck;
16361
16243
 
16362
16244
  var hasRequiredFactory;
16363
16245
 
@@ -16365,12 +16247,13 @@ function requireFactory () {
16365
16247
  if (hasRequiredFactory) return Factory$1;
16366
16248
  hasRequiredFactory = 1;
16367
16249
  Object.defineProperty(Factory$1, "__esModule", { value: true });
16250
+ Factory$1.InteropModule = void 0;
16368
16251
  const lodash_1 = require$$3;
16369
16252
  const inaccessibleObject_1 = inaccessibleObject;
16370
16253
  const base_1 = base;
16371
16254
  const InteropBroker_1 = requireInteropBroker();
16372
16255
  const InteropClient_1 = InteropClient$1;
16373
- const overrideCheck_1 = requireOverrideCheck();
16256
+ const overrideCheck_1 = overrideCheck$1;
16374
16257
  const common_utils_1 = commonUtils;
16375
16258
  const defaultOverride = (Class) => new Class();
16376
16259
  const BrokerParamAccessError = 'You have attempted to use or modify InteropBroker parameters, which is not allowed. You are likely using an older InteropBroker override scheme. Please consult our Interop docs for guidance on migrating to the new override scheme.';
@@ -16401,7 +16284,6 @@ function requireFactory () {
16401
16284
  * const contextGroups = await interopBroker.getContextGroups();
16402
16285
  * console.log(contextGroups);
16403
16286
  * ```
16404
- * @static
16405
16287
  */
16406
16288
  async init(name, override = defaultOverride) {
16407
16289
  var _a;
@@ -16459,7 +16341,6 @@ function requireFactory () {
16459
16341
  * const contextGroupInfo = await client.getInfoForContextGroup();
16460
16342
  * console.log(contextGroupInfo);
16461
16343
  * ```
16462
- * @static
16463
16344
  */
16464
16345
  connectSync(name, interopConfig) {
16465
16346
  this.wire.sendAction('interop-connect-sync').catch(() => {
@@ -16468,7 +16349,7 @@ function requireFactory () {
16468
16349
  return new InteropClient_1.InteropClient(this.wire, name, interopConfig);
16469
16350
  }
16470
16351
  }
16471
- Factory$1.default = InteropModule;
16352
+ Factory$1.InteropModule = InteropModule;
16472
16353
  return Factory$1;
16473
16354
  }
16474
16355
 
@@ -16481,8 +16362,8 @@ function requireInterop () {
16481
16362
  /**
16482
16363
  * Entry point for the OpenFin Interop namespace.
16483
16364
  *
16484
- * "InteropModule" contains static members of the `Interop` namespace (available under `fin.Interop`), while `InteropClient` and
16485
- * `InteropBroker` document instances of their respective classes.
16365
+ * * {@link InteropModule} contains static members of the `Interop` namespace (available under `fin.Interop`)
16366
+ * * {@link InteropClient} and {@link InteropBroker} document instances of their respective classes.
16486
16367
  *
16487
16368
  * @packageDocumentation
16488
16369
  */
@@ -16501,8 +16382,7 @@ function requireInterop () {
16501
16382
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
16502
16383
  };
16503
16384
  Object.defineProperty(exports, "__esModule", { value: true });
16504
- const Factory_1 = requireFactory();
16505
- exports.default = Factory_1.default;
16385
+ __exportStar(requireFactory(), exports);
16506
16386
  __exportStar(InteropClient$1, exports);
16507
16387
  __exportStar(requireInteropBroker(), exports);
16508
16388
  } (interop));
@@ -16678,13 +16558,13 @@ Instance.SnapshotSource = SnapshotSource;
16678
16558
  _SnapshotSource_identity = new WeakMap(), _SnapshotSource_getConnection = new WeakMap(), _SnapshotSource_getClient = new WeakMap(), _SnapshotSource_startConnection = new WeakMap(), _SnapshotSource_setUpConnectionListener = new WeakMap();
16679
16559
 
16680
16560
  Object.defineProperty(Factory, "__esModule", { value: true });
16561
+ Factory.SnapshotSourceModule = void 0;
16681
16562
  const base_1 = base;
16682
16563
  const Instance_1 = Instance;
16683
16564
  const utils_1 = utils;
16684
16565
  class SnapshotSourceModule extends base_1.Base {
16685
16566
  /**
16686
16567
  * Initializes a SnapshotSource with the getSnapshot and applySnapshot methods defined.
16687
- * @param provider
16688
16568
  *
16689
16569
  * @example
16690
16570
  * ```js
@@ -16701,7 +16581,6 @@ class SnapshotSourceModule extends base_1.Base {
16701
16581
  *
16702
16582
  * await fin.SnapshotSource.init(snapshotProvider);
16703
16583
  * ```
16704
- * @static
16705
16584
  */
16706
16585
  async init(provider) {
16707
16586
  this.wire.sendAction('snapshot-source-init').catch((e) => {
@@ -16721,7 +16600,6 @@ class SnapshotSourceModule extends base_1.Base {
16721
16600
  }
16722
16601
  /**
16723
16602
  * Synchronously returns a SnapshotSource object that represents the current SnapshotSource.
16724
- * @param identity
16725
16603
  *
16726
16604
  * @example
16727
16605
  * ```js
@@ -16729,7 +16607,6 @@ class SnapshotSourceModule extends base_1.Base {
16729
16607
  * // Use wrapped instance's getSnapshot method, e.g.:
16730
16608
  * const snapshot = await snapshotSource.getSnapshot();
16731
16609
  * ```
16732
- * @static
16733
16610
  */
16734
16611
  wrapSync(identity) {
16735
16612
  this.wire.sendAction('snapshot-source-wrap-sync').catch((e) => {
@@ -16739,7 +16616,6 @@ class SnapshotSourceModule extends base_1.Base {
16739
16616
  }
16740
16617
  /**
16741
16618
  * Asynchronously returns a SnapshotSource object that represents the current SnapshotSource.
16742
- * @param identity
16743
16619
  *
16744
16620
  * @example
16745
16621
  * ```js
@@ -16747,7 +16623,6 @@ class SnapshotSourceModule extends base_1.Base {
16747
16623
  * // Use wrapped instance's getSnapshot method, e.g.:
16748
16624
  * const snapshot = await snapshotSource.getSnapshot();
16749
16625
  * ```
16750
- * @static
16751
16626
  */
16752
16627
  async wrap(identity) {
16753
16628
  this.wire.sendAction('snapshot-source-wrap').catch((e) => {
@@ -16756,15 +16631,17 @@ class SnapshotSourceModule extends base_1.Base {
16756
16631
  return this.wrapSync(identity);
16757
16632
  }
16758
16633
  }
16759
- Factory.default = SnapshotSourceModule;
16634
+ Factory.SnapshotSourceModule = SnapshotSourceModule;
16760
16635
 
16761
16636
  (function (exports) {
16762
16637
  /**
16763
- * Entry point for the OpenFin SnapshotSource namespace.
16638
+ * Entry points for the OpenFin `SnapshotSource` API.
16639
+ *
16640
+ * In the previous version of the API documentation, both static methods involving `SnapshotSource` and instance properties of the
16641
+ * `SnapshotSource` type itself were documented on the same page. These are separate code entities, and are now documented separately:
16764
16642
  *
16765
- * Because TypeDoc does not currently support multiple modules with the same name, the module alias "SnapshotSourceModule" is used for
16766
- * the module containing static members of the `SnapshotSource` namespace (available under `fin.SnapshotSource`), while `SnapshotSource` documents
16767
- * instances of the OpenFin `SnapshotSource` class.
16643
+ * * {@link SnapshotSourceModule} contains static methods relating to the `SnapshotSource` type, accessible through `fin.SnapshotSource`.
16644
+ * * {@link SnapshotSource} describes an instance of an OpenFin SnapshotSource, e.g. as returned by `fin.SnapshotSource.getCurrent`.
16768
16645
  *
16769
16646
  * @packageDocumentation
16770
16647
  */
@@ -16783,12 +16660,12 @@ Factory.default = SnapshotSourceModule;
16783
16660
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
16784
16661
  };
16785
16662
  Object.defineProperty(exports, "__esModule", { value: true });
16786
- const Factory_1 = Factory;
16787
- exports.default = Factory_1.default;
16663
+ __exportStar(Factory, exports);
16788
16664
  __exportStar(Instance, exports);
16789
16665
  } (snapshotSource));
16790
16666
 
16791
16667
  Object.defineProperty(fin, "__esModule", { value: true });
16668
+ fin.Fin = void 0;
16792
16669
  const events_1$3 = eventsExports;
16793
16670
  // Import from the file rather than the directory in case someone consuming types is using module resolution other than "node"
16794
16671
  const index_1 = system;
@@ -16811,18 +16688,18 @@ class Fin extends events_1$3.EventEmitter {
16811
16688
  constructor(wire) {
16812
16689
  super();
16813
16690
  this.wire = wire;
16814
- this.System = new index_1.default(wire);
16815
- this.Window = new index_2.default(wire);
16816
- this.Application = new index_3.default(wire);
16817
- this.InterApplicationBus = new index_4.default(wire);
16818
- this.Clipboard = new index_5.default(wire);
16819
- this.ExternalApplication = new index_6.default(wire);
16820
- this.Frame = new index_7.default(wire);
16821
- this.GlobalHotkey = new index_8.default(wire);
16822
- this.Platform = new index_10.default(wire, this.InterApplicationBus.Channel);
16823
- this.View = new index_9.default(wire);
16824
- this.Interop = new interop_1.default(wire);
16825
- this.SnapshotSource = new snapshot_source_1.default(wire);
16691
+ this.System = new index_1.System(wire);
16692
+ this.Window = new index_2._WindowModule(wire);
16693
+ this.Application = new index_3.ApplicationModule(wire);
16694
+ this.InterApplicationBus = new index_4.InterApplicationBus(wire);
16695
+ this.Clipboard = new index_5.Clipboard(wire);
16696
+ this.ExternalApplication = new index_6.ExternalApplicationModule(wire);
16697
+ this.Frame = new index_7._FrameModule(wire);
16698
+ this.GlobalHotkey = new index_8.GlobalHotkey(wire);
16699
+ this.Platform = new index_10.PlatformModule(wire, this.InterApplicationBus.Channel);
16700
+ this.View = new index_9.ViewModule(wire);
16701
+ this.Interop = new interop_1.InteropModule(wire);
16702
+ this.SnapshotSource = new snapshot_source_1.SnapshotSourceModule(wire);
16826
16703
  wire.registerFin(this);
16827
16704
  this.me = (0, me_1$2.getMe)(wire);
16828
16705
  // Handle disconnect events
@@ -16831,7 +16708,7 @@ class Fin extends events_1$3.EventEmitter {
16831
16708
  });
16832
16709
  }
16833
16710
  }
16834
- fin.default = Fin;
16711
+ fin.Fin = Fin;
16835
16712
 
16836
16713
  var transport = {};
16837
16714
 
@@ -17271,7 +17148,7 @@ exports.fin = mock.fin = ((typeof window !== 'undefined' && (window === null ||
17271
17148
  uuid: '',
17272
17149
  name: ''
17273
17150
  });
17274
- return new fin_1.default(transport);
17151
+ return new fin_1.Fin(transport);
17275
17152
  })());
17276
17153
  var _default = mock.default = OpenFin;
17277
17154