@openfin/workspace 24.0.13 → 24.0.15

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.
Files changed (36) hide show
  1. package/client-api/src/notifications.d.ts +5 -0
  2. package/client-api/src/notifications.test.d.ts +1 -0
  3. package/client-api-platform/src/api/app-directory.d.ts +1 -1
  4. package/client-api-platform/src/api/controllers/storage-proxies/channel-storage-proxy.d.ts +19 -0
  5. package/client-api-platform/src/api/controllers/storage-proxies/local-storage-proxy.d.ts +12 -0
  6. package/client-api-platform/src/api/controllers/theme-storage-controller-store.d.ts +17 -0
  7. package/client-api-platform/src/api/controllers/theme-storage-controller.d.ts +28 -22
  8. package/client-api-platform/src/api/pages/index.d.ts +7 -2
  9. package/client-api-platform/src/api/theming.d.ts +8 -4
  10. package/client-api-platform/src/api/utils.d.ts +2 -7
  11. package/client-api-platform/src/init/index.d.ts +2 -1
  12. package/client-api-platform/src/init/override-callback/browser-defaults.d.ts +1 -1
  13. package/client-api-platform/src/init/override-callback/page-defaults.d.ts +1 -1
  14. package/client-api-platform/src/init/panels.d.ts +8 -1
  15. package/client-api-platform/src/init/theming.d.ts +2 -1
  16. package/client-api-platform/src/shapes.d.ts +70 -1
  17. package/common/src/api/pages/enterprise-shapes.d.ts +4 -0
  18. package/common/src/api/pages/shapes.d.ts +10 -2
  19. package/common/src/api/protocol/workspace-platform.d.ts +3 -1
  20. package/common/src/api/theme-migration.d.ts +46 -0
  21. package/common/src/api/theming.d.ts +15 -1
  22. package/common/src/utils/indicators/showIndicator.d.ts +8 -1
  23. package/common/src/utils/indicators/workspace-indicators.d.ts +13 -0
  24. package/common/src/utils/layout.d.ts +9 -6
  25. package/common/src/utils/popup-window.d.ts +23 -4
  26. package/dock3/src/api/protocol.d.ts +2 -0
  27. package/externals.report.json +8 -8
  28. package/home.js +1 -1
  29. package/home.js.map +1 -1
  30. package/index.js +1 -1
  31. package/index.js.map +1 -1
  32. package/notifications.js +1 -1
  33. package/notifications.js.map +1 -1
  34. package/package.json +1 -1
  35. package/store.js +1 -1
  36. package/store.js.map +1 -1
@@ -113,12 +113,31 @@ export type RenameSupertabChannelMessage = BasePopupMenuChannelMessage & {
113
113
  pageId: string;
114
114
  };
115
115
  };
116
+ /**
117
+ * A row in the tab search list. {@link showPin} / {@link showUnpin} are optional; when omitted, no row action.
118
+ */
119
+ export type TabSearchListItem = {
120
+ id: string;
121
+ title: string;
122
+ /** When true, show a control to pin (move to the user page group). Core UI + ungrouped only. */
123
+ showPin?: boolean;
124
+ /** When true, show a control to unpin (leave the user page group). */
125
+ showUnpin?: boolean;
126
+ /**
127
+ * When true, show a non-interactive lock (workspace / platform locked); ungrouped pages only.
128
+ * Mutually exclusive with {@link showPin} in the browser; does not replace {@link showUnpin}.
129
+ */
130
+ showPlatformLocked?: boolean;
131
+ };
116
132
  export type TabSearchModalContent = {
117
133
  variant: 'page' | 'view';
118
- tabs: {
119
- title: string;
120
- id: string;
121
- }[];
134
+ tabs: TabSearchListItem[];
135
+ };
136
+ /** Channel action: browser → tab-search popup; refreshes list rows after pin/unpin while open. */
137
+ export declare const TAB_SEARCH_CHANNEL_ACTION_UPDATE_TABS: "update-tabs";
138
+ export type TabSearchUpdateTabsMessage = {
139
+ requestId: string;
140
+ tabs: TabSearchListItem[];
122
141
  };
123
142
  export type TabSearchChannelMessage = BasePopupMenuChannelMessage & {
124
143
  type: PopupWindowMenuType.TabSearch;
@@ -1,6 +1,7 @@
1
1
  import type { OpenFin } from '@openfin/core';
2
2
  import { BaseCustomDropdownItem } from '../../../client-api/src/shapes';
3
3
  import { BookmarkDockEntryPayload, DockEntry, LaunchDockEntryPayload, Collection } from '../../../client-api-platform/src/shapes';
4
+ import { WorkspaceIndicatorConfig } from '../../../common/src/utils/indicators/workspace-indicators';
4
5
  import { Dock3Config, DockCompanionButton } from '../../../dock3/src/shapes';
5
6
  /**
6
7
  * Payload for more menu custom option actions
@@ -40,6 +41,7 @@ export type Dock3ChannelClientChannelActions = {
40
41
  'navigate-content-menu': (payload: {
41
42
  targetId: string;
42
43
  }) => void;
44
+ 'handle-indicator-config': (payload: WorkspaceIndicatorConfig) => void;
43
45
  };
44
46
  /**
45
47
  * @internal
@@ -59,14 +59,6 @@
59
59
  "issuer": "common/src/api/i18next.ts"
60
60
  }
61
61
  ],
62
- "lodash.clonedeep": [
63
- {
64
- "type": "explicit",
65
- "version": "4.5.0",
66
- "packageName": "common/package.json",
67
- "issuer": "common/src/utils/layout.ts"
68
- }
69
- ],
70
62
  "dexie": [
71
63
  {
72
64
  "type": "root-implicit",
@@ -92,5 +84,13 @@
92
84
  "packageName": "common/package.json",
93
85
  "issuer": "common/src/api/pages/idb.ts"
94
86
  }
87
+ ],
88
+ "lodash.clonedeep": [
89
+ {
90
+ "type": "explicit",
91
+ "version": "4.5.0",
92
+ "packageName": "common/package.json",
93
+ "issuer": "common/src/utils/layout.ts"
94
+ }
95
95
  ]
96
96
  }