@openfin/core 34.78.23 → 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 +12 -1
- package/out/mock-beta.d.ts +12 -1
- package/out/mock-public.d.ts +12 -1
- package/out/mock.d.ts +12 -1
- package/out/mock.js +9 -0
- package/package.json +1 -1
package/out/mock-alpha.d.ts
CHANGED
|
@@ -8299,6 +8299,7 @@ declare class LayoutManager {
|
|
|
8299
8299
|
private showViewsOnTabDrag?;
|
|
8300
8300
|
private dropzonePreview?;
|
|
8301
8301
|
private lastItemDestroyed?;
|
|
8302
|
+
private viewsSubscribedTo;
|
|
8302
8303
|
constructor(splitterController: SplitterController, tabDragController: TabDragController, layoutContentCache: LayoutContentCache);
|
|
8303
8304
|
/* Excluded from this release type: getClient */
|
|
8304
8305
|
initManager: () => Promise<void>;
|
|
@@ -8313,7 +8314,7 @@ declare class LayoutManager {
|
|
|
8313
8314
|
private setupWindowListeners;
|
|
8314
8315
|
private setupResizeObservers;
|
|
8315
8316
|
/**
|
|
8316
|
-
* Shows/hides a view depending on use case
|
|
8317
|
+
* Shows/hides a view depending on use case (used by browser)
|
|
8317
8318
|
* @ignore
|
|
8318
8319
|
*/
|
|
8319
8320
|
private updateViewVisibility;
|
|
@@ -11625,6 +11626,9 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
11625
11626
|
'get-view-options': IdentityCall<{}, OpenFin_2.ViewOptions>;
|
|
11626
11627
|
'hide-view': IdentityCall;
|
|
11627
11628
|
'show-view': IdentityCall;
|
|
11629
|
+
'show-view-at': IdentityCall<{
|
|
11630
|
+
bounds: OpenFin_2.Bounds;
|
|
11631
|
+
}>;
|
|
11628
11632
|
'update-view-options': IdentityCall<{
|
|
11629
11633
|
options: OpenFin_2.UpdatableViewOptions;
|
|
11630
11634
|
}>;
|
|
@@ -15147,6 +15151,13 @@ declare class View_2 extends WebContents<OpenFin_2.ViewEvent> {
|
|
|
15147
15151
|
* @experimental
|
|
15148
15152
|
*/
|
|
15149
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>;
|
|
15150
15161
|
/**
|
|
15151
15162
|
* Hides the current view if it is currently visible.
|
|
15152
15163
|
*
|
package/out/mock-beta.d.ts
CHANGED
|
@@ -8299,6 +8299,7 @@ declare class LayoutManager {
|
|
|
8299
8299
|
private showViewsOnTabDrag?;
|
|
8300
8300
|
private dropzonePreview?;
|
|
8301
8301
|
private lastItemDestroyed?;
|
|
8302
|
+
private viewsSubscribedTo;
|
|
8302
8303
|
constructor(splitterController: SplitterController, tabDragController: TabDragController, layoutContentCache: LayoutContentCache);
|
|
8303
8304
|
/* Excluded from this release type: getClient */
|
|
8304
8305
|
initManager: () => Promise<void>;
|
|
@@ -8313,7 +8314,7 @@ declare class LayoutManager {
|
|
|
8313
8314
|
private setupWindowListeners;
|
|
8314
8315
|
private setupResizeObservers;
|
|
8315
8316
|
/**
|
|
8316
|
-
* Shows/hides a view depending on use case
|
|
8317
|
+
* Shows/hides a view depending on use case (used by browser)
|
|
8317
8318
|
* @ignore
|
|
8318
8319
|
*/
|
|
8319
8320
|
private updateViewVisibility;
|
|
@@ -11625,6 +11626,9 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
11625
11626
|
'get-view-options': IdentityCall<{}, OpenFin_2.ViewOptions>;
|
|
11626
11627
|
'hide-view': IdentityCall;
|
|
11627
11628
|
'show-view': IdentityCall;
|
|
11629
|
+
'show-view-at': IdentityCall<{
|
|
11630
|
+
bounds: OpenFin_2.Bounds;
|
|
11631
|
+
}>;
|
|
11628
11632
|
'update-view-options': IdentityCall<{
|
|
11629
11633
|
options: OpenFin_2.UpdatableViewOptions;
|
|
11630
11634
|
}>;
|
|
@@ -15147,6 +15151,13 @@ declare class View_2 extends WebContents<OpenFin_2.ViewEvent> {
|
|
|
15147
15151
|
* @experimental
|
|
15148
15152
|
*/
|
|
15149
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>;
|
|
15150
15161
|
/**
|
|
15151
15162
|
* Hides the current view if it is currently visible.
|
|
15152
15163
|
*
|
package/out/mock-public.d.ts
CHANGED
|
@@ -8299,6 +8299,7 @@ declare class LayoutManager {
|
|
|
8299
8299
|
private showViewsOnTabDrag?;
|
|
8300
8300
|
private dropzonePreview?;
|
|
8301
8301
|
private lastItemDestroyed?;
|
|
8302
|
+
private viewsSubscribedTo;
|
|
8302
8303
|
constructor(splitterController: SplitterController, tabDragController: TabDragController, layoutContentCache: LayoutContentCache);
|
|
8303
8304
|
/* Excluded from this release type: getClient */
|
|
8304
8305
|
initManager: () => Promise<void>;
|
|
@@ -8313,7 +8314,7 @@ declare class LayoutManager {
|
|
|
8313
8314
|
private setupWindowListeners;
|
|
8314
8315
|
private setupResizeObservers;
|
|
8315
8316
|
/**
|
|
8316
|
-
* Shows/hides a view depending on use case
|
|
8317
|
+
* Shows/hides a view depending on use case (used by browser)
|
|
8317
8318
|
* @ignore
|
|
8318
8319
|
*/
|
|
8319
8320
|
private updateViewVisibility;
|
|
@@ -11625,6 +11626,9 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
11625
11626
|
'get-view-options': IdentityCall<{}, OpenFin_2.ViewOptions>;
|
|
11626
11627
|
'hide-view': IdentityCall;
|
|
11627
11628
|
'show-view': IdentityCall;
|
|
11629
|
+
'show-view-at': IdentityCall<{
|
|
11630
|
+
bounds: OpenFin_2.Bounds;
|
|
11631
|
+
}>;
|
|
11628
11632
|
'update-view-options': IdentityCall<{
|
|
11629
11633
|
options: OpenFin_2.UpdatableViewOptions;
|
|
11630
11634
|
}>;
|
|
@@ -15147,6 +15151,13 @@ declare class View_2 extends WebContents<OpenFin_2.ViewEvent> {
|
|
|
15147
15151
|
* @experimental
|
|
15148
15152
|
*/
|
|
15149
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>;
|
|
15150
15161
|
/**
|
|
15151
15162
|
* Hides the current view if it is currently visible.
|
|
15152
15163
|
*
|
package/out/mock.d.ts
CHANGED
|
@@ -8564,6 +8564,7 @@ declare class LayoutManager {
|
|
|
8564
8564
|
private showViewsOnTabDrag?;
|
|
8565
8565
|
private dropzonePreview?;
|
|
8566
8566
|
private lastItemDestroyed?;
|
|
8567
|
+
private viewsSubscribedTo;
|
|
8567
8568
|
constructor(splitterController: SplitterController, tabDragController: TabDragController, layoutContentCache: LayoutContentCache);
|
|
8568
8569
|
/**
|
|
8569
8570
|
* @internal
|
|
@@ -8582,7 +8583,7 @@ declare class LayoutManager {
|
|
|
8582
8583
|
private setupWindowListeners;
|
|
8583
8584
|
private setupResizeObservers;
|
|
8584
8585
|
/**
|
|
8585
|
-
* Shows/hides a view depending on use case
|
|
8586
|
+
* Shows/hides a view depending on use case (used by browser)
|
|
8586
8587
|
* @ignore
|
|
8587
8588
|
*/
|
|
8588
8589
|
private updateViewVisibility;
|
|
@@ -12131,6 +12132,9 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
12131
12132
|
'get-view-options': IdentityCall<{}, OpenFin_2.ViewOptions>;
|
|
12132
12133
|
'hide-view': IdentityCall;
|
|
12133
12134
|
'show-view': IdentityCall;
|
|
12135
|
+
'show-view-at': IdentityCall<{
|
|
12136
|
+
bounds: OpenFin_2.Bounds;
|
|
12137
|
+
}>;
|
|
12134
12138
|
'update-view-options': IdentityCall<{
|
|
12135
12139
|
options: OpenFin_2.UpdatableViewOptions;
|
|
12136
12140
|
}>;
|
|
@@ -15719,6 +15723,13 @@ declare class View_2 extends WebContents<OpenFin_2.ViewEvent> {
|
|
|
15719
15723
|
* @experimental
|
|
15720
15724
|
*/
|
|
15721
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>;
|
|
15722
15733
|
/**
|
|
15723
15734
|
* Hides the current view if it is currently visible.
|
|
15724
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
|
*
|