@openfin/fdc3-api 46.100.26 → 46.100.27

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.
@@ -5650,6 +5650,37 @@ declare type ExtensionTabCreatedEvent = BaseEvent_5 & {
5650
5650
  * - `other` — any other or unrecognized Chromium disposition
5651
5651
  */
5652
5652
  disposition: OpenFin.ContentCreationDisposition;
5653
+ /** Raw `window.open()` features string, if provided by `CreateContentsParams`. */
5654
+ features: string;
5655
+ /** Target frame name from `window.open(url, name)`, if provided. */
5656
+ frameName: string;
5657
+ /** Parsed window options derived from the features string. */
5658
+ parsedFeatures: Partial<OpenFin.WindowOptions>;
5659
+ };
5660
+
5661
+ /**
5662
+ * Generated when an extension creates a popup window on this host window
5663
+ * (e.g. via `chrome.windows.create({ type: 'popup' })`). The runtime
5664
+ * auto-creates a backing View and ChromeBrowser; this event notifies the
5665
+ * platform provider so it can create a registered OpenFin window.
5666
+ * Only fires on windows created with `chromeBrowser: true`.
5667
+ * @interface
5668
+ */
5669
+ declare type ExtensionWindowCreatedEvent = BaseEvent_5 & {
5670
+ type: 'extension-window-created';
5671
+ /** Identity of the auto-created tab backing the popup window. */
5672
+ tabIdentity: OpenFin.Identity;
5673
+ /**
5674
+ * Identity of the view that was active when the extension triggered window creation.
5675
+ * Undefined if no tab was active.
5676
+ */
5677
+ activeTabIdentity?: OpenFin.Identity;
5678
+ /** Initial URL the extension requested. */
5679
+ url: string;
5680
+ /** Always `'popup'` for extension-created popup windows. */
5681
+ disposition: 'popup';
5682
+ /** Options for the child window the platform provider should create. */
5683
+ childOptions: Record<string, unknown>;
5653
5684
  };
5654
5685
 
5655
5686
  /**
@@ -21215,6 +21246,7 @@ declare namespace WindowEvents {
21215
21246
  BaseWindowEvent,
21216
21247
  ViewAttachedEvent,
21217
21248
  ExtensionTabCreatedEvent,
21249
+ ExtensionWindowCreatedEvent,
21218
21250
  ViewDetachedEvent,
21219
21251
  WindowViewEvent,
21220
21252
  AlertRequestedEvent,
@@ -21484,7 +21516,7 @@ declare type WindowShowRequestedEvent = ShowRequestedEvent;
21484
21516
  * A union of all events that emit natively on the `Window` topic, i.e. excluding those that propagate
21485
21517
  * from {@link OpenFin.ViewEvents}.
21486
21518
  */
