@openfin/fdc3-api 38.82.52 → 38.82.53
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
|
@@ -8934,6 +8934,12 @@ declare type MutableViewOptions = {
|
|
|
8934
8934
|
preventDragOut: boolean;
|
|
8935
8935
|
interop?: InteropConfig;
|
|
8936
8936
|
/* Excluded from this release type: _internalWorkspaceData */
|
|
8937
|
+
/**
|
|
8938
|
+
* {@inheritDoc ViewThrottling}
|
|
8939
|
+
*
|
|
8940
|
+
* @defaultValue 'enabled'
|
|
8941
|
+
*/
|
|
8942
|
+
throttling: ViewThrottling;
|
|
8937
8943
|
};
|
|
8938
8944
|
|
|
8939
8945
|
/**
|
|
@@ -9177,6 +9183,14 @@ declare type MutableWindowOptions = {
|
|
|
9177
9183
|
interop: InteropConfig;
|
|
9178
9184
|
/* Excluded from this release type: _internalWorkspaceData */
|
|
9179
9185
|
/* Excluded from this release type: workspacePlatform */
|
|
9186
|
+
/**
|
|
9187
|
+
* {@inheritDoc WindowThrottling}
|
|
9188
|
+
*
|
|
9189
|
+
* @defaultValue 'enabled'
|
|
9190
|
+
*
|
|
9191
|
+
* @remarks If `throttling` option is present, the `backgroundThrottling` option is completely ignored for windows.
|
|
9192
|
+
*/
|
|
9193
|
+
throttling: WindowThrottling;
|
|
9180
9194
|
};
|
|
9181
9195
|
|
|
9182
9196
|
declare type NackHandler = (payloadOrMessage: RuntimeErrorPayload | string) => void;
|
|
@@ -9380,6 +9394,8 @@ declare namespace OpenFin {
|
|
|
9380
9394
|
AutoResizeOptions,
|
|
9381
9395
|
InteropConfig,
|
|
9382
9396
|
ViewInfo,
|
|
9397
|
+
WindowThrottling,
|
|
9398
|
+
ViewThrottling,
|
|
9383
9399
|
UpdatableViewOptions,
|
|
9384
9400
|
ViewCreationOptions,
|
|
9385
9401
|
MutableViewOptions,
|
|
@@ -9627,6 +9643,7 @@ declare namespace OpenFin {
|
|
|
9627
9643
|
ChannelProviderDisconnectionListener,
|
|
9628
9644
|
RoutingInfo,
|
|
9629
9645
|
DownloadShelfOptions,
|
|
9646
|
+
ViewShowAtOptions,
|
|
9630
9647
|
ApplicationEvents,
|
|
9631
9648
|
BaseEvents,
|
|
9632
9649
|
ExternalApplicationEvents,
|
|
@@ -11754,6 +11771,11 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
11754
11771
|
'get-view-options': IdentityCall<{}, OpenFin.ViewOptions>;
|
|
11755
11772
|
'hide-view': IdentityCall;
|
|
11756
11773
|
'show-view': IdentityCall;
|
|
11774
|
+
'show-view-at': IdentityCall<{
|
|
11775
|
+
bounds: OpenFin.Bounds;
|
|
11776
|
+
options?: OpenFin.ViewShowAtOptions;
|
|
11777
|
+
}>;
|
|
11778
|
+
'bring-view-to-front': IdentityCall;
|
|
11757
11779
|
'update-view-options': IdentityCall<{
|
|
11758
11780
|
options: OpenFin.UpdatableViewOptions;
|
|
11759
11781
|
}>;
|
|
@@ -15088,6 +15110,8 @@ declare class View_2 extends WebContents<OpenFin.ViewEvent> {
|
|
|
15088
15110
|
* left: 100,
|
|
15089
15111
|
* width: 300,
|
|
15090
15112
|
* height: 300
|
|
15113
|
+
* }, {
|
|
15114
|
+
* bringToFront : true
|
|
15091
15115
|
* });
|
|
15092
15116
|
* }
|
|
15093
15117
|
*
|
|
@@ -15097,7 +15121,15 @@ declare class View_2 extends WebContents<OpenFin.ViewEvent> {
|
|
|
15097
15121
|
* ```
|
|
15098
15122
|
* @experimental
|
|
15099
15123
|
*/
|
|
15100
|
-
showAt: (bounds: OpenFin.Bounds) => Promise<void>;
|
|
15124
|
+
showAt: (bounds: OpenFin.Bounds, options?: OpenFin.ViewShowAtOptions) => Promise<void>;
|
|
15125
|
+
/**
|
|
15126
|
+
* Brings the specified view to the front of its current window. This ensures the view will be visible on top of any other views
|
|
15127
|
+
* which have overlapping bounds with it.
|
|
15128
|
+
*
|
|
15129
|
+
* 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
|
|
15130
|
+
* in the window that share bounds with it.
|
|
15131
|
+
*/
|
|
15132
|
+
bringToFront: () => Promise<void>;
|
|
15101
15133
|
/**
|
|
15102
15134
|
* Hides the current view if it is currently visible.
|
|
15103
15135
|
*
|
|
@@ -15569,6 +15601,14 @@ declare class ViewModule extends Base {
|
|
|
15569
15601
|
*/
|
|
15570
15602
|
declare type ViewOptions = ConstViewOptions & MutableViewOptions;
|
|
15571
15603
|
|
|
15604
|
+
declare type ViewShowAtOptions = {
|
|
15605
|
+
/**
|
|
15606
|
+
* Sets the view as the top level view. See {@link OpenFin.View.bringToFront} for more information.
|
|
15607
|
+
* @default false
|
|
15608
|
+
*/
|
|
15609
|
+
bringToFront?: true;
|
|
15610
|
+
};
|
|
15611
|
+
|
|
15572
15612
|
/**
|
|
15573
15613
|
* Represents the payload shape for Views that are trying to prevent an unload.
|
|
15574
15614
|
* @interface
|
|
@@ -15621,6 +15661,14 @@ declare interface ViewStatuses {
|
|
|
15621
15661
|
viewsNotPreventingUnload: Identity_5[];
|
|
15622
15662
|
}
|
|
15623
15663
|
|
|
15664
|
+
/**
|
|
15665
|
+
* View throttling state.
|
|
15666
|
+
*
|
|
15667
|
+
* * `enabled`: Both background throttling and scheduler throttling are true. It's fully throttled.
|
|
15668
|
+
* * `scheduler-disabled`: background throttling is true, but scheduler throttling is disabled.
|
|
15669
|
+
*/
|
|
15670
|
+
declare type ViewThrottling = 'enabled' | 'scheduler-disabled';
|
|
15671
|
+
|
|
15624
15672
|
/**
|
|
15625
15673
|
* Configuration for view visibility settings
|
|
15626
15674
|
*
|
|
@@ -18164,6 +18212,16 @@ declare type WindowStartLoadEvent = BaseEvent_3 & {
|
|
|
18164
18212
|
*/
|
|
18165
18213
|
declare type WindowState = 'maximized' | 'minimized' | 'normal';
|
|
18166
18214
|
|
|
18215
|
+
/**
|
|
18216
|
+
*
|
|
18217
|
+
* Window throttling state.
|
|
18218
|
+
*
|
|
18219
|
+
* * `enabled`: Both background throttling and scheduler throttling are true. It's fully throttled.
|
|
18220
|
+
* * `scheduler-disabled`: The background throttling is true, but scheduler throttling is disabled.
|
|
18221
|
+
* * `disabled`: The background throttling is false. The throttling is fully disabled.
|
|
18222
|
+
*/
|
|
18223
|
+
declare type WindowThrottling = 'enabled' | 'scheduler-disabled' | 'disabled';
|
|
18224
|
+
|
|
18167
18225
|
/**
|
|
18168
18226
|
* A view-related event that fires natively on the `Window` topic. This means that these events *do* propagate
|
|
18169
18227
|
* to the `Application` level, with the name pattern `window-view-eventname`.
|
package/out/fdc3-api-beta.d.ts
CHANGED
|
@@ -8934,6 +8934,12 @@ declare type MutableViewOptions = {
|
|
|
8934
8934
|
preventDragOut: boolean;
|
|
8935
8935
|
interop?: InteropConfig;
|
|
8936
8936
|
/* Excluded from this release type: _internalWorkspaceData */
|
|
8937
|
+
/**
|
|
8938
|
+
* {@inheritDoc ViewThrottling}
|
|
8939
|
+
*
|
|
8940
|
+
* @defaultValue 'enabled'
|
|
8941
|
+
*/
|
|
8942
|
+
throttling: ViewThrottling;
|
|
8937
8943
|
};
|
|
8938
8944
|
|
|
8939
8945
|
/**
|
|
@@ -9177,6 +9183,14 @@ declare type MutableWindowOptions = {
|
|
|
9177
9183
|
interop: InteropConfig;
|
|
9178
9184
|
/* Excluded from this release type: _internalWorkspaceData */
|
|
9179
9185
|
/* Excluded from this release type: workspacePlatform */
|
|
9186
|
+
/**
|
|
9187
|
+
* {@inheritDoc WindowThrottling}
|
|
9188
|
+
*
|
|
9189
|
+
* @defaultValue 'enabled'
|
|
9190
|
+
*
|
|
9191
|
+
* @remarks If `throttling` option is present, the `backgroundThrottling` option is completely ignored for windows.
|
|
9192
|
+
*/
|
|
9193
|
+
throttling: WindowThrottling;
|
|
9180
9194
|
};
|
|
9181
9195
|
|
|
9182
9196
|
declare type NackHandler = (payloadOrMessage: RuntimeErrorPayload | string) => void;
|
|
@@ -9380,6 +9394,8 @@ declare namespace OpenFin {
|
|
|
9380
9394
|
AutoResizeOptions,
|
|
9381
9395
|
InteropConfig,
|
|
9382
9396
|
ViewInfo,
|
|
9397
|
+
WindowThrottling,
|
|
9398
|
+
ViewThrottling,
|
|
9383
9399
|
UpdatableViewOptions,
|
|
9384
9400
|
ViewCreationOptions,
|
|
9385
9401
|
MutableViewOptions,
|
|
@@ -9627,6 +9643,7 @@ declare namespace OpenFin {
|
|
|
9627
9643
|
ChannelProviderDisconnectionListener,
|
|
9628
9644
|
RoutingInfo,
|
|
9629
9645
|
DownloadShelfOptions,
|
|
9646
|
+
ViewShowAtOptions,
|
|
9630
9647
|
ApplicationEvents,
|
|
9631
9648
|
BaseEvents,
|
|
9632
9649
|
ExternalApplicationEvents,
|
|
@@ -11754,6 +11771,11 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
11754
11771
|
'get-view-options': IdentityCall<{}, OpenFin.ViewOptions>;
|
|
11755
11772
|
'hide-view': IdentityCall;
|
|
11756
11773
|
'show-view': IdentityCall;
|
|
11774
|
+
'show-view-at': IdentityCall<{
|
|
11775
|
+
bounds: OpenFin.Bounds;
|
|
11776
|
+
options?: OpenFin.ViewShowAtOptions;
|
|
11777
|
+
}>;
|
|
11778
|
+
'bring-view-to-front': IdentityCall;
|
|
11757
11779
|
'update-view-options': IdentityCall<{
|
|
11758
11780
|
options: OpenFin.UpdatableViewOptions;
|
|
11759
11781
|
}>;
|
|
@@ -15088,6 +15110,8 @@ declare class View_2 extends WebContents<OpenFin.ViewEvent> {
|
|
|
15088
15110
|
* left: 100,
|
|
15089
15111
|
* width: 300,
|
|
15090
15112
|
* height: 300
|
|
15113
|
+
* }, {
|
|
15114
|
+
* bringToFront : true
|
|
15091
15115
|
* });
|
|
15092
15116
|
* }
|
|
15093
15117
|
*
|
|
@@ -15097,7 +15121,15 @@ declare class View_2 extends WebContents<OpenFin.ViewEvent> {
|
|
|
15097
15121
|
* ```
|
|
15098
15122
|
* @experimental
|
|
15099
15123
|
*/
|
|
15100
|
-
showAt: (bounds: OpenFin.Bounds) => Promise<void>;
|
|
15124
|
+
showAt: (bounds: OpenFin.Bounds, options?: OpenFin.ViewShowAtOptions) => Promise<void>;
|
|
15125
|
+
/**
|
|
15126
|
+
* Brings the specified view to the front of its current window. This ensures the view will be visible on top of any other views
|
|
15127
|
+
* which have overlapping bounds with it.
|
|
15128
|
+
*
|
|
15129
|
+
* 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
|
|
15130
|
+
* in the window that share bounds with it.
|
|
15131
|
+
*/
|
|
15132
|
+
bringToFront: () => Promise<void>;
|
|
15101
15133
|
/**
|
|
15102
15134
|
* Hides the current view if it is currently visible.
|
|
15103
15135
|
*
|
|
@@ -15569,6 +15601,14 @@ declare class ViewModule extends Base {
|
|
|
15569
15601
|
*/
|
|
15570
15602
|
declare type ViewOptions = ConstViewOptions & MutableViewOptions;
|
|
15571
15603
|
|
|
15604
|
+
declare type ViewShowAtOptions = {
|
|
15605
|
+
/**
|
|
15606
|
+
* Sets the view as the top level view. See {@link OpenFin.View.bringToFront} for more information.
|
|
15607
|
+
* @default false
|
|
15608
|
+
*/
|
|
15609
|
+
bringToFront?: true;
|
|
15610
|
+
};
|
|
15611
|
+
|
|
15572
15612
|
/**
|
|
15573
15613
|
* Represents the payload shape for Views that are trying to prevent an unload.
|
|
15574
15614
|
* @interface
|
|
@@ -15621,6 +15661,14 @@ declare interface ViewStatuses {
|
|
|
15621
15661
|
viewsNotPreventingUnload: Identity_5[];
|
|
15622
15662
|
}
|
|
15623
15663
|
|
|
15664
|
+
/**
|
|
15665
|
+
* View throttling state.
|
|
15666
|
+
*
|
|
15667
|
+
* * `enabled`: Both background throttling and scheduler throttling are true. It's fully throttled.
|
|
15668
|
+
* * `scheduler-disabled`: background throttling is true, but scheduler throttling is disabled.
|
|
15669
|
+
*/
|
|
15670
|
+
declare type ViewThrottling = 'enabled' | 'scheduler-disabled';
|
|
15671
|
+
|
|
15624
15672
|
/**
|
|
15625
15673
|
* Configuration for view visibility settings
|
|
15626
15674
|
*
|
|
@@ -18164,6 +18212,16 @@ declare type WindowStartLoadEvent = BaseEvent_3 & {
|
|
|
18164
18212
|
*/
|
|
18165
18213
|
declare type WindowState = 'maximized' | 'minimized' | 'normal';
|
|
18166
18214
|
|
|
18215
|
+
/**
|
|
18216
|
+
*
|
|
18217
|
+
* Window throttling state.
|
|
18218
|
+
*
|
|
18219
|
+
* * `enabled`: Both background throttling and scheduler throttling are true. It's fully throttled.
|
|
18220
|
+
* * `scheduler-disabled`: The background throttling is true, but scheduler throttling is disabled.
|
|
18221
|
+
* * `disabled`: The background throttling is false. The throttling is fully disabled.
|
|
18222
|
+
*/
|
|
18223
|
+
declare type WindowThrottling = 'enabled' | 'scheduler-disabled' | 'disabled';
|
|
18224
|
+
|
|
18167
18225
|
/**
|
|
18168
18226
|
* A view-related event that fires natively on the `Window` topic. This means that these events *do* propagate
|
|
18169
18227
|
* to the `Application` level, with the name pattern `window-view-eventname`.
|
package/out/fdc3-api-public.d.ts
CHANGED
|
@@ -8934,6 +8934,12 @@ declare type MutableViewOptions = {
|
|
|
8934
8934
|
preventDragOut: boolean;
|
|
8935
8935
|
interop?: InteropConfig;
|
|
8936
8936
|
/* Excluded from this release type: _internalWorkspaceData */
|
|
8937
|
+
/**
|
|
8938
|
+
* {@inheritDoc ViewThrottling}
|
|
8939
|
+
*
|
|
8940
|
+
* @defaultValue 'enabled'
|
|
8941
|
+
*/
|
|
8942
|
+
throttling: ViewThrottling;
|
|
8937
8943
|
};
|
|
8938
8944
|
|
|
8939
8945
|
/**
|
|
@@ -9177,6 +9183,14 @@ declare type MutableWindowOptions = {
|
|
|
9177
9183
|
interop: InteropConfig;
|
|
9178
9184
|
/* Excluded from this release type: _internalWorkspaceData */
|
|
9179
9185
|
/* Excluded from this release type: workspacePlatform */
|
|
9186
|
+
/**
|
|
9187
|
+
* {@inheritDoc WindowThrottling}
|
|
9188
|
+
*
|
|
9189
|
+
* @defaultValue 'enabled'
|
|
9190
|
+
*
|
|
9191
|
+
* @remarks If `throttling` option is present, the `backgroundThrottling` option is completely ignored for windows.
|
|
9192
|
+
*/
|
|
9193
|
+
throttling: WindowThrottling;
|
|
9180
9194
|
};
|
|
9181
9195
|
|
|
9182
9196
|
declare type NackHandler = (payloadOrMessage: RuntimeErrorPayload | string) => void;
|
|
@@ -9380,6 +9394,8 @@ declare namespace OpenFin {
|
|
|
9380
9394
|
AutoResizeOptions,
|
|
9381
9395
|
InteropConfig,
|
|
9382
9396
|
ViewInfo,
|
|
9397
|
+
WindowThrottling,
|
|
9398
|
+
ViewThrottling,
|
|
9383
9399
|
UpdatableViewOptions,
|
|
9384
9400
|
ViewCreationOptions,
|
|
9385
9401
|
MutableViewOptions,
|
|
@@ -9627,6 +9643,7 @@ declare namespace OpenFin {
|
|
|
9627
9643
|
ChannelProviderDisconnectionListener,
|
|
9628
9644
|
RoutingInfo,
|
|
9629
9645
|
DownloadShelfOptions,
|
|
9646
|
+
ViewShowAtOptions,
|
|
9630
9647
|
ApplicationEvents,
|
|
9631
9648
|
BaseEvents,
|
|
9632
9649
|
ExternalApplicationEvents,
|
|
@@ -11754,6 +11771,11 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
11754
11771
|
'get-view-options': IdentityCall<{}, OpenFin.ViewOptions>;
|
|
11755
11772
|
'hide-view': IdentityCall;
|
|
11756
11773
|
'show-view': IdentityCall;
|
|
11774
|
+
'show-view-at': IdentityCall<{
|
|
11775
|
+
bounds: OpenFin.Bounds;
|
|
11776
|
+
options?: OpenFin.ViewShowAtOptions;
|
|
11777
|
+
}>;
|
|
11778
|
+
'bring-view-to-front': IdentityCall;
|
|
11757
11779
|
'update-view-options': IdentityCall<{
|
|
11758
11780
|
options: OpenFin.UpdatableViewOptions;
|
|
11759
11781
|
}>;
|
|
@@ -15088,6 +15110,8 @@ declare class View_2 extends WebContents<OpenFin.ViewEvent> {
|
|
|
15088
15110
|
* left: 100,
|
|
15089
15111
|
* width: 300,
|
|
15090
15112
|
* height: 300
|
|
15113
|
+
* }, {
|
|
15114
|
+
* bringToFront : true
|
|
15091
15115
|
* });
|
|
15092
15116
|
* }
|
|
15093
15117
|
*
|
|
@@ -15097,7 +15121,15 @@ declare class View_2 extends WebContents<OpenFin.ViewEvent> {
|
|
|
15097
15121
|
* ```
|
|
15098
15122
|
* @experimental
|
|
15099
15123
|
*/
|
|
15100
|
-
showAt: (bounds: OpenFin.Bounds) => Promise<void>;
|
|
15124
|
+
showAt: (bounds: OpenFin.Bounds, options?: OpenFin.ViewShowAtOptions) => Promise<void>;
|
|
15125
|
+
/**
|
|
15126
|
+
* Brings the specified view to the front of its current window. This ensures the view will be visible on top of any other views
|
|
15127
|
+
* which have overlapping bounds with it.
|
|
15128
|
+
*
|
|
15129
|
+
* 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
|
|
15130
|
+
* in the window that share bounds with it.
|
|
15131
|
+
*/
|
|
15132
|
+
bringToFront: () => Promise<void>;
|
|
15101
15133
|
/**
|
|
15102
15134
|
* Hides the current view if it is currently visible.
|
|
15103
15135
|
*
|
|
@@ -15569,6 +15601,14 @@ declare class ViewModule extends Base {
|
|
|
15569
15601
|
*/
|
|
15570
15602
|
declare type ViewOptions = ConstViewOptions & MutableViewOptions;
|
|
15571
15603
|
|
|
15604
|
+
declare type ViewShowAtOptions = {
|
|
15605
|
+
/**
|
|
15606
|
+
* Sets the view as the top level view. See {@link OpenFin.View.bringToFront} for more information.
|
|
15607
|
+
* @default false
|
|
15608
|
+
*/
|
|
15609
|
+
bringToFront?: true;
|
|
15610
|
+
};
|
|
15611
|
+
|
|
15572
15612
|
/**
|
|
15573
15613
|
* Represents the payload shape for Views that are trying to prevent an unload.
|
|
15574
15614
|
* @interface
|
|
@@ -15621,6 +15661,14 @@ declare interface ViewStatuses {
|
|
|
15621
15661
|
viewsNotPreventingUnload: Identity_5[];
|
|
15622
15662
|
}
|
|
15623
15663
|
|
|
15664
|
+
/**
|
|
15665
|
+
* View throttling state.
|
|
15666
|
+
*
|
|
15667
|
+
* * `enabled`: Both background throttling and scheduler throttling are true. It's fully throttled.
|
|
15668
|
+
* * `scheduler-disabled`: background throttling is true, but scheduler throttling is disabled.
|
|
15669
|
+
*/
|
|
15670
|
+
declare type ViewThrottling = 'enabled' | 'scheduler-disabled';
|
|
15671
|
+
|
|
15624
15672
|
/**
|
|
15625
15673
|
* Configuration for view visibility settings
|
|
15626
15674
|
*
|
|
@@ -18164,6 +18212,16 @@ declare type WindowStartLoadEvent = BaseEvent_3 & {
|
|
|
18164
18212
|
*/
|
|
18165
18213
|
declare type WindowState = 'maximized' | 'minimized' | 'normal';
|
|
18166
18214
|
|
|
18215
|
+
/**
|
|
18216
|
+
*
|
|
18217
|
+
* Window throttling state.
|
|
18218
|
+
*
|
|
18219
|
+
* * `enabled`: Both background throttling and scheduler throttling are true. It's fully throttled.
|
|
18220
|
+
* * `scheduler-disabled`: The background throttling is true, but scheduler throttling is disabled.
|
|
18221
|
+
* * `disabled`: The background throttling is false. The throttling is fully disabled.
|
|
18222
|
+
*/
|
|
18223
|
+
declare type WindowThrottling = 'enabled' | 'scheduler-disabled' | 'disabled';
|
|
18224
|
+
|
|
18167
18225
|
/**
|
|
18168
18226
|
* A view-related event that fires natively on the `Window` topic. This means that these events *do* propagate
|
|
18169
18227
|
* to the `Application` level, with the name pattern `window-view-eventname`.
|
package/out/fdc3-api.d.ts
CHANGED
|
@@ -9231,6 +9231,12 @@ declare type MutableViewOptions = {
|
|
|
9231
9231
|
* Used by Workspace to store custom data. Overwriting or modifying this field may impact the functionality of Workspace
|
|
9232
9232
|
*/
|
|
9233
9233
|
_internalWorkspaceData: any;
|
|
9234
|
+
/**
|
|
9235
|
+
* {@inheritDoc ViewThrottling}
|
|
9236
|
+
*
|
|
9237
|
+
* @defaultValue 'enabled'
|
|
9238
|
+
*/
|
|
9239
|
+
throttling: ViewThrottling;
|
|
9234
9240
|
};
|
|
9235
9241
|
|
|
9236
9242
|
/**
|
|
@@ -9482,6 +9488,14 @@ declare type MutableWindowOptions = {
|
|
|
9482
9488
|
* Used by workspace to stork platform specific options. Overwriting or modifying this field may impact the functionality of Workspace
|
|
9483
9489
|
*/
|
|
9484
9490
|
workspacePlatform: WorkspacePlatformOptions;
|
|
9491
|
+
/**
|
|
9492
|
+
* {@inheritDoc WindowThrottling}
|
|
9493
|
+
*
|
|
9494
|
+
* @defaultValue 'enabled'
|
|
9495
|
+
*
|
|
9496
|
+
* @remarks If `throttling` option is present, the `backgroundThrottling` option is completely ignored for windows.
|
|
9497
|
+
*/
|
|
9498
|
+
throttling: WindowThrottling;
|
|
9485
9499
|
};
|
|
9486
9500
|
|
|
9487
9501
|
declare type NackHandler = (payloadOrMessage: RuntimeErrorPayload | string) => void;
|
|
@@ -9695,6 +9709,8 @@ declare namespace OpenFin {
|
|
|
9695
9709
|
AutoResizeOptions,
|
|
9696
9710
|
InteropConfig,
|
|
9697
9711
|
ViewInfo,
|
|
9712
|
+
WindowThrottling,
|
|
9713
|
+
ViewThrottling,
|
|
9698
9714
|
UpdatableViewOptions,
|
|
9699
9715
|
ViewCreationOptions,
|
|
9700
9716
|
MutableViewOptions,
|
|
@@ -9942,6 +9958,7 @@ declare namespace OpenFin {
|
|
|
9942
9958
|
ChannelProviderDisconnectionListener,
|
|
9943
9959
|
RoutingInfo,
|
|
9944
9960
|
DownloadShelfOptions,
|
|
9961
|
+
ViewShowAtOptions,
|
|
9945
9962
|
ApplicationEvents,
|
|
9946
9963
|
BaseEvents,
|
|
9947
9964
|
ExternalApplicationEvents,
|
|
@@ -12147,6 +12164,11 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
12147
12164
|
'get-view-options': IdentityCall<{}, OpenFin.ViewOptions>;
|
|
12148
12165
|
'hide-view': IdentityCall;
|
|
12149
12166
|
'show-view': IdentityCall;
|
|
12167
|
+
'show-view-at': IdentityCall<{
|
|
12168
|
+
bounds: OpenFin.Bounds;
|
|
12169
|
+
options?: OpenFin.ViewShowAtOptions;
|
|
12170
|
+
}>;
|
|
12171
|
+
'bring-view-to-front': IdentityCall;
|
|
12150
12172
|
'update-view-options': IdentityCall<{
|
|
12151
12173
|
options: OpenFin.UpdatableViewOptions;
|
|
12152
12174
|
}>;
|
|
@@ -15497,6 +15519,8 @@ declare class View_2 extends WebContents<OpenFin.ViewEvent> {
|
|
|
15497
15519
|
* left: 100,
|
|
15498
15520
|
* width: 300,
|
|
15499
15521
|
* height: 300
|
|
15522
|
+
* }, {
|
|
15523
|
+
* bringToFront : true
|
|
15500
15524
|
* });
|
|
15501
15525
|
* }
|
|
15502
15526
|
*
|
|
@@ -15506,7 +15530,15 @@ declare class View_2 extends WebContents<OpenFin.ViewEvent> {
|
|
|
15506
15530
|
* ```
|
|
15507
15531
|
* @experimental
|
|
15508
15532
|
*/
|
|
15509
|
-
showAt: (bounds: OpenFin.Bounds) => Promise<void>;
|
|
15533
|
+
showAt: (bounds: OpenFin.Bounds, options?: OpenFin.ViewShowAtOptions) => Promise<void>;
|
|
15534
|
+
/**
|
|
15535
|
+
* Brings the specified view to the front of its current window. This ensures the view will be visible on top of any other views
|
|
15536
|
+
* which have overlapping bounds with it.
|
|
15537
|
+
*
|
|
15538
|
+
* 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
|
|
15539
|
+
* in the window that share bounds with it.
|
|
15540
|
+
*/
|
|
15541
|
+
bringToFront: () => Promise<void>;
|
|
15510
15542
|
/**
|
|
15511
15543
|
* Hides the current view if it is currently visible.
|
|
15512
15544
|
*
|
|
@@ -16012,6 +16044,14 @@ declare class ViewModule extends Base {
|
|
|
16012
16044
|
*/
|
|
16013
16045
|
declare type ViewOptions = ConstViewOptions & MutableViewOptions;
|
|
16014
16046
|
|
|
16047
|
+
declare type ViewShowAtOptions = {
|
|
16048
|
+
/**
|
|
16049
|
+
* Sets the view as the top level view. See {@link OpenFin.View.bringToFront} for more information.
|
|
16050
|
+
* @default false
|
|
16051
|
+
*/
|
|
16052
|
+
bringToFront?: true;
|
|
16053
|
+
};
|
|
16054
|
+
|
|
16015
16055
|
/**
|
|
16016
16056
|
* Represents the payload shape for Views that are trying to prevent an unload.
|
|
16017
16057
|
* @interface
|
|
@@ -16064,6 +16104,14 @@ declare interface ViewStatuses {
|
|
|
16064
16104
|
viewsNotPreventingUnload: Identity_5[];
|
|
16065
16105
|
}
|
|
16066
16106
|
|
|
16107
|
+
/**
|
|
16108
|
+
* View throttling state.
|
|
16109
|
+
*
|
|
16110
|
+
* * `enabled`: Both background throttling and scheduler throttling are true. It's fully throttled.
|
|
16111
|
+
* * `scheduler-disabled`: background throttling is true, but scheduler throttling is disabled.
|
|
16112
|
+
*/
|
|
16113
|
+
declare type ViewThrottling = 'enabled' | 'scheduler-disabled';
|
|
16114
|
+
|
|
16067
16115
|
/**
|
|
16068
16116
|
* Configuration for view visibility settings
|
|
16069
16117
|
*
|
|
@@ -18610,6 +18658,16 @@ declare type WindowStartLoadEvent = BaseEvent_3 & {
|
|
|
18610
18658
|
*/
|
|
18611
18659
|
declare type WindowState = 'maximized' | 'minimized' | 'normal';
|
|
18612
18660
|
|
|
18661
|
+
/**
|
|
18662
|
+
*
|
|
18663
|
+
* Window throttling state.
|
|
18664
|
+
*
|
|
18665
|
+
* * `enabled`: Both background throttling and scheduler throttling are true. It's fully throttled.
|
|
18666
|
+
* * `scheduler-disabled`: The background throttling is true, but scheduler throttling is disabled.
|
|
18667
|
+
* * `disabled`: The background throttling is false. The throttling is fully disabled.
|
|
18668
|
+
*/
|
|
18669
|
+
declare type WindowThrottling = 'enabled' | 'scheduler-disabled' | 'disabled';
|
|
18670
|
+
|
|
18613
18671
|
/**
|
|
18614
18672
|
* A view-related event that fires natively on the `Window` topic. This means that these events *do* propagate
|
|
18615
18673
|
* to the `Application` level, with the name pattern `window-view-eventname`.
|