@openfin/core 34.78.25 → 34.78.26
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-alpha.d.ts +11 -1
- package/out/mock-beta.d.ts +11 -1
- package/out/mock-public.d.ts +11 -1
- package/out/mock.d.ts +11 -1
- package/out/mock.js +9 -0
- package/package.json +1 -1
package/out/mock-alpha.d.ts
CHANGED
|
@@ -8314,7 +8314,7 @@ declare class LayoutManager {
|
|
|
8314
8314
|
private setupWindowListeners;
|
|
8315
8315
|
private setupResizeObservers;
|
|
8316
8316
|
/**
|
|
8317
|
-
* Shows/hides a view depending on use case
|
|
8317
|
+
* Shows/hides a view depending on use case (used by browser)
|
|
8318
8318
|
* @ignore
|
|
8319
8319
|
*/
|
|
8320
8320
|
private updateViewVisibility;
|
|
@@ -11626,6 +11626,9 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
11626
11626
|
'get-view-options': IdentityCall<{}, OpenFin_2.ViewOptions>;
|
|
11627
11627
|
'hide-view': IdentityCall;
|
|
11628
11628
|
'show-view': IdentityCall;
|
|
11629
|
+
'show-view-at': IdentityCall<{
|
|
11630
|
+
bounds: OpenFin_2.Bounds;
|
|
11631
|
+
}>;
|
|
11629
11632
|
'update-view-options': IdentityCall<{
|
|
11630
11633
|
options: OpenFin_2.UpdatableViewOptions;
|
|
11631
11634
|
}>;
|
|
@@ -15148,6 +15151,13 @@ declare class View_2 extends WebContents<OpenFin_2.ViewEvent> {
|
|
|
15148
15151
|
* @experimental
|
|
15149
15152
|
*/
|
|
15150
15153
|
show: () => Promise<void>;
|
|
15154
|
+
/**
|
|
15155
|
+
* Shows the views at the given bounds.
|
|
15156
|
+
* If the view is hidden, showAt behaves like calling both setBounds and show.
|
|
15157
|
+
* If the view is visible, showAt behaves like calling setBounds.
|
|
15158
|
+
* @experimental
|
|
15159
|
+
*/
|
|
15160
|
+
showAt: (bounds: OpenFin_2.Bounds) => Promise<void>;
|
|
15151
15161
|
/**
|
|
15152
15162
|
* Hides the current view if it is currently visible.
|
|
15153
15163
|
*
|
package/out/mock-beta.d.ts
CHANGED
|
@@ -8314,7 +8314,7 @@ declare class LayoutManager {
|
|
|
8314
8314
|
private setupWindowListeners;
|
|
8315
8315
|
private setupResizeObservers;
|
|
8316
8316
|
/**
|
|
8317
|
-
* Shows/hides a view depending on use case
|
|
8317
|
+
* Shows/hides a view depending on use case (used by browser)
|
|
8318
8318
|
* @ignore
|
|
8319
8319
|
*/
|
|
8320
8320
|
private updateViewVisibility;
|
|
@@ -11626,6 +11626,9 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
11626
11626
|
'get-view-options': IdentityCall<{}, OpenFin_2.ViewOptions>;
|
|
11627
11627
|
'hide-view': IdentityCall;
|
|
11628
11628
|
'show-view': IdentityCall;
|
|
11629
|
+
'show-view-at': IdentityCall<{
|
|
11630
|
+
bounds: OpenFin_2.Bounds;
|
|
11631
|
+
}>;
|
|
11629
11632
|
'update-view-options': IdentityCall<{
|
|
11630
11633
|
options: OpenFin_2.UpdatableViewOptions;
|
|
11631
11634
|
}>;
|
|
@@ -15148,6 +15151,13 @@ declare class View_2 extends WebContents<OpenFin_2.ViewEvent> {
|
|
|
15148
15151
|
* @experimental
|
|
15149
15152
|
*/
|
|
15150
15153
|
show: () => Promise<void>;
|
|
15154
|
+
/**
|
|
15155
|
+
* Shows the views at the given bounds.
|
|
15156
|
+
* If the view is hidden, showAt behaves like calling both setBounds and show.
|
|
15157
|
+
* If the view is visible, showAt behaves like calling setBounds.
|
|
15158
|
+
* @experimental
|
|
15159
|
+
*/
|
|
15160
|
+
showAt: (bounds: OpenFin_2.Bounds) => Promise<void>;
|
|
15151
15161
|
/**
|
|
15152
15162
|
* Hides the current view if it is currently visible.
|
|
15153
15163
|
*
|
package/out/mock-public.d.ts
CHANGED
|
@@ -8314,7 +8314,7 @@ declare class LayoutManager {
|
|
|
8314
8314
|
private setupWindowListeners;
|
|
8315
8315
|
private setupResizeObservers;
|
|
8316
8316
|
/**
|
|
8317
|
-
* Shows/hides a view depending on use case
|
|
8317
|
+
* Shows/hides a view depending on use case (used by browser)
|
|
8318
8318
|
* @ignore
|
|
8319
8319
|
*/
|
|
8320
8320
|
private updateViewVisibility;
|
|
@@ -11626,6 +11626,9 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
11626
11626
|
'get-view-options': IdentityCall<{}, OpenFin_2.ViewOptions>;
|
|
11627
11627
|
'hide-view': IdentityCall;
|
|
11628
11628
|
'show-view': IdentityCall;
|
|
11629
|
+
'show-view-at': IdentityCall<{
|
|
11630
|
+
bounds: OpenFin_2.Bounds;
|
|
11631
|
+
}>;
|
|
11629
11632
|
'update-view-options': IdentityCall<{
|
|
11630
11633
|
options: OpenFin_2.UpdatableViewOptions;
|
|
11631
11634
|
}>;
|
|
@@ -15148,6 +15151,13 @@ declare class View_2 extends WebContents<OpenFin_2.ViewEvent> {
|
|
|
15148
15151
|
* @experimental
|
|
15149
15152
|
*/
|
|
15150
15153
|
show: () => Promise<void>;
|
|
15154
|
+
/**
|
|
15155
|
+
* Shows the views at the given bounds.
|
|
15156
|
+
* If the view is hidden, showAt behaves like calling both setBounds and show.
|
|
15157
|
+
* If the view is visible, showAt behaves like calling setBounds.
|
|
15158
|
+
* @experimental
|
|
15159
|
+
*/
|
|
15160
|
+
showAt: (bounds: OpenFin_2.Bounds) => Promise<void>;
|
|
15151
15161
|
/**
|
|
15152
15162
|
* Hides the current view if it is currently visible.
|
|
15153
15163
|
*
|
package/out/mock.d.ts
CHANGED
|
@@ -8583,7 +8583,7 @@ declare class LayoutManager {
|
|
|
8583
8583
|
private setupWindowListeners;
|
|
8584
8584
|
private setupResizeObservers;
|
|
8585
8585
|
/**
|
|
8586
|
-
* Shows/hides a view depending on use case
|
|
8586
|
+
* Shows/hides a view depending on use case (used by browser)
|
|
8587
8587
|
* @ignore
|
|
8588
8588
|
*/
|
|
8589
8589
|
private updateViewVisibility;
|
|
@@ -12132,6 +12132,9 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
12132
12132
|
'get-view-options': IdentityCall<{}, OpenFin_2.ViewOptions>;
|
|
12133
12133
|
'hide-view': IdentityCall;
|
|
12134
12134
|
'show-view': IdentityCall;
|
|
12135
|
+
'show-view-at': IdentityCall<{
|
|
12136
|
+
bounds: OpenFin_2.Bounds;
|
|
12137
|
+
}>;
|
|
12135
12138
|
'update-view-options': IdentityCall<{
|
|
12136
12139
|
options: OpenFin_2.UpdatableViewOptions;
|
|
12137
12140
|
}>;
|
|
@@ -15720,6 +15723,13 @@ declare class View_2 extends WebContents<OpenFin_2.ViewEvent> {
|
|
|
15720
15723
|
* @experimental
|
|
15721
15724
|
*/
|
|
15722
15725
|
show: () => Promise<void>;
|
|
15726
|
+
/**
|
|
15727
|
+
* Shows the views at the given bounds.
|
|
15728
|
+
* If the view is hidden, showAt behaves like calling both setBounds and show.
|
|
15729
|
+
* If the view is visible, showAt behaves like calling setBounds.
|
|
15730
|
+
* @experimental
|
|
15731
|
+
*/
|
|
15732
|
+
showAt: (bounds: OpenFin_2.Bounds) => Promise<void>;
|
|
15723
15733
|
/**
|
|
15724
15734
|
* Hides the current view if it is currently visible.
|
|
15725
15735
|
*
|
package/out/mock.js
CHANGED
|
@@ -2982,6 +2982,15 @@ function requireInstance$2 () {
|
|
|
2982
2982
|
this.show = async () => {
|
|
2983
2983
|
await this.wire.sendAction('show-view', { ...this.identity });
|
|
2984
2984
|
};
|
|
2985
|
+
/**
|
|
2986
|
+
* Shows the views at the given bounds.
|
|
2987
|
+
* If the view is hidden, showAt behaves like calling both setBounds and show.
|
|
2988
|
+
* If the view is visible, showAt behaves like calling setBounds.
|
|
2989
|
+
* @experimental
|
|
2990
|
+
*/
|
|
2991
|
+
this.showAt = async (bounds) => {
|
|
2992
|
+
await this.wire.sendAction('show-view-at', { bounds, ...this.identity });
|
|
2993
|
+
};
|
|
2985
2994
|
/**
|
|
2986
2995
|
* Hides the current view if it is currently visible.
|
|
2987
2996
|
*
|