@openfin/core 38.82.63 → 38.82.65
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/mock-alpha.d.ts +680 -214
- package/out/mock-beta.d.ts +680 -214
- package/out/mock-public.d.ts +680 -214
- package/out/mock.d.ts +680 -214
- package/out/mock.js +102 -27
- package/package.json +1 -1
package/out/mock-beta.d.ts
CHANGED
@@ -45,6 +45,15 @@ declare type Accelerator = {
|
|
45
45
|
zoom: boolean;
|
46
46
|
};
|
47
47
|
|
48
|
+
/**
|
49
|
+
* Generated when a View is added to a layout.
|
50
|
+
* @interface
|
51
|
+
*/
|
52
|
+
declare type AddedToLayoutEvent = BaseEvent_4 & {
|
53
|
+
type: 'added-to-layout';
|
54
|
+
layoutIdentity: OpenFin_2.LayoutIdentity;
|
55
|
+
};
|
56
|
+
|
48
57
|
/**
|
49
58
|
* Options to use when adding a view to a {@link TabStack}.
|
50
59
|
*
|
@@ -52,7 +61,7 @@ declare type Accelerator = {
|
|
52
61
|
*/
|
53
62
|
declare type AddViewOptions = CreateViewTarget & {
|
54
63
|
options: ViewState;
|
55
|
-
targetView?:
|
64
|
+
targetView?: Identity_4;
|
56
65
|
};
|
57
66
|
|
58
67
|
/**
|
@@ -924,15 +933,15 @@ declare namespace ApplicationEvents {
|
|
924
933
|
*/
|
925
934
|
declare type ApplicationEventType = EventType_3;
|
926
935
|
|
927
|
-
declare type ApplicationIdentity = OpenFin_2.ApplicationIdentity;
|
928
|
-
|
929
936
|
/**
|
930
937
|
* @interface
|
931
938
|
*/
|
932
|
-
declare type
|
939
|
+
declare type ApplicationIdentity = {
|
933
940
|
uuid: string;
|
934
941
|
};
|
935
942
|
|
943
|
+
declare type ApplicationIdentityCall<AdditionalPayload = {}, Response = void> = ApiCall<AdditionalPayload & OpenFin_2.ApplicationIdentity, Response>;
|
944
|
+
|
936
945
|
/**
|
937
946
|
* @interface
|
938
947
|
*/
|
@@ -1305,12 +1314,10 @@ declare type ApplicationSourcedEvent = ClosedEvent | ConnectedEvent_2 | CrashedE
|
|
1305
1314
|
*/
|
1306
1315
|
declare type ApplicationSourcedEventType = ApplicationSourcedEvent['type'];
|
1307
1316
|
|
1308
|
-
declare type ApplicationState = OpenFin_2.ApplicationState;
|
1309
|
-
|
1310
1317
|
/**
|
1311
1318
|
* @interface
|
1312
1319
|
*/
|
1313
|
-
declare type
|
1320
|
+
declare type ApplicationState = {
|
1314
1321
|
/**
|
1315
1322
|
* True when the application is a Platform controller
|
1316
1323
|
*/
|
@@ -1342,12 +1349,10 @@ declare type ApplicationType = {
|
|
1342
1349
|
*/
|
1343
1350
|
declare type ApplicationWindowEvent = WindowAlertRequestedEvent | WindowCreatedEvent | WindowEndLoadEvent | WindowNotRespondingEvent | WindowRespondingEvent | WindowStartLoadEvent;
|
1344
1351
|
|
1345
|
-
declare type ApplicationWindowInfo = OpenFin_2.ApplicationWindowInfo;
|
1346
|
-
|
1347
1352
|
/**
|
1348
1353
|
* @interface
|
1349
1354
|
*/
|
1350
|
-
declare type
|
1355
|
+
declare type ApplicationWindowInfo = {
|
1351
1356
|
childWindows: Array<WindowDetail>;
|
1352
1357
|
mainWindow: WindowDetail;
|
1353
1358
|
/**
|
@@ -1612,7 +1617,7 @@ declare class Base {
|
|
1612
1617
|
* Useful for debugging in the devtools console, where this will intelligently type itself based
|
1613
1618
|
* on the context in which the devtools panel was opened.
|
1614
1619
|
*/
|
1615
|
-
get me(): Identity;
|
1620
|
+
get me(): OpenFin_2.Identity;
|
1616
1621
|
/* Excluded from this release type: isNodeEnvironment */
|
1617
1622
|
/* Excluded from this release type: isOpenFinEnvironment */
|
1618
1623
|
/* Excluded from this release type: isBrowserEnvironment */
|
@@ -1832,11 +1837,12 @@ declare type BeforeUnloadUserDecision = {
|
|
1832
1837
|
/**
|
1833
1838
|
* Array of views that will close.
|
1834
1839
|
*/
|
1835
|
-
viewsToClose:
|
1840
|
+
viewsToClose: Identity_4[];
|
1836
1841
|
};
|
1837
1842
|
|
1838
1843
|
/**
|
1839
1844
|
* Generated at the beginning of a user-driven change to a window's size or position.
|
1845
|
+
*
|
1840
1846
|
* @interface
|
1841
1847
|
*/
|
1842
1848
|
declare type BeginUserBoundsChangingEvent = UserBoundsChangeEvent & {
|
@@ -1877,31 +1883,33 @@ declare type Bounds = {
|
|
1877
1883
|
* Generated after changes in a window's size and/or position.
|
1878
1884
|
* @interface
|
1879
1885
|
*/
|
1880
|
-
declare type BoundsChangedEvent =
|
1886
|
+
declare type BoundsChangedEvent = BoundsDidChangeEvent & {
|
1881
1887
|
type: 'bounds-changed';
|
1882
1888
|
};
|
1883
1889
|
|
1884
|
-
|
1885
|
-
* A general bounds change event without event type.
|
1886
|
-
* @interface
|
1887
|
-
*/
|
1888
|
-
declare type BoundsChangeEvent = BaseEvent_5 & {
|
1890
|
+
declare type BoundsChangeEvent = BoundsEvent & {
|
1889
1891
|
changeType: 0 | 1 | 2;
|
1890
|
-
deferred: boolean;
|
1891
|
-
height: number;
|
1892
|
-
left: number;
|
1893
|
-
top: number;
|
1894
|
-
width: number;
|
1895
1892
|
};
|
1896
1893
|
|
1897
1894
|
/**
|
1898
1895
|
* Generated during changes to a window's size and/or position.
|
1899
1896
|
* @interface
|
1900
1897
|
*/
|
1901
|
-
declare type BoundsChangingEvent =
|
1898
|
+
declare type BoundsChangingEvent = BoundsDidChangeEvent & {
|
1902
1899
|
type: 'bounds-changing';
|
1903
1900
|
};
|
1904
1901
|
|
1902
|
+
/**
|
1903
|
+
* An event that fires when a window's bounds are successfully changed.
|
1904
|
+
*
|
1905
|
+
* @interface
|
1906
|
+
*/
|
1907
|
+
declare type BoundsDidChangeEvent = BoundsChangeEvent & {
|
1908
|
+
reason: 'self' | 'animation';
|
1909
|
+
};
|
1910
|
+
|
1911
|
+
declare type BoundsEvent = BaseEvent_5 & OpenFin_2.Bounds;
|
1912
|
+
|
1905
1913
|
/**
|
1906
1914
|
* A rule prescribing content creation in the browser.
|
1907
1915
|
*
|
@@ -2983,7 +2991,7 @@ declare type ClientConnectionPayload = ClientIdentity & ClientInfo;
|
|
2983
2991
|
* Identity of a channel client. Includes endpointId to differentiate between different connections for an entity.
|
2984
2992
|
* @interface
|
2985
2993
|
*/
|
2986
|
-
declare type ClientIdentity =
|
2994
|
+
declare type ClientIdentity = Identity_4 & {
|
2987
2995
|
/**
|
2988
2996
|
* Unique identifier for a client, because there can be multiple clients at one name/uuid entity.
|
2989
2997
|
*/
|
@@ -3216,7 +3224,7 @@ declare type CloseViewOptions = {
|
|
3216
3224
|
/**
|
3217
3225
|
*View to be closed.
|
3218
3226
|
*/
|
3219
|
-
viewIdentity:
|
3227
|
+
viewIdentity: Identity_4;
|
3220
3228
|
};
|
3221
3229
|
|
3222
3230
|
/**
|
@@ -3226,7 +3234,7 @@ declare type CloseViewPayload = {
|
|
3226
3234
|
/**
|
3227
3235
|
*View to be closed.
|
3228
3236
|
*/
|
3229
|
-
view:
|
3237
|
+
view: Identity_4;
|
3230
3238
|
/**
|
3231
3239
|
* The target layout identity where this view should be closed. If not provided, will resolve to the
|
3232
3240
|
* visible layout.
|
@@ -3244,7 +3252,7 @@ declare interface CloseWindowPayload {
|
|
3244
3252
|
*
|
3245
3253
|
* Identity of the Window
|
3246
3254
|
*/
|
3247
|
-
windowId:
|
3255
|
+
windowId: Identity_4;
|
3248
3256
|
options: {
|
3249
3257
|
/**
|
3250
3258
|
* @defaultValue false
|
@@ -3362,7 +3370,7 @@ declare type ConstViewOptions = {
|
|
3362
3370
|
/**
|
3363
3371
|
* The identity of the window this view should be attached to.
|
3364
3372
|
*/
|
3365
|
-
target:
|
3373
|
+
target: Identity_4;
|
3366
3374
|
/**
|
3367
3375
|
* Configures how new content (e,g, from `window.open` or a link) is opened.
|
3368
3376
|
*/
|
@@ -3587,7 +3595,7 @@ declare type ConstWindowOptions = {
|
|
3587
3595
|
/**
|
3588
3596
|
* Parent identity of a modal window. It will create a modal child window when this option is set.
|
3589
3597
|
*/
|
3590
|
-
modalParentIdentity:
|
3598
|
+
modalParentIdentity: Identity_4;
|
3591
3599
|
/**
|
3592
3600
|
* The name of the window.
|
3593
3601
|
*/
|
@@ -3605,7 +3613,9 @@ declare type ConstWindowOptions = {
|
|
3605
3613
|
*/
|
3606
3614
|
preloadScripts: PreloadScript[];
|
3607
3615
|
/**
|
3608
|
-
* String tag that attempts to group like-tagged renderers together.
|
3616
|
+
* String tag that attempts to group like-tagged renderers together.
|
3617
|
+
* 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.
|
3618
|
+
* @remarks Will only be used if pages are on the same origin.
|
3609
3619
|
*/
|
3610
3620
|
processAffinity: string;
|
3611
3621
|
/**
|
@@ -4071,13 +4081,13 @@ declare type CreateViewPayload = {
|
|
4071
4081
|
* Window the view will be added to. If no target is provided, a new window will be created.
|
4072
4082
|
*/
|
4073
4083
|
target?: CreateViewTarget;
|
4074
|
-
targetView?:
|
4084
|
+
targetView?: Identity_4;
|
4075
4085
|
};
|
4076
4086
|
|
4077
4087
|
/**
|
4078
4088
|
* @interface
|
4079
4089
|
*/
|
4080
|
-
declare type CreateViewTarget = (
|
4090
|
+
declare type CreateViewTarget = (Identity_4 | LayoutIdentity) & {
|
4081
4091
|
/**
|
4082
4092
|
* If specified, view creation will not attach to a window and caller must
|
4083
4093
|
* insert the view into the layout explicitly
|
@@ -4523,7 +4533,7 @@ declare type EmitterAccessor = string[];
|
|
4523
4533
|
declare class EmitterBase<EmitterEvent extends BaseEvent, EmitterEventType extends EmitterEvent['type'] = EmitterEvent['type']> extends Base {
|
4524
4534
|
#private;
|
4525
4535
|
private topic;
|
4526
|
-
protected identity: ApplicationIdentity;
|
4536
|
+
protected identity: OpenFin_2.ApplicationIdentity;
|
4527
4537
|
constructor(wire: Transport, topic: string, ...additionalAccessors: string[]);
|
4528
4538
|
eventNames: () => (string | symbol)[];
|
4529
4539
|
/* Excluded from this release type: emit */
|
@@ -4598,20 +4608,17 @@ declare type EndLoadEvent = BaseEvent_5 & {
|
|
4598
4608
|
|
4599
4609
|
/**
|
4600
4610
|
* Generated at the end of a user-driven change to a window's size or position.
|
4611
|
+
*
|
4601
4612
|
* @interface
|
4602
4613
|
*/
|
4603
4614
|
declare type EndUserBoundsChangingEvent = UserBoundsChangeEvent & {
|
4604
4615
|
type: 'end-user-bounds-changing';
|
4605
4616
|
};
|
4606
4617
|
|
4607
|
-
declare type Entity = OpenFin_2.ApplicationType;
|
4608
|
-
|
4609
|
-
declare type EntityInfo = OpenFin_2.EntityInfo;
|
4610
|
-
|
4611
4618
|
/**
|
4612
4619
|
* @interface
|
4613
4620
|
*/
|
4614
|
-
declare type
|
4621
|
+
declare type EntityInfo = {
|
4615
4622
|
uuid: string;
|
4616
4623
|
name: string;
|
4617
4624
|
entityType: EntityType_4;
|
@@ -4761,7 +4768,7 @@ declare type Event_3 = ViewEvents.PropagatedEvent<'application'> | WindowEvents.
|
|
4761
4768
|
*/
|
4762
4769
|
declare type Event_4 = (WebContentsEvents.Event<'view'> & {
|
4763
4770
|
target: OpenFin_2.Identity;
|
4764
|
-
}) | CreatedEvent | DestroyedEvent | HiddenEvent | HotkeyEvent | ShownEvent | TargetChangedEvent | HostContextChangedEvent;
|
4771
|
+
}) | CreatedEvent | DestroyedEvent | HiddenEvent | HotkeyEvent | ShownEvent | TargetChangedEvent | HostContextChangedEvent | AddedToLayoutEvent | RemovedFromLayoutEvent;
|
4765
4772
|
|
4766
4773
|
/**
|
4767
4774
|
* [Union](https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#union-types) containing events shared by all WebContents elements
|
@@ -4960,7 +4967,7 @@ declare type ExternalApplicationEventType = EventType_4;
|
|
4960
4967
|
* @interface
|
4961
4968
|
*/
|
4962
4969
|
declare type ExternalApplicationInfo = {
|
4963
|
-
parent:
|
4970
|
+
parent: Identity_4;
|
4964
4971
|
};
|
4965
4972
|
|
4966
4973
|
/**
|
@@ -5156,6 +5163,10 @@ declare type FileDownloadEvent = {
|
|
5156
5163
|
* The number of bytes of the item that have already been downloaded.
|
5157
5164
|
*/
|
5158
5165
|
downloadedBytes: number;
|
5166
|
+
/**
|
5167
|
+
* Unique identifier for the downloaded file.
|
5168
|
+
*/
|
5169
|
+
fileUuid: string;
|
5159
5170
|
} & NamedEvent;
|
5160
5171
|
|
5161
5172
|
/**
|
@@ -5409,7 +5420,7 @@ declare type FrameInfo = {
|
|
5409
5420
|
uuid: string;
|
5410
5421
|
url: string;
|
5411
5422
|
entityType: EntityType_4;
|
5412
|
-
parent:
|
5423
|
+
parent: Identity_4;
|
5413
5424
|
};
|
5414
5425
|
|
5415
5426
|
/**
|
@@ -5484,12 +5495,10 @@ declare type FrameProcessDetails = ProcessDetails & {
|
|
5484
5495
|
entityType: string;
|
5485
5496
|
};
|
5486
5497
|
|
5487
|
-
declare type GetLogRequestType = OpenFin_2.GetLogRequestType;
|
5488
|
-
|
5489
5498
|
/**
|
5490
5499
|
* @interface
|
5491
5500
|
*/
|
5492
|
-
declare type
|
5501
|
+
declare type GetLogRequestType = {
|
5493
5502
|
/**
|
5494
5503
|
* The name of the running application
|
5495
5504
|
*/
|
@@ -5509,7 +5518,7 @@ declare type GetWindowContextPayload = {
|
|
5509
5518
|
/**
|
5510
5519
|
* Identity of the entity targeted by the call to {@link Platform#setWindowContext Platform.setWindowContext}.
|
5511
5520
|
*/
|
5512
|
-
target:
|
5521
|
+
target: Identity_4;
|
5513
5522
|
};
|
5514
5523
|
|
5515
5524
|
/**
|
@@ -5775,8 +5784,6 @@ declare type Identity_2 = OpenFin_2.Identity;
|
|
5775
5784
|
|
5776
5785
|
declare type Identity_3 = OpenFin_2.Identity;
|
5777
5786
|
|
5778
|
-
declare type Identity_4 = OpenFin_2.Identity;
|
5779
|
-
|
5780
5787
|
/**
|
5781
5788
|
* Unique identifier for a window, view or iframe.
|
5782
5789
|
*
|
@@ -5785,7 +5792,7 @@ declare type Identity_4 = OpenFin_2.Identity;
|
|
5785
5792
|
*
|
5786
5793
|
* @interface
|
5787
5794
|
*/
|
5788
|
-
declare type
|
5795
|
+
declare type Identity_4 = {
|
5789
5796
|
/**
|
5790
5797
|
* Universally unique identifier of the application that owns the component.
|
5791
5798
|
*/
|
@@ -5944,12 +5951,10 @@ declare type InstallationInfo = {
|
|
5944
5951
|
cachedManifest: any;
|
5945
5952
|
};
|
5946
5953
|
|
5947
|
-
declare type InstalledApps = OpenFin_2.InstalledApps;
|
5948
|
-
|
5949
5954
|
/**
|
5950
5955
|
* @interface
|
5951
5956
|
*/
|
5952
|
-
declare type
|
5957
|
+
declare type InstalledApps = {
|
5953
5958
|
[key: string]: InstallationInfo;
|
5954
5959
|
};
|
5955
5960
|
|
@@ -6720,7 +6725,7 @@ declare class InteropBroker extends Base {
|
|
6720
6725
|
* @param _id the identity tryinc to connect
|
6721
6726
|
* @param _connectionPayload optional payload to use in custom implementations, will be undefined by default
|
6722
6727
|
*/
|
6723
|
-
isConnectionAuthorized(_id:
|
6728
|
+
isConnectionAuthorized(_id: Identity_2, _connectionPayload?: any): Promise<boolean> | boolean;
|
6724
6729
|
/**
|
6725
6730
|
* Called before every action to check if this entity should be allowed to take the action.
|
6726
6731
|
* Return false to prevent the action
|
@@ -7638,7 +7643,7 @@ declare class Layout extends Base {
|
|
7638
7643
|
* await layout.replaceView(viewToReplace.identity, newViewConfig);
|
7639
7644
|
* ```
|
7640
7645
|
*/
|
7641
|
-
replaceView: (viewToReplace:
|
7646
|
+
replaceView: (viewToReplace: Identity_3, newView: OpenFin_2.PlatformViewCreationOptions) => Promise<void>;
|
7642
7647
|
/**
|
7643
7648
|
* Replaces a Platform window's layout with a preset layout arrangement using the existing Views attached to the window.
|
7644
7649
|
* The preset options are `columns`, `grid`, `rows`, and `tabs`.
|
@@ -7693,7 +7698,7 @@ declare type LayoutContent = Array<LayoutItemConfig | LayoutRow | LayoutColumn |
|
|
7693
7698
|
/**
|
7694
7699
|
* The base payload for the CustomEvent.detail property for Layout events emitted on the layout container element.
|
7695
7700
|
*/
|
7696
|
-
declare type LayoutDOMEvent =
|
7701
|
+
declare type LayoutDOMEvent = Identity_4 & {
|
7697
7702
|
type: string;
|
7698
7703
|
topic: 'openfin-DOM-event';
|
7699
7704
|
tabSelector: string;
|
@@ -7754,7 +7759,7 @@ declare type LayoutEntityTypes = 'column' | 'row' | 'stack';
|
|
7754
7759
|
/**
|
7755
7760
|
* @interface
|
7756
7761
|
*/
|
7757
|
-
declare type LayoutIdentity =
|
7762
|
+
declare type LayoutIdentity = Identity_4 & {
|
7758
7763
|
/**
|
7759
7764
|
* The name of the layout in a given window.
|
7760
7765
|
*/
|
@@ -7863,7 +7868,7 @@ declare interface LayoutManager<T extends LayoutSnapshot> {
|
|
7863
7868
|
* @param identity
|
7864
7869
|
* @returns LayoutIdentity | undefined
|
7865
7870
|
*/
|
7866
|
-
resolveLayoutIdentity(identity?:
|
7871
|
+
resolveLayoutIdentity(identity?: Identity_4 | LayoutIdentity): LayoutIdentity | undefined;
|
7867
7872
|
/**
|
7868
7873
|
* @experimental
|
7869
7874
|
*
|
@@ -7880,7 +7885,7 @@ declare interface LayoutManager<T extends LayoutSnapshot> {
|
|
7880
7885
|
/**
|
7881
7886
|
* @experimental
|
7882
7887
|
*/
|
7883
|
-
getLayoutIdentityForView(viewIdentity:
|
7888
|
+
getLayoutIdentityForView(viewIdentity: Identity_4): LayoutIdentity;
|
7884
7889
|
/**
|
7885
7890
|
* @experimental
|
7886
7891
|
*/
|
@@ -8184,12 +8189,10 @@ declare type Listener<T extends {
|
|
8184
8189
|
type: string;
|
8185
8190
|
}> = (payload: T) => void;
|
8186
8191
|
|
8187
|
-
declare type LogInfo = OpenFin_2.LogInfo;
|
8188
|
-
|
8189
8192
|
/**
|
8190
8193
|
* @interface
|
8191
8194
|
*/
|
8192
|
-
declare type
|
8195
|
+
declare type LogInfo = {
|
8193
8196
|
/**
|
8194
8197
|
* The filename of the log
|
8195
8198
|
*/
|
@@ -8204,8 +8207,6 @@ declare type LogInfo_2 = {
|
|
8204
8207
|
date: string;
|
8205
8208
|
};
|
8206
8209
|
|
8207
|
-
declare type LogLevel = OpenFin_2.LogLevel;
|
8208
|
-
|
8209
8210
|
/**
|
8210
8211
|
* Describes the minimum level (inclusive) above which logs will be written.
|
8211
8212
|
*
|
@@ -8215,7 +8216,7 @@ declare type LogLevel = OpenFin_2.LogLevel;
|
|
8215
8216
|
* `error` and above<br>
|
8216
8217
|
* `fatal`: fatal only, indicates a crash is imminent
|
8217
8218
|
*/
|
8218
|
-
declare type
|
8219
|
+
declare type LogLevel = 'verbose' | 'info' | 'warning' | 'error' | 'fatal';
|
8219
8220
|
|
8220
8221
|
/**
|
8221
8222
|
* @interface
|
@@ -9025,13 +9026,13 @@ declare namespace OpenFin_2 {
|
|
9025
9026
|
LayoutPosition,
|
9026
9027
|
WebContent,
|
9027
9028
|
PlatformProvider,
|
9028
|
-
|
9029
|
-
|
9029
|
+
ApplicationIdentity,
|
9030
|
+
Identity_4 as Identity,
|
9030
9031
|
ClientIdentity,
|
9031
9032
|
ClientInfo,
|
9032
9033
|
ClientIdentityMultiRuntime,
|
9033
9034
|
ClientConnectionPayload,
|
9034
|
-
|
9035
|
+
EntityInfo,
|
9035
9036
|
EntityType_4 as EntityType,
|
9036
9037
|
Bounds,
|
9037
9038
|
WindowBounds,
|
@@ -9165,7 +9166,7 @@ declare namespace OpenFin_2 {
|
|
9165
9166
|
GpuInfo,
|
9166
9167
|
OSInfo,
|
9167
9168
|
HostSpecs,
|
9168
|
-
|
9169
|
+
PrinterInfo,
|
9169
9170
|
Dpi,
|
9170
9171
|
Margins,
|
9171
9172
|
PrintOptions,
|
@@ -9273,24 +9274,24 @@ declare namespace OpenFin_2 {
|
|
9273
9274
|
BeforeUnloadUserDecision,
|
9274
9275
|
ViewStatuses,
|
9275
9276
|
CloseWindowPayload,
|
9276
|
-
|
9277
|
-
|
9277
|
+
ProxyInfo,
|
9278
|
+
ProxyConfig,
|
9278
9279
|
ProxySystemInfo,
|
9279
9280
|
ChannelAction_2 as ChannelAction,
|
9280
9281
|
ChannelMiddleware_2 as ChannelMiddleware,
|
9281
9282
|
ErrorMiddleware_2 as ErrorMiddleware,
|
9282
|
-
|
9283
|
-
|
9283
|
+
ApplicationState,
|
9284
|
+
InstalledApps,
|
9284
9285
|
InstallationInfo,
|
9285
|
-
|
9286
|
-
|
9286
|
+
GetLogRequestType,
|
9287
|
+
LogInfo,
|
9287
9288
|
SendApplicationLogResponse,
|
9288
|
-
|
9289
|
+
LogLevel,
|
9289
9290
|
PermissionState_2 as PermissionState,
|
9290
|
-
|
9291
|
+
RegistryInfo,
|
9291
9292
|
ApplicationType,
|
9292
9293
|
WindowInfo,
|
9293
|
-
|
9294
|
+
ApplicationWindowInfo,
|
9294
9295
|
WindowDetail,
|
9295
9296
|
LayoutPresetType,
|
9296
9297
|
LayoutIdentity,
|
@@ -11201,12 +11202,10 @@ declare type PresetLayoutOptions_2 = {
|
|
11201
11202
|
presetType: LayoutPresetType;
|
11202
11203
|
};
|
11203
11204
|
|
11204
|
-
declare type PrinterInfo = OpenFin_2.PrinterInfo;
|
11205
|
-
|
11206
11205
|
/**
|
11207
11206
|
* @interface
|
11208
11207
|
*/
|
11209
|
-
declare type
|
11208
|
+
declare type PrinterInfo = {
|
11210
11209
|
/**
|
11211
11210
|
* Printer Name
|
11212
11211
|
*/
|
@@ -11468,20 +11467,100 @@ declare type PropagatedWindowEvent<TargetTopic extends string> = PropagatedEvent
|
|
11468
11467
|
declare type PropagatedWindowEventType = PropagatedEvent_3<string>['type'];
|
11469
11468
|
|
11470
11469
|
declare interface ProtocolMap extends ProtocolMapBase {
|
11470
|
+
'is-application-running': ApplicationIdentityCall<{}, boolean>;
|
11471
|
+
'destroy-application': ApplicationIdentityCall<{
|
11472
|
+
force: boolean;
|
11473
|
+
}, void>;
|
11474
|
+
'close-application': ApplicationIdentityCall<{
|
11475
|
+
force: boolean;
|
11476
|
+
}, void>;
|
11477
|
+
'application-close': ApplicationIdentityCall<{}, void>;
|
11478
|
+
'get-child-windows': ApplicationIdentityCall<{}, Array<unknown>>;
|
11479
|
+
'get-application-manifest': {
|
11480
|
+
request: {
|
11481
|
+
manifestUrl?: string;
|
11482
|
+
uuid?: string;
|
11483
|
+
};
|
11484
|
+
response: OpenFin_2.Manifest;
|
11485
|
+
};
|
11486
|
+
'get-parent-application': ApplicationIdentityCall<{}, string>;
|
11487
|
+
'get-shortcuts': ApplicationIdentityCall<{}, OpenFin_2.ShortCutConfig>;
|
11488
|
+
'application-get-views': ApplicationIdentityCall<{}, OpenFin_2.Identity[]>;
|
11489
|
+
'get-application-zoom-level': ApplicationIdentityCall<{}, number>;
|
11490
|
+
'application-get-window': ApplicationIdentityCall<{}, void>;
|
11491
|
+
'register-user': ApplicationIdentityCall<{
|
11492
|
+
userName: string;
|
11493
|
+
appName: string;
|
11494
|
+
}, void>;
|
11495
|
+
'remove-tray-icon': ApplicationIdentityCall<{}, void>;
|
11496
|
+
'restart-application': ApplicationIdentityCall<{}, void>;
|
11497
|
+
'application-run': ApplicationIdentityCall<{}, void>;
|
11498
|
+
'run-application': ApplicationIdentityCall<{
|
11499
|
+
manifestUrl?: string | undefined;
|
11500
|
+
opts?: OpenFin_2.RvmLaunchOptions;
|
11501
|
+
}, void>;
|
11502
|
+
'relaunch-on-close': ApplicationIdentityCall<{}, void>;
|
11503
|
+
'send-application-log': ApplicationIdentityCall<{}, OpenFin_2.SendApplicationLogResponse>;
|
11504
|
+
'set-jump-list': ApplicationIdentityCall<{
|
11505
|
+
config: OpenFin_2.JumpListCategory[] | null;
|
11506
|
+
}, void>;
|
11507
|
+
'set-tray-icon': ApplicationIdentityCall<{
|
11508
|
+
enabledIcon: string;
|
11509
|
+
}, void>;
|
11510
|
+
'set-shortcuts': ApplicationIdentityCall<{
|
11511
|
+
data: OpenFin_2.ShortCutConfig;
|
11512
|
+
}, void>;
|
11513
|
+
'set-shortcut-query-args': ApplicationIdentityCall<{
|
11514
|
+
data: string;
|
11515
|
+
}, void>;
|
11516
|
+
'set-application-zoom-level': ApplicationIdentityCall<{
|
11517
|
+
level: number;
|
11518
|
+
}, void>;
|
11519
|
+
'set-app-log-username': ApplicationIdentityCall<{
|
11520
|
+
data: string;
|
11521
|
+
}, void>;
|
11522
|
+
'get-tray-icon-info': ApplicationIdentityCall<{}, OpenFin_2.TrayInfo>;
|
11523
|
+
'has-tray-icon': ApplicationIdentityCall<{}, boolean>;
|
11524
|
+
'terminate-application': ApplicationIdentityCall<{}, void>;
|
11525
|
+
'wait-for-hung-application': ApplicationIdentityCall<{}, void>;
|
11526
|
+
'get-info': ApplicationIdentityCall<{}, OpenFin_2.ApplicationInfo>;
|
11527
|
+
'application-get-process-info': ApplicationIdentityCall<{}, OpenFin_2.AppProcessInfo>;
|
11528
|
+
'set-file-download-location': {
|
11529
|
+
request: OpenFin_2.Identity & {
|
11530
|
+
downloadLocation: string;
|
11531
|
+
};
|
11532
|
+
response: void;
|
11533
|
+
};
|
11534
|
+
'get-file-download-location': ApplicationIdentityCall<{}, string>;
|
11535
|
+
'show-tray-icon-popup-menu': {
|
11536
|
+
request: OpenFin_2.Identity & {
|
11537
|
+
options: OpenFin_2.ShowTrayIconPopupMenuOptions;
|
11538
|
+
};
|
11539
|
+
response: OpenFin_2.MenuResult;
|
11540
|
+
};
|
11541
|
+
'close-tray-icon-popup-menu': IdentityCall<{}, void>;
|
11542
|
+
'wrap-application': VoidCall;
|
11543
|
+
'wrap-application-sync': VoidCall;
|
11544
|
+
'create-application': ApiCall<OpenFin_2.ApplicationCreationOptions, void>;
|
11545
|
+
'application-create': VoidCall;
|
11546
|
+
'start-application': VoidCall;
|
11547
|
+
'run-applications': ApiCall<{
|
11548
|
+
applications: Array<OpenFin_2.ManifestInfo>;
|
11549
|
+
opts?: OpenFin_2.RvmLaunchOptions;
|
11550
|
+
}, void>;
|
11551
|
+
'get-current-application': VoidCall;
|
11552
|
+
'get-current-application-sync': VoidCall;
|
11553
|
+
'application-start-from-manifest': VoidCall;
|
11554
|
+
'application-create-from-manifest': VoidCall;
|
11471
11555
|
'request-external-authorization': {
|
11472
11556
|
request: any;
|
11473
11557
|
response: void;
|
11474
11558
|
specialResponse: AuthorizationPayload;
|
11475
11559
|
};
|
11476
|
-
'
|
11477
|
-
request:
|
11478
|
-
response: OpenFin_2.Identity[];
|
11479
|
-
};
|
11480
|
-
'set-jump-list': {
|
11481
|
-
request: {
|
11482
|
-
config: OpenFin_2.JumpListCategory[] | null;
|
11483
|
-
} & OpenFin_2.ApplicationIdentity;
|
11560
|
+
'request-authorization': {
|
11561
|
+
request: ExistingConnectConfig | RemoteConfig | ReceiverConfig;
|
11484
11562
|
response: void;
|
11563
|
+
specialResponse: Payload;
|
11485
11564
|
};
|
11486
11565
|
'clipboard-read-formats': {
|
11487
11566
|
request: {
|
@@ -11493,6 +11572,24 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
11493
11572
|
request: OpenFin_2.ReadImageClipboardRequest;
|
11494
11573
|
response: string;
|
11495
11574
|
};
|
11575
|
+
'clipboard-read-text': {
|
11576
|
+
request: {
|
11577
|
+
type?: OpenFin_2.ClipboardSelectionType;
|
11578
|
+
};
|
11579
|
+
response: string;
|
11580
|
+
};
|
11581
|
+
'clipboard-read-html': {
|
11582
|
+
request: {
|
11583
|
+
type?: OpenFin_2.ClipboardSelectionType;
|
11584
|
+
};
|
11585
|
+
response: string;
|
11586
|
+
};
|
11587
|
+
'clipboard-read-rtf': {
|
11588
|
+
request: {
|
11589
|
+
type?: OpenFin_2.ClipboardSelectionType;
|
11590
|
+
};
|
11591
|
+
response: string;
|
11592
|
+
};
|
11496
11593
|
'clipboard-write-image': {
|
11497
11594
|
request: OpenFin_2.WriteImageClipboardRequest;
|
11498
11595
|
response: void;
|
@@ -11501,6 +11598,18 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
11501
11598
|
request: OpenFin_2.WriteAnyRequestType;
|
11502
11599
|
response: void;
|
11503
11600
|
};
|
11601
|
+
'clipboard-write-text': {
|
11602
|
+
request: OpenFin_2.WriteClipboardRequest;
|
11603
|
+
response: void;
|
11604
|
+
};
|
11605
|
+
'clipboard-write-html': {
|
11606
|
+
request: OpenFin_2.WriteClipboardRequest;
|
11607
|
+
response: void;
|
11608
|
+
};
|
11609
|
+
'clipboard-write-rtf': {
|
11610
|
+
request: OpenFin_2.WriteClipboardRequest;
|
11611
|
+
response: void;
|
11612
|
+
};
|
11504
11613
|
'get-view-window': IdentityCall<{}, OpenFin_2.Identity>;
|
11505
11614
|
'create-view': IdentityCall<OpenFin_2.ViewCreationOptions & {
|
11506
11615
|
uuid: string;
|
@@ -11526,13 +11635,85 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
11526
11635
|
options: OpenFin_2.UpdatableViewOptions;
|
11527
11636
|
}>;
|
11528
11637
|
'trigger-before-unload': IdentityCall<{}, boolean>;
|
11638
|
+
'view-wrap-sync': VoidCall;
|
11639
|
+
'view-wrap': VoidCall;
|
11640
|
+
'view-get-current': VoidCall;
|
11641
|
+
'view-get-current-sync': VoidCall;
|
11642
|
+
'animate-window': IdentityCall<{
|
11643
|
+
transitions: OpenFin_2.Transition;
|
11644
|
+
options: OpenFin_2.TransitionOptions;
|
11645
|
+
}>;
|
11646
|
+
'get-all-frames': IdentityCall<{}, OpenFin_2.FrameInfo[]>;
|
11647
|
+
'get-window-bounds': IdentityCall<{}, OpenFin_2.WindowBounds>;
|
11648
|
+
'center-window': IdentityCall;
|
11649
|
+
'blur-window': IdentityCall;
|
11650
|
+
'bring-window-to-front': IdentityCall;
|
11651
|
+
'hide-window': IdentityCall;
|
11652
|
+
'close-window': IdentityCall<{
|
11653
|
+
force: boolean;
|
11654
|
+
}>;
|
11655
|
+
'focused-webview-changed': IdentityCall;
|
11656
|
+
'get-window-native-id': IdentityCall<{}, string>;
|
11529
11657
|
'window-get-views': IdentityCall<{}, OpenFin_2.Identity[]>;
|
11530
|
-
'
|
11658
|
+
'disable-window-frame': IdentityCall;
|
11659
|
+
'enable-window-frame': IdentityCall;
|
11660
|
+
'flash-window': IdentityCall;
|
11661
|
+
'stop-flash-window': IdentityCall;
|
11662
|
+
'get-window-info': IdentityCall<{}, OpenFin_2.WindowInfo>;
|
11663
|
+
'get-window-options': IdentityCall<{}, OpenFin_2.WindowOptions>;
|
11664
|
+
'get-window-snapshot': IdentityCall<{
|
11665
|
+
area?: OpenFin_2.Rectangle;
|
11666
|
+
}, string>;
|
11667
|
+
'get-window-state': IdentityCall<{}, 'minimized' | 'maximized' | 'normal'>;
|
11668
|
+
'is-window-showing': IdentityCall<{}, boolean>;
|
11669
|
+
'maximize-window': IdentityCall;
|
11670
|
+
'minimize-window': IdentityCall;
|
11671
|
+
'move-window-by': IdentityCall<WithPositioningOptions<{
|
11672
|
+
deltaLeft: number;
|
11673
|
+
deltaTop: number;
|
11674
|
+
}>>;
|
11675
|
+
'move-window': IdentityCall<WithPositioningOptions<{
|
11676
|
+
left: number;
|
11677
|
+
top: number;
|
11678
|
+
}>>;
|
11679
|
+
'resize-window-by': IdentityCall<WithPositioningOptions<{
|
11680
|
+
deltaWidth: number;
|
11681
|
+
deltaHeight: number;
|
11682
|
+
anchor: OpenFin_2.AnchorType;
|
11683
|
+
}>>;
|
11684
|
+
'resize-window': IdentityCall<WithPositioningOptions<{
|
11685
|
+
width: number;
|
11686
|
+
height: number;
|
11687
|
+
anchor: OpenFin_2.AnchorType;
|
11688
|
+
}>>;
|
11689
|
+
'restore-window': IdentityCall;
|
11690
|
+
'set-foreground-window': IdentityCall;
|
11691
|
+
'set-window-bounds': IdentityCall<WithPositioningOptions<Partial<OpenFin_2.Bounds>>>;
|
11692
|
+
'show-window': IdentityCall<{
|
11693
|
+
force: boolean;
|
11694
|
+
}>;
|
11695
|
+
'show-at-window': IdentityCall<{
|
11696
|
+
left: number;
|
11697
|
+
top: number;
|
11698
|
+
force: boolean;
|
11699
|
+
}>;
|
11700
|
+
'update-window-options': IdentityCall<{
|
11701
|
+
options: OpenFin_2.UpdatableWindowOptions;
|
11702
|
+
}>;
|
11703
|
+
'window-authenticate': IdentityCall<{
|
11704
|
+
userName: string;
|
11705
|
+
password: string;
|
11706
|
+
}>;
|
11707
|
+
'show-popup-menu': {
|
11531
11708
|
request: OpenFin_2.Identity & {
|
11532
|
-
options: OpenFin_2.
|
11709
|
+
options: OpenFin_2.ShowPopupMenuOptions;
|
11533
11710
|
};
|
11534
|
-
response:
|
11711
|
+
response: OpenFin_2.MenuResult;
|
11535
11712
|
};
|
11713
|
+
'close-popup-menu': IdentityCall;
|
11714
|
+
'dispatch-popup-result': IdentityCall<{
|
11715
|
+
data: any;
|
11716
|
+
}>;
|
11536
11717
|
'print-screenshot': {
|
11537
11718
|
request: OpenFin_2.Identity;
|
11538
11719
|
response: void;
|
@@ -11543,6 +11724,229 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
11543
11724
|
};
|
11544
11725
|
response: void;
|
11545
11726
|
};
|
11727
|
+
'window-wrap': VoidCall;
|
11728
|
+
'window-wrap-sync': VoidCall;
|
11729
|
+
'create-window': VoidCall;
|
11730
|
+
'get-current-window': VoidCall;
|
11731
|
+
'get-current-window-sync': VoidCall;
|
11732
|
+
'get-external-application-info': ApiCall<OpenFin_2.ApplicationIdentity, OpenFin_2.ExternalApplicationInfo>;
|
11733
|
+
'external-application-wrap': VoidCall;
|
11734
|
+
'external-application-wrap-sync': VoidCall;
|
11735
|
+
'get-frame-info': ApiCall<OpenFin_2.Identity, OpenFin_2.FrameInfo>;
|
11736
|
+
'get-parent-window': ApiCall<OpenFin_2.Identity, OpenFin_2.FrameInfo>;
|
11737
|
+
'frame-wrap': VoidCall;
|
11738
|
+
'frame-wrap-sync': VoidCall;
|
11739
|
+
'frame-get-current': VoidCall;
|
11740
|
+
'frame-get-current-sync': VoidCall;
|
11741
|
+
'global-hotkey-register': {
|
11742
|
+
request: {
|
11743
|
+
hotkey: string;
|
11744
|
+
};
|
11745
|
+
response: void;
|
11746
|
+
};
|
11747
|
+
'global-hotkey-unregister': {
|
11748
|
+
request: {
|
11749
|
+
hotkey: string;
|
11750
|
+
};
|
11751
|
+
response: void;
|
11752
|
+
};
|
11753
|
+
'global-hotkey-unregister-all': {
|
11754
|
+
request: {};
|
11755
|
+
response: void;
|
11756
|
+
};
|
11757
|
+
'global-hotkey-is-registered': {
|
11758
|
+
request: {
|
11759
|
+
hotkey: string;
|
11760
|
+
};
|
11761
|
+
response: boolean;
|
11762
|
+
};
|
11763
|
+
'publish-message': {
|
11764
|
+
request: {
|
11765
|
+
topic: string;
|
11766
|
+
message: any;
|
11767
|
+
sourceWindowName: string;
|
11768
|
+
};
|
11769
|
+
response: void;
|
11770
|
+
};
|
11771
|
+
'send-message': {
|
11772
|
+
request: {
|
11773
|
+
destinationUuid: string;
|
11774
|
+
destinationWindowName: string | undefined;
|
11775
|
+
topic: string;
|
11776
|
+
message: any;
|
11777
|
+
sourceWindowName: string;
|
11778
|
+
};
|
11779
|
+
response: void;
|
11780
|
+
};
|
11781
|
+
'subscribe': {
|
11782
|
+
request: {
|
11783
|
+
sourceUuid: string;
|
11784
|
+
sourceWindowName: string;
|
11785
|
+
topic: string;
|
11786
|
+
destinationWindowName: string;
|
11787
|
+
messageKey?: any;
|
11788
|
+
};
|
11789
|
+
response: void;
|
11790
|
+
};
|
11791
|
+
'unsubscribe': {
|
11792
|
+
request: {
|
11793
|
+
sourceUuid: string;
|
11794
|
+
sourceWindowName: string;
|
11795
|
+
topic: string;
|
11796
|
+
destinationWindowName: string;
|
11797
|
+
};
|
11798
|
+
response: void;
|
11799
|
+
};
|
11800
|
+
'get-all-channels': GetterCall<OpenFin_2.ProviderIdentity[]>;
|
11801
|
+
'connect-to-channel': {
|
11802
|
+
request: any;
|
11803
|
+
response: OpenFin_2.RoutingInfo;
|
11804
|
+
};
|
11805
|
+
'create-channel': ApiCall<{
|
11806
|
+
channelName: string;
|
11807
|
+
}, OpenFin_2.ProviderIdentity>;
|
11808
|
+
'destroy-channel': ApiCall<{
|
11809
|
+
channelName: string;
|
11810
|
+
}, void>;
|
11811
|
+
'disconnect-from-channel': {
|
11812
|
+
request: {
|
11813
|
+
channelName: string;
|
11814
|
+
uuid: string;
|
11815
|
+
name: string;
|
11816
|
+
endpointId: string;
|
11817
|
+
};
|
11818
|
+
response: void;
|
11819
|
+
};
|
11820
|
+
'send-channel-message': {
|
11821
|
+
request: any;
|
11822
|
+
response: any;
|
11823
|
+
};
|
11824
|
+
'get-version': GetterCall<string>;
|
11825
|
+
'clear-cache': ApiCall<OpenFin_2.ClearCacheOption, void>;
|
11826
|
+
'delete-cache-request': VoidCall;
|
11827
|
+
'exit-desktop': VoidCall;
|
11828
|
+
'fetch-manifest': ApiCall<{
|
11829
|
+
manifestUrl: string;
|
11830
|
+
}, any>;
|
11831
|
+
'flush-cookie-store': VoidCall;
|
11832
|
+
'get-all-windows': GetterCall<OpenFin_2.ApplicationWindowInfo[]>;
|
11833
|
+
'get-all-applications': GetterCall<OpenFin_2.ApplicationState[]>;
|
11834
|
+
'get-command-line-arguments': GetterCall<string>;
|
11835
|
+
'get-crash-reporter-state': GetterCall<OpenFin_2.CrashReporterState>;
|
11836
|
+
'start-crash-reporter': {
|
11837
|
+
request: OpenFin_2.CrashReporterOptions | {
|
11838
|
+
diagnosticMode: boolean;
|
11839
|
+
};
|
11840
|
+
response: OpenFin_2.CrashReporterState;
|
11841
|
+
};
|
11842
|
+
'get-unique-user-id': GetterCall<string>;
|
11843
|
+
'get-entity-info': {
|
11844
|
+
request: {
|
11845
|
+
uuid: string;
|
11846
|
+
name: string;
|
11847
|
+
};
|
11848
|
+
response: OpenFin_2.EntityInfo;
|
11849
|
+
};
|
11850
|
+
'get-environment-variable': {
|
11851
|
+
request: {
|
11852
|
+
environmentVariables: string;
|
11853
|
+
};
|
11854
|
+
response: string;
|
11855
|
+
};
|
11856
|
+
'get-focused-window': GetterCall<OpenFin_2.Identity | null>;
|
11857
|
+
'is-app-certified': {
|
11858
|
+
request: {
|
11859
|
+
manifestUrl: string;
|
11860
|
+
};
|
11861
|
+
response: {
|
11862
|
+
action: string;
|
11863
|
+
certifiedInfo: OpenFin_2.CertifiedAppInfo;
|
11864
|
+
};
|
11865
|
+
};
|
11866
|
+
'get-installed-runtimes': GetterCall<{
|
11867
|
+
action: string;
|
11868
|
+
runtimes: string[];
|
11869
|
+
}>;
|
11870
|
+
'get-installed-apps': GetterCall<OpenFin_2.InstalledApps>;
|
11871
|
+
'view-log': ApiCall<OpenFin_2.GetLogRequestType, string>;
|
11872
|
+
'get-machine-id': GetterCall<string>;
|
11873
|
+
'get-min-log-level': GetterCall<OpenFin_2.LogLevel>;
|
11874
|
+
'list-logs': GetterCall<OpenFin_2.LogInfo[]>;
|
11875
|
+
'get-monitor-info': GetterCall<OpenFin_2.MonitorInfo>;
|
11876
|
+
'get-mouse-position': GetterCall<OpenFin_2.PointTopLeft>;
|
11877
|
+
'process-snapshot': GetterCall<Array<any>>;
|
11878
|
+
'get-all-process-info': ApiCall<OpenFin_2.ApplicationIdentity, OpenFin_2.SystemProcessInfo>;
|
11879
|
+
'get-proxy-settings': GetterCall<OpenFin_2.ProxyInfo>;
|
11880
|
+
'get-runtime-info': GetterCall<OpenFin_2.RuntimeInfo>;
|
11881
|
+
'get-rvm-info': GetterCall<OpenFin_2.RVMInfo>;
|
11882
|
+
'get-host-specs': GetterCall<OpenFin_2.HostSpecs>;
|
11883
|
+
'get-os-info': GetterCall<OpenFin_2.OSInfo>;
|
11884
|
+
'launch-external-process': ApiCall<OpenFin_2.ExternalProcessRequestType, OpenFin_2.Identity>;
|
11885
|
+
'monitor-external-process': ApiCall<OpenFin_2.ExternalProcessInfo, OpenFin_2.Identity>;
|
11886
|
+
'write-to-log': ApiCall<{
|
11887
|
+
level: string;
|
11888
|
+
message: string;
|
11889
|
+
}, void>;
|
11890
|
+
'open-url-with-browser': ApiCall<{
|
11891
|
+
url: string;
|
11892
|
+
}, void>;
|
11893
|
+
'register-custom-protocol': ApiCall<OpenFin_2.CustomProtocolOptions, void>;
|
11894
|
+
'unregister-custom-protocol': ApiCall<{
|
11895
|
+
protocolName: string;
|
11896
|
+
}, void>;
|
11897
|
+
'get-custom-protocol-state': ApiCall<{
|
11898
|
+
protocolName: string;
|
11899
|
+
}, OpenFin_2.CustomProtocolState>;
|
11900
|
+
'release-external-process': ApiCall<{
|
11901
|
+
uuid: string;
|
11902
|
+
}, void>;
|
11903
|
+
'show-developer-tools': ApiCall<OpenFin_2.Identity, void>;
|
11904
|
+
'terminate-external-process': ApiCall<OpenFin_2.TerminateExternalRequestType, void>;
|
11905
|
+
'update-proxy': ApiCall<OpenFin_2.ProxyConfig, void>;
|
11906
|
+
'download-asset': {
|
11907
|
+
request: OpenFin_2.AppAssetInfo & {
|
11908
|
+
downloadId: string;
|
11909
|
+
};
|
11910
|
+
response: void;
|
11911
|
+
};
|
11912
|
+
'download-runtime': {
|
11913
|
+
request: OpenFin_2.RuntimeDownloadOptions & {
|
11914
|
+
downloadId: string;
|
11915
|
+
};
|
11916
|
+
response: void;
|
11917
|
+
};
|
11918
|
+
'download-preload-scripts': ApiCall<{
|
11919
|
+
scripts: Array<OpenFin_2.DownloadPreloadOption>;
|
11920
|
+
}, Array<OpenFin_2.DownloadPreloadInfo>>;
|
11921
|
+
'get-all-external-applications': ApiCall<void, Array<OpenFin_2.Identity>>;
|
11922
|
+
'get-app-asset-info': ApiCall<OpenFin_2.AppAssetRequest, OpenFin_2.AppAssetInfo>;
|
11923
|
+
'get-cookies': {
|
11924
|
+
request: OpenFin_2.CookieOption & {
|
11925
|
+
url: string;
|
11926
|
+
};
|
11927
|
+
response: Array<OpenFin_2.CookieInfo>;
|
11928
|
+
};
|
11929
|
+
'set-min-log-level': ApiCall<{
|
11930
|
+
level: OpenFin_2.LogLevel;
|
11931
|
+
}, void>;
|
11932
|
+
'resolve-uuid': ApiCall<{
|
11933
|
+
entityKey: string;
|
11934
|
+
}, OpenFin_2.ApplicationType>;
|
11935
|
+
'read-registry-value': ApiCall<{
|
11936
|
+
rootKey: string;
|
11937
|
+
subkey: string;
|
11938
|
+
value: string;
|
11939
|
+
}, OpenFin_2.RegistryInfo>;
|
11940
|
+
'register-external-connection': ApiCall<{
|
11941
|
+
uuid: string;
|
11942
|
+
}, OpenFin_2.ExternalConnection>;
|
11943
|
+
'get-service-configuration': ApiCall<{
|
11944
|
+
name: string;
|
11945
|
+
}, OpenFin_2.ServiceConfiguration>;
|
11946
|
+
'get-system-app-configuration': ApiCall<{
|
11947
|
+
name: string;
|
11948
|
+
}, any>;
|
11949
|
+
'run-rvm-health-check': ApiCall<void, string[]>;
|
11546
11950
|
'launch-manifest': {
|
11547
11951
|
request: {
|
11548
11952
|
manifestUrl: string;
|
@@ -11554,17 +11958,12 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
11554
11958
|
manifest: OpenFin_2.Manifest;
|
11555
11959
|
};
|
11556
11960
|
};
|
11557
|
-
'
|
11961
|
+
'query-permission-for-current-context': {
|
11558
11962
|
request: {
|
11559
|
-
|
11560
|
-
|
11561
|
-
response: any;
|
11562
|
-
};
|
11563
|
-
'show-popup-menu': {
|
11564
|
-
request: OpenFin_2.Identity & {
|
11565
|
-
options: OpenFin_2.ShowPopupMenuOptions;
|
11963
|
+
apiName: string;
|
11964
|
+
identity: OpenFin_2.Identity;
|
11566
11965
|
};
|
11567
|
-
response: OpenFin_2.
|
11966
|
+
response: OpenFin_2.QueryPermissionResult;
|
11568
11967
|
};
|
11569
11968
|
'enable-native-window-integration-provider': {
|
11570
11969
|
request: {
|
@@ -11572,24 +11971,34 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
11572
11971
|
};
|
11573
11972
|
response: OpenFin_2.NativeWindowIntegrationProviderAuthorization;
|
11574
11973
|
};
|
11974
|
+
'register-usage': ApiCall<OpenFin_2.RegisterUsageData, void>;
|
11975
|
+
'system-get-printers': GetterCall<OpenFin_2.PrinterInfo[]>;
|
11976
|
+
'system-update-process-logging-options': ApiCall<{
|
11977
|
+
options: OpenFin_2.ProcessLoggingOptions;
|
11978
|
+
}, void>;
|
11979
|
+
'get-domain-settings': ApiCall<OpenFin_2.ApplicationIdentity, OpenFin_2.DefaultDomainSettings>;
|
11980
|
+
'set-domain-settings': ApiCall<OpenFin_2.ApplicationIdentity & {
|
11981
|
+
domainSettings: OpenFin_2.DefaultDomainSettings;
|
11982
|
+
}, void>;
|
11983
|
+
'system-register-shutdown-handler': VoidCall;
|
11575
11984
|
'get-permissions': GetterCall<any>;
|
11576
|
-
'get-all-channels': GetterCall<OpenFin_2.ProviderIdentity[]>;
|
11577
|
-
'set-file-download-location': {
|
11578
|
-
request: OpenFin_2.Identity & {
|
11579
|
-
downloadLocation: string;
|
11580
|
-
};
|
11581
|
-
response: void;
|
11582
|
-
};
|
11583
|
-
'get-file-download-location': {
|
11584
|
-
request: OpenFin_2.ApplicationIdentity;
|
11585
|
-
response: string;
|
11586
|
-
};
|
11587
|
-
'close-popup-menu': IdentityCall;
|
11588
11985
|
'fdc3-add-context-listener': VoidCall;
|
11986
|
+
'fdc3-add-intent-listener': VoidCall;
|
11987
|
+
'fdc3-raise-intent': VoidCall;
|
11988
|
+
'fdc3-find-intent': VoidCall;
|
11989
|
+
'fdc3-find-intents-by-context': VoidCall;
|
11990
|
+
'fdc3-raise-intent-for-context': VoidCall;
|
11991
|
+
'fdc3-get-info': VoidCall;
|
11992
|
+
'fdc3-find-instances': VoidCall;
|
11993
|
+
'fdc3-get-app-metadata': VoidCall;
|
11589
11994
|
'fdc3-broadcast': VoidCall;
|
11995
|
+
'fdc3-open': VoidCall;
|
11996
|
+
'fdc3-get-or-create-channel': VoidCall;
|
11590
11997
|
'fdc3-get-system-channels': VoidCall;
|
11591
11998
|
'fdc3-join-channel': VoidCall;
|
11999
|
+
'fdc3-get-current-channel': VoidCall;
|
11592
12000
|
'fdc3-leave-current-channel': VoidCall;
|
12001
|
+
'interop-init': VoidCall;
|
11593
12002
|
'interop-connect-sync': VoidCall;
|
11594
12003
|
'interop-client-set-context': VoidCall;
|
11595
12004
|
'interop-client-add-context-handler': VoidCall;
|
@@ -11598,6 +12007,13 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
11598
12007
|
'interop-client-remove-from-context-group': VoidCall;
|
11599
12008
|
'interop-client-get-all-clients-in-context-group': VoidCall;
|
11600
12009
|
'interop-client-get-info-for-context-group': VoidCall;
|
12010
|
+
'interop-client-fire-intent': VoidCall;
|
12011
|
+
'interop-client-register-intent-handler': VoidCall;
|
12012
|
+
'interop-client-get-current-context': VoidCall;
|
12013
|
+
'interop-client-get-info-for-intent': VoidCall;
|
12014
|
+
'interop-client-get-info-for-intents-by-context': VoidCall;
|
12015
|
+
'interop-client-fire-intent-for-context': VoidCall;
|
12016
|
+
'interop-client-add-ondisconnection-listener': VoidCall;
|
11601
12017
|
'interop-broker-add-client-to-context-group': VoidCall;
|
11602
12018
|
'interop-broker-get-all-clients-in-context-group': VoidCall;
|
11603
12019
|
'interop-broker-get-context-groups': VoidCall;
|
@@ -11609,13 +12025,100 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
11609
12025
|
'interop-broker-remove-from-context-group': VoidCall;
|
11610
12026
|
'interop-broker-set-context': VoidCall;
|
11611
12027
|
'interop-broker-set-context-for-group': VoidCall;
|
11612
|
-
'
|
11613
|
-
|
11614
|
-
|
11615
|
-
|
11616
|
-
|
11617
|
-
|
11618
|
-
|
12028
|
+
'interop-broker-get-current-context': VoidCall;
|
12029
|
+
'interop-broker-set-intent-target': VoidCall;
|
12030
|
+
'interop-session-context-group-set-context': VoidCall;
|
12031
|
+
'interop-session-context-group-get-context': VoidCall;
|
12032
|
+
'interop-session-context-group-add-handler': VoidCall;
|
12033
|
+
'platform-wrap': VoidCall;
|
12034
|
+
'platform-wrap-sync': VoidCall;
|
12035
|
+
'platform-get-current': VoidCall;
|
12036
|
+
'platform-get-current-sync': VoidCall;
|
12037
|
+
'platform-start': VoidCall;
|
12038
|
+
'platform-start-from-manifest': VoidCall;
|
12039
|
+
'platform-get-client': ApplicationIdentityCall<{}, void>;
|
12040
|
+
'platform-create-view': ApplicationIdentityCall<{}, void>;
|
12041
|
+
'platform-create-window': ApplicationIdentityCall<{}, void>;
|
12042
|
+
'platform-quit': ApplicationIdentityCall<{}, void>;
|
12043
|
+
'platform-close-view': ApplicationIdentityCall<{}, void>;
|
12044
|
+
'platform-reparent-view': ApplicationIdentityCall<{}, void>;
|
12045
|
+
'platform-get-snapshot': ApplicationIdentityCall<{}, void>;
|
12046
|
+
'platform-apply-snapshot': ApplicationIdentityCall<{}, void>;
|
12047
|
+
'platform-launch-content-manifest': ApplicationIdentityCall<{}, void>;
|
12048
|
+
'platform-set-window-context': ApplicationIdentityCall<{}, void>;
|
12049
|
+
'platform-get-window-context': ApplicationIdentityCall<{}, void>;
|
12050
|
+
'platform-close-window': ApplicationIdentityCall<{}, void>;
|
12051
|
+
'layout-wrap': VoidCall;
|
12052
|
+
'layout-wrap-sync': VoidCall;
|
12053
|
+
'layout-get-current': VoidCall;
|
12054
|
+
'layout-get-current-sync': VoidCall;
|
12055
|
+
'layout-init': VoidCall;
|
12056
|
+
'layout-get-config': VoidCall;
|
12057
|
+
'layout-get-views': VoidCall;
|
12058
|
+
'layout-replace': VoidCall;
|
12059
|
+
'layout-get-root-item': VoidCall;
|
12060
|
+
'layout-replace-view': VoidCall;
|
12061
|
+
'layout-apply-preset': VoidCall;
|
12062
|
+
'layout-controller-get-root': VoidCall;
|
12063
|
+
'layout-controller-get-stack-by-view': VoidCall;
|
12064
|
+
'layout-controller-get-stack-views': VoidCall;
|
12065
|
+
'layout-controller-get-content': VoidCall;
|
12066
|
+
'layout-controller-get-parent': VoidCall;
|
12067
|
+
'layout-controller-is-root': VoidCall;
|
12068
|
+
'layout-controller-exists': VoidCall;
|
12069
|
+
'layout-controller-add-view-to-stack': VoidCall;
|
12070
|
+
'layout-controller-remove-view-from-stack': VoidCall;
|
12071
|
+
'layout-controller-create-adjacent-stack': VoidCall;
|
12072
|
+
'layout-controller-get-adjacent-stacks': VoidCall;
|
12073
|
+
'layout-controller-set-stack-active-view': VoidCall;
|
12074
|
+
'snapshot-source-init': VoidCall;
|
12075
|
+
'snapshot-source-wrap-sync': VoidCall;
|
12076
|
+
'snapshot-source-wrap': VoidCall;
|
12077
|
+
'snapshot-source-ready': VoidCall;
|
12078
|
+
'snapshot-source-get-snapshot': VoidCall;
|
12079
|
+
'snapshot-source-apply-snapshot': VoidCall;
|
12080
|
+
'capture-page': IdentityCall<{
|
12081
|
+
options?: OpenFin_2.CapturePageOptions;
|
12082
|
+
}, string>;
|
12083
|
+
'execute-javascript-in-window': IdentityCall<{
|
12084
|
+
code: string;
|
12085
|
+
}, unknown>;
|
12086
|
+
'get-zoom-level': IdentityCall<{}, number>;
|
12087
|
+
'set-zoom-level': IdentityCall<{
|
12088
|
+
level: number;
|
12089
|
+
}, void>;
|
12090
|
+
'navigate-window': IdentityCall<{
|
12091
|
+
url: string;
|
12092
|
+
}, void>;
|
12093
|
+
'navigate-window-back': IdentityCall<{}, void>;
|
12094
|
+
'navigate-window-forward': IdentityCall<{}, void>;
|
12095
|
+
'stop-window-navigation': IdentityCall<{}, void>;
|
12096
|
+
'reload-window': IdentityCall<{
|
12097
|
+
ignoreCache: boolean;
|
12098
|
+
}, void>;
|
12099
|
+
'print': IdentityCall<{
|
12100
|
+
options: OpenFin_2.PrintOptions;
|
12101
|
+
}, void>;
|
12102
|
+
'find-in-page': IdentityCall<{
|
12103
|
+
searchTerm: string;
|
12104
|
+
options?: OpenFin_2.FindInPageOptions;
|
12105
|
+
}, void>;
|
12106
|
+
'stop-find-in-page': IdentityCall<{
|
12107
|
+
action: 'clearSelection' | 'keepSelection' | 'activateSelection';
|
12108
|
+
}, void>;
|
12109
|
+
'get-printers': IdentityCall<{}, OpenFin_2.PrinterInfo>;
|
12110
|
+
'focus-window': IdentityCall<{
|
12111
|
+
emitSynthFocused: boolean;
|
12112
|
+
}, void>;
|
12113
|
+
'get-process-info': IdentityCall<{}, OpenFin_2.EntityProcessDetails>;
|
12114
|
+
'get-shared-workers': IdentityCall<{}, OpenFin_2.SharedWorkerInfo[]>;
|
12115
|
+
'inspect-shared-worker': IdentityCall<{}, void>;
|
12116
|
+
'inspect-shared-worker-by-id': IdentityCall<{
|
12117
|
+
workerId: string;
|
12118
|
+
}, void>;
|
12119
|
+
'inspect-service-worker': IdentityCall<{}, void>;
|
12120
|
+
'view-show-popup-window': IdentityCall<{}, void>;
|
12121
|
+
'window-show-popup-window': IdentityCall<{}, void>;
|
11619
12122
|
'try-create-popup-window': {
|
11620
12123
|
request: OpenFin_2.Identity & {
|
11621
12124
|
options: OpenFin_2.PopupOptions;
|
@@ -11631,9 +12134,6 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
11631
12134
|
};
|
11632
12135
|
response: OpenFin_2.PopupResult;
|
11633
12136
|
};
|
11634
|
-
'dispatch-popup-result': IdentityCall<{
|
11635
|
-
data: any;
|
11636
|
-
}>;
|
11637
12137
|
'render-overlay': {
|
11638
12138
|
request: {
|
11639
12139
|
bounds: OpenFin_2.Bounds;
|
@@ -11653,40 +12153,6 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
11653
12153
|
};
|
11654
12154
|
response: void;
|
11655
12155
|
};
|
11656
|
-
'get-host-specs': GetterCall<OpenFin_2.HostSpecs>;
|
11657
|
-
'get-os-info': GetterCall<OpenFin_2.OSInfo>;
|
11658
|
-
'system-get-printers': GetterCall<OpenFin_2.PrinterInfo[]>;
|
11659
|
-
'system-register-shutdown-handler': VoidCall;
|
11660
|
-
'get-domain-settings': ApiCall<OpenFin_2.ApplicationIdentity, OpenFin_2.DefaultDomainSettings>;
|
11661
|
-
'set-domain-settings': ApiCall<OpenFin_2.ApplicationIdentity & {
|
11662
|
-
domainSettings: OpenFin_2.DefaultDomainSettings;
|
11663
|
-
}, void>;
|
11664
|
-
'move-window-by': IdentityCall<WithPositioningOptions<{
|
11665
|
-
deltaLeft: number;
|
11666
|
-
deltaTop: number;
|
11667
|
-
}>>;
|
11668
|
-
'move-window': IdentityCall<WithPositioningOptions<{
|
11669
|
-
left: number;
|
11670
|
-
top: number;
|
11671
|
-
}>>;
|
11672
|
-
'resize-window-by': IdentityCall<WithPositioningOptions<{
|
11673
|
-
deltaWidth: number;
|
11674
|
-
deltaHeight: number;
|
11675
|
-
anchor: OpenFin_2.AnchorType;
|
11676
|
-
}>>;
|
11677
|
-
'resize-window': IdentityCall<WithPositioningOptions<{
|
11678
|
-
width: number;
|
11679
|
-
height: number;
|
11680
|
-
anchor: OpenFin_2.AnchorType;
|
11681
|
-
}>>;
|
11682
|
-
'set-window-bounds': IdentityCall<WithPositioningOptions<Partial<OpenFin_2.Bounds>>>;
|
11683
|
-
'register-custom-protocol': ApiCall<OpenFin_2.CustomProtocolOptions, void>;
|
11684
|
-
'unregister-custom-protocol': ApiCall<{
|
11685
|
-
protocolName: string;
|
11686
|
-
}, void>;
|
11687
|
-
'get-custom-protocol-state': ApiCall<{
|
11688
|
-
protocolName: string;
|
11689
|
-
}, OpenFin_2.CustomProtocolState>;
|
11690
12156
|
}
|
11691
12157
|
|
11692
12158
|
declare interface ProtocolMapBase {
|
@@ -11716,7 +12182,7 @@ declare type ProviderIdentity_3 = OpenFin_2.ProviderIdentity;
|
|
11716
12182
|
* Identity of a channel provider.
|
11717
12183
|
* @interface
|
11718
12184
|
*/
|
11719
|
-
declare type ProviderIdentity_4 =
|
12185
|
+
declare type ProviderIdentity_4 = Identity_4 & {
|
11720
12186
|
/**
|
11721
12187
|
* Identifier of the channel.
|
11722
12188
|
*/
|
@@ -11727,12 +12193,10 @@ declare type ProviderIdentity_4 = Identity_5 & {
|
|
11727
12193
|
channelName: string;
|
11728
12194
|
};
|
11729
12195
|
|
11730
|
-
declare type ProxyConfig = OpenFin_2.ProxyConfig;
|
11731
|
-
|
11732
12196
|
/**
|
11733
12197
|
* @interface
|
11734
12198
|
*/
|
11735
|
-
declare type
|
12199
|
+
declare type ProxyConfig = {
|
11736
12200
|
/**
|
11737
12201
|
* The configured proxy address.
|
11738
12202
|
*/
|
@@ -11744,13 +12208,11 @@ declare type ProxyConfig_2 = {
|
|
11744
12208
|
type: string;
|
11745
12209
|
};
|
11746
12210
|
|
11747
|
-
declare type ProxyInfo = OpenFin_2.ProxyInfo;
|
11748
|
-
|
11749
12211
|
/**
|
11750
12212
|
* @interface
|
11751
12213
|
*/
|
11752
|
-
declare type
|
11753
|
-
config:
|
12214
|
+
declare type ProxyInfo = {
|
12215
|
+
config: ProxyConfig;
|
11754
12216
|
system: ProxySystemInfo;
|
11755
12217
|
};
|
11756
12218
|
|
@@ -11856,12 +12318,10 @@ declare type RegisterUsageData = {
|
|
11856
12318
|
type: string;
|
11857
12319
|
};
|
11858
12320
|
|
11859
|
-
declare type RegistryInfo = OpenFin_2.RegistryInfo;
|
11860
|
-
|
11861
12321
|
/**
|
11862
12322
|
* @interface
|
11863
12323
|
*/
|
11864
|
-
declare type
|
12324
|
+
declare type RegistryInfo = {
|
11865
12325
|
data: any;
|
11866
12326
|
rootKey: string;
|
11867
12327
|
subkey: string;
|
@@ -11882,6 +12342,15 @@ declare interface RemoteConfig extends ExistingConnectConfig {
|
|
11882
12342
|
token: string;
|
11883
12343
|
}
|
11884
12344
|
|
12345
|
+
/**
|
12346
|
+
* Generated when a View is removed from a layout.
|
12347
|
+
* @interface
|
12348
|
+
*/
|
12349
|
+
declare type RemovedFromLayoutEvent = BaseEvent_4 & {
|
12350
|
+
type: 'removed-from-layout';
|
12351
|
+
layoutIdentity: OpenFin_2.LayoutIdentity;
|
12352
|
+
};
|
12353
|
+
|
11885
12354
|
/**
|
11886
12355
|
* @interface
|
11887
12356
|
*/
|
@@ -11910,14 +12379,14 @@ declare type ReplaceLayoutPayload = {
|
|
11910
12379
|
/**
|
11911
12380
|
* Identity of the window whose layout will be replaced.
|
11912
12381
|
*/
|
11913
|
-
target:
|
12382
|
+
target: Identity_4 | LayoutIdentity;
|
11914
12383
|
};
|
11915
12384
|
|
11916
12385
|
/**
|
11917
12386
|
* @interface
|
11918
12387
|
*/
|
11919
12388
|
declare type ReplaceViewOptions = {
|
11920
|
-
viewToReplace:
|
12389
|
+
viewToReplace: Identity_4;
|
11921
12390
|
newView: ViewState;
|
11922
12391
|
};
|
11923
12392
|
|
@@ -11926,7 +12395,7 @@ declare type ReplaceViewOptions = {
|
|
11926
12395
|
*/
|
11927
12396
|
declare type ReplaceViewPayload = {
|
11928
12397
|
opts: {
|
11929
|
-
viewToReplace:
|
12398
|
+
viewToReplace: Identity_4;
|
11930
12399
|
newView: Partial<ViewOptions>;
|
11931
12400
|
};
|
11932
12401
|
target: LayoutIdentity;
|
@@ -12292,7 +12761,7 @@ declare type SetWindowContextPayload = {
|
|
12292
12761
|
/**
|
12293
12762
|
* Identity of the entity targeted by the call to {@link Platform#setWindowContext Platform.setWindowContext}.
|
12294
12763
|
*/
|
12295
|
-
target:
|
12764
|
+
target: Identity_4;
|
12296
12765
|
};
|
12297
12766
|
|
12298
12767
|
/**
|
@@ -12736,7 +13205,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
12736
13205
|
* fin.System.getAllWindows().then(wins => console.log(wins)).catch(err => console.log(err));
|
12737
13206
|
* ```
|
12738
13207
|
*/
|
12739
|
-
getAllWindows(): Promise<Array<ApplicationWindowInfo>>;
|
13208
|
+
getAllWindows(): Promise<Array<OpenFin_2.ApplicationWindowInfo>>;
|
12740
13209
|
/**
|
12741
13210
|
* Retrieves an array of data for all applications.
|
12742
13211
|
*
|
@@ -12745,7 +13214,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
12745
13214
|
* fin.System.getAllApplications().then(apps => console.log(apps)).catch(err => console.log(err));
|
12746
13215
|
* ```
|
12747
13216
|
*/
|
12748
|
-
getAllApplications(): Promise<Array<ApplicationState>>;
|
13217
|
+
getAllApplications(): Promise<Array<OpenFin_2.ApplicationState>>;
|
12749
13218
|
/**
|
12750
13219
|
* Retrieves the command line argument string that started OpenFin Runtime.
|
12751
13220
|
*
|
@@ -12820,7 +13289,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
12820
13289
|
* }
|
12821
13290
|
* ```
|
12822
13291
|
*/
|
12823
|
-
getEntityInfo(uuid: string, name: string): Promise<EntityInfo>;
|
13292
|
+
getEntityInfo(uuid: string, name: string): Promise<OpenFin_2.EntityInfo>;
|
12824
13293
|
/**
|
12825
13294
|
* Gets the value of a given environment variable on the computer on which the runtime is installed
|
12826
13295
|
*
|
@@ -12862,7 +13331,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
12862
13331
|
* ```
|
12863
13332
|
*/
|
12864
13333
|
getInstalledRuntimes(): Promise<string[]>;
|
12865
|
-
getInstalledApps(): Promise<InstalledApps>;
|
13334
|
+
getInstalledApps(): Promise<OpenFin_2.InstalledApps>;
|
12866
13335
|
/**
|
12867
13336
|
* Retrieves the contents of the log with the specified filename.
|
12868
13337
|
* @param options A object that id defined by the GetLogRequestType interface
|
@@ -12877,7 +13346,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
12877
13346
|
* getLog().then(log => console.log(log)).catch(err => console.log(err));
|
12878
13347
|
* ```
|
12879
13348
|
*/
|
12880
|
-
getLog(options: GetLogRequestType): Promise<string>;
|
13349
|
+
getLog(options: OpenFin_2.GetLogRequestType): Promise<string>;
|
12881
13350
|
/**
|
12882
13351
|
* Returns a unique identifier (UUID) provided by the machine.
|
12883
13352
|
*
|
@@ -12895,7 +13364,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
12895
13364
|
* fin.System.getMinLogLevel().then(level => console.log(level)).catch(err => console.log(err));
|
12896
13365
|
* ```
|
12897
13366
|
*/
|
12898
|
-
getMinLogLevel(): Promise<LogLevel>;
|
13367
|
+
getMinLogLevel(): Promise<OpenFin_2.LogLevel>;
|
12899
13368
|
/**
|
12900
13369
|
* Retrieves an array containing information for each log file.
|
12901
13370
|
*
|
@@ -12904,7 +13373,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
12904
13373
|
* fin.System.getLogList().then(logList => console.log(logList)).catch(err => console.log(err));
|
12905
13374
|
* ```
|
12906
13375
|
*/
|
12907
|
-
getLogList(): Promise<Array<LogInfo>>;
|
13376
|
+
getLogList(): Promise<Array<OpenFin_2.LogInfo>>;
|
12908
13377
|
/**
|
12909
13378
|
* Retrieves an object that contains data about the monitor setup of the
|
12910
13379
|
* computer that the runtime is running on.
|
@@ -12975,7 +13444,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
12975
13444
|
* }
|
12976
13445
|
* ```
|
12977
13446
|
*/
|
12978
|
-
getProxySettings(): Promise<ProxyInfo>;
|
13447
|
+
getProxySettings(): Promise<OpenFin_2.ProxyInfo>;
|
12979
13448
|
/**
|
12980
13449
|
* Returns information about the running Runtime in an object.
|
12981
13450
|
*
|
@@ -13342,7 +13811,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
13342
13811
|
* }
|
13343
13812
|
* ```
|
13344
13813
|
*/
|
13345
|
-
launchExternalProcess(options: OpenFin_2.ExternalProcessRequestType): Promise<
|
13814
|
+
launchExternalProcess(options: OpenFin_2.ExternalProcessRequestType): Promise<Identity>;
|
13346
13815
|
/**
|
13347
13816
|
* Monitors a running process. A pid for the process must be included in options.
|
13348
13817
|
* <br> A uuid may be optionally provided. If not provided, OpenFin will create a uuid for the new process.
|
@@ -13359,7 +13828,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
13359
13828
|
* }).then(processIdentity => console.log(processIdentity)).catch(err => console.log(err));
|
13360
13829
|
* ```
|
13361
13830
|
*/
|
13362
|
-
monitorExternalProcess(options: OpenFin_2.ExternalProcessInfo): Promise<
|
13831
|
+
monitorExternalProcess(options: OpenFin_2.ExternalProcessInfo): Promise<Identity>;
|
13363
13832
|
/**
|
13364
13833
|
* Writes the passed message into both the log file and the console.
|
13365
13834
|
* @param level The log level for the entry. Can be either "info", "warning" or "error"
|
@@ -13493,7 +13962,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
13493
13962
|
*
|
13494
13963
|
* @tutorial System.showDeveloperTools
|
13495
13964
|
*/
|
13496
|
-
showDeveloperTools(identity:
|
13965
|
+
showDeveloperTools(identity: Identity): Promise<void>;
|
13497
13966
|
/**
|
13498
13967
|
* Attempt to close an external process. The process will be terminated if it
|
13499
13968
|
* has not closed after the elapsed timeout in milliseconds.
|
@@ -13527,7 +13996,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
13527
13996
|
* .catch(err => console.error(err));
|
13528
13997
|
* ```
|
13529
13998
|
*/
|
13530
|
-
updateProxySettings(options: ProxyConfig): Promise<void>;
|
13999
|
+
updateProxySettings(options: OpenFin_2.ProxyConfig): Promise<void>;
|
13531
14000
|
/**
|
13532
14001
|
* Downloads the given application asset.
|
13533
14002
|
*
|
@@ -13619,7 +14088,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
13619
14088
|
* .catch(err => console.log(err));
|
13620
14089
|
* ```
|
13621
14090
|
*/
|
13622
|
-
getAllExternalApplications(): Promise<Array<
|
14091
|
+
getAllExternalApplications(): Promise<Array<Identity>>;
|
13623
14092
|
/**
|
13624
14093
|
* Retrieves app asset information.
|
13625
14094
|
* @param options
|
@@ -13648,7 +14117,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
13648
14117
|
* fin.System.setMinLogLevel("verbose").then(() => console.log("log level is set to verbose")).catch(err => console.log(err));
|
13649
14118
|
* ```
|
13650
14119
|
*/
|
13651
|
-
setMinLogLevel(level: LogLevel): Promise<void>;
|
14120
|
+
setMinLogLevel(level: OpenFin_2.LogLevel): Promise<void>;
|
13652
14121
|
/**
|
13653
14122
|
* Retrieves the UUID of the computer on which the runtime is installed
|
13654
14123
|
* @param uuid The uuid of the running application
|
@@ -13658,7 +14127,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
13658
14127
|
* fin.System.resolveUuid('OpenfinPOC').then(entity => console.log(entity)).catch(err => console.log(err));
|
13659
14128
|
* ```
|
13660
14129
|
*/
|
13661
|
-
resolveUuid(uuid: string): Promise<
|
14130
|
+
resolveUuid(uuid: string): Promise<OpenFin_2.ApplicationType>;
|
13662
14131
|
/**
|
13663
14132
|
* Retrieves an array of data for all external applications
|
13664
14133
|
* @param requestingIdentity This object is described in the Identity typedef
|
@@ -13666,7 +14135,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
13666
14135
|
*
|
13667
14136
|
* @ignore
|
13668
14137
|
*/
|
13669
|
-
executeOnRemote(requestingIdentity:
|
14138
|
+
executeOnRemote(requestingIdentity: Identity, data: any): Promise<any>;
|
13670
14139
|
/**
|
13671
14140
|
* Reads the specifed value from the registry.
|
13672
14141
|
* @remarks This method is restricted by default and must be enabled via
|
@@ -13759,7 +14228,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
13759
14228
|
* }
|
13760
14229
|
* ```
|
13761
14230
|
*/
|
13762
|
-
readRegistryValue(rootKey: string, subkey: string, value: string): Promise<RegistryInfo>;
|
14231
|
+
readRegistryValue(rootKey: string, subkey: string, value: string): Promise<OpenFin_2.RegistryInfo>;
|
13763
14232
|
/**
|
13764
14233
|
* This function call will register a unique id and produce a token.
|
13765
14234
|
* The token can be used to broker an external connection.
|
@@ -13974,7 +14443,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
13974
14443
|
* });
|
13975
14444
|
* ```
|
13976
14445
|
*/
|
13977
|
-
getPrinters(): Promise<PrinterInfo[]>;
|
14446
|
+
getPrinters(): Promise<OpenFin_2.PrinterInfo[]>;
|
13978
14447
|
/**
|
13979
14448
|
* Updates Process Logging values: periodic interval and outlier detection entries and interval.
|
13980
14449
|
* @param options Process Logging updatable options.
|
@@ -14593,14 +15062,11 @@ declare type UrlChangedEvent = BaseUrlEvent & ({
|
|
14593
15062
|
declare type UserAppConfigArgs = Record<string, string | string[]>;
|
14594
15063
|
|
14595
15064
|
/**
|
14596
|
-
*
|
15065
|
+
* An event that fires when a window's bounds are changed directly by the user.
|
15066
|
+
*
|
14597
15067
|
* @interface
|
14598
15068
|
*/
|
14599
|
-
declare type UserBoundsChangeEvent =
|
14600
|
-
height: number;
|
14601
|
-
left: number;
|
14602
|
-
top: number;
|
14603
|
-
width: number;
|
15069
|
+
declare type UserBoundsChangeEvent = BoundsEvent & {
|
14604
15070
|
windowState: 'minimized' | 'normal' | 'maximized';
|
14605
15071
|
};
|
14606
15072
|
|
@@ -15103,7 +15569,7 @@ declare type ViewContentCreationRule = BaseContentCreationRule & {
|
|
15103
15569
|
declare type ViewCreationOptions = Partial<ViewOptions> & {
|
15104
15570
|
name: string;
|
15105
15571
|
url: string;
|
15106
|
-
target:
|
15572
|
+
target: Identity_4;
|
15107
15573
|
};
|
15108
15574
|
|
15109
15575
|
declare type ViewCreationOrReference = OpenFin_2.Identity | OpenFin_2.PlatformViewCreationOptions;
|
@@ -15132,6 +15598,8 @@ declare namespace ViewEvents {
|
|
15132
15598
|
BaseEvent_4 as BaseEvent,
|
15133
15599
|
BaseViewEvent,
|
15134
15600
|
TargetChangedEvent,
|
15601
|
+
AddedToLayoutEvent,
|
15602
|
+
RemovedFromLayoutEvent,
|
15135
15603
|
NonPropagatedViewEvent,
|
15136
15604
|
CreatedEvent,
|
15137
15605
|
DestroyedEvent,
|
@@ -15287,15 +15755,15 @@ declare interface ViewsPreventingUnloadPayload {
|
|
15287
15755
|
/**
|
15288
15756
|
* Identity of the Window.
|
15289
15757
|
*/
|
15290
|
-
windowId:
|
15758
|
+
windowId: Identity_4;
|
15291
15759
|
/**
|
15292
15760
|
* Identities of the Views that are preventing an unload
|
15293
15761
|
*/
|
15294
|
-
viewsPreventingUnload:
|
15762
|
+
viewsPreventingUnload: Identity_4[];
|
15295
15763
|
/**
|
15296
15764
|
* Identities of the Views that are not preventing an unload
|
15297
15765
|
*/
|
15298
|
-
viewsNotPreventingUnload:
|
15766
|
+
viewsNotPreventingUnload: Identity_4[];
|
15299
15767
|
/**
|
15300
15768
|
* Source of the close action.
|
15301
15769
|
*/
|
@@ -15320,11 +15788,11 @@ declare interface ViewStatuses {
|
|
15320
15788
|
/**
|
15321
15789
|
* Identities of the Views that are preventing an unload.
|
15322
15790
|
*/
|
15323
|
-
viewsPreventingUnload:
|
15791
|
+
viewsPreventingUnload: Identity_4[];
|
15324
15792
|
/**
|
15325
15793
|
* Identities of the Views that are not preventing an unload.
|
15326
15794
|
*/
|
15327
|
-
viewsNotPreventingUnload:
|
15795
|
+
viewsNotPreventingUnload: Identity_4[];
|
15328
15796
|
}
|
15329
15797
|
|
15330
15798
|
/**
|
@@ -15829,7 +16297,7 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
|
|
15829
16297
|
* We do not expose an explicit superclass for this functionality, but it does have its own
|
15830
16298
|
* {@link OpenFin.WebContentsEvents event namespace}.
|
15831
16299
|
*/
|
15832
|
-
stopFindInPage(action:
|
16300
|
+
stopFindInPage(action: 'clearSelection' | 'keepSelection' | 'activateSelection'): Promise<void>;
|
15833
16301
|
/**
|
15834
16302
|
* Returns an array with all system printers
|
15835
16303
|
* @deprecated use System.getPrinters instead
|
@@ -16422,11 +16890,7 @@ declare type WillMoveEvent = WillMoveOrResizeEvent & {
|
|
16422
16890
|
* A general will-move or will-resize event without event type.
|
16423
16891
|
* @interface
|
16424
16892
|
*/
|
16425
|
-
declare type WillMoveOrResizeEvent =
|
16426
|
-
height: number;
|
16427
|
-
left: number;
|
16428
|
-
top: number;
|
16429
|
-
width: number;
|
16893
|
+
declare type WillMoveOrResizeEvent = BoundsEvent & {
|
16430
16894
|
monitorScaleFactor: number;
|
16431
16895
|
};
|
16432
16896
|
|
@@ -17618,16 +18082,21 @@ declare namespace WindowEvents {
|
|
17618
18082
|
PreloadScriptInfoRunning,
|
17619
18083
|
PreloadScriptInfo,
|
17620
18084
|
PreloadScriptsStateChangeEvent,
|
17621
|
-
|
18085
|
+
BoundsEvent,
|
17622
18086
|
BoundsChangeEvent,
|
17623
18087
|
WillMoveOrResizeEvent,
|
18088
|
+
BoundsDidChangeEvent,
|
18089
|
+
BoundsChangedEvent,
|
18090
|
+
BoundsChangingEvent,
|
18091
|
+
DisabledMovementBoundsChangedEvent,
|
18092
|
+
DisabledMovementBoundsChangingEvent,
|
18093
|
+
UserBoundsChangeEvent,
|
18094
|
+
BeginUserBoundsChangingEvent,
|
18095
|
+
EndUserBoundsChangingEvent,
|
17624
18096
|
PerformanceReportEvent,
|
17625
18097
|
InputEvent_2 as InputEvent,
|
17626
18098
|
LayoutInitializedEvent,
|
17627
18099
|
LayoutReadyEvent,
|
17628
|
-
BeginUserBoundsChangingEvent,
|
17629
|
-
BoundsChangedEvent,
|
17630
|
-
BoundsChangingEvent,
|
17631
18100
|
CloseRequestedEvent,
|
17632
18101
|
WindowCloseRequestedEvent,
|
17633
18102
|
ContextChangedEvent,
|
@@ -17635,10 +18104,7 @@ declare namespace WindowEvents {
|
|
17635
18104
|
WindowClosedEvent,
|
17636
18105
|
ClosingEvent,
|
17637
18106
|
WindowClosingEvent,
|
17638
|
-
DisabledMovementBoundsChangedEvent,
|
17639
|
-
DisabledMovementBoundsChangingEvent,
|
17640
18107
|
EmbeddedEvent,
|
17641
|
-
EndUserBoundsChangingEvent,
|
17642
18108
|
HotkeyEvent_2 as HotkeyEvent,
|
17643
18109
|
WindowHotkeyEvent,
|
17644
18110
|
InitializedEvent_2 as InitializedEvent,
|