@openfin/fdc3-api 40.82.3 → 40.82.4

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.
@@ -42,6 +42,15 @@ 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
+
45
54
  /**
46
55
  * Options to use when adding a view to a {@link TabStack}.
47
56
  *
@@ -4707,6 +4716,7 @@ declare type ErrorPlainObject = {
4707
4716
  stack?: string;
4708
4717
  message: string;
4709
4718
  name?: string;
4719
+ cause?: Error | ErrorPlainObject;
4710
4720
  toString(): string;
4711
4721
  };
4712
4722
 
@@ -4755,7 +4765,7 @@ declare type Event_3 = ViewEvents.PropagatedEvent<'application'> | WindowEvents.
4755
4765
  */
4756
4766
  declare type Event_4 = (WebContentsEvents.Event<'view'> & {
4757
4767
  target: OpenFin.Identity;
4758
- }) | CreatedEvent | DestroyedEvent | HiddenEvent | HotkeyEvent | ShownEvent | TargetChangedEvent | HostContextChangedEvent;
4768
+ }) | CreatedEvent | DestroyedEvent | HiddenEvent | HotkeyEvent | ShownEvent | TargetChangedEvent | HostContextChangedEvent | AddedToLayoutEvent | RemovedFromLayoutEvent;
4759
4769
 
4760
4770
  /**
4761
4771
  * [Union](https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#union-types) containing events shared by all WebContents elements
@@ -12246,6 +12256,15 @@ declare interface RemoteConfig extends ExistingConnectConfig {
12246
12256
  token: string;
12247
12257
  }
12248
12258
 
12259
+ /**
12260
+ * Generated when a View is removed from a layout.
12261
+ * @interface
12262
+ */
12263
+ declare type RemovedFromLayoutEvent = BaseEvent_4 & {
12264
+ type: 'removed-from-layout';
12265
+ layoutIdentity: OpenFin.LayoutIdentity;
12266
+ };
12267
+
12249
12268
  /**
12250
12269
  * @interface
12251
12270
  */
@@ -15602,6 +15621,8 @@ declare namespace ViewEvents {
15602
15621
  BaseEvent_4 as BaseEvent,
15603
15622
  BaseViewEvent,
15604
15623
  TargetChangedEvent,
15624
+ AddedToLayoutEvent,
15625
+ RemovedFromLayoutEvent,
15605
15626
  NonPropagatedViewEvent,
15606
15627
  CreatedEvent,
15607
15628
  DestroyedEvent,
@@ -42,6 +42,15 @@ 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
+
45
54
  /**
46
55
  * Options to use when adding a view to a {@link TabStack}.
47
56
  *
@@ -4707,6 +4716,7 @@ declare type ErrorPlainObject = {
4707
4716
  stack?: string;
4708
4717
  message: string;
4709
4718
  name?: string;
4719
+ cause?: Error | ErrorPlainObject;
4710
4720
  toString(): string;
4711
4721
  };
4712
4722
 
@@ -4755,7 +4765,7 @@ declare type Event_3 = ViewEvents.PropagatedEvent<'application'> | WindowEvents.
4755
4765
  */
4756
4766
  declare type Event_4 = (WebContentsEvents.Event<'view'> & {
4757
4767
  target: OpenFin.Identity;
4758
- }) | CreatedEvent | DestroyedEvent | HiddenEvent | HotkeyEvent | ShownEvent | TargetChangedEvent | HostContextChangedEvent;
4768
+ }) | CreatedEvent | DestroyedEvent | HiddenEvent | HotkeyEvent | ShownEvent | TargetChangedEvent | HostContextChangedEvent | AddedToLayoutEvent | RemovedFromLayoutEvent;
4759
4769
 
4760
4770
  /**
4761
4771
  * [Union](https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#union-types) containing events shared by all WebContents elements
@@ -12246,6 +12256,15 @@ declare interface RemoteConfig extends ExistingConnectConfig {
12246
12256
  token: string;
12247
12257
  }
12248
12258
 
12259
+ /**
12260
+ * Generated when a View is removed from a layout.
12261
+ * @interface
12262
+ */
12263
+ declare type RemovedFromLayoutEvent = BaseEvent_4 & {
12264
+ type: 'removed-from-layout';
12265
+ layoutIdentity: OpenFin.LayoutIdentity;
12266
+ };
12267
+
12249
12268
  /**
12250
12269
  * @interface
12251
12270
  */
