@openfin/core 40.104.8 → 40.105.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.
@@ -1928,7 +1928,22 @@ declare type BoundsDidChangeEvent = BoundsChangeEvent & {
1928
1928
  reason: 'self' | 'animation';
1929
1929
  };
1930
1930
 
1931
- declare type BoundsEvent = BaseEvent_5 & OpenFin_2.Bounds;
1931
+ declare type BoundsEvent = BaseEvent_5 & OpenFin_2.WindowBounds;
1932
+
1933
+ declare type BoundsType =
1934
+ /**
1935
+ * Bounds specify the size and location of the entire window, including OS border styling.
1936
+ */
1937
+ 'window'
1938
+ /**
1939
+ * Bounds specify the size and location of the window's DOM content, excluding OS border styling.
1940
+ */
1941
+ | 'content'
1942
+ /**
1943
+ * Origin parameters (top, left) specify the location of the window origin, including OS border styling.
1944
+ * Size parameters bounds (width, height) specify the size of the window's DOM content, excluding OS border styling.
1945
+ */
1946
+ | 'window-origin-content-size';
1932
1947
 
1933
1948
  /**
1934
1949
  * Opens matched URLs in the browser.
@@ -9755,6 +9770,7 @@ declare namespace OpenFin_2 {
9755
9770
  Me,
9756
9771
  CapturePageOptions,
9757
9772
  ProcessLoggingOptions,
9773
+ BoundsType,
9758
9774
  PositioningOptions,
9759
9775
  ChannelClientConnectionListener,
9760
9776
  ChannelClientDisconnectionListener,
@@ -11652,6 +11668,7 @@ declare type PositioningOptions = {
11652
11668
  * This will have the effect of the maximized window staying maximized and not immediately taking this new position.
11653
11669
  */
11654
11670
  skipRestore?: boolean;
11671
+ boundsType?: BoundsType;
11655
11672
  };
11656
11673
 
11657
11674
  /**
@@ -18687,6 +18704,10 @@ declare type WindowAlertRequestedEvent = BaseEvent_3 & {
18687
18704
  declare type WindowBounds = Bounds & {
18688
18705
  bottom: number;
18689
18706
  right: number;
18707
+ /**
18708
+ * The bounds for the window's web content, excluding any OS border
18709
+ */
18710
+ content: Bounds;
18690
18711
  };
18691
18712
 
18692
18713
  /**
@@ -1928,7 +1928,22 @@ declare type BoundsDidChangeEvent = BoundsChangeEvent & {
1928
1928
  reason: 'self' | 'animation';
1929
1929
  };
1930
1930
 
1931
- declare type BoundsEvent = BaseEvent_5 & OpenFin_2.Bounds;
1931
+ declare type BoundsEvent = BaseEvent_5 & OpenFin_2.WindowBounds;
1932
+
1933
+ declare type BoundsType =
1934
+ /**
1935
+ * Bounds specify the size and location of the entire window, including OS border styling.
1936
+ */
1937
+ 'window'
1938
+ /**
1939
+ * Bounds specify the size and location of the window's DOM content, excluding OS border styling.
1940
+ */
1941
+ | 'content'
1942
+ /**
1943
+ * Origin parameters (top, left) specify the location of the window origin, including OS border styling.
1944
+ * Size parameters bounds (width, height) specify the size of the window's DOM content, excluding OS border styling.
1945
+ */
1946
+ | 'window-origin-content-size';
1932
1947
 
1933
1948
  /**
1934
1949
  * Opens matched URLs in the browser.
@@ -9755,6 +9770,7 @@ declare namespace OpenFin_2 {
9755
9770
  Me,
9756
9771
  CapturePageOptions,
9757
9772
  ProcessLoggingOptions,
9773
+ BoundsType,
9758
9774
  PositioningOptions,
9759
9775
  ChannelClientConnectionListener,
9760
9776
  ChannelClientDisconnectionListener,
@@ -11652,6 +11668,7 @@ declare type PositioningOptions = {
11652
11668
  * This will have the effect of the maximized window staying maximized and not immediately taking this new position.
11653
11669
  */
11654
11670
  skipRestore?: boolean;
11671
+ boundsType?: BoundsType;
11655
11672
  };
11656
11673
 
11657
11674
  /**
@@ -18687,6 +18704,10 @@ declare type WindowAlertRequestedEvent = BaseEvent_3 & {
18687
18704
  declare type WindowBounds = Bounds & {
18688
18705
  bottom: number;
18689
18706
  right: number;
18707
+ /**
18708
+ * The bounds for the window's web content, excluding any OS border
18709
+ */
18710
+ content: Bounds;
18690
18711
  };
18691
18712
 
