@openfin/core 44.100.49 → 44.100.51

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.
package/out/stub.d.ts CHANGED
@@ -94,6 +94,34 @@ declare type AnalyticsProtocolMap = {
94
94
  [k in AnalyticsOnlyCalls]: VoidCall;
95
95
  };
96
96
 
97
+ /**
98
+ * Represents an anchor configuration consisting of a bounding rectangle
99
+ * and an anchor point describing which part of that rectangle should be
100
+ * used as the reference for positioning the download bubble.
101
+ * @interface
102
+ */
103
+ declare type Anchor = {
104
+ /**
105
+ * The DOM or screen-space rectangle that defines the anchor area.
106
+ */
107
+ bounds: Rectangle;
108
+ /**
109
+ * The location within the rectangle that should act as the anchor
110
+ * (e.g., `topRight`, `bottomLeft`, `center`, etc.).
111
+ * For example, `topRight` means the rectangle's top-right corner is used
112
+ * as the anchoring reference point.
113
+ */
114
+ location: AnchorLocation;
115
+ };
116
+
117
+ /**
118
+ * Defines the point within the rectangle that should be used as the anchor
119
+ * when positioning UI elements relative to another surface.
120
+ *
121
+ * @interface
122
+ */
123
+ declare type AnchorLocation = 'topLeft' | 'topRight' | 'bottomLeft' | 'bottomRight' | 'leftTop' | 'rightTop' | 'leftBottom' | 'rightBottom' | 'topCenter' | 'bottomCenter' | 'leftCenter' | 'rightCenter' | 'none' | 'float';
124
+
97
125
  declare type AnchorType = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
98
126
 
99
127
  declare type AnyStrategy = ChannelStrategy<any>;
@@ -3926,6 +3954,10 @@ declare type ConstWindowOptions = {
3926
3954
  * Controls whether frameless window should have rounded corners. Default is false for Windows and true for MacOS. Setting this property to false will prevent the window from being fullscreenable on macOS. On Windows versions older than Windows 11 Build 22000 this property has no effect, and frameless windows will not have rounded corners.
3927
3955
  */
3928
3956
  roundedCorners: boolean;
3957
+ /**
3958
+ * Configuration for download bubble UI.
3959
+ */
3960
+ downloadBubble?: DownloadBubbleOptions;
3929
3961
  };
3930
3962
 
3931
3963
  /**
@@ -4678,6 +4710,50 @@ declare type DomainSettingsRule = {
4678
4710
  matchOptions?: RuleMatchOptions;
4679
4711
  };
4680
4712
 
4713
+ /**
4714
+ * Configuration options for enabling and positioning the download bubble UI.
4715
+ * @interface
4716
+ */
4717
+ declare type DownloadBubbleOptions = {
4718
+ /**
4719
+ * Whether the download bubble feature is enabled.
4720
+ */
4721
+ enabled: boolean;
4722
+ /**
4723
+ * Anchor configuration describing where the download bubble should attach.
4724
+ */
4725
+ anchor: Anchor;
4726
+ };
4727
+
4728
+ /**
4729
+ * Generated when the download button icon needs to be updated. Only raised if the download bubble feature is enabled.
4730
+ *
4731
+ * @interface
4732
+ */
4733
+ declare type DownloadButtonIconUpdatedEvent = BaseEvent_5 & {
4734
+ type: 'download-button-icon-updated';
4735
+ disabled: boolean;
4736
+ active: boolean;
4737
+ touchMode: boolean;
4738
+ progressIndicatorState: 'idle' | 'scanning' | 'downloading' | 'dormant';
4739
+ progressDownloadCount: number;
4740
+ progressPercentage: number;
4741
+ buttonTooltip: string;
4742
+ };
4743
+
4744
+ /**
4745
+ * Generated when the visibility of the window's download button changes. Only raised if the download bubble feature is enabled.
4746
+ *
4747
+ * @interface
4748
+ */
4749
+ declare type DownloadButtonVisibilityChangedEvent = BaseEvent_5 & {
4750
+ type: 'download-button-visibility-changed';
4751
+ /**
4752
+ * True if the download button should be displayed, false if it should be hidden.
4753
+ */
4754
+ visible: boolean;
4755
+ };
4756
+
4681
4757
  /**
4682
4758
  * Metadata returned from a preload script download request.
4683
4759
  *
@@ -4737,6 +4813,7 @@ declare type DownloadRule = {
4737
4813
  *
4738
4814
  * @remarks This will control the styling for the download shelf regardless of whether its display was
4739
4815
  * triggered by the window itself, or a view targeting the window.
4816
+ * @deprecated Use the DownloadBubble API instead.
4740
4817
  */
