@openfin/fdc3-api 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/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-alpha.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>;
|
|
@@ -3864,6 +3892,10 @@ declare type ConstWindowOptions = {
|
|
|
3864
3892
|
* 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.
|
|
3865
3893
|
*/
|
|
3866
3894
|
roundedCorners: boolean;
|
|
3895
|
+
/**
|
|
3896
|
+
* Configuration for download bubble UI.
|
|
3897
|
+
*/
|
|
3898
|
+
downloadBubble?: DownloadBubbleOptions;
|
|
3867
3899
|
};
|
|
3868
3900
|
|
|
3869
3901
|
/**
|
|
@@ -4616,6 +4648,50 @@ declare type DomainSettingsRule = {
|
|
|
4616
4648
|
matchOptions?: RuleMatchOptions;
|
|
4617
4649
|
};
|
|
4618
4650
|
|
|
4651
|
+
/**
|
|
4652
|
+
* Configuration options for enabling and positioning the download bubble UI.
|
|
4653
|
+
* @interface
|
|
4654
|
+
*/
|
|
4655
|
+
declare type DownloadBubbleOptions = {
|
|
4656
|
+
/**
|
|
4657
|
+
* Whether the download bubble feature is enabled.
|
|
4658
|
+
*/
|
|
4659
|
+
enabled: boolean;
|
|
4660
|
+
/**
|
|
4661
|
+
* Anchor configuration describing where the download bubble should attach.
|
|
4662
|
+
*/
|
|
4663
|
+
anchor: Anchor;
|
|
4664
|
+
};
|
|
4665
|
+
|
|
4666
|
+
/**
|
|
4667
|
+
* Generated when the download button icon needs to be updated. Only raised if the download bubble feature is enabled.
|
|
4668
|
+
*
|
|
4669
|
+
* @interface
|
|
4670
|
+
*/
|
|
4671
|
+
declare type DownloadButtonIconUpdatedEvent = BaseEvent_5 & {
|
|
4672
|
+
type: 'download-button-icon-updated';
|
|
4673
|
+
disabled: boolean;
|
|
4674
|
+
active: boolean;
|
|
4675
|
+
touchMode: boolean;
|
|
4676
|
+
progressIndicatorState: 'idle' | 'scanning' | 'downloading' | 'dormant';
|
|
4677
|
+
progressDownloadCount: number;
|
|
4678
|
+
progressPercentage: number;
|
|
4679
|
+
buttonTooltip: string;
|
|
4680
|
+
};
|
|
4681
|
+
|
|
4682
|
+
/**
|
|
4683
|
+
* Generated when the visibility of the window's download button changes. Only raised if the download bubble feature is enabled.
|
|
4684
|
+
*
|
|
4685
|
+
* @interface
|
|
4686
|
+
*/
|
|
4687
|
+
declare type DownloadButtonVisibilityChangedEvent = BaseEvent_5 & {
|
|
4688
|
+
type: 'download-button-visibility-changed';
|
|
4689
|
+
/**
|
|
4690
|
+
* True if the download button should be displayed, false if it should be hidden.
|
|
4691
|
+
*/
|
|
4692
|
+
visible: boolean;
|
|
4693
|
+
};
|
|
4694
|
+
|
|
4619
4695
|
/**
|
|
4620
4696
|
* Metadata returned from a preload script download request.
|
|
4621
4697
|
*
|
|
@@ -4675,6 +4751,7 @@ declare type DownloadRule = {
|
|
|
4675
4751
|
*
|
|
4676
4752
|
* @remarks This will control the styling for the download shelf regardless of whether its display was
|
|
4677
4753
|
* triggered by the window itself, or a view targeting the window.
|
|
4754
|
+
* @deprecated Use the DownloadBubble API instead.
|
|
4678
4755
|
*/
|
|
4679
4756
|
declare type DownloadShelfOptions = {
|
|
4680
4757
|
/**
|
|
@@ -4710,6 +4787,7 @@ declare type DownloadShelfOptions = {
|
|
|
4710
4787
|
* Generated when the visibility of the window's download shelf changes.
|
|
4711
4788
|
*
|
|
4712
4789
|
* @interface
|
|
4790
|
+
* @deprecated use DownloadBubble API instead
|
|
4713
4791
|
*/
|
|
4714
4792
|
declare type DownloadShelfVisibilityChangedEvent = BaseEvent_5 & {
|
|
4715
4793
|
type: 'download-shelf-visibility-changed';
|
|
@@ -4976,7 +5054,7 @@ declare type Event_10 = ApplicationEvents.Event | ApiReadyEvent | SnapshotApplie
|
|
|
4976
5054
|
* under the {@link OpenFin.SystemEvents} namespace (payloads inherited from propagated events are defined in the namespace
|
|
4977
5055
|
* from which they propagate).
|
|
4978
5056
|
*/
|
|
4979
|
-
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;
|
|
5057
|
+
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;
|
|
4980
5058
|
|
|
4981
5059
|
/**
|
|
4982
5060
|
* [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.
|
|
@@ -8934,17 +9012,17 @@ declare type LayoutOptions = {
|
|
|
8934
9012
|
/* Excluded from this release type: disableTabOverflowDropdown */
|
|
8935
9013
|
/**
|
|
8936
9014
|
* When set to 'scroll', enables horizontal scrolling of tabs when they overflow the stack width.
|
|
8937
|
-
* When set to 'dropdown' the default
|
|
9015
|
+
* When set to 'dropdown', the default behavior occurs, in which excess tabs appear in a menu.
|
|
8938
9016
|
*
|
|
8939
|
-
* Setting this to `scroll`
|
|
9017
|
+
* Setting this to `scroll` might break styles written for the default dropdown behavior, as it significantly changes the DOM structure and CSS of tabs.
|
|
8940
9018
|
*
|
|
8941
|
-
* The DOM structure
|
|
8942
|
-
* - `lm_tabs`
|
|
8943
|
-
* - the `.newTabButton` (if enabled)
|
|
9019
|
+
* The DOM structure is modified in this way:
|
|
9020
|
+
* - `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.
|
|
9021
|
+
* - the `.newTabButton` (if enabled) is a direct child of `.lm_header`
|
|
8944
9022
|
*
|
|
8945
|
-
* **The following
|
|
9023
|
+
* **The following CSS variables are available to customize tab appearance:**
|
|
8946
9024
|
*
|
|
8947
|
-
* - `--layout-tab-width`: The default (max) width of the tabs. Using this enables using `lm_tab` as a queryable
|
|
9025
|
+
* - `--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`
|
|
8948
9026
|
* - `--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).
|
|
8949
9027
|
* - `--layout-tab-overflow-fade-size`: The width of the scroll shadows when tabs are overflowing. Default: `20px`
|
|
8950
9028
|
* - `--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.
|
|
@@ -8953,7 +9031,7 @@ declare type LayoutOptions = {
|
|
|
8953
9031
|
*
|
|
8954
9032
|
* - `--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.
|
|
8955
9033
|
* - `--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.
|
|
8956
|
-
* - `--layout-tabs-overflowing`: A [
|
|
9034
|
+
* - `--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.
|
|
8957
9035
|
*
|
|
8958
9036
|
* @example
|
|
8959
9037
|
* ```css
|
|
@@ -9220,6 +9298,7 @@ declare type Manifest = {
|
|
|
9220
9298
|
policies?: {
|
|
9221
9299
|
CloudAPAuthEnabled?: 'enabled' | 'disabled';
|
|
9222
9300
|
};
|
|
9301
|
+
themePalette?: Array<ThemePalette>;
|
|
9223
9302
|
};
|
|
9224
9303
|
services?: string[];
|
|
9225
9304
|
shortcut?: {
|
|
@@ -9593,6 +9672,11 @@ declare type MutableViewOptions = {
|
|
|
9593
9672
|
* {@inheritDoc ChromiumPolicies}
|
|
9594
9673
|
*/
|
|
9595
9674
|
chromiumPolicies: ChromiumPolicies;
|
|
9675
|
+
/**
|
|
9676
|
+
* When set to `false`, disables sending application logs to RVM for this view.
|
|
9677
|
+
* When omitted, inherits from the parent application.
|
|
9678
|
+
*/
|
|
9679
|
+
enableAppLogging?: boolean;
|
|
9596
9680
|
};
|
|
9597
9681
|
|
|
9598
9682
|
/**
|
|
@@ -9867,6 +9951,12 @@ declare type MutableWindowOptions = {
|
|
|
9867
9951
|
* {@inheritDoc ChromiumPolicies}
|
|
9868
9952
|
*/
|
|
9869
9953
|
chromiumPolicies: ChromiumPolicies;
|
|
9954
|
+
/**
|
|
9955
|
+
* When set to `false`, disables sending application logs to RVM for this window.
|
|
9956
|
+
* When omitted, inherits from the parent application.
|
|
9957
|
+
*
|
|
9958
|
+
*/
|
|
9959
|
+
enableAppLogging?: boolean;
|
|
9870
9960
|
};
|
|
9871
9961
|
|
|
9872
9962
|
declare type NackHandler = (payloadOrMessage: RuntimeErrorPayload | string) => void;
|
|
@@ -10236,6 +10326,9 @@ declare namespace OpenFin {
|
|
|
10236
10326
|
CustomProtocolOptions,
|
|
10237
10327
|
InteropBrokerOptions,
|
|
10238
10328
|
ContextGroupInfo,
|
|
10329
|
+
AnchorLocation,
|
|
10330
|
+
Anchor,
|
|
10331
|
+
DownloadBubbleOptions,
|
|
10239
10332
|
DisplayMetadata,
|
|
10240
10333
|
LegacyWinOptionsInAppOptions,
|
|
10241
10334
|
Snapshot,
|
|
@@ -10339,6 +10432,9 @@ declare namespace OpenFin {
|
|
|
10339
10432
|
LogUploaderUIOptions,
|
|
10340
10433
|
LogTypes,
|
|
10341
10434
|
LogUploadOptions,
|
|
10435
|
+
ThemeColorsMap,
|
|
10436
|
+
ThemeColorId,
|
|
10437
|
+
ThemePalette,
|
|
10342
10438
|
Manifest,
|
|
10343
10439
|
LayoutContent,
|
|
10344
10440
|
LayoutItemConfig,
|
|
@@ -10838,6 +10934,11 @@ declare type PerDomainSettings = {
|
|
|
10838
10934
|
*/
|
|
10839
10935
|
drag?: 'allow' | 'block';
|
|
10840
10936
|
};
|
|
10937
|
+
/**
|
|
10938
|
+
* When set to `false`, disables sending application logs to RVM for this window.
|
|
10939
|
+
* When omitted, inherits from the parent application.
|
|
10940
|
+
*/
|
|
10941
|
+
enableAppLogging?: boolean;
|
|
10841
10942
|
};
|
|
10842
10943
|
|
|
10843
10944
|
/**
|
|
@@ -13173,6 +13274,12 @@ declare type ProtocolMap = ExternalAdapterOnlyCallsMap & AnalyticsProtocolMap &
|
|
|
13173
13274
|
'create-window': VoidCall;
|
|
13174
13275
|
'get-current-window': VoidCall;
|
|
13175
13276
|
'get-current-window-sync': VoidCall;
|
|
13277
|
+
'show-download-bubble': IdentityCall<{
|
|
13278
|
+
options: OpenFin.Anchor;
|
|
13279
|
+
}, void>;
|
|
13280
|
+
'update-download-bubble-anchor': IdentityCall<{
|
|
13281
|
+
options: OpenFin.Anchor;
|
|
13282
|
+
}, void>;
|
|
13176
13283
|
'get-external-application-info': ApiCall<OpenFin.ApplicationIdentity, OpenFin.ExternalApplicationInfo>;
|
|
13177
13284
|
'external-application-wrap': VoidCall;
|
|
13178
13285
|
'external-application-wrap-sync': VoidCall;
|
|
@@ -13360,6 +13467,9 @@ declare type ProtocolMap = ExternalAdapterOnlyCallsMap & AnalyticsProtocolMap &
|
|
|
13360
13467
|
'write-to-log': ApiCall<{
|
|
13361
13468
|
level: string;
|
|
13362
13469
|
message: string;
|
|
13470
|
+
target?: {
|
|
13471
|
+
type?: 'app.log' | 'debug.log';
|
|
13472
|
+
};
|
|
13363
13473
|
}, void>;
|
|
13364
13474
|
'open-url-with-browser': ApiCall<{
|
|
13365
13475
|
url: string;
|
|
@@ -13523,6 +13633,15 @@ declare type ProtocolMap = ExternalAdapterOnlyCallsMap & AnalyticsProtocolMap &
|
|
|
13523
13633
|
request: void;
|
|
13524
13634
|
response: OpenFin.ExtensionInfo[];
|
|
13525
13635
|
};
|
|
13636
|
+
'set-theme-palette': ApiCall<{
|
|
13637
|
+
themePalette: Array<OpenFin.ThemePalette>;
|
|
13638
|
+
}, void> & {
|
|
13639
|
+
themePalette: Array<OpenFin.ThemePalette>;
|
|
13640
|
+
};
|
|
13641
|
+
'get-theme-palette': ApiCall<void, Array<OpenFin.ThemePalette>> & {
|
|
13642
|
+
request: void;
|
|
13643
|
+
response: Array<OpenFin.ThemePalette>;
|
|
13644
|
+
};
|
|
13526
13645
|
'fdc3-add-context-listener': VoidCall;
|
|
13527
13646
|
'fdc3-add-intent-listener': VoidCall;
|
|
13528
13647
|
'fdc3-raise-intent': VoidCall;
|
|
@@ -15574,13 +15693,16 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
15574
15693
|
* Writes the passed message into both the log file and the console.
|
|
15575
15694
|
* @param level The log level for the entry. Can be either "info", "warning" or "error"
|
|
15576
15695
|
* @param message The log message text
|
|
15696
|
+
* @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.
|
|
15577
15697
|
*
|
|
15578
15698
|
* @example
|
|
15579
15699
|
* ```js
|
|
15580
|
-
* fin.System.log("info", "An example log message").then(() => console.log('Log info message')).catch(err => console.log(err));
|
|
15700
|
+
* fin.System.log("info", "An example log message", { type: 'debug.log' }).then(() => console.log('Log info message')).catch(err => console.log(err));
|
|
15581
15701
|
* ```
|
|
15582
15702
|
*/
|
|
15583
|
-
log(level: string, message: string
|
|
15703
|
+
log(level: string, message: string, { type }?: {
|
|
15704
|
+
type?: 'app.log' | 'debug.log';
|
|
15705
|
+
}): Promise<void>;
|
|
15584
15706
|
/**
|
|
15585
15707
|
* Opens the passed URL in the default web browser.
|
|
15586
15708
|
*
|
|
@@ -16402,6 +16524,16 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
16402
16524
|
* @experimental
|
|
16403
16525
|
*/
|
|
16404
16526
|
launchLogUploader(options: OpenFin.LogUploaderOptions): Promise<void>;
|
|
16527
|
+
/**
|
|
16528
|
+
* Overrides original Chromium theme color providers matching key (currently except high contrast ones). Only colors passed in the map will be overridden.
|
|
16529
|
+
* @param overrides - Array of ColorProviderOverrides objects
|
|
16530
|
+
*/
|
|
16531
|
+
setThemePalette(themePalette: Array<OpenFin.ThemePalette>): Promise<void>;
|
|
16532
|
+
/**
|
|
16533
|
+
* Retrieves currently used color overrides
|
|
16534
|
+
* @returns Array of ColorProviderOverrides objects
|
|
16535
|
+
*/
|
|
16536
|
+
getThemePalette(): Promise<Array<OpenFin.ThemePalette>>;
|
|
16405
16537
|
}
|
|
16406
16538
|
|
|
16407
16539
|
/**
|
|
@@ -16440,6 +16572,7 @@ declare namespace SystemEvents {
|
|
|
16440
16572
|
ExtensionsInstallFailedEvent,
|
|
16441
16573
|
ExtensionInstallFailedEvent,
|
|
16442
16574
|
ExtensionsInitializationFailedEvent,
|
|
16575
|
+
ThemePaletteChangedEvent,
|
|
16443
16576
|
NativeThemeUpdatedEvent,
|
|
16444
16577
|
Event_11 as Event,
|
|
16445
16578
|
SystemEvent,
|
|
@@ -16711,6 +16844,104 @@ declare type TerminateExternalRequestType = {
|
|
|
16711
16844
|
killTree: boolean;
|
|
16712
16845
|
};
|
|
16713
16846
|
|
|
16847
|
+
/**
|
|
16848
|
+
* String literal type of all supported theme color IDs.
|
|
16849
|
+
* Useful wherever you need to refer to a color slot by name.
|
|
16850
|
+
* @interface
|
|
16851
|
+
*/
|
|
16852
|
+
declare type ThemeColorId = keyof ThemeColorsMap;
|
|
16853
|
+
|
|
16854
|
+
/**
|
|
16855
|
+
* All supported color slots for the Download Bubble and related UI.
|
|
16856
|
+
* @interface
|
|
16857
|
+
*/
|
|
16858
|
+
declare interface ThemeColorsMap {
|
|
16859
|
+
/**
|
|
16860
|
+
* Enterprise/Window/Background – bubble header and footer background.
|
|
16861
|
+
*/
|
|
16862
|
+
kColorBubbleBackground?: number;
|
|
16863
|
+
/**
|
|
16864
|
+
* Windows only – Enterprise/Window/Border.
|
|
16865
|
+
*/
|
|
16866
|
+
kColorBubbleBorder?: number;
|
|
16867
|
+
/**
|
|
16868
|
+
* Windows only – Enterprise/Window/Border (large shadow).
|
|
16869
|
+
*/
|
|
16870
|
+
kColorBubbleBorderShadowLarge?: number;
|
|
16871
|
+
/**
|
|
16872
|
+
* Windows only – Enterprise/Window/Border (small shadow).
|
|
16873
|
+
*/
|
|
16874
|
+
kColorBubbleBorderShadowSmall?: number;
|
|
16875
|
+
/**
|
|
16876
|
+
* Enterprise/Window/Background – downloaded item row background.
|
|
16877
|
+
*/
|
|
16878
|
+
kColorDialogBackground?: number;
|
|
16879
|
+
/**
|
|
16880
|
+
* Enterprise/Search Result/Background/Hover – download item row hover.
|
|
16881
|
+
*/
|
|
16882
|
+
kColorDownloadBubbleRowHover?: number;
|
|
16883
|
+
/**
|
|
16884
|
+
* Enterprise/Window/Icon – “Show all downloads” icon color.
|
|
16885
|
+
*/
|
|
16886
|
+
kColorDownloadBubbleShowAllDownloadsIcon?: number;
|
|
16887
|
+
/**
|
|
16888
|
+
* Enterprise/Search Result/Background/Hover – full download history
|
|
16889
|
+
* button (full row) hover background.
|
|
16890
|
+
*/
|
|
16891
|
+
kColorHoverButtonBackgroundHovered?: number;
|
|
16892
|
+
/**
|
|
16893
|
+
* Shared/Icon Button/Subtle/Icon/Default – SVG icon color
|
|
16894
|
+
* (except full download history button).
|
|
16895
|
+
*/
|
|
16896
|
+
kColorIcon?: number;
|
|
16897
|
+
/**
|
|
16898
|
+
* Enterprise/Window/Text/Base – main label text color.
|
|
16899
|
+
* May be post-processed to increase readability on kColorDialogBackground
|
|
16900
|
+
* (can be disabled via transparent kColorLabelBackground).
|
|
16901
|
+
*/
|
|
16902
|
+
kColorLabelForeground?: number;
|
|
16903
|
+
/**
|
|
16904
|
+
* Label background used for readability adjustment.
|
|
16905
|
+
* Set to transparent (0) to disable Chromium’s readability alignment logic.
|
|
16906
|
+
*/
|
|
16907
|
+
kColorLabelBackground?: number;
|
|
16908
|
+
/**
|
|
16909
|
+
* Enterprise/Window/Text/Soft – secondary text color.
|
|
16910
|
+
* May be post-processed to increase readability on kColorDialogBackground
|
|
16911
|
+
* (can be disabled via transparent kColorLabelBackground).
|
|
16912
|
+
*/
|
|
16913
|
+
kColorSecondaryForeground?: number;
|
|
16914
|
+
}
|
|
16915
|
+
|
|
16916
|
+
/**
|
|
16917
|
+
* Defines a set of color overrides for Chromium UI surfaces based on a theme
|
|
16918
|
+
* provider (e.g., light or dark mode).
|
|
16919
|
+
* @interface
|
|
16920
|
+
*/
|
|
16921
|
+
declare type ThemePalette = {
|
|
16922
|
+
/**
|
|
16923
|
+
* Identifies the color provider mode that the palette applies to.
|
|
16924
|
+
*/
|
|
16925
|
+
colorProviderKey: {
|
|
16926
|
+
/**
|
|
16927
|
+
* The UI color mode that this palette is intended to style.
|
|
16928
|
+
*/
|
|
16929
|
+
colorMode: 'light' | 'dark';
|
|
16930
|
+
};
|
|
16931
|
+
/**
|
|
16932
|
+
* A mapping of known Chromium color IDs to ARGB values (0xAARRGGBB).
|
|
16933
|
+
*/
|
|
16934
|
+
colorsMap: ThemeColorsMap;
|
|
16935
|
+
};
|
|
16936
|
+
|
|
16937
|
+
/**
|
|
16938
|
+
* An event that fires when the system theme palette is changed.
|
|
16939
|
+
*/
|
|
16940
|
+
declare type ThemePaletteChangedEvent = BaseEvent_9 & {
|
|
16941
|
+
type: 'theme-palette-changed';
|
|
16942
|
+
themePalette: OpenFin.ThemePalette;
|
|
16943
|
+
};
|
|
16944
|
+
|
|
16714
16945
|
/**
|
|
16715
16946
|
* Settable options for the native theme of the operating system.
|
|
16716
16947
|
*/
|
|
@@ -20009,6 +20240,32 @@ declare class _Window extends WebContents<OpenFin.WindowEvent> {
|
|
|
20009
20240
|
* To print the views embedded in their page context, set `content` to `screenshot`.
|
|
20010
20241
|
*/
|
|
20011
20242
|
print(options?: OpenFin.WindowPrintOptions): Promise<void>;
|
|
20243
|
+
/**
|
|
20244
|
+
* Displays the download bubble UI. If an anchor is provided, the bubble
|
|
20245
|
+
* will be positioned according to the specified rectangle and anchor point.
|
|
20246
|
+
*
|
|
20247
|
+
* @param {OpenFin.Anchor} options
|
|
20248
|
+
* Anchor configuration used to position the download bubble. This includes
|
|
20249
|
+
* the bounding rectangle and the anchor location within that rectangle.
|
|
20250
|
+
*
|
|
20251
|
+
* @returns {Promise<void>}
|
|
20252
|
+
* A promise that resolves once the request to show the download bubble
|
|
20253
|
+
* has been processed.
|
|
20254
|
+
*/
|
|
20255
|
+
showDownloadBubble(options: OpenFin.Anchor): Promise<void>;
|
|
20256
|
+
/**
|
|
20257
|
+
* Updates the anchor used for positioning the download bubble. This allows
|
|
20258
|
+
* moving the bubble reactively—for example, in response to window resizes,
|
|
20259
|
+
* layout changes, or DOM element repositioning.
|
|
20260
|
+
*
|
|
20261
|
+
* @param {OpenFin.Anchor} options
|
|
20262
|
+
* New anchor configuration describing the updated position and anchor
|
|
20263
|
+
* location for the download bubble.
|
|
20264
|
+
*
|
|
20265
|
+
* @returns {Promise<void>}
|
|
20266
|
+
* A promise that resolves once the anchor update has been applied.
|
|
20267
|
+
*/
|
|
20268
|
+
updateDownloadBubbleAnchor(options: OpenFin.Anchor): Promise<void>;
|
|
20012
20269
|
}
|
|
20013
20270
|
|
|
20014
20271
|
/**
|
|
@@ -20204,6 +20461,8 @@ declare namespace WindowEvents {
|
|
|
20204
20461
|
NonPropagatedWindowEvent,
|
|
20205
20462
|
ShowAllDownloadsEvent,
|
|
20206
20463
|
DownloadShelfVisibilityChangedEvent,
|
|
20464
|
+
DownloadButtonVisibilityChangedEvent,
|
|
20465
|
+
DownloadButtonIconUpdatedEvent,
|
|
20207
20466
|
WindowSourcedEvent,
|
|
20208
20467
|
WillPropagateWindowEvent,
|
|
20209
20468
|
Event_6 as Event,
|
|
@@ -20407,7 +20666,7 @@ declare type WindowShowRequestedEvent = ShowRequestedEvent;
|
|
|
20407
20666
|
* A union of all events that emit natively on the `Window` topic, i.e. excluding those that propagate
|
|
20408
20667
|
* from {@link OpenFin.ViewEvents}.
|
|
20409
20668
|
*/
|
|
20410
|
-
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;
|
|
20669
|
+
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;
|
|
20411
20670
|
|
|
20412
20671
|
/**
|
|
20413
20672
|
* Generated when a child window starts loading.
|