@omnia/wcm 7.8.46-preview → 7.8.49-preview

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.
@@ -248,6 +248,8 @@ export declare module PageRollupLocalization {
248
248
  };
249
249
  Roller: {
250
250
  Overlay: string;
251
+ Comments: string;
252
+ Likes: string;
251
253
  };
252
254
  ListingWithImage: {};
253
255
  NavigationView: {
@@ -1,5 +1,5 @@
1
1
  import { MessageBusTopicMediator } from "@omnia/fx";
2
- import { CreateLayoutItemSettingsMessage, PageApprovalMessage, PageScheduleMessage } from "../../models";
2
+ import { CreateLayoutItemSettingsMessage, PageApprovalMessage, PageScheduleMessage, ShowApprovalDialogMessage } from "../../models";
3
3
  import { NavigationData, NavigationNode, LinkItem, PageTypeProperty, LinkPickerRegistration } from "@omnia/wcm/models";
4
4
  import { LinkItemTemplateMsg } from "../../models/relatedlinks";
5
5
  export declare const WcmBlockNamespace = "omnia.wcm.block";
@@ -17,7 +17,7 @@ export declare class PublishingAppTopics {
17
17
  static get refreshNavigationContentUI(): MessageBusTopicMediator<void>;
18
18
  static get showPageScheduleDialogTopic(): MessageBusTopicMediator<PageScheduleMessage>;
19
19
  static get showPagePublishDialogTopic(): MessageBusTopicMediator<void>;
20
- static get showPrePublishContentAnalysisDialogTopic(): MessageBusTopicMediator<void>;
20
+ static get showPrePublishContentAnalysisDialogTopic(): MessageBusTopicMediator<ShowApprovalDialogMessage>;
21
21
  static get showPageSendEmailDialogTopic(): MessageBusTopicMediator<void>;
22
22
  static get showInviteCoAuthorsDialogTopic(): MessageBusTopicMediator<void>;
23
23
  }
@@ -0,0 +1,5 @@
1
+ export declare enum DialogAction {
2
+ approvalOnContinue = 0,
3
+ publishOnContinue = 1,
4
+ analyticOnly = 2
5
+ }
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DialogAction = void 0;
4
+ var DialogAction;
5
+ (function (DialogAction) {
6
+ DialogAction[DialogAction["approvalOnContinue"] = 0] = "approvalOnContinue";
7
+ DialogAction[DialogAction["publishOnContinue"] = 1] = "publishOnContinue";
8
+ DialogAction[DialogAction["analyticOnly"] = 2] = "analyticOnly";
9
+ })(DialogAction = exports.DialogAction || (exports.DialogAction = {}));
@@ -1,4 +1,5 @@
1
1
  import { LayoutItem } from "@omnia/fx-models";
2
+ import { DialogAction } from "./ApprovalDialogAction";
2
3
  export interface CreateLayoutItemSettingsMessage {
3
4
  creationType: string;
4
5
  context?: any;
@@ -13,3 +14,6 @@ export interface PageApprovalMessage {
13
14
  export interface PageScheduleMessage {
14
15
  dialogType: string;
15
16
  }
17
+ export interface ShowApprovalDialogMessage {
18
+ dialogAction: DialogAction;
19
+ }
@@ -11,3 +11,4 @@ export * from "./IActionButton";
11
11
  export * from "./IEditorDisplayActionButton";
12
12
  export * from "./EditorMessage";
13
13
  export * from "./IEditorItemTitleRenderer";
14
+ export * from "./ApprovalDialogAction";
@@ -14,3 +14,4 @@ tslib_1.__exportStar(require("./IActionButton"), exports);
14
14
  tslib_1.__exportStar(require("./IEditorDisplayActionButton"), exports);
15
15
  tslib_1.__exportStar(require("./EditorMessage"), exports);
16
16
  tslib_1.__exportStar(require("./IEditorItemTitleRenderer"), exports);
17
+ tslib_1.__exportStar(require("./ApprovalDialogAction"), exports);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/wcm",
3
3
  "license": "MIT",
4
- "version": "7.8.46-preview",
4
+ "version": "7.8.49-preview",
5
5
  "description": "Omnia Web Content Management.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"