4741
4818
  declare type DownloadShelfOptions = {
4742
4819
  /**
@@ -4772,6 +4849,7 @@ declare type DownloadShelfOptions = {
4772
4849
  * Generated when the visibility of the window's download shelf changes.
4773
4850
  *
4774
4851
  * @interface
4852
+ * @deprecated use DownloadBubble API instead
4775
4853
  */
4776
4854
  declare type DownloadShelfVisibilityChangedEvent = BaseEvent_5 & {
4777
4855
  type: 'download-shelf-visibility-changed';
@@ -5043,7 +5121,7 @@ declare type Event_10 = ApplicationEvents.Event | ApiReadyEvent | SnapshotApplie
5043
5121
  * under the {@link OpenFin.SystemEvents} namespace (payloads inherited from propagated events are defined in the namespace
5044
5122
  * from which they propagate).
5045
5123
  */
5046
- declare type Event_11 = ExcludeRequested<WindowEvents.PropagatedEvent<'system'>> | ExcludeRequested<ViewEvents.PropagatedEvent<'system'>> | ExcludeRequested<ApplicationEvents.PropagatedEvent<'system'>> | ApplicationCreatedEvent | DesktopIconClickedEvent | IdleStateChangedEvent | MonitorInfoChangedEvent | SessionChangedEvent | AppVersionEventWithId | SystemShutdownEvent | ExtensionsEnabledEvent | ExtensionsDisabledEvent | ExtensionsExcludedEvent | ExtensionsInstalledEvent | ExtensionInstalledEvent | ExtensionsInstallFailedEvent | ExtensionInstallFailedEvent | ExtensionsInitializationFailedEvent | NativeThemeUpdatedEvent;
5124
+ declare type Event_11 = ExcludeRequested<WindowEvents.PropagatedEvent<'system'>> | ExcludeRequested<ViewEvents.PropagatedEvent<'system'>> | ExcludeRequested<ApplicationEvents.PropagatedEvent<'system'>> | ApplicationCreatedEvent | DesktopIconClickedEvent | IdleStateChangedEvent | MonitorInfoChangedEvent | SessionChangedEvent | AppVersionEventWithId | SystemShutdownEvent | ExtensionsEnabledEvent | ExtensionsDisabledEvent | ExtensionsExcludedEvent | ExtensionsInstalledEvent | ExtensionInstalledEvent | ExtensionsInstallFailedEvent | ExtensionInstallFailedEvent | ExtensionsInitializationFailedEvent | ThemePaletteChangedEvent | NativeThemeUpdatedEvent;
5047
5125
 
5048
5126
  /**
5049
5127
  * [Union](https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#union-types) containing every possible event that can be emitted by the HTMLElement Layout container.
@@ -8901,17 +8979,17 @@ declare type LayoutOptions = {
8901
8979
  disableTabOverflowDropdown?: boolean;
8902
8980
  /**
8903
8981
  * When set to 'scroll', enables horizontal scrolling of tabs when they overflow the stack width.
8904
- * When set to 'dropdown' the default golden-layouts behavior will apply.
8982
+ * When set to 'dropdown', the default behavior occurs, in which excess tabs appear in a menu.
8905
8983
  *
8906
- * Setting this to `scroll` may break styles written for the default dropdown behavior, as it significantly changes the dom structure and css of tabs.
8984
+ * Setting this to `scroll` might break styles written for the default dropdown behavior, as it significantly changes the DOM structure and CSS of tabs.
8907
8985
  *
8908
- * The DOM structure will be modified in this way:
8909
- * - `lm_tabs` will be wrapped in a div with class `lm_scroll_shadow`. This div will be revealed by a mask on the tabs when they are overflowing.
8910
- * - the `.newTabButton` (if enabled) will be a direct child of `.lm_header`
8986
+ * The DOM structure is modified in this way:
8987
+ * - `lm_tabs` is wrapped in a div with class `lm_scroll_shadow`. This div is revealed by a mask on the tabs when they are overflowing.
8988
+ * - the `.newTabButton` (if enabled) is a direct child of `.lm_header`
8911
8989
  *
8912
- * **The following css variables are available to customize tab appearance:**
8990
+ * **The following CSS variables are available to customize tab appearance:**
8913
8991
  *
8914
- * - `--layout-tab-width`: The default (max) width of the tabs. Using this enables using `lm_tab` as a queryable css container (must be an absolute value to use container queries). Default: `fit-content`
8992
+ * - `--layout-tab-width`: The default (max) width of the tabs. Using this enables using `lm_tab` as a queryable CSS container (must be an absolute value to use container queries). Default: `fit-content`
8915
8993
  * - `--layout-tab-min-width`: The minimum width of the tabs before they start overflowing. Set this to enable tab shrinking. Defaults to the same value as `--layout-tab-width` (no shrinking).
8916
8994
  * - `--layout-tab-overflow-fade-size`: The width of the scroll shadows when tabs are overflowing. Default: `20px`
8917
8995
  * - `--layout-tab-overflow-shadow-color`: The color of the scroll shadows when tabs are overflowing. Enabling a contrasting shadow color may require setting the background color on `.lm_tabs` if it was not previously set via `--tabs-background-color`. Default is transparent so overlowing tabs fade into the background.
@@ -8920,7 +8998,7 @@ declare type LayoutOptions = {
8920
8998
  *
8921
8999
  * - `--layout-tab-overflow-fade-left`: The strength of the left fade when tabs are overflowing. This is a number between 0 and 1 where 0 means no fade and 1 means a full fade.
8922
9000
  * - `--layout-tab-overflow-fade-right`: The strength of the right fade when tabs are overflowing. This is a number between 0 and 1 where 0 means no fade and 1 means a full fade.
8923
- * - `--layout-tabs-overflowing`: A [css space toggle](https://css-tricks.com/the-css-custom-property-toggle-trick/) that is empty when tabs are overflowing and `initial` otherwise. If you are only targeting Chrome > 137 you may want to use the `if()` function with left/right fade instead of this toggle.
9001
+ * - `--layout-tabs-overflowing`: A [CSS space toggle](https://css-tricks.com/the-css-custom-property-toggle-trick/) that is empty when tabs are overflowing and `initial` otherwise. If you are targeting only Chrome 137 or greater, you might want to use the `if()` function with left/right fade instead of this toggle.
8924
9002
  *
8925
9003
  * @example
8926
9004
  * ```css
@@ -9187,6 +9265,7 @@ declare type Manifest = {
9187
9265
  policies?: {
9188
9266
  CloudAPAuthEnabled?: 'enabled' | 'disabled';
9189
9267
  };
9268
+ themePalette?: Array<ThemePalette>;
9190
9269
  };
9191
9270
  services?: string[];
9192
9271
  shortcut?: {
@@ -9564,6 +9643,11 @@ declare type MutableViewOptions = {
9564
9643
  * {@inheritDoc ChromiumPolicies}
9565
9644
  */
9566
9645
  chromiumPolicies: ChromiumPolicies;
9646
+ /**
9647
+ * When set to `false`, disables sending application logs to RVM for this view.
9648
+ * When omitted, inherits from the parent application.
9649
+ */
9650
+ enableAppLogging?: boolean;
9567
9651
  };
9568
9652
 
9569
9653
  /**
@@ -9846,6 +9930,12 @@ declare type MutableWindowOptions = {
9846
9930
  * {@inheritDoc ChromiumPolicies}
9847
9931
  */
9848
9932
  chromiumPolicies: ChromiumPolicies;
9933
+ /**
9934
+ * When set to `false`, disables sending application logs to RVM for this window.
9935
+ * When omitted, inherits from the parent application.
9936
+ *
9937
+ */
9938
+ enableAppLogging?: boolean;
9849
9939
  };
