@openfin/fdc3-api 43.100.23 → 43.100.27
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/fdc3-api-alpha.d.ts +29 -0
- package/out/fdc3-api-beta.d.ts +29 -0
- package/out/fdc3-api-public.d.ts +29 -0
- package/out/fdc3-api.d.ts +29 -0
- package/package.json +1 -1
package/out/fdc3-api-alpha.d.ts
CHANGED
|
@@ -9534,6 +9534,7 @@ declare type MutableWindowOptions = {
|
|
|
9534
9534
|
customData: any;
|
|
9535
9535
|
/**
|
|
9536
9536
|
* @defaultValue true
|
|
9537
|
+
* @deprecated Will be removed in runtime version 45
|
|
9537
9538
|
*
|
|
9538
9539
|
* Show the window's frame.
|
|
9539
9540
|
*/
|
|
@@ -12670,6 +12671,10 @@ declare type ProtocolMap = ExternalAdapterOnlyCallsMap & AnalyticsProtocolMap &
|
|
|
12670
12671
|
transitions: OpenFin.Transition;
|
|
12671
12672
|
options: OpenFin.TransitionOptions;
|
|
12672
12673
|
}>;
|
|
12674
|
+
'activate-window-and-focus': ApiCall<{
|
|
12675
|
+
winIdentity: OpenFin.Identity;
|
|
12676
|
+
focusIdentity: OpenFin.Identity;
|
|
12677
|
+
}, boolean>;
|
|
12673
12678
|
'get-all-frames': IdentityCall<{}, OpenFin.FrameInfo[]>;
|
|
12674
12679
|
'get-window-bounds': IdentityCall<{
|
|
12675
12680
|
options?: OpenFin.GetBoundsOptions;
|
|
@@ -18408,6 +18413,30 @@ declare class _Window extends WebContents<OpenFin.WindowEvent> {
|
|
|
18408
18413
|
* ```
|
|
18409
18414
|
*/
|
|
18410
18415
|
getAllFrames(): Promise<Array<OpenFin.FrameInfo>>;
|
|
18416
|
+
/**
|
|
18417
|
+
* Activates the current window and focuses the child entity if it exists. If this does
|
|
18418
|
+
* not succeed - say the child does not belong to this window, or the identity does not exist -
|
|
18419
|
+
* it will return false.
|
|
18420
|
+
*
|
|
18421
|
+
* @example
|
|
18422
|
+
* ```js
|
|
18423
|
+
* const win = fin.Window.wrapSync({ uuid: 'myApp', name: 'myOtherWindow' });
|
|
18424
|
+
*
|
|
18425
|
+
* win.getCurrentViews()
|
|
18426
|
+
* .then(([view1]) => {
|
|
18427
|
+
* return win.activateAndFocus(view1.identity);
|
|
18428
|
+
* })
|
|
18429
|
+
* .then(success => {
|
|
18430
|
+
* if (success) {
|
|
18431
|
+
* console.log('Window activated and child focused');
|
|
18432
|
+
* } else {
|
|
18433
|
+
* console.log('Window activation failed, focus state unchanged');
|
|
18434
|
+
* }
|
|
18435
|
+
* })
|
|
18436
|
+
* .catch(console.error);
|
|
18437
|
+
* ```
|
|
18438
|
+
*/
|
|
18439
|
+
activateAndFocus(childIdentityToFocus: OpenFin.Identity): Promise<boolean>;
|
|
18411
18440
|
/**
|
|
18412
18441
|
* Gets the current bounds (top, bottom, right, left, width, height) of the window.
|
|
18413
18442
|
*
|
package/out/fdc3-api-beta.d.ts
CHANGED
|
@@ -9534,6 +9534,7 @@ declare type MutableWindowOptions = {
|
|
|
9534
9534
|
customData: any;
|
|
9535
9535
|
/**
|
|
9536
9536
|
* @defaultValue true
|
|
9537
|
+
* @deprecated Will be removed in runtime version 45
|
|
9537
9538
|
*
|
|
9538
9539
|
* Show the window's frame.
|
|
9539
9540
|
*/
|
|
@@ -12670,6 +12671,10 @@ declare type ProtocolMap = ExternalAdapterOnlyCallsMap & AnalyticsProtocolMap &
|
|
|
12670
12671
|
transitions: OpenFin.Transition;
|
|
12671
12672
|
options: OpenFin.TransitionOptions;
|
|
12672
12673
|
}>;
|
|
12674
|
+
'activate-window-and-focus': ApiCall<{
|
|
12675
|
+
winIdentity: OpenFin.Identity;
|
|
12676
|
+
focusIdentity: OpenFin.Identity;
|
|
12677
|
+
}, boolean>;
|
|
12673
12678
|
'get-all-frames': IdentityCall<{}, OpenFin.FrameInfo[]>;
|
|
12674
12679
|
'get-window-bounds': IdentityCall<{
|
|
12675
12680
|
options?: OpenFin.GetBoundsOptions;
|
|
@@ -18408,6 +18413,30 @@ declare class _Window extends WebContents<OpenFin.WindowEvent> {
|
|
|
18408
18413
|
* ```
|
|
18409
18414
|
*/
|
|
18410
18415
|
getAllFrames(): Promise<Array<OpenFin.FrameInfo>>;
|
|
18416
|
+
/**
|
|
18417
|
+
* Activates the current window and focuses the child entity if it exists. If this does
|
|
18418
|
+
* not succeed - say the child does not belong to this window, or the identity does not exist -
|
|
18419
|
+
* it will return false.
|
|
18420
|
+
*
|
|
18421
|
+
* @example
|
|
18422
|
+
* ```js
|
|
18423
|
+
* const win = fin.Window.wrapSync({ uuid: 'myApp', name: 'myOtherWindow' });
|
|
18424
|
+
*
|
|
18425
|
+
* win.getCurrentViews()
|
|
18426
|
+
* .then(([view1]) => {
|
|
18427
|
+
* return win.activateAndFocus(view1.identity);
|
|
18428
|
+
* })
|
|
18429
|
+
* .then(success => {
|
|
18430
|
+
* if (success) {
|
|
18431
|
+
* console.log('Window activated and child focused');
|
|
18432
|
+
* } else {
|
|
18433
|
+
* console.log('Window activation failed, focus state unchanged');
|
|
18434
|
+
* }
|
|
18435
|
+
* })
|
|
18436
|
+
* .catch(console.error);
|
|
18437
|
+
* ```
|
|
18438
|
+
*/
|
|
18439
|
+
activateAndFocus(childIdentityToFocus: OpenFin.Identity): Promise<boolean>;
|
|
18411
18440
|
/**
|
|
18412
18441
|
* Gets the current bounds (top, bottom, right, left, width, height) of the window.
|
|
18413
18442
|
*
|
package/out/fdc3-api-public.d.ts
CHANGED
|
@@ -9534,6 +9534,7 @@ declare type MutableWindowOptions = {
|
|
|
9534
9534
|
customData: any;
|
|
9535
9535
|
/**
|
|
9536
9536
|
* @defaultValue true
|
|
9537
|
+
* @deprecated Will be removed in runtime version 45
|
|
9537
9538
|
*
|
|
9538
9539
|
* Show the window's frame.
|
|
9539
9540
|
*/
|
|
@@ -12670,6 +12671,10 @@ declare type ProtocolMap = ExternalAdapterOnlyCallsMap & AnalyticsProtocolMap &
|
|
|
12670
12671
|
transitions: OpenFin.Transition;
|
|
12671
12672
|
options: OpenFin.TransitionOptions;
|
|
12672
12673
|
}>;
|
|
12674
|
+
'activate-window-and-focus': ApiCall<{
|
|
12675
|
+
winIdentity: OpenFin.Identity;
|
|
12676
|
+
focusIdentity: OpenFin.Identity;
|
|
12677
|
+
}, boolean>;
|
|
12673
12678
|
'get-all-frames': IdentityCall<{}, OpenFin.FrameInfo[]>;
|
|
12674
12679
|
'get-window-bounds': IdentityCall<{
|
|
12675
12680
|
options?: OpenFin.GetBoundsOptions;
|
|
@@ -18408,6 +18413,30 @@ declare class _Window extends WebContents<OpenFin.WindowEvent> {
|
|
|
18408
18413
|
* ```
|
|
18409
18414
|
*/
|
|
18410
18415
|
getAllFrames(): Promise<Array<OpenFin.FrameInfo>>;
|
|
18416
|
+
/**
|
|
18417
|
+
* Activates the current window and focuses the child entity if it exists. If this does
|
|
18418
|
+
* not succeed - say the child does not belong to this window, or the identity does not exist -
|
|
18419
|
+
* it will return false.
|
|
18420
|
+
*
|
|
18421
|
+
* @example
|
|
18422
|
+
* ```js
|
|
18423
|
+
* const win = fin.Window.wrapSync({ uuid: 'myApp', name: 'myOtherWindow' });
|
|
18424
|
+
*
|
|
18425
|
+
* win.getCurrentViews()
|
|
18426
|
+
* .then(([view1]) => {
|
|
18427
|
+
* return win.activateAndFocus(view1.identity);
|
|
18428
|
+
* })
|
|
18429
|
+
* .then(success => {
|
|
18430
|
+
* if (success) {
|
|
18431
|
+
* console.log('Window activated and child focused');
|
|
18432
|
+
* } else {
|
|
18433
|
+
* console.log('Window activation failed, focus state unchanged');
|
|
18434
|
+
* }
|
|
18435
|
+
* })
|
|
18436
|
+
* .catch(console.error);
|
|
18437
|
+
* ```
|
|
18438
|
+
*/
|
|
18439
|
+
activateAndFocus(childIdentityToFocus: OpenFin.Identity): Promise<boolean>;
|
|
18411
18440
|
/**
|
|
18412
18441
|
* Gets the current bounds (top, bottom, right, left, width, height) of the window.
|
|
18413
18442
|
*
|
package/out/fdc3-api.d.ts
CHANGED
|
@@ -9834,6 +9834,7 @@ declare type MutableWindowOptions = {
|
|
|
9834
9834
|
customData: any;
|
|
9835
9835
|
/**
|
|
9836
9836
|
* @defaultValue true
|
|
9837
|
+
* @deprecated Will be removed in runtime version 45
|
|
9837
9838
|
*
|
|
9838
9839
|
* Show the window's frame.
|
|
9839
9840
|
*/
|
|
@@ -13071,6 +13072,10 @@ declare type ProtocolMap = ExternalAdapterOnlyCallsMap & AnalyticsProtocolMap &
|
|
|
13071
13072
|
transitions: OpenFin.Transition;
|
|
13072
13073
|
options: OpenFin.TransitionOptions;
|
|
13073
13074
|
}>;
|
|
13075
|
+
'activate-window-and-focus': ApiCall<{
|
|
13076
|
+
winIdentity: OpenFin.Identity;
|
|
13077
|
+
focusIdentity: OpenFin.Identity;
|
|
13078
|
+
}, boolean>;
|
|
13074
13079
|
'get-all-frames': IdentityCall<{}, OpenFin.FrameInfo[]>;
|
|
13075
13080
|
'get-window-bounds': IdentityCall<{
|
|
13076
13081
|
options?: OpenFin.GetBoundsOptions;
|
|
@@ -18862,6 +18867,30 @@ declare class _Window extends WebContents<OpenFin.WindowEvent> {
|
|
|
18862
18867
|
* ```
|
|
18863
18868
|
*/
|
|
18864
18869
|
getAllFrames(): Promise<Array<OpenFin.FrameInfo>>;
|
|
18870
|
+
/**
|
|
18871
|
+
* Activates the current window and focuses the child entity if it exists. If this does
|
|
18872
|
+
* not succeed - say the child does not belong to this window, or the identity does not exist -
|
|
18873
|
+
* it will return false.
|
|
18874
|
+
*
|
|
18875
|
+
* @example
|
|
18876
|
+
* ```js
|
|
18877
|
+
* const win = fin.Window.wrapSync({ uuid: 'myApp', name: 'myOtherWindow' });
|
|
18878
|
+
*
|
|
18879
|
+
* win.getCurrentViews()
|
|
18880
|
+
* .then(([view1]) => {
|
|
18881
|
+
* return win.activateAndFocus(view1.identity);
|
|
18882
|
+
* })
|
|
18883
|
+
* .then(success => {
|
|
18884
|
+
* if (success) {
|
|
18885
|
+
* console.log('Window activated and child focused');
|
|
18886
|
+
* } else {
|
|
18887
|
+
* console.log('Window activation failed, focus state unchanged');
|
|
18888
|
+
* }
|
|
18889
|
+
* })
|
|
18890
|
+
* .catch(console.error);
|
|
18891
|
+
* ```
|
|
18892
|
+
*/
|
|
18893
|
+
activateAndFocus(childIdentityToFocus: OpenFin.Identity): Promise<boolean>;
|
|
18865
18894
|
/**
|
|
18866
18895
|
* Gets the current bounds (top, bottom, right, left, width, height) of the window.
|
|
18867
18896
|
*
|