@openfin/workspace-platform 18.1.20 → 18.1.22

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.
@@ -1,10 +1,6 @@
1
1
  import type OpenFin from '@openfin/core';
2
2
  import type { AttachedPage, CopyPagePayload, DetachPagesFromWindowPayload, ExtendedAttachPagesToWindowPayload, HandleSaveModalOnPageClosePayload, ReorderPagesForWindowPayload, SaveModalOnPageCloseResult, SetActivePageForWindowPayload, UpdatePageForWindowPayload } from '../../../../common/src/api/pages/shapes';
3
3
  import type { CreateSavedPageRequest, HandlePageChangesPayload, ModifiedPageState, Page, UpdateSavedPageRequest } from '../../../../client-api-platform/src/shapes';
4
- /**
5
- * Mark all unsaved pages as saved.
6
- */
7
- export declare const markUnsavedPagesAsSavedInternal: () => Promise<void>;
8
4
  /**
9
5
  * Get all open pages in which are attached to a window.
10
6
  * @returns the list of attached pages.
@@ -37,3 +33,7 @@ export declare function getUniquePageTitle(initialName?: string): Promise<string
37
33
  export declare function handleSaveModalOnPageClose({ page }: HandleSaveModalOnPageClosePayload): Promise<SaveModalOnPageCloseResult>;
38
34
  export declare function copyPageOverride({ page }: CopyPagePayload): Promise<Page>;
39
35
  export declare function handlePageChanges(payload: HandlePageChangesPayload): Promise<ModifiedPageState>;
36
+ /**
37
+ * Mark all unsaved pages as saved.
38
+ */
39
+ export declare const markUnsavedPagesAsSavedInternal: () => Promise<void>;
@@ -1,6 +1,8 @@
1
1
  import type OpenFin from '@openfin/core';
2
2
  import type { CustomThemeOptions, CustomThemeOptionsWithScheme } from '../../../../common/src/api/theming';
3
3
  import { BrowserInitConfig } from '../../../../client-api-platform/src/shapes';
4
+ export declare const DEFAULT_BROWSER_URL: string;
5
+ export declare const ENTERPRISE_LANDING_PAGE_URL: string;
4
6
  /**
5
7
  * Applies default options to the creation of browser windows.
6
8
  */
@@ -1,3 +1,4 @@
1
+ import OpenFin from '@openfin/core';
1
2
  import type { AttachedPage, AttachedPageInternal } from '../../../../common/src/api/pages/shapes';
2
3
  import type { BrowserInitConfig } from '../..';
3
- export declare const applyPageDefaults: (pages: AttachedPage[], initOptions?: Pick<BrowserInitConfig, 'defaultPageOptions' | 'defaultViewOptions'>, isEnterprise?: boolean) => Promise<AttachedPageInternal[]>;
4
+ export declare const applyPageDefaults: (pages: AttachedPage[], initOptions?: Pick<BrowserInitConfig, 'defaultPageOptions' | 'defaultViewOptions' | 'defaultWindowOptions'>, overrideOptions?: OpenFin.PlatformWindowCreationOptions) => Promise<AttachedPageInternal[]>;
@@ -11,7 +11,8 @@ export declare const getChannelClient: (identity: OpenFin.Identity, prefix?: str
11
11
  * (Should only happen in local development)
12
12
  */
13
13
  export declare const createChannel: (identity?: OpenFin.Identity, prefix?: string) => Promise<OpenFin.ChannelProvider>;
14
- export declare const makeGetBrowserChannelClient: () => Promise<OpenFin.ChannelProvider>;
14
+ export declare const getBrowserChannelClient: () => Promise<OpenFin.ChannelProvider>;
15
+ export declare const getViewThemeChannelClient: () => Promise<OpenFin.ChannelProvider>;
15
16
  export interface AddToChannelRequest {
16
17
  newChannelId: string;
17
18
  selectedViews: OpenFin.Identity[];