@openfin/core 44.100.46 → 44.100.48

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.
@@ -10111,6 +10111,7 @@ declare namespace OpenFin_2 {
10111
10111
  ChannelProviderDisconnectionListener,
10112
10112
  RoutingInfo,
10113
10113
  DownloadShelfOptions,
10114
+ SnapZoneOptions,
10114
10115
  ViewShowAtOptions,
10115
10116
  WebNotificationProperties,
10116
10117
  WebNotificationInfo,
@@ -12024,7 +12025,7 @@ declare type PositioningOptions = {
12024
12025
  /**
12025
12026
  * Context menu item with an implementation provided by OpenFin.
12026
12027
  */
12027
- declare type PrebuiltContextMenuItem = 'separator' | 'undo' | 'redo' | 'cut' | 'copy' | 'copyImage' | 'paste' | 'selectAll' | 'spellCheck' | 'inspect' | 'reload' | 'navigateForward' | 'navigateBack' | 'print';
12028
+ declare type PrebuiltContextMenuItem = 'separator' | 'undo' | 'redo' | 'cut' | 'copy' | 'copyImage' | 'paste' | 'selectAll' | 'spellCheck' | 'inspect' | 'reload' | 'navigateForward' | 'navigateBack' | 'print' | 'snapToTop' | 'snapToBottom';
12028
12029
 
12029
12030
  /**
12030
12031
  * A script that is run before page load.
@@ -14143,6 +14144,15 @@ declare type Size = TransitionBase & {
14143
14144
  height: number;
14144
14145
  };
14145
14146
 
14147
+ /**
14148
+ * Generated when a window is snapped to a screen edge.
14149
+ * @interface
14150
+ */
14151
+ declare type SnappedEvent = BoundsEvent & {
14152
+ type: 'snapped';
14153
+ snapLocation: 'top' | 'bottom';
14154
+ };
14155
+
14146
14156
  /**
14147
14157
  * @interface
14148
14158
  */
@@ -14287,6 +14297,52 @@ declare class SnapshotSourceModule extends Base {
14287
14297
  wrap(identity: OpenFin_2.ApplicationIdentity): Promise<SnapshotSource>;
14288
14298
  }
14289
14299
 
14300
+ /**
14301
+ * Generated when a window enters or exits a snap zone during drag.
14302
+ * This event fires whenever the snap zone state changes (entry or exit).
14303
+ * @interface
14304
+ */
14305
+ declare type SnapZoneChangedEvent = BaseEvent_5 & {
14306
+ type: 'snap-zone-changed';
14307
+ /**
14308
+ * Array of locations that the window is currently in snap zones for.
14309
+ * Empty array indicates the window is not in any snap zone.
14310
+ * Can contain multiple locations if the window is in multiple zones simultaneously.
14311
+ */
14312
+ locations: Array<'top' | 'bottom'>;
14313
+ };
14314
+
14315
+ /**
14316
+ * @interface
14317
+ *
14318
+ * Configures snap zone behavior for a window. When enabled, the window will automatically snap to screen edges
14319
+ * when dragged near them during user drag interactions.
14320
+ */
14321
+ declare type SnapZoneOptions = {
14322
+ /**
14323
+ * Whether snap zone functionality is enabled for this window.
14324
+ *
14325
+ * @default false
14326
+ */
14327
+ enabled: boolean;
14328
+ /**
14329
+ * The distance in pixels from the screen edge that triggers the snap zone.
14330
+ * When the window is dragged within this threshold of the top or bottom edge,
14331
+ * it will be considered in a snap zone.
14332
+ *
14333
+ * @default 50
14334
+ */
14335
+ threshold?: number;
14336
+ /**
14337
+ * Ordered array of edge preferences when the window is in multiple snap zones simultaneously.
14338
+ * The first edge in the array that the window is in will be used for snapping.
14339
+ * If not provided, defaults to ['top', 'bottom'] (preferring top over bottom).
14340
+ *
14341
+ * @default ['top', 'bottom']
14342
+ */
14343
+ locationPreference?: Array<'top' | 'bottom'>;
14344
+ };
14345
+
14290
14346
  /**
14291
14347
  * Generated when an application has started.
14292
14348
  * @interface
@@ -19461,6 +19517,8 @@ declare namespace WindowEvents {
19461
19517
  BoundsChangingEvent,
19462
19518
  DisabledMovementBoundsChangedEvent,
19463
19519
  DisabledMovementBoundsChangingEvent,
19520
+ SnappedEvent,
19521
+ SnapZoneChangedEvent,
19464
19522
  UserBoundsChangeEvent,
19465
19523
  BeginUserBoundsChangingEvent,
19466
19524
  EndUserBoundsChangingEvent,
@@ -19703,7 +19761,7 @@ declare type WindowShowRequestedEvent = ShowRequestedEvent;
19703
19761
  * A union of all events that emit natively on the `Window` topic, i.e. excluding those that propagate
19704
19762
  * from {@link OpenFin.ViewEvents}.
19705
19763
  */
19706
- 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;
19764
+ 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 | SnappedEvent | SnapZoneChangedEvent;
19707
19765
 
19708
19766
  /**
19709
19767
  * Generated when a child window starts loading.
@@ -10111,6 +10111,7 @@ declare namespace OpenFin_2 {
10111
10111
  ChannelProviderDisconnectionListener,
10112
10112
  RoutingInfo,
10113
10113
  DownloadShelfOptions,
10114
+ SnapZoneOptions,
10114
10115
  ViewShowAtOptions,
10115
10116
  WebNotificationProperties,
10116
10117
  WebNotificationInfo,
@@ -12024,7 +12025,7 @@ declare type PositioningOptions = {
12024
12025
  /**
12025
12026
  * Context menu item with an implementation provided by OpenFin.
12026
12027
  */
12027
- declare type PrebuiltContextMenuItem = 'separator' | 'undo' | 'redo' | 'cut' | 'copy' | 'copyImage' | 'paste' | 'selectAll' | 'spellCheck' | 'inspect' | 'reload' | 'navigateForward' | 'navigateBack' | 'print';
12028
+ declare type PrebuiltContextMenuItem = 'separator' | 'undo' | 'redo' | 'cut' | 'copy' | 'copyImage' | 'paste' | 'selectAll' | 'spellCheck' | 'inspect' | 'reload' | 'navigateForward' | 'navigateBack' | 'print' | 'snapToTop' | 'snapToBottom';
12028
12029
 
12029
12030
  /**
12030
12031
  * A script that is run before page load.
@@ -14143,6 +14144,15 @@ declare type Size = TransitionBase & {
14143
14144
  height: number;
14144
14145
  };
14145
14146
 
14147
+ /**
14148
+ * Generated when a window is snapped to a screen edge.
14149
+ * @interface
14150
+ */
14151
+ declare type SnappedEvent = BoundsEvent & {
14152
+ type: 'snapped';
14153
+ snapLocation: 'top' | 'bottom';
14154
+ };
14155
+
14146
14156
  /**
14147
14157
  * @interface
14148
14158
  */
@@ -14287,6 +14297,52 @@ declare class SnapshotSourceModule extends Base {
14287
14297
  wrap(identity: OpenFin_2.ApplicationIdentity): Promise<SnapshotSource>;
14288
14298
  }
14289
14299
 
14300
+ /**
14301
+ * Generated when a window enters or exits a snap zone during drag.
14302
+ * This event fires whenever the snap zone state changes (entry or exit).
14303
+ * @interface
14304
+ */
14305
+ declare type SnapZoneChangedEvent = BaseEvent_5 & {
14306
+ type: 'snap-zone-changed';
14307
+ /**
14308
+ * Array of locations that the window is currently in snap zones for.
14309
+ * Empty array indicates the window is not in any snap zone.
14310
+ * Can contain multiple locations if the window is in multiple zones simultaneously.
14311
+ */
14312
+ locations: Array<'top' | 'bottom'>;
14313
+ };
14314
+
14315
+ /**
14316
+ * @interface
14317
+ *
14318
+ * Configures snap zone behavior for a window. When enabled, the window will automatically snap to screen edges
14319
+ * when dragged near them during user drag interactions.
14320
+ */
14321
+ declare type SnapZoneOptions = {
14322
+ /**
14323
+ * Whether snap zone functionality is enabled for this window.
14324
+ *
14325
+ * @default false
14326
+ */
14327
+ enabled: boolean;
14328
+ /**
14329
+ * The distance in pixels from the screen edge that triggers the snap zone.
14330
+ * When the window is dragged within this threshold of the top or bottom edge,
14331
+ * it will be considered in a snap zone.
14332
+ *
14333
+ * @default 50
14334
+ */
14335
+ threshold?: number;
14336
+ /**
14337
+ * Ordered array of edge preferences when the window is in multiple snap zones simultaneously.
14338
+ * The first edge in the array that the window is in will be used for snapping.
14339
+ * If not provided, defaults to ['top', 'bottom'] (preferring top over bottom).
14340
+ *
14341
+ * @default ['top', 'bottom']
14342
+ */
14343
+ locationPreference?: Array<'top' | 'bottom'>;
14344
+ };
14345
+
14290
14346
  /**
14291
14347
  * Generated when an application has started.
14292
14348
  * @interface
@@ -19461,6 +19517,8 @@ declare namespace WindowEvents {
19461
19517
  BoundsChangingEvent,
19462
19518
  DisabledMovementBoundsChangedEvent,
19463
19519
  DisabledMovementBoundsChangingEvent,
19520
+ SnappedEvent,
19521
+ SnapZoneChangedEvent,
19464
19522
  UserBoundsChangeEvent,
19465
19523
  BeginUserBoundsChangingEvent,
19466
19524
  EndUserBoundsChangingEvent,
@@ -19703,7 +19761,7 @@ declare type WindowShowRequestedEvent = ShowRequestedEvent;
19703
19761
  * A union of all events that emit natively on the `Window` topic, i.e. excluding those that propagate
19704
19762
  * from {@link OpenFin.ViewEvents}.
19705
19763
  */
19706
- 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;
19764
+ 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 | SnappedEvent | SnapZoneChangedEvent;
19707
19765
 
19708
19766
  /**
19709
19767
  * Generated when a child window starts loading.
@@ -10111,6 +10111,7 @@ declare namespace OpenFin_2 {
10111
10111
  ChannelProviderDisconnectionListener,
10112
10112
  RoutingInfo,
10113
10113
  DownloadShelfOptions,
10114
+ SnapZoneOptions,
10114
10115
  ViewShowAtOptions,
10115
10116
  WebNotificationProperties,
10116
10117
  WebNotificationInfo,
@@ -12024,7 +12025,7 @@ declare type PositioningOptions = {
12024
12025
  /**
12025
12026
  * Context menu item with an implementation provided by OpenFin.
12026
12027
  */
12027
- declare type PrebuiltContextMenuItem = 'separator' | 'undo' | 'redo' | 'cut' | 'copy' | 'copyImage' | 'paste' | 'selectAll' | 'spellCheck' | 'inspect' | 'reload' | 'navigateForward' | 'navigateBack' | 'print';
12028
+ declare type PrebuiltContextMenuItem = 'separator' | 'undo' | 'redo' | 'cut' | 'copy' | 'copyImage' | 'paste' | 'selectAll' | 'spellCheck' | 'inspect' | 'reload' | 'navigateForward' | 'navigateBack' | 'print' | 'snapToTop' | 'snapToBottom';
12028
12029
 
12029
12030
  /**
12030
12031
  * A script that is run before page load.
@@ -14143,6 +14144,15 @@ declare type Size = TransitionBase & {
14143
14144
  height: number;
14144
14145
  };
14145
14146
 
14147
+ /**
14148
+ * Generated when a window is snapped to a screen edge.
14149
+ * @interface
14150
+ */
14151
+ declare type SnappedEvent = BoundsEvent & {
14152
+ type: 'snapped';
14153
+ snapLocation: 'top' | 'bottom';
14154
+ };
14155
+
14146
14156
  /**
14147
14157
  * @interface
14148
14158
  */
@@ -14287,6 +14297,52 @@ declare class SnapshotSourceModule extends Base {
14287
14297
  wrap(identity: OpenFin_2.ApplicationIdentity): Promise<SnapshotSource>;
14288
14298
  }
14289
14299
 
14300
+ /**
14301
+ * Generated when a window enters or exits a snap zone during drag.
14302
+ * This event fires whenever the snap zone state changes (entry or exit).
14303
+ * @interface
14304
+ */
14305
+ declare type SnapZoneChangedEvent = BaseEvent_5 & {
14306
+ type: 'snap-zone-changed';
14307
+ /**
14308
+ * Array of locations that the window is currently in snap zones for.
14309
+ * Empty array indicates the window is not in any snap zone.
14310
+ * Can contain multiple locations if the window is in multiple zones simultaneously.
14311
+ */
14312
+ locations: Array<'top' | 'bottom'>;
14313
+ };
14314
+
14315
+ /**
14316
+ * @interface
14317
+ *
14318
+ * Configures snap zone behavior for a window. When enabled, the window will automatically snap to screen edges
14319
+ * when dragged near them during user drag interactions.
14320
+ */
14321
+ declare type SnapZoneOptions = {
14322
+ /**
14323
+ * Whether snap zone functionality is enabled for this window.
14324
+ *
14325
+ * @default false
14326
+ */
14327
+ enabled: boolean;
14328
+ /**
14329
+ * The distance in pixels from the screen edge that triggers the snap zone.
14330
+ * When the window is dragged within this threshold of the top or bottom edge,
14331
+ * it will be considered in a snap zone.
14332
+ *
14333
+ * @default 50
14334
+ */
14335
+ threshold?: number;
14336
+ /**
14337
+ * Ordered array of edge preferences when the window is in multiple snap zones simultaneously.
14338
+ * The first edge in the array that the window is in will be used for snapping.
14339
+ * If not provided, defaults to ['top', 'bottom'] (preferring top over bottom).
14340
+ *
14341
+ * @default ['top', 'bottom']
14342
+ */
14343
+ locationPreference?: Array<'top' | 'bottom'>;
14344
+ };
14345
+
14290
14346
  /**
14291
14347
  * Generated when an application has started.
14292
14348
  * @interface
@@ -19461,6 +19517,8 @@ declare namespace WindowEvents {
19461
19517
  BoundsChangingEvent,
19462
19518
  DisabledMovementBoundsChangedEvent,
19463
19519
  DisabledMovementBoundsChangingEvent,
19520
+ SnappedEvent,
19521
+ SnapZoneChangedEvent,
19464
19522
  UserBoundsChangeEvent,
19465
19523
  BeginUserBoundsChangingEvent,
19466
19524
  EndUserBoundsChangingEvent,
@@ -19703,7 +19761,7 @@ declare type WindowShowRequestedEvent = ShowRequestedEvent;
19703
19761
  * A union of all events that emit natively on the `Window` topic, i.e. excluding those that propagate
19704
19762
  * from {@link OpenFin.ViewEvents}.
19705
19763
  */
19706
- 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;
19764
+ 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 | SnappedEvent | SnapZoneChangedEvent;
19707
19765
 
19708
19766
  /**
19709
19767
  * Generated when a child window starts loading.
package/out/stub.d.ts CHANGED
@@ -10445,6 +10445,7 @@ declare namespace OpenFin_2 {
10445
10445
  ChannelProviderDisconnectionListener,
10446
10446
  RoutingInfo,
10447
10447
  DownloadShelfOptions,
10448
+ SnapZoneOptions,
10448
10449
  ViewShowAtOptions,
10449
10450
  WebNotificationProperties,
10450
10451
  WebNotificationInfo,
@@ -12441,7 +12442,7 @@ declare type PositioningOptions = {
12441
12442
  /**
12442
12443
  * Context menu item with an implementation provided by OpenFin.
12443
12444
  */
12444
- declare type PrebuiltContextMenuItem = 'separator' | 'undo' | 'redo' | 'cut' | 'copy' | 'copyImage' | 'paste' | 'selectAll' | 'spellCheck' | 'inspect' | 'reload' | 'navigateForward' | 'navigateBack' | 'print';
12445
+ declare type PrebuiltContextMenuItem = 'separator' | 'undo' | 'redo' | 'cut' | 'copy' | 'copyImage' | 'paste' | 'selectAll' | 'spellCheck' | 'inspect' | 'reload' | 'navigateForward' | 'navigateBack' | 'print' | 'snapToTop' | 'snapToBottom';
12445
12446
 
12446
12447
  /**
12447
12448
  * A script that is run before page load.
@@ -14560,6 +14561,15 @@ declare type Size = TransitionBase & {
14560
14561
  height: number;
14561
14562
  };
14562
14563
 
14564
+ /**
14565
+ * Generated when a window is snapped to a screen edge.
14566
+ * @interface
14567
+ */
14568
+ declare type SnappedEvent = BoundsEvent & {
14569
+ type: 'snapped';
14570
+ snapLocation: 'top' | 'bottom';
14571
+ };
14572
+
14563
14573
  /**
14564
14574
  * @interface
14565
14575
  */
@@ -14707,6 +14717,52 @@ declare class SnapshotSourceModule extends Base {
14707
14717
  wrap(identity: OpenFin_2.ApplicationIdentity): Promise<SnapshotSource>;
14708
14718
  }
14709
14719
 
14720
+ /**
14721
+ * Generated when a window enters or exits a snap zone during drag.
14722
+ * This event fires whenever the snap zone state changes (entry or exit).
14723
+ * @interface
14724
+ */
14725
+ declare type SnapZoneChangedEvent = BaseEvent_5 & {
14726
+ type: 'snap-zone-changed';
14727
+ /**
14728
+ * Array of locations that the window is currently in snap zones for.
14729
+ * Empty array indicates the window is not in any snap zone.
14730
+ * Can contain multiple locations if the window is in multiple zones simultaneously.
14731
+ */
14732
+ locations: Array<'top' | 'bottom'>;
14733
+ };
14734
+
14735
+ /**
14736
+ * @interface
14737
+ *
14738
+ * Configures snap zone behavior for a window. When enabled, the window will automatically snap to screen edges
14739
+ * when dragged near them during user drag interactions.
14740
+ */
14741
+ declare type SnapZoneOptions = {
14742
+ /**
14743
+ * Whether snap zone functionality is enabled for this window.
14744
+ *
14745
+ * @default false
14746
+ */
14747
+ enabled: boolean;
14748
+ /**
14749
+ * The distance in pixels from the screen edge that triggers the snap zone.
14750
+ * When the window is dragged within this threshold of the top or bottom edge,
14751
+ * it will be considered in a snap zone.
14752
+ *
14753
+ * @default 50
14754
+ */
14755
+ threshold?: number;
14756
+ /**
14757
+ * Ordered array of edge preferences when the window is in multiple snap zones simultaneously.
14758
+ * The first edge in the array that the window is in will be used for snapping.
14759
+ * If not provided, defaults to ['top', 'bottom'] (preferring top over bottom).
14760
+ *
14761
+ * @default ['top', 'bottom']
14762
+ */
14763
+ locationPreference?: Array<'top' | 'bottom'>;
14764
+ };
14765
+
14710
14766
  /**
14711
14767
  * Generated when an application has started.
14712
14768
  * @interface
@@ -19931,6 +19987,8 @@ declare namespace WindowEvents {
19931
19987
  BoundsChangingEvent,
19932
19988
  DisabledMovementBoundsChangedEvent,
19933
19989
  DisabledMovementBoundsChangingEvent,
19990
+ SnappedEvent,
19991
+ SnapZoneChangedEvent,
19934
19992
  UserBoundsChangeEvent,
19935
19993
  BeginUserBoundsChangingEvent,
19936
19994
  EndUserBoundsChangingEvent,
@@ -20173,7 +20231,7 @@ declare type WindowShowRequestedEvent = ShowRequestedEvent;
20173
20231
  * A union of all events that emit natively on the `Window` topic, i.e. excluding those that propagate
20174
20232
  * from {@link OpenFin.ViewEvents}.
20175
20233
  */
20176
- 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;
20234
+ 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 | SnappedEvent | SnapZoneChangedEvent;
20177
20235
 
20178
20236
  /**
20179
20237
  * Generated when a child window starts loading.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfin/core",
3
- "version": "44.100.46",
3
+ "version": "44.100.48",
4
4
  "description": "The core renderer entry point of OpenFin",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "main": "out/stub.js",