@openfin/workspace 24.0.0 → 24.0.2

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.
@@ -2,4 +2,5 @@ import type OpenFin from '@openfin/core';
2
2
  import { IntentResolverResponse, ShowIntentsResolverModalRequest, ShowQuitPlatformDialogRequest, ShowUpdateVersionModalRequest } from '../../../../client-api-platform/src/shapes';
3
3
  export declare const showQuitPlatformDialogInternal: (req: ShowQuitPlatformDialogRequest, identity: OpenFin.ProviderIdentity | OpenFin.ClientIdentity) => Promise<void>;
4
4
  export declare const showUpdateVersionModalInternal: (req: ShowUpdateVersionModalRequest, identity: OpenFin.ProviderIdentity | OpenFin.ClientIdentity) => Promise<void>;
5
+ export declare const showApplyAndPublishModalInternal: (_identity: OpenFin.ProviderIdentity | OpenFin.ClientIdentity) => Promise<boolean>;
5
6
  export declare const showIntentsResolverModalInternal: (req: ShowIntentsResolverModalRequest) => Promise<IntentResolverResponse>;
@@ -1352,8 +1352,19 @@ export type AppSite = SiteInfo & {
1352
1352
  /**
1353
1353
  * @internal
1354
1354
  */
1355
- export type WorkspaceSite = SiteInfo & {
1356
- type: 'page' | 'workspace' | 'collection';
1355
+ export type WorkspaceSite = SupertabSite | CollectionSite;
1356
+ /**
1357
+ * @internal
1358
+ */
1359
+ export type SupertabSite = SiteInfo & {
1360
+ type: 'page';
1361
+ isPublished?: boolean;
1362
+ };
1363
+ /**
1364
+ * @internal
1365
+ */
1366
+ export type CollectionSite = SiteInfo & {
1367
+ type: 'collection' | 'workspace';
1357
1368
  };
1358
1369
  /**
1359
1370
  * @internal
@@ -1891,6 +1902,11 @@ export interface WorkspacePlatformModule extends OpenFin.Platform {
1891
1902
  * @internal
1892
1903
  */
1893
1904
  _showUpdateVersionModal(req: ShowUpdateVersionModalRequest): Promise<void>;
1905
+ /**
1906
+ * Shows the Apply and Publish modal (unsaved Supertab changes).
1907
+ * @internal
1908
+ */
1909
+ _showApplyAndPublishModal(): Promise<boolean>;
1894
1910
  /**
1895
1911
  * Launch an application.
1896
1912
  *
@@ -73,6 +73,8 @@ export interface Page {
73
73
  panels?: PanelConfig[];
74
74
  /** Optional property to attach custom metadata to the page object, such as version or timestamp. Must be serializable. */
75
75
  customData?: any;
76
+ /** For published page, supertab icon will show the --color-shared-icon-accent border. default to false when published by admin */
77
+ isPublished?: boolean;
76
78
  }
77
79
  type AttachedPageMetadata = {
78
80
  /** The window the page is currently attached to. */
@@ -93,6 +95,7 @@ export type AttachedPageInternal = {
93
95
  attachedPageType?: 'singleView' | 'multiView' | undefined;
94
96
  isLayoutCreated?: boolean;
95
97
  pageIcon?: string;
98
+ isPublished?: boolean;
96
99
  } & AttachedPage;
97
100
  export type ReparentAttachedPage = AttachedPage & {
98
101
  multiInstanceViewBehavior?: 'reparent';
@@ -96,6 +96,7 @@ export declare enum WorkspacePlatformChannelAction {
96
96
  FocusAndExpandSearchInternal = "focusAndExpandSearchInternal",// Enterprise
97
97
  SendUpdateVersionModalResponseInternal = "sendUpdateVersionModalResponseInternal",// Enterprise
98
98
  ShowUpdateVersionModalInternal = "showUpdateVersionModalInternal",// Enterprise
99
+ ShowApplyAndPublishModalInternal = "showApplyAndPublishModalInternal",// Enterprise
99
100
  GetNotificationIndicatorColorsInternal = "getNotificationIndicatorColorsInternal"
100
101
  }
101
102
  export type PlatFormSupportedFeatures = boolean | {
@@ -22,6 +22,7 @@ export declare enum WindowName {
22
22
  EnterpriseBookmarkDialogWindow = "openfin-enterprise-bookmark-dialog",
23
23
  ZoomControlsDialog = "here-zoom-controls-dialog",
24
24
  UpdateVersionModal = "here-update-version-modal",
25
+ ApplyAndPublishModal = "here-apply-and-publish-modal",
25
26
  DesktopSignalsModal = "here-desktop-signals-modal",
26
27
  IntentsResolverModal = "here-intents-resolver-modal"
27
28
  }
@@ -34,6 +34,7 @@ export declare const showUpdateVersionModal: ({ identity, title, description }:
34
34
  title: string;
35
35
  description: string;
36
36
  }) => Promise<ModalResponseEvent["data"]>;
37
+ export declare const showApplyAndPublishModal: (identity: OpenFin.Identity) => Promise<boolean>;
37
38
  /**
38
39
  * Shows the intents resolver modal and returns the user's selection
39
40
  * @param request - The request containing modal configuration
@@ -7,6 +7,14 @@
7
7
  "issuer": "client-api/src/notifications.ts"
8
8
  }
9
9
  ],
10
+ "@openfin/microsoft365": [
11
+ {
12
+ "type": "explicit",
13
+ "version": "^1.1.0",
14
+ "packageName": "client-api/package.json",
15
+ "issuer": "client-api/src/integrations/microsoft.ts"
16
+ }
17
+ ],
10
18
  "title-case": [
11
19
  {
12
20
  "type": "explicit",
@@ -21,14 +29,6 @@
21
29
  "issuer": "common/src/utils/color-linking.ts"
22
30
  }
23
31
  ],
24
- "@openfin/microsoft365": [
25
- {
26
- "type": "explicit",
27
- "version": "^1.1.0",
28
- "packageName": "client-api/package.json",
29
- "issuer": "client-api/src/integrations/microsoft.ts"
30
- }
31
- ],
32
32
  "lodash.debounce": [
33
33
  {
34
34
  "type": "explicit",
@@ -59,6 +59,14 @@
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
+ ],
62
70
  "dexie": [
63
71
  {
64
72
  "type": "root-implicit",
@@ -84,13 +92,5 @@
84
92
  "packageName": "common/package.json",
85
93
  "issuer": "common/src/utils/create-and-migrate-ibd-store.ts"
86
94
  }
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
  }