@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.js CHANGED
@@ -1435,6 +1435,11 @@ class WebContents extends base_1$k.EmitterBase {
1435
1435
  * }
1436
1436
  * console.log(await wnd.capturePage(options));
1437
1437
  * ```
1438
+ *
1439
+ * @remarks
1440
+ * `WebContents` refers to shared functionality between {@link OpenFin.Window} and {@link OpenFin.View}.
1441
+ * We do not expose an explicit superclass for this functionality, but it does have its own
1442
+ * {@link OpenFin.WebContentsEvents event namespace}.
1438
1443
  */
1439
1444
  capturePage(options) {
1440
1445
  return this.wire.sendAction('capture-page', { options, ...this.identity }).then(({ payload }) => payload.data);
@@ -1470,6 +1475,10 @@ class WebContents extends base_1$k.EmitterBase {
1470
1475
  *
1471
1476
  * executeJavaScript(`console.log('Hello, Openfin')`).then(() => console.log('Javascript excuted')).catch(err => console.log(err));
1472
1477
  * ```
1478
+ * @remarks
1479
+ * `WebContents` refers to shared functionality between {@link OpenFin.Window} and {@link OpenFin.View}.
1480
+ * We do not expose an explicit superclass for this functionality, but it does have its own
1481
+ * {@link OpenFin.WebContentsEvents event namespace}.
1473
1482
  */