21487
- declare type WindowSourcedEvent = WebContentsEvents.Event<'window'> | WindowViewEvent | AuthRequestedEvent | BeginUserBoundsChangingEvent | BoundsChangedEvent | BoundsChangingEvent | ContextChangedEvent | CloseRequestedEvent | ClosedEvent_2 | ClosingEvent | DisabledMovementBoundsChangedEvent | DisabledMovementBoundsChangingEvent | EmbeddedEvent | EndUserBoundsChangingEvent | ExternalProcessExitedEvent | ExternalProcessStartedEvent | HiddenEvent_2 | HotkeyEvent_2 | InitializedEvent_2 | LayoutInitializedEvent | LayoutReadyEvent | LayoutCreatedEvent | LayoutDestroyedEvent | LayoutSnapshotAppliedEvent | MaximizedEvent | MinimizedEvent | OptionsChangedEvent | PerformanceReportEvent | PreloadScriptsStateChangedEvent | PreloadScriptsStateChangingEvent | ReloadedEvent | RestoredEvent | ShowRequestedEvent | ShownEvent_2 | UserMovementDisabledEvent | UserMovementEnabledEvent | WillMoveEvent | WillResizeEvent | ShowAllDownloadsEvent | DownloadShelfVisibilityChangedEvent | DownloadButtonVisibilityChangedEvent | DownloadButtonIconUpdatedEvent | SnappedEvent | SnapZoneChangedEvent | ExtensionTabCreatedEvent;
21519
+ declare type WindowSourcedEvent = WebContentsEvents.Event<'window'> | WindowViewEvent | AuthRequestedEvent | BeginUserBoundsChangingEvent | BoundsChangedEvent | BoundsChangingEvent | ContextChangedEvent | CloseRequestedEvent | ClosedEvent_2 | ClosingEvent | DisabledMovementBoundsChangedEvent | DisabledMovementBoundsChangingEvent | EmbeddedEvent | EndUserBoundsChangingEvent | ExternalProcessExitedEvent | ExternalProcessStartedEvent | HiddenEvent_2 | HotkeyEvent_2 | InitializedEvent_2 | LayoutInitializedEvent | LayoutReadyEvent | LayoutCreatedEvent | LayoutDestroyedEvent | LayoutSnapshotAppliedEvent | MaximizedEvent | MinimizedEvent | OptionsChangedEvent | PerformanceReportEvent | PreloadScriptsStateChangedEvent | PreloadScriptsStateChangingEvent | ReloadedEvent | RestoredEvent | ShowRequestedEvent | ShownEvent_2 | UserMovementDisabledEvent | UserMovementEnabledEvent | WillMoveEvent | WillResizeEvent | ShowAllDownloadsEvent | DownloadShelfVisibilityChangedEvent | DownloadButtonVisibilityChangedEvent | DownloadButtonIconUpdatedEvent | SnappedEvent | SnapZoneChangedEvent | ExtensionTabCreatedEvent | ExtensionWindowCreatedEvent;
21488
21520
 
21489
21521
  /**
21490
21522
  * Generated when a child window starts loading.
@@ -5650,6 +5650,37 @@ declare type ExtensionTabCreatedEvent = BaseEvent_5 & {
5650
5650
  * - `other` — any other or unrecognized Chromium disposition
5651
5651
  */
5652
5652
  disposition: OpenFin.ContentCreationDisposition;
5653
+ /** Raw `window.open()` features string, if provided by `CreateContentsParams`. */
5654
+ features: string;
5655
+ /** Target frame name from `window.open(url, name)`, if provided. */
5656
+ frameName: string;
5657
+ /** Parsed window options derived from the features string. */
5658
+ parsedFeatures: Partial<OpenFin.WindowOptions>;
5659
+ };
5660
+
5661
+ /**
5662
+ * Generated when an extension creates a popup window on this host window
5663
+ * (e.g. via `chrome.windows.create({ type: 'popup' })`). The runtime
5664
+ * auto-creates a backing View and ChromeBrowser; this event notifies the
5665
+ * platform provider so it can create a registered OpenFin window.
5666
+ * Only fires on windows created with `chromeBrowser: true`.
5667
+ * @interface
5668
+ */
5669
+ declare type ExtensionWindowCreatedEvent = BaseEvent_5 & {
5670
+ type: 'extension-window-created';
5671
+ /** Identity of the auto-created tab backing the popup window. */
5672
+ tabIdentity: OpenFin.Identity;
5673
+ /**
5674
+ * Identity of the view that was active when the extension triggered window creation.
5675
+ * Undefined if no tab was active.
5676
+ */
5677
+ activeTabIdentity?: OpenFin.Identity;
5678
+ /** Initial URL the extension requested. */
5679
+ url: string;
5680
+ /** Always `'popup'` for extension-created popup windows. */
5681
+ disposition: 'popup';
5682
+ /** Options for the child window the platform provider should create. */
5683
+ childOptions: Record<string, unknown>;
5653
5684
  };
5654
5685
 
