@openfin/core 34.78.63 → 34.78.65

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.
@@ -3490,6 +3490,10 @@ declare type ConstructorOverride<T> = (Base: Constructor<T>) => Constructor<T>;
3490
3490
  * @interface
3491
3491
  */
3492
3492
  declare type ConstViewOptions = {
3493
+ /**
3494
+ * Configurations for API injection.
3495
+ */
3496
+ api: Api;
3493
3497
  /**
3494
3498
  * The name of the view.
3495
3499
  */
@@ -3570,9 +3574,13 @@ declare type ConstViewOptions = {
3570
3574
  /**
3571
3575
  * Controls interaction of the view with its parent window's download shelf.
3572
3576
  */
3573
- downloadShelf?: {
3577
+ downloadShelf: {
3574
3578
  /**
3575
- * Whether downloads in this view trigger opening the download shelf on its parent BrowserWindow
3579
+ * Whether downloads in this view trigger opening the download shelf on its parent BrowserWindow.
3580
+ *
3581
+ * @remarks If `enabled: true`, downloads from this view will cause the download shelf to display
3582
+ * on the parent window even if that parent window's {@link DownloadShelfOptions} specify
3583
+ * `enabled: false`.
3576
3584
  */
3577
3585
  enabled: boolean;
3578
3586
  };
@@ -3688,6 +3696,12 @@ declare type ConstWindowOptions = {
3688
3696
  * launches in favor of the cached value.
3689
3697
  */
3690
3698
  defaultWidth: number;
3699
+ /**
3700
+ * Controls the styling and behavior of the window download shelf.
3701
+ *
3702
+ * @remarks This will control the styling for the download shelf regardless of whether its display was
3703
+ * triggered by the window itself, or a view targeting the window.
3704
+ */
3691
3705
  downloadShelf: DownloadShelfOptions;
3692
3706
  height: number;
3693
3707
  layout: any;
@@ -4828,14 +4842,24 @@ declare type DownloadRule = {
4828
4842
  * @interface
4829
4843
  *
4830
4844
  * Controls the styling and behavior of the window download shelf.
4845
+ *
4846
+ * @remarks This will control the styling for the download shelf regardless of whether its display was
4847
+ * triggered by the window itself, or a view targeting the window.
4831
4848
  */
4832
4849
  declare type DownloadShelfOptions = {
4833
4850
  /**
4834
- * Whether downloads in this window trigger opening the download shelf.
4851
+ * Whether downloads in this window trigger display of the download shelf.
4852
+ *
4853
+ * @remarks Setting this to false will *not* prevent the download shelf from opening if a child view
4854
+ * with `downloadShelf: { enabled: true }` initiates a download.
4835
4855
  */
4836
4856
  enabled: boolean;
4837
4857
  /**
4838
4858
  * Styling options for the download shelf border.
4859
+ *
4860
+ * @remarks These apply regardless of whether download shelf display was
4861
+ * triggered by this window itself, or a view targeting the window. Individual views
4862
+ * cannot control the rendering of their parent window's download shelf.
4839
4863
  */
4840
4864
  border?: {
4841
4865
  /**
@@ -4845,7 +4869,7 @@ declare type DownloadShelfOptions = {
4845
4869
  */
4846
4870
  size?: number;
4847
4871
  /**
4848
- * Color of the border, either a string name or a hex code. Defaults to chromium theme
4872
+ * Color of the border. Must be a 6-character hex code prefixed by #. Defaults to chromium theme
4849
4873
  * if absent.
4850
4874
  */
4851
4875
  color?: string;
@@ -7791,8 +7815,6 @@ declare type InteropBrokerOptions = {
7791
7815
  *
7792
7816
  */
7793
7817
  /**
7794
- * {@link https://developers.openfin.co/of-docs/docs/enable-color-linking}
7795
- *
7796
7818
  * The Interop Client API is broken up into two groups:
7797
7819
  *
7798
7820
  * **Content Facing APIs** - For Application Developers putting Views into a Platform Window, who care about Context. These are APIs that send out and receive the Context data that flows between applications. Think of this as the Water in the Interop Pipes.
@@ -8195,7 +8217,7 @@ declare class InteropClient extends Base {
8195
8217
  * ```
8196
8218
  */
8197
8219
  onDisconnection(listener: OpenFin_2.InteropClientOnDisconnectionListener): Promise<void>;
8198
- static ferryFdc3Call(interopClient: OpenFin_2.InteropClient, action: string, payload?: any): Promise<any>;
8220
+ /* Excluded from this release type: ferryFdc3Call */
8199
8221
  }
8200
8222
 
8201
8223
  /**
@@ -9130,7 +9152,7 @@ declare type LayoutOptions = {
9130
9152
  * @defaultValue false
9131
9153
  *
9132
9154
  * Limits the area to which tabs can be dragged.
9133
- * If true, stack headers are the only areas where tabs can be dropped.
9155
+ * If true, the layout container is the only area where tabs can be dropped.
9134
9156
  */
9135
9157
  constrainDragToContainer?: boolean;
9136
9158
  /**
@@ -3490,6 +3490,10 @@ declare type ConstructorOverride<T> = (Base: Constructor<T>) => Constructor<T>;
3490
3490
  * @interface
3491
3491
  */
3492
3492
  declare type ConstViewOptions = {
3493
+ /**
3494
+ * Configurations for API injection.
3495
+ */
3496
+ api: Api;
3493
3497
  /**
3494
3498
  * The name of the view.
3495
3499
  */
@@ -3570,9 +3574,13 @@ declare type ConstViewOptions = {
3570
3574
  /**
3571
3575
  * Controls interaction of the view with its parent window's download shelf.
3572
3576
  */
3573
- downloadShelf?: {
3577
+ downloadShelf: {
3574
3578
  /**
3575
- * Whether downloads in this view trigger opening the download shelf on its parent BrowserWindow
3579
+ * Whether downloads in this view trigger opening the download shelf on its parent BrowserWindow.
3580
+ *
3581
+ * @remarks If `enabled: true`, downloads from this view will cause the download shelf to display
3582
+ * on the parent window even if that parent window's {@link DownloadShelfOptions} specify
3583
+ * `enabled: false`.
3576
3584
  */
3577
3585
  enabled: boolean;
3578
3586
  };
@@ -3688,6 +3696,12 @@ declare type ConstWindowOptions = {
3688
3696
  * launches in favor of the cached value.
3689
3697
  */
3690
3698
  defaultWidth: number;
3699
+ /**
3700
+ * Controls the styling and behavior of the window download shelf.
3701
+ *
3702
+ * @remarks This will control the styling for the download shelf regardless of whether its display was
3703
+ * triggered by the window itself, or a view targeting the window.
3704
+ */
3691
3705
  downloadShelf: DownloadShelfOptions;
3692
3706
  height: number;
3693
3707
  layout: any;
@@ -4828,14 +4842,24 @@ declare type DownloadRule = {
4828
4842
  * @interface
4829
4843
  *
4830
4844
  * Controls the styling and behavior of the window download shelf.
4845
+ *
4846
+ * @remarks This will control the styling for the download shelf regardless of whether its display was
4847
+ * triggered by the window itself, or a view targeting the window.
4831
4848
  */
4832
4849
  declare type DownloadShelfOptions = {
4833
4850
  /**
4834
- * Whether downloads in this window trigger opening the download shelf.
4851
+ * Whether downloads in this window trigger display of the download shelf.
4852
+ *
4853
+ * @remarks Setting this to false will *not* prevent the download shelf from opening if a child view
4854
+ * with `downloadShelf: { enabled: true }` initiates a download.
4835
4855
  */
4836
4856
  enabled: boolean;
4837
4857
  /**
4838
4858
  * Styling options for the download shelf border.
4859
+ *
4860
+ * @remarks These apply regardless of whether download shelf display was
4861
+ * triggered by this window itself, or a view targeting the window. Individual views
4862
+ * cannot control the rendering of their parent window's download shelf.
4839
4863
  */
4840
4864
  border?: {
4841
4865
  /**
@@ -4845,7 +4869,7 @@ declare type DownloadShelfOptions = {
4845
4869
  */
4846
4870
  size?: number;
4847
4871
  /**
4848
- * Color of the border, either a string name or a hex code. Defaults to chromium theme
4872
+ * Color of the border. Must be a 6-character hex code prefixed by #. Defaults to chromium theme
4849
4873
  * if absent.
4850
4874
  */
4851
4875
  color?: string;
@@ -7791,8 +7815,6 @@ declare type InteropBrokerOptions = {
7791
7815
  *
7792
7816
  */
7793
7817
  /**
7794
- * {@link https://developers.openfin.co/of-docs/docs/enable-color-linking}
7795
- *
7796
7818
  * The Interop Client API is broken up into two groups:
7797
7819
  *
7798
7820
  * **Content Facing APIs** - For Application Developers putting Views into a Platform Window, who care about Context. These are APIs that send out and receive the Context data that flows between applications. Think of this as the Water in the Interop Pipes.
@@ -8195,7 +8217,7 @@ declare class InteropClient extends Base {
8195
8217
  * ```
8196
8218
  */
8197
8219
  onDisconnection(listener: OpenFin_2.InteropClientOnDisconnectionListener): Promise<void>;
8198
- static ferryFdc3Call(interopClient: OpenFin_2.InteropClient, action: string, payload?: any): Promise<any>;
8220
+ /* Excluded from this release type: ferryFdc3Call */
8199
8221
  }
8200
8222
 
8201
8223
  /**
@@ -9130,7 +9152,7 @@ declare type LayoutOptions = {
9130
9152
  * @defaultValue false
9131
9153
  *
9132
9154
  * Limits the area to which tabs can be dragged.
9133
- * If true, stack headers are the only areas where tabs can be dropped.
9155
+ * If true, the layout container is the only area where tabs can be dropped.
9134
9156
  */
9135
9157
  constrainDragToContainer?: boolean;
9136
9158
  /**
@@ -3490,6 +3490,10 @@ declare type ConstructorOverride<T> = (Base: Constructor<T>) => Constructor<T>;
3490
3490
  * @interface
3491
3491
  */
3492
3492
  declare type ConstViewOptions = {
3493
+ /**
3494
+ * Configurations for API injection.
3495
+ */
3496
+ api: Api;
3493
3497
  /**
3494
3498
  * The name of the view.
3495
3499
  */
@@ -3570,9 +3574,13 @@ declare type ConstViewOptions = {
3570
3574
  /**
3571
3575
  * Controls interaction of the view with its parent window's download shelf.
3572
3576
  */
3573
- downloadShelf?: {
3577
+ downloadShelf: {
3574
3578
  /**
3575
- * Whether downloads in this view trigger opening the download shelf on its parent BrowserWindow
3579
+ * Whether downloads in this view trigger opening the download shelf on its parent BrowserWindow.
3580
+ *
3581
+ * @remarks If `enabled: true`, downloads from this view will cause the download shelf to display
3582
+ * on the parent window even if that parent window's {@link DownloadShelfOptions} specify
3583
+ * `enabled: false`.
3576
3584
  */
3577
3585
  enabled: boolean;
3578
3586
  };
@@ -3688,6 +3696,12 @@ declare type ConstWindowOptions = {
3688
3696
  * launches in favor of the cached value.
3689
3697
  */
3690
3698
  defaultWidth: number;
3699
+ /**
3700
+ * Controls the styling and behavior of the window download shelf.
3701
+ *
3702
+ * @remarks This will control the styling for the download shelf regardless of whether its display was
3703
+ * triggered by the window itself, or a view targeting the window.
3704
+ */
3691
3705
  downloadShelf: DownloadShelfOptions;
3692
3706
  height: number;
3693
3707
  layout: any;
@@ -4828,14 +4842,24 @@ declare type DownloadRule = {
4828
4842
  * @interface
4829
4843
  *
4830
4844
  * Controls the styling and behavior of the window download shelf.
4845
+ *
4846
+ * @remarks This will control the styling for the download shelf regardless of whether its display was
4847
+ * triggered by the window itself, or a view targeting the window.
4831
4848
  */
4832
4849
  declare type DownloadShelfOptions = {
4833
4850
  /**
4834
- * Whether downloads in this window trigger opening the download shelf.
4851
+ * Whether downloads in this window trigger display of the download shelf.
4852
+ *
4853
+ * @remarks Setting this to false will *not* prevent the download shelf from opening if a child view
4854
+ * with `downloadShelf: { enabled: true }` initiates a download.
4835
4855
  */
4836
4856
  enabled: boolean;
4837
4857
  /**
4838
4858
  * Styling options for the download shelf border.
4859
+ *
4860
+ * @remarks These apply regardless of whether download shelf display was
4861
+ * triggered by this window itself, or a view targeting the window. Individual views
4862
+ * cannot control the rendering of their parent window's download shelf.
4839
4863
  */
4840
4864
  border?: {
4841
4865
  /**
@@ -4845,7 +4869,7 @@ declare type DownloadShelfOptions = {
4845
4869
  */
4846
4870
  size?: number;
4847
4871
  /**
4848
- * Color of the border, either a string name or a hex code. Defaults to chromium theme
4872
+ * Color of the border. Must be a 6-character hex code prefixed by #. Defaults to chromium theme
4849
4873
  * if absent.
4850
4874
  */
4851
4875
  color?: string;
@@ -7791,8 +7815,6 @@ declare type InteropBrokerOptions = {
7791
7815
  *
7792
7816
  */
7793
7817
  /**
7794
- * {@link https://developers.openfin.co/of-docs/docs/enable-color-linking}
7795
- *
7796
7818
  * The Interop Client API is broken up into two groups:
7797
7819
  *
7798
7820
  * **Content Facing APIs** - For Application Developers putting Views into a Platform Window, who care about Context. These are APIs that send out and receive the Context data that flows between applications. Think of this as the Water in the Interop Pipes.
@@ -8195,7 +8217,7 @@ declare class InteropClient extends Base {
8195
8217
  * ```
8196
8218
  */
8197
8219
  onDisconnection(listener: OpenFin_2.InteropClientOnDisconnectionListener): Promise<void>;
8198
- static ferryFdc3Call(interopClient: OpenFin_2.InteropClient, action: string, payload?: any): Promise<any>;
8220
+ /* Excluded from this release type: ferryFdc3Call */
8199
8221
  }
8200
8222
 
8201
8223
  /**
@@ -9130,7 +9152,7 @@ declare type LayoutOptions = {
9130
9152
  * @defaultValue false
9131
9153
  *
9132
9154
  * Limits the area to which tabs can be dragged.
9133
- * If true, stack headers are the only areas where tabs can be dropped.
9155
+ * If true, the layout container is the only area where tabs can be dropped.
9134
9156
  */
9135
9157
  constrainDragToContainer?: boolean;
9136
9158
  /**
package/out/mock.d.ts CHANGED
@@ -3533,6 +3533,10 @@ declare type ConstructorOverride<T> = (Base: Constructor<T>) => Constructor<T>;
3533
3533
  * @interface
3534
3534
  */
3535
3535
  declare type ConstViewOptions = {
3536
+ /**
3537
+ * Configurations for API injection.
3538
+ */
3539
+ api: Api;
3536
3540
  /**
3537
3541
  * The name of the view.
3538
3542
  */
@@ -3613,9 +3617,13 @@ declare type ConstViewOptions = {
3613
3617
  /**
3614
3618
  * Controls interaction of the view with its parent window's download shelf.
3615
3619
  */
3616
- downloadShelf?: {
3620
+ downloadShelf: {
3617
3621
  /**
3618
- * Whether downloads in this view trigger opening the download shelf on its parent BrowserWindow
3622
+ * Whether downloads in this view trigger opening the download shelf on its parent BrowserWindow.
3623
+ *
3624
+ * @remarks If `enabled: true`, downloads from this view will cause the download shelf to display
3625
+ * on the parent window even if that parent window's {@link DownloadShelfOptions} specify
3626
+ * `enabled: false`.
3619
3627
  */
3620
3628
  enabled: boolean;
3621
3629
  };
@@ -3731,6 +3739,12 @@ declare type ConstWindowOptions = {
3731
3739
  * launches in favor of the cached value.
3732
3740
  */
3733
3741
  defaultWidth: number;
3742
+ /**
3743
+ * Controls the styling and behavior of the window download shelf.
3744
+ *
3745
+ * @remarks This will control the styling for the download shelf regardless of whether its display was
3746
+ * triggered by the window itself, or a view targeting the window.
3747
+ */
3734
3748
  downloadShelf: DownloadShelfOptions;
3735
3749
  height: number;
3736
3750
  layout: any;
@@ -4871,14 +4885,24 @@ declare type DownloadRule = {
4871
4885
  * @interface
4872
4886
  *
4873
4887
  * Controls the styling and behavior of the window download shelf.
4888
+ *
4889
+ * @remarks This will control the styling for the download shelf regardless of whether its display was
4890
+ * triggered by the window itself, or a view targeting the window.
4874
4891
  */
4875
4892
  declare type DownloadShelfOptions = {
4876
4893
  /**
4877
- * Whether downloads in this window trigger opening the download shelf.
4894
+ * Whether downloads in this window trigger display of the download shelf.
4895
+ *
4896
+ * @remarks Setting this to false will *not* prevent the download shelf from opening if a child view
4897
+ * with `downloadShelf: { enabled: true }` initiates a download.
4878
4898
  */
4879
4899
  enabled: boolean;
4880
4900
  /**
4881
4901
  * Styling options for the download shelf border.
4902
+ *
4903
+ * @remarks These apply regardless of whether download shelf display was
4904
+ * triggered by this window itself, or a view targeting the window. Individual views
4905
+ * cannot control the rendering of their parent window's download shelf.
4882
4906
  */
4883
4907
  border?: {
4884
4908
  /**
@@ -4888,7 +4912,7 @@ declare type DownloadShelfOptions = {
4888
4912
  */
4889
4913
  size?: number;
4890
4914
  /**
4891
- * Color of the border, either a string name or a hex code. Defaults to chromium theme
4915
+ * Color of the border. Must be a 6-character hex code prefixed by #. Defaults to chromium theme
4892
4916
  * if absent.
4893
4917
  */
4894
4918
  color?: string;
@@ -7884,8 +7908,6 @@ declare type InteropBrokerOptions = {
7884
7908
  *
7885
7909
  */
7886
7910
  /**
7887
- * {@link https://developers.openfin.co/of-docs/docs/enable-color-linking}
7888
- *
7889
7911
  * The Interop Client API is broken up into two groups:
7890
7912
  *
7891
7913
  * **Content Facing APIs** - For Application Developers putting Views into a Platform Window, who care about Context. These are APIs that send out and receive the Context data that flows between applications. Think of this as the Water in the Interop Pipes.
@@ -8291,6 +8313,11 @@ declare class InteropClient extends Base {
8291
8313
  * ```
8292
8314
  */
8293
8315
  onDisconnection(listener: OpenFin_2.InteropClientOnDisconnectionListener): Promise<void>;
8316
+ /**
8317
+ * @internal
8318
+ *
8319
+ * Used to ferry fdc3-only calls from the fdc3 shim to the Interop Broker
8320
+ */
8294
8321
  static ferryFdc3Call(interopClient: OpenFin_2.InteropClient, action: string, payload?: any): Promise<any>;
8295
8322
  }
8296
8323
 
@@ -9402,7 +9429,7 @@ declare type LayoutOptions = {
9402
9429
  * @defaultValue false
9403
9430
  *
9404
9431
  * Limits the area to which tabs can be dragged.
9405
- * If true, stack headers are the only areas where tabs can be dropped.
9432
+ * If true, the layout container is the only area where tabs can be dropped.
9406
9433
  */
9407
9434
  constrainDragToContainer?: boolean;
9408
9435
  /**
package/out/mock.js CHANGED
@@ -13063,6 +13063,7 @@ class LayoutModule extends base_1$5.Base {
13063
13063
  });
13064
13064
  // wait for a layout to be created
13065
13065
  await fin.me.once('layout-ready', async ({ layoutIdentity }) => {
13066
+ // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
13066
13067
  layoutManager = await this.wire.environment.resolveLayout(__classPrivateFieldGet$4(this, _LayoutModule_layoutManager, "f"), layoutIdentity);
13067
13068
  // Backward compat - undocumented / not typed openfin-layout as layoutManager
13068
13069
  // TODO: eventually deprecate this
@@ -15664,8 +15665,6 @@ const utils_1$2 = utils$1;
15664
15665
  *
15665
15666
  */
15666
15667
  /**
15667
- * {@link https://developers.openfin.co/of-docs/docs/enable-color-linking}
15668
- *
15669
15668
  * The Interop Client API is broken up into two groups:
15670
15669
  *
15671
15670
  * **Content Facing APIs** - For Application Developers putting Views into a Platform Window, who care about Context. These are APIs that send out and receive the Context data that flows between applications. Think of this as the Water in the Interop Pipes.
@@ -16231,7 +16230,11 @@ class InteropClient extends base_1$2.Base {
16231
16230
  listener({ type: 'interop-broker', topic: 'disconnected', brokerName: uuid });
16232
16231
  });
16233
16232
  }
16234
- // used to ferry fdc3-only calls from the fdc3 shim to the Interop Broker
16233
+ /**
16234
+ * @internal
16235
+ *
16236
+ * Used to ferry fdc3-only calls from the fdc3 shim to the Interop Broker
16237
+ */
16235
16238
  static async ferryFdc3Call(interopClient, action, payload) {
16236
16239
  const client = await __classPrivateFieldGet$2(interopClient, _InteropClient_clientPromise, "f");
16237
16240
  return client.dispatch(action, payload || null);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfin/core",
3
- "version": "34.78.63",
3
+ "version": "34.78.65",
4
4
  "description": "The core renderer entry point of OpenFin",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "main": "out/mock.js",