9850
9940
 
9851
9941
  declare type NackHandler = (payloadOrMessage: RuntimeErrorPayload | string) => void;
@@ -10228,6 +10318,9 @@ declare namespace OpenFin_2 {
10228
10318
  CustomProtocolOptions,
10229
10319
  InteropBrokerOptions,
10230
10320
  ContextGroupInfo,
10321
+ AnchorLocation,
10322
+ Anchor,
10323
+ DownloadBubbleOptions,
10231
10324
  DisplayMetadata,
10232
10325
  LegacyWinOptionsInAppOptions,
10233
10326
  Snapshot,
@@ -10331,6 +10424,9 @@ declare namespace OpenFin_2 {
10331
10424
  LogUploaderUIOptions,
10332
10425
  LogTypes,
10333
10426
  LogUploadOptions,
10427
+ ThemeColorsMap,
10428
+ ThemeColorId,
10429
+ ThemePalette,
10334
10430
  Manifest,
10335
10431
  LayoutContent,
10336
10432
  LayoutItemConfig,
@@ -10832,6 +10928,11 @@ declare type PerDomainSettings = {
10832
10928
  */
10833
10929
  drag?: 'allow' | 'block';
10834
10930
  };
10931
+ /**
10932
+ * When set to `false`, disables sending application logs to RVM for this window.
10933
+ * When omitted, inherits from the parent application.
10934
+ */
10935
+ enableAppLogging?: boolean;
10835
10936
  };
10836
10937
 
10837
10938
  /**
@@ -13250,6 +13351,12 @@ declare type ProtocolMap = ExternalAdapterOnlyCallsMap & AnalyticsProtocolMap &
13250
13351
  'create-window': VoidCall;
13251
13352
  'get-current-window': VoidCall;
13252
13353
  'get-current-window-sync': VoidCall;
13354
+ 'show-download-bubble': IdentityCall<{
13355
+ options: OpenFin_2.Anchor;
13356
+ }, void>;
13357
+ 'update-download-bubble-anchor': IdentityCall<{
13358
+ options: OpenFin_2.Anchor;
13359
+ }, void>;
13253
13360
  'get-external-application-info': ApiCall<OpenFin_2.ApplicationIdentity, OpenFin_2.ExternalApplicationInfo>;
13254
13361
  'external-application-wrap': VoidCall;
13255
13362
  'external-application-wrap-sync': VoidCall;
@@ -13437,6 +13544,9 @@ declare type ProtocolMap = ExternalAdapterOnlyCallsMap & AnalyticsProtocolMap &
13437
13544
  'write-to-log': ApiCall<{
13438
13545
  level: string;
13439
13546
  message: string;
13547
+ target?: {
13548
+ type?: 'app.log' | 'debug.log';
13549
+ };
13440
13550
  }, void>;
13441
13551
  'open-url-with-browser': ApiCall<{
13442
13552
  url: string;
@@ -13600,6 +13710,15 @@ declare type ProtocolMap = ExternalAdapterOnlyCallsMap & AnalyticsProtocolMap &
13600
13710
  request: void;
13601
13711
  response: OpenFin_2.ExtensionInfo[];
13602
13712
  };
13713
+ 'set-theme-palette': ApiCall<{
13714
+ themePalette: Array<OpenFin_2.ThemePalette>;
13715
+ }, void> & {
13716
+ themePalette: Array<OpenFin_2.ThemePalette>;
13717
+ };
13718
+ 'get-theme-palette': ApiCall<void, Array<OpenFin_2.ThemePalette>> & {
13719
+ request: void;
13720
+ response: Array<OpenFin_2.ThemePalette>;
13721
+ };
13603
13722
  'fdc3-add-context-listener': VoidCall;
13604
13723
  'fdc3-add-intent-listener': VoidCall;
13605
13724
  'fdc3-raise-intent': VoidCall;
@@ -15657,13 +15776,16 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
15657
15776
  * Writes the passed message into both the log file and the console.
15658
15777
  * @param level The log level for the entry. Can be either "info", "warning" or "error"
15659
15778
  * @param message The log message text
15779
+ * @param target.type Optional. The the log stream this message will be sent to, defaults to 'debug.log'. Specify 'app.log' to log to the app log of the sending View / Window. Note, when using `app.log`, it will always log to app.log irrespective of the `enableAppLogging` setting for the sender. This is particularly useful if you wish to log certain things from a View / Window but ignore generic console logs.
15660
15780
  *
15661
15781
  * @example
15662
15782
  * ```js
15663
- * fin.System.log("info", "An example log message").then(() => console.log('Log info message')).catch(err => console.log(err));
15783
+ * fin.System.log("info", "An example log message", { type: 'debug.log' }).then(() => console.log('Log info message')).catch(err => console.log(err));
15664
15784
  * ```
15665
15785
  */
15666
- log(level: string, message: string): Promise<void>;
15786
+ log(level: string, message: string, { type }?: {
15787
+ type?: 'app.log' | 'debug.log';
15788
+ }): Promise<void>;
15667
15789
  /**
15668
15790
  * Opens the passed URL in the default web browser.
15669
15791
  *
@@ -16485,6 +16607,16 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
16485
16607
  * @experimental
16486
16608
  */
16487
16609
  launchLogUploader(options: OpenFin_2.LogUploaderOptions): Promise<void>;
16610
+ /**
16611
+ * Overrides original Chromium theme color providers matching key (currently except high contrast ones). Only colors passed in the map will be overridden.
16612
+ * @param overrides - Array of ColorProviderOverrides objects
16613
+ */
16614
+ setThemePalette(themePalette: Array<OpenFin_2.ThemePalette>): Promise<void>;
16615
+ /**
16616
+ * Retrieves currently used color overrides
16617
+ * @returns Array of ColorProviderOverrides objects
16618
+ */
16619
+ getThemePalette(): Promise<Array<OpenFin_2.ThemePalette>>;
16488
16620
  }
