@openfin/node-adapter 34.78.62 → 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.
@@ -3494,6 +3494,10 @@ declare type ConstructorOverride<T> = (Base: Constructor<T>) => Constructor<T>;
3494
3494
  * @interface
3495
3495
  */
3496
3496
  declare type ConstViewOptions = {
3497
+ /**
3498
+ * Configurations for API injection.
3499
+ */
3500
+ api: Api;
3497
3501
  /**
3498
3502
  * The name of the view.
3499
3503
  */
@@ -3574,9 +3578,13 @@ declare type ConstViewOptions = {
3574
3578
  /**
3575
3579
  * Controls interaction of the view with its parent window's download shelf.
3576
3580
  */
3577
- downloadShelf?: {
3581
+ downloadShelf: {
3578
3582
  /**
3579
- * Whether downloads in this view trigger opening the download shelf on its parent BrowserWindow
3583
+ * Whether downloads in this view trigger opening the download shelf on its parent BrowserWindow.
3584
+ *
3585
+ * @remarks If `enabled: true`, downloads from this view will cause the download shelf to display
3586
+ * on the parent window even if that parent window's {@link DownloadShelfOptions} specify
3587
+ * `enabled: false`.
3580
3588
  */
3581
3589
  enabled: boolean;
3582
3590
  };
@@ -3692,6 +3700,12 @@ declare type ConstWindowOptions = {
3692
3700
  * launches in favor of the cached value.
3693
3701
  */
3694
3702
  defaultWidth: number;
3703
+ /**
3704
+ * Controls the styling and behavior of the window download shelf.
3705
+ *
3706
+ * @remarks This will control the styling for the download shelf regardless of whether its display was
3707
+ * triggered by the window itself, or a view targeting the window.
3708
+ */
3695
3709
  downloadShelf: DownloadShelfOptions;
3696
3710
  height: number;
3697
3711
  layout: any;
@@ -4832,14 +4846,24 @@ declare type DownloadRule = {
4832
4846
  * @interface
4833
4847
  *
4834
4848
  * Controls the styling and behavior of the window download shelf.
4849
+ *
4850
+ * @remarks This will control the styling for the download shelf regardless of whether its display was
4851
+ * triggered by the window itself, or a view targeting the window.
4835
4852
  */
4836
4853
  declare type DownloadShelfOptions = {
4837
4854
  /**
4838
- * Whether downloads in this window trigger opening the download shelf.
4855
+ * Whether downloads in this window trigger display of the download shelf.
4856
+ *
4857
+ * @remarks Setting this to false will *not* prevent the download shelf from opening if a child view
4858
+ * with `downloadShelf: { enabled: true }` initiates a download.
4839
4859
  */
4840
4860
  enabled: boolean;
4841
4861
  /**
4842
4862
  * Styling options for the download shelf border.
4863
+ *
4864
+ * @remarks These apply regardless of whether download shelf display was
4865
+ * triggered by this window itself, or a view targeting the window. Individual views
4866
+ * cannot control the rendering of their parent window's download shelf.
4843
4867
  */
4844
4868
  border?: {
4845
4869
  /**
@@ -4849,7 +4873,7 @@ declare type DownloadShelfOptions = {
4849
4873
  */
4850
4874
  size?: number;
4851
4875
  /**
4852
- * Color of the border, either a string name or a hex code. Defaults to chromium theme
4876
+ * Color of the border. Must be a 6-character hex code prefixed by #. Defaults to chromium theme
4853
4877
  * if absent.
4854
4878
  */
4855
4879
  color?: string;
@@ -7799,8 +7823,6 @@ declare type InteropBrokerOptions = {
7799
7823
  *
7800
7824
  */
7801
7825
  /**
7802
- * {@link https://developers.openfin.co/of-docs/docs/enable-color-linking}
7803
- *
7804
7826
  * The Interop Client API is broken up into two groups:
7805
7827
  *
7806
7828
  * **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.
@@ -8203,7 +8225,7 @@ declare class InteropClient extends Base {
8203
8225
  * ```
8204
8226
  */
8205
8227
  onDisconnection(listener: OpenFin.InteropClientOnDisconnectionListener): Promise<void>;
8206
- static ferryFdc3Call(interopClient: OpenFin.InteropClient, action: string, payload?: any): Promise<any>;
8228
+ /* Excluded from this release type: ferryFdc3Call */
8207
8229
  }
8208
8230
 
8209
8231
  /**
@@ -9140,7 +9162,7 @@ declare type LayoutOptions = {
9140
9162
  * @defaultValue false
9141
9163
  *
9142
9164
  * Limits the area to which tabs can be dragged.
9143
- * If true, stack headers are the only areas where tabs can be dropped.
9165
+ * If true, the layout container is the only area where tabs can be dropped.
9144
9166
  */
9145
9167
  constrainDragToContainer?: boolean;
9146
9168
  /**
@@ -3494,6 +3494,10 @@ declare type ConstructorOverride<T> = (Base: Constructor<T>) => Constructor<T>;
3494
3494
  * @interface
3495
3495
  */
3496
3496
  declare type ConstViewOptions = {
3497
+ /**
3498
+ * Configurations for API injection.
3499
+ */
3500
+ api: Api;
3497
3501
  /**
3498
3502
  * The name of the view.
3499
3503
  */
@@ -3574,9 +3578,13 @@ declare type ConstViewOptions = {
3574
3578
  /**
3575
3579
  * Controls interaction of the view with its parent window's download shelf.
3576
3580
  */
3577
- downloadShelf?: {
3581
+ downloadShelf: {
3578
3582
  /**
3579
- * Whether downloads in this view trigger opening the download shelf on its parent BrowserWindow
3583
+ * Whether downloads in this view trigger opening the download shelf on its parent BrowserWindow.
3584
+ *
3585
+ * @remarks If `enabled: true`, downloads from this view will cause the download shelf to display
3586
+ * on the parent window even if that parent window's {@link DownloadShelfOptions} specify
3587
+ * `enabled: false`.
3580
3588
  */
3581
3589
  enabled: boolean;
3582
3590
  };
@@ -3692,6 +3700,12 @@ declare type ConstWindowOptions = {
3692
3700
  * launches in favor of the cached value.
3693
3701
  */
3694
3702
  defaultWidth: number;
3703
+ /**
3704
+ * Controls the styling and behavior of the window download shelf.
3705
+ *
3706
+ * @remarks This will control the styling for the download shelf regardless of whether its display was
3707
+ * triggered by the window itself, or a view targeting the window.
3708
+ */
3695
3709
  downloadShelf: DownloadShelfOptions;
3696
3710
  height: number;
3697
3711
  layout: any;
@@ -4832,14 +4846,24 @@ declare type DownloadRule = {
4832
4846
  * @interface
4833
4847
  *
4834
4848
  * Controls the styling and behavior of the window download shelf.
4849
+ *
4850
+ * @remarks This will control the styling for the download shelf regardless of whether its display was
4851
+ * triggered by the window itself, or a view targeting the window.
4835
4852
  */
4836
4853
  declare type DownloadShelfOptions = {
4837
4854
  /**
4838
- * Whether downloads in this window trigger opening the download shelf.
4855
+ * Whether downloads in this window trigger display of the download shelf.
4856
+ *
4857
+ * @remarks Setting this to false will *not* prevent the download shelf from opening if a child view
4858
+ * with `downloadShelf: { enabled: true }` initiates a download.
4839
4859
  */
4840
4860
  enabled: boolean;
4841
4861
  /**
4842
4862
  * Styling options for the download shelf border.
4863
+ *
4864
+ * @remarks These apply regardless of whether download shelf display was
4865
+ * triggered by this window itself, or a view targeting the window. Individual views
4866
+ * cannot control the rendering of their parent window's download shelf.
4843
4867
  */
4844
4868
  border?: {
4845
4869
  /**
@@ -4849,7 +4873,7 @@ declare type DownloadShelfOptions = {
4849
4873
  */
4850
4874
  size?: number;
4851
4875
  /**
4852
- * Color of the border, either a string name or a hex code. Defaults to chromium theme
4876
+ * Color of the border. Must be a 6-character hex code prefixed by #. Defaults to chromium theme
4853
4877
  * if absent.
4854
4878
  */
4855
4879
  color?: string;
@@ -7799,8 +7823,6 @@ declare type InteropBrokerOptions = {
7799
7823
  *
7800
7824
  */
7801
7825
  /**
7802
- * {@link https://developers.openfin.co/of-docs/docs/enable-color-linking}
7803
- *
7804
7826
  * The Interop Client API is broken up into two groups:
7805
7827
  *
7806
7828
  * **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.
@@ -8203,7 +8225,7 @@ declare class InteropClient extends Base {
8203
8225
  * ```
8204
8226
  */
8205
8227
  onDisconnection(listener: OpenFin.InteropClientOnDisconnectionListener): Promise<void>;
8206
- static ferryFdc3Call(interopClient: OpenFin.InteropClient, action: string, payload?: any): Promise<any>;
8228
+ /* Excluded from this release type: ferryFdc3Call */
8207
8229
  }
8208
8230
 
8209
8231
  /**
@@ -9140,7 +9162,7 @@ declare type LayoutOptions = {
9140
9162
  * @defaultValue false
9141
9163
  *
9142
9164
  * Limits the area to which tabs can be dragged.
9143
- * If true, stack headers are the only areas where tabs can be dropped.
9165
+ * If true, the layout container is the only area where tabs can be dropped.
9144
9166
  */
9145
9167
  constrainDragToContainer?: boolean;
9146
9168
  /**
@@ -3494,6 +3494,10 @@ declare type ConstructorOverride<T> = (Base: Constructor<T>) => Constructor<T>;
3494
3494
  * @interface
3495
3495
  */
3496
3496
  declare type ConstViewOptions = {
3497
+ /**
3498
+ * Configurations for API injection.
3499
+ */
3500
+ api: Api;
3497
3501
  /**
3498
3502
  * The name of the view.
3499
3503
  */
@@ -3574,9 +3578,13 @@ declare type ConstViewOptions = {
3574
3578
  /**
3575
3579
  * Controls interaction of the view with its parent window's download shelf.
3576
3580
  */
3577
- downloadShelf?: {
3581
+ downloadShelf: {
3578
3582
  /**
3579
- * Whether downloads in this view trigger opening the download shelf on its parent BrowserWindow
3583
+ * Whether downloads in this view trigger opening the download shelf on its parent BrowserWindow.
3584
+ *
3585
+ * @remarks If `enabled: true`, downloads from this view will cause the download shelf to display
3586
+ * on the parent window even if that parent window's {@link DownloadShelfOptions} specify
3587
+ * `enabled: false`.
3580
3588
  */
3581
3589
  enabled: boolean;
3582
3590
  };
@@ -3692,6 +3700,12 @@ declare type ConstWindowOptions = {
3692
3700
  * launches in favor of the cached value.
3693
3701
  */
3694
3702
  defaultWidth: number;
3703
+ /**
3704
+ * Controls the styling and behavior of the window download shelf.
3705
+ *
3706
+ * @remarks This will control the styling for the download shelf regardless of whether its display was
3707
+ * triggered by the window itself, or a view targeting the window.
3708
+ */
3695
3709
  downloadShelf: DownloadShelfOptions;
3696
3710
  height: number;
3697
3711
  layout: any;
@@ -4832,14 +4846,24 @@ declare type DownloadRule = {
4832
4846
  * @interface
4833
4847
  *
4834
4848
  * Controls the styling and behavior of the window download shelf.
4849
+ *
4850
+ * @remarks This will control the styling for the download shelf regardless of whether its display was
4851
+ * triggered by the window itself, or a view targeting the window.
4835
4852
  */
4836
4853
  declare type DownloadShelfOptions = {
4837
4854
  /**
4838
- * Whether downloads in this window trigger opening the download shelf.
4855
+ * Whether downloads in this window trigger display of the download shelf.
4856
+ *
4857
+ * @remarks Setting this to false will *not* prevent the download shelf from opening if a child view
4858
+ * with `downloadShelf: { enabled: true }` initiates a download.
4839
4859
  */
4840
4860
  enabled: boolean;
4841
4861
  /**
4842
4862
  * Styling options for the download shelf border.
4863
+ *
4864
+ * @remarks These apply regardless of whether download shelf display was
4865
+ * triggered by this window itself, or a view targeting the window. Individual views
4866
+ * cannot control the rendering of their parent window's download shelf.
4843
4867
  */
4844
4868
  border?: {
4845
4869
  /**
@@ -4849,7 +4873,7 @@ declare type DownloadShelfOptions = {
4849
4873
  */
4850
4874
  size?: number;
4851
4875
  /**
4852
- * Color of the border, either a string name or a hex code. Defaults to chromium theme
4876
+ * Color of the border. Must be a 6-character hex code prefixed by #. Defaults to chromium theme
4853
4877
  * if absent.
4854
4878
  */
4855
4879
  color?: string;
@@ -7799,8 +7823,6 @@ declare type InteropBrokerOptions = {
7799
7823
  *
7800
7824
  */
7801
7825
  /**
7802
- * {@link https://developers.openfin.co/of-docs/docs/enable-color-linking}
7803
- *
7804
7826
  * The Interop Client API is broken up into two groups:
7805
7827
  *
7806
7828
  * **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.
@@ -8203,7 +8225,7 @@ declare class InteropClient extends Base {
8203
8225
  * ```
8204
8226
  */
8205
8227
  onDisconnection(listener: OpenFin.InteropClientOnDisconnectionListener): Promise<void>;
8206
- static ferryFdc3Call(interopClient: OpenFin.InteropClient, action: string, payload?: any): Promise<any>;
8228
+ /* Excluded from this release type: ferryFdc3Call */
8207
8229
  }
8208
8230
 
8209
8231
  /**
@@ -9140,7 +9162,7 @@ declare type LayoutOptions = {
9140
9162
  * @defaultValue false
9141
9163
  *
9142
9164
  * Limits the area to which tabs can be dragged.
9143
- * If true, stack headers are the only areas where tabs can be dropped.
9165
+ * If true, the layout container is the only area where tabs can be dropped.
9144
9166
  */
9145
9167
  constrainDragToContainer?: boolean;
9146
9168
  /**
@@ -3537,6 +3537,10 @@ declare type ConstructorOverride<T> = (Base: Constructor<T>) => Constructor<T>;
3537
3537
  * @interface
3538
3538
  */
3539
3539
  declare type ConstViewOptions = {
3540
+ /**
3541
+ * Configurations for API injection.
3542
+ */
3543
+ api: Api;
3540
3544
  /**
3541
3545
  * The name of the view.
3542
3546
  */
@@ -3617,9 +3621,13 @@ declare type ConstViewOptions = {
3617
3621
  /**
3618
3622
  * Controls interaction of the view with its parent window's download shelf.
3619
3623
  */
3620
- downloadShelf?: {
3624
+ downloadShelf: {
3621
3625
  /**
3622
- * Whether downloads in this view trigger opening the download shelf on its parent BrowserWindow
3626
+ * Whether downloads in this view trigger opening the download shelf on its parent BrowserWindow.
3627
+ *
3628
+ * @remarks If `enabled: true`, downloads from this view will cause the download shelf to display
3629
+ * on the parent window even if that parent window's {@link DownloadShelfOptions} specify
3630
+ * `enabled: false`.
3623
3631
  */
3624
3632
  enabled: boolean;
3625
3633
  };
@@ -3735,6 +3743,12 @@ declare type ConstWindowOptions = {
3735
3743
  * launches in favor of the cached value.
3736
3744
  */
3737
3745
  defaultWidth: number;
3746
+ /**
3747
+ * Controls the styling and behavior of the window download shelf.
3748
+ *
3749
+ * @remarks This will control the styling for the download shelf regardless of whether its display was
3750
+ * triggered by the window itself, or a view targeting the window.
3751
+ */
3738
3752
  downloadShelf: DownloadShelfOptions;
3739
3753
  height: number;
3740
3754
  layout: any;
@@ -4875,14 +4889,24 @@ declare type DownloadRule = {
4875
4889
  * @interface
4876
4890
  *
4877
4891
  * Controls the styling and behavior of the window download shelf.
4892
+ *
4893
+ * @remarks This will control the styling for the download shelf regardless of whether its display was
4894
+ * triggered by the window itself, or a view targeting the window.
4878
4895
  */
4879
4896
  declare type DownloadShelfOptions = {
4880
4897
  /**
4881
- * Whether downloads in this window trigger opening the download shelf.
4898
+ * Whether downloads in this window trigger display of the download shelf.
4899
+ *
4900
+ * @remarks Setting this to false will *not* prevent the download shelf from opening if a child view
4901
+ * with `downloadShelf: { enabled: true }` initiates a download.
4882
4902
  */
4883
4903
  enabled: boolean;
4884
4904
  /**
4885
4905
  * Styling options for the download shelf border.
4906
+ *
4907
+ * @remarks These apply regardless of whether download shelf display was
4908
+ * triggered by this window itself, or a view targeting the window. Individual views
4909
+ * cannot control the rendering of their parent window's download shelf.
4886
4910
  */
4887
4911
  border?: {
4888
4912
  /**
@@ -4892,7 +4916,7 @@ declare type DownloadShelfOptions = {
4892
4916
  */
4893
4917
  size?: number;
4894
4918
  /**
4895
- * Color of the border, either a string name or a hex code. Defaults to chromium theme
4919
+ * Color of the border. Must be a 6-character hex code prefixed by #. Defaults to chromium theme
4896
4920
  * if absent.
4897
4921
  */
4898
4922
  color?: string;
@@ -7914,8 +7938,6 @@ declare type InteropBrokerOptions = {
7914
7938
  *
7915
7939
  */
7916
7940
  /**
7917
- * {@link https://developers.openfin.co/of-docs/docs/enable-color-linking}
7918
- *
7919
7941
  * The Interop Client API is broken up into two groups:
7920
7942
  *
7921
7943
  * **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.
@@ -8321,6 +8343,11 @@ declare class InteropClient extends Base {
8321
8343
  * ```
8322
8344
  */
8323
8345
  onDisconnection(listener: OpenFin.InteropClientOnDisconnectionListener): Promise<void>;
8346
+ /**
8347
+ * @internal
8348
+ *
8349
+ * Used to ferry fdc3-only calls from the fdc3 shim to the Interop Broker
8350
+ */
8324
8351
  static ferryFdc3Call(interopClient: OpenFin.InteropClient, action: string, payload?: any): Promise<any>;
8325
8352
  }
8326
8353
 
@@ -9434,7 +9461,7 @@ declare type LayoutOptions = {
9434
9461
  * @defaultValue false
9435
9462
  *
9436
9463
  * Limits the area to which tabs can be dragged.
9437
- * If true, stack headers are the only areas where tabs can be dropped.
9464
+ * If true, the layout container is the only area where tabs can be dropped.
9438
9465
  */
9439
9466
  constrainDragToContainer?: boolean;
9440
9467
  /**
@@ -12843,6 +12843,7 @@ class LayoutModule extends base_1$5.Base {
12843
12843
  });
12844
12844
  // wait for a layout to be created
12845
12845
  await fin.me.once('layout-ready', async ({ layoutIdentity }) => {
12846
+ // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
12846
12847
  layoutManager = await this.wire.environment.resolveLayout(__classPrivateFieldGet$4(this, _LayoutModule_layoutManager, "f"), layoutIdentity);
12847
12848
  // Backward compat - undocumented / not typed openfin-layout as layoutManager
12848
12849
  // TODO: eventually deprecate this
@@ -15444,8 +15445,6 @@ const utils_1$2 = utils$1;
15444
15445
  *
15445
15446
  */
15446
15447
  /**
15447
- * {@link https://developers.openfin.co/of-docs/docs/enable-color-linking}
15448
- *
15449
15448
  * The Interop Client API is broken up into two groups:
15450
15449
  *
15451
15450
  * **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.
@@ -16011,7 +16010,11 @@ class InteropClient extends base_1$2.Base {
16011
16010
  listener({ type: 'interop-broker', topic: 'disconnected', brokerName: uuid });
16012
16011
  });
16013
16012
  }
16014
- // used to ferry fdc3-only calls from the fdc3 shim to the Interop Broker
16013
+ /**
16014
+ * @internal
16015
+ *
16016
+ * Used to ferry fdc3-only calls from the fdc3 shim to the Interop Broker
16017
+ */
16015
16018
  static async ferryFdc3Call(interopClient, action, payload) {
16016
16019
  const client = await __classPrivateFieldGet$2(interopClient, _InteropClient_clientPromise, "f");
16017
16020
  return client.dispatch(action, payload || null);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfin/node-adapter",
3
- "version": "34.78.62",
3
+ "version": "34.78.65",
4
4
  "description": "See README.md",
5
5
  "main": "out/node-adapter.js",
6
6
  "types": "out/node-adapter.d.ts",