@openfin/core 39.83.3 → 39.83.5
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 +791 -224
- package/out/mock-beta.d.ts +791 -224
- package/out/mock-public.d.ts +791 -224
- package/out/mock.d.ts +794 -224
- package/out/mock.js +1477 -1329
- package/package.json +1 -1
package/out/mock-public.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`.
|
@@ -7682,6 +7682,29 @@ declare class Layout extends Base {
|
|
7682
7682
|
* ```
|
7683
7683
|
*/
|
7684
7684
|
applyPreset: (options: PresetLayoutOptions) => Promise<void>;
|
7685
|
+
/**
|
7686
|
+
* Adds a view to the platform layout. Behaves like @link{Platform#createView} with the current layout as the target.
|
7687
|
+
*
|
7688
|
+
* @param viewOptions - The options for creating the view.
|
7689
|
+
* @param options - Optional parameters for adding the view.
|
7690
|
+
* @param options.location - The location where the view should be added.
|
7691
|
+
* @param options.targetView - The target view to which the new view should be added.
|
7692
|
+
* @returns A promise that resolves to an object containing the identity of the added view.
|
7693
|
+
*/
|
7694
|
+
addView(viewOptions: OpenFin_2.PlatformViewCreationOptions, { location, targetView }?: {
|
7695
|
+
location?: OpenFin_2.CreateViewTarget['location'];
|
7696
|
+
targetView?: OpenFin_2.Identity;
|
7697
|
+
}): Promise<{
|
7698
|
+
identity: OpenFin_2.Identity;
|
7699
|
+
}>;
|
7700
|
+
/**
|
7701
|
+
* Closes a view by its identity. Throws an error if the view does not belong to the current layout.
|
7702
|
+
* Behaves like @link{Platform#closeView} but only closes the view if it belongs the current layout.
|
7703
|
+
*
|
7704
|
+
* @param viewIdentity - The identity of the view to close.
|
7705
|
+
* @returns A promise that resolves when the view is closed.
|
7706
|
+
*/
|
7707
|
+
closeView(viewIdentity: OpenFin_2.Identity): Promise<void>;
|
7685
7708
|
}
|
7686
7709
|
|
7687
7710
|
/**
|
@@ -7694,7 +7717,7 @@ declare type LayoutColumn = LayoutItemConfig & {
|
|
7694
7717
|
/**
|
7695
7718
|
* @interface
|
7696
7719
|
*/
|
7697
|
-
declare type LayoutComponent = LayoutItemConfig & {
|
7720
|
+
declare type LayoutComponent = Omit<LayoutItemConfig, 'content' | 'type'> & {
|
7698
7721
|
/**
|
7699
7722
|
* Only a component type will have this property and it should be set to view.
|
7700
7723
|
*/
|
@@ -7703,6 +7726,7 @@ declare type LayoutComponent = LayoutItemConfig & {
|
|
7703
7726
|
* Only a component type will have this property and it represents the view options of a given component.
|
7704
7727
|
*/
|
7705
7728
|
componentState?: Partial<ViewCreationOptions>;
|
7729
|
+
type: 'component';
|
7706
7730
|
};
|
7707
7731
|
|
7708
7732
|
declare type LayoutContent = Array<LayoutItemConfig | LayoutRow | LayoutColumn | LayoutComponent>;
|
@@ -7710,7 +7734,7 @@ declare type LayoutContent = Array<LayoutItemConfig | LayoutRow | LayoutColumn |
|
|
7710
7734
|
/**
|
7711
7735
|
* The base payload for the CustomEvent.detail property for Layout events emitted on the layout container element.
|
7712
7736
|
*/
|
7713
|
-
declare type LayoutDOMEvent =
|
7737
|
+
declare type LayoutDOMEvent = Identity_4 & {
|
7714
7738
|
type: string;
|
7715
7739
|
topic: 'openfin-DOM-event';
|
7716
7740
|
tabSelector: string;
|
@@ -7771,7 +7795,7 @@ declare type LayoutEntityTypes = 'column' | 'row' | 'stack';
|
|
7771
7795
|
/**
|
7772
7796
|
* @interface
|
7773
7797
|
*/
|
7774
|
-
declare type LayoutIdentity =
|
7798
|
+
declare type LayoutIdentity = Identity_4 & {
|
7775
7799
|
/**
|
7776
7800
|
* The name of the layout in a given window.
|
7777
7801
|
*/
|
@@ -7786,10 +7810,7 @@ declare type LayoutIdentity = Identity_5 & {
|
|
7786
7810
|
declare type LayoutInitializedEvent = BaseEvent_5 & {
|
7787
7811
|
type: 'layout-initialized';
|
7788
7812
|
layoutIdentity: OpenFin_2.LayoutIdentity;
|
7789
|
-
ofViews:
|
7790
|
-
identity: OpenFin_2.Identity;
|
7791
|
-
entityType: 'view';
|
7792
|
-
}[];
|
7813
|
+
ofViews: OpenFin_2.ViewCreationResult[];
|
7793
7814
|
};
|
7794
7815
|
|
7795
7816
|
/**
|
@@ -7880,7 +7901,7 @@ declare interface LayoutManager<T extends LayoutSnapshot> {
|
|
7880
7901
|
* @param identity
|
7881
7902
|
* @returns LayoutIdentity | undefined
|
7882
7903
|
*/
|
7883
|
-
resolveLayoutIdentity(identity?:
|
7904
|
+
resolveLayoutIdentity(identity?: Identity_4 | LayoutIdentity): LayoutIdentity | undefined;
|
7884
7905
|
/**
|
7885
7906
|
* @experimental
|
7886
7907
|
*
|
@@ -7897,7 +7918,7 @@ declare interface LayoutManager<T extends LayoutSnapshot> {
|
|
7897
7918
|
/**
|
7898
7919
|
* @experimental
|
7899
7920
|
*/
|
7900
|
-
getLayoutIdentityForView(viewIdentity:
|
7921
|
+
getLayoutIdentityForView(viewIdentity: Identity_4): LayoutIdentity | undefined;
|
7901
7922
|
/**
|
7902
7923
|
* @experimental
|
7903
7924
|
*/
|
@@ -7998,6 +8019,17 @@ declare class LayoutModule extends Base {
|
|
7998
8019
|
* ```
|
7999
8020
|
*/
|
8000
8021
|
getCurrentSync(): OpenFin_2.Layout;
|
8022
|
+
/**
|
8023
|
+
* Retrieves the OpenFin.Layout instance for the Window the View is attached to.
|
8024
|
+
*
|
8025
|
+
* @example
|
8026
|
+
* ```js
|
8027
|
+
* const viewIdentity = { uuid: 'uuid', name: 'view-name' };
|
8028
|
+
* const layout = await fin.Platform.Layout.getLayoutByViewIdentity(viewIdentity);
|
8029
|
+
* console.log(await layout.getCurrentViews());
|
8030
|
+
* ```
|
8031
|
+
*/
|
8032
|
+
getLayoutByViewIdentity(viewIdentity: OpenFin_2.Identity): Promise<OpenFin_2.Layout>;
|
8001
8033
|
/**
|
8002
8034
|
* Initialize the window's Layout.
|
8003
8035
|
*
|
@@ -8201,12 +8233,10 @@ declare type Listener<T extends {
|
|
8201
8233
|
type: string;
|
8202
8234
|
}> = (payload: T) => void;
|
8203
8235
|
|
8204
|
-
declare type LogInfo = OpenFin_2.LogInfo;
|
8205
|
-
|
8206
8236
|
/**
|
8207
8237
|
* @interface
|
8208
8238
|
*/
|
8209
|
-
declare type
|
8239
|
+
declare type LogInfo = {
|
8210
8240
|
/**
|
8211
8241
|
* The filename of the log
|
8212
8242
|
*/
|
@@ -8221,8 +8251,6 @@ declare type LogInfo_2 = {
|
|
8221
8251
|
date: string;
|
8222
8252
|
};
|
8223
8253
|
|
8224
|
-
declare type LogLevel = OpenFin_2.LogLevel;
|
8225
|
-
|
8226
8254
|
/**
|
8227
8255
|
* Describes the minimum level (inclusive) above which logs will be written.
|
8228
8256
|
*
|
@@ -8232,7 +8260,7 @@ declare type LogLevel = OpenFin_2.LogLevel;
|
|
8232
8260
|
* `error` and above<br>
|
8233
8261
|
* `fatal`: fatal only, indicates a crash is imminent
|
8234
8262
|
*/
|
8235
|
-
declare type
|
8263
|
+
declare type LogLevel = 'verbose' | 'info' | 'warning' | 'error' | 'fatal';
|
8236
8264
|
|
8237
8265
|
declare type LogUploaderUIOptions = {
|
8238
8266
|
title?: string;
|
@@ -8881,6 +8909,12 @@ declare type MutableWindowOptions = {
|
|
8881
8909
|
* Shows the window's icon in the taskbar.
|
8882
8910
|
*/
|
8883
8911
|
showTaskbarIcon: boolean;
|
8912
|
+
/**
|
8913
|
+
* Specify a taskbar group for the window.
|
8914
|
+
* _If omitted, defaults to app's uuid (`fin.Application.getCurrentSync().identity.uuid`)._
|
8915
|
+
* @remarks It's only updatable when `enableJumpList` is set to false.
|
8916
|
+
*/
|
8917
|
+
taskbarIconGroup: string;
|
8884
8918
|
interop: InteropConfig;
|
8885
8919
|
/* Excluded from this release type: _internalWorkspaceData */
|
8886
8920
|
/* Excluded from this release type: workspacePlatform */
|
@@ -9060,13 +9094,13 @@ declare namespace OpenFin_2 {
|
|
9060
9094
|
LayoutPosition,
|
9061
9095
|
WebContent,
|
9062
9096
|
PlatformProvider,
|
9063
|
-
|
9064
|
-
|
9097
|
+
ApplicationIdentity,
|
9098
|
+
Identity_4 as Identity,
|
9065
9099
|
ClientIdentity,
|
9066
9100
|
ClientInfo,
|
9067
9101
|
ClientIdentityMultiRuntime,
|
9068
9102
|
ClientConnectionPayload,
|
9069
|
-
|
9103
|
+
EntityInfo,
|
9070
9104
|
EntityType_4 as EntityType,
|
9071
9105
|
Bounds,
|
9072
9106
|
WindowBounds,
|
@@ -9137,6 +9171,9 @@ declare namespace OpenFin_2 {
|
|
9137
9171
|
ViewOptions,
|
9138
9172
|
ConstViewOptions,
|
9139
9173
|
ViewState,
|
9174
|
+
ViewCreationSuccess,
|
9175
|
+
ViewCreationFailure,
|
9176
|
+
ViewCreationResult,
|
9140
9177
|
Certificate,
|
9141
9178
|
HostContextChangedPayload,
|
9142
9179
|
ApplySnapshotOptions,
|
@@ -9202,7 +9239,7 @@ declare namespace OpenFin_2 {
|
|
9202
9239
|
GpuInfo,
|
9203
9240
|
OSInfo,
|
9204
9241
|
HostSpecs,
|
9205
|
-
|
9242
|
+
PrinterInfo,
|
9206
9243
|
Dpi,
|
9207
9244
|
Margins,
|
9208
9245
|
PrintOptions,
|
@@ -9310,24 +9347,24 @@ declare namespace OpenFin_2 {
|
|
9310
9347
|
BeforeUnloadUserDecision,
|
9311
9348
|
ViewStatuses,
|
9312
9349
|
CloseWindowPayload,
|
9313
|
-
|
9314
|
-
|
9350
|
+
ProxyInfo,
|
9351
|
+
ProxyConfig,
|
9315
9352
|
ProxySystemInfo,
|
9316
9353
|
ChannelAction_2 as ChannelAction,
|
9317
9354
|
ChannelMiddleware_2 as ChannelMiddleware,
|
9318
9355
|
ErrorMiddleware_2 as ErrorMiddleware,
|
9319
|
-
|
9320
|
-
|
9356
|
+
ApplicationState,
|
9357
|
+
InstalledApps,
|
9321
9358
|
InstallationInfo,
|
9322
|
-
|
9323
|
-
|
9359
|
+
GetLogRequestType,
|
9360
|
+
LogInfo,
|
9324
9361
|
SendApplicationLogResponse,
|
9325
|
-
|
9362
|
+
LogLevel,
|
9326
9363
|
PermissionState_2 as PermissionState,
|
9327
|
-
|
9364
|
+
RegistryInfo,
|
9328
9365
|
ApplicationType,
|
9329
9366
|
WindowInfo,
|
9330
|
-
|
9367
|
+
ApplicationWindowInfo,
|
9331
9368
|
WindowDetail,
|
9332
9369
|
LayoutPresetType,
|
9333
9370
|
LayoutIdentity,
|
@@ -10939,6 +10976,45 @@ declare interface PlatformProvider {
|
|
10939
10976
|
* @returns {Promise<void>}
|
10940
10977
|
*/
|
10941
10978
|
handleRunRequested({ manifest, userAppConfigArgs }: RunRequestedEvent): Promise<void>;
|
10979
|
+
/**
|
10980
|
+
* @experimental
|
10981
|
+
*
|
10982
|
+
* This method is called to handle errors with view creation and initial navigation during layout creation.
|
10983
|
+
* Overriding this method enables catching the error and correcting behavior (ie navigating to an error page).
|
10984
|
+
* * To indicate that the error has been handled, view creation should be treated as successful return {identity: viewIdentity, success: true}.
|
10985
|
+
* * Not returning anything will cause the layout-initialized event to include the view as failed with the original error.
|
10986
|
+
* * Throwing an error will update the error on the event payload of layout-initialized to the thrown error.
|
10987
|
+
*
|
10988
|
+
* @param viewIdentity Identity of the view
|
10989
|
+
* @param error error thrown during a view creation
|
10990
|
+
* @returns {Promise<OpenFin.ViewCreationSuccess | void>}
|
10991
|
+
*
|
10992
|
+
* @example
|
10993
|
+
*
|
10994
|
+
* ```js
|
10995
|
+
* const overrideCallback = (PlatformProvider) => {
|
10996
|
+
* class Override extends PlatformProvider {
|
10997
|
+
* async handleFailedViewCreation(viewIdentity, error) {
|
10998
|
+
* const view = fin.View.wrapSync(viewId);
|
10999
|
+
* try {
|
11000
|
+
* // navigate to an error page
|
11001
|
+
* await view.navigate('http://localhost:3000/errorPage.html');
|
11002
|
+
* // resolve a success result after redirecting to a error page
|
11003
|
+
* return {identity: viewIdentity, success: true};
|
11004
|
+
* } catch(e) {
|
11005
|
+
* // layout-initialized event will include this view with the error
|
11006
|
+
* throw error;
|
11007
|
+
* }
|
11008
|
+
* }
|
11009
|
+
* }
|
11010
|
+
* return new Override();
|
11011
|
+
* }
|
11012
|
+
*
|
11013
|
+
* fin.Platform.init({ overrideCallback });
|
11014
|
+
*
|
11015
|
+
* ```
|
11016
|
+
*/
|
11017
|
+
handleFailedViewCreation(viewIdentity: OpenFin_2.Identity, error: Error): Promise<OpenFin_2.ViewCreationSuccess | void>;
|
10942
11018
|
}
|
10943
11019
|
|
10944
11020
|
/**
|
@@ -11238,12 +11314,10 @@ declare type PresetLayoutOptions_2 = {
|
|
11238
11314
|
presetType: LayoutPresetType;
|
11239
11315
|
};
|
11240
11316
|
|
11241
|
-
declare type PrinterInfo = OpenFin_2.PrinterInfo;
|
11242
|
-
|
11243
11317
|
/**
|
11244
11318
|
* @interface
|
11245
11319
|
*/
|
11246
|
-
declare type
|
11320
|
+
declare type PrinterInfo = {
|
11247
11321
|
/**
|
11248
11322
|
* Printer Name
|
11249
11323
|
*/
|
@@ -11505,20 +11579,100 @@ declare type PropagatedWindowEvent<TargetTopic extends string> = PropagatedEvent
|
|
11505
11579
|
declare type PropagatedWindowEventType = PropagatedEvent_3<string>['type'];
|
11506
11580
|
|
11507
11581
|
declare interface ProtocolMap extends ProtocolMapBase {
|
11582
|
+
'is-application-running': ApplicationIdentityCall<{}, boolean>;
|
11583
|
+
'destroy-application': ApplicationIdentityCall<{
|
11584
|
+
force: boolean;
|
11585
|
+
}, void>;
|
11586
|
+
'close-application': ApplicationIdentityCall<{
|
11587
|
+
force: boolean;
|
11588
|
+
}, void>;
|
11589
|
+
'application-close': ApplicationIdentityCall<{}, void>;
|
11590
|
+
'get-child-windows': ApplicationIdentityCall<{}, Array<unknown>>;
|
11591
|
+
'get-application-manifest': {
|
11592
|
+
request: {
|
11593
|
+
manifestUrl?: string;
|
11594
|
+
uuid?: string;
|
11595
|
+
};
|
11596
|
+
response: OpenFin_2.Manifest;
|
11597
|
+
};
|
11598
|
+
'get-parent-application': ApplicationIdentityCall<{}, string>;
|
11599
|
+
'get-shortcuts': ApplicationIdentityCall<{}, OpenFin_2.ShortCutConfig>;
|
11600
|
+
'application-get-views': ApplicationIdentityCall<{}, OpenFin_2.Identity[]>;
|
11601
|
+
'get-application-zoom-level': ApplicationIdentityCall<{}, number>;
|
11602
|
+
'application-get-window': ApplicationIdentityCall<{}, void>;
|
11603
|
+
'register-user': ApplicationIdentityCall<{
|
11604
|
+
userName: string;
|
11605
|
+
appName: string;
|
11606
|
+
}, void>;
|
11607
|
+
'remove-tray-icon': ApplicationIdentityCall<{}, void>;
|
11608
|
+
'restart-application': ApplicationIdentityCall<{}, void>;
|
11609
|
+
'application-run': ApplicationIdentityCall<{}, void>;
|
11610
|
+
'run-application': ApplicationIdentityCall<{
|
11611
|
+
manifestUrl?: string | undefined;
|
11612
|
+
opts?: OpenFin_2.RvmLaunchOptions;
|
11613
|
+
}, void>;
|
11614
|
+
'relaunch-on-close': ApplicationIdentityCall<{}, void>;
|
11615
|
+
'send-application-log': ApplicationIdentityCall<{}, OpenFin_2.SendApplicationLogResponse>;
|
11616
|
+
'set-jump-list': ApplicationIdentityCall<{
|
11617
|
+
config: OpenFin_2.JumpListCategory[] | null;
|
11618
|
+
}, void>;
|
11619
|
+
'set-tray-icon': ApplicationIdentityCall<{
|
11620
|
+
enabledIcon: string;
|
11621
|
+
}, void>;
|
11622
|
+
'set-shortcuts': ApplicationIdentityCall<{
|
11623
|
+
data: OpenFin_2.ShortCutConfig;
|
11624
|
+
}, void>;
|
11625
|
+
'set-shortcut-query-args': ApplicationIdentityCall<{
|
11626
|
+
data: string;
|
11627
|
+
}, void>;
|
11628
|
+
'set-application-zoom-level': ApplicationIdentityCall<{
|
11629
|
+
level: number;
|
11630
|
+
}, void>;
|
11631
|
+
'set-app-log-username': ApplicationIdentityCall<{
|
11632
|
+
data: string;
|
11633
|
+
}, void>;
|
11634
|
+
'get-tray-icon-info': ApplicationIdentityCall<{}, OpenFin_2.TrayInfo>;
|
11635
|
+
'has-tray-icon': ApplicationIdentityCall<{}, boolean>;
|
11636
|
+
'terminate-application': ApplicationIdentityCall<{}, void>;
|
11637
|
+
'wait-for-hung-application': ApplicationIdentityCall<{}, void>;
|
11638
|
+
'get-info': ApplicationIdentityCall<{}, OpenFin_2.ApplicationInfo>;
|
11639
|
+
'application-get-process-info': ApplicationIdentityCall<{}, OpenFin_2.AppProcessInfo>;
|
11640
|
+
'set-file-download-location': {
|
11641
|
+
request: OpenFin_2.Identity & {
|
11642
|
+
downloadLocation: string;
|
11643
|
+
};
|
11644
|
+
response: void;
|
11645
|
+
};
|
11646
|
+
'get-file-download-location': ApplicationIdentityCall<{}, string>;
|
11647
|
+
'show-tray-icon-popup-menu': {
|
11648
|
+
request: OpenFin_2.Identity & {
|
11649
|
+
options: OpenFin_2.ShowTrayIconPopupMenuOptions;
|
11650
|
+
};
|
11651
|
+
response: OpenFin_2.MenuResult;
|
11652
|
+
};
|
11653
|
+
'close-tray-icon-popup-menu': IdentityCall<{}, void>;
|
11654
|
+
'wrap-application': VoidCall;
|
11655
|
+
'wrap-application-sync': VoidCall;
|
11656
|
+
'create-application': ApiCall<OpenFin_2.ApplicationCreationOptions, void>;
|
11657
|
+
'application-create': VoidCall;
|
11658
|
+
'start-application': VoidCall;
|
11659
|
+
'run-applications': ApiCall<{
|
11660
|
+
applications: Array<OpenFin_2.ManifestInfo>;
|
11661
|
+
opts?: OpenFin_2.RvmLaunchOptions;
|
11662
|
+
}, void>;
|
11663
|
+
'get-current-application': VoidCall;
|
11664
|
+
'get-current-application-sync': VoidCall;
|
11665
|
+
'application-start-from-manifest': VoidCall;
|
11666
|
+
'application-create-from-manifest': VoidCall;
|
11508
11667
|
'request-external-authorization': {
|
11509
11668
|
request: any;
|
11510
11669
|
response: void;
|
11511
11670
|
specialResponse: AuthorizationPayload;
|
11512
11671
|
};
|
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;
|
11672
|
+
'request-authorization': {
|
11673
|
+
request: ExistingConnectConfig | RemoteConfig | ReceiverConfig;
|
11521
11674
|
response: void;
|
11675
|
+
specialResponse: Payload;
|
11522
11676
|
};
|
11523
11677
|
'clipboard-read-formats': {
|
11524
11678
|
request: {
|
@@ -11530,6 +11684,24 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
11530
11684
|
request: OpenFin_2.ReadImageClipboardRequest;
|
11531
11685
|
response: string;
|
11532
11686
|
};
|
11687
|
+
'clipboard-read-text': {
|
11688
|
+
request: {
|
11689
|
+
type?: OpenFin_2.ClipboardSelectionType;
|
11690
|
+
};
|
11691
|
+
response: string;
|
11692
|
+
};
|
11693
|
+
'clipboard-read-html': {
|
11694
|
+
request: {
|
11695
|
+
type?: OpenFin_2.ClipboardSelectionType;
|
11696
|
+
};
|
11697
|
+
response: string;
|
11698
|
+
};
|
11699
|
+
'clipboard-read-rtf': {
|
11700
|
+
request: {
|
11701
|
+
type?: OpenFin_2.ClipboardSelectionType;
|
11702
|
+
};
|
11703
|
+
response: string;
|
11704
|
+
};
|
11533
11705
|
'clipboard-write-image': {
|
11534
11706
|
request: OpenFin_2.WriteImageClipboardRequest;
|
11535
11707
|
response: void;
|
@@ -11538,6 +11710,18 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
11538
11710
|
request: OpenFin_2.WriteAnyRequestType;
|
11539
11711
|
response: void;
|
11540
11712
|
};
|
11713
|
+
'clipboard-write-text': {
|
11714
|
+
request: OpenFin_2.WriteClipboardRequest;
|
11715
|
+
response: void;
|
11716
|
+
};
|
11717
|
+
'clipboard-write-html': {
|
11718
|
+
request: OpenFin_2.WriteClipboardRequest;
|
11719
|
+
response: void;
|
11720
|
+
};
|
11721
|
+
'clipboard-write-rtf': {
|
11722
|
+
request: OpenFin_2.WriteClipboardRequest;
|
11723
|
+
response: void;
|
11724
|
+
};
|
11541
11725
|
'get-view-window': IdentityCall<{}, OpenFin_2.Identity>;
|
11542
11726
|
'create-view': IdentityCall<OpenFin_2.ViewCreationOptions & {
|
11543
11727
|
uuid: string;
|
@@ -11563,13 +11747,85 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
11563
11747
|
options: OpenFin_2.UpdatableViewOptions;
|
11564
11748
|
}>;
|
11565
11749
|
'trigger-before-unload': IdentityCall<{}, boolean>;
|
11750
|
+
'view-wrap-sync': VoidCall;
|
11751
|
+
'view-wrap': VoidCall;
|
11752
|
+
'view-get-current': VoidCall;
|
11753
|
+
'view-get-current-sync': VoidCall;
|
11754
|
+
'animate-window': IdentityCall<{
|
11755
|
+
transitions: OpenFin_2.Transition;
|
11756
|
+
options: OpenFin_2.TransitionOptions;
|
11757
|
+
}>;
|
11758
|
+
'get-all-frames': IdentityCall<{}, OpenFin_2.FrameInfo[]>;
|
11759
|
+
'get-window-bounds': IdentityCall<{}, OpenFin_2.WindowBounds>;
|
11760
|
+
'center-window': IdentityCall;
|
11761
|
+
'blur-window': IdentityCall;
|
11762
|
+
'bring-window-to-front': IdentityCall;
|
11763
|
+
'hide-window': IdentityCall;
|
11764
|
+
'close-window': IdentityCall<{
|
11765
|
+
force: boolean;
|
11766
|
+
}>;
|
11767
|
+
'focused-webview-changed': IdentityCall;
|
11768
|
+
'get-window-native-id': IdentityCall<{}, string>;
|
11566
11769
|
'window-get-views': IdentityCall<{}, OpenFin_2.Identity[]>;
|
11567
|
-
'
|
11770
|
+
'disable-window-frame': IdentityCall;
|
11771
|
+
'enable-window-frame': IdentityCall;
|
11772
|
+
'flash-window': IdentityCall;
|
11773
|
+
'stop-flash-window': IdentityCall;
|
11774
|
+
'get-window-info': IdentityCall<{}, OpenFin_2.WindowInfo>;
|
11775
|
+
'get-window-options': IdentityCall<{}, OpenFin_2.WindowOptions>;
|
11776
|
+
'get-window-snapshot': IdentityCall<{
|
11777
|
+
area?: OpenFin_2.Rectangle;
|
11778
|
+
}, string>;
|
11779
|
+
'get-window-state': IdentityCall<{}, 'minimized' | 'maximized' | 'normal'>;
|
11780
|
+
'is-window-showing': IdentityCall<{}, boolean>;
|
11781
|
+
'maximize-window': IdentityCall;
|
11782
|
+
'minimize-window': IdentityCall;
|
11783
|
+
'move-window-by': IdentityCall<WithPositioningOptions<{
|
11784
|
+
deltaLeft: number;
|
11785
|
+
deltaTop: number;
|
11786
|
+
}>>;
|
11787
|
+
'move-window': IdentityCall<WithPositioningOptions<{
|
11788
|
+
left: number;
|
11789
|
+
top: number;
|
11790
|
+
}>>;
|
11791
|
+
'resize-window-by': IdentityCall<WithPositioningOptions<{
|
11792
|
+
deltaWidth: number;
|
11793
|
+
deltaHeight: number;
|
11794
|
+
anchor: OpenFin_2.AnchorType;
|
11795
|
+
}>>;
|
11796
|
+
'resize-window': IdentityCall<WithPositioningOptions<{
|
11797
|
+
width: number;
|
11798
|
+
height: number;
|
11799
|
+
anchor: OpenFin_2.AnchorType;
|
11800
|
+
}>>;
|
11801
|
+
'restore-window': IdentityCall;
|
11802
|
+
'set-foreground-window': IdentityCall;
|
11803
|
+
'set-window-bounds': IdentityCall<WithPositioningOptions<Partial<OpenFin_2.Bounds>>>;
|
11804
|
+
'show-window': IdentityCall<{
|
11805
|
+
force: boolean;
|
11806
|
+
}>;
|
11807
|
+
'show-at-window': IdentityCall<{
|
11808
|
+
left: number;
|
11809
|
+
top: number;
|
11810
|
+
force: boolean;
|
11811
|
+
}>;
|
11812
|
+
'update-window-options': IdentityCall<{
|
11813
|
+
options: OpenFin_2.UpdatableWindowOptions;
|
11814
|
+
}>;
|
11815
|
+
'window-authenticate': IdentityCall<{
|
11816
|
+
userName: string;
|
11817
|
+
password: string;
|
11818
|
+
}>;
|
11819
|
+
'show-popup-menu': {
|
11568
11820
|
request: OpenFin_2.Identity & {
|
11569
|
-
options: OpenFin_2.
|
11821
|
+
options: OpenFin_2.ShowPopupMenuOptions;
|
11570
11822
|
};
|
11571
|
-
response:
|
11823
|
+
response: OpenFin_2.MenuResult;
|
11572
11824
|
};
|
11825
|
+
'close-popup-menu': IdentityCall;
|
11826
|
+
'dispatch-popup-result': IdentityCall<{
|
11827
|
+
data: any;
|
11828
|
+
}>;
|
11573
11829
|
'print-screenshot': {
|
11574
11830
|
request: OpenFin_2.Identity;
|
11575
11831
|
response: void;
|
@@ -11580,6 +11836,229 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
11580
11836
|
};
|
11581
11837
|
response: void;
|
11582
11838
|
};
|
11839
|
+
'window-wrap': VoidCall;
|
11840
|
+
'window-wrap-sync': VoidCall;
|
11841
|
+
'create-window': VoidCall;
|
11842
|
+
'get-current-window': VoidCall;
|
11843
|
+
'get-current-window-sync': VoidCall;
|
11844
|
+
'get-external-application-info': ApiCall<OpenFin_2.ApplicationIdentity, OpenFin_2.ExternalApplicationInfo>;
|
11845
|
+
'external-application-wrap': VoidCall;
|
11846
|
+
'external-application-wrap-sync': VoidCall;
|
11847
|
+
'get-frame-info': ApiCall<OpenFin_2.Identity, OpenFin_2.FrameInfo>;
|
11848
|
+
'get-parent-window': ApiCall<OpenFin_2.Identity, OpenFin_2.FrameInfo>;
|
11849
|
+
'frame-wrap': VoidCall;
|
11850
|
+
'frame-wrap-sync': VoidCall;
|
11851
|
+
'frame-get-current': VoidCall;
|
11852
|
+
'frame-get-current-sync': VoidCall;
|
11853
|
+
'global-hotkey-register': {
|
11854
|
+
request: {
|
11855
|
+
hotkey: string;
|
11856
|
+
};
|
11857
|
+
response: void;
|
11858
|
+
};
|
11859
|
+
'global-hotkey-unregister': {
|
11860
|
+
request: {
|
11861
|
+
hotkey: string;
|
11862
|
+
};
|
11863
|
+
response: void;
|
11864
|
+
};
|
11865
|
+
'global-hotkey-unregister-all': {
|
11866
|
+
request: {};
|
11867
|
+
response: void;
|
11868
|
+
};
|
11869
|
+
'global-hotkey-is-registered': {
|
11870
|
+
request: {
|
11871
|
+
hotkey: string;
|
11872
|
+
};
|
11873
|
+
response: boolean;
|
11874
|
+
};
|
11875
|
+
'publish-message': {
|
11876
|
+
request: {
|
11877
|
+
topic: string;
|
11878
|
+
message: any;
|
11879
|
+
sourceWindowName: string;
|
11880
|
+
};
|
11881
|
+
response: void;
|
11882
|
+
};
|
11883
|
+
'send-message': {
|
11884
|
+
request: {
|
11885
|
+
destinationUuid: string;
|
11886
|
+
destinationWindowName: string | undefined;
|
11887
|
+
topic: string;
|
11888
|
+
message: any;
|
11889
|
+
sourceWindowName: string;
|
11890
|
+
};
|
11891
|
+
response: void;
|
11892
|
+
};
|
11893
|
+
'subscribe': {
|
11894
|
+
request: {
|
11895
|
+
sourceUuid: string;
|
11896
|
+
sourceWindowName: string;
|
11897
|
+
topic: string;
|
11898
|
+
destinationWindowName: string;
|
11899
|
+
messageKey?: any;
|
11900
|
+
};
|
11901
|
+
response: void;
|
11902
|
+
};
|
11903
|
+
'unsubscribe': {
|
11904
|
+
request: {
|
11905
|
+
sourceUuid: string;
|
11906
|
+
sourceWindowName: string;
|
11907
|
+
topic: string;
|
11908
|
+
destinationWindowName: string;
|
11909
|
+
};
|
11910
|
+
response: void;
|
11911
|
+
};
|
11912
|
+
'get-all-channels': GetterCall<OpenFin_2.ProviderIdentity[]>;
|
11913
|
+
'connect-to-channel': {
|
11914
|
+
request: any;
|
11915
|
+
response: OpenFin_2.RoutingInfo;
|
11916
|
+
};
|
11917
|
+
'create-channel': ApiCall<{
|
11918
|
+
channelName: string;
|
11919
|
+
}, OpenFin_2.ProviderIdentity>;
|
11920
|
+
'destroy-channel': ApiCall<{
|
11921
|
+
channelName: string;
|
11922
|
+
}, void>;
|
11923
|
+
'disconnect-from-channel': {
|
11924
|
+
request: {
|
11925
|
+
channelName: string;
|
11926
|
+
uuid: string;
|
11927
|
+
name: string;
|
11928
|
+
endpointId: string;
|
11929
|
+
};
|
11930
|
+
response: void;
|
11931
|
+
};
|
11932
|
+
'send-channel-message': {
|
11933
|
+
request: any;
|
11934
|
+
response: any;
|
11935
|
+
};
|
11936
|
+
'get-version': GetterCall<string>;
|
11937
|
+
'clear-cache': ApiCall<OpenFin_2.ClearCacheOption, void>;
|
11938
|
+
'delete-cache-request': VoidCall;
|
11939
|
+
'exit-desktop': VoidCall;
|
11940
|
+
'fetch-manifest': ApiCall<{
|
11941
|
+
manifestUrl: string;
|
11942
|
+
}, any>;
|
11943
|
+
'flush-cookie-store': VoidCall;
|
11944
|
+
'get-all-windows': GetterCall<OpenFin_2.ApplicationWindowInfo[]>;
|
11945
|
+
'get-all-applications': GetterCall<OpenFin_2.ApplicationState[]>;
|
11946
|
+
'get-command-line-arguments': GetterCall<string>;
|
11947
|
+
'get-crash-reporter-state': GetterCall<OpenFin_2.CrashReporterState>;
|
11948
|
+
'start-crash-reporter': {
|
11949
|
+
request: OpenFin_2.CrashReporterOptions | {
|
11950
|
+
diagnosticMode: boolean;
|
11951
|
+
};
|
11952
|
+
response: OpenFin_2.CrashReporterState;
|
11953
|
+
};
|
11954
|
+
'get-unique-user-id': GetterCall<string>;
|
11955
|
+
'get-entity-info': {
|
11956
|
+
request: {
|
11957
|
+
uuid: string;
|
11958
|
+
name: string;
|
11959
|
+
};
|
11960
|
+
response: OpenFin_2.EntityInfo;
|
11961
|
+
};
|
11962
|
+
'get-environment-variable': {
|
11963
|
+
request: {
|
11964
|
+
environmentVariables: string;
|
11965
|
+
};
|
11966
|
+
response: string;
|
11967
|
+
};
|
11968
|
+
'get-focused-window': GetterCall<OpenFin_2.Identity | null>;
|
11969
|
+
'is-app-certified': {
|
11970
|
+
request: {
|
11971
|
+
manifestUrl: string;
|
11972
|
+
};
|
11973
|
+
response: {
|
11974
|
+
action: string;
|
11975
|
+
certifiedInfo: OpenFin_2.CertifiedAppInfo;
|
11976
|
+
};
|
11977
|
+
};
|
11978
|
+
'get-installed-runtimes': GetterCall<{
|
11979
|
+
action: string;
|
11980
|
+
runtimes: string[];
|
11981
|
+
}>;
|
11982
|
+
'get-installed-apps': GetterCall<OpenFin_2.InstalledApps>;
|
11983
|
+
'view-log': ApiCall<OpenFin_2.GetLogRequestType, string>;
|
11984
|
+
'get-machine-id': GetterCall<string>;
|
11985
|
+
'get-min-log-level': GetterCall<OpenFin_2.LogLevel>;
|
11986
|
+
'list-logs': GetterCall<OpenFin_2.LogInfo[]>;
|
11987
|
+
'get-monitor-info': GetterCall<OpenFin_2.MonitorInfo>;
|
11988
|
+
'get-mouse-position': GetterCall<OpenFin_2.PointTopLeft>;
|
11989
|
+
'process-snapshot': GetterCall<Array<any>>;
|
11990
|
+
'get-all-process-info': ApiCall<OpenFin_2.ApplicationIdentity, OpenFin_2.SystemProcessInfo>;
|
11991
|
+
'get-proxy-settings': GetterCall<OpenFin_2.ProxyInfo>;
|
11992
|
+
'get-runtime-info': GetterCall<OpenFin_2.RuntimeInfo>;
|
11993
|
+
'get-rvm-info': GetterCall<OpenFin_2.RVMInfo>;
|
11994
|
+
'get-host-specs': GetterCall<OpenFin_2.HostSpecs>;
|
11995
|
+
'get-os-info': GetterCall<OpenFin_2.OSInfo>;
|
11996
|
+
'launch-external-process': ApiCall<OpenFin_2.ExternalProcessRequestType, OpenFin_2.Identity>;
|
11997
|
+
'monitor-external-process': ApiCall<OpenFin_2.ExternalProcessInfo, OpenFin_2.Identity>;
|
11998
|
+
'write-to-log': ApiCall<{
|
11999
|
+
level: string;
|
12000
|
+
message: string;
|
12001
|
+
}, void>;
|
12002
|
+
'open-url-with-browser': ApiCall<{
|
12003
|
+
url: string;
|
12004
|
+
}, void>;
|
12005
|
+
'register-custom-protocol': ApiCall<OpenFin_2.CustomProtocolOptions, void>;
|
12006
|
+
'unregister-custom-protocol': ApiCall<{
|
12007
|
+
protocolName: string;
|
12008
|
+
}, void>;
|
12009
|
+
'get-custom-protocol-state': ApiCall<{
|
12010
|
+
protocolName: string;
|
12011
|
+
}, OpenFin_2.CustomProtocolState>;
|
12012
|
+
'release-external-process': ApiCall<{
|
12013
|
+
uuid: string;
|
12014
|
+
}, void>;
|
12015
|
+
'show-developer-tools': ApiCall<OpenFin_2.Identity, void>;
|
12016
|
+
'terminate-external-process': ApiCall<OpenFin_2.TerminateExternalRequestType, void>;
|
12017
|
+
'update-proxy': ApiCall<OpenFin_2.ProxyConfig, void>;
|
12018
|
+
'download-asset': {
|
12019
|
+
request: OpenFin_2.AppAssetInfo & {
|
12020
|
+
downloadId: string;
|
12021
|
+
};
|
12022
|
+
response: void;
|
12023
|
+
};
|
12024
|
+
'download-runtime': {
|
12025
|
+
request: OpenFin_2.RuntimeDownloadOptions & {
|
12026
|
+
downloadId: string;
|
12027
|
+
};
|
12028
|
+
response: void;
|
12029
|
+
};
|
12030
|
+
'download-preload-scripts': ApiCall<{
|
12031
|
+
scripts: Array<OpenFin_2.DownloadPreloadOption>;
|
12032
|
+
}, Array<OpenFin_2.DownloadPreloadInfo>>;
|
12033
|
+
'get-all-external-applications': ApiCall<void, Array<OpenFin_2.Identity>>;
|
12034
|
+
'get-app-asset-info': ApiCall<OpenFin_2.AppAssetRequest, OpenFin_2.AppAssetInfo>;
|
12035
|
+
'get-cookies': {
|
12036
|
+
request: OpenFin_2.CookieOption & {
|
12037
|
+
url: string;
|
12038
|
+
};
|
12039
|
+
response: Array<OpenFin_2.CookieInfo>;
|
12040
|
+
};
|
12041
|
+
'set-min-log-level': ApiCall<{
|
12042
|
+
level: OpenFin_2.LogLevel;
|
12043
|
+
}, void>;
|
12044
|
+
'resolve-uuid': ApiCall<{
|
12045
|
+
entityKey: string;
|
12046
|
+
}, OpenFin_2.ApplicationType>;
|
12047
|
+
'read-registry-value': ApiCall<{
|
12048
|
+
rootKey: string;
|
12049
|
+
subkey: string;
|
12050
|
+
value: string;
|
12051
|
+
}, OpenFin_2.RegistryInfo>;
|
12052
|
+
'register-external-connection': ApiCall<{
|
12053
|
+
uuid: string;
|
12054
|
+
}, OpenFin_2.ExternalConnection>;
|
12055
|
+
'get-service-configuration': ApiCall<{
|
12056
|
+
name: string;
|
12057
|
+
}, OpenFin_2.ServiceConfiguration>;
|
12058
|
+
'get-system-app-configuration': ApiCall<{
|
12059
|
+
name: string;
|
12060
|
+
}, any>;
|
12061
|
+
'run-rvm-health-check': ApiCall<void, string[]>;
|
11583
12062
|
'launch-manifest': {
|
11584
12063
|
request: {
|
11585
12064
|
manifestUrl: string;
|
@@ -11591,17 +12070,12 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
11591
12070
|
manifest: OpenFin_2.Manifest;
|
11592
12071
|
};
|
11593
12072
|
};
|
11594
|
-
'
|
12073
|
+
'query-permission-for-current-context': {
|
11595
12074
|
request: {
|
11596
|
-
|
11597
|
-
|
11598
|
-
response: any;
|
11599
|
-
};
|
11600
|
-
'show-popup-menu': {
|
11601
|
-
request: OpenFin_2.Identity & {
|
11602
|
-
options: OpenFin_2.ShowPopupMenuOptions;
|
12075
|
+
apiName: string;
|
12076
|
+
identity: OpenFin_2.Identity;
|
11603
12077
|
};
|
11604
|
-
response: OpenFin_2.
|
12078
|
+
response: OpenFin_2.QueryPermissionResult;
|
11605
12079
|
};
|
11606
12080
|
'enable-native-window-integration-provider': {
|
11607
12081
|
request: {
|
@@ -11609,24 +12083,34 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
11609
12083
|
};
|
11610
12084
|
response: OpenFin_2.NativeWindowIntegrationProviderAuthorization;
|
11611
12085
|
};
|
12086
|
+
'register-usage': ApiCall<OpenFin_2.RegisterUsageData, void>;
|
12087
|
+
'system-get-printers': GetterCall<OpenFin_2.PrinterInfo[]>;
|
12088
|
+
'system-update-process-logging-options': ApiCall<{
|
12089
|
+
options: OpenFin_2.ProcessLoggingOptions;
|
12090
|
+
}, void>;
|
12091
|
+
'get-domain-settings': ApiCall<OpenFin_2.ApplicationIdentity, OpenFin_2.DefaultDomainSettings>;
|
12092
|
+
'set-domain-settings': ApiCall<OpenFin_2.ApplicationIdentity & {
|
12093
|
+
domainSettings: OpenFin_2.DefaultDomainSettings;
|
12094
|
+
}, void>;
|
12095
|
+
'system-register-shutdown-handler': VoidCall;
|
11612
12096
|
'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
12097
|
'fdc3-add-context-listener': VoidCall;
|
12098
|
+
'fdc3-add-intent-listener': VoidCall;
|
12099
|
+
'fdc3-raise-intent': VoidCall;
|
12100
|
+
'fdc3-find-intent': VoidCall;
|
12101
|
+
'fdc3-find-intents-by-context': VoidCall;
|
12102
|
+
'fdc3-raise-intent-for-context': VoidCall;
|
12103
|
+
'fdc3-get-info': VoidCall;
|
12104
|
+
'fdc3-find-instances': VoidCall;
|
12105
|
+
'fdc3-get-app-metadata': VoidCall;
|
11626
12106
|
'fdc3-broadcast': VoidCall;
|
12107
|
+
'fdc3-open': VoidCall;
|
12108
|
+
'fdc3-get-or-create-channel': VoidCall;
|
11627
12109
|
'fdc3-get-system-channels': VoidCall;
|
11628
12110
|
'fdc3-join-channel': VoidCall;
|
12111
|
+
'fdc3-get-current-channel': VoidCall;
|
11629
12112
|
'fdc3-leave-current-channel': VoidCall;
|
12113
|
+
'interop-init': VoidCall;
|
11630
12114
|
'interop-connect-sync': VoidCall;
|
11631
12115
|
'interop-client-set-context': VoidCall;
|
11632
12116
|
'interop-client-add-context-handler': VoidCall;
|
@@ -11635,6 +12119,13 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
11635
12119
|
'interop-client-remove-from-context-group': VoidCall;
|
11636
12120
|
'interop-client-get-all-clients-in-context-group': VoidCall;
|
11637
12121
|
'interop-client-get-info-for-context-group': VoidCall;
|
12122
|
+
'interop-client-fire-intent': VoidCall;
|
12123
|
+
'interop-client-register-intent-handler': VoidCall;
|
12124
|
+
'interop-client-get-current-context': VoidCall;
|
12125
|
+
'interop-client-get-info-for-intent': VoidCall;
|
12126
|
+
'interop-client-get-info-for-intents-by-context': VoidCall;
|
12127
|
+
'interop-client-fire-intent-for-context': VoidCall;
|
12128
|
+
'interop-client-add-ondisconnection-listener': VoidCall;
|
11638
12129
|
'interop-broker-add-client-to-context-group': VoidCall;
|
11639
12130
|
'interop-broker-get-all-clients-in-context-group': VoidCall;
|
11640
12131
|
'interop-broker-get-context-groups': VoidCall;
|
@@ -11646,13 +12137,100 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
11646
12137
|
'interop-broker-remove-from-context-group': VoidCall;
|
11647
12138
|
'interop-broker-set-context': VoidCall;
|
11648
12139
|
'interop-broker-set-context-for-group': VoidCall;
|
11649
|
-
'
|
11650
|
-
|
11651
|
-
|
11652
|
-
|
11653
|
-
|
11654
|
-
|
11655
|
-
|
12140
|
+
'interop-broker-get-current-context': VoidCall;
|
12141
|
+
'interop-broker-set-intent-target': VoidCall;
|
12142
|
+
'interop-session-context-group-set-context': VoidCall;
|
12143
|
+
'interop-session-context-group-get-context': VoidCall;
|
12144
|
+
'interop-session-context-group-add-handler': VoidCall;
|
12145
|
+
'platform-wrap': VoidCall;
|
12146
|
+
'platform-wrap-sync': VoidCall;
|
12147
|
+
'platform-get-current': VoidCall;
|
12148
|
+
'platform-get-current-sync': VoidCall;
|
12149
|
+
'platform-start': VoidCall;
|
12150
|
+
'platform-start-from-manifest': VoidCall;
|
12151
|
+
'platform-get-client': ApplicationIdentityCall<{}, void>;
|
12152
|
+
'platform-create-view': ApplicationIdentityCall<{}, void>;
|
12153
|
+
'platform-create-window': ApplicationIdentityCall<{}, void>;
|
12154
|
+
'platform-quit': ApplicationIdentityCall<{}, void>;
|
12155
|
+
'platform-close-view': ApplicationIdentityCall<{}, void>;
|
12156
|
+
'platform-reparent-view': ApplicationIdentityCall<{}, void>;
|
12157
|
+
'platform-get-snapshot': ApplicationIdentityCall<{}, void>;
|
12158
|
+
'platform-apply-snapshot': ApplicationIdentityCall<{}, void>;
|
12159
|
+
'platform-launch-content-manifest': ApplicationIdentityCall<{}, void>;
|
12160
|
+
'platform-set-window-context': ApplicationIdentityCall<{}, void>;
|
12161
|
+
'platform-get-window-context': ApplicationIdentityCall<{}, void>;
|
12162
|
+
'platform-close-window': ApplicationIdentityCall<{}, void>;
|
12163
|
+
'layout-wrap': VoidCall;
|
12164
|
+
'layout-wrap-sync': VoidCall;
|
12165
|
+
'layout-get-current': VoidCall;
|
12166
|
+
'layout-get-current-sync': VoidCall;
|
12167
|
+
'layout-init': VoidCall;
|
12168
|
+
'layout-get-config': VoidCall;
|
12169
|
+
'layout-get-views': VoidCall;
|
12170
|
+
'layout-replace': VoidCall;
|
12171
|
+
'layout-get-root-item': VoidCall;
|
12172
|
+
'layout-replace-view': VoidCall;
|
12173
|
+
'layout-apply-preset': VoidCall;
|
12174
|
+
'layout-controller-get-root': VoidCall;
|
12175
|
+
'layout-controller-get-stack-by-view': VoidCall;
|
12176
|
+
'layout-controller-get-stack-views': VoidCall;
|
12177
|
+
'layout-controller-get-content': VoidCall;
|
12178
|
+
'layout-controller-get-parent': VoidCall;
|
12179
|
+
'layout-controller-is-root': VoidCall;
|
12180
|
+
'layout-controller-exists': VoidCall;
|
12181
|
+
'layout-controller-add-view-to-stack': VoidCall;
|
12182
|
+
'layout-controller-remove-view-from-stack': VoidCall;
|
12183
|
+
'layout-controller-create-adjacent-stack': VoidCall;
|
12184
|
+
'layout-controller-get-adjacent-stacks': VoidCall;
|
12185
|
+
'layout-controller-set-stack-active-view': VoidCall;
|
12186
|
+
'snapshot-source-init': VoidCall;
|
12187
|
+
'snapshot-source-wrap-sync': VoidCall;
|
12188
|
+
'snapshot-source-wrap': VoidCall;
|
12189
|
+
'snapshot-source-ready': VoidCall;
|
12190
|
+
'snapshot-source-get-snapshot': VoidCall;
|
12191
|
+
'snapshot-source-apply-snapshot': VoidCall;
|
12192
|
+
'capture-page': IdentityCall<{
|
12193
|
+
options?: OpenFin_2.CapturePageOptions;
|
12194
|
+
}, string>;
|
12195
|
+
'execute-javascript-in-window': IdentityCall<{
|
12196
|
+
code: string;
|
12197
|
+
}, unknown>;
|
12198
|
+
'get-zoom-level': IdentityCall<{}, number>;
|
12199
|
+
'set-zoom-level': IdentityCall<{
|
12200
|
+
level: number;
|
12201
|
+
}, void>;
|
12202
|
+
'navigate-window': IdentityCall<{
|
12203
|
+
url: string;
|
12204
|
+
}, void>;
|
12205
|
+
'navigate-window-back': IdentityCall<{}, void>;
|
12206
|
+
'navigate-window-forward': IdentityCall<{}, void>;
|
12207
|
+
'stop-window-navigation': IdentityCall<{}, void>;
|
12208
|
+
'reload-window': IdentityCall<{
|
12209
|
+
ignoreCache: boolean;
|
12210
|
+
}, void>;
|
12211
|
+
'print': IdentityCall<{
|
12212
|
+
options: OpenFin_2.PrintOptions;
|
12213
|
+
}, void>;
|
12214
|
+
'find-in-page': IdentityCall<{
|
12215
|
+
searchTerm: string;
|
12216
|
+
options?: OpenFin_2.FindInPageOptions;
|
12217
|
+
}, void>;
|
12218
|
+
'stop-find-in-page': IdentityCall<{
|
12219
|
+
action: 'clearSelection' | 'keepSelection' | 'activateSelection';
|
12220
|
+
}, void>;
|
12221
|
+
'get-printers': IdentityCall<{}, OpenFin_2.PrinterInfo>;
|
12222
|
+
'focus-window': IdentityCall<{
|
12223
|
+
emitSynthFocused: boolean;
|
12224
|
+
}, void>;
|
12225
|
+
'get-process-info': IdentityCall<{}, OpenFin_2.EntityProcessDetails>;
|
12226
|
+
'get-shared-workers': IdentityCall<{}, OpenFin_2.SharedWorkerInfo[]>;
|
12227
|
+
'inspect-shared-worker': IdentityCall<{}, void>;
|
12228
|
+
'inspect-shared-worker-by-id': IdentityCall<{
|
12229
|
+
workerId: string;
|
12230
|
+
}, void>;
|
12231
|
+
'inspect-service-worker': IdentityCall<{}, void>;
|
12232
|
+
'view-show-popup-window': IdentityCall<{}, void>;
|
12233
|
+
'window-show-popup-window': IdentityCall<{}, void>;
|
11656
12234
|
'try-create-popup-window': {
|
11657
12235
|
request: OpenFin_2.Identity & {
|
11658
12236
|
options: OpenFin_2.PopupOptions;
|
@@ -11668,9 +12246,6 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
11668
12246
|
};
|
11669
12247
|
response: OpenFin_2.PopupResult;
|
11670
12248
|
};
|
11671
|
-
'dispatch-popup-result': IdentityCall<{
|
11672
|
-
data: any;
|
11673
|
-
}>;
|
11674
12249
|
'render-overlay': {
|
11675
12250
|
request: {
|
11676
12251
|
bounds: OpenFin_2.Bounds;
|
@@ -11690,40 +12265,6 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
11690
12265
|
};
|
11691
12266
|
response: void;
|
11692
12267
|
};
|
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
12268
|
}
|
11728
12269
|
|
11729
12270
|
declare interface ProtocolMapBase {
|
@@ -11753,7 +12294,7 @@ declare type ProviderIdentity_3 = OpenFin_2.ProviderIdentity;
|
|
11753
12294
|
* Identity of a channel provider.
|
11754
12295
|
* @interface
|
11755
12296
|
*/
|
11756
|
-
declare type ProviderIdentity_4 =
|
12297
|
+
declare type ProviderIdentity_4 = Identity_4 & {
|
11757
12298
|
/**
|
11758
12299
|
* Identifier of the channel.
|
11759
12300
|
*/
|
@@ -11764,12 +12305,10 @@ declare type ProviderIdentity_4 = Identity_5 & {
|
|
11764
12305
|
channelName: string;
|
11765
12306
|
};
|
11766
12307
|
|
11767
|
-
declare type ProxyConfig = OpenFin_2.ProxyConfig;
|
11768
|
-
|
11769
12308
|
/**
|
11770
12309
|
* @interface
|
11771
12310
|
*/
|
11772
|
-
declare type
|
12311
|
+
declare type ProxyConfig = {
|
11773
12312
|
/**
|
11774
12313
|
* The configured proxy address.
|
11775
12314
|
*/
|
@@ -11781,13 +12320,11 @@ declare type ProxyConfig_2 = {
|
|
11781
12320
|
type: string;
|
11782
12321
|
};
|
11783
12322
|
|
11784
|
-
declare type ProxyInfo = OpenFin_2.ProxyInfo;
|
11785
|
-
|
11786
12323
|
/**
|
11787
12324
|
* @interface
|
11788
12325
|
*/
|
11789
|
-
declare type
|
11790
|
-
config:
|
12326
|
+
declare type ProxyInfo = {
|
12327
|
+
config: ProxyConfig;
|
11791
12328
|
system: ProxySystemInfo;
|
11792
12329
|
};
|
11793
12330
|
|
@@ -11893,12 +12430,10 @@ declare type RegisterUsageData = {
|
|
11893
12430
|
type: string;
|
11894
12431
|
};
|
11895
12432
|
|
11896
|
-
declare type RegistryInfo = OpenFin_2.RegistryInfo;
|
11897
|
-
|
11898
12433
|
/**
|
11899
12434
|
* @interface
|
11900
12435
|
*/
|
11901
|
-
declare type
|
12436
|
+
declare type RegistryInfo = {
|
11902
12437
|
data: any;
|
11903
12438
|
rootKey: string;
|
11904
12439
|
subkey: string;
|
@@ -11956,14 +12491,14 @@ declare type ReplaceLayoutPayload = {
|
|
11956
12491
|
/**
|
11957
12492
|
* Identity of the window whose layout will be replaced.
|
11958
12493
|
*/
|
11959
|
-
target:
|
12494
|
+
target: Identity_4 | LayoutIdentity;
|
11960
12495
|
};
|
11961
12496
|
|
11962
12497
|
/**
|
11963
12498
|
* @interface
|
11964
12499
|
*/
|
11965
12500
|
declare type ReplaceViewOptions = {
|
11966
|
-
viewToReplace:
|
12501
|
+
viewToReplace: Identity_4;
|
11967
12502
|
newView: ViewState;
|
11968
12503
|
};
|
11969
12504
|
|
@@ -11972,7 +12507,7 @@ declare type ReplaceViewOptions = {
|
|
11972
12507
|
*/
|
11973
12508
|
declare type ReplaceViewPayload = {
|
11974
12509
|
opts: {
|
11975
|
-
viewToReplace:
|
12510
|
+
viewToReplace: Identity_4;
|
11976
12511
|
newView: Partial<ViewOptions>;
|
11977
12512
|
};
|
11978
12513
|
target: LayoutIdentity;
|
@@ -12338,7 +12873,7 @@ declare type SetWindowContextPayload = {
|
|
12338
12873
|
/**
|
12339
12874
|
* Identity of the entity targeted by the call to {@link Platform#setWindowContext Platform.setWindowContext}.
|
12340
12875
|
*/
|
12341
|
-
target:
|
12876
|
+
target: Identity_4;
|
12342
12877
|
};
|
12343
12878
|
|
12344
12879
|
/**
|
@@ -12782,7 +13317,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
12782
13317
|
* fin.System.getAllWindows().then(wins => console.log(wins)).catch(err => console.log(err));
|
12783
13318
|
* ```
|
12784
13319
|
*/
|
12785
|
-
getAllWindows(): Promise<Array<ApplicationWindowInfo>>;
|
13320
|
+
getAllWindows(): Promise<Array<OpenFin_2.ApplicationWindowInfo>>;
|
12786
13321
|
/**
|
12787
13322
|
* Retrieves an array of data for all applications.
|
12788
13323
|
*
|
@@ -12791,7 +13326,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
12791
13326
|
* fin.System.getAllApplications().then(apps => console.log(apps)).catch(err => console.log(err));
|
12792
13327
|
* ```
|
12793
13328
|
*/
|
12794
|
-
getAllApplications(): Promise<Array<ApplicationState>>;
|
13329
|
+
getAllApplications(): Promise<Array<OpenFin_2.ApplicationState>>;
|
12795
13330
|
/**
|
12796
13331
|
* Retrieves the command line argument string that started OpenFin Runtime.
|
12797
13332
|
*
|
@@ -12866,7 +13401,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
12866
13401
|
* }
|
12867
13402
|
* ```
|
12868
13403
|
*/
|
12869
|
-
getEntityInfo(uuid: string, name: string): Promise<EntityInfo>;
|
13404
|
+
getEntityInfo(uuid: string, name: string): Promise<OpenFin_2.EntityInfo>;
|
12870
13405
|
/**
|
12871
13406
|
* Gets the value of a given environment variable on the computer on which the runtime is installed
|
12872
13407
|
*
|
@@ -12908,7 +13443,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
12908
13443
|
* ```
|
12909
13444
|
*/
|
12910
13445
|
getInstalledRuntimes(): Promise<string[]>;
|
12911
|
-
getInstalledApps(): Promise<InstalledApps>;
|
13446
|
+
getInstalledApps(): Promise<OpenFin_2.InstalledApps>;
|
12912
13447
|
/**
|
12913
13448
|
* Retrieves the contents of the log with the specified filename.
|
12914
13449
|
* @param options A object that id defined by the GetLogRequestType interface
|
@@ -12923,7 +13458,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
12923
13458
|
* getLog().then(log => console.log(log)).catch(err => console.log(err));
|
12924
13459
|
* ```
|
12925
13460
|
*/
|
12926
|
-
getLog(options: GetLogRequestType): Promise<string>;
|
13461
|
+
getLog(options: OpenFin_2.GetLogRequestType): Promise<string>;
|
12927
13462
|
/**
|
12928
13463
|
* Returns a unique identifier (UUID) provided by the machine.
|
12929
13464
|
*
|
@@ -12941,7 +13476,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
12941
13476
|
* fin.System.getMinLogLevel().then(level => console.log(level)).catch(err => console.log(err));
|
12942
13477
|
* ```
|
12943
13478
|
*/
|
12944
|
-
getMinLogLevel(): Promise<LogLevel>;
|
13479
|
+
getMinLogLevel(): Promise<OpenFin_2.LogLevel>;
|
12945
13480
|
/**
|
12946
13481
|
* Retrieves an array containing information for each log file.
|
12947
13482
|
*
|
@@ -12950,7 +13485,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
12950
13485
|
* fin.System.getLogList().then(logList => console.log(logList)).catch(err => console.log(err));
|
12951
13486
|
* ```
|
12952
13487
|
*/
|
12953
|
-
getLogList(): Promise<Array<LogInfo>>;
|
13488
|
+
getLogList(): Promise<Array<OpenFin_2.LogInfo>>;
|
12954
13489
|
/**
|
12955
13490
|
* Retrieves an object that contains data about the monitor setup of the
|
12956
13491
|
* computer that the runtime is running on.
|
@@ -13021,7 +13556,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
13021
13556
|
* }
|
13022
13557
|
* ```
|
13023
13558
|
*/
|
13024
|
-
getProxySettings(): Promise<ProxyInfo>;
|
13559
|
+
getProxySettings(): Promise<OpenFin_2.ProxyInfo>;
|
13025
13560
|
/**
|
13026
13561
|
* Returns information about the running Runtime in an object.
|
13027
13562
|
*
|
@@ -13388,7 +13923,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
13388
13923
|
* }
|
13389
13924
|
* ```
|
13390
13925
|
*/
|
13391
|
-
launchExternalProcess(options: OpenFin_2.ExternalProcessRequestType): Promise<
|
13926
|
+
launchExternalProcess(options: OpenFin_2.ExternalProcessRequestType): Promise<Identity>;
|
13392
13927
|
/**
|
13393
13928
|
* Monitors a running process. A pid for the process must be included in options.
|
13394
13929
|
* <br> A uuid may be optionally provided. If not provided, OpenFin will create a uuid for the new process.
|
@@ -13405,7 +13940,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
13405
13940
|
* }).then(processIdentity => console.log(processIdentity)).catch(err => console.log(err));
|
13406
13941
|
* ```
|
13407
13942
|
*/
|
13408
|
-
monitorExternalProcess(options: OpenFin_2.ExternalProcessInfo): Promise<
|
13943
|
+
monitorExternalProcess(options: OpenFin_2.ExternalProcessInfo): Promise<Identity>;
|
13409
13944
|
/**
|
13410
13945
|
* Writes the passed message into both the log file and the console.
|
13411
13946
|
* @param level The log level for the entry. Can be either "info", "warning" or "error"
|
@@ -13539,7 +14074,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
13539
14074
|
*
|
13540
14075
|
* @tutorial System.showDeveloperTools
|
13541
14076
|
*/
|
13542
|
-
showDeveloperTools(identity:
|
14077
|
+
showDeveloperTools(identity: Identity): Promise<void>;
|
13543
14078
|
/**
|
13544
14079
|
* Attempt to close an external process. The process will be terminated if it
|
13545
14080
|
* has not closed after the elapsed timeout in milliseconds.
|
@@ -13573,7 +14108,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
13573
14108
|
* .catch(err => console.error(err));
|
13574
14109
|
* ```
|
13575
14110
|
*/
|
13576
|
-
updateProxySettings(options: ProxyConfig): Promise<void>;
|
14111
|
+
updateProxySettings(options: OpenFin_2.ProxyConfig): Promise<void>;
|
13577
14112
|
/**
|
13578
14113
|
* Downloads the given application asset.
|
13579
14114
|
*
|
@@ -13665,7 +14200,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
13665
14200
|
* .catch(err => console.log(err));
|
13666
14201
|
* ```
|
13667
14202
|
*/
|
13668
|
-
getAllExternalApplications(): Promise<Array<
|
14203
|
+
getAllExternalApplications(): Promise<Array<Identity>>;
|
13669
14204
|
/**
|
13670
14205
|
* Retrieves app asset information.
|
13671
14206
|
* @param options
|
@@ -13694,7 +14229,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
13694
14229
|
* fin.System.setMinLogLevel("verbose").then(() => console.log("log level is set to verbose")).catch(err => console.log(err));
|
13695
14230
|
* ```
|
13696
14231
|
*/
|
13697
|
-
setMinLogLevel(level: LogLevel): Promise<void>;
|
14232
|
+
setMinLogLevel(level: OpenFin_2.LogLevel): Promise<void>;
|
13698
14233
|
/**
|
13699
14234
|
* Retrieves the UUID of the computer on which the runtime is installed
|
13700
14235
|
* @param uuid The uuid of the running application
|
@@ -13704,7 +14239,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
13704
14239
|
* fin.System.resolveUuid('OpenfinPOC').then(entity => console.log(entity)).catch(err => console.log(err));
|
13705
14240
|
* ```
|
13706
14241
|
*/
|
13707
|
-
resolveUuid(uuid: string): Promise<
|
14242
|
+
resolveUuid(uuid: string): Promise<OpenFin_2.ApplicationType>;
|
13708
14243
|
/**
|
13709
14244
|
* Retrieves an array of data for all external applications
|
13710
14245
|
* @param requestingIdentity This object is described in the Identity typedef
|
@@ -13712,7 +14247,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
13712
14247
|
*
|
13713
14248
|
* @ignore
|
13714
14249
|
*/
|
13715
|
-
executeOnRemote(requestingIdentity:
|
14250
|
+
executeOnRemote(requestingIdentity: Identity, data: any): Promise<any>;
|
13716
14251
|
/**
|
13717
14252
|
* Reads the specifed value from the registry.
|
13718
14253
|
* @remarks This method is restricted by default and must be enabled via
|
@@ -13805,7 +14340,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
13805
14340
|
* }
|
13806
14341
|
* ```
|
13807
14342
|
*/
|
13808
|
-
readRegistryValue(rootKey: string, subkey: string, value: string): Promise<RegistryInfo>;
|
14343
|
+
readRegistryValue(rootKey: string, subkey: string, value: string): Promise<OpenFin_2.RegistryInfo>;
|
13809
14344
|
/**
|
13810
14345
|
* This function call will register a unique id and produce a token.
|
13811
14346
|
* The token can be used to broker an external connection.
|
@@ -14020,7 +14555,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
|
|
14020
14555
|
* });
|
14021
14556
|
* ```
|
14022
14557
|
*/
|
14023
|
-
getPrinters(): Promise<PrinterInfo[]>;
|
14558
|
+
getPrinters(): Promise<OpenFin_2.PrinterInfo[]>;
|
14024
14559
|
/**
|
14025
14560
|
* Updates Process Logging values: periodic interval and outlier detection entries and interval.
|
14026
14561
|
* @param options Process Logging updatable options.
|
@@ -14639,14 +15174,11 @@ declare type UrlChangedEvent = BaseUrlEvent & ({
|
|
14639
15174
|
declare type UserAppConfigArgs = Record<string, string | string[]>;
|
14640
15175
|
|
14641
15176
|
/**
|
14642
|
-
*
|
15177
|
+
* An event that fires when a window's bounds are changed directly by the user.
|
15178
|
+
*
|
14643
15179
|
* @interface
|
14644
15180
|
*/
|
14645
|
-
declare type UserBoundsChangeEvent =
|
14646
|
-
height: number;
|
14647
|
-
left: number;
|
14648
|
-
top: number;
|
14649
|
-
width: number;
|
15181
|
+
declare type UserBoundsChangeEvent = BoundsEvent & {
|
14650
15182
|
windowState: 'minimized' | 'normal' | 'maximized';
|
14651
15183
|
};
|
14652
15184
|
|
@@ -14975,7 +15507,7 @@ declare class View_2 extends WebContents<OpenFin_2.ViewEvent> {
|
|
14975
15507
|
*/
|
14976
15508
|
getInfo: () => Promise<OpenFin_2.ViewInfo>;
|
14977
15509
|
/**
|
14978
|
-
* Retrieves the
|
15510
|
+
* Retrieves the OpenFin.Layout instance for the Window the View is attached to.
|
14979
15511
|
*
|
14980
15512
|
* @example
|
14981
15513
|
* ```js
|
@@ -15139,6 +15671,24 @@ declare type ViewContentCreationRule = BaseContentCreationRule & {
|
|
15139
15671
|
options?: Partial<ViewOptions>;
|
15140
15672
|
};
|
15141
15673
|
|
15674
|
+
/**
|
15675
|
+
* @interface
|
15676
|
+
*/
|
15677
|
+
declare type ViewCreationFailure = {
|
15678
|
+
/**
|
15679
|
+
* The identity of the created view
|
15680
|
+
*/
|
15681
|
+
identity: Identity_4;
|
15682
|
+
/**
|
15683
|
+
* Whether the view was created with errors
|
15684
|
+
*/
|
15685
|
+
success: false;
|
15686
|
+
/**
|
15687
|
+
* Error thrown during view creation
|
15688
|
+
*/
|
15689
|
+
error: Error;
|
15690
|
+
};
|
15691
|
+
|
15142
15692
|
/**
|
15143
15693
|
* The options object required by {@link View.ViewModule.create View.create}.
|
15144
15694
|
*
|
@@ -15149,11 +15699,30 @@ declare type ViewContentCreationRule = BaseContentCreationRule & {
|
|
15149
15699
|
declare type ViewCreationOptions = Partial<ViewOptions> & {
|
15150
15700
|
name: string;
|
15151
15701
|
url: string;
|
15152
|
-
target:
|
15702
|
+
target: Identity_4;
|
15153
15703
|
};
|
15154
15704
|
|
15155
15705
|
declare type ViewCreationOrReference = OpenFin_2.Identity | OpenFin_2.PlatformViewCreationOptions;
|
15156
15706
|
|
15707
|
+
/**
|
15708
|
+
* A view creation state
|
15709
|
+
*/
|
15710
|
+
declare type ViewCreationResult = ViewCreationSuccess | ViewCreationFailure;
|
15711
|
+
|
15712
|
+
/**
|
15713
|
+
* @interface
|
15714
|
+
*/
|
15715
|
+
declare type ViewCreationSuccess = {
|
15716
|
+
/**
|
15717
|
+
* The identity of the created view
|
15718
|
+
*/
|
15719
|
+
identity: Identity_4;
|
15720
|
+
/**
|
15721
|
+
* Whether the view was created without errors
|
15722
|
+
*/
|
15723
|
+
success: true;
|
15724
|
+
};
|
15725
|
+
|
15157
15726
|
/**
|
15158
15727
|
* Generated when a window has a view detached from it.
|
15159
15728
|
* @remarks Will fire when a view is destroyed in which case `target` will be null.
|
@@ -15335,15 +15904,15 @@ declare interface ViewsPreventingUnloadPayload {
|
|
15335
15904
|
/**
|
15336
15905
|
* Identity of the Window.
|
15337
15906
|
*/
|
15338
|
-
windowId:
|
15907
|
+
windowId: Identity_4;
|
15339
15908
|
/**
|
15340
15909
|
* Identities of the Views that are preventing an unload
|
15341
15910
|
*/
|
15342
|
-
viewsPreventingUnload:
|
15911
|
+
viewsPreventingUnload: Identity_4[];
|
15343
15912
|
/**
|
15344
15913
|
* Identities of the Views that are not preventing an unload
|
15345
15914
|
*/
|
15346
|
-
viewsNotPreventingUnload:
|
15915
|
+
viewsNotPreventingUnload: Identity_4[];
|
15347
15916
|
/**
|
15348
15917
|
* Source of the close action.
|
15349
15918
|
*/
|
@@ -15368,11 +15937,11 @@ declare interface ViewStatuses {
|
|
15368
15937
|
/**
|
15369
15938
|
* Identities of the Views that are preventing an unload.
|
15370
15939
|
*/
|
15371
|
-
viewsPreventingUnload:
|
15940
|
+
viewsPreventingUnload: Identity_4[];
|
15372
15941
|
/**
|
15373
15942
|
* Identities of the Views that are not preventing an unload.
|
15374
15943
|
*/
|
15375
|
-
viewsNotPreventingUnload:
|
15944
|
+
viewsNotPreventingUnload: Identity_4[];
|
15376
15945
|
}
|
15377
15946
|
|
15378
15947
|
/**
|
@@ -15877,7 +16446,7 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
|
|
15877
16446
|
* We do not expose an explicit superclass for this functionality, but it does have its own
|
15878
16447
|
* {@link OpenFin.WebContentsEvents event namespace}.
|
15879
16448
|
*/
|
15880
|
-
stopFindInPage(action:
|
16449
|
+
stopFindInPage(action: 'clearSelection' | 'keepSelection' | 'activateSelection'): Promise<void>;
|
15881
16450
|
/**
|
15882
16451
|
* Returns an array with all system printers
|
15883
16452
|
* @deprecated use System.getPrinters instead
|
@@ -16470,11 +17039,7 @@ declare type WillMoveEvent = WillMoveOrResizeEvent & {
|
|
16470
17039
|
* A general will-move or will-resize event without event type.
|
16471
17040
|
* @interface
|
16472
17041
|
*/
|
16473
|
-
declare type WillMoveOrResizeEvent =
|
16474
|
-
height: number;
|
16475
|
-
left: number;
|
16476
|
-
top: number;
|
16477
|
-
width: number;
|
17042
|
+
declare type WillMoveOrResizeEvent = BoundsEvent & {
|
16478
17043
|
monitorScaleFactor: number;
|
16479
17044
|
};
|
16480
17045
|
|
@@ -17666,16 +18231,21 @@ declare namespace WindowEvents {
|
|
17666
18231
|
PreloadScriptInfoRunning,
|
17667
18232
|
PreloadScriptInfo,
|
17668
18233
|
PreloadScriptsStateChangeEvent,
|
17669
|
-
|
18234
|
+
BoundsEvent,
|
17670
18235
|
BoundsChangeEvent,
|
17671
18236
|
WillMoveOrResizeEvent,
|
18237
|
+
BoundsDidChangeEvent,
|
18238
|
+
BoundsChangedEvent,
|
18239
|
+
BoundsChangingEvent,
|
18240
|
+
DisabledMovementBoundsChangedEvent,
|
18241
|
+
DisabledMovementBoundsChangingEvent,
|
18242
|
+
UserBoundsChangeEvent,
|
18243
|
+
BeginUserBoundsChangingEvent,
|
18244
|
+
EndUserBoundsChangingEvent,
|
17672
18245
|
PerformanceReportEvent,
|
17673
18246
|
InputEvent_2 as InputEvent,
|
17674
18247
|
LayoutInitializedEvent,
|
17675
18248
|
LayoutReadyEvent,
|
17676
|
-
BeginUserBoundsChangingEvent,
|
17677
|
-
BoundsChangedEvent,
|
17678
|
-
BoundsChangingEvent,
|
17679
18249
|
CloseRequestedEvent,
|
17680
18250
|
WindowCloseRequestedEvent,
|
17681
18251
|
ContextChangedEvent,
|
@@ -17683,10 +18253,7 @@ declare namespace WindowEvents {
|
|
17683
18253
|
WindowClosedEvent,
|
17684
18254
|
ClosingEvent,
|
17685
18255
|
WindowClosingEvent,
|
17686
|
-
DisabledMovementBoundsChangedEvent,
|
17687
|
-
DisabledMovementBoundsChangingEvent,
|
17688
18256
|
EmbeddedEvent,
|
17689
|
-
EndUserBoundsChangingEvent,
|
17690
18257
|
HotkeyEvent_2 as HotkeyEvent,
|
17691
18258
|
WindowHotkeyEvent,
|
17692
18259
|
InitializedEvent_2 as InitializedEvent,
|