16489
16621
 
16490
16622
  /**
@@ -16523,6 +16655,7 @@ declare namespace SystemEvents {
16523
16655
  ExtensionsInstallFailedEvent,
16524
16656
  ExtensionInstallFailedEvent,
16525
16657
  ExtensionsInitializationFailedEvent,
16658
+ ThemePaletteChangedEvent,
16526
16659
  NativeThemeUpdatedEvent,
16527
16660
  Event_11 as Event,
16528
16661
  SystemEvent,
@@ -16801,6 +16934,104 @@ declare type TerminateExternalRequestType = {
16801
16934
  killTree: boolean;
16802
16935
  };
16803
16936
 
16937
+ /**
16938
+ * String literal type of all supported theme color IDs.
16939
+ * Useful wherever you need to refer to a color slot by name.
16940
+ * @interface
16941
+ */
16942
+ declare type ThemeColorId = keyof ThemeColorsMap;
16943
+
16944
+ /**
16945
+ * All supported color slots for the Download Bubble and related UI.
16946
+ * @interface
16947
+ */
16948
+ declare interface ThemeColorsMap {
16949
+ /**
16950
+ * Enterprise/Window/Background – bubble header and footer background.
16951
+ */
16952
+ kColorBubbleBackground?: number;
16953
+ /**
16954
+ * Windows only – Enterprise/Window/Border.
16955
+ */
16956
+ kColorBubbleBorder?: number;
16957
+ /**
16958
+ * Windows only – Enterprise/Window/Border (large shadow).
16959
+ */
16960
+ kColorBubbleBorderShadowLarge?: number;
16961
+ /**
16962
+ * Windows only – Enterprise/Window/Border (small shadow).
16963
+ */
16964
+ kColorBubbleBorderShadowSmall?: number;
16965
+ /**
16966
+ * Enterprise/Window/Background – downloaded item row background.
16967
+ */
16968
+ kColorDialogBackground?: number;
16969
+ /**
16970
+ * Enterprise/Search Result/Background/Hover – download item row hover.
16971
+ */
16972
+ kColorDownloadBubbleRowHover?: number;
16973
+ /**
16974
+ * Enterprise/Window/Icon – “Show all downloads” icon color.
16975
+ */
16976
+ kColorDownloadBubbleShowAllDownloadsIcon?: number;
16977
+ /**
16978
+ * Enterprise/Search Result/Background/Hover – full download history
16979
+ * button (full row) hover background.
16980
+ */
16981
+ kColorHoverButtonBackgroundHovered?: number;
16982
+ /**
16983
+ * Shared/Icon Button/Subtle/Icon/Default – SVG icon color
16984
+ * (except full download history button).
16985
+ */
16986
+ kColorIcon?: number;
16987
+ /**
16988
+ * Enterprise/Window/Text/Base – main label text color.
16989
+ * May be post-processed to increase readability on kColorDialogBackground
16990
+ * (can be disabled via transparent kColorLabelBackground).
16991
+ */
16992
+ kColorLabelForeground?: number;
16993
+ /**
16994
+ * Label background used for readability adjustment.
16995
+ * Set to transparent (0) to disable Chromium’s readability alignment logic.
16996
+ */
16997
+ kColorLabelBackground?: number;
16998
+ /**
16999
+ * Enterprise/Window/Text/Soft – secondary text color.
17000
+ * May be post-processed to increase readability on kColorDialogBackground
17001
+ * (can be disabled via transparent kColorLabelBackground).
17002
+ */
17003
+ kColorSecondaryForeground?: number;
17004
+ }
17005
+
17006
+ /**
17007
+ * Defines a set of color overrides for Chromium UI surfaces based on a theme
17008
+ * provider (e.g., light or dark mode).
17009
+ * @interface
17010
+ */
17011
+ declare type ThemePalette = {
17012
+ /**
17013
+ * Identifies the color provider mode that the palette applies to.
17014
+ */
17015
+ colorProviderKey: {
17016
+ /**
17017
+ * The UI color mode that this palette is intended to style.
17018
+ */
17019
+ colorMode: 'light' | 'dark';
17020
+ };
17021
+ /**
17022
+ * A mapping of known Chromium color IDs to ARGB values (0xAARRGGBB).
17023
+ */
17024
+ colorsMap: ThemeColorsMap;
17025
+ };
17026
+
17027
+ /**
17028
+ * An event that fires when the system theme palette is changed.
17029
+ */
17030
+ declare type ThemePaletteChangedEvent = BaseEvent_9 & {
17031
+ type: 'theme-palette-changed';
17032
+ themePalette: OpenFin_2.ThemePalette;
17033
+ };
17034
+
16804
17035
  /**
16805
17036
  * Settable options for the native theme of the operating system.
16806
17037
  */
