@openfin/core 40.82.11 → 40.82.13
Sign up to get free protection for your applications and to get access to all the features.
- package/out/mock-alpha.d.ts +698 -213
- package/out/mock-beta.d.ts +698 -213
- package/out/mock-public.d.ts +698 -213
- package/out/mock.d.ts +698 -213
- package/out/mock.js +278 -59
- package/package.json +1 -1
package/out/mock.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
|
/**
|
@@ -930,15 +939,15 @@ declare namespace ApplicationEvents {
|
|
930
939
|
*/
|
931
940
|
declare type ApplicationEventType = EventType_3;
|
932
941
|
|
933
|
-
declare type ApplicationIdentity = OpenFin_2.ApplicationIdentity;
|
934
|
-
|
935
942
|
/**
|
936
943
|
* @interface
|
937
944
|
*/
|
938
|
-
declare type
|
945
|
+
declare type ApplicationIdentity = {
|
939
946
|
uuid: string;
|
940
947
|
};
|
941
948
|
|
949
|
+
declare type ApplicationIdentityCall<AdditionalPayload = {}, Response = void> = ApiCall<AdditionalPayload & OpenFin_2.ApplicationIdentity, Response>;
|
950
|
+
|
942
951
|
/**
|
943
952
|
* @interface
|
944
953
|
*/
|
@@ -1311,12 +1320,10 @@ declare type ApplicationSourcedEvent = ClosedEvent | ConnectedEvent_2 | CrashedE
|
|
1311
1320
|
*/
|
1312
1321
|
declare type ApplicationSourcedEventType = ApplicationSourcedEvent['type'];
|
1313
1322
|
|
1314
|
-
declare type ApplicationState = OpenFin_2.ApplicationState;
|
1315
|
-
|
1316
1323
|
/**
|
1317
1324
|
* @interface
|
1318
1325
|
*/
|
1319
|
-
declare type
|
1326
|
+
declare type ApplicationState = {
|
1320
1327
|
/**
|
1321
1328
|
* True when the application is a Platform controller
|
1322
1329
|
*/
|
@@ -1348,12 +1355,10 @@ declare type ApplicationType = {
|
|
1348
1355
|
*/
|
1349
1356
|
declare type ApplicationWindowEvent = WindowAlertRequestedEvent | WindowCreatedEvent | WindowEndLoadEvent | WindowNotRespondingEvent | WindowRespondingEvent | WindowStartLoadEvent;
|
1350
1357
|
|
1351
|
-
declare type ApplicationWindowInfo = OpenFin_2.ApplicationWindowInfo;
|
1352
|
-
|
1353
1358
|
/**
|
1354
1359
|
* @interface
|
1355
1360
|
*/
|
1356
|
-
declare type
|
1361
|
+
declare type ApplicationWindowInfo = {
|
1357
1362
|
childWindows: Array<WindowDetail>;
|
1358
1363
|
mainWindow: WindowDetail;
|
1359
1364
|
/**
|
@@ -1629,7 +1634,7 @@ declare class Base {
|
|
1629
1634
|
* @deprecated `me` should only be accessed from the `fin` global ({@link FinApi.me}); access through entity classes is not
|
1630
1635
|
* guaranteed to behave sensibly in all calling contexts.
|
1631
1636
|
*/
|
1632
|
-
get me(): Identity;
|
1637
|
+
get me(): OpenFin_2.Identity;
|
1633
1638
|
/**
|
1634
1639
|
* @internal
|
1635
1640
|
* @deprecated
|
@@ -1861,11 +1866,12 @@ declare type BeforeUnloadUserDecision = {
|
|
1861
1866
|
/**
|
1862
1867
|
* Array of views that will close.
|
1863
1868
|
*/
|
1864
|
-
viewsToClose:
|
1869
|
+
viewsToClose: Identity_4[];
|
1865
1870
|
};
|
1866
1871
|
|
1867
1872
|
/**
|
1868
1873
|
* Generated at the beginning of a user-driven change to a window's size or position.
|
1874
|
+
*
|
1869
1875
|
* @interface
|
1870
1876
|
*/
|
1871
1877
|
declare type BeginUserBoundsChangingEvent = UserBoundsChangeEvent & {
|
@@ -1906,31 +1912,33 @@ declare type Bounds = {
|
|
1906
1912
|
* Generated after changes in a window's size and/or position.
|
1907
1913
|
* @interface
|
1908
1914
|
*/
|
1909
|
-
declare type BoundsChangedEvent =
|
1915
|
+
declare type BoundsChangedEvent = BoundsDidChangeEvent & {
|
1910
1916
|
type: 'bounds-changed';
|
1911
1917
|
};
|
1912
1918
|
|
1913
|
-
|
1914
|
-
* A general bounds change event without event type.
|
1915
|
-
* @interface
|
1916
|
-
*/
|
1917
|
-
declare type BoundsChangeEvent = BaseEvent_5 & {
|
1919
|
+
declare type BoundsChangeEvent = BoundsEvent & {
|
1918
1920
|
changeType: 0 | 1 | 2;
|
1919
|
-
deferred: boolean;
|
1920
|
-
height: number;
|
1921
|
-
left: number;
|
1922
|
-
top: number;
|
1923
|
-
width: number;
|
1924
1921
|
};
|
1925
1922
|
|
1926
1923
|
/**
|
1927
1924
|
* Generated during changes to a window's size and/or position.
|
1928
1925
|
* @interface
|
1929
1926
|
*/
|
1930
|
-
declare type BoundsChangingEvent =
|
1927
|
+
declare type BoundsChangingEvent = BoundsDidChangeEvent & {
|
1931
1928
|
type: 'bounds-changing';
|
1932
1929
|
};
|
1933
1930
|
|
1931
|
+
/**
|
1932
|
+
* An event that fires when a window's bounds are successfully changed.
|
1933
|
+
*
|
1934
|
+
* @interface
|
1935
|
+
*/
|
1936
|
+
declare type BoundsDidChangeEvent = BoundsChangeEvent & {
|
1937
|
+
reason: 'self' | 'animation';
|
1938
|
+
};
|
1939
|
+
|
1940
|
+
declare type BoundsEvent = BaseEvent_5 & OpenFin_2.Bounds;
|
1941
|
+
|
1934
1942
|
/**
|
1935
1943
|
* A rule prescribing content creation in the browser.
|
1936
1944
|
*
|
@@ -3036,7 +3044,7 @@ declare type ClientConnectionPayload = ClientIdentity & ClientInfo;
|
|
3036
3044
|
* Identity of a channel client. Includes endpointId to differentiate between different connections for an entity.
|
3037
3045
|
* @interface
|
3038
3046
|
*/
|
3039
|
-
declare type ClientIdentity =
|
3047
|
+
declare type ClientIdentity = Identity_4 & {
|
3040
3048
|
/**
|
3041
3049
|
* Unique identifier for a client, because there can be multiple clients at one name/uuid entity.
|
3042
3050
|
*/
|
@@ -3269,7 +3277,7 @@ declare type CloseViewOptions = {
|
|
3269
3277
|
/**
|
3270
3278
|
*View to be closed.
|
3271
3279
|
*/
|
3272
|
-
viewIdentity:
|
3280
|
+
viewIdentity: Identity_4;
|
3273
3281
|
};
|
3274
3282
|
|
3275
3283
|
/**
|
@@ -3279,7 +3287,7 @@ declare type CloseViewPayload = {
|
|
3279
3287
|
/**
|
3280
3288
|
*View to be closed.
|
3281
3289
|
*/
|
3282
|
-
view:
|
3290
|
+
view: Identity_4;
|
3283
3291
|
/**
|
3284
3292
|
* The target layout identity where this view should be closed. If not provided, will resolve to the
|
3285
3293
|
* visible layout.
|
@@ -3297,7 +3305,7 @@ declare interface CloseWindowPayload {
|
|
3297
3305
|
*
|
3298
3306
|
* Identity of the Window
|
3299
3307
|
*/
|
3300
|
-
windowId:
|
3308
|
+
windowId: Identity_4;
|
3301
3309
|
options: {
|
3302
3310
|
/**
|
3303
3311
|
* @defaultValue false
|
@@ -3418,7 +3426,7 @@ declare type ConstViewOptions = {
|
|
3418
3426
|
/**
|
3419
3427
|
* The identity of the window this view should be attached to.
|
3420
3428
|
*/
|
3421
|
-
target:
|
3429
|
+
target: Identity_4;
|
3422
3430
|
/**
|
3423
3431
|
* Configures how new content (e,g, from `window.open` or a link) is opened.
|
3424
3432
|
*/
|
@@ -3643,7 +3651,7 @@ declare type ConstWindowOptions = {
|
|
3643
3651
|
/**
|
3644
3652
|
* Parent identity of a modal window. It will create a modal child window when this option is set.
|
3645
3653
|
*/
|
3646
|
-
modalParentIdentity:
|
3654
|
+
modalParentIdentity: Identity_4;
|
3647
3655
|
/**
|
3648
3656
|
* The name of the window.
|
3649
3657
|
*/
|
@@ -4127,13 +4135,13 @@ declare type CreateViewPayload = {
|
|
4127
4135
|
* Window the view will be added to. If no target is provided, a new window will be created.
|
4128
4136
|
*/
|
4129
4137
|
target?: CreateViewTarget;
|
4130
|
-
targetView?:
|
4138
|
+
targetView?: Identity_4;
|
4131
4139
|
};
|
4132
4140
|
|
4133
4141
|
/**
|
4134
4142
|
* @interface
|
4135
4143
|
*/
|
4136
|
-
declare type CreateViewTarget = (
|
4144
|
+
declare type CreateViewTarget = (Identity_4 | LayoutIdentity) & {
|
4137
4145
|
/**
|
4138
4146
|
* If specified, view creation will not attach to a window and caller must
|
4139
4147
|
* insert the view into the layout explicitly
|
@@ -4579,7 +4587,7 @@ declare type EmitterAccessor = string[];
|
|
4579
4587
|
declare class EmitterBase<EmitterEvent extends BaseEvent, EmitterEventType extends EmitterEvent['type'] = EmitterEvent['type']> extends Base {
|
4580
4588
|
#private;
|
4581
4589
|
private topic;
|
4582
|
-
protected identity: ApplicationIdentity;
|
4590
|
+
protected identity: OpenFin_2.ApplicationIdentity;
|
4583
4591
|
constructor(wire: Transport, topic: string, ...additionalAccessors: string[]);
|
4584
4592
|
eventNames: () => (string | symbol)[];
|
4585
4593
|
/**
|
@@ -4659,20 +4667,17 @@ declare type EndLoadEvent = BaseEvent_5 & {
|
|
4659
4667
|
|
4660
4668
|
/**
|
4661
4669
|
* Generated at the end of a user-driven change to a window's size or position.
|
4670
|
+
*
|
4662
4671
|
* @interface
|
4663
4672
|
*/
|
4664
4673
|
declare type EndUserBoundsChangingEvent = UserBoundsChangeEvent & {
|
4665
4674
|
type: 'end-user-bounds-changing';
|
4666
4675
|
};
|
4667
4676
|
|
4668
|
-
declare type Entity = OpenFin_2.ApplicationType;
|
4669
|
-
|
4670
|
-
declare type EntityInfo = OpenFin_2.EntityInfo;
|
4671
|
-
|
4672
4677
|
/**
|
4673
4678
|
* @interface
|
4674
4679
|
*/
|
4675
|
-
declare type
|
4680
|
+
declare type EntityInfo = {
|
4676
4681
|
uuid: string;
|
4677
4682
|
name: string;
|
4678
4683
|
entityType: EntityType_4;
|
@@ -4774,6 +4779,7 @@ declare type ErrorPlainObject = {
|
|
4774
4779
|
stack?: string;
|
4775
4780
|
message: string;
|
4776
4781
|
name?: string;
|
4782
|
+
cause?: Error | ErrorPlainObject;
|
4777
4783
|
toString(): string;
|
4778
4784
|
};
|
4779
4785
|
|
@@ -4822,7 +4828,7 @@ declare type Event_3 = ViewEvents.PropagatedEvent<'application'> | WindowEvents.
|
|
4822
4828
|
*/
|
4823
4829
|
declare type Event_4 = (WebContentsEvents.Event<'view'> & {
|
4824
4830
|
target: OpenFin_2.Identity;
|
4825
|
-
}) | CreatedEvent | DestroyedEvent | HiddenEvent | HotkeyEvent | ShownEvent | TargetChangedEvent | HostContextChangedEvent;
|
4831
|
+
}) | CreatedEvent | DestroyedEvent | HiddenEvent | HotkeyEvent | ShownEvent | TargetChangedEvent | HostContextChangedEvent | AddedToLayoutEvent | RemovedFromLayoutEvent;
|
4826
4832
|
|
4827
4833
|
/**
|
4828
4834
|
* [Union](https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#union-types) containing events shared by all WebContents elements
|
@@ -5042,7 +5048,7 @@ declare type ExternalApplicationEventType = EventType_4;
|
|
5042
5048
|
* @interface
|
5043
5049
|
*/
|
5044
5050
|
declare type ExternalApplicationInfo = {
|
5045
|
-
parent:
|
5051
|
+
parent: Identity_4;
|
5046
5052
|
};
|
5047
5053
|
|
5048
5054
|
/**
|
@@ -5238,6 +5244,10 @@ declare type FileDownloadEvent = {
|
|
5238
5244
|
* The number of bytes of the item that have already been downloaded.
|
5239
5245
|
*/
|
5240
5246
|
downloadedBytes: number;
|
5247
|
+
/**
|
5248
|
+
* Unique identifier for the downloaded file.
|
5249
|
+
*/
|
5250
|
+
fileUuid: string;
|
5241
5251
|
} & NamedEvent;
|
5242
5252
|
|
5243
5253
|
/**
|
@@ -5501,7 +5511,7 @@ declare type FrameInfo = {
|
|
5501
5511
|
uuid: string;
|
5502
5512
|
url: string;
|
5503
5513
|
entityType: EntityType_4;
|
5504
|
-
parent:
|
5514
|
+
parent: Identity_4;
|
5505
5515
|
};
|
5506
5516
|
|
5507
5517
|
/**
|
@@ -5576,12 +5586,10 @@ declare type FrameProcessDetails = ProcessDetails & {
|
|
5576
5586
|
entityType: string;
|
5577
5587
|
};
|
5578
5588
|
|
5579
|
-
declare type GetLogRequestType = OpenFin_2.GetLogRequestType;
|
5580
|
-
|
5581
5589
|
/**
|
5582
5590
|
* @interface
|
5583
5591
|
*/
|
5584
|
-
declare type
|
5592
|
+
declare type GetLogRequestType = {
|
5585
5593
|
/**
|
5586
5594
|
* The name of the running application
|
5587
5595
|
*/
|
@@ -5601,7 +5609,7 @@ declare type GetWindowContextPayload = {
|
|
5601
5609
|
/**
|
5602
5610
|
* Identity of the entity targeted by the call to {@link Platform#setWindowContext Platform.setWindowContext}.
|
5603
5611
|
*/
|
5604
|
-
target:
|
5612
|
+
target: Identity_4;
|
5605
5613
|
};
|
5606
5614
|
|
5607
5615
|
/**
|
@@ -5870,8 +5878,6 @@ declare type Identity_2 = OpenFin_2.Identity;
|
|
5870
5878
|
|
5871
5879
|
declare type Identity_3 = OpenFin_2.Identity;
|
5872
5880
|
|
5873
|
-
declare type Identity_4 = OpenFin_2.Identity;
|
5874
|
-
|
5875
5881
|
/**
|
5876
5882
|
* Unique identifier for a window, view or iframe.
|
5877
5883
|
*
|
@@ -5880,7 +5886,7 @@ declare type Identity_4 = OpenFin_2.Identity;
|
|
5880
5886
|
*
|
5881
5887
|
* @interface
|
5882
5888
|
*/
|
5883
|
-
declare type
|
5889
|
+
declare type Identity_4 = {
|
5884
5890
|
/**
|
5885
5891
|
* Universally unique identifier of the application that owns the component.
|
5886
5892
|
*/
|
@@ -6042,12 +6048,10 @@ declare type InstallationInfo = {
|
|
6042
6048
|
cachedManifest: any;
|
6043
6049
|
};
|
6044
6050
|
|
6045
|
-
declare type InstalledApps = OpenFin_2.InstalledApps;
|
6046
|
-
|
6047
6051
|
/**
|
6048
6052
|
* @interface
|
6049
6053
|
*/
|
6050
|
-
declare type
|
6054
|
+
declare type InstalledApps = {
|
6051
6055
|
[key: string]: InstallationInfo;
|
6052
6056
|
};
|
6053
6057
|
|
@@ -6833,7 +6837,7 @@ declare class InteropBroker extends Base {
|
|
6833
6837
|
* @param _id the identity tryinc to connect
|
6834
6838
|
* @param _connectionPayload optional payload to use in custom implementations, will be undefined by default
|
6835
6839
|
*/
|
6836
|
-
isConnectionAuthorized(_id:
|
6840
|
+
isConnectionAuthorized(_id: Identity_2, _connectionPayload?: any): Promise<boolean> | boolean;
|
6837
6841
|
/**
|
6838
6842
|
* Called before every action to check if this entity should be allowed to take the action.
|
6839
6843
|
* Return false to prevent the action
|
@@ -7765,7 +7769,7 @@ declare class Layout extends Base {
|
|
7765
7769
|
* await layout.replaceView(viewToReplace.identity, newViewConfig);
|
7766
7770
|
* ```
|
7767
7771
|
*/
|
7768
|
-
replaceView: (viewToReplace:
|
7772
|
+
replaceView: (viewToReplace: Identity_3, newView: OpenFin_2.PlatformViewCreationOptions) => Promise<void>;
|
7769
7773
|
/**
|
7770
7774
|
* Replaces a Platform window's layout with a preset layout arrangement using the existing Views attached to the window.
|
7771
7775
|
* The preset options are `columns`, `grid`, `rows`, and `tabs`.
|
@@ -7820,7 +7824,7 @@ declare type LayoutContent = Array<LayoutItemConfig | LayoutRow | LayoutColumn |
|
|
7820
7824
|
/**
|
7821
7825
|
* The base payload for the CustomEvent.detail property for Layout events emitted on the layout container element.
|
7822
7826
|
*/
|
7823
|
-
declare type LayoutDOMEvent =
|
7827
|
+
declare type LayoutDOMEvent = Identity_4 & {
|
7824
7828
|
type: string;
|
7825
7829
|
topic: 'openfin-DOM-event';
|
7826
7830
|
tabSelector: string;
|
@@ -7881,7 +7885,7 @@ declare type LayoutEntityTypes = 'column' | 'row' | 'stack';
|
|
7881
7885
|
/**
|
7882
7886
|
* @interface
|
7883
7887
|
*/
|
7884
|
-
declare type LayoutIdentity =
|
7888
|
+
declare type LayoutIdentity = Identity_4 & {
|
7885
7889
|
/**
|
7886
7890
|
* The name of the layout in a given window.
|
7887
7891
|
*/
|
@@ -7990,7 +7994,7 @@ declare interface LayoutManager<T extends LayoutSnapshot> {
|
|
7990
7994
|
* @param identity
|
7991
7995
|
* @returns LayoutIdentity | undefined
|
7992
7996
|
*/
|
7993
|
-
resolveLayoutIdentity(identity?:
|
7997
|
+
resolveLayoutIdentity(identity?: Identity_4 | LayoutIdentity): LayoutIdentity | undefined;
|
7994
7998
|
/**
|
7995
7999
|
* @experimental
|
7996
8000
|
*
|
@@ -8007,7 +8011,7 @@ declare interface LayoutManager<T extends LayoutSnapshot> {
|
|
8007
8011
|
/**
|
8008
8012
|
* @experimental
|
8009
8013
|
*/
|
8010
|
-
getLayoutIdentityForView(viewIdentity:
|
8014
|
+
getLayoutIdentityForView(viewIdentity: Identity_4): LayoutIdentity;
|
8011
8015
|
/**
|
8012
8016
|
* @experimental
|
8013
8017
|
*/
|
@@ -8481,12 +8485,10 @@ declare type Listener<T extends {
|
|
8481
8485
|
type: string;
|
8482
8486
|
}> = (payload: T) => void;
|
8483
8487
|
|
8484
|
-
declare type LogInfo = OpenFin_2.LogInfo;
|
8485
|
-
|
8486
8488
|
/**
|
8487
8489
|
* @interface
|
8488
8490
|
*/
|
8489
|
-
declare type
|
8491
|
+
declare type LogInfo = {
|
8490
8492
|
/**
|
8491
8493
|
* The filename of the log
|
8492
8494
|
*/
|
@@ -8501,8 +8503,6 @@ declare type LogInfo_2 = {
|
|
8501
8503
|
date: string;
|
8502
8504
|
};
|
8503
8505
|
|
8504
|
-
declare type LogLevel = OpenFin_2.LogLevel;
|
8505
|
-
|
8506
8506
|
/**
|
8507
8507
|
* Describes the minimum level (inclusive) above which logs will be written.
|
8508
8508
|
*
|
@@ -8512,7 +8512,24 @@ declare type LogLevel = OpenFin_2.LogLevel;
|
|
8512
8512
|
* `error` and above<br>
|
8513
8513
|
* `fatal`: fatal only, indicates a crash is imminent
|
8514
8514
|
*/
|
8515
|
-
declare type
|
8515
|
+
declare type LogLevel = 'verbose' | 'info' | 'warning' | 'error' | 'fatal';
|
8516
|
+
|
8517
|
+
declare type LogUploaderUIOptions = {
|
8518
|
+
title?: string;
|
8519
|
+
icon?: string;
|
8520
|
+
header?: string;
|
8521
|
+
description?: string;
|
8522
|
+
email?: string;
|
8523
|
+
website?: string;
|
8524
|
+
websiteDescription?: string;
|
8525
|
+
};
|
8526
|
+
|
8527
|
+
declare type LogUploadOptions = {
|
8528
|
+
endpoint: string;
|
8529
|
+
manifests?: string[];
|
8530
|
+
logs?: string[];
|
8531
|
+
ui?: LogUploaderUIOptions;
|
8532
|
+
};
|
8516
8533
|
|
8517
8534
|
/**
|
8518
8535
|
* @interface
|
@@ -8572,6 +8589,7 @@ declare type Manifest = {
|
|
8572
8589
|
enableErrorReporting?: boolean;
|
8573
8590
|
};
|
8574
8591
|
interopBrokerConfiguration: InteropBrokerOptions;
|
8592
|
+
logUpload?: LogUploadOptions;
|
8575
8593
|
};
|
8576
8594
|
|
8577
8595
|
/**
|
@@ -9344,13 +9362,13 @@ declare namespace OpenFin_2 {
|
|
9344
9362
|
LayoutPosition,
|
9345
9363
|
WebContent,
|
9346
9364
|
PlatformProvider,
|
9347
|
-
|
9348
|
-
|
9365
|
+
ApplicationIdentity,
|
9366
|
+
Identity_4 as Identity,
|
9349
9367
|
ClientIdentity,
|
9350
9368
|
ClientInfo,
|
9351
9369
|
ClientIdentityMultiRuntime,
|
9352
9370
|
ClientConnectionPayload,
|
9353
|
-
|
9371
|
+
EntityInfo,
|
9354
9372
|
EntityType_4 as EntityType,
|
9355
9373
|
Bounds,
|
9356
9374
|
WindowBounds,
|
@@ -9455,6 +9473,8 @@ declare namespace OpenFin_2 {
|
|
9455
9473
|
PlatformViewCreationOptions,
|
9456
9474
|
ProcessAffinityStrategy,
|
9457
9475
|
PlatformOptions,
|
9476
|
+
LogUploaderUIOptions,
|
9477
|
+
LogUploadOptions,
|
9458
9478
|
Manifest,
|
9459
9479
|
LayoutContent,
|
9460
9480
|
LayoutItemConfig,
|
@@ -9484,7 +9504,7 @@ declare namespace OpenFin_2 {
|
|
9484
9504
|
GpuInfo,
|
9485
9505
|
OSInfo,
|
9486
9506
|
HostSpecs,
|
9487
|
-
|
9507
|
+
PrinterInfo,
|
9488
9508
|
Dpi,
|
9489
9509
|
Margins,
|
9490
9510
|
PrintOptions,
|
@@ -9592,24 +9612,24 @@ declare namespace OpenFin_2 {
|
|
9592
9612
|
BeforeUnloadUserDecision,
|
9593
9613
|
ViewStatuses,
|
9594
9614
|
CloseWindowPayload,
|
9595
|
-
|
9596
|
-
|
9615
|
+
ProxyInfo,
|
9616
|
+
ProxyConfig,
|
9597
9617
|
ProxySystemInfo,
|
9598
9618
|
ChannelAction_2 as ChannelAction,
|
9599
9619
|
ChannelMiddleware_2 as ChannelMiddleware,
|
9600
9620
|
ErrorMiddleware_2 as ErrorMiddleware,
|
9601
|
-
|
9602
|
-
|
9621
|
+
ApplicationState,
|
9622
|
+
InstalledApps,
|
9603
9623
|
InstallationInfo,
|
9604
|
-
|
9605
|
-
|
9624
|
+
GetLogRequestType,
|
9625
|
+
LogInfo,
|
9606
9626
|
SendApplicationLogResponse,
|
9607
|
-
|
9627
|
+
LogLevel,
|
9608
9628
|
PermissionState_2 as PermissionState,
|
9609
|
-
|
9629
|
+
RegistryInfo,
|
9610
9630
|
ApplicationType,
|
9611
9631
|
WindowInfo,
|
9612
|
-
|
9632
|
+
ApplicationWindowInfo,
|
9613
9633
|
WindowDetail,
|
9614
9634
|
LayoutPresetType,
|
9615
9635
|
LayoutIdentity,
|
@@ -11598,12 +11618,10 @@ declare type PresetLayoutOptions_2 = {
|
|
11598
11618
|
presetType: LayoutPresetType;
|
11599
11619
|
};
|
11600
11620
|
|
11601
|
-
declare type PrinterInfo = OpenFin_2.PrinterInfo;
|
11602
|
-
|
11603
11621
|
/**
|
11604
11622
|
* @interface
|
11605
11623
|
*/
|
11606
|
-
declare type
|
11624
|
+
declare type PrinterInfo = {
|
11607
11625
|
/**
|
11608
11626
|
* Printer Name
|
11609
11627
|
*/
|
@@ -11865,20 +11883,100 @@ declare type PropagatedWindowEvent<TargetTopic extends string> = PropagatedEvent
|
|
11865
11883
|
declare type PropagatedWindowEventType = PropagatedEvent_3<string>['type'];
|
11866
11884
|
|
11867
11885
|
declare interface ProtocolMap extends ProtocolMapBase {
|
11886
|
+
'is-application-running': ApplicationIdentityCall<{}, boolean>;
|
11887
|
+
'destroy-application': ApplicationIdentityCall<{
|
11888
|
+
force: boolean;
|
11889
|
+
}, void>;
|
11890
|
+
'close-application': ApplicationIdentityCall<{
|
11891
|
+
force: boolean;
|
11892
|
+
}, void>;
|
11893
|
+
'application-close': ApplicationIdentityCall<{}, void>;
|
11894
|
+
'get-child-windows': ApplicationIdentityCall<{}, Array<unknown>>;
|
11895
|
+
'get-application-manifest': {
|
11896
|
+
request: {
|
11897
|
+
manifestUrl?: string;
|
11898
|
+
uuid?: string;
|
11899
|
+
};
|
11900
|
+
response: OpenFin_2.Manifest;
|
11901
|
+
};
|
11902
|
+
'get-parent-application': ApplicationIdentityCall<{}, string>;
|
11903
|
+
'get-shortcuts': ApplicationIdentityCall<{}, OpenFin_2.ShortCutConfig>;
|
11904
|
+
'application-get-views': ApplicationIdentityCall<{}, OpenFin_2.Identity[]>;
|
11905
|
+
'get-application-zoom-level': ApplicationIdentityCall<{}, number>;
|
11906
|
+
'application-get-window': ApplicationIdentityCall<{}, void>;
|
11907
|
+
'register-user': ApplicationIdentityCall<{
|
11908
|
+
userName: string;
|
11909
|
+
appName: string;
|
11910
|
+
}, void>;
|
11911
|
+
'remove-tray-icon': ApplicationIdentityCall<{}, void>;
|
11912
|
+
'restart-application': ApplicationIdentityCall<{}, void>;
|
11913
|
+
'application-run': ApplicationIdentityCall<{}, void>;
|
11914
|
+
'run-application': ApplicationIdentityCall<{
|
11915
|
+
manifestUrl?: string | undefined;
|
11916
|
+
opts?: OpenFin_2.RvmLaunchOptions;
|
11917
|
+
}, void>;
|
11918
|
+
'relaunch-on-close': ApplicationIdentityCall<{}, void>;
|
11919
|
+
'send-application-log': ApplicationIdentityCall<{}, OpenFin_2.SendApplicationLogResponse>;
|
11920
|
+
'set-jump-list': ApplicationIdentityCall<{
|
11921
|
+
config: OpenFin_2.JumpListCategory[] | null;
|
11922
|
+
}, void>;
|
11923
|
+
'set-tray-icon': ApplicationIdentityCall<{
|
11924
|
+
enabledIcon: string;
|
11925
|
+
}, void>;
|
11926
|
+
'set-shortcuts': ApplicationIdentityCall<{
|
11927
|
+
data: OpenFin_2.ShortCutConfig;
|
11928
|
+
}, void>;
|
11929
|
+
'set-shortcut-query-args': ApplicationIdentityCall<{
|
11930
|
+
data: string;
|
11931
|
+
}, void>;
|
11932
|
+
'set-application-zoom-level': ApplicationIdentityCall<{
|
11933
|
+
level: number;
|
11934
|
+
}, void>;
|
11935
|
+
'set-app-log-username': ApplicationIdentityCall<{
|
11936
|
+
data: string;
|
11937
|
+
}, void>;
|
11938
|
+
'get-tray-icon-info': ApplicationIdentityCall<{}, OpenFin_2.TrayInfo>;
|
11939
|
+
'has-tray-icon': ApplicationIdentityCall<{}, boolean>;
|
11940
|
+
'terminate-application': ApplicationIdentityCall<{}, void>;
|
11941
|
+
'wait-for-hung-application': ApplicationIdentityCall<{}, void>;
|
11942
|
+
'get-info': ApplicationIdentityCall<{}, OpenFin_2.ApplicationInfo>;
|
11943
|
+
'application-get-process-info': ApplicationIdentityCall<{}, OpenFin_2.AppProcessInfo>;
|
11944
|
+
'set-file-download-location': {
|
11945
|
+
request: OpenFin_2.Identity & {
|
11946
|
+
downloadLocation: string;
|
11947
|
+
};
|
11948
|
+
response: void;
|
11949
|
+
};
|
11950
|
+
'get-file-download-location': ApplicationIdentityCall<{}, string>;
|
11951
|
+
'show-tray-icon-popup-menu': {
|
11952
|
+
request: OpenFin_2.Identity & {
|
11953
|
+
options: OpenFin_2.ShowTrayIconPopupMenuOptions;
|
11954
|
+
};
|
11955
|
+
response: OpenFin_2.MenuResult;
|
11956
|
+
};
|
11957
|
+
'close-tray-icon-popup-menu': IdentityCall<{}, void>;
|
11958
|
+
'wrap-application': VoidCall;
|
11959
|
+
'wrap-application-sync': VoidCall;
|
11960
|
+
'create-application': ApiCall<OpenFin_2.ApplicationCreationOptions, void>;
|
11961
|
+
'application-create': VoidCall;
|
11962
|
+
'start-application': VoidCall;
|
11963
|
+
'run-applications': ApiCall<{
|
11964
|
+
applications: Array<OpenFin_2.ManifestInfo>;
|
11965
|
+
opts?: OpenFin_2.RvmLaunchOptions;
|
11966
|
+
}, void>;
|
11967
|
+
'get-current-application': VoidCall;
|
11968
|
+
'get-current-application-sync': VoidCall;
|
11969
|
+
'application-start-from-manifest': VoidCall;
|
11970
|
+
'application-create-from-manifest': VoidCall;
|
11868
11971
|
'request-external-authorization': {
|
11869
11972
|
request: any;
|
11870
11973
|
response: void;
|
11871
11974
|
specialResponse: AuthorizationPayload;
|
11872
11975
|
};
|
11873
|
-
'
|
11874
|
-
request:
|
11875
|
-
response: OpenFin_2.Identity[];
|
11876
|
-
};
|
11877
|
-
'set-jump-list': {
|
11878
|
-
request: {
|
11879
|
-
config: OpenFin_2.JumpListCategory[] | null;
|
11880
|
-
} & OpenFin_2.ApplicationIdentity;
|
11976
|
+
'request-authorization': {
|
11977
|
+
request: ExistingConnectConfig | RemoteConfig | ReceiverConfig;
|
11881
11978
|
response: void;
|
11979
|
+
specialResponse: Payload;
|
11882
11980
|
};
|
11883
11981
|
'clipboard-read-formats': {
|
11884
11982
|
request: {
|
@@ -11890,6 +11988,24 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
11890
11988
|
request: OpenFin_2.ReadImageClipboardRequest;
|
11891
11989
|
response: string;
|
11892
11990
|
};
|
11991
|
+
'clipboard-read-text': {
|
11992
|
+
request: {
|
11993
|
+
type?: OpenFin_2.ClipboardSelectionType;
|
11994
|
+
};
|
11995
|
+
response: string;
|
11996
|
+
};
|
11997
|
+
'clipboard-read-html': {
|
11998
|
+
request: {
|
11999
|
+
type?: OpenFin_2.ClipboardSelectionType;
|
12000
|
+
};
|
12001
|
+
response: string;
|
12002
|
+
};
|
12003
|
+
'clipboard-read-rtf': {
|
12004
|
+
request: {
|
12005
|
+
type?: OpenFin_2.ClipboardSelectionType;
|
12006
|
+
};
|
12007
|
+
response: string;
|
12008
|
+
};
|
11893
12009
|
'clipboard-write-image': {
|
11894
12010
|
request: OpenFin_2.WriteImageClipboardRequest;
|
11895
12011
|
response: void;
|
@@ -11898,6 +12014,18 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
11898
12014
|
request: OpenFin_2.WriteAnyRequestType;
|
11899
12015
|
response: void;
|
11900
12016
|
};
|
12017
|
+
'clipboard-write-text': {
|
12018
|
+
request: OpenFin_2.WriteClipboardRequest;
|
12019
|
+
response: void;
|
12020
|
+
};
|
12021
|
+
'clipboard-write-html': {
|
12022
|
+
request: OpenFin_2.WriteClipboardRequest;
|
12023
|
+
response: void;
|
12024
|
+
};
|
12025
|
+
'clipboard-write-rtf': {
|
12026
|
+
request: OpenFin_2.WriteClipboardRequest;
|
12027
|
+
response: void;
|
12028
|
+
};
|
11901
12029
|
'get-view-window': IdentityCall<{}, OpenFin_2.Identity>;
|
11902
12030
|
'create-view': IdentityCall<OpenFin_2.ViewCreationOptions & {
|
11903
12031
|
uuid: string;
|
@@ -11923,13 +12051,85 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
11923
12051
|
options: OpenFin_2.UpdatableViewOptions;
|
11924
12052
|
}>;
|
11925
12053
|
'trigger-before-unload': IdentityCall<{}, boolean>;
|
12054
|
+
'view-wrap-sync': VoidCall;
|
12055
|
+
'view-wrap': VoidCall;
|
12056
|
+
'view-get-current': VoidCall;
|
12057
|
+
'view-get-current-sync': VoidCall;
|
12058
|
+
'animate-window': IdentityCall<{
|
12059
|
+
transitions: OpenFin_2.Transition;
|
12060
|
+
options: OpenFin_2.TransitionOptions;
|
12061
|
+
}>;
|
12062
|
+
'get-all-frames': IdentityCall<{}, OpenFin_2.FrameInfo[]>;
|
12063
|
+
'get-window-bounds': IdentityCall<{}, OpenFin_2.WindowBounds>;
|
12064
|
+
'center-window': IdentityCall;
|
12065
|
+
'blur-window': IdentityCall;
|
12066
|
+
'bring-window-to-front': IdentityCall;
|
12067
|
+
'hide-window': IdentityCall;
|
12068
|
+
'close-window': IdentityCall<{
|
12069
|
+
force: boolean;
|
12070
|
+
}>;
|
12071
|
+
'focused-webview-changed': IdentityCall;
|
12072
|
+
'get-window-native-id': IdentityCall<{}, string>;
|
11926
12073
|
'window-get-views': IdentityCall<{}, OpenFin_2.Identity[]>;
|
11927
|
-
'
|
12074
|
+
'disable-window-frame': IdentityCall;
|
12075
|
+
'enable-window-frame': IdentityCall;
|
12076
|
+
'flash-window': IdentityCall;
|
12077
|
+
'stop-flash-window': IdentityCall;
|
12078
|
+
'get-window-info': IdentityCall<{}, OpenFin_2.WindowInfo>;
|
12079
|
+
'get-window-options': IdentityCall<{}, OpenFin_2.WindowOptions>;
|
12080
|
+
'get-window-snapshot': IdentityCall<{
|
12081
|
+
area?: OpenFin_2.Rectangle;
|
12082
|
+
}, string>;
|
12083
|
+
'get-window-state': IdentityCall<{}, 'minimized' | 'maximized' | 'normal'>;
|
12084
|
+
'is-window-showing': IdentityCall<{}, boolean>;
|
12085
|
+
'maximize-window': IdentityCall;
|
12086
|
+
'minimize-window': IdentityCall;
|
12087
|
+
'move-window-by': IdentityCall<WithPositioningOptions<{
|
12088
|
+
deltaLeft: number;
|
12089
|
+
deltaTop: number;
|
12090
|
+
}>>;
|
12091
|
+
'move-window': IdentityCall<WithPositioningOptions<{
|
12092
|
+
left: number;
|
12093
|
+
top: number;
|
12094
|
+
}>>;
|
12095
|
+
'resize-window-by': IdentityCall<WithPositioningOptions<{
|
12096
|
+
deltaWidth: number;
|
12097
|
+
deltaHeight: number;
|
12098
|
+
anchor: OpenFin_2.AnchorType;
|
12099
|
+
}>>;
|
12100
|
+
'resize-window': IdentityCall<WithPositioningOptions<{
|
12101
|
+
width: number;
|
12102
|
+
height: number;
|
12103
|
+
anchor: OpenFin_2.AnchorType;
|
12104
|
+
}>>;
|
12105
|
+
'restore-window': IdentityCall;
|
12106
|
+
'set-foreground-window': IdentityCall;
|
12107
|
+
'set-window-bounds': IdentityCall<WithPositioningOptions<Partial<OpenFin_2.Bounds>>>;
|
12108
|
+
'show-window': IdentityCall<{
|
12109
|
+
force: boolean;
|
12110
|
+
}>;
|
12111
|
+
'show-at-window': IdentityCall<{
|
12112
|
+
left: number;
|
12113
|
+
top: number;
|
12114
|
+
force: boolean;
|
12115
|
+
}>;
|
12116
|
+
'update-window-options': IdentityCall<{
|
12117
|
+
options: OpenFin_2.UpdatableWindowOptions;
|
12118
|
+
}>;
|
12119
|
+
'window-authenticate': IdentityCall<{
|
12120
|
+
userName: string;
|
12121
|
+
password: string;
|
12122
|
+
}>;
|
12123
|
+
'show-popup-menu': {
|
11928
12124
|
request: OpenFin_2.Identity & {
|
11929
|
-
options: OpenFin_2.
|
12125
|
+
options: OpenFin_2.ShowPopupMenuOptions;
|
11930
12126
|
};
|
11931
|
-
response:
|
12127
|
+
response: OpenFin_2.MenuResult;
|
11932
12128
|
};
|
12129
|
+
'close-popup-menu': IdentityCall;
|
12130
|
+
'dispatch-popup-result': IdentityCall<{
|
12131
|
+
data: any;
|
12132
|
+
}>;
|
11933
12133
|
'print-screenshot': {
|
11934
12134
|
request: OpenFin_2.Identity;
|
11935
12135
|
response: void;
|
@@ -11940,6 +12140,229 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
11940
12140
|
};
|
11941
12141
|
response: void;
|
11942
12142
|
};
|
12143
|
+
'window-wrap': VoidCall;
|
12144
|
+
'window-wrap-sync': VoidCall;
|
12145
|
+
'create-window': VoidCall;
|
12146
|
+
'get-current-window': VoidCall;
|
12147
|
+
'get-current-window-sync': VoidCall;
|
12148
|
+
'get-external-application-info': ApiCall<OpenFin_2.ApplicationIdentity, OpenFin_2.ExternalApplicationInfo>;
|
12149
|
+
'external-application-wrap': VoidCall;
|
12150
|
+
'external-application-wrap-sync': VoidCall;
|
12151
|
+
'get-frame-info': ApiCall<OpenFin_2.Identity, OpenFin_2.FrameInfo>;
|
12152
|
+
'get-parent-window': ApiCall<OpenFin_2.Identity, OpenFin_2.FrameInfo>;
|
12153
|
+
'frame-wrap': VoidCall;
|
12154
|
+
'frame-wrap-sync': VoidCall;
|
12155
|
+
'frame-get-current': VoidCall;
|
12156
|
+
'frame-get-current-sync': VoidCall;
|
12157
|
+
'global-hotkey-register': {
|
12158
|
+
request: {
|
12159
|
+
hotkey: string;
|
12160
|
+
};
|
12161
|
+
response: void;
|
12162
|
+
};
|
12163
|
+
'global-hotkey-unregister': {
|
12164
|
+
request: {
|
12165
|
+
hotkey: string;
|
12166
|
+
};
|
12167
|
+
response: void;
|
12168
|
+
};
|
12169
|
+
'global-hotkey-unregister-all': {
|
12170
|
+
request: {};
|
12171
|
+
response: void;
|
12172
|
+
};
|
12173
|
+
'global-hotkey-is-registered': {
|
12174
|
+
request: {
|
12175
|
+
hotkey: string;
|
12176
|
+
};
|
12177
|
+
response: boolean;
|
12178
|
+
};
|
12179
|
+
'publish-message': {
|
12180
|
+
request: {
|
12181
|
+
topic: string;
|
12182
|
+
message: any;
|
12183
|
+
sourceWindowName: string;
|
12184
|
+
};
|
12185
|
+
response: void;
|
12186
|
+
};
|
12187
|
+
'send-message': {
|
12188
|
+
request: {
|
12189
|
+
destinationUuid: string;
|
12190
|
+
destinationWindowName: string | undefined;
|
12191
|
+
topic: string;
|
12192
|
+
message: any;
|
12193
|
+
sourceWindowName: string;
|
12194
|
+
};
|
12195
|
+
response: void;
|
12196
|
+
};
|
12197
|
+
'subscribe': {
|
12198
|
+
request: {
|
12199
|
+
sourceUuid: string;
|
12200
|
+
sourceWindowName: string;
|
12201
|
+
topic: string;
|
12202
|
+
destinationWindowName: string;
|
12203
|
+
messageKey?: any;
|
12204
|
+
};
|
12205
|
+
response: void;
|
12206
|
+
};
|
12207
|
+
'unsubscribe': {
|
12208
|
+
request: {
|
12209
|
+
sourceUuid: string;
|
12210
|
+
sourceWindowName: string;
|
12211
|
+
topic: string;
|
12212
|
+
destinationWindowName: string;
|
12213
|
+
};
|
12214
|
+
response: void;
|
12215
|
+
};
|
12216
|
+
'get-all-channels': GetterCall<OpenFin_2.ProviderIdentity[]>;
|
12217
|
+
'connect-to-channel': {
|
12218
|
+
request: any;
|
12219
|
+
response: OpenFin_2.RoutingInfo;
|
12220
|
+
};
|
12221
|
+
'create-channel': ApiCall<{
|
12222
|
+
channelName: string;
|
12223
|
+
}, OpenFin_2.ProviderIdentity>;
|
12224
|
+
'destroy-channel': ApiCall<{
|
12225
|
+
channelName: string;
|
12226
|
+
}, void>;
|
12227
|
+
'disconnect-from-channel': {
|
12228
|
+
request: {
|
12229
|
+
channelName: string;
|
12230
|
+
uuid: string;
|
12231
|
+
name: string;
|
12232
|
+
endpointId: string;
|
12233
|
+
};
|
12234
|
+
response: void;
|
12235
|
+
};
|
12236
|
+
'send-channel-message': {
|
12237
|
+
request: any;
|
12238
|
+
response: any;
|
12239
|
+
};
|
12240
|
+
'get-version': GetterCall<string>;
|
12241
|
+
'clear-cache': ApiCall<OpenFin_2.ClearCacheOption, void>;
|
12242
|
+
'delete-cache-request': VoidCall;
|
12243
|
+
'exit-desktop': VoidCall;
|
12244
|
+
'fetch-manifest': ApiCall<{
|
12245
|
+
manifestUrl: string;
|
12246
|
+
}, any>;
|
12247
|
+
'flush-cookie-store': VoidCall;
|
12248
|
+
'get-all-windows': GetterCall<OpenFin_2.ApplicationWindowInfo[]>;
|
12249
|
+
'get-all-applications': GetterCall<OpenFin_2.ApplicationState[]>;
|
12250
|
+
'get-command-line-arguments': GetterCall<string>;
|
12251
|
+
'get-crash-reporter-state': GetterCall<OpenFin_2.CrashReporterState>;
|
12252
|
+
'start-crash-reporter': {
|
12253
|
+
request: OpenFin_2.CrashReporterOptions | {
|
12254
|
+
diagnosticMode: boolean;
|
12255
|
+
};
|
12256
|
+
response: OpenFin_2.CrashReporterState;
|
12257
|
+
};
|
12258
|
+
'get-unique-user-id': GetterCall<string>;
|
12259
|
+
'get-entity-info': {
|
12260
|
+
request: {
|
12261
|
+
uuid: string;
|
12262
|
+
name: string;
|
12263
|
+
};
|
12264
|
+
response: OpenFin_2.EntityInfo;
|
12265
|
+
};
|
12266
|
+
'get-environment-variable': {
|
12267
|
+
request: {
|
12268
|
+
environmentVariables: string;
|
12269
|
+
};
|
12270
|
+
response: string;
|
12271
|
+
};
|
12272
|
+
'get-focused-window': GetterCall<OpenFin_2.Identity | null>;
|
12273
|
+
'is-app-certified': {
|
12274
|
+
request: {
|
12275
|
+
manifestUrl: string;
|
12276
|
+
};
|
12277
|
+
response: {
|
12278
|
+
action: string;
|
12279
|
+
certifiedInfo: OpenFin_2.CertifiedAppInfo;
|
12280
|
+
};
|
12281
|
+
};
|
12282
|
+
'get-installed-runtimes': GetterCall<{
|
12283
|
+
action: string;
|
12284
|
+
runtimes: string[];
|
12285
|
+
}>;
|
12286
|
+
'get-installed-apps': GetterCall<OpenFin_2.InstalledApps>;
|
12287
|
+
'view-log': ApiCall<OpenFin_2.GetLogRequestType, string>;
|
12288
|
+
'get-machine-id': GetterCall<string>;
|
12289
|
+
'get-min-log-level': GetterCall<OpenFin_2.LogLevel>;
|
12290
|
+
'list-logs': GetterCall<OpenFin_2.LogInfo[]>;
|
12291
|
+
'get-monitor-info': GetterCall<OpenFin_2.MonitorInfo>;
|
12292
|
+
'get-mouse-position': GetterCall<OpenFin_2.PointTopLeft>;
|
12293
|
+
'process-snapshot': GetterCall<Array<any>>;
|
12294
|
+
'get-all-process-info': ApiCall<OpenFin_2.ApplicationIdentity, OpenFin_2.SystemProcessInfo>;
|
12295
|
+
'get-proxy-settings': GetterCall<OpenFin_2.ProxyInfo>;
|
12296
|
+
'get-runtime-info': GetterCall<OpenFin_2.RuntimeInfo>;
|
12297
|
+
'get-rvm-info': GetterCall<OpenFin_2.RVMInfo>;
|
12298
|
+
'get-host-specs': GetterCall<OpenFin_2.HostSpecs>;
|
12299
|
+
'get-os-info': GetterCall<OpenFin_2.OSInfo>;
|
12300
|
+
'launch-external-process': ApiCall<OpenFin_2.ExternalProcessRequestType, OpenFin_2.Identity>;
|
12301
|
+
'monitor-external-process': ApiCall<OpenFin_2.ExternalProcessInfo, OpenFin_2.Identity>;
|
12302
|
+
'write-to-log': ApiCall<{
|
12303
|
+
level: string;
|
12304
|
+
message: string;
|
12305
|
+
}, void>;
|
12306
|
+
'open-url-with-browser': ApiCall<{
|
12307
|
+
url: string;
|
12308
|
+
}, void>;
|
12309
|
+
'register-custom-protocol': ApiCall<OpenFin_2.CustomProtocolOptions, void>;
|
12310
|
+
'unregister-custom-protocol': ApiCall<{
|
12311
|
+
protocolName: string;
|
12312
|
+
}, void>;
|
12313
|
+
'get-custom-protocol-state': ApiCall<{
|
12314
|
+
protocolName: string;
|
12315
|
+
}, OpenFin_2.CustomProtocolState>;
|
12316
|
+
'release-external-process': ApiCall<{
|
12317
|
+
uuid: string;
|
12318
|
+
}, void>;
|
12319
|
+
'show-developer-tools': ApiCall<OpenFin_2.Identity, void>;
|
12320
|
+
'terminate-external-process': ApiCall<OpenFin_2.TerminateExternalRequestType, void>;
|
12321
|
+
'update-proxy': ApiCall<OpenFin_2.ProxyConfig, void>;
|
12322
|
+
'download-asset': {
|
12323
|
+
request: OpenFin_2.AppAssetInfo & {
|
12324
|
+
downloadId: string;
|
12325
|
+
};
|
12326
|
+
response: void;
|
12327
|
+
};
|
12328
|
+
'download-runtime': {
|
12329
|
+
request: OpenFin_2.RuntimeDownloadOptions & {
|
12330
|
+
downloadId: string;
|
12331
|
+
};
|
12332
|
+
response: void;
|
12333
|
+
};
|
12334
|
+
'download-preload-scripts': ApiCall<{
|
12335
|
+
scripts: Array<OpenFin_2.DownloadPreloadOption>;
|
12336
|
+
}, Array<OpenFin_2.DownloadPreloadInfo>>;
|
12337
|
+
'get-all-external-applications': ApiCall<void, Array<OpenFin_2.Identity>>;
|
12338
|
+
'get-app-asset-info': ApiCall<OpenFin_2.AppAssetRequest, OpenFin_2.AppAssetInfo>;
|
12339
|
+
'get-cookies': {
|
12340
|
+
request: OpenFin_2.CookieOption & {
|
12341
|
+
url: string;
|
12342
|
+
};
|
12343
|
+
response: Array<OpenFin_2.CookieInfo>;
|
12344
|
+
};
|
12345
|
+
'set-min-log-level': ApiCall<{
|
12346
|
+
level: OpenFin_2.LogLevel;
|
12347
|
+
}, void>;
|
12348
|
+
'resolve-uuid': ApiCall<{
|
12349
|
+
entityKey: string;
|
12350
|
+
}, OpenFin_2.ApplicationType>;
|
12351
|
+
'read-registry-value': ApiCall<{
|
12352
|
+
rootKey: string;
|
12353
|
+
subkey: string;
|
12354
|
+
value: string;
|
12355
|
+
}, OpenFin_2.RegistryInfo>;
|
12356
|
+
'register-external-connection': ApiCall<{
|
12357
|
+
uuid: string;
|
12358
|
+
}, OpenFin_2.ExternalConnection>;
|
12359
|
+
'get-service-configuration': ApiCall<{
|
12360
|
+
name: string;
|
12361
|
+
}, OpenFin_2.ServiceConfiguration>;
|
12362
|
+
'get-system-app-configuration': ApiCall<{
|
12363
|
+
name: string;
|
12364
|
+
}, any>;
|
12365
|
+
'run-rvm-health-check': ApiCall<void, string[]>;
|
11943
12366
|
'launch-manifest': {
|
11944
12367
|
request: {
|
11945
12368
|
manifestUrl: string;
|
@@ -11951,17 +12374,12 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
11951
12374
|
manifest: OpenFin_2.Manifest;
|
11952
12375
|
};
|
11953
12376
|
};
|
11954
|
-
'
|
12377
|
+
'query-permission-for-current-context': {
|
11955
12378
|
request: {
|
11956
|
-
|
11957
|
-
|
11958
|
-
response: any;
|
11959
|
-
};
|
11960
|
-
'show-popup-menu': {
|
11961
|
-
request: OpenFin_2.Identity & {
|
11962
|
-
options: OpenFin_2.ShowPopupMenuOptions;
|
12379
|
+
apiName: string;
|
12380
|
+
identity: OpenFin_2.Identity;
|
11963
12381
|
};
|
11964
|
-
response: OpenFin_2.
|
12382
|
+
response: OpenFin_2.QueryPermissionResult;
|
11965
12383
|
};
|
11966
12384
|
'enable-native-window-integration-provider': {
|
11967
12385
|
request: {
|
@@ -11969,24 +12387,34 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
11969
12387
|
};
|
11970
12388
|
response: OpenFin_2.NativeWindowIntegrationProviderAuthorization;
|
11971
12389
|
};
|
12390
|
+
'register-usage': ApiCall<OpenFin_2.RegisterUsageData, void>;
|
12391
|
+
'system-get-printers': GetterCall<OpenFin_2.PrinterInfo[]>;
|
12392
|
+
'system-update-process-logging-options': ApiCall<{
|
12393
|
+
options: OpenFin_2.ProcessLoggingOptions;
|
12394
|
+
}, void>;
|
12395
|
+
'get-domain-settings': ApiCall<OpenFin_2.ApplicationIdentity, OpenFin_2.DefaultDomainSettings>;
|
12396
|
+
'set-domain-settings': ApiCall<OpenFin_2.ApplicationIdentity & {
|
12397
|
+
domainSettings: OpenFin_2.DefaultDomainSettings;
|
12398
|
+
}, void>;
|
12399
|
+
'system-register-shutdown-handler': VoidCall;
|
11972
12400
|
'get-permissions': GetterCall<any>;
|
11973
|
-
'get-all-channels': GetterCall<OpenFin_2.ProviderIdentity[]>;
|
11974
|
-
'set-file-download-location': {
|
11975
|
-
request: OpenFin_2.Identity & {
|
11976
|
-
downloadLocation: string;
|
11977
|
-
};
|
11978
|
-
response: void;
|
11979
|
-
};
|
11980
|
-
'get-file-download-location': {
|
11981
|
-
request: OpenFin_2.ApplicationIdentity;
|
11982
|
-
response: string;
|
11983
|
-
};
|
11984
|
-
'close-popup-menu': IdentityCall;
|
11985
12401
|
'fdc3-add-context-listener': VoidCall;
|
12402
|
+
'fdc3-add-intent-listener': VoidCall;
|
12403
|
+
'fdc3-raise-intent': VoidCall;
|
12404
|
+
'fdc3-find-intent': VoidCall;
|
12405
|
+
'fdc3-find-intents-by-context': VoidCall;
|
12406
|
+
'fdc3-raise-intent-for-context': VoidCall;
|
12407
|
+
'fdc3-get-info': VoidCall;
|
12408
|
+
'fdc3-find-instances': VoidCall;
|
12409
|
+
'fdc3-get-app-metadata': VoidCall;
|
11986
12410
|
'fdc3-broadcast': VoidCall;
|
12411
|
+
'fdc3-open': VoidCall;
|
12412
|
+
'fdc3-get-or-create-channel': VoidCall;
|
11987
12413
|
'fdc3-get-system-channels': VoidCall;
|
11988
12414
|
'fdc3-join-channel': VoidCall;
|
12415
|
+
'fdc3-get-current-channel': VoidCall;
|
11989
12416
|
'fdc3-leave-current-channel': VoidCall;
|
12417
|
+
'interop-init': VoidCall;
|
11990
12418
|
'interop-connect-sync': VoidCall;
|
11991
12419
|
'interop-client-set-context': VoidCall;
|
11992
12420
|
'interop-client-add-context-handler': VoidCall;
|
@@ -11995,6 +12423,13 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
11995
12423
|
'interop-client-remove-from-context-group': VoidCall;
|
11996
12424
|
'interop-client-get-all-clients-in-context-group': VoidCall;
|
11997
12425
|
'interop-client-get-info-for-context-group': VoidCall;
|
12426
|
+
'interop-client-fire-intent': VoidCall;
|
12427
|
+
'interop-client-register-intent-handler': VoidCall;
|
12428
|
+
'interop-client-get-current-context': VoidCall;
|
12429
|
+
'interop-client-get-info-for-intent': VoidCall;
|
12430
|
+
'interop-client-get-info-for-intents-by-context': VoidCall;
|
12431
|
+
'interop-client-fire-intent-for-context': VoidCall;
|
12432
|
+
'interop-client-add-ondisconnection-listener': VoidCall;
|
11998
12433
|
'interop-broker-add-client-to-context-group': VoidCall;
|
11999
12434
|
'interop-broker-get-all-clients-in-context-group': VoidCall;
|
12000
12435
|
'interop-broker-get-context-groups': VoidCall;
|
@@ -12006,13 +12441,100 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
12006
12441
|
'interop-broker-remove-from-context-group': VoidCall;
|
12007
12442
|
'interop-broker-set-context': VoidCall;
|
12008
12443
|
'interop-broker-set-context-for-group': VoidCall;
|
12009
|
-
'
|
12010
|
-
|
12011
|
-
|
12012
|
-
|
12013
|
-
|
12014
|
-
|
12015
|
-
|
12444
|
+
'interop-broker-get-current-context': VoidCall;
|
12445
|
+
'interop-broker-set-intent-target': VoidCall;
|
12446
|
+
'interop-session-context-group-set-context': VoidCall;
|
12447
|
+
'interop-session-context-group-get-context': VoidCall;
|
12448
|
+
'interop-session-context-group-add-handler': VoidCall;
|
12449
|
+
'platform-wrap': VoidCall;
|
12450
|
+
'platform-wrap-sync': VoidCall;
|
12451
|
+
'platform-get-current': VoidCall;
|
12452
|
+
'platform-get-current-sync': VoidCall;
|
12453
|
+
'platform-start': VoidCall;
|
12454
|
+
'platform-start-from-manifest': VoidCall;
|
12455
|
+
'platform-get-client': ApplicationIdentityCall<{}, void>;
|
12456
|
+
'platform-create-view': ApplicationIdentityCall<{}, void>;
|
12457
|
+
'platform-create-window': ApplicationIdentityCall<{}, void>;
|
12458
|
+
'platform-quit': ApplicationIdentityCall<{}, void>;
|
12459
|
+
'platform-close-view': ApplicationIdentityCall<{}, void>;
|
12460
|
+
'platform-reparent-view': ApplicationIdentityCall<{}, void>;
|
12461
|
+
'platform-get-snapshot': ApplicationIdentityCall<{}, void>;
|
12462
|
+
'platform-apply-snapshot': ApplicationIdentityCall<{}, void>;
|
12463
|
+
'platform-launch-content-manifest': ApplicationIdentityCall<{}, void>;
|
12464
|
+
'platform-set-window-context': ApplicationIdentityCall<{}, void>;
|
12465
|
+
'platform-get-window-context': ApplicationIdentityCall<{}, void>;
|
12466
|
+
'platform-close-window': ApplicationIdentityCall<{}, void>;
|
12467
|
+
'layout-wrap': VoidCall;
|
12468
|
+
'layout-wrap-sync': VoidCall;
|
12469
|
+
'layout-get-current': VoidCall;
|
12470
|
+
'layout-get-current-sync': VoidCall;
|
12471
|
+
'layout-init': VoidCall;
|
12472
|
+
'layout-get-config': VoidCall;
|
12473
|
+
'layout-get-views': VoidCall;
|
12474
|
+
'layout-replace': VoidCall;
|
12475
|
+
'layout-get-root-item': VoidCall;
|
12476
|
+
'layout-replace-view': VoidCall;
|
12477
|
+
'layout-apply-preset': VoidCall;
|
12478
|
+
'layout-controller-get-root': VoidCall;
|
12479
|
+
'layout-controller-get-stack-by-view': VoidCall;
|
12480
|
+
'layout-controller-get-stack-views': VoidCall;
|
12481
|
+
'layout-controller-get-content': VoidCall;
|
12482
|
+
'layout-controller-get-parent': VoidCall;
|
12483
|
+
'layout-controller-is-root': VoidCall;
|
12484
|
+
'layout-controller-exists': VoidCall;
|
12485
|
+
'layout-controller-add-view-to-stack': VoidCall;
|
12486
|
+
'layout-controller-remove-view-from-stack': VoidCall;
|
12487
|
+
'layout-controller-create-adjacent-stack': VoidCall;
|
12488
|
+
'layout-controller-get-adjacent-stacks': VoidCall;
|
12489
|
+
'layout-controller-set-stack-active-view': VoidCall;
|
12490
|
+
'snapshot-source-init': VoidCall;
|
12491
|
+
'snapshot-source-wrap-sync': VoidCall;
|
12492
|
+
'snapshot-source-wrap': VoidCall;
|
12493
|
+
'snapshot-source-ready': VoidCall;
|
12494
|
+
'snapshot-source-get-snapshot': VoidCall;
|
12495
|
+
'snapshot-source-apply-snapshot': VoidCall;
|
12496
|
+
'capture-page': IdentityCall<{
|
12497
|
+
options?: OpenFin_2.CapturePageOptions;
|
12498
|
+
}, string>;
|
12499
|
+
'execute-javascript-in-window': IdentityCall<{
|
12500
|
+
code: string;
|
12501
|
+
}, unknown>;
|
12502
|
+
'get-zoom-level': IdentityCall<{}, number>;
|
12503
|
+
'set-zoom-level': IdentityCall<{
|
12504
|
+
level: number;
|
12505
|
+
}, void>;
|
12506
|
+
'navigate-window': IdentityCall<{
|
12507
|
+
url: string;
|
12508
|
+
}, void>;
|
12509
|
+
'navigate-window-back': IdentityCall<{}, void>;
|
12510
|
+
'navigate-window-forward': IdentityCall<{}, void>;
|
12511
|
+
'stop-window-navigation': IdentityCall<{}, void>;
|
12512
|
+
'reload-window': IdentityCall<{
|
12513
|
+
ignoreCache: boolean;
|
12514
|
+
}, void>;
|
12515
|
+
'print': IdentityCall<{
|
12516
|
+
options: OpenFin_2.PrintOptions;
|
12517
|
+
}, void>;
|
12518
|
+
'find-in-page': IdentityCall<{
|
12519
|
+
searchTerm: string;
|
12520
|
+
options?: OpenFin_2.FindInPageOptions;
|
12521
|
+
}, void>;
|
12522
|
+
'stop-find-in-page': IdentityCall<{
|
12523
|
+
action: 'clearSelection' | 'keepSelection' | 'activateSelection';
|
12524
|
+
}, void>;
|
12525
|
+
'get-printers': IdentityCall<{}, OpenFin_2.PrinterInfo>;
|
12526
|
+
'focus-window': IdentityCall<{
|
12527
|
+
emitSynthFocused: boolean;
|
12528
|
+
}, void>;
|
12529
|
+
'get-process-info': IdentityCall<{}, OpenFin_2.EntityProcessDetails>;
|
12530
|
+
'get-shared-workers': IdentityCall<{}, OpenFin_2.SharedWorkerInfo[]>;
|
12531
|
+
'inspect-shared-worker': IdentityCall<{}, void>;
|
12532
|
+
'inspect-shared-worker-by-id': IdentityCall<{
|
12533
|
+
workerId: string;
|
12534
|
+
}, void>;
|
12535
|
+
'inspect-service-worker': IdentityCall<{}, void>;
|
12536
|
+
'view-show-popup-window': IdentityCall<{}, void>;
|
12537
|
+
'window-show-popup-window': IdentityCall<{}, void>;
|
12016
12538
|
'try-create-popup-window': {
|
12017
12539
|
request: OpenFin_2.Identity & {
|
12018
12540
|
options: OpenFin_2.PopupOptions;
|
@@ -12028,9 +12550,6 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
12028
12550
|
};
|
12029
12551
|
response: OpenFin_2.PopupResult;
|
12030
12552
|
};
|
12031
|
-
'dispatch-popup-result': IdentityCall<{
|
12032
|
-
data: any;
|
12033
|
-
}>;
|
12034
12553
|
'render-overlay': {
|
12035
12554
|
request: {
|
12036
12555
|
bounds: OpenFin_2.Bounds;
|
@@ -12050,40 +12569,6 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
12050
12569
|
};
|
12051
12570
|
response: void;
|
12052
12571
|
};
|
12053
|
-
'get-host-specs': GetterCall<OpenFin_2.HostSpecs>;
|
12054
|
-
'get-os-info': GetterCall<OpenFin_2.OSInfo>;
|
12055
|
-
'system-get-printers': GetterCall<OpenFin_2.PrinterInfo[]>;
|
12056
|
-
'system-register-shutdown-handler': VoidCall;
|
12057
|
-
'get-domain-settings': ApiCall<OpenFin_2.ApplicationIdentity, OpenFin_2.DefaultDomainSettings>;
|
12058
|
-
'set-domain-settings': ApiCall<OpenFin_2.ApplicationIdentity & {
|
12059
|
-
domainSettings: OpenFin_2.DefaultDomainSettings;
|
12060
|
-
}, void>;
|
12061
|
-
'move-window-by': IdentityCall<WithPositioningOptions<{
|
12062
|
-
deltaLeft: number;
|
12063
|
-
deltaTop: number;
|
12064
|
-
}>>;
|
12065
|
-
'move-window': IdentityCall<WithPositioningOptions<{
|
12066
|
-
left: number;
|
12067
|
-
top: number;
|
12068
|
-
}>>;
|
12069
|
-
'resize-window-by': IdentityCall<WithPositioningOptions<{
|
12070
|
-
deltaWidth: number;
|
12071
|
-
deltaHeight: number;
|
12072
|
-
anchor: OpenFin_2.AnchorType;
|
12073
|
-
}>>;
|
12074
|
-
'resize-window': IdentityCall<WithPositioningOptions<{
|
12075
|
-
width: number;
|
12076
|
-
height: number;
|
12077
|
-
anchor: OpenFin_2.AnchorType;
|
12078
|
-
}>>;
|
12079
|
-
'set-window-bounds': IdentityCall<WithPositioningOptions<Partial<OpenFin_2.Bounds>>>;
|
12080
|
-
'register-custom-protocol': ApiCall<OpenFin_2.CustomProtocolOptions, void>;
|
12081
|
-
'unregister-custom-protocol': ApiCall<{
|
12082
|
-
protocolName: string;
|
12083
|
-
}, void>;
|
12084
|
-
'get-custom-protocol-state': ApiCall<{
|
12085
|
-
protocolName: string;
|
12086
|
-
}, OpenFin_2.CustomProtocolState>;
|
12087
12572
|
}
|
12088
12573
|
|
12089
12574
|
declare interface ProtocolMapBase {
|
@@ -12113,7 +12598,7 @@ declare type ProviderIdentity_3 = OpenFin_2.ProviderIdentity;
|
|
12113
12598
|
* Identity of a channel provider.
|
12114
12599
|
* @interface
|
12115
12600
|
*/
|
12116
|
-
declare type ProviderIdentity_4 =
|
12601
|
+
declare type ProviderIdentity_4 = Identity_4 & {
|
12117
12602
|
/**
|
12118
12603
|
* Identifier of the channel.
|
12119
12604
|
*/
|
@@ -12124,12 +12609,10 @@ declare type ProviderIdentity_4 = Identity_5 & {
|
|
12124
12609
|
channelName: string;
|
12125
12610
|
};
|
12126
12611
|
|
12127
|
-
declare type ProxyConfig = OpenFin_2.ProxyConfig;
|
12128
|
-
|
12129
12612
|
/**
|
12130
12613
|
* @interface
|
12131
12614
|
*/
|
12132
|
-
declare type
|
12615
|
+
declare type ProxyConfig = {
|
12133
12616
|
/**
|
12134
12617
|
* The configured proxy address.
|
12135
12618
|
*/
|
@@ -12141,13 +12624,11 @@ declare type ProxyConfig_2 = {
|
|
12141
12624
|
type: string;
|
12142
12625
|
};
|
12143
12626
|
|
12144
|
-
declare type ProxyInfo = OpenFin_2.ProxyInfo;
|
12145
|
-
|
12146
12627
|
/**
|
12147
12628
|
* @interface
|
12148
12629
|
*/
|
12149
|
-
declare type
|
12150
|
-
config:
|
12630
|
+
declare type ProxyInfo = {
|
12631
|
+
config: ProxyConfig;
|
12151
12632
|
system: ProxySystemInfo;
|
12152
12633
|
};
|
12153
12634
|
|
@@ -12253,12 +12734,10 @@ declare type RegisterUsageData = {
|
|
12253
12734
|
type: string;
|
12254
12735
|
};
|
12255
12736
|
|
12256
|
-
declare type RegistryInfo = OpenFin_2.RegistryInfo;
|
12257
|
-
|
12258
12737
|
/**
|
12259
12738
|
* @interface
|
12260
12739
|
*/
|
12261
|
-
declare type
|
12740
|
+
declare type RegistryInfo = {
|
12262
12741
|
data: any;
|
12263
12742
|
rootKey: string;
|
12264
12743
|
subkey: string;
|
@@ -12279,6 +12758,15 @@ declare interface RemoteConfig extends ExistingConnectConfig {
|
|
12279
12758
|
token: string;
|
12280
12759
|
}
|
12281
12760
|
|
12761
|
+
/**
|
12762
|
+
* Generated when a View is removed from a layout.
|
12763
|
+
* @interface
|
12764
|
+
*/
|
12765
|
+
declare type RemovedFromLayoutEvent = BaseEvent_4 & {
|
12766
|
+
type: 'removed-from-layout';
|
12767
|
+
layoutIdentity: OpenFin_2.LayoutIdentity;
|
12768
|
+
};
|
12769
|
+
|
12282
12770
|
/**
|
12283
12771
|
* @interface
|
12284
12772
|
*/
|
@@ -12307,14 +12795,14 @@ declare type ReplaceLayoutPayload = {
|
|
12307
12795
|
/**
|
12308
12796
|
* Identity of the window whose layout will be replaced.
|
12309
12797
|
*/
|
12310
|
-
target:
|
12798
|
+
target: Identity_4 | LayoutIdentity;
|
12311
12799
|
};
|
12312
12800
|
|
12313
12801
|
/**
|
12314
12802
|
* @interface
|
12315
12803
|
*/
|
12316
12804
|
declare type ReplaceViewOptions = {
|
12317
|
-
viewToReplace:
|
12805
|
+
viewToReplace: Identity_4;
|
12318
12806
|
newView: ViewState;
|
12319
12807
|
};
|
12320
12808
|
|
@@ -12323,7 +12811,7 @@ declare type ReplaceViewOptions = {
|
|
12323
12811
|
*/
|
12324
12812
|
declare type ReplaceViewPayload = {
|
12325
12813
|
opts: {
|
12326
|
-
viewToReplace:
|
12814
|
+
viewToReplace: Identity_4;
|
12327
12815
|
newView: Partial<ViewOptions>;
|
12328
12816
|
};
|
12329
12817
|
target: LayoutIdentity;
|
@@ -12689,7 +13177,7 @@ declare type SetWindowContextPayload = {
|
|
12689
13177
|
/**
|
12690
13178
|
* Identity of the entity targeted by the call to {@link Platform#setWindowContext Platform.setWindowContext}.
|
12691
13179
|
*/
|
12692
|
-
target:
|
13180
|
+
target: Identity_4;
|
12693
13181
|
};
|
12694
13182
|
|
12695
13183
|
/**
|
@@ -13139,7 +13627,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
13139
13627
|
* fin.System.getAllWindows().then(wins => console.log(wins)).catch(err => console.log(err));
|
13140
13628
|
* ```
|
13141
13629
|
*/
|
13142
|
-
getAllWindows(): Promise<Array<ApplicationWindowInfo>>;
|
13630
|
+
getAllWindows(): Promise<Array<OpenFin_2.ApplicationWindowInfo>>;
|
13143
13631
|
/**
|
13144
13632
|
* Retrieves an array of data for all applications.
|
13145
13633
|
*
|
@@ -13148,7 +13636,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
13148
13636
|
* fin.System.getAllApplications().then(apps => console.log(apps)).catch(err => console.log(err));
|
13149
13637
|
* ```
|
13150
13638
|
*/
|
13151
|
-
getAllApplications(): Promise<Array<ApplicationState>>;
|
13639
|
+
getAllApplications(): Promise<Array<OpenFin_2.ApplicationState>>;
|
13152
13640
|
/**
|
13153
13641
|
* Retrieves the command line argument string that started OpenFin Runtime.
|
13154
13642
|
*
|
@@ -13223,7 +13711,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
13223
13711
|
* }
|
13224
13712
|
* ```
|
13225
13713
|
*/
|
13226
|
-
getEntityInfo(uuid: string, name: string): Promise<EntityInfo>;
|
13714
|
+
getEntityInfo(uuid: string, name: string): Promise<OpenFin_2.EntityInfo>;
|
13227
13715
|
/**
|
13228
13716
|
* Gets the value of a given environment variable on the computer on which the runtime is installed
|
13229
13717
|
*
|
@@ -13265,7 +13753,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
13265
13753
|
* ```
|
13266
13754
|
*/
|
13267
13755
|
getInstalledRuntimes(): Promise<string[]>;
|
13268
|
-
getInstalledApps(): Promise<InstalledApps>;
|
13756
|
+
getInstalledApps(): Promise<OpenFin_2.InstalledApps>;
|
13269
13757
|
/**
|
13270
13758
|
* Retrieves the contents of the log with the specified filename.
|
13271
13759
|
* @param options A object that id defined by the GetLogRequestType interface
|
@@ -13280,7 +13768,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
13280
13768
|
* getLog().then(log => console.log(log)).catch(err => console.log(err));
|
13281
13769
|
* ```
|
13282
13770
|
*/
|
13283
|
-
getLog(options: GetLogRequestType): Promise<string>;
|
13771
|
+
getLog(options: OpenFin_2.GetLogRequestType): Promise<string>;
|
13284
13772
|
/**
|
13285
13773
|
* Returns a unique identifier (UUID) provided by the machine.
|
13286
13774
|
*
|
@@ -13298,7 +13786,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
13298
13786
|
* fin.System.getMinLogLevel().then(level => console.log(level)).catch(err => console.log(err));
|
13299
13787
|
* ```
|
13300
13788
|
*/
|
13301
|
-
getMinLogLevel(): Promise<LogLevel>;
|
13789
|
+
getMinLogLevel(): Promise<OpenFin_2.LogLevel>;
|
13302
13790
|
/**
|
13303
13791
|
* Retrieves an array containing information for each log file.
|
13304
13792
|
*
|
@@ -13307,7 +13795,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
13307
13795
|
* fin.System.getLogList().then(logList => console.log(logList)).catch(err => console.log(err));
|
13308
13796
|
* ```
|
13309
13797
|
*/
|
13310
|
-
getLogList(): Promise<Array<LogInfo>>;
|
13798
|
+
getLogList(): Promise<Array<OpenFin_2.LogInfo>>;
|
13311
13799
|
/**
|
13312
13800
|
* Retrieves an object that contains data about the monitor setup of the
|
13313
13801
|
* computer that the runtime is running on.
|
@@ -13378,7 +13866,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
13378
13866
|
* }
|
13379
13867
|
* ```
|
13380
13868
|
*/
|
13381
|
-
getProxySettings(): Promise<ProxyInfo>;
|
13869
|
+
getProxySettings(): Promise<OpenFin_2.ProxyInfo>;
|
13382
13870
|
/**
|
13383
13871
|
* Returns information about the running Runtime in an object.
|
13384
13872
|
*
|
@@ -13745,7 +14233,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
13745
14233
|
* }
|
13746
14234
|
* ```
|
13747
14235
|
*/
|
13748
|
-
launchExternalProcess(options: OpenFin_2.ExternalProcessRequestType): Promise<
|
14236
|
+
launchExternalProcess(options: OpenFin_2.ExternalProcessRequestType): Promise<Identity>;
|
13749
14237
|
/**
|
13750
14238
|
* Monitors a running process. A pid for the process must be included in options.
|
13751
14239
|
* <br> A uuid may be optionally provided. If not provided, OpenFin will create a uuid for the new process.
|
@@ -13762,7 +14250,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
13762
14250
|
* }).then(processIdentity => console.log(processIdentity)).catch(err => console.log(err));
|
13763
14251
|
* ```
|
13764
14252
|
*/
|
13765
|
-
monitorExternalProcess(options: OpenFin_2.ExternalProcessInfo): Promise<
|
14253
|
+
monitorExternalProcess(options: OpenFin_2.ExternalProcessInfo): Promise<Identity>;
|
13766
14254
|
/**
|
13767
14255
|
* Writes the passed message into both the log file and the console.
|
13768
14256
|
* @param level The log level for the entry. Can be either "info", "warning" or "error"
|
@@ -13896,7 +14384,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
13896
14384
|
*
|
13897
14385
|
* @tutorial System.showDeveloperTools
|
13898
14386
|
*/
|
13899
|
-
showDeveloperTools(identity:
|
14387
|
+
showDeveloperTools(identity: Identity): Promise<void>;
|
13900
14388
|
/**
|
13901
14389
|
* Attempt to close an external process. The process will be terminated if it
|
13902
14390
|
* has not closed after the elapsed timeout in milliseconds.
|
@@ -13930,7 +14418,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
13930
14418
|
* .catch(err => console.error(err));
|
13931
14419
|
* ```
|
13932
14420
|
*/
|
13933
|
-
updateProxySettings(options: ProxyConfig): Promise<void>;
|
14421
|
+
updateProxySettings(options: OpenFin_2.ProxyConfig): Promise<void>;
|
13934
14422
|
/**
|
13935
14423
|
* Downloads the given application asset.
|
13936
14424
|
*
|
@@ -14022,7 +14510,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
14022
14510
|
* .catch(err => console.log(err));
|
14023
14511
|
* ```
|
14024
14512
|
*/
|
14025
|
-
getAllExternalApplications(): Promise<Array<
|
14513
|
+
getAllExternalApplications(): Promise<Array<Identity>>;
|
14026
14514
|
/**
|
14027
14515
|
* Retrieves app asset information.
|
14028
14516
|
* @param options
|
@@ -14051,7 +14539,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
14051
14539
|
* fin.System.setMinLogLevel("verbose").then(() => console.log("log level is set to verbose")).catch(err => console.log(err));
|
14052
14540
|
* ```
|
14053
14541
|
*/
|
14054
|
-
setMinLogLevel(level: LogLevel): Promise<void>;
|
14542
|
+
setMinLogLevel(level: OpenFin_2.LogLevel): Promise<void>;
|
14055
14543
|
/**
|
14056
14544
|
* Retrieves the UUID of the computer on which the runtime is installed
|
14057
14545
|
* @param uuid The uuid of the running application
|
@@ -14061,7 +14549,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
14061
14549
|
* fin.System.resolveUuid('OpenfinPOC').then(entity => console.log(entity)).catch(err => console.log(err));
|
14062
14550
|
* ```
|
14063
14551
|
*/
|
14064
|
-
resolveUuid(uuid: string): Promise<
|
14552
|
+
resolveUuid(uuid: string): Promise<OpenFin_2.ApplicationType>;
|
14065
14553
|
/**
|
14066
14554
|
* Retrieves an array of data for all external applications
|
14067
14555
|
* @param requestingIdentity This object is described in the Identity typedef
|
@@ -14069,7 +14557,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
14069
14557
|
*
|
14070
14558
|
* @ignore
|
14071
14559
|
*/
|
14072
|
-
executeOnRemote(requestingIdentity:
|
14560
|
+
executeOnRemote(requestingIdentity: Identity, data: any): Promise<any>;
|
14073
14561
|
/**
|
14074
14562
|
* Reads the specifed value from the registry.
|
14075
14563
|
* @remarks This method is restricted by default and must be enabled via
|
@@ -14162,7 +14650,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
14162
14650
|
* }
|
14163
14651
|
* ```
|
14164
14652
|
*/
|
14165
|
-
readRegistryValue(rootKey: string, subkey: string, value: string): Promise<RegistryInfo>;
|
14653
|
+
readRegistryValue(rootKey: string, subkey: string, value: string): Promise<OpenFin_2.RegistryInfo>;
|
14166
14654
|
/**
|
14167
14655
|
* This function call will register a unique id and produce a token.
|
14168
14656
|
* The token can be used to broker an external connection.
|
@@ -14377,7 +14865,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
14377
14865
|
* });
|
14378
14866
|
* ```
|
14379
14867
|
*/
|
14380
|
-
getPrinters(): Promise<PrinterInfo[]>;
|
14868
|
+
getPrinters(): Promise<OpenFin_2.PrinterInfo[]>;
|
14381
14869
|
/**
|
14382
14870
|
* Updates Process Logging values: periodic interval and outlier detection entries and interval.
|
14383
14871
|
* @param options Process Logging updatable options.
|
@@ -15003,14 +15491,11 @@ declare type UrlChangedEvent = BaseUrlEvent & ({
|
|
15003
15491
|
declare type UserAppConfigArgs = Record<string, string | string[]>;
|
15004
15492
|
|
15005
15493
|
/**
|
15006
|
-
*
|
15494
|
+
* An event that fires when a window's bounds are changed directly by the user.
|
15495
|
+
*
|
15007
15496
|
* @interface
|
15008
15497
|
*/
|
15009
|
-
declare type UserBoundsChangeEvent =
|
15010
|
-
height: number;
|
15011
|
-
left: number;
|
15012
|
-
top: number;
|
15013
|
-
width: number;
|
15498
|
+
declare type UserBoundsChangeEvent = BoundsEvent & {
|
15014
15499
|
windowState: 'minimized' | 'normal' | 'maximized';
|
15015
15500
|
};
|
15016
15501
|
|
@@ -15550,7 +16035,7 @@ declare type ViewContentCreationRule = BaseContentCreationRule & {
|
|
15550
16035
|
declare type ViewCreationOptions = Partial<ViewOptions> & {
|
15551
16036
|
name: string;
|
15552
16037
|
url: string;
|
15553
|
-
target:
|
16038
|
+
target: Identity_4;
|
15554
16039
|
};
|
15555
16040
|
|
15556
16041
|
declare type ViewCreationOrReference = OpenFin_2.Identity | OpenFin_2.PlatformViewCreationOptions;
|
@@ -15579,6 +16064,8 @@ declare namespace ViewEvents {
|
|
15579
16064
|
BaseEvent_4 as BaseEvent,
|
15580
16065
|
BaseViewEvent,
|
15581
16066
|
TargetChangedEvent,
|
16067
|
+
AddedToLayoutEvent,
|
16068
|
+
RemovedFromLayoutEvent,
|
15582
16069
|
NonPropagatedViewEvent,
|
15583
16070
|
CreatedEvent,
|
15584
16071
|
DestroyedEvent,
|
@@ -15734,15 +16221,15 @@ declare interface ViewsPreventingUnloadPayload {
|
|
15734
16221
|
/**
|
15735
16222
|
* Identity of the Window.
|
15736
16223
|
*/
|
15737
|
-
windowId:
|
16224
|
+
windowId: Identity_4;
|
15738
16225
|
/**
|
15739
16226
|
* Identities of the Views that are preventing an unload
|
15740
16227
|
*/
|
15741
|
-
viewsPreventingUnload:
|
16228
|
+
viewsPreventingUnload: Identity_4[];
|
15742
16229
|
/**
|
15743
16230
|
* Identities of the Views that are not preventing an unload
|
15744
16231
|
*/
|
15745
|
-
viewsNotPreventingUnload:
|
16232
|
+
viewsNotPreventingUnload: Identity_4[];
|
15746
16233
|
/**
|
15747
16234
|
* Source of the close action.
|
15748
16235
|
*/
|
@@ -15767,11 +16254,11 @@ declare interface ViewStatuses {
|
|
15767
16254
|
/**
|
15768
16255
|
* Identities of the Views that are preventing an unload.
|
15769
16256
|
*/
|
15770
|
-
viewsPreventingUnload:
|
16257
|
+
viewsPreventingUnload: Identity_4[];
|
15771
16258
|
/**
|
15772
16259
|
* Identities of the Views that are not preventing an unload.
|
15773
16260
|
*/
|
15774
|
-
viewsNotPreventingUnload:
|
16261
|
+
viewsNotPreventingUnload: Identity_4[];
|
15775
16262
|
}
|
15776
16263
|
|
15777
16264
|
/**
|
@@ -16276,7 +16763,7 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
|
|
16276
16763
|
* We do not expose an explicit superclass for this functionality, but it does have its own
|
16277
16764
|
* {@link OpenFin.WebContentsEvents event namespace}.
|
16278
16765
|
*/
|
16279
|
-
stopFindInPage(action:
|
16766
|
+
stopFindInPage(action: 'clearSelection' | 'keepSelection' | 'activateSelection'): Promise<void>;
|
16280
16767
|
/**
|
16281
16768
|
* Returns an array with all system printers
|
16282
16769
|
* @deprecated use System.getPrinters instead
|
@@ -16869,11 +17356,7 @@ declare type WillMoveEvent = WillMoveOrResizeEvent & {
|
|
16869
17356
|
* A general will-move or will-resize event without event type.
|
16870
17357
|
* @interface
|
16871
17358
|
*/
|
16872
|
-
declare type WillMoveOrResizeEvent =
|
16873
|
-
height: number;
|
16874
|
-
left: number;
|
16875
|
-
top: number;
|
16876
|
-
width: number;
|
17359
|
+
declare type WillMoveOrResizeEvent = BoundsEvent & {
|
16877
17360
|
monitorScaleFactor: number;
|
16878
17361
|
};
|
16879
17362
|
|
@@ -18068,16 +18551,21 @@ declare namespace WindowEvents {
|
|
18068
18551
|
PreloadScriptInfoRunning,
|
18069
18552
|
PreloadScriptInfo,
|
18070
18553
|
PreloadScriptsStateChangeEvent,
|
18071
|
-
|
18554
|
+
BoundsEvent,
|
18072
18555
|
BoundsChangeEvent,
|
18073
18556
|
WillMoveOrResizeEvent,
|
18557
|
+
BoundsDidChangeEvent,
|
18558
|
+
BoundsChangedEvent,
|
18559
|
+
BoundsChangingEvent,
|
18560
|
+
DisabledMovementBoundsChangedEvent,
|
18561
|
+
DisabledMovementBoundsChangingEvent,
|
18562
|
+
UserBoundsChangeEvent,
|
18563
|
+
BeginUserBoundsChangingEvent,
|
18564
|
+
EndUserBoundsChangingEvent,
|
18074
18565
|
PerformanceReportEvent,
|
18075
18566
|
InputEvent_2 as InputEvent,
|
18076
18567
|
LayoutInitializedEvent,
|
18077
18568
|
LayoutReadyEvent,
|
18078
|
-
BeginUserBoundsChangingEvent,
|
18079
|
-
BoundsChangedEvent,
|
18080
|
-
BoundsChangingEvent,
|
18081
18569
|
CloseRequestedEvent,
|
18082
18570
|
WindowCloseRequestedEvent,
|
18083
18571
|
ContextChangedEvent,
|
@@ -18085,10 +18573,7 @@ declare namespace WindowEvents {
|
|
18085
18573
|
WindowClosedEvent,
|
18086
18574
|
ClosingEvent,
|
18087
18575
|
WindowClosingEvent,
|
18088
|
-
DisabledMovementBoundsChangedEvent,
|
18089
|
-
DisabledMovementBoundsChangingEvent,
|
18090
18576
|
EmbeddedEvent,
|
18091
|
-
EndUserBoundsChangingEvent,
|
18092
18577
|
HotkeyEvent_2 as HotkeyEvent,
|
18093
18578
|
WindowHotkeyEvent,
|
18094
18579
|
InitializedEvent_2 as InitializedEvent,
|