@openfin/remote-adapter 36.79.13 → 36.79.15
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.
|
@@ -4490,6 +4490,32 @@ declare type CreateLayoutOptions = {
|
|
|
4490
4490
|
container: HTMLElement;
|
|
4491
4491
|
layoutName: string;
|
|
4492
4492
|
layout: LayoutOptions;
|
|
4493
|
+
/**
|
|
4494
|
+
* @defaultValue 'default'
|
|
4495
|
+
*
|
|
4496
|
+
* Controls the View behavior for the given `layout` property. Note
|
|
4497
|
+
* that the selected behavior only applies to unnamed Views or
|
|
4498
|
+
* Views with the prefix `internal-generated-`. In all cases, if any
|
|
4499
|
+
* View in the `layout` does not already exist, it will be created
|
|
4500
|
+
* with a name that starts with `internal-generated-`.
|
|
4501
|
+
*
|
|
4502
|
+
* When set to `reparent`, Views prefixed with `internal-generated-` will
|
|
4503
|
+
* be reparented to the current Window and added to this new Layout.
|
|
4504
|
+
* Use this option when you need to transfer an existing Layout between Windows.
|
|
4505
|
+
*
|
|
4506
|
+
* When set to 'duplicate', Views prefixed with `internal-generated-` will
|
|
4507
|
+
* be duplicated with new generated names. Use this option when you need
|
|
4508
|
+
* to clone a Layout to any Window.
|
|
4509
|
+
*
|
|
4510
|
+
* When set to `default` or omitted, the Layout will attempt to re-use
|
|
4511
|
+
* existing Views only if they are attached to the current Window or
|
|
4512
|
+
* the Provider Window. Set to `default` or omit this option when creating
|
|
4513
|
+
* Layouts as part of implementing the LayoutManager::applyLayoutSnapshot
|
|
4514
|
+
* override. Note that during applyLayoutSnapshot, Views are created and
|
|
4515
|
+
* attached to the Provider while the Window is being created, so it's
|
|
4516
|
+
* important to not 'duplicate' Views in this workflow.
|
|
4517
|
+
*/
|
|
4518
|
+
multiInstanceViewBehavior?: MultiInstanceViewBehavior;
|
|
4493
4519
|
};
|
|
4494
4520
|
|
|
4495
4521
|
/**
|
|
@@ -9446,6 +9472,13 @@ declare type MonitorInfoChangedEvent = BaseEvent_9 & OpenFin.MonitorInfo & {
|
|
|
9446
9472
|
type: 'monitor-info-changed';
|
|
9447
9473
|
};
|
|
9448
9474
|
|
|
9475
|
+
/**
|
|
9476
|
+
* @experimental
|
|
9477
|
+
*
|
|
9478
|
+
* Used to control view behavior for Layout.create API
|
|
9479
|
+
*/
|
|
9480
|
+
declare type MultiInstanceViewBehavior = 'reparent' | 'duplicate' | 'default';
|
|
9481
|
+
|
|
9449
9482
|
/**
|
|
9450
9483
|
* @interface
|
|
9451
9484
|
*/
|
|
@@ -10166,6 +10199,7 @@ declare namespace OpenFin {
|
|
|
10166
10199
|
LayoutManagerOverride,
|
|
10167
10200
|
LayoutManager,
|
|
10168
10201
|
CreateLayoutOptions,
|
|
10202
|
+
MultiInstanceViewBehavior,
|
|
10169
10203
|
PresetLayoutOptions_2 as PresetLayoutOptions,
|
|
10170
10204
|
ResultBehavior,
|
|
10171
10205
|
PopupBaseBehavior,
|
|
@@ -4490,6 +4490,32 @@ declare type CreateLayoutOptions = {
|
|
|
4490
4490
|
container: HTMLElement;
|
|
4491
4491
|
layoutName: string;
|
|
4492
4492
|
layout: LayoutOptions;
|
|
4493
|
+
/**
|
|
4494
|
+
* @defaultValue 'default'
|
|
4495
|
+
*
|
|
4496
|
+
* Controls the View behavior for the given `layout` property. Note
|
|
4497
|
+
* that the selected behavior only applies to unnamed Views or
|
|
4498
|
+
* Views with the prefix `internal-generated-`. In all cases, if any
|
|
4499
|
+
* View in the `layout` does not already exist, it will be created
|
|
4500
|
+
* with a name that starts with `internal-generated-`.
|
|
4501
|
+
*
|
|
4502
|
+
* When set to `reparent`, Views prefixed with `internal-generated-` will
|
|
4503
|
+
* be reparented to the current Window and added to this new Layout.
|
|
4504
|
+
* Use this option when you need to transfer an existing Layout between Windows.
|
|
4505
|
+
*
|
|
4506
|
+
* When set to 'duplicate', Views prefixed with `internal-generated-` will
|
|
4507
|
+
* be duplicated with new generated names. Use this option when you need
|
|
4508
|
+
* to clone a Layout to any Window.
|
|
4509
|
+
*
|
|
4510
|
+
* When set to `default` or omitted, the Layout will attempt to re-use
|
|
4511
|
+
* existing Views only if they are attached to the current Window or
|
|
4512
|
+
* the Provider Window. Set to `default` or omit this option when creating
|
|
4513
|
+
* Layouts as part of implementing the LayoutManager::applyLayoutSnapshot
|
|
4514
|
+
* override. Note that during applyLayoutSnapshot, Views are created and
|
|
4515
|
+
* attached to the Provider while the Window is being created, so it's
|
|
4516
|
+
* important to not 'duplicate' Views in this workflow.
|
|
4517
|
+
*/
|
|
4518
|
+
multiInstanceViewBehavior?: MultiInstanceViewBehavior;
|
|
4493
4519
|
};
|
|
4494
4520
|
|
|
4495
4521
|
/**
|
|
@@ -9446,6 +9472,13 @@ declare type MonitorInfoChangedEvent = BaseEvent_9 & OpenFin.MonitorInfo & {
|
|
|
9446
9472
|
type: 'monitor-info-changed';
|
|
9447
9473
|
};
|
|
9448
9474
|
|
|
9475
|
+
/**
|
|
9476
|
+
* @experimental
|
|
9477
|
+
*
|
|
9478
|
+
* Used to control view behavior for Layout.create API
|
|
9479
|
+
*/
|
|
9480
|
+
declare type MultiInstanceViewBehavior = 'reparent' | 'duplicate' | 'default';
|
|
9481
|
+
|
|
9449
9482
|
/**
|
|
9450
9483
|
* @interface
|
|
9451
9484
|
*/
|
|
@@ -10166,6 +10199,7 @@ declare namespace OpenFin {
|
|
|
10166
10199
|
LayoutManagerOverride,
|
|
10167
10200
|
LayoutManager,
|
|
10168
10201
|
CreateLayoutOptions,
|
|
10202
|
+
MultiInstanceViewBehavior,
|
|
10169
10203
|
PresetLayoutOptions_2 as PresetLayoutOptions,
|
|
10170
10204
|
ResultBehavior,
|
|
10171
10205
|
PopupBaseBehavior,
|
|
@@ -4490,6 +4490,32 @@ declare type CreateLayoutOptions = {
|
|
|
4490
4490
|
container: HTMLElement;
|
|
4491
4491
|
layoutName: string;
|
|
4492
4492
|
layout: LayoutOptions;
|
|
4493
|
+
/**
|
|
4494
|
+
* @defaultValue 'default'
|
|
4495
|
+
*
|
|
4496
|
+
* Controls the View behavior for the given `layout` property. Note
|
|
4497
|
+
* that the selected behavior only applies to unnamed Views or
|
|
4498
|
+
* Views with the prefix `internal-generated-`. In all cases, if any
|
|
4499
|
+
* View in the `layout` does not already exist, it will be created
|
|
4500
|
+
* with a name that starts with `internal-generated-`.
|
|
4501
|
+
*
|
|
4502
|
+
* When set to `reparent`, Views prefixed with `internal-generated-` will
|
|
4503
|
+
* be reparented to the current Window and added to this new Layout.
|
|
4504
|
+
* Use this option when you need to transfer an existing Layout between Windows.
|
|
4505
|
+
*
|
|
4506
|
+
* When set to 'duplicate', Views prefixed with `internal-generated-` will
|
|
4507
|
+
* be duplicated with new generated names. Use this option when you need
|
|
4508
|
+
* to clone a Layout to any Window.
|
|
4509
|
+
*
|
|
4510
|
+
* When set to `default` or omitted, the Layout will attempt to re-use
|
|
4511
|
+
* existing Views only if they are attached to the current Window or
|
|
4512
|
+
* the Provider Window. Set to `default` or omit this option when creating
|
|
4513
|
+
* Layouts as part of implementing the LayoutManager::applyLayoutSnapshot
|
|
4514
|
+
* override. Note that during applyLayoutSnapshot, Views are created and
|
|
4515
|
+
* attached to the Provider while the Window is being created, so it's
|
|
4516
|
+
* important to not 'duplicate' Views in this workflow.
|
|
4517
|
+
*/
|
|
4518
|
+
multiInstanceViewBehavior?: MultiInstanceViewBehavior;
|
|
4493
4519
|
};
|
|
4494
4520
|
|
|
4495
4521
|
/**
|
|
@@ -9446,6 +9472,13 @@ declare type MonitorInfoChangedEvent = BaseEvent_9 & OpenFin.MonitorInfo & {
|
|
|
9446
9472
|
type: 'monitor-info-changed';
|
|
9447
9473
|
};
|
|
9448
9474
|
|
|
9475
|
+
/**
|
|
9476
|
+
* @experimental
|
|
9477
|
+
*
|
|
9478
|
+
* Used to control view behavior for Layout.create API
|
|
9479
|
+
*/
|
|
9480
|
+
declare type MultiInstanceViewBehavior = 'reparent' | 'duplicate' | 'default';
|
|
9481
|
+
|
|
9449
9482
|
/**
|
|
9450
9483
|
* @interface
|
|
9451
9484
|
*/
|
|
@@ -10166,6 +10199,7 @@ declare namespace OpenFin {
|
|
|
10166
10199
|
LayoutManagerOverride,
|
|
10167
10200
|
LayoutManager,
|
|
10168
10201
|
CreateLayoutOptions,
|
|
10202
|
+
MultiInstanceViewBehavior,
|
|
10169
10203
|
PresetLayoutOptions_2 as PresetLayoutOptions,
|
|
10170
10204
|
ResultBehavior,
|
|
10171
10205
|
PopupBaseBehavior,
|
package/out/remote-adapter.d.ts
CHANGED
|
@@ -4533,6 +4533,32 @@ declare type CreateLayoutOptions = {
|
|
|
4533
4533
|
container: HTMLElement;
|
|
4534
4534
|
layoutName: string;
|
|
4535
4535
|
layout: LayoutOptions;
|
|
4536
|
+
/**
|
|
4537
|
+
* @defaultValue 'default'
|
|
4538
|
+
*
|
|
4539
|
+
* Controls the View behavior for the given `layout` property. Note
|
|
4540
|
+
* that the selected behavior only applies to unnamed Views or
|
|
4541
|
+
* Views with the prefix `internal-generated-`. In all cases, if any
|
|
4542
|
+
* View in the `layout` does not already exist, it will be created
|
|
4543
|
+
* with a name that starts with `internal-generated-`.
|
|
4544
|
+
*
|
|
4545
|
+
* When set to `reparent`, Views prefixed with `internal-generated-` will
|
|
4546
|
+
* be reparented to the current Window and added to this new Layout.
|
|
4547
|
+
* Use this option when you need to transfer an existing Layout between Windows.
|
|
4548
|
+
*
|
|
4549
|
+
* When set to 'duplicate', Views prefixed with `internal-generated-` will
|
|
4550
|
+
* be duplicated with new generated names. Use this option when you need
|
|
4551
|
+
* to clone a Layout to any Window.
|
|
4552
|
+
*
|
|
4553
|
+
* When set to `default` or omitted, the Layout will attempt to re-use
|
|
4554
|
+
* existing Views only if they are attached to the current Window or
|
|
4555
|
+
* the Provider Window. Set to `default` or omit this option when creating
|
|
4556
|
+
* Layouts as part of implementing the LayoutManager::applyLayoutSnapshot
|
|
4557
|
+
* override. Note that during applyLayoutSnapshot, Views are created and
|
|
4558
|
+
* attached to the Provider while the Window is being created, so it's
|
|
4559
|
+
* important to not 'duplicate' Views in this workflow.
|
|
4560
|
+
*/
|
|
4561
|
+
multiInstanceViewBehavior?: MultiInstanceViewBehavior;
|
|
4536
4562
|
};
|
|
4537
4563
|
|
|
4538
4564
|
/**
|
|
@@ -9723,6 +9749,13 @@ declare type MonitorInfoChangedEvent = BaseEvent_9 & OpenFin.MonitorInfo & {
|
|
|
9723
9749
|
type: 'monitor-info-changed';
|
|
9724
9750
|
};
|
|
9725
9751
|
|
|
9752
|
+
/**
|
|
9753
|
+
* @experimental
|
|
9754
|
+
*
|
|
9755
|
+
* Used to control view behavior for Layout.create API
|
|
9756
|
+
*/
|
|
9757
|
+
declare type MultiInstanceViewBehavior = 'reparent' | 'duplicate' | 'default';
|
|
9758
|
+
|
|
9726
9759
|
/**
|
|
9727
9760
|
* @interface
|
|
9728
9761
|
*/
|
|
@@ -10465,6 +10498,7 @@ declare namespace OpenFin {
|
|
|
10465
10498
|
LayoutManagerOverride,
|
|
10466
10499
|
LayoutManager,
|
|
10467
10500
|
CreateLayoutOptions,
|
|
10501
|
+
MultiInstanceViewBehavior,
|
|
10468
10502
|
PresetLayoutOptions_2 as PresetLayoutOptions,
|
|
10469
10503
|
ResultBehavior,
|
|
10470
10504
|
PopupBaseBehavior,
|