@@ -20033,6 +20264,32 @@ declare class _Window extends WebContents<OpenFin_2.WindowEvent> {
20033
20264
  * To print the views embedded in their page context, set `content` to `screenshot`.
20034
20265
  */
20035
20266
  print(options?: OpenFin_2.WindowPrintOptions): Promise<void>;
20267
+ /**
20268
+ * Displays the download bubble UI. If an anchor is provided, the bubble
20269
+ * will be positioned according to the specified rectangle and anchor point.
20270
+ *
20271
+ * @param {OpenFin.Anchor} options
20272
+ * Anchor configuration used to position the download bubble. This includes
20273
+ * the bounding rectangle and the anchor location within that rectangle.
20274
+ *
20275
+ * @returns {Promise<void>}
20276
+ * A promise that resolves once the request to show the download bubble
20277
+ * has been processed.
20278
+ */
20279
+ showDownloadBubble(options: OpenFin_2.Anchor): Promise<void>;
20280
+ /**
20281
+ * Updates the anchor used for positioning the download bubble. This allows
20282
+ * moving the bubble reactively—for example, in response to window resizes,
20283
+ * layout changes, or DOM element repositioning.
20284
+ *
20285
+ * @param {OpenFin.Anchor} options
20286
+ * New anchor configuration describing the updated position and anchor
20287
+ * location for the download bubble.
20288
+ *
20289
+ * @returns {Promise<void>}
20290
+ * A promise that resolves once the anchor update has been applied.
20291
+ */
20292
+ updateDownloadBubbleAnchor(options: OpenFin_2.Anchor): Promise<void>;
20036
20293
  }
