@openfin/fdc3-api 45.100.102 → 45.100.104

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
  /**
@@ -21338,6 +21369,7 @@ declare namespace WindowEvents {
21338
21369
  BaseWindowEvent,
21339
21370
  ViewAttachedEvent,
21340
21371
  ExtensionTabCreatedEvent,
21372
+ ExtensionWindowCreatedEvent,
21341
21373
  ViewDetachedEvent,
21342
21374
  WindowViewEvent,
21343
21375
  AlertRequestedEvent,
@@ -21607,7 +21639,7 @@ declare type WindowShowRequestedEvent = ShowRequestedEvent;
21607
21639
  * A union of all events that emit natively on the `Window` topic, i.e. excluding those that propagate
21608
21640
  * from {@link OpenFin.ViewEvents}.
21609
21641
  */
21610
- 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;
21642
+ 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;
21611
21643
 
21612
21644
  /**
21613
21645
  * 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
  /**
@@ -21338,6 +21369,7 @@ declare namespace WindowEvents {
21338
21369
  BaseWindowEvent,
21339
21370
  ViewAttachedEvent,
21340
21371
  ExtensionTabCreatedEvent,
21372
+ ExtensionWindowCreatedEvent,
21341
21373
  ViewDetachedEvent,
21342
21374
  WindowViewEvent,
21343
21375
  AlertRequestedEvent,
@@ -21607,7 +21639,7 @@ declare type WindowShowRequestedEvent = ShowRequestedEvent;
21607
21639
  * A union of all events that emit natively on the `Window` topic, i.e. excluding those that propagate
21608
21640
  * from {@link OpenFin.ViewEvents}.
21609
21641
  */
21610
- 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;
21642
+ 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;
21611
21643
 
21612
21644
  /**
21613
21645
  * 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
  /**
@@ -21338,6 +21369,7 @@ declare namespace WindowEvents {
21338
21369
  BaseWindowEvent,
21339
21370
  ViewAttachedEvent,
21340
21371
  ExtensionTabCreatedEvent,
21372
+ ExtensionWindowCreatedEvent,
21341
21373
  ViewDetachedEvent,
21342
21374
  WindowViewEvent,
21343
21375
  AlertRequestedEvent,
@@ -21607,7 +21639,7 @@ declare type WindowShowRequestedEvent = ShowRequestedEvent;
21607
21639
  * A union of all events that emit natively on the `Window` topic, i.e. excluding those that propagate
21608
21640
  * from {@link OpenFin.ViewEvents}.
21609
21641
  */
21610
- 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;
21642
+ 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;
21611
21643
 
21612
21644
  /**
21613
21645
  * 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
  /**
@@ -21808,6 +21839,7 @@ declare namespace WindowEvents {
21808
21839
  BaseWindowEvent,
21809
21840
  ViewAttachedEvent,
21810
21841
  ExtensionTabCreatedEvent,
21842
+ ExtensionWindowCreatedEvent,
21811
21843
  ViewDetachedEvent,
21812
21844
  WindowViewEvent,
21813
21845
  AlertRequestedEvent,
@@ -22077,7 +22109,7 @@ declare type WindowShowRequestedEvent = ShowRequestedEvent;
22077
22109
  * A union of all events that emit natively on the `Window` topic, i.e. excluding those that propagate
22078
22110
  * from {@link OpenFin.ViewEvents}.
22079
22111
  */
22080
- 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;
22112
+ 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;
22081
22113
 
22082
22114
  /**
22083
22115
  * 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": "45.100.102",
3
+ "version": "45.100.104",
4
4
  "description": "OpenFin fdc3 module utilities and types.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "private": false,