1474
1483
  executeJavaScript(code) {
1475
1484
  return this.wire
@@ -1509,6 +1518,10 @@ class WebContents extends base_1$k.EmitterBase {
1509
1518
  *
1510
1519
  * getZoomLevel().then(zoomLevel => console.log(zoomLevel)).catch(err => console.log(err));
1511
1520
  * ```
1521
+ * @remarks
1522
+ * `WebContents` refers to shared functionality between {@link OpenFin.Window} and {@link OpenFin.View}.
1523
+ * We do not expose an explicit superclass for this functionality, but it does have its own
1524
+ * {@link OpenFin.WebContentsEvents event namespace}.
1512
1525
  */
1513
1526
  getZoomLevel() {
1514
1527
  return this.wire.sendAction('get-zoom-level', this.identity).then(({ payload }) => payload.data);
@@ -1547,6 +1560,10 @@ class WebContents extends base_1$k.EmitterBase {
1547
1560
  *
1548
1561
  * setZoomLevel(4).then(() => console.log('Setting a zoom level')).catch(err => console.log(err));
1549
1562
  * ```
1563
+ * @remarks
1564
+ * `WebContents` refers to shared functionality between {@link OpenFin.Window} and {@link OpenFin.View}.
1565
+ * We do not expose an explicit superclass for this functionality, but it does have its own
1566
+ * {@link OpenFin.WebContentsEvents event namespace}.
1550
1567
  */
1551
1568
  setZoomLevel(level) {
1552
1569
  return this.wire.sendAction('set-zoom-level', { ...this.identity, level }).then(() => undefined);
@@ -1584,6 +1601,10 @@ class WebContents extends base_1$k.EmitterBase {
1584
1601
  * navigate().then(() => console.log('Navigate to tutorial')).catch(err => console.log(err));
1585
1602
  * ```
1586
1603
  * @experimental
1604
+ * @remarks
1605
+ * `WebContents` refers to shared functionality between {@link OpenFin.Window} and {@link OpenFin.View}.
1606
+ * We do not expose an explicit superclass for this functionality, but it does have its own
1607
+ * {@link OpenFin.WebContentsEvents event namespace}.
1587
1608
  */
1588
1609
  navigate(url) {
1589
1610
  return this.wire.sendAction('navigate-window', { ...this.identity, url }).then(() => undefined);
@@ -1611,6 +1632,10 @@ class WebContents extends base_1$k.EmitterBase {
1611
1632
  * }
1612
1633
  * navigateBack().then(() => console.log('Navigated back')).catch(err => console.log(err));
1613
1634
  * ```
1635
+ * @remarks
1636
+ * `WebContents` refers to shared functionality between {@link OpenFin.Window} and {@link OpenFin.View}.
1637
+ * We do not expose an explicit superclass for this functionality, but it does have its own
1638
+ * {@link OpenFin.WebContentsEvents event namespace}.
1614
1639
  */
1615
1640
  navigateBack() {
1616
1641
  return this.wire.sendAction('navigate-window-back', { ...this.identity }).then(() => undefined);
@@ -1640,6 +1665,10 @@ class WebContents extends base_1$k.EmitterBase {
1640
1665
  * }
1641
1666
  * navigateForward().then(() => console.log('Navigated forward')).catch(err => console.log(err));
1642
1667
  * ```
1668
+ * @remarks
1669
+ * `WebContents` refers to shared functionality between {@link OpenFin.Window} and {@link OpenFin.View}.
1670
+ * We do not expose an explicit superclass for this functionality, but it does have its own
1671
+ * {@link OpenFin.WebContentsEvents event namespace}.
1643
1672
  */
1644
1673
  async navigateForward() {
1645
1674
  await this.wire.sendAction('navigate-window-forward', { ...this.identity });
@@ -1667,6 +1696,10 @@ class WebContents extends base_1$k.EmitterBase {
1667
1696
  * }
1668
1697
  * stopNavigation().then(() => console.log('you shall not navigate')).catch(err => console.log(err));
1669
1698
  * ```
1699
+ * @remarks
1700
+ * `WebContents` refers to shared functionality between {@link OpenFin.Window} and {@link OpenFin.View}.
1701
+ * We do not expose an explicit superclass for this functionality, but it does have its own
1702
+ * {@link OpenFin.WebContentsEvents event namespace}.
1670
1703
  */
1671
1704
  stopNavigation() {
1672
1705
  return this.wire.sendAction('stop-window-navigation', { ...this.identity }).then(() => undefined);
@@ -1704,6 +1737,10 @@ class WebContents extends base_1$k.EmitterBase {
1704
1737
  * console.log('Reloaded window')
1705
1738
  * }).catch(err => console.log(err));
1706
1739
  * ```
1740
+ * @remarks
1741
+ * `WebContents` refers to shared functionality between {@link OpenFin.Window} and {@link OpenFin.View}.
1742
+ * We do not expose an explicit superclass for this functionality, but it does have its own
1743
+ * {@link OpenFin.WebContentsEvents event namespace}.
1707
1744
  */
1708
1745
  reload(ignoreCache = false) {
1709
1746
  return this.wire
@@ -1730,6 +1767,10 @@ class WebContents extends base_1$k.EmitterBase {
1730
1767
  * console.log('print call has been sent to the system');
1731
1768
  * });
1732
1769
  * ```
1770
+ * @remarks
1771
+ * `WebContents` refers to shared functionality between {@link OpenFin.Window} and {@link OpenFin.View}.
1772
+ * We do not expose an explicit superclass for this functionality, but it does have its own
1773
+ * {@link OpenFin.WebContentsEvents event namespace}.
1733
1774
  */
1734
1775
  print(options = {}) {
1735
1776
  return this.wire.sendAction('print', { ...this.identity, options }).then(() => undefined);
@@ -1774,6 +1815,10 @@ class WebContents extends base_1$k.EmitterBase {
1774
1815
  * console.log(result)
1775
1816
  * });
1776
1817
  * ```
1818
+ * @remarks
1819
+ * `WebContents` refers to shared functionality between {@link OpenFin.Window} and {@link OpenFin.View}.
1820
+ * We do not expose an explicit superclass for this functionality, but it does have its own
1821
+ * {@link OpenFin.WebContentsEvents event namespace}.
1777
1822
  */
1778
1823
  findInPage(searchTerm, options) {
1779
1824
  return this.wire
@@ -1817,6 +1862,10 @@ class WebContents extends base_1$k.EmitterBase {
1817
1862
  * console.log(results);
1818
1863
  * });
1819
1864
  * ```
1865
+ * @remarks
1866
+ * `WebContents` refers to shared functionality between {@link OpenFin.Window} and {@link OpenFin.View}.
1867
+ * We do not expose an explicit superclass for this functionality, but it does have its own
1868
+ * {@link OpenFin.WebContentsEvents event namespace}.
1820
1869
  */
1821
1870
  stopFindInPage(action) {
1822
1871
  return this.wire.sendAction('stop-find-in-page', { ...this.identity, action }).then(() => undefined);
@@ -1859,6 +1908,10 @@ class WebContents extends base_1$k.EmitterBase {
1859
1908
  * console.log(err);
1860
1909
  * });
1861
1910
  * ```
1911
+ * @remarks
1912
+ * `WebContents` refers to shared functionality between {@link OpenFin.Window} and {@link OpenFin.View}.
1913
+ * We do not expose an explicit superclass for this functionality, but it does have its own
1914
+ * {@link OpenFin.WebContentsEvents event namespace}.
1862
1915
  */
1863
1916
  getPrinters() {
1864
1917
  return this.wire.sendAction('get-printers', { ...this.identity }).then(({ payload }) => payload.data);
@@ -1881,6 +1934,10 @@ class WebContents extends base_1$k.EmitterBase {
1881
1934
  *
1882
1935
  * focusWindow().then(() => console.log('Window focused')).catch(err => console.log(err));
1883
1936
  * ```
1937
+ * @remarks
1938
+ * `WebContents` refers to shared functionality between {@link OpenFin.Window} and {@link OpenFin.View}.
1939
+ * We do not expose an explicit superclass for this functionality, but it does have its own
1940
+ * {@link OpenFin.WebContentsEvents event namespace}.
1884
1941
  */
1885
1942
  async focus({ emitSynthFocused } = { emitSynthFocused: true }) {
1886
1943
  await this.wire.sendAction('focus-window', { emitSynthFocused, ...this.identity });
@@ -1912,6 +1969,10 @@ class WebContents extends base_1$k.EmitterBase {
1912
1969
  * .then(() => console.log('Showing dev tools'))
1913
1970
  * .catch(err => console.error(err));
1914
1971
  * ```
1972
+ * @remarks
1973
+ * `WebContents` refers to shared functionality between {@link OpenFin.Window} and {@link OpenFin.View}.
1974
+ * We do not expose an explicit superclass for this functionality, but it does have its own
1975
+ * {@link OpenFin.WebContentsEvents event namespace}.
1915
1976
  */
1916
1977
  async showDeveloperTools() {
1917
1978
  // Note this hits the system action map in core state for legacy reasons.
@@ -1934,6 +1995,10 @@ class WebContents extends base_1$k.EmitterBase {
1934
1995
  * const win = await fin.Window.getCurrent();
1935
1996
  * const processInfo = await win.getProcessInfo();
1936
1997
  * ```
1998
+ * @remarks
1999
+ * `WebContents` refers to shared functionality between {@link OpenFin.Window} and {@link OpenFin.View}.
2000
+ * We do not expose an explicit superclass for this functionality, but it does have its own
2001
+ * {@link OpenFin.WebContentsEvents event namespace}.
1937
2002
  */
1938
2003
  async getProcessInfo() {
1939
2004
  const { payload: { data } } = await this.wire.sendAction('get-process-info', this.identity);
@@ -1969,6 +2034,10 @@ class WebContents extends base_1$k.EmitterBase {
1969
2034
  * const win = await fin.Window.create(winOption);
1970
2035
  * const sharedWorkers = await win.getSharedWorkers();
1971
2036
  * ```
2037
+ * @remarks
2038
+ * `WebContents` refers to shared functionality between {@link OpenFin.Window} and {@link OpenFin.View}.
2039
+ * We do not expose an explicit superclass for this functionality, but it does have its own
2040
+ * {@link OpenFin.WebContentsEvents event namespace}.
1972
2041
  */
1973
2042
  async getSharedWorkers() {
1974
2043
  return this.wire.sendAction('get-shared-workers', this.identity).then(({ payload }) => payload.data);
@@ -2003,6 +2072,10 @@ class WebContents extends base_1$k.EmitterBase {
2003
2072
  * const win = await fin.Window.create(winOption);
2004
2073
  * await win.inspectSharedWorker();
2005
2074
  * ```
2075
+ * @remarks
2076
+ * `WebContents` refers to shared functionality between {@link OpenFin.Window} and {@link OpenFin.View}.
2077
+ * We do not expose an explicit superclass for this functionality, but it does have its own
2078
+ * {@link OpenFin.WebContentsEvents event namespace}.
2006
2079
  */
2007
2080
  async inspectSharedWorker() {
2008
2081
  await this.wire.sendAction('inspect-shared-worker', { ...this.identity });
@@ -2040,6 +2113,10 @@ class WebContents extends base_1$k.EmitterBase {
2040
2113
  * const sharedWorkers = await win.getSharedWorkers();
2041
2114
  * await win.inspectSharedWorkerById(sharedWorkers[0].id);
2042
2115
  * ```
2116
+ * @remarks
2117
+ * `WebContents` refers to shared functionality between {@link OpenFin.Window} and {@link OpenFin.View}.
2118
+ * We do not expose an explicit superclass for this functionality, but it does have its own
2119
+ * {@link OpenFin.WebContentsEvents event namespace}.
2043
2120
  */
2044
2121
  async inspectSharedWorkerById(workerId) {
2045
2122
  await this.wire.sendAction('inspect-shared-worker-by-id', { ...this.identity, workerId });
@@ -2074,6 +2151,10 @@ class WebContents extends base_1$k.EmitterBase {
2074
2151
  * const win = await fin.Window.create(winOption);
2075
2152
  * await win.inspectServiceWorker();
2076
2153
  * ```
2154
+ * @remarks
2155
+ * `WebContents` refers to shared functionality between {@link OpenFin.Window} and {@link OpenFin.View}.
2156
+ * We do not expose an explicit superclass for this functionality, but it does have its own
2157
+ * {@link OpenFin.WebContentsEvents event namespace}.
2077
2158
  */
2078
2159
  async inspectServiceWorker() {
2079
2160
  await this.wire.sendAction('inspect-service-worker', { ...this.identity });
@@ -2284,6 +2365,10 @@ class WebContents extends base_1$k.EmitterBase {
2284
2365
  * onPopupReady: popupWindowCallback;
2285
2366
  * });
2286
2367
  * ```
2368
+ * @remarks
2369
+ * `WebContents` refers to shared functionality between {@link OpenFin.Window} and {@link OpenFin.View}.
2370
+ * We do not expose an explicit superclass for this functionality, but it does have its own
2371
+ * {@link OpenFin.WebContentsEvents event namespace}.
2287
2372
  */
2288
2373
  async showPopupWindow(options) {
2289
2374
  this.wire.sendAction(`${this.entityType}-show-popup-window`, this.identity).catch(() => {
@@ -4706,7 +4791,6 @@ function requireInstance () {
4706
4791
  */
4707
4792
  constructor(wire, identity) {
4708
4793
  super(wire, identity, 'window');
4709
- this.identity = identity;
4710
4794
  }
4711
4795
  /**
4712
4796
  * Adds a listener to the end of the listeners array for the specified event.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfin/core",
3
- "version": "34.78.13",
3
+ "version": "34.78.14",
4
4
  "description": "The core renderer entry point of OpenFin",
5
5
  "license": "SEE LICENSE IN LICENSE.MD",
6
6
  "main": "out/mock.js",