@openfin/core 45.100.104 → 45.100.105
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/mock-alpha.d.ts +35 -36
- package/out/mock-beta.d.ts +35 -36
- package/out/mock-public.d.ts +35 -36
- package/out/stub.d.ts +66 -18
- package/out/stub.js +7 -1
- package/out/stub.mjs +7 -1
- package/package.json +1 -1
package/out/mock-alpha.d.ts
CHANGED
|
@@ -3086,12 +3086,31 @@ declare interface ChildContentOptions {
|
|
|
3086
3086
|
*/
|
|
3087
3087
|
declare type ChildViewCreatedEvent = ContentCreationRulesEvent & {
|
|
3088
3088
|
type: 'child-view-created';
|
|
3089
|
+
/**
|
|
3090
|
+
* Recommended placement for the already-created child View.
|
|
3091
|
+
*
|
|
3092
|
+
* This is complementary to `disposition`: `disposition` describes the requested browser creation
|
|
3093
|
+
* behavior, while `destination` describes where the resulting View should be placed.
|
|
3094
|
+
*/
|
|
3095
|
+
destination: ChildViewDestination;
|
|
3089
3096
|
/**
|
|
3090
3097
|
* The options the child View was created with.
|
|
3091
3098
|
*/
|
|
3092
3099
|
childOptions: OpenFin_2.ViewOptions;
|
|
3093
3100
|
};
|
|
3094
3101
|
|
|
3102
|
+
/**
|
|
3103
|
+
* Describes where an already-created View should be placed.
|
|
3104
|
+
*/
|
|
3105
|
+
declare type ChildViewDestination = {
|
|
3106
|
+
/** Add the View to this existing window. */
|
|
3107
|
+
type: 'existing-window';
|
|
3108
|
+
identity: OpenFin_2.Identity;
|
|
3109
|
+
} | {
|
|
3110
|
+
/** Create a new window containing the View. */
|
|
3111
|
+
type: 'new-window';
|
|
3112
|
+
};
|
|
3113
|
+
|
|
3095
3114
|
/**
|
|
3096
3115
|
* Generated when a child Window is created.
|
|
3097
3116
|
* @interface
|
|
@@ -3104,22 +3123,7 @@ declare type ChildWindowCreatedEvent = ContentCreationRulesEvent & {
|
|
|
3104
3123
|
childOptions: OpenFin_2.WindowOptions;
|
|
3105
3124
|
};
|
|
3106
3125
|
|
|
3107
|
-
|
|
3108
|
-
* End of Interop Client Events
|
|
3109
|
-
*/
|
|
3110
|
-
/**
|
|
3111
|
-
* Client-side handle for the chrome-browser feature.
|
|
3112
|
-
*
|
|
3113
|
-
* For Chrome extension integration to be active on a window, that window must be
|
|
3114
|
-
* created with `chromeBrowser: true` in its window options. There is no separate
|
|
3115
|
-
* `init()` step.
|
|
3116
|
-
*/
|
|
3117
|
-
declare interface ChromeBrowser {
|
|
3118
|
-
/**
|
|
3119
|
-
* Extension action surface — observe and invoke installed Chrome extension actions.
|
|
3120
|
-
*/
|
|
3121
|
-
readonly Actions: ChromeBrowserActions;
|
|
3122
|
-
}
|
|
3126
|
+
/* Excluded from this release type: ChromeBrowser */
|
|
3123
3127
|
|
|
3124
3128
|
/**
|
|
3125
3129
|
* APIs for interacting with Chromium extension actions from an initialized ChromeBrowser window.
|
|
@@ -3889,14 +3893,7 @@ declare type ConstWindowOptions = {
|
|
|
3889
3893
|
* @default false
|
|
3890
3894
|
*/
|
|
3891
3895
|
backgroundThrottling: boolean;
|
|
3892
|
-
|
|
3893
|
-
* If `true`, the window is registered with Chromium as a `ChromeBrowser`,
|
|
3894
|
-
* making it visible to Chrome extensions via the `chrome.windows` API.
|
|
3895
|
-
* The window must be created with this option set; it cannot be flipped at runtime.
|
|
3896
|
-
*
|
|
3897
|
-
* @defaultValue false
|
|
3898
|
-
*/
|
|
3899
|
-
chromeBrowser: boolean;
|
|
3896
|
+
/* Excluded from this release type: chromeBrowser */
|
|
3900
3897
|
/**
|
|
3901
3898
|
* Configures how new content (e,g, from `window.open` or a link) is opened.
|
|
3902
3899
|
*/
|
|
@@ -3986,6 +3983,12 @@ declare type ConstWindowOptions = {
|
|
|
3986
3983
|
* triggered by the window itself, or a view targeting the window.
|
|
3987
3984
|
*/
|
|
3988
3985
|
downloadShelf: DownloadShelfOptions;
|
|
3986
|
+
/**
|
|
3987
|
+
* @defaultValue true
|
|
3988
|
+
*
|
|
3989
|
+
* Show the window's frame.
|
|
3990
|
+
*/
|
|
3991
|
+
frame: boolean;
|
|
3989
3992
|
height: number;
|
|
3990
3993
|
layout: any;
|
|
3991
3994
|
/**
|
|
@@ -5636,6 +5639,11 @@ declare type ExtensionTabCreatedEvent = BaseEvent_5 & {
|
|
|
5636
5639
|
type: 'extension-tab-created';
|
|
5637
5640
|
/** Identity of the auto-created view backing the new tab. */
|
|
5638
5641
|
viewIdentity: OpenFin_2.Identity;
|
|
5642
|
+
/**
|
|
5643
|
+
* Recommended placement for the auto-created View. This is complementary to `disposition`, which
|
|
5644
|
+
* describes the requested browser creation behavior.
|
|
5645
|
+
*/
|
|
5646
|
+
destination: WebContentsEvents.ChildViewDestination;
|
|
5639
5647
|
/**
|
|
5640
5648
|
* Identity of the view that was active when the extension triggered tab creation.
|
|
5641
5649
|
* Undefined if no tab was active (e.g. the first tab in a newly-opened window).
|
|
@@ -6051,7 +6059,7 @@ declare interface FinApi<MeType extends OpenFin_2.EntityType> {
|
|
|
6051
6059
|
readonly Interop: InteropModule;
|
|
6052
6060
|
readonly SnapshotSource: SnapshotSourceModule;
|
|
6053
6061
|
readonly NotificationManager: NotificationManagerModule;
|
|
6054
|
-
|
|
6062
|
+
/* Excluded from this release type: ChromeBrowser */
|
|
6055
6063
|
/**
|
|
6056
6064
|
* Provides access to the OpenFin representation of the current code context (usually an entity
|
|
6057
6065
|
* such as a {@link OpenFin.View} or {@link OpenFin.Window}), as well as to the current `Interop` context.
|
|
@@ -9256,7 +9264,7 @@ declare type LayoutSyncApi = {
|
|
|
9256
9264
|
/**
|
|
9257
9265
|
* @interface
|
|
9258
9266
|
*/
|
|
9259
|
-
declare type LegacyWinOptionsInAppOptions = Pick<WindowCreationOptions, 'accelerator' | 'alwaysOnTop' | 'api' | 'aspectRatio' | 'autoplayPolicy' | 'autoShow' | 'backgroundColor' | 'contentNavigation' | 'contextMenu' | 'cornerRounding' | 'customData' | 'customRequestHeaders' | 'defaultCentered' | 'defaultHeight' | 'defaultLeft' | 'defaultTop' | 'defaultWidth' | '
|
|
9267
|
+
declare type LegacyWinOptionsInAppOptions = Pick<WindowCreationOptions, 'accelerator' | 'alwaysOnTop' | 'api' | 'aspectRatio' | 'autoplayPolicy' | 'autoShow' | 'backgroundColor' | 'contentNavigation' | 'contextMenu' | 'cornerRounding' | 'customData' | 'customRequestHeaders' | 'defaultCentered' | 'defaultHeight' | 'defaultLeft' | 'defaultTop' | 'defaultWidth' | 'hideOnClose' | 'icon' | 'maxHeight' | 'maximizable' | 'maxWidth' | 'minHeight' | 'minimizable' | 'minWidth' | 'opacity' | 'preloadScripts' | 'resizable' | 'resizeRegion' | 'saveWindowState' | 'ignoreSavedWindowState' | 'shadow' | 'showTaskbarIcon' | 'smallWindow' | 'state' | 'taskbarIconGroup' | 'waitForPageLoad' | '_internalWorkspaceData'>;
|
|
9260
9268
|
|
|
9261
9269
|
declare type Listener<T extends {
|
|
9262
9270
|
type: string;
|
|
@@ -9937,16 +9945,6 @@ declare type MutableWindowOptions = {
|
|
|
9937
9945
|
* _When omitted, _inherits_ from the parent application._
|
|
9938
9946
|
*/
|
|
9939
9947
|
customData: any;
|
|
9940
|
-
/**
|
|
9941
|
-
*
|
|
9942
|
-
* Show the window's frame.
|
|
9943
|
-
*
|
|
9944
|
-
* @remarks
|
|
9945
|
-
* This property will not be updatable starting runtime version 45.
|
|
9946
|
-
*
|
|
9947
|
-
* @default true
|
|
9948
|
-
*/
|
|
9949
|
-
frame: boolean;
|
|
9950
9948
|
/**
|
|
9951
9949
|
* Hides the window instead of closing it when the close button is pressed.
|
|
9952
9950
|
*
|
|
@@ -19564,6 +19562,7 @@ declare namespace WebContentsEvents {
|
|
|
19564
19562
|
ContentCreationRulesEvent,
|
|
19565
19563
|
ChildContentBlockedEvent,
|
|
19566
19564
|
ChildContentOpenedInBrowserEvent,
|
|
19565
|
+
ChildViewDestination,
|
|
19567
19566
|
ChildViewCreatedEvent,
|
|
19568
19567
|
ChildWindowCreatedEvent,
|
|
19569
19568
|
FileDownloadEvent,
|
package/out/mock-beta.d.ts
CHANGED
|
@@ -3086,12 +3086,31 @@ declare interface ChildContentOptions {
|
|
|
3086
3086
|
*/
|
|
3087
3087
|
declare type ChildViewCreatedEvent = ContentCreationRulesEvent & {
|
|
3088
3088
|
type: 'child-view-created';
|
|
3089
|
+
/**
|
|
3090
|
+
* Recommended placement for the already-created child View.
|
|
3091
|
+
*
|
|
3092
|
+
* This is complementary to `disposition`: `disposition` describes the requested browser creation
|
|
3093
|
+
* behavior, while `destination` describes where the resulting View should be placed.
|
|
3094
|
+
*/
|
|
3095
|
+
destination: ChildViewDestination;
|
|
3089
3096
|
/**
|
|
3090
3097
|
* The options the child View was created with.
|
|
3091
3098
|
*/
|
|
3092
3099
|
childOptions: OpenFin_2.ViewOptions;
|
|
3093
3100
|
};
|
|
3094
3101
|
|
|
3102
|
+
/**
|
|
3103
|
+
* Describes where an already-created View should be placed.
|
|
3104
|
+
*/
|
|
3105
|
+
declare type ChildViewDestination = {
|
|
3106
|
+
/** Add the View to this existing window. */
|
|
3107
|
+
type: 'existing-window';
|
|
3108
|
+
identity: OpenFin_2.Identity;
|
|
3109
|
+
} | {
|
|
3110
|
+
/** Create a new window containing the View. */
|
|
3111
|
+
type: 'new-window';
|
|
3112
|
+
};
|
|
3113
|
+
|
|
3095
3114
|
/**
|
|
3096
3115
|
* Generated when a child Window is created.
|
|
3097
3116
|
* @interface
|
|
@@ -3104,22 +3123,7 @@ declare type ChildWindowCreatedEvent = ContentCreationRulesEvent & {
|
|
|
3104
3123
|
childOptions: OpenFin_2.WindowOptions;
|
|
3105
3124
|
};
|
|
3106
3125
|
|
|
3107
|
-
|
|
3108
|
-
* End of Interop Client Events
|
|
3109
|
-
*/
|
|
3110
|
-
/**
|
|
3111
|
-
* Client-side handle for the chrome-browser feature.
|
|
3112
|
-
*
|
|
3113
|
-
* For Chrome extension integration to be active on a window, that window must be
|
|
3114
|
-
* created with `chromeBrowser: true` in its window options. There is no separate
|
|
3115
|
-
* `init()` step.
|
|
3116
|
-
*/
|
|
3117
|
-
declare interface ChromeBrowser {
|
|
3118
|
-
/**
|
|
3119
|
-
* Extension action surface — observe and invoke installed Chrome extension actions.
|
|
3120
|
-
*/
|
|
3121
|
-
readonly Actions: ChromeBrowserActions;
|
|
3122
|
-
}
|
|
3126
|
+
/* Excluded from this release type: ChromeBrowser */
|
|
3123
3127
|
|
|
3124
3128
|
/**
|
|
3125
3129
|
* APIs for interacting with Chromium extension actions from an initialized ChromeBrowser window.
|
|
@@ -3889,14 +3893,7 @@ declare type ConstWindowOptions = {
|
|
|
3889
3893
|
* @default false
|
|
3890
3894
|
*/
|
|
3891
3895
|
backgroundThrottling: boolean;
|
|
3892
|
-
|
|
3893
|
-
* If `true`, the window is registered with Chromium as a `ChromeBrowser`,
|
|
3894
|
-
* making it visible to Chrome extensions via the `chrome.windows` API.
|
|
3895
|
-
* The window must be created with this option set; it cannot be flipped at runtime.
|
|
3896
|
-
*
|
|
3897
|
-
* @defaultValue false
|
|
3898
|
-
*/
|
|
3899
|
-
chromeBrowser: boolean;
|
|
3896
|
+
/* Excluded from this release type: chromeBrowser */
|
|
3900
3897
|
/**
|
|
3901
3898
|
* Configures how new content (e,g, from `window.open` or a link) is opened.
|
|
3902
3899
|
*/
|
|
@@ -3986,6 +3983,12 @@ declare type ConstWindowOptions = {
|
|
|
3986
3983
|
* triggered by the window itself, or a view targeting the window.
|
|
3987
3984
|
*/
|
|
3988
3985
|
downloadShelf: DownloadShelfOptions;
|
|
3986
|
+
/**
|
|
3987
|
+
* @defaultValue true
|
|
3988
|
+
*
|
|
3989
|
+
* Show the window's frame.
|
|
3990
|
+
*/
|
|
3991
|
+
frame: boolean;
|
|
3989
3992
|
height: number;
|
|
3990
3993
|
layout: any;
|
|
3991
3994
|
/**
|
|
@@ -5636,6 +5639,11 @@ declare type ExtensionTabCreatedEvent = BaseEvent_5 & {
|
|
|
5636
5639
|
type: 'extension-tab-created';
|
|
5637
5640
|
/** Identity of the auto-created view backing the new tab. */
|
|
5638
5641
|
viewIdentity: OpenFin_2.Identity;
|
|
5642
|
+
/**
|
|
5643
|
+
* Recommended placement for the auto-created View. This is complementary to `disposition`, which
|
|
5644
|
+
* describes the requested browser creation behavior.
|
|
5645
|
+
*/
|
|
5646
|
+
destination: WebContentsEvents.ChildViewDestination;
|
|
5639
5647
|
/**
|
|
5640
5648
|
* Identity of the view that was active when the extension triggered tab creation.
|
|
5641
5649
|
* Undefined if no tab was active (e.g. the first tab in a newly-opened window).
|
|
@@ -6051,7 +6059,7 @@ declare interface FinApi<MeType extends OpenFin_2.EntityType> {
|
|
|
6051
6059
|
readonly Interop: InteropModule;
|
|
6052
6060
|
readonly SnapshotSource: SnapshotSourceModule;
|
|
6053
6061
|
readonly NotificationManager: NotificationManagerModule;
|
|
6054
|
-
|
|
6062
|
+
/* Excluded from this release type: ChromeBrowser */
|
|
6055
6063
|
/**
|
|
6056
6064
|
* Provides access to the OpenFin representation of the current code context (usually an entity
|
|
6057
6065
|
* such as a {@link OpenFin.View} or {@link OpenFin.Window}), as well as to the current `Interop` context.
|
|
@@ -9256,7 +9264,7 @@ declare type LayoutSyncApi = {
|
|
|
9256
9264
|
/**
|
|
9257
9265
|
* @interface
|
|
9258
9266
|
*/
|
|
9259
|
-
declare type LegacyWinOptionsInAppOptions = Pick<WindowCreationOptions, 'accelerator' | 'alwaysOnTop' | 'api' | 'aspectRatio' | 'autoplayPolicy' | 'autoShow' | 'backgroundColor' | 'contentNavigation' | 'contextMenu' | 'cornerRounding' | 'customData' | 'customRequestHeaders' | 'defaultCentered' | 'defaultHeight' | 'defaultLeft' | 'defaultTop' | 'defaultWidth' | '
|
|
9267
|
+
declare type LegacyWinOptionsInAppOptions = Pick<WindowCreationOptions, 'accelerator' | 'alwaysOnTop' | 'api' | 'aspectRatio' | 'autoplayPolicy' | 'autoShow' | 'backgroundColor' | 'contentNavigation' | 'contextMenu' | 'cornerRounding' | 'customData' | 'customRequestHeaders' | 'defaultCentered' | 'defaultHeight' | 'defaultLeft' | 'defaultTop' | 'defaultWidth' | 'hideOnClose' | 'icon' | 'maxHeight' | 'maximizable' | 'maxWidth' | 'minHeight' | 'minimizable' | 'minWidth' | 'opacity' | 'preloadScripts' | 'resizable' | 'resizeRegion' | 'saveWindowState' | 'ignoreSavedWindowState' | 'shadow' | 'showTaskbarIcon' | 'smallWindow' | 'state' | 'taskbarIconGroup' | 'waitForPageLoad' | '_internalWorkspaceData'>;
|
|
9260
9268
|
|
|
9261
9269
|
declare type Listener<T extends {
|
|
9262
9270
|
type: string;
|
|
@@ -9937,16 +9945,6 @@ declare type MutableWindowOptions = {
|
|
|
9937
9945
|
* _When omitted, _inherits_ from the parent application._
|
|
9938
9946
|
*/
|
|
9939
9947
|
customData: any;
|
|
9940
|
-
/**
|
|
9941
|
-
*
|
|
9942
|
-
* Show the window's frame.
|
|
9943
|
-
*
|
|
9944
|
-
* @remarks
|
|
9945
|
-
* This property will not be updatable starting runtime version 45.
|
|
9946
|
-
*
|
|
9947
|
-
* @default true
|
|
9948
|
-
*/
|
|
9949
|
-
frame: boolean;
|
|
9950
9948
|
/**
|
|
9951
9949
|
* Hides the window instead of closing it when the close button is pressed.
|
|
9952
9950
|
*
|
|
@@ -19564,6 +19562,7 @@ declare namespace WebContentsEvents {
|
|
|
19564
19562
|
ContentCreationRulesEvent,
|
|
19565
19563
|
ChildContentBlockedEvent,
|
|
19566
19564
|
ChildContentOpenedInBrowserEvent,
|
|
19565
|
+
ChildViewDestination,
|
|
19567
19566
|
ChildViewCreatedEvent,
|
|
19568
19567
|
ChildWindowCreatedEvent,
|
|
19569
19568
|
FileDownloadEvent,
|
package/out/mock-public.d.ts
CHANGED
|
@@ -3086,12 +3086,31 @@ declare interface ChildContentOptions {
|
|
|
3086
3086
|
*/
|
|
3087
3087
|
declare type ChildViewCreatedEvent = ContentCreationRulesEvent & {
|
|
3088
3088
|
type: 'child-view-created';
|
|
3089
|
+
/**
|
|
3090
|
+
* Recommended placement for the already-created child View.
|
|
3091
|
+
*
|
|
3092
|
+
* This is complementary to `disposition`: `disposition` describes the requested browser creation
|
|
3093
|
+
* behavior, while `destination` describes where the resulting View should be placed.
|
|
3094
|
+
*/
|
|
3095
|
+
destination: ChildViewDestination;
|
|
3089
3096
|
/**
|
|
3090
3097
|
* The options the child View was created with.
|
|
3091
3098
|
*/
|
|
3092
3099
|
childOptions: OpenFin_2.ViewOptions;
|
|
3093
3100
|
};
|
|
3094
3101
|
|
|
3102
|
+
/**
|
|
3103
|
+
* Describes where an already-created View should be placed.
|
|
3104
|
+
*/
|
|
3105
|
+
declare type ChildViewDestination = {
|
|
3106
|
+
/** Add the View to this existing window. */
|
|
3107
|
+
type: 'existing-window';
|
|
3108
|
+
identity: OpenFin_2.Identity;
|
|
3109
|
+
} | {
|
|
3110
|
+
/** Create a new window containing the View. */
|
|
3111
|
+
type: 'new-window';
|
|
3112
|
+
};
|
|
3113
|
+
|
|
3095
3114
|
/**
|
|
3096
3115
|
* Generated when a child Window is created.
|
|
3097
3116
|
* @interface
|
|
@@ -3104,22 +3123,7 @@ declare type ChildWindowCreatedEvent = ContentCreationRulesEvent & {
|
|
|
3104
3123
|
childOptions: OpenFin_2.WindowOptions;
|
|
3105
3124
|
};
|
|
3106
3125
|
|
|
3107
|
-
|
|
3108
|
-
* End of Interop Client Events
|
|
3109
|
-
*/
|
|
3110
|
-
/**
|
|
3111
|
-
* Client-side handle for the chrome-browser feature.
|
|
3112
|
-
*
|
|
3113
|
-
* For Chrome extension integration to be active on a window, that window must be
|
|
3114
|
-
* created with `chromeBrowser: true` in its window options. There is no separate
|
|
3115
|
-
* `init()` step.
|
|
3116
|
-
*/
|
|
3117
|
-
declare interface ChromeBrowser {
|
|
3118
|
-
/**
|
|
3119
|
-
* Extension action surface — observe and invoke installed Chrome extension actions.
|
|
3120
|
-
*/
|
|
3121
|
-
readonly Actions: ChromeBrowserActions;
|
|
3122
|
-
}
|
|
3126
|
+
/* Excluded from this release type: ChromeBrowser */
|
|
3123
3127
|
|
|
3124
3128
|
/**
|
|
3125
3129
|
* APIs for interacting with Chromium extension actions from an initialized ChromeBrowser window.
|
|
@@ -3889,14 +3893,7 @@ declare type ConstWindowOptions = {
|
|
|
3889
3893
|
* @default false
|
|
3890
3894
|
*/
|
|
3891
3895
|
backgroundThrottling: boolean;
|
|
3892
|
-
|
|
3893
|
-
* If `true`, the window is registered with Chromium as a `ChromeBrowser`,
|
|
3894
|
-
* making it visible to Chrome extensions via the `chrome.windows` API.
|
|
3895
|
-
* The window must be created with this option set; it cannot be flipped at runtime.
|
|
3896
|
-
*
|
|
3897
|
-
* @defaultValue false
|
|
3898
|
-
*/
|
|
3899
|
-
chromeBrowser: boolean;
|
|
3896
|
+
/* Excluded from this release type: chromeBrowser */
|
|
3900
3897
|
/**
|
|
3901
3898
|
* Configures how new content (e,g, from `window.open` or a link) is opened.
|
|
3902
3899
|
*/
|
|
@@ -3986,6 +3983,12 @@ declare type ConstWindowOptions = {
|
|
|
3986
3983
|
* triggered by the window itself, or a view targeting the window.
|
|
3987
3984
|
*/
|
|
3988
3985
|
downloadShelf: DownloadShelfOptions;
|
|
3986
|
+
/**
|
|
3987
|
+
* @defaultValue true
|
|
3988
|
+
*
|
|
3989
|
+
* Show the window's frame.
|
|
3990
|
+
*/
|
|
3991
|
+
frame: boolean;
|
|
3989
3992
|
height: number;
|
|
3990
3993
|
layout: any;
|
|
3991
3994
|
/**
|
|
@@ -5636,6 +5639,11 @@ declare type ExtensionTabCreatedEvent = BaseEvent_5 & {
|
|
|
5636
5639
|
type: 'extension-tab-created';
|
|
5637
5640
|
/** Identity of the auto-created view backing the new tab. */
|
|
5638
5641
|
viewIdentity: OpenFin_2.Identity;
|
|
5642
|
+
/**
|
|
5643
|
+
* Recommended placement for the auto-created View. This is complementary to `disposition`, which
|
|
5644
|
+
* describes the requested browser creation behavior.
|
|
5645
|
+
*/
|
|
5646
|
+
destination: WebContentsEvents.ChildViewDestination;
|
|
5639
5647
|
/**
|
|
5640
5648
|
* Identity of the view that was active when the extension triggered tab creation.
|
|
5641
5649
|
* Undefined if no tab was active (e.g. the first tab in a newly-opened window).
|
|
@@ -6051,7 +6059,7 @@ declare interface FinApi<MeType extends OpenFin_2.EntityType> {
|
|
|
6051
6059
|
readonly Interop: InteropModule;
|
|
6052
6060
|
readonly SnapshotSource: SnapshotSourceModule;
|
|
6053
6061
|
readonly NotificationManager: NotificationManagerModule;
|
|
6054
|
-
|
|
6062
|
+
/* Excluded from this release type: ChromeBrowser */
|
|
6055
6063
|
/**
|
|
6056
6064
|
* Provides access to the OpenFin representation of the current code context (usually an entity
|
|
6057
6065
|
* such as a {@link OpenFin.View} or {@link OpenFin.Window}), as well as to the current `Interop` context.
|
|
@@ -9256,7 +9264,7 @@ declare type LayoutSyncApi = {
|
|
|
9256
9264
|
/**
|
|
9257
9265
|
* @interface
|
|
9258
9266
|
*/
|
|
9259
|
-
declare type LegacyWinOptionsInAppOptions = Pick<WindowCreationOptions, 'accelerator' | 'alwaysOnTop' | 'api' | 'aspectRatio' | 'autoplayPolicy' | 'autoShow' | 'backgroundColor' | 'contentNavigation' | 'contextMenu' | 'cornerRounding' | 'customData' | 'customRequestHeaders' | 'defaultCentered' | 'defaultHeight' | 'defaultLeft' | 'defaultTop' | 'defaultWidth' | '
|
|
9267
|
+
declare type LegacyWinOptionsInAppOptions = Pick<WindowCreationOptions, 'accelerator' | 'alwaysOnTop' | 'api' | 'aspectRatio' | 'autoplayPolicy' | 'autoShow' | 'backgroundColor' | 'contentNavigation' | 'contextMenu' | 'cornerRounding' | 'customData' | 'customRequestHeaders' | 'defaultCentered' | 'defaultHeight' | 'defaultLeft' | 'defaultTop' | 'defaultWidth' | 'hideOnClose' | 'icon' | 'maxHeight' | 'maximizable' | 'maxWidth' | 'minHeight' | 'minimizable' | 'minWidth' | 'opacity' | 'preloadScripts' | 'resizable' | 'resizeRegion' | 'saveWindowState' | 'ignoreSavedWindowState' | 'shadow' | 'showTaskbarIcon' | 'smallWindow' | 'state' | 'taskbarIconGroup' | 'waitForPageLoad' | '_internalWorkspaceData'>;
|
|
9260
9268
|
|
|
9261
9269
|
declare type Listener<T extends {
|
|
9262
9270
|
type: string;
|
|
@@ -9937,16 +9945,6 @@ declare type MutableWindowOptions = {
|
|
|
9937
9945
|
* _When omitted, _inherits_ from the parent application._
|
|
9938
9946
|
*/
|
|
9939
9947
|
customData: any;
|
|
9940
|
-
/**
|
|
9941
|
-
*
|
|
9942
|
-
* Show the window's frame.
|
|
9943
|
-
*
|
|
9944
|
-
* @remarks
|
|
9945
|
-
* This property will not be updatable starting runtime version 45.
|
|
9946
|
-
*
|
|
9947
|
-
* @default true
|
|
9948
|
-
*/
|
|
9949
|
-
frame: boolean;
|
|
9950
9948
|
/**
|
|
9951
9949
|
* Hides the window instead of closing it when the close button is pressed.
|
|
9952
9950
|
*
|
|
@@ -19564,6 +19562,7 @@ declare namespace WebContentsEvents {
|
|
|
19564
19562
|
ContentCreationRulesEvent,
|
|
19565
19563
|
ChildContentBlockedEvent,
|
|
19566
19564
|
ChildContentOpenedInBrowserEvent,
|
|
19565
|
+
ChildViewDestination,
|
|
19567
19566
|
ChildViewCreatedEvent,
|
|
19568
19567
|
ChildWindowCreatedEvent,
|
|
19569
19568
|
FileDownloadEvent,
|
package/out/stub.d.ts
CHANGED
|
@@ -3142,12 +3142,31 @@ declare interface ChildContentOptions {
|
|
|
3142
3142
|
*/
|
|
3143
3143
|
declare type ChildViewCreatedEvent = ContentCreationRulesEvent & {
|
|
3144
3144
|
type: 'child-view-created';
|
|
3145
|
+
/**
|
|
3146
|
+
* Recommended placement for the already-created child View.
|
|
3147
|
+
*
|
|
3148
|
+
* This is complementary to `disposition`: `disposition` describes the requested browser creation
|
|
3149
|
+
* behavior, while `destination` describes where the resulting View should be placed.
|
|
3150
|
+
*/
|
|
3151
|
+
destination: ChildViewDestination;
|
|
3145
3152
|
/**
|
|
3146
3153
|
* The options the child View was created with.
|
|
3147
3154
|
*/
|
|
3148
3155
|
childOptions: OpenFin_2.ViewOptions;
|
|
3149
3156
|
};
|
|
3150
3157
|
|
|
3158
|
+
/**
|
|
3159
|
+
* Describes where an already-created View should be placed.
|
|
3160
|
+
*/
|
|
3161
|
+
declare type ChildViewDestination = {
|
|
3162
|
+
/** Add the View to this existing window. */
|
|
3163
|
+
type: 'existing-window';
|
|
3164
|
+
identity: OpenFin_2.Identity;
|
|
3165
|
+
} | {
|
|
3166
|
+
/** Create a new window containing the View. */
|
|
3167
|
+
type: 'new-window';
|
|
3168
|
+
};
|
|
3169
|
+
|
|
3151
3170
|
/**
|
|
3152
3171
|
* Generated when a child Window is created.
|
|
3153
3172
|
* @interface
|
|
@@ -3166,9 +3185,16 @@ declare type ChildWindowCreatedEvent = ContentCreationRulesEvent & {
|
|
|
3166
3185
|
/**
|
|
3167
3186
|
* Client-side handle for the chrome-browser feature.
|
|
3168
3187
|
*
|
|
3169
|
-
* For
|
|
3170
|
-
* created with `chromeBrowser: true` in its window options.
|
|
3171
|
-
*
|
|
3188
|
+
* For extension integration to be active on a window, that window must be
|
|
3189
|
+
* created with `chromeBrowser: true` in its window options.
|
|
3190
|
+
*
|
|
3191
|
+
* @remarks
|
|
3192
|
+
* This namespace is intended for internal experimentation only. Enabling the
|
|
3193
|
+
* `chromeBrowser` window option changes how the runtime manages content and standard
|
|
3194
|
+
* OpenFin content behavior is not guaranteed.
|
|
3195
|
+
*
|
|
3196
|
+
* @internal
|
|
3197
|
+
* @experimental This API is under active development and may change or be removed without notice.
|
|
3172
3198
|
*/
|
|
3173
3199
|
declare interface ChromeBrowser {
|
|
3174
3200
|
/**
|
|
@@ -3949,13 +3975,27 @@ declare type ConstWindowOptions = {
|
|
|
3949
3975
|
*/
|
|
3950
3976
|
backgroundThrottling: boolean;
|
|
3951
3977
|
/**
|
|
3952
|
-
*
|
|
3953
|
-
*
|
|
3954
|
-
*
|
|
3978
|
+
* Registers the window with Chromium as a `ChromeBrowser`, making it visible to
|
|
3979
|
+
* Chrome extensions via the `chrome.windows` API. The window must be created with
|
|
3980
|
+
* this option set; it cannot be flipped at runtime.
|
|
3955
3981
|
*
|
|
3982
|
+
* Pass `true` (equivalent to `{ type: 'normal' }`) to register as a normal tabbed
|
|
3983
|
+
* chrome-browser host, or `{ type: 'popup' }` to register as a popup chrome-browser
|
|
3984
|
+
* host (no tab strip; the window's own content is the single tab) — the same
|
|
3985
|
+
* registration that `window.open` popups and extension popups receive internally.
|
|
3986
|
+
*
|
|
3987
|
+
* @remarks
|
|
3988
|
+
* Enabling this option changes how Chromium manages the window's content. Standard
|
|
3989
|
+
* OpenFin content behavior is not guaranteed; for example, configured
|
|
3990
|
+
* {@link ContentCreationOptions content creation rules} will no longer be respected.
|
|
3991
|
+
*
|
|
3992
|
+
* @internal
|
|
3993
|
+
* @experimental This option is under active development and may change or be removed without notice.
|
|
3956
3994
|
* @defaultValue false
|
|
3957
3995
|
*/
|
|
3958
|
-
chromeBrowser: boolean
|
|
3996
|
+
chromeBrowser: boolean | {
|
|
3997
|
+
type: 'normal' | 'popup';
|
|
3998
|
+
};
|
|
3959
3999
|
/**
|
|
3960
4000
|
* Configures how new content (e,g, from `window.open` or a link) is opened.
|
|
3961
4001
|
*/
|
|
@@ -4045,6 +4085,12 @@ declare type ConstWindowOptions = {
|
|
|
4045
4085
|
* triggered by the window itself, or a view targeting the window.
|
|
4046
4086
|
*/
|
|
4047
4087
|
downloadShelf: DownloadShelfOptions;
|
|
4088
|
+
/**
|
|
4089
|
+
* @defaultValue true
|
|
4090
|
+
*
|
|
4091
|
+
* Show the window's frame.
|
|
4092
|
+
*/
|
|
4093
|
+
frame: boolean;
|
|
4048
4094
|
height: number;
|
|
4049
4095
|
layout: any;
|
|
4050
4096
|
/**
|
|
@@ -5718,6 +5764,11 @@ declare type ExtensionTabCreatedEvent = BaseEvent_5 & {
|
|
|
5718
5764
|
type: 'extension-tab-created';
|
|
5719
5765
|
/** Identity of the auto-created view backing the new tab. */
|
|
5720
5766
|
viewIdentity: OpenFin_2.Identity;
|
|
5767
|
+
/**
|
|
5768
|
+
* Recommended placement for the auto-created View. This is complementary to `disposition`, which
|
|
5769
|
+
* describes the requested browser creation behavior.
|
|
5770
|
+
*/
|
|
5771
|
+
destination: WebContentsEvents.ChildViewDestination;
|
|
5721
5772
|
/**
|
|
5722
5773
|
* Identity of the view that was active when the extension triggered tab creation.
|
|
5723
5774
|
* Undefined if no tab was active (e.g. the first tab in a newly-opened window).
|
|
@@ -6136,6 +6187,12 @@ declare interface FinApi<MeType extends OpenFin_2.EntityType> {
|
|
|
6136
6187
|
readonly Interop: InteropModule;
|
|
6137
6188
|
readonly SnapshotSource: SnapshotSourceModule;
|
|
6138
6189
|
readonly NotificationManager: NotificationManagerModule;
|
|
6190
|
+
/**
|
|
6191
|
+
* Internal, experimental APIs for Chrome extension integration.
|
|
6192
|
+
*
|
|
6193
|
+
* @internal
|
|
6194
|
+
* @experimental This API may change or be removed without notice.
|
|
6195
|
+
*/
|
|
6139
6196
|
readonly ChromeBrowser: OpenFin_2.ChromeBrowser;
|
|
6140
6197
|
/**
|
|
6141
6198
|
* Provides access to the OpenFin representation of the current code context (usually an entity
|
|
@@ -9565,7 +9622,7 @@ declare type LayoutSyncApi = {
|
|
|
9565
9622
|
/**
|
|
9566
9623
|
* @interface
|
|
9567
9624
|
*/
|
|
9568
|
-
declare type LegacyWinOptionsInAppOptions = Pick<WindowCreationOptions, 'accelerator' | 'alwaysOnTop' | 'api' | 'aspectRatio' | 'autoplayPolicy' | 'autoShow' | 'backgroundColor' | 'contentNavigation' | 'contextMenu' | 'cornerRounding' | 'customData' | 'customRequestHeaders' | 'defaultCentered' | 'defaultHeight' | 'defaultLeft' | 'defaultTop' | 'defaultWidth' | '
|
|
9625
|
+
declare type LegacyWinOptionsInAppOptions = Pick<WindowCreationOptions, 'accelerator' | 'alwaysOnTop' | 'api' | 'aspectRatio' | 'autoplayPolicy' | 'autoShow' | 'backgroundColor' | 'contentNavigation' | 'contextMenu' | 'cornerRounding' | 'customData' | 'customRequestHeaders' | 'defaultCentered' | 'defaultHeight' | 'defaultLeft' | 'defaultTop' | 'defaultWidth' | 'hideOnClose' | 'icon' | 'maxHeight' | 'maximizable' | 'maxWidth' | 'minHeight' | 'minimizable' | 'minWidth' | 'opacity' | 'preloadScripts' | 'resizable' | 'resizeRegion' | 'saveWindowState' | 'ignoreSavedWindowState' | 'shadow' | 'showTaskbarIcon' | 'smallWindow' | 'state' | 'taskbarIconGroup' | 'waitForPageLoad' | '_internalWorkspaceData'>;
|
|
9569
9626
|
|
|
9570
9627
|
declare type Listener<T extends {
|
|
9571
9628
|
type: string;
|
|
@@ -10250,16 +10307,6 @@ declare type MutableWindowOptions = {
|
|
|
10250
10307
|
* _When omitted, _inherits_ from the parent application._
|
|
10251
10308
|
*/
|
|
10252
10309
|
customData: any;
|
|
10253
|
-
/**
|
|
10254
|
-
*
|
|
10255
|
-
* Show the window's frame.
|
|
10256
|
-
*
|
|
10257
|
-
* @remarks
|
|
10258
|
-
* This property will not be updatable starting runtime version 45.
|
|
10259
|
-
*
|
|
10260
|
-
* @default true
|
|
10261
|
-
*/
|
|
10262
|
-
frame: boolean;
|
|
10263
10310
|
/**
|
|
10264
10311
|
* Hides the window instead of closing it when the close button is pressed.
|
|
10265
10312
|
*
|
|
@@ -20031,6 +20078,7 @@ declare namespace WebContentsEvents {
|
|
|
20031
20078
|
ContentCreationRulesEvent,
|
|
20032
20079
|
ChildContentBlockedEvent,
|
|
20033
20080
|
ChildContentOpenedInBrowserEvent,
|
|
20081
|
+
ChildViewDestination,
|
|
20034
20082
|
ChildViewCreatedEvent,
|
|
20035
20083
|
ChildWindowCreatedEvent,
|
|
20036
20084
|
FileDownloadEvent,
|
package/out/stub.js
CHANGED
|
@@ -16817,8 +16817,14 @@ _ChromeBrowserActionsImpl_wire = new WeakMap(), _ChromeBrowserActionsImpl_state
|
|
|
16817
16817
|
* Client-side handle for the chrome-browser feature on the current window.
|
|
16818
16818
|
*
|
|
16819
16819
|
* The window must have been created with `chromeBrowser: true` for these APIs to do
|
|
16820
|
-
* anything meaningful
|
|
16820
|
+
* anything meaningful. From a view or a non
|
|
16821
16821
|
* chrome-browser window, calls into `Actions` will resolve to empty results.
|
|
16822
|
+
*
|
|
16823
|
+
* Enabling the `chromeBrowser` window option changes how the runtime manages content,
|
|
16824
|
+
* and standard OpenFin content behavior is not guaranteed.
|
|
16825
|
+
*
|
|
16826
|
+
* @internal
|
|
16827
|
+
* @experimental This API may change or be removed without notice.
|
|
16822
16828
|
*/
|
|
16823
16829
|
class ChromeBrowserModule {
|
|
16824
16830
|
constructor(wire, isWindow) {
|
package/out/stub.mjs
CHANGED
|
@@ -16813,8 +16813,14 @@ _ChromeBrowserActionsImpl_wire = new WeakMap(), _ChromeBrowserActionsImpl_state
|
|
|
16813
16813
|
* Client-side handle for the chrome-browser feature on the current window.
|
|
16814
16814
|
*
|
|
16815
16815
|
* The window must have been created with `chromeBrowser: true` for these APIs to do
|
|
16816
|
-
* anything meaningful
|
|
16816
|
+
* anything meaningful. From a view or a non
|
|
16817
16817
|
* chrome-browser window, calls into `Actions` will resolve to empty results.
|
|
16818
|
+
*
|
|
16819
|
+
* Enabling the `chromeBrowser` window option changes how the runtime manages content,
|
|
16820
|
+
* and standard OpenFin content behavior is not guaranteed.
|
|
16821
|
+
*
|
|
16822
|
+
* @internal
|
|
16823
|
+
* @experimental This API may change or be removed without notice.
|
|
16818
16824
|
*/
|
|
16819
16825
|
class ChromeBrowserModule {
|
|
16820
16826
|
constructor(wire, isWindow) {
|