@openfin/core 39.83.2 → 39.83.4
Sign up to get free protection for your applications and to get access to all the features.
- package/out/mock-alpha.d.ts +711 -220
- package/out/mock-beta.d.ts +711 -220
- package/out/mock-public.d.ts +711 -220
- package/out/mock.d.ts +714 -220
- package/out/mock.js +1422 -1311
- package/package.json +1 -1
package/out/mock-beta.d.ts
CHANGED
@@ -45,6 +45,15 @@ declare type Accelerator = {
|
|
45
45
|
zoom: boolean;
|
46
46
|
};
|
47
47
|
|
48
|
+
/**
|
49
|
+
* Generated when a View is added to a layout.
|
50
|
+
* @interface
|
51
|
+
*/
|
52
|
+
declare type AddedToLayoutEvent = BaseEvent_4 & {
|
53
|
+
type: 'added-to-layout';
|
54
|
+
layoutIdentity: OpenFin_2.LayoutIdentity;
|
55
|
+
};
|
56
|
+
|
48
57
|
/**
|
49
58
|
* Options to use when adding a view to a {@link TabStack}.
|
50
59
|
*
|
@@ -52,7 +61,7 @@ declare type Accelerator = {
|
|
52
61
|
*/
|
53
62
|
declare type AddViewOptions = CreateViewTarget & {
|
54
63
|
options: ViewState;
|
55
|
-
targetView?:
|
64
|
+
targetView?: Identity_4;
|
56
65
|
};
|
57
66
|
|
58
67
|
/**
|
@@ -924,15 +933,15 @@ declare namespace ApplicationEvents {
|
|
924
933
|
*/
|
925
934
|
declare type ApplicationEventType = EventType_3;
|
926
935
|
|
927
|
-
declare type ApplicationIdentity = OpenFin_2.ApplicationIdentity;
|
928
|
-
|
929
936
|
/**
|
930
937
|
* @interface
|
931
938
|
*/
|
932
|
-
declare type
|
939
|
+
declare type ApplicationIdentity = {
|
933
940
|
uuid: string;
|
934
941
|
};
|
935
942
|
|
943
|
+
declare type ApplicationIdentityCall<AdditionalPayload = {}, Response = void> = ApiCall<AdditionalPayload & OpenFin_2.ApplicationIdentity, Response>;
|
944
|
+
|
936
945
|
/**
|
937
946
|
* @interface
|
938
947
|
*/
|
@@ -1305,12 +1314,10 @@ declare type ApplicationSourcedEvent = ClosedEvent | ConnectedEvent_2 | CrashedE
|
|
1305
1314
|
*/
|
1306
1315
|
declare type ApplicationSourcedEventType = ApplicationSourcedEvent['type'];
|
1307
1316
|
|
1308
|
-
declare type ApplicationState = OpenFin_2.ApplicationState;
|
1309
|
-
|
1310
1317
|
/**
|
1311
1318
|
* @interface
|
1312
1319
|
*/
|
1313
|
-
declare type
|
1320
|
+
declare type ApplicationState = {
|
1314
1321
|
/**
|
1315
1322
|
* True when the application is a Platform controller
|
1316
1323
|
*/
|
@@ -1342,12 +1349,10 @@ declare type ApplicationType = {
|
|
1342
1349
|
*/
|
1343
1350
|
declare type ApplicationWindowEvent = WindowAlertRequestedEvent | WindowCreatedEvent | WindowEndLoadEvent | WindowNotRespondingEvent | WindowRespondingEvent | WindowStartLoadEvent;
|
1344
1351
|
|
1345
|
-
declare type ApplicationWindowInfo = OpenFin_2.ApplicationWindowInfo;
|
1346
|
-
|
1347
1352
|
/**
|
1348
1353
|
* @interface
|
1349
1354
|
*/
|
1350
|
-
declare type
|
1355
|
+
declare type ApplicationWindowInfo = {
|
1351
1356
|
childWindows: Array<WindowDetail>;
|
1352
1357
|
mainWindow: WindowDetail;
|
1353
1358
|
/**
|
@@ -1609,7 +1614,7 @@ declare class Base {
|
|
1609
1614
|
* @deprecated `me` should only be accessed from the `fin` global ({@link FinApi.me}); access through entity classes is not
|
1610
1615
|
* guaranteed to behave sensibly in all calling contexts.
|
1611
1616
|
*/
|
1612
|
-
get me(): Identity;
|
1617
|
+
get me(): OpenFin_2.Identity;
|
1613
1618
|
/* Excluded from this release type: isNodeEnvironment */
|
1614
1619
|
/* Excluded from this release type: isOpenFinEnvironment */
|
1615
1620
|
/* Excluded from this release type: isBrowserEnvironment */
|
@@ -1829,11 +1834,12 @@ declare type BeforeUnloadUserDecision = {
|
|
1829
1834
|
/**
|
1830
1835
|
* Array of views that will close.
|
1831
1836
|
*/
|
1832
|
-
viewsToClose:
|
1837
|
+
viewsToClose: Identity_4[];
|
1833
1838
|
};
|
1834
1839
|
|
1835
1840
|
/**
|
1836
1841
|
* Generated at the beginning of a user-driven change to a window's size or position.
|
1842
|
+
*
|
1837
1843
|
* @interface
|
1838
1844
|
*/
|
1839
1845
|
declare type BeginUserBoundsChangingEvent = UserBoundsChangeEvent & {
|
@@ -1874,31 +1880,33 @@ declare type Bounds = {
|
|
1874
1880
|
* Generated after changes in a window's size and/or position.
|
1875
1881
|
* @interface
|
1876
1882
|
*/
|
1877
|
-
declare type BoundsChangedEvent =
|
1883
|
+
declare type BoundsChangedEvent = BoundsDidChangeEvent & {
|
1878
1884
|
type: 'bounds-changed';
|
1879
1885
|
};
|
1880
1886
|
|
1881
|
-
|
1882
|
-
* A general bounds change event without event type.
|
1883
|
-
* @interface
|
1884
|
-
*/
|
1885
|
-
declare type BoundsChangeEvent = BaseEvent_5 & {
|
1887
|
+
declare type BoundsChangeEvent = BoundsEvent & {
|
1886
1888
|
changeType: 0 | 1 | 2;
|
1887
|
-
deferred: boolean;
|
1888
|
-
height: number;
|
1889
|
-
left: number;
|
1890
|
-
top: number;
|
1891
|
-
width: number;
|
1892
1889
|
};
|
1893
1890
|
|
1894
1891
|
/**
|
1895
1892
|
* Generated during changes to a window's size and/or position.
|
1896
1893
|
* @interface
|
1897
1894
|
*/
|
1898
|
-
declare type BoundsChangingEvent =
|
1895
|
+
declare type BoundsChangingEvent = BoundsDidChangeEvent & {
|
1899
1896
|
type: 'bounds-changing';
|
1900
1897
|
};
|
1901
1898
|
|
1899
|
+
/**
|
1900
|
+
* An event that fires when a window's bounds are successfully changed.
|
1901
|
+
*
|
1902
|
+
* @interface
|
1903
|
+
*/
|
1904
|
+
declare type BoundsDidChangeEvent = BoundsChangeEvent & {
|
1905
|
+
reason: 'self' | 'animation';
|
1906
|
+
};
|
1907
|
+
|
1908
|
+
declare type BoundsEvent = BaseEvent_5 & OpenFin_2.Bounds;
|
1909
|
+
|
1902
1910
|
/**
|
1903
1911
|
* A rule prescribing content creation in the browser.
|
1904
1912
|
*
|
@@ -2980,7 +2988,7 @@ declare type ClientConnectionPayload = ClientIdentity & ClientInfo;
|
|
2980
2988
|
* Identity of a channel client. Includes endpointId to differentiate between different connections for an entity.
|
2981
2989
|
* @interface
|
2982
2990
|
*/
|
2983
|
-
declare type ClientIdentity =
|
2991
|
+
declare type ClientIdentity = Identity_4 & {
|
2984
2992
|
/**
|
2985
2993
|
* Unique identifier for a client, because there can be multiple clients at one name/uuid entity.
|
2986
2994
|
*/
|
@@ -3213,7 +3221,7 @@ declare type CloseViewOptions = {
|
|
3213
3221
|
/**
|
3214
3222
|
*View to be closed.
|
3215
3223
|
*/
|
3216
|
-
viewIdentity:
|
3224
|
+
viewIdentity: Identity_4;
|
3217
3225
|
};
|
3218
3226
|
|
3219
3227
|
/**
|
@@ -3223,7 +3231,7 @@ declare type CloseViewPayload = {
|
|
3223
3231
|
/**
|
3224
3232
|
*View to be closed.
|
3225
3233
|
*/
|
3226
|
-
view:
|
3234
|
+
view: Identity_4;
|
3227
3235
|
/**
|
3228
3236
|
* The target layout identity where this view should be closed. If not provided, will resolve to the
|
3229
3237
|
* visible layout.
|
@@ -3241,7 +3249,7 @@ declare interface CloseWindowPayload {
|
|
3241
3249
|
*
|
3242
3250
|
* Identity of the Window
|
3243
3251
|
*/
|
3244
|
-
windowId:
|
3252
|
+
windowId: Identity_4;
|
3245
3253
|
options: {
|
3246
3254
|
/**
|
3247
3255
|
* @defaultValue false
|
@@ -3359,7 +3367,7 @@ declare type ConstViewOptions = {
|
|
3359
3367
|
/**
|
3360
3368
|
* The identity of the window this view should be attached to.
|
3361
3369
|
*/
|
3362
|
-
target:
|
3370
|
+
target: Identity_4;
|
3363
3371
|
/**
|
3364
3372
|
* Configures how new content (e,g, from `window.open` or a link) is opened.
|
3365
3373
|
*/
|
@@ -3584,7 +3592,7 @@ declare type ConstWindowOptions = {
|
|
3584
3592
|
/**
|
3585
3593
|
* Parent identity of a modal window. It will create a modal child window when this option is set.
|
3586
3594
|
*/
|
3587
|
-
modalParentIdentity:
|
3595
|
+
modalParentIdentity: Identity_4;
|
3588
3596
|
/**
|
3589
3597
|
* The name of the window.
|
3590
3598
|
*/
|
@@ -3602,7 +3610,9 @@ declare type ConstWindowOptions = {
|
|
3602
3610
|
*/
|
3603
3611
|
preloadScripts: PreloadScript[];
|
3604
3612
|
/**
|
3605
|
-
* String tag that attempts to group like-tagged renderers together.
|
3613
|
+
* String tag that attempts to group like-tagged renderers together.
|
3614
|
+
* However, there is no guarantee that a different affinity value will create a different process, under the hood Chromium can enforce its own process management under certain circumstances.
|
3615
|
+
* @remarks Will only be used if pages are on the same origin.
|
3606
3616
|
*/
|
3607
3617
|
processAffinity: string;
|
3608
3618
|
/**
|
@@ -3649,11 +3659,6 @@ declare type ConstWindowOptions = {
|
|
3649
3659
|
* @deprecated - use `icon` instead.
|
3650
3660
|
*/
|
3651
3661
|
taskbarIcon: string;
|
3652
|
-
/**
|
3653
|
-
* Specify a taskbar group for the window.
|
3654
|
-
* _If omitted, defaults to app's uuid (`fin.Application.getCurrentSync().identity.uuid`)._
|
3655
|
-
*/
|
3656
|
-
taskbarIconGroup: string;
|
3657
3662
|
/**
|
3658
3663
|
* @defaultValue "about:blank"
|
3659
3664
|
*
|
@@ -4068,13 +4073,13 @@ declare type CreateViewPayload = {
|
|
4068
4073
|
* Window the view will be added to. If no target is provided, a new window will be created.
|
4069
4074
|
*/
|
4070
4075
|
target?: CreateViewTarget;
|
4071
|
-
targetView?:
|
4076
|
+
targetView?: Identity_4;
|
4072
4077
|
};
|
4073
4078
|
|
4074
4079
|
/**
|
4075
4080
|
* @interface
|
4076
4081
|
*/
|
4077
|
-
declare type CreateViewTarget = (
|
4082
|
+
declare type CreateViewTarget = (Identity_4 | LayoutIdentity) & {
|
4078
4083
|
/**
|
4079
4084
|
* If specified, view creation will not attach to a window and caller must
|
4080
4085
|
* insert the view into the layout explicitly
|
@@ -4520,7 +4525,7 @@ declare type EmitterAccessor = string[];
|
|
4520
4525
|
declare class EmitterBase<EmitterEvent extends BaseEvent, EmitterEventType extends EmitterEvent['type'] = EmitterEvent['type']> extends Base {
|
4521
4526
|
#private;
|
4522
4527
|
private topic;
|
4523
|
-
protected identity: ApplicationIdentity;
|
4528
|
+
protected identity: OpenFin_2.ApplicationIdentity;
|
4524
4529
|
constructor(wire: Transport, topic: string, ...additionalAccessors: string[]);
|
4525
4530
|
eventNames: () => (string | symbol)[];
|
4526
4531
|
/* Excluded from this release type: emit */
|
@@ -4595,20 +4600,17 @@ declare type EndLoadEvent = BaseEvent_5 & {
|
|
4595
4600
|
|
4596
4601
|
/**
|
4597
4602
|
* Generated at the end of a user-driven change to a window's size or position.
|
4603
|
+
*
|
4598
4604
|
* @interface
|
4599
4605
|
*/
|
4600
4606
|
declare type EndUserBoundsChangingEvent = UserBoundsChangeEvent & {
|
4601
4607
|
type: 'end-user-bounds-changing';
|
4602
4608
|
};
|
4603
4609
|
|
4604
|
-
declare type Entity = OpenFin_2.ApplicationType;
|
4605
|
-
|
4606
|
-
declare type EntityInfo = OpenFin_2.EntityInfo;
|
4607
|
-
|
4608
4610
|
/**
|
4609
4611
|
* @interface
|
4610
4612
|
*/
|
4611
|
-
declare type
|
4613
|
+
declare type EntityInfo = {
|
4612
4614
|
uuid: string;
|
4613
4615
|
name: string;
|
4614
4616
|
entityType: EntityType_4;
|
@@ -4694,6 +4696,7 @@ declare interface Environment {
|
|
4694
4696
|
getInteropInfo(fin: OpenFin_2.Fin<OpenFin_2.EntityType>): Promise<InternalInteropBrokerOptions & {
|
4695
4697
|
fdc3Version?: Version;
|
4696
4698
|
}>;
|
4699
|
+
getViewWindowIdentity(fin: OpenFin_2.Fin<OpenFin_2.EntityType>, identity: OpenFin_2.Identity): Promise<OpenFin_2.Identity>;
|
4697
4700
|
readonly type: EnvironmentType;
|
4698
4701
|
}
|
4699
4702
|
|
@@ -4758,7 +4761,7 @@ declare type Event_3 = ViewEvents.PropagatedEvent<'application'> | WindowEvents.
|
|
4758
4761
|
*/
|
4759
4762
|
declare type Event_4 = (WebContentsEvents.Event<'view'> & {
|
4760
4763
|
target: OpenFin_2.Identity;
|
4761
|
-
}) | CreatedEvent | DestroyedEvent | HiddenEvent | HotkeyEvent | ShownEvent | TargetChangedEvent | HostContextChangedEvent;
|
4764
|
+
}) | CreatedEvent | DestroyedEvent | HiddenEvent | HotkeyEvent | ShownEvent | TargetChangedEvent | HostContextChangedEvent | AddedToLayoutEvent | RemovedFromLayoutEvent;
|
4762
4765
|
|
4763
4766
|
/**
|
4764
4767
|
* [Union](https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#union-types) containing events shared by all WebContents elements
|
@@ -4957,7 +4960,7 @@ declare type ExternalApplicationEventType = EventType_4;
|
|
4957
4960
|
* @interface
|
4958
4961
|
*/
|
4959
4962
|
declare type ExternalApplicationInfo = {
|
4960
|
-
parent:
|
4963
|
+
parent: Identity_4;
|
4961
4964
|
};
|
4962
4965
|
|
4963
4966
|
/**
|
@@ -5153,6 +5156,10 @@ declare type FileDownloadEvent = {
|
|
5153
5156
|
* The number of bytes of the item that have already been downloaded.
|
5154
5157
|
*/
|
5155
5158
|
downloadedBytes: number;
|
5159
|
+
/**
|
5160
|
+
* Unique identifier for the downloaded file.
|
5161
|
+
*/
|
5162
|
+
fileUuid: string;
|
5156
5163
|
} & NamedEvent;
|
5157
5164
|
|
5158
5165
|
/**
|
@@ -5413,7 +5420,7 @@ declare type FrameInfo = {
|
|
5413
5420
|
uuid: string;
|
5414
5421
|
url: string;
|
5415
5422
|
entityType: EntityType_4;
|
5416
|
-
parent:
|
5423
|
+
parent: Identity_4;
|
5417
5424
|
};
|
5418
5425
|
|
5419
5426
|
/**
|
@@ -5488,12 +5495,10 @@ declare type FrameProcessDetails = ProcessDetails & {
|
|
5488
5495
|
entityType: string;
|
5489
5496
|
};
|
5490
5497
|
|
5491
|
-
declare type GetLogRequestType = OpenFin_2.GetLogRequestType;
|
5492
|
-
|
5493
5498
|
/**
|
5494
5499
|
* @interface
|
5495
5500
|
*/
|
5496
|
-
declare type
|
5501
|
+
declare type GetLogRequestType = {
|
5497
5502
|
/**
|
5498
5503
|
* The name of the running application
|
5499
5504
|
*/
|
@@ -5513,7 +5518,7 @@ declare type GetWindowContextPayload = {
|
|
5513
5518
|
/**
|
5514
5519
|
* Identity of the entity targeted by the call to {@link Platform#setWindowContext Platform.setWindowContext}.
|
5515
5520
|
*/
|
5516
|
-
target:
|
5521
|
+
target: Identity_4;
|
5517
5522
|
};
|
5518
5523
|
|
5519
5524
|
/**
|
@@ -5779,8 +5784,6 @@ declare type Identity_2 = OpenFin_2.Identity;
|
|
5779
5784
|
|
5780
5785
|
declare type Identity_3 = OpenFin_2.Identity;
|
5781
5786
|
|
5782
|
-
declare type Identity_4 = OpenFin_2.Identity;
|
5783
|
-
|
5784
5787
|
/**
|
5785
5788
|
* Unique identifier for a window, view or iframe.
|
5786
5789
|
*
|
@@ -5789,7 +5792,7 @@ declare type Identity_4 = OpenFin_2.Identity;
|
|
5789
5792
|
*
|
5790
5793
|
* @interface
|
5791
5794
|
*/
|
5792
|
-
declare type
|
5795
|
+
declare type Identity_4 = {
|
5793
5796
|
/**
|
5794
5797
|
* Universally unique identifier of the application that owns the component.
|
5795
5798
|
*/
|
@@ -5948,12 +5951,10 @@ declare type InstallationInfo = {
|
|
5948
5951
|
cachedManifest: any;
|
5949
5952
|
};
|
5950
5953
|
|
5951
|
-
declare type InstalledApps = OpenFin_2.InstalledApps;
|
5952
|
-
|
5953
5954
|
/**
|
5954
5955
|
* @interface
|
5955
5956
|
*/
|
5956
|
-
declare type
|
5957
|
+
declare type InstalledApps = {
|
5957
5958
|
[key: string]: InstallationInfo;
|
5958
5959
|
};
|
5959
5960
|
|
@@ -6724,7 +6725,7 @@ declare class InteropBroker extends Base {
|
|
6724
6725
|
* @param _id the identity tryinc to connect
|
6725
6726
|
* @param _connectionPayload optional payload to use in custom implementations, will be undefined by default
|
6726
6727
|
*/
|
6727
|
-
isConnectionAuthorized(_id:
|
6728
|
+
isConnectionAuthorized(_id: Identity_2, _connectionPayload?: any): Promise<boolean> | boolean;
|
6728
6729
|
/**
|
6729
6730
|
* Called before every action to check if this entity should be allowed to take the action.
|
6730
6731
|
* Return false to prevent the action
|
@@ -7517,6 +7518,7 @@ declare type LaunchIntoPlatformPayload = {
|
|
7517
7518
|
*/
|
7518
7519
|
declare class Layout extends Base {
|
7519
7520
|
#private;
|
7521
|
+
/* Excluded from this release type: getClient */
|
7520
7522
|
/* Excluded from this release type: init */
|
7521
7523
|
identity: OpenFin_2.Identity | OpenFin_2.LayoutIdentity;
|
7522
7524
|
private platform;
|
@@ -7616,6 +7618,17 @@ declare class Layout extends Base {
|
|
7616
7618
|
* ```
|
7617
7619
|
*/
|
7618
7620
|
getRootItem(): Promise<OpenFin_2.ColumnOrRow | OpenFin_2.TabStack>;
|
7621
|
+
/**
|
7622
|
+
* Retrieves the OpenFin.TabStack instance which the View belongs to.
|
7623
|
+
*
|
7624
|
+
* @example
|
7625
|
+
* ```js
|
7626
|
+
* const viewIdentity = { uuid: 'uuid', name: 'view-name' };
|
7627
|
+
* const stack = await fin.View.wrapSync(viewIdentity).getStackByViewIdentity(viewIdentity);
|
7628
|
+
* console.log(await stack.getViews());
|
7629
|
+
* ```
|
7630
|
+
*/
|
7631
|
+
getStackByViewIdentity(identity: OpenFin_2.Identity): Promise<OpenFin_2.TabStack>;
|
7619
7632
|
/**
|
7620
7633
|
* Replaces the specified view with a view with the provided configuration.
|
7621
7634
|
*
|
@@ -7642,7 +7655,7 @@ declare class Layout extends Base {
|
|
7642
7655
|
* await layout.replaceView(viewToReplace.identity, newViewConfig);
|
7643
7656
|
* ```
|
7644
7657
|
*/
|
7645
|
-
replaceView: (viewToReplace:
|
7658
|
+
replaceView: (viewToReplace: Identity_3, newView: OpenFin_2.PlatformViewCreationOptions) => Promise<void>;
|
7646
7659
|
/**
|
7647
7660
|
* Replaces a Platform window's layout with a preset layout arrangement using the existing Views attached to the window.
|
7648
7661
|
* The preset options are `columns`, `grid`, `rows`, and `tabs`.
|
@@ -7697,7 +7710,7 @@ declare type LayoutContent = Array<LayoutItemConfig | LayoutRow | LayoutColumn |
|
|
7697
7710
|
/**
|
7698
7711
|
* The base payload for the CustomEvent.detail property for Layout events emitted on the layout container element.
|
7699
7712
|
*/
|
7700
|
-
declare type LayoutDOMEvent =
|
7713
|
+
declare type LayoutDOMEvent = Identity_4 & {
|
7701
7714
|
type: string;
|
7702
7715
|
topic: 'openfin-DOM-event';
|
7703
7716
|
tabSelector: string;
|
@@ -7758,7 +7771,7 @@ declare type LayoutEntityTypes = 'column' | 'row' | 'stack';
|
|
7758
7771
|
/**
|
7759
7772
|
* @interface
|
7760
7773
|
*/
|
7761
|
-
declare type LayoutIdentity =
|
7774
|
+
declare type LayoutIdentity = Identity_4 & {
|
7762
7775
|
/**
|
7763
7776
|
* The name of the layout in a given window.
|
7764
7777
|
*/
|
@@ -7867,7 +7880,7 @@ declare interface LayoutManager<T extends LayoutSnapshot> {
|
|
7867
7880
|
* @param identity
|
7868
7881
|
* @returns LayoutIdentity | undefined
|
7869
7882
|
*/
|
7870
|
-
resolveLayoutIdentity(identity?:
|
7883
|
+
resolveLayoutIdentity(identity?: Identity_4 | LayoutIdentity): LayoutIdentity | undefined;
|
7871
7884
|
/**
|
7872
7885
|
* @experimental
|
7873
7886
|
*
|
@@ -7884,7 +7897,7 @@ declare interface LayoutManager<T extends LayoutSnapshot> {
|
|
7884
7897
|
/**
|
7885
7898
|
* @experimental
|
7886
7899
|
*/
|
7887
|
-
getLayoutIdentityForView(viewIdentity:
|
7900
|
+
getLayoutIdentityForView(viewIdentity: Identity_4): LayoutIdentity;
|
7888
7901
|
/**
|
7889
7902
|
* @experimental
|
7890
7903
|
*/
|
@@ -7985,6 +7998,17 @@ declare class LayoutModule extends Base {
|
|
7985
7998
|
* ```
|
7986
7999
|
*/
|
7987
8000
|
getCurrentSync(): OpenFin_2.Layout;
|
8001
|
+
/**
|
8002
|
+
* Retrieves the OpenFin.Layout instance for the Window the View is attached to.
|
8003
|
+
*
|
8004
|
+
* @example
|
8005
|
+
* ```js
|
8006
|
+
* const viewIdentity = { uuid: 'uuid', name: 'view-name' };
|
8007
|
+
* const layout = await fin.Platform.Layout.getLayoutByViewIdentity(viewIdentity);
|
8008
|
+
* console.log(await layout.getCurrentViews());
|
8009
|
+
* ```
|
8010
|
+
*/
|
8011
|
+
getLayoutByViewIdentity(viewIdentity: OpenFin_2.Identity): Promise<OpenFin_2.Layout>;
|
7988
8012
|
/**
|
7989
8013
|
* Initialize the window's Layout.
|
7990
8014
|
*
|
@@ -8188,12 +8212,10 @@ declare type Listener<T extends {
|
|
8188
8212
|
type: string;
|
8189
8213
|
}> = (payload: T) => void;
|
8190
8214
|
|
8191
|
-
declare type LogInfo = OpenFin_2.LogInfo;
|
8192
|
-
|
8193
8215
|
/**
|
8194
8216
|
* @interface
|
8195
8217
|
*/
|
8196
|
-
declare type
|
8218
|
+
declare type LogInfo = {
|
8197
8219
|
/**
|
8198
8220
|
* The filename of the log
|
8199
8221
|
*/
|
@@ -8208,8 +8230,6 @@ declare type LogInfo_2 = {
|
|
8208
8230
|
date: string;
|
8209
8231
|
};
|
8210
8232
|
|
8211
|
-
declare type LogLevel = OpenFin_2.LogLevel;
|
8212
|
-
|
8213
8233
|
/**
|
8214
8234
|
* Describes the minimum level (inclusive) above which logs will be written.
|
8215
8235
|
*
|
@@ -8219,7 +8239,7 @@ declare type LogLevel = OpenFin_2.LogLevel;
|
|
8219
8239
|
* `error` and above<br>
|
8220
8240
|
* `fatal`: fatal only, indicates a crash is imminent
|
8221
8241
|
*/
|
8222
|
-
declare type
|
8242
|
+
declare type LogLevel = 'verbose' | 'info' | 'warning' | 'error' | 'fatal';
|
8223
8243
|
|
8224
8244
|
declare type LogUploaderUIOptions = {
|
8225
8245
|
title?: string;
|
@@ -8868,6 +8888,12 @@ declare type MutableWindowOptions = {
|
|
8868
8888
|
* Shows the window's icon in the taskbar.
|
8869
8889
|
*/
|
8870
8890
|
showTaskbarIcon: boolean;
|
8891
|
+
/**
|
8892
|
+
* Specify a taskbar group for the window.
|
8893
|
+
* _If omitted, defaults to app's uuid (`fin.Application.getCurrentSync().identity.uuid`)._
|
8894
|
+
* @remarks It's only updatable when `enableJumpList` is set to false.
|
8895
|
+
*/
|
8896
|
+
taskbarIconGroup: string;
|
8871
8897
|
interop: InteropConfig;
|
8872
8898
|
/* Excluded from this release type: _internalWorkspaceData */
|
8873
8899
|
/* Excluded from this release type: workspacePlatform */
|
@@ -9047,13 +9073,13 @@ declare namespace OpenFin_2 {
|
|
9047
9073
|
LayoutPosition,
|
9048
9074
|
WebContent,
|
9049
9075
|
PlatformProvider,
|
9050
|
-
|
9051
|
-
|
9076
|
+
ApplicationIdentity,
|
9077
|
+
Identity_4 as Identity,
|
9052
9078
|
ClientIdentity,
|
9053
9079
|
ClientInfo,
|
9054
9080
|
ClientIdentityMultiRuntime,
|
9055
9081
|
ClientConnectionPayload,
|
9056
|
-
|
9082
|
+
EntityInfo,
|
9057
9083
|
EntityType_4 as EntityType,
|
9058
9084
|
Bounds,
|
9059
9085
|
WindowBounds,
|
@@ -9189,7 +9215,7 @@ declare namespace OpenFin_2 {
|
|
9189
9215
|
GpuInfo,
|
9190
9216
|
OSInfo,
|
9191
9217
|
HostSpecs,
|
9192
|
-
|
9218
|
+
PrinterInfo,
|
9193
9219
|
Dpi,
|
9194
9220
|
Margins,
|
9195
9221
|
PrintOptions,
|
@@ -9297,24 +9323,24 @@ declare namespace OpenFin_2 {
|
|
9297
9323
|
BeforeUnloadUserDecision,
|
9298
9324
|
ViewStatuses,
|
9299
9325
|
CloseWindowPayload,
|
9300
|
-
|
9301
|
-
|
9326
|
+
ProxyInfo,
|
9327
|
+
ProxyConfig,
|
9302
9328
|
ProxySystemInfo,
|
9303
9329
|
ChannelAction_2 as ChannelAction,
|
9304
9330
|
ChannelMiddleware_2 as ChannelMiddleware,
|
9305
9331
|
ErrorMiddleware_2 as ErrorMiddleware,
|
9306
|
-
|
9307
|
-
|
9332
|
+
ApplicationState,
|
9333
|
+
InstalledApps,
|
9308
9334
|
InstallationInfo,
|
9309
|
-
|
9310
|
-
|
9335
|
+
GetLogRequestType,
|
9336
|
+
LogInfo,
|
9311
9337
|
SendApplicationLogResponse,
|
9312
|
-
|
9338
|
+
LogLevel,
|
9313
9339
|
PermissionState_2 as PermissionState,
|
9314
|
-
|
9340
|
+
RegistryInfo,
|
9315
9341
|
ApplicationType,
|
9316
9342
|
WindowInfo,
|
9317
|
-
|
9343
|
+
ApplicationWindowInfo,
|
9318
9344
|
WindowDetail,
|
9319
9345
|
LayoutPresetType,
|
9320
9346
|
LayoutIdentity,
|
@@ -11225,12 +11251,10 @@ declare type PresetLayoutOptions_2 = {
|
|
11225
11251
|
presetType: LayoutPresetType;
|
11226
11252
|
};
|
11227
11253
|
|
11228
|
-
declare type PrinterInfo = OpenFin_2.PrinterInfo;
|
11229
|
-
|
11230
11254
|
/**
|
11231
11255
|
* @interface
|
11232
11256
|
*/
|
11233
|
-
declare type
|
11257
|
+
declare type PrinterInfo = {
|
11234
11258
|
/**
|
11235
11259
|
* Printer Name
|
11236
11260
|
*/
|
@@ -11492,20 +11516,100 @@ declare type PropagatedWindowEvent<TargetTopic extends string> = PropagatedEvent
|
|
11492
11516
|
declare type PropagatedWindowEventType = PropagatedEvent_3<string>['type'];
|
11493
11517
|
|
11494
11518
|
declare interface ProtocolMap extends ProtocolMapBase {
|
11519
|
+
'is-application-running': ApplicationIdentityCall<{}, boolean>;
|
11520
|
+
'destroy-application': ApplicationIdentityCall<{
|
11521
|
+
force: boolean;
|
11522
|
+
}, void>;
|
11523
|
+
'close-application': ApplicationIdentityCall<{
|
11524
|
+
force: boolean;
|
11525
|
+
}, void>;
|
11526
|
+
'application-close': ApplicationIdentityCall<{}, void>;
|
11527
|
+
'get-child-windows': ApplicationIdentityCall<{}, Array<unknown>>;
|
11528
|
+
'get-application-manifest': {
|
11529
|
+
request: {
|
11530
|
+
manifestUrl?: string;
|
11531
|
+
uuid?: string;
|
11532
|
+
};
|
11533
|
+
response: OpenFin_2.Manifest;
|
11534
|
+
};
|
11535
|
+
'get-parent-application': ApplicationIdentityCall<{}, string>;
|
11536
|
+
'get-shortcuts': ApplicationIdentityCall<{}, OpenFin_2.ShortCutConfig>;
|
11537
|
+
'application-get-views': ApplicationIdentityCall<{}, OpenFin_2.Identity[]>;
|
11538
|
+
'get-application-zoom-level': ApplicationIdentityCall<{}, number>;
|
11539
|
+
'application-get-window': ApplicationIdentityCall<{}, void>;
|
11540
|
+
'register-user': ApplicationIdentityCall<{
|
11541
|
+
userName: string;
|
11542
|
+
appName: string;
|
11543
|
+
}, void>;
|
11544
|
+
'remove-tray-icon': ApplicationIdentityCall<{}, void>;
|
11545
|
+
'restart-application': ApplicationIdentityCall<{}, void>;
|
11546
|
+
'application-run': ApplicationIdentityCall<{}, void>;
|
11547
|
+
'run-application': ApplicationIdentityCall<{
|
11548
|
+
manifestUrl?: string | undefined;
|
11549
|
+
opts?: OpenFin_2.RvmLaunchOptions;
|
11550
|
+
}, void>;
|
11551
|
+
'relaunch-on-close': ApplicationIdentityCall<{}, void>;
|
11552
|
+
'send-application-log': ApplicationIdentityCall<{}, OpenFin_2.SendApplicationLogResponse>;
|
11553
|
+
'set-jump-list': ApplicationIdentityCall<{
|
11554
|
+
config: OpenFin_2.JumpListCategory[] | null;
|
11555
|
+
}, void>;
|
11556
|
+
'set-tray-icon': ApplicationIdentityCall<{
|
11557
|
+
enabledIcon: string;
|
11558
|
+
}, void>;
|
11559
|
+
'set-shortcuts': ApplicationIdentityCall<{
|
11560
|
+
data: OpenFin_2.ShortCutConfig;
|
11561
|
+
}, void>;
|
11562
|
+
'set-shortcut-query-args': ApplicationIdentityCall<{
|
11563
|
+
data: string;
|
11564
|
+
}, void>;
|
11565
|
+
'set-application-zoom-level': ApplicationIdentityCall<{
|
11566
|
+
level: number;
|
11567
|
+
}, void>;
|
11568
|
+
'set-app-log-username': ApplicationIdentityCall<{
|
11569
|
+
data: string;
|
11570
|
+
}, void>;
|
11571
|
+
'get-tray-icon-info': ApplicationIdentityCall<{}, OpenFin_2.TrayInfo>;
|
11572
|
+
'has-tray-icon': ApplicationIdentityCall<{}, boolean>;
|
11573
|
+
'terminate-application': ApplicationIdentityCall<{}, void>;
|
11574
|
+
'wait-for-hung-application': ApplicationIdentityCall<{}, void>;
|
11575
|
+
'get-info': ApplicationIdentityCall<{}, OpenFin_2.ApplicationInfo>;
|
11576
|
+
'application-get-process-info': ApplicationIdentityCall<{}, OpenFin_2.AppProcessInfo>;
|
11577
|
+
'set-file-download-location': {
|
11578
|
+
request: OpenFin_2.Identity & {
|
11579
|
+
downloadLocation: string;
|
11580
|
+
};
|
11581
|
+
response: void;
|
11582
|
+
};
|
11583
|
+
'get-file-download-location': ApplicationIdentityCall<{}, string>;
|
11584
|
+
'show-tray-icon-popup-menu': {
|
11585
|
+
request: OpenFin_2.Identity & {
|
11586
|
+
options: OpenFin_2.ShowTrayIconPopupMenuOptions;
|
11587
|
+
};
|
11588
|
+
response: OpenFin_2.MenuResult;
|
11589
|
+
};
|
11590
|
+
'close-tray-icon-popup-menu': IdentityCall<{}, void>;
|
11591
|
+
'wrap-application': VoidCall;
|
11592
|
+
'wrap-application-sync': VoidCall;
|
11593
|
+
'create-application': ApiCall<OpenFin_2.ApplicationCreationOptions, void>;
|
11594
|
+
'application-create': VoidCall;
|
11595
|
+
'start-application': VoidCall;
|
11596
|
+
'run-applications': ApiCall<{
|
11597
|
+
applications: Array<OpenFin_2.ManifestInfo>;
|
11598
|
+
opts?: OpenFin_2.RvmLaunchOptions;
|
11599
|
+
}, void>;
|
11600
|
+
'get-current-application': VoidCall;
|
11601
|
+
'get-current-application-sync': VoidCall;
|
11602
|
+
'application-start-from-manifest': VoidCall;
|
11603
|
+
'application-create-from-manifest': VoidCall;
|
11495
11604
|
'request-external-authorization': {
|
11496
11605
|
request: any;
|
11497
11606
|
response: void;
|
11498
11607
|
specialResponse: AuthorizationPayload;
|
11499
11608
|
};
|
11500
|
-
'
|
11501
|
-
request:
|
11502
|
-
response: OpenFin_2.Identity[];
|
11503
|
-
};
|
11504
|
-
'set-jump-list': {
|
11505
|
-
request: {
|
11506
|
-
config: OpenFin_2.JumpListCategory[] | null;
|
11507
|
-
} & OpenFin_2.ApplicationIdentity;
|
11609
|
+
'request-authorization': {
|
11610
|
+
request: ExistingConnectConfig | RemoteConfig | ReceiverConfig;
|
11508
11611
|
response: void;
|
11612
|
+
specialResponse: Payload;
|
11509
11613
|
};
|
11510
11614
|
'clipboard-read-formats': {
|
11511
11615
|
request: {
|
@@ -11517,6 +11621,24 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
11517
11621
|
request: OpenFin_2.ReadImageClipboardRequest;
|
11518
11622
|
response: string;
|
11519
11623
|
};
|
11624
|
+
'clipboard-read-text': {
|
11625
|
+
request: {
|
11626
|
+
type?: OpenFin_2.ClipboardSelectionType;
|
11627
|
+
};
|
11628
|
+
response: string;
|
11629
|
+
};
|
11630
|
+
'clipboard-read-html': {
|
11631
|
+
request: {
|
11632
|
+
type?: OpenFin_2.ClipboardSelectionType;
|
11633
|
+
};
|
11634
|
+
response: string;
|
11635
|
+
};
|
11636
|
+
'clipboard-read-rtf': {
|
11637
|
+
request: {
|
11638
|
+
type?: OpenFin_2.ClipboardSelectionType;
|
11639
|
+
};
|
11640
|
+
response: string;
|
11641
|
+
};
|
11520
11642
|
'clipboard-write-image': {
|
11521
11643
|
request: OpenFin_2.WriteImageClipboardRequest;
|
11522
11644
|
response: void;
|
@@ -11525,6 +11647,18 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
11525
11647
|
request: OpenFin_2.WriteAnyRequestType;
|
11526
11648
|
response: void;
|
11527
11649
|
};
|
11650
|
+
'clipboard-write-text': {
|
11651
|
+
request: OpenFin_2.WriteClipboardRequest;
|
11652
|
+
response: void;
|
11653
|
+
};
|
11654
|
+
'clipboard-write-html': {
|
11655
|
+
request: OpenFin_2.WriteClipboardRequest;
|
11656
|
+
response: void;
|
11657
|
+
};
|
11658
|
+
'clipboard-write-rtf': {
|
11659
|
+
request: OpenFin_2.WriteClipboardRequest;
|
11660
|
+
response: void;
|
11661
|
+
};
|
11528
11662
|
'get-view-window': IdentityCall<{}, OpenFin_2.Identity>;
|
11529
11663
|
'create-view': IdentityCall<OpenFin_2.ViewCreationOptions & {
|
11530
11664
|
uuid: string;
|
@@ -11550,13 +11684,85 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
11550
11684
|
options: OpenFin_2.UpdatableViewOptions;
|
11551
11685
|
}>;
|
11552
11686
|
'trigger-before-unload': IdentityCall<{}, boolean>;
|
11687
|
+
'view-wrap-sync': VoidCall;
|
11688
|
+
'view-wrap': VoidCall;
|
11689
|
+
'view-get-current': VoidCall;
|
11690
|
+
'view-get-current-sync': VoidCall;
|
11691
|
+
'animate-window': IdentityCall<{
|
11692
|
+
transitions: OpenFin_2.Transition;
|
11693
|
+
options: OpenFin_2.TransitionOptions;
|
11694
|
+
}>;
|
11695
|
+
'get-all-frames': IdentityCall<{}, OpenFin_2.FrameInfo[]>;
|
11696
|
+
'get-window-bounds': IdentityCall<{}, OpenFin_2.WindowBounds>;
|
11697
|
+
'center-window': IdentityCall;
|
11698
|
+
'blur-window': IdentityCall;
|
11699
|
+
'bring-window-to-front': IdentityCall;
|
11700
|
+
'hide-window': IdentityCall;
|
11701
|
+
'close-window': IdentityCall<{
|
11702
|
+
force: boolean;
|
11703
|
+
}>;
|
11704
|
+
'focused-webview-changed': IdentityCall;
|
11705
|
+
'get-window-native-id': IdentityCall<{}, string>;
|
11553
11706
|
'window-get-views': IdentityCall<{}, OpenFin_2.Identity[]>;
|
11554
|
-
'
|
11707
|
+
'disable-window-frame': IdentityCall;
|
11708
|
+
'enable-window-frame': IdentityCall;
|
11709
|
+
'flash-window': IdentityCall;
|
11710
|
+
'stop-flash-window': IdentityCall;
|
11711
|
+
'get-window-info': IdentityCall<{}, OpenFin_2.WindowInfo>;
|
11712
|
+
'get-window-options': IdentityCall<{}, OpenFin_2.WindowOptions>;
|
11713
|
+
'get-window-snapshot': IdentityCall<{
|
11714
|
+
area?: OpenFin_2.Rectangle;
|
11715
|
+
}, string>;
|
11716
|
+
'get-window-state': IdentityCall<{}, 'minimized' | 'maximized' | 'normal'>;
|
11717
|
+
'is-window-showing': IdentityCall<{}, boolean>;
|
11718
|
+
'maximize-window': IdentityCall;
|
11719
|
+
'minimize-window': IdentityCall;
|
11720
|
+
'move-window-by': IdentityCall<WithPositioningOptions<{
|
11721
|
+
deltaLeft: number;
|
11722
|
+
deltaTop: number;
|
11723
|
+
}>>;
|
11724
|
+
'move-window': IdentityCall<WithPositioningOptions<{
|
11725
|
+
left: number;
|
11726
|
+
top: number;
|
11727
|
+
}>>;
|
11728
|
+
'resize-window-by': IdentityCall<WithPositioningOptions<{
|
11729
|
+
deltaWidth: number;
|
11730
|
+
deltaHeight: number;
|
11731
|
+
anchor: OpenFin_2.AnchorType;
|
11732
|
+
}>>;
|
11733
|
+
'resize-window': IdentityCall<WithPositioningOptions<{
|
11734
|
+
width: number;
|
11735
|
+
height: number;
|
11736
|
+
anchor: OpenFin_2.AnchorType;
|
11737
|
+
}>>;
|
11738
|
+
'restore-window': IdentityCall;
|
11739
|
+
'set-foreground-window': IdentityCall;
|
11740
|
+
'set-window-bounds': IdentityCall<WithPositioningOptions<Partial<OpenFin_2.Bounds>>>;
|
11741
|
+
'show-window': IdentityCall<{
|
11742
|
+
force: boolean;
|
11743
|
+
}>;
|
11744
|
+
'show-at-window': IdentityCall<{
|
11745
|
+
left: number;
|
11746
|
+
top: number;
|
11747
|
+
force: boolean;
|
11748
|
+
}>;
|
11749
|
+
'update-window-options': IdentityCall<{
|
11750
|
+
options: OpenFin_2.UpdatableWindowOptions;
|
11751
|
+
}>;
|
11752
|
+
'window-authenticate': IdentityCall<{
|
11753
|
+
userName: string;
|
11754
|
+
password: string;
|
11755
|
+
}>;
|
11756
|
+
'show-popup-menu': {
|
11555
11757
|
request: OpenFin_2.Identity & {
|
11556
|
-
options: OpenFin_2.
|
11758
|
+
options: OpenFin_2.ShowPopupMenuOptions;
|
11557
11759
|
};
|
11558
|
-
response:
|
11760
|
+
response: OpenFin_2.MenuResult;
|
11559
11761
|
};
|
11762
|
+
'close-popup-menu': IdentityCall;
|
11763
|
+
'dispatch-popup-result': IdentityCall<{
|
11764
|
+
data: any;
|
11765
|
+
}>;
|
11560
11766
|
'print-screenshot': {
|
11561
11767
|
request: OpenFin_2.Identity;
|
11562
11768
|
response: void;
|
@@ -11567,6 +11773,229 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
11567
11773
|
};
|
11568
11774
|
response: void;
|
11569
11775
|
};
|
11776
|
+
'window-wrap': VoidCall;
|
11777
|
+
'window-wrap-sync': VoidCall;
|
11778
|
+
'create-window': VoidCall;
|
11779
|
+
'get-current-window': VoidCall;
|
11780
|
+
'get-current-window-sync': VoidCall;
|
11781
|
+
'get-external-application-info': ApiCall<OpenFin_2.ApplicationIdentity, OpenFin_2.ExternalApplicationInfo>;
|
11782
|
+
'external-application-wrap': VoidCall;
|
11783
|
+
'external-application-wrap-sync': VoidCall;
|
11784
|
+
'get-frame-info': ApiCall<OpenFin_2.Identity, OpenFin_2.FrameInfo>;
|
11785
|
+
'get-parent-window': ApiCall<OpenFin_2.Identity, OpenFin_2.FrameInfo>;
|
11786
|
+
'frame-wrap': VoidCall;
|
11787
|
+
'frame-wrap-sync': VoidCall;
|
11788
|
+
'frame-get-current': VoidCall;
|
11789
|
+
'frame-get-current-sync': VoidCall;
|
11790
|
+
'global-hotkey-register': {
|
11791
|
+
request: {
|
11792
|
+
hotkey: string;
|
11793
|
+
};
|
11794
|
+
response: void;
|
11795
|
+
};
|
11796
|
+
'global-hotkey-unregister': {
|
11797
|
+
request: {
|
11798
|
+
hotkey: string;
|
11799
|
+
};
|
11800
|
+
response: void;
|
11801
|
+
};
|
11802
|
+
'global-hotkey-unregister-all': {
|
11803
|
+
request: {};
|
11804
|
+
response: void;
|
11805
|
+
};
|
11806
|
+
'global-hotkey-is-registered': {
|
11807
|
+
request: {
|
11808
|
+
hotkey: string;
|
11809
|
+
};
|
11810
|
+
response: boolean;
|
11811
|
+
};
|
11812
|
+
'publish-message': {
|
11813
|
+
request: {
|
11814
|
+
topic: string;
|
11815
|
+
message: any;
|
11816
|
+
sourceWindowName: string;
|
11817
|
+
};
|
11818
|
+
response: void;
|
11819
|
+
};
|
11820
|
+
'send-message': {
|
11821
|
+
request: {
|
11822
|
+
destinationUuid: string;
|
11823
|
+
destinationWindowName: string | undefined;
|
11824
|
+
topic: string;
|
11825
|
+
message: any;
|
11826
|
+
sourceWindowName: string;
|
11827
|
+
};
|
11828
|
+
response: void;
|
11829
|
+
};
|
11830
|
+
'subscribe': {
|
11831
|
+
request: {
|
11832
|
+
sourceUuid: string;
|
11833
|
+
sourceWindowName: string;
|
11834
|
+
topic: string;
|
11835
|
+
destinationWindowName: string;
|
11836
|
+
messageKey?: any;
|
11837
|
+
};
|
11838
|
+
response: void;
|
11839
|
+
};
|
11840
|
+
'unsubscribe': {
|
11841
|
+
request: {
|
11842
|
+
sourceUuid: string;
|
11843
|
+
sourceWindowName: string;
|
11844
|
+
topic: string;
|
11845
|
+
destinationWindowName: string;
|
11846
|
+
};
|
11847
|
+
response: void;
|
11848
|
+
};
|
11849
|
+
'get-all-channels': GetterCall<OpenFin_2.ProviderIdentity[]>;
|
11850
|
+
'connect-to-channel': {
|
11851
|
+
request: any;
|
11852
|
+
response: OpenFin_2.RoutingInfo;
|
11853
|
+
};
|
11854
|
+
'create-channel': ApiCall<{
|
11855
|
+
channelName: string;
|
11856
|
+
}, OpenFin_2.ProviderIdentity>;
|
11857
|
+
'destroy-channel': ApiCall<{
|
11858
|
+
channelName: string;
|
11859
|
+
}, void>;
|
11860
|
+
'disconnect-from-channel': {
|
11861
|
+
request: {
|
11862
|
+
channelName: string;
|
11863
|
+
uuid: string;
|
11864
|
+
name: string;
|
11865
|
+
endpointId: string;
|
11866
|
+
};
|
11867
|
+
response: void;
|
11868
|
+
};
|
11869
|
+
'send-channel-message': {
|
11870
|
+
request: any;
|
11871
|
+
response: any;
|
11872
|
+
};
|
11873
|
+
'get-version': GetterCall<string>;
|
11874
|
+
'clear-cache': ApiCall<OpenFin_2.ClearCacheOption, void>;
|
11875
|
+
'delete-cache-request': VoidCall;
|
11876
|
+
'exit-desktop': VoidCall;
|
11877
|
+
'fetch-manifest': ApiCall<{
|
11878
|
+
manifestUrl: string;
|
11879
|
+
}, any>;
|
11880
|
+
'flush-cookie-store': VoidCall;
|
11881
|
+
'get-all-windows': GetterCall<OpenFin_2.ApplicationWindowInfo[]>;
|
11882
|
+
'get-all-applications': GetterCall<OpenFin_2.ApplicationState[]>;
|
11883
|
+
'get-command-line-arguments': GetterCall<string>;
|
11884
|
+
'get-crash-reporter-state': GetterCall<OpenFin_2.CrashReporterState>;
|
11885
|
+
'start-crash-reporter': {
|
11886
|
+
request: OpenFin_2.CrashReporterOptions | {
|
11887
|
+
diagnosticMode: boolean;
|
11888
|
+
};
|
11889
|
+
response: OpenFin_2.CrashReporterState;
|
11890
|
+
};
|
11891
|
+
'get-unique-user-id': GetterCall<string>;
|
11892
|
+
'get-entity-info': {
|
11893
|
+
request: {
|
11894
|
+
uuid: string;
|
11895
|
+
name: string;
|
11896
|
+
};
|
11897
|
+
response: OpenFin_2.EntityInfo;
|
11898
|
+
};
|
11899
|
+
'get-environment-variable': {
|
11900
|
+
request: {
|
11901
|
+
environmentVariables: string;
|
11902
|
+
};
|
11903
|
+
response: string;
|
11904
|
+
};
|
11905
|
+
'get-focused-window': GetterCall<OpenFin_2.Identity | null>;
|
11906
|
+
'is-app-certified': {
|
11907
|
+
request: {
|
11908
|
+
manifestUrl: string;
|
11909
|
+
};
|
11910
|
+
response: {
|
11911
|
+
action: string;
|
11912
|
+
certifiedInfo: OpenFin_2.CertifiedAppInfo;
|
11913
|
+
};
|
11914
|
+
};
|
11915
|
+
'get-installed-runtimes': GetterCall<{
|
11916
|
+
action: string;
|
11917
|
+
runtimes: string[];
|
11918
|
+
}>;
|
11919
|
+
'get-installed-apps': GetterCall<OpenFin_2.InstalledApps>;
|
11920
|
+
'view-log': ApiCall<OpenFin_2.GetLogRequestType, string>;
|
11921
|
+
'get-machine-id': GetterCall<string>;
|
11922
|
+
'get-min-log-level': GetterCall<OpenFin_2.LogLevel>;
|
11923
|
+
'list-logs': GetterCall<OpenFin_2.LogInfo[]>;
|
11924
|
+
'get-monitor-info': GetterCall<OpenFin_2.MonitorInfo>;
|
11925
|
+
'get-mouse-position': GetterCall<OpenFin_2.PointTopLeft>;
|
11926
|
+
'process-snapshot': GetterCall<Array<any>>;
|
11927
|
+
'get-all-process-info': ApiCall<OpenFin_2.ApplicationIdentity, OpenFin_2.SystemProcessInfo>;
|
11928
|
+
'get-proxy-settings': GetterCall<OpenFin_2.ProxyInfo>;
|
11929
|
+
'get-runtime-info': GetterCall<OpenFin_2.RuntimeInfo>;
|
11930
|
+
'get-rvm-info': GetterCall<OpenFin_2.RVMInfo>;
|
11931
|
+
'get-host-specs': GetterCall<OpenFin_2.HostSpecs>;
|
11932
|
+
'get-os-info': GetterCall<OpenFin_2.OSInfo>;
|
11933
|
+
'launch-external-process': ApiCall<OpenFin_2.ExternalProcessRequestType, OpenFin_2.Identity>;
|
11934
|
+
'monitor-external-process': ApiCall<OpenFin_2.ExternalProcessInfo, OpenFin_2.Identity>;
|
11935
|
+
'write-to-log': ApiCall<{
|
11936
|
+
level: string;
|
11937
|
+
message: string;
|
11938
|
+
}, void>;
|
11939
|
+
'open-url-with-browser': ApiCall<{
|
11940
|
+
url: string;
|
11941
|
+
}, void>;
|
11942
|
+
'register-custom-protocol': ApiCall<OpenFin_2.CustomProtocolOptions, void>;
|
11943
|
+
'unregister-custom-protocol': ApiCall<{
|
11944
|
+
protocolName: string;
|
11945
|
+
}, void>;
|
11946
|
+
'get-custom-protocol-state': ApiCall<{
|
11947
|
+
protocolName: string;
|
11948
|
+
}, OpenFin_2.CustomProtocolState>;
|
11949
|
+
'release-external-process': ApiCall<{
|
11950
|
+
uuid: string;
|
11951
|
+
}, void>;
|
11952
|
+
'show-developer-tools': ApiCall<OpenFin_2.Identity, void>;
|
11953
|
+
'terminate-external-process': ApiCall<OpenFin_2.TerminateExternalRequestType, void>;
|
11954
|
+
'update-proxy': ApiCall<OpenFin_2.ProxyConfig, void>;
|
11955
|
+
'download-asset': {
|
11956
|
+
request: OpenFin_2.AppAssetInfo & {
|
11957
|
+
downloadId: string;
|
11958
|
+
};
|
11959
|
+
response: void;
|
11960
|
+
};
|
11961
|
+
'download-runtime': {
|
11962
|
+
request: OpenFin_2.RuntimeDownloadOptions & {
|
11963
|
+
downloadId: string;
|
11964
|
+
};
|
11965
|
+
response: void;
|
11966
|
+
};
|
11967
|
+
'download-preload-scripts': ApiCall<{
|
11968
|
+
scripts: Array<OpenFin_2.DownloadPreloadOption>;
|
11969
|
+
}, Array<OpenFin_2.DownloadPreloadInfo>>;
|
11970
|
+
'get-all-external-applications': ApiCall<void, Array<OpenFin_2.Identity>>;
|
11971
|
+
'get-app-asset-info': ApiCall<OpenFin_2.AppAssetRequest, OpenFin_2.AppAssetInfo>;
|
11972
|
+
'get-cookies': {
|
11973
|
+
request: OpenFin_2.CookieOption & {
|
11974
|
+
url: string;
|
11975
|
+
};
|
11976
|
+
response: Array<OpenFin_2.CookieInfo>;
|
11977
|
+
};
|
11978
|
+
'set-min-log-level': ApiCall<{
|
11979
|
+
level: OpenFin_2.LogLevel;
|
11980
|
+
}, void>;
|
11981
|
+
'resolve-uuid': ApiCall<{
|
11982
|
+
entityKey: string;
|
11983
|
+
}, OpenFin_2.ApplicationType>;
|
11984
|
+
'read-registry-value': ApiCall<{
|
11985
|
+
rootKey: string;
|
11986
|
+
subkey: string;
|
11987
|
+
value: string;
|
11988
|
+
}, OpenFin_2.RegistryInfo>;
|
11989
|
+
'register-external-connection': ApiCall<{
|
11990
|
+
uuid: string;
|
11991
|
+
}, OpenFin_2.ExternalConnection>;
|
11992
|
+
'get-service-configuration': ApiCall<{
|
11993
|
+
name: string;
|
11994
|
+
}, OpenFin_2.ServiceConfiguration>;
|
11995
|
+
'get-system-app-configuration': ApiCall<{
|
11996
|
+
name: string;
|
11997
|
+
}, any>;
|
11998
|
+
'run-rvm-health-check': ApiCall<void, string[]>;
|
11570
11999
|
'launch-manifest': {
|
11571
12000
|
request: {
|
11572
12001
|
manifestUrl: string;
|
@@ -11578,17 +12007,12 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
11578
12007
|
manifest: OpenFin_2.Manifest;
|
11579
12008
|
};
|
11580
12009
|
};
|
11581
|
-
'
|
12010
|
+
'query-permission-for-current-context': {
|
11582
12011
|
request: {
|
11583
|
-
|
11584
|
-
|
11585
|
-
response: any;
|
11586
|
-
};
|
11587
|
-
'show-popup-menu': {
|
11588
|
-
request: OpenFin_2.Identity & {
|
11589
|
-
options: OpenFin_2.ShowPopupMenuOptions;
|
12012
|
+
apiName: string;
|
12013
|
+
identity: OpenFin_2.Identity;
|
11590
12014
|
};
|
11591
|
-
response: OpenFin_2.
|
12015
|
+
response: OpenFin_2.QueryPermissionResult;
|
11592
12016
|
};
|
11593
12017
|
'enable-native-window-integration-provider': {
|
11594
12018
|
request: {
|
@@ -11596,24 +12020,34 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
11596
12020
|
};
|
11597
12021
|
response: OpenFin_2.NativeWindowIntegrationProviderAuthorization;
|
11598
12022
|
};
|
12023
|
+
'register-usage': ApiCall<OpenFin_2.RegisterUsageData, void>;
|
12024
|
+
'system-get-printers': GetterCall<OpenFin_2.PrinterInfo[]>;
|
12025
|
+
'system-update-process-logging-options': ApiCall<{
|
12026
|
+
options: OpenFin_2.ProcessLoggingOptions;
|
12027
|
+
}, void>;
|
12028
|
+
'get-domain-settings': ApiCall<OpenFin_2.ApplicationIdentity, OpenFin_2.DefaultDomainSettings>;
|
12029
|
+
'set-domain-settings': ApiCall<OpenFin_2.ApplicationIdentity & {
|
12030
|
+
domainSettings: OpenFin_2.DefaultDomainSettings;
|
12031
|
+
}, void>;
|
12032
|
+
'system-register-shutdown-handler': VoidCall;
|
11599
12033
|
'get-permissions': GetterCall<any>;
|
11600
|
-
'get-all-channels': GetterCall<OpenFin_2.ProviderIdentity[]>;
|
11601
|
-
'set-file-download-location': {
|
11602
|
-
request: OpenFin_2.Identity & {
|
11603
|
-
downloadLocation: string;
|
11604
|
-
};
|
11605
|
-
response: void;
|
11606
|
-
};
|
11607
|
-
'get-file-download-location': {
|
11608
|
-
request: OpenFin_2.ApplicationIdentity;
|
11609
|
-
response: string;
|
11610
|
-
};
|
11611
|
-
'close-popup-menu': IdentityCall;
|
11612
12034
|
'fdc3-add-context-listener': VoidCall;
|
12035
|
+
'fdc3-add-intent-listener': VoidCall;
|
12036
|
+
'fdc3-raise-intent': VoidCall;
|
12037
|
+
'fdc3-find-intent': VoidCall;
|
12038
|
+
'fdc3-find-intents-by-context': VoidCall;
|
12039
|
+
'fdc3-raise-intent-for-context': VoidCall;
|
12040
|
+
'fdc3-get-info': VoidCall;
|
12041
|
+
'fdc3-find-instances': VoidCall;
|
12042
|
+
'fdc3-get-app-metadata': VoidCall;
|
11613
12043
|
'fdc3-broadcast': VoidCall;
|
12044
|
+
'fdc3-open': VoidCall;
|
12045
|
+
'fdc3-get-or-create-channel': VoidCall;
|
11614
12046
|
'fdc3-get-system-channels': VoidCall;
|
11615
12047
|
'fdc3-join-channel': VoidCall;
|
12048
|
+
'fdc3-get-current-channel': VoidCall;
|
11616
12049
|
'fdc3-leave-current-channel': VoidCall;
|
12050
|
+
'interop-init': VoidCall;
|
11617
12051
|
'interop-connect-sync': VoidCall;
|
11618
12052
|
'interop-client-set-context': VoidCall;
|
11619
12053
|
'interop-client-add-context-handler': VoidCall;
|
@@ -11622,6 +12056,13 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
11622
12056
|
'interop-client-remove-from-context-group': VoidCall;
|
11623
12057
|
'interop-client-get-all-clients-in-context-group': VoidCall;
|
11624
12058
|
'interop-client-get-info-for-context-group': VoidCall;
|
12059
|
+
'interop-client-fire-intent': VoidCall;
|
12060
|
+
'interop-client-register-intent-handler': VoidCall;
|
12061
|
+
'interop-client-get-current-context': VoidCall;
|
12062
|
+
'interop-client-get-info-for-intent': VoidCall;
|
12063
|
+
'interop-client-get-info-for-intents-by-context': VoidCall;
|
12064
|
+
'interop-client-fire-intent-for-context': VoidCall;
|
12065
|
+
'interop-client-add-ondisconnection-listener': VoidCall;
|
11625
12066
|
'interop-broker-add-client-to-context-group': VoidCall;
|
11626
12067
|
'interop-broker-get-all-clients-in-context-group': VoidCall;
|
11627
12068
|
'interop-broker-get-context-groups': VoidCall;
|
@@ -11633,13 +12074,100 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
11633
12074
|
'interop-broker-remove-from-context-group': VoidCall;
|
11634
12075
|
'interop-broker-set-context': VoidCall;
|
11635
12076
|
'interop-broker-set-context-for-group': VoidCall;
|
11636
|
-
'
|
11637
|
-
|
11638
|
-
|
11639
|
-
|
11640
|
-
|
11641
|
-
|
11642
|
-
|
12077
|
+
'interop-broker-get-current-context': VoidCall;
|
12078
|
+
'interop-broker-set-intent-target': VoidCall;
|
12079
|
+
'interop-session-context-group-set-context': VoidCall;
|
12080
|
+
'interop-session-context-group-get-context': VoidCall;
|
12081
|
+
'interop-session-context-group-add-handler': VoidCall;
|
12082
|
+
'platform-wrap': VoidCall;
|
12083
|
+
'platform-wrap-sync': VoidCall;
|
12084
|
+
'platform-get-current': VoidCall;
|
12085
|
+
'platform-get-current-sync': VoidCall;
|
12086
|
+
'platform-start': VoidCall;
|
12087
|
+
'platform-start-from-manifest': VoidCall;
|
12088
|
+
'platform-get-client': ApplicationIdentityCall<{}, void>;
|
12089
|
+
'platform-create-view': ApplicationIdentityCall<{}, void>;
|
12090
|
+
'platform-create-window': ApplicationIdentityCall<{}, void>;
|
12091
|
+
'platform-quit': ApplicationIdentityCall<{}, void>;
|
12092
|
+
'platform-close-view': ApplicationIdentityCall<{}, void>;
|
12093
|
+
'platform-reparent-view': ApplicationIdentityCall<{}, void>;
|
12094
|
+
'platform-get-snapshot': ApplicationIdentityCall<{}, void>;
|
12095
|
+
'platform-apply-snapshot': ApplicationIdentityCall<{}, void>;
|
12096
|
+
'platform-launch-content-manifest': ApplicationIdentityCall<{}, void>;
|
12097
|
+
'platform-set-window-context': ApplicationIdentityCall<{}, void>;
|
12098
|
+
'platform-get-window-context': ApplicationIdentityCall<{}, void>;
|
12099
|
+
'platform-close-window': ApplicationIdentityCall<{}, void>;
|
12100
|
+
'layout-wrap': VoidCall;
|
12101
|
+
'layout-wrap-sync': VoidCall;
|
12102
|
+
'layout-get-current': VoidCall;
|
12103
|
+
'layout-get-current-sync': VoidCall;
|
12104
|
+
'layout-init': VoidCall;
|
12105
|
+
'layout-get-config': VoidCall;
|
12106
|
+
'layout-get-views': VoidCall;
|
12107
|
+
'layout-replace': VoidCall;
|
12108
|
+
'layout-get-root-item': VoidCall;
|
12109
|
+
'layout-replace-view': VoidCall;
|
12110
|
+
'layout-apply-preset': VoidCall;
|
12111
|
+
'layout-controller-get-root': VoidCall;
|
12112
|
+
'layout-controller-get-stack-by-view': VoidCall;
|
12113
|
+
'layout-controller-get-stack-views': VoidCall;
|
12114
|
+
'layout-controller-get-content': VoidCall;
|
12115
|
+
'layout-controller-get-parent': VoidCall;
|
12116
|
+
'layout-controller-is-root': VoidCall;
|
12117
|
+
'layout-controller-exists': VoidCall;
|
12118
|
+
'layout-controller-add-view-to-stack': VoidCall;
|
12119
|
+
'layout-controller-remove-view-from-stack': VoidCall;
|
12120
|
+
'layout-controller-create-adjacent-stack': VoidCall;
|
12121
|
+
'layout-controller-get-adjacent-stacks': VoidCall;
|
12122
|
+
'layout-controller-set-stack-active-view': VoidCall;
|
12123
|
+
'snapshot-source-init': VoidCall;
|
12124
|
+
'snapshot-source-wrap-sync': VoidCall;
|
12125
|
+
'snapshot-source-wrap': VoidCall;
|
12126
|
+
'snapshot-source-ready': VoidCall;
|
12127
|
+
'snapshot-source-get-snapshot': VoidCall;
|
12128
|
+
'snapshot-source-apply-snapshot': VoidCall;
|
12129
|
+
'capture-page': IdentityCall<{
|
12130
|
+
options?: OpenFin_2.CapturePageOptions;
|
12131
|
+
}, string>;
|
12132
|
+
'execute-javascript-in-window': IdentityCall<{
|
12133
|
+
code: string;
|
12134
|
+
}, unknown>;
|
12135
|
+
'get-zoom-level': IdentityCall<{}, number>;
|
12136
|
+
'set-zoom-level': IdentityCall<{
|
12137
|
+
level: number;
|
12138
|
+
}, void>;
|
12139
|
+
'navigate-window': IdentityCall<{
|
12140
|
+
url: string;
|
12141
|
+
}, void>;
|
12142
|
+
'navigate-window-back': IdentityCall<{}, void>;
|
12143
|
+
'navigate-window-forward': IdentityCall<{}, void>;
|
12144
|
+
'stop-window-navigation': IdentityCall<{}, void>;
|
12145
|
+
'reload-window': IdentityCall<{
|
12146
|
+
ignoreCache: boolean;
|
12147
|
+
}, void>;
|
12148
|
+
'print': IdentityCall<{
|
12149
|
+
options: OpenFin_2.PrintOptions;
|
12150
|
+
}, void>;
|
12151
|
+
'find-in-page': IdentityCall<{
|
12152
|
+
searchTerm: string;
|
12153
|
+
options?: OpenFin_2.FindInPageOptions;
|
12154
|
+
}, void>;
|
12155
|
+
'stop-find-in-page': IdentityCall<{
|
12156
|
+
action: 'clearSelection' | 'keepSelection' | 'activateSelection';
|
12157
|
+
}, void>;
|
12158
|
+
'get-printers': IdentityCall<{}, OpenFin_2.PrinterInfo>;
|
12159
|
+
'focus-window': IdentityCall<{
|
12160
|
+
emitSynthFocused: boolean;
|
12161
|
+
}, void>;
|
12162
|
+
'get-process-info': IdentityCall<{}, OpenFin_2.EntityProcessDetails>;
|
12163
|
+
'get-shared-workers': IdentityCall<{}, OpenFin_2.SharedWorkerInfo[]>;
|
12164
|
+
'inspect-shared-worker': IdentityCall<{}, void>;
|
12165
|
+
'inspect-shared-worker-by-id': IdentityCall<{
|
12166
|
+
workerId: string;
|
12167
|
+
}, void>;
|
12168
|
+
'inspect-service-worker': IdentityCall<{}, void>;
|
12169
|
+
'view-show-popup-window': IdentityCall<{}, void>;
|
12170
|
+
'window-show-popup-window': IdentityCall<{}, void>;
|
11643
12171
|
'try-create-popup-window': {
|
11644
12172
|
request: OpenFin_2.Identity & {
|
11645
12173
|
options: OpenFin_2.PopupOptions;
|
@@ -11655,9 +12183,6 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
11655
12183
|
};
|
11656
12184
|
response: OpenFin_2.PopupResult;
|
11657
12185
|
};
|
11658
|
-
'dispatch-popup-result': IdentityCall<{
|
11659
|
-
data: any;
|
11660
|
-
}>;
|
11661
12186
|
'render-overlay': {
|
11662
12187
|
request: {
|
11663
12188
|
bounds: OpenFin_2.Bounds;
|
@@ -11677,40 +12202,6 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
11677
12202
|
};
|
11678
12203
|
response: void;
|
11679
12204
|
};
|
11680
|
-
'get-host-specs': GetterCall<OpenFin_2.HostSpecs>;
|
11681
|
-
'get-os-info': GetterCall<OpenFin_2.OSInfo>;
|
11682
|
-
'system-get-printers': GetterCall<OpenFin_2.PrinterInfo[]>;
|
11683
|
-
'system-register-shutdown-handler': VoidCall;
|
11684
|
-
'get-domain-settings': ApiCall<OpenFin_2.ApplicationIdentity, OpenFin_2.DefaultDomainSettings>;
|
11685
|
-
'set-domain-settings': ApiCall<OpenFin_2.ApplicationIdentity & {
|
11686
|
-
domainSettings: OpenFin_2.DefaultDomainSettings;
|
11687
|
-
}, void>;
|
11688
|
-
'move-window-by': IdentityCall<WithPositioningOptions<{
|
11689
|
-
deltaLeft: number;
|
11690
|
-
deltaTop: number;
|
11691
|
-
}>>;
|
11692
|
-
'move-window': IdentityCall<WithPositioningOptions<{
|
11693
|
-
left: number;
|
11694
|
-
top: number;
|
11695
|
-
}>>;
|
11696
|
-
'resize-window-by': IdentityCall<WithPositioningOptions<{
|
11697
|
-
deltaWidth: number;
|
11698
|
-
deltaHeight: number;
|
11699
|
-
anchor: OpenFin_2.AnchorType;
|
11700
|
-
}>>;
|
11701
|
-
'resize-window': IdentityCall<WithPositioningOptions<{
|
11702
|
-
width: number;
|
11703
|
-
height: number;
|
11704
|
-
anchor: OpenFin_2.AnchorType;
|
11705
|
-
}>>;
|
11706
|
-
'set-window-bounds': IdentityCall<WithPositioningOptions<Partial<OpenFin_2.Bounds>>>;
|
11707
|
-
'register-custom-protocol': ApiCall<OpenFin_2.CustomProtocolOptions, void>;
|
11708
|
-
'unregister-custom-protocol': ApiCall<{
|
11709
|
-
protocolName: string;
|
11710
|
-
}, void>;
|
11711
|
-
'get-custom-protocol-state': ApiCall<{
|
11712
|
-
protocolName: string;
|
11713
|
-
}, OpenFin_2.CustomProtocolState>;
|
11714
12205
|
}
|
11715
12206
|
|
11716
12207
|
declare interface ProtocolMapBase {
|
@@ -11740,7 +12231,7 @@ declare type ProviderIdentity_3 = OpenFin_2.ProviderIdentity;
|
|
11740
12231
|
* Identity of a channel provider.
|
11741
12232
|
* @interface
|
11742
12233
|
*/
|
11743
|
-
declare type ProviderIdentity_4 =
|
12234
|
+
declare type ProviderIdentity_4 = Identity_4 & {
|
11744
12235
|
/**
|
11745
12236
|
* Identifier of the channel.
|
11746
12237
|
*/
|
@@ -11751,12 +12242,10 @@ declare type ProviderIdentity_4 = Identity_5 & {
|
|
11751
12242
|
channelName: string;
|
11752
12243
|
};
|
11753
12244
|
|
11754
|
-
declare type ProxyConfig = OpenFin_2.ProxyConfig;
|
11755
|
-
|
11756
12245
|
/**
|
11757
12246
|
* @interface
|
11758
12247
|
*/
|
11759
|
-
declare type
|
12248
|
+
declare type ProxyConfig = {
|
11760
12249
|
/**
|
11761
12250
|
* The configured proxy address.
|
11762
12251
|
*/
|
@@ -11768,13 +12257,11 @@ declare type ProxyConfig_2 = {
|
|
11768
12257
|
type: string;
|
11769
12258
|
};
|
11770
12259
|
|
11771
|
-
declare type ProxyInfo = OpenFin_2.ProxyInfo;
|
11772
|
-
|
11773
12260
|
/**
|
11774
12261
|
* @interface
|
11775
12262
|
*/
|
11776
|
-
declare type
|
11777
|
-
config:
|
12263
|
+
declare type ProxyInfo = {
|
12264
|
+
config: ProxyConfig;
|
11778
12265
|
system: ProxySystemInfo;
|
11779
12266
|
};
|
11780
12267
|
|
@@ -11880,12 +12367,10 @@ declare type RegisterUsageData = {
|
|
11880
12367
|
type: string;
|
11881
12368
|
};
|
11882
12369
|
|
11883
|
-
declare type RegistryInfo = OpenFin_2.RegistryInfo;
|
11884
|
-
|
11885
12370
|
/**
|
11886
12371
|
* @interface
|
11887
12372
|
*/
|
11888
|
-
declare type
|
12373
|
+
declare type RegistryInfo = {
|
11889
12374
|
data: any;
|
11890
12375
|
rootKey: string;
|
11891
12376
|
subkey: string;
|
@@ -11906,6 +12391,15 @@ declare interface RemoteConfig extends ExistingConnectConfig {
|
|
11906
12391
|
token: string;
|
11907
12392
|
}
|
11908
12393
|
|
12394
|
+
/**
|
12395
|
+
* Generated when a View is removed from a layout.
|
12396
|
+
* @interface
|
12397
|
+
*/
|
12398
|
+
declare type RemovedFromLayoutEvent = BaseEvent_4 & {
|
12399
|
+
type: 'removed-from-layout';
|
12400
|
+
layoutIdentity: OpenFin_2.LayoutIdentity;
|
12401
|
+
};
|
12402
|
+
|
11909
12403
|
/**
|
11910
12404
|
* @interface
|
11911
12405
|
*/
|
@@ -11934,14 +12428,14 @@ declare type ReplaceLayoutPayload = {
|
|
11934
12428
|
/**
|
11935
12429
|
* Identity of the window whose layout will be replaced.
|
11936
12430
|
*/
|
11937
|
-
target:
|
12431
|
+
target: Identity_4 | LayoutIdentity;
|
11938
12432
|
};
|
11939
12433
|
|
11940
12434
|
/**
|
11941
12435
|
* @interface
|
11942
12436
|
*/
|
11943
12437
|
declare type ReplaceViewOptions = {
|
11944
|
-
viewToReplace:
|
12438
|
+
viewToReplace: Identity_4;
|
11945
12439
|
newView: ViewState;
|
11946
12440
|
};
|
11947
12441
|
|
@@ -11950,7 +12444,7 @@ declare type ReplaceViewOptions = {
|
|
11950
12444
|
*/
|
11951
12445
|
declare type ReplaceViewPayload = {
|
11952
12446
|
opts: {
|
11953
|
-
viewToReplace:
|
12447
|
+
viewToReplace: Identity_4;
|
11954
12448
|
newView: Partial<ViewOptions>;
|
11955
12449
|
};
|
11956
12450
|
target: LayoutIdentity;
|
@@ -12316,7 +12810,7 @@ declare type SetWindowContextPayload = {
|
|
12316
12810
|
/**
|
12317
12811
|
* Identity of the entity targeted by the call to {@link Platform#setWindowContext Platform.setWindowContext}.
|
12318
12812
|
*/
|
12319
|
-
target:
|
12813
|
+
target: Identity_4;
|
12320
12814
|
};
|
12321
12815
|
|
12322
12816
|
/**
|
@@ -12760,7 +13254,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
12760
13254
|
* fin.System.getAllWindows().then(wins => console.log(wins)).catch(err => console.log(err));
|
12761
13255
|
* ```
|
12762
13256
|
*/
|
12763
|
-
getAllWindows(): Promise<Array<ApplicationWindowInfo>>;
|
13257
|
+
getAllWindows(): Promise<Array<OpenFin_2.ApplicationWindowInfo>>;
|
12764
13258
|
/**
|
12765
13259
|
* Retrieves an array of data for all applications.
|
12766
13260
|
*
|
@@ -12769,7 +13263,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
12769
13263
|
* fin.System.getAllApplications().then(apps => console.log(apps)).catch(err => console.log(err));
|
12770
13264
|
* ```
|
12771
13265
|
*/
|
12772
|
-
getAllApplications(): Promise<Array<ApplicationState>>;
|
13266
|
+
getAllApplications(): Promise<Array<OpenFin_2.ApplicationState>>;
|
12773
13267
|
/**
|
12774
13268
|
* Retrieves the command line argument string that started OpenFin Runtime.
|
12775
13269
|
*
|
@@ -12844,7 +13338,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
12844
13338
|
* }
|
12845
13339
|
* ```
|
12846
13340
|
*/
|
12847
|
-
getEntityInfo(uuid: string, name: string): Promise<EntityInfo>;
|
13341
|
+
getEntityInfo(uuid: string, name: string): Promise<OpenFin_2.EntityInfo>;
|
12848
13342
|
/**
|
12849
13343
|
* Gets the value of a given environment variable on the computer on which the runtime is installed
|
12850
13344
|
*
|
@@ -12886,7 +13380,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
12886
13380
|
* ```
|
12887
13381
|
*/
|
12888
13382
|
getInstalledRuntimes(): Promise<string[]>;
|
12889
|
-
getInstalledApps(): Promise<InstalledApps>;
|
13383
|
+
getInstalledApps(): Promise<OpenFin_2.InstalledApps>;
|
12890
13384
|
/**
|
12891
13385
|
* Retrieves the contents of the log with the specified filename.
|
12892
13386
|
* @param options A object that id defined by the GetLogRequestType interface
|
@@ -12901,7 +13395,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
12901
13395
|
* getLog().then(log => console.log(log)).catch(err => console.log(err));
|
12902
13396
|
* ```
|
12903
13397
|
*/
|
12904
|
-
getLog(options: GetLogRequestType): Promise<string>;
|
13398
|
+
getLog(options: OpenFin_2.GetLogRequestType): Promise<string>;
|
12905
13399
|
/**
|
12906
13400
|
* Returns a unique identifier (UUID) provided by the machine.
|
12907
13401
|
*
|
@@ -12919,7 +13413,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
12919
13413
|
* fin.System.getMinLogLevel().then(level => console.log(level)).catch(err => console.log(err));
|
12920
13414
|
* ```
|
12921
13415
|
*/
|
12922
|
-
getMinLogLevel(): Promise<LogLevel>;
|
13416
|
+
getMinLogLevel(): Promise<OpenFin_2.LogLevel>;
|
12923
13417
|
/**
|
12924
13418
|
* Retrieves an array containing information for each log file.
|
12925
13419
|
*
|
@@ -12928,7 +13422,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
12928
13422
|
* fin.System.getLogList().then(logList => console.log(logList)).catch(err => console.log(err));
|
12929
13423
|
* ```
|
12930
13424
|
*/
|
12931
|
-
getLogList(): Promise<Array<LogInfo>>;
|
13425
|
+
getLogList(): Promise<Array<OpenFin_2.LogInfo>>;
|
12932
13426
|
/**
|
12933
13427
|
* Retrieves an object that contains data about the monitor setup of the
|
12934
13428
|
* computer that the runtime is running on.
|
@@ -12999,7 +13493,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
12999
13493
|
* }
|
13000
13494
|
* ```
|
13001
13495
|
*/
|
13002
|
-
getProxySettings(): Promise<ProxyInfo>;
|
13496
|
+
getProxySettings(): Promise<OpenFin_2.ProxyInfo>;
|
13003
13497
|
/**
|
13004
13498
|
* Returns information about the running Runtime in an object.
|
13005
13499
|
*
|
@@ -13366,7 +13860,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
13366
13860
|
* }
|
13367
13861
|
* ```
|
13368
13862
|
*/
|
13369
|
-
launchExternalProcess(options: OpenFin_2.ExternalProcessRequestType): Promise<
|
13863
|
+
launchExternalProcess(options: OpenFin_2.ExternalProcessRequestType): Promise<Identity>;
|
13370
13864
|
/**
|
13371
13865
|
* Monitors a running process. A pid for the process must be included in options.
|
13372
13866
|
* <br> A uuid may be optionally provided. If not provided, OpenFin will create a uuid for the new process.
|
@@ -13383,7 +13877,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
13383
13877
|
* }).then(processIdentity => console.log(processIdentity)).catch(err => console.log(err));
|
13384
13878
|
* ```
|
13385
13879
|
*/
|
13386
|
-
monitorExternalProcess(options: OpenFin_2.ExternalProcessInfo): Promise<
|
13880
|
+
monitorExternalProcess(options: OpenFin_2.ExternalProcessInfo): Promise<Identity>;
|
13387
13881
|
/**
|
13388
13882
|
* Writes the passed message into both the log file and the console.
|
13389
13883
|
* @param level The log level for the entry. Can be either "info", "warning" or "error"
|
@@ -13517,7 +14011,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
13517
14011
|
*
|
13518
14012
|
* @tutorial System.showDeveloperTools
|
13519
14013
|
*/
|
13520
|
-
showDeveloperTools(identity:
|
14014
|
+
showDeveloperTools(identity: Identity): Promise<void>;
|
13521
14015
|
/**
|
13522
14016
|
* Attempt to close an external process. The process will be terminated if it
|
13523
14017
|
* has not closed after the elapsed timeout in milliseconds.
|
@@ -13551,7 +14045,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
13551
14045
|
* .catch(err => console.error(err));
|
13552
14046
|
* ```
|
13553
14047
|
*/
|
13554
|
-
updateProxySettings(options: ProxyConfig): Promise<void>;
|
14048
|
+
updateProxySettings(options: OpenFin_2.ProxyConfig): Promise<void>;
|
13555
14049
|
/**
|
13556
14050
|
* Downloads the given application asset.
|
13557
14051
|
*
|
@@ -13643,7 +14137,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
13643
14137
|
* .catch(err => console.log(err));
|
13644
14138
|
* ```
|
13645
14139
|
*/
|
13646
|
-
getAllExternalApplications(): Promise<Array<
|
14140
|
+
getAllExternalApplications(): Promise<Array<Identity>>;
|
13647
14141
|
/**
|
13648
14142
|
* Retrieves app asset information.
|
13649
14143
|
* @param options
|
@@ -13672,7 +14166,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
13672
14166
|
* fin.System.setMinLogLevel("verbose").then(() => console.log("log level is set to verbose")).catch(err => console.log(err));
|
13673
14167
|
* ```
|
13674
14168
|
*/
|
13675
|
-
setMinLogLevel(level: LogLevel): Promise<void>;
|
14169
|
+
setMinLogLevel(level: OpenFin_2.LogLevel): Promise<void>;
|
13676
14170
|
/**
|
13677
14171
|
* Retrieves the UUID of the computer on which the runtime is installed
|
13678
14172
|
* @param uuid The uuid of the running application
|
@@ -13682,7 +14176,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
13682
14176
|
* fin.System.resolveUuid('OpenfinPOC').then(entity => console.log(entity)).catch(err => console.log(err));
|
13683
14177
|
* ```
|
13684
14178
|
*/
|
13685
|
-
resolveUuid(uuid: string): Promise<
|
14179
|
+
resolveUuid(uuid: string): Promise<OpenFin_2.ApplicationType>;
|
13686
14180
|
/**
|
13687
14181
|
* Retrieves an array of data for all external applications
|
13688
14182
|
* @param requestingIdentity This object is described in the Identity typedef
|
@@ -13690,7 +14184,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
13690
14184
|
*
|
13691
14185
|
* @ignore
|
13692
14186
|
*/
|
13693
|
-
executeOnRemote(requestingIdentity:
|
14187
|
+
executeOnRemote(requestingIdentity: Identity, data: any): Promise<any>;
|
13694
14188
|
/**
|
13695
14189
|
* Reads the specifed value from the registry.
|
13696
14190
|
* @remarks This method is restricted by default and must be enabled via
|
@@ -13783,7 +14277,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
13783
14277
|
* }
|
13784
14278
|
* ```
|
13785
14279
|
*/
|
13786
|
-
readRegistryValue(rootKey: string, subkey: string, value: string): Promise<RegistryInfo>;
|
14280
|
+
readRegistryValue(rootKey: string, subkey: string, value: string): Promise<OpenFin_2.RegistryInfo>;
|
13787
14281
|
/**
|
13788
14282
|
* This function call will register a unique id and produce a token.
|
13789
14283
|
* The token can be used to broker an external connection.
|
@@ -13998,7 +14492,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
13998
14492
|
* });
|
13999
14493
|
* ```
|
14000
14494
|
*/
|
14001
|
-
getPrinters(): Promise<PrinterInfo[]>;
|
14495
|
+
getPrinters(): Promise<OpenFin_2.PrinterInfo[]>;
|
14002
14496
|
/**
|
14003
14497
|
* Updates Process Logging values: periodic interval and outlier detection entries and interval.
|
14004
14498
|
* @param options Process Logging updatable options.
|
@@ -14617,14 +15111,11 @@ declare type UrlChangedEvent = BaseUrlEvent & ({
|
|
14617
15111
|
declare type UserAppConfigArgs = Record<string, string | string[]>;
|
14618
15112
|
|
14619
15113
|
/**
|
14620
|
-
*
|
15114
|
+
* An event that fires when a window's bounds are changed directly by the user.
|
15115
|
+
*
|
14621
15116
|
* @interface
|
14622
15117
|
*/
|
14623
|
-
declare type UserBoundsChangeEvent =
|
14624
|
-
height: number;
|
14625
|
-
left: number;
|
14626
|
-
top: number;
|
14627
|
-
width: number;
|
15118
|
+
declare type UserBoundsChangeEvent = BoundsEvent & {
|
14628
15119
|
windowState: 'minimized' | 'normal' | 'maximized';
|
14629
15120
|
};
|
14630
15121
|
|
@@ -14953,7 +15444,7 @@ declare class View_2 extends WebContents<OpenFin_2.ViewEvent> {
|
|
14953
15444
|
*/
|
14954
15445
|
getInfo: () => Promise<OpenFin_2.ViewInfo>;
|
14955
15446
|
/**
|
14956
|
-
* Retrieves the
|
15447
|
+
* Retrieves the OpenFin.Layout instance for the Window the View is attached to.
|
14957
15448
|
*
|
14958
15449
|
* @example
|
14959
15450
|
* ```js
|
@@ -15127,7 +15618,7 @@ declare type ViewContentCreationRule = BaseContentCreationRule & {
|
|
15127
15618
|
declare type ViewCreationOptions = Partial<ViewOptions> & {
|
15128
15619
|
name: string;
|
15129
15620
|
url: string;
|
15130
|
-
target:
|
15621
|
+
target: Identity_4;
|
15131
15622
|
};
|
15132
15623
|
|
15133
15624
|
declare type ViewCreationOrReference = OpenFin_2.Identity | OpenFin_2.PlatformViewCreationOptions;
|
@@ -15156,6 +15647,8 @@ declare namespace ViewEvents {
|
|
15156
15647
|
BaseEvent_4 as BaseEvent,
|
15157
15648
|
BaseViewEvent,
|
15158
15649
|
TargetChangedEvent,
|
15650
|
+
AddedToLayoutEvent,
|
15651
|
+
RemovedFromLayoutEvent,
|
15159
15652
|
NonPropagatedViewEvent,
|
15160
15653
|
CreatedEvent,
|
15161
15654
|
DestroyedEvent,
|
@@ -15311,15 +15804,15 @@ declare interface ViewsPreventingUnloadPayload {
|
|
15311
15804
|
/**
|
15312
15805
|
* Identity of the Window.
|
15313
15806
|
*/
|
15314
|
-
windowId:
|
15807
|
+
windowId: Identity_4;
|
15315
15808
|
/**
|
15316
15809
|
* Identities of the Views that are preventing an unload
|
15317
15810
|
*/
|
15318
|
-
viewsPreventingUnload:
|
15811
|
+
viewsPreventingUnload: Identity_4[];
|
15319
15812
|
/**
|
15320
15813
|
* Identities of the Views that are not preventing an unload
|
15321
15814
|
*/
|
15322
|
-
viewsNotPreventingUnload:
|
15815
|
+
viewsNotPreventingUnload: Identity_4[];
|
15323
15816
|
/**
|
15324
15817
|
* Source of the close action.
|
15325
15818
|
*/
|
@@ -15344,11 +15837,11 @@ declare interface ViewStatuses {
|
|
15344
15837
|
/**
|
15345
15838
|
* Identities of the Views that are preventing an unload.
|
15346
15839
|
*/
|
15347
|
-
viewsPreventingUnload:
|
15840
|
+
viewsPreventingUnload: Identity_4[];
|
15348
15841
|
/**
|
15349
15842
|
* Identities of the Views that are not preventing an unload.
|
15350
15843
|
*/
|
15351
|
-
viewsNotPreventingUnload:
|
15844
|
+
viewsNotPreventingUnload: Identity_4[];
|
15352
15845
|
}
|
15353
15846
|
|
15354
15847
|
/**
|
@@ -15853,7 +16346,7 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
|
|
15853
16346
|
* We do not expose an explicit superclass for this functionality, but it does have its own
|
15854
16347
|
* {@link OpenFin.WebContentsEvents event namespace}.
|
15855
16348
|
*/
|
15856
|
-
stopFindInPage(action:
|
16349
|
+
stopFindInPage(action: 'clearSelection' | 'keepSelection' | 'activateSelection'): Promise<void>;
|
15857
16350
|
/**
|
15858
16351
|
* Returns an array with all system printers
|
15859
16352
|
* @deprecated use System.getPrinters instead
|
@@ -16446,11 +16939,7 @@ declare type WillMoveEvent = WillMoveOrResizeEvent & {
|
|
16446
16939
|
* A general will-move or will-resize event without event type.
|
16447
16940
|
* @interface
|
16448
16941
|
*/
|
16449
|
-
declare type WillMoveOrResizeEvent =
|
16450
|
-
height: number;
|
16451
|
-
left: number;
|
16452
|
-
top: number;
|
16453
|
-
width: number;
|
16942
|
+
declare type WillMoveOrResizeEvent = BoundsEvent & {
|
16454
16943
|
monitorScaleFactor: number;
|
16455
16944
|
};
|
16456
16945
|
|
@@ -17642,16 +18131,21 @@ declare namespace WindowEvents {
|
|
17642
18131
|
PreloadScriptInfoRunning,
|
17643
18132
|
PreloadScriptInfo,
|
17644
18133
|
PreloadScriptsStateChangeEvent,
|
17645
|
-
|
18134
|
+
BoundsEvent,
|
17646
18135
|
BoundsChangeEvent,
|
17647
18136
|
WillMoveOrResizeEvent,
|
18137
|
+
BoundsDidChangeEvent,
|
18138
|
+
BoundsChangedEvent,
|
18139
|
+
BoundsChangingEvent,
|
18140
|
+
DisabledMovementBoundsChangedEvent,
|
18141
|
+
DisabledMovementBoundsChangingEvent,
|
18142
|
+
UserBoundsChangeEvent,
|
18143
|
+
BeginUserBoundsChangingEvent,
|
18144
|
+
EndUserBoundsChangingEvent,
|
17648
18145
|
PerformanceReportEvent,
|
17649
18146
|
InputEvent_2 as InputEvent,
|
17650
18147
|
LayoutInitializedEvent,
|
17651
18148
|
LayoutReadyEvent,
|
17652
|
-
BeginUserBoundsChangingEvent,
|
17653
|
-
BoundsChangedEvent,
|
17654
|
-
BoundsChangingEvent,
|
17655
18149
|
CloseRequestedEvent,
|
17656
18150
|
WindowCloseRequestedEvent,
|
17657
18151
|
ContextChangedEvent,
|
@@ -17659,10 +18153,7 @@ declare namespace WindowEvents {
|
|
17659
18153
|
WindowClosedEvent,
|
17660
18154
|
ClosingEvent,
|
17661
18155
|
WindowClosingEvent,
|
17662
|
-
DisabledMovementBoundsChangedEvent,
|
17663
|
-
DisabledMovementBoundsChangingEvent,
|
17664
18156
|
EmbeddedEvent,
|
17665
|
-
EndUserBoundsChangingEvent,
|
17666
18157
|
HotkeyEvent_2 as HotkeyEvent,
|
17667
18158
|
WindowHotkeyEvent,
|
17668
18159
|
InitializedEvent_2 as InitializedEvent,
|