@omnia/wcm 7.8.47-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.
- package/internal-do-not-import-from-here/core/messaging/WcmPublicTopics.d.ts +2 -2
- package/internal-do-not-import-from-here/models/publishingapp/editor/ApprovalDialogAction.d.ts +5 -0
- package/internal-do-not-import-from-here/models/publishingapp/editor/ApprovalDialogAction.js +9 -0
- package/internal-do-not-import-from-here/models/publishingapp/editor/Messages.d.ts +4 -0
- package/internal-do-not-import-from-here/models/publishingapp/editor/index.d.ts +1 -0
- package/internal-do-not-import-from-here/models/publishingapp/editor/index.js +1 -0
- package/package.json +1 -1
|
@@ -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<
|
|
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,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
|
+
}
|
|
@@ -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);
|