@openfin/fdc3-api 39.83.23 → 40.82.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/out/fdc3-api-alpha.d.ts +229 -1099
- package/out/fdc3-api-beta.d.ts +229 -1099
- package/out/fdc3-api-public.d.ts +229 -1099
- package/out/fdc3-api.d.ts +229 -1102
- package/out/fdc3-api.js +7 -39
- package/package.json +2 -3
package/out/fdc3-api.d.ts
CHANGED
|
@@ -42,15 +42,6 @@ declare type Accelerator = {
|
|
|
42
42
|
zoom: boolean;
|
|
43
43
|
};
|
|
44
44
|
|
|
45
|
-
/**
|
|
46
|
-
* Generated when a View is added to a layout.
|
|
47
|
-
* @interface
|
|
48
|
-
*/
|
|
49
|
-
declare type AddedToLayoutEvent = BaseEvent_4 & {
|
|
50
|
-
type: 'added-to-layout';
|
|
51
|
-
layoutIdentity: OpenFin.LayoutIdentity;
|
|
52
|
-
};
|
|
53
|
-
|
|
54
45
|
/**
|
|
55
46
|
* Options to use when adding a view to a {@link TabStack}.
|
|
56
47
|
*
|
|
@@ -58,7 +49,7 @@ declare type AddedToLayoutEvent = BaseEvent_4 & {
|
|
|
58
49
|
*/
|
|
59
50
|
declare type AddViewOptions = CreateViewTarget & {
|
|
60
51
|
options: ViewState;
|
|
61
|
-
targetView?:
|
|
52
|
+
targetView?: Identity_5;
|
|
62
53
|
};
|
|
63
54
|
|
|
64
55
|
/**
|
|
@@ -936,15 +927,15 @@ declare namespace ApplicationEvents {
|
|
|
936
927
|
*/
|
|
937
928
|
declare type ApplicationEventType = EventType_3;
|
|
938
929
|
|
|
930
|
+
declare type ApplicationIdentity = OpenFin.ApplicationIdentity;
|
|
931
|
+
|
|
939
932
|
/**
|
|
940
933
|
* @interface
|
|
941
934
|
*/
|
|
942
|
-
declare type
|
|
935
|
+
declare type ApplicationIdentity_2 = {
|
|
943
936
|
uuid: string;
|
|
944
937
|
};
|
|
945
938
|
|
|
946
|
-
declare type ApplicationIdentityCall<AdditionalPayload = {}, Response = void> = ApiCall<AdditionalPayload & OpenFin.ApplicationIdentity, Response>;
|
|
947
|
-
|
|
948
939
|
/**
|
|
949
940
|
* @interface
|
|
950
941
|
*/
|
|
@@ -1317,10 +1308,12 @@ declare type ApplicationSourcedEvent = ClosedEvent | ConnectedEvent_2 | CrashedE
|
|
|
1317
1308
|
*/
|
|
1318
1309
|
declare type ApplicationSourcedEventType = ApplicationSourcedEvent['type'];
|
|
1319
1310
|
|
|
1311
|
+
declare type ApplicationState = OpenFin.ApplicationState;
|
|
1312
|
+
|
|
1320
1313
|
/**
|
|
1321
1314
|
* @interface
|
|
1322
1315
|
*/
|
|
1323
|
-
declare type
|
|
1316
|
+
declare type ApplicationState_2 = {
|
|
1324
1317
|
/**
|
|
1325
1318
|
* True when the application is a Platform controller
|
|
1326
1319
|
*/
|
|
@@ -1352,10 +1345,12 @@ declare type ApplicationType = {
|
|
|
1352
1345
|
*/
|
|
1353
1346
|
declare type ApplicationWindowEvent = WindowAlertRequestedEvent | WindowCreatedEvent | WindowEndLoadEvent | WindowNotRespondingEvent | WindowRespondingEvent | WindowStartLoadEvent;
|
|
1354
1347
|
|
|
1348
|
+
declare type ApplicationWindowInfo = OpenFin.ApplicationWindowInfo;
|
|
1349
|
+
|
|
1355
1350
|
/**
|
|
1356
1351
|
* @interface
|
|
1357
1352
|
*/
|
|
1358
|
-
declare type
|
|
1353
|
+
declare type ApplicationWindowInfo_2 = {
|
|
1359
1354
|
childWindows: Array<WindowDetail>;
|
|
1360
1355
|
mainWindow: WindowDetail;
|
|
1361
1356
|
/**
|
|
@@ -1631,7 +1626,7 @@ declare class Base {
|
|
|
1631
1626
|
* @deprecated `me` should only be accessed from the `fin` global ({@link FinApi.me}); access through entity classes is not
|
|
1632
1627
|
* guaranteed to behave sensibly in all calling contexts.
|
|
1633
1628
|
*/
|
|
1634
|
-
get me():
|
|
1629
|
+
get me(): Identity;
|
|
1635
1630
|
/**
|
|
1636
1631
|
* @internal
|
|
1637
1632
|
* @deprecated
|
|
@@ -1863,12 +1858,11 @@ declare type BeforeUnloadUserDecision = {
|
|
|
1863
1858
|
/**
|
|
1864
1859
|
* Array of views that will close.
|
|
1865
1860
|
*/
|
|
1866
|
-
viewsToClose:
|
|
1861
|
+
viewsToClose: Identity_5[];
|
|
1867
1862
|
};
|
|
1868
1863
|
|
|
1869
1864
|
/**
|
|
1870
1865
|
* Generated at the beginning of a user-driven change to a window's size or position.
|
|
1871
|
-
*
|
|
1872
1866
|
* @interface
|
|
1873
1867
|
*/
|
|
1874
1868
|
declare type BeginUserBoundsChangingEvent = UserBoundsChangeEvent & {
|
|
@@ -1909,33 +1903,31 @@ declare type Bounds = {
|
|
|
1909
1903
|
* Generated after changes in a window's size and/or position.
|
|
1910
1904
|
* @interface
|
|
1911
1905
|
*/
|
|
1912
|
-
declare type BoundsChangedEvent =
|
|
1906
|
+
declare type BoundsChangedEvent = BoundsChangeEvent & {
|
|
1913
1907
|
type: 'bounds-changed';
|
|
1914
1908
|
};
|
|
1915
1909
|
|
|
1916
|
-
declare type BoundsChangeEvent = BoundsEvent & {
|
|
1917
|
-
changeType: 0 | 1 | 2;
|
|
1918
|
-
};
|
|
1919
|
-
|
|
1920
1910
|
/**
|
|
1921
|
-
*
|
|
1911
|
+
* A general bounds change event without event type.
|
|
1922
1912
|
* @interface
|
|
1923
1913
|
*/
|
|
1924
|
-
declare type
|
|
1925
|
-
|
|
1914
|
+
declare type BoundsChangeEvent = BaseEvent_5 & {
|
|
1915
|
+
changeType: 0 | 1 | 2;
|
|
1916
|
+
deferred: boolean;
|
|
1917
|
+
height: number;
|
|
1918
|
+
left: number;
|
|
1919
|
+
top: number;
|
|
1920
|
+
width: number;
|
|
1926
1921
|
};
|
|
1927
1922
|
|
|
1928
1923
|
/**
|
|
1929
|
-
*
|
|
1930
|
-
*
|
|
1924
|
+
* Generated during changes to a window's size and/or position.
|
|
1931
1925
|
* @interface
|
|
1932
1926
|
*/
|
|
1933
|
-
declare type
|
|
1934
|
-
|
|
1927
|
+
declare type BoundsChangingEvent = BoundsChangeEvent & {
|
|
1928
|
+
type: 'bounds-changing';
|
|
1935
1929
|
};
|
|
1936
1930
|
|
|
1937
|
-
declare type BoundsEvent = BaseEvent_5 & OpenFin.Bounds;
|
|
1938
|
-
|
|
1939
1931
|
/**
|
|
1940
1932
|
* A rule prescribing content creation in the browser.
|
|
1941
1933
|
*
|
|
@@ -2993,18 +2985,6 @@ declare type ChildWindowCreatedEvent = ContentCreationRulesEvent & {
|
|
|
2993
2985
|
childOptions: OpenFin.WindowOptions;
|
|
2994
2986
|
};
|
|
2995
2987
|
|
|
2996
|
-
/**
|
|
2997
|
-
* Control behavior for Chromium policies
|
|
2998
|
-
*
|
|
2999
|
-
* @interface
|
|
3000
|
-
*/
|
|
3001
|
-
declare type ChromiumPolicies = {
|
|
3002
|
-
/**
|
|
3003
|
-
* Disable AutofillAddressEnabled policy for a Window or View.
|
|
3004
|
-
*/
|
|
3005
|
-
AutofillAddressEnabled?: PolicyOptions;
|
|
3006
|
-
};
|
|
3007
|
-
|
|
3008
2988
|
declare interface ClassicProtocolOffer extends ProtocolPacketBase {
|
|
3009
2989
|
type: 'classic';
|
|
3010
2990
|
}
|
|
@@ -3053,7 +3033,7 @@ declare type ClientConnectionPayload = ClientIdentity & ClientInfo;
|
|
|
3053
3033
|
* Identity of a channel client. Includes endpointId to differentiate between different connections for an entity.
|
|
3054
3034
|
* @interface
|
|
3055
3035
|
*/
|
|
3056
|
-
declare type ClientIdentity =
|
|
3036
|
+
declare type ClientIdentity = Identity_5 & {
|
|
3057
3037
|
/**
|
|
3058
3038
|
* Unique identifier for a client, because there can be multiple clients at one name/uuid entity.
|
|
3059
3039
|
*/
|
|
@@ -3286,7 +3266,7 @@ declare type CloseViewOptions = {
|
|
|
3286
3266
|
/**
|
|
3287
3267
|
*View to be closed.
|
|
3288
3268
|
*/
|
|
3289
|
-
viewIdentity:
|
|
3269
|
+
viewIdentity: Identity_5;
|
|
3290
3270
|
};
|
|
3291
3271
|
|
|
3292
3272
|
/**
|
|
@@ -3296,7 +3276,7 @@ declare type CloseViewPayload = {
|
|
|
3296
3276
|
/**
|
|
3297
3277
|
*View to be closed.
|
|
3298
3278
|
*/
|
|
3299
|
-
view:
|
|
3279
|
+
view: Identity_5;
|
|
3300
3280
|
/**
|
|
3301
3281
|
* The target layout identity where this view should be closed. If not provided, will resolve to the
|
|
3302
3282
|
* visible layout.
|
|
@@ -3314,7 +3294,7 @@ declare interface CloseWindowPayload {
|
|
|
3314
3294
|
*
|
|
3315
3295
|
* Identity of the Window
|
|
3316
3296
|
*/
|
|
3317
|
-
windowId:
|
|
3297
|
+
windowId: Identity_5;
|
|
3318
3298
|
options: {
|
|
3319
3299
|
/**
|
|
3320
3300
|
* @defaultValue false
|
|
@@ -3435,7 +3415,7 @@ declare type ConstViewOptions = {
|
|
|
3435
3415
|
/**
|
|
3436
3416
|
* The identity of the window this view should be attached to.
|
|
3437
3417
|
*/
|
|
3438
|
-
target:
|
|
3418
|
+
target: Identity_5;
|
|
3439
3419
|
/**
|
|
3440
3420
|
* Configures how new content (e,g, from `window.open` or a link) is opened.
|
|
3441
3421
|
*/
|
|
@@ -3519,10 +3499,6 @@ declare type ConstViewOptions = {
|
|
|
3519
3499
|
*/
|
|
3520
3500
|
enabled: boolean;
|
|
3521
3501
|
};
|
|
3522
|
-
/**
|
|
3523
|
-
* Control which options to ignore when creating a Platform View.
|
|
3524
|
-
*/
|
|
3525
|
-
excludeOptions: ExcludeOptions;
|
|
3526
3502
|
};
|
|
3527
3503
|
|
|
3528
3504
|
/**
|
|
@@ -3664,7 +3640,7 @@ declare type ConstWindowOptions = {
|
|
|
3664
3640
|
/**
|
|
3665
3641
|
* Parent identity of a modal window. It will create a modal child window when this option is set.
|
|
3666
3642
|
*/
|
|
3667
|
-
modalParentIdentity:
|
|
3643
|
+
modalParentIdentity: Identity_5;
|
|
3668
3644
|
/**
|
|
3669
3645
|
* The name of the window.
|
|
3670
3646
|
*/
|
|
@@ -3682,9 +3658,7 @@ declare type ConstWindowOptions = {
|
|
|
3682
3658
|
*/
|
|
3683
3659
|
preloadScripts: PreloadScript[];
|
|
3684
3660
|
/**
|
|
3685
|
-
* String tag that attempts to group like-tagged renderers together.
|
|
3686
|
-
* 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.
|
|
3687
|
-
* @remarks Will only be used if pages are on the same origin.
|
|
3661
|
+
* String tag that attempts to group like-tagged renderers together. Will only be used if pages are on the same origin.
|
|
3688
3662
|
*/
|
|
3689
3663
|
processAffinity: string;
|
|
3690
3664
|
/**
|
|
@@ -3731,6 +3705,11 @@ declare type ConstWindowOptions = {
|
|
|
3731
3705
|
* @deprecated - use `icon` instead.
|
|
3732
3706
|
*/
|
|
3733
3707
|
taskbarIcon: string;
|
|
3708
|
+
/**
|
|
3709
|
+
* Specify a taskbar group for the window.
|
|
3710
|
+
* _If omitted, defaults to app's uuid (`fin.Application.getCurrentSync().identity.uuid`)._
|
|
3711
|
+
*/
|
|
3712
|
+
taskbarIconGroup: string;
|
|
3734
3713
|
/**
|
|
3735
3714
|
* @defaultValue "about:blank"
|
|
3736
3715
|
*
|
|
@@ -3767,10 +3746,6 @@ declare type ConstWindowOptions = {
|
|
|
3767
3746
|
* Controls whether an option is inherited from the parent application. The option is set as part of the window options for the parent application in either the {@link Manifest.startup_app} or {@link Manifest.platform} properties in the manifest or in {@link ApplicationOptions.mainWindowOptions} when calling {@link Application.ApplicationModule.start Application.start}. Use { [option]: false } to disable a specific [option]. All inheritable properties will be inherited by default if omitted.
|
|
3768
3747
|
*/
|
|
3769
3748
|
inheritance?: Partial<InheritableOptions>;
|
|
3770
|
-
/**
|
|
3771
|
-
* Control which options to ignore when creating a Platform Window.
|
|
3772
|
-
*/
|
|
3773
|
-
excludeOptions: ExcludeOptions;
|
|
3774
3749
|
};
|
|
3775
3750
|
|
|
3776
3751
|
/**
|
|
@@ -3783,7 +3758,6 @@ declare type ContainerCreatedEvent = LayoutDOMEvent & {
|
|
|
3783
3758
|
|
|
3784
3759
|
/**
|
|
3785
3760
|
* Generated when content navigation or redirection is blocked by {@link OpenFin.DomainSettings}.
|
|
3786
|
-
* @interface
|
|
3787
3761
|
*/
|
|
3788
3762
|
declare type ContentBlockedEvent = NamedEvent & {
|
|
3789
3763
|
type: 'content-blocked';
|
|
@@ -4149,13 +4123,13 @@ declare type CreateViewPayload = {
|
|
|
4149
4123
|
* Window the view will be added to. If no target is provided, a new window will be created.
|
|
4150
4124
|
*/
|
|
4151
4125
|
target?: CreateViewTarget;
|
|
4152
|
-
targetView?:
|
|
4126
|
+
targetView?: Identity_5;
|
|
4153
4127
|
};
|
|
4154
4128
|
|
|
4155
4129
|
/**
|
|
4156
4130
|
* @interface
|
|
4157
4131
|
*/
|
|
4158
|
-
declare type CreateViewTarget = (
|
|
4132
|
+
declare type CreateViewTarget = (Identity_5 | LayoutIdentity) & {
|
|
4159
4133
|
/**
|
|
4160
4134
|
* If specified, view creation will not attach to a window and caller must
|
|
4161
4135
|
* insert the view into the layout explicitly
|
|
@@ -4601,7 +4575,7 @@ declare type EmitterAccessor = string[];
|
|
|
4601
4575
|
declare class EmitterBase<EmitterEvent extends BaseEvent, EmitterEventType extends EmitterEvent['type'] = EmitterEvent['type']> extends Base {
|
|
4602
4576
|
#private;
|
|
4603
4577
|
private topic;
|
|
4604
|
-
protected identity:
|
|
4578
|
+
protected identity: ApplicationIdentity;
|
|
4605
4579
|
constructor(wire: Transport, topic: string, ...additionalAccessors: string[]);
|
|
4606
4580
|
eventNames: () => (string | symbol)[];
|
|
4607
4581
|
/**
|
|
@@ -4681,17 +4655,20 @@ declare type EndLoadEvent = BaseEvent_5 & {
|
|
|
4681
4655
|
|
|
4682
4656
|
/**
|
|
4683
4657
|
* Generated at the end of a user-driven change to a window's size or position.
|
|
4684
|
-
*
|
|
4685
4658
|
* @interface
|
|
4686
4659
|
*/
|
|
4687
4660
|
declare type EndUserBoundsChangingEvent = UserBoundsChangeEvent & {
|
|
4688
4661
|
type: 'end-user-bounds-changing';
|
|
4689
4662
|
};
|
|
4690
4663
|
|
|
4664
|
+
declare type Entity = OpenFin.ApplicationType;
|
|
4665
|
+
|
|
4666
|
+
declare type EntityInfo = OpenFin.EntityInfo;
|
|
4667
|
+
|
|
4691
4668
|
/**
|
|
4692
4669
|
* @interface
|
|
4693
4670
|
*/
|
|
4694
|
-
declare type
|
|
4671
|
+
declare type EntityInfo_2 = {
|
|
4695
4672
|
uuid: string;
|
|
4696
4673
|
name: string;
|
|
4697
4674
|
entityType: EntityType_4;
|
|
@@ -4777,7 +4754,6 @@ declare interface Environment {
|
|
|
4777
4754
|
getInteropInfo(fin: OpenFin.Fin<OpenFin.EntityType>): Promise<InternalInteropBrokerOptions & {
|
|
4778
4755
|
fdc3Version?: Version;
|
|
4779
4756
|
}>;
|
|
4780
|
-
getViewWindowIdentity(fin: OpenFin.Fin<OpenFin.EntityType>, identity: OpenFin.Identity): Promise<OpenFin.Identity>;
|
|
4781
4757
|
readonly type: EnvironmentType;
|
|
4782
4758
|
}
|
|
4783
4759
|
|
|
@@ -4810,7 +4786,7 @@ declare type Event_10 = ApplicationEvents.Event | ApiReadyEvent | SnapshotApplie
|
|
|
4810
4786
|
* under the {@link OpenFin.SystemEvents} namespace (payloads inherited from propagated events are defined in the namespace
|
|
4811
4787
|
* from which they propagate).
|
|
4812
4788
|
*/
|
|
4813
|
-
declare type Event_11 = ExcludeRequested<WindowEvents.PropagatedEvent<'system'>> | ExcludeRequested<ViewEvents.PropagatedEvent<'system'>> | ExcludeRequested<ApplicationEvents.PropagatedEvent<'system'>> | ApplicationCreatedEvent | DesktopIconClickedEvent | IdleStateChangedEvent | MonitorInfoChangedEvent | SessionChangedEvent | AppVersionEventWithId | SystemShutdownEvent
|
|
4789
|
+
declare type Event_11 = ExcludeRequested<WindowEvents.PropagatedEvent<'system'>> | ExcludeRequested<ViewEvents.PropagatedEvent<'system'>> | ExcludeRequested<ApplicationEvents.PropagatedEvent<'system'>> | ApplicationCreatedEvent | DesktopIconClickedEvent | IdleStateChangedEvent | MonitorInfoChangedEvent | SessionChangedEvent | AppVersionEventWithId | SystemShutdownEvent;
|
|
4814
4790
|
|
|
4815
4791
|
/**
|
|
4816
4792
|
* [Union](https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#union-types) containing every possible event that can be emitted by the HTMLElement Layout container.
|
|
@@ -4842,7 +4818,7 @@ declare type Event_3 = ViewEvents.PropagatedEvent<'application'> | WindowEvents.
|
|
|
4842
4818
|
*/
|
|
4843
4819
|
declare type Event_4 = (WebContentsEvents.Event<'view'> & {
|
|
4844
4820
|
target: OpenFin.Identity;
|
|
4845
|
-
}) | CreatedEvent | DestroyedEvent | HiddenEvent | HotkeyEvent | ShownEvent | TargetChangedEvent | HostContextChangedEvent
|
|
4821
|
+
}) | CreatedEvent | DestroyedEvent | HiddenEvent | HotkeyEvent | ShownEvent | TargetChangedEvent | HostContextChangedEvent;
|
|
4846
4822
|
|
|
4847
4823
|
/**
|
|
4848
4824
|
* [Union](https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#union-types) containing events shared by all WebContents elements
|
|
@@ -4964,18 +4940,6 @@ declare type EventWithId<Event extends AppVersionEvent> = Event extends infer E
|
|
|
4964
4940
|
appVersionId: string;
|
|
4965
4941
|
} : never;
|
|
4966
4942
|
|
|
4967
|
-
/**
|
|
4968
|
-
* @interface
|
|
4969
|
-
*/
|
|
4970
|
-
declare type ExcludeOptions = {
|
|
4971
|
-
/**
|
|
4972
|
-
* @defaultValue false
|
|
4973
|
-
*
|
|
4974
|
-
* When true, will not merge default preload scripts from {@link ApplicationOptions.defaultWindowOptions} or {@link ApplicationOptions.defaultViewOptions}.
|
|
4975
|
-
*/
|
|
4976
|
-
preloadScripts: boolean;
|
|
4977
|
-
};
|
|
4978
|
-
|
|
4979
4943
|
/**
|
|
4980
4944
|
* @internal
|
|
4981
4945
|
*
|
|
@@ -5000,105 +4964,6 @@ declare type ExitCode = {
|
|
|
5000
4964
|
exitCode: number;
|
|
5001
4965
|
};
|
|
5002
4966
|
|
|
5003
|
-
declare type ExtensionEvent = SecurityRealmEvent & {
|
|
5004
|
-
/**
|
|
5005
|
-
* Runtime extension whose status has been (possibly) modified
|
|
5006
|
-
*/
|
|
5007
|
-
extension: string;
|
|
5008
|
-
};
|
|
5009
|
-
|
|
5010
|
-
/**
|
|
5011
|
-
* @interface
|
|
5012
|
-
*/
|
|
5013
|
-
declare type ExtensionInfo = {
|
|
5014
|
-
extensionId: string;
|
|
5015
|
-
name: string;
|
|
5016
|
-
enabled: boolean;
|
|
5017
|
-
};
|
|
5018
|
-
|
|
5019
|
-
/**
|
|
5020
|
-
* An event that fires when an extension is installed in the security realm.
|
|
5021
|
-
*
|
|
5022
|
-
* @interface
|
|
5023
|
-
*/
|
|
5024
|
-
declare type ExtensionInstalledEvent = ExtensionEvent & {
|
|
5025
|
-
type: 'extension-installed';
|
|
5026
|
-
};
|
|
5027
|
-
|
|
5028
|
-
/**
|
|
5029
|
-
* An event that fires when an extension fails to install in the security realm.
|
|
5030
|
-
*
|
|
5031
|
-
* @interface
|
|
5032
|
-
*/
|
|
5033
|
-
declare type ExtensionInstallFailedEvent = ExtensionEvent & {
|
|
5034
|
-
type: 'extension-install-failed';
|
|
5035
|
-
};
|
|
5036
|
-
|
|
5037
|
-
/**
|
|
5038
|
-
* An event that fires when extensions are disabled in the security realm.
|
|
5039
|
-
*
|
|
5040
|
-
* @interface
|
|
5041
|
-
*/
|
|
5042
|
-
declare type ExtensionsDisabledEvent = ExtensionsEvent & {
|
|
5043
|
-
type: 'extensions-disabled';
|
|
5044
|
-
};
|
|
5045
|
-
|
|
5046
|
-
/**
|
|
5047
|
-
* An event that fires when extensions are enabled in the security realm.
|
|
5048
|
-
*
|
|
5049
|
-
* @interface
|
|
5050
|
-
*/
|
|
5051
|
-
declare type ExtensionsEnabledEvent = ExtensionsEvent & {
|
|
5052
|
-
type: 'extensions-enabled';
|
|
5053
|
-
};
|
|
5054
|
-
|
|
5055
|
-
declare type ExtensionsEvent = SecurityRealmEvent & {
|
|
5056
|
-
/**
|
|
5057
|
-
* Runtime extensions whose status has been (possibly) modified
|
|
5058
|
-
*/
|
|
5059
|
-
extensions: string[];
|
|
5060
|
-
};
|
|
5061
|
-
|
|
5062
|
-
/**
|
|
5063
|
-
* An event that fires when requested extensions are not allowed to be installed in the security realm.
|
|
5064
|
-
*
|
|
5065
|
-
* @interface
|
|
5066
|
-
*/
|
|
5067
|
-
declare type ExtensionsExcludedEvent = ExtensionsEvent & {
|
|
5068
|
-
type: 'extensions-excluded';
|
|
5069
|
-
};
|
|
5070
|
-
|
|
5071
|
-
/**
|
|
5072
|
-
* An event that fires when extension initialization fails on initial app launch. Users may attempt to
|
|
5073
|
-
* re-initialize extensions by calling {@link System.refreshExtensions}. This event will not fire in response
|
|
5074
|
-
* to manual extension refreshes (users should catch the error normally).
|
|
5075
|
-
*/
|
|
5076
|
-
declare type ExtensionsInitializationFailedEvent = Omit<ExtensionsEvent, 'extensions'> & {
|
|
5077
|
-
type: 'extensions-initialization-failed';
|
|
5078
|
-
/**
|
|
5079
|
-
* The error that caused the extension initialization failure
|
|
5080
|
-
*/
|
|
5081
|
-
error: Error;
|
|
5082
|
-
};
|
|
5083
|
-
|
|
5084
|
-
/**
|
|
5085
|
-
* An event that fires when extensions are installed in the security realm.
|
|
5086
|
-
*
|
|
5087
|
-
* @interface
|
|
5088
|
-
*/
|
|
5089
|
-
declare type ExtensionsInstalledEvent = ExtensionsEvent & {
|
|
5090
|
-
type: 'extensions-installed';
|
|
5091
|
-
};
|
|
5092
|
-
|
|
5093
|
-
/**
|
|
5094
|
-
* An event that fires when extensions fail to install in the security realm.
|
|
5095
|
-
*
|
|
5096
|
-
* @interface
|
|
5097
|
-
*/
|
|
5098
|
-
declare type ExtensionsInstallFailedEvent = ExtensionsEvent & {
|
|
5099
|
-
type: 'extensions-install-failed';
|
|
5100
|
-
};
|
|
5101
|
-
|
|
5102
4967
|
/**
|
|
5103
4968
|
* An ExternalApplication object representing native language adapter connections to the runtime. Allows
|
|
5104
4969
|
* the developer to listen to {@link OpenFin.ExternalApplicationEvents external application events}.
|
|
@@ -5173,7 +5038,7 @@ declare type ExternalApplicationEventType = EventType_4;
|
|
|
5173
5038
|
* @interface
|
|
5174
5039
|
*/
|
|
5175
5040
|
declare type ExternalApplicationInfo = {
|
|
5176
|
-
parent:
|
|
5041
|
+
parent: Identity_5;
|
|
5177
5042
|
};
|
|
5178
5043
|
|
|
5179
5044
|
/**
|
|
@@ -5716,10 +5581,6 @@ declare type FileDownloadEvent = {
|
|
|
5716
5581
|
* The number of bytes of the item that have already been downloaded.
|
|
5717
5582
|
*/
|
|
5718
5583
|
downloadedBytes: number;
|
|
5719
|
-
/**
|
|
5720
|
-
* Unique identifier for the downloaded file.
|
|
5721
|
-
*/
|
|
5722
|
-
fileUuid: string;
|
|
5723
5584
|
} & NamedEvent;
|
|
5724
5585
|
|
|
5725
5586
|
/**
|
|
@@ -5981,7 +5842,7 @@ declare type FrameInfo = {
|
|
|
5981
5842
|
uuid: string;
|
|
5982
5843
|
url: string;
|
|
5983
5844
|
entityType: EntityType_4;
|
|
5984
|
-
parent:
|
|
5845
|
+
parent: Identity_5;
|
|
5985
5846
|
};
|
|
5986
5847
|
|
|
5987
5848
|
/**
|
|
@@ -6056,10 +5917,12 @@ declare type FrameProcessDetails = ProcessDetails & {
|
|
|
6056
5917
|
entityType: string;
|
|
6057
5918
|
};
|
|
6058
5919
|
|
|
5920
|
+
declare type GetLogRequestType = OpenFin.GetLogRequestType;
|
|
5921
|
+
|
|
6059
5922
|
/**
|
|
6060
5923
|
* @interface
|
|
6061
5924
|
*/
|
|
6062
|
-
declare type
|
|
5925
|
+
declare type GetLogRequestType_2 = {
|
|
6063
5926
|
/**
|
|
6064
5927
|
* The name of the running application
|
|
6065
5928
|
*/
|
|
@@ -6079,7 +5942,7 @@ declare type GetWindowContextPayload = {
|
|
|
6079
5942
|
/**
|
|
6080
5943
|
* Identity of the entity targeted by the call to {@link Platform#setWindowContext Platform.setWindowContext}.
|
|
6081
5944
|
*/
|
|
6082
|
-
target:
|
|
5945
|
+
target: Identity_5;
|
|
6083
5946
|
};
|
|
6084
5947
|
|
|
6085
5948
|
/**
|
|
@@ -6348,6 +6211,8 @@ declare type Identity_2 = OpenFin.Identity;
|
|
|
6348
6211
|
|
|
6349
6212
|
declare type Identity_3 = OpenFin.Identity;
|
|
6350
6213
|
|
|
6214
|
+
declare type Identity_4 = OpenFin.Identity;
|
|
6215
|
+
|
|
6351
6216
|
/**
|
|
6352
6217
|
* Unique identifier for a window, view or iframe.
|
|
6353
6218
|
*
|
|
@@ -6356,7 +6221,7 @@ declare type Identity_3 = OpenFin.Identity;
|
|
|
6356
6221
|
*
|
|
6357
6222
|
* @interface
|
|
6358
6223
|
*/
|
|
6359
|
-
declare type
|
|
6224
|
+
declare type Identity_5 = {
|
|
6360
6225
|
/**
|
|
6361
6226
|
* Universally unique identifier of the application that owns the component.
|
|
6362
6227
|
*/
|
|
@@ -6518,10 +6383,12 @@ declare type InstallationInfo = {
|
|
|
6518
6383
|
cachedManifest: any;
|
|
6519
6384
|
};
|
|
6520
6385
|
|
|
6386
|
+
declare type InstalledApps = OpenFin.InstalledApps;
|
|
6387
|
+
|
|
6521
6388
|
/**
|
|
6522
6389
|
* @interface
|
|
6523
6390
|
*/
|
|
6524
|
-
declare type
|
|
6391
|
+
declare type InstalledApps_2 = {
|
|
6525
6392
|
[key: string]: InstallationInfo;
|
|
6526
6393
|
};
|
|
6527
6394
|
|
|
@@ -7307,7 +7174,7 @@ declare class InteropBroker extends Base {
|
|
|
7307
7174
|
* @param _id the identity tryinc to connect
|
|
7308
7175
|
* @param _connectionPayload optional payload to use in custom implementations, will be undefined by default
|
|
7309
7176
|
*/
|
|
7310
|
-
isConnectionAuthorized(_id:
|
|
7177
|
+
isConnectionAuthorized(_id: Identity_3, _connectionPayload?: any): Promise<boolean> | boolean;
|
|
7311
7178
|
/**
|
|
7312
7179
|
* Called before every action to check if this entity should be allowed to take the action.
|
|
7313
7180
|
* Return false to prevent the action
|
|
@@ -8108,10 +7975,6 @@ declare type LaunchIntoPlatformPayload = {
|
|
|
8108
7975
|
*/
|
|
8109
7976
|
declare class Layout extends Base {
|
|
8110
7977
|
#private;
|
|
8111
|
-
/**
|
|
8112
|
-
* @internal
|
|
8113
|
-
*/
|
|
8114
|
-
static getClient(layout: Layout): Promise<LayoutEntitiesClient>;
|
|
8115
7978
|
/**
|
|
8116
7979
|
* @internal
|
|
8117
7980
|
*/
|
|
@@ -8217,17 +8080,6 @@ declare class Layout extends Base {
|
|
|
8217
8080
|
* ```
|
|
8218
8081
|
*/
|
|
8219
8082
|
getRootItem(): Promise<OpenFin.ColumnOrRow | OpenFin.TabStack>;
|
|
8220
|
-
/**
|
|
8221
|
-
* Retrieves the OpenFin.TabStack instance which the View belongs to.
|
|
8222
|
-
*
|
|
8223
|
-
* @example
|
|
8224
|
-
* ```js
|
|
8225
|
-
* const viewIdentity = { uuid: 'uuid', name: 'view-name' };
|
|
8226
|
-
* const stack = await fin.View.wrapSync(viewIdentity).getStackByViewIdentity(viewIdentity);
|
|
8227
|
-
* console.log(await stack.getViews());
|
|
8228
|
-
* ```
|
|
8229
|
-
*/
|
|
8230
|
-
getStackByViewIdentity(identity: OpenFin.Identity): Promise<OpenFin.TabStack>;
|
|
8231
8083
|
/**
|
|
8232
8084
|
* Replaces the specified view with a view with the provided configuration.
|
|
8233
8085
|
*
|
|
@@ -8254,7 +8106,7 @@ declare class Layout extends Base {
|
|
|
8254
8106
|
* await layout.replaceView(viewToReplace.identity, newViewConfig);
|
|
8255
8107
|
* ```
|
|
8256
8108
|
*/
|
|
8257
|
-
replaceView: (viewToReplace:
|
|
8109
|
+
replaceView: (viewToReplace: Identity_4, newView: OpenFin.PlatformViewCreationOptions) => Promise<void>;
|
|
8258
8110
|
/**
|
|
8259
8111
|
* Replaces a Platform window's layout with a preset layout arrangement using the existing Views attached to the window.
|
|
8260
8112
|
* The preset options are `columns`, `grid`, `rows`, and `tabs`.
|
|
@@ -8281,29 +8133,6 @@ declare class Layout extends Base {
|
|
|
8281
8133
|
* ```
|
|
8282
8134
|
*/
|
|
8283
8135
|
applyPreset: (options: PresetLayoutOptions) => Promise<void>;
|
|
8284
|
-
/**
|
|
8285
|
-
* Adds a view to the platform layout. Behaves like @link{Platform#createView} with the current layout as the target.
|
|
8286
|
-
*
|
|
8287
|
-
* @param viewOptions - The options for creating the view.
|
|
8288
|
-
* @param options - Optional parameters for adding the view.
|
|
8289
|
-
* @param options.location - The location where the view should be added.
|
|
8290
|
-
* @param options.targetView - The target view to which the new view should be added.
|
|
8291
|
-
* @returns A promise that resolves to an object containing the identity of the added view.
|
|
8292
|
-
*/
|
|
8293
|
-
addView(viewOptions: OpenFin.PlatformViewCreationOptions, { location, targetView }?: {
|
|
8294
|
-
location?: OpenFin.CreateViewTarget['location'];
|
|
8295
|
-
targetView?: OpenFin.Identity;
|
|
8296
|
-
}): Promise<{
|
|
8297
|
-
identity: OpenFin.Identity;
|
|
8298
|
-
}>;
|
|
8299
|
-
/**
|
|
8300
|
-
* Closes a view by its identity. Throws an error if the view does not belong to the current layout.
|
|
8301
|
-
* Behaves like @link{Platform#closeView} but only closes the view if it belongs the current layout.
|
|
8302
|
-
*
|
|
8303
|
-
* @param viewIdentity - The identity of the view to close.
|
|
8304
|
-
* @returns A promise that resolves when the view is closed.
|
|
8305
|
-
*/
|
|
8306
|
-
closeView(viewIdentity: OpenFin.Identity): Promise<void>;
|
|
8307
8136
|
}
|
|
8308
8137
|
|
|
8309
8138
|
/**
|
|
@@ -8316,7 +8145,7 @@ declare type LayoutColumn = LayoutItemConfig & {
|
|
|
8316
8145
|
/**
|
|
8317
8146
|
* @interface
|
|
8318
8147
|
*/
|
|
8319
|
-
declare type LayoutComponent =
|
|
8148
|
+
declare type LayoutComponent = LayoutItemConfig & {
|
|
8320
8149
|
/**
|
|
8321
8150
|
* Only a component type will have this property and it should be set to view.
|
|
8322
8151
|
*/
|
|
@@ -8325,7 +8154,6 @@ declare type LayoutComponent = Omit<LayoutItemConfig, 'content' | 'type'> & {
|
|
|
8325
8154
|
* Only a component type will have this property and it represents the view options of a given component.
|
|
8326
8155
|
*/
|
|
8327
8156
|
componentState?: Partial<ViewCreationOptions>;
|
|
8328
|
-
type: 'component';
|
|
8329
8157
|
};
|
|
8330
8158
|
|
|
8331
8159
|
declare type LayoutContent = Array<LayoutItemConfig | LayoutRow | LayoutColumn | LayoutComponent>;
|
|
@@ -8333,7 +8161,7 @@ declare type LayoutContent = Array<LayoutItemConfig | LayoutRow | LayoutColumn |
|
|
|
8333
8161
|
/**
|
|
8334
8162
|
* The base payload for the CustomEvent.detail property for Layout events emitted on the layout container element.
|
|
8335
8163
|
*/
|
|
8336
|
-
declare type LayoutDOMEvent =
|
|
8164
|
+
declare type LayoutDOMEvent = Identity_5 & {
|
|
8337
8165
|
type: string;
|
|
8338
8166
|
topic: 'openfin-DOM-event';
|
|
8339
8167
|
tabSelector: string;
|
|
@@ -8394,7 +8222,7 @@ declare type LayoutEntityTypes = 'column' | 'row' | 'stack';
|
|
|
8394
8222
|
/**
|
|
8395
8223
|
* @interface
|
|
8396
8224
|
*/
|
|
8397
|
-
declare type LayoutIdentity =
|
|
8225
|
+
declare type LayoutIdentity = Identity_5 & {
|
|
8398
8226
|
/**
|
|
8399
8227
|
* The name of the layout in a given window.
|
|
8400
8228
|
*/
|
|
@@ -8409,7 +8237,10 @@ declare type LayoutIdentity = Identity_4 & {
|
|
|
8409
8237
|
declare type LayoutInitializedEvent = BaseEvent_5 & {
|
|
8410
8238
|
type: 'layout-initialized';
|
|
8411
8239
|
layoutIdentity: OpenFin.LayoutIdentity;
|
|
8412
|
-
ofViews:
|
|
8240
|
+
ofViews: {
|
|
8241
|
+
identity: OpenFin.Identity;
|
|
8242
|
+
entityType: 'view';
|
|
8243
|
+
}[];
|
|
8413
8244
|
};
|
|
8414
8245
|
|
|
8415
8246
|
/**
|
|
@@ -8500,7 +8331,7 @@ declare interface LayoutManager<T extends LayoutSnapshot> {
|
|
|
8500
8331
|
* @param identity
|
|
8501
8332
|
* @returns LayoutIdentity | undefined
|
|
8502
8333
|
*/
|
|
8503
|
-
resolveLayoutIdentity(identity?:
|
|
8334
|
+
resolveLayoutIdentity(identity?: Identity_5 | LayoutIdentity): LayoutIdentity | undefined;
|
|
8504
8335
|
/**
|
|
8505
8336
|
* @experimental
|
|
8506
8337
|
*
|
|
@@ -8517,7 +8348,7 @@ declare interface LayoutManager<T extends LayoutSnapshot> {
|
|
|
8517
8348
|
/**
|
|
8518
8349
|
* @experimental
|
|
8519
8350
|
*/
|
|
8520
|
-
getLayoutIdentityForView(viewIdentity:
|
|
8351
|
+
getLayoutIdentityForView(viewIdentity: Identity_5): LayoutIdentity;
|
|
8521
8352
|
/**
|
|
8522
8353
|
* @experimental
|
|
8523
8354
|
*/
|
|
@@ -8618,17 +8449,6 @@ declare class LayoutModule extends Base {
|
|
|
8618
8449
|
* ```
|
|
8619
8450
|
*/
|
|
8620
8451
|
getCurrentSync(): OpenFin.Layout;
|
|
8621
|
-
/**
|
|
8622
|
-
* Retrieves the OpenFin.Layout instance for the Window the View is attached to.
|
|
8623
|
-
*
|
|
8624
|
-
* @example
|
|
8625
|
-
* ```js
|
|
8626
|
-
* const viewIdentity = { uuid: 'uuid', name: 'view-name' };
|
|
8627
|
-
* const layout = await fin.Platform.Layout.getLayoutByViewIdentity(viewIdentity);
|
|
8628
|
-
* console.log(await layout.getCurrentViews());
|
|
8629
|
-
* ```
|
|
8630
|
-
*/
|
|
8631
|
-
getLayoutByViewIdentity(viewIdentity: OpenFin.Identity): Promise<OpenFin.Layout>;
|
|
8632
8452
|
/**
|
|
8633
8453
|
* Initialize the window's Layout.
|
|
8634
8454
|
*
|
|
@@ -9002,10 +8822,12 @@ declare type Listener<T extends {
|
|
|
9002
8822
|
type: string;
|
|
9003
8823
|
}> = (payload: T) => void;
|
|
9004
8824
|
|
|
8825
|
+
declare type LogInfo = OpenFin.LogInfo;
|
|
8826
|
+
|
|
9005
8827
|
/**
|
|
9006
8828
|
* @interface
|
|
9007
8829
|
*/
|
|
9008
|
-
declare type
|
|
8830
|
+
declare type LogInfo_2 = {
|
|
9009
8831
|
/**
|
|
9010
8832
|
* The filename of the log
|
|
9011
8833
|
*/
|
|
@@ -9020,6 +8842,8 @@ declare type LogInfo = {
|
|
|
9020
8842
|
date: string;
|
|
9021
8843
|
};
|
|
9022
8844
|
|
|
8845
|
+
declare type LogLevel = OpenFin.LogLevel;
|
|
8846
|
+
|
|
9023
8847
|
/**
|
|
9024
8848
|
* Describes the minimum level (inclusive) above which logs will be written.
|
|
9025
8849
|
*
|
|
@@ -9029,24 +8853,7 @@ declare type LogInfo = {
|
|
|
9029
8853
|
* `error` and above<br>
|
|
9030
8854
|
* `fatal`: fatal only, indicates a crash is imminent
|
|
9031
8855
|
*/
|
|
9032
|
-
declare type
|
|
9033
|
-
|
|
9034
|
-
declare type LogUploaderUIOptions = {
|
|
9035
|
-
title?: string;
|
|
9036
|
-
icon?: string;
|
|
9037
|
-
header?: string;
|
|
9038
|
-
description?: string;
|
|
9039
|
-
email?: string;
|
|
9040
|
-
website?: string;
|
|
9041
|
-
websiteDescription?: string;
|
|
9042
|
-
};
|
|
9043
|
-
|
|
9044
|
-
declare type LogUploadOptions = {
|
|
9045
|
-
endpoint: string;
|
|
9046
|
-
manifests?: string[];
|
|
9047
|
-
logs?: string[];
|
|
9048
|
-
ui?: LogUploaderUIOptions;
|
|
9049
|
-
};
|
|
8856
|
+
declare type LogLevel_2 = 'verbose' | 'info' | 'warning' | 'error' | 'fatal';
|
|
9050
8857
|
|
|
9051
8858
|
/**
|
|
9052
8859
|
* @interface
|
|
@@ -9106,7 +8913,6 @@ declare type Manifest = {
|
|
|
9106
8913
|
enableErrorReporting?: boolean;
|
|
9107
8914
|
};
|
|
9108
8915
|
interopBrokerConfiguration: InteropBrokerOptions;
|
|
9109
|
-
logUpload?: LogUploadOptions;
|
|
9110
8916
|
};
|
|
9111
8917
|
|
|
9112
8918
|
/**
|
|
@@ -9442,10 +9248,6 @@ declare type MutableViewOptions = {
|
|
|
9442
9248
|
* @defaultValue 'enabled'
|
|
9443
9249
|
*/
|
|
9444
9250
|
throttling: ViewThrottling;
|
|
9445
|
-
/**
|
|
9446
|
-
* {@inheritDoc ChromiumPolicies}
|
|
9447
|
-
*/
|
|
9448
|
-
chromiumPolicies: ChromiumPolicies;
|
|
9449
9251
|
};
|
|
9450
9252
|
|
|
9451
9253
|
/**
|
|
@@ -9686,12 +9488,6 @@ declare type MutableWindowOptions = {
|
|
|
9686
9488
|
* Shows the window's icon in the taskbar.
|
|
9687
9489
|
*/
|
|
9688
9490
|
showTaskbarIcon: boolean;
|
|
9689
|
-
/**
|
|
9690
|
-
* Specify a taskbar group for the window.
|
|
9691
|
-
* _If omitted, defaults to app's uuid (`fin.Application.getCurrentSync().identity.uuid`)._
|
|
9692
|
-
* @remarks It's only updatable when `enableJumpList` is set to false.
|
|
9693
|
-
*/
|
|
9694
|
-
taskbarIconGroup: string;
|
|
9695
9491
|
interop: InteropConfig;
|
|
9696
9492
|
/**
|
|
9697
9493
|
* @internal
|
|
@@ -9711,10 +9507,6 @@ declare type MutableWindowOptions = {
|
|
|
9711
9507
|
* @remarks If `throttling` option is present, the `backgroundThrottling` option is completely ignored for windows.
|
|
9712
9508
|
*/
|
|
9713
9509
|
throttling: WindowThrottling;
|
|
9714
|
-
/**
|
|
9715
|
-
* {@inheritDoc ChromiumPolicies}
|
|
9716
|
-
*/
|
|
9717
|
-
chromiumPolicies: ChromiumPolicies;
|
|
9718
9510
|
};
|
|
9719
9511
|
|
|
9720
9512
|
declare type NackHandler = (payloadOrMessage: RuntimeErrorPayload | string) => void;
|
|
@@ -9764,34 +9556,6 @@ declare type NavigationRules = {
|
|
|
9764
9556
|
|
|
9765
9557
|
declare type NewConnectConfig = ConfigWithUuid & ConfigWithRuntime;
|
|
9766
9558
|
|
|
9767
|
-
declare interface NodeNetworkInterfaceBase {
|
|
9768
|
-
address: string;
|
|
9769
|
-
netmask: string;
|
|
9770
|
-
mac: string;
|
|
9771
|
-
internal: boolean;
|
|
9772
|
-
cidr: string | null;
|
|
9773
|
-
}
|
|
9774
|
-
|
|
9775
|
-
declare type NodeNetworkInterfaceInfo = NodeNetworkInterfaceInfoIPv4 | NodeNetworkInterfaceInfoIPv6;
|
|
9776
|
-
|
|
9777
|
-
declare interface NodeNetworkInterfaceInfoIPv4 extends NodeNetworkInterfaceBase {
|
|
9778
|
-
family: 'IPv4';
|
|
9779
|
-
scopeid?: undefined;
|
|
9780
|
-
}
|
|
9781
|
-
|
|
9782
|
-
declare interface NodeNetworkInterfaceInfoIPv6 extends NodeNetworkInterfaceBase {
|
|
9783
|
-
family: 'IPv6';
|
|
9784
|
-
scopeid: number;
|
|
9785
|
-
}
|
|
9786
|
-
|
|
9787
|
-
declare interface NodeUserInfo {
|
|
9788
|
-
username: string;
|
|
9789
|
-
uid: number;
|
|
9790
|
-
gid: number;
|
|
9791
|
-
shell: string | null;
|
|
9792
|
-
homedir: string;
|
|
9793
|
-
}
|
|
9794
|
-
|
|
9795
9559
|
/**
|
|
9796
9560
|
* @interface
|
|
9797
9561
|
*/
|
|
@@ -9893,13 +9657,13 @@ declare namespace OpenFin {
|
|
|
9893
9657
|
LayoutPosition,
|
|
9894
9658
|
WebContent,
|
|
9895
9659
|
PlatformProvider,
|
|
9896
|
-
ApplicationIdentity,
|
|
9897
|
-
|
|
9660
|
+
ApplicationIdentity_2 as ApplicationIdentity,
|
|
9661
|
+
Identity_5 as Identity,
|
|
9898
9662
|
ClientIdentity,
|
|
9899
9663
|
ClientInfo,
|
|
9900
9664
|
ClientIdentityMultiRuntime,
|
|
9901
9665
|
ClientConnectionPayload,
|
|
9902
|
-
EntityInfo,
|
|
9666
|
+
EntityInfo_2 as EntityInfo,
|
|
9903
9667
|
EntityType_4 as EntityType,
|
|
9904
9668
|
Bounds,
|
|
9905
9669
|
WindowBounds,
|
|
@@ -9935,11 +9699,8 @@ declare namespace OpenFin {
|
|
|
9935
9699
|
ViewVisibilityOptions,
|
|
9936
9700
|
WindowState,
|
|
9937
9701
|
AutoplayPolicyOptions,
|
|
9938
|
-
ExcludeOptions,
|
|
9939
9702
|
ConstWindowOptions,
|
|
9940
9703
|
InheritableOptions,
|
|
9941
|
-
PolicyOptions,
|
|
9942
|
-
ChromiumPolicies,
|
|
9943
9704
|
MutableWindowOptions,
|
|
9944
9705
|
WorkspacePlatformOptions,
|
|
9945
9706
|
WebRequestHeader,
|
|
@@ -9973,9 +9734,6 @@ declare namespace OpenFin {
|
|
|
9973
9734
|
ViewOptions,
|
|
9974
9735
|
ConstViewOptions,
|
|
9975
9736
|
ViewState,
|
|
9976
|
-
ViewCreationSuccess,
|
|
9977
|
-
ViewCreationFailure,
|
|
9978
|
-
ViewCreationResult,
|
|
9979
9737
|
Certificate,
|
|
9980
9738
|
HostContextChangedPayload,
|
|
9981
9739
|
ApplySnapshotOptions,
|
|
@@ -10010,8 +9768,6 @@ declare namespace OpenFin {
|
|
|
10010
9768
|
PlatformViewCreationOptions,
|
|
10011
9769
|
ProcessAffinityStrategy,
|
|
10012
9770
|
PlatformOptions,
|
|
10013
|
-
LogUploaderUIOptions,
|
|
10014
|
-
LogUploadOptions,
|
|
10015
9771
|
Manifest,
|
|
10016
9772
|
LayoutContent,
|
|
10017
9773
|
LayoutItemConfig,
|
|
@@ -10039,9 +9795,8 @@ declare namespace OpenFin {
|
|
|
10039
9795
|
Time,
|
|
10040
9796
|
CpuInfo,
|
|
10041
9797
|
GpuInfo,
|
|
10042
|
-
OSInfo,
|
|
10043
9798
|
HostSpecs,
|
|
10044
|
-
PrinterInfo,
|
|
9799
|
+
PrinterInfo_2 as PrinterInfo,
|
|
10045
9800
|
Dpi,
|
|
10046
9801
|
Margins,
|
|
10047
9802
|
PrintOptions,
|
|
@@ -10149,24 +9904,24 @@ declare namespace OpenFin {
|
|
|
10149
9904
|
BeforeUnloadUserDecision,
|
|
10150
9905
|
ViewStatuses,
|
|
10151
9906
|
CloseWindowPayload,
|
|
10152
|
-
ProxyInfo,
|
|
10153
|
-
ProxyConfig,
|
|
9907
|
+
ProxyInfo_2 as ProxyInfo,
|
|
9908
|
+
ProxyConfig_2 as ProxyConfig,
|
|
10154
9909
|
ProxySystemInfo,
|
|
10155
9910
|
ChannelAction_2 as ChannelAction,
|
|
10156
9911
|
ChannelMiddleware_2 as ChannelMiddleware,
|
|
10157
9912
|
ErrorMiddleware_2 as ErrorMiddleware,
|
|
10158
|
-
ApplicationState,
|
|
10159
|
-
InstalledApps,
|
|
9913
|
+
ApplicationState_2 as ApplicationState,
|
|
9914
|
+
InstalledApps_2 as InstalledApps,
|
|
10160
9915
|
InstallationInfo,
|
|
10161
|
-
GetLogRequestType,
|
|
10162
|
-
LogInfo,
|
|
9916
|
+
GetLogRequestType_2 as GetLogRequestType,
|
|
9917
|
+
LogInfo_2 as LogInfo,
|
|
10163
9918
|
SendApplicationLogResponse,
|
|
10164
|
-
LogLevel,
|
|
9919
|
+
LogLevel_2 as LogLevel,
|
|
10165
9920
|
PermissionState_2 as PermissionState,
|
|
10166
|
-
RegistryInfo,
|
|
9921
|
+
RegistryInfo_2 as RegistryInfo,
|
|
10167
9922
|
ApplicationType,
|
|
10168
9923
|
WindowInfo,
|
|
10169
|
-
ApplicationWindowInfo,
|
|
9924
|
+
ApplicationWindowInfo_2 as ApplicationWindowInfo,
|
|
10170
9925
|
WindowDetail,
|
|
10171
9926
|
LayoutPresetType,
|
|
10172
9927
|
LayoutIdentity,
|
|
@@ -10221,7 +9976,6 @@ declare namespace OpenFin {
|
|
|
10221
9976
|
RoutingInfo,
|
|
10222
9977
|
DownloadShelfOptions,
|
|
10223
9978
|
ViewShowAtOptions,
|
|
10224
|
-
ExtensionInfo,
|
|
10225
9979
|
ApplicationEvents,
|
|
10226
9980
|
BaseEvents,
|
|
10227
9981
|
ExternalApplicationEvents,
|
|
@@ -10248,25 +10002,6 @@ declare type OptionsChangedEvent = BaseEvent_5 & {
|
|
|
10248
10002
|
diff: OpenFin.WindowOptionDiff;
|
|
10249
10003
|
};
|
|
10250
10004
|
|
|
10251
|
-
/**
|
|
10252
|
-
* @interface
|
|
10253
|
-
* The keys represent the output from calling individual Node `os` APIs.
|
|
10254
|
-
* For example, `userInfo` will have the output of calling `os.userInfo()`. For more information
|
|
10255
|
-
* see [Node `os` API docs](https://nodejs.org/docs/latest-v20.x/api/os.html)
|
|
10256
|
-
*/
|
|
10257
|
-
declare type OSInfo = {
|
|
10258
|
-
platform: string;
|
|
10259
|
-
release: string;
|
|
10260
|
-
version: string;
|
|
10261
|
-
/**
|
|
10262
|
-
* Throws if a user has no username or homedir.
|
|
10263
|
-
* See [Node os.userInfo docs for more info](https://nodejs.org/docs/latest-v20.x/api/os.html#osuserinfooptions)
|
|
10264
|
-
*/
|
|
10265
|
-
userInfo: NodeUserInfo;
|
|
10266
|
-
hostname: string;
|
|
10267
|
-
networkInterfaces: Record<string, NodeNetworkInterfaceInfo[] | undefined>;
|
|
10268
|
-
};
|
|
10269
|
-
|
|
10270
10005
|
declare type OverrideCallback<T extends any = PlatformProvider, U extends T = T> = (arg: Constructor<T>) => U | Promise<U>;
|
|
10271
10006
|
|
|
10272
10007
|
/**
|
|
@@ -10423,10 +10158,6 @@ declare type PerDomainSettings = {
|
|
|
10423
10158
|
* {@link ContentRedirect} in {@link WindowOptions} and {@link ViewOptions} will be **ignored**.
|
|
10424
10159
|
*/
|
|
10425
10160
|
content?: ContentPermission;
|
|
10426
|
-
/**
|
|
10427
|
-
* {@inheritdoc ChromiumPolicies}
|
|
10428
|
-
*/
|
|
10429
|
-
chromiumPolicies?: ChromiumPolicies;
|
|
10430
10161
|
};
|
|
10431
10162
|
|
|
10432
10163
|
/**
|
|
@@ -11859,45 +11590,6 @@ declare interface PlatformProvider {
|
|
|
11859
11590
|
* @returns {Promise<void>}
|
|
11860
11591
|
*/
|
|
11861
11592
|
handleRunRequested({ manifest, userAppConfigArgs }: RunRequestedEvent): Promise<void>;
|
|
11862
|
-
/**
|
|
11863
|
-
* @experimental
|
|
11864
|
-
*
|
|
11865
|
-
* This method is called to handle errors with view creation and initial navigation during layout creation.
|
|
11866
|
-
* Overriding this method enables catching the error and correcting behavior (ie navigating to an error page).
|
|
11867
|
-
* * To indicate that the error has been handled, view creation should be treated as successful return {identity: viewIdentity, success: true}.
|
|
11868
|
-
* * Not returning anything will cause the layout-initialized event to include the view as failed with the original error.
|
|
11869
|
-
* * Throwing an error will update the error on the event payload of layout-initialized to the thrown error.
|
|
11870
|
-
*
|
|
11871
|
-
* @param viewIdentity Identity of the view
|
|
11872
|
-
* @param error error thrown during a view creation
|
|
11873
|
-
* @returns {Promise<OpenFin.ViewCreationSuccess | void>}
|
|
11874
|
-
*
|
|
11875
|
-
* @example
|
|
11876
|
-
*
|
|
11877
|
-
* ```js
|
|
11878
|
-
* const overrideCallback = (PlatformProvider) => {
|
|
11879
|
-
* class Override extends PlatformProvider {
|
|
11880
|
-
* async handleFailedViewCreation(viewIdentity, error) {
|
|
11881
|
-
* const view = fin.View.wrapSync(viewId);
|
|
11882
|
-
* try {
|
|
11883
|
-
* // navigate to an error page
|
|
11884
|
-
* await view.navigate('http://localhost:3000/errorPage.html');
|
|
11885
|
-
* // resolve a success result after redirecting to a error page
|
|
11886
|
-
* return {identity: viewIdentity, success: true};
|
|
11887
|
-
* } catch(e) {
|
|
11888
|
-
* // layout-initialized event will include this view with the error
|
|
11889
|
-
* throw error;
|
|
11890
|
-
* }
|
|
11891
|
-
* }
|
|
11892
|
-
* }
|
|
11893
|
-
* return new Override();
|
|
11894
|
-
* }
|
|
11895
|
-
*
|
|
11896
|
-
* fin.Platform.init({ overrideCallback });
|
|
11897
|
-
*
|
|
11898
|
-
* ```
|
|
11899
|
-
*/
|
|
11900
|
-
handleFailedViewCreation(viewIdentity: OpenFin.Identity, error: Error): Promise<OpenFin.ViewCreationSuccess | void>;
|
|
11901
11593
|
}
|
|
11902
11594
|
|
|
11903
11595
|
/**
|
|
@@ -11962,12 +11654,6 @@ declare type PointTopLeft = {
|
|
|
11962
11654
|
left: number;
|
|
11963
11655
|
};
|
|
11964
11656
|
|
|
11965
|
-
/**
|
|
11966
|
-
* When set to `disable`, disables the policy
|
|
11967
|
-
* When set to `defer-to-group-policy`, respects Group Policy settings
|
|
11968
|
-
*/
|
|
11969
|
-
declare type PolicyOptions = 'disable' | 'defer-to-group-policy';
|
|
11970
|
-
|
|
11971
11657
|
declare type PopupBaseBehavior = 'close' | 'hide';
|
|
11972
11658
|
|
|
11973
11659
|
declare type PopupBlurBehavior = 'modal' | PopupBaseBehavior;
|
|
@@ -12203,10 +11889,12 @@ declare type PresetLayoutOptions_2 = {
|
|
|
12203
11889
|
presetType: LayoutPresetType;
|
|
12204
11890
|
};
|
|
12205
11891
|
|
|
11892
|
+
declare type PrinterInfo = OpenFin.PrinterInfo;
|
|
11893
|
+
|
|
12206
11894
|
/**
|
|
12207
11895
|
* @interface
|
|
12208
11896
|
*/
|
|
12209
|
-
declare type
|
|
11897
|
+
declare type PrinterInfo_2 = {
|
|
12210
11898
|
/**
|
|
12211
11899
|
* Printer Name
|
|
12212
11900
|
*/
|
|
@@ -12468,100 +12156,20 @@ declare type PropagatedWindowEvent<TargetTopic extends string> = PropagatedEvent
|
|
|
12468
12156
|
declare type PropagatedWindowEventType = PropagatedEvent_3<string>['type'];
|
|
12469
12157
|
|
|
12470
12158
|
declare interface ProtocolMap extends ProtocolMapBase {
|
|
12471
|
-
'is-application-running': ApplicationIdentityCall<{}, boolean>;
|
|
12472
|
-
'destroy-application': ApplicationIdentityCall<{
|
|
12473
|
-
force: boolean;
|
|
12474
|
-
}, void>;
|
|
12475
|
-
'close-application': ApplicationIdentityCall<{
|
|
12476
|
-
force: boolean;
|
|
12477
|
-
}, void>;
|
|
12478
|
-
'application-close': ApplicationIdentityCall<{}, void>;
|
|
12479
|
-
'get-child-windows': ApplicationIdentityCall<{}, Array<unknown>>;
|
|
12480
|
-
'get-application-manifest': {
|
|
12481
|
-
request: {
|
|
12482
|
-
manifestUrl?: string;
|
|
12483
|
-
uuid?: string;
|
|
12484
|
-
};
|
|
12485
|
-
response: OpenFin.Manifest;
|
|
12486
|
-
};
|
|
12487
|
-
'get-parent-application': ApplicationIdentityCall<{}, string>;
|
|
12488
|
-
'get-shortcuts': ApplicationIdentityCall<{}, OpenFin.ShortCutConfig>;
|
|
12489
|
-
'application-get-views': ApplicationIdentityCall<{}, OpenFin.Identity[]>;
|
|
12490
|
-
'get-application-zoom-level': ApplicationIdentityCall<{}, number>;
|
|
12491
|
-
'application-get-window': ApplicationIdentityCall<{}, void>;
|
|
12492
|
-
'register-user': ApplicationIdentityCall<{
|
|
12493
|
-
userName: string;
|
|
12494
|
-
appName: string;
|
|
12495
|
-
}, void>;
|
|
12496
|
-
'remove-tray-icon': ApplicationIdentityCall<{}, void>;
|
|
12497
|
-
'restart-application': ApplicationIdentityCall<{}, void>;
|
|
12498
|
-
'application-run': ApplicationIdentityCall<{}, void>;
|
|
12499
|
-
'run-application': ApplicationIdentityCall<{
|
|
12500
|
-
manifestUrl?: string | undefined;
|
|
12501
|
-
opts?: OpenFin.RvmLaunchOptions;
|
|
12502
|
-
}, void>;
|
|
12503
|
-
'relaunch-on-close': ApplicationIdentityCall<{}, void>;
|
|
12504
|
-
'send-application-log': ApplicationIdentityCall<{}, OpenFin.SendApplicationLogResponse>;
|
|
12505
|
-
'set-jump-list': ApplicationIdentityCall<{
|
|
12506
|
-
config: OpenFin.JumpListCategory[] | null;
|
|
12507
|
-
}, void>;
|
|
12508
|
-
'set-tray-icon': ApplicationIdentityCall<{
|
|
12509
|
-
enabledIcon: string;
|
|
12510
|
-
}, void>;
|
|
12511
|
-
'set-shortcuts': ApplicationIdentityCall<{
|
|
12512
|
-
data: OpenFin.ShortCutConfig;
|
|
12513
|
-
}, void>;
|
|
12514
|
-
'set-shortcut-query-args': ApplicationIdentityCall<{
|
|
12515
|
-
data: string;
|
|
12516
|
-
}, void>;
|
|
12517
|
-
'set-application-zoom-level': ApplicationIdentityCall<{
|
|
12518
|
-
level: number;
|
|
12519
|
-
}, void>;
|
|
12520
|
-
'set-app-log-username': ApplicationIdentityCall<{
|
|
12521
|
-
data: string;
|
|
12522
|
-
}, void>;
|
|
12523
|
-
'get-tray-icon-info': ApplicationIdentityCall<{}, OpenFin.TrayInfo>;
|
|
12524
|
-
'has-tray-icon': ApplicationIdentityCall<{}, boolean>;
|
|
12525
|
-
'terminate-application': ApplicationIdentityCall<{}, void>;
|
|
12526
|
-
'wait-for-hung-application': ApplicationIdentityCall<{}, void>;
|
|
12527
|
-
'get-info': ApplicationIdentityCall<{}, OpenFin.ApplicationInfo>;
|
|
12528
|
-
'application-get-process-info': ApplicationIdentityCall<{}, OpenFin.AppProcessInfo>;
|
|
12529
|
-
'set-file-download-location': {
|
|
12530
|
-
request: OpenFin.Identity & {
|
|
12531
|
-
downloadLocation: string;
|
|
12532
|
-
};
|
|
12533
|
-
response: void;
|
|
12534
|
-
};
|
|
12535
|
-
'get-file-download-location': ApplicationIdentityCall<{}, string>;
|
|
12536
|
-
'show-tray-icon-popup-menu': {
|
|
12537
|
-
request: OpenFin.Identity & {
|
|
12538
|
-
options: OpenFin.ShowTrayIconPopupMenuOptions;
|
|
12539
|
-
};
|
|
12540
|
-
response: OpenFin.MenuResult;
|
|
12541
|
-
};
|
|
12542
|
-
'close-tray-icon-popup-menu': IdentityCall<{}, void>;
|
|
12543
|
-
'wrap-application': VoidCall;
|
|
12544
|
-
'wrap-application-sync': VoidCall;
|
|
12545
|
-
'create-application': ApiCall<OpenFin.ApplicationCreationOptions, void>;
|
|
12546
|
-
'application-create': VoidCall;
|
|
12547
|
-
'start-application': VoidCall;
|
|
12548
|
-
'run-applications': ApiCall<{
|
|
12549
|
-
applications: Array<OpenFin.ManifestInfo>;
|
|
12550
|
-
opts?: OpenFin.RvmLaunchOptions;
|
|
12551
|
-
}, void>;
|
|
12552
|
-
'get-current-application': VoidCall;
|
|
12553
|
-
'get-current-application-sync': VoidCall;
|
|
12554
|
-
'application-start-from-manifest': VoidCall;
|
|
12555
|
-
'application-create-from-manifest': VoidCall;
|
|
12556
12159
|
'request-external-authorization': {
|
|
12557
12160
|
request: any;
|
|
12558
12161
|
response: void;
|
|
12559
12162
|
specialResponse: AuthorizationPayload;
|
|
12560
12163
|
};
|
|
12561
|
-
'
|
|
12562
|
-
request:
|
|
12164
|
+
'application-get-views': {
|
|
12165
|
+
request: OpenFin.ApplicationIdentity;
|
|
12166
|
+
response: OpenFin.Identity[];
|
|
12167
|
+
};
|
|
12168
|
+
'set-jump-list': {
|
|
12169
|
+
request: {
|
|
12170
|
+
config: OpenFin.JumpListCategory[] | null;
|
|
12171
|
+
} & OpenFin.ApplicationIdentity;
|
|
12563
12172
|
response: void;
|
|
12564
|
-
specialResponse: Payload;
|
|
12565
12173
|
};
|
|
12566
12174
|
'clipboard-read-formats': {
|
|
12567
12175
|
request: {
|
|
@@ -12573,24 +12181,6 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
12573
12181
|
request: OpenFin.ReadImageClipboardRequest;
|
|
12574
12182
|
response: string;
|
|
12575
12183
|
};
|
|
12576
|
-
'clipboard-read-text': {
|
|
12577
|
-
request: {
|
|
12578
|
-
type?: OpenFin.ClipboardSelectionType;
|
|
12579
|
-
};
|
|
12580
|
-
response: string;
|
|
12581
|
-
};
|
|
12582
|
-
'clipboard-read-html': {
|
|
12583
|
-
request: {
|
|
12584
|
-
type?: OpenFin.ClipboardSelectionType;
|
|
12585
|
-
};
|
|
12586
|
-
response: string;
|
|
12587
|
-
};
|
|
12588
|
-
'clipboard-read-rtf': {
|
|
12589
|
-
request: {
|
|
12590
|
-
type?: OpenFin.ClipboardSelectionType;
|
|
12591
|
-
};
|
|
12592
|
-
response: string;
|
|
12593
|
-
};
|
|
12594
12184
|
'clipboard-write-image': {
|
|
12595
12185
|
request: OpenFin.WriteImageClipboardRequest;
|
|
12596
12186
|
response: void;
|
|
@@ -12599,18 +12189,6 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
12599
12189
|
request: OpenFin.WriteAnyRequestType;
|
|
12600
12190
|
response: void;
|
|
12601
12191
|
};
|
|
12602
|
-
'clipboard-write-text': {
|
|
12603
|
-
request: OpenFin.WriteClipboardRequest;
|
|
12604
|
-
response: void;
|
|
12605
|
-
};
|
|
12606
|
-
'clipboard-write-html': {
|
|
12607
|
-
request: OpenFin.WriteClipboardRequest;
|
|
12608
|
-
response: void;
|
|
12609
|
-
};
|
|
12610
|
-
'clipboard-write-rtf': {
|
|
12611
|
-
request: OpenFin.WriteClipboardRequest;
|
|
12612
|
-
response: void;
|
|
12613
|
-
};
|
|
12614
12192
|
'get-view-window': IdentityCall<{}, OpenFin.Identity>;
|
|
12615
12193
|
'create-view': IdentityCall<OpenFin.ViewCreationOptions & {
|
|
12616
12194
|
uuid: string;
|
|
@@ -12636,85 +12214,13 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
12636
12214
|
options: OpenFin.UpdatableViewOptions;
|
|
12637
12215
|
}>;
|
|
12638
12216
|
'trigger-before-unload': IdentityCall<{}, boolean>;
|
|
12639
|
-
'view-wrap-sync': VoidCall;
|
|
12640
|
-
'view-wrap': VoidCall;
|
|
12641
|
-
'view-get-current': VoidCall;
|
|
12642
|
-
'view-get-current-sync': VoidCall;
|
|
12643
|
-
'animate-window': IdentityCall<{
|
|
12644
|
-
transitions: OpenFin.Transition;
|
|
12645
|
-
options: OpenFin.TransitionOptions;
|
|
12646
|
-
}>;
|
|
12647
|
-
'get-all-frames': IdentityCall<{}, OpenFin.FrameInfo[]>;
|
|
12648
|
-
'get-window-bounds': IdentityCall<{}, OpenFin.WindowBounds>;
|
|
12649
|
-
'center-window': IdentityCall;
|
|
12650
|
-
'blur-window': IdentityCall;
|
|
12651
|
-
'bring-window-to-front': IdentityCall;
|
|
12652
|
-
'hide-window': IdentityCall;
|
|
12653
|
-
'close-window': IdentityCall<{
|
|
12654
|
-
force: boolean;
|
|
12655
|
-
}>;
|
|
12656
|
-
'focused-webview-changed': IdentityCall;
|
|
12657
|
-
'get-window-native-id': IdentityCall<{}, string>;
|
|
12658
12217
|
'window-get-views': IdentityCall<{}, OpenFin.Identity[]>;
|
|
12659
|
-
'
|
|
12660
|
-
'enable-window-frame': IdentityCall;
|
|
12661
|
-
'flash-window': IdentityCall;
|
|
12662
|
-
'stop-flash-window': IdentityCall;
|
|
12663
|
-
'get-window-info': IdentityCall<{}, OpenFin.WindowInfo>;
|
|
12664
|
-
'get-window-options': IdentityCall<{}, OpenFin.WindowOptions>;
|
|
12665
|
-
'get-window-snapshot': IdentityCall<{
|
|
12666
|
-
area?: OpenFin.Rectangle;
|
|
12667
|
-
}, string>;
|
|
12668
|
-
'get-window-state': IdentityCall<{}, 'minimized' | 'maximized' | 'normal'>;
|
|
12669
|
-
'is-window-showing': IdentityCall<{}, boolean>;
|
|
12670
|
-
'maximize-window': IdentityCall;
|
|
12671
|
-
'minimize-window': IdentityCall;
|
|
12672
|
-
'move-window-by': IdentityCall<WithPositioningOptions<{
|
|
12673
|
-
deltaLeft: number;
|
|
12674
|
-
deltaTop: number;
|
|
12675
|
-
}>>;
|
|
12676
|
-
'move-window': IdentityCall<WithPositioningOptions<{
|
|
12677
|
-
left: number;
|
|
12678
|
-
top: number;
|
|
12679
|
-
}>>;
|
|
12680
|
-
'resize-window-by': IdentityCall<WithPositioningOptions<{
|
|
12681
|
-
deltaWidth: number;
|
|
12682
|
-
deltaHeight: number;
|
|
12683
|
-
anchor: OpenFin.AnchorType;
|
|
12684
|
-
}>>;
|
|
12685
|
-
'resize-window': IdentityCall<WithPositioningOptions<{
|
|
12686
|
-
width: number;
|
|
12687
|
-
height: number;
|
|
12688
|
-
anchor: OpenFin.AnchorType;
|
|
12689
|
-
}>>;
|
|
12690
|
-
'restore-window': IdentityCall;
|
|
12691
|
-
'set-foreground-window': IdentityCall;
|
|
12692
|
-
'set-window-bounds': IdentityCall<WithPositioningOptions<Partial<OpenFin.Bounds>>>;
|
|
12693
|
-
'show-window': IdentityCall<{
|
|
12694
|
-
force: boolean;
|
|
12695
|
-
}>;
|
|
12696
|
-
'show-at-window': IdentityCall<{
|
|
12697
|
-
left: number;
|
|
12698
|
-
top: number;
|
|
12699
|
-
force: boolean;
|
|
12700
|
-
}>;
|
|
12701
|
-
'update-window-options': IdentityCall<{
|
|
12702
|
-
options: OpenFin.UpdatableWindowOptions;
|
|
12703
|
-
}>;
|
|
12704
|
-
'window-authenticate': IdentityCall<{
|
|
12705
|
-
userName: string;
|
|
12706
|
-
password: string;
|
|
12707
|
-
}>;
|
|
12708
|
-
'show-popup-menu': {
|
|
12218
|
+
'print': {
|
|
12709
12219
|
request: OpenFin.Identity & {
|
|
12710
|
-
options: OpenFin.
|
|
12220
|
+
options: OpenFin.PrintOptions;
|
|
12711
12221
|
};
|
|
12712
|
-
response:
|
|
12222
|
+
response: void;
|
|
12713
12223
|
};
|
|
12714
|
-
'close-popup-menu': IdentityCall;
|
|
12715
|
-
'dispatch-popup-result': IdentityCall<{
|
|
12716
|
-
data: any;
|
|
12717
|
-
}>;
|
|
12718
12224
|
'print-screenshot': {
|
|
12719
12225
|
request: OpenFin.Identity;
|
|
12720
12226
|
response: void;
|
|
@@ -12725,229 +12231,6 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
12725
12231
|
};
|
|
12726
12232
|
response: void;
|
|
12727
12233
|
};
|
|
12728
|
-
'window-wrap': VoidCall;
|
|
12729
|
-
'window-wrap-sync': VoidCall;
|
|
12730
|
-
'create-window': VoidCall;
|
|
12731
|
-
'get-current-window': VoidCall;
|
|
12732
|
-
'get-current-window-sync': VoidCall;
|
|
12733
|
-
'get-external-application-info': ApiCall<OpenFin.ApplicationIdentity, OpenFin.ExternalApplicationInfo>;
|
|
12734
|
-
'external-application-wrap': VoidCall;
|
|
12735
|
-
'external-application-wrap-sync': VoidCall;
|
|
12736
|
-
'get-frame-info': ApiCall<OpenFin.Identity, OpenFin.FrameInfo>;
|
|
12737
|
-
'get-parent-window': ApiCall<OpenFin.Identity, OpenFin.FrameInfo>;
|
|
12738
|
-
'frame-wrap': VoidCall;
|
|
12739
|
-
'frame-wrap-sync': VoidCall;
|
|
12740
|
-
'frame-get-current': VoidCall;
|
|
12741
|
-
'frame-get-current-sync': VoidCall;
|
|
12742
|
-
'global-hotkey-register': {
|
|
12743
|
-
request: {
|
|
12744
|
-
hotkey: string;
|
|
12745
|
-
};
|
|
12746
|
-
response: void;
|
|
12747
|
-
};
|
|
12748
|
-
'global-hotkey-unregister': {
|
|
12749
|
-
request: {
|
|
12750
|
-
hotkey: string;
|
|
12751
|
-
};
|
|
12752
|
-
response: void;
|
|
12753
|
-
};
|
|
12754
|
-
'global-hotkey-unregister-all': {
|
|
12755
|
-
request: {};
|
|
12756
|
-
response: void;
|
|
12757
|
-
};
|
|
12758
|
-
'global-hotkey-is-registered': {
|
|
12759
|
-
request: {
|
|
12760
|
-
hotkey: string;
|
|
12761
|
-
};
|
|
12762
|
-
response: boolean;
|
|
12763
|
-
};
|
|
12764
|
-
'publish-message': {
|
|
12765
|
-
request: {
|
|
12766
|
-
topic: string;
|
|
12767
|
-
message: any;
|
|
12768
|
-
sourceWindowName: string;
|
|
12769
|
-
};
|
|
12770
|
-
response: void;
|
|
12771
|
-
};
|
|
12772
|
-
'send-message': {
|
|
12773
|
-
request: {
|
|
12774
|
-
destinationUuid: string;
|
|
12775
|
-
destinationWindowName: string | undefined;
|
|
12776
|
-
topic: string;
|
|
12777
|
-
message: any;
|
|
12778
|
-
sourceWindowName: string;
|
|
12779
|
-
};
|
|
12780
|
-
response: void;
|
|
12781
|
-
};
|
|
12782
|
-
'subscribe': {
|
|
12783
|
-
request: {
|
|
12784
|
-
sourceUuid: string;
|
|
12785
|
-
sourceWindowName: string;
|
|
12786
|
-
topic: string;
|
|
12787
|
-
destinationWindowName: string;
|
|
12788
|
-
messageKey?: any;
|
|
12789
|
-
};
|
|
12790
|
-
response: void;
|
|
12791
|
-
};
|
|
12792
|
-
'unsubscribe': {
|
|
12793
|
-
request: {
|
|
12794
|
-
sourceUuid: string;
|
|
12795
|
-
sourceWindowName: string;
|
|
12796
|
-
topic: string;
|
|
12797
|
-
destinationWindowName: string;
|
|
12798
|
-
};
|
|
12799
|
-
response: void;
|
|
12800
|
-
};
|
|
12801
|
-
'get-all-channels': GetterCall<OpenFin.ProviderIdentity[]>;
|
|
12802
|
-
'connect-to-channel': {
|
|
12803
|
-
request: any;
|
|
12804
|
-
response: OpenFin.RoutingInfo;
|
|
12805
|
-
};
|
|
12806
|
-
'create-channel': ApiCall<{
|
|
12807
|
-
channelName: string;
|
|
12808
|
-
}, OpenFin.ProviderIdentity>;
|
|
12809
|
-
'destroy-channel': ApiCall<{
|
|
12810
|
-
channelName: string;
|
|
12811
|
-
}, void>;
|
|
12812
|
-
'disconnect-from-channel': {
|
|
12813
|
-
request: {
|
|
12814
|
-
channelName: string;
|
|
12815
|
-
uuid: string;
|
|
12816
|
-
name: string;
|
|
12817
|
-
endpointId: string;
|
|
12818
|
-
};
|
|
12819
|
-
response: void;
|
|
12820
|
-
};
|
|
12821
|
-
'send-channel-message': {
|
|
12822
|
-
request: any;
|
|
12823
|
-
response: any;
|
|
12824
|
-
};
|
|
12825
|
-
'get-version': GetterCall<string>;
|
|
12826
|
-
'clear-cache': ApiCall<OpenFin.ClearCacheOption, void>;
|
|
12827
|
-
'delete-cache-request': VoidCall;
|
|
12828
|
-
'exit-desktop': VoidCall;
|
|
12829
|
-
'fetch-manifest': ApiCall<{
|
|
12830
|
-
manifestUrl: string;
|
|
12831
|
-
}, any>;
|
|
12832
|
-
'flush-cookie-store': VoidCall;
|
|
12833
|
-
'get-all-windows': GetterCall<OpenFin.ApplicationWindowInfo[]>;
|
|
12834
|
-
'get-all-applications': GetterCall<OpenFin.ApplicationState[]>;
|
|
12835
|
-
'get-command-line-arguments': GetterCall<string>;
|
|
12836
|
-
'get-crash-reporter-state': GetterCall<OpenFin.CrashReporterState>;
|
|
12837
|
-
'start-crash-reporter': {
|
|
12838
|
-
request: OpenFin.CrashReporterOptions | {
|
|
12839
|
-
diagnosticMode: boolean;
|
|
12840
|
-
};
|
|
12841
|
-
response: OpenFin.CrashReporterState;
|
|
12842
|
-
};
|
|
12843
|
-
'get-unique-user-id': GetterCall<string>;
|
|
12844
|
-
'get-entity-info': {
|
|
12845
|
-
request: {
|
|
12846
|
-
uuid: string;
|
|
12847
|
-
name: string;
|
|
12848
|
-
};
|
|
12849
|
-
response: OpenFin.EntityInfo;
|
|
12850
|
-
};
|
|
12851
|
-
'get-environment-variable': {
|
|
12852
|
-
request: {
|
|
12853
|
-
environmentVariables: string;
|
|
12854
|
-
};
|
|
12855
|
-
response: string;
|
|
12856
|
-
};
|
|
12857
|
-
'get-focused-window': GetterCall<OpenFin.Identity | null>;
|
|
12858
|
-
'is-app-certified': {
|
|
12859
|
-
request: {
|
|
12860
|
-
manifestUrl: string;
|
|
12861
|
-
};
|
|
12862
|
-
response: {
|
|
12863
|
-
action: string;
|
|
12864
|
-
certifiedInfo: OpenFin.CertifiedAppInfo;
|
|
12865
|
-
};
|
|
12866
|
-
};
|
|
12867
|
-
'get-installed-runtimes': GetterCall<{
|
|
12868
|
-
action: string;
|
|
12869
|
-
runtimes: string[];
|
|
12870
|
-
}>;
|
|
12871
|
-
'get-installed-apps': GetterCall<OpenFin.InstalledApps>;
|
|
12872
|
-
'view-log': ApiCall<OpenFin.GetLogRequestType, string>;
|
|
12873
|
-
'get-machine-id': GetterCall<string>;
|
|
12874
|
-
'get-min-log-level': GetterCall<OpenFin.LogLevel>;
|
|
12875
|
-
'list-logs': GetterCall<OpenFin.LogInfo[]>;
|
|
12876
|
-
'get-monitor-info': GetterCall<OpenFin.MonitorInfo>;
|
|
12877
|
-
'get-mouse-position': GetterCall<OpenFin.PointTopLeft>;
|
|
12878
|
-
'process-snapshot': GetterCall<Array<any>>;
|
|
12879
|
-
'get-all-process-info': ApiCall<OpenFin.ApplicationIdentity, OpenFin.SystemProcessInfo>;
|
|
12880
|
-
'get-proxy-settings': GetterCall<OpenFin.ProxyInfo>;
|
|
12881
|
-
'get-runtime-info': GetterCall<OpenFin.RuntimeInfo>;
|
|
12882
|
-
'get-rvm-info': GetterCall<OpenFin.RVMInfo>;
|
|
12883
|
-
'get-host-specs': GetterCall<OpenFin.HostSpecs>;
|
|
12884
|
-
'get-os-info': GetterCall<OpenFin.OSInfo>;
|
|
12885
|
-
'launch-external-process': ApiCall<OpenFin.ExternalProcessRequestType, OpenFin.Identity>;
|
|
12886
|
-
'monitor-external-process': ApiCall<OpenFin.ExternalProcessInfo, OpenFin.Identity>;
|
|
12887
|
-
'write-to-log': ApiCall<{
|
|
12888
|
-
level: string;
|
|
12889
|
-
message: string;
|
|
12890
|
-
}, void>;
|
|
12891
|
-
'open-url-with-browser': ApiCall<{
|
|
12892
|
-
url: string;
|
|
12893
|
-
}, void>;
|
|
12894
|
-
'register-custom-protocol': ApiCall<OpenFin.CustomProtocolOptions, void>;
|
|
12895
|
-
'unregister-custom-protocol': ApiCall<{
|
|
12896
|
-
protocolName: string;
|
|
12897
|
-
}, void>;
|
|
12898
|
-
'get-custom-protocol-state': ApiCall<{
|
|
12899
|
-
protocolName: string;
|
|
12900
|
-
}, OpenFin.CustomProtocolState>;
|
|
12901
|
-
'release-external-process': ApiCall<{
|
|
12902
|
-
uuid: string;
|
|
12903
|
-
}, void>;
|
|
12904
|
-
'show-developer-tools': ApiCall<OpenFin.Identity, void>;
|
|
12905
|
-
'terminate-external-process': ApiCall<OpenFin.TerminateExternalRequestType, void>;
|
|
12906
|
-
'update-proxy': ApiCall<OpenFin.ProxyConfig, void>;
|
|
12907
|
-
'download-asset': {
|
|
12908
|
-
request: OpenFin.AppAssetInfo & {
|
|
12909
|
-
downloadId: string;
|
|
12910
|
-
};
|
|
12911
|
-
response: void;
|
|
12912
|
-
};
|
|
12913
|
-
'download-runtime': {
|
|
12914
|
-
request: OpenFin.RuntimeDownloadOptions & {
|
|
12915
|
-
downloadId: string;
|
|
12916
|
-
};
|
|
12917
|
-
response: void;
|
|
12918
|
-
};
|
|
12919
|
-
'download-preload-scripts': ApiCall<{
|
|
12920
|
-
scripts: Array<OpenFin.DownloadPreloadOption>;
|
|
12921
|
-
}, Array<OpenFin.DownloadPreloadInfo>>;
|
|
12922
|
-
'get-all-external-applications': ApiCall<void, Array<OpenFin.Identity>>;
|
|
12923
|
-
'get-app-asset-info': ApiCall<OpenFin.AppAssetRequest, OpenFin.AppAssetInfo>;
|
|
12924
|
-
'get-cookies': {
|
|
12925
|
-
request: OpenFin.CookieOption & {
|
|
12926
|
-
url: string;
|
|
12927
|
-
};
|
|
12928
|
-
response: Array<OpenFin.CookieInfo>;
|
|
12929
|
-
};
|
|
12930
|
-
'set-min-log-level': ApiCall<{
|
|
12931
|
-
level: OpenFin.LogLevel;
|
|
12932
|
-
}, void>;
|
|
12933
|
-
'resolve-uuid': ApiCall<{
|
|
12934
|
-
entityKey: string;
|
|
12935
|
-
}, OpenFin.ApplicationType>;
|
|
12936
|
-
'read-registry-value': ApiCall<{
|
|
12937
|
-
rootKey: string;
|
|
12938
|
-
subkey: string;
|
|
12939
|
-
value: string;
|
|
12940
|
-
}, OpenFin.RegistryInfo>;
|
|
12941
|
-
'register-external-connection': ApiCall<{
|
|
12942
|
-
uuid: string;
|
|
12943
|
-
}, OpenFin.ExternalConnection>;
|
|
12944
|
-
'get-service-configuration': ApiCall<{
|
|
12945
|
-
name: string;
|
|
12946
|
-
}, OpenFin.ServiceConfiguration>;
|
|
12947
|
-
'get-system-app-configuration': ApiCall<{
|
|
12948
|
-
name: string;
|
|
12949
|
-
}, any>;
|
|
12950
|
-
'run-rvm-health-check': ApiCall<void, string[]>;
|
|
12951
12234
|
'launch-manifest': {
|
|
12952
12235
|
request: {
|
|
12953
12236
|
manifestUrl: string;
|
|
@@ -12959,12 +12242,17 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
12959
12242
|
manifest: OpenFin.Manifest;
|
|
12960
12243
|
};
|
|
12961
12244
|
};
|
|
12962
|
-
'
|
|
12245
|
+
'get-system-app-configuration': {
|
|
12963
12246
|
request: {
|
|
12964
|
-
|
|
12965
|
-
identity: OpenFin.Identity;
|
|
12247
|
+
name: string;
|
|
12966
12248
|
};
|
|
12967
|
-
response:
|
|
12249
|
+
response: any;
|
|
12250
|
+
};
|
|
12251
|
+
'show-popup-menu': {
|
|
12252
|
+
request: OpenFin.Identity & {
|
|
12253
|
+
options: OpenFin.ShowPopupMenuOptions;
|
|
12254
|
+
};
|
|
12255
|
+
response: OpenFin.MenuResult;
|
|
12968
12256
|
};
|
|
12969
12257
|
'enable-native-window-integration-provider': {
|
|
12970
12258
|
request: {
|
|
@@ -12972,42 +12260,24 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
12972
12260
|
};
|
|
12973
12261
|
response: OpenFin.NativeWindowIntegrationProviderAuthorization;
|
|
12974
12262
|
};
|
|
12975
|
-
'register-usage': ApiCall<OpenFin.RegisterUsageData, void>;
|
|
12976
|
-
'system-get-printers': GetterCall<OpenFin.PrinterInfo[]>;
|
|
12977
|
-
'system-update-process-logging-options': ApiCall<{
|
|
12978
|
-
options: OpenFin.ProcessLoggingOptions;
|
|
12979
|
-
}, void>;
|
|
12980
|
-
'get-domain-settings': ApiCall<OpenFin.ApplicationIdentity, OpenFin.DefaultDomainSettings>;
|
|
12981
|
-
'set-domain-settings': ApiCall<OpenFin.ApplicationIdentity & {
|
|
12982
|
-
domainSettings: OpenFin.DefaultDomainSettings;
|
|
12983
|
-
}, void>;
|
|
12984
|
-
'system-register-shutdown-handler': VoidCall;
|
|
12985
12263
|
'get-permissions': GetterCall<any>;
|
|
12986
|
-
'
|
|
12987
|
-
|
|
12988
|
-
|
|
12264
|
+
'get-all-channels': GetterCall<OpenFin.ProviderIdentity[]>;
|
|
12265
|
+
'set-file-download-location': {
|
|
12266
|
+
request: OpenFin.Identity & {
|
|
12267
|
+
downloadLocation: string;
|
|
12268
|
+
};
|
|
12269
|
+
response: void;
|
|
12989
12270
|
};
|
|
12990
|
-
'get-
|
|
12991
|
-
request:
|
|
12992
|
-
response:
|
|
12271
|
+
'get-file-download-location': {
|
|
12272
|
+
request: OpenFin.ApplicationIdentity;
|
|
12273
|
+
response: string;
|
|
12993
12274
|
};
|
|
12275
|
+
'close-popup-menu': IdentityCall;
|
|
12994
12276
|
'fdc3-add-context-listener': VoidCall;
|
|
12995
|
-
'fdc3-add-intent-listener': VoidCall;
|
|
12996
|
-
'fdc3-raise-intent': VoidCall;
|
|
12997
|
-
'fdc3-find-intent': VoidCall;
|
|
12998
|
-
'fdc3-find-intents-by-context': VoidCall;
|
|
12999
|
-
'fdc3-raise-intent-for-context': VoidCall;
|
|
13000
|
-
'fdc3-get-info': VoidCall;
|
|
13001
|
-
'fdc3-find-instances': VoidCall;
|
|
13002
|
-
'fdc3-get-app-metadata': VoidCall;
|
|
13003
12277
|
'fdc3-broadcast': VoidCall;
|
|
13004
|
-
'fdc3-open': VoidCall;
|
|
13005
|
-
'fdc3-get-or-create-channel': VoidCall;
|
|
13006
12278
|
'fdc3-get-system-channels': VoidCall;
|
|
13007
12279
|
'fdc3-join-channel': VoidCall;
|
|
13008
|
-
'fdc3-get-current-channel': VoidCall;
|
|
13009
12280
|
'fdc3-leave-current-channel': VoidCall;
|
|
13010
|
-
'interop-init': VoidCall;
|
|
13011
12281
|
'interop-connect-sync': VoidCall;
|
|
13012
12282
|
'interop-client-set-context': VoidCall;
|
|
13013
12283
|
'interop-client-add-context-handler': VoidCall;
|
|
@@ -13016,13 +12286,6 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
13016
12286
|
'interop-client-remove-from-context-group': VoidCall;
|
|
13017
12287
|
'interop-client-get-all-clients-in-context-group': VoidCall;
|
|
13018
12288
|
'interop-client-get-info-for-context-group': VoidCall;
|
|
13019
|
-
'interop-client-fire-intent': VoidCall;
|
|
13020
|
-
'interop-client-register-intent-handler': VoidCall;
|
|
13021
|
-
'interop-client-get-current-context': VoidCall;
|
|
13022
|
-
'interop-client-get-info-for-intent': VoidCall;
|
|
13023
|
-
'interop-client-get-info-for-intents-by-context': VoidCall;
|
|
13024
|
-
'interop-client-fire-intent-for-context': VoidCall;
|
|
13025
|
-
'interop-client-add-ondisconnection-listener': VoidCall;
|
|
13026
12289
|
'interop-broker-add-client-to-context-group': VoidCall;
|
|
13027
12290
|
'interop-broker-get-all-clients-in-context-group': VoidCall;
|
|
13028
12291
|
'interop-broker-get-context-groups': VoidCall;
|
|
@@ -13034,100 +12297,13 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
13034
12297
|
'interop-broker-remove-from-context-group': VoidCall;
|
|
13035
12298
|
'interop-broker-set-context': VoidCall;
|
|
13036
12299
|
'interop-broker-set-context-for-group': VoidCall;
|
|
13037
|
-
'
|
|
13038
|
-
|
|
13039
|
-
|
|
13040
|
-
|
|
13041
|
-
|
|
13042
|
-
|
|
13043
|
-
|
|
13044
|
-
'platform-get-current': VoidCall;
|
|
13045
|
-
'platform-get-current-sync': VoidCall;
|
|
13046
|
-
'platform-start': VoidCall;
|
|
13047
|
-
'platform-start-from-manifest': VoidCall;
|
|
13048
|
-
'platform-get-client': ApplicationIdentityCall<{}, void>;
|
|
13049
|
-
'platform-create-view': ApplicationIdentityCall<{}, void>;
|
|
13050
|
-
'platform-create-window': ApplicationIdentityCall<{}, void>;
|
|
13051
|
-
'platform-quit': ApplicationIdentityCall<{}, void>;
|
|
13052
|
-
'platform-close-view': ApplicationIdentityCall<{}, void>;
|
|
13053
|
-
'platform-reparent-view': ApplicationIdentityCall<{}, void>;
|
|
13054
|
-
'platform-get-snapshot': ApplicationIdentityCall<{}, void>;
|
|
13055
|
-
'platform-apply-snapshot': ApplicationIdentityCall<{}, void>;
|
|
13056
|
-
'platform-launch-content-manifest': ApplicationIdentityCall<{}, void>;
|
|
13057
|
-
'platform-set-window-context': ApplicationIdentityCall<{}, void>;
|
|
13058
|
-
'platform-get-window-context': ApplicationIdentityCall<{}, void>;
|
|
13059
|
-
'platform-close-window': ApplicationIdentityCall<{}, void>;
|
|
13060
|
-
'layout-wrap': VoidCall;
|
|
13061
|
-
'layout-wrap-sync': VoidCall;
|
|
13062
|
-
'layout-get-current': VoidCall;
|
|
13063
|
-
'layout-get-current-sync': VoidCall;
|
|
13064
|
-
'layout-init': VoidCall;
|
|
13065
|
-
'layout-get-config': VoidCall;
|
|
13066
|
-
'layout-get-views': VoidCall;
|
|
13067
|
-
'layout-replace': VoidCall;
|
|
13068
|
-
'layout-get-root-item': VoidCall;
|
|
13069
|
-
'layout-replace-view': VoidCall;
|
|
13070
|
-
'layout-apply-preset': VoidCall;
|
|
13071
|
-
'layout-controller-get-root': VoidCall;
|
|
13072
|
-
'layout-controller-get-stack-by-view': VoidCall;
|
|
13073
|
-
'layout-controller-get-stack-views': VoidCall;
|
|
13074
|
-
'layout-controller-get-content': VoidCall;
|
|
13075
|
-
'layout-controller-get-parent': VoidCall;
|
|
13076
|
-
'layout-controller-is-root': VoidCall;
|
|
13077
|
-
'layout-controller-exists': VoidCall;
|
|
13078
|
-
'layout-controller-add-view-to-stack': VoidCall;
|
|
13079
|
-
'layout-controller-remove-view-from-stack': VoidCall;
|
|
13080
|
-
'layout-controller-create-adjacent-stack': VoidCall;
|
|
13081
|
-
'layout-controller-get-adjacent-stacks': VoidCall;
|
|
13082
|
-
'layout-controller-set-stack-active-view': VoidCall;
|
|
13083
|
-
'snapshot-source-init': VoidCall;
|
|
13084
|
-
'snapshot-source-wrap-sync': VoidCall;
|
|
13085
|
-
'snapshot-source-wrap': VoidCall;
|
|
13086
|
-
'snapshot-source-ready': VoidCall;
|
|
13087
|
-
'snapshot-source-get-snapshot': VoidCall;
|
|
13088
|
-
'snapshot-source-apply-snapshot': VoidCall;
|
|
13089
|
-
'capture-page': IdentityCall<{
|
|
13090
|
-
options?: OpenFin.CapturePageOptions;
|
|
13091
|
-
}, string>;
|
|
13092
|
-
'execute-javascript-in-window': IdentityCall<{
|
|
13093
|
-
code: string;
|
|
13094
|
-
}, unknown>;
|
|
13095
|
-
'get-zoom-level': IdentityCall<{}, number>;
|
|
13096
|
-
'set-zoom-level': IdentityCall<{
|
|
13097
|
-
level: number;
|
|
13098
|
-
}, void>;
|
|
13099
|
-
'navigate-window': IdentityCall<{
|
|
13100
|
-
url: string;
|
|
13101
|
-
}, void>;
|
|
13102
|
-
'navigate-window-back': IdentityCall<{}, void>;
|
|
13103
|
-
'navigate-window-forward': IdentityCall<{}, void>;
|
|
13104
|
-
'stop-window-navigation': IdentityCall<{}, void>;
|
|
13105
|
-
'reload-window': IdentityCall<{
|
|
13106
|
-
ignoreCache: boolean;
|
|
13107
|
-
}, void>;
|
|
13108
|
-
'print': IdentityCall<{
|
|
13109
|
-
options: OpenFin.PrintOptions;
|
|
13110
|
-
}, void>;
|
|
13111
|
-
'find-in-page': IdentityCall<{
|
|
13112
|
-
searchTerm: string;
|
|
13113
|
-
options?: OpenFin.FindInPageOptions;
|
|
13114
|
-
}, void>;
|
|
13115
|
-
'stop-find-in-page': IdentityCall<{
|
|
13116
|
-
action: 'clearSelection' | 'keepSelection' | 'activateSelection';
|
|
13117
|
-
}, void>;
|
|
13118
|
-
'get-printers': IdentityCall<{}, OpenFin.PrinterInfo>;
|
|
13119
|
-
'focus-window': IdentityCall<{
|
|
13120
|
-
emitSynthFocused: boolean;
|
|
13121
|
-
}, void>;
|
|
13122
|
-
'get-process-info': IdentityCall<{}, OpenFin.EntityProcessDetails>;
|
|
13123
|
-
'get-shared-workers': IdentityCall<{}, OpenFin.SharedWorkerInfo[]>;
|
|
13124
|
-
'inspect-shared-worker': IdentityCall<{}, void>;
|
|
13125
|
-
'inspect-shared-worker-by-id': IdentityCall<{
|
|
13126
|
-
workerId: string;
|
|
13127
|
-
}, void>;
|
|
13128
|
-
'inspect-service-worker': IdentityCall<{}, void>;
|
|
13129
|
-
'view-show-popup-window': IdentityCall<{}, void>;
|
|
13130
|
-
'window-show-popup-window': IdentityCall<{}, void>;
|
|
12300
|
+
'query-permission-for-current-context': {
|
|
12301
|
+
request: {
|
|
12302
|
+
apiName: string;
|
|
12303
|
+
identity: OpenFin.Identity;
|
|
12304
|
+
};
|
|
12305
|
+
response: OpenFin.QueryPermissionResult;
|
|
12306
|
+
};
|
|
13131
12307
|
'try-create-popup-window': {
|
|
13132
12308
|
request: OpenFin.Identity & {
|
|
13133
12309
|
options: OpenFin.PopupOptions;
|
|
@@ -13143,6 +12319,9 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
13143
12319
|
};
|
|
13144
12320
|
response: OpenFin.PopupResult;
|
|
13145
12321
|
};
|
|
12322
|
+
'dispatch-popup-result': IdentityCall<{
|
|
12323
|
+
data: any;
|
|
12324
|
+
}>;
|
|
13146
12325
|
'render-overlay': {
|
|
13147
12326
|
request: {
|
|
13148
12327
|
bounds: OpenFin.Bounds;
|
|
@@ -13162,6 +12341,38 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
13162
12341
|
};
|
|
13163
12342
|
response: void;
|
|
13164
12343
|
};
|
|
12344
|
+
'system-get-printers': GetterCall<OpenFin.PrinterInfo[]>;
|
|
12345
|
+
'system-register-shutdown-handler': VoidCall;
|
|
12346
|
+
'get-domain-settings': ApiCall<OpenFin.ApplicationIdentity, OpenFin.DefaultDomainSettings>;
|
|
12347
|
+
'set-domain-settings': ApiCall<OpenFin.ApplicationIdentity & {
|
|
12348
|
+
domainSettings: OpenFin.DefaultDomainSettings;
|
|
12349
|
+
}, void>;
|
|
12350
|
+
'move-window-by': IdentityCall<WithPositioningOptions<{
|
|
12351
|
+
deltaLeft: number;
|
|
12352
|
+
deltaTop: number;
|
|
12353
|
+
}>>;
|
|
12354
|
+
'move-window': IdentityCall<WithPositioningOptions<{
|
|
12355
|
+
left: number;
|
|
12356
|
+
top: number;
|
|
12357
|
+
}>>;
|
|
12358
|
+
'resize-window-by': IdentityCall<WithPositioningOptions<{
|
|
12359
|
+
deltaWidth: number;
|
|
12360
|
+
deltaHeight: number;
|
|
12361
|
+
anchor: OpenFin.AnchorType;
|
|
12362
|
+
}>>;
|
|
12363
|
+
'resize-window': IdentityCall<WithPositioningOptions<{
|
|
12364
|
+
width: number;
|
|
12365
|
+
height: number;
|
|
12366
|
+
anchor: OpenFin.AnchorType;
|
|
12367
|
+
}>>;
|
|
12368
|
+
'set-window-bounds': IdentityCall<WithPositioningOptions<Partial<OpenFin.Bounds>>>;
|
|
12369
|
+
'register-custom-protocol': ApiCall<OpenFin.CustomProtocolOptions, void>;
|
|
12370
|
+
'unregister-custom-protocol': ApiCall<{
|
|
12371
|
+
protocolName: string;
|
|
12372
|
+
}, void>;
|
|
12373
|
+
'get-custom-protocol-state': ApiCall<{
|
|
12374
|
+
protocolName: string;
|
|
12375
|
+
}, OpenFin.CustomProtocolState>;
|
|
13165
12376
|
}
|
|
13166
12377
|
|
|
13167
12378
|
declare interface ProtocolMapBase {
|
|
@@ -13191,7 +12402,7 @@ declare type ProviderIdentity_3 = OpenFin.ProviderIdentity;
|
|
|
13191
12402
|
* Identity of a channel provider.
|
|
13192
12403
|
* @interface
|
|
13193
12404
|
*/
|
|
13194
|
-
declare type ProviderIdentity_4 =
|
|
12405
|
+
declare type ProviderIdentity_4 = Identity_5 & {
|
|
13195
12406
|
/**
|
|
13196
12407
|
* Identifier of the channel.
|
|
13197
12408
|
*/
|
|
@@ -13202,10 +12413,12 @@ declare type ProviderIdentity_4 = Identity_4 & {
|
|
|
13202
12413
|
channelName: string;
|
|
13203
12414
|
};
|
|
13204
12415
|
|
|
12416
|
+
declare type ProxyConfig = OpenFin.ProxyConfig;
|
|
12417
|
+
|
|
13205
12418
|
/**
|
|
13206
12419
|
* @interface
|
|
13207
12420
|
*/
|
|
13208
|
-
declare type
|
|
12421
|
+
declare type ProxyConfig_2 = {
|
|
13209
12422
|
/**
|
|
13210
12423
|
* The configured proxy address.
|
|
13211
12424
|
*/
|
|
@@ -13217,11 +12430,13 @@ declare type ProxyConfig = {
|
|
|
13217
12430
|
type: string;
|
|
13218
12431
|
};
|
|
13219
12432
|
|
|
12433
|
+
declare type ProxyInfo = OpenFin.ProxyInfo;
|
|
12434
|
+
|
|
13220
12435
|
/**
|
|
13221
12436
|
* @interface
|
|
13222
12437
|
*/
|
|
13223
|
-
declare type
|
|
13224
|
-
config:
|
|
12438
|
+
declare type ProxyInfo_2 = {
|
|
12439
|
+
config: ProxyConfig_2;
|
|
13225
12440
|
system: ProxySystemInfo;
|
|
13226
12441
|
};
|
|
13227
12442
|
|
|
@@ -13327,10 +12542,12 @@ declare type RegisterUsageData = {
|
|
|
13327
12542
|
type: string;
|
|
13328
12543
|
};
|
|
13329
12544
|
|
|
12545
|
+
declare type RegistryInfo = OpenFin.RegistryInfo;
|
|
12546
|
+
|
|
13330
12547
|
/**
|
|
13331
12548
|
* @interface
|
|
13332
12549
|
*/
|
|
13333
|
-
declare type
|
|
12550
|
+
declare type RegistryInfo_2 = {
|
|
13334
12551
|
data: any;
|
|
13335
12552
|
rootKey: string;
|
|
13336
12553
|
subkey: string;
|
|
@@ -13351,15 +12568,6 @@ declare interface RemoteConfig extends ExistingConnectConfig {
|
|
|
13351
12568
|
token: string;
|
|
13352
12569
|
}
|
|
13353
12570
|
|
|
13354
|
-
/**
|
|
13355
|
-
* Generated when a View is removed from a layout.
|
|
13356
|
-
* @interface
|
|
13357
|
-
*/
|
|
13358
|
-
declare type RemovedFromLayoutEvent = BaseEvent_4 & {
|
|
13359
|
-
type: 'removed-from-layout';
|
|
13360
|
-
layoutIdentity: OpenFin.LayoutIdentity;
|
|
13361
|
-
};
|
|
13362
|
-
|
|
13363
12571
|
/**
|
|
13364
12572
|
* @interface
|
|
13365
12573
|
*/
|
|
@@ -13388,14 +12596,14 @@ declare type ReplaceLayoutPayload = {
|
|
|
13388
12596
|
/**
|
|
13389
12597
|
* Identity of the window whose layout will be replaced.
|
|
13390
12598
|
*/
|
|
13391
|
-
target:
|
|
12599
|
+
target: Identity_5 | LayoutIdentity;
|
|
13392
12600
|
};
|
|
13393
12601
|
|
|
13394
12602
|
/**
|
|
13395
12603
|
* @interface
|
|
13396
12604
|
*/
|
|
13397
12605
|
declare type ReplaceViewOptions = {
|
|
13398
|
-
viewToReplace:
|
|
12606
|
+
viewToReplace: Identity_5;
|
|
13399
12607
|
newView: ViewState;
|
|
13400
12608
|
};
|
|
13401
12609
|
|
|
@@ -13404,7 +12612,7 @@ declare type ReplaceViewOptions = {
|
|
|
13404
12612
|
*/
|
|
13405
12613
|
declare type ReplaceViewPayload = {
|
|
13406
12614
|
opts: {
|
|
13407
|
-
viewToReplace:
|
|
12615
|
+
viewToReplace: Identity_5;
|
|
13408
12616
|
newView: Partial<ViewOptions>;
|
|
13409
12617
|
};
|
|
13410
12618
|
target: LayoutIdentity;
|
|
@@ -13679,21 +12887,6 @@ declare type ScreenshotPrintOptions = {
|
|
|
13679
12887
|
content: 'screenshot';
|
|
13680
12888
|
};
|
|
13681
12889
|
|
|
13682
|
-
/**
|
|
13683
|
-
* An event generated when an application modifies the runtime in a way that affects all other applications in the
|
|
13684
|
-
* application runtime/security realm.
|
|
13685
|
-
*/
|
|
13686
|
-
declare type SecurityRealmEvent = BaseEvent_9 & {
|
|
13687
|
-
/**
|
|
13688
|
-
* Config URL of the application that modified the security realm's extensions
|
|
13689
|
-
*/
|
|
13690
|
-
configUrl: string;
|
|
13691
|
-
/**
|
|
13692
|
-
* Identity of the application that modified the security realm's extensions
|
|
13693
|
-
*/
|
|
13694
|
-
applicationIdentity: OpenFin.ApplicationIdentity;
|
|
13695
|
-
};
|
|
13696
|
-
|
|
13697
12890
|
declare type SendActionResponse<T extends keyof ProtocolMap> = Message<{
|
|
13698
12891
|
data: ProtocolMap[T]['response'];
|
|
13699
12892
|
} & ProtocolMap[T]['specialResponse']>;
|
|
@@ -13785,7 +12978,7 @@ declare type SetWindowContextPayload = {
|
|
|
13785
12978
|
/**
|
|
13786
12979
|
* Identity of the entity targeted by the call to {@link Platform#setWindowContext Platform.setWindowContext}.
|
|
13787
12980
|
*/
|
|
13788
|
-
target:
|
|
12981
|
+
target: Identity_5;
|
|
13789
12982
|
};
|
|
13790
12983
|
|
|
13791
12984
|
/**
|
|
@@ -14235,7 +13428,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
14235
13428
|
* fin.System.getAllWindows().then(wins => console.log(wins)).catch(err => console.log(err));
|
|
14236
13429
|
* ```
|
|
14237
13430
|
*/
|
|
14238
|
-
getAllWindows(): Promise<Array<
|
|
13431
|
+
getAllWindows(): Promise<Array<ApplicationWindowInfo>>;
|
|
14239
13432
|
/**
|
|
14240
13433
|
* Retrieves an array of data for all applications.
|
|
14241
13434
|
*
|
|
@@ -14244,7 +13437,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
14244
13437
|
* fin.System.getAllApplications().then(apps => console.log(apps)).catch(err => console.log(err));
|
|
14245
13438
|
* ```
|
|
14246
13439
|
*/
|
|
14247
|
-
getAllApplications(): Promise<Array<
|
|
13440
|
+
getAllApplications(): Promise<Array<ApplicationState>>;
|
|
14248
13441
|
/**
|
|
14249
13442
|
* Retrieves the command line argument string that started OpenFin Runtime.
|
|
14250
13443
|
*
|
|
@@ -14319,7 +13512,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
14319
13512
|
* }
|
|
14320
13513
|
* ```
|
|
14321
13514
|
*/
|
|
14322
|
-
getEntityInfo(uuid: string, name: string): Promise<
|
|
13515
|
+
getEntityInfo(uuid: string, name: string): Promise<EntityInfo>;
|
|
14323
13516
|
/**
|
|
14324
13517
|
* Gets the value of a given environment variable on the computer on which the runtime is installed
|
|
14325
13518
|
*
|
|
@@ -14361,7 +13554,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
14361
13554
|
* ```
|
|
14362
13555
|
*/
|
|
14363
13556
|
getInstalledRuntimes(): Promise<string[]>;
|
|
14364
|
-
getInstalledApps(): Promise<
|
|
13557
|
+
getInstalledApps(): Promise<InstalledApps>;
|
|
14365
13558
|
/**
|
|
14366
13559
|
* Retrieves the contents of the log with the specified filename.
|
|
14367
13560
|
* @param options A object that id defined by the GetLogRequestType interface
|
|
@@ -14376,7 +13569,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
14376
13569
|
* getLog().then(log => console.log(log)).catch(err => console.log(err));
|
|
14377
13570
|
* ```
|
|
14378
13571
|
*/
|
|
14379
|
-
getLog(options:
|
|
13572
|
+
getLog(options: GetLogRequestType): Promise<string>;
|
|
14380
13573
|
/**
|
|
14381
13574
|
* Returns a unique identifier (UUID) provided by the machine.
|
|
14382
13575
|
*
|
|
@@ -14394,7 +13587,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
14394
13587
|
* fin.System.getMinLogLevel().then(level => console.log(level)).catch(err => console.log(err));
|
|
14395
13588
|
* ```
|
|
14396
13589
|
*/
|
|
14397
|
-
getMinLogLevel(): Promise<
|
|
13590
|
+
getMinLogLevel(): Promise<LogLevel>;
|
|
14398
13591
|
/**
|
|
14399
13592
|
* Retrieves an array containing information for each log file.
|
|
14400
13593
|
*
|
|
@@ -14403,7 +13596,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
14403
13596
|
* fin.System.getLogList().then(logList => console.log(logList)).catch(err => console.log(err));
|
|
14404
13597
|
* ```
|
|
14405
13598
|
*/
|
|
14406
|
-
getLogList(): Promise<Array<
|
|
13599
|
+
getLogList(): Promise<Array<LogInfo>>;
|
|
14407
13600
|
/**
|
|
14408
13601
|
* Retrieves an object that contains data about the monitor setup of the
|
|
14409
13602
|
* computer that the runtime is running on.
|
|
@@ -14474,7 +13667,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
14474
13667
|
* }
|
|
14475
13668
|
* ```
|
|
14476
13669
|
*/
|
|
14477
|
-
getProxySettings(): Promise<
|
|
13670
|
+
getProxySettings(): Promise<ProxyInfo>;
|
|
14478
13671
|
/**
|
|
14479
13672
|
* Returns information about the running Runtime in an object.
|
|
14480
13673
|
*
|
|
@@ -14494,8 +13687,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
14494
13687
|
*/
|
|
14495
13688
|
getRvmInfo(): Promise<OpenFin.RVMInfo>;
|
|
14496
13689
|
/**
|
|
14497
|
-
* Retrieves
|
|
14498
|
-
* OS and the currently logged in user, use `fin.System.getOSInfo()` instead.
|
|
13690
|
+
* Retrieves system information.
|
|
14499
13691
|
*
|
|
14500
13692
|
* @example
|
|
14501
13693
|
* ```js
|
|
@@ -14503,15 +13695,6 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
14503
13695
|
* ```
|
|
14504
13696
|
*/
|
|
14505
13697
|
getHostSpecs(): Promise<OpenFin.HostSpecs>;
|
|
14506
|
-
/**
|
|
14507
|
-
* Retrieves information about the OS and the currently logged in user.
|
|
14508
|
-
*
|
|
14509
|
-
* @example
|
|
14510
|
-
* ```js
|
|
14511
|
-
* fin.System.getOSInfo().then(specs => console.log(specs)).catch(err => console.log(err));
|
|
14512
|
-
* ```
|
|
14513
|
-
*/
|
|
14514
|
-
getOSInfo(): Promise<OpenFin.OSInfo>;
|
|
14515
13698
|
/**
|
|
14516
13699
|
* Runs an executable or batch file. A path to the file must be included in options.
|
|
14517
13700
|
* <br> A uuid may be optionally provided. If not provided, OpenFin will create a uuid for the new process.
|
|
@@ -14841,7 +14024,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
14841
14024
|
* }
|
|
14842
14025
|
* ```
|
|
14843
14026
|
*/
|
|
14844
|
-
launchExternalProcess(options: OpenFin.ExternalProcessRequestType): Promise<
|
|
14027
|
+
launchExternalProcess(options: OpenFin.ExternalProcessRequestType): Promise<Identity_2>;
|
|
14845
14028
|
/**
|
|
14846
14029
|
* Monitors a running process. A pid for the process must be included in options.
|
|
14847
14030
|
* <br> A uuid may be optionally provided. If not provided, OpenFin will create a uuid for the new process.
|
|
@@ -14858,7 +14041,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
14858
14041
|
* }).then(processIdentity => console.log(processIdentity)).catch(err => console.log(err));
|
|
14859
14042
|
* ```
|
|
14860
14043
|
*/
|
|
14861
|
-
monitorExternalProcess(options: OpenFin.ExternalProcessInfo): Promise<
|
|
14044
|
+
monitorExternalProcess(options: OpenFin.ExternalProcessInfo): Promise<Identity_2>;
|
|
14862
14045
|
/**
|
|
14863
14046
|
* Writes the passed message into both the log file and the console.
|
|
14864
14047
|
* @param level The log level for the entry. Can be either "info", "warning" or "error"
|
|
@@ -14992,7 +14175,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
14992
14175
|
*
|
|
14993
14176
|
* @tutorial System.showDeveloperTools
|
|
14994
14177
|
*/
|
|
14995
|
-
showDeveloperTools(identity:
|
|
14178
|
+
showDeveloperTools(identity: Identity_2): Promise<void>;
|
|
14996
14179
|
/**
|
|
14997
14180
|
* Attempt to close an external process. The process will be terminated if it
|
|
14998
14181
|
* has not closed after the elapsed timeout in milliseconds.
|
|
@@ -15026,7 +14209,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
15026
14209
|
* .catch(err => console.error(err));
|
|
15027
14210
|
* ```
|
|
15028
14211
|
*/
|
|
15029
|
-
updateProxySettings(options:
|
|
14212
|
+
updateProxySettings(options: ProxyConfig): Promise<void>;
|
|
15030
14213
|
/**
|
|
15031
14214
|
* Downloads the given application asset.
|
|
15032
14215
|
*
|
|
@@ -15118,7 +14301,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
15118
14301
|
* .catch(err => console.log(err));
|
|
15119
14302
|
* ```
|
|
15120
14303
|
*/
|
|
15121
|
-
getAllExternalApplications(): Promise<Array<
|
|
14304
|
+
getAllExternalApplications(): Promise<Array<Identity_2>>;
|
|
15122
14305
|
/**
|
|
15123
14306
|
* Retrieves app asset information.
|
|
15124
14307
|
* @param options
|
|
@@ -15147,7 +14330,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
15147
14330
|
* fin.System.setMinLogLevel("verbose").then(() => console.log("log level is set to verbose")).catch(err => console.log(err));
|
|
15148
14331
|
* ```
|
|
15149
14332
|
*/
|
|
15150
|
-
setMinLogLevel(level:
|
|
14333
|
+
setMinLogLevel(level: LogLevel): Promise<void>;
|
|
15151
14334
|
/**
|
|
15152
14335
|
* Retrieves the UUID of the computer on which the runtime is installed
|
|
15153
14336
|
* @param uuid The uuid of the running application
|
|
@@ -15157,7 +14340,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
15157
14340
|
* fin.System.resolveUuid('OpenfinPOC').then(entity => console.log(entity)).catch(err => console.log(err));
|
|
15158
14341
|
* ```
|
|
15159
14342
|
*/
|
|
15160
|
-
resolveUuid(uuid: string): Promise<
|
|
14343
|
+
resolveUuid(uuid: string): Promise<Entity>;
|
|
15161
14344
|
/**
|
|
15162
14345
|
* Retrieves an array of data for all external applications
|
|
15163
14346
|
* @param requestingIdentity This object is described in the Identity typedef
|
|
@@ -15165,7 +14348,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
15165
14348
|
*
|
|
15166
14349
|
* @ignore
|
|
15167
14350
|
*/
|
|
15168
|
-
executeOnRemote(requestingIdentity:
|
|
14351
|
+
executeOnRemote(requestingIdentity: Identity_2, data: any): Promise<any>;
|
|
15169
14352
|
/**
|
|
15170
14353
|
* Reads the specifed value from the registry.
|
|
15171
14354
|
* @remarks This method is restricted by default and must be enabled via
|
|
@@ -15258,7 +14441,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
15258
14441
|
* }
|
|
15259
14442
|
* ```
|
|
15260
14443
|
*/
|
|
15261
|
-
readRegistryValue(rootKey: string, subkey: string, value: string): Promise<
|
|
14444
|
+
readRegistryValue(rootKey: string, subkey: string, value: string): Promise<RegistryInfo>;
|
|
15262
14445
|
/**
|
|
15263
14446
|
* This function call will register a unique id and produce a token.
|
|
15264
14447
|
* The token can be used to broker an external connection.
|
|
@@ -15473,7 +14656,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
15473
14656
|
* });
|
|
15474
14657
|
* ```
|
|
15475
14658
|
*/
|
|
15476
|
-
getPrinters(): Promise<
|
|
14659
|
+
getPrinters(): Promise<PrinterInfo[]>;
|
|
15477
14660
|
/**
|
|
15478
14661
|
* Updates Process Logging values: periodic interval and outlier detection entries and interval.
|
|
15479
14662
|
* @param options Process Logging updatable options.
|
|
@@ -15591,16 +14774,6 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
15591
14774
|
* ```
|
|
15592
14775
|
*/
|
|
15593
14776
|
setDomainSettings(domainSettings: OpenFin.DefaultDomainSettings): Promise<void>;
|
|
15594
|
-
/**
|
|
15595
|
-
* Attempts to install and enable extensions for the security realm. Users may want to call this function in response
|
|
15596
|
-
* to an `extensions-install-failed` event. Only extensions allowed by every application on the current security realm
|
|
15597
|
-
* will be installed/enabled.
|
|
15598
|
-
*/
|
|
15599
|
-
refreshExtensions(): Promise<string[] | undefined>;
|
|
15600
|
-
/**
|
|
15601
|
-
* Gets the currently-installed
|
|
15602
|
-
*/
|
|
15603
|
-
getInstalledExtensions(): Promise<OpenFin.ExtensionInfo[]>;
|
|
15604
14777
|
}
|
|
15605
14778
|
|
|
15606
14779
|
/**
|
|
@@ -15631,14 +14804,6 @@ declare namespace SystemEvents {
|
|
|
15631
14804
|
ApplicationCreatedEvent,
|
|
15632
14805
|
DesktopIconClickedEvent,
|
|
15633
14806
|
SystemShutdownEvent,
|
|
15634
|
-
ExtensionsEnabledEvent,
|
|
15635
|
-
ExtensionsDisabledEvent,
|
|
15636
|
-
ExtensionsExcludedEvent,
|
|
15637
|
-
ExtensionsInstalledEvent,
|
|
15638
|
-
ExtensionInstalledEvent,
|
|
15639
|
-
ExtensionsInstallFailedEvent,
|
|
15640
|
-
ExtensionInstallFailedEvent,
|
|
15641
|
-
ExtensionsInitializationFailedEvent,
|
|
15642
14807
|
Event_11 as Event,
|
|
15643
14808
|
SystemEvent,
|
|
15644
14809
|
EventType_8 as EventType,
|
|
@@ -15657,7 +14822,6 @@ declare type SystemEventType = EventType_8;
|
|
|
15657
14822
|
* @interface
|
|
15658
14823
|
*/
|
|
15659
14824
|
declare type SystemPermissions = {
|
|
15660
|
-
getOSInfo: boolean;
|
|
15661
14825
|
getAllExternalWindows: boolean;
|
|
15662
14826
|
launchExternalProcess: boolean | {
|
|
15663
14827
|
enabled: boolean;
|
|
@@ -16117,11 +15281,14 @@ declare type UrlChangedEvent = BaseUrlEvent & ({
|
|
|
16117
15281
|
declare type UserAppConfigArgs = Record<string, string | string[]>;
|
|
16118
15282
|
|
|
16119
15283
|
/**
|
|
16120
|
-
*
|
|
16121
|
-
*
|
|
15284
|
+
* A general user bounds change event without event type.
|
|
16122
15285
|
* @interface
|
|
16123
15286
|
*/
|
|
16124
|
-
declare type UserBoundsChangeEvent =
|
|
15287
|
+
declare type UserBoundsChangeEvent = BaseEvent_5 & {
|
|
15288
|
+
height: number;
|
|
15289
|
+
left: number;
|
|
15290
|
+
top: number;
|
|
15291
|
+
width: number;
|
|
16125
15292
|
windowState: 'minimized' | 'normal' | 'maximized';
|
|
16126
15293
|
};
|
|
16127
15294
|
|
|
@@ -16559,7 +15726,7 @@ declare class View_2 extends WebContents<OpenFin.ViewEvent> {
|
|
|
16559
15726
|
*/
|
|
16560
15727
|
getInfo: () => Promise<OpenFin.ViewInfo>;
|
|
16561
15728
|
/**
|
|
16562
|
-
* Retrieves the
|
|
15729
|
+
* Retrieves the layout for the window the view is attached to.
|
|
16563
15730
|
*
|
|
16564
15731
|
* @example
|
|
16565
15732
|
* ```js
|
|
@@ -16757,24 +15924,6 @@ declare type ViewContentCreationRule = BaseContentCreationRule & {
|
|
|
16757
15924
|
options?: Partial<ViewOptions>;
|
|
16758
15925
|
};
|
|
16759
15926
|
|
|
16760
|
-
/**
|
|
16761
|
-
* @interface
|
|
16762
|
-
*/
|
|
16763
|
-
declare type ViewCreationFailure = {
|
|
16764
|
-
/**
|
|
16765
|
-
* The identity of the created view
|
|
16766
|
-
*/
|
|
16767
|
-
identity: Identity_4;
|
|
16768
|
-
/**
|
|
16769
|
-
* Whether the view was created with errors
|
|
16770
|
-
*/
|
|
16771
|
-
success: false;
|
|
16772
|
-
/**
|
|
16773
|
-
* Error thrown during view creation
|
|
16774
|
-
*/
|
|
16775
|
-
error: Error;
|
|
16776
|
-
};
|
|
16777
|
-
|
|
16778
15927
|
/**
|
|
16779
15928
|
* The options object required by {@link View.ViewModule.create View.create}.
|
|
16780
15929
|
*
|
|
@@ -16785,30 +15934,11 @@ declare type ViewCreationFailure = {
|
|
|
16785
15934
|
declare type ViewCreationOptions = Partial<ViewOptions> & {
|
|
16786
15935
|
name: string;
|
|
16787
15936
|
url: string;
|
|
16788
|
-
target:
|
|
15937
|
+
target: Identity_5;
|
|
16789
15938
|
};
|
|
16790
15939
|
|
|
16791
15940
|
declare type ViewCreationOrReference = OpenFin.Identity | OpenFin.PlatformViewCreationOptions;
|
|
16792
15941
|
|
|
16793
|
-
/**
|
|
16794
|
-
* A view creation state
|
|
16795
|
-
*/
|
|
16796
|
-
declare type ViewCreationResult = ViewCreationSuccess | ViewCreationFailure;
|
|
16797
|
-
|
|
16798
|
-
/**
|
|
16799
|
-
* @interface
|
|
16800
|
-
*/
|
|
16801
|
-
declare type ViewCreationSuccess = {
|
|
16802
|
-
/**
|
|
16803
|
-
* The identity of the created view
|
|
16804
|
-
*/
|
|
16805
|
-
identity: Identity_4;
|
|
16806
|
-
/**
|
|
16807
|
-
* Whether the view was created without errors
|
|
16808
|
-
*/
|
|
16809
|
-
success: true;
|
|
16810
|
-
};
|
|
16811
|
-
|
|
16812
15942
|
/**
|
|
16813
15943
|
* Generated when a window has a view detached from it.
|
|
16814
15944
|
* @remarks Will fire when a view is destroyed in which case `target` will be null.
|
|
@@ -16833,8 +15963,6 @@ declare namespace ViewEvents {
|
|
|
16833
15963
|
BaseEvent_4 as BaseEvent,
|
|
16834
15964
|
BaseViewEvent,
|
|
16835
15965
|
TargetChangedEvent,
|
|
16836
|
-
AddedToLayoutEvent,
|
|
16837
|
-
RemovedFromLayoutEvent,
|
|
16838
15966
|
NonPropagatedViewEvent,
|
|
16839
15967
|
CreatedEvent,
|
|
16840
15968
|
DestroyedEvent,
|
|
@@ -16970,9 +16098,6 @@ declare class ViewModule extends Base {
|
|
|
16970
16098
|
*/
|
|
16971
16099
|
declare type ViewOptions = ConstViewOptions & MutableViewOptions;
|
|
16972
16100
|
|
|
16973
|
-
/**
|
|
16974
|
-
* @interface
|
|
16975
|
-
*/
|
|
16976
16101
|
declare type ViewShowAtOptions = {
|
|
16977
16102
|
/**
|
|
16978
16103
|
* Sets the view as the top level view. See {@link OpenFin.View.bringToFront} for more information.
|
|
@@ -16993,15 +16118,15 @@ declare interface ViewsPreventingUnloadPayload {
|
|
|
16993
16118
|
/**
|
|
16994
16119
|
* Identity of the Window.
|
|
16995
16120
|
*/
|
|
16996
|
-
windowId:
|
|
16121
|
+
windowId: Identity_5;
|
|
16997
16122
|
/**
|
|
16998
16123
|
* Identities of the Views that are preventing an unload
|
|
16999
16124
|
*/
|
|
17000
|
-
viewsPreventingUnload:
|
|
16125
|
+
viewsPreventingUnload: Identity_5[];
|
|
17001
16126
|
/**
|
|
17002
16127
|
* Identities of the Views that are not preventing an unload
|
|
17003
16128
|
*/
|
|
17004
|
-
viewsNotPreventingUnload:
|
|
16129
|
+
viewsNotPreventingUnload: Identity_5[];
|
|
17005
16130
|
/**
|
|
17006
16131
|
* Source of the close action.
|
|
17007
16132
|
*/
|
|
@@ -17026,11 +16151,11 @@ declare interface ViewStatuses {
|
|
|
17026
16151
|
/**
|
|
17027
16152
|
* Identities of the Views that are preventing an unload.
|
|
17028
16153
|
*/
|
|
17029
|
-
viewsPreventingUnload:
|
|
16154
|
+
viewsPreventingUnload: Identity_5[];
|
|
17030
16155
|
/**
|
|
17031
16156
|
* Identities of the Views that are not preventing an unload.
|
|
17032
16157
|
*/
|
|
17033
|
-
viewsNotPreventingUnload:
|
|
16158
|
+
viewsNotPreventingUnload: Identity_5[];
|
|
17034
16159
|
}
|
|
17035
16160
|
|
|
17036
16161
|
/**
|
|
@@ -17535,7 +16660,7 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
|
|
|
17535
16660
|
* We do not expose an explicit superclass for this functionality, but it does have its own
|
|
17536
16661
|
* {@link OpenFin.WebContentsEvents event namespace}.
|
|
17537
16662
|
*/
|
|
17538
|
-
stopFindInPage(action:
|
|
16663
|
+
stopFindInPage(action: string): Promise<void>;
|
|
17539
16664
|
/**
|
|
17540
16665
|
* Returns an array with all system printers
|
|
17541
16666
|
* @deprecated use System.getPrinters instead
|
|
@@ -17674,7 +16799,7 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
|
|
|
17674
16799
|
* bounds: {top: 10, left: 10, width: 200, height: 200}
|
|
17675
16800
|
* });
|
|
17676
16801
|
*
|
|
17677
|
-
* await view.navigate('
|
|
16802
|
+
* await view.navigate('http://mdn.github.io/simple-shared-worker/index2.html');
|
|
17678
16803
|
*
|
|
17679
16804
|
* const sharedWorkers = await view.getSharedWorkers();
|
|
17680
16805
|
* ```
|
|
@@ -17685,7 +16810,7 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
|
|
|
17685
16810
|
* name:'child',
|
|
17686
16811
|
* defaultWidth: 300,
|
|
17687
16812
|
* defaultHeight: 300,
|
|
17688
|
-
* url: '
|
|
16813
|
+
* url: 'http://mdn.github.io/simple-shared-worker/index2.html',
|
|
17689
16814
|
* frame: true,
|
|
17690
16815
|
* autoShow: true
|
|
17691
16816
|
* };
|
|
@@ -17710,7 +16835,7 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
|
|
|
17710
16835
|
* bounds: {top: 10, left: 10, width: 200, height: 200}
|
|
17711
16836
|
* });
|
|
17712
16837
|
*
|
|
17713
|
-
* await view.navigate('
|
|
16838
|
+
* await view.navigate('http://mdn.github.io/simple-shared-worker/index2.html');
|
|
17714
16839
|
*
|
|
17715
16840
|
* await view.inspectSharedWorker();
|
|
17716
16841
|
* ```
|
|
@@ -17721,7 +16846,7 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
|
|
|
17721
16846
|
* name:'child',
|
|
17722
16847
|
* defaultWidth: 300,
|
|
17723
16848
|
* defaultHeight: 300,
|
|
17724
|
-
* url: '
|
|
16849
|
+
* url: 'http://mdn.github.io/simple-shared-worker/index2.html',
|
|
17725
16850
|
* frame: true,
|
|
17726
16851
|
* autoShow: true
|
|
17727
16852
|
* };
|
|
@@ -17747,7 +16872,7 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
|
|
|
17747
16872
|
* bounds: {top: 10, left: 10, width: 200, height: 200}
|
|
17748
16873
|
* });
|
|
17749
16874
|
*
|
|
17750
|
-
* await view.navigate('
|
|
16875
|
+
* await view.navigate('http://mdn.github.io/simple-shared-worker/index2.html');
|
|
17751
16876
|
*
|
|
17752
16877
|
* const sharedWorkers = await view.getSharedWorkers();
|
|
17753
16878
|
* await view.inspectSharedWorkerById(sharedWorkers[0].id);
|
|
@@ -17759,7 +16884,7 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
|
|
|
17759
16884
|
* name:'child',
|
|
17760
16885
|
* defaultWidth: 300,
|
|
17761
16886
|
* defaultHeight: 300,
|
|
17762
|
-
* url: '
|
|
16887
|
+
* url: 'http://mdn.github.io/simple-shared-worker/index2.html',
|
|
17763
16888
|
* frame: true,
|
|
17764
16889
|
* autoShow: true
|
|
17765
16890
|
* };
|
|
@@ -18128,7 +17253,11 @@ declare type WillMoveEvent = WillMoveOrResizeEvent & {
|
|
|
18128
17253
|
* A general will-move or will-resize event without event type.
|
|
18129
17254
|
* @interface
|
|
18130
17255
|
*/
|
|
18131
|
-
declare type WillMoveOrResizeEvent =
|
|
17256
|
+
declare type WillMoveOrResizeEvent = BaseEvent_5 & {
|
|
17257
|
+
height: number;
|
|
17258
|
+
left: number;
|
|
17259
|
+
top: number;
|
|
17260
|
+
width: number;
|
|
18132
17261
|
monitorScaleFactor: number;
|
|
18133
17262
|
};
|
|
18134
17263
|
|
|
@@ -19323,21 +18452,16 @@ declare namespace WindowEvents {
|
|
|
19323
18452
|
PreloadScriptInfoRunning,
|
|
19324
18453
|
PreloadScriptInfo,
|
|
19325
18454
|
PreloadScriptsStateChangeEvent,
|
|
19326
|
-
|
|
18455
|
+
UserBoundsChangeEvent,
|
|
19327
18456
|
BoundsChangeEvent,
|
|
19328
18457
|
WillMoveOrResizeEvent,
|
|
19329
|
-
BoundsDidChangeEvent,
|
|
19330
|
-
BoundsChangedEvent,
|
|
19331
|
-
BoundsChangingEvent,
|
|
19332
|
-
DisabledMovementBoundsChangedEvent,
|
|
19333
|
-
DisabledMovementBoundsChangingEvent,
|
|
19334
|
-
UserBoundsChangeEvent,
|
|
19335
|
-
BeginUserBoundsChangingEvent,
|
|
19336
|
-
EndUserBoundsChangingEvent,
|
|
19337
18458
|
PerformanceReportEvent,
|
|
19338
18459
|
InputEvent_2 as InputEvent,
|
|
19339
18460
|
LayoutInitializedEvent,
|
|
19340
18461
|
LayoutReadyEvent,
|
|
18462
|
+
BeginUserBoundsChangingEvent,
|
|
18463
|
+
BoundsChangedEvent,
|
|
18464
|
+
BoundsChangingEvent,
|
|
19341
18465
|
CloseRequestedEvent,
|
|
19342
18466
|
WindowCloseRequestedEvent,
|
|
19343
18467
|
ContextChangedEvent,
|
|
@@ -19345,7 +18469,10 @@ declare namespace WindowEvents {
|
|
|
19345
18469
|
WindowClosedEvent,
|
|
19346
18470
|
ClosingEvent,
|
|
19347
18471
|
WindowClosingEvent,
|
|
18472
|
+
DisabledMovementBoundsChangedEvent,
|
|
18473
|
+
DisabledMovementBoundsChangingEvent,
|
|
19348
18474
|
EmbeddedEvent,
|
|
18475
|
+
EndUserBoundsChangingEvent,
|
|
19349
18476
|
HotkeyEvent_2 as HotkeyEvent,
|
|
19350
18477
|
WindowHotkeyEvent,
|
|
19351
18478
|
InitializedEvent_2 as InitializedEvent,
|