@@ -15602,6 +15621,8 @@ declare namespace ViewEvents {
15602
15621
  BaseEvent_4 as BaseEvent,
15603
15622
  BaseViewEvent,
15604
15623
  TargetChangedEvent,
15624
+ AddedToLayoutEvent,
15625
+ RemovedFromLayoutEvent,
15605
15626
  NonPropagatedViewEvent,
15606
15627
  CreatedEvent,
15607
15628
  DestroyedEvent,
@@ -42,6 +42,15 @@ 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
+
45
54
  /**
46
55
  * Options to use when adding a view to a {@link TabStack}.
47
56
  *
@@ -4707,6 +4716,7 @@ declare type ErrorPlainObject = {
4707
4716
  stack?: string;
4708
4717
  message: string;
4709
4718
  name?: string;
4719
+ cause?: Error | ErrorPlainObject;
4710
4720
  toString(): string;
4711
4721
  };
4712
4722
 
@@ -4755,7 +4765,7 @@ declare type Event_3 = ViewEvents.PropagatedEvent<'application'> | WindowEvents.
4755
4765
  */
4756
4766
  declare type Event_4 = (WebContentsEvents.Event<'view'> & {
4757
4767
  target: OpenFin.Identity;
4758
- }) | CreatedEvent | DestroyedEvent | HiddenEvent | HotkeyEvent | ShownEvent | TargetChangedEvent | HostContextChangedEvent;
4768
+ }) | CreatedEvent | DestroyedEvent | HiddenEvent | HotkeyEvent | ShownEvent | TargetChangedEvent | HostContextChangedEvent | AddedToLayoutEvent | RemovedFromLayoutEvent;
4759
4769
 
4760
4770
  /**
4761
4771
  * [Union](https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#union-types) containing events shared by all WebContents elements
@@ -12246,6 +12256,15 @@ declare interface RemoteConfig extends ExistingConnectConfig {
12246
12256
  token: string;
12247
12257
  }
12248
12258
 
12259
+ /**
12260
+ * Generated when a View is removed from a layout.
12261
+ * @interface
12262
+ */
12263
+ declare type RemovedFromLayoutEvent = BaseEvent_4 & {
12264
+ type: 'removed-from-layout';
12265
+ layoutIdentity: OpenFin.LayoutIdentity;
12266
+ };
12267
+
12249
12268
  /**
12250
12269
  * @interface
12251
12270
  */
@@ -15602,6 +15621,8 @@ declare namespace ViewEvents {
15602
15621
  BaseEvent_4 as BaseEvent,
15603
15622
  BaseViewEvent,
15604
15623
  TargetChangedEvent,
15624
+ AddedToLayoutEvent,
15625
+ RemovedFromLayoutEvent,
15605
15626
  NonPropagatedViewEvent,
15606
15627
  CreatedEvent,
15607
15628
  DestroyedEvent,
package/out/fdc3-api.d.ts CHANGED
@@ -42,6 +42,15 @@ 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
+
45
54
  /**
46
55
  * Options to use when adding a view to a {@link TabStack}.
47
56
  *
@@ -4771,6 +4780,7 @@ declare type ErrorPlainObject = {
4771
4780
  stack?: string;
4772
4781
  message: string;
4773
4782
  name?: string;
4783
+ cause?: Error | ErrorPlainObject;
4774
4784
  toString(): string;
4775
4785
  };
4776
4786
 
@@ -4819,7 +4829,7 @@ declare type Event_3 = ViewEvents.PropagatedEvent<'application'> | WindowEvents.
4819
4829
  */
4820
4830
  declare type Event_4 = (WebContentsEvents.Event<'view'> & {
4821
4831
  target: OpenFin.Identity;
4822
- }) | CreatedEvent | DestroyedEvent | HiddenEvent | HotkeyEvent | ShownEvent | TargetChangedEvent | HostContextChangedEvent;
4832
+ }) | CreatedEvent | DestroyedEvent | HiddenEvent | HotkeyEvent | ShownEvent | TargetChangedEvent | HostContextChangedEvent | AddedToLayoutEvent | RemovedFromLayoutEvent;
4823
4833
 
4824
4834
  /**
4825
4835
  * [Union](https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#union-types) containing events shared by all WebContents elements
@@ -12639,6 +12649,15 @@ declare interface RemoteConfig extends ExistingConnectConfig {
12639
12649
  token: string;
12640
12650
  }
12641
12651
 
12652
+ /**
12653
+ * Generated when a View is removed from a layout.
12654
+ * @interface
12655
+ */
12656
+ declare type RemovedFromLayoutEvent = BaseEvent_4 & {
12657
+ type: 'removed-from-layout';
12658
+ layoutIdentity: OpenFin.LayoutIdentity;
12659
+ };
12660
+
12642
12661
  /**
12643
12662
  * @interface
12644
12663
  */
@@ -16045,6 +16064,8 @@ declare namespace ViewEvents {
16045
16064
  BaseEvent_4 as BaseEvent,
16046
16065
  BaseViewEvent,
16047
16066
  TargetChangedEvent,
16067
+ AddedToLayoutEvent,
16068
+ RemovedFromLayoutEvent,
16048
16069
  NonPropagatedViewEvent,
16049
16070
  CreatedEvent,
16050
16071
  DestroyedEvent,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfin/fdc3-api",
3
- "version": "40.82.3",
3
+ "version": "40.82.4",
4
4
  "description": "OpenFin fdc3 module utilities and types.",
5
5
  "license": "SEE LICENSE IN LICENSE.MD",
6
6
  "private": false,