@openfin/core 42.100.72 → 42.100.75

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.
@@ -1932,7 +1932,22 @@ declare type BoundsDidChangeEvent = BoundsChangeEvent & {
1932
1932
  reason: 'self' | 'animation';
1933
1933
  };
1934
1934
 
1935
- declare type BoundsEvent = BaseEvent_5 & OpenFin_2.Bounds;
1935
+ declare type BoundsEvent = BaseEvent_5 & OpenFin_2.WindowBounds;
1936
+
1937
+ declare type BoundsType =
1938
+ /**
1939
+ * Bounds specify the size and location of the entire window, including OS border styling.
1940
+ */
1941
+ 'window'
1942
+ /**
1943
+ * Bounds specify the size and location of the window's DOM content, excluding OS border styling.
1944
+ */
1945
+ | 'content'
1946
+ /**
1947
+ * Origin parameters (top, left) specify the location of the window origin, including OS border styling.
1948
+ * Size parameters bounds (width, height) specify the size of the window's DOM content, excluding OS border styling.
1949
+ */
1950
+ | 'window-origin-content-size';
1936
1951
 
1937
1952
  /**
1938
1953
  * Opens matched URLs in the browser.
@@ -9820,6 +9835,7 @@ declare namespace OpenFin_2 {
9820
9835
  Me,
9821
9836
  CapturePageOptions,
9822
9837
  ProcessLoggingOptions,
9838
+ BoundsType,
9823
9839
  PositioningOptions,
9824
9840
  ChannelClientConnectionListener,
9825
9841
  ChannelClientDisconnectionListener,
@@ -11722,6 +11738,7 @@ declare type PositioningOptions = {
11722
11738
  * This will have the effect of the maximized window staying maximized and not immediately taking this new position.
11723
11739
  */
11724
11740
  skipRestore?: boolean;
11741
+ boundsType?: BoundsType;
11725
11742
  };
11726
11743
 
11727
11744
  /**
@@ -18779,6 +18796,10 @@ declare type WindowAlertRequestedEvent = BaseEvent_3 & {
18779
18796
  declare type WindowBounds = Bounds & {
18780
18797
  bottom: number;
18781
18798
  right: number;
18799
+ /**
18800
+ * The bounds for the window's web content, excluding any OS border
18801
+ */
18802
+ content: Bounds;
18782
18803
  };
18783
18804
 
18784
18805
  /**
@@ -1932,7 +1932,22 @@ declare type BoundsDidChangeEvent = BoundsChangeEvent & {
1932
1932
  reason: 'self' | 'animation';
1933
1933
  };
1934
1934
 
1935
- declare type BoundsEvent = BaseEvent_5 & OpenFin_2.Bounds;
1935
+ declare type BoundsEvent = BaseEvent_5 & OpenFin_2.WindowBounds;
1936
+
1937
+ declare type BoundsType =
1938
+ /**
1939
+ * Bounds specify the size and location of the entire window, including OS border styling.
1940
+ */
1941
+ 'window'
1942
+ /**
1943
+ * Bounds specify the size and location of the window's DOM content, excluding OS border styling.
1944
+ */
1945
+ | 'content'
1946
+ /**
1947
+ * Origin parameters (top, left) specify the location of the window origin, including OS border styling.
1948
+ * Size parameters bounds (width, height) specify the size of the window's DOM content, excluding OS border styling.
1949
+ */
1950
+ | 'window-origin-content-size';
1936
1951
 
1937
1952
  /**
1938
1953
  * Opens matched URLs in the browser.
@@ -9820,6 +9835,7 @@ declare namespace OpenFin_2 {
9820
9835
  Me,
9821
9836
  CapturePageOptions,
9822
9837
  ProcessLoggingOptions,
9838
+ BoundsType,
9823
9839
  PositioningOptions,
9824
9840
  ChannelClientConnectionListener,
9825
9841
  ChannelClientDisconnectionListener,
@@ -11722,6 +11738,7 @@ declare type PositioningOptions = {
11722
11738
  * This will have the effect of the maximized window staying maximized and not immediately taking this new position.
11723
11739
  */
11724
11740
  skipRestore?: boolean;
11741
+ boundsType?: BoundsType;
11725
11742
  };
11726
11743
 
11727
11744
  /**
@@ -18779,6 +18796,10 @@ declare type WindowAlertRequestedEvent = BaseEvent_3 & {
18779
18796
  declare type WindowBounds = Bounds & {
18780
18797
  bottom: number;
18781
18798
  right: number;
18799
+ /**
18800
+ * The bounds for the window's web content, excluding any OS border
18801
+ */
18802
+ content: Bounds;
18782
18803
  };
18783
18804
 
