@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.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
|
/**
|
|
@@ -927,15 +936,15 @@ declare namespace ApplicationEvents {
|
|
|
927
936
|
*/
|
|
928
937
|
declare type ApplicationEventType = EventType_3;
|
|
929
938
|
|
|
930
|
-
declare type ApplicationIdentity = OpenFin.ApplicationIdentity;
|
|
931
|
-
|
|
932
939
|
/**
|
|
933
940
|
* @interface
|
|
934
941
|
*/
|
|
935
|
-
declare type
|
|
942
|
+
declare type ApplicationIdentity = {
|
|
936
943
|
uuid: string;
|
|
937
944
|
};
|
|
938
945
|
|
|
946
|
+
declare type ApplicationIdentityCall<AdditionalPayload = {}, Response = void> = ApiCall<AdditionalPayload & OpenFin.ApplicationIdentity, Response>;
|
|
947
|
+
|
|
939
948
|
/**
|
|
940
949
|
* @interface
|
|
941
950
|
*/
|
|
@@ -1308,12 +1317,10 @@ declare type ApplicationSourcedEvent = ClosedEvent | ConnectedEvent_2 | CrashedE
|
|
|
1308
1317
|
*/
|
|
1309
1318
|
declare type ApplicationSourcedEventType = ApplicationSourcedEvent['type'];
|
|
1310
1319
|
|
|
1311
|
-
declare type ApplicationState = OpenFin.ApplicationState;
|
|
1312
|
-
|
|
1313
1320
|
/**
|
|
1314
1321
|
* @interface
|
|
1315
1322
|
*/
|
|
1316
|
-
declare type
|
|
1323
|
+
declare type ApplicationState = {
|
|
1317
1324
|
/**
|
|
1318
1325
|
* True when the application is a Platform controller
|
|
1319
1326
|
*/
|
|
@@ -1345,12 +1352,10 @@ declare type ApplicationType = {
|
|
|
1345
1352
|
*/
|
|
1346
1353
|
declare type ApplicationWindowEvent = WindowAlertRequestedEvent | WindowCreatedEvent | WindowEndLoadEvent | WindowNotRespondingEvent | WindowRespondingEvent | WindowStartLoadEvent;
|
|
1347
1354
|
|
|
1348
|
-
declare type ApplicationWindowInfo = OpenFin.ApplicationWindowInfo;
|
|
1349
|
-
|
|
1350
1355
|
/**
|
|
1351
1356
|
* @interface
|
|
1352
1357
|
*/
|
|
1353
|
-
declare type
|
|
1358
|
+
declare type ApplicationWindowInfo = {
|
|
1354
1359
|
childWindows: Array<WindowDetail>;
|
|
1355
1360
|
mainWindow: WindowDetail;
|
|
1356
1361
|
/**
|
|
@@ -1626,7 +1631,7 @@ declare class Base {
|
|
|
1626
1631
|
* @deprecated `me` should only be accessed from the `fin` global ({@link FinApi.me}); access through entity classes is not
|
|
1627
1632
|
* guaranteed to behave sensibly in all calling contexts.
|
|
1628
1633
|
*/
|
|
1629
|
-
get me(): Identity;
|
|
1634
|
+
get me(): OpenFin.Identity;
|
|
1630
1635
|
/**
|
|
1631
1636
|
* @internal
|
|
1632
1637
|
* @deprecated
|
|
@@ -1858,11 +1863,12 @@ declare type BeforeUnloadUserDecision = {
|
|
|
1858
1863
|
/**
|
|
1859
1864
|
* Array of views that will close.
|
|
1860
1865
|
*/
|
|
1861
|
-
viewsToClose:
|
|
1866
|
+
viewsToClose: Identity_4[];
|
|
1862
1867
|
};
|
|
1863
1868
|
|
|
1864
1869
|
/**
|
|
1865
1870
|
* Generated at the beginning of a user-driven change to a window's size or position.
|
|
1871
|
+
*
|
|
1866
1872
|
* @interface
|
|
1867
1873
|
*/
|
|
1868
1874
|
declare type BeginUserBoundsChangingEvent = UserBoundsChangeEvent & {
|
|
@@ -1903,31 +1909,33 @@ declare type Bounds = {
|
|
|
1903
1909
|
* Generated after changes in a window's size and/or position.
|
|
1904
1910
|
* @interface
|
|
1905
1911
|
*/
|
|
1906
|
-
declare type BoundsChangedEvent =
|
|
1912
|
+
declare type BoundsChangedEvent = BoundsDidChangeEvent & {
|
|
1907
1913
|
type: 'bounds-changed';
|
|
1908
1914
|
};
|
|
1909
1915
|
|
|
1910
|
-
|
|
1911
|
-
* A general bounds change event without event type.
|
|
1912
|
-
* @interface
|
|
1913
|
-
*/
|
|
1914
|
-
declare type BoundsChangeEvent = BaseEvent_5 & {
|
|
1916
|
+
declare type BoundsChangeEvent = BoundsEvent & {
|
|
1915
1917
|
changeType: 0 | 1 | 2;
|
|
1916
|
-
deferred: boolean;
|
|
1917
|
-
height: number;
|
|
1918
|
-
left: number;
|
|
1919
|
-
top: number;
|
|
1920
|
-
width: number;
|
|
1921
1918
|
};
|
|
1922
1919
|
|
|
1923
1920
|
/**
|
|
1924
1921
|
* Generated during changes to a window's size and/or position.
|
|
1925
1922
|
* @interface
|
|
1926
1923
|
*/
|
|
1927
|
-
declare type BoundsChangingEvent =
|
|
1924
|
+
declare type BoundsChangingEvent = BoundsDidChangeEvent & {
|
|
1928
1925
|
type: 'bounds-changing';
|
|
1929
1926
|
};
|
|
1930
1927
|
|
|
1928
|
+
/**
|
|
1929
|
+
* An event that fires when a window's bounds are successfully changed.
|
|
1930
|
+
*
|
|
1931
|
+
* @interface
|
|
1932
|
+
*/
|
|
1933
|
+
declare type BoundsDidChangeEvent = BoundsChangeEvent & {
|
|
1934
|
+
reason: 'self' | 'animation';
|
|
1935
|
+
};
|
|
1936
|
+
|
|
1937
|
+
declare type BoundsEvent = BaseEvent_5 & OpenFin.Bounds;
|
|
1938
|
+
|
|
1931
1939
|
/**
|
|
1932
1940
|
* A rule prescribing content creation in the browser.
|
|
1933
1941
|
*
|
|
@@ -3033,7 +3041,7 @@ declare type ClientConnectionPayload = ClientIdentity & ClientInfo;
|
|
|
3033
3041
|
* Identity of a channel client. Includes endpointId to differentiate between different connections for an entity.
|
|
3034
3042
|
* @interface
|
|
3035
3043
|
*/
|
|
3036
|
-
declare type ClientIdentity =
|
|
3044
|
+
declare type ClientIdentity = Identity_4 & {
|
|
3037
3045
|
/**
|
|
3038
3046
|
* Unique identifier for a client, because there can be multiple clients at one name/uuid entity.
|
|
3039
3047
|
*/
|
|
@@ -3266,7 +3274,7 @@ declare type CloseViewOptions = {
|
|
|
3266
3274
|
/**
|
|
3267
3275
|
*View to be closed.
|
|
3268
3276
|
*/
|
|
3269
|
-
viewIdentity:
|
|
3277
|
+
viewIdentity: Identity_4;
|
|
3270
3278
|
};
|
|
3271
3279
|
|
|
3272
3280
|
/**
|
|
@@ -3276,7 +3284,7 @@ declare type CloseViewPayload = {
|
|
|
3276
3284
|
/**
|
|
3277
3285
|
*View to be closed.
|
|
3278
3286
|
*/
|
|
3279
|
-
view:
|
|
3287
|
+
view: Identity_4;
|
|
3280
3288
|
/**
|
|
3281
3289
|
* The target layout identity where this view should be closed. If not provided, will resolve to the
|
|
3282
3290
|
* visible layout.
|
|
@@ -3294,7 +3302,7 @@ declare interface CloseWindowPayload {
|
|
|
3294
3302
|
*
|
|
3295
3303
|
* Identity of the Window
|
|
3296
3304
|
*/
|
|
3297
|
-
windowId:
|
|
3305
|
+
windowId: Identity_4;
|
|
3298
3306
|
options: {
|
|
3299
3307
|
/**
|
|
3300
3308
|
* @defaultValue false
|
|
@@ -3415,7 +3423,7 @@ declare type ConstViewOptions = {
|
|
|
3415
3423
|
/**
|
|
3416
3424
|
* The identity of the window this view should be attached to.
|
|
3417
3425
|
*/
|
|
3418
|
-
target:
|
|
3426
|
+
target: Identity_4;
|
|
3419
3427
|
/**
|
|
3420
3428
|
* Configures how new content (e,g, from `window.open` or a link) is opened.
|
|
3421
3429
|
*/
|
|
@@ -3640,7 +3648,7 @@ declare type ConstWindowOptions = {
|
|
|
3640
3648
|
/**
|
|
3641
3649
|
* Parent identity of a modal window. It will create a modal child window when this option is set.
|
|
3642
3650
|
*/
|
|
3643
|
-
modalParentIdentity:
|
|
3651
|
+
modalParentIdentity: Identity_4;
|
|
3644
3652
|
/**
|
|
3645
3653
|
* The name of the window.
|
|
3646
3654
|
*/
|
|
@@ -3658,7 +3666,9 @@ declare type ConstWindowOptions = {
|
|
|
3658
3666
|
*/
|
|
3659
3667
|
preloadScripts: PreloadScript[];
|
|
3660
3668
|
/**
|
|
3661
|
-
* String tag that attempts to group like-tagged renderers together.
|
|
3669
|
+
* String tag that attempts to group like-tagged renderers together.
|
|
3670
|
+
* 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.
|
|
3671
|
+
* @remarks Will only be used if pages are on the same origin.
|
|
3662
3672
|
*/
|
|
3663
3673
|
processAffinity: string;
|
|
3664
3674
|
/**
|
|
@@ -3705,11 +3715,6 @@ declare type ConstWindowOptions = {
|
|
|
3705
3715
|
* @deprecated - use `icon` instead.
|
|
3706
3716
|
*/
|
|
3707
3717
|
taskbarIcon: string;
|
|
3708
|
-
/**
|
|
3709
|
-
* Specify a taskbar group for the window.
|
|
3710
|
-
* _If omitted, defaults to app's uuid (`fin.Application.getCurrentSync().identity.uuid`)._
|
|
3711
|
-
*/
|
|
3712
|
-
taskbarIconGroup: string;
|
|
3713
3718
|
/**
|
|
3714
3719
|
* @defaultValue "about:blank"
|
|
3715
3720
|
*
|
|
@@ -4124,13 +4129,13 @@ declare type CreateViewPayload = {
|
|
|
4124
4129
|
* Window the view will be added to. If no target is provided, a new window will be created.
|
|
4125
4130
|
*/
|
|
4126
4131
|
target?: CreateViewTarget;
|
|
4127
|
-
targetView?:
|
|
4132
|
+
targetView?: Identity_4;
|
|
4128
4133
|
};
|
|
4129
4134
|
|
|
4130
4135
|
/**
|
|
4131
4136
|
* @interface
|
|
4132
4137
|
*/
|
|
4133
|
-
declare type CreateViewTarget = (
|
|
4138
|
+
declare type CreateViewTarget = (Identity_4 | LayoutIdentity) & {
|
|
4134
4139
|
/**
|
|
4135
4140
|
* If specified, view creation will not attach to a window and caller must
|
|
4136
4141
|
* insert the view into the layout explicitly
|
|
@@ -4576,7 +4581,7 @@ declare type EmitterAccessor = string[];
|
|
|
4576
4581
|
declare class EmitterBase<EmitterEvent extends BaseEvent, EmitterEventType extends EmitterEvent['type'] = EmitterEvent['type']> extends Base {
|
|
4577
4582
|
#private;
|
|
4578
4583
|
private topic;
|
|
4579
|
-
protected identity: ApplicationIdentity;
|
|
4584
|
+
protected identity: OpenFin.ApplicationIdentity;
|
|
4580
4585
|
constructor(wire: Transport, topic: string, ...additionalAccessors: string[]);
|
|
4581
4586
|
eventNames: () => (string | symbol)[];
|
|
4582
4587
|
/**
|
|
@@ -4656,20 +4661,17 @@ declare type EndLoadEvent = BaseEvent_5 & {
|
|
|
4656
4661
|
|
|
4657
4662
|
/**
|
|
4658
4663
|
* Generated at the end of a user-driven change to a window's size or position.
|
|
4664
|
+
*
|
|
4659
4665
|
* @interface
|
|
4660
4666
|
*/
|
|
4661
4667
|
declare type EndUserBoundsChangingEvent = UserBoundsChangeEvent & {
|
|
4662
4668
|
type: 'end-user-bounds-changing';
|
|
4663
4669
|
};
|
|
4664
4670
|
|
|
4665
|
-
declare type Entity = OpenFin.ApplicationType;
|
|
4666
|
-
|
|
4667
|
-
declare type EntityInfo = OpenFin.EntityInfo;
|
|
4668
|
-
|
|
4669
4671
|
/**
|
|
4670
4672
|
* @interface
|
|
4671
4673
|
*/
|
|
4672
|
-
declare type
|
|
4674
|
+
declare type EntityInfo = {
|
|
4673
4675
|
uuid: string;
|
|
4674
4676
|
name: string;
|
|
4675
4677
|
entityType: EntityType_4;
|
|
@@ -4755,6 +4757,7 @@ declare interface Environment {
|
|
|
4755
4757
|
getInteropInfo(fin: OpenFin.Fin<OpenFin.EntityType>): Promise<InternalInteropBrokerOptions & {
|
|
4756
4758
|
fdc3Version?: Version;
|
|
4757
4759
|
}>;
|
|
4760
|
+
getViewWindowIdentity(fin: OpenFin.Fin<OpenFin.EntityType>, identity: OpenFin.Identity): Promise<OpenFin.Identity>;
|
|
4758
4761
|
readonly type: EnvironmentType;
|
|
4759
4762
|
}
|
|
4760
4763
|
|
|
@@ -4819,7 +4822,7 @@ declare type Event_3 = ViewEvents.PropagatedEvent<'application'> | WindowEvents.
|
|
|
4819
4822
|
*/
|
|
4820
4823
|
declare type Event_4 = (WebContentsEvents.Event<'view'> & {
|
|
4821
4824
|
target: OpenFin.Identity;
|
|
4822
|
-
}) | CreatedEvent | DestroyedEvent | HiddenEvent | HotkeyEvent | ShownEvent | TargetChangedEvent | HostContextChangedEvent;
|
|
4825
|
+
}) | CreatedEvent | DestroyedEvent | HiddenEvent | HotkeyEvent | ShownEvent | TargetChangedEvent | HostContextChangedEvent | AddedToLayoutEvent | RemovedFromLayoutEvent;
|
|
4823
4826
|
|
|
4824
4827
|
/**
|
|
4825
4828
|
* [Union](https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#union-types) containing events shared by all WebContents elements
|
|
@@ -5039,7 +5042,7 @@ declare type ExternalApplicationEventType = EventType_4;
|
|
|
5039
5042
|
* @interface
|
|
5040
5043
|
*/
|
|
5041
5044
|
declare type ExternalApplicationInfo = {
|
|
5042
|
-
parent:
|
|
5045
|
+
parent: Identity_4;
|
|
5043
5046
|
};
|
|
5044
5047
|
|
|
5045
5048
|
/**
|
|
@@ -5582,6 +5585,10 @@ declare type FileDownloadEvent = {
|
|
|
5582
5585
|
* The number of bytes of the item that have already been downloaded.
|
|
5583
5586
|
*/
|
|
5584
5587
|
downloadedBytes: number;
|
|
5588
|
+
/**
|
|
5589
|
+
* Unique identifier for the downloaded file.
|
|
5590
|
+
*/
|
|
5591
|
+
fileUuid: string;
|
|
5585
5592
|
} & NamedEvent;
|
|
5586
5593
|
|
|
5587
5594
|
/**
|
|
@@ -5843,7 +5850,7 @@ declare type FrameInfo = {
|
|
|
5843
5850
|
uuid: string;
|
|
5844
5851
|
url: string;
|
|
5845
5852
|
entityType: EntityType_4;
|
|
5846
|
-
parent:
|
|
5853
|
+
parent: Identity_4;
|
|
5847
5854
|
};
|
|
5848
5855
|
|
|
5849
5856
|
/**
|
|
@@ -5918,12 +5925,10 @@ declare type FrameProcessDetails = ProcessDetails & {
|
|
|
5918
5925
|
entityType: string;
|
|
5919
5926
|
};
|
|
5920
5927
|
|
|
5921
|
-
declare type GetLogRequestType = OpenFin.GetLogRequestType;
|
|
5922
|
-
|
|
5923
5928
|
/**
|
|
5924
5929
|
* @interface
|
|
5925
5930
|
*/
|
|
5926
|
-
declare type
|
|
5931
|
+
declare type GetLogRequestType = {
|
|
5927
5932
|
/**
|
|
5928
5933
|
* The name of the running application
|
|
5929
5934
|
*/
|
|
@@ -5943,7 +5948,7 @@ declare type GetWindowContextPayload = {
|
|
|
5943
5948
|
/**
|
|
5944
5949
|
* Identity of the entity targeted by the call to {@link Platform#setWindowContext Platform.setWindowContext}.
|
|
5945
5950
|
*/
|
|
5946
|
-
target:
|
|
5951
|
+
target: Identity_4;
|
|
5947
5952
|
};
|
|
5948
5953
|
|
|
5949
5954
|
/**
|
|
@@ -6212,8 +6217,6 @@ declare type Identity_2 = OpenFin.Identity;
|
|
|
6212
6217
|
|
|
6213
6218
|
declare type Identity_3 = OpenFin.Identity;
|
|
6214
6219
|
|
|
6215
|
-
declare type Identity_4 = OpenFin.Identity;
|
|
6216
|
-
|
|
6217
6220
|
/**
|
|
6218
6221
|
* Unique identifier for a window, view or iframe.
|
|
6219
6222
|
*
|
|
@@ -6222,7 +6225,7 @@ declare type Identity_4 = OpenFin.Identity;
|
|
|
6222
6225
|
*
|
|
6223
6226
|
* @interface
|
|
6224
6227
|
*/
|
|
6225
|
-
declare type
|
|
6228
|
+
declare type Identity_4 = {
|
|
6226
6229
|
/**
|
|
6227
6230
|
* Universally unique identifier of the application that owns the component.
|
|
6228
6231
|
*/
|
|
@@ -6384,12 +6387,10 @@ declare type InstallationInfo = {
|
|
|
6384
6387
|
cachedManifest: any;
|
|
6385
6388
|
};
|
|
6386
6389
|
|
|
6387
|
-
declare type InstalledApps = OpenFin.InstalledApps;
|
|
6388
|
-
|
|
6389
6390
|
/**
|
|
6390
6391
|
* @interface
|
|
6391
6392
|
*/
|
|
6392
|
-
declare type
|
|
6393
|
+
declare type InstalledApps = {
|
|
6393
6394
|
[key: string]: InstallationInfo;
|
|
6394
6395
|
};
|
|
6395
6396
|
|
|
@@ -7175,7 +7176,7 @@ declare class InteropBroker extends Base {
|
|
|
7175
7176
|
* @param _id the identity tryinc to connect
|
|
7176
7177
|
* @param _connectionPayload optional payload to use in custom implementations, will be undefined by default
|
|
7177
7178
|
*/
|
|
7178
|
-
isConnectionAuthorized(_id:
|
|
7179
|
+
isConnectionAuthorized(_id: Identity_2, _connectionPayload?: any): Promise<boolean> | boolean;
|
|
7179
7180
|
/**
|
|
7180
7181
|
* Called before every action to check if this entity should be allowed to take the action.
|
|
7181
7182
|
* Return false to prevent the action
|
|
@@ -7976,6 +7977,10 @@ declare type LaunchIntoPlatformPayload = {
|
|
|
7976
7977
|
*/
|
|
7977
7978
|
declare class Layout extends Base {
|
|
7978
7979
|
#private;
|
|
7980
|
+
/**
|
|
7981
|
+
* @internal
|
|
7982
|
+
*/
|
|
7983
|
+
static getClient(layout: Layout): Promise<LayoutEntitiesClient>;
|
|
7979
7984
|
/**
|
|
7980
7985
|
* @internal
|
|
7981
7986
|
*/
|
|
@@ -8081,6 +8086,17 @@ declare class Layout extends Base {
|
|
|
8081
8086
|
* ```
|
|
8082
8087
|
*/
|
|
8083
8088
|
getRootItem(): Promise<OpenFin.ColumnOrRow | OpenFin.TabStack>;
|
|
8089
|
+
/**
|
|
8090
|
+
* Retrieves the OpenFin.TabStack instance which the View belongs to.
|
|
8091
|
+
*
|
|
8092
|
+
* @example
|
|
8093
|
+
* ```js
|
|
8094
|
+
* const viewIdentity = { uuid: 'uuid', name: 'view-name' };
|
|
8095
|
+
* const stack = await fin.View.wrapSync(viewIdentity).getStackByViewIdentity(viewIdentity);
|
|
8096
|
+
* console.log(await stack.getViews());
|
|
8097
|
+
* ```
|
|
8098
|
+
*/
|
|
8099
|
+
getStackByViewIdentity(identity: OpenFin.Identity): Promise<OpenFin.TabStack>;
|
|
8084
8100
|
/**
|
|
8085
8101
|
* Replaces the specified view with a view with the provided configuration.
|
|
8086
8102
|
*
|
|
@@ -8107,7 +8123,7 @@ declare class Layout extends Base {
|
|
|
8107
8123
|
* await layout.replaceView(viewToReplace.identity, newViewConfig);
|
|
8108
8124
|
* ```
|
|
8109
8125
|
*/
|
|
8110
|
-
replaceView: (viewToReplace:
|
|
8126
|
+
replaceView: (viewToReplace: Identity_3, newView: OpenFin.PlatformViewCreationOptions) => Promise<void>;
|
|
8111
8127
|
/**
|
|
8112
8128
|
* Replaces a Platform window's layout with a preset layout arrangement using the existing Views attached to the window.
|
|
8113
8129
|
* The preset options are `columns`, `grid`, `rows`, and `tabs`.
|
|
@@ -8162,7 +8178,7 @@ declare type LayoutContent = Array<LayoutItemConfig | LayoutRow | LayoutColumn |
|
|
|
8162
8178
|
/**
|
|
8163
8179
|
* The base payload for the CustomEvent.detail property for Layout events emitted on the layout container element.
|
|
8164
8180
|
*/
|
|
8165
|
-
declare type LayoutDOMEvent =
|
|
8181
|
+
declare type LayoutDOMEvent = Identity_4 & {
|
|
8166
8182
|
type: string;
|
|
8167
8183
|
topic: 'openfin-DOM-event';
|
|
8168
8184
|
tabSelector: string;
|
|
@@ -8223,7 +8239,7 @@ declare type LayoutEntityTypes = 'column' | 'row' | 'stack';
|
|
|
8223
8239
|
/**
|
|
8224
8240
|
* @interface
|
|
8225
8241
|
*/
|
|
8226
|
-
declare type LayoutIdentity =
|
|
8242
|
+
declare type LayoutIdentity = Identity_4 & {
|
|
8227
8243
|
/**
|
|
8228
8244
|
* The name of the layout in a given window.
|
|
8229
8245
|
*/
|
|
@@ -8332,7 +8348,7 @@ declare interface LayoutManager<T extends LayoutSnapshot> {
|
|
|
8332
8348
|
* @param identity
|
|
8333
8349
|
* @returns LayoutIdentity | undefined
|
|
8334
8350
|
*/
|
|
8335
|
-
resolveLayoutIdentity(identity?:
|
|
8351
|
+
resolveLayoutIdentity(identity?: Identity_4 | LayoutIdentity): LayoutIdentity | undefined;
|
|
8336
8352
|
/**
|
|
8337
8353
|
* @experimental
|
|
8338
8354
|
*
|
|
@@ -8349,7 +8365,7 @@ declare interface LayoutManager<T extends LayoutSnapshot> {
|
|
|
8349
8365
|
/**
|
|
8350
8366
|
* @experimental
|
|
8351
8367
|
*/
|
|
8352
|
-
getLayoutIdentityForView(viewIdentity:
|
|
8368
|
+
getLayoutIdentityForView(viewIdentity: Identity_4): LayoutIdentity;
|
|
8353
8369
|
/**
|
|
8354
8370
|
* @experimental
|
|
8355
8371
|
*/
|
|
@@ -8450,6 +8466,17 @@ declare class LayoutModule extends Base {
|
|
|
8450
8466
|
* ```
|
|
8451
8467
|
*/
|
|
8452
8468
|
getCurrentSync(): OpenFin.Layout;
|
|
8469
|
+
/**
|
|
8470
|
+
* Retrieves the OpenFin.Layout instance for the Window the View is attached to.
|
|
8471
|
+
*
|
|
8472
|
+
* @example
|
|
8473
|
+
* ```js
|
|
8474
|
+
* const viewIdentity = { uuid: 'uuid', name: 'view-name' };
|
|
8475
|
+
* const layout = await fin.Platform.Layout.getLayoutByViewIdentity(viewIdentity);
|
|
8476
|
+
* console.log(await layout.getCurrentViews());
|
|
8477
|
+
* ```
|
|
8478
|
+
*/
|
|
8479
|
+
getLayoutByViewIdentity(viewIdentity: OpenFin.Identity): Promise<OpenFin.Layout>;
|
|
8453
8480
|
/**
|
|
8454
8481
|
* Initialize the window's Layout.
|
|
8455
8482
|
*
|
|
@@ -8823,12 +8850,10 @@ declare type Listener<T extends {
|
|
|
8823
8850
|
type: string;
|
|
8824
8851
|
}> = (payload: T) => void;
|
|
8825
8852
|
|
|
8826
|
-
declare type LogInfo = OpenFin.LogInfo;
|
|
8827
|
-
|
|
8828
8853
|
/**
|
|
8829
8854
|
* @interface
|
|
8830
8855
|
*/
|
|
8831
|
-
declare type
|
|
8856
|
+
declare type LogInfo = {
|
|
8832
8857
|
/**
|
|
8833
8858
|
* The filename of the log
|
|
8834
8859
|
*/
|
|
@@ -8843,8 +8868,6 @@ declare type LogInfo_2 = {
|
|
|
8843
8868
|
date: string;
|
|
8844
8869
|
};
|
|
8845
8870
|
|
|
8846
|
-
declare type LogLevel = OpenFin.LogLevel;
|
|
8847
|
-
|
|
8848
8871
|
/**
|
|
8849
8872
|
* Describes the minimum level (inclusive) above which logs will be written.
|
|
8850
8873
|
*
|
|
@@ -8854,7 +8877,7 @@ declare type LogLevel = OpenFin.LogLevel;
|
|
|
8854
8877
|
* `error` and above<br>
|
|
8855
8878
|
* `fatal`: fatal only, indicates a crash is imminent
|
|
8856
8879
|
*/
|
|
8857
|
-
declare type
|
|
8880
|
+
declare type LogLevel = 'verbose' | 'info' | 'warning' | 'error' | 'fatal';
|
|
8858
8881
|
|
|
8859
8882
|
declare type LogUploaderUIOptions = {
|
|
8860
8883
|
title?: string;
|
|
@@ -9507,6 +9530,12 @@ declare type MutableWindowOptions = {
|
|
|
9507
9530
|
* Shows the window's icon in the taskbar.
|
|
9508
9531
|
*/
|
|
9509
9532
|
showTaskbarIcon: boolean;
|
|
9533
|
+
/**
|
|
9534
|
+
* Specify a taskbar group for the window.
|
|
9535
|
+
* _If omitted, defaults to app's uuid (`fin.Application.getCurrentSync().identity.uuid`)._
|
|
9536
|
+
* @remarks It's only updatable when `enableJumpList` is set to false.
|
|
9537
|
+
*/
|
|
9538
|
+
taskbarIconGroup: string;
|
|
9510
9539
|
interop: InteropConfig;
|
|
9511
9540
|
/**
|
|
9512
9541
|
* @internal
|
|
@@ -9704,13 +9733,13 @@ declare namespace OpenFin {
|
|
|
9704
9733
|
LayoutPosition,
|
|
9705
9734
|
WebContent,
|
|
9706
9735
|
PlatformProvider,
|
|
9707
|
-
|
|
9708
|
-
|
|
9736
|
+
ApplicationIdentity,
|
|
9737
|
+
Identity_4 as Identity,
|
|
9709
9738
|
ClientIdentity,
|
|
9710
9739
|
ClientInfo,
|
|
9711
9740
|
ClientIdentityMultiRuntime,
|
|
9712
9741
|
ClientConnectionPayload,
|
|
9713
|
-
|
|
9742
|
+
EntityInfo,
|
|
9714
9743
|
EntityType_4 as EntityType,
|
|
9715
9744
|
Bounds,
|
|
9716
9745
|
WindowBounds,
|
|
@@ -9846,7 +9875,7 @@ declare namespace OpenFin {
|
|
|
9846
9875
|
GpuInfo,
|
|
9847
9876
|
OSInfo,
|
|
9848
9877
|
HostSpecs,
|
|
9849
|
-
|
|
9878
|
+
PrinterInfo,
|
|
9850
9879
|
Dpi,
|
|
9851
9880
|
Margins,
|
|
9852
9881
|
PrintOptions,
|
|
@@ -9954,24 +9983,24 @@ declare namespace OpenFin {
|
|
|
9954
9983
|
BeforeUnloadUserDecision,
|
|
9955
9984
|
ViewStatuses,
|
|
9956
9985
|
CloseWindowPayload,
|
|
9957
|
-
|
|
9958
|
-
|
|
9986
|
+
ProxyInfo,
|
|
9987
|
+
ProxyConfig,
|
|
9959
9988
|
ProxySystemInfo,
|
|
9960
9989
|
ChannelAction_2 as ChannelAction,
|
|
9961
9990
|
ChannelMiddleware_2 as ChannelMiddleware,
|
|
9962
9991
|
ErrorMiddleware_2 as ErrorMiddleware,
|
|
9963
|
-
|
|
9964
|
-
|
|
9992
|
+
ApplicationState,
|
|
9993
|
+
InstalledApps,
|
|
9965
9994
|
InstallationInfo,
|
|
9966
|
-
|
|
9967
|
-
|
|
9995
|
+
GetLogRequestType,
|
|
9996
|
+
LogInfo,
|
|
9968
9997
|
SendApplicationLogResponse,
|
|
9969
|
-
|
|
9998
|
+
LogLevel,
|
|
9970
9999
|
PermissionState_2 as PermissionState,
|
|
9971
|
-
|
|
10000
|
+
RegistryInfo,
|
|
9972
10001
|
ApplicationType,
|
|
9973
10002
|
WindowInfo,
|
|
9974
|
-
|
|
10003
|
+
ApplicationWindowInfo,
|
|
9975
10004
|
WindowDetail,
|
|
9976
10005
|
LayoutPresetType,
|
|
9977
10006
|
LayoutIdentity,
|
|
@@ -11958,12 +11987,10 @@ declare type PresetLayoutOptions_2 = {
|
|
|
11958
11987
|
presetType: LayoutPresetType;
|
|
11959
11988
|
};
|
|
11960
11989
|
|
|
11961
|
-
declare type PrinterInfo = OpenFin.PrinterInfo;
|
|
11962
|
-
|
|
11963
11990
|
/**
|
|
11964
11991
|
* @interface
|
|
11965
11992
|
*/
|
|
11966
|
-
declare type
|
|
11993
|
+
declare type PrinterInfo = {
|
|
11967
11994
|
/**
|
|
11968
11995
|
* Printer Name
|
|
11969
11996
|
*/
|
|
@@ -12225,20 +12252,100 @@ declare type PropagatedWindowEvent<TargetTopic extends string> = PropagatedEvent
|
|
|
12225
12252
|
declare type PropagatedWindowEventType = PropagatedEvent_3<string>['type'];
|
|
12226
12253
|
|
|
12227
12254
|
declare interface ProtocolMap extends ProtocolMapBase {
|
|
12255
|
+
'is-application-running': ApplicationIdentityCall<{}, boolean>;
|
|
12256
|
+
'destroy-application': ApplicationIdentityCall<{
|
|
12257
|
+
force: boolean;
|
|
12258
|
+
}, void>;
|
|
12259
|
+
'close-application': ApplicationIdentityCall<{
|
|
12260
|
+
force: boolean;
|
|
12261
|
+
}, void>;
|
|
12262
|
+
'application-close': ApplicationIdentityCall<{}, void>;
|
|
12263
|
+
'get-child-windows': ApplicationIdentityCall<{}, Array<unknown>>;
|
|
12264
|
+
'get-application-manifest': {
|
|
12265
|
+
request: {
|
|
12266
|
+
manifestUrl?: string;
|
|
12267
|
+
uuid?: string;
|
|
12268
|
+
};
|
|
12269
|
+
response: OpenFin.Manifest;
|
|
12270
|
+
};
|
|
12271
|
+
'get-parent-application': ApplicationIdentityCall<{}, string>;
|
|
12272
|
+
'get-shortcuts': ApplicationIdentityCall<{}, OpenFin.ShortCutConfig>;
|
|
12273
|
+
'application-get-views': ApplicationIdentityCall<{}, OpenFin.Identity[]>;
|
|
12274
|
+
'get-application-zoom-level': ApplicationIdentityCall<{}, number>;
|
|
12275
|
+
'application-get-window': ApplicationIdentityCall<{}, void>;
|
|
12276
|
+
'register-user': ApplicationIdentityCall<{
|
|
12277
|
+
userName: string;
|
|
12278
|
+
appName: string;
|
|
12279
|
+
}, void>;
|
|
12280
|
+
'remove-tray-icon': ApplicationIdentityCall<{}, void>;
|
|
12281
|
+
'restart-application': ApplicationIdentityCall<{}, void>;
|
|
12282
|
+
'application-run': ApplicationIdentityCall<{}, void>;
|
|
12283
|
+
'run-application': ApplicationIdentityCall<{
|
|
12284
|
+
manifestUrl?: string | undefined;
|
|
12285
|
+
opts?: OpenFin.RvmLaunchOptions;
|
|
12286
|
+
}, void>;
|
|
12287
|
+
'relaunch-on-close': ApplicationIdentityCall<{}, void>;
|
|
12288
|
+
'send-application-log': ApplicationIdentityCall<{}, OpenFin.SendApplicationLogResponse>;
|
|
12289
|
+
'set-jump-list': ApplicationIdentityCall<{
|
|
12290
|
+
config: OpenFin.JumpListCategory[] | null;
|
|
12291
|
+
}, void>;
|
|
12292
|
+
'set-tray-icon': ApplicationIdentityCall<{
|
|
12293
|
+
enabledIcon: string;
|
|
12294
|
+
}, void>;
|
|
12295
|
+
'set-shortcuts': ApplicationIdentityCall<{
|
|
12296
|
+
data: OpenFin.ShortCutConfig;
|
|
12297
|
+
}, void>;
|
|
12298
|
+
'set-shortcut-query-args': ApplicationIdentityCall<{
|
|
12299
|
+
data: string;
|
|
12300
|
+
}, void>;
|
|
12301
|
+
'set-application-zoom-level': ApplicationIdentityCall<{
|
|
12302
|
+
level: number;
|
|
12303
|
+
}, void>;
|
|
12304
|
+
'set-app-log-username': ApplicationIdentityCall<{
|
|
12305
|
+
data: string;
|
|
12306
|
+
}, void>;
|
|
12307
|
+
'get-tray-icon-info': ApplicationIdentityCall<{}, OpenFin.TrayInfo>;
|
|
12308
|
+
'has-tray-icon': ApplicationIdentityCall<{}, boolean>;
|
|
12309
|
+
'terminate-application': ApplicationIdentityCall<{}, void>;
|
|
12310
|
+
'wait-for-hung-application': ApplicationIdentityCall<{}, void>;
|
|
12311
|
+
'get-info': ApplicationIdentityCall<{}, OpenFin.ApplicationInfo>;
|
|
12312
|
+
'application-get-process-info': ApplicationIdentityCall<{}, OpenFin.AppProcessInfo>;
|
|
12313
|
+
'set-file-download-location': {
|
|
12314
|
+
request: OpenFin.Identity & {
|
|
12315
|
+
downloadLocation: string;
|
|
12316
|
+
};
|
|
12317
|
+
response: void;
|
|
12318
|
+
};
|
|
12319
|
+
'get-file-download-location': ApplicationIdentityCall<{}, string>;
|
|
12320
|
+
'show-tray-icon-popup-menu': {
|
|
12321
|
+
request: OpenFin.Identity & {
|
|
12322
|
+
options: OpenFin.ShowTrayIconPopupMenuOptions;
|
|
12323
|
+
};
|
|
12324
|
+
response: OpenFin.MenuResult;
|
|
12325
|
+
};
|
|
12326
|
+
'close-tray-icon-popup-menu': IdentityCall<{}, void>;
|
|
12327
|
+
'wrap-application': VoidCall;
|
|
12328
|
+
'wrap-application-sync': VoidCall;
|
|
12329
|
+
'create-application': ApiCall<OpenFin.ApplicationCreationOptions, void>;
|
|
12330
|
+
'application-create': VoidCall;
|
|
12331
|
+
'start-application': VoidCall;
|
|
12332
|
+
'run-applications': ApiCall<{
|
|
12333
|
+
applications: Array<OpenFin.ManifestInfo>;
|
|
12334
|
+
opts?: OpenFin.RvmLaunchOptions;
|
|
12335
|
+
}, void>;
|
|
12336
|
+
'get-current-application': VoidCall;
|
|
12337
|
+
'get-current-application-sync': VoidCall;
|
|
12338
|
+
'application-start-from-manifest': VoidCall;
|
|
12339
|
+
'application-create-from-manifest': VoidCall;
|
|
12228
12340
|
'request-external-authorization': {
|
|
12229
12341
|
request: any;
|
|
12230
12342
|
response: void;
|
|
12231
12343
|
specialResponse: AuthorizationPayload;
|
|
12232
12344
|
};
|
|
12233
|
-
'
|
|
12234
|
-
request:
|
|
12235
|
-
response: OpenFin.Identity[];
|
|
12236
|
-
};
|
|
12237
|
-
'set-jump-list': {
|
|
12238
|
-
request: {
|
|
12239
|
-
config: OpenFin.JumpListCategory[] | null;
|
|
12240
|
-
} & OpenFin.ApplicationIdentity;
|
|
12345
|
+
'request-authorization': {
|
|
12346
|
+
request: ExistingConnectConfig | RemoteConfig | ReceiverConfig;
|
|
12241
12347
|
response: void;
|
|
12348
|
+
specialResponse: Payload;
|
|
12242
12349
|
};
|
|
12243
12350
|
'clipboard-read-formats': {
|
|
12244
12351
|
request: {
|
|
@@ -12250,6 +12357,24 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
12250
12357
|
request: OpenFin.ReadImageClipboardRequest;
|
|
12251
12358
|
response: string;
|
|
12252
12359
|
};
|
|
12360
|
+
'clipboard-read-text': {
|
|
12361
|
+
request: {
|
|
12362
|
+
type?: OpenFin.ClipboardSelectionType;
|
|
12363
|
+
};
|
|
12364
|
+
response: string;
|
|
12365
|
+
};
|
|
12366
|
+
'clipboard-read-html': {
|
|
12367
|
+
request: {
|
|
12368
|
+
type?: OpenFin.ClipboardSelectionType;
|
|
12369
|
+
};
|
|
12370
|
+
response: string;
|
|
12371
|
+
};
|
|
12372
|
+
'clipboard-read-rtf': {
|
|
12373
|
+
request: {
|
|
12374
|
+
type?: OpenFin.ClipboardSelectionType;
|
|
12375
|
+
};
|
|
12376
|
+
response: string;
|
|
12377
|
+
};
|
|
12253
12378
|
'clipboard-write-image': {
|
|
12254
12379
|
request: OpenFin.WriteImageClipboardRequest;
|
|
12255
12380
|
response: void;
|
|
@@ -12258,6 +12383,18 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
12258
12383
|
request: OpenFin.WriteAnyRequestType;
|
|
12259
12384
|
response: void;
|
|
12260
12385
|
};
|
|
12386
|
+
'clipboard-write-text': {
|
|
12387
|
+
request: OpenFin.WriteClipboardRequest;
|
|
12388
|
+
response: void;
|
|
12389
|
+
};
|
|
12390
|
+
'clipboard-write-html': {
|
|
12391
|
+
request: OpenFin.WriteClipboardRequest;
|
|
12392
|
+
response: void;
|
|
12393
|
+
};
|
|
12394
|
+
'clipboard-write-rtf': {
|
|
12395
|
+
request: OpenFin.WriteClipboardRequest;
|
|
12396
|
+
response: void;
|
|
12397
|
+
};
|
|
12261
12398
|
'get-view-window': IdentityCall<{}, OpenFin.Identity>;
|
|
12262
12399
|
'create-view': IdentityCall<OpenFin.ViewCreationOptions & {
|
|
12263
12400
|
uuid: string;
|
|
@@ -12283,13 +12420,85 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
12283
12420
|
options: OpenFin.UpdatableViewOptions;
|
|
12284
12421
|
}>;
|
|
12285
12422
|
'trigger-before-unload': IdentityCall<{}, boolean>;
|
|
12423
|
+
'view-wrap-sync': VoidCall;
|
|
12424
|
+
'view-wrap': VoidCall;
|
|
12425
|
+
'view-get-current': VoidCall;
|
|
12426
|
+
'view-get-current-sync': VoidCall;
|
|
12427
|
+
'animate-window': IdentityCall<{
|
|
12428
|
+
transitions: OpenFin.Transition;
|
|
12429
|
+
options: OpenFin.TransitionOptions;
|
|
12430
|
+
}>;
|
|
12431
|
+
'get-all-frames': IdentityCall<{}, OpenFin.FrameInfo[]>;
|
|
12432
|
+
'get-window-bounds': IdentityCall<{}, OpenFin.WindowBounds>;
|
|
12433
|
+
'center-window': IdentityCall;
|
|
12434
|
+
'blur-window': IdentityCall;
|
|
12435
|
+
'bring-window-to-front': IdentityCall;
|
|
12436
|
+
'hide-window': IdentityCall;
|
|
12437
|
+
'close-window': IdentityCall<{
|
|
12438
|
+
force: boolean;
|
|
12439
|
+
}>;
|
|
12440
|
+
'focused-webview-changed': IdentityCall;
|
|
12441
|
+
'get-window-native-id': IdentityCall<{}, string>;
|
|
12286
12442
|
'window-get-views': IdentityCall<{}, OpenFin.Identity[]>;
|
|
12287
|
-
'
|
|
12443
|
+
'disable-window-frame': IdentityCall;
|
|
12444
|
+
'enable-window-frame': IdentityCall;
|
|
12445
|
+
'flash-window': IdentityCall;
|
|
12446
|
+
'stop-flash-window': IdentityCall;
|
|
12447
|
+
'get-window-info': IdentityCall<{}, OpenFin.WindowInfo>;
|
|
12448
|
+
'get-window-options': IdentityCall<{}, OpenFin.WindowOptions>;
|
|
12449
|
+
'get-window-snapshot': IdentityCall<{
|
|
12450
|
+
area?: OpenFin.Rectangle;
|
|
12451
|
+
}, string>;
|
|
12452
|
+
'get-window-state': IdentityCall<{}, 'minimized' | 'maximized' | 'normal'>;
|
|
12453
|
+
'is-window-showing': IdentityCall<{}, boolean>;
|
|
12454
|
+
'maximize-window': IdentityCall;
|
|
12455
|
+
'minimize-window': IdentityCall;
|
|
12456
|
+
'move-window-by': IdentityCall<WithPositioningOptions<{
|
|
12457
|
+
deltaLeft: number;
|
|
12458
|
+
deltaTop: number;
|
|
12459
|
+
}>>;
|
|
12460
|
+
'move-window': IdentityCall<WithPositioningOptions<{
|
|
12461
|
+
left: number;
|
|
12462
|
+
top: number;
|
|
12463
|
+
}>>;
|
|
12464
|
+
'resize-window-by': IdentityCall<WithPositioningOptions<{
|
|
12465
|
+
deltaWidth: number;
|
|
12466
|
+
deltaHeight: number;
|
|
12467
|
+
anchor: OpenFin.AnchorType;
|
|
12468
|
+
}>>;
|
|
12469
|
+
'resize-window': IdentityCall<WithPositioningOptions<{
|
|
12470
|
+
width: number;
|
|
12471
|
+
height: number;
|
|
12472
|
+
anchor: OpenFin.AnchorType;
|
|
12473
|
+
}>>;
|
|
12474
|
+
'restore-window': IdentityCall;
|
|
12475
|
+
'set-foreground-window': IdentityCall;
|
|
12476
|
+
'set-window-bounds': IdentityCall<WithPositioningOptions<Partial<OpenFin.Bounds>>>;
|
|
12477
|
+
'show-window': IdentityCall<{
|
|
12478
|
+
force: boolean;
|
|
12479
|
+
}>;
|
|
12480
|
+
'show-at-window': IdentityCall<{
|
|
12481
|
+
left: number;
|
|
12482
|
+
top: number;
|
|
12483
|
+
force: boolean;
|
|
12484
|
+
}>;
|
|
12485
|
+
'update-window-options': IdentityCall<{
|
|
12486
|
+
options: OpenFin.UpdatableWindowOptions;
|
|
12487
|
+
}>;
|
|
12488
|
+
'window-authenticate': IdentityCall<{
|
|
12489
|
+
userName: string;
|
|
12490
|
+
password: string;
|
|
12491
|
+
}>;
|
|
12492
|
+
'show-popup-menu': {
|
|
12288
12493
|
request: OpenFin.Identity & {
|
|
12289
|
-
options: OpenFin.
|
|
12494
|
+
options: OpenFin.ShowPopupMenuOptions;
|
|
12290
12495
|
};
|
|
12291
|
-
response:
|
|
12496
|
+
response: OpenFin.MenuResult;
|
|
12292
12497
|
};
|
|
12498
|
+
'close-popup-menu': IdentityCall;
|
|
12499
|
+
'dispatch-popup-result': IdentityCall<{
|
|
12500
|
+
data: any;
|
|
12501
|
+
}>;
|
|
12293
12502
|
'print-screenshot': {
|
|
12294
12503
|
request: OpenFin.Identity;
|
|
12295
12504
|
response: void;
|
|
@@ -12300,6 +12509,229 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
12300
12509
|
};
|
|
12301
12510
|
response: void;
|
|
12302
12511
|
};
|
|
12512
|
+
'window-wrap': VoidCall;
|
|
12513
|
+
'window-wrap-sync': VoidCall;
|
|
12514
|
+
'create-window': VoidCall;
|
|
12515
|
+
'get-current-window': VoidCall;
|
|
12516
|
+
'get-current-window-sync': VoidCall;
|
|
12517
|
+
'get-external-application-info': ApiCall<OpenFin.ApplicationIdentity, OpenFin.ExternalApplicationInfo>;
|
|
12518
|
+
'external-application-wrap': VoidCall;
|
|
12519
|
+
'external-application-wrap-sync': VoidCall;
|
|
12520
|
+
'get-frame-info': ApiCall<OpenFin.Identity, OpenFin.FrameInfo>;
|
|
12521
|
+
'get-parent-window': ApiCall<OpenFin.Identity, OpenFin.FrameInfo>;
|
|
12522
|
+
'frame-wrap': VoidCall;
|
|
12523
|
+
'frame-wrap-sync': VoidCall;
|
|
12524
|
+
'frame-get-current': VoidCall;
|
|
12525
|
+
'frame-get-current-sync': VoidCall;
|
|
12526
|
+
'global-hotkey-register': {
|
|
12527
|
+
request: {
|
|
12528
|
+
hotkey: string;
|
|
12529
|
+
};
|
|
12530
|
+
response: void;
|
|
12531
|
+
};
|
|
12532
|
+
'global-hotkey-unregister': {
|
|
12533
|
+
request: {
|
|
12534
|
+
hotkey: string;
|
|
12535
|
+
};
|
|
12536
|
+
response: void;
|
|
12537
|
+
};
|
|
12538
|
+
'global-hotkey-unregister-all': {
|
|
12539
|
+
request: {};
|
|
12540
|
+
response: void;
|
|
12541
|
+
};
|
|
12542
|
+
'global-hotkey-is-registered': {
|
|
12543
|
+
request: {
|
|
12544
|
+
hotkey: string;
|
|
12545
|
+
};
|
|
12546
|
+
response: boolean;
|
|
12547
|
+
};
|
|
12548
|
+
'publish-message': {
|
|
12549
|
+
request: {
|
|
12550
|
+
topic: string;
|
|
12551
|
+
message: any;
|
|
12552
|
+
sourceWindowName: string;
|
|
12553
|
+
};
|
|
12554
|
+
response: void;
|
|
12555
|
+
};
|
|
12556
|
+
'send-message': {
|
|
12557
|
+
request: {
|
|
12558
|
+
destinationUuid: string;
|
|
12559
|
+
destinationWindowName: string | undefined;
|
|
12560
|
+
topic: string;
|
|
12561
|
+
message: any;
|
|
12562
|
+
sourceWindowName: string;
|
|
12563
|
+
};
|
|
12564
|
+
response: void;
|
|
12565
|
+
};
|
|
12566
|
+
'subscribe': {
|
|
12567
|
+
request: {
|
|
12568
|
+
sourceUuid: string;
|
|
12569
|
+
sourceWindowName: string;
|
|
12570
|
+
topic: string;
|
|
12571
|
+
destinationWindowName: string;
|
|
12572
|
+
messageKey?: any;
|
|
12573
|
+
};
|
|
12574
|
+
response: void;
|
|
12575
|
+
};
|
|
12576
|
+
'unsubscribe': {
|
|
12577
|
+
request: {
|
|
12578
|
+
sourceUuid: string;
|
|
12579
|
+
sourceWindowName: string;
|
|
12580
|
+
topic: string;
|
|
12581
|
+
destinationWindowName: string;
|
|
12582
|
+
};
|
|
12583
|
+
response: void;
|
|
12584
|
+
};
|
|
12585
|
+
'get-all-channels': GetterCall<OpenFin.ProviderIdentity[]>;
|
|
12586
|
+
'connect-to-channel': {
|
|
12587
|
+
request: any;
|
|
12588
|
+
response: OpenFin.RoutingInfo;
|
|
12589
|
+
};
|
|
12590
|
+
'create-channel': ApiCall<{
|
|
12591
|
+
channelName: string;
|
|
12592
|
+
}, OpenFin.ProviderIdentity>;
|
|
12593
|
+
'destroy-channel': ApiCall<{
|
|
12594
|
+
channelName: string;
|
|
12595
|
+
}, void>;
|
|
12596
|
+
'disconnect-from-channel': {
|
|
12597
|
+
request: {
|
|
12598
|
+
channelName: string;
|
|
12599
|
+
uuid: string;
|
|
12600
|
+
name: string;
|
|
12601
|
+
endpointId: string;
|
|
12602
|
+
};
|
|
12603
|
+
response: void;
|
|
12604
|
+
};
|
|
12605
|
+
'send-channel-message': {
|
|
12606
|
+
request: any;
|
|
12607
|
+
response: any;
|
|
12608
|
+
};
|
|
12609
|
+
'get-version': GetterCall<string>;
|
|
12610
|
+
'clear-cache': ApiCall<OpenFin.ClearCacheOption, void>;
|
|
12611
|
+
'delete-cache-request': VoidCall;
|
|
12612
|
+
'exit-desktop': VoidCall;
|
|
12613
|
+
'fetch-manifest': ApiCall<{
|
|
12614
|
+
manifestUrl: string;
|
|
12615
|
+
}, any>;
|
|
12616
|
+
'flush-cookie-store': VoidCall;
|
|
12617
|
+
'get-all-windows': GetterCall<OpenFin.ApplicationWindowInfo[]>;
|
|
12618
|
+
'get-all-applications': GetterCall<OpenFin.ApplicationState[]>;
|
|
12619
|
+
'get-command-line-arguments': GetterCall<string>;
|
|
12620
|
+
'get-crash-reporter-state': GetterCall<OpenFin.CrashReporterState>;
|
|
12621
|
+
'start-crash-reporter': {
|
|
12622
|
+
request: OpenFin.CrashReporterOptions | {
|
|
12623
|
+
diagnosticMode: boolean;
|
|
12624
|
+
};
|
|
12625
|
+
response: OpenFin.CrashReporterState;
|
|
12626
|
+
};
|
|
12627
|
+
'get-unique-user-id': GetterCall<string>;
|
|
12628
|
+
'get-entity-info': {
|
|
12629
|
+
request: {
|
|
12630
|
+
uuid: string;
|
|
12631
|
+
name: string;
|
|
12632
|
+
};
|
|
12633
|
+
response: OpenFin.EntityInfo;
|
|
12634
|
+
};
|
|
12635
|
+
'get-environment-variable': {
|
|
12636
|
+
request: {
|
|
12637
|
+
environmentVariables: string;
|
|
12638
|
+
};
|
|
12639
|
+
response: string;
|
|
12640
|
+
};
|
|
12641
|
+
'get-focused-window': GetterCall<OpenFin.Identity | null>;
|
|
12642
|
+
'is-app-certified': {
|
|
12643
|
+
request: {
|
|
12644
|
+
manifestUrl: string;
|
|
12645
|
+
};
|
|
12646
|
+
response: {
|
|
12647
|
+
action: string;
|
|
12648
|
+
certifiedInfo: OpenFin.CertifiedAppInfo;
|
|
12649
|
+
};
|
|
12650
|
+
};
|
|
12651
|
+
'get-installed-runtimes': GetterCall<{
|
|
12652
|
+
action: string;
|
|
12653
|
+
runtimes: string[];
|
|
12654
|
+
}>;
|
|
12655
|
+
'get-installed-apps': GetterCall<OpenFin.InstalledApps>;
|
|
12656
|
+
'view-log': ApiCall<OpenFin.GetLogRequestType, string>;
|
|
12657
|
+
'get-machine-id': GetterCall<string>;
|
|
12658
|
+
'get-min-log-level': GetterCall<OpenFin.LogLevel>;
|
|
12659
|
+
'list-logs': GetterCall<OpenFin.LogInfo[]>;
|
|
12660
|
+
'get-monitor-info': GetterCall<OpenFin.MonitorInfo>;
|
|
12661
|
+
'get-mouse-position': GetterCall<OpenFin.PointTopLeft>;
|
|
12662
|
+
'process-snapshot': GetterCall<Array<any>>;
|
|
12663
|
+
'get-all-process-info': ApiCall<OpenFin.ApplicationIdentity, OpenFin.SystemProcessInfo>;
|
|
12664
|
+
'get-proxy-settings': GetterCall<OpenFin.ProxyInfo>;
|
|
12665
|
+
'get-runtime-info': GetterCall<OpenFin.RuntimeInfo>;
|
|
12666
|
+
'get-rvm-info': GetterCall<OpenFin.RVMInfo>;
|
|
12667
|
+
'get-host-specs': GetterCall<OpenFin.HostSpecs>;
|
|
12668
|
+
'get-os-info': GetterCall<OpenFin.OSInfo>;
|
|
12669
|
+
'launch-external-process': ApiCall<OpenFin.ExternalProcessRequestType, OpenFin.Identity>;
|
|
12670
|
+
'monitor-external-process': ApiCall<OpenFin.ExternalProcessInfo, OpenFin.Identity>;
|
|
12671
|
+
'write-to-log': ApiCall<{
|
|
12672
|
+
level: string;
|
|
12673
|
+
message: string;
|
|
12674
|
+
}, void>;
|
|
12675
|
+
'open-url-with-browser': ApiCall<{
|
|
12676
|
+
url: string;
|
|
12677
|
+
}, void>;
|
|
12678
|
+
'register-custom-protocol': ApiCall<OpenFin.CustomProtocolOptions, void>;
|
|
12679
|
+
'unregister-custom-protocol': ApiCall<{
|
|
12680
|
+
protocolName: string;
|
|
12681
|
+
}, void>;
|
|
12682
|
+
'get-custom-protocol-state': ApiCall<{
|
|
12683
|
+
protocolName: string;
|
|
12684
|
+
}, OpenFin.CustomProtocolState>;
|
|
12685
|
+
'release-external-process': ApiCall<{
|
|
12686
|
+
uuid: string;
|
|
12687
|
+
}, void>;
|
|
12688
|
+
'show-developer-tools': ApiCall<OpenFin.Identity, void>;
|
|
12689
|
+
'terminate-external-process': ApiCall<OpenFin.TerminateExternalRequestType, void>;
|
|
12690
|
+
'update-proxy': ApiCall<OpenFin.ProxyConfig, void>;
|
|
12691
|
+
'download-asset': {
|
|
12692
|
+
request: OpenFin.AppAssetInfo & {
|
|
12693
|
+
downloadId: string;
|
|
12694
|
+
};
|
|
12695
|
+
response: void;
|
|
12696
|
+
};
|
|
12697
|
+
'download-runtime': {
|
|
12698
|
+
request: OpenFin.RuntimeDownloadOptions & {
|
|
12699
|
+
downloadId: string;
|
|
12700
|
+
};
|
|
12701
|
+
response: void;
|
|
12702
|
+
};
|
|
12703
|
+
'download-preload-scripts': ApiCall<{
|
|
12704
|
+
scripts: Array<OpenFin.DownloadPreloadOption>;
|
|
12705
|
+
}, Array<OpenFin.DownloadPreloadInfo>>;
|
|
12706
|
+
'get-all-external-applications': ApiCall<void, Array<OpenFin.Identity>>;
|
|
12707
|
+
'get-app-asset-info': ApiCall<OpenFin.AppAssetRequest, OpenFin.AppAssetInfo>;
|
|
12708
|
+
'get-cookies': {
|
|
12709
|
+
request: OpenFin.CookieOption & {
|
|
12710
|
+
url: string;
|
|
12711
|
+
};
|
|
12712
|
+
response: Array<OpenFin.CookieInfo>;
|
|
12713
|
+
};
|
|
12714
|
+
'set-min-log-level': ApiCall<{
|
|
12715
|
+
level: OpenFin.LogLevel;
|
|
12716
|
+
}, void>;
|
|
12717
|
+
'resolve-uuid': ApiCall<{
|
|
12718
|
+
entityKey: string;
|
|
12719
|
+
}, OpenFin.ApplicationType>;
|
|
12720
|
+
'read-registry-value': ApiCall<{
|
|
12721
|
+
rootKey: string;
|
|
12722
|
+
subkey: string;
|
|
12723
|
+
value: string;
|
|
12724
|
+
}, OpenFin.RegistryInfo>;
|
|
12725
|
+
'register-external-connection': ApiCall<{
|
|
12726
|
+
uuid: string;
|
|
12727
|
+
}, OpenFin.ExternalConnection>;
|
|
12728
|
+
'get-service-configuration': ApiCall<{
|
|
12729
|
+
name: string;
|
|
12730
|
+
}, OpenFin.ServiceConfiguration>;
|
|
12731
|
+
'get-system-app-configuration': ApiCall<{
|
|
12732
|
+
name: string;
|
|
12733
|
+
}, any>;
|
|
12734
|
+
'run-rvm-health-check': ApiCall<void, string[]>;
|
|
12303
12735
|
'launch-manifest': {
|
|
12304
12736
|
request: {
|
|
12305
12737
|
manifestUrl: string;
|
|
@@ -12311,17 +12743,12 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
12311
12743
|
manifest: OpenFin.Manifest;
|
|
12312
12744
|
};
|
|
12313
12745
|
};
|
|
12314
|
-
'
|
|
12746
|
+
'query-permission-for-current-context': {
|
|
12315
12747
|
request: {
|
|
12316
|
-
|
|
12317
|
-
|
|
12318
|
-
response: any;
|
|
12319
|
-
};
|
|
12320
|
-
'show-popup-menu': {
|
|
12321
|
-
request: OpenFin.Identity & {
|
|
12322
|
-
options: OpenFin.ShowPopupMenuOptions;
|
|
12748
|
+
apiName: string;
|
|
12749
|
+
identity: OpenFin.Identity;
|
|
12323
12750
|
};
|
|
12324
|
-
response: OpenFin.
|
|
12751
|
+
response: OpenFin.QueryPermissionResult;
|
|
12325
12752
|
};
|
|
12326
12753
|
'enable-native-window-integration-provider': {
|
|
12327
12754
|
request: {
|
|
@@ -12329,24 +12756,34 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
12329
12756
|
};
|
|
12330
12757
|
response: OpenFin.NativeWindowIntegrationProviderAuthorization;
|
|
12331
12758
|
};
|
|
12759
|
+
'register-usage': ApiCall<OpenFin.RegisterUsageData, void>;
|
|
12760
|
+
'system-get-printers': GetterCall<OpenFin.PrinterInfo[]>;
|
|
12761
|
+
'system-update-process-logging-options': ApiCall<{
|
|
12762
|
+
options: OpenFin.ProcessLoggingOptions;
|
|
12763
|
+
}, void>;
|
|
12764
|
+
'get-domain-settings': ApiCall<OpenFin.ApplicationIdentity, OpenFin.DefaultDomainSettings>;
|
|
12765
|
+
'set-domain-settings': ApiCall<OpenFin.ApplicationIdentity & {
|
|
12766
|
+
domainSettings: OpenFin.DefaultDomainSettings;
|
|
12767
|
+
}, void>;
|
|
12768
|
+
'system-register-shutdown-handler': VoidCall;
|
|
12332
12769
|
'get-permissions': GetterCall<any>;
|
|
12333
|
-
'get-all-channels': GetterCall<OpenFin.ProviderIdentity[]>;
|
|
12334
|
-
'set-file-download-location': {
|
|
12335
|
-
request: OpenFin.Identity & {
|
|
12336
|
-
downloadLocation: string;
|
|
12337
|
-
};
|
|
12338
|
-
response: void;
|
|
12339
|
-
};
|
|
12340
|
-
'get-file-download-location': {
|
|
12341
|
-
request: OpenFin.ApplicationIdentity;
|
|
12342
|
-
response: string;
|
|
12343
|
-
};
|
|
12344
|
-
'close-popup-menu': IdentityCall;
|
|
12345
12770
|
'fdc3-add-context-listener': VoidCall;
|
|
12771
|
+
'fdc3-add-intent-listener': VoidCall;
|
|
12772
|
+
'fdc3-raise-intent': VoidCall;
|
|
12773
|
+
'fdc3-find-intent': VoidCall;
|
|
12774
|
+
'fdc3-find-intents-by-context': VoidCall;
|
|
12775
|
+
'fdc3-raise-intent-for-context': VoidCall;
|
|
12776
|
+
'fdc3-get-info': VoidCall;
|
|
12777
|
+
'fdc3-find-instances': VoidCall;
|
|
12778
|
+
'fdc3-get-app-metadata': VoidCall;
|
|
12346
12779
|
'fdc3-broadcast': VoidCall;
|
|
12780
|
+
'fdc3-open': VoidCall;
|
|
12781
|
+
'fdc3-get-or-create-channel': VoidCall;
|
|
12347
12782
|
'fdc3-get-system-channels': VoidCall;
|
|
12348
12783
|
'fdc3-join-channel': VoidCall;
|
|
12784
|
+
'fdc3-get-current-channel': VoidCall;
|
|
12349
12785
|
'fdc3-leave-current-channel': VoidCall;
|
|
12786
|
+
'interop-init': VoidCall;
|
|
12350
12787
|
'interop-connect-sync': VoidCall;
|
|
12351
12788
|
'interop-client-set-context': VoidCall;
|
|
12352
12789
|
'interop-client-add-context-handler': VoidCall;
|
|
@@ -12355,6 +12792,13 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
12355
12792
|
'interop-client-remove-from-context-group': VoidCall;
|
|
12356
12793
|
'interop-client-get-all-clients-in-context-group': VoidCall;
|
|
12357
12794
|
'interop-client-get-info-for-context-group': VoidCall;
|
|
12795
|
+
'interop-client-fire-intent': VoidCall;
|
|
12796
|
+
'interop-client-register-intent-handler': VoidCall;
|
|
12797
|
+
'interop-client-get-current-context': VoidCall;
|
|
12798
|
+
'interop-client-get-info-for-intent': VoidCall;
|
|
12799
|
+
'interop-client-get-info-for-intents-by-context': VoidCall;
|
|
12800
|
+
'interop-client-fire-intent-for-context': VoidCall;
|
|
12801
|
+
'interop-client-add-ondisconnection-listener': VoidCall;
|
|
12358
12802
|
'interop-broker-add-client-to-context-group': VoidCall;
|
|
12359
12803
|
'interop-broker-get-all-clients-in-context-group': VoidCall;
|
|
12360
12804
|
'interop-broker-get-context-groups': VoidCall;
|
|
@@ -12366,13 +12810,100 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
12366
12810
|
'interop-broker-remove-from-context-group': VoidCall;
|
|
12367
12811
|
'interop-broker-set-context': VoidCall;
|
|
12368
12812
|
'interop-broker-set-context-for-group': VoidCall;
|
|
12369
|
-
'
|
|
12370
|
-
|
|
12371
|
-
|
|
12372
|
-
|
|
12373
|
-
|
|
12374
|
-
|
|
12375
|
-
|
|
12813
|
+
'interop-broker-get-current-context': VoidCall;
|
|
12814
|
+
'interop-broker-set-intent-target': VoidCall;
|
|
12815
|
+
'interop-session-context-group-set-context': VoidCall;
|
|
12816
|
+
'interop-session-context-group-get-context': VoidCall;
|
|
12817
|
+
'interop-session-context-group-add-handler': VoidCall;
|
|
12818
|
+
'platform-wrap': VoidCall;
|
|
12819
|
+
'platform-wrap-sync': VoidCall;
|
|
12820
|
+
'platform-get-current': VoidCall;
|
|
12821
|
+
'platform-get-current-sync': VoidCall;
|
|
12822
|
+
'platform-start': VoidCall;
|
|
12823
|
+
'platform-start-from-manifest': VoidCall;
|
|
12824
|
+
'platform-get-client': ApplicationIdentityCall<{}, void>;
|
|
12825
|
+
'platform-create-view': ApplicationIdentityCall<{}, void>;
|
|
12826
|
+
'platform-create-window': ApplicationIdentityCall<{}, void>;
|
|
12827
|
+
'platform-quit': ApplicationIdentityCall<{}, void>;
|
|
12828
|
+
'platform-close-view': ApplicationIdentityCall<{}, void>;
|
|
12829
|
+
'platform-reparent-view': ApplicationIdentityCall<{}, void>;
|
|
12830
|
+
'platform-get-snapshot': ApplicationIdentityCall<{}, void>;
|
|
12831
|
+
'platform-apply-snapshot': ApplicationIdentityCall<{}, void>;
|
|
12832
|
+
'platform-launch-content-manifest': ApplicationIdentityCall<{}, void>;
|
|
12833
|
+
'platform-set-window-context': ApplicationIdentityCall<{}, void>;
|
|
12834
|
+
'platform-get-window-context': ApplicationIdentityCall<{}, void>;
|
|
12835
|
+
'platform-close-window': ApplicationIdentityCall<{}, void>;
|
|
12836
|
+
'layout-wrap': VoidCall;
|
|
12837
|
+
'layout-wrap-sync': VoidCall;
|
|
12838
|
+
'layout-get-current': VoidCall;
|
|
12839
|
+
'layout-get-current-sync': VoidCall;
|
|
12840
|
+
'layout-init': VoidCall;
|
|
12841
|
+
'layout-get-config': VoidCall;
|
|
12842
|
+
'layout-get-views': VoidCall;
|
|
12843
|
+
'layout-replace': VoidCall;
|
|
12844
|
+
'layout-get-root-item': VoidCall;
|
|
12845
|
+
'layout-replace-view': VoidCall;
|
|
12846
|
+
'layout-apply-preset': VoidCall;
|
|
12847
|
+
'layout-controller-get-root': VoidCall;
|
|
12848
|
+
'layout-controller-get-stack-by-view': VoidCall;
|
|
12849
|
+
'layout-controller-get-stack-views': VoidCall;
|
|
12850
|
+
'layout-controller-get-content': VoidCall;
|
|
12851
|
+
'layout-controller-get-parent': VoidCall;
|
|
12852
|
+
'layout-controller-is-root': VoidCall;
|
|
12853
|
+
'layout-controller-exists': VoidCall;
|
|
12854
|
+
'layout-controller-add-view-to-stack': VoidCall;
|
|
12855
|
+
'layout-controller-remove-view-from-stack': VoidCall;
|
|
12856
|
+
'layout-controller-create-adjacent-stack': VoidCall;
|
|
12857
|
+
'layout-controller-get-adjacent-stacks': VoidCall;
|
|
12858
|
+
'layout-controller-set-stack-active-view': VoidCall;
|
|
12859
|
+
'snapshot-source-init': VoidCall;
|
|
12860
|
+
'snapshot-source-wrap-sync': VoidCall;
|
|
12861
|
+
'snapshot-source-wrap': VoidCall;
|
|
12862
|
+
'snapshot-source-ready': VoidCall;
|
|
12863
|
+
'snapshot-source-get-snapshot': VoidCall;
|
|
12864
|
+
'snapshot-source-apply-snapshot': VoidCall;
|
|
12865
|
+
'capture-page': IdentityCall<{
|
|
12866
|
+
options?: OpenFin.CapturePageOptions;
|
|
12867
|
+
}, string>;
|
|
12868
|
+
'execute-javascript-in-window': IdentityCall<{
|
|
12869
|
+
code: string;
|
|
12870
|
+
}, unknown>;
|
|
12871
|
+
'get-zoom-level': IdentityCall<{}, number>;
|
|
12872
|
+
'set-zoom-level': IdentityCall<{
|
|
12873
|
+
level: number;
|
|
12874
|
+
}, void>;
|
|
12875
|
+
'navigate-window': IdentityCall<{
|
|
12876
|
+
url: string;
|
|
12877
|
+
}, void>;
|
|
12878
|
+
'navigate-window-back': IdentityCall<{}, void>;
|
|
12879
|
+
'navigate-window-forward': IdentityCall<{}, void>;
|
|
12880
|
+
'stop-window-navigation': IdentityCall<{}, void>;
|
|
12881
|
+
'reload-window': IdentityCall<{
|
|
12882
|
+
ignoreCache: boolean;
|
|
12883
|
+
}, void>;
|
|
12884
|
+
'print': IdentityCall<{
|
|
12885
|
+
options: OpenFin.PrintOptions;
|
|
12886
|
+
}, void>;
|
|
12887
|
+
'find-in-page': IdentityCall<{
|
|
12888
|
+
searchTerm: string;
|
|
12889
|
+
options?: OpenFin.FindInPageOptions;
|
|
12890
|
+
}, void>;
|
|
12891
|
+
'stop-find-in-page': IdentityCall<{
|
|
12892
|
+
action: 'clearSelection' | 'keepSelection' | 'activateSelection';
|
|
12893
|
+
}, void>;
|
|
12894
|
+
'get-printers': IdentityCall<{}, OpenFin.PrinterInfo>;
|
|
12895
|
+
'focus-window': IdentityCall<{
|
|
12896
|
+
emitSynthFocused: boolean;
|
|
12897
|
+
}, void>;
|
|
12898
|
+
'get-process-info': IdentityCall<{}, OpenFin.EntityProcessDetails>;
|
|
12899
|
+
'get-shared-workers': IdentityCall<{}, OpenFin.SharedWorkerInfo[]>;
|
|
12900
|
+
'inspect-shared-worker': IdentityCall<{}, void>;
|
|
12901
|
+
'inspect-shared-worker-by-id': IdentityCall<{
|
|
12902
|
+
workerId: string;
|
|
12903
|
+
}, void>;
|
|
12904
|
+
'inspect-service-worker': IdentityCall<{}, void>;
|
|
12905
|
+
'view-show-popup-window': IdentityCall<{}, void>;
|
|
12906
|
+
'window-show-popup-window': IdentityCall<{}, void>;
|
|
12376
12907
|
'try-create-popup-window': {
|
|
12377
12908
|
request: OpenFin.Identity & {
|
|
12378
12909
|
options: OpenFin.PopupOptions;
|
|
@@ -12388,9 +12919,6 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
12388
12919
|
};
|
|
12389
12920
|
response: OpenFin.PopupResult;
|
|
12390
12921
|
};
|
|
12391
|
-
'dispatch-popup-result': IdentityCall<{
|
|
12392
|
-
data: any;
|
|
12393
|
-
}>;
|
|
12394
12922
|
'render-overlay': {
|
|
12395
12923
|
request: {
|
|
12396
12924
|
bounds: OpenFin.Bounds;
|
|
@@ -12410,40 +12938,6 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
12410
12938
|
};
|
|
12411
12939
|
response: void;
|
|
12412
12940
|
};
|
|
12413
|
-
'get-host-specs': GetterCall<OpenFin.HostSpecs>;
|
|
12414
|
-
'get-os-info': GetterCall<OpenFin.OSInfo>;
|
|
12415
|
-
'system-get-printers': GetterCall<OpenFin.PrinterInfo[]>;
|
|
12416
|
-
'system-register-shutdown-handler': VoidCall;
|
|
12417
|
-
'get-domain-settings': ApiCall<OpenFin.ApplicationIdentity, OpenFin.DefaultDomainSettings>;
|
|
12418
|
-
'set-domain-settings': ApiCall<OpenFin.ApplicationIdentity & {
|
|
12419
|
-
domainSettings: OpenFin.DefaultDomainSettings;
|
|
12420
|
-
}, void>;
|
|
12421
|
-
'move-window-by': IdentityCall<WithPositioningOptions<{
|
|
12422
|
-
deltaLeft: number;
|
|
12423
|
-
deltaTop: number;
|
|
12424
|
-
}>>;
|
|
12425
|
-
'move-window': IdentityCall<WithPositioningOptions<{
|
|
12426
|
-
left: number;
|
|
12427
|
-
top: number;
|
|
12428
|
-
}>>;
|
|
12429
|
-
'resize-window-by': IdentityCall<WithPositioningOptions<{
|
|
12430
|
-
deltaWidth: number;
|
|
12431
|
-
deltaHeight: number;
|
|
12432
|
-
anchor: OpenFin.AnchorType;
|
|
12433
|
-
}>>;
|
|
12434
|
-
'resize-window': IdentityCall<WithPositioningOptions<{
|
|
12435
|
-
width: number;
|
|
12436
|
-
height: number;
|
|
12437
|
-
anchor: OpenFin.AnchorType;
|
|
12438
|
-
}>>;
|
|
12439
|
-
'set-window-bounds': IdentityCall<WithPositioningOptions<Partial<OpenFin.Bounds>>>;
|
|
12440
|
-
'register-custom-protocol': ApiCall<OpenFin.CustomProtocolOptions, void>;
|
|
12441
|
-
'unregister-custom-protocol': ApiCall<{
|
|
12442
|
-
protocolName: string;
|
|
12443
|
-
}, void>;
|
|
12444
|
-
'get-custom-protocol-state': ApiCall<{
|
|
12445
|
-
protocolName: string;
|
|
12446
|
-
}, OpenFin.CustomProtocolState>;
|
|
12447
12941
|
}
|
|
12448
12942
|
|
|
12449
12943
|
declare interface ProtocolMapBase {
|
|
@@ -12473,7 +12967,7 @@ declare type ProviderIdentity_3 = OpenFin.ProviderIdentity;
|
|
|
12473
12967
|
* Identity of a channel provider.
|
|
12474
12968
|
* @interface
|
|
12475
12969
|
*/
|
|
12476
|
-
declare type ProviderIdentity_4 =
|
|
12970
|
+
declare type ProviderIdentity_4 = Identity_4 & {
|
|
12477
12971
|
/**
|
|
12478
12972
|
* Identifier of the channel.
|
|
12479
12973
|
*/
|
|
@@ -12484,12 +12978,10 @@ declare type ProviderIdentity_4 = Identity_5 & {
|
|
|
12484
12978
|
channelName: string;
|
|
12485
12979
|
};
|
|
12486
12980
|
|
|
12487
|
-
declare type ProxyConfig = OpenFin.ProxyConfig;
|
|
12488
|
-
|
|
12489
12981
|
/**
|
|
12490
12982
|
* @interface
|
|
12491
12983
|
*/
|
|
12492
|
-
declare type
|
|
12984
|
+
declare type ProxyConfig = {
|
|
12493
12985
|
/**
|
|
12494
12986
|
* The configured proxy address.
|
|
12495
12987
|
*/
|
|
@@ -12501,13 +12993,11 @@ declare type ProxyConfig_2 = {
|
|
|
12501
12993
|
type: string;
|
|
12502
12994
|
};
|
|
12503
12995
|
|
|
12504
|
-
declare type ProxyInfo = OpenFin.ProxyInfo;
|
|
12505
|
-
|
|
12506
12996
|
/**
|
|
12507
12997
|
* @interface
|
|
12508
12998
|
*/
|
|
12509
|
-
declare type
|
|
12510
|
-
config:
|
|
12999
|
+
declare type ProxyInfo = {
|
|
13000
|
+
config: ProxyConfig;
|
|
12511
13001
|
system: ProxySystemInfo;
|
|
12512
13002
|
};
|
|
12513
13003
|
|
|
@@ -12613,12 +13103,10 @@ declare type RegisterUsageData = {
|
|
|
12613
13103
|
type: string;
|
|
12614
13104
|
};
|
|
12615
13105
|
|
|
12616
|
-
declare type RegistryInfo = OpenFin.RegistryInfo;
|
|
12617
|
-
|
|
12618
13106
|
/**
|
|
12619
13107
|
* @interface
|
|
12620
13108
|
*/
|
|
12621
|
-
declare type
|
|
13109
|
+
declare type RegistryInfo = {
|
|
12622
13110
|
data: any;
|
|
12623
13111
|
rootKey: string;
|
|
12624
13112
|
subkey: string;
|
|
@@ -12639,6 +13127,15 @@ declare interface RemoteConfig extends ExistingConnectConfig {
|
|
|
12639
13127
|
token: string;
|
|
12640
13128
|
}
|
|
12641
13129
|
|
|
13130
|
+
/**
|
|
13131
|
+
* Generated when a View is removed from a layout.
|
|
13132
|
+
* @interface
|
|
13133
|
+
*/
|
|
13134
|
+
declare type RemovedFromLayoutEvent = BaseEvent_4 & {
|
|
13135
|
+
type: 'removed-from-layout';
|
|
13136
|
+
layoutIdentity: OpenFin.LayoutIdentity;
|
|
13137
|
+
};
|
|
13138
|
+
|
|
12642
13139
|
/**
|
|
12643
13140
|
* @interface
|
|
12644
13141
|
*/
|
|
@@ -12667,14 +13164,14 @@ declare type ReplaceLayoutPayload = {
|
|
|
12667
13164
|
/**
|
|
12668
13165
|
* Identity of the window whose layout will be replaced.
|
|
12669
13166
|
*/
|
|
12670
|
-
target:
|
|
13167
|
+
target: Identity_4 | LayoutIdentity;
|
|
12671
13168
|
};
|
|
12672
13169
|
|
|
12673
13170
|
/**
|
|
12674
13171
|
* @interface
|
|
12675
13172
|
*/
|
|
12676
13173
|
declare type ReplaceViewOptions = {
|
|
12677
|
-
viewToReplace:
|
|
13174
|
+
viewToReplace: Identity_4;
|
|
12678
13175
|
newView: ViewState;
|
|
12679
13176
|
};
|
|
12680
13177
|
|
|
@@ -12683,7 +13180,7 @@ declare type ReplaceViewOptions = {
|
|
|
12683
13180
|
*/
|
|
12684
13181
|
declare type ReplaceViewPayload = {
|
|
12685
13182
|
opts: {
|
|
12686
|
-
viewToReplace:
|
|
13183
|
+
viewToReplace: Identity_4;
|
|
12687
13184
|
newView: Partial<ViewOptions>;
|
|
12688
13185
|
};
|
|
12689
13186
|
target: LayoutIdentity;
|
|
@@ -13049,7 +13546,7 @@ declare type SetWindowContextPayload = {
|
|
|
13049
13546
|
/**
|
|
13050
13547
|
* Identity of the entity targeted by the call to {@link Platform#setWindowContext Platform.setWindowContext}.
|
|
13051
13548
|
*/
|
|
13052
|
-
target:
|
|
13549
|
+
target: Identity_4;
|
|
13053
13550
|
};
|
|
13054
13551
|
|
|
13055
13552
|
/**
|
|
@@ -13499,7 +13996,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
13499
13996
|
* fin.System.getAllWindows().then(wins => console.log(wins)).catch(err => console.log(err));
|
|
13500
13997
|
* ```
|
|
13501
13998
|
*/
|
|
13502
|
-
getAllWindows(): Promise<Array<ApplicationWindowInfo>>;
|
|
13999
|
+
getAllWindows(): Promise<Array<OpenFin.ApplicationWindowInfo>>;
|
|
13503
14000
|
/**
|
|
13504
14001
|
* Retrieves an array of data for all applications.
|
|
13505
14002
|
*
|
|
@@ -13508,7 +14005,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
13508
14005
|
* fin.System.getAllApplications().then(apps => console.log(apps)).catch(err => console.log(err));
|
|
13509
14006
|
* ```
|
|
13510
14007
|
*/
|
|
13511
|
-
getAllApplications(): Promise<Array<ApplicationState>>;
|
|
14008
|
+
getAllApplications(): Promise<Array<OpenFin.ApplicationState>>;
|
|
13512
14009
|
/**
|
|
13513
14010
|
* Retrieves the command line argument string that started OpenFin Runtime.
|
|
13514
14011
|
*
|
|
@@ -13583,7 +14080,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
13583
14080
|
* }
|
|
13584
14081
|
* ```
|
|
13585
14082
|
*/
|
|
13586
|
-
getEntityInfo(uuid: string, name: string): Promise<EntityInfo>;
|
|
14083
|
+
getEntityInfo(uuid: string, name: string): Promise<OpenFin.EntityInfo>;
|
|
13587
14084
|
/**
|
|
13588
14085
|
* Gets the value of a given environment variable on the computer on which the runtime is installed
|
|
13589
14086
|
*
|
|
@@ -13625,7 +14122,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
13625
14122
|
* ```
|
|
13626
14123
|
*/
|
|
13627
14124
|
getInstalledRuntimes(): Promise<string[]>;
|
|
13628
|
-
getInstalledApps(): Promise<InstalledApps>;
|
|
14125
|
+
getInstalledApps(): Promise<OpenFin.InstalledApps>;
|
|
13629
14126
|
/**
|
|
13630
14127
|
* Retrieves the contents of the log with the specified filename.
|
|
13631
14128
|
* @param options A object that id defined by the GetLogRequestType interface
|
|
@@ -13640,7 +14137,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
13640
14137
|
* getLog().then(log => console.log(log)).catch(err => console.log(err));
|
|
13641
14138
|
* ```
|
|
13642
14139
|
*/
|
|
13643
|
-
getLog(options: GetLogRequestType): Promise<string>;
|
|
14140
|
+
getLog(options: OpenFin.GetLogRequestType): Promise<string>;
|
|
13644
14141
|
/**
|
|
13645
14142
|
* Returns a unique identifier (UUID) provided by the machine.
|
|
13646
14143
|
*
|
|
@@ -13658,7 +14155,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
13658
14155
|
* fin.System.getMinLogLevel().then(level => console.log(level)).catch(err => console.log(err));
|
|
13659
14156
|
* ```
|
|
13660
14157
|
*/
|
|
13661
|
-
getMinLogLevel(): Promise<LogLevel>;
|
|
14158
|
+
getMinLogLevel(): Promise<OpenFin.LogLevel>;
|
|
13662
14159
|
/**
|
|
13663
14160
|
* Retrieves an array containing information for each log file.
|
|
13664
14161
|
*
|
|
@@ -13667,7 +14164,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
13667
14164
|
* fin.System.getLogList().then(logList => console.log(logList)).catch(err => console.log(err));
|
|
13668
14165
|
* ```
|
|
13669
14166
|
*/
|
|
13670
|
-
getLogList(): Promise<Array<LogInfo>>;
|
|
14167
|
+
getLogList(): Promise<Array<OpenFin.LogInfo>>;
|
|
13671
14168
|
/**
|
|
13672
14169
|
* Retrieves an object that contains data about the monitor setup of the
|
|
13673
14170
|
* computer that the runtime is running on.
|
|
@@ -13738,7 +14235,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
13738
14235
|
* }
|
|
13739
14236
|
* ```
|
|
13740
14237
|
*/
|
|
13741
|
-
getProxySettings(): Promise<ProxyInfo>;
|
|
14238
|
+
getProxySettings(): Promise<OpenFin.ProxyInfo>;
|
|
13742
14239
|
/**
|
|
13743
14240
|
* Returns information about the running Runtime in an object.
|
|
13744
14241
|
*
|
|
@@ -14105,7 +14602,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
14105
14602
|
* }
|
|
14106
14603
|
* ```
|
|
14107
14604
|
*/
|
|
14108
|
-
launchExternalProcess(options: OpenFin.ExternalProcessRequestType): Promise<
|
|
14605
|
+
launchExternalProcess(options: OpenFin.ExternalProcessRequestType): Promise<Identity>;
|
|
14109
14606
|
/**
|
|
14110
14607
|
* Monitors a running process. A pid for the process must be included in options.
|
|
14111
14608
|
* <br> A uuid may be optionally provided. If not provided, OpenFin will create a uuid for the new process.
|
|
@@ -14122,7 +14619,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
14122
14619
|
* }).then(processIdentity => console.log(processIdentity)).catch(err => console.log(err));
|
|
14123
14620
|
* ```
|
|
14124
14621
|
*/
|
|
14125
|
-
monitorExternalProcess(options: OpenFin.ExternalProcessInfo): Promise<
|
|
14622
|
+
monitorExternalProcess(options: OpenFin.ExternalProcessInfo): Promise<Identity>;
|
|
14126
14623
|
/**
|
|
14127
14624
|
* Writes the passed message into both the log file and the console.
|
|
14128
14625
|
* @param level The log level for the entry. Can be either "info", "warning" or "error"
|
|
@@ -14256,7 +14753,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
14256
14753
|
*
|
|
14257
14754
|
* @tutorial System.showDeveloperTools
|
|
14258
14755
|
*/
|
|
14259
|
-
showDeveloperTools(identity:
|
|
14756
|
+
showDeveloperTools(identity: Identity): Promise<void>;
|
|
14260
14757
|
/**
|
|
14261
14758
|
* Attempt to close an external process. The process will be terminated if it
|
|
14262
14759
|
* has not closed after the elapsed timeout in milliseconds.
|
|
@@ -14290,7 +14787,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
14290
14787
|
* .catch(err => console.error(err));
|
|
14291
14788
|
* ```
|
|
14292
14789
|
*/
|
|
14293
|
-
updateProxySettings(options: ProxyConfig): Promise<void>;
|
|
14790
|
+
updateProxySettings(options: OpenFin.ProxyConfig): Promise<void>;
|
|
14294
14791
|
/**
|
|
14295
14792
|
* Downloads the given application asset.
|
|
14296
14793
|
*
|
|
@@ -14382,7 +14879,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
14382
14879
|
* .catch(err => console.log(err));
|
|
14383
14880
|
* ```
|
|
14384
14881
|
*/
|
|
14385
|
-
getAllExternalApplications(): Promise<Array<
|
|
14882
|
+
getAllExternalApplications(): Promise<Array<Identity>>;
|
|
14386
14883
|
/**
|
|
14387
14884
|
* Retrieves app asset information.
|
|
14388
14885
|
* @param options
|
|
@@ -14411,7 +14908,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
14411
14908
|
* fin.System.setMinLogLevel("verbose").then(() => console.log("log level is set to verbose")).catch(err => console.log(err));
|
|
14412
14909
|
* ```
|
|
14413
14910
|
*/
|
|
14414
|
-
setMinLogLevel(level: LogLevel): Promise<void>;
|
|
14911
|
+
setMinLogLevel(level: OpenFin.LogLevel): Promise<void>;
|
|
14415
14912
|
/**
|
|
14416
14913
|
* Retrieves the UUID of the computer on which the runtime is installed
|
|
14417
14914
|
* @param uuid The uuid of the running application
|
|
@@ -14421,7 +14918,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
14421
14918
|
* fin.System.resolveUuid('OpenfinPOC').then(entity => console.log(entity)).catch(err => console.log(err));
|
|
14422
14919
|
* ```
|
|
14423
14920
|
*/
|
|
14424
|
-
resolveUuid(uuid: string): Promise<
|
|
14921
|
+
resolveUuid(uuid: string): Promise<OpenFin.ApplicationType>;
|
|
14425
14922
|
/**
|
|
14426
14923
|
* Retrieves an array of data for all external applications
|
|
14427
14924
|
* @param requestingIdentity This object is described in the Identity typedef
|
|
@@ -14429,7 +14926,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
14429
14926
|
*
|
|
14430
14927
|
* @ignore
|
|
14431
14928
|
*/
|
|
14432
|
-
executeOnRemote(requestingIdentity:
|
|
14929
|
+
executeOnRemote(requestingIdentity: Identity, data: any): Promise<any>;
|
|
14433
14930
|
/**
|
|
14434
14931
|
* Reads the specifed value from the registry.
|
|
14435
14932
|
* @remarks This method is restricted by default and must be enabled via
|
|
@@ -14522,7 +15019,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
14522
15019
|
* }
|
|
14523
15020
|
* ```
|
|
14524
15021
|
*/
|
|
14525
|
-
readRegistryValue(rootKey: string, subkey: string, value: string): Promise<RegistryInfo>;
|
|
15022
|
+
readRegistryValue(rootKey: string, subkey: string, value: string): Promise<OpenFin.RegistryInfo>;
|
|
14526
15023
|
/**
|
|
14527
15024
|
* This function call will register a unique id and produce a token.
|
|
14528
15025
|
* The token can be used to broker an external connection.
|
|
@@ -14737,7 +15234,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
14737
15234
|
* });
|
|
14738
15235
|
* ```
|
|
14739
15236
|
*/
|
|
14740
|
-
getPrinters(): Promise<PrinterInfo[]>;
|
|
15237
|
+
getPrinters(): Promise<OpenFin.PrinterInfo[]>;
|
|
14741
15238
|
/**
|
|
14742
15239
|
* Updates Process Logging values: periodic interval and outlier detection entries and interval.
|
|
14743
15240
|
* @param options Process Logging updatable options.
|
|
@@ -15363,14 +15860,11 @@ declare type UrlChangedEvent = BaseUrlEvent & ({
|
|
|
15363
15860
|
declare type UserAppConfigArgs = Record<string, string | string[]>;
|
|
15364
15861
|
|
|
15365
15862
|
/**
|
|
15366
|
-
*
|
|
15863
|
+
* An event that fires when a window's bounds are changed directly by the user.
|
|
15864
|
+
*
|
|
15367
15865
|
* @interface
|
|
15368
15866
|
*/
|
|
15369
|
-
declare type UserBoundsChangeEvent =
|
|
15370
|
-
height: number;
|
|
15371
|
-
left: number;
|
|
15372
|
-
top: number;
|
|
15373
|
-
width: number;
|
|
15867
|
+
declare type UserBoundsChangeEvent = BoundsEvent & {
|
|
15374
15868
|
windowState: 'minimized' | 'normal' | 'maximized';
|
|
15375
15869
|
};
|
|
15376
15870
|
|
|
@@ -15808,7 +16302,7 @@ declare class View_2 extends WebContents<OpenFin.ViewEvent> {
|
|
|
15808
16302
|
*/
|
|
15809
16303
|
getInfo: () => Promise<OpenFin.ViewInfo>;
|
|
15810
16304
|
/**
|
|
15811
|
-
* Retrieves the
|
|
16305
|
+
* Retrieves the OpenFin.Layout instance for the Window the View is attached to.
|
|
15812
16306
|
*
|
|
15813
16307
|
* @example
|
|
15814
16308
|
* ```js
|
|
@@ -16016,7 +16510,7 @@ declare type ViewContentCreationRule = BaseContentCreationRule & {
|
|
|
16016
16510
|
declare type ViewCreationOptions = Partial<ViewOptions> & {
|
|
16017
16511
|
name: string;
|
|
16018
16512
|
url: string;
|
|
16019
|
-
target:
|
|
16513
|
+
target: Identity_4;
|
|
16020
16514
|
};
|
|
16021
16515
|
|
|
16022
16516
|
declare type ViewCreationOrReference = OpenFin.Identity | OpenFin.PlatformViewCreationOptions;
|
|
@@ -16045,6 +16539,8 @@ declare namespace ViewEvents {
|
|
|
16045
16539
|
BaseEvent_4 as BaseEvent,
|
|
16046
16540
|
BaseViewEvent,
|
|
16047
16541
|
TargetChangedEvent,
|
|
16542
|
+
AddedToLayoutEvent,
|
|
16543
|
+
RemovedFromLayoutEvent,
|
|
16048
16544
|
NonPropagatedViewEvent,
|
|
16049
16545
|
CreatedEvent,
|
|
16050
16546
|
DestroyedEvent,
|
|
@@ -16200,15 +16696,15 @@ declare interface ViewsPreventingUnloadPayload {
|
|
|
16200
16696
|
/**
|
|
16201
16697
|
* Identity of the Window.
|
|
16202
16698
|
*/
|
|
16203
|
-
windowId:
|
|
16699
|
+
windowId: Identity_4;
|
|
16204
16700
|
/**
|
|
16205
16701
|
* Identities of the Views that are preventing an unload
|
|
16206
16702
|
*/
|
|
16207
|
-
viewsPreventingUnload:
|
|
16703
|
+
viewsPreventingUnload: Identity_4[];
|
|
16208
16704
|
/**
|
|
16209
16705
|
* Identities of the Views that are not preventing an unload
|
|
16210
16706
|
*/
|
|
16211
|
-
viewsNotPreventingUnload:
|
|
16707
|
+
viewsNotPreventingUnload: Identity_4[];
|
|
16212
16708
|
/**
|
|
16213
16709
|
* Source of the close action.
|
|
16214
16710
|
*/
|
|
@@ -16233,11 +16729,11 @@ declare interface ViewStatuses {
|
|
|
16233
16729
|
/**
|
|
16234
16730
|
* Identities of the Views that are preventing an unload.
|
|
16235
16731
|
*/
|
|
16236
|
-
viewsPreventingUnload:
|
|
16732
|
+
viewsPreventingUnload: Identity_4[];
|
|
16237
16733
|
/**
|
|
16238
16734
|
* Identities of the Views that are not preventing an unload.
|
|
16239
16735
|
*/
|
|
16240
|
-
viewsNotPreventingUnload:
|
|
16736
|
+
viewsNotPreventingUnload: Identity_4[];
|
|
16241
16737
|
}
|
|
16242
16738
|
|
|
16243
16739
|
/**
|
|
@@ -16742,7 +17238,7 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
|
|
|
16742
17238
|
* We do not expose an explicit superclass for this functionality, but it does have its own
|
|
16743
17239
|
* {@link OpenFin.WebContentsEvents event namespace}.
|
|
16744
17240
|
*/
|
|
16745
|
-
stopFindInPage(action:
|
|
17241
|
+
stopFindInPage(action: 'clearSelection' | 'keepSelection' | 'activateSelection'): Promise<void>;
|
|
16746
17242
|
/**
|
|
16747
17243
|
* Returns an array with all system printers
|
|
16748
17244
|
* @deprecated use System.getPrinters instead
|
|
@@ -17335,11 +17831,7 @@ declare type WillMoveEvent = WillMoveOrResizeEvent & {
|
|
|
17335
17831
|
* A general will-move or will-resize event without event type.
|
|
17336
17832
|
* @interface
|
|
17337
17833
|
*/
|
|
17338
|
-
declare type WillMoveOrResizeEvent =
|
|
17339
|
-
height: number;
|
|
17340
|
-
left: number;
|
|
17341
|
-
top: number;
|
|
17342
|
-
width: number;
|
|
17834
|
+
declare type WillMoveOrResizeEvent = BoundsEvent & {
|
|
17343
17835
|
monitorScaleFactor: number;
|
|
17344
17836
|
};
|
|
17345
17837
|
|
|
@@ -18534,16 +19026,21 @@ declare namespace WindowEvents {
|
|
|
18534
19026
|
PreloadScriptInfoRunning,
|
|
18535
19027
|
PreloadScriptInfo,
|
|
18536
19028
|
PreloadScriptsStateChangeEvent,
|
|
18537
|
-
|
|
19029
|
+
BoundsEvent,
|
|
18538
19030
|
BoundsChangeEvent,
|
|
18539
19031
|
WillMoveOrResizeEvent,
|
|
19032
|
+
BoundsDidChangeEvent,
|
|
19033
|
+
BoundsChangedEvent,
|
|
19034
|
+
BoundsChangingEvent,
|
|
19035
|
+
DisabledMovementBoundsChangedEvent,
|
|
19036
|
+
DisabledMovementBoundsChangingEvent,
|
|
19037
|
+
UserBoundsChangeEvent,
|
|
19038
|
+
BeginUserBoundsChangingEvent,
|
|
19039
|
+
EndUserBoundsChangingEvent,
|
|
18540
19040
|
PerformanceReportEvent,
|
|
18541
19041
|
InputEvent_2 as InputEvent,
|
|
18542
19042
|
LayoutInitializedEvent,
|
|
18543
19043
|
LayoutReadyEvent,
|
|
18544
|
-
BeginUserBoundsChangingEvent,
|
|
18545
|
-
BoundsChangedEvent,
|
|
18546
|
-
BoundsChangingEvent,
|
|
18547
19044
|
CloseRequestedEvent,
|
|
18548
19045
|
WindowCloseRequestedEvent,
|
|
18549
19046
|
ContextChangedEvent,
|
|
@@ -18551,10 +19048,7 @@ declare namespace WindowEvents {
|
|
|
18551
19048
|
WindowClosedEvent,
|
|
18552
19049
|
ClosingEvent,
|
|
18553
19050
|
WindowClosingEvent,
|
|
18554
|
-
DisabledMovementBoundsChangedEvent,
|
|
18555
|
-
DisabledMovementBoundsChangingEvent,
|
|
18556
19051
|
EmbeddedEvent,
|
|
18557
|
-
EndUserBoundsChangingEvent,
|
|
18558
19052
|
HotkeyEvent_2 as HotkeyEvent,
|
|
18559
19053
|
WindowHotkeyEvent,
|
|
18560
19054
|
InitializedEvent_2 as InitializedEvent,
|