18692
18713
  /**
@@ -1928,7 +1928,22 @@ declare type BoundsDidChangeEvent = BoundsChangeEvent & {
1928
1928
  reason: 'self' | 'animation';
1929
1929
  };
1930
1930
 
1931
- declare type BoundsEvent = BaseEvent_5 & OpenFin_2.Bounds;
1931
+ declare type BoundsEvent = BaseEvent_5 & OpenFin_2.WindowBounds;
1932
+
1933
+ declare type BoundsType =
1934
+ /**
1935
+ * Bounds specify the size and location of the entire window, including OS border styling.
1936
+ */
1937
+ 'window'
1938
+ /**
1939
+ * Bounds specify the size and location of the window's DOM content, excluding OS border styling.
1940
+ */
1941
+ | 'content'
1942
+ /**
1943
+ * Origin parameters (top, left) specify the location of the window origin, including OS border styling.
1944
+ * Size parameters bounds (width, height) specify the size of the window's DOM content, excluding OS border styling.
1945
+ */
1946
+ | 'window-origin-content-size';
1932
1947
 
1933
1948
  /**
1934
1949
  * Opens matched URLs in the browser.
@@ -9755,6 +9770,7 @@ declare namespace OpenFin_2 {
9755
9770
  Me,
9756
9771
  CapturePageOptions,
9757
9772
  ProcessLoggingOptions,
9773
+ BoundsType,
9758
9774
  PositioningOptions,
9759
9775
  ChannelClientConnectionListener,
9760
9776
  ChannelClientDisconnectionListener,
@@ -11652,6 +11668,7 @@ declare type PositioningOptions = {
11652
11668
  * This will have the effect of the maximized window staying maximized and not immediately taking this new position.
11653
11669
  */
11654
11670
  skipRestore?: boolean;
11671
+ boundsType?: BoundsType;
11655
11672
  };
11656
11673
 
11657
11674
  /**
@@ -18687,6 +18704,10 @@ declare type WindowAlertRequestedEvent = BaseEvent_3 & {
18687
18704
  declare type WindowBounds = Bounds & {
18688
18705
  bottom: number;
18689
18706
  right: number;
18707
+ /**
18708
+ * The bounds for the window's web content, excluding any OS border
18709
+ */
18710
+ content: Bounds;
18690
18711
  };
18691
18712
 
18692
18713
  /**
package/out/stub.d.ts CHANGED
@@ -1960,7 +1960,22 @@ declare type BoundsDidChangeEvent = BoundsChangeEvent & {
1960
1960
  reason: 'self' | 'animation';
1961
1961
  };
1962
1962
 
1963
- declare type BoundsEvent = BaseEvent_5 & OpenFin_2.Bounds;
1963
+ declare type BoundsEvent = BaseEvent_5 & OpenFin_2.WindowBounds;
1964
+
1965
+ declare type BoundsType =
1966
+ /**
1967
+ * Bounds specify the size and location of the entire window, including OS border styling.
1968
+ */
1969
+ 'window'
1970
+ /**
1971
+ * Bounds specify the size and location of the window's DOM content, excluding OS border styling.
1972
+ */
1973
+ | 'content'
1974
+ /**
1975
+ * Origin parameters (top, left) specify the location of the window origin, including OS border styling.
1976
+ * Size parameters bounds (width, height) specify the size of the window's DOM content, excluding OS border styling.
1977
+ */
1978
+ | 'window-origin-content-size';
1964
1979
 
1965
1980
  /**
1966
1981
  * Opens matched URLs in the browser.
@@ -10073,6 +10088,7 @@ declare namespace OpenFin_2 {
10073
10088
  Me,
10074
10089
  CapturePageOptions,
10075
10090
  ProcessLoggingOptions,
10091
+ BoundsType,
10076
10092
  PositioningOptions,
10077
10093
  ChannelClientConnectionListener,
10078
10094
  ChannelClientDisconnectionListener,
@@ -12053,6 +12069,7 @@ declare type PositioningOptions = {
12053
12069
  * This will have the effect of the maximized window staying maximized and not immediately taking this new position.
12054
12070
  */
12055
12071
  skipRestore?: boolean;
12072
+ boundsType?: BoundsType;
12056
12073
  };
12057
12074
 
12058
12075
  /**
@@ -19141,6 +19158,10 @@ declare type WindowAlertRequestedEvent = BaseEvent_3 & {
19141
19158
  declare type WindowBounds = Bounds & {
19142
19159
  bottom: number;
19143
19160
  right: number;
19161
+ /**
19162
+ * The bounds for the window's web content, excluding any OS border
19163
+ */
19164
+ content: Bounds;
19144
19165
  };
19145
19166
 
19146
19167
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfin/core",
3
- "version": "40.104.8",
3
+ "version": "40.105.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",