@openfin/remote-adapter 36.79.13 → 36.79.17
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/remote-adapter-alpha.d.ts +64 -3
- package/out/remote-adapter-beta.d.ts +64 -3
- package/out/remote-adapter-public.d.ts +64 -3
- package/out/remote-adapter.d.ts +74 -1
- package/out/remote-adapter.js +14527 -14476
- package/package.json +1 -1
|
@@ -88,12 +88,21 @@ declare type Api = {
|
|
|
88
88
|
iframe?: {
|
|
89
89
|
/**
|
|
90
90
|
* Inject OpenFin API into cross-origin iframes
|
|
91
|
+
*
|
|
92
|
+
* @defaultValue false
|
|
91
93
|
*/
|
|
92
94
|
crossOriginInjection?: boolean;
|
|
93
95
|
/**
|
|
94
96
|
* Inject OpenFin API into same-origin iframes
|
|
97
|
+
*
|
|
98
|
+
* @defaultValue true
|
|
95
99
|
*/
|
|
96
100
|
sameOriginInjection?: boolean;
|
|
101
|
+
/**
|
|
102
|
+
* @deprecated Shared names should not be used; support is provided purely for back-compat reasons.
|
|
103
|
+
*
|
|
104
|
+
* When `true`, iframes will have the same name as their parent WebContents.
|
|
105
|
+
*/
|
|
97
106
|
enableDeprecatedSharedName?: boolean;
|
|
98
107
|
};
|
|
99
108
|
/**
|
|
@@ -1668,9 +1677,9 @@ declare class Base {
|
|
|
1668
1677
|
* on the context in which the devtools panel was opened.
|
|
1669
1678
|
*/
|
|
1670
1679
|
get me(): Identity;
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1680
|
+
/* Excluded from this release type: isNodeEnvironment */
|
|
1681
|
+
/* Excluded from this release type: isOpenFinEnvironment */
|
|
1682
|
+
/* Excluded from this release type: isBrowserEnvironment */
|
|
1674
1683
|
}
|
|
1675
1684
|
|
|
1676
1685
|
/**
|
|
@@ -4490,6 +4499,32 @@ declare type CreateLayoutOptions = {
|
|
|
4490
4499
|
container: HTMLElement;
|
|
4491
4500
|
layoutName: string;
|
|
4492
4501
|
layout: LayoutOptions;
|
|
4502
|
+
/**
|
|
4503
|
+
* @defaultValue 'default'
|
|
4504
|
+
*
|
|
4505
|
+
* Controls the View behavior for the given `layout` property. Note
|
|
4506
|
+
* that the selected behavior only applies to unnamed Views or
|
|
4507
|
+
* Views with the prefix `internal-generated-`. In all cases, if any
|
|
4508
|
+
* View in the `layout` does not already exist, it will be created
|
|
4509
|
+
* with a name that starts with `internal-generated-`.
|
|
4510
|
+
*
|
|
4511
|
+
* When set to `reparent`, Views prefixed with `internal-generated-` will
|
|
4512
|
+
* be reparented to the current Window and added to this new Layout.
|
|
4513
|
+
* Use this option when you need to transfer an existing Layout between Windows.
|
|
4514
|
+
*
|
|
4515
|
+
* When set to 'duplicate', Views prefixed with `internal-generated-` will
|
|
4516
|
+
* be duplicated with new generated names. Use this option when you need
|
|
4517
|
+
* to clone a Layout to any Window.
|
|
4518
|
+
*
|
|
4519
|
+
* When set to `default` or omitted, the Layout will attempt to re-use
|
|
4520
|
+
* existing Views only if they are attached to the current Window or
|
|
4521
|
+
* the Provider Window. Set to `default` or omit this option when creating
|
|
4522
|
+
* Layouts as part of implementing the LayoutManager::applyLayoutSnapshot
|
|
4523
|
+
* override. Note that during applyLayoutSnapshot, Views are created and
|
|
4524
|
+
* attached to the Provider while the Window is being created, so it's
|
|
4525
|
+
* important to not 'duplicate' Views in this workflow.
|
|
4526
|
+
*/
|
|
4527
|
+
multiInstanceViewBehavior?: MultiInstanceViewBehavior;
|
|
4493
4528
|
};
|
|
4494
4529
|
|
|
4495
4530
|
/**
|
|
@@ -5200,8 +5235,14 @@ declare interface Environment {
|
|
|
5200
5235
|
getRtcPeer(): RTCPeerConnection;
|
|
5201
5236
|
getWsConstructor(): typeof WebSocket;
|
|
5202
5237
|
whenReady(): Promise<void>;
|
|
5238
|
+
getInteropInfo(fin: OpenFin.Fin<OpenFin.EntityType>): Promise<InternalInteropBrokerOptions & {
|
|
5239
|
+
fdc3Version?: Fdc3Version;
|
|
5240
|
+
}>;
|
|
5241
|
+
readonly type: EnvironmentType;
|
|
5203
5242
|
}
|
|
5204
5243
|
|
|
5244
|
+
declare type EnvironmentType = 'node' | 'openfin' | 'other';
|
|
5245
|
+
|
|
5205
5246
|
declare type ErrorMiddleware = OpenFin.ErrorMiddleware;
|
|
5206
5247
|
|
|
5207
5248
|
declare type ErrorMiddleware_2 = (topic: string, error: Error, id: ProviderIdentity_7 | ClientIdentity) => unknown;
|
|
@@ -5605,6 +5646,8 @@ declare namespace FDC3 {
|
|
|
5605
5646
|
}
|
|
5606
5647
|
}
|
|
5607
5648
|
|
|
5649
|
+
declare type Fdc3Version = '1.2' | '2.0';
|
|
5650
|
+
|
|
5608
5651
|
/**
|
|
5609
5652
|
* @interface
|
|
5610
5653
|
*/
|
|
@@ -7003,6 +7046,15 @@ declare class InterApplicationBus extends Base {
|
|
|
7003
7046
|
|
|
7004
7047
|
declare type InternalConnectConfig = ExistingConnectConfig | NewConnectConfig;
|
|
7005
7048
|
|
|
7049
|
+
declare type InternalFDC3Info = {
|
|
7050
|
+
providerVersion: string;
|
|
7051
|
+
provider: string;
|
|
7052
|
+
};
|
|
7053
|
+
|
|
7054
|
+
declare type InternalInteropBrokerOptions = OpenFin.InteropBrokerOptions & {
|
|
7055
|
+
fdc3Info: InternalFDC3Info;
|
|
7056
|
+
};
|
|
7057
|
+
|
|
7006
7058
|
/**
|
|
7007
7059
|
* Define whether to enable interop action logging.
|
|
7008
7060
|
*
|
|
@@ -7131,6 +7183,7 @@ declare type InteropActionLoggingOption = {
|
|
|
7131
7183
|
*
|
|
7132
7184
|
*/
|
|
7133
7185
|
declare class InteropBroker extends Base {
|
|
7186
|
+
#private;
|
|
7134
7187
|
private getProvider;
|
|
7135
7188
|
private interopClients;
|
|
7136
7189
|
private contextGroupsById;
|
|
@@ -9446,6 +9499,13 @@ declare type MonitorInfoChangedEvent = BaseEvent_9 & OpenFin.MonitorInfo & {
|
|
|
9446
9499
|
type: 'monitor-info-changed';
|
|
9447
9500
|
};
|
|
9448
9501
|
|
|
9502
|
+
/**
|
|
9503
|
+
* @experimental
|
|
9504
|
+
*
|
|
9505
|
+
* Used to control view behavior for Layout.create API
|
|
9506
|
+
*/
|
|
9507
|
+
declare type MultiInstanceViewBehavior = 'reparent' | 'duplicate' | 'default';
|
|
9508
|
+
|
|
9449
9509
|
/**
|
|
9450
9510
|
* @interface
|
|
9451
9511
|
*/
|
|
@@ -10166,6 +10226,7 @@ declare namespace OpenFin {
|
|
|
10166
10226
|
LayoutManagerOverride,
|
|
10167
10227
|
LayoutManager,
|
|
10168
10228
|
CreateLayoutOptions,
|
|
10229
|
+
MultiInstanceViewBehavior,
|
|
10169
10230
|
PresetLayoutOptions_2 as PresetLayoutOptions,
|
|
10170
10231
|
ResultBehavior,
|
|
10171
10232
|
PopupBaseBehavior,
|
|
@@ -88,12 +88,21 @@ declare type Api = {
|
|
|
88
88
|
iframe?: {
|
|
89
89
|
/**
|
|
90
90
|
* Inject OpenFin API into cross-origin iframes
|
|
91
|
+
*
|
|
92
|
+
* @defaultValue false
|
|
91
93
|
*/
|
|
92
94
|
crossOriginInjection?: boolean;
|
|
93
95
|
/**
|
|
94
96
|
* Inject OpenFin API into same-origin iframes
|
|
97
|
+
*
|
|
98
|
+
* @defaultValue true
|
|
95
99
|
*/
|
|
96
100
|
sameOriginInjection?: boolean;
|
|
101
|
+
/**
|
|
102
|
+
* @deprecated Shared names should not be used; support is provided purely for back-compat reasons.
|
|
103
|
+
*
|
|
104
|
+
* When `true`, iframes will have the same name as their parent WebContents.
|
|
105
|
+
*/
|
|
97
106
|
enableDeprecatedSharedName?: boolean;
|
|
98
107
|
};
|
|
99
108
|
/**
|
|
@@ -1668,9 +1677,9 @@ declare class Base {
|
|
|
1668
1677
|
* on the context in which the devtools panel was opened.
|
|
1669
1678
|
*/
|
|
1670
1679
|
get me(): Identity;
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1680
|
+
/* Excluded from this release type: isNodeEnvironment */
|
|
1681
|
+
/* Excluded from this release type: isOpenFinEnvironment */
|
|
1682
|
+
/* Excluded from this release type: isBrowserEnvironment */
|
|
1674
1683
|
}
|
|
1675
1684
|
|
|
1676
1685
|
/**
|
|
@@ -4490,6 +4499,32 @@ declare type CreateLayoutOptions = {
|
|
|
4490
4499
|
container: HTMLElement;
|
|
4491
4500
|
layoutName: string;
|
|
4492
4501
|
layout: LayoutOptions;
|
|
4502
|
+
/**
|
|
4503
|
+
* @defaultValue 'default'
|
|
4504
|
+
*
|
|
4505
|
+
* Controls the View behavior for the given `layout` property. Note
|
|
4506
|
+
* that the selected behavior only applies to unnamed Views or
|
|
4507
|
+
* Views with the prefix `internal-generated-`. In all cases, if any
|
|
4508
|
+
* View in the `layout` does not already exist, it will be created
|
|
4509
|
+
* with a name that starts with `internal-generated-`.
|
|
4510
|
+
*
|
|
4511
|
+
* When set to `reparent`, Views prefixed with `internal-generated-` will
|
|
4512
|
+
* be reparented to the current Window and added to this new Layout.
|
|
4513
|
+
* Use this option when you need to transfer an existing Layout between Windows.
|
|
4514
|
+
*
|
|
4515
|
+
* When set to 'duplicate', Views prefixed with `internal-generated-` will
|
|
4516
|
+
* be duplicated with new generated names. Use this option when you need
|
|
4517
|
+
* to clone a Layout to any Window.
|
|
4518
|
+
*
|
|
4519
|
+
* When set to `default` or omitted, the Layout will attempt to re-use
|
|
4520
|
+
* existing Views only if they are attached to the current Window or
|
|
4521
|
+
* the Provider Window. Set to `default` or omit this option when creating
|
|
4522
|
+
* Layouts as part of implementing the LayoutManager::applyLayoutSnapshot
|
|
4523
|
+
* override. Note that during applyLayoutSnapshot, Views are created and
|
|
4524
|
+
* attached to the Provider while the Window is being created, so it's
|
|
4525
|
+
* important to not 'duplicate' Views in this workflow.
|
|
4526
|
+
*/
|
|
4527
|
+
multiInstanceViewBehavior?: MultiInstanceViewBehavior;
|
|
4493
4528
|
};
|
|
4494
4529
|
|
|
4495
4530
|
/**
|
|
@@ -5200,8 +5235,14 @@ declare interface Environment {
|
|
|
5200
5235
|
getRtcPeer(): RTCPeerConnection;
|
|
5201
5236
|
getWsConstructor(): typeof WebSocket;
|
|
5202
5237
|
whenReady(): Promise<void>;
|
|
5238
|
+
getInteropInfo(fin: OpenFin.Fin<OpenFin.EntityType>): Promise<InternalInteropBrokerOptions & {
|
|
5239
|
+
fdc3Version?: Fdc3Version;
|
|
5240
|
+
}>;
|
|
5241
|
+
readonly type: EnvironmentType;
|
|
5203
5242
|
}
|
|
5204
5243
|
|
|
5244
|
+
declare type EnvironmentType = 'node' | 'openfin' | 'other';
|
|
5245
|
+
|
|
5205
5246
|
declare type ErrorMiddleware = OpenFin.ErrorMiddleware;
|
|
5206
5247
|
|
|
5207
5248
|
declare type ErrorMiddleware_2 = (topic: string, error: Error, id: ProviderIdentity_7 | ClientIdentity) => unknown;
|
|
@@ -5605,6 +5646,8 @@ declare namespace FDC3 {
|
|
|
5605
5646
|
}
|
|
5606
5647
|
}
|
|
5607
5648
|
|
|
5649
|
+
declare type Fdc3Version = '1.2' | '2.0';
|
|
5650
|
+
|
|
5608
5651
|
/**
|
|
5609
5652
|
* @interface
|
|
5610
5653
|
*/
|
|
@@ -7003,6 +7046,15 @@ declare class InterApplicationBus extends Base {
|
|
|
7003
7046
|
|
|
7004
7047
|
declare type InternalConnectConfig = ExistingConnectConfig | NewConnectConfig;
|
|
7005
7048
|
|
|
7049
|
+
declare type InternalFDC3Info = {
|
|
7050
|
+
providerVersion: string;
|
|
7051
|
+
provider: string;
|
|
7052
|
+
};
|
|
7053
|
+
|
|
7054
|
+
declare type InternalInteropBrokerOptions = OpenFin.InteropBrokerOptions & {
|
|
7055
|
+
fdc3Info: InternalFDC3Info;
|
|
7056
|
+
};
|
|
7057
|
+
|
|
7006
7058
|
/**
|
|
7007
7059
|
* Define whether to enable interop action logging.
|
|
7008
7060
|
*
|
|
@@ -7131,6 +7183,7 @@ declare type InteropActionLoggingOption = {
|
|
|
7131
7183
|
*
|
|
7132
7184
|
*/
|
|
7133
7185
|
declare class InteropBroker extends Base {
|
|
7186
|
+
#private;
|
|
7134
7187
|
private getProvider;
|
|
7135
7188
|
private interopClients;
|
|
7136
7189
|
private contextGroupsById;
|
|
@@ -9446,6 +9499,13 @@ declare type MonitorInfoChangedEvent = BaseEvent_9 & OpenFin.MonitorInfo & {
|
|
|
9446
9499
|
type: 'monitor-info-changed';
|
|
9447
9500
|
};
|
|
9448
9501
|
|
|
9502
|
+
/**
|
|
9503
|
+
* @experimental
|
|
9504
|
+
*
|
|
9505
|
+
* Used to control view behavior for Layout.create API
|
|
9506
|
+
*/
|
|
9507
|
+
declare type MultiInstanceViewBehavior = 'reparent' | 'duplicate' | 'default';
|
|
9508
|
+
|
|
9449
9509
|
/**
|
|
9450
9510
|
* @interface
|
|
9451
9511
|
*/
|
|
@@ -10166,6 +10226,7 @@ declare namespace OpenFin {
|
|
|
10166
10226
|
LayoutManagerOverride,
|
|
10167
10227
|
LayoutManager,
|
|
10168
10228
|
CreateLayoutOptions,
|
|
10229
|
+
MultiInstanceViewBehavior,
|
|
10169
10230
|
PresetLayoutOptions_2 as PresetLayoutOptions,
|
|
10170
10231
|
ResultBehavior,
|
|
10171
10232
|
PopupBaseBehavior,
|
|
@@ -88,12 +88,21 @@ declare type Api = {
|
|
|
88
88
|
iframe?: {
|
|
89
89
|
/**
|
|
90
90
|
* Inject OpenFin API into cross-origin iframes
|
|
91
|
+
*
|
|
92
|
+
* @defaultValue false
|
|
91
93
|
*/
|
|
92
94
|
crossOriginInjection?: boolean;
|
|
93
95
|
/**
|
|
94
96
|
* Inject OpenFin API into same-origin iframes
|
|
97
|
+
*
|
|
98
|
+
* @defaultValue true
|
|
95
99
|
*/
|
|
96
100
|
sameOriginInjection?: boolean;
|
|
101
|
+
/**
|
|
102
|
+
* @deprecated Shared names should not be used; support is provided purely for back-compat reasons.
|
|
103
|
+
*
|
|
104
|
+
* When `true`, iframes will have the same name as their parent WebContents.
|
|
105
|
+
*/
|
|
97
106
|
enableDeprecatedSharedName?: boolean;
|
|
98
107
|
};
|
|
99
108
|
/**
|
|
@@ -1668,9 +1677,9 @@ declare class Base {
|
|
|
1668
1677
|
* on the context in which the devtools panel was opened.
|
|
1669
1678
|
*/
|
|
1670
1679
|
get me(): Identity;
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1680
|
+
/* Excluded from this release type: isNodeEnvironment */
|
|
1681
|
+
/* Excluded from this release type: isOpenFinEnvironment */
|
|
1682
|
+
/* Excluded from this release type: isBrowserEnvironment */
|
|
1674
1683
|
}
|
|
1675
1684
|
|
|
1676
1685
|
/**
|
|
@@ -4490,6 +4499,32 @@ declare type CreateLayoutOptions = {
|
|
|
4490
4499
|
container: HTMLElement;
|
|
4491
4500
|
layoutName: string;
|
|
4492
4501
|
layout: LayoutOptions;
|
|
4502
|
+
/**
|
|
4503
|
+
* @defaultValue 'default'
|
|
4504
|
+
*
|
|
4505
|
+
* Controls the View behavior for the given `layout` property. Note
|
|
4506
|
+
* that the selected behavior only applies to unnamed Views or
|
|
4507
|
+
* Views with the prefix `internal-generated-`. In all cases, if any
|
|
4508
|
+
* View in the `layout` does not already exist, it will be created
|
|
4509
|
+
* with a name that starts with `internal-generated-`.
|
|
4510
|
+
*
|
|
4511
|
+
* When set to `reparent`, Views prefixed with `internal-generated-` will
|
|
4512
|
+
* be reparented to the current Window and added to this new Layout.
|
|
4513
|
+
* Use this option when you need to transfer an existing Layout between Windows.
|
|
4514
|
+
*
|
|
4515
|
+
* When set to 'duplicate', Views prefixed with `internal-generated-` will
|
|
4516
|
+
* be duplicated with new generated names. Use this option when you need
|
|
4517
|
+
* to clone a Layout to any Window.
|
|
4518
|
+
*
|
|
4519
|
+
* When set to `default` or omitted, the Layout will attempt to re-use
|
|
4520
|
+
* existing Views only if they are attached to the current Window or
|
|
4521
|
+
* the Provider Window. Set to `default` or omit this option when creating
|
|
4522
|
+
* Layouts as part of implementing the LayoutManager::applyLayoutSnapshot
|
|
4523
|
+
* override. Note that during applyLayoutSnapshot, Views are created and
|
|
4524
|
+
* attached to the Provider while the Window is being created, so it's
|
|
4525
|
+
* important to not 'duplicate' Views in this workflow.
|
|
4526
|
+
*/
|
|
4527
|
+
multiInstanceViewBehavior?: MultiInstanceViewBehavior;
|
|
4493
4528
|
};
|
|
4494
4529
|
|
|
4495
4530
|
/**
|
|
@@ -5200,8 +5235,14 @@ declare interface Environment {
|
|
|
5200
5235
|
getRtcPeer(): RTCPeerConnection;
|
|
5201
5236
|
getWsConstructor(): typeof WebSocket;
|
|
5202
5237
|
whenReady(): Promise<void>;
|
|
5238
|
+
getInteropInfo(fin: OpenFin.Fin<OpenFin.EntityType>): Promise<InternalInteropBrokerOptions & {
|
|
5239
|
+
fdc3Version?: Fdc3Version;
|
|
5240
|
+
}>;
|
|
5241
|
+
readonly type: EnvironmentType;
|
|
5203
5242
|
}
|
|
5204
5243
|
|
|
5244
|
+
declare type EnvironmentType = 'node' | 'openfin' | 'other';
|
|
5245
|
+
|
|
5205
5246
|
declare type ErrorMiddleware = OpenFin.ErrorMiddleware;
|
|
5206
5247
|
|
|
5207
5248
|
declare type ErrorMiddleware_2 = (topic: string, error: Error, id: ProviderIdentity_7 | ClientIdentity) => unknown;
|
|
@@ -5605,6 +5646,8 @@ declare namespace FDC3 {
|
|
|
5605
5646
|
}
|
|
5606
5647
|
}
|
|
5607
5648
|
|
|
5649
|
+
declare type Fdc3Version = '1.2' | '2.0';
|
|
5650
|
+
|
|
5608
5651
|
/**
|
|
5609
5652
|
* @interface
|
|
5610
5653
|
*/
|
|
@@ -7003,6 +7046,15 @@ declare class InterApplicationBus extends Base {
|
|
|
7003
7046
|
|
|
7004
7047
|
declare type InternalConnectConfig = ExistingConnectConfig | NewConnectConfig;
|
|
7005
7048
|
|
|
7049
|
+
declare type InternalFDC3Info = {
|
|
7050
|
+
providerVersion: string;
|
|
7051
|
+
provider: string;
|
|
7052
|
+
};
|
|
7053
|
+
|
|
7054
|
+
declare type InternalInteropBrokerOptions = OpenFin.InteropBrokerOptions & {
|
|
7055
|
+
fdc3Info: InternalFDC3Info;
|
|
7056
|
+
};
|
|
7057
|
+
|
|
7006
7058
|
/**
|
|
7007
7059
|
* Define whether to enable interop action logging.
|
|
7008
7060
|
*
|
|
@@ -7131,6 +7183,7 @@ declare type InteropActionLoggingOption = {
|
|
|
7131
7183
|
*
|
|
7132
7184
|
*/
|
|
7133
7185
|
declare class InteropBroker extends Base {
|
|
7186
|
+
#private;
|
|
7134
7187
|
private getProvider;
|
|
7135
7188
|
private interopClients;
|
|
7136
7189
|
private contextGroupsById;
|
|
@@ -9446,6 +9499,13 @@ declare type MonitorInfoChangedEvent = BaseEvent_9 & OpenFin.MonitorInfo & {
|
|
|
9446
9499
|
type: 'monitor-info-changed';
|
|
9447
9500
|
};
|
|
9448
9501
|
|
|
9502
|
+
/**
|
|
9503
|
+
* @experimental
|
|
9504
|
+
*
|
|
9505
|
+
* Used to control view behavior for Layout.create API
|
|
9506
|
+
*/
|
|
9507
|
+
declare type MultiInstanceViewBehavior = 'reparent' | 'duplicate' | 'default';
|
|
9508
|
+
|
|
9449
9509
|
/**
|
|
9450
9510
|
* @interface
|
|
9451
9511
|
*/
|
|
@@ -10166,6 +10226,7 @@ declare namespace OpenFin {
|
|
|
10166
10226
|
LayoutManagerOverride,
|
|
10167
10227
|
LayoutManager,
|
|
10168
10228
|
CreateLayoutOptions,
|
|
10229
|
+
MultiInstanceViewBehavior,
|
|
10169
10230
|
PresetLayoutOptions_2 as PresetLayoutOptions,
|
|
10170
10231
|
ResultBehavior,
|
|
10171
10232
|
PopupBaseBehavior,
|
package/out/remote-adapter.d.ts
CHANGED
|
@@ -88,12 +88,21 @@ declare type Api = {
|
|
|
88
88
|
iframe?: {
|
|
89
89
|
/**
|
|
90
90
|
* Inject OpenFin API into cross-origin iframes
|
|
91
|
+
*
|
|
92
|
+
* @defaultValue false
|
|
91
93
|
*/
|
|
92
94
|
crossOriginInjection?: boolean;
|
|
93
95
|
/**
|
|
94
96
|
* Inject OpenFin API into same-origin iframes
|
|
97
|
+
*
|
|
98
|
+
* @defaultValue true
|
|
95
99
|
*/
|
|
96
100
|
sameOriginInjection?: boolean;
|
|
101
|
+
/**
|
|
102
|
+
* @deprecated Shared names should not be used; support is provided purely for back-compat reasons.
|
|
103
|
+
*
|
|
104
|
+
* When `true`, iframes will have the same name as their parent WebContents.
|
|
105
|
+
*/
|
|
97
106
|
enableDeprecatedSharedName?: boolean;
|
|
98
107
|
};
|
|
99
108
|
/**
|
|
@@ -1688,8 +1697,20 @@ declare class Base {
|
|
|
1688
1697
|
* on the context in which the devtools panel was opened.
|
|
1689
1698
|
*/
|
|
1690
1699
|
get me(): Identity;
|
|
1700
|
+
/**
|
|
1701
|
+
* @internal
|
|
1702
|
+
* @deprecated
|
|
1703
|
+
*/
|
|
1691
1704
|
protected isNodeEnvironment: () => boolean;
|
|
1705
|
+
/**
|
|
1706
|
+
* @internal
|
|
1707
|
+
* @deprecated
|
|
1708
|
+
*/
|
|
1692
1709
|
protected isOpenFinEnvironment: () => boolean;
|
|
1710
|
+
/**
|
|
1711
|
+
* @internal
|
|
1712
|
+
* @deprecated
|
|
1713
|
+
*/
|
|
1693
1714
|
protected isBrowserEnvironment: () => boolean;
|
|
1694
1715
|
}
|
|
1695
1716
|
|
|
@@ -4533,6 +4554,32 @@ declare type CreateLayoutOptions = {
|
|
|
4533
4554
|
container: HTMLElement;
|
|
4534
4555
|
layoutName: string;
|
|
4535
4556
|
layout: LayoutOptions;
|
|
4557
|
+
/**
|
|
4558
|
+
* @defaultValue 'default'
|
|
4559
|
+
*
|
|
4560
|
+
* Controls the View behavior for the given `layout` property. Note
|
|
4561
|
+
* that the selected behavior only applies to unnamed Views or
|
|
4562
|
+
* Views with the prefix `internal-generated-`. In all cases, if any
|
|
4563
|
+
* View in the `layout` does not already exist, it will be created
|
|
4564
|
+
* with a name that starts with `internal-generated-`.
|
|
4565
|
+
*
|
|
4566
|
+
* When set to `reparent`, Views prefixed with `internal-generated-` will
|
|
4567
|
+
* be reparented to the current Window and added to this new Layout.
|
|
4568
|
+
* Use this option when you need to transfer an existing Layout between Windows.
|
|
4569
|
+
*
|
|
4570
|
+
* When set to 'duplicate', Views prefixed with `internal-generated-` will
|
|
4571
|
+
* be duplicated with new generated names. Use this option when you need
|
|
4572
|
+
* to clone a Layout to any Window.
|
|
4573
|
+
*
|
|
4574
|
+
* When set to `default` or omitted, the Layout will attempt to re-use
|
|
4575
|
+
* existing Views only if they are attached to the current Window or
|
|
4576
|
+
* the Provider Window. Set to `default` or omit this option when creating
|
|
4577
|
+
* Layouts as part of implementing the LayoutManager::applyLayoutSnapshot
|
|
4578
|
+
* override. Note that during applyLayoutSnapshot, Views are created and
|
|
4579
|
+
* attached to the Provider while the Window is being created, so it's
|
|
4580
|
+
* important to not 'duplicate' Views in this workflow.
|
|
4581
|
+
*/
|
|
4582
|
+
multiInstanceViewBehavior?: MultiInstanceViewBehavior;
|
|
4536
4583
|
};
|
|
4537
4584
|
|
|
4538
4585
|
/**
|
|
@@ -5248,8 +5295,14 @@ declare interface Environment {
|
|
|
5248
5295
|
getRtcPeer(): RTCPeerConnection;
|
|
5249
5296
|
getWsConstructor(): typeof WebSocket;
|
|
5250
5297
|
whenReady(): Promise<void>;
|
|
5298
|
+
getInteropInfo(fin: OpenFin.Fin<OpenFin.EntityType>): Promise<InternalInteropBrokerOptions & {
|
|
5299
|
+
fdc3Version?: Fdc3Version;
|
|
5300
|
+
}>;
|
|
5301
|
+
readonly type: EnvironmentType;
|
|
5251
5302
|
}
|
|
5252
5303
|
|
|
5304
|
+
declare type EnvironmentType = 'node' | 'openfin' | 'other';
|
|
5305
|
+
|
|
5253
5306
|
declare type ErrorMiddleware = OpenFin.ErrorMiddleware;
|
|
5254
5307
|
|
|
5255
5308
|
declare type ErrorMiddleware_2 = (topic: string, error: Error, id: ProviderIdentity_7 | ClientIdentity) => unknown;
|
|
@@ -5674,6 +5727,8 @@ declare namespace FDC3 {
|
|
|
5674
5727
|
}
|
|
5675
5728
|
}
|
|
5676
5729
|
|
|
5730
|
+
declare type Fdc3Version = '1.2' | '2.0';
|
|
5731
|
+
|
|
5677
5732
|
/**
|
|
5678
5733
|
* @interface
|
|
5679
5734
|
*/
|
|
@@ -7093,6 +7148,15 @@ declare class InterAppPayload {
|
|
|
7093
7148
|
|
|
7094
7149
|
declare type InternalConnectConfig = ExistingConnectConfig | NewConnectConfig;
|
|
7095
7150
|
|
|
7151
|
+
declare type InternalFDC3Info = {
|
|
7152
|
+
providerVersion: string;
|
|
7153
|
+
provider: string;
|
|
7154
|
+
};
|
|
7155
|
+
|
|
7156
|
+
declare type InternalInteropBrokerOptions = OpenFin.InteropBrokerOptions & {
|
|
7157
|
+
fdc3Info: InternalFDC3Info;
|
|
7158
|
+
};
|
|
7159
|
+
|
|
7096
7160
|
/**
|
|
7097
7161
|
* Define whether to enable interop action logging.
|
|
7098
7162
|
*
|
|
@@ -7221,6 +7285,7 @@ declare type InteropActionLoggingOption = {
|
|
|
7221
7285
|
*
|
|
7222
7286
|
*/
|
|
7223
7287
|
declare class InteropBroker extends Base {
|
|
7288
|
+
#private;
|
|
7224
7289
|
private getProvider;
|
|
7225
7290
|
private interopClients;
|
|
7226
7291
|
private contextGroupsById;
|
|
@@ -7232,7 +7297,7 @@ declare class InteropBroker extends Base {
|
|
|
7232
7297
|
/**
|
|
7233
7298
|
* @internal
|
|
7234
7299
|
*/
|
|
7235
|
-
constructor(wire: Transport, getProvider: () => Promise<OpenFin.ChannelProvider>, options
|
|
7300
|
+
constructor(wire: Transport, getProvider: () => Promise<OpenFin.ChannelProvider>, options: InternalInteropBrokerOptions);
|
|
7236
7301
|
static createClosedConstructor(...args: ConstructorParameters<typeof InteropBroker>): {
|
|
7237
7302
|
new (): InteropBroker;
|
|
7238
7303
|
};
|
|
@@ -9723,6 +9788,13 @@ declare type MonitorInfoChangedEvent = BaseEvent_9 & OpenFin.MonitorInfo & {
|
|
|
9723
9788
|
type: 'monitor-info-changed';
|
|
9724
9789
|
};
|
|
9725
9790
|
|
|
9791
|
+
/**
|
|
9792
|
+
* @experimental
|
|
9793
|
+
*
|
|
9794
|
+
* Used to control view behavior for Layout.create API
|
|
9795
|
+
*/
|
|
9796
|
+
declare type MultiInstanceViewBehavior = 'reparent' | 'duplicate' | 'default';
|
|
9797
|
+
|
|
9726
9798
|
/**
|
|
9727
9799
|
* @interface
|
|
9728
9800
|
*/
|
|
@@ -10465,6 +10537,7 @@ declare namespace OpenFin {
|
|
|
10465
10537
|
LayoutManagerOverride,
|
|
10466
10538
|
LayoutManager,
|
|
10467
10539
|
CreateLayoutOptions,
|
|
10540
|
+
MultiInstanceViewBehavior,
|
|
10468
10541
|
PresetLayoutOptions_2 as PresetLayoutOptions,
|
|
10469
10542
|
ResultBehavior,
|
|
10470
10543
|
PopupBaseBehavior,
|