@openfin/core 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.
@@ -3480,6 +3480,16 @@ declare type ConstWindowOptions = {
3480
3480
  * Default is white.
3481
3481
  */
3482
3482
  backgroundColor: string;
3483
+ /**
3484
+ * @defaultValue false
3485
+ *
3486
+ * Determines whether WebContents will throttle animations and timers when the page becomes backgrounded.
3487
+ * This also affects the Page Visibility API.
3488
+ *
3489
+ * When `true`, the page is throttled whether it is hidden or not.
3490
+ *
3491
+ */
3492
+ backgroundThrottling: boolean;
3483
3493
  /**
3484
3494
  * Configures how new content (e,g, from `window.open` or a link) is opened.
3485
3495
  */
@@ -8582,6 +8592,12 @@ declare type MutableViewOptions = {
8582
8592
  preventDragOut: boolean;
8583
8593
  interop?: InteropConfig;
8584
8594
  /* Excluded from this release type: _internalWorkspaceData */
8595
+ /**
8596
+ * {@inheritDoc ViewThrottling}
8597
+ *
8598
+ * @defaultValue 'enabled'
8599
+ */
8600
+ throttling: ViewThrottling;
8585
8601
  };
8586
8602
 
8587
8603
  /**
@@ -8825,6 +8841,14 @@ declare type MutableWindowOptions = {
8825
8841
  interop: InteropConfig;
8826
8842
  /* Excluded from this release type: _internalWorkspaceData */
8827
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;
8828
8852
  };
8829
8853
 
8830
8854
  declare type NackHandler = (payloadOrMessage: RuntimeErrorPayload | string) => void;
