@openfin/core 46.100.25 → 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.
@@ -5653,6 +5653,37 @@ declare type ExtensionTabCreatedEvent = BaseEvent_5 & {
5653
5653
  * - `other` — any other or unrecognized Chromium disposition
5654
5654
  */
5655
5655
  disposition: OpenFin_2.ContentCreationDisposition;
5656
+ /** Raw `window.open()` features string, if provided by `CreateContentsParams`. */
5657
+ features: string;
5658
+ /** Target frame name from `window.open(url, name)`, if provided. */
5659
+ frameName: string;
5660
+ /** Parsed window options derived from the features string. */
5661
+ parsedFeatures: Partial<OpenFin_2.WindowOptions>;
5662
+ };
5663
+
5664
+ /**
5665
+ * Generated when an extension creates a popup window on this host window
5666
+ * (e.g. via `chrome.windows.create({ type: 'popup' })`). The runtime
5667
+ * auto-creates a backing View and ChromeBrowser; this event notifies the
5668
+ * platform provider so it can create a registered OpenFin window.
5669
+ * Only fires on windows created with `chromeBrowser: true`.
5670
+ * @interface
5671
+ */
5672
+ declare type ExtensionWindowCreatedEvent = BaseEvent_5 & {
5673
+ type: 'extension-window-created';
5674
+ /** Identity of the auto-created tab backing the popup window. */
5675
+ tabIdentity: OpenFin_2.Identity;
5676
+ /**
5677
+ * Identity of the view that was active when the extension triggered window creation.
5678
+ * Undefined if no tab was active.
5679
+ */
5680
+ activeTabIdentity?: OpenFin_2.Identity;
5681
+ /** Initial URL the extension requested. */
5682
+ url: string;
5683
+ /** Always `'popup'` for extension-created popup windows. */
5684
+ disposition: 'popup';
5685
+ /** Options for the child window the platform provider should create. */
5686
+ childOptions: Record<string, unknown>;
5656
5687
  };
5657
5688
 
5658
5689
  /**
@@ -20769,6 +20800,7 @@ declare namespace WindowEvents {
20769
20800
  BaseWindowEvent,
20770
20801
  ViewAttachedEvent,
20771
20802
  ExtensionTabCreatedEvent,
20803
+ ExtensionWindowCreatedEvent,
20772
20804
  ViewDetachedEvent,
20773
20805
  WindowViewEvent,
20774
20806
  AlertRequestedEvent,
@@ -21038,7 +21070,7 @@ declare type WindowShowRequestedEvent = ShowRequestedEvent;
21038
21070
  * A union of all events that emit natively on the `Window` topic, i.e. excluding those that propagate
21039
21071
  * from {@link OpenFin.ViewEvents}.
21040
21072
  */
21041
- 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;
21073
+ 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;
21042
21074
 
21043
21075
  /**
21044
21076
  * Generated when a child window starts loading.
@@ -5653,6 +5653,37 @@ declare type ExtensionTabCreatedEvent = BaseEvent_5 & {
5653
5653
  * - `other` — any other or unrecognized Chromium disposition
5654
5654
  */
5655
5655
  disposition: OpenFin_2.ContentCreationDisposition;
