@openfin/fdc3-api 39.83.4 → 39.83.7
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 +304 -7
- package/out/fdc3-api-beta.d.ts +304 -7
- package/out/fdc3-api-public.d.ts +304 -7
- package/out/fdc3-api.d.ts +304 -7
- package/package.json +1 -1
package/out/fdc3-api.d.ts
CHANGED
|
@@ -2993,6 +2993,18 @@ declare type ChildWindowCreatedEvent = ContentCreationRulesEvent & {
|
|
|
2993
2993
|
childOptions: OpenFin.WindowOptions;
|
|
2994
2994
|
};
|
|
2995
2995
|
|
|
2996
|
+
/**
|
|
2997
|
+
* Control behavior for Chromium policies
|
|
2998
|
+
*
|
|
2999
|
+
* @interface
|
|
3000
|
+
*/
|
|
3001
|
+
declare type ChromiumPolicies = {
|
|
3002
|
+
/**
|
|
3003
|
+
* Disable AutofillAddressEnabled policy for a Window or View.
|
|
3004
|
+
*/
|
|
3005
|
+
AutofillAddressEnabled?: PolicyOptions;
|
|
3006
|
+
};
|
|
3007
|
+
|
|
2996
3008
|
declare interface ClassicProtocolOffer extends ProtocolPacketBase {
|
|
2997
3009
|
type: 'classic';
|
|
2998
3010
|
}
|
|
@@ -3507,6 +3519,10 @@ declare type ConstViewOptions = {
|
|
|
3507
3519
|
*/
|
|
3508
3520
|
enabled: boolean;
|
|
3509
3521
|
};
|
|
3522
|
+
/**
|
|
3523
|
+
* Control which options to ignore when creating a Platform View.
|
|
3524
|
+
*/
|
|
3525
|
+
excludeOptions: ExcludeOptions;
|
|
3510
3526
|
};
|
|
3511
3527
|
|
|
3512
3528
|
/**
|
|
@@ -3751,6 +3767,10 @@ declare type ConstWindowOptions = {
|
|
|
3751
3767
|
* 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.
|
|
3752
3768
|
*/
|
|
3753
3769
|
inheritance?: Partial<InheritableOptions>;
|
|
3770
|
+
/**
|
|
3771
|
+
* Control which options to ignore when creating a Platform Window.
|
|
3772
|
+
*/
|
|
3773
|
+
excludeOptions: ExcludeOptions;
|
|
3754
3774
|
};
|
|
3755
3775
|
|
|
3756
3776
|
/**
|
|
@@ -4790,7 +4810,7 @@ declare type Event_10 = ApplicationEvents.Event | ApiReadyEvent | SnapshotApplie
|
|
|
4790
4810
|
* under the {@link OpenFin.SystemEvents} namespace (payloads inherited from propagated events are defined in the namespace
|
|
4791
4811
|
* from which they propagate).
|
|
4792
4812
|
*/
|
|
4793
|
-
declare type Event_11 = ExcludeRequested<WindowEvents.PropagatedEvent<'system'>> | ExcludeRequested<ViewEvents.PropagatedEvent<'system'>> | ExcludeRequested<ApplicationEvents.PropagatedEvent<'system'>> | ApplicationCreatedEvent | DesktopIconClickedEvent | IdleStateChangedEvent | MonitorInfoChangedEvent | SessionChangedEvent | AppVersionEventWithId | SystemShutdownEvent;
|
|
4813
|
+
declare type Event_11 = ExcludeRequested<WindowEvents.PropagatedEvent<'system'>> | ExcludeRequested<ViewEvents.PropagatedEvent<'system'>> | ExcludeRequested<ApplicationEvents.PropagatedEvent<'system'>> | ApplicationCreatedEvent | DesktopIconClickedEvent | IdleStateChangedEvent | MonitorInfoChangedEvent | SessionChangedEvent | AppVersionEventWithId | SystemShutdownEvent | ExtensionsEnabledEvent | ExtensionsDisabledEvent | ExtensionsExcludedEvent | ExtensionsInstalledEvent | ExtensionInstalledEvent | ExtensionsInstallFailedEvent | ExtensionInstallFailedEvent | ExtensionsInitializationFailedEvent;
|
|
4794
4814
|
|
|
4795
4815
|
/**
|
|
4796
4816
|
* [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.
|
|
@@ -4944,6 +4964,18 @@ declare type EventWithId<Event extends AppVersionEvent> = Event extends infer E
|
|
|
4944
4964
|
appVersionId: string;
|
|
4945
4965
|
} : never;
|
|
4946
4966
|
|
|
4967
|
+
/**
|
|
4968
|
+
* @interface
|
|
4969
|
+
*/
|
|
4970
|
+
declare type ExcludeOptions = {
|
|
4971
|
+
/**
|
|
4972
|
+
* @defaultValue false
|
|
4973
|
+
*
|
|
4974
|
+
* When true, will not merge default preload scripts from {@link ApplicationOptions.defaultWindowOptions} or {@link ApplicationOptions.defaultViewOptions}.
|
|
4975
|
+
*/
|
|
4976
|
+
preloadScripts: boolean;
|
|
4977
|
+
};
|
|
4978
|
+
|
|
4947
4979
|
/**
|
|
4948
4980
|
* @internal
|
|
4949
4981
|
*
|
|
@@ -4968,6 +5000,105 @@ declare type ExitCode = {
|
|
|
4968
5000
|
exitCode: number;
|
|
4969
5001
|
};
|
|
4970
5002
|
|
|
5003
|
+
declare type ExtensionEvent = SecurityRealmEvent & {
|
|
5004
|
+
/**
|
|
5005
|
+
* Runtime extension whose status has been (possibly) modified
|
|
5006
|
+
*/
|
|
5007
|
+
extension: string;
|
|
5008
|
+
};
|
|
5009
|
+
|
|
5010
|
+
/**
|
|
5011
|
+
* @interface
|
|
5012
|
+
*/
|
|
5013
|
+
declare type ExtensionInfo = {
|
|
5014
|
+
extensionId: string;
|
|
5015
|
+
name: string;
|
|
5016
|
+
enabled: boolean;
|
|
5017
|
+
};
|
|
5018
|
+
|
|
5019
|
+
/**
|
|
5020
|
+
* An event that fires when an extension is installed in the security realm.
|
|
5021
|
+
*
|
|
5022
|
+
* @interface
|
|
5023
|
+
*/
|
|
5024
|
+
declare type ExtensionInstalledEvent = ExtensionEvent & {
|
|
5025
|
+
type: 'extension-installed';
|
|
5026
|
+
};
|
|
5027
|
+
|
|
5028
|
+
/**
|
|
5029
|
+
* An event that fires when an extension fails to install in the security realm.
|
|
5030
|
+
*
|
|
5031
|
+
* @interface
|
|
5032
|
+
*/
|
|
5033
|
+
declare type ExtensionInstallFailedEvent = ExtensionEvent & {
|
|
5034
|
+
type: 'extension-install-failed';
|
|
5035
|
+
};
|
|
5036
|
+
|
|
5037
|
+
/**
|
|
5038
|
+
* An event that fires when extensions are disabled in the security realm.
|
|
5039
|
+
*
|
|
5040
|
+
* @interface
|
|
5041
|
+
*/
|
|
5042
|
+
declare type ExtensionsDisabledEvent = ExtensionsEvent & {
|
|
5043
|
+
type: 'extensions-disabled';
|
|
5044
|
+
};
|
|
5045
|
+
|
|
5046
|
+
/**
|
|
5047
|
+
* An event that fires when extensions are enabled in the security realm.
|
|
5048
|
+
*
|
|
5049
|
+
* @interface
|
|
5050
|
+
*/
|
|
5051
|
+
declare type ExtensionsEnabledEvent = ExtensionsEvent & {
|
|
5052
|
+
type: 'extensions-enabled';
|
|
5053
|
+
};
|
|
5054
|
+
|
|
5055
|
+
declare type ExtensionsEvent = SecurityRealmEvent & {
|
|
5056
|
+
/**
|
|
5057
|
+
* Runtime extensions whose status has been (possibly) modified
|
|
5058
|
+
*/
|
|
5059
|
+
extensions: string[];
|
|
5060
|
+
};
|
|
5061
|
+
|
|
5062
|
+
/**
|
|
5063
|
+
* An event that fires when requested extensions are not allowed to be installed in the security realm.
|
|
5064
|
+
*
|
|
5065
|
+
* @interface
|
|
5066
|
+
*/
|
|
5067
|
+
declare type ExtensionsExcludedEvent = ExtensionsEvent & {
|
|
5068
|
+
type: 'extensions-excluded';
|
|
5069
|
+
};
|
|
5070
|
+
|
|
5071
|
+
/**
|
|
5072
|
+
* An event that fires when extension initialization fails on initial app launch. Users may attempt to
|
|
5073
|
+
* re-initialize extensions by calling {@link System.refreshExtensions}. This event will not fire in response
|
|
5074
|
+
* to manual extension refreshes (users should catch the error normally).
|
|
5075
|
+
*/
|
|
5076
|
+
declare type ExtensionsInitializationFailedEvent = Omit<ExtensionsEvent, 'extensions'> & {
|
|
5077
|
+
type: 'extensions-initialization-failed';
|
|
5078
|
+
/**
|
|
5079
|
+
* The error that caused the extension initialization failure
|
|
5080
|
+
*/
|
|
5081
|
+
error: Error;
|
|
5082
|
+
};
|
|
5083
|
+
|
|
5084
|
+
/**
|
|
5085
|
+
* An event that fires when extensions are installed in the security realm.
|
|
5086
|
+
*
|
|
5087
|
+
* @interface
|
|
5088
|
+
*/
|
|
5089
|
+
declare type ExtensionsInstalledEvent = ExtensionsEvent & {
|
|
5090
|
+
type: 'extensions-installed';
|
|
5091
|
+
};
|
|
5092
|
+
|
|
5093
|
+
/**
|
|
5094
|
+
* An event that fires when extensions fail to install in the security realm.
|
|
5095
|
+
*
|
|
5096
|
+
* @interface
|
|
5097
|
+
*/
|
|
5098
|
+
declare type ExtensionsInstallFailedEvent = ExtensionsEvent & {
|
|
5099
|
+
type: 'extensions-install-failed';
|
|
5100
|
+
};
|
|
5101
|
+
|
|
4971
5102
|
/**
|
|
4972
5103
|
* An ExternalApplication object representing native language adapter connections to the runtime. Allows
|
|
4973
5104
|
* the developer to listen to {@link OpenFin.ExternalApplicationEvents external application events}.
|
|
@@ -8150,6 +8281,29 @@ declare class Layout extends Base {
|
|
|
8150
8281
|
* ```
|
|
8151
8282
|
*/
|
|
8152
8283
|
applyPreset: (options: PresetLayoutOptions) => Promise<void>;
|
|
8284
|
+
/**
|
|
8285
|
+
* Adds a view to the platform layout. Behaves like @link{Platform#createView} with the current layout as the target.
|
|
8286
|
+
*
|
|
8287
|
+
* @param viewOptions - The options for creating the view.
|
|
8288
|
+
* @param options - Optional parameters for adding the view.
|
|
8289
|
+
* @param options.location - The location where the view should be added.
|
|
8290
|
+
* @param options.targetView - The target view to which the new view should be added.
|
|
8291
|
+
* @returns A promise that resolves to an object containing the identity of the added view.
|
|
8292
|
+
*/
|
|
8293
|
+
addView(viewOptions: OpenFin.PlatformViewCreationOptions, { location, targetView }?: {
|
|
8294
|
+
location?: OpenFin.CreateViewTarget['location'];
|
|
8295
|
+
targetView?: OpenFin.Identity;
|
|
8296
|
+
}): Promise<{
|
|
8297
|
+
identity: OpenFin.Identity;
|
|
8298
|
+
}>;
|
|
8299
|
+
/**
|
|
8300
|
+
* Closes a view by its identity. Throws an error if the view does not belong to the current layout.
|
|
8301
|
+
* Behaves like @link{Platform#closeView} but only closes the view if it belongs the current layout.
|
|
8302
|
+
*
|
|
8303
|
+
* @param viewIdentity - The identity of the view to close.
|
|
8304
|
+
* @returns A promise that resolves when the view is closed.
|
|
8305
|
+
*/
|
|
8306
|
+
closeView(viewIdentity: OpenFin.Identity): Promise<void>;
|
|
8153
8307
|
}
|
|
8154
8308
|
|
|
8155
8309
|
/**
|
|
@@ -8162,7 +8316,7 @@ declare type LayoutColumn = LayoutItemConfig & {
|
|
|
8162
8316
|
/**
|
|
8163
8317
|
* @interface
|
|
8164
8318
|
*/
|
|
8165
|
-
declare type LayoutComponent = LayoutItemConfig & {
|
|
8319
|
+
declare type LayoutComponent = Omit<LayoutItemConfig, 'content' | 'type'> & {
|
|
8166
8320
|
/**
|
|
8167
8321
|
* Only a component type will have this property and it should be set to view.
|
|
8168
8322
|
*/
|
|
@@ -8171,6 +8325,7 @@ declare type LayoutComponent = LayoutItemConfig & {
|
|
|
8171
8325
|
* Only a component type will have this property and it represents the view options of a given component.
|
|
8172
8326
|
*/
|
|
8173
8327
|
componentState?: Partial<ViewCreationOptions>;
|
|
8328
|
+
type: 'component';
|
|
8174
8329
|
};
|
|
8175
8330
|
|
|
8176
8331
|
declare type LayoutContent = Array<LayoutItemConfig | LayoutRow | LayoutColumn | LayoutComponent>;
|
|
@@ -8254,10 +8409,7 @@ declare type LayoutIdentity = Identity_4 & {
|
|
|
8254
8409
|
declare type LayoutInitializedEvent = BaseEvent_5 & {
|
|
8255
8410
|
type: 'layout-initialized';
|
|
8256
8411
|
layoutIdentity: OpenFin.LayoutIdentity;
|
|
8257
|
-
ofViews:
|
|
8258
|
-
identity: OpenFin.Identity;
|
|
8259
|
-
entityType: 'view';
|
|
8260
|
-
}[];
|
|
8412
|
+
ofViews: OpenFin.ViewCreationResult[];
|
|
8261
8413
|
};
|
|
8262
8414
|
|
|
8263
8415
|
/**
|
|
@@ -8365,7 +8517,7 @@ declare interface LayoutManager<T extends LayoutSnapshot> {
|
|
|
8365
8517
|
/**
|
|
8366
8518
|
* @experimental
|
|
8367
8519
|
*/
|
|
8368
|
-
getLayoutIdentityForView(viewIdentity: Identity_4): LayoutIdentity;
|
|
8520
|
+
getLayoutIdentityForView(viewIdentity: Identity_4): LayoutIdentity | undefined;
|
|
8369
8521
|
/**
|
|
8370
8522
|
* @experimental
|
|
8371
8523
|
*/
|
|
@@ -9290,6 +9442,10 @@ declare type MutableViewOptions = {
|
|
|
9290
9442
|
* @defaultValue 'enabled'
|
|
9291
9443
|
*/
|
|
9292
9444
|
throttling: ViewThrottling;
|
|
9445
|
+
/**
|
|
9446
|
+
* {@inheritDoc ChromiumPolicies}
|
|
9447
|
+
*/
|
|
9448
|
+
chromiumPolicies: ChromiumPolicies;
|
|
9293
9449
|
};
|
|
9294
9450
|
|
|
9295
9451
|
/**
|
|
@@ -9555,6 +9711,10 @@ declare type MutableWindowOptions = {
|
|
|
9555
9711
|
* @remarks If `throttling` option is present, the `backgroundThrottling` option is completely ignored for windows.
|
|
9556
9712
|
*/
|
|
9557
9713
|
throttling: WindowThrottling;
|
|
9714
|
+
/**
|
|
9715
|
+
* {@inheritDoc ChromiumPolicies}
|
|
9716
|
+
*/
|
|
9717
|
+
chromiumPolicies: ChromiumPolicies;
|
|
9558
9718
|
};
|
|
9559
9719
|
|
|
9560
9720
|
declare type NackHandler = (payloadOrMessage: RuntimeErrorPayload | string) => void;
|
|
@@ -9775,8 +9935,11 @@ declare namespace OpenFin {
|
|
|
9775
9935
|
ViewVisibilityOptions,
|
|
9776
9936
|
WindowState,
|
|
9777
9937
|
AutoplayPolicyOptions,
|
|
9938
|
+
ExcludeOptions,
|
|
9778
9939
|
ConstWindowOptions,
|
|
9779
9940
|
InheritableOptions,
|
|
9941
|
+
PolicyOptions,
|
|
9942
|
+
ChromiumPolicies,
|
|
9780
9943
|
MutableWindowOptions,
|
|
9781
9944
|
WorkspacePlatformOptions,
|
|
9782
9945
|
WebRequestHeader,
|
|
@@ -9810,6 +9973,9 @@ declare namespace OpenFin {
|
|
|
9810
9973
|
ViewOptions,
|
|
9811
9974
|
ConstViewOptions,
|
|
9812
9975
|
ViewState,
|
|
9976
|
+
ViewCreationSuccess,
|
|
9977
|
+
ViewCreationFailure,
|
|
9978
|
+
ViewCreationResult,
|
|
9813
9979
|
Certificate,
|
|
9814
9980
|
HostContextChangedPayload,
|
|
9815
9981
|
ApplySnapshotOptions,
|
|
@@ -10055,6 +10221,7 @@ declare namespace OpenFin {
|
|
|
10055
10221
|
RoutingInfo,
|
|
10056
10222
|
DownloadShelfOptions,
|
|
10057
10223
|
ViewShowAtOptions,
|
|
10224
|
+
ExtensionInfo,
|
|
10058
10225
|
ApplicationEvents,
|
|
10059
10226
|
BaseEvents,
|
|
10060
10227
|
ExternalApplicationEvents,
|
|
@@ -10256,6 +10423,10 @@ declare type PerDomainSettings = {
|
|
|
10256
10423
|
* {@link ContentRedirect} in {@link WindowOptions} and {@link ViewOptions} will be **ignored**.
|
|
10257
10424
|
*/
|
|
10258
10425
|
content?: ContentPermission;
|
|
10426
|
+
/**
|
|
10427
|
+
* {@inheritdoc ChromiumPolicies}
|
|
10428
|
+
*/
|
|
10429
|
+
chromiumPolicies?: ChromiumPolicies;
|
|
10259
10430
|
};
|
|
10260
10431
|
|
|
10261
10432
|
/**
|
|
@@ -11688,6 +11859,45 @@ declare interface PlatformProvider {
|
|
|
11688
11859
|
* @returns {Promise<void>}
|
|
11689
11860
|
*/
|
|
11690
11861
|
handleRunRequested({ manifest, userAppConfigArgs }: RunRequestedEvent): Promise<void>;
|
|
11862
|
+
/**
|
|
11863
|
+
* @experimental
|
|
11864
|
+
*
|
|
11865
|
+
* This method is called to handle errors with view creation and initial navigation during layout creation.
|
|
11866
|
+
* Overriding this method enables catching the error and correcting behavior (ie navigating to an error page).
|
|
11867
|
+
* * To indicate that the error has been handled, view creation should be treated as successful return {identity: viewIdentity, success: true}.
|
|
11868
|
+
* * Not returning anything will cause the layout-initialized event to include the view as failed with the original error.
|
|
11869
|
+
* * Throwing an error will update the error on the event payload of layout-initialized to the thrown error.
|
|
11870
|
+
*
|
|
11871
|
+
* @param viewIdentity Identity of the view
|
|
11872
|
+
* @param error error thrown during a view creation
|
|
11873
|
+
* @returns {Promise<OpenFin.ViewCreationSuccess | void>}
|
|
11874
|
+
*
|
|
11875
|
+
* @example
|
|
11876
|
+
*
|
|
11877
|
+
* ```js
|
|
11878
|
+
* const overrideCallback = (PlatformProvider) => {
|
|
11879
|
+
* class Override extends PlatformProvider {
|
|
11880
|
+
* async handleFailedViewCreation(viewIdentity, error) {
|
|
11881
|
+
* const view = fin.View.wrapSync(viewId);
|
|
11882
|
+
* try {
|
|
11883
|
+
* // navigate to an error page
|
|
11884
|
+
* await view.navigate('http://localhost:3000/errorPage.html');
|
|
11885
|
+
* // resolve a success result after redirecting to a error page
|
|
11886
|
+
* return {identity: viewIdentity, success: true};
|
|
11887
|
+
* } catch(e) {
|
|
11888
|
+
* // layout-initialized event will include this view with the error
|
|
11889
|
+
* throw error;
|
|
11890
|
+
* }
|
|
11891
|
+
* }
|
|
11892
|
+
* }
|
|
11893
|
+
* return new Override();
|
|
11894
|
+
* }
|
|
11895
|
+
*
|
|
11896
|
+
* fin.Platform.init({ overrideCallback });
|
|
11897
|
+
*
|
|
11898
|
+
* ```
|
|
11899
|
+
*/
|
|
11900
|
+
handleFailedViewCreation(viewIdentity: OpenFin.Identity, error: Error): Promise<OpenFin.ViewCreationSuccess | void>;
|
|
11691
11901
|
}
|
|
11692
11902
|
|
|
11693
11903
|
/**
|
|
@@ -11752,6 +11962,12 @@ declare type PointTopLeft = {
|
|
|
11752
11962
|
left: number;
|
|
11753
11963
|
};
|
|
11754
11964
|
|
|
11965
|
+
/**
|
|
11966
|
+
* When set to `disable`, disables the policy
|
|
11967
|
+
* When set to `defer-to-group-policy`, respects Group Policy settings
|
|
11968
|
+
*/
|
|
11969
|
+
declare type PolicyOptions = 'disable' | 'defer-to-group-policy';
|
|
11970
|
+
|
|
11755
11971
|
declare type PopupBaseBehavior = 'close' | 'hide';
|
|
11756
11972
|
|
|
11757
11973
|
declare type PopupBlurBehavior = 'modal' | PopupBaseBehavior;
|
|
@@ -12767,6 +12983,14 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
12767
12983
|
}, void>;
|
|
12768
12984
|
'system-register-shutdown-handler': VoidCall;
|
|
12769
12985
|
'get-permissions': GetterCall<any>;
|
|
12986
|
+
'refresh-extensions': {
|
|
12987
|
+
request: void;
|
|
12988
|
+
response: string[] | undefined;
|
|
12989
|
+
};
|
|
12990
|
+
'get-installed-extensions': {
|
|
12991
|
+
request: void;
|
|
12992
|
+
response: OpenFin.ExtensionInfo[];
|
|
12993
|
+
};
|
|
12770
12994
|
'fdc3-add-context-listener': VoidCall;
|
|
12771
12995
|
'fdc3-add-intent-listener': VoidCall;
|
|
12772
12996
|
'fdc3-raise-intent': VoidCall;
|
|
@@ -13455,6 +13679,21 @@ declare type ScreenshotPrintOptions = {
|
|
|
13455
13679
|
content: 'screenshot';
|
|
13456
13680
|
};
|
|
13457
13681
|
|
|
13682
|
+
/**
|
|
13683
|
+
* An event generated when an application modifies the runtime in a way that affects all other applications in the
|
|
13684
|
+
* application runtime/security realm.
|
|
13685
|
+
*/
|
|
13686
|
+
declare type SecurityRealmEvent = BaseEvent_9 & {
|
|
13687
|
+
/**
|
|
13688
|
+
* Config URL of the application that modified the security realm's extensions
|
|
13689
|
+
*/
|
|
13690
|
+
configUrl: string;
|
|
13691
|
+
/**
|
|
13692
|
+
* Identity of the application that modified the security realm's extensions
|
|
13693
|
+
*/
|
|
13694
|
+
applicationIdentity: OpenFin.ApplicationIdentity;
|
|
13695
|
+
};
|
|
13696
|
+
|
|
13458
13697
|
declare type SendActionResponse<T extends keyof ProtocolMap> = Message<{
|
|
13459
13698
|
data: ProtocolMap[T]['response'];
|
|
13460
13699
|
} & ProtocolMap[T]['specialResponse']>;
|
|
@@ -15352,6 +15591,16 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
15352
15591
|
* ```
|
|
15353
15592
|
*/
|
|
15354
15593
|
setDomainSettings(domainSettings: OpenFin.DefaultDomainSettings): Promise<void>;
|
|
15594
|
+
/**
|
|
15595
|
+
* Attempts to install and enable extensions for the security realm. Users may want to call this function in response
|
|
15596
|
+
* to an `extensions-install-failed` event. Only extensions allowed by every application on the current security realm
|
|
15597
|
+
* will be installed/enabled.
|
|
15598
|
+
*/
|
|
15599
|
+
refreshExtensions(): Promise<string[] | undefined>;
|
|
15600
|
+
/**
|
|
15601
|
+
* Gets the currently-installed
|
|
15602
|
+
*/
|
|
15603
|
+
getInstalledExtensions(): Promise<OpenFin.ExtensionInfo[]>;
|
|
15355
15604
|
}
|
|
15356
15605
|
|
|
15357
15606
|
/**
|
|
@@ -15382,6 +15631,14 @@ declare namespace SystemEvents {
|
|
|
15382
15631
|
ApplicationCreatedEvent,
|
|
15383
15632
|
DesktopIconClickedEvent,
|
|
15384
15633
|
SystemShutdownEvent,
|
|
15634
|
+
ExtensionsEnabledEvent,
|
|
15635
|
+
ExtensionsDisabledEvent,
|
|
15636
|
+
ExtensionsExcludedEvent,
|
|
15637
|
+
ExtensionsInstalledEvent,
|
|
15638
|
+
ExtensionInstalledEvent,
|
|
15639
|
+
ExtensionsInstallFailedEvent,
|
|
15640
|
+
ExtensionInstallFailedEvent,
|
|
15641
|
+
ExtensionsInitializationFailedEvent,
|
|
15385
15642
|
Event_11 as Event,
|
|
15386
15643
|
SystemEvent,
|
|
15387
15644
|
EventType_8 as EventType,
|
|
@@ -16500,6 +16757,24 @@ declare type ViewContentCreationRule = BaseContentCreationRule & {
|
|
|
16500
16757
|
options?: Partial<ViewOptions>;
|
|
16501
16758
|
};
|
|
16502
16759
|
|
|
16760
|
+
/**
|
|
16761
|
+
* @interface
|
|
16762
|
+
*/
|
|
16763
|
+
declare type ViewCreationFailure = {
|
|
16764
|
+
/**
|
|
16765
|
+
* The identity of the created view
|
|
16766
|
+
*/
|
|
16767
|
+
identity: Identity_4;
|
|
16768
|
+
/**
|
|
16769
|
+
* Whether the view was created with errors
|
|
16770
|
+
*/
|
|
16771
|
+
success: false;
|
|
16772
|
+
/**
|
|
16773
|
+
* Error thrown during view creation
|
|
16774
|
+
*/
|
|
16775
|
+
error: Error;
|
|
16776
|
+
};
|
|
16777
|
+
|
|
16503
16778
|
/**
|
|
16504
16779
|
* The options object required by {@link View.ViewModule.create View.create}.
|
|
16505
16780
|
*
|
|
@@ -16515,6 +16790,25 @@ declare type ViewCreationOptions = Partial<ViewOptions> & {
|
|
|
16515
16790
|
|
|
16516
16791
|
declare type ViewCreationOrReference = OpenFin.Identity | OpenFin.PlatformViewCreationOptions;
|
|
16517
16792
|
|
|
16793
|
+
/**
|
|
16794
|
+
* A view creation state
|
|
16795
|
+
*/
|
|
16796
|
+
declare type ViewCreationResult = ViewCreationSuccess | ViewCreationFailure;
|
|
16797
|
+
|
|
16798
|
+
/**
|
|
16799
|
+
* @interface
|
|
16800
|
+
*/
|
|
16801
|
+
declare type ViewCreationSuccess = {
|
|
16802
|
+
/**
|
|
16803
|
+
* The identity of the created view
|
|
16804
|
+
*/
|
|
16805
|
+
identity: Identity_4;
|
|
16806
|
+
/**
|
|
16807
|
+
* Whether the view was created without errors
|
|
16808
|
+
*/
|
|
16809
|
+
success: true;
|
|
16810
|
+
};
|
|
16811
|
+
|
|
16518
16812
|
/**
|
|
16519
16813
|
* Generated when a window has a view detached from it.
|
|
16520
16814
|
* @remarks Will fire when a view is destroyed in which case `target` will be null.
|
|
@@ -16676,6 +16970,9 @@ declare class ViewModule extends Base {
|
|
|
16676
16970
|
*/
|
|
16677
16971
|
declare type ViewOptions = ConstViewOptions & MutableViewOptions;
|
|
16678
16972
|
|
|
16973
|
+
/**
|
|
16974
|
+
* @interface
|
|
16975
|
+
*/
|
|
16679
16976
|
declare type ViewShowAtOptions = {
|
|
16680
16977
|
/**
|
|
16681
16978
|
* Sets the view as the top level view. See {@link OpenFin.View.bringToFront} for more information.
|