18784
18805
  /**
@@ -1932,7 +1932,22 @@ declare type BoundsDidChangeEvent = BoundsChangeEvent & {
1932
1932
  reason: 'self' | 'animation';
1933
1933
  };
1934
1934
 
1935
- declare type BoundsEvent = BaseEvent_5 & OpenFin_2.Bounds;
1935
+ declare type BoundsEvent = BaseEvent_5 & OpenFin_2.WindowBounds;
1936
+
1937
+ declare type BoundsType =
1938
+ /**
1939
+ * Bounds specify the size and location of the entire window, including OS border styling.
1940
+ */
1941
+ 'window'
1942
+ /**
1943
+ * Bounds specify the size and location of the window's DOM content, excluding OS border styling.
1944
+ */
1945
+ | 'content'
1946
+ /**
1947
+ * Origin parameters (top, left) specify the location of the window origin, including OS border styling.
1948
+ * Size parameters bounds (width, height) specify the size of the window's DOM content, excluding OS border styling.
1949
+ */
1950
+ | 'window-origin-content-size';
1936
1951
 
1937
1952
  /**
1938
1953
  * Opens matched URLs in the browser.
@@ -9820,6 +9835,7 @@ declare namespace OpenFin_2 {
9820
9835
  Me,
9821
9836
  CapturePageOptions,
9822
9837
  ProcessLoggingOptions,
9838
+ BoundsType,
9823
9839
  PositioningOptions,
9824
9840
  ChannelClientConnectionListener,
9825
9841
  ChannelClientDisconnectionListener,
@@ -11722,6 +11738,7 @@ declare type PositioningOptions = {
11722
11738
  * This will have the effect of the maximized window staying maximized and not immediately taking this new position.
11723
11739
  */
11724
11740
  skipRestore?: boolean;
11741
+ boundsType?: BoundsType;
11725
11742
  };
11726
11743
 
11727
11744
  /**
@@ -18779,6 +18796,10 @@ declare type WindowAlertRequestedEvent = BaseEvent_3 & {
18779
18796
  declare type WindowBounds = Bounds & {
18780
18797
  bottom: number;
18781
18798
  right: number;
18799
+ /**
18800
+ * The bounds for the window's web content, excluding any OS border
18801
+ */
18802
+ content: Bounds;
18782
18803
  };
18783
18804
 
18784
18805
  /**
package/out/stub.d.ts CHANGED
@@ -1964,7 +1964,22 @@ declare type BoundsDidChangeEvent = BoundsChangeEvent & {
1964
1964
  reason: 'self' | 'animation';
1965
1965
  };
1966
1966
 
1967
- declare type BoundsEvent = BaseEvent_5 & OpenFin_2.Bounds;
1967
+ declare type BoundsEvent = BaseEvent_5 & OpenFin_2.WindowBounds;
1968
+
1969
+ declare type BoundsType =
1970
+ /**
1971
+ * Bounds specify the size and location of the entire window, including OS border styling.
1972
+ */
1973
+ 'window'
1974
+ /**
1975
+ * Bounds specify the size and location of the window's DOM content, excluding OS border styling.
1976
+ */
1977
+ | 'content'
1978
+ /**
1979
+ * Origin parameters (top, left) specify the location of the window origin, including OS border styling.
1980
+ * Size parameters bounds (width, height) specify the size of the window's DOM content, excluding OS border styling.
1981
+ */
1982
+ | 'window-origin-content-size';
1968
1983
 
1969
1984
  /**
1970
1985
  * Opens matched URLs in the browser.
@@ -10138,6 +10153,7 @@ declare namespace OpenFin_2 {
10138
10153
  Me,
10139
10154
  CapturePageOptions,
10140
10155
  ProcessLoggingOptions,
10156
+ BoundsType,
10141
10157
  PositioningOptions,
10142
10158
  ChannelClientConnectionListener,
10143
10159
  ChannelClientDisconnectionListener,
@@ -12123,6 +12139,7 @@ declare type PositioningOptions = {
12123
12139
  * This will have the effect of the maximized window staying maximized and not immediately taking this new position.
12124
12140
  */
12125
12141
  skipRestore?: boolean;
12142
+ boundsType?: BoundsType;
12126
12143
  };
12127
12144
 
12128
12145
  /**
@@ -19233,6 +19250,10 @@ declare type WindowAlertRequestedEvent = BaseEvent_3 & {
19233
19250
  declare type WindowBounds = Bounds & {
19234
19251
  bottom: number;
19235
19252
  right: number;
19253
+ /**
19254
+ * The bounds for the window's web content, excluding any OS border
19255
+ */
19256
+ content: Bounds;
19236
19257
  };
19237
19258
 
19238
19259
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfin/core",
3
- "version": "42.100.72",
3
+ "version": "42.100.75",
4
4
  "description": "The core renderer entry point of OpenFin",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "main": "out/stub.js",