20037
20294
 
20038
20295
  /**
@@ -20228,6 +20485,8 @@ declare namespace WindowEvents {
20228
20485
  NonPropagatedWindowEvent,
20229
20486
  ShowAllDownloadsEvent,
20230
20487
  DownloadShelfVisibilityChangedEvent,
20488
+ DownloadButtonVisibilityChangedEvent,
20489
+ DownloadButtonIconUpdatedEvent,
20231
20490
  WindowSourcedEvent,
20232
20491
  WillPropagateWindowEvent,
20233
20492
  Event_6 as Event,
@@ -20431,7 +20690,7 @@ declare type WindowShowRequestedEvent = ShowRequestedEvent;
20431
20690
  * A union of all events that emit natively on the `Window` topic, i.e. excluding those that propagate
20432
20691
  * from {@link OpenFin.ViewEvents}.
20433
20692
  */
20434
- 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;
20693
+ 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;
20435
20694
 
20436
20695
  /**
20437
20696
  * Generated when a child window starts loading.
package/out/stub.js CHANGED
@@ -5179,6 +5179,38 @@ function requireInstance () {
5179
5179
  return undefined;
5180
5180
  }
5181
5181
  }
5182
+ /**
5183
+ * Displays the download bubble UI. If an anchor is provided, the bubble
5184
+ * will be positioned according to the specified rectangle and anchor point.
5185
+ *
5186
+ * @param {OpenFin.Anchor} options
5187
+ * Anchor configuration used to position the download bubble. This includes
5188
+ * the bounding rectangle and the anchor location within that rectangle.
5189
+ *
5190
+ * @returns {Promise<void>}
5191
+ * A promise that resolves once the request to show the download bubble
5192
+ * has been processed.
5193
+ */
5194
+ async showDownloadBubble(options) {
5195
+ return this.wire.sendAction('show-download-bubble', { ...this.identity, options }).then(() => undefined);
5196
+ }
5197
+ /**
5198
+ * Updates the anchor used for positioning the download bubble. This allows
5199
+ * moving the bubble reactively—for example, in response to window resizes,
5200
+ * layout changes, or DOM element repositioning.
5201
+ *
5202
+ * @param {OpenFin.Anchor} options
5203
+ * New anchor configuration describing the updated position and anchor
5204
+ * location for the download bubble.
5205
+ *
5206
+ * @returns {Promise<void>}
5207
+ * A promise that resolves once the anchor update has been applied.
5208
+ */
5209
+ async updateDownloadBubbleAnchor(options) {
5210
+ return this.wire
5211
+ .sendAction('update-download-bubble-anchor', { ...this.identity, options })
5212
+ .then(() => undefined);
5213
+ }
5182
5214
  }
