@openfin/fdc3-api 45.100.29 → 45.100.30
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 +29 -0
- package/out/fdc3-api-beta.d.ts +29 -0
- package/out/fdc3-api-public.d.ts +29 -0
- package/out/fdc3-api.d.ts +29 -0
- package/package.json +1 -1
package/out/fdc3-api-alpha.d.ts
CHANGED
|
@@ -4431,6 +4431,27 @@ declare type CreateLayoutOptions = {
|
|
|
4431
4431
|
* @default 'default'
|
|
4432
4432
|
*/
|
|
4433
4433
|
multiInstanceViewBehavior?: MultiInstanceViewBehavior;
|
|
4434
|
+
/**
|
|
4435
|
+
* Callback invoked for each stack when its header controls area is rendered.
|
|
4436
|
+
* The callback receives the `.lm_controls` DOM element and a context object
|
|
4437
|
+
* with a {@link HeaderControlsContext.getStack | getStack()} async getter.
|
|
4438
|
+
* Use this to inject custom controls (e.g. search buttons) into stack headers.
|
|
4439
|
+
*
|
|
4440
|
+
* Optionally return a cleanup function that will be called when the stack is destroyed.
|
|
4441
|
+
*
|
|
4442
|
+
* Custom controls are not serialized into snapshots since callbacks are not
|
|
4443
|
+
* serializable. The callback is re-invoked when layouts are restored.
|
|
4444
|
+
*
|
|
4445
|
+
* **NOTE**: This feature is currently only supported in OpenFin Runtime environments.
|
|
4446
|
+
*
|
|
4447
|
+
* @param controlsElement The `.lm_controls` DOM element for the stack header.
|
|
4448
|
+
* @param context Context object providing an async {@link HeaderControlsContext.getStack | getStack()} to
|
|
4449
|
+
* retrieve the {@link TabStack} instance.
|
|
4450
|
+
* @returns A callback to be called when the rendered element needs to be cleaned up.
|
|
4451
|
+
*
|
|
4452
|
+
* @experimental
|
|
4453
|
+
*/
|
|
4454
|
+
renderCustomHeaderControls?: (controlsElement: HTMLElement, context: HeaderControlsContext) => (() => void) | void;
|
|
4434
4455
|
};
|
|
4435
4456
|
|
|
4436
4457
|
/**
|
|
@@ -6598,6 +6619,13 @@ declare type GpuInfo = {
|
|
|
6598
6619
|
name: string;
|
|
6599
6620
|
};
|
|
6600
6621
|
|
|
6622
|
+
/**
|
|
6623
|
+
* @interface @experimental
|
|
6624
|
+
*/
|
|
6625
|
+
declare type HeaderControlsContext = {
|
|
6626
|
+
getStack: () => Promise<TabStack>;
|
|
6627
|
+
};
|
|
6628
|
+
|
|
6601
6629
|
/**
|
|
6602
6630
|
* Generated when a View is hidden.
|
|
6603
6631
|
*
|
|
@@ -10787,6 +10815,7 @@ declare namespace OpenFin {
|
|
|
10787
10815
|
LayoutManagerConstructor,
|
|
10788
10816
|
LayoutManagerOverride,
|
|
10789
10817
|
LayoutManager,
|
|
10818
|
+
HeaderControlsContext,
|
|
10790
10819
|
CreateLayoutOptions,
|
|
10791
10820
|
MultiInstanceViewBehavior,
|
|
10792
10821
|
PresetLayoutOptions_2 as PresetLayoutOptions,
|
package/out/fdc3-api-beta.d.ts
CHANGED
|
@@ -4431,6 +4431,27 @@ declare type CreateLayoutOptions = {
|
|
|
4431
4431
|
* @default 'default'
|
|
4432
4432
|
*/
|
|
4433
4433
|
multiInstanceViewBehavior?: MultiInstanceViewBehavior;
|
|
4434
|
+
/**
|
|
4435
|
+
* Callback invoked for each stack when its header controls area is rendered.
|
|
4436
|
+
* The callback receives the `.lm_controls` DOM element and a context object
|
|
4437
|
+
* with a {@link HeaderControlsContext.getStack | getStack()} async getter.
|
|
4438
|
+
* Use this to inject custom controls (e.g. search buttons) into stack headers.
|
|
4439
|
+
*
|
|
4440
|
+
* Optionally return a cleanup function that will be called when the stack is destroyed.
|
|
4441
|
+
*
|
|
4442
|
+
* Custom controls are not serialized into snapshots since callbacks are not
|
|
4443
|
+
* serializable. The callback is re-invoked when layouts are restored.
|
|
4444
|
+
*
|
|
4445
|
+
* **NOTE**: This feature is currently only supported in OpenFin Runtime environments.
|
|
4446
|
+
*
|
|
4447
|
+
* @param controlsElement The `.lm_controls` DOM element for the stack header.
|
|
4448
|
+
* @param context Context object providing an async {@link HeaderControlsContext.getStack | getStack()} to
|
|
4449
|
+
* retrieve the {@link TabStack} instance.
|
|
4450
|
+
* @returns A callback to be called when the rendered element needs to be cleaned up.
|
|
4451
|
+
*
|
|
4452
|
+
* @experimental
|
|
4453
|
+
*/
|
|
4454
|
+
renderCustomHeaderControls?: (controlsElement: HTMLElement, context: HeaderControlsContext) => (() => void) | void;
|
|
4434
4455
|
};
|
|
4435
4456
|
|
|
4436
4457
|
/**
|
|
@@ -6598,6 +6619,13 @@ declare type GpuInfo = {
|
|
|
6598
6619
|
name: string;
|
|
6599
6620
|
};
|
|
6600
6621
|
|
|
6622
|
+
/**
|
|
6623
|
+
* @interface @experimental
|
|
6624
|
+
*/
|
|
6625
|
+
declare type HeaderControlsContext = {
|
|
6626
|
+
getStack: () => Promise<TabStack>;
|
|
6627
|
+
};
|
|
6628
|
+
|
|
6601
6629
|
/**
|
|
6602
6630
|
* Generated when a View is hidden.
|
|
6603
6631
|
*
|
|
@@ -10787,6 +10815,7 @@ declare namespace OpenFin {
|
|
|
10787
10815
|
LayoutManagerConstructor,
|
|
10788
10816
|
LayoutManagerOverride,
|
|
10789
10817
|
LayoutManager,
|
|
10818
|
+
HeaderControlsContext,
|
|
10790
10819
|
CreateLayoutOptions,
|
|
10791
10820
|
MultiInstanceViewBehavior,
|
|
10792
10821
|
PresetLayoutOptions_2 as PresetLayoutOptions,
|
package/out/fdc3-api-public.d.ts
CHANGED
|
@@ -4431,6 +4431,27 @@ declare type CreateLayoutOptions = {
|
|
|
4431
4431
|
* @default 'default'
|
|
4432
4432
|
*/
|
|
4433
4433
|
multiInstanceViewBehavior?: MultiInstanceViewBehavior;
|
|
4434
|
+
/**
|
|
4435
|
+
* Callback invoked for each stack when its header controls area is rendered.
|
|
4436
|
+
* The callback receives the `.lm_controls` DOM element and a context object
|
|
4437
|
+
* with a {@link HeaderControlsContext.getStack | getStack()} async getter.
|
|
4438
|
+
* Use this to inject custom controls (e.g. search buttons) into stack headers.
|
|
4439
|
+
*
|
|
4440
|
+
* Optionally return a cleanup function that will be called when the stack is destroyed.
|
|
4441
|
+
*
|
|
4442
|
+
* Custom controls are not serialized into snapshots since callbacks are not
|
|
4443
|
+
* serializable. The callback is re-invoked when layouts are restored.
|
|
4444
|
+
*
|
|
4445
|
+
* **NOTE**: This feature is currently only supported in OpenFin Runtime environments.
|
|
4446
|
+
*
|
|
4447
|
+
* @param controlsElement The `.lm_controls` DOM element for the stack header.
|
|
4448
|
+
* @param context Context object providing an async {@link HeaderControlsContext.getStack | getStack()} to
|
|
4449
|
+
* retrieve the {@link TabStack} instance.
|
|
4450
|
+
* @returns A callback to be called when the rendered element needs to be cleaned up.
|
|
4451
|
+
*
|
|
4452
|
+
* @experimental
|
|
4453
|
+
*/
|
|
4454
|
+
renderCustomHeaderControls?: (controlsElement: HTMLElement, context: HeaderControlsContext) => (() => void) | void;
|
|
4434
4455
|
};
|
|
4435
4456
|
|
|
4436
4457
|
/**
|
|
@@ -6598,6 +6619,13 @@ declare type GpuInfo = {
|
|
|
6598
6619
|
name: string;
|
|
6599
6620
|
};
|
|
6600
6621
|
|
|
6622
|
+
/**
|
|
6623
|
+
* @interface @experimental
|
|
6624
|
+
*/
|
|
6625
|
+
declare type HeaderControlsContext = {
|
|
6626
|
+
getStack: () => Promise<TabStack>;
|
|
6627
|
+
};
|
|
6628
|
+
|
|
6601
6629
|
/**
|
|
6602
6630
|
* Generated when a View is hidden.
|
|
6603
6631
|
*
|
|
@@ -10787,6 +10815,7 @@ declare namespace OpenFin {
|
|
|
10787
10815
|
LayoutManagerConstructor,
|
|
10788
10816
|
LayoutManagerOverride,
|
|
10789
10817
|
LayoutManager,
|
|
10818
|
+
HeaderControlsContext,
|
|
10790
10819
|
CreateLayoutOptions,
|
|
10791
10820
|
MultiInstanceViewBehavior,
|
|
10792
10821
|
PresetLayoutOptions_2 as PresetLayoutOptions,
|
package/out/fdc3-api.d.ts
CHANGED
|
@@ -4490,6 +4490,27 @@ declare type CreateLayoutOptions = {
|
|
|
4490
4490
|
* @default 'default'
|
|
4491
4491
|
*/
|
|
4492
4492
|
multiInstanceViewBehavior?: MultiInstanceViewBehavior;
|
|
4493
|
+
/**
|
|
4494
|
+
* Callback invoked for each stack when its header controls area is rendered.
|
|
4495
|
+
* The callback receives the `.lm_controls` DOM element and a context object
|
|
4496
|
+
* with a {@link HeaderControlsContext.getStack | getStack()} async getter.
|
|
4497
|
+
* Use this to inject custom controls (e.g. search buttons) into stack headers.
|
|
4498
|
+
*
|
|
4499
|
+
* Optionally return a cleanup function that will be called when the stack is destroyed.
|
|
4500
|
+
*
|
|
4501
|
+
* Custom controls are not serialized into snapshots since callbacks are not
|
|
4502
|
+
* serializable. The callback is re-invoked when layouts are restored.
|
|
4503
|
+
*
|
|
4504
|
+
* **NOTE**: This feature is currently only supported in OpenFin Runtime environments.
|
|
4505
|
+
*
|
|
4506
|
+
* @param controlsElement The `.lm_controls` DOM element for the stack header.
|
|
4507
|
+
* @param context Context object providing an async {@link HeaderControlsContext.getStack | getStack()} to
|
|
4508
|
+
* retrieve the {@link TabStack} instance.
|
|
4509
|
+
* @returns A callback to be called when the rendered element needs to be cleaned up.
|
|
4510
|
+
*
|
|
4511
|
+
* @experimental
|
|
4512
|
+
*/
|
|
4513
|
+
renderCustomHeaderControls?: (controlsElement: HTMLElement, context: HeaderControlsContext) => (() => void) | void;
|
|
4493
4514
|
};
|
|
4494
4515
|
|
|
4495
4516
|
/**
|
|
@@ -6689,6 +6710,13 @@ declare type GpuInfo = {
|
|
|
6689
6710
|
name: string;
|
|
6690
6711
|
};
|
|
6691
6712
|
|
|
6713
|
+
/**
|
|
6714
|
+
* @interface @experimental
|
|
6715
|
+
*/
|
|
6716
|
+
declare type HeaderControlsContext = {
|
|
6717
|
+
getStack: () => Promise<TabStack>;
|
|
6718
|
+
};
|
|
6719
|
+
|
|
6692
6720
|
/**
|
|
6693
6721
|
* Generated when a View is hidden.
|
|
6694
6722
|
*
|
|
@@ -11121,6 +11149,7 @@ declare namespace OpenFin {
|
|
|
11121
11149
|
LayoutManagerConstructor,
|
|
11122
11150
|
LayoutManagerOverride,
|
|
11123
11151
|
LayoutManager,
|
|
11152
|
+
HeaderControlsContext,
|
|
11124
11153
|
CreateLayoutOptions,
|
|
11125
11154
|
MultiInstanceViewBehavior,
|
|
11126
11155
|
PresetLayoutOptions_2 as PresetLayoutOptions,
|