@openfin/core 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/mock-alpha.d.ts +59 -1
- package/out/mock-beta.d.ts +59 -1
- package/out/mock-public.d.ts +59 -1
- package/out/mock.d.ts +59 -1
- package/out/mock.js +14 -2
- package/package.json +2 -2
package/out/mock-alpha.d.ts
CHANGED
@@ -8592,6 +8592,12 @@ declare type MutableViewOptions = {
|
|
8592
8592
|
preventDragOut: boolean;
|
8593
8593
|
interop?: InteropConfig;
|
8594
8594
|
/* Excluded from this release type: _internalWorkspaceData */
|
8595
|
+
/**
|
8596
|
+
* {@inheritDoc ViewThrottling}
|
8597
|
+
*
|
8598
|
+
* @defaultValue 'enabled'
|
8599
|
+
*/
|
8600
|
+
throttling: ViewThrottling;
|
8595
8601
|
};
|
8596
8602
|
|
8597
8603
|
/**
|
@@ -8835,6 +8841,14 @@ declare type MutableWindowOptions = {
|
|
8835
8841
|
interop: InteropConfig;
|
8836
8842
|
/* Excluded from this release type: _internalWorkspaceData */
|
8837
8843
|
/* Excluded from this release type: workspacePlatform */
|
8844
|
+
/**
|
8845
|
+
* {@inheritDoc WindowThrottling}
|
8846
|
+
*
|
8847
|
+
* @defaultValue 'enabled'
|
8848
|
+
*
|
8849
|
+
* @remarks If `throttling` option is present, the `backgroundThrottling` option is completely ignored for windows.
|
8850
|
+
*/
|
8851
|
+
throttling: WindowThrottling;
|
8838
8852
|
};
|
8839
8853
|
|
8840
8854
|
declare type NackHandler = (payloadOrMessage: RuntimeErrorPayload | string) => void;
|
@@ -9038,6 +9052,8 @@ declare namespace OpenFin_2 {
|
|
9038
9052
|
AutoResizeOptions,
|
9039
9053
|
InteropConfig,
|
9040
9054
|
ViewInfo,
|
9055
|
+
WindowThrottling,
|
9056
|
+
ViewThrottling,
|
9041
9057
|
UpdatableViewOptions,
|
9042
9058
|
ViewCreationOptions,
|
9043
9059
|
MutableViewOptions,
|
@@ -9285,6 +9301,7 @@ declare namespace OpenFin_2 {
|
|
9285
9301
|
ChannelProviderDisconnectionListener,
|
9286
9302
|
RoutingInfo,
|
9287
9303
|
DownloadShelfOptions,
|
9304
|
+
ViewShowAtOptions,
|
9288
9305
|
ApplicationEvents,
|
9289
9306
|
BaseEvents,
|
9290
9307
|
ExternalApplicationEvents,
|
@@ -11414,6 +11431,11 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
11414
11431
|
'get-view-options': IdentityCall<{}, OpenFin_2.ViewOptions>;
|
11415
11432
|
'hide-view': IdentityCall;
|
11416
11433
|
'show-view': IdentityCall;
|
11434
|
+
'show-view-at': IdentityCall<{
|
11435
|
+
bounds: OpenFin_2.Bounds;
|
11436
|
+
options?: OpenFin_2.ViewShowAtOptions;
|
11437
|
+
}>;
|
11438
|
+
'bring-view-to-front': IdentityCall;
|
11417
11439
|
'update-view-options': IdentityCall<{
|
11418
11440
|
options: OpenFin_2.UpdatableViewOptions;
|
11419
11441
|
}>;
|
@@ -14642,6 +14664,8 @@ declare class View_2 extends WebContents<OpenFin_2.ViewEvent> {
|
|
14642
14664
|
* left: 100,
|
14643
14665
|
* width: 300,
|
14644
14666
|
* height: 300
|
14667
|
+
* }, {
|
14668
|
+
* bringToFront : true
|
14645
14669
|
* });
|
14646
14670
|
* }
|
14647
14671
|
*
|
@@ -14651,7 +14675,15 @@ declare class View_2 extends WebContents<OpenFin_2.ViewEvent> {
|
|
14651
14675
|
* ```
|
14652
14676
|
* @experimental
|
14653
14677
|
*/
|
14654
|
-
showAt: (bounds: OpenFin_2.Bounds) => Promise<void>;
|
14678
|
+
showAt: (bounds: OpenFin_2.Bounds, options?: OpenFin_2.ViewShowAtOptions) => Promise<void>;
|
14679
|
+
/**
|
14680
|
+
* Brings the specified view to the front of its current window. This ensures the view will be visible on top of any other views
|
14681
|
+
* which have overlapping bounds with it.
|
14682
|
+
*
|
14683
|
+
* 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
|
14684
|
+
* in the window that share bounds with it.
|
14685
|
+
*/
|
14686
|
+
bringToFront: () => Promise<void>;
|
14655
14687
|
/**
|
14656
14688
|
* Hides the current view if it is currently visible.
|
14657
14689
|
*
|
@@ -15123,6 +15155,14 @@ declare class ViewModule extends Base {
|
|
15123
15155
|
*/
|
15124
15156
|
declare type ViewOptions = ConstViewOptions & MutableViewOptions;
|
15125
15157
|
|
15158
|
+
declare type ViewShowAtOptions = {
|
15159
|
+
/**
|
15160
|
+
* Sets the view as the top level view. See {@link OpenFin.View.bringToFront} for more information.
|
15161
|
+
* @default false
|
15162
|
+
*/
|
15163
|
+
bringToFront?: true;
|
15164
|
+
};
|
15165
|
+
|
15126
15166
|
/**
|
15127
15167
|
* Represents the payload shape for Views that are trying to prevent an unload.
|
15128
15168
|
* @interface
|
@@ -15175,6 +15215,14 @@ declare interface ViewStatuses {
|
|
15175
15215
|
viewsNotPreventingUnload: Identity_5[];
|
15176
15216
|
}
|
15177
15217
|
|
15218
|
+
/**
|
15219
|
+
* View throttling state.
|
15220
|
+
*
|
15221
|
+
* * `enabled`: Both background throttling and scheduler throttling are true. It's fully throttled.
|
15222
|
+
* * `scheduler-disabled`: background throttling is true, but scheduler throttling is disabled.
|
15223
|
+
*/
|
15224
|
+
declare type ViewThrottling = 'enabled' | 'scheduler-disabled';
|
15225
|
+
|
15178
15226
|
/**
|
15179
15227
|
* Configuration for view visibility settings
|
15180
15228
|
*
|
@@ -17718,6 +17766,16 @@ declare type WindowStartLoadEvent = BaseEvent_3 & {
|
|
17718
17766
|
*/
|
17719
17767
|
declare type WindowState = 'maximized' | 'minimized' | 'normal';
|
17720
17768
|
|
17769
|
+
/**
|
17770
|
+
*
|
17771
|
+
* Window throttling state.
|
17772
|
+
*
|
17773
|
+
* * `enabled`: Both background throttling and scheduler throttling are true. It's fully throttled.
|
17774
|
+
* * `scheduler-disabled`: The background throttling is true, but scheduler throttling is disabled.
|
17775
|
+
* * `disabled`: The background throttling is false. The throttling is fully disabled.
|
17776
|
+
*/
|
17777
|
+
declare type WindowThrottling = 'enabled' | 'scheduler-disabled' | 'disabled';
|
17778
|
+
|
17721
17779
|
/**
|
17722
17780
|
* A view-related event that fires natively on the `Window` topic. This means that these events *do* propagate
|
17723
17781
|
* to the `Application` level, with the name pattern `window-view-eventname`.
|
package/out/mock-beta.d.ts
CHANGED
@@ -8592,6 +8592,12 @@ declare type MutableViewOptions = {
|
|
8592
8592
|
preventDragOut: boolean;
|
8593
8593
|
interop?: InteropConfig;
|
8594
8594
|
/* Excluded from this release type: _internalWorkspaceData */
|
8595
|
+
/**
|
8596
|
+
* {@inheritDoc ViewThrottling}
|
8597
|
+
*
|
8598
|
+
* @defaultValue 'enabled'
|
8599
|
+
*/
|
8600
|
+
throttling: ViewThrottling;
|
8595
8601
|
};
|
8596
8602
|
|
8597
8603
|
/**
|
@@ -8835,6 +8841,14 @@ declare type MutableWindowOptions = {
|
|
8835
8841
|
interop: InteropConfig;
|
8836
8842
|
/* Excluded from this release type: _internalWorkspaceData */
|
8837
8843
|
/* Excluded from this release type: workspacePlatform */
|
8844
|
+
/**
|
8845
|
+
* {@inheritDoc WindowThrottling}
|
8846
|
+
*
|
8847
|
+
* @defaultValue 'enabled'
|
8848
|
+
*
|
8849
|
+
* @remarks If `throttling` option is present, the `backgroundThrottling` option is completely ignored for windows.
|
8850
|
+
*/
|
8851
|
+
throttling: WindowThrottling;
|
8838
8852
|
};
|
8839
8853
|
|
8840
8854
|
declare type NackHandler = (payloadOrMessage: RuntimeErrorPayload | string) => void;
|
@@ -9038,6 +9052,8 @@ declare namespace OpenFin_2 {
|
|
9038
9052
|
AutoResizeOptions,
|
9039
9053
|
InteropConfig,
|
9040
9054
|
ViewInfo,
|
9055
|
+
WindowThrottling,
|
9056
|
+
ViewThrottling,
|
9041
9057
|
UpdatableViewOptions,
|
9042
9058
|
ViewCreationOptions,
|
9043
9059
|
MutableViewOptions,
|
@@ -9285,6 +9301,7 @@ declare namespace OpenFin_2 {
|
|
9285
9301
|
ChannelProviderDisconnectionListener,
|
9286
9302
|
RoutingInfo,
|
9287
9303
|
DownloadShelfOptions,
|
9304
|
+
ViewShowAtOptions,
|
9288
9305
|
ApplicationEvents,
|
9289
9306
|
BaseEvents,
|
9290
9307
|
ExternalApplicationEvents,
|
@@ -11414,6 +11431,11 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
11414
11431
|
'get-view-options': IdentityCall<{}, OpenFin_2.ViewOptions>;
|
11415
11432
|
'hide-view': IdentityCall;
|
11416
11433
|
'show-view': IdentityCall;
|
11434
|
+
'show-view-at': IdentityCall<{
|
11435
|
+
bounds: OpenFin_2.Bounds;
|
11436
|
+
options?: OpenFin_2.ViewShowAtOptions;
|
11437
|
+
}>;
|
11438
|
+
'bring-view-to-front': IdentityCall;
|
11417
11439
|
'update-view-options': IdentityCall<{
|
11418
11440
|
options: OpenFin_2.UpdatableViewOptions;
|
11419
11441
|
}>;
|
@@ -14642,6 +14664,8 @@ declare class View_2 extends WebContents<OpenFin_2.ViewEvent> {
|
|
14642
14664
|
* left: 100,
|
14643
14665
|
* width: 300,
|
14644
14666
|
* height: 300
|
14667
|
+
* }, {
|
14668
|
+
* bringToFront : true
|
14645
14669
|
* });
|
14646
14670
|
* }
|
14647
14671
|
*
|
@@ -14651,7 +14675,15 @@ declare class View_2 extends WebContents<OpenFin_2.ViewEvent> {
|
|
14651
14675
|
* ```
|
14652
14676
|
* @experimental
|
14653
14677
|
*/
|
14654
|
-
showAt: (bounds: OpenFin_2.Bounds) => Promise<void>;
|
14678
|
+
showAt: (bounds: OpenFin_2.Bounds, options?: OpenFin_2.ViewShowAtOptions) => Promise<void>;
|
14679
|
+
/**
|
14680
|
+
* Brings the specified view to the front of its current window. This ensures the view will be visible on top of any other views
|
14681
|
+
* which have overlapping bounds with it.
|
14682
|
+
*
|
14683
|
+
* 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
|
14684
|
+
* in the window that share bounds with it.
|
14685
|
+
*/
|
14686
|
+
bringToFront: () => Promise<void>;
|
14655
14687
|
/**
|
14656
14688
|
* Hides the current view if it is currently visible.
|
14657
14689
|
*
|
@@ -15123,6 +15155,14 @@ declare class ViewModule extends Base {
|
|
15123
15155
|
*/
|
15124
15156
|
declare type ViewOptions = ConstViewOptions & MutableViewOptions;
|
15125
15157
|
|
15158
|
+
declare type ViewShowAtOptions = {
|
15159
|
+
/**
|
15160
|
+
* Sets the view as the top level view. See {@link OpenFin.View.bringToFront} for more information.
|
15161
|
+
* @default false
|
15162
|
+
*/
|
15163
|
+
bringToFront?: true;
|
15164
|
+
};
|
15165
|
+
|
15126
15166
|
/**
|
15127
15167
|
* Represents the payload shape for Views that are trying to prevent an unload.
|
15128
15168
|
* @interface
|
@@ -15175,6 +15215,14 @@ declare interface ViewStatuses {
|
|
15175
15215
|
viewsNotPreventingUnload: Identity_5[];
|
15176
15216
|
}
|
15177
15217
|
|
15218
|
+
/**
|
15219
|
+
* View throttling state.
|
15220
|
+
*
|
15221
|
+
* * `enabled`: Both background throttling and scheduler throttling are true. It's fully throttled.
|
15222
|
+
* * `scheduler-disabled`: background throttling is true, but scheduler throttling is disabled.
|
15223
|
+
*/
|
15224
|
+
declare type ViewThrottling = 'enabled' | 'scheduler-disabled';
|
15225
|
+
|
15178
15226
|
/**
|
15179
15227
|
* Configuration for view visibility settings
|
15180
15228
|
*
|
@@ -17718,6 +17766,16 @@ declare type WindowStartLoadEvent = BaseEvent_3 & {
|
|
17718
17766
|
*/
|
17719
17767
|
declare type WindowState = 'maximized' | 'minimized' | 'normal';
|
17720
17768
|
|
17769
|
+
/**
|
17770
|
+
*
|
17771
|
+
* Window throttling state.
|
17772
|
+
*
|
17773
|
+
* * `enabled`: Both background throttling and scheduler throttling are true. It's fully throttled.
|
17774
|
+
* * `scheduler-disabled`: The background throttling is true, but scheduler throttling is disabled.
|
17775
|
+
* * `disabled`: The background throttling is false. The throttling is fully disabled.
|
17776
|
+
*/
|
17777
|
+
declare type WindowThrottling = 'enabled' | 'scheduler-disabled' | 'disabled';
|
17778
|
+
|
17721
17779
|
/**
|
17722
17780
|
* A view-related event that fires natively on the `Window` topic. This means that these events *do* propagate
|
17723
17781
|
* to the `Application` level, with the name pattern `window-view-eventname`.
|
package/out/mock-public.d.ts
CHANGED
@@ -8592,6 +8592,12 @@ declare type MutableViewOptions = {
|
|
8592
8592
|
preventDragOut: boolean;
|
8593
8593
|
interop?: InteropConfig;
|
8594
8594
|
/* Excluded from this release type: _internalWorkspaceData */
|
8595
|
+
/**
|
8596
|
+
* {@inheritDoc ViewThrottling}
|
8597
|
+
*
|
8598
|
+
* @defaultValue 'enabled'
|
8599
|
+
*/
|
8600
|
+
throttling: ViewThrottling;
|
8595
8601
|
};
|
8596
8602
|
|
8597
8603
|
/**
|
@@ -8835,6 +8841,14 @@ declare type MutableWindowOptions = {
|
|
8835
8841
|
interop: InteropConfig;
|
8836
8842
|
/* Excluded from this release type: _internalWorkspaceData */
|
8837
8843
|
/* Excluded from this release type: workspacePlatform */
|
8844
|
+
/**
|
8845
|
+
* {@inheritDoc WindowThrottling}
|
8846
|
+
*
|
8847
|
+
* @defaultValue 'enabled'
|
8848
|
+
*
|
8849
|
+
* @remarks If `throttling` option is present, the `backgroundThrottling` option is completely ignored for windows.
|
8850
|
+
*/
|
8851
|
+
throttling: WindowThrottling;
|
8838
8852
|
};
|
8839
8853
|
|
8840
8854
|
declare type NackHandler = (payloadOrMessage: RuntimeErrorPayload | string) => void;
|
@@ -9038,6 +9052,8 @@ declare namespace OpenFin_2 {
|
|
9038
9052
|
AutoResizeOptions,
|
9039
9053
|
InteropConfig,
|
9040
9054
|
ViewInfo,
|
9055
|
+
WindowThrottling,
|
9056
|
+
ViewThrottling,
|
9041
9057
|
UpdatableViewOptions,
|
9042
9058
|
ViewCreationOptions,
|
9043
9059
|
MutableViewOptions,
|
@@ -9285,6 +9301,7 @@ declare namespace OpenFin_2 {
|
|
9285
9301
|
ChannelProviderDisconnectionListener,
|
9286
9302
|
RoutingInfo,
|
9287
9303
|
DownloadShelfOptions,
|
9304
|
+
ViewShowAtOptions,
|
9288
9305
|
ApplicationEvents,
|
9289
9306
|
BaseEvents,
|
9290
9307
|
ExternalApplicationEvents,
|
@@ -11414,6 +11431,11 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
11414
11431
|
'get-view-options': IdentityCall<{}, OpenFin_2.ViewOptions>;
|
11415
11432
|
'hide-view': IdentityCall;
|
11416
11433
|
'show-view': IdentityCall;
|
11434
|
+
'show-view-at': IdentityCall<{
|
11435
|
+
bounds: OpenFin_2.Bounds;
|
11436
|
+
options?: OpenFin_2.ViewShowAtOptions;
|
11437
|
+
}>;
|
11438
|
+
'bring-view-to-front': IdentityCall;
|
11417
11439
|
'update-view-options': IdentityCall<{
|
11418
11440
|
options: OpenFin_2.UpdatableViewOptions;
|
11419
11441
|
}>;
|
@@ -14642,6 +14664,8 @@ declare class View_2 extends WebContents<OpenFin_2.ViewEvent> {
|
|
14642
14664
|
* left: 100,
|
14643
14665
|
* width: 300,
|
14644
14666
|
* height: 300
|
14667
|
+
* }, {
|
14668
|
+
* bringToFront : true
|
14645
14669
|
* });
|
14646
14670
|
* }
|
14647
14671
|
*
|
@@ -14651,7 +14675,15 @@ declare class View_2 extends WebContents<OpenFin_2.ViewEvent> {
|
|
14651
14675
|
* ```
|
14652
14676
|
* @experimental
|
14653
14677
|
*/
|
14654
|
-
showAt: (bounds: OpenFin_2.Bounds) => Promise<void>;
|
14678
|
+
showAt: (bounds: OpenFin_2.Bounds, options?: OpenFin_2.ViewShowAtOptions) => Promise<void>;
|
14679
|
+
/**
|
14680
|
+
* Brings the specified view to the front of its current window. This ensures the view will be visible on top of any other views
|
14681
|
+
* which have overlapping bounds with it.
|
14682
|
+
*
|
14683
|
+
* 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
|
14684
|
+
* in the window that share bounds with it.
|
14685
|
+
*/
|
14686
|
+
bringToFront: () => Promise<void>;
|
14655
14687
|
/**
|
14656
14688
|
* Hides the current view if it is currently visible.
|
14657
14689
|
*
|
@@ -15123,6 +15155,14 @@ declare class ViewModule extends Base {
|
|
15123
15155
|
*/
|
15124
15156
|
declare type ViewOptions = ConstViewOptions & MutableViewOptions;
|
15125
15157
|
|
15158
|
+
declare type ViewShowAtOptions = {
|
15159
|
+
/**
|
15160
|
+
* Sets the view as the top level view. See {@link OpenFin.View.bringToFront} for more information.
|
15161
|
+
* @default false
|
15162
|
+
*/
|
15163
|
+
bringToFront?: true;
|
15164
|
+
};
|
15165
|
+
|
15126
15166
|
/**
|
15127
15167
|
* Represents the payload shape for Views that are trying to prevent an unload.
|
15128
15168
|
* @interface
|
@@ -15175,6 +15215,14 @@ declare interface ViewStatuses {
|
|
15175
15215
|
viewsNotPreventingUnload: Identity_5[];
|
15176
15216
|
}
|
15177
15217
|
|
15218
|
+
/**
|
15219
|
+
* View throttling state.
|
15220
|
+
*
|
15221
|
+
* * `enabled`: Both background throttling and scheduler throttling are true. It's fully throttled.
|
15222
|
+
* * `scheduler-disabled`: background throttling is true, but scheduler throttling is disabled.
|
15223
|
+
*/
|
15224
|
+
declare type ViewThrottling = 'enabled' | 'scheduler-disabled';
|
15225
|
+
|
15178
15226
|
/**
|
15179
15227
|
* Configuration for view visibility settings
|
15180
15228
|
*
|
@@ -17718,6 +17766,16 @@ declare type WindowStartLoadEvent = BaseEvent_3 & {
|
|
17718
17766
|
*/
|
17719
17767
|
declare type WindowState = 'maximized' | 'minimized' | 'normal';
|
17720
17768
|
|
17769
|
+
/**
|
17770
|
+
*
|
17771
|
+
* Window throttling state.
|
17772
|
+
*
|
17773
|
+
* * `enabled`: Both background throttling and scheduler throttling are true. It's fully throttled.
|
17774
|
+
* * `scheduler-disabled`: The background throttling is true, but scheduler throttling is disabled.
|
17775
|
+
* * `disabled`: The background throttling is false. The throttling is fully disabled.
|
17776
|
+
*/
|
17777
|
+
declare type WindowThrottling = 'enabled' | 'scheduler-disabled' | 'disabled';
|
17778
|
+
|
17721
17779
|
/**
|
17722
17780
|
* A view-related event that fires natively on the `Window` topic. This means that these events *do* propagate
|
17723
17781
|
* to the `Application` level, with the name pattern `window-view-eventname`.
|
package/out/mock.d.ts
CHANGED
@@ -8889,6 +8889,12 @@ declare type MutableViewOptions = {
|
|
8889
8889
|
* Used by Workspace to store custom data. Overwriting or modifying this field may impact the functionality of Workspace
|
8890
8890
|
*/
|
8891
8891
|
_internalWorkspaceData: any;
|
8892
|
+
/**
|
8893
|
+
* {@inheritDoc ViewThrottling}
|
8894
|
+
*
|
8895
|
+
* @defaultValue 'enabled'
|
8896
|
+
*/
|
8897
|
+
throttling: ViewThrottling;
|
8892
8898
|
};
|
8893
8899
|
|
8894
8900
|
/**
|
@@ -9140,6 +9146,14 @@ declare type MutableWindowOptions = {
|
|
9140
9146
|
* Used by workspace to stork platform specific options. Overwriting or modifying this field may impact the functionality of Workspace
|
9141
9147
|
*/
|
9142
9148
|
workspacePlatform: WorkspacePlatformOptions;
|
9149
|
+
/**
|
9150
|
+
* {@inheritDoc WindowThrottling}
|
9151
|
+
*
|
9152
|
+
* @defaultValue 'enabled'
|
9153
|
+
*
|
9154
|
+
* @remarks If `throttling` option is present, the `backgroundThrottling` option is completely ignored for windows.
|
9155
|
+
*/
|
9156
|
+
throttling: WindowThrottling;
|
9143
9157
|
};
|
9144
9158
|
|
9145
9159
|
declare type NackHandler = (payloadOrMessage: RuntimeErrorPayload | string) => void;
|
@@ -9353,6 +9367,8 @@ declare namespace OpenFin_2 {
|
|
9353
9367
|
AutoResizeOptions,
|
9354
9368
|
InteropConfig,
|
9355
9369
|
ViewInfo,
|
9370
|
+
WindowThrottling,
|
9371
|
+
ViewThrottling,
|
9356
9372
|
UpdatableViewOptions,
|
9357
9373
|
ViewCreationOptions,
|
9358
9374
|
MutableViewOptions,
|
@@ -9600,6 +9616,7 @@ declare namespace OpenFin_2 {
|
|
9600
9616
|
ChannelProviderDisconnectionListener,
|
9601
9617
|
RoutingInfo,
|
9602
9618
|
DownloadShelfOptions,
|
9619
|
+
ViewShowAtOptions,
|
9603
9620
|
ApplicationEvents,
|
9604
9621
|
BaseEvents,
|
9605
9622
|
ExternalApplicationEvents,
|
@@ -11807,6 +11824,11 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
11807
11824
|
'get-view-options': IdentityCall<{}, OpenFin_2.ViewOptions>;
|
11808
11825
|
'hide-view': IdentityCall;
|
11809
11826
|
'show-view': IdentityCall;
|
11827
|
+
'show-view-at': IdentityCall<{
|
11828
|
+
bounds: OpenFin_2.Bounds;
|
11829
|
+
options?: OpenFin_2.ViewShowAtOptions;
|
11830
|
+
}>;
|
11831
|
+
'bring-view-to-front': IdentityCall;
|
11810
11832
|
'update-view-options': IdentityCall<{
|
11811
11833
|
options: OpenFin_2.UpdatableViewOptions;
|
11812
11834
|
}>;
|
@@ -15051,6 +15073,8 @@ declare class View_2 extends WebContents<OpenFin_2.ViewEvent> {
|
|
15051
15073
|
* left: 100,
|
15052
15074
|
* width: 300,
|
15053
15075
|
* height: 300
|
15076
|
+
* }, {
|
15077
|
+
* bringToFront : true
|
15054
15078
|
* });
|
15055
15079
|
* }
|
15056
15080
|
*
|
@@ -15060,7 +15084,15 @@ declare class View_2 extends WebContents<OpenFin_2.ViewEvent> {
|
|
15060
15084
|
* ```
|
15061
15085
|
* @experimental
|
15062
15086
|
*/
|
15063
|
-
showAt: (bounds: OpenFin_2.Bounds) => Promise<void>;
|
15087
|
+
showAt: (bounds: OpenFin_2.Bounds, options?: OpenFin_2.ViewShowAtOptions) => Promise<void>;
|
15088
|
+
/**
|
15089
|
+
* Brings the specified view to the front of its current window. This ensures the view will be visible on top of any other views
|
15090
|
+
* which have overlapping bounds with it.
|
15091
|
+
*
|
15092
|
+
* 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
|
15093
|
+
* in the window that share bounds with it.
|
15094
|
+
*/
|
15095
|
+
bringToFront: () => Promise<void>;
|
15064
15096
|
/**
|
15065
15097
|
* Hides the current view if it is currently visible.
|
15066
15098
|
*
|
@@ -15566,6 +15598,14 @@ declare class ViewModule extends Base {
|
|
15566
15598
|
*/
|
15567
15599
|
declare type ViewOptions = ConstViewOptions & MutableViewOptions;
|
15568
15600
|
|
15601
|
+
declare type ViewShowAtOptions = {
|
15602
|
+
/**
|
15603
|
+
* Sets the view as the top level view. See {@link OpenFin.View.bringToFront} for more information.
|
15604
|
+
* @default false
|
15605
|
+
*/
|
15606
|
+
bringToFront?: true;
|
15607
|
+
};
|
15608
|
+
|
15569
15609
|
/**
|
15570
15610
|
* Represents the payload shape for Views that are trying to prevent an unload.
|
15571
15611
|
* @interface
|
@@ -15618,6 +15658,14 @@ declare interface ViewStatuses {
|
|
15618
15658
|
viewsNotPreventingUnload: Identity_5[];
|
15619
15659
|
}
|
15620
15660
|
|
15661
|
+
/**
|
15662
|
+
* View throttling state.
|
15663
|
+
*
|
15664
|
+
* * `enabled`: Both background throttling and scheduler throttling are true. It's fully throttled.
|
15665
|
+
* * `scheduler-disabled`: background throttling is true, but scheduler throttling is disabled.
|
15666
|
+
*/
|
15667
|
+
declare type ViewThrottling = 'enabled' | 'scheduler-disabled';
|
15668
|
+
|
15621
15669
|
/**
|
15622
15670
|
* Configuration for view visibility settings
|
15623
15671
|
*
|
@@ -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/mock.js
CHANGED
@@ -2821,6 +2821,8 @@ function requireInstance$2 () {
|
|
2821
2821
|
* left: 100,
|
2822
2822
|
* width: 300,
|
2823
2823
|
* height: 300
|
2824
|
+
* }, {
|
2825
|
+
* bringToFront : true
|
2824
2826
|
* });
|
2825
2827
|
* }
|
2826
2828
|
*
|
@@ -2830,8 +2832,18 @@ function requireInstance$2 () {
|
|
2830
2832
|
* ```
|
2831
2833
|
* @experimental
|
2832
2834
|
*/
|
2833
|
-
this.showAt = async (bounds) => {
|
2834
|
-
await this.wire.sendAction('show-view-at', { bounds, ...this.identity });
|
2835
|
+
this.showAt = async (bounds, options = {}) => {
|
2836
|
+
await this.wire.sendAction('show-view-at', { bounds, ...this.identity, options });
|
2837
|
+
};
|
2838
|
+
/**
|
2839
|
+
* Brings the specified view to the front of its current window. This ensures the view will be visible on top of any other views
|
2840
|
+
* which have overlapping bounds with it.
|
2841
|
+
*
|
2842
|
+
* 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
|
2843
|
+
* in the window that share bounds with it.
|
2844
|
+
*/
|
2845
|
+
this.bringToFront = async () => {
|
2846
|
+
await this.wire.sendAction('bring-view-to-front', { ...this.identity });
|
2835
2847
|
};
|
2836
2848
|
/**
|
2837
2849
|
* Hides the current view if it is currently visible.
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@openfin/core",
|
3
|
-
"version": "38.82.
|
3
|
+
"version": "38.82.53",
|
4
4
|
"description": "The core renderer entry point of OpenFin",
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
6
6
|
"main": "out/mock.js",
|
@@ -33,7 +33,7 @@
|
|
33
33
|
],
|
34
34
|
"author": "OpenFin",
|
35
35
|
"dependencies": {
|
36
|
-
"@types/node": "^
|
36
|
+
"@types/node": "^20.14.2",
|
37
37
|
"lodash": "^4.17.21",
|
38
38
|
"ws": "^7.3.0"
|
39
39
|
}
|