@openfin/workspace 24.0.6 → 24.1.0-alpha.ad7de216

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.
@@ -852,6 +852,12 @@ export interface BrowserWorkspacePlatformWindowOptions {
852
852
  * Taskbar Icon for the Browser Window. If light and dark icon are defined, then the taskbar icon will change when the scheme changes.
853
853
  */
854
854
  icon?: string | TaskbarIcon;
855
+ /**
856
+ * The size of icons in the browser window. This is set from the platform-level
857
+ * `browserIconSize` option during window creation.
858
+ * @internal Propagated from BrowserInitConfig.browserIconSize
859
+ */
860
+ browserIconSize?: IconSize;
855
861
  }
856
862
  /**
857
863
  * Request for creating a browser window.
@@ -2868,7 +2874,6 @@ export type WorkspacePlatformOverrideCallback = OpenFin.OverrideCallback<Workspa
2868
2874
  export type BrowserOverrideCallback = WorkspacePlatformOverrideCallback;
2869
2875
  /**
2870
2876
  * Content menu entry shape cloned and re-exported from UI Library.
2871
- * @internal
2872
2877
  */
2873
2878
  export type ContentMenuEntry = {
2874
2879
  bookmarked?: boolean;
@@ -2896,7 +2901,6 @@ export type BookmarkDockEntryPayload = {
2896
2901
  };
2897
2902
  /**
2898
2903
  * Represents dock entry for favorites
2899
- * @internal
2900
2904
  */
2901
2905
  export type DockEntry = {
2902
2906
  type: 'folder';
@@ -30,3 +30,10 @@ export declare const getWorkspaceOFApplication: () => OpenFin.Application;
30
30
  * @returns A Promise resolving to the application manifest
31
31
  */
32
32
  export declare const getCachedManifest: () => Promise<OpenFin.Manifest>;
33
+ /**
34
+ * Gets application info, caching the result after the first call.
35
+ * Application info (manifestUrl, licenseKey, runtime version, etc.) never changes
36
+ * during the application lifecycle. Multiple callers (overrides, sentry, analytics)
37
+ * share a single IPC call.
38
+ */
39
+ export declare const getCachedAppInfo: () => Promise<OpenFin.ApplicationInfo>;
@@ -1,2 +1,4 @@
1
+ /** @internal Reset cached host specs — only for test isolation */
2
+ export declare const resetHostSpecsCache: () => void;
1
3
  export declare const isOSWindows: () => Promise<boolean>;
2
4
  export declare const isWindows10Or11: () => Promise<boolean>;
@@ -45,7 +45,6 @@ export declare enum PopupWindowMenuType {
45
45
  RenameSupertab = "rename-supertab",
46
46
  AddEditBookmark = "add-edit-bookmark",
47
47
  DropdownMenu = "dropdown-menu",
48
- ZoomControls = "zoom-controls",
49
48
  TabSearch = "tab-search"
50
49
  }
51
50
  export type BookmarkButtonPayload = {
@@ -80,15 +79,21 @@ export type BookmarkDialogChannelMessage = BasePopupMenuChannelMessage & {
80
79
  type: PopupWindowMenuType.AddEditBookmark;
81
80
  payload: BookmarkButtonPayload;
82
81
  };
83
- export type ZoomControlsDialogPayload = {
84
- selectedViewIdentity?: OpenFin.Identity;
85
- zoomPercent?: number;
86
- openedViaMouseClick?: boolean;
87
- };
88
- export type ZoomControlsDialogChannelMessage = BasePopupMenuChannelMessage & {
89
- type: PopupWindowMenuType.ZoomControls;
90
- payload: ZoomControlsDialogPayload;
82
+ /** Sent from browser to zoom dialog window to position and hydrate UI (initial open or live sync). */
83
+ export type ZoomControlsDialogStateMessage = {
84
+ /**
85
+ * The identity of the window the dialog/menu invocation came from.
86
+ */
87
+ parentIdentity: OpenFin.Identity;
88
+ x: number;
89
+ y: number;
90
+ payload: {
91
+ selectedViewIdentity?: OpenFin.Identity;
92
+ zoomPercent?: number;
93
+ openedViaMouseClick?: boolean;
94
+ };
91
95
  };
96
+ export declare const ZOOM_DIALOG_CHANNEL_ACTION: "state";
92
97
  export type DropdownMenuChannelMessage = BasePopupMenuChannelMessage & {
93
98
  type: PopupWindowMenuType.DropdownMenu;
94
99
  payload: {
@@ -43,22 +43,6 @@
43
43
  "issuer": "common/src/utils/layout.ts"
44
44
  }
45
45
  ],
46
- "react-i18next": [
47
- {
48
- "type": "explicit",
49
- "version": "15.4.0",
50
- "packageName": "common/package.json",
51
- "issuer": "common/src/api/i18next.ts"
52
- }
53
- ],
54
- "i18next": [
55
- {
56
- "type": "explicit",
57
- "version": "^23.7.16",
58
- "packageName": "common/package.json",
59
- "issuer": "common/src/api/i18next.ts"
60
- }
61
- ],
62
46
  "dexie": [
63
47
  {
64
48
  "type": "root-implicit",
@@ -85,6 +69,22 @@
85
69
  "issuer": "common/src/api/pages/idb.ts"
86
70
  }
87
71
  ],
72
+ "react-i18next": [
73
+ {
74
+ "type": "explicit",
75
+ "version": "15.4.0",
76
+ "packageName": "common/package.json",
77
+ "issuer": "common/src/api/i18next.ts"
78
+ }
79
+ ],
80
+ "i18next": [
81
+ {
82
+ "type": "explicit",
83
+ "version": "^23.7.16",
84
+ "packageName": "common/package.json",
85
+ "issuer": "common/src/api/i18next.ts"
86
+ }
87
+ ],
88
88
  "lodash.clonedeep": [
89
89
  {
90
90
  "type": "explicit",