@openfin/fdc3-api 39.82.1 → 39.82.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.
- package/out/fdc3-api-alpha.d.ts +59 -1
- package/out/fdc3-api-beta.d.ts +59 -1
- package/out/fdc3-api-public.d.ts +59 -1
- package/out/fdc3-api.d.ts +59 -1
- package/package.json +1 -1
package/out/fdc3-api-alpha.d.ts
CHANGED
|
@@ -8938,6 +8938,12 @@ declare type MutableViewOptions = {
|
|
|
8938
8938
|
preventDragOut: boolean;
|
|
8939
8939
|
interop?: InteropConfig;
|
|
8940
8940
|
/* Excluded from this release type: _internalWorkspaceData */
|
|
8941
|
+
/**
|
|
8942
|
+
* {@inheritDoc ViewThrottling}
|
|
8943
|
+
*
|
|
8944
|
+
* @defaultValue 'enabled'
|
|
8945
|
+
*/
|
|
8946
|
+
throttling: ViewThrottling;
|
|
8941
8947
|
};
|
|
8942
8948
|
|
|
8943
8949
|
/**
|
|
@@ -9181,6 +9187,14 @@ declare type MutableWindowOptions = {
|
|
|
9181
9187
|
interop: InteropConfig;
|
|
9182
9188
|
/* Excluded from this release type: _internalWorkspaceData */
|
|
9183
9189
|
/* Excluded from this release type: workspacePlatform */
|
|
9190
|
+
/**
|
|
9191
|
+
* {@inheritDoc WindowThrottling}
|
|
9192
|
+
*
|
|
9193
|
+
* @defaultValue 'enabled'
|
|
9194
|
+
*
|
|
9195
|
+
* @remarks If `throttling` option is present, the `backgroundThrottling` option is completely ignored for windows.
|
|
9196
|
+
*/
|
|
9197
|
+
throttling: WindowThrottling;
|
|
9184
9198
|
};
|
|
9185
9199
|
|
|
9186
9200
|
declare type NackHandler = (payloadOrMessage: RuntimeErrorPayload | string) => void;
|
|
@@ -9384,6 +9398,8 @@ declare namespace OpenFin {
|
|
|
9384
9398
|
AutoResizeOptions,
|
|
9385
9399
|
InteropConfig,
|
|
9386
9400
|
ViewInfo,
|
|
9401
|
+
WindowThrottling,
|
|
9402
|
+
ViewThrottling,
|
|
9387
9403
|
UpdatableViewOptions,
|
|
9388
9404
|
ViewCreationOptions,
|
|
9389
9405
|
MutableViewOptions,
|
|
@@ -9631,6 +9647,7 @@ declare namespace OpenFin {
|
|
|
9631
9647
|
ChannelProviderDisconnectionListener,
|
|
9632
9648
|
RoutingInfo,
|
|
9633
9649
|
DownloadShelfOptions,
|
|
9650
|
+
ViewShowAtOptions,
|
|
9634
9651
|
ApplicationEvents,
|
|
9635
9652
|
BaseEvents,
|
|
9636
9653
|
ExternalApplicationEvents,
|
|
@@ -11758,6 +11775,11 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
11758
11775
|
'get-view-options': IdentityCall<{}, OpenFin.ViewOptions>;
|
|
11759
11776
|
'hide-view': IdentityCall;
|
|
11760
11777
|
'show-view': IdentityCall;
|
|
11778
|
+
'show-view-at': IdentityCall<{
|
|
11779
|
+
bounds: OpenFin.Bounds;
|
|
11780
|
+
options?: OpenFin.ViewShowAtOptions;
|
|
11781
|
+
}>;
|
|
11782
|
+
'bring-view-to-front': IdentityCall;
|
|
11761
11783
|
'update-view-options': IdentityCall<{
|
|
11762
11784
|
options: OpenFin.UpdatableViewOptions;
|
|
11763
11785
|
}>;
|
|
@@ -15092,6 +15114,8 @@ declare class View_2 extends WebContents<OpenFin.ViewEvent> {
|
|
|
15092
15114
|
* left: 100,
|
|
15093
15115
|
* width: 300,
|
|
15094
15116
|
* height: 300
|
|
15117
|
+
* }, {
|
|
15118
|
+
* bringToFront : true
|
|
15095
15119
|
* });
|
|
15096
15120
|
* }
|
|
15097
15121
|
*
|
|
@@ -15101,7 +15125,15 @@ declare class View_2 extends WebContents<OpenFin.ViewEvent> {
|
|
|
15101
15125
|
* ```
|
|
15102
15126
|
* @experimental
|
|
15103
15127
|
*/
|
|
15104
|
-
showAt: (bounds: OpenFin.Bounds) => Promise<void>;
|
|
15128
|
+
showAt: (bounds: OpenFin.Bounds, options?: OpenFin.ViewShowAtOptions) => Promise<void>;
|
|
15129
|
+
/**
|
|
15130
|
+
* Brings the specified view to the front of its current window. This ensures the view will be visible on top of any other views
|
|
15131
|
+
* which have overlapping bounds with it.
|
|
15132
|
+
*
|
|
15133
|
+
* Please note, this is not a permanent action - when a new view is created or attached to the window, it will display on top of all other views
|
|
15134
|
+
* in the window that share bounds with it.
|
|
15135
|
+
*/
|
|
15136
|
+
bringToFront: () => Promise<void>;
|
|
15105
15137
|
/**
|
|
15106
15138
|
* Hides the current view if it is currently visible.
|
|
15107
15139
|
*
|
|
@@ -15573,6 +15605,14 @@ declare class ViewModule extends Base {
|
|
|
15573
15605
|
*/
|
|
15574
15606
|
declare type ViewOptions = ConstViewOptions & MutableViewOptions;
|
|
15575
15607
|
|
|
15608
|
+
declare type ViewShowAtOptions = {
|
|
15609
|
+
/**
|
|
15610
|
+
* Sets the view as the top level view. See {@link OpenFin.View.bringToFront} for more information.
|
|
15611
|
+
* @default false
|
|
15612
|
+
*/
|
|
15613
|
+
bringToFront?: true;
|
|
15614
|
+
};
|
|
15615
|
+
|
|
15576
15616
|
/**
|
|
15577
15617
|
* Represents the payload shape for Views that are trying to prevent an unload.
|
|
15578
15618
|
* @interface
|
|
@@ -15625,6 +15665,14 @@ declare interface ViewStatuses {
|
|
|
15625
15665
|
viewsNotPreventingUnload: Identity_5[];
|
|
15626
15666
|
}
|
|
15627
15667
|
|
|
15668
|
+
/**
|
|
15669
|
+
* View throttling state.
|
|
15670
|
+
*
|
|
15671
|
+
* * `enabled`: Both background throttling and scheduler throttling are true. It's fully throttled.
|
|
15672
|
+
* * `scheduler-disabled`: background throttling is true, but scheduler throttling is disabled.
|
|
15673
|
+
*/
|
|
15674
|
+
declare type ViewThrottling = 'enabled' | 'scheduler-disabled';
|
|
15675
|
+
|
|
15628
15676
|
/**
|
|
15629
15677
|
* Configuration for view visibility settings
|
|
15630
15678
|
*
|
|
@@ -18168,6 +18216,16 @@ declare type WindowStartLoadEvent = BaseEvent_3 & {
|
|
|
18168
18216
|
*/
|
|
18169
18217
|
declare type WindowState = 'maximized' | 'minimized' | 'normal';
|
|
18170
18218
|
|
|
18219
|
+
/**
|
|
18220
|
+
*
|
|
18221
|
+
* Window throttling state.
|
|
18222
|
+
*
|
|
18223
|
+
* * `enabled`: Both background throttling and scheduler throttling are true. It's fully throttled.
|
|
18224
|
+
* * `scheduler-disabled`: The background throttling is true, but scheduler throttling is disabled.
|
|
18225
|
+
* * `disabled`: The background throttling is false. The throttling is fully disabled.
|
|
18226
|
+
*/
|
|
18227
|
+
declare type WindowThrottling = 'enabled' | 'scheduler-disabled' | 'disabled';
|
|
18228
|
+
|
|
18171
18229
|
/**
|
|
18172
18230
|
* A view-related event that fires natively on the `Window` topic. This means that these events *do* propagate
|
|
18173
18231
|
* to the `Application` level, with the name pattern `window-view-eventname`.
|
package/out/fdc3-api-beta.d.ts
CHANGED
|
@@ -8938,6 +8938,12 @@ declare type MutableViewOptions = {
|
|
|
8938
8938
|
preventDragOut: boolean;
|
|
8939
8939
|
interop?: InteropConfig;
|
|
8940
8940
|
/* Excluded from this release type: _internalWorkspaceData */
|
|
8941
|
+
/**
|
|
8942
|
+
* {@inheritDoc ViewThrottling}
|
|
8943
|
+
*
|
|
8944
|
+
* @defaultValue 'enabled'
|
|
8945
|
+
*/
|
|
8946
|
+
throttling: ViewThrottling;
|
|
8941
8947
|
};
|
|
8942
8948
|
|
|
8943
8949
|
/**
|
|
@@ -9181,6 +9187,14 @@ declare type MutableWindowOptions = {
|
|
|
9181
9187
|
interop: InteropConfig;
|
|
9182
9188
|
/* Excluded from this release type: _internalWorkspaceData */
|
|
9183
9189
|
/* Excluded from this release type: workspacePlatform */
|
|
9190
|
+
/**
|
|
9191
|
+
* {@inheritDoc WindowThrottling}
|
|
9192
|
+
*
|
|
9193
|
+
* @defaultValue 'enabled'
|
|
9194
|
+
*
|
|
9195
|
+
* @remarks If `throttling` option is present, the `backgroundThrottling` option is completely ignored for windows.
|
|
9196
|
+
*/
|
|
9197
|
+
throttling: WindowThrottling;
|
|
9184
9198
|
};
|
|
9185
9199
|
|
|
9186
9200
|
declare type NackHandler = (payloadOrMessage: RuntimeErrorPayload | string) => void;
|
|
@@ -9384,6 +9398,8 @@ declare namespace OpenFin {
|
|
|
9384
9398
|
AutoResizeOptions,
|
|
9385
9399
|
InteropConfig,
|
|
9386
9400
|
ViewInfo,
|
|
9401
|
+
WindowThrottling,
|
|
9402
|
+
ViewThrottling,
|
|
9387
9403
|
UpdatableViewOptions,
|
|
9388
9404
|
ViewCreationOptions,
|
|
9389
9405
|
MutableViewOptions,
|
|
@@ -9631,6 +9647,7 @@ declare namespace OpenFin {
|
|
|
9631
9647
|
ChannelProviderDisconnectionListener,
|
|
9632
9648
|
RoutingInfo,
|
|
9633
9649
|
DownloadShelfOptions,
|
|
9650
|
+
ViewShowAtOptions,
|
|
9634
9651
|
ApplicationEvents,
|
|
9635
9652
|
BaseEvents,
|
|
9636
9653
|
ExternalApplicationEvents,
|
|
@@ -11758,6 +11775,11 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
11758
11775
|
'get-view-options': IdentityCall<{}, OpenFin.ViewOptions>;
|
|
11759
11776
|
'hide-view': IdentityCall;
|
|
11760
11777
|
'show-view': IdentityCall;
|
|
11778
|
+
'show-view-at': IdentityCall<{
|
|
11779
|
+
bounds: OpenFin.Bounds;
|
|
11780
|
+
options?: OpenFin.ViewShowAtOptions;
|
|
11781
|
+
}>;
|
|
11782
|
+
'bring-view-to-front': IdentityCall;
|
|
11761
11783
|
'update-view-options': IdentityCall<{
|
|
11762
11784
|
options: OpenFin.UpdatableViewOptions;
|
|
11763
11785
|
}>;
|
|
@@ -15092,6 +15114,8 @@ declare class View_2 extends WebContents<OpenFin.ViewEvent> {
|
|
|
15092
15114
|
* left: 100,
|
|
15093
15115
|
* width: 300,
|
|
15094
15116
|
* height: 300
|
|
15117
|
+
* }, {
|
|
15118
|
+
* bringToFront : true
|
|
15095
15119
|
* });
|
|
15096
15120
|
* }
|
|
15097
15121
|
*
|
|
@@ -15101,7 +15125,15 @@ declare class View_2 extends WebContents<OpenFin.ViewEvent> {
|
|
|
15101
15125
|
* ```
|
|
15102
15126
|
* @experimental
|
|
15103
15127
|
*/
|
|
15104
|
-
showAt: (bounds: OpenFin.Bounds) => Promise<void>;
|
|
15128
|
+
showAt: (bounds: OpenFin.Bounds, options?: OpenFin.ViewShowAtOptions) => Promise<void>;
|
|
15129
|
+
/**
|
|
15130
|
+
* Brings the specified view to the front of its current window. This ensures the view will be visible on top of any other views
|
|
15131
|
+
* which have overlapping bounds with it.
|
|
15132
|
+
*
|
|
15133
|
+
* Please note, this is not a permanent action - when a new view is created or attached to the window, it will display on top of all other views
|
|
15134
|
+
* in the window that share bounds with it.
|
|
15135
|
+
*/
|
|
15136
|
+
bringToFront: () => Promise<void>;
|
|
15105
15137
|
/**
|
|
15106
15138
|
* Hides the current view if it is currently visible.
|
|
15107
15139
|
*
|
|
@@ -15573,6 +15605,14 @@ declare class ViewModule extends Base {
|
|
|
15573
15605
|
*/
|
|
15574
15606
|
declare type ViewOptions = ConstViewOptions & MutableViewOptions;
|
|
15575
15607
|
|
|
15608
|
+
declare type ViewShowAtOptions = {
|
|
15609
|
+
/**
|
|
15610
|
+
* Sets the view as the top level view. See {@link OpenFin.View.bringToFront} for more information.
|
|
15611
|
+
* @default false
|
|
15612
|
+
*/
|
|
15613
|
+
bringToFront?: true;
|
|
15614
|
+
};
|
|
15615
|
+
|
|
15576
15616
|
/**
|
|
15577
15617
|
* Represents the payload shape for Views that are trying to prevent an unload.
|
|
15578
15618
|
* @interface
|
|
@@ -15625,6 +15665,14 @@ declare interface ViewStatuses {
|
|
|
15625
15665
|
viewsNotPreventingUnload: Identity_5[];
|
|
15626
15666
|
}
|
|
15627
15667
|
|
|
15668
|
+
/**
|
|
15669
|
+
* View throttling state.
|
|
15670
|
+
*
|
|
15671
|
+
* * `enabled`: Both background throttling and scheduler throttling are true. It's fully throttled.
|
|
15672
|
+
* * `scheduler-disabled`: background throttling is true, but scheduler throttling is disabled.
|
|
15673
|
+
*/
|
|
15674
|
+
declare type ViewThrottling = 'enabled' | 'scheduler-disabled';
|
|
15675
|
+
|
|
15628
15676
|
/**
|
|
15629
15677
|
* Configuration for view visibility settings
|
|
15630
15678
|
*
|
|
@@ -18168,6 +18216,16 @@ declare type WindowStartLoadEvent = BaseEvent_3 & {
|
|
|
18168
18216
|
*/
|
|
18169
18217
|
declare type WindowState = 'maximized' | 'minimized' | 'normal';
|
|
18170
18218
|
|
|
18219
|
+
/**
|
|
18220
|
+
*
|
|
18221
|
+
* Window throttling state.
|
|
18222
|
+
*
|
|
18223
|
+
* * `enabled`: Both background throttling and scheduler throttling are true. It's fully throttled.
|
|
18224
|
+
* * `scheduler-disabled`: The background throttling is true, but scheduler throttling is disabled.
|
|
18225
|
+
* * `disabled`: The background throttling is false. The throttling is fully disabled.
|
|
18226
|
+
*/
|
|
18227
|
+
declare type WindowThrottling = 'enabled' | 'scheduler-disabled' | 'disabled';
|
|
18228
|
+
|
|
18171
18229
|
/**
|
|
18172
18230
|
* A view-related event that fires natively on the `Window` topic. This means that these events *do* propagate
|
|
18173
18231
|
* to the `Application` level, with the name pattern `window-view-eventname`.
|
package/out/fdc3-api-public.d.ts
CHANGED
|
@@ -8938,6 +8938,12 @@ declare type MutableViewOptions = {
|
|
|
8938
8938
|
preventDragOut: boolean;
|
|
8939
8939
|
interop?: InteropConfig;
|
|
8940
8940
|
/* Excluded from this release type: _internalWorkspaceData */
|
|
8941
|
+
/**
|
|
8942
|
+
* {@inheritDoc ViewThrottling}
|
|
8943
|
+
*
|
|
8944
|
+
* @defaultValue 'enabled'
|
|
8945
|
+
*/
|
|
8946
|
+
throttling: ViewThrottling;
|
|
8941
8947
|
};
|
|
8942
8948
|
|
|
8943
8949
|
/**
|
|
@@ -9181,6 +9187,14 @@ declare type MutableWindowOptions = {
|
|
|
9181
9187
|
interop: InteropConfig;
|
|
9182
9188
|
/* Excluded from this release type: _internalWorkspaceData */
|
|
9183
9189
|
/* Excluded from this release type: workspacePlatform */
|
|
9190
|
+
/**
|
|
9191
|
+
* {@inheritDoc WindowThrottling}
|
|
9192
|
+
*
|
|
9193
|
+
* @defaultValue 'enabled'
|
|
9194
|
+
*
|
|
9195
|
+
* @remarks If `throttling` option is present, the `backgroundThrottling` option is completely ignored for windows.
|
|
9196
|
+
*/
|
|
9197
|
+
throttling: WindowThrottling;
|
|
9184
9198
|
};
|
|
9185
9199
|
|
|
9186
9200
|
declare type NackHandler = (payloadOrMessage: RuntimeErrorPayload | string) => void;
|
|
@@ -9384,6 +9398,8 @@ declare namespace OpenFin {
|
|
|
9384
9398
|
AutoResizeOptions,
|
|
9385
9399
|
InteropConfig,
|
|
9386
9400
|
ViewInfo,
|
|
9401
|
+
WindowThrottling,
|
|
9402
|
+
ViewThrottling,
|
|
9387
9403
|
UpdatableViewOptions,
|
|
9388
9404
|
ViewCreationOptions,
|
|
9389
9405
|
MutableViewOptions,
|
|
@@ -9631,6 +9647,7 @@ declare namespace OpenFin {
|
|
|
9631
9647
|
ChannelProviderDisconnectionListener,
|
|
9632
9648
|
RoutingInfo,
|
|
9633
9649
|
DownloadShelfOptions,
|
|
9650
|
+
ViewShowAtOptions,
|
|
9634
9651
|
ApplicationEvents,
|
|
9635
9652
|
BaseEvents,
|
|
9636
9653
|
ExternalApplicationEvents,
|
|
@@ -11758,6 +11775,11 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
11758
11775
|
'get-view-options': IdentityCall<{}, OpenFin.ViewOptions>;
|
|
11759
11776
|
'hide-view': IdentityCall;
|
|
11760
11777
|
'show-view': IdentityCall;
|
|
11778
|
+
'show-view-at': IdentityCall<{
|
|
11779
|
+
bounds: OpenFin.Bounds;
|
|
11780
|
+
options?: OpenFin.ViewShowAtOptions;
|
|
11781
|
+
}>;
|
|
11782
|
+
'bring-view-to-front': IdentityCall;
|
|
11761
11783
|
'update-view-options': IdentityCall<{
|
|
11762
11784
|
options: OpenFin.UpdatableViewOptions;
|
|
11763
11785
|
}>;
|
|
@@ -15092,6 +15114,8 @@ declare class View_2 extends WebContents<OpenFin.ViewEvent> {
|
|
|
15092
15114
|
* left: 100,
|
|
15093
15115
|
* width: 300,
|
|
15094
15116
|
* height: 300
|
|
15117
|
+
* }, {
|
|
15118
|
+
* bringToFront : true
|
|
15095
15119
|
* });
|
|
15096
15120
|
* }
|
|
15097
15121
|
*
|
|
@@ -15101,7 +15125,15 @@ declare class View_2 extends WebContents<OpenFin.ViewEvent> {
|
|
|
15101
15125
|
* ```
|
|
15102
15126
|
* @experimental
|
|
15103
15127
|
*/
|
|
15104
|
-
showAt: (bounds: OpenFin.Bounds) => Promise<void>;
|
|
15128
|
+
showAt: (bounds: OpenFin.Bounds, options?: OpenFin.ViewShowAtOptions) => Promise<void>;
|
|
15129
|
+
/**
|
|
15130
|
+
* Brings the specified view to the front of its current window. This ensures the view will be visible on top of any other views
|
|
15131
|
+
* which have overlapping bounds with it.
|
|
15132
|
+
*
|
|
15133
|
+
* Please note, this is not a permanent action - when a new view is created or attached to the window, it will display on top of all other views
|
|
15134
|
+
* in the window that share bounds with it.
|
|
15135
|
+
*/
|
|
15136
|
+
bringToFront: () => Promise<void>;
|
|
15105
15137
|
/**
|
|
15106
15138
|
* Hides the current view if it is currently visible.
|
|
15107
15139
|
*
|
|
@@ -15573,6 +15605,14 @@ declare class ViewModule extends Base {
|
|
|
15573
15605
|
*/
|
|
15574
15606
|
declare type ViewOptions = ConstViewOptions & MutableViewOptions;
|
|
15575
15607
|
|
|
15608
|
+
declare type ViewShowAtOptions = {
|
|
15609
|
+
/**
|
|
15610
|
+
* Sets the view as the top level view. See {@link OpenFin.View.bringToFront} for more information.
|
|
15611
|
+
* @default false
|
|
15612
|
+
*/
|
|
15613
|
+
bringToFront?: true;
|
|
15614
|
+
};
|
|
15615
|
+
|
|
15576
15616
|
/**
|
|
15577
15617
|
* Represents the payload shape for Views that are trying to prevent an unload.
|
|
15578
15618
|
* @interface
|
|
@@ -15625,6 +15665,14 @@ declare interface ViewStatuses {
|
|
|
15625
15665
|
viewsNotPreventingUnload: Identity_5[];
|
|
15626
15666
|
}
|
|
15627
15667
|
|
|
15668
|
+
/**
|
|
15669
|
+
* View throttling state.
|
|
15670
|
+
*
|
|
15671
|
+
* * `enabled`: Both background throttling and scheduler throttling are true. It's fully throttled.
|
|
15672
|
+
* * `scheduler-disabled`: background throttling is true, but scheduler throttling is disabled.
|
|
15673
|
+
*/
|
|
15674
|
+
declare type ViewThrottling = 'enabled' | 'scheduler-disabled';
|
|
15675
|
+
|
|
15628
15676
|
/**
|
|
15629
15677
|
* Configuration for view visibility settings
|
|
15630
15678
|
*
|
|
@@ -18168,6 +18216,16 @@ declare type WindowStartLoadEvent = BaseEvent_3 & {
|
|
|
18168
18216
|
*/
|
|
18169
18217
|
declare type WindowState = 'maximized' | 'minimized' | 'normal';
|
|
18170
18218
|
|
|
18219
|
+
/**
|
|
18220
|
+
*
|
|
18221
|
+
* Window throttling state.
|
|
18222
|
+
*
|
|
18223
|
+
* * `enabled`: Both background throttling and scheduler throttling are true. It's fully throttled.
|
|
18224
|
+
* * `scheduler-disabled`: The background throttling is true, but scheduler throttling is disabled.
|
|
18225
|
+
* * `disabled`: The background throttling is false. The throttling is fully disabled.
|
|
18226
|
+
*/
|
|
18227
|
+
declare type WindowThrottling = 'enabled' | 'scheduler-disabled' | 'disabled';
|
|
18228
|
+
|
|
18171
18229
|
/**
|
|
18172
18230
|
* A view-related event that fires natively on the `Window` topic. This means that these events *do* propagate
|
|
18173
18231
|
* to the `Application` level, with the name pattern `window-view-eventname`.
|
package/out/fdc3-api.d.ts
CHANGED
|
@@ -9235,6 +9235,12 @@ declare type MutableViewOptions = {
|
|
|
9235
9235
|
* Used by Workspace to store custom data. Overwriting or modifying this field may impact the functionality of Workspace
|
|
9236
9236
|
*/
|
|
9237
9237
|
_internalWorkspaceData: any;
|
|
9238
|
+
/**
|
|
9239
|
+
* {@inheritDoc ViewThrottling}
|
|
9240
|
+
*
|
|
9241
|
+
* @defaultValue 'enabled'
|
|
9242
|
+
*/
|
|
9243
|
+
throttling: ViewThrottling;
|
|
9238
9244
|
};
|
|
9239
9245
|
|
|
9240
9246
|
/**
|
|
@@ -9486,6 +9492,14 @@ declare type MutableWindowOptions = {
|
|
|
9486
9492
|
* Used by workspace to stork platform specific options. Overwriting or modifying this field may impact the functionality of Workspace
|
|
9487
9493
|
*/
|
|
9488
9494
|
workspacePlatform: WorkspacePlatformOptions;
|
|
9495
|
+
/**
|
|
9496
|
+
* {@inheritDoc WindowThrottling}
|
|
9497
|
+
*
|
|
9498
|
+
* @defaultValue 'enabled'
|
|
9499
|
+
*
|
|
9500
|
+
* @remarks If `throttling` option is present, the `backgroundThrottling` option is completely ignored for windows.
|
|
9501
|
+
*/
|
|
9502
|
+
throttling: WindowThrottling;
|
|
9489
9503
|
};
|
|
9490
9504
|
|
|
9491
9505
|
declare type NackHandler = (payloadOrMessage: RuntimeErrorPayload | string) => void;
|
|
@@ -9699,6 +9713,8 @@ declare namespace OpenFin {
|
|
|
9699
9713
|
AutoResizeOptions,
|
|
9700
9714
|
InteropConfig,
|
|
9701
9715
|
ViewInfo,
|
|
9716
|
+
WindowThrottling,
|
|
9717
|
+
ViewThrottling,
|
|
9702
9718
|
UpdatableViewOptions,
|
|
9703
9719
|
ViewCreationOptions,
|
|
9704
9720
|
MutableViewOptions,
|
|
@@ -9946,6 +9962,7 @@ declare namespace OpenFin {
|
|
|
9946
9962
|
ChannelProviderDisconnectionListener,
|
|
9947
9963
|
RoutingInfo,
|
|
9948
9964
|
DownloadShelfOptions,
|
|
9965
|
+
ViewShowAtOptions,
|
|
9949
9966
|
ApplicationEvents,
|
|
9950
9967
|
BaseEvents,
|
|
9951
9968
|
ExternalApplicationEvents,
|
|
@@ -12151,6 +12168,11 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
12151
12168
|
'get-view-options': IdentityCall<{}, OpenFin.ViewOptions>;
|
|
12152
12169
|
'hide-view': IdentityCall;
|
|
12153
12170
|
'show-view': IdentityCall;
|
|
12171
|
+
'show-view-at': IdentityCall<{
|
|
12172
|
+
bounds: OpenFin.Bounds;
|
|
12173
|
+
options?: OpenFin.ViewShowAtOptions;
|
|
12174
|
+
}>;
|
|
12175
|
+
'bring-view-to-front': IdentityCall;
|
|
12154
12176
|
'update-view-options': IdentityCall<{
|
|
12155
12177
|
options: OpenFin.UpdatableViewOptions;
|
|
12156
12178
|
}>;
|
|
@@ -15501,6 +15523,8 @@ declare class View_2 extends WebContents<OpenFin.ViewEvent> {
|
|
|
15501
15523
|
* left: 100,
|
|
15502
15524
|
* width: 300,
|
|
15503
15525
|
* height: 300
|
|
15526
|
+
* }, {
|
|
15527
|
+
* bringToFront : true
|
|
15504
15528
|
* });
|
|
15505
15529
|
* }
|
|
15506
15530
|
*
|
|
@@ -15510,7 +15534,15 @@ declare class View_2 extends WebContents<OpenFin.ViewEvent> {
|
|
|
15510
15534
|
* ```
|
|
15511
15535
|
* @experimental
|
|
15512
15536
|
*/
|
|
15513
|
-
showAt: (bounds: OpenFin.Bounds) => Promise<void>;
|
|
15537
|
+
showAt: (bounds: OpenFin.Bounds, options?: OpenFin.ViewShowAtOptions) => Promise<void>;
|
|
15538
|
+
/**
|
|
15539
|
+
* Brings the specified view to the front of its current window. This ensures the view will be visible on top of any other views
|
|
15540
|
+
* which have overlapping bounds with it.
|
|
15541
|
+
*
|
|
15542
|
+
* Please note, this is not a permanent action - when a new view is created or attached to the window, it will display on top of all other views
|
|
15543
|
+
* in the window that share bounds with it.
|
|
15544
|
+
*/
|
|
15545
|
+
bringToFront: () => Promise<void>;
|
|
15514
15546
|
/**
|
|
15515
15547
|
* Hides the current view if it is currently visible.
|
|
15516
15548
|
*
|
|
@@ -16016,6 +16048,14 @@ declare class ViewModule extends Base {
|
|
|
16016
16048
|
*/
|
|
16017
16049
|
declare type ViewOptions = ConstViewOptions & MutableViewOptions;
|
|
16018
16050
|
|
|
16051
|
+
declare type ViewShowAtOptions = {
|
|
16052
|
+
/**
|
|
16053
|
+
* Sets the view as the top level view. See {@link OpenFin.View.bringToFront} for more information.
|
|
16054
|
+
* @default false
|
|
16055
|
+
*/
|
|
16056
|
+
bringToFront?: true;
|
|
16057
|
+
};
|
|
16058
|
+
|
|
16019
16059
|
/**
|
|
16020
16060
|
* Represents the payload shape for Views that are trying to prevent an unload.
|
|
16021
16061
|
* @interface
|
|
@@ -16068,6 +16108,14 @@ declare interface ViewStatuses {
|
|
|
16068
16108
|
viewsNotPreventingUnload: Identity_5[];
|
|
16069
16109
|
}
|
|
16070
16110
|
|
|
16111
|
+
/**
|
|
16112
|
+
* View throttling state.
|
|
16113
|
+
*
|
|
16114
|
+
* * `enabled`: Both background throttling and scheduler throttling are true. It's fully throttled.
|
|
16115
|
+
* * `scheduler-disabled`: background throttling is true, but scheduler throttling is disabled.
|
|
16116
|
+
*/
|
|
16117
|
+
declare type ViewThrottling = 'enabled' | 'scheduler-disabled';
|
|
16118
|
+
|
|
16071
16119
|
/**
|
|
16072
16120
|
* Configuration for view visibility settings
|
|
16073
16121
|
*
|
|
@@ -18614,6 +18662,16 @@ declare type WindowStartLoadEvent = BaseEvent_3 & {
|
|
|
18614
18662
|
*/
|
|
18615
18663
|
declare type WindowState = 'maximized' | 'minimized' | 'normal';
|
|
18616
18664
|
|
|
18665
|
+
/**
|
|
18666
|
+
*
|
|
18667
|
+
* Window throttling state.
|
|
18668
|
+
*
|
|
18669
|
+
* * `enabled`: Both background throttling and scheduler throttling are true. It's fully throttled.
|
|
18670
|
+
* * `scheduler-disabled`: The background throttling is true, but scheduler throttling is disabled.
|
|
18671
|
+
* * `disabled`: The background throttling is false. The throttling is fully disabled.
|
|
18672
|
+
*/
|
|
18673
|
+
declare type WindowThrottling = 'enabled' | 'scheduler-disabled' | 'disabled';
|
|
18674
|
+
|
|
18617
18675
|
/**
|
|
18618
18676
|
* A view-related event that fires natively on the `Window` topic. This means that these events *do* propagate
|
|
18619
18677
|
* to the `Application` level, with the name pattern `window-view-eventname`.
|