@openfin/core 39.83.3 → 39.83.4
Sign up to get free protection for your applications and to get access to all the features.
- package/out/mock-alpha.d.ts +686 -219
- package/out/mock-beta.d.ts +686 -219
- package/out/mock-public.d.ts +686 -219
- package/out/mock.d.ts +689 -219
- package/out/mock.js +1422 -1316
- package/package.json +1 -1
package/out/mock.d.ts
CHANGED
@@ -61,7 +61,7 @@ declare type AddedToLayoutEvent = BaseEvent_4 & {
|
|
61
61
|
*/
|
62
62
|
declare type AddViewOptions = CreateViewTarget & {
|
63
63
|
options: ViewState;
|
64
|
-
targetView?:
|
64
|
+
targetView?: Identity_4;
|
65
65
|
};
|
66
66
|
|
67
67
|
/**
|
@@ -939,15 +939,15 @@ declare namespace ApplicationEvents {
|
|
939
939
|
*/
|
940
940
|
declare type ApplicationEventType = EventType_3;
|
941
941
|
|
942
|
-
declare type ApplicationIdentity = OpenFin_2.ApplicationIdentity;
|
943
|
-
|
944
942
|
/**
|
945
943
|
* @interface
|
946
944
|
*/
|
947
|
-
declare type
|
945
|
+
declare type ApplicationIdentity = {
|
948
946
|
uuid: string;
|
949
947
|
};
|
950
948
|
|
949
|
+
declare type ApplicationIdentityCall<AdditionalPayload = {}, Response = void> = ApiCall<AdditionalPayload & OpenFin_2.ApplicationIdentity, Response>;
|
950
|
+
|
951
951
|
/**
|
952
952
|
* @interface
|
953
953
|
*/
|
@@ -1320,12 +1320,10 @@ declare type ApplicationSourcedEvent = ClosedEvent | ConnectedEvent_2 | CrashedE
|
|
1320
1320
|
*/
|
1321
1321
|
declare type ApplicationSourcedEventType = ApplicationSourcedEvent['type'];
|
1322
1322
|
|
1323
|
-
declare type ApplicationState = OpenFin_2.ApplicationState;
|
1324
|
-
|
1325
1323
|
/**
|
1326
1324
|
* @interface
|
1327
1325
|
*/
|
1328
|
-
declare type
|
1326
|
+
declare type ApplicationState = {
|
1329
1327
|
/**
|
1330
1328
|
* True when the application is a Platform controller
|
1331
1329
|
*/
|
@@ -1357,12 +1355,10 @@ declare type ApplicationType = {
|
|
1357
1355
|
*/
|
1358
1356
|
declare type ApplicationWindowEvent = WindowAlertRequestedEvent | WindowCreatedEvent | WindowEndLoadEvent | WindowNotRespondingEvent | WindowRespondingEvent | WindowStartLoadEvent;
|
1359
1357
|
|
1360
|
-
declare type ApplicationWindowInfo = OpenFin_2.ApplicationWindowInfo;
|
1361
|
-
|
1362
1358
|
/**
|
1363
1359
|
* @interface
|
1364
1360
|
*/
|
1365
|
-
declare type
|
1361
|
+
declare type ApplicationWindowInfo = {
|
1366
1362
|
childWindows: Array<WindowDetail>;
|
1367
1363
|
mainWindow: WindowDetail;
|
1368
1364
|
/**
|
@@ -1638,7 +1634,7 @@ declare class Base {
|
|
1638
1634
|
* @deprecated `me` should only be accessed from the `fin` global ({@link FinApi.me}); access through entity classes is not
|
1639
1635
|
* guaranteed to behave sensibly in all calling contexts.
|
1640
1636
|
*/
|
1641
|
-
get me(): Identity;
|
1637
|
+
get me(): OpenFin_2.Identity;
|
1642
1638
|
/**
|
1643
1639
|
* @internal
|
1644
1640
|
* @deprecated
|
@@ -1870,11 +1866,12 @@ declare type BeforeUnloadUserDecision = {
|
|
1870
1866
|
/**
|
1871
1867
|
* Array of views that will close.
|
1872
1868
|
*/
|
1873
|
-
viewsToClose:
|
1869
|
+
viewsToClose: Identity_4[];
|
1874
1870
|
};
|
1875
1871
|
|
1876
1872
|
/**
|
1877
1873
|
* Generated at the beginning of a user-driven change to a window's size or position.
|
1874
|
+
*
|
1878
1875
|
* @interface
|
1879
1876
|
*/
|
1880
1877
|
declare type BeginUserBoundsChangingEvent = UserBoundsChangeEvent & {
|
@@ -1915,31 +1912,33 @@ declare type Bounds = {
|
|
1915
1912
|
* Generated after changes in a window's size and/or position.
|
1916
1913
|
* @interface
|
1917
1914
|
*/
|
1918
|
-
declare type BoundsChangedEvent =
|
1915
|
+
declare type BoundsChangedEvent = BoundsDidChangeEvent & {
|
1919
1916
|
type: 'bounds-changed';
|
1920
1917
|
};
|
1921
1918
|
|
1922
|
-
|
1923
|
-
* A general bounds change event without event type.
|
1924
|
-
* @interface
|
1925
|
-
*/
|
1926
|
-
declare type BoundsChangeEvent = BaseEvent_5 & {
|
1919
|
+
declare type BoundsChangeEvent = BoundsEvent & {
|
1927
1920
|
changeType: 0 | 1 | 2;
|
1928
|
-
deferred: boolean;
|
1929
|
-
height: number;
|
1930
|
-
left: number;
|
1931
|
-
top: number;
|
1932
|
-
width: number;
|
1933
1921
|
};
|
1934
1922
|
|
1935
1923
|
/**
|
1936
1924
|
* Generated during changes to a window's size and/or position.
|
1937
1925
|
* @interface
|
1938
1926
|
*/
|
1939
|
-
declare type BoundsChangingEvent =
|
1927
|
+
declare type BoundsChangingEvent = BoundsDidChangeEvent & {
|
1940
1928
|
type: 'bounds-changing';
|
1941
1929
|
};
|
1942
1930
|
|
1931
|
+
/**
|
1932
|
+
* An event that fires when a window's bounds are successfully changed.
|
1933
|
+
*
|
1934
|
+
* @interface
|
1935
|
+
*/
|
1936
|
+
declare type BoundsDidChangeEvent = BoundsChangeEvent & {
|
1937
|
+
reason: 'self' | 'animation';
|
1938
|
+
};
|
1939
|
+
|
1940
|
+
declare type BoundsEvent = BaseEvent_5 & OpenFin_2.Bounds;
|
1941
|
+
|
1943
1942
|
/**
|
1944
1943
|
* A rule prescribing content creation in the browser.
|
1945
1944
|
*
|
@@ -3045,7 +3044,7 @@ declare type ClientConnectionPayload = ClientIdentity & ClientInfo;
|
|
3045
3044
|
* Identity of a channel client. Includes endpointId to differentiate between different connections for an entity.
|
3046
3045
|
* @interface
|
3047
3046
|
*/
|
3048
|
-
declare type ClientIdentity =
|
3047
|
+
declare type ClientIdentity = Identity_4 & {
|
3049
3048
|
/**
|
3050
3049
|
* Unique identifier for a client, because there can be multiple clients at one name/uuid entity.
|
3051
3050
|
*/
|
@@ -3278,7 +3277,7 @@ declare type CloseViewOptions = {
|
|
3278
3277
|
/**
|
3279
3278
|
*View to be closed.
|
3280
3279
|
*/
|
3281
|
-
viewIdentity:
|
3280
|
+
viewIdentity: Identity_4;
|
3282
3281
|
};
|
3283
3282
|
|
3284
3283
|
/**
|
@@ -3288,7 +3287,7 @@ declare type CloseViewPayload = {
|
|
3288
3287
|
/**
|
3289
3288
|
*View to be closed.
|
3290
3289
|
*/
|
3291
|
-
view:
|
3290
|
+
view: Identity_4;
|
3292
3291
|
/**
|
3293
3292
|
* The target layout identity where this view should be closed. If not provided, will resolve to the
|
3294
3293
|
* visible layout.
|
@@ -3306,7 +3305,7 @@ declare interface CloseWindowPayload {
|
|
3306
3305
|
*
|
3307
3306
|
* Identity of the Window
|
3308
3307
|
*/
|
3309
|
-
windowId:
|
3308
|
+
windowId: Identity_4;
|
3310
3309
|
options: {
|
3311
3310
|
/**
|
3312
3311
|
* @defaultValue false
|
@@ -3427,7 +3426,7 @@ declare type ConstViewOptions = {
|
|
3427
3426
|
/**
|
3428
3427
|
* The identity of the window this view should be attached to.
|
3429
3428
|
*/
|
3430
|
-
target:
|
3429
|
+
target: Identity_4;
|
3431
3430
|
/**
|
3432
3431
|
* Configures how new content (e,g, from `window.open` or a link) is opened.
|
3433
3432
|
*/
|
@@ -3652,7 +3651,7 @@ declare type ConstWindowOptions = {
|
|
3652
3651
|
/**
|
3653
3652
|
* Parent identity of a modal window. It will create a modal child window when this option is set.
|
3654
3653
|
*/
|
3655
|
-
modalParentIdentity:
|
3654
|
+
modalParentIdentity: Identity_4;
|
3656
3655
|
/**
|
3657
3656
|
* The name of the window.
|
3658
3657
|
*/
|
@@ -3670,7 +3669,9 @@ declare type ConstWindowOptions = {
|
|
3670
3669
|
*/
|
3671
3670
|
preloadScripts: PreloadScript[];
|
3672
3671
|
/**
|
3673
|
-
* String tag that attempts to group like-tagged renderers together.
|
3672
|
+
* String tag that attempts to group like-tagged renderers together.
|
3673
|
+
* 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.
|
3674
|
+
* @remarks Will only be used if pages are on the same origin.
|
3674
3675
|
*/
|
3675
3676
|
processAffinity: string;
|
3676
3677
|
/**
|
@@ -3717,11 +3718,6 @@ declare type ConstWindowOptions = {
|
|
3717
3718
|
* @deprecated - use `icon` instead.
|
3718
3719
|
*/
|
3719
3720
|
taskbarIcon: string;
|
3720
|
-
/**
|
3721
|
-
* Specify a taskbar group for the window.
|
3722
|
-
* _If omitted, defaults to app's uuid (`fin.Application.getCurrentSync().identity.uuid`)._
|
3723
|
-
*/
|
3724
|
-
taskbarIconGroup: string;
|
3725
3721
|
/**
|
3726
3722
|
* @defaultValue "about:blank"
|
3727
3723
|
*
|
@@ -4136,13 +4132,13 @@ declare type CreateViewPayload = {
|
|
4136
4132
|
* Window the view will be added to. If no target is provided, a new window will be created.
|
4137
4133
|
*/
|
4138
4134
|
target?: CreateViewTarget;
|
4139
|
-
targetView?:
|
4135
|
+
targetView?: Identity_4;
|
4140
4136
|
};
|
4141
4137
|
|
4142
4138
|
/**
|
4143
4139
|
* @interface
|
4144
4140
|
*/
|
4145
|
-
declare type CreateViewTarget = (
|
4141
|
+
declare type CreateViewTarget = (Identity_4 | LayoutIdentity) & {
|
4146
4142
|
/**
|
4147
4143
|
* If specified, view creation will not attach to a window and caller must
|
4148
4144
|
* insert the view into the layout explicitly
|
@@ -4588,7 +4584,7 @@ declare type EmitterAccessor = string[];
|
|
4588
4584
|
declare class EmitterBase<EmitterEvent extends BaseEvent, EmitterEventType extends EmitterEvent['type'] = EmitterEvent['type']> extends Base {
|
4589
4585
|
#private;
|
4590
4586
|
private topic;
|
4591
|
-
protected identity: ApplicationIdentity;
|
4587
|
+
protected identity: OpenFin_2.ApplicationIdentity;
|
4592
4588
|
constructor(wire: Transport, topic: string, ...additionalAccessors: string[]);
|
4593
4589
|
eventNames: () => (string | symbol)[];
|
4594
4590
|
/**
|
@@ -4668,20 +4664,17 @@ declare type EndLoadEvent = BaseEvent_5 & {
|
|
4668
4664
|
|
4669
4665
|
/**
|
4670
4666
|
* Generated at the end of a user-driven change to a window's size or position.
|
4667
|
+
*
|
4671
4668
|
* @interface
|
4672
4669
|
*/
|
4673
4670
|
declare type EndUserBoundsChangingEvent = UserBoundsChangeEvent & {
|
4674
4671
|
type: 'end-user-bounds-changing';
|
4675
4672
|
};
|
4676
4673
|
|
4677
|
-
declare type Entity = OpenFin_2.ApplicationType;
|
4678
|
-
|
4679
|
-
declare type EntityInfo = OpenFin_2.EntityInfo;
|
4680
|
-
|
4681
4674
|
/**
|
4682
4675
|
* @interface
|
4683
4676
|
*/
|
4684
|
-
declare type
|
4677
|
+
declare type EntityInfo = {
|
4685
4678
|
uuid: string;
|
4686
4679
|
name: string;
|
4687
4680
|
entityType: EntityType_4;
|
@@ -4767,6 +4760,7 @@ declare interface Environment {
|
|
4767
4760
|
getInteropInfo(fin: OpenFin_2.Fin<OpenFin_2.EntityType>): Promise<InternalInteropBrokerOptions & {
|
4768
4761
|
fdc3Version?: Version;
|
4769
4762
|
}>;
|
4763
|
+
getViewWindowIdentity(fin: OpenFin_2.Fin<OpenFin_2.EntityType>, identity: OpenFin_2.Identity): Promise<OpenFin_2.Identity>;
|
4770
4764
|
readonly type: EnvironmentType;
|
4771
4765
|
}
|
4772
4766
|
|
@@ -5051,7 +5045,7 @@ declare type ExternalApplicationEventType = EventType_4;
|
|
5051
5045
|
* @interface
|
5052
5046
|
*/
|
5053
5047
|
declare type ExternalApplicationInfo = {
|
5054
|
-
parent:
|
5048
|
+
parent: Identity_4;
|
5055
5049
|
};
|
5056
5050
|
|
5057
5051
|
/**
|
@@ -5514,7 +5508,7 @@ declare type FrameInfo = {
|
|
5514
5508
|
uuid: string;
|
5515
5509
|
url: string;
|
5516
5510
|
entityType: EntityType_4;
|
5517
|
-
parent:
|
5511
|
+
parent: Identity_4;
|
5518
5512
|
};
|
5519
5513
|
|
5520
5514
|
/**
|
@@ -5589,12 +5583,10 @@ declare type FrameProcessDetails = ProcessDetails & {
|
|
5589
5583
|
entityType: string;
|
5590
5584
|
};
|
5591
5585
|
|
5592
|
-
declare type GetLogRequestType = OpenFin_2.GetLogRequestType;
|
5593
|
-
|
5594
5586
|
/**
|
5595
5587
|
* @interface
|
5596
5588
|
*/
|
5597
|
-
declare type
|
5589
|
+
declare type GetLogRequestType = {
|
5598
5590
|
/**
|
5599
5591
|
* The name of the running application
|
5600
5592
|
*/
|
@@ -5614,7 +5606,7 @@ declare type GetWindowContextPayload = {
|
|
5614
5606
|
/**
|
5615
5607
|
* Identity of the entity targeted by the call to {@link Platform#setWindowContext Platform.setWindowContext}.
|
5616
5608
|
*/
|
5617
|
-
target:
|
5609
|
+
target: Identity_4;
|
5618
5610
|
};
|
5619
5611
|
|
5620
5612
|
/**
|
@@ -5883,8 +5875,6 @@ declare type Identity_2 = OpenFin_2.Identity;
|
|
5883
5875
|
|
5884
5876
|
declare type Identity_3 = OpenFin_2.Identity;
|
5885
5877
|
|
5886
|
-
declare type Identity_4 = OpenFin_2.Identity;
|
5887
|
-
|
5888
5878
|
/**
|
5889
5879
|
* Unique identifier for a window, view or iframe.
|
5890
5880
|
*
|
@@ -5893,7 +5883,7 @@ declare type Identity_4 = OpenFin_2.Identity;
|
|
5893
5883
|
*
|
5894
5884
|
* @interface
|
5895
5885
|
*/
|
5896
|
-
declare type
|
5886
|
+
declare type Identity_4 = {
|
5897
5887
|
/**
|
5898
5888
|
* Universally unique identifier of the application that owns the component.
|
5899
5889
|
*/
|
@@ -6055,12 +6045,10 @@ declare type InstallationInfo = {
|
|
6055
6045
|
cachedManifest: any;
|
6056
6046
|
};
|
6057
6047
|
|
6058
|
-
declare type InstalledApps = OpenFin_2.InstalledApps;
|
6059
|
-
|
6060
6048
|
/**
|
6061
6049
|
* @interface
|
6062
6050
|
*/
|
6063
|
-
declare type
|
6051
|
+
declare type InstalledApps = {
|
6064
6052
|
[key: string]: InstallationInfo;
|
6065
6053
|
};
|
6066
6054
|
|
@@ -6846,7 +6834,7 @@ declare class InteropBroker extends Base {
|
|
6846
6834
|
* @param _id the identity tryinc to connect
|
6847
6835
|
* @param _connectionPayload optional payload to use in custom implementations, will be undefined by default
|
6848
6836
|
*/
|
6849
|
-
isConnectionAuthorized(_id:
|
6837
|
+
isConnectionAuthorized(_id: Identity_2, _connectionPayload?: any): Promise<boolean> | boolean;
|
6850
6838
|
/**
|
6851
6839
|
* Called before every action to check if this entity should be allowed to take the action.
|
6852
6840
|
* Return false to prevent the action
|
@@ -7647,6 +7635,10 @@ declare type LaunchIntoPlatformPayload = {
|
|
7647
7635
|
*/
|
7648
7636
|
declare class Layout extends Base {
|
7649
7637
|
#private;
|
7638
|
+
/**
|
7639
|
+
* @internal
|
7640
|
+
*/
|
7641
|
+
static getClient(layout: Layout): Promise<LayoutEntitiesClient>;
|
7650
7642
|
/**
|
7651
7643
|
* @internal
|
7652
7644
|
*/
|
@@ -7752,6 +7744,17 @@ declare class Layout extends Base {
|
|
7752
7744
|
* ```
|
7753
7745
|
*/
|
7754
7746
|
getRootItem(): Promise<OpenFin_2.ColumnOrRow | OpenFin_2.TabStack>;
|
7747
|
+
/**
|
7748
|
+
* Retrieves the OpenFin.TabStack instance which the View belongs to.
|
7749
|
+
*
|
7750
|
+
* @example
|
7751
|
+
* ```js
|
7752
|
+
* const viewIdentity = { uuid: 'uuid', name: 'view-name' };
|
7753
|
+
* const stack = await fin.View.wrapSync(viewIdentity).getStackByViewIdentity(viewIdentity);
|
7754
|
+
* console.log(await stack.getViews());
|
7755
|
+
* ```
|
7756
|
+
*/
|
7757
|
+
getStackByViewIdentity(identity: OpenFin_2.Identity): Promise<OpenFin_2.TabStack>;
|
7755
7758
|
/**
|
7756
7759
|
* Replaces the specified view with a view with the provided configuration.
|
7757
7760
|
*
|
@@ -7778,7 +7781,7 @@ declare class Layout extends Base {
|
|
7778
7781
|
* await layout.replaceView(viewToReplace.identity, newViewConfig);
|
7779
7782
|
* ```
|
7780
7783
|
*/
|
7781
|
-
replaceView: (viewToReplace:
|
7784
|
+
replaceView: (viewToReplace: Identity_3, newView: OpenFin_2.PlatformViewCreationOptions) => Promise<void>;
|
7782
7785
|
/**
|
7783
7786
|
* Replaces a Platform window's layout with a preset layout arrangement using the existing Views attached to the window.
|
7784
7787
|
* The preset options are `columns`, `grid`, `rows`, and `tabs`.
|
@@ -7833,7 +7836,7 @@ declare type LayoutContent = Array<LayoutItemConfig | LayoutRow | LayoutColumn |
|
|
7833
7836
|
/**
|
7834
7837
|
* The base payload for the CustomEvent.detail property for Layout events emitted on the layout container element.
|
7835
7838
|
*/
|
7836
|
-
declare type LayoutDOMEvent =
|
7839
|
+
declare type LayoutDOMEvent = Identity_4 & {
|
7837
7840
|
type: string;
|
7838
7841
|
topic: 'openfin-DOM-event';
|
7839
7842
|
tabSelector: string;
|
@@ -7894,7 +7897,7 @@ declare type LayoutEntityTypes = 'column' | 'row' | 'stack';
|
|
7894
7897
|
/**
|
7895
7898
|
* @interface
|
7896
7899
|
*/
|
7897
|
-
declare type LayoutIdentity =
|
7900
|
+
declare type LayoutIdentity = Identity_4 & {
|
7898
7901
|
/**
|
7899
7902
|
* The name of the layout in a given window.
|
7900
7903
|
*/
|
@@ -8003,7 +8006,7 @@ declare interface LayoutManager<T extends LayoutSnapshot> {
|
|
8003
8006
|
* @param identity
|
8004
8007
|
* @returns LayoutIdentity | undefined
|
8005
8008
|
*/
|
8006
|
-
resolveLayoutIdentity(identity?:
|
8009
|
+
resolveLayoutIdentity(identity?: Identity_4 | LayoutIdentity): LayoutIdentity | undefined;
|
8007
8010
|
/**
|
8008
8011
|
* @experimental
|
8009
8012
|
*
|
@@ -8020,7 +8023,7 @@ declare interface LayoutManager<T extends LayoutSnapshot> {
|
|
8020
8023
|
/**
|
8021
8024
|
* @experimental
|
8022
8025
|
*/
|
8023
|
-
getLayoutIdentityForView(viewIdentity:
|
8026
|
+
getLayoutIdentityForView(viewIdentity: Identity_4): LayoutIdentity;
|
8024
8027
|
/**
|
8025
8028
|
* @experimental
|
8026
8029
|
*/
|
@@ -8121,6 +8124,17 @@ declare class LayoutModule extends Base {
|
|
8121
8124
|
* ```
|
8122
8125
|
*/
|
8123
8126
|
getCurrentSync(): OpenFin_2.Layout;
|
8127
|
+
/**
|
8128
|
+
* Retrieves the OpenFin.Layout instance for the Window the View is attached to.
|
8129
|
+
*
|
8130
|
+
* @example
|
8131
|
+
* ```js
|
8132
|
+
* const viewIdentity = { uuid: 'uuid', name: 'view-name' };
|
8133
|
+
* const layout = await fin.Platform.Layout.getLayoutByViewIdentity(viewIdentity);
|
8134
|
+
* console.log(await layout.getCurrentViews());
|
8135
|
+
* ```
|
8136
|
+
*/
|
8137
|
+
getLayoutByViewIdentity(viewIdentity: OpenFin_2.Identity): Promise<OpenFin_2.Layout>;
|
8124
8138
|
/**
|
8125
8139
|
* Initialize the window's Layout.
|
8126
8140
|
*
|
@@ -8494,12 +8508,10 @@ declare type Listener<T extends {
|
|
8494
8508
|
type: string;
|
8495
8509
|
}> = (payload: T) => void;
|
8496
8510
|
|
8497
|
-
declare type LogInfo = OpenFin_2.LogInfo;
|
8498
|
-
|
8499
8511
|
/**
|
8500
8512
|
* @interface
|
8501
8513
|
*/
|
8502
|
-
declare type
|
8514
|
+
declare type LogInfo = {
|
8503
8515
|
/**
|
8504
8516
|
* The filename of the log
|
8505
8517
|
*/
|
@@ -8514,8 +8526,6 @@ declare type LogInfo_2 = {
|
|
8514
8526
|
date: string;
|
8515
8527
|
};
|
8516
8528
|
|
8517
|
-
declare type LogLevel = OpenFin_2.LogLevel;
|
8518
|
-
|
8519
8529
|
/**
|
8520
8530
|
* Describes the minimum level (inclusive) above which logs will be written.
|
8521
8531
|
*
|
@@ -8525,7 +8535,7 @@ declare type LogLevel = OpenFin_2.LogLevel;
|
|
8525
8535
|
* `error` and above<br>
|
8526
8536
|
* `fatal`: fatal only, indicates a crash is imminent
|
8527
8537
|
*/
|
8528
|
-
declare type
|
8538
|
+
declare type LogLevel = 'verbose' | 'info' | 'warning' | 'error' | 'fatal';
|
8529
8539
|
|
8530
8540
|
declare type LogUploaderUIOptions = {
|
8531
8541
|
title?: string;
|
@@ -9178,6 +9188,12 @@ declare type MutableWindowOptions = {
|
|
9178
9188
|
* Shows the window's icon in the taskbar.
|
9179
9189
|
*/
|
9180
9190
|
showTaskbarIcon: boolean;
|
9191
|
+
/**
|
9192
|
+
* Specify a taskbar group for the window.
|
9193
|
+
* _If omitted, defaults to app's uuid (`fin.Application.getCurrentSync().identity.uuid`)._
|
9194
|
+
* @remarks It's only updatable when `enableJumpList` is set to false.
|
9195
|
+
*/
|
9196
|
+
taskbarIconGroup: string;
|
9181
9197
|
interop: InteropConfig;
|
9182
9198
|
/**
|
9183
9199
|
* @internal
|
@@ -9375,13 +9391,13 @@ declare namespace OpenFin_2 {
|
|
9375
9391
|
LayoutPosition,
|
9376
9392
|
WebContent,
|
9377
9393
|
PlatformProvider,
|
9378
|
-
|
9379
|
-
|
9394
|
+
ApplicationIdentity,
|
9395
|
+
Identity_4 as Identity,
|
9380
9396
|
ClientIdentity,
|
9381
9397
|
ClientInfo,
|
9382
9398
|
ClientIdentityMultiRuntime,
|
9383
9399
|
ClientConnectionPayload,
|
9384
|
-
|
9400
|
+
EntityInfo,
|
9385
9401
|
EntityType_4 as EntityType,
|
9386
9402
|
Bounds,
|
9387
9403
|
WindowBounds,
|
@@ -9517,7 +9533,7 @@ declare namespace OpenFin_2 {
|
|
9517
9533
|
GpuInfo,
|
9518
9534
|
OSInfo,
|
9519
9535
|
HostSpecs,
|
9520
|
-
|
9536
|
+
PrinterInfo,
|
9521
9537
|
Dpi,
|
9522
9538
|
Margins,
|
9523
9539
|
PrintOptions,
|
@@ -9625,24 +9641,24 @@ declare namespace OpenFin_2 {
|
|
9625
9641
|
BeforeUnloadUserDecision,
|
9626
9642
|
ViewStatuses,
|
9627
9643
|
CloseWindowPayload,
|
9628
|
-
|
9629
|
-
|
9644
|
+
ProxyInfo,
|
9645
|
+
ProxyConfig,
|
9630
9646
|
ProxySystemInfo,
|
9631
9647
|
ChannelAction_2 as ChannelAction,
|
9632
9648
|
ChannelMiddleware_2 as ChannelMiddleware,
|
9633
9649
|
ErrorMiddleware_2 as ErrorMiddleware,
|
9634
|
-
|
9635
|
-
|
9650
|
+
ApplicationState,
|
9651
|
+
InstalledApps,
|
9636
9652
|
InstallationInfo,
|
9637
|
-
|
9638
|
-
|
9653
|
+
GetLogRequestType,
|
9654
|
+
LogInfo,
|
9639
9655
|
SendApplicationLogResponse,
|
9640
|
-
|
9656
|
+
LogLevel,
|
9641
9657
|
PermissionState_2 as PermissionState,
|
9642
|
-
|
9658
|
+
RegistryInfo,
|
9643
9659
|
ApplicationType,
|
9644
9660
|
WindowInfo,
|
9645
|
-
|
9661
|
+
ApplicationWindowInfo,
|
9646
9662
|
WindowDetail,
|
9647
9663
|
LayoutPresetType,
|
9648
9664
|
LayoutIdentity,
|
@@ -11631,12 +11647,10 @@ declare type PresetLayoutOptions_2 = {
|
|
11631
11647
|
presetType: LayoutPresetType;
|
11632
11648
|
};
|
11633
11649
|
|
11634
|
-
declare type PrinterInfo = OpenFin_2.PrinterInfo;
|
11635
|
-
|
11636
11650
|
/**
|
11637
11651
|
* @interface
|
11638
11652
|
*/
|
11639
|
-
declare type
|
11653
|
+
declare type PrinterInfo = {
|
11640
11654
|
/**
|
11641
11655
|
* Printer Name
|
11642
11656
|
*/
|
@@ -11898,20 +11912,100 @@ declare type PropagatedWindowEvent<TargetTopic extends string> = PropagatedEvent
|
|
11898
11912
|
declare type PropagatedWindowEventType = PropagatedEvent_3<string>['type'];
|
11899
11913
|
|
11900
11914
|
declare interface ProtocolMap extends ProtocolMapBase {
|
11915
|
+
'is-application-running': ApplicationIdentityCall<{}, boolean>;
|
11916
|
+
'destroy-application': ApplicationIdentityCall<{
|
11917
|
+
force: boolean;
|
11918
|
+
}, void>;
|
11919
|
+
'close-application': ApplicationIdentityCall<{
|
11920
|
+
force: boolean;
|
11921
|
+
}, void>;
|
11922
|
+
'application-close': ApplicationIdentityCall<{}, void>;
|
11923
|
+
'get-child-windows': ApplicationIdentityCall<{}, Array<unknown>>;
|
11924
|
+
'get-application-manifest': {
|
11925
|
+
request: {
|
11926
|
+
manifestUrl?: string;
|
11927
|
+
uuid?: string;
|
11928
|
+
};
|
11929
|
+
response: OpenFin_2.Manifest;
|
11930
|
+
};
|
11931
|
+
'get-parent-application': ApplicationIdentityCall<{}, string>;
|
11932
|
+
'get-shortcuts': ApplicationIdentityCall<{}, OpenFin_2.ShortCutConfig>;
|
11933
|
+
'application-get-views': ApplicationIdentityCall<{}, OpenFin_2.Identity[]>;
|
11934
|
+
'get-application-zoom-level': ApplicationIdentityCall<{}, number>;
|
11935
|
+
'application-get-window': ApplicationIdentityCall<{}, void>;
|
11936
|
+
'register-user': ApplicationIdentityCall<{
|
11937
|
+
userName: string;
|
11938
|
+
appName: string;
|
11939
|
+
}, void>;
|
11940
|
+
'remove-tray-icon': ApplicationIdentityCall<{}, void>;
|
11941
|
+
'restart-application': ApplicationIdentityCall<{}, void>;
|
11942
|
+
'application-run': ApplicationIdentityCall<{}, void>;
|
11943
|
+
'run-application': ApplicationIdentityCall<{
|
11944
|
+
manifestUrl?: string | undefined;
|
11945
|
+
opts?: OpenFin_2.RvmLaunchOptions;
|
11946
|
+
}, void>;
|
11947
|
+
'relaunch-on-close': ApplicationIdentityCall<{}, void>;
|
11948
|
+
'send-application-log': ApplicationIdentityCall<{}, OpenFin_2.SendApplicationLogResponse>;
|
11949
|
+
'set-jump-list': ApplicationIdentityCall<{
|
11950
|
+
config: OpenFin_2.JumpListCategory[] | null;
|
11951
|
+
}, void>;
|
11952
|
+
'set-tray-icon': ApplicationIdentityCall<{
|
11953
|
+
enabledIcon: string;
|
11954
|
+
}, void>;
|
11955
|
+
'set-shortcuts': ApplicationIdentityCall<{
|
11956
|
+
data: OpenFin_2.ShortCutConfig;
|
11957
|
+
}, void>;
|
11958
|
+
'set-shortcut-query-args': ApplicationIdentityCall<{
|
11959
|
+
data: string;
|
11960
|
+
}, void>;
|
11961
|
+
'set-application-zoom-level': ApplicationIdentityCall<{
|
11962
|
+
level: number;
|
11963
|
+
}, void>;
|
11964
|
+
'set-app-log-username': ApplicationIdentityCall<{
|
11965
|
+
data: string;
|
11966
|
+
}, void>;
|
11967
|
+
'get-tray-icon-info': ApplicationIdentityCall<{}, OpenFin_2.TrayInfo>;
|
11968
|
+
'has-tray-icon': ApplicationIdentityCall<{}, boolean>;
|
11969
|
+
'terminate-application': ApplicationIdentityCall<{}, void>;
|
11970
|
+
'wait-for-hung-application': ApplicationIdentityCall<{}, void>;
|
11971
|
+
'get-info': ApplicationIdentityCall<{}, OpenFin_2.ApplicationInfo>;
|
11972
|
+
'application-get-process-info': ApplicationIdentityCall<{}, OpenFin_2.AppProcessInfo>;
|
11973
|
+
'set-file-download-location': {
|
11974
|
+
request: OpenFin_2.Identity & {
|
11975
|
+
downloadLocation: string;
|
11976
|
+
};
|
11977
|
+
response: void;
|
11978
|
+
};
|
11979
|
+
'get-file-download-location': ApplicationIdentityCall<{}, string>;
|
11980
|
+
'show-tray-icon-popup-menu': {
|
11981
|
+
request: OpenFin_2.Identity & {
|
11982
|
+
options: OpenFin_2.ShowTrayIconPopupMenuOptions;
|
11983
|
+
};
|
11984
|
+
response: OpenFin_2.MenuResult;
|
11985
|
+
};
|
11986
|
+
'close-tray-icon-popup-menu': IdentityCall<{}, void>;
|
11987
|
+
'wrap-application': VoidCall;
|
11988
|
+
'wrap-application-sync': VoidCall;
|
11989
|
+
'create-application': ApiCall<OpenFin_2.ApplicationCreationOptions, void>;
|
11990
|
+
'application-create': VoidCall;
|
11991
|
+
'start-application': VoidCall;
|
11992
|
+
'run-applications': ApiCall<{
|
11993
|
+
applications: Array<OpenFin_2.ManifestInfo>;
|
11994
|
+
opts?: OpenFin_2.RvmLaunchOptions;
|
11995
|
+
}, void>;
|
11996
|
+
'get-current-application': VoidCall;
|
11997
|
+
'get-current-application-sync': VoidCall;
|
11998
|
+
'application-start-from-manifest': VoidCall;
|
11999
|
+
'application-create-from-manifest': VoidCall;
|
11901
12000
|
'request-external-authorization': {
|
11902
12001
|
request: any;
|
11903
12002
|
response: void;
|
11904
12003
|
specialResponse: AuthorizationPayload;
|
11905
12004
|
};
|
11906
|
-
'
|
11907
|
-
request:
|
11908
|
-
response: OpenFin_2.Identity[];
|
11909
|
-
};
|
11910
|
-
'set-jump-list': {
|
11911
|
-
request: {
|
11912
|
-
config: OpenFin_2.JumpListCategory[] | null;
|
11913
|
-
} & OpenFin_2.ApplicationIdentity;
|
12005
|
+
'request-authorization': {
|
12006
|
+
request: ExistingConnectConfig | RemoteConfig | ReceiverConfig;
|
11914
12007
|
response: void;
|
12008
|
+
specialResponse: Payload;
|
11915
12009
|
};
|
11916
12010
|
'clipboard-read-formats': {
|
11917
12011
|
request: {
|
@@ -11923,6 +12017,24 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
11923
12017
|
request: OpenFin_2.ReadImageClipboardRequest;
|
11924
12018
|
response: string;
|
11925
12019
|
};
|
12020
|
+
'clipboard-read-text': {
|
12021
|
+
request: {
|
12022
|
+
type?: OpenFin_2.ClipboardSelectionType;
|
12023
|
+
};
|
12024
|
+
response: string;
|
12025
|
+
};
|
12026
|
+
'clipboard-read-html': {
|
12027
|
+
request: {
|
12028
|
+
type?: OpenFin_2.ClipboardSelectionType;
|
12029
|
+
};
|
12030
|
+
response: string;
|
12031
|
+
};
|
12032
|
+
'clipboard-read-rtf': {
|
12033
|
+
request: {
|
12034
|
+
type?: OpenFin_2.ClipboardSelectionType;
|
12035
|
+
};
|
12036
|
+
response: string;
|
12037
|
+
};
|
11926
12038
|
'clipboard-write-image': {
|
11927
12039
|
request: OpenFin_2.WriteImageClipboardRequest;
|
11928
12040
|
response: void;
|
@@ -11931,6 +12043,18 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
11931
12043
|
request: OpenFin_2.WriteAnyRequestType;
|
11932
12044
|
response: void;
|
11933
12045
|
};
|
12046
|
+
'clipboard-write-text': {
|
12047
|
+
request: OpenFin_2.WriteClipboardRequest;
|
12048
|
+
response: void;
|
12049
|
+
};
|
12050
|
+
'clipboard-write-html': {
|
12051
|
+
request: OpenFin_2.WriteClipboardRequest;
|
12052
|
+
response: void;
|
12053
|
+
};
|
12054
|
+
'clipboard-write-rtf': {
|
12055
|
+
request: OpenFin_2.WriteClipboardRequest;
|
12056
|
+
response: void;
|
12057
|
+
};
|
11934
12058
|
'get-view-window': IdentityCall<{}, OpenFin_2.Identity>;
|
11935
12059
|
'create-view': IdentityCall<OpenFin_2.ViewCreationOptions & {
|
11936
12060
|
uuid: string;
|
@@ -11956,13 +12080,85 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
11956
12080
|
options: OpenFin_2.UpdatableViewOptions;
|
11957
12081
|
}>;
|
11958
12082
|
'trigger-before-unload': IdentityCall<{}, boolean>;
|
12083
|
+
'view-wrap-sync': VoidCall;
|
12084
|
+
'view-wrap': VoidCall;
|
12085
|
+
'view-get-current': VoidCall;
|
12086
|
+
'view-get-current-sync': VoidCall;
|
12087
|
+
'animate-window': IdentityCall<{
|
12088
|
+
transitions: OpenFin_2.Transition;
|
12089
|
+
options: OpenFin_2.TransitionOptions;
|
12090
|
+
}>;
|
12091
|
+
'get-all-frames': IdentityCall<{}, OpenFin_2.FrameInfo[]>;
|
12092
|
+
'get-window-bounds': IdentityCall<{}, OpenFin_2.WindowBounds>;
|
12093
|
+
'center-window': IdentityCall;
|
12094
|
+
'blur-window': IdentityCall;
|
12095
|
+
'bring-window-to-front': IdentityCall;
|
12096
|
+
'hide-window': IdentityCall;
|
12097
|
+
'close-window': IdentityCall<{
|
12098
|
+
force: boolean;
|
12099
|
+
}>;
|
12100
|
+
'focused-webview-changed': IdentityCall;
|
12101
|
+
'get-window-native-id': IdentityCall<{}, string>;
|
11959
12102
|
'window-get-views': IdentityCall<{}, OpenFin_2.Identity[]>;
|
11960
|
-
'
|
12103
|
+
'disable-window-frame': IdentityCall;
|
12104
|
+
'enable-window-frame': IdentityCall;
|
12105
|
+
'flash-window': IdentityCall;
|
12106
|
+
'stop-flash-window': IdentityCall;
|
12107
|
+
'get-window-info': IdentityCall<{}, OpenFin_2.WindowInfo>;
|
12108
|
+
'get-window-options': IdentityCall<{}, OpenFin_2.WindowOptions>;
|
12109
|
+
'get-window-snapshot': IdentityCall<{
|
12110
|
+
area?: OpenFin_2.Rectangle;
|
12111
|
+
}, string>;
|
12112
|
+
'get-window-state': IdentityCall<{}, 'minimized' | 'maximized' | 'normal'>;
|
12113
|
+
'is-window-showing': IdentityCall<{}, boolean>;
|
12114
|
+
'maximize-window': IdentityCall;
|
12115
|
+
'minimize-window': IdentityCall;
|
12116
|
+
'move-window-by': IdentityCall<WithPositioningOptions<{
|
12117
|
+
deltaLeft: number;
|
12118
|
+
deltaTop: number;
|
12119
|
+
}>>;
|
12120
|
+
'move-window': IdentityCall<WithPositioningOptions<{
|
12121
|
+
left: number;
|
12122
|
+
top: number;
|
12123
|
+
}>>;
|
12124
|
+
'resize-window-by': IdentityCall<WithPositioningOptions<{
|
12125
|
+
deltaWidth: number;
|
12126
|
+
deltaHeight: number;
|
12127
|
+
anchor: OpenFin_2.AnchorType;
|
12128
|
+
}>>;
|
12129
|
+
'resize-window': IdentityCall<WithPositioningOptions<{
|
12130
|
+
width: number;
|
12131
|
+
height: number;
|
12132
|
+
anchor: OpenFin_2.AnchorType;
|
12133
|
+
}>>;
|
12134
|
+
'restore-window': IdentityCall;
|
12135
|
+
'set-foreground-window': IdentityCall;
|
12136
|
+
'set-window-bounds': IdentityCall<WithPositioningOptions<Partial<OpenFin_2.Bounds>>>;
|
12137
|
+
'show-window': IdentityCall<{
|
12138
|
+
force: boolean;
|
12139
|
+
}>;
|
12140
|
+
'show-at-window': IdentityCall<{
|
12141
|
+
left: number;
|
12142
|
+
top: number;
|
12143
|
+
force: boolean;
|
12144
|
+
}>;
|
12145
|
+
'update-window-options': IdentityCall<{
|
12146
|
+
options: OpenFin_2.UpdatableWindowOptions;
|
12147
|
+
}>;
|
12148
|
+
'window-authenticate': IdentityCall<{
|
12149
|
+
userName: string;
|
12150
|
+
password: string;
|
12151
|
+
}>;
|
12152
|
+
'show-popup-menu': {
|
11961
12153
|
request: OpenFin_2.Identity & {
|
11962
|
-
options: OpenFin_2.
|
12154
|
+
options: OpenFin_2.ShowPopupMenuOptions;
|
11963
12155
|
};
|
11964
|
-
response:
|
12156
|
+
response: OpenFin_2.MenuResult;
|
11965
12157
|
};
|
12158
|
+
'close-popup-menu': IdentityCall;
|
12159
|
+
'dispatch-popup-result': IdentityCall<{
|
12160
|
+
data: any;
|
12161
|
+
}>;
|
11966
12162
|
'print-screenshot': {
|
11967
12163
|
request: OpenFin_2.Identity;
|
11968
12164
|
response: void;
|
@@ -11973,6 +12169,229 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
11973
12169
|
};
|
11974
12170
|
response: void;
|
11975
12171
|
};
|
12172
|
+
'window-wrap': VoidCall;
|
12173
|
+
'window-wrap-sync': VoidCall;
|
12174
|
+
'create-window': VoidCall;
|
12175
|
+
'get-current-window': VoidCall;
|
12176
|
+
'get-current-window-sync': VoidCall;
|
12177
|
+
'get-external-application-info': ApiCall<OpenFin_2.ApplicationIdentity, OpenFin_2.ExternalApplicationInfo>;
|
12178
|
+
'external-application-wrap': VoidCall;
|
12179
|
+
'external-application-wrap-sync': VoidCall;
|
12180
|
+
'get-frame-info': ApiCall<OpenFin_2.Identity, OpenFin_2.FrameInfo>;
|
12181
|
+
'get-parent-window': ApiCall<OpenFin_2.Identity, OpenFin_2.FrameInfo>;
|
12182
|
+
'frame-wrap': VoidCall;
|
12183
|
+
'frame-wrap-sync': VoidCall;
|
12184
|
+
'frame-get-current': VoidCall;
|
12185
|
+
'frame-get-current-sync': VoidCall;
|
12186
|
+
'global-hotkey-register': {
|
12187
|
+
request: {
|
12188
|
+
hotkey: string;
|
12189
|
+
};
|
12190
|
+
response: void;
|
12191
|
+
};
|
12192
|
+
'global-hotkey-unregister': {
|
12193
|
+
request: {
|
12194
|
+
hotkey: string;
|
12195
|
+
};
|
12196
|
+
response: void;
|
12197
|
+
};
|
12198
|
+
'global-hotkey-unregister-all': {
|
12199
|
+
request: {};
|
12200
|
+
response: void;
|
12201
|
+
};
|
12202
|
+
'global-hotkey-is-registered': {
|
12203
|
+
request: {
|
12204
|
+
hotkey: string;
|
12205
|
+
};
|
12206
|
+
response: boolean;
|
12207
|
+
};
|
12208
|
+
'publish-message': {
|
12209
|
+
request: {
|
12210
|
+
topic: string;
|
12211
|
+
message: any;
|
12212
|
+
sourceWindowName: string;
|
12213
|
+
};
|
12214
|
+
response: void;
|
12215
|
+
};
|
12216
|
+
'send-message': {
|
12217
|
+
request: {
|
12218
|
+
destinationUuid: string;
|
12219
|
+
destinationWindowName: string | undefined;
|
12220
|
+
topic: string;
|
12221
|
+
message: any;
|
12222
|
+
sourceWindowName: string;
|
12223
|
+
};
|
12224
|
+
response: void;
|
12225
|
+
};
|
12226
|
+
'subscribe': {
|
12227
|
+
request: {
|
12228
|
+
sourceUuid: string;
|
12229
|
+
sourceWindowName: string;
|
12230
|
+
topic: string;
|
12231
|
+
destinationWindowName: string;
|
12232
|
+
messageKey?: any;
|
12233
|
+
};
|
12234
|
+
response: void;
|
12235
|
+
};
|
12236
|
+
'unsubscribe': {
|
12237
|
+
request: {
|
12238
|
+
sourceUuid: string;
|
12239
|
+
sourceWindowName: string;
|
12240
|
+
topic: string;
|
12241
|
+
destinationWindowName: string;
|
12242
|
+
};
|
12243
|
+
response: void;
|
12244
|
+
};
|
12245
|
+
'get-all-channels': GetterCall<OpenFin_2.ProviderIdentity[]>;
|
12246
|
+
'connect-to-channel': {
|
12247
|
+
request: any;
|
12248
|
+
response: OpenFin_2.RoutingInfo;
|
12249
|
+
};
|
12250
|
+
'create-channel': ApiCall<{
|
12251
|
+
channelName: string;
|
12252
|
+
}, OpenFin_2.ProviderIdentity>;
|
12253
|
+
'destroy-channel': ApiCall<{
|
12254
|
+
channelName: string;
|
12255
|
+
}, void>;
|
12256
|
+
'disconnect-from-channel': {
|
12257
|
+
request: {
|
12258
|
+
channelName: string;
|
12259
|
+
uuid: string;
|
12260
|
+
name: string;
|
12261
|
+
endpointId: string;
|
12262
|
+
};
|
12263
|
+
response: void;
|
12264
|
+
};
|
12265
|
+
'send-channel-message': {
|
12266
|
+
request: any;
|
12267
|
+
response: any;
|
12268
|
+
};
|
12269
|
+
'get-version': GetterCall<string>;
|
12270
|
+
'clear-cache': ApiCall<OpenFin_2.ClearCacheOption, void>;
|
12271
|
+
'delete-cache-request': VoidCall;
|
12272
|
+
'exit-desktop': VoidCall;
|
12273
|
+
'fetch-manifest': ApiCall<{
|
12274
|
+
manifestUrl: string;
|
12275
|
+
}, any>;
|
12276
|
+
'flush-cookie-store': VoidCall;
|
12277
|
+
'get-all-windows': GetterCall<OpenFin_2.ApplicationWindowInfo[]>;
|
12278
|
+
'get-all-applications': GetterCall<OpenFin_2.ApplicationState[]>;
|
12279
|
+
'get-command-line-arguments': GetterCall<string>;
|
12280
|
+
'get-crash-reporter-state': GetterCall<OpenFin_2.CrashReporterState>;
|
12281
|
+
'start-crash-reporter': {
|
12282
|
+
request: OpenFin_2.CrashReporterOptions | {
|
12283
|
+
diagnosticMode: boolean;
|
12284
|
+
};
|
12285
|
+
response: OpenFin_2.CrashReporterState;
|
12286
|
+
};
|
12287
|
+
'get-unique-user-id': GetterCall<string>;
|
12288
|
+
'get-entity-info': {
|
12289
|
+
request: {
|
12290
|
+
uuid: string;
|
12291
|
+
name: string;
|
12292
|
+
};
|
12293
|
+
response: OpenFin_2.EntityInfo;
|
12294
|
+
};
|
12295
|
+
'get-environment-variable': {
|
12296
|
+
request: {
|
12297
|
+
environmentVariables: string;
|
12298
|
+
};
|
12299
|
+
response: string;
|
12300
|
+
};
|
12301
|
+
'get-focused-window': GetterCall<OpenFin_2.Identity | null>;
|
12302
|
+
'is-app-certified': {
|
12303
|
+
request: {
|
12304
|
+
manifestUrl: string;
|
12305
|
+
};
|
12306
|
+
response: {
|
12307
|
+
action: string;
|
12308
|
+
certifiedInfo: OpenFin_2.CertifiedAppInfo;
|
12309
|
+
};
|
12310
|
+
};
|
12311
|
+
'get-installed-runtimes': GetterCall<{
|
12312
|
+
action: string;
|
12313
|
+
runtimes: string[];
|
12314
|
+
}>;
|
12315
|
+
'get-installed-apps': GetterCall<OpenFin_2.InstalledApps>;
|
12316
|
+
'view-log': ApiCall<OpenFin_2.GetLogRequestType, string>;
|
12317
|
+
'get-machine-id': GetterCall<string>;
|
12318
|
+
'get-min-log-level': GetterCall<OpenFin_2.LogLevel>;
|
12319
|
+
'list-logs': GetterCall<OpenFin_2.LogInfo[]>;
|
12320
|
+
'get-monitor-info': GetterCall<OpenFin_2.MonitorInfo>;
|
12321
|
+
'get-mouse-position': GetterCall<OpenFin_2.PointTopLeft>;
|
12322
|
+
'process-snapshot': GetterCall<Array<any>>;
|
12323
|
+
'get-all-process-info': ApiCall<OpenFin_2.ApplicationIdentity, OpenFin_2.SystemProcessInfo>;
|
12324
|
+
'get-proxy-settings': GetterCall<OpenFin_2.ProxyInfo>;
|
12325
|
+
'get-runtime-info': GetterCall<OpenFin_2.RuntimeInfo>;
|
12326
|
+
'get-rvm-info': GetterCall<OpenFin_2.RVMInfo>;
|
12327
|
+
'get-host-specs': GetterCall<OpenFin_2.HostSpecs>;
|
12328
|
+
'get-os-info': GetterCall<OpenFin_2.OSInfo>;
|
12329
|
+
'launch-external-process': ApiCall<OpenFin_2.ExternalProcessRequestType, OpenFin_2.Identity>;
|
12330
|
+
'monitor-external-process': ApiCall<OpenFin_2.ExternalProcessInfo, OpenFin_2.Identity>;
|
12331
|
+
'write-to-log': ApiCall<{
|
12332
|
+
level: string;
|
12333
|
+
message: string;
|
12334
|
+
}, void>;
|
12335
|
+
'open-url-with-browser': ApiCall<{
|
12336
|
+
url: string;
|
12337
|
+
}, void>;
|
12338
|
+
'register-custom-protocol': ApiCall<OpenFin_2.CustomProtocolOptions, void>;
|
12339
|
+
'unregister-custom-protocol': ApiCall<{
|
12340
|
+
protocolName: string;
|
12341
|
+
}, void>;
|
12342
|
+
'get-custom-protocol-state': ApiCall<{
|
12343
|
+
protocolName: string;
|
12344
|
+
}, OpenFin_2.CustomProtocolState>;
|
12345
|
+
'release-external-process': ApiCall<{
|
12346
|
+
uuid: string;
|
12347
|
+
}, void>;
|
12348
|
+
'show-developer-tools': ApiCall<OpenFin_2.Identity, void>;
|
12349
|
+
'terminate-external-process': ApiCall<OpenFin_2.TerminateExternalRequestType, void>;
|
12350
|
+
'update-proxy': ApiCall<OpenFin_2.ProxyConfig, void>;
|
12351
|
+
'download-asset': {
|
12352
|
+
request: OpenFin_2.AppAssetInfo & {
|
12353
|
+
downloadId: string;
|
12354
|
+
};
|
12355
|
+
response: void;
|
12356
|
+
};
|
12357
|
+
'download-runtime': {
|
12358
|
+
request: OpenFin_2.RuntimeDownloadOptions & {
|
12359
|
+
downloadId: string;
|
12360
|
+
};
|
12361
|
+
response: void;
|
12362
|
+
};
|
12363
|
+
'download-preload-scripts': ApiCall<{
|
12364
|
+
scripts: Array<OpenFin_2.DownloadPreloadOption>;
|
12365
|
+
}, Array<OpenFin_2.DownloadPreloadInfo>>;
|
12366
|
+
'get-all-external-applications': ApiCall<void, Array<OpenFin_2.Identity>>;
|
12367
|
+
'get-app-asset-info': ApiCall<OpenFin_2.AppAssetRequest, OpenFin_2.AppAssetInfo>;
|
12368
|
+
'get-cookies': {
|
12369
|
+
request: OpenFin_2.CookieOption & {
|
12370
|
+
url: string;
|
12371
|
+
};
|
12372
|
+
response: Array<OpenFin_2.CookieInfo>;
|
12373
|
+
};
|
12374
|
+
'set-min-log-level': ApiCall<{
|
12375
|
+
level: OpenFin_2.LogLevel;
|
12376
|
+
}, void>;
|
12377
|
+
'resolve-uuid': ApiCall<{
|
12378
|
+
entityKey: string;
|
12379
|
+
}, OpenFin_2.ApplicationType>;
|
12380
|
+
'read-registry-value': ApiCall<{
|
12381
|
+
rootKey: string;
|
12382
|
+
subkey: string;
|
12383
|
+
value: string;
|
12384
|
+
}, OpenFin_2.RegistryInfo>;
|
12385
|
+
'register-external-connection': ApiCall<{
|
12386
|
+
uuid: string;
|
12387
|
+
}, OpenFin_2.ExternalConnection>;
|
12388
|
+
'get-service-configuration': ApiCall<{
|
12389
|
+
name: string;
|
12390
|
+
}, OpenFin_2.ServiceConfiguration>;
|
12391
|
+
'get-system-app-configuration': ApiCall<{
|
12392
|
+
name: string;
|
12393
|
+
}, any>;
|
12394
|
+
'run-rvm-health-check': ApiCall<void, string[]>;
|
11976
12395
|
'launch-manifest': {
|
11977
12396
|
request: {
|
11978
12397
|
manifestUrl: string;
|
@@ -11984,17 +12403,12 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
11984
12403
|
manifest: OpenFin_2.Manifest;
|
11985
12404
|
};
|
11986
12405
|
};
|
11987
|
-
'
|
12406
|
+
'query-permission-for-current-context': {
|
11988
12407
|
request: {
|
11989
|
-
|
11990
|
-
|
11991
|
-
response: any;
|
11992
|
-
};
|
11993
|
-
'show-popup-menu': {
|
11994
|
-
request: OpenFin_2.Identity & {
|
11995
|
-
options: OpenFin_2.ShowPopupMenuOptions;
|
12408
|
+
apiName: string;
|
12409
|
+
identity: OpenFin_2.Identity;
|
11996
12410
|
};
|
11997
|
-
response: OpenFin_2.
|
12411
|
+
response: OpenFin_2.QueryPermissionResult;
|
11998
12412
|
};
|
11999
12413
|
'enable-native-window-integration-provider': {
|
12000
12414
|
request: {
|
@@ -12002,24 +12416,34 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
12002
12416
|
};
|
12003
12417
|
response: OpenFin_2.NativeWindowIntegrationProviderAuthorization;
|
12004
12418
|
};
|
12419
|
+
'register-usage': ApiCall<OpenFin_2.RegisterUsageData, void>;
|
12420
|
+
'system-get-printers': GetterCall<OpenFin_2.PrinterInfo[]>;
|
12421
|
+
'system-update-process-logging-options': ApiCall<{
|
12422
|
+
options: OpenFin_2.ProcessLoggingOptions;
|
12423
|
+
}, void>;
|
12424
|
+
'get-domain-settings': ApiCall<OpenFin_2.ApplicationIdentity, OpenFin_2.DefaultDomainSettings>;
|
12425
|
+
'set-domain-settings': ApiCall<OpenFin_2.ApplicationIdentity & {
|
12426
|
+
domainSettings: OpenFin_2.DefaultDomainSettings;
|
12427
|
+
}, void>;
|
12428
|
+
'system-register-shutdown-handler': VoidCall;
|
12005
12429
|
'get-permissions': GetterCall<any>;
|
12006
|
-
'get-all-channels': GetterCall<OpenFin_2.ProviderIdentity[]>;
|
12007
|
-
'set-file-download-location': {
|
12008
|
-
request: OpenFin_2.Identity & {
|
12009
|
-
downloadLocation: string;
|
12010
|
-
};
|
12011
|
-
response: void;
|
12012
|
-
};
|
12013
|
-
'get-file-download-location': {
|
12014
|
-
request: OpenFin_2.ApplicationIdentity;
|
12015
|
-
response: string;
|
12016
|
-
};
|
12017
|
-
'close-popup-menu': IdentityCall;
|
12018
12430
|
'fdc3-add-context-listener': VoidCall;
|
12431
|
+
'fdc3-add-intent-listener': VoidCall;
|
12432
|
+
'fdc3-raise-intent': VoidCall;
|
12433
|
+
'fdc3-find-intent': VoidCall;
|
12434
|
+
'fdc3-find-intents-by-context': VoidCall;
|
12435
|
+
'fdc3-raise-intent-for-context': VoidCall;
|
12436
|
+
'fdc3-get-info': VoidCall;
|
12437
|
+
'fdc3-find-instances': VoidCall;
|
12438
|
+
'fdc3-get-app-metadata': VoidCall;
|
12019
12439
|
'fdc3-broadcast': VoidCall;
|
12440
|
+
'fdc3-open': VoidCall;
|
12441
|
+
'fdc3-get-or-create-channel': VoidCall;
|
12020
12442
|
'fdc3-get-system-channels': VoidCall;
|
12021
12443
|
'fdc3-join-channel': VoidCall;
|
12444
|
+
'fdc3-get-current-channel': VoidCall;
|
12022
12445
|
'fdc3-leave-current-channel': VoidCall;
|
12446
|
+
'interop-init': VoidCall;
|
12023
12447
|
'interop-connect-sync': VoidCall;
|
12024
12448
|
'interop-client-set-context': VoidCall;
|
12025
12449
|
'interop-client-add-context-handler': VoidCall;
|
@@ -12028,6 +12452,13 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
12028
12452
|
'interop-client-remove-from-context-group': VoidCall;
|
12029
12453
|
'interop-client-get-all-clients-in-context-group': VoidCall;
|
12030
12454
|
'interop-client-get-info-for-context-group': VoidCall;
|
12455
|
+
'interop-client-fire-intent': VoidCall;
|
12456
|
+
'interop-client-register-intent-handler': VoidCall;
|
12457
|
+
'interop-client-get-current-context': VoidCall;
|
12458
|
+
'interop-client-get-info-for-intent': VoidCall;
|
12459
|
+
'interop-client-get-info-for-intents-by-context': VoidCall;
|
12460
|
+
'interop-client-fire-intent-for-context': VoidCall;
|
12461
|
+
'interop-client-add-ondisconnection-listener': VoidCall;
|
12031
12462
|
'interop-broker-add-client-to-context-group': VoidCall;
|
12032
12463
|
'interop-broker-get-all-clients-in-context-group': VoidCall;
|
12033
12464
|
'interop-broker-get-context-groups': VoidCall;
|
@@ -12039,13 +12470,100 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
12039
12470
|
'interop-broker-remove-from-context-group': VoidCall;
|
12040
12471
|
'interop-broker-set-context': VoidCall;
|
12041
12472
|
'interop-broker-set-context-for-group': VoidCall;
|
12042
|
-
'
|
12043
|
-
|
12044
|
-
|
12045
|
-
|
12046
|
-
|
12047
|
-
|
12048
|
-
|
12473
|
+
'interop-broker-get-current-context': VoidCall;
|
12474
|
+
'interop-broker-set-intent-target': VoidCall;
|
12475
|
+
'interop-session-context-group-set-context': VoidCall;
|
12476
|
+
'interop-session-context-group-get-context': VoidCall;
|
12477
|
+
'interop-session-context-group-add-handler': VoidCall;
|
12478
|
+
'platform-wrap': VoidCall;
|
12479
|
+
'platform-wrap-sync': VoidCall;
|
12480
|
+
'platform-get-current': VoidCall;
|
12481
|
+
'platform-get-current-sync': VoidCall;
|
12482
|
+
'platform-start': VoidCall;
|
12483
|
+
'platform-start-from-manifest': VoidCall;
|
12484
|
+
'platform-get-client': ApplicationIdentityCall<{}, void>;
|
12485
|
+
'platform-create-view': ApplicationIdentityCall<{}, void>;
|
12486
|
+
'platform-create-window': ApplicationIdentityCall<{}, void>;
|
12487
|
+
'platform-quit': ApplicationIdentityCall<{}, void>;
|
12488
|
+
'platform-close-view': ApplicationIdentityCall<{}, void>;
|
12489
|
+
'platform-reparent-view': ApplicationIdentityCall<{}, void>;
|
12490
|
+
'platform-get-snapshot': ApplicationIdentityCall<{}, void>;
|
12491
|
+
'platform-apply-snapshot': ApplicationIdentityCall<{}, void>;
|
12492
|
+
'platform-launch-content-manifest': ApplicationIdentityCall<{}, void>;
|
12493
|
+
'platform-set-window-context': ApplicationIdentityCall<{}, void>;
|
12494
|
+
'platform-get-window-context': ApplicationIdentityCall<{}, void>;
|
12495
|
+
'platform-close-window': ApplicationIdentityCall<{}, void>;
|
12496
|
+
'layout-wrap': VoidCall;
|
12497
|
+
'layout-wrap-sync': VoidCall;
|
12498
|
+
'layout-get-current': VoidCall;
|
12499
|
+
'layout-get-current-sync': VoidCall;
|
12500
|
+
'layout-init': VoidCall;
|
12501
|
+
'layout-get-config': VoidCall;
|
12502
|
+
'layout-get-views': VoidCall;
|
12503
|
+
'layout-replace': VoidCall;
|
12504
|
+
'layout-get-root-item': VoidCall;
|
12505
|
+
'layout-replace-view': VoidCall;
|
12506
|
+
'layout-apply-preset': VoidCall;
|
12507
|
+
'layout-controller-get-root': VoidCall;
|
12508
|
+
'layout-controller-get-stack-by-view': VoidCall;
|
12509
|
+
'layout-controller-get-stack-views': VoidCall;
|
12510
|
+
'layout-controller-get-content': VoidCall;
|
12511
|
+
'layout-controller-get-parent': VoidCall;
|
12512
|
+
'layout-controller-is-root': VoidCall;
|
12513
|
+
'layout-controller-exists': VoidCall;
|
12514
|
+
'layout-controller-add-view-to-stack': VoidCall;
|
12515
|
+
'layout-controller-remove-view-from-stack': VoidCall;
|
12516
|
+
'layout-controller-create-adjacent-stack': VoidCall;
|
12517
|
+
'layout-controller-get-adjacent-stacks': VoidCall;
|
12518
|
+
'layout-controller-set-stack-active-view': VoidCall;
|
12519
|
+
'snapshot-source-init': VoidCall;
|
12520
|
+
'snapshot-source-wrap-sync': VoidCall;
|
12521
|
+
'snapshot-source-wrap': VoidCall;
|
12522
|
+
'snapshot-source-ready': VoidCall;
|
12523
|
+
'snapshot-source-get-snapshot': VoidCall;
|
12524
|
+
'snapshot-source-apply-snapshot': VoidCall;
|
12525
|
+
'capture-page': IdentityCall<{
|
12526
|
+
options?: OpenFin_2.CapturePageOptions;
|
12527
|
+
}, string>;
|
12528
|
+
'execute-javascript-in-window': IdentityCall<{
|
12529
|
+
code: string;
|
12530
|
+
}, unknown>;
|
12531
|
+
'get-zoom-level': IdentityCall<{}, number>;
|
12532
|
+
'set-zoom-level': IdentityCall<{
|
12533
|
+
level: number;
|
12534
|
+
}, void>;
|
12535
|
+
'navigate-window': IdentityCall<{
|
12536
|
+
url: string;
|
12537
|
+
}, void>;
|
12538
|
+
'navigate-window-back': IdentityCall<{}, void>;
|
12539
|
+
'navigate-window-forward': IdentityCall<{}, void>;
|
12540
|
+
'stop-window-navigation': IdentityCall<{}, void>;
|
12541
|
+
'reload-window': IdentityCall<{
|
12542
|
+
ignoreCache: boolean;
|
12543
|
+
}, void>;
|
12544
|
+
'print': IdentityCall<{
|
12545
|
+
options: OpenFin_2.PrintOptions;
|
12546
|
+
}, void>;
|
12547
|
+
'find-in-page': IdentityCall<{
|
12548
|
+
searchTerm: string;
|
12549
|
+
options?: OpenFin_2.FindInPageOptions;
|
12550
|
+
}, void>;
|
12551
|
+
'stop-find-in-page': IdentityCall<{
|
12552
|
+
action: 'clearSelection' | 'keepSelection' | 'activateSelection';
|
12553
|
+
}, void>;
|
12554
|
+
'get-printers': IdentityCall<{}, OpenFin_2.PrinterInfo>;
|
12555
|
+
'focus-window': IdentityCall<{
|
12556
|
+
emitSynthFocused: boolean;
|
12557
|
+
}, void>;
|
12558
|
+
'get-process-info': IdentityCall<{}, OpenFin_2.EntityProcessDetails>;
|
12559
|
+
'get-shared-workers': IdentityCall<{}, OpenFin_2.SharedWorkerInfo[]>;
|
12560
|
+
'inspect-shared-worker': IdentityCall<{}, void>;
|
12561
|
+
'inspect-shared-worker-by-id': IdentityCall<{
|
12562
|
+
workerId: string;
|
12563
|
+
}, void>;
|
12564
|
+
'inspect-service-worker': IdentityCall<{}, void>;
|
12565
|
+
'view-show-popup-window': IdentityCall<{}, void>;
|
12566
|
+
'window-show-popup-window': IdentityCall<{}, void>;
|
12049
12567
|
'try-create-popup-window': {
|
12050
12568
|
request: OpenFin_2.Identity & {
|
12051
12569
|
options: OpenFin_2.PopupOptions;
|
@@ -12061,9 +12579,6 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
12061
12579
|
};
|
12062
12580
|
response: OpenFin_2.PopupResult;
|
12063
12581
|
};
|
12064
|
-
'dispatch-popup-result': IdentityCall<{
|
12065
|
-
data: any;
|
12066
|
-
}>;
|
12067
12582
|
'render-overlay': {
|
12068
12583
|
request: {
|
12069
12584
|
bounds: OpenFin_2.Bounds;
|
@@ -12083,40 +12598,6 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
12083
12598
|
};
|
12084
12599
|
response: void;
|
12085
12600
|
};
|
12086
|
-
'get-host-specs': GetterCall<OpenFin_2.HostSpecs>;
|
12087
|
-
'get-os-info': GetterCall<OpenFin_2.OSInfo>;
|
12088
|
-
'system-get-printers': GetterCall<OpenFin_2.PrinterInfo[]>;
|
12089
|
-
'system-register-shutdown-handler': VoidCall;
|
12090
|
-
'get-domain-settings': ApiCall<OpenFin_2.ApplicationIdentity, OpenFin_2.DefaultDomainSettings>;
|
12091
|
-
'set-domain-settings': ApiCall<OpenFin_2.ApplicationIdentity & {
|
12092
|
-
domainSettings: OpenFin_2.DefaultDomainSettings;
|
12093
|
-
}, void>;
|
12094
|
-
'move-window-by': IdentityCall<WithPositioningOptions<{
|
12095
|
-
deltaLeft: number;
|
12096
|
-
deltaTop: number;
|
12097
|
-
}>>;
|
12098
|
-
'move-window': IdentityCall<WithPositioningOptions<{
|
12099
|
-
left: number;
|
12100
|
-
top: number;
|
12101
|
-
}>>;
|
12102
|
-
'resize-window-by': IdentityCall<WithPositioningOptions<{
|
12103
|
-
deltaWidth: number;
|
12104
|
-
deltaHeight: number;
|
12105
|
-
anchor: OpenFin_2.AnchorType;
|
12106
|
-
}>>;
|
12107
|
-
'resize-window': IdentityCall<WithPositioningOptions<{
|
12108
|
-
width: number;
|
12109
|
-
height: number;
|
12110
|
-
anchor: OpenFin_2.AnchorType;
|
12111
|
-
}>>;
|
12112
|
-
'set-window-bounds': IdentityCall<WithPositioningOptions<Partial<OpenFin_2.Bounds>>>;
|
12113
|
-
'register-custom-protocol': ApiCall<OpenFin_2.CustomProtocolOptions, void>;
|
12114
|
-
'unregister-custom-protocol': ApiCall<{
|
12115
|
-
protocolName: string;
|
12116
|
-
}, void>;
|
12117
|
-
'get-custom-protocol-state': ApiCall<{
|
12118
|
-
protocolName: string;
|
12119
|
-
}, OpenFin_2.CustomProtocolState>;
|
12120
12601
|
}
|
12121
12602
|
|
12122
12603
|
declare interface ProtocolMapBase {
|
@@ -12146,7 +12627,7 @@ declare type ProviderIdentity_3 = OpenFin_2.ProviderIdentity;
|
|
12146
12627
|
* Identity of a channel provider.
|
12147
12628
|
* @interface
|
12148
12629
|
*/
|
12149
|
-
declare type ProviderIdentity_4 =
|
12630
|
+
declare type ProviderIdentity_4 = Identity_4 & {
|
12150
12631
|
/**
|
12151
12632
|
* Identifier of the channel.
|
12152
12633
|
*/
|
@@ -12157,12 +12638,10 @@ declare type ProviderIdentity_4 = Identity_5 & {
|
|
12157
12638
|
channelName: string;
|
12158
12639
|
};
|
12159
12640
|
|
12160
|
-
declare type ProxyConfig = OpenFin_2.ProxyConfig;
|
12161
|
-
|
12162
12641
|
/**
|
12163
12642
|
* @interface
|
12164
12643
|
*/
|
12165
|
-
declare type
|
12644
|
+
declare type ProxyConfig = {
|
12166
12645
|
/**
|
12167
12646
|
* The configured proxy address.
|
12168
12647
|
*/
|
@@ -12174,13 +12653,11 @@ declare type ProxyConfig_2 = {
|
|
12174
12653
|
type: string;
|
12175
12654
|
};
|
12176
12655
|
|
12177
|
-
declare type ProxyInfo = OpenFin_2.ProxyInfo;
|
12178
|
-
|
12179
12656
|
/**
|
12180
12657
|
* @interface
|
12181
12658
|
*/
|
12182
|
-
declare type
|
12183
|
-
config:
|
12659
|
+
declare type ProxyInfo = {
|
12660
|
+
config: ProxyConfig;
|
12184
12661
|
system: ProxySystemInfo;
|
12185
12662
|
};
|
12186
12663
|
|
@@ -12286,12 +12763,10 @@ declare type RegisterUsageData = {
|
|
12286
12763
|
type: string;
|
12287
12764
|
};
|
12288
12765
|
|
12289
|
-
declare type RegistryInfo = OpenFin_2.RegistryInfo;
|
12290
|
-
|
12291
12766
|
/**
|
12292
12767
|
* @interface
|
12293
12768
|
*/
|
12294
|
-
declare type
|
12769
|
+
declare type RegistryInfo = {
|
12295
12770
|
data: any;
|
12296
12771
|
rootKey: string;
|
12297
12772
|
subkey: string;
|
@@ -12349,14 +12824,14 @@ declare type ReplaceLayoutPayload = {
|
|
12349
12824
|
/**
|
12350
12825
|
* Identity of the window whose layout will be replaced.
|
12351
12826
|
*/
|
12352
|
-
target:
|
12827
|
+
target: Identity_4 | LayoutIdentity;
|
12353
12828
|
};
|
12354
12829
|
|
12355
12830
|
/**
|
12356
12831
|
* @interface
|
12357
12832
|
*/
|
12358
12833
|
declare type ReplaceViewOptions = {
|
12359
|
-
viewToReplace:
|
12834
|
+
viewToReplace: Identity_4;
|
12360
12835
|
newView: ViewState;
|
12361
12836
|
};
|
12362
12837
|
|
@@ -12365,7 +12840,7 @@ declare type ReplaceViewOptions = {
|
|
12365
12840
|
*/
|
12366
12841
|
declare type ReplaceViewPayload = {
|
12367
12842
|
opts: {
|
12368
|
-
viewToReplace:
|
12843
|
+
viewToReplace: Identity_4;
|
12369
12844
|
newView: Partial<ViewOptions>;
|
12370
12845
|
};
|
12371
12846
|
target: LayoutIdentity;
|
@@ -12731,7 +13206,7 @@ declare type SetWindowContextPayload = {
|
|
12731
13206
|
/**
|
12732
13207
|
* Identity of the entity targeted by the call to {@link Platform#setWindowContext Platform.setWindowContext}.
|
12733
13208
|
*/
|
12734
|
-
target:
|
13209
|
+
target: Identity_4;
|
12735
13210
|
};
|
12736
13211
|
|
12737
13212
|
/**
|
@@ -13181,7 +13656,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
13181
13656
|
* fin.System.getAllWindows().then(wins => console.log(wins)).catch(err => console.log(err));
|
13182
13657
|
* ```
|
13183
13658
|
*/
|
13184
|
-
getAllWindows(): Promise<Array<ApplicationWindowInfo>>;
|
13659
|
+
getAllWindows(): Promise<Array<OpenFin_2.ApplicationWindowInfo>>;
|
13185
13660
|
/**
|
13186
13661
|
* Retrieves an array of data for all applications.
|
13187
13662
|
*
|
@@ -13190,7 +13665,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
13190
13665
|
* fin.System.getAllApplications().then(apps => console.log(apps)).catch(err => console.log(err));
|
13191
13666
|
* ```
|
13192
13667
|
*/
|
13193
|
-
getAllApplications(): Promise<Array<ApplicationState>>;
|
13668
|
+
getAllApplications(): Promise<Array<OpenFin_2.ApplicationState>>;
|
13194
13669
|
/**
|
13195
13670
|
* Retrieves the command line argument string that started OpenFin Runtime.
|
13196
13671
|
*
|
@@ -13265,7 +13740,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
13265
13740
|
* }
|
13266
13741
|
* ```
|
13267
13742
|
*/
|
13268
|
-
getEntityInfo(uuid: string, name: string): Promise<EntityInfo>;
|
13743
|
+
getEntityInfo(uuid: string, name: string): Promise<OpenFin_2.EntityInfo>;
|
13269
13744
|
/**
|
13270
13745
|
* Gets the value of a given environment variable on the computer on which the runtime is installed
|
13271
13746
|
*
|
@@ -13307,7 +13782,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
13307
13782
|
* ```
|
13308
13783
|
*/
|
13309
13784
|
getInstalledRuntimes(): Promise<string[]>;
|
13310
|
-
getInstalledApps(): Promise<InstalledApps>;
|
13785
|
+
getInstalledApps(): Promise<OpenFin_2.InstalledApps>;
|
13311
13786
|
/**
|
13312
13787
|
* Retrieves the contents of the log with the specified filename.
|
13313
13788
|
* @param options A object that id defined by the GetLogRequestType interface
|
@@ -13322,7 +13797,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
13322
13797
|
* getLog().then(log => console.log(log)).catch(err => console.log(err));
|
13323
13798
|
* ```
|
13324
13799
|
*/
|
13325
|
-
getLog(options: GetLogRequestType): Promise<string>;
|
13800
|
+
getLog(options: OpenFin_2.GetLogRequestType): Promise<string>;
|
13326
13801
|
/**
|
13327
13802
|
* Returns a unique identifier (UUID) provided by the machine.
|
13328
13803
|
*
|
@@ -13340,7 +13815,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
13340
13815
|
* fin.System.getMinLogLevel().then(level => console.log(level)).catch(err => console.log(err));
|
13341
13816
|
* ```
|
13342
13817
|
*/
|
13343
|
-
getMinLogLevel(): Promise<LogLevel>;
|
13818
|
+
getMinLogLevel(): Promise<OpenFin_2.LogLevel>;
|
13344
13819
|
/**
|
13345
13820
|
* Retrieves an array containing information for each log file.
|
13346
13821
|
*
|
@@ -13349,7 +13824,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
13349
13824
|
* fin.System.getLogList().then(logList => console.log(logList)).catch(err => console.log(err));
|
13350
13825
|
* ```
|
13351
13826
|
*/
|
13352
|
-
getLogList(): Promise<Array<LogInfo>>;
|
13827
|
+
getLogList(): Promise<Array<OpenFin_2.LogInfo>>;
|
13353
13828
|
/**
|
13354
13829
|
* Retrieves an object that contains data about the monitor setup of the
|
13355
13830
|
* computer that the runtime is running on.
|
@@ -13420,7 +13895,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
13420
13895
|
* }
|
13421
13896
|
* ```
|
13422
13897
|
*/
|
13423
|
-
getProxySettings(): Promise<ProxyInfo>;
|
13898
|
+
getProxySettings(): Promise<OpenFin_2.ProxyInfo>;
|
13424
13899
|
/**
|
13425
13900
|
* Returns information about the running Runtime in an object.
|
13426
13901
|
*
|
@@ -13787,7 +14262,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
13787
14262
|
* }
|
13788
14263
|
* ```
|
13789
14264
|
*/
|
13790
|
-
launchExternalProcess(options: OpenFin_2.ExternalProcessRequestType): Promise<
|
14265
|
+
launchExternalProcess(options: OpenFin_2.ExternalProcessRequestType): Promise<Identity>;
|
13791
14266
|
/**
|
13792
14267
|
* Monitors a running process. A pid for the process must be included in options.
|
13793
14268
|
* <br> A uuid may be optionally provided. If not provided, OpenFin will create a uuid for the new process.
|
@@ -13804,7 +14279,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
13804
14279
|
* }).then(processIdentity => console.log(processIdentity)).catch(err => console.log(err));
|
13805
14280
|
* ```
|
13806
14281
|
*/
|
13807
|
-
monitorExternalProcess(options: OpenFin_2.ExternalProcessInfo): Promise<
|
14282
|
+
monitorExternalProcess(options: OpenFin_2.ExternalProcessInfo): Promise<Identity>;
|
13808
14283
|
/**
|
13809
14284
|
* Writes the passed message into both the log file and the console.
|
13810
14285
|
* @param level The log level for the entry. Can be either "info", "warning" or "error"
|
@@ -13938,7 +14413,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
13938
14413
|
*
|
13939
14414
|
* @tutorial System.showDeveloperTools
|
13940
14415
|
*/
|
13941
|
-
showDeveloperTools(identity:
|
14416
|
+
showDeveloperTools(identity: Identity): Promise<void>;
|
13942
14417
|
/**
|
13943
14418
|
* Attempt to close an external process. The process will be terminated if it
|
13944
14419
|
* has not closed after the elapsed timeout in milliseconds.
|
@@ -13972,7 +14447,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
13972
14447
|
* .catch(err => console.error(err));
|
13973
14448
|
* ```
|
13974
14449
|
*/
|
13975
|
-
updateProxySettings(options: ProxyConfig): Promise<void>;
|
14450
|
+
updateProxySettings(options: OpenFin_2.ProxyConfig): Promise<void>;
|
13976
14451
|
/**
|
13977
14452
|
* Downloads the given application asset.
|
13978
14453
|
*
|
@@ -14064,7 +14539,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
14064
14539
|
* .catch(err => console.log(err));
|
14065
14540
|
* ```
|
14066
14541
|
*/
|
14067
|
-
getAllExternalApplications(): Promise<Array<
|
14542
|
+
getAllExternalApplications(): Promise<Array<Identity>>;
|
14068
14543
|
/**
|
14069
14544
|
* Retrieves app asset information.
|
14070
14545
|
* @param options
|
@@ -14093,7 +14568,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
14093
14568
|
* fin.System.setMinLogLevel("verbose").then(() => console.log("log level is set to verbose")).catch(err => console.log(err));
|
14094
14569
|
* ```
|
14095
14570
|
*/
|
14096
|
-
setMinLogLevel(level: LogLevel): Promise<void>;
|
14571
|
+
setMinLogLevel(level: OpenFin_2.LogLevel): Promise<void>;
|
14097
14572
|
/**
|
14098
14573
|
* Retrieves the UUID of the computer on which the runtime is installed
|
14099
14574
|
* @param uuid The uuid of the running application
|
@@ -14103,7 +14578,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
14103
14578
|
* fin.System.resolveUuid('OpenfinPOC').then(entity => console.log(entity)).catch(err => console.log(err));
|
14104
14579
|
* ```
|
14105
14580
|
*/
|
14106
|
-
resolveUuid(uuid: string): Promise<
|
14581
|
+
resolveUuid(uuid: string): Promise<OpenFin_2.ApplicationType>;
|
14107
14582
|
/**
|
14108
14583
|
* Retrieves an array of data for all external applications
|
14109
14584
|
* @param requestingIdentity This object is described in the Identity typedef
|
@@ -14111,7 +14586,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
14111
14586
|
*
|
14112
14587
|
* @ignore
|
14113
14588
|
*/
|
14114
|
-
executeOnRemote(requestingIdentity:
|
14589
|
+
executeOnRemote(requestingIdentity: Identity, data: any): Promise<any>;
|
14115
14590
|
/**
|
14116
14591
|
* Reads the specifed value from the registry.
|
14117
14592
|
* @remarks This method is restricted by default and must be enabled via
|
@@ -14204,7 +14679,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
14204
14679
|
* }
|
14205
14680
|
* ```
|
14206
14681
|
*/
|
14207
|
-
readRegistryValue(rootKey: string, subkey: string, value: string): Promise<RegistryInfo>;
|
14682
|
+
readRegistryValue(rootKey: string, subkey: string, value: string): Promise<OpenFin_2.RegistryInfo>;
|
14208
14683
|
/**
|
14209
14684
|
* This function call will register a unique id and produce a token.
|
14210
14685
|
* The token can be used to broker an external connection.
|
@@ -14419,7 +14894,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
14419
14894
|
* });
|
14420
14895
|
* ```
|
14421
14896
|
*/
|
14422
|
-
getPrinters(): Promise<PrinterInfo[]>;
|
14897
|
+
getPrinters(): Promise<OpenFin_2.PrinterInfo[]>;
|
14423
14898
|
/**
|
14424
14899
|
* Updates Process Logging values: periodic interval and outlier detection entries and interval.
|
14425
14900
|
* @param options Process Logging updatable options.
|
@@ -15045,14 +15520,11 @@ declare type UrlChangedEvent = BaseUrlEvent & ({
|
|
15045
15520
|
declare type UserAppConfigArgs = Record<string, string | string[]>;
|
15046
15521
|
|
15047
15522
|
/**
|
15048
|
-
*
|
15523
|
+
* An event that fires when a window's bounds are changed directly by the user.
|
15524
|
+
*
|
15049
15525
|
* @interface
|
15050
15526
|
*/
|
15051
|
-
declare type UserBoundsChangeEvent =
|
15052
|
-
height: number;
|
15053
|
-
left: number;
|
15054
|
-
top: number;
|
15055
|
-
width: number;
|
15527
|
+
declare type UserBoundsChangeEvent = BoundsEvent & {
|
15056
15528
|
windowState: 'minimized' | 'normal' | 'maximized';
|
15057
15529
|
};
|
15058
15530
|
|
@@ -15384,7 +15856,7 @@ declare class View_2 extends WebContents<OpenFin_2.ViewEvent> {
|
|
15384
15856
|
*/
|
15385
15857
|
getInfo: () => Promise<OpenFin_2.ViewInfo>;
|
15386
15858
|
/**
|
15387
|
-
* Retrieves the
|
15859
|
+
* Retrieves the OpenFin.Layout instance for the Window the View is attached to.
|
15388
15860
|
*
|
15389
15861
|
* @example
|
15390
15862
|
* ```js
|
@@ -15592,7 +16064,7 @@ declare type ViewContentCreationRule = BaseContentCreationRule & {
|
|
15592
16064
|
declare type ViewCreationOptions = Partial<ViewOptions> & {
|
15593
16065
|
name: string;
|
15594
16066
|
url: string;
|
15595
|
-
target:
|
16067
|
+
target: Identity_4;
|
15596
16068
|
};
|
15597
16069
|
|
15598
16070
|
declare type ViewCreationOrReference = OpenFin_2.Identity | OpenFin_2.PlatformViewCreationOptions;
|
@@ -15778,15 +16250,15 @@ declare interface ViewsPreventingUnloadPayload {
|
|
15778
16250
|
/**
|
15779
16251
|
* Identity of the Window.
|
15780
16252
|
*/
|
15781
|
-
windowId:
|
16253
|
+
windowId: Identity_4;
|
15782
16254
|
/**
|
15783
16255
|
* Identities of the Views that are preventing an unload
|
15784
16256
|
*/
|
15785
|
-
viewsPreventingUnload:
|
16257
|
+
viewsPreventingUnload: Identity_4[];
|
15786
16258
|
/**
|
15787
16259
|
* Identities of the Views that are not preventing an unload
|
15788
16260
|
*/
|
15789
|
-
viewsNotPreventingUnload:
|
16261
|
+
viewsNotPreventingUnload: Identity_4[];
|
15790
16262
|
/**
|
15791
16263
|
* Source of the close action.
|
15792
16264
|
*/
|
@@ -15811,11 +16283,11 @@ declare interface ViewStatuses {
|
|
15811
16283
|
/**
|
15812
16284
|
* Identities of the Views that are preventing an unload.
|
15813
16285
|
*/
|
15814
|
-
viewsPreventingUnload:
|
16286
|
+
viewsPreventingUnload: Identity_4[];
|
15815
16287
|
/**
|
15816
16288
|
* Identities of the Views that are not preventing an unload.
|
15817
16289
|
*/
|
15818
|
-
viewsNotPreventingUnload:
|
16290
|
+
viewsNotPreventingUnload: Identity_4[];
|
15819
16291
|
}
|
15820
16292
|
|
15821
16293
|
/**
|
@@ -16320,7 +16792,7 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
|
|
16320
16792
|
* We do not expose an explicit superclass for this functionality, but it does have its own
|
16321
16793
|
* {@link OpenFin.WebContentsEvents event namespace}.
|
16322
16794
|
*/
|
16323
|
-
stopFindInPage(action:
|
16795
|
+
stopFindInPage(action: 'clearSelection' | 'keepSelection' | 'activateSelection'): Promise<void>;
|
16324
16796
|
/**
|
16325
16797
|
* Returns an array with all system printers
|
16326
16798
|
* @deprecated use System.getPrinters instead
|
@@ -16913,11 +17385,7 @@ declare type WillMoveEvent = WillMoveOrResizeEvent & {
|
|
16913
17385
|
* A general will-move or will-resize event without event type.
|
16914
17386
|
* @interface
|
16915
17387
|
*/
|
16916
|
-
declare type WillMoveOrResizeEvent =
|
16917
|
-
height: number;
|
16918
|
-
left: number;
|
16919
|
-
top: number;
|
16920
|
-
width: number;
|
17388
|
+
declare type WillMoveOrResizeEvent = BoundsEvent & {
|
16921
17389
|
monitorScaleFactor: number;
|
16922
17390
|
};
|
16923
17391
|
|
@@ -18112,16 +18580,21 @@ declare namespace WindowEvents {
|
|
18112
18580
|
PreloadScriptInfoRunning,
|
18113
18581
|
PreloadScriptInfo,
|
18114
18582
|
PreloadScriptsStateChangeEvent,
|
18115
|
-
|
18583
|
+
BoundsEvent,
|
18116
18584
|
BoundsChangeEvent,
|
18117
18585
|
WillMoveOrResizeEvent,
|
18586
|
+
BoundsDidChangeEvent,
|
18587
|
+
BoundsChangedEvent,
|
18588
|
+
BoundsChangingEvent,
|
18589
|
+
DisabledMovementBoundsChangedEvent,
|
18590
|
+
DisabledMovementBoundsChangingEvent,
|
18591
|
+
UserBoundsChangeEvent,
|
18592
|
+
BeginUserBoundsChangingEvent,
|
18593
|
+
EndUserBoundsChangingEvent,
|
18118
18594
|
PerformanceReportEvent,
|
18119
18595
|
InputEvent_2 as InputEvent,
|
18120
18596
|
LayoutInitializedEvent,
|
18121
18597
|
LayoutReadyEvent,
|
18122
|
-
BeginUserBoundsChangingEvent,
|
18123
|
-
BoundsChangedEvent,
|
18124
|
-
BoundsChangingEvent,
|
18125
18598
|
CloseRequestedEvent,
|
18126
18599
|
WindowCloseRequestedEvent,
|
18127
18600
|
ContextChangedEvent,
|
@@ -18129,10 +18602,7 @@ declare namespace WindowEvents {
|
|
18129
18602
|
WindowClosedEvent,
|
18130
18603
|
ClosingEvent,
|
18131
18604
|
WindowClosingEvent,
|
18132
|
-
DisabledMovementBoundsChangedEvent,
|
18133
|
-
DisabledMovementBoundsChangingEvent,
|
18134
18605
|
EmbeddedEvent,
|
18135
|
-
EndUserBoundsChangingEvent,
|
18136
18606
|
HotkeyEvent_2 as HotkeyEvent,
|
18137
18607
|
WindowHotkeyEvent,
|
18138
18608
|
InitializedEvent_2 as InitializedEvent,
|