@openfin/core 40.104.8 → 40.105.3

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.
@@ -4485,10 +4500,7 @@ declare type DomainApiSettings = {
4485
4500
  * @interface
4486
4501
  * Defines application settings that vary by the domain of the current context.
4487
4502
  *
4488
- * @remarks Only the first rule in the array that matches the current URL is applied. Multiple behaviors for the same
4489
- * domain should be represented with a single rule.
4490
- *
4491
- * Renderers opened on `about:blank` are considered to belong to the domain of their opener (or, in the case of iframes,
4503
+ * @remarks Renderers opened on `about:blank` are considered to belong to the domain of their opener (or, in the case of iframes,
4492
4504
  * their parent), effective recursively. Domain rules matched to `about:blank` will only apply in cases where no opener
4493
4505
  * exists.
4494
4506
  */
@@ -9755,6 +9767,7 @@ declare namespace OpenFin_2 {
9755
9767
  Me,
9756
9768
  CapturePageOptions,
9757
9769
  ProcessLoggingOptions,
9770
+ BoundsType,
9758
9771
  PositioningOptions,
9759
9772
  ChannelClientConnectionListener,
9760
9773
  ChannelClientDisconnectionListener,
@@ -11652,6 +11665,7 @@ declare type PositioningOptions = {
11652
11665
  * This will have the effect of the maximized window staying maximized and not immediately taking this new position.
11653
11666
  */
11654
11667
  skipRestore?: boolean;
11668
+ boundsType?: BoundsType;
11655
11669
  };
11656
11670
 
11657
11671
  /**
@@ -18687,6 +18701,10 @@ declare type WindowAlertRequestedEvent = BaseEvent_3 & {
18687
18701
  declare type WindowBounds = Bounds & {
18688
18702
  bottom: number;
18689
18703
  right: number;
18704
+ /**
18705
+ * The bounds for the window's web content, excluding any OS border
18706
+ */
18707
+ content: Bounds;
18690
18708
  };
18691
18709
 
18692
18710
  /**
@@ -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.
@@ -4485,10 +4500,7 @@ declare type DomainApiSettings = {
4485
4500
  * @interface
4486
4501
  * Defines application settings that vary by the domain of the current context.
4487
4502
  *
4488
- * @remarks Only the first rule in the array that matches the current URL is applied. Multiple behaviors for the same
4489
- * domain should be represented with a single rule.
4490
- *
4491
- * Renderers opened on `about:blank` are considered to belong to the domain of their opener (or, in the case of iframes,
4503
+ * @remarks Renderers opened on `about:blank` are considered to belong to the domain of their opener (or, in the case of iframes,
4492
4504
  * their parent), effective recursively. Domain rules matched to `about:blank` will only apply in cases where no opener
4493
4505
  * exists.
4494
4506
  */
@@ -9755,6 +9767,7 @@ declare namespace OpenFin_2 {
9755
9767
  Me,
9756
9768
  CapturePageOptions,
9757
9769
  ProcessLoggingOptions,
9770
+ BoundsType,
9758
9771
  PositioningOptions,
9759
9772
  ChannelClientConnectionListener,
9760
9773
  ChannelClientDisconnectionListener,
@@ -11652,6 +11665,7 @@ declare type PositioningOptions = {
11652
11665
  * This will have the effect of the maximized window staying maximized and not immediately taking this new position.
11653
11666
  */
11654
11667
  skipRestore?: boolean;
11668
+ boundsType?: BoundsType;
11655
11669
  };
11656
11670
 
11657
11671
  /**
@@ -18687,6 +18701,10 @@ declare type WindowAlertRequestedEvent = BaseEvent_3 & {
18687
18701
  declare type WindowBounds = Bounds & {
18688
18702
  bottom: number;
18689
18703
  right: number;
18704
+ /**
18705
+ * The bounds for the window's web content, excluding any OS border
18706
+ */
18707
+ content: Bounds;
18690
18708
  };
18691
18709
 
18692
18710
  /**
@@ -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.
@@ -4485,10 +4500,7 @@ declare type DomainApiSettings = {
4485
4500
  * @interface
4486
4501
  * Defines application settings that vary by the domain of the current context.
4487
4502
  *
4488
- * @remarks Only the first rule in the array that matches the current URL is applied. Multiple behaviors for the same
4489
- * domain should be represented with a single rule.
4490
- *
4491
- * Renderers opened on `about:blank` are considered to belong to the domain of their opener (or, in the case of iframes,
4503
+ * @remarks Renderers opened on `about:blank` are considered to belong to the domain of their opener (or, in the case of iframes,
4492
4504
  * their parent), effective recursively. Domain rules matched to `about:blank` will only apply in cases where no opener
4493
4505
  * exists.
4494
4506
  */
@@ -9755,6 +9767,7 @@ declare namespace OpenFin_2 {
9755
9767
  Me,
9756
9768
  CapturePageOptions,
9757
9769
  ProcessLoggingOptions,
9770
+ BoundsType,
9758
9771
  PositioningOptions,
9759
9772
  ChannelClientConnectionListener,
9760
9773
  ChannelClientDisconnectionListener,
@@ -11652,6 +11665,7 @@ declare type PositioningOptions = {
11652
11665
  * This will have the effect of the maximized window staying maximized and not immediately taking this new position.
11653
11666
  */
11654
11667
  skipRestore?: boolean;
11668
+ boundsType?: BoundsType;
11655
11669
  };
11656
11670
 
11657
11671
  /**
@@ -18687,6 +18701,10 @@ declare type WindowAlertRequestedEvent = BaseEvent_3 & {
18687
18701
  declare type WindowBounds = Bounds & {
18688
18702
  bottom: number;
18689
18703
  right: number;
18704
+ /**
18705
+ * The bounds for the window's web content, excluding any OS border
18706
+ */
18707
+ content: Bounds;
18690
18708
  };
18691
18709
 
18692
18710
  /**
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.
@@ -4544,10 +4559,7 @@ declare type DomainApiSettings = {
4544
4559
  * @interface
4545
4560
  * Defines application settings that vary by the domain of the current context.
4546
4561
  *
4547
- * @remarks Only the first rule in the array that matches the current URL is applied. Multiple behaviors for the same
4548
- * domain should be represented with a single rule.
4549
- *
4550
- * Renderers opened on `about:blank` are considered to belong to the domain of their opener (or, in the case of iframes,
4562
+ * @remarks Renderers opened on `about:blank` are considered to belong to the domain of their opener (or, in the case of iframes,
4551
4563
  * their parent), effective recursively. Domain rules matched to `about:blank` will only apply in cases where no opener
4552
4564
  * exists.
4553
4565
  */
@@ -10073,6 +10085,7 @@ declare namespace OpenFin_2 {
10073
10085
  Me,
10074
10086
  CapturePageOptions,
10075
10087
  ProcessLoggingOptions,
10088
+ BoundsType,
10076
10089
  PositioningOptions,
10077
10090
  ChannelClientConnectionListener,
10078
10091
  ChannelClientDisconnectionListener,
@@ -12053,6 +12066,7 @@ declare type PositioningOptions = {
12053
12066
  * This will have the effect of the maximized window staying maximized and not immediately taking this new position.
12054
12067
  */
12055
12068
  skipRestore?: boolean;
12069
+ boundsType?: BoundsType;
12056
12070
  };
12057
12071
 
12058
12072
  /**
@@ -19141,6 +19155,10 @@ declare type WindowAlertRequestedEvent = BaseEvent_3 & {
19141
19155
  declare type WindowBounds = Bounds & {
19142
19156
  bottom: number;
19143
19157
  right: number;
19158
+ /**
19159
+ * The bounds for the window's web content, excluding any OS border
19160
+ */
19161
+ content: Bounds;
19144
19162
  };
19145
19163
 
19146
19164
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfin/core",
3
- "version": "40.104.8",
3
+ "version": "40.105.3",
4
4
  "description": "The core renderer entry point of OpenFin",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "main": "out/stub.js",