@openfin/core 40.82.11 → 40.82.12
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 +259 -50
- package/package.json +1 -1
package/out/mock-alpha.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
|
*/
|
@@ -4068,13 +4076,13 @@ declare type CreateViewPayload = {
|
|
4068
4076
|
* Window the view will be added to. If no target is provided, a new window will be created.
|
4069
4077
|
*/
|
4070
4078
|
target?: CreateViewTarget;
|
4071
|
-
targetView?:
|
4079
|
+
targetView?: Identity_4;
|
4072
4080
|
};
|
4073
4081
|
|
4074
4082
|
/**
|
4075
4083
|
* @interface
|
4076
4084
|
*/
|
4077
|
-
declare type CreateViewTarget = (
|
4085
|
+
declare type CreateViewTarget = (Identity_4 | LayoutIdentity) & {
|
4078
4086
|
/**
|
4079
4087
|
* If specified, view creation will not attach to a window and caller must
|
4080
4088
|
* insert the view into the layout explicitly
|
@@ -4520,7 +4528,7 @@ declare type EmitterAccessor = string[];
|
|
4520
4528
|
declare class EmitterBase<EmitterEvent extends BaseEvent, EmitterEventType extends EmitterEvent['type'] = EmitterEvent['type']> extends Base {
|
4521
4529
|
#private;
|
4522
4530
|
private topic;
|
4523
|
-
protected identity: ApplicationIdentity;
|
4531
|
+
protected identity: OpenFin_2.ApplicationIdentity;
|
4524
4532
|
constructor(wire: Transport, topic: string, ...additionalAccessors: string[]);
|
4525
4533
|
eventNames: () => (string | symbol)[];
|
4526
4534
|
/* Excluded from this release type: emit */
|
@@ -4595,20 +4603,17 @@ declare type EndLoadEvent = BaseEvent_5 & {
|
|
4595
4603
|
|
4596
4604
|
/**
|
4597
4605
|
* Generated at the end of a user-driven change to a window's size or position.
|
4606
|
+
*
|
4598
4607
|
* @interface
|
4599
4608
|
*/
|
4600
4609
|
declare type EndUserBoundsChangingEvent = UserBoundsChangeEvent & {
|
4601
4610
|
type: 'end-user-bounds-changing';
|
4602
4611
|
};
|
4603
4612
|
|
4604
|
-
declare type Entity = OpenFin_2.ApplicationType;
|
4605
|
-
|
4606
|
-
declare type EntityInfo = OpenFin_2.EntityInfo;
|
4607
|
-
|
4608
4613
|
/**
|
4609
4614
|
* @interface
|
4610
4615
|
*/
|
4611
|
-
declare type
|
4616
|
+
declare type EntityInfo = {
|
4612
4617
|
uuid: string;
|
4613
4618
|
name: string;
|
4614
4619
|
entityType: EntityType_4;
|
@@ -4710,6 +4715,7 @@ declare type ErrorPlainObject = {
|
|
4710
4715
|
stack?: string;
|
4711
4716
|
message: string;
|
4712
4717
|
name?: string;
|
4718
|
+
cause?: Error | ErrorPlainObject;
|
4713
4719
|
toString(): string;
|
4714
4720
|
};
|
4715
4721
|
|
@@ -4758,7 +4764,7 @@ declare type Event_3 = ViewEvents.PropagatedEvent<'application'> | WindowEvents.
|
|
4758
4764
|
*/
|
4759
4765
|
declare type Event_4 = (WebContentsEvents.Event<'view'> & {
|
4760
4766
|
target: OpenFin_2.Identity;
|
4761
|
-
}) | CreatedEvent | DestroyedEvent | HiddenEvent | HotkeyEvent | ShownEvent | TargetChangedEvent | HostContextChangedEvent;
|
4767
|
+
}) | CreatedEvent | DestroyedEvent | HiddenEvent | HotkeyEvent | ShownEvent | TargetChangedEvent | HostContextChangedEvent | AddedToLayoutEvent | RemovedFromLayoutEvent;
|
4762
4768
|
|
4763
4769
|
/**
|
4764
4770
|
* [Union](https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#union-types) containing events shared by all WebContents elements
|
@@ -4957,7 +4963,7 @@ declare type ExternalApplicationEventType = EventType_4;
|
|
4957
4963
|
* @interface
|
4958
4964
|
*/
|
4959
4965
|
declare type ExternalApplicationInfo = {
|
4960
|
-
parent:
|
4966
|
+
parent: Identity_4;
|
4961
4967
|
};
|
4962
4968
|
|
4963
4969
|
/**
|
@@ -5153,6 +5159,10 @@ declare type FileDownloadEvent = {
|
|
5153
5159
|
* The number of bytes of the item that have already been downloaded.
|
5154
5160
|
*/
|
5155
5161
|
downloadedBytes: number;
|
5162
|
+
/**
|
5163
|
+
* Unique identifier for the downloaded file.
|
5164
|
+
*/
|
5165
|
+
fileUuid: string;
|
5156
5166
|
} & NamedEvent;
|
5157
5167
|
|
5158
5168
|
/**
|
@@ -5413,7 +5423,7 @@ declare type FrameInfo = {
|
|
5413
5423
|
uuid: string;
|
5414
5424
|
url: string;
|
5415
5425
|
entityType: EntityType_4;
|
5416
|
-
parent:
|
5426
|
+
parent: Identity_4;
|
5417
5427
|
};
|
5418
5428
|
|
5419
5429
|
/**
|
@@ -5488,12 +5498,10 @@ declare type FrameProcessDetails = ProcessDetails & {
|
|
5488
5498
|
entityType: string;
|
5489
5499
|
};
|
5490
5500
|
|
5491
|
-
declare type GetLogRequestType = OpenFin_2.GetLogRequestType;
|
5492
|
-
|
5493
5501
|
/**
|
5494
5502
|
* @interface
|
5495
5503
|
*/
|
5496
|
-
declare type
|
5504
|
+
declare type GetLogRequestType = {
|
5497
5505
|
/**
|
5498
5506
|
* The name of the running application
|
5499
5507
|
*/
|
@@ -5513,7 +5521,7 @@ declare type GetWindowContextPayload = {
|
|
5513
5521
|
/**
|
5514
5522
|
* Identity of the entity targeted by the call to {@link Platform#setWindowContext Platform.setWindowContext}.
|
5515
5523
|
*/
|
5516
|
-
target:
|
5524
|
+
target: Identity_4;
|
5517
5525
|
};
|
5518
5526
|
|
5519
5527
|
/**
|
@@ -5779,8 +5787,6 @@ declare type Identity_2 = OpenFin_2.Identity;
|
|
5779
5787
|
|
5780
5788
|
declare type Identity_3 = OpenFin_2.Identity;
|
5781
5789
|
|
5782
|
-
declare type Identity_4 = OpenFin_2.Identity;
|
5783
|
-
|
5784
5790
|
/**
|
5785
5791
|
* Unique identifier for a window, view or iframe.
|
5786
5792
|
*
|
@@ -5789,7 +5795,7 @@ declare type Identity_4 = OpenFin_2.Identity;
|
|
5789
5795
|
*
|
5790
5796
|
* @interface
|
5791
5797
|
*/
|
5792
|
-
declare type
|
5798
|
+
declare type Identity_4 = {
|
5793
5799
|
/**
|
5794
5800
|
* Universally unique identifier of the application that owns the component.
|
5795
5801
|
*/
|
@@ -5948,12 +5954,10 @@ declare type InstallationInfo = {
|
|
5948
5954
|
cachedManifest: any;
|
5949
5955
|
};
|
5950
5956
|
|
5951
|
-
declare type InstalledApps = OpenFin_2.InstalledApps;
|
5952
|
-
|
5953
5957
|
/**
|
5954
5958
|
* @interface
|
5955
5959
|
*/
|
5956
|
-
declare type
|
5960
|
+
declare type InstalledApps = {
|
5957
5961
|
[key: string]: InstallationInfo;
|
5958
5962
|
};
|
5959
5963
|
|
@@ -6724,7 +6728,7 @@ declare class InteropBroker extends Base {
|
|
6724
6728
|
* @param _id the identity tryinc to connect
|
6725
6729
|
* @param _connectionPayload optional payload to use in custom implementations, will be undefined by default
|
6726
6730
|
*/
|
6727
|
-
isConnectionAuthorized(_id:
|
6731
|
+
isConnectionAuthorized(_id: Identity_2, _connectionPayload?: any): Promise<boolean> | boolean;
|
6728
6732
|
/**
|
6729
6733
|
* Called before every action to check if this entity should be allowed to take the action.
|
6730
6734
|
* Return false to prevent the action
|
@@ -7642,7 +7646,7 @@ declare class Layout extends Base {
|
|
7642
7646
|
* await layout.replaceView(viewToReplace.identity, newViewConfig);
|
7643
7647
|
* ```
|
7644
7648
|
*/
|
7645
|
-
replaceView: (viewToReplace:
|
7649
|
+
replaceView: (viewToReplace: Identity_3, newView: OpenFin_2.PlatformViewCreationOptions) => Promise<void>;
|
7646
7650
|
/**
|
7647
7651
|
* Replaces a Platform window's layout with a preset layout arrangement using the existing Views attached to the window.
|
7648
7652
|
* The preset options are `columns`, `grid`, `rows`, and `tabs`.
|
@@ -7697,7 +7701,7 @@ declare type LayoutContent = Array<LayoutItemConfig | LayoutRow | LayoutColumn |
|
|
7697
7701
|
/**
|
7698
7702
|
* The base payload for the CustomEvent.detail property for Layout events emitted on the layout container element.
|
7699
7703
|
*/
|
7700
|
-
declare type LayoutDOMEvent =
|
7704
|
+
declare type LayoutDOMEvent = Identity_4 & {
|
7701
7705
|
type: string;
|
7702
7706
|
topic: 'openfin-DOM-event';
|
7703
7707
|
tabSelector: string;
|
@@ -7758,7 +7762,7 @@ declare type LayoutEntityTypes = 'column' | 'row' | 'stack';
|
|
7758
7762
|
/**
|
7759
7763
|
* @interface
|
7760
7764
|
*/
|
7761
|
-
declare type LayoutIdentity =
|
7765
|
+
declare type LayoutIdentity = Identity_4 & {
|
7762
7766
|
/**
|
7763
7767
|
* The name of the layout in a given window.
|
7764
7768
|
*/
|
@@ -7867,7 +7871,7 @@ declare interface LayoutManager<T extends LayoutSnapshot> {
|
|
7867
7871
|
* @param identity
|
7868
7872
|
* @returns LayoutIdentity | undefined
|
7869
7873
|
*/
|
7870
|
-
resolveLayoutIdentity(identity?:
|
7874
|
+
resolveLayoutIdentity(identity?: Identity_4 | LayoutIdentity): LayoutIdentity | undefined;
|
7871
7875
|
/**
|
7872
7876
|
* @experimental
|
7873
7877
|
*
|
@@ -7884,7 +7888,7 @@ declare interface LayoutManager<T extends LayoutSnapshot> {
|
|
7884
7888
|
/**
|
7885
7889
|
* @experimental
|
7886
7890
|
*/
|
7887
|
-
getLayoutIdentityForView(viewIdentity:
|
7891
|
+
getLayoutIdentityForView(viewIdentity: Identity_4): LayoutIdentity;
|
7888
7892
|
/**
|
7889
7893
|
* @experimental
|
7890
7894
|
*/
|
@@ -8188,12 +8192,10 @@ declare type Listener<T extends {
|
|
8188
8192
|
type: string;
|
8189
8193
|
}> = (payload: T) => void;
|
8190
8194
|
|
8191
|
-
declare type LogInfo = OpenFin_2.LogInfo;
|
8192
|
-
|
8193
8195
|
/**
|
8194
8196
|
* @interface
|
8195
8197
|
*/
|
8196
|
-
declare type
|
8198
|
+
declare type LogInfo = {
|
8197
8199
|
/**
|
8198
8200
|
* The filename of the log
|
8199
8201
|
*/
|
@@ -8208,8 +8210,6 @@ declare type LogInfo_2 = {
|
|
8208
8210
|
date: string;
|
8209
8211
|
};
|
8210
8212
|
|
8211
|
-
declare type LogLevel = OpenFin_2.LogLevel;
|
8212
|
-
|
8213
8213
|
/**
|
8214
8214
|
* Describes the minimum level (inclusive) above which logs will be written.
|
8215
8215
|
*
|
@@ -8219,7 +8219,24 @@ declare type LogLevel = OpenFin_2.LogLevel;
|
|
8219
8219
|
* `error` and above<br>
|
8220
8220
|
* `fatal`: fatal only, indicates a crash is imminent
|
8221
8221
|
*/
|
8222
|
-
declare type
|
8222
|
+
declare type LogLevel = 'verbose' | 'info' | 'warning' | 'error' | 'fatal';
|
8223
|
+
|
8224
|
+
declare type LogUploaderUIOptions = {
|
8225
|
+
title?: string;
|
8226
|
+
icon?: string;
|
8227
|
+
header?: string;
|
8228
|
+
description?: string;
|
8229
|
+
email?: string;
|
8230
|
+
website?: string;
|
8231
|
+
websiteDescription?: string;
|
8232
|
+
};
|
8233
|
+
|
8234
|
+
declare type LogUploadOptions = {
|
8235
|
+
endpoint: string;
|
8236
|
+
manifests?: string[];
|
8237
|
+
logs?: string[];
|
8238
|
+
ui?: LogUploaderUIOptions;
|
8239
|
+
};
|
8223
8240
|
|
8224
8241
|
/**
|
8225
8242
|
* @interface
|
@@ -8279,6 +8296,7 @@ declare type Manifest = {
|
|
8279
8296
|
enableErrorReporting?: boolean;
|
8280
8297
|
};
|
8281
8298
|
interopBrokerConfiguration: InteropBrokerOptions;
|
8299
|
+
logUpload?: LogUploadOptions;
|
8282
8300
|
};
|
8283
8301
|
|
8284
8302
|
/**
|
@@ -9029,13 +9047,13 @@ declare namespace OpenFin_2 {
|
|
9029
9047
|
LayoutPosition,
|
9030
9048
|
WebContent,
|
9031
9049
|
PlatformProvider,
|
9032
|
-
|
9033
|
-
|
9050
|
+
ApplicationIdentity,
|
9051
|
+
Identity_4 as Identity,
|
9034
9052
|
ClientIdentity,
|
9035
9053
|
ClientInfo,
|
9036
9054
|
ClientIdentityMultiRuntime,
|
9037
9055
|
ClientConnectionPayload,
|
9038
|
-
|
9056
|
+
EntityInfo,
|
9039
9057
|
EntityType_4 as EntityType,
|
9040
9058
|
Bounds,
|
9041
9059
|
WindowBounds,
|
@@ -9140,6 +9158,8 @@ declare namespace OpenFin_2 {
|
|
9140
9158
|
PlatformViewCreationOptions,
|
9141
9159
|
ProcessAffinityStrategy,
|
9142
9160
|
PlatformOptions,
|
9161
|
+
LogUploaderUIOptions,
|
9162
|
+
LogUploadOptions,
|
9143
9163
|
Manifest,
|
9144
9164
|
LayoutContent,
|
9145
9165
|
LayoutItemConfig,
|
@@ -9169,7 +9189,7 @@ declare namespace OpenFin_2 {
|
|
9169
9189
|
GpuInfo,
|
9170
9190
|
OSInfo,
|
9171
9191
|
HostSpecs,
|
9172
|
-
|
9192
|
+
PrinterInfo,
|
9173
9193
|
Dpi,
|
9174
9194
|
Margins,
|
9175
9195
|
PrintOptions,
|
@@ -9277,24 +9297,24 @@ declare namespace OpenFin_2 {
|
|
9277
9297
|
BeforeUnloadUserDecision,
|
9278
9298
|
ViewStatuses,
|
9279
9299
|
CloseWindowPayload,
|
9280
|
-
|
9281
|
-
|
9300
|
+
ProxyInfo,
|
9301
|
+
ProxyConfig,
|
9282
9302
|
ProxySystemInfo,
|
9283
9303
|
ChannelAction_2 as ChannelAction,
|
9284
9304
|
ChannelMiddleware_2 as ChannelMiddleware,
|
9285
9305
|
ErrorMiddleware_2 as ErrorMiddleware,
|
9286
|
-
|
9287
|
-
|
9306
|
+
ApplicationState,
|
9307
|
+
InstalledApps,
|
9288
9308
|
InstallationInfo,
|
9289
|
-
|
9290
|
-
|
9309
|
+
GetLogRequestType,
|
9310
|
+
LogInfo,
|
9291
9311
|
SendApplicationLogResponse,
|
9292
|
-
|
9312
|
+
LogLevel,
|
9293
9313
|
PermissionState_2 as PermissionState,
|
9294
|
-
|
9314
|
+
RegistryInfo,
|
9295
9315
|
ApplicationType,
|
9296
9316
|
WindowInfo,
|
9297
|
-
|
9317
|
+
ApplicationWindowInfo,
|
9298
9318
|
WindowDetail,
|
9299
9319
|
LayoutPresetType,
|
9300
9320
|
LayoutIdentity,
|
@@ -11205,12 +11225,10 @@ declare type PresetLayoutOptions_2 = {
|
|
11205
11225
|
presetType: LayoutPresetType;
|
11206
11226
|
};
|
11207
11227
|
|
11208
|
-
declare type PrinterInfo = OpenFin_2.PrinterInfo;
|
11209
|
-
|
11210
11228
|
/**
|
11211
11229
|
* @interface
|
11212
11230
|
*/
|
11213
|
-
declare type
|
11231
|
+
declare type PrinterInfo = {
|
11214
11232
|
/**
|
11215
11233
|
* Printer Name
|
11216
11234
|
*/
|
@@ -11472,20 +11490,100 @@ declare type PropagatedWindowEvent<TargetTopic extends string> = PropagatedEvent
|
|
11472
11490
|
declare type PropagatedWindowEventType = PropagatedEvent_3<string>['type'];
|
11473
11491
|
|
11474
11492
|
declare interface ProtocolMap extends ProtocolMapBase {
|
11493
|
+
'is-application-running': ApplicationIdentityCall<{}, boolean>;
|
11494
|
+
'destroy-application': ApplicationIdentityCall<{
|
11495
|
+
force: boolean;
|
11496
|
+
}, void>;
|
11497
|
+
'close-application': ApplicationIdentityCall<{
|
11498
|
+
force: boolean;
|
11499
|
+
}, void>;
|
11500
|
+
'application-close': ApplicationIdentityCall<{}, void>;
|
11501
|
+
'get-child-windows': ApplicationIdentityCall<{}, Array<unknown>>;
|
11502
|
+
'get-application-manifest': {
|
11503
|
+
request: {
|
11504
|
+
manifestUrl?: string;
|
11505
|
+
uuid?: string;
|
11506
|
+
};
|
11507
|
+
response: OpenFin_2.Manifest;
|
11508
|
+
};
|
11509
|
+
'get-parent-application': ApplicationIdentityCall<{}, string>;
|
11510
|
+
'get-shortcuts': ApplicationIdentityCall<{}, OpenFin_2.ShortCutConfig>;
|
11511
|
+
'application-get-views': ApplicationIdentityCall<{}, OpenFin_2.Identity[]>;
|
11512
|
+
'get-application-zoom-level': ApplicationIdentityCall<{}, number>;
|
11513
|
+
'application-get-window': ApplicationIdentityCall<{}, void>;
|
11514
|
+
'register-user': ApplicationIdentityCall<{
|
11515
|
+
userName: string;
|
11516
|
+
appName: string;
|
11517
|
+
}, void>;
|
11518
|
+
'remove-tray-icon': ApplicationIdentityCall<{}, void>;
|
11519
|
+
'restart-application': ApplicationIdentityCall<{}, void>;
|
11520
|
+
'application-run': ApplicationIdentityCall<{}, void>;
|
11521
|
+
'run-application': ApplicationIdentityCall<{
|
11522
|
+
manifestUrl?: string | undefined;
|
11523
|
+
opts?: OpenFin_2.RvmLaunchOptions;
|
11524
|
+
}, void>;
|
11525
|
+
'relaunch-on-close': ApplicationIdentityCall<{}, void>;
|
11526
|
+
'send-application-log': ApplicationIdentityCall<{}, OpenFin_2.SendApplicationLogResponse>;
|
11527
|
+
'set-jump-list': ApplicationIdentityCall<{
|
11528
|
+
config: OpenFin_2.JumpListCategory[] | null;
|
11529
|
+
}, void>;
|
11530
|
+
'set-tray-icon': ApplicationIdentityCall<{
|
11531
|
+
enabledIcon: string;
|
11532
|
+
}, void>;
|
11533
|
+
'set-shortcuts': ApplicationIdentityCall<{
|
11534
|
+
data: OpenFin_2.ShortCutConfig;
|
11535
|
+
}, void>;
|
11536
|
+
'set-shortcut-query-args': ApplicationIdentityCall<{
|
11537
|
+
data: string;
|
11538
|
+
}, void>;
|
11539
|
+
'set-application-zoom-level': ApplicationIdentityCall<{
|
11540
|
+
level: number;
|
11541
|
+
}, void>;
|
11542
|
+
'set-app-log-username': ApplicationIdentityCall<{
|
11543
|
+
data: string;
|
11544
|
+
}, void>;
|
11545
|
+
'get-tray-icon-info': ApplicationIdentityCall<{}, OpenFin_2.TrayInfo>;
|
11546
|
+
'has-tray-icon': ApplicationIdentityCall<{}, boolean>;
|
11547
|
+
'terminate-application': ApplicationIdentityCall<{}, void>;
|
11548
|
+
'wait-for-hung-application': ApplicationIdentityCall<{}, void>;
|
11549
|
+
'get-info': ApplicationIdentityCall<{}, OpenFin_2.ApplicationInfo>;
|
11550
|
+
'application-get-process-info': ApplicationIdentityCall<{}, OpenFin_2.AppProcessInfo>;
|
11551
|
+
'set-file-download-location': {
|
11552
|
+
request: OpenFin_2.Identity & {
|
11553
|
+
downloadLocation: string;
|
11554
|
+
};
|
11555
|
+
response: void;
|
11556
|
+
};
|
11557
|
+
'get-file-download-location': ApplicationIdentityCall<{}, string>;
|
11558
|
+
'show-tray-icon-popup-menu': {
|
11559
|
+
request: OpenFin_2.Identity & {
|
11560
|
+
options: OpenFin_2.ShowTrayIconPopupMenuOptions;
|
11561
|
+
};
|
11562
|
+
response: OpenFin_2.MenuResult;
|
11563
|
+
};
|
11564
|
+
'close-tray-icon-popup-menu': IdentityCall<{}, void>;
|
11565
|
+
'wrap-application': VoidCall;
|
11566
|
+
'wrap-application-sync': VoidCall;
|
11567
|
+
'create-application': ApiCall<OpenFin_2.ApplicationCreationOptions, void>;
|
11568
|
+
'application-create': VoidCall;
|
11569
|
+
'start-application': VoidCall;
|
11570
|
+
'run-applications': ApiCall<{
|
11571
|
+
applications: Array<OpenFin_2.ManifestInfo>;
|
11572
|
+
opts?: OpenFin_2.RvmLaunchOptions;
|
11573
|
+
}, void>;
|
11574
|
+
'get-current-application': VoidCall;
|
11575
|
+
'get-current-application-sync': VoidCall;
|
11576
|
+
'application-start-from-manifest': VoidCall;
|
11577
|
+
'application-create-from-manifest': VoidCall;
|
11475
11578
|
'request-external-authorization': {
|
11476
11579
|
request: any;
|
11477
11580
|
response: void;
|
11478
11581
|
specialResponse: AuthorizationPayload;
|
11479
11582
|
};
|
11480
|
-
'
|
11481
|
-
request:
|
11482
|
-
response: OpenFin_2.Identity[];
|
11483
|
-
};
|
11484
|
-
'set-jump-list': {
|
11485
|
-
request: {
|
11486
|
-
config: OpenFin_2.JumpListCategory[] | null;
|
11487
|
-
} & OpenFin_2.ApplicationIdentity;
|
11583
|
+
'request-authorization': {
|
11584
|
+
request: ExistingConnectConfig | RemoteConfig | ReceiverConfig;
|
11488
11585
|
response: void;
|
11586
|
+
specialResponse: Payload;
|
11489
11587
|
};
|
11490
11588
|
'clipboard-read-formats': {
|
11491
11589
|
request: {
|
@@ -11497,6 +11595,24 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
11497
11595
|
request: OpenFin_2.ReadImageClipboardRequest;
|
11498
11596
|
response: string;
|
11499
11597
|
};
|
11598
|
+
'clipboard-read-text': {
|
11599
|
+
request: {
|
11600
|
+
type?: OpenFin_2.ClipboardSelectionType;
|
11601
|
+
};
|
11602
|
+
response: string;
|
11603
|
+
};
|
11604
|
+
'clipboard-read-html': {
|
11605
|
+
request: {
|
11606
|
+
type?: OpenFin_2.ClipboardSelectionType;
|
11607
|
+
};
|
11608
|
+
response: string;
|
11609
|
+
};
|
11610
|
+
'clipboard-read-rtf': {
|
11611
|
+
request: {
|
11612
|
+
type?: OpenFin_2.ClipboardSelectionType;
|
11613
|
+
};
|
11614
|
+
response: string;
|
11615
|
+
};
|
11500
11616
|
'clipboard-write-image': {
|
11501
11617
|
request: OpenFin_2.WriteImageClipboardRequest;
|
11502
11618
|
response: void;
|
@@ -11505,6 +11621,18 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
11505
11621
|
request: OpenFin_2.WriteAnyRequestType;
|
11506
11622
|
response: void;
|
11507
11623
|
};
|
11624
|
+
'clipboard-write-text': {
|
11625
|
+
request: OpenFin_2.WriteClipboardRequest;
|
11626
|
+
response: void;
|
11627
|
+
};
|
11628
|
+
'clipboard-write-html': {
|
11629
|
+
request: OpenFin_2.WriteClipboardRequest;
|
11630
|
+
response: void;
|
11631
|
+
};
|
11632
|
+
'clipboard-write-rtf': {
|
11633
|
+
request: OpenFin_2.WriteClipboardRequest;
|
11634
|
+
response: void;
|
11635
|
+
};
|
11508
11636
|
'get-view-window': IdentityCall<{}, OpenFin_2.Identity>;
|
11509
11637
|
'create-view': IdentityCall<OpenFin_2.ViewCreationOptions & {
|
11510
11638
|
uuid: string;
|
@@ -11530,13 +11658,85 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
11530
11658
|
options: OpenFin_2.UpdatableViewOptions;
|
11531
11659
|
}>;
|
11532
11660
|
'trigger-before-unload': IdentityCall<{}, boolean>;
|
11661
|
+
'view-wrap-sync': VoidCall;
|
11662
|
+
'view-wrap': VoidCall;
|
11663
|
+
'view-get-current': VoidCall;
|
11664
|
+
'view-get-current-sync': VoidCall;
|
11665
|
+
'animate-window': IdentityCall<{
|
11666
|
+
transitions: OpenFin_2.Transition;
|
11667
|
+
options: OpenFin_2.TransitionOptions;
|
11668
|
+
}>;
|
11669
|
+
'get-all-frames': IdentityCall<{}, OpenFin_2.FrameInfo[]>;
|
11670
|
+
'get-window-bounds': IdentityCall<{}, OpenFin_2.WindowBounds>;
|
11671
|
+
'center-window': IdentityCall;
|
11672
|
+
'blur-window': IdentityCall;
|
11673
|
+
'bring-window-to-front': IdentityCall;
|
11674
|
+
'hide-window': IdentityCall;
|
11675
|
+
'close-window': IdentityCall<{
|
11676
|
+
force: boolean;
|
11677
|
+
}>;
|
11678
|
+
'focused-webview-changed': IdentityCall;
|
11679
|
+
'get-window-native-id': IdentityCall<{}, string>;
|
11533
11680
|
'window-get-views': IdentityCall<{}, OpenFin_2.Identity[]>;
|
11534
|
-
'
|
11681
|
+
'disable-window-frame': IdentityCall;
|
11682
|
+
'enable-window-frame': IdentityCall;
|
11683
|
+
'flash-window': IdentityCall;
|
11684
|
+
'stop-flash-window': IdentityCall;
|
11685
|
+
'get-window-info': IdentityCall<{}, OpenFin_2.WindowInfo>;
|
11686
|
+
'get-window-options': IdentityCall<{}, OpenFin_2.WindowOptions>;
|
11687
|
+
'get-window-snapshot': IdentityCall<{
|
11688
|
+
area?: OpenFin_2.Rectangle;
|
11689
|
+
}, string>;
|
11690
|
+
'get-window-state': IdentityCall<{}, 'minimized' | 'maximized' | 'normal'>;
|
11691
|
+
'is-window-showing': IdentityCall<{}, boolean>;
|
11692
|
+
'maximize-window': IdentityCall;
|
11693
|
+
'minimize-window': IdentityCall;
|
11694
|
+
'move-window-by': IdentityCall<WithPositioningOptions<{
|
11695
|
+
deltaLeft: number;
|
11696
|
+
deltaTop: number;
|
11697
|
+
}>>;
|
11698
|
+
'move-window': IdentityCall<WithPositioningOptions<{
|
11699
|
+
left: number;
|
11700
|
+
top: number;
|
11701
|
+
}>>;
|
11702
|
+
'resize-window-by': IdentityCall<WithPositioningOptions<{
|
11703
|
+
deltaWidth: number;
|
11704
|
+
deltaHeight: number;
|
11705
|
+
anchor: OpenFin_2.AnchorType;
|
11706
|
+
}>>;
|
11707
|
+
'resize-window': IdentityCall<WithPositioningOptions<{
|
11708
|
+
width: number;
|
11709
|
+
height: number;
|
11710
|
+
anchor: OpenFin_2.AnchorType;
|
11711
|
+
}>>;
|
11712
|
+
'restore-window': IdentityCall;
|
11713
|
+
'set-foreground-window': IdentityCall;
|
11714
|
+
'set-window-bounds': IdentityCall<WithPositioningOptions<Partial<OpenFin_2.Bounds>>>;
|
11715
|
+
'show-window': IdentityCall<{
|
11716
|
+
force: boolean;
|
11717
|
+
}>;
|
11718
|
+
'show-at-window': IdentityCall<{
|
11719
|
+
left: number;
|
11720
|
+
top: number;
|
11721
|
+
force: boolean;
|
11722
|
+
}>;
|
11723
|
+
'update-window-options': IdentityCall<{
|
11724
|
+
options: OpenFin_2.UpdatableWindowOptions;
|
11725
|
+
}>;
|
11726
|
+
'window-authenticate': IdentityCall<{
|
11727
|
+
userName: string;
|
11728
|
+
password: string;
|
11729
|
+
}>;
|
11730
|
+
'show-popup-menu': {
|
11535
11731
|
request: OpenFin_2.Identity & {
|
11536
|
-
options: OpenFin_2.
|
11732
|
+
options: OpenFin_2.ShowPopupMenuOptions;
|
11537
11733
|
};
|
11538
|
-
response:
|
11734
|
+
response: OpenFin_2.MenuResult;
|
11539
11735
|
};
|
11736
|
+
'close-popup-menu': IdentityCall;
|
11737
|
+
'dispatch-popup-result': IdentityCall<{
|
11738
|
+
data: any;
|
11739
|
+
}>;
|
11540
11740
|
'print-screenshot': {
|
11541
11741
|
request: OpenFin_2.Identity;
|
11542
11742
|
response: void;
|
@@ -11547,6 +11747,229 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
11547
11747
|
};
|
11548
11748
|
response: void;
|
11549
11749
|
};
|
11750
|
+
'window-wrap': VoidCall;
|
11751
|
+
'window-wrap-sync': VoidCall;
|
11752
|
+
'create-window': VoidCall;
|
11753
|
+
'get-current-window': VoidCall;
|
11754
|
+
'get-current-window-sync': VoidCall;
|
11755
|
+
'get-external-application-info': ApiCall<OpenFin_2.ApplicationIdentity, OpenFin_2.ExternalApplicationInfo>;
|
11756
|
+
'external-application-wrap': VoidCall;
|
11757
|
+
'external-application-wrap-sync': VoidCall;
|
11758
|
+
'get-frame-info': ApiCall<OpenFin_2.Identity, OpenFin_2.FrameInfo>;
|
11759
|
+
'get-parent-window': ApiCall<OpenFin_2.Identity, OpenFin_2.FrameInfo>;
|
11760
|
+
'frame-wrap': VoidCall;
|
11761
|
+
'frame-wrap-sync': VoidCall;
|
11762
|
+
'frame-get-current': VoidCall;
|
11763
|
+
'frame-get-current-sync': VoidCall;
|
11764
|
+
'global-hotkey-register': {
|
11765
|
+
request: {
|
11766
|
+
hotkey: string;
|
11767
|
+
};
|
11768
|
+
response: void;
|
11769
|
+
};
|
11770
|
+
'global-hotkey-unregister': {
|
11771
|
+
request: {
|
11772
|
+
hotkey: string;
|
11773
|
+
};
|
11774
|
+
response: void;
|
11775
|
+
};
|
11776
|
+
'global-hotkey-unregister-all': {
|
11777
|
+
request: {};
|
11778
|
+
response: void;
|
11779
|
+
};
|
11780
|
+
'global-hotkey-is-registered': {
|
11781
|
+
request: {
|
11782
|
+
hotkey: string;
|
11783
|
+
};
|
11784
|
+
response: boolean;
|
11785
|
+
};
|
11786
|
+
'publish-message': {
|
11787
|
+
request: {
|
11788
|
+
topic: string;
|
11789
|
+
message: any;
|
11790
|
+
sourceWindowName: string;
|
11791
|
+
};
|
11792
|
+
response: void;
|
11793
|
+
};
|
11794
|
+
'send-message': {
|
11795
|
+
request: {
|
11796
|
+
destinationUuid: string;
|
11797
|
+
destinationWindowName: string | undefined;
|
11798
|
+
topic: string;
|
11799
|
+
message: any;
|
11800
|
+
sourceWindowName: string;
|
11801
|
+
};
|
11802
|
+
response: void;
|
11803
|
+
};
|
11804
|
+
'subscribe': {
|
11805
|
+
request: {
|
11806
|
+
sourceUuid: string;
|
11807
|
+
sourceWindowName: string;
|
11808
|
+
topic: string;
|
11809
|
+
destinationWindowName: string;
|
11810
|
+
messageKey?: any;
|
11811
|
+
};
|
11812
|
+
response: void;
|
11813
|
+
};
|
11814
|
+
'unsubscribe': {
|
11815
|
+
request: {
|
11816
|
+
sourceUuid: string;
|
11817
|
+
sourceWindowName: string;
|
11818
|
+
topic: string;
|
11819
|
+
destinationWindowName: string;
|
11820
|
+
};
|
11821
|
+
response: void;
|
11822
|
+
};
|
11823
|
+
'get-all-channels': GetterCall<OpenFin_2.ProviderIdentity[]>;
|
11824
|
+
'connect-to-channel': {
|
11825
|
+
request: any;
|
11826
|
+
response: OpenFin_2.RoutingInfo;
|
11827
|
+
};
|
11828
|
+
'create-channel': ApiCall<{
|
11829
|
+
channelName: string;
|
11830
|
+
}, OpenFin_2.ProviderIdentity>;
|
11831
|
+
'destroy-channel': ApiCall<{
|
11832
|
+
channelName: string;
|
11833
|
+
}, void>;
|
11834
|
+
'disconnect-from-channel': {
|
11835
|
+
request: {
|
11836
|
+
channelName: string;
|
11837
|
+
uuid: string;
|
11838
|
+
name: string;
|
11839
|
+
endpointId: string;
|
11840
|
+
};
|
11841
|
+
response: void;
|
11842
|
+
};
|
11843
|
+
'send-channel-message': {
|
11844
|
+
request: any;
|
11845
|
+
response: any;
|
11846
|
+
};
|
11847
|
+
'get-version': GetterCall<string>;
|
11848
|
+
'clear-cache': ApiCall<OpenFin_2.ClearCacheOption, void>;
|
11849
|
+
'delete-cache-request': VoidCall;
|
11850
|
+
'exit-desktop': VoidCall;
|
11851
|
+
'fetch-manifest': ApiCall<{
|
11852
|
+
manifestUrl: string;
|
11853
|
+
}, any>;
|
11854
|
+
'flush-cookie-store': VoidCall;
|
11855
|
+
'get-all-windows': GetterCall<OpenFin_2.ApplicationWindowInfo[]>;
|
11856
|
+
'get-all-applications': GetterCall<OpenFin_2.ApplicationState[]>;
|
11857
|
+
'get-command-line-arguments': GetterCall<string>;
|
11858
|
+
'get-crash-reporter-state': GetterCall<OpenFin_2.CrashReporterState>;
|
11859
|
+
'start-crash-reporter': {
|
11860
|
+
request: OpenFin_2.CrashReporterOptions | {
|
11861
|
+
diagnosticMode: boolean;
|
11862
|
+
};
|
11863
|
+
response: OpenFin_2.CrashReporterState;
|
11864
|
+
};
|
11865
|
+
'get-unique-user-id': GetterCall<string>;
|
11866
|
+
'get-entity-info': {
|
11867
|
+
request: {
|
11868
|
+
uuid: string;
|
11869
|
+
name: string;
|
11870
|
+
};
|
11871
|
+
response: OpenFin_2.EntityInfo;
|
11872
|
+
};
|
11873
|
+
'get-environment-variable': {
|
11874
|
+
request: {
|
11875
|
+
environmentVariables: string;
|
11876
|
+
};
|
11877
|
+
response: string;
|
11878
|
+
};
|
11879
|
+
'get-focused-window': GetterCall<OpenFin_2.Identity | null>;
|
11880
|
+
'is-app-certified': {
|
11881
|
+
request: {
|
11882
|
+
manifestUrl: string;
|
11883
|
+
};
|
11884
|
+
response: {
|
11885
|
+
action: string;
|
11886
|
+
certifiedInfo: OpenFin_2.CertifiedAppInfo;
|
11887
|
+
};
|
11888
|
+
};
|
11889
|
+
'get-installed-runtimes': GetterCall<{
|
11890
|
+
action: string;
|
11891
|
+
runtimes: string[];
|
11892
|
+
}>;
|
11893
|
+
'get-installed-apps': GetterCall<OpenFin_2.InstalledApps>;
|
11894
|
+
'view-log': ApiCall<OpenFin_2.GetLogRequestType, string>;
|
11895
|
+
'get-machine-id': GetterCall<string>;
|
11896
|
+
'get-min-log-level': GetterCall<OpenFin_2.LogLevel>;
|
11897
|
+
'list-logs': GetterCall<OpenFin_2.LogInfo[]>;
|
11898
|
+
'get-monitor-info': GetterCall<OpenFin_2.MonitorInfo>;
|
11899
|
+
'get-mouse-position': GetterCall<OpenFin_2.PointTopLeft>;
|
11900
|
+
'process-snapshot': GetterCall<Array<any>>;
|
11901
|
+
'get-all-process-info': ApiCall<OpenFin_2.ApplicationIdentity, OpenFin_2.SystemProcessInfo>;
|
11902
|
+
'get-proxy-settings': GetterCall<OpenFin_2.ProxyInfo>;
|
11903
|
+
'get-runtime-info': GetterCall<OpenFin_2.RuntimeInfo>;
|
11904
|
+
'get-rvm-info': GetterCall<OpenFin_2.RVMInfo>;
|
11905
|
+
'get-host-specs': GetterCall<OpenFin_2.HostSpecs>;
|
11906
|
+
'get-os-info': GetterCall<OpenFin_2.OSInfo>;
|
11907
|
+
'launch-external-process': ApiCall<OpenFin_2.ExternalProcessRequestType, OpenFin_2.Identity>;
|
11908
|
+
'monitor-external-process': ApiCall<OpenFin_2.ExternalProcessInfo, OpenFin_2.Identity>;
|
11909
|
+
'write-to-log': ApiCall<{
|
11910
|
+
level: string;
|
11911
|
+
message: string;
|
11912
|
+
}, void>;
|
11913
|
+
'open-url-with-browser': ApiCall<{
|
11914
|
+
url: string;
|
11915
|
+
}, void>;
|
11916
|
+
'register-custom-protocol': ApiCall<OpenFin_2.CustomProtocolOptions, void>;
|
11917
|
+
'unregister-custom-protocol': ApiCall<{
|
11918
|
+
protocolName: string;
|
11919
|
+
}, void>;
|
11920
|
+
'get-custom-protocol-state': ApiCall<{
|
11921
|
+
protocolName: string;
|
11922
|
+
}, OpenFin_2.CustomProtocolState>;
|
11923
|
+
'release-external-process': ApiCall<{
|
11924
|
+
uuid: string;
|
11925
|
+
}, void>;
|
11926
|
+
'show-developer-tools': ApiCall<OpenFin_2.Identity, void>;
|
11927
|
+
'terminate-external-process': ApiCall<OpenFin_2.TerminateExternalRequestType, void>;
|
11928
|
+
'update-proxy': ApiCall<OpenFin_2.ProxyConfig, void>;
|
11929
|
+
'download-asset': {
|
11930
|
+
request: OpenFin_2.AppAssetInfo & {
|
11931
|
+
downloadId: string;
|
11932
|
+
};
|
11933
|
+
response: void;
|
11934
|
+
};
|
11935
|
+
'download-runtime': {
|
11936
|
+
request: OpenFin_2.RuntimeDownloadOptions & {
|
11937
|
+
downloadId: string;
|
11938
|
+
};
|
11939
|
+
response: void;
|
11940
|
+
};
|
11941
|
+
'download-preload-scripts': ApiCall<{
|
11942
|
+
scripts: Array<OpenFin_2.DownloadPreloadOption>;
|
11943
|
+
}, Array<OpenFin_2.DownloadPreloadInfo>>;
|
11944
|
+
'get-all-external-applications': ApiCall<void, Array<OpenFin_2.Identity>>;
|
11945
|
+
'get-app-asset-info': ApiCall<OpenFin_2.AppAssetRequest, OpenFin_2.AppAssetInfo>;
|
11946
|
+
'get-cookies': {
|
11947
|
+
request: OpenFin_2.CookieOption & {
|
11948
|
+
url: string;
|
11949
|
+
};
|
11950
|
+
response: Array<OpenFin_2.CookieInfo>;
|
11951
|
+
};
|
11952
|
+
'set-min-log-level': ApiCall<{
|
11953
|
+
level: OpenFin_2.LogLevel;
|
11954
|
+
}, void>;
|
11955
|
+
'resolve-uuid': ApiCall<{
|
11956
|
+
entityKey: string;
|
11957
|
+
}, OpenFin_2.ApplicationType>;
|
11958
|
+
'read-registry-value': ApiCall<{
|
11959
|
+
rootKey: string;
|
11960
|
+
subkey: string;
|
11961
|
+
value: string;
|
11962
|
+
}, OpenFin_2.RegistryInfo>;
|
11963
|
+
'register-external-connection': ApiCall<{
|
11964
|
+
uuid: string;
|
11965
|
+
}, OpenFin_2.ExternalConnection>;
|
11966
|
+
'get-service-configuration': ApiCall<{
|
11967
|
+
name: string;
|
11968
|
+
}, OpenFin_2.ServiceConfiguration>;
|
11969
|
+
'get-system-app-configuration': ApiCall<{
|
11970
|
+
name: string;
|
11971
|
+
}, any>;
|
11972
|
+
'run-rvm-health-check': ApiCall<void, string[]>;
|
11550
11973
|
'launch-manifest': {
|
11551
11974
|
request: {
|
11552
11975
|
manifestUrl: string;
|
@@ -11558,17 +11981,12 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
11558
11981
|
manifest: OpenFin_2.Manifest;
|
11559
11982
|
};
|
11560
11983
|
};
|
11561
|
-
'
|
11984
|
+
'query-permission-for-current-context': {
|
11562
11985
|
request: {
|
11563
|
-
|
11564
|
-
|
11565
|
-
response: any;
|
11566
|
-
};
|
11567
|
-
'show-popup-menu': {
|
11568
|
-
request: OpenFin_2.Identity & {
|
11569
|
-
options: OpenFin_2.ShowPopupMenuOptions;
|
11986
|
+
apiName: string;
|
11987
|
+
identity: OpenFin_2.Identity;
|
11570
11988
|
};
|
11571
|
-
response: OpenFin_2.
|
11989
|
+
response: OpenFin_2.QueryPermissionResult;
|
11572
11990
|
};
|
11573
11991
|
'enable-native-window-integration-provider': {
|
11574
11992
|
request: {
|
@@ -11576,24 +11994,34 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
11576
11994
|
};
|
11577
11995
|
response: OpenFin_2.NativeWindowIntegrationProviderAuthorization;
|
11578
11996
|
};
|
11997
|
+
'register-usage': ApiCall<OpenFin_2.RegisterUsageData, void>;
|
11998
|
+
'system-get-printers': GetterCall<OpenFin_2.PrinterInfo[]>;
|
11999
|
+
'system-update-process-logging-options': ApiCall<{
|
12000
|
+
options: OpenFin_2.ProcessLoggingOptions;
|
12001
|
+
}, void>;
|
12002
|
+
'get-domain-settings': ApiCall<OpenFin_2.ApplicationIdentity, OpenFin_2.DefaultDomainSettings>;
|
12003
|
+
'set-domain-settings': ApiCall<OpenFin_2.ApplicationIdentity & {
|
12004
|
+
domainSettings: OpenFin_2.DefaultDomainSettings;
|
12005
|
+
}, void>;
|
12006
|
+
'system-register-shutdown-handler': VoidCall;
|
11579
12007
|
'get-permissions': GetterCall<any>;
|
11580
|
-
'get-all-channels': GetterCall<OpenFin_2.ProviderIdentity[]>;
|
11581
|
-
'set-file-download-location': {
|
11582
|
-
request: OpenFin_2.Identity & {
|
11583
|
-
downloadLocation: string;
|
11584
|
-
};
|
11585
|
-
response: void;
|
11586
|
-
};
|
11587
|
-
'get-file-download-location': {
|
11588
|
-
request: OpenFin_2.ApplicationIdentity;
|
11589
|
-
response: string;
|
11590
|
-
};
|
11591
|
-
'close-popup-menu': IdentityCall;
|
11592
12008
|
'fdc3-add-context-listener': VoidCall;
|
12009
|
+
'fdc3-add-intent-listener': VoidCall;
|
12010
|
+
'fdc3-raise-intent': VoidCall;
|
12011
|
+
'fdc3-find-intent': VoidCall;
|
12012
|
+
'fdc3-find-intents-by-context': VoidCall;
|
12013
|
+
'fdc3-raise-intent-for-context': VoidCall;
|
12014
|
+
'fdc3-get-info': VoidCall;
|
12015
|
+
'fdc3-find-instances': VoidCall;
|
12016
|
+
'fdc3-get-app-metadata': VoidCall;
|
11593
12017
|
'fdc3-broadcast': VoidCall;
|
12018
|
+
'fdc3-open': VoidCall;
|
12019
|
+
'fdc3-get-or-create-channel': VoidCall;
|
11594
12020
|
'fdc3-get-system-channels': VoidCall;
|
11595
12021
|
'fdc3-join-channel': VoidCall;
|
12022
|
+
'fdc3-get-current-channel': VoidCall;
|
11596
12023
|
'fdc3-leave-current-channel': VoidCall;
|
12024
|
+
'interop-init': VoidCall;
|
11597
12025
|
'interop-connect-sync': VoidCall;
|
11598
12026
|
'interop-client-set-context': VoidCall;
|
11599
12027
|
'interop-client-add-context-handler': VoidCall;
|
@@ -11602,6 +12030,13 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
11602
12030
|
'interop-client-remove-from-context-group': VoidCall;
|
11603
12031
|
'interop-client-get-all-clients-in-context-group': VoidCall;
|
11604
12032
|
'interop-client-get-info-for-context-group': VoidCall;
|
12033
|
+
'interop-client-fire-intent': VoidCall;
|
12034
|
+
'interop-client-register-intent-handler': VoidCall;
|
12035
|
+
'interop-client-get-current-context': VoidCall;
|
12036
|
+
'interop-client-get-info-for-intent': VoidCall;
|
12037
|
+
'interop-client-get-info-for-intents-by-context': VoidCall;
|
12038
|
+
'interop-client-fire-intent-for-context': VoidCall;
|
12039
|
+
'interop-client-add-ondisconnection-listener': VoidCall;
|
11605
12040
|
'interop-broker-add-client-to-context-group': VoidCall;
|
11606
12041
|
'interop-broker-get-all-clients-in-context-group': VoidCall;
|
11607
12042
|
'interop-broker-get-context-groups': VoidCall;
|
@@ -11613,13 +12048,100 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
11613
12048
|
'interop-broker-remove-from-context-group': VoidCall;
|
11614
12049
|
'interop-broker-set-context': VoidCall;
|
11615
12050
|
'interop-broker-set-context-for-group': VoidCall;
|
11616
|
-
'
|
11617
|
-
|
11618
|
-
|
11619
|
-
|
11620
|
-
|
11621
|
-
|
11622
|
-
|
12051
|
+
'interop-broker-get-current-context': VoidCall;
|
12052
|
+
'interop-broker-set-intent-target': VoidCall;
|
12053
|
+
'interop-session-context-group-set-context': VoidCall;
|
12054
|
+
'interop-session-context-group-get-context': VoidCall;
|
12055
|
+
'interop-session-context-group-add-handler': VoidCall;
|
12056
|
+
'platform-wrap': VoidCall;
|
12057
|
+
'platform-wrap-sync': VoidCall;
|
12058
|
+
'platform-get-current': VoidCall;
|
12059
|
+
'platform-get-current-sync': VoidCall;
|
12060
|
+
'platform-start': VoidCall;
|
12061
|
+
'platform-start-from-manifest': VoidCall;
|
12062
|
+
'platform-get-client': ApplicationIdentityCall<{}, void>;
|
12063
|
+
'platform-create-view': ApplicationIdentityCall<{}, void>;
|
12064
|
+
'platform-create-window': ApplicationIdentityCall<{}, void>;
|
12065
|
+
'platform-quit': ApplicationIdentityCall<{}, void>;
|
12066
|
+
'platform-close-view': ApplicationIdentityCall<{}, void>;
|
12067
|
+
'platform-reparent-view': ApplicationIdentityCall<{}, void>;
|
12068
|
+
'platform-get-snapshot': ApplicationIdentityCall<{}, void>;
|
12069
|
+
'platform-apply-snapshot': ApplicationIdentityCall<{}, void>;
|
12070
|
+
'platform-launch-content-manifest': ApplicationIdentityCall<{}, void>;
|
12071
|
+
'platform-set-window-context': ApplicationIdentityCall<{}, void>;
|
12072
|
+
'platform-get-window-context': ApplicationIdentityCall<{}, void>;
|
12073
|
+
'platform-close-window': ApplicationIdentityCall<{}, void>;
|
12074
|
+
'layout-wrap': VoidCall;
|
12075
|
+
'layout-wrap-sync': VoidCall;
|
12076
|
+
'layout-get-current': VoidCall;
|
12077
|
+
'layout-get-current-sync': VoidCall;
|
12078
|
+
'layout-init': VoidCall;
|
12079
|
+
'layout-get-config': VoidCall;
|
12080
|
+
'layout-get-views': VoidCall;
|
12081
|
+
'layout-replace': VoidCall;
|
12082
|
+
'layout-get-root-item': VoidCall;
|
12083
|
+
'layout-replace-view': VoidCall;
|
12084
|
+
'layout-apply-preset': VoidCall;
|
12085
|
+
'layout-controller-get-root': VoidCall;
|
12086
|
+
'layout-controller-get-stack-by-view': VoidCall;
|
12087
|
+
'layout-controller-get-stack-views': VoidCall;
|
12088
|
+
'layout-controller-get-content': VoidCall;
|
12089
|
+
'layout-controller-get-parent': VoidCall;
|
12090
|
+
'layout-controller-is-root': VoidCall;
|
12091
|
+
'layout-controller-exists': VoidCall;
|
12092
|
+
'layout-controller-add-view-to-stack': VoidCall;
|
12093
|
+
'layout-controller-remove-view-from-stack': VoidCall;
|
12094
|
+
'layout-controller-create-adjacent-stack': VoidCall;
|
12095
|
+
'layout-controller-get-adjacent-stacks': VoidCall;
|
12096
|
+
'layout-controller-set-stack-active-view': VoidCall;
|
12097
|
+
'snapshot-source-init': VoidCall;
|
12098
|
+
'snapshot-source-wrap-sync': VoidCall;
|
12099
|
+
'snapshot-source-wrap': VoidCall;
|
12100
|
+
'snapshot-source-ready': VoidCall;
|
12101
|
+
'snapshot-source-get-snapshot': VoidCall;
|
12102
|
+
'snapshot-source-apply-snapshot': VoidCall;
|
12103
|
+
'capture-page': IdentityCall<{
|
12104
|
+
options?: OpenFin_2.CapturePageOptions;
|
12105
|
+
}, string>;
|
12106
|
+
'execute-javascript-in-window': IdentityCall<{
|
12107
|
+
code: string;
|
12108
|
+
}, unknown>;
|
12109
|
+
'get-zoom-level': IdentityCall<{}, number>;
|
12110
|
+
'set-zoom-level': IdentityCall<{
|
12111
|
+
level: number;
|
12112
|
+
}, void>;
|
12113
|
+
'navigate-window': IdentityCall<{
|
12114
|
+
url: string;
|
12115
|
+
}, void>;
|
12116
|
+
'navigate-window-back': IdentityCall<{}, void>;
|
12117
|
+
'navigate-window-forward': IdentityCall<{}, void>;
|
12118
|
+
'stop-window-navigation': IdentityCall<{}, void>;
|
12119
|
+
'reload-window': IdentityCall<{
|
12120
|
+
ignoreCache: boolean;
|
12121
|
+
}, void>;
|
12122
|
+
'print': IdentityCall<{
|
12123
|
+
options: OpenFin_2.PrintOptions;
|
12124
|
+
}, void>;
|
12125
|
+
'find-in-page': IdentityCall<{
|
12126
|
+
searchTerm: string;
|
12127
|
+
options?: OpenFin_2.FindInPageOptions;
|
12128
|
+
}, void>;
|
12129
|
+
'stop-find-in-page': IdentityCall<{
|
12130
|
+
action: 'clearSelection' | 'keepSelection' | 'activateSelection';
|
12131
|
+
}, void>;
|
12132
|
+
'get-printers': IdentityCall<{}, OpenFin_2.PrinterInfo>;
|
12133
|
+
'focus-window': IdentityCall<{
|
12134
|
+
emitSynthFocused: boolean;
|
12135
|
+
}, void>;
|
12136
|
+
'get-process-info': IdentityCall<{}, OpenFin_2.EntityProcessDetails>;
|
12137
|
+
'get-shared-workers': IdentityCall<{}, OpenFin_2.SharedWorkerInfo[]>;
|
12138
|
+
'inspect-shared-worker': IdentityCall<{}, void>;
|
12139
|
+
'inspect-shared-worker-by-id': IdentityCall<{
|
12140
|
+
workerId: string;
|
12141
|
+
}, void>;
|
12142
|
+
'inspect-service-worker': IdentityCall<{}, void>;
|
12143
|
+
'view-show-popup-window': IdentityCall<{}, void>;
|
12144
|
+
'window-show-popup-window': IdentityCall<{}, void>;
|
11623
12145
|
'try-create-popup-window': {
|
11624
12146
|
request: OpenFin_2.Identity & {
|
11625
12147
|
options: OpenFin_2.PopupOptions;
|
@@ -11635,9 +12157,6 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
11635
12157
|
};
|
11636
12158
|
response: OpenFin_2.PopupResult;
|
11637
12159
|
};
|
11638
|
-
'dispatch-popup-result': IdentityCall<{
|
11639
|
-
data: any;
|
11640
|
-
}>;
|
11641
12160
|
'render-overlay': {
|
11642
12161
|
request: {
|
11643
12162
|
bounds: OpenFin_2.Bounds;
|
@@ -11657,40 +12176,6 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
11657
12176
|
};
|
11658
12177
|
response: void;
|
11659
12178
|
};
|
11660
|
-
'get-host-specs': GetterCall<OpenFin_2.HostSpecs>;
|
11661
|
-
'get-os-info': GetterCall<OpenFin_2.OSInfo>;
|
11662
|
-
'system-get-printers': GetterCall<OpenFin_2.PrinterInfo[]>;
|
11663
|
-
'system-register-shutdown-handler': VoidCall;
|
11664
|
-
'get-domain-settings': ApiCall<OpenFin_2.ApplicationIdentity, OpenFin_2.DefaultDomainSettings>;
|
11665
|
-
'set-domain-settings': ApiCall<OpenFin_2.ApplicationIdentity & {
|
11666
|
-
domainSettings: OpenFin_2.DefaultDomainSettings;
|
11667
|
-
}, void>;
|
11668
|
-
'move-window-by': IdentityCall<WithPositioningOptions<{
|
11669
|
-
deltaLeft: number;
|
11670
|
-
deltaTop: number;
|
11671
|
-
}>>;
|
11672
|
-
'move-window': IdentityCall<WithPositioningOptions<{
|
11673
|
-
left: number;
|
11674
|
-
top: number;
|
11675
|
-
}>>;
|
11676
|
-
'resize-window-by': IdentityCall<WithPositioningOptions<{
|
11677
|
-
deltaWidth: number;
|
11678
|
-
deltaHeight: number;
|
11679
|
-
anchor: OpenFin_2.AnchorType;
|
11680
|
-
}>>;
|
11681
|
-
'resize-window': IdentityCall<WithPositioningOptions<{
|
11682
|
-
width: number;
|
11683
|
-
height: number;
|
11684
|
-
anchor: OpenFin_2.AnchorType;
|
11685
|
-
}>>;
|
11686
|
-
'set-window-bounds': IdentityCall<WithPositioningOptions<Partial<OpenFin_2.Bounds>>>;
|
11687
|
-
'register-custom-protocol': ApiCall<OpenFin_2.CustomProtocolOptions, void>;
|
11688
|
-
'unregister-custom-protocol': ApiCall<{
|
11689
|
-
protocolName: string;
|
11690
|
-
}, void>;
|
11691
|
-
'get-custom-protocol-state': ApiCall<{
|
11692
|
-
protocolName: string;
|
11693
|
-
}, OpenFin_2.CustomProtocolState>;
|
11694
12179
|
}
|
11695
12180
|
|
11696
12181
|
declare interface ProtocolMapBase {
|
@@ -11720,7 +12205,7 @@ declare type ProviderIdentity_3 = OpenFin_2.ProviderIdentity;
|
|
11720
12205
|
* Identity of a channel provider.
|
11721
12206
|
* @interface
|
11722
12207
|
*/
|
11723
|
-
declare type ProviderIdentity_4 =
|
12208
|
+
declare type ProviderIdentity_4 = Identity_4 & {
|
11724
12209
|
/**
|
11725
12210
|
* Identifier of the channel.
|
11726
12211
|
*/
|
@@ -11731,12 +12216,10 @@ declare type ProviderIdentity_4 = Identity_5 & {
|
|
11731
12216
|
channelName: string;
|
11732
12217
|
};
|
11733
12218
|
|
11734
|
-
declare type ProxyConfig = OpenFin_2.ProxyConfig;
|
11735
|
-
|
11736
12219
|
/**
|
11737
12220
|
* @interface
|
11738
12221
|
*/
|
11739
|
-
declare type
|
12222
|
+
declare type ProxyConfig = {
|
11740
12223
|
/**
|
11741
12224
|
* The configured proxy address.
|
11742
12225
|
*/
|
@@ -11748,13 +12231,11 @@ declare type ProxyConfig_2 = {
|
|
11748
12231
|
type: string;
|
11749
12232
|
};
|
11750
12233
|
|
11751
|
-
declare type ProxyInfo = OpenFin_2.ProxyInfo;
|
11752
|
-
|
11753
12234
|
/**
|
11754
12235
|
* @interface
|
11755
12236
|
*/
|
11756
|
-
declare type
|
11757
|
-
config:
|
12237
|
+
declare type ProxyInfo = {
|
12238
|
+
config: ProxyConfig;
|
11758
12239
|
system: ProxySystemInfo;
|
11759
12240
|
};
|
11760
12241
|
|
@@ -11860,12 +12341,10 @@ declare type RegisterUsageData = {
|
|
11860
12341
|
type: string;
|
11861
12342
|
};
|
11862
12343
|
|
11863
|
-
declare type RegistryInfo = OpenFin_2.RegistryInfo;
|
11864
|
-
|
11865
12344
|
/**
|
11866
12345
|
* @interface
|
11867
12346
|
*/
|
11868
|
-
declare type
|
12347
|
+
declare type RegistryInfo = {
|
11869
12348
|
data: any;
|
11870
12349
|
rootKey: string;
|
11871
12350
|
subkey: string;
|
@@ -11886,6 +12365,15 @@ declare interface RemoteConfig extends ExistingConnectConfig {
|
|
11886
12365
|
token: string;
|
11887
12366
|
}
|
11888
12367
|
|
12368
|
+
/**
|
12369
|
+
* Generated when a View is removed from a layout.
|
12370
|
+
* @interface
|
12371
|
+
*/
|
12372
|
+
declare type RemovedFromLayoutEvent = BaseEvent_4 & {
|
12373
|
+
type: 'removed-from-layout';
|
12374
|
+
layoutIdentity: OpenFin_2.LayoutIdentity;
|
12375
|
+
};
|
12376
|
+
|
11889
12377
|
/**
|
11890
12378
|
* @interface
|
11891
12379
|
*/
|
@@ -11914,14 +12402,14 @@ declare type ReplaceLayoutPayload = {
|
|
11914
12402
|
/**
|
11915
12403
|
* Identity of the window whose layout will be replaced.
|
11916
12404
|
*/
|
11917
|
-
target:
|
12405
|
+
target: Identity_4 | LayoutIdentity;
|
11918
12406
|
};
|
11919
12407
|
|
11920
12408
|
/**
|
11921
12409
|
* @interface
|
11922
12410
|
*/
|
11923
12411
|
declare type ReplaceViewOptions = {
|
11924
|
-
viewToReplace:
|
12412
|
+
viewToReplace: Identity_4;
|
11925
12413
|
newView: ViewState;
|
11926
12414
|
};
|
11927
12415
|
|
@@ -11930,7 +12418,7 @@ declare type ReplaceViewOptions = {
|
|
11930
12418
|
*/
|
11931
12419
|
declare type ReplaceViewPayload = {
|
11932
12420
|
opts: {
|
11933
|
-
viewToReplace:
|
12421
|
+
viewToReplace: Identity_4;
|
11934
12422
|
newView: Partial<ViewOptions>;
|
11935
12423
|
};
|
11936
12424
|
target: LayoutIdentity;
|
@@ -12296,7 +12784,7 @@ declare type SetWindowContextPayload = {
|
|
12296
12784
|
/**
|
12297
12785
|
* Identity of the entity targeted by the call to {@link Platform#setWindowContext Platform.setWindowContext}.
|
12298
12786
|
*/
|
12299
|
-
target:
|
12787
|
+
target: Identity_4;
|
12300
12788
|
};
|
12301
12789
|
|
12302
12790
|
/**
|
@@ -12740,7 +13228,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
12740
13228
|
* fin.System.getAllWindows().then(wins => console.log(wins)).catch(err => console.log(err));
|
12741
13229
|
* ```
|
12742
13230
|
*/
|
12743
|
-
getAllWindows(): Promise<Array<ApplicationWindowInfo>>;
|
13231
|
+
getAllWindows(): Promise<Array<OpenFin_2.ApplicationWindowInfo>>;
|
12744
13232
|
/**
|
12745
13233
|
* Retrieves an array of data for all applications.
|
12746
13234
|
*
|
@@ -12749,7 +13237,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
12749
13237
|
* fin.System.getAllApplications().then(apps => console.log(apps)).catch(err => console.log(err));
|
12750
13238
|
* ```
|
12751
13239
|
*/
|
12752
|
-
getAllApplications(): Promise<Array<ApplicationState>>;
|
13240
|
+
getAllApplications(): Promise<Array<OpenFin_2.ApplicationState>>;
|
12753
13241
|
/**
|
12754
13242
|
* Retrieves the command line argument string that started OpenFin Runtime.
|
12755
13243
|
*
|
@@ -12824,7 +13312,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
12824
13312
|
* }
|
12825
13313
|
* ```
|
12826
13314
|
*/
|
12827
|
-
getEntityInfo(uuid: string, name: string): Promise<EntityInfo>;
|
13315
|
+
getEntityInfo(uuid: string, name: string): Promise<OpenFin_2.EntityInfo>;
|
12828
13316
|
/**
|
12829
13317
|
* Gets the value of a given environment variable on the computer on which the runtime is installed
|
12830
13318
|
*
|
@@ -12866,7 +13354,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
12866
13354
|
* ```
|
12867
13355
|
*/
|
12868
13356
|
getInstalledRuntimes(): Promise<string[]>;
|
12869
|
-
getInstalledApps(): Promise<InstalledApps>;
|
13357
|
+
getInstalledApps(): Promise<OpenFin_2.InstalledApps>;
|
12870
13358
|
/**
|
12871
13359
|
* Retrieves the contents of the log with the specified filename.
|
12872
13360
|
* @param options A object that id defined by the GetLogRequestType interface
|
@@ -12881,7 +13369,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
12881
13369
|
* getLog().then(log => console.log(log)).catch(err => console.log(err));
|
12882
13370
|
* ```
|
12883
13371
|
*/
|
12884
|
-
getLog(options: GetLogRequestType): Promise<string>;
|
13372
|
+
getLog(options: OpenFin_2.GetLogRequestType): Promise<string>;
|
12885
13373
|
/**
|
12886
13374
|
* Returns a unique identifier (UUID) provided by the machine.
|
12887
13375
|
*
|
@@ -12899,7 +13387,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
12899
13387
|
* fin.System.getMinLogLevel().then(level => console.log(level)).catch(err => console.log(err));
|
12900
13388
|
* ```
|
12901
13389
|
*/
|
12902
|
-
getMinLogLevel(): Promise<LogLevel>;
|
13390
|
+
getMinLogLevel(): Promise<OpenFin_2.LogLevel>;
|
12903
13391
|
/**
|
12904
13392
|
* Retrieves an array containing information for each log file.
|
12905
13393
|
*
|
@@ -12908,7 +13396,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
12908
13396
|
* fin.System.getLogList().then(logList => console.log(logList)).catch(err => console.log(err));
|
12909
13397
|
* ```
|
12910
13398
|
*/
|
12911
|
-
getLogList(): Promise<Array<LogInfo>>;
|
13399
|
+
getLogList(): Promise<Array<OpenFin_2.LogInfo>>;
|
12912
13400
|
/**
|
12913
13401
|
* Retrieves an object that contains data about the monitor setup of the
|
12914
13402
|
* computer that the runtime is running on.
|
@@ -12979,7 +13467,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
12979
13467
|
* }
|
12980
13468
|
* ```
|
12981
13469
|
*/
|
12982
|
-
getProxySettings(): Promise<ProxyInfo>;
|
13470
|
+
getProxySettings(): Promise<OpenFin_2.ProxyInfo>;
|
12983
13471
|
/**
|
12984
13472
|
* Returns information about the running Runtime in an object.
|
12985
13473
|
*
|
@@ -13346,7 +13834,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
13346
13834
|
* }
|
13347
13835
|
* ```
|
13348
13836
|
*/
|
13349
|
-
launchExternalProcess(options: OpenFin_2.ExternalProcessRequestType): Promise<
|
13837
|
+
launchExternalProcess(options: OpenFin_2.ExternalProcessRequestType): Promise<Identity>;
|
13350
13838
|
/**
|
13351
13839
|
* Monitors a running process. A pid for the process must be included in options.
|
13352
13840
|
* <br> A uuid may be optionally provided. If not provided, OpenFin will create a uuid for the new process.
|
@@ -13363,7 +13851,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
13363
13851
|
* }).then(processIdentity => console.log(processIdentity)).catch(err => console.log(err));
|
13364
13852
|
* ```
|
13365
13853
|
*/
|
13366
|
-
monitorExternalProcess(options: OpenFin_2.ExternalProcessInfo): Promise<
|
13854
|
+
monitorExternalProcess(options: OpenFin_2.ExternalProcessInfo): Promise<Identity>;
|
13367
13855
|
/**
|
13368
13856
|
* Writes the passed message into both the log file and the console.
|
13369
13857
|
* @param level The log level for the entry. Can be either "info", "warning" or "error"
|
@@ -13497,7 +13985,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
13497
13985
|
*
|
13498
13986
|
* @tutorial System.showDeveloperTools
|
13499
13987
|
*/
|
13500
|
-
showDeveloperTools(identity:
|
13988
|
+
showDeveloperTools(identity: Identity): Promise<void>;
|
13501
13989
|
/**
|
13502
13990
|
* Attempt to close an external process. The process will be terminated if it
|
13503
13991
|
* has not closed after the elapsed timeout in milliseconds.
|
@@ -13531,7 +14019,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
13531
14019
|
* .catch(err => console.error(err));
|
13532
14020
|
* ```
|
13533
14021
|
*/
|
13534
|
-
updateProxySettings(options: ProxyConfig): Promise<void>;
|
14022
|
+
updateProxySettings(options: OpenFin_2.ProxyConfig): Promise<void>;
|
13535
14023
|
/**
|
13536
14024
|
* Downloads the given application asset.
|
13537
14025
|
*
|
@@ -13623,7 +14111,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
13623
14111
|
* .catch(err => console.log(err));
|
13624
14112
|
* ```
|
13625
14113
|
*/
|
13626
|
-
getAllExternalApplications(): Promise<Array<
|
14114
|
+
getAllExternalApplications(): Promise<Array<Identity>>;
|
13627
14115
|
/**
|
13628
14116
|
* Retrieves app asset information.
|
13629
14117
|
* @param options
|
@@ -13652,7 +14140,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
13652
14140
|
* fin.System.setMinLogLevel("verbose").then(() => console.log("log level is set to verbose")).catch(err => console.log(err));
|
13653
14141
|
* ```
|
13654
14142
|
*/
|
13655
|
-
setMinLogLevel(level: LogLevel): Promise<void>;
|
14143
|
+
setMinLogLevel(level: OpenFin_2.LogLevel): Promise<void>;
|
13656
14144
|
/**
|
13657
14145
|
* Retrieves the UUID of the computer on which the runtime is installed
|
13658
14146
|
* @param uuid The uuid of the running application
|
@@ -13662,7 +14150,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
13662
14150
|
* fin.System.resolveUuid('OpenfinPOC').then(entity => console.log(entity)).catch(err => console.log(err));
|
13663
14151
|
* ```
|
13664
14152
|
*/
|
13665
|
-
resolveUuid(uuid: string): Promise<
|
14153
|
+
resolveUuid(uuid: string): Promise<OpenFin_2.ApplicationType>;
|
13666
14154
|
/**
|
13667
14155
|
* Retrieves an array of data for all external applications
|
13668
14156
|
* @param requestingIdentity This object is described in the Identity typedef
|
@@ -13670,7 +14158,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
13670
14158
|
*
|
13671
14159
|
* @ignore
|
13672
14160
|
*/
|
13673
|
-
executeOnRemote(requestingIdentity:
|
14161
|
+
executeOnRemote(requestingIdentity: Identity, data: any): Promise<any>;
|
13674
14162
|
/**
|
13675
14163
|
* Reads the specifed value from the registry.
|
13676
14164
|
* @remarks This method is restricted by default and must be enabled via
|
@@ -13763,7 +14251,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
13763
14251
|
* }
|
13764
14252
|
* ```
|
13765
14253
|
*/
|
13766
|
-
readRegistryValue(rootKey: string, subkey: string, value: string): Promise<RegistryInfo>;
|
14254
|
+
readRegistryValue(rootKey: string, subkey: string, value: string): Promise<OpenFin_2.RegistryInfo>;
|
13767
14255
|
/**
|
13768
14256
|
* This function call will register a unique id and produce a token.
|
13769
14257
|
* The token can be used to broker an external connection.
|
@@ -13978,7 +14466,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
13978
14466
|
* });
|
13979
14467
|
* ```
|
13980
14468
|
*/
|
13981
|
-
getPrinters(): Promise<PrinterInfo[]>;
|
14469
|
+
getPrinters(): Promise<OpenFin_2.PrinterInfo[]>;
|
13982
14470
|
/**
|
13983
14471
|
* Updates Process Logging values: periodic interval and outlier detection entries and interval.
|
13984
14472
|
* @param options Process Logging updatable options.
|
@@ -14597,14 +15085,11 @@ declare type UrlChangedEvent = BaseUrlEvent & ({
|
|
14597
15085
|
declare type UserAppConfigArgs = Record<string, string | string[]>;
|
14598
15086
|
|
14599
15087
|
/**
|
14600
|
-
*
|
15088
|
+
* An event that fires when a window's bounds are changed directly by the user.
|
15089
|
+
*
|
14601
15090
|
* @interface
|
14602
15091
|
*/
|
14603
|
-
declare type UserBoundsChangeEvent =
|
14604
|
-
height: number;
|
14605
|
-
left: number;
|
14606
|
-
top: number;
|
14607
|
-
width: number;
|
15092
|
+
declare type UserBoundsChangeEvent = BoundsEvent & {
|
14608
15093
|
windowState: 'minimized' | 'normal' | 'maximized';
|
14609
15094
|
};
|
14610
15095
|
|
@@ -15107,7 +15592,7 @@ declare type ViewContentCreationRule = BaseContentCreationRule & {
|
|
15107
15592
|
declare type ViewCreationOptions = Partial<ViewOptions> & {
|
15108
15593
|
name: string;
|
15109
15594
|
url: string;
|
15110
|
-
target:
|
15595
|
+
target: Identity_4;
|
15111
15596
|
};
|
15112
15597
|
|
15113
15598
|
declare type ViewCreationOrReference = OpenFin_2.Identity | OpenFin_2.PlatformViewCreationOptions;
|
@@ -15136,6 +15621,8 @@ declare namespace ViewEvents {
|
|
15136
15621
|
BaseEvent_4 as BaseEvent,
|
15137
15622
|
BaseViewEvent,
|
15138
15623
|
TargetChangedEvent,
|
15624
|
+
AddedToLayoutEvent,
|
15625
|
+
RemovedFromLayoutEvent,
|
15139
15626
|
NonPropagatedViewEvent,
|
15140
15627
|
CreatedEvent,
|
15141
15628
|
DestroyedEvent,
|
@@ -15291,15 +15778,15 @@ declare interface ViewsPreventingUnloadPayload {
|
|
15291
15778
|
/**
|
15292
15779
|
* Identity of the Window.
|
15293
15780
|
*/
|
15294
|
-
windowId:
|
15781
|
+
windowId: Identity_4;
|
15295
15782
|
/**
|
15296
15783
|
* Identities of the Views that are preventing an unload
|
15297
15784
|
*/
|
15298
|
-
viewsPreventingUnload:
|
15785
|
+
viewsPreventingUnload: Identity_4[];
|
15299
15786
|
/**
|
15300
15787
|
* Identities of the Views that are not preventing an unload
|
15301
15788
|
*/
|
15302
|
-
viewsNotPreventingUnload:
|
15789
|
+
viewsNotPreventingUnload: Identity_4[];
|
15303
15790
|
/**
|
15304
15791
|
* Source of the close action.
|
15305
15792
|
*/
|
@@ -15324,11 +15811,11 @@ declare interface ViewStatuses {
|
|
15324
15811
|
/**
|
15325
15812
|
* Identities of the Views that are preventing an unload.
|
15326
15813
|
*/
|
15327
|
-
viewsPreventingUnload:
|
15814
|
+
viewsPreventingUnload: Identity_4[];
|
15328
15815
|
/**
|
15329
15816
|
* Identities of the Views that are not preventing an unload.
|
15330
15817
|
*/
|
15331
|
-
viewsNotPreventingUnload:
|
15818
|
+
viewsNotPreventingUnload: Identity_4[];
|
15332
15819
|
}
|
15333
15820
|
|
15334
15821
|
/**
|
@@ -15833,7 +16320,7 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
|
|
15833
16320
|
* We do not expose an explicit superclass for this functionality, but it does have its own
|
15834
16321
|
* {@link OpenFin.WebContentsEvents event namespace}.
|
15835
16322
|
*/
|
15836
|
-
stopFindInPage(action:
|
16323
|
+
stopFindInPage(action: 'clearSelection' | 'keepSelection' | 'activateSelection'): Promise<void>;
|
15837
16324
|
/**
|
15838
16325
|
* Returns an array with all system printers
|
15839
16326
|
* @deprecated use System.getPrinters instead
|
@@ -16426,11 +16913,7 @@ declare type WillMoveEvent = WillMoveOrResizeEvent & {
|
|
16426
16913
|
* A general will-move or will-resize event without event type.
|
16427
16914
|
* @interface
|
16428
16915
|
*/
|
16429
|
-
declare type WillMoveOrResizeEvent =
|
16430
|
-
height: number;
|
16431
|
-
left: number;
|
16432
|
-
top: number;
|
16433
|
-
width: number;
|
16916
|
+
declare type WillMoveOrResizeEvent = BoundsEvent & {
|
16434
16917
|
monitorScaleFactor: number;
|
16435
16918
|
};
|
16436
16919
|
|
@@ -17622,16 +18105,21 @@ declare namespace WindowEvents {
|
|
17622
18105
|
PreloadScriptInfoRunning,
|
17623
18106
|
PreloadScriptInfo,
|
17624
18107
|
PreloadScriptsStateChangeEvent,
|
17625
|
-
|
18108
|
+
BoundsEvent,
|
17626
18109
|
BoundsChangeEvent,
|
17627
18110
|
WillMoveOrResizeEvent,
|
18111
|
+
BoundsDidChangeEvent,
|
18112
|
+
BoundsChangedEvent,
|
18113
|
+
BoundsChangingEvent,
|
18114
|
+
DisabledMovementBoundsChangedEvent,
|
18115
|
+
DisabledMovementBoundsChangingEvent,
|
18116
|
+
UserBoundsChangeEvent,
|
18117
|
+
BeginUserBoundsChangingEvent,
|
18118
|
+
EndUserBoundsChangingEvent,
|
17628
18119
|
PerformanceReportEvent,
|
17629
18120
|
InputEvent_2 as InputEvent,
|
17630
18121
|
LayoutInitializedEvent,
|
17631
18122
|
LayoutReadyEvent,
|
17632
|
-
BeginUserBoundsChangingEvent,
|
17633
|
-
BoundsChangedEvent,
|
17634
|
-
BoundsChangingEvent,
|
17635
18123
|
CloseRequestedEvent,
|
17636
18124
|
WindowCloseRequestedEvent,
|
17637
18125
|
ContextChangedEvent,
|
@@ -17639,10 +18127,7 @@ declare namespace WindowEvents {
|
|
17639
18127
|
WindowClosedEvent,
|
17640
18128
|
ClosingEvent,
|
17641
18129
|
WindowClosingEvent,
|
17642
|
-
DisabledMovementBoundsChangedEvent,
|
17643
|
-
DisabledMovementBoundsChangingEvent,
|
17644
18130
|
EmbeddedEvent,
|
17645
|
-
EndUserBoundsChangingEvent,
|
17646
18131
|
HotkeyEvent_2 as HotkeyEvent,
|
17647
18132
|
WindowHotkeyEvent,
|
17648
18133
|
InitializedEvent_2 as InitializedEvent,
|