@openfin/workspace-platform 5.7.2 → 6.0.0
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/client-api/src/shapes.d.ts +12 -2
- package/client-api/src/templates.d.ts +135 -0
- package/client-api-platform/src/api/browser/browser-module.d.ts +5 -1
- package/client-api-platform/src/api/browser/index.d.ts +3 -0
- package/client-api-platform/src/api/context-menu/browser-logo-handler.d.ts +2 -3
- package/client-api-platform/src/api/context-menu/browser-pagetab-handler.d.ts +3 -0
- package/client-api-platform/src/api/context-menu/browser-viewtab-handler.d.ts +1 -2
- package/client-api-platform/src/api/context-menu/index.d.ts +6 -3
- package/client-api-platform/src/api/protocol.d.ts +3 -2
- package/client-api-platform/src/init/utils.d.ts +2 -15
- package/client-api-platform/src/shapes.d.ts +247 -9
- package/common/src/api/browser-protocol.d.ts +4 -2
- package/common/src/utils/defer-show.d.ts +46 -0
- package/common/src/utils/env.d.ts +0 -6
- package/common/src/utils/page-tab-context-menu.d.ts +2 -0
- package/common/src/utils/window.d.ts +3 -1
- package/index.js +1 -1
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/search-api/src/common.d.ts +2 -2
- package/search-api/src/provider/internal.d.ts +1 -1
- package/search-api/src/provider/remote/registration.d.ts +2 -2
- package/search-api/src/shapes.d.ts +2 -2
- package/common/src/utils/defer-auto-show.d.ts +0 -18
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/// <reference types="openfin-adapter/fin" />
|
|
2
|
-
interface InternalWindowOptions extends OpenFin.PlatformWindowCreationOptions {
|
|
3
|
-
workspacePlatform: OpenFin.WindowOptions['workspacePlatform'] & {
|
|
4
|
-
_internalAutoShow: boolean;
|
|
5
|
-
};
|
|
6
|
-
}
|
|
7
|
-
/**
|
|
8
|
-
* Apply options to a window's options that will disallow the Core from auto showing the window.
|
|
9
|
-
* Instead, a script within the window itself must handle showing the window if deferred auto showing is enabled.
|
|
10
|
-
* When it comes time to show the window, the script can auto show if deferred by simply calling the `autoShowIfDeferred` function.
|
|
11
|
-
* @param opts the window options to apply deferred auto show to.
|
|
12
|
-
*/
|
|
13
|
-
export declare function applyDeferAutoShowOptions(opts: OpenFin.PlatformWindowCreationOptions): InternalWindowOptions;
|
|
14
|
-
/**
|
|
15
|
-
* Will show the current window if deferred auto show is enabled.
|
|
16
|
-
*/
|
|
17
|
-
export declare function autoShowIfDeferred(): Promise<void>;
|
|
18
|
-
export {};
|