@openfin/node-adapter 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.
@@ -8309,6 +8309,7 @@ declare class LayoutManager {
|
|
8309
8309
|
private showViewsOnTabDrag?;
|
8310
8310
|
private dropzonePreview?;
|
8311
8311
|
private lastItemDestroyed?;
|
8312
|
+
private viewsSubscribedTo;
|
8312
8313
|
constructor(splitterController: SplitterController, tabDragController: TabDragController, layoutContentCache: LayoutContentCache);
|
8313
8314
|
/* Excluded from this release type: getClient */
|
8314
8315
|
initManager: () => Promise<void>;
|
@@ -8323,7 +8324,7 @@ declare class LayoutManager {
|
|
8323
8324
|
private setupWindowListeners;
|
8324
8325
|
private setupResizeObservers;
|
8325
8326
|
/**
|
8326
|
-
* Shows/hides a view depending on use case
|
8327
|
+
* Shows/hides a view depending on use case (used by browser)
|
8327
8328
|
* @ignore
|
8328
8329
|
*/
|
8329
8330
|
private updateViewVisibility;
|
@@ -11635,6 +11636,9 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
11635
11636
|
'get-view-options': IdentityCall<{}, OpenFin.ViewOptions>;
|
11636
11637
|
'hide-view': IdentityCall;
|
11637
11638
|
'show-view': IdentityCall;
|
11639
|
+
'show-view-at': IdentityCall<{
|
11640
|
+
bounds: OpenFin.Bounds;
|
11641
|
+
}>;
|
11638
11642
|
'update-view-options': IdentityCall<{
|
11639
11643
|
options: OpenFin.UpdatableViewOptions;
|
11640
11644
|
}>;
|
@@ -15157,6 +15161,13 @@ declare class View_2 extends WebContents<OpenFin.ViewEvent> {
|
|
15157
15161
|
* @experimental
|
15158
15162
|
*/
|
15159
15163
|
show: () => Promise<void>;
|
15164
|
+
/**
|
15165
|
+
* Shows the views at the given bounds.
|
15166
|
+
* If the view is hidden, showAt behaves like calling both setBounds and show.
|
15167
|
+
* If the view is visible, showAt behaves like calling setBounds.
|
15168
|
+
* @experimental
|
15169
|
+
*/
|
15170
|
+
showAt: (bounds: OpenFin.Bounds) => Promise<void>;
|
15160
15171
|
/**
|
15161
15172
|
* Hides the current view if it is currently visible.
|
15162
15173
|
*
|
@@ -8309,6 +8309,7 @@ declare class LayoutManager {
|
|
8309
8309
|
private showViewsOnTabDrag?;
|
8310
8310
|
private dropzonePreview?;
|
8311
8311
|
private lastItemDestroyed?;
|
8312
|
+
private viewsSubscribedTo;
|
8312
8313
|
constructor(splitterController: SplitterController, tabDragController: TabDragController, layoutContentCache: LayoutContentCache);
|
8313
8314
|
/* Excluded from this release type: getClient */
|
8314
8315
|
initManager: () => Promise<void>;
|
@@ -8323,7 +8324,7 @@ declare class LayoutManager {
|
|
8323
8324
|
private setupWindowListeners;
|
8324
8325
|
private setupResizeObservers;
|
8325
8326
|
/**
|
8326
|
-
* Shows/hides a view depending on use case
|
8327
|
+
* Shows/hides a view depending on use case (used by browser)
|
8327
8328
|
* @ignore
|
8328
8329
|
*/
|
8329
8330
|
private updateViewVisibility;
|
@@ -11635,6 +11636,9 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
11635
11636
|
'get-view-options': IdentityCall<{}, OpenFin.ViewOptions>;
|
11636
11637
|
'hide-view': IdentityCall;
|
11637
11638
|
'show-view': IdentityCall;
|
11639
|
+
'show-view-at': IdentityCall<{
|
11640
|
+
bounds: OpenFin.Bounds;
|
11641
|
+
}>;
|
11638
11642
|
'update-view-options': IdentityCall<{
|
11639
11643
|
options: OpenFin.UpdatableViewOptions;
|
11640
11644
|
}>;
|
@@ -15157,6 +15161,13 @@ declare class View_2 extends WebContents<OpenFin.ViewEvent> {
|
|
15157
15161
|
* @experimental
|
15158
15162
|
*/
|
15159
15163
|
show: () => Promise<void>;
|
15164
|
+
/**
|
15165
|
+
* Shows the views at the given bounds.
|
15166
|
+
* If the view is hidden, showAt behaves like calling both setBounds and show.
|
15167
|
+
* If the view is visible, showAt behaves like calling setBounds.
|
15168
|
+
* @experimental
|
15169
|
+
*/
|
15170
|
+
showAt: (bounds: OpenFin.Bounds) => Promise<void>;
|
15160
15171
|
/**
|
15161
15172
|
* Hides the current view if it is currently visible.
|
15162
15173
|
*
|
@@ -8309,6 +8309,7 @@ declare class LayoutManager {
|
|
8309
8309
|
private showViewsOnTabDrag?;
|
8310
8310
|
private dropzonePreview?;
|
8311
8311
|
private lastItemDestroyed?;
|
8312
|
+
private viewsSubscribedTo;
|
8312
8313
|
constructor(splitterController: SplitterController, tabDragController: TabDragController, layoutContentCache: LayoutContentCache);
|
8313
8314
|
/* Excluded from this release type: getClient */
|
8314
8315
|
initManager: () => Promise<void>;
|
@@ -8323,7 +8324,7 @@ declare class LayoutManager {
|
|
8323
8324
|
private setupWindowListeners;
|
8324
8325
|
private setupResizeObservers;
|
8325
8326
|
/**
|
8326
|
-
* Shows/hides a view depending on use case
|
8327
|
+
* Shows/hides a view depending on use case (used by browser)
|
8327
8328
|
* @ignore
|
8328
8329
|
*/
|
8329
8330
|
private updateViewVisibility;
|
@@ -11635,6 +11636,9 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
11635
11636
|
'get-view-options': IdentityCall<{}, OpenFin.ViewOptions>;
|
11636
11637
|
'hide-view': IdentityCall;
|
11637
11638
|
'show-view': IdentityCall;
|
11639
|
+
'show-view-at': IdentityCall<{
|
11640
|
+
bounds: OpenFin.Bounds;
|
11641
|
+
}>;
|
11638
11642
|
'update-view-options': IdentityCall<{
|
11639
11643
|
options: OpenFin.UpdatableViewOptions;
|
11640
11644
|
}>;
|
@@ -15157,6 +15161,13 @@ declare class View_2 extends WebContents<OpenFin.ViewEvent> {
|
|
15157
15161
|
* @experimental
|
15158
15162
|
*/
|
15159
15163
|
show: () => Promise<void>;
|
15164
|
+
/**
|
15165
|
+
* Shows the views at the given bounds.
|
15166
|
+
* If the view is hidden, showAt behaves like calling both setBounds and show.
|
15167
|
+
* If the view is visible, showAt behaves like calling setBounds.
|
15168
|
+
* @experimental
|
15169
|
+
*/
|
15170
|
+
showAt: (bounds: OpenFin.Bounds) => Promise<void>;
|
15160
15171
|
/**
|
15161
15172
|
* Hides the current view if it is currently visible.
|
15162
15173
|
*
|
package/out/node-adapter.d.ts
CHANGED
@@ -8596,6 +8596,7 @@ declare class LayoutManager {
|
|
8596
8596
|
private showViewsOnTabDrag?;
|
8597
8597
|
private dropzonePreview?;
|
8598
8598
|
private lastItemDestroyed?;
|
8599
|
+
private viewsSubscribedTo;
|
8599
8600
|
constructor(splitterController: SplitterController, tabDragController: TabDragController, layoutContentCache: LayoutContentCache);
|
8600
8601
|
/**
|
8601
8602
|
* @internal
|
@@ -8614,7 +8615,7 @@ declare class LayoutManager {
|
|
8614
8615
|
private setupWindowListeners;
|
8615
8616
|
private setupResizeObservers;
|
8616
8617
|
/**
|
8617
|
-
* Shows/hides a view depending on use case
|
8618
|
+
* Shows/hides a view depending on use case (used by browser)
|
8618
8619
|
* @ignore
|
8619
8620
|
*/
|
8620
8621
|
private updateViewVisibility;
|
@@ -12163,6 +12164,9 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
12163
12164
|
'get-view-options': IdentityCall<{}, OpenFin.ViewOptions>;
|
12164
12165
|
'hide-view': IdentityCall;
|
12165
12166
|
'show-view': IdentityCall;
|
12167
|
+
'show-view-at': IdentityCall<{
|
12168
|
+
bounds: OpenFin.Bounds;
|
12169
|
+
}>;
|
12166
12170
|
'update-view-options': IdentityCall<{
|
12167
12171
|
options: OpenFin.UpdatableViewOptions;
|
12168
12172
|
}>;
|
@@ -15751,6 +15755,13 @@ declare class View_2 extends WebContents<OpenFin.ViewEvent> {
|
|
15751
15755
|
* @experimental
|
15752
15756
|
*/
|
15753
15757
|
show: () => Promise<void>;
|
15758
|
+
/**
|
15759
|
+
* Shows the views at the given bounds.
|
15760
|
+
* If the view is hidden, showAt behaves like calling both setBounds and show.
|
15761
|
+
* If the view is visible, showAt behaves like calling setBounds.
|
15762
|
+
* @experimental
|
15763
|
+
*/
|
15764
|
+
showAt: (bounds: OpenFin.Bounds) => Promise<void>;
|
15754
15765
|
/**
|
15755
15766
|
* Hides the current view if it is currently visible.
|
15756
15767
|
*
|
package/out/node-adapter.js
CHANGED
@@ -2768,6 +2768,15 @@ function requireInstance$2 () {
|
|
2768
2768
|
this.show = async () => {
|
2769
2769
|
await this.wire.sendAction('show-view', { ...this.identity });
|
2770
2770
|
};
|
2771
|
+
/**
|
2772
|
+
* Shows the views at the given bounds.
|
2773
|
+
* If the view is hidden, showAt behaves like calling both setBounds and show.
|
2774
|
+
* If the view is visible, showAt behaves like calling setBounds.
|
2775
|
+
* @experimental
|
2776
|
+
*/
|
2777
|
+
this.showAt = async (bounds) => {
|
2778
|
+
await this.wire.sendAction('show-view-at', { bounds, ...this.identity });
|
2779
|
+
};
|
2771
2780
|
/**
|
2772
2781
|
* Hides the current view if it is currently visible.
|
2773
2782
|
*
|