@@ -9028,6 +9052,8 @@ declare namespace OpenFin_2 {
9028
9052
  AutoResizeOptions,
9029
9053
  InteropConfig,
9030
9054
  ViewInfo,
9055
+ WindowThrottling,
9056
+ ViewThrottling,
9031
9057
  UpdatableViewOptions,
9032
9058
  ViewCreationOptions,
9033
9059
  MutableViewOptions,
@@ -9275,6 +9301,7 @@ declare namespace OpenFin_2 {
9275
9301
  ChannelProviderDisconnectionListener,
9276
9302
  RoutingInfo,
9277
9303
  DownloadShelfOptions,
9304
+ ViewShowAtOptions,
9278
9305
  ApplicationEvents,
9279
9306
  BaseEvents,
9280
9307
  ExternalApplicationEvents,
@@ -11404,6 +11431,11 @@ declare interface ProtocolMap extends ProtocolMapBase {
11404
11431
  'get-view-options': IdentityCall<{}, OpenFin_2.ViewOptions>;
11405
11432
  'hide-view': IdentityCall;
11406
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;
11407
11439
  'update-view-options': IdentityCall<{
11408
11440
  options: OpenFin_2.UpdatableViewOptions;
11409
11441
  }>;
@@ -14632,6 +14664,8 @@ declare class View_2 extends WebContents<OpenFin_2.ViewEvent> {
14632
14664
  * left: 100,
14633
14665
  * width: 300,
14634
14666
  * height: 300
14667
+ * }, {
14668
+ * bringToFront : true
14635
14669
  * });
14636
14670
  * }
14637
14671
  *
@@ -14641,7 +14675,15 @@ declare class View_2 extends WebContents<OpenFin_2.ViewEvent> {
14641
14675
  * ```
14642
14676
  * @experimental
14643
14677
  */
14644
- 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>;
14645
14687
  /**
14646
14688
  * Hides the current view if it is currently visible.
14647
14689
  *
@@ -15113,6 +15155,14 @@ declare class ViewModule extends Base {
15113
15155
  */
15114
15156
  declare type ViewOptions = ConstViewOptions & MutableViewOptions;
15115
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
+
15116
15166
  /**
15117
15167
  * Represents the payload shape for Views that are trying to prevent an unload.
15118
15168
  * @interface
@@ -15144,7 +15194,6 @@ declare interface ViewsPreventingUnloadPayload {
15144
15194
  * @interface
15145
15195
  */
15146
15196
  declare type ViewState = ViewCreationOptions & {
15147
- backgroundThrottling: boolean;
15148
15197
  componentName: 'view';
15149
15198
  initialUrl: string;
15150
15199
  minWidth?: number;
@@ -15166,6 +15215,14 @@ declare interface ViewStatuses {
15166
15215
  viewsNotPreventingUnload: Identity_5[];
15167
15216
  }
15168
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
+
15169
15226
  /**
15170
15227
  * Configuration for view visibility settings
15171
15228
  *
@@ -17709,6 +17766,16 @@ declare type WindowStartLoadEvent = BaseEvent_3 & {
17709
17766
  */
17710
17767
  declare type WindowState = 'maximized' | 'minimized' | 'normal';
17711
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
+
17712
17779
  /**
17713
17780
  * A view-related event that fires natively on the `Window` topic. This means that these events *do* propagate
17714
17781
  * to the `Application` level, with the name pattern `window-view-eventname`.
@@ -3480,6 +3480,16 @@ declare type ConstWindowOptions = {
3480
3480
  * Default is white.
3481
3481
  */
3482
3482
  backgroundColor: string;
3483
+ /**
3484
+ * @defaultValue false
3485
+ *
3486
+ * Determines whether WebContents will throttle animations and timers when the page becomes backgrounded.
3487
+ * This also affects the Page Visibility API.
3488
+ *
3489
+ * When `true`, the page is throttled whether it is hidden or not.
3490
+ *
3491
+ */
3492
+ backgroundThrottling: boolean;
3483
3493
  /**
3484
3494
  * Configures how new content (e,g, from `window.open` or a link) is opened.
3485
3495
  */
@@ -8582,6 +8592,12 @@ declare type MutableViewOptions = {
8582
8592
  preventDragOut: boolean;
8583
8593
  interop?: InteropConfig;
8584
8594
  /* Excluded from this release type: _internalWorkspaceData */
8595
+ /**
8596
+ * {@inheritDoc ViewThrottling}
8597
+ *
8598
+ * @defaultValue 'enabled'
8599
+ */
8600
+ throttling: ViewThrottling;
8585
8601
  };
8586
8602
 
8587
8603
  /**
@@ -8825,6 +8841,14 @@ declare type MutableWindowOptions = {
8825
8841
  interop: InteropConfig;
8826
8842
  /* Excluded from this release type: _internalWorkspaceData */
8827
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;
8828
8852
  };
8829
8853
 
8830
8854
  declare type NackHandler = (payloadOrMessage: RuntimeErrorPayload | string) => void;
@@ -9028,6 +9052,8 @@ declare namespace OpenFin_2 {
9028
9052
  AutoResizeOptions,
9029
9053
  InteropConfig,
9030
9054
  ViewInfo,
9055
+ WindowThrottling,
9056
+ ViewThrottling,
9031
9057
  UpdatableViewOptions,
9032
9058
  ViewCreationOptions,
9033
9059
  MutableViewOptions,
@@ -9275,6 +9301,7 @@ declare namespace OpenFin_2 {
9275
9301
  ChannelProviderDisconnectionListener,
9276
9302
  RoutingInfo,
9277
9303
  DownloadShelfOptions,
9304
+ ViewShowAtOptions,
9278
9305
  ApplicationEvents,
9279
9306
  BaseEvents,
9280
9307
  ExternalApplicationEvents,
@@ -11404,6 +11431,11 @@ declare interface ProtocolMap extends ProtocolMapBase {
11404
11431
  'get-view-options': IdentityCall<{}, OpenFin_2.ViewOptions>;
11405
11432
  'hide-view': IdentityCall;
11406
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;
11407
11439
  'update-view-options': IdentityCall<{
11408
11440
  options: OpenFin_2.UpdatableViewOptions;
11409
11441
  }>;
@@ -14632,6 +14664,8 @@ declare class View_2 extends WebContents<OpenFin_2.ViewEvent> {
14632
14664
  * left: 100,
14633
14665
  * width: 300,
14634
14666
  * height: 300
14667
+ * }, {
14668
+ * bringToFront : true
14635
14669
  * });
14636
14670
  * }
14637
14671
  *
@@ -14641,7 +14675,15 @@ declare class View_2 extends WebContents<OpenFin_2.ViewEvent> {
14641
14675
  * ```
14642
14676
  * @experimental
14643
14677
  */
14644
- 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>;
14645
14687
  /**
14646
14688
  * Hides the current view if it is currently visible.
14647
14689
  *
@@ -15113,6 +15155,14 @@ declare class ViewModule extends Base {
15113
15155
  */
15114
15156
  declare type ViewOptions = ConstViewOptions & MutableViewOptions;
15115
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
+
15116
15166
  /**
15117
15167
  * Represents the payload shape for Views that are trying to prevent an unload.
15118
15168
  * @interface
@@ -15144,7 +15194,6 @@ declare interface ViewsPreventingUnloadPayload {
15144
15194
  * @interface
15145
15195
  */
15146
15196
  declare type ViewState = ViewCreationOptions & {
15147
- backgroundThrottling: boolean;
15148
15197
  componentName: 'view';
15149
15198
  initialUrl: string;
15150
15199
  minWidth?: number;
@@ -15166,6 +15215,14 @@ declare interface ViewStatuses {
15166
15215
  viewsNotPreventingUnload: Identity_5[];
15167
15216
  }
15168
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
+
15169
15226
  /**
15170
15227
  * Configuration for view visibility settings
15171
15228
  *
@@ -17709,6 +17766,16 @@ declare type WindowStartLoadEvent = BaseEvent_3 & {
17709
17766
  */
17710
17767
  declare type WindowState = 'maximized' | 'minimized' | 'normal';
17711
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
+
17712
17779
  /**
17713
17780
  * A view-related event that fires natively on the `Window` topic. This means that these events *do* propagate
17714
17781
  * to the `Application` level, with the name pattern `window-view-eventname`.
@@ -3480,6 +3480,16 @@ declare type ConstWindowOptions = {
3480
3480
  * Default is white.
3481
3481
  */
3482
3482
  backgroundColor: string;
3483
+ /**
3484
+ * @defaultValue false
3485
+ *
3486
+ * Determines whether WebContents will throttle animations and timers when the page becomes backgrounded.
3487
+ * This also affects the Page Visibility API.
3488
+ *
3489
+ * When `true`, the page is throttled whether it is hidden or not.
3490
+ *
3491
+ */
3492
+ backgroundThrottling: boolean;
3483
3493
  /**
3484
3494
  * Configures how new content (e,g, from `window.open` or a link) is opened.
3485
3495
  */
@@ -8582,6 +8592,12 @@ declare type MutableViewOptions = {
8582
8592
  preventDragOut: boolean;
8583
8593
  interop?: InteropConfig;
8584
8594
  /* Excluded from this release type: _internalWorkspaceData */
8595
+ /**
8596
+ * {@inheritDoc ViewThrottling}
8597
+ *
8598
+ * @defaultValue 'enabled'
8599
+ */
8600
+ throttling: ViewThrottling;
8585
8601
  };
8586
8602
 
8587
8603
  /**
@@ -8825,6 +8841,14 @@ declare type MutableWindowOptions = {
8825
8841
  interop: InteropConfig;
8826
8842
  /* Excluded from this release type: _internalWorkspaceData */
8827
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;
8828
8852
  };
8829
8853
 
8830
8854
  declare type NackHandler = (payloadOrMessage: RuntimeErrorPayload | string) => void;
@@ -9028,6 +9052,8 @@ declare namespace OpenFin_2 {
9028
9052
  AutoResizeOptions,
9029
9053
  InteropConfig,
9030
9054
  ViewInfo,
9055
+ WindowThrottling,
9056
+ ViewThrottling,
9031
9057
  UpdatableViewOptions,
9032
9058
  ViewCreationOptions,
9033
9059
  MutableViewOptions,
@@ -9275,6 +9301,7 @@ declare namespace OpenFin_2 {
9275
9301
  ChannelProviderDisconnectionListener,
9276
9302
  RoutingInfo,
9277
9303
  DownloadShelfOptions,
9304
+ ViewShowAtOptions,
9278
9305
  ApplicationEvents,
9279
9306
  BaseEvents,
9280
9307
  ExternalApplicationEvents,
@@ -11404,6 +11431,11 @@ declare interface ProtocolMap extends ProtocolMapBase {
11404
11431
  'get-view-options': IdentityCall<{}, OpenFin_2.ViewOptions>;
11405
11432
  'hide-view': IdentityCall;
11406
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;
11407
11439
  'update-view-options': IdentityCall<{
11408
11440
  options: OpenFin_2.UpdatableViewOptions;
11409
11441
  }>;
@@ -14632,6 +14664,8 @@ declare class View_2 extends WebContents<OpenFin_2.ViewEvent> {
14632
14664
  * left: 100,
14633
14665
  * width: 300,
14634
14666
  * height: 300
14667
+ * }, {
14668
+ * bringToFront : true
14635
14669
  * });
14636
14670
  * }
14637
14671
  *
@@ -14641,7 +14675,15 @@ declare class View_2 extends WebContents<OpenFin_2.ViewEvent> {
14641
14675
  * ```
14642
14676
  * @experimental
14643
14677
  */
14644
- 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>;
14645
14687
  /**
14646
14688
  * Hides the current view if it is currently visible.
14647
14689
  *
@@ -15113,6 +15155,14 @@ declare class ViewModule extends Base {
15113
15155
  */
15114
15156
  declare type ViewOptions = ConstViewOptions & MutableViewOptions;
15115
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
+
15116
15166
  /**
15117
15167
  * Represents the payload shape for Views that are trying to prevent an unload.
15118
15168
  * @interface
@@ -15144,7 +15194,6 @@ declare interface ViewsPreventingUnloadPayload {
15144
15194
  * @interface
15145
15195
  */
15146
15196
  declare type ViewState = ViewCreationOptions & {
15147
- backgroundThrottling: boolean;
15148
15197
  componentName: 'view';
15149
15198
  initialUrl: string;
15150
15199
  minWidth?: number;
@@ -15166,6 +15215,14 @@ declare interface ViewStatuses {
15166
15215
  viewsNotPreventingUnload: Identity_5[];
15167
15216
  }
15168
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
+
15169
15226
  /**
15170
15227
  * Configuration for view visibility settings
15171
15228
  *
@@ -17709,6 +17766,16 @@ declare type WindowStartLoadEvent = BaseEvent_3 & {
17709
17766
  */
17710
17767
  declare type WindowState = 'maximized' | 'minimized' | 'normal';
17711
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
+
17712
17779
  /**
17713
17780
  * A view-related event that fires natively on the `Window` topic. This means that these events *do* propagate
17714
17781
  * to the `Application` level, with the name pattern `window-view-eventname`.
package/out/mock.d.ts CHANGED
@@ -3539,6 +3539,16 @@ declare type ConstWindowOptions = {
3539
3539
  * Default is white.
3540
3540
  */
3541
3541
  backgroundColor: string;
3542
+ /**
3543
+ * @defaultValue false
3544
+ *
3545
+ * Determines whether WebContents will throttle animations and timers when the page becomes backgrounded.
3546
+ * This also affects the Page Visibility API.
3547
+ *
3548
+ * When `true`, the page is throttled whether it is hidden or not.
3549
+ *
3550
+ */
3551
+ backgroundThrottling: boolean;
3542
3552
  /**
3543
3553
  * Configures how new content (e,g, from `window.open` or a link) is opened.
3544
3554
  */
@@ -8879,6 +8889,12 @@ declare type MutableViewOptions = {
8879
8889
  * Used by Workspace to store custom data. Overwriting or modifying this field may impact the functionality of Workspace
8880
8890
  */
8881
8891
  _internalWorkspaceData: any;
8892
+ /**
8893
+ * {@inheritDoc ViewThrottling}
8894
+ *
8895
+ * @defaultValue 'enabled'
8896
+ */
8897
+ throttling: ViewThrottling;
8882
8898
  };
8883
8899
 
8884
8900
  /**
@@ -9130,6 +9146,14 @@ declare type MutableWindowOptions = {
9130
9146
  * Used by workspace to stork platform specific options. Overwriting or modifying this field may impact the functionality of Workspace
9131
9147
  */
9132
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;
9133
9157
  };
9134
9158
 
9135
9159
  declare type NackHandler = (payloadOrMessage: RuntimeErrorPayload | string) => void;
@@ -9343,6 +9367,8 @@ declare namespace OpenFin_2 {
9343
9367
  AutoResizeOptions,
9344
9368
  InteropConfig,
9345
9369
  ViewInfo,
9370
+ WindowThrottling,
9371
+ ViewThrottling,
9346
9372
  UpdatableViewOptions,
9347
9373
  ViewCreationOptions,
9348
9374
  MutableViewOptions,
@@ -9590,6 +9616,7 @@ declare namespace OpenFin_2 {
9590
9616
  ChannelProviderDisconnectionListener,
9591
9617
  RoutingInfo,
9592
9618
  DownloadShelfOptions,
9619
+ ViewShowAtOptions,
9593
9620
  ApplicationEvents,
9594
9621
  BaseEvents,
9595
9622
  ExternalApplicationEvents,
@@ -11797,6 +11824,11 @@ declare interface ProtocolMap extends ProtocolMapBase {
11797
11824
  'get-view-options': IdentityCall<{}, OpenFin_2.ViewOptions>;
11798
11825
  'hide-view': IdentityCall;
11799
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;
11800
11832
  'update-view-options': IdentityCall<{
11801
11833
  options: OpenFin_2.UpdatableViewOptions;
11802
11834
  }>;
@@ -15041,6 +15073,8 @@ declare class View_2 extends WebContents<OpenFin_2.ViewEvent> {
15041
15073
  * left: 100,
15042
15074
  * width: 300,
15043
15075
  * height: 300
15076
+ * }, {
15077
+ * bringToFront : true
15044
15078
  * });
15045
15079
  * }
15046
15080
  *
@@ -15050,7 +15084,15 @@ declare class View_2 extends WebContents<OpenFin_2.ViewEvent> {
15050
15084
  * ```
15051
15085
  * @experimental
15052
15086
  */
15053
- 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>;
15054
15096
  /**
15055
15097
  * Hides the current view if it is currently visible.
15056
15098
  *
@@ -15556,6 +15598,14 @@ declare class ViewModule extends Base {
15556
15598
  */
15557
15599
  declare type ViewOptions = ConstViewOptions & MutableViewOptions;
15558
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
+
15559
15609
  /**
15560
15610
  * Represents the payload shape for Views that are trying to prevent an unload.
15561
15611
  * @interface
@@ -15587,7 +15637,6 @@ declare interface ViewsPreventingUnloadPayload {
15587
15637
  * @interface
15588
15638
  */
15589
15639
  declare type ViewState = ViewCreationOptions & {
15590
- backgroundThrottling: boolean;
15591
15640
  componentName: 'view';
15592
15641
  initialUrl: string;
15593
15642
  minWidth?: number;
@@ -15609,6 +15658,14 @@ declare interface ViewStatuses {
15609
15658
  viewsNotPreventingUnload: Identity_5[];
15610
15659
  }
15611
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
+
15612
15669
  /**
15613
15670
  * Configuration for view visibility settings
15614
15671
  *
@@ -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/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.1",
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": "^16.0.0",
36
+ "@types/node": "^20.14.2",
37
37
  "lodash": "^4.17.21",
38
38
  "ws": "^7.3.0"
39
39
  }