5655
5686
  /**
@@ -21215,6 +21246,7 @@ declare namespace WindowEvents {
21215
21246
  BaseWindowEvent,
21216
21247
  ViewAttachedEvent,
21217
21248
  ExtensionTabCreatedEvent,
21249
+ ExtensionWindowCreatedEvent,
21218
21250
  ViewDetachedEvent,
21219
21251
  WindowViewEvent,
21220
21252
  AlertRequestedEvent,
@@ -21484,7 +21516,7 @@ declare type WindowShowRequestedEvent = ShowRequestedEvent;
21484
21516
  * A union of all events that emit natively on the `Window` topic, i.e. excluding those that propagate
21485
21517
  * from {@link OpenFin.ViewEvents}.
21486
21518
  */
21487
- declare type WindowSourcedEvent = WebContentsEvents.Event<'window'> | WindowViewEvent | AuthRequestedEvent | BeginUserBoundsChangingEvent | BoundsChangedEvent | BoundsChangingEvent | ContextChangedEvent | CloseRequestedEvent | ClosedEvent_2 | ClosingEvent | DisabledMovementBoundsChangedEvent | DisabledMovementBoundsChangingEvent | EmbeddedEvent | EndUserBoundsChangingEvent | ExternalProcessExitedEvent | ExternalProcessStartedEvent | HiddenEvent_2 | HotkeyEvent_2 | InitializedEvent_2 | LayoutInitializedEvent | LayoutReadyEvent | LayoutCreatedEvent | LayoutDestroyedEvent | LayoutSnapshotAppliedEvent | MaximizedEvent | MinimizedEvent | OptionsChangedEvent | PerformanceReportEvent | PreloadScriptsStateChangedEvent | PreloadScriptsStateChangingEvent | ReloadedEvent | RestoredEvent | ShowRequestedEvent | ShownEvent_2 | UserMovementDisabledEvent | UserMovementEnabledEvent | WillMoveEvent | WillResizeEvent | ShowAllDownloadsEvent | DownloadShelfVisibilityChangedEvent | DownloadButtonVisibilityChangedEvent | DownloadButtonIconUpdatedEvent | SnappedEvent | SnapZoneChangedEvent | ExtensionTabCreatedEvent;
21519
+ declare type WindowSourcedEvent = WebContentsEvents.Event<'window'> | WindowViewEvent | AuthRequestedEvent | BeginUserBoundsChangingEvent | BoundsChangedEvent | BoundsChangingEvent | ContextChangedEvent | CloseRequestedEvent | ClosedEvent_2 | ClosingEvent | DisabledMovementBoundsChangedEvent | DisabledMovementBoundsChangingEvent | EmbeddedEvent | EndUserBoundsChangingEvent | ExternalProcessExitedEvent | ExternalProcessStartedEvent | HiddenEvent_2 | HotkeyEvent_2 | InitializedEvent_2 | LayoutInitializedEvent | LayoutReadyEvent | LayoutCreatedEvent | LayoutDestroyedEvent | LayoutSnapshotAppliedEvent | MaximizedEvent | MinimizedEvent | OptionsChangedEvent | PerformanceReportEvent | PreloadScriptsStateChangedEvent | PreloadScriptsStateChangingEvent | ReloadedEvent | RestoredEvent | ShowRequestedEvent | ShownEvent_2 | UserMovementDisabledEvent | UserMovementEnabledEvent | WillMoveEvent | WillResizeEvent | ShowAllDownloadsEvent | DownloadShelfVisibilityChangedEvent | DownloadButtonVisibilityChangedEvent | DownloadButtonIconUpdatedEvent | SnappedEvent | SnapZoneChangedEvent | ExtensionTabCreatedEvent | ExtensionWindowCreatedEvent;
21488
21520
 
21489
21521
  /**
21490
21522
  * Generated when a child window starts loading.
@@ -5650,6 +5650,37 @@ declare type ExtensionTabCreatedEvent = BaseEvent_5 & {
5650
5650
  * - `other` — any other or unrecognized Chromium disposition
5651
5651
  */