5656
+ /** Raw `window.open()` features string, if provided by `CreateContentsParams`. */
5657
+ features: string;
5658
+ /** Target frame name from `window.open(url, name)`, if provided. */
5659
+ frameName: string;
5660
+ /** Parsed window options derived from the features string. */
5661
+ parsedFeatures: Partial<OpenFin_2.WindowOptions>;
5662
+ };
5663
+
5664
+ /**
5665
+ * Generated when an extension creates a popup window on this host window
5666
+ * (e.g. via `chrome.windows.create({ type: 'popup' })`). The runtime
5667
+ * auto-creates a backing View and ChromeBrowser; this event notifies the
5668
+ * platform provider so it can create a registered OpenFin window.
5669
+ * Only fires on windows created with `chromeBrowser: true`.
5670
+ * @interface
5671
+ */
5672
+ declare type ExtensionWindowCreatedEvent = BaseEvent_5 & {
5673
+ type: 'extension-window-created';
5674
+ /** Identity of the auto-created tab backing the popup window. */
5675
+ tabIdentity: OpenFin_2.Identity;
5676
+ /**
5677
+ * Identity of the view that was active when the extension triggered window creation.
5678
+ * Undefined if no tab was active.
5679
+ */
5680
+ activeTabIdentity?: OpenFin_2.Identity;
5681
+ /** Initial URL the extension requested. */
5682
+ url: string;
5683
+ /** Always `'popup'` for extension-created popup windows. */
5684
+ disposition: 'popup';
5685
+ /** Options for the child window the platform provider should create. */
5686
+ childOptions: Record<string, unknown>;
5656
5687
  };
5657
5688
 
5658
5689
  /**
@@ -20769,6 +20800,7 @@ declare namespace WindowEvents {
20769
20800
  BaseWindowEvent,
20770
20801
  ViewAttachedEvent,
20771
20802
  ExtensionTabCreatedEvent,
20803
+ ExtensionWindowCreatedEvent,
20772
20804
  ViewDetachedEvent,
20773
20805
  WindowViewEvent,
20774
20806
  AlertRequestedEvent,
@@ -21038,7 +21070,7 @@ declare type WindowShowRequestedEvent = ShowRequestedEvent;
21038
21070
  * A union of all events that emit natively on the `Window` topic, i.e. excluding those that propagate
21039
21071
  * from {@link OpenFin.ViewEvents}.
21040
21072
  */
21041
- 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;
21073
+ 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;
21042
21074
 
21043
21075
  /**
21044
21076
  * Generated when a child window starts loading.
@@ -5653,6 +5653,37 @@ declare type ExtensionTabCreatedEvent = BaseEvent_5 & {
5653
5653
  * - `other` — any other or unrecognized Chromium disposition
5654
5654
  */
5655
5655
  disposition: OpenFin_2.ContentCreationDisposition;
5656
+ /** Raw `window.open()` features string, if provided by `CreateContentsParams`. */
5657
+ features: string;
5658
+ /** Target frame name from `window.open(url, name)`, if provided. */
5659
+ frameName: string;
5660
+ /** Parsed window options derived from the features string. */
5661
+ parsedFeatures: Partial<OpenFin_2.WindowOptions>;
5662
+ };
5663
+
5664
+ /**
5665
+ * Generated when an extension creates a popup window on this host window
5666
+ * (e.g. via `chrome.windows.create({ type: 'popup' })`). The runtime
5667
+ * auto-creates a backing View and ChromeBrowser; this event notifies the
5668
+ * platform provider so it can create a registered OpenFin window.
5669
+ * Only fires on windows created with `chromeBrowser: true`.
5670
+ * @interface
5671
+ */
5672
+ declare type ExtensionWindowCreatedEvent = BaseEvent_5 & {
5673
+ type: 'extension-window-created';
5674
+ /** Identity of the auto-created tab backing the popup window. */
5675
+ tabIdentity: OpenFin_2.Identity;
5676
+ /**
5677
+ * Identity of the view that was active when the extension triggered window creation.
5678
+ * Undefined if no tab was active.
5679
+ */
5680
+ activeTabIdentity?: OpenFin_2.Identity;
5681
+ /** Initial URL the extension requested. */
5682
+ url: string;
5683
+ /** Always `'popup'` for extension-created popup windows. */
5684
+ disposition: 'popup';
5685
+ /** Options for the child window the platform provider should create. */
5686
+ childOptions: Record<string, unknown>;
5656
5687
  };
5657
5688
 
