@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-alpha.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
|
/**
|
|
@@ -930,15 +921,15 @@ declare namespace ApplicationEvents {
|
|
|
930
921
|
*/
|
|
931
922
|
declare type ApplicationEventType = EventType_3;
|
|
932
923
|
|
|
924
|
+
declare type ApplicationIdentity = OpenFin.ApplicationIdentity;
|
|
925
|
+
|
|
933
926
|
/**
|
|
934
927
|
* @interface
|
|
935
928
|
*/
|
|
936
|
-
declare type
|
|
929
|
+
declare type ApplicationIdentity_2 = {
|
|
937
930
|
uuid: string;
|
|
938
931
|
};
|
|
939
932
|
|
|
940
|
-
declare type ApplicationIdentityCall<AdditionalPayload = {}, Response = void> = ApiCall<AdditionalPayload & OpenFin.ApplicationIdentity, Response>;
|
|
941
|
-
|
|
942
933
|
/**
|
|
943
934
|
* @interface
|
|
944
935
|
*/
|
|
@@ -1311,10 +1302,12 @@ declare type ApplicationSourcedEvent = ClosedEvent | ConnectedEvent_2 | CrashedE
|
|
|
1311
1302
|
*/
|
|
1312
1303
|
declare type ApplicationSourcedEventType = ApplicationSourcedEvent['type'];
|
|
1313
1304
|
|
|
1305
|
+
declare type ApplicationState = OpenFin.ApplicationState;
|
|
1306
|
+
|
|
1314
1307
|
/**
|
|
1315
1308
|
* @interface
|
|
1316
1309
|
*/
|
|
1317
|
-
declare type
|
|
1310
|
+
declare type ApplicationState_2 = {
|
|
1318
1311
|
/**
|
|
1319
1312
|
* True when the application is a Platform controller
|
|
1320
1313
|
*/
|
|
@@ -1346,10 +1339,12 @@ declare type ApplicationType = {
|
|
|
1346
1339
|
*/
|
|
1347
1340
|
declare type ApplicationWindowEvent = WindowAlertRequestedEvent | WindowCreatedEvent | WindowEndLoadEvent | WindowNotRespondingEvent | WindowRespondingEvent | WindowStartLoadEvent;
|
|
1348
1341
|
|
|
1342
|
+
declare type ApplicationWindowInfo = OpenFin.ApplicationWindowInfo;
|
|
1343
|
+
|
|
1349
1344
|
/**
|
|
1350
1345
|
* @interface
|
|
1351
1346
|
*/
|
|
1352
|
-
declare type
|
|
1347
|
+
declare type ApplicationWindowInfo_2 = {
|
|
1353
1348
|
childWindows: Array<WindowDetail>;
|
|
1354
1349
|
mainWindow: WindowDetail;
|
|
1355
1350
|
/**
|
|
@@ -1611,7 +1606,7 @@ declare class Base {
|
|
|
1611
1606
|
* @deprecated `me` should only be accessed from the `fin` global ({@link FinApi.me}); access through entity classes is not
|
|
1612
1607
|
* guaranteed to behave sensibly in all calling contexts.
|
|
1613
1608
|
*/
|
|
1614
|
-
get me():
|
|
1609
|
+
get me(): Identity;
|
|
1615
1610
|
/* Excluded from this release type: isNodeEnvironment */
|
|
1616
1611
|
/* Excluded from this release type: isOpenFinEnvironment */
|
|
1617
1612
|
/* Excluded from this release type: isBrowserEnvironment */
|
|
@@ -1831,12 +1826,11 @@ declare type BeforeUnloadUserDecision = {
|
|
|
1831
1826
|
/**
|
|
1832
1827
|
* Array of views that will close.
|
|
1833
1828
|
*/
|
|
1834
|
-
viewsToClose:
|
|
1829
|
+
viewsToClose: Identity_5[];
|
|
1835
1830
|
};
|
|
1836
1831
|
|
|
1837
1832
|
/**
|
|
1838
1833
|
* Generated at the beginning of a user-driven change to a window's size or position.
|
|
1839
|
-
*
|
|
1840
1834
|
* @interface
|
|
1841
1835
|
*/
|
|
1842
1836
|
declare type BeginUserBoundsChangingEvent = UserBoundsChangeEvent & {
|
|
@@ -1877,33 +1871,31 @@ declare type Bounds = {
|
|
|
1877
1871
|
* Generated after changes in a window's size and/or position.
|
|
1878
1872
|
* @interface
|
|
1879
1873
|
*/
|
|
1880
|
-
declare type BoundsChangedEvent =
|
|
1874
|
+
declare type BoundsChangedEvent = BoundsChangeEvent & {
|
|
1881
1875
|
type: 'bounds-changed';
|
|
1882
1876
|
};
|
|
1883
1877
|
|
|
1884
|
-
declare type BoundsChangeEvent = BoundsEvent & {
|
|
1885
|
-
changeType: 0 | 1 | 2;
|
|
1886
|
-
};
|
|
1887
|
-
|
|
1888
1878
|
/**
|
|
1889
|
-
*
|
|
1879
|
+
* A general bounds change event without event type.
|
|
1890
1880
|
* @interface
|
|
1891
1881
|
*/
|
|
1892
|
-
declare type
|
|
1893
|
-
|
|
1882
|
+
declare type BoundsChangeEvent = BaseEvent_5 & {
|
|
1883
|
+
changeType: 0 | 1 | 2;
|
|
1884
|
+
deferred: boolean;
|
|
1885
|
+
height: number;
|
|
1886
|
+
left: number;
|
|
1887
|
+
top: number;
|
|
1888
|
+
width: number;
|
|
1894
1889
|
};
|
|
1895
1890
|
|
|
1896
1891
|
/**
|
|
1897
|
-
*
|
|
1898
|
-
*
|
|
1892
|
+
* Generated during changes to a window's size and/or position.
|
|
1899
1893
|
* @interface
|
|
1900
1894
|
*/
|
|
1901
|
-
declare type
|
|
1902
|
-
|
|
1895
|
+
declare type BoundsChangingEvent = BoundsChangeEvent & {
|
|
1896
|
+
type: 'bounds-changing';
|
|
1903
1897
|
};
|
|
1904
1898
|
|
|
1905
|
-
declare type BoundsEvent = BaseEvent_5 & OpenFin.Bounds;
|
|
1906
|
-
|
|
1907
1899
|
/**
|
|
1908
1900
|
* A rule prescribing content creation in the browser.
|
|
1909
1901
|
*
|
|
@@ -2937,18 +2929,6 @@ declare type ChildWindowCreatedEvent = ContentCreationRulesEvent & {
|
|
|
2937
2929
|
childOptions: OpenFin.WindowOptions;
|
|
2938
2930
|
};
|
|
2939
2931
|
|
|
2940
|
-
/**
|
|
2941
|
-
* Control behavior for Chromium policies
|
|
2942
|
-
*
|
|
2943
|
-
* @interface
|
|
2944
|
-
*/
|
|
2945
|
-
declare type ChromiumPolicies = {
|
|
2946
|
-
/**
|
|
2947
|
-
* Disable AutofillAddressEnabled policy for a Window or View.
|
|
2948
|
-
*/
|
|
2949
|
-
AutofillAddressEnabled?: PolicyOptions;
|
|
2950
|
-
};
|
|
2951
|
-
|
|
2952
2932
|
declare interface ClassicProtocolOffer extends ProtocolPacketBase {
|
|
2953
2933
|
type: 'classic';
|
|
2954
2934
|
}
|
|
@@ -2997,7 +2977,7 @@ declare type ClientConnectionPayload = ClientIdentity & ClientInfo;
|
|
|
2997
2977
|
* Identity of a channel client. Includes endpointId to differentiate between different connections for an entity.
|
|
2998
2978
|
* @interface
|
|
2999
2979
|
*/
|
|
3000
|
-
declare type ClientIdentity =
|
|
2980
|
+
declare type ClientIdentity = Identity_5 & {
|
|
3001
2981
|
/**
|
|
3002
2982
|
* Unique identifier for a client, because there can be multiple clients at one name/uuid entity.
|
|
3003
2983
|
*/
|
|
@@ -3230,7 +3210,7 @@ declare type CloseViewOptions = {
|
|
|
3230
3210
|
/**
|
|
3231
3211
|
*View to be closed.
|
|
3232
3212
|
*/
|
|
3233
|
-
viewIdentity:
|
|
3213
|
+
viewIdentity: Identity_5;
|
|
3234
3214
|
};
|
|
3235
3215
|
|
|
3236
3216
|
/**
|
|
@@ -3240,7 +3220,7 @@ declare type CloseViewPayload = {
|
|
|
3240
3220
|
/**
|
|
3241
3221
|
*View to be closed.
|
|
3242
3222
|
*/
|
|
3243
|
-
view:
|
|
3223
|
+
view: Identity_5;
|
|
3244
3224
|
/**
|
|
3245
3225
|
* The target layout identity where this view should be closed. If not provided, will resolve to the
|
|
3246
3226
|
* visible layout.
|
|
@@ -3258,7 +3238,7 @@ declare interface CloseWindowPayload {
|
|
|
3258
3238
|
*
|
|
3259
3239
|
* Identity of the Window
|
|
3260
3240
|
*/
|
|
3261
|
-
windowId:
|
|
3241
|
+
windowId: Identity_5;
|
|
3262
3242
|
options: {
|
|
3263
3243
|
/**
|
|
3264
3244
|
* @defaultValue false
|
|
@@ -3376,7 +3356,7 @@ declare type ConstViewOptions = {
|
|
|
3376
3356
|
/**
|
|
3377
3357
|
* The identity of the window this view should be attached to.
|
|
3378
3358
|
*/
|
|
3379
|
-
target:
|
|
3359
|
+
target: Identity_5;
|
|
3380
3360
|
/**
|
|
3381
3361
|
* Configures how new content (e,g, from `window.open` or a link) is opened.
|
|
3382
3362
|
*/
|
|
@@ -3460,10 +3440,6 @@ declare type ConstViewOptions = {
|
|
|
3460
3440
|
*/
|
|
3461
3441
|
enabled: boolean;
|
|
3462
3442
|
};
|
|
3463
|
-
/**
|
|
3464
|
-
* Control which options to ignore when creating a Platform View.
|
|
3465
|
-
*/
|
|
3466
|
-
excludeOptions: ExcludeOptions;
|
|
3467
3443
|
};
|
|
3468
3444
|
|
|
3469
3445
|
/**
|
|
@@ -3605,7 +3581,7 @@ declare type ConstWindowOptions = {
|
|
|
3605
3581
|
/**
|
|
3606
3582
|
* Parent identity of a modal window. It will create a modal child window when this option is set.
|
|
3607
3583
|
*/
|
|
3608
|
-
modalParentIdentity:
|
|
3584
|
+
modalParentIdentity: Identity_5;
|
|
3609
3585
|
/**
|
|
3610
3586
|
* The name of the window.
|
|
3611
3587
|
*/
|
|
@@ -3623,9 +3599,7 @@ declare type ConstWindowOptions = {
|
|
|
3623
3599
|
*/
|
|
3624
3600
|
preloadScripts: PreloadScript[];
|
|
3625
3601
|
/**
|
|
3626
|
-
* String tag that attempts to group like-tagged renderers together.
|
|
3627
|
-
* 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.
|
|
3628
|
-
* @remarks Will only be used if pages are on the same origin.
|
|
3602
|
+
* String tag that attempts to group like-tagged renderers together. Will only be used if pages are on the same origin.
|
|
3629
3603
|
*/
|
|
3630
3604
|
processAffinity: string;
|
|
3631
3605
|
/**
|
|
@@ -3672,6 +3646,11 @@ declare type ConstWindowOptions = {
|
|
|
3672
3646
|
* @deprecated - use `icon` instead.
|
|
3673
3647
|
*/
|
|
3674
3648
|
taskbarIcon: string;
|
|
3649
|
+
/**
|
|
3650
|
+
* Specify a taskbar group for the window.
|
|
3651
|
+
* _If omitted, defaults to app's uuid (`fin.Application.getCurrentSync().identity.uuid`)._
|
|
3652
|
+
*/
|
|
3653
|
+
taskbarIconGroup: string;
|
|
3675
3654
|
/**
|
|
3676
3655
|
* @defaultValue "about:blank"
|
|
3677
3656
|
*
|
|
@@ -3708,10 +3687,6 @@ declare type ConstWindowOptions = {
|
|
|
3708
3687
|
* 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.
|
|
3709
3688
|
*/
|
|
3710
3689
|
inheritance?: Partial<InheritableOptions>;
|
|
3711
|
-
/**
|
|
3712
|
-
* Control which options to ignore when creating a Platform Window.
|
|
3713
|
-
*/
|
|
3714
|
-
excludeOptions: ExcludeOptions;
|
|
3715
3690
|
};
|
|
3716
3691
|
|
|
3717
3692
|
/**
|
|
@@ -3724,7 +3699,6 @@ declare type ContainerCreatedEvent = LayoutDOMEvent & {
|
|
|
3724
3699
|
|
|
3725
3700
|
/**
|
|
3726
3701
|
* Generated when content navigation or redirection is blocked by {@link OpenFin.DomainSettings}.
|
|
3727
|
-
* @interface
|
|
3728
3702
|
*/
|
|
3729
3703
|
declare type ContentBlockedEvent = NamedEvent & {
|
|
3730
3704
|
type: 'content-blocked';
|
|
@@ -4090,13 +4064,13 @@ declare type CreateViewPayload = {
|
|
|
4090
4064
|
* Window the view will be added to. If no target is provided, a new window will be created.
|
|
4091
4065
|
*/
|
|
4092
4066
|
target?: CreateViewTarget;
|
|
4093
|
-
targetView?:
|
|
4067
|
+
targetView?: Identity_5;
|
|
4094
4068
|
};
|
|
4095
4069
|
|
|
4096
4070
|
/**
|
|
4097
4071
|
* @interface
|
|
4098
4072
|
*/
|
|
4099
|
-
declare type CreateViewTarget = (
|
|
4073
|
+
declare type CreateViewTarget = (Identity_5 | LayoutIdentity) & {
|
|
4100
4074
|
/**
|
|
4101
4075
|
* If specified, view creation will not attach to a window and caller must
|
|
4102
4076
|
* insert the view into the layout explicitly
|
|
@@ -4542,7 +4516,7 @@ declare type EmitterAccessor = string[];
|
|
|
4542
4516
|
declare class EmitterBase<EmitterEvent extends BaseEvent, EmitterEventType extends EmitterEvent['type'] = EmitterEvent['type']> extends Base {
|
|
4543
4517
|
#private;
|
|
4544
4518
|
private topic;
|
|
4545
|
-
protected identity:
|
|
4519
|
+
protected identity: ApplicationIdentity;
|
|
4546
4520
|
constructor(wire: Transport, topic: string, ...additionalAccessors: string[]);
|
|
4547
4521
|
eventNames: () => (string | symbol)[];
|
|
4548
4522
|
/* Excluded from this release type: emit */
|
|
@@ -4617,17 +4591,20 @@ declare type EndLoadEvent = BaseEvent_5 & {
|
|
|
4617
4591
|
|
|
4618
4592
|
/**
|
|
4619
4593
|
* Generated at the end of a user-driven change to a window's size or position.
|
|
4620
|
-
*
|
|
4621
4594
|
* @interface
|
|
4622
4595
|
*/
|
|
4623
4596
|
declare type EndUserBoundsChangingEvent = UserBoundsChangeEvent & {
|
|
4624
4597
|
type: 'end-user-bounds-changing';
|
|
4625
4598
|
};
|
|
4626
4599
|
|
|
4600
|
+
declare type Entity = OpenFin.ApplicationType;
|
|
4601
|
+
|
|
4602
|
+
declare type EntityInfo = OpenFin.EntityInfo;
|
|
4603
|
+
|
|
4627
4604
|
/**
|
|
4628
4605
|
* @interface
|
|
4629
4606
|
*/
|
|
4630
|
-
declare type
|
|
4607
|
+
declare type EntityInfo_2 = {
|
|
4631
4608
|
uuid: string;
|
|
4632
4609
|
name: string;
|
|
4633
4610
|
entityType: EntityType_4;
|
|
@@ -4713,7 +4690,6 @@ declare interface Environment {
|
|
|
4713
4690
|
getInteropInfo(fin: OpenFin.Fin<OpenFin.EntityType>): Promise<InternalInteropBrokerOptions & {
|
|
4714
4691
|
fdc3Version?: Version;
|
|
4715
4692
|
}>;
|
|
4716
|
-
getViewWindowIdentity(fin: OpenFin.Fin<OpenFin.EntityType>, identity: OpenFin.Identity): Promise<OpenFin.Identity>;
|
|
4717
4693
|
readonly type: EnvironmentType;
|
|
4718
4694
|
}
|
|
4719
4695
|
|
|
@@ -4746,7 +4722,7 @@ declare type Event_10 = ApplicationEvents.Event | ApiReadyEvent | SnapshotApplie
|
|
|
4746
4722
|
* under the {@link OpenFin.SystemEvents} namespace (payloads inherited from propagated events are defined in the namespace
|
|
4747
4723
|
* from which they propagate).
|
|
4748
4724
|
*/
|
|
4749
|
-
declare type Event_11 = ExcludeRequested<WindowEvents.PropagatedEvent<'system'>> | ExcludeRequested<ViewEvents.PropagatedEvent<'system'>> | ExcludeRequested<ApplicationEvents.PropagatedEvent<'system'>> | ApplicationCreatedEvent | DesktopIconClickedEvent | IdleStateChangedEvent | MonitorInfoChangedEvent | SessionChangedEvent | AppVersionEventWithId | SystemShutdownEvent
|
|
4725
|
+
declare type Event_11 = ExcludeRequested<WindowEvents.PropagatedEvent<'system'>> | ExcludeRequested<ViewEvents.PropagatedEvent<'system'>> | ExcludeRequested<ApplicationEvents.PropagatedEvent<'system'>> | ApplicationCreatedEvent | DesktopIconClickedEvent | IdleStateChangedEvent | MonitorInfoChangedEvent | SessionChangedEvent | AppVersionEventWithId | SystemShutdownEvent;
|
|
4750
4726
|
|
|
4751
4727
|
/**
|
|
4752
4728
|
* [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.
|
|
@@ -4778,7 +4754,7 @@ declare type Event_3 = ViewEvents.PropagatedEvent<'application'> | WindowEvents.
|
|
|
4778
4754
|
*/
|
|
4779
4755
|
declare type Event_4 = (WebContentsEvents.Event<'view'> & {
|
|
4780
4756
|
target: OpenFin.Identity;
|
|
4781
|
-
}) | CreatedEvent | DestroyedEvent | HiddenEvent | HotkeyEvent | ShownEvent | TargetChangedEvent | HostContextChangedEvent
|
|
4757
|
+
}) | CreatedEvent | DestroyedEvent | HiddenEvent | HotkeyEvent | ShownEvent | TargetChangedEvent | HostContextChangedEvent;
|
|
4782
4758
|
|
|
4783
4759
|
/**
|
|
4784
4760
|
* [Union](https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#union-types) containing events shared by all WebContents elements
|
|
@@ -4891,18 +4867,6 @@ declare type EventType_9 = Event_12['type'];
|
|
|
4891
4867
|
|
|
4892
4868
|
/* Excluded from this release type: EventWithId */
|
|
4893
4869
|
|
|
4894
|
-
/**
|
|
4895
|
-
* @interface
|
|
4896
|
-
*/
|
|
4897
|
-
declare type ExcludeOptions = {
|
|
4898
|
-
/**
|
|
4899
|
-
* @defaultValue false
|
|
4900
|
-
*
|
|
4901
|
-
* When true, will not merge default preload scripts from {@link ApplicationOptions.defaultWindowOptions} or {@link ApplicationOptions.defaultViewOptions}.
|
|
4902
|
-
*/
|
|
4903
|
-
preloadScripts: boolean;
|
|
4904
|
-
};
|
|
4905
|
-
|
|
4906
4870
|
/* Excluded from this release type: ExcludeRequested */
|
|
4907
4871
|
|
|
4908
4872
|
declare type ExistingConnectConfig = ConfigWithUuid & {
|
|
@@ -4918,105 +4882,6 @@ declare type ExitCode = {
|
|
|
4918
4882
|
exitCode: number;
|
|
4919
4883
|
};
|
|
4920
4884
|
|
|
4921
|
-
declare type ExtensionEvent = SecurityRealmEvent & {
|
|
4922
|
-
/**
|
|
4923
|
-
* Runtime extension whose status has been (possibly) modified
|
|
4924
|
-
*/
|
|
4925
|
-
extension: string;
|
|
4926
|
-
};
|
|
4927
|
-
|
|
4928
|
-
/**
|
|
4929
|
-
* @interface
|
|
4930
|
-
*/
|
|
4931
|
-
declare type ExtensionInfo = {
|
|
4932
|
-
extensionId: string;
|
|
4933
|
-
name: string;
|
|
4934
|
-
enabled: boolean;
|
|
4935
|
-
};
|
|
4936
|
-
|
|
4937
|
-
/**
|
|
4938
|
-
* An event that fires when an extension is installed in the security realm.
|
|
4939
|
-
*
|
|
4940
|
-
* @interface
|
|
4941
|
-
*/
|
|
4942
|
-
declare type ExtensionInstalledEvent = ExtensionEvent & {
|
|
4943
|
-
type: 'extension-installed';
|
|
4944
|
-
};
|
|
4945
|
-
|
|
4946
|
-
/**
|
|
4947
|
-
* An event that fires when an extension fails to install in the security realm.
|
|
4948
|
-
*
|
|
4949
|
-
* @interface
|
|
4950
|
-
*/
|
|
4951
|
-
declare type ExtensionInstallFailedEvent = ExtensionEvent & {
|
|
4952
|
-
type: 'extension-install-failed';
|
|
4953
|
-
};
|
|
4954
|
-
|
|
4955
|
-
/**
|
|
4956
|
-
* An event that fires when extensions are disabled in the security realm.
|
|
4957
|
-
*
|
|
4958
|
-
* @interface
|
|
4959
|
-
*/
|
|
4960
|
-
declare type ExtensionsDisabledEvent = ExtensionsEvent & {
|
|
4961
|
-
type: 'extensions-disabled';
|
|
4962
|
-
};
|
|
4963
|
-
|
|
4964
|
-
/**
|
|
4965
|
-
* An event that fires when extensions are enabled in the security realm.
|
|
4966
|
-
*
|
|
4967
|
-
* @interface
|
|
4968
|
-
*/
|
|
4969
|
-
declare type ExtensionsEnabledEvent = ExtensionsEvent & {
|
|
4970
|
-
type: 'extensions-enabled';
|
|
4971
|
-
};
|
|
4972
|
-
|
|
4973
|
-
declare type ExtensionsEvent = SecurityRealmEvent & {
|
|
4974
|
-
/**
|
|
4975
|
-
* Runtime extensions whose status has been (possibly) modified
|
|
4976
|
-
*/
|
|
4977
|
-
extensions: string[];
|
|
4978
|
-
};
|
|
4979
|
-
|
|
4980
|
-
/**
|
|
4981
|
-
* An event that fires when requested extensions are not allowed to be installed in the security realm.
|
|
4982
|
-
*
|
|
4983
|
-
* @interface
|
|
4984
|
-
*/
|
|
4985
|
-
declare type ExtensionsExcludedEvent = ExtensionsEvent & {
|
|
4986
|
-
type: 'extensions-excluded';
|
|
4987
|
-
};
|
|
4988
|
-
|
|
4989
|
-
/**
|
|
4990
|
-
* An event that fires when extension initialization fails on initial app launch. Users may attempt to
|
|
4991
|
-
* re-initialize extensions by calling {@link System.refreshExtensions}. This event will not fire in response
|
|
4992
|
-
* to manual extension refreshes (users should catch the error normally).
|
|
4993
|
-
*/
|
|
4994
|
-
declare type ExtensionsInitializationFailedEvent = Omit<ExtensionsEvent, 'extensions'> & {
|
|
4995
|
-
type: 'extensions-initialization-failed';
|
|
4996
|
-
/**
|
|
4997
|
-
* The error that caused the extension initialization failure
|
|
4998
|
-
*/
|
|
4999
|
-
error: Error;
|
|
5000
|
-
};
|
|
5001
|
-
|
|
5002
|
-
/**
|
|
5003
|
-
* An event that fires when extensions are installed in the security realm.
|
|
5004
|
-
*
|
|
5005
|
-
* @interface
|
|
5006
|
-
*/
|
|
5007
|
-
declare type ExtensionsInstalledEvent = ExtensionsEvent & {
|
|
5008
|
-
type: 'extensions-installed';
|
|
5009
|
-
};
|
|
5010
|
-
|
|
5011
|
-
/**
|
|
5012
|
-
* An event that fires when extensions fail to install in the security realm.
|
|
5013
|
-
*
|
|
5014
|
-
* @interface
|
|
5015
|
-
*/
|
|
5016
|
-
declare type ExtensionsInstallFailedEvent = ExtensionsEvent & {
|
|
5017
|
-
type: 'extensions-install-failed';
|
|
5018
|
-
};
|
|
5019
|
-
|
|
5020
4885
|
/**
|
|
5021
4886
|
* An ExternalApplication object representing native language adapter connections to the runtime. Allows
|
|
5022
4887
|
* the developer to listen to {@link OpenFin.ExternalApplicationEvents external application events}.
|
|
@@ -5088,7 +4953,7 @@ declare type ExternalApplicationEventType = EventType_4;
|
|
|
5088
4953
|
* @interface
|
|
5089
4954
|
*/
|
|
5090
4955
|
declare type ExternalApplicationInfo = {
|
|
5091
|
-
parent:
|
|
4956
|
+
parent: Identity_5;
|
|
5092
4957
|
};
|
|
5093
4958
|
|
|
5094
4959
|
/**
|
|
@@ -5631,10 +5496,6 @@ declare type FileDownloadEvent = {
|
|
|
5631
5496
|
* The number of bytes of the item that have already been downloaded.
|
|
5632
5497
|
*/
|
|
5633
5498
|
downloadedBytes: number;
|
|
5634
|
-
/**
|
|
5635
|
-
* Unique identifier for the downloaded file.
|
|
5636
|
-
*/
|
|
5637
|
-
fileUuid: string;
|
|
5638
5499
|
} & NamedEvent;
|
|
5639
5500
|
|
|
5640
5501
|
/**
|
|
@@ -5893,7 +5754,7 @@ declare type FrameInfo = {
|
|
|
5893
5754
|
uuid: string;
|
|
5894
5755
|
url: string;
|
|
5895
5756
|
entityType: EntityType_4;
|
|
5896
|
-
parent:
|
|
5757
|
+
parent: Identity_5;
|
|
5897
5758
|
};
|
|
5898
5759
|
|
|
5899
5760
|
/**
|
|
@@ -5968,10 +5829,12 @@ declare type FrameProcessDetails = ProcessDetails & {
|
|
|
5968
5829
|
entityType: string;
|
|
5969
5830
|
};
|
|
5970
5831
|
|
|
5832
|
+
declare type GetLogRequestType = OpenFin.GetLogRequestType;
|
|
5833
|
+
|
|
5971
5834
|
/**
|
|
5972
5835
|
* @interface
|
|
5973
5836
|
*/
|
|
5974
|
-
declare type
|
|
5837
|
+
declare type GetLogRequestType_2 = {
|
|
5975
5838
|
/**
|
|
5976
5839
|
* The name of the running application
|
|
5977
5840
|
*/
|
|
@@ -5991,7 +5854,7 @@ declare type GetWindowContextPayload = {
|
|
|
5991
5854
|
/**
|
|
5992
5855
|
* Identity of the entity targeted by the call to {@link Platform#setWindowContext Platform.setWindowContext}.
|
|
5993
5856
|
*/
|
|
5994
|
-
target:
|
|
5857
|
+
target: Identity_5;
|
|
5995
5858
|
};
|
|
5996
5859
|
|
|
5997
5860
|
/**
|
|
@@ -6257,6 +6120,8 @@ declare type Identity_2 = OpenFin.Identity;
|
|
|
6257
6120
|
|
|
6258
6121
|
declare type Identity_3 = OpenFin.Identity;
|
|
6259
6122
|
|
|
6123
|
+
declare type Identity_4 = OpenFin.Identity;
|
|
6124
|
+
|
|
6260
6125
|
/**
|
|
6261
6126
|
* Unique identifier for a window, view or iframe.
|
|
6262
6127
|
*
|
|
@@ -6265,7 +6130,7 @@ declare type Identity_3 = OpenFin.Identity;
|
|
|
6265
6130
|
*
|
|
6266
6131
|
* @interface
|
|
6267
6132
|
*/
|
|
6268
|
-
declare type
|
|
6133
|
+
declare type Identity_5 = {
|
|
6269
6134
|
/**
|
|
6270
6135
|
* Universally unique identifier of the application that owns the component.
|
|
6271
6136
|
*/
|
|
@@ -6424,10 +6289,12 @@ declare type InstallationInfo = {
|
|
|
6424
6289
|
cachedManifest: any;
|
|
6425
6290
|
};
|
|
6426
6291
|
|
|
6292
|
+
declare type InstalledApps = OpenFin.InstalledApps;
|
|
6293
|
+
|
|
6427
6294
|
/**
|
|
6428
6295
|
* @interface
|
|
6429
6296
|
*/
|
|
6430
|
-
declare type
|
|
6297
|
+
declare type InstalledApps_2 = {
|
|
6431
6298
|
[key: string]: InstallationInfo;
|
|
6432
6299
|
};
|
|
6433
6300
|
|
|
@@ -7198,7 +7065,7 @@ declare class InteropBroker extends Base {
|
|
|
7198
7065
|
* @param _id the identity tryinc to connect
|
|
7199
7066
|
* @param _connectionPayload optional payload to use in custom implementations, will be undefined by default
|
|
7200
7067
|
*/
|
|
7201
|
-
isConnectionAuthorized(_id:
|
|
7068
|
+
isConnectionAuthorized(_id: Identity_3, _connectionPayload?: any): Promise<boolean> | boolean;
|
|
7202
7069
|
/**
|
|
7203
7070
|
* Called before every action to check if this entity should be allowed to take the action.
|
|
7204
7071
|
* Return false to prevent the action
|
|
@@ -7991,7 +7858,6 @@ declare type LaunchIntoPlatformPayload = {
|
|
|
7991
7858
|
*/
|
|
7992
7859
|
declare class Layout extends Base {
|
|
7993
7860
|
#private;
|
|
7994
|
-
/* Excluded from this release type: getClient */
|
|
7995
7861
|
/* Excluded from this release type: init */
|
|
7996
7862
|
identity: OpenFin.Identity | OpenFin.LayoutIdentity;
|
|
7997
7863
|
private platform;
|
|
@@ -8091,17 +7957,6 @@ declare class Layout extends Base {
|
|
|
8091
7957
|
* ```
|
|
8092
7958
|
*/
|
|
8093
7959
|
getRootItem(): Promise<OpenFin.ColumnOrRow | OpenFin.TabStack>;
|
|
8094
|
-
/**
|
|
8095
|
-
* Retrieves the OpenFin.TabStack instance which the View belongs to.
|
|
8096
|
-
*
|
|
8097
|
-
* @example
|
|
8098
|
-
* ```js
|
|
8099
|
-
* const viewIdentity = { uuid: 'uuid', name: 'view-name' };
|
|
8100
|
-
* const stack = await fin.View.wrapSync(viewIdentity).getStackByViewIdentity(viewIdentity);
|
|
8101
|
-
* console.log(await stack.getViews());
|
|
8102
|
-
* ```
|
|
8103
|
-
*/
|
|
8104
|
-
getStackByViewIdentity(identity: OpenFin.Identity): Promise<OpenFin.TabStack>;
|
|
8105
7960
|
/**
|
|
8106
7961
|
* Replaces the specified view with a view with the provided configuration.
|
|
8107
7962
|
*
|
|
@@ -8128,7 +7983,7 @@ declare class Layout extends Base {
|
|
|
8128
7983
|
* await layout.replaceView(viewToReplace.identity, newViewConfig);
|
|
8129
7984
|
* ```
|
|
8130
7985
|
*/
|
|
8131
|
-
replaceView: (viewToReplace:
|
|
7986
|
+
replaceView: (viewToReplace: Identity_4, newView: OpenFin.PlatformViewCreationOptions) => Promise<void>;
|
|
8132
7987
|
/**
|
|
8133
7988
|
* Replaces a Platform window's layout with a preset layout arrangement using the existing Views attached to the window.
|
|
8134
7989
|
* The preset options are `columns`, `grid`, `rows`, and `tabs`.
|
|
@@ -8155,29 +8010,6 @@ declare class Layout extends Base {
|
|
|
8155
8010
|
* ```
|
|
8156
8011
|
*/
|
|
8157
8012
|
applyPreset: (options: PresetLayoutOptions) => Promise<void>;
|
|
8158
|
-
/**
|
|
8159
|
-
* Adds a view to the platform layout. Behaves like @link{Platform#createView} with the current layout as the target.
|
|
8160
|
-
*
|
|
8161
|
-
* @param viewOptions - The options for creating the view.
|
|
8162
|
-
* @param options - Optional parameters for adding the view.
|
|
8163
|
-
* @param options.location - The location where the view should be added.
|
|
8164
|
-
* @param options.targetView - The target view to which the new view should be added.
|
|
8165
|
-
* @returns A promise that resolves to an object containing the identity of the added view.
|
|
8166
|
-
*/
|
|
8167
|
-
addView(viewOptions: OpenFin.PlatformViewCreationOptions, { location, targetView }?: {
|
|
8168
|
-
location?: OpenFin.CreateViewTarget['location'];
|
|
8169
|
-
targetView?: OpenFin.Identity;
|
|
8170
|
-
}): Promise<{
|
|
8171
|
-
identity: OpenFin.Identity;
|
|
8172
|
-
}>;
|
|
8173
|
-
/**
|
|
8174
|
-
* Closes a view by its identity. Throws an error if the view does not belong to the current layout.
|
|
8175
|
-
* Behaves like @link{Platform#closeView} but only closes the view if it belongs the current layout.
|
|
8176
|
-
*
|
|
8177
|
-
* @param viewIdentity - The identity of the view to close.
|
|
8178
|
-
* @returns A promise that resolves when the view is closed.
|
|
8179
|
-
*/
|
|
8180
|
-
closeView(viewIdentity: OpenFin.Identity): Promise<void>;
|
|
8181
8013
|
}
|
|
8182
8014
|
|
|
8183
8015
|
/**
|
|
@@ -8190,7 +8022,7 @@ declare type LayoutColumn = LayoutItemConfig & {
|
|
|
8190
8022
|
/**
|
|
8191
8023
|
* @interface
|
|
8192
8024
|
*/
|
|
8193
|
-
declare type LayoutComponent =
|
|
8025
|
+
declare type LayoutComponent = LayoutItemConfig & {
|
|
8194
8026
|
/**
|
|
8195
8027
|
* Only a component type will have this property and it should be set to view.
|
|
8196
8028
|
*/
|
|
@@ -8199,7 +8031,6 @@ declare type LayoutComponent = Omit<LayoutItemConfig, 'content' | 'type'> & {
|
|
|
8199
8031
|
* Only a component type will have this property and it represents the view options of a given component.
|
|
8200
8032
|
*/
|
|
8201
8033
|
componentState?: Partial<ViewCreationOptions>;
|
|
8202
|
-
type: 'component';
|
|
8203
8034
|
};
|
|
8204
8035
|
|
|
8205
8036
|
declare type LayoutContent = Array<LayoutItemConfig | LayoutRow | LayoutColumn | LayoutComponent>;
|
|
@@ -8207,7 +8038,7 @@ declare type LayoutContent = Array<LayoutItemConfig | LayoutRow | LayoutColumn |
|
|
|
8207
8038
|
/**
|
|
8208
8039
|
* The base payload for the CustomEvent.detail property for Layout events emitted on the layout container element.
|
|
8209
8040
|
*/
|
|
8210
|
-
declare type LayoutDOMEvent =
|
|
8041
|
+
declare type LayoutDOMEvent = Identity_5 & {
|
|
8211
8042
|
type: string;
|
|
8212
8043
|
topic: 'openfin-DOM-event';
|
|
8213
8044
|
tabSelector: string;
|
|
@@ -8268,7 +8099,7 @@ declare type LayoutEntityTypes = 'column' | 'row' | 'stack';
|
|
|
8268
8099
|
/**
|
|
8269
8100
|
* @interface
|
|
8270
8101
|
*/
|
|
8271
|
-
declare type LayoutIdentity =
|
|
8102
|
+
declare type LayoutIdentity = Identity_5 & {
|
|
8272
8103
|
/**
|
|
8273
8104
|
* The name of the layout in a given window.
|
|
8274
8105
|
*/
|
|
@@ -8283,7 +8114,10 @@ declare type LayoutIdentity = Identity_4 & {
|
|
|
8283
8114
|
declare type LayoutInitializedEvent = BaseEvent_5 & {
|
|
8284
8115
|
type: 'layout-initialized';
|
|
8285
8116
|
layoutIdentity: OpenFin.LayoutIdentity;
|
|
8286
|
-
ofViews:
|
|
8117
|
+
ofViews: {
|
|
8118
|
+
identity: OpenFin.Identity;
|
|
8119
|
+
entityType: 'view';
|
|
8120
|
+
}[];
|
|
8287
8121
|
};
|
|
8288
8122
|
|
|
8289
8123
|
/**
|
|
@@ -8374,7 +8208,7 @@ declare interface LayoutManager<T extends LayoutSnapshot> {
|
|
|
8374
8208
|
* @param identity
|
|
8375
8209
|
* @returns LayoutIdentity | undefined
|
|
8376
8210
|
*/
|
|
8377
|
-
resolveLayoutIdentity(identity?:
|
|
8211
|
+
resolveLayoutIdentity(identity?: Identity_5 | LayoutIdentity): LayoutIdentity | undefined;
|
|
8378
8212
|
/**
|
|
8379
8213
|
* @experimental
|
|
8380
8214
|
*
|
|
@@ -8391,7 +8225,7 @@ declare interface LayoutManager<T extends LayoutSnapshot> {
|
|
|
8391
8225
|
/**
|
|
8392
8226
|
* @experimental
|
|
8393
8227
|
*/
|
|
8394
|
-
getLayoutIdentityForView(viewIdentity:
|
|
8228
|
+
getLayoutIdentityForView(viewIdentity: Identity_5): LayoutIdentity;
|
|
8395
8229
|
/**
|
|
8396
8230
|
* @experimental
|
|
8397
8231
|
*/
|
|
@@ -8492,17 +8326,6 @@ declare class LayoutModule extends Base {
|
|
|
8492
8326
|
* ```
|
|
8493
8327
|
*/
|
|
8494
8328
|
getCurrentSync(): OpenFin.Layout;
|
|
8495
|
-
/**
|
|
8496
|
-
* Retrieves the OpenFin.Layout instance for the Window the View is attached to.
|
|
8497
|
-
*
|
|
8498
|
-
* @example
|
|
8499
|
-
* ```js
|
|
8500
|
-
* const viewIdentity = { uuid: 'uuid', name: 'view-name' };
|
|
8501
|
-
* const layout = await fin.Platform.Layout.getLayoutByViewIdentity(viewIdentity);
|
|
8502
|
-
* console.log(await layout.getCurrentViews());
|
|
8503
|
-
* ```
|
|
8504
|
-
*/
|
|
8505
|
-
getLayoutByViewIdentity(viewIdentity: OpenFin.Identity): Promise<OpenFin.Layout>;
|
|
8506
8329
|
/**
|
|
8507
8330
|
* Initialize the window's Layout.
|
|
8508
8331
|
*
|
|
@@ -8706,10 +8529,12 @@ declare type Listener<T extends {
|
|
|
8706
8529
|
type: string;
|
|
8707
8530
|
}> = (payload: T) => void;
|
|
8708
8531
|
|
|
8532
|
+
declare type LogInfo = OpenFin.LogInfo;
|
|
8533
|
+
|
|
8709
8534
|
/**
|
|
8710
8535
|
* @interface
|
|
8711
8536
|
*/
|
|
8712
|
-
declare type
|
|
8537
|
+
declare type LogInfo_2 = {
|
|
8713
8538
|
/**
|
|
8714
8539
|
* The filename of the log
|
|
8715
8540
|
*/
|
|
@@ -8724,6 +8549,8 @@ declare type LogInfo = {
|
|
|
8724
8549
|
date: string;
|
|
8725
8550
|
};
|
|
8726
8551
|
|
|
8552
|
+
declare type LogLevel = OpenFin.LogLevel;
|
|
8553
|
+
|
|
8727
8554
|
/**
|
|
8728
8555
|
* Describes the minimum level (inclusive) above which logs will be written.
|
|
8729
8556
|
*
|
|
@@ -8733,24 +8560,7 @@ declare type LogInfo = {
|
|
|
8733
8560
|
* `error` and above<br>
|
|
8734
8561
|
* `fatal`: fatal only, indicates a crash is imminent
|
|
8735
8562
|
*/
|
|
8736
|
-
declare type
|
|
8737
|
-
|
|
8738
|
-
declare type LogUploaderUIOptions = {
|
|
8739
|
-
title?: string;
|
|
8740
|
-
icon?: string;
|
|
8741
|
-
header?: string;
|
|
8742
|
-
description?: string;
|
|
8743
|
-
email?: string;
|
|
8744
|
-
website?: string;
|
|
8745
|
-
websiteDescription?: string;
|
|
8746
|
-
};
|
|
8747
|
-
|
|
8748
|
-
declare type LogUploadOptions = {
|
|
8749
|
-
endpoint: string;
|
|
8750
|
-
manifests?: string[];
|
|
8751
|
-
logs?: string[];
|
|
8752
|
-
ui?: LogUploaderUIOptions;
|
|
8753
|
-
};
|
|
8563
|
+
declare type LogLevel_2 = 'verbose' | 'info' | 'warning' | 'error' | 'fatal';
|
|
8754
8564
|
|
|
8755
8565
|
/**
|
|
8756
8566
|
* @interface
|
|
@@ -8810,7 +8620,6 @@ declare type Manifest = {
|
|
|
8810
8620
|
enableErrorReporting?: boolean;
|
|
8811
8621
|
};
|
|
8812
8622
|
interopBrokerConfiguration: InteropBrokerOptions;
|
|
8813
|
-
logUpload?: LogUploadOptions;
|
|
8814
8623
|
};
|
|
8815
8624
|
|
|
8816
8625
|
/**
|
|
@@ -9142,10 +8951,6 @@ declare type MutableViewOptions = {
|
|
|
9142
8951
|
* @defaultValue 'enabled'
|
|
9143
8952
|
*/
|
|
9144
8953
|
throttling: ViewThrottling;
|
|
9145
|
-
/**
|
|
9146
|
-
* {@inheritDoc ChromiumPolicies}
|
|
9147
|
-
*/
|
|
9148
|
-
chromiumPolicies: ChromiumPolicies;
|
|
9149
8954
|
};
|
|
9150
8955
|
|
|
9151
8956
|
/**
|
|
@@ -9386,12 +9191,6 @@ declare type MutableWindowOptions = {
|
|
|
9386
9191
|
* Shows the window's icon in the taskbar.
|
|
9387
9192
|
*/
|
|
9388
9193
|
showTaskbarIcon: boolean;
|
|
9389
|
-
/**
|
|
9390
|
-
* Specify a taskbar group for the window.
|
|
9391
|
-
* _If omitted, defaults to app's uuid (`fin.Application.getCurrentSync().identity.uuid`)._
|
|
9392
|
-
* @remarks It's only updatable when `enableJumpList` is set to false.
|
|
9393
|
-
*/
|
|
9394
|
-
taskbarIconGroup: string;
|
|
9395
9194
|
interop: InteropConfig;
|
|
9396
9195
|
/* Excluded from this release type: _internalWorkspaceData */
|
|
9397
9196
|
/* Excluded from this release type: workspacePlatform */
|
|
@@ -9403,10 +9202,6 @@ declare type MutableWindowOptions = {
|
|
|
9403
9202
|
* @remarks If `throttling` option is present, the `backgroundThrottling` option is completely ignored for windows.
|
|
9404
9203
|
*/
|
|
9405
9204
|
throttling: WindowThrottling;
|
|
9406
|
-
/**
|
|
9407
|
-
* {@inheritDoc ChromiumPolicies}
|
|
9408
|
-
*/
|
|
9409
|
-
chromiumPolicies: ChromiumPolicies;
|
|
9410
9205
|
};
|
|
9411
9206
|
|
|
9412
9207
|
declare type NackHandler = (payloadOrMessage: RuntimeErrorPayload | string) => void;
|
|
@@ -9456,34 +9251,6 @@ declare type NavigationRules = {
|
|
|
9456
9251
|
|
|
9457
9252
|
declare type NewConnectConfig = ConfigWithUuid & ConfigWithRuntime;
|
|
9458
9253
|
|
|
9459
|
-
declare interface NodeNetworkInterfaceBase {
|
|
9460
|
-
address: string;
|
|
9461
|
-
netmask: string;
|
|
9462
|
-
mac: string;
|
|
9463
|
-
internal: boolean;
|
|
9464
|
-
cidr: string | null;
|
|
9465
|
-
}
|
|
9466
|
-
|
|
9467
|
-
declare type NodeNetworkInterfaceInfo = NodeNetworkInterfaceInfoIPv4 | NodeNetworkInterfaceInfoIPv6;
|
|
9468
|
-
|
|
9469
|
-
declare interface NodeNetworkInterfaceInfoIPv4 extends NodeNetworkInterfaceBase {
|
|
9470
|
-
family: 'IPv4';
|
|
9471
|
-
scopeid?: undefined;
|
|
9472
|
-
}
|
|
9473
|
-
|
|
9474
|
-
declare interface NodeNetworkInterfaceInfoIPv6 extends NodeNetworkInterfaceBase {
|
|
9475
|
-
family: 'IPv6';
|
|
9476
|
-
scopeid: number;
|
|
9477
|
-
}
|
|
9478
|
-
|
|
9479
|
-
declare interface NodeUserInfo {
|
|
9480
|
-
username: string;
|
|
9481
|
-
uid: number;
|
|
9482
|
-
gid: number;
|
|
9483
|
-
shell: string | null;
|
|
9484
|
-
homedir: string;
|
|
9485
|
-
}
|
|
9486
|
-
|
|
9487
9254
|
/**
|
|
9488
9255
|
* @interface
|
|
9489
9256
|
*/
|
|
@@ -9575,13 +9342,13 @@ declare namespace OpenFin {
|
|
|
9575
9342
|
LayoutPosition,
|
|
9576
9343
|
WebContent,
|
|
9577
9344
|
PlatformProvider,
|
|
9578
|
-
ApplicationIdentity,
|
|
9579
|
-
|
|
9345
|
+
ApplicationIdentity_2 as ApplicationIdentity,
|
|
9346
|
+
Identity_5 as Identity,
|
|
9580
9347
|
ClientIdentity,
|
|
9581
9348
|
ClientInfo,
|
|
9582
9349
|
ClientIdentityMultiRuntime,
|
|
9583
9350
|
ClientConnectionPayload,
|
|
9584
|
-
EntityInfo,
|
|
9351
|
+
EntityInfo_2 as EntityInfo,
|
|
9585
9352
|
EntityType_4 as EntityType,
|
|
9586
9353
|
Bounds,
|
|
9587
9354
|
WindowBounds,
|
|
@@ -9617,11 +9384,8 @@ declare namespace OpenFin {
|
|
|
9617
9384
|
ViewVisibilityOptions,
|
|
9618
9385
|
WindowState,
|
|
9619
9386
|
AutoplayPolicyOptions,
|
|
9620
|
-
ExcludeOptions,
|
|
9621
9387
|
ConstWindowOptions,
|
|
9622
9388
|
InheritableOptions,
|
|
9623
|
-
PolicyOptions,
|
|
9624
|
-
ChromiumPolicies,
|
|
9625
9389
|
MutableWindowOptions,
|
|
9626
9390
|
WorkspacePlatformOptions,
|
|
9627
9391
|
WebRequestHeader,
|
|
@@ -9655,9 +9419,6 @@ declare namespace OpenFin {
|
|
|
9655
9419
|
ViewOptions,
|
|
9656
9420
|
ConstViewOptions,
|
|
9657
9421
|
ViewState,
|
|
9658
|
-
ViewCreationSuccess,
|
|
9659
|
-
ViewCreationFailure,
|
|
9660
|
-
ViewCreationResult,
|
|
9661
9422
|
Certificate,
|
|
9662
9423
|
HostContextChangedPayload,
|
|
9663
9424
|
ApplySnapshotOptions,
|
|
@@ -9692,8 +9453,6 @@ declare namespace OpenFin {
|
|
|
9692
9453
|
PlatformViewCreationOptions,
|
|
9693
9454
|
ProcessAffinityStrategy,
|
|
9694
9455
|
PlatformOptions,
|
|
9695
|
-
LogUploaderUIOptions,
|
|
9696
|
-
LogUploadOptions,
|
|
9697
9456
|
Manifest,
|
|
9698
9457
|
LayoutContent,
|
|
9699
9458
|
LayoutItemConfig,
|
|
@@ -9721,9 +9480,8 @@ declare namespace OpenFin {
|
|
|
9721
9480
|
Time,
|
|
9722
9481
|
CpuInfo,
|
|
9723
9482
|
GpuInfo,
|
|
9724
|
-
OSInfo,
|
|
9725
9483
|
HostSpecs,
|
|
9726
|
-
PrinterInfo,
|
|
9484
|
+
PrinterInfo_2 as PrinterInfo,
|
|
9727
9485
|
Dpi,
|
|
9728
9486
|
Margins,
|
|
9729
9487
|
PrintOptions,
|
|
@@ -9831,24 +9589,24 @@ declare namespace OpenFin {
|
|
|
9831
9589
|
BeforeUnloadUserDecision,
|
|
9832
9590
|
ViewStatuses,
|
|
9833
9591
|
CloseWindowPayload,
|
|
9834
|
-
ProxyInfo,
|
|
9835
|
-
ProxyConfig,
|
|
9592
|
+
ProxyInfo_2 as ProxyInfo,
|
|
9593
|
+
ProxyConfig_2 as ProxyConfig,
|
|
9836
9594
|
ProxySystemInfo,
|
|
9837
9595
|
ChannelAction_2 as ChannelAction,
|
|
9838
9596
|
ChannelMiddleware_2 as ChannelMiddleware,
|
|
9839
9597
|
ErrorMiddleware_2 as ErrorMiddleware,
|
|
9840
|
-
ApplicationState,
|
|
9841
|
-
InstalledApps,
|
|
9598
|
+
ApplicationState_2 as ApplicationState,
|
|
9599
|
+
InstalledApps_2 as InstalledApps,
|
|
9842
9600
|
InstallationInfo,
|
|
9843
|
-
GetLogRequestType,
|
|
9844
|
-
LogInfo,
|
|
9601
|
+
GetLogRequestType_2 as GetLogRequestType,
|
|
9602
|
+
LogInfo_2 as LogInfo,
|
|
9845
9603
|
SendApplicationLogResponse,
|
|
9846
|
-
LogLevel,
|
|
9604
|
+
LogLevel_2 as LogLevel,
|
|
9847
9605
|
PermissionState_2 as PermissionState,
|
|
9848
|
-
RegistryInfo,
|
|
9606
|
+
RegistryInfo_2 as RegistryInfo,
|
|
9849
9607
|
ApplicationType,
|
|
9850
9608
|
WindowInfo,
|
|
9851
|
-
ApplicationWindowInfo,
|
|
9609
|
+
ApplicationWindowInfo_2 as ApplicationWindowInfo,
|
|
9852
9610
|
WindowDetail,
|
|
9853
9611
|
LayoutPresetType,
|
|
9854
9612
|
LayoutIdentity,
|
|
@@ -9903,7 +9661,6 @@ declare namespace OpenFin {
|
|
|
9903
9661
|
RoutingInfo,
|
|
9904
9662
|
DownloadShelfOptions,
|
|
9905
9663
|
ViewShowAtOptions,
|
|
9906
|
-
ExtensionInfo,
|
|
9907
9664
|
ApplicationEvents,
|
|
9908
9665
|
BaseEvents,
|
|
9909
9666
|
ExternalApplicationEvents,
|
|
@@ -9930,25 +9687,6 @@ declare type OptionsChangedEvent = BaseEvent_5 & {
|
|
|
9930
9687
|
diff: OpenFin.WindowOptionDiff;
|
|
9931
9688
|
};
|
|
9932
9689
|
|
|
9933
|
-
/**
|
|
9934
|
-
* @interface
|
|
9935
|
-
* The keys represent the output from calling individual Node `os` APIs.
|
|
9936
|
-
* For example, `userInfo` will have the output of calling `os.userInfo()`. For more information
|
|
9937
|
-
* see [Node `os` API docs](https://nodejs.org/docs/latest-v20.x/api/os.html)
|
|
9938
|
-
*/
|
|
9939
|
-
declare type OSInfo = {
|
|
9940
|
-
platform: string;
|
|
9941
|
-
release: string;
|
|
9942
|
-
version: string;
|
|
9943
|
-
/**
|
|
9944
|
-
* Throws if a user has no username or homedir.
|
|
9945
|
-
* See [Node os.userInfo docs for more info](https://nodejs.org/docs/latest-v20.x/api/os.html#osuserinfooptions)
|
|
9946
|
-
*/
|
|
9947
|
-
userInfo: NodeUserInfo;
|
|
9948
|
-
hostname: string;
|
|
9949
|
-
networkInterfaces: Record<string, NodeNetworkInterfaceInfo[] | undefined>;
|
|
9950
|
-
};
|
|
9951
|
-
|
|
9952
9690
|
declare type OverrideCallback<T extends any = PlatformProvider, U extends T = T> = (arg: Constructor<T>) => U | Promise<U>;
|
|
9953
9691
|
|
|
9954
9692
|
/**
|
|
@@ -10105,10 +9843,6 @@ declare type PerDomainSettings = {
|
|
|
10105
9843
|
* {@link ContentRedirect} in {@link WindowOptions} and {@link ViewOptions} will be **ignored**.
|
|
10106
9844
|
*/
|
|
10107
9845
|
content?: ContentPermission;
|
|
10108
|
-
/**
|
|
10109
|
-
* {@inheritdoc ChromiumPolicies}
|
|
10110
|
-
*/
|
|
10111
|
-
chromiumPolicies?: ChromiumPolicies;
|
|
10112
9846
|
};
|
|
10113
9847
|
|
|
10114
9848
|
/**
|
|
@@ -11463,45 +11197,6 @@ declare interface PlatformProvider {
|
|
|
11463
11197
|
* @returns {Promise<void>}
|
|
11464
11198
|
*/
|
|
11465
11199
|
handleRunRequested({ manifest, userAppConfigArgs }: RunRequestedEvent): Promise<void>;
|
|
11466
|
-
/**
|
|
11467
|
-
* @experimental
|
|
11468
|
-
*
|
|
11469
|
-
* This method is called to handle errors with view creation and initial navigation during layout creation.
|
|
11470
|
-
* Overriding this method enables catching the error and correcting behavior (ie navigating to an error page).
|
|
11471
|
-
* * To indicate that the error has been handled, view creation should be treated as successful return {identity: viewIdentity, success: true}.
|
|
11472
|
-
* * Not returning anything will cause the layout-initialized event to include the view as failed with the original error.
|
|
11473
|
-
* * Throwing an error will update the error on the event payload of layout-initialized to the thrown error.
|
|
11474
|
-
*
|
|
11475
|
-
* @param viewIdentity Identity of the view
|
|
11476
|
-
* @param error error thrown during a view creation
|
|
11477
|
-
* @returns {Promise<OpenFin.ViewCreationSuccess | void>}
|
|
11478
|
-
*
|
|
11479
|
-
* @example
|
|
11480
|
-
*
|
|
11481
|
-
* ```js
|
|
11482
|
-
* const overrideCallback = (PlatformProvider) => {
|
|
11483
|
-
* class Override extends PlatformProvider {
|
|
11484
|
-
* async handleFailedViewCreation(viewIdentity, error) {
|
|
11485
|
-
* const view = fin.View.wrapSync(viewId);
|
|
11486
|
-
* try {
|
|
11487
|
-
* // navigate to an error page
|
|
11488
|
-
* await view.navigate('http://localhost:3000/errorPage.html');
|
|
11489
|
-
* // resolve a success result after redirecting to a error page
|
|
11490
|
-
* return {identity: viewIdentity, success: true};
|
|
11491
|
-
* } catch(e) {
|
|
11492
|
-
* // layout-initialized event will include this view with the error
|
|
11493
|
-
* throw error;
|
|
11494
|
-
* }
|
|
11495
|
-
* }
|
|
11496
|
-
* }
|
|
11497
|
-
* return new Override();
|
|
11498
|
-
* }
|
|
11499
|
-
*
|
|
11500
|
-
* fin.Platform.init({ overrideCallback });
|
|
11501
|
-
*
|
|
11502
|
-
* ```
|
|
11503
|
-
*/
|
|
11504
|
-
handleFailedViewCreation(viewIdentity: OpenFin.Identity, error: Error): Promise<OpenFin.ViewCreationSuccess | void>;
|
|
11505
11200
|
}
|
|
11506
11201
|
|
|
11507
11202
|
/**
|
|
@@ -11566,12 +11261,6 @@ declare type PointTopLeft = {
|
|
|
11566
11261
|
left: number;
|
|
11567
11262
|
};
|
|
11568
11263
|
|
|
11569
|
-
/**
|
|
11570
|
-
* When set to `disable`, disables the policy
|
|
11571
|
-
* When set to `defer-to-group-policy`, respects Group Policy settings
|
|
11572
|
-
*/
|
|
11573
|
-
declare type PolicyOptions = 'disable' | 'defer-to-group-policy';
|
|
11574
|
-
|
|
11575
11264
|
declare type PopupBaseBehavior = 'close' | 'hide';
|
|
11576
11265
|
|
|
11577
11266
|
declare type PopupBlurBehavior = 'modal' | PopupBaseBehavior;
|
|
@@ -11807,10 +11496,12 @@ declare type PresetLayoutOptions_2 = {
|
|
|
11807
11496
|
presetType: LayoutPresetType;
|
|
11808
11497
|
};
|
|
11809
11498
|
|
|
11499
|
+
declare type PrinterInfo = OpenFin.PrinterInfo;
|
|
11500
|
+
|
|
11810
11501
|
/**
|
|
11811
11502
|
* @interface
|
|
11812
11503
|
*/
|
|
11813
|
-
declare type
|
|
11504
|
+
declare type PrinterInfo_2 = {
|
|
11814
11505
|
/**
|
|
11815
11506
|
* Printer Name
|
|
11816
11507
|
*/
|
|
@@ -12072,100 +11763,20 @@ declare type PropagatedWindowEvent<TargetTopic extends string> = PropagatedEvent
|
|
|
12072
11763
|
declare type PropagatedWindowEventType = PropagatedEvent_3<string>['type'];
|
|
12073
11764
|
|
|
12074
11765
|
declare interface ProtocolMap extends ProtocolMapBase {
|
|
12075
|
-
'is-application-running': ApplicationIdentityCall<{}, boolean>;
|
|
12076
|
-
'destroy-application': ApplicationIdentityCall<{
|
|
12077
|
-
force: boolean;
|
|
12078
|
-
}, void>;
|
|
12079
|
-
'close-application': ApplicationIdentityCall<{
|
|
12080
|
-
force: boolean;
|
|
12081
|
-
}, void>;
|
|
12082
|
-
'application-close': ApplicationIdentityCall<{}, void>;
|
|
12083
|
-
'get-child-windows': ApplicationIdentityCall<{}, Array<unknown>>;
|
|
12084
|
-
'get-application-manifest': {
|
|
12085
|
-
request: {
|
|
12086
|
-
manifestUrl?: string;
|
|
12087
|
-
uuid?: string;
|
|
12088
|
-
};
|
|
12089
|
-
response: OpenFin.Manifest;
|
|
12090
|
-
};
|
|
12091
|
-
'get-parent-application': ApplicationIdentityCall<{}, string>;
|
|
12092
|
-
'get-shortcuts': ApplicationIdentityCall<{}, OpenFin.ShortCutConfig>;
|
|
12093
|
-
'application-get-views': ApplicationIdentityCall<{}, OpenFin.Identity[]>;
|
|
12094
|
-
'get-application-zoom-level': ApplicationIdentityCall<{}, number>;
|
|
12095
|
-
'application-get-window': ApplicationIdentityCall<{}, void>;
|
|
12096
|
-
'register-user': ApplicationIdentityCall<{
|
|
12097
|
-
userName: string;
|
|
12098
|
-
appName: string;
|
|
12099
|
-
}, void>;
|
|
12100
|
-
'remove-tray-icon': ApplicationIdentityCall<{}, void>;
|
|
12101
|
-
'restart-application': ApplicationIdentityCall<{}, void>;
|
|
12102
|
-
'application-run': ApplicationIdentityCall<{}, void>;
|
|
12103
|
-
'run-application': ApplicationIdentityCall<{
|
|
12104
|
-
manifestUrl?: string | undefined;
|
|
12105
|
-
opts?: OpenFin.RvmLaunchOptions;
|
|
12106
|
-
}, void>;
|
|
12107
|
-
'relaunch-on-close': ApplicationIdentityCall<{}, void>;
|
|
12108
|
-
'send-application-log': ApplicationIdentityCall<{}, OpenFin.SendApplicationLogResponse>;
|
|
12109
|
-
'set-jump-list': ApplicationIdentityCall<{
|
|
12110
|
-
config: OpenFin.JumpListCategory[] | null;
|
|
12111
|
-
}, void>;
|
|
12112
|
-
'set-tray-icon': ApplicationIdentityCall<{
|
|
12113
|
-
enabledIcon: string;
|
|
12114
|
-
}, void>;
|
|
12115
|
-
'set-shortcuts': ApplicationIdentityCall<{
|
|
12116
|
-
data: OpenFin.ShortCutConfig;
|
|
12117
|
-
}, void>;
|
|
12118
|
-
'set-shortcut-query-args': ApplicationIdentityCall<{
|
|
12119
|
-
data: string;
|
|
12120
|
-
}, void>;
|
|
12121
|
-
'set-application-zoom-level': ApplicationIdentityCall<{
|
|
12122
|
-
level: number;
|
|
12123
|
-
}, void>;
|
|
12124
|
-
'set-app-log-username': ApplicationIdentityCall<{
|
|
12125
|
-
data: string;
|
|
12126
|
-
}, void>;
|
|
12127
|
-
'get-tray-icon-info': ApplicationIdentityCall<{}, OpenFin.TrayInfo>;
|
|
12128
|
-
'has-tray-icon': ApplicationIdentityCall<{}, boolean>;
|
|
12129
|
-
'terminate-application': ApplicationIdentityCall<{}, void>;
|
|
12130
|
-
'wait-for-hung-application': ApplicationIdentityCall<{}, void>;
|
|
12131
|
-
'get-info': ApplicationIdentityCall<{}, OpenFin.ApplicationInfo>;
|
|
12132
|
-
'application-get-process-info': ApplicationIdentityCall<{}, OpenFin.AppProcessInfo>;
|
|
12133
|
-
'set-file-download-location': {
|
|
12134
|
-
request: OpenFin.Identity & {
|
|
12135
|
-
downloadLocation: string;
|
|
12136
|
-
};
|
|
12137
|
-
response: void;
|
|
12138
|
-
};
|
|
12139
|
-
'get-file-download-location': ApplicationIdentityCall<{}, string>;
|
|
12140
|
-
'show-tray-icon-popup-menu': {
|
|
12141
|
-
request: OpenFin.Identity & {
|
|
12142
|
-
options: OpenFin.ShowTrayIconPopupMenuOptions;
|
|
12143
|
-
};
|
|
12144
|
-
response: OpenFin.MenuResult;
|
|
12145
|
-
};
|
|
12146
|
-
'close-tray-icon-popup-menu': IdentityCall<{}, void>;
|
|
12147
|
-
'wrap-application': VoidCall;
|
|
12148
|
-
'wrap-application-sync': VoidCall;
|
|
12149
|
-
'create-application': ApiCall<OpenFin.ApplicationCreationOptions, void>;
|
|
12150
|
-
'application-create': VoidCall;
|
|
12151
|
-
'start-application': VoidCall;
|
|
12152
|
-
'run-applications': ApiCall<{
|
|
12153
|
-
applications: Array<OpenFin.ManifestInfo>;
|
|
12154
|
-
opts?: OpenFin.RvmLaunchOptions;
|
|
12155
|
-
}, void>;
|
|
12156
|
-
'get-current-application': VoidCall;
|
|
12157
|
-
'get-current-application-sync': VoidCall;
|
|
12158
|
-
'application-start-from-manifest': VoidCall;
|
|
12159
|
-
'application-create-from-manifest': VoidCall;
|
|
12160
11766
|
'request-external-authorization': {
|
|
12161
11767
|
request: any;
|
|
12162
11768
|
response: void;
|
|
12163
11769
|
specialResponse: AuthorizationPayload;
|
|
12164
11770
|
};
|
|
12165
|
-
'
|
|
12166
|
-
request:
|
|
11771
|
+
'application-get-views': {
|
|
11772
|
+
request: OpenFin.ApplicationIdentity;
|
|
11773
|
+
response: OpenFin.Identity[];
|
|
11774
|
+
};
|
|
11775
|
+
'set-jump-list': {
|
|
11776
|
+
request: {
|
|
11777
|
+
config: OpenFin.JumpListCategory[] | null;
|
|
11778
|
+
} & OpenFin.ApplicationIdentity;
|
|
12167
11779
|
response: void;
|
|
12168
|
-
specialResponse: Payload;
|
|
12169
11780
|
};
|
|
12170
11781
|
'clipboard-read-formats': {
|
|
12171
11782
|
request: {
|
|
@@ -12177,24 +11788,6 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
12177
11788
|
request: OpenFin.ReadImageClipboardRequest;
|
|
12178
11789
|
response: string;
|
|
12179
11790
|
};
|
|
12180
|
-
'clipboard-read-text': {
|
|
12181
|
-
request: {
|
|
12182
|
-
type?: OpenFin.ClipboardSelectionType;
|
|
12183
|
-
};
|
|
12184
|
-
response: string;
|
|
12185
|
-
};
|
|
12186
|
-
'clipboard-read-html': {
|
|
12187
|
-
request: {
|
|
12188
|
-
type?: OpenFin.ClipboardSelectionType;
|
|
12189
|
-
};
|
|
12190
|
-
response: string;
|
|
12191
|
-
};
|
|
12192
|
-
'clipboard-read-rtf': {
|
|
12193
|
-
request: {
|
|
12194
|
-
type?: OpenFin.ClipboardSelectionType;
|
|
12195
|
-
};
|
|
12196
|
-
response: string;
|
|
12197
|
-
};
|
|
12198
11791
|
'clipboard-write-image': {
|
|
12199
11792
|
request: OpenFin.WriteImageClipboardRequest;
|
|
12200
11793
|
response: void;
|
|
@@ -12203,18 +11796,6 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
12203
11796
|
request: OpenFin.WriteAnyRequestType;
|
|
12204
11797
|
response: void;
|
|
12205
11798
|
};
|
|
12206
|
-
'clipboard-write-text': {
|
|
12207
|
-
request: OpenFin.WriteClipboardRequest;
|
|
12208
|
-
response: void;
|
|
12209
|
-
};
|
|
12210
|
-
'clipboard-write-html': {
|
|
12211
|
-
request: OpenFin.WriteClipboardRequest;
|
|
12212
|
-
response: void;
|
|
12213
|
-
};
|
|
12214
|
-
'clipboard-write-rtf': {
|
|
12215
|
-
request: OpenFin.WriteClipboardRequest;
|
|
12216
|
-
response: void;
|
|
12217
|
-
};
|
|
12218
11799
|
'get-view-window': IdentityCall<{}, OpenFin.Identity>;
|
|
12219
11800
|
'create-view': IdentityCall<OpenFin.ViewCreationOptions & {
|
|
12220
11801
|
uuid: string;
|
|
@@ -12240,85 +11821,13 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
12240
11821
|
options: OpenFin.UpdatableViewOptions;
|
|
12241
11822
|
}>;
|
|
12242
11823
|
'trigger-before-unload': IdentityCall<{}, boolean>;
|
|
12243
|
-
'view-wrap-sync': VoidCall;
|
|
12244
|
-
'view-wrap': VoidCall;
|
|
12245
|
-
'view-get-current': VoidCall;
|
|
12246
|
-
'view-get-current-sync': VoidCall;
|
|
12247
|
-
'animate-window': IdentityCall<{
|
|
12248
|
-
transitions: OpenFin.Transition;
|
|
12249
|
-
options: OpenFin.TransitionOptions;
|
|
12250
|
-
}>;
|
|
12251
|
-
'get-all-frames': IdentityCall<{}, OpenFin.FrameInfo[]>;
|
|
12252
|
-
'get-window-bounds': IdentityCall<{}, OpenFin.WindowBounds>;
|
|
12253
|
-
'center-window': IdentityCall;
|
|
12254
|
-
'blur-window': IdentityCall;
|
|
12255
|
-
'bring-window-to-front': IdentityCall;
|
|
12256
|
-
'hide-window': IdentityCall;
|
|
12257
|
-
'close-window': IdentityCall<{
|
|
12258
|
-
force: boolean;
|
|
12259
|
-
}>;
|
|
12260
|
-
'focused-webview-changed': IdentityCall;
|
|
12261
|
-
'get-window-native-id': IdentityCall<{}, string>;
|
|
12262
11824
|
'window-get-views': IdentityCall<{}, OpenFin.Identity[]>;
|
|
12263
|
-
'
|
|
12264
|
-
'enable-window-frame': IdentityCall;
|
|
12265
|
-
'flash-window': IdentityCall;
|
|
12266
|
-
'stop-flash-window': IdentityCall;
|
|
12267
|
-
'get-window-info': IdentityCall<{}, OpenFin.WindowInfo>;
|
|
12268
|
-
'get-window-options': IdentityCall<{}, OpenFin.WindowOptions>;
|
|
12269
|
-
'get-window-snapshot': IdentityCall<{
|
|
12270
|
-
area?: OpenFin.Rectangle;
|
|
12271
|
-
}, string>;
|
|
12272
|
-
'get-window-state': IdentityCall<{}, 'minimized' | 'maximized' | 'normal'>;
|
|
12273
|
-
'is-window-showing': IdentityCall<{}, boolean>;
|
|
12274
|
-
'maximize-window': IdentityCall;
|
|
12275
|
-
'minimize-window': IdentityCall;
|
|
12276
|
-
'move-window-by': IdentityCall<WithPositioningOptions<{
|
|
12277
|
-
deltaLeft: number;
|
|
12278
|
-
deltaTop: number;
|
|
12279
|
-
}>>;
|
|
12280
|
-
'move-window': IdentityCall<WithPositioningOptions<{
|
|
12281
|
-
left: number;
|
|
12282
|
-
top: number;
|
|
12283
|
-
}>>;
|
|
12284
|
-
'resize-window-by': IdentityCall<WithPositioningOptions<{
|
|
12285
|
-
deltaWidth: number;
|
|
12286
|
-
deltaHeight: number;
|
|
12287
|
-
anchor: OpenFin.AnchorType;
|
|
12288
|
-
}>>;
|
|
12289
|
-
'resize-window': IdentityCall<WithPositioningOptions<{
|
|
12290
|
-
width: number;
|
|
12291
|
-
height: number;
|
|
12292
|
-
anchor: OpenFin.AnchorType;
|
|
12293
|
-
}>>;
|
|
12294
|
-
'restore-window': IdentityCall;
|
|
12295
|
-
'set-foreground-window': IdentityCall;
|
|
12296
|
-
'set-window-bounds': IdentityCall<WithPositioningOptions<Partial<OpenFin.Bounds>>>;
|
|
12297
|
-
'show-window': IdentityCall<{
|
|
12298
|
-
force: boolean;
|
|
12299
|
-
}>;
|
|
12300
|
-
'show-at-window': IdentityCall<{
|
|
12301
|
-
left: number;
|
|
12302
|
-
top: number;
|
|
12303
|
-
force: boolean;
|
|
12304
|
-
}>;
|
|
12305
|
-
'update-window-options': IdentityCall<{
|
|
12306
|
-
options: OpenFin.UpdatableWindowOptions;
|
|
12307
|
-
}>;
|
|
12308
|
-
'window-authenticate': IdentityCall<{
|
|
12309
|
-
userName: string;
|
|
12310
|
-
password: string;
|
|
12311
|
-
}>;
|
|
12312
|
-
'show-popup-menu': {
|
|
11825
|
+
'print': {
|
|
12313
11826
|
request: OpenFin.Identity & {
|
|
12314
|
-
options: OpenFin.
|
|
11827
|
+
options: OpenFin.PrintOptions;
|
|
12315
11828
|
};
|
|
12316
|
-
response:
|
|
11829
|
+
response: void;
|
|
12317
11830
|
};
|
|
12318
|
-
'close-popup-menu': IdentityCall;
|
|
12319
|
-
'dispatch-popup-result': IdentityCall<{
|
|
12320
|
-
data: any;
|
|
12321
|
-
}>;
|
|
12322
11831
|
'print-screenshot': {
|
|
12323
11832
|
request: OpenFin.Identity;
|
|
12324
11833
|
response: void;
|
|
@@ -12329,229 +11838,6 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
12329
11838
|
};
|
|
12330
11839
|
response: void;
|
|
12331
11840
|
};
|
|
12332
|
-
'window-wrap': VoidCall;
|
|
12333
|
-
'window-wrap-sync': VoidCall;
|
|
12334
|
-
'create-window': VoidCall;
|
|
12335
|
-
'get-current-window': VoidCall;
|
|
12336
|
-
'get-current-window-sync': VoidCall;
|
|
12337
|
-
'get-external-application-info': ApiCall<OpenFin.ApplicationIdentity, OpenFin.ExternalApplicationInfo>;
|
|
12338
|
-
'external-application-wrap': VoidCall;
|
|
12339
|
-
'external-application-wrap-sync': VoidCall;
|
|
12340
|
-
'get-frame-info': ApiCall<OpenFin.Identity, OpenFin.FrameInfo>;
|
|
12341
|
-
'get-parent-window': ApiCall<OpenFin.Identity, OpenFin.FrameInfo>;
|
|
12342
|
-
'frame-wrap': VoidCall;
|
|
12343
|
-
'frame-wrap-sync': VoidCall;
|
|
12344
|
-
'frame-get-current': VoidCall;
|
|
12345
|
-
'frame-get-current-sync': VoidCall;
|
|
12346
|
-
'global-hotkey-register': {
|
|
12347
|
-
request: {
|
|
12348
|
-
hotkey: string;
|
|
12349
|
-
};
|
|
12350
|
-
response: void;
|
|
12351
|
-
};
|
|
12352
|
-
'global-hotkey-unregister': {
|
|
12353
|
-
request: {
|
|
12354
|
-
hotkey: string;
|
|
12355
|
-
};
|
|
12356
|
-
response: void;
|
|
12357
|
-
};
|
|
12358
|
-
'global-hotkey-unregister-all': {
|
|
12359
|
-
request: {};
|
|
12360
|
-
response: void;
|
|
12361
|
-
};
|
|
12362
|
-
'global-hotkey-is-registered': {
|
|
12363
|
-
request: {
|
|
12364
|
-
hotkey: string;
|
|
12365
|
-
};
|
|
12366
|
-
response: boolean;
|
|
12367
|
-
};
|
|
12368
|
-
'publish-message': {
|
|
12369
|
-
request: {
|
|
12370
|
-
topic: string;
|
|
12371
|
-
message: any;
|
|
12372
|
-
sourceWindowName: string;
|
|
12373
|
-
};
|
|
12374
|
-
response: void;
|
|
12375
|
-
};
|
|
12376
|
-
'send-message': {
|
|
12377
|
-
request: {
|
|
12378
|
-
destinationUuid: string;
|
|
12379
|
-
destinationWindowName: string | undefined;
|
|
12380
|
-
topic: string;
|
|
12381
|
-
message: any;
|
|
12382
|
-
sourceWindowName: string;
|
|
12383
|
-
};
|
|
12384
|
-
response: void;
|
|
12385
|
-
};
|
|
12386
|
-
'subscribe': {
|
|
12387
|
-
request: {
|
|
12388
|
-
sourceUuid: string;
|
|
12389
|
-
sourceWindowName: string;
|
|
12390
|
-
topic: string;
|
|
12391
|
-
destinationWindowName: string;
|
|
12392
|
-
messageKey?: any;
|
|
12393
|
-
};
|
|
12394
|
-
response: void;
|
|
12395
|
-
};
|
|
12396
|
-
'unsubscribe': {
|
|
12397
|
-
request: {
|
|
12398
|
-
sourceUuid: string;
|
|
12399
|
-
sourceWindowName: string;
|
|
12400
|
-
topic: string;
|
|
12401
|
-
destinationWindowName: string;
|
|
12402
|
-
};
|
|
12403
|
-
response: void;
|
|
12404
|
-
};
|
|
12405
|
-
'get-all-channels': GetterCall<OpenFin.ProviderIdentity[]>;
|
|
12406
|
-
'connect-to-channel': {
|
|
12407
|
-
request: any;
|
|
12408
|
-
response: OpenFin.RoutingInfo;
|
|
12409
|
-
};
|
|
12410
|
-
'create-channel': ApiCall<{
|
|
12411
|
-
channelName: string;
|
|
12412
|
-
}, OpenFin.ProviderIdentity>;
|
|
12413
|
-
'destroy-channel': ApiCall<{
|
|
12414
|
-
channelName: string;
|
|
12415
|
-
}, void>;
|
|
12416
|
-
'disconnect-from-channel': {
|
|
12417
|
-
request: {
|
|
12418
|
-
channelName: string;
|
|
12419
|
-
uuid: string;
|
|
12420
|
-
name: string;
|
|
12421
|
-
endpointId: string;
|
|
12422
|
-
};
|
|
12423
|
-
response: void;
|
|
12424
|
-
};
|
|
12425
|
-
'send-channel-message': {
|
|
12426
|
-
request: any;
|
|
12427
|
-
response: any;
|
|
12428
|
-
};
|
|
12429
|
-
'get-version': GetterCall<string>;
|
|
12430
|
-
'clear-cache': ApiCall<OpenFin.ClearCacheOption, void>;
|
|
12431
|
-
'delete-cache-request': VoidCall;
|
|
12432
|
-
'exit-desktop': VoidCall;
|
|
12433
|
-
'fetch-manifest': ApiCall<{
|
|
12434
|
-
manifestUrl: string;
|
|
12435
|
-
}, any>;
|
|
12436
|
-
'flush-cookie-store': VoidCall;
|
|
12437
|
-
'get-all-windows': GetterCall<OpenFin.ApplicationWindowInfo[]>;
|
|
12438
|
-
'get-all-applications': GetterCall<OpenFin.ApplicationState[]>;
|
|
12439
|
-
'get-command-line-arguments': GetterCall<string>;
|
|
12440
|
-
'get-crash-reporter-state': GetterCall<OpenFin.CrashReporterState>;
|
|
12441
|
-
'start-crash-reporter': {
|
|
12442
|
-
request: OpenFin.CrashReporterOptions | {
|
|
12443
|
-
diagnosticMode: boolean;
|
|
12444
|
-
};
|
|
12445
|
-
response: OpenFin.CrashReporterState;
|
|
12446
|
-
};
|
|
12447
|
-
'get-unique-user-id': GetterCall<string>;
|
|
12448
|
-
'get-entity-info': {
|
|
12449
|
-
request: {
|
|
12450
|
-
uuid: string;
|
|
12451
|
-
name: string;
|
|
12452
|
-
};
|
|
12453
|
-
response: OpenFin.EntityInfo;
|
|
12454
|
-
};
|
|
12455
|
-
'get-environment-variable': {
|
|
12456
|
-
request: {
|
|
12457
|
-
environmentVariables: string;
|
|
12458
|
-
};
|
|
12459
|
-
response: string;
|
|
12460
|
-
};
|
|
12461
|
-
'get-focused-window': GetterCall<OpenFin.Identity | null>;
|
|
12462
|
-
'is-app-certified': {
|
|
12463
|
-
request: {
|
|
12464
|
-
manifestUrl: string;
|
|
12465
|
-
};
|
|
12466
|
-
response: {
|
|
12467
|
-
action: string;
|
|
12468
|
-
certifiedInfo: OpenFin.CertifiedAppInfo;
|
|
12469
|
-
};
|
|
12470
|
-
};
|
|
12471
|
-
'get-installed-runtimes': GetterCall<{
|
|
12472
|
-
action: string;
|
|
12473
|
-
runtimes: string[];
|
|
12474
|
-
}>;
|
|
12475
|
-
'get-installed-apps': GetterCall<OpenFin.InstalledApps>;
|
|
12476
|
-
'view-log': ApiCall<OpenFin.GetLogRequestType, string>;
|
|
12477
|
-
'get-machine-id': GetterCall<string>;
|
|
12478
|
-
'get-min-log-level': GetterCall<OpenFin.LogLevel>;
|
|
12479
|
-
'list-logs': GetterCall<OpenFin.LogInfo[]>;
|
|
12480
|
-
'get-monitor-info': GetterCall<OpenFin.MonitorInfo>;
|
|
12481
|
-
'get-mouse-position': GetterCall<OpenFin.PointTopLeft>;
|
|
12482
|
-
'process-snapshot': GetterCall<Array<any>>;
|
|
12483
|
-
'get-all-process-info': ApiCall<OpenFin.ApplicationIdentity, OpenFin.SystemProcessInfo>;
|
|
12484
|
-
'get-proxy-settings': GetterCall<OpenFin.ProxyInfo>;
|
|
12485
|
-
'get-runtime-info': GetterCall<OpenFin.RuntimeInfo>;
|
|
12486
|
-
'get-rvm-info': GetterCall<OpenFin.RVMInfo>;
|
|
12487
|
-
'get-host-specs': GetterCall<OpenFin.HostSpecs>;
|
|
12488
|
-
'get-os-info': GetterCall<OpenFin.OSInfo>;
|
|
12489
|
-
'launch-external-process': ApiCall<OpenFin.ExternalProcessRequestType, OpenFin.Identity>;
|
|
12490
|
-
'monitor-external-process': ApiCall<OpenFin.ExternalProcessInfo, OpenFin.Identity>;
|
|
12491
|
-
'write-to-log': ApiCall<{
|
|
12492
|
-
level: string;
|
|
12493
|
-
message: string;
|
|
12494
|
-
}, void>;
|
|
12495
|
-
'open-url-with-browser': ApiCall<{
|
|
12496
|
-
url: string;
|
|
12497
|
-
}, void>;
|
|
12498
|
-
'register-custom-protocol': ApiCall<OpenFin.CustomProtocolOptions, void>;
|
|
12499
|
-
'unregister-custom-protocol': ApiCall<{
|
|
12500
|
-
protocolName: string;
|
|
12501
|
-
}, void>;
|
|
12502
|
-
'get-custom-protocol-state': ApiCall<{
|
|
12503
|
-
protocolName: string;
|
|
12504
|
-
}, OpenFin.CustomProtocolState>;
|
|
12505
|
-
'release-external-process': ApiCall<{
|
|
12506
|
-
uuid: string;
|
|
12507
|
-
}, void>;
|
|
12508
|
-
'show-developer-tools': ApiCall<OpenFin.Identity, void>;
|
|
12509
|
-
'terminate-external-process': ApiCall<OpenFin.TerminateExternalRequestType, void>;
|
|
12510
|
-
'update-proxy': ApiCall<OpenFin.ProxyConfig, void>;
|
|
12511
|
-
'download-asset': {
|
|
12512
|
-
request: OpenFin.AppAssetInfo & {
|
|
12513
|
-
downloadId: string;
|
|
12514
|
-
};
|
|
12515
|
-
response: void;
|
|
12516
|
-
};
|
|
12517
|
-
'download-runtime': {
|
|
12518
|
-
request: OpenFin.RuntimeDownloadOptions & {
|
|
12519
|
-
downloadId: string;
|
|
12520
|
-
};
|
|
12521
|
-
response: void;
|
|
12522
|
-
};
|
|
12523
|
-
'download-preload-scripts': ApiCall<{
|
|
12524
|
-
scripts: Array<OpenFin.DownloadPreloadOption>;
|
|
12525
|
-
}, Array<OpenFin.DownloadPreloadInfo>>;
|
|
12526
|
-
'get-all-external-applications': ApiCall<void, Array<OpenFin.Identity>>;
|
|
12527
|
-
'get-app-asset-info': ApiCall<OpenFin.AppAssetRequest, OpenFin.AppAssetInfo>;
|
|
12528
|
-
'get-cookies': {
|
|
12529
|
-
request: OpenFin.CookieOption & {
|
|
12530
|
-
url: string;
|
|
12531
|
-
};
|
|
12532
|
-
response: Array<OpenFin.CookieInfo>;
|
|
12533
|
-
};
|
|
12534
|
-
'set-min-log-level': ApiCall<{
|
|
12535
|
-
level: OpenFin.LogLevel;
|
|
12536
|
-
}, void>;
|
|
12537
|
-
'resolve-uuid': ApiCall<{
|
|
12538
|
-
entityKey: string;
|
|
12539
|
-
}, OpenFin.ApplicationType>;
|
|
12540
|
-
'read-registry-value': ApiCall<{
|
|
12541
|
-
rootKey: string;
|
|
12542
|
-
subkey: string;
|
|
12543
|
-
value: string;
|
|
12544
|
-
}, OpenFin.RegistryInfo>;
|
|
12545
|
-
'register-external-connection': ApiCall<{
|
|
12546
|
-
uuid: string;
|
|
12547
|
-
}, OpenFin.ExternalConnection>;
|
|
12548
|
-
'get-service-configuration': ApiCall<{
|
|
12549
|
-
name: string;
|
|
12550
|
-
}, OpenFin.ServiceConfiguration>;
|
|
12551
|
-
'get-system-app-configuration': ApiCall<{
|
|
12552
|
-
name: string;
|
|
12553
|
-
}, any>;
|
|
12554
|
-
'run-rvm-health-check': ApiCall<void, string[]>;
|
|
12555
11841
|
'launch-manifest': {
|
|
12556
11842
|
request: {
|
|
12557
11843
|
manifestUrl: string;
|
|
@@ -12563,12 +11849,17 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
12563
11849
|
manifest: OpenFin.Manifest;
|
|
12564
11850
|
};
|
|
12565
11851
|
};
|
|
12566
|
-
'
|
|
11852
|
+
'get-system-app-configuration': {
|
|
12567
11853
|
request: {
|
|
12568
|
-
|
|
12569
|
-
identity: OpenFin.Identity;
|
|
11854
|
+
name: string;
|
|
12570
11855
|
};
|
|
12571
|
-
response:
|
|
11856
|
+
response: any;
|
|
11857
|
+
};
|
|
11858
|
+
'show-popup-menu': {
|
|
11859
|
+
request: OpenFin.Identity & {
|
|
11860
|
+
options: OpenFin.ShowPopupMenuOptions;
|
|
11861
|
+
};
|
|
11862
|
+
response: OpenFin.MenuResult;
|
|
12572
11863
|
};
|
|
12573
11864
|
'enable-native-window-integration-provider': {
|
|
12574
11865
|
request: {
|
|
@@ -12576,42 +11867,24 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
12576
11867
|
};
|
|
12577
11868
|
response: OpenFin.NativeWindowIntegrationProviderAuthorization;
|
|
12578
11869
|
};
|
|
12579
|
-
'register-usage': ApiCall<OpenFin.RegisterUsageData, void>;
|
|
12580
|
-
'system-get-printers': GetterCall<OpenFin.PrinterInfo[]>;
|
|
12581
|
-
'system-update-process-logging-options': ApiCall<{
|
|
12582
|
-
options: OpenFin.ProcessLoggingOptions;
|
|
12583
|
-
}, void>;
|
|
12584
|
-
'get-domain-settings': ApiCall<OpenFin.ApplicationIdentity, OpenFin.DefaultDomainSettings>;
|
|
12585
|
-
'set-domain-settings': ApiCall<OpenFin.ApplicationIdentity & {
|
|
12586
|
-
domainSettings: OpenFin.DefaultDomainSettings;
|
|
12587
|
-
}, void>;
|
|
12588
|
-
'system-register-shutdown-handler': VoidCall;
|
|
12589
11870
|
'get-permissions': GetterCall<any>;
|
|
12590
|
-
'
|
|
12591
|
-
|
|
12592
|
-
|
|
11871
|
+
'get-all-channels': GetterCall<OpenFin.ProviderIdentity[]>;
|
|
11872
|
+
'set-file-download-location': {
|
|
11873
|
+
request: OpenFin.Identity & {
|
|
11874
|
+
downloadLocation: string;
|
|
11875
|
+
};
|
|
11876
|
+
response: void;
|
|
12593
11877
|
};
|
|
12594
|
-
'get-
|
|
12595
|
-
request:
|
|
12596
|
-
response:
|
|
11878
|
+
'get-file-download-location': {
|
|
11879
|
+
request: OpenFin.ApplicationIdentity;
|
|
11880
|
+
response: string;
|
|
12597
11881
|
};
|
|
11882
|
+
'close-popup-menu': IdentityCall;
|
|
12598
11883
|
'fdc3-add-context-listener': VoidCall;
|
|
12599
|
-
'fdc3-add-intent-listener': VoidCall;
|
|
12600
|
-
'fdc3-raise-intent': VoidCall;
|
|
12601
|
-
'fdc3-find-intent': VoidCall;
|
|
12602
|
-
'fdc3-find-intents-by-context': VoidCall;
|
|
12603
|
-
'fdc3-raise-intent-for-context': VoidCall;
|
|
12604
|
-
'fdc3-get-info': VoidCall;
|
|
12605
|
-
'fdc3-find-instances': VoidCall;
|
|
12606
|
-
'fdc3-get-app-metadata': VoidCall;
|
|
12607
11884
|
'fdc3-broadcast': VoidCall;
|
|
12608
|
-
'fdc3-open': VoidCall;
|
|
12609
|
-
'fdc3-get-or-create-channel': VoidCall;
|
|
12610
11885
|
'fdc3-get-system-channels': VoidCall;
|
|
12611
11886
|
'fdc3-join-channel': VoidCall;
|
|
12612
|
-
'fdc3-get-current-channel': VoidCall;
|
|
12613
11887
|
'fdc3-leave-current-channel': VoidCall;
|
|
12614
|
-
'interop-init': VoidCall;
|
|
12615
11888
|
'interop-connect-sync': VoidCall;
|
|
12616
11889
|
'interop-client-set-context': VoidCall;
|
|
12617
11890
|
'interop-client-add-context-handler': VoidCall;
|
|
@@ -12620,13 +11893,6 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
12620
11893
|
'interop-client-remove-from-context-group': VoidCall;
|
|
12621
11894
|
'interop-client-get-all-clients-in-context-group': VoidCall;
|
|
12622
11895
|
'interop-client-get-info-for-context-group': VoidCall;
|
|
12623
|
-
'interop-client-fire-intent': VoidCall;
|
|
12624
|
-
'interop-client-register-intent-handler': VoidCall;
|
|
12625
|
-
'interop-client-get-current-context': VoidCall;
|
|
12626
|
-
'interop-client-get-info-for-intent': VoidCall;
|
|
12627
|
-
'interop-client-get-info-for-intents-by-context': VoidCall;
|
|
12628
|
-
'interop-client-fire-intent-for-context': VoidCall;
|
|
12629
|
-
'interop-client-add-ondisconnection-listener': VoidCall;
|
|
12630
11896
|
'interop-broker-add-client-to-context-group': VoidCall;
|
|
12631
11897
|
'interop-broker-get-all-clients-in-context-group': VoidCall;
|
|
12632
11898
|
'interop-broker-get-context-groups': VoidCall;
|
|
@@ -12638,100 +11904,13 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
12638
11904
|
'interop-broker-remove-from-context-group': VoidCall;
|
|
12639
11905
|
'interop-broker-set-context': VoidCall;
|
|
12640
11906
|
'interop-broker-set-context-for-group': VoidCall;
|
|
12641
|
-
'
|
|
12642
|
-
|
|
12643
|
-
|
|
12644
|
-
|
|
12645
|
-
|
|
12646
|
-
|
|
12647
|
-
|
|
12648
|
-
'platform-get-current': VoidCall;
|
|
12649
|
-
'platform-get-current-sync': VoidCall;
|
|
12650
|
-
'platform-start': VoidCall;
|
|
12651
|
-
'platform-start-from-manifest': VoidCall;
|
|
12652
|
-
'platform-get-client': ApplicationIdentityCall<{}, void>;
|
|
12653
|
-
'platform-create-view': ApplicationIdentityCall<{}, void>;
|
|
12654
|
-
'platform-create-window': ApplicationIdentityCall<{}, void>;
|
|
12655
|
-
'platform-quit': ApplicationIdentityCall<{}, void>;
|
|
12656
|
-
'platform-close-view': ApplicationIdentityCall<{}, void>;
|
|
12657
|
-
'platform-reparent-view': ApplicationIdentityCall<{}, void>;
|
|
12658
|
-
'platform-get-snapshot': ApplicationIdentityCall<{}, void>;
|
|
12659
|
-
'platform-apply-snapshot': ApplicationIdentityCall<{}, void>;
|
|
12660
|
-
'platform-launch-content-manifest': ApplicationIdentityCall<{}, void>;
|
|
12661
|
-
'platform-set-window-context': ApplicationIdentityCall<{}, void>;
|
|
12662
|
-
'platform-get-window-context': ApplicationIdentityCall<{}, void>;
|
|
12663
|
-
'platform-close-window': ApplicationIdentityCall<{}, void>;
|
|
12664
|
-
'layout-wrap': VoidCall;
|
|
12665
|
-
'layout-wrap-sync': VoidCall;
|
|
12666
|
-
'layout-get-current': VoidCall;
|
|
12667
|
-
'layout-get-current-sync': VoidCall;
|
|
12668
|
-
'layout-init': VoidCall;
|
|
12669
|
-
'layout-get-config': VoidCall;
|
|
12670
|
-
'layout-get-views': VoidCall;
|
|
12671
|
-
'layout-replace': VoidCall;
|
|
12672
|
-
'layout-get-root-item': VoidCall;
|
|
12673
|
-
'layout-replace-view': VoidCall;
|
|
12674
|
-
'layout-apply-preset': VoidCall;
|
|
12675
|
-
'layout-controller-get-root': VoidCall;
|
|
12676
|
-
'layout-controller-get-stack-by-view': VoidCall;
|
|
12677
|
-
'layout-controller-get-stack-views': VoidCall;
|
|
12678
|
-
'layout-controller-get-content': VoidCall;
|
|
12679
|
-
'layout-controller-get-parent': VoidCall;
|
|
12680
|
-
'layout-controller-is-root': VoidCall;
|
|
12681
|
-
'layout-controller-exists': VoidCall;
|
|
12682
|
-
'layout-controller-add-view-to-stack': VoidCall;
|
|
12683
|
-
'layout-controller-remove-view-from-stack': VoidCall;
|
|
12684
|
-
'layout-controller-create-adjacent-stack': VoidCall;
|
|
12685
|
-
'layout-controller-get-adjacent-stacks': VoidCall;
|
|
12686
|
-
'layout-controller-set-stack-active-view': VoidCall;
|
|
12687
|
-
'snapshot-source-init': VoidCall;
|
|
12688
|
-
'snapshot-source-wrap-sync': VoidCall;
|
|
12689
|
-
'snapshot-source-wrap': VoidCall;
|
|
12690
|
-
'snapshot-source-ready': VoidCall;
|
|
12691
|
-
'snapshot-source-get-snapshot': VoidCall;
|
|
12692
|
-
'snapshot-source-apply-snapshot': VoidCall;
|
|
12693
|
-
'capture-page': IdentityCall<{
|
|
12694
|
-
options?: OpenFin.CapturePageOptions;
|
|
12695
|
-
}, string>;
|
|
12696
|
-
'execute-javascript-in-window': IdentityCall<{
|
|
12697
|
-
code: string;
|
|
12698
|
-
}, unknown>;
|
|
12699
|
-
'get-zoom-level': IdentityCall<{}, number>;
|
|
12700
|
-
'set-zoom-level': IdentityCall<{
|
|
12701
|
-
level: number;
|
|
12702
|
-
}, void>;
|
|
12703
|
-
'navigate-window': IdentityCall<{
|
|
12704
|
-
url: string;
|
|
12705
|
-
}, void>;
|
|
12706
|
-
'navigate-window-back': IdentityCall<{}, void>;
|
|
12707
|
-
'navigate-window-forward': IdentityCall<{}, void>;
|
|
12708
|
-
'stop-window-navigation': IdentityCall<{}, void>;
|
|
12709
|
-
'reload-window': IdentityCall<{
|
|
12710
|
-
ignoreCache: boolean;
|
|
12711
|
-
}, void>;
|
|
12712
|
-
'print': IdentityCall<{
|
|
12713
|
-
options: OpenFin.PrintOptions;
|
|
12714
|
-
}, void>;
|
|
12715
|
-
'find-in-page': IdentityCall<{
|
|
12716
|
-
searchTerm: string;
|
|
12717
|
-
options?: OpenFin.FindInPageOptions;
|
|
12718
|
-
}, void>;
|
|
12719
|
-
'stop-find-in-page': IdentityCall<{
|
|
12720
|
-
action: 'clearSelection' | 'keepSelection' | 'activateSelection';
|
|
12721
|
-
}, void>;
|
|
12722
|
-
'get-printers': IdentityCall<{}, OpenFin.PrinterInfo>;
|
|
12723
|
-
'focus-window': IdentityCall<{
|
|
12724
|
-
emitSynthFocused: boolean;
|
|
12725
|
-
}, void>;
|
|
12726
|
-
'get-process-info': IdentityCall<{}, OpenFin.EntityProcessDetails>;
|
|
12727
|
-
'get-shared-workers': IdentityCall<{}, OpenFin.SharedWorkerInfo[]>;
|
|
12728
|
-
'inspect-shared-worker': IdentityCall<{}, void>;
|
|
12729
|
-
'inspect-shared-worker-by-id': IdentityCall<{
|
|
12730
|
-
workerId: string;
|
|
12731
|
-
}, void>;
|
|
12732
|
-
'inspect-service-worker': IdentityCall<{}, void>;
|
|
12733
|
-
'view-show-popup-window': IdentityCall<{}, void>;
|
|
12734
|
-
'window-show-popup-window': IdentityCall<{}, void>;
|
|
11907
|
+
'query-permission-for-current-context': {
|
|
11908
|
+
request: {
|
|
11909
|
+
apiName: string;
|
|
11910
|
+
identity: OpenFin.Identity;
|
|
11911
|
+
};
|
|
11912
|
+
response: OpenFin.QueryPermissionResult;
|
|
11913
|
+
};
|
|
12735
11914
|
'try-create-popup-window': {
|
|
12736
11915
|
request: OpenFin.Identity & {
|
|
12737
11916
|
options: OpenFin.PopupOptions;
|
|
@@ -12747,6 +11926,9 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
12747
11926
|
};
|
|
12748
11927
|
response: OpenFin.PopupResult;
|
|
12749
11928
|
};
|
|
11929
|
+
'dispatch-popup-result': IdentityCall<{
|
|
11930
|
+
data: any;
|
|
11931
|
+
}>;
|
|
12750
11932
|
'render-overlay': {
|
|
12751
11933
|
request: {
|
|
12752
11934
|
bounds: OpenFin.Bounds;
|
|
@@ -12766,6 +11948,38 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
12766
11948
|
};
|
|
12767
11949
|
response: void;
|
|
12768
11950
|
};
|
|
11951
|
+
'system-get-printers': GetterCall<OpenFin.PrinterInfo[]>;
|
|
11952
|
+
'system-register-shutdown-handler': VoidCall;
|
|
11953
|
+
'get-domain-settings': ApiCall<OpenFin.ApplicationIdentity, OpenFin.DefaultDomainSettings>;
|
|
11954
|
+
'set-domain-settings': ApiCall<OpenFin.ApplicationIdentity & {
|
|
11955
|
+
domainSettings: OpenFin.DefaultDomainSettings;
|
|
11956
|
+
}, void>;
|
|
11957
|
+
'move-window-by': IdentityCall<WithPositioningOptions<{
|
|
11958
|
+
deltaLeft: number;
|
|
11959
|
+
deltaTop: number;
|
|
11960
|
+
}>>;
|
|
11961
|
+
'move-window': IdentityCall<WithPositioningOptions<{
|
|
11962
|
+
left: number;
|
|
11963
|
+
top: number;
|
|
11964
|
+
}>>;
|
|
11965
|
+
'resize-window-by': IdentityCall<WithPositioningOptions<{
|
|
11966
|
+
deltaWidth: number;
|
|
11967
|
+
deltaHeight: number;
|
|
11968
|
+
anchor: OpenFin.AnchorType;
|
|
11969
|
+
}>>;
|
|
11970
|
+
'resize-window': IdentityCall<WithPositioningOptions<{
|
|
11971
|
+
width: number;
|
|
11972
|
+
height: number;
|
|
11973
|
+
anchor: OpenFin.AnchorType;
|
|
11974
|
+
}>>;
|
|
11975
|
+
'set-window-bounds': IdentityCall<WithPositioningOptions<Partial<OpenFin.Bounds>>>;
|
|
11976
|
+
'register-custom-protocol': ApiCall<OpenFin.CustomProtocolOptions, void>;
|
|
11977
|
+
'unregister-custom-protocol': ApiCall<{
|
|
11978
|
+
protocolName: string;
|
|
11979
|
+
}, void>;
|
|
11980
|
+
'get-custom-protocol-state': ApiCall<{
|
|
11981
|
+
protocolName: string;
|
|
11982
|
+
}, OpenFin.CustomProtocolState>;
|
|
12769
11983
|
}
|
|
12770
11984
|
|
|
12771
11985
|
declare interface ProtocolMapBase {
|
|
@@ -12795,7 +12009,7 @@ declare type ProviderIdentity_3 = OpenFin.ProviderIdentity;
|
|
|
12795
12009
|
* Identity of a channel provider.
|
|
12796
12010
|
* @interface
|
|
12797
12011
|
*/
|
|
12798
|
-
declare type ProviderIdentity_4 =
|
|
12012
|
+
declare type ProviderIdentity_4 = Identity_5 & {
|
|
12799
12013
|
/**
|
|
12800
12014
|
* Identifier of the channel.
|
|
12801
12015
|
*/
|
|
@@ -12806,10 +12020,12 @@ declare type ProviderIdentity_4 = Identity_4 & {
|
|
|
12806
12020
|
channelName: string;
|
|
12807
12021
|
};
|
|
12808
12022
|
|
|
12023
|
+
declare type ProxyConfig = OpenFin.ProxyConfig;
|
|
12024
|
+
|
|
12809
12025
|
/**
|
|
12810
12026
|
* @interface
|
|
12811
12027
|
*/
|
|
12812
|
-
declare type
|
|
12028
|
+
declare type ProxyConfig_2 = {
|
|
12813
12029
|
/**
|
|
12814
12030
|
* The configured proxy address.
|
|
12815
12031
|
*/
|
|
@@ -12821,11 +12037,13 @@ declare type ProxyConfig = {
|
|
|
12821
12037
|
type: string;
|
|
12822
12038
|
};
|
|
12823
12039
|
|
|
12040
|
+
declare type ProxyInfo = OpenFin.ProxyInfo;
|
|
12041
|
+
|
|
12824
12042
|
/**
|
|
12825
12043
|
* @interface
|
|
12826
12044
|
*/
|
|
12827
|
-
declare type
|
|
12828
|
-
config:
|
|
12045
|
+
declare type ProxyInfo_2 = {
|
|
12046
|
+
config: ProxyConfig_2;
|
|
12829
12047
|
system: ProxySystemInfo;
|
|
12830
12048
|
};
|
|
12831
12049
|
|
|
@@ -12931,10 +12149,12 @@ declare type RegisterUsageData = {
|
|
|
12931
12149
|
type: string;
|
|
12932
12150
|
};
|
|
12933
12151
|
|
|
12152
|
+
declare type RegistryInfo = OpenFin.RegistryInfo;
|
|
12153
|
+
|
|
12934
12154
|
/**
|
|
12935
12155
|
* @interface
|
|
12936
12156
|
*/
|
|
12937
|
-
declare type
|
|
12157
|
+
declare type RegistryInfo_2 = {
|
|
12938
12158
|
data: any;
|
|
12939
12159
|
rootKey: string;
|
|
12940
12160
|
subkey: string;
|
|
@@ -12955,15 +12175,6 @@ declare interface RemoteConfig extends ExistingConnectConfig {
|
|
|
12955
12175
|
token: string;
|
|
12956
12176
|
}
|
|
12957
12177
|
|
|
12958
|
-
/**
|
|
12959
|
-
* Generated when a View is removed from a layout.
|
|
12960
|
-
* @interface
|
|
12961
|
-
*/
|
|
12962
|
-
declare type RemovedFromLayoutEvent = BaseEvent_4 & {
|
|
12963
|
-
type: 'removed-from-layout';
|
|
12964
|
-
layoutIdentity: OpenFin.LayoutIdentity;
|
|
12965
|
-
};
|
|
12966
|
-
|
|
12967
12178
|
/**
|
|
12968
12179
|
* @interface
|
|
12969
12180
|
*/
|
|
@@ -12992,14 +12203,14 @@ declare type ReplaceLayoutPayload = {
|
|
|
12992
12203
|
/**
|
|
12993
12204
|
* Identity of the window whose layout will be replaced.
|
|
12994
12205
|
*/
|
|
12995
|
-
target:
|
|
12206
|
+
target: Identity_5 | LayoutIdentity;
|
|
12996
12207
|
};
|
|
12997
12208
|
|
|
12998
12209
|
/**
|
|
12999
12210
|
* @interface
|
|
13000
12211
|
*/
|
|
13001
12212
|
declare type ReplaceViewOptions = {
|
|
13002
|
-
viewToReplace:
|
|
12213
|
+
viewToReplace: Identity_5;
|
|
13003
12214
|
newView: ViewState;
|
|
13004
12215
|
};
|
|
13005
12216
|
|
|
@@ -13008,7 +12219,7 @@ declare type ReplaceViewOptions = {
|
|
|
13008
12219
|
*/
|
|
13009
12220
|
declare type ReplaceViewPayload = {
|
|
13010
12221
|
opts: {
|
|
13011
|
-
viewToReplace:
|
|
12222
|
+
viewToReplace: Identity_5;
|
|
13012
12223
|
newView: Partial<ViewOptions>;
|
|
13013
12224
|
};
|
|
13014
12225
|
target: LayoutIdentity;
|
|
@@ -13283,21 +12494,6 @@ declare type ScreenshotPrintOptions = {
|
|
|
13283
12494
|
content: 'screenshot';
|
|
13284
12495
|
};
|
|
13285
12496
|
|
|
13286
|
-
/**
|
|
13287
|
-
* An event generated when an application modifies the runtime in a way that affects all other applications in the
|
|
13288
|
-
* application runtime/security realm.
|
|
13289
|
-
*/
|
|
13290
|
-
declare type SecurityRealmEvent = BaseEvent_9 & {
|
|
13291
|
-
/**
|
|
13292
|
-
* Config URL of the application that modified the security realm's extensions
|
|
13293
|
-
*/
|
|
13294
|
-
configUrl: string;
|
|
13295
|
-
/**
|
|
13296
|
-
* Identity of the application that modified the security realm's extensions
|
|
13297
|
-
*/
|
|
13298
|
-
applicationIdentity: OpenFin.ApplicationIdentity;
|
|
13299
|
-
};
|
|
13300
|
-
|
|
13301
12497
|
declare type SendActionResponse<T extends keyof ProtocolMap> = Message<{
|
|
13302
12498
|
data: ProtocolMap[T]['response'];
|
|
13303
12499
|
} & ProtocolMap[T]['specialResponse']>;
|
|
@@ -13389,7 +12585,7 @@ declare type SetWindowContextPayload = {
|
|
|
13389
12585
|
/**
|
|
13390
12586
|
* Identity of the entity targeted by the call to {@link Platform#setWindowContext Platform.setWindowContext}.
|
|
13391
12587
|
*/
|
|
13392
|
-
target:
|
|
12588
|
+
target: Identity_5;
|
|
13393
12589
|
};
|
|
13394
12590
|
|
|
13395
12591
|
/**
|
|
@@ -13833,7 +13029,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
13833
13029
|
* fin.System.getAllWindows().then(wins => console.log(wins)).catch(err => console.log(err));
|
|
13834
13030
|
* ```
|
|
13835
13031
|
*/
|
|
13836
|
-
getAllWindows(): Promise<Array<
|
|
13032
|
+
getAllWindows(): Promise<Array<ApplicationWindowInfo>>;
|
|
13837
13033
|
/**
|
|
13838
13034
|
* Retrieves an array of data for all applications.
|
|
13839
13035
|
*
|
|
@@ -13842,7 +13038,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
13842
13038
|
* fin.System.getAllApplications().then(apps => console.log(apps)).catch(err => console.log(err));
|
|
13843
13039
|
* ```
|
|
13844
13040
|
*/
|
|
13845
|
-
getAllApplications(): Promise<Array<
|
|
13041
|
+
getAllApplications(): Promise<Array<ApplicationState>>;
|
|
13846
13042
|
/**
|
|
13847
13043
|
* Retrieves the command line argument string that started OpenFin Runtime.
|
|
13848
13044
|
*
|
|
@@ -13917,7 +13113,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
13917
13113
|
* }
|
|
13918
13114
|
* ```
|
|
13919
13115
|
*/
|
|
13920
|
-
getEntityInfo(uuid: string, name: string): Promise<
|
|
13116
|
+
getEntityInfo(uuid: string, name: string): Promise<EntityInfo>;
|
|
13921
13117
|
/**
|
|
13922
13118
|
* Gets the value of a given environment variable on the computer on which the runtime is installed
|
|
13923
13119
|
*
|
|
@@ -13959,7 +13155,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
13959
13155
|
* ```
|
|
13960
13156
|
*/
|
|
13961
13157
|
getInstalledRuntimes(): Promise<string[]>;
|
|
13962
|
-
getInstalledApps(): Promise<
|
|
13158
|
+
getInstalledApps(): Promise<InstalledApps>;
|
|
13963
13159
|
/**
|
|
13964
13160
|
* Retrieves the contents of the log with the specified filename.
|
|
13965
13161
|
* @param options A object that id defined by the GetLogRequestType interface
|
|
@@ -13974,7 +13170,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
13974
13170
|
* getLog().then(log => console.log(log)).catch(err => console.log(err));
|
|
13975
13171
|
* ```
|
|
13976
13172
|
*/
|
|
13977
|
-
getLog(options:
|
|
13173
|
+
getLog(options: GetLogRequestType): Promise<string>;
|
|
13978
13174
|
/**
|
|
13979
13175
|
* Returns a unique identifier (UUID) provided by the machine.
|
|
13980
13176
|
*
|
|
@@ -13992,7 +13188,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
13992
13188
|
* fin.System.getMinLogLevel().then(level => console.log(level)).catch(err => console.log(err));
|
|
13993
13189
|
* ```
|
|
13994
13190
|
*/
|
|
13995
|
-
getMinLogLevel(): Promise<
|
|
13191
|
+
getMinLogLevel(): Promise<LogLevel>;
|
|
13996
13192
|
/**
|
|
13997
13193
|
* Retrieves an array containing information for each log file.
|
|
13998
13194
|
*
|
|
@@ -14001,7 +13197,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
14001
13197
|
* fin.System.getLogList().then(logList => console.log(logList)).catch(err => console.log(err));
|
|
14002
13198
|
* ```
|
|
14003
13199
|
*/
|
|
14004
|
-
getLogList(): Promise<Array<
|
|
13200
|
+
getLogList(): Promise<Array<LogInfo>>;
|
|
14005
13201
|
/**
|
|
14006
13202
|
* Retrieves an object that contains data about the monitor setup of the
|
|
14007
13203
|
* computer that the runtime is running on.
|
|
@@ -14072,7 +13268,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
14072
13268
|
* }
|
|
14073
13269
|
* ```
|
|
14074
13270
|
*/
|
|
14075
|
-
getProxySettings(): Promise<
|
|
13271
|
+
getProxySettings(): Promise<ProxyInfo>;
|
|
14076
13272
|
/**
|
|
14077
13273
|
* Returns information about the running Runtime in an object.
|
|
14078
13274
|
*
|
|
@@ -14092,8 +13288,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
14092
13288
|
*/
|
|
14093
13289
|
getRvmInfo(): Promise<OpenFin.RVMInfo>;
|
|
14094
13290
|
/**
|
|
14095
|
-
* Retrieves
|
|
14096
|
-
* OS and the currently logged in user, use `fin.System.getOSInfo()` instead.
|
|
13291
|
+
* Retrieves system information.
|
|
14097
13292
|
*
|
|
14098
13293
|
* @example
|
|
14099
13294
|
* ```js
|
|
@@ -14101,15 +13296,6 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
14101
13296
|
* ```
|
|
14102
13297
|
*/
|
|
14103
13298
|
getHostSpecs(): Promise<OpenFin.HostSpecs>;
|
|
14104
|
-
/**
|
|
14105
|
-
* Retrieves information about the OS and the currently logged in user.
|
|
14106
|
-
*
|
|
14107
|
-
* @example
|
|
14108
|
-
* ```js
|
|
14109
|
-
* fin.System.getOSInfo().then(specs => console.log(specs)).catch(err => console.log(err));
|
|
14110
|
-
* ```
|
|
14111
|
-
*/
|
|
14112
|
-
getOSInfo(): Promise<OpenFin.OSInfo>;
|
|
14113
13299
|
/**
|
|
14114
13300
|
* Runs an executable or batch file. A path to the file must be included in options.
|
|
14115
13301
|
* <br> A uuid may be optionally provided. If not provided, OpenFin will create a uuid for the new process.
|
|
@@ -14439,7 +13625,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
14439
13625
|
* }
|
|
14440
13626
|
* ```
|
|
14441
13627
|
*/
|
|
14442
|
-
launchExternalProcess(options: OpenFin.ExternalProcessRequestType): Promise<
|
|
13628
|
+
launchExternalProcess(options: OpenFin.ExternalProcessRequestType): Promise<Identity_2>;
|
|
14443
13629
|
/**
|
|
14444
13630
|
* Monitors a running process. A pid for the process must be included in options.
|
|
14445
13631
|
* <br> A uuid may be optionally provided. If not provided, OpenFin will create a uuid for the new process.
|
|
@@ -14456,7 +13642,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
14456
13642
|
* }).then(processIdentity => console.log(processIdentity)).catch(err => console.log(err));
|
|
14457
13643
|
* ```
|
|
14458
13644
|
*/
|
|
14459
|
-
monitorExternalProcess(options: OpenFin.ExternalProcessInfo): Promise<
|
|
13645
|
+
monitorExternalProcess(options: OpenFin.ExternalProcessInfo): Promise<Identity_2>;
|
|
14460
13646
|
/**
|
|
14461
13647
|
* Writes the passed message into both the log file and the console.
|
|
14462
13648
|
* @param level The log level for the entry. Can be either "info", "warning" or "error"
|
|
@@ -14590,7 +13776,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
14590
13776
|
*
|
|
14591
13777
|
* @tutorial System.showDeveloperTools
|
|
14592
13778
|
*/
|
|
14593
|
-
showDeveloperTools(identity:
|
|
13779
|
+
showDeveloperTools(identity: Identity_2): Promise<void>;
|
|
14594
13780
|
/**
|
|
14595
13781
|
* Attempt to close an external process. The process will be terminated if it
|
|
14596
13782
|
* has not closed after the elapsed timeout in milliseconds.
|
|
@@ -14624,7 +13810,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
14624
13810
|
* .catch(err => console.error(err));
|
|
14625
13811
|
* ```
|
|
14626
13812
|
*/
|
|
14627
|
-
updateProxySettings(options:
|
|
13813
|
+
updateProxySettings(options: ProxyConfig): Promise<void>;
|
|
14628
13814
|
/**
|
|
14629
13815
|
* Downloads the given application asset.
|
|
14630
13816
|
*
|
|
@@ -14716,7 +13902,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
14716
13902
|
* .catch(err => console.log(err));
|
|
14717
13903
|
* ```
|
|
14718
13904
|
*/
|
|
14719
|
-
getAllExternalApplications(): Promise<Array<
|
|
13905
|
+
getAllExternalApplications(): Promise<Array<Identity_2>>;
|
|
14720
13906
|
/**
|
|
14721
13907
|
* Retrieves app asset information.
|
|
14722
13908
|
* @param options
|
|
@@ -14745,7 +13931,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
14745
13931
|
* fin.System.setMinLogLevel("verbose").then(() => console.log("log level is set to verbose")).catch(err => console.log(err));
|
|
14746
13932
|
* ```
|
|
14747
13933
|
*/
|
|
14748
|
-
setMinLogLevel(level:
|
|
13934
|
+
setMinLogLevel(level: LogLevel): Promise<void>;
|
|
14749
13935
|
/**
|
|
14750
13936
|
* Retrieves the UUID of the computer on which the runtime is installed
|
|
14751
13937
|
* @param uuid The uuid of the running application
|
|
@@ -14755,7 +13941,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
14755
13941
|
* fin.System.resolveUuid('OpenfinPOC').then(entity => console.log(entity)).catch(err => console.log(err));
|
|
14756
13942
|
* ```
|
|
14757
13943
|
*/
|
|
14758
|
-
resolveUuid(uuid: string): Promise<
|
|
13944
|
+
resolveUuid(uuid: string): Promise<Entity>;
|
|
14759
13945
|
/**
|
|
14760
13946
|
* Retrieves an array of data for all external applications
|
|
14761
13947
|
* @param requestingIdentity This object is described in the Identity typedef
|
|
@@ -14763,7 +13949,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
14763
13949
|
*
|
|
14764
13950
|
* @ignore
|
|
14765
13951
|
*/
|
|
14766
|
-
executeOnRemote(requestingIdentity:
|
|
13952
|
+
executeOnRemote(requestingIdentity: Identity_2, data: any): Promise<any>;
|
|
14767
13953
|
/**
|
|
14768
13954
|
* Reads the specifed value from the registry.
|
|
14769
13955
|
* @remarks This method is restricted by default and must be enabled via
|
|
@@ -14856,7 +14042,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
14856
14042
|
* }
|
|
14857
14043
|
* ```
|
|
14858
14044
|
*/
|
|
14859
|
-
readRegistryValue(rootKey: string, subkey: string, value: string): Promise<
|
|
14045
|
+
readRegistryValue(rootKey: string, subkey: string, value: string): Promise<RegistryInfo>;
|
|
14860
14046
|
/**
|
|
14861
14047
|
* This function call will register a unique id and produce a token.
|
|
14862
14048
|
* The token can be used to broker an external connection.
|
|
@@ -15071,7 +14257,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
15071
14257
|
* });
|
|
15072
14258
|
* ```
|
|
15073
14259
|
*/
|
|
15074
|
-
getPrinters(): Promise<
|
|
14260
|
+
getPrinters(): Promise<PrinterInfo[]>;
|
|
15075
14261
|
/**
|
|
15076
14262
|
* Updates Process Logging values: periodic interval and outlier detection entries and interval.
|
|
15077
14263
|
* @param options Process Logging updatable options.
|
|
@@ -15189,16 +14375,6 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
15189
14375
|
* ```
|
|
15190
14376
|
*/
|
|
15191
14377
|
setDomainSettings(domainSettings: OpenFin.DefaultDomainSettings): Promise<void>;
|
|
15192
|
-
/**
|
|
15193
|
-
* Attempts to install and enable extensions for the security realm. Users may want to call this function in response
|
|
15194
|
-
* to an `extensions-install-failed` event. Only extensions allowed by every application on the current security realm
|
|
15195
|
-
* will be installed/enabled.
|
|
15196
|
-
*/
|
|
15197
|
-
refreshExtensions(): Promise<string[] | undefined>;
|
|
15198
|
-
/**
|
|
15199
|
-
* Gets the currently-installed
|
|
15200
|
-
*/
|
|
15201
|
-
getInstalledExtensions(): Promise<OpenFin.ExtensionInfo[]>;
|
|
15202
14378
|
}
|
|
15203
14379
|
|
|
15204
14380
|
/**
|
|
@@ -15229,14 +14405,6 @@ declare namespace SystemEvents {
|
|
|
15229
14405
|
ApplicationCreatedEvent,
|
|
15230
14406
|
DesktopIconClickedEvent,
|
|
15231
14407
|
SystemShutdownEvent,
|
|
15232
|
-
ExtensionsEnabledEvent,
|
|
15233
|
-
ExtensionsDisabledEvent,
|
|
15234
|
-
ExtensionsExcludedEvent,
|
|
15235
|
-
ExtensionsInstalledEvent,
|
|
15236
|
-
ExtensionInstalledEvent,
|
|
15237
|
-
ExtensionsInstallFailedEvent,
|
|
15238
|
-
ExtensionInstallFailedEvent,
|
|
15239
|
-
ExtensionsInitializationFailedEvent,
|
|
15240
14408
|
Event_11 as Event,
|
|
15241
14409
|
SystemEvent,
|
|
15242
14410
|
EventType_8 as EventType,
|
|
@@ -15255,7 +14423,6 @@ declare type SystemEventType = EventType_8;
|
|
|
15255
14423
|
* @interface
|
|
15256
14424
|
*/
|
|
15257
14425
|
declare type SystemPermissions = {
|
|
15258
|
-
getOSInfo: boolean;
|
|
15259
14426
|
getAllExternalWindows: boolean;
|
|
15260
14427
|
launchExternalProcess: boolean | {
|
|
15261
14428
|
enabled: boolean;
|
|
@@ -15708,11 +14875,14 @@ declare type UrlChangedEvent = BaseUrlEvent & ({
|
|
|
15708
14875
|
declare type UserAppConfigArgs = Record<string, string | string[]>;
|
|
15709
14876
|
|
|
15710
14877
|
/**
|
|
15711
|
-
*
|
|
15712
|
-
*
|
|
14878
|
+
* A general user bounds change event without event type.
|
|
15713
14879
|
* @interface
|
|
15714
14880
|
*/
|
|
15715
|
-
declare type UserBoundsChangeEvent =
|
|
14881
|
+
declare type UserBoundsChangeEvent = BaseEvent_5 & {
|
|
14882
|
+
height: number;
|
|
14883
|
+
left: number;
|
|
14884
|
+
top: number;
|
|
14885
|
+
width: number;
|
|
15716
14886
|
windowState: 'minimized' | 'normal' | 'maximized';
|
|
15717
14887
|
};
|
|
15718
14888
|
|
|
@@ -16147,7 +15317,7 @@ declare class View_2 extends WebContents<OpenFin.ViewEvent> {
|
|
|
16147
15317
|
*/
|
|
16148
15318
|
getInfo: () => Promise<OpenFin.ViewInfo>;
|
|
16149
15319
|
/**
|
|
16150
|
-
* Retrieves the
|
|
15320
|
+
* Retrieves the layout for the window the view is attached to.
|
|
16151
15321
|
*
|
|
16152
15322
|
* @example
|
|
16153
15323
|
* ```js
|
|
@@ -16311,24 +15481,6 @@ declare type ViewContentCreationRule = BaseContentCreationRule & {
|
|
|
16311
15481
|
options?: Partial<ViewOptions>;
|
|
16312
15482
|
};
|
|
16313
15483
|
|
|
16314
|
-
/**
|
|
16315
|
-
* @interface
|
|
16316
|
-
*/
|
|
16317
|
-
declare type ViewCreationFailure = {
|
|
16318
|
-
/**
|
|
16319
|
-
* The identity of the created view
|
|
16320
|
-
*/
|
|
16321
|
-
identity: Identity_4;
|
|
16322
|
-
/**
|
|
16323
|
-
* Whether the view was created with errors
|
|
16324
|
-
*/
|
|
16325
|
-
success: false;
|
|
16326
|
-
/**
|
|
16327
|
-
* Error thrown during view creation
|
|
16328
|
-
*/
|
|
16329
|
-
error: Error;
|
|
16330
|
-
};
|
|
16331
|
-
|
|
16332
15484
|
/**
|
|
16333
15485
|
* The options object required by {@link View.ViewModule.create View.create}.
|
|
16334
15486
|
*
|
|
@@ -16339,30 +15491,11 @@ declare type ViewCreationFailure = {
|
|
|
16339
15491
|
declare type ViewCreationOptions = Partial<ViewOptions> & {
|
|
16340
15492
|
name: string;
|
|
16341
15493
|
url: string;
|
|
16342
|
-
target:
|
|
15494
|
+
target: Identity_5;
|
|
16343
15495
|
};
|
|
16344
15496
|
|
|
16345
15497
|
declare type ViewCreationOrReference = OpenFin.Identity | OpenFin.PlatformViewCreationOptions;
|
|
16346
15498
|
|
|
16347
|
-
/**
|
|
16348
|
-
* A view creation state
|
|
16349
|
-
*/
|
|
16350
|
-
declare type ViewCreationResult = ViewCreationSuccess | ViewCreationFailure;
|
|
16351
|
-
|
|
16352
|
-
/**
|
|
16353
|
-
* @interface
|
|
16354
|
-
*/
|
|
16355
|
-
declare type ViewCreationSuccess = {
|
|
16356
|
-
/**
|
|
16357
|
-
* The identity of the created view
|
|
16358
|
-
*/
|
|
16359
|
-
identity: Identity_4;
|
|
16360
|
-
/**
|
|
16361
|
-
* Whether the view was created without errors
|
|
16362
|
-
*/
|
|
16363
|
-
success: true;
|
|
16364
|
-
};
|
|
16365
|
-
|
|
16366
15499
|
/**
|
|
16367
15500
|
* Generated when a window has a view detached from it.
|
|
16368
15501
|
* @remarks Will fire when a view is destroyed in which case `target` will be null.
|
|
@@ -16387,8 +15520,6 @@ declare namespace ViewEvents {
|
|
|
16387
15520
|
BaseEvent_4 as BaseEvent,
|
|
16388
15521
|
BaseViewEvent,
|
|
16389
15522
|
TargetChangedEvent,
|
|
16390
|
-
AddedToLayoutEvent,
|
|
16391
|
-
RemovedFromLayoutEvent,
|
|
16392
15523
|
NonPropagatedViewEvent,
|
|
16393
15524
|
CreatedEvent,
|
|
16394
15525
|
DestroyedEvent,
|
|
@@ -16524,9 +15655,6 @@ declare class ViewModule extends Base {
|
|
|
16524
15655
|
*/
|
|
16525
15656
|
declare type ViewOptions = ConstViewOptions & MutableViewOptions;
|
|
16526
15657
|
|
|
16527
|
-
/**
|
|
16528
|
-
* @interface
|
|
16529
|
-
*/
|
|
16530
15658
|
declare type ViewShowAtOptions = {
|
|
16531
15659
|
/**
|
|
16532
15660
|
* Sets the view as the top level view. See {@link OpenFin.View.bringToFront} for more information.
|
|
@@ -16547,15 +15675,15 @@ declare interface ViewsPreventingUnloadPayload {
|
|
|
16547
15675
|
/**
|
|
16548
15676
|
* Identity of the Window.
|
|
16549
15677
|
*/
|
|
16550
|
-
windowId:
|
|
15678
|
+
windowId: Identity_5;
|
|
16551
15679
|
/**
|
|
16552
15680
|
* Identities of the Views that are preventing an unload
|
|
16553
15681
|
*/
|
|
16554
|
-
viewsPreventingUnload:
|
|
15682
|
+
viewsPreventingUnload: Identity_5[];
|
|
16555
15683
|
/**
|
|
16556
15684
|
* Identities of the Views that are not preventing an unload
|
|
16557
15685
|
*/
|
|
16558
|
-
viewsNotPreventingUnload:
|
|
15686
|
+
viewsNotPreventingUnload: Identity_5[];
|
|
16559
15687
|
/**
|
|
16560
15688
|
* Source of the close action.
|
|
16561
15689
|
*/
|
|
@@ -16580,11 +15708,11 @@ declare interface ViewStatuses {
|
|
|
16580
15708
|
/**
|
|
16581
15709
|
* Identities of the Views that are preventing an unload.
|
|
16582
15710
|
*/
|
|
16583
|
-
viewsPreventingUnload:
|
|
15711
|
+
viewsPreventingUnload: Identity_5[];
|
|
16584
15712
|
/**
|
|
16585
15713
|
* Identities of the Views that are not preventing an unload.
|
|
16586
15714
|
*/
|
|
16587
|
-
viewsNotPreventingUnload:
|
|
15715
|
+
viewsNotPreventingUnload: Identity_5[];
|
|
16588
15716
|
}
|
|
16589
15717
|
|
|
16590
15718
|
/**
|
|
@@ -17089,7 +16217,7 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
|
|
|
17089
16217
|
* We do not expose an explicit superclass for this functionality, but it does have its own
|
|
17090
16218
|
* {@link OpenFin.WebContentsEvents event namespace}.
|
|
17091
16219
|
*/
|
|
17092
|
-
stopFindInPage(action:
|
|
16220
|
+
stopFindInPage(action: string): Promise<void>;
|
|
17093
16221
|
/**
|
|
17094
16222
|
* Returns an array with all system printers
|
|
17095
16223
|
* @deprecated use System.getPrinters instead
|
|
@@ -17228,7 +16356,7 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
|
|
|
17228
16356
|
* bounds: {top: 10, left: 10, width: 200, height: 200}
|
|
17229
16357
|
* });
|
|
17230
16358
|
*
|
|
17231
|
-
* await view.navigate('
|
|
16359
|
+
* await view.navigate('http://mdn.github.io/simple-shared-worker/index2.html');
|
|
17232
16360
|
*
|
|
17233
16361
|
* const sharedWorkers = await view.getSharedWorkers();
|
|
17234
16362
|
* ```
|
|
@@ -17239,7 +16367,7 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
|
|
|
17239
16367
|
* name:'child',
|
|
17240
16368
|
* defaultWidth: 300,
|
|
17241
16369
|
* defaultHeight: 300,
|
|
17242
|
-
* url: '
|
|
16370
|
+
* url: 'http://mdn.github.io/simple-shared-worker/index2.html',
|
|
17243
16371
|
* frame: true,
|
|
17244
16372
|
* autoShow: true
|
|
17245
16373
|
* };
|
|
@@ -17264,7 +16392,7 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
|
|
|
17264
16392
|
* bounds: {top: 10, left: 10, width: 200, height: 200}
|
|
17265
16393
|
* });
|
|
17266
16394
|
*
|
|
17267
|
-
* await view.navigate('
|
|
16395
|
+
* await view.navigate('http://mdn.github.io/simple-shared-worker/index2.html');
|
|
17268
16396
|
*
|
|
17269
16397
|
* await view.inspectSharedWorker();
|
|
17270
16398
|
* ```
|
|
@@ -17275,7 +16403,7 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
|
|
|
17275
16403
|
* name:'child',
|
|
17276
16404
|
* defaultWidth: 300,
|
|
17277
16405
|
* defaultHeight: 300,
|
|
17278
|
-
* url: '
|
|
16406
|
+
* url: 'http://mdn.github.io/simple-shared-worker/index2.html',
|
|
17279
16407
|
* frame: true,
|
|
17280
16408
|
* autoShow: true
|
|
17281
16409
|
* };
|
|
@@ -17301,7 +16429,7 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
|
|
|
17301
16429
|
* bounds: {top: 10, left: 10, width: 200, height: 200}
|
|
17302
16430
|
* });
|
|
17303
16431
|
*
|
|
17304
|
-
* await view.navigate('
|
|
16432
|
+
* await view.navigate('http://mdn.github.io/simple-shared-worker/index2.html');
|
|
17305
16433
|
*
|
|
17306
16434
|
* const sharedWorkers = await view.getSharedWorkers();
|
|
17307
16435
|
* await view.inspectSharedWorkerById(sharedWorkers[0].id);
|
|
@@ -17313,7 +16441,7 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
|
|
|
17313
16441
|
* name:'child',
|
|
17314
16442
|
* defaultWidth: 300,
|
|
17315
16443
|
* defaultHeight: 300,
|
|
17316
|
-
* url: '
|
|
16444
|
+
* url: 'http://mdn.github.io/simple-shared-worker/index2.html',
|
|
17317
16445
|
* frame: true,
|
|
17318
16446
|
* autoShow: true
|
|
17319
16447
|
* };
|
|
@@ -17682,7 +16810,11 @@ declare type WillMoveEvent = WillMoveOrResizeEvent & {
|
|
|
17682
16810
|
* A general will-move or will-resize event without event type.
|
|
17683
16811
|
* @interface
|
|
17684
16812
|
*/
|
|
17685
|
-
declare type WillMoveOrResizeEvent =
|
|
16813
|
+
declare type WillMoveOrResizeEvent = BaseEvent_5 & {
|
|
16814
|
+
height: number;
|
|
16815
|
+
left: number;
|
|
16816
|
+
top: number;
|
|
16817
|
+
width: number;
|
|
17686
16818
|
monitorScaleFactor: number;
|
|
17687
16819
|
};
|
|
17688
16820
|
|
|
@@ -18874,21 +18006,16 @@ declare namespace WindowEvents {
|
|
|
18874
18006
|
PreloadScriptInfoRunning,
|
|
18875
18007
|
PreloadScriptInfo,
|
|
18876
18008
|
PreloadScriptsStateChangeEvent,
|
|
18877
|
-
|
|
18009
|
+
UserBoundsChangeEvent,
|
|
18878
18010
|
BoundsChangeEvent,
|
|
18879
18011
|
WillMoveOrResizeEvent,
|
|
18880
|
-
BoundsDidChangeEvent,
|
|
18881
|
-
BoundsChangedEvent,
|
|
18882
|
-
BoundsChangingEvent,
|
|
18883
|
-
DisabledMovementBoundsChangedEvent,
|
|
18884
|
-
DisabledMovementBoundsChangingEvent,
|
|
18885
|
-
UserBoundsChangeEvent,
|
|
18886
|
-
BeginUserBoundsChangingEvent,
|
|
18887
|
-
EndUserBoundsChangingEvent,
|
|
18888
18012
|
PerformanceReportEvent,
|
|
18889
18013
|
InputEvent_2 as InputEvent,
|
|
18890
18014
|
LayoutInitializedEvent,
|
|
18891
18015
|
LayoutReadyEvent,
|
|
18016
|
+
BeginUserBoundsChangingEvent,
|
|
18017
|
+
BoundsChangedEvent,
|
|
18018
|
+
BoundsChangingEvent,
|
|
18892
18019
|
CloseRequestedEvent,
|
|
18893
18020
|
WindowCloseRequestedEvent,
|
|
18894
18021
|
ContextChangedEvent,
|
|
@@ -18896,7 +18023,10 @@ declare namespace WindowEvents {
|
|
|
18896
18023
|
WindowClosedEvent,
|
|
18897
18024
|
ClosingEvent,
|
|
18898
18025
|
WindowClosingEvent,
|
|
18026
|
+
DisabledMovementBoundsChangedEvent,
|
|
18027
|
+
DisabledMovementBoundsChangingEvent,
|
|
18899
18028
|
EmbeddedEvent,
|
|
18029
|
+
EndUserBoundsChangingEvent,
|
|
18900
18030
|
HotkeyEvent_2 as HotkeyEvent,
|
|
18901
18031
|
WindowHotkeyEvent,
|
|
18902
18032
|
InitializedEvent_2 as InitializedEvent,
|