@openfin/core 39.83.3 → 39.83.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/out/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-alpha.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
|
/**
|
@@ -933,15 +933,15 @@ declare namespace ApplicationEvents {
|
|
933
933
|
*/
|
934
934
|
declare type ApplicationEventType = EventType_3;
|
935
935
|
|
936
|
-
declare type ApplicationIdentity = OpenFin_2.ApplicationIdentity;
|
937
|
-
|
938
936
|
/**
|
939
937
|
* @interface
|
940
938
|
*/
|
941
|
-
declare type
|
939
|
+
declare type ApplicationIdentity = {
|
942
940
|
uuid: string;
|
943
941
|
};
|
944
942
|
|
943
|
+
declare type ApplicationIdentityCall<AdditionalPayload = {}, Response = void> = ApiCall<AdditionalPayload & OpenFin_2.ApplicationIdentity, Response>;
|
944
|
+
|
945
945
|
/**
|
946
946
|
* @interface
|
947
947
|
*/
|
@@ -1314,12 +1314,10 @@ declare type ApplicationSourcedEvent = ClosedEvent | ConnectedEvent_2 | CrashedE
|
|
1314
1314
|
*/
|
1315
1315
|
declare type ApplicationSourcedEventType = ApplicationSourcedEvent['type'];
|
1316
1316
|
|
1317
|
-
declare type ApplicationState = OpenFin_2.ApplicationState;
|
1318
|
-
|
1319
1317
|
/**
|
1320
1318
|
* @interface
|
1321
1319
|
*/
|
1322
|
-
declare type
|
1320
|
+
declare type ApplicationState = {
|
1323
1321
|
/**
|
1324
1322
|
* True when the application is a Platform controller
|
1325
1323
|
*/
|
@@ -1351,12 +1349,10 @@ declare type ApplicationType = {
|
|
1351
1349
|
*/
|
1352
1350
|
declare type ApplicationWindowEvent = WindowAlertRequestedEvent | WindowCreatedEvent | WindowEndLoadEvent | WindowNotRespondingEvent | WindowRespondingEvent | WindowStartLoadEvent;
|
1353
1351
|
|
1354
|
-
declare type ApplicationWindowInfo = OpenFin_2.ApplicationWindowInfo;
|
1355
|
-
|
1356
1352
|
/**
|
1357
1353
|
* @interface
|
1358
1354
|
*/
|
1359
|
-
declare type
|
1355
|
+
declare type ApplicationWindowInfo = {
|
1360
1356
|
childWindows: Array<WindowDetail>;
|
1361
1357
|
mainWindow: WindowDetail;
|
1362
1358
|
/**
|
@@ -1618,7 +1614,7 @@ declare class Base {
|
|
1618
1614
|
* @deprecated `me` should only be accessed from the `fin` global ({@link FinApi.me}); access through entity classes is not
|
1619
1615
|
* guaranteed to behave sensibly in all calling contexts.
|
1620
1616
|
*/
|
1621
|
-
get me(): Identity;
|
1617
|
+
get me(): OpenFin_2.Identity;
|
1622
1618
|
/* Excluded from this release type: isNodeEnvironment */
|
1623
1619
|
/* Excluded from this release type: isOpenFinEnvironment */
|
1624
1620
|
/* Excluded from this release type: isBrowserEnvironment */
|
@@ -1838,11 +1834,12 @@ declare type BeforeUnloadUserDecision = {
|
|
1838
1834
|
/**
|
1839
1835
|
* Array of views that will close.
|
1840
1836
|
*/
|
1841
|
-
viewsToClose:
|
1837
|
+
viewsToClose: Identity_4[];
|
1842
1838
|
};
|
1843
1839
|
|
1844
1840
|
/**
|
1845
1841
|
* Generated at the beginning of a user-driven change to a window's size or position.
|
1842
|
+
*
|
1846
1843
|
* @interface
|
1847
1844
|
*/
|
1848
1845
|
declare type BeginUserBoundsChangingEvent = UserBoundsChangeEvent & {
|
@@ -1883,31 +1880,33 @@ declare type Bounds = {
|
|
1883
1880
|
* Generated after changes in a window's size and/or position.
|
1884
1881
|
* @interface
|
1885
1882
|
*/
|
1886
|
-
declare type BoundsChangedEvent =
|
1883
|
+
declare type BoundsChangedEvent = BoundsDidChangeEvent & {
|
1887
1884
|
type: 'bounds-changed';
|
1888
1885
|
};
|
1889
1886
|
|
1890
|
-
|
1891
|
-
* A general bounds change event without event type.
|
1892
|
-
* @interface
|
1893
|
-
*/
|
1894
|
-
declare type BoundsChangeEvent = BaseEvent_5 & {
|
1887
|
+
declare type BoundsChangeEvent = BoundsEvent & {
|
1895
1888
|
changeType: 0 | 1 | 2;
|
1896
|
-
deferred: boolean;
|
1897
|
-
height: number;
|
1898
|
-
left: number;
|
1899
|
-
top: number;
|
1900
|
-
width: number;
|
1901
1889
|
};
|
1902
1890
|
|
1903
1891
|
/**
|
1904
1892
|
* Generated during changes to a window's size and/or position.
|
1905
1893
|
* @interface
|
1906
1894
|
*/
|
1907
|
-
declare type BoundsChangingEvent =
|
1895
|
+
declare type BoundsChangingEvent = BoundsDidChangeEvent & {
|
1908
1896
|
type: 'bounds-changing';
|
1909
1897
|
};
|
1910
1898
|
|
1899
|
+
/**
|
1900
|
+
* An event that fires when a window's bounds are successfully changed.
|
1901
|
+
*
|
1902
|
+
* @interface
|
1903
|
+
*/
|
1904
|
+
declare type BoundsDidChangeEvent = BoundsChangeEvent & {
|
1905
|
+
reason: 'self' | 'animation';
|
1906
|
+
};
|
1907
|
+
|
1908
|
+
declare type BoundsEvent = BaseEvent_5 & OpenFin_2.Bounds;
|
1909
|
+
|
1911
1910
|
/**
|
1912
1911
|
* A rule prescribing content creation in the browser.
|
1913
1912
|
*
|
@@ -2989,7 +2988,7 @@ declare type ClientConnectionPayload = ClientIdentity & ClientInfo;
|
|
2989
2988
|
* Identity of a channel client. Includes endpointId to differentiate between different connections for an entity.
|
2990
2989
|
* @interface
|
2991
2990
|
*/
|
2992
|
-
declare type ClientIdentity =
|
2991
|
+
declare type ClientIdentity = Identity_4 & {
|
2993
2992
|
/**
|
2994
2993
|
* Unique identifier for a client, because there can be multiple clients at one name/uuid entity.
|
2995
2994
|
*/
|
@@ -3222,7 +3221,7 @@ declare type CloseViewOptions = {
|
|
3222
3221
|
/**
|
3223
3222
|
*View to be closed.
|
3224
3223
|
*/
|
3225
|
-
viewIdentity:
|
3224
|
+
viewIdentity: Identity_4;
|
3226
3225
|
};
|
3227
3226
|
|
3228
3227
|
/**
|
@@ -3232,7 +3231,7 @@ declare type CloseViewPayload = {
|
|
3232
3231
|
/**
|
3233
3232
|
*View to be closed.
|
3234
3233
|
*/
|
3235
|
-
view:
|
3234
|
+
view: Identity_4;
|
3236
3235
|
/**
|
3237
3236
|
* The target layout identity where this view should be closed. If not provided, will resolve to the
|
3238
3237
|
* visible layout.
|
@@ -3250,7 +3249,7 @@ declare interface CloseWindowPayload {
|
|
3250
3249
|
*
|
3251
3250
|
* Identity of the Window
|
3252
3251
|
*/
|
3253
|
-
windowId:
|
3252
|
+
windowId: Identity_4;
|
3254
3253
|
options: {
|
3255
3254
|
/**
|
3256
3255
|
* @defaultValue false
|
@@ -3368,7 +3367,7 @@ declare type ConstViewOptions = {
|
|
3368
3367
|
/**
|
3369
3368
|
* The identity of the window this view should be attached to.
|
3370
3369
|
*/
|
3371
|
-
target:
|
3370
|
+
target: Identity_4;
|
3372
3371
|
/**
|
3373
3372
|
* Configures how new content (e,g, from `window.open` or a link) is opened.
|
3374
3373
|
*/
|
@@ -3593,7 +3592,7 @@ declare type ConstWindowOptions = {
|
|
3593
3592
|
/**
|
3594
3593
|
* Parent identity of a modal window. It will create a modal child window when this option is set.
|
3595
3594
|
*/
|
3596
|
-
modalParentIdentity:
|
3595
|
+
modalParentIdentity: Identity_4;
|
3597
3596
|
/**
|
3598
3597
|
* The name of the window.
|
3599
3598
|
*/
|
@@ -3611,7 +3610,9 @@ declare type ConstWindowOptions = {
|
|
3611
3610
|
*/
|
3612
3611
|
preloadScripts: PreloadScript[];
|
3613
3612
|
/**
|
3614
|
-
* String tag that attempts to group like-tagged renderers together.
|
3613
|
+
* String tag that attempts to group like-tagged renderers together.
|
3614
|
+
* 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.
|
3615
|
+
* @remarks Will only be used if pages are on the same origin.
|
3615
3616
|
*/
|
3616
3617
|
processAffinity: string;
|
3617
3618
|
/**
|
@@ -3658,11 +3659,6 @@ declare type ConstWindowOptions = {
|
|
3658
3659
|
* @deprecated - use `icon` instead.
|
3659
3660
|
*/
|
3660
3661
|
taskbarIcon: string;
|
3661
|
-
/**
|
3662
|
-
* Specify a taskbar group for the window.
|
3663
|
-
* _If omitted, defaults to app's uuid (`fin.Application.getCurrentSync().identity.uuid`)._
|
3664
|
-
*/
|
3665
|
-
taskbarIconGroup: string;
|
3666
3662
|
/**
|
3667
3663
|
* @defaultValue "about:blank"
|
3668
3664
|
*
|
@@ -4077,13 +4073,13 @@ declare type CreateViewPayload = {
|
|
4077
4073
|
* Window the view will be added to. If no target is provided, a new window will be created.
|
4078
4074
|
*/
|
4079
4075
|
target?: CreateViewTarget;
|
4080
|
-
targetView?:
|
4076
|
+
targetView?: Identity_4;
|
4081
4077
|
};
|
4082
4078
|
|
4083
4079
|
/**
|
4084
4080
|
* @interface
|
4085
4081
|
*/
|
4086
|
-
declare type CreateViewTarget = (
|
4082
|
+
declare type CreateViewTarget = (Identity_4 | LayoutIdentity) & {
|
4087
4083
|
/**
|
4088
4084
|
* If specified, view creation will not attach to a window and caller must
|
4089
4085
|
* insert the view into the layout explicitly
|
@@ -4529,7 +4525,7 @@ declare type EmitterAccessor = string[];
|
|
4529
4525
|
declare class EmitterBase<EmitterEvent extends BaseEvent, EmitterEventType extends EmitterEvent['type'] = EmitterEvent['type']> extends Base {
|
4530
4526
|
#private;
|
4531
4527
|
private topic;
|
4532
|
-
protected identity: ApplicationIdentity;
|
4528
|
+
protected identity: OpenFin_2.ApplicationIdentity;
|
4533
4529
|
constructor(wire: Transport, topic: string, ...additionalAccessors: string[]);
|
4534
4530
|
eventNames: () => (string | symbol)[];
|
4535
4531
|
/* Excluded from this release type: emit */
|
@@ -4604,20 +4600,17 @@ declare type EndLoadEvent = BaseEvent_5 & {
|
|
4604
4600
|
|
4605
4601
|
/**
|
4606
4602
|
* Generated at the end of a user-driven change to a window's size or position.
|
4603
|
+
*
|
4607
4604
|
* @interface
|
4608
4605
|
*/
|
4609
4606
|
declare type EndUserBoundsChangingEvent = UserBoundsChangeEvent & {
|
4610
4607
|
type: 'end-user-bounds-changing';
|
4611
4608
|
};
|
4612
4609
|
|
4613
|
-
declare type Entity = OpenFin_2.ApplicationType;
|
4614
|
-
|
4615
|
-
declare type EntityInfo = OpenFin_2.EntityInfo;
|
4616
|
-
|
4617
4610
|
/**
|
4618
4611
|
* @interface
|
4619
4612
|
*/
|
4620
|
-
declare type
|
4613
|
+
declare type EntityInfo = {
|
4621
4614
|
uuid: string;
|
4622
4615
|
name: string;
|
4623
4616
|
entityType: EntityType_4;
|
@@ -4703,6 +4696,7 @@ declare interface Environment {
|
|
4703
4696
|
getInteropInfo(fin: OpenFin_2.Fin<OpenFin_2.EntityType>): Promise<InternalInteropBrokerOptions & {
|
4704
4697
|
fdc3Version?: Version;
|
4705
4698
|
}>;
|
4699
|
+
getViewWindowIdentity(fin: OpenFin_2.Fin<OpenFin_2.EntityType>, identity: OpenFin_2.Identity): Promise<OpenFin_2.Identity>;
|
4706
4700
|
readonly type: EnvironmentType;
|
4707
4701
|
}
|
4708
4702
|
|
@@ -4966,7 +4960,7 @@ declare type ExternalApplicationEventType = EventType_4;
|
|
4966
4960
|
* @interface
|
4967
4961
|
*/
|
4968
4962
|
declare type ExternalApplicationInfo = {
|
4969
|
-
parent:
|
4963
|
+
parent: Identity_4;
|
4970
4964
|
};
|
4971
4965
|
|
4972
4966
|
/**
|
@@ -5426,7 +5420,7 @@ declare type FrameInfo = {
|
|
5426
5420
|
uuid: string;
|
5427
5421
|
url: string;
|
5428
5422
|
entityType: EntityType_4;
|
5429
|
-
parent:
|
5423
|
+
parent: Identity_4;
|
5430
5424
|
};
|
5431
5425
|
|
5432
5426
|
/**
|
@@ -5501,12 +5495,10 @@ declare type FrameProcessDetails = ProcessDetails & {
|
|
5501
5495
|
entityType: string;
|
5502
5496
|
};
|
5503
5497
|
|
5504
|
-
declare type GetLogRequestType = OpenFin_2.GetLogRequestType;
|
5505
|
-
|
5506
5498
|
/**
|
5507
5499
|
* @interface
|
5508
5500
|
*/
|
5509
|
-
declare type
|
5501
|
+
declare type GetLogRequestType = {
|
5510
5502
|
/**
|
5511
5503
|
* The name of the running application
|
5512
5504
|
*/
|
@@ -5526,7 +5518,7 @@ declare type GetWindowContextPayload = {
|
|
5526
5518
|
/**
|
5527
5519
|
* Identity of the entity targeted by the call to {@link Platform#setWindowContext Platform.setWindowContext}.
|
5528
5520
|
*/
|
5529
|
-
target:
|
5521
|
+
target: Identity_4;
|
5530
5522
|
};
|
5531
5523
|
|
5532
5524
|
/**
|
@@ -5792,8 +5784,6 @@ declare type Identity_2 = OpenFin_2.Identity;
|
|
5792
5784
|
|
5793
5785
|
declare type Identity_3 = OpenFin_2.Identity;
|
5794
5786
|
|
5795
|
-
declare type Identity_4 = OpenFin_2.Identity;
|
5796
|
-
|
5797
5787
|
/**
|
5798
5788
|
* Unique identifier for a window, view or iframe.
|
5799
5789
|
*
|
@@ -5802,7 +5792,7 @@ declare type Identity_4 = OpenFin_2.Identity;
|
|
5802
5792
|
*
|
5803
5793
|
* @interface
|
5804
5794
|
*/
|
5805
|
-
declare type
|
5795
|
+
declare type Identity_4 = {
|
5806
5796
|
/**
|
5807
5797
|
* Universally unique identifier of the application that owns the component.
|
5808
5798
|
*/
|
@@ -5961,12 +5951,10 @@ declare type InstallationInfo = {
|
|
5961
5951
|
cachedManifest: any;
|
5962
5952
|
};
|
5963
5953
|
|
5964
|
-
declare type InstalledApps = OpenFin_2.InstalledApps;
|
5965
|
-
|
5966
5954
|
/**
|
5967
5955
|
* @interface
|
5968
5956
|
*/
|
5969
|
-
declare type
|
5957
|
+
declare type InstalledApps = {
|
5970
5958
|
[key: string]: InstallationInfo;
|
5971
5959
|
};
|
5972
5960
|
|
@@ -6737,7 +6725,7 @@ declare class InteropBroker extends Base {
|
|
6737
6725
|
* @param _id the identity tryinc to connect
|
6738
6726
|
* @param _connectionPayload optional payload to use in custom implementations, will be undefined by default
|
6739
6727
|
*/
|
6740
|
-
isConnectionAuthorized(_id:
|
6728
|
+
isConnectionAuthorized(_id: Identity_2, _connectionPayload?: any): Promise<boolean> | boolean;
|
6741
6729
|
/**
|
6742
6730
|
* Called before every action to check if this entity should be allowed to take the action.
|
6743
6731
|
* Return false to prevent the action
|
@@ -7530,6 +7518,7 @@ declare type LaunchIntoPlatformPayload = {
|
|
7530
7518
|
*/
|
7531
7519
|
declare class Layout extends Base {
|
7532
7520
|
#private;
|
7521
|
+
/* Excluded from this release type: getClient */
|
7533
7522
|
/* Excluded from this release type: init */
|
7534
7523
|
identity: OpenFin_2.Identity | OpenFin_2.LayoutIdentity;
|
7535
7524
|
private platform;
|
@@ -7629,6 +7618,17 @@ declare class Layout extends Base {
|
|
7629
7618
|
* ```
|
7630
7619
|
*/
|
7631
7620
|
getRootItem(): Promise<OpenFin_2.ColumnOrRow | OpenFin_2.TabStack>;
|
7621
|
+
/**
|
7622
|
+
* Retrieves the OpenFin.TabStack instance which the View belongs to.
|
7623
|
+
*
|
7624
|
+
* @example
|
7625
|
+
* ```js
|
7626
|
+
* const viewIdentity = { uuid: 'uuid', name: 'view-name' };
|
7627
|
+
* const stack = await fin.View.wrapSync(viewIdentity).getStackByViewIdentity(viewIdentity);
|
7628
|
+
* console.log(await stack.getViews());
|
7629
|
+
* ```
|
7630
|
+
*/
|
7631
|
+
getStackByViewIdentity(identity: OpenFin_2.Identity): Promise<OpenFin_2.TabStack>;
|
7632
7632
|
/**
|
7633
7633
|
* Replaces the specified view with a view with the provided configuration.
|
7634
7634
|
*
|
@@ -7655,7 +7655,7 @@ declare class Layout extends Base {
|
|
7655
7655
|
* await layout.replaceView(viewToReplace.identity, newViewConfig);
|
7656
7656
|
* ```
|
7657
7657
|
*/
|
7658
|
-
replaceView: (viewToReplace:
|
7658
|
+
replaceView: (viewToReplace: Identity_3, newView: OpenFin_2.PlatformViewCreationOptions) => Promise<void>;
|
7659
7659
|
/**
|
7660
7660
|
* Replaces a Platform window's layout with a preset layout arrangement using the existing Views attached to the window.
|
7661
7661
|
* The preset options are `columns`, `grid`, `rows`, and `tabs`.
|
@@ -7710,7 +7710,7 @@ declare type LayoutContent = Array<LayoutItemConfig | LayoutRow | LayoutColumn |
|
|
7710
7710
|
/**
|
7711
7711
|
* The base payload for the CustomEvent.detail property for Layout events emitted on the layout container element.
|
7712
7712
|
*/
|
7713
|
-
declare type LayoutDOMEvent =
|
7713
|
+
declare type LayoutDOMEvent = Identity_4 & {
|
7714
7714
|
type: string;
|
7715
7715
|
topic: 'openfin-DOM-event';
|
7716
7716
|
tabSelector: string;
|
@@ -7771,7 +7771,7 @@ declare type LayoutEntityTypes = 'column' | 'row' | 'stack';
|
|
7771
7771
|
/**
|
7772
7772
|
* @interface
|
7773
7773
|
*/
|
7774
|
-
declare type LayoutIdentity =
|
7774
|
+
declare type LayoutIdentity = Identity_4 & {
|
7775
7775
|
/**
|
7776
7776
|
* The name of the layout in a given window.
|
7777
7777
|
*/
|
@@ -7880,7 +7880,7 @@ declare interface LayoutManager<T extends LayoutSnapshot> {
|
|
7880
7880
|
* @param identity
|
7881
7881
|
* @returns LayoutIdentity | undefined
|
7882
7882
|
*/
|
7883
|
-
resolveLayoutIdentity(identity?:
|
7883
|
+
resolveLayoutIdentity(identity?: Identity_4 | LayoutIdentity): LayoutIdentity | undefined;
|
7884
7884
|
/**
|
7885
7885
|
* @experimental
|
7886
7886
|
*
|
@@ -7897,7 +7897,7 @@ declare interface LayoutManager<T extends LayoutSnapshot> {
|
|
7897
7897
|
/**
|
7898
7898
|
* @experimental
|
7899
7899
|
*/
|
7900
|
-
getLayoutIdentityForView(viewIdentity:
|
7900
|
+
getLayoutIdentityForView(viewIdentity: Identity_4): LayoutIdentity;
|
7901
7901
|
/**
|
7902
7902
|
* @experimental
|
7903
7903
|
*/
|
@@ -7998,6 +7998,17 @@ declare class LayoutModule extends Base {
|
|
7998
7998
|
* ```
|
7999
7999
|
*/
|
8000
8000
|
getCurrentSync(): OpenFin_2.Layout;
|
8001
|
+
/**
|
8002
|
+
* Retrieves the OpenFin.Layout instance for the Window the View is attached to.
|
8003
|
+
*
|
8004
|
+
* @example
|
8005
|
+
* ```js
|
8006
|
+
* const viewIdentity = { uuid: 'uuid', name: 'view-name' };
|
8007
|
+
* const layout = await fin.Platform.Layout.getLayoutByViewIdentity(viewIdentity);
|
8008
|
+
* console.log(await layout.getCurrentViews());
|
8009
|
+
* ```
|
8010
|
+
*/
|
8011
|
+
getLayoutByViewIdentity(viewIdentity: OpenFin_2.Identity): Promise<OpenFin_2.Layout>;
|
8001
8012
|
/**
|
8002
8013
|
* Initialize the window's Layout.
|
8003
8014
|
*
|
@@ -8201,12 +8212,10 @@ declare type Listener<T extends {
|
|
8201
8212
|
type: string;
|
8202
8213
|
}> = (payload: T) => void;
|
8203
8214
|
|
8204
|
-
declare type LogInfo = OpenFin_2.LogInfo;
|
8205
|
-
|
8206
8215
|
/**
|
8207
8216
|
* @interface
|
8208
8217
|
*/
|
8209
|
-
declare type
|
8218
|
+
declare type LogInfo = {
|
8210
8219
|
/**
|
8211
8220
|
* The filename of the log
|
8212
8221
|
*/
|
@@ -8221,8 +8230,6 @@ declare type LogInfo_2 = {
|
|
8221
8230
|
date: string;
|
8222
8231
|
};
|
8223
8232
|
|
8224
|
-
declare type LogLevel = OpenFin_2.LogLevel;
|
8225
|
-
|
8226
8233
|
/**
|
8227
8234
|
* Describes the minimum level (inclusive) above which logs will be written.
|
8228
8235
|
*
|
@@ -8232,7 +8239,7 @@ declare type LogLevel = OpenFin_2.LogLevel;
|
|
8232
8239
|
* `error` and above<br>
|
8233
8240
|
* `fatal`: fatal only, indicates a crash is imminent
|
8234
8241
|
*/
|
8235
|
-
declare type
|
8242
|
+
declare type LogLevel = 'verbose' | 'info' | 'warning' | 'error' | 'fatal';
|
8236
8243
|
|
8237
8244
|
declare type LogUploaderUIOptions = {
|
8238
8245
|
title?: string;
|
@@ -8881,6 +8888,12 @@ declare type MutableWindowOptions = {
|
|
8881
8888
|
* Shows the window's icon in the taskbar.
|
8882
8889
|
*/
|
8883
8890
|
showTaskbarIcon: boolean;
|
8891
|
+
/**
|
8892
|
+
* Specify a taskbar group for the window.
|
8893
|
+
* _If omitted, defaults to app's uuid (`fin.Application.getCurrentSync().identity.uuid`)._
|
8894
|
+
* @remarks It's only updatable when `enableJumpList` is set to false.
|
8895
|
+
*/
|
8896
|
+
taskbarIconGroup: string;
|
8884
8897
|
interop: InteropConfig;
|
8885
8898
|
/* Excluded from this release type: _internalWorkspaceData */
|
8886
8899
|
/* Excluded from this release type: workspacePlatform */
|
@@ -9060,13 +9073,13 @@ declare namespace OpenFin_2 {
|
|
9060
9073
|
LayoutPosition,
|
9061
9074
|
WebContent,
|
9062
9075
|
PlatformProvider,
|
9063
|
-
|
9064
|
-
|
9076
|
+
ApplicationIdentity,
|
9077
|
+
Identity_4 as Identity,
|
9065
9078
|
ClientIdentity,
|
9066
9079
|
ClientInfo,
|
9067
9080
|
ClientIdentityMultiRuntime,
|
9068
9081
|
ClientConnectionPayload,
|
9069
|
-
|
9082
|
+
EntityInfo,
|
9070
9083
|
EntityType_4 as EntityType,
|
9071
9084
|
Bounds,
|
9072
9085
|
WindowBounds,
|
@@ -9202,7 +9215,7 @@ declare namespace OpenFin_2 {
|
|
9202
9215
|
GpuInfo,
|
9203
9216
|
OSInfo,
|
9204
9217
|
HostSpecs,
|
9205
|
-
|
9218
|
+
PrinterInfo,
|
9206
9219
|
Dpi,
|
9207
9220
|
Margins,
|
9208
9221
|
PrintOptions,
|
@@ -9310,24 +9323,24 @@ declare namespace OpenFin_2 {
|
|
9310
9323
|
BeforeUnloadUserDecision,
|
9311
9324
|
ViewStatuses,
|
9312
9325
|
CloseWindowPayload,
|
9313
|
-
|
9314
|
-
|
9326
|
+
ProxyInfo,
|
9327
|
+
ProxyConfig,
|
9315
9328
|
ProxySystemInfo,
|
9316
9329
|
ChannelAction_2 as ChannelAction,
|
9317
9330
|
ChannelMiddleware_2 as ChannelMiddleware,
|
9318
9331
|
ErrorMiddleware_2 as ErrorMiddleware,
|
9319
|
-
|
9320
|
-
|
9332
|
+
ApplicationState,
|
9333
|
+
InstalledApps,
|
9321
9334
|
InstallationInfo,
|
9322
|
-
|
9323
|
-
|
9335
|
+
GetLogRequestType,
|
9336
|
+
LogInfo,
|
9324
9337
|
SendApplicationLogResponse,
|
9325
|
-
|
9338
|
+
LogLevel,
|
9326
9339
|
PermissionState_2 as PermissionState,
|
9327
|
-
|
9340
|
+
RegistryInfo,
|
9328
9341
|
ApplicationType,
|
9329
9342
|
WindowInfo,
|
9330
|
-
|
9343
|
+
ApplicationWindowInfo,
|
9331
9344
|
WindowDetail,
|
9332
9345
|
LayoutPresetType,
|
9333
9346
|
LayoutIdentity,
|
@@ -11238,12 +11251,10 @@ declare type PresetLayoutOptions_2 = {
|
|
11238
11251
|
presetType: LayoutPresetType;
|
11239
11252
|
};
|
11240
11253
|
|
11241
|
-
declare type PrinterInfo = OpenFin_2.PrinterInfo;
|
11242
|
-
|
11243
11254
|
/**
|
11244
11255
|
* @interface
|
11245
11256
|
*/
|
11246
|
-
declare type
|
11257
|
+
declare type PrinterInfo = {
|
11247
11258
|
/**
|
11248
11259
|
* Printer Name
|
11249
11260
|
*/
|
@@ -11505,20 +11516,100 @@ declare type PropagatedWindowEvent<TargetTopic extends string> = PropagatedEvent
|
|
11505
11516
|
declare type PropagatedWindowEventType = PropagatedEvent_3<string>['type'];
|
11506
11517
|
|
11507
11518
|
declare interface ProtocolMap extends ProtocolMapBase {
|
11519
|
+
'is-application-running': ApplicationIdentityCall<{}, boolean>;
|
11520
|
+
'destroy-application': ApplicationIdentityCall<{
|
11521
|
+
force: boolean;
|
11522
|
+
}, void>;
|
11523
|
+
'close-application': ApplicationIdentityCall<{
|
11524
|
+
force: boolean;
|
11525
|
+
}, void>;
|
11526
|
+
'application-close': ApplicationIdentityCall<{}, void>;
|
11527
|
+
'get-child-windows': ApplicationIdentityCall<{}, Array<unknown>>;
|
11528
|
+
'get-application-manifest': {
|
11529
|
+
request: {
|
11530
|
+
manifestUrl?: string;
|
11531
|
+
uuid?: string;
|
11532
|
+
};
|
11533
|
+
response: OpenFin_2.Manifest;
|
11534
|
+
};
|
11535
|
+
'get-parent-application': ApplicationIdentityCall<{}, string>;
|
11536
|
+
'get-shortcuts': ApplicationIdentityCall<{}, OpenFin_2.ShortCutConfig>;
|
11537
|
+
'application-get-views': ApplicationIdentityCall<{}, OpenFin_2.Identity[]>;
|
11538
|
+
'get-application-zoom-level': ApplicationIdentityCall<{}, number>;
|
11539
|
+
'application-get-window': ApplicationIdentityCall<{}, void>;
|
11540
|
+
'register-user': ApplicationIdentityCall<{
|
11541
|
+
userName: string;
|
11542
|
+
appName: string;
|
11543
|
+
}, void>;
|
11544
|
+
'remove-tray-icon': ApplicationIdentityCall<{}, void>;
|
11545
|
+
'restart-application': ApplicationIdentityCall<{}, void>;
|
11546
|
+
'application-run': ApplicationIdentityCall<{}, void>;
|
11547
|
+
'run-application': ApplicationIdentityCall<{
|
11548
|
+
manifestUrl?: string | undefined;
|
11549
|
+
opts?: OpenFin_2.RvmLaunchOptions;
|
11550
|
+
}, void>;
|
11551
|
+
'relaunch-on-close': ApplicationIdentityCall<{}, void>;
|
11552
|
+
'send-application-log': ApplicationIdentityCall<{}, OpenFin_2.SendApplicationLogResponse>;
|
11553
|
+
'set-jump-list': ApplicationIdentityCall<{
|
11554
|
+
config: OpenFin_2.JumpListCategory[] | null;
|
11555
|
+
}, void>;
|
11556
|
+
'set-tray-icon': ApplicationIdentityCall<{
|
11557
|
+
enabledIcon: string;
|
11558
|
+
}, void>;
|
11559
|
+
'set-shortcuts': ApplicationIdentityCall<{
|
11560
|
+
data: OpenFin_2.ShortCutConfig;
|
11561
|
+
}, void>;
|
11562
|
+
'set-shortcut-query-args': ApplicationIdentityCall<{
|
11563
|
+
data: string;
|
11564
|
+
}, void>;
|
11565
|
+
'set-application-zoom-level': ApplicationIdentityCall<{
|
11566
|
+
level: number;
|
11567
|
+
}, void>;
|
11568
|
+
'set-app-log-username': ApplicationIdentityCall<{
|
11569
|
+
data: string;
|
11570
|
+
}, void>;
|
11571
|
+
'get-tray-icon-info': ApplicationIdentityCall<{}, OpenFin_2.TrayInfo>;
|
11572
|
+
'has-tray-icon': ApplicationIdentityCall<{}, boolean>;
|
11573
|
+
'terminate-application': ApplicationIdentityCall<{}, void>;
|
11574
|
+
'wait-for-hung-application': ApplicationIdentityCall<{}, void>;
|
11575
|
+
'get-info': ApplicationIdentityCall<{}, OpenFin_2.ApplicationInfo>;
|
11576
|
+
'application-get-process-info': ApplicationIdentityCall<{}, OpenFin_2.AppProcessInfo>;
|
11577
|
+
'set-file-download-location': {
|
11578
|
+
request: OpenFin_2.Identity & {
|
11579
|
+
downloadLocation: string;
|
11580
|
+
};
|
11581
|
+
response: void;
|
11582
|
+
};
|
11583
|
+
'get-file-download-location': ApplicationIdentityCall<{}, string>;
|
11584
|
+
'show-tray-icon-popup-menu': {
|
11585
|
+
request: OpenFin_2.Identity & {
|
11586
|
+
options: OpenFin_2.ShowTrayIconPopupMenuOptions;
|
11587
|
+
};
|
11588
|
+
response: OpenFin_2.MenuResult;
|
11589
|
+
};
|
11590
|
+
'close-tray-icon-popup-menu': IdentityCall<{}, void>;
|
11591
|
+
'wrap-application': VoidCall;
|
11592
|
+
'wrap-application-sync': VoidCall;
|
11593
|
+
'create-application': ApiCall<OpenFin_2.ApplicationCreationOptions, void>;
|
11594
|
+
'application-create': VoidCall;
|
11595
|
+
'start-application': VoidCall;
|
11596
|
+
'run-applications': ApiCall<{
|
11597
|
+
applications: Array<OpenFin_2.ManifestInfo>;
|
11598
|
+
opts?: OpenFin_2.RvmLaunchOptions;
|
11599
|
+
}, void>;
|
11600
|
+
'get-current-application': VoidCall;
|
11601
|
+
'get-current-application-sync': VoidCall;
|
11602
|
+
'application-start-from-manifest': VoidCall;
|
11603
|
+
'application-create-from-manifest': VoidCall;
|
11508
11604
|
'request-external-authorization': {
|
11509
11605
|
request: any;
|
11510
11606
|
response: void;
|
11511
11607
|
specialResponse: AuthorizationPayload;
|
11512
11608
|
};
|
11513
|
-
'
|
11514
|
-
request:
|
11515
|
-
response: OpenFin_2.Identity[];
|
11516
|
-
};
|
11517
|
-
'set-jump-list': {
|
11518
|
-
request: {
|
11519
|
-
config: OpenFin_2.JumpListCategory[] | null;
|
11520
|
-
} & OpenFin_2.ApplicationIdentity;
|
11609
|
+
'request-authorization': {
|
11610
|
+
request: ExistingConnectConfig | RemoteConfig | ReceiverConfig;
|
11521
11611
|
response: void;
|
11612
|
+
specialResponse: Payload;
|
11522
11613
|
};
|
11523
11614
|
'clipboard-read-formats': {
|
11524
11615
|
request: {
|
@@ -11530,6 +11621,24 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
11530
11621
|
request: OpenFin_2.ReadImageClipboardRequest;
|
11531
11622
|
response: string;
|
11532
11623
|
};
|
11624
|
+
'clipboard-read-text': {
|
11625
|
+
request: {
|
11626
|
+
type?: OpenFin_2.ClipboardSelectionType;
|
11627
|
+
};
|
11628
|
+
response: string;
|
11629
|
+
};
|
11630
|
+
'clipboard-read-html': {
|
11631
|
+
request: {
|
11632
|
+
type?: OpenFin_2.ClipboardSelectionType;
|
11633
|
+
};
|
11634
|
+
response: string;
|
11635
|
+
};
|
11636
|
+
'clipboard-read-rtf': {
|
11637
|
+
request: {
|
11638
|
+
type?: OpenFin_2.ClipboardSelectionType;
|
11639
|
+
};
|
11640
|
+
response: string;
|
11641
|
+
};
|
11533
11642
|
'clipboard-write-image': {
|
11534
11643
|
request: OpenFin_2.WriteImageClipboardRequest;
|
11535
11644
|
response: void;
|
@@ -11538,6 +11647,18 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
11538
11647
|
request: OpenFin_2.WriteAnyRequestType;
|
11539
11648
|
response: void;
|
11540
11649
|
};
|
11650
|
+
'clipboard-write-text': {
|
11651
|
+
request: OpenFin_2.WriteClipboardRequest;
|
11652
|
+
response: void;
|
11653
|
+
};
|
11654
|
+
'clipboard-write-html': {
|
11655
|
+
request: OpenFin_2.WriteClipboardRequest;
|
11656
|
+
response: void;
|
11657
|
+
};
|
11658
|
+
'clipboard-write-rtf': {
|
11659
|
+
request: OpenFin_2.WriteClipboardRequest;
|
11660
|
+
response: void;
|
11661
|
+
};
|
11541
11662
|
'get-view-window': IdentityCall<{}, OpenFin_2.Identity>;
|
11542
11663
|
'create-view': IdentityCall<OpenFin_2.ViewCreationOptions & {
|
11543
11664
|
uuid: string;
|
@@ -11563,13 +11684,85 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
11563
11684
|
options: OpenFin_2.UpdatableViewOptions;
|
11564
11685
|
}>;
|
11565
11686
|
'trigger-before-unload': IdentityCall<{}, boolean>;
|
11687
|
+
'view-wrap-sync': VoidCall;
|
11688
|
+
'view-wrap': VoidCall;
|
11689
|
+
'view-get-current': VoidCall;
|
11690
|
+
'view-get-current-sync': VoidCall;
|
11691
|
+
'animate-window': IdentityCall<{
|
11692
|
+
transitions: OpenFin_2.Transition;
|
11693
|
+
options: OpenFin_2.TransitionOptions;
|
11694
|
+
}>;
|
11695
|
+
'get-all-frames': IdentityCall<{}, OpenFin_2.FrameInfo[]>;
|
11696
|
+
'get-window-bounds': IdentityCall<{}, OpenFin_2.WindowBounds>;
|
11697
|
+
'center-window': IdentityCall;
|
11698
|
+
'blur-window': IdentityCall;
|
11699
|
+
'bring-window-to-front': IdentityCall;
|
11700
|
+
'hide-window': IdentityCall;
|
11701
|
+
'close-window': IdentityCall<{
|
11702
|
+
force: boolean;
|
11703
|
+
}>;
|
11704
|
+
'focused-webview-changed': IdentityCall;
|
11705
|
+
'get-window-native-id': IdentityCall<{}, string>;
|
11566
11706
|
'window-get-views': IdentityCall<{}, OpenFin_2.Identity[]>;
|
11567
|
-
'
|
11707
|
+
'disable-window-frame': IdentityCall;
|
11708
|
+
'enable-window-frame': IdentityCall;
|
11709
|
+
'flash-window': IdentityCall;
|
11710
|
+
'stop-flash-window': IdentityCall;
|
11711
|
+
'get-window-info': IdentityCall<{}, OpenFin_2.WindowInfo>;
|
11712
|
+
'get-window-options': IdentityCall<{}, OpenFin_2.WindowOptions>;
|
11713
|
+
'get-window-snapshot': IdentityCall<{
|
11714
|
+
area?: OpenFin_2.Rectangle;
|
11715
|
+
}, string>;
|
11716
|
+
'get-window-state': IdentityCall<{}, 'minimized' | 'maximized' | 'normal'>;
|
11717
|
+
'is-window-showing': IdentityCall<{}, boolean>;
|
11718
|
+
'maximize-window': IdentityCall;
|
11719
|
+
'minimize-window': IdentityCall;
|
11720
|
+
'move-window-by': IdentityCall<WithPositioningOptions<{
|
11721
|
+
deltaLeft: number;
|
11722
|
+
deltaTop: number;
|
11723
|
+
}>>;
|
11724
|
+
'move-window': IdentityCall<WithPositioningOptions<{
|
11725
|
+
left: number;
|
11726
|
+
top: number;
|
11727
|
+
}>>;
|
11728
|
+
'resize-window-by': IdentityCall<WithPositioningOptions<{
|
11729
|
+
deltaWidth: number;
|
11730
|
+
deltaHeight: number;
|
11731
|
+
anchor: OpenFin_2.AnchorType;
|
11732
|
+
}>>;
|
11733
|
+
'resize-window': IdentityCall<WithPositioningOptions<{
|
11734
|
+
width: number;
|
11735
|
+
height: number;
|
11736
|
+
anchor: OpenFin_2.AnchorType;
|
11737
|
+
}>>;
|
11738
|
+
'restore-window': IdentityCall;
|
11739
|
+
'set-foreground-window': IdentityCall;
|
11740
|
+
'set-window-bounds': IdentityCall<WithPositioningOptions<Partial<OpenFin_2.Bounds>>>;
|
11741
|
+
'show-window': IdentityCall<{
|
11742
|
+
force: boolean;
|
11743
|
+
}>;
|
11744
|
+
'show-at-window': IdentityCall<{
|
11745
|
+
left: number;
|
11746
|
+
top: number;
|
11747
|
+
force: boolean;
|
11748
|
+
}>;
|
11749
|
+
'update-window-options': IdentityCall<{
|
11750
|
+
options: OpenFin_2.UpdatableWindowOptions;
|
11751
|
+
}>;
|
11752
|
+
'window-authenticate': IdentityCall<{
|
11753
|
+
userName: string;
|
11754
|
+
password: string;
|
11755
|
+
}>;
|
11756
|
+
'show-popup-menu': {
|
11568
11757
|
request: OpenFin_2.Identity & {
|
11569
|
-
options: OpenFin_2.
|
11758
|
+
options: OpenFin_2.ShowPopupMenuOptions;
|
11570
11759
|
};
|
11571
|
-
response:
|
11760
|
+
response: OpenFin_2.MenuResult;
|
11572
11761
|
};
|
11762
|
+
'close-popup-menu': IdentityCall;
|
11763
|
+
'dispatch-popup-result': IdentityCall<{
|
11764
|
+
data: any;
|
11765
|
+
}>;
|
11573
11766
|
'print-screenshot': {
|
11574
11767
|
request: OpenFin_2.Identity;
|
11575
11768
|
response: void;
|
@@ -11580,6 +11773,229 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
11580
11773
|
};
|
11581
11774
|
response: void;
|
11582
11775
|
};
|
11776
|
+
'window-wrap': VoidCall;
|
11777
|
+
'window-wrap-sync': VoidCall;
|
11778
|
+
'create-window': VoidCall;
|
11779
|
+
'get-current-window': VoidCall;
|
11780
|
+
'get-current-window-sync': VoidCall;
|
11781
|
+
'get-external-application-info': ApiCall<OpenFin_2.ApplicationIdentity, OpenFin_2.ExternalApplicationInfo>;
|
11782
|
+
'external-application-wrap': VoidCall;
|
11783
|
+
'external-application-wrap-sync': VoidCall;
|
11784
|
+
'get-frame-info': ApiCall<OpenFin_2.Identity, OpenFin_2.FrameInfo>;
|
11785
|
+
'get-parent-window': ApiCall<OpenFin_2.Identity, OpenFin_2.FrameInfo>;
|
11786
|
+
'frame-wrap': VoidCall;
|
11787
|
+
'frame-wrap-sync': VoidCall;
|
11788
|
+
'frame-get-current': VoidCall;
|
11789
|
+
'frame-get-current-sync': VoidCall;
|
11790
|
+
'global-hotkey-register': {
|
11791
|
+
request: {
|
11792
|
+
hotkey: string;
|
11793
|
+
};
|
11794
|
+
response: void;
|
11795
|
+
};
|
11796
|
+
'global-hotkey-unregister': {
|
11797
|
+
request: {
|
11798
|
+
hotkey: string;
|
11799
|
+
};
|
11800
|
+
response: void;
|
11801
|
+
};
|
11802
|
+
'global-hotkey-unregister-all': {
|
11803
|
+
request: {};
|
11804
|
+
response: void;
|
11805
|
+
};
|
11806
|
+
'global-hotkey-is-registered': {
|
11807
|
+
request: {
|
11808
|
+
hotkey: string;
|
11809
|
+
};
|
11810
|
+
response: boolean;
|
11811
|
+
};
|
11812
|
+
'publish-message': {
|
11813
|
+
request: {
|
11814
|
+
topic: string;
|
11815
|
+
message: any;
|
11816
|
+
sourceWindowName: string;
|
11817
|
+
};
|
11818
|
+
response: void;
|
11819
|
+
};
|
11820
|
+
'send-message': {
|
11821
|
+
request: {
|
11822
|
+
destinationUuid: string;
|
11823
|
+
destinationWindowName: string | undefined;
|
11824
|
+
topic: string;
|
11825
|
+
message: any;
|
11826
|
+
sourceWindowName: string;
|
11827
|
+
};
|
11828
|
+
response: void;
|
11829
|
+
};
|
11830
|
+
'subscribe': {
|
11831
|
+
request: {
|
11832
|
+
sourceUuid: string;
|
11833
|
+
sourceWindowName: string;
|
11834
|
+
topic: string;
|
11835
|
+
destinationWindowName: string;
|
11836
|
+
messageKey?: any;
|
11837
|
+
};
|
11838
|
+
response: void;
|
11839
|
+
};
|
11840
|
+
'unsubscribe': {
|
11841
|
+
request: {
|
11842
|
+
sourceUuid: string;
|
11843
|
+
sourceWindowName: string;
|
11844
|
+
topic: string;
|
11845
|
+
destinationWindowName: string;
|
11846
|
+
};
|
11847
|
+
response: void;
|
11848
|
+
};
|
11849
|
+
'get-all-channels': GetterCall<OpenFin_2.ProviderIdentity[]>;
|
11850
|
+
'connect-to-channel': {
|
11851
|
+
request: any;
|
11852
|
+
response: OpenFin_2.RoutingInfo;
|
11853
|
+
};
|
11854
|
+
'create-channel': ApiCall<{
|
11855
|
+
channelName: string;
|
11856
|
+
}, OpenFin_2.ProviderIdentity>;
|
11857
|
+
'destroy-channel': ApiCall<{
|
11858
|
+
channelName: string;
|
11859
|
+
}, void>;
|
11860
|
+
'disconnect-from-channel': {
|
11861
|
+
request: {
|
11862
|
+
channelName: string;
|
11863
|
+
uuid: string;
|
11864
|
+
name: string;
|
11865
|
+
endpointId: string;
|
11866
|
+
};
|
11867
|
+
response: void;
|
11868
|
+
};
|
11869
|
+
'send-channel-message': {
|
11870
|
+
request: any;
|
11871
|
+
response: any;
|
11872
|
+
};
|
11873
|
+
'get-version': GetterCall<string>;
|
11874
|
+
'clear-cache': ApiCall<OpenFin_2.ClearCacheOption, void>;
|
11875
|
+
'delete-cache-request': VoidCall;
|
11876
|
+
'exit-desktop': VoidCall;
|
11877
|
+
'fetch-manifest': ApiCall<{
|
11878
|
+
manifestUrl: string;
|
11879
|
+
}, any>;
|
11880
|
+
'flush-cookie-store': VoidCall;
|
11881
|
+
'get-all-windows': GetterCall<OpenFin_2.ApplicationWindowInfo[]>;
|
11882
|
+
'get-all-applications': GetterCall<OpenFin_2.ApplicationState[]>;
|
11883
|
+
'get-command-line-arguments': GetterCall<string>;
|
11884
|
+
'get-crash-reporter-state': GetterCall<OpenFin_2.CrashReporterState>;
|
11885
|
+
'start-crash-reporter': {
|
11886
|
+
request: OpenFin_2.CrashReporterOptions | {
|
11887
|
+
diagnosticMode: boolean;
|
11888
|
+
};
|
11889
|
+
response: OpenFin_2.CrashReporterState;
|
11890
|
+
};
|
11891
|
+
'get-unique-user-id': GetterCall<string>;
|
11892
|
+
'get-entity-info': {
|
11893
|
+
request: {
|
11894
|
+
uuid: string;
|
11895
|
+
name: string;
|
11896
|
+
};
|
11897
|
+
response: OpenFin_2.EntityInfo;
|
11898
|
+
};
|
11899
|
+
'get-environment-variable': {
|
11900
|
+
request: {
|
11901
|
+
environmentVariables: string;
|
11902
|
+
};
|
11903
|
+
response: string;
|
11904
|
+
};
|
11905
|
+
'get-focused-window': GetterCall<OpenFin_2.Identity | null>;
|
11906
|
+
'is-app-certified': {
|
11907
|
+
request: {
|
11908
|
+
manifestUrl: string;
|
11909
|
+
};
|
11910
|
+
response: {
|
11911
|
+
action: string;
|
11912
|
+
certifiedInfo: OpenFin_2.CertifiedAppInfo;
|
11913
|
+
};
|
11914
|
+
};
|
11915
|
+
'get-installed-runtimes': GetterCall<{
|
11916
|
+
action: string;
|
11917
|
+
runtimes: string[];
|
11918
|
+
}>;
|
11919
|
+
'get-installed-apps': GetterCall<OpenFin_2.InstalledApps>;
|
11920
|
+
'view-log': ApiCall<OpenFin_2.GetLogRequestType, string>;
|
11921
|
+
'get-machine-id': GetterCall<string>;
|
11922
|
+
'get-min-log-level': GetterCall<OpenFin_2.LogLevel>;
|
11923
|
+
'list-logs': GetterCall<OpenFin_2.LogInfo[]>;
|
11924
|
+
'get-monitor-info': GetterCall<OpenFin_2.MonitorInfo>;
|
11925
|
+
'get-mouse-position': GetterCall<OpenFin_2.PointTopLeft>;
|
11926
|
+
'process-snapshot': GetterCall<Array<any>>;
|
11927
|
+
'get-all-process-info': ApiCall<OpenFin_2.ApplicationIdentity, OpenFin_2.SystemProcessInfo>;
|
11928
|
+
'get-proxy-settings': GetterCall<OpenFin_2.ProxyInfo>;
|
11929
|
+
'get-runtime-info': GetterCall<OpenFin_2.RuntimeInfo>;
|
11930
|
+
'get-rvm-info': GetterCall<OpenFin_2.RVMInfo>;
|
11931
|
+
'get-host-specs': GetterCall<OpenFin_2.HostSpecs>;
|
11932
|
+
'get-os-info': GetterCall<OpenFin_2.OSInfo>;
|
11933
|
+
'launch-external-process': ApiCall<OpenFin_2.ExternalProcessRequestType, OpenFin_2.Identity>;
|
11934
|
+
'monitor-external-process': ApiCall<OpenFin_2.ExternalProcessInfo, OpenFin_2.Identity>;
|
11935
|
+
'write-to-log': ApiCall<{
|
11936
|
+
level: string;
|
11937
|
+
message: string;
|
11938
|
+
}, void>;
|
11939
|
+
'open-url-with-browser': ApiCall<{
|
11940
|
+
url: string;
|
11941
|
+
}, void>;
|
11942
|
+
'register-custom-protocol': ApiCall<OpenFin_2.CustomProtocolOptions, void>;
|
11943
|
+
'unregister-custom-protocol': ApiCall<{
|
11944
|
+
protocolName: string;
|
11945
|
+
}, void>;
|
11946
|
+
'get-custom-protocol-state': ApiCall<{
|
11947
|
+
protocolName: string;
|
11948
|
+
}, OpenFin_2.CustomProtocolState>;
|
11949
|
+
'release-external-process': ApiCall<{
|
11950
|
+
uuid: string;
|
11951
|
+
}, void>;
|
11952
|
+
'show-developer-tools': ApiCall<OpenFin_2.Identity, void>;
|
11953
|
+
'terminate-external-process': ApiCall<OpenFin_2.TerminateExternalRequestType, void>;
|
11954
|
+
'update-proxy': ApiCall<OpenFin_2.ProxyConfig, void>;
|
11955
|
+
'download-asset': {
|
11956
|
+
request: OpenFin_2.AppAssetInfo & {
|
11957
|
+
downloadId: string;
|
11958
|
+
};
|
11959
|
+
response: void;
|
11960
|
+
};
|
11961
|
+
'download-runtime': {
|
11962
|
+
request: OpenFin_2.RuntimeDownloadOptions & {
|
11963
|
+
downloadId: string;
|
11964
|
+
};
|
11965
|
+
response: void;
|
11966
|
+
};
|
11967
|
+
'download-preload-scripts': ApiCall<{
|
11968
|
+
scripts: Array<OpenFin_2.DownloadPreloadOption>;
|
11969
|
+
}, Array<OpenFin_2.DownloadPreloadInfo>>;
|
11970
|
+
'get-all-external-applications': ApiCall<void, Array<OpenFin_2.Identity>>;
|
11971
|
+
'get-app-asset-info': ApiCall<OpenFin_2.AppAssetRequest, OpenFin_2.AppAssetInfo>;
|
11972
|
+
'get-cookies': {
|
11973
|
+
request: OpenFin_2.CookieOption & {
|
11974
|
+
url: string;
|
11975
|
+
};
|
11976
|
+
response: Array<OpenFin_2.CookieInfo>;
|
11977
|
+
};
|
11978
|
+
'set-min-log-level': ApiCall<{
|
11979
|
+
level: OpenFin_2.LogLevel;
|
11980
|
+
}, void>;
|
11981
|
+
'resolve-uuid': ApiCall<{
|
11982
|
+
entityKey: string;
|
11983
|
+
}, OpenFin_2.ApplicationType>;
|
11984
|
+
'read-registry-value': ApiCall<{
|
11985
|
+
rootKey: string;
|
11986
|
+
subkey: string;
|
11987
|
+
value: string;
|
11988
|
+
}, OpenFin_2.RegistryInfo>;
|
11989
|
+
'register-external-connection': ApiCall<{
|
11990
|
+
uuid: string;
|
11991
|
+
}, OpenFin_2.ExternalConnection>;
|
11992
|
+
'get-service-configuration': ApiCall<{
|
11993
|
+
name: string;
|
11994
|
+
}, OpenFin_2.ServiceConfiguration>;
|
11995
|
+
'get-system-app-configuration': ApiCall<{
|
11996
|
+
name: string;
|
11997
|
+
}, any>;
|
11998
|
+
'run-rvm-health-check': ApiCall<void, string[]>;
|
11583
11999
|
'launch-manifest': {
|
11584
12000
|
request: {
|
11585
12001
|
manifestUrl: string;
|
@@ -11591,17 +12007,12 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
11591
12007
|
manifest: OpenFin_2.Manifest;
|
11592
12008
|
};
|
11593
12009
|
};
|
11594
|
-
'
|
12010
|
+
'query-permission-for-current-context': {
|
11595
12011
|
request: {
|
11596
|
-
|
11597
|
-
|
11598
|
-
response: any;
|
11599
|
-
};
|
11600
|
-
'show-popup-menu': {
|
11601
|
-
request: OpenFin_2.Identity & {
|
11602
|
-
options: OpenFin_2.ShowPopupMenuOptions;
|
12012
|
+
apiName: string;
|
12013
|
+
identity: OpenFin_2.Identity;
|
11603
12014
|
};
|
11604
|
-
response: OpenFin_2.
|
12015
|
+
response: OpenFin_2.QueryPermissionResult;
|
11605
12016
|
};
|
11606
12017
|
'enable-native-window-integration-provider': {
|
11607
12018
|
request: {
|
@@ -11609,24 +12020,34 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
11609
12020
|
};
|
11610
12021
|
response: OpenFin_2.NativeWindowIntegrationProviderAuthorization;
|
11611
12022
|
};
|
12023
|
+
'register-usage': ApiCall<OpenFin_2.RegisterUsageData, void>;
|
12024
|
+
'system-get-printers': GetterCall<OpenFin_2.PrinterInfo[]>;
|
12025
|
+
'system-update-process-logging-options': ApiCall<{
|
12026
|
+
options: OpenFin_2.ProcessLoggingOptions;
|
12027
|
+
}, void>;
|
12028
|
+
'get-domain-settings': ApiCall<OpenFin_2.ApplicationIdentity, OpenFin_2.DefaultDomainSettings>;
|
12029
|
+
'set-domain-settings': ApiCall<OpenFin_2.ApplicationIdentity & {
|
12030
|
+
domainSettings: OpenFin_2.DefaultDomainSettings;
|
12031
|
+
}, void>;
|
12032
|
+
'system-register-shutdown-handler': VoidCall;
|
11612
12033
|
'get-permissions': GetterCall<any>;
|
11613
|
-
'get-all-channels': GetterCall<OpenFin_2.ProviderIdentity[]>;
|
11614
|
-
'set-file-download-location': {
|
11615
|
-
request: OpenFin_2.Identity & {
|
11616
|
-
downloadLocation: string;
|
11617
|
-
};
|
11618
|
-
response: void;
|
11619
|
-
};
|
11620
|
-
'get-file-download-location': {
|
11621
|
-
request: OpenFin_2.ApplicationIdentity;
|
11622
|
-
response: string;
|
11623
|
-
};
|
11624
|
-
'close-popup-menu': IdentityCall;
|
11625
12034
|
'fdc3-add-context-listener': VoidCall;
|
12035
|
+
'fdc3-add-intent-listener': VoidCall;
|
12036
|
+
'fdc3-raise-intent': VoidCall;
|
12037
|
+
'fdc3-find-intent': VoidCall;
|
12038
|
+
'fdc3-find-intents-by-context': VoidCall;
|
12039
|
+
'fdc3-raise-intent-for-context': VoidCall;
|
12040
|
+
'fdc3-get-info': VoidCall;
|
12041
|
+
'fdc3-find-instances': VoidCall;
|
12042
|
+
'fdc3-get-app-metadata': VoidCall;
|
11626
12043
|
'fdc3-broadcast': VoidCall;
|
12044
|
+
'fdc3-open': VoidCall;
|
12045
|
+
'fdc3-get-or-create-channel': VoidCall;
|
11627
12046
|
'fdc3-get-system-channels': VoidCall;
|
11628
12047
|
'fdc3-join-channel': VoidCall;
|
12048
|
+
'fdc3-get-current-channel': VoidCall;
|
11629
12049
|
'fdc3-leave-current-channel': VoidCall;
|
12050
|
+
'interop-init': VoidCall;
|
11630
12051
|
'interop-connect-sync': VoidCall;
|
11631
12052
|
'interop-client-set-context': VoidCall;
|
11632
12053
|
'interop-client-add-context-handler': VoidCall;
|
@@ -11635,6 +12056,13 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
11635
12056
|
'interop-client-remove-from-context-group': VoidCall;
|
11636
12057
|
'interop-client-get-all-clients-in-context-group': VoidCall;
|
11637
12058
|
'interop-client-get-info-for-context-group': VoidCall;
|
12059
|
+
'interop-client-fire-intent': VoidCall;
|
12060
|
+
'interop-client-register-intent-handler': VoidCall;
|
12061
|
+
'interop-client-get-current-context': VoidCall;
|
12062
|
+
'interop-client-get-info-for-intent': VoidCall;
|
12063
|
+
'interop-client-get-info-for-intents-by-context': VoidCall;
|
12064
|
+
'interop-client-fire-intent-for-context': VoidCall;
|
12065
|
+
'interop-client-add-ondisconnection-listener': VoidCall;
|
11638
12066
|
'interop-broker-add-client-to-context-group': VoidCall;
|
11639
12067
|
'interop-broker-get-all-clients-in-context-group': VoidCall;
|
11640
12068
|
'interop-broker-get-context-groups': VoidCall;
|
@@ -11646,13 +12074,100 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
11646
12074
|
'interop-broker-remove-from-context-group': VoidCall;
|
11647
12075
|
'interop-broker-set-context': VoidCall;
|
11648
12076
|
'interop-broker-set-context-for-group': VoidCall;
|
11649
|
-
'
|
11650
|
-
|
11651
|
-
|
11652
|
-
|
11653
|
-
|
11654
|
-
|
11655
|
-
|
12077
|
+
'interop-broker-get-current-context': VoidCall;
|
12078
|
+
'interop-broker-set-intent-target': VoidCall;
|
12079
|
+
'interop-session-context-group-set-context': VoidCall;
|
12080
|
+
'interop-session-context-group-get-context': VoidCall;
|
12081
|
+
'interop-session-context-group-add-handler': VoidCall;
|
12082
|
+
'platform-wrap': VoidCall;
|
12083
|
+
'platform-wrap-sync': VoidCall;
|
12084
|
+
'platform-get-current': VoidCall;
|
12085
|
+
'platform-get-current-sync': VoidCall;
|
12086
|
+
'platform-start': VoidCall;
|
12087
|
+
'platform-start-from-manifest': VoidCall;
|
12088
|
+
'platform-get-client': ApplicationIdentityCall<{}, void>;
|
12089
|
+
'platform-create-view': ApplicationIdentityCall<{}, void>;
|
12090
|
+
'platform-create-window': ApplicationIdentityCall<{}, void>;
|
12091
|
+
'platform-quit': ApplicationIdentityCall<{}, void>;
|
12092
|
+
'platform-close-view': ApplicationIdentityCall<{}, void>;
|
12093
|
+
'platform-reparent-view': ApplicationIdentityCall<{}, void>;
|
12094
|
+
'platform-get-snapshot': ApplicationIdentityCall<{}, void>;
|
12095
|
+
'platform-apply-snapshot': ApplicationIdentityCall<{}, void>;
|
12096
|
+
'platform-launch-content-manifest': ApplicationIdentityCall<{}, void>;
|
12097
|
+
'platform-set-window-context': ApplicationIdentityCall<{}, void>;
|
12098
|
+
'platform-get-window-context': ApplicationIdentityCall<{}, void>;
|
12099
|
+
'platform-close-window': ApplicationIdentityCall<{}, void>;
|
12100
|
+
'layout-wrap': VoidCall;
|
12101
|
+
'layout-wrap-sync': VoidCall;
|
12102
|
+
'layout-get-current': VoidCall;
|
12103
|
+
'layout-get-current-sync': VoidCall;
|
12104
|
+
'layout-init': VoidCall;
|
12105
|
+
'layout-get-config': VoidCall;
|
12106
|
+
'layout-get-views': VoidCall;
|
12107
|
+
'layout-replace': VoidCall;
|
12108
|
+
'layout-get-root-item': VoidCall;
|
12109
|
+
'layout-replace-view': VoidCall;
|
12110
|
+
'layout-apply-preset': VoidCall;
|
12111
|
+
'layout-controller-get-root': VoidCall;
|
12112
|
+
'layout-controller-get-stack-by-view': VoidCall;
|
12113
|
+
'layout-controller-get-stack-views': VoidCall;
|
12114
|
+
'layout-controller-get-content': VoidCall;
|
12115
|
+
'layout-controller-get-parent': VoidCall;
|
12116
|
+
'layout-controller-is-root': VoidCall;
|
12117
|
+
'layout-controller-exists': VoidCall;
|
12118
|
+
'layout-controller-add-view-to-stack': VoidCall;
|
12119
|
+
'layout-controller-remove-view-from-stack': VoidCall;
|
12120
|
+
'layout-controller-create-adjacent-stack': VoidCall;
|
12121
|
+
'layout-controller-get-adjacent-stacks': VoidCall;
|
12122
|
+
'layout-controller-set-stack-active-view': VoidCall;
|
12123
|
+
'snapshot-source-init': VoidCall;
|
12124
|
+
'snapshot-source-wrap-sync': VoidCall;
|
12125
|
+
'snapshot-source-wrap': VoidCall;
|
12126
|
+
'snapshot-source-ready': VoidCall;
|
12127
|
+
'snapshot-source-get-snapshot': VoidCall;
|
12128
|
+
'snapshot-source-apply-snapshot': VoidCall;
|
12129
|
+
'capture-page': IdentityCall<{
|
12130
|
+
options?: OpenFin_2.CapturePageOptions;
|
12131
|
+
}, string>;
|
12132
|
+
'execute-javascript-in-window': IdentityCall<{
|
12133
|
+
code: string;
|
12134
|
+
}, unknown>;
|
12135
|
+
'get-zoom-level': IdentityCall<{}, number>;
|
12136
|
+
'set-zoom-level': IdentityCall<{
|
12137
|
+
level: number;
|
12138
|
+
}, void>;
|
12139
|
+
'navigate-window': IdentityCall<{
|
12140
|
+
url: string;
|
12141
|
+
}, void>;
|
12142
|
+
'navigate-window-back': IdentityCall<{}, void>;
|
12143
|
+
'navigate-window-forward': IdentityCall<{}, void>;
|
12144
|
+
'stop-window-navigation': IdentityCall<{}, void>;
|
12145
|
+
'reload-window': IdentityCall<{
|
12146
|
+
ignoreCache: boolean;
|
12147
|
+
}, void>;
|
12148
|
+
'print': IdentityCall<{
|
12149
|
+
options: OpenFin_2.PrintOptions;
|
12150
|
+
}, void>;
|
12151
|
+
'find-in-page': IdentityCall<{
|
12152
|
+
searchTerm: string;
|
12153
|
+
options?: OpenFin_2.FindInPageOptions;
|
12154
|
+
}, void>;
|
12155
|
+
'stop-find-in-page': IdentityCall<{
|
12156
|
+
action: 'clearSelection' | 'keepSelection' | 'activateSelection';
|
12157
|
+
}, void>;
|
12158
|
+
'get-printers': IdentityCall<{}, OpenFin_2.PrinterInfo>;
|
12159
|
+
'focus-window': IdentityCall<{
|
12160
|
+
emitSynthFocused: boolean;
|
12161
|
+
}, void>;
|
12162
|
+
'get-process-info': IdentityCall<{}, OpenFin_2.EntityProcessDetails>;
|
12163
|
+
'get-shared-workers': IdentityCall<{}, OpenFin_2.SharedWorkerInfo[]>;
|
12164
|
+
'inspect-shared-worker': IdentityCall<{}, void>;
|
12165
|
+
'inspect-shared-worker-by-id': IdentityCall<{
|
12166
|
+
workerId: string;
|
12167
|
+
}, void>;
|
12168
|
+
'inspect-service-worker': IdentityCall<{}, void>;
|
12169
|
+
'view-show-popup-window': IdentityCall<{}, void>;
|
12170
|
+
'window-show-popup-window': IdentityCall<{}, void>;
|
11656
12171
|
'try-create-popup-window': {
|
11657
12172
|
request: OpenFin_2.Identity & {
|
11658
12173
|
options: OpenFin_2.PopupOptions;
|
@@ -11668,9 +12183,6 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
11668
12183
|
};
|
11669
12184
|
response: OpenFin_2.PopupResult;
|
11670
12185
|
};
|
11671
|
-
'dispatch-popup-result': IdentityCall<{
|
11672
|
-
data: any;
|
11673
|
-
}>;
|
11674
12186
|
'render-overlay': {
|
11675
12187
|
request: {
|
11676
12188
|
bounds: OpenFin_2.Bounds;
|
@@ -11690,40 +12202,6 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
11690
12202
|
};
|
11691
12203
|
response: void;
|
11692
12204
|
};
|
11693
|
-
'get-host-specs': GetterCall<OpenFin_2.HostSpecs>;
|
11694
|
-
'get-os-info': GetterCall<OpenFin_2.OSInfo>;
|
11695
|
-
'system-get-printers': GetterCall<OpenFin_2.PrinterInfo[]>;
|
11696
|
-
'system-register-shutdown-handler': VoidCall;
|
11697
|
-
'get-domain-settings': ApiCall<OpenFin_2.ApplicationIdentity, OpenFin_2.DefaultDomainSettings>;
|
11698
|
-
'set-domain-settings': ApiCall<OpenFin_2.ApplicationIdentity & {
|
11699
|
-
domainSettings: OpenFin_2.DefaultDomainSettings;
|
11700
|
-
}, void>;
|
11701
|
-
'move-window-by': IdentityCall<WithPositioningOptions<{
|
11702
|
-
deltaLeft: number;
|
11703
|
-
deltaTop: number;
|
11704
|
-
}>>;
|
11705
|
-
'move-window': IdentityCall<WithPositioningOptions<{
|
11706
|
-
left: number;
|
11707
|
-
top: number;
|
11708
|
-
}>>;
|
11709
|
-
'resize-window-by': IdentityCall<WithPositioningOptions<{
|
11710
|
-
deltaWidth: number;
|
11711
|
-
deltaHeight: number;
|
11712
|
-
anchor: OpenFin_2.AnchorType;
|
11713
|
-
}>>;
|
11714
|
-
'resize-window': IdentityCall<WithPositioningOptions<{
|
11715
|
-
width: number;
|
11716
|
-
height: number;
|
11717
|
-
anchor: OpenFin_2.AnchorType;
|
11718
|
-
}>>;
|
11719
|
-
'set-window-bounds': IdentityCall<WithPositioningOptions<Partial<OpenFin_2.Bounds>>>;
|
11720
|
-
'register-custom-protocol': ApiCall<OpenFin_2.CustomProtocolOptions, void>;
|
11721
|
-
'unregister-custom-protocol': ApiCall<{
|
11722
|
-
protocolName: string;
|
11723
|
-
}, void>;
|
11724
|
-
'get-custom-protocol-state': ApiCall<{
|
11725
|
-
protocolName: string;
|
11726
|
-
}, OpenFin_2.CustomProtocolState>;
|
11727
12205
|
}
|
11728
12206
|
|
11729
12207
|
declare interface ProtocolMapBase {
|
@@ -11753,7 +12231,7 @@ declare type ProviderIdentity_3 = OpenFin_2.ProviderIdentity;
|
|
11753
12231
|
* Identity of a channel provider.
|
11754
12232
|
* @interface
|
11755
12233
|
*/
|
11756
|
-
declare type ProviderIdentity_4 =
|
12234
|
+
declare type ProviderIdentity_4 = Identity_4 & {
|
11757
12235
|
/**
|
11758
12236
|
* Identifier of the channel.
|
11759
12237
|
*/
|
@@ -11764,12 +12242,10 @@ declare type ProviderIdentity_4 = Identity_5 & {
|
|
11764
12242
|
channelName: string;
|
11765
12243
|
};
|
11766
12244
|
|
11767
|
-
declare type ProxyConfig = OpenFin_2.ProxyConfig;
|
11768
|
-
|
11769
12245
|
/**
|
11770
12246
|
* @interface
|
11771
12247
|
*/
|
11772
|
-
declare type
|
12248
|
+
declare type ProxyConfig = {
|
11773
12249
|
/**
|
11774
12250
|
* The configured proxy address.
|
11775
12251
|
*/
|
@@ -11781,13 +12257,11 @@ declare type ProxyConfig_2 = {
|
|
11781
12257
|
type: string;
|
11782
12258
|
};
|
11783
12259
|
|
11784
|
-
declare type ProxyInfo = OpenFin_2.ProxyInfo;
|
11785
|
-
|
11786
12260
|
/**
|
11787
12261
|
* @interface
|
11788
12262
|
*/
|
11789
|
-
declare type
|
11790
|
-
config:
|
12263
|
+
declare type ProxyInfo = {
|
12264
|
+
config: ProxyConfig;
|
11791
12265
|
system: ProxySystemInfo;
|
11792
12266
|
};
|
11793
12267
|
|
@@ -11893,12 +12367,10 @@ declare type RegisterUsageData = {
|
|
11893
12367
|
type: string;
|
11894
12368
|
};
|
11895
12369
|
|
11896
|
-
declare type RegistryInfo = OpenFin_2.RegistryInfo;
|
11897
|
-
|
11898
12370
|
/**
|
11899
12371
|
* @interface
|
11900
12372
|
*/
|
11901
|
-
declare type
|
12373
|
+
declare type RegistryInfo = {
|
11902
12374
|
data: any;
|
11903
12375
|
rootKey: string;
|
11904
12376
|
subkey: string;
|
@@ -11956,14 +12428,14 @@ declare type ReplaceLayoutPayload = {
|
|
11956
12428
|
/**
|
11957
12429
|
* Identity of the window whose layout will be replaced.
|
11958
12430
|
*/
|
11959
|
-
target:
|
12431
|
+
target: Identity_4 | LayoutIdentity;
|
11960
12432
|
};
|
11961
12433
|
|
11962
12434
|
/**
|
11963
12435
|
* @interface
|
11964
12436
|
*/
|
11965
12437
|
declare type ReplaceViewOptions = {
|
11966
|
-
viewToReplace:
|
12438
|
+
viewToReplace: Identity_4;
|
11967
12439
|
newView: ViewState;
|
11968
12440
|
};
|
11969
12441
|
|
@@ -11972,7 +12444,7 @@ declare type ReplaceViewOptions = {
|
|
11972
12444
|
*/
|
11973
12445
|
declare type ReplaceViewPayload = {
|
11974
12446
|
opts: {
|
11975
|
-
viewToReplace:
|
12447
|
+
viewToReplace: Identity_4;
|
11976
12448
|
newView: Partial<ViewOptions>;
|
11977
12449
|
};
|
11978
12450
|
target: LayoutIdentity;
|
@@ -12338,7 +12810,7 @@ declare type SetWindowContextPayload = {
|
|
12338
12810
|
/**
|
12339
12811
|
* Identity of the entity targeted by the call to {@link Platform#setWindowContext Platform.setWindowContext}.
|
12340
12812
|
*/
|
12341
|
-
target:
|
12813
|
+
target: Identity_4;
|
12342
12814
|
};
|
12343
12815
|
|
12344
12816
|
/**
|
@@ -12782,7 +13254,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
12782
13254
|
* fin.System.getAllWindows().then(wins => console.log(wins)).catch(err => console.log(err));
|
12783
13255
|
* ```
|
12784
13256
|
*/
|
12785
|
-
getAllWindows(): Promise<Array<ApplicationWindowInfo>>;
|
13257
|
+
getAllWindows(): Promise<Array<OpenFin_2.ApplicationWindowInfo>>;
|
12786
13258
|
/**
|
12787
13259
|
* Retrieves an array of data for all applications.
|
12788
13260
|
*
|
@@ -12791,7 +13263,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
12791
13263
|
* fin.System.getAllApplications().then(apps => console.log(apps)).catch(err => console.log(err));
|
12792
13264
|
* ```
|
12793
13265
|
*/
|
12794
|
-
getAllApplications(): Promise<Array<ApplicationState>>;
|
13266
|
+
getAllApplications(): Promise<Array<OpenFin_2.ApplicationState>>;
|
12795
13267
|
/**
|
12796
13268
|
* Retrieves the command line argument string that started OpenFin Runtime.
|
12797
13269
|
*
|
@@ -12866,7 +13338,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
12866
13338
|
* }
|
12867
13339
|
* ```
|
12868
13340
|
*/
|
12869
|
-
getEntityInfo(uuid: string, name: string): Promise<EntityInfo>;
|
13341
|
+
getEntityInfo(uuid: string, name: string): Promise<OpenFin_2.EntityInfo>;
|
12870
13342
|
/**
|
12871
13343
|
* Gets the value of a given environment variable on the computer on which the runtime is installed
|
12872
13344
|
*
|
@@ -12908,7 +13380,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
12908
13380
|
* ```
|
12909
13381
|
*/
|
12910
13382
|
getInstalledRuntimes(): Promise<string[]>;
|
12911
|
-
getInstalledApps(): Promise<InstalledApps>;
|
13383
|
+
getInstalledApps(): Promise<OpenFin_2.InstalledApps>;
|
12912
13384
|
/**
|
12913
13385
|
* Retrieves the contents of the log with the specified filename.
|
12914
13386
|
* @param options A object that id defined by the GetLogRequestType interface
|
@@ -12923,7 +13395,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
12923
13395
|
* getLog().then(log => console.log(log)).catch(err => console.log(err));
|
12924
13396
|
* ```
|
12925
13397
|
*/
|
12926
|
-
getLog(options: GetLogRequestType): Promise<string>;
|
13398
|
+
getLog(options: OpenFin_2.GetLogRequestType): Promise<string>;
|
12927
13399
|
/**
|
12928
13400
|
* Returns a unique identifier (UUID) provided by the machine.
|
12929
13401
|
*
|
@@ -12941,7 +13413,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
12941
13413
|
* fin.System.getMinLogLevel().then(level => console.log(level)).catch(err => console.log(err));
|
12942
13414
|
* ```
|
12943
13415
|
*/
|
12944
|
-
getMinLogLevel(): Promise<LogLevel>;
|
13416
|
+
getMinLogLevel(): Promise<OpenFin_2.LogLevel>;
|
12945
13417
|
/**
|
12946
13418
|
* Retrieves an array containing information for each log file.
|
12947
13419
|
*
|
@@ -12950,7 +13422,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
12950
13422
|
* fin.System.getLogList().then(logList => console.log(logList)).catch(err => console.log(err));
|
12951
13423
|
* ```
|
12952
13424
|
*/
|
12953
|
-
getLogList(): Promise<Array<LogInfo>>;
|
13425
|
+
getLogList(): Promise<Array<OpenFin_2.LogInfo>>;
|
12954
13426
|
/**
|
12955
13427
|
* Retrieves an object that contains data about the monitor setup of the
|
12956
13428
|
* computer that the runtime is running on.
|
@@ -13021,7 +13493,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
13021
13493
|
* }
|
13022
13494
|
* ```
|
13023
13495
|
*/
|
13024
|
-
getProxySettings(): Promise<ProxyInfo>;
|
13496
|
+
getProxySettings(): Promise<OpenFin_2.ProxyInfo>;
|
13025
13497
|
/**
|
13026
13498
|
* Returns information about the running Runtime in an object.
|
13027
13499
|
*
|
@@ -13388,7 +13860,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
13388
13860
|
* }
|
13389
13861
|
* ```
|
13390
13862
|
*/
|
13391
|
-
launchExternalProcess(options: OpenFin_2.ExternalProcessRequestType): Promise<
|
13863
|
+
launchExternalProcess(options: OpenFin_2.ExternalProcessRequestType): Promise<Identity>;
|
13392
13864
|
/**
|
13393
13865
|
* Monitors a running process. A pid for the process must be included in options.
|
13394
13866
|
* <br> A uuid may be optionally provided. If not provided, OpenFin will create a uuid for the new process.
|
@@ -13405,7 +13877,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
13405
13877
|
* }).then(processIdentity => console.log(processIdentity)).catch(err => console.log(err));
|
13406
13878
|
* ```
|
13407
13879
|
*/
|
13408
|
-
monitorExternalProcess(options: OpenFin_2.ExternalProcessInfo): Promise<
|
13880
|
+
monitorExternalProcess(options: OpenFin_2.ExternalProcessInfo): Promise<Identity>;
|
13409
13881
|
/**
|
13410
13882
|
* Writes the passed message into both the log file and the console.
|
13411
13883
|
* @param level The log level for the entry. Can be either "info", "warning" or "error"
|
@@ -13539,7 +14011,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
13539
14011
|
*
|
13540
14012
|
* @tutorial System.showDeveloperTools
|
13541
14013
|
*/
|
13542
|
-
showDeveloperTools(identity:
|
14014
|
+
showDeveloperTools(identity: Identity): Promise<void>;
|
13543
14015
|
/**
|
13544
14016
|
* Attempt to close an external process. The process will be terminated if it
|
13545
14017
|
* has not closed after the elapsed timeout in milliseconds.
|
@@ -13573,7 +14045,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
13573
14045
|
* .catch(err => console.error(err));
|
13574
14046
|
* ```
|
13575
14047
|
*/
|
13576
|
-
updateProxySettings(options: ProxyConfig): Promise<void>;
|
14048
|
+
updateProxySettings(options: OpenFin_2.ProxyConfig): Promise<void>;
|
13577
14049
|
/**
|
13578
14050
|
* Downloads the given application asset.
|
13579
14051
|
*
|
@@ -13665,7 +14137,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
13665
14137
|
* .catch(err => console.log(err));
|
13666
14138
|
* ```
|
13667
14139
|
*/
|
13668
|
-
getAllExternalApplications(): Promise<Array<
|
14140
|
+
getAllExternalApplications(): Promise<Array<Identity>>;
|
13669
14141
|
/**
|
13670
14142
|
* Retrieves app asset information.
|
13671
14143
|
* @param options
|
@@ -13694,7 +14166,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
13694
14166
|
* fin.System.setMinLogLevel("verbose").then(() => console.log("log level is set to verbose")).catch(err => console.log(err));
|
13695
14167
|
* ```
|
13696
14168
|
*/
|
13697
|
-
setMinLogLevel(level: LogLevel): Promise<void>;
|
14169
|
+
setMinLogLevel(level: OpenFin_2.LogLevel): Promise<void>;
|
13698
14170
|
/**
|
13699
14171
|
* Retrieves the UUID of the computer on which the runtime is installed
|
13700
14172
|
* @param uuid The uuid of the running application
|
@@ -13704,7 +14176,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
13704
14176
|
* fin.System.resolveUuid('OpenfinPOC').then(entity => console.log(entity)).catch(err => console.log(err));
|
13705
14177
|
* ```
|
13706
14178
|
*/
|
13707
|
-
resolveUuid(uuid: string): Promise<
|
14179
|
+
resolveUuid(uuid: string): Promise<OpenFin_2.ApplicationType>;
|
13708
14180
|
/**
|
13709
14181
|
* Retrieves an array of data for all external applications
|
13710
14182
|
* @param requestingIdentity This object is described in the Identity typedef
|
@@ -13712,7 +14184,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
13712
14184
|
*
|
13713
14185
|
* @ignore
|
13714
14186
|
*/
|
13715
|
-
executeOnRemote(requestingIdentity:
|
14187
|
+
executeOnRemote(requestingIdentity: Identity, data: any): Promise<any>;
|
13716
14188
|
/**
|
13717
14189
|
* Reads the specifed value from the registry.
|
13718
14190
|
* @remarks This method is restricted by default and must be enabled via
|
@@ -13805,7 +14277,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
13805
14277
|
* }
|
13806
14278
|
* ```
|
13807
14279
|
*/
|
13808
|
-
readRegistryValue(rootKey: string, subkey: string, value: string): Promise<RegistryInfo>;
|
14280
|
+
readRegistryValue(rootKey: string, subkey: string, value: string): Promise<OpenFin_2.RegistryInfo>;
|
13809
14281
|
/**
|
13810
14282
|
* This function call will register a unique id and produce a token.
|
13811
14283
|
* The token can be used to broker an external connection.
|
@@ -14020,7 +14492,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
14020
14492
|
* });
|
14021
14493
|
* ```
|
14022
14494
|
*/
|
14023
|
-
getPrinters(): Promise<PrinterInfo[]>;
|
14495
|
+
getPrinters(): Promise<OpenFin_2.PrinterInfo[]>;
|
14024
14496
|
/**
|
14025
14497
|
* Updates Process Logging values: periodic interval and outlier detection entries and interval.
|
14026
14498
|
* @param options Process Logging updatable options.
|
@@ -14639,14 +15111,11 @@ declare type UrlChangedEvent = BaseUrlEvent & ({
|
|
14639
15111
|
declare type UserAppConfigArgs = Record<string, string | string[]>;
|
14640
15112
|
|
14641
15113
|
/**
|
14642
|
-
*
|
15114
|
+
* An event that fires when a window's bounds are changed directly by the user.
|
15115
|
+
*
|
14643
15116
|
* @interface
|
14644
15117
|
*/
|
14645
|
-
declare type UserBoundsChangeEvent =
|
14646
|
-
height: number;
|
14647
|
-
left: number;
|
14648
|
-
top: number;
|
14649
|
-
width: number;
|
15118
|
+
declare type UserBoundsChangeEvent = BoundsEvent & {
|
14650
15119
|
windowState: 'minimized' | 'normal' | 'maximized';
|
14651
15120
|
};
|
14652
15121
|
|
@@ -14975,7 +15444,7 @@ declare class View_2 extends WebContents<OpenFin_2.ViewEvent> {
|
|
14975
15444
|
*/
|
14976
15445
|
getInfo: () => Promise<OpenFin_2.ViewInfo>;
|
14977
15446
|
/**
|
14978
|
-
* Retrieves the
|
15447
|
+
* Retrieves the OpenFin.Layout instance for the Window the View is attached to.
|
14979
15448
|
*
|
14980
15449
|
* @example
|
14981
15450
|
* ```js
|
@@ -15149,7 +15618,7 @@ declare type ViewContentCreationRule = BaseContentCreationRule & {
|
|
15149
15618
|
declare type ViewCreationOptions = Partial<ViewOptions> & {
|
15150
15619
|
name: string;
|
15151
15620
|
url: string;
|
15152
|
-
target:
|
15621
|
+
target: Identity_4;
|
15153
15622
|
};
|
15154
15623
|
|
15155
15624
|
declare type ViewCreationOrReference = OpenFin_2.Identity | OpenFin_2.PlatformViewCreationOptions;
|
@@ -15335,15 +15804,15 @@ declare interface ViewsPreventingUnloadPayload {
|
|
15335
15804
|
/**
|
15336
15805
|
* Identity of the Window.
|
15337
15806
|
*/
|
15338
|
-
windowId:
|
15807
|
+
windowId: Identity_4;
|
15339
15808
|
/**
|
15340
15809
|
* Identities of the Views that are preventing an unload
|
15341
15810
|
*/
|
15342
|
-
viewsPreventingUnload:
|
15811
|
+
viewsPreventingUnload: Identity_4[];
|
15343
15812
|
/**
|
15344
15813
|
* Identities of the Views that are not preventing an unload
|
15345
15814
|
*/
|
15346
|
-
viewsNotPreventingUnload:
|
15815
|
+
viewsNotPreventingUnload: Identity_4[];
|
15347
15816
|
/**
|
15348
15817
|
* Source of the close action.
|
15349
15818
|
*/
|
@@ -15368,11 +15837,11 @@ declare interface ViewStatuses {
|
|
15368
15837
|
/**
|
15369
15838
|
* Identities of the Views that are preventing an unload.
|
15370
15839
|
*/
|
15371
|
-
viewsPreventingUnload:
|
15840
|
+
viewsPreventingUnload: Identity_4[];
|
15372
15841
|
/**
|
15373
15842
|
* Identities of the Views that are not preventing an unload.
|
15374
15843
|
*/
|
15375
|
-
viewsNotPreventingUnload:
|
15844
|
+
viewsNotPreventingUnload: Identity_4[];
|
15376
15845
|
}
|
15377
15846
|
|
15378
15847
|
/**
|
@@ -15877,7 +16346,7 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
|
|
15877
16346
|
* We do not expose an explicit superclass for this functionality, but it does have its own
|
15878
16347
|
* {@link OpenFin.WebContentsEvents event namespace}.
|
15879
16348
|
*/
|
15880
|
-
stopFindInPage(action:
|
16349
|
+
stopFindInPage(action: 'clearSelection' | 'keepSelection' | 'activateSelection'): Promise<void>;
|
15881
16350
|
/**
|
15882
16351
|
* Returns an array with all system printers
|
15883
16352
|
* @deprecated use System.getPrinters instead
|
@@ -16470,11 +16939,7 @@ declare type WillMoveEvent = WillMoveOrResizeEvent & {
|
|
16470
16939
|
* A general will-move or will-resize event without event type.
|
16471
16940
|
* @interface
|
16472
16941
|
*/
|
16473
|
-
declare type WillMoveOrResizeEvent =
|
16474
|
-
height: number;
|
16475
|
-
left: number;
|
16476
|
-
top: number;
|
16477
|
-
width: number;
|
16942
|
+
declare type WillMoveOrResizeEvent = BoundsEvent & {
|
16478
16943
|
monitorScaleFactor: number;
|
16479
16944
|
};
|
16480
16945
|
|
@@ -17666,16 +18131,21 @@ declare namespace WindowEvents {
|
|
17666
18131
|
PreloadScriptInfoRunning,
|
17667
18132
|
PreloadScriptInfo,
|
17668
18133
|
PreloadScriptsStateChangeEvent,
|
17669
|
-
|
18134
|
+
BoundsEvent,
|
17670
18135
|
BoundsChangeEvent,
|
17671
18136
|
WillMoveOrResizeEvent,
|
18137
|
+
BoundsDidChangeEvent,
|
18138
|
+
BoundsChangedEvent,
|
18139
|
+
BoundsChangingEvent,
|
18140
|
+
DisabledMovementBoundsChangedEvent,
|
18141
|
+
DisabledMovementBoundsChangingEvent,
|
18142
|
+
UserBoundsChangeEvent,
|
18143
|
+
BeginUserBoundsChangingEvent,
|
18144
|
+
EndUserBoundsChangingEvent,
|
17672
18145
|
PerformanceReportEvent,
|
17673
18146
|
InputEvent_2 as InputEvent,
|
17674
18147
|
LayoutInitializedEvent,
|
17675
18148
|
LayoutReadyEvent,
|
17676
|
-
BeginUserBoundsChangingEvent,
|
17677
|
-
BoundsChangedEvent,
|
17678
|
-
BoundsChangingEvent,
|
17679
18149
|
CloseRequestedEvent,
|
17680
18150
|
WindowCloseRequestedEvent,
|
17681
18151
|
ContextChangedEvent,
|
@@ -17683,10 +18153,7 @@ declare namespace WindowEvents {
|
|
17683
18153
|
WindowClosedEvent,
|
17684
18154
|
ClosingEvent,
|
17685
18155
|
WindowClosingEvent,
|
17686
|
-
DisabledMovementBoundsChangedEvent,
|
17687
|
-
DisabledMovementBoundsChangingEvent,
|
17688
18156
|
EmbeddedEvent,
|
17689
|
-
EndUserBoundsChangingEvent,
|
17690
18157
|
HotkeyEvent_2 as HotkeyEvent,
|
17691
18158
|
WindowHotkeyEvent,
|
17692
18159
|
InitializedEvent_2 as InitializedEvent,
|