5652
5652
  disposition: OpenFin.ContentCreationDisposition;
5653
+ /** Raw `window.open()` features string, if provided by `CreateContentsParams`. */
5654
+ features: string;
5655
+ /** Target frame name from `window.open(url, name)`, if provided. */
5656
+ frameName: string;
5657
+ /** Parsed window options derived from the features string. */
5658
+ parsedFeatures: Partial<OpenFin.WindowOptions>;
5659
+ };
5660
+
5661
+ /**
5662
+ * Generated when an extension creates a popup window on this host window
5663
+ * (e.g. via `chrome.windows.create({ type: 'popup' })`). The runtime
5664
+ * auto-creates a backing View and ChromeBrowser; this event notifies the
5665
+ * platform provider so it can create a registered OpenFin window.
5666
+ * Only fires on windows created with `chromeBrowser: true`.
5667
+ * @interface
5668
+ */
5669
+ declare type ExtensionWindowCreatedEvent = BaseEvent_5 & {
5670
+ type: 'extension-window-created';
5671
+ /** Identity of the auto-created tab backing the popup window. */
5672
+ tabIdentity: OpenFin.Identity;
5673
+ /**
5674
+ * Identity of the view that was active when the extension triggered window creation.
5675
+ * Undefined if no tab was active.
5676
+ */
5677
+ activeTabIdentity?: OpenFin.Identity;
5678
+ /** Initial URL the extension requested. */
5679
+ url: string;
5680
+ /** Always `'popup'` for extension-created popup windows. */
5681
+ disposition: 'popup';
5682
+ /** Options for the child window the platform provider should create. */
5683
+ childOptions: Record<string, unknown>;
5653
5684
  };
5654
5685
 
5655
5686
  /**
@@ -21215,6 +21246,7 @@ declare namespace WindowEvents {
21215
21246
  BaseWindowEvent,
21216
21247
  ViewAttachedEvent,
21217
21248
  ExtensionTabCreatedEvent,
21249
+ ExtensionWindowCreatedEvent,
21218
21250
  ViewDetachedEvent,
21219
21251
  WindowViewEvent,
21220
21252
  AlertRequestedEvent,
@@ -21484,7 +21516,7 @@ declare type WindowShowRequestedEvent = ShowRequestedEvent;
21484
21516
  * A union of all events that emit natively on the `Window` topic, i.e. excluding those that propagate
21485
21517
  * from {@link OpenFin.ViewEvents}.
21486
21518
  */
