@openfin/fdc3-api 44.100.49 → 44.100.50
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/fdc3-api-alpha.d.ts +271 -12
- package/out/fdc3-api-beta.d.ts +271 -12
- package/out/fdc3-api-public.d.ts +271 -12
- package/out/fdc3-api.d.ts +271 -12
- package/package.json +1 -1
package/out/fdc3-api.d.ts
CHANGED
|
@@ -91,6 +91,34 @@ declare type AnalyticsProtocolMap = {
|
|
|
91
91
|
[k in AnalyticsOnlyCalls]: VoidCall;
|
|
92
92
|
};
|
|
93
93
|
|
|
94
|
+
/**
|
|
95
|
+
* Represents an anchor configuration consisting of a bounding rectangle
|
|
96
|
+
* and an anchor point describing which part of that rectangle should be
|
|
97
|
+
* used as the reference for positioning the download bubble.
|
|
98
|
+
* @interface
|
|
99
|
+
*/
|
|
100
|
+
declare type Anchor = {
|
|
101
|
+
/**
|
|
102
|
+
* The DOM or screen-space rectangle that defines the anchor area.
|
|
103
|
+
*/
|
|
104
|
+
bounds: Rectangle;
|
|
105
|
+
/**
|
|
106
|
+
* The location within the rectangle that should act as the anchor
|
|
107
|
+
* (e.g., `topRight`, `bottomLeft`, `center`, etc.).
|
|
108
|
+
* For example, `topRight` means the rectangle's top-right corner is used
|
|
109
|
+
* as the anchoring reference point.
|
|
110
|
+
*/
|
|
111
|
+
location: AnchorLocation;
|
|
112
|
+
};
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* Defines the point within the rectangle that should be used as the anchor
|
|
116
|
+
* when positioning UI elements relative to another surface.
|
|
117
|
+
*
|
|
118
|
+
* @interface
|
|
119
|
+
*/
|
|
120
|
+
declare type AnchorLocation = 'topLeft' | 'topRight' | 'bottomLeft' | 'bottomRight' | 'leftTop' | 'rightTop' | 'leftBottom' | 'rightBottom' | 'topCenter' | 'bottomCenter' | 'leftCenter' | 'rightCenter' | 'none' | 'float';
|
|
121
|
+
|
|
94
122
|
declare type AnchorType = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
|
|
95
123
|
|
|
96
124
|
declare type AnyStrategy = ChannelStrategy<any>;
|
|
@@ -3923,6 +3951,10 @@ declare type ConstWindowOptions = {
|
|
|
3923
3951
|
* 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.
|
|
3924
3952
|
*/
|
|
3925
3953
|
roundedCorners: boolean;
|
|
3954
|
+
/**
|
|
3955
|
+
* Configuration for download bubble UI.
|
|
3956
|
+
*/
|
|
3957
|
+
downloadBubble?: DownloadBubbleOptions;
|
|
3926
3958
|
};
|
|
3927
3959
|
|
|
3928
3960
|
/**
|
|
@@ -4675,6 +4707,50 @@ declare type DomainSettingsRule = {
|
|
|
4675
4707
|
matchOptions?: RuleMatchOptions;
|
|
4676
4708
|
};
|
|
4677
4709
|
|
|
4710
|
+
/**
|
|
4711
|
+
* Configuration options for enabling and positioning the download bubble UI.
|
|
4712
|
+
* @interface
|
|
4713
|
+
*/
|
|
4714
|
+
declare type DownloadBubbleOptions = {
|
|
4715
|
+
/**
|
|
4716
|
+
* Whether the download bubble feature is enabled.
|
|
4717
|
+
*/
|
|
4718
|
+
enabled: boolean;
|
|
4719
|
+
/**
|
|
4720
|
+
* Anchor configuration describing where the download bubble should attach.
|
|
4721
|
+
*/
|
|
4722
|
+
anchor: Anchor;
|
|
4723
|
+
};
|
|
4724
|
+
|
|
4725
|
+
/**
|
|
4726
|
+
* Generated when the download button icon needs to be updated. Only raised if the download bubble feature is enabled.
|
|
4727
|
+
*
|
|
4728
|
+
* @interface
|
|
4729
|
+
*/
|
|
4730
|
+
declare type DownloadButtonIconUpdatedEvent = BaseEvent_5 & {
|
|
4731
|
+
type: 'download-button-icon-updated';
|
|
4732
|
+
disabled: boolean;
|
|
4733
|
+
active: boolean;
|
|
4734
|
+
touchMode: boolean;
|
|
4735
|
+
progressIndicatorState: 'idle' | 'scanning' | 'downloading' | 'dormant';
|
|
4736
|
+
progressDownloadCount: number;
|
|
4737
|
+
progressPercentage: number;
|
|
4738
|
+
buttonTooltip: string;
|
|
4739
|
+
};
|
|
4740
|
+
|
|
4741
|
+
/**
|
|
4742
|
+
* Generated when the visibility of the window's download button changes. Only raised if the download bubble feature is enabled.
|
|
4743
|
+
*
|
|
4744
|
+
* @interface
|
|
4745
|
+
*/
|
|
4746
|
+
declare type DownloadButtonVisibilityChangedEvent = BaseEvent_5 & {
|
|
4747
|
+
type: 'download-button-visibility-changed';
|
|
4748
|
+
/**
|
|
4749
|
+
* True if the download button should be displayed, false if it should be hidden.
|
|
4750
|
+
*/
|
|
4751
|
+
visible: boolean;
|
|
4752
|
+
};
|
|
4753
|
+
|
|
4678
4754
|
/**
|
|
4679
4755
|
* Metadata returned from a preload script download request.
|
|
4680
4756
|
*
|
|
@@ -4734,6 +4810,7 @@ declare type DownloadRule = {
|
|
|
4734
4810
|
*
|
|
4735
4811
|
* @remarks This will control the styling for the download shelf regardless of whether its display was
|
|
4736
4812
|
* triggered by the window itself, or a view targeting the window.
|
|
4813
|
+
* @deprecated Use the DownloadBubble API instead.
|
|
4737
4814
|
*/
|
|
4738
4815
|
declare type DownloadShelfOptions = {
|
|
4739
4816
|
/**
|
|
@@ -4769,6 +4846,7 @@ declare type DownloadShelfOptions = {
|
|
|
4769
4846
|
* Generated when the visibility of the window's download shelf changes.
|
|
4770
4847
|
*
|
|
4771
4848
|
* @interface
|
|
4849
|
+
* @deprecated use DownloadBubble API instead
|
|
4772
4850
|
*/
|
|
4773
4851
|
declare type DownloadShelfVisibilityChangedEvent = BaseEvent_5 & {
|
|
4774
4852
|
type: 'download-shelf-visibility-changed';
|
|
@@ -5040,7 +5118,7 @@ declare type Event_10 = ApplicationEvents.Event | ApiReadyEvent | SnapshotApplie
|
|
|
5040
5118
|
* under the {@link OpenFin.SystemEvents} namespace (payloads inherited from propagated events are defined in the namespace
|
|
5041
5119
|
* from which they propagate).
|
|
5042
5120
|
*/
|
|
5043
|
-
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;
|
|
5121
|
+
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;
|
|
5044
5122
|
|
|
5045
5123
|
/**
|
|
5046
5124
|
* [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.
|
|
@@ -9243,17 +9321,17 @@ declare type LayoutOptions = {
|
|
|
9243
9321
|
disableTabOverflowDropdown?: boolean;
|
|
9244
9322
|
/**
|
|
9245
9323
|
* When set to 'scroll', enables horizontal scrolling of tabs when they overflow the stack width.
|
|
9246
|
-
* When set to 'dropdown' the default
|
|
9324
|
+
* When set to 'dropdown', the default behavior occurs, in which excess tabs appear in a menu.
|
|
9247
9325
|
*
|
|
9248
|
-
* Setting this to `scroll`
|
|
9326
|
+
* Setting this to `scroll` might break styles written for the default dropdown behavior, as it significantly changes the DOM structure and CSS of tabs.
|
|
9249
9327
|
*
|
|
9250
|
-
* The DOM structure
|
|
9251
|
-
* - `lm_tabs`
|
|
9252
|
-
* - the `.newTabButton` (if enabled)
|
|
9328
|
+
* The DOM structure is modified in this way:
|
|
9329
|
+
* - `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.
|
|
9330
|
+
* - the `.newTabButton` (if enabled) is a direct child of `.lm_header`
|
|
9253
9331
|
*
|
|
9254
|
-
* **The following
|
|
9332
|
+
* **The following CSS variables are available to customize tab appearance:**
|
|
9255
9333
|
*
|
|
9256
|
-
* - `--layout-tab-width`: The default (max) width of the tabs. Using this enables using `lm_tab` as a queryable
|
|
9334
|
+
* - `--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`
|
|
9257
9335
|
* - `--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).
|
|
9258
9336
|
* - `--layout-tab-overflow-fade-size`: The width of the scroll shadows when tabs are overflowing. Default: `20px`
|
|
9259
9337
|
* - `--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.
|
|
@@ -9262,7 +9340,7 @@ declare type LayoutOptions = {
|
|
|
9262
9340
|
*
|
|
9263
9341
|
* - `--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.
|
|
9264
9342
|
* - `--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.
|
|
9265
|
-
* - `--layout-tabs-overflowing`: A [
|
|
9343
|
+
* - `--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.
|
|
9266
9344
|
*
|
|
9267
9345
|
* @example
|
|
9268
9346
|
* ```css
|
|
@@ -9529,6 +9607,7 @@ declare type Manifest = {
|
|
|
9529
9607
|
policies?: {
|
|
9530
9608
|
CloudAPAuthEnabled?: 'enabled' | 'disabled';
|
|
9531
9609
|
};
|
|
9610
|
+
themePalette?: Array<ThemePalette>;
|
|
9532
9611
|
};
|
|
9533
9612
|
services?: string[];
|
|
9534
9613
|
shortcut?: {
|
|
@@ -9906,6 +9985,11 @@ declare type MutableViewOptions = {
|
|
|
9906
9985
|
* {@inheritDoc ChromiumPolicies}
|
|
9907
9986
|
*/
|
|
9908
9987
|
chromiumPolicies: ChromiumPolicies;
|
|
9988
|
+
/**
|
|
9989
|
+
* When set to `false`, disables sending application logs to RVM for this view.
|
|
9990
|
+
* When omitted, inherits from the parent application.
|
|
9991
|
+
*/
|
|
9992
|
+
enableAppLogging?: boolean;
|
|
9909
9993
|
};
|
|
9910
9994
|
|
|
9911
9995
|
/**
|
|
@@ -10188,6 +10272,12 @@ declare type MutableWindowOptions = {
|
|
|
10188
10272
|
* {@inheritDoc ChromiumPolicies}
|
|
10189
10273
|
*/
|
|
10190
10274
|
chromiumPolicies: ChromiumPolicies;
|
|
10275
|
+
/**
|
|
10276
|
+
* When set to `false`, disables sending application logs to RVM for this window.
|
|
10277
|
+
* When omitted, inherits from the parent application.
|
|
10278
|
+
*
|
|
10279
|
+
*/
|
|
10280
|
+
enableAppLogging?: boolean;
|
|
10191
10281
|
};
|
|
10192
10282
|
|
|
10193
10283
|
declare type NackHandler = (payloadOrMessage: RuntimeErrorPayload | string) => void;
|
|
@@ -10570,6 +10660,9 @@ declare namespace OpenFin {
|
|
|
10570
10660
|
CustomProtocolOptions,
|
|
10571
10661
|
InteropBrokerOptions,
|
|
10572
10662
|
ContextGroupInfo,
|
|
10663
|
+
AnchorLocation,
|
|
10664
|
+
Anchor,
|
|
10665
|
+
DownloadBubbleOptions,
|
|
10573
10666
|
DisplayMetadata,
|
|
10574
10667
|
LegacyWinOptionsInAppOptions,
|
|
10575
10668
|
Snapshot,
|
|
@@ -10673,6 +10766,9 @@ declare namespace OpenFin {
|
|
|
10673
10766
|
LogUploaderUIOptions,
|
|
10674
10767
|
LogTypes,
|
|
10675
10768
|
LogUploadOptions,
|
|
10769
|
+
ThemeColorsMap,
|
|
10770
|
+
ThemeColorId,
|
|
10771
|
+
ThemePalette,
|
|
10676
10772
|
Manifest,
|
|
10677
10773
|
LayoutContent,
|
|
10678
10774
|
LayoutItemConfig,
|
|
@@ -11172,6 +11268,11 @@ declare type PerDomainSettings = {
|
|
|
11172
11268
|
*/
|
|
11173
11269
|
drag?: 'allow' | 'block';
|
|
11174
11270
|
};
|
|
11271
|
+
/**
|
|
11272
|
+
* When set to `false`, disables sending application logs to RVM for this window.
|
|
11273
|
+
* When omitted, inherits from the parent application.
|
|
11274
|
+
*/
|
|
11275
|
+
enableAppLogging?: boolean;
|
|
11175
11276
|
};
|
|
11176
11277
|
|
|
11177
11278
|
/**
|
|
@@ -13590,6 +13691,12 @@ declare type ProtocolMap = ExternalAdapterOnlyCallsMap & AnalyticsProtocolMap &
|
|
|
13590
13691
|
'create-window': VoidCall;
|
|
13591
13692
|
'get-current-window': VoidCall;
|
|
13592
13693
|
'get-current-window-sync': VoidCall;
|
|
13694
|
+
'show-download-bubble': IdentityCall<{
|
|
13695
|
+
options: OpenFin.Anchor;
|
|
13696
|
+
}, void>;
|
|
13697
|
+
'update-download-bubble-anchor': IdentityCall<{
|
|
13698
|
+
options: OpenFin.Anchor;
|
|
13699
|
+
}, void>;
|
|
13593
13700
|
'get-external-application-info': ApiCall<OpenFin.ApplicationIdentity, OpenFin.ExternalApplicationInfo>;
|
|
13594
13701
|
'external-application-wrap': VoidCall;
|
|
13595
13702
|
'external-application-wrap-sync': VoidCall;
|
|
@@ -13777,6 +13884,9 @@ declare type ProtocolMap = ExternalAdapterOnlyCallsMap & AnalyticsProtocolMap &
|
|
|
13777
13884
|
'write-to-log': ApiCall<{
|
|
13778
13885
|
level: string;
|
|
13779
13886
|
message: string;
|
|
13887
|
+
target?: {
|
|
13888
|
+
type?: 'app.log' | 'debug.log';
|
|
13889
|
+
};
|
|
13780
13890
|
}, void>;
|
|
13781
13891
|
'open-url-with-browser': ApiCall<{
|
|
13782
13892
|
url: string;
|
|
@@ -13940,6 +14050,15 @@ declare type ProtocolMap = ExternalAdapterOnlyCallsMap & AnalyticsProtocolMap &
|
|
|
13940
14050
|
request: void;
|
|
13941
14051
|
response: OpenFin.ExtensionInfo[];
|
|
13942
14052
|
};
|
|
14053
|
+
'set-theme-palette': ApiCall<{
|
|
14054
|
+
themePalette: Array<OpenFin.ThemePalette>;
|
|
14055
|
+
}, void> & {
|
|
14056
|
+
themePalette: Array<OpenFin.ThemePalette>;
|
|
14057
|
+
};
|
|
14058
|
+
'get-theme-palette': ApiCall<void, Array<OpenFin.ThemePalette>> & {
|
|
14059
|
+
request: void;
|
|
14060
|
+
response: Array<OpenFin.ThemePalette>;
|
|
14061
|
+
};
|
|
13943
14062
|
'fdc3-add-context-listener': VoidCall;
|
|
13944
14063
|
'fdc3-add-intent-listener': VoidCall;
|
|
13945
14064
|
'fdc3-raise-intent': VoidCall;
|
|
@@ -15997,13 +16116,16 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
15997
16116
|
* Writes the passed message into both the log file and the console.
|
|
15998
16117
|
* @param level The log level for the entry. Can be either "info", "warning" or "error"
|
|
15999
16118
|
* @param message The log message text
|
|
16119
|
+
* @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.
|
|
16000
16120
|
*
|
|
16001
16121
|
* @example
|
|
16002
16122
|
* ```js
|
|
16003
|
-
* fin.System.log("info", "An example log message").then(() => console.log('Log info message')).catch(err => console.log(err));
|
|
16123
|
+
* fin.System.log("info", "An example log message", { type: 'debug.log' }).then(() => console.log('Log info message')).catch(err => console.log(err));
|
|
16004
16124
|
* ```
|
|
16005
16125
|
*/
|
|
16006
|
-
log(level: string, message: string
|
|
16126
|
+
log(level: string, message: string, { type }?: {
|
|
16127
|
+
type?: 'app.log' | 'debug.log';
|
|
16128
|
+
}): Promise<void>;
|
|
16007
16129
|
/**
|
|
16008
16130
|
* Opens the passed URL in the default web browser.
|
|
16009
16131
|
*
|
|
@@ -16825,6 +16947,16 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
16825
16947
|
* @experimental
|
|
16826
16948
|
*/
|
|
16827
16949
|
launchLogUploader(options: OpenFin.LogUploaderOptions): Promise<void>;
|
|
16950
|
+
/**
|
|
16951
|
+
* Overrides original Chromium theme color providers matching key (currently except high contrast ones). Only colors passed in the map will be overridden.
|
|
16952
|
+
* @param overrides - Array of ColorProviderOverrides objects
|
|
16953
|
+
*/
|
|
16954
|
+
setThemePalette(themePalette: Array<OpenFin.ThemePalette>): Promise<void>;
|
|
16955
|
+
/**
|
|
16956
|
+
* Retrieves currently used color overrides
|
|
16957
|
+
* @returns Array of ColorProviderOverrides objects
|
|
16958
|
+
*/
|
|
16959
|
+
getThemePalette(): Promise<Array<OpenFin.ThemePalette>>;
|
|
16828
16960
|
}
|
|
16829
16961
|
|
|
16830
16962
|
/**
|
|
@@ -16863,6 +16995,7 @@ declare namespace SystemEvents {
|
|
|
16863
16995
|
ExtensionsInstallFailedEvent,
|
|
16864
16996
|
ExtensionInstallFailedEvent,
|
|
16865
16997
|
ExtensionsInitializationFailedEvent,
|
|
16998
|
+
ThemePaletteChangedEvent,
|
|
16866
16999
|
NativeThemeUpdatedEvent,
|
|
16867
17000
|
Event_11 as Event,
|
|
16868
17001
|
SystemEvent,
|
|
@@ -17141,6 +17274,104 @@ declare type TerminateExternalRequestType = {
|
|
|
17141
17274
|
killTree: boolean;
|
|
17142
17275
|
};
|
|
17143
17276
|
|
|
17277
|
+
/**
|
|
17278
|
+
* String literal type of all supported theme color IDs.
|
|
17279
|
+
* Useful wherever you need to refer to a color slot by name.
|
|
17280
|
+
* @interface
|
|
17281
|
+
*/
|
|
17282
|
+
declare type ThemeColorId = keyof ThemeColorsMap;
|
|
17283
|
+
|
|
17284
|
+
/**
|
|
17285
|
+
* All supported color slots for the Download Bubble and related UI.
|
|
17286
|
+
* @interface
|
|
17287
|
+
*/
|
|
17288
|
+
declare interface ThemeColorsMap {
|
|
17289
|
+
/**
|
|
17290
|
+
* Enterprise/Window/Background – bubble header and footer background.
|
|
17291
|
+
*/
|
|
17292
|
+
kColorBubbleBackground?: number;
|
|
17293
|
+
/**
|
|
17294
|
+
* Windows only – Enterprise/Window/Border.
|
|
17295
|
+
*/
|
|
17296
|
+
kColorBubbleBorder?: number;
|
|
17297
|
+
/**
|
|
17298
|
+
* Windows only – Enterprise/Window/Border (large shadow).
|
|
17299
|
+
*/
|
|
17300
|
+
kColorBubbleBorderShadowLarge?: number;
|
|
17301
|
+
/**
|
|
17302
|
+
* Windows only – Enterprise/Window/Border (small shadow).
|
|
17303
|
+
*/
|
|
17304
|
+
kColorBubbleBorderShadowSmall?: number;
|
|
17305
|
+
/**
|
|
17306
|
+
* Enterprise/Window/Background – downloaded item row background.
|
|
17307
|
+
*/
|
|
17308
|
+
kColorDialogBackground?: number;
|
|
17309
|
+
/**
|
|
17310
|
+
* Enterprise/Search Result/Background/Hover – download item row hover.
|
|
17311
|
+
*/
|
|
17312
|
+
kColorDownloadBubbleRowHover?: number;
|
|
17313
|
+
/**
|
|
17314
|
+
* Enterprise/Window/Icon – “Show all downloads” icon color.
|
|
17315
|
+
*/
|
|
17316
|
+
kColorDownloadBubbleShowAllDownloadsIcon?: number;
|
|
17317
|
+
/**
|
|
17318
|
+
* Enterprise/Search Result/Background/Hover – full download history
|
|
17319
|
+
* button (full row) hover background.
|
|
17320
|
+
*/
|
|
17321
|
+
kColorHoverButtonBackgroundHovered?: number;
|
|
17322
|
+
/**
|
|
17323
|
+
* Shared/Icon Button/Subtle/Icon/Default – SVG icon color
|
|
17324
|
+
* (except full download history button).
|
|
17325
|
+
*/
|
|
17326
|
+
kColorIcon?: number;
|
|
17327
|
+
/**
|
|
17328
|
+
* Enterprise/Window/Text/Base – main label text color.
|
|
17329
|
+
* May be post-processed to increase readability on kColorDialogBackground
|
|
17330
|
+
* (can be disabled via transparent kColorLabelBackground).
|
|
17331
|
+
*/
|
|
17332
|
+
kColorLabelForeground?: number;
|
|
17333
|
+
/**
|
|
17334
|
+
* Label background used for readability adjustment.
|
|
17335
|
+
* Set to transparent (0) to disable Chromium’s readability alignment logic.
|
|
17336
|
+
*/
|
|
17337
|
+
kColorLabelBackground?: number;
|
|
17338
|
+
/**
|
|
17339
|
+
* Enterprise/Window/Text/Soft – secondary text color.
|
|
17340
|
+
* May be post-processed to increase readability on kColorDialogBackground
|
|
17341
|
+
* (can be disabled via transparent kColorLabelBackground).
|
|
17342
|
+
*/
|
|
17343
|
+
kColorSecondaryForeground?: number;
|
|
17344
|
+
}
|
|
17345
|
+
|
|
17346
|
+
/**
|
|
17347
|
+
* Defines a set of color overrides for Chromium UI surfaces based on a theme
|
|
17348
|
+
* provider (e.g., light or dark mode).
|
|
17349
|
+
* @interface
|
|
17350
|
+
*/
|
|
17351
|
+
declare type ThemePalette = {
|
|
17352
|
+
/**
|
|
17353
|
+
* Identifies the color provider mode that the palette applies to.
|
|
17354
|
+
*/
|
|
17355
|
+
colorProviderKey: {
|
|
17356
|
+
/**
|
|
17357
|
+
* The UI color mode that this palette is intended to style.
|
|
17358
|
+
*/
|
|
17359
|
+
colorMode: 'light' | 'dark';
|
|
17360
|
+
};
|
|
17361
|
+
/**
|
|
17362
|
+
* A mapping of known Chromium color IDs to ARGB values (0xAARRGGBB).
|
|
17363
|
+
*/
|
|
17364
|
+
colorsMap: ThemeColorsMap;
|
|
17365
|
+
};
|
|
17366
|
+
|
|
17367
|
+
/**
|
|
17368
|
+
* An event that fires when the system theme palette is changed.
|
|
17369
|
+
*/
|
|
17370
|
+
declare type ThemePaletteChangedEvent = BaseEvent_9 & {
|
|
17371
|
+
type: 'theme-palette-changed';
|
|
17372
|
+
themePalette: OpenFin.ThemePalette;
|
|
17373
|
+
};
|
|
17374
|
+
|
|
17144
17375
|
/**
|
|
17145
17376
|
* Settable options for the native theme of the operating system.
|
|
17146
17377
|
*/
|
|
@@ -20479,6 +20710,32 @@ declare class _Window extends WebContents<OpenFin.WindowEvent> {
|
|
|
20479
20710
|
* To print the views embedded in their page context, set `content` to `screenshot`.
|
|
20480
20711
|
*/
|
|
20481
20712
|
print(options?: OpenFin.WindowPrintOptions): Promise<void>;
|
|
20713
|
+
/**
|
|
20714
|
+
* Displays the download bubble UI. If an anchor is provided, the bubble
|
|
20715
|
+
* will be positioned according to the specified rectangle and anchor point.
|
|
20716
|
+
*
|
|
20717
|
+
* @param {OpenFin.Anchor} options
|
|
20718
|
+
* Anchor configuration used to position the download bubble. This includes
|
|
20719
|
+
* the bounding rectangle and the anchor location within that rectangle.
|
|
20720
|
+
*
|
|
20721
|
+
* @returns {Promise<void>}
|
|
20722
|
+
* A promise that resolves once the request to show the download bubble
|
|
20723
|
+
* has been processed.
|
|
20724
|
+
*/
|
|
20725
|
+
showDownloadBubble(options: OpenFin.Anchor): Promise<void>;
|
|
20726
|
+
/**
|
|
20727
|
+
* Updates the anchor used for positioning the download bubble. This allows
|
|
20728
|
+
* moving the bubble reactively—for example, in response to window resizes,
|
|
20729
|
+
* layout changes, or DOM element repositioning.
|
|
20730
|
+
*
|
|
20731
|
+
* @param {OpenFin.Anchor} options
|
|
20732
|
+
* New anchor configuration describing the updated position and anchor
|
|
20733
|
+
* location for the download bubble.
|
|
20734
|
+
*
|
|
20735
|
+
* @returns {Promise<void>}
|
|
20736
|
+
* A promise that resolves once the anchor update has been applied.
|
|
20737
|
+
*/
|
|
20738
|
+
updateDownloadBubbleAnchor(options: OpenFin.Anchor): Promise<void>;
|
|
20482
20739
|
}
|
|
20483
20740
|
|
|
20484
20741
|
/**
|
|
@@ -20674,6 +20931,8 @@ declare namespace WindowEvents {
|
|
|
20674
20931
|
NonPropagatedWindowEvent,
|
|
20675
20932
|
ShowAllDownloadsEvent,
|
|
20676
20933
|
DownloadShelfVisibilityChangedEvent,
|
|
20934
|
+
DownloadButtonVisibilityChangedEvent,
|
|
20935
|
+
DownloadButtonIconUpdatedEvent,
|
|
20677
20936
|
WindowSourcedEvent,
|
|
20678
20937
|
WillPropagateWindowEvent,
|
|
20679
20938
|
Event_6 as Event,
|
|
@@ -20877,7 +21136,7 @@ declare type WindowShowRequestedEvent = ShowRequestedEvent;
|
|
|
20877
21136
|
* A union of all events that emit natively on the `Window` topic, i.e. excluding those that propagate
|
|
20878
21137
|
* from {@link OpenFin.ViewEvents}.
|
|
20879
21138
|
*/
|
|
20880
|
-
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;
|
|
21139
|
+
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;
|
|
20881
21140
|
|
|
20882
21141
|
/**
|
|
20883
21142
|
* Generated when a child window starts loading.
|