5658
5689
  /**
@@ -20769,6 +20800,7 @@ declare namespace WindowEvents {
20769
20800
  BaseWindowEvent,
20770
20801
  ViewAttachedEvent,
20771
20802
  ExtensionTabCreatedEvent,
20803
+ ExtensionWindowCreatedEvent,
20772
20804
  ViewDetachedEvent,
20773
20805
  WindowViewEvent,
20774
20806
  AlertRequestedEvent,
@@ -21038,7 +21070,7 @@ declare type WindowShowRequestedEvent = ShowRequestedEvent;
21038
21070
  * A union of all events that emit natively on the `Window` topic, i.e. excluding those that propagate
21039
21071
  * from {@link OpenFin.ViewEvents}.
21040
21072
  */
21041
- 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;
21073
+ 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;
21042
21074
 
21043
21075
  /**
21044
21076
  * Generated when a child window starts loading.
package/out/stub.d.ts CHANGED
@@ -5735,6 +5735,37 @@ declare type ExtensionTabCreatedEvent = BaseEvent_5 & {
5735
5735
  * - `other` — any other or unrecognized Chromium disposition
5736
5736
  */
5737
5737
  disposition: OpenFin_2.ContentCreationDisposition;
5738
+ /** Raw `window.open()` features string, if provided by `CreateContentsParams`. */
5739
+ features: string;
5740
+ /** Target frame name from `window.open(url, name)`, if provided. */
5741
+ frameName: string;
5742
+ /** Parsed window options derived from the features string. */
5743
+ parsedFeatures: Partial<OpenFin_2.WindowOptions>;
5744
+ };
5745
+
5746
+ /**
5747
+ * Generated when an extension creates a popup window on this host window
5748
+ * (e.g. via `chrome.windows.create({ type: 'popup' })`). The runtime
5749
+ * auto-creates a backing View and ChromeBrowser; this event notifies the
5750
+ * platform provider so it can create a registered OpenFin window.
5751
+ * Only fires on windows created with `chromeBrowser: true`.
5752
+ * @interface
5753
+ */
5754
+ declare type ExtensionWindowCreatedEvent = BaseEvent_5 & {
5755
+ type: 'extension-window-created';
5756
+ /** Identity of the auto-created tab backing the popup window. */
5757
+ tabIdentity: OpenFin_2.Identity;
5758
+ /**
5759
+ * Identity of the view that was active when the extension triggered window creation.
5760
+ * Undefined if no tab was active.
5761
+ */
5762
+ activeTabIdentity?: OpenFin_2.Identity;
5763
+ /** Initial URL the extension requested. */
5764
+ url: string;
5765
+ /** Always `'popup'` for extension-created popup windows. */
5766
+ disposition: 'popup';
5767
+ /** Options for the child window the platform provider should create. */
5768
+ childOptions: Record<string, unknown>;
5738
5769
  };
5739
5770
 
5740
5771
  /**
@@ -21239,6 +21270,7 @@ declare namespace WindowEvents {
21239
21270
  BaseWindowEvent,
21240
21271
  ViewAttachedEvent,
21241
21272
  ExtensionTabCreatedEvent,
21273
+ ExtensionWindowCreatedEvent,
21242
21274
  ViewDetachedEvent,
21243
21275
  WindowViewEvent,
21244
21276
  AlertRequestedEvent,
@@ -21508,7 +21540,7 @@ declare type WindowShowRequestedEvent = ShowRequestedEvent;
21508
21540
  * A union of all events that emit natively on the `Window` topic, i.e. excluding those that propagate
21509
21541
  * from {@link OpenFin.ViewEvents}.
21510
21542
  */
21511
- 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;
21543
+ 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;
21512
21544
 
21513
21545
  /**
21514
21546
  * Generated when a child window starts loading.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfin/core",
3
- "version": "46.100.25",
3
+ "version": "46.100.27",
4
4
  "description": "The core renderer entry point of OpenFin",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "main": "out/stub.js",