21487
- declare type WindowSourcedEvent = WebContentsEvents.Event<'window'> | WindowViewEvent | AuthRequestedEvent | BeginUserBoundsChangingEvent | BoundsChangedEvent | BoundsChangingEvent | ContextChangedEvent | CloseRequestedEvent | ClosedEvent_2 | ClosingEvent | DisabledMovementBoundsChangedEvent | DisabledMovementBoundsChangingEvent | EmbeddedEvent | EndUserBoundsChangingEvent | ExternalProcessExitedEvent | ExternalProcessStartedEvent | HiddenEvent_2 | HotkeyEvent_2 | InitializedEvent_2 | LayoutInitializedEvent | LayoutReadyEvent | LayoutCreatedEvent | LayoutDestroyedEvent | LayoutSnapshotAppliedEvent | MaximizedEvent | MinimizedEvent | OptionsChangedEvent | PerformanceReportEvent | PreloadScriptsStateChangedEvent | PreloadScriptsStateChangingEvent | ReloadedEvent | RestoredEvent | ShowRequestedEvent | ShownEvent_2 | UserMovementDisabledEvent | UserMovementEnabledEvent | WillMoveEvent | WillResizeEvent | ShowAllDownloadsEvent | DownloadShelfVisibilityChangedEvent | DownloadButtonVisibilityChangedEvent | DownloadButtonIconUpdatedEvent | SnappedEvent | SnapZoneChangedEvent | ExtensionTabCreatedEvent;
21519
+ declare type WindowSourcedEvent = WebContentsEvents.Event<'window'> | WindowViewEvent | AuthRequestedEvent | BeginUserBoundsChangingEvent | BoundsChangedEvent | BoundsChangingEvent | ContextChangedEvent | CloseRequestedEvent | ClosedEvent_2 | ClosingEvent | DisabledMovementBoundsChangedEvent | DisabledMovementBoundsChangingEvent | EmbeddedEvent | EndUserBoundsChangingEvent | ExternalProcessExitedEvent | ExternalProcessStartedEvent | HiddenEvent_2 | HotkeyEvent_2 | InitializedEvent_2 | LayoutInitializedEvent | LayoutReadyEvent | LayoutCreatedEvent | LayoutDestroyedEvent | LayoutSnapshotAppliedEvent | MaximizedEvent | MinimizedEvent | OptionsChangedEvent | PerformanceReportEvent | PreloadScriptsStateChangedEvent | PreloadScriptsStateChangingEvent | ReloadedEvent | RestoredEvent | ShowRequestedEvent | ShownEvent_2 | UserMovementDisabledEvent | UserMovementEnabledEvent | WillMoveEvent | WillResizeEvent | ShowAllDownloadsEvent | DownloadShelfVisibilityChangedEvent | DownloadButtonVisibilityChangedEvent | DownloadButtonIconUpdatedEvent | SnappedEvent | SnapZoneChangedEvent | ExtensionTabCreatedEvent | ExtensionWindowCreatedEvent;
21488
21520
 
21489
21521
  /**
21490
21522
  * Generated when a child window starts loading.
package/out/fdc3-api.d.ts CHANGED
@@ -5732,6 +5732,37 @@ declare type ExtensionTabCreatedEvent = BaseEvent_5 & {
5732
5732
  * - `other` — any other or unrecognized Chromium disposition
5733
5733
  */
5734
5734
  disposition: OpenFin.ContentCreationDisposition;
5735
+ /** Raw `window.open()` features string, if provided by `CreateContentsParams`. */
5736
+ features: string;
5737
+ /** Target frame name from `window.open(url, name)`, if provided. */
5738
+ frameName: string;
5739
+ /** Parsed window options derived from the features string. */
5740
+ parsedFeatures: Partial<OpenFin.WindowOptions>;
5741
+ };
5742
+
5743
+ /**
5744
+ * Generated when an extension creates a popup window on this host window
5745
+ * (e.g. via `chrome.windows.create({ type: 'popup' })`). The runtime
5746
+ * auto-creates a backing View and ChromeBrowser; this event notifies the
5747
+ * platform provider so it can create a registered OpenFin window.
5748
+ * Only fires on windows created with `chromeBrowser: true`.
5749
+ * @interface
5750
+ */
5751
+ declare type ExtensionWindowCreatedEvent = BaseEvent_5 & {
5752
+ type: 'extension-window-created';
5753
+ /** Identity of the auto-created tab backing the popup window. */
5754
+ tabIdentity: OpenFin.Identity;
5755
+ /**
5756
+ * Identity of the view that was active when the extension triggered window creation.
5757
+ * Undefined if no tab was active.
5758
+ */
5759
+ activeTabIdentity?: OpenFin.Identity;
5760
+ /** Initial URL the extension requested. */
5761
+ url: string;
5762
+ /** Always `'popup'` for extension-created popup windows. */
5763
+ disposition: 'popup';
5764
+ /** Options for the child window the platform provider should create. */
5765
+ childOptions: Record<string, unknown>;
5735
5766
  };
5736
5767
 
