@openfin/fdc3-api 39.83.2 → 39.83.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/out/fdc3-api-alpha.d.ts +711 -220
- package/out/fdc3-api-beta.d.ts +711 -220
- package/out/fdc3-api-public.d.ts +711 -220
- package/out/fdc3-api.d.ts +714 -220
- package/out/fdc3-api.js +39 -7
- package/package.json +1 -1
package/out/fdc3-api-beta.d.ts
CHANGED
|
@@ -42,6 +42,15 @@ declare type Accelerator = {
|
|
|
42
42
|
zoom: boolean;
|
|
43
43
|
};
|
|
44
44
|
|
|
45
|
+
/**
|
|
46
|
+
* Generated when a View is added to a layout.
|
|
47
|
+
* @interface
|
|
48
|
+
*/
|
|
49
|
+
declare type AddedToLayoutEvent = BaseEvent_4 & {
|
|
50
|
+
type: 'added-to-layout';
|
|
51
|
+
layoutIdentity: OpenFin.LayoutIdentity;
|
|
52
|
+
};
|
|
53
|
+
|
|
45
54
|
/**
|
|
46
55
|
* Options to use when adding a view to a {@link TabStack}.
|
|
47
56
|
*
|
|
@@ -49,7 +58,7 @@ declare type Accelerator = {
|
|
|
49
58
|
*/
|
|
50
59
|
declare type AddViewOptions = CreateViewTarget & {
|
|
51
60
|
options: ViewState;
|
|
52
|
-
targetView?:
|
|
61
|
+
targetView?: Identity_4;
|
|
53
62
|
};
|
|
54
63
|
|
|
55
64
|
/**
|
|
@@ -921,15 +930,15 @@ declare namespace ApplicationEvents {
|
|
|
921
930
|
*/
|
|
922
931
|
declare type ApplicationEventType = EventType_3;
|
|
923
932
|
|
|
924
|
-
declare type ApplicationIdentity = OpenFin.ApplicationIdentity;
|
|
925
|
-
|
|
926
933
|
/**
|
|
927
934
|
* @interface
|
|
928
935
|
*/
|
|
929
|
-
declare type
|
|
936
|
+
declare type ApplicationIdentity = {
|
|
930
937
|
uuid: string;
|
|
931
938
|
};
|
|
932
939
|
|
|
940
|
+
declare type ApplicationIdentityCall<AdditionalPayload = {}, Response = void> = ApiCall<AdditionalPayload & OpenFin.ApplicationIdentity, Response>;
|
|
941
|
+
|
|
933
942
|
/**
|
|
934
943
|
* @interface
|
|
935
944
|
*/
|
|
@@ -1302,12 +1311,10 @@ declare type ApplicationSourcedEvent = ClosedEvent | ConnectedEvent_2 | CrashedE
|
|
|
1302
1311
|
*/
|
|
1303
1312
|
declare type ApplicationSourcedEventType = ApplicationSourcedEvent['type'];
|
|
1304
1313
|
|
|
1305
|
-
declare type ApplicationState = OpenFin.ApplicationState;
|
|
1306
|
-
|
|
1307
1314
|
/**
|
|
1308
1315
|
* @interface
|
|
1309
1316
|
*/
|
|
1310
|
-
declare type
|
|
1317
|
+
declare type ApplicationState = {
|
|
1311
1318
|
/**
|
|
1312
1319
|
* True when the application is a Platform controller
|
|
1313
1320
|
*/
|
|
@@ -1339,12 +1346,10 @@ declare type ApplicationType = {
|
|
|
1339
1346
|
*/
|
|
1340
1347
|
declare type ApplicationWindowEvent = WindowAlertRequestedEvent | WindowCreatedEvent | WindowEndLoadEvent | WindowNotRespondingEvent | WindowRespondingEvent | WindowStartLoadEvent;
|
|
1341
1348
|
|
|
1342
|
-
declare type ApplicationWindowInfo = OpenFin.ApplicationWindowInfo;
|
|
1343
|
-
|
|
1344
1349
|
/**
|
|
1345
1350
|
* @interface
|
|
1346
1351
|
*/
|
|
1347
|
-
declare type
|
|
1352
|
+
declare type ApplicationWindowInfo = {
|
|
1348
1353
|
childWindows: Array<WindowDetail>;
|
|
1349
1354
|
mainWindow: WindowDetail;
|
|
1350
1355
|
/**
|
|
@@ -1606,7 +1611,7 @@ declare class Base {
|
|
|
1606
1611
|
* @deprecated `me` should only be accessed from the `fin` global ({@link FinApi.me}); access through entity classes is not
|
|
1607
1612
|
* guaranteed to behave sensibly in all calling contexts.
|
|
1608
1613
|
*/
|
|
1609
|
-
get me(): Identity;
|
|
1614
|
+
get me(): OpenFin.Identity;
|
|
1610
1615
|
/* Excluded from this release type: isNodeEnvironment */
|
|
1611
1616
|
/* Excluded from this release type: isOpenFinEnvironment */
|
|
1612
1617
|
/* Excluded from this release type: isBrowserEnvironment */
|
|
@@ -1826,11 +1831,12 @@ declare type BeforeUnloadUserDecision = {
|
|
|
1826
1831
|
/**
|
|
1827
1832
|
* Array of views that will close.
|
|
1828
1833
|
*/
|
|
1829
|
-
viewsToClose:
|
|
1834
|
+
viewsToClose: Identity_4[];
|
|
1830
1835
|
};
|
|
1831
1836
|
|
|
1832
1837
|
/**
|
|
1833
1838
|
* Generated at the beginning of a user-driven change to a window's size or position.
|
|
1839
|
+
*
|
|
1834
1840
|
* @interface
|
|
1835
1841
|
*/
|
|
1836
1842
|
declare type BeginUserBoundsChangingEvent = UserBoundsChangeEvent & {
|
|
@@ -1871,31 +1877,33 @@ declare type Bounds = {
|
|
|
1871
1877
|
* Generated after changes in a window's size and/or position.
|
|
1872
1878
|
* @interface
|
|
1873
1879
|
*/
|
|
1874
|
-
declare type BoundsChangedEvent =
|
|
1880
|
+
declare type BoundsChangedEvent = BoundsDidChangeEvent & {
|
|
1875
1881
|
type: 'bounds-changed';
|
|
1876
1882
|
};
|
|
1877
1883
|
|
|
1878
|
-
|
|
1879
|
-
* A general bounds change event without event type.
|
|
1880
|
-
* @interface
|
|
1881
|
-
*/
|
|
1882
|
-
declare type BoundsChangeEvent = BaseEvent_5 & {
|
|
1884
|
+
declare type BoundsChangeEvent = BoundsEvent & {
|
|
1883
1885
|
changeType: 0 | 1 | 2;
|
|
1884
|
-
deferred: boolean;
|
|
1885
|
-
height: number;
|
|
1886
|
-
left: number;
|
|
1887
|
-
top: number;
|
|
1888
|
-
width: number;
|
|
1889
1886
|
};
|
|
1890
1887
|
|
|
1891
1888
|
/**
|
|
1892
1889
|
* Generated during changes to a window's size and/or position.
|
|
1893
1890
|
* @interface
|
|
1894
1891
|
*/
|
|
1895
|
-
declare type BoundsChangingEvent =
|
|
1892
|
+
declare type BoundsChangingEvent = BoundsDidChangeEvent & {
|
|
1896
1893
|
type: 'bounds-changing';
|
|
1897
1894
|
};
|
|
1898
1895
|
|
|
1896
|
+
/**
|
|
1897
|
+
* An event that fires when a window's bounds are successfully changed.
|
|
1898
|
+
*
|
|
1899
|
+
* @interface
|
|
1900
|
+
*/
|
|
1901
|
+
declare type BoundsDidChangeEvent = BoundsChangeEvent & {
|
|
1902
|
+
reason: 'self' | 'animation';
|
|
1903
|
+
};
|
|
1904
|
+
|
|
1905
|
+
declare type BoundsEvent = BaseEvent_5 & OpenFin.Bounds;
|
|
1906
|
+
|
|
1899
1907
|
/**
|
|
1900
1908
|
* A rule prescribing content creation in the browser.
|
|
1901
1909
|
*
|
|
@@ -2977,7 +2985,7 @@ declare type ClientConnectionPayload = ClientIdentity & ClientInfo;
|
|
|
2977
2985
|
* Identity of a channel client. Includes endpointId to differentiate between different connections for an entity.
|
|
2978
2986
|
* @interface
|
|
2979
2987
|
*/
|
|
2980
|
-
declare type ClientIdentity =
|
|
2988
|
+
declare type ClientIdentity = Identity_4 & {
|
|
2981
2989
|
/**
|
|
2982
2990
|
* Unique identifier for a client, because there can be multiple clients at one name/uuid entity.
|
|
2983
2991
|
*/
|
|
@@ -3210,7 +3218,7 @@ declare type CloseViewOptions = {
|
|
|
3210
3218
|
/**
|
|
3211
3219
|
*View to be closed.
|
|
3212
3220
|
*/
|
|
3213
|
-
viewIdentity:
|
|
3221
|
+
viewIdentity: Identity_4;
|
|
3214
3222
|
};
|
|
3215
3223
|
|
|
3216
3224
|
/**
|
|
@@ -3220,7 +3228,7 @@ declare type CloseViewPayload = {
|
|
|
3220
3228
|
/**
|
|
3221
3229
|
*View to be closed.
|
|
3222
3230
|
*/
|
|
3223
|
-
view:
|
|
3231
|
+
view: Identity_4;
|
|
3224
3232
|
/**
|
|
3225
3233
|
* The target layout identity where this view should be closed. If not provided, will resolve to the
|
|
3226
3234
|
* visible layout.
|
|
@@ -3238,7 +3246,7 @@ declare interface CloseWindowPayload {
|
|
|
3238
3246
|
*
|
|
3239
3247
|
* Identity of the Window
|
|
3240
3248
|
*/
|
|
3241
|
-
windowId:
|
|
3249
|
+
windowId: Identity_4;
|
|
3242
3250
|
options: {
|
|
3243
3251
|
/**
|
|
3244
3252
|
* @defaultValue false
|
|
@@ -3356,7 +3364,7 @@ declare type ConstViewOptions = {
|
|
|
3356
3364
|
/**
|
|
3357
3365
|
* The identity of the window this view should be attached to.
|
|
3358
3366
|
*/
|
|
3359
|
-
target:
|
|
3367
|
+
target: Identity_4;
|
|
3360
3368
|
/**
|
|
3361
3369
|
* Configures how new content (e,g, from `window.open` or a link) is opened.
|
|
3362
3370
|
*/
|
|
@@ -3581,7 +3589,7 @@ declare type ConstWindowOptions = {
|
|
|
3581
3589
|
/**
|
|
3582
3590
|
* Parent identity of a modal window. It will create a modal child window when this option is set.
|
|
3583
3591
|
*/
|
|
3584
|
-
modalParentIdentity:
|
|
3592
|
+
modalParentIdentity: Identity_4;
|
|
3585
3593
|
/**
|
|
3586
3594
|
* The name of the window.
|
|
3587
3595
|
*/
|
|
@@ -3599,7 +3607,9 @@ declare type ConstWindowOptions = {
|
|
|
3599
3607
|
*/
|
|
3600
3608
|
preloadScripts: PreloadScript[];
|
|
3601
3609
|
/**
|
|
3602
|
-
* String tag that attempts to group like-tagged renderers together.
|
|
3610
|
+
* String tag that attempts to group like-tagged renderers together.
|
|
3611
|
+
* However, there is no guarantee that a different affinity value will create a different process, under the hood Chromium can enforce its own process management under certain circumstances.
|
|
3612
|
+
* @remarks Will only be used if pages are on the same origin.
|
|
3603
3613
|
*/
|
|
3604
3614
|
processAffinity: string;
|
|
3605
3615
|
/**
|
|
@@ -3646,11 +3656,6 @@ declare type ConstWindowOptions = {
|
|
|
3646
3656
|
* @deprecated - use `icon` instead.
|
|
3647
3657
|
*/
|
|
3648
3658
|
taskbarIcon: string;
|
|
3649
|
-
/**
|
|
3650
|
-
* Specify a taskbar group for the window.
|
|
3651
|
-
* _If omitted, defaults to app's uuid (`fin.Application.getCurrentSync().identity.uuid`)._
|
|
3652
|
-
*/
|
|
3653
|
-
taskbarIconGroup: string;
|
|
3654
3659
|
/**
|
|
3655
3660
|
* @defaultValue "about:blank"
|
|
3656
3661
|
*
|
|
@@ -4065,13 +4070,13 @@ declare type CreateViewPayload = {
|
|
|
4065
4070
|
* Window the view will be added to. If no target is provided, a new window will be created.
|
|
4066
4071
|
*/
|
|
4067
4072
|
target?: CreateViewTarget;
|
|
4068
|
-
targetView?:
|
|
4073
|
+
targetView?: Identity_4;
|
|
4069
4074
|
};
|
|
4070
4075
|
|
|
4071
4076
|
/**
|
|
4072
4077
|
* @interface
|
|
4073
4078
|
*/
|
|
4074
|
-
declare type CreateViewTarget = (
|
|
4079
|
+
declare type CreateViewTarget = (Identity_4 | LayoutIdentity) & {
|
|
4075
4080
|
/**
|
|
4076
4081
|
* If specified, view creation will not attach to a window and caller must
|
|
4077
4082
|
* insert the view into the layout explicitly
|
|
@@ -4517,7 +4522,7 @@ declare type EmitterAccessor = string[];
|
|
|
4517
4522
|
declare class EmitterBase<EmitterEvent extends BaseEvent, EmitterEventType extends EmitterEvent['type'] = EmitterEvent['type']> extends Base {
|
|
4518
4523
|
#private;
|
|
4519
4524
|
private topic;
|
|
4520
|
-
protected identity: ApplicationIdentity;
|
|
4525
|
+
protected identity: OpenFin.ApplicationIdentity;
|
|
4521
4526
|
constructor(wire: Transport, topic: string, ...additionalAccessors: string[]);
|
|
4522
4527
|
eventNames: () => (string | symbol)[];
|
|
4523
4528
|
/* Excluded from this release type: emit */
|
|
@@ -4592,20 +4597,17 @@ declare type EndLoadEvent = BaseEvent_5 & {
|
|
|
4592
4597
|
|
|
4593
4598
|
/**
|
|
4594
4599
|
* Generated at the end of a user-driven change to a window's size or position.
|
|
4600
|
+
*
|
|
4595
4601
|
* @interface
|
|
4596
4602
|
*/
|
|
4597
4603
|
declare type EndUserBoundsChangingEvent = UserBoundsChangeEvent & {
|
|
4598
4604
|
type: 'end-user-bounds-changing';
|
|
4599
4605
|
};
|
|
4600
4606
|
|
|
4601
|
-
declare type Entity = OpenFin.ApplicationType;
|
|
4602
|
-
|
|
4603
|
-
declare type EntityInfo = OpenFin.EntityInfo;
|
|
4604
|
-
|
|
4605
4607
|
/**
|
|
4606
4608
|
* @interface
|
|
4607
4609
|
*/
|
|
4608
|
-
declare type
|
|
4610
|
+
declare type EntityInfo = {
|
|
4609
4611
|
uuid: string;
|
|
4610
4612
|
name: string;
|
|
4611
4613
|
entityType: EntityType_4;
|
|
@@ -4691,6 +4693,7 @@ declare interface Environment {
|
|
|
4691
4693
|
getInteropInfo(fin: OpenFin.Fin<OpenFin.EntityType>): Promise<InternalInteropBrokerOptions & {
|
|
4692
4694
|
fdc3Version?: Version;
|
|
4693
4695
|
}>;
|
|
4696
|
+
getViewWindowIdentity(fin: OpenFin.Fin<OpenFin.EntityType>, identity: OpenFin.Identity): Promise<OpenFin.Identity>;
|
|
4694
4697
|
readonly type: EnvironmentType;
|
|
4695
4698
|
}
|
|
4696
4699
|
|
|
@@ -4755,7 +4758,7 @@ declare type Event_3 = ViewEvents.PropagatedEvent<'application'> | WindowEvents.
|
|
|
4755
4758
|
*/
|
|
4756
4759
|
declare type Event_4 = (WebContentsEvents.Event<'view'> & {
|
|
4757
4760
|
target: OpenFin.Identity;
|
|
4758
|
-
}) | CreatedEvent | DestroyedEvent | HiddenEvent | HotkeyEvent | ShownEvent | TargetChangedEvent | HostContextChangedEvent;
|
|
4761
|
+
}) | CreatedEvent | DestroyedEvent | HiddenEvent | HotkeyEvent | ShownEvent | TargetChangedEvent | HostContextChangedEvent | AddedToLayoutEvent | RemovedFromLayoutEvent;
|
|
4759
4762
|
|
|
4760
4763
|
/**
|
|
4761
4764
|
* [Union](https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#union-types) containing events shared by all WebContents elements
|
|
@@ -4954,7 +4957,7 @@ declare type ExternalApplicationEventType = EventType_4;
|
|
|
4954
4957
|
* @interface
|
|
4955
4958
|
*/
|
|
4956
4959
|
declare type ExternalApplicationInfo = {
|
|
4957
|
-
parent:
|
|
4960
|
+
parent: Identity_4;
|
|
4958
4961
|
};
|
|
4959
4962
|
|
|
4960
4963
|
/**
|
|
@@ -5497,6 +5500,10 @@ declare type FileDownloadEvent = {
|
|
|
5497
5500
|
* The number of bytes of the item that have already been downloaded.
|
|
5498
5501
|
*/
|
|
5499
5502
|
downloadedBytes: number;
|
|
5503
|
+
/**
|
|
5504
|
+
* Unique identifier for the downloaded file.
|
|
5505
|
+
*/
|
|
5506
|
+
fileUuid: string;
|
|
5500
5507
|
} & NamedEvent;
|
|
5501
5508
|
|
|
5502
5509
|
/**
|
|
@@ -5755,7 +5762,7 @@ declare type FrameInfo = {
|
|
|
5755
5762
|
uuid: string;
|
|
5756
5763
|
url: string;
|
|
5757
5764
|
entityType: EntityType_4;
|
|
5758
|
-
parent:
|
|
5765
|
+
parent: Identity_4;
|
|
5759
5766
|
};
|
|
5760
5767
|
|
|
5761
5768
|
/**
|
|
@@ -5830,12 +5837,10 @@ declare type FrameProcessDetails = ProcessDetails & {
|
|
|
5830
5837
|
entityType: string;
|
|
5831
5838
|
};
|
|
5832
5839
|
|
|
5833
|
-
declare type GetLogRequestType = OpenFin.GetLogRequestType;
|
|
5834
|
-
|
|
5835
5840
|
/**
|
|
5836
5841
|
* @interface
|
|
5837
5842
|
*/
|
|
5838
|
-
declare type
|
|
5843
|
+
declare type GetLogRequestType = {
|
|
5839
5844
|
/**
|
|
5840
5845
|
* The name of the running application
|
|
5841
5846
|
*/
|
|
@@ -5855,7 +5860,7 @@ declare type GetWindowContextPayload = {
|
|
|
5855
5860
|
/**
|
|
5856
5861
|
* Identity of the entity targeted by the call to {@link Platform#setWindowContext Platform.setWindowContext}.
|
|
5857
5862
|
*/
|
|
5858
|
-
target:
|
|
5863
|
+
target: Identity_4;
|
|
5859
5864
|
};
|
|
5860
5865
|
|
|
5861
5866
|
/**
|
|
@@ -6121,8 +6126,6 @@ declare type Identity_2 = OpenFin.Identity;
|
|
|
6121
6126
|
|
|
6122
6127
|
declare type Identity_3 = OpenFin.Identity;
|
|
6123
6128
|
|
|
6124
|
-
declare type Identity_4 = OpenFin.Identity;
|
|
6125
|
-
|
|
6126
6129
|
/**
|
|
6127
6130
|
* Unique identifier for a window, view or iframe.
|
|
6128
6131
|
*
|
|
@@ -6131,7 +6134,7 @@ declare type Identity_4 = OpenFin.Identity;
|
|
|
6131
6134
|
*
|
|
6132
6135
|
* @interface
|
|
6133
6136
|
*/
|
|
6134
|
-
declare type
|
|
6137
|
+
declare type Identity_4 = {
|
|
6135
6138
|
/**
|
|
6136
6139
|
* Universally unique identifier of the application that owns the component.
|
|
6137
6140
|
*/
|
|
@@ -6290,12 +6293,10 @@ declare type InstallationInfo = {
|
|
|
6290
6293
|
cachedManifest: any;
|
|
6291
6294
|
};
|
|
6292
6295
|
|
|
6293
|
-
declare type InstalledApps = OpenFin.InstalledApps;
|
|
6294
|
-
|
|
6295
6296
|
/**
|
|
6296
6297
|
* @interface
|
|
6297
6298
|
*/
|
|
6298
|
-
declare type
|
|
6299
|
+
declare type InstalledApps = {
|
|
6299
6300
|
[key: string]: InstallationInfo;
|
|
6300
6301
|
};
|
|
6301
6302
|
|
|
@@ -7066,7 +7067,7 @@ declare class InteropBroker extends Base {
|
|
|
7066
7067
|
* @param _id the identity tryinc to connect
|
|
7067
7068
|
* @param _connectionPayload optional payload to use in custom implementations, will be undefined by default
|
|
7068
7069
|
*/
|
|
7069
|
-
isConnectionAuthorized(_id:
|
|
7070
|
+
isConnectionAuthorized(_id: Identity_2, _connectionPayload?: any): Promise<boolean> | boolean;
|
|
7070
7071
|
/**
|
|
7071
7072
|
* Called before every action to check if this entity should be allowed to take the action.
|
|
7072
7073
|
* Return false to prevent the action
|
|
@@ -7859,6 +7860,7 @@ declare type LaunchIntoPlatformPayload = {
|
|
|
7859
7860
|
*/
|
|
7860
7861
|
declare class Layout extends Base {
|
|
7861
7862
|
#private;
|
|
7863
|
+
/* Excluded from this release type: getClient */
|
|
7862
7864
|
/* Excluded from this release type: init */
|
|
7863
7865
|
identity: OpenFin.Identity | OpenFin.LayoutIdentity;
|
|
7864
7866
|
private platform;
|
|
@@ -7958,6 +7960,17 @@ declare class Layout extends Base {
|
|
|
7958
7960
|
* ```
|
|
7959
7961
|
*/
|
|
7960
7962
|
getRootItem(): Promise<OpenFin.ColumnOrRow | OpenFin.TabStack>;
|
|
7963
|
+
/**
|
|
7964
|
+
* Retrieves the OpenFin.TabStack instance which the View belongs to.
|
|
7965
|
+
*
|
|
7966
|
+
* @example
|
|
7967
|
+
* ```js
|
|
7968
|
+
* const viewIdentity = { uuid: 'uuid', name: 'view-name' };
|
|
7969
|
+
* const stack = await fin.View.wrapSync(viewIdentity).getStackByViewIdentity(viewIdentity);
|
|
7970
|
+
* console.log(await stack.getViews());
|
|
7971
|
+
* ```
|
|
7972
|
+
*/
|
|
7973
|
+
getStackByViewIdentity(identity: OpenFin.Identity): Promise<OpenFin.TabStack>;
|
|
7961
7974
|
/**
|
|
7962
7975
|
* Replaces the specified view with a view with the provided configuration.
|
|
7963
7976
|
*
|
|
@@ -7984,7 +7997,7 @@ declare class Layout extends Base {
|
|
|
7984
7997
|
* await layout.replaceView(viewToReplace.identity, newViewConfig);
|
|
7985
7998
|
* ```
|
|
7986
7999
|
*/
|
|
7987
|
-
replaceView: (viewToReplace:
|
|
8000
|
+
replaceView: (viewToReplace: Identity_3, newView: OpenFin.PlatformViewCreationOptions) => Promise<void>;
|
|
7988
8001
|
/**
|
|
7989
8002
|
* Replaces a Platform window's layout with a preset layout arrangement using the existing Views attached to the window.
|
|
7990
8003
|
* The preset options are `columns`, `grid`, `rows`, and `tabs`.
|
|
@@ -8039,7 +8052,7 @@ declare type LayoutContent = Array<LayoutItemConfig | LayoutRow | LayoutColumn |
|
|
|
8039
8052
|
/**
|
|
8040
8053
|
* The base payload for the CustomEvent.detail property for Layout events emitted on the layout container element.
|
|
8041
8054
|
*/
|
|
8042
|
-
declare type LayoutDOMEvent =
|
|
8055
|
+
declare type LayoutDOMEvent = Identity_4 & {
|
|
8043
8056
|
type: string;
|
|
8044
8057
|
topic: 'openfin-DOM-event';
|
|
8045
8058
|
tabSelector: string;
|
|
@@ -8100,7 +8113,7 @@ declare type LayoutEntityTypes = 'column' | 'row' | 'stack';
|
|
|
8100
8113
|
/**
|
|
8101
8114
|
* @interface
|
|
8102
8115
|
*/
|
|
8103
|
-
declare type LayoutIdentity =
|
|
8116
|
+
declare type LayoutIdentity = Identity_4 & {
|
|
8104
8117
|
/**
|
|
8105
8118
|
* The name of the layout in a given window.
|
|
8106
8119
|
*/
|
|
@@ -8209,7 +8222,7 @@ declare interface LayoutManager<T extends LayoutSnapshot> {
|
|
|
8209
8222
|
* @param identity
|
|
8210
8223
|
* @returns LayoutIdentity | undefined
|
|
8211
8224
|
*/
|
|
8212
|
-
resolveLayoutIdentity(identity?:
|
|
8225
|
+
resolveLayoutIdentity(identity?: Identity_4 | LayoutIdentity): LayoutIdentity | undefined;
|
|
8213
8226
|
/**
|
|
8214
8227
|
* @experimental
|
|
8215
8228
|
*
|
|
@@ -8226,7 +8239,7 @@ declare interface LayoutManager<T extends LayoutSnapshot> {
|
|
|
8226
8239
|
/**
|
|
8227
8240
|
* @experimental
|
|
8228
8241
|
*/
|
|
8229
|
-
getLayoutIdentityForView(viewIdentity:
|
|
8242
|
+
getLayoutIdentityForView(viewIdentity: Identity_4): LayoutIdentity;
|
|
8230
8243
|
/**
|
|
8231
8244
|
* @experimental
|
|
8232
8245
|
*/
|
|
@@ -8327,6 +8340,17 @@ declare class LayoutModule extends Base {
|
|
|
8327
8340
|
* ```
|
|
8328
8341
|
*/
|
|
8329
8342
|
getCurrentSync(): OpenFin.Layout;
|
|
8343
|
+
/**
|
|
8344
|
+
* Retrieves the OpenFin.Layout instance for the Window the View is attached to.
|
|
8345
|
+
*
|
|
8346
|
+
* @example
|
|
8347
|
+
* ```js
|
|
8348
|
+
* const viewIdentity = { uuid: 'uuid', name: 'view-name' };
|
|
8349
|
+
* const layout = await fin.Platform.Layout.getLayoutByViewIdentity(viewIdentity);
|
|
8350
|
+
* console.log(await layout.getCurrentViews());
|
|
8351
|
+
* ```
|
|
8352
|
+
*/
|
|
8353
|
+
getLayoutByViewIdentity(viewIdentity: OpenFin.Identity): Promise<OpenFin.Layout>;
|
|
8330
8354
|
/**
|
|
8331
8355
|
* Initialize the window's Layout.
|
|
8332
8356
|
*
|
|
@@ -8530,12 +8554,10 @@ declare type Listener<T extends {
|
|
|
8530
8554
|
type: string;
|
|
8531
8555
|
}> = (payload: T) => void;
|
|
8532
8556
|
|
|
8533
|
-
declare type LogInfo = OpenFin.LogInfo;
|
|
8534
|
-
|
|
8535
8557
|
/**
|
|
8536
8558
|
* @interface
|
|
8537
8559
|
*/
|
|
8538
|
-
declare type
|
|
8560
|
+
declare type LogInfo = {
|
|
8539
8561
|
/**
|
|
8540
8562
|
* The filename of the log
|
|
8541
8563
|
*/
|
|
@@ -8550,8 +8572,6 @@ declare type LogInfo_2 = {
|
|
|
8550
8572
|
date: string;
|
|
8551
8573
|
};
|
|
8552
8574
|
|
|
8553
|
-
declare type LogLevel = OpenFin.LogLevel;
|
|
8554
|
-
|
|
8555
8575
|
/**
|
|
8556
8576
|
* Describes the minimum level (inclusive) above which logs will be written.
|
|
8557
8577
|
*
|
|
@@ -8561,7 +8581,7 @@ declare type LogLevel = OpenFin.LogLevel;
|
|
|
8561
8581
|
* `error` and above<br>
|
|
8562
8582
|
* `fatal`: fatal only, indicates a crash is imminent
|
|
8563
8583
|
*/
|
|
8564
|
-
declare type
|
|
8584
|
+
declare type LogLevel = 'verbose' | 'info' | 'warning' | 'error' | 'fatal';
|
|
8565
8585
|
|
|
8566
8586
|
declare type LogUploaderUIOptions = {
|
|
8567
8587
|
title?: string;
|
|
@@ -9210,6 +9230,12 @@ declare type MutableWindowOptions = {
|
|
|
9210
9230
|
* Shows the window's icon in the taskbar.
|
|
9211
9231
|
*/
|
|
9212
9232
|
showTaskbarIcon: boolean;
|
|
9233
|
+
/**
|
|
9234
|
+
* Specify a taskbar group for the window.
|
|
9235
|
+
* _If omitted, defaults to app's uuid (`fin.Application.getCurrentSync().identity.uuid`)._
|
|
9236
|
+
* @remarks It's only updatable when `enableJumpList` is set to false.
|
|
9237
|
+
*/
|
|
9238
|
+
taskbarIconGroup: string;
|
|
9213
9239
|
interop: InteropConfig;
|
|
9214
9240
|
/* Excluded from this release type: _internalWorkspaceData */
|
|
9215
9241
|
/* Excluded from this release type: workspacePlatform */
|
|
@@ -9389,13 +9415,13 @@ declare namespace OpenFin {
|
|
|
9389
9415
|
LayoutPosition,
|
|
9390
9416
|
WebContent,
|
|
9391
9417
|
PlatformProvider,
|
|
9392
|
-
|
|
9393
|
-
|
|
9418
|
+
ApplicationIdentity,
|
|
9419
|
+
Identity_4 as Identity,
|
|
9394
9420
|
ClientIdentity,
|
|
9395
9421
|
ClientInfo,
|
|
9396
9422
|
ClientIdentityMultiRuntime,
|
|
9397
9423
|
ClientConnectionPayload,
|
|
9398
|
-
|
|
9424
|
+
EntityInfo,
|
|
9399
9425
|
EntityType_4 as EntityType,
|
|
9400
9426
|
Bounds,
|
|
9401
9427
|
WindowBounds,
|
|
@@ -9531,7 +9557,7 @@ declare namespace OpenFin {
|
|
|
9531
9557
|
GpuInfo,
|
|
9532
9558
|
OSInfo,
|
|
9533
9559
|
HostSpecs,
|
|
9534
|
-
|
|
9560
|
+
PrinterInfo,
|
|
9535
9561
|
Dpi,
|
|
9536
9562
|
Margins,
|
|
9537
9563
|
PrintOptions,
|
|
@@ -9639,24 +9665,24 @@ declare namespace OpenFin {
|
|
|
9639
9665
|
BeforeUnloadUserDecision,
|
|
9640
9666
|
ViewStatuses,
|
|
9641
9667
|
CloseWindowPayload,
|
|
9642
|
-
|
|
9643
|
-
|
|
9668
|
+
ProxyInfo,
|
|
9669
|
+
ProxyConfig,
|
|
9644
9670
|
ProxySystemInfo,
|
|
9645
9671
|
ChannelAction_2 as ChannelAction,
|
|
9646
9672
|
ChannelMiddleware_2 as ChannelMiddleware,
|
|
9647
9673
|
ErrorMiddleware_2 as ErrorMiddleware,
|
|
9648
|
-
|
|
9649
|
-
|
|
9674
|
+
ApplicationState,
|
|
9675
|
+
InstalledApps,
|
|
9650
9676
|
InstallationInfo,
|
|
9651
|
-
|
|
9652
|
-
|
|
9677
|
+
GetLogRequestType,
|
|
9678
|
+
LogInfo,
|
|
9653
9679
|
SendApplicationLogResponse,
|
|
9654
|
-
|
|
9680
|
+
LogLevel,
|
|
9655
9681
|
PermissionState_2 as PermissionState,
|
|
9656
|
-
|
|
9682
|
+
RegistryInfo,
|
|
9657
9683
|
ApplicationType,
|
|
9658
9684
|
WindowInfo,
|
|
9659
|
-
|
|
9685
|
+
ApplicationWindowInfo,
|
|
9660
9686
|
WindowDetail,
|
|
9661
9687
|
LayoutPresetType,
|
|
9662
9688
|
LayoutIdentity,
|
|
@@ -11565,12 +11591,10 @@ declare type PresetLayoutOptions_2 = {
|
|
|
11565
11591
|
presetType: LayoutPresetType;
|
|
11566
11592
|
};
|
|
11567
11593
|
|
|
11568
|
-
declare type PrinterInfo = OpenFin.PrinterInfo;
|
|
11569
|
-
|
|
11570
11594
|
/**
|
|
11571
11595
|
* @interface
|
|
11572
11596
|
*/
|
|
11573
|
-
declare type
|
|
11597
|
+
declare type PrinterInfo = {
|
|
11574
11598
|
/**
|
|
11575
11599
|
* Printer Name
|
|
11576
11600
|
*/
|
|
@@ -11832,20 +11856,100 @@ declare type PropagatedWindowEvent<TargetTopic extends string> = PropagatedEvent
|
|
|
11832
11856
|
declare type PropagatedWindowEventType = PropagatedEvent_3<string>['type'];
|
|
11833
11857
|
|
|
11834
11858
|
declare interface ProtocolMap extends ProtocolMapBase {
|
|
11859
|
+
'is-application-running': ApplicationIdentityCall<{}, boolean>;
|
|
11860
|
+
'destroy-application': ApplicationIdentityCall<{
|
|
11861
|
+
force: boolean;
|
|
11862
|
+
}, void>;
|
|
11863
|
+
'close-application': ApplicationIdentityCall<{
|
|
11864
|
+
force: boolean;
|
|
11865
|
+
}, void>;
|
|
11866
|
+
'application-close': ApplicationIdentityCall<{}, void>;
|
|
11867
|
+
'get-child-windows': ApplicationIdentityCall<{}, Array<unknown>>;
|
|
11868
|
+
'get-application-manifest': {
|
|
11869
|
+
request: {
|
|
11870
|
+
manifestUrl?: string;
|
|
11871
|
+
uuid?: string;
|
|
11872
|
+
};
|
|
11873
|
+
response: OpenFin.Manifest;
|
|
11874
|
+
};
|
|
11875
|
+
'get-parent-application': ApplicationIdentityCall<{}, string>;
|
|
11876
|
+
'get-shortcuts': ApplicationIdentityCall<{}, OpenFin.ShortCutConfig>;
|
|
11877
|
+
'application-get-views': ApplicationIdentityCall<{}, OpenFin.Identity[]>;
|
|
11878
|
+
'get-application-zoom-level': ApplicationIdentityCall<{}, number>;
|
|
11879
|
+
'application-get-window': ApplicationIdentityCall<{}, void>;
|
|
11880
|
+
'register-user': ApplicationIdentityCall<{
|
|
11881
|
+
userName: string;
|
|
11882
|
+
appName: string;
|
|
11883
|
+
}, void>;
|
|
11884
|
+
'remove-tray-icon': ApplicationIdentityCall<{}, void>;
|
|
11885
|
+
'restart-application': ApplicationIdentityCall<{}, void>;
|
|
11886
|
+
'application-run': ApplicationIdentityCall<{}, void>;
|
|
11887
|
+
'run-application': ApplicationIdentityCall<{
|
|
11888
|
+
manifestUrl?: string | undefined;
|
|
11889
|
+
opts?: OpenFin.RvmLaunchOptions;
|
|
11890
|
+
}, void>;
|
|
11891
|
+
'relaunch-on-close': ApplicationIdentityCall<{}, void>;
|
|
11892
|
+
'send-application-log': ApplicationIdentityCall<{}, OpenFin.SendApplicationLogResponse>;
|
|
11893
|
+
'set-jump-list': ApplicationIdentityCall<{
|
|
11894
|
+
config: OpenFin.JumpListCategory[] | null;
|
|
11895
|
+
}, void>;
|
|
11896
|
+
'set-tray-icon': ApplicationIdentityCall<{
|
|
11897
|
+
enabledIcon: string;
|
|
11898
|
+
}, void>;
|
|
11899
|
+
'set-shortcuts': ApplicationIdentityCall<{
|
|
11900
|
+
data: OpenFin.ShortCutConfig;
|
|
11901
|
+
}, void>;
|
|
11902
|
+
'set-shortcut-query-args': ApplicationIdentityCall<{
|
|
11903
|
+
data: string;
|
|
11904
|
+
}, void>;
|
|
11905
|
+
'set-application-zoom-level': ApplicationIdentityCall<{
|
|
11906
|
+
level: number;
|
|
11907
|
+
}, void>;
|
|
11908
|
+
'set-app-log-username': ApplicationIdentityCall<{
|
|
11909
|
+
data: string;
|
|
11910
|
+
}, void>;
|
|
11911
|
+
'get-tray-icon-info': ApplicationIdentityCall<{}, OpenFin.TrayInfo>;
|
|
11912
|
+
'has-tray-icon': ApplicationIdentityCall<{}, boolean>;
|
|
11913
|
+
'terminate-application': ApplicationIdentityCall<{}, void>;
|
|
11914
|
+
'wait-for-hung-application': ApplicationIdentityCall<{}, void>;
|
|
11915
|
+
'get-info': ApplicationIdentityCall<{}, OpenFin.ApplicationInfo>;
|
|
11916
|
+
'application-get-process-info': ApplicationIdentityCall<{}, OpenFin.AppProcessInfo>;
|
|
11917
|
+
'set-file-download-location': {
|
|
11918
|
+
request: OpenFin.Identity & {
|
|
11919
|
+
downloadLocation: string;
|
|
11920
|
+
};
|
|
11921
|
+
response: void;
|
|
11922
|
+
};
|
|
11923
|
+
'get-file-download-location': ApplicationIdentityCall<{}, string>;
|
|
11924
|
+
'show-tray-icon-popup-menu': {
|
|
11925
|
+
request: OpenFin.Identity & {
|
|
11926
|
+
options: OpenFin.ShowTrayIconPopupMenuOptions;
|
|
11927
|
+
};
|
|
11928
|
+
response: OpenFin.MenuResult;
|
|
11929
|
+
};
|
|
11930
|
+
'close-tray-icon-popup-menu': IdentityCall<{}, void>;
|
|
11931
|
+
'wrap-application': VoidCall;
|
|
11932
|
+
'wrap-application-sync': VoidCall;
|
|
11933
|
+
'create-application': ApiCall<OpenFin.ApplicationCreationOptions, void>;
|
|
11934
|
+
'application-create': VoidCall;
|
|
11935
|
+
'start-application': VoidCall;
|
|
11936
|
+
'run-applications': ApiCall<{
|
|
11937
|
+
applications: Array<OpenFin.ManifestInfo>;
|
|
11938
|
+
opts?: OpenFin.RvmLaunchOptions;
|
|
11939
|
+
}, void>;
|
|
11940
|
+
'get-current-application': VoidCall;
|
|
11941
|
+
'get-current-application-sync': VoidCall;
|
|
11942
|
+
'application-start-from-manifest': VoidCall;
|
|
11943
|
+
'application-create-from-manifest': VoidCall;
|
|
11835
11944
|
'request-external-authorization': {
|
|
11836
11945
|
request: any;
|
|
11837
11946
|
response: void;
|
|
11838
11947
|
specialResponse: AuthorizationPayload;
|
|
11839
11948
|
};
|
|
11840
|
-
'
|
|
11841
|
-
request:
|
|
11842
|
-
response: OpenFin.Identity[];
|
|
11843
|
-
};
|
|
11844
|
-
'set-jump-list': {
|
|
11845
|
-
request: {
|
|
11846
|
-
config: OpenFin.JumpListCategory[] | null;
|
|
11847
|
-
} & OpenFin.ApplicationIdentity;
|
|
11949
|
+
'request-authorization': {
|
|
11950
|
+
request: ExistingConnectConfig | RemoteConfig | ReceiverConfig;
|
|
11848
11951
|
response: void;
|
|
11952
|
+
specialResponse: Payload;
|
|
11849
11953
|
};
|
|
11850
11954
|
'clipboard-read-formats': {
|
|
11851
11955
|
request: {
|
|
@@ -11857,6 +11961,24 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
11857
11961
|
request: OpenFin.ReadImageClipboardRequest;
|
|
11858
11962
|
response: string;
|
|
11859
11963
|
};
|
|
11964
|
+
'clipboard-read-text': {
|
|
11965
|
+
request: {
|
|
11966
|
+
type?: OpenFin.ClipboardSelectionType;
|
|
11967
|
+
};
|
|
11968
|
+
response: string;
|
|
11969
|
+
};
|
|
11970
|
+
'clipboard-read-html': {
|
|
11971
|
+
request: {
|
|
11972
|
+
type?: OpenFin.ClipboardSelectionType;
|
|
11973
|
+
};
|
|
11974
|
+
response: string;
|
|
11975
|
+
};
|
|
11976
|
+
'clipboard-read-rtf': {
|
|
11977
|
+
request: {
|
|
11978
|
+
type?: OpenFin.ClipboardSelectionType;
|
|
11979
|
+
};
|
|
11980
|
+
response: string;
|
|
11981
|
+
};
|
|
11860
11982
|
'clipboard-write-image': {
|
|
11861
11983
|
request: OpenFin.WriteImageClipboardRequest;
|
|
11862
11984
|
response: void;
|
|
@@ -11865,6 +11987,18 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
11865
11987
|
request: OpenFin.WriteAnyRequestType;
|
|
11866
11988
|
response: void;
|
|
11867
11989
|
};
|
|
11990
|
+
'clipboard-write-text': {
|
|
11991
|
+
request: OpenFin.WriteClipboardRequest;
|
|
11992
|
+
response: void;
|
|
11993
|
+
};
|
|
11994
|
+
'clipboard-write-html': {
|
|
11995
|
+
request: OpenFin.WriteClipboardRequest;
|
|
11996
|
+
response: void;
|
|
11997
|
+
};
|
|
11998
|
+
'clipboard-write-rtf': {
|
|
11999
|
+
request: OpenFin.WriteClipboardRequest;
|
|
12000
|
+
response: void;
|
|
12001
|
+
};
|
|
11868
12002
|
'get-view-window': IdentityCall<{}, OpenFin.Identity>;
|
|
11869
12003
|
'create-view': IdentityCall<OpenFin.ViewCreationOptions & {
|
|
11870
12004
|
uuid: string;
|
|
@@ -11890,13 +12024,85 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
11890
12024
|
options: OpenFin.UpdatableViewOptions;
|
|
11891
12025
|
}>;
|
|
11892
12026
|
'trigger-before-unload': IdentityCall<{}, boolean>;
|
|
12027
|
+
'view-wrap-sync': VoidCall;
|
|
12028
|
+
'view-wrap': VoidCall;
|
|
12029
|
+
'view-get-current': VoidCall;
|
|
12030
|
+
'view-get-current-sync': VoidCall;
|
|
12031
|
+
'animate-window': IdentityCall<{
|
|
12032
|
+
transitions: OpenFin.Transition;
|
|
12033
|
+
options: OpenFin.TransitionOptions;
|
|
12034
|
+
}>;
|
|
12035
|
+
'get-all-frames': IdentityCall<{}, OpenFin.FrameInfo[]>;
|
|
12036
|
+
'get-window-bounds': IdentityCall<{}, OpenFin.WindowBounds>;
|
|
12037
|
+
'center-window': IdentityCall;
|
|
12038
|
+
'blur-window': IdentityCall;
|
|
12039
|
+
'bring-window-to-front': IdentityCall;
|
|
12040
|
+
'hide-window': IdentityCall;
|
|
12041
|
+
'close-window': IdentityCall<{
|
|
12042
|
+
force: boolean;
|
|
12043
|
+
}>;
|
|
12044
|
+
'focused-webview-changed': IdentityCall;
|
|
12045
|
+
'get-window-native-id': IdentityCall<{}, string>;
|
|
11893
12046
|
'window-get-views': IdentityCall<{}, OpenFin.Identity[]>;
|
|
11894
|
-
'
|
|
12047
|
+
'disable-window-frame': IdentityCall;
|
|
12048
|
+
'enable-window-frame': IdentityCall;
|
|
12049
|
+
'flash-window': IdentityCall;
|
|
12050
|
+
'stop-flash-window': IdentityCall;
|
|
12051
|
+
'get-window-info': IdentityCall<{}, OpenFin.WindowInfo>;
|
|
12052
|
+
'get-window-options': IdentityCall<{}, OpenFin.WindowOptions>;
|
|
12053
|
+
'get-window-snapshot': IdentityCall<{
|
|
12054
|
+
area?: OpenFin.Rectangle;
|
|
12055
|
+
}, string>;
|
|
12056
|
+
'get-window-state': IdentityCall<{}, 'minimized' | 'maximized' | 'normal'>;
|
|
12057
|
+
'is-window-showing': IdentityCall<{}, boolean>;
|
|
12058
|
+
'maximize-window': IdentityCall;
|
|
12059
|
+
'minimize-window': IdentityCall;
|
|
12060
|
+
'move-window-by': IdentityCall<WithPositioningOptions<{
|
|
12061
|
+
deltaLeft: number;
|
|
12062
|
+
deltaTop: number;
|
|
12063
|
+
}>>;
|
|
12064
|
+
'move-window': IdentityCall<WithPositioningOptions<{
|
|
12065
|
+
left: number;
|
|
12066
|
+
top: number;
|
|
12067
|
+
}>>;
|
|
12068
|
+
'resize-window-by': IdentityCall<WithPositioningOptions<{
|
|
12069
|
+
deltaWidth: number;
|
|
12070
|
+
deltaHeight: number;
|
|
12071
|
+
anchor: OpenFin.AnchorType;
|
|
12072
|
+
}>>;
|
|
12073
|
+
'resize-window': IdentityCall<WithPositioningOptions<{
|
|
12074
|
+
width: number;
|
|
12075
|
+
height: number;
|
|
12076
|
+
anchor: OpenFin.AnchorType;
|
|
12077
|
+
}>>;
|
|
12078
|
+
'restore-window': IdentityCall;
|
|
12079
|
+
'set-foreground-window': IdentityCall;
|
|
12080
|
+
'set-window-bounds': IdentityCall<WithPositioningOptions<Partial<OpenFin.Bounds>>>;
|
|
12081
|
+
'show-window': IdentityCall<{
|
|
12082
|
+
force: boolean;
|
|
12083
|
+
}>;
|
|
12084
|
+
'show-at-window': IdentityCall<{
|
|
12085
|
+
left: number;
|
|
12086
|
+
top: number;
|
|
12087
|
+
force: boolean;
|
|
12088
|
+
}>;
|
|
12089
|
+
'update-window-options': IdentityCall<{
|
|
12090
|
+
options: OpenFin.UpdatableWindowOptions;
|
|
12091
|
+
}>;
|
|
12092
|
+
'window-authenticate': IdentityCall<{
|
|
12093
|
+
userName: string;
|
|
12094
|
+
password: string;
|
|
12095
|
+
}>;
|
|
12096
|
+
'show-popup-menu': {
|
|
11895
12097
|
request: OpenFin.Identity & {
|
|
11896
|
-
options: OpenFin.
|
|
12098
|
+
options: OpenFin.ShowPopupMenuOptions;
|
|
11897
12099
|
};
|
|
11898
|
-
response:
|
|
12100
|
+
response: OpenFin.MenuResult;
|
|
11899
12101
|
};
|
|
12102
|
+
'close-popup-menu': IdentityCall;
|
|
12103
|
+
'dispatch-popup-result': IdentityCall<{
|
|
12104
|
+
data: any;
|
|
12105
|
+
}>;
|
|
11900
12106
|
'print-screenshot': {
|
|
11901
12107
|
request: OpenFin.Identity;
|
|
11902
12108
|
response: void;
|
|
@@ -11907,6 +12113,229 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
11907
12113
|
};
|
|
11908
12114
|
response: void;
|
|
11909
12115
|
};
|
|
12116
|
+
'window-wrap': VoidCall;
|
|
12117
|
+
'window-wrap-sync': VoidCall;
|
|
12118
|
+
'create-window': VoidCall;
|
|
12119
|
+
'get-current-window': VoidCall;
|
|
12120
|
+
'get-current-window-sync': VoidCall;
|
|
12121
|
+
'get-external-application-info': ApiCall<OpenFin.ApplicationIdentity, OpenFin.ExternalApplicationInfo>;
|
|
12122
|
+
'external-application-wrap': VoidCall;
|
|
12123
|
+
'external-application-wrap-sync': VoidCall;
|
|
12124
|
+
'get-frame-info': ApiCall<OpenFin.Identity, OpenFin.FrameInfo>;
|
|
12125
|
+
'get-parent-window': ApiCall<OpenFin.Identity, OpenFin.FrameInfo>;
|
|
12126
|
+
'frame-wrap': VoidCall;
|
|
12127
|
+
'frame-wrap-sync': VoidCall;
|
|
12128
|
+
'frame-get-current': VoidCall;
|
|
12129
|
+
'frame-get-current-sync': VoidCall;
|
|
12130
|
+
'global-hotkey-register': {
|
|
12131
|
+
request: {
|
|
12132
|
+
hotkey: string;
|
|
12133
|
+
};
|
|
12134
|
+
response: void;
|
|
12135
|
+
};
|
|
12136
|
+
'global-hotkey-unregister': {
|
|
12137
|
+
request: {
|
|
12138
|
+
hotkey: string;
|
|
12139
|
+
};
|
|
12140
|
+
response: void;
|
|
12141
|
+
};
|
|
12142
|
+
'global-hotkey-unregister-all': {
|
|
12143
|
+
request: {};
|
|
12144
|
+
response: void;
|
|
12145
|
+
};
|
|
12146
|
+
'global-hotkey-is-registered': {
|
|
12147
|
+
request: {
|
|
12148
|
+
hotkey: string;
|
|
12149
|
+
};
|
|
12150
|
+
response: boolean;
|
|
12151
|
+
};
|
|
12152
|
+
'publish-message': {
|
|
12153
|
+
request: {
|
|
12154
|
+
topic: string;
|
|
12155
|
+
message: any;
|
|
12156
|
+
sourceWindowName: string;
|
|
12157
|
+
};
|
|
12158
|
+
response: void;
|
|
12159
|
+
};
|
|
12160
|
+
'send-message': {
|
|
12161
|
+
request: {
|
|
12162
|
+
destinationUuid: string;
|
|
12163
|
+
destinationWindowName: string | undefined;
|
|
12164
|
+
topic: string;
|
|
12165
|
+
message: any;
|
|
12166
|
+
sourceWindowName: string;
|
|
12167
|
+
};
|
|
12168
|
+
response: void;
|
|
12169
|
+
};
|
|
12170
|
+
'subscribe': {
|
|
12171
|
+
request: {
|
|
12172
|
+
sourceUuid: string;
|
|
12173
|
+
sourceWindowName: string;
|
|
12174
|
+
topic: string;
|
|
12175
|
+
destinationWindowName: string;
|
|
12176
|
+
messageKey?: any;
|
|
12177
|
+
};
|
|
12178
|
+
response: void;
|
|
12179
|
+
};
|
|
12180
|
+
'unsubscribe': {
|
|
12181
|
+
request: {
|
|
12182
|
+
sourceUuid: string;
|
|
12183
|
+
sourceWindowName: string;
|
|
12184
|
+
topic: string;
|
|
12185
|
+
destinationWindowName: string;
|
|
12186
|
+
};
|
|
12187
|
+
response: void;
|
|
12188
|
+
};
|
|
12189
|
+
'get-all-channels': GetterCall<OpenFin.ProviderIdentity[]>;
|
|
12190
|
+
'connect-to-channel': {
|
|
12191
|
+
request: any;
|
|
12192
|
+
response: OpenFin.RoutingInfo;
|
|
12193
|
+
};
|
|
12194
|
+
'create-channel': ApiCall<{
|
|
12195
|
+
channelName: string;
|
|
12196
|
+
}, OpenFin.ProviderIdentity>;
|
|
12197
|
+
'destroy-channel': ApiCall<{
|
|
12198
|
+
channelName: string;
|
|
12199
|
+
}, void>;
|
|
12200
|
+
'disconnect-from-channel': {
|
|
12201
|
+
request: {
|
|
12202
|
+
channelName: string;
|
|
12203
|
+
uuid: string;
|
|
12204
|
+
name: string;
|
|
12205
|
+
endpointId: string;
|
|
12206
|
+
};
|
|
12207
|
+
response: void;
|
|
12208
|
+
};
|
|
12209
|
+
'send-channel-message': {
|
|
12210
|
+
request: any;
|
|
12211
|
+
response: any;
|
|
12212
|
+
};
|
|
12213
|
+
'get-version': GetterCall<string>;
|
|
12214
|
+
'clear-cache': ApiCall<OpenFin.ClearCacheOption, void>;
|
|
12215
|
+
'delete-cache-request': VoidCall;
|
|
12216
|
+
'exit-desktop': VoidCall;
|
|
12217
|
+
'fetch-manifest': ApiCall<{
|
|
12218
|
+
manifestUrl: string;
|
|
12219
|
+
}, any>;
|
|
12220
|
+
'flush-cookie-store': VoidCall;
|
|
12221
|
+
'get-all-windows': GetterCall<OpenFin.ApplicationWindowInfo[]>;
|
|
12222
|
+
'get-all-applications': GetterCall<OpenFin.ApplicationState[]>;
|
|
12223
|
+
'get-command-line-arguments': GetterCall<string>;
|
|
12224
|
+
'get-crash-reporter-state': GetterCall<OpenFin.CrashReporterState>;
|
|
12225
|
+
'start-crash-reporter': {
|
|
12226
|
+
request: OpenFin.CrashReporterOptions | {
|
|
12227
|
+
diagnosticMode: boolean;
|
|
12228
|
+
};
|
|
12229
|
+
response: OpenFin.CrashReporterState;
|
|
12230
|
+
};
|
|
12231
|
+
'get-unique-user-id': GetterCall<string>;
|
|
12232
|
+
'get-entity-info': {
|
|
12233
|
+
request: {
|
|
12234
|
+
uuid: string;
|
|
12235
|
+
name: string;
|
|
12236
|
+
};
|
|
12237
|
+
response: OpenFin.EntityInfo;
|
|
12238
|
+
};
|
|
12239
|
+
'get-environment-variable': {
|
|
12240
|
+
request: {
|
|
12241
|
+
environmentVariables: string;
|
|
12242
|
+
};
|
|
12243
|
+
response: string;
|
|
12244
|
+
};
|
|
12245
|
+
'get-focused-window': GetterCall<OpenFin.Identity | null>;
|
|
12246
|
+
'is-app-certified': {
|
|
12247
|
+
request: {
|
|
12248
|
+
manifestUrl: string;
|
|
12249
|
+
};
|
|
12250
|
+
response: {
|
|
12251
|
+
action: string;
|
|
12252
|
+
certifiedInfo: OpenFin.CertifiedAppInfo;
|
|
12253
|
+
};
|
|
12254
|
+
};
|
|
12255
|
+
'get-installed-runtimes': GetterCall<{
|
|
12256
|
+
action: string;
|
|
12257
|
+
runtimes: string[];
|
|
12258
|
+
}>;
|
|
12259
|
+
'get-installed-apps': GetterCall<OpenFin.InstalledApps>;
|
|
12260
|
+
'view-log': ApiCall<OpenFin.GetLogRequestType, string>;
|
|
12261
|
+
'get-machine-id': GetterCall<string>;
|
|
12262
|
+
'get-min-log-level': GetterCall<OpenFin.LogLevel>;
|
|
12263
|
+
'list-logs': GetterCall<OpenFin.LogInfo[]>;
|
|
12264
|
+
'get-monitor-info': GetterCall<OpenFin.MonitorInfo>;
|
|
12265
|
+
'get-mouse-position': GetterCall<OpenFin.PointTopLeft>;
|
|
12266
|
+
'process-snapshot': GetterCall<Array<any>>;
|
|
12267
|
+
'get-all-process-info': ApiCall<OpenFin.ApplicationIdentity, OpenFin.SystemProcessInfo>;
|
|
12268
|
+
'get-proxy-settings': GetterCall<OpenFin.ProxyInfo>;
|
|
12269
|
+
'get-runtime-info': GetterCall<OpenFin.RuntimeInfo>;
|
|
12270
|
+
'get-rvm-info': GetterCall<OpenFin.RVMInfo>;
|
|
12271
|
+
'get-host-specs': GetterCall<OpenFin.HostSpecs>;
|
|
12272
|
+
'get-os-info': GetterCall<OpenFin.OSInfo>;
|
|
12273
|
+
'launch-external-process': ApiCall<OpenFin.ExternalProcessRequestType, OpenFin.Identity>;
|
|
12274
|
+
'monitor-external-process': ApiCall<OpenFin.ExternalProcessInfo, OpenFin.Identity>;
|
|
12275
|
+
'write-to-log': ApiCall<{
|
|
12276
|
+
level: string;
|
|
12277
|
+
message: string;
|
|
12278
|
+
}, void>;
|
|
12279
|
+
'open-url-with-browser': ApiCall<{
|
|
12280
|
+
url: string;
|
|
12281
|
+
}, void>;
|
|
12282
|
+
'register-custom-protocol': ApiCall<OpenFin.CustomProtocolOptions, void>;
|
|
12283
|
+
'unregister-custom-protocol': ApiCall<{
|
|
12284
|
+
protocolName: string;
|
|
12285
|
+
}, void>;
|
|
12286
|
+
'get-custom-protocol-state': ApiCall<{
|
|
12287
|
+
protocolName: string;
|
|
12288
|
+
}, OpenFin.CustomProtocolState>;
|
|
12289
|
+
'release-external-process': ApiCall<{
|
|
12290
|
+
uuid: string;
|
|
12291
|
+
}, void>;
|
|
12292
|
+
'show-developer-tools': ApiCall<OpenFin.Identity, void>;
|
|
12293
|
+
'terminate-external-process': ApiCall<OpenFin.TerminateExternalRequestType, void>;
|
|
12294
|
+
'update-proxy': ApiCall<OpenFin.ProxyConfig, void>;
|
|
12295
|
+
'download-asset': {
|
|
12296
|
+
request: OpenFin.AppAssetInfo & {
|
|
12297
|
+
downloadId: string;
|
|
12298
|
+
};
|
|
12299
|
+
response: void;
|
|
12300
|
+
};
|
|
12301
|
+
'download-runtime': {
|
|
12302
|
+
request: OpenFin.RuntimeDownloadOptions & {
|
|
12303
|
+
downloadId: string;
|
|
12304
|
+
};
|
|
12305
|
+
response: void;
|
|
12306
|
+
};
|
|
12307
|
+
'download-preload-scripts': ApiCall<{
|
|
12308
|
+
scripts: Array<OpenFin.DownloadPreloadOption>;
|
|
12309
|
+
}, Array<OpenFin.DownloadPreloadInfo>>;
|
|
12310
|
+
'get-all-external-applications': ApiCall<void, Array<OpenFin.Identity>>;
|
|
12311
|
+
'get-app-asset-info': ApiCall<OpenFin.AppAssetRequest, OpenFin.AppAssetInfo>;
|
|
12312
|
+
'get-cookies': {
|
|
12313
|
+
request: OpenFin.CookieOption & {
|
|
12314
|
+
url: string;
|
|
12315
|
+
};
|
|
12316
|
+
response: Array<OpenFin.CookieInfo>;
|
|
12317
|
+
};
|
|
12318
|
+
'set-min-log-level': ApiCall<{
|
|
12319
|
+
level: OpenFin.LogLevel;
|
|
12320
|
+
}, void>;
|
|
12321
|
+
'resolve-uuid': ApiCall<{
|
|
12322
|
+
entityKey: string;
|
|
12323
|
+
}, OpenFin.ApplicationType>;
|
|
12324
|
+
'read-registry-value': ApiCall<{
|
|
12325
|
+
rootKey: string;
|
|
12326
|
+
subkey: string;
|
|
12327
|
+
value: string;
|
|
12328
|
+
}, OpenFin.RegistryInfo>;
|
|
12329
|
+
'register-external-connection': ApiCall<{
|
|
12330
|
+
uuid: string;
|
|
12331
|
+
}, OpenFin.ExternalConnection>;
|
|
12332
|
+
'get-service-configuration': ApiCall<{
|
|
12333
|
+
name: string;
|
|
12334
|
+
}, OpenFin.ServiceConfiguration>;
|
|
12335
|
+
'get-system-app-configuration': ApiCall<{
|
|
12336
|
+
name: string;
|
|
12337
|
+
}, any>;
|
|
12338
|
+
'run-rvm-health-check': ApiCall<void, string[]>;
|
|
11910
12339
|
'launch-manifest': {
|
|
11911
12340
|
request: {
|
|
11912
12341
|
manifestUrl: string;
|
|
@@ -11918,17 +12347,12 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
11918
12347
|
manifest: OpenFin.Manifest;
|
|
11919
12348
|
};
|
|
11920
12349
|
};
|
|
11921
|
-
'
|
|
12350
|
+
'query-permission-for-current-context': {
|
|
11922
12351
|
request: {
|
|
11923
|
-
|
|
11924
|
-
|
|
11925
|
-
response: any;
|
|
11926
|
-
};
|
|
11927
|
-
'show-popup-menu': {
|
|
11928
|
-
request: OpenFin.Identity & {
|
|
11929
|
-
options: OpenFin.ShowPopupMenuOptions;
|
|
12352
|
+
apiName: string;
|
|
12353
|
+
identity: OpenFin.Identity;
|
|
11930
12354
|
};
|
|
11931
|
-
response: OpenFin.
|
|
12355
|
+
response: OpenFin.QueryPermissionResult;
|
|
11932
12356
|
};
|
|
11933
12357
|
'enable-native-window-integration-provider': {
|
|
11934
12358
|
request: {
|
|
@@ -11936,24 +12360,34 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
11936
12360
|
};
|
|
11937
12361
|
response: OpenFin.NativeWindowIntegrationProviderAuthorization;
|
|
11938
12362
|
};
|
|
12363
|
+
'register-usage': ApiCall<OpenFin.RegisterUsageData, void>;
|
|
12364
|
+
'system-get-printers': GetterCall<OpenFin.PrinterInfo[]>;
|
|
12365
|
+
'system-update-process-logging-options': ApiCall<{
|
|
12366
|
+
options: OpenFin.ProcessLoggingOptions;
|
|
12367
|
+
}, void>;
|
|
12368
|
+
'get-domain-settings': ApiCall<OpenFin.ApplicationIdentity, OpenFin.DefaultDomainSettings>;
|
|
12369
|
+
'set-domain-settings': ApiCall<OpenFin.ApplicationIdentity & {
|
|
12370
|
+
domainSettings: OpenFin.DefaultDomainSettings;
|
|
12371
|
+
}, void>;
|
|
12372
|
+
'system-register-shutdown-handler': VoidCall;
|
|
11939
12373
|
'get-permissions': GetterCall<any>;
|
|
11940
|
-
'get-all-channels': GetterCall<OpenFin.ProviderIdentity[]>;
|
|
11941
|
-
'set-file-download-location': {
|
|
11942
|
-
request: OpenFin.Identity & {
|
|
11943
|
-
downloadLocation: string;
|
|
11944
|
-
};
|
|
11945
|
-
response: void;
|
|
11946
|
-
};
|
|
11947
|
-
'get-file-download-location': {
|
|
11948
|
-
request: OpenFin.ApplicationIdentity;
|
|
11949
|
-
response: string;
|
|
11950
|
-
};
|
|
11951
|
-
'close-popup-menu': IdentityCall;
|
|
11952
12374
|
'fdc3-add-context-listener': VoidCall;
|
|
12375
|
+
'fdc3-add-intent-listener': VoidCall;
|
|
12376
|
+
'fdc3-raise-intent': VoidCall;
|
|
12377
|
+
'fdc3-find-intent': VoidCall;
|
|
12378
|
+
'fdc3-find-intents-by-context': VoidCall;
|
|
12379
|
+
'fdc3-raise-intent-for-context': VoidCall;
|
|
12380
|
+
'fdc3-get-info': VoidCall;
|
|
12381
|
+
'fdc3-find-instances': VoidCall;
|
|
12382
|
+
'fdc3-get-app-metadata': VoidCall;
|
|
11953
12383
|
'fdc3-broadcast': VoidCall;
|
|
12384
|
+
'fdc3-open': VoidCall;
|
|
12385
|
+
'fdc3-get-or-create-channel': VoidCall;
|
|
11954
12386
|
'fdc3-get-system-channels': VoidCall;
|
|
11955
12387
|
'fdc3-join-channel': VoidCall;
|
|
12388
|
+
'fdc3-get-current-channel': VoidCall;
|
|
11956
12389
|
'fdc3-leave-current-channel': VoidCall;
|
|
12390
|
+
'interop-init': VoidCall;
|
|
11957
12391
|
'interop-connect-sync': VoidCall;
|
|
11958
12392
|
'interop-client-set-context': VoidCall;
|
|
11959
12393
|
'interop-client-add-context-handler': VoidCall;
|
|
@@ -11962,6 +12396,13 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
11962
12396
|
'interop-client-remove-from-context-group': VoidCall;
|
|
11963
12397
|
'interop-client-get-all-clients-in-context-group': VoidCall;
|
|
11964
12398
|
'interop-client-get-info-for-context-group': VoidCall;
|
|
12399
|
+
'interop-client-fire-intent': VoidCall;
|
|
12400
|
+
'interop-client-register-intent-handler': VoidCall;
|
|
12401
|
+
'interop-client-get-current-context': VoidCall;
|
|
12402
|
+
'interop-client-get-info-for-intent': VoidCall;
|
|
12403
|
+
'interop-client-get-info-for-intents-by-context': VoidCall;
|
|
12404
|
+
'interop-client-fire-intent-for-context': VoidCall;
|
|
12405
|
+
'interop-client-add-ondisconnection-listener': VoidCall;
|
|
11965
12406
|
'interop-broker-add-client-to-context-group': VoidCall;
|
|
11966
12407
|
'interop-broker-get-all-clients-in-context-group': VoidCall;
|
|
11967
12408
|
'interop-broker-get-context-groups': VoidCall;
|
|
@@ -11973,13 +12414,100 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
11973
12414
|
'interop-broker-remove-from-context-group': VoidCall;
|
|
11974
12415
|
'interop-broker-set-context': VoidCall;
|
|
11975
12416
|
'interop-broker-set-context-for-group': VoidCall;
|
|
11976
|
-
'
|
|
11977
|
-
|
|
11978
|
-
|
|
11979
|
-
|
|
11980
|
-
|
|
11981
|
-
|
|
11982
|
-
|
|
12417
|
+
'interop-broker-get-current-context': VoidCall;
|
|
12418
|
+
'interop-broker-set-intent-target': VoidCall;
|
|
12419
|
+
'interop-session-context-group-set-context': VoidCall;
|
|
12420
|
+
'interop-session-context-group-get-context': VoidCall;
|
|
12421
|
+
'interop-session-context-group-add-handler': VoidCall;
|
|
12422
|
+
'platform-wrap': VoidCall;
|
|
12423
|
+
'platform-wrap-sync': VoidCall;
|
|
12424
|
+
'platform-get-current': VoidCall;
|
|
12425
|
+
'platform-get-current-sync': VoidCall;
|
|
12426
|
+
'platform-start': VoidCall;
|
|
12427
|
+
'platform-start-from-manifest': VoidCall;
|
|
12428
|
+
'platform-get-client': ApplicationIdentityCall<{}, void>;
|
|
12429
|
+
'platform-create-view': ApplicationIdentityCall<{}, void>;
|
|
12430
|
+
'platform-create-window': ApplicationIdentityCall<{}, void>;
|
|
12431
|
+
'platform-quit': ApplicationIdentityCall<{}, void>;
|
|
12432
|
+
'platform-close-view': ApplicationIdentityCall<{}, void>;
|
|
12433
|
+
'platform-reparent-view': ApplicationIdentityCall<{}, void>;
|
|
12434
|
+
'platform-get-snapshot': ApplicationIdentityCall<{}, void>;
|
|
12435
|
+
'platform-apply-snapshot': ApplicationIdentityCall<{}, void>;
|
|
12436
|
+
'platform-launch-content-manifest': ApplicationIdentityCall<{}, void>;
|
|
12437
|
+
'platform-set-window-context': ApplicationIdentityCall<{}, void>;
|
|
12438
|
+
'platform-get-window-context': ApplicationIdentityCall<{}, void>;
|
|
12439
|
+
'platform-close-window': ApplicationIdentityCall<{}, void>;
|
|
12440
|
+
'layout-wrap': VoidCall;
|
|
12441
|
+
'layout-wrap-sync': VoidCall;
|
|
12442
|
+
'layout-get-current': VoidCall;
|
|
12443
|
+
'layout-get-current-sync': VoidCall;
|
|
12444
|
+
'layout-init': VoidCall;
|
|
12445
|
+
'layout-get-config': VoidCall;
|
|
12446
|
+
'layout-get-views': VoidCall;
|
|
12447
|
+
'layout-replace': VoidCall;
|
|
12448
|
+
'layout-get-root-item': VoidCall;
|
|
12449
|
+
'layout-replace-view': VoidCall;
|
|
12450
|
+
'layout-apply-preset': VoidCall;
|
|
12451
|
+
'layout-controller-get-root': VoidCall;
|
|
12452
|
+
'layout-controller-get-stack-by-view': VoidCall;
|
|
12453
|
+
'layout-controller-get-stack-views': VoidCall;
|
|
12454
|
+
'layout-controller-get-content': VoidCall;
|
|
12455
|
+
'layout-controller-get-parent': VoidCall;
|
|
12456
|
+
'layout-controller-is-root': VoidCall;
|
|
12457
|
+
'layout-controller-exists': VoidCall;
|
|
12458
|
+
'layout-controller-add-view-to-stack': VoidCall;
|
|
12459
|
+
'layout-controller-remove-view-from-stack': VoidCall;
|
|
12460
|
+
'layout-controller-create-adjacent-stack': VoidCall;
|
|
12461
|
+
'layout-controller-get-adjacent-stacks': VoidCall;
|
|
12462
|
+
'layout-controller-set-stack-active-view': VoidCall;
|
|
12463
|
+
'snapshot-source-init': VoidCall;
|
|
12464
|
+
'snapshot-source-wrap-sync': VoidCall;
|
|
12465
|
+
'snapshot-source-wrap': VoidCall;
|
|
12466
|
+
'snapshot-source-ready': VoidCall;
|
|
12467
|
+
'snapshot-source-get-snapshot': VoidCall;
|
|
12468
|
+
'snapshot-source-apply-snapshot': VoidCall;
|
|
12469
|
+
'capture-page': IdentityCall<{
|
|
12470
|
+
options?: OpenFin.CapturePageOptions;
|
|
12471
|
+
}, string>;
|
|
12472
|
+
'execute-javascript-in-window': IdentityCall<{
|
|
12473
|
+
code: string;
|
|
12474
|
+
}, unknown>;
|
|
12475
|
+
'get-zoom-level': IdentityCall<{}, number>;
|
|
12476
|
+
'set-zoom-level': IdentityCall<{
|
|
12477
|
+
level: number;
|
|
12478
|
+
}, void>;
|
|
12479
|
+
'navigate-window': IdentityCall<{
|
|
12480
|
+
url: string;
|
|
12481
|
+
}, void>;
|
|
12482
|
+
'navigate-window-back': IdentityCall<{}, void>;
|
|
12483
|
+
'navigate-window-forward': IdentityCall<{}, void>;
|
|
12484
|
+
'stop-window-navigation': IdentityCall<{}, void>;
|
|
12485
|
+
'reload-window': IdentityCall<{
|
|
12486
|
+
ignoreCache: boolean;
|
|
12487
|
+
}, void>;
|
|
12488
|
+
'print': IdentityCall<{
|
|
12489
|
+
options: OpenFin.PrintOptions;
|
|
12490
|
+
}, void>;
|
|
12491
|
+
'find-in-page': IdentityCall<{
|
|
12492
|
+
searchTerm: string;
|
|
12493
|
+
options?: OpenFin.FindInPageOptions;
|
|
12494
|
+
}, void>;
|
|
12495
|
+
'stop-find-in-page': IdentityCall<{
|
|
12496
|
+
action: 'clearSelection' | 'keepSelection' | 'activateSelection';
|
|
12497
|
+
}, void>;
|
|
12498
|
+
'get-printers': IdentityCall<{}, OpenFin.PrinterInfo>;
|
|
12499
|
+
'focus-window': IdentityCall<{
|
|
12500
|
+
emitSynthFocused: boolean;
|
|
12501
|
+
}, void>;
|
|
12502
|
+
'get-process-info': IdentityCall<{}, OpenFin.EntityProcessDetails>;
|
|
12503
|
+
'get-shared-workers': IdentityCall<{}, OpenFin.SharedWorkerInfo[]>;
|
|
12504
|
+
'inspect-shared-worker': IdentityCall<{}, void>;
|
|
12505
|
+
'inspect-shared-worker-by-id': IdentityCall<{
|
|
12506
|
+
workerId: string;
|
|
12507
|
+
}, void>;
|
|
12508
|
+
'inspect-service-worker': IdentityCall<{}, void>;
|
|
12509
|
+
'view-show-popup-window': IdentityCall<{}, void>;
|
|
12510
|
+
'window-show-popup-window': IdentityCall<{}, void>;
|
|
11983
12511
|
'try-create-popup-window': {
|
|
11984
12512
|
request: OpenFin.Identity & {
|
|
11985
12513
|
options: OpenFin.PopupOptions;
|
|
@@ -11995,9 +12523,6 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
11995
12523
|
};
|
|
11996
12524
|
response: OpenFin.PopupResult;
|
|
11997
12525
|
};
|
|
11998
|
-
'dispatch-popup-result': IdentityCall<{
|
|
11999
|
-
data: any;
|
|
12000
|
-
}>;
|
|
12001
12526
|
'render-overlay': {
|
|
12002
12527
|
request: {
|
|
12003
12528
|
bounds: OpenFin.Bounds;
|
|
@@ -12017,40 +12542,6 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
12017
12542
|
};
|
|
12018
12543
|
response: void;
|
|
12019
12544
|
};
|
|
12020
|
-
'get-host-specs': GetterCall<OpenFin.HostSpecs>;
|
|
12021
|
-
'get-os-info': GetterCall<OpenFin.OSInfo>;
|
|
12022
|
-
'system-get-printers': GetterCall<OpenFin.PrinterInfo[]>;
|
|
12023
|
-
'system-register-shutdown-handler': VoidCall;
|
|
12024
|
-
'get-domain-settings': ApiCall<OpenFin.ApplicationIdentity, OpenFin.DefaultDomainSettings>;
|
|
12025
|
-
'set-domain-settings': ApiCall<OpenFin.ApplicationIdentity & {
|
|
12026
|
-
domainSettings: OpenFin.DefaultDomainSettings;
|
|
12027
|
-
}, void>;
|
|
12028
|
-
'move-window-by': IdentityCall<WithPositioningOptions<{
|
|
12029
|
-
deltaLeft: number;
|
|
12030
|
-
deltaTop: number;
|
|
12031
|
-
}>>;
|
|
12032
|
-
'move-window': IdentityCall<WithPositioningOptions<{
|
|
12033
|
-
left: number;
|
|
12034
|
-
top: number;
|
|
12035
|
-
}>>;
|
|
12036
|
-
'resize-window-by': IdentityCall<WithPositioningOptions<{
|
|
12037
|
-
deltaWidth: number;
|
|
12038
|
-
deltaHeight: number;
|
|
12039
|
-
anchor: OpenFin.AnchorType;
|
|
12040
|
-
}>>;
|
|
12041
|
-
'resize-window': IdentityCall<WithPositioningOptions<{
|
|
12042
|
-
width: number;
|
|
12043
|
-
height: number;
|
|
12044
|
-
anchor: OpenFin.AnchorType;
|
|
12045
|
-
}>>;
|
|
12046
|
-
'set-window-bounds': IdentityCall<WithPositioningOptions<Partial<OpenFin.Bounds>>>;
|
|
12047
|
-
'register-custom-protocol': ApiCall<OpenFin.CustomProtocolOptions, void>;
|
|
12048
|
-
'unregister-custom-protocol': ApiCall<{
|
|
12049
|
-
protocolName: string;
|
|
12050
|
-
}, void>;
|
|
12051
|
-
'get-custom-protocol-state': ApiCall<{
|
|
12052
|
-
protocolName: string;
|
|
12053
|
-
}, OpenFin.CustomProtocolState>;
|
|
12054
12545
|
}
|
|
12055
12546
|
|
|
12056
12547
|
declare interface ProtocolMapBase {
|
|
@@ -12080,7 +12571,7 @@ declare type ProviderIdentity_3 = OpenFin.ProviderIdentity;
|
|
|
12080
12571
|
* Identity of a channel provider.
|
|
12081
12572
|
* @interface
|
|
12082
12573
|
*/
|
|
12083
|
-
declare type ProviderIdentity_4 =
|
|
12574
|
+
declare type ProviderIdentity_4 = Identity_4 & {
|
|
12084
12575
|
/**
|
|
12085
12576
|
* Identifier of the channel.
|
|
12086
12577
|
*/
|
|
@@ -12091,12 +12582,10 @@ declare type ProviderIdentity_4 = Identity_5 & {
|
|
|
12091
12582
|
channelName: string;
|
|
12092
12583
|
};
|
|
12093
12584
|
|
|
12094
|
-
declare type ProxyConfig = OpenFin.ProxyConfig;
|
|
12095
|
-
|
|
12096
12585
|
/**
|
|
12097
12586
|
* @interface
|
|
12098
12587
|
*/
|
|
12099
|
-
declare type
|
|
12588
|
+
declare type ProxyConfig = {
|
|
12100
12589
|
/**
|
|
12101
12590
|
* The configured proxy address.
|
|
12102
12591
|
*/
|
|
@@ -12108,13 +12597,11 @@ declare type ProxyConfig_2 = {
|
|
|
12108
12597
|
type: string;
|
|
12109
12598
|
};
|
|
12110
12599
|
|
|
12111
|
-
declare type ProxyInfo = OpenFin.ProxyInfo;
|
|
12112
|
-
|
|
12113
12600
|
/**
|
|
12114
12601
|
* @interface
|
|
12115
12602
|
*/
|
|
12116
|
-
declare type
|
|
12117
|
-
config:
|
|
12603
|
+
declare type ProxyInfo = {
|
|
12604
|
+
config: ProxyConfig;
|
|
12118
12605
|
system: ProxySystemInfo;
|
|
12119
12606
|
};
|
|
12120
12607
|
|
|
@@ -12220,12 +12707,10 @@ declare type RegisterUsageData = {
|
|
|
12220
12707
|
type: string;
|
|
12221
12708
|
};
|
|
12222
12709
|
|
|
12223
|
-
declare type RegistryInfo = OpenFin.RegistryInfo;
|
|
12224
|
-
|
|
12225
12710
|
/**
|
|
12226
12711
|
* @interface
|
|
12227
12712
|
*/
|
|
12228
|
-
declare type
|
|
12713
|
+
declare type RegistryInfo = {
|
|
12229
12714
|
data: any;
|
|
12230
12715
|
rootKey: string;
|
|
12231
12716
|
subkey: string;
|
|
@@ -12246,6 +12731,15 @@ declare interface RemoteConfig extends ExistingConnectConfig {
|
|
|
12246
12731
|
token: string;
|
|
12247
12732
|
}
|
|
12248
12733
|
|
|
12734
|
+
/**
|
|
12735
|
+
* Generated when a View is removed from a layout.
|
|
12736
|
+
* @interface
|
|
12737
|
+
*/
|
|
12738
|
+
declare type RemovedFromLayoutEvent = BaseEvent_4 & {
|
|
12739
|
+
type: 'removed-from-layout';
|
|
12740
|
+
layoutIdentity: OpenFin.LayoutIdentity;
|
|
12741
|
+
};
|
|
12742
|
+
|
|
12249
12743
|
/**
|
|
12250
12744
|
* @interface
|
|
12251
12745
|
*/
|
|
@@ -12274,14 +12768,14 @@ declare type ReplaceLayoutPayload = {
|
|
|
12274
12768
|
/**
|
|
12275
12769
|
* Identity of the window whose layout will be replaced.
|
|
12276
12770
|
*/
|
|
12277
|
-
target:
|
|
12771
|
+
target: Identity_4 | LayoutIdentity;
|
|
12278
12772
|
};
|
|
12279
12773
|
|
|
12280
12774
|
/**
|
|
12281
12775
|
* @interface
|
|
12282
12776
|
*/
|
|
12283
12777
|
declare type ReplaceViewOptions = {
|
|
12284
|
-
viewToReplace:
|
|
12778
|
+
viewToReplace: Identity_4;
|
|
12285
12779
|
newView: ViewState;
|
|
12286
12780
|
};
|
|
12287
12781
|
|
|
@@ -12290,7 +12784,7 @@ declare type ReplaceViewOptions = {
|
|
|
12290
12784
|
*/
|
|
12291
12785
|
declare type ReplaceViewPayload = {
|
|
12292
12786
|
opts: {
|
|
12293
|
-
viewToReplace:
|
|
12787
|
+
viewToReplace: Identity_4;
|
|
12294
12788
|
newView: Partial<ViewOptions>;
|
|
12295
12789
|
};
|
|
12296
12790
|
target: LayoutIdentity;
|
|
@@ -12656,7 +13150,7 @@ declare type SetWindowContextPayload = {
|
|
|
12656
13150
|
/**
|
|
12657
13151
|
* Identity of the entity targeted by the call to {@link Platform#setWindowContext Platform.setWindowContext}.
|
|
12658
13152
|
*/
|
|
12659
|
-
target:
|
|
13153
|
+
target: Identity_4;
|
|
12660
13154
|
};
|
|
12661
13155
|
|
|
12662
13156
|
/**
|
|
@@ -13100,7 +13594,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
13100
13594
|
* fin.System.getAllWindows().then(wins => console.log(wins)).catch(err => console.log(err));
|
|
13101
13595
|
* ```
|
|
13102
13596
|
*/
|
|
13103
|
-
getAllWindows(): Promise<Array<ApplicationWindowInfo>>;
|
|
13597
|
+
getAllWindows(): Promise<Array<OpenFin.ApplicationWindowInfo>>;
|
|
13104
13598
|
/**
|
|
13105
13599
|
* Retrieves an array of data for all applications.
|
|
13106
13600
|
*
|
|
@@ -13109,7 +13603,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
13109
13603
|
* fin.System.getAllApplications().then(apps => console.log(apps)).catch(err => console.log(err));
|
|
13110
13604
|
* ```
|
|
13111
13605
|
*/
|
|
13112
|
-
getAllApplications(): Promise<Array<ApplicationState>>;
|
|
13606
|
+
getAllApplications(): Promise<Array<OpenFin.ApplicationState>>;
|
|
13113
13607
|
/**
|
|
13114
13608
|
* Retrieves the command line argument string that started OpenFin Runtime.
|
|
13115
13609
|
*
|
|
@@ -13184,7 +13678,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
13184
13678
|
* }
|
|
13185
13679
|
* ```
|
|
13186
13680
|
*/
|
|
13187
|
-
getEntityInfo(uuid: string, name: string): Promise<EntityInfo>;
|
|
13681
|
+
getEntityInfo(uuid: string, name: string): Promise<OpenFin.EntityInfo>;
|
|
13188
13682
|
/**
|
|
13189
13683
|
* Gets the value of a given environment variable on the computer on which the runtime is installed
|
|
13190
13684
|
*
|
|
@@ -13226,7 +13720,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
13226
13720
|
* ```
|
|
13227
13721
|
*/
|
|
13228
13722
|
getInstalledRuntimes(): Promise<string[]>;
|
|
13229
|
-
getInstalledApps(): Promise<InstalledApps>;
|
|
13723
|
+
getInstalledApps(): Promise<OpenFin.InstalledApps>;
|
|
13230
13724
|
/**
|
|
13231
13725
|
* Retrieves the contents of the log with the specified filename.
|
|
13232
13726
|
* @param options A object that id defined by the GetLogRequestType interface
|
|
@@ -13241,7 +13735,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
13241
13735
|
* getLog().then(log => console.log(log)).catch(err => console.log(err));
|
|
13242
13736
|
* ```
|
|
13243
13737
|
*/
|
|
13244
|
-
getLog(options: GetLogRequestType): Promise<string>;
|
|
13738
|
+
getLog(options: OpenFin.GetLogRequestType): Promise<string>;
|
|
13245
13739
|
/**
|
|
13246
13740
|
* Returns a unique identifier (UUID) provided by the machine.
|
|
13247
13741
|
*
|
|
@@ -13259,7 +13753,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
13259
13753
|
* fin.System.getMinLogLevel().then(level => console.log(level)).catch(err => console.log(err));
|
|
13260
13754
|
* ```
|
|
13261
13755
|
*/
|
|
13262
|
-
getMinLogLevel(): Promise<LogLevel>;
|
|
13756
|
+
getMinLogLevel(): Promise<OpenFin.LogLevel>;
|
|
13263
13757
|
/**
|
|
13264
13758
|
* Retrieves an array containing information for each log file.
|
|
13265
13759
|
*
|
|
@@ -13268,7 +13762,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
13268
13762
|
* fin.System.getLogList().then(logList => console.log(logList)).catch(err => console.log(err));
|
|
13269
13763
|
* ```
|
|
13270
13764
|
*/
|
|
13271
|
-
getLogList(): Promise<Array<LogInfo>>;
|
|
13765
|
+
getLogList(): Promise<Array<OpenFin.LogInfo>>;
|
|
13272
13766
|
/**
|
|
13273
13767
|
* Retrieves an object that contains data about the monitor setup of the
|
|
13274
13768
|
* computer that the runtime is running on.
|
|
@@ -13339,7 +13833,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
13339
13833
|
* }
|
|
13340
13834
|
* ```
|
|
13341
13835
|
*/
|
|
13342
|
-
getProxySettings(): Promise<ProxyInfo>;
|
|
13836
|
+
getProxySettings(): Promise<OpenFin.ProxyInfo>;
|
|
13343
13837
|
/**
|
|
13344
13838
|
* Returns information about the running Runtime in an object.
|
|
13345
13839
|
*
|
|
@@ -13706,7 +14200,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
13706
14200
|
* }
|
|
13707
14201
|
* ```
|
|
13708
14202
|
*/
|
|
13709
|
-
launchExternalProcess(options: OpenFin.ExternalProcessRequestType): Promise<
|
|
14203
|
+
launchExternalProcess(options: OpenFin.ExternalProcessRequestType): Promise<Identity>;
|
|
13710
14204
|
/**
|
|
13711
14205
|
* Monitors a running process. A pid for the process must be included in options.
|
|
13712
14206
|
* <br> A uuid may be optionally provided. If not provided, OpenFin will create a uuid for the new process.
|
|
@@ -13723,7 +14217,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
13723
14217
|
* }).then(processIdentity => console.log(processIdentity)).catch(err => console.log(err));
|
|
13724
14218
|
* ```
|
|
13725
14219
|
*/
|
|
13726
|
-
monitorExternalProcess(options: OpenFin.ExternalProcessInfo): Promise<
|
|
14220
|
+
monitorExternalProcess(options: OpenFin.ExternalProcessInfo): Promise<Identity>;
|
|
13727
14221
|
/**
|
|
13728
14222
|
* Writes the passed message into both the log file and the console.
|
|
13729
14223
|
* @param level The log level for the entry. Can be either "info", "warning" or "error"
|
|
@@ -13857,7 +14351,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
13857
14351
|
*
|
|
13858
14352
|
* @tutorial System.showDeveloperTools
|
|
13859
14353
|
*/
|
|
13860
|
-
showDeveloperTools(identity:
|
|
14354
|
+
showDeveloperTools(identity: Identity): Promise<void>;
|
|
13861
14355
|
/**
|
|
13862
14356
|
* Attempt to close an external process. The process will be terminated if it
|
|
13863
14357
|
* has not closed after the elapsed timeout in milliseconds.
|
|
@@ -13891,7 +14385,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
13891
14385
|
* .catch(err => console.error(err));
|
|
13892
14386
|
* ```
|
|
13893
14387
|
*/
|
|
13894
|
-
updateProxySettings(options: ProxyConfig): Promise<void>;
|
|
14388
|
+
updateProxySettings(options: OpenFin.ProxyConfig): Promise<void>;
|
|
13895
14389
|
/**
|
|
13896
14390
|
* Downloads the given application asset.
|
|
13897
14391
|
*
|
|
@@ -13983,7 +14477,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
13983
14477
|
* .catch(err => console.log(err));
|
|
13984
14478
|
* ```
|
|
13985
14479
|
*/
|
|
13986
|
-
getAllExternalApplications(): Promise<Array<
|
|
14480
|
+
getAllExternalApplications(): Promise<Array<Identity>>;
|
|
13987
14481
|
/**
|
|
13988
14482
|
* Retrieves app asset information.
|
|
13989
14483
|
* @param options
|
|
@@ -14012,7 +14506,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
14012
14506
|
* fin.System.setMinLogLevel("verbose").then(() => console.log("log level is set to verbose")).catch(err => console.log(err));
|
|
14013
14507
|
* ```
|
|
14014
14508
|
*/
|
|
14015
|
-
setMinLogLevel(level: LogLevel): Promise<void>;
|
|
14509
|
+
setMinLogLevel(level: OpenFin.LogLevel): Promise<void>;
|
|
14016
14510
|
/**
|
|
14017
14511
|
* Retrieves the UUID of the computer on which the runtime is installed
|
|
14018
14512
|
* @param uuid The uuid of the running application
|
|
@@ -14022,7 +14516,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
14022
14516
|
* fin.System.resolveUuid('OpenfinPOC').then(entity => console.log(entity)).catch(err => console.log(err));
|
|
14023
14517
|
* ```
|
|
14024
14518
|
*/
|
|
14025
|
-
resolveUuid(uuid: string): Promise<
|
|
14519
|
+
resolveUuid(uuid: string): Promise<OpenFin.ApplicationType>;
|
|
14026
14520
|
/**
|
|
14027
14521
|
* Retrieves an array of data for all external applications
|
|
14028
14522
|
* @param requestingIdentity This object is described in the Identity typedef
|
|
@@ -14030,7 +14524,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
14030
14524
|
*
|
|
14031
14525
|
* @ignore
|
|
14032
14526
|
*/
|
|
14033
|
-
executeOnRemote(requestingIdentity:
|
|
14527
|
+
executeOnRemote(requestingIdentity: Identity, data: any): Promise<any>;
|
|
14034
14528
|
/**
|
|
14035
14529
|
* Reads the specifed value from the registry.
|
|
14036
14530
|
* @remarks This method is restricted by default and must be enabled via
|
|
@@ -14123,7 +14617,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
14123
14617
|
* }
|
|
14124
14618
|
* ```
|
|
14125
14619
|
*/
|
|
14126
|
-
readRegistryValue(rootKey: string, subkey: string, value: string): Promise<RegistryInfo>;
|
|
14620
|
+
readRegistryValue(rootKey: string, subkey: string, value: string): Promise<OpenFin.RegistryInfo>;
|
|
14127
14621
|
/**
|
|
14128
14622
|
* This function call will register a unique id and produce a token.
|
|
14129
14623
|
* The token can be used to broker an external connection.
|
|
@@ -14338,7 +14832,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
14338
14832
|
* });
|
|
14339
14833
|
* ```
|
|
14340
14834
|
*/
|
|
14341
|
-
getPrinters(): Promise<PrinterInfo[]>;
|
|
14835
|
+
getPrinters(): Promise<OpenFin.PrinterInfo[]>;
|
|
14342
14836
|
/**
|
|
14343
14837
|
* Updates Process Logging values: periodic interval and outlier detection entries and interval.
|
|
14344
14838
|
* @param options Process Logging updatable options.
|
|
@@ -14957,14 +15451,11 @@ declare type UrlChangedEvent = BaseUrlEvent & ({
|
|
|
14957
15451
|
declare type UserAppConfigArgs = Record<string, string | string[]>;
|
|
14958
15452
|
|
|
14959
15453
|
/**
|
|
14960
|
-
*
|
|
15454
|
+
* An event that fires when a window's bounds are changed directly by the user.
|
|
15455
|
+
*
|
|
14961
15456
|
* @interface
|
|
14962
15457
|
*/
|
|
14963
|
-
declare type UserBoundsChangeEvent =
|
|
14964
|
-
height: number;
|
|
14965
|
-
left: number;
|
|
14966
|
-
top: number;
|
|
14967
|
-
width: number;
|
|
15458
|
+
declare type UserBoundsChangeEvent = BoundsEvent & {
|
|
14968
15459
|
windowState: 'minimized' | 'normal' | 'maximized';
|
|
14969
15460
|
};
|
|
14970
15461
|
|
|
@@ -15399,7 +15890,7 @@ declare class View_2 extends WebContents<OpenFin.ViewEvent> {
|
|
|
15399
15890
|
*/
|
|
15400
15891
|
getInfo: () => Promise<OpenFin.ViewInfo>;
|
|
15401
15892
|
/**
|
|
15402
|
-
* Retrieves the
|
|
15893
|
+
* Retrieves the OpenFin.Layout instance for the Window the View is attached to.
|
|
15403
15894
|
*
|
|
15404
15895
|
* @example
|
|
15405
15896
|
* ```js
|
|
@@ -15573,7 +16064,7 @@ declare type ViewContentCreationRule = BaseContentCreationRule & {
|
|
|
15573
16064
|
declare type ViewCreationOptions = Partial<ViewOptions> & {
|
|
15574
16065
|
name: string;
|
|
15575
16066
|
url: string;
|
|
15576
|
-
target:
|
|
16067
|
+
target: Identity_4;
|
|
15577
16068
|
};
|
|
15578
16069
|
|
|
15579
16070
|
declare type ViewCreationOrReference = OpenFin.Identity | OpenFin.PlatformViewCreationOptions;
|
|
@@ -15602,6 +16093,8 @@ declare namespace ViewEvents {
|
|
|
15602
16093
|
BaseEvent_4 as BaseEvent,
|
|
15603
16094
|
BaseViewEvent,
|
|
15604
16095
|
TargetChangedEvent,
|
|
16096
|
+
AddedToLayoutEvent,
|
|
16097
|
+
RemovedFromLayoutEvent,
|
|
15605
16098
|
NonPropagatedViewEvent,
|
|
15606
16099
|
CreatedEvent,
|
|
15607
16100
|
DestroyedEvent,
|
|
@@ -15757,15 +16250,15 @@ declare interface ViewsPreventingUnloadPayload {
|
|
|
15757
16250
|
/**
|
|
15758
16251
|
* Identity of the Window.
|
|
15759
16252
|
*/
|
|
15760
|
-
windowId:
|
|
16253
|
+
windowId: Identity_4;
|
|
15761
16254
|
/**
|
|
15762
16255
|
* Identities of the Views that are preventing an unload
|
|
15763
16256
|
*/
|
|
15764
|
-
viewsPreventingUnload:
|
|
16257
|
+
viewsPreventingUnload: Identity_4[];
|
|
15765
16258
|
/**
|
|
15766
16259
|
* Identities of the Views that are not preventing an unload
|
|
15767
16260
|
*/
|
|
15768
|
-
viewsNotPreventingUnload:
|
|
16261
|
+
viewsNotPreventingUnload: Identity_4[];
|
|
15769
16262
|
/**
|
|
15770
16263
|
* Source of the close action.
|
|
15771
16264
|
*/
|
|
@@ -15790,11 +16283,11 @@ declare interface ViewStatuses {
|
|
|
15790
16283
|
/**
|
|
15791
16284
|
* Identities of the Views that are preventing an unload.
|
|
15792
16285
|
*/
|
|
15793
|
-
viewsPreventingUnload:
|
|
16286
|
+
viewsPreventingUnload: Identity_4[];
|
|
15794
16287
|
/**
|
|
15795
16288
|
* Identities of the Views that are not preventing an unload.
|
|
15796
16289
|
*/
|
|
15797
|
-
viewsNotPreventingUnload:
|
|
16290
|
+
viewsNotPreventingUnload: Identity_4[];
|
|
15798
16291
|
}
|
|
15799
16292
|
|
|
15800
16293
|
/**
|
|
@@ -16299,7 +16792,7 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
|
|
|
16299
16792
|
* We do not expose an explicit superclass for this functionality, but it does have its own
|
|
16300
16793
|
* {@link OpenFin.WebContentsEvents event namespace}.
|
|
16301
16794
|
*/
|
|
16302
|
-
stopFindInPage(action:
|
|
16795
|
+
stopFindInPage(action: 'clearSelection' | 'keepSelection' | 'activateSelection'): Promise<void>;
|
|
16303
16796
|
/**
|
|
16304
16797
|
* Returns an array with all system printers
|
|
16305
16798
|
* @deprecated use System.getPrinters instead
|
|
@@ -16892,11 +17385,7 @@ declare type WillMoveEvent = WillMoveOrResizeEvent & {
|
|
|
16892
17385
|
* A general will-move or will-resize event without event type.
|
|
16893
17386
|
* @interface
|
|
16894
17387
|
*/
|
|
16895
|
-
declare type WillMoveOrResizeEvent =
|
|
16896
|
-
height: number;
|
|
16897
|
-
left: number;
|
|
16898
|
-
top: number;
|
|
16899
|
-
width: number;
|
|
17388
|
+
declare type WillMoveOrResizeEvent = BoundsEvent & {
|
|
16900
17389
|
monitorScaleFactor: number;
|
|
16901
17390
|
};
|
|
16902
17391
|
|
|
@@ -18088,16 +18577,21 @@ declare namespace WindowEvents {
|
|
|
18088
18577
|
PreloadScriptInfoRunning,
|
|
18089
18578
|
PreloadScriptInfo,
|
|
18090
18579
|
PreloadScriptsStateChangeEvent,
|
|
18091
|
-
|
|
18580
|
+
BoundsEvent,
|
|
18092
18581
|
BoundsChangeEvent,
|
|
18093
18582
|
WillMoveOrResizeEvent,
|
|
18583
|
+
BoundsDidChangeEvent,
|
|
18584
|
+
BoundsChangedEvent,
|
|
18585
|
+
BoundsChangingEvent,
|
|
18586
|
+
DisabledMovementBoundsChangedEvent,
|
|
18587
|
+
DisabledMovementBoundsChangingEvent,
|
|
18588
|
+
UserBoundsChangeEvent,
|
|
18589
|
+
BeginUserBoundsChangingEvent,
|
|
18590
|
+
EndUserBoundsChangingEvent,
|
|
18094
18591
|
PerformanceReportEvent,
|
|
18095
18592
|
InputEvent_2 as InputEvent,
|
|
18096
18593
|
LayoutInitializedEvent,
|
|
18097
18594
|
LayoutReadyEvent,
|
|
18098
|
-
BeginUserBoundsChangingEvent,
|
|
18099
|
-
BoundsChangedEvent,
|
|
18100
|
-
BoundsChangingEvent,
|
|
18101
18595
|
CloseRequestedEvent,
|
|
18102
18596
|
WindowCloseRequestedEvent,
|
|
18103
18597
|
ContextChangedEvent,
|
|
@@ -18105,10 +18599,7 @@ declare namespace WindowEvents {
|
|
|
18105
18599
|
WindowClosedEvent,
|
|
18106
18600
|
ClosingEvent,
|
|
18107
18601
|
WindowClosingEvent,
|
|
18108
|
-
DisabledMovementBoundsChangedEvent,
|
|
18109
|
-
DisabledMovementBoundsChangingEvent,
|
|
18110
18602
|
EmbeddedEvent,
|
|
18111
|
-
EndUserBoundsChangingEvent,
|
|
18112
18603
|
HotkeyEvent_2 as HotkeyEvent,
|
|
18113
18604
|
WindowHotkeyEvent,
|
|
18114
18605
|
InitializedEvent_2 as InitializedEvent,
|