@openfin/core 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.
@@ -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
  /**
@@ -20892,6 +20923,7 @@ declare namespace WindowEvents {
20892
20923
  BaseWindowEvent,
20893
20924
  ViewAttachedEvent,
20894
20925
  ExtensionTabCreatedEvent,
20926
+ ExtensionWindowCreatedEvent,
20895
20927
  ViewDetachedEvent,
20896
20928
  WindowViewEvent,
20897
20929
  AlertRequestedEvent,
@@ -21161,7 +21193,7 @@ declare type WindowShowRequestedEvent = ShowRequestedEvent;
21161
21193
  * A union of all events that emit natively on the `Window` topic, i.e. excluding those that propagate
21162
21194
  * from {@link OpenFin.ViewEvents}.
21163
21195
  */
21164
- 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;
21196
+ 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;
21165
21197
 
21166
21198
  /**
21167
21199
  * 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
  /**
@@ -20892,6 +20923,7 @@ declare namespace WindowEvents {
20892
20923
  BaseWindowEvent,
20893
20924
  ViewAttachedEvent,
20894
20925
  ExtensionTabCreatedEvent,
20926
+ ExtensionWindowCreatedEvent,
20895
20927
  ViewDetachedEvent,
20896
20928
  WindowViewEvent,
20897
20929
  AlertRequestedEvent,
@@ -21161,7 +21193,7 @@ declare type WindowShowRequestedEvent = ShowRequestedEvent;
21161
21193
  * A union of all events that emit natively on the `Window` topic, i.e. excluding those that propagate
21162
21194
  * from {@link OpenFin.ViewEvents}.
21163
21195
  */
21164
- 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;
21196
+ 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;
21165
21197
 
21166
21198
  /**
21167
21199
  * 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
  /**
@@ -20892,6 +20923,7 @@ declare namespace WindowEvents {
20892
20923
  BaseWindowEvent,
20893
20924
  ViewAttachedEvent,
20894
20925
  ExtensionTabCreatedEvent,
20926
+ ExtensionWindowCreatedEvent,
20895
20927
  ViewDetachedEvent,
20896
20928
  WindowViewEvent,
20897
20929
  AlertRequestedEvent,
@@ -21161,7 +21193,7 @@ declare type WindowShowRequestedEvent = ShowRequestedEvent;
21161
21193
  * A union of all events that emit natively on the `Window` topic, i.e. excluding those that propagate
21162
21194
  * from {@link OpenFin.ViewEvents}.
21163
21195
  */
21164
- 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;
21196
+ 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;
21165
21197
 
21166
21198
  /**
21167
21199
  * 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
  /**
@@ -21362,6 +21393,7 @@ declare namespace WindowEvents {
21362
21393
  BaseWindowEvent,
21363
21394
  ViewAttachedEvent,
21364
21395
  ExtensionTabCreatedEvent,
21396
+ ExtensionWindowCreatedEvent,
21365
21397
  ViewDetachedEvent,
21366
21398
  WindowViewEvent,
21367
21399
  AlertRequestedEvent,
@@ -21631,7 +21663,7 @@ declare type WindowShowRequestedEvent = ShowRequestedEvent;
21631
21663
  * A union of all events that emit natively on the `Window` topic, i.e. excluding those that propagate
21632
21664
  * from {@link OpenFin.ViewEvents}.
21633
21665
  */
21634
- 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;
21666
+ 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;
21635
21667
 
21636
21668
  /**
21637
21669
  * Generated when a child window starts loading.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfin/core",
3
- "version": "45.100.102",
3
+ "version": "45.100.104",
4
4
  "description": "The core renderer entry point of OpenFin",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "main": "out/stub.js",