5183
5215
  Instance$7._Window = _Window;
5184
5216
  return Instance$7;
@@ -6264,14 +6296,15 @@ class System extends base_1$m.EmitterBase {
6264
6296
  * Writes the passed message into both the log file and the console.
6265
6297
  * @param level The log level for the entry. Can be either "info", "warning" or "error"
6266
6298
  * @param message The log message text
6299
+ * @param target.type Optional. The the log stream this message will be sent to, defaults to 'debug.log'. Specify 'app.log' to log to the app log of the sending View / Window. Note, when using `app.log`, it will always log to app.log irrespective of the `enableAppLogging` setting for the sender. This is particularly useful if you wish to log certain things from a View / Window but ignore generic console logs.
6267
6300
  *
6268
6301
  * @example
6269
6302
  * ```js
6270
- * fin.System.log("info", "An example log message").then(() => console.log('Log info message')).catch(err => console.log(err));
6303
+ * fin.System.log("info", "An example log message", { type: 'debug.log' }).then(() => console.log('Log info message')).catch(err => console.log(err));
6271
6304
  * ```
6272
6305
  */
6273
- log(level, message) {
6274
- return this.wire.sendAction('write-to-log', { level, message }).then(() => undefined);
6306
+ log(level, message, { type = 'debug.log' } = {}) {
6307
+ return this.wire.sendAction('write-to-log', { level, message, target: { type } }).then(() => undefined);
6275
6308
  }
6276
6309
  /**
6277
6310
  * Opens the passed URL in the default web browser.
@@ -7376,6 +7409,21 @@ class System extends base_1$m.EmitterBase {
7376
7409
  async launchLogUploader(options) {
7377
7410
  return (await this.wire.sendAction('launch-log-uploader', { options })).payload.data;
7378
7411
  }
7412
+ /**
7413
+ * Overrides original Chromium theme color providers matching key (currently except high contrast ones). Only colors passed in the map will be overridden.
7414
+ * @param overrides - Array of ColorProviderOverrides objects
7415
+ */
7416
+ async setThemePalette(themePalette) {
7417
+ return (await this.wire.sendAction('set-theme-palette', { themePalette })).payload.data;
7418
+ }
7419
+ /**
7420
+ * Retrieves currently used color overrides
7421
+ * @returns Array of ColorProviderOverrides objects
7422
+ */
7423
+ async getThemePalette() {
7424
+ const { payload } = await this.wire.sendAction('get-theme-palette');
7425
+ return payload.data;
7426
+ }
7379
7427
  }
7380
7428
  system.System = System;
7381
7429
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfin/core",
3
- "version": "44.100.49",
3
+ "version": "44.100.51",
4
4
  "description": "The core renderer entry point of OpenFin",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "main": "out/stub.js",