@openfin/fdc3-api 38.82.1 → 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 +69 -2
- package/out/fdc3-api-beta.d.ts +69 -2
- package/out/fdc3-api-public.d.ts +69 -2
- package/out/fdc3-api.d.ts +69 -2
- package/package.json +1 -1
package/out/fdc3-api-alpha.d.ts
CHANGED
|
@@ -3477,6 +3477,16 @@ declare type ConstWindowOptions = {
|
|
|
3477
3477
|
* Default is white.
|
|
3478
3478
|
*/
|
|
3479
3479
|
backgroundColor: string;
|
|
3480
|
+
/**
|
|
3481
|
+
* @defaultValue false
|
|
3482
|
+
*
|
|
3483
|
+
* Determines whether WebContents will throttle animations and timers when the page becomes backgrounded.
|
|
3484
|
+
* This also affects the Page Visibility API.
|
|
3485
|
+
*
|
|
3486
|
+
* When `true`, the page is throttled whether it is hidden or not.
|
|
3487
|
+
*
|
|
3488
|
+
*/
|
|
3489
|
+
backgroundThrottling: boolean;
|
|
3480
3490
|
/**
|
|
3481
3491
|
* Configures how new content (e,g, from `window.open` or a link) is opened.
|
|
3482
3492
|
*/
|
|
@@ -8924,6 +8934,12 @@ declare type MutableViewOptions = {
|
|
|
8924
8934
|
preventDragOut: boolean;
|
|
8925
8935
|
interop?: InteropConfig;
|
|
8926
8936
|
/* Excluded from this release type: _internalWorkspaceData */
|
|
8937
|
+
/**
|
|
8938
|
+
* {@inheritDoc ViewThrottling}
|
|
8939
|
+
*
|
|
8940
|
+
* @defaultValue 'enabled'
|
|
8941
|
+
*/
|
|
8942
|
+
throttling: ViewThrottling;
|
|
8927
8943
|
};
|
|
8928
8944
|
|
|
8929
8945
|
/**
|
|
@@ -9167,6 +9183,14 @@ declare type MutableWindowOptions = {
|
|
|
9167
9183
|
interop: InteropConfig;
|
|
9168
9184
|
/* Excluded from this release type: _internalWorkspaceData */
|
|
9169
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;
|
|
9170
9194
|
};
|
|
9171
9195
|
|
|
9172
9196
|
declare type NackHandler = (payloadOrMessage: RuntimeErrorPayload | string) => void;
|
|
@@ -9370,6 +9394,8 @@ declare namespace OpenFin {
|
|
|
9370
9394
|
AutoResizeOptions,
|
|
9371
9395
|
InteropConfig,
|
|
9372
9396
|
ViewInfo,
|
|
9397
|
+
WindowThrottling,
|
|
9398
|
+
ViewThrottling,
|
|
9373
9399
|
UpdatableViewOptions,
|
|
9374
9400
|
ViewCreationOptions,
|
|
9375
9401
|
MutableViewOptions,
|
|
@@ -9617,6 +9643,7 @@ declare namespace OpenFin {
|
|
|
9617
9643
|
ChannelProviderDisconnectionListener,
|
|
9618
9644
|
RoutingInfo,
|
|
9619
9645
|
DownloadShelfOptions,
|
|
9646
|
+
ViewShowAtOptions,
|
|
9620
9647
|
ApplicationEvents,
|
|
9621
9648
|
BaseEvents,
|
|
9622
9649
|
ExternalApplicationEvents,
|
|
@@ -11744,6 +11771,11 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
11744
11771
|
'get-view-options': IdentityCall<{}, OpenFin.ViewOptions>;
|
|
11745
11772
|
'hide-view': IdentityCall;
|
|
11746
11773
|
'show-view': IdentityCall;
|
|
11774
|
+
'show-view-at': IdentityCall<{
|
|
11775
|
+
bounds: OpenFin.Bounds;
|
|
11776
|
+
options?: OpenFin.ViewShowAtOptions;
|
|
11777
|
+
}>;
|
|
11778
|
+
'bring-view-to-front': IdentityCall;
|
|
11747
11779
|
'update-view-options': IdentityCall<{
|
|
11748
11780
|
options: OpenFin.UpdatableViewOptions;
|
|
11749
11781
|
}>;
|
|
@@ -15078,6 +15110,8 @@ declare class View_2 extends WebContents<OpenFin.ViewEvent> {
|
|
|
15078
15110
|
* left: 100,
|
|
15079
15111
|
* width: 300,
|
|
15080
15112
|
* height: 300
|
|
15113
|
+
* }, {
|
|
15114
|
+
* bringToFront : true
|
|
15081
15115
|
* });
|
|
15082
15116
|
* }
|
|
15083
15117
|
*
|
|
@@ -15087,7 +15121,15 @@ declare class View_2 extends WebContents<OpenFin.ViewEvent> {
|
|
|
15087
15121
|
* ```
|
|
15088
15122
|
* @experimental
|
|
15089
15123
|
*/
|
|
15090
|
-
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>;
|
|
15091
15133
|
/**
|
|
15092
15134
|
* Hides the current view if it is currently visible.
|
|
15093
15135
|
*
|
|
@@ -15559,6 +15601,14 @@ declare class ViewModule extends Base {
|
|
|
15559
15601
|
*/
|
|
15560
15602
|
declare type ViewOptions = ConstViewOptions & MutableViewOptions;
|
|
15561
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
|
+
|
|
15562
15612
|
/**
|
|
15563
15613
|
* Represents the payload shape for Views that are trying to prevent an unload.
|
|
15564
15614
|
* @interface
|
|
@@ -15590,7 +15640,6 @@ declare interface ViewsPreventingUnloadPayload {
|
|
|
15590
15640
|
* @interface
|
|
15591
15641
|
*/
|
|
15592
15642
|
declare type ViewState = ViewCreationOptions & {
|
|
15593
|
-
backgroundThrottling: boolean;
|
|
15594
15643
|
componentName: 'view';
|
|
15595
15644
|
initialUrl: string;
|
|
15596
15645
|
minWidth?: number;
|
|
@@ -15612,6 +15661,14 @@ declare interface ViewStatuses {
|
|
|
15612
15661
|
viewsNotPreventingUnload: Identity_5[];
|
|
15613
15662
|
}
|
|
15614
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
|
+
|
|
15615
15672
|
/**
|
|
15616
15673
|
* Configuration for view visibility settings
|
|
15617
15674
|
*
|
|
@@ -18155,6 +18212,16 @@ declare type WindowStartLoadEvent = BaseEvent_3 & {
|
|
|
18155
18212
|
*/
|
|
18156
18213
|
declare type WindowState = 'maximized' | 'minimized' | 'normal';
|
|
18157
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
|
+
|
|
18158
18225
|
/**
|
|
18159
18226
|
* A view-related event that fires natively on the `Window` topic. This means that these events *do* propagate
|
|
18160
18227
|
* to the `Application` level, with the name pattern `window-view-eventname`.
|
package/out/fdc3-api-beta.d.ts
CHANGED
|
@@ -3477,6 +3477,16 @@ declare type ConstWindowOptions = {
|
|
|
3477
3477
|
* Default is white.
|
|
3478
3478
|
*/
|
|
3479
3479
|
backgroundColor: string;
|
|
3480
|
+
/**
|
|
3481
|
+
* @defaultValue false
|
|
3482
|
+
*
|
|
3483
|
+
* Determines whether WebContents will throttle animations and timers when the page becomes backgrounded.
|
|
3484
|
+
* This also affects the Page Visibility API.
|
|
3485
|
+
*
|
|
3486
|
+
* When `true`, the page is throttled whether it is hidden or not.
|
|
3487
|
+
*
|
|
3488
|
+
*/
|
|
3489
|
+
backgroundThrottling: boolean;
|
|
3480
3490
|
/**
|
|
3481
3491
|
* Configures how new content (e,g, from `window.open` or a link) is opened.
|
|
3482
3492
|
*/
|
|
@@ -8924,6 +8934,12 @@ declare type MutableViewOptions = {
|
|
|
8924
8934
|
preventDragOut: boolean;
|
|
8925
8935
|
interop?: InteropConfig;
|
|
8926
8936
|
/* Excluded from this release type: _internalWorkspaceData */
|
|
8937
|
+
/**
|
|
8938
|
+
* {@inheritDoc ViewThrottling}
|
|
8939
|
+
*
|
|
8940
|
+
* @defaultValue 'enabled'
|
|
8941
|
+
*/
|
|
8942
|
+
throttling: ViewThrottling;
|
|
8927
8943
|
};
|
|
8928
8944
|
|
|
8929
8945
|
/**
|
|
@@ -9167,6 +9183,14 @@ declare type MutableWindowOptions = {
|
|
|
9167
9183
|
interop: InteropConfig;
|
|
9168
9184
|
/* Excluded from this release type: _internalWorkspaceData */
|
|
9169
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;
|
|
9170
9194
|
};
|
|
9171
9195
|
|
|
9172
9196
|
declare type NackHandler = (payloadOrMessage: RuntimeErrorPayload | string) => void;
|
|
@@ -9370,6 +9394,8 @@ declare namespace OpenFin {
|
|
|
9370
9394
|
AutoResizeOptions,
|
|
9371
9395
|
InteropConfig,
|
|
9372
9396
|
ViewInfo,
|
|
9397
|
+
WindowThrottling,
|
|
9398
|
+
ViewThrottling,
|
|
9373
9399
|
UpdatableViewOptions,
|
|
9374
9400
|
ViewCreationOptions,
|
|
9375
9401
|
MutableViewOptions,
|
|
@@ -9617,6 +9643,7 @@ declare namespace OpenFin {
|
|
|
9617
9643
|
ChannelProviderDisconnectionListener,
|
|
9618
9644
|
RoutingInfo,
|
|
9619
9645
|
DownloadShelfOptions,
|
|
9646
|
+
ViewShowAtOptions,
|
|
9620
9647
|
ApplicationEvents,
|
|
9621
9648
|
BaseEvents,
|
|
9622
9649
|
ExternalApplicationEvents,
|
|
@@ -11744,6 +11771,11 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
11744
11771
|
'get-view-options': IdentityCall<{}, OpenFin.ViewOptions>;
|
|
11745
11772
|
'hide-view': IdentityCall;
|
|
11746
11773
|
'show-view': IdentityCall;
|
|
11774
|
+
'show-view-at': IdentityCall<{
|
|
11775
|
+
bounds: OpenFin.Bounds;
|
|
11776
|
+
options?: OpenFin.ViewShowAtOptions;
|
|
11777
|
+
}>;
|
|
11778
|
+
'bring-view-to-front': IdentityCall;
|
|
11747
11779
|
'update-view-options': IdentityCall<{
|
|
11748
11780
|
options: OpenFin.UpdatableViewOptions;
|
|
11749
11781
|
}>;
|
|
@@ -15078,6 +15110,8 @@ declare class View_2 extends WebContents<OpenFin.ViewEvent> {
|
|
|
15078
15110
|
* left: 100,
|
|
15079
15111
|
* width: 300,
|
|
15080
15112
|
* height: 300
|
|
15113
|
+
* }, {
|
|
15114
|
+
* bringToFront : true
|
|
15081
15115
|
* });
|
|
15082
15116
|
* }
|
|
15083
15117
|
*
|
|
@@ -15087,7 +15121,15 @@ declare class View_2 extends WebContents<OpenFin.ViewEvent> {
|
|
|
15087
15121
|
* ```
|
|
15088
15122
|
* @experimental
|
|
15089
15123
|
*/
|
|
15090
|
-
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>;
|
|
15091
15133
|
/**
|
|
15092
15134
|
* Hides the current view if it is currently visible.
|
|
15093
15135
|
*
|
|
@@ -15559,6 +15601,14 @@ declare class ViewModule extends Base {
|
|
|
15559
15601
|
*/
|
|
15560
15602
|
declare type ViewOptions = ConstViewOptions & MutableViewOptions;
|
|
15561
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
|
+
|
|
15562
15612
|
/**
|
|
15563
15613
|
* Represents the payload shape for Views that are trying to prevent an unload.
|
|
15564
15614
|
* @interface
|
|
@@ -15590,7 +15640,6 @@ declare interface ViewsPreventingUnloadPayload {
|
|
|
15590
15640
|
* @interface
|
|
15591
15641
|
*/
|
|
15592
15642
|
declare type ViewState = ViewCreationOptions & {
|
|
15593
|
-
backgroundThrottling: boolean;
|
|
15594
15643
|
componentName: 'view';
|
|
15595
15644
|
initialUrl: string;
|
|
15596
15645
|
minWidth?: number;
|
|
@@ -15612,6 +15661,14 @@ declare interface ViewStatuses {
|
|
|
15612
15661
|
viewsNotPreventingUnload: Identity_5[];
|
|
15613
15662
|
}
|
|
15614
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
|
+
|
|
15615
15672
|
/**
|
|
15616
15673
|
* Configuration for view visibility settings
|
|
15617
15674
|
*
|
|
@@ -18155,6 +18212,16 @@ declare type WindowStartLoadEvent = BaseEvent_3 & {
|
|
|
18155
18212
|
*/
|
|
18156
18213
|
declare type WindowState = 'maximized' | 'minimized' | 'normal';
|
|
18157
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
|
+
|
|
18158
18225
|
/**
|
|
18159
18226
|
* A view-related event that fires natively on the `Window` topic. This means that these events *do* propagate
|
|
18160
18227
|
* to the `Application` level, with the name pattern `window-view-eventname`.
|
package/out/fdc3-api-public.d.ts
CHANGED
|
@@ -3477,6 +3477,16 @@ declare type ConstWindowOptions = {
|
|
|
3477
3477
|
* Default is white.
|
|
3478
3478
|
*/
|
|
3479
3479
|
backgroundColor: string;
|
|
3480
|
+
/**
|
|
3481
|
+
* @defaultValue false
|
|
3482
|
+
*
|
|
3483
|
+
* Determines whether WebContents will throttle animations and timers when the page becomes backgrounded.
|
|
3484
|
+
* This also affects the Page Visibility API.
|
|
3485
|
+
*
|
|
3486
|
+
* When `true`, the page is throttled whether it is hidden or not.
|
|
3487
|
+
*
|
|
3488
|
+
*/
|
|
3489
|
+
backgroundThrottling: boolean;
|
|
3480
3490
|
/**
|
|
3481
3491
|
* Configures how new content (e,g, from `window.open` or a link) is opened.
|
|
3482
3492
|
*/
|
|
@@ -8924,6 +8934,12 @@ declare type MutableViewOptions = {
|
|
|
8924
8934
|
preventDragOut: boolean;
|
|
8925
8935
|
interop?: InteropConfig;
|
|
8926
8936
|
/* Excluded from this release type: _internalWorkspaceData */
|
|
8937
|
+
/**
|
|
8938
|
+
* {@inheritDoc ViewThrottling}
|
|
8939
|
+
*
|
|
8940
|
+
* @defaultValue 'enabled'
|
|
8941
|
+
*/
|
|
8942
|
+
throttling: ViewThrottling;
|
|
8927
8943
|
};
|
|
8928
8944
|
|
|
8929
8945
|
/**
|
|
@@ -9167,6 +9183,14 @@ declare type MutableWindowOptions = {
|
|
|
9167
9183
|
interop: InteropConfig;
|
|
9168
9184
|
/* Excluded from this release type: _internalWorkspaceData */
|
|
9169
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;
|
|
9170
9194
|
};
|
|
9171
9195
|
|
|
9172
9196
|
declare type NackHandler = (payloadOrMessage: RuntimeErrorPayload | string) => void;
|
|
@@ -9370,6 +9394,8 @@ declare namespace OpenFin {
|
|
|
9370
9394
|
AutoResizeOptions,
|
|
9371
9395
|
InteropConfig,
|
|
9372
9396
|
ViewInfo,
|
|
9397
|
+
WindowThrottling,
|
|
9398
|
+
ViewThrottling,
|
|
9373
9399
|
UpdatableViewOptions,
|
|
9374
9400
|
ViewCreationOptions,
|
|
9375
9401
|
MutableViewOptions,
|
|
@@ -9617,6 +9643,7 @@ declare namespace OpenFin {
|
|
|
9617
9643
|
ChannelProviderDisconnectionListener,
|
|
9618
9644
|
RoutingInfo,
|
|
9619
9645
|
DownloadShelfOptions,
|
|
9646
|
+
ViewShowAtOptions,
|
|
9620
9647
|
ApplicationEvents,
|
|
9621
9648
|
BaseEvents,
|
|
9622
9649
|
ExternalApplicationEvents,
|
|
@@ -11744,6 +11771,11 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
11744
11771
|
'get-view-options': IdentityCall<{}, OpenFin.ViewOptions>;
|
|
11745
11772
|
'hide-view': IdentityCall;
|
|
11746
11773
|
'show-view': IdentityCall;
|
|
11774
|
+
'show-view-at': IdentityCall<{
|
|
11775
|
+
bounds: OpenFin.Bounds;
|
|
11776
|
+
options?: OpenFin.ViewShowAtOptions;
|
|
11777
|
+
}>;
|
|
11778
|
+
'bring-view-to-front': IdentityCall;
|
|
11747
11779
|
'update-view-options': IdentityCall<{
|
|
11748
11780
|
options: OpenFin.UpdatableViewOptions;
|
|
11749
11781
|
}>;
|
|
@@ -15078,6 +15110,8 @@ declare class View_2 extends WebContents<OpenFin.ViewEvent> {
|
|
|
15078
15110
|
* left: 100,
|
|
15079
15111
|
* width: 300,
|
|
15080
15112
|
* height: 300
|
|
15113
|
+
* }, {
|
|
15114
|
+
* bringToFront : true
|
|
15081
15115
|
* });
|
|
15082
15116
|
* }
|
|
15083
15117
|
*
|
|
@@ -15087,7 +15121,15 @@ declare class View_2 extends WebContents<OpenFin.ViewEvent> {
|
|
|
15087
15121
|
* ```
|
|
15088
15122
|
* @experimental
|
|
15089
15123
|
*/
|
|
15090
|
-
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>;
|
|
15091
15133
|
/**
|
|
15092
15134
|
* Hides the current view if it is currently visible.
|
|
15093
15135
|
*
|
|
@@ -15559,6 +15601,14 @@ declare class ViewModule extends Base {
|
|
|
15559
15601
|
*/
|
|
15560
15602
|
declare type ViewOptions = ConstViewOptions & MutableViewOptions;
|
|
15561
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
|
+
|
|
15562
15612
|
/**
|
|
15563
15613
|
* Represents the payload shape for Views that are trying to prevent an unload.
|
|
15564
15614
|
* @interface
|
|
@@ -15590,7 +15640,6 @@ declare interface ViewsPreventingUnloadPayload {
|
|
|
15590
15640
|
* @interface
|
|
15591
15641
|
*/
|
|
15592
15642
|
declare type ViewState = ViewCreationOptions & {
|
|
15593
|
-
backgroundThrottling: boolean;
|
|
15594
15643
|
componentName: 'view';
|
|
15595
15644
|
initialUrl: string;
|
|
15596
15645
|
minWidth?: number;
|
|
@@ -15612,6 +15661,14 @@ declare interface ViewStatuses {
|
|
|
15612
15661
|
viewsNotPreventingUnload: Identity_5[];
|
|
15613
15662
|
}
|
|
15614
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
|
+
|
|
15615
15672
|
/**
|
|
15616
15673
|
* Configuration for view visibility settings
|
|
15617
15674
|
*
|
|
@@ -18155,6 +18212,16 @@ declare type WindowStartLoadEvent = BaseEvent_3 & {
|
|
|
18155
18212
|
*/
|
|
18156
18213
|
declare type WindowState = 'maximized' | 'minimized' | 'normal';
|
|
18157
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
|
+
|
|
18158
18225
|
/**
|
|
18159
18226
|
* A view-related event that fires natively on the `Window` topic. This means that these events *do* propagate
|
|
18160
18227
|
* to the `Application` level, with the name pattern `window-view-eventname`.
|
package/out/fdc3-api.d.ts
CHANGED
|
@@ -3536,6 +3536,16 @@ declare type ConstWindowOptions = {
|
|
|
3536
3536
|
* Default is white.
|
|
3537
3537
|
*/
|
|
3538
3538
|
backgroundColor: string;
|
|
3539
|
+
/**
|
|
3540
|
+
* @defaultValue false
|
|
3541
|
+
*
|
|
3542
|
+
* Determines whether WebContents will throttle animations and timers when the page becomes backgrounded.
|
|
3543
|
+
* This also affects the Page Visibility API.
|
|
3544
|
+
*
|
|
3545
|
+
* When `true`, the page is throttled whether it is hidden or not.
|
|
3546
|
+
*
|
|
3547
|
+
*/
|
|
3548
|
+
backgroundThrottling: boolean;
|
|
3539
3549
|
/**
|
|
3540
3550
|
* Configures how new content (e,g, from `window.open` or a link) is opened.
|
|
3541
3551
|
*/
|
|
@@ -9221,6 +9231,12 @@ declare type MutableViewOptions = {
|
|
|
9221
9231
|
* Used by Workspace to store custom data. Overwriting or modifying this field may impact the functionality of Workspace
|
|
9222
9232
|
*/
|
|
9223
9233
|
_internalWorkspaceData: any;
|
|
9234
|
+
/**
|
|
9235
|
+
* {@inheritDoc ViewThrottling}
|
|
9236
|
+
*
|
|
9237
|
+
* @defaultValue 'enabled'
|
|
9238
|
+
*/
|
|
9239
|
+
throttling: ViewThrottling;
|
|
9224
9240
|
};
|
|
9225
9241
|
|
|
9226
9242
|
/**
|
|
@@ -9472,6 +9488,14 @@ declare type MutableWindowOptions = {
|
|
|
9472
9488
|
* Used by workspace to stork platform specific options. Overwriting or modifying this field may impact the functionality of Workspace
|
|
9473
9489
|
*/
|
|
9474
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;
|
|
9475
9499
|
};
|
|
9476
9500
|
|
|
9477
9501
|
declare type NackHandler = (payloadOrMessage: RuntimeErrorPayload | string) => void;
|
|
@@ -9685,6 +9709,8 @@ declare namespace OpenFin {
|
|
|
9685
9709
|
AutoResizeOptions,
|
|
9686
9710
|
InteropConfig,
|
|
9687
9711
|
ViewInfo,
|
|
9712
|
+
WindowThrottling,
|
|
9713
|
+
ViewThrottling,
|
|
9688
9714
|
UpdatableViewOptions,
|
|
9689
9715
|
ViewCreationOptions,
|
|
9690
9716
|
MutableViewOptions,
|
|
@@ -9932,6 +9958,7 @@ declare namespace OpenFin {
|
|
|
9932
9958
|
ChannelProviderDisconnectionListener,
|
|
9933
9959
|
RoutingInfo,
|
|
9934
9960
|
DownloadShelfOptions,
|
|
9961
|
+
ViewShowAtOptions,
|
|
9935
9962
|
ApplicationEvents,
|
|
9936
9963
|
BaseEvents,
|
|
9937
9964
|
ExternalApplicationEvents,
|
|
@@ -12137,6 +12164,11 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
12137
12164
|
'get-view-options': IdentityCall<{}, OpenFin.ViewOptions>;
|
|
12138
12165
|
'hide-view': IdentityCall;
|
|
12139
12166
|
'show-view': IdentityCall;
|
|
12167
|
+
'show-view-at': IdentityCall<{
|
|
12168
|
+
bounds: OpenFin.Bounds;
|
|
12169
|
+
options?: OpenFin.ViewShowAtOptions;
|
|
12170
|
+
}>;
|
|
12171
|
+
'bring-view-to-front': IdentityCall;
|
|
12140
12172
|
'update-view-options': IdentityCall<{
|
|
12141
12173
|
options: OpenFin.UpdatableViewOptions;
|
|
12142
12174
|
}>;
|
|
@@ -15487,6 +15519,8 @@ declare class View_2 extends WebContents<OpenFin.ViewEvent> {
|
|
|
15487
15519
|
* left: 100,
|
|
15488
15520
|
* width: 300,
|
|
15489
15521
|
* height: 300
|
|
15522
|
+
* }, {
|
|
15523
|
+
* bringToFront : true
|
|
15490
15524
|
* });
|
|
15491
15525
|
* }
|
|
15492
15526
|
*
|
|
@@ -15496,7 +15530,15 @@ declare class View_2 extends WebContents<OpenFin.ViewEvent> {
|
|
|
15496
15530
|
* ```
|
|
15497
15531
|
* @experimental
|
|
15498
15532
|
*/
|
|
15499
|
-
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>;
|
|
15500
15542
|
/**
|
|
15501
15543
|
* Hides the current view if it is currently visible.
|
|
15502
15544
|
*
|
|
@@ -16002,6 +16044,14 @@ declare class ViewModule extends Base {
|
|
|
16002
16044
|
*/
|
|
16003
16045
|
declare type ViewOptions = ConstViewOptions & MutableViewOptions;
|
|
16004
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
|
+
|
|
16005
16055
|
/**
|
|
16006
16056
|
* Represents the payload shape for Views that are trying to prevent an unload.
|
|
16007
16057
|
* @interface
|
|
@@ -16033,7 +16083,6 @@ declare interface ViewsPreventingUnloadPayload {
|
|
|
16033
16083
|
* @interface
|
|
16034
16084
|
*/
|
|
16035
16085
|
declare type ViewState = ViewCreationOptions & {
|
|
16036
|
-
backgroundThrottling: boolean;
|
|
16037
16086
|
componentName: 'view';
|
|
16038
16087
|
initialUrl: string;
|
|
16039
16088
|
minWidth?: number;
|
|
@@ -16055,6 +16104,14 @@ declare interface ViewStatuses {
|
|
|
16055
16104
|
viewsNotPreventingUnload: Identity_5[];
|
|
16056
16105
|
}
|
|
16057
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
|
+
|
|
16058
16115
|
/**
|
|
16059
16116
|
* Configuration for view visibility settings
|
|
16060
16117
|
*
|
|
@@ -18601,6 +18658,16 @@ declare type WindowStartLoadEvent = BaseEvent_3 & {
|
|
|
18601
18658
|
*/
|
|
18602
18659
|
declare type WindowState = 'maximized' | 'minimized' | 'normal';
|
|
18603
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
|
+
|
|
18604
18671
|
/**
|
|
18605
18672
|
* A view-related event that fires natively on the `Window` topic. This means that these events *do* propagate
|
|
18606
18673
|
* to the `Application` level, with the name pattern `window-view-eventname`.
|