@omnia/wcm 7.10.0-preview.1 → 7.10.0-preview.11
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/README.md +1 -1
- package/internal-do-not-import-from-here/core/loc/CoreLocalization.d.ts +1 -1
- package/internal-do-not-import-from-here/core/loc/EditorLocalization.d.ts +16 -4
- package/internal-do-not-import-from-here/core/loc/PageRollupLocalization.d.ts +3 -0
- package/internal-do-not-import-from-here/core/loc/PublishingAppLocalization.d.ts +8 -0
- package/internal-do-not-import-from-here/core/messaging/WcmPublicTopics.d.ts +1 -2
- package/internal-do-not-import-from-here/fx/models/components/PageRollupBlock.d.ts +1 -0
- package/internal-do-not-import-from-here/fx/models/pages/PageTypeData.d.ts +11 -9
- package/internal-do-not-import-from-here/fx/models/variations/Variation.d.ts +5 -1
- package/internal-do-not-import-from-here/fx/models/variations/VariationCreationRequest.d.ts +3 -3
- package/internal-do-not-import-from-here/fx/routing/WcmRouter.d.ts +1 -1
- package/internal-do-not-import-from-here/models/publishingapp/editor/Messages.d.ts +0 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Omnia Web Content Management
|
|
2
2
|
|
|
3
|
-
Omnia Web Content Management is a product from
|
|
3
|
+
Omnia Web Content Management is a product from Omnia Digital Workplace AB. In order to use Omnia Web Content Management you need a product license for one of the following products:
|
|
4
4
|
|
|
5
5
|
* Omnia Foundation (stand-alone)
|
|
6
6
|
* Omnia Intranet
|
|
@@ -131,6 +131,7 @@ export declare module EditorLocalization {
|
|
|
131
131
|
ArchivedAt: string;
|
|
132
132
|
Comment: string;
|
|
133
133
|
CreateCopy: string;
|
|
134
|
+
CreateCopyTooltip: string;
|
|
134
135
|
Terminate: string;
|
|
135
136
|
TerminateConfirmationMessage: string;
|
|
136
137
|
RestoreConfirmationMessage: string;
|
|
@@ -878,7 +879,7 @@ export declare module EditorLocalization {
|
|
|
878
879
|
Cancel: string;
|
|
879
880
|
Approval: string;
|
|
880
881
|
};
|
|
881
|
-
|
|
882
|
+
PageReviewRule: {
|
|
882
883
|
Title: string;
|
|
883
884
|
RuleName: string;
|
|
884
885
|
DateProperty: string;
|
|
@@ -898,15 +899,26 @@ export declare module EditorLocalization {
|
|
|
898
899
|
Save: string;
|
|
899
900
|
Add: string;
|
|
900
901
|
Cancel: string;
|
|
901
|
-
|
|
902
|
+
TestEmailDialog: {
|
|
902
903
|
Title: string;
|
|
903
|
-
|
|
904
|
+
Instruction: string;
|
|
905
|
+
InfoText: string;
|
|
904
906
|
Buttons: {
|
|
905
907
|
SendEmail: string;
|
|
906
908
|
};
|
|
909
|
+
NoPagesFoundMessage: string;
|
|
910
|
+
};
|
|
911
|
+
EditRuleBtn: string;
|
|
912
|
+
DeleteRuleBtn: string;
|
|
913
|
+
TestEmailBtn: string;
|
|
914
|
+
Placeholders: {
|
|
915
|
+
Title: string;
|
|
916
|
+
PlaceholdersDescription: string;
|
|
917
|
+
Property: string;
|
|
907
918
|
};
|
|
919
|
+
EmailTemplate: string;
|
|
908
920
|
};
|
|
909
|
-
|
|
921
|
+
RemovePageReviewRuleSettings: {
|
|
910
922
|
Title: string;
|
|
911
923
|
ConfirmationMessage: string;
|
|
912
924
|
};
|
|
@@ -315,6 +315,14 @@ export declare module PublishingAppLocalization {
|
|
|
315
315
|
Message: string;
|
|
316
316
|
};
|
|
317
317
|
EnableEditNotifications: string;
|
|
318
|
+
NotifyForEdit: {
|
|
319
|
+
SectionLabel: string;
|
|
320
|
+
NoteTitle: string;
|
|
321
|
+
Note: string;
|
|
322
|
+
VariationAuthor: string;
|
|
323
|
+
PagePropertyUsers: string;
|
|
324
|
+
UserPropertyPickerLabel: string;
|
|
325
|
+
};
|
|
318
326
|
};
|
|
319
327
|
StatisticProvider: {
|
|
320
328
|
SiteScript: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MessageBusTopicMediator } from "@omnia/fx";
|
|
2
|
-
import { CreateLayoutItemSettingsMessage, PageApprovalMessage, PageScheduleMessage, ShowApprovalDialogMessage
|
|
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";
|
|
@@ -20,5 +20,4 @@ export declare class PublishingAppTopics {
|
|
|
20
20
|
static get showPrePublishContentAnalysisDialogTopic(): MessageBusTopicMediator<ShowApprovalDialogMessage>;
|
|
21
21
|
static get showPageSendEmailDialogTopic(): MessageBusTopicMediator<void>;
|
|
22
22
|
static get showInviteCoAuthorsDialogTopic(): MessageBusTopicMediator<void>;
|
|
23
|
-
static get showPageReviewValidateFailedDialogTopic(): MessageBusTopicMediator<ShowPageReviewValidateFailedDialogMessage>;
|
|
24
23
|
}
|
|
@@ -10,6 +10,7 @@ export interface PageRollupViewSettings {
|
|
|
10
10
|
selectProperties: Array<string>;
|
|
11
11
|
showContentAsDialog: boolean;
|
|
12
12
|
enableRichText: boolean;
|
|
13
|
+
disableViewButtonOnDialog: boolean;
|
|
13
14
|
enableMention?: boolean;
|
|
14
15
|
enableBestReply: boolean;
|
|
15
16
|
enableSubscription: boolean;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { AnalyticsSettings, EnterprisePropertyDefinition, EnterprisePropertyItemSettings, GuidValue, IconPickerModel, Identity, MultilingualString, TimePeriodSettings, DateOperator } from "@omnia/fx-models";
|
|
1
|
+
import { AnalyticsSettings, EnterprisePropertyDefinition, EnterprisePropertyItemSettings, GuidValue, IconPickerModel, Identity, MultilingualString, TimePeriodSettings, DateOperator, UserIdentity } from "@omnia/fx-models";
|
|
2
2
|
import { RichTextEditorExtension } from "@omnia/fx/ux/richtexteditor";
|
|
3
3
|
import { SharepointSyncPageSettings } from "../../../sp";
|
|
4
|
+
import { PageId } from "./Page";
|
|
4
5
|
import { PageData } from "./PageData";
|
|
5
6
|
/**
|
|
6
7
|
* We should update to use nheritance interfaces pattern
|
|
@@ -40,7 +41,7 @@ export interface PageTypeData extends PageData {
|
|
|
40
41
|
sharepointSyncPageSettings?: SharepointSyncPageSettings;
|
|
41
42
|
automaticArchiveSettings: AutomaticArchiveSettings;
|
|
42
43
|
analyticsSettings?: AnalyticsSettings;
|
|
43
|
-
|
|
44
|
+
pageReviewRules?: number[];
|
|
44
45
|
}
|
|
45
46
|
export interface PageTypeProperty extends EnterprisePropertyDefinition {
|
|
46
47
|
info: PageTypePropertyInfo;
|
|
@@ -52,7 +53,6 @@ export interface AutomaticArchiveSettings {
|
|
|
52
53
|
property: string;
|
|
53
54
|
}
|
|
54
55
|
export interface MessageBarSettings {
|
|
55
|
-
enabled: boolean;
|
|
56
56
|
title: MultilingualString;
|
|
57
57
|
body: MultilingualString;
|
|
58
58
|
icon: IconPickerModel;
|
|
@@ -60,7 +60,6 @@ export interface MessageBarSettings {
|
|
|
60
60
|
textColor: string;
|
|
61
61
|
}
|
|
62
62
|
export interface SendEmailSettings {
|
|
63
|
-
enabled: boolean;
|
|
64
63
|
subject: MultilingualString;
|
|
65
64
|
body: MultilingualString;
|
|
66
65
|
recipientProperties: string[];
|
|
@@ -70,29 +69,32 @@ export interface ChangePageTypeSettings {
|
|
|
70
69
|
pageTypeId: number;
|
|
71
70
|
}
|
|
72
71
|
export interface SuspendedSettings {
|
|
73
|
-
enabled: boolean;
|
|
74
72
|
changePageType: ChangePageTypeSettings;
|
|
75
73
|
removeFromSearchEnabled: boolean;
|
|
76
74
|
}
|
|
77
|
-
export interface
|
|
75
|
+
export interface PageReviewRule {
|
|
78
76
|
id: number;
|
|
79
77
|
pageId: number;
|
|
80
78
|
originalPageVersionId: number;
|
|
81
79
|
title: MultilingualString;
|
|
82
80
|
dateProperty: string;
|
|
81
|
+
messageBarEnabled: boolean;
|
|
83
82
|
messageBarSettings: MessageBarSettings;
|
|
83
|
+
emailEnabled: boolean;
|
|
84
84
|
emailSettings: SendEmailSettings;
|
|
85
|
+
suspendEnabled: boolean;
|
|
85
86
|
suspendedSettings: SuspendedSettings;
|
|
86
87
|
}
|
|
87
88
|
export interface PageReviewRuleEvaluationResult {
|
|
88
|
-
pageReviewRule:
|
|
89
|
+
pageReviewRule: PageReviewRule;
|
|
89
90
|
reviewDate: Date;
|
|
90
91
|
showMessageBar: boolean;
|
|
91
92
|
isSuspended: boolean;
|
|
92
93
|
sendEmail: boolean;
|
|
93
94
|
}
|
|
94
|
-
export interface
|
|
95
|
+
export interface PageReviewRuleTestMailTemplateRequest {
|
|
95
96
|
ruleId: number;
|
|
96
97
|
pageTypeId: number;
|
|
97
|
-
|
|
98
|
+
identities: UserIdentity[];
|
|
99
|
+
pageIds: PageId[];
|
|
98
100
|
}
|
|
@@ -22,6 +22,10 @@ export interface Variation {
|
|
|
22
22
|
automaticMachineTranslation?: boolean;
|
|
23
23
|
allowEditMachineTranslation?: boolean;
|
|
24
24
|
activeRightToLeft?: boolean;
|
|
25
|
-
|
|
25
|
+
editNotificationSettings?: VariationEditNotificationSettings;
|
|
26
|
+
}
|
|
27
|
+
export interface VariationEditNotificationSettings {
|
|
28
|
+
notifyVariationAuthorOnEdit?: boolean;
|
|
29
|
+
notifyPagePropertyUsersOnEdit?: boolean;
|
|
26
30
|
editNotificationsUserPropertyId?: GuidValue;
|
|
27
31
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { MultilingualString, IIcon, Identity
|
|
1
|
+
import { MultilingualString, IIcon, Identity } from "@omnia/fx-models";
|
|
2
2
|
import { TargetingFilterProperty } from "@omnia/fx-sp";
|
|
3
|
+
import { VariationEditNotificationSettings } from "./Variation";
|
|
3
4
|
export interface VariationCreationRequest {
|
|
4
5
|
displayNames: MultilingualString;
|
|
5
6
|
targetingFilterData: TargetingFilterProperty;
|
|
@@ -10,6 +11,5 @@ export interface VariationCreationRequest {
|
|
|
10
11
|
* */
|
|
11
12
|
author?: Identity;
|
|
12
13
|
authors?: Array<Identity>;
|
|
13
|
-
|
|
14
|
-
editNotificationsUserPropertyId?: GuidValue;
|
|
14
|
+
editNotificationSettings: VariationEditNotificationSettings;
|
|
15
15
|
}
|
|
@@ -22,7 +22,7 @@ export declare class WcmRouter {
|
|
|
22
22
|
private loadTreeForPath;
|
|
23
23
|
navigate<T extends NavigationNode<NavigationData>>(to: T, targetVariationId?: any, forceToNewNavigationState?: boolean): Promise<T>;
|
|
24
24
|
navigateWithVariationTargeting<T extends NavigationNode<NavigationData>>(to: T): Promise<T>;
|
|
25
|
-
navigateFromExternalApp<T extends NavigationNode<NavigationData>>(to: T, targetVariationId?: any): void;
|
|
25
|
+
navigateFromExternalApp<T extends NavigationNode<NavigationData>>(to: T, targetVariationId?: any, openEditor?: boolean): void;
|
|
26
26
|
private buildRelativePath;
|
|
27
27
|
private getTargetingVariation;
|
|
28
28
|
onDisposing(): void;
|