5737
5768
  /**
@@ -21685,6 +21716,7 @@ declare namespace WindowEvents {
21685
21716
  BaseWindowEvent,
21686
21717
  ViewAttachedEvent,
21687
21718
  ExtensionTabCreatedEvent,
21719
+ ExtensionWindowCreatedEvent,
21688
21720
  ViewDetachedEvent,
21689
21721
  WindowViewEvent,
21690
21722
  AlertRequestedEvent,
@@ -21954,7 +21986,7 @@ declare type WindowShowRequestedEvent = ShowRequestedEvent;
21954
21986
  * A union of all events that emit natively on the `Window` topic, i.e. excluding those that propagate
21955
21987
  * from {@link OpenFin.ViewEvents}.
21956
21988
  */
21957
- declare type WindowSourcedEvent = WebContentsEvents.Event<'window'> | WindowViewEvent | AuthRequestedEvent | BeginUserBoundsChangingEvent | BoundsChangedEvent | BoundsChangingEvent | ContextChangedEvent | CloseRequestedEvent | ClosedEvent_2 | ClosingEvent | DisabledMovementBoundsChangedEvent | DisabledMovementBoundsChangingEvent | EmbeddedEvent | EndUserBoundsChangingEvent | ExternalProcessExitedEvent | ExternalProcessStartedEvent | HiddenEvent_2 | HotkeyEvent_2 | InitializedEvent_2 | LayoutInitializedEvent | LayoutReadyEvent | LayoutCreatedEvent | LayoutDestroyedEvent | LayoutSnapshotAppliedEvent | MaximizedEvent | MinimizedEvent | OptionsChangedEvent | PerformanceReportEvent | PreloadScriptsStateChangedEvent | PreloadScriptsStateChangingEvent | ReloadedEvent | RestoredEvent | ShowRequestedEvent | ShownEvent_2 | UserMovementDisabledEvent | UserMovementEnabledEvent | WillMoveEvent | WillResizeEvent | ShowAllDownloadsEvent | DownloadShelfVisibilityChangedEvent | DownloadButtonVisibilityChangedEvent | DownloadButtonIconUpdatedEvent | SnappedEvent | SnapZoneChangedEvent | ExtensionTabCreatedEvent;
21989
+ declare type WindowSourcedEvent = WebContentsEvents.Event<'window'> | WindowViewEvent | AuthRequestedEvent | BeginUserBoundsChangingEvent | BoundsChangedEvent | BoundsChangingEvent | ContextChangedEvent | CloseRequestedEvent | ClosedEvent_2 | ClosingEvent | DisabledMovementBoundsChangedEvent | DisabledMovementBoundsChangingEvent | EmbeddedEvent | EndUserBoundsChangingEvent | ExternalProcessExitedEvent | ExternalProcessStartedEvent | HiddenEvent_2 | HotkeyEvent_2 | InitializedEvent_2 | LayoutInitializedEvent | LayoutReadyEvent | LayoutCreatedEvent | LayoutDestroyedEvent | LayoutSnapshotAppliedEvent | MaximizedEvent | MinimizedEvent | OptionsChangedEvent | PerformanceReportEvent | PreloadScriptsStateChangedEvent | PreloadScriptsStateChangingEvent | ReloadedEvent | RestoredEvent | ShowRequestedEvent | ShownEvent_2 | UserMovementDisabledEvent | UserMovementEnabledEvent | WillMoveEvent | WillResizeEvent | ShowAllDownloadsEvent | DownloadShelfVisibilityChangedEvent | DownloadButtonVisibilityChangedEvent | DownloadButtonIconUpdatedEvent | SnappedEvent | SnapZoneChangedEvent | ExtensionTabCreatedEvent | ExtensionWindowCreatedEvent;
21958
21990
 
21959
21991
  /**
21960
21992
  * Generated when a child window starts loading.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfin/fdc3-api",
3
- "version": "46.100.26",
3
+ "version": "46.100.27",
4
4
  "description": "OpenFin fdc3 module utilities and types.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "private": false,