@openfin/core 34.78.63 → 34.78.66
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 +31 -9
- package/out/mock-beta.d.ts +31 -9
- package/out/mock-public.d.ts +31 -9
- package/out/mock.d.ts +39 -8
- package/out/mock.js +17 -8
- package/package.json +1 -1
package/out/mock-alpha.d.ts
CHANGED
|
@@ -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
|
|
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
|
|
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
|
-
|
|
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,
|
|
9155
|
+
* If true, the layout container is the only area where tabs can be dropped.
|
|
9134
9156
|
*/
|
|
9135
9157
|
constrainDragToContainer?: boolean;
|
|
9136
9158
|
/**
|
|
@@ -9922,7 +9944,7 @@ declare type MutableWindowOptions = {
|
|
|
9922
9944
|
showTaskbarIcon: boolean;
|
|
9923
9945
|
interop: InteropConfig;
|
|
9924
9946
|
/* Excluded from this release type: _internalWorkspaceData */
|
|
9925
|
-
|
|
9947
|
+
/* Excluded from this release type: workspacePlatform */
|
|
9926
9948
|
};
|
|
9927
9949
|
|
|
9928
9950
|
declare type NackHandler = (payloadOrMessage: RuntimeErrorPayload | string) => void;
|
package/out/mock-beta.d.ts
CHANGED
|
@@ -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
|
|
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
|
|
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
|
-
|
|
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,
|
|
9155
|
+
* If true, the layout container is the only area where tabs can be dropped.
|
|
9134
9156
|
*/
|
|
9135
9157
|
constrainDragToContainer?: boolean;
|
|
9136
9158
|
/**
|
|
@@ -9922,7 +9944,7 @@ declare type MutableWindowOptions = {
|
|
|
9922
9944
|
showTaskbarIcon: boolean;
|
|
9923
9945
|
interop: InteropConfig;
|
|
9924
9946
|
/* Excluded from this release type: _internalWorkspaceData */
|
|
9925
|
-
|
|
9947
|
+
/* Excluded from this release type: workspacePlatform */
|
|
9926
9948
|
};
|
|
9927
9949
|
|
|
9928
9950
|
declare type NackHandler = (payloadOrMessage: RuntimeErrorPayload | string) => void;
|
package/out/mock-public.d.ts
CHANGED
|
@@ -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
|
|
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
|
|
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
|
-
|
|
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,
|
|
9155
|
+
* If true, the layout container is the only area where tabs can be dropped.
|
|
9134
9156
|
*/
|
|
9135
9157
|
constrainDragToContainer?: boolean;
|
|
9136
9158
|
/**
|
|
@@ -9922,7 +9944,7 @@ declare type MutableWindowOptions = {
|
|
|
9922
9944
|
showTaskbarIcon: boolean;
|
|
9923
9945
|
interop: InteropConfig;
|
|
9924
9946
|
/* Excluded from this release type: _internalWorkspaceData */
|
|
9925
|
-
|
|
9947
|
+
/* Excluded from this release type: workspacePlatform */
|
|
9926
9948
|
};
|
|
9927
9949
|
|
|
9928
9950
|
declare type NackHandler = (payloadOrMessage: RuntimeErrorPayload | string) => void;
|
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
|
|
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
|
|
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,
|
|
9432
|
+
* If true, the layout container is the only area where tabs can be dropped.
|
|
9406
9433
|
*/
|
|
9407
9434
|
constrainDragToContainer?: boolean;
|
|
9408
9435
|
/**
|
|
@@ -10202,7 +10229,11 @@ declare type MutableWindowOptions = {
|
|
|
10202
10229
|
* Used by Workspace to store custom data. Overwriting or modifying this field may impact the functionality of Workspace
|
|
10203
10230
|
*/
|
|
10204
10231
|
_internalWorkspaceData: any;
|
|
10205
|
-
|
|
10232
|
+
/**
|
|
10233
|
+
* @internal
|
|
10234
|
+
* Used by workspace to stork platform specific options. Overwriting or modifying this field may impact the functionality of Workspace
|
|
10235
|
+
*/
|
|
10236
|
+
workspacePlatform: WorkspacePlatformOptions;
|
|
10206
10237
|
};
|
|
10207
10238
|
|
|
10208
10239
|
declare type NackHandler = (payloadOrMessage: RuntimeErrorPayload | string) => void;
|
package/out/mock.js
CHANGED
|
@@ -12975,7 +12975,7 @@ var __classPrivateFieldSet$4 = (commonjsGlobal && commonjsGlobal.__classPrivateF
|
|
|
12975
12975
|
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
12976
12976
|
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
12977
12977
|
};
|
|
12978
|
-
var _LayoutModule_instances, _LayoutModule_layoutInitializationAttempted, _LayoutModule_layoutManager,
|
|
12978
|
+
var _LayoutModule_instances, _LayoutModule_layoutInitializationAttempted, _LayoutModule_layoutManager, _LayoutModule_waitForBackCompatLayoutManager, _LayoutModule_throwIfLayoutManagerNotInitialized;
|
|
12979
12979
|
Object.defineProperty(Factory$2, "__esModule", { value: true });
|
|
12980
12980
|
Factory$2.LayoutModule = void 0;
|
|
12981
12981
|
const base_1$5 = base;
|
|
@@ -13039,12 +13039,17 @@ class LayoutModule extends base_1$5.Base {
|
|
|
13039
13039
|
}
|
|
13040
13040
|
__classPrivateFieldSet$4(this, _LayoutModule_layoutInitializationAttempted, true, "f");
|
|
13041
13041
|
__classPrivateFieldSet$4(this, _LayoutModule_layoutManager, await this.wire.environment.initLayoutManager(this.fin, this.wire, options), "f");
|
|
13042
|
+
// in single-layout case, we return the undocumented layoutManager type (deprecate with CORE-1081)
|
|
13043
|
+
let backCompatLayoutPromise;
|
|
13044
|
+
if (!options.layoutManagerOverride) {
|
|
13045
|
+
backCompatLayoutPromise = __classPrivateFieldGet$4(this, _LayoutModule_waitForBackCompatLayoutManager, "f").call(this, this.fin);
|
|
13046
|
+
}
|
|
13042
13047
|
// apply the initial snapshot which in turn will call fin.Platform.Layout.create()
|
|
13043
13048
|
const platformClient = await this.fin.Platform.getCurrentSync().getClient();
|
|
13044
13049
|
const snapshot = await platformClient.dispatch('get-initial-layout-snapshot');
|
|
13045
13050
|
await __classPrivateFieldGet$4(this, _LayoutModule_layoutManager, "f").applyLayoutSnapshot(snapshot);
|
|
13046
|
-
if (
|
|
13047
|
-
return
|
|
13051
|
+
if (backCompatLayoutPromise) {
|
|
13052
|
+
return backCompatLayoutPromise;
|
|
13048
13053
|
}
|
|
13049
13054
|
// warn user if they do not call create() in the next 30 seconds
|
|
13050
13055
|
setTimeout(() => {
|
|
@@ -13055,7 +13060,8 @@ class LayoutModule extends base_1$5.Base {
|
|
|
13055
13060
|
}, 30000);
|
|
13056
13061
|
return this.wrapSync(this.fin.me.identity);
|
|
13057
13062
|
};
|
|
13058
|
-
|
|
13063
|
+
// deprecate with CORE-1081
|
|
13064
|
+
_LayoutModule_waitForBackCompatLayoutManager.set(this, async (fin) => {
|
|
13059
13065
|
let layoutManager;
|
|
13060
13066
|
let resolve;
|
|
13061
13067
|
const layoutResolved = new Promise((r) => {
|
|
@@ -13063,6 +13069,7 @@ class LayoutModule extends base_1$5.Base {
|
|
|
13063
13069
|
});
|
|
13064
13070
|
// wait for a layout to be created
|
|
13065
13071
|
await fin.me.once('layout-ready', async ({ layoutIdentity }) => {
|
|
13072
|
+
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
13066
13073
|
layoutManager = await this.wire.environment.resolveLayout(__classPrivateFieldGet$4(this, _LayoutModule_layoutManager, "f"), layoutIdentity);
|
|
13067
13074
|
// Backward compat - undocumented / not typed openfin-layout as layoutManager
|
|
13068
13075
|
// TODO: eventually deprecate this
|
|
@@ -13183,7 +13190,7 @@ class LayoutModule extends base_1$5.Base {
|
|
|
13183
13190
|
}
|
|
13184
13191
|
}
|
|
13185
13192
|
Factory$2.LayoutModule = LayoutModule;
|
|
13186
|
-
_LayoutModule_layoutInitializationAttempted = new WeakMap(), _LayoutModule_layoutManager = new WeakMap(),
|
|
13193
|
+
_LayoutModule_layoutInitializationAttempted = new WeakMap(), _LayoutModule_layoutManager = new WeakMap(), _LayoutModule_waitForBackCompatLayoutManager = new WeakMap(), _LayoutModule_instances = new WeakSet(), _LayoutModule_throwIfLayoutManagerNotInitialized = function _LayoutModule_throwIfLayoutManagerNotInitialized(method) {
|
|
13187
13194
|
if (!__classPrivateFieldGet$4(this, _LayoutModule_layoutManager, "f")) {
|
|
13188
13195
|
throw new Error(`You must call init before using the API ${method}`);
|
|
13189
13196
|
}
|
|
@@ -15664,8 +15671,6 @@ const utils_1$2 = utils$1;
|
|
|
15664
15671
|
*
|
|
15665
15672
|
*/
|
|
15666
15673
|
/**
|
|
15667
|
-
* {@link https://developers.openfin.co/of-docs/docs/enable-color-linking}
|
|
15668
|
-
*
|
|
15669
15674
|
* The Interop Client API is broken up into two groups:
|
|
15670
15675
|
*
|
|
15671
15676
|
* **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 +16236,11 @@ class InteropClient extends base_1$2.Base {
|
|
|
16231
16236
|
listener({ type: 'interop-broker', topic: 'disconnected', brokerName: uuid });
|
|
16232
16237
|
});
|
|
16233
16238
|
}
|
|
16234
|
-
|
|
16239
|
+
/**
|
|
16240
|
+
* @internal
|
|
16241
|
+
*
|
|
16242
|
+
* Used to ferry fdc3-only calls from the fdc3 shim to the Interop Broker
|
|
16243
|
+
*/
|
|
16235
16244
|
static async ferryFdc3Call(interopClient, action, payload) {
|
|
16236
16245
|
const client = await __classPrivateFieldGet$2(interopClient, _InteropClient_clientPromise, "f");
|
|
16237
16246
|
return client.dispatch(action, payload || null);
|