@openfin/core 41.100.122 → 41.101.1

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.
@@ -9821,6 +9836,7 @@ declare namespace OpenFin_2 {
9821
9836
  Me,
9822
9837
  CapturePageOptions,
9823
9838
  ProcessLoggingOptions,
9839
+ BoundsType,
9824
9840
  PositioningOptions,
9825
9841
  ChannelClientConnectionListener,
9826
9842
  ChannelClientDisconnectionListener,
@@ -11723,6 +11739,7 @@ declare type PositioningOptions = {
11723
11739
  * This will have the effect of the maximized window staying maximized and not immediately taking this new position.
11724
11740
  */
11725
11741
  skipRestore?: boolean;
11742
+ boundsType?: BoundsType;
11726
11743
  };
11727
11744
 
11728
11745
  /**
@@ -18812,6 +18829,10 @@ declare type WindowAlertRequestedEvent = BaseEvent_3 & {
18812
18829
  declare type WindowBounds = Bounds & {
18813
18830
  bottom: number;
18814
18831
  right: number;
18832
+ /**
18833
+ * The bounds for the window's web content, excluding any OS border
18834
+ */
18835
+ content: Bounds;
18815
18836
  };
18816
18837
 
18817
18838
  /**
@@ -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.
@@ -9821,6 +9836,7 @@ declare namespace OpenFin_2 {
9821
9836
  Me,
9822
9837
  CapturePageOptions,
9823
9838
  ProcessLoggingOptions,
9839
+ BoundsType,
9824
9840
  PositioningOptions,
9825
9841
  ChannelClientConnectionListener,
9826
9842
  ChannelClientDisconnectionListener,
@@ -11723,6 +11739,7 @@ declare type PositioningOptions = {
11723
11739
  * This will have the effect of the maximized window staying maximized and not immediately taking this new position.
11724
11740
  */
11725
11741
  skipRestore?: boolean;
11742
+ boundsType?: BoundsType;
11726
11743
  };
11727
11744
 
11728
11745
  /**
@@ -18812,6 +18829,10 @@ declare type WindowAlertRequestedEvent = BaseEvent_3 & {
18812
18829
  declare type WindowBounds = Bounds & {
18813
18830
  bottom: number;
18814
18831
  right: number;
18832
+ /**
18833
+ * The bounds for the window's web content, excluding any OS border
18834
+ */
18835
+ content: Bounds;
18815
18836
  };
18816
18837
 
18817
18838
  /**
@@ -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.
@@ -9821,6 +9836,7 @@ declare namespace OpenFin_2 {
9821
9836
  Me,
9822
9837
  CapturePageOptions,
9823
9838
  ProcessLoggingOptions,
9839
+ BoundsType,
9824
9840
  PositioningOptions,
9825
9841
  ChannelClientConnectionListener,
9826
9842
  ChannelClientDisconnectionListener,
@@ -11723,6 +11739,7 @@ declare type PositioningOptions = {
11723
11739
  * This will have the effect of the maximized window staying maximized and not immediately taking this new position.
11724
11740
  */
11725
11741
  skipRestore?: boolean;
11742
+ boundsType?: BoundsType;
11726
11743
  };
11727
11744
 
11728
11745
  /**
@@ -18812,6 +18829,10 @@ declare type WindowAlertRequestedEvent = BaseEvent_3 & {
18812
18829
  declare type WindowBounds = Bounds & {
18813
18830
  bottom: number;
18814
18831
  right: number;
18832
+ /**
18833
+ * The bounds for the window's web content, excluding any OS border
18834
+ */
18835
+ content: Bounds;
18815
18836
  };
18816
18837
 
18817
18838
  /**
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.
@@ -10139,6 +10154,7 @@ declare namespace OpenFin_2 {
10139
10154
  Me,
10140
10155
  CapturePageOptions,
10141
10156
  ProcessLoggingOptions,
10157
+ BoundsType,
10142
10158
  PositioningOptions,
10143
10159
  ChannelClientConnectionListener,
10144
10160
  ChannelClientDisconnectionListener,
@@ -12124,6 +12140,7 @@ declare type PositioningOptions = {
12124
12140
  * This will have the effect of the maximized window staying maximized and not immediately taking this new position.
12125
12141
  */
12126
12142
  skipRestore?: boolean;
12143
+ boundsType?: BoundsType;
12127
12144
  };
12128
12145
 
12129
12146
  /**
@@ -19266,6 +19283,10 @@ declare type WindowAlertRequestedEvent = BaseEvent_3 & {
19266
19283
  declare type WindowBounds = Bounds & {
19267
19284
  bottom: number;
19268
19285
  right: number;
19286
+ /**
19287
+ * The bounds for the window's web content, excluding any OS border
19288
+ */
19289
+ content: Bounds;
19269
19290
  };
19270
19291
 
19271
19292
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfin/core",
3
- "version": "41.100.122",
3
+ "version": "41.101.1",
4
4
  "description": "The core renderer entry point of OpenFin",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "main": "out/stub.js",